From: Vito Macchia Date: Wed, 9 Sep 2020 15:37:09 +0000 (+0200) Subject: Built motion from commit db94841.|2.5.3 X-Git-Url: http://repos.xcallymotion.com/base/%22angular-material.themes.css//%22javascript:void%28%27%7BtitleJs%7D%27%29/%22%22%29%20%27?a=commitdiff_plain;h=3c1c07a88e79da78dfbf633fde6c98b0493b32b2;p=motion2.git Built motion from commit db94841.|2.5.3 --- diff --git a/apidoc/api_project.js b/apidoc/api_project.js index 5d618b0..ad66ae3 100644 --- a/apidoc/api_project.js +++ b/apidoc/api_project.js @@ -17,7 +17,7 @@ define({ "apidoc": "0.3.0", "generator": { "name": "apidoc", - "time": "2020-09-09T14:08:14.957Z", + "time": "2020-09-09T15:34:07.147Z", "url": "http://apidocjs.com", "version": "0.24.0" } diff --git a/apidoc/api_project.json b/apidoc/api_project.json index 3291eb8..9ba184d 100644 --- a/apidoc/api_project.json +++ b/apidoc/api_project.json @@ -17,7 +17,7 @@ "apidoc": "0.3.0", "generator": { "name": "apidoc", - "time": "2020-09-09T14:08:14.957Z", + "time": "2020-09-09T15:34:07.147Z", "url": "http://apidocjs.com", "version": "0.24.0" } diff --git a/public/index.html b/public/index.html index d8631bd..9253fb9 100644 --- a/public/index.html +++ b/public/index.html @@ -60,7 +60,7 @@ - + diff --git a/public/scripts/app.87a823db.js b/public/scripts/app.aa12a146.js similarity index 63% rename from public/scripts/app.87a823db.js rename to public/scripts/app.aa12a146.js index 3fbc739..cdacdcd 100644 --- a/public/scripts/app.87a823db.js +++ b/public/scripts/app.aa12a146.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xcd31=['\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.ID\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.NAME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.STRATEGY\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{whatsappQueue.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20teamadd\x20WhatsappQueue\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20WhatsappQueue\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20goToRealtime\x20WhatsappQueue\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20{{vm.getLogo()\x20|\x20uppercase}}\x0a','\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TODAY\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.unreadTotalMessages}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MESSENGER\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.unreadTotalGroupMessages}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GROUPS\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','app/quick-panel/tabs/activity/activity-tab.html','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20Friends\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20{{contact.unread}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{friend.message}}\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

{{server.detail}}

\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20User\x20Stats\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20All\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Offline\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20-->\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm_ct.unreadMessage[user.id]}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

{{user.fullname}}

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-style=\x22{\x27color\x27:\x20\x27red\x27\x20}\x22\x20md-font-icon=\x22icon-block-helper\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

{{user.name}}\x20<{{user.internal}}>

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22s16\x20no-margin\x22\x20md-font-icon=\x22icon-check-all\x20md-accent\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

{{user.lastMessage.body\x20|\x20limitTo:20\x20}}{{user.lastMessage.body.length\x20>\x2020\x20?\x20\x27...\x27\x20:\x20\x27\x27\x20}}

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{user.lastMessageAt\x20|\x20formatdate}}

\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm_ct.user.fullname}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22QUICKPANEL.CALL\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.CALL_NUMBER\x27\x20|\x20translate}}\x20({{vm_ct.user.name}})\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.TRANSFER_NUMBER\x27\x20|\x20translate}}\x20({{vm_ct.user.name}})\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{message.createdAt\x20|\x20formatdate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-font-icon=\x22icon-check\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20must\x20be\x20valid\x20pattern\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Members\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27QUICKPANEL.ENABLE_WRITING\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

{{group.name}}

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27QUICKPANEL.NO_AVAILABLE_GROUPS\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{message.createdAt\x20|\x20formatdate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{user.fullname}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.data.messages[$index].updatedAt\x20|\x20formatdate\x20}}\x0a','app/quick-panel/tabs/today/today-tab.html','\x0a','\x20\x20\x20\x20Today\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.date\x20|\x20date:\x27d\x27}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20th\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27TOOLBAR.RESUME\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27TOOLBAR.PAUSE\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27TOOLBAR.NO_PAUSES_AVAILABLE\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{pause.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27TOOLBAR.PAUSE_TIME\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.user.pauseType\x20||\x20\x27default\x27\x20|\x20uppercase}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.user.fullname}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SETTINGS\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Change\x20Password\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Logout\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.unreadTotalMessages\x20+\x20vm.unreadTotalGroupMessages}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Preview\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ID\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Queue\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20no\x20contacts\x20available\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','module','app.auth','ngAnimate','ngMessages','ngResource','ngSanitize','ngMaterial','pascalprecht.translate','ui.router','ui.router.state.events','gridster','angucomplete-alt','$inject','$translatePartialLoaderProvider','app.errors.error-404','config','app.errors_error-404','/errors/error-404','app/core/layouts/content-only.html','MainController\x20as\x20vm','app/errors/404/error-404.html','Error404Controller\x20as\x20vm','addPart','app/errors/404','app.errors.error-500','state','app.errors_error-500','app/errors/500/error-500.html','error-500','app/errors/500','$stateProvider','app.forgot','/forgot','ForgotPasswordController\x20as\x20vm','forgot','app.header','app/header','motion','angular-toasty','app.core','app.quick-panel','app.footer','app.dashboards','app.staff','app.contactmanager','app.voice','app.chat','app.mail','app.sms','app.openchannel','app.fax','app.tools','app.analytics','app.integrations','app.motiondialer','app.jscripty','app.plugins','app.video','app.whatsapp','app.login','app.reset','app.errors','/login?token&userId','app/login/login.html','LoginController\x20as\x20vm','msApiProvider','msNavigationServiceProvider','ngCsv','ngPassword','md.data.table','flow','mdColorPicker','ckeditor','ng-sortable','ngAria','mwFormBuilder','mwFormViewer','mwFormUtils','angular-cron-jobs','ngEmbed','angularMaterialFormBuilder','chart.js','app.analytics.reports','app.analytics.metrics','/metrics','app/main/apps/analytics/views/metrics/metrics.html','Auth','hasRole','resolve','analyticMetric@get','createdAt,updatedAt,id,name,table,metric,description','-updatedAt','userProfile@getResources','getCurrentUser','userProfileId','admin','userProfile@get','id,name,crudPermissions','apiResolver','userProfileSection@get','analytics','app.analytics.extractedReports','/extractedReports','app/main/apps/analytics/views/extractedReports/extractedReports.html','analyticExtractedReport@get','createdAt,updatedAt,id,name,basename,savename,type,startDate,endDate,status,output,reportId,reportType','ExtractedReports','app/main/apps/analytics','ngJsTree','/reports','app/main/apps/analytics/views/reports/reports.html','ReportsController\x20as\x20vm','analyticTreeReport@get','id,tree','/:id?tab','app/main/apps/analytics/views/reports/edit/view.html','ReportController\x20as\x20vm','$stateParams','analyticCustomReport@get','then','joins','parse','length','push','foreignTable','log','all','foreignTableFields','keys','$promise','id,name,enabled,includeAll,autoAssociation,crudPermissions','app.callysquare','mdPickers','ngclipboard','angular.filter','app.callysquare.odbcs','OdbcsController\x20as\x20vm','squareOdbc@get','createdAt,updatedAt,id,name,dsn,description','ODBC','callysquare','app.callysquare.squareRecordings','app/main/apps/callysquare/views/squareRecordings/squareRecordings.html','SquareRecordingsController\x20as\x20vm','squareRecording@get','createdAt,updatedAt,id,filename,projectName,uniqueid,callerid,extension,audio,savePath,format','SquareRecordings','app/main/apps/callysquare','app.callysquare.projects','app/main/apps/callysquare/views/projects/projects.html','ProjectsController\x20as\x20vm','id,name,description,notes','name','SquareProjects','app.callysquare.projects.edit','/:id','app/main/apps/callysquare/views/projects/edit/view.html','ProjectController\x20as\x20vm','user@get','id,fullname,role','Users','trunk@get','Trunks','voiceQueue@get','inbound','VoiceQueues','id,name','Sounds','variable@get','Variables','voiceContext@get','Contexts','interval@get','id,name,IntervalId','mailAccount@get','MailAccounts','template@get','Templates','SmsAccounts','Pauses','material.components.expansionPanels','/chat','app.chat.chatQueues','/chatQueues','app/main/apps/chat/views/chatQueues/chatQueues.html','ChatQueuesController\x20as\x20vm','chatQueue@get','createdAt,updatedAt,id,name,strategy,timeout,description','ChatQueues','app.chat.chatQueues.edit','ChatQueueController\x20as\x20vm','chat','/chatWebsites','ChatWebsitesController\x20as\x20vm','chatWebsite@get','createdAt,updatedAt,id,token,agentIdentifier,customerAlias,messageFontSize,name,key,address,remote,ListId,fidelity,timeout,agentAlias,closingQuestion,formSubmitSuccessMessage,formSubmitFailureMessage,color,color_focus,color_button,textColor,backgroundColor,fontSize,header_shape,showAgentAvatar,showCustomerAvatar,alignment,verticalAlignment,messagesAlignment,defaultTitle,animation,defaultWhiteLabel,whiteLabel,defaultLogo,conditionAgreement,autoclose,enableUnmanagedNote,unmanagedMessage,skipUnmanaged,sendUnmanaged,enableCustomerWriting,waitingTitle,waitingMessage,closingMessage,noteTitle,placeholderMessage,skipMessageButton,enableRating,ratingType,ratingStarsNumber,enableFeedback,feedbackTitle,forwardTranscript,forwardTranscriptMessage,closingMessageButton,download_transcript,enableCustomerAttachment,enableSendButton,enableCustomerCheckmarks,systemAlias,enquiry_enable,enquiry_forwarding,enquiry_forwarding_address,name_title,username_placeholder,email_title,email_placeholder,header_online,hideWhenOffline,header_offline,start_chat_button,offline_chat_button,offlineMessageSubject,offlineMessageBody,offline_message,message_title,enquiry_message_placeholder,enquiry_button,rating_message,rating_send,rating_skip,onlineForm,offlineForm,mapKey,mapKeyOffline,forwardOffline,forwardOfflineAddress,IntervalId,timezone,waitForTheAssignedAgent,mandatoryDisposition,mandatoryDispositionPauseId,description,notificationSound,notificationShake,notificationTemplate,queueTransfer,queueTransferTimeout,agentTransfer,agentTransferTimeout,vidaooEscalation,vidaooApiKey','app.chat.chatWebsites.edit','app/main/apps/chat/views/chatWebsites/edit/view.html','ChatWebsiteController\x20as\x20vm','app/main/apps/chat','app.chat.realtime','/realtime','app/main/apps/chat/views/realtime/realtime.html','ChatRealtimeController\x20as\x20vm','app.chat.realtime.agents','/agents','AgentsChatRealtimeController\x20as\x20vm','app/main/apps/chat/views/realtime/agents/view.html','pause@get','id,name,fullname,role,userpic,internal,online,voicePause,openchannelPause,faxPause,chatPause,smsPause,whatsappPause,mailPause,pauseType,lastPauseAt,lastLoginAt,lastPauseAt,chatCapacity,mailCapacity,openchannelCapacity,faxCapacity,smsCapacity,whatsappCapacity,screenrecording,phoneBarEnableScreenRecordingByAgent,phoneBarEnableAutomaticScreenRecording','agent','fullname','Agents','rpc@getAgents','app.chat.realtime.queues','/queues','QueuesChatRealtimeController\x20as\x20vm','app.contactmanager.lists','app/main/apps/contactmanager/views/lists/lists.html','ListsController\x20as\x20vm','createdAt,updatedAt,id,name,description,dialPrefix','contactmanager','app/main/apps/contactmanager/views/lists/edit/view.html','ListController\x20as\x20vm','cmList@get','app.contactmanager.companies','/companies','Companies','createdAt,updatedAt,id,name,phone,vat,fax,companyId,type,website,emailDomain,email,description,sStreet,sPostalCode,sCity,sCountry,street,postalCode,city,country','app.contactmanager.companies.edit','app/main/apps/contactmanager/views/companies/edit/view.html','CompanyController\x20as\x20vm','app.contactmanager.globalCustomFields','/globalCustomFields','GlobalCustomFieldsController\x20as\x20vm','cmCustomField@get','app/main/apps/contactmanager','app.contactmanager.contacts','/contacts?ListId&CompanyId','app/main/apps/contactmanager/views/contacts/contacts.html','ContactsController\x20as\x20vm','cmContact@get','merge','Contacts','Lists','lists','rows','cmCompany@get','tag@get','Tags','app/main/apps/contactmanager/views/contacts/edit/view.html','ContactController\x20as\x20vm','dateOfBirth','catch','cmContact@getHoppers','id,phone,scheduledat,priority,recallme,VoiceQueueId,CampaignId,UserId','cmContact@getHopperFinals','id,uniqueid,calleridnum,statedesc,starttime,disposition','cmContact@getHopperHistories','id,uniqueid,calleridnum,statedesc,scheduledat,starttime,endtime','-starttime','contact','ListId','app.dashboards.custom','/dashboards','app/main/apps/dashboards','/custom/:id','app/main/apps/dashboards/views/custom/custom.html','DashboardCustomController\x20as\x20vm','waiting','total','talking','answered','unmanaged','abandoned','dashboards','app.dashboards.general','ngMaterialDateRangePicker','app.dashboards.general.user','/general','$templateFactory','isAgent','fromUrl','UserDashboardGeneralController\x20as\x20vm','user@getLists','app.dashboards.general.voice','/voice','app/main/apps/dashboards/views/general/user/voice/user.general.voice.html','UserVoiceDashboardGeneralController\x20as\x20vm','voice','rpc@getOutbound','app.dashboards.general.dialer','/dialer','app/main/apps/dashboards/views/general/user/dialer/user.general.dialer.html','UserVoiceDashboardDialerController\x20as\x20vm','rpc@getVoiceQueues','outbound','QueueCampaigns','rpc@getCampaigns','app.dashboards.general.chat','UserChatDashboardGeneralController\x20as\x20vm','chatInteraction@get','startOf','utcOffset','format','endOf','createdAt,updatedAt,id,token,agentIdentifier,customerAlias,messageFontSize,name,key,address,remote,ListId,fidelity,timeout,agentAlias,closingQuestion,formSubmitSuccessMessage,formSubmitFailureMessage,color,color_focus,color_button,textColor,backgroundColor,fontSize,header_shape,showAgentAvatar,showCustomerAvatar,alignment,verticalAlignment,messagesAlignment,defaultTitle,animation,defaultWhiteLabel,whiteLabel,defaultLogo,conditionAgreement,autoclose,enableUnmanagedNote,unmanagedMessage,skipUnmanaged,sendUnmanaged,enableCustomerWriting,waitingTitle,waitingMessage,closingMessage,noteTitle,placeholderMessage,skipMessageButton,enableRating,ratingType,ratingStarsNumber,enableFeedback,forwardTranscript,forwardTranscriptMessage,closingMessageButton,download_transcript,enableCustomerAttachment,systemAlias,enquiry_enable,enquiry_forwarding,enquiry_forwarding_address,name_title,username_placeholder,email_title,email_placeholder,header_online,hideWhenOffline,header_offline,start_chat_button,offline_chat_button,offlineMessageSubject,offlineMessageBody,header_offline,offline_message,message_title,enquiry_message_placeholder,enquiry_button,rating_message,rating_send,rating_skip,acceptMethod,acceptUrl,rejectMethod,rejectUrl,closeMethod,closeUrl,onlineForm,offlineForm,mapKey,mapKeyOffline,forwardTranscript,forwardOffline,forwardOfflineAddress,IntervalId,timezone,waitForTheAssignedAgent,description,notificationSound,notificationShake,notificationTemplate','ChatWebsites','app.dashboards.general.mail','/mail','app/main/apps/dashboards/views/general/user/mail/user.general.mail.html','UserMailDashboardGeneralController\x20as\x20vm','day','createdAt,updatedAt,id,name,key,email,ListId,active,cservice,Imap.service,Imap.host,Imap.port,Imap.tls,Imap.authentication,Imap.user,Imap.password,Imap.mailbox,Imap.connTimeout,Imap.authTimeout,Smtp.service,Smtp.host,Smtp.port,Smtp.secure,Smtp.authentication,Smtp.user,Smtp.pass,cauthentication,cuser,cpassword,fontFamily,fontSize,template,markAsUnread,waitForTheAssignedAgent,description,notificationSound,notificationShake,notificationTemplate,queueTransfer,queueTransferTimeout,agentTransfer,agentTransferTimeout','UserSmsDashboardGeneralController\x20as\x20vm','app.dashboards.general.openchannel','/openchannel','app/main/apps/dashboards/views/general/user/openchannel/user.general.openchannel.html','openchannelInteraction@get','createdAt,updatedAt,id,name,key,token,replyUri,ListId,waitForTheAssignedAgent,mapKey,description,receiveUri,notificationSound,notificationShake,notificationTemplate','OpenchannelAccounts','app.dashboards.general.fax','app/main/apps/dashboards/views/general/user/fax/user.general.fax.html','UserFaxDashboardGeneralController\x20as\x20vm','faxAccount@get','createdAt,updatedAt,id,name,key,headerinfo,TrunkId,localstationid,ListId,waitForTheAssignedAgent,description,ecm,minrate,maxrate,modem,gateway,faxdetect,t38timeout,tech,acceptMethod,acceptUrl,rejectMethod,rejectUrl,closeMethod,closeUrl,notificationSound,notificationShake,notificationTemplate','app.dashboards.general.whatsapp','/whatsapp','app/main/apps/dashboards/views/general/user/whatsapp/user.general.whatsapp.html','UserWhatsappDashboardGeneralController\x20as\x20vm','whatsappAccount@get','createdAt,updatedAt,id,name,key,token,remote,ListId,phone,type,accountSid,authId,authToken,whatsappMethod,username,password,senderString,deliveryReport,waitForTheAssignedAgent,description,receiveUrl,deliveryReportUrl,notificationSound,notificationShake,notificationTemplate','WhatsappAccounts','app.fax.realtime','/fax','app.fax.faxQueues','/faxQueues','app/main/apps/fax/views/faxQueues/faxQueues.html','FaxQueuesController\x20as\x20vm','FaxQueues','fax','FaxQueueController\x20as\x20vm','faxQueue@get','app.fax.faxAccounts','/faxAccounts','app/main/apps/fax/views/faxAccounts/faxAccounts.html','FaxAccountsController\x20as\x20vm','createdAt,updatedAt,id,name,key,headerinfo,TrunkId,localstationid,ListId,waitForTheAssignedAgent,mandatoryDisposition,mandatoryDispositionPauseId,description,ecm,minrate,maxrate,modem,gateway,faxdetect,t38timeout,tech,notificationSound,notificationShake,notificationTemplate,queueTransfer,queueTransferTimeout,agentTransfer,agentTransferTimeout','FaxAccounts','app.fax.faxAccounts.edit','app/main/apps/fax/views/faxAccounts/edit/view.html','FaxAccountController\x20as\x20vm','app/main/apps/fax','AgentsFaxRealtimeController\x20as\x20vm','app/main/apps/fax/views/realtime/agents/view.html','app.fax.realtime.trunks','TrunksFaxRealtimeController\x20as\x20vm','app/main/apps/fax/views/realtime/trunks/view.html','rpc@getTrunks','app.fax.realtime.queues','app/main/apps/fax/views/realtime/queues/view.html','rpc@getFaxQueues','app.fax.realtime.accounts','FaxAccountsRealtimeController\x20as\x20vm','app/main/apps/fax/views/realtime/accounts/view.html','rpc@getFaxAccounts','app.help','app.help.about','app/main/apps/help','/about','help','/integrations','app.integrations.zendeskAccounts','/zendeskAccounts','app/main/apps/integrations/views/zendeskAccounts/zendeskAccounts.html','ZendeskAccountsController\x20as\x20vm','intZendeskAccount@get','createdAt,updatedAt,id,name,type,username,remoteUri,authType,password,token,serverUrl,description','ZendeskAccounts','integrations','app.integrations.zendeskAccounts.edit','app/main/apps/integrations/views/zendeskAccounts/edit/view.html','ZendeskAccountController\x20as\x20vm','app.integrations.salesforceAccounts','SalesforceAccountsController\x20as\x20vm','intSalesforceAccount@get','app.integrations.salesforceAccounts.edit','app/main/apps/integrations/views/salesforceAccounts/edit/view.html','SalesforceAccountController\x20as\x20vm','createdAt,updatedAt,id,name,type,username,remoteUri,password,clientId,clientSecret,securityToken,serverUrl,description','app.integrations.freshdeskAccounts','/freshdeskAccounts','FreshdeskAccountsController\x20as\x20vm','intFreshdeskAccount@get','createdAt,updatedAt,id,name,username,remoteUri,apiKey,serverUrl,description','FreshdeskAccounts','app.integrations.freshdeskAccounts.edit','app/main/apps/integrations/views/freshdeskAccounts/edit/view.html','FreshdeskAccountController\x20as\x20vm','app.integrations.sugarcrmAccounts','app/main/apps/integrations/views/sugarcrmAccounts/sugarcrmAccounts.html','intSugarcrmAccount@get','createdAt,updatedAt,id,name,username,remoteUri,password,serverUrl,description','SugarcrmAccounts','app.integrations.sugarcrmAccounts.edit','app/main/apps/integrations/views/sugarcrmAccounts/edit/view.html','app.integrations.deskAccounts','DeskAccountsController\x20as\x20vm','intDeskAccount@get','createdAt,updatedAt,id,name,type,remoteUri,authType,username,password,serverUrl,description','DeskAccounts','app.integrations.deskAccounts.edit','app/main/apps/integrations/views/deskAccounts/edit/view.html','DeskAccountController\x20as\x20vm','/zohoAccounts','app/main/apps/integrations/views/zohoAccounts/zohoAccounts.html','ZohoAccountsController\x20as\x20vm','createdAt,updatedAt,id,name,host,zone,clientId,clientSecret,code,refreshToken,serverUrl,description','app.integrations.zohoAccounts.edit','intZohoAccount@get','app/main/apps/integrations/views/vtigerAccounts/vtigerAccounts.html','VtigerAccountsController\x20as\x20vm','intVtigerAccount@get','createdAt,updatedAt,id,name,description,username,accessKey,remoteUri,serverUrl','app/main/apps/integrations/views/vtigerAccounts/edit/view.html','VtigerAccountController\x20as\x20vm','app.integrations.dynamics365Accounts','app/main/apps/integrations/views/dynamics365Accounts/dynamics365Accounts.html','createdAt,updatedAt,id,name,username,password,remoteUri,tenantId,clientId,clientSecret,serverUrl,description','Dynamics365Accounts','app.integrations.dynamics365Accounts.edit','app/main/apps/integrations/views/dynamics365Accounts/edit/view.html','Dynamics365AccountController\x20as\x20vm','app.integrations.servicenowAccounts','/servicenowAccounts','app/main/apps/integrations/views/servicenowAccounts/servicenowAccounts.html','ServicenowAccountsController\x20as\x20vm','intServicenowAccount@get','ServicenowAccounts','app.integrations.servicenowAccounts.edit','app/main/apps/integrations/views/servicenowAccounts/edit/view.html','ServicenowAccountController\x20as\x20vm','app.integrations.freshsalesAccounts','app/main/apps/integrations/views/freshsalesAccounts/freshsalesAccounts.html','FreshsalesAccountsController\x20as\x20vm','intFreshsalesAccount@get','FreshsalesAccounts','app/main/apps/integrations/views/freshsalesAccounts/edit/view.html','FreshsalesAccountController\x20as\x20vm','app/main/apps/integrations','/jscripty','/projects','JscriptyProjectsController\x20as\x20vm','jscriptyProject@get','createdAt,updatedAt,id,name,enableUncompleteSave,sendUnpauseOnSubmit,description,formData','Projects','app.jscripty.projects.edit','JscriptyProjectController\x20as\x20vm','jscripty','app/main/apps/jscripty','app.mail.realtime','app.mail.mailQueues','/mailQueues','app/main/apps/mail/views/mailQueues/mailQueues.html','MailQueuesController\x20as\x20vm','mailQueue@get','mail','MailQueues','app.mail.mailQueues.edit','app/main/apps/mail/views/mailQueues/edit/view.html','MailQueueController\x20as\x20vm','app.mail.mailAccounts','/mailAccounts','app/main/apps/mail/views/mailAccounts/mailAccounts.html','MailAccountsController\x20as\x20vm','app.mail.mailAccounts.edit','app/main/apps/mail/views/mailAccounts/edit/view.html','MailAccountController\x20as\x20vm','createdAt,updatedAt,id,name,key,email,ListId,active,cservice,Imap.service,Imap.host,Imap.port,Imap.tls,Imap.authentication,Imap.user,Imap.password,Imap.mailbox,Imap.connTimeout,Imap.authTimeout,Smtp.service,Smtp.host,Smtp.port,Smtp.secure,Smtp.authentication,Smtp.user,Smtp.pass,cauthentication,cuser,cpassword,fontFamily,fontSize,template,markAsUnread,waitForTheAssignedAgent,mandatoryDisposition,mandatoryDispositionPauseId,description,notificationSound,notificationShake,notificationTemplate,queueTransfer,queueTransferTimeout,agentTransfer,agentTransferTimeout','app/main/apps/mail/views/mailSubtatuses/mailSubtatuses.html','MailSubstatusesController\x20as\x20vm','app/main/apps/mail','app/main/apps/mail/views/realtime/realtime.html','MailRealtimeController\x20as\x20vm','app.mail.realtime.agents','AgentsMailRealtimeController\x20as\x20vm','app/main/apps/mail/views/realtime/agents/view.html','app.mail.realtime.queues','QueuesMailRealtimeController\x20as\x20vm','app/main/apps/mail/views/realtime/queues/view.html','rpc@getMailQueues','app.mail.realtime.accounts','/accounts','MailAccountsRealtimeController\x20as\x20vm','app/main/apps/mail/views/realtime/accounts/view.html','rpc@getMailAccounts','app.marketplace','/marketplace','app.marketplace.plugins','/plugins','app/main/apps/marketplace/views/plugins/plugins.html','MarketplacePluginsController\x20as\x20vm','Plugins','marketplace','app/main/apps/marketplace/views/plugins/edit/view.html','MarketplacePluginController\x20as\x20vm','plugin@get','app/main/apps/marketplace','app.motiondialer.realtime','app.motiondialer.queueCampaigns','app/main/apps/motiondialer/views/queueCampaigns/queueCampaigns.html','QueueCampaignsController\x20as\x20vm','createdAt,updatedAt,id,name,dialActive,TrunkId,TrunkBackupId,type,IntervalId,dialCheckDuplicateType,dialCutDigit,acw,acwTimeout,autopause,ringinuse,memberdelay,timeoutrestart,monitor_format,context,setinterfacevar,setqueuevar,setqueueentryvar,dialOrderByScheduledAt,dialRecallMeTimeout,dialRecallInQueue,dialGlobalInterval,dialTimezone,dialAMDActive,dialAMDInitialSilence,dialAMDGreeting,dialAMDAfterGreetingSilence,dialAMDTotalAnalysisTime,dialAMDMinWordLength,dialAMDBetweenWordsSilence,dialAMDMaximumNumberOfWords,dialAMDSilenceThreshold,dialAMDMaximumWordLength,dialMethod,dialPowerLevel,dialPredictiveOptimization,dialPredictiveOptimizationPercentage,dialPredictiveInterval,dialLimitQueue,dialOriginateCallerIdName,dialOriginateCallerIdNumber,dialRandomLastDigitCallerIdNumber,dialOriginateTimeout,dialPrefix,dialQueueOptions,dialQueueTimeout,strategy,timeout,retry,wrapuptime,weight,musiconhold,dialQueueProject,dialQueueProject2,dialAgiAfterHangupAgent,dialGlobalMaxRetry,dialCongestionMaxRetry,dialCongestionRetryFrequency,dialBusyMaxRetry,dialBusyRetryFrequency,dialNoAnswerMaxRetry,dialNoAnswerRetryFrequency,dialNoSuchNumberMaxRetry,dialNoSuchNumberRetryFrequency,dialDropMaxRetry,dialDropRetryFrequency,dialAbandonedMaxRetry,dialAbandonedRetryFrequency,dialMachineMaxRetry,dialMachineRetryFrequency,dialAgentRejectMaxRetry,dialAgentRejectRetryFrequency,description,mandatoryDisposition,mandatoryDispositionPauseId,dialPredictiveIntervalMaxThreshold,dialPredictiveIntervalMinThreshold','app/main/apps/motiondialer/views/queueCampaigns/edit/view.html','motiondialer','app.motiondialer.ivrCampaigns','/ivrCampaigns','IvrCampaignsController\x20as\x20vm','campaign@get','createdAt,updatedAt,id,name,active,TrunkId,TrunkBackupId,type,IntervalId,dialCheckDuplicateType,dialCutDigit,SquareProjectId,limitCalls,description,dialOriginateCallerIdName,dialOriginateCallerIdNumber,dialRandomLastDigitCallerIdNumber,dialOriginateTimeout,dialGlobalMaxRetry,dialCongestionMaxRetry,dialCongestionRetryFrequency,dialBusyMaxRetry,dialBusyRetryFrequency,dialNoAnswerMaxRetry,dialNoAnswerRetryFrequency,dialNoSuchNumberMaxRetry,dialNoSuchNumberRetryFrequency,dialDropMaxRetry,dialDropRetryFrequency,dialAbandonedMaxRetry,dialAbandonedRetryFrequency,dialMachineMaxRetry,dialMachineRetryFrequency,dialAgentRejectMaxRetry,dialAgentRejectRetryFrequency,dialOrderByScheduledAt,dialGlobalInterval,dialTimezone,dialPrefix,dialAMDActive,dialAMDInitialSilence,dialAMDGreeting,dialAMDAfterGreetingSilence,dialAMDTotalAnalysisTime,dialAMDMinWordLength,dialAMDBetweenWordsSilence,dialAMDMaximumNumberOfWords,dialAMDSilenceThreshold,dialAMDMaximumWordLength','ivr','IvrCampaigns','app.motiondialer.ivrCampaigns.edit','app/main/apps/motiondialer/views/ivrCampaigns/edit/view.html','IvrCampaignController\x20as\x20vm','app/main/apps/motiondialer','app/main/apps/motiondialer/views/realtime/realtime.html','app.motiondialer.realtime.agents','AgentsMotionDialerRealtimeController\x20as\x20vm','app.motiondialer.realtime.queues','QueuesMotionDialerRealtimeController\x20as\x20vm','app/main/apps/motiondialer/views/realtime/queues/view.html','app.motiondialer.realtime.queue_calls','/queue_calls','QueueCallsMotionDialerRealtimeController\x20as\x20vm','app/main/apps/motiondialer/views/realtime/queue_calls/view.html','id,name,role,context','rpc@getVoiceQueuesChannels','app.motiondialer.realtime.abandonedcalls','/abandonedcalls','AbandonedCallsMotionDialerRealtimeController\x20as\x20vm','app/main/apps/motiondialer/views/realtime/abandonedcalls/view.html','disposition@get','createdAt,updatedAt,id,name','null','Dispositions','app.motiondialer.realtime.queue_params','/queue_params','QueueParamsMotionDialerRealtimeController\x20as\x20vm','app.motiondialer.realtime.ivr_campaigns','/ivr_campaigns','IvrCampaignsMotionDialerRealtimeController\x20as\x20vm','app/main/apps/motiondialer/views/realtime/ivr_campaigns/view.html','app.openchannel.realtime','app.openchannel.openchannelQueues','/openchannelQueues','app/main/apps/openchannel/views/openchannelQueues/openchannelQueues.html','OpenchannelQueuesController\x20as\x20vm','openchannel','OpenchannelQueues','app.openchannel.openchannelQueues.edit','app/main/apps/openchannel/views/openchannelQueues/edit/view.html','OpenchannelQueueController\x20as\x20vm','openchannelQueue@get','/openchannelAccounts','app/main/apps/openchannel/views/openchannelAccounts/openchannelAccounts.html','OpenchannelAccountsController\x20as\x20vm','openchannelAccount@get','createdAt,updatedAt,id,name,key,token,replyUri,ListId,waitForTheAssignedAgent,mapKey,mandatoryDisposition,mandatoryDispositionPauseId,description,receiveUri,notificationSound,notificationShake,notificationTemplate,queueTransfer,queueTransferTimeout,agentTransfer,agentTransferTimeout','app/main/apps/openchannel/views/openchannelAccounts/edit/view.html','OpenchannelAccountController\x20as\x20vm','app/main/apps/openchannel','OpenchannelRealtimeController\x20as\x20vm','app.openchannel.realtime.agents','AgentsOpenchannelRealtimeController\x20as\x20vm','QueuesOpenchannelRealtimeController\x20as\x20vm','app/main/apps/openchannel/views/realtime/queues/view.html','rpc@getOpenchannelQueues','app.plugins.plugin','app/main/apps/plugins','app/main/apps/plugins/views/plugin/plugin.html','PluginController\x20as\x20vm','plugins','app.settings','app.settings.updates','app.settings.system','/generals','app/main/apps/settings/views/generals/generals.html','setting@get','settings','/smtps','app/main/apps/settings/views/smtps/smtps.html','SmtpController\x20as\x20vm','createdAt,updatedAt,id,service,name,email,Smtp.service,Smtp.host,Smtp.port,Smtp.secure,Smtp.authentication,Smtp.user,Smtp.pass,description','app.settings.networks','/networks','app/main/apps/settings/views/networks/networks.html','createdAt,updatedAt,id,type,value,username,password','app.settings.customizations','/customizations','app/main/apps/settings/views/customizations/customizations.html','CustomizationsController\x20as\x20vm','createdAt,updatedAt,id,defaultLogo,defaultLoginLogo,defaultFavicon,defaultHeaderWhiteLabel,headerWhiteLabel,defaultPageTitle,pageTitle,defaultPreferred','app.settings.cloudProviders','createdAt,updatedAt,id,name,service,data2,data1','app.settings.license','LicenseController\x20as\x20vm','app/main/apps/settings/views/system/system.html','SystemController\x20as\x20vm','system@get','pm2@get','/updates','app/main/apps/settings/views/updates/updates.html','/sms','app.sms.smsQueues','/smsQueues','app/main/apps/sms/views/smsQueues/smsQueues.html','smsQueue@get','SmsQueues','sms','app/main/apps/sms/views/smsQueues/edit/view.html','app/main/apps/sms/views/smsAccounts/smsAccounts.html','SmsAccountsController\x20as\x20vm','smsAccount@get','createdAt,updatedAt,id,name,key,token,remote,ListId,type,phone,accountSid,authId,authToken,smsMethod,username,password,baseUrl,apiKey,senderString,deliveryReport,waitForTheAssignedAgent,mandatoryDisposition,mandatoryDispositionPauseId,description,receiveUrl,deliveryReportUrl,notificationSound,notificationShake,notificationTemplate,queueTransfer,queueTransferTimeout,agentTransfer,agentTransferTimeout','app.sms.smsAccounts.edit','app/main/apps/sms/views/smsAccounts/edit/view.html','app/main/apps/sms','app.sms.realtime','app/main/apps/sms/views/realtime/realtime.html','app.sms.realtime.agents','AgentsSmsRealtimeController\x20as\x20vm','app/main/apps/sms/views/realtime/agents/view.html','app.sms.realtime.queues','QueuesSmsRealtimeController\x20as\x20vm','rpc@getSmsQueues','app.staff.users','/users','app/main/apps/staff/views/users/users.html','createdAt,updatedAt,role,userProfileId,id,fullname,name,email,phone,mobile,userpic,password,description,autointernal,internal,transport,nat,allow,context,callgroup,pickupgroup,passwordResetAt,apiKey,videosupport,disabled,blocked','admin,user','staff','app.staff.users.edit','app/main/apps/staff/views/users/edit/view.html','UserController\x20as\x20vm','app.staff.agents','app/main/apps/staff/views/agents/agents.html','createdAt,updatedAt,id,role,fullname,name,alias,showWebBar,email,phone,mobile,userpic,password,hotdesk,autointernal,internal,loginInPause,description,dtlscertfile,dtlsprivatekey,voicemail,transport,host,nat,type,allow,callerid,context,callgroup,pickupgroup,chanspy,videosupport,extensionMonitor,chatCapacity,mailCapacity,smsCapacity,openchannelCapacity,faxCapacity,whatsappCapacity,phoneBarEnableSettings,phoneBarAutoAnswer,phoneBarAutoAnswerDelay,phoneBarRingInUse,phoneBarEnableRecording,phoneBarEnableDtmfTone,phoneBarDnd,phoneBarUnansweredCallBadge,phoneBarEnableJaws,phoneBarOutboundProxy,phoneBarUnconditional,phoneBarUnconditionalNumber,phoneBarRemoteControl,phoneBarRemoteControlPort,phoneBarExpires,phoneBarListenPort,permissions,allowmessenger,phoneBarPrefixRequired,passwordResetAt,disabled,blocked,phoneBarEnableScreenRecordingByAgent,phoneBarEnableAutomaticScreenRecording','app.staff.agents.edit','app/main/apps/staff/views/agents/edit/view.html','AgentController\x20as\x20vm','/telephones','TelephonesController\x20as\x20vm','createdAt,updatedAt,id,role,fullname,name,email,password,description,autointernal,internal,voicemail,transport,nat,allow,callerid,context,callgroup,pickupgroup,videosupport,encryption,phone,mobile','telephone','Telephones','app/main/apps/staff/views/telephones/edit/view.html','TelephoneController\x20as\x20vm','app.staff.teams','/teams','app/main/apps/staff/views/teams/teams.html','createdAt,updatedAt,id,name,description','Teams','app.staff.userProfiles','/userProfiles','UserProfilesController\x20as\x20vm','createdAt,updatedAt,id,name,description,crudPermissions','app/main/apps/staff/views/userProfiles/edit/view.html','UserProfileController\x20as\x20vm','app/main/apps/staff','/tools','app.tools.cannedAnswers','/cannedAnswers','app/main/apps/tools/views/cannedAnswers/cannedAnswers.html','createdAt,updatedAt,id,key,value,description','tools','app.tools.dispositions','app.tools.customDashboards','/customDashboards','app/main/apps/tools/views/customDashboards/customDashboards.html','CustomDashboardsController\x20as\x20vm','CustomDashboards','app.tools.customDashboards.edit','app/main/apps/tools/views/customDashboards/edit/view.html','dashboard@get','app.tools.intervals','/intervals','app/main/apps/tools/views/intervals/intervals.html','IntervalsController\x20as\x20vm','Intervals','app/main/apps/tools/views/intervals/edit/view.html','PausesController\x20as\x20vm','/schedules','SchedulesController\x20as\x20vm','schedule@get','createdAt,updatedAt,id,name,CustomReportId,DefaultReportId,output,active,startAt,endAt,cron,subtractNumber,subtractUnit,sendMail,MailAccountId,email,cc,bcc,sendIfEmpty,description','Scheduler','app/main/apps/tools/views/sounds/sounds.html','SoundsController\x20as\x20vm','sound@get','createdAt,updatedAt,id,save_name,converted_format,name,audio,description','/tags','app/main/apps/tools/views/tags/tags.html','TagsController\x20as\x20vm','createdAt,updatedAt,id,name,description,color','app.tools.templates','/templates','TemplatesController\x20as\x20vm','createdAt,updatedAt,id,name,html,description','app.tools.triggers','/triggers','app/main/apps/tools/views/triggers/triggers.html','TriggersController\x20as\x20vm','createdAt,updatedAt,id,name,channel,status,description','app.tools.triggers.edit','app/main/apps/tools/views/triggers/edit/view.html','TriggerController\x20as\x20vm','trigger@get','app.tools.trunks','/trunks','app/main/apps/tools/views/trunks/trunks.html','TrunksController\x20as\x20vm','createdAt,updatedAt,id,name,active,host,secret,defaultuser,context,callerid,type,dtmfmode,nat,qualify,allow,insecure,call_limit,registry,description,directmedia,callcounter,fromdomain,fromuser,outboundproxy,usereqphone,trustrpid,sendrpid,encryption,port,transport,t38pt_udptl,videosupport,otherFields','app.tools.trunks.edit','app/main/apps/tools/views/trunks/edit/view.html','TrunkController\x20as\x20vm','app.tools.variables','/variables','app/main/apps/tools/views/variables/variables.html','VariablesController\x20as\x20vm','app.video.screenRecordings','/screenRecordings','ScreenRecordingsController\x20as\x20vm','msUtils','screenRecording@get','createdAt,updatedAt,id,interactionid,channel,format,value,rating,UserId,duration,startedAt,closedAt','true','ScreenRecordings','firstLastDayMonth','video','app.voice.realtime','VoiceRealtimeController\x20as\x20vm','app.voice.realtime.agents','AgentsVoiceRealtimeController\x20as\x20vm','app/main/apps/voice/views/realtime/agents/view.html','app.voice.realtime.telephones','TelephonesVoiceRealtimeController\x20as\x20vm','app/main/apps/voice/views/realtime/telephones/view.html','id,fullname,userpic,internal','rpc@getTelephones','app.voice.realtime.trunks','TrunksVoiceRealtimeController\x20as\x20vm','app/main/apps/voice/views/realtime/trunks/view.html','app.voice.realtime.queues','QueuesVoiceRealtimeController\x20as\x20vm','app/main/apps/voice/views/realtime/queues/view.html','app.voice.realtime.queue_calls','AbandonedCallsVoiceRealtimeController\x20as\x20vm','app.voice.realtime.queue_params','app/main/apps/voice/views/realtime/queue_params/view.html','/outbound_calls','app/main/apps/voice/views/realtime/outbound_calls/view.html','rpc@getOutboundChannels','app.voice.voiceQueues','app/main/apps/voice/views/voiceQueues/voiceQueues.html','VoiceQueuesController\x20as\x20vm','app.voice.voiceQueues.edit','app/main/apps/voice/views/voiceQueues/edit/view.html','VoiceQueueController\x20as\x20vm','createdAt,updatedAt,id,name,type,strategy,timeout,maxlen,retry,wrapuptime,weight,joinempty,leavewhenempty,musiconhold,announce,description,periodic_announce,queue_reporthold,queue_youarenext,queue_thereare,queue_callswaiting,queue_holdtime,queue_minutes,queue_minute,queue_seconds,queue_thankyou,announce_frequency,min_announce_frequency,periodic_announce_frequency,random_periodic_announce,announce_holdtime,announce_position,announce_position_limit,reportholdtime,acw,acwTimeout,autopause,ringinuse,memberdelay,timeoutrestart,monitor_format,context,setinterfacevar,setqueuevar,setqueueentryvar,servicelevel,mandatoryDisposition,mandatoryDispositionPauseId','/inboundroutes','InboundRoutesController\x20as\x20vm','voiceExtension@get','createdAt,updatedAt,id,appdata,type,exten,context,description','app.voice.inboundroutes.edit','InboundRouteController\x20as\x20vm','/outboundroutes','OutboundRoutesController\x20as\x20vm','createdAt,updatedAt,id,appdata,type,exten,context,recordingFormat,cutdigits,description','OutboundRoutes','app.voice.outboundroutes.edit','app/main/apps/voice/views/outboundroutes/edit/view.html','OutboundRouteController\x20as\x20vm','app.voice.internalroutes','app/main/apps/voice/views/internalroutes/internalroutes.html','internal','InternalRoutes','app.voice.internalroutes.edit','app/main/apps/voice/views/internalroutes/edit/view.html','InternalRouteController\x20as\x20vm','app.voice.contexts','/contexts','app/main/apps/voice/views/contexts/contexts.html','ContextsController\x20as\x20vm','false','app.voice.voicemails','/voicemails','app/main/apps/voice/views/voicemails/voicemails.html','VoicemailsController\x20as\x20vm','voiceMail@get','app.voice.voicemails.edit','createdAt,updatedAt,id,customer_id,fullname,email,password,mailbox,context,tz,attach,envelope,delete,emailbody,emailsubject,maxsecs,maxmsg','/musiconholds','voiceMusicOnHold@get','createdAt,updatedAt,id,name,mode,directory,application,format,sort','MusicOnHolds','app.voice.musiconholds.edit','app/main/apps/voice/views/musiconholds/edit/view.html','app.voice.voiceRecordings','/voiceRecordings','app/main/apps/voice/views/voiceRecordings/voiceRecordings.html','VoiceRecordingsController\x20as\x20vm','voiceRecording@get','createdAt,updatedAt,id,format,value,type,uniqueid,calleridnum,exten,connectedlinenum,queue,membername,rating,audio,userDisposition,transcribeStatus,fileText,failureReason,sentiment,sPositive,sNegative,sNeutral,sMixed','VoiceRecordings','app.voice.voiceRecordings.edit','VoiceRecordingController\x20as\x20vm','app.voice.chanSpies','/chanSpies','app/main/apps/voice/views/chanSpies/chanSpies.html','ChanSpiesController\x20as\x20vm','voiceChanSpy@get','createdAt,updatedAt,id,name,prefix,options,auth,password,record,recordingFormat,description','ChanSpies','app.voice.voicePrefixes','/voicePrefixes','app/main/apps/voice/views/voicePrefixes/voicePrefixes.html','VoicePrefixesController\x20as\x20vm','VoicePrefixes','app.whatsapp.realtime','app/main/apps/whatsapp/views/realtime/realtime.html','WhatsappRealtimeController\x20as\x20vm','app.whatsapp.realtime.agents','AgentsWhatsappRealtimeController\x20as\x20vm','app.whatsapp.realtime.queues','app/main/apps/whatsapp/views/realtime/queues/view.html','WhatsappQueues','rpc@getWhatsappQueues','app.whatsapp.whatsappQueues','/whatsappQueues','WhatsappQueuesController\x20as\x20vm','whatsappQueue@get','whatsapp','app.whatsapp.whatsappQueues.edit','app/main/apps/whatsapp/views/whatsappQueues/edit/view.html','WhatsappQueueController\x20as\x20vm','app.whatsapp.whatsappAccounts','/whatsappAccounts','app/main/apps/whatsapp/views/whatsappAccounts/whatsappAccounts.html','WhatsappAccountsController\x20as\x20vm','createdAt,updatedAt,id,name,key,ListId,remote,token,type,accountSid,authToken,phone,receiveUrl,deliveryReportUrl,notificationShake,notificationSound,notificationTemplate,queueTransfer,queueTransferTimeout,waitForTheAssignedAgent,mandatoryDisposition,mandatoryDispositionPauseId,agentTransfer,agentTransferTimeout,description','app.navigation','app/quick-panel','/reset/:token','app/reset/reset.html','ResetPasswordController\x20as\x20vm','reset','app/reset','app.toolbar','app/toolbar','$httpProvider','run','authenticate','permissionId','injector','get','router','stateService','isLoggedIn','target','retrieveUser','$to','user','hasPermission','params','hasResourcePermission','parent','onStart','onFinish','$cookies','api','$window','$document','factory','motion.token','login','logout','YYYY-MM-DD\x20HH:mm:ss','update','auth','local','put','LOCAL_LOGIN','hotdesk','show','element','body','showWebBar','assign','remove','motion.user:','localStorage','removeItem','motion.authenticationtype','role','whoami','userProfile','sectionId','subsections','some','permissions','includes','userProfileSection','autoAssociation','userProfileResource','Error\x20retrieving\x20user\x20profile\x20permissions','forEach','filter','enabled','category','isEmpty','/api/auth/','telephones','controller','closeDialog','hide','$rootScope','$injector','Util','authInterceptor','headers','isSameOrigin','url','Bearer\x20','status','reject','isFunction','noop','createElement','href','host','urlParse','concat','hostname','protocol','port','443','provider','motionConfig','$get','$ariaProvider','$logProvider','msScrollConfigProvider','debugEnabled','motionGenerator','getConfig','isMobile','attr','md-no-ink','html','addClass','is-mobile','detectBrowser','browser','version','$mdDialog','color','fields','storagePath','AdvancedSearchController','currentUser','$and','applyFilter','clearConditions','minimize','close','hasOwnProperty','advancedSearch','searchOptions','matchType','query','column','groupBy','operator','mapValues','map','flattenDeep','value','$in','$notIn','join','conditions','getItem','motion2.','setItem','omit','search','directive','focusOn','$timeout','$interpolate','hljs','code','empty','$eval','shouldInterpolate','when','split','match','replace','highlight','language','lang','','','$translate','msAdvancedSearch','operators','multiselect','$ne','IS_AMONG','$substring','CONTAINS','$startsWith','STARTS_WITH','text','$endsWith','..a','$lt','IS_LESS_THAN','date','number','$lte','IS_LESS_THAN_OR_EQUAL_TO','$gte','$between','IS_BETWEEN','addCondition','editCondition','cancelUpdateCondition','setConditionStatus','removeCondition','getValues','onFieldChange','onOperatorChange','onValueChange','checkRange','handleKeyboardAction','endRangeValue','isValidCondition','autoSelectOperator','availableOperators','selectedOperator','isValidRange','applyTo','difference','between','selectedField','options','extraOperators','type','add','isExtra','excludeFrom','excludedOperators','copy','route','autocomplete','@autocomplete','values','model','searchText','searchFields','trimEnd','displayValue','toLowerCase','error','API:','\x20-\x20','toUpperCase','stringify','data','message','toString','translate','isArray','maxDateRange','pendingCondition','style','md-amber-200-bg','find','minDateRange','endValue','findIndex','splice','disabled','chip-disabled','clearFilter','instant','DASHBOARDS.','YYYY-MM-DD','$eq','\x20and\x20','select','field','msCard','=template','=ngModel','=viewModel','','ms-card','cardTemplateLoaded','$emit','msCard::cardTemplateLoaded','msChipColor','$observe','md-background-bg\x20md-hue-3','className','indexOf','md-hue-3','$scope','toasty','showMenu','license','webrtc','getVoicePrefixes','count','PrefixDialogController','phoneBarPrefixRequired','phoneBarRemoteControlPort','9888','/api/originate/','$broadcast','call','transfer','http://127.0.0.1:','/api/transfer?number=','webrtc::transfer','isNil','success','Call\x20properly\x20handled!','PhoneBar\x20API\x20Error','CONTACTMANAGER.ERRORS.PHONEBAR_API','app/core/directives/ms-click-to-call/ms-click-to-call.html','msDatepickerFixConfig','msDatepickerFix','toDate','ngModel','$formatters','formatter','$parsers','parser','path','setAttribute','preload','controls','audio','width:\x20265px;','title','src','onplay','download','createObjectURL','play','append','msDialogRecording','canTransfer','readOnly','isValid','undefined','selectedItems','items','transferCallback','msEmojiArea','','emojioneArea','pickerPosition','placeholder','Type\x20a\x20message','getText','onReply','setText','internalControl','ctrlMethods','msFontFamily','fonts','Arial','Arial,Helvetica,sans-serif','Century\x20Gothic,Futura,Didact\x20Gothic,san-serif','Calibri,\x20Verdana,\x20Geneva,\x20sans-serif','Comic\x20Sans\x20MS','Comic\x20Sans\x20MS,cursive','Courier\x20New','Courier\x20New,Courier,monospace','Georgia','Lucida\x20Sans\x20Unicode,Lucida\x20Grande,sans-serif','Tahoma','Tahoma,Geneva,sans-serif','Times\x20New\x20Roman','Times\x20New\x20Roman,Times,serif','Trebuchet\x20MS','Trebuchet\x20MS,Helvetica,sans-serif','Verdana,Geneva,sans-serif','app/core/directives/ms-font-family/ms-font-family.html','forms','registerForm','previousStep','firstStep','lastStep','totalSteps','isFirstStep','currentStepInvalid','previousStepInvalid','formsIncomplete','selectedIndex','isDefined','$invalid','$setPristine','$setUntouched','ms-form-wizard','form','^msFormWizard','msInfoBar','app/core/directives/ms-info-bar/ms-info-bar.html','ms-info-bar-active','removeClass','onClose','removeInfoBar','msMasonryController','msMasonry','container','columnWidth','reLayout','waitImagesLoaded','extend','$on','msMasonry:relayout','done','$watch','width','cancel','msMasonry:relayoutFinished','reLayoutDebounce','containerPos','getBoundingClientRect','msMasonry:relayoutStarted','ms-masonry-item','apply','scope','css','respectItemOrder','min','height','translate3d(','px,','px,0px)','msMasonryItem:finishReLayout','columnCount','gt-md','responsive','fromJson','AEC','^msMasonry','$mdColorPalette','$mdMenu','msMaterialColorPickerController','palettes','selectedPalette','selectedHues','activateHueSelection','selectColor','selectedColor','modelCtrl','$viewValue','class','msModelType','hue','md-','-bg','rgba','contrast','equals','$selectedColor','$setViewValue','obj','msMaterialColorPicker','replaceWith','msNavFoldService','$animate','msNavIsFolded','MsNavController','msNav','msNavToggle','isNavFoldedOpen','toggleFold','openFolded','closeFolded','','','ms-nav-folded','msNav::forceCollapse','scrollTop','mouseenter\x20touchstart','preventDefault','ms-nav-folded-open','msNav::expandMatchingToggles','ms-nav-folded\x20ms-nav-folded-open','mouseenter\x20mouseleave','off','isDisabled','enable','getLockedItems','setLockedItem','clearLockedItems','navigation','$destroy','ms-nav-toggle','collapsed','expanded','expand-animation','ui-sref','isUndefined','setToggleItem','children','.ms-nav-button','click','msNav::pushToLockedList','msNav::collapse','current','ms-nav-toggle-items','absolute','hidden','auto','offsetHeight','$evalAsync','animate','0px','promise','defer','collapseAnimation','msNavigationService','$element','$state','msNavigation','MsNavigationNodeController','msNavigationNode','msNavigationItem','msNavigationHorizontal','MsNavigationHorizontalNodeController','msNavigationHorizontalItem','$log','saveItem','deleteItem','sortByWeight','isString','_id','weight','isNumber','_path','uisref','sort','isObject','toJson','toggleFolded','root','getNavigation','toggleHorizontalMobileMenu','toggleClass','ms-navigation-horizontal-mobile-menu-active','','','getFolded','msNavigation::collapse','ms-navigation-folded','isLockedOpen','getActiveItem','msNavigation::stateMatched','folded','setFolded','ms-navigation-folded\x20ms-navigation-folded-open','#main','ms-navigation-folded-open','$stateChangeStart','hasChildren','collapsable','animateHeightClass','animate-height','collapse','getClass','group','node','boolean','stateParams','setActiveItem','expand','collapsing','block','expanding','=msNavigationNode','MsNavigationNodeController\x20as\x20vm','ms-navigation-node','ms-navigation-item','MsNavigationController\x20as\x20vm','app/core/directives/ms-navigation/templates/horizontal.html','ms-navigation-horizontal','setNavigationScope','isActive','$stateChangeSuccess','msNavigation::clearActive','=msNavigationHorizontalNode','MsNavigationHorizontalNodeController\x20as\x20vm','ms-navigation-horizontal-node','^msNavigationHorizontalNode','$interval','$mdToast','$http','motNotification','ringingId','ringingVolume','microphoneVolume','ringingMute','conf','right','selectedMode','md-scale','soundPlayer','remotePlayer','getElementById','remotePlayerId','volume','sessionConf','calls','callbackQueue','isInConference','currentConferenceSessions','WebSocketInterface','wss://','URI','sip','realm','invite','phoneBarExpires','initDeviceInProgress','jabraClicked','buttonClicked','originateInProgress','mediaDevices','isJabraInitialized','isJabraEnabled','Unable\x20to\x20shutdown\x20Jabra\x20library','network','turn','turn:','username','password','credential','pcConfig','registered','bind','unregistered','newRTCSession','webbar:originate','webbar:answer','webbar:hold','webbar:transfer','getUserMedia','getTracks','stop','enumerateDevices','default','communications','deviceId','kind','audioinput','groupId','microphoneId','warning','TOOLBAR.WARNING','bottom-right','mediaConstraints','microphone','audiooutput','speakerId','TOOLBAR.WEBRTC_SPEAKER_NOT_AVAILABLE','speaker','ringing','getInstallInfo','getUserDeviceMediaExt','deviceInfo','browserGroupId','Jabra\x20library\x20correctly\x20initialized\x20and\x20device\x20correctly\x20installed','onHook','addEventListener','acceptcall','mute','unmute','endcall','warn','Error\x20initializing\x20Jabra\x20integration','Unable\x20to\x20init\x20media\x20devices','TOOLBAR.WEBRTC_AUDIO_DEVICES_NOT_AVAILABLE','finally','load','last','direction','isInProgress','answer','Unable\x20to\x20find\x20a\x20valid\x20call\x20to\x20answer','Unable\x20to\x20answer\x20the\x20call','microphoneMute','jabraSession','hold','pick','motion2.user:','hasMicrophone','Chrome','Opera','hasSpeakers','isWebRTCSupported','osName','osVersion','browserVersion','start','TOOLBAR.WEBRTC_LICENSE_NOT_ENABELD','https','chrome','browserName','opera','safari','debug','onNewRTCSession\x20->\x20data','session','originator','outgoing','request','ruri','extraHeaders','resume','offHook','remote','voicePause','phoneBarDnd','from','display_name','uri','X-Answer-Mode','getHeader','X-Answer-After','ring','autoAnswer','autoAnswerDelay','xAnswerMode','auto\x20answer\x20enabled\x20after:','\x20ms','call_id','callbackurl:\x22','\x22\x20called\x20successfully','fail\x20callbackurl:\x22','\x22\x20err:','connection','iceCandidateTimeout','confirmed','ended','failed','icecandidate','sessions','$apply','onNewRTCSession\x20->\x20vm_pb.sessions','addCall\x20->\x20target,\x20inbound,\x20fullname','unshift','pop','getNotification\x20->\x20session','create','Incoming\x20call\x20from:\x20','notification','Error\x20creating\x20notification\x20for\x20incoming\x20call','answer\x20->\x20session','status_code','terminate','localHold','onProgress\x20->\x20session,\x20data','assets/ms-phonebar/sounds/incoming-call.ogg','putOtherCallsOnHold','assets/ms-phonebar/sounds/outgoing-call.ogg','loop','Unable\x20to\x20retrieve\x20voice\x20channels','getVoiceChannels\x20->\x20session','rpc','getVoiceChannels','sipcalllinkedid','sipcalluniqueid','monitor','monitors','substr','timer-start','onaddstream','head','getRemoteStreams','pause','assets/ms-phonebar/sounds/beep.ogg','Unable\x20to\x20play\x20autoAnswer\x20notification','canGoInConference','onAddstream\x20->\x20data','stream','onHold\x20->\x20session,\x20data','onUnhold\x20->\x20session,\x20data','currentconferenceSessions','onFailed\x20->\x20session,\x20data','onIcecandidate\x20->\x20session,\x20data','ready','showDialpad','angucomplete-alt:changeInput','ms-target-wrap','asterisk','.ogg','isEstablished','isOnHold','sendDTMF','muted','setSinkId','info','speakerMute','speakerVolume','unknown\x20device','test','ms-target','originalObject','assets/ms-phonebar/prefix/dialog.html','key','keyup','keyCode','getSenders','track','getReceivers','unhold','createMediaStreamDestination','connect','createMediaStreamSource','replaceTrack','addTrack','remote-audio','srcObject','selectSession\x20->\x20session','unhold\x20->\x20session','record\x20->\x20session','RecordDialogController','assets/ms-phonebar/record/dialog.html','hold\x20->\x20session','refer\x20->\x20session','prompt','Target','Transfer','Cancel','refer','top\x20right','simple','textContent','position','hideDelay','referAttended\x20->\x20session','ReferAttendedDialogController','assets/ms-phonebar/referAttended/dialog.html','putOtherCallsOnHold\x20->\x20session','SettingsController','assets/ms-phonebar/settings/settings.html','shutdown','ondevicechange','onRemoteCall\x20->\x20evt,\x20data','onRemoteTransfer\x20->\x20evt,\x20data','requestSucceeded','requestFailed','originateHook\x20->\x20payload','callNumber','callerId','callbackUrl','X-CID:\x20','X-callback-url:\x20','hangupHook\x20->\x20payload','\x20not\x20found','hangupHook\x20->\x20sessionToHangup','answerHook\x20->\x20payload','sessionId','call\x20with\x20session\x20Id\x20','incoming','holdHook\x20->\x20payload','sessionId\x20required','transferNumber','transferNumber\x20required','findSessionBySessionId\x20->\x20sessionId,\x20vm_pb.sessions','$onInit','record','selectSession','typeWrapper','referAttended','targetSelected','start3WayConf','patchConference','webrtc::settings','webrtc::call','removeAllListeners','webbar:hangup','msPhonebar','vm_pb','MsPhonebarController','prefixes','required','prefix','msBlink','display','inline','none','Record','addRecording','floor','random','startMonitor','uniqueid','wav','filename','.wav','mixmonitorid','rec','stopMonitor','Start\x20new\x20recording','Type\x20the\x20file\x20name.','File\x20name','initialValue','Start','sessionTarget','onTransferCallback\x20->\x20session,\x20textContent,\x20position,\x20delay','devices','$filter','dateRangeManager','msQuickFilter','pickerModels','localizationMap','onMultiselectInit','onDateRangeInit','onMultiselectSelection','clearDate','clearSelection','selectAll','setSelectedDate','dateStart','dateEnd','hours','minutes','ngValue','setPlaceholder','placeholders','utc','getFullYear','getMonth','getDate','selectedTemplateName','Today','Yesterday','dd\x20MMM\x20yyyy','This\x20Week','Last\x20Week','This\x20Month','Last\x20Month','This\x20Year','Last\x20Year','\x20yyyy','isSame','subtract','isoWeek','month','months','year','msRandomClass','msRecording','controlsList','voiceRecording','buffer','msResponsiveTable','','after','msScrollConfig','msScroll','disableCustomScrollbars','disableCustomScrollbarsOnMobile','ms-scroll','initialize','prop','scrollHeight','scrollWidth','msSearchBar','queryOptions','debounce','collapseOnBlur','resultsLoading','results','ignoreMouseEvents','onInit','populateResults','absorbEvent','handleKeydown','handleMouseenter','temporarilyIgnoreMouseEvents','handleResultClick','ensureSelectedResultIsVisible','$parent','selectedResultIndex','onExpand','onCollapse','mouseEventIgnoreTimeout','onResultClick','.result','top','outerHeight','MsSearchBarController\x20as\x20vm','app/core/directives/ms-search-bar/ms-search-bar.html','down','closest','h-128','ms-search-bar-expanded','md-toolbar','MsShortcutsController','msShortcuts','mobileBarActive','shortcuts','sortableOptions','dragging','saveShortcuts','loadShortcuts','addShortcut','removeShortcut','toggleMobileBar','MsShortcuts.query','getFlatNavigation','hasShortcut','motion.shortcuts','License','icon-cog','#ms-shortcut-add-menu','MsShortcutsController\x20as\x20MsShortcuts','app/core/directives/ms-shortcuts/ms-shortcuts.html','ms-shortcuts','msSidenavHelper','^mdSidenav','isOpen','full-height','msSplashScreen','leave','MsStepperController','msHorizontalStepper','msHorizontalStepperStep','msVerticalStepperStep','currentStep','setOrientation','registerMainForm','gotoStep','gotoPreviousStep','gotoNextStep','gotoLastStep','isLastStep','isStepCurrent','isStepOptional','isStepHidden','filterHiddenStep','isStepValid','isFormValid','orientation','horizontal','step','steps','stepTitleTranslate','stepNumber','setCurrentStep','mainForm','currentStepNumber','vertical','hideStep','$valid','MsStepperController\x20as\x20MsStepper','app/core/directives/ms-stepper/templates/horizontal/horizontal.html','ms-stepper','setupSteps','ms-stepper-step','msVerticalStepper','^msVerticalStepper','optionalStep','stepInfo','MsStepper','.ms-stepper-step-content','MsTabScrollController','onTabScroll','canScroll','left','#tab-container','-=400','+=400','both','scrollLeft','MsTimelineController','msTimeline','msTimelineItem','scrollEl','setScrollEl','getScrollEl','&?msTimelineLoadMore','','#content','loadMore','scroll','ms-timeline-item','img','Image\x20is\x20loaded','No\x20images','$attrs','$compile','timer','prototype','trim','function','autoStart','interval','startTime','countdown','countdownAttr','isRunning','startTimeAttr','timer-stop','clear','timer-set-countdown','timeoutId','endTimeAttr','endTime','countdownattr','diff','stoppedTime','timer-stopped','millis','days','maxTimeUnit','seconds','years','second','minute','hour','secondsS','minutesS','monthsS','yearsS','mminutes','ddays','mmonths','yyears','finishCallback','$digest','timer-tick','=startTime','=endTime','=countdown','&autoStart','timezone','Europe/Andorra','+01:00','Asia/Dubai','+04:00','Asia/Kabul','+04:30','Europe/Tirane','Antarctica/Rothera','-03:00','Antarctica/Mawson','+05:00','Antarctica/Casey','+08:00','Antarctica/Vostok','+06:00','Antarctica/DumontDUrville','+10:00','Antarctica/Syowa','Antarctica/Troll','+00:00','America/Argentina/Buenos_Aires','America/Argentina/Cordoba','America/Argentina/Salta','America/Argentina/Jujuy','America/Argentina/Tucuman','America/Argentina/Catamarca','America/Argentina/La_Rioja','America/Argentina/San_Juan','America/Argentina/Mendoza','America/Argentina/Rio_Gallegos','Pacific/Pago_Pago','Europe/Vienna','Australia/Lord_Howe','+11:00','Australia/Hobart','Australia/Currie','Australia/Melbourne','Australia/Sydney','Australia/Broken_Hill','Australia/Brisbane','Australia/Adelaide','+10:30','Australia/Darwin','+09:30','Australia/Perth','Australia/Eucla','+08:45','Asia/Baku','America/Barbados','-04:00','Asia/Dhaka','+02:00','Atlantic/Bermuda','America/La_Paz','-02:00','America/Belem','America/Fortaleza','America/Recife','America/Araguaina','America/Maceio','America/Bahia','America/Sao_Paulo','America/Cuiaba','America/Santarem','America/Boa_Vista','America/Manaus','America/Eirunepe','-05:00','America/Rio_Branco','Europe/Minsk','+03:00','-06:00','America/St_Johns','-03:30','America/Halifax','America/Glace_Bay','America/Moncton','America/Blanc-Sablon','America/Toronto','America/Thunder_Bay','America/Iqaluit','America/Resolute','America/Atikokan','America/Rankin_Inlet','America/Winnipeg','America/Swift_Current','America/Edmonton','America/Cambridge_Bay','-07:00','America/Yellowknife','America/Inuvik','America/Creston','America/Fort_Nelson','America/Vancouver','-08:00','America/Whitehorse','America/Dawson','+06:30','Africa/Abidjan','Pacific/Rarotonga','-10:00','America/Santiago','Pacific/Easter','Asia/Shanghai','Asia/Urumqi','America/Bogota','America/Costa_Rica','America/Havana','Atlantic/Cape_Verde','-01:00','America/Curacao','+07:00','Asia/Nicosia','Europe/Prague','Europe/Copenhagen','Africa/Algiers','America/Guayaquil','Europe/Tallinn','Africa/Cairo','Africa/El_Aaiun','Europe/Madrid','Africa/Ceuta','Atlantic/Canary','Europe/Helsinki','+12:00','Atlantic/Stanley','Pacific/Pohnpei','Pacific/Kosrae','Atlantic/Faroe','Europe/Paris','Europe/London','Asia/Tbilisi','America/Cayenne','America/Godthab','America/Danmarkshavn','America/Scoresbysund','Europe/Athens','Pacific/Guam','Africa/Bissau','America/Guyana','Asia/Hong_Kong','America/Tegucigalpa','Europe/Budapest','Asia/Pontianak','Asia/Jayapura','Europe/Dublin','Asia/Jerusalem','Asia/Kolkata','+05:30','Indian/Chagos','Asia/Baghdad','Asia/Tehran','+03:30','Europe/Rome','America/Jamaica','Asia/Tokyo','+09:00','Africa/Nairobi','Asia/Bishkek','Pacific/Enderbury','+13:00','Pacific/Kiritimati','+14:00','Asia/Pyongyang','Asia/Seoul','Asia/Almaty','Asia/Qyzylorda','Asia/Oral','Asia/Beirut','Asia/Colombo','Europe/Luxembourg','Europe/Riga','Africa/Tripoli','Africa/Casablanca','Europe/Monaco','Europe/Chisinau','Asia/Rangoon','Asia/Ulaanbaatar','Asia/Choibalsan','Asia/Macau','America/Martinique','Europe/Malta','Indian/Mauritius','America/Mexico_City','America/Cancun','America/Merida','America/Monterrey','America/Matamoros','America/Mazatlan','America/Chihuahua','America/Ojinaga','America/Hermosillo','America/Tijuana','America/Santa_Isabel','America/Bahia_Banderas','Asia/Kuala_Lumpur','Asia/Kuching','Africa/Maputo','Pacific/Norfolk','Africa/Lagos','America/Managua','Europe/Amsterdam','Europe/Oslo','Asia/Kathmandu','+05:45','Pacific/Niue','-11:00','Pacific/Auckland','Pacific/Chatham','+13:45','America/Panama','America/Lima','Pacific/Tahiti','Pacific/Gambier','-09:00','Pacific/Port_Moresby','Pacific/Bougainville','Asia/Manila','Asia/Karachi','Europe/Warsaw','America/Miquelon','Pacific/Pitcairn','America/Puerto_Rico','Asia/Gaza','Atlantic/Madeira','Pacific/Palau','Asia/Qatar','Indian/Reunion','Europe/Bucharest','Europe/Belgrade','Europe/Kaliningrad','Europe/Moscow','Europe/Simferopol','Europe/Volgograd','Asia/Omsk','Asia/Novosibirsk','Asia/Irkutsk','Asia/Chita','Asia/Yakutsk','Asia/Khandyga','Asia/Vladivostok','Asia/Sakhalin','Asia/Ust-Nera','Asia/Magadan','Asia/Kamchatka','Asia/Anadyr','Asia/Riyadh','Pacific/Guadalcanal','Africa/Khartoum','Europe/Stockholm','Asia/Singapore','America/Paramaribo','America/El_Salvador','Asia/Damascus','Africa/Ndjamena','Indian/Kerguelen','Asia/Dushanbe','Pacific/Fakaofo','Asia/Dili','Asia/Ashgabat','Africa/Tunis','Pacific/Tongatapu','Europe/Istanbul','Pacific/Funafuti','Europe/Kiev','Europe/Uzhgorod','America/New_York','America/Kentucky/Louisville','America/Indiana/Indianapolis','America/Indiana/Vincennes','America/Indiana/Winamac','America/Indiana/Marengo','America/Indiana/Petersburg','America/Indiana/Vevay','America/Chicago','America/Indiana/Tell_City','America/Indiana/Knox','America/North_Dakota/Center','America/North_Dakota/New_Salem','America/North_Dakota/Beulah','America/Denver','America/Boise','America/Phoenix','America/Los_Angeles','America/Metlakatla','America/Anchorage','America/Juneau','America/Sitka','America/Yakutat','America/Nome','Pacific/Honolulu','America/Montevideo','Asia/Samarkand','Asia/Tashkent','America/Caracas','-04:30','Asia/Ho_Chi_Minh','Pacific/Wallis','Pacific/Apia','Africa/Johannesburg','app/core/directives/ms-timezone/ms-timezone.html','MsWidgetEngineCounterController','filtered','getCount','fontSize','attrs','voiceQueuesSelected','voiceQueues','MsWidgetEngineMultibarChartController','multiBarChart','QUEUE_NAME','TOTAL','#2196f3','attrSerie','intersection','series','properties','labels','legend','fontColor','xAxes','scales','foreground','ticks','MsWidgetEnginePieChartController','pieChart','ANSWERED','getPieChart','MsWidgetEngineWebReportController','countDown','columns','web','getResults','valueReplacer','analyticFieldReport','field,alias','custom','analyticDefaultReport','reportRoute','analyticCustomReport','refresh','isNaN','timeout','page','limit','YYYY-MM-DDTHH:mm:ssZ','$sce','msWidgetEngine','trustAsResourceUrl','MsWidgetController','msWidget','msWidgetBack','flipped','flippable','ms-widget','flipWidget','^msWidget','ms-widget-back','resources','DASHBOARDS.NONE','param','DASHBOARDS.CHOOSE','DASHBOARDS.ALL','altDate','now','fromNow','dddd','calendar','toTrusted','htmlToPlaintext','nospace','humanizeDoc','trustAsHtml','label','filterByIds','filterByPropIds','filterByTags','filterSingleByTags','every','tags','substring','accept','document','mozHidden','webkitHidden','userAgent','vendor','serviceWorker','register','notification.js','installing','active','Service\x20worker\x20registration\x20failed','Service\x20Worker\x20is\x20not\x20supported','source','action','MyBody','Notification','requestPermission','showNotification','Accept','Reject','Notification\x20creating\x20error','apiResolver.resolve\x20requires\x20correct\x20action\x20parameter\x20(ResourceName@methodName)','Resource\x20\x22','\x22\x20is\x20not\x20defined\x20in\x20the\x20api\x20service!','Resource\x20part\x20\x22','\x22\x20is\x20not\x20defined!','LoadingIndicatorService','loadingProgress','msApi','setBaseUrl','getBaseUrl','getApiObject','\x22path\x22\x20must\x20be\x20a\x20string\x20(eg.\x20`dashboard.project`)','\x22resource\x22\x20must\x20be\x20an\x20array\x20and\x20it\x20must\x20follow\x20$resource\x20definition','msApi.resolve\x20requires\x20correct\x20action\x20parameter\x20(resourceName@methodName)','actions','msApi::resolveError','msApi::requestStart','msApi::requestError','navigator','Edge','Version','Safari','iCab','KDE','Konqueror','Firefox','Camino','Netscape','MSIE','Explorer','Mozilla','Win','Windows','platform','Mac','Linux','iPhone','iPod','iPad','Android','string','identity','subString','unknown-browser','unknown-version','unknown-os','mobile','motionTheming','$mdSidenav','MsThemeOptionsController','msThemeOptions','themes','layoutModes','boxed','Wide','wide','layoutStyles','verticalNavigation','verticalNavigationFullwidthToolbar','Vertical\x20Navigation\x20with\x20Fullwidth\x20Toolbar\x202','verticalNavigationFullwidthToolbar2','/assets/images/theme-options/vertical-nav-with-full-toolbar-2.jpg','Horizontal\x20Navigation','horizontalNavigation','/assets/images/theme-options/horizontal-nav.jpg','Content\x20with\x20Toolbar','contentWithToolbar','/assets/images/theme-options/content-with-toolbar.jpg','Content\x20Only','contentOnly','/assets/images/theme-options/content-only.jpg','layoutStyle','getActiveTheme','updateLayoutStyle','setActiveTheme','motion.layoutStyle','reload','ms-theme-options','motion-theme-options','toggleOptionsSidenav','getRegisteredThemes','getRegisteredPalettes','colors','hues','hue-1','hue-2','hue-3','@themeName','levels','contrast1','contrast2','contrast3','contrast4','setThemesList','motion.selectedTheme','/*\x20Content\x20hack\x20because\x20they\x20wont\x20fix\x20*/\x0a/*\x20https://github.com/angular/material/pull/8067\x20*/\x0a[md-theme=\x22@themeName\x22]\x20md-content.md-hue-1,\x0amd-content.md-@themeName-theme.md-hue-1\x20{\x0a\x20\x20\x20\x20color:\x20@backgroundHue1Contrast1;\x0a\x20\x20\x20\x20background-color:\x20@backgroundHue1Color;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20md-content.md-hue-2,\x0amd-content.md-@themeName-theme.md-hue-2\x20{\x0a\x20\x20\x20\x20color:\x20@backgroundHue2Contrast1;\x0a\x20\x20\x20\x20background-color:\x20@backgroundHue2Color;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20md-content.md-hue-3,\x0a\x20md-content.md-@themeName-theme.md-hue-3\x20{\x0a\x20\x20\x20\x20color:\x20@backgroundHue3Contrast1;\x0a\x20\x20\x20\x20background-color:\x20@backgroundHue3Color;\x0a}\x0a\x0a/*\x20Text\x20Colors\x20*/\x0a[md-theme=\x22@themeName\x22]\x20a\x20{\x0a\x20\x20\x20\x20color:\x20@accentDefaultColor;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.secondary-text,\x0a[md-theme=\x22@themeName\x22]\x20.icon\x20{\x0a\x20\x20\x20\x20color:\x20@backgroundDefaultContrast2;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.hint-text,\x0a[md-theme=\x22@themeName\x22]\x20.disabled-text\x20{\x0a\x20\x20\x20\x20color:\x20@backgroundDefaultContrast3;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.fade-text,\x0a[md-theme=\x22@themeName\x22]\x20.divider\x20{\x0a\x20\x20\x20\x20color:\x20@backgroundDefaultContrast4;\x0a}\x0a\x0a/*\x20Primary\x20*/\x0a[md-theme=\x22@themeName\x22]\x20.md-primary-bg\x20{\x0a\x20\x20\x20\x20background-color:\x20@primaryDefaultColor;\x0a\x20\x20\x20\x20color:\x20@primaryDefaultContrast1;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-primary-bg\x20.secondary-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-primary-bg\x20.icon\x20{\x0a\x20\x20\x20\x20color:\x20@primaryDefaultContrast2;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-primary-bg\x20.hint-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-primary-bg\x20.disabled-text\x20{\x0a\x20\x20\x20\x20color:\x20@primaryDefaultContrast3;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-primary-bg\x20.fade-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-primary-bg\x20.divider\x20{\x0a\x20\x20\x20\x20color:\x20@primaryDefaultContrast4;\x0a}\x0a\x0a/*\x20Primary,\x20Hue-1\x20*/\x0a[md-theme=\x22@themeName\x22]\x20.md-primary-bg.md-hue-1\x20{\x0a\x20\x20\x20\x20background-color:\x20@primaryHue1Color;\x0a\x20\x20\x20\x20color:\x20@primaryHue1Contrast1;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-primary-bg.md-hue-1\x20.secondary-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-primary-bg.md-hue-1\x20.icon\x20{\x0a\x20\x20\x20\x20color:\x20@primaryHue1Contrast2;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-primary-bg.md-hue-1\x20.hint-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-primary-bg.md-hue-1\x20.disabled-text\x20{\x0a\x20\x20\x20\x20color:\x20@primaryHue1Contrast3;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-primary-bg.md-hue-1\x20.fade-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-primary-bg.md-hue-1\x20.divider\x20{\x0a\x20\x20\x20\x20color:\x20@primaryHue1Contrast4;\x0a}\x0a\x0a/*\x20Primary,\x20Hue-2\x20*/\x0a[md-theme=\x22@themeName\x22]\x20.md-primary-bg.md-hue-2\x20{\x0a\x20\x20\x20\x20background-color:\x20@primaryHue2Color;\x0a\x20\x20\x20\x20color:\x20@primaryHue2Contrast1;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-primary-bg.md-hue-2\x20.secondary-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-primary-bg.md-hue-2\x20.icon\x20{\x0a\x20\x20\x20\x20color:\x20@primaryHue2Contrast2;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-primary-bg.md-hue-2\x20.hint-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-primary-bg.md-hue-2\x20.disabled-text\x20{\x0a\x20\x20\x20\x20color:\x20@primaryHue2Contrast3;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-primary-bg.md-hue-2\x20.fade-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-primary-bg.md-hue-2\x20.divider\x20{\x0a\x20\x20\x20\x20color:\x20@primaryHue2Contrast4;\x0a}\x0a\x0a/*\x20Primary,\x20Hue-3\x20*/\x0a[md-theme=\x22@themeName\x22]\x20.md-primary-bg.md-hue-3\x20{\x0a\x20\x20\x20\x20background-color:\x20@primaryHue3Color;\x0a\x20\x20\x20\x20color:\x20@primaryHue3Contrast1;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-primary-bg.md-hue-3\x20.secondary-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-primary-bg.md-hue-3\x20.icon\x20{\x0a\x20\x20\x20\x20color:\x20@primaryHue3Contrast1;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-primary-bg.md-hue-3\x20.hint-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-primary-bg.md-hue-3\x20.disabled-text\x20{\x0a\x20\x20\x20\x20color:\x20@primaryHue3Contrast3;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-primary-bg.md-hue-3\x20.fade-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-primary-bg.md-hue-3\x20.divider\x20{\x0a\x20\x20\x20\x20color:\x20@primaryHue3Contrast4;\x0a}\x0a\x0a/*\x20Primary\x20foreground\x20*/\x0a[md-theme=\x22@themeName\x22]\x20.md-primary-fg\x20{\x0a\x20\x20\x20\x20color:\x20@primaryDefaultColor\x20!important;\x0a}\x0a\x0a/*\x20Primary\x20foreground,\x20Hue-1\x20*/\x0a[md-theme=\x22@themeName\x22]\x20.md-primary-fg.md-hue-1\x20{\x0a\x20\x20\x20\x20color:\x20@primaryHue1Color\x20!important;\x0a}\x0a\x0a/*\x20Primary\x20foreground,\x20Hue-2\x20*/\x0a[md-theme=\x22@themeName\x22]\x20.md-primary-fg.md-hue-2\x20{\x0a\x20\x20\x20\x20color:\x20@primaryHue2Color\x20!important;\x0a}\x0a\x0a/*\x20Primary\x20foreground,\x20Hue-3\x20*/\x0a[md-theme=\x22@themeName\x22]\x20.md-primary-fg.md-hue-3\x20{\x0a\x20\x20\x20\x20color:\x20@primaryHue3Color\x20!important;\x0a}\x0a\x0a/*\x20Accent\x20*/\x0a[md-theme=\x22@themeName\x22]\x20.md-accent-bg\x20{\x0a\x20\x20\x20\x20background-color:\x20@accentDefaultColor;\x0a\x20\x20\x20\x20color:\x20@accentDefaultContrast1;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-accent-bg\x20.secondary-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-accent-bg\x20.icon\x20{\x0a\x20\x20\x20\x20color:\x20@accentDefaultContrast2;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-accent-bg\x20.hint-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-accent-bg\x20.disabled-text\x20{\x0a\x20\x20\x20\x20color:\x20@accentDefaultContrast3;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-accent-bg\x20.fade-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-accent-bg\x20.divider\x20{\x0a\x20\x20\x20\x20color:\x20@accentDefaultContrast4;\x0a}\x0a\x0a/*\x20Accent,\x20Hue-1\x20*/\x0a[md-theme=\x22@themeName\x22]\x20.md-accent-bg.md-hue-1\x20{\x0a\x20\x20\x20\x20background-color:\x20@accentHue1Color;\x0a\x20\x20\x20\x20color:\x20@accentHue1Contrast1;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-accent-bg.md-hue-1\x20.secondary-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-accent-bg.md-hue-1\x20.icon\x20{\x0a\x20\x20\x20\x20color:\x20@accentHue1Contrast2;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-accent-bg.md-hue-1\x20.hint-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-accent-bg.md-hue-1\x20.disabled-text\x20{\x0a\x20\x20\x20\x20color:\x20@accentHue1Contrast3;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-accent-bg.md-hue-1\x20.fade-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-accent-bg.md-hue-1\x20.divider\x20{\x0a\x20\x20\x20\x20color:\x20@accentHue1Contrast4;\x0a}\x0a\x0a/*\x20Accent,\x20Hue-2\x20*/\x0a[md-theme=\x22@themeName\x22]\x20.md-accent-bg.md-hue-2\x20{\x0a\x20\x20\x20\x20background-color:\x20@accentHue2Color;\x0a\x20\x20\x20\x20color:\x20@accentHue2Contrast1;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-accent-bg.md-hue-2\x20.secondary-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-accent-bg.md-hue-2\x20.icon\x20{\x0a\x20\x20\x20\x20color:\x20@accentHue2Contrast2;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-accent-bg.md-hue-2\x20.hint-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-accent-bg.md-hue-2\x20.disabled-text\x20{\x0a\x20\x20\x20\x20color:\x20@accentHue2Contrast3;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-accent-bg.md-hue-2\x20.fade-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-accent-bg.md-hue-2\x20.divider\x20{\x0a\x20\x20\x20\x20color:\x20@accentHue2Contrast4;\x0a}\x0a\x0a/*\x20Accent,\x20Hue-3\x20*/\x0a[md-theme=\x22@themeName\x22]\x20.md-accent-bg.md-hue-3\x20{\x0a\x20\x20\x20\x20background-color:\x20@accentHue3Color;\x0a\x20\x20\x20\x20color:\x20@accentHue3Contrast1;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-accent-bg.md-hue-3\x20.secondary-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-accent-bg.md-hue-3\x20.icon\x20{\x0a\x20\x20\x20\x20color:\x20@accentHue3Contrast1;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-accent-bg.md-hue-3\x20.hint-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-accent-bg.md-hue-3\x20.disabled-text\x20{\x0a\x20\x20\x20\x20color:\x20@accentHue3Contrast3;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-accent-bg.md-hue-3\x20.fade-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-accent-bg.md-hue-3\x20.divider\x20{\x0a\x20\x20\x20\x20color:\x20@accentHue3Contrast4;\x0a}\x0a\x0a/*\x20Accent\x20foreground\x20*/\x0a[md-theme=\x22@themeName\x22]\x20.md-accent-fg\x20{\x0a\x20\x20\x20\x20color:\x20@accentDefaultColor\x20!important;\x0a}\x0a\x0a/*\x20Accent\x20foreground,\x20Hue-1\x20*/\x0a[md-theme=\x22@themeName\x22]\x20.md-accent-fg.md-hue-1\x20{\x0a\x20\x20\x20\x20color:\x20@accentHue1Color\x20!important;\x0a}\x0a\x0a/*\x20Accent\x20foreground,\x20Hue-2\x20*/\x0a[md-theme=\x22@themeName\x22]\x20.md-accent-fg.md-hue-2\x20{\x0a\x20\x20\x20\x20color:\x20@accentHue2Color\x20!important;\x0a}\x0a\x0a/*\x20Accent\x20foreground,\x20Hue-3\x20*/\x0a[md-theme=\x22@themeName\x22]\x20.md-accent-fg.md-hue-3\x20{\x0a\x20\x20\x20\x20color:\x20@accentHue3Color\x20!important;\x0a}\x0a\x0a/*\x20Warn\x20*/\x0a[md-theme=\x22@themeName\x22]\x20.md-warn-bg\x20{\x0a\x20\x20\x20\x20background-color:\x20@warnDefaultColor;\x0a\x20\x20\x20\x20color:\x20@warnDefaultContrast1;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-warn-bg\x20.secondary-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-warn-bg\x20.icon\x20{\x0a\x20\x20\x20\x20color:\x20@warnDefaultContrast2;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-warn-bg\x20.hint-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-warn-bg\x20.disabled-text\x20{\x0a\x20\x20\x20\x20color:\x20@warnDefaultContrast3;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-warn-bg\x20.fade-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-warn-bg\x20.divider\x20{\x0a\x20\x20\x20\x20color:\x20@warnDefaultContrast4;\x0a}\x0a\x0a/*\x20Warn,\x20Hue-1\x20*/\x0a[md-theme=\x22@themeName\x22]\x20.md-warn-bg.md-hue-1\x20{\x0a\x20\x20\x20\x20background-color:\x20@warnHue1Color;\x0a\x20\x20\x20\x20color:\x20@warnHue1Contrast1;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-warn-bg.md-hue-1\x20.secondary-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-warn-bg.md-hue-1\x20.icon\x20{\x0a\x20\x20\x20\x20color:\x20@warnHue1Contrast2;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-warn-bg.md-hue-1\x20.hint-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-warn-bg.md-hue-1\x20.disabled-text\x20{\x0a\x20\x20\x20\x20color:\x20@warnHue1Contrast3;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-warn-bg.md-hue-1\x20.fade-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-warn-bg.md-hue-1\x20.divider\x20{\x0a\x20\x20\x20\x20color:\x20@warnHue1Contrast4;\x0a}\x0a\x0a/*\x20Warn,\x20Hue-2\x20*/\x0a[md-theme=\x22@themeName\x22]\x20.md-warn-bg.md-hue-2\x20{\x0a\x20\x20\x20\x20background-color:\x20@warnHue2Color;\x0a\x20\x20\x20\x20color:\x20@warnHue2Contrast1;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-warn-bg.md-hue-2\x20.secondary-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-warn-bg.md-hue-2\x20.icon\x20{\x0a\x20\x20\x20\x20color:\x20@warnHue2Contrast2;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-warn-bg.md-hue-2\x20.hint-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-warn-bg.md-hue-2\x20.disabled-text\x20{\x0a\x20\x20\x20\x20color:\x20@warnHue2Contrast3;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-warn-bg.md-hue-2\x20.fade-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-warn-bg.md-hue-2\x20.divider\x20{\x0a\x20\x20\x20\x20color:\x20@warnHue2Contrast4;\x0a}\x0a\x0a/*\x20Warn,\x20Hue-3\x20*/\x0a[md-theme=\x22@themeName\x22]\x20.md-warn-bg.md-hue-3\x20{\x0a\x20\x20\x20\x20background-color:\x20@warnHue3Color;\x0a\x20\x20\x20\x20color:\x20@warnHue3Contrast1;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-warn-bg.md-hue-3\x20.secondary-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-warn-bg.md-hue-3\x20.icon\x20{\x0a\x20\x20\x20\x20color:\x20@warnHue3Contrast1;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-warn-bg.md-hue-3\x20.hint-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-warn-bg.md-hue-3\x20.disabled-text\x20{\x0a\x20\x20\x20\x20color:\x20@warnHue3Contrast3;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-warn-bg.md-hue-3\x20.fade-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-warn-bg.md-hue-3\x20.divider\x20{\x0a\x20\x20\x20\x20color:\x20@warnHue3Contrast4;\x0a}\x0a\x0a/*\x20Warn\x20foreground\x20*/\x0a[md-theme=\x22@themeName\x22]\x20.md-warn-fg\x20{\x0a\x20\x20\x20\x20color:\x20@warnDefaultColor\x20!important;\x0a}\x0a\x0a/*\x20Warn\x20foreground,\x20Hue-1\x20*/\x0a[md-theme=\x22@themeName\x22]\x20.md-warn-fg.md-hue-1\x20{\x0a\x20\x20\x20\x20color:\x20@warnHue1Color\x20!important;\x0a}\x0a\x0a/*\x20Warn\x20foreground,\x20Hue-2\x20*/\x0a[md-theme=\x22@themeName\x22]\x20.md-warn-fg.md-hue-2\x20{\x0a\x20\x20\x20\x20color:\x20@warnHue2Color\x20!important;\x0a}\x0a\x0a/*\x20Warn\x20foreground,\x20Hue-3\x20*/\x0a[md-theme=\x22@themeName\x22]\x20.md-warn-fg.md-hue-3\x20{\x0a\x20\x20\x20\x20color:\x20@warnHue3Color\x20!important;\x0a}\x0a\x0a/*\x20Background\x20*/\x0a[md-theme=\x22@themeName\x22]\x20.md-background-bg\x20{\x0a\x20\x20\x20\x20background-color:\x20@backgroundDefaultColor;\x0a\x20\x20\x20\x20color:\x20@backgroundDefaultContrast1;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-background-bg\x20.secondary-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-background-bg\x20.icon\x20{\x0a\x20\x20\x20\x20color:\x20@backgroundDefaultContrast2;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-background-bg\x20.hint-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-background-bg\x20.disabled-text\x20{\x0a\x20\x20\x20\x20color:\x20@backgroundDefaultContrast3;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-background-bg\x20.fade-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-background-bg\x20.divider\x20{\x0a\x20\x20\x20\x20color:\x20@backgroundDefaultContrast4;\x0a}\x0a\x0a/*\x20Background,\x20Hue-1\x20*/\x0a[md-theme=\x22@themeName\x22]\x20.md-background-bg.md-hue-1\x20{\x0a\x20\x20\x20\x20background-color:\x20@backgroundHue1Color;\x0a\x20\x20\x20\x20color:\x20@backgroundHue1Contrast1;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-background-bg.md-hue-1\x20.secondary-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-background-bg.md-hue-1\x20.icon\x20{\x0a\x20\x20\x20\x20color:\x20@backgroundHue1Contrast2;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-background-bg.md-hue-1\x20.hint-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-background-bg.md-hue-1\x20.disabled-text\x20{\x0a\x20\x20\x20\x20color:\x20@backgroundHue1Contrast3;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-background-bg.md-hue-1\x20.fade-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-background-bg.md-hue-1\x20.divider\x20{\x0a\x20\x20\x20\x20color:\x20@backgroundHue1Contrast4;\x0a}\x0a\x0a/*\x20Background,\x20Hue-2\x20*/\x0a[md-theme=\x22@themeName\x22]\x20.md-background-bg.md-hue-2\x20{\x0a\x20\x20\x20\x20background-color:\x20@backgroundHue2Color;\x0a\x20\x20\x20\x20color:\x20@backgroundHue2Contrast1;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-background-bg.md-hue-2\x20.secondary-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-background-bg.md-hue-2\x20.icon\x20{\x0a\x20\x20\x20\x20color:\x20@backgroundHue2Contrast2;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-background-bg.md-hue-2\x20.hint-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-background-bg.md-hue-2\x20.disabled-text\x20{\x0a\x20\x20\x20\x20color:\x20@backgroundHue2Contrast3;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-background-bg.md-hue-2\x20.fade-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-background-bg.md-hue-2\x20.divider\x20{\x0a\x20\x20\x20\x20color:\x20@backgroundHue2Contrast4;\x0a}\x0a\x0a/*\x20Background,\x20Hue-3\x20*/\x0a[md-theme=\x22@themeName\x22]\x20.md-background-bg.md-hue-3\x20{\x0a\x20\x20\x20\x20background-color:\x20@backgroundHue3Color;\x0a\x20\x20\x20\x20color:\x20@backgroundHue3Contrast1;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-background-bg.md-hue-3\x20.secondary-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-background-bg.md-hue-3\x20.icon\x20{\x0a\x20\x20\x20\x20color:\x20@backgroundHue3Contrast1;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-background-bg.md-hue-3\x20.hint-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-background-bg.md-hue-3\x20.disabled-text\x20{\x0a\x20\x20\x20\x20color:\x20@backgroundHue3Contrast3;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-background-bg.md-hue-3\x20.fade-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-background-bg.md-hue-3\x20.divider\x20{\x0a\x20\x20\x20\x20color:\x20@backgroundHue3Contrast4;\x0a}\x0a\x0a/*\x20Background\x20foreground\x20*/\x0a[md-theme=\x22@themeName\x22]\x20.md-background-fg\x20{\x0a\x20\x20\x20\x20color:\x20@backgroundDefaultColor\x20!important;\x0a}\x0a\x0a/*\x20Background\x20foreground,\x20Hue-1\x20*/\x0a[md-theme=\x22@themeName\x22]\x20.md-background-fg.md-hue-1\x20{\x0a\x20\x20\x20\x20color:\x20@backgroundHue1Color\x20!important;\x0a}\x0a\x0a/*\x20Background\x20foreground,\x20Hue-2\x20*/\x0a[md-theme=\x22@themeName\x22]\x20.md-background-fg.md-hue-2\x20{\x0a\x20\x20\x20\x20color:\x20@backgroundHue2Color\x20!important;\x0a}\x0a\x0a/*\x20Background\x20foreground,\x20Hue-3\x20*/\x0a[md-theme=\x22@themeName\x22]\x20.md-background-fg.md-hue-3\x20{\x0a\x20\x20\x20\x20color:\x20@backgroundHue3Color\x20!important;\x0a}','rgb(','rgba(','Invalid\x20number\x20of\x20arguments\x20supplied\x20in\x20the\x20color\x20array:\x20','0.7','0.3','0.87','0.54','0.26','charAt','slice','motion-blue','#ebf1fa','#c2d4ef','#9ab8e5','#78a0dc','#5688d3','#2e62b1','#21467e','light','50\x20100\x20200\x20A100','300\x20400','motion-paleblue','#ececee','#c5c6cb','#9ea1a9','#7d818c','#3c4252','#353a48','#262933','#5c616f','#2d323e','constant','motionPalettes','500','400','light-blue','grey','A100','100','blue-grey','600','pink','300','blue','teal','deep-orange','$mdThemingProvider','motionThemes','ngCookies','invoke','getObject','motion.customTheme','definePalette','primaryPalette','primary','accentPalette','accent','backgroundPalette','$mdTheming','THEMES','list','\x22\x20does\x20not\x20exist!\x20Falling\x20back\x20to\x20the\x20\x22default\x22\x20theme.','Error404Controller','searchResultClick','lowercase','Error500Controller','sendReport','post','/api/jira','send','cookieAlertHide','motion.cookieAlertHide:','FORGOTPASSWORD.LINK_SENT','FORGOTPASSWORD.LINNK_SENT_MESSAGE','HeaderController','motion.newsAlertHide:','newsAlertOnClose','$resource','baseUrl','api/','auth/local','auth/local/forgot','auth/local/reset/:token','@token','jira','rpc/voice/channels/:uniqueid/mixmonitor','@uniqueid','rpc/voice/channels/:uniqueid/stopmixmonitor','rpc/voice/channels','rpc/voice/queues','rpc/chat/queues','rpc/mail/queues','rpc/sms/queues','rpc/openchannel/queues','rpc/fax/queues','rpc/voice/queues/preview/:id','rpc/voice/queues/channels/:uniqueid','rpc/voice/queues/channels/:uniqueid/hangup','rpc/voice/queues/channels/:uniqueid/redirect/:exten','rpc/outbound','rpc/outbound/channels','rpc/agents','rpc/agents/:id/capacity','@id','rpc/telephones','rpc/trunks','rpc/campaigns','rpc/mail/accounts','rpc/fax/accounts','rpc/chat/queues/waitinginteractions','rpc/mail/queues/waitinginteractions','rpc/openchannel/queues/waitinginteractions','rpc/sms/queues/waitinginteractions','rpc/fax/queues/waitinginteractions','rpc/mail/queues/:id/notify','rpc/chat/queues/:id/notify','rpc/fax/queues/:id/notify','rpc/sms/queues/:id/notify','rpc/openchannel/queues/:id/notify','version/reset','version/pull','version/migrations','system','system/process/:pid/kill','@pid','pm2','pm2/:id','users/:id','users/describe','@includeAll','users/:id/contacts','delete','users/:id/queues','users/:id/avatar','users/:id/recordings','users/:id/screen_recordings','users/:id/chat/interactions','users/:id/openchannel/interactions','users/:id/mail/interactions','users/:id/sms/interactions','users/:id/fax/interactions','users/:id/login','users/:id/logout','users/:id/unpause','users/:id/teams','users/:id/agents','users/:id/chat_interactions','users/:id/mail_interactions','users/:id/fax_interactions','users/:id/sms_interactions','users/:id/openchannel_interactions','users/:id/whatsapp_interactions','users/:id/prefixes','users/:id/fax_accounts','users/:id/mail_accounts','users/:id/openchannel_accounts','users/:id/sms_accounts','users/:id/chat_websites','users/:id/whatsapp_accounts','users/:id/square_projects','users/:id/scheduled_calls','users/:id/api_key','users/whoami','voice/chanspy/:id','voice/chanspy/describe','voiceContext','voice/contexts/:id/clone','voiceExtension','voice/extensions/describe','voice/extensions/:id/clone','voice/extensions/:id/applications','voiceMusicOnHold','voice/mohs/:id','voice/mohs/:id/sounds','voice/mohs/:id/sounds/:id2','voiceQueue','voice/queues/:id','voice/queues/describe','voice/queues/:id/clone','voice/queues/:id/hopper_histories','voice/queues/:id/hopper_finals','voice/queues/:id/teams','voice/queues/:id/users','voice/queues/:id/members','voice/queues/:id/lists','voice/recordings/:id','voice/recordings/describe','voice/recordings/:id/clone','voice/recordings/:id/download','arraybuffer','content-length','voice/recordings/:id/transcribe','content-type','screen/recordings/:id','screen/recordings/describe','screen/recordings/:id/clone','screen/recordings/:id/download','voiceMail','voice/mails/:id','voice/mails/describe','voice/mails/:id/clone','voice/mails/:id/messages','voice/mails/messages/describe','voice/mails/messages/:id/clone','voice/mails/messages/:id/download','voiceCallReport','voice/calls/reports/describe','voice/calls/reports/:id/clone','voiceDialReport','voice/dials/reports/:id','voice/dials/reports/describe','voice/dials/reports/:id/clone','voiceAgentReport','voice/agents/reports/:id','voice/agents/reports/describe','voiceQueueReport','voice/queues/reports/:id','voice/queues/reports/describe','memberReport','members/reports/:id','voiceTransferReport','voice/transfers/reports/describe','voice/transfers/reports/:id/clone','mailServerOut','mail/out_servers/:id/clone','mailAccount','mail/accounts/describe','mail/accounts/:id/dispositions','mail/accounts/:id/canned_answers','mail/accounts/:id/in_servers','mail/accounts/:id/out_servers','mail/accounts/:id/interactions','mail/accounts/:id/applications','mail/accounts/:id/messages','mail/accounts/:id/send','mail/accounts/:id/users','mailQueue','mail/queues/:id','mail/queues/describe','mail/queues/:id/clone','mail/queues/:id/members','mail/queues/:id/teams','mail/queues/:id/users','mail/substatuses/:id','mail/substatuses/describe','mail/substatuses/:id/clone','mailInteraction','mail/interactions/:id','mail/interactions/:id/clone','mail/interactions/:id/tags','mail/interactions/:id/download','mailMessage','mail/messages/describe','mail/messages/:id/download','mail/applications/:id','mail/applications/describe','mail/applications/:id/clone','mailQueueReport','mail/reports/queue/:id','mail/reports/queue/describe','mail/reports/queue/:id/clone','dashboard','dashboards/:id','dashboards/describe','dashboards/:id/clone','dashboards/:id/items','dashboards/items/:id/clone','faxAccount','fax/accounts/:id','fax/accounts/describe','fax/accounts/:id/clone','fax/accounts/:id/dispositions','fax/accounts/:id/canned_answers','fax/accounts/:id/interactions','fax/accounts/:id/applications','fax/accounts/updateaccountapplications','fax/accounts/:id/messages','fax/accounts/:id/send','fax/accounts/:id/users','faxApplication','fax/applications/:id','faxInteraction','fax/interactions/:id','fax/interactions/describe','fax/interactions/:id/clone','fax/interactions/:id/messages','fax/interactions/:id/tags','fax/interactions/:id/download','fax/messages/describe','fax/messages/:id/clone','fax/messages/:id/accept','fax/messages/:id/download','fax/queues/:id','fax/queues/:id/clone','fax/queues/:id/members','fax/queues/:id/teams','fax/queues/:id/users','faxQueueReport','fax/reports/queue/:id','fax/reports/queue/:id/clone','smsAccount','sms/accounts/:id','sms/accounts/:id/clone','sms/accounts/:id/dispositions','sms/accounts/:id/canned_answers','sms/accounts/:id/notify','sms/accounts/:id/applications','sms/accounts/:id/interactions','sms/accounts/:id/send','sms/accounts/:id/status','sms/accounts/:id/users','sms/applications/:id','sms/applications/describe','sms/applications/:id/clone','smsInteraction','sms/interactions/:id','sms/interactions/describe','sms/interactions/:id/clone','sms/interactions/:id/messages','sms/interactions/:id/tags','sms/interactions/:id/download','sms/messages/:id','sms/messages/:id/accept','sms/messages/:id/reject','sms/messages/:id/status','smsQueue','sms/queues/:id','sms/queues/describe','sms/queues/:id/clone','sms/queues/:id/members','sms/queues/:id/teams','sms/queues/:id/users','openchannelAccount','openchannel/accounts/:id','openchannel/accounts/describe','openchannel/accounts/:id/clone','openchannel/accounts/:id/dispositions','openchannel/accounts/:id/canned_answers','openchannel/accounts/:id/notify','openchannel/accounts/:id/applications','openchannel/accounts/:id/users','openchannel/accounts/:id/send','openchannelApplication','openchannel/applications/describe','openchannel/interactions/:id','openchannel/interactions/describe','openchannel/interactions/:id/clone','openchannel/interactions/:id/messages','openchannel/interactions/:id/tags','openchannel/interactions/:id/download','openchannelMessage','openchannel/messages/:id','openchannel/messages/describe','openchannel/messages/:id/clone','openchannel/messages/:id/accept','openchannel/messages/:id/reject','openchannelQueue','openchannel/queues/:id','openchannel/queues/:id/members','openchannel/queues/:id/teams','openchannel/queues/:id/users','chatWebsite','chat/websites/:id','chat/websites/describe','chat/websites/:id/clone','chat/websites/:id/dispositions','chat/websites/:id/canned_answers','chat/websites/:id/logo','chat/websites/:id/customer_avatar','chat/websites/:id/system_avatar','chat/websites/:id/avatar','chat/websites/:id/offline','chat/websites/:id/interactions','chat/websites/:id/snippet','chat/websites/:id/applications','chat/websites/:id/proactive_actions','chat/websites/:id/fields','chat/websites/:id/offline_messages','chat/websites/:id/users','openchannel/reports/queue/:id/clone','chat/applications/:id','chat/applications/describe','chat/applications/:id/clone','chatInteraction','chat/interactions/:id','chat/interactions/describe','chat/interactions/:id/clone','chat/interactions/:id/custom_update','chat/interactions/:id/abandon','chat/interactions/:id/attachment_upload','chat/interactions/:id/close','chat/interactions/:id/messages','chat/interactions/:id/my_messages','chat/interactions/:id/tags','chat/interactions/:id/download','chatMessage','chat/messages/:id','chat/messages/describe','chat/messages/:id/accept','chatOfflineMessage','chat/offline_messages/:id','chat/offline_messages/describe','chat/offline_messages/:id/clone','chat/queues/:id','chat/queues/describe','chat/queues/:id/members','chat/queues/:id/teams','chat/queues/:id/users','chatGroup','chat/groups/:id','chat/groups/describe','chat/groups/:id/clone','chat/groups/:id/members','chat/groups/:id/messages','chatProactiveAction','cmCompany','cm/companies/:id','cm/companies/describe','cm/companies/:id/clone','cm/companies/:id/contacts','cmContact','cm/contacts/describe','cm/contacts/:id/clone','cm/contacts/merge','cm/contacts/create_many','cm/contacts/:id/tags','cm/contacts/:id/hoppers','cm/contacts/:id/hopper_histories','cm/contacts/:id/hopper_finals','cm/contacts/:id/jscripty_sessions','cmHopper','cm/hopper/:id','cm/hopper/describe','cm/hopper/preview','cm/hopper_black/describe','cm/hopper_black/:id/clone','cmHopperFinal','cm/hopper_final/:id','cm/hopper_final/:id/clone','cm/hopper_final/voice/queue/countAttributes/:id','cm/hopper_final/campaign/countAttributes/:id','cm/hopper_final/voice/campaign/moveContacts/:id','cm/hopper_final/checkContactHopper','cm/hopper_history/:id','cm/hopper_history/describe','cm/hopper_history/:id/clone','cmCustomField','cm/custom_fields/:id','cm/custom_fields/describe','actions/describe','actions/:id/clone','automation','automations/:id','automations/:id/clone','automations/:id/conditions','automations/:id/actions','canned_answers/:id','canned_answers/:id/clone','disposition','dispositions/:id/clone','condition','conditions/describe','conditions/:id/clone','intervals/:id/clone','intervals/:id/sub_intervals/create_many','pauses/:id/clone','cdr','cdr/:id','cdr/describe','cdr/:id/clone','voiceQueuesLog/describe','schedule','schedules/describe','schedules/:id/clone','schedules/:id/run','sounds/:id/clone','sounds/:id/download','tag','tags/:id','tags/describe','tags/:id/clone','template','templates/:id','templates/describe','templates/:id/clone','trigger','triggers/describe','triggers/:id/clone','triggers/:id/all_conditions','triggers/:id/any_conditions','triggers/:id/actions','variable','variables/:id','variables/describe','integration','integrations/:id','integrations/describe','integrations/:id/clone','integrationReport','integrations/reports/:id','integrations/reports/describe','integrations/reports/:id/clone','analytics/custom_reports/describe','analytics/custom_reports/:id/clone','analytics/custom_reports/:id/preview','analytics/custom_reports/:id/run','analytics/custom_reports/:id/query','analytics/default_reports/:id','analytics/default_reports/describe','analytics/default_reports/:id/clone','analytics/default_reports/:id/preview','analytics/default_reports/:id/run','analytics/default_reports/:id/query','analyticExtractedReport','analytics/extracted_reports/:id','analytics/extracted_reports/:id/clone','analytics/extracted_reports/:id/download','analytics/metrics/describe','analytics/metrics/:id/clone','analytics/field_reports/:id','analytics/field_reports/describe','analytics/field_reports/:id/clone','analytics/field_reports/create_many','analytics/tree_reports/:id','analytics/tree_reports/:id/clone','intSalesforceAccount','integrations/salesforce/accounts/:id','integrations/salesforce/accounts/describe','integrations/salesforce/accounts/:id/clone','integrations/salesforce/accounts/:id/configurations','intSalesforceConfiguration','integrations/salesforce/configurations/:id','integrations/salesforce/configurations/describe','integrations/salesforce/configurations/:id/clone','integrations/salesforce/configurations/:id/fields','integrations/salesforce/configurations/:id/subjects','integrations/salesforce/configurations/:id/descriptions','intSalesforceField','integrations/salesforce/fields/describe','integrations/salesforce/fields/:id/clone','intSugarcrmAccount','integrations/sugarcrm/accounts/:id','integrations/sugarcrm/accounts/describe','integrations/sugarcrm/accounts/:id/clone','integrations/sugarcrm/accounts/:id/configurations','integrations/sugarcrm/accounts/:id/fields','intSugarcrmConfiguration','integrations/sugarcrm/configurations/describe','integrations/sugarcrm/configurations/:id/clone','integrations/sugarcrm/configurations/:id/fields','integrations/sugarcrm/configurations/:id/subjects','integrations/sugarcrm/configurations/:id/descriptions','intSugarcrmField','integrations/sugarcrm/fields/describe','integrations/sugarcrm/fields/:id/clone','intDeskAccount','integrations/desk/accounts/:id','integrations/desk/accounts/describe','integrations/desk/accounts/:id/configurations','integrations/desk/accounts/:id/fields','intDeskConfiguration','integrations/desk/configurations/describe','integrations/desk/configurations/:id/clone','integrations/desk/configurations/:id/fields','integrations/desk/configurations/:id/subjects','integrations/desk/configurations/:id/descriptions','integrations/desk/configurations/:id/tags','intDeskField','integrations/desk/fields/:id/clone','integrations/zoho/accounts/describe','integrations/zoho/accounts/:id/fields','intZohoConfiguration','integrations/zoho/configurations/describe','integrations/zoho/configurations/:id/clone','integrations/zoho/configurations/:id/descriptions','intZohoField','integrations/zoho/fields/:id','integrations/zoho/fields/:id/clone','integrations/zendesk/accounts/:id','integrations/zendesk/accounts/describe','integrations/zendesk/accounts/:id/configurations','intZendeskConfiguration','integrations/zendesk/configurations/:id/fields','integrations/zendesk/configurations/:id/subjects','integrations/zendesk/configurations/:id/tags','integrations/zendesk/fields/:id','integrations/zendesk/fields/describe','integrations/zendesk/fields/:id/clone','integrations/freshdesk/accounts/:id','integrations/freshdesk/accounts/describe','integrations/freshdesk/accounts/:id/clone','integrations/freshdesk/accounts/:id/configurations','integrations/freshdesk/accounts/:id/fields','intFreshdeskConfiguration','integrations/freshdesk/configurations/:id','integrations/freshdesk/configurations/describe','integrations/freshdesk/configurations/:id/clone','integrations/freshdesk/configurations/:id/fields','integrations/freshdesk/configurations/:id/subjects','integrations/freshdesk/configurations/:id/descriptions','integrations/freshdesk/configurations/:id/tags','intFreshdeskField','integrations/freshdesk/fields/:id','integrations/freshdesk/fields/describe','integrations/freshdesk/fields/:id/clone','intVtigerAccount','integrations/vtiger/accounts/describe','integrations/vtiger/accounts/:id/configurations','intVtigerConfiguration','integrations/vtiger/configurations/describe','integrations/vtiger/configurations/:id/clone','integrations/vtiger/configurations/:id/fields','intVtigerField','integrations/vtiger/fields/:id','integrations/vtiger/fields/describe','integrations/vtiger/fields/:id/clone','intServicenowAccount','integrations/servicenow/accounts/:id','integrations/servicenow/accounts/describe','integrations/servicenow/accounts/:id/clone','integrations/servicenow/accounts/:id/configurations','integrations/servicenow/accounts/:id/fields','intServicenowConfiguration','integrations/servicenow/configurations/:id','integrations/servicenow/configurations/:id/fields','integrations/servicenow/configurations/:id/descriptions','intServicenowField','integrations/servicenow/fields/:id','integrations/servicenow/fields/describe','integrations/servicenow/fields/:id/clone','intDynamics365Account','integrations/dynamics365/accounts/:id/clone','integrations/dynamics365/accounts/:id/configurations','integrations/dynamics365/accounts/:id/fields','intDynamics365Configuration','integrations/dynamics365/configurations/:id','integrations/dynamics365/configurations/describe','integrations/dynamics365/configurations/:id/clone','integrations/dynamics365/configurations/:id/fields','integrations/dynamics365/configurations/:id/subjects','intDynamics365Field','integrations/dynamics365/fields/:id','integrations/dynamics365/fields/describe','integrations/dynamics365/fields/:id/clone','intFreshsalesAccount','integrations/freshsales/accounts/:id','integrations/freshsales/accounts/:id/clone','integrations/freshsales/accounts/:id/configurations','integrations/freshsales/accounts/:id/fields','intFreshsalesConfiguration','integrations/freshsales/configurations/:id','integrations/freshsales/configurations/describe','integrations/freshsales/configurations/:id/clone','integrations/freshsales/configurations/:id/subjects','integrations/freshsales/configurations/:id/fields','intFreshsalesField','integrations/freshsales/fields/:id','integrations/freshsales/fields/describe','integrations/freshsales/fields/:id/clone','networks/:id','networks/describe','networks/:id/clone','chat/reports/queue/:id/clone','chatInternalMessage','chat/internal/messages/:id','chat/internal/messages/describe','chat/internal/messages/:id/clone','chat/internal/messages/users','jscripty/answers/reports/:id','jscripty/answers/reports/describe','jscriptyQuestionReport','jscripty/questions/reports/describe','jscriptySessionReport','smsQueueReport','sms/reports/queue/:id/clone','squareReport','square/reports/:id','square/reports/describe','square/reports/:id/clone','squareReportDetail','square/details/reports/describe','jscriptyProject','jscripty/projects/:id','jscripty/projects/describe','jscripty/projects/:id/clone','jscripty/projects/:id/sessions','jscripty/projects/:id/answers','jscripty/projects/:id/summary','setting','settings/:id','settings/:id/clone','settings/:id/logo','settings/:id/logo_login','settings/:id/gdpr','settings/:id/preferred','settings/:id/favicon','squareOdbc','square/odbc/:id','square/odbc/describe','square/odbc/:id/test','squareProject','square/projects/describe','square/projects/:id/users','squareRecording','square/recordings/:id','square/recordings/describe','square/recordings/:id/clone','square/recordings/:id/download','squareMessage','square/messages/:id','square/messages/describe','square/messages/:id/clone','team','teams/:id','teams/describe','teams/:id/clone','teams/:id/queues','teams/:id/users','license/describe','license/:id/clone','campaign','campaigns/:id','campaigns/describe','campaigns/:id/clone','campaigns/:id/hopper_histories','campaigns/:id/hopper_finals','campaigns/:id/lists','campaigns/:id/blacklists','migration','migrations/describe','attachment','attachments/:id','attachments/describe','attachments/:id/clone','attachments/:id/download','plugin','plugins/:id','plugins/:id/clone','plugins/:id/download','plugins/','plugins/webhook','mailTransferReport','mail/reports/transfer/:id','mail/reports/transfer/describe','mail/reports/transfer/:id/clone','chatTransferReport','chat/reports/transfer/:id','chat/reports/transfer/describe','chat/reports/transfer/:id/clone','faxTransferReport','fax/reports/transfer/describe','fax/reports/transfer/:id/clone','openchannelTransferReport','openchannel/reports/transfer/:id','openchannel/reports/transfer/describe','openchannel/reports/transfer/:id/clone','sms/reports/transfer/:id','sms/reports/transfer/:id/clone','cmList','cm/lists/:id','cm/lists/:id/dispositions','cm/lists/:id/contacts','cm/lists/:id/contacts/csv','cm/lists/:id/users','voicePrefix','voice/prefixes/:id','voice/prefixes/describe','voice/prefixes/:id/clone','voice/prefixes/:id/users','userProfiles/:id','userProfiles/:id/sections','userProfiles/:id/resources','userProfile/sections/:id','userProfile/sections/describe','userProfile/sections/:id/clone','userProfile/resources/describe','notifications/:id','notifications/','whatsappAccount','whatsapp/accounts/:id','whatsapp/accounts/:id/dispositions','whatsapp/accounts/:id/canned_answers','whatsapp/accounts/:id/users','whatsapp/accounts/:id/applications','whatsapp/accounts/:id/notify','whatsapp/accounts/:id/send','whatsappApplication','whatsapp/applications/:id','whatsapp/applications/:id/clone','whatsappInteraction','whatsapp/interactions/:id/clone','whatsapp/interactions/:id/messages','whatsapp/interactions/:id/tags','whatsapp/interactions/:id/download','whatsappMessage','whatsapp/messages/describe','whatsapp/messages/:id/clone','whatsapp/messages/:id/accept','whatsapp/messages/:id/reject','whatsapp/messages/:id/status','whatsapp/reports/queue/:id','whatsapp/reports/queue/describe','whatsapp/reports/queue/:id/clone','whatsappTransferReport','whatsapp/reports/transfer/describe','whatsapp/reports/transfer/:id/clone','whatsappQueue','whatsapp/queues/:id','whatsapp/queues/describe','whatsapp/queues/:id/clone','whatsapp/queues/:id/members','whatsapp/queues/:id/teams','whatsapp/queues/:id/users','cloudProvider','cloudProviders/describe','cloudProviders/:id/clone','$translateProvider','toastyConfigProvider','setConfig','useLoader','$translatePartialLoader','motion.language','use','rtlSupport','rtl','Error','limitObjectFromTo','IndexFactory','dateFilterLocalizationFactory','getTime','DASHBOARDS.YESTERDAY','jan','feb','mar','apr','jun','jul','aug','oct','nov','dec','wed','thu','sat','DASHBOARDS.TODAY','DASHBOARDS.THIS_WEEK','DASHBOARDS.THIS_MONTH','DASHBOARDS.LAST_MONTH','DASHBOARDS.THIS_YEAR','DASHBOARDS.LAST_YEAR','DASHBOARDS.JANUARY','DASHBOARDS.FEBRUARY','DASHBOARDS.JUNE','DASHBOARDS.JULY','DASHBOARDS.AUGUST','DASHBOARDS.SEPTEMBER','DASHBOARDS.DECEMBER','DASHBOARDS.MON','DASHBOARDS.TUE','DASHBOARDS.WED','DASHBOARDS.THU','DASHBOARDS.FRI','DASHBOARDS.SAT','DASHBOARDS.SUN','tail','$urlRouterProvider','html5Mode','otherwise','/dashboards/general','app/navigation/layouts/vertical-navigation/navigation.html','app/header/layouts/vertical-navigation/header.html','app/footer/layouts/vertical-navigation/footer.html','app/core/layouts/vertical-navigation-fullwidth-toolbar.html','app/toolbar/layouts/vertical-navigation-fullwidth-toolbar/toolbar.html','app/core/layouts/vertical-navigation-fullwidth-toolbar-2.html','app/toolbar/layouts/vertical-navigation-fullwidth-toolbar-2/toolbar.html','app/core/layouts/horizontal-navigation.html','app/toolbar/layouts/horizontal-navigation/toolbar.html','app/navigation/layouts/horizontal-navigation/navigation.html','app/core/layouts/content-with-toolbar.html','app/toolbar/layouts/content-with-toolbar/toolbar.html','app','main','toolbar','ToolbarController\x20as\x20vm','NavigationController\x20as\x20vm','app/quick-panel/quick-panel.html','QuickPanelController\x20as\x20vm','header','footer','FooterController\x20as\x20vm','license@get','$transitions','showLoadingIndicator','hideLoadingIndicator','socket','id=','websocket','polling','disconnect','progresslogin','loginOauth','removeCookies','userId','googleSsoEnabled','location','loginSSO','$location','extractedReports','extractedReport','crudPermissions','hasModulePermissions','passwordPattern','securePassword','ANALYTICS.EDIT_EXTRACTEDREPORT','ANALYTICS.NEW_EXTRACTEDREPORT','newExtractedReport','addNewExtractedReport','saveExtractedReport','deleteExtractedReport','getDateFromString','toJSON','\x20has\x20been\x20created!','errors','statusText','api.analyticExtractedReport.save','\x20has\x20been\x20saved!','api.analyticExtractedReport.update','confirm','Are\x20you\x20sure?','content','The\x20extractedReport\x20will\x20be\x20deleted.','ariaLabel','Delete\x20ExtractedReport','Delete','ExtractedReport\x20properly\x20deleted!','\x20has\x20been\x20deleted!','api.analyticExtractedReport.delete','ExtractedReportsController','parseCrudPermissions','table','listOrder','listOrderAsc','editdialog','getExtractedReports','createOrEditExtractedReport','exportSelectedExtractedReports','deleteSelectedExtractedReports','app/main/apps/analytics/views/extractedReports/create/dialog.html','appendChild','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20','startCase','','','\x20will\x20be\x20deleted.','delete\x20extractedReport','CANCEL','vm.query.filter','offset','section','getResources','CreateOrEditExtractedReportDialogController','ExtractedReport','\x20deleted!','SYSTEM:DELETEanalyticExtractedReport','selectedExtractedReports','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20extractedReports?','htmlContent','\x20selected','delete\x20ExtractedReports','targetEvent','metrics','ANALYTICS.EDIT_METRIC','metric','newMetric','report_agent','ANALYTICS.NEW_METRIC','addNewMetric','deleteMetric','analyticMetric','save','Metric\x20properly\x20created','api.analyticMetric.save','Metric\x20properly\x20saved!','api.analyticMetric.update','The\x20metric\x20will\x20be\x20deleted.','Delete\x20Metric','Metric\x20properly\x20deleted!','api.analyticMetric.delete','selectedMetrics','Agent\x20Report','\x27report_agent\x27','Call\x20Report','\x27report_call\x27','\x27cdr\x27','Chat\x20Website','\x27chat_websites\x27','Chat\x20Interaction','\x27chat_interactions\x27','Chat\x20Messages','\x27chat_messages\x27','Chat\x20Offline\x20Messages','Chat\x20Queues','\x27chat_queues\x27','Chat\x20Report\x20Queue','\x27report_chat_queue\x27','Chat\x20Report\x20Transfer','\x27report_chat_transfer\x27','\x27cm_companies\x27','\x27cm_contacts\x27','CSquare\x20Report','\x27report_square\x27','\x27report_square_details\x27','Dial\x20Report','\x27report_dial\x27','Dialer\x20Hopper\x20Processing','Dialer\x20Hopper\x20Logs','\x27cm_hopper_history\x27','Dialer\x20Hopper\x20Final','\x27cm_hopper_final\x27','Email\x20Account','Email\x20Interaction','Email\x20Messages','\x27mail_messages\x27','Email\x20Queues','\x27mail_queues\x27','Email\x20Report\x20Queue','\x27report_mail_queue\x27','Email\x20Report\x20Transfer','\x27report_mail_transfer\x27','Fax\x20Interaction','\x27fax_interactions\x27','Fax\x20Messages','\x27fax_messages\x27','Fax\x20Report\x20Queue','\x27report_fax_queue\x27','Fax\x20Report\x20Transfer','\x27report_jscripty_questions\x27','Jscripty\x20Answers','\x27report_jscripty_answers\x27','\x27cm_lists\x27','\x27report_member\x27','Openchannel\x20Interaction','\x27openchannel_interactions\x27','Openchannel\x20Messages','\x27openchannel_messages\x27','Openchannel\x20Queues','\x27openchannel_queues\x27','Openchannel\x20Report\x20Queue','\x27report_openchannel_queue\x27','Openchannel\x20Report\x20Transfer','\x27report_openchannel_transfer\x27','Queue\x20Report','\x27report_queue\x27','\x27sms_accounts\x27','SMS\x20Interaction','\x27sms_interactions\x27','SMS\x20Messages','\x27sms_messages\x27','SMS\x20Queues','\x27sms_queues\x27','SMS\x20Report\x20Queue','\x27report_sms_queue\x27','SMS\x20Report\x20Transfer','\x27users\x27','Voice\x20Recordings','Whatsapp\x20Account','\x27whatsapp_accounts\x27','Whatsapp\x20Interaction','\x27whatsapp_interactions\x27','Whatsapp\x20Queues','\x27whatsapp_queues\x27','Whatsapp\x20Report\x20Queue','\x27report_whatsapp_queue\x27','Whatsapp\x20Report\x20Transfer','\x27report_whatsapp_transfer\x27','createOrEditMetric','exportSelectedMetrics','deleteSelectedMetrics','deselectMetrics','selectAllMetrics','CreateOrEditMetricDialogController','app/main/apps/analytics/views/metrics/create/dialog.html','delete\x20metric','getMetrics','Metrics','SYSTEM:DELETEanalyticMetric','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20metrics?','delete\x20Metrics','report','treeCustomData','CopyReportDialogController','-copy','treeCustomConfig','treeCtrl:\x20error\x20from\x20js\x20tree\x20-\x20','copyReport','description','Report\x20properly\x20copied!','\x20has\x20been\x20copied!','field,alias,function,format,groupBy,orderBy,custom,MetricId','DefaultReportId','bulkCreate','Fields\x20copied!','currentNode','apiName','describeTable','CreateOrEditReportDialogController','joinTables','ANALYTICS.EDIT_REPORT','reports','newReport','tables','joinTypes','Left\x20Join','right_join','Right\x20Join','cross_join','Cross\x20Join','ANALYTICS.NEW_REPORT','addNewReport','deleteReport','selectedTableChange','getFields','$resolved','selectedItem','foreignKey','Report\x20properly\x20created','api.analyticReport.save','Report\x20properly\x20saved!','api.analyticReport.update','The\x20report\x20will\x20be\x20deleted.','Delete\x20Report','Report\x20properly\x20deleted!','api.analyticReport.delete','getConditions','init','addGroup','deleteConfirm','isValueByCondition','rules','createdAt','SYSTEM:DESCRIBE','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20item?','The\x20item\x20will\x20be\x20deleted.','delete\x20item','IS\x20NULL','IS\x20NOT\x20NULL','IS\x20NOT\x20EMPTY','cmHopperHistory','chatQueueReport','openchannelInteraction','smsMessage','smsTransferReport','faxQueue','faxMessage','describe','reportFields','reportField','sqlUtil','CreateOrEditReportFieldDialogController','newReportField','New\x20Report\x20Field','addNewReportField','saveReportField','deleteReportField','MetricId','CustomReportId','Report\x20field\x20properly\x20created','api.analyticFieldReport.save','Report\x20Field\x20properly\x20saved!','api.analyticFieldReport.update','Report\x20Field\x20properly\x20deleted!','keyBy','formats','getFormats','getGroupBy','orderBy','getOrderBy','selectedReportFields','createdAt,updatedAt,id,field,alias,function,format,groupBy,orderBy,custom,MetricId','sortableTable','addFields','getReportFields','createOrEditReportField','getMetricName','getMetricValue','canEdit','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20field?','delete\x20field','vm_rf.query.filter','app/main/apps/analytics/views/reports/edit/field/dialog.html','Field\x20deleted!','SYSTEM:DELETEFIELD','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20fields?','ANALYTICS.NO_METRIC_FOUND','SUM','SUM\x20(','COUNT\x20(','COUNT\x20DISTINCT','MAX\x20(','MIN','MIN\x20(','AVG\x20(','GROUP_CONCAT','GROUP_CONCAT\x20(','GROUP_CONCAT\x20ASC','\x20ORDER\x20BY\x20','\x20DESC)','SEC_TO_TIME','DATE\x20(','HOUR','HOUR\x20(','ROUND','ROUND\x20(','GROUP\x20BY\x20','ASC','\x20ASC','ORDER\x20BY\x20','\x20DESC','LIKE','NOT\x20LIKE','ReportController','selectedTab','saveReport','previewReport','queryReport','mapArray','Report\x20updated!','\x20has\x20been\x20updated!','SYSTEM:GETreport','preview','SYSTEM:analyticFieldReport','sql','NO\x20QUERY','Loading...','queryResult','PreviewReportDialogController','treeReports','selectedReports','createdAt,updatedAt,id,name,description,table,parent,conditions,joins','currentPath','customTree','previewdialog','rundialog','downloadfile','getReports','importReport','exportSelectedReports','deleteSelectedReports','deselectReports','selectAllReports','tree','treeDefaultConfig','treeDefaultEvents','treeCustomInstance','jstree','app/main/apps/analytics/views/reports/preview/dialog.html','RunReportDialogController','app/main/apps/analytics/views/reports/run/dialog.html','id,name,metric,table','encodeURIComponent','.json','\x20has\x20been\x20downloaded!','SYSTEM:DOWNLOADJSON','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20report?','vm.search','treeDefaultInstance','DefaultReports','CustomReports','resourceId','onload','result','Fields\x20saved!','Fields\x20has\x20been\x20saved!','SYSTEM:GETanalyticReport','Decode\x20File\x20Error','readAsDataURL','file','api.analyticreport.delete','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20reports?','delete\x20Reports','close_all','get_path','deselect_all','get_json','analyticTreeReport','Node\x20Updated','Node\x20has\x20been\x20updated!','dnd','wholerow','ANALYTICS.CREATE','edit','ANALYTICS.RENAME','canDelete','ANALYTICS.REMOVE','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20node?','Node','delete\x20node','get_parent','get_node','delete_node','children_d','SYSTEM:DELETEreportsByParents','export','xlsx','exportDate','startDate','endDate','WebReportDialogController','app/main/apps/analytics/views/reports/run/web/dialog.html','analyticFieldReport@get','Report\x20properly\x20run!','\x20has\x20been\x20run!','odbcs','odbc','CreateOrEditOdbcDialogController','CALLYSQUARE.EDIT_ODBC','newOdbc','addNewOdbc','saveOdbc','deleteOdbc','Odbc\x20properly\x20created','api.squareOdbc.save','Odbc\x20properly\x20saved!','api.squareOdbc.update','The\x20odbc\x20will\x20be\x20deleted.','Delete\x20Odbc','Odbc\x20properly\x20deleted!','api.squareOdbc.delete','OdbcsController','selectedODBC','deleteconfirm','createOrEditOdbc','exportSelectedODBC','deleteSelectedODBC','deselectODBC','selectAllODBC','app/main/apps/callysquare/views/odbcs/create/dialog.html','Square\x20ODBC\x20properly\x20tested','delete\x20odbc','getODBC','Odbc','SYSTEM:DELETEsquareOdbc','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20odbcs?','delete\x20Odbcs','projects','openFromEditor','CreateOrEditSquareProjectDialogController','project','newWindow','newProject','CALLYSQUARE.NEW_PROJECT','saveProject','addSquareProjects','Project\x20properly\x20created','open','/callysquare/projects/','_blank','api.squareProject.save','Project\x20properly\x20saved!','api.squareProject.update','The\x20project\x20will\x20be\x20deleted.','Delete\x20Project','getUsers','Project\x20properly\x20deleted!','api.squareProject.delete','ispeechAsrModel','ispeechAsrLanguage','googleAsrLanguage','googleCloudTtslanguageCode','googleTtsLanguage','users','trunks','sounds','variables','databases','intervals','mailAccounts','cell','awsPollyVoice','awsPollyRegion','smsAccounts','dialogFlowLanguage','awsLexRegion','MxGraphDialogController','file_id','response','variable_id','maxdigit','retry','hiddendigitsnum','trunk_name','phone','context','extension','priority','command','goalname','sip_id','list_id','delay','interval_id','mailbox','project_id','sms_account_id','sms_text','account_id','apiKey','google_cloud_tts_text_type','aws_access_key_id','aws_text_type','grammar','appid','appsecret','findBy','pause_id','dialogflow_language','aws_secret_access_key','aws_lex_region','aws_bot_name','ndauth_url','ndassistant_url','method','cellName','attributes','NO\x20AUTH','yes','Yes','Message','conversationUpdate','Conversation\x20Update','contactRelationUpdate','Contact\x20Relation\x20Update','endOfConversation','End\x20of\x20Conversation','first','First','Last','Wav','gsm','Gsm','BEEP','FEMALE','Female','MALE','Male','Text','ssml','Highest','High','Medium','Low','Lowest','Mobile','GET','PUT','getMap','canSelect','IntervalId','queue_id','template_id','trunk_id','odbc_id','GET_LIST','GET_TRUNK','GET_QUEUE','sound','GET_SOUND','GET_VARIABLE','GET_ODBC','GET_PROJECT','GET_CONTEXT','GET_INTERVAL','GET_SMS_ACCOUNT','GET_TEMPLATE','stringToNumber','ispeechTtsLanguage','English','German','Italian','Spanish','French','Indonesian','Japanese','Dutch','Norwegian','Portuguese\x20(European)','pt-br','Portuguese\x20(Nrazilian)','Ukrainian','zh-CN','zh-HK','Chinese\x20(Traditional)','ar-XA','Czech\x20(Czech\x20Republic)','da-DK','de-DE','Dutch\x20(Netherlands)','el-GR','Greek\x20(Greece)','English\x20(Australian)','en-IN','English\x20(India)','en-GB','English\x20(UK)','English\x20(US)','fi-FI','Filipino\x20(Philippines)','fr-CA','fr-FR','hi-IN','Hindi\x20(India)','hu-HU','Hungarian\x20(Hungary)','id-ID','Indonesian\x20(Indonesia)','Italian\x20(Italy)','ja-JP','Japanese\x20(Japan)','cmn-CN','Norwegian\x20(Norway)','pl-PL','Polish\x20(Poland)','pt-BR','Portuguese\x20(Brazil)','Portuguese\x20(Portugal)','ru-RU','Russian\x20(Russia)','sk-SK','Spanish\x20(Spain)','Swedish\x20(Sweden)','Turkish\x20(Turkey)','uk-UA','Ukrainian\x20(Ukraine)','vi-VN','Vietnamese\x20(Vietnam)','Afrikaans','Albanian','Amharic','Arabic','Armenian','Azerbaijani','Bengali','Bihari','Bosnian','Breton','Bulgarian','zh-TW','Corsican','Croatian','Czech','Danish','Esperanto','Estonian','Faroese','Finnish','Frisian','Georgian','Guarani','Gujarati','xx-hacker','Hacker','Hausa','Hebrew','Hungarian','Icelandic','Interlingua','Irish','Kazakh','Kinyarwanda','Kirundi','xx-klingon','Klingon','Kurdish','Korean','Kyrgyz','Latin','Latvian','Lingala','Lithuanian','Macedonian','Malagasy','Malayalam','Maltese','Maori','Marathi','Moldavian','Mongolian','sr-ME','Montenegrin','Occitan','Oriya','Oromo','Pashto','Persian','xx-pirate','Pirate','Polish','pt-PT','Punjabi','Quechua','Romansh','Scots\x20Gaelic','Serbian','Serbo-Croatian','Sesotho','Sindhi','Sinhalese','Slovak','Slovenian','Somali','Sundanese','Swahili','Tajik','Tatar','Telugu','Thai','Tonga','Turkish','Turkmen','Twi','Uighur','Urdu','Uzbek','Vietnamese','Welsh','Xhosa','Yoruba','Zulu','Afrikaans\x20(South\x20Africa)','Amharic\x20(Ethiopia)','hy-AM','Armenian\x20(Armenia)','az-AZ','Azerbaijani\x20(Azerbaijan)','Bengali\x20(Bangladesh)','bn-IN','Bengali\x20(India)','ca-ES','Catalan\x20(Spain)','Danish\x20(Denmark)','German\x20(Germany)','en-AU','English\x20(Australia)','en-CA','English\x20(Canada)','en-GH','en-IE','en-KE','English\x20(Kenya)','en-NZ','English\x20(New\x20Zealand)','English\x20(Nigeria)','en-PH','English\x20(Philippines)','en-ZA','English\x20(South\x20Africa)','en-TZ','English\x20(United\x20States)','es-AR','Spanish\x20(Argentina)','es-BO','Spanish\x20(Bolivia)','es-CL','Spanish\x20(Chile)','Spanish\x20(Colombia)','es-CR','Spanish\x20(Costa\x20Rica)','es-EC','Spanish\x20(Ecuador)','es-SV','Spanish\x20(El\x20Salvador)','es-ES','es-US','es-GT','Spanish\x20(Guatemala)','es-MX','Spanish\x20(Mexico)','es-NI','Spanish\x20(Nicaragua)','Spanish\x20(Panama)','es-PY','Spanish\x20(Paraguay)','es-PE','Spanish\x20(Peru)','es-DO','Spanish\x20(Dominican\x20Republic)','es-UY','es-VE','Spanish\x20(Venezuela)','eu-ES','fil-PH','French\x20(Canada)','Galician\x20(Spain)','ka-GE','gu-IN','Gujarati\x20(India)','hr-HR','Croatian\x20(Croatia)','zu-ZA','is-IS','Icelandic\x20(Iceland)','it-IT','Javanese\x20(Indonesia)','Khmer\x20(Cambodia)','lo-LA','lv-LV','lt-LT','Lithuanian\x20(Lithuania)','ml-IN','Malayalam\x20(India)','mr-IN','Marathi\x20(India)','nl-NL','ne-NP','nb-NO','Norwegian\x20Bokmal\x20(Norway)','Romanian\x20(Romania)','Sinhala\x20(Srilanka)','Sundanese\x20(Indonesia)','sw-TZ','Swahili\x20(Tanzania)','sw-KE','Finnish\x20(Finland)','sv-SE','Tamil\x20(India)','Tamil\x20(Singapore)','ta-LK','Tamil\x20(Sri\x20Lanka)','Tamil\x20(Malaysia)','Telugu\x20(India)','tr-TR','ur-PK','Urdu\x20(Pakistan)','ur-IN','Urdu\x20(India)','bg-BG','Bulgarian\x20(Bulgaria)','sr-RS','Serbian\x20(Serbia)','he-IL','Hebrew\x20(Israel)','Arabic\x20(Israel)','ar-JO','Arabic\x20(Jordan)','ar-AE','Arabic\x20(United\x20Arab\x20Emirates)','Arabic\x20(Bahrain)','ar-DZ','Arabic\x20(Algeria)','ar-SA','ar-IQ','Arabic\x20(Iraq)','ar-MA','Arabic\x20(Morocco)','ar-TN','Arabic\x20(Tunisia)','ar-PS','ar-QA','Arabic\x20(Qatar)','ar-LB','Arabic\x20(Lebanon)','ar-EG','fa-IR','Persian\x20(Iran)','th-TH','Thai\x20(Thailand)','Korean\x20(South\x20Korea)','cmn-Hant-TW','Chinese,\x20Mandarin\x20(Traditional,\x20Taiwan)','yue-Hant-HK','cmn-Hans-HK','Chinese,\x20Mandarin\x20(Simplified,\x20Hong\x20Kong)','cmn-Hans-CN','usenglishfemale','US\x20English\x20Female','US\x20English\x20Male','ukenglishfemale','UK\x20English\x20Female','ukenglishmale','UK\x20English\x20Male','auenglishfemale','Australian\x20English','usspanishfemale','US\x20Spanish\x20Female','usspanishmale','Chinese\x20Female','Chinese\x20Male','hkchinesefemale','Hong\x20Kong\x20Cantonese\x20Female','twchinesefemale','Taiwan\x20Chinese\x20Female','jpjapanesefemale','Japanese\x20Female','Japanese\x20Male','krkoreanfemale','Korean\x20Female','Korean\x20Male','Canadian\x20English\x20Female','Hungarian\x20Female','brportuguesefemale','eurportuguesefemale','European\x20Portuguese\x20Female','eurportuguesemale','European\x20Portuguese\x20Male','eurspanishfemale','European\x20Spanish\x20Female','eurspanishmale','eurcatalanfemale','European\x20Catalan\x20Female','eurczechfemale','European\x20Czech\x20Female','eurfinnishfemale','eurfrenchfemale','European\x20French\x20Female','eurnorwegianfemale','eurdutchfemale','European\x20Dutch\x20Female','eurpolishfemale','European\x20Polish\x20Female','euritalianfemale','European\x20Italian\x20Female','euritalianmale','European\x20Italian\x20Male','eurturkishfemale','European\x20Turkish\x20Female','eurturkishmale','European\x20Turkish\x20Male','European\x20German\x20Female','eurgermanmale','European\x20German\x20Male','Russian\x20Female','Russian\x20Male','swswedishfemale','Swedish\x20Female','cafrenchmale','Canadian\x20French\x20Male','en-US','Catalan\x20(Catalan)','ko-KR','Korean\x20(Korea)','Chinese\x20(China)','Default','Date','usmoney','US\x20Money','Numbers\x20to\x209','numbersto99','Numbers\x20to\x2099','Numbers\x20to\x20999','time','phonenumber','Phone\x20number','streets','Streets','US\x20City/States','Amy','Amy\x20(English,\x20British,\x20Female)','Astrid','Astrid\x20(Swedish,\x20Female)','Carla','Carmen','Celine\x20(French,\x20Female)','Chantal\x20(French,\x20Canadian,\x20Female)','Cristiano','Cristiano\x20(Portuguese,\x20Male)','Dora','Emma','Enrique','Enrique\x20(Spanish,\x20Castilian,\x20Male)','Ewa','Ewa\x20(Polish,\x20Female)','Filiz','Filiz\x20(Turkish,\x20Female)','Geraint\x20(English,\x20Welsh,\x20Male)','Gwineth','Hans\x20(German,\x20Male)','Ines','Ines\x20(Portuguese,\x20Female)','Ivy','Ivy\x20(English,\x20US,\x20Female)','Jacek','Jacek\x20(Polish,\x20Male)','Jan\x20(Polish,\x20Male)','Joanna','Joanna\x20(English,\x20US,\x20Female)','Joey','Joey\x20(English,\x20US,\x20Male)','Justin','Justin\x20(English,\x20US,\x20Male)','Karl','Kendra','Kendra\x20(English,\x20US,\x20Female)','Kimberly','Kimberly\x20(English,\x20US,\x20Female)','Liv','Liv\x20(Norwegian,\x20Female)','Lotte','Mads','Maja\x20(Polish,\x20Female)','Marlene','Marlene\x20(German,\x20Female)','Mathieu','Mathieu\x20(French,\x20Male)','Maxim','Maxim\x20(Russian,\x20Male)','Miguel','Miguel\x20(Spanish,\x20US,\x20Male)','Mizuki','Naja','Naja\x20(Danish,\x20Female)','Nicole\x20(English,\x20Austrialian,\x20Female)','Penelope','Penelope\x20(Spanish,\x20US,\x20Female)','Raveena','Raveena\x20(English,\x20Indian,\x20Female)','Ricardo','Ricardo\x20(Portuguese,\x20Brazilian,\x20Male)','Ruben','Ruben\x20(Dutch,\x20Male)','Russell','Russell\x20(English,\x20Austrialian,\x20Male)','Salli','Tatyana\x20(Russian,\x20Female)','Vitoria','us-east-2','US\x20East\x20(Ohio)','us-west-1','US\x20West\x20(N.\x20California)','US\x20West\x20(Oregon)','ca-central-1','Canada\x20(Central)','EU\x20(Ireland)','eu-west-2','eu-west-3','EU\x20(Paris)','ap-southeast-1','Asia\x20Pacific\x20(Singapore)','ap-southeast-2','ap-northeast-2','Asia\x20Pacific\x20(Seoul)','ap-northeast-1','Asia\x20Pacific\x20(Tokyo)','Asia\x20Pacific\x20(Mumbai)','sa-east-1','South\x20America\x20(São\x20Paulo)','us-east-1','us-west-2','eu-west-1','Asia\x20Pacific\x20(Sydney)','saveCallback','preproduction','MxGraphImportXMLController','fileAdded','xml','getExtension','The\x20extension\x20','size','The\x20file\x20is\x20too\x20big.\x20The\x20max\x20allowed\x20size\x20is\x20','MxGraphUpdateInfoController','clone','notes','Project\x20updated!','ProjectspermissionaddController','dualMultiselectOptions','penalty','CALLYSQUARE.ALL_USERS','CALLYSQUARE.SELECTED_USERS','removeUsers','addUsers','Project\x20properly\x20','removed','added','Project\x20has\x20been\x20','SYSTEM:squareProjects.ADDUSERS','id,name,fullname,internal','id,fullname,name,internal','differenceBy','MxGraphSaveProjectAsController','_new','queues','templates','ProjectController','openDialog','updateInfo','editXML','importXML','gotoProjects','openString','app/main/apps/callysquare/views/projects/edit/dialog/dialog.html','app/main/apps/callysquare/views/projects/create/dialog.html','MxGraphOpenProjectController','app/main/apps/callysquare/views/projects/edit/open/open.html','app/main/apps/callysquare/views/projects/edit/saveAs/saveAs.html','CreateOrEditVariableDialogController','STAFF.PERMISSIONS_UNAUTHORIZED_REDIRECT_TITLE','STAFF.PERMISSIONS_UNAUTHORIZED_CREATION_MESSAGE','API:NEW_VARIABLE','app/main/apps/callysquare/views/projects/edit/info/info.html','MxGraphEditXMLController','app/main/apps/callysquare/views/projects/edit/edit/edit.html','app/main/apps/callysquare/views/projects/edit/import/import.html','production','Project\x20','published','\x20has\x20been\x20','ProjectsController','selectedProjects','editstate','getProjects','createOrEditProject','deleteProject','exportSelectedProjects','deleteSelectedProjects','deselectProjects','selectAllProjects','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20project?','delete\x20project','Project\x20deleted!','api.project.delete','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20projects?','delete\x20Projects','CreateOrEditSquareRecordingDialogController','CALLYSQUARE.EDIT_SQUARERECORDING','squareRecordings','CALLYSQUARE.NEW_SQUARERECORDING','addNewSquareRecording','saveSquareRecording','api.squareRecording.save','SquareRecording\x20properly\x20saved!','api.squareRecording.update','Delete\x20SquareRecording','SquareRecording\x20properly\x20deleted!','api.squareRecording.delete','SquareRecordingsController','downloadfile2','getSquareRecordings','createOrEditSquareRecording','deleteSquareRecording','deleteSelectedSquareRecordings','delete\x20squareRecording','SquareRecording','SYSTEM:DELETEsquareRecording','selectedSquareRecordings','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20squareRecordings?','chatQueues','ChatQueuesController','selectedChatQueues','\x27beepall\x27','teamadddialog','agentadddialog','gotorealtimegoto','getChatQueues','createOrEditChatQueue','deleteChatQueue','exportSelectedChatQueues','deleteSelectedChatQueues','selectAllChatQueues','ChatQueueteamaddController','app/main/apps/chat/views/chatQueues/edit/teamadd/teamadd.html','ChatQueueagentaddController','app/main/apps/chat/views/chatQueues/edit/agentadd/agentadd.html','chatQueue','delete\x20chatQueue','STAFF.PERMISSIONS_UNAUTHORIZED_REDIRECT_MESSAGE','USERPROFILE:GET_SECTION','CreateOrEditChatQueueDialogController','app/main/apps/chat/views/chatQueues/create/dialog.html','ChatQueue','SYSTEM:DELETEchatQueue','delete\x20ChatQueues','CHAT.EDIT_CHATQUEUE','newChatQueue','beepall','CHAT.NEW_CHATQUEUE','ChatQueue\x20properly\x20created','api.chatQueue.save','ChatQueue\x20properly\x20saved!','api.chatQueue.update','Delete\x20ChatQueue','realtime','allowedItems','startingAllowedItems','saveAgents','CHAT.ALL_AGENTS','startingSelectedItems','SYSTEM:GET_AGENTS','UserChatQueue','id,name,internal,fullname','addAgents','removeAgents','SUCCESS','Agents\x20association\x20has\x20been\x20updated!','pendingChanges','CHAT.SELECTED_TEAMS','xorBy','SYSTEM:GET_TEAMS','getTeams','addTeams','removeTeams','Teams\x20association\x20has\x20been\x20updated!','SYSTEM:LISTS_ASSOCIATION','://','alert','gotoChatQueues','ChatQueue\x20updated!','SYSTEM:GETchatQueue','chatWebsites','selectedChatWebsites','arrayagentIdentifier','WebsiteAlias','\x27website_alias\x27','AgentAlias','\x27agent_alias\x27','\x27agent_fullname\x27','Rounded','Squared','arrayalignment','bottom_right','\x27bottom_right\x27','\x27right\x27','\x27left\x27','arraymessagesAlignment','alternate','\x27alternate\x27','\x27centered\x27','arrayratingType','Star','\x27star\x27','\x27thumb\x27','interactionsgoto','getChatWebsites','createOrEditChatWebsite','deleteChatWebsite','exportSelectedChatWebsites','deleteSelectedChatWebsites','deselectChatWebsites','selectAllChatWebsites','SYSTEM:GET_LISTS','SYSTEM:GET_INTERVAL','SYSTEM:GETinterval','ChatWebsiteagentaddController','app/main/apps/chat/views/chatWebsites/edit/agentadd/agentadd.html','delete\x20chatWebsite','CreateOrEditChatWebsiteDialogController','app/main/apps/chat/views/chatWebsites/create/dialog.html','ChatWebsite','SYSTEM:DELETEchatWebsite','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20chatWebsites?','delete\x20ChatWebsites','CHAT.EDIT_CHATWEBSITE','newChatWebsite','rounded','CHAT.NEW_CHATWEBSITE','ChatWebsiteId','addNewChatWebsite','saveChatWebsite','ChatWebsite\x20properly\x20created','api.chatWebsite.save','api.chatWebsite.update','The\x20chatWebsite\x20will\x20be\x20deleted.','Delete\x20ChatWebsite','ChatWebsite\x20properly\x20deleted!','api.chatWebsite.delete','ChatWebsiteActionsController','chatWebsiteApps','selectedChatWebsiteApps','apps','sortBy','Interval','always','icon-apps','Value','*,*,*,*','Variable','apiselect','variable.name','gotop','goto','gotoif','Condition','truepriority','falsepriority','queue','ChatQueueId','id,name,type','Queue','queue.name','Timeout','UserId','Agent','agents','agent.name','Disposition','autoreply','times','One\x20Time','Always','textarea','TagId','Tag','tag.name','dialogflow','\x27da\x27','\x27en\x27','\x27de\x27','\x27es\x27','\x27id\x27','\x27ja\x27','\x27ko\x27','\x27nl\x27','\x27no\x27','\x27pt\x27','\x27pt-br\x27','Russian','\x27ru\x27','Swedish','\x27sv\x27','\x27zh-CN\x27','Chinese\x20(Hong\x20Kong)','\x27zh-HK\x27','welcomemessage','amazonlex','accesskeyid','secretaccesskey','lexregion','\x27us-east-1\x27','\x27us-west-2\x27','\x27eu-west-1\x27','\x27ap-southeast-2\x27','botname','opt1','getChatWebsiteApps','editChatWebsiteApp','deleteChatWebsiteApp','rewriteRouting','isApp','nolimit','getIntervals','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20application?','delete\x20application','EditChatWebsiteApp','appType','DialogController','app/main/apps/chat/views/chatWebsites/edit/apps/','/dialog.html','SYSTEM:EDITMODALSHOW','app/main/apps/chat/views/chatWebsites/edit/apps/interval/dialog.html','exten','addApplications','getApplications','App\x20deleted!','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20applications?','delete\x20applications','CHAT.SELECTED_AGENTS','UserChatWebsite','getAgents','ngFlowOptions','ngFlow','dropping','upload','fileSuccess','/api/chat/websites/:id/avatar',':id','images','png','jpg','Invalid\x20extension:\x20','Supported\x20extension:\x20','File\x20too\x20big','The\x20max\x20allowed\x20size\x20is\x20','uniqueIdentifier','uploading','image','chatWebsiteApp','EditChatWebsiteAppagentDialogController','appdata','set','callerID','CALLERID(all)=','saveChatWebsiteApp','SYSTEM:GETagents','outboundDial','${EXTEN:','recordingFormat','U(xcally-mixmonitor-context)','EditChatWebsiteAppamazonlexDialogController','CHAT.EDIT_','outbounddial','cutdigits','EditChatWebsiteAppautoreplyDialogController','agi','${EXTEN}','EditChatWebsiteAppdialogflowDialogController','EditChatWebsiteAppgotoifDialogController','EditChatWebsiteAppgotopDialogController','EditChatWebsiteAppintervalDialogController','TOOLS.EDIT_INTERVAL','newInterval','types','daysOfWeek','getMonthNumber','getMonthName','daysOfMonth','setMinutes','setHours','timeRangeTo','dayOfWeekFrom','monthDayFrom','monthDayTo','monthFrom','monthTo','application','addNewInterval','id,name,interval,IntervalId','SYSTEM:GET_INTERVALS','timeRangeFrom','getHours','getMinutes','dayOfWeekTo','Interval\x20properly\x20created','api.interval.save','Interval\x20properly\x20saved!','Interval\x20has\x20been\x20saved!','api.interval.update','EditChatWebsiteAppnoopDialogController','SYSTEM:GET_QUEUES','SYSTEM:GETqueues','capitalize','EditChatWebsiteAppsystemDialogController','SYSTEM:GET_VARIABLES','EditChatWebsiteApptagDialogController','SYSTEM:GETtags','ChatWebsiteChatCannedAnswersController','selectedChatWebsiteChatCannedAnswers','getChatWebsiteChatCannedAnswers','createOrEditChatWebsiteChatCannedAnswer','exportSelectedChatWebsiteChatCannedAnswers','deleteSelectedChatWebsiteChatCannedAnswers','upperFirst','chatCannedAnswer','delete\x20chatCannedAnswer','chatWebsiteChatCannedAnswers','CreateOrEditChatCannedAnswerDialogController','cannedAnswer','ChatCannedAnswer\x20deleted!','delete\x20chatCannedAnswers','chatCannedAnswers','CHAT.EDIT_CHATCANNEDANSWER','newChatCannedAnswer','CHAT.NEW_CHATCANNEDANSWER','addNewChatCannedAnswer','saveChatCannedAnswer','deleteChatCannedAnswer','ChatCannedAnswer\x20properly\x20created','api.cannedAnswer.save','ChatCannedAnswer\x20properly\x20saved!','api.cannedAnswer.update','The\x20chatCannedAnswer\x20will\x20be\x20deleted.','Delete\x20ChatCannedAnswer','api.cannedAnswer.delete','ChatWebsiteChatDispositionsController','selectedChatWebsiteChatDispositions','createOrEditChatWebsiteChatDisposition','deleteChatWebsiteChatDisposition','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20chatDisposition?','chatDisposition\x20#','chatDisposition','delete\x20chatDisposition','chatWebsiteChatDispositions','getDispositions','CreateOrEditChatDispositionDialogController','app/main/apps/chat/views/chatWebsites/edit/chatDispositions/dialog.html','ChatDisposition\x20deleted!','SYSTEM:GETchatWebsite','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20chatDispositions?','CHAT.EDIT_CHATDISPOSITION','newChatDisposition','CHAT.NEW_CHATDISPOSITION','addNewChatDisposition','saveChatDisposition','chatDispositions','ChatDisposition\x20properly\x20created','api.disposition.save','ChatDisposition\x20properly\x20saved!','api.disposition.update','The\x20chatDisposition\x20will\x20be\x20deleted.','ChatDisposition\x20properly\x20deleted!','api.disposition.delete','ChatWebsiteofflineFormController','offlineForm','Label','icon-label','chooseFromList','Select','icon-playlist-plus','Textarea','multipleChoices','Radio\x20Buttons','icon-radiobox-marked','Checkboxes','icon-checkbox-multiple-marked-outline','Agreement','customFields','uselessFields','updatedAt','cf_','fromKey','The\x20component\x20will\x20be\x20deleted.','ChatWebsiteonlineFormController','onlineForm','input','icon-format-text','checkboxes','agreement','Lucky\x20day','ChatWebsitecustomerAvatarController','opts','XMLHttpRequest','chatWebsiteInteractions','selectedChatWebsiteInteractions','-createdAt','chatInteractionDownload','getChatWebsiteInteractions','createOrEditChatWebsiteInteraction','spychatInteraction','deleteChatWebsiteInteraction','deleteSelectedChatWebsiteInteractions','quickFilters','DASHBOARDS.SELECT_DATE','Messages','DASHBOARDS.SELECT_READ_UNREAD','DASHBOARDS.UNREAD','DASHBOARDS.READ','Status','DASHBOARDS.SELECT_STATUS','DASHBOARDS.OPENED','DASHBOARDS.CLOSED','DASHBOARDS.SELECT_AGENT','DASHBOARDS.NOT_ASSIGNED','DASHBOARDS.SELECT_TAG','DASHBOARDS.TAGS','Contact','lastName','email','Subject','subject','Body','plainBody','User','id,name,fullname','Start\x20Date','Read','unreadMessages','app/core/dialogs/advanced-search/dialog.html','chat.chatWebsites','ERROR','interaction','chat-interaction','.zip','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20interaction?','interaction\x20#','delete\x20interaction','Owner','CreateOrEditInteractionDialogController','AgentGeneralInteractionController','app/main/apps/dashboards/views/general/agent/interaction/agent.general.interaction.dialog.html','Interaction\x20deleted!','delete\x20interactions','contactName','DASHBOARDS.UNKNOWN','vm_dc.query.filter','ChatWebsitelogoController','/api/chat/websites/:id/logo','ChatWebsiteOfflineMessagesController','createdAt,updatedAt,id,Contact.firstName','getChatWebsiteOfflineMessages','createOrEditChatWebsiteOfflineMessage','exportSelectedChatWebsiteOfflineMessages','deleteChatWebsiteOfflineMessage','deleteSelectedChatWebsiteOfflineMessages','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20offlineMessage?','delete\x20offlineMessage','CreateOrEditOfflineMessageDialogController','app/main/apps/chat/views/chatWebsites/edit/offlineMessages/dialog.html','chatWebsiteOfflineMessages','chatOfflineMessage@get','id,body','selectedChatWebsiteOfflineMessages','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20offlineMessages?','delete\x20offlineMessages','ShowOfflineMessageOfflineMessageDialogController','CHAT.OFFLINE_MESSAGE','ChatWebsiteProactiveActionsController','chatWebsiteProactiveActions','selectedChatWebsiteProactiveActions','createdAt,updatedAt,id,name,type,selector,timeout','arraytype','MouseOver','\x27mouseOver\x27','\x27timeout\x27','getChatWebsiteProactiveActions','createOrEditChatWebsiteChatProactiveAction','deleteChatWebsiteChatProactiveAction','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20chatProactiveAction?','chatProactiveAction\x20#','getProactiveActions','CreateOrEditChatProactiveActionDialogController','app/main/apps/chat/views/chatWebsites/edit/proactive/dialog.html','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20proactive?','delete\x20proactive','proactive','CHAT.EDIT_CHATPROACTIVEACTION','newChatProactiveAction','mouseOver','CHAT.NEW_CHATPROACTIVEACTION','addNewChatProactiveAction','deleteChatProactiveAction','api.chatProactiveAction.save','api.chatProactiveAction.update','The\x20chatProactiveAction\x20will\x20be\x20deleted.','Delete\x20ChatProactiveAction','ChatProactiveAction\x20properly\x20deleted!','api.chatProactiveAction.delete','ChatWebsiteScriptController','\x0a','\x0a\x20\x20\x20\x20','end','vm_ac.chatWebsite.remote','ChatWebsitesystemAvatarController','gotoChatWebsites','SYSTEM:GETlists','name,id','pauses','SYSTEM:GET_PAUSES','app.chat.chatWebsites','ChatWebsite\x20updated!','rpcAgents','userpic','online','lastLoginAt','lastPauseAt','address','chatPause','openchannelPause','smsPause','whatsappPause','faxPause','chatCapacity','openchannelCapacity','mailCapacity','smsCapacity','faxCapacity','openchannelCurrentCapacity','mailCurrentCapacity','whatsappCurrentCapacity','faxCurrentCapacity','chatStatus','openchannelStatus','mailStatus','whatsappStatus','faxStatus','voiceStatus','chatStatusTime','openchannelStatusTime','mailStatusTime','smsStatusTime','voiceStatusTime','destconnectedlinenum','screenrecording','phoneBarEnableScreenRecordingByAgent','phoneBarEnableAutomaticScreenRecording','inuse','busy','onhold','not_inuse','paginatedAgents','order','agentInternal','queueAdd','unPause','getAgentStatus','getAgentGlobalStatus','isPause','checkPause','isPartialPause','onSave','onComplete','screenRecording','user:save','user:update','onUpdate','user:agentconnect','onConnect','user:agentcomplete','filteredAgents','globalStatusTime','toNumber','globalStatus','globalStatusFilter','pauseTypeFilter','pauseType','destaccountcode','Agent\x20logout','\x20\x20properly\x20logout','api.staff.save','clickOutsideToClose','Legend','app/main/apps/staff/views/agents/edit/queueadd/queueadd.html','*pause','unavailable','idle','Pause','max','whatsappStatusTime','faxStatusTime','startsWith','desc','asc','api.user.update','rpcQueues','loggedIn','available','pTalking','originated','dialMethod','Trunk','getQueues','updateQueue','onSaveMember','onRemoveMember','onPause','onLogout','forIn','chat_queue:save','userChatQueue:save','userVoiceQueue:save','onLogin','paused','loggedInDb','getMembers','unpause','onLogged','Queue\x20properly\x20updated!','userChatQueue:remove','green-300-fg\x20icon-checkbox-marked-circle','red-300-fg\x20icon-close-circle','grey-fg\x20icon-phone-hangup','green-300-fg\x20icon-phone-hangup','red-300-fg\x20icon-phone-in-talk','blue-300-fg\x20icon-phone-incoming','blue-300-fg\x20icon-phone-paused','green-300-fg\x20icon-phone-in-talk','red-300-fg\x20icon-phone-hangup','blue-300-fg\x20icon-phone-outgoing','ChatRealtimeController','vm.selectedTab','companies','CompaniesController','selectedCompanies','gotocontactsgoto','getCompanies','createOrEditCompany','deleteCompany','deleteSelectedCompanies','deselectCompanies','selectAllCompanies','company','delete\x20company','CreateOrEditCompanyDialogController','app/main/apps/contactmanager/views/companies/create/dialog.html','Company','SYSTEM:DELETEcmCompany','delete\x20Companys','CONTACTMANAGER.EDIT_COMPANY','newCompany','CONTACTMANAGER.NEW_COMPANY','addNewCompany','api.cmCompany.save','Company\x20properly\x20saved!','api.cmCompany.update','The\x20company\x20will\x20be\x20deleted.','Delete\x20Company','Company\x20properly\x20deleted!','tab','gotogoto','gotoCompanies','saveCompany','SYSTEM:GETcmCompany','contacts','listsMap','companiesMap','ContactsController','cm_contacts','selectedContacts','selectedTags','selectedList','getAssignedCompanies','mergeContact','duplicateContact','createOrEditContact','exportSelectedContacts','deleteSelectedContacts','deselectContacts','selectAllContacts','createTag','createCompany','importContacts','CompanyId','selectedCompany','tooltipVisible','uniqBy','assignIn','GET_COMPANY','What\x20would\x20you\x20name\x20your\x20list?','List\x20name','Error\x20creating\x20list!','Invalid\x20list\x20name.','List\x20properly\x20created!','What\x20would\x20you\x20name\x20your\x20company?','Company\x20name','Error\x20creating\x20company!','Invalid\x20company\x20name.','Company\x20properly\x20created!','What\x20would\x20you\x20name\x20your\x20tag?','Error\x20creating\x20tag!','Tag\x20properly\x20created!','app/main/apps/contactmanager/views/contacts/import/import.html','getContacts','app.contactmanager.contacts.edit','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20contact?','firstName','delete\x20contact','vm.selectedList','vm.selectedCompany','vm.selectedTags','CreateOrEditContactDialogController','app/main/apps/contactmanager/views/contacts/create/dialog.html','DuplicateContactDialogController','app/main/apps/contactmanager/views/contacts/duplicate/dialog.html','MergeContactDialogController','Contact\x20deleted!','api.contact.delete','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20contacts?','CONTACTMANAGER.EDIT_CONTACT','newContact','List','addNewContact','saveContact','deleteContact','getCustomFields','Contact\x20properly\x20created','api.user.save','api.contacts.save','Contact\x20properly\x20saved!','api.contact.update','The\x20contact\x20will\x20be\x20deleted.','Delete\x20Contact','CONTACTMANAGER.COPY_CONTACT','hoppers','EditHopperDialogController','CONTACTMANAGER.EDIT_HOPPER','hopper','newHopper','saveHopper','Hopper\x20properly\x20saved!','api.cmHopper.update','The\x20hopper\x20will\x20be\x20deleted.','Hopper\x20properly\x20deleted!','api.cmHopper.delete','jscriptySessions','journey','finals','timelineOptions','#interaction-content','firstDayMonth','arraypriority','\x274\x27','\x273\x27','\x272\x27','\x271\x27','-id','queryHistory','queryJscriptySession','id,starttime,endtime,membername,projectname','gotoContacts','editCompany','onSelectList','getHoppers','getFinals','getHistories','editHopper','createOrEditIvrCampaignHopper','getColorByItem','vm.queryHopper.filter','queryHopper','vm.queryFinal.filter','queryFinal','vm.queryHistory.filter','green-A700','orange','amber-A200','blue-grey-A200','FaxAccountId','OpenchannelAccountId','SmsAccountId','MailAccountId','amaflags','id,fullname','Interaction','CreateOrEditHopperVoiceQueueIdDialogController','app/main/apps/motiondialer/views/queueCampaigns/edit/hoppers/dialog.html','CreateOrEditHopperCampaignIdDialogController','app/main/apps/motiondialer/views/ivrCampaigns/edit/hoppers/dialog.html','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20agent?','SYSTEM:DELETEhopper','getHopperFinals','getHopperHistories','histories','getJscriptySessions','You\x20are\x20selecting\x20the\x20list\x20number:\x20','onSelectListSuccess','Contact\x20updated!','setTags','SYSTEM:UPDATEcontact','ImportContactsDialogController','processing','pid','contactFields','country','city','street','motionBullFields','scheduledat','binding','duplicate','onChangeList','uploadCsv','getHeaderErrors','getArrayErrors','stopUpload','unix','contact:import:','duplicates','stopping','Import\x20process\x20failed!','finish','affectedRows','failedRows','elapsed','row','contact_import_error','killProcess','Import\x20has\x20been\x20stopped!','pid\x20is\x20unknown','CONTACTMANAGER.MERGE_CONTACT','change','searchTerm','showConfirm','Would\x20you\x20like\x20to\x20merge\x20your\x20contacs?','All\x20unfilled\x20values\x20of\x20the\x20contact\x20#','\x20will\x20be\x20overwritten\x20by\x20the\x20fields\x20of\x20the\x20contact\x20#','Contact\x20properly\x20merged!','globalCustomFields','CreateOrEditGlobalCustomFieldDialogController','CONTACTMANAGER.EDIT_GLOBALCUSTOMFIELD','sortable','globalCustomFieldForm','$pristine','globalCustomField','CONTACTMANAGER.NEW_GLOBALCUSTOMFIELD','newGlobalCustomField','vm.globalCustomField.type','addNewGlobalCustomField','saveGlobalCustomField','addItem','removeItems','New\x20Item','GlobalCustomField\x20properly\x20created','api.cmCustomField.save','GlobalCustomField\x20properly\x20saved!','api.cmCustomField.update','The\x20globalCustomField\x20will\x20be\x20deleted.','Delete\x20GlobalCustomField','GlobalCustomField\x20properly\x20deleted!','api.cmCustomField.delete','\x27text\x27','\x27select\x27','Number','\x27number\x27','Switch','createOrEditGlobalCustomField','deleteGlobalCustomField','exportSelectedGlobalCustomFields','deselectGlobalCustomFields','selectAllGlobalCustomFields','app/main/apps/contactmanager/views/globalCustomFields/create/dialog.html','delete\x20globalCustomField','getGlobalCustomFields','GlobalCustomFields','GlobalCustomField','SYSTEM:DELETEcmCustomField','selectedGlobalCustomFields','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20globalCustomFields?','delete\x20GlobalCustomFields','newList','CONTACTMANAGER.NEW_LIST','addNewList','saveList','deleteList','List\x20properly\x20created','api.cmList.save','List\x20properly\x20saved!','api.cmList.update','The\x20list\x20will\x20be\x20deleted.','List\x20properly\x20deleted!','api.cmList.delete','CONTACTMANAGER.ALL_AGENTS','UserList','penalty\x20','ListCustomFieldsController','selectedListCustomFields','createdAt,updatedAt,id,alias,type,values,required','\x27switch\x27','\x27datetime\x27','getListCustomFields','createOrEditListCustomField','exportSelectedListCustomFields','deleteListCustomField','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20customField?','customField','delete\x20customField','CreateOrEditCustomFieldDialogController','app/main/apps/contactmanager/views/lists/edit/customFields/dialog.html','listCustomFields','CustomField\x20deleted!','SYSTEM:GETcmList','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20customFields?','delete\x20customFields','CONTACTMANAGER.EDIT_CUSTOMFIELD','customFieldForm','newCustomField','CONTACTMANAGER.NEW_CUSTOMFIELD','addNewCustomField','deleteCustomField','addCustomField','CustomField\x20properly\x20created','CustomField\x20properly\x20saved!','The\x20customField\x20will\x20be\x20deleted.','Delete\x20CustomField','CustomField\x20properly\x20deleted!','ListController','gotoLists','ListagentaddController','app/main/apps/contactmanager/views/lists/edit/agentadd/agentadd.html','List\x20updated!','ListVoiceDispositionsController','listVoiceDispositions','selectedListVoiceDispositions','getListVoiceDispositions','exportSelectedListVoiceDispositions','deleteSelectedListVoiceDispositions','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20voiceDisposition?','voiceDisposition\x20#','voiceDisposition','delete\x20voiceDisposition','CreateOrEditVoiceDispositionDialogController','app/main/apps/contactmanager/views/lists/edit/voiceDispositions/dialog.html','VoiceDisposition\x20deleted!','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20voiceDispositions?','delete\x20voiceDispositions','voiceDispositions','CONTACTMANAGER.EDIT_VOICEDISPOSITION','newVoiceDisposition','addNewVoiceDisposition','saveVoiceDisposition','deleteVoiceDisposition','VoiceDisposition\x20properly\x20created','VoiceDisposition\x20properly\x20saved!','The\x20voiceDisposition\x20will\x20be\x20deleted.','Delete\x20VoiceDisposition','VoiceDisposition\x20properly\x20deleted!','ListsController','selectedLists','exportcsvcontactsexport','getLists','createOrEditList','exportSelectedLists','deleteSelectedLists','deselectLists','selectAllLists','getContactsCsv','exportContacts_','EXPORT','The\x20list\x20is\x20empty','delete\x20list','CreateOrEditListDialogController','app/main/apps/contactmanager/views/lists/create/dialog.html','SYSTEM:DELETEcmList','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20lists?','customDashboard','onWithoutApply','draggable','resizable','getItems','templateUrl','app/core/directives/ms-widget-engine/ms-widget-engine-','/ms-widget-engine.','.html','widgets','voice_queue:save','globalLists','globalCompanies','globalTags','desktopNotification','AgentDashboardGeneralController','draftManager','currentTab','notifications','tabs','agentCapacity','globalUserLists','onContactManager','onJscripty','onBot','onBrowserUrl','onBrowserPopup','onNotificationSave','onNotificationRemove','onClickTab','isActiveTab','alreadyExistsTab','addInteractionTab','addTab','removeTab','trigger:contactmanager','trigger:jscripty','trigger:bot','trigger:browser:popup','notification:save','notification:remove','onVoiceChannelRemove','voice_outbound_channel:remove','channel','icon','autoCreate','saved','WhatsappAccountId','draft','capacity','closed','isEqual','setAgentCapacity','Are\x20you\x20sure\x20want\x20to\x20close\x20the\x20','The\x20','YES','mandatoryDisposition','Warning','_options','There\x20is\x20a\x20call\x20that\x20hasn\x27t\x20been\x20disposed\x20yet.','mailPause','Account','DisposeInteractionDialogController','app/main/apps/dashboards/views/general/agent/interaction/dispose/dialog.html','Interactions','openedAt','interactionId','icon-hangouts','icon-message-text','icon-google-earth','icon-deskphone','icon-whatsapp','lime-A700','DASHBOARDS.NEW_CONTACT','xmd-cdrtype','dialer','agentcalledAt','answeredAt','agentcompleteAt','endtime','disposedAt','dispositions','isDraft','width=','windowWidth','800',',height=','windowHeight','iframe','popup','calleridnum','icon-tablet','../../../../../../../assets/images/avatars/customer.png','Queue:\x20','isSupported','Please\x20enable\x20browser\x20notifications!','Browser\x20notifications\x20are\x20not\x20supported\x20by\x20the\x20browser.\x20Normal\x20notifications\x20will\x20be\x20used.','badges','wait','msg','shake','Message\x20properly\x20rejected!','calleridname','','xmd-contactid','xmd-listid','routeId','destcalleridnum','destcalleridname','addContactTab','formData','render','icon-script','bot','fas\x20fa-robot','onVoiceChannelRemove\x20->\x20evt','onVoiceChannelRemove\x20->\x20\x20key,\x20tab,\x20tab.calls','Call\x20%s\x20not\x20found\x20or\x20already\x20completed','DASHBOARDS.ATTENTION','DASHBOARDS.ACCEPT_ELSEWHERE','api.openchannelMessage.accept','trigger:browser:url','voice_queue_channel:remove','drafts','getByInteraction','removeByInteraction','DASHBOARDS.UNTITLED','account','Draft','motion2.home:','currentSidebarTab','motion2.home.','PERMISSIONS','granted','denied','mozNotification','webkitNotification','GRANTED','DENIED','permission','Notification\x20API\x20not\x20supported','duration','autoClose','onClick','focus','closeOnClick','showOnPageHidden','path\x20must\x20be\x20a\x20string\x20(eg.\x20`dashboard.project`)','messages','showInteraction','getMessagesAlignment','messagesAlignment','out-left-aligned','AgentGeneralContactController','id,phone,scheduledat','lastDayMonth','disposeCall','addJscriptyTab','getJscriptyProjects','getMailAccounts','getFaxAccounts','getSmsAccounts','getWhatsappAccounts','getOpenchannelAccounts','composeInteraction','openInteraction','faxAccounts','openchannelAccounts','whatsappAccounts','chatAccounts','ERROR\x20OPEN\x20INTERACTION','Customer\x20Journey\x20can\x27t\x20open\x20the\x20interaction','blue-A700','$watchGroup','vm.detailForm.$pristine','vm.customFieldsForm.$pristine','usersMap','addContacts','userLists','getTags','Compose','app/main/apps/dashboards/views/general/agent/interaction/compose','new','Mail','attachments','Message\x20properly\x20sent!','Message\x20has\x20been\x20sent!','ACCOUNT:SEND','customFieldsForm','api.contact.save','updateLocalStorage','detailForm','queryHistory.filter','ContactId','api.jscripty.account','api.mail.account','api.fax.account','api.sms.account','api.whatsapp.account','api.openchannel.account','api.chatAccounts.account','app/main/apps/contactmanager/views/contacts/merge/dialog.html','ATTENTION','Please\x20save\x20the\x20contact\x20before\x20disposing!','app/main/apps/dashboards/views/general/agent/contact/dispose/dialog.html','BLACKLIST','DASHBOARDS.CALL_DISPOSED','RECALLME','RESCHEDULE','DASHBOARDS.CALL_SAVED','LIST:GETCustomFields','ERROR\x20OPENING\x20JSCRIPTY\x20PROJECT','The\x20project\x20cannot\x20be\x20started','globalDispositions','choice','isReschedule','recallme','queueCampaign','note','dialerCall','hasBlackLists','xmd-voicequeueid','getBlackLists','id,name,dialActive','queueCampaigns','saveDisposition','saveReschedule','amd','SYSTEM:UPDATEVOICECALLREPORT','SYSTEM:UPDATEVOICERECORDING','SYSTEM:UPDATECMHOPPERFINAL','SYSTEM:UPDATECMHOPPERHISTORY','DASHBOARDS.INFO','SYSTEM:UPDATEBLACKLIST','blacklist','reschedule','disable','dateTime','DASHBOARDS.RESCHEDULE','saveDialog','DASHBOARDS.RECALLME','AgentHomeAbandonedController','AgentHomeAbandonedBullController','showTooltip','id,type,calleridnum,calleridname,queue,queuecallerabandonAt,queuecallerexitAt,queuecallerexitreason,assigned,lastAssignedTo,updatedAt,disposition','TIMEOUT','ABANDONED','refreshAbandonedCalls','reserved','webcall','webtransfer','onSearchBarCollapse','onSearchBarExpand','voiceQueueReport:update','queuesMap','defaultQueues','motion2.home.abandoned.bull.calls:','getAbandonedCalls','DASHBOARDS.ME','\x27null\x27','DASHBOARDS.SELECT_CAMPAIGN','abandonedCalls','isSearchBarVisible','vm_bull.query.filter','assigned','voiceQueueReport:save','motion2.home.abandoned.voice.calls:','DASHBOARDS.SELECT_QUEUE','vm_voice.query.filter','msNavigationAgentService','AgentGeneralHomeController','changeSidebarTab','sidebar','view','pluginId','AgentHomeChatController','id,firstName,lastName,email','customerIp','Website','sectionColor','getChatInteractions','showChatInteraction','downloadChatInteraction','disposeInteraction','getContactLabel','getAgentLabel','getChatWebsiteLabel','openAdvancedSearch','motion2.home.chat:','take','lastMessage','chatInteraction:save','chatInteraction:update','chatInteractionTags:save','chatMessage:save','chatMessage:update','user_has_chat_interactions:save','user_has_chat_interactions:remove','read','DASHBOARDS.SELECT_ACCOUNT','chatInteractions','searchInProgress','ChatInteractionId','trimStart','secret','home.chat','AgentHomeContactsController','red','refreshContacts','openContact','id,name,dialPrefix','CONTACTMANAGER.SELECT_LIST','motion2.home.contacts:','DESCRIBE_CM_CONTACTS','columnName','switch','DASHBOARDS.ENABLED','AgentHomeDashboardController','AgentHomeDashboardBullController','dialActive','voiceQueuesTotal','rpcVoiceQueues','getVoiceQueues','deleteVoiceQueuesChannels','id,name,type,dialMethod,dialActive','queryChannels','getSize','onSaveChannel','onUserVoiceQueue','onSaveVoiceQueue','onUpdateVoiceQueue','onSaveQueue','voice_queue_channel:save','userVoiceQueue:remove','voiceQueue:save','voiceQueue:remove','onRemoveVoiceQueue','voiceQueue:update','getVoiceQueuesChannels','rpcVoiceQueuesChannels','addVoiceQueuesChannels','queuecallerleaveAt','toInteger','AgentHomeDashboardMultiChannelChatController','mapAgentsId','rpcChatQueues','paginatedInteractions','deleteChatQueuesWaitingInteractions','rpcChatQueuesWaitingInteractions','id,name,mapAgentsId,waiting','paginate','onSaveChatQueue','onUpdateChatQueue','onSaveUserChatQueue','onRemoveUserChatQueue','onSaveChatQueueChannel','onRemoveChatQueueChannel','chatQueue:save','chatQueue:update','chatQueue:remove','chat_queue_waiting_interaction:save','chat_queue_waiting_interaction:remove','myQueues','getChatQueuesWaitingInteractions','joinAt','interactions','drop','teal-bg','lime-A700-bg','amber-A200-bg','blue-grey-A200-bg','white-bg','faxQueues','rpcFaxQueues','deleteFaxQueuesWaitingInteractions','getFaxQueues','getColorByChannel','onSaveUserFaxQueue','onRemoveFaxQueueChannel','fax_queue:save','onSaveFaxQueue','onUpdateFaxQueue','faxQueue:remove','onRemoveFaxQueue','userFaxQueue:save','userFaxQueue:remove','fax_queue_waiting_interaction:save','onSaveFaxQueueChannel','fax_queue_waiting_interaction:remove','getFaxQueuesWaitingInteractions','rpcFaxQueuesWaitingInteractions','faxQueuesTotal','green-A700-bg','orange-bg','faxQueue:save','mailQueues','rpcMailQueues','deleteMailQueuesWaitingInteractions','getMailQueues','onRemoveMailQueue','onSaveUserMailQueue','onSaveMailQueueChannel','onRemoveMailQueueChannel','mail_queue:save','onSaveMailQueue','mailQueue:update','onUpdateMailQueue','mailQueue:remove','userMailQueue:save','userMailQueue:remove','onRemoveUserMailQueue','mail_queue_waiting_interaction:save','getMailQueuesWaitingInteractions','rpcMailQueuesWaitingInteractions','mailQueuesTotal','mailQueue:save','mail_queue_waiting_interaction:remove','AgentHomeDashboardMultiChannelOpenchannelController','openchannelQueues','openchannelQueuesTotal','rpcOpenchannelQueues','deleteOpenchannelQueuesWaitingInteractions','rpcOpenchannelQueuesWaitingInteractions','getOpenchannelQueues','onSaveOpenchannelQueue','onUpdateOpenchannelQueue','onRemoveOpenchannelQueue','onSaveUserOpenchannelQueue','onRemoveUserOpenchannelQueue','onRemoveOpenchannelQueueChannel','openchannel_queue:save','openchannelQueue:save','openchannelQueue:remove','userOpenchannelQueue:remove','openchannel_queue_waiting_interaction:save','onSaveOpenchannelQueueChannel','openchannel_queue_waiting_interaction:remove','getOpenchannelQueuesWaitingInteractions','openchannelQueue:update','userOpenchannelQueue:save','AgentHomeDashboardMultiChannelSmsController','smsQueues','smsQueuesTotal','rpcSmsQueues','deleteSmsQueuesWaitingInteractions','rpcSmsQueuesWaitingInteractions','getSmsQueues','onUpdateSmsQueue','onRemoveSmsQueue','onSaveUserSmsQueue','onRemoveUserSmsQueue','onSaveSmsQueueChannel','onRemoveSmsQueueChannel','smsQueue:save','smsQueue:update','smsQueue:remove','userSmsQueue:save','userSmsQueue:remove','sms_queue_waiting_interaction:save','sms_queue_waiting_interaction:remove','AgentHomeDashboardVoiceController','rpcWhatsappQueues','getWhatsappQueues','onSaveWhatsappQueue','onUpdateWhatsappQueue','onRemoveWhatsappQueue','onRemoveUserWhatsappQueue','onRemoveWhatsappQueueChannel','whatsappQueue:update','whatsappQueue:remove','userWhatsappQueue:remove','whatsapp_queue_waiting_interaction:save','onSaveWhatsappQueueChannel','whatsapp_queue_waiting_interaction:remove','getWhatsappQueuesWaitingInteractions','rpcWhatsappQueuesWaitingInteractions','deleteWhatsappQueuesWaitingInteractions','whatsappQueues','whatsapp_queue:save','whatsappQueue:save','userWhatsappQueue:save','AgentHomeFaxController','faxInteractions','getFaxAccountLabel','composeFaxInteraction','motion2.home.fax:','faxInteraction:save','faxInteraction:update','faxInteractionTags:save','faxMessage:save','user_has_fax_interactions:save','user_has_fax_interactions:remove','fax-interaction','downloadFaxInteraction','contactInfo','ComposeFaxInteractionDialogController','app/main/apps/dashboards/views/general/agent/interaction/composeFax/dialog.html','savedAsDraft','FAX:SEND','FaxInteractionId','home.fax','AgentHomeMailController','mailInteractions','Substatus','mailSubstatus','showMailInteraction','downloadMailInteraction','getMailAccountLabel','subStatuses','includeAll','mailInteraction:save','mailInteractionTags:save','mailMessage:save','mailMessage:update','user_has_mail_interactions:save','user_has_mail_interactions:remove','substatus','DASHBOARDS.SELECT_SUBSTATUS','motion2.home.mail:','mail-interaction','ComposeMailInteractionDialogController','app/main/apps/dashboards/views/general/agent/interaction/composeMail/dialog.html','MAILACCOUNT:SEND','MailInteractionId','mailInteraction:update','AgentHomeMyContactsController','motion2.home.mycontacts:','advancedQuery','displayName','DASHBOARDS.DISABLED','datetime','int','home.mycontacts','AgentHomeOpenchannelController','openchannelInteractions','amber','getOpenchannelInteractions','showOpenchannelInteraction','downloadOpenchannelInteraction','getOpenchannelAccountLabel','composeOpenchannelInteraction','openOpenchannelDraft','motion2.home.openchannel:','openchannelInteraction:save','openchannelInteractionTags:save','openchannelMessage:update','user_has_openchannel_interactions:remove','openchannel-interaction','OPENCHANNELACCOUNT:SEND','ComposeOpenchannelInteractionDialogController','OpenchannelInteractionId','home.openchannel','openchannelMessage:save','openchannelInteraction:update','user_has_openchannel_interactions:save','AgentHomePluginsController','getTrustedURL','agentUrl','pluginUpdated','AgentHomeRecordingsController','voiceRecordings','createdAt,updatedAt,id,format,value,type,uniqueid,calleridnum,exten,connectedlinenum,queue,rating,audio,transcribeStatus,UserId','downloadtranscribe','getVoiceRecordings','motion2.home.recordings:','createdAt,updatedAt,id,format,value,type,uniqueid,calleridnum,exten,connectedlinenum,queue,rating,audio,transcribestatus,UserId','SYSTEM:GETvoiceRecording','downloadTranscribe','VOICE.SELECT_TYPE','VOICE.INTERNAL','VOICE.OUTBOUND','VOICE.DIALER','VOICE.ALL','AgentHomeScheduledCallsController','priorities','scheduledCalls','id,phone,scheduledat,recallme,priority,UserId,OwnerId','getScheduledCalls','createOrEditQueueCampaignHopper','motion2.home.scheduled:','VoiceQueueId','MOTIONDIALER.SELECT_CAMPAIGN','Scheduled\x20call\x20deleted!','Scheduled\x20call\x20has\x20been\x20deleted!','SYSTEM:DELETE_HOPPER','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20scheduled\x20call?','Scheduled\x20call','isBefore','AgentHomeSmsController','smsInteractions','downloadSmsInteraction','motion2.home.sms:','smsInteraction:save','smsInteraction:update','smsInteractionTags:save','smsMessage:save','user_has_sms_interactions:save','user_has_sms_interactions:remove','sms-interaction','ComposeSmsInteractionDialogController','app/main/apps/dashboards/views/general/agent/interaction/composeSms/dialog.html','SMSACCOUNT:SEND','SmsInteractionId','home.sms','smsMessage:update','AgentHomeVoiceController','voiceCalls','id,type,uniqueid,tag,starttime,endtime,source,destination,userDisposition,note,duration,billableseconds,answertime','showDetails','Init\x20error','Type','VOICE.INBOUND','AgentHomeVoiceDetailsController','app/main/apps/dashboards/views/general/agent/home/voice/details/dialog.html','AgentHomeWhatsappController','getWhatsappInteractions','showWhatsappInteraction','downloadWhatsappInteraction','getWhatsappAccountLabel','composeWhatsappInteraction','openWhatsappDraft','motion2.home.whatsapp:','whatsappInteraction:save','whatsappInteraction:update','whatsappInteractionTags:save','user_has_whatsapp_interactions:save','user_has_whatsapp_interactions:remove','whatsappInteractions','whatsapp-interaction','ComposeWhatsappInteractionDialogController','app/main/apps/dashboards/views/general/agent/interaction/composeWhatsapp/dialog.html','WHATSAPPACCOUNT:SEND','WhatsappInteractionId','home.whatsapp','whatsappMessage:save','ngBindHtmlUnsafe','getChannelByItem','isBetween','showFooter','acceptedMessages','omniChannels','api/attachments','selectedMailShowDetails','embedOptions','getLabelByMessage','tagInteraction','composeMailInteraction','composeSmsInteraction','transferLastMessage','downloadMessage','createVidaooSession','reply','onMessageSave','onInteractionSave','selectedItemChange','displayCannedAnswerInput','changeDisplayCannedAnswerInputValue','markAsUnread','isMyAccount','getAttachment','onInteractionOpen','loadNextPage','queryMessage','getMessages','AccountId','Message:save','Message:update','Interaction:save','Interaction:update','user_has_','_interactions:save','onInteractionClose','areaText','InteractionId','templateSettings','interpolate','spy','ERROR\x20OPEN\x20CONTACT','id,name,color','closeTab','inReplyTo','findLast','TransferMessageDialogController','app/main/apps/dashboards/views/general/agent/interaction/transfer/dialog.html','Message\x20not\x20found!','/api/chat/interactions/','/attachment_download?attachId=','\x22\x20target=\x22_self\x22>','','shiftKey','md-content[name*=\x27interaction-content-','loading...','System','-message','.eml','api.downloadMessage.get','-interaction','api.inteactionMessage.get','out','MailMessageId','basename','You\x20can\x27t\x20mark\x20as\x20unread','You\x20are\x20not\x20the\x20owner\x20of\x20the\x20last\x20message!','icon-email','ATTACHMENTS:GET','URL','_self','removeChild','revokeObjectURL','_interactions:remove','Start\x20Video\x20Call','','See\x20More','replyTemplate','On\x20{{\x20date\x20}},\x20at\x20{{\x20time\x20}},\x20{{\x20from\x20}}\x20wrote:','forwardTemplate','Begin\x20forwarded\x20message:

From:\x20{{\x20from\x20}}
Subject:\x20{{\x20subject\x20}}
Date:\x20{{\x20date\x20}},\x20at\x20{{\x20time\x20}}
To:\x20{{\x20to\x20}}','font,colorbutton,autogrow,autoembed,autocorrect,googlethisterm,pastebase64','styles','clipboard','basicstyles','paragraph','indent','align','innerHeight','ENTER_BR','fontFamily','magicline','fontSize_sizes','newMail','editDraft','addNote','removeAttachment','getContact','transformContact','saveDraft','loadLastMessage','replyAll','forward','Re:','messageId','showLastMessage','bcc','hiddenBCC','Fwd:','Fwd:\x20','Attachments','pt\x22>

','','','This\x20message\x20has\x20no\x20subject.\x20Are\x20you\x20sure\x20you\x20want\x20to\x20send\x20it?','To\x20is\x20mandatory','insertHtml','html-area','ckEditorInstance','Unable\x20to\x20get\x20Html\x20Editor\x20instance','You\x20can\x27t\x20reply\x20or\x20send\x20an\x20email.\x20Please\x20contact\x20the\x20administrator!','api.attachment.delete','Email\x20','Email\x20field\x20is\x20not\x20valid','firstName,lastName,email','DASHBOARDS.DRAFT_SAVE_WARNING_TITLE','DASHBOARDS.DRAFT_SAVE_WARNING_MESSAGE','Save\x20draft','DASHBOARDS.OVERWRITE',';font-size:','pt\x22>','','D\x20MMM\x20YYYY','escape','

','mapKey','ENTER','Mobile\x20','firstName,lastName,mobile','apiRoute','apiAccountRoute','accountProperty','mandatoryDispositionPause','wasUserInPause','closeReason','Interaction\x20has\x20been\x20closed!','api.variable.update','TagInteractionDialogController','autocompleteRequireMatch','Interaction\x20properly\x20tagged!','queueMethod','queueNotifyMethod','QueueNotify','onTransfer','agentNotify','Trasfer\x20properly\x20done!','Transfer\x20','AgentGeneralJscriptyController','formViewer','showResetButton','showIncompleteSubmitButton','onSubmit','getResponseSheet','getResponseSheetRow','getResponseSheetHeaders','getQuestionWithResponseList','resetViewer','JSCRIPTY.DO_YOU_WANT_TO_RESET_SESSION','JSCRIPTY.ALL_SURVEY_DATA_WILL_BE_LOST','survey','JSCRIPTY.YES','currentPage','ERROR\x20UPDATE\x20LOCAL\x20TABS','Error\x20updating\x20locally\x20stored\x20tabs','starttime','isObjectLike','isJsonString','responseData','mwForm.pageEvents.changePage','mwForm.pageEvents.pageCurrentChanged','pages','elements','question','Jscripty\x20can\x27t\x20open\x20the\x20contact','err','membername','HH:mm','Unable\x20to\x20convert\x20question','Unable\x20to\x20convert\x20answer','Error\x20while\x20removing\x20tab','Session\x20saved','Your\x20survey\x20session\x20has\x20been\x20properly\x20saved!','Session\x20save\x20error','There\x20has\x20been\x20an\x20error\x20while\x20trying\x20to\x20save\x20your\x20survey\x20session!','NotificationController','Message\x20properly\x20accepted!','API:ERROR','API\x20accept\x20message\x20not\x20found:\x20','Message\x20has\x20been\x20rejected!','API\x20reject\x20message\x20not\x20found:\x20','AgentGeneralPopupController','00:00:00','onSaveChatInteraction','onUpdateChatInteraction','sumBillable','closedAt','read1stAt','unit','sumHoldTime','abandonRate','round','answerRate','avgHoldTime','avgTalkTime','outboundQueues','initializeRealtimeQueue','rpcCampaigns','onSaveCampaign','campaign:save','UserFaxDashboardGeneralController','hh:mm:ss','onSaveFaxInteraction','onUpdateFaxInteraction','onSaveMailInteraction','onUpdateMailInteraction','onSaveOpenchannelInteraction','onUpdateOpenchannelInteraction','UserSmsDashboardGeneralController','onSaveSmsInteraction','onUpdateSmsInteraction','secToTime','outboundDropCallsDayCallersExit','outboundDropCallsDayTimeout','toISOString','pow','outboundDropRate','outboundAbandonRate','shift','limitCalls','hasDashboardPermissions','messaging','app.dashboards.general.sms','UserVoiceDashboardGeneralController','inboundQueues','onSaveOutbound','voice_outbound:save','onUpdateWhatsappInteraction','onSaveWhatsappInteraction','CreateOrEditFaxAccountDialogController','FAX.EDIT_FAXACCOUNT','newFaxAccount','addNewFaxAccount','saveFaxAccount','deleteFaxAccount','SYSTEM:GET_TRUNKS','trunk','TrunkId','SYSTEM:GETtrunks','addAccountApplications','FaxAccount\x20properly\x20created','api.faxAccount.save','updateAccountApplications','FaxAccount\x20properly\x20saved!','api.faxAccount.update','Delete\x20FaxAccount','FaxAccount\x20properly\x20deleted!','api.faxAccount.delete','FaxAccountActionsController','selectedFaxAccountApps','Command','None','Priority','FaxQueueId','applications','newIndex','getFaxAccountApps','editFaxAccountApp','editInterval','deleteFaxAccountApp','faxAccountApps','EditFaxAccountAppintervalDialogController','FaxAccountagentaddController','UserFaxAccount','faxAccountApp','EditFaxAccountAppagentDialogController','FAX.EDIT_','saveFaxAccountApp','EditFaxAccountAppcloseDialogController','getDaysOfWeek','monthNumber','monthName','saveInterval','EditFaxAccountAppnoopDialogController','EditFaxAccountAppqueueDialogController','QueueId','EditFaxAccountAppsystemDialogController','EditFaxAccountApptagDialogController','FaxAccountFaxDispositionsController','selectedFaxAccountFaxDispositions','exportSelectedFaxAccountFaxDispositions','deleteSelectedFaxAccountFaxDispositions','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20faxDisposition?','faxDisposition\x20#','faxDisposition','delete\x20faxDisposition','faxAccountFaxDispositions','CreateOrEditFaxDispositionDialogController','app/main/apps/fax/views/faxAccounts/edit/faxDispositions/dialog.html','FaxDisposition\x20deleted!','SYSTEM:GETfaxAccount','delete\x20faxDispositions','faxDispositions','newFaxDisposition','saveFaxDisposition','deleteFaxDisposition','FaxDisposition\x20properly\x20created','FaxDisposition\x20properly\x20saved!','The\x20faxDisposition\x20will\x20be\x20deleted.','Delete\x20FaxDisposition','FaxAccountInteractionsController','faxInteractionDownload','getFaxAccountInteractions','createOrEditFaxAccountInteraction','spyfaxInteraction','exportSelectedFaxAccountInteractions','deleteSelectedFaxAccountInteractions','fax.faxAccounts','faxAccountInteractions','app/main/apps/fax/views/faxAccounts/edit/interactions/dialog.html','selectedFaxAccountInteractions','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20interactions?','FaxAccountController','gotoFaxAccounts','SYSTEM:GETpauses','app/main/apps/fax/views/faxAccounts/edit/agentadd/agentadd.html','FaxAccount\x20updated!','FaxAccountsController','selectedFaxAccounts','arrayecm','arrayminrate','2400','\x272400\x27','4800','\x274800\x27','7200','\x277200\x27','9600','\x279600\x27','12000','14400','\x2714400\x27','arraymaxrate','\x2712000\x27','SIP','\x27SIP\x27','IAX','\x27IAX\x27','DADHI','KHOMP','\x27KHOMP\x27','createOrEditFaxAccount','deleteSelectedFaxAccounts','deselectFaxAccounts','selectAllFaxAccounts','app/main/apps/fax/views/faxAccounts/create/dialog.html','FaxAccount','SYSTEM:DELETEfaxAccount','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20faxAccounts?','delete\x20FaxAccounts','FAX.EDIT_FAXQUEUE','newFaxQueue','addNewFaxQueue','saveFaxQueue','deleteFaxQueue','FaxQueue\x20properly\x20created','api.faxQueue.save','FaxQueue\x20properly\x20saved!','api.faxQueue.update','Delete\x20FaxQueue','api.faxQueue.delete','FaxQueueagentaddController','UserFaxQueue','FAX.ALL_TEAMS','FAX.SELECTED_TEAMS','saveTeams','FaxQueueteamaddController','app/main/apps/fax/views/faxQueues/edit/teamadd/teamadd.html','app/main/apps/fax/views/faxQueues/edit/agentadd/agentadd.html','FaxQueue\x20updated!','SYSTEM:GETfaxQueue','FaxQueuesController','selectedFaxQueues','RR\x20Memory','\x27rrmemory\x27','createOrEditFaxQueue','exportSelectedFaxQueues','deleteSelectedFaxQueues','selectAllFaxQueues','app.fax.faxQueues.edit','delete\x20faxQueue','CreateOrEditFaxQueueDialogController','app/main/apps/fax/views/faxQueues/create/dialog.html','FaxQueue','SYSTEM:DELETEfaxQueue','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20faxQueues?','delete\x20FaxQueues','rpcFaxAccounts','FaxAccountsRealtimeController','-name','goToFaxAccount','faxAccount:save','faxAccount:update','onFaxMessageSave','createdAt,','lastIn','lastOut','AgentsFaxRealtimeController','whatsappCapacity','chatCurrentCapacity','smsCurrentCapacity','smsStatus','availableStates','showInfo','AgentqueueaddController','unknown','QueuesFaxRealtimeController','agentAdd','Error\x20creating\x20queue!','grey-fg\x20icon-minus-circle','red-300-fg\x20icon-phone-locked','FaxRealtimeController','app.fax.realtime.agents','rpcTrunks','helperClasses','TrunksFaxRealtimeController','stateRegistry','registry','statusClass','stateClass','getTrunks','goToTrunk','trunk:save','deskAccounts','CreateOrEditDeskAccountDialogController','INTEGRATIONS.EDIT_DESKACCOUNT','deskAccount','newDeskAccount','integrationTab','basic','INTEGRATIONS.NEW_DESKACCOUNT','addNewDeskAccount','saveDeskAccount','api.intDeskAccount.save','DeskAccount\x20properly\x20saved!','api.intDeskAccount.update','Delete\x20DeskAccount','api.intDeskAccount.delete','DeskAccountsController','selectedDeskAccounts','Integration_Tab','New_Tab','\x27newTab\x27','createOrEditDeskAccount','deleteDeskAccount','deselectDeskAccounts','selectAllDeskAccounts','DeskAccount\x20properly\x20tested','getDeskAccounts','app/main/apps/integrations/views/deskAccounts/create/dialog.html','DeskAccount','SYSTEM:DELETEintDeskAccount','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20deskAccounts?','DeskAccountConfigurationsController','deskConfiguration','configurations','selectedDeskConfiguration','createOrEditDeskConfiguration','deleteDeskConfiguration','Tags\x20set!','SYSTEM:ADDTAGS','getConfigurations','getDeskConfiguration','variablesById','SYSTEM:GETCONFIGURATION','getDescriptions','descriptions','SYSTEM:GETConfigurations','SYSTEM:GETTAGS','CreateOrEditDeskConfigurationDialogController','app/main/apps/integrations/views/deskAccounts/edit/configurations/dialog.html','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20deskConfiguration?','delete\x20deskConfiguration','DeskConfiguration\x20deleted!','selectedSubjects','deleteSelectedSubjects','CreateOrEditDeskAccountItemDialogController','app/main/apps/integrations/views/deskAccounts/edit/item/dialog.html','subjects','Subject\x20has\x20been\x20deleted!','SYSTEM:DELETECONFIGURATIONFIELD','Subject','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20subjects?','selectedDescriptions','createOrEditDescription','deleteDescriptionConfirm','deleteSelectedDescriptions','Description\x20deleted!','Description\x20has\x20been\x20deleted!','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20description?','delete\x20description','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20descriptions?','delete\x20descriptions','selectedFields','deleteFieldConfirm','deleteSelectedFields','Field\x20has\x20been\x20deleted!','Field','delete\x20fields','INTEGRATIONS.EDIT_DESKCONFIGURATION','newDeskConfiguration','addNewDeskConfiguration','saveDeskConfiguration','DeskConfiguration\x20properly\x20created','api.intDeskConfiguration.save','DeskConfiguration\x20properly\x20saved!','api.intDeskConfiguration.update','Delete\x20DeskConfiguration','DeskConfiguration\x20properly\x20deleted!','api.intDeskConfiguration.delete','configuration','item','INTEGRATIONS.EDIT_','newItem','INTEGRATIONS.NEW_','toUpper','addNewItem','getSelectedVariable','voiceAgentReportColumns','sourceid','recordingURL','voiceDialReportColumns','SYSTEM:GETVARIABLES','ticketType','accountConnected','idField','nameField','\x20properly\x20created','api.item.save','api.intItem.update','Delete\x20','\x20properly\x20deleted!','variableName','Please\x20select\x20a\x20variable','DeskAccountController','gotoDeskAccounts','SYSTEM:GETintDeskAccount','dynamics365Accounts','dynamics365Account','CreateOrEditDynamics365AccountDialogController','INTEGRATIONS.EDIT_DYNAMICS365ACCOUNT','newDynamics365Account','deleteDynamics365Account','Dynamics365Account\x20properly\x20created','api.intDynamics365Account.save','Dynamics365Account\x20properly\x20saved!','api.intDynamics365Account.update','The\x20dynamics365Account\x20will\x20be\x20deleted.','Delete\x20Dynamics365Account','api.intDynamics365Account.delete','selectedDynamics365Accounts','getDynamics365Accounts','createOrEditDynamics365Account','exportSelectedDynamics365Accounts','deleteSelectedDynamics365Accounts','deselectDynamics365Accounts','Dynamics365Account\x20properly\x20tested','Connection\x20succeded!','app/main/apps/integrations/views/dynamics365Accounts/create/dialog.html','Dynamics365Account','SYSTEM:DELETEintDynamics365Account','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20dynamics365Accounts?','delete\x20Dynamics365Accounts','Dynamics365AccountConfigurationsController','selectedDynamics365Configuration','getDynamics365Configuration','getSubjects','app/main/apps/integrations/views/dynamics365Accounts/edit/configurations/dialog.html','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20dynamics365Configuration?','dynamics365Configuration','Dynamics365Configuration\x20deleted!','SYSTEM:DELETECONFIGURATION','createOrEditSubject','deleteSubjectConfirm','CreateOrEditDynamics365AccountItemDialogController','app/main/apps/integrations/views/dynamics365Accounts/edit/item/dialog.html','Subject\x20deleted!','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20subject?','delete\x20subject','delete\x20subjects','createOrEditField','CreateOrEditDynamics365ConfigurationDialogController','INTEGRATIONS.EDIT_DYNAMICS365CONFIGURATION','incident','INTEGRATIONS.NEW_DYNAMICS365CONFIGURATION','newDynamics365Configuration','addNewDynamics365Configuration','saveDynamics365Configuration','deleteDynamics365Configuration','addConfiguration','Dynamics365Configuration\x20properly\x20created','api.intDynamics365Configuration.save','Dynamics365Configuration\x20properly\x20saved!','api.intDynamics365Configuration.update','Delete\x20Dynamics365Configuration','Dynamics365Configuration\x20properly\x20deleted!','api.intDynamics365Configuration.delete','\x20properly\x20saved!','Dynamics365AccountController','gotoDynamics365Accounts','Dynamics365Account\x20updated!','SYSTEM:GETintDynamics365Account','freshdeskAccounts','freshdeskAccount','CreateOrEditFreshdeskAccountDialogController','newFreshdeskAccount','INTEGRATIONS.NEW_FRESHDESKACCOUNT','deleteFreshdeskAccount','intFreshdeskAccount','FreshdeskAccount\x20properly\x20created','api.intFreshdeskAccount.save','FreshdeskAccount\x20properly\x20saved!','api.intFreshdeskAccount.update','The\x20freshdeskAccount\x20will\x20be\x20deleted.','Delete\x20FreshdeskAccount','api.intFreshdeskAccount.delete','freshdeskConfiguration','getFreshdeskConfiguration','Tags\x20has\x20been\x20set!','selectedFreshdeskConfiguration','CreateOrEditFreshdeskConfigurationDialogController','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20freshdeskConfiguration?','CreateOrEditFreshdeskAccountItemDialogController','app/main/apps/integrations/views/freshdeskAccounts/edit/item/dialog.html','Description','INTEGRATIONS.EDIT_FRESHDESKCONFIGURATION','newFreshdeskConfiguration','INTEGRATIONS.NEW_FRESHDESKCONFIGURATION','addNewFreshdeskConfiguration','saveFreshdeskConfiguration','api.intFreshdeskConfiguration.save','api.intFreshdeskConfiguration.update','The\x20freshdeskConfiguration\x20will\x20be\x20deleted.','FreshdeskConfiguration\x20properly\x20deleted!','api.intFreshdeskConfiguration.delete','api.item.delete','FreshdeskAccountController','gotoFreshdeskAccounts','FreshdeskAccount\x20updated!','SYSTEM:GETintFreshdeskAccount','FreshdeskAccountsController','selectedFreshdeskAccounts','exportSelectedFreshdeskAccounts','deleteSelectedFreshdeskAccounts','deselectFreshdeskAccounts','selectAllFreshdeskAccounts','FreshdeskAccount\x20properly\x20tested','delete\x20freshdeskAccount','getFreshdeskAccounts','FreshdeskAccount','SYSTEM:DELETEintFreshdeskAccount','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20freshdeskAccounts?','delete\x20FreshdeskAccounts','freshsalesAccounts','freshsalesAccount','INTEGRATIONS.EDIT_FRESHSALESACCOUNT','newFreshsalesAccount','addNewFreshsalesAccount','saveFreshsalesAccount','deleteFreshsalesAccount','FreshsalesAccount\x20properly\x20created','api.intFreshsalesAccount.save','FreshsalesAccount\x20properly\x20saved!','api.intFreshsalesAccount.update','Delete\x20FreshsalesAccount','FreshsalesAccount\x20properly\x20deleted!','api.intFreshsalesAccount.delete','FreshsalesAccountConfigurationsController','freshsalesConfiguration','selectedFreshsalesConfiguration','getFreshsalesConfiguration','createOrEditFreshsalesConfiguration','deleteFreshsalesConfiguration','CreateOrEditFreshsalesConfigurationDialogController','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20freshsalesConfiguration?','delete\x20freshsalesConfiguration','FreshsalesConfiguration\x20deleted!','CreateOrEditFreshsalesAccountItemDialogController','app/main/apps/integrations/views/freshsalesAccounts/edit/item/dialog.html','INTEGRATIONS.EDIT_FRESHSALESCONFIGURATION','INTEGRATIONS.NEW_FRESHSALESCONFIGURATION','addNewFreshsalesConfiguration','FreshsalesConfiguration\x20properly\x20created','api.intFreshsalesConfiguration.save','FreshsalesConfiguration\x20properly\x20saved!','api.intFreshsalesConfiguration.update','The\x20freshsalesConfiguration\x20will\x20be\x20deleted.','Delete\x20FreshsalesConfiguration','FreshsalesAccountController','gotoFreshsalesAccounts','FreshsalesAccount\x20updated!','SYSTEM:GETintFreshsalesAccount','FreshsalesAccountsController','selectedFreshsalesAccounts','testtestintegrationaccount','getFreshsalesAccounts','exportSelectedFreshsalesAccounts','deleteSelectedFreshsalesAccounts','deselectFreshsalesAccounts','selectAllFreshsalesAccounts','app.integrations.freshsalesAccounts.edit','FreshsalesAccount\x20properly\x20tested','delete\x20freshsalesAccount','CreateOrEditFreshsalesAccountDialogController','app/main/apps/integrations/views/freshsalesAccounts/create/dialog.html','FreshsalesAccount','SYSTEM:DELETEintFreshsalesAccount','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20freshsalesAccounts?','delete\x20FreshsalesAccounts','salesforceAccounts','CreateOrEditSalesforceAccountDialogController','INTEGRATIONS.EDIT_SALESFORCEACCOUNT','salesforceAccount','INTEGRATIONS.NEW_SALESFORCEACCOUNT','newSalesforceAccount','addNewSalesforceAccount','deleteSalesforceAccount','SalesforceAccount\x20properly\x20created','api.intSalesforceAccount.save','SalesforceAccount\x20properly\x20saved!','api.intSalesforceAccount.update','The\x20salesforceAccount\x20will\x20be\x20deleted.','SalesforceAccount\x20properly\x20deleted!','api.intSalesforceAccount.delete','SalesforceAccountConfigurationsController','selectedSalesforceConfiguration','getSalesforceConfiguration','createOrEditSalesforceConfiguration','deleteSalesforceConfiguration','selectChangedAdvanced','salesforceConfiguration','Module\x20updated!','Module\x20has\x20been\x20updated!','SYSTEM:UPDATECONFIGURATIONFIELD','CreateOrEditSalesforceConfigurationDialogController','app/main/apps/integrations/views/salesforceAccounts/edit/configurations/dialog.html','delete\x20salesforceConfiguration','SalesforceConfiguration\x20deleted!','app/main/apps/integrations/views/salesforceAccounts/edit/item/dialog.html','CreateOrEditSalesforceAccountItemDialogController','INTEGRATIONS.EDIT_SALESFORCECONFIGURATION','newSalesforceConfiguration','INTEGRATIONS.NEW_SALESFORCECONFIGURATION','saveSalesforceConfiguration','api.intSalesforceConfiguration.save','SalesforceConfiguration\x20properly\x20saved!','api.intSalesforceConfiguration.update','The\x20salesforceConfiguration\x20will\x20be\x20deleted.','Delete\x20SalesforceConfiguration','SalesforceConfiguration\x20properly\x20deleted!','api.intSalesforceConfiguration.delete','SalesforceAccountController','gotoSalesforceAccounts','saveSalesforceAccount','SalesforceAccount\x20updated!','SalesforceAccountsController','selectedSalesforceAccounts','createOrEditSalesforceAccount','exportSelectedSalesforceAccounts','selectAllSalesforceAccounts','SalesforceAccount\x20properly\x20tested','delete\x20salesforceAccount','getSalesforceAccounts','SalesforceAccounts','app/main/apps/integrations/views/salesforceAccounts/create/dialog.html','SalesforceAccount','SYSTEM:DELETEintSalesforceAccount','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20salesforceAccounts?','delete\x20SalesforceAccounts','servicenowAccounts','servicenowAccount','CreateOrEditServicenowAccountDialogController','INTEGRATIONS.EDIT_SERVICENOWACCOUNT','newServicenowAccount','INTEGRATIONS.NEW_SERVICENOWACCOUNT','addNewServicenowAccount','saveServicenowAccount','ServicenowAccount\x20properly\x20created','api.intServicenowAccount.save','ServicenowAccount\x20properly\x20saved!','api.intServicenowAccount.update','The\x20servicenowAccount\x20will\x20be\x20deleted.','api.intServicenowAccount.delete','ServicenowAccountConfigurationsController','servicenowConfiguration','selectedServicenowConfiguration','getServicenowConfiguration','deleteServicenowConfiguration','CreateOrEditServicenowConfigurationDialogController','app/main/apps/integrations/views/servicenowAccounts/edit/configurations/dialog.html','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20servicenowConfiguration?','ServicenowConfiguration\x20deleted!','CreateOrEditServicenowAccountItemDialogController','app/main/apps/integrations/views/servicenowAccounts/edit/item/dialog.html','INTEGRATIONS.EDIT_SERVICENOWCONFIGURATION','newServicenowConfiguration','addNewServicenowConfiguration','saveServicenowConfiguration','ServicenowConfiguration\x20properly\x20created','api.intServicenowConfiguration.save','api.intServicenowConfiguration.update','The\x20servicenowConfiguration\x20will\x20be\x20deleted.','ServicenowConfiguration\x20properly\x20deleted!','api.intServicenowConfiguration.delete','ServicenowAccountController','gotoServicenowAccounts','ServicenowAccount\x20updated!','selectedServicenowAccounts','createdAt,updatedAt,id,name,username,password,email,remoteUri,serverUrl,description','getServicenowAccounts','createOrEditServicenowAccount','deleteServicenowAccount','exportSelectedServicenowAccounts','deleteSelectedServicenowAccounts','deselectServicenowAccounts','ServicenowAccount\x20properly\x20tested','delete\x20servicenowAccount','app/main/apps/integrations/views/servicenowAccounts/create/dialog.html','SYSTEM:DELETEintServicenowAccount','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20servicenowAccounts?','delete\x20ServicenowAccounts','sugarcrmAccounts','CreateOrEditSugarcrmAccountDialogController','newSugarcrmAccount','sugarcrmAccount','INTEGRATIONS.NEW_SUGARCRMACCOUNT','saveSugarcrmAccount','deleteSugarcrmAccount','SugarcrmAccount\x20properly\x20created','api.intSugarcrmAccount.save','SugarcrmAccount\x20properly\x20saved!','api.intSugarcrmAccount.update','Delete\x20SugarcrmAccount','api.intSugarcrmAccount.delete','sugarcrmConfiguration','selectedSugarcrmConfiguration','getSugarcrmConfiguration','createOrEditSugarcrmConfiguration','CreateOrEditSugarcrmConfigurationDialogController','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20sugarcrmConfiguration?','CreateOrEditSugarcrmAccountItemDialogController','app/main/apps/integrations/views/sugarcrmAccounts/edit/item/dialog.html','INTEGRATIONS.EDIT_SUGARCRMCONFIGURATION','newSugarcrmConfiguration','INTEGRATIONS.NEW_SUGARCRMCONFIGURATION','addNewSugarcrmConfiguration','saveSugarcrmConfiguration','deleteSugarcrmConfiguration','SugarcrmConfiguration\x20properly\x20created','api.intSugarcrmConfiguration.save','api.intSugarcrmConfiguration.update','Delete\x20SugarcrmConfiguration','SugarcrmConfiguration\x20properly\x20deleted!','api.intSugarcrmConfiguration.delete','SugarcrmAccountController','gotoSugarcrmAccounts','SugarcrmAccount\x20updated!','SYSTEM:GETintSugarcrmAccount','SugarcrmAccountsController','selectedSugarcrmAccounts','getSugarcrmAccounts','exportSelectedSugarcrmAccounts','deleteSelectedSugarcrmAccounts','deselectSugarcrmAccounts','SugarcrmAccount\x20properly\x20tested','app/main/apps/integrations/views/sugarcrmAccounts/create/dialog.html','SugarcrmAccount','SYSTEM:DELETEintSugarcrmAccount','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20sugarcrmAccounts?','delete\x20SugarcrmAccounts','vtigerAccounts','vtigerAccount','CreateOrEditVtigerAccountDialogController','newVtigerAccount','INTEGRATIONS.NEW_VTIGERACCOUNT','addNewVtigerAccount','saveVtigerAccount','deleteVtigerAccount','api.intVtigerAccount.save','VtigerAccount\x20properly\x20saved!','api.intVtigerAccount.update','The\x20vtigerAccount\x20will\x20be\x20deleted.','Delete\x20VtigerAccount','VtigerAccount\x20properly\x20deleted!','api.intVtigerAccount.delete','VtigerAccountConfigurationsController','vtigerConfiguration','selectedVtigerConfiguration','getVtigerConfiguration','createOrEditVtigerConfiguration','CreateOrEditVtigerConfigurationDialogController','app/main/apps/integrations/views/vtigerAccounts/edit/configurations/dialog.html','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20vtigerConfiguration?','delete\x20vtigerConfiguration','VtigerConfiguration\x20deleted!','CreateOrEditVtigerAccountItemDialogController','app/main/apps/integrations/views/vtigerAccounts/edit/item/dialog.html','INTEGRATIONS.EDIT_VTIGERCONFIGURATION','newVtigerConfiguration','addNewVtigerConfiguration','saveVtigerConfiguration','VtigerConfiguration\x20properly\x20created','api.intVtigerConfiguration.save','api.intVtigerConfiguration.update','The\x20vtigerConfiguration\x20will\x20be\x20deleted.','Delete\x20VtigerConfiguration','VtigerConfiguration\x20properly\x20deleted!','api.intVtigerConfiguration.delete','VtigerAccountController','gotoVtigerAccounts','app.integrations.vtigerAccounts','VtigerAccount\x20updated!','SYSTEM:GETintVtigerAccount','VtigerAccountsController','selectedVtigerAccounts','getVtigerAccounts','exportSelectedVtigerAccounts','deleteSelectedVtigerAccounts','VtigerAccount\x20properly\x20tested','VtigerAccounts','VtigerAccount','SYSTEM:DELETEintVtigerAccount','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20vtigerAccounts?','zendeskAccounts','INTEGRATIONS.EDIT_ZENDESKACCOUNT','zendeskAccount','newZendeskAccount','INTEGRATIONS.NEW_ZENDESKACCOUNT','addNewZendeskAccount','deleteZendeskAccount','ZendeskAccount\x20properly\x20created','api.intZendeskAccount.save','intZendeskAccount','ZendeskAccount\x20properly\x20saved!','api.intZendeskAccount.update','The\x20zendeskAccount\x20will\x20be\x20deleted.','Delete\x20ZendeskAccount','ZendeskAccount\x20properly\x20deleted!','api.intZendeskAccount.delete','CreateOrEditZendeskAccountItemDialogController','intZendeskField','ZendeskAccountController','gotoZendeskAccounts','saveZendeskAccount','ZendeskAccountConfigurationsController','zendeskConfiguration','selectedZendeskConfiguration','getZendeskConfiguration','createOrEditZendeskConfiguration','deleteZendeskConfiguration','selectTagsChanged','zendeskConfigurations','CreateOrEditZendeskConfigurationDialogController','app/main/apps/integrations/views/zendeskAccounts/edit/zendeskConfigurations/dialog.html','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20zendeskConfiguration?','delete\x20zendeskConfiguration','ZendeskConfiguration\x20deleted!','app/main/apps/integrations/views/zendeskAccounts/edit/item/dialog.html','newZendeskConfiguration','INTEGRATIONS.NEW_ZENDESKCONFIGURATION','addNewZendeskConfiguration','api.intZendeskConfiguration.save','ZendeskConfiguration\x20properly\x20saved!','api.intZendeskConfiguration.update','The\x20zendeskConfiguration\x20will\x20be\x20deleted.','Delete\x20ZendeskConfiguration','ZendeskConfiguration\x20properly\x20deleted!','api.intZendeskConfiguration.delete','ZendeskAccountsController','selectedZendeskAccounts','\x27integrationTab\x27','arrayauthType','Password','\x27password\x27','Token','\x27token\x27','getZendeskAccounts','createOrEditZendeskAccount','exportSelectedZendeskAccounts','deleteSelectedZendeskAccounts','deselectZendeskAccounts','selectAllZendeskAccounts','ZendeskAccount\x20properly\x20tested','CreateOrEditZendeskAccountDialogController','app/main/apps/integrations/views/zendeskAccounts/create/dialog.html','ZendeskAccount','SYSTEM:DELETEintZendeskAccount','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20zendeskAccounts?','delete\x20ZendeskAccounts','zohoAccounts','zohoAccount','newZohoAccount','zoho.com','INTEGRATIONS.NEW_ZOHOACCOUNT','addNewZohoAccount','saveZohoAccount','deleteZohoAccount','intZohoAccount','api.intZohoAccount.save','api.intZohoAccount.update','The\x20zohoAccount\x20will\x20be\x20deleted.','ZohoAccount\x20properly\x20deleted!','api.intZohoAccount.delete','ZohoAccountConfigurationsController','zohoConfiguration','selectedZohoConfiguration','getZohoConfiguration','createOrEditZohoConfiguration','deleteZohoConfiguration','CreateOrEditZohoConfigurationDialogController','app/main/apps/integrations/views/zohoAccounts/edit/configurations/dialog.html','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20zohoConfiguration?','delete\x20zohoConfiguration','ZohoConfiguration\x20deleted!','CreateOrEditZohoAccountItemDialogController','app/main/apps/integrations/views/zohoAccounts/edit/item/dialog.html','INTEGRATIONS.NEW_ZOHOCONFIGURATION','newZohoConfiguration','addNewZohoConfiguration','saveZohoConfiguration','ZohoConfiguration\x20properly\x20created','api.intZohoConfiguration.save','ZohoConfiguration\x20properly\x20saved!','api.intZohoConfiguration.update','ZohoConfiguration\x20properly\x20deleted!','api.intZohoConfiguration.delete','gotoZohoAccounts','app.integrations.zohoAccounts','ZohoAccount\x20updated!','SYSTEM:GETintZohoAccount','ZohoAccountsController','selectedZohoAccounts','arrayhost','zoho.eu','arrayzone','\x27US\x27','\x27AU\x27','\x27IN\x27','createOrEditZohoAccount','exportSelectedZohoAccounts','deleteSelectedZohoAccounts','deselectZohoAccounts','selectAllZohoAccounts','ZohoAccount\x20properly\x20tested','delete\x20zohoAccount','getZohoAccounts','ZohoAccounts','CreateOrEditZohoAccountDialogController','app/main/apps/integrations/views/zohoAccounts/create/dialog.html','ZohoAccount','SYSTEM:DELETEintZohoAccount','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20zohoAccounts?','CreateOrEditProjectDialogController','JSCRIPTY.EDIT_PROJECT','JSCRIPTY.NEW_PROJECT','addNewProject','api.jscriptyProject.save','api.jscriptyProject.update','api.jscriptyProject.delete','ProjectAnswersController','pickerModel','getSummary','getAnswers','hasIdAnswers','-createdAt,questionId','questionId','answers','SYSTEM:GETANSWERS','No\x20answers\x20available','api.jscriptyProject.getSummary','ProjectBuilderController','radio','checkbox','ProjectcloneController','JSCRIPTY.CLONE_PROJECT','cloneProject','Project\x20properly\x20cloned','\x20has\x20been\x20cloned!','api.jscriptyProject.clone','Would\x20you\x20like\x20to\x20save\x20your\x20survey?','SAVE','projectSessions','selectedProjectSessions','createdAt,updatedAt,id,starttime,endtime,membername,calleridnum,completed','createOrEditProjectSession','deleteSelectedProjectSessions','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20session?','session\x20#','delete\x20session','getSessions','CreateOrEditSessionDialogController','ShowQuestionsSessionDialogController','app/main/apps/jscripty/views/projects/edit/sessions/dialog.html','jscriptySessionReport@getQuestions','question,answer','Session\x20deleted!','SYSTEM:GETjscriptyProject','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20sessions?','delete\x20sessions','questions','JscriptyProjectController','clonedialog','sessionsgoto','app/main/apps/jscripty/views/projects/edit/clone/clone.html','app/main/apps/jscripty/views/projects/create/dialog.html','Project','SYSTEM:DELETEjscriptyProject','CreateOrEditMailAccountDialogController','newMailAccount','MAIL.NEW_MAILACCOUNT','deleteMailAccount','MailAccount\x20properly\x20created','api.mailAccount.save','MailAccount\x20properly\x20saved!','api.mailAccount.update','Mail\x20Account\x20not\x20deleted!','You\x20can\x27t\x20remove\x20service\x20account','Delete\x20MailAccount','MailAccount\x20properly\x20deleted!','MailAccountActionsController','mailAccountApps','MailQueueId','opt2','getMailAccountApps','deleteMailAccountApp','EditMailAccountAppintervalDialogController','id,interval,IntervalId','selectedMailAccountApps','MailAccountagentaddController','MAIL.ALL_AGENTS','MAIL.SELECTED_AGENTS','UserMailAccount','mailAccountApp','EditMailAccountAppagentDialogController','MAIL.EDIT_','EditMailAccountAppautoreplyDialogController','saveMailAccountApp','EditMailAccountAppcloseDialogController','EditMailAccountAppgotoifDialogController','EditMailAccountAppgotopDialogController','getDaysOfMonth','TOOLS.NEW_INTERVAL','EditMailAccountAppnoopDialogController','EditMailAccountAppqueueDialogController','EditMailAccountAppsystemDialogController','SYSTEM:GETvariables','EditMailAccountApptagDialogController','mailAccountInteractions','createOrEditMailAccountInteraction','spymailInteraction','exportSelectedMailAccountInteractions','deleteMailAccountInteraction','deleteSelectedMailAccountInteractions','closed\x20===\x200','app/main/apps/mail/views/mailAccounts/edit/interactions/dialog.html','SYSTEM:GETmailAccount','selectedMailAccountInteractions','MAIL.UNKNOWN','MailAccountMailCannedAnswersController','mailAccountMailCannedAnswers','getMailAccountMailCannedAnswers','createOrEditMailAccountMailCannedAnswer','exportSelectedMailAccountMailCannedAnswers','deleteMailAccountMailCannedAnswer','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20mailCannedAnswer?','mailCannedAnswer','CreateOrEditMailCannedAnswerDialogController','app/main/apps/mail/views/mailAccounts/edit/mailCannedAnswers/dialog.html','selectedMailAccountMailCannedAnswers','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20mailCannedAnswers?','mailCannedAnswers','MAIL.EDIT_MAILCANNEDANSWER','newMailCannedAnswer','MAIL.NEW_MAILCANNEDANSWER','deleteMailCannedAnswer','MailCannedAnswer\x20properly\x20created','MailCannedAnswer\x20properly\x20saved!','Delete\x20MailCannedAnswer','MailCannedAnswer\x20properly\x20deleted!','MailAccountMailDispositionsController','mailAccountMailDispositions','createOrEditMailAccountMailDisposition','exportSelectedMailAccountMailDispositions','deleteMailAccountMailDisposition','deleteSelectedMailAccountMailDispositions','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20mailDisposition?','mailDisposition\x20#','app/main/apps/mail/views/mailAccounts/edit/mailDispositions/dialog.html','MailDisposition\x20deleted!','selectedMailAccountMailDispositions','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20mailDispositions?','delete\x20mailDispositions','mailDisposition','CreateOrEditMailDispositionDialogController','mailDispositions','newMailDisposition','addNewMailDisposition','deleteMailDisposition','MailDisposition\x20properly\x20created','MailDisposition\x20properly\x20saved!','The\x20mailDisposition\x20will\x20be\x20deleted.','Delete\x20MailDisposition','MailDisposition\x20properly\x20deleted!','MailAccountController','gotoMailAccounts','saveMailAccount','app/main/apps/mail/views/mailAccounts/edit/agentadd/agentadd.html','MailAccount\x20updated!','MailAccountsController','selectedMailAccounts','arraycservice','Custom','Gmail','\x27hotmail\x27','Yahoo','\x27yahoo\x27','Outlook365','\x27outlook365\x27','\x27gmail\x27','arraySmtp.service','Hotmail','verifysmtpverifysmtp','createOrEditMailAccount','exportSelectedMailAccounts','deleteSelectedMailAccounts','selectAllMailAccounts','Smtp\x20properly\x20verified','Smpt\x20id\x20unknown','app/main/apps/mail/views/mailAccounts/create/dialog.html','service','SYSTEM:DELETEmailAccount','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20mailAccounts?','CreateOrEditMailQueueDialogController','MAIL.EDIT_MAILQUEUE','newMailQueue','MAIL.NEW_MAILQUEUE','saveMailQueue','deleteMailQueue','MailQueue\x20properly\x20created','api.mailQueue.save','MailQueue\x20properly\x20saved!','api.mailQueue.update','The\x20mailQueue\x20will\x20be\x20deleted.','Delete\x20MailQueue','MailQueue\x20properly\x20deleted!','api.mailQueue.delete','UserMailQueue','MailQueueteamaddController','MAIL.ALL_TEAMS','MAIL.SELECTED_TEAMS','gotoMailQueues','app/main/apps/mail/views/mailQueues/edit/teamadd/teamadd.html','MailQueueagentaddController','app/main/apps/mail/views/mailQueues/edit/agentadd/agentadd.html','MailQueue\x20updated!','SYSTEM:GETmailQueue','MailQueuesController','selectedMailQueues','Beepall','createOrEditMailQueue','exportSelectedMailQueues','deselectMailQueues','selectAllMailQueues','delete\x20mailQueue','SYSTEM:DELETEmailQueue','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20mailQueues?','mailSubtatuses','CreateOrEditMailSubstatusDialogController','MAIL.EDIT_MAILSUBSTATUS','newMailSubstatus','saveMailSubstatus','MailSubstatus\x20properly\x20created','api.mailSubstatus.save','MailSubstatus\x20properly\x20saved!','api.mailSubstatus.update','The\x20mailSubstatus\x20will\x20be\x20deleted.','Delete\x20MailSubstatus','MailSubstatus\x20properly\x20deleted!','api.mailSubstatus.delete','MailSubstatusesController','selectedMailSubstatuses','deleteMailSubstatus','exportSelectedMailSubstatuses','deleteSelectedMailSubstatuses','deselectMailSubstatuses','selectAllMailSubstatuses','delete\x20mailSubstatus','getMailSubstatuses','MailSubstatuses','app/main/apps/mail/views/mailSubtatuses/create/dialog.html','MailSubstatus','SYSTEM:DELETEmailSubstatus','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20mailSubtatuses?','rpcMailAccounts','MailAccountsRealtimeController','goToMailAccount','mailAccount:save','mailAccount:update','
TODO\x20legend\x20status\x20+\x20state
','QueuesMailRealtimeController','MailRealtimeController','CreateOrEditPluginDialogController','newPlugin','addNewPlugin','savePlugin','deletePlugin','Plugin\x20properly\x20created','api.plugin.save','Plugin\x20properly\x20saved!','Delete\x20Plugin','Plugin\x20properly\x20deleted!','api.plugin.delete','MarketplacePluginController','Plugin\x20updated!','SYSTEM:GETplugin','MarketplacePluginsController','selectedPlugins','createdAt,updatedAt,id,name,type,active,description,icon,sidebar,path,adminUrl,agentUrl,scriptName,scriptPath,version','arraysidebar','\x27always\x27','Admin\x20Only','\x27adminOnly\x27','Agent\x20Only','\x27agentOnly\x27','\x27never\x27','installplugin','stopplugin','restartplugin','uninstallplugin','deleteSelectedPlugins','deselectPlugins','selectAllPlugins','uploadPlugin','script','scriptName','scriptPath','Plugin\x20installed!','\x20has\x20been\x20installed!','api.pm2.save','api.plugin.update','app.marketplace.plugins.edit','Are\x20you\x20sure\x20want\x20to\x20stop\x20the\x20plugin\x20attached\x20process?','\x20attached\x20process\x20will\x20be\x20stoppped.','stop\x20plugin\x20process','Failed\x20to\x20retrieve\x20pm2\x20processes','No\x20corresponding\x20process\x20found','pm_id','stopped','Process\x20stopped!','api.pm2.update','\x20attached\x20process\x20will\x20be\x20restarted.','restart\x20plugin\x20process','Process\x20restarted!','Are\x20you\x20sure\x20want\x20to\x20uninstall\x20the\x20plugin?','\x20will\x20be\x20uninstalled.','api.pm2.delete','Plugin\x20uninstalled!','\x20has\x20been\x20uninstalled!','delete\x20plugin','getPlugins','app/main/apps/marketplace/views/plugins/create/dialog.html','No\x20\x27%s\x27\x20process\x20found','PM2\x20process\x20not\x20found!','Failed\x20to\x20delete\x20the\x20attached\x20pm2\x20process','Plugin','SYSTEM:DELETEplugin','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20plugins?','delete\x20Plugins','UploadPluginDialogController','MARKETPLACE.UPLOAD_PLUGIN','uploadPlugins','uploadState','api/plugins','uploadError','uploadComplete','Upload\x20error','Cannot\x20upload\x20the\x20plugin','completed','Upload\x20completed','\x20uploaded\x20successfully','ivrCampaigns','ivrCampaign','CreateOrEditIvrCampaignDialogController','MOTIONDIALER.EDIT_IVRCAMPAIGN','newIvrCampaign','07:00-22:00,*,*,*','MOTIONDIALER.NEW_IVRCAMPAIGN','saveIvrCampaign','deleteIvrCampaign','SquareProjectId','SYSTEM:GETprojects','IvrCampaign\x20properly\x20created','IvrCampaign\x20properly\x20saved!','api.campaign.update','The\x20ivrCampaign\x20will\x20be\x20deleted.','Delete\x20IvrCampaign','IvrCampaign\x20properly\x20deleted!','api.campaign.delete','getApi','removeApi','removeBlackLists','loading','MOTIONDIALER.ALL_LISTS','MOTIONDIALER.SELECTED_LISTS','saveLists','SYSTEM:GETLISTS','addApi','Lists\x20association\x20has\x20been\x20updated!','IvrCampaigncloneController','MOTIONDIALER.CLONE_IVRCAMPAIGN','cloneIvrCampaign','IvrCampaign\x20properly\x20cloned','api.campaign.clone','IvrCampaignHopperBlacksController','ivrCampaignHopperBlacks','selectedIvrCampaignHopperBlacks','createdAt,updatedAt,ContactId,phone','getIvrCampaignHopperBlacks','deleteIvrCampaignHopperBlack','deleteSelectedIvrCampaignHopperBlacks','CampaignId','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20hopperBlack?','hopperBlack\x20#','hopperBlack','getHopperBlacks','app/main/apps/motiondialer/views/ivrCampaigns/edit/hopperBlacks/dialog.html','HopperBlack\x20deleted!','SYSTEM:GETcampaign','delete\x20hopperBlacks','IvrCampaignHopperFinalsController','ivrCampaignHopperFinals','selectedIvrCampaignHopperFinals','deleteIvrCampaignHopperFinal','deleteSelectedIvrCampaignHopperFinals','moveContactsIvrCampaignHopperFinal','countContactsIvrCampaignHopperFinal','moveConfirm','moveSelectedIvrCampaignHopperFinals','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20hopperFinal?','hopperFinal','delete\x20hopperFinal','CreateOrEditHopperFinalDialogController','app/main/apps/motiondialer/views/ivrCampaigns/edit/hopperFinals/dialog.html','HopperFinal\x20deleted!','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20hopperFinals?','delete\x20hopperFinals','Restored\x20Contacts','SYSTEM:GETvoiceQueue','Are\x20you\x20sure\x20want\x20to\x20restore\x20the\x20selected\x20contacts?','Restore\x20Contacts','Are\x20you\x20sure\x20want\x20to\x20restore\x20the\x20contact?','\x20will\x20be\x20restored.','Restore\x20Contact','countbusyretry','countcongestionretry','countnoanswerretry','countglobal','deleted','editedat','edited','statedesc','Restored','campaigntype','checkContactHopper','The\x20contact\x20is\x20in\x20the\x20hopper','Contact\x20ID\x20','Restored\x20Contact','Validation\x20error','IvrCampaignHopperHistoriesController','ivrCampaignHopperHistories','selectedIvrCampaignHopperHistories','createdAt,updatedAt,uniqueid,ContactId,calleridnum,calleridname,statedesc,scheduledat,starttime,responsetime,endtime','getIvrCampaignHopperHistories','createOrEditIvrCampaignHopperHistory','exportSelectedIvrCampaignHopperHistories','deleteIvrCampaignHopperHistory','hopperHistory\x20#','hopperHistory','delete\x20hopperHistory','CreateOrEditHopperHistoryDialogController','HopperHistory\x20deleted!','ivrCampaignHoppers','\x270\x27','exportSelectedIvrCampaignHoppers','deleteSelectedIvrCampaignHoppers','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20hopper?','hopper\x20#','delete\x20hopper','Hopper\x20deleted!','selectedIvrCampaignHoppers','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20hoppers?','MOTIONDIALER.NEW_HOPPER','addNewHopper','Hopper\x20properly\x20created','api.cmHopper.save','OwnerId','Edited','callback','callbackuniqueid','Delete\x20Hopper','IvrCampaignHopperStatisticsController','IvrCampaignlistaddController','addLists','listsCampaign','Sequence','IvrCampaignresetlistController','selected','exists','toggle','isIndeterminate','isChecked','enqueue','removeLists','never','\x20has\x20been\x20reset','SYSTEM:queueCampaign.RESETLIST','IvrCampaignController','listadddialog','blacklistadddialog','resetlistdialog','gotoIvrCampaigns','SYSTEM:GET_PROJECTS','IvrCampaignblacklistaddController','app/main/apps/motiondialer/views/ivrCampaigns/edit/blacklistadd/blacklistadd.html','List\x20','SYSTEM:ivrCampaign.REMOVELIST','Campaign\x20Without\x20Lists','Are\x20you\x20sure\x20want\x20to\x20reset\x20the\x20list\x20','Reset\x20List','app/main/apps/motiondialer/views/ivrCampaigns/edit/resetlist/resetlist.html','SYSTEM:RESETLIST','IvrCampaign\x20updated!','IvrCampaignsController','selectedIvrCampaigns','arraydialCheckDuplicateType','NEVER','ONLY_IF_OPEN','\x27onlyIfOpen\x27','arraydialOrderByScheduledAt','DESC','\x27DESC\x27','\x27ASC\x27','createOrEditIvrCampaign','exportSelectedIvrCampaigns','deleteSelectedIvrCampaigns','deselectIvrCampaigns','selectAllIvrCampaigns','app/main/apps/motiondialer/views/ivrCampaigns/edit/clone/clone.html','app/main/apps/motiondialer/views/ivrCampaigns/edit/listadd/listadd.html','delete\x20ivrCampaign','getIvrCampaigns','IvrCampaign','SYSTEM:DELETEcampaign','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20ivrCampaigns?','MOTIONDIALER.EDIT_QUEUECAMPAIGN','newQueueCampaign','progressive','dropRate','tTxX','rrmemory','addNewQueueCampaign','deleteQueueCampaign','QueueCampaign\x20properly\x20created','api.voiceQueue.save','api.voiceQueue.update','The\x20queueCampaign\x20will\x20be\x20deleted.','Delete\x20QueueCampaign','QueueCampaign\x20properly\x20deleted!','api.voiceQueue.delete','QueueCampaignagentaddController','MOTIONDIALER.ALL_AGENTS','MOTIONDIALER.SELECTED_AGENTS','xorWith','UserVoiceQueue','differenceWith','QueueCampaignblacklistaddController','addBlackLists','MOTIONDIALER.CLONE_QUEUECAMPAIGN','app.motiondialer.queueCampaigns.edit','api.voiceQueue.clone','queueCampaignHopperBlacks','createOrEditQueueCampaignHopperBlack','exportSelectedQueueCampaignHopperBlacks','deleteSelectedQueueCampaignHopperBlacks','delete\x20hopperBlack','CreateOrEditHopperBlackDialogController','app/main/apps/motiondialer/views/queueCampaigns/edit/hopperBlacks/dialog.html','selectedQueueCampaignHopperBlacks','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20hopperBlacks?','QueueCampaignHopperFinalsController','queueCampaignHopperFinals','selectedQueueCampaignHopperFinals','getQueueCampaignHopperFinals','createOrEditQueueCampaignHopperFinal','deleteQueueCampaignHopperFinal','deleteSelectedQueueCampaignHopperFinals','moveContactsQueueCampaignHopperFinal','countContactsQueueCampaignHopperFinal','moveSelectedQueueCampaignHopperFinals','hopperFinal\x20#','\x20Contacts\x20selected','Not\x20Found','QueueCampaignHopperHistoriesController','queueCampaignHopperHistories','selectedQueueCampaignHopperHistories','exportSelectedQueueCampaignHopperHistories','deleteQueueCampaignHopperHistory','deleteSelectedQueueCampaignHopperHistories','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20hopperHistory?','app/main/apps/motiondialer/views/queueCampaigns/edit/hopperHistories/dialog.html','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20hopperHistories?','delete\x20hopperHistories','QueueCampaignHoppersController','getQueueCampaignHoppers','queueCampaignHoppers','selectedQueueCampaignHoppers','delete\x20hoppers','deleteHopper','followuptime','QueueCampaignHopperStatisticsController','fresh','QueueCampaignlistaddController','QueueCampaignresetlistController','toggleAll','listSelected','Reset\x20Succesfull','MOTIONDIALER.ALL_TEAMS','MOTIONDIALER.SELECTED_TEAMS','QueueCampaignController','gotoQueueCampaigns','SYSTEM:GET_MUSICONHOLDS','musiconholds','musiconhold','dialQueueProject','QueueCampaigncloneController','app/main/apps/motiondialer/views/queueCampaigns/edit/clone/clone.html','app/main/apps/motiondialer/views/queueCampaigns/edit/listadd/listadd.html','app/main/apps/motiondialer/views/queueCampaigns/edit/blacklistadd/blacklistadd.html','QueueCampaignteamaddController','app/main/apps/motiondialer/views/queueCampaigns/edit/teamadd/teamadd.html','app/main/apps/motiondialer/views/queueCampaigns/edit/agentadd/agentadd.html','SYSTEM:queueCampaign.REMOVELIST','\x20will\x20be\x20reset.','app/main/apps/motiondialer/views/queueCampaigns/edit/resetlist/resetlist.html','QueueCampaignsController','selectedQueueCampaigns','ALWAYS','arrayautopause','\x27all\x27','arrayringinuse','\x27yes\x27','arraytimeoutrestart','arraymonitor_format','\x27wav\x27','wav49','\x27wav49\x27','\x27gsm\x27','arraysetinterfacevar','arraysetqueuevar','Progressive','\x27progressive\x27','PowerDialing','\x27power\x27','Predictive','Preview','BookedProgressive','arraydialPredictiveOptimization','AgentBusyFactor','DropRate','Round\x20Robin','\x27roundrobin\x27','vm.queueCampaign.dialMethod\x20===\x20\x27booked\x27','Least\x20Recent','\x27leastrecent\x27','vm.queueCampaign.dialMethod\x20!==\x20\x27booked\x27','Fewest\x20Calls','Linear','Weight\x20Random','\x27wrandom\x27','getQueueCampaigns','createOrEditQueueCampaign','exportSelectedQueueCampaigns','deleteSelectedQueueCampaigns','deselectQueueCampaigns','selectAllQueueCampaigns','delete\x20queueCampaign','app/main/apps/motiondialer/views/queueCampaigns/create/dialog.html','SYSTEM:DELETEvoiceQueue','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20queueCampaigns?','delete\x20QueueCampaigns','AbandonedCallsMotionDialerRealtimeController','dispose','onUpdateVoiceQueueReport','onSaveVoiceQueueReport','buildQuickFilters\x20vm.agents.rows','lastAssignedTo','Campaign','motion2.realtime.abandoned.bull.abandonedCalls:','AgentsMotionDialerRealtimeController','campaigns','ivrAnswerCallsDay','getCampaigns','app/main/apps/motiondialer/views/ivrCampaigns/create/dialog.html','rpcVoiceQueuesChannelsTmp','onRemove','redirectToNumber','getVoiceQueuesChannelHangup','Channel\x20','\x20properly\x20hangup!','\x20properly\x20redirect!','Which\x20number\x20do\x20you\x20want\x20transfer\x20the\x20call\x20to?','getVoiceQueuesChannelRedirect','QueueParamsMotionDialerRealtimeController','sumDuration','outboundBusyCallsDay','outboundCongestionCallsDay','outboundUnknownCallsDay','outboundBlacklistCallsDay','outboundAnswerAgiCallsDay','outboundReCallsDay','outboundRejectCallsDay','QueuesMotionDialerRealtimeController','startPredictive','startProgressive','erlangCalls','erlangAbandonmentRate','erlangBusyFactor','dialPredictiveInterval','dialPredictiveIntervalMaxThreshold','dialPredictiveIntervalMinThreshold','predictiveIntervalAvailable','predictiveIntervalTotalCalls','predictiveIntervalAnsweredCalls','predictiveIntervalDroppedCallsCallersExit','predictiveIntervalAvgTalktime','createOrEditMotionDialerQueue','showPredictiveQueueCampaignInfo','userVoiceQueueRt:save','MotionDialerQueueId','CreateOrEditQueueCampaignDialogController','app/main/apps/motiondialer/views/realtime/queues/predictive/dialog.html','PredictiveQueueCampaignDialogController','addMinutes','HH:mm:ss','CreateOrEditOpenchannelAccountDialogController','OPENCHANNEL.EDIT_OPENCHANNELACCOUNT','OPENCHANNEL.NEW_OPENCHANNELACCOUNT','addNewOpenchannelAccount','saveOpenchannelAccount','OpenchannelAccount\x20properly\x20created','api.openchannelAccount.save','OpenchannelAccount\x20properly\x20saved!','api.openchannelAccount.update','The\x20openchannelAccount\x20will\x20be\x20deleted.','Delete\x20OpenchannelAccount','OpenchannelAccount\x20properly\x20deleted!','api.openchannelAccount.delete','OpenchannelAccountActionsController','openchannelAccountApps','Key','\x27it\x27','\x27fr\x27','\x27uk\x27','Chinese\x20(Simplified)','\x27zh-TW\x27','US\x20East\x20(N.\x20Virginia)','OpenchannelQueueId','editOpenchannelAccountApp','deleteOpenchannelAccountApp','EditOpenchannelAccountApp','app/main/apps/openchannel/views/openchannelAccounts/edit/apps/','app/main/apps/openchannel/views/openchannelAccounts/edit/apps/interval/dialog.html','selectedOpenchannelAccountApps','OpenchannelAccountagentaddController','OPENCHANNEL.SELECTED_AGENTS','UserOpenchannelAccount','openchannelAccountApp','OPENCHANNEL.EDIT_','saveOpenchannelAccountApp','EditOpenchannelAccountAppamazonlexDialogController','EditOpenchannelAccountAppdialogflowDialogController','EditOpenchannelAccountAppgotoifDialogController','EditOpenchannelAccountAppintervalDialogController','EditOpenchannelAccountAppnoopDialogController','EditOpenchannelAccountAppqueueDialogController','openChannel','EditOpenchannelAccountAppsystemDialogController','EditOpenchannelAccountApptagDialogController','SYSTEM:GET_TAGS','OpenchannelAccountInteractionsController','openchannelAccountInteractions','selectedOpenchannelAccountInteractions','getOpenchannelAccountInteractions','createOrEditOpenchannelAccountInteraction','spyopenchannelInteraction','exportSelectedOpenchannelAccountInteractions','deleteSelectedOpenchannelAccountInteractions','openchannel.openchannelAccounts','app/main/apps/openchannel/views/openchannelAccounts/edit/interactions/dialog.html','SYSTEM:GETopenchannelAccount','OpenchannelAccountOpenchannelCannedAnswersController','openchannelAccountOpenchannelCannedAnswers','selectedOpenchannelAccountOpenchannelCannedAnswers','exportSelectedOpenchannelAccountOpenchannelCannedAnswers','deleteSelectedOpenchannelAccountOpenchannelCannedAnswers','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20openchannelCannedAnswer?','delete\x20openchannelCannedAnswer','CreateOrEditOpenchannelCannedAnswerDialogController','app/main/apps/openchannel/views/openchannelAccounts/edit/openchannelCannedAnswers/dialog.html','OpenchannelCannedAnswer\x20deleted!','delete\x20openchannelCannedAnswers','openchannelCannedAnswers','openchannelCannedAnswer','OPENCHANNEL.EDIT_OPENCHANNELCANNEDANSWER','newOpenchannelCannedAnswer','OPENCHANNEL.NEW_OPENCHANNELCANNEDANSWER','addNewOpenchannelCannedAnswer','deleteOpenchannelCannedAnswer','OpenchannelCannedAnswer\x20properly\x20created','OpenchannelCannedAnswer\x20properly\x20saved!','The\x20openchannelCannedAnswer\x20will\x20be\x20deleted.','Delete\x20OpenchannelCannedAnswer','OpenchannelCannedAnswer\x20properly\x20deleted!','OpenchannelAccountOpenchannelDispositionsController','openchannelAccountOpenchannelDispositions','selectedOpenchannelAccountOpenchannelDispositions','getOpenchannelAccountOpenchannelDispositions','deleteOpenchannelAccountOpenchannelDisposition','deleteSelectedOpenchannelAccountOpenchannelDispositions','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20openchannelDisposition?','openchannelDisposition\x20#','openchannelDisposition','delete\x20openchannelDisposition','app/main/apps/openchannel/views/openchannelAccounts/edit/openchannelDispositions/dialog.html','OpenchannelDisposition\x20deleted!','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20openchannelDispositions?','openchannelDispositions','CreateOrEditOpenchannelDispositionDialogController','OPENCHANNEL.NEW_OPENCHANNELDISPOSITION','addNewOpenchannelDisposition','saveOpenchannelDisposition','deleteOpenchannelDisposition','OpenchannelDisposition\x20properly\x20created','OpenchannelDisposition\x20properly\x20saved!','The\x20openchannelDisposition\x20will\x20be\x20deleted.','OpenchannelAccountController','deletedAt','SYSTEM:GET_FIELDS','app.openchannel.openchannelAccounts','OpenchannelAccount\x20updated!','OpenchannelAccountsController','selectedOpenchannelAccounts','deleteOpenchannelAccount','exportSelectedOpenchannelAccounts','deleteSelectedOpenchannelAccounts','deselectOpenchannelAccounts','selectAllOpenchannelAccounts','app.openchannel.openchannelAccounts.edit','delete\x20openchannelAccount','app/main/apps/openchannel/views/openchannelAccounts/create/dialog.html','SYSTEM:DELETEopenchannelAccount','delete\x20OpenchannelAccounts','CreateOrEditOpenchannelQueueDialogController','newOpenchannelQueue','OPENCHANNEL.NEW_OPENCHANNELQUEUE','saveOpenchannelQueue','OpenchannelQueue\x20properly\x20created','api.openchannelQueue.save','OpenchannelQueue\x20properly\x20saved!','api.openchannelQueue.update','Delete\x20OpenchannelQueue','api.openchannelQueue.delete','OpenchannelQueueagentaddController','OPENCHANNEL.ALL_AGENTS','UserOpenchannelQueue','OPENCHANNEL.ALL_TEAMS','OPENCHANNEL.SELECTED_TEAMS','OpenchannelQueueController','gotoOpenchannelQueues','OpenchannelQueueteamaddController','app/main/apps/openchannel/views/openchannelQueues/edit/teamadd/teamadd.html','app/main/apps/openchannel/views/openchannelQueues/edit/agentadd/agentadd.html','OpenchannelQueue\x20updated!','OpenchannelQueuesController','selectedOpenchannelQueues','arraystrategy','createOrEditOpenchannelQueue','deleteOpenchannelQueue','app.openchannel.realtime.queues','OpenchannelQueue','SYSTEM:DELETEopenchannelQueue','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20openchannelQueues?','delete\x20OpenchannelQueues','QueuesOpenchannelRealtimeController','app/main/apps/openchannel/views/openchannelQueues/create/dialog.html','OpenchannelRealtimeController','PluginController','adminUrl','cloudProviders','CloudProvidersController','selectedAiTools','arrayservice','AmazonAWS','\x27AmazonAWS\x27','getAiTools','createOrEditCloudProvider','deleteCloudProvider','exportSelectedAiTools','deleteSelectedAiTools','deselectAiTools','CreateOrEditCloudProviderDialogController','app/main/apps/settings/views/cloudProviders/create/dialog.html','CloudProvider','SYSTEM:DELETEcloudProvider','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20cloudProviders?','delete\x20CloudProviders','SETTINGS.EDIT_CLOUDPROVIDER','newCloudProvider','SETTINGS.NEW_CLOUDPROVIDER','addNewCloudProvider','saveCloudProvider','CloudProvider\x20properly\x20created','api.cloudProvider.save','CloudProvider\x20properly\x20saved!','api.cloudProvider.update','The\x20cloudProvider\x20will\x20be\x20deleted.','Delete\x20CloudProvider','CloudProvider\x20properly\x20deleted!','api.cloudProvider.delete','customizations','customization','CreateOrEditCustomizationDialogController','SETTINGS.EDIT_CUSTOMIZATION','newCustomization','SETTINGS.NEW_CUSTOMIZATION','addNewCustomization','saveCustomization','api.setting.save','Customization\x20properly\x20saved!','api.setting.update','The\x20customization\x20will\x20be\x20deleted.','Delete\x20Customization','Customization\x20properly\x20deleted!','api.setting.delete','CustomizationsController','SYSTEM:GETsetting','Customization\x20updated!','CustomizationfaviconController','/api/settings/1/favicon','ico','CustomizationlogoController','/api/settings/1/logo','CustomizationlogologinController','/api/settings/1/logo_login','CustomizationpreferredController','/api/settings/1/preferred','generals','general','CreateOrEditGeneralDialogController','newGeneral','https://www.xcally.com/bar/phonebar/autoupdater.xml','deleteGeneral','SYSTEM:GET_CLOUDPROVIDERS','General\x20properly\x20saved!','The\x20general\x20will\x20be\x20deleted.','Delete\x20General','General\x20properly\x20deleted!','GeneralsController','saveGeneral','General\x20updated!','LicenseController','channels','modules','icon-account-circle','icon-crosshairs','icon-console','addons','icon-server-plus','jaws','icon-table-edit','icon-video','icon-text-to-speech','icon-sitemap','virtual','icon-cloud-download','requestLicense','gotoProcess','user,admin','UpdateLicenseDialogController','app/main/apps/settings/views/license/update/dialog.html','RequestLicenseDialogController','app/main/apps/settings/views/license/request/dialog.html','sendRequest','||FIELD||OLD||NEW||\x0a','|{color:red}','*|\x0a','MOTLICENSE','SETTINGS.LICENSE_REQUEST_SENT','SETTINGS.JIRA_ERROR_MESSAGE','licenseKey','demo','License\x20update\x20failed!','License\x20properly\x20updated!','The\x20license\x20has\x20been\x20updated!','SYSTEM:UPDATElicense','networks','CreateOrEditNetworkDialogController','newNetwork','localnet','SETTINGS.NEW_NETWORK','addNewNetwork','deleteNetwork','Network\x20properly\x20created','api.network.save','Network\x20properly\x20saved!','api.network.update','The\x20network\x20will\x20be\x20deleted.','Delete\x20Network','Network\x20properly\x20deleted!','api.network.delete','NetworksController','selectedNetworks','LocalNET','ExternIP','Turn','\x27turn\x27','Stun','getNetworks','createOrEditNetwork','deleteSelectedNetworks','deselectNetworks','selectAllNetworks','app/main/apps/settings/views/networks/create/dialog.html','delete\x20network','Networks','Network','SYSTEM:DELETEnetwork','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20networks?','smtps','smtp','CreateOrEditSmtpDialogController','SETTINGS.EDIT_SMTP','newSmtp','SETTINGS.NEW_SMTP','saveSmtp','Smtp\x20properly\x20saved!','The\x20smtp\x20will\x20be\x20deleted.','Smtp\x20properly\x20deleted!','api.mailAccount.delete','SmtpController','Smtp\x20verified!','\x20has\x20been\x20verified!','Smtp\x20not\x20verified!\x20Remember\x20to\x20save\x20before\x20to\x20verify!','Smtp\x20updated!','SystemController','processLimit','getInfo','getProcesses','cancelInterval','updateProcess','Would\x20you\x20like\x20to\x20change\x20the\x20status\x20of\x20the\x20process\x20#','The\x20status\x20will\x20be\x20changed\x20to:\x20','Status\x20properly\x20changed\x20to:\x20','processes','SETTINGS.UPDATE','updating','output','progress','stopInterval','fetch','...','migrations','restart','Waiting\x20to\x20restart\x20motion...','updateConfirm','Would\x20you\x20like\x20to\x20update\x20your\x20system?','The\x20system\x20request\x20time\x20for\x20the\x20update\x20should\x20be\x20below\x201\x20minute.

Do\x20you\x20agree\x20the\x20terms\x20of\x20this\x20End\x20User\x20License\x20Agreement?','I\x20agree','Disagree','UpdateDialogController','app/main/apps/settings/views/updates/update/dialog.html','AgentsSmsRealtimeController','QueuesSmsRealtimeController','createOrEditSmsQueue','sms_queue:save','SmsQueueId','CreateOrEditSmsQueueDialogController','SmsQueueagentaddController','app/main/apps/sms/views/smsQueues/edit/agentadd/agentadd.html','SmsRealtimeController','CreateOrEditSmsAccountDialogController','SMS.EDIT_SMSACCOUNT','newSmsAccount','twilio','addNewSmsAccount','saveSmsAccount','SmsAccount\x20properly\x20created','api.smsAccount.save','api.smsAccount.update','The\x20smsAccount\x20will\x20be\x20deleted.','Delete\x20SmsAccount','SmsAccount\x20properly\x20deleted!','api.smsAccount.delete','SmsAccountActionsController','smsAccountApps','selectedSmsAccountApps','\x27th\x27','getSmsAccountApps','editSmsAccountApp','deleteSelectedSmsAccountApps','app/main/apps/sms/views/smsAccounts/edit/apps/','EditSmsAccountAppintervalDialogController','app/main/apps/sms/views/smsAccounts/edit/apps/interval/dialog.html','SMS.ALL_AGENTS','SMS.SELECTED_AGENTS','UserSmsAccount','smsAccountApp','EditSmsAccountAppagentDialogController','SMS.EDIT_','saveSmsAccountApp','EditSmsAccountAppamazonlexDialogController','EditSmsAccountAppautoreplyDialogController','EditSmsAccountAppdialogflowDialogController','EditSmsAccountAppgotoifDialogController','EditSmsAccountAppgotopDialogController','EditSmsAccountAppnoopDialogController','EditSmsAccountAppqueueDialogController','EditSmsAccountAppsystemDialogController','EditSmsAccountApptagDialogController','SmsAccountInteractionsController','smsAccountInteractions','smsInteractionDownload','createOrEditSmsAccountInteraction','spysmsInteraction','exportSelectedSmsAccountInteractions','deleteSmsAccountInteraction','deleteSelectedSmsAccountInteractions','sms.smsAccounts','app/main/apps/sms/views/smsAccounts/edit/interactions/dialog.html','SYSTEM:GETsmsAccount','selectedSmsAccountInteractions','selectedSmsAccountSmsCannedAnswers','createOrEditSmsAccountSmsCannedAnswer','deleteSmsAccountSmsCannedAnswer','deleteSelectedSmsAccountSmsCannedAnswers','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20smsCannedAnswer?','smsCannedAnswer','smsAccountSmsCannedAnswers','SmsCannedAnswer\x20deleted!','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20smsCannedAnswers?','delete\x20smsCannedAnswers','smsCannedAnswers','SMS.EDIT_SMSCANNEDANSWER','newSmsCannedAnswer','SMS.NEW_SMSCANNEDANSWER','addNewSmsCannedAnswer','SmsCannedAnswer\x20properly\x20created','SmsCannedAnswer\x20properly\x20saved!','The\x20smsCannedAnswer\x20will\x20be\x20deleted.','Delete\x20SmsCannedAnswer','SmsCannedAnswer\x20properly\x20deleted!','smsAccountSmsDispositions','selectedSmsAccountSmsDispositions','getSmsAccountSmsDispositions','createOrEditSmsAccountSmsDisposition','exportSelectedSmsAccountSmsDispositions','deleteSmsAccountSmsDisposition','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20smsDisposition?','smsDisposition\x20#','smsDisposition','CreateOrEditSmsDispositionDialogController','app/main/apps/sms/views/smsAccounts/edit/smsDispositions/dialog.html','SmsDisposition\x20deleted!','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20smsDispositions?','delete\x20smsDispositions','smsDispositions','SMS.EDIT_SMSDISPOSITION','newSmsDisposition','SMS.NEW_SMSDISPOSITION','addNewSmsDisposition','saveSmsDisposition','deleteSmsDisposition','SmsDisposition\x20properly\x20saved!','SmsDisposition\x20properly\x20deleted!','SmsAccountController','gotoSmsAccounts','SmsAccountagentaddController','app/main/apps/sms/views/smsAccounts/edit/agentadd/agentadd.html','app.sms.smsAccounts','SmsAccount\x20updated!','selectedSmsAccounts','Twilio','\x27twilio\x27','Skebby','\x27skebby\x27','Connectel','\x27connectel\x27','ClickSend','\x27clicksend\x27','\x27plivo\x27','\x27infobip\x27','Clickatell','\x27clickatell\x27','CSCTelecom','\x27csc\x27','\x27intelepeer\x27','arraysmsMethod','Basic','\x27SI\x27','\x27TI\x27','Classic+','\x27GP\x27','createOrEditSmsAccount','deleteSmsAccount','exportSelectedSmsAccounts','selectAllSmsAccounts','app/main/apps/sms/views/smsAccounts/create/dialog.html','SmsAccount','SYSTEM:DELETEsmsAccount','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20smsAccounts?','delete\x20SmsAccounts','SMS.EDIT_SMSQUEUE','newSmsQueue','addNewSmsQueue','saveSmsQueue','SmsQueue\x20properly\x20created','api.smsQueue.save','SmsQueue\x20properly\x20saved!','api.smsQueue.update','Delete\x20SmsQueue','api.smsQueue.delete','UserSmsQueue','SmsQueueteamaddController','SMS.ALL_TEAMS','SMS.SELECTED_TEAMS','SmsQueueController','gotoSmsQueues','SYSTEM:GETsmsQueue','SmsQueuesController','selectedSmsQueues','deleteSmsQueue','deselectSmsQueues','selectAllSmsQueues','app/main/apps/sms/views/smsQueues/edit/teamadd/teamadd.html','delete\x20smsQueue','SmsQueue','SYSTEM:DELETEsmsQueue','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20smsQueues?','AgentsController','selectedAgents','arrayshowWebBar','Phonebar','External','WebRTC','udp','\x27udp\x27','tcp','\x27tcp\x27','\x27ws\x27','vm.agent.showWebBar\x20==\x201','wss','\x27wss\x27','tls','\x27tls\x27','force_rport','comedia','\x27comedia\x27','\x27route\x27','Friend','\x27friend\x27','Peer','arrayallow','ulaw','\x27ulaw\x27','alaw','\x27g722\x27','g729','opus','\x27opus\x27','arrayvideosupport','arrayextensionMonitor','Inactive','\x27WAV\x27','createOrEditAgent','deleteAgent','exportSelectedAgents','deleteSelectedAgents','deselectAgents','selectAllAgents','AgentteamaddController','app/main/apps/staff/views/agents/edit/teamadd/teamadd.html','delete\x20agent','CreateOrEditAgentDialogController','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20agents?','friend','STAFF.NEW_AGENT','addNewAgent','saveAgent','Agent\x20properly\x20created','Agent\x20properly\x20saved!','The\x20agent\x20will\x20be\x20deleted.','Delete\x20Agent','Agent\x20properly\x20deleted!','api.user.delete','Agentchange_avatarController','api/users/','/avatar','AgentchangepasswordController','oldPassword','savePassword','agentForm','$setValidity','oldPasswordMatch','changePassword','Agent\x20password\x20properly\x20updated!','api.agent.save','api.agent.changePassword','AgentPermissionsController','onChange','agent\x20updated!','STAFF.QUEUEADD_AGENT_','STAFF.ALL_QUEUES_','STAFF.SELECTED_QUEUES_','saveQueues','id,name,strategy,type,penalty','bull','addQueues','removeQueues','SYSTEM:QUEUES_ASSOCIATION','STAFF.ALL_TEAMS','STAFF.SELECTED_TEAMS','AgentController','changepassworddialog','onEnableScreenRecordingByAgentSelection','contexts','SYSTEM:GET_CONTEXTS','app/main/apps/staff/views/agents/edit/changepassword/changepassword.html','Agent\x20updated!','SYSTEM:GETuser','CreateOrEditTeamDialogController','STAFF.EDIT_TEAM','teams','newTeam','STAFF.NEW_TEAM','addNewTeam','deleteTeam','Team\x20properly\x20created','api.team.save','Team\x20properly\x20saved!','api.team.update','The\x20team\x20will\x20be\x20deleted.','Delete\x20Team','Team\x20properly\x20deleted!','api.team.delete','TeamagentaddController','STAFF.ALL_AGENTS','STAFF.SELECTED_AGENTS','TeamsController','selectedTeams','createOrEditTeam','exportSelectedTeams','deleteSelectedTeams','app/main/apps/staff/views/teams/create/dialog.html','app/main/apps/staff/views/teams/edit/agentadd/agentadd.html','delete\x20team','Team','SYSTEM:DELETEteam','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20teams?','delete\x20Teams','CreateOrEditTelephoneDialogController','STAFF.EDIT_TELEPHONE','from-sip','STAFF.NEW_TELEPHONE','newTelephone','saveTelephone','deleteTelephone','Telephone\x20properly\x20created','Telephone\x20properly\x20saved!','The\x20telephone\x20will\x20be\x20deleted.','Telephone\x20properly\x20deleted!','TelephonechangepasswordController','telephoneForm','api.telephone.changePassword','TelephoneController','gotoTelephones','SYSTEM:GETcontexts','app.staff.telephones','Telephone\x20updated!','selectedTelephones','arraytransport','arraynat','\x27force_rport\x27','\x27alaw\x27','g722','\x27g729\x27','h264','getTelephones','deleteSelectedTelephones','selectAllTelephones','app.staff.telephones.edit','app/main/apps/staff/views/telephones/create/dialog.html','Telephone','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20telephones?','delete\x20Telephones','userProfiles','CreateOrEditUserProfileDialogController','STAFF.EDIT_USERPROFILE','newUserProfile','STAFF.NEW_USERPROFILE','deleteUserProfile','UserProfile\x20properly\x20created','api.userProfile.save','UserProfile\x20properly\x20saved!','api.userProfile.update','The\x20userProfile\x20will\x20be\x20deleted.','api.userProfile.delete','DELETE_PERMISSION','selectedcrudPermissions','UserProfilecloneController','STAFF.CLONE_USERPROFILE','cloneUserProfile','UserProfile\x20properly\x20cloned','api.userProfile.clone','READ_PERMISSION','UserProfilePermissionsController','statusList','full','Partially\x20Enabled','orange-A700-bg','Some\x20resources\x20enabled','partial','Disabled','grey-A400-bg','red-A700-bg','Module\x20not\x20included\x20in\x20the\x20license','Unknown','grey-A700-bg','Unknown\x20status','dashboardSections','Dashboards','DASHBOARDS.DASHBOARDS','onChangeEnableAllResources','manageResources','checkSectionResources','association','Marketplace','AppZone','Fully\x20Enabled','STAFF.PERMISSIONS_WARNING_ENABLE_ALL','STAFF.CONFIRM','STAFF.CANCEL','CallySquare','addSections','STAFF.NOTIFICATIONS.PERMISSIONS_ENABLED_ALL_SUCCESS_TITLE','STAFF.NOTIFICATIONS.PERMISSIONS_ENABLED_ALL_SUCCESS_MESSAGE','SYSTEM:USERPROFILE.ADDSECTIONS','STAFF.NOTIFICATIONS.PERMISSIONS_ENABLED_ALL_SUCCESS_MESSAGE_NO_RESOURCES','Settings','STAFF.NOTIFICATIONS.PERMISSIONS_DISABLED_ALL_SUCCESS_TITLE','STAFF.NOTIFICATIONS.PERMISSIONS_DISABLED_ALL_SUCCESS_MESSAGE','SYSTEM:USERPROFILE.REMOVESECTIONS','UserProfilepermissionsmanageController','allResourcesEnabled','unlicensed','id,name,strategy,type','InboundRoutes','reportType','USERPROFILE:GETRESOURCES(','STAFF.PERMISSIONS_SECTION_TITLE','dashboardItems','selectedSection','loadedSection','onChangeSection','onChangeVisibility','onChangeAutoAssociation','onChangeReportType','setPermission','saveSection','fullPath','STAFF.PERMISSIONS_SELECTED_RESOURCES','STAFF.PERMISSIONS_PLACEHOLDER_SEARCH','pullAllBy','unionBy','Reports','DASHBOARDS.GENERAL','pending','associatedReports','defaultEntry','allReportsSelected','SYSTEM:GET_TREE_REPORT_STRUCTURE','allowEdit','allowDelete','Integrations','STAFF.NOTIFICATIONS.PERMISSIONS_SAVED_SUCCESS_TITLE','STAFF.NOTIFICATIONS.PERMISSIONS_SAVED_SUCCESS_MESSAGE','treeStructure','STAFF.PERMISSIONS_WARNING_CLOSE','STAFF.CLOSE','gotoUserProfiles','saveUserProfile','app/main/apps/staff/views/userProfiles/edit/permissionsmanage/permissionsmanage.html','app/main/apps/staff/views/userProfiles/edit/clone/clone.html','UserProfile\x20updated!','SYSTEM:GETuserProfile','UserProfilesController','arraycrudPermissions','Read_permission','\x27r\x27','Edit_permission','\x27e\x27','option','createOrEditUserProfile','exportSelectedUserProfiles','deleteSelectedUserProfiles','selectAllUserProfiles','app.staff.userProfiles.edit','delete\x20userProfile','getUserProfiles','UserProfiles','UserProfile','SYSTEM:DELETEuserProfile','selectedUserProfiles','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20userProfiles?','delete\x20UserProfiles','STAFF.EDIT_USER','newUser','STAFF.NEW_USER','addNewUser','deleteUser','SYSTEM:GET_USERPROFILES','User\x20properly\x20saved!','User\x20not\x20deleted!','You\x20can\x27t\x20remove\x20yourself','User\x20properly\x20deleted!','generateApiKey','removeApiKey','createApiKey','User\x20API\x20key\x20updated!','api.user.createApiKey','User\x20API\x20key\x20removed!','api.user.removeApiKey','Userchange_avatarController','userForm','User\x20password\x20properly\x20updated!','api.user.changePassword','UserController','apikeymanagerdialog','gotoUsers','saveUser','api_key','N/A','SYSTEM:GET_APIKEY','UserapikeymanagerController','app/main/apps/staff/views/users/edit/apikeymanager/apikeymanager.html','UserchangepasswordController','User\x20updated!','UsersController','selectedUsers','arrayrole','Admin','\x27admin\x27','\x27user\x27','\x27h264\x27','createOrEditUser','exportSelectedUsers','deleteSelectedUsers','deselectUsers','delete\x20user','CreateOrEditUserDialogController','app/main/apps/staff/views/users/create/dialog.html','SYSTEM:DELETEuser','delete\x20Users','cannedAnswers','getCannedAnswers','createOrEditCannedAnswer','exportSelectedCannedAnswers','deselectCannedAnswers','CreateOrEditCannedAnswerDialogController','delete\x20cannedAnswer','CannedAnswers','app/main/apps/tools/views/cannedAnswers/create/dialog.html','CannedAnswer','selectedCannedAnswers','newCannedAnswer','TOOLS.NEW_CANNEDANSWER','addNewCannedAnswer','saveCannedAnswer','deleteCannedAnswer','CannedAnswer\x20properly\x20created','CannedAnswer\x20properly\x20saved!','The\x20cannedAnswer\x20will\x20be\x20deleted.','Delete\x20CannedAnswer','CannedAnswer\x20properly\x20deleted!','customDashboards','TOOLS.EDIT_CUSTOMDASHBOARD','newCustomDashboard','TOOLS.NEW_CUSTOMDASHBOARD','saveCustomDashboard','deleteCustomDashboard','CustomDashboard\x20properly\x20created','api.dashboard.save','CustomDashboard\x20properly\x20saved!','api.dashboard.update','The\x20customDashboard\x20will\x20be\x20deleted.','CustomDashboard\x20properly\x20deleted!','api.dashboard.delete','CustomDashboardsController','selectedCustomDashboards','gotodashboardgoto','createOrEditCustomDashboard','exportSelectedCustomDashboards','deleteSelectedCustomDashboards','deselectCustomDashboards','selectAllCustomDashboards','CustomDashboardcloneController','app/main/apps/tools/views/customDashboards/edit/clone/clone.html','delete\x20customDashboard','getCustomDashboards','CreateOrEditCustomDashboardDialogController','app/main/apps/tools/views/customDashboards/create/dialog.html','CustomDashboard','SYSTEM:DELETEdashboard','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20customDashboards?','delete\x20CustomDashboards','cloneCustomDashboard','CustomDashboard\x20properly\x20cloned','api.dashboard.clone','CustomDashboardItemsController','createOrEditWidget','deleteWidget','.draggable','.resizable','attrReport','CreateOrEditDashboardItemDialogController','app/main/apps/tools/views/customDashboards/edit/dashboard/dialog.html','Would\x20you\x20like\x20to\x20delete\x20','dashboardItem','Widget\x20has\x20been\x20deleted!','SYSTEM:DELETE.customDashboard','dashboarditem','TOOLS.EDIT_DASHBOARDITEM','newDashboardItem','counter','https://','0.00','TOOLS.NEW_DASHBOARDITEM','id,name,parent','currentReport','addNewDashboardItem','saveDashboardItem','selectReport','searchReport','SYSTEM:GET_TREEREPORTS','SYSTEM:GET_VOICEQUEUES','SYSTEM:GETvoiceQueues','DashboardItem\x20properly\x20created','api.dashboardItem.save','api.dashboardItem.update','The\x20dashboarditem\x20will\x20be\x20deleted.','Delete\x20DashboardItem','DashboardItem\x20properly\x20deleted!','api.dashboardItem.delete','SYSTEM:GET_REPORTS','selectedReport','treeConfig','treeCustomEvents','app/main/apps/tools/views/customDashboards/partialViews/reports/treeReports.html','dashboarditemForm','$setDirty','CustomDashboardController','gotoCustomDashboards','CustomDashboard\x20updated!','SYSTEM:GETdashboard','CreateOrEditDispositionDialogController','TOOLS.EDIT_DISPOSITION','newDisposition','addNewDisposition','Disposition\x20properly\x20created','Disposition\x20properly\x20saved!','The\x20disposition\x20will\x20be\x20deleted.','Delete\x20Disposition','Disposition\x20properly\x20deleted!','DispositionsController','selectedDispositions','createOrEditDisposition','deleteDisposition','exportSelectedDispositions','deleteSelectedDispositions','deselectDispositions','selectAllDispositions','delete\x20disposition','app/main/apps/tools/views/dispositions/create/dialog.html','SYSTEM:DELETEdisposition','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20dispositions?','delete\x20Dispositions','CreateOrEditIntervalDialogController','Interval\x20properly\x20deleted!','api.interval.delete','EditAppintervalDialogController','IntervalIntervalsController','intervalIntervals','selectedIntervalIntervals','addIntervals','models','SYSTEM:SORTABLETABLE','createdAt,updatedAt,id,name,interval','getIntervalIntervals','createOrEditIntervalInterval','exportSelectedIntervalIntervals','deleteIntervalInterval','deleteSelectedIntervalIntervals','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20interval?','delete\x20interval','Interval\x20deleted!','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20intervals?','delete\x20intervals','deleteInterval','The\x20interval\x20will\x20be\x20deleted.','Delete\x20Interval','gotoIntervals','selectedIntervals','createOrEditInterval','exportSelectedIntervals','app/main/apps/tools/views/intervals/create/dialog.html','SYSTEM:DELETEinterval','delete\x20Intervals','CreateOrEditPauseDialogController','TOOLS.EDIT_PAUSE','newPause','TOOLS.NEW_PAUSE','addNewPause','savePause','Pause\x20properly\x20created','api.pause.save','Pause\x20properly\x20saved!','api.pause.update','The\x20pause\x20will\x20be\x20deleted.','api.pause.delete','PausesController','selectedPauses','getPauses','deletePause','exportSelectedPauses','deselectPauses','app/main/apps/tools/views/pauses/create/dialog.html','delete\x20pause','SYSTEM:DELETEpause','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20pauses?','delete\x20Pauses','newSchedule','0\x200\x20*\x20*\x20*','deleteSchedule','closeReportDialog','SYSTEM:GETmailAccounts','schedules','Schedule\x20properly\x20created','api.schedule.save','api.schedule.update','The\x20schedule\x20will\x20be\x20deleted.','Delete\x20Schedule','Schedule\x20properly\x20deleted!','api.schedule.delete','treeDefaultData','app/main/apps/tools/views/schedules/partialViews/reports/treeReports.html','scheduleForm','arrayoutput','CSV','\x27csv\x27','PDF','\x27pdf\x27','Excel','\x27xlsx\x27','arraysubtractUnit','Minutes','\x27minutes\x27','Hours','\x27hours\x27','Days','\x27days\x27','Weeks','\x27weeks\x27','Months','\x27months\x27','Quarters','\x27quarters\x27','runconfirm','getScheduler','createOrEditSchedule','exportSelectedScheduler','deleteSelectedScheduler','deselectScheduler','selectAllScheduler','SYSTEM:GET_MAILACCOUNTS','CreateOrEditScheduleDialogController','Are\x20you\x20sure\x20want\x20to\x20run\x20the\x20schedule?','\x20will\x20be\x20run.','delete\x20schedule','app/main/apps/tools/views/schedules/create/dialog.html','Schedule','SYSTEM:DELETEschedule','selectedScheduler','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20schedules?','TOOLS.EDIT_SOUND','newSound','TOOLS.NEW_SOUND','addNewSound','saveSound','deleteSound','Sound\x20properly\x20created','api.sound.save','Sound\x20properly\x20saved!','api.sound.update','The\x20sound\x20will\x20be\x20deleted.','Delete\x20Sound','api.sound.delete','SoundsController','selectedSounds','createOrEditSound','exportSelectedSounds','deleteSelectedSounds','uploadSound','app/main/apps/tools/views/sounds/create/dialog.html','converted_format','save_name','delete\x20sound','CreateOrEditSoundDialogController','Sound','SYSTEM:DELETEsound','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20sounds?','delete\x20Sounds','app/main/apps/tools/views/sounds/upload/dialog.html','UploadSoundDialogController','TOOLS.UPLOAD_SOUND','uploadSounds','api/sounds','mp3','Cannot\x20upload\x20the\x20sound','CreateOrEditTagDialogController','TOOLS.EDIT_TAG','newTag','TOOLS.NEW_TAG','addNewTag','saveTag','Tag\x20properly\x20created','api.tag.save','Tag\x20properly\x20saved!','api.tag.update','The\x20tag\x20will\x20be\x20deleted.','Delete\x20Tag','Tag\x20properly\x20deleted!','api.tag.delete','TagsController','createOrEditTag','deleteTag','exportSelectedTags','deleteSelectedTags','selectAllTags','app/main/apps/tools/views/tags/create/dialog.html','delete\x20tag','SYSTEM:DELETEtag','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20tags?','delete\x20Tags','CreateOrEditTemplateDialogController','newTemplate','TOOLS.NEW_TEMPLATE','deleteTemplate','api.template.save','api.template.update','The\x20template\x20will\x20be\x20deleted.','Delete\x20Template','Template\x20properly\x20deleted!','api.template.delete','TemplatesController','selectedTemplates','getTemplates','exportSelectedTemplates','deselectTemplates','selectAllTemplates','app/main/apps/tools/views/templates/create/dialog.html','delete\x20template','Template','SYSTEM:DELETEtemplate','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20templates?','delete\x20Templates','triggers','CreateOrEditTriggerDialogController','TOOLS.EDIT_TRIGGER','newTrigger','TOOLS.NEW_TRIGGER','saveTrigger','deleteTrigger','api.trigger.save','Trigger\x20properly\x20saved!','api.trigger.update','Delete\x20Trigger','Trigger\x20properly\x20deleted!','api.trigger.delete','TriggerActionsController','selectedTriggerActions','arrayaction','CONTACT_MANAGER','vm.trigger.channel\x20==\x20\x27voice\x27','INTEGRATIONS','vm.trigger.channel\x20==\x20\x27voice\x27\x20&&\x20((vm.newAction\x20&&\x20vm.hasModulePermissions.Integrations)\x20||\x20!vm.newAction)','MOTION_BAR','\x27motionbar\x27','JSCRIPTY','\x27urlForward\x27','BROWSER','\x27browser\x27','BOT','\x27bot\x27','SCRIPT','\x27script\x27','browserValues','Popup','autoCreateContact','urlForwardValues','\x27GET\x27','\x27POST\x27','\x27PUT\x27','DELETE','\x27DELETE\x27','\x27zendesk\x27','(vm.newAction\x20&&\x20vm.hasSectionPermissions[1301])\x20||\x20!vm.newAction','(!vm.newAction\x20&&\x20!vm.hasSectionPermissions[1301])','Salesforce','(vm.newAction\x20&&\x20vm.hasSectionPermissions[1302])\x20||\x20!vm.newAction','SugarCRM','(!vm.newAction\x20&&\x20!vm.hasSectionPermissions[1305])','Freshdesk','\x27freshdesk\x27','(vm.newAction\x20&&\x20vm.hasSectionPermissions[1303])\x20||\x20!vm.newAction','(!vm.newAction\x20&&\x20!vm.hasSectionPermissions[1303])','Desk','\x27desk\x27','(vm.newAction\x20&&\x20vm.hasSectionPermissions[1306])\x20||\x20!vm.newAction','(!vm.newAction\x20&&\x20!vm.hasSectionPermissions[1306])','\x27zoho\x27','(vm.newAction\x20&&\x20vm.hasSectionPermissions[1307])\x20||\x20!vm.newAction','(!vm.newAction\x20&&\x20!vm.hasSectionPermissions[1307])','vTiger','\x27vtiger\x27','(vm.newAction\x20&&\x20vm.hasSectionPermissions[1308])\x20||\x20!vm.newAction','(!vm.newAction\x20&&\x20!vm.hasSectionPermissions[1308])','Dynamics365','\x27dynamics365\x27','(vm.newAction\x20&&\x20vm.hasSectionPermissions[1309])\x20||\x20!vm.newAction','(!vm.newAction\x20&&\x20!vm.hasSectionPermissions[1309])','\x27servicenow\x27','(vm.newAction\x20&&\x20vm.hasSectionPermissions[1310])\x20||\x20!vm.newAction','(!vm.newAction\x20&&\x20!vm.hasSectionPermissions[1310])','Freshsales','(vm.newAction\x20&&\x20vm.hasSectionPermissions[1311])\x20||\x20!vm.newAction','(!vm.newAction\x20&&\x20!vm.hasSectionPermissions[1311])','motionbarValues','eventVariables','NEW_TAB','NEW_WINDOW','getTriggerActions','createOrEditTriggerAction','exportSelectedTriggerActions','deleteTriggerAction','deleteSelectedTriggerActions','triggerActions','contactManager','data1','SYSTEM:GET_ZENDESKACCOUNTS','SYSTEM:GET_DESKACCOUNTS','SYSTEM:GET_ZOHOACCOUNTS','SYSTEM:GET_SALESFORCEACCOUNTS','SYSTEM:GET_SUGARCRMACCOUNTS','SYSTEM:GET_FRESHDESKACCOUNTS','SYSTEM:GET_VTIGERACCOUNTS','SYSTEM:GET_DYNAMICS365ACCOUNTS','SYSTEM:GET_SERVICENOWACCOUNTS','SYSTEM:GET_FRESHSALESACCOUNTS','SYSTEM:GET_ZENDESKCONFIGURATIONS','SYSTEM:GET_DESKCONFIGURATIONS','id,name,AccountId','zohoConfigurations','SYSTEM:GET_ZOHOCONFIGURATIONS','salesforceConfigurations','SYSTEM:GET_SALESFORCECONFIGURATIONS','SYSTEM:GET_SUGARCRMCONFIGURATIONS','freshdeskConfigurations','SYSTEM:GET_FRESHDESKCONFIGURATIONS','SYSTEM:GET_VTIGERCONFIGURATIONS','SYSTEM:GET_DYNAMICS365CONFIGURATIONS','servicenowConfigurations','SYSTEM:GET_SERVICENOWCONFIGURATIONS','freshsalesConfigurations','SYSTEM:GET_FRESHSALESCONFIGURATIONS','SYSTEM:GET_TEMPLATES','motionbar','data2','hasSectionPermissions','SYSTEM:GET_INTEGRATIONS_PERMISSIONS','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20action?','action\x20#','CreateOrEditActionDialogController','app/main/apps/tools/views/triggers/edit/actions/dialog.html','Action\x20deleted!','SYSTEM:GETtrigger','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20actions?','delete\x20actions','TOOLS.EDIT_ACTION','TOOLS.NEW_ACTION','ActionId','addNewAction','saveAction','onActionInit','onIntegrationInit','sugarcrmConfigurations','vtigerConfigurations','dynamics365Configurations','SYSTEM:GET_MODULES_PERMISSIONS','hasSectionsPermissions','SYSTEM:GET_SECTIONS_PERMISSIONS','addAction','Action\x20properly\x20created','api.action.save','Delete\x20Action','Action\x20properly\x20deleted!','api.action.delete','TriggerAllConditionsController','triggerAllConditions','selectedTriggerAllConditions','createdAt,updatedAt,id,field,operator,value','arrayfield','\x27queue\x27','Call_Status','OutboundRoute','\x27account\x27','vm.trigger.channel\x20!=\x20\x27voice\x27','\x27interaction\x27','\x27message\x27','Equals','\x27equals\x27','Not_Equals','\x27not_equals\x27','callStatusValues','Abandon','\x27abandoned\x27','\x27complete\x27','\x27rejected\x27','Ring','\x27called\x27','Answer','\x27connect\x27','interactionStatusValues','Opened','\x27opened\x27','Closed','\x27closed\x27','messageStatusValues','Incoming','\x27in\x27','Outgoing','\x27accept\x27','\x27reject\x27','getTriggerAllConditions','exportSelectedTriggerAllConditions','deleteTriggerAllCondition','SYSTEM:GET_CHATACCOUNTS','SYSTEM:GET_SMSACCOUNTS','SYSTEM:GET_WHATSAPPACCOUNTS','SYSTEM:GET_FAXACCOUNTS','SYSTEM:GETfaxAccounts','SYSTEM:GET_OPENCHANNELACCOUNTS','SYSTEM:GETopenchannelAccounts','id,exten','outboundRoutes','SYSTEM:GEToutboundRoutes','TriggerAllId','allCondition\x20#','allCondition','app/main/apps/tools/views/triggers/edit/allconditions/dialog.html','AllCondition\x20deleted!','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20allconditions?','delete\x20allconditions','allconditions','CreateOrEditAllConditionDialogController','newAllCondition','opened','addNewAllCondition','saveAllCondition','deleteAllCondition','SYSTEM:GETchatAccounts','SYSTEM:GETsmsAccounts','SYSTEM:GETwhatsappAccounts','SYSTEM:GET_OUTBOUNDROUTES','addAllCondition','api.condition.save','api.condition.update','The\x20allCondition\x20will\x20be\x20deleted.','Delete\x20AllCondition','AllCondition\x20properly\x20deleted!','TriggerAnyConditionsController','selectedTriggerAnyConditions','\x27lastevent\x27','\x27routeId\x27','arrayoperator','Accepted','getTriggerAnyConditions','exportSelectedTriggerAnyConditions','deleteSelectedTriggerAnyConditions','triggerAnyConditions','TriggerAnyId','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20anyCondition?','anyCondition','delete\x20anyCondition','CreateOrEditAnyConditionDialogController','app/main/apps/tools/views/triggers/edit/anyconditions/dialog.html','AnyCondition\x20deleted!','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20anyconditions?','anyconditions','TOOLS.EDIT_ANYCONDITION','newAnyCondition','addNewAnyCondition','saveAnyCondition','addAnyCondition','AnyCondition\x20properly\x20created','AnyCondition\x20properly\x20saved!','The\x20anyCondition\x20will\x20be\x20deleted.','Delete\x20AnyCondition','AnyCondition\x20properly\x20deleted!','api.condition.delete','Trigger\x20updated!','selectedTriggers','arraychannel','Voice','Openchannel','\x27openchannel\x27','Chat','\x27chat\x27','vm.license.chat','\x27mail\x27','Sms','\x27sms\x27','Fax','\x27fax\x27','vm.license.fax','Whatsapp','\x27whatsapp\x27','vm.license.whatsapp','getTriggers','createOrEditTrigger','exportSelectedTriggers','deleteSelectedTriggers','deselectTriggers','delete\x20trigger','Triggers','app/main/apps/tools/views/triggers/create/dialog.html','Trigger','SYSTEM:DELETEtrigger','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20triggers?','CreateOrEditTrunkDialogController','rfc2833','TOOLS.NEW_TRUNK','newTrunk','addNewTrunk','saveTrunk','deleteTrunk','api.trunk.save','Trunk\x20properly\x20saved!','api.trunk.update','api.trunk.delete','TrunkcloneController','TOOLS.CLONE_TRUNK','Trunk\x20properly\x20cloned','api.trunk.clone','TrunkController','gotoTrunks','Trunk\x20updated!','SYSTEM:GETtrunk','TrunksController','selectedTrunks','arraydtmfmode','\x27info\x27','shortinfo','\x27shortinfo\x27','inband','\x27auto\x27','g723','\x27g723\x27','g726','ilbc','\x27ilbc\x27','arrayinsecure','\x27port\x27','very','\x27very\x27','arraydirectmedia','nonat','\x27nonat\x27','\x27update\x27','arrayusereqphone','arraysendrpid','pai','\x27pai\x27','arrayencryption','deleteSelectedTrunks','deselectTrunks','selectAllTrunks','delete\x20trunk','app/main/apps/tools/views/trunks/create/dialog.html','SYSTEM:DELETEtrunk','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20trunks?','delete\x20Trunks','newVariable','addNewVariable','deleteVariable','Variable\x20properly\x20created','api.variable.save','Variable\x20properly\x20saved!','The\x20variable\x20will\x20be\x20deleted.','Delete\x20Variable','Variable\x20properly\x20deleted!','api.variable.delete','VariablesController','getVariables','exportSelectedVariables','deselectVariables','selectAllVariables','delete\x20variable','app/main/apps/tools/views/variables/create/dialog.html','SYSTEM:DELETEvariable','selectedVariables','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20variables?','delete\x20Variables','CreateOrEditscreenRecordingDialogController','newscreenRecording','savescreenRecording','SYSTEM:GET_USERS','screenRecordings','screenRecording\x20properly\x20created','api.screenRecording.save','screenRecording\x20properly\x20saved!','api.screenRecording.update','The\x20screenRecording\x20will\x20be\x20deleted.','Delete\x20screenRecording','api.screenRecording.delete','recording','actionOptions','elementTag','screenRecordingplayController','TCL:\x20vm.path','TCL:\x20vm.recording[vm.path]','lastIndexOf','.mp4','found','propertiesList','propertiesDefault','propertiesExtra','extraData','ScreenRecordingsController','selectedScreenRecordings','@msUtils.firstLastDayMonth()','DASHBOARDS.SELECT_DATE_RANGE','playrecording','getScreenRecordings','createOrEditscreenRecording','deletescreenRecording','deleteSelectedScreenRecordings','deselectScreenRecordings','convertDuration','interactionid','startedAt','singular','TCL:\x20\x20path','app/main/apps/video/views/screenRecordings/partialViews/play.html','404','VIDEO.CANT_DOWNLOAD_THIS_FILE','VIDEO.FILE_NOT_FOUND','app/main/apps/video/views/screenRecordings/create/dialog.html','SYSTEM:DELETEscreenRecording','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20screenRecordings?','delete\x20screenRecordings','chanSpies','ChanSpiesController','selectedChanSpies','arrayoptions','b:\x20Only\x20spy\x20on\x20channels\x20involved\x20in\x20a\x20bridged\x20call.','\x27b\x27','\x27B\x27','E:\x20Exit\x20when\x20the\x20spied-on\x20channel\x20hangs\x20up.','o:\x20Only\x20listen\x20to\x20audio\x20coming\x20from\x20this\x20channel.','\x27o\x27','q:\x20Don\x27t\x20play\x20a\x20beep\x20when\x20beginning\x20to\x20spy\x20on\x20a\x20channel,\x20or\x20speak\x20the\x20selected\x20channel\x20name.','s:\x20Skip\x20the\x20playback\x20of\x20the\x20channel\x20type\x20(i.e.\x20SIP,\x20IAX,\x20etc)\x20when\x20speaking\x20the\x20selected\x20channel\x20name.','\x27s\x27','S:\x20Stop\x20when\x20no\x20more\x20channels\x20are\x20left\x20to\x20spy\x20on.','w:\x20Enable\x20whisper\x20mode,\x20so\x20the\x20spying\x20channel\x20can\x20talk\x20to\x20the\x20spied-on\x20channel.','\x27w\x27','\x27W\x27','createOrEditchanSpy','exportSelectedChanSpies','deleteSelectedChanSpies','deselectChanSpies','selectAllChanSpies','CreateOrEditchanSpyDialogController','chanSpy','delete\x20chanSpy','getChanSpies','voiceChanSpy','app/main/apps/voice/views/chanSpies/create/dialog.html','SYSTEM:DELETEvoiceChanSpy','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20chanSpies?','delete\x20chanSpys','VOICE.EDIT_CHANSPY','newchanSpy','VOICE.NEW_CHANSPY','addNewchanSpy','deletechanSpy','chanSpy\x20properly\x20created','api.voiceChanSpy.save','api.voiceChanSpy.update','The\x20chanSpy\x20will\x20be\x20deleted.','Delete\x20chanSpy','chanSpy\x20properly\x20deleted!','api.voiceChanSpy.delete','selectedContexts','createOrEditContext','deleteContext','exportSelectedContexts','deleteSelectedContexts','deselectContexts','selectAllContexts','app/main/apps/voice/views/contexts/create/dialog.html','getContexts','CreateOrEditContextDialogController','Context','SYSTEM:DELETEvoiceContext','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20contexts?','delete\x20Contexts','VOICE.EDIT_CONTEXT','newContext','VOICE.NEW_CONTEXT','addNewContext','saveContext','Context\x20properly\x20created','api.voiceContext.save','api.voiceContext.update','The\x20context\x20will\x20be\x20deleted.','Delete\x20Context','Context\x20properly\x20deleted!','api.voiceContext.delete','inboundroutes','CreateOrEditInboundRouteDialogController','VOICE.EDIT_INBOUNDROUTE','inboundroute','newInboundRoute','Inbound\x20Call','from-voip-provider','addNewInboundRoute','saveInboundRoute','deleteInboundRoute','InboundRoute\x20properly\x20created','api.voiceExtension.save','api.voiceExtension.update','The\x20inboundroute\x20will\x20be\x20deleted.','InboundRoute\x20properly\x20deleted!','api.voiceExtension.delete','inboundrouteApps','selectedInboundRouteApps','Inbound',',xX,,,300,,,,,','/var/opt/motion2/server/files/sounds/converted/','id,name,save_name','Options','Url','Announce_Overrides','\x27/var/opt/motion2/server/files/sounds/converted/{{sound.save_name}}\x27','sound.name','Agi','Macro','macro','Rule','rule','Position','Playback','playback','Audio_Files','\x27/var/opt/motion2/server/files/sounds/converted/{{appdata.save_name}}\x27','appdata.name','Dial','dial','Technology/Resource','internalDial','id,name,role','externalDial','trunk.name','ringGroup','multipleUsers','\x27SIP/{{multipleUsers.name}}\x27','\x27agi://127.0.0.1/square,{{project.name}}\x27','context.name','Extension','hangup','Hangup_Cause','HANGUPCAUSE_1','HANGUPCAUSE_16','HANGUPCAUSE_17','\x2718\x27','HANGUPCAUSE_22','\x2722\x27','HANGUPCAUSE_27','\x2727\x27','HANGUPCAUSE_38','HANGUPCAUSE_41','Set','name.name','Application_Name','Arguments','Voicemail','voicemail','voiceMails','@from-voicemail','id,mailbox','\x27{{voiceMail.mailbox}}@from-voicemail\x27','voiceMail.mailbox','getInboundRouteApps','editInboundRouteApp','deleteInboundRouteApp','VoiceExtensionId','EditInboundApp','app/main/apps/voice/views/inboundroutes/edit/apps/','EditInboundAppintervalDialogController','app/main/apps/voice/views/inboundroutes/edit/apps/interval/dialog.html','XCALLY-MOTION-ANSWER=0','XCALLY-MOTION-PROGRESS=0','MONITOR_OPTIONS=ab','ExecIf','XCALLY-MOTION-ANSWER=1','XCALLY-MOTION-PROGRESS=1','GotoIfTime',',${EXTEN},','Hangup','inboundrouteApp','VOICE.EDIT_','saveInboundRouteApp','EditInboundAppdialDialogController','tech','EditInboundAppexternaldialDialogController','externaldial','EditInboundAppgotoDialogController','EditInboundAppinternaldialDialogController','internaldial','SYSTEM:GETusers','EditInboundAppplaybackDialogController','gosub','SYSTEM:GET_SOUNDS','ringgroup','EditInboundAppvoicemailDialogController','SYSTEM:GET_VOICEMAILS','SYSTEM:GETvoiceMails','InboundRouteController','gotoInboundRoutes','app.voice.inboundroutes','InboundRoute\x20updated!','SYSTEM:GETvoiceExtension','InboundRoutesController','selectedInboundRoutes','getInboundRoutes','createOrEditInboundRoute','exportSelectedInboundRoutes','deleteSelectedInboundRoutes','deselectInboundRoutes','selectAllInboundRoutes','delete\x20inboundroute','app/main/apps/voice/views/inboundroutes/create/dialog.html','InboundRoute','SYSTEM:DELETEvoiceExtension','delete\x20InboundRoutes','internalroutes','internalroute','VOICE.EDIT_INTERNALROUTE','newInternalRoute','VOICE.NEW_INTERNALROUTE','saveInternalRoute','InternalRoute\x20properly\x20created','InternalRoute\x20properly\x20saved!','Delete\x20InternalRoute','InternalRoute\x20properly\x20deleted!','InternalRouteActionsController','selectedInternalRouteApps','Internal','GoSub','SIP/','user.name','Phone','multipleUsers.name','AGI','agi://127.0.0.1/square,','project.name','goTo','\x2716\x27','\x2717\x27','HANGUPCAUSE_18','HANGUPCAUSE_21','\x2738\x27','\x2741\x27','Mailbox@Context','getInternalRouteApps','editInternalRouteApp','deleteInternalRouteApp','internalrouteApps','app/main/apps/voice/views/internalroutes/edit/apps/','EditInternalAppintervalDialogController','app/main/apps/voice/views/internalroutes/edit/apps/interval/dialog.html','CDR(type)=internal','$[${XCALLY-MOTION-ANSWER}=0]?Answer','EditInternalAppagiDialogController','saveInternalRouteApp','internalrouteApp','EditInternalAppcustomDialogController','EditInternalAppdialDialogController','EditInternalAppexternaldialDialogController','EditInternalAppgotoDialogController','EditInternalApphangupDialogController','EditInternalAppinternaldialDialogController','EditInternalAppplaybackDialogController','EditInternalAppqueueDialogController','SYSTEM:GETsounds','gotoInternalRoutes','InternalRoutesController','getInternalRoutes','createOrEditInternalRoute','deleteInternalRoute','exportSelectedInternalRoutes','deselectInternalRoutes','delete\x20internalroute','CreateOrEditInternalRouteDialogController','app/main/apps/voice/views/internalroutes/create/dialog.html','selectedInternalRoutes','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20internalroutes?','CreateOrEditMusicOnHoldDialogController','VOICE.EDIT_MUSICONHOLD','VOICE.NEW_MUSICONHOLD','newMusicOnHold','saveMusicOnHold','MusicOnHold\x20properly\x20created','api.voiceMusicOnHold.save','MusicOnHold\x20properly\x20saved!','The\x20musiconhold\x20will\x20be\x20deleted.','api.voiceMusicOnHold.delete','musiconholdMohSounds','selectedMusicOnHoldMohSounds','createdAt,updatedAt,id,save_name,converted_format,audio','voiceMusicOnHoldDownload','createOrEditMusicOnHoldMohSound','deleteMusicOnHoldMohSound','deleteSelectedMusicOnHoldMohSounds','VoiceMusicOnHoldId','mohSound\x20#','CreateOrEditMohSoundDialogController','MohSound\x20deleted!','SYSTEM:GETvoiceMusicOnHold','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20mohSounds?','mohSounds','mohSound','newMohSound','VOICE.NEW_MOHSOUND','addNewMohSound','saveMohSound','deleteMohSound','addSound','MohSound\x20properly\x20created','MohSound\x20properly\x20saved!','api.voiceMusicOnHold.update','The\x20mohSound\x20will\x20be\x20deleted.','Delete\x20MohSound','MohSound\x20properly\x20deleted!','app.voice.musiconholds','MusicOnHold\x20updated!','MusicOnHoldsController','\x27files\x27','arraysort','\x27random\x27','Alphabetical','\x27alpha\x27','getMusicOnHolds','exportSelectedMusicOnHolds','deleteSelectedMusicOnHolds','deselectMusicOnHolds','selectAllMusicOnHolds','delete\x20musiconhold','app/main/apps/voice/views/musiconholds/create/dialog.html','MusicOnHold','selectedMusicOnHolds','delete\x20MusicOnHolds','outboundroutes','outboundroute','CreateOrEditOutboundRouteDialogController','VOICE.EDIT_OUTBOUNDROUTE','Outbound','Caller_ID','/"(.*)"\x5cs<(.*?)>$/','Prefix','\x27--\x27','VOICE.NEW_OUTBOUNDROUTE','newOutboundRoute','addNewOutboundRoute','saveOutboundRoute','OutboundRoute\x20properly\x20created','outboundrouteApps','OutboundRoute\x20properly\x20saved!','Outbound\x20route\x20not\x20deleted!','You\x20can\x27t\x20remove\x20an\x20outbound\x20route\x20associated\x20to\x20an\x20out\x20prefix','The\x20outboundroute\x20will\x20be\x20deleted.','Delete\x20OutboundRoute','OutboundRoute\x20properly\x20deleted!','CDR(destination)=','outboundrouteid=','_XCALLY_MIXMONITOR_UNIQUEID=${UNIQUEID}','_XCALLY_MIXMONITOR_FORMAT=','$[${LEN(${PREFIX-CALLERIDALL})}\x20>\x200]?Set(CALLERID(all)=${PREFIX-CALLERIDALL}):Set(CALLERID(all)=','$[${LEN(${PREFIX-CALLERIDALL})}\x20>\x200]?Set(CALLERID(all)=${PREFIX-CALLERIDALL}):NoOp(No\x20number\x20available)','OutboundRouteActionsController','selectedOutboundRouteApps','getOutboundRouteApps','editOutboundRouteApp','deleteSelectedOutboundRouteApps','onVoiceExtensionUpdate','voiceExtension:update','EditoutboundApp','app/main/apps/voice/views/outboundroutes/edit/apps/','EditoutboundAppintervalDialogController','app/main/apps/voice/views/outboundroutes/edit/apps/interval/dialog.html','CDR(type)=outbound','$[${LEN(${CDR(prefix)})}\x20>\x200]?Goto(','CDR(prefix)=${EXTEN:0:','CDR(prefix)=noprefix','CDR(tag)=','outboundrouteApp','EditoutboundAppcustomDialogController','saveOutboundRouteApp','EditoutboundAppoutbounddialDialogController','OutboundRouteController','gotoOutboundRoutes','app.voice.outboundroutes','OutboundRoute\x20updated!','OutboundRoutesController','selectedOutboundRoutes','arrayrecordingFormat','\x27none\x27','createOrEditOutboundRoute','deleteOutboundRoute','exportSelectedOutboundRoutes','deleteSelectedOutboundRoutes','deselectOutboundRoutes','selectAllOutboundRoutes','delete\x20outboundroute','getOutboundRoutes','app/main/apps/voice/views/outboundroutes/create/dialog.html','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20outboundroutes?','delete\x20OutboundRoutes','assignTo','motion2.realtime.abandoned.voice.abandonedCalls:','getVoiceQueuesReport','rpcCalls','OutboundCallsVoiceRealtimeController','channelStatus','channelStatusOut','channelstatedesc','dialstatus','voice_outbound_channel:save','QueueCallsVoiceRealtimeController','redirectToAgent','QueueParamsVoiceRealtimeController','QueuesVoiceRealtimeController','createOrEditVoiceQueue','CreateOrEditVoiceQueueDialogController','app/main/apps/voice/views/voiceQueues/create/dialog.html','VoiceQueueagentaddController','app/main/apps/voice/views/voiceQueues/edit/agentadd/agentadd.html','VoiceRealtimeController','app.voice.realtime.abandonedcalls','app.voice.realtime.outbound_calls','rpcTelephones','TelephonesVoiceRealtimeController','telephone:save','voicemails','CreateOrEditVoicemailDialogController','newVoicemail','addNewVoicemail','deleteVoicemail','Voicemail\x20properly\x20created','api.voiceMail.save','Voicemail\x20properly\x20saved!','api.voiceMail.update','Delete\x20Voicemail','api.voiceMail.delete','VoicemailMessagesController','selectedVoicemailMessages','getVoicemailMessages','exportSelectedVoicemailMessages','deleteVoicemailMessage','deleteSelectedVoicemailMessages','message\x20#','delete\x20message','voicemailMessages','CreateOrEditMessageDialogController','app/main/apps/voice/views/voicemails/edit/messages/dialog.html','voiceMailMessage','Message\x20deleted!','SYSTEM:GETvoiceMail','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20messages?','delete\x20messages','gotoVoicemails','saveVoicemail','Voicemail\x20updated!','selectedVoicemails','arrayattach','arrayenvelope','arraydelete','createOrEditVoicemail','exportSelectedVoicemails','deleteSelectedVoicemails','deselectVoicemails','selectAllVoicemails','delete\x20voicemail','Voicemails','SYSTEM:DELETEvoiceMail','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20voicemails?','delete\x20Voicemails','voicePrefixes','CreateOrEditvoicePrefixDialogController','VOICE.EDIT_VOICEPREFIX','newvoicePrefix','VOICE.NEW_VOICEPREFIX','addNewvoicePrefix','deletevoicePrefix','voicePrefix\x20properly\x20created','api.voicePrefix.save','voicePrefix\x20properly\x20saved!','api.voicePrefix.update','The\x20voicePrefix\x20will\x20be\x20deleted.','Delete\x20voicePrefix','api.voicePrefix.delete','voicePrefixagentaddController','UservoicePrefix','VoicePrefixesController','createdAt,updatedAt,id,name,VoiceExtensionId,callerIdAll,description','createOrEditvoicePrefix','exportSelectedVoicePrefixes','deleteSelectedVoicePrefixes','deselectVoicePrefixes','selectAllVoicePrefixes','app/main/apps/voice/views/voicePrefixes/create/dialog.html','app/main/apps/voice/views/voicePrefixes/edit/agentadd/agentadd.html','delete\x20voicePrefix','SYSTEM:DELETEvoicePrefix','selectedVoicePrefixes','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20voicePrefixes?','delete\x20voicePrefixs','VOICE.EDIT_VOICEQUEUE','newVoiceQueue','ringall','deleteVoiceQueue','VoiceQueue\x20properly\x20created','The\x20voiceQueue\x20will\x20be\x20deleted.','Delete\x20VoiceQueue','VoiceQueue\x20properly\x20deleted!','VOICE.ALL_AGENTS','gotoVoiceQueues','SYSTEM:GETmusiconholds','VoiceQueueteamaddController','app/main/apps/voice/views/voiceQueues/edit/teamadd/teamadd.html','selectedVoiceQueues','Ringall','\x27fewestcalls\x27','arrayjoinempty','vm.voiceQueue.joinempty.length\x20===\x201\x20\x20&&\x20vm.voiceQueue.joinempty[0]\x20===\x20\x27no\x27','strict','loose','\x27loose\x27','vm.voiceQueue.joinempty.length\x20===\x201\x20&&\x20vm.voiceQueue.joinempty[0]\x20===\x20\x27loose\x27','\x27paused\x27','\x27penalty\x27','vm.voiceQueue.joinempty.length\x20===\x201\x20&&\x20vm.voiceQueue.joinempty[0]\x20===\x20\x27penalty\x27','\x27inuse\x27','\x27ringing\x27','vm.voiceQueue.joinempty.length\x20===\x201\x20&&\x20vm.voiceQueue.joinempty[0]\x20===\x20\x27ringing\x27','\x27unavailable\x27','vm.voiceQueue.joinempty.length\x20===\x201\x20&&\x20vm.voiceQueue.joinempty[0]\x20===\x20\x27unavailable\x27','invalid','\x27invalid\x27','vm.voiceQueue.joinempty.length\x20===\x201\x20&&\x20vm.voiceQueue.joinempty[0]\x20===\x20\x27invalid\x27','\x27unknown\x27','vm.voiceQueue.joinempty.length\x20===\x201\x20&&\x20vm.voiceQueue.joinempty[0]\x20===\x20\x27unknown\x27','\x27wrapup\x27','vm.voiceQueue.joinempty.length\x20===\x201\x20&&\x20vm.voiceQueue.joinempty[0]\x20===\x20\x27wrapup\x27','vm.voiceQueue.leavewhenempty.length\x20===\x201\x20&&\x20vm.voiceQueue.leavewhenempty[0]\x20===\x20\x27no\x27','vm.voiceQueue.leavewhenempty.length\x20===\x201\x20&&\x20vm.voiceQueue.leavewhenempty[0]\x20===\x20\x27yes\x27','\x27strict\x27','vm.voiceQueue.leavewhenempty.length\x20===\x201\x20&&\x20vm.voiceQueue.leavewhenempty[0]\x20===\x20\x27loose\x27','vm.voiceQueue.leavewhenempty.length\x20===\x201\x20&&\x20vm.voiceQueue.leavewhenempty[0]\x20===\x20\x27paused\x27','vm.voiceQueue.leavewhenempty.length\x20===\x201\x20&&\x20vm.voiceQueue.leavewhenempty[0]\x20===\x20\x27penalty\x27','vm.voiceQueue.leavewhenempty.length\x20===\x201\x20&&\x20vm.voiceQueue.leavewhenempty[0]\x20===\x20\x27inuse\x27','vm.voiceQueue.leavewhenempty.length\x20===\x201\x20&&\x20vm.voiceQueue.leavewhenempty[0]\x20===\x20\x27ringing\x27','vm.voiceQueue.leavewhenempty.length\x20===\x201\x20&&\x20vm.voiceQueue.leavewhenempty[0]\x20===\x20\x27invalid\x27','arrayrandom_periodic_announce','arrayannounce_holdtime','Once','arrayannounce_position','Limit','\x27limit\x27','More','\x27more\x27','arrayreportholdtime','arraysetqueueentryvar','exportSelectedVoiceQueues','deleteSelectedVoiceQueues','deselectVoiceQueues','selectAllVoiceQueues','VoiceQueue','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20voiceQueues?','delete\x20VoiceQueues','CreateOrEditVoiceRecordingDialogController','VOICE.EDIT_VOICERECORDING','newVoiceRecording','VOICE.NEW_VOICERECORDING','addNewVoiceRecording','saveVoiceRecording','deleteVoiceRecording','api.voiceRecording.save','VoiceRecording\x20properly\x20saved!','api.voiceRecording.update','The\x20voiceRecording\x20will\x20be\x20deleted.','Delete\x20VoiceRecording','VoiceRecording\x20properly\x20deleted!','api.voiceRecording.delete','VoiceRecordingSentimentStatisticsController','VoiceRecordingController','gotoVoiceRecordings','VoiceRecording\x20updated!','selectedVoiceRecordings','runtranscriberuntranscribesentiment','runtranscribesentimentruntranscribesentiment','runsentimentruntranscribesentiment','createOrEditVoiceRecording','exportSelectedVoiceRecordings','selectAllVoiceRecordings','runtranscribeSelectedVoiceRecordings','runTranscribe','VOICE.RUNTRANSCRIBE_VOICERECORDING','\x20succeded!','transcribeStatus','runtranscribesentimentSelectedVoiceRecordings','VOICE.RUNTRANSCRIBESENTIMENT_VOICERECORDING','runsentimentSelectedVoiceRecordings','VOICE.RUNSENTIMENT_VOICERECORDING','.txt','VOICE.CANT_DOWNLOAD_THIS_FILE','VOICE.WRONG_EXTENSION','VOICE.FILE_NOT_FOUND','delete\x20voiceRecording','app/main/apps/voice/views/voiceRecordings/create/dialog.html','VoiceRecording','SYSTEM:DELETEvoiceRecording','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20voiceRecordings?','delete\x20VoiceRecordings','createOrEditWhatsappQueue','WhatsappQueueId','CreateOrEditWhatsappQueueDialogController','app/main/apps/whatsapp/views/whatsappQueues/create/dialog.html','WhatsappQueueagentaddController','app/main/apps/whatsapp/views/whatsappQueues/edit/agentadd/agentadd.html','WhatsappRealtimeController','WHATSAPP.EDIT_WHATSAPPACCOUNT','newWhatsappAccount','WHATSAPP.NEW_WHATSAPPACCOUNT','addNewWhatsappAccount','saveWhatsappAccount','deleteWhatsappAccount','WhatsappAccount\x20properly\x20created','api.whatsappAccount.save','WhatsappAccount\x20properly\x20saved!','api.whatsappAccount.update','The\x20whatsappAccount\x20will\x20be\x20deleted.','Delete\x20WhatsappAccount','api.whatsappAccount.delete','WhatsappAccountActionsController','whatsappAccountApps','getWhatsappAccountApps','deleteWhatsappAccountApp','deleteSelectedWhatsappAccountApps','EditWhatsappAccountApp','app/main/apps/whatsapp/views/whatsappAccounts/edit/apps/','EditWhatsappAccountAppintervalDialogController','app/main/apps/whatsapp/views/whatsappAccounts/edit/apps/interval/dialog.html','selectedWhatsappAccountApps','WhatsappAccountagentaddController','WHATSAPP.ALL_AGENTS','UserWhatsappAccount','whatsappAccountApp','saveWhatsappAccountApp','EditWhatsappAccountAppamazonlexDialogController','WHATSAPP.EDIT_','EditWhatsappAccountAppautoreplyDialogController','EditWhatsappAccountAppdialogflowDialogController','EditWhatsappAccountAppgotoifDialogController','EditWhatsappAccountAppgotopDialogController','EditWhatsappAccountAppnoopDialogController','EditWhatsappAccountAppsystemDialogController','EditWhatsappAccountApptagDialogController','selectedWhatsappAccountInteractions','whatsappInteractionDownload','getWhatsappAccountInteractions','exportSelectedWhatsappAccountInteractions','deleteWhatsappAccountInteraction','deleteSelectedWhatsappAccountInteractions','whatsapp.whatsappAccounts','whatsappAccountInteractions','app/main/apps/whatsapp/views/whatsappAccounts/edit/interactions/dialog.html','SYSTEM:GETwhatsappAccount','WhatsappAccountController','gotoWhatsappAccounts','app/main/apps/whatsapp/views/whatsappAccounts/edit/agentadd/agentadd.html','WhatsappAccount\x20updated!','WhatsappAccountWhatsappCannedAnswersController','whatsappAccountWhatsappCannedAnswers','selectedWhatsappAccountWhatsappCannedAnswers','getWhatsappAccountWhatsappCannedAnswers','createOrEditWhatsappAccountWhatsappCannedAnswer','deleteWhatsappAccountWhatsappCannedAnswer','deleteSelectedWhatsappAccountWhatsappCannedAnswers','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20whatsappCannedAnswer?','whatsappCannedAnswer\x20#','delete\x20whatsappCannedAnswer','CreateOrEditWhatsappCannedAnswerDialogController','WhatsappCannedAnswer\x20deleted!','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20whatsappCannedAnswers?','delete\x20whatsappCannedAnswers','whatsappCannedAnswers','WHATSAPP.EDIT_WHATSAPPCANNEDANSWER','whatsappCannedAnswer','WHATSAPP.NEW_WHATSAPPCANNEDANSWER','newWhatsappCannedAnswer','saveWhatsappCannedAnswer','deleteWhatsappCannedAnswer','WhatsappCannedAnswer\x20properly\x20created','The\x20whatsappCannedAnswer\x20will\x20be\x20deleted.','Delete\x20WhatsappCannedAnswer','WhatsappCannedAnswer\x20properly\x20deleted!','whatsappAccountWhatsappDispositions','selectedWhatsappAccountWhatsappDispositions','getWhatsappAccountWhatsappDispositions','createOrEditWhatsappAccountWhatsappDisposition','deleteWhatsappAccountWhatsappDisposition','deleteSelectedWhatsappAccountWhatsappDispositions','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20whatsappDisposition?','whatsappDisposition','delete\x20whatsappDisposition','CreateOrEditWhatsappDispositionDialogController','app/main/apps/whatsapp/views/whatsappAccounts/edit/whatsappDispositions/dialog.html','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20whatsappDispositions?','delete\x20whatsappDispositions','whatsappDispositions','WHATSAPP.EDIT_WHATSAPPDISPOSITION','newWhatsappDisposition','WHATSAPP.NEW_WHATSAPPDISPOSITION','addNewWhatsappDisposition','saveWhatsappDisposition','deleteWhatsappDisposition','WhatsappDisposition\x20properly\x20created','The\x20whatsappDisposition\x20will\x20be\x20deleted.','Delete\x20WhatsappDisposition','WhatsappDisposition\x20properly\x20deleted!','selectedWhatsappAccounts','createOrEditWhatsappAccount','exportSelectedWhatsappAccounts','deleteSelectedWhatsappAccounts','deselectWhatsappAccounts','delete\x20whatsappAccount','WhatsappAccount','SYSTEM:DELETEwhatsappAccount','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20whatsappAccounts?','delete\x20WhatsappAccounts','newWhatsappQueue','WHATSAPP.NEW_WHATSAPPQUEUE','addNewWhatsappQueue','saveWhatsappQueue','api.whatsappQueue.save','WhatsappQueue\x20properly\x20saved!','api.whatsappQueue.update','The\x20whatsappQueue\x20will\x20be\x20deleted.','api.whatsappQueue.delete','WHATSAPP.SELECTED_AGENTS','UserWhatsappQueue','WhatsappQueueteamaddController','WHATSAPP.ALL_TEAMS','WhatsappQueueController','gotoWhatsappQueues','app/main/apps/whatsapp/views/whatsappQueues/edit/teamadd/teamadd.html','WhatsappQueuesController','selectedWhatsappQueues','deleteWhatsappQueue','exportSelectedWhatsappQueues','deleteSelectedWhatsappQueues','selectAllWhatsappQueues','delete\x20whatsappQueue','WhatsappQueue','SYSTEM:DELETEwhatsappQueue','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20whatsappQueues?','delete\x20WhatsappQueues','MainController','NONAME','interface','apps.home.plugin_','plugin_','UNKNOWN','VERSION\x20','apps.dashboards.custom_','PLUGINS.PLUGINS','hasChildrenPermissions','apps.plugins.plugin_','adminOnly','defaultPageTitle','#pageTitle','apps.dashboards','General','apps.staff','Staff','icon-account-multiple','apps.staff.users','apps.staff.agents','STAFF.AGENTS','apps.staff.telephones','apps.staff.teams','STAFF.TEAMS','apps.staff.userProfiles','ContactManager','CONTACTMANAGER.CONTACTMANAGER','apps.contactmanager.lists','CONTACTMANAGER.LISTS','apps.contactmanager.companies','CONTACTMANAGER.COMPANIES','apps.contactmanager.contacts','CONTACTMANAGER.CONTACTS','apps.voice','VOICE.VOICE','icon-phone','apps.voice.voiceQueues','apps.voice.inboundroutes','VOICE.INBOUNDROUTES','apps.voice.outboundroutes','VOICE.OUTBOUNDROUTES','apps.voice.internalroutes','VOICE.INTERNALROUTES','VOICE.CONTEXTS','apps.voice.musiconholds','VOICE.MUSICONHOLDS','apps.voice.voiceRecordings','VOICE.VOICERECORDINGS','apps.voice.chanSpies','VOICE.CHANSPIES','apps.voice.voicePrefixes','VOICE.VOICEPREFIXES','Realtime','VOICE.REALTIME','apps.chat','CHAT.CHAT','CHAT.CHATQUEUES','apps.chat.realtime','CHAT.REALTIME','apps.mail','MAIL.MAIL','apps.mail.mailQueues','MAIL.MAILQUEUES','apps.mail.mailAccounts','MAIL.MAILACCOUNTS','apps.mail.mailSubtatuses','MAIL.MAILSUBSTATUSES','app.mail.mailSubtatuses','MAIL.REALTIME','apps.sms','SMS.SMS','apps.sms.smsQueues','apps.sms.smsAccounts','SMS.SMSACCOUNTS','apps.sms.realtime','SMS.REALTIME','apps.openchannel','OPENCHANNEL.OPENCHANNEL','apps.openchannel.openchannelQueues','OPENCHANNEL.OPENCHANNELQUEUES','apps.openchannel.openchannelAccounts','OPENCHANNEL.OPENCHANNELACCOUNTS','apps.openchannel.realtime','apps.fax','FAX.FAXQUEUES','FAX.FAXACCOUNTS','apps.tools','TOOLS.TOOLS','icon-auto-fix','TOOLS.CANNEDANSWERS','apps.tools.dispositions','TOOLS.DISPOSITIONS','apps.tools.customDashboards','TOOLS.CUSTOMDASHBOARDS','apps.tools.intervals','TOOLS.INTERVALS','apps.tools.pauses','TOOLS.PAUSES','app.tools.pauses','apps.tools.schedules','TOOLS.SCHEDULER','app.tools.schedules','apps.tools.sounds','TOOLS.SOUNDS','app.tools.sounds','apps.tools.tags','TOOLS.TAGS','app.tools.tags','TOOLS.TEMPLATES','apps.tools.triggers','TOOLS.TRIGGERS','apps.tools.trunks','TOOLS.TRUNKS','apps.tools.variables','TOOLS.VARIABLES','apps.callysquare','CALLYSQUARE.CALLYSQUARE','apps.callysquare.odbcs','CALLYSQUARE.ODBC','apps.callysquare.squareRecordings','CALLYSQUARE.SQUARERECORDINGS','apps.callysquare.projects','CALLYSQUARE.PROJECTS','apps.analytics','Analytics','apps.analytics.metrics','apps.analytics.extractedReports','ANALYTICS.EXTRACTEDREPORTS','apps.analytics.reports','apps.integrations','icon-heart','INTEGRATIONS.ZENDESKACCOUNTS','apps.integrations.salesforceAccounts','INTEGRATIONS.SALESFORCEACCOUNTS','apps.integrations.freshdeskAccounts','INTEGRATIONS.FRESHDESKACCOUNTS','apps.integrations.sugarcrmAccounts','INTEGRATIONS.SUGARCRMACCOUNTS','apps.integrations.deskAccounts','apps.integrations.zohoAccounts','INTEGRATIONS.ZOHOACCOUNTS','apps.integrations.vtigerAccounts','apps.integrations.dynamics365Accounts','INTEGRATIONS.DYNAMICS365ACCOUNTS','apps.integrations.servicenowAccounts','apps.integrations.freshsalesAccounts','apps.settings','SETTINGS.SETTINGS','apps.settings.generals','SETTINGS.GENERAL','app.settings.generals','apps.settings.smtps','app.settings.smtps','apps.settings.networks','apps.settings.customizations','Customizations','SETTINGS.CUSTOMIZATIONS','apps.settings.cloudProviders','AiTools','SETTINGS.AITOOLS','apps.settings.updates','Updates','SETTINGS.UPDATES','apps.settings.license','SETTINGS.LICENSE','apps.settings.system','apps.motiondialer','MotionDialer','MOTIONDIALER.MOTIONDIALER','icon-fire','apps.motiondialer.queueCampaigns','MOTIONDIALER.QUEUECAMPAIGNS','apps.motiondialer.ivrCampaigns','MOTIONDIALER.IVRCAMPAIGNS','apps.motiondialer.realtime','apps.help','Help','icon-help','About','HELP.ABOUT','apps.jscripty','JSCRIPTY.PROJECTS','apps.marketplace','MARKETPLACE.MARKETPLACE','MARKETPLACE.PLUGINS','apps.video','Video','VIDEO.SCREENRECORDINGS','apps.whatsapp','WHATSAPP.WHATSAPP','apps.whatsapp.whatsappQueues','WHATSAPP.WHATSAPPQUEUES','apps.whatsapp.whatsappAccounts','WHATSAPP.WHATSAPPACCOUNTS','APPS','DASHBOARDS.HOME','icon-home','apps.home.dashboard','Dashboard','DASHBOARDS.DASHBOARD','icon-tile-four','cyan-500-fg','DASHBOARDS.CONTACTS','red-fg','apps.home.mycontacts','DASHBOARDS.MYCONTACTS','mycontacts','Scheduled\x20Calls','scheduled','icon-calendar-clock','blue-grey-fg','apps.home.voice','DASHBOARDS.VOICE','blue-A700-fg','apps.home.abandoned','Abandoned','DASHBOARDS.ABANDONED','icon-phone-missed','apps.home.recordings','Recordings','DASHBOARDS.RECORDINGS','recordings','icon-audiobook','indigo-A100-fg','apps.home.chat','DASHBOARDS.CHAT','green-A700-fg','apps.home.mail','DASHBOARDS.MAIL','teal-fg','apps.home.sms','orange-fg','apps.home.openchannel','amber-fg','apps.home.fax','DASHBOARDS.FAX','blue-grey-A200-fg','apps.home.whatsapp','targetScope','NavigationController','getLogo','dashboard:save','plugin:save','plugin:update','plugin:remove','motion.folded','defaultHeaderWhiteLabel','xCALLY\x20Motion','apps.plugins','bodyEl','QuickPanelController','unreadTotalMessages','unreadTotalGroupMessages','userIsNotPhonebar','chatInternalMessage:save','chatInternalMessage:update','onMessageUpdate','getGroups','getUnread','QUICKPANEL.NEW_INTERNAL_MESSAGE','ToId','FromId','ChatGroupId','ChatInternalController','toggleChat','onUserUpdate','quick-panel','unreadMessage','countBy','lastMessageAt','allowmessenger','QUICKPANEL.WARNING','QUICKPANEL.MESSENGER_DISABLED','replyMessage','#chat-dialog','Successful\x20call','members','CreateOrEditChatGroupDialogController','QUICKPANEL.EDIT_CHATGROUP','newChatGroup','QUICKPANEL.NEW_CHATGROUP','saveChatGroup','write','addMembers','ChatQueue\x20properly\x20deleted!','ChatGroupController','unreadGroupMessages','groups','showMessageInfo','chatGroup:remove','ShowMessageInfoDialogController','ChatInternalMessageId','addMessage','#chat-group-dialog','membersByKeys','participants','Group\x20','delete\x20Group','app/quick-panel/tabs/groups/create/dialog.html','QUICKPANEL.INFO','ResetPasswordController','token','resetPassword','gdpr','RESETPASSWORD.PASSWORD_RESET','RESETPASSWORD.PASSWORD_RESET_MESSAGE','RESETPASSWORD.PASSWORD_RESET_ERROR','ChangePasswordController','vm.password','changePasswordForm','Authorization\x20error','customFieldsMap','hopperIds','disableGetContact','originatePreview','previousContact','getFirstAvailableContact','isCustomField','isHiddenField','facebook','twitter','skype','wechat','viber','line','telegram','Contact\x20not\x20available','next','PREVIEW','CAMPAIGN\x20NOT\x20ACTIVE','api\x20preview','getPreview','PREVIOUS\x20CONTACTS\x20NOT\x20AVAILABLE','CONTACTS\x20NOT\x20AVAILABLE.\x20REWINDING\x20THE\x20LIST','CONTACTS\x20NOT\x20AVAILABLE','ToolbarController','global','userStatusOptions','Online','icon-checkbox-marked-circle','#4CAF50','Away','icon-clock','#FFC107','Do\x20not\x20Disturb','#F44336','Invisible','icon-checkbox-blank-circle-outline','#BDBDBD','languages','TOOLBAR.SPANISH','TOOLBAR.PERSIAN','TOOLBAR.FRENCH','TOOLBAR.HEBREW','Hindi','TOOLBAR.INDONESIAN','TOOLBAR.ITALIAN','TOOLBAR.JAPANESE','TOOLBAR.LATVIAN','TOOLBAR.NORWEGIAN','Brazilian','TOOLBAR.BRAZILIAN','Portuguese','TOOLBAR.SWEDISH','TOOLBAR.TURKISH','ChineseSimplified','ChineseTraditional','toggleSidenav','changeLanguage','setUserStatus','openSettings','onUserCalled','onInternalMessageSave','onInternalMessageUpdate','onVoiceQueue','ha1','md5secret','phoneBarAutoAnswer','phoneBarEnableDtmfTone','userStatus','selectedLanguage','preferredLanguage','SYSTEM:GETPAUSES','getAuthenticationType','passwordResetAt','passwordExpiresDays','isAfter','TOOLBAR.PASSWORD_EXPIRE_REMAINING_DAYS','ceil','user:called','user:forcelogout','notification:send','DEFAULT\x20PAUSE','SYSTEM:PAUSEUSER','PreviewDialogController','app/toolbar/preview/dialog.html','CONTACT\x20NOT\x20AVAILABLE','webrtc::logout','Motion\x20supports\x20multiple\x20translations\x20through\x20angular-translate\x20module,\x20but\x20currently\x20we\x20do\x20not\x20support\x20the\x20selected\x20language.\x20If\x20you\x20want\x20to\x20help\x20us,\x20send\x20us\x20a\x20message.','','ltr','app/toolbar/changepassword/changepassword.html','TOOLBAR.SOMEONE_LOGGED_YOU_OUT','TOOLBAR.STAY_LOGGED','Logout','queueLogin','setCurrentUser','WebRTC\x20Popup','
\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Call\x20from:\x20','
\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Queue:\x20','
\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Extra:\x20','extravar','Not\x20defined','
\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
','headerWhiteLabel','getOpenContacts','onForceLogout\x20->\x20data','escapeToClose','TOOLBAR.USER_FORCE_LOGOUT','TOOLBAR.NOTIFICATION_TITLE','sender','beep','http://localhost:3000','api/square/projects/','/api/variables','/assets/plugins/square/shapes','/assets/plugins/square/images','/assets/plugins/square/styles','api/square/projects/open','/assets/plugins/square/templates','/assets/plugins/square/resources','/grapheditor','cookie','(^|\x20)','=([^;]+)','assets/plugins/mxgraph','MSIE\x206','documentMode','Opera/','Presto/2.3.','Presto/2.1.','Presto/2.0.','Presto/1.','AppleWebKit/','Chrome/','Firefox/2.','Iceweasel/','Iceweasel/1.','Iceweasel/2.','SeaMonkey/1.','Iceape/','Firefox/','Seamonkey/','Galeon/','Epiphany/','Gecko/','Firefox/1.','Iceape/1.','Camino/1.','Epiphany/2.','Mozilla/2.','appName','MACINTOSH','IPAD','IPOD','IPHONE','http://','IS_VML','IS_SVG','IS_IE6','\x22\x20href=\x22','link','rel','charset','text/css','getElementsByTagName','\x20[Function]\x0a','\x20=>\x20[','\x20=\x20','abs','cos','sin','sqrt','atan2','toRadians','getRotatedPoint','STYLE_PORT_CONSTRAINT','DIRECTION_MASK_NONE','DIRECTION_WEST','DIRECTION_SOUTH','DIRECTION_MASK_SOUTH','DIRECTION_EAST','absolutePoints','getValue','STYLE_STARTSIZE','STYLE_HORIZONTAL','STYLE_ROTATION','contains','offsetParent','getScrollOrigin','getOffset',']+$','ltrim','animateChanges','isVml','alpha(opacity=','CSS1Compat','borderStyle','PATH_SEPARATOR','compare','indexOfStylename','beginUpdate','setStyle','getStyle','ALIGN_RIGHT','ALIGN_BOTTOM','DEFAULT_FONTFAMILY','div','lineHeight','LINE_HEIGHT','IS_QUIRKS','zoom','getModel','getRoot','isEventsEnabled','setEventsEnabled','drawPane','DIALECT_SVG','NS_SVG','canvas','createElementNS','cloneNode','overlayPane','encode','PAGE_FORMAT_A4_PORTRAIT','getGraphBounds','getScale','','base','','','','','','transform','ownerSVGElement','print','460px','pre','
',' ','Popup\x20Window','
','','encodeChanges','changes','undone','','linefeed','escapePostData','significantRemoteChanges','sent','received','CONNECT','SUSPEND','RESUME','poll','reason','mxSession.notify:\x20','\x20xml=','','isValidResponse','Invalid\x20response:\x20','','parseXml','','fillAndStroke','rotatedHtmlBackground','vmlScale','coordsize','strokeweight','stroked','createStroke','createTransparentFill',':fill','tile','createFill','color2','flip','angle','mod',':opacity2','endcap','joinstyle','getVmlDashStyle','0\x202','createShadowStroke','createShadowFill','filled','createRect',':rect',':oval','atmost','ignore','frame',':image','180','background-color:','textAlign','fontDecoration',':group','relative','getAlignmentAsPoint','normal','nowrap','DIV','maxHeight',',\x20M12=',',\x20sizingMethod=\x27auto\x20expand\x27)',':shape',':path','textpathok','\x20l\x20',':textpath','setStates','guideX','guideY','getGuideTolerance','GUIDE_COLOR','GUIDE_STROKEWIDTH','isDashed','createGuideShape','dialect','DIALECT_VML','points','getOverlayPane','parseDescription','defaultLocalized','constraints','bgNode','fgNode','parseConstraints','getChildNodes','parseConstraint','evaluateTextAttribute','evaluateAttribute','localized','eval','drawShape','drawChildren','STYLE_DIRECTION','getNumber','STYLE_STROKEWIDTH','drawNode','quad','curve','arc','x-axis-rotation','sweep-flag','arcsize','RECTANGLE_ROUNDING_FACTOR','STYLE_FLIPV','include-shape','fillstroke','setLineCap','cap','linejoin','stencil','bounds','boundingBox','svgStrokeTolerance','stencilPointerEvents','isHtmlAllowed','createSvg','createHtml','createVml','reconfigure','updateBoundsFromPoints','checkBounds','redrawHtmlShape','updateBoundingBox','createVmlGroup','redrawShape','createCanvas','lastChild','insertAdjacentHTML','beforeend','addTransparentBackgroundFilter','getSvgScreenOffset','updateVmlContainer','isParseVml','destroyCanvas','mxRefCount','releaseSvgGradients','oldGradients','isPaintBoundsInverted','configureCanvas','paintStencilShape','paintEdgeShape','paintVertexShape','isShadow','setGradient','getGradientBounds','updateTransform','paintBackground','getArcSize','paintGlassEffect','#ffffff','isRounded','STYLE_FILLCOLOR','STYLE_GRADIENT_DIRECTION','STYLE_OPACITY','STYLE_STROKECOLOR','STYLE_ENDSIZE','STYLE_STARTARROW','STYLE_ENDARROW','stencilFlipH','stencilFlipV','STYLE_SHADOW','STYLE_DASHED','STYLE_ROUNDED','STYLE_GLASS','setCursor','getCursor','createBoundingBox','getShapeRotation','getBoundingBox','augmentBoundingBox','getRotation','getTextRotation','verticalTextRotation','setTransparentBackgroundImage','backgroundImage','/transparent.gif\x27)','stencils','markers','ARROW_CLASSIC','ARROW_DIAMOND','classic','addMarker','redrawPath','STYLE_ARCSIZE','paintForeground','updateHtmlBounds','updateHtmlFilters','updateHtmlColors','borderWidth','\x27,\x20OffY=\x27','\x27,\x20Color=\x27','progid:DXImageTransform.Microsoft.gradient(startColorStr=\x27','\x27,\x20endColorStr=\x27','paintLine','arrowWidth','ARROW_WIDTH','ARROW_SPACING','ARROW_SIZE','DEFAULT_FONTSTYLE','spacingRight','spacingBottom','background','baseSpacingTop','baseSpacingBottom','baseSpacingLeft','baseSpacingRight','replaceLinefeeds','ignoreClippedStringSize','ignoreStringSize','textDiv','margin','DIALECT_STRICTHTML','clipped','updateSize','updateValue','updateHtmlTransform','updateHtmlFilter','TransformOrigin','Transform','%)scale(',')\x20rotate(','deg)','0%\x200%','progid:DXImageTransform.Microsoft.Matrix(M11=',',\x20M21=','1px\x20solid\x20','border:1px\x20solid\x20','','v\x5c:*{behavior:url(#default#VML)}o\x5c:*{behavior:url(#default#VML)}','mxPageBreak','getCoverPages','getAppendices','renderPage','addGraphFragment','mxPage-','','@media\x20print\x20{','\x20\x20hr.mxPageBreak\x20{\x20display:\x20none;\x20}','\x20\x20table.mxPageSelector\x20{\x20position:\x20fixed;\x20right:\x2010px;\x20top:\x2010px;font-family:\x20Arial;\x20font-size:10pt;\x20border:\x20solid\x201px\x20darkgray;background:\x20white;\x20border-collapse:collapse;\x20}','\x20\x20table.mxPageSelector\x20td\x20{\x20border:\x20solid\x201px\x20gray;\x20padding:4px;\x20}','\x20\x20body.mxPage\x20{\x20background:\x20gray;\x20}','createPageSelector','mxPageSelector','#mxPage-','getCanvas','getBackgroundPane','backgroundPane','createDefaultVertexStyle','createDefaultEdgeStyle','STYLE_SHAPE','RectanglePerimeter','STYLE_VERTICAL_ALIGN','#C3D9FF','#6482B9','#774400','SHAPE_CONNECTOR','STYLE_ALIGN','STYLE_FONTCOLOR','#446299','putDefaultVertexStyle','defaultVertex','putDefaultEdgeStyle','putCellStyle','getDefaultVertexStyle','getDefaultEdgeStyle','defaultEdge','absoluteOffset','orderChanged','origin','visibleSourceState','visibleTargetState','terminalDistance','segments','getPerimeterBounds','computeAspect','setAbsoluteTerminalPoint','getVisibleTerminalState','setVisibleTerminalState','doneResource','updatingSelection','singleSelection','isSingleSelection','setSingleSelection','isSelected','setCell','setCells','getFirstSelectableCell','changeSelection','isCellSelectable','addCells','enter','mxSelectionChange.execute','updatingSelectionResource','selectionModel','modified','autoSize','textNode','mxCellEditor','focusLost','keydown','isEnterStopsCellEditing','isControlDown','stopEditing','clearOnChange','keypress','STYLE_LABEL_POSITION','STYLE_VERTICAL_LABEL_POSITION','setModified','isInvokesStopCellEditing','isHideLabel','STYLE_FONTFAMILY','STYLE_FONTSTYLE','textDecoration','getEditorBounds','getInitialValue','getEmptyLabelText','createTextDiv','editingCell','isModified','getCurrentValue','blur','getEditingValue','STYLE_SPACING','STYLE_SPACING_TOP','STYLE_SPACING_RIGHT','STYLE_SPACING_LEFT','defaultVertexShape','legacyControlPosition','registerShape','defaultShapes','SHAPE_RECTANGLE','SHAPE_ELLIPSE','SHAPE_RHOMBUS','SHAPE_ACTOR','SHAPE_TRIANGLE','SHAPE_CLOUD','SHAPE_LINE','SHAPE_DOUBLE_ELLIPSE','SHAPE_LABEL','createShape','initializeShape','ordered','invalidOrder','keepEdgesInForeground','firstEdge','insertState','installListeners','getDrawPane','getPreviousStateInContainer','findPreviousStateInContainer','getShapeConstructor','getShape','defaultEdgeShape','configureShape','STYLE_INDICATOR_DIRECTION','getIndicatorImage','resolveColor','STYLE_GRADIENTCOLOR','inherit','getSwimlane','swimlaneIndicatorColorAttribute','indicated','getLabelValue','getLabel','STYLE_FONTSIZE','isHtmlLabel','defaultTextShape','getVerticalAlign','STYLE_LABEL_BACKGROUNDCOLOR','STYLE_LABEL_BORDERCOLOR','isLabelClipped','STYLE_OVERFLOW','STYLE_LABEL_PADDING','STYLE_TEXT_OPACITY','initializeLabel','isLabelEvent','IMG','NO_FO','createCellOverlays','getCellOverlays','overlay','installCellOverlayListeners','isEditing','CLICK','createControl','getFoldingImage','control','initControl','DIALECT_PREFERHTML','innerNode','isShapeEvent','convertPoint','gesturestart','lastTouchTime','gestureend','gestureEnabled','handleGesture','redrawLabel','createLabel','isWrapping','getLabelBounds','isClipping','updateMargin','rotateLabelBounds','redrawControl','getControlBounds','equalEntries','redrawCellOverlays','STYLE_SEGMENT','getPortConstraints','DIRECTION_MASK_WEST','getRoutingCenterY','transformControlPoint','getRoutingCenterX','TopToBottom','SegmentConnector','orthBuffer','DIRECTION_MASK_ALL','limits','DIRECTION_MASK_EAST','DIRECTION_MASK_NORTH','vertexSeperations','reversePortConstraints','routePatterns','wayPoints1','dirVectors','TARGET_MASK','SOURCE_MASK','SIDE_MASK','CENTER_MASK','EDGESTYLE_ELBOW','ElbowConnector','putValue','EDGESTYLE_ENTITY_RELATION','EDGESTYLE_LOOP','Loop','EDGESTYLE_SIDETOSIDE','SideToSide','EDGESTYLE_TOPTOBOTTOM','EDGESTYLE_SEGMENT','PERIMETER_ELLIPSE','EllipsePerimeter','PERIMETER_RHOMBUS','PERIMETER_TRIANGLE','TrianglePerimeter','graphBounds','EMPTY_POINT','updatingDocument','allowEval','optimizeVmlReflows','updateStyle','setGraphBounds','setCurrentRoot','revalidate','previousTranslate','sizeDidChange','SCALE','previousScale','TRANSLATE','validate','invalidate','mxGraphView.validate','updatingDocumentResource','validateBounds','validatePoints','validateBackground','createBackgroundPageShape','pageVisible','getBackgroundPageBounds','backgroundPageShape','tooltipHandler','redrawBackgroundImage','updateVertexLabelOffset','removeState','getChildOffsetForCell','updateFixedTerminalPoints','updatePoints','updateFloatingTerminalPoints','updateEdgeLabelOffset','childMoved','isRendering','updateFixedTerminalPoint','getConnectionConstraint','getConnectionPoint','getTerminalPoint','getEdgeStyle','getTerminalPort','STYLE_LOOP','defaultLoopStyle','isAllowEval','updateFloatingTerminalPoint','isOrthogonal','STYLE_SOURCE_PERIMETER_SPACING','STYLE_TARGET_PERIMETER_SPACING','getPerimeterPoint','STYLE_SOURCE_PORT','STYLE_TARGET_PORT','STYLE_ROUTING_CENTER_X','STYLE_ROUTING_CENTER_Y','STYLE_PERIMETER_SPACING','getPerimeterFunction','getNextPoint','updateEdgeBounds','getRelativePoint','ptSegDistSq','relativeCcw','setRendering','rendering','setAllowEval','getCellStates','isContainerEvent','isScrollEvent','clientY','isHideOnHover','captureDocumentGesture','endHandler','moveHandler','createHtmlPane','createVmlPane','coordorigin','0,0','static','isUp','getTranslateForRoot','DOWN','renderHint','RENDERING_HINT_EXACT','RENDERING_HINT_FASTEST','multiplicities','imageBundles','createCellRenderer','setSelectionModel','createSelectionModel','setStylesheet','createGraphView','graphModelChangeListener','createHandlers','/resources/graph','EMPTY_ARRAY','mouseListeners','cellEditor','doubleTapEnabled','lastTouchY','tolerance','defaultOverlap','defaultParent','alternateEdgeStyle','pageBreaksVisible','pageBreakColor','pageBreakDashed','minPageBreakDist','preferPageSize','escapeEnabled','invokesStopCellEditing','enterStopsCellEditing','exportEnabled','importEnabled','cellsLocked','foldingEnabled','cellsEditable','cellsDeletable','cellsMovable','edgeLabelsMovable','vertexLabelsMovable','dropEnabled','cellsResizable','cellsBendable','cellsSelectable','cellsDisconnectable','autoSizeCells','timerAutoScroll','ignoreScrollbars','maximumGraphBounds','minimumGraphSize','minimumContainerSize','maximumContainerSize','resizeContainer','keepEdgesInBackground','constrainChildren','extendParents','extendParentsOnAdd','collapseToPreferredSize','centerZoom','resetViewOnRootChange','resetEdgesOnResize','resetEdgesOnMove','resetEdgesOnConnect','allowLoops','disconnectOnMove','labelsVisible','htmlLabels','swimlaneSelectionEnabled','maxFitScale','collapsedImage','/collapsed.gif','expandedImage','/expanded.gif','/assets/plugins/mxgraph/images/warning.gif','alreadyConnectedResource','alreadyConnected','containsValidationErrorsResource','containsValidationErrors','collapseExpandResource','collapse-expand','createCellEditor','unload','selectstart','<v:group\x20style=\x22DISPLAY:\x20none;\x22></v:group>','panningHandler','connectionHandler','createStylesheet','getStylesheet','getSelectionModel','getTopmostCells','processChange','getRemovedCellsForChanges','removeStateForCell','home','addCellOverlay','ADD_OVERLAY','removeCellOverlay','REMOVE_OVERLAY','removeCellOverlays','clearCellOverlays','setCellWarning','warningImage','</font>','setSelectionCell','startEditingAtCell','isCellEditable','START_EDITING','convertValueToString','cellLabelChanged','isAutoSizeCell','LABEL_CHANGED','cellSizeUpdated','handler','selectCellForEvent','getSwimlaneAt','getGraphY','isToggleEvent','DOUBLE_CLICK','panningManager','createPanningManager','panTo','thin','thick','borderLeftWidth','paddingLeft','borderTopWidth','paddingTop','paddingRight','borderBottomWidth','paddingBottom','getPreferredPageSize','getBorder','doResizeContainer','minHeight','updateHtmlCanvasSize','updatePageBreaks','SIZE','getBorderSizes','horizontalPageBreaks','verticalPageBreaks','postProcessCellStyle','STYLE_IMAGE','data:image/',';base64,','getSelectionCell','toggleCellStyles','setCellStyleFlags','ALIGN_CELLS','flipEdge','FLIP_EDGE','removeImageBundle','getImageFromBundles','cellsOrdered','ORDER_CELLS','back','CELLS_ORDERED','getCellsForGroup','createGroupCell','getBoundsForGroup','getBoundingBoxFromGeometry','addAllEdges','UNGROUP_CELLS','REMOVE_CELLS_FROM_PARENT','updateGroupBounds','setTerminalPoint','insertVertex','createVertex','createEdge','addEdge','addCell','ADD_CELLS','isAllowNegativeCoordinates','extendParent','CELLS_ADDED','getDeletableCells','includeEdges','CELLS_REMOVED','SPLIT_EDGE','newEdge','recurse','isCellFoldable','swapBounds','isExtendParent','CELLS_FOLDED','updateAlternateBounds','getPreferredSizeForCell','getAllEdges','updateCellSize','UPDATE_CELL_SIZE','ignoreChildren','getSizeForString','resizeCell','RESIZE_CELLS','CELLS_RESIZED','isCloneInvalidEdges','setAllowNegativeCoordinates','isDisconnectOnMove','MOVE_CELLS','translateCell','constrainChild','CELLS_MOVED','getCellContainmentArea','getCurrentRoot','getMaximumGraphBounds','isConstrainChild','getOverlap','getAllConnectionConstraints','STYLE_EXIT_X','STYLE_ENTRY_X','STYLE_EXIT_Y','STYLE_ENTRY_Y','STYLE_EXIT_PERIMETER','STYLE_ENTRY_PERIMETER','setConnectionConstraint','point','CONNECT_CELL','terminal','isPortsEnabled','getTerminalForPort','CELL_CONNECTED','disconnectGraph','isCellDisconnectable','enterGroup','isValidRoot','exitGroup','getCellBounds','useScrollbarsForPanning','shiftPreview1','shiftPreview2','zoomFactor','zoomOut','zoomTo','keepSelectionVisibleOnZoom','scrollRectToVisible','setScale','hasScrollbars','zoomToRect','minFitScale','selectionCellsHandler','isCellConnectable','STYLE_ORTHOGONAL','isCloneEvent','IS_MAC','isMetaDown','isAltDown','isForceMarqueeEvent','validationAlert','isEdgeValid','getEdgeValidationError','isAllowDanglingEdges','multigraph','check','validateEdge','allowDanglingEdges','validateGraph','getCellValidationError','validateCell','countError','getBackgroundImage','setBackgroundImage','STYLE_NOLABEL','isHtmlLabels','getTooltip','getHandler','getTooltipForNode','getTooltipForCell','getCursorForCell','getIndicatorColor','STYLE_INDICATOR_COLOR','getIndicatorGradientColor','STYLE_INDICATOR_GRADIENTCOLOR','getIndicatorShape','STYLE_INDICATOR_SHAPE','STYLE_INDICATOR_IMAGE','SHAPE_SWIMLANE','setResizeContainer','isEscapeEnabled','setEscapeEnabled','setInvokesStopCellEditing','setEnterStopsCellEditing','isCellLocked','isCellsLocked','getCloneableCells','isCellCloneable','isCellsCloneable','STYLE_CLONEABLE','cellsCloneable','setCellsCloneable','canExportCell','canImportCell','isCellsSelectable','setCellsSelectable','isCellDeletable','isCellsDeletable','STYLE_DELETABLE','setCellsDeletable','isLabelMovable','getMovableCells','isCellsMovable','STYLE_MOVABLE','setCellsMovable','portsEnabled','setPortsEnabled','getGridSize','setGridSize','getTolerance','setVertexLabelsMovable','isEdgeLabelsMovable','setEdgeLabelsMovable','isSwimlaneNesting','setSwimlaneNesting','swimlaneNesting','isSwimlaneSelectionEnabled','setSwimlaneSelectionEnabled','isMultigraph','setMultigraph','isAllowLoops','setConnectableEdges','connectableEdges','isConnectableEdges','setCloneInvalidEdges','cloneInvalidEdges','setAllowLoops','setDisconnectOnMove','isDropEnabled','splitEnabled','setSplitEnabled','isCellResizable','isCellsResizable','setCellsResizable','isTerminalPointMovable','isCellBendable','isCellsBendable','setCellsBendable','STYLE_EDITABLE','isCellsEditable','isCellsDisconnectable','setCellsDisconnectable','isValidSource','isValidTarget','isValidConnection','setPanning','panningEnabled','getEditingCell','isAutoSizeCells','STYLE_AUTOSIZE','isExtendParents','setExtendParents','isExtendParentsOnAdd','setExtendParentsOnAdd','isConstrainChildren','setConstrainChildren','allowNegativeCoordinates','isAllowOverlapParent','getFoldableCells','isSplitEnabled','isValidDropTarget','setDefaultParent','intersects','hitsSwimlaneContent','getPointForEvent','getCells','getCellsBeyond','isCellSelected','isSelectionEmpty','getSelectionCount','addSelectionCell','addSelectionCells','removeSelectionCell','removeCell','removeSelectionCells','selectRegion','selectCellsForEvent','selectNextCell','selectPreviousCell','selectParentCell','selectCell','selectChildCell','selectVertices','selectCells','selectEdges','isLoop','updateMouseEvent','doubleTapTimeout','doubleTapTolerance','lastTouchX','lastMouseX','lastMouseY','destroyed','tooltip','outline','graphRenderHint','RENDERING_HINT_FASTER','showViewport','updateOnPan','shape-rendering','image-rendering','optimizeSpeed','updateHandler','SCALE_AND_TRANSLATE','panHandler','REFRESH','refreshHandler','selectionBorder','OUTLINE_COLOR','sizer','createSizer','setZoomEnabled','sizerImage','sizerSize','OUTLINE_HANDLE_FILLCOLOR','OUTLINE_HANDLE_STROKECOLOR','getSourceContainerSize','getOutlineOffset','isSource','startX','startY','dx0','validNeighbors','typeError','validNeighborsAllowed','checkTerminal','checkType','undoHandler','beforeUndo','bubbling','isBubbling','setBubbling','getLayout','getCellsForChanges','getParents','LAYOUT_CELLS','executeLayout','resizeHandler','foldHandler','shiftRightwards','shiftDownwards','isCellIgnored','isCellShiftable','isShiftDownwards','setShiftDownwards','cellResized','getCellsToShift','shiftCell','isShiftRightwards','addEnabled','addHandler','resizeEnabled','setHorizontal','setAddEnabled','isResizeEnabled','isSwimlaneIgnored','isCellHorizontal','swimlaneAdded','resizeSwimlane','oldBounds','getStates','oldScale','oldStates','deltas','revalidateState','translateState','addEdges','updatePreviewShape','moveEnabled','currentDx','currentDy','updateCursor','selectEnabled','connectOnDrop','scrollOnMove','previewColor','htmlPreview','scaleGrid','rotationEnabled','cloneEnabled','setCloneEnabled','isMoveEnabled','isSelectEnabled','setSelectEnabled','isRemoveCellsFromParent','isDelayedSelection','getInitialCellForEvent','delayedSelection','cellWasClicked','pBounds','guide','useGuidesForEvent','createPreviewShape','isConstrainedEvent','isCloneEnabled','VALID_COLOR','CURSOR_MOVABLE_EDGE','CURSOR_MOVABLE_VERTEX','setHighlightColor','selectDelayed','guides','shouldRemoveCellsFromParent','destroyShapes','triggerY','usePopupTrigger','useLeftButtonForPanning','previewEnabled','useGrid','isPanningEnabled','isPanningTrigger','popupTrigger','panningTrigger','PAN_START','PAN_END','selectOnPopup','clearSelectionOnBackground','getCellForPopupEvent','DEFAULT_INVALID_COLOR','DEFAULT_HOTSPOT','hotspotEnabled','validColor','invalidColor','validState','setHotspot','hotspot','getHotspot','setHotspotEnabled','isHotspotEnabled','hasValidState','getValidState','getMarkedState','markedState','process','getMarkerColor','currentColor','unmark','MARK','isValidState','getStateToMark','MIN_HOTSPOT_SIZE','MAX_HOTSPOT_SIZE','resetHandler','handlers','maxHandlers','createHandler','ADD','moveIconBack','connectImage','createTarget','constraintHandler','tapAndHoldDelay','tapAndHoldInProgress','tapAndHoldTolerance','initialTouchX','initialTouchY','ignoreMouseDown','connectIconOffset','edgeState','drillHandler','mouseDownCounter','movePreviewAway','isCreateTarget','INVALID_COLOR','redirectMouseEvents','marker','iconState','redrawIcons','icons','destroyIcons','isConnectableCell','isConnecting','validateConnection','isMoveIconToFrontForState','moveIconFront','createIcons','getConnectImage','currentState','getIconPosition','isStartEvent','currentConstraint','currentFocus','sourceConstraint','createEdgeState','waypointsEnabled','waypoints','START','tapAndHoldEnabled','tapAndHoldThread','clearTimeout','tapAndHoldValid','tapAndHold','selectedIcon','updateCurrentState','convertWaypoint','targetConnectImage','getTargetPerimeterPoint','CURSOR_CONNECT','updateIcons','getSourcePerimeterPoint','isStopEvent','addWaypointForEvent','drawPreview','getEdgeWidth','createTargetVertex','getAlignmentTolerance','highlightColor','DEFAULT_VALID_COLOR','focusIcons','focusHighlight','focusPoints','currentFocusArea','pointImage','isEventIgnored','DIALECT_MIXEDHTML','repaint','defaultOpacity','sharedDiv','currentX','currentY','dragHandler','mxRubberband','singleSizer','allowHandleBoundsCheck','handleImage','getSelectionBounds','selectionBounds','createSelectionShape','maxCells','sizers','ne-resize','w-resize','sw-resize','labelShape','LABEL_HANDLE','LABEL_HANDLE_SIZE','LABEL_HANDLE_FILLCOLOR','ROTATION_HANDLE','HANDLE_SIZE','HANDLE_FILLCOLOR','getSelectionColor','isSelectionDashed','VERTEX_SELECTION_COLOR','getSelectionStrokeWidth','VERTEX_SELECTION_DASHED','isSizerVisible','HANDLE_STROKECOLOR','moveSizerTo','getHandleForEvent','rotationShape','currentAlpha','atan','rotationRaster','union','rotateCell','moveChildren','bends','abspoints','getSelectionPoints','isAddPointEvent','addPoint','initBend','EDGE_SELECTION_COLOR','EDGE_SELECTION_STROKEWIDTH','EDGE_SELECTION_DASHED','createBends','isHandleVisible','createHandleShape','CURSOR_BEND_HANDLE','isHandleEnabled','removeEnabled','isRemovePointEvent','removePoint','isTarget','isLabel','getSnapToTerminalTolerance','snapToTerminals','getPreviewPoints','updatePreviewState','getPreviewTerminalState','clonePreviewState','setPreviewColor','moveLabel','changeTerminalPoint','changePoints','addPointAt','findNearestSegment','getHandleFillColor','LOCKED_HANDLE_FILLCOLOR','redrawInnerBends','doubleClickOrientationResource','doubleClickOrientation','createVirtualBend','getCursorForBend','STYLE_EDGE','ELBOW_VERTICAL','row-resize','col-resize','normalKeys','shiftKeys','controlShiftKeys','keyDown','controlKeys','bindShiftKey','bindControlKey','bindControlShiftKey','getFunction','isGraphEvent','hideOnHover','mxTooltip','hideTooltip','stateSource','resetTimer','HIGHLIGHT_STROKEWIDTH','repaintHandler','keepOnTop','drawHighlight','editor','hideProperties','ESCAPE','bindAction','bindKey','createMenu','createConditions','addItems','iconCls','separator','nocell','nonEmpty','expandable','validRoot','insertFunction','resetMode','/separator.gif','addActionCombo','addActionOption','setMode','addPrototype','installDropHandler','horizontalFlow','scrollCellToVisible','makeDraggable','addActions','popupHandler','undoManager','createToolbar','keyHandler','cycleAttributeName','IS_LOCAL','createSession','askZoom','currentFileResource','currentFile','propertiesResource','tasksResource','tasks','dblClickAction','swimlaneRequired','forcedInserting','defaultGroup','postParameterName','urlPost','urlImage','layoutDiagram','swimlaneSpacing','maintainSwimlanes','layoutSwimlanes','cycleAttributeIndex','tasksWindowImage','tasksTop','helpWindowImage','urlHelp','helpWidth','helpHeight','propertiesWidth','propertiesHeight','movePropertiesDialog','validating','getUrlImage','getViewXml','cut','paste','ungroup','zoomIn','zoomActual','showProperties','selectNone','toBack','toFront','selectParent','selectChild','expandAll','toggleCellStyleFlags','alignCellsLeft','alignCellsRight','alignCellsTop','alignCellsMiddle','alignCellsBottom','alignFontLeft','alignFontCenter','alignFontRight','alignFontTop','alignFontMiddle','askZoomResource','toggleTasks','toggleHelp','toggleOutline','showOutline','SESSION','configure','resetHistory','resetFirstTime','mxgraph=seen;\x20expires=Fri,\x2027\x20Jul\x202001\x2002:47:11\x20UTC;\x20path=/','Cannot\x20find\x20action\x20','getTemplate','installDblClickHandler','installUndoHandler','installInsertHandler','createPopupMenu','createSwimlaneManager','createLayoutManager','swimlaneLayout','diagramLayout','createDiagramLayout','setGraphContainer','rubberband','installDrillHandler','ROOT','installChangeHandler','setToolbarContainer','toLocaleString','setStatus','lastSavedResource','OPEN','setTitleContainer','getTitle','treeLayout','getRootTitle','groupBorderSize','createGroup','readGraphModel','getUrlPost','writeGraphModel','postDiagram','POST','namespace','DISCONNECT','swapStyles','createProperties','isPropertiesVisible','showTasks','createTasks','refreshTasks','frameBorder','helpResource','outlineResource','consumeCycleAttribute','cycleAttributeValues','cycleAttribute','isConstrainedMoving','ADD_VERTEX','AFTER_ADD_VERTEX','getName','codecs','aliases','encodeDefaults','putObject','reference','importNode','mxCodec.encode:\x20No\x20codec\x20for\x20','getCodec','encodeCell','isCellCodec','decodeCell','insertIntoGraph','exclude','idrefs','mapping','reverse','cloneTemplate','isExcluded','isReference','beforeEncode','encodeObject','afterEncode','encodeValue','mxObjectCodec.encode:\x20No\x20ID\x20for\x20','writeAttribute','writePrimitiveAttribute','writeComplexAttribute','convertValueToXml','mxObjectCodec.encode:\x20No\x20node\x20for\x20','convertValueFromXml','decodeNode','decodeAttributes','decodeChildren','decodeAttribute','mxObjectCodec.decode:\x20No\x20object\x20for\x20','decodeChild','getFieldTemplate','addObjectValue','processInclude','include','beforeDecode','afterDecode','removeWhitespace','decodeRoot','graphListeners\x20eventListeners\x20view\x20container\x20cellRenderer\x20editor\x20selection','layer','\x20not\x20found\x20to\x20extend','addBreak','pressedIcon','---','Template\x20','cellStyle','modified\x20lastSnapshot\x20ignoredChanges\x20undoManager\x20graphContainer\x20toolbarContainer','Array','decodeTemplates','decodeUi','setStatusContainer','setMapContainer','resource','projectDesignController','isEditingEnabled','menus','menubarContainer','onmousedown','toolbarContainer','onselectstart','diagramContainer','sidebarContainer','footerContainer','tabindex','url(','backgroundPosition','createMultiplicities','ext_dial','math','sayphonetic','google_cloud_tts','tts','ispeechtts','awspolly','getdigits','getsecretdigits','lumenvoxtts','sestektts','mrcpsynth','ispeechasr','sendSMS','sendFax','lumenvoxasr','tildeasr','awslex','sesteknda','sestekasr','mrcprecog','gotoc','gotoiftime','vswitch','queuelog','goal','custom_app','outlineContainer','gesturechange','createKeyHandler','getKeyHandler','splitSize','menubarHeight','toolbarHeight','footerHeight','addSelectionListener','exportXML','data:attachment/text;charset=utf-8,','opener','openFile','setGraphXml','invalidOrMissingFile','validateBlock','Only\x20one\x20Start\x20block\x20is\x20allowed','Only\x20one\x20Finally\x20block\x20is\x20allowed','invalidTimeout','wrongMaxDigit','invalidRetry','noAudioSelected','noVariableSelected','mindigit','wrongMinDigit','wrongHiddenDigitsnum','database','missingQuery','noContextSelected','noExtensionSelected','noCommandSelected','noConditionSelected','digits','noDigitsSelected','noNumberSelected','noTextSelected','noFileSelected','noGoalSelected','noIdentifierSelected','noListSelected','noFirstNameSelected','invalidDelay','noIntervalSelected','noBoxNumberSelected','subproject','noAccountSelected','noRecipientSelected','attachment_path','noAttachmentSelected','noAccessKeySelected','noSecretAccessKeySelected','noKeySelected','speed','invalidSpeed','noGrammarSelected','googleasr','noAppIdInserted','noAppSecretInserted','noUrlInserted','noApplicationSelected','noFindBySelected','noPasswordSelected','restapi','noMethodSelected','numberOrAll','numberOrInvalidOrDefault','trueOrFalse','successOrFailure','pathname','addUndoListener','tilt','autosize','wordWrap','removeFromGroup','alignment','arrange','linewidth','lineend','linestart','setAsDefaultEdge','editLink','openLink','getLinkForCell','hsplit','createDivs','geMenubarContainer','geToolbarContainer','geSidebarContainer','geFooterContainer','vsplit','menubar','createMenubar','geMenubar','geToolbar','createSidebar','createFooter','statusContainer','setStatusText','addSplitHandler','vsplitPosition','createStatusContainer','geItem\x20geStatus','createHeader','createForm','startAnimation','grid','about','publish','musthave','outgoingedge','storage','FileList','touch','initStencilRegistry','createUndoManager','getOrCreateFilename','drawing','.xml','statusChanged','graphChangeListener','allChangesLost','/grid.gif','transparentImage','/transparent.gif','mxGraphModel','setTooltips','tooltips','fold','pageHeight','updateGraphComponents','pageWidth','#e5e5e5','gridImage','/grapheditor-ie6.css','#99ccff','#00a8ff','#cee7ff','#0088cf','#c0c0c0','#cacaca','geBackgroundPage','-1px\x20-1px','addPipe','getSelectionCellsForChanges','loadStencilSet','libraries','getStencil','packages','.js','getBasenameForStencil','parseStencilSet','addStencil','producer','consumer','setConsumer','use\x20strict','editorUi','taglist','showTooltips','IS_IE11','pointerUpHandler','IS_POINTER','pointerDownHandler','pointerdown','pointerMoveHandler','currentElt','pointermove','pointerOutHandler','relatedTarget','/tooltip.png','addSearchPalette','addImagePalette','entry','/entry/','_128x128.png','call_management','/call_management/','agent_management','/agent_management/','/variable/','/playback/','saydigits','saynumber','/tts/','Google\x20Cloud\x20TTS','ISpeechTTS','AWSPolly','LumenvoxTTS','MRCPSynth','asr','ASR','GoogleASR','ISpeechASR','LumenvoxASR','TildeASR','MRCPRecog','integrationServer','/integration_server/','sendMail','Dialogflow','SestekNDA','callflow','/callflow/','stats','/stats/','data:image/gif;base64,R0lGODlhDQANAIABAJmZmf///yH/C1hNUCBEYXRhWE1QPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS4wLWMwNjAgNjEuMTM0Nzc3LCAyMDEwLzAyLzEyLTE3OjMyOjAwICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdFJlZj0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlUmVmIyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M1IE1hY2ludG9zaCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDozNUQyRTJFNjZGNUYxMUU1QjZEOThCNDYxMDQ2MzNCQiIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDozNUQyRTJFNzZGNUYxMUU1QjZEOThCNDYxMDQ2MzNCQiI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjFERjc3MEUxNkY1RjExRTVCNkQ5OEI0NjEwNDYzM0JCIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjFERjc3MEUyNkY1RjExRTVCNkQ5OEI0NjEwNDYzM0JCIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+Af/+/fz7+vn49/b19PPy8fDv7u3s6+rp6Ofm5eTj4uHg397d3Nva2djX1tXU09LR0M/OzczLysnIx8bFxMPCwcC/vr28u7q5uLe2tbSzsrGwr66trKuqqainpqWko6KhoJ+enZybmpmYl5aVlJOSkZCPjo2Mi4qJiIeGhYSDgoGAf359fHt6eXh3dnV0c3JxcG9ubWxramloZ2ZlZGNiYWBfXl1cW1pZWFdWVVRTUlFQT05NTEtKSUhHRkVEQ0JBQD8+PTw7Ojk4NzY1NDMyMTAvLi0sKyopKCcmJSQjIiEgHx4dHBsaGRgXFhUUExIREA8ODQwLCgkIBwYFBAMCAQAAIfkEAQAAAQAsAAAAAA0ADQAAAhSMj6lrwAjcC1GyahV+dcZJgeIIFgA7','data:image/gif;base64,R0lGODlhDQANAIABAJmZmf///yH/C1hNUCBEYXRhWE1QPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS4wLWMwNjAgNjEuMTM0Nzc3LCAyMDEwLzAyLzEyLTE3OjMyOjAwICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdFJlZj0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlUmVmIyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M1IE1hY2ludG9zaCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDoxREY3NzBERjZGNUYxMUU1QjZEOThCNDYxMDQ2MzNCQiIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDoxREY3NzBFMDZGNUYxMUU1QjZEOThCNDYxMDQ2MzNCQiI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjFERjc3MERENkY1RjExRTVCNkQ5OEI0NjEwNDYzM0JCIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjFERjc3MERFNkY1RjExRTVCNkQ5OEI0NjEwNDYzM0JCIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+Af/+/fz7+vn49/b19PPy8fDv7u3s6+rp6Ofm5eTj4uHg397d3Nva2djX1tXU09LR0M/OzczLysnIx8bFxMPCwcC/vr28u7q5uLe2tbSzsrGwr66trKuqqainpqWko6KhoJ+enZybmpmYl5aVlJOSkZCPjo2Mi4qJiIeGhYSDgoGAf359fHt6eXh3dnV0c3JxcG9ubWxramloZ2ZlZGNiYWBfXl1cW1pZWFdWVVRTUlFQT05NTEtKSUhHRkVEQ0JBQD8+PTw7Ojk4NzY1NDMyMTAvLi0sKyopKCcmJSQjIiEgHx4dHBsaGRgXFhUUExIREA8ODQwLCgkIBwYFBAMCAQAAIfkEAQAAAQAsAAAAAA0ADQAAAhGMj6nL3QAjVHIu6azbvPtWAAA7','data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAbCAMAAAB7jU7LAAAACVBMVEX///+ZmZn///9Y2COLAAAAA3RSTlP//wDXyg1BAAAAOElEQVR42mXQMQ4AMAgDsWv//+iutcJmIQSk+9dJpVKpVCqVSqVSqZTdncWzF8/NeP7FkxWenPEDOnUBiL3jWx0AAAAASUVORK5CYII=','data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAAEaSURBVHjabNGxS5VxFIfxz71XaWuQUJCG/gCHhgTD9VpEETg4aMOlQRp0EoezObgcd220KQiXmpretTAHQRBdojlQEJyukPdt+b1ywfvAGc7wnHP4nlZd1yKijQW8xzNc4Su+ZOYfQ3T6/f4YNvEJYzjELXp4VVXVz263+7cR2niBxAFeZ2YPi3iHR/gYERPDwhpOsd6sz8x/mfkNG3iOlWFhFj8y89J9KvzGXER0GuEaD42mgwHqUtoljbcRsTBCeINpfM/MgZLKPpaxFxGbOCqDXmILN7hoJrTKH+axhxmcYRxP0MIDnOBDZv5q1XUNIuJxifJp+UNV7t7BFM6xeic0RMQ4Bpl5W/ol7GISx/eEUUTECrbx+f8A8xhiZht9zsgAAAAASUVORK5CYII=','enableTooltips','tooltipDelay','dropTargetDelay','thumbWidth','thumbHeight','thumbPadding','thumbBorder','sidebarTitleSize','tooltipTitles','maxTooltipWidth','defaultImageWidth','defaultImageHeight','scrollX','graph2','tooltipImage','14px','27px','tooltipBorder','maxTooltipHeight','tooltipTitle','1px\x20solid\x20gray','6px','vertical-navigation','addEntry','dict','entries','filterTags','geSidebar','boxSizing','border-box','8px','textOverflow','12px','borderRadius','-18px','28px','-4px','moreResults','currentSearch','searchEntries','geTitle','0px\x208px\x200px\x208px','noResultsFor','stopPropagation','createTitle','javascript:void(0);','sidebarTooltip','minWidth','sidebarTitles','#303030','geItem','createThumb','createDragSource','createDropHandler','createDragPreview','addClickHandler','IS_IOS','isSplitTarget','layoutManager','createVertexTemplateEntry','createVertexTemplate','google_asr_language','intKey','wss://runa.tilde.lv/client/ws/speech/LVASR-ONLINE','ispeech_asr_language','digit','variable_value','args','escape_digits','ssmlGender','google_tts_language','ispeech_tts_language','/usr/local/unimrcp/data/grammar.xml','aws_polly_region','aws_polly_voice','operation','queuename','data3','data4','data5','{CALLERID(name)}','{CALLERID(num)}','choose_attachment','attachment_type','custom_action','ndaactivity_type','computedVariables','rawHeaders','createVertexTemplateFromCells','createItem','createEdgeTemplate','createEdgeTemplateFromCells','addPaletteFunctions','addPalette','touchAction','url(\x27','backgroundRepeat','no-repeat','originalNoForeignObject','image;html=1;image=','ATTRIBS','a::target','SHADOW_OPACITY','VML_SHADOWCOLOR','#d0d0d0','en-us','es-mx','PAGE_FORMAT_LETTER_PORTRAIT','ignoreRelativeEdgeParent','data:image/gif;base64,R0lGODlhCgAKAJEAAAAAAP///8zMzP///yH5BAEAAAMALAAAAAAKAAoAAAIJ1I6py+0Po2wFADs=','foAltText','[Not\x20supported\x20by\x20viewer]','setAllowDanglingEdges','loadStylesheet','initTouch','/default.xml','STYLE_ELBOW','setDefaultEdge','setLinkForCell','UserObject','ignoreCell','/touch-handle.png','/touch-connector.png','connectorImg','29px','redrawTools','/connector.png','createImage','openProject','saveOrPublishProject','getGraphXml','Ctrl+S','saveAs','saveProjectAs','Ctrl+Shift+S','...Error\x20publishing!\x20Please\x20check\x20the\x20project\x20and\x20try\x20again!','Ctrl+Shift+P','printScreen','Ctrl+P','Ctrl+Z','Ctrl+Y','sprite-cut','Ctrl+X','sprite-copy','Ctrl+C','sprite-paste','Ctrl+V','Ctrl+D','Ctrl+Shift+V','Ctrl+Shift+E','Page\x20Up','Page\x20Down','Enter','Ctrl+F','Ctrl+G','Ctrl+U','enterValue','STYLE_WHITE_SPACE','east','Ctrl+R','actualSize','Add','fitWindow','fitPage','pageView','fitPageWidth','customZoom','\x20(%)','setToggleAction','setSelectedCallback','Ctrl+Q','copyConnect','setCreateTarget','https://wiki.xcallymotion.com/display/XMV/Cally+Square','\x20Cally\x20Square','setCellStyle','triggerX','removeWaypoint','onerror','fileNotFound','shortcut','toggleAction','selectedCallback','/checkmark.gif','Garamond','Lucida\x20Console','promptChange','styleChange','straight','segmentEdgeStyle','automatic','openArrow','ARROW_OPEN','ARROW_OVAL','ARROW_DIAMOND_THIN','ARROW_BLOCK','(px)','showDisabled','STYLE_SPACING_BOTTOM','targetSpacing','addMenuItem','addSubmenu','addMenuItems','(%)','leftAlign','topAlign','STYLE_FLIPH','rightAlign','verticalFlow','editFile','addMenu','addCheckmark','span','/checkmark.gif)','2px\x2050%','currentMenu','addMenuHandler','scrollY','addMenuFunction','stateChanged','createButton','initElement','geSeparator','geSprite-','addSelectionHandler','addEnabledState','geButton','geSprite\x20','geLabel','\x20geToolbarMenu','Authorization','form-control\x20select2','optgroup','--\x20None\x20--','select-group-son','/api/rest/list/list','RMI','geDialog','modal\x20fade\x20in\x20center','geModalDialog','modal-dialog','onDialogClose','modal-header','modal-footer','import','\x20XML','hideDialog','col-md-12','374px','text/xml','files','readAsText','Failed\x20to\x20load\x20format\x20file','Failed\x20to\x20load\x20file','btn\x20blue','btn\x20default','modal-body','176','151','/logo.png','http://www.callysquare.com/','www.callysquare.com','modal-content','col-md-4','col-md-8','control-label\x20pull-right','_copy','form-control','form-horizontal\x20form-row-seperated','form-group','col-sm-4\x20control-label','col-sm-8','variable\x20name','variable\x20description','form-group\x20last','/api/square/projects','square/project/','rename','name=','Project\x20successfully\x20renamed','dataTransfer','dragover','modal-body\x20form','/download','md-dialog-content','md-dialog-actions','/api/users/all','/api/voice/queues','/api/mail/servers/out','/api/voice/voicemails','%mailbox%@%context%','/api/intervals','/api/square/odbc','/api/sounds','maxlength','160','help_','help-block','\x20\x20\x20\x20<form\x20ng-cloak>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-toolbar\x20class=\x22md-accent\x20md-hue-2\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22md-toolbar-tools\x22\x20layout=\x22row\x22\x20layout-align=\x22space-between\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22title\x22\x20translate=\x22LOGIN.TELEPHONES\x22>Telephones</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20</md-toolbar>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-dialog-content>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20value=\x22{{telephone.name}}\x22\x20ng-repeat=\x22telephone\x20in\x20vm.telephones.rows\x22>{{telephone.fullname}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-select>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20</md-dialog-content>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-dialog-actions\x20layout=\x22row\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-button>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20<md-button\x20ng-click=\x22vm.closeDialog()\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20aria-label=\x22cancel\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22LOGIN.CANCEL\x22>Cancel</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-button>\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20</md-dialog-actions>\x0a','</md-dialog>','<md-dialog\x20class=\x22advanced-search-dialog\x22\x20aria-label=\x22Advanced\x20search\x22\x20flex=\x2270\x22\x20ng-init=\x22vm.onInit()\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-toolbar\x20class=\x22advanced-search-dialog-header\x22\x20ng-class=\x22{{\x20\x27vm.toolbarColor\x27\x20}}\x20+\x20\x27-bg\x27\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20flex>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22row\x22\x20layout-align=\x22end\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x20no-margin\x20no-padding\x22\x20ng-click=\x22vm.minimize()\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20class=\x22no-margin\x22\x20md-font-icon=\x22icon-window-minimize\x22\x20aria-label=\x22Minimize\x20dialog\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-button>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<ms-advanced-search\x20options=\x22vm.searchOptions\x22\x20clear-filter=\x22vm.clearConditions()\x22></ms-advanced-search>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-primary\x20md-raised\x22\x20aria-label=\x22Clear\x22\x20ng-disabled=\x22vm.searchOptions.conditions.length\x20===\x200\x22\x20translate=\x22DASHBOARDS.CLEAR\x22\x20translate-attr-aria-label=\x22DASHBOARDS.CLEAR\x22\x20ng-click=\x22vm.clearConditions()\x22></md-button>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-primary\x20md-accent\x20md-raised\x22\x20aria-label=\x22Apply\x22\x20ng-disabled=\x22vm.searchOptions.conditions.length\x20===\x200\x22\x20translate=\x22DASHBOARDS.APPLY\x22\x20translate-attr-aria-label=\x22DASHBOARDS.APPLY\x22\x20ng-click=\x22vm.applyFilter()\x22></md-button>\x0a','\x20\x20\x20\x20</form>\x0a','app/core/directives/ms-advanced-search/ms-advanced-search.html','\x20\x20\x20\x20\x20\x20\x20\x20<md-radio-group\x20ng-model=\x22vm.options.matchType\x22\x20class=\x22md-primary\x22\x20layout=\x22row\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-radio-button\x20value=\x22$or\x22>{{\x20\x27DASHBOARDS.MEET_ANY_CONDITIONS\x27\x20|\x20translate\x20}}</md-radio-button>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20</md-radio-group>\x0a','\x20\x20\x20\x20</div>\x0a','\x20\x20\x20\x20<!--\x20ACTIVE\x20CONDITIONS\x20-->\x0a','\x20\x20\x20\x20<div\x20layout=\x22row\x22\x20ng-if=\x22vm.options.conditions.length\x20>\x200\x22\x20class=\x22advanced-search-conditions\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-list>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-list-item>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-chips\x20ng-model=\x22vm.options.conditions\x22\x20class=\x22advanced-search-chips\x22\x20readonly=\x22true\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-removable=\x22true\x22\x20md-on-remove=\x22vm.removeCondition()\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-chip-template\x20ms-chip-color=\x22{{\x20$chip.style\x20}}\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu\x20md-offset=\x2250\x200\x22\x20ng-class=\x22{\x27no-click\x27:\x20vm.pendingCondition}\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<p\x20class=\x22filter-text\x22>{{\x20$chip.name\x20}}</p>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<em\x20ng-show=\x22$chip.displayEndValue\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22text-lowercase\x22>{{\x20\x27DASHBOARDS.AND\x27\x20|\x20translate\x20}}</em>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-content\x20width=2\x20class=\x22md-dense\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.editCondition($chip)\x22>Edit\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-button>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-menu-item>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.setConditionStatus($chip)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20$chip.disabled\x20?\x20\x27Enable\x27\x20:\x20\x27Disable\x27\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-menu-content>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-menu>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-chip-template>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<button\x20type=\x22button\x22\x20md-chip-remove\x20class=\x22md-primary\x20remove-filter\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-cancel\x22\x20aria-label=\x22Remove\x20Filter\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</button>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-chips>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-list-item>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20</md-list>\x0a','\x20\x20\x20\x20<!--\x20FILTERS\x20-->\x0a','\x20\x20\x20\x20<div\x20layout=\x22row\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22row\x22\x20class=\x22advanced-search-bar\x22\x20layout-margin\x20flex>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20FIELD\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20flex=\x2235\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-filter-variant\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20placeholder=\x22{{\x20\x27DASHBOARDS.SELECT_FIELD\x27\x20|\x20translate\x20}}\x22\x20aria-label=\x22Field\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-select>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-input-container>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20OPERATOR\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20flex=\x2230\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-format-text\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20class=\x22font-size-12\x22\x20ng-model=\x22vm.selectedOperator\x22\x20ng-change=\x22vm.onOperatorChange(oldValue)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-focus=\x22oldValue=vm.selectedOperator\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.selectedField\x22\x20aria-label=\x22Operator\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-selected=\x22vm.autoSelectOperator\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22row\x22\x20class=\x22operators-list\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22operator-symbol\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20operator.symbol\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27DASHBOARDS.\x27\x20+\x20operator.translate\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20TEXT\x20INPUT\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20flex>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20placeholder=\x22{{\x20\x27DASHBOARDS.VALUE\x27\x20|\x20translate\x20}}\x22></input>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20NUMERIC\x20INPUT\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22vm.selectedField.type\x20===\x20\x27number\x27\x22\x20flex\x20layout=\x22row\x22\x20layout-margin\x20class=\x22no-margin\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20class=\x22no-errors\x22\x20flex>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-numeric\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.selectedField\x22\x20min=\x220\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20placeholder=\x22{{\x20vm.selectedOperator.type\x20===\x20\x27$between\x27\x20?\x20\x27DASHBOARDS.STARTING_VALUE\x27\x20:\x20\x27DASHBOARDS.VALUE\x27\x20|\x20translate\x20}}\x22></input>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-input-container>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20class=\x22no-errors\x22\x20ng-if=\x22vm.selectedOperator.type\x20===\x20\x27$between\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22\x20icon-numeric\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20class=\x22md-input\x22\x20type=\x22number\x22\x20aria-label=\x22Value\x22\x20ng-model=\x22vm.endRangeValue\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-change=\x22vm.checkRange()\x22\x20ng-disabled=\x22!vm.value\x22\x20min=\x22vm.value\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-keydown=\x22$event.keyCode\x20==\x2013\x20&&\x20vm.isValidCondition\x20&&\x20vm.handleKeyboardAction()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20placeholder=\x22{{\x20\x27DASHBOARDS.ENDING_VALUE\x27\x20|\x20translate\x20}}\x22></input>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22!vm.isValidRange\x22\x20class=\x22md-input-message-animation\x20md-input-messages-animation\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20SELECT\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20ng-if=\x22vm.selectedField.type\x20===\x20\x27select\x27\x22\x20flex>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20class=\x22font-size-12\x22\x20ng-model=\x22vm.value\x22\x20md-on-open=\x22vm.getValues()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-keydown=\x22$event.keyCode\x20==\x2013\x20&&\x20vm.isValidCondition\x20&&\x20vm.handleKeyboardAction()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20placeholder=\x22{{\x20\x27DASHBOARDS.VALUE\x27\x20|\x20translate\x20}}\x22\x20aria-label=\x22Value\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22item\x22\x20ng-repeat=\x22item\x20in\x20vm.selectedField.values\x22>{{item.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20MULTISELECT\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20ng-if=\x22vm.selectedField.type\x20===\x20\x27multiselect\x27\x22\x20flex>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20class=\x22font-size-12\x22\x20multiple\x20ng-model=\x22vm.value\x22\x20md-on-open=\x22vm.getValues()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-change=\x22vm.onValueChange()\x22\x20ng-model-vm.options=\x22{trackBy:\x20\x27$value.id\x27}\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20DATE\x20INPUT\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22vm.selectedField.type\x20===\x20\x27date\x27\x22\x20flex\x20layout=\x22row\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<mdp-date-picker\x20mdp-open-on-click\x20ng-model=\x22vm.value\x22\x20ng-change=\x22vm.onValueChange()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mdp-max-date=\x22vm.maxDateRange\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mdp-placeholder=\x22{{\x20vm.selectedOperator.type\x20===\x20\x27$between\x27\x20?\x20\x27DASHBOARDS.STARTING_DATE\x27\x20:\x20\x27DASHBOARDS.VALUE\x27\x20|\x20translate\x20}}\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-keydown=\x22$event.keyCode\x20==\x2013\x20&&\x20vm.isValidCondition\x20&&\x20vm.handleKeyboardAction()\x22\x20flex>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</mdp-date-picker>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<mdp-date-picker\x20mdp-open-on-click\x20ng-if=\x22vm.selectedOperator.type\x20===\x20\x27$between\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-change=\x22vm.checkRange()\x22\x20ng-model=\x22vm.endRangeValue\x22\x20mdp-min-date=\x22vm.minDateRange\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mdp-disabled=\x22!vm.value\x22\x20mdp-placeholder=\x22{{\x20\x27DASHBOARDS.ENDING_DATE\x27\x20|\x20translate\x20}}\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20AUTOCOMPLETE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22vm.selectedField.type\x20===\x20\x27autocomplete\x27\x20&&\x20vm.selectedOperator.type\x20!=\x20\x27$substring\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-autocomplete\x20md-selected-item=\x22vm.value\x22\x20md-selected-item-change=\x22vm.onValueChange()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-items=\x22item\x20in\x20vm.getValues()\x22\x20md-search-text=\x22vm.searchText\x22\x20md-item-text=\x22item.displayValue\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-min-length=\x224\x22\x20md-no-cache=\x22true\x22\x20md-floating-label=\x22{{\x20\x27DASHBOARDS.VALUE\x27\x20|\x20translate\x20}}\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-item-template>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20md-highlight-text=\x22vm.searchText\x22\x20md-highlight-flags=\x22i\x22>{{item.displayValue}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-item-template>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-autocomplete>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22vm.selectedField.type\x20===\x20\x27autocomplete\x27\x20&&\x20vm.selectedOperator.type\x20===\x20\x27$substring\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22no-errors\x22\x20flex>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.selectedField\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22DASHBOARDS.ADD\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-plus\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20</md-button>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-fab\x20md-mini\x20mt-20\x22\x20ng-if=\x22vm.pendingCondition\x22\x20ng-disabled=\x22!vm.isValidCondition\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22Update\x20filter\x22\x20ng-click=\x22vm.updateCondition()\x22\x20translate-attr-aria-label=\x22DASHBOARDS.UPDATE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.cancelUpdateCondition()\x22\x20translate-attr-aria-label=\x22DASHBOARDS.CANCEL\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-close\x22></md-icon>\x0a','app/core/directives/ms-card/templates/template-1/template-1.html','\x20\x20\x20\x20\x20\x20\x20\x20<img\x20class=\x22image\x22\x20ng-src=\x22{{card.media.image.src}}\x22\x20alt=\x22{{card.media.image.alt}}\x22\x20ng-show=\x22card.media.image\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22title\x20h1\x22\x20ng-if=\x22card.title\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{card.title}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{card.subtitle}}\x0a','<div\x20class=\x22template-10\x20p-16\x22>\x0a','\x20\x20\x20\x20<div\x20class=\x22pb-16\x22\x20layout=\x22row\x22\x20layout-align=\x22space-between\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22info\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22title\x20secondary-text\x22\x20ng-if=\x22card.title\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{card.title}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22subtitle\x20h2\x22\x20ng-if=\x22card.subtitle\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22media\x20ml-16\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<img\x20class=\x22image\x22\x20ng-src=\x22{{card.media.image.src}}\x22\x20alt=\x22{{card.media.image.alt}}\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22card.media.image\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20{{card.text}}\x0a','app/core/directives/ms-card/templates/template-2/template-2.html','<div\x20class=\x22template-2\x22>\x0a','\x20\x20\x20\x20<div\x20class=\x22header\x20p-16\x22\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22card.avatar\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<img\x20class=\x22avatar\x20mr-16\x22\x20ng-src=\x22{{card.avatar.src}}\x22\x20alt=\x22{{card.avatar.alt}}\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22title\x22\x20ng-if=\x22card.title\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{card.subtitle}}\x0a','\x20\x20\x20\x20<div\x20class=\x22media\x22>\x0a','\x20\x20\x20\x20<div\x20class=\x22text\x20p-16\x22\x20ng-if=\x22card.text\x22>\x0a','app/core/directives/ms-card/templates/template-3/template-3.html','<div\x20class=\x22template-3\x20p-16\x20teal-bg\x20white-fg\x22\x20layout=\x22row\x22\x20layout-align=\x22space-between\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22title\x20h1\x22\x20ng-if=\x22card.title\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22subtitle\x20h3\x20secondary-text\x22\x20ng-if=\x22card.subtitle\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22cta\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22m-0\x22>{{card.cta}}</md-button>\x0a','\x20\x20\x20\x20<div\x20class=\x22media\x20pl-16\x22>\x0a','<div\x20class=\x22template-4\x22>\x0a','\x20\x20\x20\x20<div\x20class=\x22info\x20white-fg\x20ph-16\x20pv-24\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22text\x22\x20ng-if=\x22card.text\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{card.text}}\x0a','app/core/directives/ms-card/templates/template-5/template-5.html','<div\x20class=\x22template-5\x20p-16\x22\x20layout=\x22row\x22\x20layout-align=\x22space-between\x20start\x22>\x0a','\x20\x20\x20\x20<div\x20class=\x22info\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22event\x20h2\x22\x20ng-if=\x22card.event\x22>\x0a','app/core/directives/ms-card/templates/template-6/template-6.html','<div\x20class=\x22template-6\x22>\x0a','\x20\x20\x20\x20<div\x20class=\x22content\x20pv-24\x20ph-16\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22subtitle\x20secondary-text\x22\x20ng-if=\x22card.subtitle\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22text\x20pt-8\x22\x20ng-if=\x22card.text\x22>\x0a','app/core/directives/ms-card/templates/template-7/template-7.html','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22p-16\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22subtitle\x20h4\x20secondary-text\x22\x20ng-if=\x22card.subtitle\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22text\x20h4\x20pt-8\x22\x20ng-if=\x22card.text\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-divider></md-divider>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22p-8\x22\x20layout=\x22row\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-star-outline\x22\x20class=\x22mh-5\x22></md-icon>\x0a','app/core/directives/ms-card/templates/template-8/template-8.html','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22buttons\x20pt-16\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22m-0\x20md-accent\x22>{{card.button2}}</md-button>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22text\x20pt-16\x22\x20ng-if=\x22card.text\x22>\x0a','app/core/directives/ms-card/templates/template-9/template-9.html','<div\x20class=\x22template-9\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22subtitle\x20secondary-text\x22\x20ng-if=\x22card.subtitle\x22>\x0a','\x20\x20\x20\x20<div\x20class=\x22text\x20ph-16\x20pb-16\x22\x20ng-if=\x22card.text\x22>\x0a','\x20\x20\x20\x20<div\x20class=\x22buttons\x20m-8\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x20mr-16\x22\x20aria-label=\x22Favorite\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-heart-outline\x22\x20class=\x22s24\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-share\x22\x20class=\x22s24\x22></md-icon>\x0a','<section\x20ng-if=\x22type\x20!==\x20\x27button\x27\x22>\x0a','\x20\x20<md-menu\x20ng-if=\x22showMenu()\x22>\x0a','\x20\x20\x20\x20<a\x20aria-label=\x22Target\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22prefix\x22>{{prefix}}-</span>{{target}}\x0a','\x20\x20\x20\x20<md-menu-content\x20width=\x222\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-item>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.CALL_NUMBER\x27\x20|\x20translate}}\x20({{prefix\x20?\x20prefix\x20+\x20\x27-\x27\x20+\x20target\x20:\x20target}})\x0a','\x20\x20\x20\x20\x20\x20\x20\x20</md-menu-item>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22transfer(prefix\x20?\x20prefix\x20+\x20target\x20:\x20target)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.TRANSFER_NUMBER\x27\x20|\x20translate}}\x20({{prefix\x20?\x20prefix\x20+\x20\x27-\x27\x20+\x20target\x20:\x20target}})\x0a','\x20\x20\x20\x20</md-menu-content>\x0a','</section>\x0a','<section\x20ng-if=\x22type\x20===\x20\x27button\x27\x22>\x0a','\x20\x20<md-button\x20ng-if=\x22!showMenu()\x22\x20ng-disabled=\x22true\x22\x20class=\x22md-icon-button\x20md-raised\x20md-accent\x20ng-scope\x20md-ink-ripple\x22\x20title=\x22NEW\x20CALL\x22\x20aria-label=\x22NEW\x20CALL\x22>\x0a','\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-phone\x22></md-icon>\x0a','\x20\x20</md-button>\x0a','\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x20md-raised\x20md-accent\x20ng-scope\x20md-ink-ripple\x22\x20title=\x22NEW\x20CALL\x22\x20ng-click=\x22$mdOpenMenu($event)\x22\x20aria-label=\x22NEW\x20CALL\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-phone\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22transfer(target)\x22>\x0a','\x20\x20</md-menu>\x0a','app/core/directives/ms-dual-multiselect/ms-dual-multiselect.html','<div\x20ng-cloak\x20layout-gt-sm=\x22row\x22\x20layout=\x22column\x22>\x0a','\x20\x20\x20\x20<div\x20flex-gt-sm=\x2250\x22\x20flex=\x2245\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20ng-model=\x22query\x22\x20type=\x22text\x22\x20placeholder=\x22{{options.labelSearch\x20||\x20\x27Search...\x27}}\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20</md-input-container>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-content\x20class=\x22border\x20h-300\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-list\x20class=\x22md-dense\x20no-padding\x22\x20layout-fill\x20layout-align=\x22center\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-list-item\x20class=\x22md-3-line\x22\x20ng-class=\x22options.readOnly\x20?\x20\x27read-only-mode\x27\x20:\x20\x27\x27\x22\x20ng-disabled=\x22options.readOnly\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-repeat=\x22item\x20in\x20options.items\x20|\x20filter:\x20query\x20|\x20orderBy:\x20options.orderBy\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22canTransfer(item,\x20options,\x20false)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h3\x20ng-if=\x22options.line1\x22>{{getLine(item,\x20options.line1)}}</h3>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h4\x20ng-if=\x22options.line2\x22>{{getLine(item,\x20options.line2)}}</h4>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<p\x20ng-if=\x22options.line3\x22>{{getLine(item,\x20options.line3)}}</p>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<p\x20class=\x22ms-dual-multiselect-line-xs\x22\x20ng-if=\x22options.line4\x22>{{getLine(item,\x20options.line4)}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</p>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-list-item>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-list>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20</md-content>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20ng-show=\x22options.showSelectAndDeselectAll\x20&&\x20!options.readOnly\x22\x20md-font-icon=\x22icon-chevron-double-right\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22swap\x22\x20ng-click=\x22transfer(options.items,\x20options.selectedItems,\x20-1,\x20false)\x22></md-icon>\x0a','\x20\x20\x20\x20<div\x20flex=\x2210\x22\x20layout=\x22row\x22\x20layout-align=\x22center\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-magnify\x22\x20aria-label=\x22swap\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-list-item\x20class=\x22md-3-line\x22\x20ng-class=\x22options.readOnly\x20||\x20!item.isValid\x20?\x20\x27read-only-mode\x27\x20:\x20\x27\x27\x22\x20ng-disabled=\x22options.readOnly\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-repeat=\x22item\x20in\x20options.selectedItems\x20|\x20filter:\x20selectedQuery\x20|\x20orderBy:\x20options.orderBy\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22canTransfer(item,\x20options,\x20true)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20ng-class=\x22options.readOnly\x20||\x20!item.isValid\x20?\x20\x27hidden\x27\x20:\x20\x27\x27\x22\x20md-font-icon=\x22icon-arrow-left-bold\x22\x20aria-label=\x22swap\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22md-list-item-text\x22\x20layout=\x22column\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22margin-10\x22\x20layout=\x22row\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20ng-show=\x22options.showSelectAndDeselectAll\x20&&\x20!options.readOnly\x22\x20md-font-icon=\x22icon-chevron-double-left\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22swap\x22\x20flex\x20ng-click=\x22transfer(options.selectedItems,\x20options.items,\x20-1,\x20true)\x22></md-icon>\x0a','<md-select\x20ng-model=\x22ngModel\x22\x20class=\x22no-margin\x22>\x0a','\x20\x20\x20\x20</md-option>\x0a','</md-select>\x0a','<div\x20id=\x22ms-info-bar\x22\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22\x20flex>\x0a','\x20\x20\x20\x20<div\x20id=\x22ms-info-bar-message\x22\x20ng-transclude\x20flex></div>\x0a','\x20\x20\x20\x20<md-button\x20id=\x22ms-info-bar-close\x22\x20class=\x22md-icon-button\x22\x20aria-label=\x22Close\x22\x20ng-click=\x22removeInfoBar()\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-close\x20s20\x22></md-icon>\x0a','\x20\x20\x20\x20</md-button>\x0a','</div>\x0a','app/core/directives/ms-material-color-picker/ms-material-color-picker.html','<md-menu\x20md-position-mode=\x22target-right\x20target\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<ms-color-picker-button>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22$mdOpenMenu($event)\x22\x20ng-class=\x22vm.selectedColor.class\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-show=\x22vm.selectedColor.palette\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedColor.palette}}\x20{{vm.selectedColor.hue}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-show=\x22!vm.selectedColor.palette\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Select\x20Color\x0a','\x20\x20\x20\x20\x20\x20\x20\x20</ms-color-picker-button>\x0a','\x20\x20\x20\x20<md-menu-content\x20class=\x22ms-material-color-picker-menu-content\x22\x20layout-column>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<header\x20ng-class=\x22vm.selectedColor.class\x20||\x20\x27md-accent-bg\x27\x22\x20class=\x22md-whiteframe-4dp\x22\x20layout=\x22row\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20layout-align=\x22space-between\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20md-prevent-menu-close\x20ng-click=\x22vm.activateHueSelection(false,false)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22md-icon-button\x22\x20ng-class=\x22{\x27hidden\x27:!vm.selectedPalette}\x22\x20aria-label=\x22Palette\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-arrow-left\x22\x20class=\x22s20\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22vm.selectedColor.palette\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedColor.palette}}\x20{{vm.selectedColor.hue}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22!vm.selectedColor.palette\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22remove-color-button\x20md-icon-button\x22\x20ng-click=\x22vm.removeColor()\x22\x20aria-label=\x22Remove\x20Color\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-delete\x22\x20class=\x22s20\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20</header>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22colors\x22\x20ms-scroll>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-show=\x22!vm.selectedPalette\x22\x20layout=\x22row\x22\x20layout-wrap>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-repeat=\x22(palette,\x20hues)\x20in\x20vm.palettes\x22\x20ng-click=\x22vm.activateHueSelection(palette,hues)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20layout=\x22row\x22\x20layout-align=\x22start\x20end\x22\x20md-prevent-menu-close\x20md-ink-ripple>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22label\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22color\x22\x20ng-class=\x22\x27md-\x27+vm.selectedPalette+\x27-\x27+hue+\x27-bg\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-repeat=\x22(hue,\x20values)\x20in\x20vm.selectedHues\x22\x20ng-click=\x22vm.selectColor(vm.selectedPalette,hue)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20layout=\x22row\x22\x20layout-align=\x22start\x20end\x22\x20md-ink-ripple>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22s16\x20icon-check\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</i>\x0a','</md-menu>','<div\x20class=\x22navigation-toggle\x22\x20hide-gt-sm>\x0a','\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm.toggleHorizontalMobileMenu()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-menu\x22></md-icon>\x0a','\x20\x20\x20\x20<li\x20ng-repeat=\x22node\x20in\x20vm.navigation\x22\x20ms-navigation-horizontal-node=\x22node\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27has-children\x27:\x20vm.hasChildren}\x22\x0a','<!--\x20Nested\x20horizontal\x20navigation\x20template\x20-->\x0a','<script\x20type=\x22text/ng-template\x22\x20id=\x22navigation-horizontal-nested.html\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22ms-navigation-horizontal-button\x22\x20ng-if=\x22!node.uisref\x20&&\x20node.title\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27active\x20md-accent-bg\x20md-accent-fg\x27:\x20vm.isActive}\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<i\x20class=\x22icon\x20s18\x20{{node.icon}}\x22\x20ng-if=\x22node.icon\x22></i>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22title\x22\x20translate=\x22{{node.translate}}\x22\x20flex>{{node.title}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22badge\x20white-fg\x22\x20style=\x22background:\x20{{node.badge.color}}\x22\x20ng-if=\x22node.badge\x22>{{node.badge.content}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<i\x20class=\x22icon-chevron-right\x20s18\x20arrow\x22\x20ng-if=\x22vm.hasChildren\x22></i>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<a\x20class=\x22ms-navigation-horizontal-button\x22\x20ui-sref=\x22{{node.uisref}}\x22\x20ui-sref-active=\x22active\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27active\x20md-accent-bg\x20md-accent-fg\x27:\x20vm.isActive}\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22node.uisref\x20&&\x20node.title\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20</a>\x0a','\x20\x20\x20\x20<ul\x20ng-if=\x22vm.hasChildren\x20&&\x20!vm.isHidden()\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<li\x20ng-repeat=\x22node\x20in\x20node.children\x22\x20ms-navigation-horizontal-node=\x22node\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27has-children\x27:\x20vm.hasChildren}\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-include=\x22\x27navigation-horizontal-nested.html\x27\x22></li>\x0a','<!--\x20/\x20Nested\x20navigation\x20template\x20-->','<ul>\x0a','\x20\x20\x20\x20<li\x20ng-repeat=\x22node\x20in\x20vm.navigation\x22\x20ms-navigation-node=\x22node\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27collapsed\x27:\x20vm.collapsed,\x20\x27has-children\x27:\x20vm.hasChildren}\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20ng-include=\x22\x27navigation-nested.html\x27\x22></li>\x0a','<script\x20type=\x22text/ng-template\x22\x20id=\x22navigation-nested.html\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22ms-navigation-button\x22\x20ng-if=\x22!node.uisref\x20&&\x20node.title\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<i\x20class=\x22icon\x20s16\x20{{node.icon}}\x22\x20ng-if=\x22node.icon\x22></i>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22badge\x20white-fg\x20margin-right-20\x22\x20ng-style=\x22{\x27background\x27:\x20node.badge.color}\x22\x20ng-if=\x22node.badge\x22>{{node.badge.content}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<a\x20class=\x22ms-navigation-button\x22\x20ui-sref=\x22{{node.uisref}}\x22\x20ui-sref-active=\x22active\x20md-accent-bg\x22\x20ng-if=\x22node.uisref\x20&&\x20node.title\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<li\x20ng-repeat=\x22node\x20in\x20node.children\x22\x20ms-navigation-node=\x22node\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27collapsed\x27:\x20vm.collapsed,\x20\x27has-children\x27:\x20vm.hasChildren}\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-include=\x22\x27navigation-nested.html\x27\x22></li>\x0a','</script>\x0a','<!--\x20/\x20Nested\x20navigation\x20template\x20-->\x0a','assets/ms-phonebar/ms-phonebar-dialpad.html','<!--\x20Dialpad\x20-->\x0a','\x20\x20\x20\x20<section\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<span><img\x20class=\x22num-pad-logo\x22\x20layout-padding\x20src=\x22/api/settings/1/logo\x22\x20alt=\x22logo\x22\x20/></span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22>Dialpad</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22row\x22\x20layout-align=\x22end\x20center\x22\x20flex>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm_pb.closeDialpad()\x22>\x0a','\x20\x20\x20\x20</section>\x0a','\x20\x20\x20\x20<md-divider></md-divider>\x0a','\x20\x20\x20\x20<section\x20layout=\x22row\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22span4\x22\x20ng-repeat=\x22item\x20in\x20::[{n:\x201,\x20l:\x20[]},\x20{n:\x202,\x20l:\x20[\x27a\x27,\x20\x27b\x27,\x20\x27c\x27]},\x20{n:\x203,\x20l:\x20[\x27d\x27,\x20\x27e\x27,\x20\x27f\x27]}]\x22\x20ng-click=\x22vm_pb.type(item.n,\x20true)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22num\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{item.n}}\x20<span\x20class=\x22small\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<p>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</p>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22span4\x22\x20ng-repeat=\x22item\x20in\x20::[{n:\x204,\x20l:\x20[\x27g\x27,\x20\x27h\x27,\x20\x27i\x27]},\x20{n:\x205,\x20l:\x20[\x27j\x27,\x20\x27k\x27,\x20\x27l\x27]},\x20{n:\x206,\x20l:\x20[\x27m\x27,\x20\x27n\x27,\x20\x27o\x27]}]\x22\x20ng-click=\x22vm_pb.type(item.n,\x20true)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22txt\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-repeat=\x22l\x20in\x20::item.l\x22>{{l\x20|\x20uppercase}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22span4\x22\x20ng-repeat=\x22item\x20in\x20::[{n:\x207,\x20l:\x20[\x27p\x27,\x20\x27q\x27,\x20\x27r\x27,\x20\x27s\x27]},\x20{n:\x208,\x20l:\x20[\x27t\x27,\x20\x27u\x27,\x20\x27v\x27]},\x20{n:\x209,\x20l:\x20[\x27w\x27,\x20\x27x\x27,\x20\x27y\x27,\x20\x27z\x27]}]\x22\x20ng-click=\x22vm_pb.type(item.n,\x20true)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22span4\x22\x20ng-repeat=\x22item\x20in\x20::[{n:\x20\x27*\x27,\x20l:\x20[]}]\x22\x20ng-click=\x22vm_pb.type(item.n,\x20true)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22txt\x22\x20layout=\x22column\x22\x20layout-align=\x22center\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22span4\x22\x20ng-repeat=\x22item\x20in\x20::[{n:\x200,\x20l:\x20[\x27+\x27]}]\x22\x20ng-click=\x22vm_pb.type(item.n,\x20true)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<p>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-repeat=\x22l\x20in\x20::item.l\x22>{{l\x20|\x20uppercase}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22num\x22\x20layout=\x22column\x22\x20layout-align=\x22center\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{item.n}}\x0a','</md-content>\x0a','<!--\x20Input&Media\x20Area\x20-->\x0a','<div\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20START\x20Ringing\x20Tone-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-fab\x20md-mini\x20white-bg\x20width-25\x20height-25\x20margin-5\x22\x20aria-label=\x22Ringing\x22\x20ng-click=\x22vm_pb.conf.ringingMute\x20=\x20!vm_pb.conf.ringingMute;\x20vm_pb.initDevice(\x27ringing\x27,\x20true)\x22\x20ng-disabled=\x22!vm_pb.registered\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip><span\x20translate=\x22TOOLBAR.RINGING\x22>Ringing</span></md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20START\x20Speaker\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-fab\x20md-mini\x20white-bg\x20width-25\x20height-25\x20margin-5\x22\x20aria-label=\x22Speaker\x22\x20ng-click=\x22vm_pb.conf.speakerMute\x20=\x20!vm_pb.conf.speakerMute;\x20vm_pb.initDevice(\x27speaker\x27,\x20true)\x22\x20ng-disabled=\x22!vm_pb.registered\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22{{vm_pb.conf.speakerMute\x20?\x20\x27icon-volume-off\x27\x20:\x20\x27icon-volume\x27}}\x22\x20class=\x22icon\x20s14\x22\x20ng-class=\x22vm_pb.conf.speakerMute\x20?\x20\x27red-fg\x27\x20:\x20\x27grey-fg\x27\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip><span\x20translate=\x22TOOLBAR.SPEAKER\x22>Speaker</span></md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20END\x20Speaker\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-fab\x20md-mini\x20white-bg\x20width-25\x20height-25\x20margin-5\x22\x20aria-label=\x22Microphone\x22\x20ng-click=\x22vm_pb.conf.microphoneMute\x20=\x20!vm_pb.conf.microphoneMute;\x20vm_pb.initDevice(\x27microphone\x27,\x20true)\x22\x20ng-disabled=\x22!vm_pb.registered\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22{{vm_pb.conf.microphoneMute\x20?\x20\x27icon-microphone-off\x27\x20:\x20\x27icon-microphone\x27}}\x22\x20class=\x22icon\x20s14\x22\x20ng-class=\x22vm_pb.conf.microphoneMute\x20?\x20\x27red-fg\x27\x20:\x20\x27grey-fg\x27\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20END\x20Microphone\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20START\x20Registered\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22quantity-indicator\x20md-red-500-bg\x22\x20ng-class=\x22vm_pb.registered\x20?\x20\x27md-green-500-bg\x27\x20:\x20\x27md-red-500-bg\x27\x22></span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip><span>{{vm_pb.conf.license\x20?\x20(vm_pb.registered\x20?\x20\x27TOOLBAR.REGISTERED\x27\x20:\x20\x27TOOLBAR.NOT_REGISTERED\x27)\x20:\x20\x27TOOLBAR.WEBRTC_LICENSE_NOT_ENABELD\x27\x20|\x20translate}}\x20<timer\x20ng-if=\x22vm_pb.registered\x22\x20interval=\x221000\x22>{{\x20days\x20>\x200\x20?\x20days\x20+\x20\x27d\x27\x20:\x20\x27\x27\x20}}\x20{{hhours}}:{{mminutes}}:{{sseconds}}</timer></span></span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20</md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20END\x20Registered\x20-->\x0a','\x20\x20\x20\x20<div\x20layout=\x22column\x22\x20layout-align=\x22center\x20start\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20START\x20Target\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<angucomplete-alt\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20id=\x22ms-target-wrap\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20pause=\x2210\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20local-data=\x22vm_pb.calls\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20search-fields=\x22target\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20minlength=\x220\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20match-class=\x22highlight\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20template-url=\x22assets/ms-phonebar/ms-phonebar-input.html\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20input-changed=\x22vm_pb.targetChanged\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-keypress=\x22vm_pb.typeWrapper($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20focus-first=\x22true\x22\x20/>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20END\x20Target\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20Auto\x20Answer\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-fab\x20md-mini\x20white-bg\x20width-30\x20height-30\x22\x20aria-label=\x22Dialpad\x22\x20ng-click=\x22vm_pb.toggleDialpad()\x22\x20ng-disabled=\x22!vm_pb.registered\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22vm_pb.target\x22\x20class=\x22md-fab\x20md-mini\x20white-bg\x20width-25\x20height-25\x22\x20aria-label=\x22Call\x22\x20style=\x22margin-left:\x200px;\x22\x20ng-click=\x22vm_pb.call()\x22>\x0a','<md-button\x20ng-if=\x22vm_pb.canGoInConference\x22\x20\x0a','\x20\x20\x20\x20class=\x22md-fab\x20md-mini\x20white-bg\x20width-25\x20height-25\x20margin-5\x22\x20aria-label=\x223Way\x22\x20\x0a','\x20\x20\x20\x20ng-click=\x22vm_pb.start3WayConf();\x20\x20$event.stopPropagation();\x22>\x0a','</md-button>\x0a','<!--\x20END\x203Way\x20-->\x0a','<div\x20class=\x22toolbar-separator\x22></div>\x0a','<!--\x20Sessions\x20Area\x20-->\x0a','<div\x20class=\x22sessions\x22\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22\x20flex>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-account-alert\x22\x20class=\x22icon\x20s36\x20red-fg\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<span\x20layout-margin\x20translate=\x22TOOLBAR.WEBRTC_LICENSE_NOT_ENABELD\x22></span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-radiobox-marked\x22\x20class=\x22icon\x20s14\x22\x20ng-class=\x22session.monitor\x20?\x20\x27red-fg\x27\x20:\x20\x27grey-fg\x27\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22column\x22\x20layout-align=\x22center\x20start\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22session-info\x22>{{\x20(session.user\x20==\x20session.name)\x20?\x20session.user\x20:\x20(session.name\x20+\x20\x27\x20\x27\x20+\x20session.user)\x20}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22session-info\x22\x20layout=\x22row\x22\x20layout=\x22start\x20center\x22><timer\x20interval=\x221000\x22>{{hhours}}:{{mminutes}}:{{sseconds}}</timer></span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20START\x20Answer\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-phone\x22\x20class=\x22icon\x20green-fg\x20s12\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-phone-hangup\x22\x20class=\x22icon\x20red-fg\x20s12\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20END\x20Hangup\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22session.confirmed\x20&&\x20!vm_pb.isInConference\x22\x20class=\x22md-fab\x20md-mini\x20white-bg\x20width-25\x20height-25\x20margin-5\x22\x20aria-label=\x22Hold\x22\x20ng-click=\x22(session.localHold\x20?\x20vm_pb.unhold(session)\x20:\x20vm_pb.hold(session));\x20$event.stopPropagation();\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22{{session.localHold\x20?\x20\x27icon-play\x27\x20:\x20\x27icon-pause\x27}}\x22\x20class=\x22icon\x20grey-fg\x20s12\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20END\x20Hold/Unhold\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20START\x20Transfer\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22session.confirmed\x20&&\x20!session.localHold\x20&&\x20vm_pb.sessions.length\x20==\x201\x20&&\x20!vm_pb.isInConference\x22\x20class=\x22md-fab\x20md-mini\x20white-bg\x20width-25\x20height-25\x20margin-5\x22\x20aria-label=\x22Refer\x22\x20ng-click=\x22vm_pb.refer(session);\x20\x20$event.stopPropagation();\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-phone-forward\x22\x20class=\x22icon\x20purple-fg\x20s12\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20START\x20Attended\x20Transfer\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22session.confirmed\x20&&\x20!session.localHold\x20&&\x20vm_pb.sessions.length>1\x22\x20class=\x22md-fab\x20md-mini\x20white-bg\x20width-25\x20height-25\x20margin-5\x22\x20aria-label=\x22Refer\x20Attended\x22\x20ng-click=\x22vm_pb.referAttended(session);\x20\x20$event.stopPropagation();\x22>\x0a','assets/ms-phonebar/ms-phonebar-input.html','<div\x20class=\x22angucomplete-holder\x22\x20ng-class=\x22{\x27angucomplete-dropdown-visible\x27:\x20showDropdown}\x22>\x0a','\x20\x20<input\x0a','\x20\x20\x20\x20id=\x22ms-target\x22\x0a','\x20\x20\x20\x20ng-model=\x22searchStr\x22\x0a','\x20\x20\x20\x20type=\x22text\x22\x0a','\x20\x20\x20\x20placeholder=\x22{{placeholder}}\x22\x0a','\x20\x20\x20\x20ng-focus=\x22onFocusHandler()\x22\x0a','\x20\x20\x20\x20class=\x22{{inputClass}}\x22\x0a','\x20\x20\x20\x20ng-focus=\x22resetHideResults()\x22\x0a','\x20\x20\x20\x20ng-blur=\x22hideResults($event)\x22\x0a','\x20\x20\x20\x20autocapitalize=\x22off\x22\x0a','\x20\x20\x20\x20autocorrect=\x22off\x22\x0a','\x20\x20\x20\x20autocomplete=\x22off\x22\x0a','\x20\x20\x20\x20ng-change=\x22inputChangeHandler(searchStr)\x22\x20/>\x0a','\x20\x20<div\x20class=\x22angucomplete-dropdown\x22\x20ng-show=\x22showDropdown\x20&&\x20!(!searching\x20&&\x20(!results\x20||\x20results.length\x20==\x200))\x22>\x0a','\x20\x20\x20\x20<div\x20class=\x22angucomplete-row\x22\x20ng-repeat=\x22result\x20in\x20results\x22\x20ng-click=\x22selectResult(result)\x22\x20ng-mouseenter=\x22hoverRow($index)\x22\x20ng-class=\x22{\x27angucomplete-selected-row\x27:\x20$index\x20==\x20currentIndex}\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22{{result.originalObject.inbound\x20?\x20\x27icon-arrow-bottom-left\x27\x20:\x20\x27icon-arrow-top-right\x27}}\x22\x20\x20class=\x22icon\x20no-margin\x20s22\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<span\x20style=\x22margin-left:\x208px;\x22>({{result.originalObject.time}})\x20-\x20<span\x20class=\x22angucomplete-title\x22\x20ng-if=\x22matchClass\x22\x20ng-bind-html=\x22result.title\x22></span></span>\x0a','\x20\x20</div>\x0a','assets/ms-phonebar/ms-phonebar.html','<div\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22\x20flex>\x0a','\x20\x20\x20\x20<!--\x20Audio\x20stream\x20-->\x0a','\x20\x20\x20\x20<audio\x20id=\x22remote-audio\x22\x20autoplay\x20hidden=true></audio>\x0a','\x20\x20\x20\x20<!--\x20WebRtc\x20PhoneBar\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22title\x22\x20translate=\x22TOOLBAR.PREFIXES\x22>Prefixes</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20class=\x22no-margin\x22\x20md-font-icon=\x22icon-close\x22\x20aria-label=\x22Close\x20dialog\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-radio-group\x20ng-model=\x22vm.prefix\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-radio-button\x20ng-if=\x22!vm.required\x22\x20ng-value=\x22null\x22\x20class=\x22md-primary\x22>no\x20prefix</md-radio-button>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-radio-group>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.call()\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20aria-label=\x22call\x22\x20ng-disabled=\x22!vm.prefix\x20&&\x20vm.required\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLBAR.CALL\x22>CALL</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLBAR.CANCEL\x22>Cancel</span>\x0a','<md-dialog\x20aria-label=\x22Recording\x22\x20ng-init=\x22vm.onInit()\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22title\x22\x20translate=\x22TOOLBAR.RECORDING\x22>Recording</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20class=\x22no-margin\x22\x20md-font-icon=\x22icon-plus\x22\x20aria-label=\x22Add\x22\x20ng-click=\x22vm.addRecording()\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-table-container>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<table\x20md-table\x20layout-padding>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column><span\x20translate=\x22TOOLBAR.FILENAME\x22>File\x20name</span></th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</tr>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</thead>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tbody\x20md-body>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm.session.monitors.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20colspan=\x223\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22row\x22\x20layout-align=\x22center\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLBAR.NO_AVAILABLE_INFO\x22>No\x20Available\x20Info</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-repeat=\x22monitor\x20in\x20vm.session.monitors\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell>{{monitor.filename}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20class=\x22no-padding\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-radiobox-marked\x22\x20class=\x22icon\x20s16\x22\x20ng-class=\x22(monitor.status\x20==\x20\x27rec\x27)\x20?\x20\x27red-fg\x20ms-blink\x27\x20:\x20\x27grey-fg\x27\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-fab\x20md-mini\x20white-bg\x20width-35\x20height-35\x20margin-5\x22\x20aria-label=\x22Record\x22\x20ng-click=\x22(monitor.status\x20==\x20\x27rec\x27)\x20?\x20vm.stop(monitor)\x20:\x20vm.start(monitor)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22{{monitor.status\x20==\x20\x27rec\x27\x20?\x20\x27icon-stop\x27\x20:\x20\x27icon-play\x27}}\x22\x20class=\x22icon\x20s16\x22\x20ng-class=\x22monitor.status\x20==\x20\x27rec\x27\x20?\x20\x27grey-fg\x27\x20:\x20\x27red-fg\x27\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-button>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</tbody>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</table>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20</md-table-container>\x0a','</md-dialog>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x20no-margin\x20no-padding\x22\x20ng-click=\x22vm.closeDialog()\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22TOOLBAR.TARGET\x22>Target</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20ng-model=\x22vm.target\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20session.name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.transfer()\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20aria-label=\x22transfer\x22\x20ng-disabled=\x22!vm.target\x20&&\x20!vm.sessionId\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLBAR.TRANSFER\x22>TRANSFER</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.closeDialog()\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20aria-label=\x22cancel\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22settingsForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22title\x22\x20translate=\x22TOOLBAR.SETTINGS\x22>Settings</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm.closeDialog()\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-close\x22\x20aria-label=\x22Close\x20dialog\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-button>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-dialog-content\x20class=\x22no-padding\x22\x20ms-scroll>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tabs\x20md-no-pagination\x20md-stretch-tabs=\x22always\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tab\x20label=\x22{{\x20\x27TOOLBAR.PROFILE\x27\x20|\x20translate}}\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-content\x20layout-padding\x20layout=\x22column\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span><span\x20translate=\x22TOOLBAR.NAME\x22>Name</span>:\x20{{vm.conf.name}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span><span\x20translate=\x22TOOLBAR.INTERNAL\x22>Internal</span>:\x20{{vm.conf.internal}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span><span\x20translate=\x22TOOLBAR.OS\x22>OS</span>:\x20{{vm.conf.osName}}\x20{{vm.conf.osVersion}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-content>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-tab>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tab\x20label=\x22{{\x20\x27TOOLBAR.SERVICES\x27\x20|\x20translate}}\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-content\x20layout-padding>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20ng-model=\x22vm.conf.autoAnswer\x22\x20aria-label=\x22Auto\x20Answer\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLBAR.AUTOANSWER\x22>Auto\x20Answer</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-input-container>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tab\x20label=\x22{{\x20\x27TOOLBAR.AUDIO\x27\x20|\x20translate}}\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22border\x20brad-5\x22\x20layout-margin>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22settingsForm[\x27ringingDevice\x27].$error\x22\x20ng-show=\x22settingsForm[\x27ringingDevice\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-message=\x22required\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLBAR.ERRORS.FIELD_REQUIRED\x22>Field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-input-container>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22row\x22\x20layout-align=\x22space-between\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20ng-model=\x22vm.conf.ringingMute\x22\x20aria-label=\x22Mute\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Mute\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-slider-container\x20flex=\x2280\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-slider\x20flex\x20step=\x220.1\x22\x20min=\x220\x22\x20max=\x221\x22\x20ng-model=\x22vm.conf.ringingVolume\x22\x20aria-label=\x22volume\x22></md-slider>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-slider-container>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20class=\x22md-block\x22\x20ng-if=\x22(vm.devices\x20|\x20filter:\x20{\x20kind:\x20\x27audiooutput\x27\x20}).length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22speakerDevice\x22\x20ng-model=\x22vm.conf.speakerId\x22\x20required>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22device.deviceId\x22\x20ng-repeat=\x22device\x20in\x20vm.devices\x20|\x20filter:\x20{\x20kind:\x20\x27audiooutput\x27\x20}\x22>{{\x20device.label\x20||\x20(\x27Speaker\x20\x27\x20+\x20($index\x20+\x201))\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-select>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22settingsForm[\x27speakerDevice\x27].$error\x22\x20ng-show=\x22settingsForm[\x27speakerDevice\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22row\x22\x20layout-align=\x22space-between\x20cetner\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20ng-model=\x22vm.conf.speakerMute\x22\x20aria-label=\x22Mute\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22device.deviceId\x22\x20ng-repeat=\x22device\x20in\x20vm.devices\x20|\x20filter:\x20{\x20kind:\x20\x27audioinput\x27\x20}\x22>{{\x20device.label\x20||\x20(\x27Microphone\x20\x27\x20+\x20($index\x20+\x201))}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22settingsForm[\x27microphoneDevice\x27].$error\x22\x20ng-show=\x22settingsForm[\x27microphoneDevice\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20ng-model=\x22vm.conf.microphoneMute\x22\x20aria-label=\x22Mute\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tab\x20label=\x22{{\x20\x27TOOLBAR.REQUIREMENTS\x27\x20|\x20translate}}\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-list-item>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20class=\x22md-secondary\x22\x20ng-class=\x22vm.conf.license\x20?\x20\x27green-fg\x27\x20:\x20\x27red-fg\x27\x22\x20md-font-icon=\x22{{vm.conf.license\x20?\x20\x27icon-check\x27\x20:\x20\x27icon-close\x27}}\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-list-item>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h3\x20translate=\x22TOOLBAR.BROWSER_COMPATIBILITY\x22>Browser\x20Compatibility</h3>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20class=\x22md-secondary\x22\x20ng-class=\x22vm.isCompatibleBrowser()\x20?\x20\x27green-fg\x27\x20:\x20\x27red-fg\x27\x22\x20md-font-icon=\x22{{vm.isCompatibleBrowser()\x20?\x20\x27icon-check\x27\x20:\x20\x27icon-close\x27}}\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h3\x20translate=\x22TOOLBAR.HTTPS\x22>HTTPS</h3>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20class=\x22md-secondary\x22\x20ng-class=\x22vm.conf.protocol\x20===\x20\x27https\x27\x20?\x20\x27green-fg\x27\x20:\x20\x27red-fg\x27\x22\x20md-font-icon=\x22{{vm.conf.protocol\x20===\x20\x27https\x27\x20?\x20\x27icon-check\x27\x20:\x20\x27icon-close\x27}}\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h3\x20translate=\x22TOOLBAR.WEBRTCSUPPORT\x22>WebRTC\x20Support</h3>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20class=\x22md-secondary\x22\x20ng-class=\x22vm.conf.isWebRTCSupported\x20?\x20\x27green-fg\x27\x20:\x20\x27red-fg\x27\x22\x20md-font-icon=\x22{{vm.conf.isWebRTCSupported\x20?\x20\x27icon-check\x27\x20:\x20\x27icon-close\x27}}\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h3\x20translate=\x22TOOLBAR.MICROPHONE\x22>Microphone</h3>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20class=\x22md-secondary\x22\x20ng-class=\x22vm.conf.hasSpeakers\x20?\x20\x27green-fg\x27\x20:\x20\x27red-fg\x27\x22\x20md-font-icon=\x22{{vm.conf.hasSpeakers\x20?\x20\x27icon-check\x27\x20:\x20\x27icon-close\x27}}\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-list>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-click=\x22vm.saveSettings()\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20ng-disabled=\x22settingsForm.$invalid\x20||\x20settingsForm.$pristine\x22\x20aria-label=\x22SAVE\x22\x20translate=\x22TOOLBAR.SAVE\x22\x20translate-attr-aria-label=\x22TOOLBAR.SAVE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a','app/core/directives/ms-quick-filter/ms-quick-filter.html','<div\x20ng-cloak\x20layout=\x22row\x22\x20class=\x22quick-filter-container\x22\x20flex>\x0a','\x20\x20\x20\x20<div\x20ng-repeat=\x22filter\x20in\x20vm.filters\x22\x20ng-if=\x22filter.ngIf\x20?\x20$eval(\x27vm.query.\x27\x20+\x20filter.ngIf)\x20:\x20true\x22\x20layout=\x22column\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20class=\x22padding-horizontal-16\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22font-size-10\x22\x20translate=\x22{{\x20filter.label\x20}}\x22\x20/>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20ng-if=\x22filter.type\x20===\x20\x27select\x27\x22\x20class=\x22font-size-12\x20no-margin\x22\x20ng-model=\x22vm.query[filter.key]\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-change=\x22vm.search()\x22\x20aria-label=\x22Filter\x20{{\x20filter.name\x20}}\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-value=\x22filter.ngValue\x20?\x20option[filter.ngValue]\x20:\x20option.id\x22>{{\x20option.name\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-repeat=\x22option\x20in\x20filter.customOptions\x22\x20ng-value=\x22option.value\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22{{\x20option.translate\x20}}\x22></md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20</md-select>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20ng-if=\x22filter.type\x20===\x20\x27multiselect\x27\x22\x20multiple\x20class=\x22font-size-12\x20no-margin\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-init=\x22vm.onMultiselectInit(filter)\x22\x20ng-model=\x22vm.query[filter.key]\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22filter.options.length\x20===\x200\x22\x20ng-change=\x22vm.onMultiselectSelection(filter)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-selected-text=\x22vm.placeholders[filter.key]\x22\x20aria-label=\x22Filter\x20{{\x20filter.name\x20}}\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22filter.clearAll\x20===\x20false\x20&&\x20vm.query[filter.key].length\x20===\x201\x20&&\x20vm.query[filter.key][0]\x20===\x20(filter.ngValue\x20?\x20option[filter.ngValue]\x20:\x20option.id)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22vm.query[filter.key].length\x20<\x20filter.options.length\x22\x20ng-click=\x22vm.selectAll(filter)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-no-ink\x20class=\x22md-primary\x22\x20layout-fill>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.SELECT_ALL\x27\x20|\x20translate}}</md-button>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22vm.query[filter.key].length\x20===\x20filter.options.length\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.clearSelection(filter)\x22\x20md-no-ink\x20class=\x22md-primary\x22\x20layout-fill>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.CLEAR\x27\x20|\x20translate}}</md-button>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22filter.type\x20===\x20\x27date\x27\x22\x20layout=\x22row\x22\x20layout-align=\x22center\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-date-range\x20ng-init=\x22vm.onDateRangeInit(filter)\x22\x20localization-map=\x22vm.localizationMap\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-date-range>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22vm.pickerModels[filter.key].dateStart\x22\x20ng-click=\x22vm.clearDate(filter)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-close\x22\x20class=\x22quick-filter-date-clear-button\x20s16\x22></md-icon>\x0a','\x20\x20\x20\x20<label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22ms-search-bar-expander\x20md-icon-button\x22\x20aria-label=\x22Expand\x20Search\x20Bar\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.expand()\x22\x20ng-if=\x22!vm.resultsLoading\x20||\x20vm.collapsed\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20id=\x22ms-search-bar-icon\x22\x20md-font-icon=\x22icon-magnify\x22\x20class=\x22s24\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27{{\x20vm.iconColor\x20}}\x27:\x20vm.iconColor\x20&&\x20vm.collapsed\x20}\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22ms-search-bar-loader\x22\x20layout=\x22row\x22\x20layout-align=\x22center\x20center\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22vm.resultsLoading\x20&&\x20!vm.collapsed\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-progress-circular\x20class=\x22md-accent\x22\x20md-diameter=\x2232\x22\x20md-mode=\x22indeterminate\x22></md-progress-circular>\x0a','\x20\x20\x20\x20</label>\x0a','\x20\x20\x20\x20<input\x20ng-if=\x22!vm.collapsed\x22\x20focus-on=\x22!vm.collapsed\x22\x20type=\x22text\x22\x20placeholder=\x22Search\x22\x20flex\x20ng-model=\x22vm.query\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20ng-model-options=\x22vm.queryOptions\x22\x20ng-blur=\x22vm.blurCollapse()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20ng-keydown=\x22vm.handleKeydown($event)\x22\x20/>\x0a','\x20\x20\x20\x20<md-button\x20class=\x22ms-search-bar-collapser\x20md-icon-button\x22\x20ng-click=\x22vm.collapse()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22Collapse\x20Search\x20Bar\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-close\x22\x20class=\x22icon\x20s24\x22></md-icon>\x0a','\x20\x20\x20\x20<div\x20class=\x22ms-search-bar-results\x22\x20ng-if=\x22vm.results\x22\x20ms-scroll>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22no-results\x22\x20ng-if=\x22vm.results.length\x20===\x200\x22>No\x20Results!</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22result\x22\x20ng-repeat=\x22result\x20in\x20vm.results\x22\x20ng-click=\x22vm.handleResultClick(result)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-mouseenter=\x22vm.handleMouseenter($index)\x22\x20ng-mousedown=\x22vm.absorbEvent($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22icon-container\x22\x20layout=\x22row\x22\x20layout-align=\x22center\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<i\x20ng-if=\x22result.icon\x22\x20class=\x22icon\x20{{\x20result.icon\x20}}\x22></i>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22!result.icon\x22\x20class=\x22square\x20md-accent-bg\x22></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22title\x22>{{\x20result.title\x20}}</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22description\x22\x20ng-if=\x22result.description\x22>{{\x20result.description\x20}}</div>\x0a','<div\x20class=\x22shortcuts-container\x22\x20layout=\x22row\x22\x20layout-align=\x22space-between\x20center\x22\x20flex\x0a','\x20\x20\x20\x20\x20ng-class=\x22{\x27mobile-bar-active\x27:\x20MsShortcuts.mobileBarActive}\x22>\x0a','\x20\x20\x20\x20<div\x20class=\x22flex-noshrink\x22\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22\x20flex>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22shortcuts\x20hide\x20show-gt-xs\x22\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22\x20ms-scroll\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22MsShortcuts.shortcuts.length\x20>\x200\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-repeat=\x22shortcut\x20in\x20MsShortcuts.shortcuts\x22\x20layout=\x22row\x22\x20layout-align=\x22center\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ui-sref=\x22{{shortcut.uisref}}\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20ng-if=\x22shortcut.icon\x22\x20md-font-icon=\x22{{shortcut.icon}}\x22\x20class=\x22icon\x20s24\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22!shortcut.icon\x22\x20class=\x22first-letter\x22>{{shortcut.title.charAt(0)}}</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip\x20md-direction=\x22bottom\x22>{{shortcut.title}}</md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20<md-menu\x20md-offset=\x228\x2056\x22\x20class=\x22shortcut-menu\x20hide\x20show-gt-xs\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-menu-origin\x20md-font-icon=\x22icon-star\x22\x20class=\x22icon\x20amber-600-fg\x20s24\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-content>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20id=\x22ms-shortcut-add-menu\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22shortcut-search\x22\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22search-icon\x22\x20layout=\x22row\x22\x20layout-align=\x22center\x20center\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22!MsShortcuts.resultsLoading\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-menu-align-target\x20md-font-icon=\x22icon-magnify\x22\x20class=\x22icon\x20s24\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22shortcut-loader\x22\x20layout=\x22row\x22\x20layout-align=\x22center\x20center\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22MsShortcuts.resultsLoading\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-progress-circular\x20class=\x22md-accent\x22\x20md-diameter=\x2220\x22\x20md-mode=\x22indeterminate\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-progress-circular>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-model=\x22MsShortcuts.query\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-model-options=\x22MsShortcuts.queryOptions\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-keydown=\x22MsShortcuts.handleKeydown($event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22result\x22\x20ng-repeat=\x22result\x20in\x20MsShortcuts.results\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22MsShortcuts.handleResultClick(result)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-mouseenter=\x22MsShortcuts.handleMouseenter($index)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-mousedown=\x22MsShortcuts.absorbEvent($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27selected\x27:\x20$index\x20==\x20MsShortcuts.selectedResultIndex}\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-ink-ripple>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22row\x22\x20layout-align=\x22start\x20space-between\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22\x20flex>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22icon\x20icon-container\x22\x20layout=\x22row\x22\x20layout-align=\x22center\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<i\x20ng-if=\x22result.icon\x22\x20class=\x22{{result.icon}}\x22></i>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22!result.icon\x22\x20class=\x22square\x20md-accent-bg\x22></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22title\x22>{{result.title}}</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27fade-text\x27:\x20!result.hasShortcut}\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-menu-content>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20</md-menu>\x20-->\x0a','\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x20toggle-mobile-menu\x20hide-gt-xs\x22\x20aria-label=\x22Add\x20shortcut\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-menu-origin\x20md-font-icon=\x22icon-star\x22\x20class=\x22icon\x20amber-600-fg\x20s24\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-hide=\x22MsShortcuts.mobileBarActive\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-hide=\x22!MsShortcuts.mobileBarActive\x22></md-icon>\x0a','\x20\x20\x20\x20<div\x20class=\x22ms-stepper-navigation-wrapper\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27current\x27:\x20MsStepper.isStepCurrent(step.stepNumber),\x20\x27valid\x27:\x20MsStepper.isStepValid(step.stepNumber),\x20\x27disabled\x27:\x20MsStepper.isStepDisabled(step.stepNumber),\x20\x27optional\x27:\x20MsStepper.isStepOptional(step.stepNumber)}\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22MsStepper.isStepDisabled(step.stepNumber)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22step\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{$index\x20+\x201}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22MsStepper.isStepValid(step.stepNumber)\x20&&\x20!MsStepper.isStepOptional(step.stepNumber)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22subtitle\x22\x20ng-if=\x22MsStepper.isStepOptional(step.stepNumber)\x22>Optional</div>\x0a','\x20\x20\x20\x20<div\x20class=\x22ms-stepper-steps\x22\x20ng-transclude></div>\x0a','\x20\x20\x20\x20<div\x20class=\x22ms-stepper-controls\x22\x20layout=\x22row\x22\x20layout-align=\x22center\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-accent\x20md-raised\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22MsStepper.isFirstStep()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22MsStepper.gotoPreviousStep()\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Back\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22ms-stepper-dots\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-hide=\x22MsStepper.isStepHidden(step.stepNumber)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27selected\x20md-accent-bg\x27:MsStepper.currentStepNumber\x20===\x20$index\x20+\x201}\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!MsStepper.isStepValid(MsStepper.currentStepNumber)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22MsStepper.gotoNextStep()\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Next\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20class=\x22md-accent\x20md-raised\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22MsStepper.resetForm()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22MsStepper.isLastStep()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!MsStepper.isFormValid()\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Submit\x0a','app/core/directives/ms-stepper/templates/vertical/step/vertical-step.html','<md-button\x20class=\x22ms-stepper-navigation-item\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27current\x27:\x20MsStepper.isStepCurrent(stepInfo.stepNumber),\x20\x27valid\x27:\x20MsStepper.isStepValid(stepInfo.stepNumber),\x20\x27disabled\x27:\x20MsStepper.isStepDisabled(stepInfo.stepNumber),\x20\x27optional\x27:\x20MsStepper.isStepOptional(stepInfo.stepNumber)}\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22MsStepper.isStepDisabled(stepInfo.stepNumber)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-hide=\x22MsStepper.isStepHidden(stepInfo.stepNumber)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22Stepper\x20navigation\x20button\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22>\x0a','\x20\x20\x20\x20<div\x20class=\x22step\x22\x20layout=\x22row\x22\x20layout-align=\x22center\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22!MsStepper.isStepValid(stepInfo.stepNumber)\x20||\x20MsStepper.isStepOptional(stepInfo.stepNumber)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<i\x20class=\x22icon\x20icon-checkbox-blank-circle-outline\x20s18\x20md-accent-fg\x22></i>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22MsStepper.isStepValid(stepInfo.stepNumber)\x20&&\x20!MsStepper.isStepOptional(stepInfo.stepNumber)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<i\x20class=\x22icon\x20icon-check-circle\x20s18\x20md-accent-fg\x22></i>\x0a','\x20\x20\x20\x20<div\x20layout=\x22column\x22\x20layout-align=\x22start\x20start\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22title\x22\x20ng-if=\x22stepInfo.stepTitleTranslate\x22>{{stepInfo.stepTitleTranslate\x20|\x20translate\x20}}</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22title\x22\x20ng-if=\x22!stepInfo.stepTitleTranslate\x22>{{stepInfo.stepTitle}}</div>\x0a','<div\x20class=\x22ms-stepper-step-content\x22\x20ng-transclude></div>\x0a','<div\x20class=\x22ms-stepper-controls\x22\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22\x0a','\x20\x20\x20\x20\x20ng-show=\x22MsStepper.isStepCurrent(stepInfo.stepNumber)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20Back\x0a','\x20\x20\x20\x20<md-button\x20class=\x22md-accent\x20md-raised\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!MsStepper.isStepValid(MsStepper.currentStepNumber)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22MsStepper.gotoNextStep()\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20Next\x0a','\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20class=\x22md-accent\x20md-raised\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22MsStepper.resetForm()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22MsStepper.isLastStep()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!MsStepper.isFormValid()\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20Submit\x0a','app/core/directives/ms-stepper/templates/vertical/vertical.html','<div\x20class=\x22ms-stepper-vertical\x22>\x0a','\x20\x20\x20\x20<div\x20class=\x22ms-stepper-vertical-line\x22></div>\x0a','<div\x20layout=\x22row\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-chevron-left\x22\x20class=\x22icon\x20s26\x22></md-icon>\x0a','\x20\x20\x20\x20<div\x20id=\x22bar-container\x22\x20layout=\x22row\x22\x20class=\x22bar-container\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-transclude\x20id=\x22tab-container\x22\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22\x20class=\x22scroll-container\x22>\x0a','\x20\x20\x20\x20<md-option\x20ng-value=\x22null\x22>NONE</md-option>\x0a','\x20\x20\x20\x20<md-option\x20ng-repeat=\x22t\x20in\x20timezone\x20|\x20orderBy:\x27utcOffset\x27\x22\x20value=\x22{{t.name}}\x22>{{t.name}}\x20({{t.offsetStr}})</md-option>\x0a','<div\x20class=\x22pt-8\x20pb-32\x22\x20layout=\x22column\x22\x20layout-align=\x22center\x20center\x22\x20layout-fill\x20ng-controller=\x22MsWidgetEngineCounterController\x20as\x20vm\x22>\x0a','\x20\x20\x20\x20<div\x20ng-class=\x22\x27font-size-\x27\x20+\x20(vm.fontSize\x20*\x203)\x22\x20ng-style=\x22{\x27color\x27:\x20widget.foreground}\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.getCount(widget)\x20}}\x0a','app/core/directives/ms-widget-engine/ms-widget-engine-multibar-chart/ms-widget-engine.multibar-chart.html','\x20\x20\x20\x20<canvas\x20style=\x22overflow:scroll\x22\x20id=\x22bar\x22\x20class=\x22chart-horizontal-bar\x22\x20chart-data=\x22vm.multiBarChart.data\x22\x20chart-options=\x22vm.multiBarChart.options\x22\x20chart-series=\x22vm.multiBarChart.series\x22\x20chart-labels=\x22vm.multiBarChart.labels\x22>\x0a','\x20\x20\x20\x20</canvas>\x0a','app/core/directives/ms-widget-engine/ms-widget-engine-pie-chart/ms-widget-engine.pie-chart.html','<div\x20ng-controller=\x22MsWidgetEnginePieChartController\x20as\x20vm\x22\x20ng-init=\x22vm.getPieChart(widget)\x22\x20layout=\x22column\x22\x20layout-fill>\x0a','\x20\x20\x20\x20<span\x20ng-show=\x22false\x22>{{\x20vm.getPieChart(widget)}}</span>\x0a','\x20\x20\x20\x20<canvas\x20style=\x22overflow:scroll\x22\x20id=\x22pie\x22\x20class=\x22chart-pie\x22\x20chart-data=\x22vm.pieChart.data\x22\x20chart-labels=\x22vm.pieChart.labels\x22\x20chart-options=\x22vm.pieChart.options\x22>\x0a','app/core/directives/ms-widget-engine/ms-widget-engine-web-report/ms-widget-engine.web-report.html','<div\x20ng-controller=\x22MsWidgetEngineWebReportController\x20as\x20vm\x22\x20ng-init=\x22vm.onInit(widget)\x22>\x0a','\x20\x20\x20\x20<dl\x20ng-if=\x22vm.error\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<dt\x20class=\x22text-bold\x22>Query\x20Error</dt>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<dd>{{vm.error.sql}}</dd>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<dd>{{vm.error.msg}}</dd>\x0a','\x20\x20\x20\x20</dl>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22md-toolbar-tools\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22>{{vm.title}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20flex></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm.onInit(widget)\x22\x20aria-label=\x22refresh\x22>\x0a','\x20\x20\x20\x20</md-toolbar>\x0a','\x20\x20\x20\x20<md-table-container\x20ng-if=\x22!vm.error\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<table\x20md-table\x20md-progress=\x22vm.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</tr>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</thead>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tbody\x20md-body>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-repeat=\x22row\x20in\x20vm.results.rows\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-repeat=\x22(key,\x20value)\x20in\x20row\x22>{{\x20vm.valueReplacer(key,\x20value)\x20}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20colspan=\x22{{vm.columns.length}}\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</tbody>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20</table>\x0a','\x20\x20\x20\x20</md-table-container>\x0a','app/core/directives/ms-widget-engine/ms-widget-engine.html','<div\x20gridster=\x22vm.config\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<li\x20gridster-item=\x22widget\x22\x20ng-repeat=\x22widget\x20in\x20vm.config.widgets\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-toolbar\x20class=\x22height-40\x22\x20ng-style=\x22{\x27background-color\x27:\x20widget.background,\x20\x27color\x27:\x20widget.foreground\x20}\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22md-toolbar-tools\x20height-40\x20no-margin\x22\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20widget.title\x20||\x20\x27No\x20Title\x27\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</a>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip><span\x20translate=\x22TOOLS.MOVE_WIDGET\x22>Move</span></md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-button>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu\x20ng-if=\x22!vm.config.preview\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-dots-vertical\x22\x20class=\x22s20\x22\x20ng-style=\x22{\x27color\x27:\x20widget.foreground}\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-item>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.onEdit({widget:\x20widget})\x22\x20translate=\x22TOOLS.EDIT_WIDGET\x22>Edit</md-button>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.onDelete({widget:\x20widget})\x22\x20translate=\x22TOOLS.DELETE_WIDGET\x22>Delete</md-button>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-card-content\x20class=\x22resizable\x22\x20layout=\x22column\x22\x20layout-align=\x22center\x20center\x22\x20flex\x20ng-style=\x22{\x27background-color\x27:\x20widget.background,\x20\x27color\x27:\x20widget.foreground}\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-switch=\x22widget.type\x22\x20layout-fill>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<iframe\x20ng-switch-when=\x22iframe|custom\x22\x20ng-switch-when-separator=\x22|\x22\x20ng-src=\x22{{vm.getTrustedURL(widget.attrs[0].value)}}\x22\x20frameborder=0\x20style=\x22border:0px;\x20width:100%;\x20height:100%;\x22></iframe>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-switch-default\x20layout-fill>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-include=\x22widget.templateUrl\x22\x20layout-fill></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-card>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20</li>\x0a','\x20\x20\x20\x20</ul>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ui-view=\x22quickPanel\x22></md-sidenav>\x0a','<div\x20id=\x22layout-horizontal-navigation\x22\x20class=\x22template-layout\x22\x20layout=\x22column\x22\x20flex>\x0a','\x20\x20\x20\x20<div\x20id=\x22toolbar-navigation-container\x22\x20class=\x22md-whiteframe-1dp\x22\x20layout=\x22column\x22\x20layout-align=\x22space-between\x20start\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-toolbar\x20id=\x22toolbar\x22\x20class=\x22md-menu-toolbar\x20md-whiteframe-1dp\x22\x20ui-view=\x22toolbar\x22></md-toolbar>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20id=\x22horizontal-navigation\x22\x20ui-view=\x22navigation\x22\x20layout=\x22row\x22\x20layout-align=\x22start\x20end\x22\x20flex></div>\x0a','\x20\x20\x20\x20<md-sidenav\x20id=\x22quick-panel\x22\x20class=\x22md-sidenav-right\x20md-whiteframe-4dp\x22\x20md-component-id=\x22quick-panel\x22\x20ms-scroll\x0a','\x20\x20\x20\x20<md-toolbar\x20id=\x22toolbar\x22\x20class=\x22md-menu-toolbar\x20md-whiteframe-1dp\x20md-accent\x22\x20ui-view=\x22toolbar\x22></md-toolbar>\x0a','\x20\x20\x20\x20<div\x20id=\x22main-container\x22\x20layout=\x22row\x22\x20flex>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-sidenav\x20id=\x22vertical-navigation\x22\x20class=\x22md-primary-bg\x22\x20md-is-locked-open=\x22$mdMedia(\x27gt-sm\x27)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-component-id=\x22navigation\x22\x20ms-scroll\x20ui-view=\x22navigation\x22></md-sidenav>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20id=\x22content-container\x22\x20flex\x20layout=\x22column\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-content\x20id=\x22content\x22\x20class=\x22animate-slide-up\x20md-hue-2\x22\x20ms-scroll\x20ui-view=\x22content\x22\x20flex></md-content>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-sidenav\x20id=\x22quick-panel\x22\x20class=\x22md-sidenav-right\x20md-whiteframe-4dp\x22\x20md-component-id=\x22quick-panel\x22\x20ms-scroll\x0a','<div\x20id=\x22layout-vertical-navigation-fullwidth-toolbar\x22\x20class=\x22template-layout\x22\x20layout=\x22column\x22\x20flex>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ui-view=\x22quickPanel\x22></md-sidenav>\x0a','app/core/layouts/vertical-navigation.html','<div\x20id=\x22header\x22\x20ui-view=\x22header\x22></div>\x0a','<div\x20id=\x22layout-vertical-navigation\x22\x20class=\x22template-layout\x22\x20layout=\x22row\x22\x20flex>\x0a','\x20\x20\x20\x20<md-sidenav\x20id=\x22vertical-navigation\x22\x20class=\x22md-primary-bg\x22\x20md-is-locked-open=\x22$mdMedia(\x27gt-sm\x27)\x22\x20md-component-id=\x22navigation\x22\x20ms-scroll\x20ui-view=\x22navigation\x22\x20ng-if=\x22!vm.isAgent()\x22></md-sidenav>\x0a','\x20\x20\x20\x20<div\x20id=\x22content-container\x22\x20flex\x20layout=\x22column\x22>\x0a','\x20\x20\x20\x20<md-sidenav\x20id=\x22quick-panel\x22\x20class=\x22md-sidenav-right\x20md-whiteframe-4dp\x22\x20md-component-id=\x22quick-panel\x22\x20ms-scroll\x20ui-view=\x22quickPanel\x22></md-sidenav>\x0a','<div\x20id=\x22footer\x22\x20ui-view=\x22footer\x22></div>\x0a','<div\x20class=\x22ms-theme-options-button\x20md-primary-bg\x22\x20ng-click=\x22toggleOptionsSidenav()\x22>\x0a','\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-cog\x22\x20class=\x22white-text\x22></md-icon>\x0a','\x20\x20\x20\x20<div\x20class=\x22ms-theme-options-list\x22\x20layout=\x22column\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22theme-option\x20layout-options\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22option-title\x22>Layout\x20Style:</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-radio-group\x20layout=\x22row\x22\x20layout-align=\x22start\x20start\x22\x20layout-wrap\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-model=\x22vm.layoutStyle\x22\x20ng-change=\x22vm.updateLayoutStyle()\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-radio-button\x20ng-repeat=\x22layoutStyle\x20in\x20vm.layoutStyles\x22\x20ng-value=\x22layoutStyle.value\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22column\x22\x20layout-align=\x22center\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<img\x20ng-src=\x22{{layoutStyle.figure}}\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22text-center\x20font-size-12\x20mt-8\x22>{{layoutStyle.label}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-radio-button>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-divider></md-divider>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22theme-option\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22option-title\x22>Layout\x20Mode:</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-change=\x22vm.updateLayoutMode()\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-radio-button\x20ng-repeat=\x22layoutMode\x20in\x20vm.layoutModes\x22\x20ng-value=\x22layoutMode.value\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{layoutMode.label}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22option-title\x22>Color\x20Palette:</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-repeat=\x22(themeName,\x20theme)\x20in\x20vm.themes.list\x22\x20class=\x22md-raised\x20theme-button\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22{{themeName}}\x22\x20ng-click=\x22vm.setActiveTheme(themeName)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{active:\x20vm.getActiveTheme().name\x20===\x20themeName}\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20ng-style=\x22{\x27color\x27:\x20theme.primary.contrast1}\x22\x20md-font-icon=\x22icon-palette\x22\x20class=\x22icon\x20s32\x22></md-icon>\x0a','</md-sidenav>','<div\x20id=\x22error-404\x22\x20layout=\x22column\x22\x20layout-align=\x22center\x20center\x22>\x0a','\x20\x20\x20\x20<div\x20class=\x22content\x22\x20layout=\x22column\x22\x20layout-align=\x22center\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22error-code\x22\x20translate=\x22ERROR404.CODE\x22>404</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<ms-search-bar\x20on-search=\x22vm.search(query)\x22\x20on-result-click=\x22vm.searchResultClick(item)\x22\x20debounce=\x22300\x22>Search\x20for\x20anything</ms-search-bar>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20<div\x20class=\x22search\x20md-whiteframe-1dp\x22\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-magnify\x22\x20class=\x22icon\x20s24\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20ng-model=\x22vm.search\x22\x20type=\x22text\x22\x20placeholder=\x22Search\x20for\x20anything\x22\x20translate\x20translate-attr-placeholder=\x22ERROR404.SEARCH\x22\x20flex>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<a\x20class=\x22md-button\x20md-raised\x20md-primary\x20back-link\x22\x20href=\x22/\x22\x20translate=\x22ERROR404.GO_BACK\x22>Go\x20back\x20to\x20dashboard</a>\x0a','\x20\x20\x20\x20<div\x20ng-if=\x22!vm.send\x22\x20class=\x22content\x22\x20layout=\x22column\x22\x20layout-align=\x22center\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22error-code\x22\x20translate=\x22ERROR500.CODE\x22>500</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22sub-message\x22\x20translate=\x22ERROR500.SUBMESSAGE\x22>Just\x20kidding,\x20looks\x20like\x20we\x20have\x20an\x20internal\x20issue,\x20please\x20try\x20again\x20in\x20couple\x20minutes\x0a','\x20\x20\x20\x20<pre\x20ng-if=\x22!vm.send\x22>\x0a','\x20\x20\x20\x20\x20\x20{{vm.error}}\x0a','\x20\x20\x20\x20</pre>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22message\x22\x20translate=\x22ERROR500.JIRA_MESSAGE\x22>Your\x20request\x20has\x20been\x20received\x20and\x20will\x20be\x20processed\x20shortly.</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22sub-message\x22\x20translate=\x22ERROR500.JIRA_SUBMESSAGE\x22>Sorry\x20for\x20the\x20inconvenience.\x20If\x20you\x20have\x20any\x20questions\x20or\x20concerns,\x20please\x20do\x20not\x20hesitate\x20to\x20contact\x20us.</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<a\x20class=\x22md-button\x20md-raised\x20md-primary\x20back-link\x22\x20href=\x22/\x22\x20translate=\x22ERROR500.GO_BACK\x22>Go\x20back\x20to\x20dashboard</a>\x0a','app/forgot/forgot.html','\x20\x20\x20\x20<div\x20id=\x22forgot-password-form-wrapper\x22\x20layout=\x22column\x22\x20layout-align=\x22center\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<form\x20name=\x22forgotPasswordForm\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20class=\x22md-block\x22\x20md-no-float>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22email\x22\x20name=\x22email\x22\x20ng-model=\x22vm.form.email\x22\x20placeholder=\x22Email\x20address\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-placeholder=\x22FORGOTPASSWORD.EMAIL_ADRESS\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-pattern=\x22/^.+@.+\x5c..+$/\x22\x20required>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22forgotPasswordForm.email.$error\x22\x20role=\x22alert\x22\x20multiple>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22FORGOTPASSWORD.ERRORS.EMAIL_REQUIRED\x22>Email\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22FORGOTPASSWORD.ERRORS.EMAIL_MUST_VALID\x22>Email\x20must\x20be\x20a\x20valid\x20e-mail\x20address</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22button\x22\x20ng-click=\x22vm.forgotPassword()\x22\x20class=\x22md-raised\x20md-accent\x20submit-button\x22\x20aria-label=\x22RESET\x20MY\x20PASSWORD\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22forgotPasswordForm.$invalid\x20||\x20forgotPasswordForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22FORGOTPASSWORD.SEND_RESET_LINK\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SEND\x20RESET\x20LINK\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</form>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22login\x22\x20layout=\x22row\x22\x20layout-align=\x22center\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<a\x20class=\x22link\x22\x20ui-sref=\x22app.login\x22\x20translate=\x22FORGOTPASSWORD.GO_BACK\x22>Go\x20back\x20to\x20login</a>\x0a','\x20\x20\x20\x20<ms-info-bar\x20ng-if=\x22vm.currentUser.role\x20==\x20\x27admin\x27\x20&&\x20!vm.newsAlertHide\x22\x20on-close=\x22vm.newsAlertOnClose()\x22\x20class=\x22green-600-bg\x20white-fg\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-message-text-outline\x22\x20class=\x22icon\x20margin-right-10\x20s20\x22></md-icon>\x0a','\x20\x20\x20\x20</ms-info-bar>\x0a','</div>\x20-->','\x20\x20\x20\x20<div\x20id=\x22login-form-wrapper\x22\x20layout=\x22column\x22\x20layout-align=\x22center\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<img\x20src=\x22/api/settings/1/logo_login\x22\x20alt=\x22logo_login\x22\x20class=\x22logo_login\x22/>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20<img\x20src=\x22assets/images/logos/login.png\x22\x20alt=\x22motion_logo_login\x22\x20/>\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22md-subhead\x20padding-top-45\x22\x20translate=\x22LOGIN.TITLE\x22>Log\x20in\x20to\x20your\x20account</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<form\x20name=\x22loginForm\x22\x20novalidate\x20ng-if=\x22!vm.progressLogin\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22input\x22\x20name=\x22name\x22\x20ng-model=\x22vm.form.name\x22\x20autofocus\x20aria-label=\x22username\x22\x20translate\x20translate-attr-placeholder=\x22LOGIN.USERNAME\x22\x20required>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22loginForm.name.$error\x22\x20role=\x22alert\x22\x20multiple>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-message=\x22required\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22LOGIN.ERRORS.USERNAME_REQUIRED\x22>Username\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22password\x22\x20name=\x22password\x22\x20ng-model=\x22vm.form.password\x22\x20aria-label=\x22password\x22\x20translate\x20translate-attr-placeholder=\x22LOGIN.PASSWORD\x22\x20required>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22LOGIN.ERRORS.PASSWORD_REQUIRED\x22>Password\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22remember-forgot-password\x22\x20layout=\x22row\x22\x20layout-xs=\x22column\x22\x20layout-align=\x22end\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22LOGIN.REMEMBER_ME\x22>Remember\x20Me</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-checkbox>\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<a\x20ui-sref=\x22app.forgot\x22\x20class=\x22forgot-password\x20md-accent-color\x22\x20style=\x22cursor:pointer;\x22\x20translate=\x22LOGIN.FORGOT_PASSWORD\x22>Forgot\x20Password?</a>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<b\x20layout=\x22row\x22\x20layout-align=\x22center\x20center\x22\x20class=\x22md-padding\x22\x20ng-if=\x22vm.message\x22><font\x20color=\x22red\x22>{{vm.message}}</font></b>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20LOG\x20IN\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22vm.googleSsoEnabled\x22\x20class=\x22separator\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22text\x22\x20translate=\x22LOGIN.OR\x22>OR</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22vm.googleSsoEnabled\x22\x20ng-click=\x22vm.loginOauth(\x27google\x27)\x22\x20class=\x22md-raised\x20google\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22LOGIN.WITH_GOOGLE\x22>Log\x20in\x20with\x20Google</span>\x0a','\x20\x20\x20\x20<form\x20name=\x22extractedReportForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22title\x22>{{\x20vm.title\x20|\x20translate\x20}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-dialog-content\x20ms-scroll>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22error-list\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-repeat=\x22error\x20in\x20vm.errors\x22\x20class=\x22error\x22\x20layout=\x22row\x22\x20layout-align=\x22space-between\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22message\x22>{{error.message}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22type\x22>({{error.type}})</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-alert-box\x22\x20aria-label=\x22alert\x20error\x22\x20class=\x22s16\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22ANALYTICS.REPORTNAME\x22>ReportName</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22\x22\x20name=\x22name\x22\x20\x20ng-model=\x22vm.extractedReport.name\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22extractedReportForm[\x27name\x27].$error\x22\x20ng-show=\x22extractedReportForm[\x27name\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22ANALYTICS.ERRORS.REPORTNAME_REQUIRED\x22>ReportName\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22ANALYTICS.NAME\x22>Name</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22\x22\x20name=\x22basename\x22\x20\x20ng-model=\x22vm.extractedReport.basename\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-dialog-actions\x20layout=\x22row\x22\x20layout-align=\x22space-between\x20center\x22\x20ng-if=\x22!vm.crudPermissions.readOnly\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20!vm.newExtractedReport\x22\x20ng-click=\x22vm.saveExtractedReport()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22extractedReportForm.$invalid\x20||\x20extractedReportForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22ANALYTICS.SAVE\x22\x20translate-attr-aria-label=\x22ANALYTICS.SAVE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-button>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.newExtractedReport\x22\x20ng-click=\x22vm.addNewExtractedReport()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22extractedReportForm.$invalid\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22ANALYTICS.ADD_EXTRACTEDREPORT\x22\x20translate-attr-aria-label=\x22ANALYTICS.ADD_EXTRACTEDREPORT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20EXTRACTEDREPORT\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22row\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x20&&\x20!vm.newExtractedReport\x22\x20ng-click=\x22vm.deleteExtractedReport($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22ANALYTICS.DELETE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip><span\x20translate=\x22ANALYTICS.DELETE\x22>DELETE</span></md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-dialog-actions>\x0a','\x20\x20\x20\x20<div\x20class=\x22header\x20md-accent-bg\x22\x20layout=\x22row\x22\x20layout-align=\x22space-between\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22logo\x22\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22logo-text\x22\x20translate=\x22ANALYTICS.EXTRACTEDREPORTS\x22>ExtractedReports</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22search-input-wrapper\x22\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20for=\x22search\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20md-no-float\x20class=\x22m-0\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20id=\x22search\x22\x20placeholder=\x22Search\x20for\x20anyone\x22\x20type=\x22text\x22\x20ng-model=\x22vm.query.filter\x22\x20ng-model-options=\x22{\x20debounce:\x201000\x20}\x22\x20translate\x20translate-attr-placeholder=\x22ANALYTICS.SEARCH_FOR_ANYONE\x22>\x0a','\x20\x20\x20\x20<!--\x20SELECTED\x20BAR\x20-->\x0a','\x20\x20\x20\x20<div\x20ng-show=\x22vm.selectedExtractedReports.length\x20>\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22close-button-wrapper\x22\x20ng-click=\x22vm.selectedExtractedReports\x20=[]\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20flex\x20layout=\x22row\x22\x20layout-align=\x22space-between\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22selected-extractedReports-count\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>{{vm.selectedExtractedReports.length}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22ANALYTICS.SELECTED\x22>selected</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22$mdOpenMenu($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22ANALYTICS.MULTI_SELECT_TOGGLE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-menu-down\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-content\x20width=\x223\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-item>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.selectAllExtractedReports()\x22\x20translate=\x22ANALYTICS.SELECT_ALL\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deselectExtractedReports()\x22\x20translate=\x22ANALYTICS.SELECT_NONE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Select\x20none\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-menu-content>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22multi-select-actions\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-icon-button\x22\x20ng-csv=\x22vm.exportSelectedExtractedReports\x22\x20csv-label=\x22true\x22\x20filename=\x22extractedReports.csv\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-file-excel\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</button>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22ANALYTICS.DELETE_SELECTED\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-delete\x22></md-icon>\x0a','\x20\x20\x20\x20<!--\x20/\x20SELECTED\x20BAR\x20-->\x0a','\x20\x20\x20\x20<!--\x20CONTENT\x20-->\x0a','\x20\x20\x20\x20<div\x20class=\x22content\x22\x20md-background-bg\x20layout=\x22row\x22\x20layout-align=\x22start\x20start\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22main\x20scrollable\x22\x20ms-scroll>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20EXTRACTEDREPORT\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-card>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<table\x20md-table\x20\x20md-row-select\x20multiple\x20\x20\x20ng-model=\x22vm.selectedExtractedReports\x22\x20md-progress=\x22vm.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm.query.sort\x22\x20md-on-reorder=\x22vm.getExtractedReports\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20ng-if=\x22vm.table\x20==\x20\x27users\x27\x20||\x20vm.table\x20==\x20\x27agents\x27\x22\x20width=\x2220px\x22></th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22id\x22>{{\x20\x27ANALYTICS.ID\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22name\x22>{{\x20\x27ANALYTICS.REPORTNAME\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22basename\x22>{{\x20\x27ANALYTICS.NAME\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22type\x22>{{\x20\x27ANALYTICS.TYPE\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22startDate\x22>{{\x20\x27ANALYTICS.DATE_RANGE_FROM\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22status\x22>{{\x20\x27ANALYTICS.STATUS\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22output\x22>{{\x20\x27ANALYTICS.OUTPUT\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20width=\x2210px\x22></th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</tr>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tbody\x20md-body>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm.extractedReports.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20colspan=\x2210\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22row\x22\x20layout-align=\x22center\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22ANALYTICS.NO_AVAILABLE_INFO\x22>No\x20Available\x20Info</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22extractedReport\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22extractedReport\x20in\x20vm.extractedReports.rows\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22extractedReport.userpic\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{extractedReport.name}}\x22\x20ng-src=\x22api/users/{{extractedReport.id}}/avatar\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22!extractedReport.userpic\x20&&\x20(vm.table\x20==\x20\x27users\x27\x20||\x20vm.table\x20==\x20\x27agents\x27)\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{extractedReport.name}}\x22\x20ng-src=\x22assets/images/avatars/profile.png\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.createOrEditExtractedReport($event,\x20extractedReport)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22id\x20\x22\x20>{{extractedReport.id}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.createOrEditExtractedReport($event,\x20extractedReport)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22name\x20\x22\x20>{{extractedReport.name}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22basename\x20\x22\x20>{{extractedReport.basename}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22type\x20\x22\x20>{{extractedReport.type}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.createOrEditExtractedReport($event,\x20extractedReport)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22startDate\x20\x22>{{extractedReport.startDate\x20|\x20date:\x27medium\x27\x20}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.createOrEditExtractedReport($event,\x20extractedReport)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22createdAt\x20\x22>{{extractedReport.createdAt\x20|\x20date:\x27medium\x27\x20}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22status\x20\x22\x20>{{extractedReport.status}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20aria-label=\x22More\x22\x20translate\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22ANALYTICS.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-dots-vertical\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20ACTIONS\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-item\x20\x20ng-if=\x22vm.crudPermissions.canEdit\x22\x20\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22ANALYTICS.EDIT_EXTRACTEDREPORT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20ExtractedReport\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-button>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-menu-item>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20SUBACTIONS\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-item\x20\x20ng-if=\x22extractedReport.status\x20==\x20\x27Completed\x27\x22\x20\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.downloadfile2(extractedReport,\x20$event\x20\x20,\x20\x27analytics/extracted_reports\x27\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22ANALYTICS.DOWNLOAD_EXTRACTEDREPORT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Download\x20ExtractedReport\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-item\x20\x20ng-if=\x22vm.crudPermissions.canDelete\x22\x20\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deleteconfirm(extractedReport,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22ANALYTICS.DELETE_EXTRACTEDREPORT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</tbody>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</table>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-table-container>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27ANALYTICS.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27ANALYTICS.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27ANALYTICS.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm.query.page\x22\x20md-total=\x22{{vm.extractedReports.count}}\x22\x20md-on-paginate=\x22vm.getExtractedReports\x22\x20md-page-select></md-table-pagination>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-card>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20EXTRACTEDREPORT\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20NO\x20RESULTS\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20NO\x20RESULTS\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20MAIN\x20-->\x0a','\x20\x20\x20\x20<!--\x20/\x20CONTENT\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20NO\x20ADD\x20BUTTON\x20BUTTON\x20-->\x0a','<md-dialog\x20class=\x22metric-dialog\x22\x20aria-label=\x22New\x20Metric\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22metricForm[\x27name\x27].$error\x22\x20ng-show=\x22metricForm[\x27name\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22ANALYTICS.ERRORS.NAME_REQUIRED\x22>Name\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22ANALYTICS.TABLE\x22>Table</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22table\x22\x20ng-model=\x22vm.metric.table\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27report_agent\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Agent\x20Report</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27report_call\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Call\x20Report</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27cdr\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>CDR</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27chat_websites\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Chat\x20Website</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27chat_messages\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Chat\x20Messages</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27chat_offline_messages\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Chat\x20Queues</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27report_chat_queue\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Chat\x20Report\x20Queue</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27report_chat_transfer\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Chat\x20Report\x20Transfer</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27cm_companies\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Companies</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27cm_contacts\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27report_square\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>CSquare\x20Report</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27report_square_details\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27report_dial\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Dial\x20Report</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27cm_hopper\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27cm_hopper_history\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Dialer\x20Hopper\x20Logs</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27cm_hopper_final\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Dialer\x20Hopper\x20Final</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27mail_accounts\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Email\x20Account</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27mail_interactions\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27mail_messages\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27mail_queues\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Email\x20Queues</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Email\x20Report\x20Queue</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27report_mail_transfer\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Email\x20Report\x20Transfer</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27fax_accounts\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Fax\x20Account</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Fax\x20Interaction</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27fax_messages\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Fax\x20Messages</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Fax\x20Queues</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27report_fax_queue\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Fax\x20Report\x20Queue</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27report_fax_transfer\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Fax\x20Report\x20Transfer</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27report_jscripty_sessions\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Jscripty\x20Sessions</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27report_jscripty_questions\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Jscripty\x20Questions</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27report_jscripty_answers\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Jscripty\x20Answers</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Lists</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27report_member\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Member\x20Report</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27openchannel_accounts\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Openchannel\x20Account</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27openchannel_interactions\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Openchannel\x20Interaction</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27openchannel_queues\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Openchannel\x20Queues</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27report_openchannel_queue\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Openchannel\x20Report\x20Queue</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27report_openchannel_transfer\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Openchannel\x20Report\x20Transfer</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27sms_accounts\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>SMS\x20Account</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27sms_interactions\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>SMS\x20Interaction</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>SMS\x20Messages</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27sms_queues\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>SMS\x20Queues</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27report_sms_queue\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>SMS\x20Report\x20Queue</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27report_sms_transfer\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>SMS\x20Report\x20Transfer</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27users\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Users</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27voice_recordings\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Voice\x20Recordings</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27whatsapp_accounts\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Whatsapp\x20Account</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27whatsapp_interactions\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Whatsapp\x20Interaction</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27whatsapp_messages\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Whatsapp\x20Queues</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27report_whatsapp_queue\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Whatsapp\x20Report\x20Queue</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27report_whatsapp_transfer\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Whatsapp\x20Report\x20Transfer</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-select>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22metricForm[\x27table\x27].$error\x22\x20ng-show=\x22metricForm[\x27table\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22ANALYTICS.ERRORS.TABLE_REQUIRED\x22>Table\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22ANALYTICS.METRIC\x22>Metric</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22metric\x22\x20\x20ng-model=\x22vm.metric.metric\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22metricForm[\x27metric\x27].$error\x22\x20ng-show=\x22metricForm[\x27metric\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22ANALYTICS.ERRORS.METRIC_REQUIRED\x22>Metric\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22description\x22\x20\x20ng-model=\x22vm.metric.description\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22ANALYTICS.ERRORS.DESCRIPTION_REQUIRED\x22>Description\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20!vm.newMetric\x22\x20ng-click=\x22vm.saveMetric()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22metricForm.$invalid\x20||\x20metricForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22metricForm.$invalid\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20METRIC\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x20&&\x20!vm.newMetric\x22\x20ng-click=\x22vm.deleteMetric($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x0a','\x20\x20\x20\x20<!--\x20HEADER\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20APP\x20TITLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22logo-icon\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-chart-line\x22\x20class=\x22s24\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22logo-text\x22\x20translate=\x22ANALYTICS.METRICS\x22>Metrics</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20APP\x20TITLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22row\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20SEARCH\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-magnify\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20SEARCH\x20-->\x0a','\x20\x20\x20\x20<!--\x20/\x20HEADER\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22close-button-wrapper\x22\x20ng-click=\x22vm.selectedMetrics\x20=[]\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-arrow-left\x22\x20class=\x22mr-8\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22ANALYTICS.BACK\x22>Back</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>{{vm.selectedMetrics.length}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu\x20class=\x22select-menu\x22\x20ng-if=\x22!vm.currentThread\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22multi\x20select\x20toggle\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.selectAllMetrics()\x22\x20translate=\x22ANALYTICS.SELECT_ALL\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-menu-item>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-menu>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-icon-button\x22\x20ng-csv=\x22vm.exportSelectedMetrics\x22\x20csv-label=\x22true\x22\x20filename=\x22metrics.csv\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20MAIN\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20METRIC\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-table-container>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<table\x20md-table\x20\x20md-row-select\x20multiple\x20\x20\x20ng-model=\x22vm.selectedMetrics\x22\x20md-progress=\x22vm.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22name\x22>{{\x20\x27ANALYTICS.NAME\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22table\x22>{{\x20\x27ANALYTICS.TABLE\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm.metrics.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22metric\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22metric\x20in\x20vm.metrics.rows\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22metric.userpic\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{metric.name}}\x22\x20ng-src=\x22api/users/{{metric.id}}/avatar\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22!metric.userpic\x20&&\x20(vm.table\x20==\x20\x27users\x27\x20||\x20vm.table\x20==\x20\x27agents\x27)\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{metric.name}}\x22\x20ng-src=\x22assets/images/avatars/profile.png\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.createOrEditMetric($event,\x20metric)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22id\x20\x22\x20>{{metric.id}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.createOrEditMetric($event,\x20metric)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.createOrEditMetric($event,\x20metric)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.createOrEditMetric($event,\x20metric)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22description\x20\x22\x20>{{metric.description}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20class=\x22actions\x22\x20ng-if=\x22!vm.crudPermissions.readOnly\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-content\x20width=\x223\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.editdialog(metric,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22ANALYTICS.EDIT_METRIC\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Metric\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deleteconfirm(metric,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22ANALYTICS.DELETE_METRIC\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Metric\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27ANALYTICS.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27ANALYTICS.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27ANALYTICS.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm.query.page\x22\x20md-total=\x22{{vm.metrics.count}}\x22\x20md-on-paginate=\x22vm.getMetrics\x22\x20md-page-select></md-table-pagination>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20METRIC\x20TABLE\x20-->\x0a','\x20\x20\x20\x20<md-button\x20ng-if=\x22vm.crudPermissions.canEdit\x22\x20class=\x22md-fab\x20md-accent\x22\x20id=\x22add-metric-button\x22\x20ng-click=\x22vm.createOrEditMetric($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20metric\x22\x20translate\x20translate-attr-aria-label=\x22ANALYTICS.ADD_METRIC\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-plus\x22></md-icon>\x0a','\x20\x20\x20\x20<!--\x20/\x20ADD\x20METRIC\x20BUTTON\x20-->\x0a','<md-dialog\x20class=\x22report-dialog\x22\x20aria-label=\x22Run\x20Report\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22reportForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22title\x22\x20translate=\x22ANALYTICS.COPY_REPORT\x22>Copy\x20Report</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22error-list\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22message\x22>{{error.message}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22type\x22>({{error.type}})</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-alert-box\x22\x20aria-label=\x22alert\x20error\x22\x20class=\x22s16\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20name=\x22name\x22\x20ng-model=\x22vm.report.name\x22\x20required\x20md-autofocus>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22reportForm.name.$error\x22\x20ng-show=\x22reportForm.name.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22ANALYTICS.SELECT_NODE\x22>Select\x20Node</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20js-tree=\x22vm.treeCustomConfig\x22\x20tree-events-obj=\x22vm.treeCustomEvents\x22\x20ng-model=\x22vm.treeCustomData\x22\x20tree=\x22vm.treeCustomInstance\x22></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-repeat=\x22error\x20in\x20vm.errors\x22\x20class=\x22error\x22\x20layout=\x22row\x22\x20layout-align=\x22space-between\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-dialog-actions\x20layout=\x22row\x22\x20layout-align=\x22space-between\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-click=\x22vm.copyReport()\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20ng-disabled=\x22!vm.currentNode\x22\x20aria-label=\x22COPY\x22\x20translate=\x22ANALYTICS.COPY_REPORT\x22\x20translate-attr-aria-label=\x22ANALYTICS.COPY_REPORT\x22>\x0a','app/main/apps/analytics/views/reports/create/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22\x22\x20name=\x22name\x22\x20ng-model=\x22vm.report.name\x22\x20required\x20md-autofocus>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-message=\x22required\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20class=\x22md-block\x22\x20ng-if=\x22vm.newReport\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20ng-model=\x22vm.report.table\x22\x20required>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22reportForm.table.$error\x22\x20ng-show=\x22reportForm.table.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22description\x22\x20ng-model=\x22vm.report.description\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22reportForm.description.$error\x22\x20ng-show=\x22reportForm.description.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-autocomplete\x20ng-if=\x22vm.newReport\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-search-text=\x22vm.searchText\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-items=\x22table\x20in\x20vm.tables\x20|\x20filter:vm.searchText\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-min-length=\x220\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-selected-item-change=\x22vm.selectedTableChange(table)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20placeholder=\x22Select\x20the\x20table\x20to\x20Join\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-item-template>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20md-highlight-text=\x22vm.searchText\x22\x20md-highlight-flags=\x22^i\x22>{{table.name}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-item-template>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-not-found>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-not-found>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-autocomplete>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-card\x20ng-if=\x22vm.newReport\x22\x20md-theme=\x22default\x22\x20md-theme-watch\x20ng-repeat=\x22table\x20in\x20vm.joinTables\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-card-title-text\x20layout=\x22row\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22row\x22\x20flex=\x2250\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22>{{table.name}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22row\x22\x20layout-align=\x22end\x20center\x22\x20flex>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm.removeJoin($index)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-delete\x22\x20aria-label=\x22alert\x20error\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-card-title>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-card-content>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20ng-model=\x22table.parentKey\x22\x20placeholder=\x22Select\x20the\x20parent\x20key\x22\x20ng-init=\x22table.parentFields\x20=\x20[];\x20vm.getFields(table,\x20\x27parentFields\x27,\x20vm.report.table)\x22\x20required>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-repeat=\x22field\x20in\x20table.parentFields\x22\x20ng-value=\x22field\x22>{{field}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20ng-model=\x22table.foreignKey\x22\x20placeholder=\x22Select\x20the\x20foreign\x20key\x22\x20ng-init=\x22table.foreignFields\x20=\x20[];\x20vm.getFields(table,\x20\x27foreignFields\x27,\x20table.name)\x22\x20required>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-repeat=\x22field\x20in\x20table.foreignFields\x22\x20ng-value=\x22field\x22>{{field}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-select>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-repeat=\x22join\x20in\x20vm.joinTypes\x22\x20ng-value=\x22join.key\x22>{{join.value}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-card-content>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22!vm.newReport\x22\x20ng-click=\x22vm.saveReport()\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20ng-disabled=\x22reportForm.$invalid\x20||\x20reportForm.$pristine\x22\x20aria-label=\x22SAVE\x22\x20translate=\x22ANALYTICS.SAVE\x22\x20translate-attr-aria-label=\x22ANALYTICS.SAVE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.newReport\x22\x20ng-click=\x22vm.addNewReport()\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20ng-disabled=\x22reportForm.$invalid\x20||\x20reportForm.$pristine\x22\x20aria-label=\x22ADD\x22\x20translate=\x22ANALYTICS.ADD_REPORT\x22\x20translate-attr-aria-label=\x22ANALYTICS.ADD_REPORT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20REPORT\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22row\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x20&&\x20!vm.newReport\x22\x20ng-click=\x22vm.deleteReport($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x20translate-attr-aria-label=\x22ANALYTICS.DELETE\x22>\x0a','app/main/apps/analytics/views/reports/edit/condition/group.html','<md-card\x20class=\x22padding-horizontal-15\x20padding-top-15\x22>\x0a','\x20\x20\x20\x20<div\x20layout=\x22row\x22\x20ng-if=\x22vm_rc.crudPermissions.canEdit\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20class=\x22md-block\x22\x20flex>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22ANALYTICS.OPERATOR\x22>Operator</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20value=\x22OR\x22>OR</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22conditionsForm.operator.$error\x22\x20ng-show=\x22conditionsForm.operator.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-message=\x22required\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22ANALYTICS.ERRORS.OPERATOR_REQUIRED\x22>Operator\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-raised\x20md-accent\x22\x20ng-click=\x22vm_rc.addCondition(group.rules)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-plus\x22></md-icon>\x20{{\x27ANALYTICS.CONDITION\x27\x20|\x20translate}}</md-button>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-raised\x20md-accent\x22\x20ng-click=\x22vm_rc.addGroup(group.rules)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-plus\x22></md-icon>\x20{{\x27ANALYTICS.GROUP\x27\x20|\x20translate}}</md-button>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20flex></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20class=\x22md-block\x22\x20ng-if=\x22parent\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-raised\x20md-warn\x22\x20ng-click=\x22vm_rc.deleteConfirm(parent,\x20index,\x20$event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-delete\x22></md-icon>\x20{{\x27ANALYTICS.GROUP\x27\x20|\x20translate}}</md-button>\x0a','\x20\x20\x20\x20<div\x20layout=\x22column\x22\x20ng-repeat=\x22rule\x20in\x20group.rules\x20track\x20by\x20$index\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22row\x22\x20ng-if=\x22!rule.group\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20class=\x22md-block\x22\x20flex>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22ANALYTICS.COLUMN\x22>COLUMN</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22field\x22\x20ng-model=\x22rule.field\x22\x20ng-disabled=\x22!vm_rc.crudPermissions.canEdit\x22\x20required>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-optgroup\x20label=\x22{{vm_rc.report.table}}\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-repeat=\x22field\x20in\x20join.foreignTableFields\x22\x20value=\x22{{join.foreignTable}}.{{field}}\x22>{{field}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-optgroup>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22ANALYTICS.ERRORS.COLUMN_REQUIRED\x22>Column\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22ANALYTICS.CONDITION\x22>CONDITION</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22condition\x22\x20ng-model=\x22rule.condition\x22\x20ng-disabled=\x22!vm_rc.crudPermissions.canEdit\x22\x20required>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22conditionsForm.condition.$error\x22\x20ng-show=\x22conditionsForm.condition.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22ANALYTICS.ERRORS.CONDITION_REQUIRED\x22>Condition\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20ng-if=\x22vm_rc.isValueByCondition(rule.condition)\x22\x20class=\x22md-block\x22\x20flex>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22value\x22\x20ng-model=\x22rule.value\x22\x20ng-disabled=\x22!vm_rc.crudPermissions.canEdit\x22\x20required\x20md-autofocus>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22conditionsForm.value.$error\x22\x20ng-show=\x22conditionsForm.value.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22ANALYTICS.ERRORS.VALUE_REQUIRED\x22>Value\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20class=\x22md-block\x22\x20ng-if=\x22vm_rc.crudPermissions.canEdit\x22\x20flex>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-fab\x20md-mini\x20md-warn\x22\x20aria-label=\x22Delete\x20row\x22\x20ng-click=\x22vm_rc.deleteConfirm(group.rules,\x20$index,\x20$event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22rule.group\x22\x20ng-include=\x22\x27app/main/apps/analytics/views/reports/edit/condition/group.html\x27\x22\x20ng-init=\x22parent=group.rules;index=$index;group=rule.group\x22></div>\x0a','</md-card>','<md-dialog\x20class=\x22reportField-dialog\x22\x20aria-label=\x22New\x20Report\x20Field\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22reportFieldForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<pre></pre>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20value=\x22metric\x22>Select\x20an\x20existing\x20metric</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22reportForm.type.$error\x22\x20ng-show=\x22reportForm.type.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22ANALYTICS.COLUMN\x22>Column\x20Name</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22column\x22\x20ng-model=\x22vm.reportField.field\x22\x20required>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-optgroup\x20label=\x22{{vm.report.table}}\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-repeat=\x22column\x20in\x20vm.columns\x22\x20value=\x22{{vm.report.table}}.{{column}}\x22>{{column}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20<md-option\x20ng-repeat=\x22column\x20in\x20vm.columns\x22\x20ng-value=\x22\x22>{{column}}</md-option>\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-optgroup>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-repeat=\x22field\x20in\x20join.foreignTableFields\x22\x20value=\x22{{join.foreignTable}}.{{field}}\x22>{{field}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22reportForm.column.$error\x22\x20ng-show=\x22reportForm.column.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22ANALYTICS.ERRORS.COLUMN_REQUIRED\x22>Column\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20class=\x22md-block\x22\x20ng-switch-when=\x22metric\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22ANALYTICS.METRIC_NAME\x22>Metric\x20Name</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22metric\x22\x20ng-model=\x22vm.reportField.MetricId\x22\x20required>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-repeat=\x22metric\x20in\x20vm.metrics\x22\x20ng-value=\x22metric.id\x22>{{metric.name}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22reportForm.metric.$error\x22\x20ng-show=\x22reportForm.metric.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22ANALYTICS.ERRORS.METRIC_REQUIRED\x22>Metric\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20class=\x22md-block\x22\x20ng-switch-when=\x22custom\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22ANALYTICS.CUSTOM_METRIC\x22>Custom\x20Metric</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22field\x22\x20ng-model=\x22vm.reportField.field\x22\x20required\x20md-autofocus>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22reportFieldForm.field.$error\x22\x20ng-show=\x22reportFieldForm.field.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22ANALYTICS.ERRORS.CUSTOM_METRIC_REQUIRED\x22>Custom\x20Metric\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22ANALYTICS.ALIAS\x22>Alias</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22alias\x22\x20ng-model=\x22vm.reportField.alias\x22\x20ng-required=\x22vm.reportField.type\x20===\x20\x27custom\x27\x20||\x20vm.reportField.type\x20===\x20\x27metric\x27\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22ANALYTICS.ERRORS.ALIAS_REQUIRED\x22>Alias\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22ANALYTICS.FUNCTION\x22>Function</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22function\x22\x20ng-model=\x22vm.reportField.function\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22null\x22>No\x20Function</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20class=\x22md-block\x22\x20ng-if=\x22vm.reportField.type\x20!==\x20\x27metric\x27\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22format\x22\x20ng-model=\x22vm.reportField.format\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22null\x22>No\x20Format</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22ANALYTICS.GROUP_BY\x22>Group\x20By</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22groupBy\x22\x20ng-model=\x22vm.reportField.groupBy\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22ANALYTICS.ORDER_BY\x22>Order\x20By</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22orderBy\x22\x20ng-model=\x22vm.reportField.orderBy\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22null\x22>No\x20Order</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-repeat=\x22ob\x20in\x20vm.sqlUtil.getOrderBy\x22\x20ng-value=\x22ob.value\x22>{{ob.value}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22!vm.newReportField\x22\x20ng-click=\x22vm.saveReportField()\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20ng-disabled=\x22reportFieldForm.$invalid\x20||\x20reportFieldForm.$pristine\x22\x20aria-label=\x22SAVE\x22\x20translate=\x22ANALYTICS.SAVE\x22\x20translate-attr-aria-label=\x22ANALYTICS.SAVE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.newReportField\x22\x20ng-click=\x22vm.addNewReportField()\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20ng-disabled=\x22reportFieldForm.$invalid\x20||\x20reportFieldForm.$pristine\x22\x20aria-label=\x22ADD\x22\x20translate=\x22ANALYTICS.ADD_REPORTFIELD\x22\x20translate-attr-aria-label=\x22ANALYTICS.ADD_REPORTFIELD\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20REPORT\x20FIELD\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x20&&\x20!vm.newReportField\x22\x20ng-click=\x22vm.deleteReportField($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x20translate-attr-aria-label=\x22ANALYTICS.DELETE\x22>\x0a','\x20\x20\x20\x20<div\x20class=\x22header\x20md-accent-bg\x22\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22goto-reports-button\x20md-icon-button\x22\x20aria-label=\x22Go\x20to\x20reports\x22\x20ng-click=\x22vm.gotoReports()\x22\x20translate\x20translate-attr-aria-label=\x22ANALYTICS.GO_TO_ANALYTICSQUEUES\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-arrow-left\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22column\x22\x20layout-align=\x22start\x20start\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.report.id}}\x20{{vm.report.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22ANALYTICS.CREATED_AT\x22></span>\x20<span>{{vm.report.createdAt\x20|\x20date:\x27medium\x27}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22subtitle\x20secondary-text\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>{{vm.report.description}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-click=\x22vm.saveReport()\x22\x20ng-disabled=\x22generalForm.$pristine\x20&&\x20conditionsForm.$pristine\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20translate=\x22ANALYTICS.SAVE\x22\x20translate-attr-aria-label=\x22ANALYTICS.SAVE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-tabs\x20md-selected=\x22vm.selectedTab\x22\x20md-stretch-tabs=\x22always\x22\x20flex\x20layout-fill\x20md-dynamic-height>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tab>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22report-detail-form-container\x20general\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22pb-16\x22\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22ANALYTICS.GENERAL\x22>GENERAL</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<form\x20name=\x22generalForm\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22ANALYTICS.NAME\x22>Name</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22ANALYTICS.ERRORS.NAME_REQUIRED\x22>Name\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22ANALYTICS.DESCRIPTION\x22>Description</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22description\x22\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20ng-model=\x22vm.report.description\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm.description.$error\x22\x20ng-show=\x22generalForm.description.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-tab-body>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-tab>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22ANALYTICS.FIELDS\x22>FIELDS</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tab-body>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22report-detail-form-container\x20fields\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-default\x22\x20ng-hide=\x22vm_rf.selectedReportFields.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22column\x22\x20layout-align=\x22start\x20start\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22md-subhead\x22\x20translate=\x22ANALYTICS.FIELDS\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22ANALYTICS.FIELDS\x22>FIELDS</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22ANALYTICS.TABLE\x22>TABLE</span>\x20<span\x20class=\x22text-bold\x22>{{vm.report.table}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h4\x22\x20ng-if=\x22vm.report.joins\x20&&\x20vm.report.joins.length\x20&&\x20vm.isArray(vm.report.joins)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20flex></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm_rf.crudPermissions.canEdit\x22\x20ng-click=\x22vm_rf.createOrEditReportField($event)\x22\x20aria-label=\x22add\x20field\x22\x20translate\x20translate-attr-label=\x22ANALYTICS.ADD_FIELD\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-plus\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-toolbar>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-accent\x22\x20ng-show=\x22vm_rf.selectedReportFields.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22md-toolbar-tools\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm_rf.deleteSelectedReportFields($event)\x22\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22ANALYTICS.DELETE_SELECTED\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-delete\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-table-container>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<table\x20md-table\x20md-row-select=\x22vm_rf.crudPermissions.canDelete\x22\x20multiple\x20ng-model=\x22vm_rf.selectedReportFields\x22\x20md-progress=\x22vm_rf.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm_rf.query.sort\x22\x20md-on-reorder=\x22vm_rf.getReportFields\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20width=\x2210px\x22\x20ng-if=\x22vm_rf.crudPermissions.canEdit\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-drag-vertical\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>Type</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>Alias</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>Group\x20By</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>Order\x20By</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</tr>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</thead>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tbody\x20md-body\x20ng-sortable=\x22vm_rf.sortableTable\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22reportField\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22reportField\x20in\x20vm_rf.reportFields.rows\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-drag-vertical\x22\x20class=\x22s16\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22reportField.MetricId\x20&&\x20!reportField.custom\x22\x20ng-click=\x22vm_rf.createOrEditReportField($event,\x20reportField)\x22\x20class=\x22icon\x20icon-shape-plus\x20s16\x22></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22!reportField.MetricId\x20&&\x20!reportField.custom\x22\x20ng-click=\x22vm_rf.createOrEditReportField($event,\x20reportField)\x22\x20class=\x22icon\x20icon-view-column\x20s16\x22></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-click=\x22vm_rf.createOrEditReportField($event,\x20reportField)\x22>{{reportField.MetricId\x20?\x20vm_rf.getMetricName(reportField.MetricId)\x20:\x20reportField.field}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-click=\x22vm_rf.createOrEditReportField($event,\x20reportField)\x22>{{reportField.alias}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-click=\x22vm_rf.createOrEditReportField($event,\x20reportField)\x22><span\x20class=\x22text-boxed\x20blue-bg\x20white-fg\x22\x20ng-if=\x22reportField.format\x22>{{reportField.format}}</span><span\x20ng-if=\x22!reportField.format\x22>--</span></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-click=\x22vm_rf.createOrEditReportField($event,\x20reportField)\x22><span\x20class=\x22text-boxed\x20blue-bg\x20white-fg\x22\x20ng-if=\x22reportField.orderBy\x22>{{reportField.orderBy}}</span><span\x20ng-if=\x22!reportField.orderBy\x22>--</span></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20class=\x22actions\x22\x20ng-if=\x22vm_rf.crudPermissions.canEdit\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20aria-label=\x22More\x22\x20translate\x20translate-attr-aria-label=\x22ANALYTICS.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-dots-vertical\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-button>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-content\x20width=\x223\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-item\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm_rf.createOrEditReportField($event,\x20reportField)\x22\x20translate=\x22ANALYTICS.EDIT_REPORTFIELD\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Field\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Field\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-button>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-menu-item>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-menu-content>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-menu>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</tbody>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tab-label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-tab-label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22report-detail-form-container\x20conditions\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-controller=\x22ReportConditionsController\x20as\x20vm_rc\x22\x20ng-init=\x22vm_rc.init(vm.report,\x20vm.crudPermissions)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22pb-16\x22\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<form\x20name=\x22conditionsForm\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</form>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22report-detail-form-container\x20result\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22vm.error\x22\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22ANALYTICS.ERROR\x22>ERROR</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<dl\x20ng-if=\x22vm.error\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<dd>{{vm.error.sql}}</dd>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<dt\x20translate=\x22ANALYTICS.MESSAGE\x22>Message</dt>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<dd>{{vm.error.msg}}</dd>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</dl>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<table\x20md-table>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20ng-repeat=\x22column\x20in\x20vm.columns\x22>{{column.alias\x20||\x20column.field}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</tr>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</thead>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tbody\x20md-body>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-repeat=\x22row\x20in\x20vm.rows\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</tbody>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</table>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-table-container>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tab\x20md-on-select=\x22vm.queryReport()\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>Query</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22!vm.error\x22\x20class=\x22h2\x20secondary-text\x22>SQL</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<dt\x20class=\x22text-bold\x22\x20translate=\x22ANALYTICS.QUERY_ERROR\x22>Query\x20Error</dt>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22!vm.error\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.queryResult}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22title\x22\x20translate=\x22ANALYTICS.PREVIEW_REPORT\x22>Preview\x20Report</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22pb-16\x22\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22vm.error\x22\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22ANALYTICS.ERROR\x22>ERROR</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22!vm.error\x22\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22ANALYTICS.LIMITED_RESULT\x22>LIMITED\x20RESULT</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<dl\x20ng-if=\x22vm.error\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<dt\x20class=\x22text-bold\x22\x20translate=\x22ANALYTICS.QUERY_ERROR\x22>Query\x20Error</dt>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<dd>{{vm.error.sql}}</dd>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<dt\x20translate=\x22ANALYTICS.MESSAGE\x22>Message</dt>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<dd>{{vm.error.msg}}</dd>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</dl>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<table\x20md-table\x20md-progress=\x22vm.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20ng-repeat=\x22column\x20in\x20vm.columns\x22>{{column.alias\x20||\x20column.field}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</tr>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</thead>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-repeat=\x22row\x20in\x20vm.rows\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-if=\x22!vm.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</tbody>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-click=\x22vm.closeDialog()\x22\x20class=\x22md-raised\x22\x20aria-label=\x22CLOSE\x22\x20translate=\x22ANALYTICS.CLOSE\x22\x20translate-attr-aria-label=\x22ANALYTICS.CLOSE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CLOSE\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22logo-text\x22\x20translate=\x22ANALYTICS.REPORTS\x22>Reports</span>\x0a','\x20\x20\x20\x20<div\x20ng-show=\x22vm.selectedReports.length\x20>\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22close-button-wrapper\x22\x20ng-click=\x22vm.selectedReports\x20=[]\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22selected-reports-count\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>{{vm.selectedReports.length}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-click=\x22$mdOpenMenu($event)\x22\x20aria-label=\x22multi\x20select\x20toggle\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22ANALYTICS.MULTI_SELECT_TOGGLE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.selectAllReports()\x22\x20translate=\x22ANALYTICS.SELECT_ALL\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Select\x20all\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deselectReports()\x22\x20translate=\x22ANALYTICS.SELECT_NONE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20filename=\x22reports.csv\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22vm.crudPermissions.canDelete\x20&&\x20vm.currentNode.custom\x22\x20class=\x22md-icon-button\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.deleteSelectedReports($event)\x22\x20aria-label=\x22delete\x20selected\x22\x20translate\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-label=\x22ANALYTICS.DELETE_SELECTED\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22column\x22\x20flex=\x2230\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-card\x20class=\x22padding-top-5\x20padding-horizontal-10\x20padding-bottom-0\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20SEARCH\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20for=\x22searchFolder\x22\x20class=\x22m-0\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-magnify\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20md-no-float\x20class=\x22margin-horizontal-0\x20margin-bottom-0\x20margin-top-10\x22\x20flex>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-model-options=\x22{\x20debounce:\x201000\x20}\x22\x20translate\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-placeholder=\x22ANALYTICS.SEARCH_FOR_FOLDER\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20SEARCH\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-card\x20class=\x22padding-10\x20scrollable\x22\x20ms-scroll>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20js-tree=\x22vm.treeDefaultConfig\x22\x20tree-events-obj=\x22vm.treeDefaultEvents\x22\x20ng-model=\x22vm.treeDefaultData\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20tree=\x22vm.treeDefaultInstance\x22></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20js-tree=\x22vm.treeCustomConfig\x22\x20tree-events-obj=\x22vm.treeCustomEvents\x22\x20ng-model=\x22vm.treeCustomData\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22md-toolbar-tools\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22text-boxed\x22>{{vm.currentPath}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<ms-search-bar\x20on-search=\x22vm.query.filter\x20=\x20query\x22\x20on-collapse=\x22vm.query.filter\x20=\x20undefined\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20debounce=\x22300\x22></ms-search-bar>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20flow-init\x20flow-file-added=\x22vm.importReport($file,\x20$event,\x20$flow)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.currentNode.custom\x22\x20class=\x22md-icon-button\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22import\x20report\x22\x20translate\x20translate-attr-label=\x22ANALYTICS.IMPORT_REPORT\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-upload\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-label=\x22ANALYTICS.ADD_REPORT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-plus\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<table\x20md-table\x20md-row-select\x20multiple\x20ng-model=\x22vm.selectedReports\x22\x20md-progress=\x22vm.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm.query.sort\x22\x20md-on-reorder=\x22vm.getReports\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22id\x22\x20width=\x2210px\x22>{{\x20\x27ANALYTICS.ID\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22name\x22>{{\x20\x27ANALYTICS.NAME\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22description\x22>{{\x20\x27ANALYTICS.DESCRIPTION\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22createdAt\x22>{{\x20\x27ANALYTICS.CREATED_AT\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20width=\x2210px\x22></th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</thead>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tbody\x20md-body>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20colspan=\x225\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22row\x22\x20layout-align=\x22center\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22ANALYTICS.NO_AVAILABLE_INFO\x22>No\x20Available\x20Info</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</tr>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22report\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22report\x20in\x20vm.reports.rows\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22id\x22>{{report.id}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22!vm.crudPermissions.canEdit\x20?\x20vm.currentNode.custom\x20&&\x20vm.editstate(report,\x20$event)\x20:\x20vm.currentNode.custom\x20&&\x20vm.createOrEditReport($event,\x20report)\x22\x20md-cell\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22name\x22>{{report.name}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22description\x22>{{report.description}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20class=\x22actions\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20aria-label=\x22More\x22\x20translate\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-dots-vertical\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-content\x20width=\x223\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-item\x20ng-if=\x22vm.crudPermissions.canEdit\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.copydialog(report,\x20$event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Copy\x20Report\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-button>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.previewdialog(report,\x20$event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22ANALYTICS.PREVIEW_REPORT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Preview\x20Report\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-menu-item>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-item>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.rundialog(report,\x20$event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22ANALYTICS.RUN_REPORT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.downloadfile(report,\x20$event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Download\x20Json\x20Report\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-divider\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-menu-divider>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.editstate(report,\x20$event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22ANALYTICS.EDIT_REPORT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deleteconfirm(report,\x20$event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22ANALYTICS.DELETE_REPORT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Report\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-menu>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</tbody>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-table-container>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-table-pagination\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-label=\x22{page:\x20\x27{{\x27ANALYTICS.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27ANALYTICS.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27ANALYTICS.OF\x27\x20|\x20translate}}\x27}\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-limit=\x22vm.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm.query.page\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-total=\x22{{vm.reports.count}}\x22\x20md-on-paginate=\x22vm.getReports\x22\x20md-page-select></md-table-pagination>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20</md-card>\x0a','\x20\x20\x20\x20<!--\x20NO\x20ADD\x20BUTTON\x20BUTTON\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22title\x22\x20translate=\x22ANALYTICS.RUN_REPORT\x22>Run\x20Report</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20name=\x22name\x22\x20ng-model=\x22vm.export.name\x22\x20required\x20md-autofocus>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22ANALYTICS.FORMAT\x22>FORMAT</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22format\x22\x20ng-model=\x22vm.export.output\x22\x20required>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20value=\x22csv\x22>CSV</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20value=\x22xlsx\x22>Excel\x20(XLSX)</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20value=\x22pdf\x22>PDF</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20value=\x22web\x22>Web</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22reportForm.format.$error\x22\x20ng-show=\x22reportForm.format.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22ANALYTICS.ERRORS.FORMAT_REQUIRED\x22>Format\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22md-block\x22\x20flex>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-message=\x22format\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-message=\x22maxDate\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22ANALYTICS.ERRORS.DATE_RANGE_FROM_MAX_INVALID\x22>Date\x20Range\x20From\x20Max\x20field\x20is\x20invalid</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<mdp-date-picker\x20mdp-open-on-click\x20required\x20name=\x22dateRangeTo\x22\x20mdp-placeholder=\x22Date\x20Range\x20To\x22\x20mdp-format=\x22YYYY-MM-DD\x22\x20mdp-min-date=\x22vm.dateRangeFrom\x22\x20ng-model=\x22vm.export.endDate\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22reportForm.dateRangeTo.$error\x22\x20ng-show=\x22reportForm.dateRangeTo.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-message=\x22required\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22ANALYTICS.ERRORS.DATE_RANGE_TO_REQUIRED\x22>Date\x20Range\x20From\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22ANALYTICS.ERRORS.DATE_RANGE_FROM_MIN_INVALID\x22>Date\x20Range\x20From\x20Min\x20field\x20is\x20invalid</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</mdp-date-picker>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<mdp-time-picker\x20required\x20name=\x22timeRangeFrom\x22\x20mdp-placeholder=\x22Time\x20Range\x20From\x22\x20mdp-format=\x22HH:mm:ss\x22\x20mdp-auto-switch=\x22true\x22\x20mdp-max-date=\x22vm.dateRangeTo\x22\x20ng-model=\x22vm.export.startDate\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22ANALYTICS.ERRORS.TIME_RANGE_FROM_REQUIRED\x22>Time\x20Range\x20From\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22ANALYTICS.ERRORS.TIME_RANGE_FROM_INVALID\x22>Time\x20Range\x20From\x20field\x20is\x20invalid</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</mdp-time-picker>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<mdp-time-picker\x20required\x20name=\x22timeRangeTo\x22\x20mdp-placeholder=\x22Time\x20Range\x20To\x22\x20mdp-format=\x22HH:mm:ss\x22\x20mdp-auto-switch=\x22true\x22\x20mdp-min-date=\x22vm.dateRangeFrom\x22\x20ng-model=\x22vm.export.endDate\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22reportForm.timeRangeTo.$error\x22\x20ng-show=\x22reportForm.timeRangeTo.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22ANALYTICS.ERRORS.TIME_RANGE_TO_REQUIRED\x22>Time\x20Range\x20From\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-click=\x22vm.runReport($event)\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20ng-disabled=\x22reportForm.$invalid\x22\x20aria-label=\x22RUN\x22\x20translate=\x22ANALYTICS.RUN_REPORT\x22\x20translate-attr-aria-label=\x22ANALYTICS.RUN_REPORT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RUN\x20REPORT\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm.refreshDate()\x22\x20aria-label=\x22REFRESH\x22\x20translate\x20translate-attr-aria-label=\x22ANALYTICS.REFRESH\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-refresh\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip><span\x20translate=\x22ANALYTICS.REFRESH\x22>REFRESH</span></md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22title\x22\x20translate=\x22ANALYTICS.PREVIEW_REPORT\x22>Web\x20Report</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tbody\x20md-body>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-repeat=\x22(key,\x20value)\x20in\x20row\x22>{{\x20vm.valueReplacer(key,\x20value)\x20}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-if=\x22!vm.results.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20colspan=\x22{{vm.columns.length}}\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22row\x22\x20layout-align=\x22center\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</table>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-table-container>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-total=\x22{{vm.results.count}}\x22\x20md-on-paginate=\x22vm.getResults\x22\x20md-page-select></md-table-pagination>\x0a','<md-dialog\x20class=\x22odbc-dialog\x22\x20aria-label=\x22New\x20Odbc\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22odbcForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CALLYSQUARE.NAME\x22>Name</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22name\x22\x20\x20ng-model=\x22vm.odbc.name\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22odbcForm[\x27name\x27].$error\x22\x20ng-show=\x22odbcForm[\x27name\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CALLYSQUARE.ERRORS.NAME_REQUIRED\x22>Name\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CALLYSQUARE.DSN\x22>DSN</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22dsn\x22\x20\x20ng-model=\x22vm.odbc.dsn\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22CALLYSQUARE.HELP.DSN\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22odbcForm[\x27dsn\x27].$error\x22\x20ng-show=\x22odbcForm[\x27dsn\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CALLYSQUARE.ERRORS.DSN_REQUIRED\x22>DSN\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CALLYSQUARE.DESCRIPTION\x22>Description</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22description\x22\x20\x20ng-model=\x22vm.odbc.description\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22odbcForm[\x27description\x27].$error\x22\x20ng-show=\x22odbcForm[\x27description\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CALLYSQUARE.ERRORS.DESCRIPTION_REQUIRED\x22>Description\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22odbcForm.$invalid\x20||\x20odbcForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22CALLYSQUARE.SAVE\x22\x20translate-attr-aria-label=\x22CALLYSQUARE.SAVE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.newOdbc\x22\x20ng-click=\x22vm.addNewOdbc()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22CALLYSQUARE.ADD_ODBC\x22\x20translate-attr-aria-label=\x22CALLYSQUARE.ADD_ODBC\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20ODBC\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x20&&\x20!vm.newOdbc\x22\x20ng-click=\x22vm.deleteOdbc($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22CALLYSQUARE.DELETE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip><span\x20translate=\x22CALLYSQUARE.DELETE\x22>DELETE</span></md-tooltip>\x0a','<div\x20id=\x22odbcs\x22\x20class=\x22page-layout\x20simple\x20left-sidenav\x20inner-sidenav\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-sitemap\x22\x20class=\x22s24\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22logo-text\x22\x20translate=\x22CALLYSQUARE.ODBC\x22>ODBC</span>\x0a','\x20\x20\x20\x20<div\x20ng-show=\x22vm.selectedODBC.length\x20>\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22selected-odbcs-count\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>{{vm.selectedODBC.length}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22CALLYSQUARE.MULTI_SELECT_TOGGLE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.selectAllODBC()\x22\x20translate=\x22CALLYSQUARE.SELECT_ALL\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deselectODBC()\x22\x20translate=\x22CALLYSQUARE.SELECT_NONE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-icon-button\x22\x20ng-csv=\x22vm.exportSelectedODBC\x22\x20csv-label=\x22true\x22\x20filename=\x22odbcs.csv\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22CALLYSQUARE.DELETE_SELECTED\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20ODBC\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<table\x20md-table\x20\x20md-row-select\x20multiple\x20\x20\x20ng-model=\x22vm.selectedODBC\x22\x20md-progress=\x22vm.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm.query.sort\x22\x20md-on-reorder=\x22vm.getODBC\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22id\x22>{{\x20\x27CALLYSQUARE.ID\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22name\x22>{{\x20\x27CALLYSQUARE.NAME\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22dsn\x22>{{\x20\x27CALLYSQUARE.DSN\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22description\x22>{{\x20\x27CALLYSQUARE.DESCRIPTION\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm.odbcs.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CALLYSQUARE.NO_AVAILABLE_INFO\x22>No\x20Available\x20Info</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22odbc\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22odbc\x20in\x20vm.odbcs.rows\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22odbc.userpic\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{odbc.name}}\x22\x20ng-src=\x22api/users/{{odbc.id}}/avatar\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22!odbc.userpic\x20&&\x20(vm.table\x20==\x20\x27users\x27\x20||\x20vm.table\x20==\x20\x27agents\x27)\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{odbc.name}}\x22\x20ng-src=\x22assets/images/avatars/profile.png\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.createOrEditOdbc($event,\x20odbc)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.createOrEditOdbc($event,\x20odbc)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22name\x20\x22\x20>{{odbc.name}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22description\x20\x22\x20>{{odbc.description}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20class=\x22actions\x22\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22CALLYSQUARE.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.editdialog(odbc,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Odbc\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-item\x20\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.testtestOdbc(odbc,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22CALLYSQUARE.TEST_ODBC\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Test\x20Odbc\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deleteconfirm(odbc,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22CALLYSQUARE.DELETE_ODBC\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20ODBC\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20ADD\x20ODBC\x20BUTTON\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20odbc\x22\x20translate\x20translate-attr-aria-label=\x22CALLYSQUARE.ADD_ODBC\x22>\x0a','\x20\x20\x20\x20<!--\x20/\x20ADD\x20ODBC\x20BUTTON\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22projectForm.name.$error\x22\x20ng-show=\x22projectForm.name.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-message=\x22pattern\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.NAME_MUST_VALID_PATTERN\x22\x20translate-values=\x22{\x20regex:\x20\x27/^[A-Za-z0-9\x5c.\x5c_]+$/i\x27\x20}\x22>Name\x20must\x20be\x20valid\x20pattern\x20</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22projectForm.description.$error\x22\x20ng-show=\x22projectForm.description.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20ng-model=\x22vm.newWindow\x22\x20aria-label=\x22{{\x27CALLYSQUARE.OPEN_NEW_WINDOW\x27\x20|\x20translate\x20}}\x22\x20><span\x20translate=\x22CALLYSQUARE.OPEN_NEW_WINDOW\x22></span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22!vm.newProject\x22\x20ng-click=\x22vm.saveProject()\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20ng-disabled=\x22projectForm.$invalid\x20||\x20projectForm.$pristine\x22\x20aria-label=\x22SAVE\x22\x20translate=\x22CALLYSQUARE.SAVE\x22\x20translate-attr-aria-label=\x22CALLYSQUARE.SAVE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.newProject\x22\x20ng-click=\x22vm.addNewProject()\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20ng-disabled=\x22projectForm.$invalid\x20||\x20projectForm.$pristine\x22\x20aria-label=\x22ADD\x22\x20translate=\x22CALLYSQUARE.ADD_PROJECT\x22\x20translate-attr-aria-label=\x22CALLYSQUARE.ADD_PROJECT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x20&&\x20!vm.newProject\x22\x20ng-click=\x22vm.deleteProject($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x20translate-attr-aria-label=\x22CALLYSQUARE.DELETE\x22>\x0a','<md-dialog\x20class=\x22project-dialog\x22\x20aria-label=\x22New\x20dialog\x22\x20ng-init=\x22vm.onInit()\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22dialogForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20class=\x22md-block\x22\x20ng-repeat=\x22attribute\x20in\x20vm.attributes\x22\x20ng-switch=\x22attribute.name\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CALLYSQUARE.{{attribute.name\x20|\x20uppercase}}\x22>{{attribute.name\x20\x20|\x20ucfirst\x20}}</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20\x20START\x20SELECT\x20INPUT\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22{{attribute.name}}\x22\x20ng-model=\x22attribute.value\x22\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20ng-switch-when-separator=\x22|\x22\x20ng-switch-when=\x22answer|trunk_name|trunk_id|queue_id|file_id|variable_id|google_cloud_tts_text_type|google_tts_language|ispeech_tts_language|ispeech_asr_language|google_asr_language|hiddendigitspos|odbc_id|project_id|beep|account_id|interval_id|template_id|list_id|recordingFormat|callback_priority|aws_polly_voice|aws_polly_region|aws_lex_region|sms_account_id|findBy|pause_id|aws_text_type|dialogflow_language|ndagenerate_audio|ndaactivity_type|languageCode|ssmlGender|method\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-if=\x22attribute.defaultValue\x22\x20ng-value=\x22\x27\x27\x22>\x20-\x20None\x20-\x20</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20value=\x22{{v.value}}\x22\x20ng-repeat=\x22v\x20in\x20vm.values[attribute.name]\x22\x20ng-disabled=\x22v.canSelect\x20===\x20false\x22>{{v.option}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-if=\x22!vm.values[attribute.name].length\x22\x20value=\x22-1\x22>No\x20{{attribute.name}}\x20available!</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20\x20END\x20SELECT\x20INPUT\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22{{attribute.name}}\x22\x20ng-model=\x22attribute.value\x22\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20ng-switch-when-separator=\x22|\x22\x20ng-switch-when=\x22sip_id\x22\x20ng-required=\x22attribute.required\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-optgroup\x20label=\x22{{\x27CALLYSQUARE.AGENTS\x27\x20|\x20translate}}\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20value=\x22{{v.value}}\x22\x20ng-repeat=\x22v\x20in\x20vm.values[attribute.name]\x22\x20ng-if=\x22v.group\x20===\x20\x27agent\x27\x22\x20ng-disabled=\x22v.canSelect\x20===\x20false\x22>{{v.option}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20value=\x22{{v.value}}\x22\x20ng-repeat=\x22v\x20in\x20vm.values[attribute.name]\x22\x20ng-if=\x22v.group\x20===\x20\x27telephone\x27\x22\x20ng-disabled=\x22v.canSelect\x20===\x20false\x22>{{v.option}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-optgroup\x20label=\x22{{\x27CALLYSQUARE.USERS\x27\x20|\x20translate}}\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20value=\x22{{v.value}}\x22\x20ng-repeat=\x22v\x20in\x20vm.values[attribute.name]\x22\x20ng-if=\x22v.group\x20===\x20\x27admin\x27\x20||\x20v.group\x20===\x20\x27user\x27\x22>{{v.option}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20\x20START\x20NUMBER\x20INPUT\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-switch-when=\x22timeout\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20ng-switch-when-separator=\x22|\x22\x20ng-switch-when=\x22answer|ext_dial|dial|queue\x22\x20type=\x22number\x22\x20step=\x22any\x22\x20name=\x22{{attribute.name}}\x22\x20min=\x220\x22\x20ng-model=\x22attribute.value\x22\x20ng-required=\x22attribute.required\x22\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20string-to-number>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20ng-switch-when-separator=\x22|\x22\x20ng-switch-when=\x22record|ispeechasr|googleasr\x22\x20type=\x22number\x22\x20step=\x22any\x22\x20name=\x22{{attribute.name}}\x22\x20min=\x22-1\x22\x20ng-model=\x22attribute.value\x22\x20ng-required=\x22attribute.required\x22\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20string-to-number>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20ng-switch-when-separator=\x22|\x22\x20ng-switch-when=\x22restapi\x22\x20type=\x22number\x22\x20step=\x22any\x22\x20name=\x22{{attribute.name}}\x22\x20min=\x221\x22\x20ng-model=\x22attribute.value\x22\x20ng-required=\x22attribute.required\x22\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20string-to-number>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20ng-switch-default\x20type=\x22number\x22\x20step=\x22any\x22\x20name=\x22{{attribute.name}}\x22\x20min=\x220\x22\x20ng-model=\x22attribute.value\x22\x20ng-required=\x22attribute.required\x22\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20string-to-number>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20ng-switch-when-separator=\x22|\x22\x20ng-switch-when=\x22speed\x22\x20type=\x22number\x22\x20step=\x22any\x22\x20name=\x22{{attribute.name}}\x22\x20min=\x22-10\x22\x20max=\x22-10\x22\x20ng-model=\x22attribute.value\x22\x20ng-required=\x22attribute.required\x22\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20string-to-number>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20ng-switch-when-separator=\x22|\x22\x20ng-switch-when=\x22maxdigit|mindigit|digit\x22\x20type=\x22number\x22\x20step=\x22any\x22\x20name=\x22{{attribute.name}}\x22\x20min=\x221\x22\x20ng-model=\x22attribute.value\x22\x20ng-required=\x22attribute.required\x22\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20string-to-number>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20\x20END\x20NUMBER\x20INPUT\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<textarea\x20name=\x22{{attribute.name}}\x22\x20ng-model=\x22attribute.value\x22\x20ng-switch-when-separator=\x22|\x22\x20ng-switch-when=\x22query|sms_text|condition|text|custom_action_data|headers|body|rawHeaders|rawBody\x22\x20ng-required=\x22attribute.required\x22\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22></textarea>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20\x20END\x20TEXTAREA\x20INPUT\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20START\x20URL\x20INPUT\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20ng-switch-when-separator=\x22|\x22\x20ng-switch-when=\x22ndauth_url|ndassistant_url|url\x22\x20type=\x22url\x22\x20name=\x22{{attribute.name}}\x22\x20ng-model=\x22attribute.value\x22\x20ng-required=\x22attribute.required\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20END\x20URL\x20INPUT\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20\x20START\x20TEXT\x20INPUT\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20ng-switch-default\x20name=\x22{{attribute.name}}\x22\x20ng-model=\x22attribute.value\x22\x20ng-required=\x22attribute.required\x22\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x27hint\x27\x20ng-if=\x22attribute.name\x20===\x20\x27text\x27\x20&&\x20vm.cellName\x20===\x20\x27tts\x27\x20\x22>\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CALLYSQUARE.HELP.{{attribute.name\x20|\x20uppercase}}\x22></span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22dialogForm[attribute.name].$error\x22\x20ng-show=\x22dialogForm[attribute.name].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-dialog-actions\x20layout=\x22row\x22\x20layout-align=\x22space-between\x20center\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-click=\x22vm.closeDialog(true)\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20ng-disabled=\x22dialogForm.$invalid\x20||\x20dialogForm.$pristine\x22\x20aria-label=\x22SAVE\x22\x20translate=\x22CALLYSQUARE.SAVE\x22\x20translate-attr-aria-label=\x22CALLYSQUARE.SAVE\x22>\x0a','<md-dialog\x20class=\x22project-dialog\x22\x20aria-label=\x22New\x20dialog\x22>\x0a','\x20\x20<form\x20name=\x22editForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20<md-toolbar\x20class=\x22md-accent\x20md-hue-2\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22title\x22><span\x20translate=\x22CALLYSQUARE.EDIT_XML\x22></span></span></span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-close\x22\x20aria-label=\x22Close\x20dialog\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22message\x22>{{error.message}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22type\x22>({{error.type}})</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-alert-box\x22\x20aria-label=\x22alert\x20error\x22\x20class=\x22s16\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-button>\x0a','\x20\x20\x20\x20\x20\x20<md-input-container\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<label>XML</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<textarea\x20name=\x22preproduction\x22\x20ng-model=\x22vm.project.preproduction\x22></textarea>\x0a','\x20\x20\x20\x20\x20\x20</md-input-container>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-repeat=\x22error\x20in\x20vm.errors\x22\x20class=\x22error\x22\x20layout=\x22row\x22\x20layout-align=\x22space-between\x20center\x22>\x0a','\x20\x20\x20\x20</md-dialog-content>\x0a','\x20\x20\x20\x20<md-dialog-actions\x20layout=\x22row\x22\x20layout-align=\x22space-between\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a','\x20\x20\x20\x20</md-dialog-actions>\x0a','\x20\x20</form>\x0a','\x20\x20\x20\x20\x20\x20<div\x20class=\x22md-toolbar-tools\x22\x20layout=\x22row\x22\x20layout-align=\x22space-between\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22title\x22><span\x20translate=\x22CALLYSQUARE.IMPORT_XML\x22></span></span></span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm.closeDialog()\x22>\x0a','\x20\x20\x20\x20<md-dialog-content\x20ms-scroll>\x0a','\x20\x20\x20\x20\x20\x20<div\x20class=\x22error-list\x22>\x0a','\x20\x20\x20\x20\x20\x20<div\x20id=\x22xml-uploader\x22\x20flow-init=\x22vm.ngFlowOptions\x22\x20flow-name=\x22vm.ngFlow.flow\x22\x20flow-file-added=\x22vm.fileAdded($file)\x22\x0a','\x20\x20\x20\x20\x20\x20flow-drop\x20flow-drag-enter=\x22vm.dropping=true\x22\x20flow-drag-leave=\x22vm.dropping=false\x22\x20ng-class=\x22{\x27dropping\x27:vm.dropping}\x22>\x0a','\x20\x20\x20\x20\x20\x20<div\x20class=\x22drop-text\x20hint-text\x22\x20layout=\x22row\x22\x20layout-align=\x22center\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CALLYSQUARE.DROP_TO_UPLOAD\x22>Drop\x20to\x20upload</span>\x0a','\x20\x20\x20\x20\x20\x20<div\x20class=\x22upload-button\x22\x20layout=\x22column\x22\x20layout-align=\x22center\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-accent\x20md-raised\x22\x20flow-btn>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Upload\x0a','\x20\x20\x20\x20<div\x20class=\x22error-list\x22>\x0a','\x20\x20\x20\x20\x20\x20<div\x20ng-repeat=\x22error\x20in\x20vm.errors\x22\x20class=\x22error\x22\x20layout=\x22row\x22\x20layout-align=\x22space-between\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22message\x22>{{error.message}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-alert-box\x22\x20aria-label=\x22alert\x20error\x22\x20class=\x22s16\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20<div\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CLOSE\x0a','\x20\x20<form\x20name=\x22descriptionFrom\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<input\x20name=\x22description\x22\x20ng-model=\x22vm.project.description\x22\x20md-autofocus>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CALLYSQUARE.NOTES\x22>Description</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<textarea\x20name=\x22notes\x22\x20ng-model=\x22vm.project.notes\x22></textarea>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-click=\x22vm.save()\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20ng-disabled=\x22descriptionFrom.$invalid\x22\x20aria-label=\x22SAVE\x22\x20translate=\x22CALLYSQUARE.UPDATE_INFO\x22\x20translate-attr-aria-label=\x22CALLYSQUARE.UPDATE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20UPDATE\x0a','\x20\x20<form\x20name=\x22openForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22title\x22><span\x20translate=\x22CALLYSQUARE.OPEN_PROJECT\x22></span></span></span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22id\x22\x20ng-model=\x22vm.id\x22\x20required>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CALLYSQUARE.ERRORS.PROJECT_REQUIRED\x22>Name\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20ng-model=\x22vm.newWindow\x22\x20aria-label=\x22{{\x27CALLYSQUARE.OPEN_NEW_WINDOW\x27\x20|\x20translate\x20}}\x22\x20><span\x20translate=\x22CALLYSQUARE.OPEN_NEW_WINDOW\x22></span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OPEN\x0a','app/main/apps/callysquare/views/projects/edit/permissionadd/permissionadd.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22md-toolbar-tools\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20flex></span>\x0a','\x20\x20<form\x20name=\x22newForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22title\x22><span\x20translate=\x22CALLYSQUARE.COPY_PROJECT\x22></span></span></span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CALLYSQUARE.NAME\x22>Name</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<input\x20name=\x22name\x22\x20ng-model=\x22vm.project.name\x22\x20required\x20md-autofocus>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22newForm.name.$error\x22\x20ng-show=\x22newForm.name.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-message=\x22required\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CALLYSQUARE.ERRORS.NAME_REQUIRED\x22>Name\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20COPY\x0a','<div\x20id=\x22callysquare-project\x22\x20class=\x22page-layout\x20simple\x20tabbed\x22\x20layout=\x22column\x22\x20ng-init=\x22vm.onInit()\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22white-fg\x22\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22\x20flex>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<img\x20ng-src=\x22assets/images/business/cprojects.jpg\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.project.id}}\x20{{vm.project.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22subtitle\x20secondary-text\x20text-truncate\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22vm.project.description\x22>{{vm.project.description}}\x20\x20-\x20</span><span\x20translate=\x22CALLYSQUARE.CREATED_AT\x22></span>\x20<span>{{vm.project.createdAt\x20|\x20date:\x27medium\x27}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-cloak>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22vm.crudPermissions.canEdit\x22\x20ng-click=\x22vm.updateInfo($event)\x22\x20class=\x22md-fab\x20md-yellow-700-bg\x20md-icon-button\x22\x20aria-label=\x22edit\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-tooltip-edit\x22></md-icon>\x0a','\x20\x20\x20\x20<md-content\x20class=\x22callysquare-content\x22>\x0a','\x20\x20\x20\x20\x20\x20<div\x20id=\x22geEditor\x22\x20class=\x22geEditor\x22></div>\x0a','\x20\x20\x20\x20</md-content>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-vector-square\x22\x20class=\x22s24\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22logo-text\x22\x20translate=\x22CALLYSQUARE.PROJECTS\x22>Projects</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20SEARCH\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22search-input-wrapper\x22\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20for=\x22search\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-magnify\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20id=\x22search\x22\x20placeholder=\x22Search\x20for\x20anyone\x22\x20type=\x22text\x22\x20ng-model=\x22vm.query.filter\x22\x20ng-model-options=\x22{\x20debounce:\x201000\x20}\x22\x20translate\x20translate-attr-placeholder=\x22CALLYSQUARE.SEARCH_FOR_ANYONE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20SEARCH\x20-->\x0a','\x20\x20\x20\x20<div\x20ng-show=\x22vm.selectedProjects.length\x20>\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CALLYSQUARE.BACK\x22>Back</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>{{vm.selectedProjects.length}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CALLYSQUARE.SELECTED\x22>selected</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-click=\x22$mdOpenMenu($event)\x22\x20aria-label=\x22multi\x20select\x20toggle\x22\x20translate\x20translate-attr-aria-label=\x22CALLYSQUARE.MULTI_SELECT_TOGGLE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.selectAllProjects()\x22\x20translate=\x22CALLYSQUARE.SELECT_ALL\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deselectProjects()\x22\x20translate=\x22CALLYSQUARE.SELECT_NONE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-icon-button\x22\x20ng-csv=\x22vm.exportSelectedProjects\x22\x20csv-label=\x22true\x22\x20filename=\x22projects.csv\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20PROJECT\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-table-container>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<table\x20md-table\x20md-row-select\x20multiple\x20ng-model=\x22vm.selectedProjects\x22\x20md-progress=\x22vm.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20ng-if=\x22vm.table\x20==\x20\x27users\x27\x20||\x20vm.table\x20==\x20\x27agents\x27\x22\x20width=\x2220px\x22></th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22name\x22>{{\x20\x27CALLYSQUARE.NAME\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22description\x22>{{\x20\x27CALLYSQUARE.DESCRIPTION\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22notes\x22>{{\x20\x27CALLYSQUARE.NOTES\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20width=\x2210px\x22></th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm.projects.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CALLYSQUARE.NO_AVAILABLE_INFO\x22>No\x20Available\x20Info</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22project\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22project\x20in\x20vm.projects.rows\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22project.userpic\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{project.name}}\x22\x20ng-src=\x22api/users/{{project.id}}/avatar\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22!project.userpic\x20&&\x20(vm.table\x20==\x20\x27users\x27\x20||\x20vm.table\x20==\x20\x27agents\x27)\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{project.name}}\x22\x20ng-src=\x22assets/images/avatars/profile.png\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(project,\x20ev)\x20:\x20vm.createOrEditProject($event,\x20project)\x22\x20md-cell\x20class=\x22id\x20\x22>{{project.id}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(project,\x20ev)\x20:\x20vm.createOrEditProject($event,\x20project)\x22\x20md-cell\x20class=\x22name\x20\x22>{{project.name}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(project,\x20ev)\x20:\x20vm.createOrEditProject($event,\x20project)\x22\x20md-cell\x20class=\x22description\x20\x22>{{project.description}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(project,\x20ev)\x20:\x20vm.createOrEditProject($event,\x20project)\x22\x20md-cell\x20class=\x22notes\x20\x22>{{project.notes}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20class=\x22actions\x22\x20ng-if=\x22!vm.crudPermissions.readOnly\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-button>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-item\x20ng-if=\x22vm.crudPermissions.canEdit\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.editstate(project,\x20ev)\x22\x20translate=\x22CALLYSQUARE.EDIT_PROJECT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Project\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-menu-item>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-item\x20ng-if=\x22vm.crudPermissions.canDelete\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-button>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-menu-content>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27CALLYSQUARE.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27CALLYSQUARE.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27CALLYSQUARE.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm.query.page\x22\x20md-total=\x22{{vm.projects.count}}\x22\x20md-on-paginate=\x22vm.getProjects\x22\x20md-page-select></md-table-pagination>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20PROJECT\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20NO\x20RESULTS\x20-->\x0a','\x20\x20\x20\x20<!--\x20ADD\x20PROJECT\x20BUTTON\x20-->\x0a','\x20\x20\x20\x20<md-button\x20class=\x22md-fab\x20md-accent\x20md-icon-button\x22\x20id=\x22add-project-button\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x22\x20ng-click=\x22vm.createOrEditProject($event)\x22\x20aria-label=\x22add\x20project\x22\x20translate\x20translate-attr-aria-label=\x22CALLYSQUARE.ADD_PROJECT\x22>\x0a','\x20\x20\x20\x20<!--\x20/\x20ADD\x20PROJECT\x20BUTTON\x20-->\x0a','\x20\x20\x20\x20<form\x20name=\x22squareRecordingForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22\x22\x20name=\x22filename\x22\x20\x20ng-model=\x22vm.squareRecording.filename\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CALLYSQUARE.ERRORS.FILENAME_REQUIRED\x22>Filename\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20!vm.newSquareRecording\x22\x20ng-click=\x22vm.saveSquareRecording()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.newSquareRecording\x22\x20ng-click=\x22vm.addNewSquareRecording()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22squareRecordingForm.$invalid\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22CALLYSQUARE.ADD_SQUARERECORDING\x22\x20translate-attr-aria-label=\x22CALLYSQUARE.ADD_SQUARERECORDING\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20SQUARERECORDING\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x20&&\x20!vm.newSquareRecording\x22\x20ng-click=\x22vm.deleteSquareRecording($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x0a','<div\x20id=\x22squareRecordings\x22\x20class=\x22page-layout\x20simple\x20left-sidenav\x20inner-sidenav\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22logo-text\x22\x20translate=\x22CALLYSQUARE.SQUARERECORDINGS\x22>SquareRecordings</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20id=\x22search\x22\x20placeholder=\x22Search\x20for\x20anyone\x22\x20type=\x22text\x22\x20ng-model=\x22vm.query.filter\x22\x20ng-model-options=\x22{\x20debounce:\x201000\x20}\x22\x20translate\x20translate-attr-placeholder=\x22CALLYSQUARE.SEARCH_FOR_ANYONE\x22>\x0a','\x20\x20\x20\x20<div\x20ng-show=\x22vm.selectedSquareRecordings.length\x20>\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22close-button-wrapper\x22\x20ng-click=\x22vm.selectedSquareRecordings\x20=[]\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22selected-squareRecordings-count\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>{{vm.selectedSquareRecordings.length}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CALLYSQUARE.SELECTED\x22>selected</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.selectAllSquareRecordings()\x22\x20translate=\x22CALLYSQUARE.SELECT_ALL\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deselectSquareRecordings()\x22\x20translate=\x22CALLYSQUARE.SELECT_NONE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x22\x20ng-click=\x22vm.deleteSelectedSquareRecordings($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20SQUARERECORDING\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<table\x20md-table\x20\x20md-row-select\x20multiple\x20\x20\x20ng-model=\x22vm.selectedSquareRecordings\x22\x20md-progress=\x22vm.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm.query.sort\x22\x20md-on-reorder=\x22vm.getSquareRecordings\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22filename\x22>{{\x20\x27CALLYSQUARE.FILENAME\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22projectName\x22>{{\x20\x27CALLYSQUARE.PROJECT\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22uniqueid\x22>{{\x20\x27CALLYSQUARE.UNIQUEID\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22extension\x22>{{\x20\x27CALLYSQUARE.EXTEN\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22audio\x22>{{\x20\x27CALLYSQUARE.AUDIO\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</thead>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm.squareRecordings.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20colspan=\x228\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22squareRecording\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22squareRecording\x20in\x20vm.squareRecordings.rows\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22squareRecording.userpic\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{squareRecording.name}}\x22\x20ng-src=\x22api/users/{{squareRecording.id}}/avatar\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22!squareRecording.userpic\x20&&\x20(vm.table\x20==\x20\x27users\x27\x20||\x20vm.table\x20==\x20\x27agents\x27)\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{squareRecording.name}}\x22\x20ng-src=\x22assets/images/avatars/profile.png\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.createOrEditSquareRecording($event,\x20squareRecording)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22filename\x20\x22\x20>{{squareRecording.filename}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.createOrEditSquareRecording($event,\x20squareRecording)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22projectName\x20\x22\x20>{{squareRecording.projectName}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22uniqueid\x20\x22\x20>{{squareRecording.uniqueid}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22extension\x20\x22\x20>{{squareRecording.extension}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20class=\x22audio\x20\x22\x20ng-switch=\x22squareRecording.format\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20audio\x20recording\x20directive\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20audio\x20recording\x20directive\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-switch-when=\x22.gsm|.WAV\x22\x20ng-switch-when-separator=\x22|\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<em>{{\x20\x27VOICE.CANT_PLAY_GSM_AUDIO_FILES\x27\x20|\x20translate\x20}}</em>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.createOrEditSquareRecording($event,\x20squareRecording)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22createdAt\x20\x22>{{squareRecording.createdAt\x20|\x20date:\x27medium\x27\x20}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.downloadfile2(squareRecording,\x20$event\x20\x20,\x20\x27square/recordings\x27\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22CALLYSQUARE.DOWNLOAD_SQUARERECORDING\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Download\x20SquareRecording\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deleteconfirm(squareRecording,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22CALLYSQUARE.DELETE_SQUARERECORDING\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20SquareRecording\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27CALLYSQUARE.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27CALLYSQUARE.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27CALLYSQUARE.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm.query.page\x22\x20md-total=\x22{{vm.squareRecordings.count}}\x22\x20md-on-paginate=\x22vm.getSquareRecordings\x22\x20md-page-select></md-table-pagination>\x0a','<div\x20id=\x22chatQueues\x22\x20class=\x22page-layout\x20simple\x20left-sidenav\x20inner-sidenav\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-hangouts\x22\x20class=\x22s24\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22logo-text\x22\x20translate=\x22CHAT.CHATQUEUES\x22>ChatQueues</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20id=\x22search\x22\x20placeholder=\x22Search\x20for\x20anyone\x22\x20type=\x22text\x22\x20ng-model=\x22vm.query.filter\x22\x20ng-model-options=\x22{\x20debounce:\x201000\x20}\x22\x20translate\x20translate-attr-placeholder=\x22CHAT.SEARCH_FOR_ANYONE\x22>\x0a','\x20\x20\x20\x20<div\x20ng-show=\x22vm.selectedChatQueues.length\x20>\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22close-button-wrapper\x22\x20ng-click=\x22vm.selectedChatQueues\x20=[]\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.BACK\x22>Back</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>{{vm.selectedChatQueues.length}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.SELECTED\x22>selected</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22CHAT.MULTI_SELECT_TOGGLE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.selectAllChatQueues()\x22\x20translate=\x22CHAT.SELECT_ALL\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-icon-button\x22\x20ng-csv=\x22vm.exportSelectedChatQueues\x22\x20csv-label=\x22true\x22\x20filename=\x22chatQueues.csv\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x22\x20ng-click=\x22vm.deleteSelectedChatQueues($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22CHAT.DELETE_SELECTED\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20CHATQUEUE\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<table\x20md-table\x20\x20md-row-select\x20multiple\x20\x20\x20ng-model=\x22vm.selectedChatQueues\x22\x20md-progress=\x22vm.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm.query.sort\x22\x20md-on-reorder=\x22vm.getChatQueues\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22id\x22>{{\x20\x27CHAT.ID\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22strategy\x22>{{\x20\x27CHAT.STRATEGY\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm.chatQueues.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.NO_AVAILABLE_INFO\x22>No\x20Available\x20Info</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22!chatQueue.userpic\x20&&\x20(vm.table\x20==\x20\x27users\x27\x20||\x20vm.table\x20==\x20\x27agents\x27)\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{chatQueue.name}}\x22\x20ng-src=\x22assets/images/avatars/profile.png\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(chatQueue,\x20ev)\x20:\x20vm.createOrEditChatQueue($event,\x20chatQueue)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22id\x20\x22\x20>{{chatQueue.id}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(chatQueue,\x20ev)\x20:\x20vm.createOrEditChatQueue($event,\x20chatQueue)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22name\x20\x22\x20>{{chatQueue.name}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(chatQueue,\x20ev)\x20:\x20vm.createOrEditChatQueue($event,\x20chatQueue)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22strategy\x20\x22>{{\x20vm.arraystrategy[chatQueue.strategy].option\x20}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.editstate(chatQueue,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22CHAT.EDIT_CHATQUEUE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.teamadddialog(chatQueue,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20teamadd\x20ChatQueue\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.agentadddialog(chatQueue,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22CHAT.DELETE_CHATQUEUE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20ChatQueue\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22CHAT.GOTOREALTIME_CHATQUEUE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27CHAT.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27CHAT.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27CHAT.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm.query.page\x22\x20md-total=\x22{{vm.chatQueues.count}}\x22\x20md-on-paginate=\x22vm.getChatQueues\x22\x20md-page-select></md-table-pagination>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20CHATQUEUE\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20ADD\x20CHATQUEUE\x20BUTTON\x20-->\x0a','\x20\x20\x20\x20<md-button\x20ng-if=\x22vm.crudPermissions.canEdit\x22\x20class=\x22md-fab\x20md-accent\x22\x20id=\x22add-chatQueue-button\x22\x20ng-click=\x22vm.createOrEditChatQueue($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20chatQueue\x22\x20translate\x20translate-attr-aria-label=\x22CHAT.ADD_CHATQUEUE\x22>\x0a','\x20\x20\x20\x20<!--\x20/\x20ADD\x20CHATQUEUE\x20BUTTON\x20-->\x0a','<md-dialog\x20class=\x22chatQueue-dialog\x22\x20aria-label=\x22New\x20ChatQueue\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22chatQueueForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CHAT.NAME\x22>Name</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22name\x22\x20\x20ng-model=\x22vm.chatQueue.name\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.newChatQueue\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22CHAT.HELP.NAME\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22chatQueueForm[\x27name\x27].$error\x22\x20ng-show=\x22chatQueueForm[\x27name\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.NAME_REQUIRED\x22>Name\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-message=\x22pattern\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.NAME_MUST_VALID_PATTERN\x22\x20translate-values=\x22{\x20regex:\x20\x27/^[A-Za-z0-9\x5c.\x5c_]+$/i\x27\x20}\x22>Name\x20must\x20be\x20valid\x20pattern\x20</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CHAT.STRATEGY\x22>Strategy</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22strategy\x22\x20ng-model=\x22vm.chatQueue.strategy\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27beepall\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Beepall</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27rrmemory\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>RR\x20Memory</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22chatQueueForm[\x27strategy\x27].$error\x22\x20ng-show=\x22chatQueueForm[\x27strategy\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22timeout\x22\x20\x20ng-model=\x22vm.chatQueue.timeout\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x221\x22\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20max=\x222147483\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22chatQueueForm[\x27timeout\x27].$error\x22\x20ng-show=\x22chatQueueForm[\x27timeout\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.AGENT_TIMEOUT_REQUIRED\x22>Agent_Timeout\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.AGENT_TIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>Agent_Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>1</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-message=\x22max\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.AGENT_TIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO\x22>Agent_Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>2147483</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CHAT.DESCRIPTION\x22>Description</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22description\x22\x20\x20ng-model=\x22vm.chatQueue.description\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22chatQueueForm[\x27description\x27].$error\x22\x20ng-show=\x22chatQueueForm[\x27description\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22CHAT.SAVE\x22\x20translate-attr-aria-label=\x22CHAT.SAVE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.newChatQueue\x22\x20ng-click=\x22vm.addNewChatQueue()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20CHATQUEUE\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22CHAT.DELETE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip><span\x20translate=\x22CHAT.DELETE\x22>DELETE</span></md-tooltip>\x0a','\x20\x20\x20\x20<form\x20name=\x22chatQueueForm\x22\x20ng-cloak>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-toolbar>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h2\x20translate=\x22CHAT.AGENTADD_CHATQUEUE\x22>Add\x20Agent\x20to\x20chatQueue</h2>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<ms-dual-multiselect\x20options=\x22vm.dualMultiselectOptions\x22></ms-dual-multiselect>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span></span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20layout-align=\x22end\x20center\x22\x20type=\x22submit\x22\x20ng-click=\x22vm.saveAgents()\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20ng-disabled=\x22!vm.pendingChanges\x22\x20aria-label=\x22SAVE\x22\x20translate=\x22STAFF.SAVE\x22\x20translate-attr-aria-label=\x22STAFF.SAVE\x22>\x0a','<md-dialog\x20class=\x22chatQueue-dialog\x22\x20aria-label=\x22chatQueue\x22\x20ng-init=\x22vm.onInit()\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h2\x20translate=\x22CHAT.TEAMS_ASSOCIATION\x22>Teams\x20Association</h2>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-dialog-actions\x20layout=\x22row\x22\x20layout-align=\x22end\x20center\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20layout-align=\x22end\x20center\x22\x20type=\x22submit\x22\x20ng-click=\x22vm.saveTeams()\x22\x20ng-disabled=\x22!vm.pendingChanges\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20aria-label=\x22SAVE\x22\x20translate=\x22STAFF.SAVE\x22\x20translate-attr-aria-label=\x22STAFF.SAVE\x22>\x0a','app/main/apps/chat/views/chatQueues/edit/view.html','<div\x20id=\x22chat-chatQueue\x22\x20class=\x22page-layout\x20simple\x20tabbed\x22\x20layout=\x22column\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22goto-chatQueues-button\x20md-icon-button\x22\x20aria-label=\x22Go\x20to\x20chatQueues\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.gotoChatQueues()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22CHAT.GO_TO_CHATQUEUES\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22chatQueue-image\x22\x20hide-xs>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<img\x20ng-src=\x22assets/images/business/chatQueues.jpg\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.chatQueue.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22vm.chatQueue.name\x22>{{vm.chatQueue.name}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-cloak\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.teamadddialog(vm.chatQueue,\x20$event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22md-fab\x20md-orange-500-bg\x20md-icon-button\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip><span\x20translate=\x22CHAT.TEAMADD_CHATQUEUE\x22></span></md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-account-multiple-plus\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22md-fab\x20md-purple-500-bg\x20md-icon-button\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22agentadd\x22\x20\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip><span\x20translate=\x22CHAT.AGENTADD_CHATQUEUE\x22></span></md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-account-plus\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-click=\x22vm.saveChatQueue()\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20ng-disabled=\x22(generalForm.$invalid)\x22\x20translate=\x22CHAT.SAVE\x22\x20translate-attr-aria-label=\x22CHAT.SAVE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a','\x20\x20\x20\x20<div\x20class=\x22content\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tab-label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.SETTINGS\x22>SETTINGS</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-tab-label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tab-body>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22chatQueue-detail-form-container\x20general\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22pb-16\x22\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22CHAT.GENERAL\x22>GENERAL</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<form\x20name=\x22generalForm\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-pattern=\x22/^[A-Za-z0-9\x5c.\x5c_]+$/i\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20disabled\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27name\x27].$error\x22\x20ng-show=\x22generalForm[\x27name\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27strategy\x27].$error\x22\x20ng-show=\x22generalForm[\x27strategy\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.STRATEGY_REQUIRED\x22>Strategy\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CHAT.AGENT_TIMEOUT\x22>Agent_Timeout</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-message=\x22min\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27description\x27].$error\x22\x20ng-show=\x22generalForm[\x27description\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.DESCRIPTION_REQUIRED\x22>Description\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-tab>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-tabs>\x0a','app/main/apps/chat/views/chatWebsites/chatWebsites.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22logo-text\x22\x20translate=\x22CHAT.CHATWEBSITES\x22>ChatWebsites</span>\x0a','\x20\x20\x20\x20<div\x20ng-show=\x22vm.selectedChatWebsites.length\x20>\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22close-button-wrapper\x22\x20ng-click=\x22vm.selectedChatWebsites\x20=[]\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22selected-chatWebsites-count\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>{{vm.selectedChatWebsites.length}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.selectAllChatWebsites()\x22\x20translate=\x22CHAT.SELECT_ALL\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-icon-button\x22\x20ng-csv=\x22vm.exportSelectedChatWebsites\x22\x20csv-label=\x22true\x22\x20filename=\x22chatWebsites.csv\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x22\x20ng-click=\x22vm.deleteSelectedChatWebsites($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20CHATWEBSITE\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm.query.sort\x22\x20md-on-reorder=\x22vm.getChatWebsites\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22name\x22>{{\x20\x27CHAT.NAME\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22key\x22>{{\x20\x27CHAT.KEY\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22address\x22>{{\x20\x27CHAT.MOTIONADDRESS\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22description\x22>{{\x20\x27CHAT.DESCRIPTION\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20colspan=\x227\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22chatWebsite.userpic\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{chatWebsite.name}}\x22\x20ng-src=\x22api/users/{{chatWebsite.id}}/avatar\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22!chatWebsite.userpic\x20&&\x20(vm.table\x20==\x20\x27users\x27\x20||\x20vm.table\x20==\x20\x27agents\x27)\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{chatWebsite.name}}\x22\x20ng-src=\x22assets/images/avatars/profile.png\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(chatWebsite,\x20ev)\x20:\x20vm.createOrEditChatWebsite($event,\x20chatWebsite)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22name\x20\x22\x20>{{chatWebsite.name}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(chatWebsite,\x20ev)\x20:\x20vm.createOrEditChatWebsite($event,\x20chatWebsite)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22address\x20\x22\x20>{{chatWebsite.address}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22remote\x20\x22\x20>{{chatWebsite.remote}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22CHAT.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.editstate(chatWebsite,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22CHAT.EDIT_CHATWEBSITE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20ChatWebsite\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.interactionsgoto(chatWebsite,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22CHAT.INTERACTIONS_CHATWEBSITE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.offlinemessagesgoto(chatWebsite,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22CHAT.OFFLINEMESSAGES_CHATWEBSITE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OfflineMessages\x20ChatWebsite\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.agentadddialog(chatWebsite,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AgentAdd\x20ChatWebsite\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27CHAT.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27CHAT.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27CHAT.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm.query.page\x22\x20md-total=\x22{{vm.chatWebsites.count}}\x22\x20md-on-paginate=\x22vm.getChatWebsites\x22\x20md-page-select></md-table-pagination>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20CHATWEBSITE\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20ADD\x20CHATWEBSITE\x20BUTTON\x20-->\x0a','\x20\x20\x20\x20<md-button\x20ng-if=\x22vm.crudPermissions.canEdit\x22\x20class=\x22md-fab\x20md-accent\x22\x20id=\x22add-chatWebsite-button\x22\x20ng-click=\x22vm.createOrEditChatWebsite($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20chatWebsite\x22\x20translate\x20translate-attr-aria-label=\x22CHAT.ADD_CHATWEBSITE\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22chatWebsiteForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22name\x22\x20\x20ng-model=\x22vm.chatWebsite.name\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.newChatWebsite\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22chatWebsiteForm[\x27name\x27].$error\x22\x20ng-show=\x22chatWebsiteForm[\x27name\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22key\x22\x20\x20ng-model=\x22vm.chatWebsite.key\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-maxlength=\x225\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22chatWebsiteForm[\x27key\x27].$error\x22\x20ng-show=\x22chatWebsiteForm[\x27key\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.KEY_REQUIRED\x22>key\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CHAT.MOTIONADDRESS\x22>MotionAddress</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22url\x22\x20name=\x22address\x22\x20\x20ng-model=\x22vm.chatWebsite.address\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-maxlength=\x22255\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22chatWebsiteForm[\x27address\x27].$error\x22\x20ng-show=\x22chatWebsiteForm[\x27address\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-message=\x22url\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.MOTIONADDRESS_MUST_VALID_URL\x22>MotionAddress\x20must\x20be\x20a\x20valid\x20url\x20http://www.xcally.com</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-message=\x22md-maxlength\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.MOTIONADDRESS_MAX_LENGTH\x22\x20translate-values=\x27{max:\x20255}\x27>MotionAddress\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CHAT.MOTIONPROXY\x22>MotionProxy</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22url\x22\x20name=\x22remote\x22\x20\x20ng-model=\x22vm.chatWebsite.remote\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22CHAT.HELP.MOTIONPROXY\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.MOTIONPROXY_MUST_VALID_URL\x22>MotionProxy\x20must\x20be\x20a\x20valid\x20url\x20http://www.xcally.com</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CHAT.LIST\x22>List</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22ListId\x22\x20ng-model=\x22vm.chatWebsite.ListId\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22ListId.id\x22\x20ng-repeat=\x22ListId\x20in\x20vm.lists\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22ListId.canSelect\x20===\x20false\x22>{{\x20ListId.name\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.LIST_REQUIRED\x22>List\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CHAT.INTERVAL\x22>Interval</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22IntervalId\x22\x20ng-model=\x22vm.chatWebsite.IntervalId\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22IntervalId.canSelect\x20===\x20false\x22>{{\x20IntervalId.name\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.INTERVAL_REQUIRED\x22>Interval\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22description\x22\x20\x20ng-model=\x22vm.chatWebsite.description\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22chatWebsiteForm[\x27description\x27].$error\x22\x20ng-show=\x22chatWebsiteForm[\x27description\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22chatWebsiteForm.$invalid\x20||\x20chatWebsiteForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.newChatWebsite\x22\x20ng-click=\x22vm.addNewChatWebsite()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22CHAT.ADD_CHATWEBSITE\x22\x20translate-attr-aria-label=\x22CHAT.ADD_CHATWEBSITE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20CHATWEBSITE\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x20&&\x20!vm.newChatWebsite\x22\x20ng-click=\x22vm.deleteChatWebsite($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h2\x20translate=\x22CHAT.AGENTADD_CHATWEBSITE\x22>Add\x20Agent\x20to\x20chatWebsite</h2>\x0a','app/main/apps/chat/views/chatWebsites/edit/apps/agent/dialog.html','<md-dialog\x20class=\x22chatWebsite-dialog\x22\x20aria-label=\x22New\x20ChatWebsite\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22chatWebsiteFormApp\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22agent\x22\x20ng-model=\x22vm.agent.agent\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22agent.name\x22\x20ng-repeat=\x22agent\x20in\x20vm.agents\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22chatWebsiteFormApp[\x27agent\x27].$error\x22\x20ng-show=\x22chatWebsiteFormApp[\x27agent\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.AGENT_REQUIRED\x22>Agent\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CHAT.TIMEOUT\x22>Timeout</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22timeout\x22\x20\x20ng-model=\x22vm.agent.timeout\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x220\x22\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22chatWebsiteFormApp[\x27timeout\x27].$error\x22\x20ng-show=\x22chatWebsiteFormApp[\x27timeout\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.TIMEOUT_REQUIRED\x22>Timeout\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.TIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>0</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.TIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO\x22>Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>2147483</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-click=\x22vm.saveChatWebsiteApp()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22chatWebsiteFormApp.$invalid\x20||\x20chatWebsiteFormApp.$pristine\x22\x0a','app/main/apps/chat/views/chatWebsites/edit/apps/amazonlex/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22chatWebsiteFormApp[\x27accesskeyid\x27].$error\x22\x20ng-show=\x22chatWebsiteFormApp[\x27accesskeyid\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.ACCESSKEYID_REQUIRED\x22>accesskeyid\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22secretaccesskey\x22\x20\x20ng-model=\x22vm.amazonlex.secretaccesskey\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22chatWebsiteFormApp[\x27secretaccesskey\x27].$error\x22\x20ng-show=\x22chatWebsiteFormApp[\x27secretaccesskey\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.SECRETACCESSKEY_REQUIRED\x22>secretaccesskey\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CHAT.LEXREGION\x22>lexregion</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22lexregion\x22\x20ng-model=\x22vm.amazonlex.lexregion\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27us-east-1\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>US\x20East\x20(N.\x20Virginia)</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27us-west-2\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27eu-west-1\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>EU\x20(Ireland)</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Asia\x20Pacific\x20(Sydney)</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22chatWebsiteFormApp[\x27lexregion\x27].$error\x22\x20ng-show=\x22chatWebsiteFormApp[\x27lexregion\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.LEXREGION_REQUIRED\x22>lexregion\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CHAT.BOTNAME\x22>botname</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22botname\x22\x20\x20ng-model=\x22vm.amazonlex.botname\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22chatWebsiteFormApp[\x27botname\x27].$error\x22\x20ng-show=\x22chatWebsiteFormApp[\x27botname\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.BOTNAME_REQUIRED\x22>botname\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<textarea\x20name=\x22welcomemessage\x22\x20ng-model=\x22vm.amazonlex.welcomemessage\x22\x20\x20md-maxlength=\x22255\x22\x20\x20></textarea>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22CHAT.HELP.WELCOMEMESSAGE\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-message=\x22md-maxlength\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.WELCOMEMESSAGE_MAX_LENGTH\x22\x20translate-values=\x27{max:\x20255}\x27>welcomemessage\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255</span>\x0a','app/main/apps/chat/views/chatWebsites/edit/apps/autoreply/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CHAT.TIMES\x22>times</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22times\x22\x20ng-model=\x22vm.autoreply.times\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>One\x20Time</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x220\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Always</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22chatWebsiteFormApp[\x27times\x27].$error\x22\x20ng-show=\x22chatWebsiteFormApp[\x27times\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.TIMES_REQUIRED\x22>times\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<textarea\x20name=\x22text\x22\x20ng-model=\x22vm.autoreply.text\x22\x20\x20required\x20\x20></textarea>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22chatWebsiteFormApp[\x27text\x27].$error\x22\x20ng-show=\x22chatWebsiteFormApp[\x27text\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CHAT.DISPOSITION\x22>Disposition</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22disposition\x22\x20\x20ng-model=\x22vm.close.disposition\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.DISPOSITION_REQUIRED\x22>Disposition\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CHAT.KEY\x22>Key</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22key\x22\x20\x20ng-model=\x22vm.dialogflow.key\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.KEY_REQUIRED\x22>Key\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CHAT.LANGUAGE\x22>language</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22language\x22\x20ng-model=\x22vm.dialogflow.language\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27da\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Danish</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>English</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27de\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>German</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Italian</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27es\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Spanish</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27fr\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27id\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27ja\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27ko\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Korean\x20(South\x20Korea)</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27nl\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Dutch</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27no\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Norwegian</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27pt\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Portuguese\x20(European)</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Portuguese\x20(Nrazilian)</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27ru\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27sv\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Swedish</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27th\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Thai</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27uk\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27zh-CN\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27zh-HK\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Chinese\x20(Traditional)</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22chatWebsiteFormApp[\x27language\x27].$error\x22\x20ng-show=\x22chatWebsiteFormApp[\x27language\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.LANGUAGE_REQUIRED\x22>language\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CHAT.WELCOMEMESSAGE\x22>welcomemessage</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22chatWebsiteFormApp[\x27welcomemessage\x27].$error\x22\x20ng-show=\x22chatWebsiteFormApp[\x27welcomemessage\x27].$touched\x22\x20role=\x22alert\x22>\x0a','app/main/apps/chat/views/chatWebsites/edit/apps/gotoif/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.CONDITION_REQUIRED\x22>Condition\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CHAT.TRUEPRIORITY\x22>truepriority</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22truepriority\x22\x20\x20ng-model=\x22vm.gotoif.truepriority\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22chatWebsiteFormApp[\x27truepriority\x27].$error\x22\x20ng-show=\x22chatWebsiteFormApp[\x27truepriority\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.TRUEPRIORITY_REQUIRED\x22>truepriority\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.TRUEPRIORITY_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>truepriority\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>1</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CHAT.FALSEPRIORITY\x22>falsepriority</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22falsepriority\x22\x20\x20ng-model=\x22vm.gotoif.falsepriority\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22chatWebsiteFormApp[\x27falsepriority\x27].$error\x22\x20ng-show=\x22chatWebsiteFormApp[\x27falsepriority\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.FALSEPRIORITY_REQUIRED\x22>falsepriority\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.FALSEPRIORITY_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>falsepriority\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>1</span>\x0a','app/main/apps/chat/views/chatWebsites/edit/apps/gotop/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22priority\x22\x20\x20ng-model=\x22vm.gotop.priority\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22chatWebsiteFormApp[\x27priority\x27].$error\x22\x20ng-show=\x22chatWebsiteFormApp[\x27priority\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.PRIORITY_REQUIRED\x22>Priority\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.PRIORITY_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>Priority\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>0</span>\x0a','<md-dialog\x20class=\x22inboundroute-dialog\x22\x20aria-label=\x22New\x20Interval\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22intervalForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22TOOLS.TYPE\x22>Type</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20ng-model=\x22vm.type\x22\x20ng-disabled=\x22!vm.newInterval\x20&&\x20!vm.crudPermissions.canEdit\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22type\x22\x20ng-repeat=\x27type\x20in\x20vm.types\x27>{{\x20type\x20|\x20ucfirst\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20ng-model=\x22vm.interval.IntervalId\x22\x20ng-disabled=\x22!vm.newInterval\x20&&\x20!vm.crudPermissions.canEdit\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22interval.id\x22\x20ng-repeat=\x22interval\x20in\x20vm.intervals\x22>{{\x20interval.name\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20ng-if=\x22vm.type\x20===\x20\x27custom\x27\x22\x20translate=\x22TOOLS.TIME_RANGE\x22>Time\x20Range</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=row\x20ng-if=\x22vm.type\x20===\x20\x27custom\x27\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<mdp-time-picker\x20name=\x22timeRangeFrom\x22\x20mdp-placeholder=\x22FROM\x22\x20ng-model=\x22vm.timeRangeFrom\x22\x20mdp-format=\x22HH:mm\x22\x20mdp-auto-switch=\x22true\x22\x20mdp-disabled=\x22!vm.newInterval\x20&&\x20!vm.crudPermissions.canEdit\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22intervalForm.timeRangeFrom.$error\x22\x20ng-show=\x22intervalForm.timeRangeFrom.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-message=\x22format\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.ERRORS.TIME_RANGE_FROM_INVALID\x22>Time\x20Range\x20From\x20field\x20is\x20invalid</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22md-block\x22\x20flex\x20ng-if=\x22vm.timeRangeFrom\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<mdp-time-picker\x20name=\x22timeRangeTo\x22\x20mdp-placeholder=\x22TO*\x22\x20ng-model=\x22vm.timeRangeTo\x22\x20mdp-format=\x22HH:mm\x22\x20mdp-auto-switch=\x22true\x22\x20mdp-disabled=\x22!vm.newInterval\x20&&\x20!vm.crudPermissions.canEdit\x22\x20required>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22intervalForm.timeRangeTo.$error\x22\x20ng-show=\x22intervalForm.timeRangeTo.$invalid\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-message=\x22format\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.ERRORS.TIME_RANGE_TO_INVALID\x22>Time\x20Range\x20To\x20field\x20is\x20invalid</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.ERRORS.TIME_RANGE_TO_REQUIRED\x22>Time\x20Range\x20To\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20TIMERANGE\x20END\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20DAYSOFWEEK\x20START\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20ng-if=\x22vm.type\x20===\x20\x27custom\x27\x22\x20translate=\x22TOOLS.WEEK_DAYS\x22>Week\x20Days</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20flex\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22TOOLS.FROM\x22>From</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20ng-model=\x22vm.dayOfWeekFrom\x22\x20ng-disabled=\x22!vm.newInterval\x20&&\x20!vm.crudPermissions.canEdit\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22day.value\x22\x20ng-repeat=\x22day\x20in\x20vm.daysOfWeek\x22><span\x20translate=\x22TOOLS.{{day.value\x20|\x20uppercase}}\x22>{{\x20day.value\x20|\x20ucfirst\x20}}</span></md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20flex\x20class=\x22md-block\x22\x20ng-if=\x22vm.dayOfWeekFrom\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22dayOfWeekTo\x22\x20ng-model=\x22vm.dayOfWeekTo\x22\x20ng-disabled=\x22!vm.newInterval\x20&&\x20!vm.crudPermissions.canEdit\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22intervalForm.dayOfWeekTo.$error\x22\x20ng-show=\x22intervalForm.dayOfWeekTo.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20DAYSOFWEEK\x20END\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20MONTHDAY\x20START\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20ng-model=\x22vm.monthDayFrom\x22\x20ng-disabled=\x22!vm.newInterval\x20&&\x20!vm.crudPermissions.canEdit\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22null\x22><span\x20translate=\x22TOOLS.ALWAYS\x22>Always</span></md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22month\x22\x20ng-repeat=\x22month\x20in\x20vm.daysOfMonth\x22>{{\x20month\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20flex\x20layout=\x22column\x22\x20class=\x22md-block\x22\x20ng-if=\x22vm.monthDayFrom\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22TOOLS.TO\x22>To</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22monthDayTo\x22\x20ng-model=\x22vm.monthDayTo\x22\x20ng-disabled=\x22!vm.newInterval\x20&&\x20!vm.crudPermissions.canEdit\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22intervalForm.monthDayTo.$error\x22\x20ng-show=\x22intervalForm.monthDayTo.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20MONTH\x20START\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20ng-if=\x22vm.type\x20===\x20\x27custom\x27\x22\x20translate=\x22TOOLS.MONTHS\x22>Time\x20Range</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20ng-model=\x22vm.monthFrom\x22\x20ng-disabled=\x22!vm.newInterval\x20&&\x20!vm.crudPermissions.canEdit\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22month.value\x22\x20ng-repeat=\x22month\x20in\x20vm.monthName\x22><span\x20translate=\x22TOOLS.{{month.value\x20|\x20uppercase}}\x22>{{\x20month.value\x20|\x20ucfirst\x20}}</span></md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22monthTo\x22\x20ng-model=\x22vm.monthTo\x22\x20ng-disabled=\x22!vm.newInterval\x20&&\x20!vm.crudPermissions.canEdit\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20MONTH\x20END\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.newInterval\x20&&\x20vm.crudPermissions.canEdit\x22\x20ng-click=\x22vm.addNewInterval()\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20ng-disabled=\x22intervalForm.$invalid\x22\x20aria-label=\x22ADD\x22\x20translate=\x22TOOLS.ADD_INTERVAL\x22\x20translate-attr-aria-label=\x22TOOLS.ADD_INTERVAL\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20INTERVAL\x0a','app/main/apps/chat/views/chatWebsites/edit/apps/noop/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CHAT.VALUE\x22>Value</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22chatWebsiteFormApp[\x27value\x27].$error\x22\x20ng-show=\x22chatWebsiteFormApp[\x27value\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.VALUE_REQUIRED\x22>Value\x20field\x20is\x20required</span>\x0a','app/main/apps/chat/views/chatWebsites/edit/apps/queue/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CHAT.QUEUE\x22>Queue</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22queue\x22\x20ng-model=\x22vm.queue.queue\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22queue.name\x22\x20ng-repeat=\x22queue\x20in\x20vm.queues\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22chatWebsiteFormApp[\x27queue\x27].$error\x22\x20ng-show=\x22chatWebsiteFormApp[\x27queue\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.QUEUE_REQUIRED\x22>Queue\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22timeout\x22\x20\x20ng-model=\x22vm.queue.timeout\x22\x20\x0a','app/main/apps/chat/views/chatWebsites/edit/apps/system/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CHAT.COMMAND\x22>Command</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22command\x22\x20\x20ng-model=\x22vm.system.command\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.COMMAND_REQUIRED\x22>Command\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CHAT.VARIABLE\x22>Variable</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22variable\x22\x20ng-model=\x22vm.system.variable\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27\x27\x22>None</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22variable.name\x22\x20ng-repeat=\x22variable\x20in\x20vm.variables\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22variable.canSelect\x20===\x20false\x22>{{\x20variable.name\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22chatWebsiteFormApp[\x27variable\x27].$error\x22\x20ng-show=\x22chatWebsiteFormApp[\x27variable\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.VARIABLE_REQUIRED\x22>Variable\x20field\x20is\x20required</span>\x0a','app/main/apps/chat/views/chatWebsites/edit/apps/tag/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CHAT.TAG\x22>Tag</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22tag\x22\x20ng-model=\x22vm.tag.tag\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22tag.canSelect\x20===\x20false\x22>{{\x20tag.name\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.TAG_REQUIRED\x22>Tag\x20field\x20is\x20required</span>\x0a','app/main/apps/chat/views/chatWebsites/edit/chatCannedAnswers/dialog.html','<md-dialog\x20class=\x22chatCannedAnswer-dialog\x22\x20aria-label=\x22New\x20ChatCannedAnswer\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22chatCannedAnswerForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22\x22\x20name=\x22key\x22\x20\x20ng-model=\x22vm.chatCannedAnswer.key\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22chatCannedAnswerForm[\x27key\x27].$error\x22\x20ng-show=\x22chatCannedAnswerForm[\x27key\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<textarea\x20name=\x22value\x22\x20ng-model=\x22vm.chatCannedAnswer.value\x22\x20\x20required\x20\x20></textarea>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22description\x22\x20\x20ng-model=\x22vm.chatCannedAnswer.description\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22chatCannedAnswerForm[\x27description\x27].$error\x22\x20ng-show=\x22chatCannedAnswerForm[\x27description\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.newChatCannedAnswer\x22\x20ng-click=\x22vm.addNewChatCannedAnswer()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22chatCannedAnswerForm.$invalid\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22CHAT.ADD_CHATCANNEDANSWER\x22\x20translate-attr-aria-label=\x22CHAT.ADD_CHATCANNEDANSWER\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x20&&\x20!vm.newChatCannedAnswer\x22\x20ng-click=\x22vm.deleteChatCannedAnswer($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x0a','<md-dialog\x20class=\x22chatDisposition-dialog\x22\x20aria-label=\x22New\x20ChatDisposition\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22chatDispositionForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22\x22\x20name=\x22name\x22\x20\x20ng-model=\x22vm.chatDisposition.name\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22chatDispositionForm[\x27name\x27].$error\x22\x20ng-show=\x22chatDispositionForm[\x27name\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20!vm.newChatDisposition\x22\x20ng-click=\x22vm.saveChatDisposition()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.newChatDisposition\x22\x20ng-click=\x22vm.addNewChatDisposition()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22chatDispositionForm.$invalid\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22CHAT.ADD_CHATDISPOSITION\x22\x20translate-attr-aria-label=\x22CHAT.ADD_CHATDISPOSITION\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20CHATDISPOSITION\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x20&&\x20!vm.newChatDisposition\x22\x20ng-click=\x22vm.deleteChatDisposition($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x0a','<md-dialog\x20class=\x22offlineMessage-dialog\x22\x20aria-label=\x22New\x20OfflineMessage\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22md-toolbar-tools\x22\x20layout=\x22row\x22\x20layout-align=\x22space-between\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22title\x22>{{\x20vm.title\x20|\x20translate\x20}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm.closeDialog()\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-close\x22\x20aria-label=\x22Close\x20dialog\x22></md-icon>\x0a','<md-dialog\x20class=\x22chatProactiveAction-dialog\x22\x20aria-label=\x22New\x20ChatProactiveAction\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22chatProactiveActionForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22\x22\x20name=\x22name\x22\x20\x20ng-model=\x22vm.chatProactiveAction.name\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22chatProactiveActionForm[\x27name\x27].$error\x22\x20ng-show=\x22chatProactiveActionForm[\x27name\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CHAT.TYPE\x22>Type</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22type\x22\x20ng-model=\x22vm.chatProactiveAction.type\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27mouseOver\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27CHAT.MOUSEOVER\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27timeout\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27CHAT.TIMEOUT\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22chatProactiveActionForm[\x27type\x27].$error\x22\x20ng-show=\x22chatProactiveActionForm[\x27type\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.TYPE_REQUIRED\x22>Type\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.chatProactiveAction.type\x20===\x20\x27mouseOver\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22\x22\x20name=\x22selector\x22\x20\x20ng-model=\x22vm.chatProactiveAction.selector\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.SELECTOR_REQUIRED\x22>Selector\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20!vm.newChatProactiveAction\x22\x20ng-click=\x22vm.saveChatProactiveAction()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22chatProactiveActionForm.$invalid\x20||\x20chatProactiveActionForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.newChatProactiveAction\x22\x20ng-click=\x22vm.addNewChatProactiveAction()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22chatProactiveActionForm.$invalid\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22CHAT.ADD_CHATPROACTIVEACTION\x22\x20translate-attr-aria-label=\x22CHAT.ADD_CHATPROACTIVEACTION\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20CHATPROACTIVEACTION\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x20&&\x20!vm.newChatProactiveAction\x22\x20ng-click=\x22vm.deleteChatProactiveAction($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x0a','<div\x20id=\x22chat-chatWebsite\x22\x20class=\x22page-layout\x20simple\x20tabbed\x22\x20layout=\x22column\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.gotoChatWebsites()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22CHAT.GO_TO_CHATWEBSITES\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22chatWebsite-image\x22\x20hide-xs>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<img\x20ng-src=\x22assets/images/business/chatWebsites.jpg\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22vm.chatWebsite.name\x22>{{vm.chatWebsite.name}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.CREATED_AT\x22></span>\x20<span>{{vm.chatWebsite.createdAt\x20|\x20date:\x27medium\x27}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.agentadddialog(vm.chatWebsite,\x20$event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22md-fab\x20md-warn\x20md-icon-button\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip><span\x20translate=\x22CHAT.AGENTADD_CHATWEBSITE\x22></span></md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-click=\x22vm.saveChatWebsite()\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20ng-disabled=\x22(generalForm.$invalid)\x20||\x20(notificationForm.$invalid)\x20||\x20(transferForm.$invalid)\x20||\x20(scriptForm.$invalid)\x20||\x20(intervalForm.$invalid)\x20||\x20(dispositionForm.$invalid)\x20||\x20(appearanceForm.$invalid)\x20||\x20(onlinestatusForm.$invalid)\x20||\x20(offlinestatusForm.$invalid)\x20||\x20(closingformForm.$invalid)\x20||\x20(unmanagedstatusForm.$invalid)\x20||\x20(interactionForm.$invalid)\x20||\x20(whitelabelForm.$invalid)\x20||\x20(logoForm.$invalid)\x20||\x20(agentAvatarForm.$invalid)\x20||\x20(customerAvatarForm.$invalid)\x20||\x20(systemAvatarForm.$invalid)\x20||\x20(chatFormOnlineForm.$invalid)\x20||\x20(chatFormOfflineForm.$invalid)\x20||\x20(proactiveForm.$invalid)\x20||\x20(chatDispositionsForm.$invalid)\x20||\x20(chatCannedAnswersForm.$invalid)\x20||\x20(vidaooForm.$invalid)\x20||\x20(actionsForm.$invalid)\x20||\x20(interactionsForm.$invalid)\x20||\x20(offlineMessagesForm.$invalid)\x22\x20translate=\x22CHAT.SAVE\x22\x20translate-attr-aria-label=\x22CHAT.SAVE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22chatWebsite-detail-form-container\x20general\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CHAT.KEY\x22>key</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27key\x27].$error\x22\x20ng-show=\x22generalForm[\x27key\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-message=\x22md-maxlength\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.MOTIONADDRESS_REQUIRED\x22>MotionAddress\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22CHAT.HELP.LIST\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27ListId\x27].$error\x22\x20ng-show=\x22generalForm[\x27ListId\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.chatWebsite.fidelity\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27timeout\x27].$error\x22\x20ng-show=\x22generalForm[\x27timeout\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CHAT.WAITFORTHEASSIGNEDAGENT\x22>WaitForTheAssignedAgent</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22waitForTheAssignedAgent\x22\x20\x20ng-model=\x22vm.chatWebsite.waitForTheAssignedAgent\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27waitForTheAssignedAgent\x27].$error\x22\x20ng-show=\x22generalForm[\x27waitForTheAssignedAgent\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.WAITFORTHEASSIGNEDAGENT_REQUIRED\x22>WaitForTheAssignedAgent\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.WAITFORTHEASSIGNEDAGENT_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>WaitForTheAssignedAgent\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>1</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.WAITFORTHEASSIGNEDAGENT_MUST_BE_LESS_THAN_OR_EQUAL_TO\x22>WaitForTheAssignedAgent\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>2147483</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</form>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22chatWebsite-detail-form-container\x20notification\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22CHAT.NOTIFICATION\x22>NOTIFICATION</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<form\x20name=\x22notificationForm\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.chatWebsite.notificationShake\x22\x20aria-label=\x22notificationShake\x22\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20><span\x20translate=\x22CHAT.NOTIFICATIONSHAKE\x22>notificationShake</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20class=\x22md-caption\x20grey-fg\x22\x20translate=\x22CHAT.NOTIFICATIONTEMPLATE\x22>notificationTemplate</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<textarea\x20aria-label=\x22notificationTemplate\x20notificationTemplate\x22\x20ckeditor=\x22{\x20skin:\x20\x27office2013\x27,\x20language:\x20\x27en\x27,\x20allowedContent:\x20true,\x20extraPlugins:\x20\x27font,colorbutton,autoembed,autocorrect,googlethisterm,pastebase64\x27,\x20toolbarGroups:\x20[{\x20name:\x20\x27styles\x27,\x20groups:\x20[\x27styles\x27]\x20},\x20{\x20name:\x20\x27clipboard\x27,\x20groups:\x20[\x27undo\x27]\x20},\x20{\x20name:\x20\x27colors\x27,\x20groups:\x20[\x27colors\x27]\x20},\x20{\x20name:\x20\x27basicstyles\x27,\x20groups:\x20[\x27basicstyles\x27]\x20},\x20{\x20name:\x20\x27paragraph\x27,\x20groups:\x20[\x27list\x27,\x20\x27indent\x27,\x20\x27align\x27]\x20},\x20{\x20name:\x20\x27mode\x27\x20}],\x20autocorrect_enabled:\x20true,\x20disableNativeSpellChecker:\x20false,\x20fontSize_sizes:\x20\x278/8pt;9/9pt;10/10pt;11/11pt;12/12pt;14/14pt;16/16pt;18/18pt;20/20pt;22/22pt;24/24pt;26/26pt;28/28pt;36/36pt;48/48pt;72/72pt\x27,\x20\x20removePlugins:\x20\x27magicline\x27\x20}\x22\x20ng-model=\x22vm.chatWebsite.notificationTemplate\x22></textarea>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22CHAT.TRANSFER\x22>TRANSFER</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<form\x20name=\x22transferForm\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.chatWebsite.queueTransfer\x20==\x20true\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CHAT.QUEUETRANSFERTIMEOUT\x22>queueTransferTimeout</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.QUEUETRANSFERTIMEOUT_REQUIRED\x22>queueTransferTimeout\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.QUEUETRANSFERTIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>queueTransferTimeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>1</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.chatWebsite.agentTransfer\x22\x20aria-label=\x22agentTransfer\x22\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20><span\x20translate=\x22CHAT.AGENTTRANSFER\x22>agentTransfer</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.chatWebsite.agentTransfer\x20==\x20true\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22agentTransferTimeout\x22\x20\x20ng-model=\x22vm.chatWebsite.agentTransferTimeout\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.AGENTTRANSFERTIMEOUT_REQUIRED\x22>agentTransferTimeout\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.AGENTTRANSFERTIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>agentTransferTimeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>1</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.AGENTTRANSFERTIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO\x22>agentTransferTimeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>2147483</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-tab-body>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ADVANCED\x22>ADVANCED</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22chatWebsite-detail-form-container\x20script\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-controller=\x22ChatWebsiteScriptController\x20as\x20vm_ac\x22\x20ng-init=\x22vm_ac.init(vm.chatWebsite)\x22\x20class=\x22content\x22\x20md-background-bg>\x0a','\x20\x20<form\x20name=\x22scriptForm\x22\x20flex=\x22100\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CHAT.TOKEN\x22>Token</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22token\x22\x20ng-model=\x22vm_ac.chatWebsite.token\x22\x20autofocus\x20ng-disabled=\x22true\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CHAT.MOTIONPROXY\x22>MotionProxy</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22CHAT.HELP.MOTIONPROXY\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-message=\x22url\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CHAT.WEBSITESCRIPT\x22>WebsiteScript</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<pre\x20style=\x22font-size:\x2013px;\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm_ac.start}}\x20{{vm_ac.script}}\x20{{vm_ac.end}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22CHAT.HELP.COPYSCRIPTTOCLIPBOARD\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22chatWebsite-detail-form-container\x20interval\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22CHAT.INTERVAL\x22>INTERVAL</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<form\x20name=\x22intervalForm\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22IntervalId.id\x22\x20ng-repeat=\x22IntervalId\x20in\x20vm.interval\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22intervalForm[\x27IntervalId\x27].$error\x22\x20ng-show=\x22intervalForm[\x27IntervalId\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CHAT.TIMEZONE\x22>Timezone</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<ms-timezone\x20name=\x22timezone\x22\x20ng-model=\x22vm.chatWebsite.timezone\x22\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20><\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22intervalForm[\x27timezone\x27].$error\x22\x20ng-show=\x22intervalForm[timezone].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22chatWebsite-detail-form-container\x20disposition\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22CHAT.DISPOSITION\x22>DISPOSITION</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<form\x20name=\x22dispositionForm\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.chatWebsite.mandatoryDisposition\x22\x20aria-label=\x22MandatoryDisposition\x22\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20><span\x20translate=\x22CHAT.MANDATORYDISPOSITION\x22>MandatoryDisposition</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.chatWebsite.mandatoryDisposition\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22mandatoryDispositionPauseId.id\x22\x20ng-repeat=\x22mandatoryDispositionPauseId\x20in\x20vm.pauses\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22CHAT.HELP.MANDATORYDISPOSITIONPAUSEID\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22dispositionForm[\x27mandatoryDispositionPauseId\x27].$error\x22\x20ng-show=\x22dispositionForm[\x27mandatoryDispositionPauseId\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.MANDATORYDISPOSITIONPAUSEID_REQUIRED\x22>MandatoryDispositionPauseId\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tab\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22chatWebsite-detail-form-container\x20appearance\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20flex\x20md-color-picker\x20ng-model=\x22vm.chatWebsite.color\x22\x20label=\x22{{\x27CHAT.MAINCOLOR\x27\x20|\x20translate}}\x22\x20md-color-hex=\x22true\x22\x20md-color-rgb=\x22false\x22\x20md-color-hsl=\x22false\x22\x20md-color-history=\x22false\x22\x20md-color-material-palette=\x22false\x22\x20md-color-alpha-channel=\x22false\x22\x20open-on-input=\x22true\x22></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20flex\x20md-color-picker\x20ng-model=\x22vm.chatWebsite.color_button\x22\x20label=\x22{{\x27CHAT.BUTTONCOLOR\x27\x20|\x20translate}}\x22\x20md-color-hex=\x22true\x22\x20md-color-rgb=\x22false\x22\x20md-color-hsl=\x22false\x22\x20md-color-history=\x22false\x22\x20md-color-material-palette=\x22false\x22\x20md-color-alpha-channel=\x22false\x22\x20open-on-input=\x22true\x22></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20flex\x20md-color-picker\x20ng-model=\x22vm.chatWebsite.backgroundColor\x22\x20label=\x22{{\x27CHAT.BACKGROUNDCOLOR\x27\x20|\x20translate}}\x22\x20md-color-hex=\x22true\x22\x20md-color-rgb=\x22false\x22\x20md-color-hsl=\x22false\x22\x20md-color-history=\x22false\x22\x20md-color-material-palette=\x22false\x22\x20md-color-alpha-channel=\x22false\x22\x20open-on-input=\x22true\x22></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22fontSize\x22\x20\x20ng-model=\x22vm.chatWebsite.fontSize\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22appearanceForm[\x27fontSize\x27].$error\x22\x20ng-show=\x22appearanceForm[\x27fontSize\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.FONTSIZE_REQUIRED\x22>fontSize\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CHAT.HEADERSHAPE\x22>headershape</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27rounded\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27CHAT.ROUNDED\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27squared\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27CHAT.SQUARED\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.HEADERSHAPE_REQUIRED\x22>headershape\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.chatWebsite.showAgentAvatar\x22\x20aria-label=\x22ShowAgentAvatar\x22\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20><span\x20translate=\x22CHAT.SHOWAGENTAVATAR\x22>ShowAgentAvatar</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CHAT.SNIPPETSWIPEOUT\x22>snippetSwipeOut</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27CHAT.BOTTOM_RIGHT\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27right\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27left\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27CHAT.LEFT\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22appearanceForm[\x27alignment\x27].$error\x22\x20ng-show=\x22appearanceForm[\x27alignment\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.SNIPPETSWIPEOUT_REQUIRED\x22>snippetSwipeOut\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.chatWebsite.alignment\x20!==\x20\x27bottom_right\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22verticalAlignment\x22\x20\x20ng-model=\x22vm.chatWebsite.verticalAlignment\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20max=\x22100\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22appearanceForm[\x27verticalAlignment\x27].$error\x22\x20ng-show=\x22appearanceForm[\x27verticalAlignment\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.VERTICALPOSITION_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>verticalPosition\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>0</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.VERTICALPOSITION_MUST_BE_LESS_THAN_OR_EQUAL_TO\x22>verticalPosition\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>100</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CHAT.MESSAGESALIGNMENT\x22>messagesAlignment</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22messagesAlignment\x22\x20ng-model=\x22vm.chatWebsite.messagesAlignment\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27alternate\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27CHAT.ALTERNATE\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27centered\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27CHAT.CENTERED\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.MESSAGESALIGNMENT_REQUIRED\x22>messagesAlignment\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CHAT.DEFAULTTITLE\x22>defaultTitle</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22appearanceForm[\x27defaultTitle\x27].$error\x22\x20ng-show=\x22appearanceForm[\x27defaultTitle\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.DEFAULTTITLE_REQUIRED\x22>defaultTitle\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22chatWebsite-detail-form-container\x20onlinestatus\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<form\x20name=\x22onlinestatusForm\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22header_online\x22\x20\x20ng-model=\x22vm.chatWebsite.header_online\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22onlinestatusForm[\x27header_online\x27].$error\x22\x20ng-show=\x22onlinestatusForm[\x27header_online\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22onlinestatusForm[\x27start_chat_button\x27].$error\x22\x20ng-show=\x22onlinestatusForm[\x27start_chat_button\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.START_CHAT_BUTTON_REQUIRED\x22>start_chat_button\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.START_CHAT_BUTTON_MAX_LENGTH\x22\x20translate-values=\x27{max:\x20255}\x27>start_chat_button\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22chatWebsite-detail-form-container\x20offlinestatus\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22CHAT.OFFLINESTATUS\x22>OFFLINESTATUS</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CHAT.HEADER_OFFLINE\x22>header_offline</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22header_offline\x22\x20\x20ng-model=\x22vm.chatWebsite.header_offline\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22offlinestatusForm[\x27header_offline\x27].$error\x22\x20ng-show=\x22offlinestatusForm[\x27header_offline\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.HEADER_OFFLINE_REQUIRED\x22>header_offline\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.HEADER_OFFLINE_MAX_LENGTH\x22\x20translate-values=\x27{max:\x20255}\x27>header_offline\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22offline_chat_button\x22\x20\x20ng-model=\x22vm.chatWebsite.offline_chat_button\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22offlinestatusForm[\x27offline_chat_button\x27].$error\x22\x20ng-show=\x22offlinestatusForm[\x27offline_chat_button\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.OFFLINE_CHAT_BUTTON_MAX_LENGTH\x22\x20translate-values=\x27{max:\x20255}\x27>offline_chat_button\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CHAT.OFFLINEMESSAGESUBJECT\x22>offlineMessageSubject</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22offlineMessageSubject\x22\x20\x20ng-model=\x22vm.chatWebsite.offlineMessageSubject\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22offlinestatusForm[\x27offlineMessageSubject\x27].$error\x22\x20ng-show=\x22offlinestatusForm[\x27offlineMessageSubject\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.OFFLINEMESSAGESUBJECT_MAX_LENGTH\x22\x20translate-values=\x27{max:\x20255}\x27>offlineMessageSubject\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CHAT.OFFLINEMESSAGEBODY\x22>offlineMessageBody</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22offlineMessageBody\x22\x20\x20ng-model=\x22vm.chatWebsite.offlineMessageBody\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22offlinestatusForm[\x27offlineMessageBody\x27].$error\x22\x20ng-show=\x22offlinestatusForm[\x27offlineMessageBody\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.OFFLINEMESSAGEBODY_REQUIRED\x22>offlineMessageBody\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.OFFLINEMESSAGEBODY_MAX_LENGTH\x22\x20translate-values=\x27{max:\x20255}\x27>offlineMessageBody\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22chatWebsite-detail-form-container\x20closingform\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22CHAT.CLOSINGFORM\x22>CLOSINGFORM</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<form\x20name=\x22closingformForm\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<textarea\x20name=\x22closingMessage\x22\x20ng-model=\x22vm.chatWebsite.closingMessage\x22\x20\x20md-maxlength=\x22255\x22\x20\x20required\x20\x20autofocus\x20\x20></textarea>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22closingformForm[\x27closingMessage\x27].$error\x22\x20ng-show=\x22closingformForm[\x27closingMessage\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.CLOSINGMESSAGE_REQUIRED\x22>closingMessage\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CHAT.SKIPMESSAGEBUTTON\x22>skipMessageButton</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22skipMessageButton\x22\x20\x20ng-model=\x22vm.chatWebsite.skipMessageButton\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.SKIPMESSAGEBUTTON_MAX_LENGTH\x22\x20translate-values=\x27{max:\x20255}\x27>skipMessageButton\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.chatWebsite.enableRating\x22\x20aria-label=\x22enableRating\x22\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20><span\x20translate=\x22CHAT.ENABLERATING\x22>enableRating</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.chatWebsite.enableRating\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CHAT.RATINGTYPE\x22>ratingType</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22ratingType\x22\x20ng-model=\x22vm.chatWebsite.ratingType\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27star\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Thumb</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22closingformForm[\x27ratingType\x27].$error\x22\x20ng-show=\x22closingformForm[\x27ratingType\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.chatWebsite.enableRating\x20&&\x20vm.chatWebsite.ratingType\x20===\x20\x27star\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22ratingStarsNumber\x22\x20\x20ng-model=\x22vm.chatWebsite.ratingStarsNumber\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x222\x22\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20max=\x225\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22closingformForm[\x27ratingStarsNumber\x27].$error\x22\x20ng-show=\x22closingformForm[\x27ratingStarsNumber\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.RATINGSTARSNUMBER_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>ratingStarsNumber\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>2</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.chatWebsite.enableFeedback\x22\x20aria-label=\x22enableFeedback\x22\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20><span\x20translate=\x22CHAT.ENABLEFEEDBACK\x22>enableFeedback</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.chatWebsite.enableFeedback\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CHAT.FEEDBACKTITLE\x22>feedbackTitle</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22feedbackTitle\x22\x20\x20ng-model=\x22vm.chatWebsite.feedbackTitle\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.FEEDBACKTITLE_REQUIRED\x22>feedbackTitle\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.FEEDBACKTITLE_MAX_LENGTH\x22\x20translate-values=\x27{max:\x20255}\x27>feedbackTitle\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.chatWebsite.forwardTranscript\x22\x20aria-label=\x22forwardTranscript\x22\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20><span\x20translate=\x22CHAT.FORWARDTRANSCRIPT\x22>forwardTranscript</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.chatWebsite.forwardTranscript\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CHAT.FORWARDTRANSCRIPTMESSAGE\x22>forwardTranscriptMessage</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22forwardTranscriptMessage\x22\x20\x20ng-model=\x22vm.chatWebsite.forwardTranscriptMessage\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22closingformForm[\x27forwardTranscriptMessage\x27].$error\x22\x20ng-show=\x22closingformForm[\x27forwardTranscriptMessage\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.FORWARDTRANSCRIPTMESSAGE_MAX_LENGTH\x22\x20translate-values=\x27{max:\x20255}\x27>forwardTranscriptMessage\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CHAT.CLOSINGMESSAGEBUTTON\x22>closingMessageButton</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.CLOSINGMESSAGEBUTTON_REQUIRED\x22>closingMessageButton\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.CLOSINGMESSAGEBUTTON_MAX_LENGTH\x22\x20translate-values=\x27{max:\x20255}\x27>closingMessageButton\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22chatWebsite-detail-form-container\x20unmanagedstatus\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22CHAT.UNMANAGEDSTATUS\x22>UNMANAGEDSTATUS</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.chatWebsite.autoclose\x22\x20aria-label=\x22autoclose\x22\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20><span\x20translate=\x22CHAT.AUTOCLOSE\x22>autoclose</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CHAT.UNMANAGEDMESSAGE\x22>unmanagedMessage</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22unmanagedstatusForm[\x27unmanagedMessage\x27].$error\x22\x20ng-show=\x22unmanagedstatusForm[\x27unmanagedMessage\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.UNMANAGEDMESSAGE_MAX_LENGTH\x22\x20translate-values=\x27{max:\x20255}\x27>unmanagedMessage\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CHAT.SKIPUNMANAGED\x22>skipUnmanaged</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22skipUnmanaged\x22\x20\x20ng-model=\x22vm.chatWebsite.skipUnmanaged\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22unmanagedstatusForm[\x27skipUnmanaged\x27].$error\x22\x20ng-show=\x22unmanagedstatusForm[\x27skipUnmanaged\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.SKIPUNMANAGED_MAX_LENGTH\x22\x20translate-values=\x27{max:\x20255}\x27>skipUnmanaged\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.chatWebsite.enableUnmanagedNote\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CHAT.SENDUNMANAGED\x22>sendUnmanaged</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22unmanagedstatusForm[\x27sendUnmanaged\x27].$error\x22\x20ng-show=\x22unmanagedstatusForm[\x27sendUnmanaged\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.SENDUNMANAGED_REQUIRED\x22>sendUnmanaged\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.SENDUNMANAGED_MAX_LENGTH\x22\x20translate-values=\x27{max:\x20255}\x27>sendUnmanaged\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CHAT.NOTETITLE\x22>noteTitle</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22noteTitle\x22\x20\x20ng-model=\x22vm.chatWebsite.noteTitle\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22unmanagedstatusForm[\x27noteTitle\x27].$error\x22\x20ng-show=\x22unmanagedstatusForm[\x27noteTitle\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.NOTETITLE_MAX_LENGTH\x22\x20translate-values=\x27{max:\x20255}\x27>noteTitle\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22CHAT.INTERACTION\x22>INTERACTION</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<form\x20name=\x22interactionForm\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CHAT.AGENTIDENTIFIER\x22>agentIdentifier</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22agentIdentifier\x22\x20ng-model=\x22vm.chatWebsite.agentIdentifier\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27website_alias\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27CHAT.WEBSITEALIAS\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27agent_alias\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27CHAT.AGENTALIAS\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27CHAT.AGENTFULLNAME\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22interactionForm[\x27agentIdentifier\x27].$error\x22\x20ng-show=\x22interactionForm[\x27agentIdentifier\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22customerAlias\x22\x20\x20ng-model=\x22vm.chatWebsite.customerAlias\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22interactionForm[\x27customerAlias\x27].$error\x22\x20ng-show=\x22interactionForm[\x27customerAlias\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.CUSTOMERALIAS_REQUIRED\x22>customerAlias\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.CUSTOMERALIAS_MAX_LENGTH\x22\x20translate-values=\x27{max:\x20255}\x27>customerAlias\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CHAT.MESSAGEFONTSIZE\x22>messageFontSize</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22messageFontSize\x22\x20\x20ng-model=\x22vm.chatWebsite.messageFontSize\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22interactionForm[\x27messageFontSize\x27].$error\x22\x20ng-show=\x22interactionForm[\x27messageFontSize\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.MESSAGEFONTSIZE_REQUIRED\x22>messageFontSize\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.MESSAGEFONTSIZE_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>messageFontSize\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>0</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.MESSAGEFONTSIZE_MUST_BE_LESS_THAN_OR_EQUAL_TO\x22>messageFontSize\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>20</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.chatWebsite.agentIdentifier\x20===\x20\x27website_alias\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22agentAlias\x22\x20\x20ng-model=\x22vm.chatWebsite.agentAlias\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.WEBSITEALIAS_MAX_LENGTH\x22\x20translate-values=\x27{max:\x20255}\x27>WebsiteAlias\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CHAT.CLOSINGQUESTION\x22>closingQuestion</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22closingQuestion\x22\x20\x20ng-model=\x22vm.chatWebsite.closingQuestion\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22interactionForm[\x27closingQuestion\x27].$error\x22\x20ng-show=\x22interactionForm[\x27closingQuestion\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.CLOSINGQUESTION_REQUIRED\x22>closingQuestion\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.CLOSINGQUESTION_MAX_LENGTH\x22\x20translate-values=\x27{max:\x20255}\x27>closingQuestion\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CHAT.FORMSUBMITSUCCESSMESSAGE\x22>formSubmitSuccessMessage</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22formSubmitSuccessMessage\x22\x20\x20ng-model=\x22vm.chatWebsite.formSubmitSuccessMessage\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.FORMSUBMITSUCCESSMESSAGE_REQUIRED\x22>formSubmitSuccessMessage\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.FORMSUBMITSUCCESSMESSAGE_MAX_LENGTH\x22\x20translate-values=\x27{max:\x20255}\x27>formSubmitSuccessMessage\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CHAT.FORMSUBMITFAILUREMESSAGE\x22>formSubmitFailureMessage</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22formSubmitFailureMessage\x22\x20\x20ng-model=\x22vm.chatWebsite.formSubmitFailureMessage\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22interactionForm[\x27formSubmitFailureMessage\x27].$error\x22\x20ng-show=\x22interactionForm[\x27formSubmitFailureMessage\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.FORMSUBMITFAILUREMESSAGE_REQUIRED\x22>formSubmitFailureMessage\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.FORMSUBMITFAILUREMESSAGE_MAX_LENGTH\x22\x20translate-values=\x27{max:\x20255}\x27>formSubmitFailureMessage\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.chatWebsite.enableCustomerWriting\x22\x20aria-label=\x22enableCustomerWriting\x22\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20><span\x20translate=\x22CHAT.ENABLECUSTOMERWRITING\x22>enableCustomerWriting</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22!vm.chatWebsite.enableCustomerWriting\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CHAT.WAITINGTITLE\x22>waitingTitle</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22waitingTitle\x22\x20\x20ng-model=\x22vm.chatWebsite.waitingTitle\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22interactionForm[\x27waitingTitle\x27].$error\x22\x20ng-show=\x22interactionForm[\x27waitingTitle\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.WAITINGTITLE_REQUIRED\x22>waitingTitle\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.WAITINGTITLE_MAX_LENGTH\x22\x20translate-values=\x27{max:\x20255}\x27>waitingTitle\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22!vm.chatWebsite.enableCustomerWriting\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CHAT.WAITINGMESSAGE\x22>waitingMessage</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<textarea\x20name=\x22waitingMessage\x22\x20ng-model=\x22vm.chatWebsite.waitingMessage\x22\x20\x20md-maxlength=\x22255\x22\x20\x20required\x20\x20></textarea>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.WAITINGMESSAGE_REQUIRED\x22>waitingMessage\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CHAT.PLACEHOLDERMESSAGE\x22>placeholderMessage</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22placeholderMessage\x22\x20\x20ng-model=\x22vm.chatWebsite.placeholderMessage\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.PLACEHOLDERMESSAGE_REQUIRED\x22>placeholderMessage\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.PLACEHOLDERMESSAGE_MAX_LENGTH\x22\x20translate-values=\x27{max:\x20255}\x27>placeholderMessage\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.chatWebsite.download_transcript\x22\x20aria-label=\x22downloadTranscript\x22\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20><span\x20translate=\x22CHAT.DOWNLOADTRANSCRIPT\x22>downloadTranscript</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.chatWebsite.enableCustomerAttachment\x22\x20aria-label=\x22enableCustomerAttachment\x22\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20><span\x20translate=\x22CHAT.ENABLECUSTOMERATTACHMENT\x22>enableCustomerAttachment</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.chatWebsite.enableSendButton\x22\x20aria-label=\x22enableSendButton\x22\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20><span\x20translate=\x22CHAT.ENABLESENDBUTTON\x22>enableSendButton</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.chatWebsite.enableCustomerCheckmarks\x22\x20aria-label=\x22enableCustomerCheckmarks\x22\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20><span\x20translate=\x22CHAT.ENABLECUSTOMERCHECKMARKS\x22>enableCustomerCheckmarks</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22interactionForm[\x27systemAlias\x27].$error\x22\x20ng-show=\x22interactionForm[\x27systemAlias\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.SYSTEMALIAS_REQUIRED\x22>systemAlias\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.SYSTEMALIAS_MAX_LENGTH\x22\x20translate-values=\x27{max:\x20255}\x27>systemAlias\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22CHAT.WHITELABEL\x22>WHITELABEL</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<form\x20name=\x22whitelabelForm\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CHAT.WHITELABEL\x22>whiteLabel</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22whitelabelForm[\x27whiteLabel\x27].$error\x22\x20ng-show=\x22whitelabelForm[\x27whiteLabel\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.WHITELABEL_MAX_LENGTH\x22\x20translate-values=\x27{max:\x20255}\x27>whiteLabel\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20ng-if=\x22vm.license.custom\x22\x20\x20class=\x22chatWebsite-detail-form-container\x20logo\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22CHAT.LOGO\x22>LOGO</div>\x0a','<div\x20ng-controller=\x22ChatWebsitelogoController\x20as\x20vm_ca\x22\x20ng-init=\x22vm_ca.init(vm.chatWebsite,\x20vm.crudPermissions)\x22\x20class=\x22chatWebsite-detail-form-container\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20<div\x20id=\x22chatWebsite-image-uploader\x22\x20flow-init=\x22vm_ca.ngFlowOptions\x22\x20flow-name=\x22vm_ca.ngFlow.flow\x22\x20flow-files-submitted=\x22vm_ca.upload()\x22\x20flow-file-added=\x22vm_ca.fileAdded($file)\x22\x20flow-file-success=\x22vm_ca.fileSuccess($file,\x20$message)\x22\x20flow-complete=\x22vm_ca.uploadComplete()\x22\x20flow-drop\x0a','\x20\x20\x20\x20\x20\x20\x20\x20flow-drag-enter=\x22vm_ca.dropping=true\x22\x20flow-drag-leave=\x22vm_ca.dropping=false\x22\x20ng-class=\x22{\x27dropping\x27:vm.dropping}\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22drop-text\x20hint-text\x22\x20layout=\x22row\x22\x20layout-align=\x22center\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22EC.DROP_TO_UPLOAD\x22>Drop\x20to\x20upload</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22upload-button\x22\x20layout=\x22column\x22\x20layout-align=\x22center\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-accent\x20md-raised\x22\x20flow-btn\x20ng-disabled=\x22!vm_ca.crudPermissions.canEdit\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Upload\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22row\x22\x20layout-align=\x22start\x20start\x22\x20layout-wrap>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-repeat=\x22logoimage\x20in\x20vm_ca.chatWebsite.images\x22\x20ng-switch=\x22logoimage.type\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22overlay\x22\x20layout=\x22column\x22\x20layout-align=\x22center\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-progress-linear>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22chatWebsite-image\x22\x20ng-switch-when=\x22image\x22\x20layout=\x22row\x22\x20layout-align=\x22center\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<img\x20class=\x22media\x22\x20ng-src=\x22{{logoimage.url}}\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22chatWebsite-detail-form-container\x20agentavatar\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','<div\x20ng-controller=\x22ChatWebsiteagentAvatarController\x20as\x20vm_ca\x22\x20ng-init=\x22vm_ca.init(vm.chatWebsite,\x20vm.crudPermissions)\x22\x20class=\x22chatWebsite-detail-form-container\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22secondary-text\x20mt-8\x22>You\x20can\x20also\x20drop\x20images\x20here\x20to\x20upload.\x20Only\x20PNG,\x20JPG\x20-\x20Max.\x208MB</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22chatWebsite-image\x20uploading\x22\x20ng-switch-when=\x22uploading\x22\x20layout=\x22row\x22\x20layout-align=\x22center\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-progress-linear\x20md-mode=\x22determinate\x22\x20value=\x22{{agentAvatarimage.file.progress()\x20*\x20100}}\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<img\x20class=\x22media\x22\x20flow-img=\x22agentAvatarimage.file\x22>\x0a','\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22CHAT.CUSTOMERAVATAR\x22>CUSTOMERAVATAR</div>\x0a','<div\x20ng-controller=\x22ChatWebsitecustomerAvatarController\x20as\x20vm_ca\x22\x20ng-init=\x22vm_ca.init(vm.chatWebsite,\x20vm.crudPermissions)\x22\x20class=\x22chatWebsite-detail-form-container\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-repeat=\x22customerAvatarimage\x20in\x20vm_ca.chatWebsite.images\x22\x20ng-switch=\x22customerAvatarimage.type\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-progress-linear\x20md-mode=\x22determinate\x22\x20value=\x22{{customerAvatarimage.file.progress()\x20*\x20100}}\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<img\x20class=\x22media\x22\x20flow-img=\x22customerAvatarimage.file\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<img\x20class=\x22media\x22\x20ng-src=\x22{{customerAvatarimage.url}}\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22chatWebsite-detail-form-container\x20systemavatar\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22CHAT.SYSTEMAVATAR\x22>SYSTEMAVATAR</div>\x0a','<div\x20ng-controller=\x22ChatWebsitesystemAvatarController\x20as\x20vm_ca\x22\x20ng-init=\x22vm_ca.init(vm.chatWebsite,\x20vm.crudPermissions)\x22\x20class=\x22chatWebsite-detail-form-container\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-repeat=\x22systemAvatarimage\x20in\x20vm_ca.chatWebsite.images\x22\x20ng-switch=\x22systemAvatarimage.type\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-progress-linear\x20md-mode=\x22determinate\x22\x20value=\x22{{systemAvatarimage.file.progress()\x20*\x20100}}\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<img\x20class=\x22media\x22\x20ng-src=\x22{{systemAvatarimage.url}}\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ONLINE\x22>ONLINE</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22chatWebsite-detail-form-container\x20chatformonline\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-controller=\x22ChatWebsiteonlineFormController\x20as\x20vm_fonc\x22\x20ng-init=\x22vm_fonc.init(vm.chatWebsite)\x22\x20class=\x22content\x22\x20md-background-bg\x20layout=\x22column\x22>\x0a','\x20\x20\x20\x20\x20\x20<!--\x20START\x20Buttons\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip\x20md-direction=\x22top\x22>{{button.name}}</md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22{{button.icon}}\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20<!--\x20END\x20Buttons\x20-->\x0a','\x20\x20<div\x20layout=\x22row\x22\x20flex>\x0a','\x20\x20\x20\x20\x20\x20<div\x20flex=\x2250\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-card>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-card-title>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-card-title-text>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22pb-16\x22\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22CHAT.BUILDER\x22>BUILDER</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-card-title-text>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-card-title>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-card-content>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<form\x20name=\x22onlineForm\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20START\x20MapKey\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20class=\x22md-block\x22\x20ng-if=\x22vm_fonc.chatWebsite.onlineForm.items.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CHAT.HELP.MAPKEY\x22>MapKey</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20ng-model=\x22vm_fonc.chatWebsite.mapKey\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22null\x22>None</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-optgroup\x20label=\x22standard\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-repeat=\x22field\x20in\x20vm_fonc.fields\x22\x20ng-value=\x22field.key\x22>{{\x20field.value\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-optgroup>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-optgroup\x20label=\x22custom\x22\x20ng-if=\x22vm_fonc.customFields.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-repeat=\x22field\x20in\x20vm_fonc.customFields\x22\x20ng-value=\x22field.key\x22>{{\x20field.value\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20END\x20MapKey\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20START\x20FromKey\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CHAT.HELP.FROMKEY\x22>FromKey</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20ng-model=\x22vm_fonc.chatWebsite.onlineForm.fromKey\x22\x20md-selected-text=\x22vm_fonc.chatWebsite.onlineForm.fromKey\x20!=\x20null\x20?\x20vm_fonc.chatWebsite.onlineForm.items[vm_fonc.chatWebsite.onlineForm.fromKey].props.title\x20:\x20\x27None\x27\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22null\x22>None</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-repeat=\x22item\x20in\x20vm_fonc.chatWebsite.onlineForm.items\x22\x20ng-if=\x22item.props.title\x22\x20ng-value=\x22$index\x22>{{\x20item.props.title\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20END\x20FromKey\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20START\x20EXPANSION\x20PANELS\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-expansion-panel-collapsed\x20md-no-sticky=\x22true\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20aria-label=\x22Down\x22\x20ng-click=\x22vm_fonc.down(item,\x20$index);\x20$event.stopPropagation()\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20aria-label=\x22Up\x22\x20ng-click=\x22vm_fonc.up(item,\x20$index);\x20$event.stopPropagation()\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-arrow-up-bold-circle-outline\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-button>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22md-title\x22>{{item.props.title\x20||\x20item.type}}</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20flex></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20aria-label=\x22Collapse\x22\x20ng-click=\x22$panel.collapse()\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-chevron-down\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-expansion-panel-expanded>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-expansion-panel-header>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20aria-label=\x22Down\x22\x20ng-click=\x22vm_fonc.down(item,\x20$index)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-arrow-down-bold-circle-outline\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-button>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20aria-label=\x22Up\x22\x20ng-click=\x22vm_fonc.up(item,\x20$index)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-arrow-up-bold-circle-outline\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22md-title\x22>{{item.props.title\x20||\x20item.type}}</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x20md-warn\x22\x20aria-label=\x22Remove\x22\x20ng-click=\x22vm_fonc.remove($index)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-delete\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-chevron-up\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-expansion-panel-header>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-expansion-panel-content>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<form-item\x20type=\x22{{item.type}}\x22\x20item=\x22item\x22\x20index=\x22$index\x22></form-item>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CHAT.VARIABLE\x22>Variable</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22null\x22>None</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-repeat=\x22variable\x20in\x20vm_fonc.variables\x22\x20ng-value=\x22variable.name\x22>{{\x20variable.name\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CHAT.CM_FIELD\x22>Contact\x20Manager\x20Field</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20ng-model=\x22item.cmField\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22null\x22>None</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-repeat=\x22field\x20in\x20vm_fonc.fields\x22\x20ng-value=\x22field.key\x22>{{\x20field.value\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-optgroup>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-optgroup\x20label=\x22custom\x22\x20ng-if=\x22vm_fonc.customFields.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-expansion-panel-content>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-expansion-panel-expanded>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-expansion-panel>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20END\x20EXPANSION\x20PANELS\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-card-content>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22pb-16\x22\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22CHAT.PREVIEW\x22>PREVIEW</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-card-content\x20flex>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.OFFLINE\x22>OFFLINE</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22chatWebsite-detail-form-container\x20chatformoffline\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20<div\x20flex>\x0a','\x20\x20\x20\x20\x20\x20</md-button>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<form\x20name=\x22offlineForm\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20ng-model=\x22vm_fonc.chatWebsite.forwardOffline\x22\x20aria-label=\x22forwardOffline\x22><span\x20translate=\x22CHAT.FORWARD_OFFLINE\x22>forwardOffline</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20class=\x22md-block\x22\x20ng-if=\x22vm_fonc.chatWebsite.forwardOffline\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CHAT.FORWARD_OFFLINE_ADDRESS\x22>FORWARD\x20OFFLINE\x20ADDRESS</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22CHAT.HELP.FORWARD_OFFLINE\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.EMAIL_MUST_BE_VALID\x22>forwardOffline\x20must\x20be\x20a\x20valid\x20e-mail\x20address</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20class=\x22md-block\x22\x20ng-if=\x22vm_fonc.chatWebsite.offlineForm.items.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20ng-model=\x22vm_fonc.chatWebsite.mapKeyOffline\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20ng-model=\x22vm_fonc.chatWebsite.offlineForm.fromKey\x22\x20md-selected-text=\x22vm_fonc.chatWebsite.offlineForm.fromKey\x20!=\x20null\x20?\x20vm_fonc.chatWebsite.offlineForm.items[vm_fonc.chatWebsite.offlineForm.fromKey].props.title\x20:\x20\x27None\x27\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-expansion-panel\x20ng-repeat=\x22item\x20in\x20vm_fonc.chatWebsite.offlineForm.items\x20track\x20by\x20$index\x22\x20md-component-id=\x22{{\x27offlinePanel\x27\x20+\x20$index}}\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-arrow-down-bold-circle-outline\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20flex></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20aria-label=\x22Collapse\x22\x20ng-click=\x22$panel.collapse()\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-optgroup\x20label=\x22standard\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<form-view\x20form=\x22vm_fonc.chatWebsite.offlineForm\x22\x20flex=\x22100\x22></form-view>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.PROACTIVEACTIONS\x22>PROACTIVEACTIONS</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22chatWebsite-detail-form-container\x20proactive\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-controller=\x22ChatWebsiteProactiveActionsController\x20as\x20vm_dc\x22\x20ng-init=\x22vm_dc.init(vm.chatWebsite,\x20vm.crudPermissions)\x22>\x0a','\x20\x20\x20\x20<div\x20class=\x22md-toolbar-tools\x22>\x0a','\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22\x20translate=\x22CHAT.PROACTIVEACTIONS\x22>ProactiveActions</span>\x0a','\x20\x20\x20\x20\x20\x20<ms-search-bar\x20on-search=\x22vm_dc.query.filter\x20=\x20query\x22\x20on-collapse=\x22vm_dc.query.filter\x20=\x20undefined\x22\x20debounce=\x22300\x22\x20direction=\x22down\x22></ms-search-bar>\x0a','\x20\x20\x20\x20\x20\x20<div\x20flex></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22vm_dc.crudPermissions.canEdit\x22\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm_dc.createOrEditChatWebsiteChatProactiveAction($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-plus\x22></md-icon>\x0a','\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-accent\x22\x20ng-show=\x22vm_dc.selectedChatWebsiteProactiveActions.length\x22>\x0a','\x20\x20\x20\x20\x20\x20<div\x20class=\x22md-toolbar-tools\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-icon-button\x22\x20ng-csv=\x22vm_dc.exportSelectedChatWebsiteProactiveActions\x22\x20csv-label=\x22true\x22\x20filename=\x22chatWebsites.csv\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-file-excel\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22vm_dc.crudPermissions.canDelete\x22\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm_dc.deleteSelectedChatWebsiteProactiveActions($event)\x22\x0a','\x20\x20<md-table-container\x20class=\x22font-size-12\x22>\x0a','\x20\x20\x20\x20\x20\x20<table\x20md-table\x20md-row-select\x20multiple\x20ng-model=\x22vm_dc.selectedChatWebsiteProactiveActions\x22\x20md-progress=\x22vm_dc.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm_dc.query.sort\x22\x20md-on-reorder=\x22vm_dc.getChatWebsiteProactiveActions\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22id\x22\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.ID\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.TYPE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22selector\x22\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.SELECTOR\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22createdAt\x22\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.CREATED_AT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20width=\x2210px\x22></th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</tr>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tbody\x20md-body\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22chatProactiveAction\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22chatProactiveAction\x20in\x20vm_dc.chatWebsiteProactiveActions.rows\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{chatProactiveAction.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{chatProactiveAction.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm_dc.createOrEditChatWebsiteChatProactiveAction($event,\x20chatProactiveAction)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.\x27\x20+\x20vm_dc.arraytype[chatProactiveAction.type].option\x20|\x20uppercase\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_dc.createOrEditChatWebsiteChatProactiveAction($event,\x20chatProactiveAction)\x22\x20\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{chatProactiveAction.selector}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_dc.createOrEditChatWebsiteChatProactiveAction($event,\x20chatProactiveAction)\x22\x20\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{chatProactiveAction.timeout}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_dc.createOrEditChatWebsiteChatProactiveAction($event,\x20chatProactiveAction)\x22\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20chatProactiveAction.createdAt\x20|\x20formatdate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20aria-label=\x22More\x22\x20translate\x20translate-attr-aria-label=\x22CHAT.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-dots-vertical\x22\x20></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-item\x20ng-if=\x22vm_dc.crudPermissions.canEdit\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm_dc.createOrEditChatWebsiteChatProactiveAction($event,\x20chatProactiveAction)\x22\x20translate=\x22CHAT.EDIT_CHATPROACTIVEACTION\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20ChatProactiveAction\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-button>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-menu-item>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-item\x20ng-if=\x22vm_dc.crudPermissions.canDelete\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm_dc.deleteConfirm(chatProactiveAction,\x20$event)\x22\x20translate=\x22CHAT.DELETE_CHATPROACTIVEACTION\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-menu-item>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-menu-content>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-if=\x22!vm_dc.chatWebsiteProactiveActions.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22row\x22\x20layout-align=\x22center\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22text-boxed-light\x22\x20translate=\x22CHAT.NO_CHATPROACTIVEACTION_AVAILABLE\x22>No\x20chatproactiveaction\x20available</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</tbody>\x0a','\x20\x20\x20\x20\x20\x20</table>\x0a','\x20\x20\x20\x20<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27CHAT.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27CHAT.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27CHAT.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm_dc.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm_dc.query.page\x22\x20md-total=\x22{{vm_dc.chatWebsiteProactiveActions.count}}\x22\x20md-on-paginate=\x22vm_dc.getChatWebsiteProactiveActions\x22\x20md-page-select></md-table-pagination>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.DISPOSITIONS\x22>DISPOSITIONS</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22chatWebsite-detail-form-container\x20chatdispositions\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-controller=\x22ChatWebsiteChatDispositionsController\x20as\x20vm_dc\x22\x20ng-init=\x22vm_dc.init(vm.chatWebsite,\x20vm.crudPermissions)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22vm_dc.crudPermissions.canEdit\x22\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm_dc.createOrEditChatWebsiteChatDisposition($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20chatDisposition\x22\x20translate\x20translate-attr-label=\x22CHAT.ADD_CHATDISPOSITION\x22>\x0a','\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-accent\x22\x20ng-show=\x22vm_dc.selectedChatWebsiteChatDispositions.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20</button>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22vm_dc.crudPermissions.canDelete\x22\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm_dc.deleteSelectedChatWebsiteChatDispositions($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22CHAT.DELETE_SELECTED\x22>\x0a','\x20\x20</md-toolbar>\x0a','\x20\x20\x20\x20\x20\x20<table\x20md-table\x20md-row-select\x20multiple\x20ng-model=\x22vm_dc.selectedChatWebsiteChatDispositions\x22\x20md-progress=\x22vm_dc.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm_dc.query.sort\x22\x20md-on-reorder=\x22vm_dc.getChatWebsiteChatDispositions\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_dc.createOrEditChatWebsiteChatDisposition($event,\x20chatDisposition)\x22\x20\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{chatDisposition.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_dc.createOrEditChatWebsiteChatDisposition($event,\x20chatDisposition)\x22\x20\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_dc.createOrEditChatWebsiteChatDisposition($event,\x20chatDisposition)\x22\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20chatDisposition.createdAt\x20|\x20formatdate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20class=\x22actions\x22\x20\x20ng-if=\x22!vm_dc.crudPermissions.readOnly\x22\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-content\x20width=\x223\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm_dc.createOrEditChatWebsiteChatDisposition($event,\x20chatDisposition)\x22\x20translate=\x22CHAT.EDIT_CHATDISPOSITION\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20ChatDisposition\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-if=\x22!vm_dc.chatWebsiteChatDispositions.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20colspan=\x225\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22text-boxed-light\x22\x20translate=\x22CHAT.NO_CHATDISPOSITION_AVAILABLE\x22>No\x20chatdisposition\x20available</span>\x0a','\x20\x20</md-table-container>\x0a','\x20\x20\x20\x20<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27CHAT.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27CHAT.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27CHAT.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm_dc.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm_dc.query.page\x22\x20md-total=\x22{{vm_dc.chatWebsiteChatDispositions.count}}\x22\x20md-on-paginate=\x22vm_dc.getChatWebsiteChatDispositions\x22\x20md-page-select></md-table-pagination>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.CANNEDANSWERS\x22>CANNEDANSWERS</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22chatWebsite-detail-form-container\x20chatcannedanswers\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-controller=\x22ChatWebsiteChatCannedAnswersController\x20as\x20vm_dc\x22\x20ng-init=\x22vm_dc.init(vm.chatWebsite,\x20vm.crudPermissions)\x22>\x0a','\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-default\x22\x20ng-hide=\x22vm_dc.selectedChatWebsiteChatCannedAnswers.length\x22>\x0a','\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22\x20translate=\x22CHAT.CHATCANNEDANSWERS\x22>ChatCannedAnswers</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22vm_dc.crudPermissions.canEdit\x22\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm_dc.createOrEditChatWebsiteChatCannedAnswer($event)\x22\x0a','\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-accent\x22\x20ng-show=\x22vm_dc.selectedChatWebsiteChatCannedAnswers.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22>{{vm_dc.selectedChatWebsiteChatCannedAnswers.length}}\x20{{vm_dc.selectedChatWebsiteChatCannedAnswers.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-delete\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20<table\x20md-table\x20md-row-select\x20multiple\x20ng-model=\x22vm_dc.selectedChatWebsiteChatCannedAnswers\x22\x20md-progress=\x22vm_dc.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm_dc.query.sort\x22\x20md-on-reorder=\x22vm_dc.getChatWebsiteChatCannedAnswers\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22key\x22\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.KEY\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22value\x22\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22description\x22\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.DESCRIPTION\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</thead>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_dc.createOrEditChatWebsiteChatCannedAnswer($event,\x20chatCannedAnswer)\x22\x20\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{chatCannedAnswer.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_dc.createOrEditChatWebsiteChatCannedAnswer($event,\x20chatCannedAnswer)\x22\x20\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{chatCannedAnswer.value}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_dc.createOrEditChatWebsiteChatCannedAnswer($event,\x20chatCannedAnswer)\x22\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-button>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm_dc.createOrEditChatWebsiteChatCannedAnswer($event,\x20chatCannedAnswer)\x22\x20translate=\x22CHAT.EDIT_CHATCANNEDANSWER\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm_dc.deleteConfirm(chatCannedAnswer,\x20$event)\x22\x20translate=\x22CHAT.DELETE_CHATCANNEDANSWER\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20ChatCannedAnswer\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-menu>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-if=\x22!vm_dc.chatWebsiteChatCannedAnswers.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20colspan=\x227\x22>\x0a','\x20\x20\x20\x20<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27CHAT.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27CHAT.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27CHAT.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm_dc.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm_dc.query.page\x22\x20md-total=\x22{{vm_dc.chatWebsiteChatCannedAnswers.count}}\x22\x20md-on-paginate=\x22vm_dc.getChatWebsiteChatCannedAnswers\x22\x20md-page-select></md-table-pagination>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.VIDEO\x22>VIDEO</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22chatWebsite-detail-form-container\x20vidaoo\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22CHAT.VIDAOO\x22>VIDAOO</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<form\x20name=\x22vidaooForm\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.chatWebsite.vidaooEscalation\x22\x20aria-label=\x22vidaooEscalation\x22\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20><span\x20translate=\x22CHAT.VIDAOOESCALATION\x22>vidaooEscalation</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.chatWebsite.vidaooEscalation\x20==\x20true\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CHAT.VIDAOOAPIKEY\x22>vidaooApiKey</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22vidaooApiKey\x22\x20\x20ng-model=\x22vm.chatWebsite.vidaooApiKey\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ERRORS.VIDAOOAPIKEY_REQUIRED\x22>vidaooApiKey\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.ACTIONS\x22>ACTIONS</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-controller=\x22ChatWebsiteActionsController\x20as\x20vm_ac\x22\x20ng-init=\x22vm_ac.init(vm.chatWebsite,\x20vm.crudPermissions)\x22\x20class=\x22content\x22\x20md-background-bg\x20layout=\x22row\x22\x20layout-align=\x22start\x20start\x22>\x0a','\x20\x20<div\x20class=\x22navigation-simple\x20sidenav\x20main-sidenav\x20md-background-bg\x20md-whiteframe-1dp\x22\x20ms-scroll\x20layout=\x22column\x22\x20flex=\x2220\x22\x20ng-if=\x22vm_ac.crudPermissions.canEdit\x22>\x0a','\x20\x20\x20\x20<md-list\x20class=\x22no-padding\x22>\x0a','\x20\x20\x20\x20\x20\x20<md-subheader\x20class=\x22md-no-sticky\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.APPLICATIONS_LIST\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Applications\x20List\x0a','\x20\x20\x20\x20\x20\x20</md-subheader>\x0a','\x20\x20\x20\x20</md-list>\x0a','\x20\x20\x20\x20<md-list\x20ng-sortable=\x22vm_ac.list\x22>\x0a','\x20\x20\x20\x20\x20\x20<md-list-item\x20class=\x22handle\x22\x20ng-repeat=\x22a\x20in\x20vm_ac.apps\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<p\x20class=\x22text-truncate\x22\x20translate=\x22CHAT.{{(a.alias\x20||\x20a.appType)\x20|\x20uppercase}}\x22>{{a.alias\x20||\x20a.appType}}</p>\x0a','\x20\x20\x20\x20\x20\x20</md-list-item>\x0a','\x20\x20\x20\x20<!--\x20/\x20SIDENAV\x20CONTENT\x20-->\x0a','\x20\x20<!--\x20/\x20SIDENAV\x20-->\x0a','\x20\x20<div\x20flex></div>\x0a','\x20\x20<!--\x20MAIN\x20-->\x0a','\x20\x20<div\x20class=\x22main\x20scrollable\x20md-background-bg\x20md-whiteframe-1dp\x22\x20ms-scroll\x20layout=\x22column\x22\x20flex=\x22{{vm_ac.crudPermissions.canEdit\x20?\x2075\x20:\x20100}}\x22>\x0a','\x20\x20\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-default\x22\x20ng-hide=\x22vm_ac.selectedChatWebsiteApps.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<ms-search-bar\x20on-search=\x22vm_ac.query.filter\x20=\x20query\x22\x20on-collapse=\x22vm_ac.query.filter\x20=\x20undefined\x22\x20debounce=\x22300\x22></ms-search-bar>\x0a','\x20\x20\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-accent\x22\x20ng-show=\x22vm_ac.selectedChatWebsiteApps.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22>{{vm_ac.selectedChatWebsiteApps.length}}\x20{{vm_ac.selectedChatWebsiteApps.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22CHAT.DELETE_SELECTED\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-delete\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20<table\x20md-table\x20\x20md-row-select\x20multiple\x20ng-model=\x22vm_ac.selectedChatWebsiteApps\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20width=\x2210px\x22></th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20width=\x2210px\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.PRIORITY\x22>Priority</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>Type</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</tr>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<tbody\x20md-body\x20ng-sortable=\x22vm_ac.applications\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22app\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22app\x20in\x20vm_ac.chatWebsiteApps.rows\x20|\x20filter:\x20vm_ac.query.filter\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-click=\x22vm_ac.editChatWebsiteApp($event,\x20$index)\x22>{{app.app.toLowerCase()\x20===\x20\x27agi\x27\x20?\x20\x27Cally-Square\x27\x20:\x20app.app\x20|\x20ucfirst}}<span\x20ng-if=\x22app.appType.toLowerCase()\x20===\x20\x27custom\x27\x22>*</span></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-click=\x22vm_ac.editChatWebsiteApp($event,\x20$index)\x22><span\x20class=\x22text-truncate\x22\x20style=\x22width:200px\x22>{{app.appdata}}</span></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-click=\x22vm_ac.editInterval($event,\x20$index)\x22>{{app.IntervalId\x20?\x20\x27From\x20List\x27\x20:\x20app.interval}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-timer\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{app.IntervalId\x20?\x20\x27From\x20List\x27\x20:\x20(app.interval\x20===\x20\x27*,*,*,*\x27\x20?\x20\x27Always\x27\x20:\x20\x27Custom\x27)}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-button>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20class=\x22actions\x22\x20ng-if=\x22!vm_ac.crudPermissions.readOnly\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-item\x20ng-if=\x22vm_ac.crudPermissions.canEdit\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm_ac.editInterval($event,\x20$index)\x22\x20translate=\x22VOICE.EDIT_INTERVAL\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Interval\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm_ac.deleteConfirm(app,\x20$index,\x20$event)\x22\x20translate=\x22VOICE.DELETE_APP\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20App\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-menu-content>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-menu>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm_ac.chatWebsiteApps.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20colspan=\x227\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</table>\x0a','<!--\x20/\x20QUEUES\x20TABLE\x20-->\x0a','<!--\x20/\x20NO\x20RESULTS\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22chatWebsite-detail-form-container\x20interactions\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-default\x22\x20ng-hide=\x22vm_dc.selectedChatWebsiteInteractions.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22column\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x20\x27md-fab\x20md-mini\x20md-accent-bg\x27:\x20vm_dc.query.search\x20}\x22\x20aria-label=\x22Filter\x22\x20translate\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22DASHBOARDS.FILTER\x22\x20ng-click=\x22vm_dc.openAdvancedSearch()\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22{{\x20vm_dc.query.search\x20?\x20\x27icon-filter\x27\x20:\x20\x27icon-filter-outline\x27\x20}}\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm_dc.getChatWebsiteInteractions()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22refresh\x20Interactions\x22\x20translate\x20translate-attr-label=\x22CHAT.REFRESH_INTERACTIONS\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22>{{vm_dc.selectedChatWebsiteInteractions.length}}\x20{{vm_dc.selectedChatWebsiteInteractions.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-icon-button\x22\x20ng-csv=\x22vm_dc.exportSelectedChatWebsiteInteractions\x22\x20csv-label=\x22true\x22\x20filename=\x22chatWebsites.csv\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22vm_dc.crudPermissions.canDelete\x22\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm_dc.deleteSelectedChatWebsiteInteractions($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm_dc.query.sort\x22\x20md-on-reorder=\x22vm_dc.getChatWebsiteInteractions\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20\x20class=\x22no-padding\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-eye\x22\x20class=\x22s16\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.CONTACT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.STARTEDAT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22closed\x22\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.AGENT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22tag\x22\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.TAGS\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22interaction\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22interaction\x20in\x20vm_dc.chatWebsiteInteractions.rows\x22\x0a','ng-class=\x22{\x27text-bold\x20text-italic\x27:\x20interaction.unreadMessages\x20>\x200}\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{interaction.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20class=\x22no-padding\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22!interaction.closed\x20&&\x20interaction.Users.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-eye\x22\x20class=\x22s16\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-repeat=\x22user\x20in\x20interaction.Users\x22>{{\x20user.fullname\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22!$last\x22>,\x20</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20class=\x22no-padding\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22interaction.unreadMessages\x20>\x200\x22\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22badge\x20white-fg\x20md-primary-bg\x22\x20layout-margin>{{\x20interaction.unreadMessages}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22interaction.attach\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-paperclip\x22\x20class=\x22s16\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22column\x22\x20layout-align=\x22start\x20start\x22>\x0a','\x20\x20\x20\x20<span\x20class=\x22font-size-12\x20text-truncate\x20contact-text\x22\x20ng-class=\x22{\x27margin-bottom-0\x27\x20:\x20interaction.contactInfo}\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20layout-margin>{{\x20interaction.contactName\x20}}</span>\x0a','\x20\x20\x20\x20<span\x20ng-if=\x22interaction.contactInfo\x22\x20class=\x22font-size-12\x20text-truncate\x20contact-text\x20margin-top-0\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20layout-margin>{{\x20interaction.contactInfo\x20}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20interaction.createdAt\x20|\x20formatdate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22{{interaction.lastMsgDirection\x20==\x20\x27in\x27\x20?\x20\x27icon-arrow-down-bold\x20blue-grey-800-fg\x27\x20:\x20\x27icon-arrow-up-bold\x20blue-grey-300-fg\x27}}\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22column\x22\x20layout-align=\x22center\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22text-truncate\x22>{{\x20interaction.lastMsgAt\x20|\x20formatdate\x20}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22interaction.closed\x20===\x200\x22\x20class=\x22green-fg\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.OPENED\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.CLOSED\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22interaction.disposition\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-\x20{{\x20interaction.disposition\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20\x20\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22interaction.Tags.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-repeat=\x22tag\x20in\x20interaction.Tags\x22>{{tag.name}}<span\x20ng-if=\x22!$last\x22>,\x20</span></span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-style=\x22{\x27color\x27:\x20interaction.Tags.length\x20==\x201\x20&&\x20interaction.Tags[0].color\x20}\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20class=\x22actions\x22\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-item>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm_dc.spychatInteraction($event,\x20interaction)\x22\x20translate=\x22CHAT.SPYINTERACTION\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Spy\x20Interaction\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-item>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Download\x20with\x20attachments\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-button>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-primary\x22\x20ng-click=\x22vm_dc.chatInteractionDownload(interaction,\x20$event)\x22\x20translate=\x22CHAT.DOWNLOAD_WITHOUT_ATTACHMENTS\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Download\x20without\x20attachments\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-item\x20ng-if=\x22vm_dc.crudPermissions.canDelete\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Interaction\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-if=\x22!vm_dc.chatWebsiteInteractions.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20colspan=\x2212\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22text-boxed-light\x22\x20translate=\x22CHAT.NO_INTERACTION_AVAILABLE\x22>No\x20interaction\x20available</span>\x0a','\x20\x20\x20\x20<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27CHAT.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27CHAT.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27CHAT.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm_dc.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm_dc.query.page\x22\x20md-total=\x22{{vm_dc.chatWebsiteInteractions.count}}\x22\x20md-on-paginate=\x22vm_dc.getChatWebsiteInteractions\x22\x20md-page-select></md-table-pagination>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22chatWebsite-detail-form-container\x20offlinemessages\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-controller=\x22ChatWebsiteOfflineMessagesController\x20as\x20vm_dc\x22\x20ng-init=\x22vm_dc.init(vm.chatWebsite,\x20vm.crudPermissions)\x22>\x0a','\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-accent\x22\x20ng-show=\x22vm_dc.selectedChatWebsiteOfflineMessages.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22>{{vm_dc.selectedChatWebsiteOfflineMessages.length}}\x20{{vm_dc.selectedChatWebsiteOfflineMessages.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected</span>\x0a','\x20\x20\x20\x20\x20\x20<table\x20md-table\x20md-row-select\x20multiple\x20ng-model=\x22vm_dc.selectedChatWebsiteOfflineMessages\x22\x20md-progress=\x22vm_dc.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22offlineMessage\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22offlineMessage\x20in\x20vm_dc.chatWebsiteOfflineMessages.rows\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20\x20\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{offlineMessage.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20\x20\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{offlineMessage.Contact.firstName}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20class=\x22actions\x22\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-item>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm_dc.showOfflineMessageChatWebsiteOfflineMessage($event,\x20offlineMessage)\x22\x20translate=\x22CHAT.SHOW_OFFLINEMESSAGE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-item\x20ng-if=\x22vm_dc.crudPermissions.canDelete\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm_dc.deleteConfirm(offlineMessage,\x20$event)\x22\x20translate=\x22CHAT.DELETE_OFFLINEMESSAGE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20OfflineMessage\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-if=\x22!vm_dc.chatWebsiteOfflineMessages.rows.length\x22>\x0a','<!--\x20MAIN\x20-->\x0a','<md-toolbar\x20class=\x22md-table-toolbar\x20md-default\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22\x20translate=\x22CHAT.AGENTS\x22>Agents</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<ms-search-bar\x20on-search=\x22vm.query.filter\x20=\x20query;\x20vm.onInit()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20on-collapse=\x22vm.query.filter\x20=\x20undefined;\x20vm.onInit()\x22\x20debounce=\x22300\x22></ms-search-bar>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20ng-model=\x22vm.query.globalStatusFilter\x22\x20class=\x22md-caption\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20value=\x22pause\x22>{{\x20\x27CHAT.PAUSE\x27\x20|\x20translate\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20value=\x22*pause\x22>{{\x20\x27CHAT.PARTIALPAUSE\x27\x20|\x20translate\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20value=\x22busy\x22>{{\x20\x27CHAT.BUSY\x27\x20|\x20translate\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20value=\x22idle\x22>{{\x20\x27CHAT.IDLE\x27\x20|\x20translate\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20ng-if=\x22vm.isPause(vm.query.globalStatusFilter)\x22\x20ng-model=\x22vm.query.pauseTypeFilter\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27\x27\x22>All</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20value=\x22DEFAULT\x20PAUSE\x22>DEFAULT\x20PAUSE</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20value=\x22ACW\x22>ACW</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22pause.name\x22\x20ng-repeat=\x22pause\x20in\x20vm.pauses.rows\x22>{{pause.name}}</md-option>\x0a','</md-toolbar>\x0a','<!--\x20AGENT\x20TABLE\x20-->\x0a','\x20\x20\x20\x20<table\x20md-table\x20multiple\x20md-progress=\x22vm.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm.query.order\x22\x20md-on-reorder=\x22vm.onInit\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20ng-if=\x22vm.license.chat\x22\x20class=\x22bv\x20bl\x20text-center\x22\x20colspan=\x222\x22>{{\x20\x27CHAT.CHAT\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20ng-if=\x22vm.license.messaging\x22\x20class=\x22bv\x20bl\x20text-center\x22\x20colspan=\x222\x22>{{\x20\x27SMS.SMS\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20ng-if=\x22vm.license.openchannel\x22\x20class=\x22bv\x20bl\x20text-center\x22\x20colspan=\x222\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27OPENCHANNEL.OPENCHANNEL\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20ng-if=\x22vm.license.fax\x22\x20class=\x22bv\x20bl\x20text-center\x22\x20colspan=\x222\x22>{{\x20\x27FAX.FAX\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20ng-if=\x22vm.license.whatsapp\x22\x20class=\x22bv\x20bl\x20text-center\x22\x20colspan=\x222\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20class=\x22bl\x20custom-column\x22\x20md-column\x20md-order-by=\x22globalStatus\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20class=\x22bl\x20custom-column\x22\x20md-column\x20md-order-by=\x22lastLoginAt\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.LOGIN_TIME\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20class=\x22bl\x20custom-column\x22\x20md-column\x20md-order-by=\x22lastPauseAt\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.PAUSE_TIME\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20ng-if=\x22vm.license.chat\x22\x20class=\x22bl\x20text-center\x22>{{\x20\x27CHAT.STATUS\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-battery-standard\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip>{{\x20\x27CHAT.CAPACITY\x27\x20|\x20translate\x20}}</md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20ng-if=\x22vm.license.mail\x22\x20class=\x22bl\x20text-center\x22>{{\x20\x27MAIL.STATUS\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20ng-if=\x22vm.license.mail\x22\x20class=\x22text-center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip>{{\x20\x27MAIL.CAPACITY\x27\x20|\x20translate\x20}}</md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20ng-if=\x22vm.license.messaging\x22\x20class=\x22bl\x20text-center\x22>{{\x20\x27SMS.STATUS\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip>{{\x20\x27SMS.CAPACITY\x27\x20|\x20translate\x20}}</md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20ng-if=\x22vm.license.openchannel\x22\x20class=\x22text-center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip>{{\x20\x27OPENCHANNEL.CAPACITY\x27\x20|\x20translate\x20}}</md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20ng-if=\x22vm.license.fax\x22\x20class=\x22bl\x20text-center\x22>{{\x20\x27FAX.STATUS\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20ng-if=\x22vm.license.fax\x22\x20class=\x22text-center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip>{{\x20\x27FAX.CAPACITY\x27\x20|\x20translate\x20}}</md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20ng-if=\x22vm.license.whatsapp\x22\x20class=\x22text-center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip>{{\x20\x27WHATSAPP.CAPACITY\x27\x20|\x20translate\x20}}</md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20</thead>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<tbody\x20md-body>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm.order.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20colspan=\x2219\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22row\x22\x20layout-align=\x22center\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-select=\x22vm.agents[value]\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22(id,\x20value)\x20in\x20vm.order\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20class=\x22bt\x20padding-5\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<img\x20class=\x22avatar\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22column\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>{{vm.agents[value].fullname}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>{{vm.agents[value].internal}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22vm.license.screenrecording\x20&&\x20(vm.agents[value].phoneBarEnableScreenRecordingByAgent\x20||\x20vm.agents[value].phoneBarEnableAutomaticScreenRecording)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22column\x22\x20ng-if=\x22vm.agents[value].screenrecording\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-camcorder-box\x22\x20style=\x22color:\x20green;\x20font-size:\x2036px;\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22icon-camcorder-box26\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.TOOLTIP_SCREENRECORDING_ON\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22column\x22\x20ng-if=\x22!vm.agents[value].screenrecording\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-camcorder-box\x22\x20style=\x22color:\x20gray\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22text-boxed\x20md-background-bg\x20bl\x20bt\x20padding-5\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27idle\x27:\x27lime-300-bg\x27,\x27busy\x27:\x27indigo-100-bg\x27,\x27*pause\x27:\x27amber-50-bg\x27,\x27pause\x27:\x27amber-200-bg\x27}[vm.agents[value].globalStatus]\x22>{{\x20vm.isPause(vm.agents[value].globalStatus)\x20?\x20\x27\x27\x20:\x20vm.agents[value].globalStatus\x20|\x20uppercase\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.isPause(vm.agents[value].globalStatus)\x20?\x20(vm.isPartialPause(vm.agents[value].globalStatus)\x20?\x20\x27*\x27+vm.agents[value].pauseType\x20||\x20\x27DEFAULT\x20PAUSE\x27\x20\x20:\x20vm.agents[value].pauseType\x20||\x20\x27DEFAULT\x20PAUSE\x27)\x20:\x20\x27\x27}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20class=\x22bt\x20custom-column\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hhours}}:{{mminutes}}:{{sseconds}}</timer>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<timer\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22vm.isPause(vm.agents[value].globalStatus)\x20||\x20vm.isPartialPause(vm.agents[value].globalStatus)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20start-time=\x22vm.agents[value].lastPauseAt\x22\x20interval=\x221000\x22>{{\x20days\x20>\x200\x20?\x20days\x20+\x20\x27d\x27\x20:\x20\x27\x27\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20class=\x22bt\x20bl\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22!vm.agents[value].onhold\x22\x20class=\x22text-boxed\x20md-background-bg\x20bl\x20bt\x20padding-5\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27idle\x27:\x27lime-300-bg\x27,\x27talking\x27:\x27indigo-100-bg\x27,\x27ringing\x27:\x27orange-400-bg\x27,\x27pause\x27:\x27amber-200-bg\x27}[vm.agents[value].voiceStatus]\x22>{{\x20vm.agents[value].voiceStatus\x20|\x20uppercase\x20}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22text-boxed\x20md-background-bg\x20bl\x20bt\x20padding-5\x20orange-400-bg\x22>ONHOLD</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22column\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22vm.agents[value].queue\x22\x20class=\x22padding-5\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27idle\x27:\x27lime-300-fg\x27,\x27maxcapacity\x27:\x27red-A200-fg\x27,\x27working\x27:\x27indigo-100-fg\x27,\x27pause\x27:\x27amber-200-fg\x27}[vm.agents[value].voiceStatus]\x22>{{\x20vm.agents[value].queue\x20}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22vm.agents[value].destconnectedlinenum\x22\x20class=\x22padding-5\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27idle\x27:\x27lime-300-fg\x27,\x27maxcapacity\x27:\x27red-A200-fg\x27,\x27working\x27:\x27indigo-100-fg\x27,\x27pause\x27:\x27amber-200-fg\x27}[vm.agents[value].voiceStatus]\x22>{{\x20vm.agents[value].destconnectedlinenum\x20}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22padding-5\x22\x20ng-if=\x22vm.agents[value].queue\x20||\x20vm.agents[value].destconnectedlinenum\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<timer\x20start-time=\x22vm.agents[value].voiceStatusTime\x22\x20interval=\x221000\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27idle\x27:\x27lime-300-fg\x27,\x27maxcapacity\x27:\x27red-A200-fg\x27,\x27working\x27:\x27indigo-100-fg\x27,\x27pause\x27:\x27amber-200-fg\x27}[vm.agents[value].voiceStatus]\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hhours}}:{{mminutes}}:{{sseconds}}</timer>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20class=\x22bt\x20bl\x22\x20ng-if=\x22vm.license.chat\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22row\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22text-boxed\x20md-background-bg\x20bl\x20bt\x20padding-5\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27idle\x27:\x27lime-300-bg\x27,\x27maxcapacity\x27:\x27red-A200-bg\x27,\x27working\x27:\x27indigo-100-bg\x27,\x27pause\x27:\x27amber-200-bg\x27}[vm.agents[value].chatStatus]\x22>{{\x20vm.agents[value].chatStatus\x20|\x20uppercase\x20}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-number\x20class=\x22bt\x20text-center\x20font-size-20\x22\x20ng-if=\x22vm.license.chat\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.agents[value].chatCurrentCapacity\x20}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20class=\x22bl\x20bt\x22\x20ng-if=\x22vm.license.mail\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27idle\x27:\x27lime-300-bg\x27,\x27maxcapacity\x27:\x27red-A200-bg\x27,\x27working\x27:\x27indigo-100-bg\x27,\x27pause\x27:\x27amber-200-bg\x27}[vm.agents[value].mailStatus]\x22>{{\x20vm.agents[value].mailStatus\x20|\x20uppercase\x20}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20class=\x22bt\x20padding-5\x20text-center\x20font-size-20\x22\x20ng-if=\x22vm.license.mail\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.agents[value].mailCurrentCapacity\x20}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20class=\x22bl\x20bt\x22\x20ng-if=\x22vm.license.messaging\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20class=\x22bt\x20padding-5\x20text-center\x20font-size-20\x22\x20ng-if=\x22vm.license.messaging\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27idle\x27:\x27lime-300-fg\x27,\x27maxcapacity\x27:\x27red-A200-fg\x27,\x27working\x27:\x27indigo-100-fg\x27,\x27pause\x27:\x27amber-200-fg\x27}[vm.agents[value].smsStatus]\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.agents[value].smsCurrentCapacity\x20}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20class=\x22bt\x20bl\x22\x20ng-if=\x22vm.license.openchannel\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27idle\x27:\x27lime-300-bg\x27,\x27maxcapacity\x27:\x27red-A200-bg\x27,\x27working\x27:\x27indigo-100-bg\x27,\x27pause\x27:\x27amber-200-bg\x27}[vm.agents[value].openchannelStatus]\x22>{{\x20vm.agents[value].openchannelStatus\x20|\x20uppercase\x20}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20class=\x22bt\x20padding-5\x20text-center\x20font-size-20\x22\x20ng-if=\x22vm.license.openchannel\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.agents[value].openchannelCurrentCapacity\x20}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20class=\x22bt\x20bl\x22\x20ng-if=\x22vm.license.fax\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27idle\x27:\x27lime-300-bg\x27,\x27maxcapacity\x27:\x27red-A200-bg\x27,\x27working\x27:\x27indigo-100-bg\x27,\x27pause\x27:\x27amber-200-bg\x27}[vm.agents[value].faxStatus]\x22>{{\x20vm.agents[value].faxStatus\x20|\x20uppercase\x20}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20class=\x22bt\x20padding-5\x20text-center\x20font-size-20\x22\x20ng-if=\x22vm.license.fax\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.agents[value].faxCurrentCapacity\x20}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20class=\x22bl\x20bt\x22\x20ng-if=\x22vm.license.whatsapp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27idle\x27:\x27lime-300-fg\x27,\x27maxcapacity\x27:\x27red-A200-fg\x27,\x27working\x27:\x27indigo-100-fg\x27,\x27pause\x27:\x27amber-200-fg\x27}[vm.agents[value].whatsappStatus]\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.agents[value].whatsappCurrentCapacity\x20}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20class=\x22bl\x20bt\x20padding-5\x20text-center\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22STAFF.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-content\x20width=\x224\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-item>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.logout(vm.agents[value],\x20$event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22CHAT.LOGOUT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Logout\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.queueAdd(vm.agents[value],\x20$event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22CHAT.AGENTADD_QUEUE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Add\x20Agent\x20In\x20Queue\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-item\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22vm.license.screenrecording\x20&&\x20vm.agents[value].phoneBarEnableScreenRecordingByAgent\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22$mdMenu.open()\x22\x20class=\x22text-capitalize\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22CHAT.SCREENRECORDING\x22>Screen\x20Recording\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-content>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-item\x20ng-if=\x22!vm.agents[value].screenrecording\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.screenRecording(vm.agents[value],\x20true)\x22><em\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22CHAT.START_SCREENRECORDING\x22>Start\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Screen\x20Recording</em></md-button>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-item\x20ng-if=\x22vm.agents[value].screenrecording\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.screenRecording(vm.agents[value],\x20false)\x22><em\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22CHAT.STOP_SCREENRECORDING\x22>Stop\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-menu-content>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22CHAT.PAUSE\x22>Pause</md-button>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.pause(vm.agents[value])\x22><em\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22CHAT.DEFAULT_PAUSE\x22>Default\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Pause</em></md-button>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-item\x20ng-if=\x22vm.pauses.rows.length\x22\x20ng-repeat=\x22pause\x20in\x20vm.pauses.rows\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22vm.agents[value].voicePause\x20&&\x20pause.name\x20===\x20vm.agents[value].pauseType\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.pause(vm.agents[value],\x20pause.name)\x22>{{pause.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-item\x20ng-if=\x22vm.isPause(vm.agents[value].globalStatus)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Unpause\x0a','\x20\x20\x20\x20\x20\x20\x20\x20</tbody>\x0a','\x20\x20\x20\x20</table>\x0a','<md-table-pagination\x0a','\x20\x20\x20\x20md-label=\x22{page:\x20\x27{{\x27CHAT.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27CHAT.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27CHAT.OF\x27\x20|\x20translate}}\x27}\x22\x0a','\x20\x20\x20\x20md-limit=\x22vm.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm.query.page\x22\x0a','\x20\x20\x20\x20md-total=\x22{{vm.filteredAgents.length}}\x22\x20md-on-paginate=\x22vm.onInit\x22\x20md-page-select></md-table-pagination>\x0a','<!--\x20/\x20AGENT\x20TABLE\x20-->\x0a','<!--\x20/\x20MAIN\x20-->','app/main/apps/chat/views/realtime/queues/view.html','\x20\x20\x20\x20\x20\x20\x20\x20<ms-search-bar\x20on-search=\x22vm.query.filter\x20=\x20query;\x22\x20on-collapse=\x22vm.query.filter\x20=\x20undefined;\x22\x20debounce=\x22300\x22></ms-search-bar>\x0a','<!--\x20QUEUE\x20TABLE\x20-->\x0a','<md-table-container>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22name\x22>{{\x20\x27CHAT.NAME\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x20\x27CHAT.LOGGED_IN\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x20\x27CHAT.PAUSED\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x20\x27CHAT.WAITING\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20width=\x2210px\x22></th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm.queues\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.NO_AVAILABLE_INFO\x22>No\x20Available\x20Info</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22vm.queues[value]\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22(id,\x20value)\x20in\x20vm.order\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell>{{vm.queues[value].name}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22font-size-20\x20grey-fg\x22>{{vm.queues[value].loggedInDb\x20||\x200}}\x20({{vm.queues[value].loggedIn\x20||\x200}})</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22font-size-20\x20grey-fg\x22>{{vm.queues[value].paused\x20||\x200}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22font-size-20\x20grey-fg\x22>{{vm.queues[value].waiting\x20||\x200}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20aria-label=\x22More\x22\x20translate\x20translate-attr-aria-label=\x22CHAT.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-dots-vertical\x22\x20></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-item>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.agentAdd($event,\x20vm.queues[value])\x22\x20translate=\x22CHAT.AGENTSADD_QUEUE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Add\x20Agents\x20to\x20queue\x0a','</md-table-container>\x0a','<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27CHAT.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27CHAT.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27CHAT.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm.query.page\x22\x20md-total=\x22{{vm.count}}\x22\x20md-on-paginate=\x22vm.getQueues\x22\x20md-page-select></md-table-pagination>\x0a','<!--\x20/\x20QUEUE\x20TABLE\x20-->\x0a','<!--\x20/\x20MAIN\x20-->\x0a','<div\x20id=\x22realtime\x22\x20class=\x22page-layout\x20simple\x20tabbed\x22\x20layout=\x22column\x22\x20ng-cloak>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tab>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tab-label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.AGENTS\x22>Agents</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-tab-label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CHAT.QUEUES\x22>Queues</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-tabs>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-card\x20ui-view></md-card>\x0a','app/main/apps/contactmanager/views/companies/companies.html','<div\x20id=\x22companies\x22\x20class=\x22page-layout\x20simple\x20left-sidenav\x20inner-sidenav\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-account-circle\x22\x20class=\x22s24\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20id=\x22search\x22\x20placeholder=\x22Search\x20for\x20anyone\x22\x20type=\x22text\x22\x20ng-model=\x22vm.query.filter\x22\x20ng-model-options=\x22{\x20debounce:\x201000\x20}\x22\x20translate\x20translate-attr-placeholder=\x22CONTACTMANAGER.SEARCH_FOR_ANYONE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22selected-companies-count\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>{{vm.selectedCompanies.length}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CONTACTMANAGER.SELECTED\x22>selected</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deselectCompanies()\x22\x20translate=\x22CONTACTMANAGER.SELECT_NONE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-icon-button\x22\x20ng-csv=\x22vm.exportSelectedCompanies\x22\x20csv-label=\x22true\x22\x20filename=\x22companies.csv\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x22\x20ng-click=\x22vm.deleteSelectedCompanies($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22CONTACTMANAGER.DELETE_SELECTED\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20COMPANY\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<table\x20md-table\x20\x20md-row-select\x20multiple\x20\x20\x20ng-model=\x22vm.selectedCompanies\x22\x20md-progress=\x22vm.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm.query.sort\x22\x20md-on-reorder=\x22vm.getCompanies\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22id\x22>{{\x20\x27CONTACTMANAGER.ID\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22description\x22>{{\x20\x27CONTACTMANAGER.DESCRIPTION\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm.companies.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20colspan=\x224\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CONTACTMANAGER.NO_AVAILABLE_INFO\x22>No\x20Available\x20Info</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22company\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22company\x20in\x20vm.companies.rows\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22company.userpic\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{company.name}}\x22\x20ng-src=\x22api/users/{{company.id}}/avatar\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22!company.userpic\x20&&\x20(vm.table\x20==\x20\x27users\x27\x20||\x20vm.table\x20==\x20\x27agents\x27)\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{company.name}}\x22\x20ng-src=\x22assets/images/avatars/profile.png\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(company,\x20ev)\x20:\x20vm.createOrEditCompany($event,\x20company)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22id\x20\x22\x20>{{company.id}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(company,\x20ev)\x20:\x20vm.createOrEditCompany($event,\x20company)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22name\x20\x22\x20>{{company.name}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22description\x20\x22\x20>{{company.description}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22CONTACTMANAGER.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.editstate(company,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22CONTACTMANAGER.EDIT_COMPANY\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.gotocontactsgoto(company,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22CONTACTMANAGER.GOTOCONTACTS_COMPANY\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deleteconfirm(company,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22CONTACTMANAGER.DELETE_COMPANY\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27CONTACTMANAGER.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27CONTACTMANAGER.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27CONTACTMANAGER.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm.query.page\x22\x20md-total=\x22{{vm.companies.count}}\x22\x20md-on-paginate=\x22vm.getCompanies\x22\x20md-page-select></md-table-pagination>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20COMPANY\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20ADD\x20COMPANY\x20BUTTON\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20company\x22\x20translate\x20translate-attr-aria-label=\x22CONTACTMANAGER.ADD_COMPANY\x22>\x0a','<md-dialog\x20class=\x22company-dialog\x22\x20aria-label=\x22New\x20Company\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22companyForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CONTACTMANAGER.NAME\x22>Name</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22companyForm[\x27name\x27].$error\x22\x20ng-show=\x22companyForm[\x27name\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CONTACTMANAGER.ERRORS.NAME_REQUIRED\x22>Name\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CONTACTMANAGER.PHONE\x22>Phone</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CONTACTMANAGER.ERRORS.PHONE_REQUIRED\x22>Phone\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CONTACTMANAGER.VAT\x22>Vat</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22vat\x22\x20\x20ng-model=\x22vm.company.vat\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22companyForm[\x27vat\x27].$error\x22\x20ng-show=\x22companyForm[\x27vat\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CONTACTMANAGER.ERRORS.VAT_REQUIRED\x22>Vat\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22fax\x22\x20\x20ng-model=\x22vm.company.fax\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CONTACTMANAGER.ERRORS.FAX_REQUIRED\x22>Fax\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CONTACTMANAGER.COMPANYID\x22>CompanyId</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22companyId\x22\x20\x20ng-model=\x22vm.company.companyId\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22companyForm[\x27companyId\x27].$error\x22\x20ng-show=\x22companyForm[\x27companyId\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CONTACTMANAGER.TYPE\x22>Type</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22type\x22\x20\x20ng-model=\x22vm.company.type\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22companyForm[\x27type\x27].$error\x22\x20ng-show=\x22companyForm[\x27type\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CONTACTMANAGER.WEBSITE\x22>Website</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22website\x22\x20\x20ng-model=\x22vm.company.website\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CONTACTMANAGER.EMAIL_DOMAIN\x22>Email_Domain</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22emailDomain\x22\x20\x20ng-model=\x22vm.company.emailDomain\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CONTACTMANAGER.ERRORS.EMAIL_DOMAIN_REQUIRED\x22>Email_Domain\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CONTACTMANAGER.EMAIL\x22>Email</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22email\x22\x20name=\x22email\x22\x20\x20ng-model=\x22vm.company.email\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22companyForm[\x27email\x27].$error\x22\x20ng-show=\x22companyForm[\x27email\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-message=\x22email\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CONTACTMANAGER.ERRORS.EMAIL_MUST_VALID\x22>Email\x20must\x20be\x20a\x20valid\x20e-mail\x20address</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22companyForm[\x27description\x27].$error\x22\x20ng-show=\x22companyForm[\x27description\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CONTACTMANAGER.ERRORS.DESCRIPTION_REQUIRED\x22>Description\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20!vm.newCompany\x22\x20ng-click=\x22vm.saveCompany()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22CONTACTMANAGER.SAVE\x22\x20translate-attr-aria-label=\x22CONTACTMANAGER.SAVE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.newCompany\x22\x20ng-click=\x22vm.addNewCompany()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22CONTACTMANAGER.ADD_COMPANY\x22\x20translate-attr-aria-label=\x22CONTACTMANAGER.ADD_COMPANY\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20COMPANY\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x20&&\x20!vm.newCompany\x22\x20ng-click=\x22vm.deleteCompany($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22CONTACTMANAGER.DELETE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip><span\x20translate=\x22CONTACTMANAGER.DELETE\x22>DELETE</span></md-tooltip>\x0a','<div\x20id=\x22contactmanager-company\x22\x20class=\x22page-layout\x20simple\x20tabbed\x22\x20layout=\x22column\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.gotoCompanies()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22company-image\x22\x20hide-xs>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.company.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22vm.company.name\x22>{{vm.company.name}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CONTACTMANAGER.CREATED_AT\x22></span>\x20<span>{{vm.company.createdAt\x20|\x20date:\x27medium\x27}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22goto\x22\x20\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip><span\x20translate=\x22CONTACTMANAGER.GOTO_COMPANY\x22></span></md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-forward\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CONTACTMANAGER.GENERAL\x22>GENERAL</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22company-detail-form-container\x20general\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22CONTACTMANAGER.GENERAL\x22>GENERAL</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22name\x22\x20\x20ng-model=\x22vm.company.name\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22phone\x22\x20\x20ng-model=\x22vm.company.phone\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27phone\x27].$error\x22\x20ng-show=\x22generalForm[\x27phone\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27fax\x27].$error\x22\x20ng-show=\x22generalForm[\x27fax\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27companyId\x27].$error\x22\x20ng-show=\x22generalForm[\x27companyId\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CONTACTMANAGER.ERRORS.COMPANYID_REQUIRED\x22>CompanyId\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27type\x27].$error\x22\x20ng-show=\x22generalForm[\x27type\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CONTACTMANAGER.ERRORS.TYPE_REQUIRED\x22>Type\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27website\x27].$error\x22\x20ng-show=\x22generalForm[\x27website\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CONTACTMANAGER.ERRORS.WEBSITE_MAX_LENGTH\x22\x20translate-values=\x27{max:\x20255}\x27>Website\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27email\x27].$error\x22\x20ng-show=\x22generalForm[\x27email\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CONTACTMANAGER.ERRORS.EMAIL_REQUIRED\x22>Email\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CONTACTMANAGER.DESCRIPTION\x22>Description</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22description\x22\x20\x20ng-model=\x22vm.company.description\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CONTACTMANAGER.ADDRESS\x22>ADDRESS</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22CONTACTMANAGER.ADDRESS\x22>ADDRESS</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<form\x20name=\x22addressForm\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CONTACTMANAGER.STREET\x22>Street</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22street\x22\x20\x20ng-model=\x22vm.company.street\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22addressForm[\x27street\x27].$error\x22\x20ng-show=\x22addressForm[\x27street\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CONTACTMANAGER.ERRORS.STREET_REQUIRED\x22>Street\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CONTACTMANAGER.POSTAL_CODE\x22>Postal_Code</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22postalCode\x22\x20\x20ng-model=\x22vm.company.postalCode\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22addressForm[\x27postalCode\x27].$error\x22\x20ng-show=\x22addressForm[\x27postalCode\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CONTACTMANAGER.CITY\x22>City</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22addressForm[\x27city\x27].$error\x22\x20ng-show=\x22addressForm[\x27city\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CONTACTMANAGER.COUNTRY\x22>Country</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22country\x22\x20\x20ng-model=\x22vm.company.country\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22addressForm[\x27country\x27].$error\x22\x20ng-show=\x22addressForm[\x27country\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CONTACTMANAGER.ERRORS.COUNTRY_REQUIRED\x22>Country\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CONTACTMANAGER.SHIPMENTADDRESS\x22>SHIPMENTADDRESS</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22company-detail-form-container\x20shipmentaddress\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<form\x20name=\x22shipmentAddressForm\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22sStreet\x22\x20\x20ng-model=\x22vm.company.sStreet\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22shipmentAddressForm[\x27sStreet\x27].$error\x22\x20ng-show=\x22shipmentAddressForm[\x27sStreet\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22sPostalCode\x22\x20\x20ng-model=\x22vm.company.sPostalCode\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22shipmentAddressForm[\x27sPostalCode\x27].$error\x22\x20ng-show=\x22shipmentAddressForm[\x27sPostalCode\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22sCity\x22\x20\x20ng-model=\x22vm.company.sCity\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CONTACTMANAGER.ERRORS.CITY_REQUIRED\x22>City\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22sCountry\x22\x20\x20ng-model=\x22vm.company.sCountry\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22shipmentAddressForm[\x27sCountry\x27].$error\x22\x20ng-show=\x22shipmentAddressForm[\x27sCountry\x27].$touched\x22\x20role=\x22alert\x22>\x0a','<div\x20id=\x22contacts\x22\x20class=\x22page-layout\x20simple\x20left-sidenav\x20inner-sidenav\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-account-multiple\x22\x20class=\x22s24\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22logo-text\x22\x20translate=\x22CONTACTMANAGER.CONTACTS\x22>Contacts</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20md-no-float\x20class=\x22m-0\x22>\x0a','\x20\x20\x20\x20<div\x20ng-show=\x22vm.selectedContacts.length\x20>\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22selected-contacts-count\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>{{vm.selectedContacts.length}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.selectAllContacts()\x22\x20translate=\x22CONTACTMANAGER.SELECT_ALL\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deselectContacts()\x22\x20translate=\x22CONTACTMANAGER.SELECT_NONE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-icon-button\x22\x20ng-csv=\x22vm.exportSelectedContacts\x22\x20csv-label=\x22true\x22\x20filename=\x22contacts.csv\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22vm.crudPermissions.canDelete\x22\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm.deleteSelectedContacts($event)\x22\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22CONTACTS.DELETE_SELECTED\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22column\x22\x20flex=\x2220\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-card-content>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-card-content>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-card>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20class=\x22md-block\x22\x20flex-gt-sm=\x22\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CONTACTMANAGER.SELECT_LIST\x22>Select\x20a\x20list</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20placeholder=\x22Select\x20a\x20list\x22\x20ng-model=\x22vm.selectedList\x22\x20ng-disabled=\x22vm.lists.count\x20===\x200\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22list.id\x22\x20ng-repeat=\x22list\x20in\x20vm.lists.rows\x22>{{list.name}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-card>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CONTACTMANAGER.SELECT_COMPANY\x22>Select\x20a\x20company</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20placeholder=\x22Select\x20a\x20company\x22\x20flex=\x22100\x22\x20ng-model=\x22vm.selectedCompany\x22\x20ng-disabled=\x22vm.companies.count\x20===\x200\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22company.id\x22\x20ng-repeat=\x22company\x20in\x20vm.companies.rows\x22>{{company.name}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CONTACTMANAGER.SELECT_TAGS\x22>Select\x20one\x20or\x20more\x20tags</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20multiple\x20placeholder=\x22Select\x20one\x20or\x20more\x20tags\x22\x20flex=\x22100\x22\x20ng-model=\x22vm.query.tag\x22\x20ng-change=\x22vm.getContacts()\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22tag.id\x22\x20ng-repeat=\x22tag\x20in\x20vm.tags.rows\x22>{{tag.name}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20USER\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-card\x20flex=\x2280\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-table-container\x20ng-init=\x22vm.getAssignedCompanies()\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<table\x20md-table\x20md-row-select\x20multiple\x20ng-model=\x22vm.selectedContacts\x22\x20md-progress=\x22vm.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm.query.sort\x22\x20md-on-reorder=\x22vm.getContacts\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22firstName\x22>{{\x27CONTACTMANAGER.FULLNAME\x27\x20|\x20translate}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22email\x22>{{\x27CONTACTMANAGER.EMAIL\x27\x20|\x20translate}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22ListId\x22>{{\x27CONTACTMANAGER.LIST\x27\x20|\x20translate}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22CompanyId\x22>{{\x27CONTACTMANAGER.COMPANY\x27\x20|\x20translate}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22tags\x22>{{\x27CONTACTMANAGER.TAGS\x27\x20|\x20translate}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</thead>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tbody\x20md-body>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm.contacts.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20colspan=\x228\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CONTACTMANAGER.NO_AVAILABLE_INFO\x22>No\x20Available\x20Info</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</tr>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22contact\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22contact\x20in\x20vm.contacts.rows\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editdialog(contact,\x20ev)\x20:\x20vm.createOrEditContact($event,\x20contact)\x22\x20md-cell\x20class=\x22id\x22>{{contact.id}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editdialog(contact,\x20ev)\x20:\x20vm.createOrEditContact($event,\x20contact)\x22\x20md-cell\x20class=\x22firstName\x22>{{contact.firstName}}\x20{{contact.lastName}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editdialog(contact,\x20ev)\x20:\x20vm.createOrEditContact($event,\x20contact)\x22\x20md-cell\x20class=\x22phone\x22>{{contact.phone}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20class=\x22tag\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22contact.Tags.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-tag\x22\x20ng-style=\x22{\x27color\x27:\x20contact.Tags[0].color\x20}\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22text-truncate\x22>{{contact.Tags[0].name}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22contact.Tags.length\x20>\x201\x22\x20layout=\x22column\x22\x20layout-align=\x22center\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip\x20md-direction=\x22left\x22\x20layout=\x22row\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-tag\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20class=\x22actions\x22\x20ng-if=\x22!vm.crudPermissions.readOnly\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20aria-label=\x22More\x22\x20translate\x20translate-attr-aria-label=\x22CONTACTMANAGER.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-dots-vertical\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-item\x20ng-if=\x22vm.crudPermissions.canEdit\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.editdialog(contact,\x20ev)\x22\x20translate=\x22CONTACTMANAGER.EDIT_CONTACT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-menu-item>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.mergeContact(ev,\x20contact)\x22\x20translate=\x22CONTACTMANAGER.MERGE_CONTACT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Merge\x20Contact\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.duplicateContact(ev,\x20contact)\x22\x20translate=\x22CONTACTMANAGER.DUPLICATE_CONTACT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Duplicate\x20Contact\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deleteconfirm(contact,\x20ev)\x22\x20translate=\x22CONTACTMANAGER.DELETE_CONTACT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Contact\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-menu-content>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</tbody>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-table-container>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27CONTACTMANAGER.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27CONTACTMANAGER.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27CONTACTMANAGER.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-page=\x22vm.query.page\x22\x20md-total=\x22{{vm.contacts.count}}\x22\x20md-on-paginate=\x22vm.getContacts\x22\x20md-page-select></md-table-pagination>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-card>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20USER\x20TABLE\x20-->\x0a','\x20\x20\x20\x20<!--\x20ADD\x20USER\x20BUTTON\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20aria-label=\x22menu\x22\x20class=\x22md-fab\x20md-accent\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-plus\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-fab-actions>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20flow-files-submitted=\x22$flow.upload()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20flow-file-success=\x22vm.importContacts($file,\x20$message,\x20$flow)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20flow-file-added=\x22vm.fileAdded($file)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22Select\x20File\x22\x20translate\x20translate-attr-aria-label=\x22CONTACTMANAGER.IMPORT_CONTACTS\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip\x20md-direction=\x22left\x22\x20md-visible=\x22tooltipVisible\x22\x20md-autohide=\x22false\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27CONTACTMANAGER.IMPORT_CONTACTS\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-upload\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-fab\x20md-mini\x20md-accent\x22\x20ng-click=\x22vm.createOrEditContact($event)\x22\x20aria-label=\x22add\x20contact\x22\x20translate\x20translate-attr-aria-label=\x22CONTACTMANAGER.ADD_CONTACT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip\x20md-direction=\x22left\x22\x20md-visible=\x22tooltipVisible\x22\x20md-autohide=\x22false\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27CONTACTMANAGER.ADD_CONTACT\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-account-plus\x22></md-icon>\x0a','\x20\x20\x20\x20</md-fab-speed-dial>\x0a','\x20\x20\x20\x20<!--\x20/\x20ADD\x20USER\x20BUTTON\x20-->\x0a','\x20\x20\x20\x20<form\x20name=\x22contactForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CONTACTMANAGER.FIRSTNAME\x22>First\x20name</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20name=\x22firstName\x22\x20ng-model=\x22vm.contact.firstName\x22\x20required\x20md-autofocus>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22contactForm.firstName.$error\x22\x20ng-show=\x22contactForm.firstName.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CONTACTMANAGER.LASTNAME\x22>Last\x20name</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20name=\x22phone\x22\x20ng-model=\x22vm.contact.phone\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20name=\x22email\x22\x20type=\x22email\x22\x20ng-model=\x22vm.contact.email\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CONTACTMANAGER.MOBILE\x22>Mobile</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20name=\x22mobile\x22\x20ng-model=\x22vm.contact.mobile\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22list\x22\x20ng-model=\x22vm.contact.ListId\x22\x20ng-disabled=\x22vm.contact.id\x20&&\x20vm.contact.ListId\x22\x20ng-init=\x22vm.getCustomFields(vm.contact.ListId)\x22\x20ng-change=\x22vm.getCustomFields(vm.contact.ListId)\x22\x20required>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-optgroup\x20label=\x22Lists\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CONTACTMANAGER.ERRORS.LIST_REQUIRED\x22>List\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-repeat=\x22customField\x20in\x20vm.customFields.rows\x22\x20class=\x22md-block\x22\x20ng-switch=\x22customField.type\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-switch-when=\x22datetime\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-init=\x22vm.contact[\x27cf_\x27\x20+\x20customField.id]\x20=\x20vm.getDateFromString(vm.contact[\x27cf_\x27\x20+\x20customField.id])\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<mdp-date-picker\x20mdp-open-on-click\x20ng-required=\x22customField.required\x22\x20mdp-format=\x22YYYY-MM-DD\x22\x20ng-model=\x22vm.contact[\x27cf_\x27\x20+\x20customField.id]\x22></mdp-date-picker>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<mdp-time-picker\x20mdp-open-on-click\x20mdp-placeholder=\x22Time\x22\x20ng-required=\x22customField.required\x22\x20mdp-format=\x22HH:mm:ss\x22\x20mdp-auto-switch=\x22true\x22\x20ng-model=\x22vm.contact[\x27cf_\x27\x20+\x20customField.id]\x22></mdp-time-picker>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label>{{customField.alias}}</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20ng-model=\x22vm.contact[\x27cf_\x27\x20+\x20customField.id]\x22\x20ng-required=\x22customField.required\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-repeat=\x22value\x20in\x20customField.values\x22\x20ng-value=\x22value.value\x22>{{value.value}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22null\x22><em\x20translate=\x22CONTACTMANAGER.NONE\x22>None</em></md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20aria-label=\x22{{customField.alias}}\x22\x20ng-model=\x22vm.contact[\x27cf_\x27\x20+\x20customField.id]\x22\x20ng-true-value=\x221\x22\x20ng-false-value=\x220\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{customField.alias}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22{{customField.type}}\x22\x20ng-model=\x22vm.contact[\x27cf_\x27\x20+\x20customField.id]\x22\x20ng-required=\x22customField.required\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22company\x22\x20ng-model=\x22vm.contact.CompanyId\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22company.id\x22\x20ng-repeat=\x22company\x20in\x20vm.companies.rows\x22\x20ng-hide=\x22!vm.contact.CompanyId\x20&&\x20company.canSelect\x20===\x20false\x22\x20ng-disabled=\x22company.canSelect\x20===\x20false\x22>{{company.name}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22!vm.allFields\x22\x20layout=\x22row\x22\x20layout-align=\x22center\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-accent\x22\x20ng-click=\x22vm.allFields\x20=\x20true\x22\x20translate=\x22CONTACTMANAGER.SHOW_ALL_FIELDS\x22>Show\x20All\x20Fields</md-button>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20class=\x22md-block\x22\x20ng-if=\x22vm.allFields\x22\x20flex-gt-sm=\x22\x22\x20ng-init=\x22vm.contact.dateOfBirth\x20=\x20vm.getDateFromString(vm.contact.dateOfBirth)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<mdp-date-picker\x20mdp-open-on-click\x20mdp-format=\x22YYYY-MM-DD\x22\x20name=\x22dateOfBirth\x22\x20ng-model=\x22vm.contact.dateOfBirth\x22></mdp-date-picker>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20class=\x22md-block\x22\x20ng-if=\x22vm.allFields\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22city\x22\x20ng-model=\x22vm.contact.city\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22street\x22\x20ng-model=\x22vm.contact.street\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CONTACTMANAGER.POSTAL_CODE\x22>Postal\x20Code</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CONTACTMANAGER.NOTES\x22>Notes</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.newContact\x22\x20ng-click=\x22vm.addNewContact()\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20ng-disabled=\x22contactForm.$invalid\x20||\x20contactForm.$pristine\x22\x20aria-label=\x22ADD\x22\x20translate=\x22CONTACTMANAGER.ADD_CONTACT\x22\x20translate-attr-aria-label=\x22CONTACTMANAGER.ADD_CONTACT\x22>\x0a','<md-dialog\x20class=\x22cm-contact-dialog\x22\x20aria-label=\x22{{\x20\x27CONTACTMANAGER.DUPLICATE_CONTACT\x27\x20|\x20translate\x20}}\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22list\x22\x20ng-model=\x22vm.contact.ListId\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22list.id\x22\x20ng-repeat=\x22list\x20in\x20vm.lists.rows\x22>{{list.name}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22contactForm.list.$error\x22\x20ng-show=\x22contactForm.list.$touched\x22\x20role=\x22alert\x22>\x0a','app/main/apps/contactmanager/views/contacts/edit/hoppers/dialog.html','<md-dialog\x20class=\x22hopper-dialog\x22\x20aria-label=\x22New\x20Hopper\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22hopperForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22hopperForm.dateRangeFrom.$error\x22\x20ng-show=\x22hopperForm.dateRangeFrom.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CONTACTMANAGER.ERRORS.DATE_INVALID\x22>Date\x20is\x20invalid</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20flex\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<mdp-time-picker\x20mdp-open-on-click\x20name=\x22scheduledatTime\x22\x20mdp-placeholder=\x22Time\x22\x20mdp-format=\x22HH:mm:ss\x22\x20mdp-auto-switch=\x22true\x22\x20ng-model=\x22vm.hopper.scheduledat\x22\x20ng-init=\x22vm.hopper.scheduledat\x20=\x20vm.getDateFromString(vm.hopper.scheduledat)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22hopperForm.timeRangeFrom.$error\x22\x20ng-show=\x22hopperForm.timeRangeFrom.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CONTACTMANAGER.ERRORS.TIME_REQUIRED\x22>Time\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CONTACTMANAGER.ERRORS.TIME_INVALID\x22>Time\x20is\x20invalid</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</mdp-time-picker>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22!vm.newHopper\x22\x20ng-click=\x22vm.saveHopper()\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20ng-disabled=\x22hopperForm.$invalid\x20||\x20hopperForm.$pristine\x22\x20aria-label=\x22SAVE\x22\x20translate=\x22CONTACTMANAGER.SAVE\x22\x20translate-attr-aria-label=\x22CONTACTMANAGER.SAVE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20HOPPER\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22!vm.newHopper\x22\x20ng-click=\x22vm.deleteHopper($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x20translate-attr-aria-label=\x22CONTACTMANAGER.DELETE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22goto-contacts-button\x20md-icon-button\x22\x20aria-label=\x22Go\x20to\x20contacts\x22\x20ng-click=\x22vm.gotoContacts()\x22\x20translate\x20translate-attr-aria-label=\x22CONTACTMANAGER.GO_TO_CONTACTS\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22contact-image\x22\x20hide-xs>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<img\x20ng-src=\x22assets/images/business/contacts.jpg\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22column\x22\x20layout-align=\x22start\x20start\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.contact.id}}\x20{{vm.contact.firstName}}\x20{{vm.contact.lastName}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22subtitle\x20secondary-text\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22vm.contact.role\x20&&\x20vm.contact.role\x20!==\x20\x27admin\x27\x22\x20ng-controller=\x22ContactQueueAddButtonController\x20as\x20vm_contact_qa\x22\x20ng-cloak>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-fab-speed-dial\x20ng-hide=\x22vm_contact_qa.hidden\x22\x20md-direction=\x22left\x22\x20md-open=\x22vm_contact_qa.isOpen\x22\x20class=\x22md-scale\x20md-fab\x22\x20ng-class=\x22{\x20\x27md-hover-full\x27:\x20vm_contact_qa.hover\x20}\x22\x20ng-mouseenter=\x22vm_contact_qa.isOpen=true\x22\x20ng-mouseleave=\x22vm_contact_qa.isOpen=false\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-eye\x22\x20aria-label=\x22channels\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-fab-trigger>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-repeat=\x22channel\x20in\x20vm_contact_qa.channels\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20aria-label=\x22{{channel.name}}\x22\x20class=\x22md-fab\x20md-raised\x20md-icon-button\x20md-mini\x22\x20ng-click=\x22vm_contact_qa.openDialog($event,\x20vm.contact,\x20channel)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip\x20md-direction=\x22{{channel.direction}}\x22\x20md-visible=\x22tooltipVisible\x22\x20md-autohide=\x22false\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{channel.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22{{channel.icon}}\x22\x20aria-label=\x22{{channel.name}}\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-fab-actions>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-fab-speed-dial>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22vm.crudPermissions.canEdit\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-file-multiple\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-click=\x22vm.saveContact()\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20ng-disabled=\x22detailForm.$pristine\x20&&\x20customFieldsForm.$pristine\x20&&\x20socialForm.$pristine\x22\x20translate=\x22CONTACTMANAGER.SAVE\x22\x20translate-attr-aria-label=\x22CONTACTMANAGER.SAVE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CONTACTMANAGER.DETAIL\x22>DETAIL</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22column\x22\x20flex=\x2270\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-card\x20class=\x22contact-detail-form-container\x20personal_info\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x20text-truncate\x22\x20translate=\x22CONTACTMANAGER.PERSONAL_INFO\x22>PERSONAL_INFO</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<form\x20name=\x22detailForm\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout-gt-sm=\x22row\x22\x20class=\x22layout-gt-sm-row\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20fistName\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CONTACTMANAGER.FIRSTNAME\x22>First\x20Name</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22detailForm.firstName.$error\x22\x20ng-show=\x22detailForm.firstName.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CONTACTMANAGER.ERRORS.FIRSTNAME_REQUIRED\x22>First\x20name\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20flex=\x225\x22></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20lastName\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20class=\x22md-block\x22\x20flex-gt-sm=\x22\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CONTACTMANAGER.LASTNAME\x22>Last\x20Name</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22lastName\x22\x20ng-model=\x22vm.contact.lastName\x22\x20class=\x22text-truncate\x22\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-input-container>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20phone\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CONTACTMANAGER.PHONE\x22>Phone</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CONTACTMANAGER.MOBILE\x22>Mobile</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-cellphone-iphone\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22mobile\x22\x20ng-model=\x22vm.contact.mobile\x22\x20class=\x22text-truncate\x22\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20email\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CONTACTMANAGER.EMAIL\x22>Email</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-email\x22\x20class=\x22email\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22email\x22\x20name=\x22email\x22\x20ng-model=\x22vm.contact.email\x22\x20class=\x22text-truncate\x22\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-message=\x22email\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CONTACTMANAGER.ERRORS.EMAIL_MUST_VALID\x22>Email\x20must\x20be\x20a\x20valid\x20e-mail\x20address</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20fax\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-deskphone\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22fax\x22\x20ng-model=\x22vm.contact.fax\x22\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20ng-if=\x22vm.companies.rows.length\x22\x20class=\x22md-block\x22\x20flex-gt-sm=\x22\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-domain\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22company\x22\x20ng-model=\x22vm.contact.CompanyId\x22\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-optgroup\x20label=\x22Companies\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-optgroup>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20class=\x22pointer\x22\x20ng-show=\x22vm.contact.CompanyId\x22\x20md-font-icon=\x22icon-information-outline\x22\x20ng-click=\x22vm.editCompany($event,\x20vm.contact.CompanyId)\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<section\x20ng-if=\x22!vm.companies.rows.length\x22\x20flex-gt-sm=\x22\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CONTACTMANAGER.NO_COMPANIES\x22>No\x20Companies</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</section>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20ng-if=\x22vm.tags.rows.length\x22\x20class=\x22md-block\x22\x20flex-gt-sm=\x22\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CONTACTMANAGER.TAGS\x22>Tags</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-tag\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20ng-model=\x22vm.Tags\x22\x20multiple\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22tag.id\x22\x20ng-repeat=\x22tag\x20in\x20vm.tags.rows\x22\x20ng-disabled=\x22tag.canSelect\x20===\x20false\x22>{{tag.name}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-select>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CONTACTMANAGER.NO_TAG\x22>No\x20Tags</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-accent\x22\x20translate=\x22CONTACTMANAGER.ADD_TAG\x22>Add\x20Tag</md-button>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22!vm.allFields\x22\x20layout=\x22row\x22\x20layout-align=\x22center\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-accent\x22\x20ng-click=\x22vm.allFields\x20=\x20true\x22\x20translate=\x22CONTACTMANAGER.SHOW_ALL_FIELDS\x22>Show\x20All\x20Fields</md-button>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout-gt-sm=\x22row\x22\x20class=\x22layout-gt-sm-row\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20country\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20class=\x22md-block\x22\x20flex-gt-sm=\x22\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CONTACTMANAGER.COUNTRY\x22>Country</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-home\x22\x20class=\x22country\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22country\x22\x20ng-model=\x22vm.contact.country\x22\x20class=\x22text-truncate\x22\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20flex=\x225\x22></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CONTACTMANAGER.CITY\x22>City</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22city\x22\x20ng-model=\x22vm.contact.city\x22\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-input-container>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20street\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CONTACTMANAGER.STREET\x22>Street</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22street\x22\x20ng-model=\x22vm.contact.street\x22\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20postalCode\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CONTACTMANAGER.POSTALCODE\x22>Postal\x20Code</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22postalCode\x22\x20ng-model=\x22vm.contact.postalCode\x22\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate\x20translate-attr-placeholder=\x22CONTACTMANAGER.NOTES\x22>Notes</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-accent\x22\x20ng-click=\x22vm.allFields\x20=\x20false\x22\x20translate=\x22CONTACTMANAGER.FEWER_FIELDS\x22>Fewer\x20Fields\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<form\x20name=\x22socialForm\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20class=\x22md-block\x22\x20flex-gt-sm=\x22\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-facebook\x22\x20class=\x22facebook\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22facebook\x22\x20ng-model=\x22vm.contact.facebook\x22\x20class=\x22text-truncate\x22\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-input-container>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20flex=\x225\x22></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-twitter\x22\x20class=\x22twitter\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22twitter\x22\x20ng-model=\x22vm.contact.twitter\x22\x20class=\x22text-truncate\x22\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout-gt-sm=\x22row\x22\x20class=\x22layout-gt-sm-row\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20class=\x22md-block\x22\x20flex-gt-sm=\x22\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label>Line</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22fab\x20fa-line\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22line\x22\x20ng-model=\x22vm.contact.line\x22\x20class=\x22text-truncate\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-input-container>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20flex=\x225\x22></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label>Viber</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22fab\x20fa-viber\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22viber\x22\x20ng-model=\x22vm.contact.viber\x22\x20class=\x22text-truncate\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label>WeChat</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22fab\x20fa-weixin\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22wechat\x22\x20ng-model=\x22vm.contact.wechat\x22\x20class=\x22text-truncate\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label>Telegram</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-telegram\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22telegram\x22\x20ng-model=\x22vm.contact.telegram\x22\x20class=\x22text-truncate\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</form>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22contact-detail-form-container\x20personal_info\x20md-background-bg\x20md-whiteframe-1dp\x22\x20flex=\x2225\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<form\x20name=\x22customFieldsForm\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22list\x22\x20ng-model=\x22vm.contact.ListId\x22\x20md-on-close=\x22vm.onSelectList($event)\x22\x20ng-disabled=\x22vm.contact.ListId\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-optgroup\x20label=\x22Lists\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22list.id\x22\x20ng-repeat=\x22list\x20in\x20vm.lists.rows\x22>#{{list.id}}\x20-\x20{{list.name}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22null\x22><em\x20translate=\x22CONTACTMANAGER.NONE\x22>None</em></md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-optgroup>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-repeat=\x22customField\x20in\x20vm.customFields.rows\x22\x20ng-switch=\x22customField.type\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20class=\x22md-block\x22\x20ng-switch-when=\x22datetime\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label>{{customField.alias}}</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-init=\x22vm.contact[\x27cf_\x27\x20+\x20customField.id]\x20=\x20vm.getDateFromString(vm.contact[\x27cf_\x27\x20+\x20customField.id])\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<mdp-time-picker\x20mdp-open-on-click\x20mdp-placeholder=\x22Time\x22\x20ng-required=\x22customField.required\x22\x20mdp-format=\x22HH:mm:ss\x22\x20mdp-auto-switch=\x22true\x22\x20ng-model=\x22vm.contact[\x27cf_\x27\x20+\x20customField.id]\x22></mdp-time-picker>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20class=\x22md-block\x22\x20ng-switch-when=\x22select\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20ng-model=\x22vm.contact[\x27cf_\x27\x20+\x20customField.id]\x22\x20ng-required=\x22customField.required\x22\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-repeat=\x22value\x20in\x20customField.values\x22\x20ng-value=\x22value.value\x22>{{value.value}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20class=\x22md-block\x22\x20ng-switch-when=\x22switch\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20aria-label=\x22{{customField.alias}}\x22\x20ng-model=\x22vm.contact[\x27cf_\x27\x20+\x20customField.id]\x22\x20ng-true-value=\x221\x22\x20ng-false-value=\x220\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{customField.alias}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22{{customField.type}}\x22\x20ng-model=\x22vm.contact[\x27cf_\x27\x20+\x20customField.id]\x22\x20ng-required=\x22customField.required\x22\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CONTACTMANAGER.MOTION_BULL\x22>MOTION\x20BULL</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22contact-detail-form-container\x20personal_info\x20md-background-bg\x20md-whiteframe-1dp\x22\x20flex>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-default\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<ms-search-bar\x20on-search=\x22vm.queryHopper.filter\x20=\x20query;\x22\x20on-collapse=\x22vm.queryHopper.filter\x20=\x20undefined;\x22\x20debounce=\x22300\x22></ms-search-bar>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip>{{\x27CONTACTMANAGER.RELOAD\x27\x20|\x20translate}}</md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-reload\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<table\x20md-table\x20multiple\x20md-progress=\x22vm.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm.queryHopper.sort\x22\x20md-on-reorder=\x22vm.getHoppers\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22id\x22>{{\x20\x27CONTACTMANAGER.ID\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22scheduledat\x22>{{\x20\x27CONTACTMANAGER.SCHEDULEDAT\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22priority\x22>{{\x20\x27MOTIONDIALER.PRIORITY\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22VoiceQueueId\x22>{{\x20\x27CONTACTMANAGER.VOICEQUEUEID\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22CampaignId\x22>{{\x20\x27CONTACTMANAGER.CAMPAIGNID\x27\x20|\x20translate\x20}}</th><th\x20md-column\x20width=\x2210px\x22></th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tbody\x20md-body>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20colspan=\x227\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CONTACTMANAGER.NO_AVAILABLE_INFO\x22>No\x20Available\x20Info</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell>{{hopper.id}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell>{{hopper.scheduledat\x20|\x20date:\x27medium\x27}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell>{{\x20vm.arraypriority[hopper.priority].option\x20}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20class=\x22recallme\x20\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-colors=\x22{color:\x20{{hopper.recallme\x20?\x20\x27\x5c\x27green\x5c\x27\x27\x20:\x20\x27\x5c\x27red\x5c\x27\x27}}}\x22\x20md-font-icon=\x22{{hopper.recallme?\x20\x27icon-check\x27\x20:\x20\x27icon-close\x27}}\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell>{{hopper.VoiceQueueId}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell>{{hopper.CampaignId}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20class=\x22actions\x22\x20ng-if=\x22!vm.crudPermissions.readOnly\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-dots-vertical\x22\x20></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20hopper.CampaignId\x22\x20ng-click=\x22vm.createOrEditIvrCampaignHopper($event,\x20hopper)\x22\x20translate=\x22CONTACTMANAGER.EDIT_HOPPER\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Hopper\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Hopper\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</table>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-table-container>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27CONTACTMANAGER.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27CONTACTMANAGER.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27CONTACTMANAGER.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm.queryHopper.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm.queryHopper.page\x22\x20md-total=\x22{{vm.hoppers.count}}\x22\x20md-on-paginate=\x22vm.getHoppers\x22\x20md-page-select></md-table-pagination>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22\x20translate=\x22CONTACTMANAGER.FINAL\x22>Final</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<ms-search-bar\x20on-search=\x22vm.queryFinal.filter\x20=\x20query;\x22\x20on-collapse=\x22vm.queryFinal.filter\x20=\x20undefined;\x22\x20debounce=\x22300\x22></ms-search-bar>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm.queryFinal.sort\x22\x20md-on-reorder=\x22vm.getFinals\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22calleridnum\x22>{{\x20\x27CONTACTMANAGER.PHONE\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22starttime\x22>{{\x20\x27CONTACTMANAGER.STARTTIME\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22disposition\x22>{{\x20\x27CONTACTMANAGER.DISPOSITION\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm.finals.count\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22row\x22\x20layout-align=\x22center\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-repeat=\x22(id,\x20final)\x20in\x20vm.finals.rows\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell>{{final.uniqueid}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell>{{final.calleridnum}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell>{{final.starttime\x20|\x20date:\x27medium\x27}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20HOPPER\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22\x20translate=\x22CONTACTMANAGER.HISTORY\x22>History</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<ms-search-bar\x20on-search=\x22vm.queryHistory.filter\x20=\x20query;\x22\x20on-collapse=\x22vm.queryHistory.filter\x20=\x20undefined;\x22\x20debounce=\x22300\x22></ms-search-bar>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm.queryHistory.sort\x22\x20md-on-reorder=\x22vm.getHistories\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22state\x22>{{\x20\x27CONTACTMANAGER.STATE\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22endtime\x22>{{\x20\x27CONTACTMANAGER.ENDTIME\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm.histories.count\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-repeat=\x22(id,\x20history)\x20in\x20vm.histories.rows\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell>{{history.calleridnum}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell>{{history.statedesc}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell>{{history.scheduledat\x20|\x20date:\x27medium\x27}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell>{{history.endtime\x20|\x20date:\x27medium\x27}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27CONTACTMANAGER.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27CONTACTMANAGER.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27CONTACTMANAGER.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm.queryHistory.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm.queryHistory.page\x22\x20md-total=\x22{{vm.histories.count}}\x22\x20md-on-paginate=\x22vm.getHistories\x22\x20md-page-select></md-table-pagination>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tab\x20ng-if=\x22vm.license.jscripty\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CONTACTMANAGER.JSCRIPTY\x22>JSCRIPTY</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<ms-search-bar\x20on-search=\x22vm.queryJscriptySession.filter\x20=\x20query;\x22\x20on-collapse=\x22vm.queryJscriptySession.filter\x20=\x20undefined;\x22\x20debounce=\x22300\x22></ms-search-bar>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20SESSION\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm.queryJscriptySession.sort\x22\x20md-on-reorder=\x22vm.getJscriptySessions\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22agent\x22>{{\x20\x27CONTACTMANAGER.AGENT\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20width=\x2210px\x22></th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm.jscriptySessions.count\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20colspan=\x226\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-repeat=\x22(id,\x20session)\x20in\x20vm.jscriptySessions.rows\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell>{{session.id}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell>{{session.starttime\x20|\x20date:\x27medium\x27}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell>{{session.membername}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell>{{session.projectname}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-content\x20class=\x22md-padding\x22\x20id=\x22interaction-content\x22>\x0a','<md-dialog\x20class=\x22import-dialog\x22\x20aria-label=\x22Import\x20contact\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22importForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22title\x22\x20translate=\x22CONTACTMANAGER.IMPORT_CONTACTS\x22>Import\x20Contacts</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22vm.result.finish\x20||\x20!vm.processing\x22\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm.closeDialog()\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20md-background-bg\x20layout=\x22row\x22\x20layout-align=\x22start\x20start\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-progress-linear\x20ng-disabled=\x22!vm.processing\x20||\x20vm.result.finish\x22\x20md-mode=\x22indeterminate\x22\x20class=\x22md-warn\x22></md-progress-linear>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-content\x20ng-show=\x22!vm.processing\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22form-title\x22\x20translate=\x22CONTACTMANAGER.CONTACTMANAGER\x22>CONTACT\x20MANAGER</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20class=\x22md-icon-float\x20md-block\x22\x20ng-repeat=\x22contactField\x20in\x20vm.contactFields\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label>{{\x27CONTACTMANAGER.\x27\x20+\x20contactField.key\x20|\x20uppercase\x20|\x20translate}}</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22field\x22\x20ng-repeat=\x22field\x20in\x20vm.fields\x22>{{\x20field\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22null\x22\x20ng-hide=\x22contactField.required\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<em>{{\x20\x27CONTACTMANAGER.NONE\x27\x20|\x20translate\x20}}</em>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-select>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-input-container>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20class=\x22md-icon-float\x20md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CONTACTMANAGER.LIST\x22>List</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22list\x22\x20ng-model=\x22vm.ListId\x22\x20placeholder=\x22Select\x20a\x20list\x22\x20ng-change=\x22vm.onChangeList()\x22\x20required>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22list.id\x22\x20ng-repeat=\x22list\x20in\x20vm.lists.rows\x22>{{list.name}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label>{{customField.alias}}</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20ng-model=\x22vm.binding[\x27cf_\x27\x20+\x20customField.id]\x22\x20placeholder=\x22{{customField.alias}}\x22\x20ng-required=\x22customField.required\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22null\x22\x20ng-hide=\x22customField.required\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22company\x22\x20ng-model=\x22vm.CompanyId\x22\x20placeholder=\x22Select\x20a\x20company\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22company.id\x22\x20ng-repeat=\x22company\x20in\x20vm.companies.rows\x22>{{company.name}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22null\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<em\x20translate=\x22CONTACTMANAGER.NONE\x22>None</em>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20ng-model=\x22vm.duplicates\x22\x20placeholder=\x22{{\x20\x27CONTACTMANAGER.CHECK_DUPLICATES\x27\x20|\x20translate}}\x22\x20multiple>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22contactField.key\x22\x20ng-repeat=\x22contactField\x20in\x20vm.contactFields\x22>{{\x20\x27CONTACTMANAGER.\x27\x20+\x20contactField.key\x20|\x20uppercase\x20|\x20translate}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22vm.license.dialer\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22form-title\x22\x20translate=\x22CONTACTMANAGER.MOTIONDIALER\x22>MOTION\x20BULL</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label>{{\x27CONTACTMANAGER.\x27\x20+\x20motionBullField.key\x20|\x20uppercase\x20|\x20translate}}</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22{{motionBullField.key}}\x22\x20ng-model=\x22vm.binding[motionBullField.key]\x22\x20placeholder=\x22{{\x27CONTACTMANAGER.\x27\x20+\x20motionBullField.key\x20|\x20uppercase\x20|\x20translate}}\x22\x20ng-required=\x22motionBullField.required\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22field\x22\x20ng-repeat=\x22field\x20in\x20vm.fields\x22>{{\x20field\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22null\x22\x20ng-hide=\x22contactField.required\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<em>{{\x20\x27CONTACTMANAGER.NONE\x27\x20|\x20translate\x20}}</em>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-content>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22info\x22\x20layout=\x22row\x22\x20layout-align=\x22space-between\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22message\x22>{{\x27CONTACTMANAGER.UPLOAD_COMPLETED\x27\x20|\x20translate\x20|\x20uppercase}}\x20({{vm.result.elapsed}}s)</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22row\x22\x20ng-if=\x22vm.processing\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20WIDGET\x20PROCESSING\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<ms-widget\x20ng-if=\x22!vm.result.finish\x22\x20class=\x22h-140\x22\x20flex>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20Front\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<ms-widget-front\x20class=\x22p-16\x20white-bg\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22pt-8\x20pb-8\x22\x20layout=\x22column\x22\x20layout-align=\x22center\x20center\x22\x20flex>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22md-display-1\x20pb-8\x20orange-fg\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-bind=\x22vm.result.rows\x22></span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22vm.processing\x22\x20class=\x22font-weight-500\x20secondary-text\x22>Please\x20wait,\x20we\x20are\x20processing\x20your\x20contacts...</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20Front\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</ms-widget>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20WIDGET\x20PROCESSING\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20WIDGET\x20SUCCESS\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22md-display-1\x20pb-8\x20green-fg\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-bind=\x22vm.result.affectedRows\x22></span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</ms-widget-front>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20WIDGET\x20SUCCESS\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20WIDGET\x20FAILURE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<ms-widget\x20ng-if=\x22vm.result.finish\x22\x20class=\x22h-140\x22\x20flex>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22md-display-1\x20pb-8\x20red-fg\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-bind=\x22vm.result.failedRows\x22></span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<ms-widget\x20ng-if=\x22vm.result.duplicatedRows\x20&&\x20vm.result.finish\x22\x20class=\x22h-140\x22\x20flex>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-bind=\x22vm.result.duplicatedRows\x22></span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20WIDGET\x20DUPLICATES\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IMPORT\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22vm.processing\x20&&\x20!vm.result.finish\x20&&\x20!vm.stopping\x22\x20ng-click=\x22vm.stopUpload()\x22\x20class=\x22md-accent\x20md-raised\x22\x20aria-label=\x22Stop\x20Upload\x22\x20translate=\x22CONTACTMANAGER.STOP\x22\x20translate-attr-aria-label=\x22CONTACTMANAGER.STOP\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20STOP\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22vm.result.finish\x20&&\x20vm.result.errors.length\x22\x20ng-csv=\x22vm.getArrayErrors()\x22\x20csv-header=\x22vm.getHeaderErrors()\x22\x20class=\x22md-accent\x20md-raised\x22\x20aria-label=\x22Export\x20Errors\x22\x20filename=\x22contacts_import_errors.csv\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-file-excel\x22></md-icon>\x20{{\x27CONTACTMANAGER.EXPORT_ERRORS\x27\x20|\x20translate}}\x0a','<md-dialog\x20class=\x22cm-contact-dialog\x22\x20aria-label=\x22Merge\x20Contact\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label>Filter</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20ng-model=\x22vm.searchTerm\x22\x20name=\x22searchTerm\x22\x20ng-model-options=\x22{\x20debounce:\x20300\x20}\x22\x20ng-change=\x22vm.change()\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-list\x20flex>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-subheader\x20class=\x22md-no-sticky\x22\x20ng-hide=\x22vm.contacts.length\x22><em>Filter\x20doesn\x27t\x20match\x20any\x20contact</em></md-subheader>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-list-item\x20class=\x22md-3-line\x22\x20ng-repeat=\x22contact\x20in\x20vm.contacts\x20|\x20filter:{\x20id:\x20\x27!\x27\x20+\x20vm.contact.id}\x22\x20ng-click=\x22vm.showConfirm($event,\x20vm.contact,\x20contact)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<img\x20ng-src=\x22assets/images/avatars/profile.png\x22\x20class=\x22md-avatar\x22\x20alt=\x22{{contact.who}}\x22\x20/>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h3>#{{\x20contact.id\x20}}\x20-\x20{{\x20contact.firstName\x20}}\x20{{\x20contact.lastName\x20}}</h3>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h4>{{\x20contact.email\x20}}</h4>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<p>{{\x20contact.phone\x20}}</p>\x0a','<md-dialog\x20class=\x22globalCustomField-dialog\x22\x20aria-label=\x22New\x20GlobalCustomField\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22globalCustomFieldForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CONTACTMANAGER.ALIAS\x22>Alias</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22\x22\x20name=\x22alias\x22\x20\x20ng-model=\x22vm.globalCustomField.alias\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22globalCustomFieldForm[\x27alias\x27].$error\x22\x20ng-show=\x22globalCustomFieldForm[\x27alias\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CONTACTMANAGER.ERRORS.ALIAS_REQUIRED\x22>Alias\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22type\x22\x20ng-model=\x22vm.globalCustomField.type\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.newGlobalCustomField\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27text\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Text</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Select</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27number\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27switch\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27datetime\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Datetime</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22globalCustomFieldForm[\x27type\x27].$error\x22\x20ng-show=\x22globalCustomFieldForm[\x27type\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20ng-if=\x22vm.globalCustomField.type\x20==\x20\x27select\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-list>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-list-item\x20layout-margin>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-fab\x20md-mini\x20md-secondary\x22\x20ng-click=\x22vm.addItem(vm.globalCustomField.values);\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip><span\x20translate=\x22CONTACTMANAGER.ADD\x22>ADD</span></md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-plus\x22\x20aria-label=\x22alert\x20error\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22vm.globalCustomField.values.length\x22\x20class=\x22md-fab\x20md-mini\x20md-warn\x20md-secondary\x22\x20ng-click=\x22vm.removeItems(vm.globalCustomField.values);\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip><span\x20translate=\x22CONTACTMANAGER.DELETE_ALL\x22>Delete\x20All</span></md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-delete\x22\x20aria-label=\x22alert\x20error\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-list>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20class=\x22s24\x22\x20style=\x22cursor:move\x22\x20md-font-icon=\x22icon-drag\x22\x20aria-label=\x22drag\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip><span\x20translate=\x22CONTACTMANAGER.DELETE\x22>DELETE</span></md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-list-item\x20ng-if=\x22!vm.globalCustomField.values.length\x22\x20layout=\x22row\x22\x20layout-align=\x22center\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20!vm.newGlobalCustomField\x22\x20ng-click=\x22vm.saveGlobalCustomField()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22globalCustomFieldForm.$invalid\x20||\x20globalCustomFieldForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.newGlobalCustomField\x22\x20ng-click=\x22vm.addNewGlobalCustomField()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22globalCustomFieldForm.$invalid\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x20&&\x20!vm.newGlobalCustomField\x22\x20ng-click=\x22vm.deleteGlobalCustomField($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x0a','app/main/apps/contactmanager/views/globalCustomFields/globalCustomFields.html','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22close-button-wrapper\x22\x20ng-click=\x22vm.selectedGlobalCustomFields\x20=[]\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22selected-globalCustomFields-count\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>{{vm.selectedGlobalCustomFields.length}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22CONTACTMANAGER.MULTI_SELECT_TOGGLE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.selectAllGlobalCustomFields()\x22\x20translate=\x22CONTACTMANAGER.SELECT_ALL\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deselectGlobalCustomFields()\x22\x20translate=\x22CONTACTMANAGER.SELECT_NONE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-icon-button\x22\x20ng-csv=\x22vm.exportSelectedGlobalCustomFields\x22\x20csv-label=\x22true\x22\x20filename=\x22globalCustomFields.csv\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x22\x20ng-click=\x22vm.deleteSelectedGlobalCustomFields($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20GLOBALCUSTOMFIELD\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<table\x20md-table\x20\x20md-row-select\x20multiple\x20\x20\x20ng-model=\x22vm.selectedGlobalCustomFields\x22\x20md-progress=\x22vm.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm.query.sort\x22\x20md-on-reorder=\x22vm.getGlobalCustomFields\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22alias\x22>{{\x20\x27CONTACTMANAGER.ALIAS\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22type\x22>{{\x20\x27CONTACTMANAGER.TYPE\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22required\x22>{{\x20\x27CONTACTMANAGER.REQUIRED\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm.globalCustomFields.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22globalCustomField.userpic\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{globalCustomField.name}}\x22\x20ng-src=\x22api/users/{{globalCustomField.id}}/avatar\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22type\x20\x22>{{\x20vm.arraytype[globalCustomField.type].option\x20}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.editdialog(globalCustomField,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22CONTACTMANAGER.EDIT_GLOBALCUSTOMFIELD\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20GlobalCustomField\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deleteconfirm(globalCustomField,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22CONTACTMANAGER.DELETE_GLOBALCUSTOMFIELD\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20GlobalCustomField\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27CONTACTMANAGER.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27CONTACTMANAGER.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27CONTACTMANAGER.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm.query.page\x22\x20md-total=\x22{{vm.globalCustomFields.count}}\x22\x20md-on-paginate=\x22vm.getGlobalCustomFields\x22\x20md-page-select></md-table-pagination>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20ADD\x20GLOBALCUSTOMFIELD\x20BUTTON\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20globalCustomField\x22\x20translate\x20translate-attr-aria-label=\x22CONTACTMANAGER.ADD_GLOBALCUSTOMFIELD\x22>\x0a','\x20\x20\x20\x20<!--\x20/\x20ADD\x20GLOBALCUSTOMFIELD\x20BUTTON\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22name\x22\x20\x20ng-model=\x22vm.list.name\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22listForm[\x27name\x27].$error\x22\x20ng-show=\x22listForm[\x27name\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22description\x22\x20\x20ng-model=\x22vm.list.description\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22listForm[\x27description\x27].$error\x22\x20ng-show=\x22listForm[\x27description\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20!vm.newList\x22\x20ng-click=\x22vm.saveList()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22listForm.$invalid\x20||\x20listForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.newList\x22\x20ng-click=\x22vm.addNewList()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22listForm.$invalid\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20LIST\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x20&&\x20!vm.newList\x22\x20ng-click=\x22vm.deleteList($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x0a','<md-dialog\x20class=\x22list-dialog\x22\x20aria-label=\x22list\x22\x20ng-init=\x22vm.onInit()\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22listForm\x22\x20ng-cloak>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h2\x20translate=\x22CONTACTMANAGER.AGENTADD_LIST\x22>Add\x20Agent\x20to\x20list</h2>\x0a','<md-dialog\x20class=\x22customField-dialog\x22\x20aria-label=\x22New\x20CustomField\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22\x22\x20name=\x22alias\x22\x20\x20ng-model=\x22vm.customField.alias\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22customFieldForm[\x27alias\x27].$error\x22\x20ng-show=\x22customFieldForm[\x27alias\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22type\x22\x20ng-model=\x22vm.customField.type\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27select\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Number</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Switch</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22customFieldForm[\x27type\x27].$error\x22\x20ng-show=\x22customFieldForm[\x27type\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-list\x20ng-sortable=\x22vm.sortable\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-list-item\x20ng-repeat=\x22item\x20in\x20vm.customField.values\x22\x20style=\x22border:\x201px\x20solid\x20#ccc!important;\x20border-radius:\x207px;\x22\x20layout-margin>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20ng-model=\x22item.value\x22\x20flex>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-list-item\x20ng-if=\x22!vm.customField.values.length\x22\x20layout=\x22row\x22\x20layout-align=\x22center\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<em\x20translate=\x22CONTACTMANAGER.NO_AVAILABLE_ITEMS\x22>No\x20Available\x20Items</em>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.customField.required\x22\x20aria-label=\x22Required\x22\x20><span\x20translate=\x22CONTACTMANAGER.REQUIRED\x22>Required</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20!vm.newCustomField\x22\x20ng-click=\x22vm.saveCustomField()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22customFieldForm.$invalid\x20||\x20customFieldForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.newCustomField\x22\x20ng-click=\x22vm.addNewCustomField()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22customFieldForm.$invalid\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22CONTACTMANAGER.ADD_CUSTOMFIELD\x22\x20translate-attr-aria-label=\x22CONTACTMANAGER.ADD_CUSTOMFIELD\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20CUSTOMFIELD\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x20&&\x20!vm.newCustomField\x22\x20ng-click=\x22vm.deleteCustomField($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22goto-lists-button\x20md-icon-button\x22\x20aria-label=\x22Go\x20to\x20lists\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22CONTACTMANAGER.GO_TO_LISTS\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<img\x20ng-src=\x22assets/images/business/lists.jpg\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.list.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22vm.list.name\x22>{{vm.list.name}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CONTACTMANAGER.CREATED_AT\x22></span>\x20<span>{{vm.list.createdAt\x20|\x20date:\x27medium\x27}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.gotogoto(vm.list,\x20$event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip><span\x20translate=\x22CONTACTMANAGER.GOTO_LIST\x22></span></md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip><span\x20translate=\x22CONTACTMANAGER.AGENTADD_LIST\x22></span></md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-eye\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-click=\x22vm.saveList()\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20ng-disabled=\x22(generalForm.$invalid)\x20||\x20(customFieldsForm.$invalid)\x20||\x20(voiceDispositionsForm.$invalid)\x22\x20translate=\x22CONTACTMANAGER.SAVE\x22\x20translate-attr-aria-label=\x22CONTACTMANAGER.SAVE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CONTACTMANAGER.SETTINGS\x22>SETTINGS</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22list-detail-form-container\x20general\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22CONTACTMANAGER.PREFIX\x22>Prefix</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22dialPrefix\x22\x20\x20ng-model=\x22vm.list.dialPrefix\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27dialPrefix\x27].$error\x22\x20ng-show=\x22generalForm[\x27dialPrefix\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CONTACTMANAGER.CUSTOMFIELDS\x22>CUSTOMFIELDS</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22list-detail-form-container\x20customfields\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-controller=\x22ListCustomFieldsController\x20as\x20vm_dc\x22\x20ng-init=\x22vm_dc.init(vm.list,\x20vm.crudPermissions)\x22>\x0a','\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-default\x22\x20ng-hide=\x22vm_dc.selectedListCustomFields.length\x22>\x0a','\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22\x20translate=\x22CONTACTMANAGER.CUSTOMFIELDS\x22>CustomFields</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22vm_dc.crudPermissions.canEdit\x22\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm_dc.createOrEditListCustomField($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20customField\x22\x20translate\x20translate-attr-label=\x22CONTACTMANAGER.ADD_CUSTOMFIELD\x22>\x0a','\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-accent\x22\x20ng-show=\x22vm_dc.selectedListCustomFields.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22>{{vm_dc.selectedListCustomFields.length}}\x20{{vm_dc.selectedListCustomFields.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-icon-button\x22\x20ng-csv=\x22vm_dc.exportSelectedListCustomFields\x22\x20csv-label=\x22true\x22\x20filename=\x22lists.csv\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22vm_dc.crudPermissions.canDelete\x22\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm_dc.deleteSelectedListCustomFields($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22CONTACTMANAGER.DELETE_SELECTED\x22>\x0a','\x20\x20\x20\x20\x20\x20<table\x20md-table\x20md-row-select\x20multiple\x20ng-model=\x22vm_dc.selectedListCustomFields\x22\x20md-progress=\x22vm_dc.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm_dc.query.sort\x22\x20md-on-reorder=\x22vm_dc.getListCustomFields\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CONTACTMANAGER.ID\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22alias\x22\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CONTACTMANAGER.ALIAS\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22required\x22\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CONTACTMANAGER.REQUIRED\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22customField\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22customField\x20in\x20vm_dc.listCustomFields.rows\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_dc.createOrEditListCustomField($event,\x20customField)\x22\x20\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{customField.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{customField.alias}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm_dc.createOrEditListCustomField($event,\x20customField)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm_dc.arraytype[customField.type].option\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_dc.createOrEditListCustomField($event,\x20customField)\x22\x20md-cell\x20class=\x22required\x20\x22><md-icon\x20md-colors=\x22{color:\x20{{customField.required\x20?\x20\x27\x5c\x27green\x5c\x27\x27\x20:\x20\x27\x5c\x27grey\x5c\x27\x27}}}\x22\x20md-font-icon=\x22{{customField.required?\x20\x27icon-check\x27\x20:\x20\x27icon-close\x27}}\x22></md-icon></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20aria-label=\x22More\x22\x20translate\x20translate-attr-aria-label=\x22CONTACTMANAGER.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm_dc.createOrEditListCustomField($event,\x20customField)\x22\x20translate=\x22CONTACTMANAGER.EDIT_CUSTOMFIELD\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20CustomField\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm_dc.deleteConfirm(customField,\x20$event)\x22\x20translate=\x22CONTACTMANAGER.DELETE_CUSTOMFIELD\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20CustomField\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-if=\x22!vm_dc.listCustomFields.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22text-boxed-light\x22\x20translate=\x22CONTACTMANAGER.NO_CUSTOMFIELD_AVAILABLE\x22>No\x20customfield\x20available</span>\x0a','\x20\x20\x20\x20<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27CONTACTMANAGER.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27CONTACTMANAGER.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27CONTACTMANAGER.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm_dc.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm_dc.query.page\x22\x20md-total=\x22{{vm_dc.listCustomFields.count}}\x22\x20md-on-paginate=\x22vm_dc.getListCustomFields\x22\x20md-page-select></md-table-pagination>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22list-detail-form-container\x20voicedispositions\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-controller=\x22ListVoiceDispositionsController\x20as\x20vm_dc\x22\x20ng-init=\x22vm_dc.init(vm.list,\x20vm.crudPermissions)\x22>\x0a','\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22\x20translate=\x22CONTACTMANAGER.VOICEDISPOSITIONS\x22>VoiceDispositions</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22vm_dc.crudPermissions.canEdit\x22\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm_dc.createOrEditListVoiceDisposition($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20voiceDisposition\x22\x20translate\x20translate-attr-label=\x22CONTACTMANAGER.ADD_VOICEDISPOSITION\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22>{{vm_dc.selectedListVoiceDispositions.length}}\x20{{vm_dc.selectedListVoiceDispositions.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-icon-button\x22\x20ng-csv=\x22vm_dc.exportSelectedListVoiceDispositions\x22\x20csv-label=\x22true\x22\x20filename=\x22lists.csv\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22vm_dc.crudPermissions.canDelete\x22\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm_dc.deleteSelectedListVoiceDispositions($event)\x22\x0a','\x20\x20\x20\x20\x20\x20<table\x20md-table\x20md-row-select\x20multiple\x20ng-model=\x22vm_dc.selectedListVoiceDispositions\x22\x20md-progress=\x22vm_dc.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm_dc.query.sort\x22\x20md-on-reorder=\x22vm_dc.getListVoiceDispositions\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22name\x22\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CONTACTMANAGER.NAME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22voiceDisposition\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22voiceDisposition\x20in\x20vm_dc.listVoiceDispositions.rows\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_dc.createOrEditListVoiceDisposition($event,\x20voiceDisposition)\x22\x20\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{voiceDisposition.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_dc.createOrEditListVoiceDisposition($event,\x20voiceDisposition)\x22\x20\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{voiceDisposition.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_dc.createOrEditListVoiceDisposition($event,\x20voiceDisposition)\x22\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20voiceDisposition.createdAt\x20|\x20formatdate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20VoiceDisposition\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm_dc.deleteConfirm(voiceDisposition,\x20$event)\x22\x20translate=\x22CONTACTMANAGER.DELETE_VOICEDISPOSITION\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-if=\x22!vm_dc.listVoiceDispositions.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22text-boxed-light\x22\x20translate=\x22CONTACTMANAGER.NO_VOICEDISPOSITION_AVAILABLE\x22>No\x20voicedisposition\x20available</span>\x0a','\x20\x20\x20\x20<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27CONTACTMANAGER.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27CONTACTMANAGER.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27CONTACTMANAGER.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm_dc.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm_dc.query.page\x22\x20md-total=\x22{{vm_dc.listVoiceDispositions.count}}\x22\x20md-on-paginate=\x22vm_dc.getListVoiceDispositions\x22\x20md-page-select></md-table-pagination>\x0a','<md-dialog\x20class=\x22voiceDisposition-dialog\x22\x20aria-label=\x22New\x20VoiceDisposition\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22voiceDispositionForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22\x22\x20name=\x22name\x22\x20\x20ng-model=\x22vm.voiceDisposition.name\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22voiceDispositionForm[\x27name\x27].$error\x22\x20ng-show=\x22voiceDispositionForm[\x27name\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20!vm.newVoiceDisposition\x22\x20ng-click=\x22vm.saveVoiceDisposition()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22voiceDispositionForm.$invalid\x20||\x20voiceDispositionForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.newVoiceDisposition\x22\x20ng-click=\x22vm.addNewVoiceDisposition()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22CONTACTMANAGER.ADD_VOICEDISPOSITION\x22\x20translate-attr-aria-label=\x22CONTACTMANAGER.ADD_VOICEDISPOSITION\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x20&&\x20!vm.newVoiceDisposition\x22\x20ng-click=\x22vm.deleteVoiceDisposition($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22logo-text\x22\x20translate=\x22CONTACTMANAGER.LISTS\x22>Lists</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22close-button-wrapper\x22\x20ng-click=\x22vm.selectedLists\x20=[]\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CONTACTMANAGER.BACK\x22>Back</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>{{vm.selectedLists.length}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.selectAllLists()\x22\x20translate=\x22CONTACTMANAGER.SELECT_ALL\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deselectLists()\x22\x20translate=\x22CONTACTMANAGER.SELECT_NONE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x22\x20ng-click=\x22vm.deleteSelectedLists($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20LIST\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<table\x20md-table\x20\x20md-row-select\x20multiple\x20\x20\x20ng-model=\x22vm.selectedLists\x22\x20md-progress=\x22vm.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm.query.sort\x22\x20md-on-reorder=\x22vm.getLists\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22name\x22>{{\x20\x27CONTACTMANAGER.NAME\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm.lists.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22list\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22list\x20in\x20vm.lists.rows\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22list.userpic\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{list.name}}\x22\x20ng-src=\x22api/users/{{list.id}}/avatar\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22!list.userpic\x20&&\x20(vm.table\x20==\x20\x27users\x27\x20||\x20vm.table\x20==\x20\x27agents\x27)\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{list.name}}\x22\x20ng-src=\x22assets/images/avatars/profile.png\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(list,\x20ev)\x20:\x20vm.createOrEditList($event,\x20list)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22id\x20\x22\x20>{{list.id}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(list,\x20ev)\x20:\x20vm.createOrEditList($event,\x20list)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22name\x20\x22\x20>{{list.name}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22CONTACTMANAGER.EDIT_LIST\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22CONTACTMANAGER.GOTOCONTACTS_LIST\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20goToContacts\x20List\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20exportCsvContacts\x20List\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.agentadddialog(list,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22CONTACTMANAGER.AGENTADD_LIST\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deleteconfirm(list,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22CONTACTMANAGER.DELETE_LIST\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20List\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27CONTACTMANAGER.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27CONTACTMANAGER.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27CONTACTMANAGER.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm.query.page\x22\x20md-total=\x22{{vm.lists.count}}\x22\x20md-on-paginate=\x22vm.getLists\x22\x20md-page-select></md-table-pagination>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20ADD\x20LIST\x20BUTTON\x20-->\x0a','\x20\x20\x20\x20<!--\x20/\x20ADD\x20LIST\x20BUTTON\x20-->\x0a','<div\x20ng-if=\x22!vm.customDashboard\x22>\x0a','\x20\x20\x20\x20<p>Custom\x20Dashboard\x20not\x20available...</p>\x0a','<div\x20id=\x22dashboard-custom\x22\x20ng-if=\x22vm.customDashboard\x22\x20ng-cloak\x20layout-fill>\x0a','\x20\x20\x20\x20<md-content>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-toolbar\x20class=\x22md-default\x20md-accent\x20filter-header\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22>{{vm.customDashboard.name}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22column\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22font-size-10\x22\x20translate=\x22DASHBOARDS.FILTER_VOICE_QUEUES\x22>Filter\x20Voice\x20Queues</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20placeholder=\x22Select\x20one\x20or\x20more\x20queues\x22\x20class=\x22font-size-12\x20no-margin\x20w-200\x22\x20md-on-close=\x22vm.onChangeVoiceQueues()\x22\x20ng-model=\x22vm.voiceQueuesSelected\x22\x20multiple\x20aria-label=\x22voiceQueues\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22voiceQueue.id\x22\x20ng-repeat=\x22voiceQueue\x20in\x20vm.voiceQueues.rows\x22>{{\x20voiceQueue.name\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip\x20md-direction=\x22top\x22><span\x20translate=\x22DASHBOARDS.EDIT\x22></span></md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-table-edit\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<ms-widget-engine\x20config=\x22vm.customDashboard\x22></ms-widget-engine>\x0a','app/main/apps/dashboards/views/general/agent/agent.general.html','\x20\x20\x20\x20<div\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22\x20class=\x22md-primary-bg\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-raised\x20no-margin\x20width-50\x22\x20style=\x22border-radius:\x200px\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27md-primary\x27:\x20!vm.isActiveTab(0)}\x22\x20ng-click=\x22vm.onClickTab(0)\x22\x20aria-label=\x22home\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip\x20md-direction=\x22bottom\x22\x20md-delay=\x22500\x22>Home</md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-home\x22\x20class=\x22icon\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27grey-50-bg\x27:\x20vm.isActiveTab(tab.id)}\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22{{tab.icon}}\x22\x20class=\x22icon\x20s16\x20margin-horizontal-5\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22tab.color\x20+\x20\x27-fg\x27\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22vm.isActiveTab(tab.id)\x20?\x20\x27black-fg\x27\x20:\x20\x27grey-300-fg\x27\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{tab.title}}\x20<span\x20ng-if=\x22tab.badges\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22badge\x20md-white-fg\x20md-red-bg\x22>{{tab.badges}}</span></span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x20md-mini\x20no-margin\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22vm.isActiveTab(tab.id)\x20?\x20\x27md-primary\x27\x20:\x20\x27grey-300-fg\x27\x22\x20aria-label=\x22close\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.closeTab(tab)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-close-circle-outline\x22\x20class=\x22icon\x20s16\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20style=\x22height:\x202px\x22\x20ng-class=\x22vm.isActiveTab(tab.id)\x20?\x20tab.color\x20+\x20\x27-bg\x27\x20:\x20\x27\x27\x22></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20</ms-tab-scroll>\x0a','\x20\x20\x20\x20<div\x20layout=\x22row\x22\x20class=\x22agent-content\x22\x20ng-if=\x22vm.isActiveTab(0)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20ng-style=\x22{\x27top\x27:\x20vm.detectBrowser.browser\x20==\x20\x27safari\x27\x20?\x20\x27100px\x27\x20:\x20\x2736px\x27}\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20ng-controller=\x22AgentGeneralHomeController\x20as\x20vm_home\x22\x20ng-init=\x22vm_home.init(vm.license,\x20vm.setting)\x22></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22agent-content\x22\x20ms-scroll\x20ng-if=\x22vm.isActiveTab(tab.id)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-style=\x22{\x27top\x27:\x20vm.detectBrowser.browser\x20==\x20\x27safari\x27\x20?\x20\x27100px\x27\x20:\x20\x2736px\x27}\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-switch-when=\x22popup\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-controller=\x22AgentGeneralPopupController\x20as\x20vm\x22\x20ng-init=\x22vm.init(tab)\x22></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-switch-when=\x22jscripty\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-include=\x22\x27app/main/apps/dashboards/views/general/agent/jscripty/agent.general.jscripty.html\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-controller=\x22AgentGeneralJscriptyController\x20as\x20vm\x22\x20ng-init=\x22vm.init(tab)\x22></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-switch-when=\x22bot\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20id=\x22interaction-app\x22\x20ng-if=\x22vm.isActiveTab(tab.id)\x22\x20class=\x22agent-content\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-controller=\x22AgentGeneralBotController\x20as\x20vm\x22\x20ng-init=\x22vm.init(tab,\x20$parent.vm.setting)\x22></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-include=\x22\x27app/main/apps/dashboards/views/general/agent/interaction/agent.general.interaction.html\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-switch-when=\x22iframe\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20id=\x22iframe\x22\x20ng-if=\x22vm.isActiveTab(tab.id)\x22\x20class=\x22agent-content\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-include=\x22\x27app/main/apps/dashboards/views/general/agent/iframe/agent.general.iframe.html\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-controller=\x22AgentGeneralIframeController\x20as\x20vm\x22\x20ng-init=\x22vm.init(tab,\x20$parent.vm.setting)\x22>\x0a','<!--\x20CONTENT\x20CARD\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22app-title\x22\x20translate=\x22DASHBOARDS.WAITING\x22>Waiting</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22hide\x20show-gt-md\x20secondary-text\x22\x20translate=\x22DASHBOARDS.LOADING_INTERACTION\x22>We\x20are\x20loading\x20the\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20interaction...</span>\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22vm.showInteraction\x22\x20flex\x20layout=\x22row\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-card\x20flex=\x22100\x22\x20class=\x22interaction\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20TOOLBAR\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-toolbar\x20class=\x22interaction-toolbar\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22md-toolbar-tools\x22\x20layout=\x22row\x22\x20layout-align=\x22space-between\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22fas\x20fa-robot\x22\x20class=\x22s20\x20pink-fg\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22padding-left-10\x22\x20layout=\x22column\x22\x20layout-align=\x22center\x20start\x22\x20flex>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22font-size-14\x22\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22\x20layout-fill>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>#{{vm.tab.data.uniqueid}}\x20-\x20{{vm.tab.title}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20<div\x20layout=\x22row\x22\x20layout-align=\x22center\x20center\x22\x20class=\x22blue-grey-300-fg\x20padding-left-40\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22!vm.interaction.closed\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<timer\x20start-time=\x22vm.interaction.createdAt\x22\x20interval=\x221000\x22>{{\x20days\x20>\x200\x20?\x20days\x20+\x20\x27d\x27\x20:\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x27\x27\x20}}\x20{{hhours}}:{{mminutes}}:{{sseconds}}</timer>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-timelapse\x22\x20class=\x22s16\x20padding-left-5\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22row\x22\x20layout-align=\x22end\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-toolbar>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20TOOLBAR\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20layout-wrap>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22interaction-messages\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20MESSAGES\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<img\x20ng-if=\x22message.direction\x20===\x27in\x27\x22\x20src=\x22assets/images/avatars/customer.png\x22\x20class=\x22avatar\x22\x20/>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<img\x20ng-if=\x22message.direction\x20===\x27out\x27\x22\x20class=\x22avatar\x22\x20src=\x22assets/images/avatars/robot.png\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22bubble\x22\x20ng-switch=\x22message.direction\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.tab.title}}\x20-\x20{{message.createdAt\x20|\x20date:\x20\x27medium\x27}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout-padding>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20class=\x22s18\x22\x20md-font-icon=\x22icon-check-all\x20md-accent\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-bind-html=\x22message.body\x20|\x20embed:vm.emojiOptions\x22\x20class=\x22message\x22\x20layout=\x22row\x22\x20layout-align=\x22end\x20center\x22></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20MESSAGES\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20CONTENT\x20-->\x0a','<md-tabs\x20md-selected=\x22vm.currentTab\x22\x20md-dynamic-height>\x0a','\x20\x20\x20\x20<md-tab>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-tab-label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-tab-body>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-content>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22row\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20MS-CARD\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22info\x22\x20layout=\x22column\x22\x20layout-align=\x22space-between\x22\x20layout-fill\x20flex>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22row\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22call.answeredAt\x22\x20class=\x22text-boxed\x20indigo-100-bg\x22><timer\x20start-time=\x22call.answeredAt\x22\x20interval=\x221000\x22>{{\x20days\x20>\x200\x20?\x20days\x20+\x20\x27d\x27\x20:\x20\x27\x27\x20}}\x20{{hhours}}:{{mminutes}}:{{sseconds}}</timer></span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20flex></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22call.disposedAt\x22\x20class=\x22text-boxed\x20amber-200-bg\x22><timer\x20start-time=\x22call.disposedAt\x22\x20interval=\x221000\x22>{{\x20days\x20>\x200\x20?\x20days\x20+\x20\x27d\x27\x20:\x20\x27\x27\x20}}\x20{{hhours}}:{{mminutes}}:{{sseconds}}</timer></span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22p-16\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22title\x20h1\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20ng-if=\x22!call.routeId\x22\x20md-font-icon=\x22icon-phone-incoming\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20ng-if=\x22call.routeId\x22\x20md-font-icon=\x22icon-phone-outgoing\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20call.routeId\x20?\x20call.destcalleridnum\x20:\x20call.calleridnum\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22subtitle\x20h4\x20secondary-text\x22\x20ng-if=\x22call.calleridname\x20&&\x20call.calleridname\x20!=\x20\x27<unknown>\x27\x20&&\x20!call.routeId\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-account\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-stackoverflow\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Queue:\x20{{call.queue}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-minus\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27DASHBOARDS.DISPOSE\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20flex\x20layout=\x22row\x22\x20layout-align=\x22end\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-click=\x22vm.mergeContact($event)\x22\x20class=\x22send-button\x20md-raised\x20md-accent\x20ng-scope\x22\x20ng-if=\x22!vm.newContact\x22\x20ng-disabled=\x22vm.detailForm.$invalid\x20||\x20vm.customFieldsForm.$invalid\x20||\x20vm.socialForm.$invalid\x22\x20aria-label=\x22merge\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip\x20md-direction=\x22top\x22><span\x20translate=\x22DASHBOARDS.MERGE\x22></span></md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-source-fork\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-click=\x22vm.duplicateContact($event)\x22\x20class=\x22send-button\x20md-raised\x20md-accent\x20ng-scope\x22\x20ng-if=\x22!vm.newContact\x22\x20ng-disabled=\x22vm.detailForm.$invalid\x20||\x20vm.customFieldsForm.$invalid\x20||\x20vm.socialForm.$invalid\x22\x20aria-label=\x22duplicate\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip\x20md-direction=\x22top\x22><span\x20translate=\x22DASHBOARDS.DUPLICATE\x22></span></md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-content-duplicate\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-click=\x22vm.addNewContact($event)\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20ng-if=\x22vm.newContact\x22\x20ng-disabled=\x22vm.detailForm.$invalid\x20||\x20vm.customFieldsForm.$invalid\x20||\x20vm.socialForm.$invalid\x22\x20aria-label=\x22add\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27DASHBOARDS.ADD\x27|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-click=\x22vm.saveContact($event)\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20ng-if=\x22!vm.newContact\x22\x20ng-disabled=\x22vm.detailForm.$invalid\x20||\x20vm.customFieldsForm.$invalid\x20||\x20vm.socialForm.$invalid\x22\x20aria-label=\x22save\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27DASHBOARDS.SAVE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22column\x22\x20flex=\x2275\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-card\x20layout-padding>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x20text-truncate\x22\x20translate=\x22DASHBOARDS.PERSONAL_INFO\x22>PERSONAL_INFO</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22subtitle\x20secondary-text\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22CONTACTMANAGER.CREATED_AT\x22></span>\x20<span>{{vm.contact.createdAt\x20|\x20date:\x27medium\x27}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22row\x22\x20flex>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22DASHBOARDS.FIRSTNAME\x22>First\x20Name</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-account\x22\x20class=\x22firstname\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22firstName\x22\x20ng-model=\x22vm.contact.firstName\x22\x20class=\x22text-truncate\x22\x20required>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22vm.detailForm.firstName.$error\x22\x20ng-show=\x22vm.detailForm.firstName.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu\x20ng-if=\x22!vm.newContact\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-disabled=\x22!vm.license.jscripty\x22\x20class=\x22md-icon-button\x20md-raised\x20md-accent\x20ng-scope\x20md-ink-ripple\x22\x20title=\x22JSCRIPTY\x20PROJECTS\x22\x20ng-click=\x22$mdOpenMenu($event)\x22\x20aria-label=\x22jscripty\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-script\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-content>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-item\x20ng-if=\x22vm.jscriptyProjects\x20&&\x20vm.jscriptyProjects.rows.length\x22\x20ng-repeat=\x22project\x20in\x20vm.jscriptyProjects.rows\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.addJscriptyTab(project,\x20$event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-button>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-menu-item>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-item\x20ng-if=\x22!vm.jscriptyProjects\x20||\x20!vm.jscriptyProjects.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20disabled=\x22disabled\x22\x20translate=\x22DASHBOARDS.NO_JSCRIPTY_PROJECTS_AVAILABLE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-script\x22></md-icon>\x20No\x20jscripty\x20projects\x20available\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22DASHBOARDS.LASTNAME\x22>Last\x20Name</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22lastName\x22\x20ng-model=\x22vm.contact.lastName\x22\x20class=\x22text-truncate\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-phone\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20ng-show=\x22!vm.user.phoneBarRemoteControl\x20||\x20!vm.contact.phone\x22\x20translate=\x22CONTACTMANAGER.HELP.PHONEBAR_API\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20click\x20to\x20call\x20directive\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20\x20/\x20click\x20to\x20call\x20directive\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22DASHBOARDS.MOBILE\x22>Mobile</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-cellphone-iphone\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22mobile\x22\x20ng-model=\x22vm.contact.mobile\x22\x20class=\x22text-truncate\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20ng-show=\x22!vm.user.phoneBarRemoteControl\x20||\x20!vm.contact.mobile\x22\x20translate=\x22CONTACTMANAGER.HELP.PHONEBAR_API\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-disabled=\x22!vm.license.messaging\x20||\x20!vm.hasPermission(107)\x20||\x20!vm.contact.mobile\x22\x20class=\x22md-icon-button\x20md-raised\x20md-accent\x20ng-scope\x20md-ink-ripple\x22\x20title=\x22NEW\x20SMS\x22\x20ng-click=\x22$mdOpenMenu($event)\x22\x20aria-label=\x22sms\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-item\x20ng-if=\x22vm.smsAccounts\x20&&\x20vm.smsAccounts.rows.length\x22\x20ng-repeat=\x22account\x20in\x20vm.smsAccounts.rows\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.composeInteraction($event,\x20\x27Sms\x27,\x20account,\x20vm.contact.mobile)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-message-text\x22></md-icon>\x20{{account.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-item\x20ng-if=\x22!vm.smsAccounts\x20||\x20!vm.smsAccounts.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20disabled=\x22disabled\x22\x20translate=\x22DASHBOARDS.NO_SMS_ACCOUNTS_AVAILABLE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-message-text\x22></md-icon>\x20No\x20sms\x20accounts\x20available\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-disabled=\x22!vm.license.whatsapp\x20||\x20!vm.hasPermission(114)\x20||\x20!vm.contact.mobile\x22\x20class=\x22md-icon-button\x20md-raised\x20md-accent\x20ng-scope\x20md-ink-ripple\x22\x20title=\x22NEW\x20WHATSAPP\x22\x20ng-click=\x22$mdOpenMenu($event)\x22\x20aria-label=\x22whatsapp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-whatsapp\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.composeInteraction($event,\x20\x27Whatsapp\x27,\x20account,\x20vm.contact.mobile)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-whatsapp\x22></md-icon>\x20{{account.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20disabled=\x22disabled\x22\x20translate=\x22DASHBOARDS.NO_WHATSAPP_ACCOUNTS_AVAILABLE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-whatsapp\x22></md-icon>\x20No\x20whatsapp\x20accounts\x20available\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22DASHBOARDS.EMAIL\x22>Email</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-email\x22\x20class=\x22email\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-message=\x22email\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22DASHBOARDS.ERRORS.EMAIL_MUST_VALID\x22>Email\x20must\x20be\x20a\x20valid\x20e-mail\x20address</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-email\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-item\x20ng-if=\x22vm.mailAccounts\x20&&\x20vm.mailAccounts.rows.length\x22\x20ng-repeat=\x22account\x20in\x20vm.mailAccounts.rows\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.composeInteraction($event,\x20\x27Mail\x27,\x20account,\x20vm.contact.email)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-email\x22></md-icon>\x20{{account.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-item\x20ng-if=\x22!vm.mailAccounts\x20||\x20!vm.mailAccounts.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20disabled=\x22disabled\x22\x20translate=\x22DASHBOARDS.NO_MAIL_ACCOUNTS_AVAILABLE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-menu-content>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-menu>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22DASHBOARDS.FAX\x22>Fax</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-deskphone\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22fax\x22\x20ng-model=\x22vm.contact.fax\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-disabled=\x22!vm.license.fax\x20||\x20!vm.hasPermission(109)\x20||\x20!vm.contact.fax\x22\x20class=\x22md-icon-button\x20md-raised\x20md-accent\x20ng-scope\x20md-ink-ripple\x22\x20title=\x22NEW\x20FAX\x22\x20ng-click=\x22$mdOpenMenu($event)\x22\x20aria-label=\x22fax\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-deskphone\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-item\x20ng-if=\x22vm.faxAccounts\x20&&\x20vm.faxAccounts.rows.length\x22\x20ng-repeat=\x22account\x20in\x20vm.faxAccounts.rows\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.composeInteraction($event,\x20\x27Fax\x27,\x20account,\x20vm.contact.fax)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-item\x20ng-if=\x22!vm.faxAccounts\x20||\x20!vm.faxAccounts.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20disabled=\x22disabled\x22\x20translate=\x22DASHBOARDS.NO_FAX_ACCOUNTS_AVAILABLE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-deskphone\x22></md-icon>\x20No\x20fax\x20accounts\x20available\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20class=\x22md-block\x22\x20flex-gt-sm=\x22\x22\x20ng-init=\x22vm.contact.dateOfBirth\x20=\x20vm.getDateFromString(vm.contact.dateOfBirth)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22DASHBOARDS.DATE_OF_BIRTH\x22>Date\x20of\x20Birth</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<mdp-date-picker\x20mdp-open-on-click\x20mdp-format=\x22YYYY-MM-DD\x22\x20name=\x22dateOfBirth\x22\x20ng-model=\x22vm.contact.dateOfBirth\x22></mdp-date-picker>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22DASHBOARDS.COMPANY\x22>Company</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-domain\x22\x20class=\x22email\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22company\x22\x20ng-model=\x22vm.contact.CompanyId\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22company.id\x22\x20ng-repeat=\x22company\x20in\x20vm.tab.companies.rows\x22>{{company.name}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22null\x22><em\x20translate=\x22DASHBOARDS.NONE\x22>None</em></md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22DASHBOARDS.TAG\x22>TAG</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20ng-model=\x22vm.tab.Tags\x22\x20multiple>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-home\x22\x20class=\x22country\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22DASHBOARDS.CITY\x22>City</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22DASHBOARDS.STREET\x22>Street</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22DASHBOARDS.POSTALCODE\x22>Postal\x20Code</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate\x20translate-attr-placeholder=\x22DASHBOARDS.NOTES\x22>Notes</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-note\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<textarea\x20ng-model=\x22vm.contact.description\x22\x20type=\x22text\x22\x20max-rows=\x224\x22></textarea>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-card>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<form\x20name=\x22vm.socialForm\x22\x20novalidate></form>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22facebook\x22\x20ng-model=\x22vm.contact.facebook\x22\x20class=\x22text-truncate\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label>Twitter</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-twitter\x22\x20class=\x22twitter\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22twitter\x22\x20ng-model=\x22vm.contact.twitter\x22\x20class=\x22text-truncate\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label>Line</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22fab\x20fa-line\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label>Viber</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label>WeChat</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22fab\x20fa-weixin\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22wechat\x22\x20ng-model=\x22vm.contact.wechat\x22\x20class=\x22text-truncate\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label>Telegram</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-telegram\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22telegram\x22\x20ng-model=\x22vm.contact.telegram\x22\x20class=\x22text-truncate\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20flex=\x2225\x22\x20layout=\x22column\x22\x20layout-padding>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-card\x20flex=\x22100\x22\x20layout-padding>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x20text-truncate\x22\x20translate=\x22DASHBOARDS.CUSTOM_FIELDS\x22>CUSTOM\x20FIELDS</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<form\x20name=\x22vm.customFieldsForm\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate\x20translate-attr-placeholder=\x22DASHBOARDS.LIST\x22>List</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22list\x22\x20ng-model=\x22vm.contact.ListId\x22\x20ng-change=\x22vm.getCustomFields(vm.contact.ListId)\x22\x20required>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22list.id\x22\x20ng-repeat=\x22list\x20in\x20vm.tab.userLists.rows\x22>#{{list.id}}\x20-\x20{{list.name}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20class=\x22md-block\x22\x20ng-if=\x22vm.contact.ListId\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20ng-disabled=\x22!vm.newContact\x22\x20name=\x22list\x22\x20ng-model=\x22vm.contact.ListId\x22\x20required>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22list.id\x22\x20ng-repeat=\x22list\x20in\x20vm.tab.lists.rows\x22>#{{list.id}}\x20-\x20{{list.name}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-select>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20END\x20INPUT\x20LIST\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-repeat=\x22customField\x20in\x20vm.tab.customFields.rows\x22\x20ng-switch=\x22customField.type\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label>{{customField.alias}}<span\x20ng-if=\x22customField.required\x22>*</span></label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<mdp-date-picker\x20mdp-open-on-click\x20ng-required=\x22customField.required\x22\x20mdp-format=\x22YYYY-MM-DD\x22\x20ng-model=\x22vm.contact[\x27cf_\x27\x20+\x20customField.id]\x22></mdp-date-picker>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20class=\x22md-block\x22\x20ng-switch-default>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22{{customField.type}}\x22\x20ng-model=\x22vm.contact[\x27cf_\x27\x20+\x20customField.id]\x22\x20ng-required=\x22customField.required\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-content>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20</md-tab-body>\x0a','\x20\x20\x20\x20</md-tab>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22DASHBOARDS.CUSTOMER_JOURNEY\x22>Customer\x20Journey</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-content\x20class=\x22md-padding\x22\x20id=\x22interaction-content\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-include=\x22\x27app/main/apps/dashboards/views/general/agent/interaction/views/agent.general.info.journey.html\x27\x22></div>\x0a','</md-tabs>\x0a','<md-dialog\x20class=\x22agent-dialog\x22\x20aria-label=\x22agent\x20dispose\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<form\x20name=\x22disposition\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-toolbar\x20class=\x22md-background-bg\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22title\x22\x20translate=\x22DASHBOARDS.DISPOSE\x22></span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm.closeDialog()\x22\x20ng-if=\x22!vm.call.mandatoryDisposition\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-dialog-content\x20ms-scroll>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22!vm.isReschedule\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22DASHBOARDS.DISPOSITIONS\x22>Dispositions</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22gd.name\x22\x20ng-repeat=\x22gd\x20in\x20vm.globalDispositions.rows\x22>{{\x20gd.name\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22DASHBOARDS.NOTE\x22>Note</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22vm.isReschedule\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20flex\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<mdp-date-picker\x20mdp-open-on-click\x20required\x20name=\x22date\x22\x20mdp-placeholder=\x22Date\x22\x20mdp-format=\x22YYYY-MM-DD\x22\x20mdp-min-date=\x22vm.hopper.minDate\x22\x20ng-model=\x22vm.hopper.dateTime\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22disposition.date.$error\x22\x20ng-show=\x22disposition.date.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22DASHBOARDS.ERRORS.DATE_REQUIRED\x22>Date\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-message=\x22format\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22DASHBOARDS.ERRORS.DATE_INVALID\x22>Date\x20is\x20invalid</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</mdp-date-picker>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<mdp-time-picker\x20mdp-open-on-click\x20required\x20name=\x22time\x22\x20mdp-placeholder=\x22Time\x22\x20mdp-format=\x22HH:mm:ss\x22\x20mdp-auto-switch=\x22true\x22\x20ng-model=\x22vm.hopper.dateTime\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22disposition.time.$error\x22\x20ng-show=\x22disposition.time.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22DASHBOARDS.ERRORS.TIME_REQUIRED\x22>Time\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20ng-if=\x22!vm.dialerCall\x22\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22DASHBOARDS.CAMPAIGN\x22>Campaign</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22queueCampaign\x22\x20ng-model=\x22vm.queueCampaign\x22\x20required>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22queueCampaign\x22\x20ng-repeat=\x22queueCampaign\x20in\x20vm.queueCampaigns.rows\x22>{{\x20queueCampaign.name\x20}}\x20({{\x20queueCampaign.dialActive\x20?\x20\x27Active\x27\x20:\x20\x27Not\x20Active\x27\x20}})</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22disposition.queueCampaign.$error\x22\x20ng-show=\x22disposition.queueCampaign.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22DASHBOARDS.ERRORS.CAMPAIGN_REQUIRED\x22>Campaign\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-dialog-content>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-dialog-actions\x20ng-if=\x22!vm.isReschedule\x22\x20layout=\x22row\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-disabled=\x22disposition.$invalid\x20||\x20disposition.$pristine\x22\x20class=\x22send-button\x20md-raised\x20md-accent\x22\x20ng-click=\x22vm.saveDisposition()\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{(vm.choice\x20?\x20\x27DASHBOARDS.DISPOSE\x27\x20:\x20\x27DASHBOARDS.SAVE\x27)\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22send-button\x20md-raised\x20md-primary\x22\x20translate=\x22DASHBOARDS.RESCHEDULE\x22\x20ng-click=\x22vm.saveDisposition(\x27reschedule\x27)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Reschedule\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20translate=\x22DASHBOARDS.RECALLME\x22\x20ng-click=\x22vm.saveDisposition(\x27recallme\x27)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Recall\x20Me\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Blacklist\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-dialog-actions\x20ng-if=\x22vm.isReschedule\x22\x20layout=\x22row\x22\x20layout-align=\x22space-between\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-click=\x22vm.saveReschedule()\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20ng-disabled=\x22disposition.$invalid\x20||\x20disposition.$pristine\x20||\x20vm.disable\x22\x20aria-label=\x22SAVE\x22\x20translate=\x22DASHBOARDS.SAVE\x22\x20translate-attr-aria-label=\x22DASHBOARDS.SAVE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a','\x20\x20\x20\x20\x20\x20\x20\x20</form>\x0a','\x20\x20\x20\x20</md-dialog>','<md-dialog\x20class=\x22agent-dialog\x22\x20aria-label=\x22New\x20Agent\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22dateTime\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-toolbar\x20class=\x22md-background-bg\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22dateTime.date.$error\x22\x20ng-show=\x22dateTime.date.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22DASHBOARDS.ERRORS.DATE_REQUIRED\x22>Date\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22DASHBOARDS.ERRORS.DATE_INVALID\x22>Date\x20is\x20invalid</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<mdp-time-picker\x20mdp-open-on-click\x20required\x20name=\x22time\x22\x20mdp-placeholder=\x22Time\x22\x20mdp-format=\x22HH:mm:ss\x22\x20mdp-auto-switch=\x22true\x22\x20ng-model=\x22vm.hopper.dateTime\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22dateTime.time.$error\x22\x20ng-show=\x22dateTime.time.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22DASHBOARDS.ERRORS.TIME_REQUIRED\x22>Time\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22DASHBOARDS.ERRORS.TIME_INVALID\x22>Time\x20is\x20invalid</span>\x0a','app/main/apps/dashboards/views/general/agent/home/abandoned/agent.general.abandoned.html','\x20\x20<md-content>\x0a','\x20\x20\x20\x20\x20\x20<md-tab\x20ng-if=\x22vm_home.hasPermission(110)\x22\x20label=\x22{{\x27DASHBOARDS.VOICE\x27\x20|\x20translate}}\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-content\x20ng-if=\x22vm.selectedTab\x20===\x200\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-include=\x22\x27app/main/apps/dashboards/views/general/agent/home/abandoned/voice/agent.general.abandoned.voice.html\x27\x22\x0a','\x20\x20\x20\x20\x20\x20</md-tab>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-include=\x22\x27app/main/apps/dashboards/views/general/agent/home/abandoned/bull/agent.general.abandoned.bull.html\x27\x22\x0a','\x20\x20</md-content>\x0a','\x20\x20\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-default\x20table-header\x20blue-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27h-128\x27\x20:\x20vm_bull.isSearchBarVisible\x20===\x20true}\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22md-toolbar-tools\x22\x20layout=\x22row\x22\x20layout-align=\x22center\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<ms-search-bar\x20on-search=\x22vm_bull.query.filter\x20=\x20query\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20on-collapse=\x22vm_bull.onSearchBarCollapse()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20on-expand=\x22vm_bull.onSearchBarExpand()\x22\x20query=\x22vm_bull.query.filter\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x20reload-list\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22Reload\x22\x20translate\x20translate-attr-label=\x22DASHBOARDS.RELOAD\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-reload\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.CLICKRELOAD\x27\x20|\x20translate}}</md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm_bull.query.sort\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-on-reorder=\x22vm_bull.getAbandonedCalls\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22id\x22>{{\x27DASHBOARDS.ID\x27\x20|\x20translate}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22calleridnum\x22>{{\x27DASHBOARDS.PHONE\x27\x20|\x20translate}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22queue\x22>{{\x27DASHBOARDS.QUEUE\x27\x20|\x20translate}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22queuecallerabandonAt\x22>{{\x27DASHBOARDS.ABANDONAT\x27\x20|\x20translate}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22queuecallerexitreason\x22>{{\x27DASHBOARDS.QUEUECALLEREXITREASON\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x27DASHBOARDS.RESERVED\x27\x20|\x20translate}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22lastAssignedTo\x22>{{\x27DASHBOARDS.LASTASSIGNEDTO\x27\x20|\x20translate}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20width=\x2210px\x22></th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm_bull.abandonedCalls.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20colspan=\x2210\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.NO_AVAILABLE_INFO\x22>No\x20Available\x20Info</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-repeat=\x22abandonedCall\x20in\x20vm_bull.abandonedCalls.rows\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20class=\x22id\x22>{{abandonedCall.id}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20class=\x22firstName\x22>{{abandonedCall.calleridname}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20click\x20to\x20call\x20directive\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<ms-click-to-call\x20target=\x22abandonedCall.calleridnum\x22\x20license=\x22vm_home.license\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20disabled=\x22abandonedCall.lastAssignedTo\x20!==\x20vm_bull.currentUser.name\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</ms-click-to-call>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20class=\x22list\x22>{{vm_bull.queuesMap[abandonedCall.queue]}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20class=\x22list\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20class=\x22list\x22>{{abandonedCall.queuecallerexitreason}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20class=\x22actions\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20no-margin\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22vm_bull.disable[abandonedCall.id]\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-model=\x22abandonedCall.assigned\x22\x20aria-label=\x22reserved\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-change=\x22vm_bull.reserved(abandonedCall,\x20abandonedCall.disposition)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu\x20ng-if=\x22abandonedCall.lastAssignedTo\x20===\x20vm_bull.currentUser.name\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20aria-label=\x22More\x22\x20translate\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22DASHBOARDS.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22$mdMenu.open()\x22\x20class=\x22text-capitalize\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22DASHBOARDS.DISPOSE\x22>Dispose</md-button>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-content>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-repeat=\x22disposition\x20in\x20vm_bull.disposition\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm_bull.reserved(abandonedCall,\x20disposition.name)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{disposition.name}}</md-button>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-menu>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20md-on-paginate=\x22vm_bull.getAbandonedCalls\x22\x20md-page-select></md-table-pagination>\x0a','app/main/apps/dashboards/views/general/agent/home/abandoned/voice/agent.general.abandoned.voice.html','<md-card\x20ngCloak>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27h-128\x27\x20:\x20vm_voice.isSearchBarVisible\x20===\x20true}\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<ms-search-bar\x20on-search=\x22vm_voice.query.filter\x20=\x20query\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20debounce=\x22300\x22\x20direction=\x22down\x22\x20icon-color=\x22white-fg\x22></ms-search-bar>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20search=\x22vm_voice.getAbandonedCalls()\x22></ms-quick-filter>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm_voice.refresh\x20&&\x20vm_voice.refreshAbandonedCalls($event)\x22\x0a','\x20\x20\x20\x20<md-table-container>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm_voice.query.sort\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-on-reorder=\x22vm_voice.getAbandonedCalls\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22disposition\x22>{{\x27DASHBOARDS.DISPOSITION\x27\x20|\x20translate}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm_voice.abandonedCalls.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20class=\x22phone\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20disabled=\x22abandonedCall.lastAssignedTo\x20!==\x20vm_voice.currentUser.name\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20\x20/\x20click\x20to\x20call\x20directive\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20class=\x22list\x22>{{vm_voice.queuesMap[abandonedCall.queue]}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20class=\x22list\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20class=\x22list\x22>{{abandonedCall.disposition}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20class=\x22actions\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22vm_voice.disable[abandonedCall.id]\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-change=\x22vm_voice.reserved(abandonedCall,\x20abandonedCall.disposition)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu\x20ng-if=\x22abandonedCall.lastAssignedTo\x20===\x20vm_voice.currentUser.name\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-dots-vertical\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm_voice.reserved(abandonedCall,\x20disposition.name)\x22>\x0a','\x20\x20\x20\x20<md-table-pagination\x20md-limit=\x22vm_voice.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20md-page=\x22vm_voice.query.page\x22\x20md-total=\x22{{vm_voice.abandonedCalls.count}}\x22\x0a','app/main/apps/dashboards/views/general/agent/home/agent.general.home.html','<div\x20layout=\x22column\x22\x20layout-align=\x22start\x20center\x22\x20class=\x22md-primary-bg\x20width-50\x22\x20ms-scroll>\x0a','\x20\x20\x20\x20<div\x20ng-repeat=\x22node\x20in\x20vm_home.navigation\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-repeat=\x22home\x20in\x20node.children\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-repeat=\x22button\x20in\x20home.children\x22\x20ng-if=\x22!button.hidden()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm_home.changeSidebarTab(button)\x22\x20ng-class=\x22{\x27md-primary\x27:\x20vm_home.sidebar\x20!=\x20button.state}\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip\x20md-direction=\x22right\x22\x20md-delay=\x22500\x22><span\x20translate=\x22{{button.translate}}\x22></span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22{{button.icon}}\x22\x20ng-class=\x22button.iconClass\x22></md-icon>\x0a','<div\x20layout=\x22column\x22\x20flex>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-switch=\x22vm_home.sidebar\x22\x20style=\x22overflow-y:\x20auto\x22\x20flex>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-switch-when=\x22contacts\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22vm_home.hasPermission(102)\x20&&\x20vm_home.license.cm\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22!vm_home.hasPermission(102)\x20||\x20!vm_home.license.cm\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-switch-when=\x22mycontacts\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-include=\x22\x27app/main/apps/dashboards/views/general/agent/home/mycontacts/agent.general.mycontacts.html\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-controller=\x22AgentHomeMyContactsController\x20as\x20vm\x22></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22!vm_home.hasPermission(103)\x20||\x20!vm_home.license.cm\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-switch-when=\x22scheduled\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-controller=\x22AgentHomeScheduledCallsController\x20as\x20vm\x22></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22!vm_home.hasPermission(113)\x20||\x20!vm_home.license.dialer\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-include=\x22\x27app/main/apps/dashboards/views/general/agent/home/agent.general.home.permissions.html\x27\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-switch-when=\x22voice\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22vm_home.hasPermission(110)\x20&&\x20vm_home.license.voice\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-include=\x22\x27app/main/apps/dashboards/views/general/agent/home/voice/agent.general.voice.html\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-controller=\x22AgentHomeVoiceController\x20as\x20vm\x22></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-switch-when=\x22abandoned\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22vm_home.hasPermission(111)\x20&&\x20vm_home.license.voice\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-include=\x22\x27app/main/apps/dashboards/views/general/agent/home/abandoned/agent.general.abandoned.html\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-controller=\x22AgentHomeAbandonedController\x20as\x20vm\x22></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22!vm_home.hasPermission(111)\x20||\x20!vm_home.license.voice\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-switch-when=\x22recordings\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-controller=\x22AgentHomeRecordingsController\x20as\x20vm\x22></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22!vm_home.hasPermission(104)\x20||\x20!vm_home.license.voice\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-switch-when=\x22chat\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22vm_home.hasPermission(105)\x20&&\x20vm_home.license.chat\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-include=\x22\x27app/main/apps/dashboards/views/general/agent/home/chat/agent.general.chat.html\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-controller=\x22AgentHomeChatController\x20as\x20vm\x22\x20ng-init=\x22vm.onInit(vm_home.license,\x20vm_home.setting)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-switch-when=\x22mail\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22vm_home.hasPermission(106)\x20&&\x20vm_home.license.mail\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-include=\x22\x27app/main/apps/dashboards/views/general/agent/home/mail/agent.general.mail.html\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22!vm_home.hasPermission(106)\x20||\x20!vm_home.license.mail\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22vm_home.hasPermission(107)\x20&&\x20vm_home.license.messaging\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-include=\x22\x27app/main/apps/dashboards/views/general/agent/home/sms/agent.general.sms.html\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-controller=\x22AgentHomeSmsController\x20as\x20vm\x22\x20ng-init=\x22vm.onInit(vm_home.license,\x20vm_home.setting)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22!vm_home.hasPermission(107)\x20||\x20!vm_home.license.messaging\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-switch-when=\x22openchannel\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22vm_home.hasPermission(108)\x20&&\x20vm_home.license.openchannel\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-include=\x22\x27app/main/apps/dashboards/views/general/agent/home/openchannel/agent.general.openchannel.html\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-controller=\x22AgentHomeOpenchannelController\x20as\x20vm\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22!vm_home.hasPermission(108)\x20||\x20!vm_home.license.openchannel\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-switch-when=\x22fax\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22vm_home.hasPermission(109)\x20&&\x20vm_home.license.fax\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-controller=\x22AgentHomeFaxController\x20as\x20vm\x22\x20ng-init=\x22vm.onInit(vm_home.license,\x20vm_home.setting)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22!vm_home.hasPermission(109)\x20||\x20!vm_home.license.fax\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-switch-when=\x22whatsapp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22vm_home.hasPermission(114)\x20&&\x20vm_home.license.whatsapp\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-include=\x22\x27app/main/apps/dashboards/views/general/agent/home/whatsapp/agent.general.whatsapp.html\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-controller=\x22AgentHomeWhatsappController\x20as\x20vm\x22\x20ng-init=\x22vm.onInit(vm_home.license,\x20vm_home.setting)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22!vm_home.hasPermission(114)\x20||\x20!vm_home.license.whatsapp\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22vm_home.hasPermission(vm_home.pluginId)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-init=\x22vm.onInit(vm_home.license,\x20vm_home.setting,\x20vm_home.plugin)\x22\x20layout-fill></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22!vm_home.hasPermission(vm_home.pluginId)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-switch-default>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22vm_home.hasPermission(101)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-include=\x22\x27app/main/apps/dashboards/views/general/agent/home/dashboard/agent.general.dashboard.html\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-controller=\x22\x20AgentHomeDashboardController\x20\x20as\x20vm\x22></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22!vm_home.hasPermission(101)\x22\x0a','\x20\x20\x20\x20<div\x20ng-if=\x22(vm_home.draftManager.drafts\x20|\x20json)\x20!=\x20\x27{}\x27\x22\x20layout=\x22column\x22\x20class=\x22draft-manager-bar\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<ms-tab-scroll>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22column\x22\x20ng-repeat=\x22(key,\x20draft)\x20in\x20vm_home.draftManager.drafts\x22\x20class=\x22grey-50-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm_home.draftManager.open(draft.id)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22draft-manager-tab\x22\x20layout=\x22row\x22\x20layout-align=\x22space-between\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-pencil\x22\x20class=\x22icon\x20s16\x20margin-horizontal-5\x20black-fg\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22text-truncate\x20font-size-12\x20black-fg\x22>{{draft.title}}</span>\x0a','app/main/apps/dashboards/views/general/agent/home/agent.general.home.permissions.html','<md-content\x20layout=\x22row\x22\x20layout-align=\x22space-around\x20center\x22\x20flex\x20layout-padding\x20layout-wrap>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22font-size-40\x20text-center\x22>{{\x20\x27DASHBOARDS.WELCOME_TO_MOTION\x27\x20|\x20translate\x20}}!</span>\x0a','\x20\x20\x20\x20<div\x20layout=\x22column\x22\x20flex=\x2250\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<img\x20src=\x22assets/images/avatars/permissions.png\x22\x20alt=\x22permissions\x22>\x0a','app/main/apps/dashboards/views/general/agent/home/chat/agent.general.chat.html','\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-default\x20table-header\x22\x20ng-class=\x22{{\x20\x27vm.sectionColor\x27\x20}}\x20+\x20\x27-bg\x27\x22\x0a','\x20\x20\x20\x20\x20\x20<ms-search-bar\x20on-search=\x22vm.query.filter\x20=\x20query\x22\x20on-collapse=\x22vm.onSearchBarCollapse()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20on-expand=\x22vm.onSearchBarExpand()\x22\x20query=\x22vm.query.filter\x22\x20debounce=\x22300\x22\x20direction=\x22down\x22\x20icon-color=\x22white-fg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22vm.query.search\x22>\x0a','\x20\x20\x20\x20\x20\x20</ms-search-bar>\x0a','\x20\x20\x20\x20\x20\x20<ms-quick-filter\x20filters=\x22vm.quickFilters\x22\x20query=\x22vm.query\x22\x20search=\x22vm.getChatInteractions()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22vm.query.search\x22></ms-quick-filter>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22Advanced\x20search\x22\x20translate\x20translate-attr-aria-label=\x22DASHBOARDS.ADVANCED_SEARCH\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.openAdvancedSearch()\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22{{\x20vm.query.search\x20?\x20\x27icon-filter\x27\x20:\x20\x27icon-filter-outline\x27\x20}}\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x20\x27{{\x20vm.sectionColor\x20}}-fg\x20blink\x27:\x20vm.query.search\x20}\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x20reload-list\x22\x20aria-label=\x22Reload\x22\x20translate\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.getChatInteractions()\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-reload\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip>{{\x27DASHBOARDS.RELOAD\x27\x20|\x20translate}}</md-tooltip>\x0a','\x20\x20\x20\x20<table\x20md-table\x20md-progress=\x22vm.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm.query.sort\x22\x20md-on-reorder=\x22vm.getChatInteractions\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20class=\x22id-header\x22\x20md-column\x20md-order-by=\x22id\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20class=\x22no-padding\x20width-5\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-eye\x22\x20class=\x22s16\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20class=\x22no-padding\x20width-5\x22></th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x27DASHBOARDS.CONTACT\x27\x20|\x20translate}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22lastMsgAt\x22>{{\x27DASHBOARDS.LAST_MESSAGE\x27\x20|\x20translate}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22closed\x22>{{\x27DASHBOARDS.STATUS\x27\x20|\x20translate}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x27DASHBOARDS.AGENT\x27\x20|\x20translate}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.WEBSITE\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x27DASHBOARDS.TAGS\x27\x20|\x20translate}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column></th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20</tr>\x0a','\x20\x20\x20\x20\x20\x20<tbody\x20md-body>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm.chatInteractions.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20colspan=\x2213\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22DASHBOARDS.NO_AVAILABLE_INTERACTION\x22>No\x20Available\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Interaction</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-repeat=\x22interaction\x20in\x20vm.chatInteractions.rows\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27text-bold\x20text-italic\x27:\x20interaction.unreadMessages\x20>\x200}\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.showChatInteraction($event,\x20interaction)\x22\x20md-cell\x20class=\x22id\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22font-size-10\x22>{{interaction.id}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22!interaction.closed\x20&&\x20interaction.Users.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-repeat=\x22u\x20in\x20interaction.Users\x22>{{\x20(u.id\x20==\x20vm.user.id)\x20?\x20\x27DASHBOARDS.ME\x27\x20:\x20u.fullname\x20|\x20translate\x20}}<span\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22!interaction.closed\x20&&\x20interaction.unreadMessages\x20>\x200\x22\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22badge\x20white-fg\x22\x20ng-class=\x22{{\x20\x27vm.sectionColor\x27\x20}}\x20+\x20\x27-bg\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20layout-margin>{{interaction.unreadMessages}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20class=\x22width-5\x20no-padding\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-paperclip\x22\x20class=\x22s16\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.showChatInteraction($event,\x20interaction)\x22\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22font-size-12\x20text-truncate\x20contact-text\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27no-margin-bottom\x27\x20:\x20interaction.contactInfo}\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20layout-margin>{{\x20interaction.contactName\x20}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22interaction.contactInfo\x22\x20class=\x22font-size-12\x20text-truncate\x20contact-text\x20no-margin-top\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20layout-margin>{{\x20interaction.contactInfo\x20}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22row\x22\x20ng-if=\x22interaction.lastMsgAt\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-font-icon=\x22{{interaction.lastMsgDirection\x20==\x20\x27in\x27\x20?\x20\x27icon-arrow-down-bold\x20blue-grey-800-fg\x27\x20:\x20\x27icon-arrow-up-bold\x20blue-grey-300-fg\x27}}\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22column\x22\x20layout-align=\x22center\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22!interaction.lastMsgAt\x22>No\x20messages</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22interaction.closed\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22red-fg\x20font-size-12\x22>{{\x20\x27DASHBOARDS.CLOSED\x27\x20|\x20translate}}\x20<span\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22interaction.disposition\x22>-\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22DASHBOARDS.OPENED\x22></span><span\x20ng-if=\x22interaction.substatus\x22>\x20-\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{interaction.substatus}}</span></span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.showChatInteraction($event,\x20interaction)\x22\x20md-cell\x20class=\x22user\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22font-size-12\x20text-truncate\x20width-80\x22>{{\x20vm.getAgentLabel(interaction)\x20}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.showChatInteraction($event,\x20interaction)\x22\x20md-cell\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.getChatWebsiteLabel(interaction)\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22interaction.Tags.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</span></span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-style=\x22{\x27color\x27:\x20interaction.Tags.length\x20==\x201\x20&&\x20interaction.Tags[0].color\x20}\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20class=\x22actions\x20actions-padding\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20aria-label=\x22More\x22\x20translate\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-content\x20width=\x222\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.showChatInteraction($event,\x20interaction)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22DASHBOARDS.SHOW\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20Chat\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-menu-item>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-item>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.downloadChatInteraction($event,\x20interaction,\x20true)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22CHAT.DOWNLOAD_WITH_ATTACHMENTS\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Download\x20with\x20attachments\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.downloadChatInteraction($event,\x20interaction)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22CHAT.DOWNLOAD_WITHOUT_ATTACHMENTS\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Download\x20without\x20attachments\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22DASHBOARDS.CLOSE_AND_DISPOSE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Close\x20and\x20Dispose\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-menu-content>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-menu>\x0a','\x20\x20\x20\x20\x20\x20</tbody>\x0a','\x20\x20\x20\x20md-total=\x22{{vm.chatInteractions.count}}\x22\x20md-on-paginate=\x22vm.getChatInteractions\x22\x0a','\x20\x20\x20\x20md-page-select></md-table-pagination>\x0a','<md-card\x20ng-init=\x22vm.onInit()\x22>\x0a','\x20\x20\x20\x20ng-disabled=\x22vm.searchInProgress\x22>\x0a','\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22\x20translate=\x22DASHBOARDS.CONTACTS\x22>Contacts</span>\x0a','\x20\x20\x20\x20\x20\x20<ms-quick-filter\x20filters=\x22vm.quickFilters\x22\x20query=\x22vm.query\x22\x20search=\x22vm.getContacts()\x22\x0a','\x20\x20\x20\x20\x20\x20<div\x20layout=\x22row\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x20advanced-search\x22\x20ng-class=\x22{\x20\x27md-fab\x20md-mini\x20white-bg\x27:\x20vm.query.search\x20}\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x20reload-list\x22\x20ng-click=\x22vm.refreshContacts($event)\x22\x20aria-label=\x22Reload\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-label=\x22DASHBOARDS.RELOAD\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22vm.crudPermissions.canEdit\x22\x20class=\x22md-icon-button\x20create-new\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-label=\x22DASHBOARDS.ADD_CONTACT\x22>\x0a','\x20\x20<md-table-container>\x0a','\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm.query.sort\x22\x20md-on-reorder=\x22vm.getContacts\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22id\x22>{{\x27DASHBOARDS.ID\x27\x20|\x20translate}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22firstName\x22>{{\x27DASHBOARDS.FULLNAME\x27\x20|\x20translate}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22phone\x22>{{\x27DASHBOARDS.PHONE\x27\x20|\x20translate}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22fax\x22>{{\x27DASHBOARDS.FAX\x27\x20|\x20translate}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22email\x22>{{\x27DASHBOARDS.EMAIL\x27\x20|\x20translate}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22ListId\x22>{{\x27DASHBOARDS.LIST\x27\x20|\x20translate}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20width=\x2210px\x22></th>\x0a','\x20\x20\x20\x20\x20\x20</thead>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm.contacts.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22row\x22\x20layout-align=\x22center\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.NO_AVAILABLE_INFO\x22>No\x20Available\x20Info</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.openContact(contact.id)\x22\x20md-cell\x20class=\x22firstName\x22>{{contact.firstName}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{contact.lastName}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.openContact(contact.id)\x22\x20md-cell\x20class=\x22phone\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20click\x20to\x20call\x20directive\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20\x20/\x20click\x20to\x20call\x20directive\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.openContact($event,\x20contact.id)\x22\x20md-cell\x20class=\x22mobile\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20license=\x22vm_home.license\x22></ms-click-to-call>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.openContact(contact.id)\x22\x20md-cell\x20class=\x22email\x22>{{contact.email}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.openContact(contact.id)\x22\x20md-cell\x20class=\x22list\x22>{{vm.listsMap[contact.ListId].name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20class=\x22tag\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22contact.Tags.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22contact.Tags.length\x20==\x201\x22\x20layout=\x22column\x22\x20layout-align=\x22center\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-tag\x22\x20ng-style=\x22{\x27color\x27:\x20contact.Tags[0].color\x20}\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22text-truncate\x22>{{contact.Tags[0].name}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22contact.Tags.length\x20>\x201\x22\x20layout=\x22column\x22\x20layout-align=\x22center\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-repeat=\x22tag\x20in\x20contact.Tags\x22>{{tag.name}}<span\x20ng-if=\x22!$last\x22>,\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-tag\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20class=\x22actions\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-dots-vertical\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.openContact(contact.id)\x22\x20translate=\x22DASHBOARDS.EDIT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Contact\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.duplicateContact($event,\x20contact)\x22\x20translate=\x22DASHBOARDS.DUPLICATE\x22>\x0a','\x20\x20<md-table-pagination\x20md-limit=\x22vm.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm.query.page\x22\x0a','\x20\x20\x20\x20md-total=\x22{{vm.contacts.count}}\x22\x20md-on-paginate=\x22vm.getContacts\x22\x20md-page-select></md-table-pagination>\x0a','app/main/apps/dashboards/views/general/agent/home/dashboard/agent.general.dashboard.html','<div\x20ng-cloak>\x0a','\x20\x20\x20\x20\x20\x20<md-tab\x20ng-if=\x22vm_home.hasPermission(110)\x20&&\x20vm_home.license.voice\x22\x20label=\x22{{\x27DASHBOARDS.VOICE\x27\x20|\x20translate}}\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-content\x20ng-include=\x22\x27app/main/apps/dashboards/views/general/agent/home/dashboard/voice/agent.general.dashboard.voice.html\x27\x22\x20ng-controller=\x22AgentHomeDashboardVoiceController\x20as\x20vm_voice\x22\x20class=\x22md-padding\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-content>\x0a','\x20\x20\x20\x20\x20\x20<md-tab\x20ng-if=\x22vm_home.hasPermission(110)\x20&&\x20vm_home.license.dialer\x22\x20label=\x22{{\x27DASHBOARDS.MOTION_BULL\x27\x20|\x20translate}}\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-content\x20ng-include=\x22\x27app/main/apps/dashboards/views/general/agent/home/dashboard/bull/agent.general.dashboard.bull.html\x27\x22\x20ng-controller=\x22AgentHomeDashboardBullController\x20as\x20vm_bull\x22\x20class=\x22md-padding\x22>\x0a','\x20\x20\x20\x20\x20\x20<md-tab\x20ng-if=\x22vm_home.hasPermission(105)\x20&&\x20vm_home.license.chat\x22\x20label=\x22{{\x27DASHBOARDS.CHAT\x27\x20|\x20translate}}\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-content\x20ng-include=\x22\x27app/main/apps/dashboards/views/general/agent/home/dashboard/chat/agent.general.dashboard.chat.html\x27\x22\x20ng-controller=\x22AgentHomeDashboardMultiChannelChatController\x20as\x20vm_chat\x22\x20class=\x22md-padding\x22>\x0a','\x20\x20\x20\x20\x20\x20<md-tab\x20ng-if=\x22vm_home.hasPermission(106)\x20&&\x20vm_home.license.mail\x22\x20label=\x22{{\x27DASHBOARDS.MAIL\x27\x20|\x20translate}}\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-content\x20ng-include=\x22\x27app/main/apps/dashboards/views/general/agent/home/dashboard/mail/agent.general.dashboard.mail.html\x27\x22\x20ng-controller=\x22AgentHomeDashboardMultiChannelMailController\x20as\x20vm_mail\x22\x20class=\x22md-padding\x22>\x0a','\x20\x20\x20\x20\x20\x20<md-tab\x20ng-if=\x22vm_home.hasPermission(107)\x20&&\x20vm_home.license.messaging\x22\x20label=\x22{{\x27DASHBOARDS.SMS\x27\x20|\x20translate}}\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-content\x20ng-include=\x22\x27app/main/apps/dashboards/views/general/agent/home/dashboard/sms/agent.general.dashboard.sms.html\x27\x22\x20ng-controller=\x22AgentHomeDashboardMultiChannelSmsController\x20as\x20vm_sms\x22\x20class=\x22md-padding\x22>\x0a','\x20\x20\x20\x20\x20\x20</md-tab>\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20<md-tab\x20ng-if=\x22vm_home.hasPermission(108)\x20&&\x20vm_home.license.openchannel\x22\x20label=\x22{{\x27DASHBOARDS.OPENCHANNEL\x27\x20|\x20translate}}\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-content\x20ng-include=\x22\x27app/main/apps/dashboards/views/general/agent/home/dashboard/openchannel/agent.general.dashboard.openchannel.html\x27\x22\x20ng-controller=\x22AgentHomeDashboardMultiChannelOpenchannelController\x20as\x20vm_openchannel\x22\x20class=\x22md-padding\x22>\x0a','\x20\x20\x20\x20</md-tabs>\x0a','<div\x20layout=\x22row\x22\x20ngCloak>\x0a','\x20\x20\x20\x20<md-card\x20flex=\x2250\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-default\x20table-header\x20red-900-bg\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22\x20translate=\x22VOICE.QUEUES\x22>Queues</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm_bull.query.sort\x22\x20md-on-reorder=\x22vm_bull.getVoiceQueues\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x20\x27VOICE.NAME\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x20\x27VOICE.TYPE\x27\x20|\x20translate\x20}}</th>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x20\x27VOICE.WAITING\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20ng-if=\x22voiceQueue.type\x20===\x20\x27outbound\x27\x22\x20md-column>{{\x20\x27VOICE.ACTIVE\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20<th\x20md-column\x20md-order-by=\x22active\x22>{{\x20\x27VOICE.ACTIVE\x27\x20|\x20translate\x20}}</th>\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm_bull.getSize(vm_bull.voiceQueues)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20colspan=\x224\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.NO_AVAILABLE_INFO\x22>No\x20Available\x20Info</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-repeat=\x22(key,\x20voiceQueue)\x20in\x20vm_bull.voiceQueues\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20class=\x22name\x22>{{voiceQueue.name}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20class=\x22waiting\x22>{{voiceQueue.waiting\x20||\x200}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22voiceQueue.type\x20===\x20\x27outbound\x27\x22\x20class=\x22dialActive\x20\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-colors=\x22{color:\x20{{voiceQueue.dialActive\x20?\x20\x27\x5c\x27green\x5c\x27\x27\x20:\x20\x27\x5c\x27grey\x5c\x27\x27}}}\x22\x20md-font-icon=\x22{{voiceQueue.dialActive\x20?\x20\x27icon-check\x27\x20:\x20\x27icon-close\x27}}\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22\x20translate=\x22DASHBOARDS.WAITING_TEXT\x22></span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20flex></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<table\x20md-table>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x20\x27VOICE.DID\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x20\x27VOICE.CALLER\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm_bull.getSize(vm_bull.rpcVoiceQueuesChannels)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-repeat=\x22(key,\x20channel)\x20in\x20vm_bull.rpcVoiceQueuesChannels\x20|\x20limitObjectFromTo:\x20vm_bull.queryChannels.limit:(vm_bull.queryChannels.page\x20-\x201)\x20*\x20vm_bull.queryChannels.limit\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell>{{channel.queue}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell>{{channel.calleridnum}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-table-pagination\x20md-limit=\x22vm_bull.queryChannels.limit\x22\x20md-page=\x22vm_bull.queryChannels.page\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-total=\x22{{vm_bull.getSize(vm_bull.rpcVoiceQueuesChannels)}}\x22\x20md-page-select></md-table-pagination>\x0a','\x20\x20\x20\x20</md-card>\x0a','app/main/apps/dashboards/views/general/agent/home/dashboard/chat/agent.general.dashboard.chat.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<table\x20md-table\x20md-progress=\x22vm_chat.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm_chat.query.sort\x22\x20md-on-reorder=\x22vm_chat.getChatQueues\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x20\x27DASHBOARDS.WAITING\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm_chat.getSize(vm_chat.chatQueues)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20colspan=\x222\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22DASHBOARDS.NO_AVAILABLE_INFO\x22>No\x20Available\x20Info</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-repeat=\x22(key,\x20queue)\x20in\x20vm_chat.chatQueues\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20class=\x22name\x22>{{queue.name}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20<td\x20md-cell\x20class=\x22dialActive\x20\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20ng-if=\x22queue.type\x20===\x20\x27outbound\x27\x22\x20md-colors=\x22{color:\x20{{queue.dialActive\x20?\x20\x27\x5c\x27green\x5c\x27\x27\x20:\x20\x27\x5c\x27grey\x5c\x27\x27}}}\x22\x20md-font-icon=\x22{{queue.dialActive\x20?\x20\x27icon-check\x27\x20:\x20\x27icon-close\x27}}\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20ng-if=\x22queue.type\x20===\x20\x27inbound\x27\x22\x20md-colors=\x22{color:\x20\x27green\x27}\x22\x20md-font-icon=\x22icon-check\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</td>\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-default\x20table-header\x22\x20ng-class=\x22vm_chat.getColorByChannel(\x27chat\x27)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x20\x27DASHBOARDS.ACCOUNT\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x20\x27DASHBOARDS.CHANNEL_FROM\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm_chat.paginatedInteractions.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell>{{interaction.account}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell>{{interaction.queue}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell>{{interaction.from}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-table-pagination\x20md-limit=\x22vm_chat.queryChannels.limit\x22\x20md-page=\x22vm_chat.queryChannels.page\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-total=\x22{{vm_chat.paginatedInteractions.length}}\x22\x20\x20md-on-paginate=\x22vm_chat.paginate\x22\x20md-page-select></md-table-pagination>\x0a','app/main/apps/dashboards/views/general/agent/home/dashboard/fax/agent.general.dashboard.fax.html','\x20\x20\x20\x20\x20\x20\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-default\x20table-header\x22\x20ng-class=\x22vm_fax.getColorByChannel(\x27fax\x27)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22\x20translate=\x22DASHBOARDS.QUEUES\x22>Queues</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm_fax.query.sort\x22\x20md-on-reorder=\x22vm_fax.getFaxQueues\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-repeat=\x22(key,\x20queue)\x20in\x20vm_fax.faxQueues\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-table-pagination\x20md-limit=\x22vm_fax.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm_fax.query.page\x22\x20md-total=\x22{{vm_fax.faxQueuesTotal}}\x22\x20md-on-paginate=\x22vm_fax.getFaxQueues\x22\x20md-page-select></md-table-pagination>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x20\x27DASHBOARDS.CHANNEL_QUEUE\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm_fax.paginatedInteractions.length\x22>\x0a','app/main/apps/dashboards/views/general/agent/home/dashboard/mail/agent.general.dashboard.mail.html','\x20\x20\x20\x20\x20\x20\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-default\x20table-header\x22\x20ng-class=\x22vm_mail.getColorByChannel(\x27mail\x27)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<table\x20md-table\x20md-progress=\x22vm_mail.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x20\x27DASHBOARDS.NAME\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20<th\x20md-column>{{\x20\x27VOICE.ACTIVE\x27\x20|\x20translate\x20}}</th>\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm_mail.getSize(vm_mail.mailQueues)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20class=\x22waiting\x22>{{queue.waiting\x20||\x200}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22\x20translate=\x22DASHBOARDS.CHANNEL_WAITING_TEXT\x22></span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-repeat=\x22(key,\x20interaction)\x20in\x20vm_mail.interactions\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-table-pagination\x20md-limit=\x22vm_mail.queryChannels.limit\x22\x20md-page=\x22vm_mail.queryChannels.page\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-total=\x22{{vm_mail.paginatedInteractions.length}}\x22\x20\x20md-on-paginate=\x22vm_mail.paginate\x22\x20md-page-select></md-table-pagination>\x0a','app/main/apps/dashboards/views/general/agent/home/dashboard/openchannel/agent.general.dashboard.openchannel.html','\x20\x20\x20\x20\x20\x20\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-default\x20table-header\x22\x20ng-class=\x22vm_openchannel.getColorByChannel(\x27openchannel\x27)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<table\x20md-table\x20md-progress=\x22vm_openchannel.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm_openchannel.query.sort\x22\x20md-on-reorder=\x22vm_openchannel.getOpenchannelQueues\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm_openchannel.getSize(vm_openchannel.openchannelQueues)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-repeat=\x22(key,\x20queue)\x20in\x20vm_openchannel.openchannelQueues\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-table-pagination\x20md-limit=\x22vm_openchannel.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm_openchannel.query.page\x22\x20md-total=\x22{{vm_openchannel.openchannelQueuesTotal}}\x22\x20md-on-paginate=\x22vm_openchannel.getOpenchannelQueues\x22\x20md-page-select></md-table-pagination>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-repeat=\x22(key,\x20interaction)\x20in\x20vm_openchannel.interactions\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-table-pagination\x20md-limit=\x22vm_openchannel.queryChannels.limit\x22\x20md-page=\x22vm_openchannel.queryChannels.page\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-total=\x22{{vm_openchannel.paginatedInteractions.length}}\x22\x20\x20md-on-paginate=\x22vm_openchannel.paginate\x22\x20md-page-select></md-table-pagination>\x0a','app/main/apps/dashboards/views/general/agent/home/dashboard/sms/agent.general.dashboard.sms.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<table\x20md-table\x20md-progress=\x22vm_sms.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm_sms.getSize(vm_sms.smsQueues)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-repeat=\x22(key,\x20queue)\x20in\x20vm_sms.smsQueues\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-default\x20table-header\x22\x20ng-class=\x22vm_sms.getColorByChannel(\x27sms\x27)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm_sms.paginatedInteractions.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-repeat=\x22(key,\x20interaction)\x20in\x20vm_sms.interactions\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-table-pagination\x20md-limit=\x22vm_sms.queryChannels.limit\x22\x20md-page=\x22vm_sms.queryChannels.page\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-total=\x22{{vm_sms.paginatedInteractions.length}}\x22\x20\x20md-on-paginate=\x22vm_sms.paginate\x22\x20md-page-select></md-table-pagination>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-default\x20table-header\x20blue-A700-bg\x20\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm_voice.query.sort\x22\x20md-on-reorder=\x22vm_voice.getVoiceQueues\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x20\x27VOICE.WAITING\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm_voice.getSize(vm_voice.voiceQueues)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-repeat=\x22(key,\x20voiceQueue)\x20in\x20vm_voice.voiceQueues\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-table-pagination\x20md-limit=\x22vm_voice.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm_voice.query.page\x22\x20md-total=\x22{{vm_voice.voiceQueuesTotal}}\x22\x20md-on-paginate=\x22vm_voice.getVoiceQueues\x22\x20md-page-select></md-table-pagination>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x20\x27VOICE.QUEUE\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-repeat=\x22(key,\x20channel)\x20in\x20vm_voice.rpcVoiceQueuesChannels\x20|\x20limitObjectFromTo:\x20vm_voice.queryChannels.limit:(vm_voice.queryChannels.page\x20-\x201)\x20*\x20vm_voice.queryChannels.limit\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell>{{channel.exten}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-table-pagination\x20md-limit=\x22vm_voice.queryChannels.limit\x22\x20md-page=\x22vm_voice.queryChannels.page\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-total=\x22{{vm_voice.getSize(vm_voice.rpcVoiceQueuesChannels)}}\x22\x20md-page-select></md-table-pagination>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-default\x20table-header\x22\x20ng-class=\x22vm_whatsapp.getColorByChannel(\x27whatsapp\x27)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<table\x20md-table\x20md-progress=\x22vm_whatsapp.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm_whatsapp.getSize(vm_whatsapp.whatsappQueues)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm_whatsapp.paginatedInteractions.length\x22>\x0a','app/main/apps/dashboards/views/general/agent/home/fax/agent.general.fax.html','\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22DASHBOARDS.FAX_INTERACTIONS\x22>Interactions</span>\x0a','\x20\x20\x20\x20\x20\x20<ms-quick-filter\x20filters=\x22vm.quickFilters\x22\x20query=\x22vm.query\x22\x20search=\x22vm.getFaxInteractions()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22DASHBOARDS.RELOAD\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.getFaxInteractions()\x22>\x0a','\x20\x20\x20\x20\x20\x20<md-menu\x20ng-if=\x22vm.faxAccounts.rows\x20&&\x20vm.faxAccounts.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-content\x20width=\x223\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20faxAccount.name\x20}}\x20({{\x20faxAccount.key\x20}})</md-button>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-menu-item>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20</md-menu-content>\x0a','\x20\x20\x20\x20\x20\x20</md-menu>\x0a','\x20\x20<md-table-container\x20class=\x22interactions-list\x22>\x0a','\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm.query.sort\x22\x20md-on-reorder=\x22vm.getFaxInteractions\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.ID\x27\x20|\x20translate}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22createdAt\x22>{{\x27DASHBOARDS.STARTEDAT\x27\x20|\x20translate}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm.faxInteractions.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-repeat=\x22interaction\x20in\x20vm.faxInteractions.rows\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.showFaxInteraction($event,\x20interaction)\x22\x20md-cell\x20class=\x22id\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22interaction.attach\x22\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22column\x22\x20layout-align=\x22start\x20start\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.showFaxInteraction($event,\x20interaction)\x22\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{interaction.disposition}}</span></span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip\x20ng-if=\x22interaction.closed\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22!interaction.closed\x22\x20class=\x22green-fg\x20font-size-12\x22><span\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.showFaxInteraction($event,\x20interaction)\x22\x20md-cell\x20class=\x22user\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22faxAccount\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.getFaxAccountLabel(interaction)\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip\x20md-direction=\x22left\x22\x20layout=\x22row\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22DASHBOARDS.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.showFaxInteraction($event,\x20interaction)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20Fax\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22DASHBOARDS.DOWNLOAD\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Download\x20Fax\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-item\x20ng-if=\x22!interaction.closed\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.disposeInteraction($event,\x20interaction)\x22\x0a','\x20\x20<md-table-pagination\x0a','\x20\x20\x20\x20md-label=\x22{page:\x20\x27{{\x27DASHBOARDS.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27DASHBOARDS.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27DASHBOARDS.OF\x27\x20|\x20translate}}\x27}\x22\x0a','\x20\x20\x20\x20md-total=\x22{{vm.faxInteractions.count}}\x22\x20md-on-paginate=\x22vm.getFaxInteractions\x22\x0a','app/main/apps/dashboards/views/general/agent/home/mail/agent.general.mail.html','\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22DASHBOARDS.MAIL_INTERACTIONS\x22>Interactions</span>\x0a','\x20\x20\x20\x20\x20\x20<ms-quick-filter\x20filters=\x22vm.quickFilters\x22\x20query=\x22vm.query\x22\x20search=\x22vm.getMailInteractions()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip>{{\x27DASHBOARDS.ADVANCED_SEARCH\x27\x20|\x20translate}}</md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.getMailInteractions()\x22>\x0a','\x20\x20\x20\x20\x20\x20<md-menu\x20ng-if=\x22vm.mailAccounts.rows\x20&&\x20vm.mailAccounts.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22DASHBOARDS.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-item\x20ng-repeat=\x22mailAccount\x20in\x20vm.mailAccounts.rows\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20aria-label=\x22compose\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.composeMailInteraction($event,\x20mailAccount)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20mailAccount.name\x20}}\x20({{\x20mailAccount.key\x20}})</md-button>\x0a','\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm.query.sort\x22\x20md-on-reorder=\x22vm.getMailInteractions\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22subject\x22>{{\x27DASHBOARDS.SUBJECT\x27\x20|\x20translate}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm.mailInteractions.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-repeat=\x22interaction\x20in\x20vm.mailInteractions.rows\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-eye\x22\x20class=\x22s16\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22!$last\x22>,\x20</span></span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.showMailInteraction($event,\x20interaction)\x22\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22vm.setting.enableEmailPreview\x20&&\x20interaction.lastMsgText\x22\x20class=\x22tooltip-preview\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22text-truncate\x20font-size-12\x20subject-text\x22>{{\x20interaction.subject\x20}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-card\x20class=\x22tooltip-preview-text\x22\x20ng-style=\x22{top:\x20\x27-\x27\x20+\x20((($index\x20%\x2010)\x20+\x201)\x20*\x2018)\x20+\x20\x27px\x27}\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-card-content><span\x20class=\x22email-preview-message\x22>{{\x20interaction.lastMsgText\x20}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22!interaction.lastMsgText\x20||\x20!vm.setting.enableEmailPreview\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22text-truncate\x20font-size-12\x22>{{\x20interaction.subject\x20}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.showMailInteraction($event,\x20interaction)\x22\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22font-size-10\x20text-truncate\x22>{{interaction.createdAt\x20|\x20formatdate\x20}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22font-size-10\x20text-truncate\x22>{{interaction.lastMsgAt\x20|\x20formatdate\x20}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.showMailInteraction($event,\x20interaction)\x22\x20md-cell\x20class=\x22user\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.showMailInteraction($event,\x20interaction)\x22\x20md-cell\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22mailAccount\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.getMailAccountLabel(interaction)\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-tag\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.showMailInteraction($event,\x20interaction)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.downloadMailInteraction($event,\x20interaction,\x20true)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MAIL.DOWNLOAD_WITH_ATTACHMENTS\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.downloadMailInteraction($event,\x20interaction)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MAIL.DOWNLOAD_WITHOUT_ATTACHMENTS\x22>\x0a','\x20\x20\x20\x20md-total=\x22{{vm.mailInteractions.count}}\x22\x20md-on-paginate=\x22vm.getMailInteractions\x22\x0a','app/main/apps/dashboards/views/general/agent/home/mycontacts/agent.general.mycontacts.html','\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22vm.searchInProgress\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<ms-quick-filter\x20filters=\x22vm.quickFilters\x22\x20query=\x22vm.query\x22\x20search=\x22vm.getContacts()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22vm.query.search\x22></ms-quick-filter>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x20advanced-search\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22DASHBOARDS.ADVANCED_SEARCH\x22\x20ng-click=\x22vm.openAdvancedSearch()\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip>{{\x27DASHBOARDS.ADVANCED_SEARCH\x27\x20|\x20translate}}</md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x20reload-list\x22\x20ng-click=\x22vm.refreshContacts($event)\x22\x20aria-label=\x22Reload\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-label=\x22DASHBOARDS.RELOAD\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-reload\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip>{{\x27DASHBOARDS.RELOAD\x27\x20|\x20translate}}</md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-label=\x22DASHBOARDS.ADD_CONTACT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-plus\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm.query.sort\x22\x20md-on-reorder=\x22vm.getContacts\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22firstName\x22>{{\x27DASHBOARDS.FULLNAME\x27\x20|\x20translate}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22phone\x22>{{\x27DASHBOARDS.PHONE\x27\x20|\x20translate}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22fax\x22>{{\x27DASHBOARDS.FAX\x27\x20|\x20translate}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22ListId\x22>{{\x27DASHBOARDS.LIST\x27\x20|\x20translate}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm.contacts.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-repeat=\x22contact\x20in\x20vm.contacts.rows\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.openContact($event,\x20contact)\x22\x20md-cell\x20class=\x22id\x22>{{contact.id}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.openContact($event,\x20contact)\x22\x20md-cell\x20class=\x22firstName\x22>{{contact.firstName}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{contact.lastName}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.openContact($event,\x20contact)\x22\x20md-cell\x20class=\x22phone\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<ms-click-to-call\x20target=\x22contact.phone\x22\x20prefix=\x22vm.listsMap[contact.ListId].dialPrefix\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.openContact($event,\x20contact)\x22\x20md-cell\x20class=\x22mobile\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20license=\x22vm_home.license\x22></ms-click-to-call>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.openContact($event,\x20contact)\x22\x20md-cell\x20class=\x22fax\x22>{{contact.fax}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.openContact($event,\x20contact)\x22\x20md-cell\x20class=\x22email\x22>{{contact.email}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.listsMap[contact.ListId].name}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20class=\x22tag\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-tag\x22\x20ng-style=\x22{\x27color\x27:\x20contact.Tags[0].color\x20}\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22text-truncate\x22>{{contact.Tags[0].name}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22contact.Tags.length\x20>\x201\x22\x20layout=\x22column\x22\x20layout-align=\x22center\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip\x20md-direction=\x22left\x22\x20layout=\x22row\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-repeat=\x22tag\x20in\x20contact.Tags\x22>{{tag.name}}<span\x20ng-if=\x22!$last\x22>,\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</span></span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-tag\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Contact\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.mergeContact($event,\x20contact)\x22\x20translate=\x22DASHBOARDS.MERGE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Merge\x20Contact\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.duplicateContact($event,\x20contact)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22DASHBOARDS.DUPLICATE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Duplicate\x20Contact\x0a','\x20\x20\x20\x20<md-table-pagination\x20md-limit=\x22vm.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm.query.page\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20md-total=\x22{{vm.contacts.count}}\x22\x20md-on-paginate=\x22vm.getContacts\x22\x20md-page-select></md-table-pagination>\x0a','</md-card>\x0a','\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22DASHBOARDS.OPENCHANNEL_INTERACTIONS\x22>Interactions</span>\x0a','\x20\x20\x20\x20\x20\x20<ms-quick-filter\x20filters=\x22vm.quickFilters\x22\x20query=\x22vm.query\x22\x20search=\x22vm.getOpenchannelInteractions()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.getOpenchannelInteractions()\x22>\x0a','\x20\x20\x20\x20\x20\x20<md-menu\x20ng-if=\x22vm.openchannelAccounts.rows\x20&&\x20vm.openchannelAccounts.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x20create-new\x22\x20aria-label=\x22More\x22\x20translate\x0a','ng-disabled=\x22!openchannelAccount.replyUri\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20openchannelAccount.name\x20}}\x20({{\x20openchannelAccount.key\x20}})</md-button>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.ACCOUNT\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm.openchannelInteractions.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-repeat=\x22interaction\x20in\x20vm.openchannelInteractions.rows\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.showOpenchannelInteraction($event,\x20interaction)\x22\x20md-cell\x20class=\x22id\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.showOpenchannelInteraction($event,\x20interaction)\x22\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{interaction.closedAt\x20|\x20formatdate\x20}}</md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.showOpenchannelInteraction($event,\x20interaction)\x22\x20md-cell\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22openchannelAccount\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-repeat=\x22tag\x20in\x20interaction.Tags\x22>{{tag.name}}<span\x20ng-if=\x22!$last\x22>,\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20Openchannel\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.downloadOpenchannelInteraction($event,\x20interaction,\x20true)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22OPENCHANNEL.DOWNLOAD_WITH_ATTACHMENTS\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22OPENCHANNEL.DOWNLOAD_WITHOUT_ATTACHMENTS\x22>\x0a','app/main/apps/dashboards/views/general/agent/home/plugins/agent.general.plugins.html','<div\x20id=\x22plugin\x22\x20ng-if=\x22vm.plugin\x22\x20ng-cloak\x20layout-fill>\x0a','app/main/apps/dashboards/views/general/agent/home/recordings/agent.general.recordings.html','\x20\x20\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-default\x20table-header\x20indigo-A100-bg\x22\x20ng-disabled=\x22vm.searchInProgress\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22\x20translate=\x22VOICE.RECORDINGS\x22>Recordings</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<ms-search-bar\x20on-search=\x22vm.query.filter\x20=\x20query\x22\x20on-collapse=\x22vm.onSearchBarCollapse()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20on-expand=\x22vm.onSearchBarExpand()\x22\x20query=\x22vm.query.filter\x22\x20debounce=\x22300\x22\x20direction=\x22down\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20icon-color=\x22white-fg\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</ms-search-bar>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</ms-quick-filter>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22calleridnum\x22>{{\x20\x27VOICE.CALLER\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22exten\x22>{{\x20\x27VOICE.CALLED\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22connectedlinenum\x22>{{\x20\x27VOICE.CONNECTED\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22rating\x22>{{\x20\x27VOICE.RATING\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x20\x27VOICE.AUDIO\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22createdAt\x22>{{\x20\x27VOICE.DATE\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm.voiceRecordings.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22row\x22\x20layout-align=\x22center\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20class=\x22type\x22>{{voiceRecording.type}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20class=\x22uniqueid\x22>{{voiceRecording.uniqueid}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<ms-click-to-call\x20target=\x22voiceRecording.calleridnum\x22\x20license=\x22vm_home.license\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20class=\x22exten\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<ms-click-to-call\x20target=\x22voiceRecording.exten\x22\x20license=\x22vm_home.license\x22></ms-click-to-call>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20class=\x22connectedlinenum\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20class=\x22rating\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-repeat=\x22rating\x20in\x20[1,2,3,4,5]\x20|\x20limitTo:voiceRecording.rating\x22></md-icon><span\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-hide=\x22voiceRecording.rating\x22\x20translate=\x22VOICE.NO_RATING\x22>No\x20rating</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20class=\x22audio\x22\x20ng-switch=\x22voiceRecording.format\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20audio\x20recording\x20directive\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20audio\x20recording\x20directive\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<em>{{\x20\x27VOICE.CANT_PLAY_GSM_AUDIO_FILES\x27\x20|\x20translate\x20}}</em>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20class=\x22createdAt\x20\x22>{{voiceRecording.createdAt\x20|\x20date:\x27medium\x27\x20}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20class=\x22actions\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.downloadfile(voiceRecording,\x20$event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22VOICE.DOWNLOAD_VOICERECORDING\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Download\x20VoiceRecording\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Download\x20Transcribe\x0a','\x20\x20\x20\x20</md-table-pagination>\x0a','app/main/apps/dashboards/views/general/agent/home/scheduled/agent.general.scheduled.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22\x20translate=\x22MOTIONDIALER.SCHEDULED_CALLS\x22>Scheduled\x20Calls</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<ms-quick-filter\x20filters=\x22vm.quickFilters\x22\x20query=\x22vm.query\x22\x20search=\x22vm.getScheduledCalls()\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x20reload-list\x22\x20ng-click=\x22vm.getScheduledCalls()\x22\x20aria-label=\x22Refresh\x20scheduled\x20calls\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-label=\x22MOTIONDIALER.REFRESH_SCHEDULED_CALLS\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm.query.sort\x22\x20md-on-reorder=\x22vm.getScheduledCalls\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x27MOTIONDIALER.FULLNAME\x27\x20|\x20translate}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22phone\x22>{{\x20\x27MOTIONDIALER.PHONE\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22scheduledat\x22>{{\x20\x27MOTIONDIALER.SCHEDULEDAT\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22recallme\x22>{{\x20\x27MOTIONDIALER.RECALLME\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x20\x27MOTIONDIALER.CAMPAIGN\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm.scheduledCalls.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-repeat=\x22scheduledCall\x20in\x20vm.scheduledCalls.rows\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<ms-click-to-call\x20target=\x22scheduledCall.phone\x22\x20license=\x22vm_home.license\x22></ms-click-to-call>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-colors=\x22{color:\x20{{\x20vm.isDateBeforeToday(scheduledCall.scheduledat)\x20?\x20\x27\x5c\x27red\x5c\x27\x27\x20:\x20\x27\x5c\x27green\x5c\x27\x27\x20}}}\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-colors=\x22{color:\x20{{\x20scheduledCall.recallme\x20&&\x20scheduledCall.UserId\x20==\x20vm.currentUser.id\x20?\x20\x27\x5c\x27green\x5c\x27\x27\x20:\x20\x27\x5c\x27grey\x5c\x27\x27\x20}}}\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-font-icon=\x22{{\x20scheduledCall.recallme\x20\x20&&\x20scheduledCall.UserId\x20==\x20vm.currentUser.id\x20?\x20\x27icon-check\x27\x20:\x20\x27icon-close\x27\x20}}\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-font-icon=\x22icon-checkbox-blank-circle\x22></md-icon>\x20{{scheduledCall.Queue.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22MOTIONDIALER.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.createOrEditQueueCampaignHopper($event,\x20scheduledCall)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MOTIONDIALER.EDIT_HOPPER\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Hopper\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deleteConfirm(scheduledCall,\x20$event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20md-total=\x22{{vm.scheduledCalls.count}}\x22\x20md-on-paginate=\x22vm.getScheduledCalls\x22\x20md-page-select>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.getSmsInteractions()\x22>\x0a','\x20\x20\x20\x20\x20\x20<md-menu\x20ng-if=\x22vm.smsAccounts.rows\x20&&\x20vm.smsAccounts.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-item\x20ng-repeat=\x22smsAccount\x20in\x20vm.smsAccounts.rows\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.composeSmsInteraction($event,\x20smsAccount)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20smsAccount.name\x20}}\x20({{\x20smsAccount.key\x20}})</md-button>\x0a','\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm.query.sort\x22\x20md-on-reorder=\x22vm.getSmsInteractions\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm.smsInteractions.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-repeat=\x22interaction\x20in\x20vm.smsInteractions.rows\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.showSmsInteraction($event,\x20interaction)\x22\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.showSmsInteraction($event,\x20interaction)\x22\x20md-cell\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22smsAccount\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.getSmsAccountLabel(interaction)\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.showSmsInteraction($event,\x20interaction)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20Sms\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.downloadSmsInteraction($event,\x20interaction)\x22\x0a','\x20\x20\x20\x20md-total=\x22{{vm.smsInteractions.count}}\x22\x20md-on-paginate=\x22vm.getSmsInteractions\x22\x0a','app/main/apps/dashboards/views/general/agent/home/voice/agent.general.voice.html','\x20\x20\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-default\x20table-header\x20blue-A700-bg\x22\x20ng-disabled=\x22vm.searchInProgress\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22\x20translate=\x22VOICE.CALLS\x22>Calls</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<ms-quick-filter\x20filters=\x22vm.quickFilters\x22\x20query=\x22vm.query\x22\x20search=\x22vm.getVoiceCalls()\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm.query.sort\x22\x20md-on-reorder=\x22vm.getVoiceCalls\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22id\x22>{{\x27VOICE.ID\x27\x20|\x20translate}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22type\x22>{{\x20\x27VOICE.TYPE\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22source\x22>{{\x20\x27VOICE.SOURCE\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22destination\x22>{{\x20\x27VOICE.DESTINATION\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22starttime\x22>{{\x20\x27VOICE.STARTEDAT\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22endtime\x22>{{\x20\x27VOICE.ENDEDAT\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22userDisposition\x22>{{\x20\x27VOICE.DISPOSITION\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x20\x27VOICE.NOTE\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm.voiceCalls.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-repeat=\x22voiceCall\x20in\x20vm.voiceCalls.rows\x22\x20ng-click=\x22vm.showDetails(voiceCall,\x20$event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20class=\x22source\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<ms-click-to-call\x20target=\x22voiceCall.source\x22\x20license=\x22vm_home.license\x22></ms-click-to-call>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20class=\x22destination\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<ms-click-to-call\x20target=\x22voiceCall.destination\x22\x20license=\x22vm_home.license\x22></ms-click-to-call>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20class=\x22starttime\x22>{{voiceCall.starttime\x20|\x20date:\x27medium\x27\x20}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20class=\x22endtime\x22>{{voiceCall.endtime\x20|\x20date:\x27medium\x27\x20}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20class=\x22disposition\x22>{{voiceCall.userDisposition}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20class=\x22note\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22VOICE.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20Details\x0a','\x20\x20\x20\x20\x20\x20\x20\x20md-total=\x22{{vm.voiceCalls.count}}\x22\x20md-on-paginate=\x22vm.getVoiceCalls\x22\x20md-page-select></md-table-pagination>\x0a','<md-dialog\x20class=\x22details-dialog\x22\x20aria-label=\x22details\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22!vm.interaction.closed\x22\x20class=\x22title\x22\x20translate=\x22VOICE.DETAILS\x22></span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-list-item\x20class=\x22md-2-line\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22md-list-item-text\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<p\x20translate=\x22VOICE.UNIQUEID\x22>Uniqueid</p>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h4>{{vm.call.uniqueid}}</h4>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<p\x20translate=\x22VOICE.TYPE\x22>Type</p>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h4>{{vm.call.type\x20?\x20vm.call.type\x20:\x20\x27no\x20type\x27}}</h4>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<p\x20translate=\x22VOICE.SOURCE\x22>Source</p>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h4>{{vm.call.source\x20?\x20vm.call.source\x20:\x20\x27unknown\x27}}</h4>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h4>{{vm.call.destination\x20?\x20vm.call.destination\x20:\x20\x27unknown\x27}}</h4>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<p\x20translate=\x22VOICE.STARTEDAT\x22>Started\x20At</p>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h4>{{vm.call.starttime\x20|\x20date:\x27medium\x27}}</h4>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<p\x20translate=\x22VOICE.ANSWEREDAT\x22>Answered\x20At</p>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h4>{{vm.call.answertime\x20?\x20(vm.call.answertime\x20|\x20date:\x27medium\x27)\x20:\x20\x27--\x27}}</h4>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<p\x20translate=\x22VOICE.ENDEDAT\x22>Ended\x20At</p>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<p\x20translate=\x22VOICE.DURATION\x22>Duration</p>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h4>{{vm.call.duration\x20?\x20vm.call.duration\x20:\x20\x27--\x27}}s</h4>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<p\x20translate=\x22VOICE.BILLABLESECONDS\x22>Billable\x20Seconds</p>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h4>{{vm.call.billableseconds\x20?\x20vm.call.billableseconds\x20:\x20\x27--\x27}}s</h4>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h4>{{vm.call.userDisposition\x20?\x20vm.call.userDisposition\x20:\x20\x27--\x27}}</h4>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h4>{{vm.call.note\x20?\x20vm.call.note\x20:\x20\x27--\x27}}</h4>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22button\x22\x20ng-click=\x22vm.closeDialog()\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20aria-label=\x22DISPOSE\x22\x20translate=\x22VOICE.CLOSE\x22\x20translate-attr-aria-label=\x22VOICE.DISPOSE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CLOSE\x0a','app/main/apps/dashboards/views/general/agent/home/whatsapp/agent.general.whatsapp.html','\x20\x20\x20\x20\x20\x20<ms-quick-filter\x20filters=\x22vm.quickFilters\x22\x20query=\x22vm.query\x22\x20search=\x22vm.getWhatsappInteractions()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-item\x20ng-repeat=\x22whatsappAccount\x20in\x20vm.whatsappAccounts.rows\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.composeWhatsappInteraction($event,\x20whatsappAccount)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20whatsappAccount.name\x20}}\x20({{\x20whatsappAccount.key\x20}})</md-button>\x0a','\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm.query.sort\x22\x20md-on-reorder=\x22vm.getWhatsappInteractions\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-repeat=\x22interaction\x20in\x20vm.whatsappInteractions.rows\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.showWhatsappInteraction($event,\x20interaction)\x22\x20md-cell\x20class=\x22id\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.showWhatsappInteraction($event,\x20interaction)\x22\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.showWhatsappInteraction($event,\x20interaction)\x22\x20md-cell\x20class=\x22user\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.showWhatsappInteraction($event,\x20interaction)\x22\x20md-cell\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22whatsappAccount\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.getWhatsappAccountLabel(interaction)\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.showWhatsappInteraction($event,\x20interaction)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Download\x20Whatsapp\x0a','\x20\x20\x20\x20md-total=\x22{{vm.whatsappInteractions.count}}\x22\x20md-on-paginate=\x22vm.getWhatsappInteractions\x22\x0a','app/main/apps/dashboards/views/general/agent/iframe/agent.general.iframe.html','<md-content\x20layout=\x22row\x22\x20layout-fill>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<iframe\x20ng-src=\x22{{vm.getTrustedURL()}}\x22\x20frameborder=0\x20style=\x22width:\x20100%;\x20height:\x20100%;\x20border:0px;\x22></iframe>\x0a','<md-dialog\x20id=\x22agent-general-dialog\x22\x20aria-label=\x22Spy\x20Dialog\x22>\x0a','\x20\x20\x20\x20<div\x20id=\x22interaction-app\x22\x20class=\x22agent-content\x22\x20ng-include=\x22\x27app/main/apps/dashboards/views/general/agent/interaction/agent.general.interaction.html\x27\x22></div>\x0a','app/main/apps/dashboards/views/general/agent/interaction/agent.general.interaction.html','<md-content\x20class=\x22content-card\x22\x20layout=\x22row\x22\x20layout-fill>\x0a','\x20\x20\x20\x20<div\x20ng-if=\x22!vm.showInteraction\x22\x20class=\x22start-point\x22\x20flex\x20layout=\x22column\x22\x20layout-align=\x22center\x20center\x22\x20ng-include=\x22\x27app/main/apps/dashboards/views/general/agent/interaction/views/agent.general.loading.html\x27\x22></div>\x0a','\x20\x20\x20\x20<div\x20ng-if=\x22vm.showInteraction\x22\x20flex\x20layout=\x22row\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-card\x20flex=\x2275\x22\x20class=\x22interaction\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<strong\x20layout-margin\x20translate=\x22DASHBOARDS.CURRENTLY_IN_USE_BY\x22>Currently\x20in\x20use\x20by\x20</strong>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-repeat=\x22u\x20in\x20vm.interaction.Users\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20TOOLBAR\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-toolbar\x20class=\x22interaction-toolbar\x22\x20ng-include=\x22\x27app/main/apps/dashboards/views/general/agent/interaction/views/agent.general.toolbar.html\x27\x22></md-toolbar>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20TOOLBAR\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20CONTENT\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22interaction-messages\x22\x20ng-switch=\x22vm.tab.channel\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-switch-when=\x22mail\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-include=\x22\x27app/main/apps/dashboards/views/general/agent/interaction/views/agent.general.interaction.mail.html\x27\x22></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-include=\x22\x27app/main/apps/dashboards/views/general/agent/interaction/views/agent.general.interaction.html\x27\x22></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20CONTENT\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20FOOTER\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-card\x20layout=\x22column\x22\x20flex\x20class=\x22info\x22\x20ng-include=\x22\x27app/main/apps/dashboards/views/general/agent/interaction/views/agent.general.info.html\x27\x22></md-card>\x0a','<!--\x20/\x20CONTENT\x20CARD\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22FAX.SEND\x22>SEND</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-disabled=\x22vm.message.attachments.length\x20===\x201\x22\x20class=\x22md-fab\x20md-mini\x20md-white-bg\x22\x20aria-label=\x22attachment\x22\x20translate-attr-aria-label=\x22DASHBOARDS.ATTACHMENT\x22\x20flow-btn\x20flow-name=\x22vm.ngFlow.flow\x22\x20flow-files-submitted=\x22vm.upload()\x22\x20flow-init=\x22vm.ngFlowOptions\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-paperclip\x22\x20class=\x22red-fg\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm.closeDialog()\x22\x20aria-label=\x22Close\x20dialog\x22\x20tranlate\x20translate-aria-label=\x22FAX.CLOSE_DIALOG\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-close\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20class=\x22md-block\x20to\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-chips\x20name=\x22to\x22\x20ng-model=\x22vm.message.to\x22\x20md-transform-chip=\x22vm.transformContact($chip)\x22\x20md-separator-keys=\x22vm.separatorKeys\x22\x20md-require-match=\x22false\x22\x20md-max-chips=\x221\x22\x20required>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20<input\x20ng-model=\x22vm.message.subject\x22\x20type=\x22text\x22>\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-autocomplete\x20ng-hide=\x22vm.message.to.length\x20===\x201\x22\x20md-search-text=\x22vm.searchTo\x22\x20md-items=\x22contact\x20in\x20vm.contactSearch(vm.searchTo)\x22\x20md-item-text=\x22contact.fax\x22\x20md-min-length=\x223\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>{{\x20vm.getContact(contact)\x20}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-autocomplete>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22FAX.ERRORS.TO_REQUIRED\x22>To\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-message=\x22md-max-chips\x22>You\x20reached\x20the\x20maximum\x20amount\x20of\x20chips</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22attachment-list\x22\x20ng-if=\x22vm.message.attachments.length\x22\x20layout=\x22row\x22\x20layout-wrap>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22attachment\x22\x20layout=\x22row\x22\x20layout-align=\x22space-between\x20center\x22\x20ng-repeat=\x22attachment\x20in\x20vm.message.attachments\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22filename\x22>{{attachment.name}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22size\x22>({{attachment.size\x20|\x20byteFmt:\x200}})</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20aria-label=\x22Delete\x20attachment\x22\x20translate\x20translate-attr-aria-label=\x22FAX.DELETE_ATTACHMENT\x22>\x0a','<md-dialog\x20class=\x22compose-dialog\x22\x20aria-label=\x22New\x20Message\x22\x20ng-style=\x22{\x0a','\x20\x20\x20\x20\x20\x20\x27max-width\x27:\x20\x20{true:\x20\x27620px\x27,\x20false:\x20\x2790%\x27}[\x20vm.secret\x20],\x0a','\x20\x20\x20\x20\x20\x20\x27width\x27:\x20{true:\x20\x27620px\x27,\x20false:\x20\x27100%\x27}[\x20vm.secret\x20],\x0a','\x20\x20\x20\x20\x20\x20\x27max-height\x27:\x20{true:\x20undefined,\x20false:\x20\x2797%\x27}[\x20vm.secret\x20]\x0a','\x20\x20\x20\x20}\x22>\x0a','\x20\x20\x20\x20<form\x20class=\x22md-inline-form\x22\x20name=\x22composeForm\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-toolbar\x20ng-class=\x22md-background-bg\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22!vm.secret\x22\x20class=\x22md-button\x20md-raised\x20blue-bg\x20no-padding\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22white-fg\x20margin-horizontal-10\x22\x20aria-label=\x22Send\x20message\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.verifySmtp\x22\x20ng-click=\x22vm.send($event,\x20false,\x20null)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>{{\x20\x27MAIL.SEND\x27\x20|\x20translate\x20|\x20uppercase\x20}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22white-fg\x20secondary-text\x20vertical-divider\x22></span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<button\x20ng-disabled=\x22!vm.verifySmtp\x22\x20class=\x22white-fg\x20margin-left-0\x22\x20aria-label=\x22More\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22STAFF.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-menu-down\x22\x20class=\x22icon\x20s24\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-content\x20width=\x222\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-item\x20ng-if=\x22vm.subStatuses.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MAIL.SEND_AS\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Send\x20as\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-item\x20ng-repeat=\x22subStatus\x20in\x20vm.subStatuses.rows\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.send($event,\x20false,\x20subStatus.name)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.send($event,\x20true,\x20null)\x22\x20translate=\x22MAIL.SEND_AND_CLOSE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22!vm.secret\x22\x20class=\x22\x20md-button\x20md-raised\x20blue-bg\x20white-fg\x20margin-horizontal-10\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22Save\x20draft\x22\x20ng-click=\x22vm.saveDraft()\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>{{\x20(vm.isDraft\x20?\x20\x27DASHBOARDS.UPDATE_DRAFT\x27\x20:\x20\x27DASHBOARDS.SAVE_AS_DRAFT\x27)\x20|\x20translate\x20|\x20uppercase\x20}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22vm.secret\x22\x20ng-click=\x22vm.addNote()\x22\x20class=\x22md-raised\x20md-blue-bg\x20white-fg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22Send\x20message\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MAIL.ADD_NOTE\x22>Add\x20note</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22DASHBOARDS.ATTACHMENT\x22\x20flow-btn\x20flow-name=\x22vm.ngFlow.flow\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20flow-file-success=\x22vm.fileSuccess($file,\x20$message)\x22\x20flow-file-added=\x22vm.fileAdded($file)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22!vm.secret\x22\x20class=\x22title\x22>{{vm.message.from}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-aria-label=\x22MAIL.CLOSE_DIALOG\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20ng-if=\x22!vm.secret\x22\x20class=\x22md-block\x20to\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27hidden-cc\x27:\x20vm.hiddenCC,\x20\x27hidden-bcc\x27:\x20vm.hiddenBCC}\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MAIL.TO\x22>To</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-transform-chip=\x22vm.transformContact($chip,\x20vm.message.to)\x22\x20md-separator-keys=\x22vm.separatorKeys\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-require-match=\x22false\x22\x20required>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-autocomplete\x20md-search-text=\x22vm.searchTo\x22\x20md-items=\x22contact\x20in\x20vm.contactSearch(vm.searchTo)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-item-text=\x22contact.email\x22\x20md-min-length=\x223\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MAIL.ERRORS.TO_REQUIRED\x22>To\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22cc-bcc\x22\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22show-cc\x22\x20ng-show=\x22vm.hiddenCC\x22\x20ng-click=\x22vm.hiddenCC\x20=\x20false\x22>CC</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22show-bcc\x22\x20ng-show=\x22vm.hiddenBCC\x22\x20ng-click=\x22vm.hiddenBCC\x20=\x20false\x22>BCC</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20ng-if=\x22!vm.secret\x22\x20class=\x22md-block\x22\x20ng-hide=\x22vm.hiddenCC\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MAIL.CC\x22>Cc</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-chips\x20name=\x22cc\x22\x20ng-model=\x22vm.message.cc\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-transform-chip=\x22vm.transformContact($chip,\x20vm.message.cc)\x22\x20md-separator-keys=\x22vm.separatorKeys\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-autocomplete\x20md-search-text=\x22vm.searchCc\x22\x20md-items=\x22contact\x20in\x20vm.contactSearch(vm.searchCc)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-item-template>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-autocomplete\x20md-search-text=\x22vm.searchBcc\x22\x20md-items=\x22contact\x20in\x20vm.contactSearch(vm.searchBcc)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MAIL.SUBJECT\x22>Subject</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20ng-model=\x22vm.message.subject\x22\x20type=\x22text\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22attachment\x22\x20layout=\x22row\x22\x20layout-align=\x22space-between\x20center\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-repeat=\x22attachment\x20in\x20vm.message.attachments\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22Delete\x20attachment\x22\x20translate\x20translate-attr-aria-label=\x22MAIL.DELETE_ATTACHMENT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-close\x22\x20class=\x22s16\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22padding-top-5\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<textarea\x20ckeditor=\x22vm.ckeditor\x22\x20id=\x22html-area\x22\x20ng-model=\x22vm.message.body\x22\x20md-select-on-focus=\x22\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ready=\x22vm.onReadyEditor()\x22></textarea>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-change=\x22vm.loadLastMessage()\x22\x20aria-label=\x22load\x20last\x20message\x22><span\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MAIL.SHOW_ORIGINAL_MESSAGE\x22>Show\x20original\x20message</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-autocomplete\x20ng-if=\x22!vm.secret\x22\x20md-selected-item=\x22vm.selectedItem\x22\x20md-search-text=\x22vm.searchText\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-items=\x22item\x20in\x20vm.searchTextChange(vm.searchText)\x22\x20md-item-text=\x22item.value\x22\x20md-min-length=\x221\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22input-show-hide\x20no-container-margin\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20ng-if=\x22!item.MailAccountId\x22\x20md-font-icon=\x22icon-earth\x22\x20aria-label=\x22alert\x20email\x22\x20class=\x22s16\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20ng-if=\x22item.MailAccountId\x22\x20md-font-icon=\x22icon-email\x22\x20aria-label=\x22alert\x20email\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22s16\x20teal-fg\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20item.value\x20|\x20htmlToPlaintext\x20}}</span>\x0a','app/main/apps/dashboards/views/general/agent/interaction/composeOpenchannel/dialog.html','<md-dialog\x20class=\x22compose-dialog\x22\x20aria-label=\x22New\x20Message\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22!vm.secret\x22\x20ng-click=\x22vm.send()\x22\x20class=\x22md-raised\x20md-blue-bg\x20white-fg\x22\x20aria-label=\x22Send\x20message\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22OPENCHANNEL.SEND\x22>SEND</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22vm.secret\x22\x20ng-click=\x22vm.addNote()\x22\x20class=\x22md-raised\x20md-blue-bg\x20white-fg\x22\x20aria-label=\x22Add\x20note\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22OPENCHANNEL.ADD_NOTE\x22>Add\x20note</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm.closeDialog()\x22\x20aria-label=\x22Close\x20dialog\x22\x20tranlate\x20translate-aria-label=\x22OPENCHANNEL.CLOSE_DIALOG\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20ng-if=\x22!vm.secret\x22\x20class=\x22md-block\x20to\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-autocomplete\x20md-search-text=\x22vm.searchTo\x22\x20md-items=\x22contact\x20in\x20vm.contactSearch(vm.searchTo)\x22\x20md-item-text=\x22contact.mapkey\x22\x20md-min-length=\x223\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-item-template>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22composeForm.to.$error\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22OPENCHANNEL.ERRORS.TO_REQUIRED\x22>To\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20msEmojyArea\x20directive\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<ms-emoji-area\x20on-reply=\x22vm.reply(event,\x20body)\x22\x20ctrl-methods=\x22vm.ctrlMethods\x22\x20ng-model=\x22vm.message.body\x22\x20placeholder=\x22\x27OPENCHANNEL.INSERT_MESSAGE_HERE\x27\x22></ms-emoji-area>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-autocomplete\x20ng-if=\x22!vm.secret\x22\x20class=\x22padding-top-5\x22\x20md-selected-item=\x22vm.selectedItem\x22\x20md-search-text=\x22vm.searchText\x22\x20md-selected-item-change=\x22vm.selectedItemChange(item)\x22\x20md-items=\x22item\x20in\x20vm.searchTextChange(vm.searchText)\x22\x20md-item-text=\x22item.value\x22\x20md-min-length=\x221\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-floating-label=\x22{{\x20\x27OPENCHANNEL.CANNED_ANSWER_SEARCH\x27\x20|\x20translate}}\x22\x20class=\x22input-show-hide\x20no-container-margin\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-item-template>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20ng-if=\x22!item.OpenchannelAccountId\x22\x20md-font-icon=\x22icon-earth\x22\x20aria-label=\x22alert\x20openchannel\x22\x20class=\x22s16\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20ng-if=\x22item.OpenchannelAccountId\x22\x20md-font-icon=\x22icon-message-text\x22\x20aria-label=\x22alert\x20openchannel\x22\x20class=\x22s16\x20orange-fg\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20md-highlight-text=\x22vm.searchText\x22\x20md-highlight-flags=\x22^i\x22>{{item.key}}\x20-\x20{{item.value}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22OPENCHANNEL.CANNED_ANSWER_NOT_FOUND\x22>No\x20canned\x20answers\x20were\x20found</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SMS.ADD_NOTE\x22>Add\x20note</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm.closeDialog()\x22\x20aria-label=\x22Close\x20dialog\x22\x20tranlate\x20translate-aria-label=\x22SMS.CLOSE_DIALOG\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-autocomplete\x20md-search-text=\x22vm.searchTo\x22\x20md-items=\x22contact\x20in\x20vm.contactSearch(vm.searchTo)\x22\x20md-item-text=\x22contact.mobile\x22\x20md-min-length=\x223\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SMS.ERRORS.TO_REQUIRED\x22>To\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<ms-emoji-area\x20on-reply=\x22vm.reply(event,\x20body)\x22\x20ctrl-methods=\x22vm.ctrlMethods\x22\x20ng-model=\x22vm.message.body\x22\x20placeholder=\x22\x27SMS.INSERT_MESSAGE_HERE\x27\x22></ms-emoji-area>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-floating-label=\x22{{\x20\x27SMS.CANNED_ANSWER_SEARCH\x27\x20|\x20translate}}\x22\x20class=\x22input-show-hide\x20no-container-margin\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20ng-if=\x22!item.SmsAccountId\x22\x20md-font-icon=\x22icon-earth\x22\x20aria-label=\x22alert\x20sms\x22\x20class=\x22s16\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20ng-if=\x22item.SmsAccountId\x22\x20md-font-icon=\x22icon-message-text\x22\x20aria-label=\x22alert\x20sms\x22\x20class=\x22s16\x20orange-fg\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-item-template>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SMS.CANNED_ANSWER_NOT_FOUND\x22>No\x20canned\x20answers\x20were\x20found</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22WHATSAPP.ADD_NOTE\x22>Add\x20note</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm.closeDialog()\x22\x20aria-label=\x22Close\x20dialog\x22\x20tranlate\x20translate-aria-label=\x22WHATSAPP.CLOSE_DIALOG\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22WHATSAPP.TO\x22>To</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22WHATSAPP.ERRORS.TO_REQUIRED\x22>To\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<ms-emoji-area\x20on-reply=\x22vm.reply(event,\x20body)\x22\x20ctrl-methods=\x22vm.ctrlMethods\x22\x20ng-model=\x22vm.message.body\x22\x20placeholder=\x22\x27WHATSAPP.INSERT_MESSAGE_HERE\x27\x22></ms-emoji-area>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-floating-label=\x22{{\x20\x27WHATSAPP.CANNED_ANSWER_SEARCH\x27\x20|\x20translate}}\x22\x20class=\x22input-show-hide\x20no-container-margin\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20ng-if=\x22item.WhatsappAccountId\x22\x20md-font-icon=\x22icon-message-text\x22\x20aria-label=\x22alert\x20whatsapp\x22\x20class=\x22s16\x20orange-fg\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22WHATSAPP.CANNED_ANSWER_NOT_FOUND\x22>No\x20canned\x20answers\x20were\x20found</span>\x0a','<md-dialog\x20class=\x22disposition-dialog\x22\x20aria-label=\x22disposition\x22\x20ng-init=\x22vm.onInit()\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22!vm.interaction.closed\x22\x20class=\x22title\x22\x20translate=\x22DASHBOARDS.DISPOSE\x22></span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22vm.interaction.closed\x22\x20class=\x22title\x22\x20translate=\x22DASHBOARDS.INFO\x22></span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm.closeDialog()\x22\x20ng-if=\x22!vm.mandatoryDisposition\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22DASHBOARDS.DISPOSITIONS\x22>Dispositions</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22disposition\x22\x20ng-model=\x22vm.interaction.disposition\x22\x20required>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22d.name\x22\x20ng-repeat=\x22d\x20in\x20vm.dispositions\x22>{{\x20d.name\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22dispositionForm.disposition.$error\x22\x20ng-show=\x22dispositionForm.disposition.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22DASHBOARDS.ERRORS.DISPOSITION_REQUIRED\x22>Disposition\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22DASHBOARDS.NOTE\x22>Note</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-click=\x22vm.saveDisposition()\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20ng-if=\x22!vm.interaction.closed\x20&&\x20vm.interaction.disposition\x22\x20aria-label=\x22CLOSE_AND_DISPOSE\x22\x20translate=\x22DASHBOARDS.CLOSE_AND_DISPOSE\x22\x20translate-attr-aria-label=\x22DASHBOARDS.CLOSE_AND_DISPOSE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CLOSE\x20AND\x20DISPOSE\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CLOSE\x20WITHOUT\x20DISPOSE\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-click=\x22vm.saveDisposition()\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20ng-if=\x22vm.interaction.closed\x22\x20ng-disabled=\x22vm.mandatoryDisposition\x20&&\x20!vm.interaction.disposition\x22\x20aria-label=\x22DISPOSE\x22\x20translate=\x22DASHBOARDS.DISPOSE\x22\x20translate-attr-aria-label=\x22DASHBOARDS.DISPOSE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22vm.mandatoryDisposition\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-information-outline\x22\x20aria-label=\x22Mandatory\x20Disposition\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22no-margin\x20font-size-12\x20line-height-30\x22\x20translate=\x22DASHBOARDS.HELP.MANDATORY_DISPOSITION_ENABLED\x22></span>\x0a','app/main/apps/dashboards/views/general/agent/interaction/tag/dialog.html','<md-dialog\x20class=\x22tag-dialog\x22\x20aria-label=\x22tag\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22tagForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22title\x22\x20translate=\x22DASHBOARDS.TAGS\x22></span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-min-length=\x220\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-selected-item-change=\x22vm.selectedItemChange\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-selected-item=\x22vm.selectedItem\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-items=\x22item\x20in\x20vm.tags.rows\x20|\x20filter:{\x20name:\x20vm.searchText\x20}\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-item-text=\x22item.name\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20placeholder=\x22Search\x20for\x20a\x20tag\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-chip-template>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<strong>{{$chip.name}}</strong>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-chip-template>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-chips>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-click=\x22vm.saveTag(false)\x22\x20ng-disabled=\x22tagForm.$pristine\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20aria-label=\x22TAG\x22\x20translate=\x22DASHBOARDS.SAVE\x22\x20translate-attr-aria-label=\x22DASHBOARDS.SAVE\x22>\x0a','<md-dialog\x20class=\x22disposition-dialog\x22\x20aria-label=\x22disposition\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22transferForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22title\x22\x20translate=\x22DASHBOARDS.TRANSFER\x22></span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm.closeDialog(false)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22DASHBOARDS.TYPE\x22>Type</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22type\x22\x20ng-model=\x22vm.transfer.type\x22\x20required>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27queue\x27\x22\x20ng-if=\x22vm.account.queueTransfer\x22>Queue</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27agent\x27\x22\x20ng-if=\x22vm.account.agentTransfer\x22>Agent</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22DASHBOARDS.ERRORS.TYPE_REQUIRED\x22>Type\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20class=\x22md-block\x22\x20ng-if=\x22vm.transfer.type\x20===\x20\x27queue\x27\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22DASHBOARDS.QUEUES\x22>Queues</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22queue.id\x22\x20ng-repeat=\x22queue\x20in\x20vm.queues.rows\x22>{{\x20queue.name\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20class=\x22md-block\x22\x20ng-if=\x22vm.transfer.type\x20===\x20\x27agent\x27\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22DASHBOARDS.AGENTS\x22>Agents</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22agent\x22\x20ng-model=\x22vm.transfer.id\x22\x20required>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22transferForm.agent.$error\x22\x20ng-show=\x22transferForm.agent.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22DASHBOARDS.ERRORS.AGENT_REQUIRED\x22>Agent\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20<md-dialog-actions\x20ng-if=\x22!vm.interaction.closed\x20||\x20!vm.interaction.disposition\x22\x20layout=\x22row\x22\x20layout-align=\x22space-between\x20center\x22>\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TRANSFER\x0a','app/main/apps/dashboards/views/general/agent/interaction/views/agent.general.footer.html','<div\x20ng-show=\x22vm.showFooter\x22\x20layout=\x22column\x22\x20layout-align\x20\x22center\x20center\x22\x20flex>\x0a','\x20\x20\x20\x20\x20\x20<!--\x20msEmojyArea\x20directive\x20-->\x0a','\x20\x20\x20\x20\x20\x20<ms-emoji-area\x20ng-if=\x22vm.tab.channel\x20!=\x20\x27fax\x27\x22\x0a','\x20\x20\x20\x20\x20\x20on-reply=\x22vm.reply(event,\x20body)\x22\x0a','\x20\x20\x20\x20\x20\x20ctrl-methods=\x22vm.ctrlMethods\x22\x0a','\x20\x20\x20\x20\x20\x20ng-model=\x22vm.tab.areaText\x22\x0a','\x20\x20\x20\x20\x20\x20placeholder=\x22vm.tab.channel.toUpperCase()\x20+\x20\x27.INSERT_MESSAGE_HERE\x27\x22></ms-emoji-area>\x0a','\x20\x20\x20\x20\x20\x20<div\x20layout=\x22row\x22\x20layout-align=\x22end\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-auto-fix\x22\x20class=\x22green-fg\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22vm.tab.channel\x20==\x20\x27openchannel\x27\x20||\x20vm.tab.channel\x20==\x20\x27chat\x27\x20||\x20vm.tab.channel\x20==\x20\x27fax\x27\x22\x20style=\x22margin:1px;\x22\x20class=\x22md-icon-button\x20md-warn\x20md-mini\x22\x20aria-label=\x22attachment\x22\x20translate-attr-aria-label=\x22DASHBOARDS.ATTACHMENT\x22\x20flow-btn\x20flow-name=\x22vm.ngFlow.flow\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20flow-files-submitted=\x22vm.upload()\x22\x20flow-init=\x22vm.ngFlowOptions\x22\x20flow-file-added=\x22vm.fileAdded($file)\x22\x20flow-file-success=\x22vm.fileSuccess($file,\x20$message)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-paperclip\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-min-length=\x221\x22\x20placeholder=\x22{{\x20\x27DASHBOARDS.CANNED_ANSWER_SEARCH\x27\x20|\x20translate}}\x22\x20class=\x22cannedarea\x20input-show-hide\x22>\x0a','\x20\x20\x20\x20\x20\x20<md-item-template>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20ng-if=\x22item[vm.tab.channel\x20===\x20\x27chat\x27\x20?\x20\x27ChatWebsiteId\x27\x20:\x20_.capitalize(vm.tab.channel)\x20+\x20\x27AccountId\x27]\x22\x20md-font-icon=\x22{{vm.getIconByChannel(vm.tab.channel)}}\x22\x20aria-label=\x22alert\x20channel\x22\x20class=\x22s16\x22\x20ng-class=\x22vm.getColorByChannel(vm.tab.channel)\x20+\x20\x27-fg\x27\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20md-highlight-text=\x22vm.searchText\x22\x20md-highlight-flags=\x22^i\x22>{{item.key}}\x20-\x20{{item.value}}</span>\x0a','\x20\x20\x20\x20\x20\x20<md-not-found>\x0a','\x20\x20\x20\x20\x20\x20</md-not-found>\x0a','<!--\x20/\x20REPLY\x20FORM\x20-->\x0a','app/main/apps/dashboards/views/general/agent/interaction/views/agent.general.info.chat.html','<div\x20ng-init=\x22item\x20=\x20item\x20||\x20vm.interaction\x22>\x0a','\x20\x20<md-list-item\x20class=\x22md-2-line\x22\x20ng-if=\x22item.browserName\x22>\x0a','\x20\x20\x20\x20\x20\x20<div\x20class=\x22md-list-item-text\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<p\x20translate=\x22DASHBOARDS.BROWSER_NAME\x22>Browser\x20Name</p>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h4>{{item.browserName}}</h4>\x0a','\x20\x20</md-list-item>\x0a','\x20\x20<md-list-item\x20class=\x22md-2-line\x22\x20ng-if=\x22item.osName\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h4>{{item.osName}}</h4>\x0a','\x20\x20<md-list-item\x20class=\x22md-2-line\x22\x20ng-if=\x22item.deviceModel\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<p\x20translate=\x22DASHBOARDS.DEVICE_MODEL\x22>Device\x20Model</p>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h4>{{item.deviceModel}}</h4>\x0a','\x20\x20<md-list-item\x20class=\x22md-2-line\x22\x20ng-if=\x22item.referer\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<p\x20translate=\x22DASHBOARDS.REFERER\x22>Referer</p>\x0a','\x20\x20<md-list-item\x20class=\x22md-2-line\x22\x20ng-if=\x22item.customerIp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h4>{{item.customerIp}}</h4>\x0a','\x20\x20<md-list-item\x20class=\x22md-2-line\x22\x20ng-if=\x22item.customerPort\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<h4>{{item.customerPort}}</h4>\x0a','\x20\x20<md-list-item\x20class=\x22md-2-line\x22\x20ng-if=\x22item.closed\x20&&\x20item.ratingValue\x20!=\x20null\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<p\x20translate=\x22DASHBOARDS.RATING\x22>Rating</p>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-thumb-up\x22\x20style=\x22color:green\x22\x20ng-show=\x22item.ratingType\x20&&\x20item.ratingType\x20==\x20\x27thumb\x27\x20&&\x20item.ratingValue\x20==\x201\x22></md-icon>\x0a','\x20\x20<md-list-item\x20class=\x22md-2-line\x22\x20ng-if=\x22item.ratingMessage\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<p\x20translate=\x22DASHBOARDS.FEEDBACK\x22>Feedback</p>\x0a','app/main/apps/dashboards/views/general/agent/interaction/views/agent.general.info.html','<md-tabs\x20md-selected=\x22vm.selectedTab\x22\x20md-stretch-tabs=\x22always\x22\x20flex>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22DASHBOARDS.CONTACT\x22>Contact</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20</md-tab-label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<form\x20name=\x22contactForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-account\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22DASHBOARDS.NAME\x22>Name</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22firstName\x22\x20ng-model=\x22vm.contact.firstName\x22\x20disabled>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-email\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22DASHBOARDS.EMAIL\x22>Email</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22email\x22\x20name=\x22email\x22\x20ng-model=\x22vm.contact.email\x22\x20disabled>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20ng-if=\x22vm.tab.channel\x20!=\x20\x27fax\x27\x22\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-phone\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22DASHBOARDS.PHONE\x22>Phone</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22phone\x22\x20ng-model=\x22vm.contact.phone\x22\x20disabled>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-deskphone\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22DASHBOARDS.FAX\x22>Fax</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22!vm.tab.spy\x22\x20layout=\x22row\x22\x20layout-align=\x22center\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20More\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</form>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22DASHBOARDS.INTERACTION\x22>Interaction</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22column\x22\x20layout-align=\x22space-between\x20center\x22\x20class=\x22md-padding\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22!vm.interaction.closed\x22\x20class=\x22md-background-bg\x20green-fg\x20font-size-14\x22>#{{vm.interaction.id}}\x20-\x20<span\x20translate=\x22DASHBOARDS.OPENED\x22></span></span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22!vm.interaction.closed\x20&&\x20vm.interaction.substatus\x22\x20class=\x22md-background-bg\x20green-fg\x20font-size-14\x22>{{vm.interaction.substatus}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<p\x20translate=\x22DASHBOARDS.WEBSITE\x22\x20ng-if=\x22vm.tab.channel\x20==\x20\x27chat\x27\x22>Website</p>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<p\x20translate=\x22DASHBOARDS.ACCOUNT\x22\x20ng-if=\x22vm.tab.channel\x20!=\x20\x27chat\x27\x22>Account</p>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h4>{{vm.agent.fullname\x20||\x20vm.usersMap[vm.interaction.UserId]}}</h4>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-list-item\x20class=\x22md-2-line\x22\x20ng-if=\x22vm.interaction.externalUrl\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<p\x20translate=\x22DASHBOARDS.EXTERNAL_URL\x22>External\x20URL</p>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h4>{{vm.interaction.createdAt\x20|\x20date:\x20\x27medium\x27}}</h4>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-switch=\x22vm.tab.channel\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-switch-when=\x22chat\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-include=\x22\x27app/main/apps/dashboards/views/general/agent/interaction/views/agent.general.info.chat.html\x27\x22></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-include=\x22\x27app/main/apps/dashboards/views/general/agent/interaction/views/agent.general.info.mail.html\x27\x22></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-switch-when=\x22openchannel\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-include=\x22\x27app/main/apps/dashboards/views/general/agent/interaction/views/agent.general.info.openchannel.html\x27\x22></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-list-item\x20class=\x22md-2-line\x22\x20ng-if=\x22vm.interaction.Tags.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<p\x20translate=\x22DASHBOARDS.TAGS\x22>Tags</p>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22tag-label\x22>{{tag.name}}</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-list-item\x20class=\x22md-2-line\x22\x20ng-if=\x22vm.interaction.closed\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<p\x20translate=\x22DASHBOARDS.CLOSED_AT\x22>Closed\x20At</p>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-list-item\x20class=\x22md-2-line\x22\x20ng-if=\x22vm.interaction.closed\x20&&\x20vm.interaction.disposition\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<p\x20translate=\x22DASHBOARDS.DISPOSITION\x22>Disposition</p>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h4>{{\x20vm.interaction.disposition\x20}}</h4>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<p\x20translate=\x22DASHBOARDS.NOTE\x22>NOTE</p>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-content\x20class=\x22md-padding\x22>\x0a','app/main/apps/dashboards/views/general/agent/interaction/views/agent.general.info.journey.all.html','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22md-list-item-text\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h4>{{vm.agent.fullname\x20||\x20vm.usersMap[item.UserId]\x20||\x20\x27DASHBOARDS.NOT_ASSIGNED\x27\x20|\x20translate}}</h4>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<p\x20translate=\x22DASHBOARDS.EXTERNAL_URL\x22>External\x20URL</p>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<a\x20href=\x22{{item.externalUrl}}\x22\x20target=\x22_blank\x22><h4>{{item.externalUrl}}</h4></a>\x0a','\x20\x20\x20\x20<md-list-item\x20class=\x22md-2-line\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<p\x20translate=\x22DASHBOARDS.CREATED_AT\x22>Created\x20At</p>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h4>{{item.createdAt\x20|\x20date:\x20\x27medium\x27}}</h4>\x0a','\x20\x20\x20\x20</md-list-item>\x0a','\x20\x20\x20\x20<div\x20ng-if=\x22item.ChatWebsiteId\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-include=\x22\x27app/main/apps/dashboards/views/general/agent/interaction/views/agent.general.info.chat.html\x27\x22></div>\x0a','\x20\x20\x20\x20<div\x20ng-if=\x22item.MailAccountId\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-include=\x22\x27app/main/apps/dashboards/views/general/agent/interaction/views/agent.general.info.mail.html\x27\x22></div>\x0a','\x20\x20\x20\x20<md-divider\x20ng-if=\x22item.closed\x22></md-divider>\x0a','\x20\x20\x20\x20<md-list-item\x20class=\x22md-2-line\x22\x20ng-if=\x22item.closed\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<p\x20translate=\x22DASHBOARDS.CLOSED_AT\x22>Closed\x20At</p>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h4>{{item.closedAt\x20|\x20date:\x20\x27medium\x27}}</h4>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<p\x20translate=\x22DASHBOARDS.DISPOSITION\x22>Disposition</p>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h4>{{\x20item.disposition\x20}}</h4>\x0a','\x20\x20\x20\x20<md-list-item\x20class=\x22md-3-line\x20md-long-text\x22\x20ng-if=\x22item.closed\x20&&\x20item.note\x22>\x0a','\x20\x20\x20\x20<p\x20class=\x22padding-horizontal-15\x20grey-fg\x22>Tags</p>\x0a','\x20\x20\x20\x20<md-list-item\x20ng-if=\x22item.Tags.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22tag\x20margin-right-5\x20margin-top-5\x20margin-bottom-5\x22\x20layout=\x22row\x22\x20layout-align=\x22center\x20center\x22\x20ng-repeat=\x22tag\x20in\x20item.Tags\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22tag-color\x22\x20ng-style=\x22{\x27background\x27:\x20tag.color}\x22></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22tag-label\x22>{{tag.name}}</div>\x0a','</md-list>\x0a','<md-content\x20layout=\x22column\x22\x20layout-align=\x22end\x20center\x22>\x0a','\x20\x20\x20\x20<div\x20layout-margin>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20ng-model=\x22vm.channel\x22\x20placeholder=\x22Channel\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22undefined\x22\x20translate=\x22DASHBOARDS.ALL\x22>All</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27voice\x27\x22\x20translate=\x22DASHBOARDS.VOICE\x22>Voice</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27chat\x27\x22>Chat</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27mail\x27\x22>Mail</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27openchannel\x27\x22>Openchannel</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27whatsapp\x27\x22>WhatsApp\x20Connector</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20flex-gt-xs>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-datepicker\x20ng-model=\x22vm.dateTo\x22\x20md-placeholder=\x22Enter\x20date\x22\x20ng-init=\x22vm.dateTo\x20=\x20vm.lastDayMonth\x22></md-datepicker>\x0a','<div\x20id=\x22timeline\x22\x20ms-timeline=\x22vm.timelineOptions\x22\x20layout=\x22column\x22\x20ng-if=\x22vm.journey\x20&&\x20vm.journey.length\x22>\x0a','\x20\x20\x20\x20<!--\x20TIMELINE\x20ITEM\x20-->\x0a','\x20\x20\x20\x20<div\x20class=\x22ms-timeline-item\x22\x20layout-align=\x22center\x20center\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20ng-repeat=\x22item\x20in\x20vm.journey\x20|\x20getChannelByItem:vm.channel:vm.dateFrom:vm.dateTo\x20|\x20orderBy:\x27-createdAt\x27\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22timeline-card\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-card\x20class=\x22channel\x22\x20ng-class=\x22{\x27md-grey-200-bg\x27:\x20item.id\x20==\x20vm.interaction.id}\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22header\x20p-6\x22\x20layout=\x22row\x22\x20layout-align=\x22space-between\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-fab\x20md-mini\x22\x20aria-label=\x22icon-channel\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22vm.getColorByItem(item)\x20+\x20\x27-bg\x27\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20ng-if=\x22item.FaxAccountId\x22\x20md-font-icon=\x22icon-deskphone\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20ng-if=\x22item.OpenchannelAccountId\x22\x20md-font-icon=\x22icon-google-earth\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20ng-if=\x22item.SmsAccountId\x22\x20md-font-icon=\x22icon-message-text\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20ng-if=\x22item.WhatsappAccountId\x22\x20md-font-icon=\x22icon-whatsapp\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20ng-if=\x22item.MailAccountId\x22\x20md-font-icon=\x22icon-email\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20ng-if=\x22item.ChatWebsiteId\x22\x20md-font-icon=\x22icon-hangouts\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20ng-if=\x22item.amaflags\x22\x20md-font-icon=\x22icon-phone\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22info\x22\x20layout=\x22column\x22\x20ng-init=\x22item.showMore\x20=\x20false\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20item.Account.key\x20||\x20item.destination\x20}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<a\x20class=\x22toggle-details\x20md-accent-color\x22\x20ng-hide=\x22item.showMore\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20Details\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</a>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<a\x20class=\x22toggle-details\x20md-accent-color\x22\x20ng-show=\x22item.showMore\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22item.showMore\x20=\x20!item.showMore\x22\x20translate=\x22DASHBOARDS.HIDE_DETAILS\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Hide\x20Details\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip\x20md-direction=\x22left\x22>{{item.Owner.fullname\x20||\x20item.User.fullname}}</md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22item.showMore\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-include=\x22\x27app/main/apps/dashboards/views/general/agent/interaction/views/agent.general.info.journey.all.html\x27\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22item.amaflags\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22item.id\x20!=\x20vm.interaction.id\x22\x20layout=\x22row\x22\x20layout-align=\x22space-around\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22text-boxed\x20md-background-bg\x20red-fg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20title=\x22{{\x20\x27DASHBOARDS.STATUS\x27\x20|\x20translate}}:\x20{{\x20\x27DASHBOARDS.CLOSED\x27\x20|\x20translate}}\x20({{\x20item.disposition\x20||\x20(\x27DASHBOARDS.NO_DISPOSITION_SET\x27\x20|\x20translate)}})\x22>{{\x20\x27DASHBOARDS.STATUS\x27\x20|\x20translate}}:\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{\x20item.disposition\x20||\x20(\x27DASHBOARDS.NO_DISPOSITION_SET\x27\x20|\x20translate)\x20}})</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22text-boxed\x20md-background-bg\x20green-fg\x22\x20ng-if=\x22!item.closed\x20&&\x20!item.amaflags\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20item.substatus\x20}}</span></span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22item.amaflags\x22\x20class=\x22text-boxed\x20md-background-bg\x20red-fg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20title=\x22{{\x20\x27DASHBOARDS.DISPOSITION\x27\x20|\x20translate}}:\x20{{\x20item.userDisposition\x20||\x20\x27No\x20Dispose\x27}}\x22>{{\x20\x27DASHBOARDS.DISPOSITION\x27\x20|\x20translate}}:\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20flex></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22item.amaflags\x22\x20class=\x22md-icon-button\x22\x20aria-label=\x22go\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-open-in-new\x22\x20class=\x22s20\x22></md-icon>\x0a','<div\x20ng-if=\x22!vm.journey\x20||\x20!vm.journey.length\x22\x20layout=\x22row\x22\x20layout-align=\x22center\x20center\x22>\x0a','\x20\x20\x20\x20<em\x20translate=\x22DASHBOARDS.NO_DATA_AVAILABLE\x22>No\x20data\x20available</em>\x0a','<md-divider></md-divider>\x0a','<md-list\x20flex>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<p\x20translate=\x22DASHBOARDS.TYPE\x22>Type</p>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h4>{{item.type\x20?\x20item.type\x20:\x20\x27no\x20type\x27}}</h4>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h4>{{item.source\x20?\x20item.source\x20:\x20\x27unknown\x27}}</h4>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<p\x20translate=\x22DASHBOARDS.DESTINATION\x22>Destination</p>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h4>{{item.destination\x20?\x20item.destination\x20:\x20\x27unknown\x27}}</h4>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h4>{{item.starttime\x20|\x20date:\x27medium\x27}}</h4>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<p\x20translate=\x22DASHBOARDS.UNIQUEID\x22>Uniqueid</p>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h4>{{item.uniqueid\x20?\x20item.uniqueid\x20:\x20\x27unknown\x27}}</h4>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<p\x20translate=\x22DASHBOARDS.END_AT\x22>End\x20At</p>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h4>{{item.endtime\x20|\x20date:\x27medium\x27}}</h4>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<p\x20translate=\x22DASHBOARDS.DURATION\x22>Duration</p>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h4>{{item.duration\x20?\x20item.duration\x20:\x20\x27--\x27}}s</h4>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<p\x20translate=\x22DASHBOARDS.NOTE\x22>Note</p>\x0a','app/main/apps/dashboards/views/general/agent/interaction/views/agent.general.info.mail.html','\x20\x20<md-list-item\x20class=\x22md-2-line\x22\x20ng-if=\x22item.subject\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h4>{{item.subject}}</h4>\x0a','app/main/apps/dashboards/views/general/agent/interaction/views/agent.general.info.openchannel.html','\x20\x20<md-list-item\x20class=\x22md-2-line\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h4\x20ng-if=\x22item.threadId\x22\x20translate=\x22DASHBOARDS.PUBLIC\x22>Public</h4>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h4\x20ng-if=\x22!item.threadId\x22\x20translate=\x22DASHBOARDS.PRIVATE\x22>Private</h4>\x0a','app/main/apps/dashboards/views/general/agent/interaction/views/agent.general.interaction.html','<div\x20layout=\x22row\x22\x20ng-repeat=\x22message\x20in\x20vm.messages.rows\x22\x20class=\x22md-padding\x20message-row\x22\x20ng-class=\x22vm.getMessagesAlignment(message)\x22>\x0a','\x20\x20\x20\x20<img\x20ng-if=\x22message.direction\x20===\x27out\x27\x20&&\x20message.UserId\x20&&\x20!message.secret\x22\x20ng-src=\x22api/users/{{message.UserId}}/avatar\x22\x20class=\x22avatar\x22\x20/>\x0a','\x20\x20\x20\x20<md-button\x20ng-if=\x22vm.tab.channel\x20===\x20\x27fax\x27\x22\x20class=\x22md-fab\x20md-mini\x20no-margin\x22\x20aria-label=\x22Download\x22\x20ng-click=\x22vm.downloadMessage(message)\x22>\x0a','\x20\x20\x20\x20<div\x20class=\x22bubble\x22\x20ng-class=\x22{\x27md-yellow-200-bg\x27:\x20message.secret}\x22\x20ng-switch=\x22message.direction\x22>\x0a','\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22message.secret\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout-padding>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.getLabelByMessage(message)\x20}}\x20-\x20{{message.createdAt\x20|\x20date:\x20\x27medium\x27}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20class=\x22s18\x22\x20md-font-icon=\x22icon-lock\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22!message.secret\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-switch-when=\x22out\x22\x20class=\x22time\x20secondary-text\x22\x20layout=\x22row\x22\x20layout-align=\x22end\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.getLabelByMessage(message)\x20}}\x20-\x20{{message.createdAt\x20|\x20date:\x20\x27medium\x27}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22message.id\x20&&\x20vm.tab.channel\x20!==\x20\x27fax\x27\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20ng-if=\x22!message.read\x22\x20class=\x22s18\x22\x20md-font-icon=\x22icon-check\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20ng-if=\x22message.read\x22\x20class=\x22s18\x22\x20md-font-icon=\x22icon-check-all\x20md-accent\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22message.id\x20&&\x20vm.tab.channel\x20===\x20\x27fax\x27\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20ng-if=\x22!message.read\x20&&\x20!(message.failMessage\x20)\x22\x20class=\x22s18\x22\x20md-font-icon=\x22icon-check\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20ng-if=\x22message.read\x22\x20class=\x22s18\x22\x20md-font-icon=\x22icon-check-all\x20md-accent\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22message.AttachmentId\x22\x20layout=\x22row\x22\x20layout-align=\x22end\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>{{vm.htmlToPlaintext(message.body)}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-download\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22!message.AttachmentId\x22\x20class=\x22message\x22\x20layout=\x22row\x22\x20layout-align=\x22end\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-bind-html=\x22message.body\x20|\x20embed:\x20vm.embedOptions\x22></span>\x0a','<!--\x20/\x20MESSAGES\x20-->\x0a','app/main/apps/dashboards/views/general/agent/interaction/views/agent.general.interaction.mail.html','\x20\x20\x20\x20<div\x20ng-repeat=\x22message\x20in\x20vm.messages.rows\x20track\x20by\x20message.id\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20ng-init=\x22vm.selectedMailShowSystemMessage[message.id]\x20=\x20false\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-card\x20ng-if=\x22message.secret\x22\x20class=\x22md-padding\x20md-yellow-100-bg\x22\x20layout=\x22column\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22grey-fg\x22>{{vm.agent.fullname\x20||\x20vm.usersMap[message.UserId]}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20aria-label=\x22attachments\x22\x20class=\x22md-icon-button\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.getAttachments(message);\x20$mdOpenMenu($event);\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip\x20md-direction=\x22bottom\x22><span\x20translate=\x22MAIL.ATTACHMENTS\x22>Attachments</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-paperclip\x22\x20class=\x22icon\x20s24\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>{{message.attach}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-content\x20width=\x224\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22column\x22\x20layout-align=\x22center\x20center\x22\x20ng-if=\x22!message.attachments\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-progress-circular\x20md-mode=\x22indeterminate\x22></md-progress-circular>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MAIL.ATTACHMENTS\x22>Attachments</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-item\x20ng-if=\x22message.attachments\x22\x20ng-repeat=\x22attachment\x20in\x20message.attachments\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.getAttachment(attachment)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20attachment.name\x20||\x20(\x27attachment-\x27\x20+\x20$index)\x20}}</md-button>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-divider></md-divider>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22padding-top-5\x22\x20ng-bind-html-unsafe=\x22message.body\x22></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22row\x22\x20layout-align=\x22center\x20center\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-raised\x20blue-grey-300-bg\x20white-fg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.selectedMailShowSystemMessage[message.id]\x20=\x20!vm.selectedMailShowSystemMessage[message.id]\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20[{{message.createdAt\x20|\x20date:\x20\x27medium\x27}}]\x20{{\x20\x27MAIL.SHOW_AUTOREPLY\x27\x20|\x20translate\x20}}</md-button>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-card\x20layout=\x22column\x22\x20class=\x22md-padding\x20message-row\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-content\x20class=\x22mail-content\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22info\x22\x20layout=\x22row\x22\x20layout-align=\x22space-between\x20start\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22row\x22\x20layout-align=\x22start\x20start\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22column\x22\x20layout-align=\x22start\x20start\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20ng-if=\x22message.attach\x22\x20md-font-icon=\x22icon-paperclip\x22\x20class=\x22s16\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22name\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div>{{message.subject}}</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MAIL.TO\x22>To</span>:\x20<span\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22padding-left-5\x20subject\x20text-truncate\x22>{{\x20message.originTo\x20||\x20message.to\x20}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22name\x20padding-top-10\x22\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22message.direction\x20==\x20\x27in\x27\x20&&\x20message.originCc\x20&&\x20message.originCc.indexOf(vm.account.email)\x20>=\x200\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<em><span\x20class=\x22blue-grey\x22\x20translate=\x22MAIL.YOU_ARE_REGISTERED_AS_A\x22>You\x20are\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20registered\x20as\x20a</span>\x20<span\x20class=\x22blue-grey\x22>CC</span></em></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22message.direction\x20==\x20\x27in\x27\x20&&\x20message.bcc\x20&&\x20message.bcc.indexOf(vm.account.email)\x20>=\x200\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<em><span\x20class=\x22red-fg\x22\x20translate=\x22MAIL.YOU_ARE_REGISTERED_AS_A\x22>You\x20are\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20registered\x20as\x20a</span>\x20<span\x20class=\x22red-fg\x22>BCC</span></em></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<a\x20class=\x22toggle-details\x20md-accent-color\x22\x20ng-hide=\x22vm.selectedMailShowDetails[message.id]\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.selectedMailShowDetails[message.id]\x20=\x20!vm.selectedMailShowDetails[message.id]\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MAIL.SHOW_DETAILS\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<a\x20class=\x22toggle-details\x20md-accent-color\x22\x20ng-show=\x22vm.selectedMailShowDetails[message.id]\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MAIL.HIDE_DETAILS\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-show=\x22vm.selectedMailShowDetails[message.id]\x22\x20class=\x22details\x22\x20layout=\x22row\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20layout-align=\x22start\x20start\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22column\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22title\x22\x20translate=\x22MAIL.FROM\x22>From:</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20NOTE:\x20Start\x20retrocompatibility\x20with\x20replyCc\x202.0.66\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22title\x22\x20translate=\x22MAIL.CC\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22message.direction\x20===\x20\x27in\x27\x20&&\x20message.originCc\x22>Cc:</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22message.direction\x20===\x20\x27in\x27\x20&&\x20!message.originCc\x20&&\x20!message.originTo\x20&&\x20message.cc\x22>Cc:</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22message.direction\x20===\x20\x27out\x27\x20&&\x20message.cc\x22>Cc:</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20End\x20retrocompatibility\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22title\x22\x20translate=\x22MAIL.BCC\x22\x20ng-if=\x22message.bcc\x22>Bcc:</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22title\x22\x20translate=\x22MAIL.ACCEPTED\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22message.UserId\x20&&\x20message.direction\x20===\x27in\x27\x22>Accepted:</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22detail\x22>{{message.createdAt\x20|\x20date:\x27medium\x27}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22detail\x22>{{message.from}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22detail\x22>{{message.originTo\x20||\x20message.to}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22message.direction\x20===\x20\x27in\x27\x20&&\x20message.originCc\x22>{{\x20message.originCc\x20}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22detail\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22message.direction\x20===\x20\x27out\x27\x20&&\x20message.cc\x22>{{\x20message.cc\x20}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22message.UserId\x20&&\x20message.direction\x20===\x27in\x27\x22>{{vm.usersMap[message.UserId]}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22grey-fg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22message.direction\x20===\x27in\x27\x22>{{message.from.indexOf(vm.contact.email)\x20>=\x200\x20?\x20vm.contact.firstName\x20+\x20\x27\x20\x27\x20+\x20vm.contact.lastName\x20:\x20\x27*\x27\x20+\x20message.from}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22message.direction\x20===\x27out\x27\x20&&\x20!message.UserId\x22>System</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<img\x20ng-if=\x22message.direction\x20===\x27in\x27\x22\x20ng-src=\x22assets/images/avatars/customer.png\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-src=\x22api/users/{{message.UserId}}/avatar\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<img\x20ng-if=\x22message.direction\x20===\x27out\x27\x20&&\x20!message.UserId\x22\x20class=\x22avatar\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20src=\x22assets/images/avatars/robot.png\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20<md-button\x20class=\x22md-fab\x20md-mini\x20no-margin\x22\x20aria-label=\x22Download\x22\x20ng-click=\x22vm.downloadMessage(message)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-download\x22\x20class=\x22icon\x20s24\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20flex>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-divider></md-divider>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22interaction-reply-button-container\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip\x20md-direction=\x22bottom\x22><span\x20translate=\x22DASHBOARDS.DRAFT\x22>Draft</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22!vm.interaction.closed\x20&&\x20!vm.tab.spy\x22\x20class=\x22md-icon-button\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22draft\x22\x20ng-disabled=\x22!vm.draft\x22\x20ng-click=\x22vm.openDraft()\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-pencil-box\x22\x20class=\x22icon\x20s24\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22!vm.interaction.closed\x20&&\x20!vm.tab.spy\x22\x20class=\x22md-icon-button\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22reply\x22\x20ng-click=\x22vm.composeMailInteraction(\x27reply\x27,\x20message)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-reply\x22\x20class=\x22icon\x20s24\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22replyAll\x22\x20ng-click=\x22vm.composeMailInteraction(\x27replyAll\x27,\x20message)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip\x20md-direction=\x22bottom\x22><span\x20translate=\x22MAIL.REPLY_ALL\x22>Reply\x20All</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-reply-all\x22\x20class=\x22icon\x20s24\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip\x20md-direction=\x22bottom\x22><span\x20translate=\x22MAIL.FORWARD\x22>Forward</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-forward\x22\x20class=\x22icon\x20s24\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22!message.attach\x22\x20class=\x22md-icon-button\x22\x20aria-label=\x22forward\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.downloadMessage(message)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu\x20ng-if=\x22message.attach\x22\x20class=\x22no-margin\x22\x20md-position-mode=\x22target-right\x20target\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-click=\x22$mdOpenMenu()\x22\x20aria-label=\x22download\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip\x20md-direction=\x22bottom\x22><span\x20translate=\x22MAIL.DOWNLOAD\x22>Download</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-download\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-content\x20width=\x222\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-item>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.downloadMessage(message,\x20true)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Download\x20with\x20attachments\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-menu-item>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.downloadMessage(message)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MAIL.DOWNLOAD_WITHOUT_ATTACHMENTS\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Download\x20without\x20attachments\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-menu-content>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-menu>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu\x20ng-if=\x22message.attach\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20aria-label=\x22attachments\x22\x20class=\x22md-icon-button\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.getAttachments(message);\x20$mdOpenMenu($event);\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip\x20md-direction=\x22bottom\x22><span\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MAIL.ATTACHMENTS\x22>Attachments</span></md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-paperclip\x22\x20class=\x22icon\x20s24\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-content\x20width=\x224\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MAIL.ATTACHMENTS\x22>Attachments</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-item\x20ng-if=\x22message.attachments\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.getAttachment(attachment)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20attachment.name\x20||\x20(\x27attachment-\x27\x20+\x20$index)\x20}}</md-button>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-content\x20ng-bind-html-unsafe=\x22message.body\x22></md-content>\x0a','<div\x20class=\x22big-circle\x20md-whiteframe-4dp\x22>\x0a','<span\x20class=\x22app-title\x22\x20translate=\x22DASHBOARDS.WAITING\x22>Waiting</span>\x0a','<span\x20class=\x22hide\x20show-gt-md\x20secondary-text\x22\x20translate=\x22DASHBOARDS.LOADING_INTERACTION\x22>We\x20are\x20loading\x20the\x20interaction...</span>','app/main/apps/dashboards/views/general/agent/interaction/views/agent.general.toolbar.fax.html','<md-button\x20ng-if=\x22!vm.interaction.closed\x20&&\x20!vm.tab.spy\x22\x20class=\x22md-icon-button\x22\x20aria-label=\x22reply\x22\x20ng-click=\x22vm.composeFaxInteraction(\x27new\x27)\x22>\x0a','\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-reply\x22\x20class=\x22icon\x20s24\x22></md-icon>\x0a','<md-button\x20\x20class=\x22md-icon-button\x22\x20aria-label=\x22Download\x22\x20ng-click=\x22vm.downloadInteraction(vm.interaction)\x22>\x0a','\x20\x20<md-tooltip\x20md-direction=\x22bottom\x22><span\x20translate=\x22DASHBOARDS.DOWNLOAD\x22>Download</span></md-tooltip>\x0a','\x20\x20<md-icon\x20md-font-icon=\x22icon-download\x22\x20class=\x22icon\x20s24\x22></md-icon>\x0a','<div\x20class=\x22md-toolbar-tools\x22\x20layout=\x22row\x22\x20layout-align=\x22space-between\x20center\x22>\x0a','\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22{{vm.getIconByChannel(vm.tab.channel)}}\x22\x20class=\x22s20\x22\x20ng-class=\x22vm.getColorByChannel(vm.tab.channel)\x20+\x20\x27-fg\x27\x22></md-icon>\x0a','\x20\x20\x20\x20<div\x20class=\x22padding-left-10\x22\x20layout=\x22column\x22\x20layout-align=\x22center\x20start\x22\x20flex>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>#{{vm.interaction.id}}\x20-\x20{{vm.account.key}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22row\x22\x20layout-align=\x22center\x20center\x22\x20class=\x22p-8\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20ng-if=\x22vm.tab.channel\x20===\x20\x27openchannel\x27\x20&&\x20vm.interaction.threadId\x22\x20md-font-icon=\x22fas\x20fa-users\x22\x20class=\x22s16\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip><span\x20translate=\x22DASHBOARDS.PUBLIC_INTERACTION\x22>The\x20interaction\x20is\x20public</span></md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22red-fg\x20padding-left-25\x22\x20ng-if=\x22vm.interaction.closed\x22\x20translate=\x22DASHBOARDS.CLOSED\x22>CLOSED</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22row\x22\x20layout-align=\x22center\x20center\x22\x20class=\x22blue-grey-300-fg\x20padding-left-40\x22\x20ng-if=\x22!vm.interaction.closed\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<timer\x20start-time=\x22vm.interaction.createdAt\x22\x20interval=\x221000\x22>{{\x20days\x20>\x200\x20?\x20days\x20+\x20\x27d\x27\x20:\x20\x27\x27\x20}}\x20{{hhours}}:{{mminutes}}:{{sseconds}}</timer>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-timelapse\x22\x20class=\x22s16\x20padding-left-5\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22tags\x22\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22\x20ng-if=\x22vm.interaction.Tags.length\x22\x20ng-class=\x22{\x27padding-top-5\x27:\x20vm.interaction.Tags.length}\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22tag-label\x22>{{tag.name}}</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-switch=\x22vm.tab.channel\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-include=\x22\x27app/main/apps/dashboards/views/general/agent/interaction/views/agent.general.toolbar.mail.html\x27\x22></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-switch-when=\x22sms\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-include=\x22\x27app/main/apps/dashboards/views/general/agent/interaction/views/agent.general.toolbar.sms.html\x27\x22></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-include=\x22\x27app/main/apps/dashboards/views/general/agent/interaction/views/agent.general.toolbar.whatsapp.html\x27\x22></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-menu\x20ng-if=\x22[\x27fax\x27,\x20\x27sms\x27,\x20\x27whatsapp\x27].indexOf(vm.tab.channel)\x20<\x200\x22\x20class=\x22no-margin\x22\x20md-position-mode=\x22target-right\x20target\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-click=\x22$mdOpenMenu()\x22\x20aria-label=\x22download\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip\x20md-direction=\x22bottom\x22><span\x20translate=\x22DASHBOARDS.DOWNLOAD\x22>Download</span></md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-content\x20width=\x222\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-item>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Download\x20with\x20attachments\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-menu-item>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Download\x20without\x20attachments\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-menu\x20class=\x22no-margin\x22\x20ng-if=\x22!vm.interaction.disposition\x22\x20md-position-mode=\x22target-right\x20target\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-click=\x22$mdOpenMenu()\x22\x20aria-label=\x22more\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-content\x20width=\x222\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-item\x20ng-if=\x22vm.tab.channel\x20===\x20\x27chat\x27\x20&&\x20!vm.interaction.closed\x20&&\x20!vm.tab.spy\x20&&\x20vm.account.vidaooEscalation\x20&&\x20vm.account.vidaooApiKey\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.createVidaooSession(vm.interaction)\x22\x20translate=\x22DASHBOARDS.VIDAOOSESSION\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-menu-item>\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.tagInteraction()\x22\x20translate=\x22DASHBOARDS.TAG\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Tag\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-item\x20ng-if=\x22vm.account.queueTransfer\x20||\x20vm.account.agentTransfer\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Transfer\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-item\x20ng-if=\x22!vm.interaction.closed\x20&&\x20vm.tab.channel\x20==\x20\x27mail\x27\x20&&\x20(vm.subStatuses.rows.length\x20||\x20vm.interaction.substatus\x20!=\x20null)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set\x20as\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-content>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-item\x20ng-if=\x22vm.interaction.substatus\x20!=\x20null\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.setAs(null)\x22\x20translate=\x22DASHBOARDS.NONE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-item\x20ng-repeat=\x22subStatus\x20in\x20vm.subStatuses.rows\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.setAs(subStatus.name)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{subStatus.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.markAsUnread()\x22\x20translate=\x22DASHBOARDS.MARK_AS_UNREAD\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-item\x20ng-if=\x22!vm.tab.spy\x20&&\x20!vm.interaction.closed\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.disposeInteraction()\x22\x20translate=\x22DASHBOARDS.CLOSE_AND_DISPOSE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Close\x20and\x20Dispose\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-item\x20ng-if=\x22!vm.tab.spy\x20&&\x20vm.interaction.closed\x20&&\x20!vm.interaction.disposition\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.disposeInteraction(ev)\x22\x20translate=\x22DASHBOARDS.DISPOSE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Dispose\x0a','<div\x20class=\x22interaction-reply-button-container\x22>\x0a','\x20\x20\x20\x20<md-tooltip\x20md-direction=\x22bottom\x22><span\x20translate=\x22DASHBOARDS.DRAFT\x22>Draft</span></md-tooltip>\x0a','<md-button\x20ng-if=\x22!vm.interaction.closed\x20&&\x20!vm.tab.spy\x22\x20class=\x22md-icon-button\x22\x20aria-label=\x22reply\x22\x20ng-click=\x22vm.composeMailInteraction(\x27reply\x27,\x20vm.interaction)\x22>\x0a','\x20\x20\x20\x20<md-tooltip\x20md-direction=\x22bottom\x22><span\x20translate=\x22MAIL.REPLY\x22>Reply</span></md-tooltip>\x0a','\x20\x20\x20\x20<md-tooltip\x20md-direction=\x22bottom\x22><span\x20translate=\x22MAIL.REPLY_ALL\x22>Reply\x20All</span></md-tooltip>\x0a','\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-reply-all\x22\x20class=\x22icon\x20s24\x22></md-icon>\x0a','<md-button\x20ng-if=\x22!vm.interaction.closed\x20&&\x20!vm.tab.spy\x22\x20class=\x22md-icon-button\x22\x20aria-label=\x22forward\x22\x20ng-click=\x22vm.composeMailInteraction(\x27forward\x27,\x20vm.interaction)\x22>\x0a','\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-forward\x22\x20class=\x22icon\x20s24\x22></md-icon>\x0a','\x20\x20\x20\x20<md-tooltip\x20md-direction=\x22bottom\x22><span\x20translate=\x22MAIL.NOTE\x22>Note</span></md-tooltip>\x0a','app/main/apps/dashboards/views/general/agent/interaction/views/agent.general.toolbar.sms.html','\x20\x20\x20\x20<md-tooltip\x20md-direction=\x22bottom\x22><span\x20translate=\x22SMS.NOTE\x22>Note</span></md-tooltip>\x0a','</md-button>','app/main/apps/dashboards/views/general/agent/interaction/views/agent.general.toolbar.whatsapp.html','<md-button\x20class=\x22md-icon-button\x22\x20aria-label=\x22note\x22\x20ng-click=\x22vm.composeWhatsappInteraction(\x27note\x27,\x20vm.interaction)\x22>\x0a','\x20\x20\x20\x20<md-tooltip\x20md-direction=\x22bottom\x22><span\x20translate=\x22WHATSAPP.NOTE\x22>Note</span></md-tooltip>\x0a','\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-note-outline\x22\x20class=\x22icon\x20s24\x22></md-icon>\x0a','<md-content\x20class=\x22md-padding\x22\x20layout=\x22column\x22\x20layout-align=\x22center\x20center\x22>\x0a','\x20\x20\x20\x20<div\x20layout=\x22row\x22\x20layout-align=\x22center\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22!vm.tab.saved\x22\x20class=\x22text-boxed\x20md-green-bg\x22><timer\x20start-time=\x22vm.starttime\x22\x20interval=\x221000\x22>{{\x20days\x20>\x200\x20?\x20days\x20+\x20\x27d\x27\x20:\x20\x27\x27\x20}}\x20{{hhours}}:{{mminutes}}:{{sseconds}}</timer></span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-rotate-left\x22\x20class=\x22icon\x20s16\x22></md-icon>\x20{{\x27JSCRIPTY.RESET_SESSION\x27\x20|\x20translate}}</md-button>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22vm.showIncompleteSubmitButton\x22\x20ng-click=\x22vm.onSubmit($event,\x20true)\x22\x20md-no-ink\x20class=\x22md-raised\x20md-accent\x20green-bg\x22\x20translate=\x22JSCRIPTY.SUBMIT\x22></md-button>\x0a','\x20\x20\x20\x20<h1\x20ng-if=\x22!vm.project.formData\x22><span\x20translate=\x22JSCRIPTY.PROJECT_NOT_AVAILABLE\x22>Project\x20is\x20not\x20available.\x20Please\x20contact\x20the\x20administrator</span></h1>\x0a','\x20\x20\x20\x20<mw-form-viewer\x20ng-if=\x22vm.project.formData\x22\x20form-data=\x22vm.project.formData\x22\x20response-data=\x22vm.project.responseData\x22\x20on-submit=\x22vm.onSubmit($event)\x22\x20template-data=\x22call\x22\x20api=\x22vm.formViewer\x22></mw-form-viewer>\x0a','app/main/apps/dashboards/views/general/agent/notification/dialog.html','<!--\x20<md-toast>\x20-->\x0a','\x20\x20\x20\x20<div\x20class=\x22md-padding\x22\x20layout=\x22column\x22\x20layout-align=\x22center\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-title\x22>#{{vm.notification.id}}\x20{{vm.notification.title}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22\x20ng-if=\x22vm.notification.queue\x22>{{vm.notification.queue}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22padding-top-5\x22\x20layout=\x22row\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-raised\x20md-accent\x22\x20ng-click=\x22vm.accept($event)\x22\x20translate=\x22DASHBOARDS.ACCEPT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20REJECT\x0a','<!--\x20</md-toast>\x20-->\x0a','app/main/apps/dashboards/views/general/agent/popup/agent.general.popup.html','<md-content\x20class=\x22md-padding\x22\x20flex>\x0a','\x20\x20\x20\x20<div\x20ng-if=\x22vm.html\x22\x20ng-bind-html=\x22vm.html\x22></div>\x0a','\x20\x20\x20\x20<h1\x20ng-if=\x22!vm.html\x22>Template\x20is\x20empty.\x20Please\x20contact\x20the\x20administrator</h1>\x0a','</md-content>','app/main/apps/dashboards/views/general/user/chat/user.general.chat.html','<!--\x20WIDGET\x20INBOUND\x20-->\x0a','<div\x20class=\x22dashboard-container\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20<div\x20class=\x22pb-16\x22\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-hangouts\x22\x20class=\x22m-0\x20mr-16\x22></md-icon>\x0a','\x20\x20\x20\x20<div\x20class=\x22widget-group\x22\x20layout=\x22row\x22\x20flex=\x22100\x22\x20layout-wrap>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20WIDGET\x201\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<ms-widget\x20flippable=\x22true\x22\x20layout=\x22column\x22\x20flex=\x22100\x22\x20flex-gt-xs=\x2250\x22\x20flex-gt-md=\x2220\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20Front\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<ms-widget-front\x20class=\x22grey-50-bg\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22ph-8\x20pv-16\x20h-55\x22\x20layout=\x22row\x22\x20layout-align=\x22space-between\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-click=\x22flipWidget()\x22\x20aria-label=\x22more\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22pt-8\x20pb-32\x22\x20layout=\x22column\x22\x20layout-align=\x22center\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22light-blue-fg\x20font-size-52\x20line-height-72\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h3\x20secondary-text\x20font-weight-500\x22>{{\x27DASHBOARDS.WAITING\x27\x20|\x20translate\x20|\x20uppercase}}</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22h6\x20light-blue-fg\x20secondary-text\x20text-truncate\x22>{{\x27DASHBOARDS.WAITING_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20Back\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-click=\x22flipWidget()\x22\x20aria-label=\x22Flip\x20widget\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</ms-widget-back>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20Back\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20WIDGET\x201\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20WIDGET\x203\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22pl-16\x20pr-8\x20pv-16\x20h-55\x22\x20layout=\x22row\x22\x20layout-align=\x22space-between\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22orange-fg\x20font-size-52\x20line-height-72\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.inbound.talking\x20||\x200}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22h6\x20orange-fg\x20secondary-text\x20text-truncate\x22>{{\x27DASHBOARDS.OPENED_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20Front\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<ms-widget-back\x20class=\x22p-16\x20grey-50-bg\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22flip-to-front\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.OPENED\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20WIDGET\x203\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20WIDGET\x202\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-dots-vertical\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.inbound.answered\x20||\x200}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h3\x20secondary-text\x20font-weight-500\x22>{{\x27DASHBOARDS.MANAGED\x27\x20|\x20translate\x20|\x20uppercase}}</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22p-16\x20grey-200-bg\x20text-center\x20border-top\x22\x20layout-align=\x22start\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20</ms-widget>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20WIDGET\x202\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20WIDGET\x204\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22blue-grey-fg\x20font-size-52\x20line-height-72\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.inbound.abandoned\x20||\x200}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.ABANDONED\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20WIDGET\x204\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22blue-green-fg\x20font-size-52\x20line-height-72\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.inbound.total\x20||\x200}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22h6\x20blue-green-fg\x20secondary-text\x20text-truncate\x22>{{\x27DASHBOARDS.TOTAL_OFFERED_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</ms-widget-front>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.TOTAL_OFFERED\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20WIDGET\x204\x20-->\x0a','\x20\x20\x20\x20<!--\x20/\x20WIDGET\x20GROUP\x20-->\x0a','\x20\x20\x20\x20<!--\x20WIDGET\x20GROUP\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22light-blue-fg\x20font-size-42\x20line-height-72\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.inbound.avgHoldTime\x20||\x20\x2700:00:00\x27\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h3\x20secondary-text\x20font-weight-500\x22>{{\x27DASHBOARDS.AVG_HOLD_TIME\x27\x20|\x20translate\x20|\x20uppercase}}</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22h6\x20light-blue-fg\x20secondary-text\x20text-truncate\x22>{{\x27DASHBOARDS.AVG_HOLD_TIME_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.AVG_HOLD_TIME\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22orange-fg\x20font-size-42\x20line-height-72\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.inbound.avgTalkTime\x20||\x20\x2700:00:00\x27\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h3\x20secondary-text\x20font-weight-500\x22>{{\x27DASHBOARDS.AVG_MANAGED_TIME\x27\x20|\x20translate\x20|\x20uppercase}}</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22h6\x20orange-fg\x20secondary-text\x20text-truncate\x22>{{\x27DASHBOARDS.AVG_MANAGED_TIME_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.AVG_MANAGED_TIME\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<ms-widget\x20flippable=\x22true\x22\x20layout=\x22column\x22\x20flex=\x22100\x22\x20flex-gt-xs=\x2250\x22\x20flex-gt-md=\x2220\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h3\x20secondary-text\x20font-weight-500\x22>{{\x27DASHBOARDS.MANAGED_RATE\x27\x20|\x20translate\x20|\x20uppercase}}</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22h6\x20red-fg\x20secondary-text\x20text-truncate\x22>{{\x27DASHBOARDS.MANAGED_RATE_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.MANAGED_RATE\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.inbound.abandonRate\x20||\x200\x20}}%\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h3\x20secondary-text\x20font-weight-500\x22>{{\x27DASHBOARDS.ABANDONED_RATE\x27\x20|\x20translate\x20|\x20uppercase}}</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22h6\x20blue-grey-fg\x20secondary-text\x20text-truncate\x22>{{\x27DASHBOARDS.ABANDONED_RATE_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.ABANDONED_RATE\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.inbound.unmanaged\x20||\x200}}\x0a','<!--\x20/\x20WIDGET\x20INBOUND\x20-->','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22DASHBOARDS.TODAY_MOTION_BULL_STATS\x22>Today\x20Motion\x20Bull\x20STATS</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20style=\x22cursor:auto\x22\x20class=\x22md-icon-button\x22\x20aria-label=\x22more\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-timelapse\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h3\x20secondary-text\x20font-weight-500\x22>{{\x27DASHBOARDS.VOICE_WAITING\x27\x20|\x20translate\x20|\x20uppercase}}</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.VOICE_WAITING\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-phone-in-talk\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{(vm.inbound.talking\x20||\x200)\x20+\x20(vm.inbound.pTalking\x20||\x200)}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22h6\x20orange-fg\x20secondary-text\x20text-truncate\x22>{{\x27DASHBOARDS.VOICE_TALKING_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.VOICE_TALKING\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22red-fg\x20font-size-52\x20line-height-72\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h3\x20secondary-text\x20font-weight-500\x22>{{\x27DASHBOARDS.VOICE_ANSWERED\x27\x20|\x20translate\x20|\x20uppercase}}</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22h6\x20red-fg\x20secondary-text\x20text-truncate\x22>{{\x27DASHBOARDS.VOICE_ANSWERED_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.VOICE_ANSWERED\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.inbound.outboundDropCallsDayCallersExit\x20||\x200}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h3\x20secondary-text\x20font-weight-500\x22>{{\x27DASHBOARDS.VOICE_ABANDONED\x27\x20|\x20translate\x20|\x20uppercase}}</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.ABANDON_RATE\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-phone-outgoing\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.inbound.outboundDropCallsDayTimeout\x20||\x200}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h3\x20secondary-text\x20font-weight-500\x22>{{\x27DASHBOARDS.DROPPED\x27\x20|\x20translate\x20|\x20uppercase}}</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.DROPPED\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-phone-dots\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.inbound.originated\x20||\x200}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h3\x20secondary-text\x20font-weight-500\x22>{{\x27DASHBOARDS.ORIGINATED\x27\x20|\x20translate\x20|\x20uppercase}}</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22h6\x20blue-green-fg\x20secondary-text\x20text-truncate\x22>{{\x27DASHBOARDS.ORIGINATED_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.ORIGINATED\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22h6\x20orange-fg\x20secondary-text\x20text-truncate\x22>{{\x27DASHBOARDS.VOICE_AVG_TALK_TIME_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-percent\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.inbound.outboundanswerRate\x20||\x200\x20|number\x20:\x201}}%\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22h6\x20red-fg\x20secondary-text\x20text-truncate\x22>{{\x27DASHBOARDS.VOICE_ANSWER_RATE_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.VOICE_ANSWER_RATE\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22blue-grey-fg\x20font-size-42\x20line-height-72\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.VOICE_ABANDON_RATE\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.inbound.outboundDropRate\x20}}%\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22h6\x20blue-grey-fg\x20secondary-text\x20text-truncate\x22>{{\x27DASHBOARDS.DROP_RATE_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22DASHBOARDS.TODAY_IVR_CAMPAIGNS_STATS\x22>Today\x20IVR\x20campaigns\x20stats</div>\x0a','<!--\x20/\x20WIDGET\x20IVR\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-deskphone\x22\x20class=\x22m-0\x20mr-16\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.inbound.waiting\x20||\x200}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h3\x20secondary-text\x20font-weight-500\x22>{{\x27DASHBOARDS.OPENED\x27\x20|\x20translate\x20|\x20uppercase}}</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22h6\x20red-fg\x20secondary-text\x20text-truncate\x22>{{\x27DASHBOARDS.MANAGED_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.MANAGED\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h3\x20secondary-text\x20font-weight-500\x22>{{\x27DASHBOARDS.UNMANAGED\x27\x20|\x20translate\x20|\x20uppercase}}</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22h6\x20blue-green-fg\x20secondary-text\x20text-truncate\x22>{{\x27DASHBOARDS.UNMANAGED_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.UNMANAGED\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h3\x20secondary-text\x20font-weight-500\x22>{{\x27DASHBOARDS.TOTAL_OFFERED\x27\x20|\x20translate\x20|\x20uppercase}}</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<ms-widget\x20flippable=\x22true\x22\x20layout=\x22column\x22\x20flex=\x22100\x22\x20flex-gt-xs=\x2250\x22\x20flex-gt-md=\x2225\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.inbound.answerRate\x20||\x200\x20}}%\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20WIDGET\x204\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<ms-widget\x20flippable=\x22true\x22\x20layout=\x22column\x22\x20flex=\x22100\x22\x20flex-gt-xs=\x2250\x22\x20flex-gt-md=\x2225\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22h6\x20blue-grey-fg\x20secondary-text\x20text-truncate\x22>{{\x27DASHBOARDS.UNMANAGED_RATE_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.UNMANAGED_RATE\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22DASHBOARDS.TODAY_INTERACTIONS_STATS\x22>Today\x20Interactions\x20STATS</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<ms-widget\x20flippable=\x22true\x22\x20layout=\x22column\x22\x20flex=\x22100\x22\x20flex-gt-xs=\x2250\x22\x20flex-gt-md=\x2250\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22red-fg\x20font-size-42\x20line-height-72\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h3\x20secondary-text\x20font-weight-500\x22>{{\x27DASHBOARDS.UNMANAGED_RATE\x27\x20|\x20translate\x20|\x20uppercase}}</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-google-earth\x22\x20class=\x22m-0\x20mr-16\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.WAITING\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-message-text\x22\x20class=\x22m-0\x20mr-16\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22DASHBOARDS.TODAY_INTERACTIONS_STATS\x22>Today\x20Interactions\x20STATS</div>\x0a','app/main/apps/dashboards/views/general/user/user.general.html','<div\x20id=\x22dashboard-general\x22\x20ng-init=\x22vm.onInit()\x22\x20class=\x22page-layout\x20simple\x20right-sidenav\x22\x20layout=\x22row\x22>\x0a','\x20\x20\x20\x20<div\x20class=\x22center\x22\x20flex\x20ms-scroll>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20CONTENT\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22content\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tab\x20ng-if=\x22vm.license.voice\x22\x20label=\x22{{\x27DASHBOARDS.VOICE\x27\x20|\x20translate}}\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ui-sref=\x22app.dashboards.general.voice\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ui-view=\x22voice\x22></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tab\x20ng-if=\x22vm.license.dialer\x22\x20label=\x22{{\x27DASHBOARDS.MOTIONDIALER\x27\x20|\x20translate}}\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ui-sref=\x22app.dashboards.general.dialer\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ui-sref=\x22app.dashboards.general.chat\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ui-sref=\x22app.dashboards.general.mail\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ui-view=\x22mail\x22></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ui-view=\x22sms\x22></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tab\x20ng-if=\x22vm.license.openchannel\x22\x20label=\x22{{\x27DASHBOARDS.OPENCHANNEL\x27\x20|\x20translate}}\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ui-sref=\x22app.dashboards.general.openchannel\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ui-view=\x22openchannel\x22></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tab\x20ng-if=\x22vm.license.fax\x22\x20label=\x22{{\x27DASHBOARDS.FAX\x27\x20|\x20translate}}\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ui-sref=\x22app.dashboards.general.fax\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ui-view=\x22fax\x22></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tab\x20ng-if=\x22vm.license.whatsapp\x22\x20label=\x22{{\x27DASHBOARDS.WHATSAPP\x27\x20|\x20translate}}\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ui-sref=\x22app.dashboards.general.whatsapp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ui-view=\x22whatsapp\x22></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20END\x20CONTENT\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20layout-padding\x20layout-wrap>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22column\x22\x20layout-align=\x22space-around\x20center\x22\x20flex=\x2250\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-phone-incoming\x22\x20class=\x22m-0\x20mr-16\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22DASHBOARDS.TODAY_INBOUND_STATS\x22>Today\x20Inbound\x20STATS</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22h6\x20light-blue-fg\x20secondary-text\x20text-truncate\x22>{{\x27DASHBOARDS.VOICE_WAITING_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-phone-missed\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22h6\x20blue-grey-fg\x20secondary-text\x20text-truncate\x22>{{\x27DASHBOARDS.VOICE_ABANDONED_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.VOICE_ABANDONED\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-phone-incoming\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h3\x20secondary-text\x20font-weight-500\x22>{{\x27DASHBOARDS.VOICE_TOTAL_OFFERED\x27\x20|\x20translate\x20|\x20uppercase}}</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22h6\x20blue-green-fg\x20secondary-text\x20text-truncate\x22>{{\x27DASHBOARDS.VOICE_TOTAL_OFFERED_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.VOICE_TOTAL_OFFERED\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-timer-sand\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22h6\x20light-blue-fg\x20secondary-text\x20text-truncate\x22>{{\x27DASHBOARDS.VOICE_AVG_HOLD_TIME_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.VOICE_AVG_HOLD_TIME\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h3\x20secondary-text\x20font-weight-500\x22>{{\x27DASHBOARDS.VOICE_AVG_TALK_TIME\x27\x20|\x20translate\x20|\x20uppercase}}</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.VOICE_AVG_TALK_TIME\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h3\x20secondary-text\x20font-weight-500\x22>{{\x27DASHBOARDS.VOICE_ANSWER_RATE\x27\x20|\x20translate\x20|\x20uppercase}}</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22h6\x20blue-grey-fg\x20secondary-text\x20text-truncate\x22>{{\x27DASHBOARDS.VOICE_ABANDON_RATE_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h3\x20secondary-text\x20font-weight-500\x22>{{\x27DASHBOARDS.VOICE_UNMANAGED\x27\x20|\x20translate\x20|\x20uppercase}}</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22h6\x20blue-green-fg\x20secondary-text\x20text-truncate\x22>{{\x27DASHBOARDS.VOICE_UNMANAGED_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.VOICE_UNMANAGED\x27\x20|\x20translate}}\x0a','<!--\x20/\x20WIDGET\x20INBOUND\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-phone-outgoing\x22\x20class=\x22m-0\x20mr-16\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22DASHBOARDS.TODAY_OUTBOUND_STATS\x22>Today\x20Outbound\x20STATS</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h3\x20secondary-text\x20font-weight-500\x22>{{\x27DASHBOARDS.TOTAL\x27\x20|\x20translate\x20|\x20uppercase}}</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22h6\x20light-blue-fg\x20secondary-text\x20text-truncate\x22>{{\x27DASHBOARDS.TOTAL_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h3\x20secondary-text\x20font-weight-500\x22>{{\x27DASHBOARDS.OUTBOUND_ANSWERED\x27\x20|\x20translate\x20|\x20uppercase}}</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22h6\x20red-fg\x20secondary-text\x20text-truncate\x22>{{\x27DASHBOARDS.OUTBOUND_ANSWERED_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-clock\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h3\x20secondary-text\x20font-weight-500\x22>{{\x27DASHBOARDS.TOT_DURATION\x27\x20|\x20translate\x20|\x20uppercase}}</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22h6\x20orange-fg\x20secondary-text\x20text-truncate\x22>{{\x27DASHBOARDS.TOT_DURATION_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.TOT_DURATION\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-division\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.outbound.total\x20?\x20((vm.outbound.sumDuration\x20/\x20vm.outbound.total)\x20|\x20number:\x200)\x20:\x200\x20|\x20secToTime\x20|\x20date:\x27HH:mm:ss\x27}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22h6\x20blue-grey-fg\x20secondary-text\x20text-truncate\x22>{{\x27DASHBOARDS.AVG_DURATION_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.AVG_DURATION\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22blue-green-fg\x20font-size-42\x20line-height-72\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.outbound.total\x20?\x20(vm.outbound.answered\x20/\x20vm.outbound.total\x20*\x20100)\x20:\x200\x20|\x20number:\x201}}%\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22h6\x20blue-green-fg\x20secondary-text\x20text-truncate\x22>{{\x27DASHBOARDS.OUTBOUND_ANSWER_RATE_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.OUTBOUND_ANSWER_RATE\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-whatsapp\x22\x20class=\x22m-0\x20mr-16\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22DASHBOARDS.TODAY_INTERACTIONS_STATS\x22>Today\x20Interactions\x20STATS</div>\x0a','<md-dialog\x20class=\x22faxAccount-dialog\x22\x20aria-label=\x22New\x20FaxAccount\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22faxAccountForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22FAX.NAME\x22>Name</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22faxAccountForm[\x27name\x27].$error\x22\x20ng-show=\x22faxAccountForm[\x27name\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22key\x22\x20\x20ng-model=\x22vm.faxAccount.key\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22faxAccountForm[\x27key\x27].$error\x22\x20ng-show=\x22faxAccountForm[\x27key\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22FAX.ERRORS.KEY_MAX_LENGTH\x22\x20translate-values=\x27{max:\x205}\x27>key\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x205</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22FAX.TRUNK\x22>trunk</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22TrunkId\x22\x20ng-model=\x22vm.faxAccount.TrunkId\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22TrunkId.id\x22\x20ng-repeat=\x22TrunkId\x20in\x20vm.trunks\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22faxAccountForm[\x27TrunkId\x27].$error\x22\x20ng-show=\x22faxAccountForm[\x27TrunkId\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22FAX.ERRORS.TRUNK_REQUIRED\x22>trunk\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22FAX.HELP.LOCALSTATIONID\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22FAX.ERRORS.LOCALSTATIONID_REQUIRED\x22>localstationid\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22ListId\x22\x20ng-model=\x22vm.faxAccount.ListId\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22faxAccountForm[\x27ListId\x27].$error\x22\x20ng-show=\x22faxAccountForm[\x27ListId\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22FAX.ERRORS.LIST_REQUIRED\x22>List\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22FAX.DESCRIPTION\x22>Description</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22description\x22\x20\x20ng-model=\x22vm.faxAccount.description\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22faxAccountForm[\x27description\x27].$error\x22\x20ng-show=\x22faxAccountForm[\x27description\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22FAX.ERRORS.DESCRIPTION_REQUIRED\x22>Description\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.newFaxAccount\x22\x20ng-click=\x22vm.addNewFaxAccount()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x20&&\x20!vm.newFaxAccount\x22\x20ng-click=\x22vm.deleteFaxAccount($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22FAX.DELETE\x22>\x0a','<md-dialog\x20class=\x22faxAccount-dialog\x22\x20aria-label=\x22faxAccount\x22\x20ng-init=\x22vm.onInit()\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22faxAccountForm\x22\x20ng-cloak>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h2\x20translate=\x22FAX.AGENTADD_FAXACCOUNT\x22>Add\x20Agent\x20to\x20faxAccount</h2>\x0a','\x20\x20\x20\x20<form\x20name=\x22faxAccountFormApp\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22faxAccountFormApp[\x27agent\x27].$error\x22\x20ng-show=\x22faxAccountFormApp[\x27agent\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22FAX.ERRORS.AGENT_REQUIRED\x22>Agent\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22FAX.TIMEOUT\x22>Timeout</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22faxAccountFormApp[\x27timeout\x27].$error\x22\x20ng-show=\x22faxAccountFormApp[\x27timeout\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22FAX.ERRORS.TIMEOUT_REQUIRED\x22>Timeout\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22FAX.ERRORS.TIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>0</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-click=\x22vm.saveFaxAccountApp()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22faxAccountFormApp.$invalid\x20||\x20faxAccountFormApp.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22FAX.SAVE\x22\x20translate-attr-aria-label=\x22FAX.SAVE\x22>\x0a','app/main/apps/fax/views/faxAccounts/edit/apps/close/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22faxAccountFormApp[\x27disposition\x27].$error\x22\x20ng-show=\x22faxAccountFormApp[\x27disposition\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22FAX.ERRORS.DISPOSITION_REQUIRED\x22>Disposition\x20field\x20is\x20required</span>\x0a','app/main/apps/fax/views/faxAccounts/edit/apps/gotoif/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22FAX.CONDITION\x22>Condition</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22condition\x22\x20\x20ng-model=\x22vm.gotoif.condition\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22faxAccountFormApp[\x27condition\x27].$error\x22\x20ng-show=\x22faxAccountFormApp[\x27condition\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22FAX.ERRORS.CONDITION_REQUIRED\x22>Condition\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22FAX.TRUEPRIORITY\x22>truepriority</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22faxAccountFormApp[\x27truepriority\x27].$error\x22\x20ng-show=\x22faxAccountFormApp[\x27truepriority\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22FAX.ERRORS.TRUEPRIORITY_REQUIRED\x22>truepriority\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22FAX.ERRORS.TRUEPRIORITY_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>truepriority\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>1</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22faxAccountFormApp[\x27falsepriority\x27].$error\x22\x20ng-show=\x22faxAccountFormApp[\x27falsepriority\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22FAX.ERRORS.FALSEPRIORITY_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>falsepriority\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>1</span>\x0a','app/main/apps/fax/views/faxAccounts/edit/apps/gotop/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22faxAccountFormApp[\x27priority\x27].$error\x22\x20ng-show=\x22faxAccountFormApp[\x27priority\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22FAX.ERRORS.PRIORITY_REQUIRED\x22>Priority\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22FAX.ERRORS.PRIORITY_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>Priority\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>0</span>\x0a','app/main/apps/fax/views/faxAccounts/edit/apps/interval/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22TOOLS.INTERVALS\x22>Intervals</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20TIMERANGE\x20START\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</mdp-time-picker>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20ng-if=\x22vm.type\x20===\x20\x27custom\x27\x22\x20translate=\x22TOOLS.MONTH_DAYS\x22>Time\x20Range</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20flex\x20layout=\x22column\x22\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20flex\x20layout=\x22column\x22\x20class=\x22md-block\x22\x20ng-if=\x22vm.monthFrom\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22intervalForm.monthTo.$error\x22\x20ng-show=\x22intervalForm.monthTo.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22!vm.newInterval\x20&&\x20vm.crudPermissions.canEdit\x22\x20ng-click=\x22vm.saveInterval()\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20ng-disabled=\x22intervalForm.$invalid\x20||\x20intervalForm.$pristine\x22\x20aria-label=\x22SAVE\x22\x20translate=\x22TOOLS.SAVE\x22\x20translate-attr-aria-label=\x22TOOLS.SAVE\x22>\x0a','app/main/apps/fax/views/faxAccounts/edit/apps/noop/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22FAX.VALUE\x22>Value</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22value\x22\x20\x20ng-model=\x22vm.noop.value\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22faxAccountFormApp[\x27value\x27].$error\x22\x20ng-show=\x22faxAccountFormApp[\x27value\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22FAX.ERRORS.VALUE_REQUIRED\x22>Value\x20field\x20is\x20required</span>\x0a','app/main/apps/fax/views/faxAccounts/edit/apps/queue/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22FAX.QUEUE\x22>Queue</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22queue.canSelect\x20===\x20false\x22>{{\x20queue.name\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22faxAccountFormApp[\x27queue\x27].$error\x22\x20ng-show=\x22faxAccountFormApp[\x27queue\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22FAX.ERRORS.QUEUE_REQUIRED\x22>Queue\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22FAX.ERRORS.TIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO\x22>Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>2147483</span>\x0a','app/main/apps/fax/views/faxAccounts/edit/apps/system/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22faxAccountFormApp[\x27command\x27].$error\x22\x20ng-show=\x22faxAccountFormApp[\x27command\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22FAX.VARIABLE\x22>Variable</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22faxAccountFormApp[\x27variable\x27].$error\x22\x20ng-show=\x22faxAccountFormApp[\x27variable\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22FAX.ERRORS.VARIABLE_REQUIRED\x22>Variable\x20field\x20is\x20required</span>\x0a','app/main/apps/fax/views/faxAccounts/edit/apps/tag/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22tag.name\x22\x20ng-repeat=\x22tag\x20in\x20vm.tags\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22FAX.ERRORS.TAG_REQUIRED\x22>Tag\x20field\x20is\x20required</span>\x0a','<md-dialog\x20class=\x22faxDisposition-dialog\x22\x20aria-label=\x22New\x20FaxDisposition\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22faxDispositionForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22\x22\x20name=\x22name\x22\x20\x20ng-model=\x22vm.faxDisposition.name\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22faxDispositionForm[\x27name\x27].$error\x22\x20ng-show=\x22faxDispositionForm[\x27name\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22FAX.ERRORS.NAME_REQUIRED\x22>Name\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20!vm.newFaxDisposition\x22\x20ng-click=\x22vm.saveFaxDisposition()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22faxDispositionForm.$invalid\x20||\x20faxDispositionForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.newFaxDisposition\x22\x20ng-click=\x22vm.addNewFaxDisposition()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22faxDispositionForm.$invalid\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22FAX.ADD_FAXDISPOSITION\x22\x20translate-attr-aria-label=\x22FAX.ADD_FAXDISPOSITION\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20FAXDISPOSITION\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x20&&\x20!vm.newFaxDisposition\x22\x20ng-click=\x22vm.deleteFaxDisposition($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip><span\x20translate=\x22FAX.DELETE\x22>DELETE</span></md-tooltip>\x0a','<div\x20id=\x22fax-faxAccount\x22\x20class=\x22page-layout\x20simple\x20tabbed\x22\x20layout=\x22column\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22goto-faxAccounts-button\x20md-icon-button\x22\x20aria-label=\x22Go\x20to\x20faxAccounts\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.gotoFaxAccounts()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22FAX.GO_TO_FAXACCOUNTS\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22faxAccount-image\x22\x20hide-xs>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.faxAccount.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22vm.faxAccount.name\x22>{{vm.faxAccount.name}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22FAX.CREATED_AT\x22></span>\x20<span>{{vm.faxAccount.createdAt\x20|\x20date:\x27medium\x27}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.gotogoto(vm.faxAccount,\x20$event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.agentadddialog(vm.faxAccount,\x20$event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-click=\x22vm.saveFaxAccount()\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20ng-disabled=\x22(generalForm.$invalid)\x20||\x20(notificationForm.$invalid)\x20||\x20(transferForm.$invalid)\x20||\x20(advancedForm.$invalid)\x20||\x20(dispositionForm.$invalid)\x20||\x20(faxDispositionsForm.$invalid)\x20||\x20(actionsForm.$invalid)\x20||\x20(interactionsForm.$invalid)\x22\x20translate=\x22FAX.SAVE\x22\x20translate-attr-aria-label=\x22FAX.SAVE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22FAX.SETTINGS\x22>SETTINGS</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22name\x22\x20\x20ng-model=\x22vm.faxAccount.name\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22FAX.KEY\x22>key</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22FAX.ERRORS.KEY_REQUIRED\x22>key\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22FAX.HEADERINFO\x22>headerinfo</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22headerinfo\x22\x20\x20ng-model=\x22vm.faxAccount.headerinfo\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22FAX.HELP.HEADERINFO\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27headerinfo\x27].$error\x22\x20ng-show=\x22generalForm[\x27headerinfo\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22FAX.ERRORS.HEADERINFO_REQUIRED\x22>headerinfo\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27TrunkId\x27].$error\x22\x20ng-show=\x22generalForm[\x27TrunkId\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22FAX.LOCALSTATIONID\x22>localstationid</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22localstationid\x22\x20\x20ng-model=\x22vm.faxAccount.localstationid\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27localstationid\x27].$error\x22\x20ng-show=\x22generalForm[\x27localstationid\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22FAX.LIST\x22>List</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22FAX.WAITFORTHEASSIGNEDAGENT\x22>WaitForTheAssignedAgent</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22waitForTheAssignedAgent\x22\x20\x20ng-model=\x22vm.faxAccount.waitForTheAssignedAgent\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22FAX.ERRORS.WAITFORTHEASSIGNEDAGENT_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>WaitForTheAssignedAgent\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>1</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22FAX.NOTIFICATION\x22>NOTIFICATION</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.faxAccount.notificationShake\x22\x20aria-label=\x22notificationShake\x22\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20><span\x20translate=\x22FAX.NOTIFICATIONSHAKE\x22>notificationShake</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20class=\x22md-caption\x20grey-fg\x22\x20translate=\x22FAX.NOTIFICATIONTEMPLATE\x22>notificationTemplate</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<textarea\x20aria-label=\x22notificationTemplate\x20notificationTemplate\x22\x20ckeditor=\x22{\x20skin:\x20\x27office2013\x27,\x20language:\x20\x27en\x27,\x20allowedContent:\x20true,\x20extraPlugins:\x20\x27font,colorbutton,autoembed,autocorrect,googlethisterm,pastebase64\x27,\x20toolbarGroups:\x20[{\x20name:\x20\x27styles\x27,\x20groups:\x20[\x27styles\x27]\x20},\x20{\x20name:\x20\x27clipboard\x27,\x20groups:\x20[\x27undo\x27]\x20},\x20{\x20name:\x20\x27colors\x27,\x20groups:\x20[\x27colors\x27]\x20},\x20{\x20name:\x20\x27basicstyles\x27,\x20groups:\x20[\x27basicstyles\x27]\x20},\x20{\x20name:\x20\x27paragraph\x27,\x20groups:\x20[\x27list\x27,\x20\x27indent\x27,\x20\x27align\x27]\x20},\x20{\x20name:\x20\x27mode\x27\x20}],\x20autocorrect_enabled:\x20true,\x20disableNativeSpellChecker:\x20false,\x20fontSize_sizes:\x20\x278/8pt;9/9pt;10/10pt;11/11pt;12/12pt;14/14pt;16/16pt;18/18pt;20/20pt;22/22pt;24/24pt;26/26pt;28/28pt;36/36pt;48/48pt;72/72pt\x27,\x20\x20removePlugins:\x20\x27magicline\x27\x20}\x22\x20ng-model=\x22vm.faxAccount.notificationTemplate\x22></textarea>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22FAX.TRANSFER\x22>TRANSFER</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22FAX.QUEUETRANSFERTIMEOUT\x22>queueTransferTimeout</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22transferForm[\x27queueTransferTimeout\x27].$error\x22\x20ng-show=\x22transferForm[\x27queueTransferTimeout\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22FAX.ERRORS.QUEUETRANSFERTIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO\x22>queueTransferTimeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>2147483</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.faxAccount.agentTransfer\x20==\x20true\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22FAX.AGENTTRANSFERTIMEOUT\x22>agentTransferTimeout</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22agentTransferTimeout\x22\x20\x20ng-model=\x22vm.faxAccount.agentTransferTimeout\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22FAX.ERRORS.AGENTTRANSFERTIMEOUT_REQUIRED\x22>agentTransferTimeout\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22FAX.ERRORS.AGENTTRANSFERTIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>agentTransferTimeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>1</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22FAX.ERRORS.AGENTTRANSFERTIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO\x22>agentTransferTimeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>2147483</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22faxAccount-detail-form-container\x20advanced\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<form\x20name=\x22advancedForm\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22FAX.ECM\x22>ECM</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22ecm\x22\x20ng-model=\x22vm.faxAccount.ecm\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27yes\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>yes</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>no</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22FAX.HELP.ECM\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22advancedForm[\x27ecm\x27].$error\x22\x20ng-show=\x22advancedForm[\x27ecm\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22FAX.ERRORS.ECM_REQUIRED\x22>ECM\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22FAX.MINRATE\x22>minrate</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22minrate\x22\x20ng-model=\x22vm.faxAccount.minrate\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x272400\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>2400</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x274800\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>4800</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x277200\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>7200</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>9600</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x2712000\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>12000</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x2714400\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22FAX.HELP.MINRATE\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22advancedForm[\x27minrate\x27].$error\x22\x20ng-show=\x22advancedForm[\x27minrate\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22FAX.ERRORS.MINRATE_REQUIRED\x22>minrate\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22FAX.MAXRATE\x22>maxrate</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x279600\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>14400</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22FAX.HELP.MAXRATE\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22FAX.HELP.MODEM\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22advancedForm[\x27modem\x27].$error\x22\x20ng-show=\x22advancedForm[\x27modem\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22FAX.ERRORS.MODEM_REQUIRED\x22>modem\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22FAX.GATEWAY\x22>gateway</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22gateway\x22\x20\x20ng-model=\x22vm.faxAccount.gateway\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22FAX.HELP.GATEWAY\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22advancedForm[\x27gateway\x27].$error\x22\x20ng-show=\x22advancedForm[\x27gateway\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22FAX.ERRORS.GATEWAY_REQUIRED\x22>gateway\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22FAX.FAXDETECT\x22>faxdetect</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22faxdetect\x22\x20\x20ng-model=\x22vm.faxAccount.faxdetect\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22FAX.HELP.FAXDETECT\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22advancedForm[\x27faxdetect\x27].$error\x22\x20ng-show=\x22advancedForm[\x27faxdetect\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22FAX.ERRORS.FAXDETECT_REQUIRED\x22>faxdetect\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22FAX.T38TIMEOUT\x22>t38timeout</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22t38timeout\x22\x20\x20ng-model=\x22vm.faxAccount.t38timeout\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22FAX.HELP.T38TIMEOUT\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22FAX.ERRORS.T38TIMEOUT_REQUIRED\x22>t38timeout\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22FAX.SIP\x22>SIP</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22tech\x22\x20ng-model=\x22vm.faxAccount.tech\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27SIP\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27IAX\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>IAX</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27DADHI\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22FAX.ERRORS.SIP_REQUIRED\x22>SIP\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22faxAccount-detail-form-container\x20disposition\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.faxAccount.mandatoryDisposition\x22\x20aria-label=\x22MandatoryDisposition\x22\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20><span\x20translate=\x22FAX.MANDATORYDISPOSITION\x22>MandatoryDisposition</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.faxAccount.mandatoryDisposition\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22FAX.MANDATORYDISPOSITIONPAUSEID\x22>MandatoryDispositionPauseId</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22mandatoryDispositionPauseId.canSelect\x20===\x20false\x22>{{\x20mandatoryDispositionPauseId.name\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22FAX.HELP.MANDATORYDISPOSITIONPAUSEID\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22FAX.ERRORS.MANDATORYDISPOSITIONPAUSEID_REQUIRED\x22>MandatoryDispositionPauseId\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22FAX.DISPOSITIONS\x22>DISPOSITIONS</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22faxAccount-detail-form-container\x20faxdispositions\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-controller=\x22FaxAccountFaxDispositionsController\x20as\x20vm_dc\x22\x20ng-init=\x22vm_dc.init(vm.faxAccount,\x20vm.crudPermissions)\x22>\x0a','\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-default\x22\x20ng-hide=\x22vm_dc.selectedFaxAccountFaxDispositions.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20faxDisposition\x22\x20translate\x20translate-attr-label=\x22FAX.ADD_FAXDISPOSITION\x22>\x0a','\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-accent\x22\x20ng-show=\x22vm_dc.selectedFaxAccountFaxDispositions.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22>{{vm_dc.selectedFaxAccountFaxDispositions.length}}\x20{{vm_dc.selectedFaxAccountFaxDispositions.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-icon-button\x22\x20ng-csv=\x22vm_dc.exportSelectedFaxAccountFaxDispositions\x22\x20csv-label=\x22true\x22\x20filename=\x22faxAccounts.csv\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22vm_dc.crudPermissions.canDelete\x22\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm_dc.deleteSelectedFaxAccountFaxDispositions($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22FAX.DELETE_SELECTED\x22>\x0a','\x20\x20\x20\x20\x20\x20<table\x20md-table\x20md-row-select\x20multiple\x20ng-model=\x22vm_dc.selectedFaxAccountFaxDispositions\x22\x20md-progress=\x22vm_dc.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm_dc.query.sort\x22\x20md-on-reorder=\x22vm_dc.getFaxAccountFaxDispositions\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27FAX.ID\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27FAX.CREATED_AT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22faxDisposition\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22faxDisposition\x20in\x20vm_dc.faxAccountFaxDispositions.rows\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_dc.createOrEditFaxAccountFaxDisposition($event,\x20faxDisposition)\x22\x20\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_dc.createOrEditFaxAccountFaxDisposition($event,\x20faxDisposition)\x22\x20\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{faxDisposition.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_dc.createOrEditFaxAccountFaxDisposition($event,\x20faxDisposition)\x22\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20aria-label=\x22More\x22\x20translate\x20translate-attr-aria-label=\x22FAX.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm_dc.createOrEditFaxAccountFaxDisposition($event,\x20faxDisposition)\x22\x20translate=\x22FAX.EDIT_FAXDISPOSITION\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20FaxDisposition\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20FaxDisposition\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-if=\x22!vm_dc.faxAccountFaxDispositions.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22text-boxed-light\x22\x20translate=\x22FAX.NO_FAXDISPOSITION_AVAILABLE\x22>No\x20faxdisposition\x20available</span>\x0a','\x20\x20\x20\x20<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27FAX.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27FAX.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27FAX.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm_dc.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm_dc.query.page\x22\x20md-total=\x22{{vm_dc.faxAccountFaxDispositions.count}}\x22\x20md-on-paginate=\x22vm_dc.getFaxAccountFaxDispositions\x22\x20md-page-select></md-table-pagination>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22FAX.ACTIONS\x22>ACTIONS</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22faxAccount-detail-form-container\x20actions\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22{{a.icon}}\x22\x20class=\x22s16\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<p\x20class=\x22text-truncate\x22\x20translate=\x22FAX.{{(a.alias\x20||\x20a.appType)\x20|\x20uppercase}}\x22>{{a.alias\x20||\x20a.appType}}</p>\x0a','\x20\x20\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-default\x22\x20ng-hide=\x22vm_ac.selectedFaxAccountApps.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22>Drag\x20&\x20Drop\x20Routing</span>\x0a','\x20\x20\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-accent\x22\x20ng-show=\x22vm_ac.selectedFaxAccountApps.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22>{{vm_ac.selectedFaxAccountApps.length}}\x20{{vm_ac.selectedFaxAccountApps.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22vm_ac.crudPermissions.canDelete\x22\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm_ac.deleteSelectedFaxAccountApps($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22FAX.DELETE_SELECTED\x22>\x0a','\x20\x20\x20\x20\x20\x20<table\x20md-table\x20\x20md-row-select\x20multiple\x20ng-model=\x22vm_ac.selectedFaxAccountApps\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>Appdata</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>Interval</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22app\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22app\x20in\x20vm_ac.faxAccountApps.rows\x20|\x20filter:\x20vm_ac.query.filter\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-click=\x22vm_ac.editFaxAccountApp($event,\x20$index)\x22>{{app.app.toLowerCase()\x20===\x20\x27agi\x27\x20?\x20\x27Cally-Square\x27\x20:\x20app.app\x20|\x20ucfirst}}<span\x20ng-if=\x22app.appType.toLowerCase()\x20===\x20\x27custom\x27\x22>*</span></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-click=\x22vm_ac.editFaxAccountApp($event,\x20$index)\x22><span\x20class=\x22text-truncate\x22\x20style=\x22width:200px\x22>{{app.appdata}}</span></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm_ac.editInterval($event,\x20$index)\x22\x20class=\x22md-icon-button\x22\x20aria-label=\x22Interval\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm_ac.editFaxAccountApp($event,\x20$index)\x22\x20translate=\x22VOICE.EDIT_APP\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-item\x20ng-if=\x22vm_ac.crudPermissions.canDelete\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm_ac.faxAccountApps.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22text-boxed-light\x22\x20translate=\x22VOICE.NO_APPS_AVAILABLE\x22>No\x20apps\x20available</span>\x0a','<!--\x20NO\x20RESULTS\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-controller=\x22FaxAccountInteractionsController\x20as\x20vm_dc\x22\x20ng-init=\x22vm_dc.init(vm.faxAccount,\x20vm.crudPermissions)\x22>\x0a','\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22\x20translate=\x22FAX.INTERACTIONS\x22>Interactions</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x20advanced-search\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x20\x27blink\x27:\x20vm_dc.query.search\x20}\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm_dc.getFaxAccountInteractions()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22refresh\x20Interactions\x22\x20translate\x20translate-attr-label=\x22FAX.REFRESH_INTERACTIONS\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-refresh\x22></md-icon>\x0a','\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-accent\x22\x20ng-show=\x22vm_dc.selectedFaxAccountInteractions.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22>{{vm_dc.selectedFaxAccountInteractions.length}}\x20{{vm_dc.selectedFaxAccountInteractions.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-icon-button\x22\x20ng-csv=\x22vm_dc.exportSelectedFaxAccountInteractions\x22\x20csv-label=\x22true\x22\x20filename=\x22faxAccounts.csv\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22vm_dc.crudPermissions.canDelete\x22\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm_dc.deleteSelectedFaxAccountInteractions($event)\x22\x0a','\x20\x20\x20\x20\x20\x20<table\x20md-table\x20md-row-select\x20multiple\x20ng-model=\x22vm_dc.selectedFaxAccountInteractions\x22\x20md-progress=\x22vm_dc.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm_dc.query.sort\x22\x20md-on-reorder=\x22vm_dc.getFaxAccountInteractions\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27FAX.CONTACT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27FAX.STARTEDAT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22lastMsgAt\x22\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27FAX.LASTMESSAGE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27FAX.STATUS\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27FAX.AGENT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27FAX.TAGS\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22interaction\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22interaction\x20in\x20vm_dc.faxAccountInteractions.rows\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20\x20\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27FAX.OPENED\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22interaction.substatus\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-\x20{{\x20interaction.substatus\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22interaction.closed\x20===\x201\x22\x20class=\x22red-fg\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27FAX.CLOSED\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip\x20md-direction=\x22left\x22\x20layout=\x22row\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm_dc.spyfaxInteraction($event,\x20interaction)\x22\x20translate=\x22FAX.SPYINTERACTION\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-primary\x22\x20ng-click=\x22vm_dc.faxInteractionDownload(interaction,\x20$event)\x22\x20translate=\x22FAX.DOWNLOAD_INTERACTION\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Download\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm_dc.deleteConfirm(interaction,\x20$event)\x22\x20translate=\x22FAX.DELETE_INTERACTION\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-if=\x22!vm_dc.faxAccountInteractions.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22text-boxed-light\x22\x20translate=\x22FAX.NO_INTERACTION_AVAILABLE\x22>No\x20interaction\x20available</span>\x0a','\x20\x20\x20\x20<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27FAX.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27FAX.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27FAX.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm_dc.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm_dc.query.page\x22\x20md-total=\x22{{vm_dc.faxAccountInteractions.count}}\x22\x20md-on-paginate=\x22vm_dc.getFaxAccountInteractions\x22\x20md-page-select></md-table-pagination>\x0a','<div\x20id=\x22faxAccounts\x22\x20class=\x22page-layout\x20simple\x20left-sidenav\x20inner-sidenav\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-deskphone\x22\x20class=\x22s24\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20id=\x22search\x22\x20placeholder=\x22Search\x20for\x20anyone\x22\x20type=\x22text\x22\x20ng-model=\x22vm.query.filter\x22\x20ng-model-options=\x22{\x20debounce:\x201000\x20}\x22\x20translate\x20translate-attr-placeholder=\x22FAX.SEARCH_FOR_ANYONE\x22>\x0a','\x20\x20\x20\x20<div\x20ng-show=\x22vm.selectedFaxAccounts.length\x20>\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22close-button-wrapper\x22\x20ng-click=\x22vm.selectedFaxAccounts\x20=[]\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>{{vm.selectedFaxAccounts.length}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22FAX.SELECTED\x22>selected</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.selectAllFaxAccounts()\x22\x20translate=\x22FAX.SELECT_ALL\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deselectFaxAccounts()\x22\x20translate=\x22FAX.SELECT_NONE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22FAX.DELETE_SELECTED\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20FAXACCOUNT\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm.query.sort\x22\x20md-on-reorder=\x22vm.getFaxAccounts\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22id\x22>{{\x20\x27FAX.ID\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22name\x22>{{\x20\x27FAX.NAME\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22key\x22>{{\x20\x27FAX.KEY\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22localstationid\x22>{{\x20\x27FAX.LOCALSTATIONID\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22description\x22>{{\x20\x27FAX.DESCRIPTION\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm.faxAccounts.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22faxAccount\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22faxAccount\x20in\x20vm.faxAccounts.rows\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22!faxAccount.userpic\x20&&\x20(vm.table\x20==\x20\x27users\x27\x20||\x20vm.table\x20==\x20\x27agents\x27)\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{faxAccount.name}}\x22\x20ng-src=\x22assets/images/avatars/profile.png\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(faxAccount,\x20ev)\x20:\x20vm.createOrEditFaxAccount($event,\x20faxAccount)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22TrunkId\x20\x22>{{\x20(vm.trunks\x20|\x20filter\x20:\x20{\x27id\x27:faxAccount.TrunkId}\x20:\x20true)[0].name\x20}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(faxAccount,\x20ev)\x20:\x20vm.createOrEditFaxAccount($event,\x20faxAccount)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22FAX.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22FAX.EDIT_FAXACCOUNT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20FaxAccount\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.interactionsgoto(faxAccount,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Interactions\x20FaxAccount\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.gotorealtimegoto(faxAccount,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22FAX.GOTOREALTIME_FAXACCOUNT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20goToRealtime\x20FaxAccount\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22FAX.AGENTADD_FAXACCOUNT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AgentAdd\x20FaxAccount\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deleteconfirm(faxAccount,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20FaxAccount\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27FAX.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27FAX.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27FAX.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm.query.page\x22\x20md-total=\x22{{vm.faxAccounts.count}}\x22\x20md-on-paginate=\x22vm.getFaxAccounts\x22\x20md-page-select></md-table-pagination>\x0a','\x20\x20\x20\x20<md-button\x20ng-if=\x22vm.crudPermissions.canEdit\x22\x20class=\x22md-fab\x20md-accent\x22\x20id=\x22add-faxAccount-button\x22\x20ng-click=\x22vm.createOrEditFaxAccount($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20faxAccount\x22\x20translate\x20translate-attr-aria-label=\x22FAX.ADD_FAXACCOUNT\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22faxQueueForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22name\x22\x20\x20ng-model=\x22vm.faxQueue.name\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.newFaxQueue\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22FAX.HELP.NAME\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22faxQueueForm[\x27name\x27].$error\x22\x20ng-show=\x22faxQueueForm[\x27name\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22FAX.STRATEGY\x22>Strategy</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22strategy\x22\x20ng-model=\x22vm.faxQueue.strategy\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22faxQueueForm[\x27strategy\x27].$error\x22\x20ng-show=\x22faxQueueForm[\x27strategy\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22FAX.AGENT_TIMEOUT\x22>Agent_Timeout</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22timeout\x22\x20\x20ng-model=\x22vm.faxQueue.timeout\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22faxQueueForm[\x27timeout\x27].$error\x22\x20ng-show=\x22faxQueueForm[\x27timeout\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22description\x22\x20\x20ng-model=\x22vm.faxQueue.description\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20!vm.newFaxQueue\x22\x20ng-click=\x22vm.saveFaxQueue()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22faxQueueForm.$invalid\x20||\x20faxQueueForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.newFaxQueue\x22\x20ng-click=\x22vm.addNewFaxQueue()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22faxQueueForm.$invalid\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22FAX.ADD_FAXQUEUE\x22\x20translate-attr-aria-label=\x22FAX.ADD_FAXQUEUE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20FAXQUEUE\x0a','<md-dialog\x20class=\x22faxQueue-dialog\x22\x20aria-label=\x22faxQueue\x22\x20ng-init=\x22vm.onInit()\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22faxQueueForm\x22\x20ng-cloak>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h2\x20translate=\x22FAX.AGENTADD_FAXQUEUE\x22>Add\x20Agent\x20to\x20faxQueue</h2>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h2\x20translate=\x22FAX.TEAMS_ASSOCIATION\x22>Teams\x20Association</h2>\x0a','app/main/apps/fax/views/faxQueues/edit/view.html','<div\x20id=\x22fax-faxQueue\x22\x20class=\x22page-layout\x20simple\x20tabbed\x22\x20layout=\x22column\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22goto-faxQueues-button\x20md-icon-button\x22\x20aria-label=\x22Go\x20to\x20faxQueues\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.gotoFaxQueues()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<img\x20ng-src=\x22assets/images/business/faxQueues.jpg\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22vm.faxQueue.name\x22>{{vm.faxQueue.name}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22FAX.CREATED_AT\x22></span>\x20<span>{{vm.faxQueue.createdAt\x20|\x20date:\x27medium\x27}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.teamadddialog(vm.faxQueue,\x20$event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22teamadd\x22\x20\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip><span\x20translate=\x22FAX.TEAMADD_FAXQUEUE\x22></span></md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.agentadddialog(vm.faxQueue,\x20$event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip><span\x20translate=\x22FAX.AGENTADD_FAXQUEUE\x22></span></md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22faxQueue-detail-form-container\x20general\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22FAX.GENERAL\x22>GENERAL</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22FAX.ERRORS.NAME_MUST_VALID_PATTERN\x22\x20translate-values=\x22{\x20regex:\x20\x27/^[A-Za-z0-9\x5c.\x5c_]+$/i\x27\x20}\x22>Name\x20must\x20be\x20valid\x20pattern\x20</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22FAX.ERRORS.STRATEGY_REQUIRED\x22>Strategy\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22FAX.ERRORS.AGENT_TIMEOUT_REQUIRED\x22>Agent_Timeout\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22FAX.ERRORS.AGENT_TIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO\x22>Agent_Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>2147483</span>\x0a','<div\x20id=\x22faxQueues\x22\x20class=\x22page-layout\x20simple\x20left-sidenav\x20inner-sidenav\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22logo-text\x22\x20translate=\x22FAX.FAXQUEUES\x22>FaxQueues</span>\x0a','\x20\x20\x20\x20<div\x20ng-show=\x22vm.selectedFaxQueues.length\x20>\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22close-button-wrapper\x22\x20ng-click=\x22vm.selectedFaxQueues\x20=[]\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22FAX.BACK\x22>Back</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22selected-faxQueues-count\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>{{vm.selectedFaxQueues.length}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.selectAllFaxQueues()\x22\x20translate=\x22FAX.SELECT_ALL\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x22\x20ng-click=\x22vm.deleteSelectedFaxQueues($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20FAXQUEUE\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<table\x20md-table\x20\x20md-row-select\x20multiple\x20\x20\x20ng-model=\x22vm.selectedFaxQueues\x22\x20md-progress=\x22vm.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm.query.sort\x22\x20md-on-reorder=\x22vm.getFaxQueues\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22faxQueue\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22faxQueue\x20in\x20vm.faxQueues.rows\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22faxQueue.userpic\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{faxQueue.name}}\x22\x20ng-src=\x22api/users/{{faxQueue.id}}/avatar\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(faxQueue,\x20ev)\x20:\x20vm.createOrEditFaxQueue($event,\x20faxQueue)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22name\x20\x22\x20>{{faxQueue.name}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(faxQueue,\x20ev)\x20:\x20vm.createOrEditFaxQueue($event,\x20faxQueue)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22strategy\x20\x22>{{\x20vm.arraystrategy[faxQueue.strategy].option\x20}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.editstate(faxQueue,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22FAX.EDIT_FAXQUEUE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.teamadddialog(faxQueue,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22FAX.TEAMADD_FAXQUEUE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20teamadd\x20FaxQueue\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.agentadddialog(faxQueue,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22FAX.AGENTADD_FAXQUEUE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deleteconfirm(faxQueue,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22FAX.DELETE_FAXQUEUE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20FaxQueue\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22FAX.GOTOREALTIME_FAXQUEUE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20goToRealtime\x20FaxQueue\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20FAXQUEUE\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20ADD\x20FAXQUEUE\x20BUTTON\x20-->\x0a','\x20\x20\x20\x20<md-button\x20ng-if=\x22vm.crudPermissions.canEdit\x22\x20class=\x22md-fab\x20md-accent\x22\x20id=\x22add-faxQueue-button\x22\x20ng-click=\x22vm.createOrEditFaxQueue($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20faxQueue\x22\x20translate\x20translate-attr-aria-label=\x22FAX.ADD_FAXQUEUE\x22>\x0a','\x20\x20\x20\x20<!--\x20/\x20ADD\x20FAXQUEUE\x20BUTTON\x20-->\x0a','\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm.query.sort\x22\x20md-on-reorder=\x22vm.getFaxAccounts\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22name\x22>{{\x20\x27FAX.NAME\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x20\x27FAX.KEY\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x20\x27FAX.TOTAL\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x20\x27FAX.IN\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x20\x27FAX.OUT\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm.faxAccounts\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20colspan=\x224\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22FAX.NO_AVAILABLE_INFO\x22>No\x20Available\x20Info</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell>{{vm.faxAccounts[value].name}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell>{{vm.faxAccounts[value].key}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22font-size-20\x20grey-fg\x22>{{(vm.faxAccounts[value].in\x20||\x200)\x20+\x20(vm.faxAccounts[value].out\x20||\x200)}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span><md-icon\x20md-font-icon=\x22icon-arrow-down-bold\x20blue-fg\x22></md-icon></span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-capture\x20blue-fg\x22>{{vm.faxAccounts[value].in\x20||\x200}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22text-boxed\x22\x20ng-if=\x22mailAccount.in\x22>{{vm.faxAccounts[value].lastIn\x20?\x20\x20(vm.faxAccounts[value].lastIn\x20|\x20date:\x20\x27shortTime\x27)\x20:\x20\x27\x27}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span><md-icon\x20md-font-icon=\x22icon-arrow-up-bold\x20green-fg\x22></md-icon></span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-capture\x20green-fg\x22>{{vm.faxAccounts[value].out\x20||\x200}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22text-boxed\x22\x20ng-if=\x22mailAccount.out\x22>{{vm.faxAccounts[value].lastOut\x20?\x20\x20(vm.faxAccounts[value].lastOut\x20|\x20date:\x20\x27shortTime\x27)\x20:\x20\x27\x27}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20aria-label=\x22More\x22\x20translate\x20translate-attr-aria-label=\x22STAFF.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-item\x20ng-if=\x22vm.crudPermissions.canEdit\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.goToFaxAccount($event,\x20vm.faxAccounts[value])\x22\x20translate=\x22FAX.EDIT_ACCOUNT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Account\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22\x20translate=\x22FAX.AGENTS\x22>Agents</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-change=\x22vm.query.pauseTypeFilter\x20=\x20\x27\x27;\x20vm.onInit()\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27\x27\x22>{{\x20\x27FAX.ALL\x27\x20|\x20translate\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20value=\x22busy\x22>{{\x20\x27FAX.BUSY\x27\x20|\x20translate\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20value=\x22idle\x22>{{\x20\x27FAX.IDLE\x27\x20|\x20translate\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22md-caption\x22\x20ng-change=\x22vm.onInit()\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20value=\x22LOGININPAUSE\x22>LOGININPAUSE</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20value=\x22Auto-Pause\x22>AUTOPAUSE</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20border=\x221\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20class=\x22bv\x20bl\x20text-center\x22\x20colspan=\x222\x22>{{\x20\x27VOICE.VOICE\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20ng-if=\x22vm.license.mail\x22\x20class=\x22bv\x20bl\x20text-center\x22\x20colspan=\x222\x22>{{\x20\x27MAIL.MAIL\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20width=\x2210px\x22\x20class=\x22bt\x20bl\x22\x20rowspan=\x222\x22></th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20class=\x22bl\x22\x20colspan=\x222\x22\x20md-column\x20md-order-by=\x22fullname\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27FAX.NAME\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27FAX.STATUS\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27FAX.LOGIN_TIME\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20class=\x22bl\x20custom-column\x22>Info</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20ng-if=\x22vm.license.chat\x22\x20class=\x22text-center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20ng-if=\x22vm.license.messaging\x22\x20class=\x22text-center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20ng-if=\x22vm.license.openchannel\x22\x20class=\x22bl\x20text-center\x22>{{\x20\x27OPENCHANNEL.STATUS\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20ng-if=\x22vm.license.whatsapp\x22\x20class=\x22bl\x20text-center\x22>{{\x20\x27WHATSAPP.STATUS\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>{{\x20\x27FAX.NO_AGENT_ONLINE\x27\x20|\x20translate\x20}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27FAX.TOOLTIP_SCREENRECORDING_ON\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27FAX.TOOLTIP_SCREENRECORDING_OFF\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20class=\x22bt\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<timer\x20start-time=\x22vm.agents[value].lastLoginAt\x22\x20interval=\x221000\x22>{{\x20days\x20>\x200\x20?\x20days\x20+\x20\x27d\x27\x20:\x20\x27\x27\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22vm.agents[value].onhold\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27idle\x27:\x27lime-300-fg\x27,\x27maxcapacity\x27:\x27red-A200-fg\x27,\x27working\x27:\x27indigo-100-fg\x27,\x27pause\x27:\x27amber-200-fg\x27}[vm.agents[value].mailStatus]\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27idle\x27:\x27lime-300-bg\x27,\x27maxcapacity\x27:\x27red-A200-bg\x27,\x27working\x27:\x27indigo-100-bg\x27,\x27pause\x27:\x27amber-200-bg\x27}[vm.agents[value].smsStatus]\x22>{{\x20vm.agents[value].smsStatus\x20|\x20uppercase\x20}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27idle\x27:\x27lime-300-fg\x27,\x27maxcapacity\x27:\x27red-A200-fg\x27,\x27working\x27:\x27indigo-100-fg\x27,\x27pause\x27:\x27amber-200-fg\x27}[vm.agents[value].openchannelStatus]\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20class=\x22bt\x20padding-5\x20text-center\x20font-size-20\x22\x20ng-if=\x22vm.license.whatsapp\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22FAX.LOGOUT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22FAX.AGENTADD_QUEUE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22FAX.SCREENRECORDING\x22>Screen\x20Recording\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22FAX.START_SCREENRECORDING\x22>Start\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22FAX.STOP_SCREENRECORDING\x22>Stop\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22FAX.PAUSE\x22>Pause</md-button>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22FAX.DEFAULT_PAUSE\x22>Default\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.unPause(vm.agents[value])\x22\x0a','\x20\x20\x20\x20md-label=\x22{page:\x20\x27{{\x27FAX.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27FAX.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27FAX.OF\x27\x20|\x20translate}}\x27}\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22\x20translate=\x22FAX.QUEUES\x22>Queues</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm.query.sort\x22\x20md-on-reorder=\x22vm.getQueues\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x20\x27FAX.LOGGED_IN\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x20\x27FAX.PAUSED\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x20\x27FAX.READY\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22font-size-16\x20grey-fg\x22>{{vm.queues[value].available\x20||\x200}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20class=\x22actions\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20aria-label=\x22More\x22\x20translate\x20translate-attr-aria-label=\x22FAX.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.createOrEditFaxQueue($event,\x20vm.queues[value])\x22\x20translate=\x22FAX.EDIT_QUEUE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Queue\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.agentAdd($event,\x20vm.queues[value])\x22\x20translate=\x22FAX.AGENTSADD_QUEUE\x22>\x0a','<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27FAX.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27FAX.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27FAX.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm.query.page\x22\x20md-total=\x22{{vm.count}}\x22\x20md-on-paginate=\x22vm.getQueues\x22\x20md-page-select></md-table-pagination>\x0a','app/main/apps/fax/views/realtime/realtime.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tab>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22FAX.TRUNKS\x22>Trunks</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22FAX.ACCOUNTS\x22>Accounts</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22\x20translate=\x22FAX.TRUNKS\x22>Telephones</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm.showInfo($event)\x22>\x0a','\x20\x20\x20\x20\x20\x20<i\x20class=\x22icon-information-outline\x20grey-600-fg\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip>{{\x27FAX.INFO\x27\x20|\x20translate}}</md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20</i>\x0a','\x20\x20\x20\x20</md-button>\x20-->\x0a','<!--\x20TRUNKS\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm.query.sort\x22\x20md-on-reorder=\x22vm.getTrunks\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x20\x27FAX.TRUNK_STATUS\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20colspan=\x223\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-repeat=\x22(id,\x20trunk)\x20in\x20vm.trunks\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell>{{trunk.name}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<i\x20ng-class=\x22vm.statusClass[trunk.status.toLowerCase()]\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip>{{\x27FAX.\x27\x20+\x20trunk.status\x20|\x20uppercase\x20|\x20translate}}</md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</i>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22trunk.status\x20===\x20\x27registered\x27\x22\x20class=\x22text-boxed\x22>{{trunk.address}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<i\x20ng-if=\x22trunk.registry\x22\x20ng-class=\x22(trunk.stateRegistry.toLowerCase()\x20===\x20\x27registered\x27)\x20?\x20\x27green-300-fg\x20icon-checkbox-marked-circle\x27\x20:\x20\x27red-300-fg\x20icon-close-circle\x27\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip>{{\x27FAX.\x27\x20+\x20trunk.stateRegistry\x20|\x20uppercase\x20|\x20translate}}</md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22trunk.registry\x20&&\x20trunk.host\x20&&\x20trunk.port\x22\x20class=\x22text-boxed\x22>{{trunk.host}}:{{trunk.port}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22!trunk.registry\x22\x20translate=\x22FAX.NO_REGISTRY\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Registry\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20class=\x22actions\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x22>\x0a','<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27FAX.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27FAX.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27FAX.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm.query.page\x22\x20md-total=\x22{{vm.count}}\x22\x0a','\x20\x20\x20\x20md-on-paginate=\x22vm.getTrunks\x22\x20md-page-select></md-table-pagination>\x0a','<!--\x20/\x20TRUNKS\x20TABLE\x20-->\x0a','app/main/apps/help/views/about/about.html','<div\x20id=\x22maintenance\x22\x20class=\x22flex-scrollable\x22\x20layout=\x22column\x22\x20ms-scroll>\x0a','\x20\x20\x20\x20<div\x20id=\x22maintenance-form-wrapper\x22\x20layout=\x22column\x22\x20layout-align=\x22center\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20id=\x22maintenance-form\x22\x20class=\x22md-whiteframe-8dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<br>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22title\x22>Useful\x20pages</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<section\x20layout=\x22row\x22\x20flex\x20layout-sm=\x22column\x22\x20layout-align=\x22center\x20center\x22\x20layout-wrap>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22column\x22\x20flex=\x2225\x22\x20layout-align=\x22center\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<a\x20class=\x22md-fab\x20md-mini\x20md-button\x20grey-bg\x22\x20href=\x22https://wiki.xcallymotion.com/display/XMV\x22\x20target=\x22_blank\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-wikipedia\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22info\x22><a\x20href=\x22https://wiki.xcallymotion.com/display/XMV\x22\x20target=\x22_blank\x22>Wiki</a></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22info\x22><a\x20href=\x22/apidoc\x22\x20target=\x22_blank\x22>Motion\x20API</a></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<a\x20class=\x22md-fab\x20md-mini\x20md-button\x20orange-bg\x22\x20href=\x22http://www.xcally.com/bar/phonebar/Setup.msi\x22\x20target=\x22_blank\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-headphones\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<a\x20class=\x22md-fab\x20md-mini\x20md-button\x20green-bg\x22\x20href=\x22/demo\x22\x20target=\x22_blank\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-console\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22info\x22><a\x20href=\x22/demo\x22\x20target=\x22_blank\x22>Playground</a></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</section>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<section\x20ng-if=\x22!vm.license.custom\x22\x20layout=\x22row\x22\x20layout-sm=\x22column\x22\x20layout-align=\x22center\x20center\x22\x20layout-wrap>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<a\x20class=\x22md-fab\x20md-mini\x20md-button\x20blue-900-bg\x22\x20href=\x22https://www.facebook.com/xcallymotion\x22\x20target=\x22_blank\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</a>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<a\x20class=\x22md-fab\x20md-mini\x20md-button\x22\x20href=\x22https://twitter.com/xcallymotion\x22\x20target=\x22_blank\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-twitter\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<a\x20class=\x22md-fab\x20md-mini\x20md-button\x20md-warn\x22\x20href=\x22https://plus.google.com/+Xcally\x22\x20target=\x22_blank\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-google-plus\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-linkedin\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22info-line\x22\x20ng-if=\x22!vm.license.custom\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22title\x22\x20translate=\x22HELP.CONTACT_US\x22>Contact\x20Us</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<br\x20ng-if=\x22!vm.license.custom\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22info\x22>xCALLY\x20Motion\x20<u>{{vm.info.current}}</u>\x20|\x20<a\x20href=\x22https://wiki.xcallymotion.com/display/XMV/Motion+GUI#MotionGUI-Version{{vm.info.current}}\x22\x20target=\x22_blank\x22>Changelog</a></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<br>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22info\x22\x20ng-if=\x22!vm.license.custom\x22>xCALLY©\x202016\x20-\x202018\x20|\x20Powered\x20by\x20Xenialab\x20|\x20<a\x20href=\x22http://www.xcally.com/support/eula-xcally-license-en.pdf\x22\x20target=\x22_blank\x22>EULA</a></div>\x0a','<md-dialog\x20class=\x22deskAccount-dialog\x22\x20aria-label=\x22New\x20DeskAccount\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22deskAccountForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22INTEGRATIONS.NAME\x22>Name</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22deskAccountForm[\x27name\x27].$error\x22\x20ng-show=\x22deskAccountForm[\x27name\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22type\x22\x20ng-model=\x22vm.deskAccount.type\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27integrationTab\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27INTEGRATIONS.INTEGRATION_TAB\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27newTab\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27INTEGRATIONS.NEW_TAB\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22deskAccountForm[\x27type\x27].$error\x22\x20ng-show=\x22deskAccountForm[\x27type\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22INTEGRATIONS.URI\x22>Uri</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22url\x22\x20name=\x22remoteUri\x22\x20\x20ng-model=\x22vm.deskAccount.remoteUri\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22deskAccountForm[\x27remoteUri\x27].$error\x22\x20ng-show=\x22deskAccountForm[\x27remoteUri\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22INTEGRATIONS.ERRORS.URI_MUST_VALID_URL\x22>Uri\x20must\x20be\x20a\x20valid\x20url\x20http://www.xcally.com</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22INTEGRATIONS.AUTHTYPE\x22>AuthType</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22authType\x22\x20ng-model=\x22vm.deskAccount.authType\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27basic\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22deskAccountForm[\x27authType\x27].$error\x22\x20ng-show=\x22deskAccountForm[\x27authType\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22INTEGRATIONS.ERRORS.AUTHTYPE_REQUIRED\x22>AuthType\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.deskAccount.authType\x20==\x20\x27basic\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22INTEGRATIONS.USERNAME\x22>Username</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22username\x22\x20\x20ng-model=\x22vm.deskAccount.username\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22deskAccountForm[\x27username\x27].$error\x22\x20ng-show=\x22deskAccountForm[\x27username\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22INTEGRATIONS.ERRORS.USERNAME_REQUIRED\x22>Username\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20class=\x22md-block\x22\x20\x20ng-if=\x22vm.deskAccount.authType\x20==\x20\x27basic\x27\x22\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22INTEGRATIONS.PASSWORD\x22>Password</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22password\x22\x20name=\x22password\x22\x20ng-model=\x22vm.deskAccount.password\x22\x20placeholder=\x22Password\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-placeholder=\x22INTEGRATIONS.PASSWORD\x22\x20\x20required\x20\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22deskAccountForm[\x27password\x27].$error\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22INTEGRATIONS.ERRORS.PASSWORD_REQUIRED\x22>Password\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22INTEGRATIONS.MOTIONPROXYADDRESS\x22>MotionProxyAddress</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22url\x22\x20name=\x22serverUrl\x22\x20\x20ng-model=\x22vm.deskAccount.serverUrl\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22deskAccountForm[\x27serverUrl\x27].$error\x22\x20ng-show=\x22deskAccountForm[\x27serverUrl\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22INTEGRATIONS.ERRORS.MOTIONPROXYADDRESS_MUST_VALID_URL\x22>MotionProxyAddress\x20must\x20be\x20a\x20valid\x20url\x20http://www.xcally.com</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22INTEGRATIONS.DESCRIPTION\x22>Description</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22description\x22\x20\x20ng-model=\x22vm.deskAccount.description\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22INTEGRATIONS.ERRORS.DESCRIPTION_REQUIRED\x22>Description\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20!vm.newDeskAccount\x22\x20ng-click=\x22vm.saveDeskAccount()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22deskAccountForm.$invalid\x20||\x20deskAccountForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22INTEGRATIONS.SAVE\x22\x20translate-attr-aria-label=\x22INTEGRATIONS.SAVE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.newDeskAccount\x22\x20ng-click=\x22vm.addNewDeskAccount()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22deskAccountForm.$invalid\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20DESKACCOUNT\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x20&&\x20!vm.newDeskAccount\x22\x20ng-click=\x22vm.deleteDeskAccount($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22INTEGRATIONS.DELETE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip><span\x20translate=\x22INTEGRATIONS.DELETE\x22>DELETE</span></md-tooltip>\x0a','app/main/apps/integrations/views/deskAccounts/deskAccounts.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-heart\x22\x20class=\x22s24\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22logo-text\x22\x20translate=\x22INTEGRATIONS.DESKACCOUNTS\x22>DeskAccounts</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20id=\x22search\x22\x20placeholder=\x22Search\x20for\x20anyone\x22\x20type=\x22text\x22\x20ng-model=\x22vm.query.filter\x22\x20ng-model-options=\x22{\x20debounce:\x201000\x20}\x22\x20translate\x20translate-attr-placeholder=\x22INTEGRATIONS.SEARCH_FOR_ANYONE\x22>\x0a','\x20\x20\x20\x20<div\x20ng-show=\x22vm.selectedDeskAccounts.length\x20>\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22INTEGRATIONS.BACK\x22>Back</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22selected-deskAccounts-count\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>{{vm.selectedDeskAccounts.length}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22INTEGRATIONS.SELECTED\x22>selected</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.selectAllDeskAccounts()\x22\x20translate=\x22INTEGRATIONS.SELECT_ALL\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x22\x20ng-click=\x22vm.deleteSelectedDeskAccounts($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22INTEGRATIONS.DELETE_SELECTED\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20DESKACCOUNT\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22id\x22>{{\x20\x27INTEGRATIONS.ID\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22name\x22>{{\x20\x27INTEGRATIONS.NAME\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22username\x22>{{\x20\x27INTEGRATIONS.USERNAME\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm.deskAccounts.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22INTEGRATIONS.NO_AVAILABLE_INFO\x22>No\x20Available\x20Info</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22!deskAccount.userpic\x20&&\x20(vm.table\x20==\x20\x27users\x27\x20||\x20vm.table\x20==\x20\x27agents\x27)\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{deskAccount.name}}\x22\x20ng-src=\x22assets/images/avatars/profile.png\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22id\x20\x22\x20>{{deskAccount.id}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(deskAccount,\x20ev)\x20:\x20vm.createOrEditDeskAccount($event,\x20deskAccount)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22name\x20\x22\x20>{{deskAccount.name}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22username\x20\x22\x20>{{deskAccount.username}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22INTEGRATIONS.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.editstate(deskAccount,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22INTEGRATIONS.EDIT_DESKACCOUNT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20DeskAccount\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22INTEGRATIONS.TEST_DESKACCOUNT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Test\x20DeskAccount\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22INTEGRATIONS.DELETE_DESKACCOUNT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20DeskAccount\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20DESKACCOUNT\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20ADD\x20DESKACCOUNT\x20BUTTON\x20-->\x0a','\x20\x20\x20\x20<md-button\x20ng-if=\x22vm.crudPermissions.canEdit\x22\x20class=\x22md-fab\x20md-accent\x22\x20id=\x22add-deskAccount-button\x22\x20ng-click=\x22vm.createOrEditDeskAccount($event)\x22\x0a','\x20\x20\x20\x20<!--\x20/\x20ADD\x20DESKACCOUNT\x20BUTTON\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22\x22\x20name=\x22name\x22\x20\x20ng-model=\x22vm.deskConfiguration.name\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22deskConfigurationForm[\x27name\x27].$error\x22\x20ng-show=\x22deskConfigurationForm[\x27name\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22INTEGRATIONS.ERRORS.NAME_REQUIRED\x22>Name\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22INTEGRATIONS.CHANNEL\x22>Channel</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22channel\x22\x20ng-model=\x22vm.deskConfiguration.channel\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27voice\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22deskConfigurationForm[\x27channel\x27].$error\x22\x20ng-show=\x22deskConfigurationForm[\x27channel\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22INTEGRATIONS.ERRORS.CHANNEL_REQUIRED\x22>Channel\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22INTEGRATIONS.TYPE\x22>Type</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22type\x22\x20ng-model=\x22vm.deskConfiguration.type\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27inbound\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27outbound\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27INTEGRATIONS.OUTBOUND_CALL\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22deskConfigurationForm[\x27type\x27].$error\x22\x20ng-show=\x22deskConfigurationForm[\x27type\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22INTEGRATIONS.ERRORS.TYPE_REQUIRED\x22>Type\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20!vm.newDeskConfiguration\x22\x20ng-click=\x22vm.saveDeskConfiguration()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22deskConfigurationForm.$invalid\x20||\x20deskConfigurationForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.newDeskConfiguration\x22\x20ng-click=\x22vm.addNewDeskConfiguration()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22INTEGRATIONS.ADD_DESKCONFIGURATION\x22\x20translate-attr-aria-label=\x22INTEGRATIONS.ADD_DESKCONFIGURATION\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x20&&\x20!vm.newDeskConfiguration\x22\x20ng-click=\x22vm.deleteDeskConfiguration($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x0a','\x20\x20\x20\x20<form\x20name=\x22deskAccountItemForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-switch=\x22vm.type\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20SUBJECT\x20SECTION\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-switch-when=\x22description\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20DESCRIPTION\x20SECTION\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22INTEGRATIONS.TYPE\x22>Type</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22type\x22\x20ng-model=\x22vm.item.type\x22\x20required>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20value=\x22string\x22>String</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20value=\x22keyValue\x22>Key\x20Value</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22deskAccountItemForm.type.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22INTEGRATIONS.ERRORS.TYPE_REQUIRED\x22>Type\x20field\x20is\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20class=\x22md-block\x22\x20ng-if=\x22vm.item.type\x20==\x20\x27string\x27\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22INTEGRATIONS.CONTENT\x22>Content</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22deskAccountItemForm.content.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22deskAccountItemForm.content.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22INTEGRATIONS.ERRORS.CONTENT_REQUIRED\x22>Content\x20field\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22INTEGRATIONS.KEY\x22>Key</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22key\x22\x20ng-model=\x22vm.item.key\x22\x20required\x20md-autofocus>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22deskAccountItemForm.key.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22deskAccountItemForm.key.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-message=\x22required\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22INTEGRATIONS.ERRORS.KEY_REQUIRED\x22>Key\x20field\x20is\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22INTEGRATIONS.TYPE\x22>Type</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20value=\x22string\x22>String</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20value=\x22variable\x22>Variable</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20value=\x22customVariable\x22>Custom\x20Variable</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-select>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22deskAccountItemForm.keyType.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22INTEGRATIONS.ERRORS.TYPE_REQUIRED\x22>Type\x20field\x20is\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22INTEGRATIONS.CONTENT\x22>Content</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22keyContent\x22\x20ng-model=\x22vm.item.keyContent\x22\x20required\x20md-autofocus>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22deskAccountItemForm.keyContent.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22deskAccountItemForm.keyContent.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22INTEGRATIONS.ERRORS.CONTENT_REQUIRED\x22>Content\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22INTEGRATIONS.VALUE\x22>Value</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22variableName\x22\x20ng-model=\x22vm.item.variableName\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-selected-text=\x22vm.getSelectedVariable()\x22\x20required>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-optgroup\x20label=\x22Voice:\x20Queue\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22agentColumn\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-optgroup>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-optgroup\x20label=\x22Voice:\x20Outbound\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-repeat=\x22dialColumn\x20in\x20vm.voiceDialReportColumns\x22>{{dialColumn}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22deskAccountItemForm.variableName.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22deskAccountItemForm.variableName.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22INTEGRATIONS.ERRORS.VARIABLENAME_REQUIRED\x22>Variable\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20class=\x22md-block\x22\x20ng-if=\x22vm.item.keyType\x20==\x20\x27customVariable\x27\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22variable.id\x22\x20ng-repeat=\x22variable\x20in\x20vm.variables\x22>{{variable.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20DESCRIPTION\x20SECTION\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-switch-when=\x22field\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20FIELD\x20SECTION\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22vm.accountConnected\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22INTEGRATIONS.FIELD\x22>FIELD</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20ITEM\x20TYPE\x20DEFAULT\x20VALUE\x20is\x20STRING\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22customField\x22\x20ng-model=\x22vm.customField\x22\x20required\x20ng-change=\x22vm.item.type\x20=\x20\x27string\x27\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-optgroup\x20label=\x22Standard\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22standard\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22custom\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-repeat=\x22custom\x20in\x20vm.fields\x20|\x20filter:\x20{custom:\x20true}\x20\x22>{{custom.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22deskAccountItemForm.customField.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22INTEGRATIONS.ERRORS.FIELD_REQUIRED\x22>Field\x20is\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20FIELDS\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22!vm.accountConnected\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<p>Account\x20is\x20not\x20connected.\x20Please\x20check\x20your\x20configurations!</p>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20FIELD\x20SECTION\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-switch-default>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<p>No\x20Item</p>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22INTEGRATIONS.SAVE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.newItem\x22\x20ng-click=\x22vm.addNewItem()\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20ng-disabled=\x22deskAccountItemForm.$invalid\x20||\x20deskAccountItemForm.$pristine\x22\x20aria-label=\x22ADD\x22\x20translate=\x22INTEGRATIONS.ADD\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22INTEGRATIONS.ADD\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x0a','<script\x20type=\x22text/ng-template\x22\x20id=\x22/fields.html\x22>\x0a','\x20\x20\x20\x20<md-input-container\x20class=\x22md-block\x22\x20ng-if=\x22!vm.customField.options.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22INTEGRATIONS.TYPE\x22>Type</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22type\x22\x20ng-model=\x22vm.item.type\x22\x20required>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20value=\x22string\x22>String</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20value=\x22variable\x22>Variable</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20value=\x22customVariable\x22>Custom\x20Variable</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22deskAccountItemForm.type.$error\x22\x20ng-show=\x22deskAccountItemForm.type.$touched\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-message=\x22required\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22INTEGRATIONS.ERRORS.TYPE_REQUIRED\x22>Type\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20<!--/\x20type\x20-->\x0a','\x20\x20\x20\x20<!--\x20value\x20-->\x0a','\x20\x20\x20\x20<md-input-container\x20class=\x22md-block\x22\x20ng-if=\x22vm.item.type\x20==\x20\x27string\x27\x20&&\x20vm.customField.options.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20options\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22INTEGRATIONS.CONTENT\x22>Content</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22option\x22\x20ng-model=\x22vm.item.content\x22\x20required>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22option.value\x22\x20ng-repeat=\x22option\x20in\x20vm.customField.options\x22>{{option.name}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22deskAccountItemForm.option.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22deskAccountItemForm.option.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20</md-input-container>\x0a','\x20\x20\x20\x20<md-input-container\x20class=\x22md-block\x22\x20ng-if=\x22vm.item.type\x20==\x20\x27string\x27\x20&&\x20!vm.customField.options.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22content\x22\x20ng-model=\x22vm.item.content\x22\x20required\x20md-autofocus>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22deskAccountItemForm.content.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22deskAccountItemForm.content.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22variableName\x22\x20ng-model=\x22vm.item.variableName\x22\x20md-selected-text=\x22vm.getSelectedVariable()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-optgroup\x20label=\x22Voice:\x20Queue\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22agentColumn\x22\x20ng-repeat=\x22agentColumn\x20in\x20vm.voiceAgentReportColumns\x22>{{agentColumn}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-optgroup>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-optgroup\x20label=\x22Voice:\x20Outbound\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22dialColumn\x22\x20ng-repeat=\x22dialColumn\x20in\x20vm.voiceDialReportColumns\x22>{{dialColumn}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22deskAccountItemForm.variableName.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22deskAccountItemForm.variableName.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22INTEGRATIONS.ERRORS.VARIABLENAME_REQUIRED\x22>Variable\x20name\x20field\x20is\x0a','\x20\x20\x20\x20<md-input-container\x20class=\x22md-block\x22\x20ng-if=\x22vm.item.type\x20==\x20\x27customVariable\x27\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20ng-model=\x22vm.item.VariableId\x22\x20required>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22variable.id\x22\x20ng-repeat=\x22variable\x20in\x20vm.variables\x22>{{variable.name}}</md-option>\x0a','\x20\x20\x20\x20<!--/\x20value\x20-->\x0a','<script\x20type=\x22text/ng-template\x22\x20id=\x22/subject.html\x22>\x0a','\x20\x20\x20\x20<md-input-container\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20value=\x22variable\x22>Variable</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20value=\x22customVariable\x22>Custom\x20Variable</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22deskAccountItemForm.type.$error\x22\x20ng-show=\x22deskAccountItemForm.type.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a','\x20\x20</md-input-container>\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x20\x20<label\x20translate=\x22INTEGRATIONS.CONTENT\x22>Content</label>\x0a','\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22content\x22\x20ng-model=\x22vm.item.content\x22\x20required\x20md-autofocus>\x0a','\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22deskAccountItemForm.content.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22deskAccountItemForm.content.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20<md-input-container\x20class=\x22md-block\x22\x20ng-if=\x22vm.item.type\x20==\x20\x27variable\x27\x22>\x0a','\x20\x20\x20\x20\x20\x20<label\x20translate=\x22INTEGRATIONS.VALUE\x22>Value</label>\x0a','\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22variableName\x22\x20ng-model=\x22vm.item.variableName\x22\x20md-selected-text=\x22vm.getSelectedVariable()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22agentColumn\x22\x20ng-repeat=\x22agentColumn\x20in\x20vm.voiceAgentReportColumns\x22>{{agentColumn}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-optgroup>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-optgroup\x20label=\x22Voice:\x20Outbound\x22>\x0a','\x20\x20\x20\x20\x20\x20</md-select>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22deskAccountItemForm.variableName.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22INTEGRATIONS.ERRORS.VARIABLENAME_REQUIRED\x22>Variable\x20name\x20field\x20is\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required</span>\x0a','\x20\x20<md-input-container\x20class=\x22md-block\x22\x20ng-if=\x22vm.item.type\x20==\x20\x27customVariable\x27\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22variable.id\x22\x20ng-repeat=\x22variable\x20in\x20vm.variables\x22>{{variable.name}}</md-option>\x0a','\x20\x20</script>','<div\x20id=\x22integrations-deskAccount\x22\x20class=\x22page-layout\x20simple\x20tabbed\x22\x20layout=\x22column\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22goto-deskAccounts-button\x20md-icon-button\x22\x20aria-label=\x22Go\x20to\x20deskAccounts\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.gotoDeskAccounts()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22INTEGRATIONS.GO_TO_DESKACCOUNTS\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22deskAccount-image\x22\x20hide-xs>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.deskAccount.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22vm.deskAccount.name\x22>{{vm.deskAccount.name}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-click=\x22vm.saveDeskAccount()\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20ng-disabled=\x22(generalForm.$invalid)\x20||\x20(configurationsForm.$invalid)\x22\x20translate=\x22INTEGRATIONS.SAVE\x22\x20translate-attr-aria-label=\x22INTEGRATIONS.SAVE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22INTEGRATIONS.ACCOUNT\x22>ACCOUNT</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22deskAccount-detail-form-container\x20general\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27remoteUri\x27].$error\x22\x20ng-show=\x22generalForm[\x27remoteUri\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22INTEGRATIONS.ERRORS.URI_REQUIRED\x22>Uri\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27authType\x27].$error\x22\x20ng-show=\x22generalForm[\x27authType\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27username\x27].$error\x22\x20ng-show=\x22generalForm[\x27username\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27password\x27].$error\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22INTEGRATIONS.HELP.MOTIONPROXYADDRESS\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27serverUrl\x27].$error\x22\x20ng-show=\x22generalForm[\x27serverUrl\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22INTEGRATIONS.CONFIGURATIONS\x22>CONFIGURATIONS</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22deskAccount-detail-form-container\x20configurations\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','<div\x20ng-controller=\x22DeskAccountConfigurationsController\x20as\x20vm_cc\x22\x20ng-init=\x22vm_cc.init(vm.deskAccount,\x20vm.crudPermissions)\x22\x20layout=\x22row\x22>\x0a','\x20\x20<md-card\x20class=\x22md-whiteframe-1dp\x22\x20flex=\x2230\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22row\x22\x20layout-align=\x22center\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-subheader\x20flex=\x2275\x22\x20class=\x22md-no-sticky\x22>{{\x20\x27INTEGRATIONS.CONFIGURATIONS\x27\x20|\x20translate\x20}}</md-subheader>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22text-truncate\x22\x20flex=\x2280\x22>{{\x20deskConfiguration.name\x20}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-item\x20ng-if=\x22vm_cc.crudPermissions.canDelete\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm_cc.deleteDeskConfiguration($event,\x20deskConfiguration)\x22\x20translate=\x22INTEGRATIONS.DELETE_DESKCONFIGURATION\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20DeskConfiguration\x0a','\x20\x20\x20\x20<div\x20flex></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tab>\x0a','\x20\x20\x20\x20<md-tab-label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22INTEGRATIONS.SUBJECTS\x22>SUBJECTS</span>\x0a','\x20\x20\x20\x20<md-tab-body>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-default\x20no-padding\x22\x20ng-hide=\x22vm_cc.selectedSubjects.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<ms-search-bar\x20on-search=\x22vm_cc.query.subject\x20=\x20query\x22\x20on-collapse=\x22vm_cc.query.subject\x20=\x20undefined\x22\x20debounce=\x22300\x22></ms-search-bar>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22vm_cc.crudPermissions.canEdit\x22\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm_cc.createOrEditSubject($event)\x22\x20aria-label=\x22add\x20subject\x22\x20translate\x20translate-attr-label=\x22INTEGRATIONS.ADD_SUBJECT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22>{{vm_cc.selectedSubjects.length}}\x20{{vm_cc.selectedSubjects.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22vm_cc.crudPermissions.canDelete\x22\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm_cc.deleteSelectedSubjects($event)\x22\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22INTEGRATIONS.DELETE_SELECTED\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-table-container\x20class=\x22md-whiteframe-1dp\x20padding-horizontal\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<table\x20md-table\x20md-row-select\x20multiple\x20ng-model=\x22vm_cc.selectedSubjects\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x20\x27INTEGRATIONS.TYPE\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x20\x27INTEGRATIONS.CONTENT\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_cc.createOrEditSubject($event,\x20subject)\x22\x20md-cell\x20class=\x22id\x20\x22>{{subject.id}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-switch=\x22subject.type\x22\x20ng-click=\x22vm_cc.createOrEditSubject($event,\x20subject)\x22\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-switch-when=\x22string\x22>{{subject.content}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-switch-when=\x22variable\x22\x20class=\x22text-boxed\x22>{{subject.variableName}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-switch-when=\x22customVariable\x22\x20class=\x22text-boxed\x22>{{\x20vm_cc.variablesById[subject.VariableId].name\x20}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-switch-when=\x22keyValue\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{subject.key}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-switch=\x22description.keyType\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-switch-when=\x22variable\x22\x20class=\x22text-boxed\x22>{{subject.variableName}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-switch-when=\x22customVariable\x22\x20class=\x22text-boxed\x22>{{\x20vm_cc.variablesById[subject.VariableId].name\x20}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-switch-default>{{subject.content}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20class=\x22actions\x22\x20ng-if=\x22!vm_cc.crudPermissions.readOnly\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20aria-label=\x22More\x22\x20translate\x20translate-attr-aria-label=\x22INTEGRATIONS.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-dots-vertical\x22\x20></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-content\x20width=\x223\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-item\x20ng-if=\x22vm_cc.crudPermissions.canEdit\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm_cc.createOrEditSubject($event,\x20subject)\x22\x20translate=\x22INTEGRATIONS.EDIT_SUBJECT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-item\x20ng-if=\x22vm_cc.crudPermissions.canDelete\x22>\x0a','\x20\x20\x20\x20</md-tab-label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-default\x20no-padding\x22\x20ng-hide=\x22vm_cc.selectedDescriptions.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<ms-search-bar\x20on-search=\x22vm_cc.query.description\x20=\x20query\x22\x20on-collapse=\x22vm_cc.query.description\x20=\x20undefined\x22\x20debounce=\x22300\x22></ms-search-bar>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22vm_cc.crudPermissions.canEdit\x22\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm_cc.createOrEditDescription($event)\x22\x20aria-label=\x22add\x20description\x22\x20translate\x20translate-attr-label=\x22INTEGRATIONS.ADD_DESCRIPTION\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22>{{vm_cc.selectedDescriptions.length}}\x20{{vm_cc.selectedDescriptions.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22vm_cc.crudPermissions.canDelete\x22\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm_cc.deleteSelectedDescriptions($event)\x22\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22INTEGRATIONS.DELETE_SELECTED\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<table\x20md-table\x20md-row-select\x20multiple\x20ng-model=\x22vm_cc.selectedDescriptions\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x20\x27INTEGRATIONS.ID\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20width=\x2210px\x22></th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22description\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22description\x20in\x20vm_cc.descriptions\x20|\x20filter:\x20vm_cc.query.description\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_cc.createOrEditDescription($event,\x20description)\x22\x20md-cell\x20class=\x22id\x20\x22>{{description.id}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22description.FieldId\x22>{{description.nameField\x20||\x20description.idField}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-switch=\x22description.type\x22\x20ng-click=\x22vm_cc.createOrEditDescription($event,\x20description)\x22\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-switch-when=\x22variable\x22\x20class=\x22text-boxed\x22>{{description.variableName}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-switch-when=\x22customVariable\x22\x20class=\x22text-boxed\x22>{{\x20vm_cc.variablesById[description.VariableId].name\x20}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-switch-when=\x22string\x22>{{description.keyContent}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-switch-when=\x22variable\x22\x20class=\x22text-boxed\x22>{{description.variableName}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-switch-when=\x22customVariable\x22\x20class=\x22text-boxed\x22>{{\x20vm_cc.variablesById[description.VariableId].name\x20}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-switch-default>{{description.content}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm_cc.createOrEditDescription($event,\x20description)\x22\x20translate=\x22INTEGRATIONS.EDIT_DESCRIPTION\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Description\x0a','</md-tab>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tab>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22INTEGRATIONS.FIELDS\x22>FIELDS</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<ms-search-bar\x20on-search=\x22vm_cc.query.field\x20=\x20query\x22\x20on-collapse=\x22vm_cc.query.field\x20=\x20undefined\x22\x20debounce=\x22300\x22></ms-search-bar>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22vm_cc.crudPermissions.canEdit\x22\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm_cc.createOrEditField($event)\x22\x20aria-label=\x22add\x20field\x22\x20translate\x20translate-attr-label=\x22INTEGRATIONS.ADD_FIELD\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22>{{vm_cc.selectedFields.length}}\x20{{vm_cc.selectedFields.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22vm_cc.crudPermissions.canDelete\x22\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm_cc.deleteSelectedFields($event)\x22\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22INTEGRATIONS.DELETE_SELECTED\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<table\x20md-table\x20md-row-select\x20multiple\x20ng-model=\x22vm_cc.selectedFields\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22field\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22field\x20in\x20vm_cc.fields\x20|\x20filter:\x20vm_cc.query.field\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_cc.createOrEditField($event,\x20field)\x22\x20md-cell\x20class=\x22id\x20\x22>{{field.id}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_cc.createOrEditField($event,\x20field)\x22\x20md-cell\x20class=\x22type\x20\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22field.FieldId\x22>{{field.nameField\x20||\x20field.idField}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22!field.FieldId\x22>{{field.type}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-switch=\x22field.type\x22\x20ng-click=\x22vm_cc.createOrEditField($event,\x20field)\x22\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-switch-when=\x22variable\x22\x20class=\x22text-boxed\x22>{{field.variableName}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-switch-when=\x22customVariable\x22\x20class=\x22text-boxed\x22>{{\x20vm_cc.variablesById[field.VariableId].name\x20}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{field.key}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-switch-when=\x22string\x22>{{field.keyContent}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-switch-default>{{field.content}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm_cc.createOrEditField($event,\x20field)\x22\x20translate=\x22INTEGRATIONS.EDIT_FIELD\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Field\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tab-label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tab-body\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-table-container\x20class=\x22md-whiteframe-1dp\x20padding-20\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22INTEGRATIONS.TAGS\x22>Tags</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20ng-model=\x22vm_cc.selectedTags\x22\x20ng-change=\x22vm_cc.selectTagsChanged($event)\x22\x20multiple>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22tag.id\x22\x20ng-repeat=\x22tag\x20in\x20vm_cc.tags\x22>{{\x20tag.name\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-select>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-input-container>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-tab-body>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-tab>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-tabs>\x0a','\x20\x20\x20\x20\x20\x20<div\x20class=\x22padding-20\x22\x20ng-if=\x22!vm_cc.configurations.length\x20&&\x20vm_cc.crudPermissions.canEdit\x22\x20ng-click=\x22vm_cc.createOrEditDeskConfiguration($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-plus\x22></md-icon>\x0a','\x20\x20</md-card>\x0a','<md-dialog\x20class=\x22dynamics365Account-dialog\x22\x20aria-label=\x22New\x20Dynamics365Account\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22dynamics365AccountForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22name\x22\x20\x20ng-model=\x22vm.dynamics365Account.name\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22dynamics365AccountForm[\x27name\x27].$error\x22\x20ng-show=\x22dynamics365AccountForm[\x27name\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22dynamics365AccountForm[\x27username\x27].$error\x22\x20ng-show=\x22dynamics365AccountForm[\x27username\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20class=\x22md-block\x22\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22password\x22\x20name=\x22password\x22\x20ng-model=\x22vm.dynamics365Account.password\x22\x20placeholder=\x22Password\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22dynamics365AccountForm[\x27password\x27].$error\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22INTEGRATIONS.ERRORS.SECURE_PASSWORD_PATTERN\x22>Must\x20contain\x20at\x20least\x208\x20characters,\x20with\x20a\x20minimum\x20of\x201\x20lowercase\x20letter,\x201\x20uppercase\x20letter,\x201\x20numeric\x20character\x20and\x201\x20special\x20character\x20~!?*@#$%^&-_=+[{]}.</span>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22dynamics365AccountForm[\x27remoteUri\x27].$error\x22\x20ng-show=\x22dynamics365AccountForm[\x27remoteUri\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22tenantId\x22\x20\x20ng-model=\x22vm.dynamics365Account.tenantId\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22dynamics365AccountForm[\x27tenantId\x27].$error\x22\x20ng-show=\x22dynamics365AccountForm[\x27tenantId\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22clientId\x22\x20\x20ng-model=\x22vm.dynamics365Account.clientId\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22dynamics365AccountForm[\x27clientId\x27].$error\x22\x20ng-show=\x22dynamics365AccountForm[\x27clientId\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22INTEGRATIONS.ERRORS.CLIENTID_REQUIRED\x22>ClientId\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22clientSecret\x22\x20\x20ng-model=\x22vm.dynamics365Account.clientSecret\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22dynamics365AccountForm[\x27clientSecret\x27].$error\x22\x20ng-show=\x22dynamics365AccountForm[\x27clientSecret\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22INTEGRATIONS.ERRORS.CLIENTSECRET_REQUIRED\x22>ClientSecret\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22url\x22\x20name=\x22serverUrl\x22\x20\x20ng-model=\x22vm.dynamics365Account.serverUrl\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22dynamics365AccountForm[\x27serverUrl\x27].$error\x22\x20ng-show=\x22dynamics365AccountForm[\x27serverUrl\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22INTEGRATIONS.ERRORS.MOTIONPROXYADDRESS_REQUIRED\x22>MotionProxyAddress\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22description\x22\x20\x20ng-model=\x22vm.dynamics365Account.description\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22dynamics365AccountForm[\x27description\x27].$error\x22\x20ng-show=\x22dynamics365AccountForm[\x27description\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20!vm.newDynamics365Account\x22\x20ng-click=\x22vm.saveDynamics365Account()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22dynamics365AccountForm.$invalid\x20||\x20dynamics365AccountForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22dynamics365AccountForm.$invalid\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20DYNAMICS365ACCOUNT\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x20&&\x20!vm.newDynamics365Account\x22\x20ng-click=\x22vm.deleteDynamics365Account($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x0a','<div\x20id=\x22dynamics365Accounts\x22\x20class=\x22page-layout\x20simple\x20left-sidenav\x20inner-sidenav\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22close-button-wrapper\x22\x20ng-click=\x22vm.selectedDynamics365Accounts\x20=[]\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>{{vm.selectedDynamics365Accounts.length}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.selectAllDynamics365Accounts()\x22\x20translate=\x22INTEGRATIONS.SELECT_ALL\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deselectDynamics365Accounts()\x22\x20translate=\x22INTEGRATIONS.SELECT_NONE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-icon-button\x22\x20ng-csv=\x22vm.exportSelectedDynamics365Accounts\x22\x20csv-label=\x22true\x22\x20filename=\x22dynamics365Accounts.csv\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x22\x20ng-click=\x22vm.deleteSelectedDynamics365Accounts($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20DYNAMICS365ACCOUNT\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<table\x20md-table\x20\x20md-row-select\x20multiple\x20\x20\x20ng-model=\x22vm.selectedDynamics365Accounts\x22\x20md-progress=\x22vm.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm.dynamics365Accounts.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22dynamics365Account.userpic\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{dynamics365Account.name}}\x22\x20ng-src=\x22api/users/{{dynamics365Account.id}}/avatar\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22!dynamics365Account.userpic\x20&&\x20(vm.table\x20==\x20\x27users\x27\x20||\x20vm.table\x20==\x20\x27agents\x27)\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{dynamics365Account.name}}\x22\x20ng-src=\x22assets/images/avatars/profile.png\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(dynamics365Account,\x20ev)\x20:\x20vm.createOrEditDynamics365Account($event,\x20dynamics365Account)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22id\x20\x22\x20>{{dynamics365Account.id}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22username\x20\x22\x20>{{dynamics365Account.username}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(dynamics365Account,\x20ev)\x20:\x20vm.createOrEditDynamics365Account($event,\x20dynamics365Account)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.editstate(dynamics365Account,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22INTEGRATIONS.EDIT_DYNAMICS365ACCOUNT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Dynamics365Account\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.testtestintegrationaccount(dynamics365Account,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Test\x20Dynamics365Account\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-item\x20\x20ng-if=\x22vm.currentUser.crudPermissions\x20===\x200\x20||\x20vm.currentUser.role\x20===\x20\x27admin\x27\x22\x20\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deleteconfirm(dynamics365Account,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22INTEGRATIONS.DELETE_DYNAMICS365ACCOUNT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27INTEGRATIONS.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27INTEGRATIONS.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27INTEGRATIONS.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm.query.page\x22\x20md-total=\x22{{vm.dynamics365Accounts.count}}\x22\x20md-on-paginate=\x22vm.getDynamics365Accounts\x22\x20md-page-select></md-table-pagination>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20DYNAMICS365ACCOUNT\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20ADD\x20DYNAMICS365ACCOUNT\x20BUTTON\x20-->\x0a','\x20\x20\x20\x20<md-button\x20ng-if=\x22vm.crudPermissions.canEdit\x22\x20class=\x22md-fab\x20md-accent\x22\x20id=\x22add-dynamics365Account-button\x22\x20ng-click=\x22vm.createOrEditDynamics365Account($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20dynamics365Account\x22\x20translate\x20translate-attr-aria-label=\x22INTEGRATIONS.ADD_DYNAMICS365ACCOUNT\x22>\x0a','\x20\x20\x20\x20<!--\x20/\x20ADD\x20DYNAMICS365ACCOUNT\x20BUTTON\x20-->\x0a','\x20\x20\x20\x20<form\x20name=\x22dynamics365ConfigurationForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22\x22\x20name=\x22name\x22\x20\x20ng-model=\x22vm.dynamics365Configuration.name\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22dynamics365ConfigurationForm[\x27name\x27].$error\x22\x20ng-show=\x22dynamics365ConfigurationForm[\x27name\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22channel\x22\x20ng-model=\x22vm.dynamics365Configuration.channel\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27INTEGRATIONS.VOICE\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22type\x22\x20ng-model=\x22vm.dynamics365Configuration.type\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27INTEGRATIONS.INBOUND_IN_QUEUE\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22dynamics365ConfigurationForm[\x27type\x27].$error\x22\x20ng-show=\x22dynamics365ConfigurationForm[\x27type\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22INTEGRATIONS.TICKETTYPE\x22>TicketType</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22ticketType\x22\x20ng-model=\x22vm.dynamics365Configuration.ticketType\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27incident\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27INTEGRATIONS.CASE\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22INTEGRATIONS.ERRORS.TICKETTYPE_REQUIRED\x22>TicketType\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20!vm.newDynamics365Configuration\x22\x20ng-click=\x22vm.saveDynamics365Configuration()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22dynamics365ConfigurationForm.$invalid\x20||\x20dynamics365ConfigurationForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20DYNAMICS365CONFIGURATION\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x20&&\x20!vm.newDynamics365Configuration\x22\x20ng-click=\x22vm.deleteDynamics365Configuration($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x0a','<md-dialog\x20class=\x22dynamics365Account-item-dialog\x22\x20aria-label=\x22New\x20Item\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22dynamics365AccountItemForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-include=\x22\x27/subject.html\x27\x22></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22dynamics365AccountItemForm.type.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22dynamics365AccountItemForm.type.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22content\x22\x20ng-model=\x22vm.item.content\x22\x20required\x20md-autofocus>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22dynamics365AccountItemForm.content.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22vm.item.type\x20==\x20\x27keyValue\x27\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22dynamics365AccountItemForm.key.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22dynamics365AccountItemForm.keyType.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22dynamics365AccountItemForm.keyType.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20class=\x22md-block\x22\x20ng-if=\x22vm.item.keyType\x20==\x20\x27string\x27\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22dynamics365AccountItemForm.keyContent.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22dynamics365AccountItemForm.keyContent.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20class=\x22md-block\x22\x20ng-if=\x22vm.item.keyType\x20==\x20\x27variable\x27\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-repeat=\x22agentColumn\x20in\x20vm.voiceAgentReportColumns\x22>{{agentColumn}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22dialColumn\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20name\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-repeat=\x22standard\x20in\x20vm.fields\x20|\x20filter:\x20{custom:\x20false}\x20\x22>{{standard.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-optgroup\x20label=\x22Custom\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22dynamics365AccountItemForm.customField.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22dynamics365AccountItemForm.customField.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22vm.customField\x22\x20ng-include=\x22\x27/fields.html\x27\x22></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20!vm.newItem\x22\x20ng-click=\x22vm.saveItem()\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20ng-disabled=\x22dynamics365AccountItemForm.$invalid\x20||\x20dynamics365AccountItemForm.$pristine\x22\x20aria-label=\x22SAVE\x22\x20translate=\x22INTEGRATIONS.SAVE\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.newItem\x22\x20ng-click=\x22vm.addNewItem()\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20ng-disabled=\x22dynamics365AccountItemForm.$invalid\x20||\x20dynamics365AccountItemForm.$pristine\x22\x20aria-label=\x22ADD\x22\x20translate=\x22INTEGRATIONS.ADD\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x20&&\x20!vm.newItem\x22\x20ng-click=\x22vm.deleteItem($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x20translate-attr-aria-label=\x22INTEGRATIONS.DELETE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22dynamics365AccountItemForm.option.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22dynamics365AccountItemForm.option.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22INTEGRATIONS.ERRORS.VALUE_REQUIRED\x22>Value\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22dynamics365AccountItemForm.content.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22INTEGRATIONS.ERRORS.CONTENT_REQUIRED\x22>Content\x20field\x20is\x0a','\x20\x20\x20\x20<md-input-container\x20class=\x22md-block\x22\x20ng-if=\x22vm.item.type\x20==\x20\x27variable\x27\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22INTEGRATIONS.VALUE\x22>Value</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22dynamics365AccountItemForm.variableName.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20value=\x22string\x22>String</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22dynamics365AccountItemForm.type.$error\x22\x20ng-show=\x22dynamics365AccountItemForm.type.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20<md-input-container\x20class=\x22md-block\x22\x20ng-if=\x22vm.item.type\x20==\x20\x27string\x27\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-option>\x0a','\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22dynamics365AccountItemForm.variableName.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22dynamics365AccountItemForm.variableName.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20<md-select\x20ng-model=\x22vm.item.VariableId\x22\x20required>\x0a','<div\x20id=\x22integrations-dynamics365Account\x22\x20class=\x22page-layout\x20simple\x20tabbed\x22\x20layout=\x22column\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22goto-dynamics365Accounts-button\x20md-icon-button\x22\x20aria-label=\x22Go\x20to\x20dynamics365Accounts\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22INTEGRATIONS.GO_TO_DYNAMICS365ACCOUNTS\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22dynamics365Account-image\x22\x20hide-xs>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<img\x20ng-src=\x22assets/images/business/dynamics365Accounts.jpg\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22vm.dynamics365Account.name\x22>{{vm.dynamics365Account.name}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22INTEGRATIONS.CREATED_AT\x22></span>\x20<span>{{vm.dynamics365Account.createdAt\x20|\x20date:\x27medium\x27}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-click=\x22vm.saveDynamics365Account()\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20ng-disabled=\x22(generalForm.$invalid)\x20||\x20(configurationsForm.$invalid)\x22\x20translate=\x22INTEGRATIONS.SAVE\x22\x20translate-attr-aria-label=\x22INTEGRATIONS.SAVE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22dynamics365Account-detail-form-container\x20general\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22username\x22\x20\x20ng-model=\x22vm.dynamics365Account.username\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22url\x22\x20name=\x22remoteUri\x22\x20\x20ng-model=\x22vm.dynamics365Account.remoteUri\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22INTEGRATIONS.TENANTID\x22>TenantId</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27tenantId\x27].$error\x22\x20ng-show=\x22generalForm[\x27tenantId\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22INTEGRATIONS.ERRORS.TENANTID_REQUIRED\x22>TenantId\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22INTEGRATIONS.CLIENTID\x22>ClientId</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27clientId\x27].$error\x22\x20ng-show=\x22generalForm[\x27clientId\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22INTEGRATIONS.CLIENTSECRET\x22>ClientSecret</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27clientSecret\x27].$error\x22\x20ng-show=\x22generalForm[\x27clientSecret\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22INTEGRATIONS.CONFIGURATIONS\x22>CONFIGURATIONS</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20flex=\x2225\x22\x20ng-if=\x22vm_cc.crudPermissions.canEdit\x22\x20ng-click=\x22vm_cc.createOrEditDynamics365Configuration($event)\x22\x20class=\x22md-icon-button\x22\x20aria-label=\x22create\x20dynamics365Configuration\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-list-item\x20layout=\x22row\x22\x20layout-align=\x22center\x20center\x22\x20ng-repeat=\x22dynamics365Configuration\x20in\x20vm_cc.configurations\x22\x20class=\x22border-top\x22\x20md-colors=\x22{background:\x20(vm_cc.selectedDynamics365Configuration\x20==\x20$index\x20?\x20\x27accent\x27\x20:\x20\x27grey-A100\x27)}\x22\x20ng-click=\x22vm_cc.getDynamics365Configuration($index)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22text-truncate\x22\x20flex=\x2280\x22>{{\x20dynamics365Configuration.name\x20}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu\x20ng-if=\x22vm_cc.crudPermissions.canDelete\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22INTEGRATIONS.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm_cc.deleteDynamics365Configuration($event,\x20dynamics365Configuration)\x22\x20translate=\x22INTEGRATIONS.DELETE_DYNAMICS365CONFIGURATION\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Dynamics365Configuration\x0a','\x20\x20\x20\x20<md-card\x20class=\x22md-whiteframe-1dp\x22\x20flex=\x2265\x22>\x0a','\x20\x20\x20\x20\x20\x20<md-tabs\x20ng-if=\x22vm_cc.configurations.length\x22\x20md-dynamic-height>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-accent\x22\x20ng-show=\x22vm_cc.selectedSubjects.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22subject\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22subject\x20in\x20vm_cc.subjects\x20|\x20filter:\x20vm_cc.query.subject\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_cc.createOrEditSubject($event,\x20subject)\x22\x20md-cell\x20class=\x22type\x20\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22subject.FieldId\x22>{{subject.nameField\x20||\x20subject.idField}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22!subject.FieldId\x22>{{subject.type}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-switch-when=\x22string\x22>{{subject.keyContent}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Subject\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm_cc.deleteSubjectConfirm($event,\x20subject)\x22\x20translate=\x22INTEGRATIONS.DELETE_SUBJECT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Subject\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22INTEGRATIONS.DESCRIPTIONS\x22>DESCRIPTIONS</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-accent\x22\x20ng-show=\x22vm_cc.selectedDescriptions.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_cc.createOrEditDescription($event,\x20description)\x22\x20md-cell\x20class=\x22type\x20\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22!description.FieldId\x22>{{description.type}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-switch-when=\x22string\x22>{{description.content}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{description.key}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm_cc.deleteDescriptionConfirm($event,\x20description)\x22\x20translate=\x22INTEGRATIONS.DELETE_DESCRIPTION\x22>\x0a','\x20\x20\x20\x20</md-tab-body>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-default\x20no-padding\x22\x20ng-hide=\x22vm_cc.selectedFields.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-accent\x22\x20ng-show=\x22vm_cc.selectedFields.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-switch-when=\x22string\x22>{{field.content}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-switch-when=\x22customVariable\x22\x20class=\x22text-boxed\x22>{{\x20vm_cc.variablesById[field.VariableId].name\x20}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm_cc.deleteFieldConfirm($event,\x20field)\x22\x20translate=\x22INTEGRATIONS.DELETE_FIELD\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Field\x0a','\x20\x20\x20\x20\x20\x20<div\x20class=\x22padding-20\x22\x20ng-if=\x22!vm_cc.configurations.length\x20&&\x20vm_cc.crudPermissions.canEdit\x22\x20ng-click=\x22vm_cc.createOrEditDynamics365Configuration($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20layout=\x22row\x22\x20layout-sm=\x22column\x22\x20layout-align=\x22center\x20center\x22\x20layout-wrap>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22padding-20\x20md-whiteframe-3dp\x20md-accent-bg\x22\x20layout=\x22column\x22\x20layout-align=\x22center\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20aria-label=\x22add\x20configuration\x22\x20translate\x20translate-attr-label=\x22INTEGRATIONS.ADD_CONFIGURATION\x22>ADD\x20CONFIGURATION</span>\x0a','app/main/apps/integrations/views/freshdeskAccounts/create/dialog.html','\x20\x20\x20\x20<form\x20name=\x22freshdeskAccountForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22username\x22\x20\x20ng-model=\x22vm.freshdeskAccount.username\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22freshdeskAccountForm[\x27username\x27].$error\x22\x20ng-show=\x22freshdeskAccountForm[\x27username\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22url\x22\x20name=\x22remoteUri\x22\x20\x20ng-model=\x22vm.freshdeskAccount.remoteUri\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22freshdeskAccountForm[\x27remoteUri\x27].$error\x22\x20ng-show=\x22freshdeskAccountForm[\x27remoteUri\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22apiKey\x22\x20\x20ng-model=\x22vm.freshdeskAccount.apiKey\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22freshdeskAccountForm[\x27apiKey\x27].$error\x22\x20ng-show=\x22freshdeskAccountForm[\x27apiKey\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22INTEGRATIONS.ERRORS.APIKEY_REQUIRED\x22>ApiKey\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22url\x22\x20name=\x22serverUrl\x22\x20\x20ng-model=\x22vm.freshdeskAccount.serverUrl\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22freshdeskAccountForm[\x27serverUrl\x27].$error\x22\x20ng-show=\x22freshdeskAccountForm[\x27serverUrl\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22freshdeskAccountForm[\x27description\x27].$error\x22\x20ng-show=\x22freshdeskAccountForm[\x27description\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20!vm.newFreshdeskAccount\x22\x20ng-click=\x22vm.saveFreshdeskAccount()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22freshdeskAccountForm.$invalid\x20||\x20freshdeskAccountForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22freshdeskAccountForm.$invalid\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20FRESHDESKACCOUNT\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x20&&\x20!vm.newFreshdeskAccount\x22\x20ng-click=\x22vm.deleteFreshdeskAccount($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x0a','app/main/apps/integrations/views/freshdeskAccounts/edit/configurations/dialog.html','<md-dialog\x20class=\x22freshdeskConfiguration-dialog\x22\x20aria-label=\x22New\x20FreshdeskConfiguration\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22freshdeskConfigurationForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22freshdeskConfigurationForm[\x27name\x27].$error\x22\x20ng-show=\x22freshdeskConfigurationForm[\x27name\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22channel\x22\x20ng-model=\x22vm.freshdeskConfiguration.channel\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22freshdeskConfigurationForm[\x27channel\x27].$error\x22\x20ng-show=\x22freshdeskConfigurationForm[\x27channel\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22freshdeskConfigurationForm[\x27type\x27].$error\x22\x20ng-show=\x22freshdeskConfigurationForm[\x27type\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20!vm.newFreshdeskConfiguration\x22\x20ng-click=\x22vm.saveFreshdeskConfiguration()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22freshdeskConfigurationForm.$invalid\x20||\x20freshdeskConfigurationForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.newFreshdeskConfiguration\x22\x20ng-click=\x22vm.addNewFreshdeskConfiguration()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22freshdeskConfigurationForm.$invalid\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22INTEGRATIONS.ADD_FRESHDESKCONFIGURATION\x22\x20translate-attr-aria-label=\x22INTEGRATIONS.ADD_FRESHDESKCONFIGURATION\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20FRESHDESKCONFIGURATION\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x20&&\x20!vm.newFreshdeskConfiguration\x22\x20ng-click=\x22vm.deleteFreshdeskConfiguration($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x0a','<md-dialog\x20class=\x22freshdeskAccount-item-dialog\x22\x20aria-label=\x22New\x20Item\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-switch-when=\x22subject\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20SUBJECT\x20SECTION\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22freshdeskAccountItemForm.type.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22freshdeskAccountItemForm.content.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22freshdeskAccountItemForm.key.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22keyType\x22\x20ng-model=\x22vm.item.keyType\x22\x20required>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22freshdeskAccountItemForm.keyType.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22freshdeskAccountItemForm.keyType.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22freshdeskAccountItemForm.keyContent.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22freshdeskAccountItemForm.keyContent.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22freshdeskAccountItemForm.variableName.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22freshdeskAccountItemForm.variableName.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22freshdeskAccountItemForm.customField.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20!vm.newItem\x22\x20ng-click=\x22vm.saveItem()\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20ng-disabled=\x22freshdeskAccountItemForm.$invalid\x20||\x20freshdeskAccountItemForm.$pristine\x22\x20aria-label=\x22SAVE\x22\x20translate=\x22INTEGRATIONS.SAVE\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.newItem\x22\x20ng-click=\x22vm.addNewItem()\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20ng-disabled=\x22freshdeskAccountItemForm.$invalid\x20||\x20freshdeskAccountItemForm.$pristine\x22\x20aria-label=\x22ADD\x22\x20translate=\x22INTEGRATIONS.ADD\x22\x0a','\x20\x20\x20\x20<!--\x20type\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22freshdeskAccountItemForm.type.$error\x22\x20ng-show=\x22freshdeskAccountItemForm.type.$touched\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22freshdeskAccountItemForm.option.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22freshdeskAccountItemForm.content.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22freshdeskAccountItemForm.variableName.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22freshdeskAccountItemForm.variableName.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22freshdeskAccountItemForm.content.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22freshdeskAccountItemForm.content.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22INTEGRATIONS.ERRORS.CONTENT_REQUIRED\x22>Content\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-optgroup\x20label=\x22Voice:\x20Queue\x22>\x0a','\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22freshdeskAccountItemForm.variableName.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22freshdeskAccountItemForm.variableName.$touched\x22\x20role=\x22alert\x22>\x0a','<div\x20id=\x22integrations-freshdeskAccount\x22\x20class=\x22page-layout\x20simple\x20tabbed\x22\x20layout=\x22column\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22goto-freshdeskAccounts-button\x20md-icon-button\x22\x20aria-label=\x22Go\x20to\x20freshdeskAccounts\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.gotoFreshdeskAccounts()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22freshdeskAccount-image\x22\x20hide-xs>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22INTEGRATIONS.CREATED_AT\x22></span>\x20<span>{{vm.freshdeskAccount.createdAt\x20|\x20date:\x27medium\x27}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-click=\x22vm.saveFreshdeskAccount()\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20ng-disabled=\x22(generalForm.$invalid)\x20||\x20(configurationsForm.$invalid)\x22\x20translate=\x22INTEGRATIONS.SAVE\x22\x20translate-attr-aria-label=\x22INTEGRATIONS.SAVE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22freshdeskAccount-detail-form-container\x20general\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22INTEGRATIONS.GENERAL\x22>GENERAL</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22name\x22\x20\x20ng-model=\x22vm.freshdeskAccount.name\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22INTEGRATIONS.APIKEY\x22>ApiKey</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27apiKey\x27].$error\x22\x20ng-show=\x22generalForm[\x27apiKey\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22description\x22\x20\x20ng-model=\x22vm.freshdeskAccount.description\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22freshdeskAccount-detail-form-container\x20configurations\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20flex=\x2225\x22\x20ng-if=\x22vm_cc.crudPermissions.canEdit\x22\x20ng-click=\x22vm_cc.createOrEditFreshdeskConfiguration($event)\x22\x20class=\x22md-icon-button\x22\x20aria-label=\x22create\x20freshdeskConfiguration\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-list-item\x20layout=\x22row\x22\x20layout-align=\x22center\x20center\x22\x20ng-repeat=\x22freshdeskConfiguration\x20in\x20vm_cc.configurations\x22\x20class=\x22border-top\x22\x20md-colors=\x22{background:\x20(vm_cc.selectedFreshdeskConfiguration\x20==\x20$index\x20?\x20\x27accent\x27\x20:\x20\x27grey-A100\x27)}\x22\x20ng-click=\x22vm_cc.getFreshdeskConfiguration($index)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm_cc.deleteFreshdeskConfiguration($event,\x20freshdeskConfiguration)\x22\x20translate=\x22INTEGRATIONS.DELETE_FRESHDESKCONFIGURATION\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20FreshdeskConfiguration\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Description\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-switch-when=\x22variable\x22\x20class=\x22text-boxed\x22>{{field.variableName}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22INTEGRATIONS.TAGS\x22>TAGS</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-tab-label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-table-container>\x0a','\x20\x20\x20\x20\x20\x20<div\x20class=\x22padding-20\x22\x20ng-if=\x22!vm_cc.configurations.length\x20&&\x20vm_cc.crudPermissions.canEdit\x22\x20ng-click=\x22vm_cc.createOrEditFreshdeskConfiguration($event)\x22\x0a','app/main/apps/integrations/views/freshdeskAccounts/freshdeskAccounts.html','\x20\x20\x20\x20<div\x20ng-show=\x22vm.selectedFreshdeskAccounts.length\x20>\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22close-button-wrapper\x22\x20ng-click=\x22vm.selectedFreshdeskAccounts\x20=[]\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22selected-freshdeskAccounts-count\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>{{vm.selectedFreshdeskAccounts.length}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deselectFreshdeskAccounts()\x22\x20translate=\x22INTEGRATIONS.SELECT_NONE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-icon-button\x22\x20ng-csv=\x22vm.exportSelectedFreshdeskAccounts\x22\x20csv-label=\x22true\x22\x20filename=\x22freshdeskAccounts.csv\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x22\x20ng-click=\x22vm.deleteSelectedFreshdeskAccounts($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20FRESHDESKACCOUNT\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<table\x20md-table\x20\x20md-row-select\x20multiple\x20\x20\x20ng-model=\x22vm.selectedFreshdeskAccounts\x22\x20md-progress=\x22vm.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm.freshdeskAccounts.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22freshdeskAccount\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22freshdeskAccount\x20in\x20vm.freshdeskAccounts.rows\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22freshdeskAccount.userpic\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{freshdeskAccount.name}}\x22\x20ng-src=\x22api/users/{{freshdeskAccount.id}}/avatar\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22!freshdeskAccount.userpic\x20&&\x20(vm.table\x20==\x20\x27users\x27\x20||\x20vm.table\x20==\x20\x27agents\x27)\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{freshdeskAccount.name}}\x22\x20ng-src=\x22assets/images/avatars/profile.png\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(freshdeskAccount,\x20ev)\x20:\x20vm.createOrEditFreshdeskAccount($event,\x20freshdeskAccount)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22id\x20\x22\x20>{{freshdeskAccount.id}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(freshdeskAccount,\x20ev)\x20:\x20vm.createOrEditFreshdeskAccount($event,\x20freshdeskAccount)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22name\x20\x22\x20>{{freshdeskAccount.name}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22remoteUri\x20\x22\x20>{{freshdeskAccount.remoteUri}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.editstate(freshdeskAccount,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22INTEGRATIONS.EDIT_FRESHDESKACCOUNT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20FreshdeskAccount\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22INTEGRATIONS.TEST_FRESHDESKACCOUNT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Test\x20FreshdeskAccount\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deleteconfirm(freshdeskAccount,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20FreshdeskAccount\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20FRESHDESKACCOUNT\x20TABLE\x20-->\x0a','\x20\x20\x20\x20<!--\x20/\x20ADD\x20FRESHDESKACCOUNT\x20BUTTON\x20-->\x0a','<md-dialog\x20class=\x22freshsalesAccount-dialog\x22\x20aria-label=\x22New\x20FreshsalesAccount\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22freshsalesAccountForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22name\x22\x20\x20ng-model=\x22vm.freshsalesAccount.name\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22freshsalesAccountForm[\x27name\x27].$error\x22\x20ng-show=\x22freshsalesAccountForm[\x27name\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22username\x22\x20\x20ng-model=\x22vm.freshsalesAccount.username\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22freshsalesAccountForm[\x27username\x27].$error\x22\x20ng-show=\x22freshsalesAccountForm[\x27username\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22url\x22\x20name=\x22remoteUri\x22\x20\x20ng-model=\x22vm.freshsalesAccount.remoteUri\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22freshsalesAccountForm[\x27remoteUri\x27].$error\x22\x20ng-show=\x22freshsalesAccountForm[\x27remoteUri\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22apiKey\x22\x20\x20ng-model=\x22vm.freshsalesAccount.apiKey\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22freshsalesAccountForm[\x27apiKey\x27].$error\x22\x20ng-show=\x22freshsalesAccountForm[\x27apiKey\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22url\x22\x20name=\x22serverUrl\x22\x20\x20ng-model=\x22vm.freshsalesAccount.serverUrl\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22freshsalesAccountForm[\x27serverUrl\x27].$error\x22\x20ng-show=\x22freshsalesAccountForm[\x27serverUrl\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22description\x22\x20\x20ng-model=\x22vm.freshsalesAccount.description\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22freshsalesAccountForm[\x27description\x27].$error\x22\x20ng-show=\x22freshsalesAccountForm[\x27description\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20!vm.newFreshsalesAccount\x22\x20ng-click=\x22vm.saveFreshsalesAccount()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22freshsalesAccountForm.$invalid\x20||\x20freshsalesAccountForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.newFreshsalesAccount\x22\x20ng-click=\x22vm.addNewFreshsalesAccount()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22freshsalesAccountForm.$invalid\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22INTEGRATIONS.ADD_FRESHSALESACCOUNT\x22\x20translate-attr-aria-label=\x22INTEGRATIONS.ADD_FRESHSALESACCOUNT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x20&&\x20!vm.newFreshsalesAccount\x22\x20ng-click=\x22vm.deleteFreshsalesAccount($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x0a','app/main/apps/integrations/views/freshsalesAccounts/edit/configurations/dialog.html','<md-dialog\x20class=\x22freshsalesConfiguration-dialog\x22\x20aria-label=\x22New\x20FreshsalesConfiguration\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22\x22\x20name=\x22name\x22\x20\x20ng-model=\x22vm.freshsalesConfiguration.name\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22freshsalesConfigurationForm[\x27name\x27].$error\x22\x20ng-show=\x22freshsalesConfigurationForm[\x27name\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22channel\x22\x20ng-model=\x22vm.freshsalesConfiguration.channel\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22freshsalesConfigurationForm[\x27channel\x27].$error\x22\x20ng-show=\x22freshsalesConfigurationForm[\x27channel\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22type\x22\x20ng-model=\x22vm.freshsalesConfiguration.type\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22freshsalesConfigurationForm[\x27type\x27].$error\x22\x20ng-show=\x22freshsalesConfigurationForm[\x27type\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22freshsalesConfigurationForm.$invalid\x20||\x20freshsalesConfigurationForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.newFreshsalesConfiguration\x22\x20ng-click=\x22vm.addNewFreshsalesConfiguration()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22freshsalesConfigurationForm.$invalid\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22INTEGRATIONS.ADD_FRESHSALESCONFIGURATION\x22\x20translate-attr-aria-label=\x22INTEGRATIONS.ADD_FRESHSALESCONFIGURATION\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20FRESHSALESCONFIGURATION\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x20&&\x20!vm.newFreshsalesConfiguration\x22\x20ng-click=\x22vm.deleteFreshsalesConfiguration($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x0a','<md-dialog\x20class=\x22freshsalesAccount-item-dialog\x22\x20aria-label=\x22New\x20Item\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22freshsalesAccountItemForm.type.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22freshsalesAccountItemForm.content.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22freshsalesAccountItemForm.content.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22freshsalesAccountItemForm.key.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22freshsalesAccountItemForm.keyType.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22freshsalesAccountItemForm.variableName.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20ng-model=\x22vm.item.VariableId\x22\x20required>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22freshsalesAccountItemForm.customField.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22freshsalesAccountItemForm.customField.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20!vm.newItem\x22\x20ng-click=\x22vm.saveItem()\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20ng-disabled=\x22freshsalesAccountItemForm.$invalid\x20||\x20freshsalesAccountItemForm.$pristine\x22\x20aria-label=\x22SAVE\x22\x20translate=\x22INTEGRATIONS.SAVE\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.newItem\x22\x20ng-click=\x22vm.addNewItem()\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20ng-disabled=\x22freshsalesAccountItemForm.$invalid\x20||\x20freshsalesAccountItemForm.$pristine\x22\x20aria-label=\x22ADD\x22\x20translate=\x22INTEGRATIONS.ADD\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22freshsalesAccountItemForm.option.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22freshsalesAccountItemForm.option.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22freshsalesAccountItemForm.content.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22freshsalesAccountItemForm.content.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22freshsalesAccountItemForm.variableName.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22freshsalesAccountItemForm.variableName.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22type\x22\x20ng-model=\x22vm.item.type\x22\x20required>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22freshsalesAccountItemForm.type.$error\x22\x20ng-show=\x22freshsalesAccountItemForm.type.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22freshsalesAccountItemForm.content.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22freshsalesAccountItemForm.variableName.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22freshsalesAccountItemForm.variableName.$touched\x22\x20role=\x22alert\x22>\x0a','<div\x20id=\x22integrations-freshsalesAccount\x22\x20class=\x22page-layout\x20simple\x20tabbed\x22\x20layout=\x22column\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22goto-freshsalesAccounts-button\x20md-icon-button\x22\x20aria-label=\x22Go\x20to\x20freshsalesAccounts\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.gotoFreshsalesAccounts()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22INTEGRATIONS.GO_TO_FRESHSALESACCOUNTS\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22freshsalesAccount-image\x22\x20hide-xs>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<img\x20ng-src=\x22assets/images/business/freshsalesAccounts.jpg\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.freshsalesAccount.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22vm.freshsalesAccount.name\x22>{{vm.freshsalesAccount.name}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22INTEGRATIONS.CREATED_AT\x22></span>\x20<span>{{vm.freshsalesAccount.createdAt\x20|\x20date:\x27medium\x27}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-click=\x22vm.saveFreshsalesAccount()\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20ng-disabled=\x22(generalForm.$invalid)\x20||\x20(configurationsForm.$invalid)\x22\x20translate=\x22INTEGRATIONS.SAVE\x22\x20translate-attr-aria-label=\x22INTEGRATIONS.SAVE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22freshsalesAccount-detail-form-container\x20general\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22freshsalesAccount-detail-form-container\x20configurations\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','<div\x20ng-controller=\x22FreshsalesAccountConfigurationsController\x20as\x20vm_cc\x22\x20ng-init=\x22vm_cc.init(vm.freshsalesAccount,\x20vm.crudPermissions)\x22\x20layout=\x22row\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20flex=\x2225\x22\x20ng-if=\x22vm_cc.crudPermissions.canEdit\x22\x20ng-click=\x22vm_cc.createOrEditFreshsalesConfiguration($event)\x22\x20class=\x22md-icon-button\x22\x20aria-label=\x22create\x20freshsalesConfiguration\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-list-item\x20layout=\x22row\x22\x20layout-align=\x22center\x20center\x22\x20ng-repeat=\x22freshsalesConfiguration\x20in\x20vm_cc.configurations\x22\x20class=\x22border-top\x22\x20md-colors=\x22{background:\x20(vm_cc.selectedFreshsalesConfiguration\x20==\x20$index\x20?\x20\x27accent\x27\x20:\x20\x27grey-A100\x27)}\x22\x20ng-click=\x22vm_cc.getFreshsalesConfiguration($index)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22text-truncate\x22\x20flex=\x2280\x22>{{\x20freshsalesConfiguration.name\x20}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20FreshsalesConfiguration\x0a','\x20\x20\x20\x20\x20\x20<div\x20class=\x22padding-20\x22\x20ng-if=\x22!vm_cc.configurations.length\x20&&\x20vm_cc.crudPermissions.canEdit\x22\x20ng-click=\x22vm_cc.createOrEditFreshsalesConfiguration($event)\x22\x0a','<div\x20id=\x22freshsalesAccounts\x22\x20class=\x22page-layout\x20simple\x20left-sidenav\x20inner-sidenav\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22logo-text\x22\x20translate=\x22INTEGRATIONS.FRESHSALESACCOUNTS\x22>FreshsalesAccounts</span>\x0a','\x20\x20\x20\x20<div\x20ng-show=\x22vm.selectedFreshsalesAccounts.length\x20>\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22close-button-wrapper\x22\x20ng-click=\x22vm.selectedFreshsalesAccounts\x20=[]\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22selected-freshsalesAccounts-count\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>{{vm.selectedFreshsalesAccounts.length}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22INTEGRATIONS.MULTI_SELECT_TOGGLE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.selectAllFreshsalesAccounts()\x22\x20translate=\x22INTEGRATIONS.SELECT_ALL\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deselectFreshsalesAccounts()\x22\x20translate=\x22INTEGRATIONS.SELECT_NONE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x22\x20ng-click=\x22vm.deleteSelectedFreshsalesAccounts($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20FRESHSALESACCOUNT\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<table\x20md-table\x20\x20md-row-select\x20multiple\x20\x20\x20ng-model=\x22vm.selectedFreshsalesAccounts\x22\x20md-progress=\x22vm.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm.query.sort\x22\x20md-on-reorder=\x22vm.getFreshsalesAccounts\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm.freshsalesAccounts.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22freshsalesAccount\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22freshsalesAccount\x20in\x20vm.freshsalesAccounts.rows\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22!freshsalesAccount.userpic\x20&&\x20(vm.table\x20==\x20\x27users\x27\x20||\x20vm.table\x20==\x20\x27agents\x27)\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{freshsalesAccount.name}}\x22\x20ng-src=\x22assets/images/avatars/profile.png\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(freshsalesAccount,\x20ev)\x20:\x20vm.createOrEditFreshsalesAccount($event,\x20freshsalesAccount)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22id\x20\x22\x20>{{freshsalesAccount.id}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(freshsalesAccount,\x20ev)\x20:\x20vm.createOrEditFreshsalesAccount($event,\x20freshsalesAccount)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22name\x20\x22\x20>{{freshsalesAccount.name}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22username\x20\x22\x20>{{freshsalesAccount.username}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22remoteUri\x20\x22\x20>{{freshsalesAccount.remoteUri}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.editstate(freshsalesAccount,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22INTEGRATIONS.EDIT_FRESHSALESACCOUNT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20FreshsalesAccount\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.testtestintegrationaccount(freshsalesAccount,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22INTEGRATIONS.TEST_FRESHSALESACCOUNT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Test\x20FreshsalesAccount\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22INTEGRATIONS.DELETE_FRESHSALESACCOUNT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27INTEGRATIONS.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27INTEGRATIONS.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27INTEGRATIONS.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm.query.page\x22\x20md-total=\x22{{vm.freshsalesAccounts.count}}\x22\x20md-on-paginate=\x22vm.getFreshsalesAccounts\x22\x20md-page-select></md-table-pagination>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20FRESHSALESACCOUNT\x20TABLE\x20-->\x0a','\x20\x20\x20\x20<md-button\x20ng-if=\x22vm.crudPermissions.canEdit\x22\x20class=\x22md-fab\x20md-accent\x22\x20id=\x22add-freshsalesAccount-button\x22\x20ng-click=\x22vm.createOrEditFreshsalesAccount($event)\x22\x0a','\x20\x20\x20\x20<!--\x20/\x20ADD\x20FRESHSALESACCOUNT\x20BUTTON\x20-->\x0a','<md-dialog\x20class=\x22salesforceAccount-dialog\x22\x20aria-label=\x22New\x20SalesforceAccount\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22salesforceAccountForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22name\x22\x20\x20ng-model=\x22vm.salesforceAccount.name\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22salesforceAccountForm[\x27name\x27].$error\x22\x20ng-show=\x22salesforceAccountForm[\x27name\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22type\x22\x20ng-model=\x22vm.salesforceAccount.type\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22salesforceAccountForm[\x27type\x27].$error\x22\x20ng-show=\x22salesforceAccountForm[\x27type\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22username\x22\x20\x20ng-model=\x22vm.salesforceAccount.username\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22salesforceAccountForm[\x27username\x27].$error\x22\x20ng-show=\x22salesforceAccountForm[\x27username\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22url\x22\x20name=\x22remoteUri\x22\x20\x20ng-model=\x22vm.salesforceAccount.remoteUri\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22salesforceAccountForm[\x27remoteUri\x27].$error\x22\x20ng-show=\x22salesforceAccountForm[\x27remoteUri\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22password\x22\x20name=\x22password\x22\x20ng-model=\x22vm.salesforceAccount.password\x22\x20placeholder=\x22Password\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22clientSecret\x22\x20\x20ng-model=\x22vm.salesforceAccount.clientSecret\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22INTEGRATIONS.SECURITYTOKEN\x22>SecurityToken</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22securityToken\x22\x20\x20ng-model=\x22vm.salesforceAccount.securityToken\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22salesforceAccountForm[\x27securityToken\x27].$error\x22\x20ng-show=\x22salesforceAccountForm[\x27securityToken\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22INTEGRATIONS.ERRORS.SECURITYTOKEN_REQUIRED\x22>SecurityToken\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22url\x22\x20name=\x22serverUrl\x22\x20\x20ng-model=\x22vm.salesforceAccount.serverUrl\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22description\x22\x20\x20ng-model=\x22vm.salesforceAccount.description\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22salesforceAccountForm[\x27description\x27].$error\x22\x20ng-show=\x22salesforceAccountForm[\x27description\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20!vm.newSalesforceAccount\x22\x20ng-click=\x22vm.saveSalesforceAccount()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22salesforceAccountForm.$invalid\x20||\x20salesforceAccountForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.newSalesforceAccount\x22\x20ng-click=\x22vm.addNewSalesforceAccount()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22salesforceAccountForm.$invalid\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22INTEGRATIONS.ADD_SALESFORCEACCOUNT\x22\x20translate-attr-aria-label=\x22INTEGRATIONS.ADD_SALESFORCEACCOUNT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20SALESFORCEACCOUNT\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x20&&\x20!vm.newSalesforceAccount\x22\x20ng-click=\x22vm.deleteSalesforceAccount($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22\x22\x20name=\x22name\x22\x20\x20ng-model=\x22vm.salesforceConfiguration.name\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22salesforceConfigurationForm[\x27name\x27].$error\x22\x20ng-show=\x22salesforceConfigurationForm[\x27name\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22channel\x22\x20ng-model=\x22vm.salesforceConfiguration.channel\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22type\x22\x20ng-model=\x22vm.salesforceConfiguration.type\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22ticketType\x22\x20ng-model=\x22vm.salesforceConfiguration.ticketType\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27Task\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27Case\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22salesforceConfigurationForm[\x27ticketType\x27].$error\x22\x20ng-show=\x22salesforceConfigurationForm[\x27ticketType\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20!vm.newSalesforceConfiguration\x22\x20ng-click=\x22vm.saveSalesforceConfiguration()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22salesforceConfigurationForm.$invalid\x20||\x20salesforceConfigurationForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22salesforceConfigurationForm.$invalid\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22INTEGRATIONS.ADD_SALESFORCECONFIGURATION\x22\x20translate-attr-aria-label=\x22INTEGRATIONS.ADD_SALESFORCECONFIGURATION\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20SALESFORCECONFIGURATION\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x20&&\x20!vm.newSalesforceConfiguration\x22\x20ng-click=\x22vm.deleteSalesforceConfiguration($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x0a','<md-dialog\x20class=\x22salesforceAccount-item-dialog\x22\x20aria-label=\x22New\x20Item\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22salesforceAccountItemForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22salesforceAccountItemForm.content.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22salesforceAccountItemForm.content.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22salesforceAccountItemForm.key.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22salesforceAccountItemForm.key.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22salesforceAccountItemForm.keyType.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22salesforceAccountItemForm.keyType.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22salesforceAccountItemForm.keyContent.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22salesforceAccountItemForm.keyContent.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22salesforceAccountItemForm.variableName.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22salesforceAccountItemForm.customField.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20!vm.newItem\x22\x20ng-click=\x22vm.saveItem()\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20ng-disabled=\x22salesforceAccountItemForm.$invalid\x20||\x20salesforceAccountItemForm.$pristine\x22\x20aria-label=\x22SAVE\x22\x20translate=\x22INTEGRATIONS.SAVE\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22salesforceAccountItemForm.type.$error\x22\x20ng-show=\x22salesforceAccountItemForm.type.$touched\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22salesforceAccountItemForm.option.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22salesforceAccountItemForm.content.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22salesforceAccountItemForm.variableName.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22salesforceAccountItemForm.variableName.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22salesforceAccountItemForm.type.$error\x22\x20ng-show=\x22salesforceAccountItemForm.type.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22salesforceAccountItemForm.content.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22salesforceAccountItemForm.content.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22dialColumn\x22\x20ng-repeat=\x22dialColumn\x20in\x20vm.voiceDialReportColumns\x22>{{dialColumn}}\x0a','\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22salesforceAccountItemForm.variableName.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22salesforceAccountItemForm.variableName.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22goto-salesforceAccounts-button\x20md-icon-button\x22\x20aria-label=\x22Go\x20to\x20salesforceAccounts\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.gotoSalesforceAccounts()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<img\x20ng-src=\x22assets/images/business/salesforceAccounts.jpg\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.salesforceAccount.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22vm.salesforceAccount.name\x22>{{vm.salesforceAccount.name}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22INTEGRATIONS.CREATED_AT\x22></span>\x20<span>{{vm.salesforceAccount.createdAt\x20|\x20date:\x27medium\x27}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-click=\x22vm.saveSalesforceAccount()\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20ng-disabled=\x22(generalForm.$invalid)\x20||\x20(configurationsForm.$invalid)\x22\x20translate=\x22INTEGRATIONS.SAVE\x22\x20translate-attr-aria-label=\x22INTEGRATIONS.SAVE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22salesforceAccount-detail-form-container\x20general\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22clientId\x22\x20\x20ng-model=\x22vm.salesforceAccount.clientId\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27securityToken\x27].$error\x22\x20ng-show=\x22generalForm[\x27securityToken\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-list-item\x20layout=\x22row\x22\x20layout-align=\x22center\x20center\x22\x20ng-repeat=\x22salesforceConfiguration\x20in\x20vm_cc.configurations\x22\x20class=\x22border-top\x22\x20md-colors=\x22{background:\x20(vm_cc.selectedSalesforceConfiguration\x20==\x20$index\x20?\x20\x27accent\x27\x20:\x20\x27grey-A100\x27)}\x22\x20ng-click=\x22vm_cc.getSalesforceConfiguration($index)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22text-truncate\x22\x20flex=\x2280\x22>{{\x20salesforceConfiguration.name\x20}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20SalesforceConfiguration\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tab>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22INTEGRATIONS.ADVANCED\x22>ADVANCED</span>\x0a','\x20\x20\x20\x20\x20\x20<div\x20layout-margin>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22INTEGRATIONS.MODULE_SEARCH\x22></label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20ng-model=\x22vm_cc.salesforceConfiguration.moduleSearch\x22\x20ng-change=\x22vm_cc.selectChangedAdvanced()\x22\x20ng-disabled=\x22!vm_cc.crudPermissions.canEdit\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22option.key\x22\x20ng-repeat=\x22option\x20in\x20[{key:\x20\x27contact_lead\x27,\x20value:\x20\x27Contact\x20&\x20Lead\x27},\x20{key:\x20\x27contact\x27,\x20value:\x20\x27Contact\x27},\x20{key:\x20\x27lead\x27,\x20value:\x20\x27Lead\x27}]\x22>{{\x20option.value\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-select>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22INTEGRATIONS.MODULE_CREATE\x22></label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20ng-model=\x22vm_cc.salesforceConfiguration.moduleCreate\x22\x20ng-change=\x22vm_cc.selectChangedAdvanced()\x22\x20ng-disabled=\x22!vm_cc.crudPermissions.canEdit\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22option.key\x22\x20ng-repeat=\x22option\x20in\x20[{key:\x20\x27nothing\x27,\x20value:\x20\x27Nothing\x27},\x20{key:\x20\x27contact\x27,\x20value:\x20\x27Contact\x27},\x20{key:\x20\x27lead\x27,\x20value:\x20\x27Lead\x27}]\x22>{{\x20option.value\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20<div\x20class=\x22padding-20\x22\x20ng-if=\x22!vm_cc.configurations.length\x20&&\x20vm_cc.crudPermissions.canEdit\x22\x20ng-click=\x22vm_cc.createOrEditSalesforceConfiguration($event)\x22\x0a','app/main/apps/integrations/views/salesforceAccounts/salesforceAccounts.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22logo-text\x22\x20translate=\x22INTEGRATIONS.SALESFORCEACCOUNTS\x22>SalesforceAccounts</span>\x0a','\x20\x20\x20\x20<div\x20ng-show=\x22vm.selectedSalesforceAccounts.length\x20>\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22selected-salesforceAccounts-count\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>{{vm.selectedSalesforceAccounts.length}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.selectAllSalesforceAccounts()\x22\x20translate=\x22INTEGRATIONS.SELECT_ALL\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deselectSalesforceAccounts()\x22\x20translate=\x22INTEGRATIONS.SELECT_NONE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-icon-button\x22\x20ng-csv=\x22vm.exportSelectedSalesforceAccounts\x22\x20csv-label=\x22true\x22\x20filename=\x22salesforceAccounts.csv\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x22\x20ng-click=\x22vm.deleteSelectedSalesforceAccounts($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<table\x20md-table\x20\x20md-row-select\x20multiple\x20\x20\x20ng-model=\x22vm.selectedSalesforceAccounts\x22\x20md-progress=\x22vm.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22remoteUri\x22>{{\x20\x27INTEGRATIONS.URI\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm.salesforceAccounts.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22salesforceAccount\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22salesforceAccount\x20in\x20vm.salesforceAccounts.rows\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22!salesforceAccount.userpic\x20&&\x20(vm.table\x20==\x20\x27users\x27\x20||\x20vm.table\x20==\x20\x27agents\x27)\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{salesforceAccount.name}}\x22\x20ng-src=\x22assets/images/avatars/profile.png\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(salesforceAccount,\x20ev)\x20:\x20vm.createOrEditSalesforceAccount($event,\x20salesforceAccount)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22id\x20\x22\x20>{{salesforceAccount.id}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(salesforceAccount,\x20ev)\x20:\x20vm.createOrEditSalesforceAccount($event,\x20salesforceAccount)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22name\x20\x22\x20>{{salesforceAccount.name}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22username\x20\x22\x20>{{salesforceAccount.username}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22INTEGRATIONS.EDIT_SALESFORCEACCOUNT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.testtestintegrationaccount(salesforceAccount,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22INTEGRATIONS.TEST_SALESFORCEACCOUNT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Test\x20SalesforceAccount\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deleteconfirm(salesforceAccount,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20SalesforceAccount\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20SALESFORCEACCOUNT\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20ADD\x20SALESFORCEACCOUNT\x20BUTTON\x20-->\x0a','\x20\x20\x20\x20<md-button\x20ng-if=\x22vm.crudPermissions.canEdit\x22\x20class=\x22md-fab\x20md-accent\x22\x20id=\x22add-salesforceAccount-button\x22\x20ng-click=\x22vm.createOrEditSalesforceAccount($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20salesforceAccount\x22\x20translate\x20translate-attr-aria-label=\x22INTEGRATIONS.ADD_SALESFORCEACCOUNT\x22>\x0a','\x20\x20\x20\x20<!--\x20/\x20ADD\x20SALESFORCEACCOUNT\x20BUTTON\x20-->\x0a','\x20\x20\x20\x20<form\x20name=\x22servicenowAccountForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22username\x22\x20\x20ng-model=\x22vm.servicenowAccount.username\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22password\x22\x20name=\x22password\x22\x20ng-model=\x22vm.servicenowAccount.password\x22\x20placeholder=\x22Password\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22INTEGRATIONS.EMAIL\x22>Email</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22servicenowAccountForm[\x27email\x27].$error\x22\x20ng-show=\x22servicenowAccountForm[\x27email\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22INTEGRATIONS.ERRORS.EMAIL_MUST_VALID\x22>Email\x20must\x20be\x20a\x20valid\x20e-mail\x20address</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22url\x22\x20name=\x22remoteUri\x22\x20\x20ng-model=\x22vm.servicenowAccount.remoteUri\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22servicenowAccountForm[\x27remoteUri\x27].$error\x22\x20ng-show=\x22servicenowAccountForm[\x27remoteUri\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22INTEGRATIONS.ERRORS.HOST_REQUIRED\x22>Host\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22INTEGRATIONS.ERRORS.HOST_MUST_VALID_URL\x22>Host\x20must\x20be\x20a\x20valid\x20url\x20http://www.xcally.com</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22url\x22\x20name=\x22serverUrl\x22\x20\x20ng-model=\x22vm.servicenowAccount.serverUrl\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22servicenowAccountForm[\x27serverUrl\x27].$error\x22\x20ng-show=\x22servicenowAccountForm[\x27serverUrl\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22description\x22\x20\x20ng-model=\x22vm.servicenowAccount.description\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22servicenowAccountForm[\x27description\x27].$error\x22\x20ng-show=\x22servicenowAccountForm[\x27description\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20!vm.newServicenowAccount\x22\x20ng-click=\x22vm.saveServicenowAccount()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22servicenowAccountForm.$invalid\x20||\x20servicenowAccountForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.newServicenowAccount\x22\x20ng-click=\x22vm.addNewServicenowAccount()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22INTEGRATIONS.ADD_SERVICENOWACCOUNT\x22\x20translate-attr-aria-label=\x22INTEGRATIONS.ADD_SERVICENOWACCOUNT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20SERVICENOWACCOUNT\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x20&&\x20!vm.newServicenowAccount\x22\x20ng-click=\x22vm.deleteServicenowAccount($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x0a','<md-dialog\x20class=\x22servicenowConfiguration-dialog\x22\x20aria-label=\x22New\x20ServicenowConfiguration\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22servicenowConfigurationForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22\x22\x20name=\x22name\x22\x20\x20ng-model=\x22vm.servicenowConfiguration.name\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22servicenowConfigurationForm[\x27name\x27].$error\x22\x20ng-show=\x22servicenowConfigurationForm[\x27name\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22channel\x22\x20ng-model=\x22vm.servicenowConfiguration.channel\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22servicenowConfigurationForm[\x27channel\x27].$error\x22\x20ng-show=\x22servicenowConfigurationForm[\x27channel\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22type\x22\x20ng-model=\x22vm.servicenowConfiguration.type\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22servicenowConfigurationForm[\x27type\x27].$error\x22\x20ng-show=\x22servicenowConfigurationForm[\x27type\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20!vm.newServicenowConfiguration\x22\x20ng-click=\x22vm.saveServicenowConfiguration()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22INTEGRATIONS.ADD_SERVICENOWCONFIGURATION\x22\x20translate-attr-aria-label=\x22INTEGRATIONS.ADD_SERVICENOWCONFIGURATION\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20SERVICENOWCONFIGURATION\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x20&&\x20!vm.newServicenowConfiguration\x22\x20ng-click=\x22vm.deleteServicenowConfiguration($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x0a','<md-dialog\x20class=\x22servicenowAccount-item-dialog\x22\x20aria-label=\x22New\x20Item\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22servicenowAccountItemForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22servicenowAccountItemForm.type.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22servicenowAccountItemForm.key.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22servicenowAccountItemForm.key.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22servicenowAccountItemForm.keyContent.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22servicenowAccountItemForm.variableName.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20!vm.newItem\x22\x20ng-click=\x22vm.saveItem()\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20ng-disabled=\x22servicenowAccountItemForm.$invalid\x20||\x20servicenowAccountItemForm.$pristine\x22\x20aria-label=\x22SAVE\x22\x20translate=\x22INTEGRATIONS.SAVE\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22servicenowAccountItemForm.type.$error\x22\x20ng-show=\x22servicenowAccountItemForm.type.$touched\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22servicenowAccountItemForm.option.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22servicenowAccountItemForm.content.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22servicenowAccountItemForm.variableName.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22servicenowAccountItemForm.type.$error\x22\x20ng-show=\x22servicenowAccountItemForm.type.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22servicenowAccountItemForm.variableName.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22servicenowAccountItemForm.variableName.$touched\x22\x20role=\x22alert\x22>\x0a','<div\x20id=\x22integrations-servicenowAccount\x22\x20class=\x22page-layout\x20simple\x20tabbed\x22\x20layout=\x22column\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22goto-servicenowAccounts-button\x20md-icon-button\x22\x20aria-label=\x22Go\x20to\x20servicenowAccounts\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.gotoServicenowAccounts()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22INTEGRATIONS.GO_TO_SERVICENOWACCOUNTS\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22servicenowAccount-image\x22\x20hide-xs>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.servicenowAccount.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22vm.servicenowAccount.name\x22>{{vm.servicenowAccount.name}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22INTEGRATIONS.CREATED_AT\x22></span>\x20<span>{{vm.servicenowAccount.createdAt\x20|\x20date:\x27medium\x27}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22name\x22\x20\x20ng-model=\x22vm.servicenowAccount.name\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22email\x22\x20name=\x22email\x22\x20\x20ng-model=\x22vm.servicenowAccount.email\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22INTEGRATIONS.ERRORS.EMAIL_REQUIRED\x22>Email\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22INTEGRATIONS.HOST\x22>Host</label>\x0a','<div\x20ng-controller=\x22ServicenowAccountConfigurationsController\x20as\x20vm_cc\x22\x20ng-init=\x22vm_cc.init(vm.servicenowAccount,\x20vm.crudPermissions)\x22\x20layout=\x22row\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20flex=\x2225\x22\x20ng-if=\x22vm_cc.crudPermissions.canEdit\x22\x20ng-click=\x22vm_cc.createOrEditServicenowConfiguration($event)\x22\x20class=\x22md-icon-button\x22\x20aria-label=\x22create\x20servicenowConfiguration\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22text-truncate\x22\x20flex=\x2280\x22>{{\x20servicenowConfiguration.name\x20}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm_cc.deleteServicenowConfiguration($event,\x20servicenowConfiguration)\x22\x20translate=\x22INTEGRATIONS.DELETE_SERVICENOWCONFIGURATION\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20ServicenowConfiguration\x0a','\x20\x20\x20\x20\x20\x20<div\x20class=\x22padding-20\x22\x20ng-if=\x22!vm_cc.configurations.length\x20&&\x20vm_cc.crudPermissions.canEdit\x22\x20ng-click=\x22vm_cc.createOrEditServicenowConfiguration($event)\x22\x0a','<div\x20id=\x22servicenowAccounts\x22\x20class=\x22page-layout\x20simple\x20left-sidenav\x20inner-sidenav\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22logo-text\x22\x20translate=\x22INTEGRATIONS.SERVICENOWACCOUNTS\x22>ServicenowAccounts</span>\x0a','\x20\x20\x20\x20<div\x20ng-show=\x22vm.selectedServicenowAccounts.length\x20>\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22close-button-wrapper\x22\x20ng-click=\x22vm.selectedServicenowAccounts\x20=[]\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22selected-servicenowAccounts-count\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>{{vm.selectedServicenowAccounts.length}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.selectAllServicenowAccounts()\x22\x20translate=\x22INTEGRATIONS.SELECT_ALL\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deselectServicenowAccounts()\x22\x20translate=\x22INTEGRATIONS.SELECT_NONE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-icon-button\x22\x20ng-csv=\x22vm.exportSelectedServicenowAccounts\x22\x20csv-label=\x22true\x22\x20filename=\x22servicenowAccounts.csv\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x22\x20ng-click=\x22vm.deleteSelectedServicenowAccounts($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20SERVICENOWACCOUNT\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm.query.sort\x22\x20md-on-reorder=\x22vm.getServicenowAccounts\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22email\x22>{{\x20\x27INTEGRATIONS.EMAIL\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm.servicenowAccounts.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20colspan=\x226\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22servicenowAccount\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22servicenowAccount\x20in\x20vm.servicenowAccounts.rows\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22servicenowAccount.userpic\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{servicenowAccount.name}}\x22\x20ng-src=\x22api/users/{{servicenowAccount.id}}/avatar\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22!servicenowAccount.userpic\x20&&\x20(vm.table\x20==\x20\x27users\x27\x20||\x20vm.table\x20==\x20\x27agents\x27)\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{servicenowAccount.name}}\x22\x20ng-src=\x22assets/images/avatars/profile.png\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(servicenowAccount,\x20ev)\x20:\x20vm.createOrEditServicenowAccount($event,\x20servicenowAccount)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22id\x20\x22\x20>{{servicenowAccount.id}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(servicenowAccount,\x20ev)\x20:\x20vm.createOrEditServicenowAccount($event,\x20servicenowAccount)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22name\x20\x22\x20>{{servicenowAccount.name}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22username\x20\x22\x20>{{servicenowAccount.username}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22email\x20\x22\x20>{{servicenowAccount.email}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22remoteUri\x20\x22\x20>{{servicenowAccount.remoteUri}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.editstate(servicenowAccount,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22INTEGRATIONS.EDIT_SERVICENOWACCOUNT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20ServicenowAccount\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.testtestintegrationaccount(servicenowAccount,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22INTEGRATIONS.TEST_SERVICENOWACCOUNT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deleteconfirm(servicenowAccount,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20ServicenowAccount\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20SERVICENOWACCOUNT\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20ADD\x20SERVICENOWACCOUNT\x20BUTTON\x20-->\x0a','\x20\x20\x20\x20<md-button\x20ng-if=\x22vm.crudPermissions.canEdit\x22\x20class=\x22md-fab\x20md-accent\x22\x20id=\x22add-servicenowAccount-button\x22\x20ng-click=\x22vm.createOrEditServicenowAccount($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20servicenowAccount\x22\x20translate\x20translate-attr-aria-label=\x22INTEGRATIONS.ADD_SERVICENOWACCOUNT\x22>\x0a','\x20\x20\x20\x20<!--\x20/\x20ADD\x20SERVICENOWACCOUNT\x20BUTTON\x20-->\x0a','\x20\x20\x20\x20<form\x20name=\x22sugarcrmAccountForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22sugarcrmAccountForm[\x27name\x27].$error\x22\x20ng-show=\x22sugarcrmAccountForm[\x27name\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22username\x22\x20\x20ng-model=\x22vm.sugarcrmAccount.username\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22sugarcrmAccountForm[\x27username\x27].$error\x22\x20ng-show=\x22sugarcrmAccountForm[\x27username\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22url\x22\x20name=\x22remoteUri\x22\x20\x20ng-model=\x22vm.sugarcrmAccount.remoteUri\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22sugarcrmAccountForm[\x27remoteUri\x27].$error\x22\x20ng-show=\x22sugarcrmAccountForm[\x27remoteUri\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22password\x22\x20name=\x22password\x22\x20ng-model=\x22vm.sugarcrmAccount.password\x22\x20placeholder=\x22Password\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22sugarcrmAccountForm[\x27password\x27].$error\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22sugarcrmAccountForm[\x27serverUrl\x27].$error\x22\x20ng-show=\x22sugarcrmAccountForm[\x27serverUrl\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22description\x22\x20\x20ng-model=\x22vm.sugarcrmAccount.description\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22sugarcrmAccountForm[\x27description\x27].$error\x22\x20ng-show=\x22sugarcrmAccountForm[\x27description\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22sugarcrmAccountForm.$invalid\x20||\x20sugarcrmAccountForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20SUGARCRMACCOUNT\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x20&&\x20!vm.newSugarcrmAccount\x22\x20ng-click=\x22vm.deleteSugarcrmAccount($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x0a','app/main/apps/integrations/views/sugarcrmAccounts/edit/configurations/dialog.html','<md-dialog\x20class=\x22sugarcrmConfiguration-dialog\x22\x20aria-label=\x22New\x20SugarcrmConfiguration\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22\x22\x20name=\x22name\x22\x20\x20ng-model=\x22vm.sugarcrmConfiguration.name\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22sugarcrmConfigurationForm[\x27name\x27].$error\x22\x20ng-show=\x22sugarcrmConfigurationForm[\x27name\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22channel\x22\x20ng-model=\x22vm.sugarcrmConfiguration.channel\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22sugarcrmConfigurationForm[\x27channel\x27].$error\x22\x20ng-show=\x22sugarcrmConfigurationForm[\x27channel\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22type\x22\x20ng-model=\x22vm.sugarcrmConfiguration.type\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22sugarcrmConfigurationForm[\x27type\x27].$error\x22\x20ng-show=\x22sugarcrmConfigurationForm[\x27type\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20!vm.newSugarcrmConfiguration\x22\x20ng-click=\x22vm.saveSugarcrmConfiguration()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22sugarcrmConfigurationForm.$invalid\x20||\x20sugarcrmConfigurationForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.newSugarcrmConfiguration\x22\x20ng-click=\x22vm.addNewSugarcrmConfiguration()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22sugarcrmConfigurationForm.$invalid\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22INTEGRATIONS.ADD_SUGARCRMCONFIGURATION\x22\x20translate-attr-aria-label=\x22INTEGRATIONS.ADD_SUGARCRMCONFIGURATION\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20SUGARCRMCONFIGURATION\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x20&&\x20!vm.newSugarcrmConfiguration\x22\x20ng-click=\x22vm.deleteSugarcrmConfiguration($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x0a','<md-dialog\x20class=\x22sugarcrmAccount-item-dialog\x22\x20aria-label=\x22New\x20Item\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22sugarcrmAccountItemForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22sugarcrmAccountItemForm.type.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22sugarcrmAccountItemForm.content.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22sugarcrmAccountItemForm.content.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22sugarcrmAccountItemForm.key.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22sugarcrmAccountItemForm.key.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22sugarcrmAccountItemForm.keyType.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22sugarcrmAccountItemForm.keyType.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22sugarcrmAccountItemForm.keyContent.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22sugarcrmAccountItemForm.keyContent.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22sugarcrmAccountItemForm.variableName.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22sugarcrmAccountItemForm.variableName.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22sugarcrmAccountItemForm.customField.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22sugarcrmAccountItemForm.customField.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20!vm.newItem\x22\x20ng-click=\x22vm.saveItem()\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20ng-disabled=\x22sugarcrmAccountItemForm.$invalid\x20||\x20sugarcrmAccountItemForm.$pristine\x22\x20aria-label=\x22SAVE\x22\x20translate=\x22INTEGRATIONS.SAVE\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.newItem\x22\x20ng-click=\x22vm.addNewItem()\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20ng-disabled=\x22sugarcrmAccountItemForm.$invalid\x20||\x20sugarcrmAccountItemForm.$pristine\x22\x20aria-label=\x22ADD\x22\x20translate=\x22INTEGRATIONS.ADD\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22sugarcrmAccountItemForm.type.$error\x22\x20ng-show=\x22sugarcrmAccountItemForm.type.$touched\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22sugarcrmAccountItemForm.option.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22sugarcrmAccountItemForm.option.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22sugarcrmAccountItemForm.content.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22sugarcrmAccountItemForm.content.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22sugarcrmAccountItemForm.variableName.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22sugarcrmAccountItemForm.type.$error\x22\x20ng-show=\x22sugarcrmAccountItemForm.type.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22sugarcrmAccountItemForm.content.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22sugarcrmAccountItemForm.variableName.$error\x22\x0a','<div\x20id=\x22integrations-sugarcrmAccount\x22\x20class=\x22page-layout\x20simple\x20tabbed\x22\x20layout=\x22column\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22goto-sugarcrmAccounts-button\x20md-icon-button\x22\x20aria-label=\x22Go\x20to\x20sugarcrmAccounts\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22INTEGRATIONS.GO_TO_SUGARCRMACCOUNTS\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22sugarcrmAccount-image\x22\x20hide-xs>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.sugarcrmAccount.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22vm.sugarcrmAccount.name\x22>{{vm.sugarcrmAccount.name}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22INTEGRATIONS.CREATED_AT\x22></span>\x20<span>{{vm.sugarcrmAccount.createdAt\x20|\x20date:\x27medium\x27}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-click=\x22vm.saveSugarcrmAccount()\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20ng-disabled=\x22(generalForm.$invalid)\x20||\x20(configurationsForm.$invalid)\x22\x20translate=\x22INTEGRATIONS.SAVE\x22\x20translate-attr-aria-label=\x22INTEGRATIONS.SAVE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22name\x22\x20\x20ng-model=\x22vm.sugarcrmAccount.name\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22url\x22\x20name=\x22serverUrl\x22\x20\x20ng-model=\x22vm.sugarcrmAccount.serverUrl\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22sugarcrmAccount-detail-form-container\x20configurations\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','<div\x20ng-controller=\x22SugarcrmAccountConfigurationsController\x20as\x20vm_cc\x22\x20ng-init=\x22vm_cc.init(vm.sugarcrmAccount,\x20vm.crudPermissions)\x22\x20layout=\x22row\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20flex=\x2225\x22\x20ng-if=\x22vm_cc.crudPermissions.canEdit\x22\x20ng-click=\x22vm_cc.createOrEditSugarcrmConfiguration($event)\x22\x20class=\x22md-icon-button\x22\x20aria-label=\x22create\x20sugarcrmConfiguration\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-list-item\x20layout=\x22row\x22\x20layout-align=\x22center\x20center\x22\x20ng-repeat=\x22sugarcrmConfiguration\x20in\x20vm_cc.configurations\x22\x20class=\x22border-top\x22\x20md-colors=\x22{background:\x20(vm_cc.selectedSugarcrmConfiguration\x20==\x20$index\x20?\x20\x27accent\x27\x20:\x20\x27grey-A100\x27)}\x22\x20ng-click=\x22vm_cc.getSugarcrmConfiguration($index)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22text-truncate\x22\x20flex=\x2280\x22>{{\x20sugarcrmConfiguration.name\x20}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20SugarcrmConfiguration\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22logo-text\x22\x20translate=\x22INTEGRATIONS.SUGARCRMACCOUNTS\x22>SugarcrmAccounts</span>\x0a','\x20\x20\x20\x20<div\x20ng-show=\x22vm.selectedSugarcrmAccounts.length\x20>\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22close-button-wrapper\x22\x20ng-click=\x22vm.selectedSugarcrmAccounts\x20=[]\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22selected-sugarcrmAccounts-count\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>{{vm.selectedSugarcrmAccounts.length}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.selectAllSugarcrmAccounts()\x22\x20translate=\x22INTEGRATIONS.SELECT_ALL\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20SUGARCRMACCOUNT\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm.sugarcrmAccounts.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22sugarcrmAccount\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22sugarcrmAccount\x20in\x20vm.sugarcrmAccounts.rows\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22!sugarcrmAccount.userpic\x20&&\x20(vm.table\x20==\x20\x27users\x27\x20||\x20vm.table\x20==\x20\x27agents\x27)\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{sugarcrmAccount.name}}\x22\x20ng-src=\x22assets/images/avatars/profile.png\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(sugarcrmAccount,\x20ev)\x20:\x20vm.createOrEditSugarcrmAccount($event,\x20sugarcrmAccount)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22id\x20\x22\x20>{{sugarcrmAccount.id}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(sugarcrmAccount,\x20ev)\x20:\x20vm.createOrEditSugarcrmAccount($event,\x20sugarcrmAccount)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22remoteUri\x20\x22\x20>{{sugarcrmAccount.remoteUri}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.editstate(sugarcrmAccount,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22INTEGRATIONS.EDIT_SUGARCRMACCOUNT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20SugarcrmAccount\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.testtestintegrationaccount(sugarcrmAccount,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deleteconfirm(sugarcrmAccount,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20SugarcrmAccount\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20SUGARCRMACCOUNT\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20ADD\x20SUGARCRMACCOUNT\x20BUTTON\x20-->\x0a','\x20\x20\x20\x20<md-button\x20ng-if=\x22vm.crudPermissions.canEdit\x22\x20class=\x22md-fab\x20md-accent\x22\x20id=\x22add-sugarcrmAccount-button\x22\x20ng-click=\x22vm.createOrEditSugarcrmAccount($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20sugarcrmAccount\x22\x20translate\x20translate-attr-aria-label=\x22INTEGRATIONS.ADD_SUGARCRMACCOUNT\x22>\x0a','\x20\x20\x20\x20<!--\x20/\x20ADD\x20SUGARCRMACCOUNT\x20BUTTON\x20-->\x0a','<md-dialog\x20class=\x22vtigerAccount-dialog\x22\x20aria-label=\x22New\x20VtigerAccount\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22vtigerAccountForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22name\x22\x20\x20ng-model=\x22vm.vtigerAccount.name\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22vtigerAccountForm[\x27name\x27].$error\x22\x20ng-show=\x22vtigerAccountForm[\x27name\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22description\x22\x20\x20ng-model=\x22vm.vtigerAccount.description\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22vtigerAccountForm[\x27description\x27].$error\x22\x20ng-show=\x22vtigerAccountForm[\x27description\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22INTEGRATIONS.VTIGER_USER_NAME\x22>vTiger_User_Name</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22INTEGRATIONS.ERRORS.VTIGER_USER_NAME_REQUIRED\x22>vTiger_User_Name\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22INTEGRATIONS.ACCESS_KEY\x22>Access_Key</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22accessKey\x22\x20\x20ng-model=\x22vm.vtigerAccount.accessKey\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22vtigerAccountForm[\x27accessKey\x27].$error\x22\x20ng-show=\x22vtigerAccountForm[\x27accessKey\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22INTEGRATIONS.ERRORS.ACCESS_KEY_REQUIRED\x22>Access_Key\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22url\x22\x20name=\x22remoteUri\x22\x20\x20ng-model=\x22vm.vtigerAccount.remoteUri\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22vtigerAccountForm[\x27remoteUri\x27].$error\x22\x20ng-show=\x22vtigerAccountForm[\x27remoteUri\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22url\x22\x20name=\x22serverUrl\x22\x20\x20ng-model=\x22vm.vtigerAccount.serverUrl\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22vtigerAccountForm[\x27serverUrl\x27].$error\x22\x20ng-show=\x22vtigerAccountForm[\x27serverUrl\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.newVtigerAccount\x22\x20ng-click=\x22vm.addNewVtigerAccount()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22vtigerAccountForm.$invalid\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22INTEGRATIONS.ADD_VTIGERACCOUNT\x22\x20translate-attr-aria-label=\x22INTEGRATIONS.ADD_VTIGERACCOUNT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20VTIGERACCOUNT\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x20&&\x20!vm.newVtigerAccount\x22\x20ng-click=\x22vm.deleteVtigerAccount($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22channel\x22\x20ng-model=\x22vm.vtigerConfiguration.channel\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22vtigerConfigurationForm[\x27channel\x27].$error\x22\x20ng-show=\x22vtigerConfigurationForm[\x27channel\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20!vm.newVtigerConfiguration\x22\x20ng-click=\x22vm.saveVtigerConfiguration()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.newVtigerConfiguration\x22\x20ng-click=\x22vm.addNewVtigerConfiguration()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22vtigerConfigurationForm.$invalid\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22INTEGRATIONS.ADD_VTIGERCONFIGURATION\x22\x20translate-attr-aria-label=\x22INTEGRATIONS.ADD_VTIGERCONFIGURATION\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22vtigerAccountItemForm.type.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22vtigerAccountItemForm.content.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22vtigerAccountItemForm.content.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22vtigerAccountItemForm.keyType.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22vtigerAccountItemForm.keyContent.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22vtigerAccountItemForm.keyContent.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22vtigerAccountItemForm.variableName.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22vtigerAccountItemForm.variableName.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22vtigerAccountItemForm.customField.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20!vm.newItem\x22\x20ng-click=\x22vm.saveItem()\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20ng-disabled=\x22vtigerAccountItemForm.$invalid\x20||\x20vtigerAccountItemForm.$pristine\x22\x20aria-label=\x22SAVE\x22\x20translate=\x22INTEGRATIONS.SAVE\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22vtigerAccountItemForm.type.$error\x22\x20ng-show=\x22vtigerAccountItemForm.type.$touched\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22vtigerAccountItemForm.option.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22vtigerAccountItemForm.option.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22vtigerAccountItemForm.content.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22vtigerAccountItemForm.variableName.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22vtigerAccountItemForm.type.$error\x22\x20ng-show=\x22vtigerAccountItemForm.type.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22vtigerAccountItemForm.content.$error\x22\x0a','\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22vtigerAccountItemForm.variableName.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22vtigerAccountItemForm.variableName.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.gotoVtigerAccounts()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22vtigerAccount-image\x22\x20hide-xs>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<img\x20ng-src=\x22assets/images/business/vtigerAccounts.jpg\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.vtigerAccount.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22INTEGRATIONS.CREATED_AT\x22></span>\x20<span>{{vm.vtigerAccount.createdAt\x20|\x20date:\x27medium\x27}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-click=\x22vm.saveVtigerAccount()\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20ng-disabled=\x22(generalForm.$invalid)\x20||\x20(configurationsForm.$invalid)\x22\x20translate=\x22INTEGRATIONS.SAVE\x22\x20translate-attr-aria-label=\x22INTEGRATIONS.SAVE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22vtigerAccount-detail-form-container\x20general\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22username\x22\x20\x20ng-model=\x22vm.vtigerAccount.username\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27accessKey\x27].$error\x22\x20ng-show=\x22generalForm[\x27accessKey\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22vtigerAccount-detail-form-container\x20configurations\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','<div\x20ng-controller=\x22VtigerAccountConfigurationsController\x20as\x20vm_cc\x22\x20ng-init=\x22vm_cc.init(vm.vtigerAccount,\x20vm.crudPermissions)\x22\x20layout=\x22row\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20flex=\x2225\x22\x20ng-if=\x22vm_cc.crudPermissions.canEdit\x22\x20ng-click=\x22vm_cc.createOrEditVtigerConfiguration($event)\x22\x20class=\x22md-icon-button\x22\x20aria-label=\x22create\x20vtigerConfiguration\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-list-item\x20layout=\x22row\x22\x20layout-align=\x22center\x20center\x22\x20ng-repeat=\x22vtigerConfiguration\x20in\x20vm_cc.configurations\x22\x20class=\x22border-top\x22\x20md-colors=\x22{background:\x20(vm_cc.selectedVtigerConfiguration\x20==\x20$index\x20?\x20\x27accent\x27\x20:\x20\x27grey-A100\x27)}\x22\x20ng-click=\x22vm_cc.getVtigerConfiguration($index)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22text-truncate\x22\x20flex=\x2280\x22>{{\x20vtigerConfiguration.name\x20}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm_cc.deleteVtigerConfiguration($event,\x20vtigerConfiguration)\x22\x20translate=\x22INTEGRATIONS.DELETE_VTIGERCONFIGURATION\x22>\x0a','\x20\x20\x20\x20\x20\x20<div\x20class=\x22padding-20\x22\x20ng-if=\x22!vm_cc.configurations.length\x20&&\x20vm_cc.crudPermissions.canEdit\x22\x20ng-click=\x22vm_cc.createOrEditVtigerConfiguration($event)\x22\x0a','<div\x20id=\x22vtigerAccounts\x22\x20class=\x22page-layout\x20simple\x20left-sidenav\x20inner-sidenav\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22logo-text\x22\x20translate=\x22INTEGRATIONS.VTIGERACCOUNTS\x22>VtigerAccounts</span>\x0a','\x20\x20\x20\x20<div\x20ng-show=\x22vm.selectedVtigerAccounts.length\x20>\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22close-button-wrapper\x22\x20ng-click=\x22vm.selectedVtigerAccounts\x20=[]\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22selected-vtigerAccounts-count\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>{{vm.selectedVtigerAccounts.length}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.selectAllVtigerAccounts()\x22\x20translate=\x22INTEGRATIONS.SELECT_ALL\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deselectVtigerAccounts()\x22\x20translate=\x22INTEGRATIONS.SELECT_NONE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-icon-button\x22\x20ng-csv=\x22vm.exportSelectedVtigerAccounts\x22\x20csv-label=\x22true\x22\x20filename=\x22vtigerAccounts.csv\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20VTIGERACCOUNT\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<table\x20md-table\x20\x20md-row-select\x20multiple\x20\x20\x20ng-model=\x22vm.selectedVtigerAccounts\x22\x20md-progress=\x22vm.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm.query.sort\x22\x20md-on-reorder=\x22vm.getVtigerAccounts\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22username\x22>{{\x20\x27INTEGRATIONS.VTIGER_USER_NAME\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22remoteUri\x22>{{\x20\x27INTEGRATIONS.HOST\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm.vtigerAccounts.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22vtigerAccount\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22vtigerAccount\x20in\x20vm.vtigerAccounts.rows\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22vtigerAccount.userpic\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{vtigerAccount.name}}\x22\x20ng-src=\x22api/users/{{vtigerAccount.id}}/avatar\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22!vtigerAccount.userpic\x20&&\x20(vm.table\x20==\x20\x27users\x27\x20||\x20vm.table\x20==\x20\x27agents\x27)\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{vtigerAccount.name}}\x22\x20ng-src=\x22assets/images/avatars/profile.png\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(vtigerAccount,\x20ev)\x20:\x20vm.createOrEditVtigerAccount($event,\x20vtigerAccount)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22id\x20\x22\x20>{{vtigerAccount.id}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(vtigerAccount,\x20ev)\x20:\x20vm.createOrEditVtigerAccount($event,\x20vtigerAccount)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22name\x20\x22\x20>{{vtigerAccount.name}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22username\x20\x22\x20>{{vtigerAccount.username}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22remoteUri\x20\x22\x20>{{vtigerAccount.remoteUri}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.editstate(vtigerAccount,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.testtestintegrationaccount(vtigerAccount,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22INTEGRATIONS.TEST_VTIGERACCOUNT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Test\x20VtigerAccount\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22INTEGRATIONS.DELETE_VTIGERACCOUNT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20VtigerAccount\x0a','\x20\x20\x20\x20<md-button\x20ng-if=\x22vm.crudPermissions.canEdit\x22\x20class=\x22md-fab\x20md-accent\x22\x20id=\x22add-vtigerAccount-button\x22\x20ng-click=\x22vm.createOrEditVtigerAccount($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20vtigerAccount\x22\x20translate\x20translate-attr-aria-label=\x22INTEGRATIONS.ADD_VTIGERACCOUNT\x22>\x0a','<md-dialog\x20class=\x22zendeskAccount-dialog\x22\x20aria-label=\x22New\x20ZendeskAccount\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22zendeskAccountForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22name\x22\x20\x20ng-model=\x22vm.zendeskAccount.name\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22zendeskAccountForm[\x27name\x27].$error\x22\x20ng-show=\x22zendeskAccountForm[\x27name\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22type\x22\x20ng-model=\x22vm.zendeskAccount.type\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22zendeskAccountForm[\x27type\x27].$error\x22\x20ng-show=\x22zendeskAccountForm[\x27type\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22zendeskAccountForm[\x27username\x27].$error\x22\x20ng-show=\x22zendeskAccountForm[\x27username\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22url\x22\x20name=\x22remoteUri\x22\x20\x20ng-model=\x22vm.zendeskAccount.remoteUri\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22zendeskAccountForm[\x27remoteUri\x27].$error\x22\x20ng-show=\x22zendeskAccountForm[\x27remoteUri\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22authType\x22\x20ng-model=\x22vm.zendeskAccount.authType\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27password\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Password</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27token\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Token</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22zendeskAccountForm[\x27authType\x27].$error\x22\x20ng-show=\x22zendeskAccountForm[\x27authType\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22password\x22\x20name=\x22password\x22\x20ng-model=\x22vm.zendeskAccount.password\x22\x20placeholder=\x22Password\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22zendeskAccountForm[\x27password\x27].$error\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.zendeskAccount.authType\x20==\x20\x27token\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22token\x22\x20\x20ng-model=\x22vm.zendeskAccount.token\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22zendeskAccountForm[\x27token\x27].$error\x22\x20ng-show=\x22zendeskAccountForm[\x27token\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22INTEGRATIONS.ERRORS.TOKEN_REQUIRED\x22>Token\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22url\x22\x20name=\x22serverUrl\x22\x20\x20ng-model=\x22vm.zendeskAccount.serverUrl\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22zendeskAccountForm[\x27serverUrl\x27].$error\x22\x20ng-show=\x22zendeskAccountForm[\x27serverUrl\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20!vm.newZendeskAccount\x22\x20ng-click=\x22vm.saveZendeskAccount()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22zendeskAccountForm.$invalid\x20||\x20zendeskAccountForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.newZendeskAccount\x22\x20ng-click=\x22vm.addNewZendeskAccount()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22zendeskAccountForm.$invalid\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20ZENDESKACCOUNT\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x20&&\x20!vm.newZendeskAccount\x22\x20ng-click=\x22vm.deleteZendeskAccount($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22zendeskAccountItemForm.type.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22zendeskAccountItemForm.type.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22zendeskAccountItemForm.content.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22zendeskAccountItemForm.content.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22zendeskAccountItemForm.key.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22zendeskAccountItemForm.keyType.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22zendeskAccountItemForm.keyContent.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22zendeskAccountItemForm.keyContent.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22zendeskAccountItemForm.variableName.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22zendeskAccountItemForm.customField.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22zendeskAccountItemForm.customField.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.newItem\x22\x20ng-click=\x22vm.addNewItem()\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20ng-disabled=\x22zendeskAccountItemForm.$invalid\x20||\x20zendeskAccountItemForm.$pristine\x22\x20aria-label=\x22ADD\x22\x20translate=\x22INTEGRATIONS.ADD\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22zendeskAccountItemForm.type.$error\x22\x20ng-show=\x22zendeskAccountItemForm.type.$touched\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22zendeskAccountItemForm.option.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22zendeskAccountItemForm.content.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22zendeskAccountItemForm.content.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22zendeskAccountItemForm.variableName.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22zendeskAccountItemForm.type.$error\x22\x20ng-show=\x22zendeskAccountItemForm.type.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22zendeskAccountItemForm.content.$error\x22\x0a','\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22zendeskAccountItemForm.variableName.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22zendeskAccountItemForm.variableName.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22goto-zendeskAccounts-button\x20md-icon-button\x22\x20aria-label=\x22Go\x20to\x20zendeskAccounts\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22INTEGRATIONS.GO_TO_ZENDESKACCOUNTS\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22zendeskAccount-image\x22\x20hide-xs>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<img\x20ng-src=\x22assets/images/business/zendeskAccounts.jpg\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.zendeskAccount.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22vm.zendeskAccount.name\x22>{{vm.zendeskAccount.name}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22INTEGRATIONS.CREATED_AT\x22></span>\x20<span>{{vm.zendeskAccount.createdAt\x20|\x20date:\x27medium\x27}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-click=\x22vm.saveZendeskAccount()\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20ng-disabled=\x22(generalForm.$invalid)\x20||\x20(zendeskConfigurationsForm.$invalid)\x22\x20translate=\x22INTEGRATIONS.SAVE\x22\x20translate-attr-aria-label=\x22INTEGRATIONS.SAVE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22zendeskAccount-detail-form-container\x20general\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22username\x22\x20\x20ng-model=\x22vm.zendeskAccount.username\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22INTEGRATIONS.TOKEN\x22>Token</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27token\x27].$error\x22\x20ng-show=\x22generalForm[\x27token\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22description\x22\x20\x20ng-model=\x22vm.zendeskAccount.description\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22zendeskAccount-detail-form-container\x20zendeskconfigurations\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22INTEGRATIONS.ZENDESKCONFIGURATIONS\x22>ZENDESKCONFIGURATIONS</div>\x0a','<div\x20ng-controller=\x22ZendeskAccountConfigurationsController\x20as\x20vm_cc\x22\x20ng-init=\x22vm_cc.init(vm.zendeskAccount,\x20vm.crudPermissions)\x22\x20layout=\x22row\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20flex=\x2225\x22\x20ng-if=\x22vm_cc.crudPermissions.canEdit\x22\x20ng-click=\x22vm_cc.createOrEditZendeskConfiguration($event)\x22\x20class=\x22md-icon-button\x22\x20aria-label=\x22create\x20zendeskConfiguration\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-list-item\x20layout=\x22row\x22\x20layout-align=\x22center\x20center\x22\x20ng-repeat=\x22zendeskConfiguration\x20in\x20vm_cc.zendeskConfigurations\x22\x20class=\x22border-top\x22\x20md-colors=\x22{background:\x20(vm_cc.selectedZendeskConfiguration\x20==\x20$index\x20?\x20\x27accent\x27\x20:\x20\x27grey-A100\x27)}\x22\x20ng-click=\x22vm_cc.getZendeskConfiguration($index)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22text-truncate\x22\x20flex=\x2280\x22>{{\x20zendeskConfiguration.name\x20}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm_cc.deleteZendeskConfiguration($event,\x20zendeskConfiguration)\x22\x20translate=\x22INTEGRATIONS.DELETE_ZENDESKCONFIGURATION\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20ZendeskConfiguration\x0a','\x20\x20\x20\x20\x20\x20<md-tabs\x20ng-if=\x22vm_cc.zendeskConfigurations.length\x22\x20md-dynamic-height>\x0a','\x20\x20\x20\x20\x20\x20<div\x20class=\x22padding-20\x22\x20ng-if=\x22!vm_cc.zendeskConfigurations.length\x20&&\x20vm_cc.crudPermissions.canEdit\x22\x20ng-click=\x22vm_cc.createOrEditZendeskConfiguration($event)\x22\x0a','<md-dialog\x20class=\x22zendeskConfiguration-dialog\x22\x20aria-label=\x22New\x20ZendeskConfiguration\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22zendeskConfigurationForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22\x22\x20name=\x22name\x22\x20\x20ng-model=\x22vm.zendeskConfiguration.name\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22zendeskConfigurationForm[\x27name\x27].$error\x22\x20ng-show=\x22zendeskConfigurationForm[\x27name\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22zendeskConfigurationForm[\x27channel\x27].$error\x22\x20ng-show=\x22zendeskConfigurationForm[\x27channel\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22type\x22\x20ng-model=\x22vm.zendeskConfiguration.type\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22zendeskConfigurationForm[\x27type\x27].$error\x22\x20ng-show=\x22zendeskConfigurationForm[\x27type\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20!vm.newZendeskConfiguration\x22\x20ng-click=\x22vm.saveZendeskConfiguration()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.newZendeskConfiguration\x22\x20ng-click=\x22vm.addNewZendeskConfiguration()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22zendeskConfigurationForm.$invalid\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22INTEGRATIONS.ADD_ZENDESKCONFIGURATION\x22\x20translate-attr-aria-label=\x22INTEGRATIONS.ADD_ZENDESKCONFIGURATION\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20ZENDESKCONFIGURATION\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x20&&\x20!vm.newZendeskConfiguration\x22\x20ng-click=\x22vm.deleteZendeskConfiguration($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22logo-text\x22\x20translate=\x22INTEGRATIONS.ZENDESKACCOUNTS\x22>ZendeskAccounts</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22close-button-wrapper\x22\x20ng-click=\x22vm.selectedZendeskAccounts\x20=[]\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22selected-zendeskAccounts-count\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.selectAllZendeskAccounts()\x22\x20translate=\x22INTEGRATIONS.SELECT_ALL\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deselectZendeskAccounts()\x22\x20translate=\x22INTEGRATIONS.SELECT_NONE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-icon-button\x22\x20ng-csv=\x22vm.exportSelectedZendeskAccounts\x22\x20csv-label=\x22true\x22\x20filename=\x22zendeskAccounts.csv\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<table\x20md-table\x20\x20md-row-select\x20multiple\x20\x20\x20ng-model=\x22vm.selectedZendeskAccounts\x22\x20md-progress=\x22vm.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm.zendeskAccounts.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22zendeskAccount.userpic\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{zendeskAccount.name}}\x22\x20ng-src=\x22api/users/{{zendeskAccount.id}}/avatar\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22!zendeskAccount.userpic\x20&&\x20(vm.table\x20==\x20\x27users\x27\x20||\x20vm.table\x20==\x20\x27agents\x27)\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{zendeskAccount.name}}\x22\x20ng-src=\x22assets/images/avatars/profile.png\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(zendeskAccount,\x20ev)\x20:\x20vm.createOrEditZendeskAccount($event,\x20zendeskAccount)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22name\x20\x22\x20>{{zendeskAccount.name}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(zendeskAccount,\x20ev)\x20:\x20vm.createOrEditZendeskAccount($event,\x20zendeskAccount)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22username\x20\x22\x20>{{zendeskAccount.username}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22remoteUri\x20\x22\x20>{{zendeskAccount.remoteUri}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22INTEGRATIONS.EDIT_ZENDESKACCOUNT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20ZendeskAccount\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22INTEGRATIONS.TEST_ZENDESKACCOUNT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Test\x20ZendeskAccount\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22INTEGRATIONS.DELETE_ZENDESKACCOUNT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20ZendeskAccount\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27INTEGRATIONS.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27INTEGRATIONS.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27INTEGRATIONS.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm.query.page\x22\x20md-total=\x22{{vm.zendeskAccounts.count}}\x22\x20md-on-paginate=\x22vm.getZendeskAccounts\x22\x20md-page-select></md-table-pagination>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20ZENDESKACCOUNT\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20ADD\x20ZENDESKACCOUNT\x20BUTTON\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20zendeskAccount\x22\x20translate\x20translate-attr-aria-label=\x22INTEGRATIONS.ADD_ZENDESKACCOUNT\x22>\x0a','\x20\x20\x20\x20<!--\x20/\x20ADD\x20ZENDESKACCOUNT\x20BUTTON\x20-->\x0a','<md-dialog\x20class=\x22zohoAccount-dialog\x22\x20aria-label=\x22New\x20ZohoAccount\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22name\x22\x20\x20ng-model=\x22vm.zohoAccount.name\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>zoho.com</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27zoho.eu\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>zoho.eu</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22zohoAccountForm[\x27host\x27].$error\x22\x20ng-show=\x22zohoAccountForm[\x27host\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22INTEGRATIONS.ZONE\x22>Zone</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22zone\x22\x20ng-model=\x22vm.zohoAccount.zone\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27US\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>US</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27AU\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>AU</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27EU\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>EU</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27IN\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>IN</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27CN\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>CN</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22INTEGRATIONS.HELP.ZONE\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22zohoAccountForm[\x27zone\x27].$error\x22\x20ng-show=\x22zohoAccountForm[\x27zone\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22INTEGRATIONS.ERRORS.ZONE_REQUIRED\x22>Zone\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22clientSecret\x22\x20\x20ng-model=\x22vm.zohoAccount.clientSecret\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22INTEGRATIONS.HELP.CLIENTSECRET\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22INTEGRATIONS.CODE\x22>Code</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22code\x22\x20\x20ng-model=\x22vm.zohoAccount.code\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22zohoAccountForm[\x27code\x27].$error\x22\x20ng-show=\x22zohoAccountForm[\x27code\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22zohoAccountForm[\x27serverUrl\x27].$error\x22\x20ng-show=\x22zohoAccountForm[\x27serverUrl\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22description\x22\x20\x20ng-model=\x22vm.zohoAccount.description\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22zohoAccountForm[\x27description\x27].$error\x22\x20ng-show=\x22zohoAccountForm[\x27description\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20!vm.newZohoAccount\x22\x20ng-click=\x22vm.saveZohoAccount()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22zohoAccountForm.$invalid\x20||\x20zohoAccountForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22zohoAccountForm.$invalid\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22INTEGRATIONS.ADD_ZOHOACCOUNT\x22\x20translate-attr-aria-label=\x22INTEGRATIONS.ADD_ZOHOACCOUNT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20ZOHOACCOUNT\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x20&&\x20!vm.newZohoAccount\x22\x20ng-click=\x22vm.deleteZohoAccount($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x0a','<md-dialog\x20class=\x22zohoConfiguration-dialog\x22\x20aria-label=\x22New\x20ZohoConfiguration\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22zohoConfigurationForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22channel\x22\x20ng-model=\x22vm.zohoConfiguration.channel\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22zohoConfigurationForm[\x27channel\x27].$error\x22\x20ng-show=\x22zohoConfigurationForm[\x27channel\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22type\x22\x20ng-model=\x22vm.zohoConfiguration.type\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20!vm.newZohoConfiguration\x22\x20ng-click=\x22vm.saveZohoConfiguration()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22zohoConfigurationForm.$invalid\x20||\x20zohoConfigurationForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22zohoConfigurationForm.$invalid\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22INTEGRATIONS.ADD_ZOHOCONFIGURATION\x22\x20translate-attr-aria-label=\x22INTEGRATIONS.ADD_ZOHOCONFIGURATION\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20ZOHOCONFIGURATION\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x20&&\x20!vm.newZohoConfiguration\x22\x20ng-click=\x22vm.deleteZohoConfiguration($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x0a','<md-dialog\x20class=\x22zohoAccount-item-dialog\x22\x20aria-label=\x22New\x20Item\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22zohoAccountItemForm.type.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22zohoAccountItemForm.content.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22zohoAccountItemForm.key.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22zohoAccountItemForm.key.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22zohoAccountItemForm.keyType.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22zohoAccountItemForm.keyType.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22zohoAccountItemForm.keyContent.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22zohoAccountItemForm.keyContent.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22zohoAccountItemForm.variableName.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22zohoAccountItemForm.customField.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20!vm.newItem\x22\x20ng-click=\x22vm.saveItem()\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20ng-disabled=\x22zohoAccountItemForm.$invalid\x20||\x20zohoAccountItemForm.$pristine\x22\x20aria-label=\x22SAVE\x22\x20translate=\x22INTEGRATIONS.SAVE\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.newItem\x22\x20ng-click=\x22vm.addNewItem()\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20ng-disabled=\x22zohoAccountItemForm.$invalid\x20||\x20zohoAccountItemForm.$pristine\x22\x20aria-label=\x22ADD\x22\x20translate=\x22INTEGRATIONS.ADD\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22zohoAccountItemForm.type.$error\x22\x20ng-show=\x22zohoAccountItemForm.type.$touched\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22zohoAccountItemForm.content.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22zohoAccountItemForm.content.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22zohoAccountItemForm.variableName.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22zohoAccountItemForm.variableName.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22zohoAccountItemForm.content.$error\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22zohoAccountItemForm.variableName.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22goto-zohoAccounts-button\x20md-icon-button\x22\x20aria-label=\x22Go\x20to\x20zohoAccounts\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.gotoZohoAccounts()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22INTEGRATIONS.GO_TO_ZOHOACCOUNTS\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22zohoAccount-image\x22\x20hide-xs>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<img\x20ng-src=\x22assets/images/business/zohoAccounts.jpg\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.zohoAccount.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22vm.zohoAccount.name\x22>{{vm.zohoAccount.name}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-click=\x22vm.saveZohoAccount()\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20ng-disabled=\x22(generalForm.$invalid)\x20||\x20(configurationsForm.$invalid)\x22\x20translate=\x22INTEGRATIONS.SAVE\x22\x20translate-attr-aria-label=\x22INTEGRATIONS.SAVE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22zohoAccount-detail-form-container\x20general\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27host\x27].$error\x22\x20ng-show=\x22generalForm[\x27host\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27zone\x27].$error\x22\x20ng-show=\x22generalForm[\x27zone\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22clientId\x22\x20\x20ng-model=\x22vm.zohoAccount.clientId\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22INTEGRATIONS.HELP.CLIENTID\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22INTEGRATIONS.HELP.CODE\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27code\x27].$error\x22\x20ng-show=\x22generalForm[\x27code\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22INTEGRATIONS.ERRORS.CODE_REQUIRED\x22>Code\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27refreshToken\x27].$error\x22\x20ng-show=\x22generalForm[\x27refreshToken\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22INTEGRATIONS.ERRORS.REFRESHTOKEN_REQUIRED\x22>RefreshToken\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22url\x22\x20name=\x22serverUrl\x22\x20\x20ng-model=\x22vm.zohoAccount.serverUrl\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22zohoAccount-detail-form-container\x20configurations\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20flex=\x2225\x22\x20ng-if=\x22vm_cc.crudPermissions.canEdit\x22\x20ng-click=\x22vm_cc.createOrEditZohoConfiguration($event)\x22\x20class=\x22md-icon-button\x22\x20aria-label=\x22create\x20zohoConfiguration\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-list-item\x20layout=\x22row\x22\x20layout-align=\x22center\x20center\x22\x20ng-repeat=\x22zohoConfiguration\x20in\x20vm_cc.configurations\x22\x20class=\x22border-top\x22\x20md-colors=\x22{background:\x20(vm_cc.selectedZohoConfiguration\x20==\x20$index\x20?\x20\x27accent\x27\x20:\x20\x27grey-A100\x27)}\x22\x20ng-click=\x22vm_cc.getZohoConfiguration($index)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22text-truncate\x22\x20flex=\x2280\x22>{{\x20zohoConfiguration.name\x20}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm_cc.deleteZohoConfiguration($event,\x20zohoConfiguration)\x22\x20translate=\x22INTEGRATIONS.DELETE_ZOHOCONFIGURATION\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20ng-model=\x22vm_cc.zohoConfiguration.moduleSearch\x22\x20ng-change=\x22vm_cc.selectChangedAdvanced()\x22\x20ng-disabled=\x22!vm_cc.crudPermissions.canEdit\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20ng-model=\x22vm_cc.zohoConfiguration.moduleCreate\x22\x20ng-change=\x22vm_cc.selectChangedAdvanced()\x22\x20ng-disabled=\x22!vm_cc.crudPermissions.canEdit\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20<div\x20class=\x22padding-20\x22\x20ng-if=\x22!vm_cc.configurations.length\x20&&\x20vm_cc.crudPermissions.canEdit\x22\x20ng-click=\x22vm_cc.createOrEditZohoConfiguration($event)\x22\x0a','<div\x20id=\x22zohoAccounts\x22\x20class=\x22page-layout\x20simple\x20left-sidenav\x20inner-sidenav\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22logo-text\x22\x20translate=\x22INTEGRATIONS.ZOHOACCOUNTS\x22>ZohoAccounts</span>\x0a','\x20\x20\x20\x20<div\x20ng-show=\x22vm.selectedZohoAccounts.length\x20>\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22selected-zohoAccounts-count\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>{{vm.selectedZohoAccounts.length}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-icon-button\x22\x20ng-csv=\x22vm.exportSelectedZohoAccounts\x22\x20csv-label=\x22true\x22\x20filename=\x22zohoAccounts.csv\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x22\x20ng-click=\x22vm.deleteSelectedZohoAccounts($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20ZOHOACCOUNT\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<table\x20md-table\x20\x20md-row-select\x20multiple\x20\x20\x20ng-model=\x22vm.selectedZohoAccounts\x22\x20md-progress=\x22vm.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm.query.sort\x22\x20md-on-reorder=\x22vm.getZohoAccounts\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22zone\x22>{{\x20\x27INTEGRATIONS.ZONE\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22zohoAccount\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22zohoAccount\x20in\x20vm.zohoAccounts.rows\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22zohoAccount.userpic\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{zohoAccount.name}}\x22\x20ng-src=\x22api/users/{{zohoAccount.id}}/avatar\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(zohoAccount,\x20ev)\x20:\x20vm.createOrEditZohoAccount($event,\x20zohoAccount)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22id\x20\x22\x20>{{zohoAccount.id}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(zohoAccount,\x20ev)\x20:\x20vm.createOrEditZohoAccount($event,\x20zohoAccount)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22name\x20\x22\x20>{{zohoAccount.name}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(zohoAccount,\x20ev)\x20:\x20vm.createOrEditZohoAccount($event,\x20zohoAccount)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22host\x20\x22>{{\x20vm.arrayhost[zohoAccount.host].option\x20}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(zohoAccount,\x20ev)\x20:\x20vm.createOrEditZohoAccount($event,\x20zohoAccount)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22zone\x20\x22>{{\x20vm.arrayzone[zohoAccount.zone].option\x20}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22INTEGRATIONS.EDIT_ZOHOACCOUNT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20ZohoAccount\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.testtestintegrationaccount(zohoAccount,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22INTEGRATIONS.TEST_ZOHOACCOUNT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deleteconfirm(zohoAccount,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27INTEGRATIONS.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27INTEGRATIONS.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27INTEGRATIONS.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm.query.page\x22\x20md-total=\x22{{vm.zohoAccounts.count}}\x22\x20md-on-paginate=\x22vm.getZohoAccounts\x22\x20md-page-select></md-table-pagination>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20ZOHOACCOUNT\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20ADD\x20ZOHOACCOUNT\x20BUTTON\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20zohoAccount\x22\x20translate\x20translate-attr-aria-label=\x22INTEGRATIONS.ADD_ZOHOACCOUNT\x22>\x0a','\x20\x20\x20\x20<!--\x20/\x20ADD\x20ZOHOACCOUNT\x20BUTTON\x20-->\x0a','<md-dialog\x20class=\x22project-dialog\x22\x20aria-label=\x22New\x20Project\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22projectForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22JSCRIPTY.NAME\x22>Name</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22name\x22\x20\x20ng-model=\x22vm.project.name\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.newProject\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22JSCRIPTY.HELP.NAME\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22projectForm[\x27name\x27].$error\x22\x20ng-show=\x22projectForm[\x27name\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22JSCRIPTY.ERRORS.NAME_REQUIRED\x22>Name\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22JSCRIPTY.ERRORS.NAME_MUST_VALID_PATTERN\x22\x20translate-values=\x22{\x20regex:\x20\x27/^[A-Za-z0-9\x5c.\x5c_]+$/i\x27\x20}\x22>Name\x20must\x20be\x20valid\x20pattern\x20</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22description\x22\x20\x20ng-model=\x22vm.project.description\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22projectForm[\x27description\x27].$error\x22\x20ng-show=\x22projectForm[\x27description\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22JSCRIPTY.ERRORS.DESCRIPTION_REQUIRED\x22>Description\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20!vm.newProject\x22\x20ng-click=\x22vm.saveProject()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22projectForm.$invalid\x20||\x20projectForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22JSCRIPTY.SAVE\x22\x20translate-attr-aria-label=\x22JSCRIPTY.SAVE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.newProject\x22\x20ng-click=\x22vm.addNewProject()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22projectForm.$invalid\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22JSCRIPTY.ADD_PROJECT\x22\x20translate-attr-aria-label=\x22JSCRIPTY.ADD_PROJECT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20PROJECT\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x20&&\x20!vm.newProject\x22\x20ng-click=\x22vm.deleteProject($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22JSCRIPTY.DELETE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip><span\x20translate=\x22JSCRIPTY.DELETE\x22>DELETE</span></md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-click=\x22vm.cloneProject()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22projectForm.$invalid\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22CLONE\x22\x20translate=\x22JSCRIPTY.CLONE_PROJECT\x22\x20translate-attr-aria-label=\x22JSCRIPTY.CLONE_PROJECT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CLONE\x20PROJECT\x0a','\x20\x20\x20\x20<form\x20name=\x22sessionForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-list>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-subheader\x20class=\x22md-no-sticky\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22margin-bottom-5\x22><span\x20translate=\x22JSCRIPTY.ANSWERS\x22>Answers</span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22subtitle\x20secondary-text\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22JSCRIPTY.STARTTIME\x22\x20class=\x22ng-scope\x20font-weight-700\x22>Start\x20Time</span>:\x20<span\x20class=\x22ng-binding\x22>{{vm.session.starttime\x20|\x20date:\x27medium\x27}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22JSCRIPTY.MEMBERNAME\x22\x20class=\x22ng-scope\x20font-weight-700\x22>Member\x20Name</span>:\x20<span\x20class=\x22ng-binding\x22>{{vm.session.membername}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22JSCRIPTY.PROJECT\x22\x20class=\x22ng-scope\x20font-weight-700\x22>Project</span>:\x20<span\x20class=\x22ng-binding\x22>{{vm.project.name}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-subheader>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-list-item\x20ng-if=\x22vm.questions.rows.length\x22\x20class=\x22md-2-line\x20contact-item\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-repeat=\x22question\x20in\x20vm.questions.rows\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22md-list-item-text\x20compact\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-divider\x20ng-if=\x22!$last\x22></md-divider>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-list-item>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-list-item\x20ng-if=\x22!vm.questions.rows.length\x22\x20class=\x22md-2-line\x20contact-item\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22md-list-item-text\x20compact\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-list>\x0a','<div\x20id=\x22jscripty-project\x22\x20class=\x22page-layout\x20simple\x20tabbed\x22\x20layout=\x22column\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.gotoProjects()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22project-image\x22\x20hide-xs>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<img\x20ng-src=\x22assets/images/business/projects.jpg\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.project.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22vm.project.name\x22>{{vm.project.name}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22JSCRIPTY.CREATED_AT\x22></span>\x20<span>{{vm.project.createdAt\x20|\x20date:\x27medium\x27}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-cloak\x20ng-if=\x22vm.crudPermissions.canEdit\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.clonedialog(vm.project,\x20$event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-content-duplicate\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-click=\x22vm.saveProject()\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20ng-disabled=\x22(generalForm.$invalid)\x20||\x20(builderForm.$invalid)\x20||\x20(previewForm.$invalid)\x20||\x20(sessionsForm.$invalid)\x20||\x20(answersForm.$invalid)\x22\x20translate=\x22JSCRIPTY.SAVE\x22\x20translate-attr-aria-label=\x22JSCRIPTY.SAVE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22JSCRIPTY.SETTINGS\x22>SETTINGS</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22JSCRIPTY.GENERAL\x22>GENERAL</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.project.enableUncompleteSave\x22\x20aria-label=\x22EnableUncompleteSave\x22\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20><span\x20translate=\x22JSCRIPTY.ENABLEUNCOMPLETESAVE\x22>EnableUncompleteSave</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.project.sendUnpauseOnSubmit\x22\x20aria-label=\x22SendUnpauseOnSubmit\x22\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20><span\x20translate=\x22JSCRIPTY.SENDUNPAUSEONSUBMIT\x22>SendUnpauseOnSubmit</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22JSCRIPTY.HELP.SENDUNPAUSEONSUBMIT\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22JSCRIPTY.DESCRIPTION\x22>Description</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22JSCRIPTY.BUILDER\x22>BUILDER</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-controller=\x22ProjectBuilderController\x20as\x20vm_bc\x22\x20ng-init=\x22vm_bc.init(vm.project)\x22>\x0a','\x20\x20<mw-form-builder\x20ng-if=\x22vm_bc.project.formData\x22\x20form-data=\x22vm_bc.project.formData\x22\x20options=\x22vm_bc.optionsBuilder\x22\x20read-only=\x22false\x22></mw-form-builder>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22project-detail-form-container\x20preview\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20<div\x20layout=\x22row\x22\x20layout-align=\x22center\x22>\x0a','\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-raised\x20md-accent\x22\x20aria-label=\x22Reset\x22\x20ng-click=\x22vm_vc.resetViewer()\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Reset\x0a','\x20\x20<mw-form-viewer\x20ng-if=\x22vm_vc.project.formData\x22\x20form-data=\x22vm_vc.project.formData\x22\x20response-data=\x22vm_vc.responseData\x22\x20on-submit=\x22vm_vc.onSubmit($event)\x22\x20api=\x22vm_vc.formViewer\x22></mw-form-viewer>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22JSCRIPTY.SESSIONS\x22>SESSIONS</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-controller=\x22ProjectSessionsController\x20as\x20vm_dc\x22\x20ng-init=\x22vm_dc.init(vm.project,\x20vm.crudPermissions)\x22>\x0a','\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-accent\x22\x20ng-show=\x22vm_dc.selectedProjectSessions.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-icon-button\x22\x20ng-csv=\x22vm_dc.exportSelectedProjectSessions\x22\x20csv-label=\x22true\x22\x20filename=\x22projects.csv\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22vm_dc.crudPermissions.canDelete\x22\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm_dc.deleteSelectedProjectSessions($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22JSCRIPTY.DELETE_SELECTED\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm_dc.query.sort\x22\x20md-on-reorder=\x22vm_dc.getProjectSessions\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27JSCRIPTY.ID\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22starttime\x22\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27JSCRIPTY.STARTTIME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22endtime\x22\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27JSCRIPTY.ENDTIME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22membername\x22\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27JSCRIPTY.MEMBERNAME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22calleridnum\x22\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22completed\x22\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27JSCRIPTY.COMPLETE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22session\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22session\x20in\x20vm_dc.projectSessions.rows\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{session.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20session.starttime\x20|\x20formatdate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20session.endtime\x20|\x20formatdate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{session.membername}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{session.calleridnum}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20aria-label=\x22More\x22\x20translate\x20translate-attr-aria-label=\x22JSCRIPTY.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-item>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm_dc.showQuestionsProjectSession($event,\x20session)\x22\x20translate=\x22JSCRIPTY.SHOW_QUESTIONS_SESSION\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-item\x20ng-if=\x22vm_dc.crudPermissions.canDelete\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm_dc.deleteConfirm(session,\x20$event)\x22\x20translate=\x22JSCRIPTY.DELETE_SESSION\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Session\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-if=\x22!vm_dc.projectSessions.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20colspan=\x228\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22text-boxed-light\x22\x20translate=\x22JSCRIPTY.NO_SESSION_AVAILABLE\x22>No\x20session\x20available</span>\x0a','\x20\x20\x20\x20<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27JSCRIPTY.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27JSCRIPTY.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27JSCRIPTY.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm_dc.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm_dc.query.page\x22\x20md-total=\x22{{vm_dc.projectSessions.count}}\x22\x20md-on-paginate=\x22vm_dc.getProjectSessions\x22\x20md-page-select></md-table-pagination>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22JSCRIPTY.ANSWERS\x22>ANSWERS</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22project-detail-form-container\x20answers\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-controller=\x22ProjectAnswersController\x20as\x20vm_an\x22\x20ng-init=\x22vm_an.init(vm.project)\x22>\x0a','\x20\x20<div\x20class=\x22pb-16\x22\x20layout=\x22row\x22\x20layout-align=\x22space-between\x20center\x22>\x0a','\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22JSCRIPTY.ANSWERS\x22>Answers</div>\x0a','\x20\x20\x20\x20<md-date-range\x20localization-map=\x22vm_an.localizationMap\x22\x20ng-model=\x22vm_an.pickerModel\x22\x20auto-confirm=\x22true\x22\x20show-template=\x22true\x22\x20md-on-select=\x22vm_an.getAnswers()\x22\x20placeholder=\x22{{\x20\x27DASHBOARDS.ALL\x27\x20|\x20translate\x20}}\x22></md-date-range>\x0a','\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-file-excel\x22\x20class=\x22md-default-theme\x20md-font\x20material-icons\x20icon-file-excel\x22></md-icon>\x0a','\x20\x20<div\x20layout=\x22row\x22>\x0a','\x20\x20\x20\x20<md-card\x20class=\x22md-whiteframe-1dp\x22\x20ng-if=\x22vm_an.answers\x20&&\x20vm_an.hasIdAnswers\x22\x20flex>\x0a','\x20\x20\x20\x20\x20\x20<md-list>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-list-item\x20class=\x22md-2-line\x20contact-item\x22\x20ng-repeat=\x22(key,\x20question)\x20in\x20vm_an.answers\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22md-list-item-text\x20compact\x22\x20layout-padding>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h3>{{question.question}}</h3>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-table-container>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column></th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>#</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>%</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</tr>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-repeat=\x22(key,\x20value)\x20in\x20question.answers\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell>{{key}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20width=\x2220px\x22>{{value}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell><b>{{\x27JSCRIPTY.TOTAL\x27\x20|\x20translate}}</b></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20width=\x2220px\x22><b>{{question.sum}}</b></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20width=\x2220px\x22><b>100</b></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-divider\x20ng-if=\x22!$last\x22></md-divider>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20</md-list-item>\x0a','\x20\x20\x20\x20\x20\x20</md-list>\x0a','\x20\x20\x20\x20<span\x20ng-if=\x22!vm_an.answers\x20||\x20!vm_an.hasIdAnswers\x22\x20class=\x22text-boxed-light\x22\x20translate=\x22JSCRIPTY.NO_ANSWERS_AVAILABLE\x22>No\x20answers\x20available</span>\x0a','<div\x20id=\x22projects\x22\x20class=\x22page-layout\x20simple\x20left-sidenav\x20inner-sidenav\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-script\x22\x20class=\x22s24\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22logo-text\x22\x20translate=\x22JSCRIPTY.PROJECTS\x22>Projects</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20id=\x22search\x22\x20placeholder=\x22Search\x20for\x20anyone\x22\x20type=\x22text\x22\x20ng-model=\x22vm.query.filter\x22\x20ng-model-options=\x22{\x20debounce:\x201000\x20}\x22\x20translate\x20translate-attr-placeholder=\x22JSCRIPTY.SEARCH_FOR_ANYONE\x22>\x0a','\x20\x20\x20\x20<div\x20ng-show=\x22vm.selectedProjects.length\x20>\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22close-button-wrapper\x22\x20ng-click=\x22vm.selectedProjects\x20=[]\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22JSCRIPTY.BACK\x22>Back</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22selected-projects-count\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22JSCRIPTY.SELECTED\x22>selected</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.selectAllProjects()\x22\x20translate=\x22JSCRIPTY.SELECT_ALL\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deselectProjects()\x22\x20translate=\x22JSCRIPTY.SELECT_NONE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x22\x20ng-click=\x22vm.deleteSelectedProjects($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<table\x20md-table\x20\x20md-row-select\x20multiple\x20\x20\x20ng-model=\x22vm.selectedProjects\x22\x20md-progress=\x22vm.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22id\x22>{{\x20\x27JSCRIPTY.ID\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22name\x22>{{\x20\x27JSCRIPTY.NAME\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22JSCRIPTY.NO_AVAILABLE_INFO\x22>No\x20Available\x20Info</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22!project.userpic\x20&&\x20(vm.table\x20==\x20\x27users\x27\x20||\x20vm.table\x20==\x20\x27agents\x27)\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{project.name}}\x22\x20ng-src=\x22assets/images/avatars/profile.png\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(project,\x20ev)\x20:\x20vm.createOrEditProject($event,\x20project)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(project,\x20ev)\x20:\x20vm.createOrEditProject($event,\x20project)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22name\x20\x22\x20>{{project.name}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22createdAt\x20\x22>{{project.createdAt\x20|\x20date:\x27medium\x27\x20}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.editstate(project,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22JSCRIPTY.EDIT_PROJECT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.clonedialog(project,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22JSCRIPTY.CLONE_PROJECT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20clone\x20Project\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.sessionsgoto(project,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22JSCRIPTY.SESSIONS_PROJECT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deleteconfirm(project,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22JSCRIPTY.DELETE_PROJECT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27JSCRIPTY.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27JSCRIPTY.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27JSCRIPTY.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm.query.page\x22\x20md-total=\x22{{vm.projects.count}}\x22\x20md-on-paginate=\x22vm.getProjects\x22\x20md-page-select></md-table-pagination>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20ADD\x20PROJECT\x20BUTTON\x20-->\x0a','\x20\x20\x20\x20<md-button\x20ng-if=\x22vm.crudPermissions.canEdit\x22\x20class=\x22md-fab\x20md-accent\x22\x20id=\x22add-project-button\x22\x20ng-click=\x22vm.createOrEditProject($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20project\x22\x20translate\x20translate-attr-aria-label=\x22JSCRIPTY.ADD_PROJECT\x22>\x0a','<md-dialog\x20class=\x22mailAccount-dialog\x22\x20aria-label=\x22New\x20MailAccount\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22mailAccountForm[\x27name\x27].$error\x22\x20ng-show=\x22mailAccountForm[\x27name\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MAIL.ERRORS.NAME_REQUIRED\x22>Name\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MAIL.KEY\x22>key</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22mailAccountForm[\x27key\x27].$error\x22\x20ng-show=\x22mailAccountForm[\x27key\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MAIL.ERRORS.KEY_REQUIRED\x22>key\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MAIL.ERRORS.KEY_MAX_LENGTH\x22\x20translate-values=\x27{max:\x205}\x27>key\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x205</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MAIL.EMAIL_ADDRESS\x22>Email_Address</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22email\x22\x20name=\x22email\x22\x20\x20ng-model=\x22vm.mailAccount.email\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22mailAccountForm[\x27email\x27].$error\x22\x20ng-show=\x22mailAccountForm[\x27email\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MAIL.ERRORS.EMAIL_ADDRESS_REQUIRED\x22>Email_Address\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MAIL.ERRORS.EMAIL_ADDRESS_MUST_VALID\x22>Email_Address\x20must\x20be\x20a\x20valid\x20e-mail\x20address</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22ListId\x22\x20ng-model=\x22vm.mailAccount.ListId\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22mailAccountForm[\x27ListId\x27].$error\x22\x20ng-show=\x22mailAccountForm[\x27ListId\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MAIL.ERRORS.LIST_REQUIRED\x22>List\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.mailAccount.active\x22\x20aria-label=\x22Active\x22\x20><span\x20translate=\x22MAIL.ACTIVE\x22>Active</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MAIL.SERVICE\x22>Service</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22cservice\x22\x20ng-model=\x22vm.mailAccount.cservice\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22null\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Custom</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27gmail\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Gmail</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27hotmail\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Hotmail</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27yahoo\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Yahoo</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Outlook365</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22mailAccountForm[\x27cservice\x27].$error\x22\x20ng-show=\x22mailAccountForm[\x27cservice\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MAIL.ERRORS.SERVICE_REQUIRED\x22>Service\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22(vm.newMailAccount\x20&&\x20vm.mailAccount.cservice\x20==\x20null)\x20||\x20(vm.newMailAccount\x20==\x20undefined\x20&&\x20vm.mailAccount.Imap.service\x20==\x20null)\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MAIL.IMAP_HOST\x22>IMAP_Host</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22mailAccountForm[\x27Imap.host\x27].$error\x22\x20ng-show=\x22mailAccountForm[\x27Imap.host\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MAIL.ERRORS.IMAP_HOST_REQUIRED\x22>IMAP_Host\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22(vm.newMailAccount\x20&&\x20vm.mailAccount.cservice\x20==\x20null)\x20||\x20(vm.newMailAccount\x20==\x20undefined\x20&&\x20vm.mailAccount.Imap.service\x20==\x20null)\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MAIL.IMAP_PORT\x22>IMAP_Port</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22Imap.port\x22\x20\x20ng-model=\x22vm.mailAccount.Imap.port\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22mailAccountForm[\x27Imap.port\x27].$error\x22\x20ng-show=\x22mailAccountForm[\x27Imap.port\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MAIL.ERRORS.IMAP_PORT_REQUIRED\x22>IMAP_Port\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MAIL.SMTP_HOST\x22>SMTP_Host</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22Smtp.host\x22\x20\x20ng-model=\x22vm.mailAccount.Smtp.host\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22mailAccountForm[\x27Smtp.host\x27].$error\x22\x20ng-show=\x22mailAccountForm[\x27Smtp.host\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MAIL.ERRORS.SMTP_HOST_REQUIRED\x22>SMTP_Host\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22(vm.newMailAccount\x20&&\x20vm.mailAccount.cservice\x20==\x20null)\x20||\x20(vm.newMailAccount\x20==\x20undefined\x20&&\x20vm.mailAccount.Smtp.service\x20==\x20null)\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MAIL.SMTP_PORT\x22>SMTP_Port</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22Smtp.port\x22\x20\x20ng-model=\x22vm.mailAccount.Smtp.port\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22mailAccountForm[\x27Smtp.port\x27].$error\x22\x20ng-show=\x22mailAccountForm[\x27Smtp.port\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MAIL.ERRORS.SMTP_PORT_REQUIRED\x22>SMTP_Port\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.mailAccount.cservice\x20!==\x20undefined\x20&&\x20vm.mailAccount.cservice\x20==\x20null\x20&&\x20vm.newMailAccount\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.mailAccount.cauthentication\x22\x20aria-label=\x22Authentication\x22\x20><span\x20translate=\x22MAIL.AUTHENTICATION\x22>Authentication</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22(vm.mailAccount.cauthentication\x20==\x20true\x20||\x20vm.mailAccount.cservice\x20!=\x20null)\x20&&\x20vm.newMailAccount\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22cuser\x22\x20\x20ng-model=\x22vm.mailAccount.cuser\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22mailAccountForm[\x27cuser\x27].$error\x22\x20ng-show=\x22mailAccountForm[\x27cuser\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MAIL.ERRORS.USERNAME_REQUIRED\x22>Username\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20class=\x22md-block\x22\x20\x20ng-if=\x22(vm.mailAccount.cauthentication\x20==\x20true\x20||\x20vm.mailAccount.cservice\x20!=\x20null)\x20&&\x20vm.newMailAccount\x22\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MAIL.PASSWORD\x22>Password</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-placeholder=\x22MAIL.PASSWORD\x22\x20\x20required\x20\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MAIL.ERRORS.PASSWORD_REQUIRED\x22>Password\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MAIL.DESCRIPTION\x22>Description</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22mailAccountForm[\x27description\x27].$error\x22\x20ng-show=\x22mailAccountForm[\x27description\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MAIL.ERRORS.DESCRIPTION_REQUIRED\x22>Description\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20!vm.newMailAccount\x22\x20ng-click=\x22vm.saveMailAccount()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.newMailAccount\x22\x20ng-click=\x22vm.addNewMailAccount()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22mailAccountForm.$invalid\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22MAIL.ADD_MAILACCOUNT\x22\x20translate-attr-aria-label=\x22MAIL.ADD_MAILACCOUNT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x20&&\x20!vm.newMailAccount\x22\x20ng-click=\x22vm.deleteMailAccount($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22MAIL.DELETE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip><span\x20translate=\x22MAIL.DELETE\x22>DELETE</span></md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h2\x20translate=\x22MAIL.AGENTADD_MAILACCOUNT\x22>Add\x20Agent\x20to\x20mailAccount</h2>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MAIL.AGENT\x22>Agent</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22mailAccountFormApp[\x27agent\x27].$error\x22\x20ng-show=\x22mailAccountFormApp[\x27agent\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MAIL.ERRORS.AGENT_REQUIRED\x22>Agent\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MAIL.ERRORS.TIMEOUT_REQUIRED\x22>Timeout\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MAIL.ERRORS.TIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO\x22>Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>2147483</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-click=\x22vm.saveMailAccountApp()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22mailAccountFormApp.$invalid\x20||\x20mailAccountFormApp.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22MAIL.SAVE\x22\x20translate-attr-aria-label=\x22MAIL.SAVE\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22mailAccountFormApp\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MAIL.TIMES\x22>times</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x221\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22mailAccountFormApp[\x27times\x27].$error\x22\x20ng-show=\x22mailAccountFormApp[\x27times\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MAIL.ERRORS.TIMES_REQUIRED\x22>times\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20class=\x22md-caption\x20grey-fg\x22\x20translate=\x22MAIL.TEXT\x22>Text</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<textarea\x20aria-label=\x22Text\x20text\x22\x20ckeditor=\x22{\x20skin:\x20\x27office2013\x27,\x20language:\x20\x27en\x27,\x20allowedContent:\x20true,\x20extraPlugins:\x20\x27font,colorbutton,autoembed,autocorrect,googlethisterm,pastebase64\x27,\x20toolbarGroups:\x20[{\x20name:\x20\x27styles\x27,\x20groups:\x20[\x27styles\x27]\x20},\x20{\x20name:\x20\x27clipboard\x27,\x20groups:\x20[\x27undo\x27]\x20},\x20{\x20name:\x20\x27colors\x27,\x20groups:\x20[\x27colors\x27]\x20},\x20{\x20name:\x20\x27basicstyles\x27,\x20groups:\x20[\x27basicstyles\x27]\x20},\x20{\x20name:\x20\x27paragraph\x27,\x20groups:\x20[\x27list\x27,\x20\x27indent\x27,\x20\x27align\x27]\x20},\x20{\x20name:\x20\x27mode\x27\x20}],\x20autocorrect_enabled:\x20true,\x20disableNativeSpellChecker:\x20false,\x20fontSize_sizes:\x20\x278/8pt;9/9pt;10/10pt;11/11pt;12/12pt;14/14pt;16/16pt;18/18pt;20/20pt;22/22pt;24/24pt;26/26pt;28/28pt;36/36pt;48/48pt;72/72pt\x27,\x20\x20removePlugins:\x20\x27magicline\x27\x20}\x22\x20ng-model=\x22vm.autoreply.text\x22></textarea>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22mailAccountFormApp[\x27disposition\x27].$error\x22\x20ng-show=\x22mailAccountFormApp[\x27disposition\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MAIL.CONDITION\x22>Condition</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MAIL.ERRORS.CONDITION_REQUIRED\x22>Condition\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MAIL.ERRORS.TRUEPRIORITY_REQUIRED\x22>truepriority\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MAIL.ERRORS.TRUEPRIORITY_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>truepriority\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>1</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MAIL.FALSEPRIORITY\x22>falsepriority</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22mailAccountFormApp[\x27falsepriority\x27].$error\x22\x20ng-show=\x22mailAccountFormApp[\x27falsepriority\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MAIL.ERRORS.FALSEPRIORITY_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>falsepriority\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>1</span>\x0a','app/main/apps/mail/views/mailAccounts/edit/apps/gotop/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MAIL.PRIORITY\x22>Priority</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22mailAccountFormApp[\x27priority\x27].$error\x22\x20ng-show=\x22mailAccountFormApp[\x27priority\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MAIL.ERRORS.PRIORITY_REQUIRED\x22>Priority\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MAIL.ERRORS.PRIORITY_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>Priority\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>0</span>\x0a','app/main/apps/mail/views/mailAccounts/edit/apps/interval/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20class=\x22md-block\x22\x20ng-if=\x22vm.type\x20===\x20\x27list\x27\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20MONTHDAY\x20END\x20-->\x0a','app/main/apps/mail/views/mailAccounts/edit/apps/noop/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MAIL.VALUE\x22>Value</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22mailAccountFormApp[\x27value\x27].$error\x22\x20ng-show=\x22mailAccountFormApp[\x27value\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MAIL.ERRORS.VALUE_REQUIRED\x22>Value\x20field\x20is\x20required</span>\x0a','app/main/apps/mail/views/mailAccounts/edit/apps/queue/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MAIL.QUEUE\x22>Queue</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22mailAccountFormApp[\x27queue\x27].$error\x22\x20ng-show=\x22mailAccountFormApp[\x27queue\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MAIL.TIMEOUT\x22>Timeout</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22mailAccountFormApp[\x27timeout\x27].$error\x22\x20ng-show=\x22mailAccountFormApp[\x27timeout\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MAIL.ERRORS.TIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>0</span>\x0a','app/main/apps/mail/views/mailAccounts/edit/apps/system/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MAIL.COMMAND\x22>Command</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MAIL.ERRORS.COMMAND_REQUIRED\x22>Command\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MAIL.VARIABLE\x22>Variable</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MAIL.ERRORS.VARIABLE_REQUIRED\x22>Variable\x20field\x20is\x20required</span>\x0a','app/main/apps/mail/views/mailAccounts/edit/apps/tag/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MAIL.TAG\x22>Tag</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MAIL.ERRORS.TAG_REQUIRED\x22>Tag\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20<form\x20name=\x22mailCannedAnswerForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22\x22\x20name=\x22key\x22\x20\x20ng-model=\x22vm.mailCannedAnswer.key\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MAIL.ERRORS.KEY_REQUIRED\x22>Key\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20class=\x22md-caption\x20grey-fg\x22\x20translate=\x22MAIL.VALUE\x22>Value</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<textarea\x20aria-label=\x22Value\x20value\x22\x20ckeditor=\x22{\x20skin:\x20\x27office2013\x27,\x20language:\x20\x27en\x27,\x20allowedContent:\x20true,\x20extraPlugins:\x20\x27font,colorbutton,autoembed,autocorrect,googlethisterm,pastebase64\x27,\x20toolbarGroups:\x20[{\x20name:\x20\x27styles\x27,\x20groups:\x20[\x27styles\x27]\x20},\x20{\x20name:\x20\x27clipboard\x27,\x20groups:\x20[\x27undo\x27]\x20},\x20{\x20name:\x20\x27colors\x27,\x20groups:\x20[\x27colors\x27]\x20},\x20{\x20name:\x20\x27basicstyles\x27,\x20groups:\x20[\x27basicstyles\x27]\x20},\x20{\x20name:\x20\x27paragraph\x27,\x20groups:\x20[\x27list\x27,\x20\x27indent\x27,\x20\x27align\x27]\x20},\x20{\x20name:\x20\x27mode\x27\x20}],\x20autocorrect_enabled:\x20true,\x20disableNativeSpellChecker:\x20false,\x20fontSize_sizes:\x20\x278/8pt;9/9pt;10/10pt;11/11pt;12/12pt;14/14pt;16/16pt;18/18pt;20/20pt;22/22pt;24/24pt;26/26pt;28/28pt;36/36pt;48/48pt;72/72pt\x27,\x20\x20removePlugins:\x20\x27magicline\x27\x20}\x22\x20ng-model=\x22vm.mailCannedAnswer.value\x22></textarea>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22description\x22\x20\x20ng-model=\x22vm.mailCannedAnswer.description\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20!vm.newMailCannedAnswer\x22\x20ng-click=\x22vm.saveMailCannedAnswer()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22mailCannedAnswerForm.$invalid\x20||\x20mailCannedAnswerForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.newMailCannedAnswer\x22\x20ng-click=\x22vm.addNewMailCannedAnswer()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22mailCannedAnswerForm.$invalid\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20MAILCANNEDANSWER\x0a','<md-dialog\x20class=\x22mailDisposition-dialog\x22\x20aria-label=\x22New\x20MailDisposition\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22mailDispositionForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MAIL.NAME\x22>Name</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22\x22\x20name=\x22name\x22\x20\x20ng-model=\x22vm.mailDisposition.name\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22mailDispositionForm.$invalid\x20||\x20mailDispositionForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.newMailDisposition\x22\x20ng-click=\x22vm.addNewMailDisposition()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22mailDispositionForm.$invalid\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22MAIL.ADD_MAILDISPOSITION\x22\x20translate-attr-aria-label=\x22MAIL.ADD_MAILDISPOSITION\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20MAILDISPOSITION\x0a','<div\x20id=\x22mail-mailAccount\x22\x20class=\x22page-layout\x20simple\x20tabbed\x22\x20layout=\x22column\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22goto-mailAccounts-button\x20md-icon-button\x22\x20aria-label=\x22Go\x20to\x20mailAccounts\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.gotoMailAccounts()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22MAIL.GO_TO_MAILACCOUNTS\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<img\x20ng-src=\x22assets/images/business/mailAccounts.jpg\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.mailAccount.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22vm.mailAccount.name\x22>{{vm.mailAccount.name}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MAIL.CREATED_AT\x22></span>\x20<span>{{vm.mailAccount.createdAt\x20|\x20date:\x27medium\x27}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.gotogoto(vm.mailAccount,\x20$event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip><span\x20translate=\x22MAIL.GOTO_MAILACCOUNT\x22></span></md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-cast\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.agentadddialog(vm.mailAccount,\x20$event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip><span\x20translate=\x22MAIL.AGENTADD_MAILACCOUNT\x22></span></md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-click=\x22vm.saveMailAccount()\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20ng-disabled=\x22(generalForm.$invalid)\x20||\x20(notificationForm.$invalid)\x20||\x20(transferForm.$invalid)\x20||\x20(imapForm.$invalid)\x20||\x20(smtpForm.$invalid)\x20||\x20(dispositionForm.$invalid)\x20||\x20(mailDispositionsForm.$invalid)\x20||\x20(mailCannedAnswersForm.$invalid)\x20||\x20(actionsForm.$invalid)\x20||\x20(interactionsForm.$invalid)\x22\x20translate=\x22MAIL.SAVE\x22\x20translate-attr-aria-label=\x22MAIL.SAVE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MAIL.SETTINGS\x22>SETTINGS</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22mailAccount-detail-form-container\x20general\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22MAIL.GENERAL\x22>GENERAL</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22name\x22\x20\x20ng-model=\x22vm.mailAccount.name\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22key\x22\x20\x20ng-model=\x22vm.mailAccount.key\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MAIL.LIST\x22>List</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MAIL.FONT_FAMILY\x22>Font_Family</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<ms-font-family\x20name=\x22fontFamily\x22\x20ng-model=\x22vm.mailAccount.fontFamily\x22\x20\x20required\x20></ms-font-family>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22MAIL.HELP.FONT_FAMILY\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MAIL.ERRORS.FONT_FAMILY_REQUIRED\x22>Font_Family\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MAIL.FONT_SIZE\x22>Font_Size</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22fontSize\x22\x20\x20ng-model=\x22vm.mailAccount.fontSize\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20max=\x2272\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22MAIL.HELP.FONT_SIZE\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27fontSize\x27].$error\x22\x20ng-show=\x22generalForm[\x27fontSize\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MAIL.ERRORS.FONT_SIZE_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>Font_Size\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>8</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MAIL.ERRORS.FONT_SIZE_MUST_BE_LESS_THAN_OR_EQUAL_TO\x22>Font_Size\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>72</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20class=\x22md-caption\x20grey-fg\x22\x20translate=\x22MAIL.TEMPLATE\x22>Template</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<textarea\x20aria-label=\x22Template\x20template\x22\x20ckeditor=\x22{\x20skin:\x20\x27office2013\x27,\x20language:\x20\x27en\x27,\x20allowedContent:\x20true,\x20extraPlugins:\x20\x27font,colorbutton,autoembed,autocorrect,googlethisterm,pastebase64\x27,\x20toolbarGroups:\x20[{\x20name:\x20\x27styles\x27,\x20groups:\x20[\x27styles\x27]\x20},\x20{\x20name:\x20\x27clipboard\x27,\x20groups:\x20[\x27undo\x27]\x20},\x20{\x20name:\x20\x27colors\x27,\x20groups:\x20[\x27colors\x27]\x20},\x20{\x20name:\x20\x27basicstyles\x27,\x20groups:\x20[\x27basicstyles\x27]\x20},\x20{\x20name:\x20\x27paragraph\x27,\x20groups:\x20[\x27list\x27,\x20\x27indent\x27,\x20\x27align\x27]\x20},\x20{\x20name:\x20\x27mode\x27\x20}],\x20autocorrect_enabled:\x20true,\x20disableNativeSpellChecker:\x20false,\x20fontSize_sizes:\x20\x278/8pt;9/9pt;10/10pt;11/11pt;12/12pt;14/14pt;16/16pt;18/18pt;20/20pt;22/22pt;24/24pt;26/26pt;28/28pt;36/36pt;48/48pt;72/72pt\x27,\x20\x20removePlugins:\x20\x27magicline\x27\x20}\x22\x20ng-model=\x22vm.mailAccount.template\x22></textarea>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.mailAccount.markAsUnread\x22\x20aria-label=\x22mark_as_unread\x22\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20><span\x20translate=\x22MAIL.MARK_AS_UNREAD\x22>mark_as_unread</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22MAIL.HELP.MARK_AS_UNREAD\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MAIL.WAITFORTHEASSIGNEDAGENT\x22>WaitForTheAssignedAgent</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MAIL.ERRORS.WAITFORTHEASSIGNEDAGENT_REQUIRED\x22>WaitForTheAssignedAgent\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MAIL.ERRORS.WAITFORTHEASSIGNEDAGENT_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>WaitForTheAssignedAgent\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>1</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MAIL.ERRORS.WAITFORTHEASSIGNEDAGENT_MUST_BE_LESS_THAN_OR_EQUAL_TO\x22>WaitForTheAssignedAgent\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>2147483</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22description\x22\x20\x20ng-model=\x22vm.mailAccount.description\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22mailAccount-detail-form-container\x20notification\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22MAIL.NOTIFICATION\x22>NOTIFICATION</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.mailAccount.notificationSound\x22\x20aria-label=\x22notificationSound\x22\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20><span\x20translate=\x22MAIL.NOTIFICATIONSOUND\x22>notificationSound</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.mailAccount.notificationShake\x22\x20aria-label=\x22notificationShake\x22\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20><span\x20translate=\x22MAIL.NOTIFICATIONSHAKE\x22>notificationShake</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20class=\x22md-caption\x20grey-fg\x22\x20translate=\x22MAIL.NOTIFICATIONTEMPLATE\x22>notificationTemplate</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<textarea\x20aria-label=\x22notificationTemplate\x20notificationTemplate\x22\x20ckeditor=\x22{\x20skin:\x20\x27office2013\x27,\x20language:\x20\x27en\x27,\x20allowedContent:\x20true,\x20extraPlugins:\x20\x27font,colorbutton,autoembed,autocorrect,googlethisterm,pastebase64\x27,\x20toolbarGroups:\x20[{\x20name:\x20\x27styles\x27,\x20groups:\x20[\x27styles\x27]\x20},\x20{\x20name:\x20\x27clipboard\x27,\x20groups:\x20[\x27undo\x27]\x20},\x20{\x20name:\x20\x27colors\x27,\x20groups:\x20[\x27colors\x27]\x20},\x20{\x20name:\x20\x27basicstyles\x27,\x20groups:\x20[\x27basicstyles\x27]\x20},\x20{\x20name:\x20\x27paragraph\x27,\x20groups:\x20[\x27list\x27,\x20\x27indent\x27,\x20\x27align\x27]\x20},\x20{\x20name:\x20\x27mode\x27\x20}],\x20autocorrect_enabled:\x20true,\x20disableNativeSpellChecker:\x20false,\x20fontSize_sizes:\x20\x278/8pt;9/9pt;10/10pt;11/11pt;12/12pt;14/14pt;16/16pt;18/18pt;20/20pt;22/22pt;24/24pt;26/26pt;28/28pt;36/36pt;48/48pt;72/72pt\x27,\x20\x20removePlugins:\x20\x27magicline\x27\x20}\x22\x20ng-model=\x22vm.mailAccount.notificationTemplate\x22></textarea>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22mailAccount-detail-form-container\x20transfer\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22MAIL.TRANSFER\x22>TRANSFER</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.mailAccount.queueTransfer\x22\x20aria-label=\x22queueTransfer\x22\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20><span\x20translate=\x22MAIL.QUEUETRANSFER\x22>queueTransfer</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.mailAccount.queueTransfer\x20==\x20true\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22queueTransferTimeout\x22\x20\x20ng-model=\x22vm.mailAccount.queueTransferTimeout\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MAIL.ERRORS.QUEUETRANSFERTIMEOUT_REQUIRED\x22>queueTransferTimeout\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MAIL.ERRORS.QUEUETRANSFERTIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO\x22>queueTransferTimeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>2147483</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.mailAccount.agentTransfer\x22\x20aria-label=\x22agentTransfer\x22\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20><span\x20translate=\x22MAIL.AGENTTRANSFER\x22>agentTransfer</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MAIL.AGENTTRANSFERTIMEOUT\x22>agentTransferTimeout</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22agentTransferTimeout\x22\x20\x20ng-model=\x22vm.mailAccount.agentTransferTimeout\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22transferForm[\x27agentTransferTimeout\x27].$error\x22\x20ng-show=\x22transferForm[\x27agentTransferTimeout\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MAIL.ERRORS.AGENTTRANSFERTIMEOUT_REQUIRED\x22>agentTransferTimeout\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MAIL.ERRORS.AGENTTRANSFERTIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>agentTransferTimeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>1</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MAIL.ERRORS.AGENTTRANSFERTIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO\x22>agentTransferTimeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>2147483</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MAIL.IMAP\x22>IMAP</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22mailAccount-detail-form-container\x20imap\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22MAIL.IMAP\x22>IMAP</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<form\x20name=\x22imapForm\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27outlook365\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22imapForm[\x27Imap.service\x27].$error\x22\x20ng-show=\x22imapForm[\x27Imap.service\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22Imap.host\x22\x20\x20ng-model=\x22vm.mailAccount.Imap.host\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22imapForm[\x27Imap.host\x27].$error\x22\x20ng-show=\x22imapForm[\x27Imap.host\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22imapForm[\x27Imap.port\x27].$error\x22\x20ng-show=\x22imapForm[\x27Imap.port\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.mailAccount.Imap.tls\x22\x20aria-label=\x22ssl\x22\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20><span\x20translate=\x22MAIL.SSL\x22>ssl</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.mailAccount.Imap.service\x20==\x20null\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.mailAccount.Imap.authentication\x22\x20aria-label=\x22Authentication\x22\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20><span\x20translate=\x22MAIL.AUTHENTICATION\x22>Authentication</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.mailAccount.Imap.authentication\x20==\x20true\x20||\x20vm.mailAccount.Imap.service\x20!=\x20null\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MAIL.USERNAME\x22>Username</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22Imap.user\x22\x20\x20ng-model=\x22vm.mailAccount.Imap.user\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22imapForm[\x27Imap.user\x27].$error\x22\x20ng-show=\x22imapForm[\x27Imap.user\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20class=\x22md-block\x22\x20\x20ng-if=\x22vm.mailAccount.Imap.authentication\x20==\x20true\x20||\x20vm.mailAccount.Imap.service\x20!=\x20null\x22\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22MAIL.HELP.PASSWORD\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MAIL.ERRORS.SECURE_PASSWORD_PATTERN\x22>Must\x20contain\x20at\x20least\x208\x20characters,\x20with\x20a\x20minimum\x20of\x201\x20lowercase\x20letter,\x201\x20uppercase\x20letter,\x201\x20numeric\x20character\x20and\x201\x20special\x20character\x20~!?*@#$%^&-_=+[{]}.</span>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MAIL.MAILBOX\x22>mailbox</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22Imap.mailbox\x22\x20\x20ng-model=\x22vm.mailAccount.Imap.mailbox\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22imapForm[\x27Imap.mailbox\x27].$error\x22\x20ng-show=\x22imapForm[\x27Imap.mailbox\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MAIL.CONNTIMEOUT\x22>connTimeout</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22imapForm[\x27Imap.connTimeout\x27].$error\x22\x20ng-show=\x22imapForm[\x27Imap.connTimeout\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MAIL.ERRORS.CONNTIMEOUT_REQUIRED\x22>connTimeout\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MAIL.AUTHTIMEOUT\x22>authTimeout</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22Imap.authTimeout\x22\x20\x20ng-model=\x22vm.mailAccount.Imap.authTimeout\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22imapForm[\x27Imap.authTimeout\x27].$error\x22\x20ng-show=\x22imapForm[\x27Imap.authTimeout\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MAIL.ERRORS.AUTHTIMEOUT_REQUIRED\x22>authTimeout\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MAIL.ERRORS.AUTHTIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>authTimeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>1</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22MAIL.SMTP\x22>SMTP</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<form\x20name=\x22smtpForm\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22smtpForm[\x27Smtp.service\x27].$error\x22\x20ng-show=\x22smtpForm[\x27Smtp.service\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22(vm.newMailAccount\x20&&\x20vm.mailAccount.cservice\x20==\x20null)\x20||\x20(vm.newMailAccount\x20==\x20undefined\x20&&\x20vm.mailAccount.Smtp.service\x20==\x20null)\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22smtpForm[\x27Smtp.host\x27].$error\x22\x20ng-show=\x22smtpForm[\x27Smtp.host\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22smtpForm[\x27Smtp.port\x27].$error\x22\x20ng-show=\x22smtpForm[\x27Smtp.port\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.mailAccount.Smtp.service\x20==\x20null\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.mailAccount.Smtp.secure\x22\x20aria-label=\x22Secure\x22\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20><span\x20translate=\x22MAIL.SECURE\x22>Secure</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.mailAccount.Smtp.service\x20==\x20null\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.mailAccount.Smtp.authentication\x22\x20aria-label=\x22Authentication\x22\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20><span\x20translate=\x22MAIL.AUTHENTICATION\x22>Authentication</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22Smtp.user\x22\x20\x20ng-model=\x22vm.mailAccount.Smtp.user\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22MAIL.HELP.USERNAME\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22smtpForm[\x27Smtp.user\x27].$error\x22\x20ng-show=\x22smtpForm[\x27Smtp.user\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22smtpForm[\x27Smtp.pass\x27].$error\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22mailAccount-detail-form-container\x20disposition\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22MAIL.DISPOSITION\x22>DISPOSITION</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.mailAccount.mandatoryDisposition\x22\x20aria-label=\x22MandatoryDisposition\x22\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20><span\x20translate=\x22MAIL.MANDATORYDISPOSITION\x22>MandatoryDisposition</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.mailAccount.mandatoryDisposition\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MAIL.MANDATORYDISPOSITIONPAUSEID\x22>MandatoryDispositionPauseId</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22mandatoryDispositionPauseId\x22\x20ng-model=\x22vm.mailAccount.mandatoryDispositionPauseId\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22MAIL.HELP.MANDATORYDISPOSITIONPAUSEID\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MAIL.DISPOSITIONS\x22>DISPOSITIONS</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22mailAccount-detail-form-container\x20maildispositions\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-controller=\x22MailAccountMailDispositionsController\x20as\x20vm_dc\x22\x20ng-init=\x22vm_dc.init(vm.mailAccount,\x20vm.crudPermissions)\x22>\x0a','\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22\x20translate=\x22MAIL.MAILDISPOSITIONS\x22>MailDispositions</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22vm_dc.crudPermissions.canEdit\x22\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm_dc.createOrEditMailAccountMailDisposition($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20mailDisposition\x22\x20translate\x20translate-attr-label=\x22MAIL.ADD_MAILDISPOSITION\x22>\x0a','\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-accent\x22\x20ng-show=\x22vm_dc.selectedMailAccountMailDispositions.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22>{{vm_dc.selectedMailAccountMailDispositions.length}}\x20{{vm_dc.selectedMailAccountMailDispositions.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22vm_dc.crudPermissions.canDelete\x22\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm_dc.deleteSelectedMailAccountMailDispositions($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22MAIL.DELETE_SELECTED\x22>\x0a','\x20\x20\x20\x20\x20\x20<table\x20md-table\x20md-row-select\x20multiple\x20ng-model=\x22vm_dc.selectedMailAccountMailDispositions\x22\x20md-progress=\x22vm_dc.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm_dc.query.sort\x22\x20md-on-reorder=\x22vm_dc.getMailAccountMailDispositions\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.ID\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.NAME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22mailDisposition\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22mailDisposition\x20in\x20vm_dc.mailAccountMailDispositions.rows\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_dc.createOrEditMailAccountMailDisposition($event,\x20mailDisposition)\x22\x20\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{mailDisposition.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_dc.createOrEditMailAccountMailDisposition($event,\x20mailDisposition)\x22\x20\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20mailDisposition.createdAt\x20|\x20formatdate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20aria-label=\x22More\x22\x20translate\x20translate-attr-aria-label=\x22MAIL.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm_dc.createOrEditMailAccountMailDisposition($event,\x20mailDisposition)\x22\x20translate=\x22MAIL.EDIT_MAILDISPOSITION\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20MailDisposition\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm_dc.deleteConfirm(mailDisposition,\x20$event)\x22\x20translate=\x22MAIL.DELETE_MAILDISPOSITION\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22text-boxed-light\x22\x20translate=\x22MAIL.NO_MAILDISPOSITION_AVAILABLE\x22>No\x20maildisposition\x20available</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MAIL.CANNEDANSWERS\x22>CANNEDANSWERS</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22mailAccount-detail-form-container\x20mailcannedanswers\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-controller=\x22MailAccountMailCannedAnswersController\x20as\x20vm_dc\x22\x20ng-init=\x22vm_dc.init(vm.mailAccount,\x20vm.crudPermissions)\x22>\x0a','\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-default\x22\x20ng-hide=\x22vm_dc.selectedMailAccountMailCannedAnswers.length\x22>\x0a','\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22\x20translate=\x22MAIL.MAILCANNEDANSWERS\x22>MailCannedAnswers</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20mailCannedAnswer\x22\x20translate\x20translate-attr-label=\x22MAIL.ADD_MAILCANNEDANSWER\x22>\x0a','\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-accent\x22\x20ng-show=\x22vm_dc.selectedMailAccountMailCannedAnswers.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-icon-button\x22\x20ng-csv=\x22vm_dc.exportSelectedMailAccountMailCannedAnswers\x22\x20csv-label=\x22true\x22\x20filename=\x22mailAccounts.csv\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22vm_dc.crudPermissions.canDelete\x22\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm_dc.deleteSelectedMailAccountMailCannedAnswers($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm_dc.query.sort\x22\x20md-on-reorder=\x22vm_dc.getMailAccountMailCannedAnswers\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.KEY\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.VALUE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.DESCRIPTION\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22mailCannedAnswer\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22mailCannedAnswer\x20in\x20vm_dc.mailAccountMailCannedAnswers.rows\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_dc.createOrEditMailAccountMailCannedAnswer($event,\x20mailCannedAnswer)\x22\x20\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_dc.createOrEditMailAccountMailCannedAnswer($event,\x20mailCannedAnswer)\x22\x20\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_dc.createOrEditMailAccountMailCannedAnswer($event,\x20mailCannedAnswer)\x22\x20\x20md-cell>{{mailCannedAnswer.value\x20|\x20htmlToPlaintext\x20}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{mailCannedAnswer.description}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_dc.createOrEditMailAccountMailCannedAnswer($event,\x20mailCannedAnswer)\x22\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20mailCannedAnswer.createdAt\x20|\x20formatdate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm_dc.deleteConfirm(mailCannedAnswer,\x20$event)\x22\x20translate=\x22MAIL.DELETE_MAILCANNEDANSWER\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-if=\x22!vm_dc.mailAccountMailCannedAnswers.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22text-boxed-light\x22\x20translate=\x22MAIL.NO_MAILCANNEDANSWER_AVAILABLE\x22>No\x20mailcannedanswer\x20available</span>\x0a','\x20\x20\x20\x20<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27MAIL.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27MAIL.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27MAIL.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm_dc.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm_dc.query.page\x22\x20md-total=\x22{{vm_dc.mailAccountMailCannedAnswers.count}}\x22\x20md-on-paginate=\x22vm_dc.getMailAccountMailCannedAnswers\x22\x20md-page-select></md-table-pagination>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MAIL.ACTIONS\x22>ACTIONS</span>\x0a','\x20\x20\x20\x20<!--\x20SIDENAV\x20CONTENT\x20-->\x0a','\x20\x20\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-accent\x22\x20ng-show=\x22vm_ac.selectedMailAccountApps.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22vm_ac.crudPermissions.canDelete\x22\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm_ac.deleteSelectedMailAccountApps($event)\x22\x0a','\x20\x20\x20\x20\x20\x20<table\x20md-table\x20\x20md-row-select\x20multiple\x20ng-model=\x22vm_ac.selectedMailAccountApps\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22app\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22app\x20in\x20vm_ac.mailAccountApps.rows\x20|\x20filter:\x20vm_ac.query.filter\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-drag-vertical\x22\x20class=\x22s16\x20handle\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-click=\x22vm_ac.editMailAccountApp($event,\x20$index)\x22><span>{{app.priority}}</span></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-click=\x22vm_ac.editMailAccountApp($event,\x20$index)\x22>{{app.app.toLowerCase()\x20===\x20\x27agi\x27\x20?\x20\x27Cally-Square\x27\x20:\x20app.app\x20|\x20ucfirst}}<span\x20ng-if=\x22app.appType.toLowerCase()\x20===\x20\x27custom\x27\x22>*</span></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-click=\x22vm_ac.editMailAccountApp($event,\x20$index)\x22><span\x20class=\x22text-truncate\x22\x20style=\x22width:200px\x22>{{app.appdata}}</span></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20App\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22mailAccount-detail-form-container\x20interactions\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-controller=\x22MailAccountInteractionsController\x20as\x20vm_dc\x22\x20ng-init=\x22vm_dc.init(vm.mailAccount,\x20vm.crudPermissions)\x22>\x0a','\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22\x20translate=\x22MAIL.INTERACTIONS\x22>Interactions</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<ms-quick-filter\x20filters=\x22vm_dc.quickFilters\x22\x20query=\x22vm_dc.query\x22\x20search=\x22vm_dc.getMailAccountInteractions()\x22></ms-quick-filter>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm_dc.getMailAccountInteractions()\x22\x0a','\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-accent\x22\x20ng-show=\x22vm_dc.selectedMailAccountInteractions.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22>{{vm_dc.selectedMailAccountInteractions.length}}\x20{{vm_dc.selectedMailAccountInteractions.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-icon-button\x22\x20ng-csv=\x22vm_dc.exportSelectedMailAccountInteractions\x22\x20csv-label=\x22true\x22\x20filename=\x22mailAccounts.csv\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22vm_dc.crudPermissions.canDelete\x22\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm_dc.deleteSelectedMailAccountInteractions($event)\x22\x0a','\x20\x20\x20\x20\x20\x20<table\x20md-table\x20md-row-select\x20multiple\x20ng-model=\x22vm_dc.selectedMailAccountInteractions\x22\x20md-progress=\x22vm_dc.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.CONTACT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.SUBJECT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.LASTMESSAGE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.STATUS\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.AGENT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22width-300\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22text-truncate\x20font-size-12\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{interaction.subject}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22row\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.OPENED\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-tag\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-primary\x22\x20ng-click=\x22vm_dc.mailInteractionDownload(interaction,\x20$event,\x20true)\x22\x20translate=\x22MAIL.DOWNLOAD_WITH_ATTACHMENTS\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-primary\x22\x20ng-click=\x22vm_dc.mailInteractionDownload(interaction,\x20$event)\x22\x20translate=\x22MAIL.DOWNLOAD_WITHOUT_ATTACHMENTS\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-if=\x22!vm_dc.mailAccountInteractions.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20colspan=\x2213\x22>\x0a','\x20\x20\x20\x20<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27MAIL.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27MAIL.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27MAIL.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm_dc.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm_dc.query.page\x22\x20md-total=\x22{{vm_dc.mailAccountInteractions.count}}\x22\x20md-on-paginate=\x22vm_dc.getMailAccountInteractions\x22\x20md-page-select></md-table-pagination>\x0a','<div\x20id=\x22mailAccounts\x22\x20class=\x22page-layout\x20simple\x20left-sidenav\x20inner-sidenav\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-email\x22\x20class=\x22s24\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22logo-text\x22\x20translate=\x22MAIL.MAILACCOUNTS\x22>MailAccounts</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22close-button-wrapper\x22\x20ng-click=\x22vm.selectedMailAccounts\x20=[]\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MAIL.BACK\x22>Back</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22selected-mailAccounts-count\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>{{vm.selectedMailAccounts.length}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MAIL.SELECTED\x22>selected</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22MAIL.MULTI_SELECT_TOGGLE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.selectAllMailAccounts()\x22\x20translate=\x22MAIL.SELECT_ALL\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deselectMailAccounts()\x22\x20translate=\x22MAIL.SELECT_NONE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-icon-button\x22\x20ng-csv=\x22vm.exportSelectedMailAccounts\x22\x20csv-label=\x22true\x22\x20filename=\x22mailAccounts.csv\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x22\x20ng-click=\x22vm.deleteSelectedMailAccounts($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22MAIL.DELETE_SELECTED\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20MAILACCOUNT\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<table\x20md-table\x20\x20md-row-select\x20multiple\x20\x20\x20ng-model=\x22vm.selectedMailAccounts\x22\x20md-progress=\x22vm.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm.query.sort\x22\x20md-on-reorder=\x22vm.getMailAccounts\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22id\x22>{{\x20\x27MAIL.ID\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22name\x22>{{\x20\x27MAIL.NAME\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22key\x22>{{\x20\x27MAIL.KEY\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22email\x22>{{\x20\x27MAIL.EMAIL_ADDRESS\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22active\x22>{{\x20\x27MAIL.ACTIVE\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22description\x22>{{\x20\x27MAIL.DESCRIPTION\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm.mailAccounts.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MAIL.NO_AVAILABLE_INFO\x22>No\x20Available\x20Info</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22mailAccount.userpic\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{mailAccount.name}}\x22\x20ng-src=\x22api/users/{{mailAccount.id}}/avatar\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(mailAccount,\x20ev)\x20:\x20vm.createOrEditMailAccount($event,\x20mailAccount)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22id\x20\x22\x20>{{mailAccount.id}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(mailAccount,\x20ev)\x20:\x20vm.createOrEditMailAccount($event,\x20mailAccount)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22key\x20\x22\x20>{{mailAccount.key}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22email\x20\x22\x20>{{mailAccount.email}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22active\x20\x22><md-icon\x20md-colors=\x22{color:\x20{{mailAccount.active\x20?\x20\x27\x5c\x27green\x5c\x27\x27\x20:\x20\x27\x5c\x27grey\x5c\x27\x27}}}\x22\x20md-font-icon=\x22{{mailAccount.active\x20?\x20\x27icon-check\x27\x20:\x20\x27icon-close\x27}}\x22></md-icon></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(mailAccount,\x20ev)\x20:\x20vm.createOrEditMailAccount($event,\x20mailAccount)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22description\x20\x22\x20>{{mailAccount.description}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22MAIL.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20MailAccount\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.verifysmtpverifysmtp(mailAccount,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MAIL.VERIFYSMTP_MAILACCOUNT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20verifysmtp\x20MailAccount\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.interactionsgoto(mailAccount,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Interactions\x20MailAccount\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.gotorealtimegoto(mailAccount,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20goToRealtime\x20MailAccount\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MAIL.AGENTADD_MAILACCOUNT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AgentAdd\x20MailAccount\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deleteconfirm(mailAccount,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MAIL.DELETE_MAILACCOUNT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20MailAccount\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27MAIL.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27MAIL.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27MAIL.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm.query.page\x22\x20md-total=\x22{{vm.mailAccounts.count}}\x22\x20md-on-paginate=\x22vm.getMailAccounts\x22\x20md-page-select></md-table-pagination>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20MAILACCOUNT\x20TABLE\x20-->\x0a','\x20\x20\x20\x20<md-button\x20ng-if=\x22vm.crudPermissions.canEdit\x22\x20class=\x22md-fab\x20md-accent\x22\x20id=\x22add-mailAccount-button\x22\x20ng-click=\x22vm.createOrEditMailAccount($event)\x22\x0a','app/main/apps/mail/views/mailQueues/create/dialog.html','<md-dialog\x20class=\x22mailQueue-dialog\x22\x20aria-label=\x22New\x20MailQueue\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22mailQueueForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22name\x22\x20\x20ng-model=\x22vm.mailQueue.name\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.newMailQueue\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22MAIL.HELP.NAME\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22mailQueueForm[\x27name\x27].$error\x22\x20ng-show=\x22mailQueueForm[\x27name\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MAIL.ERRORS.NAME_MUST_VALID_PATTERN\x22\x20translate-values=\x22{\x20regex:\x20\x27/^[A-Za-z0-9\x5c.\x5c_]+$/i\x27\x20}\x22>Name\x20must\x20be\x20valid\x20pattern\x20</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MAIL.STRATEGY\x22>Strategy</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22strategy\x22\x20ng-model=\x22vm.mailQueue.strategy\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22mailQueueForm[\x27strategy\x27].$error\x22\x20ng-show=\x22mailQueueForm[\x27strategy\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MAIL.ERRORS.STRATEGY_REQUIRED\x22>Strategy\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MAIL.AGENT_TIMEOUT\x22>Agent_Timeout</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22timeout\x22\x20\x20ng-model=\x22vm.mailQueue.timeout\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22mailQueueForm[\x27timeout\x27].$error\x22\x20ng-show=\x22mailQueueForm[\x27timeout\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MAIL.ERRORS.AGENT_TIMEOUT_REQUIRED\x22>Agent_Timeout\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MAIL.ERRORS.AGENT_TIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>Agent_Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>1</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MAIL.ERRORS.AGENT_TIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO\x22>Agent_Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>2147483</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22description\x22\x20\x20ng-model=\x22vm.mailQueue.description\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20!vm.newMailQueue\x22\x20ng-click=\x22vm.saveMailQueue()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22mailQueueForm.$invalid\x20||\x20mailQueueForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22mailQueueForm.$invalid\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22MAIL.ADD_MAILQUEUE\x22\x20translate-attr-aria-label=\x22MAIL.ADD_MAILQUEUE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20MAILQUEUE\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h2\x20translate=\x22MAIL.AGENTADD_MAILQUEUE\x22>Add\x20Agent\x20to\x20mailQueue</h2>\x0a','<md-dialog\x20class=\x22mailQueue-dialog\x22\x20aria-label=\x22mailQueue\x22\x20ng-init=\x22vm.onInit()\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22mailQueueForm\x22\x20ng-cloak>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h2\x20translate=\x22MAIL.TEAMS_ASSOCIATION\x22>Teams\x20Association</h2>\x0a','<div\x20id=\x22mail-mailQueue\x22\x20class=\x22page-layout\x20simple\x20tabbed\x22\x20layout=\x22column\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.gotoMailQueues()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22MAIL.GO_TO_MAILQUEUES\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22mailQueue-image\x22\x20hide-xs>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<img\x20ng-src=\x22assets/images/business/mailQueues.jpg\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.mailQueue.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MAIL.CREATED_AT\x22></span>\x20<span>{{vm.mailQueue.createdAt\x20|\x20date:\x27medium\x27}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip><span\x20translate=\x22MAIL.TEAMADD_MAILQUEUE\x22></span></md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.agentadddialog(vm.mailQueue,\x20$event)\x22\x0a','<div\x20id=\x22mailQueues\x22\x20class=\x22page-layout\x20simple\x20left-sidenav\x20inner-sidenav\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20id=\x22search\x22\x20placeholder=\x22Search\x20for\x20anyone\x22\x20type=\x22text\x22\x20ng-model=\x22vm.query.filter\x22\x20ng-model-options=\x22{\x20debounce:\x201000\x20}\x22\x20translate\x20translate-attr-placeholder=\x22MAIL.SEARCH_FOR_ANYONE\x22>\x0a','\x20\x20\x20\x20<div\x20ng-show=\x22vm.selectedMailQueues.length\x20>\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22close-button-wrapper\x22\x20ng-click=\x22vm.selectedMailQueues\x20=[]\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22selected-mailQueues-count\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>{{vm.selectedMailQueues.length}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.selectAllMailQueues()\x22\x20translate=\x22MAIL.SELECT_ALL\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deselectMailQueues()\x22\x20translate=\x22MAIL.SELECT_NONE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x22\x20ng-click=\x22vm.deleteSelectedMailQueues($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20MAILQUEUE\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<table\x20md-table\x20\x20md-row-select\x20multiple\x20\x20\x20ng-model=\x22vm.selectedMailQueues\x22\x20md-progress=\x22vm.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm.query.sort\x22\x20md-on-reorder=\x22vm.getMailQueues\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22strategy\x22>{{\x20\x27MAIL.STRATEGY\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm.mailQueues.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22mailQueue\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22mailQueue\x20in\x20vm.mailQueues.rows\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22mailQueue.userpic\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{mailQueue.name}}\x22\x20ng-src=\x22api/users/{{mailQueue.id}}/avatar\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22!mailQueue.userpic\x20&&\x20(vm.table\x20==\x20\x27users\x27\x20||\x20vm.table\x20==\x20\x27agents\x27)\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{mailQueue.name}}\x22\x20ng-src=\x22assets/images/avatars/profile.png\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(mailQueue,\x20ev)\x20:\x20vm.createOrEditMailQueue($event,\x20mailQueue)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(mailQueue,\x20ev)\x20:\x20vm.createOrEditMailQueue($event,\x20mailQueue)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22name\x20\x22\x20>{{mailQueue.name}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(mailQueue,\x20ev)\x20:\x20vm.createOrEditMailQueue($event,\x20mailQueue)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MAIL.EDIT_MAILQUEUE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20MailQueue\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20teamadd\x20MailQueue\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MAIL.AGENTADD_MAILQUEUE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20agentadd\x20MailQueue\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deleteconfirm(mailQueue,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.gotorealtimegoto(mailQueue,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MAIL.GOTOREALTIME_MAILQUEUE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20goToRealtime\x20MailQueue\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27MAIL.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27MAIL.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27MAIL.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm.query.page\x22\x20md-total=\x22{{vm.mailQueues.count}}\x22\x20md-on-paginate=\x22vm.getMailQueues\x22\x20md-page-select></md-table-pagination>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20MAILQUEUE\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20ADD\x20MAILQUEUE\x20BUTTON\x20-->\x0a','\x20\x20\x20\x20<md-button\x20ng-if=\x22vm.crudPermissions.canEdit\x22\x20class=\x22md-fab\x20md-accent\x22\x20id=\x22add-mailQueue-button\x22\x20ng-click=\x22vm.createOrEditMailQueue($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20mailQueue\x22\x20translate\x20translate-attr-aria-label=\x22MAIL.ADD_MAILQUEUE\x22>\x0a','\x20\x20\x20\x20<!--\x20/\x20ADD\x20MAILQUEUE\x20BUTTON\x20-->\x0a','<md-dialog\x20class=\x22mailSubstatus-dialog\x22\x20aria-label=\x22New\x20MailSubstatus\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22mailSubstatusForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22name\x22\x20\x20ng-model=\x22vm.mailSubstatus.name\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22mailSubstatusForm[\x27name\x27].$error\x22\x20ng-show=\x22mailSubstatusForm[\x27name\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22mailSubstatusForm[\x27description\x27].$error\x22\x20ng-show=\x22mailSubstatusForm[\x27description\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22mailSubstatusForm.$invalid\x20||\x20mailSubstatusForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22mailSubstatusForm.$invalid\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22MAIL.ADD_MAILSUBSTATUS\x22\x20translate-attr-aria-label=\x22MAIL.ADD_MAILSUBSTATUS\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x20&&\x20!vm.newMailSubstatus\x22\x20ng-click=\x22vm.deleteMailSubstatus($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x0a','<div\x20id=\x22mailSubtatuses\x22\x20class=\x22page-layout\x20simple\x20left-sidenav\x20inner-sidenav\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22logo-text\x22\x20translate=\x22MAIL.MAILSUBSTATUSES\x22>MailSubstatuses</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22close-button-wrapper\x22\x20ng-click=\x22vm.selectedMailSubstatuses\x20=[]\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22selected-mailSubtatuses-count\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>{{vm.selectedMailSubstatuses.length}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.selectAllMailSubstatuses()\x22\x20translate=\x22MAIL.SELECT_ALL\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deselectMailSubstatuses()\x22\x20translate=\x22MAIL.SELECT_NONE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-icon-button\x22\x20ng-csv=\x22vm.exportSelectedMailSubstatuses\x22\x20csv-label=\x22true\x22\x20filename=\x22mailSubtatuses.csv\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x22\x20ng-click=\x22vm.deleteSelectedMailSubstatuses($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20MAILSUBSTATUS\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<table\x20md-table\x20\x20md-row-select\x20multiple\x20\x20\x20ng-model=\x22vm.selectedMailSubstatuses\x22\x20md-progress=\x22vm.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm.query.sort\x22\x20md-on-reorder=\x22vm.getMailSubstatuses\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm.mailSubtatuses.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22mailSubstatus.userpic\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{mailSubstatus.name}}\x22\x20ng-src=\x22api/users/{{mailSubstatus.id}}/avatar\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.createOrEditMailSubstatus($event,\x20mailSubstatus)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22id\x20\x22\x20>{{mailSubstatus.id}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.createOrEditMailSubstatus($event,\x20mailSubstatus)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22name\x20\x22\x20>{{mailSubstatus.name}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22description\x20\x22\x20>{{mailSubstatus.description}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.editdialog(mailSubstatus,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MAIL.EDIT_MAILSUBSTATUS\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20MailSubstatus\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deleteconfirm(mailSubstatus,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27MAIL.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27MAIL.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27MAIL.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm.query.page\x22\x20md-total=\x22{{vm.mailSubtatuses.count}}\x22\x20md-on-paginate=\x22vm.getMailSubstatuses\x22\x20md-page-select></md-table-pagination>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20MAILSUBSTATUS\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20ADD\x20MAILSUBSTATUS\x20BUTTON\x20-->\x0a','\x20\x20\x20\x20<md-button\x20ng-if=\x22vm.crudPermissions.canEdit\x22\x20class=\x22md-fab\x20md-accent\x22\x20id=\x22add-mailSubstatus-button\x22\x20ng-click=\x22vm.createOrEditMailSubstatus($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20mailSubstatus\x22\x20translate\x20translate-attr-aria-label=\x22MAIL.ADD_MAILSUBSTATUS\x22>\x0a','\x20\x20\x20\x20<!--\x20/\x20ADD\x20MAILSUBSTATUS\x20BUTTON\x20-->\x0a','\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm.query.sort\x22\x20md-on-reorder=\x22vm.getMailAccounts\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22name\x22>{{\x20\x27MAIL.NAME\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x20\x27MAIL.KEY\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x20\x27MAIL.TOTAL\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x20\x27MAIL.IN\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x20\x27MAIL.SMTP_STATUS\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm.mailAccounts\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MAIL.NO_AVAILABLE_INFO\x22>No\x20Available\x20Info</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell>{{vm.mailAccounts[value].name}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell>{{vm.mailAccounts[value].key}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22font-size-20\x20grey-fg\x22>{{(vm.mailAccounts[value].in\x20||\x200)\x20+\x20(vm.mailAccounts[value].out\x20||\x200)}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-capture\x20blue-fg\x22>{{vm.mailAccounts[value].in\x20||\x200}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-capture\x20green-fg\x22>{{vm.mailAccounts[value].out\x20||\x200}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22text-boxed\x22\x20ng-if=\x22mailAccount.out\x22>{{vm.mailAccounts[value].lastOut\x20?\x20\x20(vm.mailAccounts[value].lastOut\x20|\x20date:\x20\x27shortTime\x27)\x20:\x20\x27\x27}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22column\x22\x20layout-align=\x22center\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20\x20class=\x22md-icon-button\x22\x20aria-label=\x22Status\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip>{{vm.mailAccounts[value].Imap.messageStatus}}</md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-switch=\x22vm.mailAccounts[value].Imap.status\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20ng-switch-default\x20md-font-icon=\x22icon-checkbox-marked-circle-outline\x20green-fg\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-button>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22text-boxed\x22\x20ng-if=\x22vm.mailAccounts[value].active\x22>{{vm.mailAccounts[value].Imap.lastSync\x20|\x20date:\x20\x27shortTime\x27}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22\x20ng-if=\x22vm.mailAccounts[value].Smtp.status\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip>{{vm.mailAccounts[value].Smtp.messageStatus}}</md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-caption\x20grey-fg\x22>{{\x20(\x27MAIL.\x27\x20+\x20vm.mailAccounts[value].Smtp.status.toUpperCase())\x20|\x20translate}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-caption\x20grey-fg\x22\x20ng-if=\x22!vm.mailAccounts[value].Smtp.status\x22>{{\x20\x27MAIL.NEVER_VERIFIED\x27\x20|\x20translate\x20}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20class=\x22actions\x22\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.goToMailAccount($event,\x20vm.mailAccounts[value])\x22\x20translate=\x22MAIL.EDIT_ACCOUNT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Verify\x20Smtp\x0a','<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27MAIL.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27MAIL.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27MAIL.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm.query.page\x22\x20md-total=\x22{{vm.count}}\x22\x20md-on-paginate=\x22vm.getmailAccounts\x22\x20md-page-select></md-table-pagination>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22\x20translate=\x22MAIL.AGENTS\x22>Agents</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27\x27\x22>{{\x20\x27MAIL.ALL\x27\x20|\x20translate\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20value=\x22pause\x22>{{\x20\x27MAIL.PAUSE\x27\x20|\x20translate\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20value=\x22busy\x22>{{\x20\x27MAIL.BUSY\x27\x20|\x20translate\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20class=\x22bv\x20text-center\x22\x20colspan=\x225\x22>{{\x20\x27MAIL.AGENT\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.WHATSAPP\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.NAME\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.LOGIN_TIME\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.PAUSE_TIME\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20class=\x22bl\x20custom-column\x22>{{\x20\x27VOICE.STATUS\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>{{\x20\x27MAIL.NO_AGENT_ONLINE\x27\x20|\x20translate\x20}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.TOOLTIP_SCREENRECORDING_ON\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.TOOLTIP_SCREENRECORDING_OFF\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27idle\x27:\x27lime-300-fg\x27,\x27maxcapacity\x27:\x27red-A200-fg\x27,\x27working\x27:\x27indigo-100-fg\x27,\x27pause\x27:\x27amber-200-fg\x27}[vm.agents[value].chatStatus]\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27idle\x27:\x27lime-300-fg\x27,\x27maxcapacity\x27:\x27red-A200-fg\x27,\x27working\x27:\x27indigo-100-fg\x27,\x27pause\x27:\x27amber-200-fg\x27}[vm.agents[value].faxStatus]\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27idle\x27:\x27lime-300-bg\x27,\x27maxcapacity\x27:\x27red-A200-bg\x27,\x27working\x27:\x27indigo-100-bg\x27,\x27pause\x27:\x27amber-200-bg\x27}[vm.agents[value].whatsappStatus]\x22>{{\x20vm.agents[value].whatsappStatus\x20|\x20uppercase\x20}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MAIL.LOGOUT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MAIL.AGENTADD_QUEUE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MAIL.SCREENRECORDING\x22>Screen\x20Recording\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MAIL.START_SCREENRECORDING\x22>Start\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MAIL.STOP_SCREENRECORDING\x22>Stop\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22\x20vm.agents[value].voicePause\x20&&\x20\x27DEFAULT\x20PAUSE\x27\x20===\x20vm.agents[value].pauseType\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MAIL.DEFAULT_PAUSE\x22>Default\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22\x20translate=\x22MAIL.QUEUES\x22>Queues</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x20\x27MAIL.PAUSED\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x20\x27MAIL.READY\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x20\x27MAIL.WAITING\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20aria-label=\x22More\x22\x20translate\x20translate-attr-aria-label=\x22MAIL.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.createOrEditMailQueue($event,\x20vm.queues[value])\x22\x20translate=\x22MAIL.EDIT_QUEUE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.agentAdd($event,\x20vm.queues[value])\x22\x20translate=\x22MAIL.AGENTSADD_QUEUE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MAIL.AGENTS\x22>Agents</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MAIL.QUEUES\x22>Queues</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MAIL.ACCOUNTS\x22>Accounts</span>\x0a','<md-dialog\x20class=\x22plugin-dialog\x22\x20aria-label=\x22New\x20Plugin\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22pluginForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MARKETPLACE.NAME\x22>Name</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22pluginForm[\x27name\x27].$error\x22\x20ng-show=\x22pluginForm[\x27name\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MARKETPLACE.ERRORS.NAME_REQUIRED\x22>Name\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MARKETPLACE.TYPE\x22>Type</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22type\x22\x20\x20ng-model=\x22vm.plugin.type\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.newPlugin\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22pluginForm[\x27description\x27].$error\x22\x20ng-show=\x22pluginForm[\x27description\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MARKETPLACE.ERRORS.DESCRIPTION_REQUIRED\x22>Description\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MARKETPLACE.ICON\x22>Icon</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22icon\x22\x20\x20ng-model=\x22vm.plugin.icon\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22pluginForm[\x27icon\x27].$error\x22\x20ng-show=\x22pluginForm[\x27icon\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MARKETPLACE.ERRORS.ICON_REQUIRED\x22>Icon\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22sidebar\x22\x20ng-model=\x22vm.plugin.sidebar\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27adminOnly\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Admin\x20Only</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27agentOnly\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Agent\x20Only</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27never\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Never</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22pluginForm[\x27sidebar\x27].$error\x22\x20ng-show=\x22pluginForm[\x27sidebar\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MARKETPLACE.ERRORS.SIDEBAR_REQUIRED\x22>Sidebar\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.plugin.sidebar\x20===\x20\x27always\x27\x20||\x20vm.plugin.sidebar\x20===\x20\x27adminOnly\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MARKETPLACE.ADMINURL\x22>AdminUrl</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22adminUrl\x22\x20\x20ng-model=\x22vm.plugin.adminUrl\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22pluginForm[\x27adminUrl\x27].$error\x22\x20ng-show=\x22pluginForm[\x27adminUrl\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MARKETPLACE.ERRORS.ADMINURL_REQUIRED\x22>AdminUrl\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.plugin.sidebar\x20===\x20\x27always\x27\x20||\x20vm.plugin.sidebar\x20===\x20\x27agentOnly\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22agentUrl\x22\x20\x20ng-model=\x22vm.plugin.agentUrl\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22pluginForm[\x27agentUrl\x27].$error\x22\x20ng-show=\x22pluginForm[\x27agentUrl\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MARKETPLACE.ERRORS.AGENTURL_REQUIRED\x22>AgentUrl\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.plugin.type\x20===\x20\x27script\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MARKETPLACE.SCRIPTNAME\x22>ScriptName</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22scriptName\x22\x20\x20ng-model=\x22vm.plugin.scriptName\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22pluginForm[\x27scriptName\x27].$error\x22\x20ng-show=\x22pluginForm[\x27scriptName\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MARKETPLACE.SCRIPTPATH\x22>ScriptPath</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22scriptPath\x22\x20\x20ng-model=\x22vm.plugin.scriptPath\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22pluginForm[\x27scriptPath\x27].$error\x22\x20ng-show=\x22pluginForm[\x27scriptPath\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MARKETPLACE.ERRORS.SCRIPTPATH_REQUIRED\x22>ScriptPath\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22version\x22\x20\x20ng-model=\x22vm.plugin.version\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22pluginForm[\x27version\x27].$error\x22\x20ng-show=\x22pluginForm[\x27version\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MARKETPLACE.ERRORS.VERSION_REQUIRED\x22>Version\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22pluginForm.$invalid\x20||\x20pluginForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22MARKETPLACE.SAVE\x22\x20translate-attr-aria-label=\x22MARKETPLACE.SAVE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.newPlugin\x22\x20ng-click=\x22vm.addNewPlugin()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22pluginForm.$invalid\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22MARKETPLACE.DELETE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22goto-plugins-button\x20md-icon-button\x22\x20aria-label=\x22Go\x20to\x20plugins\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.gotoPlugins()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22MARKETPLACE.GO_TO_PLUGINS\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22plugin-image\x22\x20hide-xs>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<img\x20ng-src=\x22assets/images/business/plugins.jpg\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.plugin.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-click=\x22vm.savePlugin()\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20ng-disabled=\x22(generalForm.$invalid)\x22\x20translate=\x22MARKETPLACE.SAVE\x22\x20translate-attr-aria-label=\x22MARKETPLACE.SAVE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22plugin-detail-form-container\x20general\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22MARKETPLACE.GENERAL\x22>GENERAL</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22name\x22\x20\x20ng-model=\x22vm.plugin.name\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MARKETPLACE.ERRORS.TYPE_REQUIRED\x22>Type\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.plugin.active\x22\x20aria-label=\x22Active\x22\x20\x20ng-disabled=\x22true\x22\x20><span\x20translate=\x22MARKETPLACE.ACTIVE\x22>Active</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MARKETPLACE.DESCRIPTION\x22>Description</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22description\x22\x20\x20ng-model=\x22vm.plugin.description\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27icon\x27].$error\x22\x20ng-show=\x22generalForm[\x27icon\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MARKETPLACE.SIDEBAR\x22>Sidebar</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27always\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27sidebar\x27].$error\x22\x20ng-show=\x22generalForm[\x27sidebar\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27adminUrl\x27].$error\x22\x20ng-show=\x22generalForm[\x27adminUrl\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MARKETPLACE.ERRORS.SCRIPTNAME_REQUIRED\x22>ScriptName\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27scriptPath\x27].$error\x22\x20ng-show=\x22generalForm[\x27scriptPath\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MARKETPLACE.VERSION\x22>Version</label>\x0a','<div\x20id=\x22plugins\x22\x20class=\x22page-layout\x20simple\x20left-sidenav\x20inner-sidenav\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-cart\x22\x20class=\x22s24\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22logo-text\x22\x20translate=\x22MARKETPLACE.PLUGINS\x22>Plugins</span>\x0a','\x20\x20\x20\x20<div\x20ng-show=\x22vm.selectedPlugins.length\x20>\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22selected-plugins-count\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MARKETPLACE.SELECTED\x22>selected</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22MARKETPLACE.MULTI_SELECT_TOGGLE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.selectAllPlugins()\x22\x20translate=\x22MARKETPLACE.SELECT_ALL\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deselectPlugins()\x22\x20translate=\x22MARKETPLACE.SELECT_NONE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-icon-button\x22\x20ng-csv=\x22vm.exportSelectedPlugins\x22\x20csv-label=\x22true\x22\x20filename=\x22plugins.csv\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22MARKETPLACE.DELETE_SELECTED\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22vm.installing\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-progress-linear\x20md-mode=\x22indeterminate\x22\x20class=\x22md-accent\x20padding-20\x22></md-progress-linear>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20PLUGIN\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm.query.sort\x22\x20md-on-reorder=\x22vm.getPlugins\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22name\x22>{{\x20\x27MARKETPLACE.NAME\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22type\x22>{{\x20\x27MARKETPLACE.TYPE\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22active\x22>{{\x20\x27MARKETPLACE.ACTIVE\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22description\x22>{{\x20\x27MARKETPLACE.DESCRIPTION\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22version\x22>{{\x20\x27MARKETPLACE.VERSION\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm.plugins.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MARKETPLACE.NO_AVAILABLE_INFO\x22>No\x20Available\x20Info</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22plugin\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22plugin\x20in\x20vm.plugins.rows\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22plugin.userpic\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{plugin.name}}\x22\x20ng-src=\x22api/users/{{plugin.id}}/avatar\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22!plugin.userpic\x20&&\x20(vm.table\x20==\x20\x27users\x27\x20||\x20vm.table\x20==\x20\x27agents\x27)\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{plugin.name}}\x22\x20ng-src=\x22assets/images/avatars/profile.png\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22name\x20\x22\x20>{{plugin.name}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22type\x20\x22\x20>{{plugin.type}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(plugin,\x20ev)\x20:\x20vm.createOrEditPlugin($event,\x20plugin)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(plugin,\x20ev)\x20:\x20vm.createOrEditPlugin($event,\x20plugin)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(plugin,\x20ev)\x20:\x20vm.createOrEditPlugin($event,\x20plugin)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22version\x20\x22\x20>{{plugin.version}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-item\x20\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20!plugin.active\x22\x20\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.installplugin(plugin,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Plugin\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.editstate(plugin,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MARKETPLACE.EDIT_PLUGIN\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-item\x20\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20plugin.active\x20&&\x20plugin.type\x20==\x20\x27script\x27\x22\x20\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.stopplugin(plugin,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MARKETPLACE.STOP_PLUGIN\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.restartplugin(plugin,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Restart\x20Plugin\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.downloadfile2(plugin,\x20$event\x20\x20,\x20\x27plugins\x27\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MARKETPLACE.DOWNLOAD_PLUGIN\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Download\x20Plugin\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-item\x20\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20plugin.active\x22\x20\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.uninstallplugin(plugin,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MARKETPLACE.UNINSTALL_PLUGIN\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MARKETPLACE.DELETE_PLUGIN\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27MARKETPLACE.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27MARKETPLACE.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27MARKETPLACE.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm.query.page\x22\x20md-total=\x22{{vm.plugins.count}}\x22\x20md-on-paginate=\x22vm.getPlugins\x22\x20md-page-select></md-table-pagination>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20UPLOAD\x20PLUGIN\x20BUTTON\x20-->\x0a','\x20\x20\x20\x20<md-button\x20ng-if=\x22vm.crudPermissions.canEdit\x22\x20class=\x22md-fab\x20md-accent\x22\x20id=\x22upload-plugin-button\x22\x20ng-click=\x22vm.uploadPlugin($event)\x22\x20aria-label=\x22upload\x20plugin\x22\x20translate\x20translate-attr-aria-label=\x22MARKETPLACE.UPLOAD_PLUGIN\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-upload\x22></md-icon>\x0a','<md-dialog\x20class=\x22upload-dialog\x22\x20aria-label=\x22Upload\x20\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22uploadForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20id=\x22plugin-uploader\x22\x20ng-hide=\x22vm.uploadState\x20==\x20\x27uploading\x27\x22\x20flow-init=\x22vm.ngFlowOptions\x22\x20flow-name=\x22vm.ngFlow.flow\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20flow-error=\x22vm.uploadError($file,\x20$message)\x22\x20flow-complete=\x22vm.uploadComplete()\x22\x20flow-drop\x20flow-drag-enter=\x22vm.dropping=true\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20flow-drag-leave=\x22vm.dropping=false\x22\x20ng-class=\x22{\x27dropping\x27:vm.dropping}\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22drop-text\x20hint-text\x22\x20layout=\x22row\x22\x20layout-align=\x22center\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MARKETPLACE.DROP_TO_UPLOAD\x22>Drop\x20to\x20upload</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22upload-button\x22\x20layout=\x22column\x22\x20layout-align=\x22center\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-accent\x20md-raised\x22\x20flow-btn>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Upload\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22secondary-text\x20mt-8\x22\x20translate=\x22MARKETPLACE.DROP_TO_UPLOAD_MESSAGE\x22>You\x20can\x20also\x20drop\x20your\x20file\x20here\x20to\x20upload.</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22column\x22\x20layout-align=\x22space-between\x20center\x22\x20ng-show=\x22vm.uploadState\x20==\x20\x27uploading\x27\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MARKETPLACE.UPLOADING\x22>Uploading</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-progress-linear\x20md-mode=\x22indeterminate\x22></md-progress-linear>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.closeDialog()\x22\x20ng-hide=\x22vm.uploadState\x20==\x20\x27uploading\x27\x22\x20class=\x22md-accent\x20md-raised\x22\x20aria-label=\x22FINISH\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MARKETPLACE.FINISH\x22\x20translate-attr-aria-label=\x22MARKETPLACE.FINISH\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20FINISH\x0a','<md-dialog\x20class=\x22ivrCampaign-dialog\x22\x20aria-label=\x22New\x20IvrCampaign\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22ivrCampaignForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MOTIONDIALER.NAME\x22>Name</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22name\x22\x20\x20ng-model=\x22vm.ivrCampaign.name\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22MOTIONDIALER.HELP.NAME\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22ivrCampaignForm[\x27name\x27].$error\x22\x20ng-show=\x22ivrCampaignForm[\x27name\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.NAME_REQUIRED\x22>Name\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.NAME_MUST_VALID_PATTERN\x22\x20translate-values=\x22{\x20regex:\x20\x27/^[A-Za-z0-9\x5c.\x5c_]+$/i\x27\x20}\x22>Name\x20must\x20be\x20valid\x20pattern\x20</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.ivrCampaign.active\x22\x20aria-label=\x22Active\x22\x20><span\x20translate=\x22MOTIONDIALER.ACTIVE\x22>Active</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MOTIONDIALER.TRUNK\x22>Trunk</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22TrunkId.canSelect\x20===\x20false\x22>{{\x20TrunkId.name\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22ivrCampaignForm[\x27TrunkId\x27].$error\x22\x20ng-show=\x22ivrCampaignForm[\x27TrunkId\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.TRUNK_REQUIRED\x22>Trunk\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MOTIONDIALER.INTERVAL\x22>Interval</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22ivrCampaignForm[\x27IntervalId\x27].$error\x22\x20ng-show=\x22ivrCampaignForm[\x27IntervalId\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.INTERVAL_REQUIRED\x22>Interval\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22dialCheckDuplicateType\x22\x20ng-model=\x22vm.ivrCampaign.dialCheckDuplicateType\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27MOTIONDIALER.ALWAYS\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27MOTIONDIALER.NEVER\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27onlyIfOpen\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27MOTIONDIALER.ONLY_IF_OPEN\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.CHECKDUPLICATE_REQUIRED\x22>CheckDuplicate\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MOTIONDIALER.CALLYSQUAREPROJECT\x22>CallySquareProject</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22SquareProjectId\x22\x20ng-model=\x22vm.ivrCampaign.SquareProjectId\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22SquareProjectId.id\x22\x20ng-repeat=\x22SquareProjectId\x20in\x20vm.projects\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22SquareProjectId.canSelect\x20===\x20false\x22>{{\x20SquareProjectId.name\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22ivrCampaignForm[\x27SquareProjectId\x27].$error\x22\x20ng-show=\x22ivrCampaignForm[\x27SquareProjectId\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.CALLYSQUAREPROJECT_REQUIRED\x22>CallySquareProject\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22limitCalls\x22\x20\x20ng-model=\x22vm.ivrCampaign.limitCalls\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22MOTIONDIALER.HELP.CONCURRENTCALLS\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22ivrCampaignForm[\x27limitCalls\x27].$error\x22\x20ng-show=\x22ivrCampaignForm[\x27limitCalls\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.CONCURRENTCALLS_REQUIRED\x22>ConcurrentCalls\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.CONCURRENTCALLS_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>ConcurrentCalls\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>1</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.CONCURRENTCALLS_MUST_BE_LESS_THAN_OR_EQUAL_TO\x22>ConcurrentCalls\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>200</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MOTIONDIALER.DESCRIPTION\x22>Description</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22description\x22\x20\x20ng-model=\x22vm.ivrCampaign.description\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22ivrCampaignForm[\x27description\x27].$error\x22\x20ng-show=\x22ivrCampaignForm[\x27description\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.DESCRIPTION_REQUIRED\x22>Description\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22ivrCampaignForm.$invalid\x20||\x20ivrCampaignForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22MOTIONDIALER.SAVE\x22\x20translate-attr-aria-label=\x22MOTIONDIALER.SAVE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22MOTIONDIALER.ADD_IVRCAMPAIGN\x22\x20translate-attr-aria-label=\x22MOTIONDIALER.ADD_IVRCAMPAIGN\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x20&&\x20!vm.newIvrCampaign\x22\x20ng-click=\x22vm.deleteIvrCampaign($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip><span\x20translate=\x22MOTIONDIALER.DELETE\x22>DELETE</span></md-tooltip>\x0a','<md-dialog\x20class=\x22ivrCampaign-dialog\x22\x20aria-label=\x22ivrCampaign\x22\x20ng-init=\x22vm.onInit()\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h2\x20translate=\x22MOTIONDIALER.BLACKLISTADD_IVRCAMPAIGN\x22>Add\x20List\x20in\x20IVRCAMPAIGN</h2>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<ms-dual-multiselect\x20ng-hide=\x22vm.loading\x22\x20options=\x22vm.dualMultiselectOptions\x22></ms-dual-multiselect>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-hide=\x22!vm.loading\x22\x20layout-fill\x20style=\x22min-height:\x20397px;\x22\x20layout=\x22row\x22\x20layout-sm=\x22column\x22\x20layout-align=\x22center\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-progress-circular\x20class=\x22md-primary\x20md-hue-1\x22\x20md-diameter=\x2296\x22></md-progress-circular>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a','\x20\x20\x20\x20\x20\x20\x20</md-dialog-content>\x0a','<md-dialog\x20class=\x22ivrCampaign-dialog\x22\x20aria-label=\x22Clone\x20IvrCampaign\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.newIvrCampaign\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-click=\x22vm.cloneIvrCampaign()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22CLONE\x22\x20translate=\x22MOTIONDIALER.CLONE_IVRCAMPAIGN\x22\x20translate-attr-aria-label=\x22MOTIONDIALER.CLONE_IVRCAMPAIGN\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CLONE\x20IVRCAMPAIGN\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MOTIONDIALER.SCHEDULEDAT\x22>ScheduledAt</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<mdp-date-picker\x20mdp-open-on-click\x20\x20name=\x22scheduledatDate\x22\x20mdp-placeholder=\x22Date\x22\x20mdp-format=\x22YYYY-MM-DD\x22\x20ng-model=\x22vm.hopper.scheduledat\x22\x20ng-init=\x22vm.hopper.scheduledat\x20=\x20vm.getDateFromString(vm.hopper.scheduledat)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.DATE_INVALID\x22>Date\x20is\x20invalid</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22hopperForm.timeRangeFrom.$error\x22\x20ng-show=\x22hopperForm.timeRangeFrom.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.TIME_INVALID\x22>Time\x20is\x20invalid</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</mdp-time-picker>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MOTIONDIALER.PRIORITY\x22>Priority</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Highest</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>High</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x272\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Medium</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x271\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Low</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x270\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.PRIORITY_REQUIRED\x22>Priority\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22hopperForm.$invalid\x20||\x20hopperForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.newHopper\x22\x20ng-click=\x22vm.addNewHopper()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22hopperForm.$invalid\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22MOTIONDIALER.ADD_HOPPER\x22\x20translate-attr-aria-label=\x22MOTIONDIALER.ADD_HOPPER\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x20&&\x20!vm.newHopper\x22\x20ng-click=\x22vm.deleteHopper($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22MOTIONDIALER.DELETE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h2\x20translate=\x22MOTIONDIALER.LISTADD_IVRCAMPAIGN\x22>Add\x20List\x20in\x20IVRCAMPAIGN</h2>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20layout-align=\x22end\x20center\x22\x20type=\x22submit\x22\x20ng-click=\x22vm.saveLists()\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20ng-disabled=\x22!vm.pendingChanges\x22\x20aria-label=\x22SAVE\x22\x20translate=\x22STAFF.SAVE\x22\x20translate-attr-aria-label=\x22STAFF.SAVE\x22>\x0a','<md-dialog\x20class=\x22queueCampaign-dialog\x22\x20aria-label=\x22queueCampaign\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22queueCampaignForm\x22\x20ng-cloak>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h2\x20translate=\x22MOTIONDIALER.RESETLIST\x20\x22>Reset\x20List</h2>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-disabled=\x22vm.loading\x22\x20ng-click=\x22vm.closeDialog()\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-dialog-content\x20ng-hide=\x22vm.loading\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22row\x22\x20layout-wrap\x20flex>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20flex-xs\x20flex=\x2250\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22vm.isChecked()\x22\x20translate=\x22MOTIONDIALER.UNSELECTALL\x22></span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22!vm.isChecked()\x22\x20translate=\x22MOTIONDIALER.SELECTALL\x22></span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-checkbox>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20flex=\x22{{vm.items.length\x20>\x2010\x20?\x2050\x20:\x20100\x20}}\x22\x20ng-repeat=\x22item\x20in\x20vm.items\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-checkbox\x20ng-checked=\x22vm.exists(item,\x20vm.selected)\x22\x20ng-click=\x22vm.toggle(item,\x20vm.selected)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-dialog-actions\x20ng-hide=\x22vm.loading\x22\x20layout=\x22row\x22\x20layout-align=\x22end\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-dialog-actions>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-hide=\x22!vm.loading\x22\x20layout-fill\x20style=\x22min-height:\x20397px;\x22\x20layout=\x22row\x22\x20layout-sm=\x22column\x22\x20layout-align=\x22center\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22MOTIONDIALER.GO_TO_IVRCAMPAIGNS\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22ivrCampaign-image\x22\x20hide-xs>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22vm.ivrCampaign.name\x22>{{vm.ivrCampaign.name}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.CREATED_AT\x22></span>\x20<span>{{vm.ivrCampaign.createdAt\x20|\x20date:\x27medium\x27}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.clonedialog(vm.ivrCampaign,\x20$event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22md-fab\x20md-green-500-bg\x20md-icon-button\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22clone\x22\x20\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip><span\x20translate=\x22MOTIONDIALER.CLONE_IVRCAMPAIGN\x22></span></md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.listadddialog(vm.ivrCampaign,\x20$event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22listadd\x22\x20\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-format-list-numbers\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.blacklistadddialog(vm.ivrCampaign,\x20$event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22blacklistadd\x22\x20\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip><span\x20translate=\x22MOTIONDIALER.BLACKLISTADD_IVRCAMPAIGN\x22></span></md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-block-helper\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.resetlistdialog(vm.ivrCampaign,\x20$event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22resetlist\x22\x20\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip><span\x20translate=\x22MOTIONDIALER.RESETLIST_IVRCAMPAIGN\x22></span></md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-restore\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip><span\x20translate=\x22MOTIONDIALER.GOTO_IVRCAMPAIGN\x22></span></md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.SETTINGS\x22>SETTINGS</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22ivrCampaign-detail-form-container\x20general\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22MOTIONDIALER.GENERAL\x22>GENERAL</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.ivrCampaign.active\x22\x20aria-label=\x22Active\x22\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20><span\x20translate=\x22MOTIONDIALER.ACTIVE\x22>Active</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22TrunkId\x22\x20ng-model=\x22vm.ivrCampaign.TrunkId\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MOTIONDIALER.BACKUPTRUNK\x22>BackupTrunk</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22TrunkBackupId.id\x22\x20ng-repeat=\x22TrunkBackupId\x20in\x20vm.trunks\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22TrunkBackupId.canSelect\x20===\x20false\x22>{{\x20TrunkBackupId.name\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27TrunkBackupId\x27].$error\x22\x20ng-show=\x22generalForm[\x27TrunkBackupId\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27IntervalId\x27].$error\x22\x20ng-show=\x22generalForm[\x27IntervalId\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27always\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27never\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27dialCheckDuplicateType\x27].$error\x22\x20ng-show=\x22generalForm[\x27dialCheckDuplicateType\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MOTIONDIALER.CUTDIGIT\x22>CutDigit</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22dialCutDigit\x22\x20\x20ng-model=\x22vm.ivrCampaign.dialCutDigit\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20max=\x2215\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27dialCutDigit\x27].$error\x22\x20ng-show=\x22generalForm[\x27dialCutDigit\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.CUTDIGIT_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>CutDigit\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>0</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22MOTIONDIALER.CAMPAIGN\x22>CAMPAIGN</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<form\x20name=\x22campaignForm\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22campaignForm[\x27SquareProjectId\x27].$error\x22\x20ng-show=\x22campaignForm[\x27SquareProjectId\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MOTIONDIALER.CONCURRENTCALLS\x22>ConcurrentCalls</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20max=\x22200\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22campaignForm[\x27limitCalls\x27].$error\x22\x20ng-show=\x22campaignForm[\x27limitCalls\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22MOTIONDIALER.ORIGINATE\x22>ORIGINATE</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<form\x20name=\x22originateForm\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MOTIONDIALER.ORIGINATECALLERIDNAME\x22>OriginateCallerIdName</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22dialOriginateCallerIdName\x22\x20\x20ng-model=\x22vm.ivrCampaign.dialOriginateCallerIdName\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22MOTIONDIALER.HELP.ORIGINATECALLERIDNAME\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.ORIGINATECALLERIDNAME_REQUIRED\x22>OriginateCallerIdName\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MOTIONDIALER.ORIGINATECALLERIDNUMBER\x22>OriginateCallerIdNumber</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22dialOriginateCallerIdNumber\x22\x20\x20ng-model=\x22vm.ivrCampaign.dialOriginateCallerIdNumber\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22MOTIONDIALER.HELP.ORIGINATECALLERIDNUMBER\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22originateForm[\x27dialOriginateCallerIdNumber\x27].$error\x22\x20ng-show=\x22originateForm[\x27dialOriginateCallerIdNumber\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.ORIGINATECALLERIDNUMBER_REQUIRED\x22>OriginateCallerIdNumber\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MOTIONDIALER.RANDOMLASTDIGITCALLERIDNUMBER\x22>RandomLastDigitCallerIdNumber</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22MOTIONDIALER.HELP.RANDOMLASTDIGITCALLERIDNUMBER\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.RANDOMLASTDIGITCALLERIDNUMBER_REQUIRED\x22>RandomLastDigitCallerIdNumber\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.RANDOMLASTDIGITCALLERIDNUMBER_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>RandomLastDigitCallerIdNumber\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>0</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.RANDOMLASTDIGITCALLERIDNUMBER_MUST_BE_LESS_THAN_OR_EQUAL_TO\x22>RandomLastDigitCallerIdNumber\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>15</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MOTIONDIALER.ORIGINATETIMEOUT\x22>OriginateTimeout</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20max=\x22999\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22originateForm[\x27dialOriginateTimeout\x27].$error\x22\x20ng-show=\x22originateForm[\x27dialOriginateTimeout\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.ORIGINATETIMEOUT_REQUIRED\x22>OriginateTimeout\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.ORIGINATETIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>OriginateTimeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>1</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.ORIGINATETIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO\x22>OriginateTimeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>999</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MOTIONDIALER.PREFIX\x22>Prefix</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-pattern=\x22/^\x5cd+$/\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22MOTIONDIALER.HELP.PREFIX\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22originateForm[\x27dialPrefix\x27].$error\x22\x20ng-show=\x22originateForm[\x27dialPrefix\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.RETRYANDFREQUENCY\x22>RETRYANDFREQUENCY</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22ivrCampaign-detail-form-container\x20global\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22MOTIONDIALER.GLOBAL\x22>GLOBAL</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<form\x20name=\x22globalForm\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22MOTIONDIALER.HELP.GLOBALMAXRETRY\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22globalForm[\x27dialGlobalMaxRetry\x27].$error\x22\x20ng-show=\x22globalForm[\x27dialGlobalMaxRetry\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.GLOBALMAXRETRY_MUST_BE_LESS_THAN_OR_EQUAL_TO\x22>GlobalMaxRetry\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>999</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22ivrCampaign-detail-form-container\x20congestion\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22MOTIONDIALER.CONGESTION\x22>CONGESTION</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<form\x20name=\x22congestionForm\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22dialCongestionMaxRetry\x22\x20\x20ng-model=\x22vm.ivrCampaign.dialCongestionMaxRetry\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22MOTIONDIALER.HELP.CONGESTIONMAXRETRY\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22congestionForm[\x27dialCongestionMaxRetry\x27].$error\x22\x20ng-show=\x22congestionForm[\x27dialCongestionMaxRetry\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.CONGESTIONMAXRETRY_MUST_BE_LESS_THAN_OR_EQUAL_TO\x22>CongestionMaxRetry\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>999</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22dialCongestionRetryFrequency\x22\x20\x20ng-model=\x22vm.ivrCampaign.dialCongestionRetryFrequency\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20max=\x2299999\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22MOTIONDIALER.HELP.CONGESTIONRETRYTIME\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.CONGESTIONRETRYTIME_MUST_BE_LESS_THAN_OR_EQUAL_TO\x22>CongestionRetryTime\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>99999</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22ivrCampaign-detail-form-container\x20busy\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<form\x20name=\x22busyForm\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MOTIONDIALER.BUSYMAXRETRY\x22>BusyMaxRetry</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22dialBusyMaxRetry\x22\x20\x20ng-model=\x22vm.ivrCampaign.dialBusyMaxRetry\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22MOTIONDIALER.HELP.BUSYMAXRETRY\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22busyForm[\x27dialBusyMaxRetry\x27].$error\x22\x20ng-show=\x22busyForm[\x27dialBusyMaxRetry\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.BUSYMAXRETRY_REQUIRED\x22>BusyMaxRetry\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.BUSYMAXRETRY_MUST_BE_LESS_THAN_OR_EQUAL_TO\x22>BusyMaxRetry\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>999</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22MOTIONDIALER.HELP.BUSYRETRYTIME\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22busyForm[\x27dialBusyRetryFrequency\x27].$error\x22\x20ng-show=\x22busyForm[\x27dialBusyRetryFrequency\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.BUSYRETRYTIME_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>BusyRetryTime\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>1</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.BUSYRETRYTIME_MUST_BE_LESS_THAN_OR_EQUAL_TO\x22>BusyRetryTime\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>99999</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22ivrCampaign-detail-form-container\x20noanswer\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22MOTIONDIALER.NOANSWER\x22>NOANSWER</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<form\x20name=\x22noanswerForm\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22dialNoAnswerMaxRetry\x22\x20\x20ng-model=\x22vm.ivrCampaign.dialNoAnswerMaxRetry\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22MOTIONDIALER.HELP.NOANSWERMAXRETRY\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22noanswerForm[\x27dialNoAnswerMaxRetry\x27].$error\x22\x20ng-show=\x22noanswerForm[\x27dialNoAnswerMaxRetry\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.NOANSWERMAXRETRY_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>NoAnswerMaxRetry\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>1</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.NOANSWERMAXRETRY_MUST_BE_LESS_THAN_OR_EQUAL_TO\x22>NoAnswerMaxRetry\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>999</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MOTIONDIALER.NOANSWERRETRYTIME\x22>NoAnswerRetryTime</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22MOTIONDIALER.HELP.NOANSWERRETRYTIME\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22noanswerForm[\x27dialNoAnswerRetryFrequency\x27].$error\x22\x20ng-show=\x22noanswerForm[\x27dialNoAnswerRetryFrequency\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.NOANSWERRETRYTIME_REQUIRED\x22>NoAnswerRetryTime\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.NOANSWERRETRYTIME_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>NoAnswerRetryTime\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>1</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.NOANSWERRETRYTIME_MUST_BE_LESS_THAN_OR_EQUAL_TO\x22>NoAnswerRetryTime\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>99999</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22ivrCampaign-detail-form-container\x20nosuchnumber\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22MOTIONDIALER.NOSUCHNUMBER\x22>NOSUCHNUMBER</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<form\x20name=\x22nosuchnumberForm\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MOTIONDIALER.NOSUCHNUMBERMAXRETRY\x22>NoSuchNumberMaxRetry</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22dialNoSuchNumberMaxRetry\x22\x20\x20ng-model=\x22vm.ivrCampaign.dialNoSuchNumberMaxRetry\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.NOSUCHNUMBERMAXRETRY_REQUIRED\x22>NoSuchNumberMaxRetry\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.NOSUCHNUMBERMAXRETRY_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>NoSuchNumberMaxRetry\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>1</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MOTIONDIALER.NOSUCHNUMBERRETRYTIME\x22>NoSuchNumberRetryTime</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22dialNoSuchNumberRetryFrequency\x22\x20\x20ng-model=\x22vm.ivrCampaign.dialNoSuchNumberRetryFrequency\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22MOTIONDIALER.HELP.NOSUCHNUMBERRETRYTIME\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22nosuchnumberForm[\x27dialNoSuchNumberRetryFrequency\x27].$error\x22\x20ng-show=\x22nosuchnumberForm[\x27dialNoSuchNumberRetryFrequency\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.NOSUCHNUMBERRETRYTIME_REQUIRED\x22>NoSuchNumberRetryTime\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.NOSUCHNUMBERRETRYTIME_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>NoSuchNumberRetryTime\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>1</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.NOSUCHNUMBERRETRYTIME_MUST_BE_LESS_THAN_OR_EQUAL_TO\x22>NoSuchNumberRetryTime\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>99999</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22ivrCampaign-detail-form-container\x20drop\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22MOTIONDIALER.DROP\x22>DROP</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<form\x20name=\x22dropForm\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MOTIONDIALER.DROPMAXRETRY\x22>DropMaxRetry</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22dropForm[\x27dialDropMaxRetry\x27].$error\x22\x20ng-show=\x22dropForm[\x27dialDropMaxRetry\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.DROPMAXRETRY_REQUIRED\x22>DropMaxRetry\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MOTIONDIALER.DROPRETRYTIME\x22>DropRetryTime</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22dialDropRetryFrequency\x22\x20\x20ng-model=\x22vm.ivrCampaign.dialDropRetryFrequency\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22MOTIONDIALER.HELP.DROPRETRYTIME\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.DROPRETRYTIME_REQUIRED\x22>DropRetryTime\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.DROPRETRYTIME_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>DropRetryTime\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>1</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.DROPRETRYTIME_MUST_BE_LESS_THAN_OR_EQUAL_TO\x22>DropRetryTime\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>99999</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22ivrCampaign-detail-form-container\x20abandoned\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<form\x20name=\x22abandonedForm\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MOTIONDIALER.ABANDONEDMAXRETRY\x22>AbandonedMaxRetry</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.ABANDONEDMAXRETRY_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>AbandonedMaxRetry\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>1</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.ABANDONEDMAXRETRY_MUST_BE_LESS_THAN_OR_EQUAL_TO\x22>AbandonedMaxRetry\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>999</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MOTIONDIALER.ABANDONEDRETRYTIME\x22>AbandonedRetryTime</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22dialAbandonedRetryFrequency\x22\x20\x20ng-model=\x22vm.ivrCampaign.dialAbandonedRetryFrequency\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22MOTIONDIALER.HELP.ABANDONEDRETRYTIME\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.ABANDONEDRETRYTIME_REQUIRED\x22>AbandonedRetryTime\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.ABANDONEDRETRYTIME_MUST_BE_LESS_THAN_OR_EQUAL_TO\x22>AbandonedRetryTime\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>99999</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22ivrCampaign-detail-form-container\x20machine\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22MOTIONDIALER.MACHINE\x22>MACHINE</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<form\x20name=\x22machineForm\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MOTIONDIALER.MACHINEMAXRETRY\x22>MachineMaxRetry</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22dialMachineMaxRetry\x22\x20\x20ng-model=\x22vm.ivrCampaign.dialMachineMaxRetry\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22MOTIONDIALER.HELP.MACHINEMAXRETRY\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22machineForm[\x27dialMachineMaxRetry\x27].$error\x22\x20ng-show=\x22machineForm[\x27dialMachineMaxRetry\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.MACHINEMAXRETRY_REQUIRED\x22>MachineMaxRetry\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.MACHINEMAXRETRY_MUST_BE_LESS_THAN_OR_EQUAL_TO\x22>MachineMaxRetry\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>999</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22dialMachineRetryFrequency\x22\x20\x20ng-model=\x22vm.ivrCampaign.dialMachineRetryFrequency\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22MOTIONDIALER.HELP.MACHINERETRYTIME\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22machineForm[\x27dialMachineRetryFrequency\x27].$error\x22\x20ng-show=\x22machineForm[\x27dialMachineRetryFrequency\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.MACHINERETRYTIME_REQUIRED\x22>MachineRetryTime\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.MACHINERETRYTIME_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>MachineRetryTime\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>1</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22ivrCampaign-detail-form-container\x20agentreject\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<form\x20name=\x22agentrejectForm\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22MOTIONDIALER.HELP.AGENTREJECTMAXRETRY\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22agentrejectForm[\x27dialAgentRejectMaxRetry\x27].$error\x22\x20ng-show=\x22agentrejectForm[\x27dialAgentRejectMaxRetry\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.AGENTREJECTMAXRETRY_REQUIRED\x22>AgentRejectMaxRetry\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.AGENTREJECTMAXRETRY_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>AgentRejectMaxRetry\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>1</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.AGENTREJECTMAXRETRY_MUST_BE_LESS_THAN_OR_EQUAL_TO\x22>AgentRejectMaxRetry\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>999</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MOTIONDIALER.AGENTREJECTRETRYTIME\x22>AgentRejectRetryTime</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22MOTIONDIALER.HELP.AGENTREJECTRETRYTIME\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.AGENTREJECTRETRYTIME_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>AgentRejectRetryTime\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>1</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.AGENTREJECTRETRYTIME_MUST_BE_LESS_THAN_OR_EQUAL_TO\x22>AgentRejectRetryTime\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>99999</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ADVANCED\x22>ADVANCED</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22ivrCampaign-detail-form-container\x20advanced\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22MOTIONDIALER.ADVANCED\x22>ADVANCED</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MOTIONDIALER.DIALORDERBYSCHEDULEDAT\x22>DialOrderByScheduledAt</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22dialOrderByScheduledAt\x22\x20ng-model=\x22vm.ivrCampaign.dialOrderByScheduledAt\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27DESC\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27MOTIONDIALER.DESC\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27ASC\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27MOTIONDIALER.ASC\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22MOTIONDIALER.HELP.DIALORDERBYSCHEDULEDAT\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22advancedForm[\x27dialOrderByScheduledAt\x27].$error\x22\x20ng-show=\x22advancedForm[\x27dialOrderByScheduledAt\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.DIALORDERBYSCHEDULEDAT_REQUIRED\x22>DialOrderByScheduledAt\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22MOTIONDIALER.GLOBALINTERVAL\x22>GLOBALINTERVAL</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<form\x20name=\x22globalintervalForm\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MOTIONDIALER.GLOBALINTERVAL\x22>GlobalInterval</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22dialGlobalInterval\x22\x20\x20ng-model=\x22vm.ivrCampaign.dialGlobalInterval\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22MOTIONDIALER.HELP.GLOBALINTERVAL\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.GLOBALINTERVAL_REQUIRED\x22>GlobalInterval\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22ivrCampaign-detail-form-container\x20timezone\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<form\x20name=\x22timezoneForm\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<ms-timezone\x20name=\x22dialTimezone\x22\x20ng-model=\x22vm.ivrCampaign.dialTimezone\x22\x20\x20autofocus\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20><\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22MOTIONDIALER.HELP.TIMEZONE\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22timezoneForm[\x27dialTimezone\x27].$error\x22\x20ng-show=\x22timezoneForm[dialTimezone].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.TIMEZONE_REQUIRED\x22>Timezone\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22MOTIONDIALER.AMD\x22>AMD</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.ivrCampaign.dialAMDActive\x22\x20aria-label=\x22AMDActive\x22\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20><span\x20translate=\x22MOTIONDIALER.AMDACTIVE\x22>AMDActive</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.ivrCampaign.dialAMDActive\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MOTIONDIALER.AMDINITIALSILENCE\x22>AMDInitialSilence</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22dialAMDInitialSilence\x22\x20\x20ng-model=\x22vm.ivrCampaign.dialAMDInitialSilence\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22MOTIONDIALER.HELP.AMDINITIALSILENCE\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22amdForm[\x27dialAMDInitialSilence\x27].$error\x22\x20ng-show=\x22amdForm[\x27dialAMDInitialSilence\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.AMDINITIALSILENCE_REQUIRED\x22>AMDInitialSilence\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.AMDINITIALSILENCE_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>AMDInitialSilence\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>0</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.ivrCampaign.dialAMDActive\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MOTIONDIALER.AMDGREETING\x22>AMDGreeting</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22dialAMDGreeting\x22\x20\x20ng-model=\x22vm.ivrCampaign.dialAMDGreeting\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22MOTIONDIALER.HELP.AMDGREETING\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.AMDGREETING_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>AMDGreeting\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>0</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MOTIONDIALER.AMDAFTERGREETINGSILENCE\x22>AMDAfterGreetingSilence</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22dialAMDAfterGreetingSilence\x22\x20\x20ng-model=\x22vm.ivrCampaign.dialAMDAfterGreetingSilence\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22MOTIONDIALER.HELP.AMDAFTERGREETINGSILENCE\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.AMDAFTERGREETINGSILENCE_REQUIRED\x22>AMDAfterGreetingSilence\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.AMDAFTERGREETINGSILENCE_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>AMDAfterGreetingSilence\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>0</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MOTIONDIALER.AMDTOTALANALYSISTIME\x22>AMDTotalAnalysisTime</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22dialAMDTotalAnalysisTime\x22\x20\x20ng-model=\x22vm.ivrCampaign.dialAMDTotalAnalysisTime\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MOTIONDIALER.AMDMINWORDLENGTH\x22>AMDMinWordLength</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22amdForm[\x27dialAMDMinWordLength\x27].$error\x22\x20ng-show=\x22amdForm[\x27dialAMDMinWordLength\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.AMDMINWORDLENGTH_REQUIRED\x22>AMDMinWordLength\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.AMDMINWORDLENGTH_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>AMDMinWordLength\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>0</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MOTIONDIALER.AMDBETWEENWORDSSILENCE\x22>AMDBetweenWordsSilence</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22dialAMDBetweenWordsSilence\x22\x20\x20ng-model=\x22vm.ivrCampaign.dialAMDBetweenWordsSilence\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22MOTIONDIALER.HELP.AMDBETWEENWORDSSILENCE\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.AMDBETWEENWORDSSILENCE_REQUIRED\x22>AMDBetweenWordsSilence\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.AMDBETWEENWORDSSILENCE_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>AMDBetweenWordsSilence\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>0</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MOTIONDIALER.AMDMAXIMUMNUMBEROFWORDS\x22>AMDMaximumNumberOfWords</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22dialAMDMaximumNumberOfWords\x22\x20\x20ng-model=\x22vm.ivrCampaign.dialAMDMaximumNumberOfWords\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22MOTIONDIALER.HELP.AMDMAXIMUMNUMBEROFWORDS\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.AMDMAXIMUMNUMBEROFWORDS_REQUIRED\x22>AMDMaximumNumberOfWords\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.AMDMAXIMUMNUMBEROFWORDS_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>AMDMaximumNumberOfWords\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>0</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MOTIONDIALER.AMDSILENCETHRESHOLD\x22>AMDSilenceThreshold</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20max=\x2232767\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22MOTIONDIALER.HELP.AMDSILENCETHRESHOLD\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22amdForm[\x27dialAMDSilenceThreshold\x27].$error\x22\x20ng-show=\x22amdForm[\x27dialAMDSilenceThreshold\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.AMDSILENCETHRESHOLD_REQUIRED\x22>AMDSilenceThreshold\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.AMDSILENCETHRESHOLD_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>AMDSilenceThreshold\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>0</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.AMDSILENCETHRESHOLD_MUST_BE_LESS_THAN_OR_EQUAL_TO\x22>AMDSilenceThreshold\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>32767</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MOTIONDIALER.AMDMAXIMUMWORDLENGTH\x22>AMDMaximumWordLength</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22dialAMDMaximumWordLength\x22\x20\x20ng-model=\x22vm.ivrCampaign.dialAMDMaximumWordLength\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.AMDMAXIMUMWORDLENGTH_REQUIRED\x22>AMDMaximumWordLength\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22ivrCampaign-detail-form-container\x20hopperstatistics\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-default\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20flex></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm_hs.init(vm.ivrCampaign)\x22\x20aria-label=\x22refresh\x20Hopper\x22\x20translate\x20translate-attr-label=\x22MOTIONDIALER.REFRESH_HOPPERS\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-refresh\x22></md-icon>\x0a','\x20\x20<!--\x20WIDGET\x20GROUP\x20-->\x0a','\x20\x20\x20\x20<!--\x20WIDGET\x201\x20-->\x0a','\x20\x20\x20\x20<ms-widget\x20class=\x22h-140\x22\x20layout=\x22column\x22\x20flex=\x22100\x22\x20flex-gt-xs=\x2250\x22\x20flex-gt-md=\x2225\x22>\x0a','\x20\x20\x20\x20\x20\x20<!--\x20Front\x20-->\x0a','\x20\x20\x20\x20\x20\x20<ms-widget-front\x20class=\x22p-16\x20white-bg\x22\x20layout=\x22row\x22\x20flex>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22pt-8\x20pb-8\x22\x20layout=\x22column\x22\x20layout-align=\x22center\x20center\x22\x20flex>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22md-display-1\x20pb-8\x22>{{(vm_hs.total\x20||\x200)\x20+\x20(vm_hs.closed\x20||\x200)}}</div>\x0a','\x20\x20\x20\x20<!--\x20WIDGET\x202\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22md-display-1\x20pb-8\x22>{{vm_hs.fresh\x20||\x200}}\x20({{vm_hs.total\x20?\x20((((vm_hs.fresh\x20||\x200)\x20*\x20100)/((vm_hs.closed\x20||\x200)\x20+\x20(vm_hs.total\x20||\x200)))\x20|\x20number:\x202)\x20:\x200}}%)</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22font-weight-500\x20secondary-text\x22>{{\x20\x27MOTIONDIALER.FRESH\x27\x20|\x20translate\x20}}</div>\x0a','\x20\x20\x20\x20\x20\x20</ms-widget-front>\x0a','\x20\x20\x20\x20</ms-widget>\x0a','\x20\x20\x20\x20<!--\x20WIDGET\x203\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22md-display-1\x20pb-8\x22>{{vm_hs.total\x20?\x20(vm_hs.total\x20-\x20(vm_hs.fresh\x20||\x200))\x20:\x200}}\x20({{vm_hs.total\x20?\x20((((vm_hs.total\x20-\x20(vm_hs.fresh\x20||\x200))\x20*\x20100)/((vm_hs.closed\x20||\x200)\x20+\x20(vm_hs.total\x20||\x200)))\x20|\x20number:\x202)\x20:\x200}}%)</div>\x0a','\x20\x20\x20\x20\x20\x20<!--\x20/\x20Front\x20-->\x0a','\x20\x20\x20\x20<!--\x20/\x20WIDGET\x203\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22md-display-1\x20pb-8\x22>{{vm_hs.closed\x20?\x20(vm_hs.closed\x20||\x200)\x20:\x200}}\x20({{vm_hs.closed\x20?\x20((((vm_hs.closed)\x20*\x20100)/(vm_hs.closed\x20+\x20(vm_hs.total\x20||\x200)))\x20|\x20number:\x202)\x20:\x200}}%)</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22font-weight-500\x20secondary-text\x22>{{\x20\x27MOTIONDIALER.CLOSED\x27\x20|\x20translate\x20}}</div>\x0a','\x20\x20<!--\x20/\x20WIDGET\x20GROUP\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22ivrCampaign-detail-form-container\x20hoppers\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-controller=\x22IvrCampaignHoppersController\x20as\x20vm_dc\x22\x20ng-init=\x22vm_dc.init(vm.ivrCampaign,\x20vm.crudPermissions)\x22>\x0a','\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-default\x22\x20ng-hide=\x22vm_dc.selectedIvrCampaignHoppers.length\x22>\x0a','\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22\x20translate=\x22MOTIONDIALER.HOPPERS\x22>Hoppers</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm_dc.getIvrCampaignHoppers()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22refresh\x20Hoppers\x22\x20translate\x20translate-attr-label=\x22MOTIONDIALER.REFRESH_HOPPERS\x22>\x0a','\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-accent\x22\x20ng-show=\x22vm_dc.selectedIvrCampaignHoppers.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22>{{vm_dc.selectedIvrCampaignHoppers.length}}\x20{{vm_dc.selectedIvrCampaignHoppers.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-icon-button\x22\x20ng-csv=\x22vm_dc.exportSelectedIvrCampaignHoppers\x22\x20csv-label=\x22true\x22\x20filename=\x22ivrCampaigns.csv\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22MOTIONDIALER.DELETE_SELECTED\x22>\x0a','\x20\x20\x20\x20\x20\x20<table\x20md-table\x20md-row-select\x20multiple\x20ng-model=\x22vm_dc.selectedIvrCampaignHoppers\x22\x20md-progress=\x22vm_dc.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22ContactId\x22\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22phone\x22\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22countcongestionretry\x22\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22countbusyretry\x22\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.BUSY\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22countnoanswerretry\x22\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.NOANSWER\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22countnosuchnumberretry\x22\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22countdropretry\x22\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.DROP\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.ABANDONED\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22countmachineretry\x22\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.MACHINE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22countagentrejectretry\x22\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.AGENTREJECT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.SCHEDULEDAT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22priority\x22\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hopper.ContactId}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_dc.createOrEditIvrCampaignHopper($event,\x20hopper)\x22\x20\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hopper.phone}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hopper.countbusyretry}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hopper.countnoanswerretry}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hopper.countnosuchnumberretry}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hopper.countabandonedretry}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hopper.countagentrejectretry}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_dc.createOrEditIvrCampaignHopper($event,\x20hopper)\x22\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20hopper.scheduledat\x20|\x20formatdate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm_dc.arraypriority[hopper.priority].option\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20aria-label=\x22More\x22\x20translate\x20translate-attr-aria-label=\x22MOTIONDIALER.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm_dc.createOrEditIvrCampaignHopper($event,\x20hopper)\x22\x20translate=\x22MOTIONDIALER.EDIT_HOPPER\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Hopper\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm_dc.deleteConfirm(hopper,\x20$event)\x22\x20translate=\x22MOTIONDIALER.DELETE_HOPPER\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Hopper\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22text-boxed-light\x22\x20translate=\x22MOTIONDIALER.NO_HOPPER_AVAILABLE\x22>No\x20hopper\x20available</span>\x0a','\x20\x20\x20\x20<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27MOTIONDIALER.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27MOTIONDIALER.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27MOTIONDIALER.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm_dc.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm_dc.query.page\x22\x20md-total=\x22{{vm_dc.ivrCampaignHoppers.count}}\x22\x20md-on-paginate=\x22vm_dc.getIvrCampaignHoppers\x22\x20md-page-select></md-table-pagination>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.HISTORY\x22>HISTORY</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22ivrCampaign-detail-form-container\x20hopperhistories\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-controller=\x22IvrCampaignHopperHistoriesController\x20as\x20vm_dc\x22\x20ng-init=\x22vm_dc.init(vm.ivrCampaign,\x20vm.crudPermissions)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm_dc.getIvrCampaignHopperHistories()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22refresh\x20HopperHistories\x22\x20translate\x20translate-attr-label=\x22MOTIONDIALER.REFRESH_HOPPERHISTORIES\x22>\x0a','\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-accent\x22\x20ng-show=\x22vm_dc.selectedIvrCampaignHopperHistories.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22>{{vm_dc.selectedIvrCampaignHopperHistories.length}}\x20{{vm_dc.selectedIvrCampaignHopperHistories.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-icon-button\x22\x20ng-csv=\x22vm_dc.exportSelectedIvrCampaignHopperHistories\x22\x20csv-label=\x22true\x22\x20filename=\x22ivrCampaigns.csv\x22>\x0a','\x20\x20\x20\x20\x20\x20<table\x20md-table\x20md-row-select\x20multiple\x20ng-model=\x22vm_dc.selectedIvrCampaignHopperHistories\x22\x20md-progress=\x22vm_dc.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm_dc.query.sort\x22\x20md-on-reorder=\x22vm_dc.getIvrCampaignHopperHistories\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.UNIQUEID\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22ContactId\x22\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.CONTACTID\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.PHONE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22calleridname\x22\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.NAME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22statedesc\x22\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.STATUS\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22scheduledat\x22\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.ENDTIME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hopperHistory.uniqueid}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hopperHistory.ContactId}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hopperHistory.calleridnum}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hopperHistory.calleridname}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hopperHistory.statedesc}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20hopperHistory.starttime\x20|\x20formatdate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-if=\x22!vm_dc.ivrCampaignHopperHistories.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20colspan=\x2211\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22text-boxed-light\x22\x20translate=\x22MOTIONDIALER.NO_HOPPERHISTORY_AVAILABLE\x22>No\x20hopperhistory\x20available</span>\x0a','\x20\x20\x20\x20<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27MOTIONDIALER.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27MOTIONDIALER.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27MOTIONDIALER.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm_dc.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm_dc.query.page\x22\x20md-total=\x22{{vm_dc.ivrCampaignHopperHistories.count}}\x22\x20md-on-paginate=\x22vm_dc.getIvrCampaignHopperHistories\x22\x20md-page-select></md-table-pagination>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22ivrCampaign-detail-form-container\x20hopperfinals\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-controller=\x22IvrCampaignHopperFinalsController\x20as\x20vm_dc\x22\x20ng-init=\x22vm_dc.init(vm.ivrCampaign,\x20vm.crudPermissions)\x22>\x0a','\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-default\x22\x20ng-hide=\x22vm_dc.selectedIvrCampaignHopperFinals.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm_dc.getIvrCampaignHopperFinals()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22refresh\x20HopperFinals\x22\x20translate\x20translate-attr-label=\x22MOTIONDIALER.REFRESH_HOPPERFINALS\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20class=\x22actions\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20aria-label=\x22More\x22\x20translate\x20translate-attr-aria-label=\x22MOTIONDIALER.MORE\x22\x20ng-click=\x22vm_dc.countContactsIvrCampaignHopperFinal(vm_dc.query.id);\x20$mdOpenMenu($event);\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-backup-restore\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip><span\x20translate=\x22MOTIONDIALER.RESTORECONTACTS\x22></span></md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-item\x20ng-if=\x22vm_dc.crudPermissions.canEdit\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm_dc.moveContactsIvrCampaignHopperFinal(3)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.NOANSWER\x20\x22>NoAnswer</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22badge\x22>({{vm_dc.contacts.noAnswerContacts}})</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.BUSY\x20\x22>Busy</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-menu-item>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm_dc.moveContactsIvrCampaignHopperFinal(8)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.CONGESTION\x20\x22>Congestion</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22badge\x22>({{vm_dc.contacts.congestionContacts}})</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm_dc.moveContactsIvrCampaignHopperFinal(10)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.DROPPED\x20\x22>Drop</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22badge\x22>({{vm_dc.contacts.dropContacts}})</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22badge\x22>({{vm_dc.contacts.abandonedContacts}})</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm_dc.moveContactsIvrCampaignHopperFinal(22)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.RECALLFAILEDTIMEOUT\x22>Recall</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22badge\x22>({{vm_dc.contacts.reCallContacts}})</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.NO_SUCH_NUMBER\x22>NoSuchNumber</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22badge\x22>({{vm_dc.contacts.noSuchContacts}})</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-item>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm_dc.moveContactsIvrCampaignHopperFinal(19)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22badge\x22>({{vm_dc.contacts.answeringMachine}})</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-menu-item>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-menu-content>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22>{{vm_dc.selectedIvrCampaignHopperFinals.length}}\x20{{vm_dc.selectedIvrCampaignHopperFinals.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-icon-button\x22\x20ng-csv=\x22vm_dc.exportSelectedIvrCampaignHopperFinals\x22\x20csv-label=\x22true\x22\x20filename=\x22ivrCampaigns.csv\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22vm_dc.crudPermissions.canEdit\x22\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm_dc.moveSelectedIvrCampaignHopperFinals($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-restore\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20<table\x20md-table\x20md-row-select\x20multiple\x20ng-model=\x22vm_dc.selectedIvrCampaignHopperFinals\x22\x20md-progress=\x22vm_dc.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm_dc.query.sort\x22\x20md-on-reorder=\x22vm_dc.getIvrCampaignHopperFinals\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.CONGESTION\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.NOSUCHNUMBER\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22countabandonedretry\x22\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.STARTTIME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.DISPOSITION\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hopperFinal.uniqueid}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hopperFinal.ContactId}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hopperFinal.calleridnum}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hopperFinal.calleridname}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hopperFinal.statedesc}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hopperFinal.countcongestionretry}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hopperFinal.countbusyretry}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hopperFinal.countnoanswerretry}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hopperFinal.countnosuchnumberretry}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hopperFinal.countdropretry}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hopperFinal.countabandonedretry}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hopperFinal.countmachineretry}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20hopperFinal.starttime\x20|\x20formatdate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20hopperFinal.endtime\x20|\x20formatdate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20class=\x22actions\x22\x20\x20ng-if=\x22!vm_dc.crudPermissions.readOnly\x22\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-item\x20ng-if=\x22vm_dc.crudPermissions.canEdit\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm_dc.moveConfirm(hopperFinal,\x20$event)\x22\x20translate=\x22MOTIONDIALER.MOVE_HOPPERFINAL\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Move\x20HopperFinal\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20colspan=\x2228\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22text-boxed-light\x22\x20translate=\x22MOTIONDIALER.NO_HOPPERFINAL_AVAILABLE\x22>No\x20hopperfinal\x20available</span>\x0a','\x20\x20\x20\x20<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27MOTIONDIALER.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27MOTIONDIALER.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27MOTIONDIALER.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm_dc.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm_dc.query.page\x22\x20md-total=\x22{{vm_dc.ivrCampaignHopperFinals.count}}\x22\x20md-on-paginate=\x22vm_dc.getIvrCampaignHopperFinals\x22\x20md-page-select></md-table-pagination>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22ivrCampaign-detail-form-container\x20hopperblacks\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-default\x22\x20ng-hide=\x22vm_dc.selectedIvrCampaignHopperBlacks.length\x22>\x0a','\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22\x20translate=\x22MOTIONDIALER.HOPPERBLACKS\x22>HopperBlacks</span>\x0a','\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-accent\x22\x20ng-show=\x22vm_dc.selectedIvrCampaignHopperBlacks.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-icon-button\x22\x20ng-csv=\x22vm_dc.exportSelectedIvrCampaignHopperBlacks\x22\x20csv-label=\x22true\x22\x20filename=\x22ivrCampaigns.csv\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm_dc.query.sort\x22\x20md-on-reorder=\x22vm_dc.getIvrCampaignHopperBlacks\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22hopperBlack\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22hopperBlack\x20in\x20vm_dc.ivrCampaignHopperBlacks.rows\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20class=\x22actions\x22\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-if=\x22!vm_dc.ivrCampaignHopperBlacks.rows.length\x22>\x0a','app/main/apps/motiondialer/views/ivrCampaigns/ivrCampaigns.html','<div\x20id=\x22ivrCampaigns\x22\x20class=\x22page-layout\x20simple\x20left-sidenav\x20inner-sidenav\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-fire\x22\x20class=\x22s24\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22logo-text\x22\x20translate=\x22MOTIONDIALER.IVRCAMPAIGNS\x22>IvrCampaigns</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22close-button-wrapper\x22\x20ng-click=\x22vm.selectedIvrCampaigns\x20=[]\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.BACK\x22>Back</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.SELECTED\x22>selected</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22MOTIONDIALER.MULTI_SELECT_TOGGLE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.selectAllIvrCampaigns()\x22\x20translate=\x22MOTIONDIALER.SELECT_ALL\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deselectIvrCampaigns()\x22\x20translate=\x22MOTIONDIALER.SELECT_NONE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-icon-button\x22\x20ng-csv=\x22vm.exportSelectedIvrCampaigns\x22\x20csv-label=\x22true\x22\x20filename=\x22ivrCampaigns.csv\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x22\x20ng-click=\x22vm.deleteSelectedIvrCampaigns($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20IVRCAMPAIGN\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<table\x20md-table\x20\x20md-row-select\x20multiple\x20\x20\x20ng-model=\x22vm.selectedIvrCampaigns\x22\x20md-progress=\x22vm.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22id\x22>{{\x20\x27MOTIONDIALER.ID\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22name\x22>{{\x20\x27MOTIONDIALER.NAME\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22active\x22>{{\x20\x27MOTIONDIALER.ACTIVE\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.NO_AVAILABLE_INFO\x22>No\x20Available\x20Info</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22ivrCampaign\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22ivrCampaign\x20in\x20vm.ivrCampaigns.rows\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22!ivrCampaign.userpic\x20&&\x20(vm.table\x20==\x20\x27users\x27\x20||\x20vm.table\x20==\x20\x27agents\x27)\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{ivrCampaign.name}}\x22\x20ng-src=\x22assets/images/avatars/profile.png\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22id\x20\x22\x20>{{ivrCampaign.id}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(ivrCampaign,\x20ev)\x20:\x20vm.createOrEditIvrCampaign($event,\x20ivrCampaign)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22name\x20\x22\x20>{{ivrCampaign.name}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(ivrCampaign,\x20ev)\x20:\x20vm.createOrEditIvrCampaign($event,\x20ivrCampaign)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22active\x20\x22><md-icon\x20md-colors=\x22{color:\x20{{ivrCampaign.active\x20?\x20\x27\x5c\x27green\x5c\x27\x27\x20:\x20\x27\x5c\x27grey\x5c\x27\x27}}}\x22\x20md-font-icon=\x22{{ivrCampaign.active\x20?\x20\x27icon-check\x27\x20:\x20\x27icon-close\x27}}\x22></md-icon></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22TrunkId\x20\x22>{{\x20(vm.trunks\x20|\x20filter\x20:\x20{\x27id\x27:ivrCampaign.TrunkId}\x20:\x20true)[0].name\x20}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(ivrCampaign,\x20ev)\x20:\x20vm.createOrEditIvrCampaign($event,\x20ivrCampaign)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22SquareProjectId\x20\x22>{{\x20(vm.projects\x20|\x20filter\x20:\x20{\x27id\x27:ivrCampaign.SquareProjectId}\x20:\x20true)[0].name\x20}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.editstate(ivrCampaign,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20IvrCampaign\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.clonedialog(ivrCampaign,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MOTIONDIALER.CLONE_IVRCAMPAIGN\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20clone\x20IvrCampaign\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.listadddialog(ivrCampaign,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20listadd\x20IvrCampaign\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.blacklistadddialog(ivrCampaign,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deleteconfirm(ivrCampaign,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MOTIONDIALER.DELETE_IVRCAMPAIGN\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20IvrCampaign\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20goToRealtime\x20IvrCampaign\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27MOTIONDIALER.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27MOTIONDIALER.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27MOTIONDIALER.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm.query.page\x22\x20md-total=\x22{{vm.ivrCampaigns.count}}\x22\x20md-on-paginate=\x22vm.getIvrCampaigns\x22\x20md-page-select></md-table-pagination>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20IVRCAMPAIGN\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20ADD\x20IVRCAMPAIGN\x20BUTTON\x20-->\x0a','\x20\x20\x20\x20<md-button\x20ng-if=\x22vm.crudPermissions.canEdit\x22\x20class=\x22md-fab\x20md-accent\x22\x20id=\x22add-ivrCampaign-button\x22\x20ng-click=\x22vm.createOrEditIvrCampaign($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20ivrCampaign\x22\x20translate\x20translate-attr-aria-label=\x22MOTIONDIALER.ADD_IVRCAMPAIGN\x22>\x0a','\x20\x20\x20\x20<!--\x20/\x20ADD\x20IVRCAMPAIGN\x20BUTTON\x20-->\x0a','<md-dialog\x20class=\x22queueCampaign-dialog\x22\x20aria-label=\x22New\x20QueueCampaign\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22queueCampaignForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.newQueueCampaign\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22queueCampaignForm[\x27name\x27].$error\x22\x20ng-show=\x22queueCampaignForm[\x27name\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22TrunkId\x22\x20ng-model=\x22vm.queueCampaign.TrunkId\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22queueCampaignForm[\x27TrunkId\x27].$error\x22\x20ng-show=\x22queueCampaignForm[\x27TrunkId\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.queueCampaign.dialMethod\x20!=\x20\x27preview\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22IntervalId\x22\x20ng-model=\x22vm.queueCampaign.IntervalId\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22queueCampaignForm[\x27IntervalId\x27].$error\x22\x20ng-show=\x22queueCampaignForm[\x27IntervalId\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22dialCheckDuplicateType\x22\x20ng-model=\x22vm.queueCampaign.dialCheckDuplicateType\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MOTIONDIALER.METHOD\x22>Method</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22dialMethod\x22\x20ng-model=\x22vm.queueCampaign.dialMethod\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Progressive</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27power\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>PowerDialing</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27predictive\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Predictive</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Preview</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.queueCampaign.dialMethod\x20==\x20\x27power\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22MOTIONDIALER.HELP.POWERLEVEL\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-slider\x20md-discrete\x20flex\x20ng-model=\x22vm.queueCampaign.dialPowerLevel\x22\x20min=\x221\x22\x20max=\x2210\x22\x20step=\x220.1\x22\x20class=\x22md-accent\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.queueCampaign.dialMethod\x20==\x20\x27predictive\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22dialPredictiveOptimization\x22\x20ng-model=\x22vm.queueCampaign.dialPredictiveOptimization\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27agentBusyFactor\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27MOTIONDIALER.AGENTBUSYFACTOR\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27MOTIONDIALER.DROPRATE\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22MOTIONDIALER.HELP.PREDICTIVEOPTIMIZATION\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22queueCampaignForm[\x27dialPredictiveOptimization\x27].$error\x22\x20ng-show=\x22queueCampaignForm[\x27dialPredictiveOptimization\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.PREDICTIVEOPTIMIZATION_REQUIRED\x22>PredictiveOptimization\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22MOTIONDIALER.HELP.PREDICTIVEOPTIMIZATIONPERCENTAGE\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-slider\x20md-discrete\x20flex\x20ng-model=\x22vm.queueCampaign.dialPredictiveOptimizationPercentage\x22\x20min=\x221\x22\x20max=\x2295\x22\x20step=\x220.1\x22\x20class=\x22md-accent\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.PREDICTIVEINTERVAL\x22>PredictiveInterval</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22MOTIONDIALER.HELP.PREDICTIVEINTERVAL\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-slider\x20md-discrete\x20flex\x20ng-model=\x22vm.queueCampaign.dialPredictiveInterval\x22\x20min=\x225\x22\x20max=\x2230\x22\x20step=\x221\x22\x20class=\x22md-accent\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22dialLimitQueue\x22\x20\x20ng-model=\x22vm.queueCampaign.dialLimitQueue\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.MAXCONCURRENTCALLS_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>MaxConcurrentCalls\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>0</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.queueCampaign.dialMethod\x20===\x20\x27progressive\x27\x20||\x20vm.queueCampaign.dialMethod\x20===\x20\x27predictive\x27\x20||\x20vm.queueCampaign.dialMethod\x20===\x20\x27power\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MOTIONDIALER.QUEUETIMEOUT\x22>QueueTimeout</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22MOTIONDIALER.HELP.QUEUETIMEOUT\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22queueCampaignForm[\x27dialQueueTimeout\x27].$error\x22\x20ng-show=\x22queueCampaignForm[\x27dialQueueTimeout\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.QUEUETIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>QueueTimeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>1</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MOTIONDIALER.AGENTTIMEOUT\x22>AgentTimeout</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22timeout\x22\x20\x20ng-model=\x22vm.queueCampaign.timeout\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.AGENTTIMEOUT_REQUIRED\x22>AgentTimeout\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.AGENTTIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>AgentTimeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>0</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22description\x22\x20\x20ng-model=\x22vm.queueCampaign.description\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22queueCampaignForm[\x27description\x27].$error\x22\x20ng-show=\x22queueCampaignForm[\x27description\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20!vm.newQueueCampaign\x22\x20ng-click=\x22vm.saveQueueCampaign()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22queueCampaignForm.$invalid\x20||\x20queueCampaignForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.newQueueCampaign\x22\x20ng-click=\x22vm.addNewQueueCampaign()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22MOTIONDIALER.ADD_QUEUECAMPAIGN\x22\x20translate-attr-aria-label=\x22MOTIONDIALER.ADD_QUEUECAMPAIGN\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20QUEUECAMPAIGN\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x20&&\x20!vm.newQueueCampaign\x22\x20ng-click=\x22vm.deleteQueueCampaign($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x0a','<md-dialog\x20class=\x22queueCampaign-dialog\x22\x20aria-label=\x22queueCampaign\x22\x20ng-init=\x22vm.onInit()\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h2\x20translate=\x22MOTIONDIALER.AGENTADD_QUEUECAMPAIGN\x22>Add\x20Agent\x20to\x20queueCampaign</h2>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20flex\x20class=\x22no-margin\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MOTIONDIALER.PENALTY\x22>Penalty</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20name=\x22penalty\x22\x20ng-model=\x22vm.penalty\x22\x20placeholder=\x220\x22\x20required\x20md-minlength=\x220\x22\x20md-maxlength=\x223\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22queueCampaignForm.penalty.$error\x22\x20role=\x22alert\x22\x20multiple>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>You\x20must\x20supply\x20a\x20penalty.</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>Min\x20Penalty\x200\x20characters.</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>Max\x20Penalty\x203\x20characters.</span>\x0a','<md-dialog\x20class=\x22queueCampaign-dialog\x22\x20aria-label=\x22Clone\x20QueueCampaign\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22name\x22\x20\x20ng-model=\x22vm.queueCampaign.name\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.queueCampaign.dialActive\x22\x20aria-label=\x22Active\x22\x20><span\x20translate=\x22MOTIONDIALER.ACTIVE\x22>Active</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-click=\x22vm.cloneQueueCampaign()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22queueCampaignForm.$invalid\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22CLONE\x22\x20translate=\x22MOTIONDIALER.CLONE_QUEUECAMPAIGN\x22\x20translate-attr-aria-label=\x22MOTIONDIALER.CLONE_QUEUECAMPAIGN\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CLONE\x20QUEUECAMPAIGN\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-content\x20layout=\x22row\x22\x20class=\x22md-padding\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22hopperForm.dateRangeFrom.$error\x22\x20ng-show=\x22hopperForm.dateRangeFrom.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.DATE_REQUIRED\x22>Date\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.TIME_REQUIRED\x22>Time\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22priority\x22\x20ng-model=\x22vm.hopper.priority\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x274\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x273\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Lowest</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22hopperForm[\x27priority\x27].$error\x22\x20ng-show=\x22hopperForm[\x27priority\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.hopper.recallme\x22\x20aria-label=\x22RecallAgent\x22\x20><span\x20translate=\x22MOTIONDIALER.RECALLAGENT\x22>RecallAgent</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.hopper.recallme\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MOTIONDIALER.AGENT\x22>Agent</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22UserId\x22\x20ng-model=\x22vm.hopper.UserId\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22UserId.id\x22\x20ng-repeat=\x22UserId\x20in\x20vm.agents\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22hopperForm[\x27UserId\x27].$error\x22\x20ng-show=\x22hopperForm[\x27UserId\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.AGENT_REQUIRED\x22>Agent\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20!vm.newHopper\x22\x20ng-click=\x22vm.saveHopper()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h2\x20translate=\x22MOTIONDIALER.LISTADD_QUEUECAMPAIGN\x22>Add\x20List\x20in\x20QUEUECAMPAIGN</h2>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20item.name\x20|\x20limitTo:40\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-progress-circular\x20class=\x22md-primary\x20md-hue-1\x22\x20md-diameter=\x2296\x22></md-progress-circular>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h2\x20translate=\x22MOTIONDIALER.TEAMS_ASSOCIATION\x22>Teams\x20Association</h2>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-message=\x22md-minlength\x22>\x0a','<div\x20id=\x22motiondialer-queueCampaign\x22\x20class=\x22page-layout\x20simple\x20tabbed\x22\x20layout=\x22column\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22MOTIONDIALER.GO_TO_QUEUECAMPAIGNS\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22queueCampaign-image\x22\x20hide-xs>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.queueCampaign.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.CREATED_AT\x22></span>\x20<span>{{vm.queueCampaign.createdAt\x20|\x20date:\x27medium\x27}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.clonedialog(vm.queueCampaign,\x20$event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.blacklistadddialog(vm.queueCampaign,\x20$event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip><span\x20translate=\x22MOTIONDIALER.BLACKLISTADD_QUEUECAMPAIGN\x22></span></md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.teamadddialog(vm.queueCampaign,\x20$event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip><span\x20translate=\x22MOTIONDIALER.AGENTADD_QUEUECAMPAIGN\x22></span></md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.resetlistdialog(vm.queueCampaign,\x20$event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip><span\x20translate=\x22MOTIONDIALER.RESETLIST_QUEUECAMPAIGN\x22></span></md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip><span\x20translate=\x22MOTIONDIALER.GOTO_QUEUECAMPAIGN\x22></span></md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-click=\x22vm.saveQueueCampaign()\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20ng-disabled=\x22(generalForm.$invalid)\x20||\x20(campaignForm.$invalid)\x20||\x20(queueForm.$invalid)\x20||\x20(originateForm.$invalid)\x20||\x20(globalForm.$invalid)\x20||\x20(congestionForm.$invalid)\x20||\x20(busyForm.$invalid)\x20||\x20(noanswerForm.$invalid)\x20||\x20(nosuchnumberForm.$invalid)\x20||\x20(dropForm.$invalid)\x20||\x20(abandonedForm.$invalid)\x20||\x20(machineForm.$invalid)\x20||\x20(agentrejectForm.$invalid)\x20||\x20(advancedForm.$invalid)\x20||\x20(advancedpreviewForm.$invalid)\x20||\x20(thresholdsForm.$invalid)\x20||\x20(recallmeForm.$invalid)\x20||\x20(globalintervalForm.$invalid)\x20||\x20(timezoneForm.$invalid)\x20||\x20(amdForm.$invalid)\x20||\x20(hopperStatisticsForm.$invalid)\x20||\x20(hoppersForm.$invalid)\x20||\x20(hopperHistoriesForm.$invalid)\x20||\x20(hopperFinalsForm.$invalid)\x20||\x20(hopperBlacksForm.$invalid)\x22\x20translate=\x22MOTIONDIALER.SAVE\x22\x20translate-attr-aria-label=\x22MOTIONDIALER.SAVE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.queueCampaign.dialActive\x22\x20aria-label=\x22Active\x22\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20><span\x20translate=\x22MOTIONDIALER.ACTIVE\x22>Active</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22TrunkBackupId\x22\x20ng-model=\x22vm.queueCampaign.TrunkBackupId\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.BACKUPTRUNK_REQUIRED\x22>BackupTrunk\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MOTIONDIALER.CHECKDUPLICATE\x22>CheckDuplicate</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22dialCutDigit\x22\x20\x20ng-model=\x22vm.queueCampaign.dialCutDigit\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.CUTDIGIT_REQUIRED\x22>CutDigit\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.CUTDIGIT_MUST_BE_LESS_THAN_OR_EQUAL_TO\x22>CutDigit\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>15</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22queueCampaign-detail-form-container\x20campaign\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27preview\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27booked\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>BookedProgressive</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22MOTIONDIALER.HELP.METHOD\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.POWERLEVEL\x22>PowerLevel</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MOTIONDIALER.PREDICTIVEOPTIMIZATION\x22>PredictiveOptimization</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27dropRate\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.PREDICTIVEOPTIMIZATIONPERCENTAGE\x22>PredictiveOptimizationPercentage</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MOTIONDIALER.MAXCONCURRENTCALLS\x22>MaxConcurrentCalls</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22MOTIONDIALER.HELP.MAXCONCURRENTCALLS\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22campaignForm[\x27dialLimitQueue\x27].$error\x22\x20ng-show=\x22campaignForm[\x27dialLimitQueue\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.MAXCONCURRENTCALLS_REQUIRED\x22>MaxConcurrentCalls\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22MOTIONDIALER.HELP.AGENTTIMEOUT\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22campaignForm[\x27timeout\x27].$error\x22\x20ng-show=\x22campaignForm[\x27timeout\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22queueCampaign-detail-form-container\x20queue\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<form\x20name=\x22queueForm\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.queueCampaign.dialMethod\x20===\x20\x27progressive\x27\x20||\x20vm.queueCampaign.dialMethod\x20===\x20\x27predictive\x27\x20||\x20vm.queueCampaign.dialMethod\x20===\x20\x27power\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22queueForm[\x27dialQueueOptions\x27].$error\x22\x20ng-show=\x22queueForm[\x27dialQueueOptions\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22dialQueueTimeout\x22\x20\x20ng-model=\x22vm.queueCampaign.dialQueueTimeout\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22queueForm[\x27dialQueueTimeout\x27].$error\x22\x20ng-show=\x22queueForm[\x27dialQueueTimeout\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.QUEUETIMEOUT_REQUIRED\x22>QueueTimeout\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.queueCampaign.dialMethod\x20===\x20\x27booked\x27\x20||\x20vm.queueCampaign.dialMethod\x20===\x20\x27progressive\x27\x20||\x20vm.queueCampaign.dialMethod\x20===\x20\x27predictive\x27\x20||\x20vm.queueCampaign.dialMethod\x20===\x20\x27power\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MOTIONDIALER.STRATEGY\x22>Strategy</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22strategy\x22\x20ng-model=\x22vm.queueCampaign.strategy\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Round\x20Robin\x20Memory</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27roundrobin\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22vm.queueCampaign.dialMethod\x20===\x20\x27booked\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Round\x20Robin</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27leastrecent\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22vm.queueCampaign.dialMethod\x20!==\x20\x27booked\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Least\x20Recent</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Fewest\x20Calls</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27linear\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Linear</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27wrandom\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Weight\x20Random</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22queueForm[\x27strategy\x27].$error\x22\x20ng-show=\x22queueForm[\x27strategy\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.STRATEGY_REQUIRED\x22>Strategy\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22retry\x22\x20\x20ng-model=\x22vm.queueCampaign.retry\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22MOTIONDIALER.HELP.RETRY\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.RETRY_REQUIRED\x22>Retry\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.RETRY_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>Retry\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>0</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22wrapuptime\x22\x20\x20ng-model=\x22vm.queueCampaign.wrapuptime\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.WRAPUPTIME_REQUIRED\x22>WrapupTime\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MOTIONDIALER.WEIGHT\x22>Weight</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22weight\x22\x20\x20ng-model=\x22vm.queueCampaign.weight\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22MOTIONDIALER.HELP.WEIGHT\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.WEIGHT_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>Weight\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>0</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22musiconhold\x22\x20ng-model=\x22vm.queueCampaign.musiconhold\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22musiconhold.name\x22\x20ng-repeat=\x22musiconhold\x20in\x20vm.musiconholds\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22musiconhold.canSelect\x20===\x20false\x22>{{\x20musiconhold.name\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22MOTIONDIALER.HELP.MUSICONHOLD\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22queueForm[\x27musiconhold\x27].$error\x22\x20ng-show=\x22queueForm[\x27musiconhold\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.MUSICONHOLD_REQUIRED\x22>MusicOnHold\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22dialQueueProject\x22\x20ng-model=\x22vm.queueCampaign.dialQueueProject\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22dialQueueProject.canSelect\x20===\x20false\x22>{{\x20dialQueueProject.name\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22MOTIONDIALER.HELP.CALLYSQUAREPROJECT\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22queueForm[\x27dialQueueProject\x27].$error\x22\x20ng-show=\x22queueForm[\x27dialQueueProject\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22dialQueueProject2\x22\x20ng-model=\x22vm.queueCampaign.dialQueueProject2\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22dialQueueProject2.name\x22\x20ng-repeat=\x22dialQueueProject2\x20in\x20vm.projects\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22MOTIONDIALER.HELP.CALLYSQUAREPROJECT2\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22queueForm[\x27dialQueueProject2\x27].$error\x22\x20ng-show=\x22queueForm[\x27dialQueueProject2\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.CALLYSQUAREPROJECT2_REQUIRED\x22>CallySquareProject2\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.queueCampaign.dialMethod\x20===\x20\x27preview\x27\x20||\x20vm.queueCampaign.dialMethod\x20===\x20\x27booked\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22null\x22>None</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22dialQueueProject.name\x22\x20ng-repeat=\x22dialQueueProject\x20in\x20vm.projects\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22MOTIONDIALER.HELP.CALLYSQUAREPROJECTPREVIEW\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MOTIONDIALER.CALLYSQUAREPROJECTPREVIEW2\x22>CallySquareProjectPreview2</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22MOTIONDIALER.HELP.CALLYSQUAREPROJECTPREVIEW2\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.queueCampaign.dialAgiAfterHangupAgent\x22\x20aria-label=\x22RunIfHangupAgent\x22\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20><span\x20translate=\x22MOTIONDIALER.RUNIFHANGUPAGENT\x22>RunIfHangupAgent</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22MOTIONDIALER.HELP.RUNIFHANGUPAGENT\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22queueCampaign-detail-form-container\x20originate\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22dialOriginateCallerIdName\x22\x20\x20ng-model=\x22vm.queueCampaign.dialOriginateCallerIdName\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22originateForm[\x27dialOriginateCallerIdName\x27].$error\x22\x20ng-show=\x22originateForm[\x27dialOriginateCallerIdName\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22dialRandomLastDigitCallerIdNumber\x22\x20\x20ng-model=\x22vm.queueCampaign.dialRandomLastDigitCallerIdNumber\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22originateForm[\x27dialRandomLastDigitCallerIdNumber\x27].$error\x22\x20ng-show=\x22originateForm[\x27dialRandomLastDigitCallerIdNumber\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22dialOriginateTimeout\x22\x20\x20ng-model=\x22vm.queueCampaign.dialOriginateTimeout\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.PREFIX_REQUIRED\x22>Prefix\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.PREFIX_MUST_VALID_PATTERN\x22\x20translate-values=\x22{\x20regex:\x20\x27/^\x5cd+$/\x27\x20}\x22>Prefix\x20must\x20be\x20valid\x20pattern\x20</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22queueCampaign-detail-form-container\x20global\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22dialGlobalMaxRetry\x22\x20\x20ng-model=\x22vm.queueCampaign.dialGlobalMaxRetry\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.GLOBALMAXRETRY_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>GlobalMaxRetry\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>1</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22queueCampaign-detail-form-container\x20congestion\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MOTIONDIALER.CONGESTIONMAXRETRY\x22>CongestionMaxRetry</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22dialCongestionMaxRetry\x22\x20\x20ng-model=\x22vm.queueCampaign.dialCongestionMaxRetry\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.CONGESTIONMAXRETRY_REQUIRED\x22>CongestionMaxRetry\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MOTIONDIALER.CONGESTIONRETRYTIME\x22>CongestionRetryTime</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22dialCongestionRetryFrequency\x22\x20\x20ng-model=\x22vm.queueCampaign.dialCongestionRetryFrequency\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22congestionForm[\x27dialCongestionRetryFrequency\x27].$error\x22\x20ng-show=\x22congestionForm[\x27dialCongestionRetryFrequency\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.CONGESTIONRETRYTIME_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>CongestionRetryTime\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>1</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22dialBusyMaxRetry\x22\x20\x20ng-model=\x22vm.queueCampaign.dialBusyMaxRetry\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.BUSYMAXRETRY_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>BusyMaxRetry\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>1</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22dialBusyRetryFrequency\x22\x20\x20ng-model=\x22vm.queueCampaign.dialBusyRetryFrequency\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.BUSYRETRYTIME_REQUIRED\x22>BusyRetryTime\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22queueCampaign-detail-form-container\x20noanswer\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MOTIONDIALER.NOANSWERMAXRETRY\x22>NoAnswerMaxRetry</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22dialNoAnswerMaxRetry\x22\x20\x20ng-model=\x22vm.queueCampaign.dialNoAnswerMaxRetry\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.NOANSWERMAXRETRY_REQUIRED\x22>NoAnswerMaxRetry\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22dialNoAnswerRetryFrequency\x22\x20\x20ng-model=\x22vm.queueCampaign.dialNoAnswerRetryFrequency\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22queueCampaign-detail-form-container\x20nosuchnumber\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22dialNoSuchNumberMaxRetry\x22\x20\x20ng-model=\x22vm.queueCampaign.dialNoSuchNumberMaxRetry\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22MOTIONDIALER.HELP.NOSUCHNUMBERMAXRETRY\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22nosuchnumberForm[\x27dialNoSuchNumberMaxRetry\x27].$error\x22\x20ng-show=\x22nosuchnumberForm[\x27dialNoSuchNumberMaxRetry\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.NOSUCHNUMBERMAXRETRY_MUST_BE_LESS_THAN_OR_EQUAL_TO\x22>NoSuchNumberMaxRetry\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>999</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22dialNoSuchNumberRetryFrequency\x22\x20\x20ng-model=\x22vm.queueCampaign.dialNoSuchNumberRetryFrequency\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22dialDropMaxRetry\x22\x20\x20ng-model=\x22vm.queueCampaign.dialDropMaxRetry\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.DROPMAXRETRY_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>DropMaxRetry\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>1</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22dialDropRetryFrequency\x22\x20\x20ng-model=\x22vm.queueCampaign.dialDropRetryFrequency\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22dropForm[\x27dialDropRetryFrequency\x27].$error\x22\x20ng-show=\x22dropForm[\x27dialDropRetryFrequency\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22queueCampaign-detail-form-container\x20abandoned\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22MOTIONDIALER.ABANDONED\x22>ABANDONED</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22dialAbandonedMaxRetry\x22\x20\x20ng-model=\x22vm.queueCampaign.dialAbandonedMaxRetry\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22MOTIONDIALER.HELP.ABANDONEDMAXRETRY\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22abandonedForm[\x27dialAbandonedMaxRetry\x27].$error\x22\x20ng-show=\x22abandonedForm[\x27dialAbandonedMaxRetry\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.ABANDONEDMAXRETRY_REQUIRED\x22>AbandonedMaxRetry\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22abandonedForm[\x27dialAbandonedRetryFrequency\x27].$error\x22\x20ng-show=\x22abandonedForm[\x27dialAbandonedRetryFrequency\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.ABANDONEDRETRYTIME_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>AbandonedRetryTime\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>1</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22queueCampaign-detail-form-container\x20machine\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.MACHINEMAXRETRY_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>MachineMaxRetry\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>1</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22dialMachineRetryFrequency\x22\x20\x20ng-model=\x22vm.queueCampaign.dialMachineRetryFrequency\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MOTIONDIALER.AGENTREJECTMAXRETRY\x22>AgentRejectMaxRetry</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22dialAgentRejectMaxRetry\x22\x20\x20ng-model=\x22vm.queueCampaign.dialAgentRejectMaxRetry\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22dialAgentRejectRetryFrequency\x22\x20\x20ng-model=\x22vm.queueCampaign.dialAgentRejectRetryFrequency\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22agentrejectForm[\x27dialAgentRejectRetryFrequency\x27].$error\x22\x20ng-show=\x22agentrejectForm[\x27dialAgentRejectRetryFrequency\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.AGENTREJECTRETRYTIME_REQUIRED\x22>AgentRejectRetryTime\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20ng-if=\x22vm.queueCampaign.dialMethod\x20===\x20\x27progressive\x27\x20||\x20vm.queueCampaign.dialMethod\x20===\x20\x27predictive\x27\x20||\x20vm.queueCampaign.dialMethod\x20===\x20\x27power\x27\x22\x20\x20class=\x22queueCampaign-detail-form-container\x20advanced\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.queueCampaign.acw\x22\x20aria-label=\x22AfterCallWork\x22\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20><span\x20translate=\x22MOTIONDIALER.AFTERCALLWORK\x22>AfterCallWork</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MOTIONDIALER.AFTERCALLWORKDURATION\x22>AfterCallWorkDuration</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22acwTimeout\x22\x20\x20ng-model=\x22vm.queueCampaign.acwTimeout\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22MOTIONDIALER.HELP.AFTERCALLWORKDURATION\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22advancedForm[\x27acwTimeout\x27].$error\x22\x20ng-show=\x22advancedForm[\x27acwTimeout\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MOTIONDIALER.AUTOPAUSE\x22>AutoPause</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27all\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27MOTIONDIALER.YES\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27no\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27MOTIONDIALER.NO\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22MOTIONDIALER.HELP.AUTOPAUSE\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22advancedForm[\x27autopause\x27].$error\x22\x20ng-show=\x22advancedForm[\x27autopause\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.AUTOPAUSE_REQUIRED\x22>AutoPause\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MOTIONDIALER.RINGINUSE\x22>RingInUse</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22ringinuse\x22\x20ng-model=\x22vm.queueCampaign.ringinuse\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27yes\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MOTIONDIALER.MEMBERDELAY\x22>MemberDelay</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22memberdelay\x22\x20\x20ng-model=\x22vm.queueCampaign.memberdelay\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22MOTIONDIALER.HELP.MEMBERDELAY\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22advancedForm[\x27memberdelay\x27].$error\x22\x20ng-show=\x22advancedForm[\x27memberdelay\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.MEMBERDELAY_REQUIRED\x22>MemberDelay\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MOTIONDIALER.TIMEOUTRESTART\x22>TimeoutRestart</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22timeoutrestart\x22\x20ng-model=\x22vm.queueCampaign.timeoutrestart\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22MOTIONDIALER.HELP.TIMEOUTRESTART\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22advancedForm[\x27timeoutrestart\x27].$error\x22\x20ng-show=\x22advancedForm[\x27timeoutrestart\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.TIMEOUTRESTART_REQUIRED\x22>TimeoutRestart\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MOTIONDIALER.MONITORFORMAT\x22>MonitorFormat</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Inactive</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27wav\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>wav</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27wav49\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>wav49</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27gsm\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>gsm</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MOTIONDIALER.CONTEXT\x22>Context</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22context\x22\x20\x20ng-model=\x22vm.queueCampaign.context\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22MOTIONDIALER.HELP.CONTEXT\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22advancedForm[\x27context\x27].$error\x22\x20ng-show=\x22advancedForm[\x27context\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.CONTEXT_REQUIRED\x22>Context\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MOTIONDIALER.SETINTERFACEVARIABLES\x22>SetInterfaceVariables</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22setinterfacevar\x22\x20ng-model=\x22vm.queueCampaign.setinterfacevar\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22MOTIONDIALER.HELP.SETINTERFACEVARIABLES\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22advancedForm[\x27setinterfacevar\x27].$error\x22\x20ng-show=\x22advancedForm[\x27setinterfacevar\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22setqueuevar\x22\x20ng-model=\x22vm.queueCampaign.setqueuevar\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22setqueueentryvar\x22\x20ng-model=\x22vm.queueCampaign.setqueueentryvar\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22MOTIONDIALER.HELP.SETQUEUEENTRYVARIABLES\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.SETQUEUEENTRYVARIABLES_REQUIRED\x22>SetQueueEntryVariables\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.queueCampaign.mandatoryDisposition\x22\x20aria-label=\x22MandatoryDisposition\x22\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20><span\x20translate=\x22MOTIONDIALER.MANDATORYDISPOSITION\x22>MandatoryDisposition</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.queueCampaign.mandatoryDisposition\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MOTIONDIALER.MANDATORYDISPOSITIONPAUSEID\x22>MandatoryDispositionPauseId</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22mandatoryDispositionPauseId\x22\x20ng-model=\x22vm.queueCampaign.mandatoryDispositionPauseId\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22MOTIONDIALER.HELP.MANDATORYDISPOSITIONPAUSEID\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22advancedForm[\x27mandatoryDispositionPauseId\x27].$error\x22\x20ng-show=\x22advancedForm[\x27mandatoryDispositionPauseId\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.MANDATORYDISPOSITIONPAUSEID_REQUIRED\x22>MandatoryDispositionPauseId\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20ng-if=\x22vm.queueCampaign.dialMethod\x20===\x20\x27preview\x27\x20||\x20vm.queueCampaign.dialMethod\x20===\x20\x27booked\x27\x22\x20\x20class=\x22queueCampaign-detail-form-container\x20advancedpreview\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22MOTIONDIALER.ADVANCEDPREVIEW\x22>ADVANCEDPREVIEW</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<form\x20name=\x22advancedpreviewForm\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22MOTIONDIALER.HELP.AFTERCALLWORK\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.queueCampaign.acw\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22advancedpreviewForm[\x27acwTimeout\x27].$error\x22\x20ng-show=\x22advancedpreviewForm[\x27acwTimeout\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.AFTERCALLWORKDURATION_REQUIRED\x22>AfterCallWorkDuration\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.AFTERCALLWORKDURATION_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>AfterCallWorkDuration\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>0</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22monitor_format\x22\x20ng-model=\x22vm.queueCampaign.monitor_format\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22MOTIONDIALER.HELP.MONITORFORMAT\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22advancedpreviewForm[\x27monitor_format\x27].$error\x22\x20ng-show=\x22advancedpreviewForm[\x27monitor_format\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22advancedpreviewForm[\x27dialOrderByScheduledAt\x27].$error\x22\x20ng-show=\x22advancedpreviewForm[\x27dialOrderByScheduledAt\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22advancedpreviewForm[\x27mandatoryDispositionPauseId\x27].$error\x22\x20ng-show=\x22advancedpreviewForm[\x27mandatoryDispositionPauseId\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20ng-if=\x22vm.queueCampaign.dialMethod\x20===\x20\x27predictive\x27\x22\x20\x20class=\x22queueCampaign-detail-form-container\x20thresholds\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22MOTIONDIALER.THRESHOLDS\x22>THRESHOLDS</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<form\x20name=\x22thresholdsForm\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.queueCampaign.dialMethod\x20==\x20\x27predictive\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.PREDICTIVEMAXTHRESHOLD\x22>PredictiveMaxThreshold</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22MOTIONDIALER.HELP.PREDICTIVEMAXTHRESHOLD\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-slider\x20md-discrete\x20flex\x20ng-model=\x22vm.queueCampaign.dialPredictiveIntervalMaxThreshold\x22\x20min=\x221\x22\x20max=\x22100\x22\x20step=\x221\x22\x20class=\x22md-accent\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.PREDICTIVEMINTHRESHOLD\x22>PredictiveMinThreshold</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22MOTIONDIALER.HELP.PREDICTIVEMINTHRESHOLD\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-slider\x20md-discrete\x20flex\x20ng-model=\x22vm.queueCampaign.dialPredictiveIntervalMinThreshold\x22\x20min=\x221\x22\x20max=\x22100\x22\x20step=\x221\x22\x20class=\x22md-accent\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22queueCampaign-detail-form-container\x20recallme\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22MOTIONDIALER.RECALLME\x22>RECALLME</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MOTIONDIALER.DIALRECALLMETIMEOUT\x22>DialRecallMeTimeout</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22MOTIONDIALER.HELP.DIALRECALLMETIMEOUT\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22recallmeForm[\x27dialRecallMeTimeout\x27].$error\x22\x20ng-show=\x22recallmeForm[\x27dialRecallMeTimeout\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.DIALRECALLMETIMEOUT_REQUIRED\x22>DialRecallMeTimeout\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.DIALRECALLMETIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>DialRecallMeTimeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>1</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.queueCampaign.dialRecallInQueue\x22\x20aria-label=\x22DialRecallInQueue\x22\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20><span\x20translate=\x22MOTIONDIALER.DIALRECALLINQUEUE\x22>DialRecallInQueue</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22MOTIONDIALER.HELP.DIALRECALLINQUEUE\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20ng-if=\x22vm.queueCampaign.dialMethod\x20!=\x20\x27preview\x27\x22\x20\x20class=\x22queueCampaign-detail-form-container\x20globalinterval\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22dialGlobalInterval\x22\x20\x20ng-model=\x22vm.queueCampaign.dialGlobalInterval\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20ng-if=\x22vm.queueCampaign.dialMethod\x20!=\x20\x27preview\x27\x22\x20\x20class=\x22queueCampaign-detail-form-container\x20timezone\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22MOTIONDIALER.TIMEZONE\x22>TIMEZONE</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22MOTIONDIALER.TIMEZONE\x22>Timezone</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<ms-timezone\x20name=\x22dialTimezone\x22\x20ng-model=\x22vm.queueCampaign.dialTimezone\x22\x20\x20autofocus\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20><\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<form\x20name=\x22amdForm\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.queueCampaign.dialAMDActive\x22\x20aria-label=\x22AMDActive\x22\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20><span\x20translate=\x22MOTIONDIALER.AMDACTIVE\x22>AMDActive</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22MOTIONDIALER.HELP.AMDACTIVE\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.queueCampaign.dialAMDActive\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.queueCampaign.dialAMDActive\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22amdForm[\x27dialAMDGreeting\x27].$error\x22\x20ng-show=\x22amdForm[\x27dialAMDGreeting\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.AMDGREETING_REQUIRED\x22>AMDGreeting\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22dialAMDAfterGreetingSilence\x22\x20\x20ng-model=\x22vm.queueCampaign.dialAMDAfterGreetingSilence\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22amdForm[\x27dialAMDAfterGreetingSilence\x27].$error\x22\x20ng-show=\x22amdForm[\x27dialAMDAfterGreetingSilence\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22dialAMDTotalAnalysisTime\x22\x20\x20ng-model=\x22vm.queueCampaign.dialAMDTotalAnalysisTime\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22amdForm[\x27dialAMDTotalAnalysisTime\x27].$error\x22\x20ng-show=\x22amdForm[\x27dialAMDTotalAnalysisTime\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.AMDTOTALANALYSISTIME_REQUIRED\x22>AMDTotalAnalysisTime\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.AMDTOTALANALYSISTIME_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>AMDTotalAnalysisTime\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>0</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22dialAMDMinWordLength\x22\x20\x20ng-model=\x22vm.queueCampaign.dialAMDMinWordLength\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22dialAMDBetweenWordsSilence\x22\x20\x20ng-model=\x22vm.queueCampaign.dialAMDBetweenWordsSilence\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22amdForm[\x27dialAMDBetweenWordsSilence\x27].$error\x22\x20ng-show=\x22amdForm[\x27dialAMDBetweenWordsSilence\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22dialAMDMaximumNumberOfWords\x22\x20\x20ng-model=\x22vm.queueCampaign.dialAMDMaximumNumberOfWords\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22amdForm[\x27dialAMDMaximumNumberOfWords\x27].$error\x22\x20ng-show=\x22amdForm[\x27dialAMDMaximumNumberOfWords\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22dialAMDSilenceThreshold\x22\x20\x20ng-model=\x22vm.queueCampaign.dialAMDSilenceThreshold\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22dialAMDMaximumWordLength\x22\x20\x20ng-model=\x22vm.queueCampaign.dialAMDMaximumWordLength\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22amdForm[\x27dialAMDMaximumWordLength\x27].$error\x22\x20ng-show=\x22amdForm[\x27dialAMDMaximumWordLength\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ERRORS.AMDMAXIMUMWORDLENGTH_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>AMDMaximumWordLength\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>0</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.HOPPERS\x22>HOPPERS</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-controller=\x22QueueCampaignHopperStatisticsController\x20as\x20vm_hs\x22\x20ng-init=\x22vm_hs.init(vm.queueCampaign)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22\x20translate=\x22MOTIONDIALER.HOPPERWIDGET\x22>Hoppers</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm_hs.init(vm.queueCampaign)\x22\x20aria-label=\x22refresh\x20Hopper\x22\x20translate\x20translate-attr-label=\x22MOTIONDIALER.REFRESH_HOPPERS\x22>\x0a','\x20\x20\x20\x20<!--\x20/\x20WIDGET\x201\x20-->\x0a','\x20\x20\x20\x20<!--\x20/\x20WIDGET\x202\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22font-weight-500\x20secondary-text\x22>{{\x20\x27MOTIONDIALER.OPEN\x27\x20|\x20translate\x20}}</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22queueCampaign-detail-form-container\x20hoppers\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-controller=\x22QueueCampaignHoppersController\x20as\x20vm_dc\x22\x20ng-init=\x22vm_dc.init(vm.queueCampaign,\x20vm.crudPermissions)\x22>\x0a','\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-default\x22\x20ng-hide=\x22vm_dc.selectedQueueCampaignHoppers.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22>{{vm_dc.selectedQueueCampaignHoppers.length}}\x20{{vm_dc.selectedQueueCampaignHoppers.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-icon-button\x22\x20ng-csv=\x22vm_dc.exportSelectedQueueCampaignHoppers\x22\x20csv-label=\x22true\x22\x20filename=\x22queueCampaigns.csv\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22vm_dc.crudPermissions.canDelete\x22\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm_dc.deleteSelectedQueueCampaignHoppers($event)\x22\x0a','\x20\x20\x20\x20\x20\x20<table\x20md-table\x20md-row-select\x20multiple\x20ng-model=\x22vm_dc.selectedQueueCampaignHoppers\x22\x20md-progress=\x22vm_dc.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm_dc.query.sort\x22\x20md-on-reorder=\x22vm_dc.getQueueCampaignHoppers\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.PRIORITY\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22recallme\x22\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.RECALLAGENT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22hopper\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22hopper\x20in\x20vm_dc.queueCampaignHoppers.rows\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_dc.createOrEditQueueCampaignHopper($event,\x20hopper)\x22\x20\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_dc.createOrEditQueueCampaignHopper($event,\x20hopper)\x22\x20\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hopper.countdropretry}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hopper.countmachineretry}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm_dc.createOrEditQueueCampaignHopper($event,\x20hopper)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_dc.createOrEditQueueCampaignHopper($event,\x20hopper)\x22\x20md-cell\x20class=\x22recallme\x20\x22><md-icon\x20md-colors=\x22{color:\x20{{hopper.recallme\x20?\x20\x27\x5c\x27green\x5c\x27\x27\x20:\x20\x27\x5c\x27grey\x5c\x27\x27}}}\x22\x20md-font-icon=\x22{{hopper.recallme?\x20\x27icon-check\x27\x20:\x20\x27icon-close\x27}}\x22></md-icon></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm_dc.createOrEditQueueCampaignHopper($event,\x20hopper)\x22\x20translate=\x22MOTIONDIALER.EDIT_HOPPER\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20colspan=\x2217\x22>\x0a','\x20\x20\x20\x20<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27MOTIONDIALER.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27MOTIONDIALER.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27MOTIONDIALER.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm_dc.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm_dc.query.page\x22\x20md-total=\x22{{vm_dc.queueCampaignHoppers.count}}\x22\x20md-on-paginate=\x22vm_dc.getQueueCampaignHoppers\x22\x20md-page-select></md-table-pagination>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-controller=\x22QueueCampaignHopperHistoriesController\x20as\x20vm_dc\x22\x20ng-init=\x22vm_dc.init(vm.queueCampaign,\x20vm.crudPermissions)\x22>\x0a','\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-default\x22\x20ng-hide=\x22vm_dc.selectedQueueCampaignHopperHistories.length\x22>\x0a','\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22\x20translate=\x22MOTIONDIALER.HOPPERHISTORIES\x22>HopperHistories</span>\x0a','\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-accent\x22\x20ng-show=\x22vm_dc.selectedQueueCampaignHopperHistories.length\x22>\x0a','\x20\x20\x20\x20\x20\x20<table\x20md-table\x20md-row-select\x20multiple\x20ng-model=\x22vm_dc.selectedQueueCampaignHopperHistories\x22\x20md-progress=\x22vm_dc.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22uniqueid\x22\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20hopperHistory.scheduledat\x20|\x20formatdate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-if=\x22!vm_dc.queueCampaignHopperHistories.rows.length\x22>\x0a','\x20\x20\x20\x20<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27MOTIONDIALER.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27MOTIONDIALER.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27MOTIONDIALER.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm_dc.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm_dc.query.page\x22\x20md-total=\x22{{vm_dc.queueCampaignHopperHistories.count}}\x22\x20md-on-paginate=\x22vm_dc.getQueueCampaignHopperHistories\x22\x20md-page-select></md-table-pagination>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.FINAL\x22>FINAL</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22queueCampaign-detail-form-container\x20hopperfinals\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-controller=\x22QueueCampaignHopperFinalsController\x20as\x20vm_dc\x22\x20ng-init=\x22vm_dc.init(vm.queueCampaign,\x20vm.crudPermissions)\x22>\x0a','\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-default\x22\x20ng-hide=\x22vm_dc.selectedQueueCampaignHopperFinals.length\x22>\x0a','\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22\x20translate=\x22MOTIONDIALER.HOPPERFINALS\x22>HopperFinals</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm_dc.getQueueCampaignHopperFinals()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20aria-label=\x22More\x22\x20translate\x20translate-attr-aria-label=\x22MOTIONDIALER.MORE\x22\x20ng-click=\x22vm_dc.countContactsQueueCampaignHopperFinal(vm_dc.query.id);\x20$mdOpenMenu($event);\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-content\x20width=\x223\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm_dc.moveContactsQueueCampaignHopperFinal(3)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm_dc.moveContactsQueueCampaignHopperFinal(5)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22badge\x22>({{vm_dc.contacts.busyContacts}})</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm_dc.moveContactsQueueCampaignHopperFinal(8)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm_dc.moveContactsQueueCampaignHopperFinal(10)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm_dc.moveContactsQueueCampaignHopperFinal(11)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ABANDONED\x20\x22>Abandoned</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm_dc.moveContactsQueueCampaignHopperFinal(22)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm_dc.moveContactsQueueCampaignHopperFinal(0)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm_dc.moveContactsQueueCampaignHopperFinal(19)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.ANSWERING_MACHINE\x22>AnsweringMachine</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-icon-button\x22\x20ng-csv=\x22vm_dc.exportSelectedQueueCampaignHopperFinals\x22\x20csv-label=\x22true\x22\x20filename=\x22queueCampaigns.csv\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22move\x20selected\x22\x20translate\x20translate-attr-label=\x22MOTIONDIALER.MOVE_SELECTED\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip><span\x20translate=\x22MOTIONDIALER.RESTORECONTACTS\x22></span></md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20<table\x20md-table\x20md-row-select\x20multiple\x20ng-model=\x22vm_dc.selectedQueueCampaignHopperFinals\x22\x20md-progress=\x22vm_dc.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm_dc.query.sort\x22\x20md-on-reorder=\x22vm_dc.getQueueCampaignHopperFinals\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22disposition\x22\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22hopperFinal\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22hopperFinal\x20in\x20vm_dc.queueCampaignHopperFinals.rows\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hopperFinal.countagentrejectretry}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-menu-content>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-if=\x22!vm_dc.queueCampaignHopperFinals.rows.length\x22>\x0a','\x20\x20\x20\x20<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27MOTIONDIALER.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27MOTIONDIALER.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27MOTIONDIALER.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm_dc.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm_dc.query.page\x22\x20md-total=\x22{{vm_dc.queueCampaignHopperFinals.count}}\x22\x20md-on-paginate=\x22vm_dc.getQueueCampaignHopperFinals\x22\x20md-page-select></md-table-pagination>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-controller=\x22QueueCampaignHopperBlacksController\x20as\x20vm_dc\x22\x20ng-init=\x22vm_dc.init(vm.queueCampaign,\x20vm.crudPermissions)\x22>\x0a','\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-default\x22\x20ng-hide=\x22vm_dc.selectedQueueCampaignHopperBlacks.length\x22>\x0a','\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-accent\x22\x20ng-show=\x22vm_dc.selectedQueueCampaignHopperBlacks.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22>{{vm_dc.selectedQueueCampaignHopperBlacks.length}}\x20{{vm_dc.selectedQueueCampaignHopperBlacks.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-icon-button\x22\x20ng-csv=\x22vm_dc.exportSelectedQueueCampaignHopperBlacks\x22\x20csv-label=\x22true\x22\x20filename=\x22queueCampaigns.csv\x22>\x0a','\x20\x20\x20\x20\x20\x20<table\x20md-table\x20md-row-select\x20multiple\x20ng-model=\x22vm_dc.selectedQueueCampaignHopperBlacks\x22\x20md-progress=\x22vm_dc.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm_dc.query.sort\x22\x20md-on-reorder=\x22vm_dc.getQueueCampaignHopperBlacks\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22hopperBlack\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22hopperBlack\x20in\x20vm_dc.queueCampaignHopperBlacks.rows\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hopperBlack.ContactId}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hopperBlack.phone}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-if=\x22!vm_dc.queueCampaignHopperBlacks.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22text-boxed-light\x22\x20translate=\x22MOTIONDIALER.NO_HOPPERBLACK_AVAILABLE\x22>No\x20hopperblack\x20available</span>\x0a','\x20\x20\x20\x20<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27MOTIONDIALER.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27MOTIONDIALER.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27MOTIONDIALER.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm_dc.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm_dc.query.page\x22\x20md-total=\x22{{vm_dc.queueCampaignHopperBlacks.count}}\x22\x20md-on-paginate=\x22vm_dc.getQueueCampaignHopperBlacks\x22\x20md-page-select></md-table-pagination>\x0a','<div\x20id=\x22queueCampaigns\x22\x20class=\x22page-layout\x20simple\x20left-sidenav\x20inner-sidenav\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22logo-text\x22\x20translate=\x22MOTIONDIALER.QUEUECAMPAIGNS\x22>QueueCampaigns</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20id=\x22search\x22\x20placeholder=\x22Search\x20for\x20anyone\x22\x20type=\x22text\x22\x20ng-model=\x22vm.query.filter\x22\x20ng-model-options=\x22{\x20debounce:\x201000\x20}\x22\x20translate\x20translate-attr-placeholder=\x22MOTIONDIALER.SEARCH_FOR_ANYONE\x22>\x0a','\x20\x20\x20\x20<div\x20ng-show=\x22vm.selectedQueueCampaigns.length\x20>\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22selected-queueCampaigns-count\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.selectAllQueueCampaigns()\x22\x20translate=\x22MOTIONDIALER.SELECT_ALL\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deselectQueueCampaigns()\x22\x20translate=\x22MOTIONDIALER.SELECT_NONE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-icon-button\x22\x20ng-csv=\x22vm.exportSelectedQueueCampaigns\x22\x20csv-label=\x22true\x22\x20filename=\x22queueCampaigns.csv\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x22\x20ng-click=\x22vm.deleteSelectedQueueCampaigns($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22MOTIONDIALER.DELETE_SELECTED\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20QUEUECAMPAIGN\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<table\x20md-table\x20\x20md-row-select\x20multiple\x20\x20\x20ng-model=\x22vm.selectedQueueCampaigns\x22\x20md-progress=\x22vm.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm.query.sort\x22\x20md-on-reorder=\x22vm.getQueueCampaigns\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22dialActive\x22>{{\x20\x27MOTIONDIALER.ACTIVE\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22TrunkId\x22>{{\x20\x27MOTIONDIALER.TRUNK\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22dialMethod\x22>{{\x20\x27MOTIONDIALER.METHOD\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22strategy\x22>{{\x20\x27MOTIONDIALER.STRATEGY\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm.queueCampaigns.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22queueCampaign\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22queueCampaign\x20in\x20vm.queueCampaigns.rows\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22queueCampaign.userpic\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{queueCampaign.name}}\x22\x20ng-src=\x22api/users/{{queueCampaign.id}}/avatar\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22!queueCampaign.userpic\x20&&\x20(vm.table\x20==\x20\x27users\x27\x20||\x20vm.table\x20==\x20\x27agents\x27)\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{queueCampaign.name}}\x22\x20ng-src=\x22assets/images/avatars/profile.png\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(queueCampaign,\x20ev)\x20:\x20vm.createOrEditQueueCampaign($event,\x20queueCampaign)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22id\x20\x22\x20>{{queueCampaign.id}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(queueCampaign,\x20ev)\x20:\x20vm.createOrEditQueueCampaign($event,\x20queueCampaign)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22name\x20\x22\x20>{{queueCampaign.name}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(queueCampaign,\x20ev)\x20:\x20vm.createOrEditQueueCampaign($event,\x20queueCampaign)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22dialActive\x20\x22><md-icon\x20md-colors=\x22{color:\x20{{queueCampaign.dialActive\x20?\x20\x27\x5c\x27green\x5c\x27\x27\x20:\x20\x27\x5c\x27grey\x5c\x27\x27}}}\x22\x20md-font-icon=\x22{{queueCampaign.dialActive\x20?\x20\x27icon-check\x27\x20:\x20\x27icon-close\x27}}\x22></md-icon></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(queueCampaign,\x20ev)\x20:\x20vm.createOrEditQueueCampaign($event,\x20queueCampaign)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22TrunkId\x20\x22>{{\x20(vm.trunks\x20|\x20filter\x20:\x20{\x27id\x27:queueCampaign.TrunkId}\x20:\x20true)[0].name\x20}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(queueCampaign,\x20ev)\x20:\x20vm.createOrEditQueueCampaign($event,\x20queueCampaign)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22dialMethod\x20\x22>{{\x20vm.arraydialMethod[queueCampaign.dialMethod].option\x20}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(queueCampaign,\x20ev)\x20:\x20vm.createOrEditQueueCampaign($event,\x20queueCampaign)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22strategy\x20\x22>{{\x20vm.arraystrategy[queueCampaign.strategy].option\x20}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22MOTIONDIALER.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.editstate(queueCampaign,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MOTIONDIALER.EDIT_QUEUECAMPAIGN\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20QueueCampaign\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.clonedialog(queueCampaign,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MOTIONDIALER.CLONE_QUEUECAMPAIGN\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MOTIONDIALER.LISTADD_QUEUECAMPAIGN\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20listadd\x20QueueCampaign\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.blacklistadddialog(queueCampaign,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MOTIONDIALER.BLACKLISTADD_QUEUECAMPAIGN\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20blacklistadd\x20QueueCampaign\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.teamadddialog(queueCampaign,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MOTIONDIALER.TEAMADD_QUEUECAMPAIGN\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20teamadd\x20QueueCampaign\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.agentadddialog(queueCampaign,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MOTIONDIALER.AGENTADD_QUEUECAMPAIGN\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20agentadd\x20QueueCampaign\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20QueueCampaign\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20goToRealtime\x20QueueCampaign\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27MOTIONDIALER.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27MOTIONDIALER.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27MOTIONDIALER.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm.query.page\x22\x20md-total=\x22{{vm.queueCampaigns.count}}\x22\x20md-on-paginate=\x22vm.getQueueCampaigns\x22\x20md-page-select></md-table-pagination>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20QUEUECAMPAIGN\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20ADD\x20QUEUECAMPAIGN\x20BUTTON\x20-->\x0a','\x20\x20\x20\x20<md-button\x20ng-if=\x22vm.crudPermissions.canEdit\x22\x20class=\x22md-fab\x20md-accent\x22\x20id=\x22add-queueCampaign-button\x22\x20ng-click=\x22vm.createOrEditQueueCampaign($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20queueCampaign\x22\x20translate\x20translate-attr-aria-label=\x22MOTIONDIALER.ADD_QUEUECAMPAIGN\x22>\x0a','\x20\x20\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-default\x20table-header\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22\x20translate=\x22DASHBOARDS.ABANDONEDQUEUECALLS\x22>ABANDONED\x20QUEUE\x20CALLS</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<ms-search-bar\x20on-search=\x22vm.query.filter\x20=\x20query\x22\x20on-collapse=\x22vm.query.filter\x20=\x20undefined\x22\x20debounce=\x22300\x22></ms-search-bar>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<ms-quick-filter\x20filters=\x22vm.quickFilters\x22\x20query=\x22vm.query\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip\x20ng-if=\x22vm.showTooltip\x22\x20md-visible=\x22vm.showTooltip\x22>{{\x27DASHBOARDS.CLICKRELOAD\x27\x20|\x20translate}}</md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22calleridname\x22>{{\x27DASHBOARDS.FULLNAME\x27\x20|\x20translate}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22queuecallerexitAt\x22>{{\x27DASHBOARDS.QUEUECALLEREXITAT\x27\x20|\x20translate}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22queuecallerexitreason\x22>{{\x27DASHBOARDS.QUEUECALLEREXITREASON\x27\x20|\x20translate}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22lastAssignedTo\x22>{{\x27DASHBOARDS.LASTASSIGNEDTO\x27\x20|\x20translate}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22disposition\x22>{{\x27DASHBOARDS.DISPOSITION\x27\x20|\x20translate}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-repeat=\x22call\x20in\x20vm.abandonedCalls.rows\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20\x20md-cell\x20class=\x22id\x22>{{call.id}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20\x20md-cell\x20class=\x22firstName\x22>{{call.calleridname}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20class=\x22list\x22>{{call.calleridnum}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20class=\x22list\x22>{{vm.queuesMap[call.queue]}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20class=\x22list\x22>{{call.queuecallerexitAt\x20?\x20(call.queuecallerexitAt\x20|\x20formatdate)\x20:\x20undefined\x20}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20class=\x22list\x22>{{call.disposition}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-item\x20ng-if=\x22vm.crudPermissions.canEdit\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22$mdMenu.open()\x22\x20class=\x22text-capitalize\x22\x20translate=\x22DASHBOARDS.ASSIGNTO\x22>Assigned\x20to</md-button>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-item\x20ng-if=\x22call.lastAssignedTo\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.assignTo(call)\x22><em\x20translate=\x22DASHBOARDS.NONE\x22>Not\x20Assigned</em></md-button>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-item\x20ng-if=\x22vm.agents.rows.length\x22\x20ng-repeat=\x22agent\x20in\x20vm.agents.rows\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20\x20ng-click=\x22vm.assignTo(call,agent)\x22>{{agent.name}}</md-button>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-item\x20ng-if=\x22vm.dispositions.rows.length\x20>\x200\x22\x20ng-repeat=\x22disposition\x20in\x20vm.dispositions.rows\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.dispose(call,\x20disposition.name)\x22>{{disposition.name}}</md-button>\x0a','app/main/apps/motiondialer/views/realtime/agents/view.html','\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22\x20translate=\x22MOTIONDIALER.AGENTS\x22>Agents</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20value=\x22*pause\x22>{{\x20\x27MOTIONDIALER.PARTIALPAUSE\x27\x20|\x20translate\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20value=\x22busy\x22>{{\x20\x27MOTIONDIALER.BUSY\x27\x20|\x20translate\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20value=\x22idle\x22>{{\x20\x27MOTIONDIALER.IDLE\x27\x20|\x20translate\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20class=\x22bv\x20text-center\x22\x20colspan=\x225\x22>{{\x20\x27MOTIONDIALER.AGENT\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.STATUS\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.LOGIN_TIME\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.PAUSE_TIME\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-src=\x22{{vm.agents[value].userpic\x20&&\x20\x27api/users/\x27+vm.agents[value].id+\x27/avatar\x27\x20||\x20\x27assets/images/avatars/profile.png\x27}}\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.TOOLTIP_SCREENRECORDING_ON\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.TOOLTIP_SCREENRECORDING_OFF\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MOTIONDIALER.LOGOUT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MOTIONDIALER.SCREENRECORDING\x22>Screen\x20Recording\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MOTIONDIALER.STOP_SCREENRECORDING\x22>Stop\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MOTIONDIALER.DEFAULT_PAUSE\x22>Default\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MOTIONDIALER.UNPAUSE\x22>\x0a','\x20\x20\x20\x20md-label=\x22{page:\x20\x27{{\x27MOTIONDIALER.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27MOTIONDIALER.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27MOTIONDIALER.OF\x27\x20|\x20translate}}\x27}\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm.query.sort\x22\x20md-on-reorder=\x22vm.getCampaigns\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x27MOTIONDIALER.NAME\x27\x20|\x20translate}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x27MOTIONDIALER.TOTAL\x27\x20|\x20translate}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x27MOTIONDIALER.TOTAL_MANAGED\x27\x20|\x20translate}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x27MOTIONDIALER.ORIGINATED\x27\x20|\x20translate}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x27MOTIONDIALER.MESSAGE\x27\x20|\x20translate}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x27MOTIONDIALER.CALLYSQUAREPROJECT\x27\x20|\x20translate}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x20\x27MOTIONDIALER.TRUNK\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x20\x27MOTIONDIALER.ACTIVE\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.NO_AVAILABLE_INFO\x22>No\x20Available\x20Info</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>{{campaign.name}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22font-size-20\x20grey-fg\x22>{{campaign.ivrTotalCallsDays\x20||\x200}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22font-size-20\x20grey-fg\x22>{{campaign.ivrAnswerCallsDay\x20||\x200}}\x20({{(campaign.ivrTotalCallsDays)\x20?\x20(campaign.ivrAnswerCallsDay\x20||\x200)\x20*\x20100/(campaign.ivrTotalCallsDays\x20)\x20:\x200\x20|\x20number:1}}%)</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22font-size-20\x20grey-fg\x22>{{campaign.limitCalls\x20||\x200}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22font-size-20\x20grey-fg\x22>{{campaign.originated\x20||\x200}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22font-size-20\x20grey-fg\x22>{{campaign.message\x20?\x20(\x27MOTIONDIALER.\x27+campaign.message\x20|\x20translate)\x20:\x20\x27--\x27}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22font-size-20\x20grey-fg\x22>{{campaign.dialQueueProject\x20||\x20\x27--\x27}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22font-size-16\x20grey-fg\x22>{{campaign.Trunk\x20?\x20campaign.Trunk.name\x20:\x20\x27--\x27}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-colors=\x22{color:\x20{{campaign.active\x20?\x20\x27\x5c\x27green\x5c\x27\x27\x20:\x20\x27\x5c\x27red\x5c\x27\x27}}}\x22\x20md-font-icon=\x22{{campaign.active\x20?\x20\x27icon-check\x27\x20:\x20\x27icon-close\x27}}\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20aria-label=\x22More\x22\x20translate\x20translate-attr-aria-label=\x22MOTIONDIALER.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.createOrEditIvrCampaign($event,\x20campaign)\x22\x20translate=\x22MOTIONDIALER.EDIT_CAMPAIGN\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Campaign\x0a','\x20\x20<div\x20class=\x22md-toolbar-tools\x22>\x0a','\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22\x20translate=\x22MOTIONDIALER.QUEUE_CALLS\x22>Queue\x20Calls</span>\x0a','\x20\x20\x20\x20<!--\x20<div\x20flex></div>\x0a','\x20\x20<table\x20md-table>\x0a','\x20\x20\x20\x20<thead\x20md-head>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20width=\x2230px\x22></th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x20\x27MOTIONDIALER.QUEUE\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x20\x27MOTIONDIALER.CALLER\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x20\x27MOTIONDIALER.AGENT\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20width=\x2210px\x22></th>\x0a','\x20\x20\x20\x20\x20\x20</tr>\x0a','\x20\x20\x20\x20</thead>\x0a','\x20\x20\x20\x20<tbody\x20md-body>\x0a','\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm.getSize(vm.rpcVoiceQueuesChannels)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20colspan=\x226\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22row\x22\x20layout-align=\x22center\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.NO_AVAILABLE_INFO\x22>No\x20Available\x20Info</span>\x0a','\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-repeat=\x22(key,\x20channel)\x20in\x20vm.rpcVoiceQueuesChannels\x20|\x20limitObjectFromTo:\x20vm.queryChannels.limit:(vm.queryChannels.page\x20-\x201)\x20*\x20vm.queryChannels.limit\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20ng-if=\x22channel.queuecallerleaveAt\x22\x20md-font-icon=\x22icon-phone-in-talk\x20green-fg\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20ng-if=\x22!channel.queuecallerleaveAt\x22\x20md-font-icon=\x22icon-phone-incoming\x20md-accent\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell>{{channel.exten}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell>{{channel.queue}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell>{{channel.calleridnum}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22channel.queuecallerleaveAt\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<timer\x20start-time=\x22channel.queuecallerleaveAt\x22\x20interval=\x221000\x22>{{hhours}}:{{mminutes}}:{{sseconds}}</timer>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22!channel.queuecallerleaveAt\x22\x20class=\x22text-boxed\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<timer\x20start-time=\x22channel.queuecallerjoinAt\x22\x20interval=\x221000\x22>{{hhours}}:{{mminutes}}:{{sseconds}}</timer>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22text-boxed\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20class=\x22actions\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20aria-label=\x22More\x22\x20translate\x20translate-attr-aria-label=\x22STAFF.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-dots-vertical\x22\x20></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.hangup(channel.uniqueid)\x22\x20translate=\x22MOTIONDIALER.HANGUP\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Hangup\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.redirectToNumber($event,\x20channel.uniqueid)\x22\x20translate=\x22MOTIONDIALER.REDIRECT_TO_NUMBER\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Number\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22$mdMenu.open()\x22\x20translate=\x22MOTIONDIALER.REDIRECT_TO_AGENT\x22>Redirect\x20to\x20Agent</md-button>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-content>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-item\x20ng-repeat=\x22agent\x20in\x20vm.agents.rows\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.redirectToAgent(channel.uniqueid,\x20agent.name,\x20agent.context)\x22>{{agent.name}}</md-button>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-menu>\x0a','\x20\x20\x20\x20</tbody>\x0a','\x20\x20</table>\x0a','<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27MOTIONDIALER.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27MOTIONDIALER.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27MOTIONDIALER.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm.queryChannels.limit\x22\x20md-page=\x22vm.queryChannels.page\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-total=\x22{{vm.getSize(vm.rpcVoiceQueuesChannels)}}\x22\x20md-page-select></md-table-pagination>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22\x20translate=\x22MOTIONDIALER.QUEUE_PARAMETERS\x22>Params</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MOTIONDIALER.NAME\x27\x20|\x20translate}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x27\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MOTIONDIALER.TOTAL\x27\x20|\x20translate}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MOTIONDIALER.TOTAL_OFFERED\x27\x20|\x20translate}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MOTIONDIALER.MANAGED\x27\x20|\x20translate}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MOTIONDIALER.ABANDONED\x27\x20|\x20translate}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MOTIONDIALER.DROPPED\x27\x20|\x20translate}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-repeat=\x22(id,\x20queue)\x20in\x20vm.queues\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>{{queue.name}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22font-size-20\x20grey-fg\x22>{{(queue.answered\x20+\x20queue.outboundNoAnswerCallsDay\x20+\x20queue.outboundBusyCallsDay\x20+\x20queue.outboundCongestionCallsDay\x20+\x20queue.outboundNoSuchCallsDay\x20+\x20queue.outboundUnknownCallsDay\x20+\x20queue.outboundDropCallsDayTimeout\x20+\x20queue.outboundDropCallsDayCallersExit\x20+\x20queue.outboundBlacklistCallsDay\x20+\x20queue.outboundOriginateFailureCallsDay\x20+\x20queue.outboundAnswerAgiCallsDay\x20+\x20queue.outboundReCallsDay\x20+\x20queue.outboundRejectCallsDay\x20)||\x200}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22font-size-16\x20grey-fg\x22>{{queue.total\x20?\x20(queue.sumHoldTime\x20/\x20queue.total)\x20:\x200\x20|\x20number:\x200\x20|\x20secToTime\x20|\x20date:\x27HH:mm:ss\x27}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22font-size-16\x20grey-fg\x22>{{queue.total\x20?\x20(queue.sumDuration\x20/\x20queue.total)\x20:\x200\x20|\x20number:\x200\x20|\x20secToTime\x20|\x20date:\x27HH:mm:ss\x27}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22font-size-16\x20grey-fg\x22>{{queue.answered\x20?\x20((queue.sumBillable\x20||\x200)\x20/\x20queue.answered)\x20:\x200\x20|\x20number:\x200\x20|\x20secToTime\x20|\x20date:\x27HH:mm:ss\x27}}</span>\x0a','<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27MOTIONDIALER.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27MOTIONDIALER.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27MOTIONDIALER.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm.query.page\x22\x20md-total=\x22{{vm.count}}\x22\x20md-on-paginate=\x22vm.getQueues\x22\x20md-page-select></md-table-pagination>\x0a','<md-dialog\x20class=\x22predictive-dialog\x22\x20aria-label=\x22New\x20predictive\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22title\x22>{{\x20vm.queueCampaign.name\x20}}\x20Info</span>\x0a','\x20\x20\x20\x20<md-dialog-content\x20class=\x22text-center\x22\x20ms-scroll>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22!vm.queueCampaign.startProgressive\x20&&\x20!vm.queueCampaign.startPredictive\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22md-title\x22><span\x20translate=\x22MOTIONDIALER.PREDICTIVE_IS_NOT_RUNNING\x22>Predictive\x20is\x20not\x20running</span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22vm.queueCampaign.startProgressive\x20&&\x20!vm.queueCampaign.startPredictive\x22\x20class=\x22m-10\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20flex=\x22\x22\x20class=\x22column\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22md-headline\x22><span\x20translate=\x22MOTIONDIALER.DATA_COLLECTION_IN_PROGRESSIVE\x22>Data\x20collection\x20in\x20progressive</span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22md-subhead\x22><span\x20translate=\x22MOTIONDIALER.STARTTIME\x22>Start\x20Time</span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22md-headline\x22>{{\x20vm.setFormatTime(vm.queueCampaign.startProgressive)\x20}}</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22md-subhead\x22><span\x20translate=\x22MOTIONDIALER.ENDTIME\x22>End\x20Time</span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22md-headline\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.addMinutes(vm.queueCampaign.startProgressive,\x20vm.queueCampaign.dialPredictiveInterval)\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.queueCampaign.message\x20?\x20(\x27MOTIONDIALER.\x27\x20+\x20vm.queueCampaign.message\x20|\x20translate)\x20:\x20\x27--\x27}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22vm.queueCampaign.startPredictive\x22\x20class=\x22m-10\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22md-subhead\x22>({{vm.queueCampaign.dialPredictiveInterval}}\x20minutes)</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22md-headline\x22>{{\x20vm.setFormatTime(vm.queueCampaign.startPredictive)\x20}}</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.addMinutes(vm.queueCampaign.startPredictive,\x20vm.queueCampaign.dialPredictiveInterval)\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22text-boxed\x20blue-bg\x20white-fg\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-default\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22md-toolbar-tools\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22>Predictive\x20-\x20{{\x20\x27MOTIONDIALER.PREVIOUS_INTERVAL\x27\x20|\x20translate\x20}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-toolbar>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-table-container>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell><span\x20translate=\x22MOTIONDIALER.TOTAL_CALLS\x22>Total\x20Calls</span></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell>{{\x20vm.queueCampaign.predictiveIntervalTotalCalls\x20}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell><span\x20translate=\x22MOTIONDIALER.ANSWERED_CALLS\x22>Total\x20Calls</span></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell>{{\x20vm.queueCampaign.predictiveIntervalAnsweredCalls\x20}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20Temporaneamente\x20non\x20mostrate\x20perchè\x20contengono\x20anche\x20i\x20dati\x20dell\x27intervallo\x20corrente\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell>Dropped\x20Calls\x20Timeout</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell>Dropped\x20Calls\x20Caller\x20Exit</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell>{{\x20vm.queueCampaign.predictiveIntervalDroppedCallsCallersExit\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</tr>\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell><span\x20translate=\x22MOTIONDIALER.AVG_HOLD_TIME\x22>AVG\x20Hold\x20Time</span></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell>~\x20{{\x20vm.queueCampaign.predictiveIntervalAvgHoldtime\x20|\x20number:0\x20}}s</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</table>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-card>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22>ErlangB\x20-\x20{{\x20\x27MOTIONDIALER.CURRENT_INTERVAL\x27\x20|\x20translate\x20}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<table\x20md-table>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell><span\x20translate=\x22MOTIONDIALER.SCHEDULED_CALLS\x22>Scheduled\x20Calls</span></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell>{{\x20vm.queueCampaign.erlangCalls\x20}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell><span\x20translate=\x22MOTIONDIALER.ONE_CALL_EVERY\x22>One\x20call\x20every</span></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell>~\x20{{\x20vm.queueCampaign.erlangCallToSecond\x20|\x20number:0\x20}}s</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell><span\x20translate=\x22MOTIONDIALER.DROPRATE\x22>Drop\x20Rate</span></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell><span\x20translate=\x22MOTIONDIALER.AGENTBUSYFACTOR\x22>Agent\x20Busy\x20Factor</span></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell>{{\x20vm.queueCampaign.erlangBusyFactor\x20*\x20100\x20|\x20number:2\x20}}%</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22\x20translate=\x22MOTIONDIALER.QUEUES\x22>Queues</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x20\x27MOTIONDIALER.WAITING\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x20\x27MOTIONDIALER.ORIGINATED\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x20\x27MOTIONDIALER.MESSAGE\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22dialActive\x22>{{\x20\x27MOTIONDIALER.ACTIVE\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22font-size-16\x20grey-fg\x22>{{(vm.queues[value].talking\x20||\x200)\x20\x20+\x20\x20(vm.queues[value].pTalking\x20||\x200)}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22font-size-16\x20grey-fg\x22>{{vm.queues[value].originated\x20||\x200}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22font-size-16\x20grey-fg\x22>{{vm.queues[value].dialMethod\x20||\x200}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20class=\x22actions\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.createOrEditMotionDialerQueue($event,\x20vm.queues[value])\x22\x20translate=\x22MOTIONDIALER.EDIT_QUEUE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-item\x20ng-if=\x22vm.queues[value].dialMethod\x20==\x20\x27predictive\x27\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20Predictive\x20Info\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.agentAdd($event,\x20vm.queues[value])\x22\x20translate=\x22MOTIONDIALER.AGENTSADD_QUEUE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.AGENTS\x22>Agents</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.QUEUES\x22>Queues</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22MOTIONDIALER.QUEUE_CALLS\x22>Queue\x20Calls</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22name\x22\x20\x20ng-model=\x22vm.openchannelAccount.name\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.newOpenchannelAccount\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22openchannelAccountForm[\x27name\x27].$error\x22\x20ng-show=\x22openchannelAccountForm[\x27name\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22OPENCHANNEL.ERRORS.NAME_REQUIRED\x22>Name\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22OPENCHANNEL.KEY\x22>key</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22key\x22\x20\x20ng-model=\x22vm.openchannelAccount.key\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22openchannelAccountForm[\x27key\x27].$error\x22\x20ng-show=\x22openchannelAccountForm[\x27key\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22OPENCHANNEL.ERRORS.KEY_REQUIRED\x22>key\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22OPENCHANNEL.ERRORS.KEY_MAX_LENGTH\x22\x20translate-values=\x27{max:\x205}\x27>key\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x205</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22OPENCHANNEL.REPLYURI\x22>replyUri</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22OPENCHANNEL.HELP.REPLYURI\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22openchannelAccountForm[\x27replyUri\x27].$error\x22\x20ng-show=\x22openchannelAccountForm[\x27replyUri\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22OPENCHANNEL.ERRORS.REPLYURI_REQUIRED\x22>replyUri\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22OPENCHANNEL.ERRORS.REPLYURI_MUST_VALID_URL\x22>replyUri\x20must\x20be\x20a\x20valid\x20url\x20http://www.xcally.com</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22OPENCHANNEL.LIST\x22>List</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22ListId\x22\x20ng-model=\x22vm.openchannelAccount.ListId\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22OPENCHANNEL.HELP.LIST\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22openchannelAccountForm[\x27ListId\x27].$error\x22\x20ng-show=\x22openchannelAccountForm[\x27ListId\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22OPENCHANNEL.DESCRIPTION\x22>Description</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22description\x22\x20\x20ng-model=\x22vm.openchannelAccount.description\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22openchannelAccountForm[\x27description\x27].$error\x22\x20ng-show=\x22openchannelAccountForm[\x27description\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22OPENCHANNEL.ERRORS.DESCRIPTION_REQUIRED\x22>Description\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22openchannelAccountForm.$invalid\x20||\x20openchannelAccountForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22OPENCHANNEL.SAVE\x22\x20translate-attr-aria-label=\x22OPENCHANNEL.SAVE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22openchannelAccountForm.$invalid\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22OPENCHANNEL.ADD_OPENCHANNELACCOUNT\x22\x20translate-attr-aria-label=\x22OPENCHANNEL.ADD_OPENCHANNELACCOUNT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20OPENCHANNELACCOUNT\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip><span\x20translate=\x22OPENCHANNEL.DELETE\x22>DELETE</span></md-tooltip>\x0a','app/main/apps/openchannel/views/openchannelAccounts/edit/agentadd/agentadd.html','<md-dialog\x20class=\x22openchannelAccount-dialog\x22\x20aria-label=\x22openchannelAccount\x22\x20ng-init=\x22vm.onInit()\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22openchannelAccountForm\x22\x20ng-cloak>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h2\x20translate=\x22OPENCHANNEL.AGENTADD_OPENCHANNELACCOUNT\x22>Add\x20Agent\x20to\x20openchannelAccount</h2>\x0a','<md-dialog\x20class=\x22openchannelAccount-dialog\x22\x20aria-label=\x22New\x20OpenchannelAccount\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22openchannelAccountFormApp\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22OPENCHANNEL.AGENT\x22>Agent</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22agent.canSelect\x20===\x20false\x22>{{\x20agent.name\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22openchannelAccountFormApp[\x27agent\x27].$error\x22\x20ng-show=\x22openchannelAccountFormApp[\x27agent\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22OPENCHANNEL.ERRORS.AGENT_REQUIRED\x22>Agent\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22OPENCHANNEL.TIMEOUT\x22>Timeout</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22openchannelAccountFormApp[\x27timeout\x27].$error\x22\x20ng-show=\x22openchannelAccountFormApp[\x27timeout\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22OPENCHANNEL.ERRORS.TIMEOUT_REQUIRED\x22>Timeout\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22OPENCHANNEL.ERRORS.TIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>0</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22OPENCHANNEL.ERRORS.TIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO\x22>Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>2147483</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-click=\x22vm.saveOpenchannelAccountApp()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22openchannelAccountFormApp.$invalid\x20||\x20openchannelAccountFormApp.$pristine\x22\x0a','app/main/apps/openchannel/views/openchannelAccounts/edit/apps/amazonlex/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22OPENCHANNEL.ACCESSKEYID\x22>accesskeyid</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22accesskeyid\x22\x20\x20ng-model=\x22vm.amazonlex.accesskeyid\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22openchannelAccountFormApp[\x27accesskeyid\x27].$error\x22\x20ng-show=\x22openchannelAccountFormApp[\x27accesskeyid\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22OPENCHANNEL.ERRORS.ACCESSKEYID_REQUIRED\x22>accesskeyid\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22OPENCHANNEL.SECRETACCESSKEY\x22>secretaccesskey</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22openchannelAccountFormApp[\x27secretaccesskey\x27].$error\x22\x20ng-show=\x22openchannelAccountFormApp[\x27secretaccesskey\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22OPENCHANNEL.LEXREGION\x22>lexregion</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>US\x20West\x20(Oregon)</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27ap-southeast-2\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22openchannelAccountFormApp[\x27lexregion\x27].$error\x22\x20ng-show=\x22openchannelAccountFormApp[\x27lexregion\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22OPENCHANNEL.ERRORS.LEXREGION_REQUIRED\x22>lexregion\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22OPENCHANNEL.BOTNAME\x22>botname</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22openchannelAccountFormApp[\x27botname\x27].$error\x22\x20ng-show=\x22openchannelAccountFormApp[\x27botname\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22OPENCHANNEL.ERRORS.BOTNAME_REQUIRED\x22>botname\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22OPENCHANNEL.HELP.WELCOMEMESSAGE\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22openchannelAccountFormApp[\x27welcomemessage\x27].$error\x22\x20ng-show=\x22openchannelAccountFormApp[\x27welcomemessage\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22OPENCHANNEL.ERRORS.WELCOMEMESSAGE_REQUIRED\x22>welcomemessage\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22OPENCHANNEL.ERRORS.WELCOMEMESSAGE_MAX_LENGTH\x22\x20translate-values=\x27{max:\x20255}\x27>welcomemessage\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22openchannelAccountFormApp[\x27times\x27].$error\x22\x20ng-show=\x22openchannelAccountFormApp[\x27times\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22OPENCHANNEL.ERRORS.TIMES_REQUIRED\x22>times\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22openchannelAccountFormApp[\x27text\x27].$error\x22\x20ng-show=\x22openchannelAccountFormApp[\x27text\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22OPENCHANNEL.ERRORS.TEXT_REQUIRED\x22>Text\x20field\x20is\x20required</span>\x0a','app/main/apps/openchannel/views/openchannelAccounts/edit/apps/close/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22OPENCHANNEL.DISPOSITION\x22>Disposition</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22openchannelAccountFormApp[\x27disposition\x27].$error\x22\x20ng-show=\x22openchannelAccountFormApp[\x27disposition\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22OPENCHANNEL.ERRORS.DISPOSITION_REQUIRED\x22>Disposition\x20field\x20is\x20required</span>\x0a','app/main/apps/openchannel/views/openchannelAccounts/edit/apps/dialogflow/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22openchannelAccountFormApp[\x27key\x27].$error\x22\x20ng-show=\x22openchannelAccountFormApp[\x27key\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27en\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27it\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>French</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Japanese</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27pt-br\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Russian</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Chinese\x20(Simplified)</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27zh-TW\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22openchannelAccountFormApp[\x27language\x27].$error\x22\x20ng-show=\x22openchannelAccountFormApp[\x27language\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22OPENCHANNEL.WELCOMEMESSAGE\x22>welcomemessage</label>\x0a','app/main/apps/openchannel/views/openchannelAccounts/edit/apps/gotoif/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22OPENCHANNEL.CONDITION\x22>Condition</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22openchannelAccountFormApp[\x27condition\x27].$error\x22\x20ng-show=\x22openchannelAccountFormApp[\x27condition\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22OPENCHANNEL.ERRORS.CONDITION_REQUIRED\x22>Condition\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22OPENCHANNEL.TRUEPRIORITY\x22>truepriority</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22openchannelAccountFormApp[\x27truepriority\x27].$error\x22\x20ng-show=\x22openchannelAccountFormApp[\x27truepriority\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22OPENCHANNEL.ERRORS.TRUEPRIORITY_REQUIRED\x22>truepriority\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22OPENCHANNEL.ERRORS.TRUEPRIORITY_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>truepriority\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>1</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22openchannelAccountFormApp[\x27falsepriority\x27].$error\x22\x20ng-show=\x22openchannelAccountFormApp[\x27falsepriority\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22OPENCHANNEL.ERRORS.FALSEPRIORITY_REQUIRED\x22>falsepriority\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22OPENCHANNEL.ERRORS.FALSEPRIORITY_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>falsepriority\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>1</span>\x0a','app/main/apps/openchannel/views/openchannelAccounts/edit/apps/gotop/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22OPENCHANNEL.PRIORITY\x22>Priority</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22openchannelAccountFormApp[\x27priority\x27].$error\x22\x20ng-show=\x22openchannelAccountFormApp[\x27priority\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22OPENCHANNEL.ERRORS.PRIORITY_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>Priority\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>0</span>\x0a','app/main/apps/openchannel/views/openchannelAccounts/edit/apps/noop/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22openchannelAccountFormApp[\x27value\x27].$error\x22\x20ng-show=\x22openchannelAccountFormApp[\x27value\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22OPENCHANNEL.ERRORS.VALUE_REQUIRED\x22>Value\x20field\x20is\x20required</span>\x0a','app/main/apps/openchannel/views/openchannelAccounts/edit/apps/queue/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22OPENCHANNEL.QUEUE\x22>Queue</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22openchannelAccountFormApp[\x27queue\x27].$error\x22\x20ng-show=\x22openchannelAccountFormApp[\x27queue\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22OPENCHANNEL.ERRORS.QUEUE_REQUIRED\x22>Queue\x20field\x20is\x20required</span>\x0a','app/main/apps/openchannel/views/openchannelAccounts/edit/apps/system/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22OPENCHANNEL.ERRORS.COMMAND_REQUIRED\x22>Command\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22OPENCHANNEL.VARIABLE\x22>Variable</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22openchannelAccountFormApp[\x27variable\x27].$error\x22\x20ng-show=\x22openchannelAccountFormApp[\x27variable\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22OPENCHANNEL.ERRORS.VARIABLE_REQUIRED\x22>Variable\x20field\x20is\x20required</span>\x0a','app/main/apps/openchannel/views/openchannelAccounts/edit/apps/tag/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22OPENCHANNEL.TAG\x22>Tag</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22OPENCHANNEL.ERRORS.TAG_REQUIRED\x22>Tag\x20field\x20is\x20required</span>\x0a','<md-dialog\x20class=\x22openchannelCannedAnswer-dialog\x22\x20aria-label=\x22New\x20OpenchannelCannedAnswer\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22openchannelCannedAnswerForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22\x22\x20name=\x22key\x22\x20\x20ng-model=\x22vm.openchannelCannedAnswer.key\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22openchannelCannedAnswerForm[\x27key\x27].$error\x22\x20ng-show=\x22openchannelCannedAnswerForm[\x27key\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22OPENCHANNEL.VALUE\x22>Value</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<textarea\x20name=\x22value\x22\x20ng-model=\x22vm.openchannelCannedAnswer.value\x22\x20\x20required\x20\x20></textarea>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22openchannelCannedAnswerForm[\x27value\x27].$error\x22\x20ng-show=\x22openchannelCannedAnswerForm[\x27value\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22description\x22\x20\x20ng-model=\x22vm.openchannelCannedAnswer.description\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22openchannelCannedAnswerForm[\x27description\x27].$error\x22\x20ng-show=\x22openchannelCannedAnswerForm[\x27description\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20!vm.newOpenchannelCannedAnswer\x22\x20ng-click=\x22vm.saveOpenchannelCannedAnswer()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22openchannelCannedAnswerForm.$invalid\x20||\x20openchannelCannedAnswerForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22openchannelCannedAnswerForm.$invalid\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22OPENCHANNEL.ADD_OPENCHANNELCANNEDANSWER\x22\x20translate-attr-aria-label=\x22OPENCHANNEL.ADD_OPENCHANNELCANNEDANSWER\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x20&&\x20!vm.newOpenchannelCannedAnswer\x22\x20ng-click=\x22vm.deleteOpenchannelCannedAnswer($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22OPENCHANNEL.DELETE\x22>\x0a','<md-dialog\x20class=\x22openchannelDisposition-dialog\x22\x20aria-label=\x22New\x20OpenchannelDisposition\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22openchannelDispositionForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22openchannelDispositionForm[\x27name\x27].$error\x22\x20ng-show=\x22openchannelDispositionForm[\x27name\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20!vm.newOpenchannelDisposition\x22\x20ng-click=\x22vm.saveOpenchannelDisposition()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22openchannelDispositionForm.$invalid\x20||\x20openchannelDispositionForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.newOpenchannelDisposition\x22\x20ng-click=\x22vm.addNewOpenchannelDisposition()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22openchannelDispositionForm.$invalid\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22OPENCHANNEL.ADD_OPENCHANNELDISPOSITION\x22\x20translate-attr-aria-label=\x22OPENCHANNEL.ADD_OPENCHANNELDISPOSITION\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20OPENCHANNELDISPOSITION\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x20&&\x20!vm.newOpenchannelDisposition\x22\x20ng-click=\x22vm.deleteOpenchannelDisposition($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x0a','<div\x20id=\x22openchannel-openchannelAccount\x22\x20class=\x22page-layout\x20simple\x20tabbed\x22\x20layout=\x22column\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22goto-openchannelAccounts-button\x20md-icon-button\x22\x20aria-label=\x22Go\x20to\x20openchannelAccounts\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.gotoOpenchannelAccounts()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22OPENCHANNEL.GO_TO_OPENCHANNELACCOUNTS\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<img\x20ng-src=\x22assets/images/business/openchannelAccounts.jpg\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.openchannelAccount.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22vm.openchannelAccount.name\x22>{{vm.openchannelAccount.name}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22OPENCHANNEL.CREATED_AT\x22></span>\x20<span>{{vm.openchannelAccount.createdAt\x20|\x20date:\x27medium\x27}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.agentadddialog(vm.openchannelAccount,\x20$event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip><span\x20translate=\x22OPENCHANNEL.AGENTADD_OPENCHANNELACCOUNT\x22></span></md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-click=\x22vm.saveOpenchannelAccount()\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20ng-disabled=\x22(generalForm.$invalid)\x20||\x20(notificationForm.$invalid)\x20||\x20(transferForm.$invalid)\x20||\x20(proxyForm.$invalid)\x20||\x20(dispositionForm.$invalid)\x20||\x20(openchannelDispositionsForm.$invalid)\x20||\x20(openchannelCannedAnswersForm.$invalid)\x20||\x20(actionsForm.$invalid)\x20||\x20(interactionsForm.$invalid)\x22\x20translate=\x22OPENCHANNEL.SAVE\x22\x20translate-attr-aria-label=\x22OPENCHANNEL.SAVE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22OPENCHANNEL.SETTINGS\x22>SETTINGS</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22openchannelAccount-detail-form-container\x20general\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22OPENCHANNEL.GENERAL\x22>GENERAL</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22OPENCHANNEL.NAME\x22>Name</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22url\x22\x20name=\x22replyUri\x22\x20\x20ng-model=\x22vm.openchannelAccount.replyUri\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22OPENCHANNEL.ERRORS.LIST_REQUIRED\x22>List\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22OPENCHANNEL.WAITFORTHEASSIGNEDAGENT\x22>WaitForTheAssignedAgent</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22waitForTheAssignedAgent\x22\x20\x20ng-model=\x22vm.openchannelAccount.waitForTheAssignedAgent\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22OPENCHANNEL.ERRORS.WAITFORTHEASSIGNEDAGENT_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>WaitForTheAssignedAgent\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>1</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22OPENCHANNEL.MAPKEY\x22>MapKey</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-optgroup>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-optgroup\x20label=\x22custom\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27mapKey\x27].$error\x22\x20ng-show=\x22generalForm[\x27mapKey\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22OPENCHANNEL.ERRORS.MAPKEY_REQUIRED\x22>MapKey\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-button\x20md-fab\x20md-mini\x20md-primary\x22\x20ngclipboard\x20data-clipboard-target=\x22#copytoclipboard-receiveUri\x22\x20ngclipboard-success=\x22vm.alert({title:\x20\x27copied\x20to\x20clipboard\x27,\x20msg:\x20e.text});\x22\x20ngclipboard-error=\x22vm.alert({title:\x20\x27error\x27,\x20msg:\x20\x27copy\x20to\x20clipboard\x20failed\x27});\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-clipboard-text\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</button>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20class=\x22md-input\x22\x20type=\x22text\x22\x20id=\x22copytoclipboard-receiveUri\x22\x20name=\x22receiveUri\x22\x20\x20ng-value=\x22vm.location\x20+\x20\x27/api/openchannel/accounts/\x27\x20+\x20vm.openchannelAccount.id\x20+\x20\x27/notify\x27\x22\x20\x20ng-readonly=\x22true\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22OPENCHANNEL.HELP.RECEIVEURI\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-input-container>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22openchannelAccount-detail-form-container\x20notification\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22OPENCHANNEL.NOTIFICATION\x22>NOTIFICATION</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.openchannelAccount.notificationSound\x22\x20aria-label=\x22notificationSound\x22\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20><span\x20translate=\x22OPENCHANNEL.NOTIFICATIONSOUND\x22>notificationSound</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20class=\x22md-caption\x20grey-fg\x22\x20translate=\x22OPENCHANNEL.NOTIFICATIONTEMPLATE\x22>notificationTemplate</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22openchannelAccount-detail-form-container\x20transfer\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.openchannelAccount.queueTransfer\x22\x20aria-label=\x22queueTransfer\x22\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20><span\x20translate=\x22OPENCHANNEL.QUEUETRANSFER\x22>queueTransfer</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.openchannelAccount.queueTransfer\x20==\x20true\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22queueTransferTimeout\x22\x20\x20ng-model=\x22vm.openchannelAccount.queueTransferTimeout\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22OPENCHANNEL.ERRORS.QUEUETRANSFERTIMEOUT_REQUIRED\x22>queueTransferTimeout\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22OPENCHANNEL.ERRORS.QUEUETRANSFERTIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>queueTransferTimeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>1</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.openchannelAccount.agentTransfer\x22\x20aria-label=\x22agentTransfer\x22\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20><span\x20translate=\x22OPENCHANNEL.AGENTTRANSFER\x22>agentTransfer</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.openchannelAccount.agentTransfer\x20==\x20true\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22OPENCHANNEL.AGENTTRANSFERTIMEOUT\x22>agentTransferTimeout</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22OPENCHANNEL.ERRORS.AGENTTRANSFERTIMEOUT_REQUIRED\x22>agentTransferTimeout\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22OPENCHANNEL.ERRORS.AGENTTRANSFERTIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>agentTransferTimeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>1</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22OPENCHANNEL.ADVANCED\x22>ADVANCED</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22openchannelAccount-detail-form-container\x20proxy\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<form\x20name=\x22proxyForm\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22OPENCHANNEL.TOKEN\x22>token</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22token\x22\x20\x20ng-model=\x22vm.openchannelAccount.token\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22OPENCHANNEL.HELP.TOKEN\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22proxyForm[\x27token\x27].$error\x22\x20ng-show=\x22proxyForm[\x27token\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22OPENCHANNEL.DISPOSITION\x22>DISPOSITION</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.openchannelAccount.mandatoryDisposition\x22\x20aria-label=\x22MandatoryDisposition\x22\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20><span\x20translate=\x22OPENCHANNEL.MANDATORYDISPOSITION\x22>MandatoryDisposition</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.openchannelAccount.mandatoryDisposition\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22OPENCHANNEL.MANDATORYDISPOSITIONPAUSEID\x22>MandatoryDispositionPauseId</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22mandatoryDispositionPauseId\x22\x20ng-model=\x22vm.openchannelAccount.mandatoryDispositionPauseId\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22OPENCHANNEL.HELP.MANDATORYDISPOSITIONPAUSEID\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22OPENCHANNEL.ERRORS.MANDATORYDISPOSITIONPAUSEID_REQUIRED\x22>MandatoryDispositionPauseId\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22OPENCHANNEL.DISPOSITIONS\x22>DISPOSITIONS</span>\x0a','\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-default\x22\x20ng-hide=\x22vm_dc.selectedOpenchannelAccountOpenchannelDispositions.length\x22>\x0a','\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22\x20translate=\x22OPENCHANNEL.OPENCHANNELDISPOSITIONS\x22>OpenchannelDispositions</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22vm_dc.crudPermissions.canEdit\x22\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm_dc.createOrEditOpenchannelAccountOpenchannelDisposition($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20openchannelDisposition\x22\x20translate\x20translate-attr-label=\x22OPENCHANNEL.ADD_OPENCHANNELDISPOSITION\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22>{{vm_dc.selectedOpenchannelAccountOpenchannelDispositions.length}}\x20{{vm_dc.selectedOpenchannelAccountOpenchannelDispositions.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-icon-button\x22\x20ng-csv=\x22vm_dc.exportSelectedOpenchannelAccountOpenchannelDispositions\x22\x20csv-label=\x22true\x22\x20filename=\x22openchannelAccounts.csv\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22vm_dc.crudPermissions.canDelete\x22\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm_dc.deleteSelectedOpenchannelAccountOpenchannelDispositions($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22OPENCHANNEL.DELETE_SELECTED\x22>\x0a','\x20\x20\x20\x20\x20\x20<table\x20md-table\x20md-row-select\x20multiple\x20ng-model=\x22vm_dc.selectedOpenchannelAccountOpenchannelDispositions\x22\x20md-progress=\x22vm_dc.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm_dc.query.sort\x22\x20md-on-reorder=\x22vm_dc.getOpenchannelAccountOpenchannelDispositions\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27OPENCHANNEL.ID\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27OPENCHANNEL.NAME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_dc.createOrEditOpenchannelAccountOpenchannelDisposition($event,\x20openchannelDisposition)\x22\x20\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_dc.createOrEditOpenchannelAccountOpenchannelDisposition($event,\x20openchannelDisposition)\x22\x20\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{openchannelDisposition.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_dc.createOrEditOpenchannelAccountOpenchannelDisposition($event,\x20openchannelDisposition)\x22\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20openchannelDisposition.createdAt\x20|\x20formatdate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20aria-label=\x22More\x22\x20translate\x20translate-attr-aria-label=\x22OPENCHANNEL.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm_dc.createOrEditOpenchannelAccountOpenchannelDisposition($event,\x20openchannelDisposition)\x22\x20translate=\x22OPENCHANNEL.EDIT_OPENCHANNELDISPOSITION\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20OpenchannelDisposition\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm_dc.deleteConfirm(openchannelDisposition,\x20$event)\x22\x20translate=\x22OPENCHANNEL.DELETE_OPENCHANNELDISPOSITION\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20OpenchannelDisposition\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-if=\x22!vm_dc.openchannelAccountOpenchannelDispositions.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22text-boxed-light\x22\x20translate=\x22OPENCHANNEL.NO_OPENCHANNELDISPOSITION_AVAILABLE\x22>No\x20openchanneldisposition\x20available</span>\x0a','\x20\x20\x20\x20<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27OPENCHANNEL.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27OPENCHANNEL.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27OPENCHANNEL.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm_dc.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm_dc.query.page\x22\x20md-total=\x22{{vm_dc.openchannelAccountOpenchannelDispositions.count}}\x22\x20md-on-paginate=\x22vm_dc.getOpenchannelAccountOpenchannelDispositions\x22\x20md-page-select></md-table-pagination>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22OPENCHANNEL.CANNEDANSWERS\x22>CANNEDANSWERS</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22openchannelAccount-detail-form-container\x20openchannelcannedanswers\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-controller=\x22OpenchannelAccountOpenchannelCannedAnswersController\x20as\x20vm_dc\x22\x20ng-init=\x22vm_dc.init(vm.openchannelAccount,\x20vm.crudPermissions)\x22>\x0a','\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22\x20translate=\x22OPENCHANNEL.OPENCHANNELCANNEDANSWERS\x22>OpenchannelCannedAnswers</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22vm_dc.crudPermissions.canEdit\x22\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm_dc.createOrEditOpenchannelAccountOpenchannelCannedAnswer($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20openchannelCannedAnswer\x22\x20translate\x20translate-attr-label=\x22OPENCHANNEL.ADD_OPENCHANNELCANNEDANSWER\x22>\x0a','\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-accent\x22\x20ng-show=\x22vm_dc.selectedOpenchannelAccountOpenchannelCannedAnswers.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22>{{vm_dc.selectedOpenchannelAccountOpenchannelCannedAnswers.length}}\x20{{vm_dc.selectedOpenchannelAccountOpenchannelCannedAnswers.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22vm_dc.crudPermissions.canDelete\x22\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm_dc.deleteSelectedOpenchannelAccountOpenchannelCannedAnswers($event)\x22\x0a','\x20\x20\x20\x20\x20\x20<table\x20md-table\x20md-row-select\x20multiple\x20ng-model=\x22vm_dc.selectedOpenchannelAccountOpenchannelCannedAnswers\x22\x20md-progress=\x22vm_dc.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm_dc.query.sort\x22\x20md-on-reorder=\x22vm_dc.getOpenchannelAccountOpenchannelCannedAnswers\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27OPENCHANNEL.KEY\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27OPENCHANNEL.VALUE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27OPENCHANNEL.DESCRIPTION\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27OPENCHANNEL.CREATED_AT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22openchannelCannedAnswer\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22openchannelCannedAnswer\x20in\x20vm_dc.openchannelAccountOpenchannelCannedAnswers.rows\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_dc.createOrEditOpenchannelAccountOpenchannelCannedAnswer($event,\x20openchannelCannedAnswer)\x22\x20\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{openchannelCannedAnswer.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_dc.createOrEditOpenchannelAccountOpenchannelCannedAnswer($event,\x20openchannelCannedAnswer)\x22\x20\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{openchannelCannedAnswer.key}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{openchannelCannedAnswer.value}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_dc.createOrEditOpenchannelAccountOpenchannelCannedAnswer($event,\x20openchannelCannedAnswer)\x22\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm_dc.createOrEditOpenchannelAccountOpenchannelCannedAnswer($event,\x20openchannelCannedAnswer)\x22\x20translate=\x22OPENCHANNEL.EDIT_OPENCHANNELCANNEDANSWER\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20OpenchannelCannedAnswer\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm_dc.deleteConfirm(openchannelCannedAnswer,\x20$event)\x22\x20translate=\x22OPENCHANNEL.DELETE_OPENCHANNELCANNEDANSWER\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20OpenchannelCannedAnswer\x0a','\x20\x20\x20\x20<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27OPENCHANNEL.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27OPENCHANNEL.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27OPENCHANNEL.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm_dc.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm_dc.query.page\x22\x20md-total=\x22{{vm_dc.openchannelAccountOpenchannelCannedAnswers.count}}\x22\x20md-on-paginate=\x22vm_dc.getOpenchannelAccountOpenchannelCannedAnswers\x22\x20md-page-select></md-table-pagination>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22OPENCHANNEL.ACTIONS\x22>ACTIONS</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22openchannelAccount-detail-form-container\x20actions\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-controller=\x22OpenchannelAccountActionsController\x20as\x20vm_ac\x22\x20ng-init=\x22vm_ac.init(vm.openchannelAccount,\x20vm.crudPermissions)\x22\x20class=\x22content\x22\x20md-background-bg\x20layout=\x22row\x22\x20layout-align=\x22start\x20start\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<p\x20class=\x22text-truncate\x22\x20translate=\x22OPENCHANNEL.{{(a.alias\x20||\x20a.appType)\x20|\x20uppercase}}\x22>{{a.alias\x20||\x20a.appType}}</p>\x0a','\x20\x20\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-default\x22\x20ng-hide=\x22vm_ac.selectedOpenchannelAccountApps.length\x22>\x0a','\x20\x20\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-accent\x22\x20ng-show=\x22vm_ac.selectedOpenchannelAccountApps.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22>{{vm_ac.selectedOpenchannelAccountApps.length}}\x20{{vm_ac.selectedOpenchannelAccountApps.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22vm_ac.crudPermissions.canDelete\x22\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm_ac.deleteSelectedOpenchannelAccountApps($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22OPENCHANNEL.DELETE_SELECTED\x22>\x0a','\x20\x20\x20\x20<!--\x20QUEUES\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20<table\x20md-table\x20\x20md-row-select\x20multiple\x20ng-model=\x22vm_ac.selectedOpenchannelAccountApps\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22app\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22app\x20in\x20vm_ac.openchannelAccountApps.rows\x20|\x20filter:\x20vm_ac.query.filter\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-click=\x22vm_ac.editOpenchannelAccountApp($event,\x20$index)\x22><span>{{app.priority}}</span></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-click=\x22vm_ac.editOpenchannelAccountApp($event,\x20$index)\x22>{{app.app.toLowerCase()\x20===\x20\x27agi\x27\x20?\x20\x27Cally-Square\x27\x20:\x20app.app\x20|\x20ucfirst}}<span\x20ng-if=\x22app.appType.toLowerCase()\x20===\x20\x27custom\x27\x22>*</span></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-click=\x22vm_ac.editOpenchannelAccountApp($event,\x20$index)\x22><span\x20class=\x22text-truncate\x22\x20style=\x22width:200px\x22>{{app.appdata}}</span></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20aria-label=\x22More\x22\x20translate\x20translate-attr-aria-label=\x22VOICE.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm_ac.editOpenchannelAccountApp($event,\x20$index)\x22\x20translate=\x22VOICE.EDIT_APP\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm_ac.openchannelAccountApps.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22OPENCHANNEL.INTERACTIONS\x22>INTERACTIONS</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22openchannelAccount-detail-form-container\x20interactions\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22\x20translate=\x22OPENCHANNEL.INTERACTIONS\x22>Interactions</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm_dc.getOpenchannelAccountInteractions()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22refresh\x20Interactions\x22\x20translate\x20translate-attr-label=\x22OPENCHANNEL.REFRESH_INTERACTIONS\x22>\x0a','\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-accent\x22\x20ng-show=\x22vm_dc.selectedOpenchannelAccountInteractions.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-icon-button\x22\x20ng-csv=\x22vm_dc.exportSelectedOpenchannelAccountInteractions\x22\x20csv-label=\x22true\x22\x20filename=\x22openchannelAccounts.csv\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22vm_dc.crudPermissions.canDelete\x22\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm_dc.deleteSelectedOpenchannelAccountInteractions($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm_dc.query.sort\x22\x20md-on-reorder=\x22vm_dc.getOpenchannelAccountInteractions\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27OPENCHANNEL.CONTACT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27OPENCHANNEL.STARTEDAT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27OPENCHANNEL.AGENT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27OPENCHANNEL.TAGS\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22interaction\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22interaction\x20in\x20vm_dc.openchannelAccountInteractions.rows\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27OPENCHANNEL.OPENED\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27OPENCHANNEL.CLOSED\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm_dc.spyopenchannelInteraction($event,\x20interaction)\x22\x20translate=\x22OPENCHANNEL.SPYINTERACTION\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-primary\x22\x20ng-click=\x22vm_dc.openchannelInteractionDownload(interaction,\x20$event,\x20true)\x22\x20translate=\x22OPENCHANNEL.DOWNLOAD_WITH_ATTACHMENTS\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-item>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-primary\x22\x20ng-click=\x22vm_dc.openchannelInteractionDownload(interaction,\x20$event)\x22\x20translate=\x22OPENCHANNEL.DOWNLOAD_WITHOUT_ATTACHMENTS\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm_dc.deleteConfirm(interaction,\x20$event)\x22\x20translate=\x22OPENCHANNEL.DELETE_INTERACTION\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-if=\x22!vm_dc.openchannelAccountInteractions.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22text-boxed-light\x22\x20translate=\x22OPENCHANNEL.NO_INTERACTION_AVAILABLE\x22>No\x20interaction\x20available</span>\x0a','\x20\x20\x20\x20<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27OPENCHANNEL.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27OPENCHANNEL.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27OPENCHANNEL.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm_dc.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm_dc.query.page\x22\x20md-total=\x22{{vm_dc.openchannelAccountInteractions.count}}\x22\x20md-on-paginate=\x22vm_dc.getOpenchannelAccountInteractions\x22\x20md-page-select></md-table-pagination>\x0a','<div\x20id=\x22openchannelAccounts\x22\x20class=\x22page-layout\x20simple\x20left-sidenav\x20inner-sidenav\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-google-earth\x22\x20class=\x22s24\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22logo-text\x22\x20translate=\x22OPENCHANNEL.OPENCHANNELACCOUNTS\x22>OpenchannelAccounts</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20id=\x22search\x22\x20placeholder=\x22Search\x20for\x20anyone\x22\x20type=\x22text\x22\x20ng-model=\x22vm.query.filter\x22\x20ng-model-options=\x22{\x20debounce:\x201000\x20}\x22\x20translate\x20translate-attr-placeholder=\x22OPENCHANNEL.SEARCH_FOR_ANYONE\x22>\x0a','\x20\x20\x20\x20<div\x20ng-show=\x22vm.selectedOpenchannelAccounts.length\x20>\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22close-button-wrapper\x22\x20ng-click=\x22vm.selectedOpenchannelAccounts\x20=[]\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22OPENCHANNEL.BACK\x22>Back</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22selected-openchannelAccounts-count\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>{{vm.selectedOpenchannelAccounts.length}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22OPENCHANNEL.SELECTED\x22>selected</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deselectOpenchannelAccounts()\x22\x20translate=\x22OPENCHANNEL.SELECT_NONE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-icon-button\x22\x20ng-csv=\x22vm.exportSelectedOpenchannelAccounts\x22\x20csv-label=\x22true\x22\x20filename=\x22openchannelAccounts.csv\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x22\x20ng-click=\x22vm.deleteSelectedOpenchannelAccounts($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22OPENCHANNEL.DELETE_SELECTED\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20OPENCHANNELACCOUNT\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22name\x22>{{\x20\x27OPENCHANNEL.NAME\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22key\x22>{{\x20\x27OPENCHANNEL.KEY\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22replyUri\x22>{{\x20\x27OPENCHANNEL.REPLYURI\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22ListId\x22>{{\x20\x27OPENCHANNEL.LIST\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22description\x22>{{\x20\x27OPENCHANNEL.DESCRIPTION\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22OPENCHANNEL.NO_AVAILABLE_INFO\x22>No\x20Available\x20Info</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22openchannelAccount\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22openchannelAccount\x20in\x20vm.openchannelAccounts.rows\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22!openchannelAccount.userpic\x20&&\x20(vm.table\x20==\x20\x27users\x27\x20||\x20vm.table\x20==\x20\x27agents\x27)\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{openchannelAccount.name}}\x22\x20ng-src=\x22assets/images/avatars/profile.png\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(openchannelAccount,\x20ev)\x20:\x20vm.createOrEditOpenchannelAccount($event,\x20openchannelAccount)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22id\x20\x22\x20>{{openchannelAccount.id}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(openchannelAccount,\x20ev)\x20:\x20vm.createOrEditOpenchannelAccount($event,\x20openchannelAccount)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22name\x20\x22\x20>{{openchannelAccount.name}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22ListId\x20\x22>{{\x20(vm.lists\x20|\x20filter\x20:\x20{\x27id\x27:openchannelAccount.ListId}\x20:\x20true)[0].name\x20}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22description\x20\x22\x20>{{openchannelAccount.description}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22OPENCHANNEL.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.editstate(openchannelAccount,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22OPENCHANNEL.EDIT_OPENCHANNELACCOUNT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20OpenchannelAccount\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.interactionsgoto(openchannelAccount,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22OPENCHANNEL.INTERACTIONS_OPENCHANNELACCOUNT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Interactions\x20OpenchannelAccount\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22OPENCHANNEL.AGENTADD_OPENCHANNELACCOUNT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AgentAdd\x20OpenchannelAccount\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deleteconfirm(openchannelAccount,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22OPENCHANNEL.DELETE_OPENCHANNELACCOUNT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20OpenchannelAccount\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27OPENCHANNEL.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27OPENCHANNEL.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27OPENCHANNEL.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm.query.page\x22\x20md-total=\x22{{vm.openchannelAccounts.count}}\x22\x20md-on-paginate=\x22vm.getOpenchannelAccounts\x22\x20md-page-select></md-table-pagination>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20OPENCHANNELACCOUNT\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20openchannelAccount\x22\x20translate\x20translate-attr-aria-label=\x22OPENCHANNEL.ADD_OPENCHANNELACCOUNT\x22>\x0a','\x20\x20\x20\x20<!--\x20/\x20ADD\x20OPENCHANNELACCOUNT\x20BUTTON\x20-->\x0a','<md-dialog\x20class=\x22openchannelQueue-dialog\x22\x20aria-label=\x22New\x20OpenchannelQueue\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22openchannelQueueForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22name\x22\x20\x20ng-model=\x22vm.openchannelQueue.name\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.newOpenchannelQueue\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22OPENCHANNEL.HELP.NAME\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22openchannelQueueForm[\x27name\x27].$error\x22\x20ng-show=\x22openchannelQueueForm[\x27name\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22OPENCHANNEL.ERRORS.NAME_MUST_VALID_PATTERN\x22\x20translate-values=\x22{\x20regex:\x20\x27/^[A-Za-z0-9\x5c.\x5c_]+$/i\x27\x20}\x22>Name\x20must\x20be\x20valid\x20pattern\x20</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22OPENCHANNEL.STRATEGY\x22>Strategy</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22strategy\x22\x20ng-model=\x22vm.openchannelQueue.strategy\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22OPENCHANNEL.AGENT_TIMEOUT\x22>Agent_Timeout</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22timeout\x22\x20\x20ng-model=\x22vm.openchannelQueue.timeout\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22OPENCHANNEL.ERRORS.AGENT_TIMEOUT_REQUIRED\x22>Agent_Timeout\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22OPENCHANNEL.ERRORS.AGENT_TIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>Agent_Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>1</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22OPENCHANNEL.ERRORS.AGENT_TIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO\x22>Agent_Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>2147483</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22description\x22\x20\x20ng-model=\x22vm.openchannelQueue.description\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22openchannelQueueForm[\x27description\x27].$error\x22\x20ng-show=\x22openchannelQueueForm[\x27description\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22openchannelQueueForm.$invalid\x20||\x20openchannelQueueForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.newOpenchannelQueue\x22\x20ng-click=\x22vm.addNewOpenchannelQueue()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22openchannelQueueForm.$invalid\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22OPENCHANNEL.ADD_OPENCHANNELQUEUE\x22\x20translate-attr-aria-label=\x22OPENCHANNEL.ADD_OPENCHANNELQUEUE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x20&&\x20!vm.newOpenchannelQueue\x22\x20ng-click=\x22vm.deleteOpenchannelQueue($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x0a','<md-dialog\x20class=\x22openchannelQueue-dialog\x22\x20aria-label=\x22openchannelQueue\x22\x20ng-init=\x22vm.onInit()\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22openchannelQueueForm\x22\x20ng-cloak>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h2\x20translate=\x22OPENCHANNEL.AGENTADD_OPENCHANNELQUEUE\x22>Add\x20Agent\x20to\x20openchannelQueue</h2>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h2\x20translate=\x22OPENCHANNEL.TEAMS_ASSOCIATION\x22>Teams\x20Association</h2>\x0a','<div\x20id=\x22openchannel-openchannelQueue\x22\x20class=\x22page-layout\x20simple\x20tabbed\x22\x20layout=\x22column\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.gotoOpenchannelQueues()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22OPENCHANNEL.GO_TO_OPENCHANNELQUEUES\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22openchannelQueue-image\x22\x20hide-xs>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<img\x20ng-src=\x22assets/images/business/openchannelQueues.jpg\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.openchannelQueue.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22OPENCHANNEL.CREATED_AT\x22></span>\x20<span>{{vm.openchannelQueue.createdAt\x20|\x20date:\x27medium\x27}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.agentadddialog(vm.openchannelQueue,\x20$event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-click=\x22vm.saveOpenchannelQueue()\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20ng-disabled=\x22(generalForm.$invalid)\x22\x20translate=\x22OPENCHANNEL.SAVE\x22\x20translate-attr-aria-label=\x22OPENCHANNEL.SAVE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22openchannelQueue-detail-form-container\x20general\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22OPENCHANNEL.ERRORS.STRATEGY_REQUIRED\x22>Strategy\x20field\x20is\x20required</span>\x0a','<div\x20id=\x22openchannelQueues\x22\x20class=\x22page-layout\x20simple\x20left-sidenav\x20inner-sidenav\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22logo-text\x22\x20translate=\x22OPENCHANNEL.OPENCHANNELQUEUES\x22>OpenchannelQueues</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22selected-openchannelQueues-count\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>{{vm.selectedOpenchannelQueues.length}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.selectAllOpenchannelQueues()\x22\x20translate=\x22OPENCHANNEL.SELECT_ALL\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deselectOpenchannelQueues()\x22\x20translate=\x22OPENCHANNEL.SELECT_NONE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-icon-button\x22\x20ng-csv=\x22vm.exportSelectedOpenchannelQueues\x22\x20csv-label=\x22true\x22\x20filename=\x22openchannelQueues.csv\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x22\x20ng-click=\x22vm.deleteSelectedOpenchannelQueues($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20OPENCHANNELQUEUE\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<table\x20md-table\x20\x20md-row-select\x20multiple\x20\x20\x20ng-model=\x22vm.selectedOpenchannelQueues\x22\x20md-progress=\x22vm.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm.query.sort\x22\x20md-on-reorder=\x22vm.getOpenchannelQueues\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm.openchannelQueues.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22openchannelQueue\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22openchannelQueue\x20in\x20vm.openchannelQueues.rows\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22openchannelQueue.userpic\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{openchannelQueue.name}}\x22\x20ng-src=\x22api/users/{{openchannelQueue.id}}/avatar\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22!openchannelQueue.userpic\x20&&\x20(vm.table\x20==\x20\x27users\x27\x20||\x20vm.table\x20==\x20\x27agents\x27)\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{openchannelQueue.name}}\x22\x20ng-src=\x22assets/images/avatars/profile.png\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22id\x20\x22\x20>{{openchannelQueue.id}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(openchannelQueue,\x20ev)\x20:\x20vm.createOrEditOpenchannelQueue($event,\x20openchannelQueue)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22name\x20\x22\x20>{{openchannelQueue.name}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22strategy\x20\x22>{{\x20vm.arraystrategy[openchannelQueue.strategy].option\x20}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.editstate(openchannelQueue,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.teamadddialog(openchannelQueue,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20agentadd\x20OpenchannelQueue\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deleteconfirm(openchannelQueue,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20OpenchannelQueue\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.gotorealtimegoto(openchannelQueue,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22OPENCHANNEL.GOTOREALTIME_OPENCHANNELQUEUE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20goToRealtime\x20OpenchannelQueue\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27OPENCHANNEL.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27OPENCHANNEL.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27OPENCHANNEL.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm.query.page\x22\x20md-total=\x22{{vm.openchannelQueues.count}}\x22\x20md-on-paginate=\x22vm.getOpenchannelQueues\x22\x20md-page-select></md-table-pagination>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20OPENCHANNELQUEUE\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20ADD\x20OPENCHANNELQUEUE\x20BUTTON\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20openchannelQueue\x22\x20translate\x20translate-attr-aria-label=\x22OPENCHANNEL.ADD_OPENCHANNELQUEUE\x22>\x0a','\x20\x20\x20\x20<!--\x20/\x20ADD\x20OPENCHANNELQUEUE\x20BUTTON\x20-->\x0a','app/main/apps/openchannel/views/realtime/agents/view.html','\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22\x20translate=\x22OPENCHANNEL.AGENTS\x22>Agents</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27\x27\x22>{{\x20\x27OPENCHANNEL.ALL\x27\x20|\x20translate\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20value=\x22pause\x22>{{\x20\x27OPENCHANNEL.PAUSE\x27\x20|\x20translate\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20value=\x22idle\x22>{{\x20\x27OPENCHANNEL.IDLE\x27\x20|\x20translate\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20class=\x22bv\x20text-center\x22\x20colspan=\x225\x22>{{\x20\x27OPENCHANNEL.AGENT\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27OPENCHANNEL.STATUS\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27OPENCHANNEL.LOGIN_TIME\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27OPENCHANNEL.PAUSE_TIME\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>{{\x20\x27OPENCHANNEL.NO_AGENT_ONLINE\x27\x20|\x20translate\x20}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22OPENCHANNEL.LOGOUT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22OPENCHANNEL.AGENTADD_QUEUE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22OPENCHANNEL.SCREENRECORDING\x22>Screen\x20Recording\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22OPENCHANNEL.START_SCREENRECORDING\x22>Start\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22OPENCHANNEL.STOP_SCREENRECORDING\x22>Stop\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22OPENCHANNEL.PAUSE\x22>Pause</md-button>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22OPENCHANNEL.DEFAULT_PAUSE\x22>Default\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22name\x22>{{\x20\x27OPENCHANNEL.NAME\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x20\x27OPENCHANNEL.LOGGED_IN\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x20\x27OPENCHANNEL.PAUSED\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x20\x27OPENCHANNEL.READY\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x20\x27OPENCHANNEL.WAITING\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22OPENCHANNEL.NO_AVAILABLE_INFO\x22>No\x20Available\x20Info</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20aria-label=\x22More\x22\x20translate\x20translate-attr-aria-label=\x22OPENCHANNEL.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.createOrEditOpenchannelQueue($event,\x20vm.queues[value])\x22\x20translate=\x22OPENCHANNEL.EDIT_QUEUE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.agentAdd($event,\x20vm.queues[value])\x22\x20translate=\x22OPENCHANNEL.AGENTSADD_QUEUE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22OPENCHANNEL.AGENTS\x22>Agents</span>\x0a','<div\x20ng-if=\x22!vm.plugin\x22>\x0a','\x20\x20\x20\x20<p>Plugin\x20not\x20available...</p>\x0a','\x20\x20\x20\x20<iframe\x20ng-src=\x22{{vm.getTrustedURL()}}\x22\x20frameborder=0\x20style=\x22border:0px;\x20width:100%;\x20height:100%;\x22></iframe>\x0a','app/main/apps/settings/views/cloudProviders/cloudProviders.html','<div\x20id=\x22cloudProviders\x22\x20class=\x22page-layout\x20simple\x20left-sidenav\x20inner-sidenav\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-cog\x22\x20class=\x22s24\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20id=\x22search\x22\x20placeholder=\x22Search\x20for\x20anyone\x22\x20type=\x22text\x22\x20ng-model=\x22vm.query.filter\x22\x20ng-model-options=\x22{\x20debounce:\x201000\x20}\x22\x20translate\x20translate-attr-placeholder=\x22SETTINGS.SEARCH_FOR_ANYONE\x22>\x0a','\x20\x20\x20\x20<div\x20ng-show=\x22vm.selectedAiTools.length\x20>\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22close-button-wrapper\x22\x20ng-click=\x22vm.selectedAiTools\x20=[]\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SETTINGS.BACK\x22>Back</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22selected-cloudProviders-count\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SETTINGS.SELECTED\x22>selected</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22SETTINGS.MULTI_SELECT_TOGGLE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.selectAllAiTools()\x22\x20translate=\x22SETTINGS.SELECT_ALL\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deselectAiTools()\x22\x20translate=\x22SETTINGS.SELECT_NONE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20\x20ng-click=\x22vm.deleteSelectedAiTools($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22SETTINGS.DELETE_SELECTED\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<table\x20md-table\x20\x20md-row-select\x20multiple\x20\x20\x20ng-model=\x22vm.selectedAiTools\x22\x20md-progress=\x22vm.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22id\x22>{{\x20\x27SETTINGS.ID\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22name\x22>{{\x20\x27SETTINGS.NAME\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SETTINGS.NO_AVAILABLE_INFO\x22>No\x20Available\x20Info</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22cloudProvider\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22cloudProvider\x20in\x20vm.cloudProviders.rows\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22cloudProvider.userpic\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{cloudProvider.name}}\x22\x20ng-src=\x22api/users/{{cloudProvider.id}}/avatar\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22!cloudProvider.userpic\x20&&\x20(vm.table\x20==\x20\x27users\x27\x20||\x20vm.table\x20==\x20\x27agents\x27)\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{cloudProvider.name}}\x22\x20ng-src=\x22assets/images/avatars/profile.png\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.createOrEditCloudProvider($event,\x20cloudProvider)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22id\x20\x22\x20>{{cloudProvider.id}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.createOrEditCloudProvider($event,\x20cloudProvider)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22name\x20\x22\x20>{{cloudProvider.name}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.createOrEditCloudProvider($event,\x20cloudProvider)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22service\x20\x22>{{\x20vm.arrayservice[cloudProvider.service].option\x20}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22SETTINGS.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.editdialog(cloudProvider,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22SETTINGS.EDIT_CLOUDPROVIDER\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20CloudProvider\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22SETTINGS.DELETE_CLOUDPROVIDER\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20CloudProvider\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27SETTINGS.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27SETTINGS.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27SETTINGS.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm.query.page\x22\x20md-total=\x22{{vm.cloudProviders.count}}\x22\x20md-on-paginate=\x22vm.getAiTools\x22\x20md-page-select></md-table-pagination>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20CLOUDPROVIDER\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20ADD\x20CLOUDPROVIDER\x20BUTTON\x20-->\x0a','\x20\x20\x20\x20<md-button\x20\x20class=\x22md-fab\x20md-accent\x22\x20id=\x22add-cloudProvider-button\x22\x20ng-click=\x22vm.createOrEditCloudProvider($event)\x22\x0a','<md-dialog\x20class=\x22cloudProvider-dialog\x22\x20aria-label=\x22New\x20CloudProvider\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22cloudProviderForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22SETTINGS.NAME\x22>Name</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22cloudProviderForm[\x27name\x27].$error\x22\x20ng-show=\x22cloudProviderForm[\x27name\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SETTINGS.ERRORS.NAME_REQUIRED\x22>Name\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22SETTINGS.SERVICE\x22>Service</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22service\x22\x20ng-model=\x22vm.cloudProvider.service\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.newCloudProvider\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27AmazonAWS\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>AmazonAWS</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SETTINGS.ERRORS.SERVICE_REQUIRED\x22>Service\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.cloudProvider.service\x20==\x20\x27AmazonAWS\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22SETTINGS.ACCESSKEY\x22>AccessKey</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22data2\x22\x20\x20ng-model=\x22vm.cloudProvider.data2\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22cloudProviderForm[\x27data2\x27].$error\x22\x20ng-show=\x22cloudProviderForm[\x27data2\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SETTINGS.ERRORS.ACCESSKEY_REQUIRED\x22>AccessKey\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.cloudProvider.service\x20==\x20\x27AmazonAWS\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22cloudProviderForm[\x27data1\x27].$error\x22\x20ng-show=\x22cloudProviderForm[\x27data1\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SETTINGS.ERRORS.SECRETACCESSKEY_REQUIRED\x22>SecretAccesskey\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-dialog-actions\x20layout=\x22row\x22\x20layout-align=\x22space-between\x20center\x22\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20\x20ng-if=\x22!vm.newCloudProvider\x22\x20ng-click=\x22vm.saveCloudProvider()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22cloudProviderForm.$invalid\x20||\x20cloudProviderForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22SETTINGS.SAVE\x22\x20translate-attr-aria-label=\x22SETTINGS.SAVE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20\x20ng-if=\x22vm.newCloudProvider\x22\x20ng-click=\x22vm.addNewCloudProvider()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22cloudProviderForm.$invalid\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22SETTINGS.ADD_CLOUDPROVIDER\x22\x20translate-attr-aria-label=\x22SETTINGS.ADD_CLOUDPROVIDER\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20CLOUDPROVIDER\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20\x20ng-click=\x22vm.deleteCloudProvider($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22SETTINGS.DELETE\x22>\x0a','app/main/apps/settings/views/customizations/create/dialog.html','<md-dialog\x20class=\x22customization-dialog\x22\x20aria-label=\x22New\x20Customization\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22customizationForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.customization.defaultLoginLogo\x22\x20aria-label=\x22Default_Login_Logo\x22\x20><span\x20translate=\x22SETTINGS.DEFAULT_LOGIN_LOGO\x22>Default_Login_Logo</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.customization.defaultFavicon\x22\x20aria-label=\x22Default_Favicon\x22\x20><span\x20translate=\x22SETTINGS.DEFAULT_FAVICON\x22>Default_Favicon</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.customization.defaultHeaderWhiteLabel\x22\x20aria-label=\x22Default_Header_WhiteLabel\x22\x20><span\x20translate=\x22SETTINGS.DEFAULT_HEADER_WHITELABEL\x22>Default_Header_WhiteLabel</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22!vm.customization.defaultHeaderWhiteLabel\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22SETTINGS.HEADER_WHITELABEL\x22>Header_WhiteLabel</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22headerWhiteLabel\x22\x20\x20ng-model=\x22vm.customization.headerWhiteLabel\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22customizationForm[\x27headerWhiteLabel\x27].$error\x22\x20ng-show=\x22customizationForm[\x27headerWhiteLabel\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SETTINGS.ERRORS.HEADER_WHITELABEL_REQUIRED\x22>Header_WhiteLabel\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.customization.defaultPageTitle\x22\x20aria-label=\x22Default_Page_Title\x22\x20><span\x20translate=\x22SETTINGS.DEFAULT_PAGE_TITLE\x22>Default_Page_Title</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22SETTINGS.PAGE_TITLE\x22>Page_Title</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22pageTitle\x22\x20\x20ng-model=\x22vm.customization.pageTitle\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SETTINGS.ERRORS.PAGE_TITLE_REQUIRED\x22>Page_Title\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.customization.defaultPreferred\x22\x20aria-label=\x22Default_Preferred\x22\x20><span\x20translate=\x22SETTINGS.DEFAULT_PREFERRED\x22>Default_Preferred</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20!vm.newCustomization\x22\x20ng-click=\x22vm.saveCustomization()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22customizationForm.$invalid\x20||\x20customizationForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x20&&\x20!vm.newCustomization\x22\x20ng-click=\x22vm.deleteCustomization($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip><span\x20translate=\x22SETTINGS.DELETE\x22>DELETE</span></md-tooltip>\x0a','<div\x20id=\x22customizations\x22\x20class=\x22page-layout\x20simple\x20left-sidenav\x20inner-sidenav\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22logo-text\x22\x20translate=\x22SETTINGS.CUSTOMIZATIONS\x22>Customizations</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20type=\x22submit\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22(customizationsForm.$pristine\x20&&\x20logoForm.$pristine\x20&&\x20logologinForm.$pristine\x20&&\x20preferredForm.$pristine\x20&&\x20faviconForm.$pristine)\x20||\x20(customizationsForm.$invalid\x20||\x20logoForm.$invalid\x20||\x20logologinForm.$invalid\x20||\x20preferredForm.$invalid\x20||\x20faviconForm.$invalid)\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20translate=\x22SETTINGS.SAVE\x22\x20translate-attr-aria-label=\x22SETTINGS.SAVE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22customization-detail-form-container\x20customizations\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22SETTINGS.CUSTOMIZATIONS\x22>CUSTOMIZATIONS</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<form\x20name=\x22customizationsForm\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22customizationsForm[\x27headerWhiteLabel\x27].$error\x22\x20ng-show=\x22customizationsForm[\x27headerWhiteLabel\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22!vm.customization.defaultPageTitle\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22customizationsForm[\x27pageTitle\x27].$error\x22\x20ng-show=\x22customizationsForm[\x27pageTitle\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20ng-if=\x22!vm.customization.defaultLogo\x22\x20\x20\x20class=\x22customization-detail-form-container\x20logo\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22pb-16\x22\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22>\x0a','\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22SETTINGS.LOGO\x22>LOGO</div>\x0a','<div\x20ng-controller=\x22CustomizationlogoController\x20as\x20vm_cl\x22\x20ng-init=\x22vm_cl.init(vm.customization)\x22\x20class=\x22customization-detail-form-container\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20<div\x20id=\x22customization-image-uploader\x22\x20flow-init=\x22vm_cl.ngFlowOptions\x22\x20flow-name=\x22vm_cl.ngFlow.flow\x22\x20flow-files-submitted=\x22vm_cl.upload()\x22\x20flow-file-added=\x22vm_cl.fileAdded($file)\x22\x20flow-file-success=\x22vm_cl.fileSuccess($file,\x20$message)\x22\x20flow-complete=\x22vm_cl.uploadComplete()\x22\x20flow-drop\x0a','\x20\x20\x20\x20\x20\x20\x20\x20flow-drag-enter=\x22vm_cl.dropping=true\x22\x20flow-drag-leave=\x22vm_cl.dropping=false\x22\x20ng-class=\x22{\x27dropping\x27:vm.dropping}\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-accent\x20md-raised\x22\x20flow-btn\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-repeat=\x22logoimage\x20in\x20vm_cl.customization.images\x22\x20ng-switch=\x22logoimage.type\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22customization-image\x20uploading\x22\x20ng-switch-when=\x22uploading\x22\x20layout=\x22row\x22\x20layout-align=\x22center\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<img\x20class=\x22media\x22\x20flow-img=\x22logoimage.file\x22>\x0a','\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22SETTINGS.LOGOLOGIN\x22>LOGOLOGIN</div>\x0a','<div\x20ng-controller=\x22CustomizationlogologinController\x20as\x20vm_cll\x22\x20ng-init=\x22vm_cll.init(vm.customization)\x22\x20class=\x22customization-detail-form-container\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20<div\x20id=\x22customization-image-uploader\x22\x20flow-init=\x22vm_cll.ngFlowOptions\x22\x20flow-name=\x22vm_cll.ngFlow.flow\x22\x20flow-files-submitted=\x22vm_cll.upload()\x22\x20flow-file-added=\x22vm_cll.fileAdded($file)\x22\x20flow-file-success=\x22vm_cll.fileSuccess($file,\x20$message)\x22\x20flow-complete=\x22vm_cll.uploadComplete()\x22\x20flow-drop\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-repeat=\x22logologinimage\x20in\x20vm_cll.customization.images\x22\x20ng-switch=\x22logologinimage.type\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-progress-linear\x20md-mode=\x22determinate\x22\x20value=\x22{{logologinimage.file.progress()\x20*\x20100}}\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<img\x20class=\x22media\x22\x20flow-img=\x22logologinimage.file\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22customization-image\x22\x20ng-switch-when=\x22image\x22\x20layout=\x22row\x22\x20layout-align=\x22center\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<img\x20class=\x22media\x22\x20ng-src=\x22{{logologinimage.url}}\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20ng-if=\x22!vm.customization.defaultPreferred\x20&&\x20vm.license.preferred\x22\x20\x20\x20class=\x22customization-detail-form-container\x20preferred\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22SETTINGS.PREFERRED\x22>PREFERRED</div>\x0a','<div\x20ng-controller=\x22CustomizationpreferredController\x20as\x20vm_cp\x22\x20ng-init=\x22vm_cp.init(vm.customization)\x22\x20class=\x22customization-detail-form-container\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-repeat=\x22preferredimage\x20in\x20vm_cp.customization.images\x22\x20ng-switch=\x22preferredimage.type\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<img\x20class=\x22media\x22\x20flow-img=\x22preferredimage.file\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20ng-if=\x22!vm.customization.defaultFavicon\x22\x20\x20\x20class=\x22customization-detail-form-container\x20favicon\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','<div\x20ng-controller=\x22CustomizationfaviconController\x20as\x20vm_cf\x22\x20ng-init=\x22vm_cf.init(vm.customization)\x22\x20class=\x22customization-detail-form-container\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20<div\x20id=\x22customization-image-uploader\x22\x20flow-init=\x22vm_cf.ngFlowOptions\x22\x20flow-name=\x22vm_cf.ngFlow.flow\x22\x20flow-files-submitted=\x22vm_cf.upload()\x22\x20flow-file-added=\x22vm_cf.fileAdded($file)\x22\x20flow-file-success=\x22vm_cf.fileSuccess($file,\x20$message)\x22\x20flow-complete=\x22vm_cf.uploadComplete()\x22\x20flow-drop\x0a','\x20\x20\x20\x20\x20\x20\x20\x20flow-drag-enter=\x22vm_cf.dropping=true\x22\x20flow-drag-leave=\x22vm_cf.dropping=false\x22\x20ng-class=\x22{\x27dropping\x27:vm.dropping}\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22secondary-text\x20mt-8\x22>You\x20can\x20also\x20drop\x20images\x20here\x20to\x20upload.\x20Only\x20PNG,\x20JPG,\x20ICO\x20-\x20Max.\x208MB</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-repeat=\x22faviconimage\x20in\x20vm_cf.customization.images\x22\x20ng-switch=\x22faviconimage.type\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-progress-linear\x20md-mode=\x22determinate\x22\x20value=\x22{{faviconimage.file.progress()\x20*\x20100}}\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<img\x20class=\x22media\x22\x20flow-img=\x22faviconimage.file\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<img\x20class=\x22media\x22\x20ng-src=\x22{{faviconimage.url}}\x22>\x0a','app/main/apps/settings/views/generals/create/dialog.html','<md-dialog\x20class=\x22general-dialog\x22\x20aria-label=\x22New\x20General\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22generalForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.newGeneral\x22\x20ng-click=\x22vm.addNewGeneral()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22generalForm.$invalid\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22SETTINGS.ADD_GENERAL\x22\x20translate-attr-aria-label=\x22SETTINGS.ADD_GENERAL\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20GENERAL\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x20&&\x20!vm.newGeneral\x22\x20ng-click=\x22vm.deleteGeneral($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22logo-text\x22\x20translate=\x22SETTINGS.GENERAL\x22>General</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.saveGeneral()\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22(globalForm.$pristine\x20&&\x20motionbarForm.$pristine\x20&&\x20reportForm.$pristine\x20&&\x20agentOmniDesktopInterfaceForm.$pristine\x20&&\x20screenRecordingForm.$pristine\x20&&\x20securityForm.$pristine\x20&&\x20imapGeneralSettingsForm.$pristine\x20&&\x20SSOForm.$pristine\x20&&\x20aiToolsForm.$pristine)\x20||\x20(globalForm.$invalid\x20||\x20motionbarForm.$invalid\x20||\x20reportForm.$invalid\x20||\x20agentOmniDesktopInterfaceForm.$invalid\x20||\x20screenRecordingForm.$invalid\x20||\x20securityForm.$invalid\x20||\x20imapGeneralSettingsForm.$invalid\x20||\x20SSOForm.$invalid\x20||\x20aiToolsForm.$invalid)\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20translate=\x22SETTINGS.SAVE\x22\x20translate-attr-aria-label=\x22SETTINGS.SAVE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22general-detail-form-container\x20global\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22SETTINGS.GLOBAL\x22>GLOBAL</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<form\x20name=\x22globalForm\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22min_internal\x22\x20\x20ng-model=\x22vm.general.min_internal\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SETTINGS.ERRORS.MIN_INTERNAL_REQUIRED\x22>Min_Internal\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SETTINGS.ERRORS.MIN_INTERNAL_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>Min_Internal\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>0</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22SETTINGS.CHATTIMEOUT\x22>chatTimeout</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22chatTimeout\x22\x20\x20ng-model=\x22vm.general.chatTimeout\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SETTINGS.ERRORS.CHATTIMEOUT_REQUIRED\x22>chatTimeout\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SETTINGS.ERRORS.CHATTIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>chatTimeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>0</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.general.rtlSupport\x22\x20aria-label=\x22RtlSupport\x22\x20><span\x20translate=\x22SETTINGS.RTLSUPPORT\x22>RtlSupport</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22SETTINGS.HELP.RTLSUPPORT\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</form>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22SETTINGS.MOTIONBAR\x22>MOTIONBAR</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<form\x20name=\x22motionbarForm\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.general.phoneBarAutoUpdater\x22\x20aria-label=\x22MotionbarAutoUpdater\x22\x20><span\x20translate=\x22SETTINGS.MOTIONBARAUTOUPDATER\x22>MotionbarAutoUpdater</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.general.phoneBarAutoUpdater\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22SETTINGS.MOTIONBARAUTOUPDATERURL\x22>MotionbarAutoUpdaterUrl</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22url\x22\x20name=\x22phoneBarAutoUpdaterUrl\x22\x20\x20ng-model=\x22vm.general.phoneBarAutoUpdaterUrl\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22vm.general.phoneBarAutoUpdater\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SETTINGS.ERRORS.MOTIONBARAUTOUPDATERURL_REQUIRED\x22>MotionbarAutoUpdaterUrl\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SETTINGS.ERRORS.MOTIONBARAUTOUPDATERURL_MUST_VALID_URL\x22>MotionbarAutoUpdaterUrl\x20must\x20be\x20a\x20valid\x20url\x20http://www.xcally.com</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.general.phoneBarRememberMeEnabled\x22\x20aria-label=\x22MotionbarRememberMe\x22\x20><span\x20translate=\x22SETTINGS.MOTIONBARREMEMBERME\x22>MotionbarRememberMe</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22SETTINGS.HELP.MOTIONBARREMEMBERME\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22general-detail-form-container\x20report\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<form\x20name=\x22reportForm\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.general.split\x22\x20aria-label=\x22Split\x22\x20><span\x20translate=\x22SETTINGS.SPLIT\x22>Split</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.general.split\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22splitSizeCsv\x22\x20\x20ng-model=\x22vm.general.splitSizeCsv\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22reportForm[\x27splitSizeCsv\x27].$error\x22\x20ng-show=\x22reportForm[\x27splitSizeCsv\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SETTINGS.ERRORS.SPLITSIZECSV_REQUIRED\x22>SplitSizeCsv\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22SETTINGS.SPLITSIZEPDF\x22>SplitSizePdf</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22splitSizePdf\x22\x20\x20ng-model=\x22vm.general.splitSizePdf\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22reportForm[\x27splitSizePdf\x27].$error\x22\x20ng-show=\x22reportForm[\x27splitSizePdf\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SETTINGS.ERRORS.SPLITSIZEPDF_REQUIRED\x22>SplitSizePdf\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.general.split\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22splitSizeXlsx\x22\x20\x20ng-model=\x22vm.general.splitSizeXlsx\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22reportForm[\x27splitSizeXlsx\x27].$error\x22\x20ng-show=\x22reportForm[\x27splitSizeXlsx\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SETTINGS.ERRORS.SPLITSIZEXLSX_REQUIRED\x22>SplitSizeXlsx\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22SETTINGS.AGENTOMNIDESKTOPINTERFACE\x22>AGENTOMNIDESKTOPINTERFACE</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<form\x20name=\x22agentOmniDesktopInterfaceForm\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22SETTINGS.MESSAGESALIGNMENT\x22>messagesAlignment</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22messagesAlignment\x22\x20ng-model=\x22vm.general.messagesAlignment\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27alternate\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Left</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27right\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Right</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20ng-if=\x22vm.license.screenrecording\x22\x20\x20\x20class=\x22general-detail-form-container\x20screenrecording\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22SETTINGS.SCREENRECORDING\x22>SCREENRECORDING</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<form\x20name=\x22screenRecordingForm\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22SETTINGS.DEFAULTSCREENRECORDINGPATH\x22>defaultScreenRecordingPath</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22screenRecordingForm[\x27defaultScreenRecordingPath\x27].$error\x22\x20ng-show=\x22screenRecordingForm[\x27defaultScreenRecordingPath\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SETTINGS.ERRORS.DEFAULTSCREENRECORDINGPATH_REQUIRED\x22>defaultScreenRecordingPath\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22general-detail-form-container\x20security\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<form\x20name=\x22securityForm\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.general.securePassword\x22\x20aria-label=\x22Security_Suite\x22\x20><span\x20translate=\x22SETTINGS.SECURITY_SUITE\x22>Security_Suite</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.general.callRecordingEncryption\x22\x20aria-label=\x22Call_Recording_Encryption\x22\x20><span\x20translate=\x22SETTINGS.CALL_RECORDING_ENCRYPTION\x22>Call_Recording_Encryption</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22SETTINGS.ALLOWEDLOGINATTEMPTS\x22>allowedLoginAttempts</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22allowedLoginAttempts\x22\x20\x20ng-model=\x22vm.general.allowedLoginAttempts\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22securityForm[\x27allowedLoginAttempts\x27].$error\x22\x20ng-show=\x22securityForm[\x27allowedLoginAttempts\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SETTINGS.ERRORS.ALLOWEDLOGINATTEMPTS_REQUIRED\x22>allowedLoginAttempts\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22securityForm[\x27blockDuration\x27].$error\x22\x20ng-show=\x22securityForm[\x27blockDuration\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SETTINGS.ERRORS.BLOCKDURATION_REQUIRED\x22>blockDuration\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22general-detail-form-container\x20imapgeneralsettings\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22SETTINGS.LOGINMAILFREQUENCY\x22>loginMailFrequency</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22loginMailFrequency\x22\x20\x20ng-model=\x22vm.general.loginMailFrequency\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22SETTINGS.HELP.LOGINMAILFREQUENCY\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22imapGeneralSettingsForm[\x27loginMailFrequency\x27].$error\x22\x20ng-show=\x22imapGeneralSettingsForm[\x27loginMailFrequency\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SETTINGS.ERRORS.LOGINMAILFREQUENCY_REQUIRED\x22>loginMailFrequency\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SETTINGS.ERRORS.LOGINMAILFREQUENCY_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>loginMailFrequency\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>10</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22general-detail-form-container\x20sso\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22SETTINGS.SSO\x22>SSO</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<form\x20name=\x22SSOForm\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.general.googleSsoEnabled\x22\x20aria-label=\x22Google_SSO_enabled\x22\x20><span\x20translate=\x22SETTINGS.GOOGLE_SSO_ENABLED\x22>Google_SSO_enabled</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20ng-if=\x22vm.license.ai\x22\x20\x20\x20class=\x22general-detail-form-container\x20aitools\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22SETTINGS.AITOOLS\x22>AITOOLS</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<form\x20name=\x22aiToolsForm\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22SETTINGS.LANGUAGE\x22>Language</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22language\x22\x20ng-model=\x22vm.general.language\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27en-US\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>US\x20English</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27en-AU\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Australian\x20English</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27en-GB\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>British\x20English</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27en-AB\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27en-WL\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Welsh\x20English</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27en-IE\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>English\x20(Ireland)</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27en-IN\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Hindi\x20(India)</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27fr-CA\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27fr-FR\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27de-CH\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>German\x20(Switzerland)</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27it-IT\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27es-ES\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27es-Us\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27pt-BR\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Brazilian\x20Portuguese</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27pt-PT\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Portuguese(Portugal)</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27ar-SA\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Modern\x20Standard\x20Arabic</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Chinese\x20Mandarin\x20-\x20Mainland</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27ja-JP\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Korean\x20(Korea)</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Hebrew\x20(Israel)\x20-\x20This\x20language\x20is\x20not\x20available\x20for\x20the\x20Sentiment\x20Analysis</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27ms-MY\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27fa-IR\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Farsi\x20(Iran)\x20-\x20This\x20language\x20is\x20not\x20available\x20for\x20the\x20Sentiment\x20Analysis</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Russian\x20(Russia)\x20-\x20This\x20language\x20is\x20not\x20available\x20for\x20the\x20Sentiment\x20Analysis</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27te-IN\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Telugu(India)\x20-\x20This\x20language\x20is\x20not\x20available\x20for\x20the\x20Sentiment\x20Analysis</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27ta-IN\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Tamil\x20-\x20This\x20language\x20is\x20not\x20available\x20for\x20the\x20Sentiment\x20Analysis</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27nl-NL\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Dutch\x20-\x20This\x20language\x20is\x20not\x20available\x20for\x20the\x20Sentiment\x20Analysis</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27tr-TR\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Turkish\x20(Turkey)\x20-\x20This\x20language\x20is\x20not\x20available\x20for\x20the\x20Sentiment\x20Analysis</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27id-ID\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22aiToolsForm[\x27language\x27].$error\x22\x20ng-show=\x22aiToolsForm[\x27language\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SETTINGS.ERRORS.LANGUAGE_REQUIRED\x22>Language\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22aiToolsForm[\x27bucket\x27].$error\x22\x20ng-show=\x22aiToolsForm[\x27bucket\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.general.transcribe\x22\x20aria-label=\x22Transcribe\x22\x20><span\x20translate=\x22SETTINGS.TRANSCRIBE\x22>Transcribe</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22SETTINGS.TRANSCRIBEREGION\x22>TranscribeRegion</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22transcribeRegion\x22\x20ng-model=\x22vm.general.transcribeRegion\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27us-east-2\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>US\x20West\x20(N.\x20California)</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27ap-south-1\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Asia\x20Pacific\x20(Mumbai)</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27ap-east-1\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Asia\x20Pacific\x20(Hong\x20Kong)</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27ap-northeast-2\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27ap-southeast-1\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Asia\x20Pacific\x20(Singapore)</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27ap-northeast-1\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Asia\x20Pacific\x20(Tokyo)</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27ca-central-1\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Canada\x20(Central)</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27eu-central-1\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Europe\x20(Frankfurt)</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Europe\x20(Ireland)</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27eu-west-2\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Europe\x20(London)</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Europe\x20(Paris)</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Middle\x20East\x20(Bahrain)</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27sa-east-1\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>South\x20America\x20(São\x20Paulo)</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22aiToolsForm[\x27transcribeRegion\x27].$error\x22\x20ng-show=\x22aiToolsForm[\x27transcribeRegion\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SETTINGS.ERRORS.TRANSCRIBEREGION_REQUIRED\x22>TranscribeRegion\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.general.transcribe\x20==\x20true\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22SETTINGS.TRANSCRIBEACCOUNT\x22>TranscribeAccount</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22transcribeAccountId\x22\x20ng-model=\x22vm.general.transcribeAccountId\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22transcribeAccountId.id\x22\x20ng-repeat=\x22transcribeAccountId\x20in\x20vm.cloudProviders\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22transcribeAccountId.canSelect\x20===\x20false\x22>{{\x20transcribeAccountId.name\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SETTINGS.ERRORS.TRANSCRIBEACCOUNT_REQUIRED\x22>TranscribeAccount\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.general.transcribe\x20==\x20true\x20&&\x20vm.general.language\x20!=\x20\x27he-IL\x27\x20&&\x20vm.general.language\x20!=\x20\x27ms-MY\x27\x20&&\x20vm.general.language\x20!=\x20\x27fa-IR\x27\x20&&\x20vm.general.language\x20!=\x20\x27ru-RU\x27\x20&&\x20vm.general.language\x20!=\x20\x27te-IN\x27\x20&&\x20vm.general.language\x20!=\x20\x27ta-IN\x27\x20&&\x20vm.general.language\x20!=\x20\x27nl-NL\x27\x20&&\x20vm.general.language\x20!=\x20\x27tr-TR\x27\x20&&\x20vm.general.language\x20!=\x20\x27id-ID\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.general.sentiment\x22\x20aria-label=\x22SentimentAnalysis\x22\x20><span\x20translate=\x22SETTINGS.SENTIMENTANALYSIS\x22>SentimentAnalysis</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.general.sentiment\x20==\x20true\x20&&\x20vm.general.transcribe\x20==\x20true\x20&&\x20vm.general.language\x20!=\x20\x27he-IL\x27\x20&&\x20vm.general.language\x20!=\x20\x27ms-MY\x27\x20&&\x20vm.general.language\x20!=\x20\x27fa-IR\x27\x20&&\x20vm.general.language\x20!=\x20\x27ru-RU\x27\x20&&\x20vm.general.language\x20!=\x20\x27te-IN\x27\x20&&\x20vm.general.language\x20!=\x20\x27ta-IN\x27\x20&&\x20vm.general.language\x20!=\x20\x27nl-NL\x27\x20&&\x20vm.general.language\x20!=\x20\x27tr-TR\x27\x20&&\x20vm.general.language\x20!=\x20\x27id-ID\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22sentimentRegion\x22\x20ng-model=\x22vm.general.sentimentRegion\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>US\x20East\x20(Ohio)</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Asia\x20Pacific\x20(Seoul)</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SETTINGS.ERRORS.SENTIMENTREGION_REQUIRED\x22>SentimentRegion\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22sentimentAccountId\x22\x20ng-model=\x22vm.general.sentimentAccountId\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22sentimentAccountId.id\x22\x20ng-repeat=\x22sentimentAccountId\x20in\x20vm.cloudProviders\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22sentimentAccountId.canSelect\x20===\x20false\x22>{{\x20sentimentAccountId.name\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22aiToolsForm[\x27sentimentAccountId\x27].$error\x22\x20ng-show=\x22aiToolsForm[\x27sentimentAccountId\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SETTINGS.ERRORS.SENTIMENTACCOUNT_REQUIRED\x22>SentimentAccount\x20field\x20is\x20required</span>\x0a','app/main/apps/settings/views/license/license.html','<div\x20id=\x22license\x22\x20class=\x22page-layout\x20simple\x20fullwidth\x20doc-page\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20HEADER\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20APP\x20TITLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22logo\x22\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-cog\x22\x20class=\x22s24\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20APP\x20TITLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-click=\x22vm.requestLicense()\x22\x20class=\x22send-button\x20md-raised\x22\x20translate=\x22SETTINGS.REQUEST_LICENSE\x22\x20translate-attr-aria-label=\x22SETTINGS.REQUEST_LICENSE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20REQUEST\x20LICENSE\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20HEADER\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22content\x22\x20md-background-bg\x20layout=\x22row\x22\x20layout-align=\x22start\x20start\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22main\x20scrollable\x22\x20ms-scroll>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20LICENSE\x20CARD\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22row\x22\x20flex>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-card\x20class=\x22md-whiteframe-1dp\x20padding-20\x22\x20flex>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22row\x22\x20layout-align=\x22center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20flex\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22!vm.license.custom\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<a\x20href=\x22https://www.xcally.com/plans.html\x22\x20target=\x22_blank\x22\x20class=\x22md-button\x20md-fab\x20green-A700-bg\x22\x20aria-label=\x22Eat\x20cake\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</a>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-switch-when=\x2212\x22\x20class=\x22md-title\x20md-accent-fg\x20text-bold\x22>{{\x20\x27SETTINGS.PLAN\x27\x20|\x20translate\x20}}:\x20<span\x20translate=\x22SETTINGS.ANNUALLY\x22>ANNUALLY</span></span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-switch-when=\x2236\x22\x20class=\x22md-title\x20md-accent-fg\x20text-bold\x22>{{\x20\x27SETTINGS.PLAN\x27\x20|\x20translate\x20}}:\x20<span\x20translate=\x22SETTINGS.PERPETUAL\x22>PERPETUAL</span></span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20flex\x20layout=\x22row\x22\x20layout-align=\x22end\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-click=\x22vm.updateLicense()\x22\x20class=\x22md-button\x20md-fab\x20md-accent\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip><span\x20translate=\x22SETTINGS.UPDATE_LICENSE\x22>License</span></md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-pencil\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22!vm.license.demo\x20&&\x20!vm.license.gray\x20&&\x20vm.license.months\x20!=\x2036\x22\x20class=\x22md-subhead\x20md-warn-fg\x20text-center\x22>{{\x20\x27SETTINGS.EXPIRATION_DATE\x27\x20|\x20translate\x20}}:\x20{{vm.license.expiration\x20|\x20date:\x20\x27longDate\x27}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22text-center\x20padding-bottom-10\x22>\x20{{\x20vm.license.machineUuid\x20!==\x20vm.license.uuid\x20?\x20\x27SETTINGS.OLD_TOKEN\x27\x20:\x20\x27SETTINGS.TOKEN\x27\x20|\x20translate\x20}}:\x20<span\x20class=\x22text-italic\x20text-bold\x22>{{vm.license.uuid}}</span></span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22vm.license.grayReason\x20==\x20\x27changed\x27\x22\x20class=\x22blink\x20md-subhead\x20md-warn-fg\x20text-center\x22>{{\x20\x27SETTINGS.NEW_TOKEN_DETECTED\x27\x20|\x20translate\x20}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22vm.license.grayReason\x20==\x20\x27changed\x27\x22\x20class=\x22text-center\x20padding-bottom-10\x22>\x20{{\x27SETTINGS.NEW_TOKEN\x27\x20|\x20translate\x20}}:\x20<span\x20class=\x22text-italic\x20text-bold\x22>{{vm.license.machineUuid}}</span></span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22vm.license.gray\x22\x20class=\x22blink\x20md-subhead\x20md-warn-fg\x20text-center\x22>{{\x20\x27SETTINGS.EXPIRATION_GRAY_PERIOD\x27\x20|\x20translate\x20}}:\x20{{vm.license.deadline\x20|\x20date:\x20\x27longDate\x27}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22vm.license.gray\x22\x20class=\x22text-center\x20padding-bottom-10\x20text-italic\x20text-bold\x22>\x20{{\x27SETTINGS.EXPIRATION_REASON\x27\x20|\x20translate\x20}}\x20</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22vm.license.grayReason\x20==\x20\x27changed\x27\x22\x20class=\x22text-center\x20padding-bottom-10\x22>\x20{{\x27SETTINGS.EXPIRATION_REASON_MESSAGE_CHANGED\x27\x20|\x20translate\x20}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22vm.license.grayReason\x20==\x20\x27changed\x27\x22\x20class=\x22text-center\x20padding-bottom-10\x22>\x20{{\x27SETTINGS.EXPIRATION_CHANGED_ADVISE\x27\x20|\x20translate\x20}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22vm.license.grayReason\x20==\x20\x27changed\x27\x22\x20class=\x22text-center\x20padding-bottom-10\x22>{{\x20\x27SETTINGS.SEND_EMAIL_TO\x27\x20|\x20translate\x20}}:\x20<a\x20href=\x22mailto:license@xcally.com?subject=New%20token%20detected&body=Hi\x20xCALLY,\x20New\x20Token:\x20{{vm.license.machineUuid}},\x20Old\x20token:\x20{{vm.license.uuid}}\x22>license@xcally.com</a>.</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22vm.license.grayReason\x20==\x20\x27disabled\x27\x22\x20class=\x22text-center\x20padding-bottom-10\x22>{{\x20\x27SETTINGS.SEND_EMAIL_TO\x27\x20|\x20translate\x20}}:\x20<a\x20href=\x22mailto:license@xcally.com?subject=License%20disabled&body=Hi\x20xCALLY,\x20My\x20Token:\x20{{vm.license.machineUuid}}\x22>license@xcally.com</a>.</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x20md-warn-fg\x20text-center\x22>{{\x20\x27SETTINGS.TRIAL_VERSION\x27\x20|\x20translate\x20}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x20md-warn-fg\x20text-center\x22><a\x20href=\x22https://www.xcally.com/en/index.html#pricing-table2-h\x22\x20target=\x22_blank\x22>{{\x20\x27SETTINGS.PRICES\x27\x20|\x20translate}}</a></span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-subheader\x20class=\x22md-no-sticky\x22>{{\x20\x27SETTINGS.STAFF\x27\x20|\x20translate\x20}}</md-subheader>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-divider></md-divider>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-list\x20layout=\x22row\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-account\x22\x20class=\x22md-avatar-icon\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h3>{{\x20vm.license.users\x20||\x200\x20}}\x20<span\x20ng-class=\x22{\x27red-fg\x27:\x20vm.license.users\x20<=\x20vm.users\x20&&\x20vm.license.users\x20>\x200}\x22>({{vm.license.users\x20>=\x20vm.users\x20?\x20vm.users\x20:\x20vm.license.users}})</span></h3>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<p\x20translate=\x22SETTINGS.USERS\x22>Users</p>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-headphones\x22\x20class=\x22md-avatar-icon\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22md-list-item-text\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<p\x20translate=\x22SETTINGS.AGENTS\x22>Agents</p>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-list-item\x20class=\x22md-2-line\x22\x20flex=\x2233\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-phone\x22\x20class=\x22md-avatar-icon\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<p\x20translate=\x22SETTINGS.TELEPHONES\x22>Telephones</p>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-subheader\x20class=\x22md-no-sticky\x22>{{\x20\x27SETTINGS.CHANNELS\x27\x20|\x20translate\x20}}</md-subheader>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22{{channel.icon}}\x22\x20class=\x22md-avatar-icon\x22\x20ng-class=\x22vm.license[channel.name]\x20?\x20\x27green-A700-bg\x27\x20:\x20\x27red-A700-bg\x27\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h3\x20translate=\x22SETTINGS.{{channel.name\x20|\x20uppercase}}\x22></h3>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-list-item\x20flex=\x2233\x22\x20class=\x22md-2-line\x22\x20ng-repeat=\x22channel\x20in\x20vm.channels\x20|\x20limitTo:3:3\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-list-item\x20flex=\x2233\x22\x20class=\x22md-2-line\x22\x20ng-repeat=\x22channel\x20in\x20vm.channels\x20|\x20limitTo:3:6\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<p\x20ng-class=\x22vm.license[channel.name]\x20?\x20\x27green-A700-fg\x27\x20:\x20\x27red-A700-fg\x27\x22>{{\x20\x27SETTINGS.\x27\x20+\x20(vm.license[channel.name]\x20?\x20\x27ENABLED\x27\x20:\x20\x27DISABLED\x27)\x20|\x20translate\x20}}</p>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-list-item\x20class=\x22md-2-line\x22\x20ng-repeat=\x22module\x20in\x20vm.modules\x22\x20flex=\x2233\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22{{module.icon}}\x22\x20class=\x22md-avatar-icon\x22\x20ng-class=\x22vm.license[module.name]\x20?\x20\x27green-A700-bg\x27\x20:\x20\x27red-A700-bg\x27\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h3\x20translate=\x22SETTINGS.{{module.name\x20|\x20uppercase}}\x22></h3>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<p\x20ng-class=\x22vm.license[module.name]\x20?\x20\x27green-A700-fg\x27\x20:\x20\x27red-A700-fg\x27\x22>{{\x20\x27SETTINGS.\x27\x20+\x20(vm.license[module.name]\x20?\x20\x27ENABLED\x27\x20:\x20\x27DISABLED\x27)\x20|\x20translate\x20}}</p>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-repeat=\x22session\x20in\x20vm.sessions\x22\x20flex=\x2233\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-list-item\x20class=\x22md-2-line\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22{{session.icon}}\x22\x20class=\x22md-avatar-icon\x22\x20ng-class=\x22vm.license[session.enabled]\x20?\x20\x27green-A700-bg\x27\x20:\x20\x27red-A700-bg\x27\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22md-list-item-text\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22row\x22\x20layout=\x22start\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h3\x20translate=\x22SETTINGS.{{session.name\x20|\x20uppercase}}\x22></h3>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<button\x20ng-if=\x22session.restart\x22\x20ng-click=\x22vm.gotoProcess($event)\x22\x20class=\x22md-mini\x22\x20aria-label=\x22restart\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-reload\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</button>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<p\x20ng-if=\x22vm.license[session.name]\x20&&\x20vm.license[session.enabled]\x22\x20class=\x22green-A700-fg\x22>{{vm.license[session.name]}}\x20{{\x20\x27SETTINGS.\x27\x20+\x20session.label\x20|\x20uppercase\x20|\x20translate\x20}}</p>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<p\x20ng-if=\x22!vm.license[session.name]\x20&&\x20vm.license[session.enabled]\x22\x20class=\x22green-A700-fg\x22>UNLIMITED\x20{{\x20\x27SETTINGS.\x27\x20+\x20session.label\x20|\x20uppercase\x20|\x20translate\x20}}</p>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<p\x20ng-if=\x22!vm.license[session.enabled]\x22\x20class=\x22red-A700-fg\x22>{{\x20\x27SETTINGS.DISABLED\x27\x20|\x20translate\x20}}</p>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-list-item>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-subheader\x20class=\x22md-no-sticky\x22>{{\x20\x27SETTINGS.ADDONS\x27\x20|\x20translate\x20}}</md-subheader>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-list-item\x20class=\x22md-2-line\x22\x20ng-repeat=\x22addon\x20in\x20vm.addons\x20|\x20limitTo:3\x22\x20flex=\x2233\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22{{addon.icon}}\x22\x20class=\x22md-avatar-icon\x22\x20ng-class=\x22vm.license[addon.name]\x20?\x20\x27green-A700-bg\x27\x20:\x20\x27red-A700-bg\x27\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h3\x20translate=\x22SETTINGS.{{addon.name\x20|\x20uppercase}}\x22></h3>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<p\x20ng-class=\x22vm.license[addon.name]\x20?\x20\x27green-A700-fg\x27\x20:\x20\x27red-A700-fg\x27\x22>{{\x20\x27SETTINGS.\x27\x20+\x20(vm.license[addon.name]\x20?\x20\x27ENABLED\x27\x20:\x20\x27DISABLED\x27)\x20|\x20translate\x20}}</p>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-list-item\x20class=\x22md-2-line\x22\x20ng-repeat=\x22other\x20in\x20vm.others\x20|\x20limitTo:3\x22\x20flex=\x2233\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22{{other.icon}}\x22\x20class=\x22md-avatar-icon\x22\x20ng-class=\x22vm.license[other.name]\x20?\x20\x27green-A700-bg\x27\x20:\x20\x27red-A700-bg\x27\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h3\x20translate=\x22SETTINGS.{{other.name\x20|\x20uppercase}}\x22></h3>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<p\x20ng-class=\x22vm.license[other.name]\x20?\x20\x27green-A700-fg\x27\x20:\x20\x27red-A700-fg\x27\x22>{{\x20\x27SETTINGS.\x27\x20+\x20(vm.license[other.name]\x20?\x20\x27ENABLED\x27\x20:\x20\x27DISABLED\x27)\x20|\x20translate\x20}}</p>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20LICENSE\x20CARD\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20MAIN\x20-->\x0a','\x20\x20\x20\x20</div>','<md-dialog\x20class=\x22request-dialog\x22\x20aria-label=\x22Send\x20Request\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<form\x20name=\x22requestForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-toolbar\x20class=\x22md-accent\x20md-hue-2\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22title\x22\x20translate=\x22SETTINGS.REQUEST_LICENSE\x22>Request\x20License</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm.closeDialog()\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-close\x22\x20aria-label=\x22Close\x20dialog\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22error-list\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-repeat=\x22error\x20in\x20vm.errors\x22\x20class=\x22error\x22\x20layout=\x22row\x22\x20layout-align=\x22space-between\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22type\x22>({{error.type}})</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-alert-box\x22\x20aria-label=\x22alert\x20error\x22\x20class=\x22s16\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22SETTINGS.NAME\x22>Name</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22name\x22\x20ng-model=\x22vm.license.name\x22\x20required>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SETTINGS.ERRORS.NAME_REQUIRED\x22>Address\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22email\x22\x20name=\x22email\x22\x20ng-model=\x22vm.license.email\x22\x20required>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22requestForm.email.$error\x22\x20ng-show=\x22requestForm.email.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SETTINGS.ERRORS.EMAIL_REQUIRED\x22>Email\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-message=\x22email\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SETTINGS.ERRORS.EMAIL_MUST_VALID\x22>Email\x20must\x20be\x20a\x20valid\x20e-mail\x20address</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22SETTINGS.PLAN\x22>Plan</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22plan\x22\x20ng-model=\x22vm.license.months\x22\x20required>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x221\x22><span\x20translate=\x22SETTINGS.MONTH_TO_MONTH\x22>MONTH\x20TO\x20MONTH</span></md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x2212\x22><span\x20translate=\x22SETTINGS.ANNUALLY\x22>ANNUALLY</span></md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x2236\x22><span\x20translate=\x22SETTINGS.PERPETUAL\x22>PERPETUAL</span></md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22requestForm.plan.$error\x22\x20ng-show=\x22requestForm.plan.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SETTINGS.ERRORS.PLAN_REQUIRED\x22>Plan\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22row\x22\x20layout-align=\x22space-between\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22SETTINGS.USERS\x22>Users</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22requestForm.users.$error\x22\x20ng-show=\x22requestForm.users.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SETTINGS.ERRORS.USERS_REQUIRED\x22>Users\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20class=\x22md-block\x22\x20flex>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22SETTINGS.AGENTS\x22>Agents</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22requestForm.agents.$error\x22\x20ng-show=\x22requestForm.agents.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SETTINGS.ERRORS.AGENTS_REQUIRED\x22>Agents\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22telephones\x22\x20ng-model=\x22vm.license.telephones\x22\x20required>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22requestForm.telephones.$error\x22\x20ng-show=\x22requestForm.telephones.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SETTINGS.ERRORS.TELEPHONES_REQUIRED\x22>Telephones\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-subheader\x20class=\x22md-no-sticky\x22>{{\x20\x27SETTINGS.CHANNELS\x27\x20|\x20translate\x20}}</md-subheader>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20ng-model=\x22vm.license[channel.name]\x22\x20aria-label=\x22{{channel.name}}\x22\x20ng-repeat=\x22channel\x20in\x20vm.channels\x20|\x20limitTo:3:3\x22><span\x20translate=\x22SETTINGS.{{channel.name\x20|\x20uppercase}}\x22></span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-subheader\x20class=\x22md-no-sticky\x22>{{\x20\x27SETTINGS.MODULES\x27\x20|\x20translate\x20}}</md-subheader>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20ng-model=\x22vm.license[module.name]\x22\x20aria-label=\x22{{module.name}}\x22\x20ng-repeat=\x22module\x20in\x20vm.modules\x22><span\x20translate=\x22SETTINGS.{{module.name\x20|\x20uppercase}}\x22></span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20ng-repeat=\x22session\x20in\x20vm.sessions\x22\x20class=\x22md-block\x22\x20flex=\x2250\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22{{session.name}}\x22\x20ng-model=\x22vm.license[session.name]\x22\x20required>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span>0={{\x20\x27SETTINGS.UNLIMITED_CHANNELS\x27\x20|\x20translate\x20}}</span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SETTINGS.ERRORS.CHANNEL_REQUIRED\x22>Mandatory\x20field</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-subheader\x20class=\x22md-no-sticky\x22>{{\x20\x27SETTINGS.ADDONS\x27\x20|\x20translate\x20}}</md-subheader>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-subheader\x20class=\x22md-no-sticky\x22>{{\x20\x27SETTINGS.OTHERS\x27\x20|\x20translate\x20}}</md-subheader>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20ng-model=\x22vm.license[other.name]\x22\x20aria-label=\x22{{other.name}}\x22\x20ng-repeat=\x22other\x20in\x20vm.others\x22><span\x20translate=\x22SETTINGS.{{other.name\x20|\x20uppercase}}\x22></span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22SETTINGS.DESCRIPTION\x22>Description</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22message\x22>{{error.message}}</span>\x0a','<md-dialog\x20class=\x22update-dialog\x22\x20aria-label=\x22Update\x20License\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22title\x22\x20translate=\x22SETTINGS.UPDATE_LICENSE\x22>Update\x20License</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-content\x20layout=\x22row\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22SETTINGS.ENTER_LICENSE\x22>Enter\x20your\x20license</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<textarea\x20name=\x22key\x22\x20ng-model=\x22vm.licenseKey\x22\x20required></textarea>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22updateForm.name.$error\x22\x20ng-show=\x22updateForm.key.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SETTINGS.ERRORS.LICENSE_REQUIRED\x22>License\x20key\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-click=\x22vm.updateLicense()\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20ng-disabled=\x22updateForm.$invalid\x20||\x20updateForm.$pristine\x22\x20aria-label=\x22UPDATE\x22\x20translate=\x22SETTINGS.UPDATE\x22\x20translate-attr-aria-label=\x22SETTINGS.UPDATE\x22>\x0a','<md-dialog\x20class=\x22network-dialog\x22\x20aria-label=\x22New\x20Network\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22SETTINGS.TYPE\x22>Type</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22type\x22\x20ng-model=\x22vm.network.type\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27localnet\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>LocalNET</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27externip\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27turn\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27stun\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22networkForm[\x27type\x27].$error\x22\x20ng-show=\x22networkForm[\x27type\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.network.type\x20==\x20\x27localnet\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22value\x22\x20\x20ng-model=\x22vm.network.value\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-pattern=\x22/^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\x5c.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])/(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\x5c.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$/\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22networkForm[\x27value\x27].$error\x22\x20ng-show=\x22networkForm[\x27value\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SETTINGS.ERRORS.LOCALNETADDRESS_REQUIRED\x22>localNetAddress\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SETTINGS.ERRORS.LOCALNETADDRESS_MUST_VALID_PATTERN\x22\x20translate-values=\x22{\x20regex:\x20\x27/^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\x5c.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])/(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\x5c.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$/\x27\x20}\x22>localNetAddress\x20must\x20be\x20valid\x20pattern\x20</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.network.type\x20==\x20\x27externip\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22SETTINGS.ADDRESS\x22>Address</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-pattern=\x22/^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\x5c.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$/\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SETTINGS.ERRORS.ADDRESS_REQUIRED\x22>Address\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SETTINGS.ERRORS.ADDRESS_MUST_VALID_PATTERN\x22\x20translate-values=\x22{\x20regex:\x20\x27/^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\x5c.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$/\x27\x20}\x22>Address\x20must\x20be\x20valid\x20pattern\x20</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.network.type\x20==\x20\x27turn\x27\x20||\x20vm.network.type\x20==\x20\x27stun\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.network.type\x20==\x20\x27turn\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22SETTINGS.USERNAME\x22>Username</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22vm.network.type\x20==\x20\x27turn\x27\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22networkForm[\x27username\x27].$error\x22\x20ng-show=\x22networkForm[\x27username\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SETTINGS.ERRORS.USERNAME_REQUIRED\x22>Username\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22SETTINGS.PASSWORD\x22>Password</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22networkForm[\x27password\x27].$error\x22\x20ng-show=\x22networkForm[\x27password\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SETTINGS.ERRORS.PASSWORD_REQUIRED\x22>Password\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20\x20ng-if=\x22!vm.newNetwork\x22\x20ng-click=\x22vm.saveNetwork()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22networkForm.$invalid\x20||\x20networkForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20\x20ng-if=\x22vm.newNetwork\x22\x20ng-click=\x22vm.addNewNetwork()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22networkForm.$invalid\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22SETTINGS.ADD_NETWORK\x22\x20translate-attr-aria-label=\x22SETTINGS.ADD_NETWORK\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20\x20ng-click=\x22vm.deleteNetwork($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x0a','<div\x20id=\x22networks\x22\x20class=\x22page-layout\x20simple\x20left-sidenav\x20inner-sidenav\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22logo-text\x22\x20translate=\x22SETTINGS.NETWORKS\x22>Networks</span>\x0a','\x20\x20\x20\x20<div\x20ng-show=\x22vm.selectedNetworks.length\x20>\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22close-button-wrapper\x22\x20ng-click=\x22vm.selectedNetworks\x20=[]\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22selected-networks-count\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.selectAllNetworks()\x22\x20translate=\x22SETTINGS.SELECT_ALL\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deselectNetworks()\x22\x20translate=\x22SETTINGS.SELECT_NONE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-icon-button\x22\x20ng-csv=\x22vm.exportSelectedNetworks\x22\x20csv-label=\x22true\x22\x20filename=\x22networks.csv\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20\x20ng-click=\x22vm.deleteSelectedNetworks($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20NETWORK\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<table\x20md-table\x20\x20md-row-select\x20multiple\x20\x20\x20ng-model=\x22vm.selectedNetworks\x22\x20md-progress=\x22vm.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm.query.sort\x22\x20md-on-reorder=\x22vm.getNetworks\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22type\x22>{{\x20\x27SETTINGS.TYPE\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22value\x22>{{\x20\x27SETTINGS.ADDRESS\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm.networks.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22network.userpic\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{network.name}}\x22\x20ng-src=\x22api/users/{{network.id}}/avatar\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22!network.userpic\x20&&\x20(vm.table\x20==\x20\x27users\x27\x20||\x20vm.table\x20==\x20\x27agents\x27)\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{network.name}}\x22\x20ng-src=\x22assets/images/avatars/profile.png\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22id\x20\x22\x20>{{network.id}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.createOrEditNetwork($event,\x20network)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22type\x20\x22>{{\x20vm.arraytype[network.type].option\x20}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.createOrEditNetwork($event,\x20network)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22value\x20\x22\x20>{{network.value}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.createOrEditNetwork($event,\x20network)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.editdialog(network,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Network\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deleteconfirm(network,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22SETTINGS.DELETE_NETWORK\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Network\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27SETTINGS.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27SETTINGS.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27SETTINGS.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm.query.page\x22\x20md-total=\x22{{vm.networks.count}}\x22\x20md-on-paginate=\x22vm.getNetworks\x22\x20md-page-select></md-table-pagination>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20NETWORK\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20ADD\x20NETWORK\x20BUTTON\x20-->\x0a','\x20\x20\x20\x20<md-button\x20\x20class=\x22md-fab\x20md-accent\x22\x20id=\x22add-network-button\x22\x20ng-click=\x22vm.createOrEditNetwork($event)\x22\x0a','\x20\x20\x20\x20<!--\x20/\x20ADD\x20NETWORK\x20BUTTON\x20-->\x0a','app/main/apps/settings/views/smtps/create/dialog.html','<md-dialog\x20class=\x22smtp-dialog\x22\x20aria-label=\x22New\x20Smtp\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22smtpForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22SETTINGS.ACCOUNTNAME\x22>AccountName</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22name\x22\x20\x20ng-model=\x22vm.smtp.name\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SETTINGS.ERRORS.ACCOUNTNAME_REQUIRED\x22>AccountName\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22SETTINGS.EMAILADDRESS\x22>EmailAddress</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22email\x22\x20name=\x22email\x22\x20\x20ng-model=\x22vm.smtp.email\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22SETTINGS.HELP.EMAILADDRESS\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22smtpForm[\x27email\x27].$error\x22\x20ng-show=\x22smtpForm[\x27email\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SETTINGS.ERRORS.EMAILADDRESS_REQUIRED\x22>EmailAddress\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22SETTINGS.SMTP_SERVICE\x22>SMTP_Service</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SETTINGS.ERRORS.SMTP_SERVICE_REQUIRED\x22>SMTP_Service\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.smtp.Smtp.service\x20==\x20null\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22SETTINGS.SMTP_HOST\x22>SMTP_Host</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22Smtp.host\x22\x20\x20ng-model=\x22vm.smtp.Smtp.host\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SETTINGS.ERRORS.SMTP_HOST_REQUIRED\x22>SMTP_Host\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.smtp.Smtp.service\x20==\x20null\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22SETTINGS.SMTP_PORT\x22>SMTP_Port</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22Smtp.port\x22\x20\x20ng-model=\x22vm.smtp.Smtp.port\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SETTINGS.ERRORS.SMTP_PORT_REQUIRED\x22>SMTP_Port\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.smtp.Smtp.secure\x22\x20aria-label=\x22SMTP_Secure\x22\x20><span\x20translate=\x22SETTINGS.SMTP_SECURE\x22>SMTP_Secure</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22SETTINGS.HELP.SMTP_SECURE\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.smtp.Smtp.authentication\x22\x20aria-label=\x22SMTP_Authentication\x22\x20><span\x20translate=\x22SETTINGS.SMTP_AUTHENTICATION\x22>SMTP_Authentication</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.smtp.Smtp.authentication\x20==\x20true\x20||\x20vm.smtp.Smtp.service\x20!=\x20null\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22Smtp.user\x22\x20\x20ng-model=\x22vm.smtp.Smtp.user\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22SETTINGS.HELP.SMTP_USERNAME\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SETTINGS.ERRORS.SMTP_USERNAME_REQUIRED\x22>SMTP_Username\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20class=\x22md-block\x22\x20\x20ng-if=\x22vm.smtp.Smtp.authentication\x20==\x20true\x20||\x20vm.smtp.Smtp.service\x20!=\x20null\x22\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22SETTINGS.SMTP_PASSWORD\x22>SMTP_Password</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22password\x22\x20name=\x22Smtp.pass\x22\x20ng-model=\x22vm.smtp.Smtp.pass\x22\x20placeholder=\x22Password\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-placeholder=\x22SETTINGS.PASSWORD\x22\x20\x20required\x20\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SETTINGS.ERRORS.SECURE_PASSWORD_PATTERN\x22>Must\x20contain\x20at\x20least\x208\x20characters,\x20with\x20a\x20minimum\x20of\x201\x20lowercase\x20letter,\x201\x20uppercase\x20letter,\x201\x20numeric\x20character\x20and\x201\x20special\x20character\x20~!?*@#$%^&-_=+[{]}.</span>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SETTINGS.ERRORS.DESCRIPTION_REQUIRED\x22>Description\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20!vm.newSmtp\x22\x20ng-click=\x22vm.saveSmtp()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22smtpForm.$invalid\x20||\x20smtpForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.newSmtp\x22\x20ng-click=\x22vm.addNewSmtp()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22SETTINGS.ADD_SMTP\x22\x20translate-attr-aria-label=\x22SETTINGS.ADD_SMTP\x22>\x0a','<div\x20id=\x22smtps\x22\x20class=\x22page-layout\x20simple\x20left-sidenav\x20inner-sidenav\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22logo-text\x22\x20translate=\x22SETTINGS.SMTP\x22>Smtp</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20VERIFY\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.saveSmtp()\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22SETTINGS.GENERAL\x22>GENERAL</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SETTINGS.ERRORS.EMAILADDRESS_MUST_VALID\x22>EmailAddress\x20must\x20be\x20a\x20valid\x20e-mail\x20address</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22Smtp.service\x22\x20ng-model=\x22vm.smtp.Smtp.service\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27Smtp.service\x27].$error\x22\x20ng-show=\x22generalForm[\x27Smtp.service\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27Smtp.host\x27].$error\x22\x20ng-show=\x22generalForm[\x27Smtp.host\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27Smtp.port\x27].$error\x22\x20ng-show=\x22generalForm[\x27Smtp.port\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27Smtp.user\x27].$error\x22\x20ng-show=\x22generalForm[\x27Smtp.user\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22SETTINGS.HELP.SMTP_PASSWORD\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27Smtp.pass\x27].$error\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22SETTINGS.DESCRIPTION\x22>Description</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22\x22\x20name=\x22description\x22\x20\x20ng-model=\x22vm.smtp.description\x22\x20\x0a','<div\x20id=\x22system\x22\x20class=\x22page-layout\x20simple\x20tabbed\x22\x20layout=\x22column\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-cog\x22\x20class=\x22s24\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22logo-text\x22\x20translate=\x22SETTINGS.SYSTEM\x22>SYSTEM</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-tabs\x20md-selected=\x22vm.selectedTab\x22\x20md-stretch-tabs=\x22always\x22\x20md-border-bottom\x20flex\x20layout-fill\x20md-dynamic-height>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SETTINGS.GENERAL\x22>GENERAL</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22system-detail-form-container\x20personal_info\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-card\x20class=\x22md-whiteframe-1dp\x20padding-20\x22\x20layout=\x22row\x22\x20layout-xs=\x22column\x22\x20layout-wrap>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<ms-widget\x20flex=\x2250\x22\x20flex-xs=\x22100\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<ms-widget-front\x20class=\x22white-bg\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22ph-16\x20pt-16\x20pb-8\x20md-accent-bg\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h3\x22>OS</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20flex=\x22100\x22\x20flex-gt-md=\x22100\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22p-16\x20pb-32\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h4\x22>{{vm.system.system.manufacturer}}\x20{{vm.system.system.model}}</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h4\x22>{{vm.system.cpu.manufacturer}}\x20{{vm.system.cpu.brand}}\x20-\x20{{vm.system.cpu.speed}}\x20GHz\x20-\x20{{vm.system.cpu.cores}}\x20Cores</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h4\x22>{{vm.system.os.distro}}\x20-\x20{{vm.system.os.release}}\x20-\x20Kernel:\x20{{vm.system.os.kernel}}</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h4\x22>Node.js:\x20{{vm.system.node}}</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h4\x22>TimeZone:\x20{{vm.system.time.timezone}}\x20({{vm.system.time.timezoneName}})</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</ms-widget-front>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20Front\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</ms-widget>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<ms-widget\x20flex=\x2225\x22\x20flex-xs=\x22100\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20Front\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22ph-16\x20pt-16\x20pb-8\x20md-accent-bg\x20md-hue-1\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h3\x22>CPU</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22\x20layout-wrap>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22h3\x22\x20translate=\x22SETTINGS.AVG_LOAD\x22>AVG\x20Load</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22h3\x20secondary-text\x20font-weight-500\x22>{{vm.system.currentLoad.avgload\x20*\x20100\x20|\x20number:0}}%</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22ph-16\x20pt-16\x20pb-8\x20md-accent-bg\x20md-hue-3\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h3\x22>MEM</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h4\x22>{{\x27SETTINGS.FREE\x27\x20|\x20translate}}:\x20{{vm.system.mem.available\x20/\x201024\x20/\x201024\x20/\x201024\x20|\x20number:0}}\x20GB</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h4\x22>{{\x27SETTINGS.USED\x27\x20|\x20translate}}:\x20{{vm.system.mem.active\x20/\x201024\x20/\x201024\x20/\x201024\x20|\x20number:0}}\x20GB</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22h3\x22\x20translate=\x22SETTINGS.USED\x22>Used</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22h3\x20secondary-text\x20font-weight-500\x22>{{(vm.system.mem.active\x20/\x20vm.system.mem.total)\x20*\x20100\x20|\x20number\x20:\x200}}%</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-progress-linear\x20class=\x22md-warn\x22\x20md-mode=\x22determinate\x22\x20value=\x22{{(vm.system.mem.active\x20/\x20vm.system.mem.total)\x20*\x20100\x20|\x20number\x20:\x200\x20}}\x22></md-progress-linear>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<ms-widget\x20ng-repeat=\x22disk\x20in\x20vm.system.fsSize\x22\x20flex=\x2225\x22\x20flex-xs=\x22100\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h3\x22>DISK\x20{{$index\x20+\x201}}</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h4\x22>{{\x27SETTINGS.FILE_SYSTEM\x27\x20|\x20translate}}:\x20{{disk.fs}}</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h4\x22>{{\x27SETTINGS.TOTAL\x27\x20|\x20translate}}:\x20{{disk.size\x20/\x201024\x20/\x201024\x20/\x201024\x20|\x20number:0}}\x20GB</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h4\x22>{{\x27SETTINGS.USED\x27\x20|\x20translate}}:\x20{{disk.used\x20/\x201024\x20/\x201024\x20/\x201024\x20|\x20number:0}}\x20GB</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<ms-widget\x20ng-repeat=\x22net\x20in\x20vm.system.net\x22\x20flex=\x2225\x22\x20flex-xs=\x22100\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h3\x22>NET\x20{{$index\x20+\x201}}</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h4\x22>IPv4:\x20{{net.ip4}}</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h4\x22>IPv6:\x20{{net.ip6}}</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h4\x22>MAC:\x20{{net.mac}}</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-card\x20class=\x22md-whiteframe-1dp\x20padding-20\x22\x20layout=\x22row\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20flex>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-default\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22md-toolbar-tools\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22\x20translate=\x22SETTINGS.TOP_N_PROCESSES\x22\x20translate-values=\x22{value:\x20vm.processLimit}\x22></span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-toolbar>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-table-container>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<table\x20md-table>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>pid</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x27SETTINGS.NAME\x27\x20|\x20translate}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x27SETTINGS.STATE\x27\x20|\x20translate}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>pmem</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>pcpu</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</tr>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</thead>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tbody\x20md-body>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-repeat=\x22process\x20in\x20vm.system.processes.list\x20|\x20limitTo:\x20vm.processLimit\x20|\x20filter:\x20vm.searchTerm1\x20|\x20orderBy:\x27-pcpu\x27\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell>{{process.pid}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell>{{process.command}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22text-boxed\x20white-fg\x22\x20ng-class=\x22{\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x27green-600-bg\x27:\x20process.state\x20==\x20\x27running\x27,\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x27yellow-600-bg\x27:\x20process.state\x20==\x20\x27sleeping\x27,\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x27red-600-bg\x27:\x20process.state\x20==\x20\x27blocked\x27}\x22>{{process.state\x20|\x20uppercase}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell>{{process.pmem}}%</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell>{{process.pcpu}}%</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</tbody>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</table>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-table-container>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SETTINGS.PROCESSES\x22>PROCESSES</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22system-detail-form-container\x20general\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-card\x20class=\x22md-whiteframe-1dp\x20padding-20\x22\x20flex>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22\x20translate=\x22SETTINGS.MOTION_PROCESS_MANAGEMENT\x22></span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<ms-search-bar\x20on-search=\x22vm.searchTerm2\x20=\x20query\x22\x20on-collapse=\x22vm.searchTerm2\x20=\x20undefined\x22\x20debounce=\x22300\x22></ms-search-bar>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.getProcesses()\x22\x20class=\x22md-icon-button\x22\x20aria-label=\x22Reload\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-reload\x22\x20class=\x22s24\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>id</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>pid</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x27SETTINGS.STATE\x27\x20|\x20translate}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>MEM</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20width=\x2220px\x22>Actions</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-repeat=\x22process\x20in\x20vm.processes\x20|\x20filter:\x20vm.searchTerm2\x20|\x20orderBy:\x27-monit.cpu\x27\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell>{{process.pm_id}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell>{{process.pid}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell>{{process.name\x20==\x20\x27agi\x27\x20?\x20\x27agi\x20(Cally\x20Square\x20IVR)\x27\x20:\x20process.name}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22text-boxed\x20white-fg\x22\x20ng-class=\x22{\x27green-600-bg\x27:\x20process.pm2_env.status\x20==\x20\x27online\x27,\x20\x27red-600-bg\x27:\x20process.pm2_env.status\x20==\x20\x27stopped\x27}\x22>{{process.pm2_env.status\x20|\x20uppercase}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell>{{process.monit.memory\x20/\x201024\x20/\x201024\x20|\x20number:0}}\x20MB</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell>{{process.monit.cpu}}%</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22process.pm2_env.status\x20!==\x20\x27online\x27\x22\x20ng-click=\x22vm.updateProcess($event,\x20process.pm_id,\x20\x27online\x27)\x22\x20class=\x22md-icon-button\x22\x20aria-label=\x22Play\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-play\x22\x20class=\x22s24\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22process.pm2_env.status\x20===\x20\x27online\x27\x22\x20ng-click=\x22vm.updateProcess($event,\x20process.pm_id,\x20\x27stopped\x27)\x22\x20class=\x22md-icon-button\x22\x20aria-label=\x22Stop\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-stop\x22\x20class=\x22s24\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tfoot\x20md-foot>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</tfoot>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x27SETTINGS.DESCRIPTION\x27\x20|\x20translate}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20class=\x22no-border\x22>pm2\x20list</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20class=\x22no-border\x22>{{\x20\x27SETTINGS.PM2_LIST\x27\x20|\x20translate}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20class=\x22no-border\x22>pm2\x20start\x20<id\x20|\x20name></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20class=\x22no-border\x22>{{\x20\x27SETTINGS.PM2_START\x27\x20|\x20translate}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20class=\x22no-border\x22>pm2\x20stop\x20<id\x20|\x20name\x20|\x20all></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20class=\x22no-border\x22>pm2\x20restart\x20<id\x20|\x20name></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20class=\x22no-border\x22>{{\x20\x27SETTINGS.PM2_RESTART\x27\x20|\x20translate}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20class=\x22no-border\x22>pm2\x20logs\x20[id\x20|\x20name]</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20class=\x22no-border\x22>{{\x20\x27SETTINGS.PM2_LOGS\x27\x20|\x20translate}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20</md-tabs>\x0a','<md-dialog\x20aria-label=\x22Update\x22>\x0a','\x20\x20<form\x20name=\x22updateForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22title\x22>{{\x20vm.title\x20|\x20translate\x20}}</span>\x0a','\x20\x20\x20\x20<div\x20md-background-bg\x20layout=\x22row\x22\x20layout-align=\x22start\x20start\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-progress-linear\x20md-mode=\x22determinate\x22\x20value=\x22{{vm.progress}}\x22\x20class=\x22md-warn\x22></md-progress-linear>\x0a','\x20\x20\x20\x20\x20\x20<div\x20layout=\x22row\x22\x20layout-align=\x22center\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22vm.updating\x22\x20layout=\x22column\x22\x20layout-align=\x22center\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22text-center\x20md-title\x22>Grab\x20a\x20quick\x20coffee\x20and</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22text-center\x20md-title\x22>get\x20back\x20here\x20as\x20soon\x20as\x20completed!</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22text-center\x20md-title\x22>{{vm.output}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22vm.success\x22\x20layout=\x22column\x22\x20layout-align=\x22center\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22text-center\x20md-title\x22>Update\x20Completed!\x20Thank\x20you\x20for\x20your\x20time.</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22text-center\x20md-title\x22>please\x20click\x20on\x20reload\x20button</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22!vm.success\x22\x20layout=\x22column\x22\x20layout-align=\x22center\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22text-center\x20md-title\x22>Update\x20Error!</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22text-center\x20md-title\x22>Please\x20contact\x20your\x20administrator!</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22text-center\x20md-title\x22>{{vm.output}}</span>\x0a','\x20\x20\x20\x20<md-dialog-actions\x20ng-if=\x22!vm.updating\x22\x20layout=\x22row\x22\x20layout-align=\x22space-between\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-click=\x22vm.reload()\x22\x20class=\x22send-button\x20md-warm\x20md-raised\x22\x20aria-label=\x22RELOAD\x22\x20translate=\x22SETTINGS.RELOAD\x22\x20translate-attr-aria-label=\x22SETTINGS.RELOAD\x22>\x0a','<div\x20id=\x22updates\x22\x20class=\x22page-layout\x20simple\x20fullwidth\x20doc-page\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20UPDATE\x20CARD\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22row\x22\x20ng-if=\x22!vm.updating\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-card\x20class=\x22md-whiteframe-1dp\x20padding-20\x22\x20flex>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-title\x20md-accent-fg\x20padding-20\x20text-bold\x22\x20translate=\x22SETTINGS.CURRENT_VERSION\x22>CURRENT\x20VERSION</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20href=\x22https://wiki.xcallymotion.com/display/XMV/Motion+GUI#MotionGUI-Version{{vm.version.current}}\x22\x20target=\x22_blank\x22\x20class=\x22md-accent\x22\x20title=\x22CHANGELOG\x22\x20aria-label=\x22CHANGELOG\x22\x20translate=\x22SETTINGS.CHANGELOG\x22\x20translate-attr-aria-label=\x22SETTINGS.CHANGELOG\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CHANGELOG\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-card\x20class=\x22md-whiteframe-20dp\x20padding-20\x22\x20flex\x20ng-if=\x22vm.version.current\x20!=\x20vm.version.latest\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-title\x20md-warn-fg\x20padding-20\x20text-bold\x22\x20translate=\x22SETTINGS.NEW_VERSION\x22>NEW\x20VERSION</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-display-3\x20padding-20\x22>{{vm.version.latest}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20href=\x22https://wiki.xcallymotion.com/display/XMV/Motion+GUI#MotionGUI-Version{{vm.version.latest}}\x22\x20target=\x22_blank\x22\x20class=\x22md-accent\x22\x20title=\x22CHANGELOG\x22\x20aria-label=\x22CHANGELOG\x22\x20translate=\x22SETTINGS.CHANGELOG\x22\x20translate-attr-aria-label=\x22SETTINGS.CHANGELOG\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-title\x20md-warn-fg\x20padding-20\x20text-bold\x22\x20translate=\x22SETTINGS.REMOTE_VERSION\x22>REMOTE\x20VERSION</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x20padding-20\x22\x20translate=\x22SETTINGS.NO_NEW_VERSION_AVAILABLE\x22>NO\x20NEW\x20VERSION\x20AVAILABLE</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20UPDATE\x20CARD\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-if=\x22vm.updating\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-title\x20md-accent-fg\x20padding-20\x20text-bold\x22\x20translate=\x22SETTINGS.UPDATING\x22>...</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-progress-linear\x20md-mode=\x22determinate\x22\x20class=\x22md-accent\x20padding-20\x22\x20value=\x22{{vm.progress}}\x22></md-progress-linear>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-display-1\x20padding-5\x20text-center\x22>Grab\x20a\x20quick\x20coffee\x20and</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<img\x20src=\x22assets/images/business/users.jpg\x22\x20alt=\x22\x22\x20width=\x2240%\x22\x20height=\x2240%\x22\x20/>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22\x20translate=\x22SMS.AGENTS\x22>Agents</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27\x27\x22>{{\x20\x27SMS.ALL\x27\x20|\x20translate\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20value=\x22pause\x22>{{\x20\x27SMS.PAUSE\x27\x20|\x20translate\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20value=\x22*pause\x22>{{\x20\x27SMS.PARTIALPAUSE\x27\x20|\x20translate\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20value=\x22idle\x22>{{\x20\x27SMS.IDLE\x27\x20|\x20translate\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20class=\x22bv\x20text-center\x22\x20colspan=\x225\x22>{{\x20\x27SMS.AGENT\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.NAME\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.LOGIN_TIME\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.TOOLTIP_SCREENRECORDING_ON\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22SMS.START_SCREENRECORDING\x22>Start\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22SMS.STOP_SCREENRECORDING\x22>Stop\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22SMS.PAUSE\x22>Pause</md-button>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22SMS.UNPAUSE\x22>\x0a','\x20\x20\x20\x20md-label=\x22{page:\x20\x27{{\x27SMS.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27SMS.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27SMS.OF\x27\x20|\x20translate}}\x27}\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22\x20translate=\x22SMS.QUEUES\x22>Queues</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22name\x22>{{\x20\x27SMS.NAME\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x20\x27SMS.LOGGED_IN\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x20\x27SMS.READY\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x20\x27SMS.WAITING\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SMS.NO_AVAILABLE_INFO\x22>No\x20Available\x20Info</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20aria-label=\x22More\x22\x20translate\x20translate-attr-aria-label=\x22SMS.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a','<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27SMS.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27SMS.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27SMS.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm.query.page\x22\x20md-total=\x22{{vm.count}}\x22\x20md-on-paginate=\x22vm.getQueues\x22\x20md-page-select></md-table-pagination>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SMS.AGENTS\x22>Agents</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SMS.QUEUES\x22>Queues</span>\x0a','<md-dialog\x20class=\x22smsAccount-dialog\x22\x20aria-label=\x22New\x20SmsAccount\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22SMS.NAME\x22>Name</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22name\x22\x20\x20ng-model=\x22vm.smsAccount.name\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.newSmsAccount\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SMS.ERRORS.NAME_REQUIRED\x22>Name\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22key\x22\x20\x20ng-model=\x22vm.smsAccount.key\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22smsAccountForm[\x27key\x27].$error\x22\x20ng-show=\x22smsAccountForm[\x27key\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SMS.ERRORS.KEY_REQUIRED\x22>key\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SMS.ERRORS.KEY_MAX_LENGTH\x22\x20translate-values=\x27{max:\x205}\x27>key\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x205</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22url\x22\x20name=\x22remote\x22\x20\x20ng-model=\x22vm.smsAccount.remote\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22SMS.HELP.MOTIONPROXY\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22smsAccountForm[\x27remote\x27].$error\x22\x20ng-show=\x22smsAccountForm[\x27remote\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SMS.ERRORS.MOTIONPROXY_REQUIRED\x22>MotionProxy\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SMS.ERRORS.MOTIONPROXY_MUST_VALID_URL\x22>MotionProxy\x20must\x20be\x20a\x20valid\x20url\x20http://www.xcally.com</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SMS.ERRORS.MOTIONPROXY_MAX_LENGTH\x22\x20translate-values=\x27{max:\x20255}\x27>MotionProxy\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22ListId\x22\x20ng-model=\x22vm.smsAccount.ListId\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22SMS.HELP.LIST\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22smsAccountForm[\x27ListId\x27].$error\x22\x20ng-show=\x22smsAccountForm[\x27ListId\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SMS.ERRORS.LIST_REQUIRED\x22>List\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22SMS.TYPE\x22>Type</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22type\x22\x20ng-model=\x22vm.smsAccount.type\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Twilio</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Skebby</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27connectel\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Connectel</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27clicksend\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Plivo</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27infobip\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Infobip</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27clickatell\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Clickatell</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27csc\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>CSCTelecom</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Intelepeer</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22smsAccountForm[\x27type\x27].$error\x22\x20ng-show=\x22smsAccountForm[\x27type\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SMS.ERRORS.TYPE_REQUIRED\x22>Type\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22SMS.PHONE\x22>Phone</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22phone\x22\x20\x20ng-model=\x22vm.smsAccount.phone\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22smsAccountForm[\x27phone\x27].$error\x22\x20ng-show=\x22smsAccountForm[\x27phone\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.smsAccount.type\x20==\x20\x27twilio\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22SMS.ACCOUNTSID\x22>AccountSID</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22accountSid\x22\x20\x20ng-model=\x22vm.smsAccount.accountSid\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22authId\x22\x20\x20ng-model=\x22vm.smsAccount.authId\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22smsAccountForm[\x27authId\x27].$error\x22\x20ng-show=\x22smsAccountForm[\x27authId\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SMS.ERRORS.AUTHID_REQUIRED\x22>AuthID\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.smsAccount.type\x20==\x20\x27twilio\x27\x20||\x20vm.smsAccount.type\x20==\x20\x27connectel\x27\x20||\x20vm.smsAccount.type\x20==\x20\x27plivo\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22SMS.AUTHTOKEN\x22>AuthToken</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22authToken\x22\x20\x20ng-model=\x22vm.smsAccount.authToken\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22smsAccountForm[\x27authToken\x27].$error\x22\x20ng-show=\x22smsAccountForm[\x27authToken\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SMS.ERRORS.AUTHTOKEN_REQUIRED\x22>AuthToken\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.smsAccount.type\x20==\x20\x27skebby\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22SMS.METHOD\x22>Method</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Basic</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Classic</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27GP\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Classic+</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SMS.ERRORS.METHOD_REQUIRED\x22>Method\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.smsAccount.type\x20==\x20\x27skebby\x27\x20||\x20vm.smsAccount.type\x20==\x20\x27clicksend\x27\x20||\x20vm.smsAccount.type\x20==\x20\x27csc\x27\x20||\x20vm.smsAccount.type\x20==\x20\x27infobip\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22SMS.USERNAME\x22>Username</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22username\x22\x20\x20ng-model=\x22vm.smsAccount.username\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SMS.ERRORS.USERNAME_REQUIRED\x22>Username\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20class=\x22md-block\x22\x20\x20ng-if=\x22vm.smsAccount.type\x20==\x20\x27skebby\x27\x20||\x20vm.smsAccount.type\x20==\x20\x27clicksend\x27\x20||\x20vm.smsAccount.type\x20==\x20\x27infobip\x27\x22\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22SMS.PASSWORD\x22>Password</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-placeholder=\x22SMS.PASSWORD\x22\x20\x20required\x20\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22smsAccountForm[\x27password\x27].$error\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SMS.ERRORS.PASSWORD_REQUIRED\x22>Password\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SMS.ERRORS.SECURE_PASSWORD_PATTERN\x22>Must\x20contain\x20at\x20least\x208\x20characters,\x20with\x20a\x20minimum\x20of\x201\x20lowercase\x20letter,\x201\x20uppercase\x20letter,\x201\x20numeric\x20character\x20and\x201\x20special\x20character\x20~!?*@#$%^&-_=+[{]}.</span>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.smsAccount.type\x20==\x20\x27infobip\x27\x20||\x20vm.smsAccount.type\x20==\x20\x27csc\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22SMS.BASEURL\x22>BaseURL</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22baseUrl\x22\x20\x20ng-model=\x22vm.smsAccount.baseUrl\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22smsAccountForm[\x27baseUrl\x27].$error\x22\x20ng-show=\x22smsAccountForm[\x27baseUrl\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SMS.ERRORS.BASEURL_REQUIRED\x22>BaseURL\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22apiKey\x22\x20\x20ng-model=\x22vm.smsAccount.apiKey\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22smsAccountForm[\x27apiKey\x27].$error\x22\x20ng-show=\x22smsAccountForm[\x27apiKey\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22SMS.DESCRIPTION\x22>Description</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22description\x22\x20\x20ng-model=\x22vm.smsAccount.description\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22smsAccountForm[\x27description\x27].$error\x22\x20ng-show=\x22smsAccountForm[\x27description\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SMS.ERRORS.DESCRIPTION_REQUIRED\x22>Description\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20!vm.newSmsAccount\x22\x20ng-click=\x22vm.saveSmsAccount()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22smsAccountForm.$invalid\x20||\x20smsAccountForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22SMS.SAVE\x22\x20translate-attr-aria-label=\x22SMS.SAVE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22smsAccountForm.$invalid\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22SMS.ADD_SMSACCOUNT\x22\x20translate-attr-aria-label=\x22SMS.ADD_SMSACCOUNT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20SMSACCOUNT\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip><span\x20translate=\x22SMS.DELETE\x22>DELETE</span></md-tooltip>\x0a','<md-dialog\x20class=\x22smsAccount-dialog\x22\x20aria-label=\x22smsAccount\x22\x20ng-init=\x22vm.onInit()\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22smsAccountForm\x22\x20ng-cloak>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h2\x20translate=\x22SMS.AGENTADD_SMSACCOUNT\x22>Add\x20Agent\x20to\x20smsAccount</h2>\x0a','app/main/apps/sms/views/smsAccounts/edit/apps/agent/dialog.html','\x20\x20\x20\x20<form\x20name=\x22smsAccountFormApp\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22SMS.AGENT\x22>Agent</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22smsAccountFormApp[\x27agent\x27].$error\x22\x20ng-show=\x22smsAccountFormApp[\x27agent\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SMS.ERRORS.AGENT_REQUIRED\x22>Agent\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22SMS.TIMEOUT\x22>Timeout</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SMS.ERRORS.TIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>0</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SMS.ERRORS.TIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO\x22>Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>2147483</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-click=\x22vm.saveSmsAccountApp()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22smsAccountFormApp.$invalid\x20||\x20smsAccountFormApp.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22SMS.ACCESSKEYID\x22>accesskeyid</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22smsAccountFormApp[\x27accesskeyid\x27].$error\x22\x20ng-show=\x22smsAccountFormApp[\x27accesskeyid\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SMS.ERRORS.ACCESSKEYID_REQUIRED\x22>accesskeyid\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22smsAccountFormApp[\x27secretaccesskey\x27].$error\x22\x20ng-show=\x22smsAccountFormApp[\x27secretaccesskey\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SMS.ERRORS.SECRETACCESSKEY_REQUIRED\x22>secretaccesskey\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22SMS.LEXREGION\x22>lexregion</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22SMS.BOTNAME\x22>botname</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SMS.ERRORS.BOTNAME_REQUIRED\x22>botname\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22SMS.WELCOMEMESSAGE\x22>welcomemessage</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22SMS.HELP.WELCOMEMESSAGE\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22smsAccountFormApp[\x27welcomemessage\x27].$error\x22\x20ng-show=\x22smsAccountFormApp[\x27welcomemessage\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SMS.ERRORS.WELCOMEMESSAGE_REQUIRED\x22>welcomemessage\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SMS.ERRORS.WELCOMEMESSAGE_MAX_LENGTH\x22\x20translate-values=\x27{max:\x20255}\x27>welcomemessage\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255</span>\x0a','app/main/apps/sms/views/smsAccounts/edit/apps/autoreply/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22SMS.TIMES\x22>times</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22smsAccountFormApp[\x27times\x27].$error\x22\x20ng-show=\x22smsAccountFormApp[\x27times\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SMS.ERRORS.TIMES_REQUIRED\x22>times\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22SMS.TEXT\x22>Text</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22smsAccountFormApp[\x27text\x27].$error\x22\x20ng-show=\x22smsAccountFormApp[\x27text\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SMS.ERRORS.TEXT_REQUIRED\x22>Text\x20field\x20is\x20required</span>\x0a','app/main/apps/sms/views/smsAccounts/edit/apps/close/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22SMS.DISPOSITION\x22>Disposition</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22smsAccountFormApp[\x27disposition\x27].$error\x22\x20ng-show=\x22smsAccountFormApp[\x27disposition\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SMS.ERRORS.DISPOSITION_REQUIRED\x22>Disposition\x20field\x20is\x20required</span>\x0a','app/main/apps/sms/views/smsAccounts/edit/apps/dialogflow/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22SMS.KEY\x22>Key</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22smsAccountFormApp[\x27key\x27].$error\x22\x20ng-show=\x22smsAccountFormApp[\x27key\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SMS.ERRORS.KEY_REQUIRED\x22>Key\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22SMS.LANGUAGE\x22>language</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Indonesian</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Ukrainian</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22smsAccountFormApp[\x27language\x27].$error\x22\x20ng-show=\x22smsAccountFormApp[\x27language\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SMS.ERRORS.LANGUAGE_REQUIRED\x22>language\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<textarea\x20name=\x22welcomemessage\x22\x20ng-model=\x22vm.dialogflow.welcomemessage\x22\x20\x20md-maxlength=\x22255\x22\x20\x20></textarea>\x0a','app/main/apps/sms/views/smsAccounts/edit/apps/gotoif/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22SMS.CONDITION\x22>Condition</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22SMS.TRUEPRIORITY\x22>truepriority</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22smsAccountFormApp[\x27truepriority\x27].$error\x22\x20ng-show=\x22smsAccountFormApp[\x27truepriority\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SMS.ERRORS.TRUEPRIORITY_REQUIRED\x22>truepriority\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SMS.ERRORS.TRUEPRIORITY_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>truepriority\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>1</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22SMS.FALSEPRIORITY\x22>falsepriority</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SMS.ERRORS.FALSEPRIORITY_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>falsepriority\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>1</span>\x0a','app/main/apps/sms/views/smsAccounts/edit/apps/gotop/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SMS.ERRORS.PRIORITY_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>Priority\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>0</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22SMS.VALUE\x22>Value</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SMS.ERRORS.VALUE_REQUIRED\x22>Value\x20field\x20is\x20required</span>\x0a','app/main/apps/sms/views/smsAccounts/edit/apps/queue/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22SMS.QUEUE\x22>Queue</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22smsAccountFormApp[\x27queue\x27].$error\x22\x20ng-show=\x22smsAccountFormApp[\x27queue\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SMS.ERRORS.TIMEOUT_REQUIRED\x22>Timeout\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22SMS.COMMAND\x22>Command</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22SMS.VARIABLE\x22>Variable</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22smsAccountFormApp[\x27variable\x27].$error\x22\x20ng-show=\x22smsAccountFormApp[\x27variable\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SMS.ERRORS.VARIABLE_REQUIRED\x22>Variable\x20field\x20is\x20required</span>\x0a','app/main/apps/sms/views/smsAccounts/edit/apps/tag/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22smsAccountFormApp[\x27tag\x27].$error\x22\x20ng-show=\x22smsAccountFormApp[\x27tag\x27].$touched\x22\x20role=\x22alert\x22>\x0a','app/main/apps/sms/views/smsAccounts/edit/smsCannedAnswers/dialog.html','<md-dialog\x20class=\x22smsCannedAnswer-dialog\x22\x20aria-label=\x22New\x20SmsCannedAnswer\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22\x22\x20name=\x22key\x22\x20\x20ng-model=\x22vm.smsCannedAnswer.key\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22smsCannedAnswerForm[\x27key\x27].$error\x22\x20ng-show=\x22smsCannedAnswerForm[\x27key\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22smsCannedAnswerForm[\x27value\x27].$error\x22\x20ng-show=\x22smsCannedAnswerForm[\x27value\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22description\x22\x20\x20ng-model=\x22vm.smsCannedAnswer.description\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22smsCannedAnswerForm[\x27description\x27].$error\x22\x20ng-show=\x22smsCannedAnswerForm[\x27description\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22smsCannedAnswerForm.$invalid\x20||\x20smsCannedAnswerForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.newSmsCannedAnswer\x22\x20ng-click=\x22vm.addNewSmsCannedAnswer()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22smsCannedAnswerForm.$invalid\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22SMS.ADD_SMSCANNEDANSWER\x22\x20translate-attr-aria-label=\x22SMS.ADD_SMSCANNEDANSWER\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x20&&\x20!vm.newSmsCannedAnswer\x22\x20ng-click=\x22vm.deleteSmsCannedAnswer($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22SMS.DELETE\x22>\x0a','<md-dialog\x20class=\x22smsDisposition-dialog\x22\x20aria-label=\x22New\x20SmsDisposition\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22smsDispositionForm[\x27name\x27].$error\x22\x20ng-show=\x22smsDispositionForm[\x27name\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20!vm.newSmsDisposition\x22\x20ng-click=\x22vm.saveSmsDisposition()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22smsDispositionForm.$invalid\x20||\x20smsDispositionForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.newSmsDisposition\x22\x20ng-click=\x22vm.addNewSmsDisposition()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22smsDispositionForm.$invalid\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22SMS.ADD_SMSDISPOSITION\x22\x20translate-attr-aria-label=\x22SMS.ADD_SMSDISPOSITION\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20SMSDISPOSITION\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x20&&\x20!vm.newSmsDisposition\x22\x20ng-click=\x22vm.deleteSmsDisposition($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x0a','<div\x20id=\x22sms-smsAccount\x22\x20class=\x22page-layout\x20simple\x20tabbed\x22\x20layout=\x22column\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.gotoSmsAccounts()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22SMS.GO_TO_SMSACCOUNTS\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22smsAccount-image\x22\x20hide-xs>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<img\x20ng-src=\x22assets/images/business/smsAccounts.jpg\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.smsAccount.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22vm.smsAccount.name\x22>{{vm.smsAccount.name}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.agentadddialog(vm.smsAccount,\x20$event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip><span\x20translate=\x22SMS.AGENTADD_SMSACCOUNT\x22></span></md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-click=\x22vm.saveSmsAccount()\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20ng-disabled=\x22(generalForm.$invalid)\x20||\x20(notificationForm.$invalid)\x20||\x20(transferForm.$invalid)\x20||\x20(proxyForm.$invalid)\x20||\x20(dispositionForm.$invalid)\x20||\x20(smsDispositionsForm.$invalid)\x20||\x20(smsCannedAnswersForm.$invalid)\x20||\x20(actionsForm.$invalid)\x20||\x20(interactionsForm.$invalid)\x22\x20translate=\x22SMS.SAVE\x22\x20translate-attr-aria-label=\x22SMS.SAVE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SMS.SETTINGS\x22>SETTINGS</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22smsAccount-detail-form-container\x20general\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22SMS.GENERAL\x22>GENERAL</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22SMS.LIST\x22>List</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27skebby\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>ClickSend</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27plivo\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27intelepeer\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27accountSid\x27].$error\x22\x20ng-show=\x22generalForm[\x27accountSid\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SMS.ERRORS.ACCOUNTSID_REQUIRED\x22>AccountSID\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.smsAccount.type\x20==\x20\x27plivo\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27authId\x27].$error\x22\x20ng-show=\x22generalForm[\x27authId\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27authToken\x27].$error\x22\x20ng-show=\x22generalForm[\x27authToken\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22smsMethod\x22\x20ng-model=\x22vm.smsAccount.smsMethod\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27TI\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27smsMethod\x27].$error\x22\x20ng-show=\x22generalForm[\x27smsMethod\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22password\x22\x20name=\x22password\x22\x20ng-model=\x22vm.smsAccount.password\x22\x20placeholder=\x22Password\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27baseUrl\x27].$error\x22\x20ng-show=\x22generalForm[\x27baseUrl\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.smsAccount.type\x20==\x20\x27csc\x27\x20||\x20vm.smsAccount.type\x20==\x20\x27clickatell\x27\x20||\x20vm.smsAccount.type\x20==\x20\x27intelepeer\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SMS.ERRORS.APIKEY_REQUIRED\x22>ApiKey\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.smsAccount.type\x20==\x20\x27connectel\x27\x20||\x20vm.smsAccount.type\x20==\x20\x27clicksend\x27\x20||\x20vm.smsAccount.type\x20==\x20\x27plivo\x27||\x20vm.smsAccount.type\x20==\x20\x27csc\x27||\x20vm.smsAccount.type\x20==\x20\x27infobip\x27\x20||\x20vm.smsAccount.type\x20==\x20\x27intelepeer\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22SMS.SENDERSTRING\x22>SenderString</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22senderString\x22\x20\x20ng-model=\x22vm.smsAccount.senderString\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-pattern=\x22/^[A-Za-z0-9\x5c.\x5cs]*$/i\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27senderString\x27].$error\x22\x20ng-show=\x22generalForm[\x27senderString\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SMS.ERRORS.SENDERSTRING_REQUIRED\x22>SenderString\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SMS.ERRORS.SENDERSTRING_MUST_VALID_PATTERN\x22\x20translate-values=\x22{\x20regex:\x20\x27/^[A-Za-z0-9\x5c.\x5cs]*$/i\x27\x20}\x22>SenderString\x20must\x20be\x20valid\x20pattern\x20</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SMS.ERRORS.SENDERSTRING_MAX_LENGTH\x22\x20translate-values=\x27{max:\x2011}\x27>SenderString\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x2011</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22(vm.smsAccount.type\x20==\x20\x27skebby\x27\x20&&\x20vm.smsAccount.smsMethod\x20==\x20\x27GP\x27)\x20||\x20vm.smsAccount.type\x20==\x20\x27connectel\x27\x20||\x20vm.smsAccount.type\x20==\x20\x27clicksend\x27\x20||\x20vm.smsAccount.type\x20==\x20\x27csc\x27\x20||\x20vm.smsAccount.type\x20==\x20\x27clickatell\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22waitForTheAssignedAgent\x22\x20\x20ng-model=\x22vm.smsAccount.waitForTheAssignedAgent\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SMS.ERRORS.WAITFORTHEASSIGNEDAGENT_REQUIRED\x22>WaitForTheAssignedAgent\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SMS.ERRORS.WAITFORTHEASSIGNEDAGENT_MUST_BE_LESS_THAN_OR_EQUAL_TO\x22>WaitForTheAssignedAgent\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>2147483</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22SMS.RECEIVEURL\x22>receiveUrl</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22row\x22\x20layout-align=\x22center\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22SMS.HELP.RECEIVEURL\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22SMS.DELIVERYREPORTURL\x22>deliveryReportUrl</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-button\x20md-fab\x20md-mini\x20md-primary\x22\x20ngclipboard\x20data-clipboard-target=\x22#copytoclipboard-deliveryReportUrl\x22\x20ngclipboard-success=\x22vm.alert({title:\x20\x27copied\x20to\x20clipboard\x27,\x20msg:\x20e.text});\x22\x20ngclipboard-error=\x22vm.alert({title:\x20\x27error\x27,\x20msg:\x20\x27copy\x20to\x20clipboard\x20failed\x27});\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20class=\x22md-input\x22\x20type=\x22text\x22\x20id=\x22copytoclipboard-deliveryReportUrl\x22\x20name=\x22deliveryReportUrl\x22\x20\x20ng-value=\x22vm.smsAccount.remote\x20+\x20\x27/api/sms/accounts/\x27\x20+\x20vm.smsAccount.id\x20+\x20\x27/status?token=\x27\x20+\x20vm.smsAccount.token\x20+\x20(vm.smsAccount.type\x20==\x20\x27csc\x27\x20?\x20\x27&message-id={message-id}&state={state}\x27\x20:\x20\x27\x27)\x22\x20\x20ng-readonly=\x22true\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22SMS.HELP.DELIVERYREPORTURL\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22smsAccount-detail-form-container\x20notification\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22SMS.NOTIFICATION\x22>NOTIFICATION</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.smsAccount.notificationSound\x22\x20aria-label=\x22notificationSound\x22\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20><span\x20translate=\x22SMS.NOTIFICATIONSOUND\x22>notificationSound</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.smsAccount.notificationShake\x22\x20aria-label=\x22notificationShake\x22\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20><span\x20translate=\x22SMS.NOTIFICATIONSHAKE\x22>notificationShake</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20class=\x22md-caption\x20grey-fg\x22\x20translate=\x22SMS.NOTIFICATIONTEMPLATE\x22>notificationTemplate</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<textarea\x20aria-label=\x22notificationTemplate\x20notificationTemplate\x22\x20ckeditor=\x22{\x20skin:\x20\x27office2013\x27,\x20language:\x20\x27en\x27,\x20allowedContent:\x20true,\x20extraPlugins:\x20\x27font,colorbutton,autoembed,autocorrect,googlethisterm,pastebase64\x27,\x20toolbarGroups:\x20[{\x20name:\x20\x27styles\x27,\x20groups:\x20[\x27styles\x27]\x20},\x20{\x20name:\x20\x27clipboard\x27,\x20groups:\x20[\x27undo\x27]\x20},\x20{\x20name:\x20\x27colors\x27,\x20groups:\x20[\x27colors\x27]\x20},\x20{\x20name:\x20\x27basicstyles\x27,\x20groups:\x20[\x27basicstyles\x27]\x20},\x20{\x20name:\x20\x27paragraph\x27,\x20groups:\x20[\x27list\x27,\x20\x27indent\x27,\x20\x27align\x27]\x20},\x20{\x20name:\x20\x27mode\x27\x20}],\x20autocorrect_enabled:\x20true,\x20disableNativeSpellChecker:\x20false,\x20fontSize_sizes:\x20\x278/8pt;9/9pt;10/10pt;11/11pt;12/12pt;14/14pt;16/16pt;18/18pt;20/20pt;22/22pt;24/24pt;26/26pt;28/28pt;36/36pt;48/48pt;72/72pt\x27,\x20\x20removePlugins:\x20\x27magicline\x27\x20}\x22\x20ng-model=\x22vm.smsAccount.notificationTemplate\x22></textarea>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22smsAccount-detail-form-container\x20transfer\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.smsAccount.queueTransfer\x22\x20aria-label=\x22queueTransfer\x22\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20><span\x20translate=\x22SMS.QUEUETRANSFER\x22>queueTransfer</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22SMS.QUEUETRANSFERTIMEOUT\x22>queueTransferTimeout</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22queueTransferTimeout\x22\x20\x20ng-model=\x22vm.smsAccount.queueTransferTimeout\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SMS.ERRORS.QUEUETRANSFERTIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>queueTransferTimeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>1</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SMS.ERRORS.QUEUETRANSFERTIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO\x22>queueTransferTimeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>2147483</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.smsAccount.agentTransfer\x22\x20aria-label=\x22agentTransfer\x22\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20><span\x20translate=\x22SMS.AGENTTRANSFER\x22>agentTransfer</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.smsAccount.agentTransfer\x20==\x20true\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22SMS.AGENTTRANSFERTIMEOUT\x22>agentTransferTimeout</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SMS.ERRORS.AGENTTRANSFERTIMEOUT_REQUIRED\x22>agentTransferTimeout\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SMS.ERRORS.AGENTTRANSFERTIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>agentTransferTimeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>1</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22SMS.PROXY\x22>PROXY</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22token\x22\x20\x20ng-model=\x22vm.smsAccount.token\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SMS.ERRORS.TOKEN_REQUIRED\x22>token\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22SMS.MOTIONPROXY\x22>MotionProxy</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22proxyForm[\x27remote\x27].$error\x22\x20ng-show=\x22proxyForm[\x27remote\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22smsAccount-detail-form-container\x20disposition\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22SMS.DISPOSITION\x22>DISPOSITION</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.smsAccount.mandatoryDisposition\x22\x20aria-label=\x22MandatoryDisposition\x22\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20><span\x20translate=\x22SMS.MANDATORYDISPOSITION\x22>MandatoryDisposition</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.smsAccount.mandatoryDisposition\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22SMS.MANDATORYDISPOSITIONPAUSEID\x22>MandatoryDispositionPauseId</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SMS.ERRORS.MANDATORYDISPOSITIONPAUSEID_REQUIRED\x22>MandatoryDispositionPauseId\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SMS.DISPOSITIONS\x22>DISPOSITIONS</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-controller=\x22SmsAccountSmsDispositionsController\x20as\x20vm_dc\x22\x20ng-init=\x22vm_dc.init(vm.smsAccount,\x20vm.crudPermissions)\x22>\x0a','\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-default\x22\x20ng-hide=\x22vm_dc.selectedSmsAccountSmsDispositions.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22vm_dc.crudPermissions.canEdit\x22\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm_dc.createOrEditSmsAccountSmsDisposition($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22>{{vm_dc.selectedSmsAccountSmsDispositions.length}}\x20{{vm_dc.selectedSmsAccountSmsDispositions.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-icon-button\x22\x20ng-csv=\x22vm_dc.exportSelectedSmsAccountSmsDispositions\x22\x20csv-label=\x22true\x22\x20filename=\x22smsAccounts.csv\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22vm_dc.crudPermissions.canDelete\x22\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm_dc.deleteSelectedSmsAccountSmsDispositions($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22SMS.DELETE_SELECTED\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm_dc.query.sort\x22\x20md-on-reorder=\x22vm_dc.getSmsAccountSmsDispositions\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.ID\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.NAME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_dc.createOrEditSmsAccountSmsDisposition($event,\x20smsDisposition)\x22\x20\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{smsDisposition.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_dc.createOrEditSmsAccountSmsDisposition($event,\x20smsDisposition)\x22\x20\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{smsDisposition.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_dc.createOrEditSmsAccountSmsDisposition($event,\x20smsDisposition)\x22\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20smsDisposition.createdAt\x20|\x20formatdate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22text-boxed-light\x22\x20translate=\x22SMS.NO_SMSDISPOSITION_AVAILABLE\x22>No\x20smsdisposition\x20available</span>\x0a','\x20\x20\x20\x20<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27SMS.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27SMS.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27SMS.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm_dc.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm_dc.query.page\x22\x20md-total=\x22{{vm_dc.smsAccountSmsDispositions.count}}\x22\x20md-on-paginate=\x22vm_dc.getSmsAccountSmsDispositions\x22\x20md-page-select></md-table-pagination>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SMS.CANNEDANSWERS\x22>CANNEDANSWERS</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22smsAccount-detail-form-container\x20smscannedanswers\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-controller=\x22SmsAccountSmsCannedAnswersController\x20as\x20vm_dc\x22\x20ng-init=\x22vm_dc.init(vm.smsAccount,\x20vm.crudPermissions)\x22>\x0a','\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-default\x22\x20ng-hide=\x22vm_dc.selectedSmsAccountSmsCannedAnswers.length\x22>\x0a','\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22\x20translate=\x22SMS.SMSCANNEDANSWERS\x22>SmsCannedAnswers</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22vm_dc.crudPermissions.canEdit\x22\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm_dc.createOrEditSmsAccountSmsCannedAnswer($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20smsCannedAnswer\x22\x20translate\x20translate-attr-label=\x22SMS.ADD_SMSCANNEDANSWER\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22>{{vm_dc.selectedSmsAccountSmsCannedAnswers.length}}\x20{{vm_dc.selectedSmsAccountSmsCannedAnswers.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.KEY\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.VALUE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.DESCRIPTION\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.CREATED_AT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22smsCannedAnswer\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22smsCannedAnswer\x20in\x20vm_dc.smsAccountSmsCannedAnswers.rows\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_dc.createOrEditSmsAccountSmsCannedAnswer($event,\x20smsCannedAnswer)\x22\x20\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{smsCannedAnswer.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_dc.createOrEditSmsAccountSmsCannedAnswer($event,\x20smsCannedAnswer)\x22\x20\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{smsCannedAnswer.value}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{smsCannedAnswer.description}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm_dc.createOrEditSmsAccountSmsCannedAnswer($event,\x20smsCannedAnswer)\x22\x20translate=\x22SMS.EDIT_SMSCANNEDANSWER\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20SmsCannedAnswer\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20SmsCannedAnswer\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-if=\x22!vm_dc.smsAccountSmsCannedAnswers.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22text-boxed-light\x22\x20translate=\x22SMS.NO_SMSCANNEDANSWER_AVAILABLE\x22>No\x20smscannedanswer\x20available</span>\x0a','\x20\x20\x20\x20<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27SMS.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27SMS.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27SMS.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm_dc.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm_dc.query.page\x22\x20md-total=\x22{{vm_dc.smsAccountSmsCannedAnswers.count}}\x22\x20md-on-paginate=\x22vm_dc.getSmsAccountSmsCannedAnswers\x22\x20md-page-select></md-table-pagination>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SMS.ACTIONS\x22>ACTIONS</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22smsAccount-detail-form-container\x20actions\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<p\x20class=\x22text-truncate\x22\x20translate=\x22SMS.{{(a.alias\x20||\x20a.appType)\x20|\x20uppercase}}\x22>{{a.alias\x20||\x20a.appType}}</p>\x0a','\x20\x20\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-default\x22\x20ng-hide=\x22vm_ac.selectedSmsAccountApps.length\x22>\x0a','\x20\x20\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-accent\x22\x20ng-show=\x22vm_ac.selectedSmsAccountApps.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22>{{vm_ac.selectedSmsAccountApps.length}}\x20{{vm_ac.selectedSmsAccountApps.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22app\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22app\x20in\x20vm_ac.smsAccountApps.rows\x20|\x20filter:\x20vm_ac.query.filter\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-click=\x22vm_ac.editSmsAccountApp($event,\x20$index)\x22>{{app.app.toLowerCase()\x20===\x20\x27agi\x27\x20?\x20\x27Cally-Square\x27\x20:\x20app.app\x20|\x20ucfirst}}<span\x20ng-if=\x22app.appType.toLowerCase()\x20===\x20\x27custom\x27\x22>*</span></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-click=\x22vm_ac.editSmsAccountApp($event,\x20$index)\x22><span\x20class=\x22text-truncate\x22\x20style=\x22width:200px\x22>{{app.appdata}}</span></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm_ac.editSmsAccountApp($event,\x20$index)\x22\x20translate=\x22VOICE.EDIT_APP\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SMS.INTERACTIONS\x22>INTERACTIONS</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-controller=\x22SmsAccountInteractionsController\x20as\x20vm_dc\x22\x20ng-init=\x22vm_dc.init(vm.smsAccount,\x20vm.crudPermissions)\x22>\x0a','\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-default\x22\x20ng-hide=\x22vm_dc.selectedSmsAccountInteractions.length\x22>\x0a','\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22\x20translate=\x22SMS.INTERACTIONS\x22>Interactions</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22refresh\x20Interactions\x22\x20translate\x20translate-attr-label=\x22SMS.REFRESH_INTERACTIONS\x22>\x0a','\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-accent\x22\x20ng-show=\x22vm_dc.selectedSmsAccountInteractions.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22>{{vm_dc.selectedSmsAccountInteractions.length}}\x20{{vm_dc.selectedSmsAccountInteractions.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-icon-button\x22\x20ng-csv=\x22vm_dc.exportSelectedSmsAccountInteractions\x22\x20csv-label=\x22true\x22\x20filename=\x22smsAccounts.csv\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22vm_dc.crudPermissions.canDelete\x22\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm_dc.deleteSelectedSmsAccountInteractions($event)\x22\x0a','\x20\x20\x20\x20\x20\x20<table\x20md-table\x20md-row-select\x20multiple\x20ng-model=\x22vm_dc.selectedSmsAccountInteractions\x22\x20md-progress=\x22vm_dc.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.CONTACT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.STARTEDAT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.LASTMESSAGE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.AGENT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.TAGS\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22interaction\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22interaction\x20in\x20vm_dc.smsAccountInteractions.rows\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20aria-label=\x22More\x22\x20translate\x20translate-attr-aria-label=\x22SMS.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm_dc.spysmsInteraction($event,\x20interaction)\x22\x20translate=\x22SMS.SPYINTERACTION\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-primary\x22\x20ng-click=\x22vm_dc.smsInteractionDownload(interaction,\x20$event)\x22\x20translate=\x22SMS.DOWNLOAD_INTERACTION\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm_dc.deleteConfirm(interaction,\x20$event)\x22\x20translate=\x22SMS.DELETE_INTERACTION\x22>\x0a','\x20\x20\x20\x20<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27SMS.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27SMS.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27SMS.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm_dc.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm_dc.query.page\x22\x20md-total=\x22{{vm_dc.smsAccountInteractions.count}}\x22\x20md-on-paginate=\x22vm_dc.getSmsAccountInteractions\x22\x20md-page-select></md-table-pagination>\x0a','<div\x20id=\x22smsAccounts\x22\x20class=\x22page-layout\x20simple\x20left-sidenav\x20inner-sidenav\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-message-text\x22\x20class=\x22s24\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22logo-text\x22\x20translate=\x22SMS.SMSACCOUNTS\x22>SmsAccounts</span>\x0a','\x20\x20\x20\x20<div\x20ng-show=\x22vm.selectedSmsAccounts.length\x20>\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22close-button-wrapper\x22\x20ng-click=\x22vm.selectedSmsAccounts\x20=[]\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22selected-smsAccounts-count\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>{{vm.selectedSmsAccounts.length}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SMS.SELECTED\x22>selected</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22SMS.MULTI_SELECT_TOGGLE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.selectAllSmsAccounts()\x22\x20translate=\x22SMS.SELECT_ALL\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deselectSmsAccounts()\x22\x20translate=\x22SMS.SELECT_NONE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-icon-button\x22\x20ng-csv=\x22vm.exportSelectedSmsAccounts\x22\x20csv-label=\x22true\x22\x20filename=\x22smsAccounts.csv\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x22\x20ng-click=\x22vm.deleteSelectedSmsAccounts($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22SMS.DELETE_SELECTED\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20SMSACCOUNT\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<table\x20md-table\x20\x20md-row-select\x20multiple\x20\x20\x20ng-model=\x22vm.selectedSmsAccounts\x22\x20md-progress=\x22vm.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm.query.sort\x22\x20md-on-reorder=\x22vm.getSmsAccounts\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22id\x22>{{\x20\x27SMS.ID\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22name\x22>{{\x20\x27SMS.NAME\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22ListId\x22>{{\x20\x27SMS.LIST\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22type\x22>{{\x20\x27SMS.TYPE\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22phone\x22>{{\x20\x27SMS.PHONE\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22description\x22>{{\x20\x27SMS.DESCRIPTION\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SMS.NO_AVAILABLE_INFO\x22>No\x20Available\x20Info</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22smsAccount.userpic\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{smsAccount.name}}\x22\x20ng-src=\x22api/users/{{smsAccount.id}}/avatar\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22!smsAccount.userpic\x20&&\x20(vm.table\x20==\x20\x27users\x27\x20||\x20vm.table\x20==\x20\x27agents\x27)\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{smsAccount.name}}\x22\x20ng-src=\x22assets/images/avatars/profile.png\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(smsAccount,\x20ev)\x20:\x20vm.createOrEditSmsAccount($event,\x20smsAccount)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(smsAccount,\x20ev)\x20:\x20vm.createOrEditSmsAccount($event,\x20smsAccount)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22name\x20\x22\x20>{{smsAccount.name}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22key\x20\x22\x20>{{smsAccount.key}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22ListId\x20\x22>{{\x20(vm.lists\x20|\x20filter\x20:\x20{\x27id\x27:smsAccount.ListId}\x20:\x20true)[0].name\x20}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(smsAccount,\x20ev)\x20:\x20vm.createOrEditSmsAccount($event,\x20smsAccount)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22description\x20\x22\x20>{{smsAccount.description}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22SMS.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.editstate(smsAccount,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22SMS.EDIT_SMSACCOUNT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20SmsAccount\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.interactionsgoto(smsAccount,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22SMS.INTERACTIONS_SMSACCOUNT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Interactions\x20SmsAccount\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22SMS.AGENTADD_SMSACCOUNT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AgentAdd\x20SmsAccount\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deleteconfirm(smsAccount,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22SMS.DELETE_SMSACCOUNT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27SMS.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27SMS.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27SMS.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm.query.page\x22\x20md-total=\x22{{vm.smsAccounts.count}}\x22\x20md-on-paginate=\x22vm.getSmsAccounts\x22\x20md-page-select></md-table-pagination>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20SMSACCOUNT\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20ADD\x20SMSACCOUNT\x20BUTTON\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20smsAccount\x22\x20translate\x20translate-attr-aria-label=\x22SMS.ADD_SMSACCOUNT\x22>\x0a','\x20\x20\x20\x20<!--\x20/\x20ADD\x20SMSACCOUNT\x20BUTTON\x20-->\x0a','app/main/apps/sms/views/smsQueues/create/dialog.html','<md-dialog\x20class=\x22smsQueue-dialog\x22\x20aria-label=\x22New\x20SmsQueue\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22name\x22\x20\x20ng-model=\x22vm.smsQueue.name\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.newSmsQueue\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22SMS.HELP.NAME\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22smsQueueForm[\x27name\x27].$error\x22\x20ng-show=\x22smsQueueForm[\x27name\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SMS.ERRORS.NAME_MUST_VALID_PATTERN\x22\x20translate-values=\x22{\x20regex:\x20\x27/^[A-Za-z0-9\x5c.\x5c_]+$/i\x27\x20}\x22>Name\x20must\x20be\x20valid\x20pattern\x20</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22SMS.STRATEGY\x22>Strategy</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22strategy\x22\x20ng-model=\x22vm.smsQueue.strategy\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22smsQueueForm[\x27strategy\x27].$error\x22\x20ng-show=\x22smsQueueForm[\x27strategy\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SMS.ERRORS.STRATEGY_REQUIRED\x22>Strategy\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22SMS.AGENT_TIMEOUT\x22>Agent_Timeout</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22timeout\x22\x20\x20ng-model=\x22vm.smsQueue.timeout\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SMS.ERRORS.AGENT_TIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>Agent_Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>1</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SMS.ERRORS.AGENT_TIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO\x22>Agent_Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>2147483</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22description\x22\x20\x20ng-model=\x22vm.smsQueue.description\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22smsQueueForm[\x27description\x27].$error\x22\x20ng-show=\x22smsQueueForm[\x27description\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20!vm.newSmsQueue\x22\x20ng-click=\x22vm.saveSmsQueue()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.newSmsQueue\x22\x20ng-click=\x22vm.addNewSmsQueue()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22SMS.ADD_SMSQUEUE\x22\x20translate-attr-aria-label=\x22SMS.ADD_SMSQUEUE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20SMSQUEUE\x0a','<md-dialog\x20class=\x22smsQueue-dialog\x22\x20aria-label=\x22smsQueue\x22\x20ng-init=\x22vm.onInit()\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h2\x20translate=\x22SMS.AGENTADD_SMSQUEUE\x22>Add\x20Agent\x20to\x20smsQueue</h2>\x0a','\x20\x20\x20\x20<form\x20name=\x22smsQueueForm\x22\x20ng-cloak>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h2\x20translate=\x22SMS.TEAMS_ASSOCIATION\x22>Teams\x20Association</h2>\x0a','<div\x20id=\x22sms-smsQueue\x22\x20class=\x22page-layout\x20simple\x20tabbed\x22\x20layout=\x22column\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22goto-smsQueues-button\x20md-icon-button\x22\x20aria-label=\x22Go\x20to\x20smsQueues\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.gotoSmsQueues()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22smsQueue-image\x22\x20hide-xs>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<img\x20ng-src=\x22assets/images/business/smsQueues.jpg\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22vm.smsQueue.name\x22>{{vm.smsQueue.name}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SMS.CREATED_AT\x22></span>\x20<span>{{vm.smsQueue.createdAt\x20|\x20date:\x27medium\x27}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.teamadddialog(vm.smsQueue,\x20$event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip><span\x20translate=\x22SMS.TEAMADD_SMSQUEUE\x22></span></md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip><span\x20translate=\x22SMS.AGENTADD_SMSQUEUE\x22></span></md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-click=\x22vm.saveSmsQueue()\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20ng-disabled=\x22(generalForm.$invalid)\x22\x20translate=\x22SMS.SAVE\x22\x20translate-attr-aria-label=\x22SMS.SAVE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22smsQueue-detail-form-container\x20general\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22SMS.ERRORS.AGENT_TIMEOUT_REQUIRED\x22>Agent_Timeout\x20field\x20is\x20required</span>\x0a','<div\x20id=\x22smsQueues\x22\x20class=\x22page-layout\x20simple\x20left-sidenav\x20inner-sidenav\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20id=\x22search\x22\x20placeholder=\x22Search\x20for\x20anyone\x22\x20type=\x22text\x22\x20ng-model=\x22vm.query.filter\x22\x20ng-model-options=\x22{\x20debounce:\x201000\x20}\x22\x20translate\x20translate-attr-placeholder=\x22SMS.SEARCH_FOR_ANYONE\x22>\x0a','\x20\x20\x20\x20<div\x20ng-show=\x22vm.selectedSmsQueues.length\x20>\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22close-button-wrapper\x22\x20ng-click=\x22vm.selectedSmsQueues\x20=[]\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22selected-smsQueues-count\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>{{vm.selectedSmsQueues.length}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.selectAllSmsQueues()\x22\x20translate=\x22SMS.SELECT_ALL\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deselectSmsQueues()\x22\x20translate=\x22SMS.SELECT_NONE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-icon-button\x22\x20ng-csv=\x22vm.exportSelectedSmsQueues\x22\x20csv-label=\x22true\x22\x20filename=\x22smsQueues.csv\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x22\x20ng-click=\x22vm.deleteSelectedSmsQueues($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20SMSQUEUE\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<table\x20md-table\x20\x20md-row-select\x20multiple\x20\x20\x20ng-model=\x22vm.selectedSmsQueues\x22\x20md-progress=\x22vm.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm.query.sort\x22\x20md-on-reorder=\x22vm.getSmsQueues\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22strategy\x22>{{\x20\x27SMS.STRATEGY\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm.smsQueues.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22smsQueue\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22smsQueue\x20in\x20vm.smsQueues.rows\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22smsQueue.userpic\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{smsQueue.name}}\x22\x20ng-src=\x22api/users/{{smsQueue.id}}/avatar\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22!smsQueue.userpic\x20&&\x20(vm.table\x20==\x20\x27users\x27\x20||\x20vm.table\x20==\x20\x27agents\x27)\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{smsQueue.name}}\x22\x20ng-src=\x22assets/images/avatars/profile.png\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(smsQueue,\x20ev)\x20:\x20vm.createOrEditSmsQueue($event,\x20smsQueue)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22id\x20\x22\x20>{{smsQueue.id}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(smsQueue,\x20ev)\x20:\x20vm.createOrEditSmsQueue($event,\x20smsQueue)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22name\x20\x22\x20>{{smsQueue.name}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(smsQueue,\x20ev)\x20:\x20vm.createOrEditSmsQueue($event,\x20smsQueue)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22strategy\x20\x22>{{\x20vm.arraystrategy[smsQueue.strategy].option\x20}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20teamadd\x20SmsQueue\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22SMS.AGENTADD_SMSQUEUE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20agentadd\x20SmsQueue\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22SMS.DELETE_SMSQUEUE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22SMS.GOTOREALTIME_SMSQUEUE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20goToRealtime\x20SmsQueue\x0a','\x20\x20\x20\x20<md-button\x20ng-if=\x22vm.crudPermissions.canEdit\x22\x20class=\x22md-fab\x20md-accent\x22\x20id=\x22add-smsQueue-button\x22\x20ng-click=\x22vm.createOrEditSmsQueue($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20smsQueue\x22\x20translate\x20translate-attr-aria-label=\x22SMS.ADD_SMSQUEUE\x22>\x0a','\x20\x20\x20\x20<!--\x20/\x20ADD\x20SMSQUEUE\x20BUTTON\x20-->\x0a','<div\x20id=\x22agents\x22\x20class=\x22page-layout\x20simple\x20left-sidenav\x20inner-sidenav\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20id=\x22search\x22\x20placeholder=\x22Search\x20for\x20anyone\x22\x20type=\x22text\x22\x20ng-model=\x22vm.query.filter\x22\x20ng-model-options=\x22{\x20debounce:\x201000\x20}\x22\x20translate\x20translate-attr-placeholder=\x22STAFF.SEARCH_FOR_ANYONE\x22>\x0a','\x20\x20\x20\x20<div\x20ng-show=\x22vm.selectedAgents.length\x20>\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22close-button-wrapper\x22\x20ng-click=\x22vm.selectedAgents\x20=[]\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22STAFF.BACK\x22>Back</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>{{vm.selectedAgents.length}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22STAFF.SELECTED\x22>selected</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.selectAllAgents()\x22\x20translate=\x22STAFF.SELECT_ALL\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deselectAgents()\x22\x20translate=\x22STAFF.SELECT_NONE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-icon-button\x22\x20ng-csv=\x22vm.exportSelectedAgents\x22\x20csv-label=\x22true\x22\x20filename=\x22agents.csv\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x22\x20ng-click=\x22vm.deleteSelectedAgents($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22STAFF.DELETE_SELECTED\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20AGENT\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<table\x20md-table\x20\x20md-row-select\x20multiple\x20\x20\x20ng-model=\x22vm.selectedAgents\x22\x20md-progress=\x22vm.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm.query.sort\x22\x20md-on-reorder=\x22vm.getAgents\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22fullname\x22>{{\x20\x27STAFF.FULLNAME\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22showWebBar\x22>{{\x20\x27STAFF.SHOWWEBCONTROL\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22email\x22>{{\x20\x27STAFF.EMAIL\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22phone\x22>{{\x20\x27STAFF.PHONE\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22mobile\x22>{{\x20\x27STAFF.MOBILE\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22internal\x22>{{\x20\x27STAFF.INTERNAL\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22disabled\x22>{{\x20\x27STAFF.DISABLED\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22blocked\x22>{{\x20\x27STAFF.BLOCKED\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm.agents.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22STAFF.NO_AVAILABLE_INFO\x22>No\x20Available\x20Info</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22agent\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22agent\x20in\x20vm.agents.rows\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22agent.userpic\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{agent.name}}\x22\x20ng-src=\x22api/users/{{agent.id}}/avatar\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22!agent.userpic\x20&&\x20(vm.table\x20==\x20\x27users\x27\x20||\x20vm.table\x20==\x20\x27agents\x27)\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{agent.name}}\x22\x20ng-src=\x22assets/images/avatars/profile.png\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(agent,\x20ev)\x20:\x20vm.createOrEditAgent($event,\x20agent)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22fullname\x20font-weight-600\x22\x20>{{agent.fullname}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22name\x20\x22\x20>{{agent.name}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(agent,\x20ev)\x20:\x20vm.createOrEditAgent($event,\x20agent)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(agent,\x20ev)\x20:\x20vm.createOrEditAgent($event,\x20agent)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22email\x20\x22\x20>{{agent.email}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(agent,\x20ev)\x20:\x20vm.createOrEditAgent($event,\x20agent)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22phone\x20\x22\x20>{{agent.phone}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22internal\x20\x22\x20>{{agent.internal}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(agent,\x20ev)\x20:\x20vm.createOrEditAgent($event,\x20agent)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22disabled\x20\x22><md-icon\x20md-colors=\x22{color:\x20{{agent.disabled\x20?\x20\x27\x5c\x27green\x5c\x27\x27\x20:\x20\x27\x5c\x27grey\x5c\x27\x27}}}\x22\x20md-font-icon=\x22{{agent.disabled\x20?\x20\x27icon-check\x27\x20:\x20\x27icon-close\x27}}\x22></md-icon></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(agent,\x20ev)\x20:\x20vm.createOrEditAgent($event,\x20agent)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22blocked\x20\x22><md-icon\x20md-colors=\x22{color:\x20{{agent.blocked\x20?\x20\x27\x5c\x27green\x5c\x27\x27\x20:\x20\x27\x5c\x27grey\x5c\x27\x27}}}\x22\x20md-font-icon=\x22{{agent.blocked\x20?\x20\x27icon-check\x27\x20:\x20\x27icon-close\x27}}\x22></md-icon></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22STAFF.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22STAFF.EDIT_AGENT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Agent\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.teamadddialog(agent,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22STAFF.TEAMADD_AGENT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20teamadd\x20Agent\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deleteconfirm(agent,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22STAFF.DELETE_AGENT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Agent\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27STAFF.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27STAFF.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27STAFF.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm.query.page\x22\x20md-total=\x22{{vm.agents.count}}\x22\x20md-on-paginate=\x22vm.getAgents\x22\x20md-page-select></md-table-pagination>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20ADD\x20AGENT\x20BUTTON\x20-->\x0a','\x20\x20\x20\x20<md-button\x20ng-if=\x22vm.crudPermissions.canEdit\x22\x20class=\x22md-fab\x20md-accent\x22\x20id=\x22add-agent-button\x22\x20ng-click=\x22vm.createOrEditAgent($event)\x22\x0a','\x20\x20\x20\x20<!--\x20/\x20ADD\x20AGENT\x20BUTTON\x20-->\x0a','app/main/apps/staff/views/agents/create/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22fullname\x22\x20\x20ng-model=\x22vm.agent.fullname\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22name\x22\x20\x20ng-model=\x22vm.agent.name\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.newAgent\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22STAFF.ERRORS.USERNAME_REQUIRED\x22>Username\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22STAFF.ERRORS.USERNAME_MUST_VALID_PATTERN\x22\x20translate-values=\x22{\x20regex:\x20\x27/^[A-Za-z0-9\x5c.\x5c_]+$/i\x27\x20}\x22>Username\x20must\x20be\x20valid\x20pattern\x20</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22STAFF.ALIAS\x22>Alias</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22agentForm[\x27alias\x27].$error\x22\x20ng-show=\x22agentForm[\x27alias\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22STAFF.SHOWWEBCONTROL\x22>ShowWebControl</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22showWebBar\x22\x20ng-model=\x22vm.agent.showWebBar\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Phonebar</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x221\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x222\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>WebRTC</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22agentForm[\x27showWebBar\x27].$error\x22\x20ng-show=\x22agentForm[\x27showWebBar\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22STAFF.EMAIL\x22>Email</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22email\x22\x20name=\x22email\x22\x20\x20ng-model=\x22vm.agent.email\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22agentForm[\x27email\x27].$error\x22\x20ng-show=\x22agentForm[\x27email\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22STAFF.ERRORS.EMAIL_MUST_VALID\x22>Email\x20must\x20be\x20a\x20valid\x20e-mail\x20address</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20class=\x22md-block\x22\x20\x20ng-if=\x22vm.newAgent\x22\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22STAFF.PASSWORD\x22>Password</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22password\x22\x20name=\x22password\x22\x20ng-model=\x22vm.agent.password\x22\x20placeholder=\x22Password\x22\x20\x20ng-pattern=\x22vm.passwordPattern\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22agentForm[\x27password\x27].$error\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22STAFF.ERRORS.PASSWORD_REQUIRED\x22>Password\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22STAFF.ERRORS.SECURE_PASSWORD_PATTERN\x22>Must\x20contain\x20at\x20least\x208\x20characters,\x20with\x20a\x20minimum\x20of\x201\x20lowercase\x20letter,\x201\x20uppercase\x20letter,\x201\x20numeric\x20character\x20and\x201\x20special\x20character\x20~!?*@#$%^&-_=+[{]}.</span>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20class=\x22md-block\x22\x20ng-if=\x22vm.newAgent\x20\x20&&\x20(vm.newAgent)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22STAFF.CONFIRM_PASSWORD\x22>Confirm\x20Password</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22password\x22\x20match-password=\x22password\x22\x20name=\x22confirmPassword\x22\x20ng-model=\x22confirmPassword\x22\x20\x20required>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-message=\x22passwordMatch\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22STAFF.ERRORS.CONFIRM_NOT_MATCH\x22>Your\x20password\x20did\x20not\x20match</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.newAgent\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.agent.autointernal\x22\x20aria-label=\x22AutoInternal\x22\x20><span\x20translate=\x22STAFF.AUTOINTERNAL\x22>AutoInternal</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22!vm.agent.autointernal\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22internal\x22\x20\x20ng-model=\x22vm.agent.internal\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22agentForm[\x27internal\x27].$error\x22\x20ng-show=\x22agentForm[\x27internal\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22STAFF.ERRORS.INTERNAL_REQUIRED\x22>Internal\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22STAFF.DESCRIPTION\x22>Description</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22description\x22\x20\x20ng-model=\x22vm.agent.description\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22agentForm[\x27description\x27].$error\x22\x20ng-show=\x22agentForm[\x27description\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22STAFF.ERRORS.DESCRIPTION_REQUIRED\x22>Description\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.newAgent\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.agent.voicemail\x22\x20aria-label=\x22Voicemail\x22\x20><span\x20translate=\x22STAFF.VOICEMAIL\x22>Voicemail</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.agent.showWebBar\x20==\x200\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.agent.phoneBarRemoteControl\x22\x20aria-label=\x22RemoteControl\x22\x20><span\x20translate=\x22STAFF.REMOTECONTROL\x22>RemoteControl</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.agent.phoneBarRemoteControl\x20&&\x20vm.agent.showWebBar\x20==\x200\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22phoneBarRemoteControlPort\x22\x20\x20ng-model=\x22vm.agent.phoneBarRemoteControlPort\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22agentForm[\x27phoneBarRemoteControlPort\x27].$error\x22\x20ng-show=\x22agentForm[\x27phoneBarRemoteControlPort\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22STAFF.ERRORS.REMOTECONTROLPORT_REQUIRED\x22>RemoteControlPort\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.newUser\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20!vm.newAgent\x22\x20ng-click=\x22vm.saveAgent()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22STAFF.SAVE\x22\x20translate-attr-aria-label=\x22STAFF.SAVE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.newAgent\x22\x20ng-click=\x22vm.addNewAgent()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22agentForm.$invalid\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22STAFF.ADD_AGENT\x22\x20translate-attr-aria-label=\x22STAFF.ADD_AGENT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22STAFF.DELETE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip><span\x20translate=\x22STAFF.DELETE\x22>DELETE</span></md-tooltip>\x0a','<md-dialog\x20class=\x22agent-dialog\x22\x20aria-label=\x22{{vm.name}}\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22agentForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22title\x22>{{\x20\x27\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20STAFF.CHANGE_PASSWORD\x27\x20|\x20translate\x20}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20class=\x22md-block\x22\x20ng-if=\x22vm.currentUser.id\x20==\x20vm.agent.id\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22STAFF.OLD_PASSWORD\x22>Old\x20Password</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22password\x22\x20name=\x22oldPassword\x22\x20ng-model=\x22vm.oldPassword\x22\x20placeholder=\x22Password\x22\x20translate\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-placeholder=\x22STAFF.OLD_PASSWORD\x22\x20required>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22agentForm.oldPassword.$error\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22STAFF.NEW_PASSWORD\x22>New\x20Password</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22password\x22\x20name=\x22password\x22\x20ng-model=\x22vm.password\x22\x20placeholder=\x22Password\x22\x20translate\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22agentForm.password.$error\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22STAFF.ERRORS.PASSWORD_REQUIRED\x22>Password\x20field\x20is\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22STAFF.ERRORS.SECURE_PASSWORD_PATTERN\x22>Must\x20contain\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20at\x20least\x208\x20characters,\x20with\x20a\x20minimum\x20of\x201\x20lowercase\x20letter,\x201\x20uppercase\x20letter,\x201\x20numeric\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-message=\x22oldPasswordMatch\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22STAFF.ERRORS.PASSWORD_OLDPASSWORD_MATCH\x22>New\x20password\x20must\x20be\x20different\x20from\x20old\x20one</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22password\x22\x20match-password=\x22password\x22\x20name=\x22confirmPassword\x22\x20ng-model=\x22confirmPassword\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22STAFF.ERRORS.CONFIRM_REQUIRED\x22>Confirm\x20field\x20is\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22STAFF.ERRORS.CONFIRM_NOT_MATCH\x22>Your\x20password\x20did\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22agentForm.$invalid\x20||\x20agentForm.$pristine\x22\x20aria-label=\x22SAVE\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22STAFF.SAVE\x22\x20translate-attr-aria-label=\x22STAFF.SAVE\x22>\x0a','<md-dialog\x20class=\x22agent-dialog\x22\x20aria-label=\x22agent\x22\x20ng-init=\x22vm.onInit()\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22agentForm\x22\x20ng-cloak>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20flex\x20class=\x22no-margin\x22\x20ng-if=\x22vm.agent.role\x20===\x20\x27agent\x27\x20&&\x20vm.channel\x20===\x20\x27voice\x27\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22agentForm.penalty.$error\x22\x20role=\x22alert\x22\x20multiple>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h2\x20translate=\x22STAFF.TEAMS_ASSOCIATION\x22>Teams\x20Association</h2>\x0a','<div\x20id=\x22staff-agent\x22\x20class=\x22page-layout\x20simple\x20tabbed\x22\x20layout=\x22column\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22goto-agents-button\x20md-icon-button\x22\x20aria-label=\x22Go\x20to\x20agents\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.gotoAgents()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<img\x20ng-src=\x22assets/images/business/agents.jpg\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.agent.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22vm.agent.name\x22>{{vm.agent.name}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-cloak\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-fab-trigger>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20aria-label=\x22menu\x22\x20class=\x22md-fab\x20md-primary\x20md-icon-button\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip\x20md-direction=\x22top\x22\x20md-visible=\x22false\x22><span\x20translate=\x22STAFF.CHANNELS\x22>Channels</span></md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-stackoverflow\x22\x20aria-label=\x22queueadd\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-fab-trigger>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-fab-actions>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip\x20md-direction=\x22bottom\x22\x20md-visible=\x22false\x22><span\x20translate=\x22VOICE.VOICE\x22>Voice</span></md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip\x20md-direction=\x22bottom\x22\x20md-visible=\x22false\x22><span\x20translate=\x22MOTIONDIALER.MOTIONDIALER\x22>Motion\x20Bull</span></md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-fire\x22\x20aria-label=\x22motion\x20bull\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22vm.license.chat\x22\x20aria-label=\x22chat\x22\x20class=\x22md-fab\x20md-raised\x20md-icon-button\x20md-mini\x22\x20ng-click=\x22vm.queueaddchannel(vm.agent,\x20\x27chat\x27,\x20$event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip\x20md-direction=\x22bottom\x22\x20md-visible=\x22false\x22><span\x20translate=\x22CHAT.CHAT\x22>Chat</span></md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22vm.license.mail\x22\x20aria-label=\x22mail\x22\x20class=\x22md-fab\x20md-raised\x20md-icon-button\x20md-mini\x22\x20ng-click=\x22vm.queueaddchannel(vm.agent,\x20\x27mail\x27,\x20$event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip\x20md-direction=\x22bottom\x22\x20md-visible=\x22false\x22><span\x20translate=\x22MAIL.MAIL\x22>Email</span></md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-email\x22\x20aria-label=\x22mail\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22vm.license.messaging\x22\x20aria-label=\x22sms\x22\x20class=\x22md-fab\x20md-raised\x20md-icon-button\x20md-mini\x22\x20ng-click=\x22vm.queueaddchannel(vm.agent,\x20\x27sms\x27,\x20$event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip\x20md-direction=\x22bottom\x22\x20md-visible=\x22false\x22><span\x20translate=\x22SMS.SMS\x22>Sms</span></md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-message-text\x22\x20aria-label=\x22sms\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22vm.license.openchannel\x22\x20aria-label=\x22openchannel\x22\x20class=\x22md-fab\x20md-raised\x20md-icon-button\x20md-mini\x22\x20ng-click=\x22vm.queueaddchannel(vm.agent,\x20\x27openchannel\x27,\x20$event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip\x20md-direction=\x22bottom\x22\x20md-visible=\x22false\x22><span\x20translate=\x22OPENCHANNEL.OPENCHANNEL\x22>Openchannel</span></md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-google-earth\x22\x20aria-label=\x22openchannel\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22vm.license.fax\x22\x20aria-label=\x22fax\x22\x20class=\x22md-fab\x20md-raised\x20md-icon-button\x20md-mini\x22\x20ng-click=\x22vm.queueaddchannel(vm.agent,\x20\x27fax\x27,\x20$event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip\x20md-direction=\x22bottom\x22\x20md-visible=\x22false\x22><span\x20translate=\x22FAX.FAX\x22>Fax</span></md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-deskphone\x22\x20aria-label=\x22fax\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22vm.license.whatsapp\x22\x20aria-label=\x22whatsapp\x22\x20class=\x22md-fab\x20md-raised\x20md-icon-button\x20md-mini\x22\x20ng-click=\x22vm.queueaddchannel(vm.agent,\x20\x27whatsapp\x27,\x20$event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip\x20md-direction=\x22bottom\x22\x20md-visible=\x22false\x22><span\x20translate=\x22WHATSAPP.WHATSAPP\x22>whatsapp</span></md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-whatsapp\x22\x20aria-label=\x22whatsapp\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-fab-actions>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-fab-speed-dial>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.teamadddialog(vm.agent,\x20$event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip><span\x20translate=\x22STAFF.TEAMADD_AGENT\x22></span></md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.changepassworddialog(vm.agent,\x20$event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22changepassword\x22\x20\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip><span\x20translate=\x22STAFF.CHANGEPASSWORD_AGENT\x22></span></md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-key-variant\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-click=\x22vm.saveAgent()\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20ng-disabled=\x22(personal_infoForm.$invalid)\x20||\x20(security_suiteForm.$invalid)\x20||\x20(change_avatarForm.$invalid)\x20||\x20(generalForm.$invalid)\x20||\x20(capacityForm.$invalid)\x20||\x20(settingsForm.$invalid)\x20||\x20(remote_controlForm.$invalid)\x20||\x20(sipForm.$invalid)\x20||\x20(callforwardingForm.$invalid)\x20||\x20(settings_webrtcForm.$invalid)\x20||\x20(sip_webrtcForm.$invalid)\x20||\x20(general_permissionsForm.$invalid)\x20||\x20(permissionsForm.$invalid)\x22\x20translate=\x22STAFF.SAVE\x22\x20translate-attr-aria-label=\x22STAFF.SAVE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22STAFF.ACCOUNT\x22>ACCOUNT</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<form\x20name=\x22personal_infoForm\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22STAFF.FULLNAME\x22>Fullname</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22personal_infoForm[\x27fullname\x27].$error\x22\x20ng-show=\x22personal_infoForm[\x27fullname\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22personal_infoForm[\x27name\x27].$error\x22\x20ng-show=\x22personal_infoForm[\x27name\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22alias\x22\x20\x20ng-model=\x22vm.agent.alias\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22personal_infoForm[\x27alias\x27].$error\x22\x20ng-show=\x22personal_infoForm[\x27alias\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x220\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>External</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22STAFF.ERRORS.SHOWWEBCONTROL_REQUIRED\x22>ShowWebControl\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22STAFF.PHONE\x22>Phone</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22personal_infoForm[\x27phone\x27].$error\x22\x20ng-show=\x22personal_infoForm[\x27phone\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22STAFF.ERRORS.PHONE_REQUIRED\x22>Phone\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22mobile\x22\x20\x20ng-model=\x22vm.agent.mobile\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22personal_infoForm[\x27mobile\x27].$error\x22\x20ng-show=\x22personal_infoForm[\x27mobile\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.agent.hotdesk\x22\x20aria-label=\x22Hotdesk\x22\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20><span\x20translate=\x22STAFF.HOTDESK\x22>Hotdesk</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.agent.loginInPause\x22\x20aria-label=\x22LoginInPause\x22\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20><span\x20translate=\x22STAFF.LOGININPAUSE\x22>LoginInPause</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22personal_infoForm[\x27description\x27].$error\x22\x20ng-show=\x22personal_infoForm[\x27description\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22agent-detail-form-container\x20security_suite\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22STAFF.SECURITY_SUITE\x22>SECURITY_SUITE</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<form\x20name=\x22security_suiteForm\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22passwordResetAt\x22\x20\x20ng-model=\x22vm.agent.passwordResetAt\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22STAFF.HELP.LAST_PASSWORD_RESET_AT\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22security_suiteForm[\x27passwordResetAt\x27].$error\x22\x20ng-show=\x22security_suiteForm[\x27passwordResetAt\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22STAFF.ERRORS.LAST_PASSWORD_RESET_AT_REQUIRED\x22>Last_Password_Reset_At\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.agent.passwordResetAt\x20==\x20null\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.agent.disabled\x22\x20aria-label=\x22Disabled\x22\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20><span\x20translate=\x22STAFF.DISABLED\x22>Disabled</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22STAFF.HELP.DISABLED\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.agent.disabled\x20==\x200\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.agent.blocked\x22\x20aria-label=\x22Blocked\x22\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20><span\x20translate=\x22STAFF.BLOCKED\x22>Blocked</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22STAFF.HELP.BLOCKED\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22agent-detail-form-container\x20change_avatar\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','<div\x20ng-controller=\x22Agentchange_avatarController\x20as\x20vm_ca\x22\x20ng-init=\x22vm_ca.init(vm.agent,\x20vm.crudPermissions)\x22\x20class=\x22agent-detail-form-container\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20<div\x20id=\x22agent-image-uploader\x22\x20flow-init=\x22vm_ca.ngFlowOptions\x22\x20flow-name=\x22vm_ca.ngFlow.flow\x22\x20flow-files-submitted=\x22vm_ca.upload()\x22\x20flow-file-added=\x22vm_ca.fileAdded($file)\x22\x20flow-file-success=\x22vm_ca.fileSuccess($file,\x20$message)\x22\x20flow-complete=\x22vm_ca.uploadComplete()\x22\x20flow-drop\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-repeat=\x22change_avatarimage\x20in\x20vm_ca.agent.images\x22\x20ng-switch=\x22change_avatarimage.type\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22agent-image\x20uploading\x22\x20ng-switch-when=\x22uploading\x22\x20layout=\x22row\x22\x20layout-align=\x22center\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-progress-linear\x20md-mode=\x22determinate\x22\x20value=\x22{{change_avatarimage.file.progress()\x20*\x20100}}\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22agent-image\x22\x20ng-switch-when=\x22image\x22\x20layout=\x22row\x22\x20layout-align=\x22center\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<img\x20class=\x22media\x22\x20ng-src=\x22{{change_avatarimage.url}}\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22STAFF.VOICE\x22>VOICE</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22!vm.agent.autointernal\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22STAFF.INTERNAL\x22>Internal</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27internal\x27].$error\x22\x20ng-show=\x22generalForm[\x27internal\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.agent.showWebBar\x20!=\x202\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22STAFF.TRANSPORT\x22>Transport</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22transport\x22\x20ng-model=\x22vm.agent.transport\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27udp\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>udp</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27ws\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22vm.agent.showWebBar\x20==\x201\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>wss</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>tls</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22STAFF.HELP.TRANSPORT\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27transport\x27].$error\x22\x20ng-show=\x22generalForm[\x27transport\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22STAFF.ERRORS.TRANSPORT_REQUIRED\x22>Transport\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22STAFF.HOST\x22>Host</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22host\x22\x20\x20ng-model=\x22vm.agent.host\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22STAFF.HELP.HOST\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22STAFF.ERRORS.HOST_REQUIRED\x22>Host\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22STAFF.NAT\x22>NAT</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22nat\x22\x20ng-model=\x22vm.agent.nat\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20multiple\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27force_rport\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>force_rport</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27comedia\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>comedia</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27yes\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27route\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>route</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22STAFF.HELP.NAT\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22STAFF.ERRORS.NAT_REQUIRED\x22>NAT\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22STAFF.TYPE\x22>Type</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22type\x22\x20ng-model=\x22vm.agent.type\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27friend\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Friend</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27user\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27peer\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Peer</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22STAFF.HELP.TYPE\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22STAFF.ERRORS.TYPE_REQUIRED\x22>Type\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22STAFF.ALLOWCODECS\x22>AllowCodecs</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22allow\x22\x20ng-model=\x22vm.agent.allow\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27ulaw\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>ulaw</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27alaw\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>alaw</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>g722</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>g729</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>opus</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27h264\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>h264</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22STAFF.ERRORS.ALLOWCODECS_REQUIRED\x22>AllowCodecs\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22callerid\x22\x20\x20ng-model=\x22vm.agent.callerid\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27callerid\x27].$error\x22\x20ng-show=\x22generalForm[\x27callerid\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22STAFF.CONTEXT\x22>Context</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22context\x22\x20ng-model=\x22vm.agent.context\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22context.name\x22\x20ng-repeat=\x22context\x20in\x20vm.contexts\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22context.canSelect\x20===\x20false\x22>{{\x20context.name\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27context\x27].$error\x22\x20ng-show=\x22generalForm[\x27context\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22STAFF.ERRORS.CONTEXT_REQUIRED\x22>Context\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22STAFF.CALLGROUP\x22>Callgroup</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22callgroup\x22\x20\x20ng-model=\x22vm.agent.callgroup\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22STAFF.HELP.CALLGROUP\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27callgroup\x27].$error\x22\x20ng-show=\x22generalForm[\x27callgroup\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22STAFF.PICKUPGROUP\x22>Pickupgroup</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22pickupgroup\x22\x20\x20ng-model=\x22vm.agent.pickupgroup\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22STAFF.HELP.PICKUPGROUP\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27pickupgroup\x27].$error\x22\x20ng-show=\x22generalForm[\x27pickupgroup\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22STAFF.ERRORS.PICKUPGROUP_REQUIRED\x22>Pickupgroup\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.agent.chanspy\x22\x20aria-label=\x22chanSpy\x22\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20><span\x20translate=\x22STAFF.CHANSPY\x22>chanSpy</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22videosupport\x22\x20ng-model=\x22vm.agent.videosupport\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>No</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22STAFF.ERRORS.VIDEOSUPPORT_REQUIRED\x22>Videosupport\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22STAFF.MONITOREXTENSION\x22>MonitorExtension</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22extensionMonitor\x22\x20ng-model=\x22vm.agent.extensionMonitor\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27WAV\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27extensionMonitor\x27].$error\x22\x20ng-show=\x22generalForm[\x27extensionMonitor\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22STAFF.ERRORS.MONITOREXTENSION_REQUIRED\x22>MonitorExtension\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22STAFF.OTHER_CHANNELS\x22>OTHER_CHANNELS</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22STAFF.CAPACITY\x22>CAPACITY</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22STAFF.CHATCAPACITY\x22>ChatCapacity</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22chatCapacity\x22\x20\x20ng-model=\x22vm.agent.chatCapacity\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22STAFF.ERRORS.CHATCAPACITY_REQUIRED\x22>ChatCapacity\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22STAFF.ERRORS.CHATCAPACITY_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>ChatCapacity\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>0</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22STAFF.MAILCAPACITY\x22>MailCapacity</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22STAFF.HELP.MAILCAPACITY\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22capacityForm[\x27mailCapacity\x27].$error\x22\x20ng-show=\x22capacityForm[\x27mailCapacity\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22STAFF.ERRORS.MAILCAPACITY_REQUIRED\x22>MailCapacity\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22STAFF.ERRORS.MAILCAPACITY_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>MailCapacity\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>0</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.license.messaging\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22STAFF.SMSCAPACITY\x22>SMSCapacity</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22smsCapacity\x22\x20\x20ng-model=\x22vm.agent.smsCapacity\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22capacityForm[\x27smsCapacity\x27].$error\x22\x20ng-show=\x22capacityForm[\x27smsCapacity\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.license.openchannel\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22STAFF.OPENCHANNELCAPACITY\x22>OpenchannelCapacity</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22STAFF.HELP.OPENCHANNELCAPACITY\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22capacityForm[\x27openchannelCapacity\x27].$error\x22\x20ng-show=\x22capacityForm[\x27openchannelCapacity\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22STAFF.ERRORS.OPENCHANNELCAPACITY_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>OpenchannelCapacity\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>0</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.license.fax\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22STAFF.FAXCAPACITY\x22>FaxCapacity</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22capacityForm[\x27faxCapacity\x27].$error\x22\x20ng-show=\x22capacityForm[\x27faxCapacity\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22STAFF.ERRORS.FAXCAPACITY_REQUIRED\x22>FaxCapacity\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22STAFF.ERRORS.FAXCAPACITY_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>FaxCapacity\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>0</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.license.whatsapp\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22whatsappCapacity\x22\x20\x20ng-model=\x22vm.agent.whatsappCapacity\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22STAFF.HELP.WHATSAPPCAPACITY\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22capacityForm[\x27whatsappCapacity\x27].$error\x22\x20ng-show=\x22capacityForm[\x27whatsappCapacity\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tab\x20\x20ng-if=\x22vm.agent.showWebBar\x20==\x200\x22\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22STAFF.MOTIONBAR\x22>MOTIONBAR</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22STAFF.SETTINGS\x22>SETTINGS</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.agent.phoneBarAutoAnswer\x22\x20aria-label=\x22AutoAnswer\x22\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20><span\x20translate=\x22STAFF.AUTOANSWER\x22>AutoAnswer</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.agent.phoneBarAutoAnswer\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22STAFF.AUTOANSWERDELAY\x22>AutoAnswerDelay</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22phoneBarAutoAnswerDelay\x22\x20\x20ng-model=\x22vm.agent.phoneBarAutoAnswerDelay\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22settingsForm[\x27phoneBarAutoAnswerDelay\x27].$error\x22\x20ng-show=\x22settingsForm[\x27phoneBarAutoAnswerDelay\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22STAFF.ERRORS.AUTOANSWERDELAY_REQUIRED\x22>AutoAnswerDelay\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.agent.phoneBarRingInUse\x22\x20aria-label=\x22RingInUse\x22\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20><span\x20translate=\x22STAFF.RINGINUSE\x22>RingInUse</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.agent.phoneBarEnableRecording\x22\x20aria-label=\x22EnableRecording\x22\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20><span\x20translate=\x22STAFF.ENABLERECORDING\x22>EnableRecording</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.agent.phoneBarEnableDtmfTone\x22\x20aria-label=\x22EnableDtmfTone\x22\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20><span\x20translate=\x22STAFF.ENABLEDTMFTONE\x22>EnableDtmfTone</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.agent.phoneBarDnd\x22\x20aria-label=\x22Dnd\x22\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20><span\x20translate=\x22STAFF.DND\x22>Dnd</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.agent.phoneBarEnableJaws\x22\x20aria-label=\x22EnableJawsIntegration\x22\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20><span\x20translate=\x22STAFF.ENABLEJAWSINTEGRATION\x22>EnableJawsIntegration</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.agent.showWebBar\x20==\x200\x20&&\x20vm.license.screenrecording\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-change=\x22vm.onEnableScreenRecordingByAgentSelection()\x22\x20\x20ng-model=\x22vm.agent.phoneBarEnableScreenRecordingByAgent\x22\x20aria-label=\x22EnableScreenRecordingByAgent\x22\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20><span\x20translate=\x22STAFF.ENABLESCREENRECORDINGBYAGENT\x22>EnableScreenRecordingByAgent</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-change=\x22vm.onEnableAutomaticScreenRecordingSelection()\x22\x20\x20ng-model=\x22vm.agent.phoneBarEnableAutomaticScreenRecording\x22\x20aria-label=\x22EnableAutomaticScreenRecording\x22\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20><span\x20translate=\x22STAFF.ENABLEAUTOMATICSCREENRECORDING\x22>EnableAutomaticScreenRecording</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22STAFF.HELP.ENABLEAUTOMATICSCREENRECORDING\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22agent-detail-form-container\x20remote_control\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22STAFF.REMOTE_CONTROL\x22>REMOTE_CONTROL</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<form\x20name=\x22remote_controlForm\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.agent.showWebBar\x20==\x200\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.agent.phoneBarRemoteControl\x22\x20aria-label=\x22RemoteControl\x22\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20><span\x20translate=\x22STAFF.REMOTECONTROL\x22>RemoteControl</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22STAFF.REMOTECONTROLPORT\x22>RemoteControlPort</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22remote_controlForm[\x27phoneBarRemoteControlPort\x27].$error\x22\x20ng-show=\x22remote_controlForm[\x27phoneBarRemoteControlPort\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22agent-detail-form-container\x20sip\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22STAFF.SIPEXPIRES\x22>SipExpires</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22phoneBarExpires\x22\x20\x20ng-model=\x22vm.agent.phoneBarExpires\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22STAFF.HELP.SIPEXPIRES\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22sipForm[\x27phoneBarExpires\x27].$error\x22\x20ng-show=\x22sipForm[\x27phoneBarExpires\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22STAFF.SIPPORT\x22>SipPort</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22phoneBarListenPort\x22\x20\x20ng-model=\x22vm.agent.phoneBarListenPort\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22sipForm[\x27phoneBarListenPort\x27].$error\x22\x20ng-show=\x22sipForm[\x27phoneBarListenPort\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22agent-detail-form-container\x20callforwarding\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22STAFF.CALLFORWARDING\x22>CALLFORWARDING</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<form\x20name=\x22callforwardingForm\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.agent.phoneBarUnconditional\x22\x20aria-label=\x22Unconditional\x22\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20><span\x20translate=\x22STAFF.UNCONDITIONAL\x22>Unconditional</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.agent.phoneBarUnconditional\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22STAFF.UNCONDITIONALNUMBER\x22>UnconditionalNumber</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22phoneBarUnconditionalNumber\x22\x20\x20ng-model=\x22vm.agent.phoneBarUnconditionalNumber\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22callforwardingForm[\x27phoneBarUnconditionalNumber\x27].$error\x22\x20ng-show=\x22callforwardingForm[\x27phoneBarUnconditionalNumber\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22STAFF.ERRORS.UNCONDITIONALNUMBER_REQUIRED\x22>UnconditionalNumber\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tab\x20\x20ng-if=\x22vm.agent.showWebBar\x20==\x202\x22\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22agent-detail-form-container\x20settings_webrtc\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22STAFF.SETTINGS_WEBRTC\x22>SETTINGS_WEBRTC</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<form\x20name=\x22settings_webrtcForm\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22dtlscertfile\x22\x20\x20ng-model=\x22vm.agent.dtlscertfile\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22settings_webrtcForm[\x27dtlscertfile\x27].$error\x22\x20ng-show=\x22settings_webrtcForm[\x27dtlscertfile\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22STAFF.ERRORS.DTLSCERTFILE_REQUIRED\x22>dtlscertfile\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22STAFF.DTLSPRIVATEKEY\x22>dtlsprivatekey</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22dtlsprivatekey\x22\x20\x20ng-model=\x22vm.agent.dtlsprivatekey\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22STAFF.ERRORS.DTLSPRIVATEKEY_REQUIRED\x22>dtlsprivatekey\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.agent.phoneBarEnableSettings\x22\x20aria-label=\x22EnableSettings\x22\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20><span\x20translate=\x22STAFF.ENABLESETTINGS\x22>EnableSettings</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22settings_webrtcForm[\x27phoneBarAutoAnswerDelay\x27].$error\x22\x20ng-show=\x22settings_webrtcForm[\x27phoneBarAutoAnswerDelay\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22agent-detail-form-container\x20sip_webrtc\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22STAFF.SIP_WEBRTC\x22>SIP_WEBRTC</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<form\x20name=\x22sip_webrtcForm\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22sip_webrtcForm[\x27phoneBarExpires\x27].$error\x22\x20ng-show=\x22sip_webrtcForm[\x27phoneBarExpires\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22STAFF.ERRORS.SIPEXPIRES_REQUIRED\x22>SipExpires\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22STAFF.PERMISSIONS\x22>PERMISSIONS</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22agent-detail-form-container\x20general_permissions\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22STAFF.GENERAL_PERMISSIONS\x22>GENERAL_PERMISSIONS</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<form\x20name=\x22general_permissionsForm\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.agent.allowmessenger\x22\x20aria-label=\x22EnableMessenger\x22\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20><span\x20translate=\x22STAFF.ENABLEMESSENGER\x22>EnableMessenger</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22agent-detail-form-container\x20permissions\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','<div\x20ng-controller=\x22AgentPermissionsController\x20as\x20vm_pc\x22\x20ng-init=\x22vm_pc.init(vm.agent,\x20vm.crudPermissions)\x22\x20class=\x22agent-detail-form-container\x22>\x0a','\x20\x20<md-list\x20ng-repeat=\x22father\x20in\x20vm_pc.navigation[0].children\x22\x20ng-include=\x22\x27permission-nested.html\x27\x22\x20ng-if=\x22vm_pc.agent.role\x20!==\x20\x27admin\x27\x20&&\x20!father.hidden()\x22></md-list>\x0a','\x20\x20<!--\x20Nested\x20navigation\x20template\x20-->\x0a','\x20\x20<script\x20type=\x22text/ng-template\x22\x20id=\x22permission-nested.html\x22>\x0a','\x20\x20\x20\x20\x20\x20<md-list-item>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22{{father.icon}}\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<p\x20translate=\x22{{father.translate}}\x22>{{\x20father.title\x20}}</p>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm_pc.crudPermissions.canEdit\x22></md-switch>\x0a','\x20\x20\x20\x20\x20\x20<md-divider></md-divider>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-list-item\x20ng-repeat=\x22child\x20in\x20father.children\x22\x20ng-if=\x22child.id\x20!==\x20201\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20ng-if=\x22child.icon\x22\x20md-font-icon=\x22{{child.icon}}\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<p\x20translate=\x22{{child.translate}}\x22>{{\x20child.title\x20}}</p>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20ng-model=\x22child.enabled\x22\x20ng-change=\x22vm_pc.onChange(father,\x20child)\x22\x20ng-init=\x22child.enabled\x20=\x20vm_pc.agent.permissions.includes(child.id)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm_pc.crudPermissions.canEdit\x22></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-list-item>\x0a','\x20\x20</script>\x0a','\x20\x20<!--\x20/\x20Nested\x20navigation\x20template\x20-->\x0a','<md-dialog\x20class=\x22team-dialog\x22\x20aria-label=\x22New\x20Team\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22teamForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22STAFF.NAME\x22>Name</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22name\x22\x20\x20ng-model=\x22vm.team.name\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22teamForm[\x27name\x27].$error\x22\x20ng-show=\x22teamForm[\x27name\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22STAFF.ERRORS.NAME_REQUIRED\x22>Name\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22teamForm[\x27description\x27].$error\x22\x20ng-show=\x22teamForm[\x27description\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20!vm.newTeam\x22\x20ng-click=\x22vm.saveTeam()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22teamForm.$invalid\x20||\x20teamForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22teamForm.$invalid\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22STAFF.ADD_TEAM\x22\x20translate-attr-aria-label=\x22STAFF.ADD_TEAM\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20TEAM\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x20&&\x20!vm.newTeam\x22\x20ng-click=\x22vm.deleteTeam($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x0a','<md-dialog\x20class=\x22team-dialog\x22\x20aria-label=\x22team\x22\x20ng-init=\x22vm.onInit()\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22teamForm\x22\x20ng-cloak>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22logo-text\x22\x20translate=\x22STAFF.TEAMS\x22>Teams</span>\x0a','\x20\x20\x20\x20<div\x20ng-show=\x22vm.selectedTeams.length\x20>\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22close-button-wrapper\x22\x20ng-click=\x22vm.selectedTeams\x20=[]\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22selected-teams-count\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22STAFF.MULTI_SELECT_TOGGLE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-icon-button\x22\x20ng-csv=\x22vm.exportSelectedTeams\x22\x20csv-label=\x22true\x22\x20filename=\x22teams.csv\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20TEAM\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22id\x22>{{\x20\x27STAFF.ID\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22name\x22>{{\x20\x27STAFF.NAME\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22description\x22>{{\x20\x27STAFF.DESCRIPTION\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm.teams.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22team\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22team\x20in\x20vm.teams.rows\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22team.userpic\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{team.name}}\x22\x20ng-src=\x22api/users/{{team.id}}/avatar\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22!team.userpic\x20&&\x20(vm.table\x20==\x20\x27users\x27\x20||\x20vm.table\x20==\x20\x27agents\x27)\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{team.name}}\x22\x20ng-src=\x22assets/images/avatars/profile.png\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22id\x20\x22\x20>{{team.id}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.createOrEditTeam($event,\x20team)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22name\x20\x22\x20>{{team.name}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22description\x20\x22\x20>{{team.description}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.editdialog(team,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Team\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.agentadddialog(team,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22STAFF.AGENTADD_TEAM\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AgentAdd\x20Team\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deleteconfirm(team,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27STAFF.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27STAFF.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27STAFF.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm.query.page\x22\x20md-total=\x22{{vm.teams.count}}\x22\x20md-on-paginate=\x22vm.getTeams\x22\x20md-page-select></md-table-pagination>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20TEAM\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20ADD\x20TEAM\x20BUTTON\x20-->\x0a','\x20\x20\x20\x20<md-button\x20ng-if=\x22vm.crudPermissions.canEdit\x22\x20class=\x22md-fab\x20md-accent\x22\x20id=\x22add-team-button\x22\x20ng-click=\x22vm.createOrEditTeam($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20team\x22\x20translate\x20translate-attr-aria-label=\x22STAFF.ADD_TEAM\x22>\x0a','\x20\x20\x20\x20<!--\x20/\x20ADD\x20TEAM\x20BUTTON\x20-->\x0a','<md-dialog\x20class=\x22telephone-dialog\x22\x20aria-label=\x22New\x20Telephone\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22telephoneForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22STAFF.ACCOUNTNAME\x22>Accountname</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22fullname\x22\x20\x20ng-model=\x22vm.telephone.fullname\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22telephoneForm[\x27fullname\x27].$error\x22\x20ng-show=\x22telephoneForm[\x27fullname\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22STAFF.ERRORS.ACCOUNTNAME_REQUIRED\x22>Accountname\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22STAFF.USERNAME\x22>Username</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22name\x22\x20\x20ng-model=\x22vm.telephone.name\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.newTelephone\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22telephoneForm[\x27name\x27].$error\x22\x20ng-show=\x22telephoneForm[\x27name\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22telephoneForm[\x27email\x27].$error\x22\x20ng-show=\x22telephoneForm[\x27email\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22STAFF.ERRORS.EMAIL_REQUIRED\x22>Email\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20class=\x22md-block\x22\x20\x20ng-if=\x22vm.newTelephone\x22\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-placeholder=\x22STAFF.PASSWORD\x22\x20\x20required\x20\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22telephoneForm[\x27password\x27].$error\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22telephoneForm.confirmPassword.$error\x22\x20role=\x22alert\x22\x20multiple>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22STAFF.ERRORS.CONFIRM_REQUIRED\x22>Confirm\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22description\x22\x20\x20ng-model=\x22vm.telephone.description\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22telephoneForm[\x27description\x27].$error\x22\x20ng-show=\x22telephoneForm[\x27description\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.telephone.autointernal\x22\x20aria-label=\x22AutoInternal\x22\x20><span\x20translate=\x22STAFF.AUTOINTERNAL\x22>AutoInternal</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22!vm.telephone.autointernal\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22internal\x22\x20\x20ng-model=\x22vm.telephone.internal\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22telephoneForm[\x27internal\x27].$error\x22\x20ng-show=\x22telephoneForm[\x27internal\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.newTelephone\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.telephone.voicemail\x22\x20aria-label=\x22Voicemail\x22\x20><span\x20translate=\x22STAFF.VOICEMAIL\x22>Voicemail</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20!vm.newTelephone\x22\x20ng-click=\x22vm.saveTelephone()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x20&&\x20!vm.newTelephone\x22\x20ng-click=\x22vm.deleteTelephone($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x0a','app/main/apps/staff/views/telephones/edit/changepassword/changepassword.html','<md-dialog\x20class=\x22telephone-dialog\x22\x20aria-label=\x22{{vm.name}}\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20class=\x22md-block\x22\x20ng-if=\x22vm.currentUser.id\x20==\x20vm.telephone.id\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22telephoneForm.oldPassword.$error\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-pattern=\x22vm.passwordPattern\x22\x20translate-attr-placeholder=\x22STAFF.NEW_PASSWORD\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22telephoneForm.password.$error\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22telephoneForm.confirmPassword.$error\x22\x20role=\x22alert\x22\x20multiple>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20not\x20match</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22telephoneForm.$invalid\x20||\x20telephoneForm.$pristine\x22\x20aria-label=\x22SAVE\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22goto-telephones-button\x20md-icon-button\x22\x20aria-label=\x22Go\x20to\x20telephones\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.gotoTelephones()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22STAFF.GO_TO_TELEPHONES\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22telephone-image\x22\x20hide-xs>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.telephone.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22vm.telephone.name\x22>{{vm.telephone.name}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22STAFF.CREATED_AT\x22></span>\x20<span>{{vm.telephone.createdAt\x20|\x20date:\x27medium\x27}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.changepassworddialog(vm.telephone,\x20$event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22telephone-detail-form-container\x20account\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22STAFF.ACCOUNT\x22>ACCOUNT</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22accountForm[\x27fullname\x27].$error\x22\x20ng-show=\x22accountForm[\x27fullname\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22STAFF.HELP.USERNAME\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22accountForm[\x27name\x27].$error\x22\x20ng-show=\x22accountForm[\x27name\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22accountForm[\x27email\x27].$error\x22\x20ng-show=\x22accountForm[\x27email\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22accountForm[\x27description\x27].$error\x22\x20ng-show=\x22accountForm[\x27description\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22STAFF.MOBILE\x22>Mobile</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22accountForm[\x27mobile\x27].$error\x22\x20ng-show=\x22accountForm[\x27mobile\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22telephone-detail-form-container\x20general\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22!vm.telephone.autointernal\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22transport\x22\x20ng-model=\x22vm.telephone.transport\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27tcp\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>tcp</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>ws</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27wss\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27tls\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22nat\x22\x20ng-model=\x22vm.telephone.nat\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27nat\x27].$error\x22\x20ng-show=\x22generalForm[\x27nat\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22allow\x22\x20ng-model=\x22vm.telephone.allow\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27g722\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27g729\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27opus\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22STAFF.HELP.ALLOWCODECS\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22STAFF.ERRORS.CALLERID_REQUIRED\x22>CallerId\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22callgroup\x22\x20\x20ng-model=\x22vm.telephone.callgroup\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22STAFF.ERRORS.CALLGROUP_REQUIRED\x22>Callgroup\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22videosupport\x22\x20ng-model=\x22vm.telephone.videosupport\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27always\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27videosupport\x27].$error\x22\x20ng-show=\x22generalForm[\x27videosupport\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22STAFF.ENCRYPTION\x22>Encryption</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22encryption\x22\x20ng-model=\x22vm.telephone.encryption\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22STAFF.HELP.ENCRYPTION\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22STAFF.ERRORS.ENCRYPTION_REQUIRED\x22>Encryption\x20field\x20is\x20required</span>\x0a','<div\x20id=\x22telephones\x22\x20class=\x22page-layout\x20simple\x20left-sidenav\x20inner-sidenav\x22>\x0a','\x20\x20\x20\x20<div\x20ng-show=\x22vm.selectedTelephones.length\x20>\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22close-button-wrapper\x22\x20ng-click=\x22vm.selectedTelephones\x20=[]\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22selected-telephones-count\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>{{vm.selectedTelephones.length}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.selectAllTelephones()\x22\x20translate=\x22STAFF.SELECT_ALL\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-icon-button\x22\x20ng-csv=\x22vm.exportSelectedTelephones\x22\x20csv-label=\x22true\x22\x20filename=\x22telephones.csv\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x22\x20ng-click=\x22vm.deleteSelectedTelephones($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20TELEPHONE\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<table\x20md-table\x20\x20md-row-select\x20multiple\x20\x20\x20ng-model=\x22vm.selectedTelephones\x22\x20md-progress=\x22vm.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm.query.sort\x22\x20md-on-reorder=\x22vm.getTelephones\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22fullname\x22>{{\x20\x27STAFF.ACCOUNTNAME\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22name\x22>{{\x20\x27STAFF.USERNAME\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm.telephones.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22telephone\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22telephone\x20in\x20vm.telephones.rows\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22!telephone.userpic\x20&&\x20(vm.table\x20==\x20\x27users\x27\x20||\x20vm.table\x20==\x20\x27agents\x27)\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{telephone.name}}\x22\x20ng-src=\x22assets/images/avatars/profile.png\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(telephone,\x20ev)\x20:\x20vm.createOrEditTelephone($event,\x20telephone)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22name\x20\x22\x20>{{telephone.name}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22email\x20\x22\x20>{{telephone.email}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(telephone,\x20ev)\x20:\x20vm.createOrEditTelephone($event,\x20telephone)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.editstate(telephone,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Telephone\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deleteconfirm(telephone,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22STAFF.DELETE_TELEPHONE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27STAFF.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27STAFF.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27STAFF.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm.query.page\x22\x20md-total=\x22{{vm.telephones.count}}\x22\x20md-on-paginate=\x22vm.getTelephones\x22\x20md-page-select></md-table-pagination>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20TELEPHONE\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20ADD\x20TELEPHONE\x20BUTTON\x20-->\x0a','\x20\x20\x20\x20<md-button\x20ng-if=\x22vm.crudPermissions.canEdit\x22\x20class=\x22md-fab\x20md-accent\x22\x20id=\x22add-telephone-button\x22\x20ng-click=\x22vm.createOrEditTelephone($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20telephone\x22\x20translate\x20translate-attr-aria-label=\x22STAFF.ADD_TELEPHONE\x22>\x0a','app/main/apps/staff/views/userProfiles/create/dialog.html','<md-dialog\x20class=\x22userProfile-dialog\x22\x20aria-label=\x22New\x20UserProfile\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22userProfileForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22name\x22\x20\x20ng-model=\x22vm.userProfile.name\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.newUserProfile\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22userProfileForm[\x27name\x27].$error\x22\x20ng-show=\x22userProfileForm[\x27name\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22description\x22\x20\x20ng-model=\x22vm.userProfile.description\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22userProfileForm[\x27description\x27].$error\x22\x20ng-show=\x22userProfileForm[\x27description\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22crudPermissions\x22\x20ng-model=\x22vm.userProfile.crudPermissions\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20disabled\x20>\x20{{\x20\x27STAFF.READ_PERMISSION\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27e\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27d\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27STAFF.DELETE_PERMISSION\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22userProfileForm[\x27crudPermissions\x27].$error\x22\x20ng-show=\x22userProfileForm[\x27crudPermissions\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22STAFF.ERRORS.CRUDPERMISSIONS_REQUIRED\x22>CrudPermissions\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22userProfileForm.$invalid\x20||\x20userProfileForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.newUserProfile\x22\x20ng-click=\x22vm.addNewUserProfile()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22userProfileForm.$invalid\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20USERPROFILE\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x20&&\x20!vm.newUserProfile\x22\x20ng-click=\x22vm.deleteUserProfile($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x0a','<md-dialog\x20class=\x22userProfile-dialog\x22\x20aria-label=\x22Clone\x20UserProfile\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22STAFF.CRUDPERMISSIONS\x22>CrudPermissions</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27r\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27STAFF.EDIT_PERMISSION\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-click=\x22vm.cloneUserProfile()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22userProfileForm.$invalid\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22CLONE\x22\x20translate=\x22STAFF.CLONE_USERPROFILE\x22\x20translate-attr-aria-label=\x22STAFF.CLONE_USERPROFILE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CLONE\x20USERPROFILE\x0a','<md-dialog\x20class=\x22userProfile-dialog\x22\x20aria-label=\x22userProfile\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22userProfileForm\x22\x20ng-cloak>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22column\x22\x20class=\x22padding-bottom-10\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22row\x22\x20class=\x22padding-bottom-10\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22sections\x22\x20ng-model=\x22vm.selectedSection\x22\x20placeholder=\x22{{\x27STAFF.PERMISSIONS_SELECT_SECTION\x27\x20|\x20translate}}\x22\x20ng-change=\x22vm.onChangeSection()\x22\x20required>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22subsection\x22\x20ng-repeat=\x22subsection\x20in\x20vm.subsections\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22row\x22\x20ng-show=\x22vm.selectedSection\x22\x20class=\x22margin-left-10\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-switch=\x22vm.selectedSection.enabled\x22\x20class=\x22md-icon-button\x20md-fab\x20md-mini\x20size-8\x20padding-10\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22vm.selectedSection.enabled\x20?\x20\x27blue-500-bg\x27\x20:\x20\x27grey-A400-bg\x27\x22\x20ng-click=\x22vm.onChangeVisibility()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22Visibility\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip>{{\x27STAFF.PERMISSIONS_SECTION_HIDE\x27\x20|\x20translate}}</md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20ng-switch-when=\x22false\x22\x20md-font-icon=\x22icon-eye-off\x22\x20aria-label=\x22Hidden\x20section\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x20md-fab\x20md-mini\x20size-8\x20green-A700-bg\x20no-margin\x22\x20ng-disabled=\x22true\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-monitor\x22\x20class=\x22md-background-fg\x22\x20aria-label=\x22Read\x20permission\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip>{{\x27STAFF.READ_PERMISSION\x27\x20|\x20translate}}</md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x20md-fab\x20md-mini\x20size-8\x20no-margin\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22vm.selectedSection.allowEdit\x20?\x20\x27green-A700-bg\x27\x20:\x20\x27grey-A400-bg\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.setPermission(\x27edit\x27)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-pencil\x22\x20aria-label=\x22Edit\x20permission\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip>{{\x27STAFF.EDIT_PERMISSION\x27\x20|\x20translate}}</md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22vm.selectedSection.allowDelete\x20?\x20\x27green-A700-bg\x27\x20:\x20\x27grey-A400-bg\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.setPermission(\x27delete\x27)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-delete\x22\x20aria-label=\x22Delete\x20permission\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip>{{\x27STAFF.DELETE_PERMISSION\x27\x20|\x20translate}}</md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22row\x22\x20ng-show=\x22vm.selectedSection\x22\x20class=\x22margin-left-10\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22!vm.selectedSection.permissions\x20||\x20vm.selectedSection.permissions.association\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20ng-model=\x22vm.selectedSection.autoAssociation\x22\x20class=\x22no-margin\x20padding-right-10\x22\x20aria-label=\x22Auto\x20association\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-change=\x22vm.onChangeAutoAssociation()\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<p\x20class=\x22no-margin\x20font-size-12\x20line-height-30\x22>{{\x27STAFF.PERMISSIONS_AUTO_ASSOCIATION_INFO\x27\x20|\x20translate}}</p>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22row\x22\x20ng-show=\x22vm.selectedSection\x20&&\x20vm.selectedSection.title\x20===\x20\x27Reports\x27\x20&&\x20!vm.selectedSection.autoAssociation\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20flex\x20class=\x22no-margin\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20placeholder=\x22{{\x27STAFF.PERMISSIONS_SELECT_REPORT_TYPE\x27\x20|\x20translate}}\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-change=\x22vm.onChangeReportType()\x22\x20required>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27default\x27\x22>Default</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27custom\x27\x22>Custom</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-show=\x22vm.selectedSection\x20&&\x20vm.selectedSection.title\x20===\x20\x27Dashboards\x27\x22\x20class=\x22user-profile-section-help\x20margin-bottom-10\x20margin-top-20\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-help\x22\x20aria-label=\x22Dashboards\x20help\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22no-margin\x20font-size-12\x20line-height-30\x22\x20translate=\x22STAFF.HELP.CUSTOM_DASHBOARDS_PERMISSIONS\x22></span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<ms-dual-multiselect\x20options=\x22vm.dualMultiselectOptions\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22!vm.selectedSection.permissions\x20||\x20vm.selectedSection.permissions.association\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-dialog-actions\x20layout=\x22row\x22\x20layout-align=\x22end\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-information-outline\x22\x20aria-label=\x22Delete\x20permission\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22no-margin\x20font-size-12\x20line-height-30\x22\x20translate=\x22STAFF.HELP.SAVE_PERMISSIONS\x22></span>\x0a','<div\x20id=\x22staff-userProfile\x22\x20class=\x22page-layout\x20simple\x20tabbed\x22\x20layout=\x22column\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22goto-userProfiles-button\x20md-icon-button\x22\x20aria-label=\x22Go\x20to\x20userProfiles\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22userProfile-image\x22\x20hide-xs>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<img\x20ng-src=\x22assets/images/business/userProfiles.jpg\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.userProfile.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22vm.userProfile.name\x22>{{vm.userProfile.name}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22STAFF.CREATED_AT\x22></span>\x20<span>{{vm.userProfile.createdAt\x20|\x20date:\x27medium\x27}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.clonedialog(vm.userProfile,\x20$event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22md-fab\x20md-amber-500-bg\x20md-icon-button\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-click=\x22vm.saveUserProfile()\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20ng-disabled=\x22(generalForm.$invalid)\x20||\x20(modulesForm.$invalid)\x22\x20translate=\x22STAFF.SAVE\x22\x20translate-attr-aria-label=\x22STAFF.SAVE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22STAFF.SETTINGS\x22>SETTINGS</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22userProfile-detail-form-container\x20general\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27crudPermissions\x27].$error\x22\x20ng-show=\x22generalForm[\x27crudPermissions\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22userProfile-detail-form-container\x20modules\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','<div\x20ng-controller=\x22UserProfilePermissionsController\x20as\x20vm_pc\x22\x20ng-init=\x22vm_pc.init(vm.userProfile,\x20vm.license)\x22\x20class=\x22userProfile-detail-form-container\x22>\x0a','\x20\x20\x20\x20<md-grid-list\x20flex\x20md-cols-gt-xs=\x222\x22\x20md-cols-gt-sm=\x222\x22\x20md-cols-gt-md=\x224\x22\x20md-cols-gt-lg=\x226\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20gt-xs-gutter=\x224px\x22\x20gt-sm-gutter=\x228px\x22\x20gt-md-gutter=\x228px\x22\x20gt-lg-gutter=\x2216px\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-grid-tile\x20ng-repeat=\x22father\x20in\x20vm_pc.modules\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22vm_pc.userProfile.role\x20!==\x20\x27admin\x27\x20&&\x20!father.permissions.hidden\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-colspan=\x222\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-card-header>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-card-avatar>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20class=\x22md-avatar-icon\x20auto-size\x22\x20md-font-icon=\x22{{father.icon}}\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x20true:\x20father.status.color\x20}[true]\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip>{{\x20father.status.info\x20}}</md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-card-avatar>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-card-header-text\x20layout-align=\x22center\x20start\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-title\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22{{father.translate}}\x22>{{\x20father.title\x20}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-card-actions\x20class=\x22no-margin\x22\x20layout=\x22row\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22father.status.tag\x20!=\x20\x27unlicensed\x27\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20class=\x22auto-height\x20no-margin\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-model=\x22father.allResourcesEnabled\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-change=\x22vm_pc.onChangeEnableAllResources(father)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22Enable\x20all\x22></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm_pc.manageResources(father)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-hide=\x22father.permissions\x20&&\x20!father.permissions.association\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-cog\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-card-actions>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x20red-A700-fg\x22>{{\x20father.status.name\x20}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-card-header-text>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-card-header>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20</md-grid-tile>\x0a','\x20\x20\x20\x20</md-grid-list>\x0a','app/main/apps/staff/views/userProfiles/userProfiles.html','<div\x20id=\x22userProfiles\x22\x20class=\x22page-layout\x20simple\x20left-sidenav\x20inner-sidenav\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22logo-text\x22\x20translate=\x22STAFF.USERPROFILES\x22>UserProfiles</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22close-button-wrapper\x22\x20ng-click=\x22vm.selectedUserProfiles\x20=[]\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22selected-userProfiles-count\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>{{vm.selectedUserProfiles.length}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.selectAllUserProfiles()\x22\x20translate=\x22STAFF.SELECT_ALL\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deselectUserProfiles()\x22\x20translate=\x22STAFF.SELECT_NONE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-icon-button\x22\x20ng-csv=\x22vm.exportSelectedUserProfiles\x22\x20csv-label=\x22true\x22\x20filename=\x22userProfiles.csv\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x22\x20ng-click=\x22vm.deleteSelectedUserProfiles($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20USERPROFILE\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm.userProfiles.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22userProfile\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22userProfile\x20in\x20vm.userProfiles.rows\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22userProfile.userpic\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{userProfile.name}}\x22\x20ng-src=\x22api/users/{{userProfile.id}}/avatar\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(userProfile,\x20ev)\x20:\x20vm.createOrEditUserProfile($event,\x20userProfile)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(userProfile,\x20ev)\x20:\x20vm.createOrEditUserProfile($event,\x20userProfile)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22name\x20\x22\x20>{{userProfile.name}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22description\x20\x22\x20>{{userProfile.description}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22crudPermissions\x20\x22>{{userProfile.selectedcrudPermissions}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.editstate(userProfile,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.clonedialog(userProfile,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22STAFF.CLONE_USERPROFILE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20clone\x20UserProfile\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deleteconfirm(userProfile,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27STAFF.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27STAFF.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27STAFF.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm.query.page\x22\x20md-total=\x22{{vm.userProfiles.count}}\x22\x20md-on-paginate=\x22vm.getUserProfiles\x22\x20md-page-select></md-table-pagination>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20ADD\x20USERPROFILE\x20BUTTON\x20-->\x0a','\x20\x20\x20\x20<md-button\x20ng-if=\x22vm.crudPermissions.canEdit\x22\x20class=\x22md-fab\x20md-accent\x22\x20id=\x22add-userProfile-button\x22\x20ng-click=\x22vm.createOrEditUserProfile($event)\x22\x0a','\x20\x20\x20\x20<!--\x20/\x20ADD\x20USERPROFILE\x20BUTTON\x20-->\x0a','<md-dialog\x20class=\x22user-dialog\x22\x20aria-label=\x22New\x20User\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22userForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22STAFF.ROLE\x22>Role</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.newUser\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27admin\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Admin</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22STAFF.ERRORS.ROLE_REQUIRED\x22>Role\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.user.role\x20===\x20\x27user\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22STAFF.USERPROFILE\x22>UserProfile</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22userProfileId\x22\x20ng-model=\x22vm.user.userProfileId\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22userProfileId.id\x22\x20ng-repeat=\x22userProfileId\x20in\x20vm.userProfiles\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22userForm[\x27userProfileId\x27].$error\x22\x20ng-show=\x22userForm[\x27userProfileId\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22STAFF.ERRORS.USERPROFILE_REQUIRED\x22>UserProfile\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22STAFF.ERRORS.FULLNAME_REQUIRED\x22>Fullname\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22name\x22\x20\x20ng-model=\x22vm.user.name\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22userForm[\x27name\x27].$error\x22\x20ng-show=\x22userForm[\x27name\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22email\x22\x20name=\x22email\x22\x20\x20ng-model=\x22vm.user.email\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22userForm[\x27email\x27].$error\x22\x20ng-show=\x22userForm[\x27email\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20class=\x22md-block\x22\x20\x20ng-if=\x22vm.newUser\x22\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22password\x22\x20name=\x22password\x22\x20ng-model=\x22vm.user.password\x22\x20placeholder=\x22Password\x22\x20\x20ng-pattern=\x22vm.passwordPattern\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22userForm[\x27password\x27].$error\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20class=\x22md-block\x22\x20ng-if=\x22vm.newUser\x20\x20&&\x20(vm.newUser)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.user.autointernal\x22\x20aria-label=\x22AutoInternal\x22\x20><span\x20translate=\x22STAFF.AUTOINTERNAL\x22>AutoInternal</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22!vm.user.autointernal\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22internal\x22\x20\x20ng-model=\x22vm.user.internal\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20!vm.newUser\x22\x20ng-click=\x22vm.saveUser()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.newUser\x22\x20ng-click=\x22vm.addNewUser()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20USER\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x20&&\x20!vm.newUser\x22\x20ng-click=\x22vm.deleteUser($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x0a','<md-dialog\x20class=\x22user-dialog\x22\x20aria-label=\x22{{vm.name}}\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-card\x20layout-fill\x20layout-padding>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<textarea\x20class=\x22api-key-area\x22\x20ng-model=\x22vm.user.apiKey\x22\x20rows=\x226\x22\x20disabled></textarea>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-click=\x22vm.generateApiKey()\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20aria-label=\x22Generate\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Generate\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-click=\x22vm.removeApiKey()\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20aria-label=\x22Remove\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22STAFF.REMOVE\x22\x20translate-attr-aria-label=\x22STAFF.DELETE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x0a','app/main/apps/staff/views/users/edit/changepassword/changepassword.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20class=\x22md-block\x22\x20ng-if=\x22vm.currentUser.id\x20==\x20vm.user.id\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22userForm.password.$error\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20character\x20and\x201\x20special\x20character\x20~!?*@#$%^&-_=+[{]}.</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22userForm.confirmPassword.$error\x22\x20role=\x22alert\x22\x20multiple>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-click=\x22vm.savePassword()\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22userForm.$invalid\x20||\x20userForm.$pristine\x22\x20aria-label=\x22SAVE\x22\x0a','<div\x20id=\x22staff-user\x22\x20class=\x22page-layout\x20simple\x20tabbed\x22\x20layout=\x22column\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22goto-users-button\x20md-icon-button\x22\x20aria-label=\x22Go\x20to\x20users\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.gotoUsers()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22user-image\x22\x20hide-xs>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.user.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22vm.user.name\x22>{{vm.user.name}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22STAFF.CREATED_AT\x22></span>\x20<span>{{vm.user.createdAt\x20|\x20date:\x27medium\x27}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.apikeymanagerdialog(vm.user,\x20$event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22apikeymanager\x22\x20\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip><span\x20translate=\x22STAFF.APIKEYMANAGER_USER\x22></span></md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22fab\x20fa-hubspot\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.changepassworddialog(vm.user,\x20$event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip><span\x20translate=\x22STAFF.CHANGEPASSWORD_USER\x22></span></md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-click=\x22vm.saveUser()\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20ng-disabled=\x22(personal_infoForm.$invalid)\x20||\x20(security_suiteForm.$invalid)\x20||\x20(change_avatarForm.$invalid)\x20||\x20(generalForm.$invalid)\x22\x20translate=\x22STAFF.SAVE\x22\x20translate-attr-aria-label=\x22STAFF.SAVE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22user-detail-form-container\x20personal_info\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22STAFF.PERSONAL_INFO\x22>PERSONAL_INFO</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22role\x22\x20ng-model=\x22vm.user.role\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>User</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22personal_infoForm[\x27role\x27].$error\x22\x20ng-show=\x22personal_infoForm[\x27role\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22userProfileId.canSelect\x20===\x20false\x22>{{\x20userProfileId.name\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22personal_infoForm[\x27userProfileId\x27].$error\x22\x20ng-show=\x22personal_infoForm[\x27userProfileId\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22fullname\x22\x20\x20ng-model=\x22vm.user.fullname\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22personal_infoForm[\x27email\x27].$error\x22\x20ng-show=\x22personal_infoForm[\x27email\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22phone\x22\x20\x20ng-model=\x22vm.user.phone\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22mobile\x22\x20\x20ng-model=\x22vm.user.mobile\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22STAFF.ERRORS.MOBILE_REQUIRED\x22>Mobile\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22description\x22\x20\x20ng-model=\x22vm.user.description\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22user-detail-form-container\x20security_suite\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22STAFF.LAST_PASSWORD_RESET_AT\x22>Last_Password_Reset_At</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22passwordResetAt\x22\x20\x20ng-model=\x22vm.user.passwordResetAt\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.user.passwordResetAt\x20==\x20null\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22STAFF.NO_PASSWORD_CHANGE\x22>No_Password_Change</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22STAFF.ERRORS.NO_PASSWORD_CHANGE_REQUIRED\x22>No_Password_Change\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-button\x20md-fab\x20md-mini\x20md-primary\x22\x20ngclipboard\x20data-clipboard-target=\x22#copytoclipboard-apiKey\x22\x20ngclipboard-success=\x22vm.alert({title:\x20\x27copied\x20to\x20clipboard\x27,\x20msg:\x20e.text});\x22\x20ngclipboard-error=\x22vm.alert({title:\x20\x27error\x27,\x20msg:\x20\x27copy\x20to\x20clipboard\x20failed\x27});\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20class=\x22md-input\x22\x20type=\x22text\x22\x20id=\x22copytoclipboard-apiKey\x22\x20name=\x22apiKey\x22\x20\x20ng-model=\x22vm.user.apiKey\x22\x20\x20ng-readonly=\x22true\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22STAFF.HELP.APIKEY\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.user.id\x20!=\x20vm.currentUser.id\x20&&\x20vm.currentUser.role\x20==\x20\x27admin\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.user.disabled\x22\x20aria-label=\x22Disabled\x22\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20><span\x20translate=\x22STAFF.DISABLED\x22>Disabled</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.user.blocked\x22\x20aria-label=\x22Blocked\x22\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20><span\x20translate=\x22STAFF.BLOCKED\x22>Blocked</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22user-detail-form-container\x20change_avatar\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22STAFF.CHANGE_AVATAR\x22>CHANGE_AVATAR</div>\x0a','<div\x20ng-controller=\x22Userchange_avatarController\x20as\x20vm_ca\x22\x20ng-init=\x22vm_ca.init(vm.user,\x20vm.crudPermissions)\x22\x20class=\x22user-detail-form-container\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20<div\x20id=\x22user-image-uploader\x22\x20flow-init=\x22vm_ca.ngFlowOptions\x22\x20flow-name=\x22vm_ca.ngFlow.flow\x22\x20flow-files-submitted=\x22vm_ca.upload()\x22\x20flow-file-added=\x22vm_ca.fileAdded($file)\x22\x20flow-file-success=\x22vm_ca.fileSuccess($file,\x20$message)\x22\x20flow-complete=\x22vm_ca.uploadComplete()\x22\x20flow-drop\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-repeat=\x22change_avatarimage\x20in\x20vm_ca.user.images\x22\x20ng-switch=\x22change_avatarimage.type\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22user-image\x20uploading\x22\x20ng-switch-when=\x22uploading\x22\x20layout=\x22row\x22\x20layout-align=\x22center\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22user-image\x22\x20ng-switch-when=\x22image\x22\x20layout=\x22row\x22\x20layout-align=\x22center\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22user-detail-form-container\x20general\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22STAFF.GENERAL\x22>GENERAL</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22!vm.user.autointernal\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22transport\x22\x20ng-model=\x22vm.user.transport\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>never</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22allow\x22\x20ng-model=\x22vm.user.allow\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22context\x22\x20ng-model=\x22vm.user.context\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22callgroup\x22\x20\x20ng-model=\x22vm.user.callgroup\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22pickupgroup\x22\x20\x20ng-model=\x22vm.user.pickupgroup\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22STAFF.APIKEY\x22>ApiKey</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22STAFF.VIDEOSUPPORT\x22>Videosupport</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Yes</md-option>\x0a','<div\x20id=\x22users\x22\x20class=\x22page-layout\x20simple\x20left-sidenav\x20inner-sidenav\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22logo-text\x22\x20translate=\x22STAFF.USERS\x22>Users</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22close-button-wrapper\x22\x20ng-click=\x22vm.selectedUsers\x20=[]\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>{{vm.selectedUsers.length}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.selectAllUsers()\x22\x20translate=\x22STAFF.SELECT_ALL\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deselectUsers()\x22\x20translate=\x22STAFF.SELECT_NONE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-icon-button\x22\x20ng-csv=\x22vm.exportSelectedUsers\x22\x20csv-label=\x22true\x22\x20filename=\x22users.csv\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20USER\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<table\x20md-table\x20\x20md-row-select\x20multiple\x20\x20\x20ng-model=\x22vm.selectedUsers\x22\x20md-progress=\x22vm.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm.query.sort\x22\x20md-on-reorder=\x22vm.getUsers\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22role\x22>{{\x20\x27STAFF.ROLE\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22userProfileId\x22>{{\x20\x27STAFF.USERPROFILE\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22fullname\x22>{{\x20\x27STAFF.FULLNAME\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20colspan=\x2211\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22user\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22user\x20in\x20vm.users.rows\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22user.userpic\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{user.name}}\x22\x20ng-src=\x22api/users/{{user.id}}/avatar\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22!user.userpic\x20&&\x20(vm.table\x20==\x20\x27users\x27\x20||\x20vm.table\x20==\x20\x27agents\x27)\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{user.name}}\x22\x20ng-src=\x22assets/images/avatars/profile.png\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(user,\x20ev)\x20:\x20vm.createOrEditUser($event,\x20user)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22role\x20\x22>{{\x20vm.arrayrole[user.role].option\x20}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(user,\x20ev)\x20:\x20vm.createOrEditUser($event,\x20user)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22userProfileId\x20font-weight-600\x22>{{\x20(vm.userProfiles\x20|\x20filter\x20:\x20{\x27id\x27:user.userProfileId}\x20:\x20true)[0].name\x20}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(user,\x20ev)\x20:\x20vm.createOrEditUser($event,\x20user)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(user,\x20ev)\x20:\x20vm.createOrEditUser($event,\x20user)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22name\x20\x22\x20>{{user.name}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22email\x20\x22\x20>{{user.email}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22phone\x20\x22\x20>{{user.phone}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22mobile\x20\x22\x20>{{user.mobile}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22internal\x20\x22\x20>{{user.internal}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(user,\x20ev)\x20:\x20vm.createOrEditUser($event,\x20user)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22disabled\x20\x22><md-icon\x20md-colors=\x22{color:\x20{{user.disabled\x20?\x20\x27\x5c\x27green\x5c\x27\x27\x20:\x20\x27\x5c\x27grey\x5c\x27\x27}}}\x22\x20md-font-icon=\x22{{user.disabled\x20?\x20\x27icon-check\x27\x20:\x20\x27icon-close\x27}}\x22></md-icon></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(user,\x20ev)\x20:\x20vm.createOrEditUser($event,\x20user)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22blocked\x20\x22><md-icon\x20md-colors=\x22{color:\x20{{user.blocked\x20?\x20\x27\x5c\x27green\x5c\x27\x27\x20:\x20\x27\x5c\x27grey\x5c\x27\x27}}}\x22\x20md-font-icon=\x22{{user.blocked\x20?\x20\x27icon-check\x27\x20:\x20\x27icon-close\x27}}\x22></md-icon></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.editstate(user,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22STAFF.EDIT_USER\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-item\x20\x20ng-if=\x22vm.currentUser.role\x20===\x20\x27admin\x27\x20&&\x20user.id\x20!==\x20vm.currentUser.id\x22\x20\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deleteconfirm(user,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22STAFF.DELETE_USER\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20User\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27STAFF.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27STAFF.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27STAFF.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm.query.page\x22\x20md-total=\x22{{vm.users.count}}\x22\x20md-on-paginate=\x22vm.getUsers\x22\x20md-page-select></md-table-pagination>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20ADD\x20USER\x20BUTTON\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20user\x22\x20translate\x20translate-attr-aria-label=\x22STAFF.ADD_USER\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-auto-fix\x22\x20class=\x22s24\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22logo-text\x22\x20translate=\x22TOOLS.CANNEDANSWERS\x22>CannedAnswers</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20id=\x22search\x22\x20placeholder=\x22Search\x20for\x20anyone\x22\x20type=\x22text\x22\x20ng-model=\x22vm.query.filter\x22\x20ng-model-options=\x22{\x20debounce:\x201000\x20}\x22\x20translate\x20translate-attr-placeholder=\x22TOOLS.SEARCH_FOR_ANYONE\x22>\x0a','\x20\x20\x20\x20<div\x20ng-show=\x22vm.selectedCannedAnswers.length\x20>\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22close-button-wrapper\x22\x20ng-click=\x22vm.selectedCannedAnswers\x20=[]\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.BACK\x22>Back</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>{{vm.selectedCannedAnswers.length}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.SELECTED\x22>selected</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22TOOLS.MULTI_SELECT_TOGGLE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.selectAllCannedAnswers()\x22\x20translate=\x22TOOLS.SELECT_ALL\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deselectCannedAnswers()\x22\x20translate=\x22TOOLS.SELECT_NONE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-icon-button\x22\x20ng-csv=\x22vm.exportSelectedCannedAnswers\x22\x20csv-label=\x22true\x22\x20filename=\x22cannedAnswers.csv\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22TOOLS.DELETE_SELECTED\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20CANNEDANSWER\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<table\x20md-table\x20\x20md-row-select\x20multiple\x20\x20\x20ng-model=\x22vm.selectedCannedAnswers\x22\x20md-progress=\x22vm.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm.query.sort\x22\x20md-on-reorder=\x22vm.getCannedAnswers\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22id\x22>{{\x20\x27TOOLS.ID\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22key\x22>{{\x20\x27TOOLS.KEY\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22description\x22>{{\x20\x27TOOLS.DESCRIPTION\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm.cannedAnswers.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.NO_AVAILABLE_INFO\x22>No\x20Available\x20Info</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22cannedAnswer\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22cannedAnswer\x20in\x20vm.cannedAnswers.rows\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22cannedAnswer.userpic\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{cannedAnswer.name}}\x22\x20ng-src=\x22api/users/{{cannedAnswer.id}}/avatar\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22!cannedAnswer.userpic\x20&&\x20(vm.table\x20==\x20\x27users\x27\x20||\x20vm.table\x20==\x20\x27agents\x27)\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{cannedAnswer.name}}\x22\x20ng-src=\x22assets/images/avatars/profile.png\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.createOrEditCannedAnswer($event,\x20cannedAnswer)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22id\x20\x22\x20>{{cannedAnswer.id}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.createOrEditCannedAnswer($event,\x20cannedAnswer)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22description\x20\x22\x20>{{cannedAnswer.description}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22TOOLS.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.editdialog(cannedAnswer,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22TOOLS.EDIT_CANNEDANSWER\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20CannedAnswer\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22TOOLS.DELETE_CANNEDANSWER\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20CANNEDANSWER\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20ADD\x20CANNEDANSWER\x20BUTTON\x20-->\x0a','<md-dialog\x20class=\x22cannedAnswer-dialog\x22\x20aria-label=\x22New\x20CannedAnswer\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22cannedAnswerForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22key\x22\x20\x20ng-model=\x22vm.cannedAnswer.key\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22cannedAnswerForm[\x27key\x27].$error\x22\x20ng-show=\x22cannedAnswerForm[\x27key\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.ERRORS.KEY_REQUIRED\x22>Key\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.ERRORS.KEY_MAX_LENGTH\x22\x20translate-values=\x27{max:\x20255}\x27>Key\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22TOOLS.VALUE\x22>Value</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<textarea\x20name=\x22value\x22\x20ng-model=\x22vm.cannedAnswer.value\x22\x20\x20required\x20\x20></textarea>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.ERRORS.VALUE_REQUIRED\x22>Value\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22TOOLS.DESCRIPTION\x22>Description</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22description\x22\x20\x20ng-model=\x22vm.cannedAnswer.description\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.ERRORS.DESCRIPTION_REQUIRED\x22>Description\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22cannedAnswerForm.$invalid\x20||\x20cannedAnswerForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22TOOLS.SAVE\x22\x20translate-attr-aria-label=\x22TOOLS.SAVE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.newCannedAnswer\x22\x20ng-click=\x22vm.addNewCannedAnswer()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20CANNEDANSWER\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x20&&\x20!vm.newCannedAnswer\x22\x20ng-click=\x22vm.deleteCannedAnswer($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22TOOLS.DELETE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip><span\x20translate=\x22TOOLS.DELETE\x22>DELETE</span></md-tooltip>\x0a','<md-dialog\x20class=\x22customDashboard-dialog\x22\x20aria-label=\x22New\x20CustomDashboard\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22customDashboardForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22TOOLS.NAME\x22>Name</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22name\x22\x20\x20ng-model=\x22vm.customDashboard.name\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22customDashboardForm[\x27name\x27].$error\x22\x20ng-show=\x22customDashboardForm[\x27name\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.ERRORS.NAME_REQUIRED\x22>Name\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22description\x22\x20\x20ng-model=\x22vm.customDashboard.description\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20!vm.newCustomDashboard\x22\x20ng-click=\x22vm.saveCustomDashboard()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22customDashboardForm.$invalid\x20||\x20customDashboardForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22customDashboardForm.$invalid\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22TOOLS.ADD_CUSTOMDASHBOARD\x22\x20translate-attr-aria-label=\x22TOOLS.ADD_CUSTOMDASHBOARD\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20CUSTOMDASHBOARD\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x20&&\x20!vm.newCustomDashboard\x22\x20ng-click=\x22vm.deleteCustomDashboard($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x0a','<div\x20id=\x22customDashboards\x22\x20class=\x22page-layout\x20simple\x20left-sidenav\x20inner-sidenav\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22logo-text\x22\x20translate=\x22TOOLS.CUSTOMDASHBOARDS\x22>CustomDashboards</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22close-button-wrapper\x22\x20ng-click=\x22vm.selectedCustomDashboards\x20=[]\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22selected-customDashboards-count\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>{{vm.selectedCustomDashboards.length}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.selectAllCustomDashboards()\x22\x20translate=\x22TOOLS.SELECT_ALL\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deselectCustomDashboards()\x22\x20translate=\x22TOOLS.SELECT_NONE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-icon-button\x22\x20ng-csv=\x22vm.exportSelectedCustomDashboards\x22\x20csv-label=\x22true\x22\x20filename=\x22customDashboards.csv\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20CUSTOMDASHBOARD\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<table\x20md-table\x20\x20md-row-select\x20multiple\x20\x20\x20ng-model=\x22vm.selectedCustomDashboards\x22\x20md-progress=\x22vm.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm.query.sort\x22\x20md-on-reorder=\x22vm.getCustomDashboards\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22name\x22>{{\x20\x27TOOLS.NAME\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm.customDashboards.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22customDashboard\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22customDashboard\x20in\x20vm.customDashboards.rows\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22customDashboard.userpic\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{customDashboard.name}}\x22\x20ng-src=\x22api/users/{{customDashboard.id}}/avatar\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22!customDashboard.userpic\x20&&\x20(vm.table\x20==\x20\x27users\x27\x20||\x20vm.table\x20==\x20\x27agents\x27)\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{customDashboard.name}}\x22\x20ng-src=\x22assets/images/avatars/profile.png\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(customDashboard,\x20ev)\x20:\x20vm.createOrEditCustomDashboard($event,\x20customDashboard)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22id\x20\x22\x20>{{customDashboard.id}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(customDashboard,\x20ev)\x20:\x20vm.createOrEditCustomDashboard($event,\x20customDashboard)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22name\x20\x22\x20>{{customDashboard.name}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.editstate(customDashboard,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22TOOLS.EDIT_CUSTOMDASHBOARD\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20CustomDashboard\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.clonedialog(customDashboard,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22TOOLS.CLONE_CUSTOMDASHBOARD\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.gotodashboardgoto(customDashboard,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22TOOLS.GOTODASHBOARD_CUSTOMDASHBOARD\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20goToDashboard\x20CustomDashboard\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deleteconfirm(customDashboard,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22TOOLS.DELETE_CUSTOMDASHBOARD\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20CustomDashboard\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20CUSTOMDASHBOARD\x20TABLE\x20-->\x0a','\x20\x20\x20\x20<md-button\x20ng-if=\x22vm.crudPermissions.canEdit\x22\x20class=\x22md-fab\x20md-accent\x22\x20id=\x22add-customDashboard-button\x22\x20ng-click=\x22vm.createOrEditCustomDashboard($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20customDashboard\x22\x20translate\x20translate-attr-aria-label=\x22TOOLS.ADD_CUSTOMDASHBOARD\x22>\x0a','\x20\x20\x20\x20<!--\x20/\x20ADD\x20CUSTOMDASHBOARD\x20BUTTON\x20-->\x0a','<md-dialog\x20class=\x22customDashboard-dialog\x22\x20aria-label=\x22Clone\x20CustomDashboard\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22customDashboardForm.$invalid\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22CLONE\x22\x20translate=\x22TOOLS.CLONE_CUSTOMDASHBOARD\x22\x20translate-attr-aria-label=\x22TOOLS.CLONE_CUSTOMDASHBOARD\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CLONE\x20CUSTOMDASHBOARD\x0a','\x20\x20\x20\x20<form\x20name=\x22dashboarditemForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22type\x22\x20ng-model=\x22vm.dashboarditem.type\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.newDashboardItem\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27counter\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27TOOLS.COUNTER\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27multibar-chart\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27TOOLS.MULTIBARCHART\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27pie-chart\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27TOOLS.PIECHART\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27web-report\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27TOOLS.WEBREPORT\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27iframe\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27clock\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27TOOLS.CLOCK\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27TOOLS.CUSTOMTYPE\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.ERRORS.TYPE_REQUIRED\x22>Type\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22TOOLS.TITLE\x22>Title</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22title\x22\x20\x20ng-model=\x22vm.dashboarditem.title\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.ERRORS.TITLE_REQUIRED\x22>Title\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.ERRORS.TITLE_MAX_LENGTH\x22\x20translate-values=\x27{max:\x20255}\x27>Title\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.dashboarditem.type\x20==\x20\x27iframe\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22TOOLS.URL\x22>Url</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22dashboarditemForm[\x27attrUrl\x27].$error\x22\x20ng-show=\x22dashboarditemForm[\x27attrUrl\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.ERRORS.URL_REQUIRED\x22>Url\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.ERRORS.URL_MUST_VALID_URL\x22>Url\x20must\x20be\x20a\x20valid\x20url\x20http://www.xcally.com</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.dashboarditem.type\x20==\x20\x27custom\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22TOOLS.PATH\x22>Path</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22attrPath\x22\x20\x20ng-model=\x22vm.dashboarditem.attrPath\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.ERRORS.PATH_REQUIRED\x22>Path\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.dashboarditem.type\x20==\x20\x27clock\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22TOOLS.FORMAT\x22>Format</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22attrHourFormat\x22\x20\x20ng-model=\x22vm.dashboarditem.attrHourFormat\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.ERRORS.FORMAT_REQUIRED\x22>Format\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22attrTimezone\x22\x20ng-model=\x22vm.dashboarditem.attrTimezone\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27-12.00\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>GMT-12.00</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27-11.00\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>GMT-11.00</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27-10.00\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>GMT-10.00</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27-9.00\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>GMT-9.00</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27-8.00\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27-7.00\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>GMT-7.00</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27-6.00\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>GMT-6.00</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27-5.00\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>GMT-5.00</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27-3.30\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27-3.00\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27-2.00\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>GMT-2.00</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27-1.00\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>GMT-1.00</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x271.00\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x272.00\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>GMT+2.00</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>GMT+3.00</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x273.30\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>GMT+3.30</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x274.00\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>GMT+4.00</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x274.30\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>GMT+4.30</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x275.00\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>GMT+5.00</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x275.30\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>GMT+5.45</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x276.00\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>GMT+6.00</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x276.30\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>GMT+6.30</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x277.00\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>GMT+7.00</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x278.00\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>GMT+8.00</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x279.30\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x2710.00\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>GMT+10.00</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x2711.00\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>GMT+11.00</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x2712.00\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x2713.00\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>GMT+13.00</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.ERRORS.TIMEZONE_REQUIRED\x22>Timezone\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.dashboarditem.type\x20==\x20\x27counter\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22TOOLS.METRIC\x22>Metric</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22attrMetric\x22\x20ng-model=\x22vm.dashboarditem.attrMetric\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27total\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27TOOLS.TOTAL\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27abandoned\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27TOOLS.ABANDONED\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27waiting\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27TOOLS.WAITING\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27talking\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27TOOLS.TALKING\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27answered\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27TOOLS.ANSWERED\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27unmanaged\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27TOOLS.UNMANAGED\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22dashboarditemForm[\x27attrMetric\x27].$error\x22\x20ng-show=\x22dashboarditemForm[\x27attrMetric\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.ERRORS.METRIC_REQUIRED\x22>Metric\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22[\x27multibar-chart\x27,\x20\x27pie-chart\x27].includes(vm.dashboarditem.type)\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22TOOLS.SERIE1\x22>Serie1</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22attrSerie1\x22\x20ng-model=\x22vm.dashboarditem.attrSerie1\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22dashboarditemForm[\x27attrSerie1\x27].$error\x22\x20ng-show=\x22dashboarditemForm[\x27attrSerie1\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.ERRORS.SERIE1_REQUIRED\x22>Serie1\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27TOOLS.NONE\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22dashboarditemForm[\x27attrSerie2\x27].$error\x22\x20ng-show=\x22dashboarditemForm[\x27attrSerie2\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.ERRORS.SERIE2_REQUIRED\x22>Serie2\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22TOOLS.SERIE3\x22>Serie3</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22attrSerie3\x22\x20ng-model=\x22vm.dashboarditem.attrSerie3\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27null\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22dashboarditemForm[\x27attrSerie3\x27].$error\x22\x20ng-show=\x22dashboarditemForm[\x27attrSerie3\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.dashboarditem.type\x20==\x20\x27web-report\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22TOOLS.REPORT\x22>Report</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22search\x22\x20name=\x22report\x22\x20\x20ng-model=\x22vm.dashboarditem.report\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autocomplete=\x22off\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.searchReport()\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-magnify\x22\x20ng-click=\x22vm.searchReport()\x22\x20aria-label=\x22Search\x20Report\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.ERRORS.REPORT_REQUIRED\x22>Report\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.dashboarditem.type\x20==\x20\x27web-report\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22attrRefresh\x22\x20\x20ng-model=\x22vm.dashboarditem.attrRefresh\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.ERRORS.REFRESH_REQUIRED\x22>Refresh\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.ERRORS.REFRESH_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>Refresh\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>5</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22[\x27multibar-chart\x27,\x20\x27pie-chart\x27,\x20\x27counter\x27].includes(vm.dashboarditem.type)\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22TOOLS.FILTERVOICEQUEUES\x22>FilterVoiceQueues</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22attrVoiceQueues\x22\x20ng-model=\x22vm.dashboarditem.attrVoiceQueues\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22attrVoiceQueues.canSelect\x20===\x20false\x22>{{\x20attrVoiceQueues.name\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22dashboarditemForm[\x27attrVoiceQueues\x27].$error\x22\x20ng-show=\x22dashboarditemForm[\x27attrVoiceQueues\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.ERRORS.FILTERVOICEQUEUES_REQUIRED\x22>FilterVoiceQueues\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x2212\x22\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20max=\x2240\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22dashboarditemForm[\x27attrFontSize\x27].$error\x22\x20ng-show=\x22dashboarditemForm[\x27attrFontSize\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.ERRORS.FONTSIZE_REQUIRED\x22>FontSize\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.ERRORS.FONTSIZE_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>FontSize\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>12</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.ERRORS.FONTSIZE_MUST_BE_LESS_THAN_OR_EQUAL_TO\x22>FontSize\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>40</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20flex\x20md-color-picker\x20ng-model=\x22vm.dashboarditem.foreground\x22\x20label=\x22{{\x27TOOLS.FOREGROUND\x27\x20|\x20translate}}\x22\x20md-color-hex=\x22true\x22\x20md-color-rgb=\x22false\x22\x20md-color-hsl=\x22false\x22\x20md-color-history=\x22false\x22\x20md-color-material-palette=\x22false\x22\x20md-color-alpha-channel=\x22false\x22\x20open-on-input=\x22true\x22></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22TOOLS.LINK\x22>link</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22url\x22\x20name=\x22link\x22\x20\x20ng-model=\x22vm.dashboarditem.link\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.ERRORS.LINK_REQUIRED\x22>link\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.ERRORS.LINK_MUST_VALID_URL\x22>link\x20must\x20be\x20a\x20valid\x20url\x20http://www.xcally.com</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.newDashboardItem\x22\x20ng-click=\x22vm.addNewDashboardItem()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22TOOLS.ADD_DASHBOARDITEM\x22\x20translate-attr-aria-label=\x22TOOLS.ADD_DASHBOARDITEM\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20DASHBOARDITEM\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x20&&\x20!vm.newDashboardItem\x22\x20ng-click=\x22vm.deleteDashboardItem($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22goto-customDashboards-button\x20md-icon-button\x22\x20aria-label=\x22Go\x20to\x20customDashboards\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.gotoCustomDashboards()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22TOOLS.GO_TO_CUSTOMDASHBOARDS\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22customDashboard-image\x22\x20hide-xs>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<img\x20ng-src=\x22assets/images/business/customDashboards.jpg\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.customDashboard.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.CREATED_AT\x22></span>\x20<span>{{vm.customDashboard.createdAt\x20|\x20date:\x27medium\x27}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.clonedialog(vm.customDashboard,\x20$event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.gotogoto(vm.customDashboard,\x20$event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.SETTINGS\x22>SETTINGS</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22TOOLS.GENERAL\x22>GENERAL</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.DASHBOARD\x22>DASHBOARD</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22customDashboard-detail-form-container\x20dashboard\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-controller=\x22CustomDashboardItemsController\x20as\x20vm_cd\x22\x20ng-init=\x22vm_cd.init(vm.customDashboard,\x20vm.crudPermissions)\x22\x20class=\x22customDashboard-detail-form-container\x20no-padding\x20no-margin\x22\x20layout=\x22column\x22>\x0a','\x20\x20\x20\x20<div\x20ng-if=\x22vm_cd.customDashboard.widgets.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-content\x20flex>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<ms-widget-engine\x20config=\x22vm_cd.customDashboard\x22\x20on-edit=\x22vm_cd.createOrEditWidget(widget)\x22\x20on-delete=\x22vm_cd.deleteWidget(widget)\x22></ms-widget-engine>\x0a','\x20\x20\x20\x20<div\x20ng-if=\x22!vm_cd.customDashboard.widgets.length\x22\x20layout=\x22row\x22\x20layout-align=\x22center\x20center\x22\x20flex>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22width-130\x20height-130\x20md-accent\x20md-raised\x22\x20ng-click=\x22vm_cd.createOrEditWidget()\x22\x20aria-label=\x22add\x20item\x22\x20layout=\x22column\x22\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-plus-circle\x22\x20class=\x22s50\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20layout-wrap\x20translate=\x22TOOLS.ADD_WIDGET\x22></span>\x0a','<md-dialog\x20class=\x22report-selection-dialog\x22\x20aria-label=\x22Report\x20Selection\x22\x20flex=\x2260\x22>\x0a','\x20\x20\x20\x20<md-toolbar>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h2>Select\x20Report</h2>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20flex></span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm.closeReportDialog()\x22>\x0a','\x20\x20\x20\x20<md-dialog-content>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-card\x20class=\x22padding-10\x20scrollable\x22\x20ms-scroll>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20js-tree=\x22vm.treeConfig\x22\x20tree-events-obj=\x22vm.treeDefaultEvents\x22\x20ng-model=\x22vm.treeDefaultData\x22\x20tree=\x22vm.treeDefaultInstance\x22></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20js-tree=\x22vm.treeConfig\x22\x20tree-events-obj=\x22vm.treeCustomEvents\x22\x20ng-model=\x22vm.treeCustomData\x22\x20tree=\x22vm.treeCustomInstance\x22></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-default\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22md-toolbar-tools\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22h2\x20secondary-text\x22>{{vm.currentNode.text}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<p\x20ng-if=\x22vm.currentPath\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22text-boxed\x22>{{vm.currentPath}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm.query.sort\x22\x20md-on-reorder=\x22vm.getReports\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22id\x22\x20width=\x2210px\x22>{{\x20\x22ANALYTICS.ID\x22\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22name\x22>{{\x20\x22ANALYTICS.NAME\x22\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22description\x22>{{\x20\x22ANALYTICS.DESCRIPTION\x22\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm.reports.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22ANALYTICS.NO_AVAILABLE_INFO\x22>No\x20Available\x20Info</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22report\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22report\x20in\x20vm.reports.rows\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20class=\x22name\x22>{{\x20report.name\x20}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20class=\x22description\x22>{{\x20report.description\x20}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20class=\x22createdAt\x22>{{\x20report.createdAt\x20|\x20date:\x20\x22medium\x22\x20}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-table-pagination\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-limit=\x22vm.query.limit\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-page=\x22vm.query.page\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-total=\x22{{\x20vm.reports.count\x20}}\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-page-select\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20></md-table-pagination>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<span\x20flex></span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-raised\x22\x20ng-click=\x22vm.closeReportDialog()\x22>CANCEL</md-button>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-accent\x20md-raised\x22\x20ng-click=\x22vm.selectReport()\x22>CONFIRM</md-button>\x0a','<md-dialog\x20class=\x22disposition-dialog\x22\x20aria-label=\x22New\x20Disposition\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22name\x22\x20\x20ng-model=\x22vm.disposition.name\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22dispositionForm[\x27name\x27].$error\x22\x20ng-show=\x22dispositionForm[\x27name\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.ERRORS.NAME_MAX_LENGTH\x22\x20translate-values=\x27{max:\x20255}\x27>Name\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20!vm.newDisposition\x22\x20ng-click=\x22vm.saveDisposition()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.newDisposition\x22\x20ng-click=\x22vm.addNewDisposition()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22dispositionForm.$invalid\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22TOOLS.ADD_DISPOSITION\x22\x20translate-attr-aria-label=\x22TOOLS.ADD_DISPOSITION\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x20&&\x20!vm.newDisposition\x22\x20ng-click=\x22vm.deleteDisposition($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x0a','app/main/apps/tools/views/dispositions/dispositions.html','<div\x20id=\x22dispositions\x22\x20class=\x22page-layout\x20simple\x20left-sidenav\x20inner-sidenav\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22logo-text\x22\x20translate=\x22TOOLS.DISPOSITIONS\x22>Dispositions</span>\x0a','\x20\x20\x20\x20<div\x20ng-show=\x22vm.selectedDispositions.length\x20>\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22close-button-wrapper\x22\x20ng-click=\x22vm.selectedDispositions\x20=[]\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22selected-dispositions-count\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>{{vm.selectedDispositions.length}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.selectAllDispositions()\x22\x20translate=\x22TOOLS.SELECT_ALL\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-icon-button\x22\x20ng-csv=\x22vm.exportSelectedDispositions\x22\x20csv-label=\x22true\x22\x20filename=\x22dispositions.csv\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x22\x20ng-click=\x22vm.deleteSelectedDispositions($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<table\x20md-table\x20\x20md-row-select\x20multiple\x20\x20\x20ng-model=\x22vm.selectedDispositions\x22\x20md-progress=\x22vm.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm.dispositions.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20colspan=\x223\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22disposition.userpic\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{disposition.name}}\x22\x20ng-src=\x22api/users/{{disposition.id}}/avatar\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22!disposition.userpic\x20&&\x20(vm.table\x20==\x20\x27users\x27\x20||\x20vm.table\x20==\x20\x27agents\x27)\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{disposition.name}}\x22\x20ng-src=\x22assets/images/avatars/profile.png\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.createOrEditDisposition($event,\x20disposition)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.createOrEditDisposition($event,\x20disposition)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22name\x20\x22\x20>{{disposition.name}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.editdialog(disposition,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Disposition\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deleteconfirm(disposition,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22TOOLS.DELETE_DISPOSITION\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Disposition\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20ADD\x20DISPOSITION\x20BUTTON\x20-->\x0a','\x20\x20\x20\x20<md-button\x20ng-if=\x22vm.crudPermissions.canEdit\x22\x20class=\x22md-fab\x20md-accent\x22\x20id=\x22add-disposition-button\x22\x20ng-click=\x22vm.createOrEditDisposition($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20disposition\x22\x20translate\x20translate-attr-aria-label=\x22TOOLS.ADD_DISPOSITION\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22name\x22\x20\x20ng-model=\x22vm.interval.name\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22intervalForm[\x27name\x27].$error\x22\x20ng-show=\x22intervalForm[\x27name\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22description\x22\x20\x20ng-model=\x22vm.interval.description\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22intervalForm[\x27description\x27].$error\x22\x20ng-show=\x22intervalForm[\x27description\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22intervalForm.$invalid\x20||\x20intervalForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22intervalForm.$invalid\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x20&&\x20!vm.newInterval\x22\x20ng-click=\x22vm.deleteInterval($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x0a','app/main/apps/tools/views/intervals/edit/apps/interval/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20ng-model=\x22vm.interval.name\x22\x20type=\x22text\x22\x20name=\x22name\x22\x20placeholder=\x22{{\x27TOOLS.NAME\x27\x20|\x20translate}}\x22\x20ng-disabled=\x22!vm.newInterval\x20&&\x20!vm.crudPermissions.canEdit\x22\x20md-autofocus\x20required>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-input-container>\x0a','app/main/apps/tools/views/intervals/edit/intervals/dialog.html','<md-dialog\x20class=\x22interval-dialog\x22\x20aria-label=\x22New\x20Interval\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20!vm.newInterval\x22\x20ng-click=\x22vm.saveInterval()\x22\x0a','<div\x20id=\x22tools-interval\x22\x20class=\x22page-layout\x20simple\x20tabbed\x22\x20layout=\x22column\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22goto-intervals-button\x20md-icon-button\x22\x20aria-label=\x22Go\x20to\x20intervals\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.gotoIntervals()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22interval-image\x22\x20hide-xs>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<img\x20ng-src=\x22assets/images/business/intervals.jpg\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22vm.interval.name\x22>{{vm.interval.name}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-click=\x22vm.saveInterval()\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20ng-disabled=\x22(generalForm.$invalid)\x20||\x20(intervalsForm.$invalid)\x22\x20translate=\x22TOOLS.SAVE\x22\x20translate-attr-aria-label=\x22TOOLS.SAVE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22interval-detail-form-container\x20general\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.INTERVALS\x22>INTERVALS</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-controller=\x22IntervalIntervalsController\x20as\x20vm_dc\x22\x20ng-init=\x22vm_dc.init(vm.interval,\x20vm.crudPermissions)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20interval\x22\x20translate\x20translate-attr-label=\x22TOOLS.ADD_INTERVAL\x22>\x0a','\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-accent\x22\x20ng-show=\x22vm_dc.selectedIntervalIntervals.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22>{{vm_dc.selectedIntervalIntervals.length}}\x20{{vm_dc.selectedIntervalIntervals.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-icon-button\x22\x20ng-csv=\x22vm_dc.exportSelectedIntervalIntervals\x22\x20csv-label=\x22true\x22\x20filename=\x22intervals.csv\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22TOOLS.DELETE_SELECTED\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm_dc.query.sort\x22\x20md-on-reorder=\x22vm_dc.getIntervalIntervals\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.ID\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.NAME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22interval\x22\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.INTERVAL\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.CREATED_AT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tbody\x20md-body\x20\x20ng-sortable=\x22vm_dc.sortableTable\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22interval\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22interval\x20in\x20vm_dc.intervalIntervals.rows\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-drag-vertical\x22\x20class=\x22s16\x20handle\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_dc.createOrEditIntervalInterval($event,\x20interval)\x22\x20\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{interval.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_dc.createOrEditIntervalInterval($event,\x20interval)\x22\x20\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{interval.interval}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_dc.createOrEditIntervalInterval($event,\x20interval)\x22\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20interval.createdAt\x20|\x20formatdate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20aria-label=\x22More\x22\x20translate\x20translate-attr-aria-label=\x22TOOLS.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm_dc.createOrEditIntervalInterval($event,\x20interval)\x22\x20translate=\x22TOOLS.EDIT_INTERVAL\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Interval\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm_dc.deleteConfirm(interval,\x20$event)\x22\x20translate=\x22TOOLS.DELETE_INTERVAL\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Interval\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-if=\x22!vm_dc.intervalIntervals.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22text-boxed-light\x22\x20translate=\x22TOOLS.NO_INTERVALS_AVAILABLE\x22>No\x20intervals\x20available</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22logo-text\x22\x20translate=\x22TOOLS.INTERVALS\x22>Intervals</span>\x0a','\x20\x20\x20\x20<div\x20ng-show=\x22vm.selectedIntervals.length\x20>\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22close-button-wrapper\x22\x20ng-click=\x22vm.selectedIntervals\x20=[]\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>{{vm.selectedIntervals.length}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.selectAllIntervals()\x22\x20translate=\x22TOOLS.SELECT_ALL\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deselectIntervals()\x22\x20translate=\x22TOOLS.SELECT_NONE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-icon-button\x22\x20ng-csv=\x22vm.exportSelectedIntervals\x22\x20csv-label=\x22true\x22\x20filename=\x22intervals.csv\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x22\x20ng-click=\x22vm.deleteSelectedIntervals($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm.query.sort\x22\x20md-on-reorder=\x22vm.getIntervals\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm.intervals.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22interval.userpic\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{interval.name}}\x22\x20ng-src=\x22api/users/{{interval.id}}/avatar\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22!interval.userpic\x20&&\x20(vm.table\x20==\x20\x27users\x27\x20||\x20vm.table\x20==\x20\x27agents\x27)\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{interval.name}}\x22\x20ng-src=\x22assets/images/avatars/profile.png\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22id\x20\x22\x20>{{interval.id}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(interval,\x20ev)\x20:\x20vm.createOrEditInterval($event,\x20interval)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22name\x20\x22\x20>{{interval.name}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22description\x20\x22\x20>{{interval.description}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.editstate(interval,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22TOOLS.EDIT_INTERVAL\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deleteconfirm(interval,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22TOOLS.DELETE_INTERVAL\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27TOOLS.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27TOOLS.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27TOOLS.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm.query.page\x22\x20md-total=\x22{{vm.intervals.count}}\x22\x20md-on-paginate=\x22vm.getIntervals\x22\x20md-page-select></md-table-pagination>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20INTERVAL\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20ADD\x20INTERVAL\x20BUTTON\x20-->\x0a','\x20\x20\x20\x20<md-button\x20ng-if=\x22vm.crudPermissions.canEdit\x22\x20class=\x22md-fab\x20md-accent\x22\x20id=\x22add-interval-button\x22\x20ng-click=\x22vm.createOrEditInterval($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20interval\x22\x20translate\x20translate-attr-aria-label=\x22TOOLS.ADD_INTERVAL\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22pauseForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22name\x22\x20\x20ng-model=\x22vm.pause.name\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22pauseForm[\x27name\x27].$error\x22\x20ng-show=\x22pauseForm[\x27name\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22description\x22\x20\x20ng-model=\x22vm.pause.description\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22pauseForm[\x27description\x27].$error\x22\x20ng-show=\x22pauseForm[\x27description\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22pauseForm.$invalid\x20||\x20pauseForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22pauseForm.$invalid\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22TOOLS.ADD_PAUSE\x22\x20translate-attr-aria-label=\x22TOOLS.ADD_PAUSE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20PAUSE\x0a','<div\x20id=\x22pauses\x22\x20class=\x22page-layout\x20simple\x20left-sidenav\x20inner-sidenav\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22logo-text\x22\x20translate=\x22TOOLS.PAUSES\x22>Pauses</span>\x0a','\x20\x20\x20\x20<div\x20ng-show=\x22vm.selectedPauses.length\x20>\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22close-button-wrapper\x22\x20ng-click=\x22vm.selectedPauses\x20=[]\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22selected-pauses-count\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.selectAllPauses()\x22\x20translate=\x22TOOLS.SELECT_ALL\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deselectPauses()\x22\x20translate=\x22TOOLS.SELECT_NONE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-icon-button\x22\x20ng-csv=\x22vm.exportSelectedPauses\x22\x20csv-label=\x22true\x22\x20filename=\x22pauses.csv\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x22\x20ng-click=\x22vm.deleteSelectedPauses($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<table\x20md-table\x20\x20md-row-select\x20multiple\x20\x20\x20ng-model=\x22vm.selectedPauses\x22\x20md-progress=\x22vm.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm.query.sort\x22\x20md-on-reorder=\x22vm.getPauses\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm.pauses.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22pause\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22pause\x20in\x20vm.pauses.rows\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22pause.userpic\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{pause.name}}\x22\x20ng-src=\x22api/users/{{pause.id}}/avatar\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22id\x20\x22\x20>{{pause.id}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.createOrEditPause($event,\x20pause)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22name\x20\x22\x20>{{pause.name}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22description\x20\x22\x20>{{pause.description}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22TOOLS.EDIT_PAUSE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deleteconfirm(pause,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20PAUSE\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20ADD\x20PAUSE\x20BUTTON\x20-->\x0a','\x20\x20\x20\x20<md-button\x20ng-if=\x22vm.crudPermissions.canEdit\x22\x20class=\x22md-fab\x20md-accent\x22\x20id=\x22add-pause-button\x22\x20ng-click=\x22vm.createOrEditPause($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20pause\x22\x20translate\x20translate-attr-aria-label=\x22TOOLS.ADD_PAUSE\x22>\x0a','\x20\x20\x20\x20<!--\x20/\x20ADD\x20PAUSE\x20BUTTON\x20-->\x0a','<md-dialog\x20class=\x22schedule-dialog\x22\x20aria-label=\x22New\x20Schedule\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22scheduleForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22scheduleForm[\x27name\x27].$error\x22\x20ng-show=\x22scheduleForm[\x27name\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22search\x22\x20name=\x22report\x22\x20\x20ng-model=\x22vm.schedule.report\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22scheduleForm[\x27report\x27].$error\x22\x20ng-show=\x22scheduleForm[\x27report\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22TOOLS.OUTPUT\x22>Output</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22output\x22\x20ng-model=\x22vm.schedule.output\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>CSV</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27pdf\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>PDF</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27xlsx\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Excel</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22TOOLS.VALIDITYSTART\x22>ValidityStart</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<mdp-date-picker\x20mdp-open-on-click\x20\x20required\x20\x20name=\x22startAtDate\x22\x20mdp-placeholder=\x22Date\x22\x20mdp-format=\x22YYYY-MM-DD\x22\x20ng-model=\x22vm.schedule.startAt\x22\x20ng-init=\x22vm.schedule.startAt\x20=\x20vm.getDateFromString(vm.schedule.startAt)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22scheduleForm.dateRangeFrom.$error\x22\x20ng-show=\x22scheduleForm.dateRangeFrom.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.ERRORS.DATE_REQUIRED\x22>Date\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.ERRORS.DATE_INVALID\x22>Date\x20is\x20invalid</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.ERRORS.TIME_INVALID\x22>Time\x20is\x20invalid</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22TOOLS.VALIDITYEND\x22>ValidityEnd</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<mdp-date-picker\x20mdp-open-on-click\x20\x20required\x20\x20name=\x22endAtDate\x22\x20mdp-placeholder=\x22Date\x22\x20mdp-format=\x22YYYY-MM-DD\x22\x20ng-model=\x22vm.schedule.endAt\x22\x20ng-init=\x22vm.schedule.endAt\x20=\x20vm.getDateFromString(vm.schedule.endAt)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22scheduleForm.timeRangeFrom.$error\x22\x20ng-show=\x22scheduleForm.timeRangeFrom.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.ERRORS.TIME_REQUIRED\x22>Time\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20flex\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label>\x20{{\x20\x27TOOLS.CRON\x27\x20|\x20translate\x20}}\x20({{vm.schedule.cron}})</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<cron-selection\x20name=\x22cron\x22\x20ng-model=\x22vm.schedule.cron\x22\x20template=\x22assets/angular-cron-jobs/template.html\x22\x20\x20required\x20></cron-selection>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22TOOLS.LAST\x22>Last</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22subtractNumber\x22\x20\x20ng-model=\x22vm.schedule.subtractNumber\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22scheduleForm[\x27subtractNumber\x27].$error\x22\x20ng-show=\x22scheduleForm[\x27subtractNumber\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.ERRORS.LAST_REQUIRED\x22>Last\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22TOOLS.LASTUNIT\x22>LastUnit</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22subtractUnit\x22\x20ng-model=\x22vm.schedule.subtractUnit\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Minutes</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27hours\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27days\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Days</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27weeks\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Weeks</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27quarters\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Quarters</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27years\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Years</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.ERRORS.LASTUNIT_REQUIRED\x22>LastUnit\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.schedule.sendMail\x22\x20aria-label=\x22SendMail\x22\x20><span\x20translate=\x22TOOLS.SENDMAIL\x22>SendMail</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.schedule.sendMail\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22TOOLS.MAILACCOUNT\x22>MailAccount</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22MailAccountId\x22\x20ng-model=\x22vm.schedule.MailAccountId\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22MailAccountId.id\x22\x20ng-repeat=\x22MailAccountId\x20in\x20vm.mailAccounts\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22MailAccountId.canSelect\x20===\x20false\x22>{{\x20MailAccountId.name\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22scheduleForm[\x27MailAccountId\x27].$error\x22\x20ng-show=\x22scheduleForm[\x27MailAccountId\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.ERRORS.MAILACCOUNT_REQUIRED\x22>MailAccount\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22email\x22\x20\x20ng-model=\x22vm.schedule.email\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22TOOLS.HELP.EMAILADDRESS\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22scheduleForm[\x27email\x27].$error\x22\x20ng-show=\x22scheduleForm[\x27email\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.ERRORS.EMAILADDRESS_REQUIRED\x22>EmailAddress\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22TOOLS.EMAILCCADDRESS\x22>EmailCcAddress</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22cc\x22\x20\x20ng-model=\x22vm.schedule.cc\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.schedule.sendMail\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22bcc\x22\x20\x20ng-model=\x22vm.schedule.bcc\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22TOOLS.HELP.EMAILBCCADDRESS\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22scheduleForm[\x27bcc\x27].$error\x22\x20ng-show=\x22scheduleForm[\x27bcc\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.ERRORS.EMAILBCCADDRESS_REQUIRED\x22>EmailBccAddress\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.schedule.sendIfEmpty\x22\x20aria-label=\x22SendIfEmpty\x22\x20><span\x20translate=\x22TOOLS.SENDIFEMPTY\x22>SendIfEmpty</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22\x22\x20name=\x22description\x22\x20\x20ng-model=\x22vm.schedule.description\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22scheduleForm[\x27description\x27].$error\x22\x20ng-show=\x22scheduleForm[\x27description\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20!vm.newSchedule\x22\x20ng-click=\x22vm.saveSchedule()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.newSchedule\x22\x20ng-click=\x22vm.addNewSchedule()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22scheduleForm.$invalid\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22TOOLS.ADD_SCHEDULE\x22\x20translate-attr-aria-label=\x22TOOLS.ADD_SCHEDULE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20SCHEDULE\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x20&&\x20!vm.newSchedule\x22\x20ng-click=\x22vm.deleteSchedule($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-card\x20flex=\x2270\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<table\x20md-table\x20md-row-select\x20ng-model=\x22vm.selectedReport\x22\x20md-progress=\x22vm.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22createdAt\x22>{{\x20\x22ANALYTICS.CREATED_AT\x22\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20colspan=\x225\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20class=\x22id\x22>{{\x20report.id\x20}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-limit-options=\x22[10]\x22\x0a','app/main/apps/tools/views/schedules/schedules.html','<div\x20id=\x22schedules\x22\x20class=\x22page-layout\x20simple\x20left-sidenav\x20inner-sidenav\x22>\x0a','\x20\x20\x20\x20<div\x20ng-show=\x22vm.selectedScheduler.length\x20>\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22selected-schedules-count\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>{{vm.selectedScheduler.length}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.selectAllScheduler()\x22\x20translate=\x22TOOLS.SELECT_ALL\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deselectScheduler()\x22\x20translate=\x22TOOLS.SELECT_NONE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-icon-button\x22\x20ng-csv=\x22vm.exportSelectedScheduler\x22\x20csv-label=\x22true\x22\x20filename=\x22schedules.csv\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x22\x20ng-click=\x22vm.deleteSelectedScheduler($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20SCHEDULE\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<table\x20md-table\x20\x20md-row-select\x20multiple\x20\x20\x20ng-model=\x22vm.selectedScheduler\x22\x20md-progress=\x22vm.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm.query.sort\x22\x20md-on-reorder=\x22vm.getScheduler\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22active\x22>{{\x20\x27TOOLS.ACTIVE\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22startAt\x22>{{\x20\x27TOOLS.VALIDITYSTART\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22endAt\x22>{{\x20\x27TOOLS.VALIDITYEND\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22schedule\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22schedule\x20in\x20vm.schedules.rows\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22schedule.userpic\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{schedule.name}}\x22\x20ng-src=\x22api/users/{{schedule.id}}/avatar\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22!schedule.userpic\x20&&\x20(vm.table\x20==\x20\x27users\x27\x20||\x20vm.table\x20==\x20\x27agents\x27)\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{schedule.name}}\x22\x20ng-src=\x22assets/images/avatars/profile.png\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.createOrEditSchedule($event,\x20schedule)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.createOrEditSchedule($event,\x20schedule)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22name\x20\x22\x20>{{schedule.name}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(schedule,\x20ev)\x20:\x20vm.createOrEditSchedule($event,\x20schedule)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22active\x20\x22><md-icon\x20md-colors=\x22{color:\x20{{schedule.active\x20?\x20\x27\x5c\x27green\x5c\x27\x27\x20:\x20\x27\x5c\x27grey\x5c\x27\x27}}}\x22\x20md-font-icon=\x22{{schedule.active\x20?\x20\x27icon-check\x27\x20:\x20\x27icon-close\x27}}\x22></md-icon></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.createOrEditSchedule($event,\x20schedule)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22startAt\x20\x22>{{schedule.startAt\x20|\x20date:\x27medium\x27\x20}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22endAt\x20\x22>{{schedule.endAt\x20|\x20date:\x27medium\x27\x20}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22description\x20\x22\x20>{{schedule.description}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.editdialog(schedule,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22TOOLS.EDIT_SCHEDULE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Schedule\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Run\x20Schedule\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22TOOLS.DELETE_SCHEDULE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Schedule\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27TOOLS.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27TOOLS.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27TOOLS.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm.query.page\x22\x20md-total=\x22{{vm.schedules.count}}\x22\x20md-on-paginate=\x22vm.getScheduler\x22\x20md-page-select></md-table-pagination>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20SCHEDULE\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20ADD\x20SCHEDULE\x20BUTTON\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20schedule\x22\x20translate\x20translate-attr-aria-label=\x22TOOLS.ADD_SCHEDULE\x22>\x0a','\x20\x20\x20\x20<!--\x20/\x20ADD\x20SCHEDULE\x20BUTTON\x20-->\x0a','<md-dialog\x20class=\x22sound-dialog\x22\x20aria-label=\x22New\x20Sound\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22soundForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22name\x22\x20\x20ng-model=\x22vm.sound.name\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22soundForm[\x27name\x27].$error\x22\x20ng-show=\x22soundForm[\x27name\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22soundForm[\x27description\x27].$error\x22\x20ng-show=\x22soundForm[\x27description\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20!vm.newSound\x22\x20ng-click=\x22vm.saveSound()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22soundForm.$invalid\x20||\x20soundForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.newSound\x22\x20ng-click=\x22vm.addNewSound()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22soundForm.$invalid\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22TOOLS.ADD_SOUND\x22\x20translate-attr-aria-label=\x22TOOLS.ADD_SOUND\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20SOUND\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x20&&\x20!vm.newSound\x22\x20ng-click=\x22vm.deleteSound($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x0a','<div\x20id=\x22sounds\x22\x20class=\x22page-layout\x20simple\x20left-sidenav\x20inner-sidenav\x22>\x0a','\x20\x20\x20\x20<div\x20ng-show=\x22vm.selectedSounds.length\x20>\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22close-button-wrapper\x22\x20ng-click=\x22vm.selectedSounds\x20=[]\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22selected-sounds-count\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-icon-button\x22\x20ng-csv=\x22vm.exportSelectedSounds\x22\x20csv-label=\x22true\x22\x20filename=\x22sounds.csv\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20SOUND\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm.query.sort\x22\x20md-on-reorder=\x22vm.getSounds\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22sound\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22sound\x20in\x20vm.sounds.rows\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.createOrEditSound($event,\x20sound)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22id\x20\x22\x20>{{sound.id}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.createOrEditSound($event,\x20sound)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22name\x20\x22\x20>{{sound.name}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20audio\x20recording\x20directive\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<ms-recording\x20id=\x22sound.id\x22\x20model=\x22\x27sound\x27\x22></ms-recording>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20audio\x20recording\x20directive\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.createOrEditSound($event,\x20sound)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22description\x20\x22\x20>{{sound.description}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22TOOLS.EDIT_SOUND\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Sound\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.downloadfile2(sound,\x20$event\x20\x20,\x20\x27sounds\x27\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22TOOLS.DOWNLOAD_SOUND\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deleteconfirm(sound,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22TOOLS.DELETE_SOUND\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Sound\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27TOOLS.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27TOOLS.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27TOOLS.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm.query.page\x22\x20md-total=\x22{{vm.sounds.count}}\x22\x20md-on-paginate=\x22vm.getSounds\x22\x20md-page-select></md-table-pagination>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20UPLOAD\x20SOUND\x20BUTTON\x20-->\x0a','\x20\x20\x20\x20<md-button\x20ng-if=\x22vm.crudPermissions.canEdit\x22\x20class=\x22md-fab\x20md-accent\x22\x20id=\x22upload-sound-button\x22\x20ng-click=\x22vm.uploadSound($event)\x22\x20aria-label=\x22upload\x20sound\x22\x20translate\x20translate-attr-aria-label=\x22TOOLS.UPLOAD_SOUND\x22>\x0a','\x20\x20\x20\x20<!--\x20/\x20UPLOAD\x20SOUND\x20BUTTON\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20id=\x22sound-uploader\x22\x20ng-hide=\x22vm.uploadState\x20==\x20\x27uploading\x27\x22\x20flow-init=\x22vm.ngFlowOptions\x22\x20flow-name=\x22vm.ngFlow.flow\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20flow-files-submitted=\x22vm.upload()\x22\x20flow-file-added=\x22vm.fileAdded($file)\x22\x20flow-file-success=\x22vm.fileSuccess($file,\x20$message)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.DROP_TO_UPLOAD\x22>Drop\x20to\x20upload</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22secondary-text\x20mt-8\x22\x20translate=\x22TOOLS.DROP_TO_UPLOAD_MESSAGE\x22>You\x20can\x20also\x20drop\x20your\x20file\x20here\x20to\x20upload.</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.UPLOADING\x22>Uploading</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>{{vm.sound.file.name}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22TOOLS.FINISH\x22\x20translate-attr-aria-label=\x22TOOLS.FINISH\x22>\x0a','<md-dialog\x20class=\x22tag-dialog\x22\x20aria-label=\x22New\x20Tag\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22tagForm[\x27name\x27].$error\x22\x20ng-show=\x22tagForm[\x27name\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22description\x22\x20\x20ng-model=\x22vm.tag.description\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22tagForm[\x27description\x27].$error\x22\x20ng-show=\x22tagForm[\x27description\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22tagForm.$invalid\x20||\x20tagForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.newTag\x22\x20ng-click=\x22vm.addNewTag()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22tagForm.$invalid\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22TOOLS.ADD_TAG\x22\x20translate-attr-aria-label=\x22TOOLS.ADD_TAG\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20TAG\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x20&&\x20!vm.newTag\x22\x20ng-click=\x22vm.deleteTag($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x0a','<div\x20id=\x22tags\x22\x20class=\x22page-layout\x20simple\x20left-sidenav\x20inner-sidenav\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22logo-text\x22\x20translate=\x22TOOLS.TAGS\x22>Tags</span>\x0a','\x20\x20\x20\x20<div\x20ng-show=\x22vm.selectedTags.length\x20>\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22selected-tags-count\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>{{vm.selectedTags.length}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.selectAllTags()\x22\x20translate=\x22TOOLS.SELECT_ALL\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deselectTags()\x22\x20translate=\x22TOOLS.SELECT_NONE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-icon-button\x22\x20ng-csv=\x22vm.exportSelectedTags\x22\x20csv-label=\x22true\x22\x20filename=\x22tags.csv\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm.query.sort\x22\x20md-on-reorder=\x22vm.getTags\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22color\x22>{{\x20\x27TOOLS.COLOR\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22tag\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22tag\x20in\x20vm.tags.rows\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.createOrEditTag($event,\x20tag)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22id\x20\x22\x20>{{tag.id}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22name\x20\x22\x20>{{tag.name}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.createOrEditTag($event,\x20tag)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22description\x20\x22\x20>{{tag.description}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.editdialog(tag,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Tag\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deleteconfirm(tag,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22TOOLS.DELETE_TAG\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Tag\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27TOOLS.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27TOOLS.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27TOOLS.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm.query.page\x22\x20md-total=\x22{{vm.tags.count}}\x22\x20md-on-paginate=\x22vm.getTags\x22\x20md-page-select></md-table-pagination>\x0a','\x20\x20\x20\x20<md-button\x20ng-if=\x22vm.crudPermissions.canEdit\x22\x20class=\x22md-fab\x20md-accent\x22\x20id=\x22add-tag-button\x22\x20ng-click=\x22vm.createOrEditTag($event)\x22\x0a','\x20\x20\x20\x20<!--\x20/\x20ADD\x20TAG\x20BUTTON\x20-->\x0a','<md-dialog\x20class=\x22template-dialog\x22\x20aria-label=\x22New\x20Template\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22templateForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22name\x22\x20\x20ng-model=\x22vm.template.name\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20class=\x22md-caption\x20grey-fg\x22\x20translate=\x22TOOLS.CONTENT\x22>Content</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<textarea\x20aria-label=\x22Content\x20html\x22\x20ckeditor=\x22{\x20skin:\x20\x27office2013\x27,\x20language:\x20\x27en\x27,\x20allowedContent:\x20true,\x20extraPlugins:\x20\x27font,colorbutton,autoembed,autocorrect,googlethisterm,pastebase64\x27,\x20toolbarGroups:\x20[{\x20name:\x20\x27styles\x27,\x20groups:\x20[\x27styles\x27]\x20},\x20{\x20name:\x20\x27clipboard\x27,\x20groups:\x20[\x27undo\x27]\x20},\x20{\x20name:\x20\x27colors\x27,\x20groups:\x20[\x27colors\x27]\x20},\x20{\x20name:\x20\x27basicstyles\x27,\x20groups:\x20[\x27basicstyles\x27]\x20},\x20{\x20name:\x20\x27paragraph\x27,\x20groups:\x20[\x27list\x27,\x20\x27indent\x27,\x20\x27align\x27]\x20},\x20{\x20name:\x20\x27mode\x27\x20}],\x20autocorrect_enabled:\x20true,\x20disableNativeSpellChecker:\x20false,\x20fontSize_sizes:\x20\x278/8pt;9/9pt;10/10pt;11/11pt;12/12pt;14/14pt;16/16pt;18/18pt;20/20pt;22/22pt;24/24pt;26/26pt;28/28pt;36/36pt;48/48pt;72/72pt\x27,\x20\x20removePlugins:\x20\x27magicline\x27\x20}\x22\x20ng-model=\x22vm.template.html\x22></textarea>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22description\x22\x20\x20ng-model=\x22vm.template.description\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22templateForm[\x27description\x27].$error\x22\x20ng-show=\x22templateForm[\x27description\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22templateForm.$invalid\x20||\x20templateForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20TEMPLATE\x0a','app/main/apps/tools/views/templates/templates.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22logo-text\x22\x20translate=\x22TOOLS.TEMPLATES\x22>Templates</span>\x0a','\x20\x20\x20\x20<div\x20ng-show=\x22vm.selectedTemplates.length\x20>\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22close-button-wrapper\x22\x20ng-click=\x22vm.selectedTemplates\x20=[]\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deselectTemplates()\x22\x20translate=\x22TOOLS.SELECT_NONE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-icon-button\x22\x20ng-csv=\x22vm.exportSelectedTemplates\x22\x20csv-label=\x22true\x22\x20filename=\x22templates.csv\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x22\x20ng-click=\x22vm.deleteSelectedTemplates($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20TEMPLATE\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<table\x20md-table\x20\x20md-row-select\x20multiple\x20\x20\x20ng-model=\x22vm.selectedTemplates\x22\x20md-progress=\x22vm.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm.query.sort\x22\x20md-on-reorder=\x22vm.getTemplates\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22template\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22template\x20in\x20vm.templates.rows\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22!template.userpic\x20&&\x20(vm.table\x20==\x20\x27users\x27\x20||\x20vm.table\x20==\x20\x27agents\x27)\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{template.name}}\x22\x20ng-src=\x22assets/images/avatars/profile.png\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.createOrEditTemplate($event,\x20template)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22id\x20\x22\x20>{{template.id}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.createOrEditTemplate($event,\x20template)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22name\x20\x22\x20>{{template.name}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22description\x20\x22\x20>{{template.description}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Template\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deleteconfirm(template,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22TOOLS.DELETE_TEMPLATE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Template\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20TEMPLATE\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20ADD\x20TEMPLATE\x20BUTTON\x20-->\x0a','\x20\x20\x20\x20<md-button\x20ng-if=\x22vm.crudPermissions.canEdit\x22\x20class=\x22md-fab\x20md-accent\x22\x20id=\x22add-template-button\x22\x20ng-click=\x22vm.createOrEditTemplate($event)\x22\x0a','\x20\x20\x20\x20<!--\x20/\x20ADD\x20TEMPLATE\x20BUTTON\x20-->\x0a','\x20\x20\x20\x20<form\x20name=\x22triggerForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22triggerForm[\x27name\x27].$error\x22\x20ng-show=\x22triggerForm[\x27name\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22TOOLS.CHANNEL\x22>Channel</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22channel\x22\x20ng-model=\x22vm.trigger.channel\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.newTrigger\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27TOOLS.VOICE\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27openchannel\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22vm.license.openchannel\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27chat\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22vm.license.chat\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27TOOLS.CHAT\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27mail\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22vm.license.mail\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27TOOLS.MAIL\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27sms\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22vm.license.messaging\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27TOOLS.SMS\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27fax\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22vm.license.fax\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27TOOLS.FAX\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27whatsapp\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22vm.license.whatsapp\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27TOOLS.WHATSAPP\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22triggerForm[\x27channel\x27].$error\x22\x20ng-show=\x22triggerForm[\x27channel\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.ERRORS.CHANNEL_REQUIRED\x22>Channel\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.trigger.status\x22\x20aria-label=\x22Status\x22\x20><span\x20translate=\x22TOOLS.STATUS\x22>Status</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22description\x22\x20\x20ng-model=\x22vm.trigger.description\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20!vm.newTrigger\x22\x20ng-click=\x22vm.saveTrigger()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.newTrigger\x22\x20ng-click=\x22vm.addNewTrigger()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22triggerForm.$invalid\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22TOOLS.ADD_TRIGGER\x22\x20translate-attr-aria-label=\x22TOOLS.ADD_TRIGGER\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20TRIGGER\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x20&&\x20!vm.newTrigger\x22\x20ng-click=\x22vm.deleteTrigger($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x0a','<md-dialog\x20class=\x22action-dialog\x22\x20aria-label=\x22New\x20Action\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22TOOLS.ACTION\x22>Action</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22action\x22\x20ng-model=\x22vm.action.action\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-init=\x22vm.onActionInit()\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.newAction\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27contactManager\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22vm.trigger.channel\x20==\x20\x27voice\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27TOOLS.CONTACT_MANAGER\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27integration\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27motionbar\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27TOOLS.MOTION_BAR\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27jscripty\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27TOOLS.JSCRIPTY\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27urlForward\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27TOOLS.URL_FORWARD\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27TOOLS.BROWSER\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27bot\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27script\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27TOOLS.SCRIPT\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.action.action\x20==\x20\x27jscripty\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22TOOLS.PROJECT\x22>Project</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22data1\x22\x20ng-model=\x22vm.action.data1\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27\x27+data1.id\x22\x20ng-repeat=\x22data1\x20in\x20vm.projects\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22data1.canSelect\x20===\x20false\x22>{{\x20data1.name\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22actionForm[\x27data1\x27].$error\x22\x20ng-show=\x22actionForm[\x27data1\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.ERRORS.PROJECT_REQUIRED\x22>Project\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.action.action\x20==\x20\x27browser\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Popup</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>CTI\x20URL</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.action.action\x20==\x20\x27contactManager\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27\x27+data1.id\x22\x20ng-repeat=\x22data1\x20in\x20vm.lists\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.ERRORS.LIST_REQUIRED\x22>List\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22TOOLS.AUTOCREATECONTACT\x22>AutoCreateContact</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x271\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27TOOLS.YES\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27TOOLS.NO\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.ERRORS.AUTOCREATECONTACT_REQUIRED\x22>AutoCreateContact\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27GET\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>GET</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27POST\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>POST</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27PUT\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>PUT</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22url\x22\x20name=\x22data2\x22\x20\x20ng-model=\x22vm.action.data2\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22actionForm[\x27data2\x27].$error\x22\x20ng-show=\x22actionForm[\x27data2\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.action.action\x20==\x20\x27urlForward\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22TOOLS.TIMEOUT\x22>Timeout</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20max=\x2210\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.ERRORS.TIMEOUT_REQUIRED\x22>Timeout\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.ERRORS.TIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO\x22>Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>10</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22TOOLS.HEADERS\x22>Headers</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<textarea\x20name=\x22data6\x22\x20ng-model=\x22vm.action.data6\x22\x20\x20></textarea>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-input-container>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.action.action\x20==\x20\x27urlForward\x27\x20&&\x20(vm.action.data1\x20==\x20\x27POST\x27\x20||\x20vm.action.data1\x20==\x20\x27PUT\x27)\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22TOOLS.BODY\x22>Body</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<textarea\x20name=\x22data7\x22\x20ng-model=\x22vm.action.data7\x22\x20\x20></textarea>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22TOOLS.HELP.BODY\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22TOOLS.SCRIPT_TYPE\x22>Script_Type</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22TOOLS.HELP.SCRIPT_TYPE\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.action.action\x20==\x20\x27script\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22TOOLS.SCRIPT_INFO\x22>Script_Info</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22input\x22\x20name=\x22data1\x22\x20\x20ng-model=\x22vm.action.data1\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22TOOLS.HELP.SCRIPT_INFO\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<textarea\x20name=\x22data3\x22\x20ng-model=\x22vm.action.data3\x22\x20\x20required\x20\x20></textarea>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22TOOLS.HELP.SCRIPT\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22actionForm[\x27data3\x27].$error\x22\x20ng-show=\x22actionForm[\x27data3\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.ERRORS.SCRIPT_REQUIRED\x22>Script\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.action.action\x20==\x20\x27integration\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22TOOLS.INTEGRATION\x22>Integration</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27zendesk\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22(vm.newAction\x20&&\x20vm.hasSectionPermissions[1301])\x20||\x20!vm.newAction\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22(!vm.newAction\x20&&\x20!vm.hasSectionPermissions[1301])\x22\x20>Zendesk</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27salesforce\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22(vm.newAction\x20&&\x20vm.hasSectionPermissions[1302])\x20||\x20!vm.newAction\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22(!vm.newAction\x20&&\x20!vm.hasSectionPermissions[1302])\x22\x20>Salesforce</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27sugarcrm\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22(vm.newAction\x20&&\x20vm.hasSectionPermissions[1305])\x20||\x20!vm.newAction\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22(!vm.newAction\x20&&\x20!vm.hasSectionPermissions[1305])\x22\x20>SugarCRM</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22(vm.newAction\x20&&\x20vm.hasSectionPermissions[1303])\x20||\x20!vm.newAction\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22(!vm.newAction\x20&&\x20!vm.hasSectionPermissions[1303])\x22\x20>Freshdesk</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27desk\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27zoho\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22(!vm.newAction\x20&&\x20!vm.hasSectionPermissions[1307])\x22\x20>Zoho</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27vtiger\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22(vm.newAction\x20&&\x20vm.hasSectionPermissions[1308])\x20||\x20!vm.newAction\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22(!vm.newAction\x20&&\x20!vm.hasSectionPermissions[1308])\x22\x20>vTiger</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27dynamics365\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22(vm.newAction\x20&&\x20vm.hasSectionPermissions[1309])\x20||\x20!vm.newAction\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22(!vm.newAction\x20&&\x20!vm.hasSectionPermissions[1309])\x22\x20>Dynamics365</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27servicenow\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22(!vm.newAction\x20&&\x20!vm.hasSectionPermissions[1310])\x22\x20>ServiceNow</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27freshsales\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22(vm.newAction\x20&&\x20vm.hasSectionPermissions[1311])\x20||\x20!vm.newAction\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22(!vm.newAction\x20&&\x20!vm.hasSectionPermissions[1311])\x22\x20>Freshsales</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.ERRORS.INTEGRATION_REQUIRED\x22>Integration\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.action.action\x20==\x20\x27integration\x27\x20&&\x20vm.action.data1\x20==\x20\x27zendesk\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22TOOLS.ACCOUNT\x22>Account</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22data2\x22\x20ng-model=\x22vm.action.data2\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.newAction\x20&&\x20(!vm.newAction\x20&&\x20!vm.hasSectionPermissions[1301])\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27\x27+data2.id\x22\x20ng-repeat=\x22data2\x20in\x20vm.zendeskAccounts\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22data2.canSelect\x20===\x20false\x22>{{\x20data2.name\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.ERRORS.ACCOUNT_REQUIRED\x22>Account\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.action.action\x20==\x20\x27integration\x27\x20&&\x20vm.action.data1\x20==\x20\x27desk\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27\x27+data2.id\x22\x20ng-repeat=\x22data2\x20in\x20vm.deskAccounts\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.action.action\x20==\x20\x27integration\x27\x20&&\x20vm.action.data1\x20==\x20\x27zoho\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.newAction\x20&&\x20(!vm.newAction\x20&&\x20!vm.hasSectionPermissions[1307])\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27\x27+data2.id\x22\x20ng-repeat=\x22data2\x20in\x20vm.zohoAccounts\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.action.action\x20==\x20\x27integration\x27\x20&&\x20vm.action.data1\x20==\x20\x27salesforce\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.newAction\x20&&\x20(!vm.newAction\x20&&\x20!vm.hasSectionPermissions[1302])\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27\x27+data2.id\x22\x20ng-repeat=\x22data2\x20in\x20vm.salesforceAccounts\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.newAction\x20&&\x20(!vm.newAction\x20&&\x20!vm.hasSectionPermissions[1305])\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27\x27+data2.id\x22\x20ng-repeat=\x22data2\x20in\x20vm.sugarcrmAccounts\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.action.action\x20==\x20\x27integration\x27\x20&&\x20vm.action.data1\x20==\x20\x27freshdesk\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.newAction\x20&&\x20(!vm.newAction\x20&&\x20!vm.hasSectionPermissions[1303])\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27\x27+data2.id\x22\x20ng-repeat=\x22data2\x20in\x20vm.freshdeskAccounts\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.action.action\x20==\x20\x27integration\x27\x20&&\x20vm.action.data1\x20==\x20\x27vtiger\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.newAction\x20&&\x20(!vm.newAction\x20&&\x20!vm.hasSectionPermissions[1308])\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27\x27+data2.id\x22\x20ng-repeat=\x22data2\x20in\x20vm.vtigerAccounts\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.action.action\x20==\x20\x27integration\x27\x20&&\x20vm.action.data1\x20==\x20\x27dynamics365\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.newAction\x20&&\x20(!vm.newAction\x20&&\x20!vm.hasSectionPermissions[1309])\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27\x27+data2.id\x22\x20ng-repeat=\x22data2\x20in\x20vm.dynamics365Accounts\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.action.action\x20==\x20\x27integration\x27\x20&&\x20vm.action.data1\x20==\x20\x27servicenow\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27\x27+data2.id\x22\x20ng-repeat=\x22data2\x20in\x20vm.servicenowAccounts\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.action.action\x20==\x20\x27integration\x27\x20&&\x20vm.action.data1\x20==\x20\x27freshsales\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.action.action\x20==\x20\x27integration\x27\x20&&\x20vm.action.data1\x20==\x20\x27zendesk\x27\x20&&\x20vm.action.data2\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22TOOLS.CONFIGURATION\x22>Configuration</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22data3\x22\x20ng-model=\x22vm.action.data3\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27\x27+data3.id\x22\x20ng-repeat=\x22data3\x20in\x20vm.zendeskConfigurations\x20|\x20filter:{AccountId:vm.action.data2}\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22actionForm[\x27data3\x27].$error\x22\x20ng-show=\x22actionForm[\x27data3\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.ERRORS.CONFIGURATION_REQUIRED\x22>Configuration\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27\x27+data3.id\x22\x20ng-repeat=\x22data3\x20in\x20vm.deskConfigurations\x20|\x20filter:{AccountId:vm.action.data2}\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22data3.canSelect\x20===\x20false\x22>{{\x20data3.name\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.action.action\x20==\x20\x27integration\x27\x20&&\x20vm.action.data1\x20==\x20\x27zoho\x27\x20&&\x20vm.action.data2\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27\x27+data3.id\x22\x20ng-repeat=\x22data3\x20in\x20vm.zohoConfigurations\x20|\x20filter:{AccountId:vm.action.data2}\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.action.action\x20==\x20\x27integration\x27\x20&&\x20vm.action.data1\x20==\x20\x27salesforce\x27\x20&&\x20vm.action.data2\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27\x27+data3.id\x22\x20ng-repeat=\x22data3\x20in\x20vm.salesforceConfigurations\x20|\x20filter:{AccountId:vm.action.data2}\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.action.action\x20==\x20\x27integration\x27\x20&&\x20vm.action.data1\x20==\x20\x27sugarcrm\x27\x20&&\x20vm.action.data2\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27\x27+data3.id\x22\x20ng-repeat=\x22data3\x20in\x20vm.sugarcrmConfigurations\x20|\x20filter:{AccountId:vm.action.data2}\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.action.action\x20==\x20\x27integration\x27\x20&&\x20vm.action.data1\x20==\x20\x27freshdesk\x27\x20&&\x20vm.action.data2\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.action.action\x20==\x20\x27integration\x27\x20&&\x20vm.action.data1\x20==\x20\x27vtiger\x27\x20&&\x20vm.action.data2\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27\x27+data3.id\x22\x20ng-repeat=\x22data3\x20in\x20vm.vtigerConfigurations\x20|\x20filter:{AccountId:vm.action.data2}\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.action.action\x20==\x20\x27integration\x27\x20&&\x20vm.action.data1\x20==\x20\x27dynamics365\x27\x20&&\x20vm.action.data2\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27\x27+data3.id\x22\x20ng-repeat=\x22data3\x20in\x20vm.dynamics365Configurations\x20|\x20filter:{AccountId:vm.action.data2}\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.action.action\x20==\x20\x27integration\x27\x20&&\x20vm.action.data1\x20==\x20\x27servicenow\x27\x20&&\x20vm.action.data2\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.newAction\x20&&\x20(!vm.newAction\x20&&\x20!vm.hasSectionPermissions[1310])\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27\x27+data3.id\x22\x20ng-repeat=\x22data3\x20in\x20vm.servicenowConfigurations\x20|\x20filter:{AccountId:vm.action.data2}\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.action.action\x20==\x20\x27integration\x27\x20&&\x20vm.action.data1\x20==\x20\x27freshsales\x27\x20&&\x20vm.action.data2\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.newAction\x20&&\x20(!vm.newAction\x20&&\x20!vm.hasSectionPermissions[1311])\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.action.action\x20==\x20\x27motionbar\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x270\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Windows\x20App</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.action.action\x20==\x20\x27motionbar\x27\x20&&\x20vm.action.data1\x20==\x20\x272\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.ERRORS.APPLICATION_REQUIRED\x22>Application\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22TOOLS.ARGUMENTS\x22>Arguments</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.ERRORS.ARGUMENTS_REQUIRED\x22>Arguments\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22TOOLS.TEMPLATE\x22>Template</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27\x27+data2.id\x22\x20ng-repeat=\x22data2\x20in\x20vm.templates\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.ERRORS.TEMPLATE_REQUIRED\x22>Template\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.action.action\x20==\x20\x27browser\x27\x20&&\x20vm.action.data1\x20==\x20\x270\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22(vm.action.action\x20==\x20\x27motionbar\x27\x20||\x20vm.action.action\x20==\x20\x27browser\x27)\x20&&\x20vm.action.data1\x20==\x20\x271\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22TOOLS.EVENTVARIABLES\x22>EventVariables</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22TOOLS.HELP.EVENTVARIABLES\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.ERRORS.EVENTVARIABLES_REQUIRED\x22>EventVariables\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.action.action\x20==\x20\x27browser\x27\x20&&\x20vm.action.data1\x20==\x20\x271\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22TOOLS.LOCATION\x22>Location</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x270\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27TOOLS.NEW_TAB\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27TOOLS.MOTION_TAB\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22actionForm[\x27data4\x27].$error\x22\x20ng-show=\x22actionForm[\x27data4\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.ERRORS.LOCATION_REQUIRED\x22>Location\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.action.action\x20==\x20\x27browser\x27\x20&&\x20vm.action.data4\x20==\x20\x271\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22TOOLS.WINDOWWIDTH\x22>WindowWidth</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22data5\x22\x20\x20ng-model=\x22vm.action.data5\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22actionForm[\x27data5\x27].$error\x22\x20ng-show=\x22actionForm[\x27data5\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.ERRORS.WINDOWWIDTH_REQUIRED\x22>WindowWidth\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.action.action\x20==\x20\x27browser\x27\x20&&\x20vm.action.data4\x20==\x20\x271\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22data6\x22\x20\x20ng-model=\x22vm.action.data6\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22actionForm[\x27data6\x27].$error\x22\x20ng-show=\x22actionForm[\x27data6\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22actionForm.$invalid\x20||\x20actionForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.newAction\x22\x20ng-click=\x22vm.addNewAction()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22actionForm.$invalid\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20ACTION\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x20&&\x20!vm.newAction\x22\x20ng-click=\x22vm.deleteAction($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x0a','<md-dialog\x20class=\x22allCondition-dialog\x22\x20aria-label=\x22New\x20AllCondition\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22TOOLS.FIELD\x22>Field</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27queue\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27TOOLS.QUEUE\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27lastevent\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27TOOLS.CALL_STATUS\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27routeId\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27agent\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27TOOLS.AGENT\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27account\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27TOOLS.ACCOUNT\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27TOOLS.INTERACTION\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27message\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22vm.trigger.channel\x20!=\x20\x27voice\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22operator\x22\x20ng-model=\x22vm.allCondition.operator\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27TOOLS.NOT_EQUALS\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22allConditionForm[\x27operator\x27].$error\x22\x20ng-show=\x22allConditionForm[\x27operator\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.allCondition.field\x20==\x20\x27account\x27\x20&&\x20vm.trigger.channel\x20==\x20\x27chat\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22value\x22\x20ng-model=\x22vm.allCondition.value\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22value.canSelect\x20===\x20false\x22>{{\x20value.name\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22allConditionForm[\x27value\x27].$error\x22\x20ng-show=\x22allConditionForm[\x27value\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.allCondition.field\x20==\x20\x27account\x27\x20&&\x20vm.trigger.channel\x20==\x20\x27sms\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22value.id\x22\x20ng-repeat=\x22value\x20in\x20vm.smsAccounts\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.allCondition.field\x20==\x20\x27account\x27\x20&&\x20vm.trigger.channel\x20==\x20\x27whatsapp\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.allCondition.field\x20==\x20\x27account\x27\x20&&\x20vm.trigger.channel\x20==\x20\x27fax\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22value.id\x22\x20ng-repeat=\x22value\x20in\x20vm.openchannelAccounts\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.allCondition.field\x20==\x20\x27queue\x27\x20&&\x20vm.trigger.channel\x20==\x20\x27voice\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22value.name\x22\x20ng-repeat=\x22value\x20in\x20vm.queues\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.ERRORS.QUEUE_REQUIRED\x22>Queue\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22TOOLS.OUTBOUNDROUTE\x22>OutboundRoute</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22value.id\x22\x20ng-repeat=\x22value\x20in\x20vm.outboundRoutes\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.ERRORS.OUTBOUNDROUTE_REQUIRED\x22>OutboundRoute\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.allCondition.field\x20==\x20\x27agent\x27\x20&&\x20vm.trigger.channel\x20==\x20\x27voice\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22TOOLS.AGENT\x22>Agent</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22value.name\x22\x20ng-repeat=\x22value\x20in\x20vm.agents\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22value.canSelect\x20===\x20false\x22>{{\x20value.fullname\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.allCondition.field\x20==\x20\x27lastevent\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27abandoned\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Abandon</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27complete\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27called\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Ring</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27connect\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Answer</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.allCondition.field\x20==\x20\x27interaction\x27\x20&&\x20vm.trigger.channel\x20!=\x20\x27voice\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27opened\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Opened</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Closed</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27out\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Outgoing</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27accept\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Accepted</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Rejected</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20!vm.newAllCondition\x22\x20ng-click=\x22vm.saveAllCondition()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22allConditionForm.$invalid\x20||\x20allConditionForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.newAllCondition\x22\x20ng-click=\x22vm.addNewAllCondition()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22allConditionForm.$invalid\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22TOOLS.ADD_ALLCONDITION\x22\x20translate-attr-aria-label=\x22TOOLS.ADD_ALLCONDITION\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22anyConditionForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27TOOLS.OUTBOUNDROUTE\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27TOOLS.MESSAGE\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22anyConditionForm[\x27field\x27].$error\x22\x20ng-show=\x22anyConditionForm[\x27field\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.ERRORS.FIELD_REQUIRED\x22>Field\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22TOOLS.OPERATOR\x22>Operator</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22operator\x22\x20ng-model=\x22vm.anyCondition.operator\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27equals\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27TOOLS.EQUALS\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27not_equals\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22anyConditionForm[\x27operator\x27].$error\x22\x20ng-show=\x22anyConditionForm[\x27operator\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.anyCondition.field\x20==\x20\x27account\x27\x20&&\x20vm.trigger.channel\x20==\x20\x27chat\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22value\x22\x20ng-model=\x22vm.anyCondition.value\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22value.id\x22\x20ng-repeat=\x22value\x20in\x20vm.chatAccounts\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22anyConditionForm[\x27value\x27].$error\x22\x20ng-show=\x22anyConditionForm[\x27value\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22value.id\x22\x20ng-repeat=\x22value\x20in\x20vm.mailAccounts\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.anyCondition.field\x20==\x20\x27account\x27\x20&&\x20vm.trigger.channel\x20==\x20\x27sms\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.anyCondition.field\x20==\x20\x27account\x27\x20&&\x20vm.trigger.channel\x20==\x20\x27fax\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.anyCondition.field\x20==\x20\x27queue\x27\x20&&\x20vm.trigger.channel\x20==\x20\x27voice\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22TOOLS.QUEUE\x22>Queue</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.anyCondition.field\x20==\x20\x27routeId\x27\x20&&\x20vm.trigger.channel\x20==\x20\x27voice\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22value.canSelect\x20===\x20false\x22>{{\x20value.exten\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.ERRORS.AGENT_REQUIRED\x22>Agent\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.anyCondition.field\x20==\x20\x27lastevent\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27timeout\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Timeout</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Hangup</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27rejected\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Reject</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27closed\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.anyCondition.field\x20==\x20\x27message\x27\x20&&\x20vm.trigger.channel\x20!=\x20\x27voice\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20!vm.newAnyCondition\x22\x20ng-click=\x22vm.saveAnyCondition()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22anyConditionForm.$invalid\x20||\x20anyConditionForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.newAnyCondition\x22\x20ng-click=\x22vm.addNewAnyCondition()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22TOOLS.ADD_ANYCONDITION\x22\x20translate-attr-aria-label=\x22TOOLS.ADD_ANYCONDITION\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20ANYCONDITION\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x20&&\x20!vm.newAnyCondition\x22\x20ng-click=\x22vm.deleteAnyCondition($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x0a','<div\x20id=\x22tools-trigger\x22\x20class=\x22page-layout\x20simple\x20tabbed\x22\x20layout=\x22column\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22goto-triggers-button\x20md-icon-button\x22\x20aria-label=\x22Go\x20to\x20triggers\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.gotoTriggers()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22TOOLS.GO_TO_TRIGGERS\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22trigger-image\x22\x20hide-xs>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.trigger.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22vm.trigger.name\x22>{{vm.trigger.name}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.CREATED_AT\x22></span>\x20<span>{{vm.trigger.createdAt\x20|\x20date:\x27medium\x27}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27TOOLS.OPENCHANNEL\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27channel\x27].$error\x22\x20ng-show=\x22generalForm[\x27channel\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.trigger.status\x22\x20aria-label=\x22Status\x22\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20><span\x20translate=\x22TOOLS.STATUS\x22>Status</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.CONDITIONS&ACTIONS\x22>CONDITIONS&ACTIONS</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22trigger-detail-form-container\x20allconditions\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-controller=\x22TriggerAllConditionsController\x20as\x20vm_dc\x22\x20ng-init=\x22vm_dc.init(vm.trigger,\x20vm.crudPermissions)\x22>\x0a','\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-default\x22\x20ng-hide=\x22vm_dc.selectedTriggerAllConditions.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22vm_dc.crudPermissions.canEdit\x22\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm_dc.createOrEditTriggerAllCondition($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22>{{vm_dc.selectedTriggerAllConditions.length}}\x20{{vm_dc.selectedTriggerAllConditions.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-icon-button\x22\x20ng-csv=\x22vm_dc.exportSelectedTriggerAllConditions\x22\x20csv-label=\x22true\x22\x20filename=\x22triggers.csv\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22field\x22\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.FIELD\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22operator\x22\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.OPERATOR\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.VALUE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22allCondition\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22allCondition\x20in\x20vm_dc.triggerAllConditions.rows\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_dc.createOrEditTriggerAllCondition($event,\x20allCondition)\x22\x20\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{allCondition.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm_dc.createOrEditTriggerAllCondition($event,\x20allCondition)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.\x27\x20+\x20vm_dc.arrayfield[allCondition.field].option\x20|\x20uppercase\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_dc.createOrEditTriggerAllCondition($event,\x20allCondition)\x22\x20ng-if=\x22!allCondition.value\x22\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{allCondition.value}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_dc.createOrEditTriggerAllCondition($event,\x20allCondition)\x22\x20ng-if=\x22vm.trigger.channel\x20==\x20\x27chat\x27\x20&&\x20allCondition.field\x20==\x20\x27account\x27\x22\x20md-cell>{{\x20(vm_dc.chatAccounts\x20|\x20filter\x20:\x20{\x27id\x27:allCondition.value})[0].name\x20}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_dc.createOrEditTriggerAllCondition($event,\x20allCondition)\x22\x20ng-if=\x22vm.trigger.channel\x20==\x20\x27mail\x27\x20&&\x20allCondition.field\x20==\x20\x27account\x27\x22\x20md-cell>{{\x20(vm_dc.mailAccounts\x20|\x20filter\x20:\x20{\x27id\x27:allCondition.value})[0].name\x20}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_dc.createOrEditTriggerAllCondition($event,\x20allCondition)\x22\x20ng-if=\x22vm.trigger.channel\x20==\x20\x27sms\x27\x20&&\x20allCondition.field\x20==\x20\x27account\x27\x22\x20md-cell>{{\x20(vm_dc.smsAccounts\x20|\x20filter\x20:\x20{\x27id\x27:allCondition.value})[0].name\x20}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_dc.createOrEditTriggerAllCondition($event,\x20allCondition)\x22\x20ng-if=\x22vm.trigger.channel\x20==\x20\x27whatsapp\x27\x20&&\x20allCondition.field\x20==\x20\x27account\x27\x22\x20md-cell>{{\x20(vm_dc.whatsappAccounts\x20|\x20filter\x20:\x20{\x27id\x27:allCondition.value})[0].name\x20}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_dc.createOrEditTriggerAllCondition($event,\x20allCondition)\x22\x20ng-if=\x22vm.trigger.channel\x20==\x20\x27voice\x27\x20&&\x20allCondition.field\x20==\x20\x27routeId\x27\x22\x20md-cell>{{\x20(vm_dc.outboundRoutes\x20|\x20filter\x20:\x20{\x27id\x27:allCondition.value})[0].exten\x20}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_dc.createOrEditTriggerAllCondition($event,\x20allCondition)\x22\x20ng-if=\x22vm.trigger.channel\x20==\x20\x27voice\x27\x20&&\x20allCondition.field\x20==\x20\x27agent\x27\x22\x20md-cell>{{\x20(vm_dc.agents\x20|\x20filter\x20:\x20{\x27name\x27:allCondition.value})[0].fullname\x20}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm_dc.callStatusValues[allCondition.value].option\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22vm.trigger.channel\x20!=\x20\x27voice\x27\x20&&\x20allCondition.field\x20==\x20\x27interaction\x27\x22\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm_dc.interactionStatusValues[allCondition.value].option\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22vm.trigger.channel\x20!=\x20\x27voice\x27\x20&&\x20allCondition.field\x20==\x20\x27message\x27\x22\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm_dc.messageStatusValues[allCondition.value].option\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_dc.createOrEditTriggerAllCondition($event,\x20allCondition)\x22\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20allCondition.createdAt\x20|\x20formatdate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm_dc.createOrEditTriggerAllCondition($event,\x20allCondition)\x22\x20translate=\x22TOOLS.EDIT_ALLCONDITION\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20AllCondition\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm_dc.deleteConfirm(allCondition,\x20$event)\x22\x20translate=\x22TOOLS.DELETE_ALLCONDITION\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-if=\x22!vm_dc.triggerAllConditions.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22text-boxed-light\x22\x20translate=\x22TOOLS.NO_ALLCONDITION_AVAILABLE\x22>No\x20allcondition\x20available</span>\x0a','\x20\x20\x20\x20<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27TOOLS.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27TOOLS.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27TOOLS.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm_dc.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm_dc.query.page\x22\x20md-total=\x22{{vm_dc.triggerAllConditions.count}}\x22\x20md-on-paginate=\x22vm_dc.getTriggerAllConditions\x22\x20md-page-select></md-table-pagination>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22trigger-detail-form-container\x20anyconditions\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-controller=\x22TriggerAnyConditionsController\x20as\x20vm_dc\x22\x20ng-init=\x22vm_dc.init(vm.trigger,\x20vm.crudPermissions)\x22>\x0a','\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-default\x22\x20ng-hide=\x22vm_dc.selectedTriggerAnyConditions.length\x22>\x0a','\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22\x20translate=\x22TOOLS.ANYCONDITIONS\x22>AnyConditions</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22vm_dc.crudPermissions.canEdit\x22\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm_dc.createOrEditTriggerAnyCondition($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20anyCondition\x22\x20translate\x20translate-attr-label=\x22TOOLS.ADD_ANYCONDITION\x22>\x0a','\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-accent\x22\x20ng-show=\x22vm_dc.selectedTriggerAnyConditions.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22>{{vm_dc.selectedTriggerAnyConditions.length}}\x20{{vm_dc.selectedTriggerAnyConditions.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-icon-button\x22\x20ng-csv=\x22vm_dc.exportSelectedTriggerAnyConditions\x22\x20csv-label=\x22true\x22\x20filename=\x22triggers.csv\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22vm_dc.crudPermissions.canDelete\x22\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm_dc.deleteSelectedTriggerAnyConditions($event)\x22\x0a','\x20\x20\x20\x20\x20\x20<table\x20md-table\x20md-row-select\x20multiple\x20ng-model=\x22vm_dc.selectedTriggerAnyConditions\x22\x20md-progress=\x22vm_dc.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm_dc.query.sort\x22\x20md-on-reorder=\x22vm_dc.getTriggerAnyConditions\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22anyCondition\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22anyCondition\x20in\x20vm_dc.triggerAnyConditions.rows\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{anyCondition.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm_dc.createOrEditTriggerAnyCondition($event,\x20anyCondition)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.\x27\x20+\x20vm_dc.arrayfield[anyCondition.field].option\x20|\x20uppercase\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.\x27\x20+\x20vm_dc.arrayoperator[anyCondition.operator].option\x20|\x20uppercase\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_dc.createOrEditTriggerAnyCondition($event,\x20anyCondition)\x22\x20ng-if=\x22!anyCondition.value\x22\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{anyCondition.value}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_dc.createOrEditTriggerAnyCondition($event,\x20anyCondition)\x22\x20ng-if=\x22vm.trigger.channel\x20==\x20\x27chat\x27\x20&&\x20anyCondition.field\x20==\x20\x27account\x27\x22\x20md-cell>{{\x20(vm_dc.chatAccounts\x20|\x20filter\x20:\x20{\x27id\x27:anyCondition.value})[0].name\x20}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_dc.createOrEditTriggerAnyCondition($event,\x20anyCondition)\x22\x20ng-if=\x22vm.trigger.channel\x20==\x20\x27mail\x27\x20&&\x20anyCondition.field\x20==\x20\x27account\x27\x22\x20md-cell>{{\x20(vm_dc.mailAccounts\x20|\x20filter\x20:\x20{\x27id\x27:anyCondition.value})[0].name\x20}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_dc.createOrEditTriggerAnyCondition($event,\x20anyCondition)\x22\x20ng-if=\x22vm.trigger.channel\x20==\x20\x27sms\x27\x20&&\x20anyCondition.field\x20==\x20\x27account\x27\x22\x20md-cell>{{\x20(vm_dc.smsAccounts\x20|\x20filter\x20:\x20{\x27id\x27:anyCondition.value})[0].name\x20}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_dc.createOrEditTriggerAnyCondition($event,\x20anyCondition)\x22\x20ng-if=\x22vm.trigger.channel\x20==\x20\x27fax\x27\x20&&\x20anyCondition.field\x20==\x20\x27account\x27\x22\x20md-cell>{{\x20(vm_dc.faxAccounts\x20|\x20filter\x20:\x20{\x27id\x27:anyCondition.value})[0].name\x20}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_dc.createOrEditTriggerAnyCondition($event,\x20anyCondition)\x22\x20ng-if=\x22vm.trigger.channel\x20==\x20\x27openchannel\x27\x20&&\x20anyCondition.field\x20==\x20\x27account\x27\x22\x20md-cell>{{\x20(vm_dc.openchannelAccounts\x20|\x20filter\x20:\x20{\x27id\x27:anyCondition.value})[0].name\x20}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_dc.createOrEditTriggerAnyCondition($event,\x20anyCondition)\x22\x20ng-if=\x22vm.trigger.channel\x20==\x20\x27voice\x27\x20&&\x20anyCondition.field\x20==\x20\x27routeId\x27\x22\x20md-cell>{{\x20(vm_dc.outboundRoutes\x20|\x20filter\x20:\x20{\x27id\x27:anyCondition.value})[0].exten\x20}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_dc.createOrEditTriggerAnyCondition($event,\x20anyCondition)\x22\x20ng-if=\x22vm.trigger.channel\x20==\x20\x27voice\x27\x20&&\x20anyCondition.field\x20==\x20\x27agent\x27\x22\x20md-cell>{{\x20(vm_dc.agents\x20|\x20filter\x20:\x20{\x27name\x27:anyCondition.value})[0].fullname\x20}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22vm.trigger.channel\x20==\x20\x27voice\x27\x20&&\x20anyCondition.field\x20==\x20\x27lastevent\x27\x22\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm_dc.callStatusValues[anyCondition.value].option\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22vm.trigger.channel\x20!=\x20\x27voice\x27\x20&&\x20anyCondition.field\x20==\x20\x27interaction\x27\x22\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm_dc.interactionStatusValues[anyCondition.value].option\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22vm.trigger.channel\x20!=\x20\x27voice\x27\x20&&\x20anyCondition.field\x20==\x20\x27message\x27\x22\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm_dc.messageStatusValues[anyCondition.value].option\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_dc.createOrEditTriggerAnyCondition($event,\x20anyCondition)\x22\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm_dc.createOrEditTriggerAnyCondition($event,\x20anyCondition)\x22\x20translate=\x22TOOLS.EDIT_ANYCONDITION\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20AnyCondition\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20AnyCondition\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-if=\x22!vm_dc.triggerAnyConditions.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20colspan=\x2218\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22text-boxed-light\x22\x20translate=\x22TOOLS.NO_ANYCONDITION_AVAILABLE\x22>No\x20anycondition\x20available</span>\x0a','\x20\x20\x20\x20<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27TOOLS.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27TOOLS.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27TOOLS.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm_dc.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm_dc.query.page\x22\x20md-total=\x22{{vm_dc.triggerAnyConditions.count}}\x22\x20md-on-paginate=\x22vm_dc.getTriggerAnyConditions\x22\x20md-page-select></md-table-pagination>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22trigger-detail-form-container\x20actions\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-controller=\x22TriggerActionsController\x20as\x20vm_dc\x22\x20ng-init=\x22vm_dc.init(vm.trigger,\x20vm.crudPermissions)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20action\x22\x20translate\x20translate-attr-label=\x22TOOLS.ADD_ACTION\x22>\x0a','\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-accent\x22\x20ng-show=\x22vm_dc.selectedTriggerActions.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22>{{vm_dc.selectedTriggerActions.length}}\x20{{vm_dc.selectedTriggerActions.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-icon-button\x22\x20ng-csv=\x22vm_dc.exportSelectedTriggerActions\x22\x20csv-label=\x22true\x22\x20filename=\x22triggers.csv\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22vm_dc.crudPermissions.canDelete\x22\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm_dc.deleteSelectedTriggerActions($event)\x22\x0a','\x20\x20\x20\x20\x20\x20<table\x20md-table\x20md-row-select\x20multiple\x20ng-model=\x22vm_dc.selectedTriggerActions\x22\x20md-progress=\x22vm_dc.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22action\x22\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.ACTION\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22data1\x22\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22data2\x22\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.INFO\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22action\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22action\x20in\x20vm_dc.triggerActions.rows\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm_dc.createOrEditTriggerAction($event,\x20action)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.\x27\x20+\x20vm_dc.arrayaction[action.action].option\x20|\x20uppercase\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_dc.createOrEditTriggerAction($event,\x20action)\x22\x20ng-if=\x22action.action\x20==\x20\x27jscripty\x27\x22\x20md-cell>{{\x20(vm_dc.projects\x20|\x20filter\x20:\x20{\x27id\x27:action.data1})[0].name\x20}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22action.action\x20==\x20\x27browser\x27\x22\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm_dc.browserValues[action.data1].option\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_dc.createOrEditTriggerAction($event,\x20action)\x22\x20ng-if=\x22action.action\x20==\x20\x27contactManager\x27\x22\x20md-cell>{{\x20(vm_dc.lists\x20|\x20filter\x20:\x20{\x27id\x27:action.data1})[0].name\x20}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22action.action\x20==\x20\x27contactManager\x27\x22\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22action.action\x20==\x20\x27urlForward\x27\x22\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm_dc.urlForwardValues[action.data1].option\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_dc.createOrEditTriggerAction($event,\x20action)\x22\x20ng-if=\x22!action.data1\x22\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{action.data1}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{action.data2}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_dc.createOrEditTriggerAction($event,\x20action)\x22\x20ng-if=\x22action.action\x20==\x20\x27script\x27\x22\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm_dc.integrationValues[action.data1].option\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_dc.createOrEditTriggerAction($event,\x20action)\x22\x20ng-if=\x22action.action\x20==\x20\x27integration\x27\x20&&\x20action.data1\x20==\x20\x27zendesk\x27\x22\x20md-cell>{{\x20(vm_dc.zendeskAccounts\x20|\x20filter\x20:\x20{\x27id\x27:action.data2})[0].name\x20}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_dc.createOrEditTriggerAction($event,\x20action)\x22\x20ng-if=\x22action.action\x20==\x20\x27integration\x27\x20&&\x20action.data1\x20==\x20\x27desk\x27\x22\x20md-cell>{{\x20(vm_dc.deskAccounts\x20|\x20filter\x20:\x20{\x27id\x27:action.data2})[0].name\x20}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_dc.createOrEditTriggerAction($event,\x20action)\x22\x20ng-if=\x22action.action\x20==\x20\x27integration\x27\x20&&\x20action.data1\x20==\x20\x27freshdesk\x27\x22\x20md-cell>{{\x20(vm_dc.freshdeskAccounts\x20|\x20filter\x20:\x20{\x27id\x27:action.data2})[0].name\x20}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_dc.createOrEditTriggerAction($event,\x20action)\x22\x20ng-if=\x22action.action\x20==\x20\x27integration\x27\x20&&\x20action.data1\x20==\x20\x27vtiger\x27\x22\x20md-cell>{{\x20(vm_dc.vtigerAccounts\x20|\x20filter\x20:\x20{\x27id\x27:action.data2})[0].name\x20}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_dc.createOrEditTriggerAction($event,\x20action)\x22\x20ng-if=\x22action.action\x20==\x20\x27integration\x27\x20&&\x20action.data1\x20==\x20\x27servicenow\x27\x22\x20md-cell>{{\x20(vm_dc.servicenowAccounts\x20|\x20filter\x20:\x20{\x27id\x27:action.data2})[0].name\x20}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_dc.createOrEditTriggerAction($event,\x20action)\x22\x20ng-if=\x22action.action\x20==\x20\x27integration\x27\x20&&\x20action.data1\x20==\x20\x27freshsales\x27\x22\x20md-cell>{{\x20(vm_dc.freshsalesAccounts\x20|\x20filter\x20:\x20{\x27id\x27:action.data2})[0].name\x20}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_dc.createOrEditTriggerAction($event,\x20action)\x22\x20ng-if=\x22action.action\x20==\x20\x27motionbar\x27\x20&&\x20action.data1\x20==\x20\x271\x27\x22\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_dc.createOrEditTriggerAction($event,\x20action)\x22\x20ng-if=\x22action.action\x20==\x20\x27motionbar\x27\x20&&\x20action.data1\x20==\x20\x272\x27\x22\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_dc.createOrEditTriggerAction($event,\x20action)\x22\x20ng-if=\x22action.action\x20==\x20\x27motionbar\x27\x20&&\x20action.data1\x20==\x20\x270\x27\x22\x20md-cell>{{\x20(vm_dc.templates\x20|\x20filter\x20:\x20{\x27id\x27:action.data2})[0].name\x20}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_dc.createOrEditTriggerAction($event,\x20action)\x22\x20ng-if=\x22action.action\x20==\x20\x27browser\x27\x20&&\x20action.data1\x20==\x20\x270\x27\x22\x20md-cell>{{\x20(vm_dc.templates\x20|\x20filter\x20:\x20{\x27id\x27:action.data2})[0].name\x20}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_dc.createOrEditTriggerAction($event,\x20action)\x22\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20action.createdAt\x20|\x20formatdate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm_dc.createOrEditTriggerAction($event,\x20action)\x22\x20translate=\x22TOOLS.EDIT_ACTION\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Action\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm_dc.deleteConfirm(action,\x20$event)\x22\x20translate=\x22TOOLS.DELETE_ACTION\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-if=\x22!vm_dc.triggerActions.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20colspan=\x2251\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22text-boxed-light\x22\x20translate=\x22TOOLS.NO_ACTION_AVAILABLE\x22>No\x20action\x20available</span>\x0a','\x20\x20\x20\x20<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27TOOLS.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27TOOLS.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27TOOLS.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm_dc.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm_dc.query.page\x22\x20md-total=\x22{{vm_dc.triggerActions.count}}\x22\x20md-on-paginate=\x22vm_dc.getTriggerActions\x22\x20md-page-select></md-table-pagination>\x0a','<div\x20id=\x22triggers\x22\x20class=\x22page-layout\x20simple\x20left-sidenav\x20inner-sidenav\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22logo-text\x22\x20translate=\x22TOOLS.TRIGGERS\x22>Triggers</span>\x0a','\x20\x20\x20\x20<div\x20ng-show=\x22vm.selectedTriggers.length\x20>\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22selected-triggers-count\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.selectAllTriggers()\x22\x20translate=\x22TOOLS.SELECT_ALL\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-icon-button\x22\x20ng-csv=\x22vm.exportSelectedTriggers\x22\x20csv-label=\x22true\x22\x20filename=\x22triggers.csv\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x22\x20ng-click=\x22vm.deleteSelectedTriggers($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20TRIGGER\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm.query.sort\x22\x20md-on-reorder=\x22vm.getTriggers\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22channel\x22>{{\x20\x27TOOLS.CHANNEL\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22status\x22>{{\x20\x27TOOLS.STATUS\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm.triggers.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22trigger\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22trigger\x20in\x20vm.triggers.rows\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22trigger.userpic\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{trigger.name}}\x22\x20ng-src=\x22api/users/{{trigger.id}}/avatar\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(trigger,\x20ev)\x20:\x20vm.createOrEditTrigger($event,\x20trigger)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22id\x20\x22\x20>{{trigger.id}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(trigger,\x20ev)\x20:\x20vm.createOrEditTrigger($event,\x20trigger)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22name\x20\x22\x20>{{trigger.name}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(trigger,\x20ev)\x20:\x20vm.createOrEditTrigger($event,\x20trigger)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22channel\x20\x22>{{\x20\x27TOOLS.\x27\x20+\x20vm.arraychannel[trigger.channel].option\x20|\x20uppercase\x20|\x20translate\x20}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(trigger,\x20ev)\x20:\x20vm.createOrEditTrigger($event,\x20trigger)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(trigger,\x20ev)\x20:\x20vm.createOrEditTrigger($event,\x20trigger)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.editstate(trigger,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22TOOLS.DELETE_TRIGGER\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Trigger\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20TRIGGER\x20TABLE\x20-->\x0a','\x20\x20\x20\x20<md-button\x20ng-if=\x22vm.crudPermissions.canEdit\x22\x20class=\x22md-fab\x20md-accent\x22\x20id=\x22add-trigger-button\x22\x20ng-click=\x22vm.createOrEditTrigger($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20trigger\x22\x20translate\x20translate-attr-aria-label=\x22TOOLS.ADD_TRIGGER\x22>\x0a','\x20\x20\x20\x20<!--\x20/\x20ADD\x20TRIGGER\x20BUTTON\x20-->\x0a','\x20\x20\x20\x20<form\x20name=\x22trunkForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22TOOLS.HELP.NAME\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22trunkForm[\x27name\x27].$error\x22\x20ng-show=\x22trunkForm[\x27name\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22TOOLS.HOST\x22>host</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22host\x22\x20\x20ng-model=\x22vm.trunk.host\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22TOOLS.HELP.HOST\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22trunkForm[\x27host\x27].$error\x22\x20ng-show=\x22trunkForm[\x27host\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22TOOLS.SECRET\x22>secret</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22password\x22\x20name=\x22secret\x22\x20ng-model=\x22vm.trunk.secret\x22\x20placeholder=\x22Password\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-placeholder=\x22TOOLS.PASSWORD\x22\x20\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22trunkForm[\x27secret\x27].$error\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.ERRORS.PASSWORD_REQUIRED\x22>Password\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.ERRORS.SECURE_PASSWORD_PATTERN\x22>Must\x20contain\x20at\x20least\x208\x20characters,\x20with\x20a\x20minimum\x20of\x201\x20lowercase\x20letter,\x201\x20uppercase\x20letter,\x201\x20numeric\x20character\x20and\x201\x20special\x20character\x20~!?*@#$%^&-_=+[{]}.</span>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22TOOLS.DEFAULTUSER\x22>defaultuser</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22TOOLS.HELP.DEFAULTUSER\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22trunkForm[\x27defaultuser\x27].$error\x22\x20ng-show=\x22trunkForm[\x27defaultuser\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.ERRORS.DEFAULTUSER_REQUIRED\x22>defaultuser\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22TOOLS.REGISTRY\x22>registry</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22TOOLS.HELP.REGISTRY\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22trunkForm[\x27registry\x27].$error\x22\x20ng-show=\x22trunkForm[\x27registry\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.ERRORS.REGISTRY_REQUIRED\x22>registry\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22description\x22\x20\x20ng-model=\x22vm.trunk.description\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22trunkForm[\x27description\x27].$error\x22\x20ng-show=\x22trunkForm[\x27description\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20!vm.newTrunk\x22\x20ng-click=\x22vm.saveTrunk()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22trunkForm.$invalid\x20||\x20trunkForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.newTrunk\x22\x20ng-click=\x22vm.addNewTrunk()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22TOOLS.ADD_TRUNK\x22\x20translate-attr-aria-label=\x22TOOLS.ADD_TRUNK\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20TRUNK\x0a','app/main/apps/tools/views/trunks/edit/clone/clone.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22name\x22\x20\x20ng-model=\x22vm.trunk.name\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.newTrunk\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.trunk.active\x22\x20aria-label=\x22active\x22\x20><span\x20translate=\x22TOOLS.ACTIVE\x22>active</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-click=\x22vm.cloneTrunk()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22trunkForm.$invalid\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CLONE\x20TRUNK\x0a','<div\x20id=\x22tools-trunk\x22\x20class=\x22page-layout\x20simple\x20tabbed\x22\x20layout=\x22column\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22goto-trunks-button\x20md-icon-button\x22\x20aria-label=\x22Go\x20to\x20trunks\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.gotoTrunks()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22TOOLS.GO_TO_TRUNKS\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22trunk-image\x22\x20hide-xs>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<img\x20ng-src=\x22assets/images/business/trunks.jpg\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.trunk.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22vm.trunk.name\x22>{{vm.trunk.name}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.CREATED_AT\x22></span>\x20<span>{{vm.trunk.createdAt\x20|\x20date:\x27medium\x27}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip><span\x20translate=\x22TOOLS.GOTO_TRUNK\x22></span></md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip><span\x20translate=\x22TOOLS.CLONE_TRUNK\x22></span></md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22trunk-detail-form-container\x20general\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22TOOLS.HELP.SECRET\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27secret\x27].$error\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22defaultuser\x22\x20\x20ng-model=\x22vm.trunk.defaultuser\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27defaultuser\x27].$error\x22\x20ng-show=\x22generalForm[\x27defaultuser\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22TOOLS.CONTEXT\x22>context</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22context\x22\x20ng-model=\x22vm.trunk.context\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22TOOLS.HELP.CONTEXT\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.ERRORS.CONTEXT_REQUIRED\x22>context\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22callerid\x22\x20\x20ng-model=\x22vm.trunk.callerid\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22TOOLS.HELP.CALLERID\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22type\x22\x20ng-model=\x22vm.trunk.type\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22TOOLS.HELP.TYPE\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22TOOLS.DTMFMODE\x22>dtmfmode</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22dtmfmode\x22\x20ng-model=\x22vm.trunk.dtmfmode\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27rfc2833\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>shortinfo</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27inband\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>inband</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27auto\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>auto</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22TOOLS.HELP.DTMFMODE\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27dtmfmode\x27].$error\x22\x20ng-show=\x22generalForm[\x27dtmfmode\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.ERRORS.DTMFMODE_REQUIRED\x22>dtmfmode\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22nat\x22\x20ng-model=\x22vm.trunk.nat\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.ERRORS.NAT_REQUIRED\x22>nat\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22TOOLS.QUALIFY\x22>qualify</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22qualify\x22\x20ng-model=\x22vm.trunk.qualify\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27qualify\x27].$error\x22\x20ng-show=\x22generalForm[\x27qualify\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22TOOLS.ALLOWCODECS\x22>AllowCodecs</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22allow\x22\x20ng-model=\x22vm.trunk.allow\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27g723\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>g723</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27g726\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27ilbc\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>ilbc</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22TOOLS.HELP.ALLOWCODECS\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27allow\x27].$error\x22\x20ng-show=\x22generalForm[\x27allow\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.ERRORS.ALLOWCODECS_REQUIRED\x22>AllowCodecs\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22TOOLS.INSECURE\x22>insecure</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22insecure\x22\x20ng-model=\x22vm.trunk.insecure\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27port\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27invite\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>invite</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27very\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>very</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22TOOLS.HELP.INSECURE\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27insecure\x27].$error\x22\x20ng-show=\x22generalForm[\x27insecure\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22TOOLS.CALL_LIMIT\x22>call_limit</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22call_limit\x22\x20\x20ng-model=\x22vm.trunk.call_limit\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22TOOLS.HELP.CALL_LIMIT\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27call_limit\x27].$error\x22\x20ng-show=\x22generalForm[\x27call_limit\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.ERRORS.CALL_LIMIT_REQUIRED\x22>call_limit\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.ADVANCED\x22>ADVANCED</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22trunk-detail-form-container\x20advanced\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22registry\x22\x20\x20ng-model=\x22vm.trunk.registry\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22advancedForm[\x27registry\x27].$error\x22\x20ng-show=\x22advancedForm[\x27registry\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22TOOLS.DIRECTMEDIA\x22>directmedia</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27nonat\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>nonat</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>update</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22TOOLS.HELP.DIRECTMEDIA\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.ERRORS.DIRECTMEDIA_REQUIRED\x22>directmedia\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22TOOLS.CALLCOUNTER\x22>callcounter</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22callcounter\x22\x20ng-model=\x22vm.trunk.callcounter\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22TOOLS.HELP.CALLCOUNTER\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22advancedForm[\x27callcounter\x27].$error\x22\x20ng-show=\x22advancedForm[\x27callcounter\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.ERRORS.CALLCOUNTER_REQUIRED\x22>callcounter\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22TOOLS.FROMDOMAIN\x22>fromdomain</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22fromdomain\x22\x20\x20ng-model=\x22vm.trunk.fromdomain\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22TOOLS.HELP.FROMDOMAIN\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22advancedForm[\x27fromdomain\x27].$error\x22\x20ng-show=\x22advancedForm[\x27fromdomain\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.ERRORS.FROMDOMAIN_REQUIRED\x22>fromdomain\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22TOOLS.FROMUSER\x22>fromuser</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22fromuser\x22\x20\x20ng-model=\x22vm.trunk.fromuser\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22TOOLS.HELP.FROMUSER\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22advancedForm[\x27fromuser\x27].$error\x22\x20ng-show=\x22advancedForm[\x27fromuser\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.ERRORS.FROMUSER_REQUIRED\x22>fromuser\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22TOOLS.OUTBOUNDPROXY\x22>outboundproxy</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22outboundproxy\x22\x20\x20ng-model=\x22vm.trunk.outboundproxy\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22TOOLS.HELP.OUTBOUNDPROXY\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22advancedForm[\x27outboundproxy\x27].$error\x22\x20ng-show=\x22advancedForm[\x27outboundproxy\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.ERRORS.OUTBOUNDPROXY_REQUIRED\x22>outboundproxy\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22usereqphone\x22\x20ng-model=\x22vm.trunk.usereqphone\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22advancedForm[\x27usereqphone\x27].$error\x22\x20ng-show=\x22advancedForm[\x27usereqphone\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.ERRORS.ADD_PHONE_TO_URI_REQUIRED\x22>Add_phone_to_URI\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22TOOLS.TRUST_REMOTE_PARTY_ID\x22>Trust_Remote_Party_ID</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22trustrpid\x22\x20ng-model=\x22vm.trunk.trustrpid\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22advancedForm[\x27trustrpid\x27].$error\x22\x20ng-show=\x22advancedForm[\x27trustrpid\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22TOOLS.SEND_REMOTE_PARTY_ID_HEADER\x22>Send_Remote_Party_ID_header</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22sendrpid\x22\x20ng-model=\x22vm.trunk.sendrpid\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27pai\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27TOOLS.PAI\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.ERRORS.SEND_REMOTE_PARTY_ID_HEADER_REQUIRED\x22>Send_Remote_Party_ID_header\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22TOOLS.ENCRYPTION\x22>encryption</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22encryption\x22\x20ng-model=\x22vm.trunk.encryption\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22TOOLS.HELP.ENCRYPTION\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22advancedForm[\x27encryption\x27].$error\x22\x20ng-show=\x22advancedForm[\x27encryption\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22port\x22\x20\x20ng-model=\x22vm.trunk.port\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22advancedForm[\x27port\x27].$error\x22\x20ng-show=\x22advancedForm[\x27port\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.ERRORS.PORT_REQUIRED\x22>port\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22TOOLS.TRANSPORT\x22>Transport</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22transport\x22\x20ng-model=\x22vm.trunk.transport\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22TOOLS.HELP.TRANSPORT\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22advancedForm[\x27transport\x27].$error\x22\x20ng-show=\x22advancedForm[\x27transport\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22TOOLS.T38PT_UDPTL\x22>t38pt_udptl</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22string\x22\x20name=\x22t38pt_udptl\x22\x20\x20ng-model=\x22vm.trunk.t38pt_udptl\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22TOOLS.HELP.T38PT_UDPTL\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22TOOLS.VIDEOSUPPORT\x22>Videosupport</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22advancedForm[\x27videosupport\x27].$error\x22\x20ng-show=\x22advancedForm[\x27videosupport\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22TOOLS.ERRORS.VIDEOSUPPORT_REQUIRED\x22>Videosupport\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22trunk-detail-form-container\x20otherfields\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<form\x20name=\x22otherFieldsForm\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22TOOLS.OTHERFIELDS\x22>otherFields</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<textarea\x20name=\x22otherFields\x22\x20ng-model=\x22vm.trunk.otherFields\x22\x20\x20autofocus\x20\x20></textarea>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22TOOLS.HELP.OTHERFIELDS\x22></span></div>\x0a','<div\x20id=\x22trunks\x22\x20class=\x22page-layout\x20simple\x20left-sidenav\x20inner-sidenav\x22>\x0a','\x20\x20\x20\x20<div\x20ng-show=\x22vm.selectedTrunks.length\x20>\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22close-button-wrapper\x22\x20ng-click=\x22vm.selectedTrunks\x20=[]\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.selectAllTrunks()\x22\x20translate=\x22TOOLS.SELECT_ALL\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deselectTrunks()\x22\x20translate=\x22TOOLS.SELECT_NONE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-icon-button\x22\x20ng-csv=\x22vm.exportSelectedTrunks\x22\x20csv-label=\x22true\x22\x20filename=\x22trunks.csv\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x22\x20ng-click=\x22vm.deleteSelectedTrunks($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20TRUNK\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<table\x20md-table\x20\x20md-row-select\x20multiple\x20\x20\x20ng-model=\x22vm.selectedTrunks\x22\x20md-progress=\x22vm.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm.query.sort\x22\x20md-on-reorder=\x22vm.getTrunks\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22registry\x22>{{\x20\x27TOOLS.REGISTRY\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm.trunks.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22trunk\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22trunk\x20in\x20vm.trunks.rows\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22trunk.userpic\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{trunk.name}}\x22\x20ng-src=\x22api/users/{{trunk.id}}/avatar\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22!trunk.userpic\x20&&\x20(vm.table\x20==\x20\x27users\x27\x20||\x20vm.table\x20==\x20\x27agents\x27)\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{trunk.name}}\x22\x20ng-src=\x22assets/images/avatars/profile.png\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(trunk,\x20ev)\x20:\x20vm.createOrEditTrunk($event,\x20trunk)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22id\x20\x22\x20>{{trunk.id}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(trunk,\x20ev)\x20:\x20vm.createOrEditTrunk($event,\x20trunk)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(trunk,\x20ev)\x20:\x20vm.createOrEditTrunk($event,\x20trunk)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22active\x20\x22><md-icon\x20md-colors=\x22{color:\x20{{trunk.active\x20?\x20\x27\x5c\x27green\x5c\x27\x27\x20:\x20\x27\x5c\x27grey\x5c\x27\x27}}}\x22\x20md-font-icon=\x22{{trunk.active\x20?\x20\x27icon-check\x27\x20:\x20\x27icon-close\x27}}\x22></md-icon></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(trunk,\x20ev)\x20:\x20vm.createOrEditTrunk($event,\x20trunk)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22registry\x20\x22\x20>{{trunk.registry}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22description\x20\x22\x20>{{trunk.description}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22TOOLS.EDIT_TRUNK\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Trunk\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.clonedialog(trunk,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22TOOLS.CLONE_TRUNK\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20clone\x20Trunk\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22TOOLS.GOTOREALTIME_TRUNK\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20goToRealtime\x20Trunk\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22TOOLS.DELETE_TRUNK\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Trunk\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27TOOLS.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27TOOLS.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27TOOLS.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm.query.page\x22\x20md-total=\x22{{vm.trunks.count}}\x22\x20md-on-paginate=\x22vm.getTrunks\x22\x20md-page-select></md-table-pagination>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20TRUNK\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20ADD\x20TRUNK\x20BUTTON\x20-->\x0a','\x20\x20\x20\x20<md-button\x20ng-if=\x22vm.crudPermissions.canEdit\x22\x20class=\x22md-fab\x20md-accent\x22\x20id=\x22add-trunk-button\x22\x20ng-click=\x22vm.createOrEditTrunk($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20trunk\x22\x20translate\x20translate-attr-aria-label=\x22TOOLS.ADD_TRUNK\x22>\x0a','\x20\x20\x20\x20<!--\x20/\x20ADD\x20TRUNK\x20BUTTON\x20-->\x0a','<md-dialog\x20class=\x22variable-dialog\x22\x20aria-label=\x22New\x20Variable\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22variableForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22description\x22\x20\x20ng-model=\x22vm.variable.description\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22variableForm[\x27description\x27].$error\x22\x20ng-show=\x22variableForm[\x27description\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20!vm.newVariable\x22\x20ng-click=\x22vm.saveVariable()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.newVariable\x22\x20ng-click=\x22vm.addNewVariable()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22variableForm.$invalid\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22TOOLS.ADD_VARIABLE\x22\x20translate-attr-aria-label=\x22TOOLS.ADD_VARIABLE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x20&&\x20!vm.newVariable\x22\x20ng-click=\x22vm.deleteVariable($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x0a','\x20\x20\x20\x20<div\x20ng-show=\x22vm.selectedVariables.length\x20>\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22close-button-wrapper\x22\x20ng-click=\x22vm.selectedVariables\x20=[]\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22selected-variables-count\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>{{vm.selectedVariables.length}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.selectAllVariables()\x22\x20translate=\x22TOOLS.SELECT_ALL\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deselectVariables()\x22\x20translate=\x22TOOLS.SELECT_NONE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20VARIABLE\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<table\x20md-table\x20\x20md-row-select\x20multiple\x20\x20\x20ng-model=\x22vm.selectedVariables\x22\x20md-progress=\x22vm.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm.query.sort\x22\x20md-on-reorder=\x22vm.getVariables\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm.variables.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22variable\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22variable\x20in\x20vm.variables.rows\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22!variable.userpic\x20&&\x20(vm.table\x20==\x20\x27users\x27\x20||\x20vm.table\x20==\x20\x27agents\x27)\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{variable.name}}\x22\x20ng-src=\x22assets/images/avatars/profile.png\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.createOrEditVariable($event,\x20variable)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22id\x20\x22\x20>{{variable.id}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.createOrEditVariable($event,\x20variable)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22name\x20\x22\x20>{{variable.name}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22description\x20\x22\x20>{{variable.description}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.editdialog(variable,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Variable\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Variable\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27TOOLS.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27TOOLS.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27TOOLS.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm.query.page\x22\x20md-total=\x22{{vm.variables.count}}\x22\x20md-on-paginate=\x22vm.getVariables\x22\x20md-page-select></md-table-pagination>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20VARIABLE\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20ADD\x20VARIABLE\x20BUTTON\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20variable\x22\x20translate\x20translate-attr-aria-label=\x22TOOLS.ADD_VARIABLE\x22>\x0a','\x20\x20\x20\x20<!--\x20/\x20ADD\x20VARIABLE\x20BUTTON\x20-->\x0a','<md-dialog\x20class=\x22screenRecording-dialog\x22\x20aria-label=\x22New\x20screenRecording\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22screenRecordingForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VIDEO.RATING\x22>Rating</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22rating\x22\x20ng-model=\x22vm.screenRecording.rating\x22\x20\x20autofocus\x20\x20ng-disabled=\x22!vm.newscreenRecording\x20&&\x20!vm.crudPermissions.canEdit\x22\x20\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22null\x22>{{\x27VIDEO.NO_RATING\x27\x20|\x20translate}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20value=\x222\x22><md-icon\x20md-font-icon=\x22icon-star\x22\x20style=\x22color:red\x22\x20ng-repeat=\x22icon\x20in\x20[1,2]\x22></md-icon></md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20value=\x223\x22><md-icon\x20md-font-icon=\x22icon-star\x22\x20style=\x22color:red\x22\x20ng-repeat=\x22icon\x20in\x20[1,2,3]\x22></md-icon></md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20value=\x225\x22><md-icon\x20md-font-icon=\x22icon-star\x22\x20style=\x22color:red\x22\x20ng-repeat=\x22icon\x20in\x20[1,2,3,4,5]\x22></md-icon></md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22screenRecordingForm[\x27rating\x27].$error\x22\x20ng-show=\x22screenRecordingForm[rating].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20!vm.newscreenRecording\x22\x20ng-click=\x22vm.savescreenRecording()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22screenRecordingForm.$invalid\x20||\x20screenRecordingForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22VIDEO.SAVE\x22\x20translate-attr-aria-label=\x22VIDEO.SAVE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.newscreenRecording\x22\x20ng-click=\x22vm.addNewscreenRecording()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22screenRecordingForm.$invalid\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22VIDEO.ADD_SCREENRECORDING\x22\x20translate-attr-aria-label=\x22VIDEO.ADD_SCREENRECORDING\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip><span\x20translate=\x22VIDEO.DELETE\x22>DELETE</span></md-tooltip>\x0a','<md-dialog\x20class=\x22play-dialog\x22\x20aria-label=\x22play\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22playForm\x22\x20ng-cloak>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h2\x20translate=\x22{{\x20vm.app.toUpperCase()\x20}}.{{\x20\x20vm.label.toUpperCase()\x20}}\x22>Play\x20Recording</h2>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20layout=\x22row\x22\x20layout-sm\x20flex>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20VIRTUAL\x20field\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-headline\x22>{{\x20vm.filename\x20}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22><span\x20translate=\x22{{\x20vm.app.toUpperCase()\x20}}.UPDATEDAT\x22></span>:\x20{{\x20vm.recording.updatedAt}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-card-title-text>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20video\x20recording\x20directive\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<ms-dialog-recording\x20ng-if=\x22vm.format\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22md-card-image\x22></ms-dialog-recording>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20video\x20recording\x20directive\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22!vm.format\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<em\x20ng-if=\x22vm.found\x22>{{\x20vm.app.toUpperCase()\x20+\x20\x27.CANT_PLAY_THIS_FILE\x27\x20|\x20translate\x20}}</em>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<em\x20ng-if=\x22!vm.found\x22>{{\x20vm.app.toUpperCase()\x20+\x20\x27.FILE_NOT_FOUND\x27\x20|\x20translate\x20}}</em>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-card-title\x20ng-if=\x22vm.actionOptions.lowerTitle\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-card-title-text>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-headline\x22>{{\x20vm.filename\x20}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22><span\x20translate=\x22{{\x20vm.app.toUpperCase()\x20}}.UPDATEDAT\x22></span>:\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.recording.updatedAt}}</span></span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22vm.actionOptions.properties\x22\x20class=\x22md-subhead\x22><span\x20translate=\x22{{\x20vm.app.toUpperCase()\x20}}.PROPERTIES\x22></span>:</span></span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-card-title-text>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-card-title>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-card-content\x20ng-if=\x22vm.actionOptions.properties\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-list-item\x20class=\x22md-2-line\x22\x20ng-repeat=\x22(key,value)\x20in\x20vm.properties\x22\x20ng-click=\x22null\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22key\x20!=\x20\x27value\x27\x20&&\x20key\x20!=\x20\x27updatedAt\x27\x20&&\x20key\x20!=\x20\x27queue\x27\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20ng-if=\x22vm.icon\x22\x20class=\x22md-avatar-icon\x22\x20md-font-icon=\x22vm.actionOptions.propertiesIcon\x22\x20class=\x22s24\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22md-list-item-text\x22\x20layout=\x22column\x22\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<p><b><span\x20translate=\x22{{\x20vm.app.toUpperCase()\x20}}.{{\x20key.toUpperCase()\x20}}\x22></span></b></p>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<p>{{\x20value\x20}}<p>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</md-card-content>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-hide=\x22!vm.loading\x22\x20layout-fill\x20style=\x22min-height:\x20397px;\x22\x20layout=\x22row\x22\x20layout-sm=\x22column\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20layout-align=\x22center\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-progress-circular\x20class=\x22md-primary\x20md-hue-1\x22\x20md-diameter=\x2296\x22></md-progress-circular>\x0a','app/main/apps/video/views/screenRecordings/screenRecordings.html','<div\x20id=\x22screenRecordings\x22\x20class=\x22page-layout\x20simple\x20left-sidenav\x20inner-sidenav\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-video\x22\x20class=\x22s24\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22logo-text\x22\x20translate=\x22VIDEO.SCREENRECORDINGS\x22>ScreenRecordings</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20id=\x22search\x22\x20placeholder=\x22Search\x20for\x20anyone\x22\x20type=\x22text\x22\x20ng-model=\x22vm.query.filter\x22\x20ng-model-options=\x22{\x20debounce:\x201000\x20}\x22\x20translate\x20translate-attr-placeholder=\x22VIDEO.SEARCH_FOR_ANYONE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<ms-quick-filter\x20filters=\x22vm.quickFilters\x22\x20query=\x22vm.query\x22\x20search=\x22vm.getScreenRecordings()\x22></ms-quick-filter>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22close-button-wrapper\x22\x20ng-click=\x22vm.selectedScreenRecordings\x20=[]\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VIDEO.BACK\x22>Back</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22selected-screenRecordings-count\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>{{vm.selectedScreenRecordings.length}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VIDEO.SELECTED\x22>selected</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22VIDEO.MULTI_SELECT_TOGGLE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deselectScreenRecordings()\x22\x20translate=\x22VIDEO.SELECT_NONE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-icon-button\x22\x20ng-csv=\x22vm.exportSelectedScreenRecordings\x22\x20csv-label=\x22true\x22\x20filename=\x22screenRecordings.csv\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x22\x20ng-click=\x22vm.deleteSelectedScreenRecordings($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22VIDEO.DELETE_SELECTED\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20SCREENRECORDING\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<table\x20md-table\x20\x20md-row-select\x20multiple\x20\x20\x20ng-model=\x22vm.selectedScreenRecordings\x22\x20md-progress=\x22vm.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm.query.sort\x22\x20md-on-reorder=\x22vm.getScreenRecordings\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22id\x22>{{\x20\x27VIDEO.ID\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22UserId\x22>{{\x20\x27VIDEO.AGENT\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22duration\x22>{{\x20\x27VIDEO.DURATION\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22startedAt\x22>{{\x20\x27VIDEO.RECORDSTARTTIME\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22closedAt\x22>{{\x20\x27VIDEO.RECORDENDTIME\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm.screenRecordings.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VIDEO.NO_AVAILABLE_INFO\x22>No\x20Available\x20Info</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22screenRecording\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22screenRecording\x20in\x20vm.screenRecordings.rows\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22screenRecording.userpic\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{screenRecording.name}}\x22\x20ng-src=\x22api/users/{{screenRecording.id}}/avatar\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22!screenRecording.userpic\x20&&\x20(vm.table\x20==\x20\x27users\x27\x20||\x20vm.table\x20==\x20\x27agents\x27)\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{screenRecording.name}}\x22\x20ng-src=\x22assets/images/avatars/profile.png\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.createOrEditscreenRecording($event,\x20screenRecording)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22id\x20\x22\x20>{{screenRecording.id}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22rating\x20\x22><md-icon\x20md-font-icon=\x22icon-star\x22\x20style=\x22color:red\x22\x20ng-show=\x22screenRecording.rating\x22\x20ng-repeat=\x22rating\x20in\x20[1,2,3,4,5]\x20|\x20limitTo:screenRecording.rating\x22></md-icon><span\x20ng-hide=\x22screenRecording.rating\x22\x20translate=\x22VIDEO.NO_RATING\x22>No\x20rating</span></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.createOrEditscreenRecording($event,\x20screenRecording)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22UserId\x20\x22>{{\x20(vm.users\x20|\x20filter\x20:\x20{\x27id\x27:screenRecording.UserId}\x20:\x20true)[0].fullname\x20}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell><span\x20ng-bind=\x22vm.convertDuration(screenRecording.duration)\x22></span></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22startedAt\x20\x22>{{screenRecording.startedAt\x20|\x20date:\x27medium\x27\x20}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.createOrEditscreenRecording($event,\x20screenRecording)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22VIDEO.PLAY_SCREENRECORDING\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20play\x20screenRecording\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Download\x20screenRecording\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deleteconfirm(screenRecording,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22VIDEO.DELETE_SCREENRECORDING\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20screenRecording\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27VIDEO.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27VIDEO.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27VIDEO.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm.query.page\x22\x20md-total=\x22{{vm.screenRecordings.count}}\x22\x20md-on-paginate=\x22vm.getScreenRecordings\x22\x20md-page-select></md-table-pagination>\x0a','<div\x20id=\x22chanSpies\x22\x20class=\x22page-layout\x20simple\x20left-sidenav\x20inner-sidenav\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-phone\x22\x20class=\x22s24\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22logo-text\x22\x20translate=\x22VOICE.CHANSPIES\x22>ChanSpies</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20id=\x22search\x22\x20placeholder=\x22Search\x20for\x20anyone\x22\x20type=\x22text\x22\x20ng-model=\x22vm.query.filter\x22\x20ng-model-options=\x22{\x20debounce:\x201000\x20}\x22\x20translate\x20translate-attr-placeholder=\x22VOICE.SEARCH_FOR_ANYONE\x22>\x0a','\x20\x20\x20\x20<div\x20ng-show=\x22vm.selectedChanSpies.length\x20>\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22close-button-wrapper\x22\x20ng-click=\x22vm.selectedChanSpies\x20=[]\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.BACK\x22>Back</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22selected-chanSpies-count\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>{{vm.selectedChanSpies.length}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.SELECTED\x22>selected</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22VOICE.MULTI_SELECT_TOGGLE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x22\x20ng-click=\x22vm.deleteSelectedChanSpies($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22VOICE.DELETE_SELECTED\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20CHANSPY\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm.query.sort\x22\x20md-on-reorder=\x22vm.getChanSpies\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22name\x22>{{\x20\x27VOICE.NAME\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22prefix\x22>{{\x20\x27VOICE.PREFIX\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22auth\x22>{{\x20\x27VOICE.AUTH\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22record\x22>{{\x20\x27VOICE.RECORD\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22description\x22>{{\x20\x27VOICE.DESCRIPTION\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm.chanSpies.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22chanSpy.userpic\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{chanSpy.name}}\x22\x20ng-src=\x22api/users/{{chanSpy.id}}/avatar\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22!chanSpy.userpic\x20&&\x20(vm.table\x20==\x20\x27users\x27\x20||\x20vm.table\x20==\x20\x27agents\x27)\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{chanSpy.name}}\x22\x20ng-src=\x22assets/images/avatars/profile.png\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.createOrEditchanSpy($event,\x20chanSpy)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.createOrEditchanSpy($event,\x20chanSpy)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22name\x20\x22\x20>{{chanSpy.name}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22prefix\x20\x22\x20>{{chanSpy.prefix}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(chanSpy,\x20ev)\x20:\x20vm.createOrEditchanSpy($event,\x20chanSpy)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22auth\x20\x22><md-icon\x20md-colors=\x22{color:\x20{{chanSpy.auth\x20?\x20\x27\x5c\x27green\x5c\x27\x27\x20:\x20\x27\x5c\x27grey\x5c\x27\x27}}}\x22\x20md-font-icon=\x22{{chanSpy.auth\x20?\x20\x27icon-check\x27\x20:\x20\x27icon-close\x27}}\x22></md-icon></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22record\x20\x22><md-icon\x20md-colors=\x22{color:\x20{{chanSpy.record\x20?\x20\x27\x5c\x27green\x5c\x27\x27\x20:\x20\x27\x5c\x27grey\x5c\x27\x27}}}\x22\x20md-font-icon=\x22{{chanSpy.record\x20?\x20\x27icon-check\x27\x20:\x20\x27icon-close\x27}}\x22></md-icon></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22VOICE.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22VOICE.EDIT_CHANSPY\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20chanSpy\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20chanSpy\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27VOICE.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27VOICE.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27VOICE.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm.query.page\x22\x20md-total=\x22{{vm.chanSpies.count}}\x22\x20md-on-paginate=\x22vm.getChanSpies\x22\x20md-page-select></md-table-pagination>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20CHANSPY\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20ADD\x20CHANSPY\x20BUTTON\x20-->\x0a','\x20\x20\x20\x20<md-button\x20ng-if=\x22vm.crudPermissions.canEdit\x22\x20class=\x22md-fab\x20md-accent\x22\x20id=\x22add-chanSpy-button\x22\x20ng-click=\x22vm.createOrEditchanSpy($event)\x22\x0a','\x20\x20\x20\x20<!--\x20/\x20ADD\x20CHANSPY\x20BUTTON\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.NAME\x22>Name</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22name\x22\x20\x20ng-model=\x22vm.chanSpy.name\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22chanSpyForm[\x27name\x27].$error\x22\x20ng-show=\x22chanSpyForm[\x27name\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.NAME_REQUIRED\x22>Name\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.PREFIX\x22>Prefix</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22prefix\x22\x20\x20ng-model=\x22vm.chanSpy.prefix\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22chanSpyForm[\x27prefix\x27].$error\x22\x20ng-show=\x22chanSpyForm[\x27prefix\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.PREFIX_REQUIRED\x22>Prefix\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.OPTIONS\x22>Options</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22options\x22\x20ng-model=\x22vm.chanSpy.options\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27b\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>b:\x20Only\x20spy\x20on\x20channels\x20involved\x20in\x20a\x20bridged\x20call.</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27B\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>B:\x20Instead\x20of\x20whispering\x20on\x20a\x20single\x20channel\x20barge\x20in\x20on\x20both\x20channels\x20involved\x20in\x20the\x20call.</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27E\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27o\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>o:\x20Only\x20listen\x20to\x20audio\x20coming\x20from\x20this\x20channel.</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27q\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>q:\x20Don\x27t\x20play\x20a\x20beep\x20when\x20beginning\x20to\x20spy\x20on\x20a\x20channel,\x20or\x20speak\x20the\x20selected\x20channel\x20name.</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27s\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>s:\x20Skip\x20the\x20playback\x20of\x20the\x20channel\x20type\x20(i.e.\x20SIP,\x20IAX,\x20etc)\x20when\x20speaking\x20the\x20selected\x20channel\x20name.</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27S\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>S:\x20Stop\x20when\x20no\x20more\x20channels\x20are\x20left\x20to\x20spy\x20on.</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>w:\x20Enable\x20whisper\x20mode,\x20so\x20the\x20spying\x20channel\x20can\x20talk\x20to\x20the\x20spied-on\x20channel.</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27W\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>W:\x20Enable\x20private\x20whisper\x20mode,\x20so\x20the\x20spying\x20channel\x20can\x20talk\x20to\x20the\x20spied-on\x20channel\x20but\x20cannot\x20listen\x20to\x20that\x20channel.</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22chanSpyForm[\x27options\x27].$error\x22\x20ng-show=\x22chanSpyForm[\x27options\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.OPTIONS_REQUIRED\x22>Options\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.chanSpy.auth\x22\x20aria-label=\x22Auth\x22\x20><span\x20translate=\x22VOICE.AUTH\x22>Auth</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20class=\x22md-block\x22\x20\x20ng-if=\x22vm.chanSpy.auth\x22\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.PASSWORD\x22>Password</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22password\x22\x20name=\x22password\x22\x20ng-model=\x22vm.chanSpy.password\x22\x20placeholder=\x22Password\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-placeholder=\x22VOICE.PASSWORD\x22\x20\x20required\x20\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22chanSpyForm[\x27password\x27].$error\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.chanSpy.record\x22\x20aria-label=\x22Record\x22\x20><span\x20translate=\x22VOICE.RECORD\x22>Record</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.chanSpy.record\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.RECORDINGFORMAT\x22>recordingFormat</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22recordingFormat\x22\x20ng-model=\x22vm.chanSpy.recordingFormat\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27wav\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.RECORDINGFORMAT_REQUIRED\x22>recordingFormat\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22description\x22\x20\x20ng-model=\x22vm.chanSpy.description\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22chanSpyForm[\x27description\x27].$error\x22\x20ng-show=\x22chanSpyForm[\x27description\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20!vm.newchanSpy\x22\x20ng-click=\x22vm.savechanSpy()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22chanSpyForm.$invalid\x20||\x20chanSpyForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22VOICE.SAVE\x22\x20translate-attr-aria-label=\x22VOICE.SAVE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22VOICE.ADD_CHANSPY\x22\x20translate-attr-aria-label=\x22VOICE.ADD_CHANSPY\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x20&&\x20!vm.newchanSpy\x22\x20ng-click=\x22vm.deletechanSpy($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22VOICE.DELETE\x22>\x0a','<div\x20id=\x22contexts\x22\x20class=\x22page-layout\x20simple\x20left-sidenav\x20inner-sidenav\x22>\x0a','\x20\x20\x20\x20<div\x20ng-show=\x22vm.selectedContexts.length\x20>\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22selected-contexts-count\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.selectAllContexts()\x22\x20translate=\x22VOICE.SELECT_ALL\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deselectContexts()\x22\x20translate=\x22VOICE.SELECT_NONE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-icon-button\x22\x20ng-csv=\x22vm.exportSelectedContexts\x22\x20csv-label=\x22true\x22\x20filename=\x22contexts.csv\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20CONTEXT\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22id\x22>{{\x20\x27VOICE.ID\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm.contexts.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22context\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22context\x20in\x20vm.contexts.rows\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22context.userpic\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{context.name}}\x22\x20ng-src=\x22api/users/{{context.id}}/avatar\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22!context.userpic\x20&&\x20(vm.table\x20==\x20\x27users\x27\x20||\x20vm.table\x20==\x20\x27agents\x27)\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{context.name}}\x22\x20ng-src=\x22assets/images/avatars/profile.png\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.createOrEditContext($event,\x20context)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22id\x20\x22\x20>{{context.id}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.createOrEditContext($event,\x20context)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22name\x20\x22\x20>{{context.name}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.editdialog(context,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22VOICE.EDIT_CONTEXT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Context\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deleteconfirm(context,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22VOICE.DELETE_CONTEXT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Context\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20ADD\x20CONTEXT\x20BUTTON\x20-->\x0a','\x20\x20\x20\x20<!--\x20/\x20ADD\x20CONTEXT\x20BUTTON\x20-->\x0a','<md-dialog\x20class=\x22context-dialog\x22\x20aria-label=\x22New\x20Context\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22contextForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22name\x22\x20\x20ng-model=\x22vm.context.name\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22description\x22\x20\x20ng-model=\x22vm.context.description\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22contextForm[\x27description\x27].$error\x22\x20ng-show=\x22contextForm[\x27description\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.DESCRIPTION_REQUIRED\x22>Description\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22contextForm.$invalid\x20||\x20contextForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.newContext\x22\x20ng-click=\x22vm.addNewContext()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20CONTEXT\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x20&&\x20!vm.newContext\x22\x20ng-click=\x22vm.deleteContext($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip><span\x20translate=\x22VOICE.DELETE\x22>DELETE</span></md-tooltip>\x0a','<md-dialog\x20class=\x22inboundroute-dialog\x22\x20aria-label=\x22New\x20InboundRoute\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22inboundrouteForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.PHONENUMBER\x22>PhoneNumber</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22exten\x22\x20\x20ng-model=\x22vm.inboundroute.exten\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22inboundrouteForm[\x27exten\x27].$error\x22\x20ng-show=\x22inboundrouteForm[\x27exten\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.CONTEXT\x22>Context</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22context\x22\x20ng-model=\x22vm.inboundroute.context\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22inboundrouteForm[\x27context\x27].$error\x22\x20ng-show=\x22inboundrouteForm[\x27context\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.CONTEXT_REQUIRED\x22>Context\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.DESCRIPTION\x22>Description</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22description\x22\x20\x20ng-model=\x22vm.inboundroute.description\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20!vm.newInboundRoute\x22\x20ng-click=\x22vm.saveInboundRoute()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22inboundrouteForm.$invalid\x20||\x20inboundrouteForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.newInboundRoute\x22\x20ng-click=\x22vm.addNewInboundRoute()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22VOICE.ADD_INBOUNDROUTE\x22\x20translate-attr-aria-label=\x22VOICE.ADD_INBOUNDROUTE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20INBOUNDROUTE\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x20&&\x20!vm.newInboundRoute\x22\x20ng-click=\x22vm.deleteInboundRoute($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x0a','\x20\x20\x20\x20<form\x20name=\x22inboundrouteFormApp\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.PROJECT\x22>Project</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22project\x22\x20ng-model=\x22vm.agi.project\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27agi://127.0.0.1/square,{{project.name}}\x27\x22\x20ng-repeat=\x22project\x20in\x20vm.projects\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22project.canSelect\x20===\x20false\x22>{{\x20project.name\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22inboundrouteFormApp[\x27project\x27].$error\x22\x20ng-show=\x22inboundrouteFormApp[\x27project\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22inboundrouteFormApp.$invalid\x20||\x20inboundrouteFormApp.$pristine\x22\x0a','app/main/apps/voice/views/inboundroutes/edit/apps/custom/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22app\x22\x20\x20ng-model=\x22vm.custom.app\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.APPLICATION_NAME_REQUIRED\x22>Application_Name\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22appdata\x22\x20\x20ng-model=\x22vm.custom.appdata\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22inboundrouteFormApp[\x27appdata\x27].$error\x22\x20ng-show=\x22inboundrouteFormApp[\x27appdata\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-click=\x22vm.saveInboundRouteApp()\x22\x0a','app/main/apps/voice/views/inboundroutes/edit/apps/dial/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.TECHNOLOGY/RESOURCE\x22>Technology/Resource</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22tech\x22\x20\x20ng-model=\x22vm.dial.tech\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22inboundrouteFormApp[\x27tech\x27].$error\x22\x20ng-show=\x22inboundrouteFormApp[\x27tech\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.TECHNOLOGY/RESOURCE_REQUIRED\x22>Technology/Resource\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.TIMEOUT\x22>Timeout</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22timeout\x22\x20\x20ng-model=\x22vm.dial.timeout\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.TIMEOUT_REQUIRED\x22>Timeout\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.TIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>0</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22options\x22\x20\x20ng-model=\x22vm.dial.options\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22inboundrouteFormApp[\x27options\x27].$error\x22\x20ng-show=\x22inboundrouteFormApp[\x27options\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.URL_REQUIRED\x22>Url\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.TRUNK\x22>Trunk</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22trunk\x22\x20ng-model=\x22vm.externaldial.trunk\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22inboundrouteFormApp[\x27trunk\x27].$error\x22\x20ng-show=\x22inboundrouteFormApp[\x27trunk\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.TRUNK_REQUIRED\x22>Trunk\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.PHONE\x22>Phone</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22phone\x22\x20\x20ng-model=\x22vm.externaldial.phone\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22inboundrouteFormApp[\x27phone\x27].$error\x22\x20ng-show=\x22inboundrouteFormApp[\x27phone\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.PHONE_REQUIRED\x22>Phone\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22inboundrouteFormApp[\x27timeout\x27].$error\x22\x20ng-show=\x22inboundrouteFormApp[\x27timeout\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.URL\x22>Url</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22url\x22\x20\x20ng-model=\x22vm.externaldial.url\x22\x20\x0a','app/main/apps/voice/views/inboundroutes/edit/apps/goto/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22context\x22\x20ng-model=\x22vm.goto.context\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22inboundrouteFormApp[\x27context\x27].$error\x22\x20ng-show=\x22inboundrouteFormApp[\x27context\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.EXTENSION\x22>Extension</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22inboundrouteFormApp[\x27extension\x27].$error\x22\x20ng-show=\x22inboundrouteFormApp[\x27extension\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.EXTENSION_REQUIRED\x22>Extension\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.PRIORITY\x22>Priority</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22priority\x22\x20\x20ng-model=\x22vm.goto.priority\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.PRIORITY_REQUIRED\x22>Priority\x20field\x20is\x20required</span>\x0a','app/main/apps/voice/views/inboundroutes/edit/apps/hangup/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.HANGUP_CAUSE\x22>Hangup_Cause</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22appdata\x22\x20ng-model=\x22vm.hangup.appdata\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x2716\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27VOICE.HANGUPCAUSE_16\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x2717\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27VOICE.HANGUPCAUSE_17\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x2718\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27VOICE.HANGUPCAUSE_18\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x2721\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27VOICE.HANGUPCAUSE_21\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x2722\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27VOICE.HANGUPCAUSE_22\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x2727\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27VOICE.HANGUPCAUSE_27\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x2738\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27VOICE.HANGUPCAUSE_38\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x2741\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27VOICE.HANGUPCAUSE_41\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.HANGUP_CAUSE_REQUIRED\x22>Hangup_Cause\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.USER\x22>User</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22user\x22\x20ng-model=\x22vm.internaldial.user\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27SIP/{{user.name}}\x27\x22\x20ng-repeat=\x22user\x20in\x20vm.users\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22inboundrouteFormApp[\x27user\x27].$error\x22\x20ng-show=\x22inboundrouteFormApp[\x27user\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22timeout\x22\x20\x20ng-model=\x22vm.internaldial.timeout\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22url\x22\x20\x20ng-model=\x22vm.internaldial.url\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22inboundrouteFormApp[\x27url\x27].$error\x22\x20ng-show=\x22inboundrouteFormApp[\x27url\x27].$touched\x22\x20role=\x22alert\x22>\x0a','app/main/apps/voice/views/inboundroutes/edit/apps/playback/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.AUDIO_FILES\x22>Audio_Files</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22appdata\x22\x20ng-model=\x22vm.playback.appdata\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27/var/opt/motion2/server/files/sounds/converted/{{appdata.save_name}}\x27\x22\x20ng-repeat=\x22appdata\x20in\x20vm.sounds\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.AUDIO_FILES_REQUIRED\x22>Audio_Files\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22options\x22\x20\x20ng-model=\x22vm.playback.options\x22\x20\x0a','app/main/apps/voice/views/inboundroutes/edit/apps/queue/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.QUEUE\x22>Queue</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22inboundrouteFormApp[\x27queue\x27].$error\x22\x20ng-show=\x22inboundrouteFormApp[\x27queue\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.QUEUE_REQUIRED\x22>Queue\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22options\x22\x20\x20ng-model=\x22vm.queue.options\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22inboundrouteFormApp[\x27URL\x27].$error\x22\x20ng-show=\x22inboundrouteFormApp[\x27URL\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.ANNOUNCE_OVERRIDES\x22>Announce_Overrides</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22sound\x22\x20ng-model=\x22vm.queue.sound\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27/var/opt/motion2/server/files/sounds/converted/{{sound.save_name}}\x27\x22\x20ng-repeat=\x22sound\x20in\x20vm.sounds\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22inboundrouteFormApp[\x27sound\x27].$error\x22\x20ng-show=\x22inboundrouteFormApp[\x27sound\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.ANNOUNCE_OVERRIDES_REQUIRED\x22>Announce_Overrides\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.AGI\x22>Agi</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22inboundrouteFormApp[\x27agi\x27].$error\x22\x20ng-show=\x22inboundrouteFormApp[\x27agi\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.MACRO\x22>Macro</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22inboundrouteFormApp[\x27macro\x27].$error\x22\x20ng-show=\x22inboundrouteFormApp[\x27macro\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.MACRO_REQUIRED\x22>Macro\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.GOSUB\x22>GoSub</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22gosub\x22\x20\x20ng-model=\x22vm.queue.gosub\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22inboundrouteFormApp[\x27rule\x27].$error\x22\x20ng-show=\x22inboundrouteFormApp[\x27rule\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.RULE_REQUIRED\x22>Rule\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.POSITION\x22>Position</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22position\x22\x20\x20ng-model=\x22vm.queue.position\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22inboundrouteFormApp[\x27position\x27].$error\x22\x20ng-show=\x22inboundrouteFormApp[\x27position\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.POSITION_REQUIRED\x22>Position\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.POSITION_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>Position\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>0</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22multipleUsers.canSelect\x20===\x20false\x22>{{\x20multipleUsers.name\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22inboundrouteFormApp[\x27multipleUsers\x27].$error\x22\x20ng-show=\x22inboundrouteFormApp[\x27multipleUsers\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.USER_REQUIRED\x22>User\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22options\x22\x20\x20ng-model=\x22vm.ringgroup.options\x22\x20\x0a','app/main/apps/voice/views/inboundroutes/edit/apps/set/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.VARIABLE\x22>Variable</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22name\x22\x20ng-model=\x22vm.set.name\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22name.name\x22\x20ng-repeat=\x22name\x20in\x20vm.variables\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22inboundrouteFormApp[\x27name\x27].$error\x22\x20ng-show=\x22inboundrouteFormApp[\x27name\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.VARIABLE_REQUIRED\x22>Variable\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.VALUE\x22>Value</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22value\x22\x20\x20ng-model=\x22vm.set.value\x22\x20\x0a','app/main/apps/voice/views/inboundroutes/edit/apps/voicemail/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.MAILBOX@CONTEXT\x22>Mailbox@Context</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22voiceMail\x22\x20ng-model=\x22vm.voicemail.voiceMail\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27{{voiceMail.mailbox}}@from-voicemail\x27\x22\x20ng-repeat=\x22voiceMail\x20in\x20vm.voiceMails\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22voiceMail.canSelect\x20===\x20false\x22>{{\x20voiceMail.mailbox\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22inboundrouteFormApp[\x27voiceMail\x27].$error\x22\x20ng-show=\x22inboundrouteFormApp[\x27voiceMail\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22options\x22\x20\x20ng-model=\x22vm.voicemail.options\x22\x20\x0a','app/main/apps/voice/views/inboundroutes/edit/view.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22goto-inboundroutes-button\x20md-icon-button\x22\x20aria-label=\x22Go\x20to\x20inboundroutes\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.gotoInboundRoutes()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22inboundroute-image\x22\x20hide-xs>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<img\x20ng-src=\x22assets/images/business/inboundroutes.jpg\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.inboundroute.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-click=\x22vm.saveInboundRoute()\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20ng-disabled=\x22(generalForm.$invalid)\x20||\x20(actionsForm.$invalid)\x22\x20translate=\x22VOICE.SAVE\x22\x20translate-attr-aria-label=\x22VOICE.SAVE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.SETTINGS\x22>SETTINGS</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22inboundroute-detail-form-container\x20general\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22VOICE.GENERAL\x22>GENERAL</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27exten\x27].$error\x22\x20ng-show=\x22generalForm[\x27exten\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.PHONENUMBER_REQUIRED\x22>PhoneNumber\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ACTIONS\x22>ACTIONS</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-controller=\x22InboundRouteActionsController\x20as\x20vm_ac\x22\x20ng-init=\x22vm_ac.init(vm.inboundroute,\x20vm.crudPermissions)\x22\x20class=\x22content\x22\x20md-background-bg\x20layout=\x22row\x22\x20layout-align=\x22start\x20start\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<p\x20class=\x22text-truncate\x22\x20translate=\x22VOICE.{{(a.alias\x20||\x20a.appType)\x20|\x20uppercase}}\x22>{{a.alias\x20||\x20a.appType}}</p>\x0a','\x20\x20\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-default\x22\x20ng-hide=\x22vm_ac.selectedInboundRouteApps.length\x22>\x0a','\x20\x20\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-accent\x22\x20ng-show=\x22vm_ac.selectedInboundRouteApps.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22vm_ac.crudPermissions.canDelete\x22\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm_ac.deleteSelectedInboundRouteApps($event)\x22\x0a','\x20\x20\x20\x20\x20\x20<table\x20md-table\x20\x20md-row-select\x20multiple\x20ng-model=\x22vm_ac.selectedInboundRouteApps\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22app\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22app\x20in\x20vm_ac.inboundrouteApps.rows\x20|\x20filter:\x20vm_ac.query.filter\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-click=\x22vm_ac.editInboundRouteApp($event,\x20$index)\x22>{{app.app.toLowerCase()\x20===\x20\x27agi\x27\x20?\x20\x27Cally-Square\x27\x20:\x20app.app\x20|\x20ucfirst}}<span\x20ng-if=\x22app.appType.toLowerCase()\x20===\x20\x27custom\x27\x22>*</span></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-click=\x22vm_ac.editInboundRouteApp($event,\x20$index)\x22><span\x20class=\x22text-truncate\x22\x20style=\x22width:200px\x22>{{app.appdata}}</span></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm_ac.inboundrouteApps.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20colspan=\x226\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tfoot\x20md-foot>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20colspan=\x227\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span><em\x20translate=\x22VOICE.LEGEND.CUSTOM_APPLICATION\x22>(*)\x20-\x20Custom\x20application.</em></span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</tr>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20</tfoot>\x0a','app/main/apps/voice/views/inboundroutes/inboundroutes.html','<div\x20id=\x22inboundroutes\x22\x20class=\x22page-layout\x20simple\x20left-sidenav\x20inner-sidenav\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22logo-text\x22\x20translate=\x22VOICE.INBOUNDROUTES\x22>InboundRoutes</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22selected-inboundroutes-count\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>{{vm.selectedInboundRoutes.length}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deselectInboundRoutes()\x22\x20translate=\x22VOICE.SELECT_NONE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x22\x20ng-click=\x22vm.deleteSelectedInboundRoutes($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20INBOUNDROUTE\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<table\x20md-table\x20\x20md-row-select\x20multiple\x20\x20\x20ng-model=\x22vm.selectedInboundRoutes\x22\x20md-progress=\x22vm.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm.query.sort\x22\x20md-on-reorder=\x22vm.getInboundRoutes\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22exten\x22>{{\x20\x27VOICE.PHONENUMBER\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm.inboundroutes.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22inboundroute\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22inboundroute\x20in\x20vm.inboundroutes.rows\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22inboundroute.userpic\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{inboundroute.name}}\x22\x20ng-src=\x22api/users/{{inboundroute.id}}/avatar\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22!inboundroute.userpic\x20&&\x20(vm.table\x20==\x20\x27users\x27\x20||\x20vm.table\x20==\x20\x27agents\x27)\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{inboundroute.name}}\x22\x20ng-src=\x22assets/images/avatars/profile.png\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(inboundroute,\x20ev)\x20:\x20vm.createOrEditInboundRoute($event,\x20inboundroute)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22id\x20\x22\x20>{{inboundroute.id}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(inboundroute,\x20ev)\x20:\x20vm.createOrEditInboundRoute($event,\x20inboundroute)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22exten\x20\x22\x20>{{inboundroute.exten}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22description\x20\x22\x20>{{inboundroute.description}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.editstate(inboundroute,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deleteconfirm(inboundroute,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22VOICE.DELETE_INBOUNDROUTE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20INBOUNDROUTE\x20TABLE\x20-->\x0a','\x20\x20\x20\x20<md-button\x20ng-if=\x22vm.crudPermissions.canEdit\x22\x20class=\x22md-fab\x20md-accent\x22\x20id=\x22add-inboundroute-button\x22\x20ng-click=\x22vm.createOrEditInboundRoute($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20inboundroute\x22\x20translate\x20translate-attr-aria-label=\x22VOICE.ADD_INBOUNDROUTE\x22>\x0a','\x20\x20\x20\x20<!--\x20/\x20ADD\x20INBOUNDROUTE\x20BUTTON\x20-->\x0a','\x20\x20\x20\x20<form\x20name=\x22internalrouteForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22context\x22\x20ng-model=\x22vm.internalroute.context\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22description\x22\x20\x20ng-model=\x22vm.internalroute.description\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22internalrouteForm[\x27description\x27].$error\x22\x20ng-show=\x22internalrouteForm[\x27description\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20!vm.newInternalRoute\x22\x20ng-click=\x22vm.saveInternalRoute()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22internalrouteForm.$invalid\x20||\x20internalrouteForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.newInternalRoute\x22\x20ng-click=\x22vm.addNewInternalRoute()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22internalrouteForm.$invalid\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22VOICE.ADD_INTERNALROUTE\x22\x20translate-attr-aria-label=\x22VOICE.ADD_INTERNALROUTE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20INTERNALROUTE\x0a','<md-dialog\x20class=\x22internalroute-dialog\x22\x20aria-label=\x22New\x20InternalRoute\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22internalrouteFormApp[\x27project\x27].$error\x22\x20ng-show=\x22internalrouteFormApp[\x27project\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.PROJECT_REQUIRED\x22>Project\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-click=\x22vm.saveInternalRouteApp()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22internalrouteFormApp.$invalid\x20||\x20internalrouteFormApp.$pristine\x22\x0a','\x20\x20\x20\x20<form\x20name=\x22internalrouteFormApp\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.APPLICATION_NAME\x22>Application_Name</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22internalrouteFormApp[\x27app\x27].$error\x22\x20ng-show=\x22internalrouteFormApp[\x27app\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22internalrouteFormApp[\x27appdata\x27].$error\x22\x20ng-show=\x22internalrouteFormApp[\x27appdata\x27].$touched\x22\x20role=\x22alert\x22>\x0a','app/main/apps/voice/views/internalroutes/edit/apps/dial/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22internalrouteFormApp[\x27tech\x27].$error\x22\x20ng-show=\x22internalrouteFormApp[\x27tech\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22internalrouteFormApp[\x27timeout\x27].$error\x22\x20ng-show=\x22internalrouteFormApp[\x27timeout\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22internalrouteFormApp[\x27options\x27].$error\x22\x20ng-show=\x22internalrouteFormApp[\x27options\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22url\x22\x20\x20ng-model=\x22vm.dial.url\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22internalrouteFormApp[\x27url\x27].$error\x22\x20ng-show=\x22internalrouteFormApp[\x27url\x27].$touched\x22\x20role=\x22alert\x22>\x0a','app/main/apps/voice/views/internalroutes/edit/apps/externaldial/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22trunk.name\x22\x20ng-repeat=\x22trunk\x20in\x20vm.trunks\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22trunk.canSelect\x20===\x20false\x22>{{\x20trunk.name\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22internalrouteFormApp[\x27trunk\x27].$error\x22\x20ng-show=\x22internalrouteFormApp[\x27trunk\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22internalrouteFormApp[\x27phone\x27].$error\x22\x20ng-show=\x22internalrouteFormApp[\x27phone\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22timeout\x22\x20\x20ng-model=\x22vm.externaldial.timeout\x22\x20\x0a','app/main/apps/voice/views/internalroutes/edit/apps/goto/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22internalrouteFormApp[\x27context\x27].$error\x22\x20ng-show=\x22internalrouteFormApp[\x27context\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22extension\x22\x20\x20ng-model=\x22vm.goto.extension\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22internalrouteFormApp[\x27extension\x27].$error\x22\x20ng-show=\x22internalrouteFormApp[\x27extension\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22internalrouteFormApp[\x27priority\x27].$error\x22\x20ng-show=\x22internalrouteFormApp[\x27priority\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27VOICE.HANGUPCAUSE_1\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','app/main/apps/voice/views/internalroutes/edit/apps/internaldial/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22user.canSelect\x20===\x20false\x22>{{\x20user.name\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22internalrouteFormApp[\x27user\x27].$error\x22\x20ng-show=\x22internalrouteFormApp[\x27user\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22options\x22\x20\x20ng-model=\x22vm.internaldial.options\x22\x20\x0a','app/main/apps/voice/views/internalroutes/edit/apps/playback/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22appdata.canSelect\x20===\x20false\x22>{{\x20appdata.name\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.playback.answer\x22\x20aria-label=\x22Answer\x22\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20><span\x20translate=\x22VOICE.ANSWER\x22>Answer</span></md-switch>\x0a','app/main/apps/voice/views/internalroutes/edit/apps/queue/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22internalrouteFormApp[\x27queue\x27].$error\x22\x20ng-show=\x22internalrouteFormApp[\x27queue\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22URL\x22\x20\x20ng-model=\x22vm.queue.URL\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22internalrouteFormApp[\x27sound\x27].$error\x22\x20ng-show=\x22internalrouteFormApp[\x27sound\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22agi\x22\x20\x20ng-model=\x22vm.queue.agi\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22internalrouteFormApp[\x27agi\x27].$error\x22\x20ng-show=\x22internalrouteFormApp[\x27agi\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.AGI_REQUIRED\x22>Agi\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22macro\x22\x20\x20ng-model=\x22vm.queue.macro\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22internalrouteFormApp[\x27macro\x27].$error\x22\x20ng-show=\x22internalrouteFormApp[\x27macro\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22internalrouteFormApp[\x27gosub\x27].$error\x22\x20ng-show=\x22internalrouteFormApp[\x27gosub\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.GOSUB_REQUIRED\x22>GoSub\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.RULE\x22>Rule</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22rule\x22\x20\x20ng-model=\x22vm.queue.rule\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22internalrouteFormApp[\x27rule\x27].$error\x22\x20ng-show=\x22internalrouteFormApp[\x27rule\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22internalrouteFormApp[\x27position\x27].$error\x22\x20ng-show=\x22internalrouteFormApp[\x27position\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22internalrouteFormApp[\x27multipleUsers\x27].$error\x22\x20ng-show=\x22internalrouteFormApp[\x27multipleUsers\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22timeout\x22\x20\x20ng-model=\x22vm.ringgroup.timeout\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22url\x22\x20\x20ng-model=\x22vm.ringgroup.url\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22internalrouteFormApp[\x27name\x27].$error\x22\x20ng-show=\x22internalrouteFormApp[\x27name\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22internalrouteFormApp[\x27voiceMail\x27].$error\x22\x20ng-show=\x22internalrouteFormApp[\x27voiceMail\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.MAILBOX@CONTEXT_REQUIRED\x22>Mailbox@Context\x20field\x20is\x20required</span>\x0a','<div\x20id=\x22voice-internalroute\x22\x20class=\x22page-layout\x20simple\x20tabbed\x22\x20layout=\x22column\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22goto-internalroutes-button\x20md-icon-button\x22\x20aria-label=\x22Go\x20to\x20internalroutes\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.gotoInternalRoutes()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22internalroute-image\x22\x20hide-xs>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<img\x20ng-src=\x22assets/images/business/internalroutes.jpg\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22vm.internalroute.name\x22>{{vm.internalroute.name}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.CREATED_AT\x22></span>\x20<span>{{vm.internalroute.createdAt\x20|\x20date:\x27medium\x27}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22exten\x22\x20\x20ng-model=\x22vm.internalroute.exten\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22internalroute-detail-form-container\x20actions\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22>{{vm_ac.selectedInternalRouteApps.length}}\x20{{vm_ac.selectedInternalRouteApps.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22vm_ac.crudPermissions.canDelete\x22\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm_ac.deleteSelectedInternalRouteApps($event)\x22\x0a','\x20\x20\x20\x20\x20\x20<table\x20md-table\x20\x20md-row-select\x20multiple\x20ng-model=\x22vm_ac.selectedInternalRouteApps\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-click=\x22vm_ac.editInternalRouteApp($event,\x20$index)\x22>{{app.app.toLowerCase()\x20===\x20\x27agi\x27\x20?\x20\x27Cally-Square\x27\x20:\x20app.app\x20|\x20ucfirst}}<span\x20ng-if=\x22app.appType.toLowerCase()\x20===\x20\x27custom\x27\x22>*</span></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-click=\x22vm_ac.editInternalRouteApp($event,\x20$index)\x22><span\x20class=\x22text-truncate\x22\x20style=\x22width:200px\x22>{{app.appdata}}</span></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm_ac.editInternalRouteApp($event,\x20$index)\x22\x20translate=\x22VOICE.EDIT_APP\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm_ac.internalrouteApps.rows.length\x22>\x0a','<div\x20id=\x22internalroutes\x22\x20class=\x22page-layout\x20simple\x20left-sidenav\x20inner-sidenav\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22logo-text\x22\x20translate=\x22VOICE.INTERNALROUTES\x22>InternalRoutes</span>\x0a','\x20\x20\x20\x20<div\x20ng-show=\x22vm.selectedInternalRoutes.length\x20>\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22close-button-wrapper\x22\x20ng-click=\x22vm.selectedInternalRoutes\x20=[]\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22selected-internalroutes-count\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>{{vm.selectedInternalRoutes.length}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deselectInternalRoutes()\x22\x20translate=\x22VOICE.SELECT_NONE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x22\x20ng-click=\x22vm.deleteSelectedInternalRoutes($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20INTERNALROUTE\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<table\x20md-table\x20\x20md-row-select\x20multiple\x20\x20\x20ng-model=\x22vm.selectedInternalRoutes\x22\x20md-progress=\x22vm.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm.internalroutes.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22internalroute\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22internalroute\x20in\x20vm.internalroutes.rows\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22!internalroute.userpic\x20&&\x20(vm.table\x20==\x20\x27users\x27\x20||\x20vm.table\x20==\x20\x27agents\x27)\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{internalroute.name}}\x22\x20ng-src=\x22assets/images/avatars/profile.png\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(internalroute,\x20ev)\x20:\x20vm.createOrEditInternalRoute($event,\x20internalroute)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22id\x20\x22\x20>{{internalroute.id}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(internalroute,\x20ev)\x20:\x20vm.createOrEditInternalRoute($event,\x20internalroute)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22description\x20\x22\x20>{{internalroute.description}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22VOICE.EDIT_INTERNALROUTE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20InternalRoute\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22VOICE.DELETE_INTERNALROUTE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27VOICE.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27VOICE.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27VOICE.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm.query.page\x22\x20md-total=\x22{{vm.internalroutes.count}}\x22\x20md-on-paginate=\x22vm.getInternalRoutes\x22\x20md-page-select></md-table-pagination>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20INTERNALROUTE\x20TABLE\x20-->\x0a','\x20\x20\x20\x20<md-button\x20ng-if=\x22vm.crudPermissions.canEdit\x22\x20class=\x22md-fab\x20md-accent\x22\x20id=\x22add-internalroute-button\x22\x20ng-click=\x22vm.createOrEditInternalRoute($event)\x22\x0a','\x20\x20\x20\x20<!--\x20/\x20ADD\x20INTERNALROUTE\x20BUTTON\x20-->\x0a','<md-dialog\x20class=\x22musiconhold-dialog\x22\x20aria-label=\x22New\x20MusicOnHold\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22musiconholdForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22name\x22\x20\x20ng-model=\x22vm.musiconhold.name\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.newMusicOnHold\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22musiconholdForm[\x27name\x27].$error\x22\x20ng-show=\x22musiconholdForm[\x27name\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.MODE\x22>Mode</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22mode\x22\x20ng-model=\x22vm.musiconhold.mode\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27files\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27VOICE.FILES\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27VOICE.CUSTOM\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22musiconholdForm[\x27mode\x27].$error\x22\x20ng-show=\x22musiconholdForm[\x27mode\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.MODE_REQUIRED\x22>Mode\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.DIRECTORY\x22>Directory</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22\x22\x20name=\x22directory\x22\x20\x20ng-model=\x22vm.musiconhold.directory\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22musiconholdForm[\x27directory\x27].$error\x22\x20ng-show=\x22musiconholdForm[\x27directory\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.DIRECTORY_REQUIRED\x22>Directory\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.APPLICATION\x22>Application</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22application\x22\x20\x20ng-model=\x22vm.musiconhold.application\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.APPLICATION_REQUIRED\x22>Application\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.SORT\x22>Sort</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22sort\x22\x20ng-model=\x22vm.musiconhold.sort\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27random\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27alpha\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27VOICE.ALPHABETICAL\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22musiconholdForm[\x27sort\x27].$error\x22\x20ng-show=\x22musiconholdForm[\x27sort\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.SORT_REQUIRED\x22>Sort\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22musiconholdForm.$invalid\x20||\x20musiconholdForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.newMusicOnHold\x22\x20ng-click=\x22vm.addNewMusicOnHold()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22VOICE.ADD_MUSICONHOLD\x22\x20translate-attr-aria-label=\x22VOICE.ADD_MUSICONHOLD\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x20&&\x20!vm.newMusicOnHold\x22\x20ng-click=\x22vm.deleteMusicOnHold($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x0a','<md-dialog\x20class=\x22mohSound-dialog\x22\x20aria-label=\x22New\x20MohSound\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22mohSoundForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22id\x22\x20ng-model=\x22vm.mohSound.id\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22id.id\x22\x20ng-repeat=\x22id\x20in\x20vm.sounds\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22id.canSelect\x20===\x20false\x22>{{\x20id.name\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22mohSoundForm[\x27id\x27].$error\x22\x20ng-show=\x22mohSoundForm[\x27id\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.FILE_REQUIRED\x22>File\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22mohSoundForm.$invalid\x20||\x20mohSoundForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.newMohSound\x22\x20ng-click=\x22vm.addNewMohSound()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22mohSoundForm.$invalid\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20MOHSOUND\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x20&&\x20!vm.newMohSound\x22\x20ng-click=\x22vm.deleteMohSound($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x0a','<div\x20id=\x22voice-musiconhold\x22\x20class=\x22page-layout\x20simple\x20tabbed\x22\x20layout=\x22column\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22goto-musiconholds-button\x20md-icon-button\x22\x20aria-label=\x22Go\x20to\x20musiconholds\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22musiconhold-image\x22\x20hide-xs>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<img\x20ng-src=\x22assets/images/business/musiconholds.jpg\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22vm.musiconhold.name\x22>{{vm.musiconhold.name}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.CREATED_AT\x22></span>\x20<span>{{vm.musiconhold.createdAt\x20|\x20date:\x27medium\x27}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22musiconhold-detail-form-container\x20general\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27custom\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27mode\x27].$error\x22\x20ng-show=\x22generalForm[\x27mode\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27directory\x27].$error\x22\x20ng-show=\x22generalForm[\x27directory\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27application\x27].$error\x22\x20ng-show=\x22generalForm[\x27application\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27sort\x27].$error\x22\x20ng-show=\x22generalForm[\x27sort\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.AUDIOFILES\x22>AUDIOFILES</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22musiconhold-detail-form-container\x20mohsounds\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-controller=\x22MusicOnHoldMohSoundsController\x20as\x20vm_dc\x22\x20ng-init=\x22vm_dc.init(vm.musiconhold,\x20vm.crudPermissions)\x22>\x0a','\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-default\x22\x20ng-hide=\x22vm_dc.selectedMusicOnHoldMohSounds.length\x22>\x0a','\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22\x20translate=\x22VOICE.MOHSOUNDS\x22>MohSounds</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22vm_dc.crudPermissions.canEdit\x22\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm_dc.createOrEditMusicOnHoldMohSound($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20mohSound\x22\x20translate\x20translate-attr-label=\x22VOICE.ADD_MOHSOUND\x22>\x0a','\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-accent\x22\x20ng-show=\x22vm_dc.selectedMusicOnHoldMohSounds.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22>{{vm_dc.selectedMusicOnHoldMohSounds.length}}\x20{{vm_dc.selectedMusicOnHoldMohSounds.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-icon-button\x22\x20ng-csv=\x22vm_dc.exportSelectedMusicOnHoldMohSounds\x22\x20csv-label=\x22true\x22\x20filename=\x22musiconholds.csv\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22vm_dc.crudPermissions.canDelete\x22\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm_dc.deleteSelectedMusicOnHoldMohSounds($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.ID\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22audio\x22\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.AUDIO\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.CREATED_AT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22mohSound\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22mohSound\x20in\x20vm_dc.musiconholdMohSounds.rows\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{mohSound.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20audio\x20recording\x20directive\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<ms-recording\x20id=\x22mohSound.id\x22\x20model=\x22\x27sound\x27\x22></ms-recording>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20audio\x20recording\x20directive\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20mohSound.createdAt\x20|\x20formatdate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20aria-label=\x22More\x22\x20translate\x20translate-attr-aria-label=\x22VOICE.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm_dc.deleteConfirm(mohSound,\x20$event)\x22\x20translate=\x22VOICE.DELETE_MOHSOUND\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20MohSound\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-if=\x22!vm_dc.musiconholdMohSounds.rows.length\x22>\x0a','\x20\x20\x20\x20<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27VOICE.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27VOICE.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27VOICE.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm_dc.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm_dc.query.page\x22\x20md-total=\x22{{vm_dc.musiconholdMohSounds.count}}\x22\x20md-on-paginate=\x22vm_dc.getMusicOnHoldMohSounds\x22\x20md-page-select></md-table-pagination>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22logo-text\x22\x20translate=\x22VOICE.MUSICONHOLDS\x22>MusicOnHolds</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22close-button-wrapper\x22\x20ng-click=\x22vm.selectedMusicOnHolds\x20=[]\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22selected-musiconholds-count\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>{{vm.selectedMusicOnHolds.length}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.selectAllMusicOnHolds()\x22\x20translate=\x22VOICE.SELECT_ALL\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deselectMusicOnHolds()\x22\x20translate=\x22VOICE.SELECT_NONE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-icon-button\x22\x20ng-csv=\x22vm.exportSelectedMusicOnHolds\x22\x20csv-label=\x22true\x22\x20filename=\x22musiconholds.csv\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20MUSICONHOLD\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<table\x20md-table\x20\x20md-row-select\x20multiple\x20\x20\x20ng-model=\x22vm.selectedMusicOnHolds\x22\x20md-progress=\x22vm.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm.query.sort\x22\x20md-on-reorder=\x22vm.getMusicOnHolds\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22mode\x22>{{\x20\x27VOICE.MODE\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22sort\x22>{{\x20\x27VOICE.SORT\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22musiconhold\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22musiconhold\x20in\x20vm.musiconholds.rows\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22!musiconhold.userpic\x20&&\x20(vm.table\x20==\x20\x27users\x27\x20||\x20vm.table\x20==\x20\x27agents\x27)\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{musiconhold.name}}\x22\x20ng-src=\x22assets/images/avatars/profile.png\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(musiconhold,\x20ev)\x20:\x20vm.createOrEditMusicOnHold($event,\x20musiconhold)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(musiconhold,\x20ev)\x20:\x20vm.createOrEditMusicOnHold($event,\x20musiconhold)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22mode\x20\x22>{{\x20\x27VOICE.\x27\x20+\x20vm.arraymode[musiconhold.mode].option\x20|\x20uppercase\x20|\x20translate\x20}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(musiconhold,\x20ev)\x20:\x20vm.createOrEditMusicOnHold($event,\x20musiconhold)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22VOICE.EDIT_MUSICONHOLD\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20MusicOnHold\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22VOICE.DELETE_MUSICONHOLD\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20MusicOnHold\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27VOICE.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27VOICE.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27VOICE.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm.query.page\x22\x20md-total=\x22{{vm.musiconholds.count}}\x22\x20md-on-paginate=\x22vm.getMusicOnHolds\x22\x20md-page-select></md-table-pagination>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20MUSICONHOLD\x20TABLE\x20-->\x0a','\x20\x20\x20\x20<md-button\x20ng-if=\x22vm.crudPermissions.canEdit\x22\x20class=\x22md-fab\x20md-accent\x22\x20id=\x22add-musiconhold-button\x22\x20ng-click=\x22vm.createOrEditMusicOnHold($event)\x22\x0a','\x20\x20\x20\x20<!--\x20/\x20ADD\x20MUSICONHOLD\x20BUTTON\x20-->\x0a','<md-dialog\x20class=\x22outboundroute-dialog\x22\x20aria-label=\x22New\x20OutboundRoute\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22outboundrouteForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22exten\x22\x20\x20ng-model=\x22vm.outboundroute.exten\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22outboundrouteForm[\x27exten\x27].$error\x22\x20ng-show=\x22outboundrouteForm[\x27exten\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22outboundrouteForm[\x27context\x27].$error\x22\x20ng-show=\x22outboundrouteForm[\x27context\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.RECORDING\x22>Recording</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22recordingFormat\x22\x20ng-model=\x22vm.outboundroute.recordingFormat\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27none\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>none</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22VOICE.HELP.RECORDING\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22outboundrouteForm[\x27recordingFormat\x27].$error\x22\x20ng-show=\x22outboundrouteForm[\x27recordingFormat\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.CUTDIGITS\x22>CutDigits</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22cutdigits\x22\x20\x20ng-model=\x22vm.outboundroute.cutdigits\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22outboundrouteForm[\x27cutdigits\x27].$error\x22\x20ng-show=\x22outboundrouteForm[\x27cutdigits\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.CUTDIGITS_REQUIRED\x22>CutDigits\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.CUTDIGITS_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>CutDigits\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>0</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22outboundrouteForm[\x27description\x27].$error\x22\x20ng-show=\x22outboundrouteForm[\x27description\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20!vm.newOutboundRoute\x22\x20ng-click=\x22vm.saveOutboundRoute()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22outboundrouteForm.$invalid\x20||\x20outboundrouteForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.newOutboundRoute\x22\x20ng-click=\x22vm.addNewOutboundRoute()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22outboundrouteForm.$invalid\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22VOICE.ADD_OUTBOUNDROUTE\x22\x20translate-attr-aria-label=\x22VOICE.ADD_OUTBOUNDROUTE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x20&&\x20!vm.newOutboundRoute\x22\x20ng-click=\x22vm.deleteOutboundRoute($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22outboundrouteFormApp[\x27app\x27].$error\x22\x20ng-show=\x22outboundrouteFormApp[\x27app\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.ARGUMENTS\x22>Arguments</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22outboundrouteFormApp[\x27appdata\x27].$error\x22\x20ng-show=\x22outboundrouteFormApp[\x27appdata\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-click=\x22vm.saveOutboundRouteApp()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22outboundrouteFormApp.$invalid\x20||\x20outboundrouteFormApp.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22trunk\x22\x20ng-model=\x22vm.outbounddial.trunk\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22outboundrouteFormApp[\x27trunk\x27].$error\x22\x20ng-show=\x22outboundrouteFormApp[\x27trunk\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.CALLER_ID\x22>Caller_ID</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22VOICE.HELP.CALLER_ID\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.CALLER_ID_REQUIRED\x22>Caller_ID\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22prefix\x22\x20\x20ng-model=\x22vm.outbounddial.prefix\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22outboundrouteFormApp[\x27prefix\x27].$error\x22\x20ng-show=\x22outboundrouteFormApp[\x27prefix\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27--\x27\x22>None</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22outboundrouteFormApp[\x27tag\x27].$error\x22\x20ng-show=\x22outboundrouteFormApp[\x27tag\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.TAGS_REQUIRED\x22>Tags\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22outboundrouteFormApp[\x27timeout\x27].$error\x22\x20ng-show=\x22outboundrouteFormApp[\x27timeout\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22options\x22\x20\x20ng-model=\x22vm.outbounddial.options\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22outboundrouteFormApp[\x27options\x27].$error\x22\x20ng-show=\x22outboundrouteFormApp[\x27options\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22url\x22\x20\x20ng-model=\x22vm.outbounddial.url\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22outboundrouteFormApp[\x27url\x27].$error\x22\x20ng-show=\x22outboundrouteFormApp[\x27url\x27].$touched\x22\x20role=\x22alert\x22>\x0a','<div\x20id=\x22voice-outboundroute\x22\x20class=\x22page-layout\x20simple\x20tabbed\x22\x20layout=\x22column\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22goto-outboundroutes-button\x20md-icon-button\x22\x20aria-label=\x22Go\x20to\x20outboundroutes\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22VOICE.GO_TO_OUTBOUNDROUTES\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22outboundroute-image\x22\x20hide-xs>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<img\x20ng-src=\x22assets/images/business/outboundroutes.jpg\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.outboundroute.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22vm.outboundroute.name\x22>{{vm.outboundroute.name}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.CREATED_AT\x22></span>\x20<span>{{vm.outboundroute.createdAt\x20|\x20date:\x27medium\x27}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22outboundroute-detail-form-container\x20general\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22context\x22\x20ng-model=\x22vm.outboundroute.context\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27recordingFormat\x27].$error\x22\x20ng-show=\x22generalForm[\x27recordingFormat\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.RECORDING_REQUIRED\x22>Recording\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27cutdigits\x27].$error\x22\x20ng-show=\x22generalForm[\x27cutdigits\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-controller=\x22OutboundRouteActionsController\x20as\x20vm_ac\x22\x20ng-init=\x22vm_ac.init(vm.outboundroute,\x20vm.crudPermissions)\x22\x20class=\x22content\x22\x20md-background-bg\x20layout=\x22row\x22\x20layout-align=\x22start\x20start\x22>\x0a','\x20\x20<!--\x20SIDENAV\x20-->\x0a','\x20\x20\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-default\x22\x20ng-hide=\x22vm_ac.selectedOutboundRouteApps.length\x22>\x0a','\x20\x20\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-accent\x22\x20ng-show=\x22vm_ac.selectedOutboundRouteApps.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22>{{vm_ac.selectedOutboundRouteApps.length}}\x20{{vm_ac.selectedOutboundRouteApps.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22VOICE.DELETE_SELECTED\x22>\x0a','\x20\x20\x20\x20\x20\x20<table\x20md-table\x20\x20md-row-select\x20multiple\x20ng-model=\x22vm_ac.selectedOutboundRouteApps\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-click=\x22vm_ac.editOutboundRouteApp($event,\x20$index)\x22><span\x20class=\x22text-truncate\x22\x20style=\x22width:200px\x22>{{app.appdata}}</span></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm_ac.editOutboundRouteApp($event,\x20$index)\x22\x20translate=\x22VOICE.EDIT_APP\x22>\x0a','app/main/apps/voice/views/outboundroutes/outboundroutes.html','<div\x20id=\x22outboundroutes\x22\x20class=\x22page-layout\x20simple\x20left-sidenav\x20inner-sidenav\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22logo-text\x22\x20translate=\x22VOICE.OUTBOUNDROUTES\x22>OutboundRoutes</span>\x0a','\x20\x20\x20\x20<div\x20ng-show=\x22vm.selectedOutboundRoutes.length\x20>\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22close-button-wrapper\x22\x20ng-click=\x22vm.selectedOutboundRoutes\x20=[]\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>{{vm.selectedOutboundRoutes.length}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.selectAllOutboundRoutes()\x22\x20translate=\x22VOICE.SELECT_ALL\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deselectOutboundRoutes()\x22\x20translate=\x22VOICE.SELECT_NONE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x22\x20ng-click=\x22vm.deleteSelectedOutboundRoutes($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20OUTBOUNDROUTE\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<table\x20md-table\x20\x20md-row-select\x20multiple\x20\x20\x20ng-model=\x22vm.selectedOutboundRoutes\x22\x20md-progress=\x22vm.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm.query.sort\x22\x20md-on-reorder=\x22vm.getOutboundRoutes\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22outboundroute.userpic\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{outboundroute.name}}\x22\x20ng-src=\x22api/users/{{outboundroute.id}}/avatar\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22id\x20\x22\x20>{{outboundroute.id}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(outboundroute,\x20ev)\x20:\x20vm.createOrEditOutboundRoute($event,\x20outboundroute)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22description\x20\x22\x20>{{outboundroute.description}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22VOICE.EDIT_OUTBOUNDROUTE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20OutboundRoute\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deleteconfirm(outboundroute,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22VOICE.DELETE_OUTBOUNDROUTE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27VOICE.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27VOICE.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27VOICE.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm.query.page\x22\x20md-total=\x22{{vm.outboundroutes.count}}\x22\x20md-on-paginate=\x22vm.getOutboundRoutes\x22\x20md-page-select></md-table-pagination>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20OUTBOUNDROUTE\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20ADD\x20OUTBOUNDROUTE\x20BUTTON\x20-->\x0a','\x20\x20\x20\x20<md-button\x20ng-if=\x22vm.crudPermissions.canEdit\x22\x20class=\x22md-fab\x20md-accent\x22\x20id=\x22add-outboundroute-button\x22\x20ng-click=\x22vm.createOrEditOutboundRoute($event)\x22\x0a','\x20\x20\x20\x20<!--\x20/\x20ADD\x20OUTBOUNDROUTE\x20BUTTON\x20-->\x0a','app/main/apps/voice/views/realtime/abandonedcalls/view.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm.refresh\x20&&\x20vm.refreshAbandonedCalls($event)\x22\x20aria-label=\x22Reload\x22\x20translate\x20translate-attr-label=\x22DASHBOARDS.RELOAD\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm.query.sort\x22\x20md-on-reorder=\x22vm.getAbandonedCalls\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22id\x22>ID</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm.abandonedCalls.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20class=\x22list\x22>{{call.lastAssignedTo}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20class=\x22list\x22>{{call.disposition}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20aria-label=\x22More\x22\x20translate\x20translate-attr-aria-label=\x22DASHBOARDS.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22$mdMenu.open()\x22\x20class=\x22text-capitalize\x22\x20translate=\x22DASHBOARDS.DISPOSE\x22>Dispose</md-button>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22\x20translate=\x22VOICE.AGENTS\x22>Agents</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27\x27\x22>{{\x20\x27VOICE.ALL\x27\x20|\x20translate\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20value=\x22pause\x22>{{\x20\x27VOICE.PAUSE\x27\x20|\x20translate\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20value=\x22*pause\x22>{{\x20\x27VOICE.PARTIALPAUSE\x27\x20|\x20translate\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20value=\x22busy\x22>{{\x20\x27VOICE.BUSY\x27\x20|\x20translate\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20value=\x22idle\x22>{{\x20\x27VOICE.IDLE\x27\x20|\x20translate\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.NAME\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.LOGIN_TIME\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.PAUSE_TIME\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>{{\x20\x27VOICE.NO_AGENT_ONLINE\x27\x20|\x20translate\x20}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.TOOLTIP_SCREENRECORDING_ON\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.TOOLTIP_SCREENRECORDING_OFF\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22VOICE.LOGOUT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22VOICE.AGENTADD_QUEUE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22VOICE.START_SCREENRECORDING\x22>Start\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22VOICE.STOP_SCREENRECORDING\x22>Stop\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22VOICE.PAUSE\x22>Pause</md-button>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22VOICE.DEFAULT_PAUSE\x22>Default\x0a','\x20\x20\x20\x20md-label=\x22{page:\x20\x27{{\x27VOICE.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27VOICE.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27VOICE.OF\x27\x20|\x20translate}}\x27}\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20width=\x2230px\x22></th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x20\x27VOICE.DESTINATION\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x20\x27VOICE.DURATION\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm.calls.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.NO_AVAILABLE_INFO\x22>No\x20Available\x20Info</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-repeat=\x22call\x20in\x20vm.calls.rows\x20|\x20filter:\x20vm.query.filter\x20|\x20limitTo:\x20vm.query.limit:\x20(vm.query.page\x20-\x201)\x20*\x20vm.query.limit\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<i\x20ng-class=\x22vm.channelStatus[call.channelstatedesc.toLowerCase()]\x22></i>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{call.calleridname}},\x20{{call.calleridnum}}\x20<span\x20class=\x22text-boxed\x22\x20ng-if=\x22call.answered\x22><timer\x20ng-if=\x22call.answertime\x22\x20start-time=\x22call.answertime\x22\x20interval=\x221000\x22>{{hhours}}:{{mminutes}}:{{sseconds}}</timer></span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22text-boxed\x22\x20ng-if=\x22call.channelstatedesc.toLowerCase()\x20!==\x20\x27hangup\x27\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<timer\x20ng-if=\x22call.starttime\x22\x20start-time=\x22call.starttime\x22\x20interval=\x221000\x22>{{hhours}}:{{mminutes}}:{{sseconds}}</timer>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22text-boxed\x22\x20ng-if=\x22call.channelstatedesc.toLowerCase()\x20===\x20\x27hangup\x27\x22\x20translate=\x22VOICE.CLOSING\x22>Closing</span>\x0a','<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27VOICE.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27VOICE.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27VOICE.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm.query.page\x22\x20md-total=\x22{{vm.calls.count}}\x22></md-table-pagination>\x0a','<!--\x20QUEUES\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20<tr\x20md-row>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x20\x27VOICE.DID\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x20\x27VOICE.QUEUE\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x20\x27VOICE.AGENT\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x20\x27VOICE.DURATION\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.NO_AVAILABLE_INFO\x22>No\x20Available\x20Info</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{channel.connectedlinename}},\x20{{channel.connectedlinenum}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22text-boxed\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.WAITING_FOR_AGENT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.hangup(channel.uniqueid)\x22\x20translate=\x22VOICE.HANGUP\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22$mdMenu.open()\x22\x20translate=\x22VOICE.REDIRECT_TO_AGENT\x22>Redirect\x20to\x20Agent</md-button>\x0a','<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27VOICE.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27VOICE.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27VOICE.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm.queryChannels.limit\x22\x20md-page=\x22vm.queryChannels.page\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-total=\x22{{vm.getSize(vm.rpcVoiceQueuesChannels)}}\x22\x20md-page-select></md-table-pagination>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x27\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20VOICE.NAME\x27\x20|\x20translate}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x27\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20VOICE.TOTAL_OFFERED\x27\x20|\x20translate}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20VOICE.ANSWERED\x27\x20|\x20translate}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20VOICE.UNMANAGED\x27\x20|\x20translate}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20VOICE.AVG_HOLD_TIME\x27\x20|\x20translate}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</tr>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>{{queue.name}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20<span\x20class=\x22font-size-20\x20grey-fg\x22>{{queue.total\x20||\x200}}</span>\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22font-size-16\x20grey-fg\x22>{{queue.answered\x20||\x200}}\x20({{(queue.total)\x20?\x20(queue.answered\x20||\x200)\x20*\x20100/queue.total\x20:\x200\x20|\x20number:1}}%)</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22font-size-16\x20grey-fg\x22>{{queue.unmanaged\x20||\x200}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22font-size-16\x20grey-fg\x22>{{queue.total\x20?\x20((queue.sumHoldTime\x20||\x200)\x20/\x20queue.total)\x20:\x200\x20|\x20number:\x200\x20|\x20secToTime\x20|\x20date:\x27HH:mm:ss\x27}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22font-size-16\x20grey-fg\x22>{{(queue.total\x20?\x20((queue.sumDuration\x20||\x200)\x20/\x20queue.total)\x20:\x200)\x20|\x20number:\x200\x20|\x20secToTime\x20|\x20date:\x27HH:mm:ss\x27}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22font-size-16\x20grey-fg\x22>{{queue.answered\x20?\x20((queue.sumBillable\x20||\x200)\x20/\x20queue.answered)\x20:\x200\x20|\x20number:\x200\x20|\x20secToTime\x20|\x20date:\x27HH:mm:ss\x27}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22\x20translate=\x22VOICE.QUEUES\x22>Queues</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22name\x22>{{\x20\x27VOICE.NAME\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x20\x27VOICE.LOGGED_IN\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x20\x27VOICE.PAUSED\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x20\x27VOICE.READY\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x20\x27VOICE.WAITING\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22font-size-16\x20grey-fg\x22>{{(vm.queues[value].talking\x20||\x200)\x20}}</span>\x0a','<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27VOICE.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27VOICE.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27VOICE.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm.query.page\x22\x20md-total=\x22{{vm.count}}\x22\x20md-on-paginate=\x22vm.getQueues\x22\x20md-page-select></md-table-pagination>\x0a','app/main/apps/voice/views/realtime/realtime.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.TELEPHONES\x22>Telephones</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.TRUNKS\x22>Trunks</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.QUEUES\x22>Queues</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.QUEUE_CALLS\x22>Queue\x20Calls</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.QUEUE_PARAMS\x22>Queue\x20Parameters</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<i\x20class=\x22icon-information-outline\x20grey-600-fg\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip>{{\x27VOICE.INFO\x27\x20|\x20translate}}</md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20</md-button>\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm.query.sort\x22\x20md-on-reorder=\x22vm.getTelephones\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22fullname\x22>{{\x20\x27VOICE.ACCOUNTNAME\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22internal\x22>{{\x20\x27VOICE.INTERNAL\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x20\x27VOICE.PHONE_STATE\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x20\x27VOICE.PHONE_STATUS\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22telephone\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22(id,\x20telephone)\x20in\x20vm.telephones\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell>{{telephone.fullname}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell>{{telephone.internal}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip>{{\x27VOICE.\x27\x20+\x20telephone.state\x20|\x20uppercase\x20|\x20translate}}</md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</i>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<i\x20ng-class=\x22vm.statusClass[telephone.status]\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22telephone.status\x20===\x20\x27registered\x27\x22\x20class=\x22text-boxed\x22>{{telephone.address}}</span>\x0a','<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27VOICE.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27VOICE.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27VOICE.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm.query.page\x22\x20md-total=\x22{{vm.count}}\x22\x20md-on-paginate=\x22vm.getTelephones\x22\x20md-page-select></md-table-pagination>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22\x20translate=\x22VOICE.TRUNKS\x22>Telephones</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x20\x27VOICE.TRUNK_STATUS\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x20\x27VOICE.REGISTRY\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm.trunks\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip>{{\x27VOICE.\x27\x20+\x20trunk.status\x20|\x20uppercase\x20|\x20translate}}</md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip>{{\x27VOICE.\x27\x20+\x20trunk.stateRegistry\x20|\x20uppercase\x20|\x20translate}}</md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22!trunk.registry\x22\x20translate=\x22VOICE.NO_REGISTRY\x22>\x0a','<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27VOICE.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27VOICE.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27VOICE.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm.query.page\x22\x20md-total=\x22{{vm.count}}\x22\x0a','app/main/apps/voice/views/voicemails/create/dialog.html','<md-dialog\x20class=\x22voicemail-dialog\x22\x20aria-label=\x22New\x20Voicemail\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22voicemailForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.FULLNAME\x22>FullName</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22fullname\x22\x20\x20ng-model=\x22vm.voicemail.fullname\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22voicemailForm[\x27fullname\x27].$error\x22\x20ng-show=\x22voicemailForm[\x27fullname\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.FULLNAME_REQUIRED\x22>FullName\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.EMAIL\x22>Email</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22email\x22\x20name=\x22email\x22\x20\x20ng-model=\x22vm.voicemail.email\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22vm.voicemail.attach\x20===\x20\x27yes\x27\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22voicemailForm[\x27email\x27].$error\x22\x20ng-show=\x22voicemailForm[\x27email\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.EMAIL_REQUIRED\x22>Email\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.EMAIL_MUST_VALID\x22>Email\x20must\x20be\x20a\x20valid\x20e-mail\x20address</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22password\x22\x20name=\x22password\x22\x20ng-model=\x22vm.voicemail.password\x22\x20placeholder=\x22Password\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22voicemailForm[\x27password\x27].$error\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.PASSWORD_REQUIRED\x22>Password\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.SECURE_PASSWORD_PATTERN\x22>Must\x20contain\x20at\x20least\x208\x20characters,\x20with\x20a\x20minimum\x20of\x201\x20lowercase\x20letter,\x201\x20uppercase\x20letter,\x201\x20numeric\x20character\x20and\x201\x20special\x20character\x20~!?*@#$%^&-_=+[{]}.</span>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20class=\x22md-block\x22\x20ng-if=\x22vm.newVoicemail\x20\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.CONFIRM_PASSWORD\x22>Confirm\x20Password</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22voicemailForm.confirmPassword.$error\x22\x20role=\x22alert\x22\x20multiple>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.CONFIRM_REQUIRED\x22>Confirm\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.MAILBOX\x22>MailBox</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22mailbox\x22\x20\x20ng-model=\x22vm.voicemail.mailbox\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.newVoicemail\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22voicemailForm[\x27mailbox\x27].$error\x22\x20ng-show=\x22voicemailForm[\x27mailbox\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.ATTACH\x22>Attach</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22attach\x22\x20ng-model=\x22vm.voicemail.attach\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27VOICE.NO\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22voicemailForm[\x27attach\x27].$error\x22\x20ng-show=\x22voicemailForm[\x27attach\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22voicemailForm.$invalid\x20||\x20voicemailForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.newVoicemail\x22\x20ng-click=\x22vm.addNewVoicemail()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22VOICE.ADD_VOICEMAIL\x22\x20translate-attr-aria-label=\x22VOICE.ADD_VOICEMAIL\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20VOICEMAIL\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x20&&\x20!vm.newVoicemail\x22\x20ng-click=\x22vm.deleteVoicemail($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x0a','app/main/apps/voice/views/voicemails/edit/view.html','<div\x20id=\x22voice-voicemail\x22\x20class=\x22page-layout\x20simple\x20tabbed\x22\x20layout=\x22column\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22goto-voicemails-button\x20md-icon-button\x22\x20aria-label=\x22Go\x20to\x20voicemails\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.gotoVoicemails()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22VOICE.GO_TO_VOICEMAILS\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22voicemail-image\x22\x20hide-xs>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<img\x20ng-src=\x22assets/images/business/voicemails.jpg\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.voicemail.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22vm.voicemail.name\x22>{{vm.voicemail.name}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.CREATED_AT\x22></span>\x20<span>{{vm.voicemail.createdAt\x20|\x20date:\x27medium\x27}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22voicemail-detail-form-container\x20general\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27fullname\x27].$error\x22\x20ng-show=\x22generalForm[\x27fullname\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm.confirmPassword.$error\x22\x20role=\x22alert\x22\x20multiple>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.CONFIRM_NOT_MATCH\x22>Your\x20password\x20did\x20not\x20match</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27mailbox\x27].$error\x22\x20ng-show=\x22generalForm[\x27mailbox\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.MAILBOX_REQUIRED\x22>MailBox\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.VOICEMAIL_CONTEXT\x22>Voicemail_Context</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22context\x22\x20ng-model=\x22vm.voicemail.context\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ADVANCED\x22>ADVANCED</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22voicemail-detail-form-container\x20advanced\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22VOICE.ADVANCED\x22>ADVANCED</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22tz\x22\x20\x20ng-model=\x22vm.voicemail.tz\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22advancedForm[\x27tz\x27].$error\x22\x20ng-show=\x22advancedForm[\x27tz\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.TIMEZONE_REQUIRED\x22>TimeZone\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27VOICE.YES\x27\x20|\x20translate\x20}}\x20</md-option>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22advancedForm[\x27attach\x27].$error\x22\x20ng-show=\x22advancedForm[\x27attach\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.ENVELOPE\x22>Envelope</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22envelope\x22\x20ng-model=\x22vm.voicemail.envelope\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22advancedForm[\x27envelope\x27].$error\x22\x20ng-show=\x22advancedForm[\x27envelope\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.DELETE\x22>Delete</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.EMAILBODY\x22>EmailBody</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22emailbody\x22\x20\x20ng-model=\x22vm.voicemail.emailbody\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22advancedForm[\x27emailbody\x27].$error\x22\x20ng-show=\x22advancedForm[\x27emailbody\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.EMAILBODY_REQUIRED\x22>EmailBody\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22emailsubject\x22\x20\x20ng-model=\x22vm.voicemail.emailsubject\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.MAXSECONDS\x22>MaxSeconds</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22maxsecs\x22\x20\x20ng-model=\x22vm.voicemail.maxsecs\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22advancedForm[\x27maxsecs\x27].$error\x22\x20ng-show=\x22advancedForm[\x27maxsecs\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.MAXMESSAGES\x22>MaxMessages</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20max=\x229999\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22advancedForm[\x27maxmsg\x27].$error\x22\x20ng-show=\x22advancedForm[\x27maxmsg\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.MAXMESSAGES_REQUIRED\x22>MaxMessages\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.MAXMESSAGES_MUST_BE_LESS_THAN_OR_EQUAL_TO\x22>MaxMessages\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>9999</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.MESSAGES\x22>MESSAGES</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22voicemail-detail-form-container\x20messages\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-controller=\x22VoicemailMessagesController\x20as\x20vm_dc\x22\x20ng-init=\x22vm_dc.init(vm.voicemail,\x20vm.crudPermissions)\x22>\x0a','\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22\x20translate=\x22VOICE.MESSAGES\x22>Messages</span>\x0a','\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-accent\x22\x20ng-show=\x22vm_dc.selectedVoicemailMessages.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22>{{vm_dc.selectedVoicemailMessages.length}}\x20{{vm_dc.selectedVoicemailMessages.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-icon-button\x22\x20ng-csv=\x22vm_dc.exportSelectedVoicemailMessages\x22\x20csv-label=\x22true\x22\x20filename=\x22voicemails.csv\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22vm_dc.crudPermissions.canDelete\x22\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm_dc.deleteSelectedVoicemailMessages($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22VOICE.DELETE_SELECTED\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm_dc.query.sort\x22\x20md-on-reorder=\x22vm_dc.getVoicemailMessages\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22callerid\x22\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.CALLER_ID\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22duration\x22\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.DURATION\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22stamp\x22\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.RECEIVED_AT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22message\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22message\x20in\x20vm_dc.voicemailMessages.rows\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{message.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{message.callerid}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{message.duration}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<ms-recording\x20id=\x22message.id\x22\x20model=\x22\x27voiceMailMessage\x27\x22></ms-recording>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20message.stamp\x20|\x20formatdate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm_dc.deleteConfirm(message,\x20$event)\x22\x20translate=\x22VOICE.DELETE_MESSAGE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-if=\x22!vm_dc.voicemailMessages.rows.length\x22>\x0a','<div\x20id=\x22voicemails\x22\x20class=\x22page-layout\x20simple\x20left-sidenav\x20inner-sidenav\x22>\x0a','\x20\x20\x20\x20<div\x20ng-show=\x22vm.selectedVoicemails.length\x20>\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22close-button-wrapper\x22\x20ng-click=\x22vm.selectedVoicemails\x20=[]\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22selected-voicemails-count\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>{{vm.selectedVoicemails.length}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.selectAllVoicemails()\x22\x20translate=\x22VOICE.SELECT_ALL\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deselectVoicemails()\x22\x20translate=\x22VOICE.SELECT_NONE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-icon-button\x22\x20ng-csv=\x22vm.exportSelectedVoicemails\x22\x20csv-label=\x22true\x22\x20filename=\x22voicemails.csv\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x22\x20ng-click=\x22vm.deleteSelectedVoicemails($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<table\x20md-table\x20\x20md-row-select\x20multiple\x20\x20\x20ng-model=\x22vm.selectedVoicemails\x22\x20md-progress=\x22vm.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm.query.sort\x22\x20md-on-reorder=\x22vm.getVoicemails\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22email\x22>{{\x20\x27VOICE.EMAIL\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22mailbox\x22>{{\x20\x27VOICE.MAILBOX\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm.voicemails.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22voicemail.userpic\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{voicemail.name}}\x22\x20ng-src=\x22api/users/{{voicemail.id}}/avatar\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22!voicemail.userpic\x20&&\x20(vm.table\x20==\x20\x27users\x27\x20||\x20vm.table\x20==\x20\x27agents\x27)\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{voicemail.name}}\x22\x20ng-src=\x22assets/images/avatars/profile.png\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(voicemail,\x20ev)\x20:\x20vm.createOrEditVoicemail($event,\x20voicemail)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22fullname\x20\x22\x20>{{voicemail.fullname}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22email\x20\x22\x20>{{voicemail.email}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.editstate(voicemail,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22VOICE.EDIT_VOICEMAIL\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Voicemail\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deleteconfirm(voicemail,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Voicemail\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20ADD\x20VOICEMAIL\x20BUTTON\x20-->\x0a','\x20\x20\x20\x20<md-button\x20ng-if=\x22vm.crudPermissions.canEdit\x22\x20class=\x22md-fab\x20md-accent\x22\x20id=\x22add-voicemail-button\x22\x20ng-click=\x22vm.createOrEditVoicemail($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20voicemail\x22\x20translate\x20translate-attr-aria-label=\x22VOICE.ADD_VOICEMAIL\x22>\x0a','\x20\x20\x20\x20<!--\x20/\x20ADD\x20VOICEMAIL\x20BUTTON\x20-->\x0a','<md-dialog\x20class=\x22voicePrefix-dialog\x22\x20aria-label=\x22New\x20voicePrefix\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22voicePrefixForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22name\x22\x20\x20ng-model=\x22vm.voicePrefix.name\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22VOICE.HELP.NAME\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22voicePrefixForm[\x27name\x27].$error\x22\x20ng-show=\x22voicePrefixForm[\x27name\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.OUTBOUNDROUTE\x22>OutboundRoute</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22VoiceExtensionId\x22\x20ng-model=\x22vm.voicePrefix.VoiceExtensionId\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22VoiceExtensionId.id\x22\x20ng-repeat=\x22VoiceExtensionId\x20in\x20vm.outboundRoutes\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22VoiceExtensionId.canSelect\x20===\x20false\x22>{{\x20VoiceExtensionId.exten\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22voicePrefixForm[\x27VoiceExtensionId\x27].$error\x22\x20ng-show=\x22voicePrefixForm[\x27VoiceExtensionId\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.OUTBOUNDROUTE_REQUIRED\x22>OutboundRoute\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-pattern=\x22/"(.*)"\x5cs<(.*?)>$/\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22VOICE.HELP.CALLERIDALL\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22voicePrefixForm[\x27callerIdAll\x27].$error\x22\x20ng-show=\x22voicePrefixForm[\x27callerIdAll\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.CALLERIDALL_REQUIRED\x22>CallerIdAll\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22description\x22\x20\x20ng-model=\x22vm.voicePrefix.description\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22voicePrefixForm[\x27description\x27].$error\x22\x20ng-show=\x22voicePrefixForm[\x27description\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20!vm.newvoicePrefix\x22\x20ng-click=\x22vm.savevoicePrefix()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.newvoicePrefix\x22\x20ng-click=\x22vm.addNewvoicePrefix()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22voicePrefixForm.$invalid\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22VOICE.ADD_VOICEPREFIX\x22\x20translate-attr-aria-label=\x22VOICE.ADD_VOICEPREFIX\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20VOICEPREFIX\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x20&&\x20!vm.newvoicePrefix\x22\x20ng-click=\x22vm.deletevoicePrefix($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x0a','<md-dialog\x20class=\x22voicePrefix-dialog\x22\x20aria-label=\x22voicePrefix\x22\x20ng-init=\x22vm.onInit()\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22voicePrefixForm\x22\x20ng-cloak>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h2\x20translate=\x22VOICE.AGENTADD_VOICEPREFIX\x22>Add\x20Agent\x20to\x20voicePrefix</h2>\x0a','<div\x20id=\x22voicePrefixes\x22\x20class=\x22page-layout\x20simple\x20left-sidenav\x20inner-sidenav\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22logo-text\x22\x20translate=\x22VOICE.VOICEPREFIXES\x22>VoicePrefixes</span>\x0a','\x20\x20\x20\x20<div\x20ng-show=\x22vm.selectedVoicePrefixes.length\x20>\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22close-button-wrapper\x22\x20ng-click=\x22vm.selectedVoicePrefixes\x20=[]\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22selected-voicePrefixes-count\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>{{vm.selectedVoicePrefixes.length}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.selectAllVoicePrefixes()\x22\x20translate=\x22VOICE.SELECT_ALL\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deselectVoicePrefixes()\x22\x20translate=\x22VOICE.SELECT_NONE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-icon-button\x22\x20ng-csv=\x22vm.exportSelectedVoicePrefixes\x22\x20csv-label=\x22true\x22\x20filename=\x22voicePrefixes.csv\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20VOICEPREFIX\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<table\x20md-table\x20\x20md-row-select\x20multiple\x20\x20\x20ng-model=\x22vm.selectedVoicePrefixes\x22\x20md-progress=\x22vm.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm.query.sort\x22\x20md-on-reorder=\x22vm.getVoicePrefixes\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22VoiceExtensionId\x22>{{\x20\x27VOICE.OUTBOUNDROUTE\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22callerIdAll\x22>{{\x20\x27VOICE.CALLERIDALL\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22voicePrefix\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22voicePrefix\x20in\x20vm.voicePrefixes.rows\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22!voicePrefix.userpic\x20&&\x20(vm.table\x20==\x20\x27users\x27\x20||\x20vm.table\x20==\x20\x27agents\x27)\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{voicePrefix.name}}\x22\x20ng-src=\x22assets/images/avatars/profile.png\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.createOrEditvoicePrefix($event,\x20voicePrefix)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22id\x20\x22\x20>{{voicePrefix.id}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.createOrEditvoicePrefix($event,\x20voicePrefix)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22name\x20\x22\x20>{{voicePrefix.name}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22VoiceExtensionId\x20\x22>{{\x20(vm.outboundRoutes\x20|\x20filter\x20:\x20{\x27id\x27:voicePrefix.VoiceExtensionId}\x20:\x20true)[0].exten\x20}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.createOrEditvoicePrefix($event,\x20voicePrefix)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22description\x20\x22\x20>{{voicePrefix.description}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22VOICE.EDIT_VOICEPREFIX\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20voicePrefix\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.agentadddialog(voicePrefix,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22VOICE.AGENTADD_VOICEPREFIX\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AgentAdd\x20voicePrefix\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deleteconfirm(voicePrefix,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20voicePrefix\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27VOICE.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27VOICE.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27VOICE.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm.query.page\x22\x20md-total=\x22{{vm.voicePrefixes.count}}\x22\x20md-on-paginate=\x22vm.getVoicePrefixes\x22\x20md-page-select></md-table-pagination>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20VOICEPREFIX\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20ADD\x20VOICEPREFIX\x20BUTTON\x20-->\x0a','\x20\x20\x20\x20<md-button\x20ng-if=\x22vm.crudPermissions.canEdit\x22\x20class=\x22md-fab\x20md-accent\x22\x20id=\x22add-voicePrefix-button\x22\x20ng-click=\x22vm.createOrEditvoicePrefix($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20voicePrefix\x22\x20translate\x20translate-attr-aria-label=\x22VOICE.ADD_VOICEPREFIX\x22>\x0a','\x20\x20\x20\x20<!--\x20/\x20ADD\x20VOICEPREFIX\x20BUTTON\x20-->\x0a','<md-dialog\x20class=\x22voiceQueue-dialog\x22\x20aria-label=\x22New\x20VoiceQueue\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22voiceQueueForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22name\x22\x20\x20ng-model=\x22vm.voiceQueue.name\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.newVoiceQueue\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22voiceQueueForm[\x27name\x27].$error\x22\x20ng-show=\x22voiceQueueForm[\x27name\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.STRATEGY\x22>Strategy</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22strategy\x22\x20ng-model=\x22vm.voiceQueue.strategy\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27ringall\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Ringall</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Random</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.STRATEGY_REQUIRED\x22>Strategy\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22voiceQueueForm[\x27description\x27].$error\x22\x20ng-show=\x22voiceQueueForm[\x27description\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20!vm.newVoiceQueue\x22\x20ng-click=\x22vm.saveVoiceQueue()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22voiceQueueForm.$invalid\x20||\x20voiceQueueForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.newVoiceQueue\x22\x20ng-click=\x22vm.addNewVoiceQueue()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22voiceQueueForm.$invalid\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20VOICEQUEUE\x0a','\x20\x20\x20\x20<form\x20name=\x22voiceQueueForm\x22\x20ng-cloak>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h2\x20translate=\x22VOICE.AGENTADD_VOICEQUEUE\x22>Add\x20Agent\x20to\x20voiceQueue</h2>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.PENALTY\x22>Penalty</label>\x0a','<md-dialog\x20class=\x22voiceQueue-dialog\x22\x20aria-label=\x22voiceQueue\x22\x20ng-init=\x22vm.onInit()\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22voiceQueueForm.penalty.$error\x22\x20role=\x22alert\x22\x20multiple>\x0a','<div\x20id=\x22voice-voiceQueue\x22\x20class=\x22page-layout\x20simple\x20tabbed\x22\x20layout=\x22column\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22goto-voiceQueues-button\x20md-icon-button\x22\x20aria-label=\x22Go\x20to\x20voiceQueues\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.gotoVoiceQueues()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22VOICE.GO_TO_VOICEQUEUES\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22voiceQueue-image\x22\x20hide-xs>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<img\x20ng-src=\x22assets/images/business/voiceQueues.jpg\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.voiceQueue.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22vm.voiceQueue.name\x22>{{vm.voiceQueue.name}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.teamadddialog(vm.voiceQueue,\x20$event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip><span\x20translate=\x22VOICE.TEAMADD_VOICEQUEUE\x22></span></md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip><span\x20translate=\x22VOICE.GOTO_VOICEQUEUE\x22></span></md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-click=\x22vm.saveVoiceQueue()\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20ng-disabled=\x22(generalForm.$invalid)\x20||\x20(settingsForm.$invalid)\x20||\x20(announcementsForm.$invalid)\x20||\x20(advancedForm.$invalid)\x22\x20translate=\x22VOICE.SAVE\x22\x20translate-attr-aria-label=\x22VOICE.SAVE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22voiceQueue-detail-form-container\x20general\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27fewestcalls\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27random\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22VOICE.HELP.TIMEOUT\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22VOICE.HELP.MAXLENGTH\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27maxlen\x27].$error\x22\x20ng-show=\x22generalForm[\x27maxlen\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.MAXLENGTH_REQUIRED\x22>MaxLength\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.MAXLENGTH_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>MaxLength\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>0</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22retry\x22\x20\x20ng-model=\x22vm.voiceQueue.retry\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27retry\x27].$error\x22\x20ng-show=\x22generalForm[\x27retry\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.RETRY_REQUIRED\x22>Retry\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.RETRY_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>Retry\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>0</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.WRAPUPTIME\x22>WrapupTime</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22VOICE.HELP.WRAPUPTIME\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27wrapuptime\x27].$error\x22\x20ng-show=\x22generalForm[\x27wrapuptime\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.WRAPUPTIME_REQUIRED\x22>WrapupTime\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.WRAPUPTIME_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>WrapupTime\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>0</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.WEIGHT\x22>Weight</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22weight\x22\x20\x20ng-model=\x22vm.voiceQueue.weight\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22VOICE.HELP.WEIGHT\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27weight\x27].$error\x22\x20ng-show=\x22generalForm[\x27weight\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.WEIGHT_REQUIRED\x22>Weight\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.WEIGHT_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>Weight\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>0</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22joinempty\x22\x20ng-model=\x22vm.voiceQueue.joinempty\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27no\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22vm.voiceQueue.joinempty.length\x20===\x201\x20&&\x20vm.voiceQueue.joinempty[0]\x20===\x20\x27strict\x27\x22\x20>strict</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22vm.voiceQueue.joinempty.length\x20===\x201\x20&&\x20vm.voiceQueue.joinempty[0]\x20===\x20\x27loose\x27\x22\x20>loose</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27paused\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22vm.voiceQueue.joinempty.length\x20===\x201\x20&&\x20vm.voiceQueue.joinempty[0]\x20===\x20\x27paused\x27\x22\x20>paused</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27penalty\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22vm.voiceQueue.joinempty.length\x20===\x201\x20&&\x20vm.voiceQueue.joinempty[0]\x20===\x20\x27inuse\x27\x22\x20>inuse</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22vm.voiceQueue.joinempty.length\x20===\x201\x20&&\x20vm.voiceQueue.joinempty[0]\x20===\x20\x27ringing\x27\x22\x20>ringing</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27unavailable\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22vm.voiceQueue.joinempty.length\x20===\x201\x20&&\x20vm.voiceQueue.joinempty[0]\x20===\x20\x27unavailable\x27\x22\x20>unavailable</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22vm.voiceQueue.joinempty.length\x20===\x201\x20&&\x20vm.voiceQueue.joinempty[0]\x20===\x20\x27invalid\x27\x22\x20>invalid</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27unknown\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27wrapup\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22VOICE.HELP.JOINWHENEMPTY\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27joinempty\x27].$error\x22\x20ng-show=\x22generalForm[\x27joinempty\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.JOINWHENEMPTY_REQUIRED\x22>JoinWhenEmpty\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.LEAVEWHENEMPTY\x22>LeaveWhenEmpty</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22leavewhenempty\x22\x20ng-model=\x22vm.voiceQueue.leavewhenempty\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22vm.voiceQueue.leavewhenempty.length\x20===\x201\x20&&\x20vm.voiceQueue.leavewhenempty[0]\x20===\x20\x27no\x27\x22\x20>no</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22vm.voiceQueue.leavewhenempty.length\x20===\x201\x20&&\x20vm.voiceQueue.leavewhenempty[0]\x20===\x20\x27yes\x27\x22\x20>yes</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27strict\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22vm.voiceQueue.leavewhenempty.length\x20===\x201\x20&&\x20vm.voiceQueue.leavewhenempty[0]\x20===\x20\x27strict\x27\x22\x20>strict</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27loose\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22vm.voiceQueue.leavewhenempty.length\x20===\x201\x20&&\x20vm.voiceQueue.leavewhenempty[0]\x20===\x20\x27loose\x27\x22\x20>loose</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22vm.voiceQueue.leavewhenempty.length\x20===\x201\x20&&\x20vm.voiceQueue.leavewhenempty[0]\x20===\x20\x27paused\x27\x22\x20>paused</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22vm.voiceQueue.leavewhenempty.length\x20===\x201\x20&&\x20vm.voiceQueue.leavewhenempty[0]\x20===\x20\x27penalty\x27\x22\x20>penalty</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27inuse\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22vm.voiceQueue.leavewhenempty.length\x20===\x201\x20&&\x20vm.voiceQueue.leavewhenempty[0]\x20===\x20\x27ringing\x27\x22\x20>ringing</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22vm.voiceQueue.leavewhenempty.length\x20===\x201\x20&&\x20vm.voiceQueue.leavewhenempty[0]\x20===\x20\x27unavailable\x27\x22\x20>unavailable</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27invalid\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22vm.voiceQueue.leavewhenempty.length\x20===\x201\x20&&\x20vm.voiceQueue.leavewhenempty[0]\x20===\x20\x27invalid\x27\x22\x20>invalid</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22vm.voiceQueue.leavewhenempty.length\x20===\x201\x20&&\x20vm.voiceQueue.leavewhenempty[0]\x20===\x20\x27unknown\x27\x22\x20>unknown</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22VOICE.HELP.LEAVEWHENEMPTY\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27leavewhenempty\x27].$error\x22\x20ng-show=\x22generalForm[\x27leavewhenempty\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.LEAVEWHENEMPTY_REQUIRED\x22>LeaveWhenEmpty\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.MUSICONHOLD\x22>MusicOnHold</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22musiconhold\x22\x20ng-model=\x22vm.voiceQueue.musiconhold\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22VOICE.HELP.MUSICONHOLD\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22generalForm[\x27musiconhold\x27].$error\x22\x20ng-show=\x22generalForm[\x27musiconhold\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22announce\x22\x20ng-model=\x22vm.voiceQueue.announce\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27FALSE\x27\x22>None</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27/var/opt/motion2/server/files/sounds/converted/\x27\x20+\x20announce.save_name\x22\x20ng-repeat=\x22announce\x20in\x20vm.sounds\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22VOICE.HELP.ANNOUNCETOAGENT\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22description\x22\x20\x20ng-model=\x22vm.voiceQueue.description\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ANNOUNCEMENTS\x22>ANNOUNCEMENTS</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22VOICE.SETTINGS\x22>SETTINGS</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<form\x20name=\x22settingsForm\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.ANNOUNCEFREQUENCY\x22>AnnounceFrequency</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22announce_frequency\x22\x20\x20ng-model=\x22vm.voiceQueue.announce_frequency\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22VOICE.HELP.ANNOUNCEFREQUENCY\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22settingsForm[\x27announce_frequency\x27].$error\x22\x20ng-show=\x22settingsForm[\x27announce_frequency\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.ANNOUNCEFREQUENCY_REQUIRED\x22>AnnounceFrequency\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.ANNOUNCEFREQUENCY_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>AnnounceFrequency\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>0</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.MINANNOUNCEFREQUENCY\x22>MinAnnounceFrequency</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22VOICE.HELP.MINANNOUNCEFREQUENCY\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.MINANNOUNCEFREQUENCY_REQUIRED\x22>MinAnnounceFrequency\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.MINANNOUNCEFREQUENCY_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>MinAnnounceFrequency\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>0</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22periodic_announce_frequency\x22\x20\x20ng-model=\x22vm.voiceQueue.periodic_announce_frequency\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22VOICE.HELP.PERIODICANNOUNCEFREQUENCY\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.PERIODICANNOUNCEFREQUENCY_REQUIRED\x22>PeriodicAnnounceFrequency\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.PERIODICANNOUNCEFREQUENCY_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>PeriodicAnnounceFrequency\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>0</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22random_periodic_announce\x22\x20ng-model=\x22vm.voiceQueue.random_periodic_announce\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22VOICE.HELP.RANDOMPERIODICANNOUNCE\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22settingsForm[\x27random_periodic_announce\x27].$error\x22\x20ng-show=\x22settingsForm[\x27random_periodic_announce\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.RANDOMPERIODICANNOUNCE_REQUIRED\x22>RandomPeriodicAnnounce\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.ANNOUNCEHOLDTIME\x22>AnnounceHoldtime</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22announce_holdtime\x22\x20ng-model=\x22vm.voiceQueue.announce_holdtime\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27once\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Once</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22VOICE.HELP.ANNOUNCEHOLDTIME\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22settingsForm[\x27announce_holdtime\x27].$error\x22\x20ng-show=\x22settingsForm[\x27announce_holdtime\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.ANNOUNCECALLERPOSITION\x22>AnnounceCallerPosition</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22announce_position\x22\x20ng-model=\x22vm.voiceQueue.announce_position\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27limit\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27more\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>More</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22settingsForm[\x27announce_position\x27].$error\x22\x20ng-show=\x22settingsForm[\x27announce_position\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.ANNOUNCECALLERPOSITION_REQUIRED\x22>AnnounceCallerPosition\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.ANNOUNCEPOSITIONLIMIT\x22>AnnouncePositionLimit</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22announce_position_limit\x22\x20\x20ng-model=\x22vm.voiceQueue.announce_position_limit\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22VOICE.HELP.ANNOUNCEPOSITIONLIMIT\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.ANNOUNCEPOSITIONLIMIT_REQUIRED\x22>AnnouncePositionLimit\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22reportholdtime\x22\x20ng-model=\x22vm.voiceQueue.reportholdtime\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22VOICE.HELP.REPORTHOLDTIMEAGENT\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22voiceQueue-detail-form-container\x20announcements\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22VOICE.ANNOUNCEMENTS\x22>ANNOUNCEMENTS</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<form\x20name=\x22announcementsForm\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.PERIODICANNOUNCE\x22>PeriodicAnnounce</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27\x27\x22>Default</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27/var/opt/motion2/server/files/sounds/converted/\x27\x20+\x20periodic_announce.save_name\x22\x20ng-repeat=\x22periodic_announce\x20in\x20vm.sounds\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22periodic_announce.canSelect\x20===\x20false\x22>{{\x20periodic_announce.name\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22VOICE.HELP.PERIODICANNOUNCE\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.PERIODICANNOUNCE_REQUIRED\x22>PeriodicAnnounce\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.HOLDTIMEANNOUNCE\x22>HoldTimeAnnounce</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22queue_reporthold\x22\x20ng-model=\x22vm.voiceQueue.queue_reporthold\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22null\x22>Default</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27\x27\x22>Disabled</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27/var/opt/motion2/server/files/sounds/converted/\x27\x20+\x20queue_reporthold.save_name\x22\x20ng-repeat=\x22queue_reporthold\x20in\x20vm.sounds\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22queue_reporthold.canSelect\x20===\x20false\x22>{{\x20queue_reporthold.name\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22VOICE.HELP.HOLDTIMEANNOUNCE\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22announcementsForm[\x27queue_reporthold\x27].$error\x22\x20ng-show=\x22announcementsForm[\x27queue_reporthold\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.HOLDTIMEANNOUNCE_REQUIRED\x22>HoldTimeAnnounce\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.YOUARENEXTANNOUNCE\x22>YouareNextAnnounce</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27/var/opt/motion2/server/files/sounds/converted/\x27\x20+\x20queue_youarenext.save_name\x22\x20ng-repeat=\x22queue_youarenext\x20in\x20vm.sounds\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22queue_youarenext.canSelect\x20===\x20false\x22>{{\x20queue_youarenext.name\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22VOICE.HELP.YOUARENEXTANNOUNCE\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.YOUARENEXTANNOUNCE_REQUIRED\x22>YouareNextAnnounce\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.THEREAREANNOUNCE\x22>ThereareAnnounce</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22queue_thereare\x22\x20ng-model=\x22vm.voiceQueue.queue_thereare\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27/var/opt/motion2/server/files/sounds/converted/\x27\x20+\x20queue_thereare.save_name\x22\x20ng-repeat=\x22queue_thereare\x20in\x20vm.sounds\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22queue_thereare.canSelect\x20===\x20false\x22>{{\x20queue_thereare.name\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22VOICE.HELP.THEREAREANNOUNCE\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22announcementsForm[\x27queue_thereare\x27].$error\x22\x20ng-show=\x22announcementsForm[\x27queue_thereare\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.THEREAREANNOUNCE_REQUIRED\x22>ThereareAnnounce\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.WAITINGCALLSANNOUNCE\x22>WaitingCallsAnnounce</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22queue_callswaiting\x22\x20ng-model=\x22vm.voiceQueue.queue_callswaiting\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22VOICE.HELP.WAITINGCALLSANNOUNCE\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22announcementsForm[\x27queue_callswaiting\x27].$error\x22\x20ng-show=\x22announcementsForm[\x27queue_callswaiting\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.WAITINGCALLSANNOUNCE_REQUIRED\x22>WaitingCallsAnnounce\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.ESTIMATEDHOLDTIMEANNOUNCE\x22>EstimatedHoldTimeAnnounce</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22queue_holdtime\x22\x20ng-model=\x22vm.voiceQueue.queue_holdtime\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27/var/opt/motion2/server/files/sounds/converted/\x27\x20+\x20queue_holdtime.save_name\x22\x20ng-repeat=\x22queue_holdtime\x20in\x20vm.sounds\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22queue_holdtime.canSelect\x20===\x20false\x22>{{\x20queue_holdtime.name\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22VOICE.HELP.ESTIMATEDHOLDTIMEANNOUNCE\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22announcementsForm[\x27queue_holdtime\x27].$error\x22\x20ng-show=\x22announcementsForm[\x27queue_holdtime\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.MINUTESANNOUNCE\x22>MinutesAnnounce</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27/var/opt/motion2/server/files/sounds/converted/\x27\x20+\x20queue_minutes.save_name\x22\x20ng-repeat=\x22queue_minutes\x20in\x20vm.sounds\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22queue_minutes.canSelect\x20===\x20false\x22>{{\x20queue_minutes.name\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.MINUTEANNOUNCE\x22>MinuteAnnounce</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22queue_minute\x22\x20ng-model=\x22vm.voiceQueue.queue_minute\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22announcementsForm[\x27queue_minute\x27].$error\x22\x20ng-show=\x22announcementsForm[\x27queue_minute\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.MINUTEANNOUNCE_REQUIRED\x22>MinuteAnnounce\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22queue_seconds\x22\x20ng-model=\x22vm.voiceQueue.queue_seconds\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27/var/opt/motion2/server/files/sounds/converted/\x27\x20+\x20queue_seconds.save_name\x22\x20ng-repeat=\x22queue_seconds\x20in\x20vm.sounds\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22queue_seconds.canSelect\x20===\x20false\x22>{{\x20queue_seconds.name\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22VOICE.HELP.SECONDSANNOUNCE\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22announcementsForm[\x27queue_seconds\x27].$error\x22\x20ng-show=\x22announcementsForm[\x27queue_seconds\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.SECONDSANNOUNCE_REQUIRED\x22>SecondsAnnounce\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.THANKYOUANNOUNCE\x22>ThankYouAnnounce</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22\x27/var/opt/motion2/server/files/sounds/converted/\x27\x20+\x20queue_thankyou.save_name\x22\x20ng-repeat=\x22queue_thankyou\x20in\x20vm.sounds\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22queue_thankyou.canSelect\x20===\x20false\x22>{{\x20queue_thankyou.name\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22announcementsForm[\x27queue_thankyou\x27].$error\x22\x20ng-show=\x22announcementsForm[\x27queue_thankyou\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.THANKYOUANNOUNCE_REQUIRED\x22>ThankYouAnnounce\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22voiceQueue-detail-form-container\x20advanced\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22VOICE.HELP.AFTERCALLWORK\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.voiceQueue.acw\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.AFTERCALLWORKDURATION\x22>AfterCallWorkDuration</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22acwTimeout\x22\x20\x20ng-model=\x22vm.voiceQueue.acwTimeout\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22VOICE.HELP.AFTERCALLWORKDURATION\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.AFTERCALLWORKDURATION_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>AfterCallWorkDuration\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>0</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.AUTOPAUSE\x22>AutoPause</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22autopause\x22\x20ng-model=\x22vm.voiceQueue.autopause\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22VOICE.HELP.AUTOPAUSE\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.AUTOPAUSE_REQUIRED\x22>AutoPause\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22ringinuse\x22\x20ng-model=\x22vm.voiceQueue.ringinuse\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22VOICE.HELP.RINGINUSE\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22advancedForm[\x27ringinuse\x27].$error\x22\x20ng-show=\x22advancedForm[\x27ringinuse\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.RINGINUSE_REQUIRED\x22>RingInUse\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22memberdelay\x22\x20\x20ng-model=\x22vm.voiceQueue.memberdelay\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22VOICE.HELP.MEMBERDELAY\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.MEMBERDELAY_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>MemberDelay\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>0</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.TIMEOUTRESTART\x22>TimeoutRestart</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22timeoutrestart\x22\x20ng-model=\x22vm.voiceQueue.timeoutrestart\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.TIMEOUTRESTART_REQUIRED\x22>TimeoutRestart\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.MONITORFORMAT\x22>MonitorFormat</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22VOICE.HELP.MONITORFORMAT\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22advancedForm[\x27monitor_format\x27].$error\x22\x20ng-show=\x22advancedForm[\x27monitor_format\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.MONITORFORMAT_REQUIRED\x22>MonitorFormat\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22context\x22\x20\x20ng-model=\x22vm.voiceQueue.context\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22VOICE.HELP.CONTEXT\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.SETINTERFACEVARIABLES\x22>SetInterfaceVariables</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22VOICE.HELP.SETINTERFACEVARIABLES\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.SETINTERFACEVARIABLES_REQUIRED\x22>SetInterfaceVariables\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.SETQUEUEVARIABLES\x22>SetQueueVariables</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22VOICE.HELP.SETQUEUEVARIABLES\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22advancedForm[\x27setqueuevar\x27].$error\x22\x20ng-show=\x22advancedForm[\x27setqueuevar\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.SETQUEUEVARIABLES_REQUIRED\x22>SetQueueVariables\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22VOICE.HELP.SETQUEUEENTRYVARIABLES\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22advancedForm[\x27setqueueentryvar\x27].$error\x22\x20ng-show=\x22advancedForm[\x27setqueueentryvar\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22servicelevel\x22\x20\x20ng-model=\x22vm.voiceQueue.servicelevel\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22VOICE.HELP.SERVICELEVEL\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22advancedForm[\x27servicelevel\x27].$error\x22\x20ng-show=\x22advancedForm[\x27servicelevel\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.SERVICELEVEL_REQUIRED\x22>ServiceLevel\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.SERVICELEVEL_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>ServiceLevel\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>0</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.SERVICELEVEL_MUST_BE_LESS_THAN_OR_EQUAL_TO\x22>ServiceLevel\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>100</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.voiceQueue.mandatoryDisposition\x22\x20aria-label=\x22MandatoryDisposition\x22\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20><span\x20translate=\x22VOICE.MANDATORYDISPOSITION\x22>MandatoryDisposition</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.voiceQueue.mandatoryDisposition\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.MANDATORYDISPOSITIONPAUSEID\x22>MandatoryDispositionPauseId</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22mandatoryDispositionPauseId\x22\x20ng-model=\x22vm.voiceQueue.mandatoryDispositionPauseId\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.MANDATORYDISPOSITIONPAUSEID_REQUIRED\x22>MandatoryDispositionPauseId\x20field\x20is\x20required</span>\x0a','<div\x20id=\x22voiceQueues\x22\x20class=\x22page-layout\x20simple\x20left-sidenav\x20inner-sidenav\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22logo-text\x22\x20translate=\x22VOICE.VOICEQUEUES\x22>VoiceQueues</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>{{vm.selectedVoiceQueues.length}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.selectAllVoiceQueues()\x22\x20translate=\x22VOICE.SELECT_ALL\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-icon-button\x22\x20ng-csv=\x22vm.exportSelectedVoiceQueues\x22\x20csv-label=\x22true\x22\x20filename=\x22voiceQueues.csv\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x22\x20ng-click=\x22vm.deleteSelectedVoiceQueues($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20VOICEQUEUE\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<table\x20md-table\x20\x20md-row-select\x20multiple\x20\x20\x20ng-model=\x22vm.selectedVoiceQueues\x22\x20md-progress=\x22vm.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm.query.sort\x22\x20md-on-reorder=\x22vm.getVoiceQueues\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm.voiceQueues.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22voiceQueue\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22voiceQueue\x20in\x20vm.voiceQueues.rows\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22!voiceQueue.userpic\x20&&\x20(vm.table\x20==\x20\x27users\x27\x20||\x20vm.table\x20==\x20\x27agents\x27)\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{voiceQueue.name}}\x22\x20ng-src=\x22assets/images/avatars/profile.png\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(voiceQueue,\x20ev)\x20:\x20vm.createOrEditVoiceQueue($event,\x20voiceQueue)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(voiceQueue,\x20ev)\x20:\x20vm.createOrEditVoiceQueue($event,\x20voiceQueue)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22strategy\x20\x22>{{\x20vm.arraystrategy[voiceQueue.strategy].option\x20}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(voiceQueue,\x20ev)\x20:\x20vm.createOrEditVoiceQueue($event,\x20voiceQueue)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.editstate(voiceQueue,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.teamadddialog(voiceQueue,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22VOICE.TEAMADD_VOICEQUEUE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20teamadd\x20VoiceQueue\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20agentadd\x20VoiceQueue\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deleteconfirm(voiceQueue,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22VOICE.DELETE_VOICEQUEUE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20VoiceQueue\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.gotorealtimegoto(voiceQueue,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22VOICE.GOTOREALTIME_VOICEQUEUE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27VOICE.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27VOICE.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27VOICE.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm.query.page\x22\x20md-total=\x22{{vm.voiceQueues.count}}\x22\x20md-on-paginate=\x22vm.getVoiceQueues\x22\x20md-page-select></md-table-pagination>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20VOICEQUEUE\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20ADD\x20VOICEQUEUE\x20BUTTON\x20-->\x0a','\x20\x20\x20\x20<md-button\x20ng-if=\x22vm.crudPermissions.canEdit\x22\x20class=\x22md-fab\x20md-accent\x22\x20id=\x22add-voiceQueue-button\x22\x20ng-click=\x22vm.createOrEditVoiceQueue($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20voiceQueue\x22\x20translate\x20translate-attr-aria-label=\x22VOICE.ADD_VOICEQUEUE\x22>\x0a','\x20\x20\x20\x20<!--\x20/\x20ADD\x20VOICEQUEUE\x20BUTTON\x20-->\x0a','<md-dialog\x20class=\x22voiceRecording-dialog\x22\x20aria-label=\x22New\x20VoiceRecording\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22rating\x22\x20ng-model=\x22vm.voiceRecording.rating\x22\x20\x20autofocus\x20\x20ng-disabled=\x22!vm.newVoiceRecording\x20&&\x20!vm.crudPermissions.canEdit\x22\x20\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20ng-value=\x22null\x22>{{\x27VOICE.NO_RATING\x27\x20|\x20translate}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20value=\x224\x22><md-icon\x20md-font-icon=\x22icon-star\x22\x20style=\x22color:red\x22\x20ng-repeat=\x22icon\x20in\x20[1,2,3,4]\x22></md-icon></md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22voiceRecordingForm[\x27rating\x27].$error\x22\x20ng-show=\x22voiceRecordingForm[rating].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.RATING_REQUIRED\x22>Rating\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22voiceRecordingForm.$invalid\x20||\x20voiceRecordingForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.newVoiceRecording\x22\x20ng-click=\x22vm.addNewVoiceRecording()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22VOICE.ADD_VOICERECORDING\x22\x20translate-attr-aria-label=\x22VOICE.ADD_VOICERECORDING\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20VOICERECORDING\x0a','<div\x20id=\x22voice-voiceRecording\x22\x20class=\x22page-layout\x20simple\x20tabbed\x22\x20layout=\x22column\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22goto-voiceRecordings-button\x20md-icon-button\x22\x20aria-label=\x22Go\x20to\x20voiceRecordings\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.gotoVoiceRecordings()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22VOICE.GO_TO_VOICERECORDINGS\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22voiceRecording-image\x22\x20hide-xs>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<img\x20ng-src=\x22assets/images/business/voiceRecordings.jpg\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.voiceRecording.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.GENERAL\x22>GENERAL</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<form\x20name=\x22voiceRecordingsForm\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.TYPE\x22>Type</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22\x22\x20name=\x22type\x22\x20\x20ng-model=\x22vm.voiceRecording.type\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22voiceRecordingsForm[\x27type\x27].$error\x22\x20ng-show=\x22voiceRecordingsForm[\x27type\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.TYPE_REQUIRED\x22>Type\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.UNIQUEID\x22>UniqueId</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22\x22\x20name=\x22uniqueid\x22\x20\x20ng-model=\x22vm.voiceRecording.uniqueid\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22voiceRecordingsForm[\x27uniqueid\x27].$error\x22\x20ng-show=\x22voiceRecordingsForm[\x27uniqueid\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.UNIQUEID_REQUIRED\x22>UniqueId\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.CALLER\x22>Caller</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22\x22\x20name=\x22calleridnum\x22\x20\x20ng-model=\x22vm.voiceRecording.calleridnum\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22voiceRecordingsForm[\x27calleridnum\x27].$error\x22\x20ng-show=\x22voiceRecordingsForm[\x27calleridnum\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.CALLED\x22>Called</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22\x22\x20name=\x22exten\x22\x20\x20ng-model=\x22vm.voiceRecording.exten\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22voiceRecordingsForm[\x27exten\x27].$error\x22\x20ng-show=\x22voiceRecordingsForm[\x27exten\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.CONNECTED\x22>Connected</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.CONNECTED_REQUIRED\x22>Connected\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22\x22\x20name=\x22queue\x22\x20\x20ng-model=\x22vm.voiceRecording.queue\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.AGENT\x22>Agent</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22membername\x22\x20\x20ng-model=\x22vm.voiceRecording.membername\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22voiceRecordingsForm[\x27membername\x27].$error\x22\x20ng-show=\x22voiceRecordingsForm[\x27membername\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.AGENT_REQUIRED\x22>Agent\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.RATING\x22>Rating</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22rating\x22\x20ng-model=\x22vm.voiceRecording.rating\x22\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20value=\x221\x22><md-icon\x20md-font-icon=\x22icon-star\x22\x20style=\x22color:red\x22\x20ng-repeat=\x22icon\x20in\x20[1]\x22></md-icon></md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22voiceRecordingsForm[\x27rating\x27].$error\x22\x20ng-show=\x22voiceRecordingsForm[rating].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22userDisposition\x22\x20\x20ng-model=\x22vm.voiceRecording.userDisposition\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22voiceRecordingsForm[\x27userDisposition\x27].$error\x22\x20ng-show=\x22voiceRecordingsForm[\x27userDisposition\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.ERRORS.DISPOSITION_REQUIRED\x22>Disposition\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tab\x20\x20ng-if=\x22vm.license.ai\x22\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22VOICE.TRANSCRIPTANALYSIS\x22>TRANSCRIPTANALYSIS</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22voiceRecording-detail-form-container\x20transcript\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<form\x20name=\x22transcriptForm\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.voiceRecording.transcribeStatus\x20==\x20\x27COMPLETED\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.TEXT\x22>Text</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<textarea\x20name=\x22fileText\x22\x20ng-model=\x22vm.voiceRecording.fileText\x22\x20\x20autofocus\x20\x20ng-disabled=\x22true\x22\x20\x20></textarea>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.voiceRecording.transcribeStatus\x20==\x20\x27FAILED\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22VOICE.FAILUREREASON\x22>FailureReason</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<textarea\x20name=\x22failureReason\x22\x20ng-model=\x22vm.voiceRecording.failureReason\x22\x20\x20ng-disabled=\x22true\x22\x20\x20></textarea>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22voiceRecording-detail-form-container\x20sentimentanalysis\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-controller=\x22VoiceRecordingSentimentStatisticsController\x20as\x20vm_ss\x22\x0a','\x20\x20\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-default\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22\x20translate=\x22VOICE.SENTIMENTANALYSIS\x22\x20style=\x22width:\x2050px;\x22>Sentiment\x20Analysis</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<ms-widget\x20class=\x22h-140\x22\x20layout=\x22column\x22\x20flex=\x22100\x22\x20flex-gt-xs=\x2250\x22\x20flex-gt-md=\x2220\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22md-display-1\x20pb-8\x20sentiment\x22\x20ng-class=\x22vm_ss.voiceRecording.sentiment\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22font-weight-500\x20secondary-text\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.SENTIMENT\x27\x20|\x20translate\x20|\x20uppercase\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<ms-widget-front\x20class=\x22p-16\x20white-bg\x22\x20layout=\x22row\x22\x20flex>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22md-display-1\x20pb-8\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{\x20(vm_ss.voiceRecording.sPositive\x20||\x200)\x20*\x20100\x20|\x20number:\x202\x20\x20}}%)\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.SENTIMENT_POSITIVE\x27\x20|\x20translate\x20|\x20uppercase\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22pt-8\x20pb-8\x22\x20layout=\x22column\x22\x20layout-align=\x22center\x20center\x22\x20flex>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{\x20(vm_ss.voiceRecording.sNeutral\x20||\x200)\x20*\x20100\x20|\x20number:\x202\x20\x20}}%)\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20WIDGET\x205\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.SENTIMENT_MIXED\x27\x20|\x20translate\x20|\x20uppercase\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20WIDGET\x205\x20-->\x0a','<div\x20id=\x22voiceRecordings\x22\x20class=\x22page-layout\x20simple\x20left-sidenav\x20inner-sidenav\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22logo-text\x22\x20translate=\x22VOICE.VOICERECORDINGS\x22>VoiceRecordings</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<ms-quick-filter\x20filters=\x22vm.quickFilters\x22\x20query=\x22vm.query\x22\x20search=\x22vm.getVoiceRecordings()\x22></ms-quick-filter>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22close-button-wrapper\x22\x20ng-click=\x22vm.selectedVoiceRecordings\x20=[]\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22selected-voiceRecordings-count\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>{{vm.selectedVoiceRecordings.length}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.selectAllVoiceRecordings()\x22\x20translate=\x22VOICE.SELECT_ALL\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deselectVoiceRecordings()\x22\x20translate=\x22VOICE.SELECT_NONE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.license.ai\x22\x20ng-click=\x22vm.runtranscribesentimentSelectedVoiceRecordings($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22transcribesentiment\x20selected\x22\x20translate\x20translate-attr-label=\x22VOICERECORDINGS.TRANSCRIBESENTIMENT_SELECTED\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-text-to-speech\x22></md-icon><md-tooltip\x20>{{\x27VOICE.RUNTRANSCRIBESENTIMENT_VOICERECORDING\x27\x20|\x20translate}}</md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.license.ai\x22\x20ng-click=\x22vm.runtranscribeSelectedVoiceRecordings($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22transcribe\x20selected\x22\x20translate\x20translate-attr-label=\x22VOICERECORDINGS.TRANSCRIBE_SELECTED\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-format-size\x22></md-icon><md-tooltip\x20>{{\x27VOICE.RUNTRANSCRIBE_VOICERECORDING\x27\x20|\x20translate}}</md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22transcribe\x20selected\x22\x20translate\x20translate-attr-label=\x22VOICERECORDINGS.SENTIMENT_SELECTED\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x22\x20ng-click=\x22vm.deleteSelectedVoiceRecordings($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20VOICERECORDING\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm.query.sort\x22\x20md-on-reorder=\x22vm.getVoiceRecordings\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22type\x22>{{\x20\x27VOICE.TYPE\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22uniqueid\x22>{{\x20\x27VOICE.UNIQUEID\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22exten\x22>{{\x20\x27VOICE.CALLED\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22connectedlinenum\x22>{{\x20\x27VOICE.CONNECTED\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22queue\x22>{{\x20\x27VOICE.QUEUE\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22membername\x22>{{\x20\x27VOICE.AGENT\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22audio\x22>{{\x20\x27VOICE.AUDIO\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22userDisposition\x22>{{\x20\x27VOICE.DISPOSITION\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22sentiment\x22\x20ng-if=\x22vm.license.ai\x22\x20>{{\x20\x27VOICE.SENTIMENTANALYSIS\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-hide=\x22vm.voiceRecordings.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20colspan=\x2214\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22voiceRecording\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22voiceRecording\x20in\x20vm.voiceRecordings.rows\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22!voiceRecording.userpic\x20&&\x20(vm.table\x20==\x20\x27users\x27\x20||\x20vm.table\x20==\x20\x27agents\x27)\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{voiceRecording.name}}\x22\x20ng-src=\x22assets/images/avatars/profile.png\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22type\x20\x22\x20>{{voiceRecording.type}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(voiceRecording,\x20ev)\x20:\x20vm.createOrEditVoiceRecording($event,\x20voiceRecording)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22uniqueid\x20\x22\x20>{{voiceRecording.uniqueid}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22calleridnum\x20\x22\x20>{{voiceRecording.calleridnum}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22exten\x20\x22\x20>{{voiceRecording.exten}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22connectedlinenum\x20\x22\x20>{{voiceRecording.connectedlinenum}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22queue\x20\x22\x20>{{voiceRecording.queue}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22membername\x20\x22\x20>{{voiceRecording.membername}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22rating\x20\x22><md-icon\x20md-font-icon=\x22icon-star\x22\x20style=\x22color:red\x22\x20ng-show=\x22voiceRecording.rating\x22\x20ng-repeat=\x22rating\x20in\x20[1,2,3,4,5]\x20|\x20limitTo:voiceRecording.rating\x22></md-icon><span\x20ng-hide=\x22voiceRecording.rating\x22\x20translate=\x22VOICE.NO_RATING\x22>No\x20rating</span></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20class=\x22audio\x20\x22\x20ng-switch=\x22voiceRecording.format\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(voiceRecording,\x20ev)\x20:\x20vm.createOrEditVoiceRecording($event,\x20voiceRecording)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22createdAt\x20\x22>{{voiceRecording.createdAt\x20|\x20date:\x27medium\x27\x20}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(voiceRecording,\x20ev)\x20:\x20vm.createOrEditVoiceRecording($event,\x20voiceRecording)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22userDisposition\x20\x22\x20>{{voiceRecording.userDisposition}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22transcribeStatus\x20\x22\x20\x20ng-if=\x22vm.license.ai\x22\x20>{{\x20\x27VOICE.TRANSCRIBESTATUS_\x27\x20+\x20voiceRecording.transcribeStatus\x20|\x20translate}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22sentiment\x20\x22\x20\x20ng-if=\x22vm.license.ai\x22\x20>{{voiceRecording.sentiment}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20VoiceRecording\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-item\x20\x20ng-if=\x22voiceRecording.transcribeStatus\x20==\x20\x27NEW\x27\x20&&\x20vm.license.ai\x22\x20\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.runtranscriberuntranscribesentiment(voiceRecording,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RunTranscribe\x20VoiceRecording\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22VOICE.RUNTRANSCRIBESENTIMENT_VOICERECORDING\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RunTranscribeSentiment\x20VoiceRecording\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-item\x20\x20ng-if=\x22voiceRecording.transcribeStatus\x20==\x20\x27COMPLETED\x27\x20&&\x20voiceRecording.sentiment\x20==\x20null\x20&&\x20vm.license.ai\x22\x20\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.runsentimentruntranscribesentiment(voiceRecording,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22VOICE.RUNSENTIMENT_VOICERECORDING\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RunSentiment\x20VoiceRecording\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-menu-item\x20\x20ng-if=\x22voiceRecording.transcribeStatus\x20==\x20\x27COMPLETED\x27\x20&&\x20vm.license.ai\x22\x20\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22VOICE.DOWNLOADTRANSCRIBE_VOICERECORDING\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.downloadfile2(voiceRecording,\x20$event\x20\x20,\x20\x27voice/recordings\x27\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Download\x20VoiceRecording\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deleteconfirm(voiceRecording,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20VoiceRecording\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27VOICE.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27VOICE.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27VOICE.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm.query.page\x22\x20md-total=\x22{{vm.voiceRecordings.count}}\x22\x20md-on-paginate=\x22vm.getVoiceRecordings\x22\x20md-page-select></md-table-pagination>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20VOICERECORDING\x20TABLE\x20-->\x0a','app/main/apps/whatsapp/views/realtime/agents/view.html','\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22\x20translate=\x22WHATSAPP.AGENTS\x22>Agents</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20value=\x22pause\x22>{{\x20\x27WHATSAPP.PAUSE\x27\x20|\x20translate\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20value=\x22busy\x22>{{\x20\x27WHATSAPP.BUSY\x27\x20|\x20translate\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-option\x20value=\x22idle\x22>{{\x20\x27WHATSAPP.IDLE\x27\x20|\x20translate\x20}}</md-option>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20class=\x22bv\x20text-center\x22\x20colspan=\x225\x22>{{\x20\x27WHATSAPP.AGENT\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.NAME\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.STATUS\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.PAUSE_TIME\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.TOOLTIP_SCREENRECORDING_OFF\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22WHATSAPP.LOGOUT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22WHATSAPP.AGENTADD_QUEUE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22WHATSAPP.SCREENRECORDING\x22>Screen\x20Recording\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22WHATSAPP.START_SCREENRECORDING\x22>Start\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22WHATSAPP.STOP_SCREENRECORDING\x22>Stop\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22WHATSAPP.PAUSE\x22>Pause</md-button>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22WHATSAPP.DEFAULT_PAUSE\x22>Default\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22WHATSAPP.UNPAUSE\x22>\x0a','\x20\x20\x20\x20md-label=\x22{page:\x20\x27{{\x27WHATSAPP.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27WHATSAPP.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27WHATSAPP.OF\x27\x20|\x20translate}}\x27}\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22\x20translate=\x22WHATSAPP.QUEUES\x22>Queues</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22name\x22>{{\x20\x27WHATSAPP.NAME\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x20\x27WHATSAPP.PAUSED\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column>{{\x20\x27WHATSAPP.READY\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22WHATSAPP.NO_AVAILABLE_INFO\x22>No\x20Available\x20Info</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20aria-label=\x22More\x22\x20translate\x20translate-attr-aria-label=\x22WHATSAPP.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.createOrEditWhatsappQueue($event,\x20vm.queues[value])\x22\x20translate=\x22WHATSAPP.EDIT_QUEUE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.agentAdd($event,\x20vm.queues[value])\x22\x20translate=\x22WHATSAPP.AGENTSADD_QUEUE\x22>\x0a','<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27WHATSAPP.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27WHATSAPP.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27WHATSAPP.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm.query.page\x22\x20md-total=\x22{{vm.count}}\x22\x20md-on-paginate=\x22vm.getQueues\x22\x20md-page-select></md-table-pagination>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22WHATSAPP.AGENTS\x22>Agents</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22WHATSAPP.QUEUES\x22>Queues</span>\x0a','app/main/apps/whatsapp/views/whatsappAccounts/create/dialog.html','<md-dialog\x20class=\x22whatsappAccount-dialog\x22\x20aria-label=\x22New\x20WhatsappAccount\x22>\x0a','\x20\x20\x20\x20<form\x20name=\x22whatsappAccountForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22WHATSAPP.NAME\x22>Name</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22name\x22\x20\x20ng-model=\x22vm.whatsappAccount.name\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22WHATSAPP.HELP.NAME\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22whatsappAccountForm[\x27name\x27].$error\x22\x20ng-show=\x22whatsappAccountForm[\x27name\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22WHATSAPP.ERRORS.NAME_REQUIRED\x22>Name\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22WHATSAPP.KEY\x22>key</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22key\x22\x20\x20ng-model=\x22vm.whatsappAccount.key\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22whatsappAccountForm[\x27key\x27].$error\x22\x20ng-show=\x22whatsappAccountForm[\x27key\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22WHATSAPP.ERRORS.KEY_REQUIRED\x22>key\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22WHATSAPP.ERRORS.KEY_MAX_LENGTH\x22\x20translate-values=\x27{max:\x205}\x27>key\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x205</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22WHATSAPP.LIST\x22>List</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22ListId\x22\x20ng-model=\x22vm.whatsappAccount.ListId\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22WHATSAPP.HELP.LIST\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22WHATSAPP.ERRORS.LIST_REQUIRED\x22>List\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22WHATSAPP.MOTIONPROXY\x22>MotionProxy</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22url\x22\x20name=\x22remote\x22\x20\x20ng-model=\x22vm.whatsappAccount.remote\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22WHATSAPP.HELP.MOTIONPROXY\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22whatsappAccountForm[\x27remote\x27].$error\x22\x20ng-show=\x22whatsappAccountForm[\x27remote\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22WHATSAPP.ERRORS.MOTIONPROXY_MAX_LENGTH\x22\x20translate-values=\x27{max:\x20255}\x27>MotionProxy\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22WHATSAPP.TYPE\x22>Type</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22type\x22\x20ng-model=\x22vm.whatsappAccount.type\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22whatsappAccountForm[\x27type\x27].$error\x22\x20ng-show=\x22whatsappAccountForm[\x27type\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22WHATSAPP.ERRORS.TYPE_REQUIRED\x22>Type\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.whatsappAccount.type\x20==\x20\x27twilio\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22WHATSAPP.ACCOUNTSID\x22>AccountSID</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22accountSid\x22\x20\x20ng-model=\x22vm.whatsappAccount.accountSid\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22whatsappAccountForm[\x27accountSid\x27].$error\x22\x20ng-show=\x22whatsappAccountForm[\x27accountSid\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22WHATSAPP.ERRORS.ACCOUNTSID_REQUIRED\x22>AccountSID\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22WHATSAPP.AUTHTOKEN\x22>AuthToken</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22authToken\x22\x20\x20ng-model=\x22vm.whatsappAccount.authToken\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22whatsappAccountForm[\x27authToken\x27].$error\x22\x20ng-show=\x22whatsappAccountForm[\x27authToken\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22WHATSAPP.ERRORS.AUTHTOKEN_REQUIRED\x22>AuthToken\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22phone\x22\x20\x20ng-model=\x22vm.whatsappAccount.phone\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22whatsappAccountForm[\x27phone\x27].$error\x22\x20ng-show=\x22whatsappAccountForm[\x27phone\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22WHATSAPP.ERRORS.PHONE_REQUIRED\x22>phone\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22WHATSAPP.DESCRIPTION\x22>Description</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22description\x22\x20\x20ng-model=\x22vm.whatsappAccount.description\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22WHATSAPP.ERRORS.DESCRIPTION_REQUIRED\x22>Description\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20!vm.newWhatsappAccount\x22\x20ng-click=\x22vm.saveWhatsappAccount()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22whatsappAccountForm.$invalid\x20||\x20whatsappAccountForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22WHATSAPP.SAVE\x22\x20translate-attr-aria-label=\x22WHATSAPP.SAVE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.newWhatsappAccount\x22\x20ng-click=\x22vm.addNewWhatsappAccount()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22whatsappAccountForm.$invalid\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22WHATSAPP.ADD_WHATSAPPACCOUNT\x22\x20translate-attr-aria-label=\x22WHATSAPP.ADD_WHATSAPPACCOUNT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x20&&\x20!vm.newWhatsappAccount\x22\x20ng-click=\x22vm.deleteWhatsappAccount($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip><span\x20translate=\x22WHATSAPP.DELETE\x22>DELETE</span></md-tooltip>\x0a','<md-dialog\x20class=\x22whatsappAccount-dialog\x22\x20aria-label=\x22whatsappAccount\x22\x20ng-init=\x22vm.onInit()\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h2\x20translate=\x22WHATSAPP.AGENTADD_WHATSAPPACCOUNT\x22>Add\x20Agent\x20to\x20whatsappAccount</h2>\x0a','app/main/apps/whatsapp/views/whatsappAccounts/edit/apps/agent/dialog.html','\x20\x20\x20\x20<form\x20name=\x22whatsappAccountFormApp\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22WHATSAPP.AGENT\x22>Agent</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22whatsappAccountFormApp[\x27agent\x27].$error\x22\x20ng-show=\x22whatsappAccountFormApp[\x27agent\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22WHATSAPP.ERRORS.AGENT_REQUIRED\x22>Agent\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22WHATSAPP.TIMEOUT\x22>Timeout</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22whatsappAccountFormApp[\x27timeout\x27].$error\x22\x20ng-show=\x22whatsappAccountFormApp[\x27timeout\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22WHATSAPP.ERRORS.TIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO\x22>Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>2147483</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-click=\x22vm.saveWhatsappAccountApp()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22whatsappAccountFormApp.$invalid\x20||\x20whatsappAccountFormApp.$pristine\x22\x0a','app/main/apps/whatsapp/views/whatsappAccounts/edit/apps/amazonlex/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22WHATSAPP.ACCESSKEYID\x22>accesskeyid</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22whatsappAccountFormApp[\x27accesskeyid\x27].$error\x22\x20ng-show=\x22whatsappAccountFormApp[\x27accesskeyid\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22WHATSAPP.ERRORS.ACCESSKEYID_REQUIRED\x22>accesskeyid\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22WHATSAPP.SECRETACCESSKEY\x22>secretaccesskey</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22whatsappAccountFormApp[\x27secretaccesskey\x27].$error\x22\x20ng-show=\x22whatsappAccountFormApp[\x27secretaccesskey\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22WHATSAPP.LEXREGION\x22>lexregion</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22whatsappAccountFormApp[\x27lexregion\x27].$error\x22\x20ng-show=\x22whatsappAccountFormApp[\x27lexregion\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22WHATSAPP.BOTNAME\x22>botname</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22whatsappAccountFormApp[\x27botname\x27].$error\x22\x20ng-show=\x22whatsappAccountFormApp[\x27botname\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22WHATSAPP.WELCOMEMESSAGE\x22>welcomemessage</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22whatsappAccountFormApp[\x27welcomemessage\x27].$error\x22\x20ng-show=\x22whatsappAccountFormApp[\x27welcomemessage\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22WHATSAPP.ERRORS.WELCOMEMESSAGE_REQUIRED\x22>welcomemessage\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22WHATSAPP.ERRORS.WELCOMEMESSAGE_MAX_LENGTH\x22\x20translate-values=\x27{max:\x20255}\x27>welcomemessage\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255</span>\x0a','app/main/apps/whatsapp/views/whatsappAccounts/edit/apps/autoreply/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22WHATSAPP.TIMES\x22>times</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22whatsappAccountFormApp[\x27times\x27].$error\x22\x20ng-show=\x22whatsappAccountFormApp[\x27times\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22WHATSAPP.TEXT\x22>Text</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22WHATSAPP.ERRORS.TEXT_REQUIRED\x22>Text\x20field\x20is\x20required</span>\x0a','app/main/apps/whatsapp/views/whatsappAccounts/edit/apps/close/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22WHATSAPP.DISPOSITION\x22>Disposition</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22WHATSAPP.KEY\x22>Key</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22whatsappAccountFormApp[\x27key\x27].$error\x22\x20ng-show=\x22whatsappAccountFormApp[\x27key\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22WHATSAPP.ERRORS.KEY_REQUIRED\x22>Key\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22whatsappAccountFormApp[\x27language\x27].$error\x22\x20ng-show=\x22whatsappAccountFormApp[\x27language\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22WHATSAPP.ERRORS.LANGUAGE_REQUIRED\x22>language\x20field\x20is\x20required</span>\x0a','app/main/apps/whatsapp/views/whatsappAccounts/edit/apps/gotoif/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22WHATSAPP.CONDITION\x22>Condition</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22WHATSAPP.ERRORS.CONDITION_REQUIRED\x22>Condition\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22whatsappAccountFormApp[\x27truepriority\x27].$error\x22\x20ng-show=\x22whatsappAccountFormApp[\x27truepriority\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22WHATSAPP.ERRORS.TRUEPRIORITY_REQUIRED\x22>truepriority\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22WHATSAPP.ERRORS.TRUEPRIORITY_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>truepriority\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>1</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22whatsappAccountFormApp[\x27falsepriority\x27].$error\x22\x20ng-show=\x22whatsappAccountFormApp[\x27falsepriority\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22WHATSAPP.ERRORS.FALSEPRIORITY_REQUIRED\x22>falsepriority\x20field\x20is\x20required</span>\x0a','app/main/apps/whatsapp/views/whatsappAccounts/edit/apps/gotop/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22WHATSAPP.PRIORITY\x22>Priority</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22whatsappAccountFormApp[\x27priority\x27].$error\x22\x20ng-show=\x22whatsappAccountFormApp[\x27priority\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22WHATSAPP.ERRORS.PRIORITY_REQUIRED\x22>Priority\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22WHATSAPP.ERRORS.PRIORITY_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>Priority\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>0</span>\x0a','app/main/apps/whatsapp/views/whatsappAccounts/edit/apps/noop/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22WHATSAPP.VALUE\x22>Value</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22WHATSAPP.ERRORS.VALUE_REQUIRED\x22>Value\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22WHATSAPP.QUEUE\x22>Queue</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22whatsappAccountFormApp[\x27queue\x27].$error\x22\x20ng-show=\x22whatsappAccountFormApp[\x27queue\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22WHATSAPP.ERRORS.TIMEOUT_REQUIRED\x22>Timeout\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22WHATSAPP.ERRORS.TIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>0</span>\x0a','app/main/apps/whatsapp/views/whatsappAccounts/edit/apps/system/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22WHATSAPP.ERRORS.COMMAND_REQUIRED\x22>Command\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22whatsappAccountFormApp[\x27variable\x27].$error\x22\x20ng-show=\x22whatsappAccountFormApp[\x27variable\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22WHATSAPP.ERRORS.VARIABLE_REQUIRED\x22>Variable\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22WHATSAPP.TAG\x22>Tag</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22whatsappAccountFormApp[\x27tag\x27].$error\x22\x20ng-show=\x22whatsappAccountFormApp[\x27tag\x27].$touched\x22\x20role=\x22alert\x22>\x0a','app/main/apps/whatsapp/views/whatsappAccounts/edit/view.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.gotoWhatsappAccounts()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22WHATSAPP.GO_TO_WHATSAPPACCOUNTS\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22whatsappAccount-image\x22\x20hide-xs>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.whatsappAccount.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22vm.whatsappAccount.name\x22>{{vm.whatsappAccount.name}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22WHATSAPP.CREATED_AT\x22></span>\x20<span>{{vm.whatsappAccount.createdAt\x20|\x20date:\x27medium\x27}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip><span\x20translate=\x22WHATSAPP.AGENTADD_WHATSAPPACCOUNT\x22></span></md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-click=\x22vm.saveWhatsappAccount()\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20ng-disabled=\x22(generalForm.$invalid)\x20||\x20(notificationForm.$invalid)\x20||\x20(transferForm.$invalid)\x20||\x20(proxyForm.$invalid)\x20||\x20(dispositionForm.$invalid)\x20||\x20(whatsappDispositionsForm.$invalid)\x20||\x20(whatsappCannedAnswersForm.$invalid)\x20||\x20(actionsForm.$invalid)\x20||\x20(interactionsForm.$invalid)\x22\x20translate=\x22WHATSAPP.SAVE\x22\x20translate-attr-aria-label=\x22WHATSAPP.SAVE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22WHATSAPP.SETTINGS\x22>SETTINGS</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22whatsappAccount-detail-form-container\x20general\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22WHATSAPP.PHONE\x22>phone</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22WHATSAPP.RECEIVEURL\x22>receiveUrl</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-button\x20md-fab\x20md-mini\x20md-primary\x22\x20ngclipboard\x20data-clipboard-target=\x22#copytoclipboard-receiveUrl\x22\x20ngclipboard-success=\x22vm.alert({title:\x20\x27copied\x20to\x20clipboard\x27,\x20msg:\x20e.text});\x22\x20ngclipboard-error=\x22vm.alert({title:\x20\x27error\x27,\x20msg:\x20\x27copy\x20to\x20clipboard\x20failed\x27});\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20class=\x22md-input\x22\x20type=\x22text\x22\x20id=\x22copytoclipboard-receiveUrl\x22\x20name=\x22receiveUrl\x22\x20\x20ng-value=\x22vm.whatsappAccount.remote\x20+\x20\x27/api/whatsapp/accounts/\x27\x20+\x20vm.whatsappAccount.id\x20+\x20\x27/notify?token=\x27\x20+\x20vm.whatsappAccount.token\x22\x20\x20ng-readonly=\x22true\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22WHATSAPP.HELP.RECEIVEURL\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.whatsappAccount.type\x20==\x20\x27twillo\x27\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20class=\x22md-input\x22\x20type=\x22text\x22\x20id=\x22copytoclipboard-deliveryReportUrl\x22\x20name=\x22deliveryReportUrl\x22\x20\x20ng-value=\x22vm.whatsappAccount.remote\x20+\x20\x27/api/whatsapp/accounts/\x27\x20+\x20vm.whatsappAccount.id\x20+\x20\x27/status?token=\x27\x20+\x20vm.whatsappAccount.token\x20+\x20(vm.whatsappAccount.type\x20==\x20\x27csc\x27\x20?\x20\x27&message-id={message-id}&state={state}\x27\x20:\x20\x27\x27)\x22\x20\x20ng-readonly=\x22true\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22WHATSAPP.HELP.DELIVERYREPORTURL\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22WHATSAPP.ERRORS.WAITFORTHEASSIGNEDAGENT_REQUIRED\x22>WaitForTheAssignedAgent\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22WHATSAPP.ERRORS.WAITFORTHEASSIGNEDAGENT_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>WaitForTheAssignedAgent\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>1</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22WHATSAPP.ERRORS.WAITFORTHEASSIGNEDAGENT_MUST_BE_LESS_THAN_OR_EQUAL_TO\x22>WaitForTheAssignedAgent\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>2147483</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22whatsappAccount-detail-form-container\x20notification\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.whatsappAccount.notificationSound\x22\x20aria-label=\x22notificationSound\x22\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20><span\x20translate=\x22WHATSAPP.NOTIFICATIONSOUND\x22>notificationSound</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20class=\x22md-caption\x20grey-fg\x22\x20translate=\x22WHATSAPP.NOTIFICATIONTEMPLATE\x22>notificationTemplate</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22whatsappAccount-detail-form-container\x20transfer\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22WHATSAPP.TRANSFER\x22>TRANSFER</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.whatsappAccount.queueTransfer\x22\x20aria-label=\x22queueTransfer\x22\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20><span\x20translate=\x22WHATSAPP.QUEUETRANSFER\x22>queueTransfer</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.whatsappAccount.queueTransfer\x20==\x20true\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22WHATSAPP.QUEUETRANSFERTIMEOUT\x22>queueTransferTimeout</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22queueTransferTimeout\x22\x20\x20ng-model=\x22vm.whatsappAccount.queueTransferTimeout\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22WHATSAPP.ERRORS.QUEUETRANSFERTIMEOUT_REQUIRED\x22>queueTransferTimeout\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22WHATSAPP.ERRORS.QUEUETRANSFERTIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>queueTransferTimeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>1</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22WHATSAPP.ERRORS.QUEUETRANSFERTIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO\x22>queueTransferTimeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>2147483</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.whatsappAccount.agentTransfer\x22\x20aria-label=\x22agentTransfer\x22\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20><span\x20translate=\x22WHATSAPP.AGENTTRANSFER\x22>agentTransfer</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.whatsappAccount.agentTransfer\x20==\x20true\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22WHATSAPP.AGENTTRANSFERTIMEOUT\x22>agentTransferTimeout</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22agentTransferTimeout\x22\x20\x20ng-model=\x22vm.whatsappAccount.agentTransferTimeout\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22WHATSAPP.ERRORS.AGENTTRANSFERTIMEOUT_REQUIRED\x22>agentTransferTimeout\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22WHATSAPP.ERRORS.AGENTTRANSFERTIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>agentTransferTimeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>1</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22WHATSAPP.ERRORS.AGENTTRANSFERTIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO\x22>agentTransferTimeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>2147483</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22WHATSAPP.ADVANCED\x22>ADVANCED</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22whatsappAccount-detail-form-container\x20proxy\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22h2\x20secondary-text\x22\x20translate=\x22WHATSAPP.PROXY\x22>PROXY</div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22WHATSAPP.ERRORS.MOTIONPROXY_REQUIRED\x22>MotionProxy\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22WHATSAPP.ERRORS.MOTIONPROXY_MUST_VALID_URL\x22>MotionProxy\x20must\x20be\x20a\x20valid\x20url\x20http://www.xcally.com</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22WHATSAPP.TOKEN\x22>token</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22token\x22\x20\x20ng-model=\x22vm.whatsappAccount.token\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22WHATSAPP.ERRORS.TOKEN_REQUIRED\x22>token\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22whatsappAccount-detail-form-container\x20disposition\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-switch\x20\x20ng-model=\x22vm.whatsappAccount.mandatoryDisposition\x22\x20aria-label=\x22MandatoryDisposition\x22\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20><span\x20translate=\x22WHATSAPP.MANDATORYDISPOSITION\x22>MandatoryDisposition</span></md-switch>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-input-container\x20\x20ng-if=\x22vm.whatsappAccount.mandatoryDisposition\x22\x20\x20class=\x22md-block\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22WHATSAPP.MANDATORYDISPOSITIONPAUSEID\x22>MandatoryDispositionPauseId</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22mandatoryDispositionPauseId\x22\x20ng-model=\x22vm.whatsappAccount.mandatoryDispositionPauseId\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22hint\x22><span\x20translate=\x22WHATSAPP.HELP.MANDATORYDISPOSITIONPAUSEID\x22></span></div>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22WHATSAPP.DISPOSITIONS\x22>DISPOSITIONS</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22whatsappAccount-detail-form-container\x20whatsappdispositions\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-controller=\x22WhatsappAccountWhatsappDispositionsController\x20as\x20vm_dc\x22\x20ng-init=\x22vm_dc.init(vm.whatsappAccount,\x20vm.crudPermissions)\x22>\x0a','\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-default\x22\x20ng-hide=\x22vm_dc.selectedWhatsappAccountWhatsappDispositions.length\x22>\x0a','\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22\x20translate=\x22WHATSAPP.WHATSAPPDISPOSITIONS\x22>WhatsappDispositions</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22vm_dc.crudPermissions.canEdit\x22\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm_dc.createOrEditWhatsappAccountWhatsappDisposition($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20whatsappDisposition\x22\x20translate\x20translate-attr-label=\x22WHATSAPP.ADD_WHATSAPPDISPOSITION\x22>\x0a','\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-accent\x22\x20ng-show=\x22vm_dc.selectedWhatsappAccountWhatsappDispositions.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22>{{vm_dc.selectedWhatsappAccountWhatsappDispositions.length}}\x20{{vm_dc.selectedWhatsappAccountWhatsappDispositions.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-icon-button\x22\x20ng-csv=\x22vm_dc.exportSelectedWhatsappAccountWhatsappDispositions\x22\x20csv-label=\x22true\x22\x20filename=\x22whatsappAccounts.csv\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22vm_dc.crudPermissions.canDelete\x22\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm_dc.deleteSelectedWhatsappAccountWhatsappDispositions($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22WHATSAPP.DELETE_SELECTED\x22>\x0a','\x20\x20\x20\x20\x20\x20<table\x20md-table\x20md-row-select\x20multiple\x20ng-model=\x22vm_dc.selectedWhatsappAccountWhatsappDispositions\x22\x20md-progress=\x22vm_dc.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm_dc.query.sort\x22\x20md-on-reorder=\x22vm_dc.getWhatsappAccountWhatsappDispositions\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.ID\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.NAME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.CREATED_AT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22whatsappDisposition\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22whatsappDisposition\x20in\x20vm_dc.whatsappAccountWhatsappDispositions.rows\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_dc.createOrEditWhatsappAccountWhatsappDisposition($event,\x20whatsappDisposition)\x22\x20\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{whatsappDisposition.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{whatsappDisposition.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_dc.createOrEditWhatsappAccountWhatsappDisposition($event,\x20whatsappDisposition)\x22\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20aria-label=\x22More\x22\x20translate\x20translate-attr-aria-label=\x22WHATSAPP.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20WhatsappDisposition\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm_dc.deleteConfirm(whatsappDisposition,\x20$event)\x22\x20translate=\x22WHATSAPP.DELETE_WHATSAPPDISPOSITION\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20WhatsappDisposition\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-if=\x22!vm_dc.whatsappAccountWhatsappDispositions.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22text-boxed-light\x22\x20translate=\x22WHATSAPP.NO_WHATSAPPDISPOSITION_AVAILABLE\x22>No\x20whatsappdisposition\x20available</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22WHATSAPP.CANNEDANSWERS\x22>CANNEDANSWERS</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22whatsappAccount-detail-form-container\x20whatsappcannedanswers\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-controller=\x22WhatsappAccountWhatsappCannedAnswersController\x20as\x20vm_dc\x22\x20ng-init=\x22vm_dc.init(vm.whatsappAccount,\x20vm.crudPermissions)\x22>\x0a','\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22\x20translate=\x22WHATSAPP.WHATSAPPCANNEDANSWERS\x22>WhatsappCannedAnswers</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20whatsappCannedAnswer\x22\x20translate\x20translate-attr-label=\x22WHATSAPP.ADD_WHATSAPPCANNEDANSWER\x22>\x0a','\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-accent\x22\x20ng-show=\x22vm_dc.selectedWhatsappAccountWhatsappCannedAnswers.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22>{{vm_dc.selectedWhatsappAccountWhatsappCannedAnswers.length}}\x20{{vm_dc.selectedWhatsappAccountWhatsappCannedAnswers.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-icon-button\x22\x20ng-csv=\x22vm_dc.exportSelectedWhatsappAccountWhatsappCannedAnswers\x22\x20csv-label=\x22true\x22\x20filename=\x22whatsappAccounts.csv\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22vm_dc.crudPermissions.canDelete\x22\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm_dc.deleteSelectedWhatsappAccountWhatsappCannedAnswers($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.KEY\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.VALUE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.DESCRIPTION\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22whatsappCannedAnswer\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22whatsappCannedAnswer\x20in\x20vm_dc.whatsappAccountWhatsappCannedAnswers.rows\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{whatsappCannedAnswer.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_dc.createOrEditWhatsappAccountWhatsappCannedAnswer($event,\x20whatsappCannedAnswer)\x22\x20\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{whatsappCannedAnswer.description}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm_dc.createOrEditWhatsappAccountWhatsappCannedAnswer($event,\x20whatsappCannedAnswer)\x22\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20whatsappCannedAnswer.createdAt\x20|\x20formatdate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm_dc.createOrEditWhatsappAccountWhatsappCannedAnswer($event,\x20whatsappCannedAnswer)\x22\x20translate=\x22WHATSAPP.EDIT_WHATSAPPCANNEDANSWER\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20WhatsappCannedAnswer\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-if=\x22!vm_dc.whatsappAccountWhatsappCannedAnswers.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22text-boxed-light\x22\x20translate=\x22WHATSAPP.NO_WHATSAPPCANNEDANSWER_AVAILABLE\x22>No\x20whatsappcannedanswer\x20available</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22WHATSAPP.ACTIONS\x22>ACTIONS</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<p\x20class=\x22text-truncate\x22\x20translate=\x22WHATSAPP.{{(a.alias\x20||\x20a.appType)\x20|\x20uppercase}}\x22>{{a.alias\x20||\x20a.appType}}</p>\x0a','\x20\x20\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-default\x22\x20ng-hide=\x22vm_ac.selectedWhatsappAccountApps.length\x22>\x0a','\x20\x20\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-accent\x22\x20ng-show=\x22vm_ac.selectedWhatsappAccountApps.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22>{{vm_ac.selectedWhatsappAccountApps.length}}\x20{{vm_ac.selectedWhatsappAccountApps.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22WHATSAPP.DELETE_SELECTED\x22>\x0a','\x20\x20\x20\x20\x20\x20<table\x20md-table\x20\x20md-row-select\x20multiple\x20ng-model=\x22vm_ac.selectedWhatsappAccountApps\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22app\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22app\x20in\x20vm_ac.whatsappAccountApps.rows\x20|\x20filter:\x20vm_ac.query.filter\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-click=\x22vm_ac.editWhatsappAccountApp($event,\x20$index)\x22><span>{{app.priority}}</span></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-click=\x22vm_ac.editWhatsappAccountApp($event,\x20$index)\x22>{{app.app.toLowerCase()\x20===\x20\x27agi\x27\x20?\x20\x27Cally-Square\x27\x20:\x20app.app\x20|\x20ucfirst}}<span\x20ng-if=\x22app.appType.toLowerCase()\x20===\x20\x27custom\x27\x22>*</span></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-click=\x22vm_ac.editWhatsappAccountApp($event,\x20$index)\x22><span\x20class=\x22text-truncate\x22\x20style=\x22width:200px\x22>{{app.appdata}}</span></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22WHATSAPP.INTERACTIONS\x22>INTERACTIONS</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22whatsappAccount-detail-form-container\x20interactions\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-controller=\x22WhatsappAccountInteractionsController\x20as\x20vm_dc\x22\x20ng-init=\x22vm_dc.init(vm.whatsappAccount,\x20vm.crudPermissions)\x22>\x0a','\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-default\x22\x20ng-hide=\x22vm_dc.selectedWhatsappAccountInteractions.length\x22>\x0a','\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22\x20translate=\x22WHATSAPP.INTERACTIONS\x22>Interactions</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm_dc.getWhatsappAccountInteractions()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22refresh\x20Interactions\x22\x20translate\x20translate-attr-label=\x22WHATSAPP.REFRESH_INTERACTIONS\x22>\x0a','\x20\x20<md-toolbar\x20class=\x22md-table-toolbar\x20md-accent\x22\x20ng-show=\x22vm_dc.selectedWhatsappAccountInteractions.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22md-subhead\x22>{{vm_dc.selectedWhatsappAccountInteractions.length}}\x20{{vm_dc.selectedWhatsappAccountInteractions.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-icon-button\x22\x20ng-csv=\x22vm_dc.exportSelectedWhatsappAccountInteractions\x22\x20csv-label=\x22true\x22\x20filename=\x22whatsappAccounts.csv\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-if=\x22vm_dc.crudPermissions.canDelete\x22\x20class=\x22md-icon-button\x22\x20ng-click=\x22vm_dc.deleteSelectedWhatsappAccountInteractions($event)\x22\x0a','\x20\x20\x20\x20\x20\x20<table\x20md-table\x20md-row-select\x20multiple\x20ng-model=\x22vm_dc.selectedWhatsappAccountInteractions\x22\x20md-progress=\x22vm_dc.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm_dc.query.sort\x22\x20md-on-reorder=\x22vm_dc.getWhatsappAccountInteractions\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.STARTEDAT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.STATUS\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.AGENT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.TAGS\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22interaction\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22interaction\x20in\x20vm_dc.whatsappAccountInteractions.rows\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.CLOSED\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{interaction.Owner.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm_dc.spywhatsappInteraction($event,\x20interaction)\x22\x20translate=\x22WHATSAPP.SPYINTERACTION\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-primary\x22\x20ng-click=\x22vm_dc.whatsappInteractionDownload(interaction,\x20$event)\x22\x20translate=\x22WHATSAPP.DOWNLOAD_INTERACTION\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm_dc.deleteConfirm(interaction,\x20$event)\x22\x20translate=\x22WHATSAPP.DELETE_INTERACTION\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20ng-if=\x22!vm_dc.whatsappAccountInteractions.rows.length\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22text-boxed-light\x22\x20translate=\x22WHATSAPP.NO_INTERACTION_AVAILABLE\x22>No\x20interaction\x20available</span>\x0a','\x20\x20\x20\x20<md-table-pagination\x20md-label=\x22{page:\x20\x27{{\x27WHATSAPP.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27WHATSAPP.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27WHATSAPP.OF\x27\x20|\x20translate}}\x27}\x22\x20md-limit=\x22vm_dc.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm_dc.query.page\x22\x20md-total=\x22{{vm_dc.whatsappAccountInteractions.count}}\x22\x20md-on-paginate=\x22vm_dc.getWhatsappAccountInteractions\x22\x20md-page-select></md-table-pagination>\x0a','app/main/apps/whatsapp/views/whatsappAccounts/edit/whatsappCannedAnswers/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22\x22\x20name=\x22key\x22\x20\x20ng-model=\x22vm.whatsappCannedAnswer.key\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22whatsappCannedAnswerForm[\x27key\x27].$error\x22\x20ng-show=\x22whatsappCannedAnswerForm[\x27key\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<textarea\x20name=\x22value\x22\x20ng-model=\x22vm.whatsappCannedAnswer.value\x22\x20\x20required\x20\x20></textarea>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22description\x22\x20\x20ng-model=\x22vm.whatsappCannedAnswer.description\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22whatsappCannedAnswerForm[\x27description\x27].$error\x22\x20ng-show=\x22whatsappCannedAnswerForm[\x27description\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22whatsappCannedAnswerForm.$invalid\x20||\x20whatsappCannedAnswerForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.newWhatsappCannedAnswer\x22\x20ng-click=\x22vm.addNewWhatsappCannedAnswer()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22whatsappCannedAnswerForm.$invalid\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22WHATSAPP.ADD_WHATSAPPCANNEDANSWER\x22\x20translate-attr-aria-label=\x22WHATSAPP.ADD_WHATSAPPCANNEDANSWER\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x20&&\x20!vm.newWhatsappCannedAnswer\x22\x20ng-click=\x22vm.deleteWhatsappCannedAnswer($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22WHATSAPP.DELETE\x22>\x0a','<md-dialog\x20class=\x22whatsappDisposition-dialog\x22\x20aria-label=\x22New\x20WhatsappDisposition\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22\x22\x20name=\x22name\x22\x20\x20ng-model=\x22vm.whatsappDisposition.name\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22whatsappDispositionForm[\x27name\x27].$error\x22\x20ng-show=\x22whatsappDispositionForm[\x27name\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22whatsappDispositionForm.$invalid\x20||\x20whatsappDispositionForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.newWhatsappDisposition\x22\x20ng-click=\x22vm.addNewWhatsappDisposition()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22whatsappDispositionForm.$invalid\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20WHATSAPPDISPOSITION\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x20&&\x20!vm.newWhatsappDisposition\x22\x20ng-click=\x22vm.deleteWhatsappDisposition($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x0a','<div\x20id=\x22whatsappAccounts\x22\x20class=\x22page-layout\x20simple\x20left-sidenav\x20inner-sidenav\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-icon\x20md-font-icon=\x22icon-whatsapp\x22\x20class=\x22s24\x22></md-icon>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22logo-text\x22\x20translate=\x22WHATSAPP.WHATSAPPACCOUNTS\x22>WhatsappAccounts</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20id=\x22search\x22\x20placeholder=\x22Search\x20for\x20anyone\x22\x20type=\x22text\x22\x20ng-model=\x22vm.query.filter\x22\x20ng-model-options=\x22{\x20debounce:\x201000\x20}\x22\x20translate\x20translate-attr-placeholder=\x22WHATSAPP.SEARCH_FOR_ANYONE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22close-button-wrapper\x22\x20ng-click=\x22vm.selectedWhatsappAccounts\x20=[]\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>{{vm.selectedWhatsappAccounts.length}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22WHATSAPP.SELECTED\x22>selected</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22WHATSAPP.MULTI_SELECT_TOGGLE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deselectWhatsappAccounts()\x22\x20translate=\x22WHATSAPP.SELECT_NONE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x22\x20ng-click=\x22vm.deleteSelectedWhatsappAccounts($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22WHATSAPP.DELETE_SELECTED\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20WHATSAPPACCOUNT\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<table\x20md-table\x20\x20md-row-select\x20multiple\x20\x20\x20ng-model=\x22vm.selectedWhatsappAccounts\x22\x20md-progress=\x22vm.promise\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<thead\x20md-head\x20md-order=\x22vm.query.sort\x22\x20md-on-reorder=\x22vm.getWhatsappAccounts\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22key\x22>{{\x20\x27WHATSAPP.KEY\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22ListId\x22>{{\x20\x27WHATSAPP.LIST\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22type\x22>{{\x20\x27WHATSAPP.TYPE\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<th\x20md-column\x20md-order-by=\x22phone\x22>{{\x20\x27WHATSAPP.PHONE\x27\x20|\x20translate\x20}}</th>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22WHATSAPP.NO_AVAILABLE_INFO\x22>No\x20Available\x20Info</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20md-row\x20md-select=\x22whatsappAccount\x22\x20md-select-id=\x22id\x22\x20ng-repeat=\x22whatsappAccount\x20in\x20vm.whatsappAccounts.rows\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20md-cell\x20ng-if=\x22!whatsappAccount.userpic\x20&&\x20(vm.table\x20==\x20\x27users\x27\x20||\x20vm.table\x20==\x20\x27agents\x27)\x22><img\x20class=\x22avatar\x22\x20alt=\x22{{whatsappAccount.name}}\x22\x20ng-src=\x22assets/images/avatars/profile.png\x22\x20/></td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22id\x20\x22\x20>{{whatsappAccount.id}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22name\x20\x22\x20>{{whatsappAccount.name}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(whatsappAccount,\x20ev)\x20:\x20vm.createOrEditWhatsappAccount($event,\x20whatsappAccount)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22ListId\x20\x22>{{\x20(vm.lists\x20|\x20filter\x20:\x20{\x27id\x27:whatsappAccount.ListId}\x20:\x20true)[0].name\x20}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20ng-click=\x22vm.crudPermissions.readOnly\x20||\x20(vm.crudPermissions.canDelete\x20&&\x20!vm.crudPermissions.canEdit)\x20?\x20vm.editstate(whatsappAccount,\x20ev)\x20:\x20vm.createOrEditWhatsappAccount($event,\x20whatsappAccount)\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22phone\x20\x22\x20>{{whatsappAccount.phone}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22description\x20\x22\x20>{{whatsappAccount.description}}</td>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22WHATSAPP.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20WhatsappAccount\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.interactionsgoto(whatsappAccount,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22WHATSAPP.INTERACTIONS_WHATSAPPACCOUNT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.agentadddialog(whatsappAccount,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AgentAdd\x20WhatsappAccount\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.deleteconfirm(whatsappAccount,\x20$event\x20\x20\x20\x20)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22WHATSAPP.DELETE_WHATSAPPACCOUNT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20WhatsappAccount\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20/\x20WHATSAPPACCOUNT\x20TABLE\x20-->\x0a','\x20\x20\x20\x20<md-button\x20ng-if=\x22vm.crudPermissions.canEdit\x22\x20class=\x22md-fab\x20md-accent\x22\x20id=\x22add-whatsappAccount-button\x22\x20ng-click=\x22vm.createOrEditWhatsappAccount($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20whatsappAccount\x22\x20translate\x20translate-attr-aria-label=\x22WHATSAPP.ADD_WHATSAPPACCOUNT\x22>\x0a','\x20\x20\x20\x20<!--\x20/\x20ADD\x20WHATSAPPACCOUNT\x20BUTTON\x20-->\x0a','\x20\x20\x20\x20<form\x20name=\x22whatsappQueueForm\x22\x20class=\x22md-inline-form\x22\x20novalidate>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22name\x22\x20\x20ng-model=\x22vm.whatsappQueue.name\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.newWhatsappQueue\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22whatsappQueueForm[\x27name\x27].$error\x22\x20ng-show=\x22whatsappQueueForm[\x27name\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22WHATSAPP.ERRORS.NAME_MUST_VALID_PATTERN\x22\x20translate-values=\x22{\x20regex:\x20\x27/^[A-Za-z0-9\x5c.\x5c_]+$/i\x27\x20}\x22>Name\x20must\x20be\x20valid\x20pattern\x20</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22WHATSAPP.STRATEGY\x22>Strategy</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-select\x20name=\x22strategy\x22\x20ng-model=\x22vm.whatsappQueue.strategy\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22whatsappQueueForm[\x27strategy\x27].$error\x22\x20ng-show=\x22whatsappQueueForm[\x27strategy\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22number\x22\x20name=\x22timeout\x22\x20\x20ng-model=\x22vm.whatsappQueue.timeout\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22whatsappQueueForm[\x27timeout\x27].$error\x22\x20ng-show=\x22whatsappQueueForm[\x27timeout\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22WHATSAPP.ERRORS.AGENT_TIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO\x22>Agent_Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>2147483</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20ng-messages=\x22whatsappQueueForm[\x27description\x27].$error\x22\x20ng-show=\x22whatsappQueueForm[\x27description\x27].$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20!vm.newWhatsappQueue\x22\x20ng-click=\x22vm.saveWhatsappQueue()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22whatsappQueueForm.$invalid\x20||\x20whatsappQueueForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.newWhatsappQueue\x22\x20ng-click=\x22vm.addNewWhatsappQueue()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22whatsappQueueForm.$invalid\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22WHATSAPP.ADD_WHATSAPPQUEUE\x22\x20translate-attr-aria-label=\x22WHATSAPP.ADD_WHATSAPPQUEUE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20WHATSAPPQUEUE\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x20&&\x20!vm.newWhatsappQueue\x22\x20ng-click=\x22vm.deleteWhatsappQueue($event)\x22\x20aria-label=\x22DELETE\x22\x20translate\x0a','\x20\x20\x20\x20<form\x20name=\x22whatsappQueueForm\x22\x20ng-cloak>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h2\x20translate=\x22WHATSAPP.AGENTADD_WHATSAPPQUEUE\x22>Add\x20Agent\x20to\x20whatsappQueue</h2>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h2\x20translate=\x22WHATSAPP.TEAMS_ASSOCIATION\x22>Teams\x20Association</h2>\x0a','<div\x20id=\x22whatsapp-whatsappQueue\x22\x20class=\x22page-layout\x20simple\x20tabbed\x22\x20layout=\x22column\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22goto-whatsappQueues-button\x20md-icon-button\x22\x20aria-label=\x22Go\x20to\x20whatsappQueues\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.gotoWhatsappQueues()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22WHATSAPP.GO_TO_WHATSAPPQUEUES\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22whatsappQueue-image\x22\x20hide-xs>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<img\x20ng-src=\x22assets/images/business/whatsappQueues.jpg\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.whatsappQueue.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20ng-if=\x22vm.whatsappQueue.name\x22>{{vm.whatsappQueue.name}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22WHATSAPP.CREATED_AT\x22></span>\x20<span>{{vm.whatsappQueue.createdAt\x20|\x20date:\x27medium\x27}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.teamadddialog(vm.whatsappQueue,\x20$event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip><span\x20translate=\x22WHATSAPP.TEAMADD_WHATSAPPQUEUE\x22></span></md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.agentadddialog(vm.whatsappQueue,\x20$event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-tooltip><span\x20translate=\x22WHATSAPP.AGENTADD_WHATSAPPQUEUE\x22></span></md-tooltip>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20type=\x22submit\x22\x20ng-click=\x22vm.saveWhatsappQueue()\x22\x20ng-if=\x22vm.crudPermissions.canEdit\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20ng-disabled=\x22(generalForm.$invalid)\x22\x20translate=\x22WHATSAPP.SAVE\x22\x20translate-attr-aria-label=\x22WHATSAPP.SAVE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20\x20class=\x22whatsappQueue-detail-form-container\x20general\x20md-background-bg\x20md-whiteframe-1dp\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22WHATSAPP.ERRORS.STRATEGY_REQUIRED\x22>Strategy\x20field\x20is\x20required</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20translate=\x22WHATSAPP.AGENT_TIMEOUT\x22>Agent_Timeout</label>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22WHATSAPP.ERRORS.AGENT_TIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO\x22>Agent_Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than</span>\x20<span>1</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20name=\x22description\x22\x20\x20ng-model=\x22vm.whatsappQueue.description\x22\x20\x0a','app/main/apps/whatsapp/views/whatsappQueues/whatsappQueues.html','<div\x20id=\x22whatsappQueues\x22\x20class=\x22page-layout\x20simple\x20left-sidenav\x20inner-sidenav\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22logo-text\x22\x20translate=\x22WHATSAPP.WHATSAPPQUEUES\x22>WhatsappQueues</span>\x0a','\x20\x20\x20\x20<div\x20ng-show=\x22vm.selectedWhatsappQueues.length\x20>\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20translate=\x22WHATSAPP.BACK\x22>Back</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span>{{vm.selectedWhatsappQueues.length}}</span>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20ng-click=\x22vm.selectAllWhatsappQueues()\x22\x20translate=\x22WHATSAPP.SELECT_ALL\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22md-icon-button\x22\x20ng-csv=\x22vm.exportSelectedWhatsappQueues\x22\x20csv-label=\x22true\x22\x20filename=\x22whatsappQueues.csv\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<md-button\x20class=\x22md-icon-button\x22\x20ng-if=\x22vm.crudPermissions.canDelete\x22\x20ng-click=\x22vm.deleteSelectedWhatsappQueues($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<!--\x20WHATSAPPQUEUE\x20TABLE\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<table\x20md-table\x20\x20md-row-select\x20multiple\x20\x20\x20ng-model=\x22vm.selectedWhatsappQueues\x22\x20md-progress=\x22vm.promise\x22>\x0a'];(function(_0x59ee6f,_0x450239){var _0x4c0979=function(_0x565e92){while(--_0x565e92){_0x59ee6f['push'](_0x59ee6f['shift']());}};_0x4c0979(++_0x450239);}(_0xcd31,0x157));var _0x1cd3=function(_0x5a6b47,_0x5a6c71){_0x5a6b47=_0x5a6b47-0x0;var _0x18a248=_0xcd31[_0x5a6b47];return _0x18a248;};(function(){'use strict';angular[_0x1cd3('0x0')](_0x1cd3('0x1'),[]);}());(function(){'use strict';angular[_0x1cd3('0x0')]('app.core',[_0x1cd3('0x2'),'ngAria','ngCookies',_0x1cd3('0x3'),_0x1cd3('0x4'),_0x1cd3('0x5'),_0x1cd3('0x6'),_0x1cd3('0x7'),_0x1cd3('0x8'),_0x1cd3('0x9'),_0x1cd3('0xa'),'ds.clock',_0x1cd3('0xb')]);}());(function(){'use strict';_0x2605b7[_0x1cd3('0xc')]=['$stateProvider',_0x1cd3('0xd')];angular['module'](_0x1cd3('0xe'),[])[_0x1cd3('0xf')](_0x2605b7);function _0x2605b7(_0x42b15b,_0x3f8c44){_0x42b15b['state'](_0x1cd3('0x10'),{'url':_0x1cd3('0x11'),'views':{'main@':{'templateUrl':_0x1cd3('0x12'),'controller':_0x1cd3('0x13')},'content@app.errors_error-404':{'templateUrl':_0x1cd3('0x14'),'controller':_0x1cd3('0x15')}},'params':{'status':0x194,'statusText':'','data':{},'config':{}},'bodyClass':'error-404'});_0x3f8c44[_0x1cd3('0x16')](_0x1cd3('0x17'));}}());(function(){'use strict';_0x52ec50[_0x1cd3('0xc')]=['$stateProvider','$translatePartialLoaderProvider'];angular[_0x1cd3('0x0')](_0x1cd3('0x18'),[])[_0x1cd3('0xf')](_0x52ec50);function _0x52ec50(_0x3d67d8,_0x222a2c){_0x3d67d8[_0x1cd3('0x19')](_0x1cd3('0x1a'),{'url':'/errors/error-500','views':{'main@':{'templateUrl':_0x1cd3('0x12'),'controller':_0x1cd3('0x13')},'content@app.errors_error-500':{'templateUrl':_0x1cd3('0x1b'),'controller':'Error500Controller\x20as\x20vm'}},'params':{'status':0x1f4,'statusText':'','data':{},'config':{}},'bodyClass':_0x1cd3('0x1c')});_0x222a2c[_0x1cd3('0x16')](_0x1cd3('0x1d'));}}());(function(){'use strict';angular[_0x1cd3('0x0')]('app.errors',[_0x1cd3('0xe'),_0x1cd3('0x18')]);}());(function(){'use strict';_0x3dea9f['$inject']=[_0x1cd3('0xd')];angular['module']('app.footer',[])[_0x1cd3('0xf')](_0x3dea9f);function _0x3dea9f(_0x40b2c9){_0x40b2c9['addPart']('app/footer');}}());(function(){'use strict';_0x327679[_0x1cd3('0xc')]=[_0x1cd3('0x1e'),_0x1cd3('0xd')];angular[_0x1cd3('0x0')](_0x1cd3('0x1f'),[])['config'](_0x327679);function _0x327679(_0x36c5c4,_0x2b5b5a){_0x36c5c4[_0x1cd3('0x19')](_0x1cd3('0x1f'),{'url':_0x1cd3('0x20'),'views':{'main@':{'templateUrl':_0x1cd3('0x12'),'controller':_0x1cd3('0x13')},'content@app.forgot':{'templateUrl':'app/forgot/forgot.html','controller':_0x1cd3('0x21')}},'bodyClass':_0x1cd3('0x22')});_0x2b5b5a['addPart']('app/forgot');}}());(function(){'use strict';_0x4ade64['$inject']=[_0x1cd3('0xd')];angular['module'](_0x1cd3('0x23'),[])[_0x1cd3('0xf')](_0x4ade64);function _0x4ade64(_0x3a7bd7){_0x3a7bd7[_0x1cd3('0x16')](_0x1cd3('0x24'));}}());(function(){'use strict';angular[_0x1cd3('0x0')](_0x1cd3('0x25'),[_0x1cd3('0x26'),_0x1cd3('0x27'),'app.auth','app.navigation','app.toolbar',_0x1cd3('0x28'),_0x1cd3('0x23'),_0x1cd3('0x29'),_0x1cd3('0x2a'),_0x1cd3('0x2b'),_0x1cd3('0x2c'),_0x1cd3('0x2d'),_0x1cd3('0x2e'),_0x1cd3('0x2f'),_0x1cd3('0x30'),_0x1cd3('0x31'),_0x1cd3('0x32'),_0x1cd3('0x33'),'app.callysquare',_0x1cd3('0x34'),_0x1cd3('0x35'),'app.settings',_0x1cd3('0x36'),'app.help',_0x1cd3('0x37'),'app.marketplace',_0x1cd3('0x38'),_0x1cd3('0x39'),_0x1cd3('0x3a'),_0x1cd3('0x3b'),_0x1cd3('0x1f'),_0x1cd3('0x3c'),_0x1cd3('0x3d')]);}());(function(){'use strict';_0x110526['$inject']=[_0x1cd3('0x1e'),_0x1cd3('0xd')];angular[_0x1cd3('0x0')]('app.login',[])[_0x1cd3('0xf')](_0x110526);function _0x110526(_0x315062,_0x178c6e){_0x315062[_0x1cd3('0x19')](_0x1cd3('0x3b'),{'url':_0x1cd3('0x3e'),'views':{'main@':{'templateUrl':_0x1cd3('0x12'),'controller':'MainController\x20as\x20vm'},'content@app.login':{'templateUrl':_0x1cd3('0x3f'),'controller':_0x1cd3('0x40')}},'bodyClass':'login'});_0x178c6e[_0x1cd3('0x16')]('app/login');}}());(function(){'use strict';_0x2e6311['$inject']=[_0x1cd3('0x1e'),_0x1cd3('0xd'),_0x1cd3('0x41'),_0x1cd3('0x42')];angular[_0x1cd3('0x0')](_0x1cd3('0x34'),[_0x1cd3('0x43'),_0x1cd3('0x44'),_0x1cd3('0x45'),_0x1cd3('0x46'),_0x1cd3('0x47'),_0x1cd3('0x48'),_0x1cd3('0x49'),_0x1cd3('0x4a'),'ngAnimate','mdPickers',_0x1cd3('0x4b'),_0x1cd3('0x4c'),_0x1cd3('0x4d'),'ngclipboard',_0x1cd3('0x4e'),_0x1cd3('0x4f'),_0x1cd3('0x50'),'material.components.expansionPanels',_0x1cd3('0x51'),'angular.filter',_0x1cd3('0x52')])[_0x1cd3('0xf')](_0x2e6311);function _0x2e6311(_0x200181,_0x468846,_0x931048,_0x3d5a98){_0x200181[_0x1cd3('0x19')](_0x1cd3('0x34'),{'abstract':!![],'url':'/analytics'})[_0x1cd3('0x19')](_0x1cd3('0x53'),{'url':_0x1cd3('0x54'),'views':{'content@app':{'templateUrl':_0x1cd3('0x55'),'controller':'MetricsController\x20as\x20vm'}},'resolve':{'metrics':['apiResolver',_0x1cd3('0x56'),function(_0x38fe27,_0xf1cc13){return _0xf1cc13[_0x1cd3('0x57')]('admin')?_0x38fe27[_0x1cd3('0x58')](_0x1cd3('0x59'),{'fields':_0x1cd3('0x5a'),'sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0}):_0x38fe27[_0x1cd3('0x58')](_0x1cd3('0x5c'),{'id':_0xf1cc13[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'section':'Metrics','fields':_0x1cd3('0x5a'),'sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0});}],'userProfile':['apiResolver','Auth',function(_0x121899,_0x3bcba4){return _0x3bcba4['hasRole'](_0x1cd3('0x5f'))?null:_0x121899['resolve'](_0x1cd3('0x60'),{'fields':_0x1cd3('0x61'),'id':_0x3bcba4[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')]});}],'userProfileSection':[_0x1cd3('0x62'),'Auth',function(_0x2a4428,_0x5b5a3d){return _0x5b5a3d['hasRole']('admin')?null:_0x2a4428[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':'id,name,enabled,includeAll,autoAssociation,crudPermissions','userProfileId':_0x5b5a3d['getCurrentUser']()['userProfileId'],'sectionId':0x4b1});}]},'authenticate':!![],'permissionId':0x4b1,'bodyClass':_0x1cd3('0x64')})[_0x1cd3('0x19')](_0x1cd3('0x65'),{'url':_0x1cd3('0x66'),'views':{'content@app':{'templateUrl':_0x1cd3('0x67'),'controller':'ExtractedReportsController\x20as\x20vm'}},'resolve':{'extractedReports':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x464887,_0x5de466){return _0x5de466['hasRole'](_0x1cd3('0x5f'))?_0x464887[_0x1cd3('0x58')](_0x1cd3('0x68'),{'fields':_0x1cd3('0x69'),'sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0}):_0x464887[_0x1cd3('0x58')](_0x1cd3('0x5c'),{'id':_0x5de466['getCurrentUser']()[_0x1cd3('0x5e')],'section':_0x1cd3('0x6a'),'fields':_0x1cd3('0x69'),'sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0});}],'userProfile':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x5d39a6,_0x4de030){return _0x4de030[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x5d39a6[_0x1cd3('0x58')](_0x1cd3('0x60'),{'fields':_0x1cd3('0x61'),'id':_0x4de030[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')]});}],'userProfileSection':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x12900a,_0xac98f7){return _0xac98f7[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x12900a['resolve'](_0x1cd3('0x63'),{'fields':'id,name,enabled,includeAll,autoAssociation,crudPermissions','userProfileId':_0xac98f7[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x4b2});}]},'authenticate':!![],'permissionId':0x4b2,'bodyClass':_0x1cd3('0x64')});_0x468846[_0x1cd3('0x16')](_0x1cd3('0x6b'));}}());(function(){'use strict';_0x148734[_0x1cd3('0xc')]=[_0x1cd3('0x1e')];angular[_0x1cd3('0x0')]('app.analytics.reports',[_0x1cd3('0x6c')])[_0x1cd3('0xf')](_0x148734);function _0x148734(_0x1a95ce){_0x1a95ce['state']('app.analytics.reports',{'url':_0x1cd3('0x6d'),'views':{'content@app':{'templateUrl':_0x1cd3('0x6e'),'controller':_0x1cd3('0x6f')}},'resolve':{'treeReports':[_0x1cd3('0x62'),function(_0xc078c9){return _0xc078c9[_0x1cd3('0x58')](_0x1cd3('0x70'),{'fields':_0x1cd3('0x71'),'limit':0xa,'offset':0x0});}],'userProfile':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x199d5b,_0x27603e){return _0x199d5b[_0x1cd3('0x58')](_0x1cd3('0x60'),{'fields':_0x1cd3('0x61'),'id':_0x27603e[_0x1cd3('0x5d')]()['userProfileId']});}],'userProfileSection':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x24103,_0x41a4c2){return _0x24103[_0x1cd3('0x58')]('userProfileSection@get',{'fields':'id,name,enabled,includeAll,autoAssociation,crudPermissions','userProfileId':_0x41a4c2[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x4b3});}]},'authenticate':!![],'permissionId':0x4b3,'bodyClass':_0x1cd3('0x64')})[_0x1cd3('0x19')]('app.analytics.reports.edit',{'url':_0x1cd3('0x72'),'views':{'content@app':{'templateUrl':_0x1cd3('0x73'),'controller':_0x1cd3('0x74')}},'resolve':{'report':[_0x1cd3('0x62'),_0x1cd3('0x75'),'$q','describeTable',function(_0x324966,_0x5382ad,_0x1c05c7,_0xef0f3b){var _0x84c245;return _0x324966[_0x1cd3('0x58')](_0x1cd3('0x76'),{'fields':'createdAt,updatedAt,id,name,description,table,conditions,joins','id':_0x5382ad['id']})[_0x1cd3('0x77')](function(_0x40013c){var _0x4ee03a=[];_0x84c245=_0x40013c;if(_0x84c245['joins']){try{_0x84c245[_0x1cd3('0x78')]=JSON[_0x1cd3('0x79')](_0x84c245[_0x1cd3('0x78')]);for(var _0x435d72=0x0;_0x435d72<_0x84c245[_0x1cd3('0x78')][_0x1cd3('0x7a')];_0x435d72+=0x1){_0x4ee03a[_0x1cd3('0x7b')](_0xef0f3b['getColumns'](_0x84c245[_0x1cd3('0x78')][_0x435d72][_0x1cd3('0x7c')]));}}catch(_0xb6b98c){console[_0x1cd3('0x7d')](_0xb6b98c);}}return _0x1c05c7[_0x1cd3('0x7e')](_0x4ee03a);})[_0x1cd3('0x77')](function(_0x1f5225){for(var _0x247106=0x0;_0x247106<_0x1f5225[_0x1cd3('0x7a')];_0x247106+=0x1){_0x84c245[_0x1cd3('0x78')][_0x247106][_0x1cd3('0x7f')]=_['difference'](_[_0x1cd3('0x80')](_0x1f5225[_0x247106]),[_0x1cd3('0x81'),'$resolved']);}return _0x84c245;});}],'userProfileSection':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x12e314,_0x5a8da9){return _0x12e314['resolve'](_0x1cd3('0x63'),{'fields':_0x1cd3('0x82'),'userProfileId':_0x5a8da9[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x4b3});}]},'authenticate':!![],'permissionId':0x4b3,'bodyClass':_0x1cd3('0x64')});}}());(function(){'use strict';_0x50325d[_0x1cd3('0xc')]=['$stateProvider',_0x1cd3('0xd'),_0x1cd3('0x41'),'msNavigationServiceProvider'];angular['module'](_0x1cd3('0x83'),[_0x1cd3('0x43'),_0x1cd3('0x44'),_0x1cd3('0x45'),_0x1cd3('0x46'),'mdColorPicker',_0x1cd3('0x48'),_0x1cd3('0x49'),_0x1cd3('0x4a'),_0x1cd3('0x2'),_0x1cd3('0x84'),_0x1cd3('0x4b'),_0x1cd3('0x4c'),_0x1cd3('0x4d'),_0x1cd3('0x85'),_0x1cd3('0x4e'),_0x1cd3('0x4f'),_0x1cd3('0x50'),'material.components.expansionPanels',_0x1cd3('0x51'),_0x1cd3('0x86'),'app.callysquare.projects'])[_0x1cd3('0xf')](_0x50325d);function _0x50325d(_0x46e182,_0xc6753b,_0x10417d,_0x449c5e){_0x46e182[_0x1cd3('0x19')](_0x1cd3('0x83'),{'abstract':!![],'url':'/callysquare'})[_0x1cd3('0x19')](_0x1cd3('0x87'),{'url':'/odbcs','views':{'content@app':{'templateUrl':'app/main/apps/callysquare/views/odbcs/odbcs.html','controller':_0x1cd3('0x88')}},'resolve':{'odbcs':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x4f6b7d,_0x32340d){return _0x32340d[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x4f6b7d['resolve'](_0x1cd3('0x89'),{'fields':_0x1cd3('0x8a'),'sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0}):_0x4f6b7d[_0x1cd3('0x58')](_0x1cd3('0x5c'),{'id':_0x32340d[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'section':_0x1cd3('0x8b'),'fields':_0x1cd3('0x8a'),'sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0});}],'userProfile':['apiResolver',_0x1cd3('0x56'),function(_0x428410,_0x5bed81){return _0x5bed81[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x428410[_0x1cd3('0x58')](_0x1cd3('0x60'),{'fields':_0x1cd3('0x61'),'id':_0x5bed81[_0x1cd3('0x5d')]()['userProfileId']});}],'userProfileSection':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x37416b,_0x23a045){return _0x23a045['hasRole'](_0x1cd3('0x5f'))?null:_0x37416b[_0x1cd3('0x58')]('userProfileSection@get',{'fields':'id,name,enabled,includeAll,autoAssociation,crudPermissions','userProfileId':_0x23a045[_0x1cd3('0x5d')]()['userProfileId'],'sectionId':0x44d});}]},'authenticate':!![],'permissionId':0x44d,'bodyClass':_0x1cd3('0x8c')})[_0x1cd3('0x19')](_0x1cd3('0x8d'),{'url':'/squareRecordings','views':{'content@app':{'templateUrl':_0x1cd3('0x8e'),'controller':_0x1cd3('0x8f')}},'resolve':{'squareRecordings':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x954635,_0x4284e2){return _0x4284e2[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x954635['resolve'](_0x1cd3('0x90'),{'fields':_0x1cd3('0x91'),'sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0}):_0x954635[_0x1cd3('0x58')](_0x1cd3('0x5c'),{'id':_0x4284e2['getCurrentUser']()[_0x1cd3('0x5e')],'section':_0x1cd3('0x92'),'fields':_0x1cd3('0x91'),'sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0});}],'userProfile':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x26e1dc,_0xa448af){return _0xa448af['hasRole'](_0x1cd3('0x5f'))?null:_0x26e1dc['resolve'](_0x1cd3('0x60'),{'fields':'id,name,crudPermissions','id':_0xa448af[_0x1cd3('0x5d')]()['userProfileId']});}],'userProfileSection':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x52c720,_0x113f3b){return _0x113f3b['hasRole']('admin')?null:_0x52c720[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':_0x1cd3('0x82'),'userProfileId':_0x113f3b[_0x1cd3('0x5d')]()['userProfileId'],'sectionId':0x44e});}]},'authenticate':!![],'permissionId':0x44e,'bodyClass':'callysquare'});_0xc6753b[_0x1cd3('0x16')](_0x1cd3('0x93'));}}());(function(){'use strict';_0x3c7eff['$inject']=[_0x1cd3('0x1e')];angular[_0x1cd3('0x0')](_0x1cd3('0x94'),[])[_0x1cd3('0xf')](_0x3c7eff);function _0x3c7eff(_0x4ed457){_0x4ed457[_0x1cd3('0x19')](_0x1cd3('0x94'),{'url':'/projects','views':{'content@app':{'templateUrl':_0x1cd3('0x95'),'controller':_0x1cd3('0x96')}},'resolve':{'projects':['apiResolver',_0x1cd3('0x56'),function(_0x1e0709,_0x28fccc){return _0x28fccc[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x1e0709[_0x1cd3('0x58')]('squareProject@get',{'fields':_0x1cd3('0x97'),'sort':_0x1cd3('0x98'),'limit':0xa,'offset':0x0}):_0x1e0709['resolve']('userProfile@getResources',{'id':_0x28fccc['getCurrentUser']()['userProfileId'],'section':_0x1cd3('0x99'),'fields':_0x1cd3('0x97'),'sort':_0x1cd3('0x98'),'limit':0xa,'offset':0x0});}],'userProfile':[_0x1cd3('0x62'),'Auth',function(_0x59742b,_0x3d01cc){return _0x59742b[_0x1cd3('0x58')](_0x1cd3('0x60'),{'fields':_0x1cd3('0x61'),'id':_0x3d01cc[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')]});}],'userProfileSection':['apiResolver',_0x1cd3('0x56'),function(_0x2ab21a,_0x201ef1){return _0x2ab21a['resolve'](_0x1cd3('0x63'),{'fields':'id,name,enabled,includeAll,autoAssociation,crudPermissions','userProfileId':_0x201ef1[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x44f});}]},'authenticate':!![],'permissionId':0x44f,'bodyClass':'callysquare'})[_0x1cd3('0x19')](_0x1cd3('0x9a'),{'url':_0x1cd3('0x9b'),'views':{'content@app':{'templateUrl':_0x1cd3('0x9c'),'controller':_0x1cd3('0x9d')}},'params':{'crudPermissions':undefined},'resolve':{'project':[_0x1cd3('0x62'),_0x1cd3('0x75'),function(_0x1fd37d,_0x2c2796){return _0x1fd37d[_0x1cd3('0x58')]('squareProject@get',{'id':_0x2c2796['id']});}],'users':['apiResolver',_0x1cd3('0x56'),function(_0x4d2db7,_0x1aaaa3){return _0x1aaaa3['hasRole'](_0x1cd3('0x5f'))?_0x4d2db7[_0x1cd3('0x58')](_0x1cd3('0x9e'),{'fields':_0x1cd3('0x9f'),'sort':_0x1cd3('0x98'),'nolimit':!![]}):_0x4d2db7[_0x1cd3('0x58')]('userProfile@getResources',{'id':_0x1aaaa3['getCurrentUser']()[_0x1cd3('0x5e')],'section':_0x1cd3('0xa0'),'mergeResources':!![],'fields':_0x1cd3('0x9f'),'sort':_0x1cd3('0x98'),'nolimit':!![]});}],'trunks':[_0x1cd3('0x62'),'Auth',function(_0x5ed30f,_0x1d8bd4){return _0x1d8bd4['hasRole'](_0x1cd3('0x5f'))?_0x5ed30f[_0x1cd3('0x58')](_0x1cd3('0xa1'),{'fields':'id,name','sort':_0x1cd3('0x98'),'nolimit':!![]}):_0x5ed30f[_0x1cd3('0x58')](_0x1cd3('0x5c'),{'id':_0x1d8bd4['getCurrentUser']()[_0x1cd3('0x5e')],'section':_0x1cd3('0xa2'),'fields':'id,name','sort':'name','nolimit':!![]});}],'queues':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x4c1168,_0x381458){return _0x381458[_0x1cd3('0x57')]('admin')?_0x4c1168[_0x1cd3('0x58')](_0x1cd3('0xa3'),{'type':_0x1cd3('0xa4'),'fields':'id,name','sort':'name','nolimit':!![]}):_0x4c1168[_0x1cd3('0x58')](_0x1cd3('0x5c'),{'id':_0x381458[_0x1cd3('0x5d')]()['userProfileId'],'section':_0x1cd3('0xa5'),'type':_0x1cd3('0xa4'),'fields':_0x1cd3('0xa6'),'sort':'name','nolimit':!![]});}],'sounds':['apiResolver',_0x1cd3('0x56'),function(_0x4f6e1f,_0x1b943b){return _0x1b943b[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x4f6e1f[_0x1cd3('0x58')]('sound@get',{'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'nolimit':!![]}):_0x4f6e1f[_0x1cd3('0x58')](_0x1cd3('0x5c'),{'id':_0x1b943b['getCurrentUser']()['userProfileId'],'section':_0x1cd3('0xa7'),'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'nolimit':!![]});}],'variables':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x4a437e,_0x2106a5){return _0x2106a5['hasRole'](_0x1cd3('0x5f'))?_0x4a437e[_0x1cd3('0x58')](_0x1cd3('0xa8'),{'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'nolimit':!![]}):_0x4a437e[_0x1cd3('0x58')](_0x1cd3('0x5c'),{'id':_0x2106a5[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'section':_0x1cd3('0xa9'),'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'nolimit':!![]});}],'databases':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x2317c1,_0x5331c4){return _0x5331c4[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x2317c1['resolve'](_0x1cd3('0x89'),{'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'nolimit':!![]}):_0x2317c1[_0x1cd3('0x58')](_0x1cd3('0x5c'),{'id':_0x5331c4['getCurrentUser']()[_0x1cd3('0x5e')],'section':_0x1cd3('0x8b'),'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'nolimit':!![]});}],'projects':[_0x1cd3('0x62'),'Auth',function(_0x510204,_0x1845e2){return _0x1845e2[_0x1cd3('0x57')]('admin')?_0x510204[_0x1cd3('0x58')]('squareProject@get',{'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'nolimit':!![]}):_0x510204[_0x1cd3('0x58')](_0x1cd3('0x5c'),{'id':_0x1845e2[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'section':_0x1cd3('0x99'),'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'nolimit':!![]});}],'contexts':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x183569,_0xfa4d3b){return _0xfa4d3b[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x183569[_0x1cd3('0x58')](_0x1cd3('0xaa'),{'fields':_0x1cd3('0xa6'),'sort':'name','nolimit':!![]}):_0x183569[_0x1cd3('0x58')](_0x1cd3('0x5c'),{'id':_0xfa4d3b['getCurrentUser']()[_0x1cd3('0x5e')],'section':_0x1cd3('0xab'),'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'nolimit':!![]});}],'intervals':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x469114,_0x498d2b){return _0x498d2b[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x469114[_0x1cd3('0x58')](_0x1cd3('0xac'),{'fields':_0x1cd3('0xad'),'sort':_0x1cd3('0x98'),'nolimit':!![]}):_0x469114['resolve']('userProfile@getResources',{'id':_0x498d2b['getCurrentUser']()['userProfileId'],'section':'Intervals','fields':'id,name,IntervalId','sort':_0x1cd3('0x98'),'nolimit':!![]});}],'mailAccounts':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x145d28,_0x1182d1){return _0x1182d1[_0x1cd3('0x57')]('admin')?_0x145d28[_0x1cd3('0x58')](_0x1cd3('0xae'),{'fields':'id,name','sort':_0x1cd3('0x98'),'nolimit':!![]}):_0x145d28[_0x1cd3('0x58')](_0x1cd3('0x5c'),{'id':_0x1182d1[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'section':_0x1cd3('0xaf'),'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'nolimit':!![]});}],'templates':[_0x1cd3('0x62'),'Auth',function(_0x833221,_0x149b9e){return _0x149b9e[_0x1cd3('0x57')]('admin')?_0x833221[_0x1cd3('0x58')](_0x1cd3('0xb0'),{'fields':'id,name','sort':_0x1cd3('0x98'),'nolimit':!![]}):_0x833221[_0x1cd3('0x58')](_0x1cd3('0x5c'),{'id':_0x149b9e[_0x1cd3('0x5d')]()['userProfileId'],'section':_0x1cd3('0xb1'),'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'nolimit':!![]});}],'lists':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x2f655c,_0x3ce18d){return _0x3ce18d[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x2f655c[_0x1cd3('0x58')]('cmList@get',{'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'nolimit':!![]}):_0x2f655c[_0x1cd3('0x58')](_0x1cd3('0x5c'),{'id':_0x3ce18d[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'section':'Lists','fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'nolimit':!![]});}],'smsAccounts':['apiResolver',_0x1cd3('0x56'),function(_0x4804b7,_0x369a60){return _0x369a60['hasRole']('admin')?_0x4804b7['resolve']('smsAccount@get',{'fields':'id,name','sort':_0x1cd3('0x98'),'nolimit':!![]}):_0x4804b7[_0x1cd3('0x58')](_0x1cd3('0x5c'),{'id':_0x369a60['getCurrentUser']()[_0x1cd3('0x5e')],'section':_0x1cd3('0xb2'),'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'nolimit':!![]});}],'pauses':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x477c28,_0x425287){return _0x425287[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x477c28['resolve']('pause@get',{'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'nolimit':!![]}):_0x477c28[_0x1cd3('0x58')](_0x1cd3('0x5c'),{'id':_0x425287['getCurrentUser']()[_0x1cd3('0x5e')],'section':_0x1cd3('0xb3'),'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'nolimit':!![]});}],'userProfileSection':[_0x1cd3('0x62'),'Auth',function(_0x76ee40,_0x4bae3e){return _0x76ee40[_0x1cd3('0x58')]('userProfileSection@get',{'fields':'id,name,enabled,includeAll,autoAssociation,crudPermissions','userProfileId':_0x4bae3e['getCurrentUser']()[_0x1cd3('0x5e')],'sectionId':0x44f});}]},'authenticate':!![],'permissionId':0x44f,'bodyClass':_0x1cd3('0x8c')});}}());(function(){'use strict';_0x2a0895[_0x1cd3('0xc')]=[_0x1cd3('0x1e'),_0x1cd3('0xd'),_0x1cd3('0x41'),_0x1cd3('0x42')];angular[_0x1cd3('0x0')](_0x1cd3('0x2e'),[_0x1cd3('0x43'),_0x1cd3('0x44'),'md.data.table',_0x1cd3('0x46'),'mdColorPicker',_0x1cd3('0x48'),_0x1cd3('0x49'),_0x1cd3('0x4a'),_0x1cd3('0x2'),'mdPickers','mwFormBuilder','mwFormViewer',_0x1cd3('0x4d'),_0x1cd3('0x85'),_0x1cd3('0x4e'),_0x1cd3('0x4f'),_0x1cd3('0x50'),_0x1cd3('0xb4'),'chart.js',_0x1cd3('0x86'),'app.chat.realtime'])[_0x1cd3('0xf')](_0x2a0895);function _0x2a0895(_0x5ba683,_0x1a3c04,_0x27d118,_0x2efada){_0x5ba683['state']('app.chat',{'abstract':!![],'url':_0x1cd3('0xb5')})[_0x1cd3('0x19')](_0x1cd3('0xb6'),{'url':_0x1cd3('0xb7'),'views':{'content@app':{'templateUrl':_0x1cd3('0xb8'),'controller':_0x1cd3('0xb9')}},'resolve':{'chatQueues':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x2ba639,_0x1c8faa){return _0x1c8faa[_0x1cd3('0x57')]('admin')?_0x2ba639[_0x1cd3('0x58')](_0x1cd3('0xba'),{'fields':_0x1cd3('0xbb'),'sort':'-updatedAt','channel':'chat','limit':0xa,'offset':0x0}):_0x2ba639['resolve'](_0x1cd3('0x5c'),{'id':_0x1c8faa[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'section':_0x1cd3('0xbc'),'fields':'createdAt,updatedAt,id,name,strategy,timeout,description','sort':_0x1cd3('0x5b'),'channel':'chat','limit':0xa,'offset':0x0});}],'userProfile':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x19b6fa,_0x68b39f){return _0x68b39f[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x19b6fa['resolve']('userProfile@get',{'fields':_0x1cd3('0x61'),'id':_0x68b39f[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')]});}],'userProfileSection':['apiResolver',_0x1cd3('0x56'),function(_0x579b9b,_0x3d2952){return _0x3d2952['hasRole'](_0x1cd3('0x5f'))?null:_0x579b9b[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':_0x1cd3('0x82'),'userProfileId':_0x3d2952[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x1f5});}]},'authenticate':!![],'permissionId':0x1f5,'bodyClass':'chat'})[_0x1cd3('0x19')](_0x1cd3('0xbd'),{'url':_0x1cd3('0x72'),'params':{'chatQueue':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':'app/main/apps/chat/views/chatQueues/edit/view.html','controller':_0x1cd3('0xbe')}},'resolve':{'chatQueue':[_0x1cd3('0x62'),_0x1cd3('0x75'),function(_0x232d4a,_0x2af3af){return _0x232d4a[_0x1cd3('0x58')](_0x1cd3('0xba'),{'fields':'createdAt,updatedAt,id,name,strategy,timeout,description','id':_0x2af3af['id']});}],'userProfileSection':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x16a585,_0x3f166e){return _0x16a585[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':_0x1cd3('0x82'),'userProfileId':_0x3f166e[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x1f5});}]},'authenticate':!![],'permissionId':0x1f5,'bodyClass':_0x1cd3('0xbf')})[_0x1cd3('0x19')]('app.chat.chatWebsites',{'url':_0x1cd3('0xc0'),'views':{'content@app':{'templateUrl':'app/main/apps/chat/views/chatWebsites/chatWebsites.html','controller':_0x1cd3('0xc1')}},'resolve':{'chatWebsites':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x526eea,_0x9eface){return _0x9eface[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x526eea[_0x1cd3('0x58')](_0x1cd3('0xc2'),{'fields':_0x1cd3('0xc3'),'sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0}):_0x526eea[_0x1cd3('0x58')](_0x1cd3('0x5c'),{'id':_0x9eface[_0x1cd3('0x5d')]()['userProfileId'],'section':'ChatWebsites','fields':_0x1cd3('0xc3'),'sort':'-updatedAt','limit':0xa,'offset':0x0});}],'userProfile':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x170bff,_0x305faa){return _0x305faa[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x170bff['resolve']('userProfile@get',{'fields':'id,name,crudPermissions','id':_0x305faa[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')]});}],'userProfileSection':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x2ce457,_0x137093){return _0x137093[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x2ce457[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':_0x1cd3('0x82'),'userProfileId':_0x137093[_0x1cd3('0x5d')]()['userProfileId'],'sectionId':0x1f6});}]},'authenticate':!![],'permissionId':0x1f6,'bodyClass':'chat'})['state'](_0x1cd3('0xc4'),{'url':_0x1cd3('0x72'),'params':{'chatWebsite':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':_0x1cd3('0xc5'),'controller':_0x1cd3('0xc6')}},'resolve':{'chatWebsite':[_0x1cd3('0x62'),'$stateParams',function(_0x299c99,_0x28a971){return _0x299c99[_0x1cd3('0x58')]('chatWebsite@get',{'fields':_0x1cd3('0xc3'),'id':_0x28a971['id']});}],'userProfileSection':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x54ba8f,_0x5ee324){return _0x54ba8f[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':'id,name,enabled,includeAll,autoAssociation,crudPermissions','userProfileId':_0x5ee324[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x1f6});}]},'authenticate':!![],'permissionId':0x1f6,'bodyClass':_0x1cd3('0xbf')});_0x1a3c04[_0x1cd3('0x16')](_0x1cd3('0xc7'));}}());(function(){'use strict';_0x16e1f0[_0x1cd3('0xc')]=[_0x1cd3('0x1e')];angular[_0x1cd3('0x0')](_0x1cd3('0xc8'),[])[_0x1cd3('0xf')](_0x16e1f0);function _0x16e1f0(_0x5c8af8){_0x5c8af8[_0x1cd3('0x19')](_0x1cd3('0xc8'),{'url':_0x1cd3('0xc9'),'views':{'content@app':{'templateUrl':_0x1cd3('0xca'),'controller':_0x1cd3('0xcb')}},'resolve':{'userProfile':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x43c955,_0x499e3f){return _0x499e3f[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x43c955[_0x1cd3('0x58')](_0x1cd3('0x60'),{'fields':'id,name,crudPermissions','id':_0x499e3f[_0x1cd3('0x5d')]()['userProfileId']});}],'userProfileSection':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0xa54ac1,_0x51609c){return _0x51609c[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0xa54ac1[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':_0x1cd3('0x82'),'userProfileId':_0x51609c[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x1fe});}]},'authenticate':!![],'permissionId':0x1fe})[_0x1cd3('0x19')](_0x1cd3('0xcc'),{'url':_0x1cd3('0xcd'),'controller':_0x1cd3('0xce'),'templateUrl':_0x1cd3('0xcf'),'resolve':{'pauses':[_0x1cd3('0x62'),function(_0x233af0){return _0x233af0[_0x1cd3('0x58')](_0x1cd3('0xd0'),{'nolimit':!![]});}],'agents':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x202e3a,_0x2456c1){return _0x2456c1[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x202e3a[_0x1cd3('0x58')](_0x1cd3('0x9e'),{'fields':_0x1cd3('0xd1'),'role':_0x1cd3('0xd2'),'sort':_0x1cd3('0xd3'),'nolimit':!![]}):_0x202e3a[_0x1cd3('0x58')](_0x1cd3('0x5c'),{'id':_0x2456c1['getCurrentUser']()['userProfileId'],'section':_0x1cd3('0xd4'),'fields':'id,name,fullname,role,userpic,internal,online,voicePause,openchannelPause,faxPause,chatPause,smsPause,whatsappPause,mailPause,pauseType,lastPauseAt,lastLoginAt,lastPauseAt,chatCapacity,mailCapacity,openchannelCapacity,faxCapacity,smsCapacity,whatsappCapacity,screenrecording,phoneBarEnableScreenRecordingByAgent,phoneBarEnableAutomaticScreenRecording','role':_0x1cd3('0xd2'),'sort':'fullname','nolimit':!![]});}],'userProfile':['apiResolver',_0x1cd3('0x56'),function(_0x2ebe47,_0x25ceae){return _0x25ceae[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x2ebe47['resolve'](_0x1cd3('0x60'),{'fields':'id,name,crudPermissions','id':_0x25ceae['getCurrentUser']()[_0x1cd3('0x5e')]});}],'userProfileSection':[_0x1cd3('0x62'),'Auth',function(_0x48f816,_0x5dd3ee){return _0x5dd3ee[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x48f816[_0x1cd3('0x58')]('userProfileSection@get',{'fields':_0x1cd3('0x82'),'userProfileId':_0x5dd3ee['getCurrentUser']()[_0x1cd3('0x5e')],'sectionId':0xca});}],'rpcAgents':[_0x1cd3('0x62'),function(_0xe7e075){return _0xe7e075['resolve'](_0x1cd3('0xd5'));}]},'authenticate':!![],'permissionId':0x1fe})['state'](_0x1cd3('0xd6'),{'url':_0x1cd3('0xd7'),'controller':_0x1cd3('0xd8'),'templateUrl':'app/main/apps/chat/views/realtime/queues/view.html','resolve':{'queues':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x2dd84a,_0x5e2809){return _0x5e2809[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x2dd84a[_0x1cd3('0x58')](_0x1cd3('0xba'),{'type':_0x1cd3('0xa4'),'sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0}):_0x2dd84a[_0x1cd3('0x58')](_0x1cd3('0x5c'),{'id':_0x5e2809[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'section':_0x1cd3('0xbc'),'channel':_0x1cd3('0xbf'),'type':_0x1cd3('0xa4'),'sort':_0x1cd3('0x5b'),'limit':0xa,'page':0x1});}],'userProfile':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x599e8e,_0x256708){return _0x256708[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x599e8e['resolve'](_0x1cd3('0x60'),{'fields':_0x1cd3('0x61'),'id':_0x256708[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')]});}],'userProfileSection':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x516c24,_0x130b4a){return _0x130b4a['hasRole'](_0x1cd3('0x5f'))?null:_0x516c24[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':_0x1cd3('0x82'),'userProfileId':_0x130b4a[_0x1cd3('0x5d')]()['userProfileId'],'sectionId':0x1f5});}],'rpcQueues':[_0x1cd3('0x62'),function(_0x2dc78b){return _0x2dc78b[_0x1cd3('0x58')]('rpc@getChatQueues');}]},'authenticate':!![],'permissionId':0x1fe});}}());(function(){'use strict';_0x3d1a59[_0x1cd3('0xc')]=['$stateProvider','$translatePartialLoaderProvider',_0x1cd3('0x41'),_0x1cd3('0x42')];angular[_0x1cd3('0x0')](_0x1cd3('0x2c'),['ngCsv',_0x1cd3('0x44'),'md.data.table',_0x1cd3('0x46'),_0x1cd3('0x47'),_0x1cd3('0x48'),_0x1cd3('0x49'),'ngAria',_0x1cd3('0x2'),_0x1cd3('0x84'),_0x1cd3('0x4b'),_0x1cd3('0x4c'),_0x1cd3('0x4d'),_0x1cd3('0x85'),_0x1cd3('0x4e'),_0x1cd3('0x4f'),'angularMaterialFormBuilder',_0x1cd3('0xb4'),'chart.js',_0x1cd3('0x86'),'app.contactmanager.contacts'])[_0x1cd3('0xf')](_0x3d1a59);function _0x3d1a59(_0x574f5b,_0x4c15f2,_0xf878ff,_0x4c0833){_0x574f5b['state'](_0x1cd3('0x2c'),{'abstract':!![],'url':'/contactmanager'})['state'](_0x1cd3('0xd9'),{'url':'/lists','views':{'content@app':{'templateUrl':_0x1cd3('0xda'),'controller':_0x1cd3('0xdb')}},'resolve':{'lists':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x445ec4,_0xce0c96){return _0xce0c96[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x445ec4[_0x1cd3('0x58')]('cmList@get',{'fields':_0x1cd3('0xdc'),'sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0}):_0x445ec4['resolve'](_0x1cd3('0x5c'),{'id':_0xce0c96[_0x1cd3('0x5d')]()['userProfileId'],'section':'Lists','fields':'createdAt,updatedAt,id,name,description,dialPrefix','sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0});}],'userProfile':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x4fd552,_0x2dd3c9){return _0x2dd3c9['hasRole'](_0x1cd3('0x5f'))?null:_0x4fd552['resolve'](_0x1cd3('0x60'),{'fields':_0x1cd3('0x61'),'id':_0x2dd3c9[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')]});}],'userProfileSection':[_0x1cd3('0x62'),'Auth',function(_0x42197a,_0x22591e){return _0x22591e[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x42197a[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':_0x1cd3('0x82'),'userProfileId':_0x22591e[_0x1cd3('0x5d')]()['userProfileId'],'sectionId':0x12d});}]},'authenticate':!![],'permissionId':0x12d,'bodyClass':_0x1cd3('0xdd')})['state']('app.contactmanager.lists.edit',{'url':_0x1cd3('0x72'),'params':{'list':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':_0x1cd3('0xde'),'controller':_0x1cd3('0xdf')}},'resolve':{'list':[_0x1cd3('0x62'),_0x1cd3('0x75'),function(_0x30794d,_0x23b308){return _0x30794d[_0x1cd3('0x58')](_0x1cd3('0xe0'),{'fields':_0x1cd3('0xdc'),'id':_0x23b308['id']});}],'userProfileSection':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x2591d9,_0x11b8d4){return _0x2591d9['resolve'](_0x1cd3('0x63'),{'fields':_0x1cd3('0x82'),'userProfileId':_0x11b8d4['getCurrentUser']()[_0x1cd3('0x5e')],'sectionId':0x12d});}]},'authenticate':!![],'permissionId':0x12d,'bodyClass':_0x1cd3('0xdd')})[_0x1cd3('0x19')](_0x1cd3('0xe1'),{'url':_0x1cd3('0xe2'),'views':{'content@app':{'templateUrl':'app/main/apps/contactmanager/views/companies/companies.html','controller':'CompaniesController\x20as\x20vm'}},'resolve':{'companies':[_0x1cd3('0x62'),'Auth',function(_0x96b3b9,_0x53ae6f){return _0x53ae6f[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x96b3b9[_0x1cd3('0x58')]('cmCompany@get',{'fields':'createdAt,updatedAt,id,name,phone,vat,fax,companyId,type,website,emailDomain,email,description,sStreet,sPostalCode,sCity,sCountry,street,postalCode,city,country','sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0}):_0x96b3b9[_0x1cd3('0x58')](_0x1cd3('0x5c'),{'id':_0x53ae6f[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'section':_0x1cd3('0xe3'),'fields':_0x1cd3('0xe4'),'sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0});}],'userProfile':[_0x1cd3('0x62'),'Auth',function(_0x4ddcc5,_0x5c5bdf){return _0x5c5bdf['hasRole']('admin')?null:_0x4ddcc5[_0x1cd3('0x58')](_0x1cd3('0x60'),{'fields':'id,name,crudPermissions','id':_0x5c5bdf[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')]});}],'userProfileSection':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0xcdb33b,_0x51dff3){return _0x51dff3['hasRole']('admin')?null:_0xcdb33b['resolve'](_0x1cd3('0x63'),{'fields':'id,name,enabled,includeAll,autoAssociation,crudPermissions','userProfileId':_0x51dff3[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x12e});}]},'authenticate':!![],'permissionId':0x12e,'bodyClass':_0x1cd3('0xdd')})['state'](_0x1cd3('0xe5'),{'url':'/:id?tab','params':{'company':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':_0x1cd3('0xe6'),'controller':_0x1cd3('0xe7')}},'resolve':{'company':['apiResolver',_0x1cd3('0x75'),function(_0x5eab92,_0xb57eda){return _0x5eab92[_0x1cd3('0x58')]('cmCompany@get',{'fields':_0x1cd3('0xe4'),'id':_0xb57eda['id']});}],'userProfileSection':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x38efb8,_0x4c8b96){return _0x38efb8[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':_0x1cd3('0x82'),'userProfileId':_0x4c8b96['getCurrentUser']()[_0x1cd3('0x5e')],'sectionId':0x12e});}]},'authenticate':!![],'permissionId':0x12e,'bodyClass':'contactmanager'})['state'](_0x1cd3('0xe8'),{'url':_0x1cd3('0xe9'),'views':{'content@app':{'templateUrl':'app/main/apps/contactmanager/views/globalCustomFields/globalCustomFields.html','controller':_0x1cd3('0xea')}},'resolve':{'globalCustomFields':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x43db65,_0x28619c){return _0x43db65['resolve'](_0x1cd3('0xeb'),{'fields':'createdAt,updatedAt,id,alias,type,values,required','sort':_0x1cd3('0x5b'),'ListId':'null','limit':0xa,'offset':0x0});}],'userProfile':['apiResolver',_0x1cd3('0x56'),function(_0x153267,_0x43c65b){return _0x43c65b[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x153267[_0x1cd3('0x58')]('userProfile@get',{'fields':_0x1cd3('0x61'),'id':_0x43c65b[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')]});}],'userProfileSection':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x5e59d3,_0x4b75a8){return _0x4b75a8['hasRole'](_0x1cd3('0x5f'))?null:_0x5e59d3['resolve'](_0x1cd3('0x63'),{'fields':_0x1cd3('0x82'),'userProfileId':_0x4b75a8[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x130});}]},'authenticate':!![],'permissionId':0x130,'bodyClass':_0x1cd3('0xdd')});_0x4c15f2['addPart'](_0x1cd3('0xec'));}}());(function(){'use strict';_0x2ba517[_0x1cd3('0xc')]=[_0x1cd3('0x1e')];angular[_0x1cd3('0x0')](_0x1cd3('0xed'),[])[_0x1cd3('0xf')](_0x2ba517);function _0x2ba517(_0x354f51){_0x354f51['state']('app.contactmanager.contacts',{'url':_0x1cd3('0xee'),'views':{'content@app':{'templateUrl':_0x1cd3('0xef'),'controller':_0x1cd3('0xf0')}},'resolve':{'contacts':[_0x1cd3('0x62'),_0x1cd3('0x56'),_0x1cd3('0x75'),function(_0x59f360,_0x3c79fa,_0x44cf71){return _0x3c79fa[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x59f360[_0x1cd3('0x58')](_0x1cd3('0xf1'),_[_0x1cd3('0xf2')]({'includeAll':!![],'sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0},_0x44cf71)):_0x59f360['resolve']('userProfile@getResources',_[_0x1cd3('0xf2')]({'id':_0x3c79fa[_0x1cd3('0x5d')]()['userProfileId'],'section':_0x1cd3('0xf3'),'includeAll':!![],'sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0},_0x44cf71));}],'lists':['apiResolver','Auth',function(_0x1492a6,_0x3db236){return _0x3db236[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x1492a6['resolve'](_0x1cd3('0xe0'),{'fields':'id,name','sort':'name','nolimit':!![]}):_0x1492a6['resolve']('userProfile@getResources',{'id':_0x3db236[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'section':_0x1cd3('0xf4'),'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x5b'),'nolimit':!![]});}],'listsMap':[_0x1cd3('0xf5'),function(_0x2a3840){var _0x52835c={};for(var _0x547c6d=0x0;_0x547c6d<_0x2a3840['rows']['length'];_0x547c6d++){_0x52835c[_0x2a3840[_0x1cd3('0xf6')][_0x547c6d]['id']]=_0x2a3840[_0x1cd3('0xf6')][_0x547c6d]['name'];}return _0x52835c;}],'companies':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x149381,_0x579233){return _0x579233['hasRole'](_0x1cd3('0x5f'))?_0x149381[_0x1cd3('0x58')](_0x1cd3('0xf7'),{'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'nolimit':!![]}):_0x149381[_0x1cd3('0x58')]('userProfile@getResources',{'id':_0x579233[_0x1cd3('0x5d')]()['userProfileId'],'section':_0x1cd3('0xe3'),'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'nolimit':!![]});}],'companiesMap':['companies',function(_0x30dc73){var _0x5beb1c={};for(var _0x2f630c=0x0;_0x2f630c<_0x30dc73[_0x1cd3('0xf6')][_0x1cd3('0x7a')];_0x2f630c++){_0x5beb1c[_0x30dc73[_0x1cd3('0xf6')][_0x2f630c]['id']]=_0x30dc73[_0x1cd3('0xf6')][_0x2f630c][_0x1cd3('0x98')];}return _0x5beb1c;}],'tags':['apiResolver',_0x1cd3('0x56'),function(_0x9bec52,_0x4722c2){return _0x4722c2[_0x1cd3('0x57')]('admin')?_0x9bec52[_0x1cd3('0x58')](_0x1cd3('0xf8'),{'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'nolimit':!![]}):_0x9bec52['resolve']('userProfile@getResources',{'id':_0x4722c2[_0x1cd3('0x5d')]()['userProfileId'],'section':_0x1cd3('0xf9'),'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'nolimit':!![]});}],'userProfile':[_0x1cd3('0x62'),'Auth',function(_0x1b6560,_0x1415af){return _0x1b6560['resolve'](_0x1cd3('0x60'),{'fields':_0x1cd3('0x61'),'id':_0x1415af[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')]});}],'userProfileSection':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x63b6da,_0x28778d){return _0x63b6da[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':_0x1cd3('0x82'),'userProfileId':_0x28778d[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x12f});}]},'authenticate':!![],'permissionId':0x12f,'bodyClass':'contactmanager'})['state']('app.contactmanager.contacts.edit',{'url':_0x1cd3('0x72'),'params':{'crudPermissions':undefined},'views':{'content@app':{'templateUrl':_0x1cd3('0xfa'),'controller':_0x1cd3('0xfb')}},'resolve':{'contact':[_0x1cd3('0x62'),_0x1cd3('0x75'),function(_0x31ac19,_0x22bf9c){return _0x31ac19[_0x1cd3('0x58')]('cmContact@get',{'id':_0x22bf9c['id']})['then'](function(_0x18a653){if(_0x18a653[_0x1cd3('0xfc')]){_0x18a653[_0x1cd3('0xfc')]=new Date(_0x18a653[_0x1cd3('0xfc')]);}return _0x18a653;})[_0x1cd3('0xfd')](function(_0x144c31){console['error'](_0x144c31);});}],'hoppers':[_0x1cd3('0x62'),_0x1cd3('0x75'),function(_0x1e6b28,_0x44781a){return _0x1e6b28['resolve'](_0x1cd3('0xfe'),{'id':_0x44781a['id'],'fields':_0x1cd3('0xff'),'sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0});}],'finals':[_0x1cd3('0x62'),_0x1cd3('0x75'),function(_0x5b0aed,_0x5f5693){return _0x5b0aed[_0x1cd3('0x58')](_0x1cd3('0x100'),{'id':_0x5f5693['id'],'fields':_0x1cd3('0x101'),'sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0});}],'histories':[_0x1cd3('0x62'),_0x1cd3('0x75'),function(_0x36f42e,_0x2a76b4){return _0x36f42e['resolve'](_0x1cd3('0x102'),{'id':_0x2a76b4['id'],'fields':_0x1cd3('0x103'),'sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0});}],'jscriptySessions':['apiResolver',_0x1cd3('0x75'),function(_0x330e8c,_0x399ad3){return _0x330e8c[_0x1cd3('0x58')]('cmContact@getJscriptySessions',{'id':_0x399ad3['id'],'fields':'id,starttime,endtime,membername,projectname','sort':_0x1cd3('0x104'),'limit':0xa,'offset':0x0});}],'companies':['apiResolver',_0x1cd3('0x56'),function(_0x414b21,_0x5e83ae){return _0x5e83ae['hasRole'](_0x1cd3('0x5f'))?_0x414b21[_0x1cd3('0x58')](_0x1cd3('0xf7')):_0x414b21[_0x1cd3('0x58')]('userProfile@getResources',{'id':_0x5e83ae[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'section':'Companies'});}],'lists':[_0x1cd3('0x62'),'Auth',function(_0x129ba9,_0x54c530){return _0x54c530['hasRole'](_0x1cd3('0x5f'))?_0x129ba9[_0x1cd3('0x58')](_0x1cd3('0xe0'),{'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x5b'),'nolimit':!![]}):_0x129ba9[_0x1cd3('0x58')]('userProfile@getResources',{'id':_0x54c530[_0x1cd3('0x5d')]()['userProfileId'],'section':_0x1cd3('0xf4'),'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x5b'),'nolimit':!![]});}],'customFields':[_0x1cd3('0x62'),_0x1cd3('0x105'),function(_0x50b451,_0x21e1f9){return _0x21e1f9[_0x1cd3('0x106')]?_0x50b451['resolve']('cmList@getCustomFields',{'id':_0x21e1f9[_0x1cd3('0x106')]}):null;}],'tags':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x3e59d2,_0x513cb6){return _0x513cb6[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x3e59d2[_0x1cd3('0x58')]('tag@get'):_0x3e59d2[_0x1cd3('0x58')](_0x1cd3('0x5c'),{'id':_0x513cb6[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'section':'Tags'});}],'userProfileSection':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x2e1682,_0x5843a4){return _0x2e1682['resolve']('userProfileSection@get',{'fields':_0x1cd3('0x82'),'userProfileId':_0x5843a4[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x12f});}]},'authenticate':!![],'permissionId':0x12f,'bodyClass':'contactmanager'});}}());(function(){'use strict';_0xc9d676[_0x1cd3('0xc')]=[_0x1cd3('0x1e'),'$translatePartialLoaderProvider',_0x1cd3('0x41'),_0x1cd3('0x42')];angular['module']('app.dashboards',[_0x1cd3('0x43'),_0x1cd3('0x44'),'md.data.table','flow',_0x1cd3('0x47'),_0x1cd3('0x48'),'ng-sortable',_0x1cd3('0x4a'),_0x1cd3('0x2'),_0x1cd3('0x84'),_0x1cd3('0x4b'),_0x1cd3('0x4c'),'mwFormUtils',_0x1cd3('0x85'),_0x1cd3('0x4e'),'ngEmbed',_0x1cd3('0x50'),_0x1cd3('0xb4'),_0x1cd3('0x51'),_0x1cd3('0x86'),'app.dashboards.general',_0x1cd3('0x107')])[_0x1cd3('0xf')](_0xc9d676);function _0xc9d676(_0x493f32,_0x8bf52c,_0x58892c,_0x4323c7){_0x493f32[_0x1cd3('0x19')](_0x1cd3('0x2a'),{'abstract':!![],'url':_0x1cd3('0x108')});_0x8bf52c[_0x1cd3('0x16')](_0x1cd3('0x109'));}}());(function(){'use strict';_0x5ce570[_0x1cd3('0xc')]=[_0x1cd3('0x1e')];angular[_0x1cd3('0x0')]('app.dashboards.custom',[])['config'](_0x5ce570);function _0x5ce570(_0x526cd0){_0x526cd0['state'](_0x1cd3('0x107'),{'url':_0x1cd3('0x10a'),'views':{'content@app':{'templateUrl':_0x1cd3('0x10b'),'controller':_0x1cd3('0x10c')}},'resolve':{'voiceQueues':['apiResolver',_0x1cd3('0x56'),function(_0x31bca4,_0x57a24b){var _0x84e963;var _0x95d52f=_0x57a24b[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x31bca4[_0x1cd3('0x58')](_0x1cd3('0xa3'),{'fields':_0x1cd3('0xa6'),'nolimit':!![]}):_0x31bca4['resolve'](_0x1cd3('0x5c'),{'id':_0x57a24b[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'section':'VoiceQueues','mergeResources':!![],'fields':'id,name','channel':'voice','nolimit':!![]});return _0x95d52f[_0x1cd3('0x77')](function(_0x3ee819){_0x84e963=_0x3ee819;return _0x31bca4[_0x1cd3('0x58')]('rpc@getVoiceQueues');})[_0x1cd3('0x77')](function(_0x33eaf4){if(_0x33eaf4){for(var _0x33f376=0x0,_0x338efb;_0x33f376<_0x33eaf4[_0x1cd3('0xf6')][_0x1cd3('0x7a')];_0x33f376+=0x1){_0x338efb=_['find'](_0x84e963[_0x1cd3('0xf6')],{'id':_0x33eaf4[_0x1cd3('0xf6')][_0x33f376]['id']});if(_0x338efb){_['merge'](_0x338efb,_['pick'](_0x33eaf4['rows'][_0x33f376],[_0x1cd3('0x10d'),_0x1cd3('0x10e'),_0x1cd3('0x10f'),_0x1cd3('0x110'),_0x1cd3('0x111'),_0x1cd3('0x112')]));}}}return _0x84e963;});}],'userProfile':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x45c192,_0xfae510){return _0x45c192[_0x1cd3('0x58')](_0x1cd3('0x60'),{'fields':_0x1cd3('0x61'),'id':_0xfae510['getCurrentUser']()['userProfileId']});}],'userProfileSection':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x33cd7b,_0x5a738f){return _0x33cd7b[_0x1cd3('0x58')]('userProfileSection@get',{'fields':_0x1cd3('0x82'),'userProfileId':_0x5a738f[_0x1cd3('0x5d')]()['userProfileId'],'sectionId':0x64});}]},'authenticate':!![],'bodyClass':_0x1cd3('0x113')});}}());(function(){'use strict';_0x3ac493[_0x1cd3('0xc')]=[_0x1cd3('0x1e')];angular[_0x1cd3('0x0')](_0x1cd3('0x114'),[_0x1cd3('0x115'),_0x1cd3('0x116')])[_0x1cd3('0xf')](_0x3ac493);function _0x3ac493(_0x2426a4){_0x2426a4[_0x1cd3('0x19')](_0x1cd3('0x114'),{'url':_0x1cd3('0x117'),'views':{'content@app':{'templateProvider':['$stateParams',_0x1cd3('0x118'),_0x1cd3('0x56'),function(_0x3d258d,_0xb7deb1,_0x2b83fa){if(_0x2b83fa[_0x1cd3('0x119')]()){return _0xb7deb1[_0x1cd3('0x11a')]('app/main/apps/dashboards/views/general/agent/agent.general.html',_0x3d258d);}else{return _0xb7deb1[_0x1cd3('0x11a')]('app/main/apps/dashboards/views/general/user/user.general.html',_0x3d258d);}}],'controllerProvider':[_0x1cd3('0x56'),function(_0x482253){if(_0x482253[_0x1cd3('0x119')]()){return'AgentDashboardGeneralController\x20as\x20vm';}else{return _0x1cd3('0x11b');}}]}},'resolve':{'globalUserLists':['apiResolver',_0x1cd3('0x56'),function(_0x2da785,_0x4e8fb0){return _0x2da785[_0x1cd3('0x58')](_0x1cd3('0x11c'),{'id':_0x4e8fb0[_0x1cd3('0x5d')]()['id'],'sort':_0x1cd3('0x98'),'nolimit':!![]});}],'globalLists':['apiResolver',function(_0x19d39b){return _0x19d39b['resolve'](_0x1cd3('0xe0'),{'sort':_0x1cd3('0x98'),'nolimit':!![]});}],'globalTags':[_0x1cd3('0x62'),function(_0x283429){return _0x283429[_0x1cd3('0x58')]('tag@get',{'sort':_0x1cd3('0x98'),'nolimit':!![]});}],'globalCompanies':[_0x1cd3('0x62'),function(_0x23c672){return _0x23c672['resolve']('cmCompany@get',{'sort':_0x1cd3('0x98'),'nolimit':!![]});}]},'authenticate':!![],'bodyClass':_0x1cd3('0x113')});}}());(function(){'use strict';_0x25000d['$inject']=[_0x1cd3('0x1e')];angular[_0x1cd3('0x0')](_0x1cd3('0x116'),[])['config'](_0x25000d);function _0x25000d(_0x2885b0){_0x2885b0[_0x1cd3('0x19')](_0x1cd3('0x11d'),{'url':_0x1cd3('0x11e'),'data':{'selectedTab':0x0},'views':{'voice':{'templateUrl':_0x1cd3('0x11f'),'controller':_0x1cd3('0x120')}},'resolve':{'rpcQueues':['apiResolver',function(_0x3a470c){return _0x3a470c[_0x1cd3('0x58')]('rpc@getVoiceQueues');}],'inboundQueues':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x2419a1,_0x1eb1d7){return _0x1eb1d7['hasRole'](_0x1cd3('0x5f'))?_0x2419a1[_0x1cd3('0x58')](_0x1cd3('0xa3'),{'fields':'id,name','type':_0x1cd3('0xa4'),'nolimit':!![]}):_0x2419a1[_0x1cd3('0x58')](_0x1cd3('0x5c'),{'id':_0x1eb1d7['getCurrentUser']()[_0x1cd3('0x5e')],'section':_0x1cd3('0xa5'),'fields':'id,name','type':'inbound','channel':_0x1cd3('0x121'),'nolimit':!![]});}],'outbound':[_0x1cd3('0x62'),function(_0x58c5f6){return _0x58c5f6[_0x1cd3('0x58')](_0x1cd3('0x122'));}]},'authenticate':!![],'bodyClass':'dashboards'})[_0x1cd3('0x19')](_0x1cd3('0x123'),{'url':_0x1cd3('0x124'),'data':{'selectedTab':0x1},'views':{'dialer':{'templateUrl':_0x1cd3('0x125'),'controller':_0x1cd3('0x126')}},'resolve':{'rpcQueues':[_0x1cd3('0x62'),function(_0x28aad3){return _0x28aad3[_0x1cd3('0x58')](_0x1cd3('0x127'));}],'outboundQueues':[_0x1cd3('0x62'),'Auth',function(_0x2d75fa,_0x53ec6a){return _0x53ec6a[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x2d75fa[_0x1cd3('0x58')](_0x1cd3('0xa3'),{'fields':'id,name','type':_0x1cd3('0x128'),'nolimit':!![]}):_0x2d75fa[_0x1cd3('0x58')](_0x1cd3('0x5c'),{'id':_0x53ec6a[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'section':_0x1cd3('0x129'),'fields':_0x1cd3('0xa6'),'type':_0x1cd3('0x128'),'channel':_0x1cd3('0x121'),'nolimit':!![]});}],'rpcCampaigns':[_0x1cd3('0x62'),function(_0x2d57bf){return _0x2d57bf[_0x1cd3('0x58')](_0x1cd3('0x12a'));}]},'authenticate':!![],'bodyClass':'dashboards'})[_0x1cd3('0x19')](_0x1cd3('0x12b'),{'url':_0x1cd3('0xb5'),'data':{'selectedTab':0x2},'views':{'chat':{'templateUrl':'app/main/apps/dashboards/views/general/user/chat/user.general.chat.html','controller':_0x1cd3('0x12c')}},'resolve':{'chatInteractions':['apiResolver',function(_0x381c87){return _0x381c87[_0x1cd3('0x58')](_0x1cd3('0x12d'),{'createdAt':{'$gte':moment()[_0x1cd3('0x12e')]('day')[_0x1cd3('0x12f')](0x0,!![])[_0x1cd3('0x130')](),'$lte':moment()[_0x1cd3('0x131')]('day')[_0x1cd3('0x12f')](0x0,!![])[_0x1cd3('0x130')]()},'nolimit':!![]});}],'chatWebsites':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x239a23,_0x5c6f7f){return _0x5c6f7f[_0x1cd3('0x57')]('admin')?_0x239a23[_0x1cd3('0x58')](_0x1cd3('0xc2'),{'fields':_0x1cd3('0x132'),'sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0}):_0x239a23[_0x1cd3('0x58')](_0x1cd3('0x5c'),{'id':_0x5c6f7f[_0x1cd3('0x5d')]()['userProfileId'],'section':_0x1cd3('0x133'),'fields':_0x1cd3('0x132'),'sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0});}]},'authenticate':!![],'bodyClass':_0x1cd3('0x113')})[_0x1cd3('0x19')](_0x1cd3('0x134'),{'url':_0x1cd3('0x135'),'data':{'selectedTab':0x3},'views':{'mail':{'templateUrl':_0x1cd3('0x136'),'controller':_0x1cd3('0x137')}},'resolve':{'mailInteractions':[_0x1cd3('0x62'),function(_0x4d0c6c){return _0x4d0c6c[_0x1cd3('0x58')]('mailInteraction@get',{'createdAt':{'$gte':moment()['startOf'](_0x1cd3('0x138'))[_0x1cd3('0x12f')](0x0,!![])[_0x1cd3('0x130')](),'$lte':moment()[_0x1cd3('0x131')](_0x1cd3('0x138'))[_0x1cd3('0x12f')](0x0,!![])[_0x1cd3('0x130')]()},'nolimit':!![]});}],'mailAccounts':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x3972fb,_0xc906be){return _0xc906be[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x3972fb[_0x1cd3('0x58')](_0x1cd3('0xae'),{'fields':_0x1cd3('0x139'),'sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0}):_0x3972fb['resolve'](_0x1cd3('0x5c'),{'id':_0xc906be[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'section':'MailAccounts','fields':_0x1cd3('0x139'),'sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0});}]},'authenticate':!![],'bodyClass':_0x1cd3('0x113')})[_0x1cd3('0x19')]('app.dashboards.general.sms',{'url':'/sms','data':{'selectedTab':0x4},'views':{'sms':{'templateUrl':'app/main/apps/dashboards/views/general/user/sms/user.general.sms.html','controller':_0x1cd3('0x13a')}},'resolve':{'smsInteractions':['apiResolver',function(_0x290291){return _0x290291['resolve']('smsInteraction@get',{'createdAt':{'$gte':moment()[_0x1cd3('0x12e')]('day')[_0x1cd3('0x12f')](0x0,!![])['format'](),'$lte':moment()['endOf']('day')[_0x1cd3('0x12f')](0x0,!![])[_0x1cd3('0x130')]()},'nolimit':!![]});}],'smsAccounts':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x33c455,_0x5ef130){return _0x5ef130[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x33c455[_0x1cd3('0x58')]('smsAccount@get',{'fields':'createdAt,updatedAt,id,name,key,token,remote,ListId,phone,type,accountSid,authId,authToken,smsMethod,username,password,senderString,deliveryReport,waitForTheAssignedAgent,description,receiveUrl,deliveryReportUrl,notificationSound,notificationShake,notificationTemplate','sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0}):_0x33c455[_0x1cd3('0x58')](_0x1cd3('0x5c'),{'id':_0x5ef130[_0x1cd3('0x5d')]()['userProfileId'],'section':_0x1cd3('0xb2'),'fields':'createdAt,updatedAt,id,name,key,token,remote,ListId,phone,type,accountSid,authId,authToken,smsMethod,username,password,senderString,deliveryReport,waitForTheAssignedAgent,description,receiveUrl,deliveryReportUrl,notificationSound,notificationShake,notificationTemplate','sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0});}]},'authenticate':!![],'bodyClass':'dashboards'})[_0x1cd3('0x19')](_0x1cd3('0x13b'),{'url':_0x1cd3('0x13c'),'data':{'selectedTab':0x5},'views':{'openchannel':{'templateUrl':_0x1cd3('0x13d'),'controller':'UserOpenchannelDashboardGeneralController\x20as\x20vm'}},'resolve':{'openchannelInteractions':[_0x1cd3('0x62'),function(_0x3e5af3){return _0x3e5af3[_0x1cd3('0x58')](_0x1cd3('0x13e'),{'createdAt':{'$gte':moment()['startOf'](_0x1cd3('0x138'))[_0x1cd3('0x12f')](0x0,!![])[_0x1cd3('0x130')](),'$lte':moment()[_0x1cd3('0x131')](_0x1cd3('0x138'))[_0x1cd3('0x12f')](0x0,!![])[_0x1cd3('0x130')]()},'nolimit':!![]});}],'openchannelAccounts':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0xfa5264,_0x2a1b38){return _0x2a1b38[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0xfa5264[_0x1cd3('0x58')]('openchannelAccount@get',{'fields':_0x1cd3('0x13f'),'sort':_0x1cd3('0x5b'),'nolimit':!![]}):_0xfa5264[_0x1cd3('0x58')](_0x1cd3('0x5c'),{'id':_0x2a1b38[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'section':_0x1cd3('0x140'),'fields':_0x1cd3('0x13f'),'sort':'-updatedAt','nolimit':!![]});}]},'authenticate':!![],'bodyClass':'dashboards'})['state'](_0x1cd3('0x141'),{'url':'/fax','data':{'selectedTab':0x6},'views':{'fax':{'templateUrl':_0x1cd3('0x142'),'controller':_0x1cd3('0x143')}},'resolve':{'faxInteractions':[_0x1cd3('0x62'),function(_0x288ab6){return _0x288ab6[_0x1cd3('0x58')]('faxInteraction@get',{'createdAt':{'$gte':moment()[_0x1cd3('0x12e')](_0x1cd3('0x138'))['utcOffset'](0x0,!![])[_0x1cd3('0x130')](),'$lte':moment()[_0x1cd3('0x131')](_0x1cd3('0x138'))[_0x1cd3('0x12f')](0x0,!![])[_0x1cd3('0x130')]()},'nolimit':!![]});}],'faxAccounts':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x2337f9,_0x9f4d44){return _0x9f4d44['hasRole'](_0x1cd3('0x5f'))?_0x2337f9[_0x1cd3('0x58')](_0x1cd3('0x144'),{'fields':_0x1cd3('0x145'),'sort':'-updatedAt','limit':0xa,'offset':0x0}):_0x2337f9[_0x1cd3('0x58')](_0x1cd3('0x5c'),{'id':_0x9f4d44[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'section':'FaxAccounts','fields':_0x1cd3('0x145'),'sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0});}]},'authenticate':!![],'bodyClass':'dashboards'})[_0x1cd3('0x19')](_0x1cd3('0x146'),{'url':_0x1cd3('0x147'),'data':{'selectedTab':0x7},'views':{'whatsapp':{'templateUrl':_0x1cd3('0x148'),'controller':_0x1cd3('0x149')}},'resolve':{'whatsappInteractions':[_0x1cd3('0x62'),function(_0x1dd946){return _0x1dd946['resolve']('whatsappInteraction@get',{'createdAt':{'$gte':moment()[_0x1cd3('0x12e')](_0x1cd3('0x138'))['utcOffset'](0x0,!![])[_0x1cd3('0x130')](),'$lte':moment()[_0x1cd3('0x131')](_0x1cd3('0x138'))['utcOffset'](0x0,!![])[_0x1cd3('0x130')]()},'nolimit':!![]});}],'whatsappAccounts':[_0x1cd3('0x62'),'Auth',function(_0x1e6a9e,_0x26b4b2){return _0x26b4b2[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x1e6a9e['resolve'](_0x1cd3('0x14a'),{'fields':_0x1cd3('0x14b'),'sort':'-updatedAt','limit':0xa,'offset':0x0}):_0x1e6a9e[_0x1cd3('0x58')](_0x1cd3('0x5c'),{'id':_0x26b4b2[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'section':_0x1cd3('0x14c'),'fields':_0x1cd3('0x14b'),'sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0});}]},'authenticate':!![],'bodyClass':'dashboards'});}}());(function(){'use strict';_0xf6d632[_0x1cd3('0xc')]=[_0x1cd3('0x1e'),_0x1cd3('0xd'),_0x1cd3('0x41'),_0x1cd3('0x42')];angular[_0x1cd3('0x0')](_0x1cd3('0x32'),['ngCsv',_0x1cd3('0x44'),_0x1cd3('0x45'),'flow',_0x1cd3('0x47'),'ckeditor',_0x1cd3('0x49'),'ngAria','ngAnimate',_0x1cd3('0x84'),_0x1cd3('0x4b'),_0x1cd3('0x4c'),_0x1cd3('0x4d'),_0x1cd3('0x85'),'angular-cron-jobs','ngEmbed',_0x1cd3('0x50'),_0x1cd3('0xb4'),'chart.js',_0x1cd3('0x86'),_0x1cd3('0x14d')])[_0x1cd3('0xf')](_0xf6d632);function _0xf6d632(_0x55c9bc,_0x4fae53,_0x27ba8d,_0x2b052f){_0x55c9bc['state'](_0x1cd3('0x32'),{'abstract':!![],'url':_0x1cd3('0x14e')})['state'](_0x1cd3('0x14f'),{'url':_0x1cd3('0x150'),'views':{'content@app':{'templateUrl':_0x1cd3('0x151'),'controller':_0x1cd3('0x152')}},'resolve':{'faxQueues':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x5e5a6d,_0x40bca1){return _0x40bca1[_0x1cd3('0x57')]('admin')?_0x5e5a6d[_0x1cd3('0x58')]('faxQueue@get',{'fields':'createdAt,updatedAt,id,name,strategy,timeout,description','sort':_0x1cd3('0x5b'),'channel':'fax','limit':0xa,'offset':0x0}):_0x5e5a6d[_0x1cd3('0x58')](_0x1cd3('0x5c'),{'id':_0x40bca1['getCurrentUser']()[_0x1cd3('0x5e')],'section':_0x1cd3('0x153'),'fields':_0x1cd3('0xbb'),'sort':_0x1cd3('0x5b'),'channel':_0x1cd3('0x154'),'limit':0xa,'offset':0x0});}],'userProfile':['apiResolver',_0x1cd3('0x56'),function(_0x5a8795,_0x59a3a0){return _0x59a3a0[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x5a8795[_0x1cd3('0x58')]('userProfile@get',{'fields':_0x1cd3('0x61'),'id':_0x59a3a0['getCurrentUser']()[_0x1cd3('0x5e')]});}],'userProfileSection':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x164031,_0x1c9992){return _0x1c9992['hasRole'](_0x1cd3('0x5f'))?null:_0x164031[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':_0x1cd3('0x82'),'userProfileId':_0x1c9992[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x385});}]},'authenticate':!![],'permissionId':0x385,'bodyClass':'fax'})['state']('app.fax.faxQueues.edit',{'url':'/:id?tab','params':{'faxQueue':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':'app/main/apps/fax/views/faxQueues/edit/view.html','controller':_0x1cd3('0x155')}},'resolve':{'faxQueue':[_0x1cd3('0x62'),_0x1cd3('0x75'),function(_0x373869,_0x1cddaf){return _0x373869['resolve'](_0x1cd3('0x156'),{'fields':_0x1cd3('0xbb'),'id':_0x1cddaf['id']});}],'userProfileSection':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x35c8f8,_0xf6ca39){return _0x35c8f8[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':'id,name,enabled,includeAll,autoAssociation,crudPermissions','userProfileId':_0xf6ca39[_0x1cd3('0x5d')]()['userProfileId'],'sectionId':0x385});}]},'authenticate':!![],'permissionId':0x385,'bodyClass':_0x1cd3('0x154')})[_0x1cd3('0x19')](_0x1cd3('0x157'),{'url':_0x1cd3('0x158'),'views':{'content@app':{'templateUrl':_0x1cd3('0x159'),'controller':_0x1cd3('0x15a')}},'resolve':{'faxAccounts':['apiResolver',_0x1cd3('0x56'),function(_0x34053c,_0x2a3628){return _0x2a3628[_0x1cd3('0x57')]('admin')?_0x34053c[_0x1cd3('0x58')](_0x1cd3('0x144'),{'fields':_0x1cd3('0x15b'),'sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0}):_0x34053c[_0x1cd3('0x58')](_0x1cd3('0x5c'),{'id':_0x2a3628[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'section':_0x1cd3('0x15c'),'fields':_0x1cd3('0x15b'),'sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0});}],'userProfile':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x296c9f,_0xe0c699){return _0xe0c699['hasRole']('admin')?null:_0x296c9f['resolve']('userProfile@get',{'fields':_0x1cd3('0x61'),'id':_0xe0c699[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')]});}],'userProfileSection':['apiResolver',_0x1cd3('0x56'),function(_0x637a42,_0x18fec5){return _0x18fec5[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x637a42[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':'id,name,enabled,includeAll,autoAssociation,crudPermissions','userProfileId':_0x18fec5[_0x1cd3('0x5d')]()['userProfileId'],'sectionId':0x386});}]},'authenticate':!![],'permissionId':0x386,'bodyClass':_0x1cd3('0x154')})[_0x1cd3('0x19')](_0x1cd3('0x15d'),{'url':_0x1cd3('0x72'),'params':{'faxAccount':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':_0x1cd3('0x15e'),'controller':_0x1cd3('0x15f')}},'resolve':{'faxAccount':[_0x1cd3('0x62'),_0x1cd3('0x75'),function(_0x5a3465,_0x1293fa){return _0x5a3465[_0x1cd3('0x58')]('faxAccount@get',{'fields':_0x1cd3('0x15b'),'id':_0x1293fa['id']});}],'userProfileSection':['apiResolver','Auth',function(_0x2d2c40,_0xf530e0){return _0x2d2c40[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':_0x1cd3('0x82'),'userProfileId':_0xf530e0[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x386});}]},'authenticate':!![],'permissionId':0x386,'bodyClass':_0x1cd3('0x154')});_0x4fae53['addPart'](_0x1cd3('0x160'));}}());(function(){'use strict';_0x422d1b[_0x1cd3('0xc')]=[_0x1cd3('0x1e')];angular['module'](_0x1cd3('0x14d'),[])[_0x1cd3('0xf')](_0x422d1b);function _0x422d1b(_0x40789e){_0x40789e[_0x1cd3('0x19')]('app.fax.realtime',{'url':_0x1cd3('0xc9'),'views':{'content@app':{'templateUrl':'app/main/apps/fax/views/realtime/realtime.html','controller':'FaxRealtimeController\x20as\x20vm'}},'resolve':{'userProfile':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x452964,_0x2fc50c){return _0x2fc50c[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x452964[_0x1cd3('0x58')]('userProfile@get',{'fields':_0x1cd3('0x61'),'id':_0x2fc50c['getCurrentUser']()['userProfileId']});}],'userProfileSection':[_0x1cd3('0x62'),'Auth',function(_0x236069,_0x23ac7e){return _0x23ac7e[_0x1cd3('0x57')]('admin')?null:_0x236069[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':_0x1cd3('0x82'),'userProfileId':_0x23ac7e[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x38e});}]},'authenticate':!![],'permissionId':0x38e})['state']('app.fax.realtime.agents',{'url':_0x1cd3('0xcd'),'controller':_0x1cd3('0x161'),'templateUrl':_0x1cd3('0x162'),'resolve':{'pauses':[_0x1cd3('0x62'),function(_0x35302d){return _0x35302d[_0x1cd3('0x58')]('pause@get',{'nolimit':!![]});}],'agents':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x4aeddf,_0xb9cb2e){return _0xb9cb2e[_0x1cd3('0x57')]('admin')?_0x4aeddf[_0x1cd3('0x58')](_0x1cd3('0x9e'),{'fields':_0x1cd3('0xd1'),'role':_0x1cd3('0xd2'),'sort':'fullname','nolimit':!![]}):_0x4aeddf['resolve'](_0x1cd3('0x5c'),{'id':_0xb9cb2e[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'section':_0x1cd3('0xd4'),'fields':_0x1cd3('0xd1'),'role':_0x1cd3('0xd2'),'sort':_0x1cd3('0xd3'),'nolimit':!![]});}],'userProfile':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x570f23,_0x43dd9e){return _0x43dd9e[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x570f23[_0x1cd3('0x58')](_0x1cd3('0x60'),{'fields':_0x1cd3('0x61'),'id':_0x43dd9e['getCurrentUser']()[_0x1cd3('0x5e')]});}],'userProfileSection':[_0x1cd3('0x62'),'Auth',function(_0x419c9f,_0x167d8d){return _0x167d8d[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x419c9f['resolve'](_0x1cd3('0x63'),{'fields':_0x1cd3('0x82'),'userProfileId':_0x167d8d[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0xca});}],'rpcAgents':['apiResolver',function(_0x341ce9){return _0x341ce9[_0x1cd3('0x58')](_0x1cd3('0xd5'));}]},'authenticate':!![],'permissionId':0x38e})['state'](_0x1cd3('0x163'),{'url':'/trunks','controller':_0x1cd3('0x164'),'templateUrl':_0x1cd3('0x165'),'resolve':{'trunks':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x25ce4c,_0x2e9bd3){return _0x2e9bd3['hasRole']('admin')?_0x25ce4c[_0x1cd3('0x58')]('trunk@get',{'fields':'id,name','active':!![],'sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0}):_0x25ce4c[_0x1cd3('0x58')](_0x1cd3('0x5c'),{'id':_0x2e9bd3[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'section':_0x1cd3('0xa2'),'fields':_0x1cd3('0xa6'),'active':!![],'sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0});}],'userProfile':[_0x1cd3('0x62'),'Auth',function(_0x43a103,_0x50ab07){return _0x50ab07[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x43a103[_0x1cd3('0x58')](_0x1cd3('0x60'),{'fields':_0x1cd3('0x61'),'id':_0x50ab07[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')]});}],'userProfileSection':['apiResolver','Auth',function(_0x201787,_0x368f50){return _0x368f50[_0x1cd3('0x57')]('admin')?null:_0x201787[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':_0x1cd3('0x82'),'userProfileId':_0x368f50[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x3f3});}],'rpcTrunks':[_0x1cd3('0x62'),function(_0x5e7c21){return _0x5e7c21[_0x1cd3('0x58')](_0x1cd3('0x166'));}]},'authenticate':!![],'permissionId':0x38e})[_0x1cd3('0x19')](_0x1cd3('0x167'),{'url':_0x1cd3('0xd7'),'controller':'QueuesFaxRealtimeController\x20as\x20vm','templateUrl':_0x1cd3('0x168'),'resolve':{'queues':[_0x1cd3('0x62'),'Auth',function(_0x43f8d4,_0x40105e){return _0x40105e[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x43f8d4[_0x1cd3('0x58')](_0x1cd3('0x156'),{'type':'inbound','sort':'-updatedAt','limit':0xa,'offset':0x0}):_0x43f8d4[_0x1cd3('0x58')]('userProfile@getResources',{'id':_0x40105e['getCurrentUser']()[_0x1cd3('0x5e')],'section':_0x1cd3('0x153'),'channel':'fax','type':_0x1cd3('0xa4'),'sort':_0x1cd3('0x5b'),'limit':0xa,'page':0x1});}],'userProfile':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x11f693,_0x424e64){return _0x424e64['hasRole']('admin')?null:_0x11f693[_0x1cd3('0x58')](_0x1cd3('0x60'),{'fields':'id,name,crudPermissions','id':_0x424e64[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')]});}],'userProfileSection':[_0x1cd3('0x62'),'Auth',function(_0x9853e6,_0x2e6b28){return _0x2e6b28[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x9853e6['resolve'](_0x1cd3('0x63'),{'fields':_0x1cd3('0x82'),'userProfileId':_0x2e6b28[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x385});}],'rpcQueues':[_0x1cd3('0x62'),function(_0x235e49){return _0x235e49[_0x1cd3('0x58')](_0x1cd3('0x169'));}]},'authenticate':!![],'permissionId':0x38e})['state'](_0x1cd3('0x16a'),{'url':'/accounts','controller':_0x1cd3('0x16b'),'templateUrl':_0x1cd3('0x16c'),'resolve':{'faxAccounts':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x24f7c2,_0xb45c3f){return _0xb45c3f[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x24f7c2[_0x1cd3('0x58')](_0x1cd3('0x144'),{'sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0}):_0x24f7c2[_0x1cd3('0x58')](_0x1cd3('0x5c'),{'id':_0xb45c3f[_0x1cd3('0x5d')]()['userProfileId'],'section':'FaxAccounts','sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0});}],'userProfile':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x50f697,_0x49d332){return _0x49d332[_0x1cd3('0x57')]('admin')?null:_0x50f697[_0x1cd3('0x58')](_0x1cd3('0x60'),{'fields':_0x1cd3('0x61'),'id':_0x49d332[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')]});}],'userProfileSection':['apiResolver',_0x1cd3('0x56'),function(_0xcfb457,_0xf1b43){return _0xf1b43[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0xcfb457[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':_0x1cd3('0x82'),'userProfileId':_0xf1b43['getCurrentUser']()[_0x1cd3('0x5e')],'sectionId':0x386});}],'rpcFaxAccounts':['apiResolver',function(_0x3a9040){return _0x3a9040[_0x1cd3('0x58')](_0x1cd3('0x16d'));}]},'authenticate':!![],'permissionId':0x38e});}}());(function(){'use strict';_0x20685b[_0x1cd3('0xc')]=['$stateProvider',_0x1cd3('0xd'),_0x1cd3('0x41'),_0x1cd3('0x42')];angular[_0x1cd3('0x0')](_0x1cd3('0x16e'),[_0x1cd3('0x43'),'ngPassword',_0x1cd3('0x45'),_0x1cd3('0x46'),'mdColorPicker','ckeditor',_0x1cd3('0x49'),_0x1cd3('0x4a'),'ngAnimate',_0x1cd3('0x84'),_0x1cd3('0x4b'),_0x1cd3('0x4c'),'mwFormUtils','ngclipboard',_0x1cd3('0x4e'),_0x1cd3('0x4f'),_0x1cd3('0x50'),_0x1cd3('0xb4'),'chart.js',_0x1cd3('0x86'),_0x1cd3('0x16f')])['config'](_0x20685b);function _0x20685b(_0x54dba5,_0x39ade7,_0x2fb317,_0x3b6463){_0x54dba5[_0x1cd3('0x19')]('app.help',{'abstract':!![],'url':'/help'});_0x39ade7['addPart'](_0x1cd3('0x170'));}}());(function(){'use strict';_0x34f6d8[_0x1cd3('0xc')]=[_0x1cd3('0x1e')];angular[_0x1cd3('0x0')](_0x1cd3('0x16f'),[])[_0x1cd3('0xf')](_0x34f6d8);function _0x34f6d8(_0x390e99){_0x390e99[_0x1cd3('0x19')](_0x1cd3('0x16f'),{'url':_0x1cd3('0x171'),'views':{'content@app':{'templateUrl':'app/main/apps/help/views/about/about.html','controller':'AboutController\x20as\x20vm'}},'resolve':{'info':['apiResolver',function(_0x5e28f6){return _0x5e28f6[_0x1cd3('0x58')]('version@get');}]},'authenticate':!![],'permissionId':0x640,'bodyClass':_0x1cd3('0x172')});}}());(function(){'use strict';_0x177da1['$inject']=[_0x1cd3('0x1e'),'$translatePartialLoaderProvider',_0x1cd3('0x41'),_0x1cd3('0x42')];angular[_0x1cd3('0x0')]('app.integrations',[_0x1cd3('0x43'),_0x1cd3('0x44'),_0x1cd3('0x45'),_0x1cd3('0x46'),_0x1cd3('0x47'),'ckeditor',_0x1cd3('0x49'),'ngAria',_0x1cd3('0x2'),_0x1cd3('0x84'),'mwFormBuilder',_0x1cd3('0x4c'),_0x1cd3('0x4d'),_0x1cd3('0x85'),'angular-cron-jobs',_0x1cd3('0x4f'),'angularMaterialFormBuilder',_0x1cd3('0xb4'),_0x1cd3('0x51'),_0x1cd3('0x86')])[_0x1cd3('0xf')](_0x177da1);function _0x177da1(_0x113383,_0x508f76,_0x4eeb43,_0x4bb595){_0x113383[_0x1cd3('0x19')](_0x1cd3('0x35'),{'abstract':!![],'url':_0x1cd3('0x173')})[_0x1cd3('0x19')](_0x1cd3('0x174'),{'url':_0x1cd3('0x175'),'views':{'content@app':{'templateUrl':_0x1cd3('0x176'),'controller':_0x1cd3('0x177')}},'resolve':{'zendeskAccounts':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x154cf9,_0x5d402a){return _0x5d402a[_0x1cd3('0x57')]('admin')?_0x154cf9[_0x1cd3('0x58')](_0x1cd3('0x178'),{'fields':_0x1cd3('0x179'),'limit':0xa,'offset':0x0}):_0x154cf9[_0x1cd3('0x58')](_0x1cd3('0x5c'),{'id':_0x5d402a[_0x1cd3('0x5d')]()['userProfileId'],'section':_0x1cd3('0x17a'),'fields':_0x1cd3('0x179'),'limit':0xa,'offset':0x0});}],'userProfile':[_0x1cd3('0x62'),'Auth',function(_0x402fa0,_0x2d62e7){return _0x2d62e7[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x402fa0[_0x1cd3('0x58')](_0x1cd3('0x60'),{'fields':_0x1cd3('0x61'),'id':_0x2d62e7[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')]});}],'userProfileSection':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x4f3397,_0x4d5c5a){return _0x4d5c5a['hasRole'](_0x1cd3('0x5f'))?null:_0x4f3397[_0x1cd3('0x58')]('userProfileSection@get',{'fields':_0x1cd3('0x82'),'userProfileId':_0x4d5c5a[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x515});}]},'authenticate':!![],'permissionId':0x515,'bodyClass':_0x1cd3('0x17b')})['state'](_0x1cd3('0x17c'),{'url':_0x1cd3('0x72'),'params':{'zendeskAccount':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':_0x1cd3('0x17d'),'controller':_0x1cd3('0x17e')}},'resolve':{'zendeskAccount':[_0x1cd3('0x62'),_0x1cd3('0x75'),function(_0x49959e,_0x539e01){return _0x49959e[_0x1cd3('0x58')]('intZendeskAccount@get',{'fields':_0x1cd3('0x179'),'id':_0x539e01['id']});}],'userProfileSection':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x30a00e,_0x57075a){return _0x30a00e['resolve']('userProfileSection@get',{'fields':_0x1cd3('0x82'),'userProfileId':_0x57075a[_0x1cd3('0x5d')]()['userProfileId'],'sectionId':0x515});}]},'authenticate':!![],'permissionId':0x515,'bodyClass':'integrations'})['state'](_0x1cd3('0x17f'),{'url':'/salesforceAccounts','views':{'content@app':{'templateUrl':'app/main/apps/integrations/views/salesforceAccounts/salesforceAccounts.html','controller':_0x1cd3('0x180')}},'resolve':{'salesforceAccounts':[_0x1cd3('0x62'),'Auth',function(_0x1f0edd,_0x30a335){return _0x30a335['hasRole'](_0x1cd3('0x5f'))?_0x1f0edd['resolve'](_0x1cd3('0x181'),{'fields':'createdAt,updatedAt,id,name,type,username,remoteUri,password,clientId,clientSecret,securityToken,serverUrl,description','limit':0xa,'offset':0x0}):_0x1f0edd['resolve'](_0x1cd3('0x5c'),{'id':_0x30a335[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'section':'SalesforceAccounts','fields':'createdAt,updatedAt,id,name,type,username,remoteUri,password,clientId,clientSecret,securityToken,serverUrl,description','limit':0xa,'offset':0x0});}],'userProfile':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x4dce65,_0x1243c9){return _0x1243c9['hasRole']('admin')?null:_0x4dce65['resolve'](_0x1cd3('0x60'),{'fields':_0x1cd3('0x61'),'id':_0x1243c9['getCurrentUser']()[_0x1cd3('0x5e')]});}],'userProfileSection':['apiResolver',_0x1cd3('0x56'),function(_0x18965d,_0x490b70){return _0x490b70['hasRole']('admin')?null:_0x18965d['resolve'](_0x1cd3('0x63'),{'fields':_0x1cd3('0x82'),'userProfileId':_0x490b70[_0x1cd3('0x5d')]()['userProfileId'],'sectionId':0x516});}]},'authenticate':!![],'permissionId':0x516,'bodyClass':_0x1cd3('0x17b')})[_0x1cd3('0x19')](_0x1cd3('0x182'),{'url':'/:id?tab','params':{'salesforceAccount':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':_0x1cd3('0x183'),'controller':_0x1cd3('0x184')}},'resolve':{'salesforceAccount':[_0x1cd3('0x62'),'$stateParams',function(_0x49180a,_0x5d4999){return _0x49180a['resolve'](_0x1cd3('0x181'),{'fields':_0x1cd3('0x185'),'id':_0x5d4999['id']});}],'userProfileSection':['apiResolver',_0x1cd3('0x56'),function(_0x5562c7,_0x5df6c5){return _0x5562c7['resolve']('userProfileSection@get',{'fields':'id,name,enabled,includeAll,autoAssociation,crudPermissions','userProfileId':_0x5df6c5['getCurrentUser']()[_0x1cd3('0x5e')],'sectionId':0x516});}]},'authenticate':!![],'permissionId':0x516,'bodyClass':_0x1cd3('0x17b')})[_0x1cd3('0x19')](_0x1cd3('0x186'),{'url':_0x1cd3('0x187'),'views':{'content@app':{'templateUrl':'app/main/apps/integrations/views/freshdeskAccounts/freshdeskAccounts.html','controller':_0x1cd3('0x188')}},'resolve':{'freshdeskAccounts':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x41ab43,_0x22ec3c){return _0x22ec3c[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x41ab43[_0x1cd3('0x58')](_0x1cd3('0x189'),{'fields':_0x1cd3('0x18a'),'limit':0xa,'offset':0x0}):_0x41ab43['resolve'](_0x1cd3('0x5c'),{'id':_0x22ec3c['getCurrentUser']()['userProfileId'],'section':_0x1cd3('0x18b'),'fields':'createdAt,updatedAt,id,name,username,remoteUri,apiKey,serverUrl,description','limit':0xa,'offset':0x0});}],'userProfile':[_0x1cd3('0x62'),'Auth',function(_0x5c1278,_0x493da8){return _0x493da8['hasRole'](_0x1cd3('0x5f'))?null:_0x5c1278[_0x1cd3('0x58')](_0x1cd3('0x60'),{'fields':_0x1cd3('0x61'),'id':_0x493da8[_0x1cd3('0x5d')]()['userProfileId']});}],'userProfileSection':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x4f2e8f,_0x50d456){return _0x50d456[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x4f2e8f[_0x1cd3('0x58')]('userProfileSection@get',{'fields':_0x1cd3('0x82'),'userProfileId':_0x50d456[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x517});}]},'authenticate':!![],'permissionId':0x517,'bodyClass':'integrations'})[_0x1cd3('0x19')](_0x1cd3('0x18c'),{'url':'/:id?tab','params':{'freshdeskAccount':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':_0x1cd3('0x18d'),'controller':_0x1cd3('0x18e')}},'resolve':{'freshdeskAccount':[_0x1cd3('0x62'),'$stateParams',function(_0x16a13e,_0x5df4f2){return _0x16a13e[_0x1cd3('0x58')](_0x1cd3('0x189'),{'fields':_0x1cd3('0x18a'),'id':_0x5df4f2['id']});}],'userProfileSection':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x264d8f,_0x37de19){return _0x264d8f[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':_0x1cd3('0x82'),'userProfileId':_0x37de19['getCurrentUser']()[_0x1cd3('0x5e')],'sectionId':0x517});}]},'authenticate':!![],'permissionId':0x517,'bodyClass':_0x1cd3('0x17b')})[_0x1cd3('0x19')](_0x1cd3('0x18f'),{'url':'/sugarcrmAccounts','views':{'content@app':{'templateUrl':_0x1cd3('0x190'),'controller':'SugarcrmAccountsController\x20as\x20vm'}},'resolve':{'sugarcrmAccounts':['apiResolver',_0x1cd3('0x56'),function(_0x17f715,_0x1d8f9d){return _0x1d8f9d[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x17f715[_0x1cd3('0x58')](_0x1cd3('0x191'),{'fields':_0x1cd3('0x192'),'limit':0xa,'offset':0x0}):_0x17f715[_0x1cd3('0x58')](_0x1cd3('0x5c'),{'id':_0x1d8f9d[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'section':_0x1cd3('0x193'),'fields':'createdAt,updatedAt,id,name,username,remoteUri,password,serverUrl,description','limit':0xa,'offset':0x0});}],'userProfile':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x502503,_0x17538b){return _0x17538b['hasRole'](_0x1cd3('0x5f'))?null:_0x502503[_0x1cd3('0x58')](_0x1cd3('0x60'),{'fields':_0x1cd3('0x61'),'id':_0x17538b[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')]});}],'userProfileSection':['apiResolver',_0x1cd3('0x56'),function(_0x504bbd,_0x205361){return _0x205361[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x504bbd[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':_0x1cd3('0x82'),'userProfileId':_0x205361[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x519});}]},'authenticate':!![],'permissionId':0x519,'bodyClass':_0x1cd3('0x17b')})['state'](_0x1cd3('0x194'),{'url':_0x1cd3('0x72'),'params':{'sugarcrmAccount':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':_0x1cd3('0x195'),'controller':'SugarcrmAccountController\x20as\x20vm'}},'resolve':{'sugarcrmAccount':[_0x1cd3('0x62'),_0x1cd3('0x75'),function(_0x21db6f,_0x501af5){return _0x21db6f[_0x1cd3('0x58')](_0x1cd3('0x191'),{'fields':_0x1cd3('0x192'),'id':_0x501af5['id']});}],'userProfileSection':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x3dc431,_0x55ffb5){return _0x3dc431[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':'id,name,enabled,includeAll,autoAssociation,crudPermissions','userProfileId':_0x55ffb5[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x519});}]},'authenticate':!![],'permissionId':0x519,'bodyClass':_0x1cd3('0x17b')})[_0x1cd3('0x19')](_0x1cd3('0x196'),{'url':'/deskAccounts','views':{'content@app':{'templateUrl':'app/main/apps/integrations/views/deskAccounts/deskAccounts.html','controller':_0x1cd3('0x197')}},'resolve':{'deskAccounts':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0xedebc7,_0x37da10){return _0x37da10[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0xedebc7['resolve'](_0x1cd3('0x198'),{'fields':_0x1cd3('0x199'),'limit':0xa,'offset':0x0}):_0xedebc7[_0x1cd3('0x58')](_0x1cd3('0x5c'),{'id':_0x37da10[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'section':_0x1cd3('0x19a'),'fields':_0x1cd3('0x199'),'limit':0xa,'offset':0x0});}],'userProfile':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x4dbba8,_0x2151c1){return _0x2151c1[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x4dbba8['resolve'](_0x1cd3('0x60'),{'fields':'id,name,crudPermissions','id':_0x2151c1['getCurrentUser']()[_0x1cd3('0x5e')]});}],'userProfileSection':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0xc2b6f2,_0x5b4c5e){return _0x5b4c5e[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0xc2b6f2['resolve'](_0x1cd3('0x63'),{'fields':_0x1cd3('0x82'),'userProfileId':_0x5b4c5e[_0x1cd3('0x5d')]()['userProfileId'],'sectionId':0x51a});}]},'authenticate':!![],'permissionId':0x51a,'bodyClass':_0x1cd3('0x17b')})[_0x1cd3('0x19')](_0x1cd3('0x19b'),{'url':_0x1cd3('0x72'),'params':{'deskAccount':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':_0x1cd3('0x19c'),'controller':_0x1cd3('0x19d')}},'resolve':{'deskAccount':['apiResolver','$stateParams',function(_0x4ec9b3,_0x2cb7d5){return _0x4ec9b3[_0x1cd3('0x58')](_0x1cd3('0x198'),{'fields':'createdAt,updatedAt,id,name,type,remoteUri,authType,username,password,serverUrl,description','id':_0x2cb7d5['id']});}],'userProfileSection':['apiResolver',_0x1cd3('0x56'),function(_0x122a8f,_0x5792b6){return _0x122a8f[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':_0x1cd3('0x82'),'userProfileId':_0x5792b6[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x51a});}]},'authenticate':!![],'permissionId':0x51a,'bodyClass':_0x1cd3('0x17b')})[_0x1cd3('0x19')]('app.integrations.zohoAccounts',{'url':_0x1cd3('0x19e'),'views':{'content@app':{'templateUrl':_0x1cd3('0x19f'),'controller':_0x1cd3('0x1a0')}},'resolve':{'zohoAccounts':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x3cb0a2,_0x4a3b8b){return _0x4a3b8b[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x3cb0a2[_0x1cd3('0x58')]('intZohoAccount@get',{'fields':_0x1cd3('0x1a1'),'limit':0xa,'offset':0x0}):_0x3cb0a2[_0x1cd3('0x58')](_0x1cd3('0x5c'),{'id':_0x4a3b8b[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'section':'ZohoAccounts','fields':_0x1cd3('0x1a1'),'limit':0xa,'offset':0x0});}],'userProfile':[_0x1cd3('0x62'),'Auth',function(_0x38f93f,_0x40eb2f){return _0x40eb2f[_0x1cd3('0x57')]('admin')?null:_0x38f93f[_0x1cd3('0x58')]('userProfile@get',{'fields':_0x1cd3('0x61'),'id':_0x40eb2f['getCurrentUser']()[_0x1cd3('0x5e')]});}],'userProfileSection':['apiResolver','Auth',function(_0x244244,_0x3caa96){return _0x3caa96[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x244244[_0x1cd3('0x58')]('userProfileSection@get',{'fields':'id,name,enabled,includeAll,autoAssociation,crudPermissions','userProfileId':_0x3caa96[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x51b});}]},'authenticate':!![],'permissionId':0x51b,'bodyClass':'integrations'})[_0x1cd3('0x19')](_0x1cd3('0x1a2'),{'url':'/:id?tab','params':{'zohoAccount':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':'app/main/apps/integrations/views/zohoAccounts/edit/view.html','controller':'ZohoAccountController\x20as\x20vm'}},'resolve':{'zohoAccount':['apiResolver',_0x1cd3('0x75'),function(_0x151bb9,_0x1b3b71){return _0x151bb9[_0x1cd3('0x58')](_0x1cd3('0x1a3'),{'fields':_0x1cd3('0x1a1'),'id':_0x1b3b71['id']});}],'userProfileSection':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x19940d,_0x2289fa){return _0x19940d[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':'id,name,enabled,includeAll,autoAssociation,crudPermissions','userProfileId':_0x2289fa['getCurrentUser']()['userProfileId'],'sectionId':0x51b});}]},'authenticate':!![],'permissionId':0x51b,'bodyClass':_0x1cd3('0x17b')})['state']('app.integrations.vtigerAccounts',{'url':'/vtigerAccounts','views':{'content@app':{'templateUrl':_0x1cd3('0x1a4'),'controller':_0x1cd3('0x1a5')}},'resolve':{'vtigerAccounts':[_0x1cd3('0x62'),'Auth',function(_0x5d4813,_0x1c62a7){return _0x1c62a7['hasRole'](_0x1cd3('0x5f'))?_0x5d4813['resolve'](_0x1cd3('0x1a6'),{'fields':_0x1cd3('0x1a7'),'limit':0xa,'offset':0x0}):_0x5d4813[_0x1cd3('0x58')]('userProfile@getResources',{'id':_0x1c62a7[_0x1cd3('0x5d')]()['userProfileId'],'section':'VtigerAccounts','fields':_0x1cd3('0x1a7'),'limit':0xa,'offset':0x0});}],'userProfile':['apiResolver',_0x1cd3('0x56'),function(_0x4f69d6,_0x545b16){return _0x545b16[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x4f69d6[_0x1cd3('0x58')](_0x1cd3('0x60'),{'fields':_0x1cd3('0x61'),'id':_0x545b16[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')]});}],'userProfileSection':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x4b9235,_0x4ce0eb){return _0x4ce0eb[_0x1cd3('0x57')]('admin')?null:_0x4b9235[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':_0x1cd3('0x82'),'userProfileId':_0x4ce0eb[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x51c});}]},'authenticate':!![],'permissionId':0x51c,'bodyClass':'integrations'})[_0x1cd3('0x19')]('app.integrations.vtigerAccounts.edit',{'url':_0x1cd3('0x72'),'params':{'vtigerAccount':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':_0x1cd3('0x1a8'),'controller':_0x1cd3('0x1a9')}},'resolve':{'vtigerAccount':[_0x1cd3('0x62'),_0x1cd3('0x75'),function(_0x31806b,_0x5da132){return _0x31806b['resolve'](_0x1cd3('0x1a6'),{'fields':_0x1cd3('0x1a7'),'id':_0x5da132['id']});}],'userProfileSection':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x1c6f03,_0x23e8da){return _0x1c6f03['resolve'](_0x1cd3('0x63'),{'fields':_0x1cd3('0x82'),'userProfileId':_0x23e8da[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x51c});}]},'authenticate':!![],'permissionId':0x51c,'bodyClass':'integrations'})[_0x1cd3('0x19')](_0x1cd3('0x1aa'),{'url':'/dynamics365Accounts','views':{'content@app':{'templateUrl':_0x1cd3('0x1ab'),'controller':'Dynamics365AccountsController\x20as\x20vm'}},'resolve':{'dynamics365Accounts':[_0x1cd3('0x62'),'Auth',function(_0x3b4886,_0x248e02){return _0x248e02[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x3b4886[_0x1cd3('0x58')]('intDynamics365Account@get',{'fields':_0x1cd3('0x1ac'),'limit':0xa,'offset':0x0}):_0x3b4886[_0x1cd3('0x58')](_0x1cd3('0x5c'),{'id':_0x248e02[_0x1cd3('0x5d')]()['userProfileId'],'section':_0x1cd3('0x1ad'),'fields':_0x1cd3('0x1ac'),'limit':0xa,'offset':0x0});}],'userProfile':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x370327,_0x30caed){return _0x30caed[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x370327['resolve'](_0x1cd3('0x60'),{'fields':_0x1cd3('0x61'),'id':_0x30caed[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')]});}],'userProfileSection':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x372ff6,_0x56c672){return _0x56c672[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x372ff6[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':_0x1cd3('0x82'),'userProfileId':_0x56c672['getCurrentUser']()[_0x1cd3('0x5e')],'sectionId':0x51d});}]},'authenticate':!![],'permissionId':0x51d,'bodyClass':_0x1cd3('0x17b')})[_0x1cd3('0x19')](_0x1cd3('0x1ae'),{'url':_0x1cd3('0x72'),'params':{'dynamics365Account':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':_0x1cd3('0x1af'),'controller':_0x1cd3('0x1b0')}},'resolve':{'dynamics365Account':[_0x1cd3('0x62'),_0x1cd3('0x75'),function(_0x4b00a6,_0x599276){return _0x4b00a6[_0x1cd3('0x58')]('intDynamics365Account@get',{'fields':_0x1cd3('0x1ac'),'id':_0x599276['id']});}],'userProfileSection':['apiResolver',_0x1cd3('0x56'),function(_0x10154a,_0x19e1b7){return _0x10154a[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':_0x1cd3('0x82'),'userProfileId':_0x19e1b7[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x51d});}]},'authenticate':!![],'permissionId':0x51d,'bodyClass':'integrations'})[_0x1cd3('0x19')](_0x1cd3('0x1b1'),{'url':_0x1cd3('0x1b2'),'views':{'content@app':{'templateUrl':_0x1cd3('0x1b3'),'controller':_0x1cd3('0x1b4')}},'resolve':{'servicenowAccounts':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x3170bc,_0x50fbb1){return _0x50fbb1[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x3170bc[_0x1cd3('0x58')](_0x1cd3('0x1b5'),{'fields':'createdAt,updatedAt,id,name,username,password,email,remoteUri,serverUrl,description','limit':0xa,'offset':0x0}):_0x3170bc[_0x1cd3('0x58')](_0x1cd3('0x5c'),{'id':_0x50fbb1[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'section':_0x1cd3('0x1b6'),'fields':'createdAt,updatedAt,id,name,username,password,email,remoteUri,serverUrl,description','limit':0xa,'offset':0x0});}],'userProfile':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x190308,_0x243071){return _0x243071[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x190308['resolve']('userProfile@get',{'fields':_0x1cd3('0x61'),'id':_0x243071[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')]});}],'userProfileSection':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x3b8be2,_0x5a84dc){return _0x5a84dc[_0x1cd3('0x57')]('admin')?null:_0x3b8be2[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':_0x1cd3('0x82'),'userProfileId':_0x5a84dc[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x51e});}]},'authenticate':!![],'permissionId':0x51e,'bodyClass':_0x1cd3('0x17b')})[_0x1cd3('0x19')](_0x1cd3('0x1b7'),{'url':_0x1cd3('0x72'),'params':{'servicenowAccount':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':_0x1cd3('0x1b8'),'controller':_0x1cd3('0x1b9')}},'resolve':{'servicenowAccount':['apiResolver',_0x1cd3('0x75'),function(_0x250ca2,_0x1ee35c){return _0x250ca2[_0x1cd3('0x58')](_0x1cd3('0x1b5'),{'fields':'createdAt,updatedAt,id,name,username,password,email,remoteUri,serverUrl,description','id':_0x1ee35c['id']});}],'userProfileSection':['apiResolver',_0x1cd3('0x56'),function(_0x2b93b2,_0x5c1a52){return _0x2b93b2[_0x1cd3('0x58')]('userProfileSection@get',{'fields':_0x1cd3('0x82'),'userProfileId':_0x5c1a52[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x51e});}]},'authenticate':!![],'permissionId':0x51e,'bodyClass':_0x1cd3('0x17b')})[_0x1cd3('0x19')](_0x1cd3('0x1ba'),{'url':'/freshsalesAccounts','views':{'content@app':{'templateUrl':_0x1cd3('0x1bb'),'controller':_0x1cd3('0x1bc')}},'resolve':{'freshsalesAccounts':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x4eaa65,_0xae2554){return _0xae2554[_0x1cd3('0x57')]('admin')?_0x4eaa65['resolve'](_0x1cd3('0x1bd'),{'fields':'createdAt,updatedAt,id,name,username,remoteUri,apiKey,serverUrl,description','limit':0xa,'offset':0x0}):_0x4eaa65[_0x1cd3('0x58')](_0x1cd3('0x5c'),{'id':_0xae2554[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'section':_0x1cd3('0x1be'),'fields':_0x1cd3('0x18a'),'limit':0xa,'offset':0x0});}],'userProfile':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x324b2b,_0x26323c){return _0x26323c['hasRole'](_0x1cd3('0x5f'))?null:_0x324b2b[_0x1cd3('0x58')](_0x1cd3('0x60'),{'fields':_0x1cd3('0x61'),'id':_0x26323c[_0x1cd3('0x5d')]()['userProfileId']});}],'userProfileSection':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x30d405,_0xf9203a){return _0xf9203a[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x30d405[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':_0x1cd3('0x82'),'userProfileId':_0xf9203a[_0x1cd3('0x5d')]()['userProfileId'],'sectionId':0x518});}]},'authenticate':!![],'permissionId':0x518,'bodyClass':_0x1cd3('0x17b')})[_0x1cd3('0x19')]('app.integrations.freshsalesAccounts.edit',{'url':_0x1cd3('0x72'),'params':{'freshsalesAccount':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':_0x1cd3('0x1bf'),'controller':_0x1cd3('0x1c0')}},'resolve':{'freshsalesAccount':['apiResolver',_0x1cd3('0x75'),function(_0x41d124,_0x5c9ef6){return _0x41d124[_0x1cd3('0x58')](_0x1cd3('0x1bd'),{'fields':_0x1cd3('0x18a'),'id':_0x5c9ef6['id']});}],'userProfileSection':['apiResolver','Auth',function(_0x291e7b,_0x595c35){return _0x291e7b['resolve'](_0x1cd3('0x63'),{'fields':_0x1cd3('0x82'),'userProfileId':_0x595c35[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x518});}]},'authenticate':!![],'permissionId':0x518,'bodyClass':_0x1cd3('0x17b')});_0x508f76[_0x1cd3('0x16')](_0x1cd3('0x1c1'));}}());(function(){'use strict';_0x13c412[_0x1cd3('0xc')]=['$stateProvider',_0x1cd3('0xd'),_0x1cd3('0x41'),_0x1cd3('0x42')];angular['module'](_0x1cd3('0x37'),[_0x1cd3('0x43'),_0x1cd3('0x44'),_0x1cd3('0x45'),_0x1cd3('0x46'),_0x1cd3('0x47'),_0x1cd3('0x48'),'ng-sortable',_0x1cd3('0x4a'),_0x1cd3('0x2'),'mdPickers','mwFormBuilder',_0x1cd3('0x4c'),_0x1cd3('0x4d'),'ngclipboard','angular-cron-jobs',_0x1cd3('0x4f'),_0x1cd3('0x50'),_0x1cd3('0xb4'),_0x1cd3('0x51'),_0x1cd3('0x86')])[_0x1cd3('0xf')](_0x13c412);function _0x13c412(_0x55a45b,_0x4689fa,_0x22cf11,_0x14e50c){_0x55a45b[_0x1cd3('0x19')](_0x1cd3('0x37'),{'abstract':!![],'url':_0x1cd3('0x1c2')})['state']('app.jscripty.projects',{'url':_0x1cd3('0x1c3'),'views':{'content@app':{'templateUrl':'app/main/apps/jscripty/views/projects/projects.html','controller':_0x1cd3('0x1c4')}},'resolve':{'projects':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x1a864b,_0x30ea76){return _0x30ea76['hasRole'](_0x1cd3('0x5f'))?_0x1a864b[_0x1cd3('0x58')](_0x1cd3('0x1c5'),{'fields':_0x1cd3('0x1c6'),'sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0}):_0x1a864b[_0x1cd3('0x58')]('userProfile@getResources',{'id':_0x30ea76[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'section':_0x1cd3('0x1c7'),'fields':_0x1cd3('0x1c6'),'sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0});}],'userProfile':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x1467ec,_0x3a22fd){return _0x3a22fd[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x1467ec['resolve'](_0x1cd3('0x60'),{'fields':_0x1cd3('0x61'),'id':_0x3a22fd['getCurrentUser']()[_0x1cd3('0x5e')]});}],'userProfileSection':['apiResolver',_0x1cd3('0x56'),function(_0x7467f8,_0xd23550){return _0xd23550[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x7467f8[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':_0x1cd3('0x82'),'userProfileId':_0xd23550[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x6a5});}]},'authenticate':!![],'permissionId':0x6a5,'bodyClass':'jscripty'})[_0x1cd3('0x19')](_0x1cd3('0x1c8'),{'url':_0x1cd3('0x72'),'params':{'project':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':'app/main/apps/jscripty/views/projects/edit/view.html','controller':_0x1cd3('0x1c9')}},'resolve':{'project':[_0x1cd3('0x62'),_0x1cd3('0x75'),function(_0x15f2dd,_0x26ac7f){return _0x15f2dd[_0x1cd3('0x58')](_0x1cd3('0x1c5'),{'fields':'createdAt,updatedAt,id,name,enableUncompleteSave,sendUnpauseOnSubmit,description,formData','id':_0x26ac7f['id']});}],'userProfileSection':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x145f85,_0x3e3953){return _0x145f85['resolve'](_0x1cd3('0x63'),{'fields':'id,name,enabled,includeAll,autoAssociation,crudPermissions','userProfileId':_0x3e3953[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x6a5});}]},'authenticate':!![],'permissionId':0x6a5,'bodyClass':_0x1cd3('0x1ca')});_0x4689fa[_0x1cd3('0x16')](_0x1cd3('0x1cb'));}}());(function(){'use strict';_0x485773[_0x1cd3('0xc')]=[_0x1cd3('0x1e'),_0x1cd3('0xd'),_0x1cd3('0x41'),'msNavigationServiceProvider'];angular[_0x1cd3('0x0')](_0x1cd3('0x2f'),[_0x1cd3('0x43'),_0x1cd3('0x44'),_0x1cd3('0x45'),_0x1cd3('0x46'),_0x1cd3('0x47'),'ckeditor',_0x1cd3('0x49'),_0x1cd3('0x4a'),'ngAnimate','mdPickers',_0x1cd3('0x4b'),_0x1cd3('0x4c'),_0x1cd3('0x4d'),_0x1cd3('0x85'),_0x1cd3('0x4e'),_0x1cd3('0x4f'),_0x1cd3('0x50'),_0x1cd3('0xb4'),_0x1cd3('0x51'),_0x1cd3('0x86'),_0x1cd3('0x1cc')])['config'](_0x485773);function _0x485773(_0x3b2b15,_0x4bb114,_0x71d50c,_0x2e7cf8){_0x3b2b15[_0x1cd3('0x19')]('app.mail',{'abstract':!![],'url':_0x1cd3('0x135')})[_0x1cd3('0x19')](_0x1cd3('0x1cd'),{'url':_0x1cd3('0x1ce'),'views':{'content@app':{'templateUrl':_0x1cd3('0x1cf'),'controller':_0x1cd3('0x1d0')}},'resolve':{'mailQueues':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x47c0d9,_0x36281b){return _0x36281b[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x47c0d9[_0x1cd3('0x58')](_0x1cd3('0x1d1'),{'fields':_0x1cd3('0xbb'),'sort':_0x1cd3('0x5b'),'channel':_0x1cd3('0x1d2'),'limit':0xa,'offset':0x0}):_0x47c0d9[_0x1cd3('0x58')](_0x1cd3('0x5c'),{'id':_0x36281b[_0x1cd3('0x5d')]()['userProfileId'],'section':_0x1cd3('0x1d3'),'fields':_0x1cd3('0xbb'),'sort':_0x1cd3('0x5b'),'channel':_0x1cd3('0x1d2'),'limit':0xa,'offset':0x0});}],'userProfile':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x3ae5a8,_0x19a8da){return _0x19a8da[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x3ae5a8['resolve'](_0x1cd3('0x60'),{'fields':_0x1cd3('0x61'),'id':_0x19a8da[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')]});}],'userProfileSection':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x194b06,_0x530df9){return _0x530df9['hasRole'](_0x1cd3('0x5f'))?null:_0x194b06[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':_0x1cd3('0x82'),'userProfileId':_0x530df9[_0x1cd3('0x5d')]()['userProfileId'],'sectionId':0x259});}]},'authenticate':!![],'permissionId':0x259,'bodyClass':'mail'})['state'](_0x1cd3('0x1d4'),{'url':_0x1cd3('0x72'),'params':{'mailQueue':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':_0x1cd3('0x1d5'),'controller':_0x1cd3('0x1d6')}},'resolve':{'mailQueue':[_0x1cd3('0x62'),_0x1cd3('0x75'),function(_0x3e1710,_0x4d6d9d){return _0x3e1710[_0x1cd3('0x58')]('mailQueue@get',{'fields':_0x1cd3('0xbb'),'id':_0x4d6d9d['id']});}],'userProfileSection':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x3fa069,_0x49d059){return _0x3fa069[_0x1cd3('0x58')]('userProfileSection@get',{'fields':_0x1cd3('0x82'),'userProfileId':_0x49d059['getCurrentUser']()[_0x1cd3('0x5e')],'sectionId':0x259});}]},'authenticate':!![],'permissionId':0x259,'bodyClass':_0x1cd3('0x1d2')})[_0x1cd3('0x19')](_0x1cd3('0x1d7'),{'url':_0x1cd3('0x1d8'),'views':{'content@app':{'templateUrl':_0x1cd3('0x1d9'),'controller':_0x1cd3('0x1da')}},'resolve':{'mailAccounts':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x279157,_0x5eb186){return _0x5eb186[_0x1cd3('0x57')]('admin')?_0x279157[_0x1cd3('0x58')](_0x1cd3('0xae'),{'fields':'createdAt,updatedAt,id,name,key,email,ListId,active,cservice,Imap.service,Imap.host,Imap.port,Imap.tls,Imap.authentication,Imap.user,Imap.password,Imap.mailbox,Imap.connTimeout,Imap.authTimeout,Smtp.service,Smtp.host,Smtp.port,Smtp.secure,Smtp.authentication,Smtp.user,Smtp.pass,cauthentication,cuser,cpassword,fontFamily,fontSize,template,markAsUnread,waitForTheAssignedAgent,mandatoryDisposition,mandatoryDispositionPauseId,description,notificationSound,notificationShake,notificationTemplate,queueTransfer,queueTransferTimeout,agentTransfer,agentTransferTimeout','sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0}):_0x279157[_0x1cd3('0x58')](_0x1cd3('0x5c'),{'id':_0x5eb186[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'section':_0x1cd3('0xaf'),'fields':'createdAt,updatedAt,id,name,key,email,ListId,active,cservice,Imap.service,Imap.host,Imap.port,Imap.tls,Imap.authentication,Imap.user,Imap.password,Imap.mailbox,Imap.connTimeout,Imap.authTimeout,Smtp.service,Smtp.host,Smtp.port,Smtp.secure,Smtp.authentication,Smtp.user,Smtp.pass,cauthentication,cuser,cpassword,fontFamily,fontSize,template,markAsUnread,waitForTheAssignedAgent,mandatoryDisposition,mandatoryDispositionPauseId,description,notificationSound,notificationShake,notificationTemplate,queueTransfer,queueTransferTimeout,agentTransfer,agentTransferTimeout','sort':'-updatedAt','limit':0xa,'offset':0x0});}],'userProfile':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x8bf711,_0x5dbb01){return _0x5dbb01[_0x1cd3('0x57')]('admin')?null:_0x8bf711[_0x1cd3('0x58')](_0x1cd3('0x60'),{'fields':_0x1cd3('0x61'),'id':_0x5dbb01[_0x1cd3('0x5d')]()['userProfileId']});}],'userProfileSection':['apiResolver',_0x1cd3('0x56'),function(_0xdff3e9,_0x1bb954){return _0x1bb954[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0xdff3e9[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':_0x1cd3('0x82'),'userProfileId':_0x1bb954['getCurrentUser']()[_0x1cd3('0x5e')],'sectionId':0x25a});}]},'authenticate':!![],'permissionId':0x25a,'bodyClass':_0x1cd3('0x1d2')})['state'](_0x1cd3('0x1db'),{'url':_0x1cd3('0x72'),'params':{'mailAccount':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':_0x1cd3('0x1dc'),'controller':_0x1cd3('0x1dd')}},'resolve':{'mailAccount':[_0x1cd3('0x62'),_0x1cd3('0x75'),function(_0x198810,_0x33e4fc){return _0x198810[_0x1cd3('0x58')](_0x1cd3('0xae'),{'fields':_0x1cd3('0x1de'),'id':_0x33e4fc['id']});}],'userProfileSection':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x3a15af,_0x41ed36){return _0x3a15af['resolve']('userProfileSection@get',{'fields':'id,name,enabled,includeAll,autoAssociation,crudPermissions','userProfileId':_0x41ed36[_0x1cd3('0x5d')]()['userProfileId'],'sectionId':0x25a});}]},'authenticate':!![],'permissionId':0x25a,'bodyClass':_0x1cd3('0x1d2')})[_0x1cd3('0x19')]('app.mail.mailSubtatuses',{'url':'/mailSubtatuses','views':{'content@app':{'templateUrl':_0x1cd3('0x1df'),'controller':_0x1cd3('0x1e0')}},'resolve':{'mailSubtatuses':['apiResolver','Auth',function(_0x1b5fbd,_0x3b8e75){return _0x1b5fbd['resolve']('mailSubstatus@get',{'fields':'createdAt,updatedAt,id,name,description','sort':'-updatedAt','limit':0xa,'offset':0x0});}],'userProfile':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x5e52b6,_0x3b1916){return _0x3b1916[_0x1cd3('0x57')]('admin')?null:_0x5e52b6[_0x1cd3('0x58')]('userProfile@get',{'fields':_0x1cd3('0x61'),'id':_0x3b1916[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')]});}],'userProfileSection':[_0x1cd3('0x62'),'Auth',function(_0x53c13e,_0x430817){return _0x430817[_0x1cd3('0x57')]('admin')?null:_0x53c13e[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':_0x1cd3('0x82'),'userProfileId':_0x430817[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x25b});}]},'authenticate':!![],'permissionId':0x25b,'bodyClass':_0x1cd3('0x1d2')});_0x4bb114[_0x1cd3('0x16')](_0x1cd3('0x1e1'));}}());(function(){'use strict';_0xd19fc[_0x1cd3('0xc')]=[_0x1cd3('0x1e')];angular[_0x1cd3('0x0')](_0x1cd3('0x1cc'),[])[_0x1cd3('0xf')](_0xd19fc);function _0xd19fc(_0x560f58){_0x560f58[_0x1cd3('0x19')](_0x1cd3('0x1cc'),{'url':_0x1cd3('0xc9'),'views':{'content@app':{'templateUrl':_0x1cd3('0x1e2'),'controller':_0x1cd3('0x1e3')}},'resolve':{'userProfile':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x8f4d8e,_0x2fd745){return _0x2fd745['hasRole'](_0x1cd3('0x5f'))?null:_0x8f4d8e[_0x1cd3('0x58')]('userProfile@get',{'fields':_0x1cd3('0x61'),'id':_0x2fd745[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')]});}],'userProfileSection':['apiResolver',_0x1cd3('0x56'),function(_0x566ba7,_0x57c09b){return _0x57c09b[_0x1cd3('0x57')]('admin')?null:_0x566ba7[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':_0x1cd3('0x82'),'userProfileId':_0x57c09b[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x262});}]},'authenticate':!![],'permissionId':0x262})['state'](_0x1cd3('0x1e4'),{'url':_0x1cd3('0xcd'),'controller':_0x1cd3('0x1e5'),'templateUrl':_0x1cd3('0x1e6'),'resolve':{'pauses':[_0x1cd3('0x62'),function(_0xae0cc8){return _0xae0cc8[_0x1cd3('0x58')](_0x1cd3('0xd0'),{'nolimit':!![]});}],'agents':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x392212,_0x1790cb){return _0x1790cb[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x392212[_0x1cd3('0x58')](_0x1cd3('0x9e'),{'fields':'id,name,fullname,role,userpic,internal,online,voicePause,openchannelPause,faxPause,chatPause,smsPause,whatsappPause,mailPause,pauseType,lastPauseAt,lastLoginAt,lastPauseAt,chatCapacity,mailCapacity,openchannelCapacity,faxCapacity,smsCapacity,whatsappCapacity,screenrecording,phoneBarEnableScreenRecordingByAgent,phoneBarEnableAutomaticScreenRecording','role':_0x1cd3('0xd2'),'sort':'fullname','nolimit':!![]}):_0x392212['resolve'](_0x1cd3('0x5c'),{'id':_0x1790cb[_0x1cd3('0x5d')]()['userProfileId'],'section':_0x1cd3('0xd4'),'fields':_0x1cd3('0xd1'),'role':'agent','sort':_0x1cd3('0xd3'),'nolimit':!![]});}],'userProfile':[_0x1cd3('0x62'),'Auth',function(_0x482e15,_0x911187){return _0x911187[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x482e15[_0x1cd3('0x58')](_0x1cd3('0x60'),{'fields':_0x1cd3('0x61'),'id':_0x911187[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')]});}],'userProfileSection':['apiResolver',_0x1cd3('0x56'),function(_0x37d3c8,_0x4bba09){return _0x4bba09[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x37d3c8['resolve'](_0x1cd3('0x63'),{'fields':'id,name,enabled,includeAll,autoAssociation,crudPermissions','userProfileId':_0x4bba09[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0xca});}],'rpcAgents':['apiResolver',function(_0x21e33d){return _0x21e33d[_0x1cd3('0x58')](_0x1cd3('0xd5'));}]},'authenticate':!![],'permissionId':0x262})[_0x1cd3('0x19')](_0x1cd3('0x1e7'),{'url':_0x1cd3('0xd7'),'controller':_0x1cd3('0x1e8'),'templateUrl':_0x1cd3('0x1e9'),'resolve':{'queues':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x250bdc,_0x3670d5){return _0x3670d5[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x250bdc[_0x1cd3('0x58')](_0x1cd3('0x1d1'),{'type':_0x1cd3('0xa4'),'sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0}):_0x250bdc[_0x1cd3('0x58')](_0x1cd3('0x5c'),{'id':_0x3670d5['getCurrentUser']()['userProfileId'],'section':_0x1cd3('0x1d3'),'channel':_0x1cd3('0x1d2'),'type':_0x1cd3('0xa4'),'sort':_0x1cd3('0x5b'),'limit':0xa,'page':0x1});}],'userProfile':['apiResolver',_0x1cd3('0x56'),function(_0x2e3efb,_0x376b69){return _0x376b69[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x2e3efb['resolve']('userProfile@get',{'fields':'id,name,crudPermissions','id':_0x376b69['getCurrentUser']()[_0x1cd3('0x5e')]});}],'userProfileSection':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x1ec987,_0x37898f){return _0x37898f[_0x1cd3('0x57')]('admin')?null:_0x1ec987['resolve'](_0x1cd3('0x63'),{'fields':_0x1cd3('0x82'),'userProfileId':_0x37898f['getCurrentUser']()[_0x1cd3('0x5e')],'sectionId':0x259});}],'rpcQueues':[_0x1cd3('0x62'),function(_0x4f96ff){return _0x4f96ff[_0x1cd3('0x58')](_0x1cd3('0x1ea'));}]},'authenticate':!![],'permissionId':0x262})['state'](_0x1cd3('0x1eb'),{'url':_0x1cd3('0x1ec'),'controller':_0x1cd3('0x1ed'),'templateUrl':_0x1cd3('0x1ee'),'resolve':{'mailAccounts':[_0x1cd3('0x62'),'Auth',function(_0x41739d,_0x1c84ed){return _0x1c84ed['hasRole'](_0x1cd3('0x5f'))?_0x41739d[_0x1cd3('0x58')](_0x1cd3('0xae'),{'sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0}):_0x41739d[_0x1cd3('0x58')]('userProfile@getResources',{'id':_0x1c84ed[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'section':_0x1cd3('0xaf'),'sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0});}],'userProfile':[_0x1cd3('0x62'),'Auth',function(_0x50ae9d,_0x4a3e97){return _0x4a3e97[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x50ae9d[_0x1cd3('0x58')]('userProfile@get',{'fields':'id,name,crudPermissions','id':_0x4a3e97[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')]});}],'userProfileSection':[_0x1cd3('0x62'),'Auth',function(_0x181c8f,_0x12d36d){return _0x12d36d['hasRole'](_0x1cd3('0x5f'))?null:_0x181c8f[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':_0x1cd3('0x82'),'userProfileId':_0x12d36d[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x25a});}],'rpcMailAccounts':[_0x1cd3('0x62'),function(_0x4f10fb){return _0x4f10fb['resolve'](_0x1cd3('0x1ef'));}]},'authenticate':!![],'permissionId':0x262});}}());(function(){'use strict';_0x153642[_0x1cd3('0xc')]=[_0x1cd3('0x1e'),'$translatePartialLoaderProvider','msApiProvider','msNavigationServiceProvider'];angular['module'](_0x1cd3('0x1f0'),[_0x1cd3('0x43'),_0x1cd3('0x44'),_0x1cd3('0x45'),'flow',_0x1cd3('0x47'),_0x1cd3('0x48'),_0x1cd3('0x49'),'ngAria','ngAnimate',_0x1cd3('0x84'),_0x1cd3('0x4b'),_0x1cd3('0x4c'),_0x1cd3('0x4d'),_0x1cd3('0x85'),'angular-cron-jobs',_0x1cd3('0x4f'),_0x1cd3('0x50'),'material.components.expansionPanels',_0x1cd3('0x51'),_0x1cd3('0x86')])[_0x1cd3('0xf')](_0x153642);function _0x153642(_0x5502c8,_0x46532a,_0x32f1be,_0x190763){_0x5502c8[_0x1cd3('0x19')](_0x1cd3('0x1f0'),{'abstract':!![],'url':_0x1cd3('0x1f1')})[_0x1cd3('0x19')](_0x1cd3('0x1f2'),{'url':_0x1cd3('0x1f3'),'views':{'content@app':{'templateUrl':_0x1cd3('0x1f4'),'controller':_0x1cd3('0x1f5')}},'resolve':{'plugins':[_0x1cd3('0x62'),'Auth',function(_0x19656a,_0x15654d){return _0x15654d[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x19656a[_0x1cd3('0x58')]('plugin@get',{'fields':'createdAt,updatedAt,id,name,type,active,description,icon,sidebar,path,adminUrl,agentUrl,scriptName,scriptPath,version','sort':_0x1cd3('0x98'),'limit':0xa,'offset':0x0}):_0x19656a[_0x1cd3('0x58')]('userProfile@getResources',{'id':_0x15654d['getCurrentUser']()[_0x1cd3('0x5e')],'section':_0x1cd3('0x1f6'),'fields':'createdAt,updatedAt,id,name,type,active,description,icon,sidebar,path,adminUrl,agentUrl,scriptName,scriptPath,version','sort':_0x1cd3('0x98'),'limit':0xa,'offset':0x0});}],'userProfile':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x23b18c,_0x3d3348){return _0x3d3348['hasRole']('admin')?null:_0x23b18c['resolve'](_0x1cd3('0x60'),{'fields':_0x1cd3('0x61'),'id':_0x3d3348[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')]});}],'userProfileSection':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x2fcb69,_0x56f243){return _0x56f243[_0x1cd3('0x57')]('admin')?null:_0x2fcb69[_0x1cd3('0x58')]('userProfileSection@get',{'fields':'id,name,enabled,includeAll,autoAssociation,crudPermissions','userProfileId':_0x56f243['getCurrentUser']()[_0x1cd3('0x5e')],'sectionId':0x709});}]},'authenticate':!![],'permissionId':0x709,'bodyClass':_0x1cd3('0x1f7')})[_0x1cd3('0x19')]('app.marketplace.plugins.edit',{'url':_0x1cd3('0x72'),'params':{'plugin':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':_0x1cd3('0x1f8'),'controller':_0x1cd3('0x1f9')}},'resolve':{'plugin':[_0x1cd3('0x62'),_0x1cd3('0x75'),function(_0x40e15b,_0x2ea9e9){return _0x40e15b['resolve'](_0x1cd3('0x1fa'),{'fields':'createdAt,updatedAt,id,name,type,active,description,icon,sidebar,path,adminUrl,agentUrl,scriptName,scriptPath,version','id':_0x2ea9e9['id']});}],'userProfileSection':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x41ead8,_0x48875d){return _0x41ead8[_0x1cd3('0x58')]('userProfileSection@get',{'fields':_0x1cd3('0x82'),'userProfileId':_0x48875d[_0x1cd3('0x5d')]()['userProfileId'],'sectionId':0x709});}]},'authenticate':!![],'permissionId':0x709,'bodyClass':_0x1cd3('0x1f7')});_0x46532a[_0x1cd3('0x16')](_0x1cd3('0x1fb'));}}());(function(){'use strict';_0x1f40a9[_0x1cd3('0xc')]=[_0x1cd3('0x1e'),_0x1cd3('0xd'),_0x1cd3('0x41'),_0x1cd3('0x42')];angular[_0x1cd3('0x0')](_0x1cd3('0x36'),[_0x1cd3('0x43'),_0x1cd3('0x44'),_0x1cd3('0x45'),'flow',_0x1cd3('0x47'),_0x1cd3('0x48'),_0x1cd3('0x49'),_0x1cd3('0x4a'),_0x1cd3('0x2'),_0x1cd3('0x84'),_0x1cd3('0x4b'),'mwFormViewer',_0x1cd3('0x4d'),_0x1cd3('0x85'),_0x1cd3('0x4e'),_0x1cd3('0x4f'),_0x1cd3('0x50'),'material.components.expansionPanels',_0x1cd3('0x51'),'angular.filter',_0x1cd3('0x1fc')])[_0x1cd3('0xf')](_0x1f40a9);function _0x1f40a9(_0x19728f,_0x573d90,_0x16269a,_0x209f34){_0x19728f[_0x1cd3('0x19')](_0x1cd3('0x36'),{'abstract':!![],'url':'/motiondialer'})[_0x1cd3('0x19')](_0x1cd3('0x1fd'),{'url':'/queueCampaigns','views':{'content@app':{'templateUrl':_0x1cd3('0x1fe'),'controller':_0x1cd3('0x1ff')}},'resolve':{'queueCampaigns':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x5b955,_0x636b18){return _0x636b18[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x5b955[_0x1cd3('0x58')](_0x1cd3('0xa3'),{'fields':_0x1cd3('0x200'),'type':_0x1cd3('0x128'),'sort':'-updatedAt','channel':_0x1cd3('0x121'),'limit':0xa,'offset':0x0}):_0x5b955[_0x1cd3('0x58')](_0x1cd3('0x5c'),{'id':_0x636b18[_0x1cd3('0x5d')]()['userProfileId'],'section':_0x1cd3('0x129'),'fields':'createdAt,updatedAt,id,name,dialActive,TrunkId,TrunkBackupId,type,IntervalId,dialCheckDuplicateType,dialCutDigit,acw,acwTimeout,autopause,ringinuse,memberdelay,timeoutrestart,monitor_format,context,setinterfacevar,setqueuevar,setqueueentryvar,dialOrderByScheduledAt,dialRecallMeTimeout,dialRecallInQueue,dialGlobalInterval,dialTimezone,dialAMDActive,dialAMDInitialSilence,dialAMDGreeting,dialAMDAfterGreetingSilence,dialAMDTotalAnalysisTime,dialAMDMinWordLength,dialAMDBetweenWordsSilence,dialAMDMaximumNumberOfWords,dialAMDSilenceThreshold,dialAMDMaximumWordLength,dialMethod,dialPowerLevel,dialPredictiveOptimization,dialPredictiveOptimizationPercentage,dialPredictiveInterval,dialLimitQueue,dialOriginateCallerIdName,dialOriginateCallerIdNumber,dialRandomLastDigitCallerIdNumber,dialOriginateTimeout,dialPrefix,dialQueueOptions,dialQueueTimeout,strategy,timeout,retry,wrapuptime,weight,musiconhold,dialQueueProject,dialQueueProject2,dialAgiAfterHangupAgent,dialGlobalMaxRetry,dialCongestionMaxRetry,dialCongestionRetryFrequency,dialBusyMaxRetry,dialBusyRetryFrequency,dialNoAnswerMaxRetry,dialNoAnswerRetryFrequency,dialNoSuchNumberMaxRetry,dialNoSuchNumberRetryFrequency,dialDropMaxRetry,dialDropRetryFrequency,dialAbandonedMaxRetry,dialAbandonedRetryFrequency,dialMachineMaxRetry,dialMachineRetryFrequency,dialAgentRejectMaxRetry,dialAgentRejectRetryFrequency,description,mandatoryDisposition,mandatoryDispositionPauseId,dialPredictiveIntervalMaxThreshold,dialPredictiveIntervalMinThreshold','type':'outbound','sort':_0x1cd3('0x5b'),'channel':'voice','limit':0xa,'offset':0x0});}],'userProfile':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x1e5a37,_0x3b7ce9){return _0x3b7ce9[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x1e5a37[_0x1cd3('0x58')](_0x1cd3('0x60'),{'fields':'id,name,crudPermissions','id':_0x3b7ce9[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')]});}],'userProfileSection':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x245ac2,_0x1dd57d){return _0x1dd57d[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x245ac2[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':'id,name,enabled,includeAll,autoAssociation,crudPermissions','userProfileId':_0x1dd57d[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x5dd});}]},'authenticate':!![],'permissionId':0x5dd,'bodyClass':'motiondialer'})[_0x1cd3('0x19')]('app.motiondialer.queueCampaigns.edit',{'url':'/:id?tab','params':{'queueCampaign':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':_0x1cd3('0x201'),'controller':'QueueCampaignController\x20as\x20vm'}},'resolve':{'queueCampaign':['apiResolver',_0x1cd3('0x75'),function(_0x20d968,_0x56fa2d){return _0x20d968[_0x1cd3('0x58')](_0x1cd3('0xa3'),{'fields':_0x1cd3('0x200'),'id':_0x56fa2d['id']});}],'userProfileSection':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x25eee7,_0x513105){return _0x25eee7[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':'id,name,enabled,includeAll,autoAssociation,crudPermissions','userProfileId':_0x513105[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x5dd});}]},'authenticate':!![],'permissionId':0x5dd,'bodyClass':_0x1cd3('0x202')})[_0x1cd3('0x19')](_0x1cd3('0x203'),{'url':_0x1cd3('0x204'),'views':{'content@app':{'templateUrl':'app/main/apps/motiondialer/views/ivrCampaigns/ivrCampaigns.html','controller':_0x1cd3('0x205')}},'resolve':{'ivrCampaigns':['apiResolver',_0x1cd3('0x56'),function(_0x5b608e,_0xd52f45){return _0xd52f45[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x5b608e[_0x1cd3('0x58')](_0x1cd3('0x206'),{'fields':_0x1cd3('0x207'),'type':_0x1cd3('0x208'),'sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0}):_0x5b608e[_0x1cd3('0x58')]('userProfile@getResources',{'id':_0xd52f45[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'section':_0x1cd3('0x209'),'fields':'createdAt,updatedAt,id,name,active,TrunkId,TrunkBackupId,type,IntervalId,dialCheckDuplicateType,dialCutDigit,SquareProjectId,limitCalls,description,dialOriginateCallerIdName,dialOriginateCallerIdNumber,dialRandomLastDigitCallerIdNumber,dialOriginateTimeout,dialGlobalMaxRetry,dialCongestionMaxRetry,dialCongestionRetryFrequency,dialBusyMaxRetry,dialBusyRetryFrequency,dialNoAnswerMaxRetry,dialNoAnswerRetryFrequency,dialNoSuchNumberMaxRetry,dialNoSuchNumberRetryFrequency,dialDropMaxRetry,dialDropRetryFrequency,dialAbandonedMaxRetry,dialAbandonedRetryFrequency,dialMachineMaxRetry,dialMachineRetryFrequency,dialAgentRejectMaxRetry,dialAgentRejectRetryFrequency,dialOrderByScheduledAt,dialGlobalInterval,dialTimezone,dialPrefix,dialAMDActive,dialAMDInitialSilence,dialAMDGreeting,dialAMDAfterGreetingSilence,dialAMDTotalAnalysisTime,dialAMDMinWordLength,dialAMDBetweenWordsSilence,dialAMDMaximumNumberOfWords,dialAMDSilenceThreshold,dialAMDMaximumWordLength','type':_0x1cd3('0x208'),'sort':'-updatedAt','limit':0xa,'offset':0x0});}],'userProfile':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x35120d,_0x47d9c0){return _0x47d9c0[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x35120d[_0x1cd3('0x58')](_0x1cd3('0x60'),{'fields':_0x1cd3('0x61'),'id':_0x47d9c0[_0x1cd3('0x5d')]()['userProfileId']});}],'userProfileSection':['apiResolver',_0x1cd3('0x56'),function(_0x12a5bb,_0x27d0c1){return _0x27d0c1[_0x1cd3('0x57')]('admin')?null:_0x12a5bb[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':'id,name,enabled,includeAll,autoAssociation,crudPermissions','userProfileId':_0x27d0c1[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x5de});}]},'authenticate':!![],'permissionId':0x5de,'bodyClass':_0x1cd3('0x202')})['state'](_0x1cd3('0x20a'),{'url':_0x1cd3('0x72'),'params':{'ivrCampaign':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':_0x1cd3('0x20b'),'controller':_0x1cd3('0x20c')}},'resolve':{'ivrCampaign':[_0x1cd3('0x62'),_0x1cd3('0x75'),function(_0xb7185b,_0x30702e){return _0xb7185b[_0x1cd3('0x58')](_0x1cd3('0x206'),{'fields':'createdAt,updatedAt,id,name,active,TrunkId,TrunkBackupId,type,IntervalId,dialCheckDuplicateType,dialCutDigit,SquareProjectId,limitCalls,description,dialOriginateCallerIdName,dialOriginateCallerIdNumber,dialRandomLastDigitCallerIdNumber,dialOriginateTimeout,dialGlobalMaxRetry,dialCongestionMaxRetry,dialCongestionRetryFrequency,dialBusyMaxRetry,dialBusyRetryFrequency,dialNoAnswerMaxRetry,dialNoAnswerRetryFrequency,dialNoSuchNumberMaxRetry,dialNoSuchNumberRetryFrequency,dialDropMaxRetry,dialDropRetryFrequency,dialAbandonedMaxRetry,dialAbandonedRetryFrequency,dialMachineMaxRetry,dialMachineRetryFrequency,dialAgentRejectMaxRetry,dialAgentRejectRetryFrequency,dialOrderByScheduledAt,dialGlobalInterval,dialTimezone,dialPrefix,dialAMDActive,dialAMDInitialSilence,dialAMDGreeting,dialAMDAfterGreetingSilence,dialAMDTotalAnalysisTime,dialAMDMinWordLength,dialAMDBetweenWordsSilence,dialAMDMaximumNumberOfWords,dialAMDSilenceThreshold,dialAMDMaximumWordLength','id':_0x30702e['id']});}],'userProfileSection':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x5aac7d,_0x3478b8){return _0x5aac7d[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':_0x1cd3('0x82'),'userProfileId':_0x3478b8['getCurrentUser']()[_0x1cd3('0x5e')],'sectionId':0x5de});}]},'authenticate':!![],'permissionId':0x5de,'bodyClass':_0x1cd3('0x202')});_0x573d90[_0x1cd3('0x16')](_0x1cd3('0x20d'));}}());(function(){'use strict';_0x3c5d8a[_0x1cd3('0xc')]=[_0x1cd3('0x1e')];angular[_0x1cd3('0x0')](_0x1cd3('0x1fc'),[])['config'](_0x3c5d8a);function _0x3c5d8a(_0x1e4f07){_0x1e4f07['state'](_0x1cd3('0x1fc'),{'url':'/realtime','views':{'content@app':{'templateUrl':_0x1cd3('0x20e'),'controller':'MotionDialerRealtimeController\x20as\x20vm'}},'resolve':{'userProfile':[_0x1cd3('0x62'),'Auth',function(_0x404b62,_0xda971f){return _0xda971f[_0x1cd3('0x57')]('admin')?null:_0x404b62[_0x1cd3('0x58')](_0x1cd3('0x60'),{'fields':_0x1cd3('0x61'),'id':_0xda971f[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')]});}],'userProfileSection':[_0x1cd3('0x62'),'Auth',function(_0x18788c,_0x436959){return _0x436959[_0x1cd3('0x57')]('admin')?null:_0x18788c[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':'id,name,enabled,includeAll,autoAssociation,crudPermissions','userProfileId':_0x436959[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x5e6});}]},'authenticate':!![],'permissionId':0x5e6})[_0x1cd3('0x19')](_0x1cd3('0x20f'),{'url':_0x1cd3('0xcd'),'controller':_0x1cd3('0x210'),'templateUrl':'app/main/apps/motiondialer/views/realtime/agents/view.html','resolve':{'pauses':['apiResolver',function(_0x24aa05){return _0x24aa05[_0x1cd3('0x58')](_0x1cd3('0xd0'),{'nolimit':!![]});}],'agents':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x46c168,_0x3c4584){return _0x3c4584[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x46c168[_0x1cd3('0x58')](_0x1cd3('0x9e'),{'fields':'id,name,fullname,role,userpic,internal,online,voicePause,openchannelPause,faxPause,chatPause,smsPause,whatsappPause,mailPause,pauseType,lastPauseAt,lastLoginAt,lastPauseAt,chatCapacity,mailCapacity,openchannelCapacity,faxCapacity,smsCapacity,whatsappCapacity,screenrecording,phoneBarEnableScreenRecordingByAgent,phoneBarEnableAutomaticScreenRecording','role':'agent','sort':'fullname','nolimit':!![]}):_0x46c168[_0x1cd3('0x58')](_0x1cd3('0x5c'),{'id':_0x3c4584[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'section':_0x1cd3('0xd4'),'fields':_0x1cd3('0xd1'),'role':_0x1cd3('0xd2'),'sort':_0x1cd3('0xd3'),'nolimit':!![]});}],'userProfile':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x284ac2,_0x223adf){return _0x223adf[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x284ac2['resolve'](_0x1cd3('0x60'),{'fields':_0x1cd3('0x61'),'id':_0x223adf['getCurrentUser']()[_0x1cd3('0x5e')]});}],'userProfileSection':['apiResolver',_0x1cd3('0x56'),function(_0x450cff,_0xd6fdfc){return _0xd6fdfc[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x450cff[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':_0x1cd3('0x82'),'userProfileId':_0xd6fdfc[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0xca});}],'rpcAgents':[_0x1cd3('0x62'),function(_0xfa4b42){return _0xfa4b42[_0x1cd3('0x58')]('rpc@getAgents');}]},'authenticate':!![],'permissionId':0x5e6})[_0x1cd3('0x19')](_0x1cd3('0x211'),{'url':_0x1cd3('0xd7'),'controller':_0x1cd3('0x212'),'templateUrl':_0x1cd3('0x213'),'resolve':{'queues':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x6b9010,_0x34a02c){return _0x34a02c[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x6b9010['resolve'](_0x1cd3('0xa3'),{'type':_0x1cd3('0x128'),'sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0}):_0x6b9010[_0x1cd3('0x58')](_0x1cd3('0x5c'),{'id':_0x34a02c[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'section':'QueueCampaigns','channel':_0x1cd3('0x121'),'type':_0x1cd3('0x128'),'sort':'-updatedAt','limit':0xa,'page':0x1});}],'userProfile':['apiResolver',_0x1cd3('0x56'),function(_0x34e4c5,_0x225c85){return _0x225c85[_0x1cd3('0x57')]('admin')?null:_0x34e4c5[_0x1cd3('0x58')](_0x1cd3('0x60'),{'fields':'id,name,crudPermissions','id':_0x225c85[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')]});}],'userProfileSection':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x42c8a7,_0x4657e1){return _0x4657e1[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x42c8a7[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':_0x1cd3('0x82'),'userProfileId':_0x4657e1[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x5dd});}],'rpcQueues':[_0x1cd3('0x62'),function(_0x3299df){return _0x3299df[_0x1cd3('0x58')]('rpc@getVoiceQueues');}]},'authenticate':!![],'permissionId':0x5e6})[_0x1cd3('0x19')](_0x1cd3('0x214'),{'url':_0x1cd3('0x215'),'controller':_0x1cd3('0x216'),'templateUrl':_0x1cd3('0x217'),'resolve':{'agents':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x49fd1f,_0x11f0b8){return _0x11f0b8['hasRole'](_0x1cd3('0x5f'))?_0x49fd1f['resolve'](_0x1cd3('0x9e'),{'fields':_0x1cd3('0x218'),'role':_0x1cd3('0xd2'),'nolimit':!![]}):_0x49fd1f['resolve'](_0x1cd3('0x5c'),{'id':_0x11f0b8[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'section':_0x1cd3('0xd4'),'fields':_0x1cd3('0x218'),'role':_0x1cd3('0xd2'),'nolimit':!![]});}],'queues':[_0x1cd3('0x62'),'Auth',function(_0x20b288,_0x75374b){return _0x75374b[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x20b288['resolve']('voiceQueue@get',{'type':_0x1cd3('0x128'),'sort':_0x1cd3('0x5b'),'nolimit':!![]}):_0x20b288[_0x1cd3('0x58')](_0x1cd3('0x5c'),{'id':_0x75374b[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'section':_0x1cd3('0x129'),'channel':_0x1cd3('0x121'),'type':_0x1cd3('0x128'),'sort':_0x1cd3('0x5b'),'nolimit':!![]});}],'userProfile':['apiResolver','Auth',function(_0x366364,_0x38c6f4){return _0x38c6f4['hasRole'](_0x1cd3('0x5f'))?null:_0x366364[_0x1cd3('0x58')](_0x1cd3('0x60'),{'fields':_0x1cd3('0x61'),'id':_0x38c6f4[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')]});}],'userProfileSection':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x26fad1,_0x1f0678){return _0x1f0678[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x26fad1[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':_0x1cd3('0x82'),'userProfileId':_0x1f0678['getCurrentUser']()[_0x1cd3('0x5e')],'sectionId':0x5dd});}],'rpcVoiceQueuesChannels':[_0x1cd3('0x62'),function(_0x8f711e){return _0x8f711e[_0x1cd3('0x58')](_0x1cd3('0x219'));}]},'authenticate':!![],'permissionId':0x5e6})[_0x1cd3('0x19')](_0x1cd3('0x21a'),{'url':_0x1cd3('0x21b'),'controller':_0x1cd3('0x21c'),'templateUrl':_0x1cd3('0x21d'),'resolve':{'agents':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0xaacb01,_0x1c6d6d){return _0x1c6d6d[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0xaacb01[_0x1cd3('0x58')]('user@get',{'fields':'id,name,role,context','role':'agent','nolimit':!![]}):_0xaacb01[_0x1cd3('0x58')]('userProfile@getResources',{'id':_0x1c6d6d[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'section':'Agents','fields':_0x1cd3('0x218'),'role':_0x1cd3('0xd2'),'nolimit':!![]});}],'queues':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x4e0e97,_0x179e28){return _0x179e28['hasRole'](_0x1cd3('0x5f'))?_0x4e0e97[_0x1cd3('0x58')]('voiceQueue@get',{'type':_0x1cd3('0x128'),'sort':_0x1cd3('0x5b'),'nolimit':!![]}):_0x4e0e97['resolve'](_0x1cd3('0x5c'),{'id':_0x179e28[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'section':_0x1cd3('0x129'),'channel':_0x1cd3('0x121'),'type':_0x1cd3('0x128'),'sort':_0x1cd3('0x5b'),'nolimit':!![]});}],'dispositions':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x1f6568,_0x846b0){return _0x846b0[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x1f6568[_0x1cd3('0x58')](_0x1cd3('0x21e'),{'fields':_0x1cd3('0x21f'),'sort':'-updatedAt','MailAccountId':_0x1cd3('0x220'),'FaxAccountId':'null','SmsAccountId':'null','WhatsappAccountId':'null','OpenchannelAccountId':_0x1cd3('0x220'),'ChatWebsiteId':'null','ListId':_0x1cd3('0x220'),'nolimit':!![]}):_0x1f6568[_0x1cd3('0x58')](_0x1cd3('0x5c'),{'id':_0x846b0[_0x1cd3('0x5d')]()['userProfileId'],'section':_0x1cd3('0x221'),'fields':_0x1cd3('0x21f'),'sort':_0x1cd3('0x5b'),'MailAccountId':_0x1cd3('0x220'),'FaxAccountId':_0x1cd3('0x220'),'SmsAccountId':'null','WhatsappAccountId':_0x1cd3('0x220'),'OpenchannelAccountId':'null','ChatWebsiteId':_0x1cd3('0x220'),'ListId':_0x1cd3('0x220'),'nolimit':!![]});}],'userProfile':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x3881a9,_0x36cb2d){return _0x36cb2d[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x3881a9['resolve']('userProfile@get',{'fields':_0x1cd3('0x61'),'id':_0x36cb2d[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')]});}],'userProfileSection':['apiResolver',_0x1cd3('0x56'),function(_0x54b1fb,_0x3600d9){return _0x3600d9['hasRole']('admin')?null:_0x54b1fb[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':_0x1cd3('0x82'),'userProfileId':_0x3600d9[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x5dd});}]},'authenticate':!![],'permissionId':0x5e6})[_0x1cd3('0x19')](_0x1cd3('0x222'),{'url':_0x1cd3('0x223'),'controller':_0x1cd3('0x224'),'templateUrl':'app/main/apps/motiondialer/views/realtime/queue_params/view.html','resolve':{'queues':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x58810e,_0x42614c){return _0x42614c[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x58810e[_0x1cd3('0x58')](_0x1cd3('0xa3'),{'type':_0x1cd3('0x128'),'fields':_0x1cd3('0xa6'),'sort':'-updatedAt','limit':0xa,'offset':0x0}):_0x58810e['resolve'](_0x1cd3('0x5c'),{'id':_0x42614c[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'section':_0x1cd3('0x129'),'channel':_0x1cd3('0x121'),'type':_0x1cd3('0x128'),'sort':_0x1cd3('0x5b'),'nolimit':!![]});}],'userProfile':['apiResolver',_0x1cd3('0x56'),function(_0x3a9713,_0x32a187){return _0x32a187[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x3a9713[_0x1cd3('0x58')](_0x1cd3('0x60'),{'fields':_0x1cd3('0x61'),'id':_0x32a187[_0x1cd3('0x5d')]()['userProfileId']});}],'userProfileSection':['apiResolver','Auth',function(_0x631b5f,_0x5c4b9b){return _0x5c4b9b[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x631b5f[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':_0x1cd3('0x82'),'userProfileId':_0x5c4b9b[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x5dd});}],'rpcQueues':['apiResolver',function(_0x3a5571){return _0x3a5571[_0x1cd3('0x58')]('rpc@getVoiceQueues');}]},'authenticate':!![],'permissionId':0x5e6})[_0x1cd3('0x19')](_0x1cd3('0x225'),{'url':_0x1cd3('0x226'),'controller':_0x1cd3('0x227'),'templateUrl':_0x1cd3('0x228'),'resolve':{'campaigns':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0xbd429f,_0x3149c9){return _0x3149c9[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0xbd429f[_0x1cd3('0x58')](_0x1cd3('0x206'),{'sort':'-updatedAt','limit':0xa,'offset':0x0}):_0xbd429f[_0x1cd3('0x58')](_0x1cd3('0x5c'),{'id':_0x3149c9[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'section':_0x1cd3('0x209'),'sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0});}],'userProfile':[_0x1cd3('0x62'),'Auth',function(_0x370203,_0x1d4fbb){return _0x1d4fbb[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x370203[_0x1cd3('0x58')]('userProfile@get',{'fields':_0x1cd3('0x61'),'id':_0x1d4fbb['getCurrentUser']()[_0x1cd3('0x5e')]});}],'userProfileSection':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x214e77,_0x278145){return _0x278145[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x214e77[_0x1cd3('0x58')]('userProfileSection@get',{'fields':_0x1cd3('0x82'),'userProfileId':_0x278145['getCurrentUser']()[_0x1cd3('0x5e')],'sectionId':0x5de});}],'rpcCampaigns':[_0x1cd3('0x62'),function(_0x5120dc){return _0x5120dc[_0x1cd3('0x58')](_0x1cd3('0x12a'));}]},'authenticate':!![],'permissionId':0x5e6});}}());(function(){'use strict';_0x46e436[_0x1cd3('0xc')]=['$stateProvider','$translatePartialLoaderProvider',_0x1cd3('0x41'),_0x1cd3('0x42')];angular[_0x1cd3('0x0')](_0x1cd3('0x31'),[_0x1cd3('0x43'),_0x1cd3('0x44'),_0x1cd3('0x45'),_0x1cd3('0x46'),_0x1cd3('0x47'),'ckeditor',_0x1cd3('0x49'),_0x1cd3('0x4a'),_0x1cd3('0x2'),_0x1cd3('0x84'),'mwFormBuilder',_0x1cd3('0x4c'),'mwFormUtils',_0x1cd3('0x85'),_0x1cd3('0x4e'),_0x1cd3('0x4f'),_0x1cd3('0x50'),_0x1cd3('0xb4'),_0x1cd3('0x51'),'angular.filter',_0x1cd3('0x229')])[_0x1cd3('0xf')](_0x46e436);function _0x46e436(_0x56c0be,_0x2def52,_0x2a657d,_0x2bdeb0){_0x56c0be[_0x1cd3('0x19')](_0x1cd3('0x31'),{'abstract':!![],'url':_0x1cd3('0x13c')})[_0x1cd3('0x19')](_0x1cd3('0x22a'),{'url':_0x1cd3('0x22b'),'views':{'content@app':{'templateUrl':_0x1cd3('0x22c'),'controller':_0x1cd3('0x22d')}},'resolve':{'openchannelQueues':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x46f97d,_0xe0cd01){return _0xe0cd01[_0x1cd3('0x57')]('admin')?_0x46f97d['resolve']('openchannelQueue@get',{'fields':_0x1cd3('0xbb'),'sort':_0x1cd3('0x5b'),'channel':_0x1cd3('0x22e'),'limit':0xa,'offset':0x0}):_0x46f97d['resolve']('userProfile@getResources',{'id':_0xe0cd01[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'section':_0x1cd3('0x22f'),'fields':_0x1cd3('0xbb'),'sort':_0x1cd3('0x5b'),'channel':_0x1cd3('0x22e'),'limit':0xa,'offset':0x0});}],'userProfile':[_0x1cd3('0x62'),'Auth',function(_0x477e29,_0x3306d3){return _0x3306d3[_0x1cd3('0x57')]('admin')?null:_0x477e29['resolve'](_0x1cd3('0x60'),{'fields':_0x1cd3('0x61'),'id':_0x3306d3[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')]});}],'userProfileSection':[_0x1cd3('0x62'),'Auth',function(_0x5d1e30,_0x29cf79){return _0x29cf79[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x5d1e30[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':_0x1cd3('0x82'),'userProfileId':_0x29cf79[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x321});}]},'authenticate':!![],'permissionId':0x321,'bodyClass':_0x1cd3('0x22e')})['state'](_0x1cd3('0x230'),{'url':_0x1cd3('0x72'),'params':{'openchannelQueue':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':_0x1cd3('0x231'),'controller':_0x1cd3('0x232')}},'resolve':{'openchannelQueue':[_0x1cd3('0x62'),_0x1cd3('0x75'),function(_0x1415cf,_0x311a92){return _0x1415cf['resolve'](_0x1cd3('0x233'),{'fields':_0x1cd3('0xbb'),'id':_0x311a92['id']});}],'userProfileSection':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x112613,_0x3dfd8b){return _0x112613['resolve']('userProfileSection@get',{'fields':_0x1cd3('0x82'),'userProfileId':_0x3dfd8b[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x321});}]},'authenticate':!![],'permissionId':0x321,'bodyClass':'openchannel'})[_0x1cd3('0x19')]('app.openchannel.openchannelAccounts',{'url':_0x1cd3('0x234'),'views':{'content@app':{'templateUrl':_0x1cd3('0x235'),'controller':_0x1cd3('0x236')}},'resolve':{'openchannelAccounts':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x56ee11,_0x304c03){return _0x304c03[_0x1cd3('0x57')]('admin')?_0x56ee11[_0x1cd3('0x58')](_0x1cd3('0x237'),{'fields':_0x1cd3('0x238'),'sort':'-updatedAt','limit':0xa,'offset':0x0}):_0x56ee11['resolve'](_0x1cd3('0x5c'),{'id':_0x304c03['getCurrentUser']()[_0x1cd3('0x5e')],'section':_0x1cd3('0x140'),'fields':_0x1cd3('0x238'),'sort':'-updatedAt','limit':0xa,'offset':0x0});}],'userProfile':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x4dbb45,_0x395cd6){return _0x395cd6[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x4dbb45[_0x1cd3('0x58')]('userProfile@get',{'fields':_0x1cd3('0x61'),'id':_0x395cd6[_0x1cd3('0x5d')]()['userProfileId']});}],'userProfileSection':['apiResolver',_0x1cd3('0x56'),function(_0x2fc2cf,_0x3926a8){return _0x3926a8[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x2fc2cf[_0x1cd3('0x58')]('userProfileSection@get',{'fields':_0x1cd3('0x82'),'userProfileId':_0x3926a8['getCurrentUser']()[_0x1cd3('0x5e')],'sectionId':0x322});}]},'authenticate':!![],'permissionId':0x322,'bodyClass':_0x1cd3('0x22e')})[_0x1cd3('0x19')]('app.openchannel.openchannelAccounts.edit',{'url':_0x1cd3('0x72'),'params':{'openchannelAccount':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':_0x1cd3('0x239'),'controller':_0x1cd3('0x23a')}},'resolve':{'openchannelAccount':['apiResolver',_0x1cd3('0x75'),function(_0x1a072b,_0x4a351a){return _0x1a072b[_0x1cd3('0x58')](_0x1cd3('0x237'),{'fields':_0x1cd3('0x238'),'id':_0x4a351a['id']});}],'userProfileSection':[_0x1cd3('0x62'),'Auth',function(_0x34d5f7,_0x2f5813){return _0x34d5f7[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':_0x1cd3('0x82'),'userProfileId':_0x2f5813[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x322});}]},'authenticate':!![],'permissionId':0x322,'bodyClass':'openchannel'});_0x2def52['addPart'](_0x1cd3('0x23b'));}}());(function(){'use strict';_0x313634[_0x1cd3('0xc')]=[_0x1cd3('0x1e')];angular[_0x1cd3('0x0')](_0x1cd3('0x229'),[])[_0x1cd3('0xf')](_0x313634);function _0x313634(_0x3345ec){_0x3345ec[_0x1cd3('0x19')](_0x1cd3('0x229'),{'url':_0x1cd3('0xc9'),'views':{'content@app':{'templateUrl':'app/main/apps/openchannel/views/realtime/realtime.html','controller':_0x1cd3('0x23c')}},'resolve':{'userProfile':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x1bcd78,_0xec0c8b){return _0xec0c8b[_0x1cd3('0x57')]('admin')?null:_0x1bcd78[_0x1cd3('0x58')](_0x1cd3('0x60'),{'fields':_0x1cd3('0x61'),'id':_0xec0c8b[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')]});}],'userProfileSection':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x3e34fe,_0x5f12a3){return _0x5f12a3['hasRole']('admin')?null:_0x3e34fe[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':_0x1cd3('0x82'),'userProfileId':_0x5f12a3[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x32a});}]},'authenticate':!![],'permissionId':0x32a})['state'](_0x1cd3('0x23d'),{'url':_0x1cd3('0xcd'),'controller':_0x1cd3('0x23e'),'templateUrl':'app/main/apps/openchannel/views/realtime/agents/view.html','resolve':{'pauses':['apiResolver',function(_0x1cb04e){return _0x1cb04e[_0x1cd3('0x58')](_0x1cd3('0xd0'),{'nolimit':!![]});}],'agents':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x4c4401,_0x1c069e){return _0x1c069e[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x4c4401['resolve'](_0x1cd3('0x9e'),{'fields':_0x1cd3('0xd1'),'role':_0x1cd3('0xd2'),'sort':_0x1cd3('0xd3'),'nolimit':!![]}):_0x4c4401[_0x1cd3('0x58')]('userProfile@getResources',{'id':_0x1c069e['getCurrentUser']()[_0x1cd3('0x5e')],'section':_0x1cd3('0xd4'),'fields':_0x1cd3('0xd1'),'role':'agent','sort':_0x1cd3('0xd3'),'nolimit':!![]});}],'userProfile':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x272d28,_0x3bbe03){return _0x3bbe03[_0x1cd3('0x57')]('admin')?null:_0x272d28[_0x1cd3('0x58')](_0x1cd3('0x60'),{'fields':'id,name,crudPermissions','id':_0x3bbe03[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')]});}],'userProfileSection':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x38869b,_0x1a4c18){return _0x1a4c18['hasRole']('admin')?null:_0x38869b[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':_0x1cd3('0x82'),'userProfileId':_0x1a4c18[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0xca});}],'rpcAgents':[_0x1cd3('0x62'),function(_0xd4e1c3){return _0xd4e1c3['resolve'](_0x1cd3('0xd5'));}]},'authenticate':!![],'permissionId':0x32a})[_0x1cd3('0x19')]('app.openchannel.realtime.queues',{'url':_0x1cd3('0xd7'),'controller':_0x1cd3('0x23f'),'templateUrl':_0x1cd3('0x240'),'resolve':{'queues':['apiResolver',_0x1cd3('0x56'),function(_0x2294ff,_0x37e2e6){return _0x37e2e6[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x2294ff[_0x1cd3('0x58')](_0x1cd3('0x233'),{'type':_0x1cd3('0xa4'),'sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0}):_0x2294ff[_0x1cd3('0x58')](_0x1cd3('0x5c'),{'id':_0x37e2e6['getCurrentUser']()['userProfileId'],'section':'OpenchannelQueues','channel':_0x1cd3('0x22e'),'type':'inbound','sort':_0x1cd3('0x5b'),'limit':0xa,'page':0x1});}],'userProfile':['apiResolver',_0x1cd3('0x56'),function(_0x487195,_0x113eb2){return _0x113eb2['hasRole'](_0x1cd3('0x5f'))?null:_0x487195[_0x1cd3('0x58')](_0x1cd3('0x60'),{'fields':_0x1cd3('0x61'),'id':_0x113eb2[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')]});}],'userProfileSection':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x9d3425,_0x252633){return _0x252633[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x9d3425[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':_0x1cd3('0x82'),'userProfileId':_0x252633[_0x1cd3('0x5d')]()['userProfileId'],'sectionId':0x321});}],'rpcQueues':[_0x1cd3('0x62'),function(_0x1435ce){return _0x1435ce[_0x1cd3('0x58')](_0x1cd3('0x241'));}]},'authenticate':!![],'permissionId':0x32a});}}());(function(){'use strict';_0x53a9b9[_0x1cd3('0xc')]=[_0x1cd3('0x1e'),_0x1cd3('0xd'),_0x1cd3('0x41'),_0x1cd3('0x42')];angular[_0x1cd3('0x0')](_0x1cd3('0x38'),[_0x1cd3('0x43'),_0x1cd3('0x44'),_0x1cd3('0x45'),_0x1cd3('0x46'),_0x1cd3('0x47'),'ckeditor',_0x1cd3('0x49'),_0x1cd3('0x4a'),_0x1cd3('0x2'),'mdPickers',_0x1cd3('0x4b'),_0x1cd3('0x4c'),_0x1cd3('0x4d'),_0x1cd3('0x85'),_0x1cd3('0x4e'),_0x1cd3('0x4f'),_0x1cd3('0x50'),_0x1cd3('0xb4'),_0x1cd3('0x51'),_0x1cd3('0x86'),_0x1cd3('0x242')])[_0x1cd3('0xf')](_0x53a9b9);function _0x53a9b9(_0x3ed4c6,_0x422837,_0x4d14ee,_0x326953){_0x3ed4c6['state']('app.plugins',{'abstract':!![],'url':_0x1cd3('0x1f3')});_0x422837['addPart'](_0x1cd3('0x243'));}}());(function(){'use strict';_0x12134b[_0x1cd3('0xc')]=[_0x1cd3('0x1e')];angular[_0x1cd3('0x0')]('app.plugins.plugin',[])[_0x1cd3('0xf')](_0x12134b);function _0x12134b(_0x4bc39f){_0x4bc39f['state'](_0x1cd3('0x242'),{'url':'/plugin/:id','views':{'content@app':{'templateUrl':_0x1cd3('0x244'),'controller':_0x1cd3('0x245')}},'resolve':{},'authenticate':!![],'bodyClass':_0x1cd3('0x246')});}}());(function(){'use strict';_0x3f33d2['$inject']=['$stateProvider','$translatePartialLoaderProvider',_0x1cd3('0x41'),_0x1cd3('0x42')];angular[_0x1cd3('0x0')](_0x1cd3('0x247'),[_0x1cd3('0x43'),_0x1cd3('0x44'),_0x1cd3('0x45'),_0x1cd3('0x46'),_0x1cd3('0x47'),'ckeditor',_0x1cd3('0x49'),_0x1cd3('0x4a'),_0x1cd3('0x2'),_0x1cd3('0x84'),'mwFormBuilder',_0x1cd3('0x4c'),_0x1cd3('0x4d'),_0x1cd3('0x85'),'angular-cron-jobs',_0x1cd3('0x4f'),_0x1cd3('0x50'),_0x1cd3('0xb4'),'chart.js',_0x1cd3('0x86'),_0x1cd3('0x248'),'app.settings.license',_0x1cd3('0x249')])[_0x1cd3('0xf')](_0x3f33d2);function _0x3f33d2(_0x3480f4,_0x1a3dbb,_0x5e69a1,_0x4df5c6){_0x3480f4[_0x1cd3('0x19')](_0x1cd3('0x247'),{'abstract':!![],'url':'/settings'})['state']('app.settings.generals',{'url':_0x1cd3('0x24a'),'views':{'content@app':{'templateUrl':_0x1cd3('0x24b'),'controller':'GeneralsController\x20as\x20vm'}},'resolve':{'generals':[_0x1cd3('0x62'),function(_0x47515d){return _0x47515d[_0x1cd3('0x58')](_0x1cd3('0x24c'),{'fields':'createdAt,updatedAt,id,min_internal,securePassword,callRecordingEncryption,chatTimeout,phoneBarAutoUpdater,defaultScreenRecordingPath,phoneBarAutoUpdaterUrl,enableEmailPreview,split,splitSizeCsv,splitSizePdf,splitSizeXlsx,messagesAlignment,phoneBarRememberMeEnabled,rtlSupport,allowedLoginAttempts,blockDuration,loginMailFrequency,language,bucket,transcribe,transcribeRegion,transcribeAccountId,sentiment,sentimentRegion,sentimentAccountId,googleSsoEnabled','limit':0xa,'offset':0x0});}]},'authenticate':!![],'permissionId':0x578,'bodyClass':_0x1cd3('0x24d')})[_0x1cd3('0x19')]('app.settings.smtps',{'url':_0x1cd3('0x24e'),'views':{'content@app':{'templateUrl':_0x1cd3('0x24f'),'controller':_0x1cd3('0x250')}},'resolve':{'smtps':[_0x1cd3('0x62'),function(_0x4441b8){return _0x4441b8['resolve'](_0x1cd3('0xae'),{'fields':_0x1cd3('0x251'),'service':'1','limit':0xa,'offset':0x0});}]},'authenticate':!![],'permissionId':0x578,'bodyClass':_0x1cd3('0x24d')})[_0x1cd3('0x19')](_0x1cd3('0x252'),{'url':_0x1cd3('0x253'),'views':{'content@app':{'templateUrl':_0x1cd3('0x254'),'controller':'NetworksController\x20as\x20vm'}},'resolve':{'networks':[_0x1cd3('0x62'),function(_0x349317){return _0x349317['resolve']('network@get',{'fields':_0x1cd3('0x255'),'sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0});}]},'authenticate':!![],'permissionId':0x578,'bodyClass':_0x1cd3('0x24d')})[_0x1cd3('0x19')](_0x1cd3('0x256'),{'url':_0x1cd3('0x257'),'views':{'content@app':{'templateUrl':_0x1cd3('0x258'),'controller':_0x1cd3('0x259')}},'resolve':{'customizations':[_0x1cd3('0x62'),function(_0xcc9581){return _0xcc9581[_0x1cd3('0x58')](_0x1cd3('0x24c'),{'fields':_0x1cd3('0x25a'),'limit':0xa,'offset':0x0});}]},'authenticate':!![],'permissionId':0x578,'bodyClass':_0x1cd3('0x24d')})[_0x1cd3('0x19')](_0x1cd3('0x25b'),{'url':'/cloudProviders','views':{'content@app':{'templateUrl':'app/main/apps/settings/views/cloudProviders/cloudProviders.html','controller':'CloudProvidersController\x20as\x20vm'}},'resolve':{'cloudProviders':[_0x1cd3('0x62'),function(_0x1c2826){return _0x1c2826[_0x1cd3('0x58')]('cloudProvider@get',{'fields':_0x1cd3('0x25c'),'sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0});}]},'authenticate':!![],'permissionId':0x578,'bodyClass':'settings'});_0x1a3dbb[_0x1cd3('0x16')]('app/main/apps/settings');}}());(function(){'use strict';_0x435d9f[_0x1cd3('0xc')]=['$stateProvider'];angular['module'](_0x1cd3('0x25d'),[])[_0x1cd3('0xf')](_0x435d9f);function _0x435d9f(_0x1ce703){_0x1ce703['state'](_0x1cd3('0x25d'),{'url':'/license','views':{'content@app':{'templateUrl':'app/main/apps/settings/views/license/license.html','controller':_0x1cd3('0x25e')}},'authenticate':!![],'permissionId':0x578,'bodyClass':'settings'});}}());(function(){'use strict';_0x56be49[_0x1cd3('0xc')]=[_0x1cd3('0x1e')];angular['module'](_0x1cd3('0x249'),[])[_0x1cd3('0xf')](_0x56be49);function _0x56be49(_0x370680){_0x370680[_0x1cd3('0x19')]('app.settings.system',{'url':'/system?tab','views':{'content@app':{'templateUrl':_0x1cd3('0x25f'),'controller':_0x1cd3('0x260')}},'resolve':{'system':[_0x1cd3('0x62'),function(_0x115e24){return _0x115e24['resolve'](_0x1cd3('0x261'));}],'processes':[_0x1cd3('0x62'),function(_0x58673f){return _0x58673f[_0x1cd3('0x58')](_0x1cd3('0x262'));}]},'authenticate':!![],'permissionId':0x578,'bodyClass':_0x1cd3('0x24d')});}}());(function(){'use strict';_0x124051[_0x1cd3('0xc')]=[_0x1cd3('0x1e')];angular[_0x1cd3('0x0')]('app.settings.updates',[])[_0x1cd3('0xf')](_0x124051);function _0x124051(_0x1b6370){_0x1b6370[_0x1cd3('0x19')](_0x1cd3('0x248'),{'url':_0x1cd3('0x263'),'views':{'content@app':{'templateUrl':_0x1cd3('0x264'),'controller':'UpdatesController\x20as\x20vm'}},'resolve':{'version':[_0x1cd3('0x62'),function(_0xff0d68){return _0xff0d68[_0x1cd3('0x58')]('version@get',{'latest':!![]});}],'userProfile':['apiResolver',_0x1cd3('0x56'),function(_0x2fbb77,_0x5a5dd0){return _0x2fbb77[_0x1cd3('0x58')](_0x1cd3('0x60'),{'fields':_0x1cd3('0x61'),'id':_0x5a5dd0['getCurrentUser']()[_0x1cd3('0x5e')]});}],'userProfileSection':['apiResolver',_0x1cd3('0x56'),function(_0x5351f2,_0x5003f9){return _0x5351f2[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':_0x1cd3('0x82'),'userProfileId':_0x5003f9[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x578});}]},'authenticate':!![],'permissionId':0x578,'bodyClass':'settings'});}}());(function(){'use strict';_0x178618[_0x1cd3('0xc')]=[_0x1cd3('0x1e'),'$translatePartialLoaderProvider',_0x1cd3('0x41'),_0x1cd3('0x42')];angular[_0x1cd3('0x0')](_0x1cd3('0x30'),[_0x1cd3('0x43'),_0x1cd3('0x44'),_0x1cd3('0x45'),_0x1cd3('0x46'),_0x1cd3('0x47'),_0x1cd3('0x48'),_0x1cd3('0x49'),_0x1cd3('0x4a'),_0x1cd3('0x2'),_0x1cd3('0x84'),_0x1cd3('0x4b'),'mwFormViewer','mwFormUtils',_0x1cd3('0x85'),_0x1cd3('0x4e'),'ngEmbed',_0x1cd3('0x50'),_0x1cd3('0xb4'),_0x1cd3('0x51'),_0x1cd3('0x86'),'app.sms.realtime'])[_0x1cd3('0xf')](_0x178618);function _0x178618(_0x284080,_0x34e697,_0x446d1c,_0x525775){_0x284080[_0x1cd3('0x19')]('app.sms',{'abstract':!![],'url':_0x1cd3('0x265')})[_0x1cd3('0x19')](_0x1cd3('0x266'),{'url':_0x1cd3('0x267'),'views':{'content@app':{'templateUrl':_0x1cd3('0x268'),'controller':'SmsQueuesController\x20as\x20vm'}},'resolve':{'smsQueues':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x129533,_0x22d894){return _0x22d894['hasRole']('admin')?_0x129533[_0x1cd3('0x58')](_0x1cd3('0x269'),{'fields':'createdAt,updatedAt,id,name,strategy,timeout,description','sort':_0x1cd3('0x5b'),'channel':'sms','limit':0xa,'offset':0x0}):_0x129533[_0x1cd3('0x58')](_0x1cd3('0x5c'),{'id':_0x22d894['getCurrentUser']()[_0x1cd3('0x5e')],'section':_0x1cd3('0x26a'),'fields':'createdAt,updatedAt,id,name,strategy,timeout,description','sort':_0x1cd3('0x5b'),'channel':'sms','limit':0xa,'offset':0x0});}],'userProfile':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x3a9cba,_0x5a7bae){return _0x5a7bae[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x3a9cba[_0x1cd3('0x58')](_0x1cd3('0x60'),{'fields':_0x1cd3('0x61'),'id':_0x5a7bae[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')]});}],'userProfileSection':[_0x1cd3('0x62'),'Auth',function(_0xf55cfb,_0x1a8922){return _0x1a8922['hasRole'](_0x1cd3('0x5f'))?null:_0xf55cfb['resolve']('userProfileSection@get',{'fields':'id,name,enabled,includeAll,autoAssociation,crudPermissions','userProfileId':_0x1a8922[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x2bd});}]},'authenticate':!![],'permissionId':0x2bd,'bodyClass':_0x1cd3('0x26b')})['state']('app.sms.smsQueues.edit',{'url':_0x1cd3('0x72'),'params':{'smsQueue':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':_0x1cd3('0x26c'),'controller':'SmsQueueController\x20as\x20vm'}},'resolve':{'smsQueue':[_0x1cd3('0x62'),_0x1cd3('0x75'),function(_0x523440,_0x4aed85){return _0x523440[_0x1cd3('0x58')](_0x1cd3('0x269'),{'fields':_0x1cd3('0xbb'),'id':_0x4aed85['id']});}],'userProfileSection':['apiResolver','Auth',function(_0x39ceac,_0x5cc77b){return _0x39ceac[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':'id,name,enabled,includeAll,autoAssociation,crudPermissions','userProfileId':_0x5cc77b['getCurrentUser']()[_0x1cd3('0x5e')],'sectionId':0x2bd});}]},'authenticate':!![],'permissionId':0x2bd,'bodyClass':_0x1cd3('0x26b')})[_0x1cd3('0x19')]('app.sms.smsAccounts',{'url':'/smsAccounts','views':{'content@app':{'templateUrl':_0x1cd3('0x26d'),'controller':_0x1cd3('0x26e')}},'resolve':{'smsAccounts':[_0x1cd3('0x62'),'Auth',function(_0x4dcb70,_0x4a4555){return _0x4a4555[_0x1cd3('0x57')]('admin')?_0x4dcb70[_0x1cd3('0x58')](_0x1cd3('0x26f'),{'fields':_0x1cd3('0x270'),'sort':'-updatedAt','limit':0xa,'offset':0x0}):_0x4dcb70[_0x1cd3('0x58')](_0x1cd3('0x5c'),{'id':_0x4a4555['getCurrentUser']()[_0x1cd3('0x5e')],'section':_0x1cd3('0xb2'),'fields':_0x1cd3('0x270'),'sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0});}],'userProfile':['apiResolver',_0x1cd3('0x56'),function(_0x7cda91,_0x594f31){return _0x594f31[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x7cda91[_0x1cd3('0x58')](_0x1cd3('0x60'),{'fields':_0x1cd3('0x61'),'id':_0x594f31[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')]});}],'userProfileSection':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x58fffc,_0x113506){return _0x113506[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x58fffc[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':'id,name,enabled,includeAll,autoAssociation,crudPermissions','userProfileId':_0x113506[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x2be});}]},'authenticate':!![],'permissionId':0x2be,'bodyClass':_0x1cd3('0x26b')})['state'](_0x1cd3('0x271'),{'url':_0x1cd3('0x72'),'params':{'smsAccount':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':_0x1cd3('0x272'),'controller':'SmsAccountController\x20as\x20vm'}},'resolve':{'smsAccount':[_0x1cd3('0x62'),_0x1cd3('0x75'),function(_0x2f471e,_0x517e20){return _0x2f471e['resolve'](_0x1cd3('0x26f'),{'fields':'createdAt,updatedAt,id,name,key,token,remote,ListId,type,phone,accountSid,authId,authToken,smsMethod,username,password,baseUrl,apiKey,senderString,deliveryReport,waitForTheAssignedAgent,mandatoryDisposition,mandatoryDispositionPauseId,description,receiveUrl,deliveryReportUrl,notificationSound,notificationShake,notificationTemplate,queueTransfer,queueTransferTimeout,agentTransfer,agentTransferTimeout','id':_0x517e20['id']});}],'userProfileSection':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x2e4d9a,_0x416b5a){return _0x2e4d9a[_0x1cd3('0x58')]('userProfileSection@get',{'fields':_0x1cd3('0x82'),'userProfileId':_0x416b5a[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x2be});}]},'authenticate':!![],'permissionId':0x2be,'bodyClass':'sms'});_0x34e697[_0x1cd3('0x16')](_0x1cd3('0x273'));}}());(function(){'use strict';_0x2d7f61[_0x1cd3('0xc')]=[_0x1cd3('0x1e')];angular[_0x1cd3('0x0')](_0x1cd3('0x274'),[])[_0x1cd3('0xf')](_0x2d7f61);function _0x2d7f61(_0x2a95c5){_0x2a95c5['state']('app.sms.realtime',{'url':'/realtime','views':{'content@app':{'templateUrl':_0x1cd3('0x275'),'controller':'SmsRealtimeController\x20as\x20vm'}},'resolve':{'userProfile':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x3863ec,_0x3d1bc9){return _0x3d1bc9[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x3863ec[_0x1cd3('0x58')](_0x1cd3('0x60'),{'fields':_0x1cd3('0x61'),'id':_0x3d1bc9[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')]});}],'userProfileSection':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x2227b5,_0x302561){return _0x302561['hasRole'](_0x1cd3('0x5f'))?null:_0x2227b5['resolve'](_0x1cd3('0x63'),{'fields':_0x1cd3('0x82'),'userProfileId':_0x302561[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x2c6});}]},'authenticate':!![],'permissionId':0x2c6})['state'](_0x1cd3('0x276'),{'url':_0x1cd3('0xcd'),'controller':_0x1cd3('0x277'),'templateUrl':_0x1cd3('0x278'),'resolve':{'pauses':[_0x1cd3('0x62'),function(_0x12ea98){return _0x12ea98[_0x1cd3('0x58')]('pause@get',{'nolimit':!![]});}],'agents':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x5e08a3,_0x5a69d4){return _0x5a69d4[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x5e08a3[_0x1cd3('0x58')](_0x1cd3('0x9e'),{'fields':_0x1cd3('0xd1'),'role':_0x1cd3('0xd2'),'sort':_0x1cd3('0xd3'),'nolimit':!![]}):_0x5e08a3['resolve'](_0x1cd3('0x5c'),{'id':_0x5a69d4[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'section':_0x1cd3('0xd4'),'fields':'id,name,fullname,role,userpic,internal,online,voicePause,openchannelPause,faxPause,chatPause,smsPause,whatsappPause,mailPause,pauseType,lastPauseAt,lastLoginAt,lastPauseAt,chatCapacity,mailCapacity,openchannelCapacity,faxCapacity,smsCapacity,whatsappCapacity,screenrecording,phoneBarEnableScreenRecordingByAgent,phoneBarEnableAutomaticScreenRecording','role':_0x1cd3('0xd2'),'sort':_0x1cd3('0xd3'),'nolimit':!![]});}],'userProfile':[_0x1cd3('0x62'),'Auth',function(_0x13d226,_0x47f2c5){return _0x47f2c5[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x13d226['resolve']('userProfile@get',{'fields':_0x1cd3('0x61'),'id':_0x47f2c5[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')]});}],'userProfileSection':['apiResolver','Auth',function(_0x4c46e0,_0x21c867){return _0x21c867[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x4c46e0[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':'id,name,enabled,includeAll,autoAssociation,crudPermissions','userProfileId':_0x21c867[_0x1cd3('0x5d')]()['userProfileId'],'sectionId':0xca});}],'rpcAgents':['apiResolver',function(_0x505892){return _0x505892[_0x1cd3('0x58')](_0x1cd3('0xd5'));}]},'authenticate':!![],'permissionId':0x2c6})['state'](_0x1cd3('0x279'),{'url':_0x1cd3('0xd7'),'controller':_0x1cd3('0x27a'),'templateUrl':'app/main/apps/sms/views/realtime/queues/view.html','resolve':{'queues':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x3fad52,_0x51fa2b){return _0x51fa2b['hasRole'](_0x1cd3('0x5f'))?_0x3fad52[_0x1cd3('0x58')](_0x1cd3('0x269'),{'type':'inbound','sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0}):_0x3fad52[_0x1cd3('0x58')](_0x1cd3('0x5c'),{'id':_0x51fa2b[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'section':'SmsQueues','channel':_0x1cd3('0x26b'),'type':_0x1cd3('0xa4'),'sort':_0x1cd3('0x5b'),'limit':0xa,'page':0x1});}],'userProfile':[_0x1cd3('0x62'),'Auth',function(_0x2c9e01,_0x364c9e){return _0x364c9e[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x2c9e01[_0x1cd3('0x58')](_0x1cd3('0x60'),{'fields':_0x1cd3('0x61'),'id':_0x364c9e['getCurrentUser']()[_0x1cd3('0x5e')]});}],'userProfileSection':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x3cb3ac,_0x2189c9){return _0x2189c9[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x3cb3ac['resolve']('userProfileSection@get',{'fields':_0x1cd3('0x82'),'userProfileId':_0x2189c9[_0x1cd3('0x5d')]()['userProfileId'],'sectionId':0x2bd});}],'rpcQueues':['apiResolver',function(_0xe8b342){return _0xe8b342[_0x1cd3('0x58')](_0x1cd3('0x27b'));}]},'authenticate':!![],'permissionId':0x2c6});}}());(function(){'use strict';_0x457bed[_0x1cd3('0xc')]=[_0x1cd3('0x1e'),_0x1cd3('0xd'),'msApiProvider',_0x1cd3('0x42')];angular[_0x1cd3('0x0')](_0x1cd3('0x2b'),[_0x1cd3('0x43'),'ngPassword','md.data.table',_0x1cd3('0x46'),'mdColorPicker',_0x1cd3('0x48'),_0x1cd3('0x49'),_0x1cd3('0x4a'),_0x1cd3('0x2'),_0x1cd3('0x84'),'mwFormBuilder',_0x1cd3('0x4c'),'mwFormUtils','ngclipboard',_0x1cd3('0x4e'),_0x1cd3('0x4f'),_0x1cd3('0x50'),_0x1cd3('0xb4'),_0x1cd3('0x51'),'angular.filter'])['config'](_0x457bed);function _0x457bed(_0x554189,_0x5e0324,_0x7b481b,_0xa0301e){_0x554189[_0x1cd3('0x19')](_0x1cd3('0x2b'),{'abstract':!![],'url':'/staff'})[_0x1cd3('0x19')](_0x1cd3('0x27c'),{'url':_0x1cd3('0x27d'),'views':{'content@app':{'templateUrl':_0x1cd3('0x27e'),'controller':'UsersController\x20as\x20vm'}},'resolve':{'users':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x46aac7,_0x2e547e){return _0x46aac7[_0x1cd3('0x58')]('user@get',{'fields':_0x1cd3('0x27f'),'role':_0x1cd3('0x280'),'sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0});}],'userProfile':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x2859c0,_0x106eda){return _0x106eda[_0x1cd3('0x57')]('admin')?null:_0x2859c0['resolve'](_0x1cd3('0x60'),{'fields':'id,name,crudPermissions','id':_0x106eda[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')]});}],'userProfileSection':[_0x1cd3('0x62'),'Auth',function(_0x53e2f2,_0x5905ab){return _0x5905ab[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x53e2f2[_0x1cd3('0x58')]('userProfileSection@get',{'fields':_0x1cd3('0x82'),'userProfileId':_0x5905ab['getCurrentUser']()[_0x1cd3('0x5e')],'sectionId':0xc9});}]},'authenticate':!![],'permissionId':0xc9,'bodyClass':_0x1cd3('0x281')})['state'](_0x1cd3('0x282'),{'url':_0x1cd3('0x72'),'params':{'user':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':_0x1cd3('0x283'),'controller':_0x1cd3('0x284')}},'resolve':{'user':[_0x1cd3('0x62'),_0x1cd3('0x75'),function(_0x5e3160,_0x596296){return _0x5e3160['resolve']('user@get',{'fields':'createdAt,updatedAt,role,userProfileId,id,fullname,name,email,phone,mobile,userpic,password,description,autointernal,internal,transport,nat,allow,context,callgroup,pickupgroup,passwordResetAt,apiKey,videosupport,disabled,blocked','id':_0x596296['id']});}],'userProfileSection':[_0x1cd3('0x62'),'Auth',function(_0x16462b,_0x19986c){return _0x16462b[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':_0x1cd3('0x82'),'userProfileId':_0x19986c[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0xc9});}]},'authenticate':!![],'permissionId':0xc9,'bodyClass':_0x1cd3('0x281')})[_0x1cd3('0x19')](_0x1cd3('0x285'),{'url':_0x1cd3('0xcd'),'views':{'content@app':{'templateUrl':_0x1cd3('0x286'),'controller':'AgentsController\x20as\x20vm'}},'resolve':{'agents':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x5ca83e,_0x52c9ce){return _0x52c9ce[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x5ca83e[_0x1cd3('0x58')](_0x1cd3('0x9e'),{'fields':_0x1cd3('0x287'),'role':_0x1cd3('0xd2'),'sort':'-updatedAt','limit':0xa,'offset':0x0}):_0x5ca83e[_0x1cd3('0x58')]('userProfile@getResources',{'id':_0x52c9ce['getCurrentUser']()[_0x1cd3('0x5e')],'section':_0x1cd3('0xd4'),'fields':'createdAt,updatedAt,id,role,fullname,name,alias,showWebBar,email,phone,mobile,userpic,password,hotdesk,autointernal,internal,loginInPause,description,dtlscertfile,dtlsprivatekey,voicemail,transport,host,nat,type,allow,callerid,context,callgroup,pickupgroup,chanspy,videosupport,extensionMonitor,chatCapacity,mailCapacity,smsCapacity,openchannelCapacity,faxCapacity,whatsappCapacity,phoneBarEnableSettings,phoneBarAutoAnswer,phoneBarAutoAnswerDelay,phoneBarRingInUse,phoneBarEnableRecording,phoneBarEnableDtmfTone,phoneBarDnd,phoneBarUnansweredCallBadge,phoneBarEnableJaws,phoneBarOutboundProxy,phoneBarUnconditional,phoneBarUnconditionalNumber,phoneBarRemoteControl,phoneBarRemoteControlPort,phoneBarExpires,phoneBarListenPort,permissions,allowmessenger,phoneBarPrefixRequired,passwordResetAt,disabled,blocked,phoneBarEnableScreenRecordingByAgent,phoneBarEnableAutomaticScreenRecording','role':_0x1cd3('0xd2'),'sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0});}],'userProfile':['apiResolver',_0x1cd3('0x56'),function(_0x3dca3c,_0x5b092d){return _0x5b092d[_0x1cd3('0x57')]('admin')?null:_0x3dca3c[_0x1cd3('0x58')]('userProfile@get',{'fields':_0x1cd3('0x61'),'id':_0x5b092d[_0x1cd3('0x5d')]()['userProfileId']});}],'userProfileSection':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x2481f0,_0x25c42f){return _0x25c42f[_0x1cd3('0x57')]('admin')?null:_0x2481f0[_0x1cd3('0x58')]('userProfileSection@get',{'fields':_0x1cd3('0x82'),'userProfileId':_0x25c42f[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0xca});}]},'authenticate':!![],'permissionId':0xca,'bodyClass':_0x1cd3('0x281')})['state'](_0x1cd3('0x288'),{'url':_0x1cd3('0x72'),'params':{'agent':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':_0x1cd3('0x289'),'controller':_0x1cd3('0x28a')}},'resolve':{'agent':[_0x1cd3('0x62'),'$stateParams',function(_0x836b2c,_0x1f61d2){return _0x836b2c[_0x1cd3('0x58')](_0x1cd3('0x9e'),{'fields':'createdAt,updatedAt,id,role,fullname,name,alias,showWebBar,email,phone,mobile,userpic,password,hotdesk,autointernal,internal,loginInPause,description,dtlscertfile,dtlsprivatekey,voicemail,transport,host,nat,type,allow,callerid,context,callgroup,pickupgroup,chanspy,videosupport,extensionMonitor,chatCapacity,mailCapacity,smsCapacity,openchannelCapacity,faxCapacity,whatsappCapacity,phoneBarEnableSettings,phoneBarAutoAnswer,phoneBarAutoAnswerDelay,phoneBarRingInUse,phoneBarEnableRecording,phoneBarEnableDtmfTone,phoneBarDnd,phoneBarUnansweredCallBadge,phoneBarEnableJaws,phoneBarOutboundProxy,phoneBarUnconditional,phoneBarUnconditionalNumber,phoneBarRemoteControl,phoneBarRemoteControlPort,phoneBarExpires,phoneBarListenPort,permissions,allowmessenger,phoneBarPrefixRequired,passwordResetAt,disabled,blocked,phoneBarEnableScreenRecordingByAgent,phoneBarEnableAutomaticScreenRecording','id':_0x1f61d2['id']});}],'userProfileSection':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x179c4e,_0x280fc1){return _0x179c4e['resolve']('userProfileSection@get',{'fields':_0x1cd3('0x82'),'userProfileId':_0x280fc1[_0x1cd3('0x5d')]()['userProfileId'],'sectionId':0xca});}]},'authenticate':!![],'permissionId':0xca,'bodyClass':_0x1cd3('0x281')})[_0x1cd3('0x19')]('app.staff.telephones',{'url':_0x1cd3('0x28b'),'views':{'content@app':{'templateUrl':'app/main/apps/staff/views/telephones/telephones.html','controller':_0x1cd3('0x28c')}},'resolve':{'telephones':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x3a34e9,_0x3522f7){return _0x3522f7[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x3a34e9[_0x1cd3('0x58')](_0x1cd3('0x9e'),{'fields':_0x1cd3('0x28d'),'role':_0x1cd3('0x28e'),'sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0}):_0x3a34e9[_0x1cd3('0x58')](_0x1cd3('0x5c'),{'id':_0x3522f7['getCurrentUser']()[_0x1cd3('0x5e')],'section':_0x1cd3('0x28f'),'fields':_0x1cd3('0x28d'),'role':'telephone','sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0});}],'userProfile':['apiResolver',_0x1cd3('0x56'),function(_0x4390b2,_0x219b1b){return _0x219b1b[_0x1cd3('0x57')]('admin')?null:_0x4390b2[_0x1cd3('0x58')](_0x1cd3('0x60'),{'fields':_0x1cd3('0x61'),'id':_0x219b1b[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')]});}],'userProfileSection':['apiResolver',_0x1cd3('0x56'),function(_0x166776,_0x5b8c51){return _0x5b8c51[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x166776[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':'id,name,enabled,includeAll,autoAssociation,crudPermissions','userProfileId':_0x5b8c51[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0xcb});}]},'authenticate':!![],'permissionId':0xcb,'bodyClass':_0x1cd3('0x281')})[_0x1cd3('0x19')]('app.staff.telephones.edit',{'url':_0x1cd3('0x72'),'params':{'telephone':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':_0x1cd3('0x290'),'controller':_0x1cd3('0x291')}},'resolve':{'telephone':[_0x1cd3('0x62'),_0x1cd3('0x75'),function(_0x5529ce,_0xb8b983){return _0x5529ce[_0x1cd3('0x58')](_0x1cd3('0x9e'),{'fields':'createdAt,updatedAt,id,role,fullname,name,email,password,description,autointernal,internal,voicemail,transport,nat,allow,callerid,context,callgroup,pickupgroup,videosupport,encryption,phone,mobile','id':_0xb8b983['id']});}],'userProfileSection':['apiResolver',_0x1cd3('0x56'),function(_0x3267fd,_0x2b6f02){return _0x3267fd[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':'id,name,enabled,includeAll,autoAssociation,crudPermissions','userProfileId':_0x2b6f02[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0xcb});}]},'authenticate':!![],'permissionId':0xcb,'bodyClass':_0x1cd3('0x281')})[_0x1cd3('0x19')](_0x1cd3('0x292'),{'url':_0x1cd3('0x293'),'views':{'content@app':{'templateUrl':_0x1cd3('0x294'),'controller':'TeamsController\x20as\x20vm'}},'resolve':{'teams':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x5d6849,_0x3c48f0){return _0x3c48f0[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x5d6849['resolve']('team@get',{'fields':_0x1cd3('0x295'),'sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0}):_0x5d6849[_0x1cd3('0x58')](_0x1cd3('0x5c'),{'id':_0x3c48f0[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'section':_0x1cd3('0x296'),'fields':_0x1cd3('0x295'),'sort':'-updatedAt','limit':0xa,'offset':0x0});}],'userProfile':['apiResolver',_0x1cd3('0x56'),function(_0xb7aaff,_0x2eaa64){return _0x2eaa64[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0xb7aaff['resolve'](_0x1cd3('0x60'),{'fields':_0x1cd3('0x61'),'id':_0x2eaa64[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')]});}],'userProfileSection':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x45aa5b,_0x4dfcad){return _0x4dfcad[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x45aa5b['resolve'](_0x1cd3('0x63'),{'fields':'id,name,enabled,includeAll,autoAssociation,crudPermissions','userProfileId':_0x4dfcad[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0xcc});}]},'authenticate':!![],'permissionId':0xcc,'bodyClass':_0x1cd3('0x281')})[_0x1cd3('0x19')](_0x1cd3('0x297'),{'url':_0x1cd3('0x298'),'views':{'content@app':{'templateUrl':'app/main/apps/staff/views/userProfiles/userProfiles.html','controller':_0x1cd3('0x299')}},'resolve':{'userProfiles':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x5279e0,_0x2d94cc){return _0x5279e0[_0x1cd3('0x58')](_0x1cd3('0x60'),{'fields':_0x1cd3('0x29a'),'sort':'-updatedAt','limit':0xa,'offset':0x0});}],'userProfile':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0xe9958,_0x49ed46){return _0x49ed46[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0xe9958['resolve'](_0x1cd3('0x60'),{'fields':_0x1cd3('0x61'),'id':_0x49ed46['getCurrentUser']()['userProfileId']});}],'userProfileSection':['apiResolver',_0x1cd3('0x56'),function(_0x403bb7,_0x414956){return _0x414956[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x403bb7[_0x1cd3('0x58')]('userProfileSection@get',{'fields':_0x1cd3('0x82'),'userProfileId':_0x414956[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0xcd});}]},'authenticate':!![],'permissionId':0xcd,'bodyClass':_0x1cd3('0x281')})[_0x1cd3('0x19')]('app.staff.userProfiles.edit',{'url':_0x1cd3('0x72'),'params':{'userProfile':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':_0x1cd3('0x29b'),'controller':_0x1cd3('0x29c')}},'resolve':{'userProfile':[_0x1cd3('0x62'),_0x1cd3('0x75'),function(_0x233a9e,_0x48ed1b){return _0x233a9e['resolve'](_0x1cd3('0x60'),{'fields':_0x1cd3('0x29a'),'id':_0x48ed1b['id']});}],'userProfileSection':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x5331e0,_0x3e7d29){return _0x5331e0['resolve'](_0x1cd3('0x63'),{'fields':_0x1cd3('0x82'),'userProfileId':_0x3e7d29[_0x1cd3('0x5d')]()['userProfileId'],'sectionId':0xcd});}]},'authenticate':!![],'permissionId':0xcd,'bodyClass':_0x1cd3('0x281')});_0x5e0324['addPart'](_0x1cd3('0x29d'));}}());(function(){'use strict';_0x3fa934[_0x1cd3('0xc')]=['$stateProvider',_0x1cd3('0xd'),_0x1cd3('0x41'),_0x1cd3('0x42')];angular['module']('app.tools',['ngCsv','ngPassword',_0x1cd3('0x45'),_0x1cd3('0x46'),_0x1cd3('0x47'),_0x1cd3('0x48'),_0x1cd3('0x49'),'ngAria',_0x1cd3('0x2'),_0x1cd3('0x84'),'mwFormBuilder',_0x1cd3('0x4c'),'mwFormUtils',_0x1cd3('0x85'),_0x1cd3('0x4e'),'ngEmbed',_0x1cd3('0x50'),_0x1cd3('0xb4'),_0x1cd3('0x51'),'angular.filter'])[_0x1cd3('0xf')](_0x3fa934);function _0x3fa934(_0x28f1be,_0x4d7177,_0x5b6966,_0x5143cf){_0x28f1be[_0x1cd3('0x19')](_0x1cd3('0x33'),{'abstract':!![],'url':_0x1cd3('0x29e')})[_0x1cd3('0x19')](_0x1cd3('0x29f'),{'url':_0x1cd3('0x2a0'),'views':{'content@app':{'templateUrl':_0x1cd3('0x2a1'),'controller':'CannedAnswersController\x20as\x20vm'}},'resolve':{'cannedAnswers':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x507661,_0x15fdb6){return _0x15fdb6[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x507661[_0x1cd3('0x58')]('cannedAnswer@get',{'fields':'createdAt,updatedAt,id,key,value,description','sort':_0x1cd3('0x5b'),'MailAccountId':_0x1cd3('0x220'),'FaxAccountId':_0x1cd3('0x220'),'SmsAccountId':_0x1cd3('0x220'),'OpenchannelAccountId':_0x1cd3('0x220'),'ChatWebsiteId':_0x1cd3('0x220'),'limit':0xa,'offset':0x0}):_0x507661[_0x1cd3('0x58')]('userProfile@getResources',{'id':_0x15fdb6['getCurrentUser']()['userProfileId'],'section':'CannedAnswers','fields':_0x1cd3('0x2a2'),'sort':_0x1cd3('0x5b'),'MailAccountId':_0x1cd3('0x220'),'FaxAccountId':'null','SmsAccountId':_0x1cd3('0x220'),'OpenchannelAccountId':_0x1cd3('0x220'),'ChatWebsiteId':_0x1cd3('0x220'),'limit':0xa,'offset':0x0});}],'userProfile':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x1b6ce6,_0x40e8ed){return _0x40e8ed[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x1b6ce6['resolve'](_0x1cd3('0x60'),{'fields':_0x1cd3('0x61'),'id':_0x40e8ed['getCurrentUser']()[_0x1cd3('0x5e')]});}],'userProfileSection':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x1638de,_0x21ccda){return _0x21ccda[_0x1cd3('0x57')]('admin')?null:_0x1638de[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':'id,name,enabled,includeAll,autoAssociation,crudPermissions','userProfileId':_0x21ccda[_0x1cd3('0x5d')]()['userProfileId'],'sectionId':0x3e9});}]},'authenticate':!![],'permissionId':0x3e9,'bodyClass':_0x1cd3('0x2a3')})[_0x1cd3('0x19')](_0x1cd3('0x2a4'),{'url':'/dispositions','views':{'content@app':{'templateUrl':'app/main/apps/tools/views/dispositions/dispositions.html','controller':'DispositionsController\x20as\x20vm'}},'resolve':{'dispositions':[_0x1cd3('0x62'),'Auth',function(_0x17b997,_0x2f0152){return _0x2f0152['hasRole']('admin')?_0x17b997[_0x1cd3('0x58')](_0x1cd3('0x21e'),{'fields':_0x1cd3('0x21f'),'sort':_0x1cd3('0x5b'),'MailAccountId':_0x1cd3('0x220'),'FaxAccountId':'null','SmsAccountId':_0x1cd3('0x220'),'OpenchannelAccountId':_0x1cd3('0x220'),'ChatWebsiteId':_0x1cd3('0x220'),'ListId':_0x1cd3('0x220'),'limit':0xa,'offset':0x0}):_0x17b997[_0x1cd3('0x58')]('userProfile@getResources',{'id':_0x2f0152[_0x1cd3('0x5d')]()['userProfileId'],'section':_0x1cd3('0x221'),'fields':_0x1cd3('0x21f'),'sort':_0x1cd3('0x5b'),'MailAccountId':_0x1cd3('0x220'),'FaxAccountId':_0x1cd3('0x220'),'SmsAccountId':'null','OpenchannelAccountId':_0x1cd3('0x220'),'ChatWebsiteId':_0x1cd3('0x220'),'ListId':_0x1cd3('0x220'),'limit':0xa,'offset':0x0});}],'userProfile':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x8996e5,_0x47419f){return _0x47419f['hasRole']('admin')?null:_0x8996e5[_0x1cd3('0x58')](_0x1cd3('0x60'),{'fields':'id,name,crudPermissions','id':_0x47419f[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')]});}],'userProfileSection':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x38bee7,_0x226204){return _0x226204[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x38bee7[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':'id,name,enabled,includeAll,autoAssociation,crudPermissions','userProfileId':_0x226204[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x3ea});}]},'authenticate':!![],'permissionId':0x3ea,'bodyClass':_0x1cd3('0x2a3')})['state'](_0x1cd3('0x2a5'),{'url':_0x1cd3('0x2a6'),'views':{'content@app':{'templateUrl':_0x1cd3('0x2a7'),'controller':_0x1cd3('0x2a8')}},'resolve':{'customDashboards':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x54f0a5,_0x5d7085){return _0x5d7085[_0x1cd3('0x57')]('admin')?_0x54f0a5['resolve']('dashboard@get',{'fields':_0x1cd3('0x295'),'sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0}):_0x54f0a5[_0x1cd3('0x58')](_0x1cd3('0x5c'),{'id':_0x5d7085['getCurrentUser']()[_0x1cd3('0x5e')],'section':_0x1cd3('0x2a9'),'fields':'createdAt,updatedAt,id,name,description','sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0});}],'userProfile':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x33fab1,_0x5f11d1){return _0x5f11d1[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x33fab1['resolve']('userProfile@get',{'fields':_0x1cd3('0x61'),'id':_0x5f11d1[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')]});}],'userProfileSection':[_0x1cd3('0x62'),'Auth',function(_0x5a11bd,_0xe9608){return _0xe9608[_0x1cd3('0x57')]('admin')?null:_0x5a11bd['resolve'](_0x1cd3('0x63'),{'fields':_0x1cd3('0x82'),'userProfileId':_0xe9608[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x3eb});}]},'authenticate':!![],'permissionId':0x3eb,'bodyClass':_0x1cd3('0x2a3')})['state'](_0x1cd3('0x2aa'),{'url':_0x1cd3('0x72'),'params':{'customDashboard':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':_0x1cd3('0x2ab'),'controller':'CustomDashboardController\x20as\x20vm'}},'resolve':{'customDashboard':['apiResolver',_0x1cd3('0x75'),function(_0x44df1d,_0x10a6ab){return _0x44df1d[_0x1cd3('0x58')](_0x1cd3('0x2ac'),{'fields':_0x1cd3('0x295'),'id':_0x10a6ab['id']});}],'userProfileSection':[_0x1cd3('0x62'),'Auth',function(_0x22ac59,_0x5eac6b){return _0x22ac59['resolve'](_0x1cd3('0x63'),{'fields':_0x1cd3('0x82'),'userProfileId':_0x5eac6b[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x3eb});}]},'authenticate':!![],'permissionId':0x3eb,'bodyClass':'tools'})[_0x1cd3('0x19')](_0x1cd3('0x2ad'),{'url':_0x1cd3('0x2ae'),'views':{'content@app':{'templateUrl':_0x1cd3('0x2af'),'controller':_0x1cd3('0x2b0')}},'resolve':{'intervals':['apiResolver',_0x1cd3('0x56'),function(_0x470f72,_0xc74afc){return _0xc74afc[_0x1cd3('0x57')]('admin')?_0x470f72[_0x1cd3('0x58')](_0x1cd3('0xac'),{'fields':'createdAt,updatedAt,id,name,description','sort':'-updatedAt','IntervalId':'null','limit':0xa,'offset':0x0}):_0x470f72['resolve'](_0x1cd3('0x5c'),{'id':_0xc74afc[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'section':_0x1cd3('0x2b1'),'fields':_0x1cd3('0x295'),'sort':_0x1cd3('0x5b'),'IntervalId':'null','limit':0xa,'offset':0x0});}],'userProfile':['apiResolver','Auth',function(_0x7ff202,_0xb78c0b){return _0xb78c0b[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x7ff202[_0x1cd3('0x58')](_0x1cd3('0x60'),{'fields':_0x1cd3('0x61'),'id':_0xb78c0b[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')]});}],'userProfileSection':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x8c1aed,_0x2d9dd7){return _0x2d9dd7[_0x1cd3('0x57')]('admin')?null:_0x8c1aed[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':'id,name,enabled,includeAll,autoAssociation,crudPermissions','userProfileId':_0x2d9dd7[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x3ec});}]},'authenticate':!![],'permissionId':0x3ec,'bodyClass':'tools'})[_0x1cd3('0x19')]('app.tools.intervals.edit',{'url':_0x1cd3('0x72'),'params':{'interval':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':_0x1cd3('0x2b2'),'controller':'IntervalController\x20as\x20vm'}},'resolve':{'interval':[_0x1cd3('0x62'),_0x1cd3('0x75'),function(_0x189a12,_0x5c4637){return _0x189a12['resolve'](_0x1cd3('0xac'),{'fields':'createdAt,updatedAt,id,name,description','id':_0x5c4637['id']});}],'userProfileSection':[_0x1cd3('0x62'),'Auth',function(_0xe19f60,_0x4b4f17){return _0xe19f60[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':_0x1cd3('0x82'),'userProfileId':_0x4b4f17[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x3ec});}]},'authenticate':!![],'permissionId':0x3ec,'bodyClass':_0x1cd3('0x2a3')})[_0x1cd3('0x19')]('app.tools.pauses',{'url':'/pauses','views':{'content@app':{'templateUrl':'app/main/apps/tools/views/pauses/pauses.html','controller':_0x1cd3('0x2b3')}},'resolve':{'pauses':['apiResolver','Auth',function(_0x3234bb,_0x359436){return _0x359436[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x3234bb[_0x1cd3('0x58')](_0x1cd3('0xd0'),{'fields':_0x1cd3('0x295'),'sort':'-updatedAt','limit':0xa,'offset':0x0}):_0x3234bb[_0x1cd3('0x58')](_0x1cd3('0x5c'),{'id':_0x359436[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'section':_0x1cd3('0xb3'),'fields':_0x1cd3('0x295'),'sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0});}],'userProfile':['apiResolver',_0x1cd3('0x56'),function(_0x4bf506,_0x3e69ea){return _0x3e69ea['hasRole'](_0x1cd3('0x5f'))?null:_0x4bf506[_0x1cd3('0x58')](_0x1cd3('0x60'),{'fields':_0x1cd3('0x61'),'id':_0x3e69ea[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')]});}],'userProfileSection':[_0x1cd3('0x62'),'Auth',function(_0x343684,_0xa242e4){return _0xa242e4['hasRole']('admin')?null:_0x343684[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':'id,name,enabled,includeAll,autoAssociation,crudPermissions','userProfileId':_0xa242e4[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x3ed});}]},'authenticate':!![],'permissionId':0x3ed,'bodyClass':_0x1cd3('0x2a3')})[_0x1cd3('0x19')]('app.tools.schedules',{'url':_0x1cd3('0x2b4'),'views':{'content@app':{'templateUrl':'app/main/apps/tools/views/schedules/schedules.html','controller':_0x1cd3('0x2b5')}},'resolve':{'schedules':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x3eff7e,_0x5dda4a){return _0x5dda4a[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x3eff7e[_0x1cd3('0x58')](_0x1cd3('0x2b6'),{'fields':_0x1cd3('0x2b7'),'sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0}):_0x3eff7e['resolve'](_0x1cd3('0x5c'),{'id':_0x5dda4a[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'section':_0x1cd3('0x2b8'),'fields':_0x1cd3('0x2b7'),'sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0});}],'userProfile':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x1f5776,_0x532316){return _0x532316[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x1f5776[_0x1cd3('0x58')](_0x1cd3('0x60'),{'fields':_0x1cd3('0x61'),'id':_0x532316['getCurrentUser']()['userProfileId']});}],'userProfileSection':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x1bf489,_0x1704c3){return _0x1704c3['hasRole'](_0x1cd3('0x5f'))?null:_0x1bf489[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':'id,name,enabled,includeAll,autoAssociation,crudPermissions','userProfileId':_0x1704c3[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x3ee});}]},'authenticate':!![],'permissionId':0x3ee,'bodyClass':_0x1cd3('0x2a3')})[_0x1cd3('0x19')]('app.tools.sounds',{'url':'/sounds','views':{'content@app':{'templateUrl':_0x1cd3('0x2b9'),'controller':_0x1cd3('0x2ba')}},'resolve':{'sounds':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x3f6b4f,_0x25c2ca){return _0x25c2ca[_0x1cd3('0x57')]('admin')?_0x3f6b4f[_0x1cd3('0x58')](_0x1cd3('0x2bb'),{'fields':_0x1cd3('0x2bc'),'sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0}):_0x3f6b4f[_0x1cd3('0x58')](_0x1cd3('0x5c'),{'id':_0x25c2ca['getCurrentUser']()[_0x1cd3('0x5e')],'section':_0x1cd3('0xa7'),'fields':_0x1cd3('0x2bc'),'sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0});}],'userProfile':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x199ed0,_0x23e1ae){return _0x23e1ae[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x199ed0['resolve'](_0x1cd3('0x60'),{'fields':_0x1cd3('0x61'),'id':_0x23e1ae[_0x1cd3('0x5d')]()['userProfileId']});}],'userProfileSection':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x2e8fd5,_0x2a9c45){return _0x2a9c45[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x2e8fd5[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':'id,name,enabled,includeAll,autoAssociation,crudPermissions','userProfileId':_0x2a9c45[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x3ef});}]},'authenticate':!![],'permissionId':0x3ef,'bodyClass':'tools'})['state']('app.tools.tags',{'url':_0x1cd3('0x2bd'),'views':{'content@app':{'templateUrl':_0x1cd3('0x2be'),'controller':_0x1cd3('0x2bf')}},'resolve':{'tags':['apiResolver',_0x1cd3('0x56'),function(_0x2c92b0,_0x48d6bd){return _0x48d6bd[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x2c92b0[_0x1cd3('0x58')](_0x1cd3('0xf8'),{'fields':_0x1cd3('0x2c0'),'sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0}):_0x2c92b0[_0x1cd3('0x58')](_0x1cd3('0x5c'),{'id':_0x48d6bd[_0x1cd3('0x5d')]()['userProfileId'],'section':_0x1cd3('0xf9'),'fields':_0x1cd3('0x2c0'),'sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0});}],'userProfile':['apiResolver',_0x1cd3('0x56'),function(_0x1b22ae,_0x44cc84){return _0x44cc84[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x1b22ae[_0x1cd3('0x58')](_0x1cd3('0x60'),{'fields':_0x1cd3('0x61'),'id':_0x44cc84[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')]});}],'userProfileSection':[_0x1cd3('0x62'),'Auth',function(_0x11fe2d,_0x2c2522){return _0x2c2522[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x11fe2d['resolve'](_0x1cd3('0x63'),{'fields':_0x1cd3('0x82'),'userProfileId':_0x2c2522[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x3f0});}]},'authenticate':!![],'permissionId':0x3f0,'bodyClass':_0x1cd3('0x2a3')})[_0x1cd3('0x19')](_0x1cd3('0x2c1'),{'url':_0x1cd3('0x2c2'),'views':{'content@app':{'templateUrl':'app/main/apps/tools/views/templates/templates.html','controller':_0x1cd3('0x2c3')}},'resolve':{'templates':[_0x1cd3('0x62'),'Auth',function(_0x347601,_0x65cb7c){return _0x65cb7c[_0x1cd3('0x57')]('admin')?_0x347601[_0x1cd3('0x58')](_0x1cd3('0xb0'),{'fields':_0x1cd3('0x2c4'),'sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0}):_0x347601[_0x1cd3('0x58')]('userProfile@getResources',{'id':_0x65cb7c['getCurrentUser']()['userProfileId'],'section':_0x1cd3('0xb1'),'fields':_0x1cd3('0x2c4'),'sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0});}],'userProfile':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0xa15b23,_0x1b570a){return _0x1b570a[_0x1cd3('0x57')]('admin')?null:_0xa15b23[_0x1cd3('0x58')](_0x1cd3('0x60'),{'fields':_0x1cd3('0x61'),'id':_0x1b570a[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')]});}],'userProfileSection':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x38676d,_0x5b4eea){return _0x5b4eea[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x38676d[_0x1cd3('0x58')]('userProfileSection@get',{'fields':_0x1cd3('0x82'),'userProfileId':_0x5b4eea[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x3f1});}]},'authenticate':!![],'permissionId':0x3f1,'bodyClass':_0x1cd3('0x2a3')})[_0x1cd3('0x19')](_0x1cd3('0x2c5'),{'url':_0x1cd3('0x2c6'),'views':{'content@app':{'templateUrl':_0x1cd3('0x2c7'),'controller':_0x1cd3('0x2c8')}},'resolve':{'triggers':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x42ee93,_0xe76545){return _0xe76545[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x42ee93[_0x1cd3('0x58')]('trigger@get',{'fields':_0x1cd3('0x2c9'),'sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0}):_0x42ee93[_0x1cd3('0x58')](_0x1cd3('0x5c'),{'id':_0xe76545['getCurrentUser']()['userProfileId'],'section':'Triggers','fields':_0x1cd3('0x2c9'),'sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0});}],'userProfile':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x16b931,_0x391106){return _0x391106[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x16b931[_0x1cd3('0x58')](_0x1cd3('0x60'),{'fields':_0x1cd3('0x61'),'id':_0x391106[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')]});}],'userProfileSection':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0xb14c29,_0x1686c9){return _0x1686c9[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0xb14c29['resolve'](_0x1cd3('0x63'),{'fields':_0x1cd3('0x82'),'userProfileId':_0x1686c9['getCurrentUser']()['userProfileId'],'sectionId':0x3f2});}]},'authenticate':!![],'permissionId':0x3f2,'bodyClass':_0x1cd3('0x2a3')})['state'](_0x1cd3('0x2ca'),{'url':_0x1cd3('0x72'),'params':{'trigger':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':_0x1cd3('0x2cb'),'controller':_0x1cd3('0x2cc')}},'resolve':{'trigger':[_0x1cd3('0x62'),'$stateParams',function(_0x421696,_0x4efa9f){return _0x421696[_0x1cd3('0x58')](_0x1cd3('0x2cd'),{'fields':_0x1cd3('0x2c9'),'id':_0x4efa9f['id']});}],'userProfileSection':[_0x1cd3('0x62'),'Auth',function(_0x59abef,_0x3f592e){return _0x59abef['resolve'](_0x1cd3('0x63'),{'fields':_0x1cd3('0x82'),'userProfileId':_0x3f592e['getCurrentUser']()['userProfileId'],'sectionId':0x3f2});}]},'authenticate':!![],'permissionId':0x3f2,'bodyClass':_0x1cd3('0x2a3')})[_0x1cd3('0x19')](_0x1cd3('0x2ce'),{'url':_0x1cd3('0x2cf'),'views':{'content@app':{'templateUrl':_0x1cd3('0x2d0'),'controller':_0x1cd3('0x2d1')}},'resolve':{'trunks':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x102b09,_0x3e50eb){return _0x3e50eb[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x102b09[_0x1cd3('0x58')](_0x1cd3('0xa1'),{'fields':_0x1cd3('0x2d2'),'sort':'-updatedAt','limit':0xa,'offset':0x0}):_0x102b09[_0x1cd3('0x58')]('userProfile@getResources',{'id':_0x3e50eb[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'section':'Trunks','fields':_0x1cd3('0x2d2'),'sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0});}],'userProfile':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x2fe464,_0x6bfa18){return _0x6bfa18[_0x1cd3('0x57')]('admin')?null:_0x2fe464[_0x1cd3('0x58')](_0x1cd3('0x60'),{'fields':_0x1cd3('0x61'),'id':_0x6bfa18[_0x1cd3('0x5d')]()['userProfileId']});}],'userProfileSection':['apiResolver',_0x1cd3('0x56'),function(_0x15582b,_0x3466e2){return _0x3466e2[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x15582b[_0x1cd3('0x58')]('userProfileSection@get',{'fields':_0x1cd3('0x82'),'userProfileId':_0x3466e2[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x3f3});}]},'authenticate':!![],'permissionId':0x3f3,'bodyClass':'tools'})['state'](_0x1cd3('0x2d3'),{'url':_0x1cd3('0x72'),'params':{'trunk':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':_0x1cd3('0x2d4'),'controller':_0x1cd3('0x2d5')}},'resolve':{'trunk':[_0x1cd3('0x62'),'$stateParams',function(_0x4517fa,_0x25151e){return _0x4517fa[_0x1cd3('0x58')](_0x1cd3('0xa1'),{'fields':_0x1cd3('0x2d2'),'id':_0x25151e['id']});}],'userProfileSection':['apiResolver',_0x1cd3('0x56'),function(_0x37b320,_0x2a5db6){return _0x37b320[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':_0x1cd3('0x82'),'userProfileId':_0x2a5db6['getCurrentUser']()[_0x1cd3('0x5e')],'sectionId':0x3f3});}]},'authenticate':!![],'permissionId':0x3f3,'bodyClass':_0x1cd3('0x2a3')})[_0x1cd3('0x19')](_0x1cd3('0x2d6'),{'url':_0x1cd3('0x2d7'),'views':{'content@app':{'templateUrl':_0x1cd3('0x2d8'),'controller':_0x1cd3('0x2d9')}},'resolve':{'variables':['apiResolver',_0x1cd3('0x56'),function(_0x322ea8,_0x3f8781){return _0x3f8781[_0x1cd3('0x57')]('admin')?_0x322ea8[_0x1cd3('0x58')](_0x1cd3('0xa8'),{'fields':_0x1cd3('0x295'),'sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0}):_0x322ea8[_0x1cd3('0x58')](_0x1cd3('0x5c'),{'id':_0x3f8781[_0x1cd3('0x5d')]()['userProfileId'],'section':_0x1cd3('0xa9'),'fields':_0x1cd3('0x295'),'sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0});}],'userProfile':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x2d87db,_0x31cade){return _0x31cade[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x2d87db[_0x1cd3('0x58')](_0x1cd3('0x60'),{'fields':_0x1cd3('0x61'),'id':_0x31cade[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')]});}],'userProfileSection':['apiResolver','Auth',function(_0x492795,_0x4843c3){return _0x4843c3[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x492795['resolve']('userProfileSection@get',{'fields':_0x1cd3('0x82'),'userProfileId':_0x4843c3[_0x1cd3('0x5d')]()['userProfileId'],'sectionId':0x3f4});}]},'authenticate':!![],'permissionId':0x3f4,'bodyClass':_0x1cd3('0x2a3')});_0x4d7177[_0x1cd3('0x16')]('app/main/apps/tools');}}());(function(){'use strict';_0x12b889[_0x1cd3('0xc')]=[_0x1cd3('0x1e'),_0x1cd3('0xd'),_0x1cd3('0x41'),'msNavigationServiceProvider'];angular[_0x1cd3('0x0')](_0x1cd3('0x39'),[_0x1cd3('0x43'),_0x1cd3('0x44'),_0x1cd3('0x45'),_0x1cd3('0x46'),_0x1cd3('0x47'),_0x1cd3('0x48'),_0x1cd3('0x49'),_0x1cd3('0x4a'),_0x1cd3('0x2'),_0x1cd3('0x84'),_0x1cd3('0x4b'),'mwFormViewer',_0x1cd3('0x4d'),_0x1cd3('0x85'),'angular-cron-jobs',_0x1cd3('0x4f'),'angularMaterialFormBuilder',_0x1cd3('0xb4'),_0x1cd3('0x51'),_0x1cd3('0x86')])['config'](_0x12b889);function _0x12b889(_0x296a4b,_0x15c42c,_0x579a7a,_0x1f192e){_0x296a4b['state']('app.video',{'abstract':!![],'url':'/video'})[_0x1cd3('0x19')](_0x1cd3('0x2da'),{'url':_0x1cd3('0x2db'),'views':{'content@app':{'templateUrl':'app/main/apps/video/views/screenRecordings/screenRecordings.html','controller':_0x1cd3('0x2dc')}},'resolve':{'screenRecordings':['apiResolver',_0x1cd3('0x56'),_0x1cd3('0x2dd'),function(_0x57fa10,_0x28fd69,_0x2d42cd){return _0x28fd69[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x57fa10[_0x1cd3('0x58')](_0x1cd3('0x2de'),{'fields':_0x1cd3('0x2df'),'createdAt':_0x2d42cd['firstLastDayMonth'](),'includeAll':_0x1cd3('0x2e0'),'sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0}):_0x57fa10[_0x1cd3('0x58')]('userProfile@getResources',{'id':_0x28fd69[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'section':_0x1cd3('0x2e1'),'fields':_0x1cd3('0x2df'),'createdAt':_0x2d42cd[_0x1cd3('0x2e2')](),'includeAll':_0x1cd3('0x2e0'),'sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0});}],'userProfile':[_0x1cd3('0x62'),'Auth',function(_0x16c152,_0x5668d5){return _0x5668d5[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x16c152[_0x1cd3('0x58')](_0x1cd3('0x60'),{'fields':'id,name,crudPermissions','id':_0x5668d5[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')]});}],'userProfileSection':['apiResolver',_0x1cd3('0x56'),function(_0x248191,_0x3ec6d6){return _0x3ec6d6['hasRole'](_0x1cd3('0x5f'))?null:_0x248191[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':_0x1cd3('0x82'),'userProfileId':_0x3ec6d6[_0x1cd3('0x5d')]()['userProfileId'],'sectionId':0x7d1});}]},'authenticate':!![],'permissionId':0x7d1,'bodyClass':_0x1cd3('0x2e3')});_0x15c42c[_0x1cd3('0x16')]('app/main/apps/video');}}());(function(){'use strict';_0x1a3dff[_0x1cd3('0xc')]=[_0x1cd3('0x1e')];angular[_0x1cd3('0x0')](_0x1cd3('0x2e4'),[])[_0x1cd3('0xf')](_0x1a3dff);function _0x1a3dff(_0x246ed1){_0x246ed1[_0x1cd3('0x19')](_0x1cd3('0x2e4'),{'url':_0x1cd3('0xc9'),'views':{'content@app':{'templateUrl':'app/main/apps/voice/views/realtime/realtime.html','controller':_0x1cd3('0x2e5')}},'resolve':{'userProfile':[_0x1cd3('0x62'),'Auth',function(_0x5269d2,_0x10c41c){return _0x10c41c['hasRole']('admin')?null:_0x5269d2[_0x1cd3('0x58')](_0x1cd3('0x60'),{'fields':_0x1cd3('0x61'),'id':_0x10c41c[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')]});}],'userProfileSection':[_0x1cd3('0x62'),'Auth',function(_0x27e461,_0xe9e5e6){return _0xe9e5e6[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x27e461[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':_0x1cd3('0x82'),'userProfileId':_0xe9e5e6[_0x1cd3('0x5d')]()['userProfileId'],'sectionId':0x19b});}]},'authenticate':!![],'permissionId':0x19b})[_0x1cd3('0x19')](_0x1cd3('0x2e6'),{'url':_0x1cd3('0xcd'),'controller':_0x1cd3('0x2e7'),'templateUrl':_0x1cd3('0x2e8'),'resolve':{'pauses':[_0x1cd3('0x62'),function(_0x3b8321){return _0x3b8321[_0x1cd3('0x58')](_0x1cd3('0xd0'),{'nolimit':!![]});}],'agents':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x273c95,_0x1ebc31){return _0x1ebc31[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x273c95[_0x1cd3('0x58')](_0x1cd3('0x9e'),{'fields':'id,name,fullname,role,userpic,internal,online,voicePause,openchannelPause,faxPause,chatPause,smsPause,whatsappPause,mailPause,pauseType,lastPauseAt,lastLoginAt,lastPauseAt,chatCapacity,mailCapacity,openchannelCapacity,faxCapacity,smsCapacity,whatsappCapacity,screenrecording,phoneBarEnableScreenRecordingByAgent,phoneBarEnableAutomaticScreenRecording','role':_0x1cd3('0xd2'),'sort':_0x1cd3('0xd3'),'nolimit':!![]}):_0x273c95[_0x1cd3('0x58')](_0x1cd3('0x5c'),{'id':_0x1ebc31['getCurrentUser']()[_0x1cd3('0x5e')],'section':'Agents','fields':_0x1cd3('0xd1'),'role':'agent','sort':'fullname','nolimit':!![]});}],'userProfile':[_0x1cd3('0x62'),'Auth',function(_0x3db058,_0x53bbbe){return _0x53bbbe[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x3db058[_0x1cd3('0x58')](_0x1cd3('0x60'),{'fields':_0x1cd3('0x61'),'id':_0x53bbbe[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')]});}],'userProfileSection':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x4288d8,_0x33fc3b){return _0x33fc3b['hasRole'](_0x1cd3('0x5f'))?null:_0x4288d8[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':'id,name,enabled,includeAll,autoAssociation,crudPermissions','userProfileId':_0x33fc3b[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0xca});}],'rpcAgents':[_0x1cd3('0x62'),function(_0x5c4882){return _0x5c4882['resolve'](_0x1cd3('0xd5'));}]},'authenticate':!![],'permissionId':0x19b})[_0x1cd3('0x19')](_0x1cd3('0x2e9'),{'url':_0x1cd3('0x28b'),'controller':_0x1cd3('0x2ea'),'templateUrl':_0x1cd3('0x2eb'),'resolve':{'telephones':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x31fc90,_0x3e1604){return _0x3e1604['hasRole'](_0x1cd3('0x5f'))?_0x31fc90[_0x1cd3('0x58')](_0x1cd3('0x9e'),{'fields':'id,fullname,userpic,internal','role':'telephone','sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0}):_0x31fc90[_0x1cd3('0x58')]('userProfile@getResources',{'id':_0x3e1604[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'section':_0x1cd3('0x28f'),'fields':_0x1cd3('0x2ec'),'role':'telephone','sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0});}],'userProfile':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x3982b0,_0x5d13a3){return _0x5d13a3[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x3982b0['resolve'](_0x1cd3('0x60'),{'fields':_0x1cd3('0x61'),'id':_0x5d13a3['getCurrentUser']()[_0x1cd3('0x5e')]});}],'userProfileSection':[_0x1cd3('0x62'),'Auth',function(_0x4223dd,_0xeb0cd1){return _0xeb0cd1[_0x1cd3('0x57')]('admin')?null:_0x4223dd['resolve'](_0x1cd3('0x63'),{'fields':'id,name,enabled,includeAll,autoAssociation,crudPermissions','userProfileId':_0xeb0cd1[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0xcb});}],'rpcTelephones':[_0x1cd3('0x62'),function(_0x487954){return _0x487954['resolve'](_0x1cd3('0x2ed'));}]},'authenticate':!![],'permissionId':0x19b})[_0x1cd3('0x19')](_0x1cd3('0x2ee'),{'url':'/trunks','controller':_0x1cd3('0x2ef'),'templateUrl':_0x1cd3('0x2f0'),'resolve':{'trunks':['apiResolver',_0x1cd3('0x56'),function(_0x4c326b,_0x2d3dd5){return _0x2d3dd5['hasRole'](_0x1cd3('0x5f'))?_0x4c326b[_0x1cd3('0x58')]('trunk@get',{'fields':_0x1cd3('0xa6'),'active':!![],'sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0}):_0x4c326b[_0x1cd3('0x58')]('userProfile@getResources',{'id':_0x2d3dd5['getCurrentUser']()[_0x1cd3('0x5e')],'section':'Trunks','fields':_0x1cd3('0xa6'),'active':!![],'sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0});}],'userProfile':[_0x1cd3('0x62'),'Auth',function(_0x35ee19,_0x5202bb){return _0x5202bb[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x35ee19[_0x1cd3('0x58')](_0x1cd3('0x60'),{'fields':_0x1cd3('0x61'),'id':_0x5202bb[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')]});}],'userProfileSection':['apiResolver','Auth',function(_0x32f86f,_0x5214c5){return _0x5214c5['hasRole']('admin')?null:_0x32f86f[_0x1cd3('0x58')]('userProfileSection@get',{'fields':_0x1cd3('0x82'),'userProfileId':_0x5214c5[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x3f3});}],'rpcTrunks':[_0x1cd3('0x62'),function(_0x10a442){return _0x10a442[_0x1cd3('0x58')](_0x1cd3('0x166'));}]},'authenticate':!![],'permissionId':0x19b})[_0x1cd3('0x19')](_0x1cd3('0x2f1'),{'url':_0x1cd3('0xd7'),'controller':_0x1cd3('0x2f2'),'templateUrl':_0x1cd3('0x2f3'),'resolve':{'queues':['apiResolver',_0x1cd3('0x56'),function(_0x4ce328,_0x155ed0){return _0x155ed0[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x4ce328[_0x1cd3('0x58')](_0x1cd3('0xa3'),{'type':_0x1cd3('0xa4'),'sort':'-updatedAt','limit':0xa,'offset':0x0}):_0x4ce328[_0x1cd3('0x58')](_0x1cd3('0x5c'),{'id':_0x155ed0[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'section':'VoiceQueues','channel':_0x1cd3('0x121'),'type':_0x1cd3('0xa4'),'sort':_0x1cd3('0x5b'),'limit':0xa,'page':0x1});}],'userProfile':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0xc2ec15,_0x26eff8){return _0x26eff8[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0xc2ec15['resolve']('userProfile@get',{'fields':_0x1cd3('0x61'),'id':_0x26eff8['getCurrentUser']()[_0x1cd3('0x5e')]});}],'userProfileSection':[_0x1cd3('0x62'),'Auth',function(_0x467d34,_0x244beb){return _0x244beb[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x467d34[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':_0x1cd3('0x82'),'userProfileId':_0x244beb[_0x1cd3('0x5d')]()['userProfileId'],'sectionId':0x191});}],'rpcQueues':[_0x1cd3('0x62'),function(_0x107c6d){return _0x107c6d['resolve'](_0x1cd3('0x127'));}]},'authenticate':!![],'permissionId':0x19b})[_0x1cd3('0x19')](_0x1cd3('0x2f4'),{'url':'/queue_calls','controller':'QueueCallsVoiceRealtimeController\x20as\x20vm','templateUrl':'app/main/apps/voice/views/realtime/queue_calls/view.html','resolve':{'agents':[_0x1cd3('0x62'),'Auth',function(_0x461094,_0x510305){return _0x510305[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x461094[_0x1cd3('0x58')](_0x1cd3('0x9e'),{'fields':_0x1cd3('0x218'),'role':'agent','nolimit':!![]}):_0x461094[_0x1cd3('0x58')](_0x1cd3('0x5c'),{'id':_0x510305['getCurrentUser']()[_0x1cd3('0x5e')],'section':_0x1cd3('0xd4'),'fields':_0x1cd3('0x218'),'role':'agent','nolimit':!![]});}],'queues':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x4a0592,_0x273ad4){return _0x273ad4[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x4a0592['resolve'](_0x1cd3('0xa3'),{'type':_0x1cd3('0xa4'),'sort':_0x1cd3('0x5b'),'nolimit':!![]}):_0x4a0592[_0x1cd3('0x58')](_0x1cd3('0x5c'),{'id':_0x273ad4[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'section':_0x1cd3('0xa5'),'channel':_0x1cd3('0x121'),'type':'inbound','sort':_0x1cd3('0x5b'),'nolimit':!![]});}],'userProfile':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0xc55cb3,_0x491952){return _0x491952[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0xc55cb3[_0x1cd3('0x58')]('userProfile@get',{'fields':_0x1cd3('0x61'),'id':_0x491952['getCurrentUser']()[_0x1cd3('0x5e')]});}],'userProfileSection':['apiResolver',_0x1cd3('0x56'),function(_0x36477d,_0x1fdeb7){return _0x1fdeb7['hasRole'](_0x1cd3('0x5f'))?null:_0x36477d[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':_0x1cd3('0x82'),'userProfileId':_0x1fdeb7[_0x1cd3('0x5d')]()['userProfileId'],'sectionId':0x191});}],'rpcVoiceQueuesChannels':[_0x1cd3('0x62'),function(_0x562b3e){return _0x562b3e[_0x1cd3('0x58')](_0x1cd3('0x219'));}]},'authenticate':!![],'permissionId':0x19b})[_0x1cd3('0x19')]('app.voice.realtime.abandonedcalls',{'url':'/abandonedcalls','controller':_0x1cd3('0x2f5'),'templateUrl':'app/main/apps/voice/views/realtime/abandonedcalls/view.html','resolve':{'agents':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x15007a,_0x3aebbd){return _0x3aebbd['hasRole']('admin')?_0x15007a[_0x1cd3('0x58')](_0x1cd3('0x9e'),{'fields':_0x1cd3('0x218'),'role':_0x1cd3('0xd2'),'nolimit':!![]}):_0x15007a[_0x1cd3('0x58')](_0x1cd3('0x5c'),{'id':_0x3aebbd[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'section':_0x1cd3('0xd4'),'fields':'id,name,role,context','role':'agent','nolimit':!![]});}],'queues':['apiResolver','Auth',function(_0x4f4fcf,_0x2657c8){return _0x2657c8[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x4f4fcf[_0x1cd3('0x58')](_0x1cd3('0xa3'),{'type':_0x1cd3('0xa4'),'sort':_0x1cd3('0x5b'),'nolimit':!![]}):_0x4f4fcf['resolve'](_0x1cd3('0x5c'),{'id':_0x2657c8['getCurrentUser']()[_0x1cd3('0x5e')],'section':'VoiceQueues','channel':_0x1cd3('0x121'),'type':_0x1cd3('0xa4'),'sort':_0x1cd3('0x5b'),'nolimit':!![]});}],'dispositions':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x3b24fd,_0x1b5c21){return _0x1b5c21[_0x1cd3('0x57')]('admin')?_0x3b24fd['resolve'](_0x1cd3('0x21e'),{'fields':_0x1cd3('0x21f'),'sort':'-updatedAt','MailAccountId':_0x1cd3('0x220'),'FaxAccountId':'null','SmsAccountId':'null','WhatsappAccountId':_0x1cd3('0x220'),'OpenchannelAccountId':'null','ChatWebsiteId':_0x1cd3('0x220'),'ListId':_0x1cd3('0x220'),'nolimit':!![]}):_0x3b24fd['resolve']('userProfile@getResources',{'id':_0x1b5c21[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'section':_0x1cd3('0x221'),'fields':_0x1cd3('0x21f'),'sort':_0x1cd3('0x5b'),'MailAccountId':_0x1cd3('0x220'),'FaxAccountId':_0x1cd3('0x220'),'SmsAccountId':_0x1cd3('0x220'),'WhatsappAccountId':_0x1cd3('0x220'),'OpenchannelAccountId':_0x1cd3('0x220'),'ChatWebsiteId':'null','ListId':'null','nolimit':!![]});}],'userProfile':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x2c3d62,_0x309954){return _0x309954[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x2c3d62['resolve']('userProfile@get',{'fields':_0x1cd3('0x61'),'id':_0x309954[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')]});}],'userProfileSection':['apiResolver','Auth',function(_0x397c1f,_0x3c0a7a){return _0x3c0a7a[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x397c1f[_0x1cd3('0x58')]('userProfileSection@get',{'fields':_0x1cd3('0x82'),'userProfileId':_0x3c0a7a[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x191});}]},'authenticate':!![],'permissionId':0x19b})['state'](_0x1cd3('0x2f6'),{'url':_0x1cd3('0x223'),'controller':'QueueParamsVoiceRealtimeController\x20as\x20vm','templateUrl':_0x1cd3('0x2f7'),'resolve':{'queues':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x2e41d7,_0x24eedf){return _0x24eedf[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x2e41d7[_0x1cd3('0x58')]('voiceQueue@get',{'type':_0x1cd3('0xa4'),'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0}):_0x2e41d7['resolve'](_0x1cd3('0x5c'),{'id':_0x24eedf[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'section':_0x1cd3('0xa5'),'channel':_0x1cd3('0x121'),'type':_0x1cd3('0xa4'),'sort':_0x1cd3('0x5b'),'nolimit':!![]});}],'userProfile':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x4e9c29,_0x3b76fd){return _0x3b76fd[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x4e9c29['resolve'](_0x1cd3('0x60'),{'fields':'id,name,crudPermissions','id':_0x3b76fd[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')]});}],'userProfileSection':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x397513,_0xffd1e0){return _0xffd1e0[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x397513[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':_0x1cd3('0x82'),'userProfileId':_0xffd1e0['getCurrentUser']()[_0x1cd3('0x5e')],'sectionId':0x191});}],'rpcQueues':[_0x1cd3('0x62'),function(_0x5a3a78){return _0x5a3a78['resolve'](_0x1cd3('0x127'));}]},'authenticate':!![],'permissionId':0x19b})[_0x1cd3('0x19')]('app.voice.realtime.outbound_calls',{'url':_0x1cd3('0x2f8'),'controller':'OutboundCallsVoiceRealtimeController\x20as\x20vm','templateUrl':_0x1cd3('0x2f9'),'resolve':{'rpcCalls':['apiResolver',function(_0x515019){return _0x515019[_0x1cd3('0x58')](_0x1cd3('0x2fa'));}]},'authenticate':!![],'permissionId':0x19b});}}());(function(){'use strict';_0x237365[_0x1cd3('0xc')]=[_0x1cd3('0x1e'),_0x1cd3('0xd'),'msApiProvider','msNavigationServiceProvider'];angular[_0x1cd3('0x0')](_0x1cd3('0x2d'),['ngCsv',_0x1cd3('0x44'),_0x1cd3('0x45'),_0x1cd3('0x46'),'mdColorPicker',_0x1cd3('0x48'),_0x1cd3('0x49'),_0x1cd3('0x4a'),'ngAnimate','mdPickers',_0x1cd3('0x4b'),_0x1cd3('0x4c'),'mwFormUtils',_0x1cd3('0x85'),_0x1cd3('0x4e'),_0x1cd3('0x4f'),'angularMaterialFormBuilder',_0x1cd3('0xb4'),_0x1cd3('0x51'),_0x1cd3('0x86'),_0x1cd3('0x2e4')])[_0x1cd3('0xf')](_0x237365);function _0x237365(_0x1f58dc,_0x4ddef3,_0x3b22cc,_0x138147){_0x1f58dc[_0x1cd3('0x19')](_0x1cd3('0x2d'),{'abstract':!![],'url':_0x1cd3('0x11e')})['state'](_0x1cd3('0x2fb'),{'url':'/voiceQueues','views':{'content@app':{'templateUrl':_0x1cd3('0x2fc'),'controller':_0x1cd3('0x2fd')}},'resolve':{'voiceQueues':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x487894,_0x5e30a9){return _0x5e30a9[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x487894[_0x1cd3('0x58')](_0x1cd3('0xa3'),{'fields':'createdAt,updatedAt,id,name,type,strategy,timeout,maxlen,retry,wrapuptime,weight,joinempty,leavewhenempty,musiconhold,announce,description,periodic_announce,queue_reporthold,queue_youarenext,queue_thereare,queue_callswaiting,queue_holdtime,queue_minutes,queue_minute,queue_seconds,queue_thankyou,announce_frequency,min_announce_frequency,periodic_announce_frequency,random_periodic_announce,announce_holdtime,announce_position,announce_position_limit,reportholdtime,acw,acwTimeout,autopause,ringinuse,memberdelay,timeoutrestart,monitor_format,context,setinterfacevar,setqueuevar,setqueueentryvar,servicelevel,mandatoryDisposition,mandatoryDispositionPauseId','type':_0x1cd3('0xa4'),'sort':_0x1cd3('0x5b'),'channel':_0x1cd3('0x121'),'limit':0xa,'offset':0x0}):_0x487894['resolve'](_0x1cd3('0x5c'),{'id':_0x5e30a9[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'section':'VoiceQueues','fields':'createdAt,updatedAt,id,name,type,strategy,timeout,maxlen,retry,wrapuptime,weight,joinempty,leavewhenempty,musiconhold,announce,description,periodic_announce,queue_reporthold,queue_youarenext,queue_thereare,queue_callswaiting,queue_holdtime,queue_minutes,queue_minute,queue_seconds,queue_thankyou,announce_frequency,min_announce_frequency,periodic_announce_frequency,random_periodic_announce,announce_holdtime,announce_position,announce_position_limit,reportholdtime,acw,acwTimeout,autopause,ringinuse,memberdelay,timeoutrestart,monitor_format,context,setinterfacevar,setqueuevar,setqueueentryvar,servicelevel,mandatoryDisposition,mandatoryDispositionPauseId','type':_0x1cd3('0xa4'),'sort':_0x1cd3('0x5b'),'channel':_0x1cd3('0x121'),'limit':0xa,'offset':0x0});}],'userProfile':['apiResolver',_0x1cd3('0x56'),function(_0x5de5de,_0x156ec0){return _0x156ec0[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x5de5de['resolve']('userProfile@get',{'fields':'id,name,crudPermissions','id':_0x156ec0[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')]});}],'userProfileSection':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x1a1988,_0x17dce1){return _0x17dce1[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x1a1988[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':_0x1cd3('0x82'),'userProfileId':_0x17dce1['getCurrentUser']()[_0x1cd3('0x5e')],'sectionId':0x191});}]},'authenticate':!![],'permissionId':0x191,'bodyClass':_0x1cd3('0x121')})[_0x1cd3('0x19')](_0x1cd3('0x2fe'),{'url':_0x1cd3('0x72'),'params':{'voiceQueue':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':_0x1cd3('0x2ff'),'controller':_0x1cd3('0x300')}},'resolve':{'voiceQueue':['apiResolver','$stateParams',function(_0x3636be,_0x1e26cc){return _0x3636be[_0x1cd3('0x58')]('voiceQueue@get',{'fields':_0x1cd3('0x301'),'id':_0x1e26cc['id']});}],'userProfileSection':['apiResolver',_0x1cd3('0x56'),function(_0x2f4480,_0x200dee){return _0x2f4480['resolve'](_0x1cd3('0x63'),{'fields':_0x1cd3('0x82'),'userProfileId':_0x200dee['getCurrentUser']()[_0x1cd3('0x5e')],'sectionId':0x191});}]},'authenticate':!![],'permissionId':0x191,'bodyClass':_0x1cd3('0x121')})[_0x1cd3('0x19')]('app.voice.inboundroutes',{'url':_0x1cd3('0x302'),'views':{'content@app':{'templateUrl':'app/main/apps/voice/views/inboundroutes/inboundroutes.html','controller':_0x1cd3('0x303')}},'resolve':{'inboundroutes':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x2f7d34,_0x30609f){return _0x30609f[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x2f7d34[_0x1cd3('0x58')](_0x1cd3('0x304'),{'fields':_0x1cd3('0x305'),'type':_0x1cd3('0xa4'),'sort':_0x1cd3('0x5b'),'VoiceExtensionId':_0x1cd3('0x220'),'limit':0xa,'offset':0x0}):_0x2f7d34['resolve'](_0x1cd3('0x5c'),{'id':_0x30609f[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'section':'InboundRoutes','fields':_0x1cd3('0x305'),'type':_0x1cd3('0xa4'),'sort':_0x1cd3('0x5b'),'VoiceExtensionId':'null','limit':0xa,'offset':0x0});}],'userProfile':['apiResolver','Auth',function(_0x20ff64,_0x8c19ec){return _0x8c19ec[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x20ff64[_0x1cd3('0x58')](_0x1cd3('0x60'),{'fields':_0x1cd3('0x61'),'id':_0x8c19ec[_0x1cd3('0x5d')]()['userProfileId']});}],'userProfileSection':['apiResolver',_0x1cd3('0x56'),function(_0x244786,_0x515540){return _0x515540[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x244786['resolve']('userProfileSection@get',{'fields':'id,name,enabled,includeAll,autoAssociation,crudPermissions','userProfileId':_0x515540[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x192});}]},'authenticate':!![],'permissionId':0x192,'bodyClass':_0x1cd3('0x121')})[_0x1cd3('0x19')](_0x1cd3('0x306'),{'url':_0x1cd3('0x72'),'params':{'inboundroute':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':'app/main/apps/voice/views/inboundroutes/edit/view.html','controller':_0x1cd3('0x307')}},'resolve':{'inboundroute':[_0x1cd3('0x62'),_0x1cd3('0x75'),function(_0x292187,_0x143d36){return _0x292187[_0x1cd3('0x58')](_0x1cd3('0x304'),{'fields':'createdAt,updatedAt,id,appdata,type,exten,context,description','id':_0x143d36['id']});}],'userProfileSection':['apiResolver',_0x1cd3('0x56'),function(_0x5dd10a,_0x2144cd){return _0x5dd10a[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':_0x1cd3('0x82'),'userProfileId':_0x2144cd[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x192});}]},'authenticate':!![],'permissionId':0x192,'bodyClass':_0x1cd3('0x121')})[_0x1cd3('0x19')]('app.voice.outboundroutes',{'url':_0x1cd3('0x308'),'views':{'content@app':{'templateUrl':'app/main/apps/voice/views/outboundroutes/outboundroutes.html','controller':_0x1cd3('0x309')}},'resolve':{'outboundroutes':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x3e7a37,_0x5c4957){return _0x5c4957[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x3e7a37['resolve'](_0x1cd3('0x304'),{'fields':_0x1cd3('0x30a'),'type':_0x1cd3('0x128'),'sort':'-updatedAt','VoiceExtensionId':'null','limit':0xa,'offset':0x0}):_0x3e7a37[_0x1cd3('0x58')]('userProfile@getResources',{'id':_0x5c4957[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'section':_0x1cd3('0x30b'),'fields':_0x1cd3('0x30a'),'type':_0x1cd3('0x128'),'sort':'-updatedAt','VoiceExtensionId':_0x1cd3('0x220'),'limit':0xa,'offset':0x0});}],'userProfile':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x11b3e0,_0x507dbe){return _0x507dbe[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x11b3e0[_0x1cd3('0x58')]('userProfile@get',{'fields':_0x1cd3('0x61'),'id':_0x507dbe[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')]});}],'userProfileSection':['apiResolver',_0x1cd3('0x56'),function(_0x27ddb8,_0x428288){return _0x428288[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x27ddb8[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':'id,name,enabled,includeAll,autoAssociation,crudPermissions','userProfileId':_0x428288[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x193});}]},'authenticate':!![],'permissionId':0x193,'bodyClass':_0x1cd3('0x121')})[_0x1cd3('0x19')](_0x1cd3('0x30c'),{'url':'/:id?tab','params':{'outboundroute':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':_0x1cd3('0x30d'),'controller':_0x1cd3('0x30e')}},'resolve':{'outboundroute':['apiResolver',_0x1cd3('0x75'),function(_0x525a04,_0x20cbc8){return _0x525a04[_0x1cd3('0x58')](_0x1cd3('0x304'),{'fields':_0x1cd3('0x30a'),'id':_0x20cbc8['id']});}],'userProfileSection':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x15ca22,_0x2306f9){return _0x15ca22[_0x1cd3('0x58')]('userProfileSection@get',{'fields':_0x1cd3('0x82'),'userProfileId':_0x2306f9[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x193});}]},'authenticate':!![],'permissionId':0x193,'bodyClass':_0x1cd3('0x121')})[_0x1cd3('0x19')](_0x1cd3('0x30f'),{'url':'/internalroutes','views':{'content@app':{'templateUrl':_0x1cd3('0x310'),'controller':'InternalRoutesController\x20as\x20vm'}},'resolve':{'internalroutes':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x3c34c4,_0x554ed1){return _0x554ed1['hasRole'](_0x1cd3('0x5f'))?_0x3c34c4[_0x1cd3('0x58')](_0x1cd3('0x304'),{'fields':_0x1cd3('0x305'),'type':_0x1cd3('0x311'),'sort':_0x1cd3('0x5b'),'VoiceExtensionId':'null','limit':0xa,'offset':0x0}):_0x3c34c4['resolve'](_0x1cd3('0x5c'),{'id':_0x554ed1[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'section':_0x1cd3('0x312'),'fields':_0x1cd3('0x305'),'type':'internal','sort':_0x1cd3('0x5b'),'VoiceExtensionId':_0x1cd3('0x220'),'limit':0xa,'offset':0x0});}],'userProfile':[_0x1cd3('0x62'),'Auth',function(_0xa6b984,_0x192131){return _0x192131[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0xa6b984[_0x1cd3('0x58')](_0x1cd3('0x60'),{'fields':_0x1cd3('0x61'),'id':_0x192131['getCurrentUser']()[_0x1cd3('0x5e')]});}],'userProfileSection':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x14379c,_0x354c4f){return _0x354c4f[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x14379c['resolve'](_0x1cd3('0x63'),{'fields':_0x1cd3('0x82'),'userProfileId':_0x354c4f['getCurrentUser']()[_0x1cd3('0x5e')],'sectionId':0x194});}]},'authenticate':!![],'permissionId':0x194,'bodyClass':_0x1cd3('0x121')})[_0x1cd3('0x19')](_0x1cd3('0x313'),{'url':_0x1cd3('0x72'),'params':{'internalroute':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':_0x1cd3('0x314'),'controller':_0x1cd3('0x315')}},'resolve':{'internalroute':[_0x1cd3('0x62'),'$stateParams',function(_0x38314c,_0x22388e){return _0x38314c[_0x1cd3('0x58')](_0x1cd3('0x304'),{'fields':_0x1cd3('0x305'),'id':_0x22388e['id']});}],'userProfileSection':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x25e075,_0x9713cc){return _0x25e075[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':_0x1cd3('0x82'),'userProfileId':_0x9713cc[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x194});}]},'authenticate':!![],'permissionId':0x194,'bodyClass':'voice'})[_0x1cd3('0x19')](_0x1cd3('0x316'),{'url':_0x1cd3('0x317'),'views':{'content@app':{'templateUrl':_0x1cd3('0x318'),'controller':_0x1cd3('0x319')}},'resolve':{'contexts':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x5a6990,_0x589ec7){return _0x589ec7['hasRole'](_0x1cd3('0x5f'))?_0x5a6990[_0x1cd3('0x58')]('voiceContext@get',{'fields':_0x1cd3('0x295'),'sort':_0x1cd3('0x5b'),'defaultEntry':_0x1cd3('0x31a'),'limit':0xa,'offset':0x0}):_0x5a6990[_0x1cd3('0x58')](_0x1cd3('0x5c'),{'id':_0x589ec7[_0x1cd3('0x5d')]()['userProfileId'],'section':_0x1cd3('0xab'),'fields':'createdAt,updatedAt,id,name,description','sort':_0x1cd3('0x5b'),'defaultEntry':_0x1cd3('0x31a'),'limit':0xa,'offset':0x0});}],'userProfile':['apiResolver',_0x1cd3('0x56'),function(_0x20f396,_0x3285e4){return _0x3285e4[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x20f396[_0x1cd3('0x58')](_0x1cd3('0x60'),{'fields':'id,name,crudPermissions','id':_0x3285e4[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')]});}],'userProfileSection':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x3cbcda,_0x4bec12){return _0x4bec12['hasRole'](_0x1cd3('0x5f'))?null:_0x3cbcda[_0x1cd3('0x58')]('userProfileSection@get',{'fields':_0x1cd3('0x82'),'userProfileId':_0x4bec12[_0x1cd3('0x5d')]()['userProfileId'],'sectionId':0x195});}]},'authenticate':!![],'permissionId':0x195,'bodyClass':_0x1cd3('0x121')})[_0x1cd3('0x19')](_0x1cd3('0x31b'),{'url':_0x1cd3('0x31c'),'views':{'content@app':{'templateUrl':_0x1cd3('0x31d'),'controller':_0x1cd3('0x31e')}},'resolve':{'voicemails':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x27aea9,_0x34790a){return _0x34790a[_0x1cd3('0x57')]('admin')?_0x27aea9[_0x1cd3('0x58')](_0x1cd3('0x31f'),{'fields':'createdAt,updatedAt,id,customer_id,fullname,email,password,mailbox,context,tz,attach,envelope,delete,emailbody,emailsubject,maxsecs,maxmsg','sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0}):_0x27aea9['resolve'](_0x1cd3('0x5c'),{'id':_0x34790a[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'section':'Voicemails','fields':'createdAt,updatedAt,id,customer_id,fullname,email,password,mailbox,context,tz,attach,envelope,delete,emailbody,emailsubject,maxsecs,maxmsg','sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0});}],'userProfile':[_0x1cd3('0x62'),'Auth',function(_0x521b4a,_0x2e02e3){return _0x2e02e3[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x521b4a[_0x1cd3('0x58')](_0x1cd3('0x60'),{'fields':'id,name,crudPermissions','id':_0x2e02e3['getCurrentUser']()[_0x1cd3('0x5e')]});}],'userProfileSection':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x331fbe,_0x1c4f4e){return _0x1c4f4e['hasRole'](_0x1cd3('0x5f'))?null:_0x331fbe[_0x1cd3('0x58')]('userProfileSection@get',{'fields':_0x1cd3('0x82'),'userProfileId':_0x1c4f4e[_0x1cd3('0x5d')]()['userProfileId'],'sectionId':0x196});}]},'authenticate':!![],'permissionId':0x196,'bodyClass':_0x1cd3('0x121')})['state'](_0x1cd3('0x320'),{'url':_0x1cd3('0x72'),'params':{'voicemail':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':'app/main/apps/voice/views/voicemails/edit/view.html','controller':'VoicemailController\x20as\x20vm'}},'resolve':{'voicemail':[_0x1cd3('0x62'),_0x1cd3('0x75'),function(_0x3b5e0d,_0x4bc9cf){return _0x3b5e0d['resolve']('voiceMail@get',{'fields':_0x1cd3('0x321'),'id':_0x4bc9cf['id']});}],'userProfileSection':['apiResolver',_0x1cd3('0x56'),function(_0x56671e,_0x483c7c){return _0x56671e[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':_0x1cd3('0x82'),'userProfileId':_0x483c7c[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x196});}]},'authenticate':!![],'permissionId':0x196,'bodyClass':'voice'})[_0x1cd3('0x19')]('app.voice.musiconholds',{'url':_0x1cd3('0x322'),'views':{'content@app':{'templateUrl':'app/main/apps/voice/views/musiconholds/musiconholds.html','controller':'MusicOnHoldsController\x20as\x20vm'}},'resolve':{'musiconholds':['apiResolver','Auth',function(_0x216086,_0x1e634e){return _0x1e634e[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x216086[_0x1cd3('0x58')](_0x1cd3('0x323'),{'fields':_0x1cd3('0x324'),'defaultEntry':'false','limit':0xa,'offset':0x0}):_0x216086[_0x1cd3('0x58')](_0x1cd3('0x5c'),{'id':_0x1e634e['getCurrentUser']()['userProfileId'],'section':_0x1cd3('0x325'),'fields':_0x1cd3('0x324'),'defaultEntry':'false','limit':0xa,'offset':0x0});}],'userProfile':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x357929,_0x25e50a){return _0x25e50a[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x357929[_0x1cd3('0x58')](_0x1cd3('0x60'),{'fields':_0x1cd3('0x61'),'id':_0x25e50a['getCurrentUser']()['userProfileId']});}],'userProfileSection':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x5c5265,_0x307126){return _0x307126[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x5c5265['resolve']('userProfileSection@get',{'fields':_0x1cd3('0x82'),'userProfileId':_0x307126[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x197});}]},'authenticate':!![],'permissionId':0x197,'bodyClass':_0x1cd3('0x121')})['state'](_0x1cd3('0x326'),{'url':_0x1cd3('0x72'),'params':{'musiconhold':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':_0x1cd3('0x327'),'controller':'MusicOnHoldController\x20as\x20vm'}},'resolve':{'musiconhold':['apiResolver',_0x1cd3('0x75'),function(_0x47887d,_0x39e732){return _0x47887d[_0x1cd3('0x58')](_0x1cd3('0x323'),{'fields':'createdAt,updatedAt,id,name,mode,directory,application,format,sort','id':_0x39e732['id']});}],'userProfileSection':['apiResolver',_0x1cd3('0x56'),function(_0x44de8a,_0x4a0e64){return _0x44de8a['resolve']('userProfileSection@get',{'fields':_0x1cd3('0x82'),'userProfileId':_0x4a0e64['getCurrentUser']()['userProfileId'],'sectionId':0x197});}]},'authenticate':!![],'permissionId':0x197,'bodyClass':_0x1cd3('0x121')})[_0x1cd3('0x19')](_0x1cd3('0x328'),{'url':_0x1cd3('0x329'),'views':{'content@app':{'templateUrl':_0x1cd3('0x32a'),'controller':_0x1cd3('0x32b')}},'resolve':{'voiceRecordings':[_0x1cd3('0x62'),_0x1cd3('0x56'),_0x1cd3('0x2dd'),function(_0x526e5c,_0x4de7af,_0x3e149f){return _0x4de7af[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x526e5c[_0x1cd3('0x58')](_0x1cd3('0x32c'),{'fields':_0x1cd3('0x32d'),'sort':_0x1cd3('0x5b'),'createdAt':_0x3e149f[_0x1cd3('0x2e2')](),'limit':0xa,'offset':0x0}):_0x526e5c[_0x1cd3('0x58')]('userProfile@getResources',{'id':_0x4de7af['getCurrentUser']()[_0x1cd3('0x5e')],'section':_0x1cd3('0x32e'),'fields':_0x1cd3('0x32d'),'sort':'-updatedAt','createdAt':_0x3e149f[_0x1cd3('0x2e2')](),'limit':0xa,'offset':0x0});}],'userProfile':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x1d286d,_0xd0624c){return _0xd0624c[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x1d286d['resolve'](_0x1cd3('0x60'),{'fields':'id,name,crudPermissions','id':_0xd0624c[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')]});}],'userProfileSection':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x56e929,_0x44812f){return _0x44812f[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x56e929[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':_0x1cd3('0x82'),'userProfileId':_0x44812f['getCurrentUser']()[_0x1cd3('0x5e')],'sectionId':0x198});}]},'authenticate':!![],'permissionId':0x198,'bodyClass':_0x1cd3('0x121')})['state'](_0x1cd3('0x32f'),{'url':_0x1cd3('0x72'),'params':{'voiceRecording':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':'app/main/apps/voice/views/voiceRecordings/edit/view.html','controller':_0x1cd3('0x330')}},'resolve':{'voiceRecording':[_0x1cd3('0x62'),'$stateParams',function(_0x1368f4,_0x4cc031){return _0x1368f4[_0x1cd3('0x58')]('voiceRecording@get',{'fields':'createdAt,updatedAt,id,format,value,type,uniqueid,calleridnum,exten,connectedlinenum,queue,membername,rating,audio,userDisposition,transcribeStatus,fileText,failureReason,sentiment,sPositive,sNegative,sNeutral,sMixed','id':_0x4cc031['id']});}],'userProfileSection':['apiResolver',_0x1cd3('0x56'),function(_0x4f87f5,_0x393aa4){return _0x4f87f5[_0x1cd3('0x58')]('userProfileSection@get',{'fields':_0x1cd3('0x82'),'userProfileId':_0x393aa4[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x198});}]},'authenticate':!![],'permissionId':0x198,'bodyClass':_0x1cd3('0x121')})[_0x1cd3('0x19')](_0x1cd3('0x331'),{'url':_0x1cd3('0x332'),'views':{'content@app':{'templateUrl':_0x1cd3('0x333'),'controller':_0x1cd3('0x334')}},'resolve':{'chanSpies':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x396701,_0x460c31){return _0x460c31[_0x1cd3('0x57')]('admin')?_0x396701[_0x1cd3('0x58')](_0x1cd3('0x335'),{'fields':_0x1cd3('0x336'),'sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0}):_0x396701['resolve'](_0x1cd3('0x5c'),{'id':_0x460c31['getCurrentUser']()[_0x1cd3('0x5e')],'section':_0x1cd3('0x337'),'fields':'createdAt,updatedAt,id,name,prefix,options,auth,password,record,recordingFormat,description','sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0});}],'userProfile':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x28a9de,_0x27be47){return _0x27be47['hasRole'](_0x1cd3('0x5f'))?null:_0x28a9de[_0x1cd3('0x58')]('userProfile@get',{'fields':_0x1cd3('0x61'),'id':_0x27be47[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')]});}],'userProfileSection':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x300b3e,_0x5e36e0){return _0x5e36e0['hasRole'](_0x1cd3('0x5f'))?null:_0x300b3e[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':_0x1cd3('0x82'),'userProfileId':_0x5e36e0[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x199});}]},'authenticate':!![],'permissionId':0x199,'bodyClass':_0x1cd3('0x121')})[_0x1cd3('0x19')](_0x1cd3('0x338'),{'url':_0x1cd3('0x339'),'views':{'content@app':{'templateUrl':_0x1cd3('0x33a'),'controller':_0x1cd3('0x33b')}},'resolve':{'voicePrefixes':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x2ce59d,_0x48bc09){return _0x48bc09['hasRole'](_0x1cd3('0x5f'))?_0x2ce59d[_0x1cd3('0x58')]('voicePrefix@get',{'fields':'createdAt,updatedAt,id,name,VoiceExtensionId,callerIdAll,description','limit':0xa,'offset':0x0}):_0x2ce59d[_0x1cd3('0x58')](_0x1cd3('0x5c'),{'id':_0x48bc09['getCurrentUser']()[_0x1cd3('0x5e')],'section':_0x1cd3('0x33c'),'fields':'createdAt,updatedAt,id,name,VoiceExtensionId,callerIdAll,description','limit':0xa,'offset':0x0});}],'userProfile':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x52d411,_0x33e73a){return _0x33e73a['hasRole'](_0x1cd3('0x5f'))?null:_0x52d411[_0x1cd3('0x58')](_0x1cd3('0x60'),{'fields':_0x1cd3('0x61'),'id':_0x33e73a[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')]});}],'userProfileSection':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x8d6b5,_0xf183e9){return _0xf183e9[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x8d6b5[_0x1cd3('0x58')]('userProfileSection@get',{'fields':_0x1cd3('0x82'),'userProfileId':_0xf183e9[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x19a});}]},'authenticate':!![],'permissionId':0x19a,'bodyClass':'voice'});_0x4ddef3[_0x1cd3('0x16')]('app/main/apps/voice');}}());(function(){'use strict';_0x16e2fd[_0x1cd3('0xc')]=[_0x1cd3('0x1e')];angular['module'](_0x1cd3('0x33d'),[])[_0x1cd3('0xf')](_0x16e2fd);function _0x16e2fd(_0x4637aa){_0x4637aa[_0x1cd3('0x19')](_0x1cd3('0x33d'),{'url':_0x1cd3('0xc9'),'views':{'content@app':{'templateUrl':_0x1cd3('0x33e'),'controller':_0x1cd3('0x33f')}},'resolve':{'userProfile':[_0x1cd3('0x62'),'Auth',function(_0x49c436,_0x580def){return _0x580def[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x49c436[_0x1cd3('0x58')](_0x1cd3('0x60'),{'fields':'id,name,crudPermissions','id':_0x580def[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')]});}],'userProfileSection':['apiResolver',_0x1cd3('0x56'),function(_0x44be95,_0x244352){return _0x244352[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x44be95[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':_0x1cd3('0x82'),'userProfileId':_0x244352[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x83e});}]},'authenticate':!![],'permissionId':0x83e})[_0x1cd3('0x19')](_0x1cd3('0x340'),{'url':_0x1cd3('0xcd'),'controller':_0x1cd3('0x341'),'templateUrl':'app/main/apps/whatsapp/views/realtime/agents/view.html','resolve':{'pauses':[_0x1cd3('0x62'),function(_0x4de6ed){return _0x4de6ed[_0x1cd3('0x58')](_0x1cd3('0xd0'),{'nolimit':!![]});}],'agents':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x12f565,_0x40d9b7){return _0x40d9b7['hasRole'](_0x1cd3('0x5f'))?_0x12f565['resolve'](_0x1cd3('0x9e'),{'fields':'id,name,fullname,role,userpic,internal,online,voicePause,openchannelPause,faxPause,chatPause,smsPause,whatsappPause,mailPause,pauseType,lastPauseAt,lastLoginAt,lastPauseAt,chatCapacity,mailCapacity,openchannelCapacity,faxCapacity,smsCapacity,whatsappCapacity,screenrecording,phoneBarEnableScreenRecordingByAgent,phoneBarEnableAutomaticScreenRecording','role':_0x1cd3('0xd2'),'sort':'fullname','nolimit':!![]}):_0x12f565[_0x1cd3('0x58')](_0x1cd3('0x5c'),{'id':_0x40d9b7['getCurrentUser']()[_0x1cd3('0x5e')],'section':'Agents','fields':_0x1cd3('0xd1'),'role':_0x1cd3('0xd2'),'sort':_0x1cd3('0xd3'),'nolimit':!![]});}],'userProfile':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x334a5d,_0x23a01a){return _0x23a01a[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x334a5d[_0x1cd3('0x58')](_0x1cd3('0x60'),{'fields':'id,name,crudPermissions','id':_0x23a01a[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')]});}],'userProfileSection':[_0x1cd3('0x62'),'Auth',function(_0x3d6895,_0x273d71){return _0x273d71[_0x1cd3('0x57')]('admin')?null:_0x3d6895[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':'id,name,enabled,includeAll,autoAssociation,crudPermissions','userProfileId':_0x273d71['getCurrentUser']()['userProfileId'],'sectionId':0xca});}],'rpcAgents':[_0x1cd3('0x62'),function(_0x255b03){return _0x255b03['resolve']('rpc@getAgents');}]},'authenticate':!![],'permissionId':0x83e})[_0x1cd3('0x19')](_0x1cd3('0x342'),{'url':_0x1cd3('0xd7'),'controller':'QueuesWhatsappRealtimeController\x20as\x20vm','templateUrl':_0x1cd3('0x343'),'resolve':{'queues':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x594bae,_0x81e24){return _0x81e24[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x594bae[_0x1cd3('0x58')]('whatsappQueue@get',{'type':_0x1cd3('0xa4'),'sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0}):_0x594bae[_0x1cd3('0x58')](_0x1cd3('0x5c'),{'id':_0x81e24[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'section':_0x1cd3('0x344'),'channel':'whatsapp','type':_0x1cd3('0xa4'),'sort':_0x1cd3('0x5b'),'limit':0xa,'page':0x1});}],'userProfile':[_0x1cd3('0x62'),'Auth',function(_0x32e9bb,_0x3153d4){return _0x3153d4['hasRole'](_0x1cd3('0x5f'))?null:_0x32e9bb[_0x1cd3('0x58')](_0x1cd3('0x60'),{'fields':_0x1cd3('0x61'),'id':_0x3153d4[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')]});}],'userProfileSection':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x599763,_0x2155c5){return _0x2155c5['hasRole']('admin')?null:_0x599763['resolve'](_0x1cd3('0x63'),{'fields':_0x1cd3('0x82'),'userProfileId':_0x2155c5[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x835});}],'rpcQueues':[_0x1cd3('0x62'),function(_0x3c9ce6){return _0x3c9ce6[_0x1cd3('0x58')](_0x1cd3('0x345'));}]},'authenticate':!![],'permissionId':0x83e});}}());(function(){'use strict';_0xcfb7df[_0x1cd3('0xc')]=[_0x1cd3('0x1e'),_0x1cd3('0xd'),'msApiProvider','msNavigationServiceProvider'];angular[_0x1cd3('0x0')](_0x1cd3('0x3a'),[_0x1cd3('0x43'),_0x1cd3('0x44'),'md.data.table',_0x1cd3('0x46'),'mdColorPicker',_0x1cd3('0x48'),'ng-sortable','ngAria',_0x1cd3('0x2'),_0x1cd3('0x84'),_0x1cd3('0x4b'),_0x1cd3('0x4c'),_0x1cd3('0x4d'),_0x1cd3('0x85'),_0x1cd3('0x4e'),'ngEmbed',_0x1cd3('0x50'),'material.components.expansionPanels',_0x1cd3('0x51'),'angular.filter',_0x1cd3('0x33d')])['config'](_0xcfb7df);function _0xcfb7df(_0x1583f0,_0x1d3292,_0x53a71b,_0x2e2d01){_0x1583f0['state'](_0x1cd3('0x3a'),{'abstract':!![],'url':_0x1cd3('0x147')})['state'](_0x1cd3('0x346'),{'url':_0x1cd3('0x347'),'views':{'content@app':{'templateUrl':'app/main/apps/whatsapp/views/whatsappQueues/whatsappQueues.html','controller':_0x1cd3('0x348')}},'resolve':{'whatsappQueues':[_0x1cd3('0x62'),'Auth',function(_0x93b07b,_0x5d2b5d){return _0x5d2b5d[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x93b07b[_0x1cd3('0x58')](_0x1cd3('0x349'),{'fields':'createdAt,updatedAt,id,name,strategy,timeout,description','sort':_0x1cd3('0x5b'),'channel':'whatsapp','limit':0xa,'offset':0x0}):_0x93b07b[_0x1cd3('0x58')](_0x1cd3('0x5c'),{'id':_0x5d2b5d[_0x1cd3('0x5d')]()['userProfileId'],'section':_0x1cd3('0x344'),'fields':_0x1cd3('0xbb'),'sort':_0x1cd3('0x5b'),'channel':'whatsapp','limit':0xa,'offset':0x0});}],'userProfile':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x1412b3,_0x596bff){return _0x596bff[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x1412b3[_0x1cd3('0x58')]('userProfile@get',{'fields':'id,name,crudPermissions','id':_0x596bff[_0x1cd3('0x5d')]()['userProfileId']});}],'userProfileSection':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x1df544,_0x2fbc45){return _0x2fbc45[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x1df544[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':_0x1cd3('0x82'),'userProfileId':_0x2fbc45[_0x1cd3('0x5d')]()['userProfileId'],'sectionId':0x835});}]},'authenticate':!![],'permissionId':0x835,'bodyClass':_0x1cd3('0x34a')})[_0x1cd3('0x19')](_0x1cd3('0x34b'),{'url':_0x1cd3('0x72'),'params':{'whatsappQueue':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':_0x1cd3('0x34c'),'controller':_0x1cd3('0x34d')}},'resolve':{'whatsappQueue':['apiResolver',_0x1cd3('0x75'),function(_0x264ffe,_0x7c4ad7){return _0x264ffe[_0x1cd3('0x58')]('whatsappQueue@get',{'fields':_0x1cd3('0xbb'),'id':_0x7c4ad7['id']});}],'userProfileSection':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x40f965,_0x5cc3e8){return _0x40f965[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':'id,name,enabled,includeAll,autoAssociation,crudPermissions','userProfileId':_0x5cc3e8[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x835});}]},'authenticate':!![],'permissionId':0x835,'bodyClass':_0x1cd3('0x34a')})[_0x1cd3('0x19')](_0x1cd3('0x34e'),{'url':_0x1cd3('0x34f'),'views':{'content@app':{'templateUrl':_0x1cd3('0x350'),'controller':_0x1cd3('0x351')}},'resolve':{'whatsappAccounts':[_0x1cd3('0x62'),'Auth',function(_0x1ec2e2,_0x4ea44c){return _0x4ea44c['hasRole'](_0x1cd3('0x5f'))?_0x1ec2e2['resolve']('whatsappAccount@get',{'fields':_0x1cd3('0x352'),'sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0}):_0x1ec2e2[_0x1cd3('0x58')](_0x1cd3('0x5c'),{'id':_0x4ea44c['getCurrentUser']()['userProfileId'],'section':'WhatsappAccounts','fields':_0x1cd3('0x352'),'sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0});}],'userProfile':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x4c3f57,_0x20b10e){return _0x20b10e[_0x1cd3('0x57')]('admin')?null:_0x4c3f57[_0x1cd3('0x58')]('userProfile@get',{'fields':_0x1cd3('0x61'),'id':_0x20b10e[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')]});}],'userProfileSection':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x4e41dd,_0x2bacdf){return _0x2bacdf[_0x1cd3('0x57')](_0x1cd3('0x5f'))?null:_0x4e41dd[_0x1cd3('0x58')](_0x1cd3('0x63'),{'fields':'id,name,enabled,includeAll,autoAssociation,crudPermissions','userProfileId':_0x2bacdf['getCurrentUser']()[_0x1cd3('0x5e')],'sectionId':0x836});}]},'authenticate':!![],'permissionId':0x836,'bodyClass':_0x1cd3('0x34a')})['state']('app.whatsapp.whatsappAccounts.edit',{'url':_0x1cd3('0x72'),'params':{'whatsappAccount':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':'app/main/apps/whatsapp/views/whatsappAccounts/edit/view.html','controller':'WhatsappAccountController\x20as\x20vm'}},'resolve':{'whatsappAccount':[_0x1cd3('0x62'),_0x1cd3('0x75'),function(_0x5770d0,_0x22d897){return _0x5770d0['resolve'](_0x1cd3('0x14a'),{'fields':_0x1cd3('0x352'),'id':_0x22d897['id']});}],'userProfileSection':['apiResolver',_0x1cd3('0x56'),function(_0x504906,_0x3a0527){return _0x504906['resolve']('userProfileSection@get',{'fields':_0x1cd3('0x82'),'userProfileId':_0x3a0527[_0x1cd3('0x5d')]()['userProfileId'],'sectionId':0x836});}]},'authenticate':!![],'permissionId':0x836,'bodyClass':_0x1cd3('0x34a')});_0x1d3292[_0x1cd3('0x16')]('app/main/apps/whatsapp');}}());(function(){'use strict';angular[_0x1cd3('0x0')](_0x1cd3('0x353'),[])[_0x1cd3('0xf')](_0x4a4b45);function _0x4a4b45(){}}());(function(){'use strict';_0x481d08[_0x1cd3('0xc')]=['$translatePartialLoaderProvider',_0x1cd3('0x41')];angular[_0x1cd3('0x0')]('app.quick-panel',[])[_0x1cd3('0xf')](_0x481d08);function _0x481d08(_0x3dff62,_0x58576c){_0x3dff62[_0x1cd3('0x16')](_0x1cd3('0x354'));}}());(function(){'use strict';_0x379928['$inject']=[_0x1cd3('0x1e'),_0x1cd3('0xd')];angular[_0x1cd3('0x0')](_0x1cd3('0x3c'),[])[_0x1cd3('0xf')](_0x379928);function _0x379928(_0x255fb0,_0x12895b){_0x255fb0[_0x1cd3('0x19')](_0x1cd3('0x3c'),{'url':_0x1cd3('0x355'),'views':{'main@':{'templateUrl':_0x1cd3('0x12'),'controller':_0x1cd3('0x13')},'content@app.reset':{'templateUrl':_0x1cd3('0x356'),'controller':_0x1cd3('0x357')}},'bodyClass':_0x1cd3('0x358')});_0x12895b[_0x1cd3('0x16')](_0x1cd3('0x359'));}}());(function(){'use strict';_0x3ecc0e['$inject']=[_0x1cd3('0xd')];angular['module'](_0x1cd3('0x35a'),[])[_0x1cd3('0xf')](_0x3ecc0e);function _0x3ecc0e(_0xd6c600){_0xd6c600[_0x1cd3('0x16')](_0x1cd3('0x35b'));}}());(function(){'use strict';_0x2b112d[_0x1cd3('0xc')]=[_0x1cd3('0x35c')];angular[_0x1cd3('0x0')](_0x1cd3('0x1'))[_0x1cd3('0xf')](_0x2b112d);function _0x2b112d(_0x55d808){_0x55d808['interceptors']['push']('authInterceptor');}}());(function(){'use strict';_0x113d2a[_0x1cd3('0xc')]=['$transitions'];angular[_0x1cd3('0x0')](_0x1cd3('0x1'))[_0x1cd3('0x35d')](_0x113d2a);function _0x113d2a(_0x582e15){var _0x1a241e={'to':function(_0x17e4af){return _0x17e4af[_0x1cd3('0x35e')]===!![];}};var _0x4cdf6c={'to':function(_0x4dd971){return _0x4dd971[_0x1cd3('0x98')]!==_0x1cd3('0x3b');}};var _0x3b5d82={'to':function(_0x2e0a9b){return _0x2e0a9b[_0x1cd3('0x35f')];}};var _0x225890={'to':function(_0x1285b6){return _0x1285b6['parent']['name']===_0x1cd3('0x114');}};var _0x36aebd=function(_0xf4b555){var _0x2cc2b4=_0xf4b555[_0x1cd3('0x360')]()[_0x1cd3('0x361')](_0x1cd3('0x56'));var _0x54fc9a=_0xf4b555[_0x1cd3('0x362')][_0x1cd3('0x363')];if(!_0x2cc2b4[_0x1cd3('0x364')]()){return _0x54fc9a[_0x1cd3('0x365')](_0x1cd3('0x3b'),undefined,{'reload':!![]});}else{return _0x2cc2b4[_0x1cd3('0x366')]()[_0x1cd3('0xfd')](function(){return _0x54fc9a[_0x1cd3('0x365')](_0x1cd3('0x3b'),undefined,{'reload':!![]});});}};var _0x12c4f8=function(_0x143f84){var _0x13a9bf=_0x143f84[_0x1cd3('0x360')]()['get'](_0x1cd3('0x56'));var _0x68f6d7=_0x143f84[_0x1cd3('0x362')][_0x1cd3('0x363')];var _0x29a36f=_0x143f84[_0x1cd3('0x367')]();if(_0x13a9bf[_0x1cd3('0x57')]('agent')&&_0x29a36f[_0x1cd3('0x98')]!=_0x1cd3('0x114')){return _0x68f6d7[_0x1cd3('0x365')](_0x1cd3('0x114'),{'redirect':![]},{'reload':!![]});}};var _0x37940a=function(_0x35ba95){var _0x4e7ad4=_0x35ba95[_0x1cd3('0x360')]()['get'](_0x1cd3('0x56'));var _0x1d1451=_0x35ba95[_0x1cd3('0x362')]['stateService'];var _0xbb4169=_0x35ba95[_0x1cd3('0x367')]();if(_0x4e7ad4[_0x1cd3('0x57')](_0x1cd3('0x368'))){if(!_0x4e7ad4[_0x1cd3('0x369')](_0xbb4169['permissionId'])){return _0x1d1451[_0x1cd3('0x365')]('app.dashboards.general',{'redirect':![]},{'reload':!![]});}else{var _0x32dd8a=_0x35ba95[_0x1cd3('0x36a')]()['id']?Number(_0x35ba95[_0x1cd3('0x36a')]()['id']):undefined;if(_0x32dd8a){return _0x4e7ad4[_0x1cd3('0x36b')](_0xbb4169[_0x1cd3('0x35f')],_0x32dd8a)['catch'](function(){return _0x1d1451[_0x1cd3('0x365')](_0xbb4169[_0x1cd3('0x36c')][_0x1cd3('0x98')],{'redirect':![]},{'reload':!![]});});}}}};var _0x2fdf69=function(_0x5a5210){var _0x5380c6=_0x5a5210[_0x1cd3('0x360')]()[_0x1cd3('0x361')](_0x1cd3('0x56'));var _0x127f56=_0x5a5210[_0x1cd3('0x362')]['stateService'];var _0x564bd8=_0x5a5210[_0x1cd3('0x367')]();if(_0x5380c6[_0x1cd3('0x57')](_0x1cd3('0x368'))&&!_0x5380c6[_0x1cd3('0x369')](0x64)){return _0x127f56[_0x1cd3('0x365')](_0x1cd3('0x114'),{'redirect':![]},{'reload':!![]});}};_0x582e15['onBefore'](_0x1a241e,_0x36aebd);_0x582e15[_0x1cd3('0x36d')](_0x4cdf6c,_0x12c4f8);_0x582e15['onFinish'](_0x3b5d82,_0x37940a);_0x582e15[_0x1cd3('0x36e')](_0x225890,_0x2fdf69);}}());(function(){'use strict';_0x2ea84f[_0x1cd3('0xc')]=['$mdDialog',_0x1cd3('0x36f'),'$q',_0x1cd3('0x370'),_0x1cd3('0x371'),_0x1cd3('0x372')];angular[_0x1cd3('0x0')](_0x1cd3('0x1'))[_0x1cd3('0x373')](_0x1cd3('0x56'),_0x2ea84f);function _0x2ea84f(_0x58ea8a,_0x887e,_0x3e5de1,_0x4f0926,_0x318d88,_0x4090a7){var _0x2e2c4e;var _0x2bae62={'getToken':_0x5057ae,'getCurrentUser':_0x5a0f46,'getPermissions':_0x387fbd,'hasChildrenPermissions':_0x4dc190,'hasModulePermissions':_0x36d9a3,'hasModulesPermissions':_0x594a41,'hasRole':_0xc3c737,'hasPermission':_0x2b7c07,'hasResourcePermission':_0xdede57,'hasSectionPermissions':_0x3c4233,'hasSectionsPermissions':_0x4b2e02,'isAgent':_0x498644,'isAdmin':_0x19b592,'isLoggedIn':_0xc1e847,'isTelephone':_0x4ce056,'isUser':_0x112ab7,'login':_0x141011,'logout':_0x33b133,'parseCrudPermissions':_0x351b35,'queueLogin':_0x1daafd,'reloadPermissions':_0x619ecf,'removeCookies':_0x444242,'retrieveUser':_0x1296df,'setCurrentUser':_0x4da3f2,'getAuthenticationType':_0x235b52,'loginSSO':_0x5656f3};return _0x2bae62;function _0x5057ae(){return _0x887e['get'](_0x1cd3('0x374'));}function _0x5a0f46(){return _0x2e2c4e;}function _0x4da3f2(_0x5f086a){_0x2e2c4e=_[_0x1cd3('0xf2')](_0x2e2c4e,_0x5f086a);}function _0x1daafd(_0x2880e2){return _0x3e5de1(function(_0x51cff4,_0x3244a5){_0x4f0926['user'][_0x1cd3('0x375')]({'id':_0x2e2c4e['id'],'device':'web','intrf':_0x2880e2})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x4af6b3){_0x51cff4(_0x4af6b3);})[_0x1cd3('0xfd')](function(_0xa63ee1){_0x3244a5(_0xa63ee1);});});}function _0x559fd7(){return _0x3e5de1(function(_0x1eabf3,_0x3e498f){_0x4f0926[_0x1cd3('0x368')][_0x1cd3('0x376')]({'id':_0x2e2c4e['id'],'device':'web'})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x1eabf3();})[_0x1cd3('0xfd')](function(_0x5884e1){_0x3e498f(_0x5884e1);});});}function _0xaa7347(_0x548742){return _0x3e5de1(function(_0x5951c1,_0x5788d6){var _0x5262b4={'online':_0x548742,'lastLoginAt':_0x548742?moment()[_0x1cd3('0x130')](_0x1cd3('0x377')):undefined};_0x4f0926['user'][_0x1cd3('0x378')]({'id':_0x2e2c4e['id']},_0x5262b4)[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x1742b0){_0x5951c1(_0x1742b0);})[_0x1cd3('0xfd')](function(_0x37b32f){_0x5788d6(_0x37b32f);});});}function _0x141011(_0xdb597a){return _0x3e5de1(function(_0x34cc75,_0x509caa){_0x4f0926[_0x1cd3('0x379')][_0x1cd3('0x37a')](_0xdb597a)[_0x1cd3('0x81')]['then'](function(_0x5be6df){_0x887e[_0x1cd3('0x37b')](_0x1cd3('0x374'),_0x5be6df['token']);return _0x4f0926[_0x1cd3('0x368')][_0x1cd3('0x361')]({'id':_0x5be6df['id']})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x556b55){_0x2e2c4e=_0x556b55;_0x2e2c4e['lastLoginAt']=moment()[_0x1cd3('0x130')](_0x1cd3('0x377'));_0x37cc6c(_0x1cd3('0x37c'));})[_0x1cd3('0x77')](function(){if(_0x498644()&&_0x2e2c4e['showWebBar']===0x1&&_0x2e2c4e[_0x1cd3('0x37d')]){return _0x58ea8a[_0x1cd3('0x37e')]({'controller':'HotDeskDialogController','controllerAs':'vm','templateUrl':'app/auth/services/hotdesk/dialog.html','parent':angular[_0x1cd3('0x37f')](_0x4090a7[_0x1cd3('0x380')]),'clickOutsideToClose':![],'resolve':{'telephones':['apiResolver',function(_0x99d427){return _0x99d427[_0x1cd3('0x58')]('user@get',{'fields':'id,fullname,name,internal','role':_0x1cd3('0x28e'),'nolimit':!![]});}]}});}})[_0x1cd3('0x77')](function(_0x1a5fe3){if(_0x498644()&&_0x2e2c4e[_0x1cd3('0x381')]!==0x0){return _0x1daafd(_0x1a5fe3);}else if(_0x19b592()||_0x112ab7()){return _0xaa7347(!![]);}else{return;}})[_0x1cd3('0x77')](function(_0x4dfba5){_0x2e2c4e=_[_0x1cd3('0x382')](_0x2e2c4e,_0x4dfba5);_0x34cc75();})[_0x1cd3('0xfd')](function(_0x2a59e6){_0x509caa(_0x2a59e6);});});}function _0x444242(){_0x887e[_0x1cd3('0x383')](_0x1cd3('0x374'));if(_0x2e2c4e){_0x318d88['localStorage']['removeItem'](_0x1cd3('0x384')+_0x2e2c4e['id']);_0x318d88[_0x1cd3('0x385')][_0x1cd3('0x386')](_0x1cd3('0x387'));_0x2e2c4e=null;}}function _0x33b133(_0x272ffd){return _0x3e5de1(function(_0x29b5b2,_0xc4104f){if(_0x272ffd){_0x444242();_0x29b5b2();}else{_0x3e5de1[_0x1cd3('0x58')]()['then'](function(){if(_0x498644()&&_0x2e2c4e[_0x1cd3('0x381')]!==0x0){return _0x559fd7();}else if(_0x19b592()||_0x112ab7()){return _0xaa7347(![]);}else{return;}})[_0x1cd3('0x77')](function(){_0x444242();_0x29b5b2();})[_0x1cd3('0xfd')](function(_0x9800b5){_0xc4104f(_0x9800b5);});}});}function _0xc1e847(){return _0x5057ae()?!![]:![];}function _0x498644(){return _0x2e2c4e['role']===_0x1cd3('0xd2');}function _0x19b592(){return _0x2e2c4e['role']===_0x1cd3('0x5f');}function _0x112ab7(){return _0x2e2c4e[_0x1cd3('0x388')]===_0x1cd3('0x368');}function _0x4ce056(){return _0x2e2c4e[_0x1cd3('0x388')]==='telephone';}function _0x1296df(){return _0x3e5de1(function(_0x533e9f,_0x4b84b2){_0x4f0926['user'][_0x1cd3('0x389')]()['$promise'][_0x1cd3('0x77')](function(_0x1bc376){if(_0x1bc376[_0x1cd3('0x388')]==='user'){return _0x387fbd(_0x1bc376['userProfileId'])['then'](function(_0x13bfd5){_0x1bc376['permissions']=_0x13bfd5;return _0x1bc376;});}else{return _0x1bc376;}})[_0x1cd3('0x77')](function(_0x4f2054){_0x2e2c4e=_0x4f2054;_0x533e9f(_0x2e2c4e);})[_0x1cd3('0xfd')](function(_0x1fe666){_0x4b84b2(_0x1fe666);});});}function _0xc3c737(_0xbf8781){return _0x2e2c4e?_0x2e2c4e[_0x1cd3('0x388')]===_0xbf8781:![];}function _0x2b7c07(_0x500897){return _0x2e2c4e?_['includes'](_0x2e2c4e['permissions'],_0x500897):![];}function _0x387fbd(_0x543d2b){var _0x1ea493=[];return _0x3e5de1(function(_0x2d7f4e,_0xc9b45d){if(!_0x543d2b){_0x2d7f4e(_0x1ea493);}return _0x4f0926[_0x1cd3('0x38a')]['getSections']({'id':_0x543d2b})['$promise'][_0x1cd3('0x77')](function(_0x361251){for(var _0x7d09f1=0x0;_0x7d09f1<_0x361251[_0x1cd3('0x7a')];_0x7d09f1++){var _0x10fbd9=_0x361251[_0x7d09f1];_0x1ea493[_0x1cd3('0x7b')](_0x10fbd9[_0x1cd3('0x38b')]);if(_0x10fbd9[_0x1cd3('0x38c')]){_0x1ea493=_['concat'](_0x1ea493,_0x10fbd9['subsections']);}}return _0x1ea493;})['then'](function(_0x2201ce){_0x2d7f4e(_0x2201ce);})[_0x1cd3('0xfd')](function(_0x16645c){_0xc9b45d('Error\x20retrieving\x20user\x20profile\x20permissions',_0x16645c);});});}function _0x4dc190(_0x2a1c23){if(!_0x2a1c23)return![];return _[_0x1cd3('0x38d')](_0x2a1c23,function(_0x3f91b4){return _0x2b7c07(_0x3f91b4);});}function _0x619ecf(){return _0x3e5de1(function(_0xa12d,_0x115d29){_0x387fbd(_0x2e2c4e[_0x1cd3('0x5e')])[_0x1cd3('0x77')](function(_0x16cdc3){_0x2e2c4e[_0x1cd3('0x38e')]=_0x16cdc3;_0xa12d();})[_0x1cd3('0xfd')](function(_0x4746b6){_0x115d29(_0x4746b6);});});}function _0x351b35(_0x59095d){if(_0x19b592()){return{'readOnly':![],'canEdit':!![],'canDelete':!![]};}else{if(!_0x59095d){return{'readOnly':!![],'canEdit':![],'canDelete':![]};}else{return{'readOnly':_[_0x1cd3('0x38f')](_0x59095d,'r')&&_0x59095d[_0x1cd3('0x7a')]===0x1?!![]:![],'canEdit':_[_0x1cd3('0x38f')](_0x59095d,'e')?!![]:![],'canDelete':_[_0x1cd3('0x38f')](_0x59095d,'d')?!![]:![]};}}}function _0xdede57(_0x3e11f4,_0x6846b5){return _0x3e5de1(function(_0x301077,_0x37b081){return _0x4f0926[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x2e2c4e[_0x1cd3('0x5e')],'sectionId':_0x3e11f4})['$promise'][_0x1cd3('0x77')](function(_0x4b8faa){var _0x4fdc36=_0x4b8faa[_0x1cd3('0xf6')][0x0];if(_0x4fdc36[_0x1cd3('0x391')]){_0x301077();}else{return _0x4f0926[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x4fdc36['id'],'nolimit':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x109af5){var _0x2e067a=_0x109af5[_0x1cd3('0xf6')];_['some'](_0x2e067a,['resourceId',_0x6846b5])?_0x301077():_0x37b081();});}})['catch'](function(_0x22af13){_0x37b081(_0x1cd3('0x393'),_0x22af13);});});}function _0x3c4233(_0x35fdf1){return _0x3e5de1(function(_0x26e4e7,_0x29f500){var _0x33ac8a={};return _0x619ecf()[_0x1cd3('0x77')](function(){if(_['includes'](_0x2e2c4e[_0x1cd3('0x38e')],_0x35fdf1)){_0x33ac8a[_0x35fdf1]=!![];}_0x26e4e7(_0x33ac8a);})[_0x1cd3('0xfd')](function(_0x4353a7){_0x29f500(_0x4353a7);});});}function _0x4b2e02(_0x4121e3){return _0x3e5de1(function(_0x3e6926,_0x20881c){var _0x1932b8={};if(_0x19b592()){_0x4121e3[_0x1cd3('0x394')](function(_0x241dae){_0x1932b8[_0x241dae]=!![];});_0x3e6926(_0x1932b8);}else{return _0x619ecf()['then'](function(){_0x4121e3[_0x1cd3('0x394')](function(_0x3c10f){if(_[_0x1cd3('0x38f')](_0x2e2c4e['permissions'],_0x3c10f)){_0x1932b8[_0x3c10f]=!![];}});_0x3e6926(_0x1932b8);})['catch'](function(_0x1422b8){_0x20881c(_0x1422b8);});}});}function _0x36d9a3(_0x111fd5){return _0x3e5de1(function(_0x370409,_0x364e2c){if(_0x19b592()){_0x370409(!![]);}else{_0x4f0926[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x2e2c4e[_0x1cd3('0x5e')]})[_0x1cd3('0x81')]['then'](function(_0x241ca4){var _0x5b919e=_0x241ca4&&_0x241ca4['rows']?_0x241ca4[_0x1cd3('0xf6')]:[];if(!_['isEmpty'](_0x5b919e)){var _0x3e173f=_[_0x1cd3('0x395')](_0x5b919e,function(_0x50bd7d){return _0x50bd7d[_0x1cd3('0x396')];});_0x370409(_[_0x1cd3('0x38d')](_0x3e173f,[_0x1cd3('0x397'),_0x111fd5]));}else{_0x370409(![]);}})[_0x1cd3('0xfd')](function(_0x306a68){_0x364e2c(_0x306a68);});}});}function _0x594a41(_0x4a6702){return _0x3e5de1(function(_0x14fe32,_0x30efca){var _0x2a331f={};if(_0x19b592()){_0x4a6702['forEach'](function(_0x63710c){_0x2a331f[_0x63710c]=!![];});_0x14fe32(_0x2a331f);}else{_0x4f0926[_0x1cd3('0x390')]['get']({'userProfileId':_0x2e2c4e[_0x1cd3('0x5e')]})[_0x1cd3('0x81')]['then'](function(_0x5db652){var _0x1f6fcf=_0x5db652&&_0x5db652[_0x1cd3('0xf6')]?_0x5db652['rows']:[];if(!_[_0x1cd3('0x398')](_0x1f6fcf)){var _0x4fca06=_(_0x1f6fcf)[_0x1cd3('0x395')](function(_0x3dfb2e){return _0x3dfb2e[_0x1cd3('0x396')]&&_[_0x1cd3('0x38f')](_0x4a6702,_0x3dfb2e[_0x1cd3('0x397')]);})['uniqBy'](function(_0x434ed7){return _0x434ed7[_0x1cd3('0x397')];})['map'](function(_0x515809){return _0x515809['category'];})['value']();_0x4fca06[_0x1cd3('0x394')](function(_0x1135cf){_0x2a331f[_0x1135cf]=!![];});_0x14fe32(_0x2a331f);}else{_0x14fe32({});}})['catch'](function(_0x572192){_0x30efca(_0x572192);});}});}function _0x235b52(){return _0x318d88[_0x1cd3('0x385')][_0x1cd3('0x387')]||'NONE';}function _0x37cc6c(_0x24bf84){_0x318d88[_0x1cd3('0x385')][_0x1cd3('0x387')]=_0x24bf84;}function _0x5656f3(_0x28be3d){_0x37cc6c('SSO_LOGIN');return _0x1cd3('0x399')+_0x28be3d;}}}());(function(){'use strict';_0x3b02ac[_0x1cd3('0xc')]=['$mdDialog',_0x1cd3('0x39a')];angular[_0x1cd3('0x0')](_0x1cd3('0x1'))[_0x1cd3('0x39b')]('HotDeskDialogController',_0x3b02ac);function _0x3b02ac(_0x5723ae,_0x3d538f){var _0x586bc3=this;_0x586bc3[_0x1cd3('0x39a')]=_0x3d538f;_0x586bc3[_0x1cd3('0x39c')]=_0x5ea303;if(_0x3d538f['count']){_0x586bc3[_0x1cd3('0x98')]=_0x3d538f[_0x1cd3('0xf6')][0x0][_0x1cd3('0x98')];}function _0x5ea303(_0x21f1e3){_0x5723ae[_0x1cd3('0x39d')](_0x21f1e3);}}}());(function(){'use strict';_0x1218b4[_0x1cd3('0xc')]=[_0x1cd3('0x39e'),'$q','$cookies',_0x1cd3('0x39f'),_0x1cd3('0x3a0')];angular['module'](_0x1cd3('0x1'))[_0x1cd3('0x373')](_0x1cd3('0x3a1'),_0x1218b4);function _0x1218b4(_0x5c40ab,_0x3d59b7,_0xbaf435,_0x1005af,_0x9261e5){var _0x2ec3c5;return{'request':function(_0x52e735){var _0x4ef83e=_0xbaf435[_0x1cd3('0x361')]('motion.token');_0x52e735['headers']=_0x52e735[_0x1cd3('0x3a2')]||{};if(_0x9261e5[_0x1cd3('0x3a3')](_0x52e735[_0x1cd3('0x3a4')])&&_0x4ef83e){_0x52e735[_0x1cd3('0x3a2')]['Authorization']=_0x1cd3('0x3a5')+_0x4ef83e;}return _0x52e735;},'responseError':function(_0x26fe9d){switch(_0x26fe9d[_0x1cd3('0x3a6')]){case 0x191:_0xbaf435['remove']('motion.token');(_0x2ec3c5||(_0x2ec3c5=_0x1005af[_0x1cd3('0x361')]('$state')))['go'](_0x1cd3('0x3b'));break;case 0x194:break;default:break;}return _0x3d59b7[_0x1cd3('0x3a7')](_0x26fe9d);}};}}());(function(){'use strict';_0xa1d84b[_0x1cd3('0xc')]=[_0x1cd3('0x371')];angular[_0x1cd3('0x0')](_0x1cd3('0x1'))[_0x1cd3('0x373')](_0x1cd3('0x3a0'),_0xa1d84b);function _0xa1d84b(_0x35d453){var _0x3291c5={'safeCb':function(_0x1db954){return angular[_0x1cd3('0x3a8')](_0x1db954)?_0x1db954:angular[_0x1cd3('0x3a9')];},'urlParse':function(_0x3de6e1){var _0x4698a7=document[_0x1cd3('0x3aa')]('a');_0x4698a7[_0x1cd3('0x3ab')]=_0x3de6e1;if(_0x4698a7[_0x1cd3('0x3ac')]===''){_0x4698a7[_0x1cd3('0x3ab')]=_0x4698a7[_0x1cd3('0x3ab')];}return _0x4698a7;},'isSameOrigin':function(_0x4088ec,_0x2baa0b){_0x4088ec=_0x3291c5[_0x1cd3('0x3ad')](_0x4088ec);_0x2baa0b=_0x2baa0b&&[][_0x1cd3('0x3ae')](_0x2baa0b)||[];_0x2baa0b=_0x2baa0b['map'](_0x3291c5[_0x1cd3('0x3ad')]);_0x2baa0b[_0x1cd3('0x7b')](_0x35d453['location']);_0x2baa0b=_0x2baa0b[_0x1cd3('0x395')](function(_0xa1361b){var _0x6f54fb=_0x4088ec['hostname']===_0xa1361b[_0x1cd3('0x3af')];var _0x2fc0b4=_0x4088ec[_0x1cd3('0x3b0')]===_0xa1361b[_0x1cd3('0x3b0')];var _0x27e137=_0x4088ec['port']===_0xa1361b['port']||_0xa1361b['port']===''&&(_0x4088ec[_0x1cd3('0x3b1')]==='80'||_0x4088ec[_0x1cd3('0x3b1')]===_0x1cd3('0x3b2'));return _0x6f54fb&&_0x2fc0b4&&_0x27e137;});return _0x2baa0b['length']>=0x1;}};return _0x3291c5;}}());(function(){'use strict';angular['module'](_0x1cd3('0x27'))[_0x1cd3('0x3b3')](_0x1cd3('0x3b4'),_0x45c2e2);function _0x45c2e2(){var _0x28386a={'disableCustomScrollbars':![],'disableMdInkRippleOnMobile':!![],'disableCustomScrollbarsOnMobile':!![]};this[_0x1cd3('0xf')]=_0x214866;function _0x214866(_0x171296){_0x28386a=angular['extend']({},_0x28386a,_0x171296);}this[_0x1cd3('0x3b5')]=function(){var _0x4351d3={'getConfig':_0x43e75b,'setConfig':_0x5db574};return _0x4351d3;function _0x43e75b(_0x3858fa){if(angular['isUndefined'](_0x28386a[_0x3858fa])){return![];}return _0x28386a[_0x3858fa];}function _0x5db574(_0x47f7c0,_0x4f4f84){_0x28386a[_0x47f7c0]=_0x4f4f84;}};}}());(function(){'use strict';_0x5f5aa1[_0x1cd3('0xc')]=[_0x1cd3('0x3b6'),_0x1cd3('0x3b7'),_0x1cd3('0x3b8'),'motionConfigProvider'];angular[_0x1cd3('0x0')](_0x1cd3('0x27'))[_0x1cd3('0xf')](_0x5f5aa1);function _0x5f5aa1(_0x17150f,_0xdc4ba0,_0x67ff31,_0x5ab479){_0xdc4ba0[_0x1cd3('0x3b9')](!![]);_0x17150f['config']({'tabindex':![]});_0x5ab479[_0x1cd3('0xf')]({'disableCustomScrollbars':![],'disableCustomScrollbarsOnMobile':!![],'disableMdInkRippleOnMobile':!![]});_0x67ff31[_0x1cd3('0xf')]({'wheelPropagation':!![]});}}());(function(){'use strict';_0x4eb775[_0x1cd3('0xc')]=[_0x1cd3('0x2dd'),_0x1cd3('0x3ba'),_0x1cd3('0x3b4')];angular[_0x1cd3('0x0')](_0x1cd3('0x27'))[_0x1cd3('0x35d')](_0x4eb775);function _0x4eb775(_0x50c37e,_0x357fca,_0x4c603d){_0x357fca['generate']();if(_0x4c603d[_0x1cd3('0x3bb')]('disableMdInkRippleOnMobile')&&_0x50c37e[_0x1cd3('0x3bc')]()){var _0x1e3b0a=angular[_0x1cd3('0x37f')](_0x1cd3('0x380'));_0x1e3b0a[_0x1cd3('0x3bd')](_0x1cd3('0x3be'),!![]);}if(_0x50c37e[_0x1cd3('0x3bc')]()){angular['element'](_0x1cd3('0x3bf'))[_0x1cd3('0x3c0')](_0x1cd3('0x3c1'));}var _0x3166e2=_0x50c37e[_0x1cd3('0x3c2')]();if(_0x3166e2){var _0x19af90=_0x3166e2[_0x1cd3('0x3c3')]+'\x20'+_0x3166e2[_0x1cd3('0x3c4')]+'\x20'+_0x3166e2['os'];angular[_0x1cd3('0x37f')](_0x1cd3('0x3bf'))[_0x1cd3('0x3c0')](_0x19af90);}}}());(function(){'use strict';_0x313b95['$inject']=[_0x1cd3('0x371'),_0x1cd3('0x3c5'),'Auth',_0x1cd3('0x3c6'),_0x1cd3('0x3c7'),_0x1cd3('0x3c8')];angular[_0x1cd3('0x0')]('app.core')[_0x1cd3('0x39b')](_0x1cd3('0x3c9'),_0x313b95);function _0x313b95(_0x3d6ea6,_0x266ec6,_0x3b6fc1,_0x11520f,_0x439620,_0x261142){var _0x506bc6=this;_0x506bc6[_0x1cd3('0x3ca')]=_0x3b6fc1['getCurrentUser']();_0x506bc6['searchOptions']={'matchType':_0x1cd3('0x3cb'),'conditions':[],'fields':_0x439620};_0x506bc6['toolbarColor']=_0x11520f;_0x506bc6['onInit']=_0x4d6f12;_0x506bc6[_0x1cd3('0x3cc')]=_0x42b538;_0x506bc6[_0x1cd3('0x3cd')]=_0x2083af;_0x506bc6[_0x1cd3('0x3ce')]=_0x3a9632;_0x506bc6[_0x1cd3('0x3cf')]=_0x36e021;function _0x4d6f12(){if(_0x261142){var _0x24562a=_0x138fab();if(_0x24562a[_0x1cd3('0x3d0')](_0x1cd3('0x3d1'))){_0x506bc6['searchOptions']=_['merge'](_0x506bc6[_0x1cd3('0x3d2')],_0x24562a[_0x1cd3('0x3d1')]);}}}function _0x42b538(){var _0x593365=_[_0x1cd3('0x395')](_0x506bc6['searchOptions']['conditions'],['disabled',![]]);var _0x1b24a1='['+_0x506bc6[_0x1cd3('0x3d2')][_0x1cd3('0x3d3')]+']';var _0x4e5480=[];var _0x28d862='';_(_0x593365)['groupBy'](_0x1cd3('0x98'))[_0x1cd3('0x394')](function(_0x380ae2){var _0x5a7b1d=_0x380ae2[0x0];var _0x54ccc2=_0x380ae2['length']>0x1?!![]:![];var _0x2734c1=_0x5a7b1d[_0x1cd3('0x3d4')][_0x1cd3('0x3d5')];if(_0x54ccc2){var _0x7f18e4=_(_0x380ae2)[_0x1cd3('0x3d6')](function(_0x565280){return _0x565280[_0x1cd3('0x3d4')][_0x1cd3('0x3d7')];})[_0x1cd3('0x3d8')](function(_0x507e42){return _['chain'](_0x507e42)[_0x1cd3('0x3d9')](function(_0x1a067c){return _0x1a067c[_0x1cd3('0x3d4')]['value'];})[_0x1cd3('0x3da')]()[_0x1cd3('0x3db')]();})[_0x1cd3('0x3db')]();var _0x7f781=[];_[_0x1cd3('0x80')](_0x7f18e4)[_0x1cd3('0x394')](function(_0x4f9b0a){var _0x2f8c76=_0x7f18e4[_0x4f9b0a];var _0x3ede42=_0x4f9b0a;if(_[_0x1cd3('0x38f')](['$between',_0x1cd3('0x3dc'),_0x1cd3('0x3dd')],_0x4f9b0a)){_0x3ede42+='['+_0x2f8c76+']';}else{_0x2f8c76[_0x1cd3('0x394')](function(_0x1eb243){_0x3ede42+='['+_0x1eb243+']';});}_0x7f781['push'](_0x3ede42);});_0x28d862+=_0x2734c1+':='+_0x7f781['join'](':=');}else{_0x28d862=_0x2734c1+':='+_0x5a7b1d[_0x1cd3('0x3d4')][_0x1cd3('0x3d7')]+'['+_0x5a7b1d[_0x1cd3('0x3d4')][_0x1cd3('0x3db')]+']';}_0x4e5480['push'](_0x28d862);});_0x1b24a1+=_0x4e5480[_0x1cd3('0x3de')]('||');_0x3c67e7();_0x266ec6['hide'](_0x1b24a1);}function _0x2083af(){_0x506bc6[_0x1cd3('0x3d2')][_0x1cd3('0x3df')]=[];_0x2b0127();}function _0x3a9632(){_0x3c67e7();_0x266ec6[_0x1cd3('0x39d')]();}function _0x36e021(){_0x266ec6['hide'](![]);}function _0x138fab(){var _0x54f113=_0x3d6ea6[_0x1cd3('0x385')][_0x1cd3('0x3e0')](_0x1cd3('0x3e1')+_0x261142+':'+_0x506bc6[_0x1cd3('0x3ca')]['id']);return _0x54f113?JSON['parse'](_0x54f113):{};}function _0x27f77e(_0x3019c9){_0x3d6ea6[_0x1cd3('0x385')][_0x1cd3('0x3e2')]('motion2.'+_0x261142+':'+_0x506bc6[_0x1cd3('0x3ca')]['id'],JSON['stringify'](_0x3019c9));}function _0x3c67e7(){if(_0x261142){var _0x5e555a=_0x138fab();_0x5e555a['advancedSearch']=_[_0x1cd3('0x3e3')](_0x506bc6[_0x1cd3('0x3d2')],'fields');_0x27f77e(_0x5e555a);}}function _0x2b0127(){if(_0x261142){var _0x42fc49=_0x138fab();delete _0x42fc49['advancedSearch'];if(_0x42fc49[_0x1cd3('0x3d4')])delete _0x42fc49['query'][_0x1cd3('0x3e4')];_0x27f77e(_0x42fc49);}}}}());(function(){'use strict';_0x19a2c1[_0x1cd3('0xc')]=['$timeout'];angular['module'](_0x1cd3('0x27'))[_0x1cd3('0x3e5')](_0x1cd3('0x3e6'),_0x19a2c1);function _0x19a2c1(_0x2d7c2d){return{'restrict':'A','link':function(_0x11b65f,_0x397cb7,_0x185811){_0x11b65f['$watch'](_0x185811[_0x1cd3('0x3e6')],function(_0x5bcb6f){_0x2d7c2d(function(){_0x5bcb6f?_0x397cb7[0x0]['focus']():_0x397cb7[0x0]['blur']();});});}};}}());(function(){'use strict';_0x3d5a80[_0x1cd3('0xc')]=[_0x1cd3('0x3e7'),'$q',_0x1cd3('0x3e8')];angular[_0x1cd3('0x0')](_0x1cd3('0x27'))[_0x1cd3('0x3e5')](_0x1cd3('0x3e9'),_0x3d5a80);function _0x3d5a80(_0x283232,_0x14ba9a,_0x4b8c28){return{'restrict':'E','compile':function(_0x3b93de,_0x3ed029){var _0x21e405;if(!_0x3ed029[_0x1cd3('0x3ea')]){_0x21e405=_0x3b93de['html']();_0x3b93de[_0x1cd3('0x3eb')]();}return function(_0x5a39dd,_0x5e1a49,_0x350792){if(_0x350792[_0x1cd3('0x3ea')]){_0x21e405=_0x5a39dd[_0x1cd3('0x3ec')](_0x350792[_0x1cd3('0x3ea')]);}var _0x5ebcec=_0x5a39dd['$eval'](_0x350792[_0x1cd3('0x3ed')]);_0x14ba9a[_0x1cd3('0x3ee')](_0x21e405)[_0x1cd3('0x77')](function(_0x9b1214){if(_0x9b1214){if(_0x5ebcec){_0x9b1214=_0x4b8c28(_0x9b1214)(_0x5a39dd);}var _0x55f6f6=angular[_0x1cd3('0x37f')]('<pre><code\x20class=\x22highlight\x22\x20ng-non-bindable></code></pre>');_0x5e1a49['append'](_0x55f6f6);_0x283232(function(){_0x539494(_0x9b1214,_0x55f6f6);},0x22,![]);}});function _0x539494(_0x2d0a79,_0x4773ad){var _0x35aec9=_0x4773ad['find'](_0x1cd3('0x3ea'));var _0x5f3592=_0x2d0a79[_0x1cd3('0x3ef')]('\x0a');_0x5f3592=_0x5f3592[_0x1cd3('0x395')](function(_0x50927b){return _0x50927b['trim']()['length'];});var _0x202d4c=_0x5f3592[0x0][_0x1cd3('0x3f0')](/^\s*/)[0x0];var _0x21607a=new RegExp('^'+_0x202d4c);_0x5f3592=_0x5f3592['map'](function(_0x536706){return _0x536706['replace'](_0x21607a,'')[_0x1cd3('0x3f1')](/\s+$/,'');});var _0x1fa497=hljs[_0x1cd3('0x3f2')](_0x350792[_0x1cd3('0x3f3')]||_0x350792[_0x1cd3('0x3f4')],_0x5f3592[_0x1cd3('0x3de')]('\x0a'),!![]);_0x1fa497[_0x1cd3('0x3db')]=_0x1fa497[_0x1cd3('0x3db')][_0x1cd3('0x3f1')](/=<span class="hljs-value">""<\/span>/gi,'')[_0x1cd3('0x3f1')](_0x1cd3('0x3f5'),'')[_0x1cd3('0x3f1')](_0x1cd3('0x3f6'),'');_0x35aec9['append'](_0x1fa497[_0x1cd3('0x3db')])[_0x1cd3('0x3c0')](_0x1cd3('0x3f2'));}};}};}}());(function(){'use strict';_0x4ffd7e[_0x1cd3('0xc')]=[_0x1cd3('0x3f7'),'$q',_0x1cd3('0x370'),'toasty'];angular[_0x1cd3('0x0')]('app.core')[_0x1cd3('0x3e5')](_0x1cd3('0x3f8'),_0x2b81dd);function _0x2b81dd(){return{'restrict':'E','scope':{'options':'=','clearFilter':'&'},'controller':_0x4ffd7e,'controllerAs':'vm','bindToController':!![],'templateUrl':'app/core/directives/ms-advanced-search/ms-advanced-search.html'};}function _0x4ffd7e(_0x4c786c,_0x421329,_0x5daec3,_0x5a109c){var _0x52c719=this;_0x52c719[_0x1cd3('0x3f9')]=_0x52c719['availableOperators']=[{'type':'$eq','symbol':'=','translate':'EQUALS','excludeFrom':[_0x1cd3('0x3fa')]},{'type':_0x1cd3('0x3fb'),'symbol':'≠','translate':'IS_NOT_EQUAL','excludeFrom':[_0x1cd3('0x3fa')]},{'type':'$in','symbol':'∈','translate':_0x1cd3('0x3fc'),'applyTo':['multiselect']},{'type':'$notIn','symbol':'∉','translate':'IS_NOT_AMONG','applyTo':[_0x1cd3('0x3fa')]},{'type':_0x1cd3('0x3fd'),'symbol':'⊃','translate':_0x1cd3('0x3fe'),'applyTo':['text']},{'type':_0x1cd3('0x3ff'),'symbol':'a..','translate':_0x1cd3('0x400'),'applyTo':[_0x1cd3('0x401')]},{'type':_0x1cd3('0x402'),'symbol':_0x1cd3('0x403'),'translate':'ENDS_WITH','applyTo':['text']},{'type':_0x1cd3('0x404'),'symbol':'<','translate':_0x1cd3('0x405'),'applyTo':[_0x1cd3('0x406'),_0x1cd3('0x407')]},{'type':'$gt','symbol':'>','translate':'IS_GREATER_THAN','applyTo':['date','number']},{'type':_0x1cd3('0x408'),'symbol':'≤','translate':_0x1cd3('0x409'),'applyTo':[_0x1cd3('0x406'),'number']},{'type':_0x1cd3('0x40a'),'symbol':'≥','translate':'IS_GREATER_THAN_OR_EQUAL_TO','applyTo':[_0x1cd3('0x406'),'number']},{'type':_0x1cd3('0x40b'),'symbol':'≬','translate':_0x1cd3('0x40c'),'applyTo':['date',_0x1cd3('0x407')]}];_0x52c719[_0x1cd3('0x40d')]=_0x58c303;_0x52c719[_0x1cd3('0x40e')]=_0x48c8b7;_0x52c719['updateCondition']=_0x425ebe;_0x52c719[_0x1cd3('0x40f')]=_0x29d0f0;_0x52c719[_0x1cd3('0x410')]=_0x499722;_0x52c719[_0x1cd3('0x411')]=_0xca3ba9;_0x52c719[_0x1cd3('0x412')]=_0x50d3b9;_0x52c719[_0x1cd3('0x413')]=_0x527382;_0x52c719[_0x1cd3('0x414')]=_0x1c4a38;_0x52c719[_0x1cd3('0x415')]=_0x42d075;_0x52c719[_0x1cd3('0x416')]=_0x439a27;_0x52c719[_0x1cd3('0x417')]=_0x55bd29;function _0x527382(){_0x52c719['value']=undefined;_0x52c719[_0x1cd3('0x418')]=undefined;_0x52c719['searchText']=undefined;_0x52c719[_0x1cd3('0x419')]=![];_0x21fb1c();_0x52c719[_0x1cd3('0x41a')]=_0x52c719[_0x1cd3('0x41b')][_0x1cd3('0x7a')]===0x1?!![]:![];if(!_0x52c719['autoSelectOperator'])_0x52c719[_0x1cd3('0x41c')]=undefined;}function _0x1c4a38(_0x4fa37c){_0x52c719[_0x1cd3('0x41d')]=!![];if(_0x52c719[_0x1cd3('0x41c')]){if(_0x4fa37c){if(_0x4fa37c[_0x1cd3('0x41e')]){if(_[_0x1cd3('0x41f')](_0x52c719[_0x1cd3('0x41c')][_0x1cd3('0x41e')],_0x4fa37c['applyTo'])['length']>0x0){_0x52c719[_0x1cd3('0x3db')]=null;}}else{if(_0x52c719[_0x1cd3('0x41c')][_0x1cd3('0x41e')]){_0x52c719[_0x1cd3('0x3db')]=null;}}}else{_0x52c719[_0x1cd3('0x3db')]=null;}if(_0x52c719[_0x1cd3('0x41c')]['type']!=_0x1cd3('0x420')){_0x52c719[_0x1cd3('0x418')]=null;}if(_0x52c719[_0x1cd3('0x421')][_0x1cd3('0x422')]&&!_[_0x1cd3('0x398')](_0x52c719[_0x1cd3('0x421')][_0x1cd3('0x422')][_0x1cd3('0x423')])){_0x52c719[_0x1cd3('0x41c')]['isExtra']=_[_0x1cd3('0x38d')](_0x52c719['selectedField'][_0x1cd3('0x422')]['extraOperators'],function(_0x6b8664){return _0x6b8664===_0x52c719[_0x1cd3('0x41c')][_0x1cd3('0x424')];});}}_0x53a002();}function _0x42d075(){if(_0x52c719[_0x1cd3('0x41c')]&&_0x52c719['selectedOperator']['type']===_0x1cd3('0x40b')){if(_0x52c719[_0x1cd3('0x421')]['type']===_0x1cd3('0x407')){_0x439a27();}else if(_0x52c719[_0x1cd3('0x421')][_0x1cd3('0x424')]===_0x1cd3('0x406')){_0x52c719['minDateRange']=moment(_0x52c719[_0x1cd3('0x3db')])[_0x1cd3('0x425')](0x1,_0x1cd3('0x138'));_0x53a002();}}else{_0x53a002();}}function _0x21fb1c(){var _0x2d6209=_0x52c719[_0x1cd3('0x421')][_0x1cd3('0x422')]&&!_['isEmpty'](_0x52c719[_0x1cd3('0x421')]['options'][_0x1cd3('0x423')]);var _0x5e5411=_0x52c719[_0x1cd3('0x421')][_0x1cd3('0x422')]&&!_[_0x1cd3('0x398')](_0x52c719[_0x1cd3('0x421')][_0x1cd3('0x422')]['excludedOperators']);_0x52c719[_0x1cd3('0x41b')]=_[_0x1cd3('0x395')](_0x52c719[_0x1cd3('0x3f9')],function(_0x3809f5){var _0x52ea1d=!_0x3809f5['applyTo']||_[_0x1cd3('0x38f')](_0x3809f5[_0x1cd3('0x41e')],_0x52c719[_0x1cd3('0x421')]['type']);_0x3809f5[_0x1cd3('0x426')]=_0x2d6209&&_[_0x1cd3('0x38d')](_0x52c719['selectedField'][_0x1cd3('0x422')][_0x1cd3('0x423')],function(_0x329d17){return _0x329d17===_0x3809f5[_0x1cd3('0x424')];});var _0x193219=_['includes'](_0x3809f5[_0x1cd3('0x427')],_0x52c719[_0x1cd3('0x421')][_0x1cd3('0x424')])||_0x5e5411&&_['includes'](_0x52c719[_0x1cd3('0x421')][_0x1cd3('0x422')][_0x1cd3('0x428')],_0x3809f5['type']);if((_0x52ea1d||_0x3809f5[_0x1cd3('0x426')])&&!_0x193219){return _0x3809f5;}});}function _0x50d3b9(){var _0x3ba778=angular[_0x1cd3('0x429')](_0x52c719[_0x1cd3('0x421')][_0x1cd3('0x422')][_0x1cd3('0x42a')]);if(_0x52c719['selectedField']['type']===_0x1cd3('0x42b')){for(var _0x3b9f07=0x0;_0x3b9f07<Object[_0x1cd3('0x80')](_0x3ba778[_0x1cd3('0x36a')])['length'];_0x3b9f07++){var _0x548979=Object[_0x1cd3('0x80')](_0x3ba778[_0x1cd3('0x36a')])[_0x3b9f07];if(_0x3ba778[_0x1cd3('0x36a')][_0x548979]===_0x1cd3('0x42c'))_0x3ba778[_0x1cd3('0x36a')][_0x548979]=_0x52c719['searchText'];}}if(!_0x52c719['selectedField'][_0x1cd3('0x42d')]){return _0x5daec3[_0x3ba778[_0x1cd3('0x42e')]][_0x3ba778['action']](_0x3ba778['params'])[_0x1cd3('0x81')]['then'](function(_0x2fc853){if(_0x52c719[_0x1cd3('0x421')]['type']===_0x1cd3('0x42b')){var _0x3f3247=_0x52c719[_0x1cd3('0x42f')]?_[_0x1cd3('0x395')](_0x2fc853[_0x1cd3('0xf6')],function(_0x2eb271){_0x2eb271['displayValue']='';for(var _0x384ed9=0x0;_0x384ed9<_0x52c719[_0x1cd3('0x421')][_0x1cd3('0x422')][_0x1cd3('0x430')][_0x1cd3('0x7a')];_0x384ed9++){var _0x25110d=_0x52c719[_0x1cd3('0x421')][_0x1cd3('0x422')]['searchFields'][_0x384ed9];var _0x10ffe6=_0x2eb271[_0x25110d]||'';_0x2eb271['displayValue']+=_0x10ffe6+'\x20';}_[_0x1cd3('0x431')](_0x2eb271[_0x1cd3('0x432')]);return _[_0x1cd3('0x38f')](_0x2eb271[_0x1cd3('0x432')][_0x1cd3('0x433')](),_0x52c719[_0x1cd3('0x42f')]['toLowerCase']());}):[];return _0x421329['when'](_0x3f3247);}else{return _0x52c719[_0x1cd3('0x421')]['values']=_0x2fc853[_0x1cd3('0xf6')];}})[_0x1cd3('0xfd')](function(_0x340f5f){_0x5a109c[_0x1cd3('0x434')]({'title':_0x340f5f[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x340f5f[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x340f5f['statusText']:_0x3ba778[_0x1cd3('0x42e')][_0x1cd3('0x437')]()+'.'+_0x3ba778['action']['toUpperCase'](),'msg':_0x340f5f['data']?JSON[_0x1cd3('0x438')](_0x340f5f[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x340f5f[_0x1cd3('0x43b')]()});});}else{_0x52c719[_0x1cd3('0x421')][_0x1cd3('0x42d')]['forEach'](function(_0x388b73){if(_0x388b73[_0x1cd3('0x43c')]){_0x388b73[_0x1cd3('0x98')]=_0x4c786c['instant'](_0x388b73['translate']);}});}}function _0x53a002(){if(!_0x52c719[_0x1cd3('0x3db')]||_[_0x1cd3('0x43d')](_0x52c719[_0x1cd3('0x3db')])&&_['isEmpty'](_0x52c719[_0x1cd3('0x3db')])){_0x52c719[_0x1cd3('0x419')]=![];}else{if(_0x52c719[_0x1cd3('0x41c')]&&_0x52c719[_0x1cd3('0x41c')][_0x1cd3('0x424')]==='$between'){_0x52c719[_0x1cd3('0x419')]=_0x52c719[_0x1cd3('0x418')]&&_0x52c719[_0x1cd3('0x41d')]?!![]:![];}else{_0x52c719['isValidCondition']=!![];}}}function _0x439a27(){if(_0x52c719[_0x1cd3('0x421')]['type']===_0x1cd3('0x407')){if(_['isNumber'](_0x52c719[_0x1cd3('0x418')])){_0x52c719['isValidRange']=Number(_0x52c719[_0x1cd3('0x418')])>Number(_0x52c719['value'])?!![]:![];}else{_0x52c719[_0x1cd3('0x41d')]=!![];}}else if(_0x52c719[_0x1cd3('0x421')][_0x1cd3('0x424')]===_0x1cd3('0x406')){_0x52c719[_0x1cd3('0x43e')]=moment(_0x52c719[_0x1cd3('0x418')])['subtract'](0x1,_0x1cd3('0x138'));_0x52c719[_0x1cd3('0x41d')]=!![];}_0x53a002();}function _0x58c303(){var _0x2224a3=_0x217ea6();_0x52c719['options'][_0x1cd3('0x3df')][_0x1cd3('0x7b')](_0x2224a3);_0x10c127();}function _0x48c8b7(_0x17fb5e){_0x52c719[_0x1cd3('0x43f')]=_0x17fb5e;_0x52c719[_0x1cd3('0x43f')][_0x1cd3('0x440')]=_0x1cd3('0x441');_0x52c719[_0x1cd3('0x421')]=_[_0x1cd3('0x442')](_0x52c719[_0x1cd3('0x422')]['fields'],[_0x1cd3('0x98'),_0x52c719[_0x1cd3('0x43f')][_0x1cd3('0x98')]]);_0x21fb1c();_0x52c719[_0x1cd3('0x41c')]=_['find'](_0x52c719['availableOperators'],['type',_0x52c719[_0x1cd3('0x43f')][_0x1cd3('0x3d4')]['operator']]);if(_0x52c719[_0x1cd3('0x421')]['type']==='date'&&typeof _0x52c719[_0x1cd3('0x43f')][_0x1cd3('0x3db')]==='string'){_0x52c719[_0x1cd3('0x3db')]=new Date(_0x52c719[_0x1cd3('0x43f')]['value']);_0x52c719[_0x1cd3('0x443')]=moment(_0x52c719[_0x1cd3('0x3db')])['add'](0x1,'day');_0x52c719['endRangeValue']=_0x52c719['pendingCondition'][_0x1cd3('0x444')]?new Date(_0x52c719[_0x1cd3('0x43f')][_0x1cd3('0x444')]):undefined;}else{_0x52c719[_0x1cd3('0x3db')]=_0x52c719[_0x1cd3('0x43f')][_0x1cd3('0x3db')];_0x52c719['endRangeValue']=_0x52c719['pendingCondition'][_0x1cd3('0x444')];}_0x52c719['isValidRange']=!![];_0x52c719[_0x1cd3('0x419')]=!![];}function _0x425ebe(){var _0x220e30=_0x217ea6();var _0x5006f5=_[_0x1cd3('0x445')](_0x52c719[_0x1cd3('0x422')][_0x1cd3('0x3df')],'style');_0x52c719[_0x1cd3('0x422')][_0x1cd3('0x3df')][_0x1cd3('0x446')](_0x5006f5,0x1,_0x220e30);_0x10c127();_0x52c719[_0x1cd3('0x43f')][_0x1cd3('0x440')]=null;_0x52c719[_0x1cd3('0x43f')]=undefined;}function _0x29d0f0(){_0x52c719['pendingCondition'][_0x1cd3('0x440')]=null;_0x52c719[_0x1cd3('0x43f')]=undefined;}function _0x499722(_0x26dc2d){_0x26dc2d['style']=_0x26dc2d[_0x1cd3('0x447')]?undefined:_0x1cd3('0x448');_0x26dc2d['disabled']=!_0x26dc2d[_0x1cd3('0x447')];}function _0xca3ba9(){if(_['isEmpty'](_0x52c719[_0x1cd3('0x422')][_0x1cd3('0x3df')]))_0x52c719[_0x1cd3('0x449')]();}function _0x55bd29(){_0x52c719[_0x1cd3('0x43f')]?_0x425ebe():_0x58c303();}function _0x217ea6(){return{'name':_0x52c719['selectedField'][_0x1cd3('0x98')],'operator':_0x4c786c[_0x1cd3('0x44a')](_0x1cd3('0x44b')+_0x52c719[_0x1cd3('0x41c')]['translate']),'value':_0x52c719[_0x1cd3('0x3db')],'endValue':_0x52c719['endRangeValue'],'displayValue':_0x2b1821(_0x52c719[_0x1cd3('0x3db')]),'displayEndValue':_0x2b1821(_0x52c719['endRangeValue']),'query':{'column':_0x52c719[_0x1cd3('0x421')][_0x1cd3('0x3d5')],'operator':_0x52c719['selectedOperator'][_0x1cd3('0x424')],'value':_0x1e709f()},'disabled':![]};}function _0x2b1821(_0x2f4454){var _0x53ee0a;if(!_0x2f4454)return undefined;switch(_0x52c719['selectedField']['type']){case'date':_0x53ee0a=moment(_0x2f4454)[_0x1cd3('0x130')](_0x1cd3('0x44c'));break;case _0x1cd3('0x3fa'):var _0x4f4684=_[_0x1cd3('0x3d9')](_0x2f4454,function(_0x5441f8){return _0x5441f8['name'];});_0x53ee0a=_0x52c719[_0x1cd3('0x41c')]['type']===_0x1cd3('0x44d')?_0x4f4684['join']('\x20or\x20'):_0x4f4684[_0x1cd3('0x3de')](_0x1cd3('0x44e'));break;case _0x1cd3('0x44f'):_0x53ee0a=_0x2f4454[_0x1cd3('0x98')];break;case _0x1cd3('0x42b'):_0x53ee0a=_0x52c719['selectedOperator'][_0x1cd3('0x426')]?_0x2f4454:_0x2f4454[_0x1cd3('0x432')];break;default:_0x53ee0a=_0x2f4454;break;}return _0x53ee0a;}function _0x1e709f(){var _0x4af2da=_0x52c719[_0x1cd3('0x3db')];var _0x133646=_0x52c719[_0x1cd3('0x418')];var _0x48c5dd;switch(_0x52c719[_0x1cd3('0x421')]['type']){case'date':var _0x3f457e=moment(_0x4af2da)[_0x1cd3('0x12f')](0x0,!![])[_0x1cd3('0x130')](_0x1cd3('0x44c'));if(_0x52c719['selectedOperator'][_0x1cd3('0x424')]==='$between'){var _0x3826bb=moment(_0x133646)[_0x1cd3('0x12f')](0x0,!![])['format'](_0x1cd3('0x44c'));_0x48c5dd=[_0x3f457e,_0x3826bb];}else{_0x48c5dd=_0x3f457e;}break;case _0x1cd3('0x407'):_0x48c5dd=_0x52c719[_0x1cd3('0x41c')][_0x1cd3('0x424')]===_0x1cd3('0x40b')?[_0x4af2da,_0x133646]:_0x4af2da;break;case _0x1cd3('0x3fa'):var _0x3ed053=_0x52c719[_0x1cd3('0x421')]['options'][_0x1cd3('0x450')]||'id';_0x48c5dd=_[_0x1cd3('0x3d9')](_0x4af2da,_0x3ed053);break;case'select':_0x48c5dd=_0x4af2da['id'];break;case _0x1cd3('0x42b'):_0x48c5dd=_0x52c719[_0x1cd3('0x41c')][_0x1cd3('0x426')]?_0x4af2da:_0x4af2da['id'];break;default:_0x48c5dd=_0x4af2da;break;}return _0x48c5dd;}function _0x10c127(){_0x52c719[_0x1cd3('0x3db')]=null;_0x52c719['endRangeValue']=null;_0x52c719[_0x1cd3('0x443')]=null;_0x52c719[_0x1cd3('0x43e')]=null;_0x52c719[_0x1cd3('0x419')]=![];}}}());(function(){'use strict';angular[_0x1cd3('0x0')]('app.core')[_0x1cd3('0x3e5')](_0x1cd3('0x451'),_0x3b36d8);function _0x3b36d8(){return{'restrict':'E','scope':{'templatePath':_0x1cd3('0x452'),'card':_0x1cd3('0x453'),'vm':_0x1cd3('0x454')},'template':_0x1cd3('0x455'),'compile':function(_0x9a0e0f){_0x9a0e0f[_0x1cd3('0x3c0')](_0x1cd3('0x456'));return function postLink(_0x3ee3b2,_0x1f39fb){_0x3ee3b2[_0x1cd3('0x457')]=_0x5e1613;function _0x5e1613(){_0x3ee3b2[_0x1cd3('0x458')](_0x1cd3('0x459'),_0x1f39fb);}};}};}}());(function(){'use strict';angular[_0x1cd3('0x0')]('app.core')[_0x1cd3('0x3e5')](_0x1cd3('0x45a'),_0x2dfbc7);function _0x2dfbc7(){return{'restrict':'A','link':function(_0x372b4c,_0x1643ad,_0x523667){_0x523667[_0x1cd3('0x45b')](_0x1cd3('0x45a'),function(_0xc86e9b){var _0x59c5e4=_0x1643ad[_0x1cd3('0x36c')]()[_0x1cd3('0x36c')]();if(!_0x59c5e4['hasClass'](_0x1cd3('0x45c'))){_0x59c5e4['addClass']('md-background-bg\x20md-hue-3');}if(!_[_0x1cd3('0x398')](_0xc86e9b)){_0x59c5e4[_0x1cd3('0x3c0')](_0xc86e9b);}else{var _0x3bf7fb=_0x59c5e4[0x0][_0x1cd3('0x45d')][_0x1cd3('0x3ef')]('\x20');var _0xf377cd=_0x3bf7fb[_0x1cd3('0x45e')](_0x1cd3('0x45f'));_0x3bf7fb['length']=_0xf377cd+0x1;_0x59c5e4[0x0][_0x1cd3('0x45d')]=_0x3bf7fb[_0x1cd3('0x3de')]('\x20');}});}};}}());(function(){'use strict';angular['module'](_0x1cd3('0x27'))[_0x1cd3('0x3e5')]('msClickToCall',_0x252d59);function _0x252d59(){return{'restrict':'E','scope':{'type':'=','disabled':'=','target':'=','prefix':'=','license':'='},'controller':[_0x1cd3('0x460'),_0x1cd3('0x39e'),'$http','$translate',_0x1cd3('0x372'),'$mdDialog',_0x1cd3('0x56'),_0x1cd3('0x461'),_0x1cd3('0x370'),function(_0x1a5700,_0x1d1be0,_0x159846,_0x4c9d4c,_0x51b1ce,_0x19a2d5,_0x42e6de,_0x195661,_0x25e2ff){_0x1a5700[_0x1cd3('0x3ca')]=_0x42e6de[_0x1cd3('0x5d')]();_0x1a5700[_0x1cd3('0x462')]=function(){return _0x1a5700[_0x1cd3('0x365')]&&_0x1a5700['target'][_0x1cd3('0x45e')]('@')<0x0&&(_0x1a5700[_0x1cd3('0x365')]!=_0x1a5700[_0x1cd3('0x3ca')]['internal']&&_0x1a5700[_0x1cd3('0x365')]!=_0x1a5700[_0x1cd3('0x3ca')]['name'])&&(_0x1a5700[_0x1cd3('0x3ca')][_0x1cd3('0x381')]==0x0&&_0x1a5700['currentUser']['phoneBarRemoteControl']||_0x1a5700[_0x1cd3('0x3ca')]['showWebBar']==0x2&&_0x1a5700[_0x1cd3('0x463')][_0x1cd3('0x464')])&&!_0x1a5700[_0x1cd3('0x447')];};function _0x4f21f8(_0x3cb35b){return _0x25e2ff[_0x1cd3('0x368')][_0x1cd3('0x465')]({'id':_0x1a5700['currentUser']['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x35775d){if(_0x35775d[_0x1cd3('0x466')]){return _0x19a2d5[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x467'),'controllerAs':'vm','templateUrl':'assets/ms-phonebar/prefix/dialog.html','parent':angular[_0x1cd3('0x37f')](_0x51b1ce['body']),'clickOutsideToClose':!![],'locals':{'prefixes':_0x35775d,'required':_0x1a5700[_0x1cd3('0x3ca')][_0x1cd3('0x468')]}});}})[_0x1cd3('0x77')](function(_0x4a7ce0){if(!_0x1a5700['currentUser']['phoneBarPrefixRequired']){if(_0x4a7ce0&&_0x4a7ce0!==-0x1){_0x3ded4a(_0x4a7ce0+_0x3cb35b);}else if(!_0x4a7ce0){_0x3ded4a(_0x3cb35b);}}else{if(_0x4a7ce0&&_0x4a7ce0!==-0x1){_0x3ded4a(_0x4a7ce0+_0x3cb35b);}}});}function _0x3ded4a(_0x3f5402){switch(_0x1a5700['currentUser'][_0x1cd3('0x381')]){case 0x0:return _0x33cdc0('http://127.0.0.1:'+(_0x1a5700[_0x1cd3('0x3ca')][_0x1cd3('0x469')]||_0x1cd3('0x46a'))+_0x1cd3('0x46b')+_0x5798a9(_0x3f5402));case 0x2:return _0x1d1be0[_0x1cd3('0x46c')]('webrtc::call',{'target':_0x5798a9(_0x3f5402)});break;default:}}_0x1a5700[_0x1cd3('0x46d')]=function(_0x2b451e){if(_0x1a5700[_0x1cd3('0x3ca')][_0x1cd3('0x381')]!==0x2){return _0x4f21f8(_0x2b451e);}else{return _0x3ded4a(_0x2b451e);}};_0x1a5700[_0x1cd3('0x46e')]=function(_0x683727){switch(_0x1a5700[_0x1cd3('0x3ca')][_0x1cd3('0x381')]){case 0x0:return _0x33cdc0(_0x1cd3('0x46f')+(_0x1a5700['currentUser']['phoneBarRemoteControlPort']||_0x1cd3('0x46a'))+_0x1cd3('0x470')+_0x5798a9(_0x683727));case 0x2:_0x1d1be0['$broadcast'](_0x1cd3('0x471'),{'target':_0x5798a9(_0x683727)});break;default:}};function _0x5798a9(_0x1f8b79){return!_[_0x1cd3('0x472')](_0x1f8b79)?_0x1f8b79[_0x1cd3('0x3f1')](/[^\w.+#*\-]+/g,''):'';}function _0x33cdc0(_0x3f11e7){return _0x159846[_0x1cd3('0x361')](_0x3f11e7)[_0x1cd3('0x473')](function(){_0x195661[_0x1cd3('0x473')]({'title':'Successful\x20call','msg':_0x1cd3('0x474')});})['error'](function(_0x4c7e79){_0x195661[_0x1cd3('0x434')]({'title':_0x1cd3('0x475'),'msg':_0x4c9d4c['instant'](_0x1cd3('0x476'))});});}}],'templateUrl':_0x1cd3('0x477')};}}());(function(){'use strict';_0xb250c9[_0x1cd3('0xc')]=[_0x1cd3('0x478')];angular[_0x1cd3('0x0')](_0x1cd3('0x27'))['provider']('msDatepickerFixConfig',_0x5cd70f)[_0x1cd3('0x3e5')](_0x1cd3('0x479'),_0xb250c9);function _0x5cd70f(){var _0x4b5482=this;var _0x52cef0={'formatter':function(_0x3e36da){if(!_0x3e36da){return'';}return _0x3e36da===''?_0x3e36da:new Date(_0x3e36da);},'parser':function(_0x5b5b46){if(!_0x5b5b46){return'';}return moment(_0x5b5b46)[_0x1cd3('0x425')](moment(_0x5b5b46)[_0x1cd3('0x12f')](),'m')[_0x1cd3('0x47a')]();}};_0x4b5482['config']=_0x6ee7d7;function _0x6ee7d7(_0x2d1118){_0x52cef0=angular['extend']({},_0x52cef0,_0x2d1118);}_0x4b5482[_0x1cd3('0x3b5')]=function(){return _0x52cef0;};}function _0xb250c9(_0xed5a78){return{'require':_0x1cd3('0x47b'),'priority':0x1,'link':function(_0x5a6503,_0x3b54b9,_0x36335c,_0x4f31bb){_0x4f31bb[_0x1cd3('0x47c')][_0x1cd3('0x7b')](_0xed5a78[_0x1cd3('0x47d')]);_0x4f31bb[_0x1cd3('0x47e')][_0x1cd3('0x7b')](_0xed5a78[_0x1cd3('0x47f')]);}};}}());(function(){'use strict';_0x28ef98[_0x1cd3('0xc')]=['api'];function _0x28ef98(_0x42a6f2){return{'restrict':'E','scope':{'id':'=','model':'=','element':'=','title':'=','path':'='},'replace':!![],'link':function(_0x1474d6,_0x39fb59){var _0x207f75=![];var _0x2d22a6={};_0x2d22a6['id']=_0x1474d6['id'];if(!_[_0x1cd3('0x472')](_0x1474d6[_0x1cd3('0x480')])){_0x2d22a6[_0x1cd3('0x480')]=_0x1474d6[_0x1cd3('0x480')];}var _0x424169=document['createElement'](_0x1474d6[_0x1cd3('0x37f')]);_0x424169[_0x1cd3('0x481')](_0x1cd3('0x482'),'none');_0x424169[_0x1cd3('0x481')](_0x1cd3('0x483'),_0x1cd3('0x2e0'));if(_0x1474d6[_0x1cd3('0x37f')]===_0x1cd3('0x484')){_0x424169[_0x1cd3('0x481')](_0x1cd3('0x440'),_0x1cd3('0x485'));}if(_0x1474d6[_0x1cd3('0x37f')]===_0x1cd3('0x2e3')){_0x424169[_0x1cd3('0x481')](_0x1cd3('0x440'),'max-width:\x20500px;');}_0x424169[_0x1cd3('0x481')](_0x1cd3('0x486'),_0x1474d6[_0x1cd3('0x486')]);_0x424169[_0x1cd3('0x481')](_0x1cd3('0x487'),'\x20');_0x424169[_0x1cd3('0x488')]=function(_0x5dfb15){if(!_0x207f75){_0x207f75=!![];_0x5dfb15['preventDefault']();_0x42a6f2[_0x1474d6[_0x1cd3('0x42e')]][_0x1cd3('0x489')](_0x2d22a6)[_0x1cd3('0x81')]['then'](function(_0x6d483e){var _0x2a421c=[_0x6d483e['buffer']];var _0x40c402=new Blob(_0x2a421c,{'type':_0x6d483e['type']});_0x424169['setAttribute']('type',_0x6d483e[_0x1cd3('0x424')]);_0x424169[_0x1cd3('0x481')](_0x1cd3('0x487'),URL[_0x1cd3('0x48a')](_0x40c402));_0x424169[_0x1cd3('0x48b')]();})[_0x1cd3('0xfd')](function(_0x2e0b38){console['error'](_0x2e0b38);});}};_0x39fb59[_0x1cd3('0x48c')](_0x424169);}};}angular[_0x1cd3('0x0')](_0x1cd3('0x27'))[_0x1cd3('0x3e5')](_0x1cd3('0x48d'),_0x28ef98);}());(function(){'use strict';angular[_0x1cd3('0x0')](_0x1cd3('0x27'))[_0x1cd3('0x3e5')]('msDualMultiselect',_0x4fd4ee);function _0x4fd4ee(){return{'restrict':'E','scope':{'options':'='},'controller':[_0x1cd3('0x460'),function(_0x186060){_0x186060[_0x1cd3('0x48e')]=function(_0x329b9d,_0x2fd136,_0x53c367){if(_0x2fd136[_0x1cd3('0x48f')]){return;}else{if(typeof _0x329b9d[_0x1cd3('0x490')]!==_0x1cd3('0x491')&&_0x329b9d['isValid']){if(_0x53c367){return _0x186060[_0x1cd3('0x46e')](_0x2fd136[_0x1cd3('0x492')],_0x2fd136['items'],_0x2fd136[_0x1cd3('0x492')]['indexOf'](_0x329b9d),_0x53c367);}else{return _0x186060[_0x1cd3('0x46e')](_0x2fd136[_0x1cd3('0x493')],_0x2fd136['selectedItems'],_0x2fd136['items'][_0x1cd3('0x45e')](_0x329b9d),_0x53c367);}}}};_0x186060[_0x1cd3('0x46e')]=function(_0x544aa9,_0x1f9764,_0x4899b3,_0x44ee5e){var _0x5f0d85=[];if(_0x4899b3>=0x0){_0x5f0d85[_0x1cd3('0x7b')](_0x544aa9[_0x4899b3]);_0x1f9764[_0x1cd3('0x7b')](_0x544aa9[_0x4899b3]);_0x544aa9['splice'](_0x4899b3,0x1);}else{for(var _0x1f88d9=0x0;_0x1f88d9<_0x544aa9[_0x1cd3('0x7a')];_0x1f88d9++){if(typeof _0x544aa9[_0x1f88d9][_0x1cd3('0x490')]!==_0x1cd3('0x491')&&_0x544aa9[_0x1f88d9][_0x1cd3('0x490')]){_0x1f9764[_0x1cd3('0x7b')](_0x544aa9[_0x1f88d9]);}}for(var _0x1f88d9=_0x544aa9[_0x1cd3('0x7a')]-0x1;_0x1f88d9>=0x0;_0x1f88d9--){if(_0x544aa9[_0x1f88d9]['isValid']){_0x544aa9[_0x1cd3('0x446')](_0x1f88d9,0x1);}}_0x5f0d85=_0x1f9764;}if(_0x186060['options'][_0x1cd3('0x494')]){_0x186060[_0x1cd3('0x422')][_0x1cd3('0x494')](_0x5f0d85,_0x44ee5e);}};_0x186060['getLine']=function(_0x314311,_0x157744){var _0x324cd4='';if(_[_0x1cd3('0x472')](_0x157744)){return _0x324cd4;}if(_['isArray'](_0x157744)){for(var _0xb5851b=0x0;_0xb5851b<_0x157744[_0x1cd3('0x7a')];_0xb5851b++){_0x324cd4+='\x20'+(_0x314311[_0x157744[_0xb5851b]]?_0x314311[_0x157744[_0xb5851b]]:'');}return _0x324cd4;}else{return _0x314311[_0x157744]?_0x314311[_0x157744]:'';}};}],'templateUrl':'app/core/directives/ms-dual-multiselect/ms-dual-multiselect.html'};}}());(function(){'use strict';_0xe9b172[_0x1cd3('0xc')]=[_0x1cd3('0x3f7')];angular['module'](_0x1cd3('0x27'))[_0x1cd3('0x3e5')](_0x1cd3('0x495'),_0xe9b172);function _0xe9b172(_0x4e38f0){return{'restrict':'E','replace':!![],'scope':{'onReply':'&','ngModel':'=','ctrlMethods':'=','pickerPosition':'=','search':'=','recentEmojis':'=','placeholder':'='},'template':_0x1cd3('0x496'),'link':function(_0x12c0df,_0x56e1a0){var _0x3976d6=_0x56e1a0[_0x1cd3('0x497')]({'pickerPosition':_0x12c0df[_0x1cd3('0x498')],'search':_0x12c0df[_0x1cd3('0x3e4')],'recentEmojis':_0x12c0df['recentEmojis'],'placeholder':_0x4e38f0[_0x1cd3('0x44a')](_0x12c0df[_0x1cd3('0x499')]||_0x1cd3('0x49a')),'attributes':{'spellcheck':!![]},'events':{'keypress':function(_0x4344c6,_0xfbfaec){_0x12c0df['ngModel']=this[_0x1cd3('0x49b')]();_0x12c0df[_0x1cd3('0x49c')]({'event':_0xfbfaec,'body':this['getText']()});},'emojibtn_click':function(){_0x12c0df[_0x1cd3('0x47b')]=this['getText']();}}});if(_0x12c0df[_0x1cd3('0x47b')]){_0x3976d6[0x0][_0x1cd3('0x497')][_0x1cd3('0x49d')](_0x12c0df['ngModel']);}_0x12c0df[_0x1cd3('0x49e')]=_0x12c0df[_0x1cd3('0x49f')]||{};_0x12c0df[_0x1cd3('0x49e')][_0x1cd3('0x49d')]=function(_0x5c280e){_0x3976d6[0x0][_0x1cd3('0x497')][_0x1cd3('0x49d')](_0x5c280e);};_0x12c0df[_0x1cd3('0x49e')][_0x1cd3('0x49b')]=function(){return _0x3976d6[0x0][_0x1cd3('0x497')][_0x1cd3('0x49b')]();};_0x12c0df['$watch'](_0x1cd3('0x47b'),function(_0xb4110){if(!_0xb4110){_0x3976d6[0x0][_0x1cd3('0x497')][_0x1cd3('0x49d')]('');}});}};}}());(function(){'use strict';angular[_0x1cd3('0x0')](_0x1cd3('0x27'))['directive'](_0x1cd3('0x4a0'),_0x58bdc6);function _0x58bdc6(){return{'restrict':'E','scope':{'ngModel':'='},'controller':[_0x1cd3('0x460'),function(_0x3d3358){_0x3d3358[_0x1cd3('0x4a1')]=[{'option':_0x1cd3('0x4a2'),'value':_0x1cd3('0x4a3')},{'option':'Century\x20Gothic','value':_0x1cd3('0x4a4')},{'option':'Calibri','value':_0x1cd3('0x4a5')},{'option':_0x1cd3('0x4a6'),'value':_0x1cd3('0x4a7')},{'option':_0x1cd3('0x4a8'),'value':_0x1cd3('0x4a9')},{'option':_0x1cd3('0x4aa'),'value':'Georgia,serif'},{'option':'Lucida\x20Sans\x20Unicode','value':_0x1cd3('0x4ab')},{'option':_0x1cd3('0x4ac'),'value':_0x1cd3('0x4ad')},{'option':_0x1cd3('0x4ae'),'value':_0x1cd3('0x4af')},{'option':_0x1cd3('0x4b0'),'value':_0x1cd3('0x4b1')},{'option':'Verdana','value':_0x1cd3('0x4b2')}];}],'templateUrl':_0x1cd3('0x4b3')};}}());(function(){'use strict';angular[_0x1cd3('0x0')](_0x1cd3('0x27'))['controller']('MsFormWizardController',_0x56f509)[_0x1cd3('0x3e5')]('msFormWizard',_0x24b0cf)[_0x1cd3('0x3e5')]('msFormWizardForm',_0x5a3ff7);function _0x56f509(){var _0x23d4c6=this;_0x23d4c6[_0x1cd3('0x4b4')]=[];_0x23d4c6['selectedIndex']=0x0;_0x23d4c6[_0x1cd3('0x4b5')]=_0x27cb1a;_0x23d4c6[_0x1cd3('0x4b6')]=_0x5c2944;_0x23d4c6['nextStep']=_0xaf6da7;_0x23d4c6[_0x1cd3('0x4b7')]=_0x6eb63f;_0x23d4c6[_0x1cd3('0x4b8')]=_0x5b9f0d;_0x23d4c6[_0x1cd3('0x4b9')]=_0x11a90c;_0x23d4c6[_0x1cd3('0x4ba')]=_0x3df840;_0x23d4c6['isLastStep']=_0x5c8459;_0x23d4c6[_0x1cd3('0x4bb')]=_0x491c0d;_0x23d4c6[_0x1cd3('0x4bc')]=_0x13c29d;_0x23d4c6[_0x1cd3('0x4bd')]=_0x3e73c4;_0x23d4c6['resetForm']=_0x181207;function _0x27cb1a(_0xa8ba97){_0x23d4c6[_0x1cd3('0x4b4')][_0x1cd3('0x7b')](_0xa8ba97);}function _0x5c2944(){if(_0x3df840()){return;}_0x23d4c6[_0x1cd3('0x4be')]--;}function _0xaf6da7(){if(_0x5c8459()){return;}_0x23d4c6[_0x1cd3('0x4be')]++;}function _0x6eb63f(){_0x23d4c6['selectedIndex']=0x0;}function _0x5b9f0d(){_0x23d4c6['selectedIndex']=_0x11a90c()-0x1;}function _0x11a90c(){return _0x23d4c6[_0x1cd3('0x4b4')][_0x1cd3('0x7a')];}function _0x3df840(){return _0x23d4c6['selectedIndex']===0x0;}function _0x5c8459(){return _0x23d4c6[_0x1cd3('0x4be')]===_0x11a90c()-0x1;}function _0x491c0d(){return angular[_0x1cd3('0x4bf')](_0x23d4c6[_0x1cd3('0x4b4')][_0x23d4c6['selectedIndex']])&&_0x23d4c6[_0x1cd3('0x4b4')][_0x23d4c6[_0x1cd3('0x4be')]][_0x1cd3('0x4c0')];}function _0x13c29d(){return _0x23d4c6[_0x1cd3('0x4be')]>0x0&&angular[_0x1cd3('0x4bf')](_0x23d4c6[_0x1cd3('0x4b4')][_0x23d4c6[_0x1cd3('0x4be')]-0x1])&&_0x23d4c6[_0x1cd3('0x4b4')][_0x23d4c6[_0x1cd3('0x4be')]-0x1][_0x1cd3('0x4c0')];}function _0x3e73c4(){for(var _0x18b334=0x0;_0x18b334<_0x23d4c6['forms'][_0x1cd3('0x7a')];_0x18b334++){if(_0x23d4c6['forms'][_0x18b334]['$invalid']){return!![];}}return![];}function _0x181207(){_0x23d4c6[_0x1cd3('0x4be')]=0x0;for(var _0x4252e4=0x0;_0x4252e4<_0x23d4c6['forms'][_0x1cd3('0x7a')];_0x4252e4++){_0x23d4c6[_0x1cd3('0x4b4')][_0x4252e4][_0x1cd3('0x4c1')]();_0x23d4c6[_0x1cd3('0x4b4')][_0x4252e4][_0x1cd3('0x4c2')]();}}}function _0x24b0cf(){return{'restrict':'E','scope':!![],'controller':'MsFormWizardController\x20as\x20msWizard','compile':function(_0x3f3364){_0x3f3364[_0x1cd3('0x3c0')](_0x1cd3('0x4c3'));return function postLink(){};}};}function _0x5a3ff7(){return{'restrict':'A','require':[_0x1cd3('0x4c4'),_0x1cd3('0x4c5')],'compile':function(_0x4f8fa2){_0x4f8fa2[_0x1cd3('0x3c0')]('ms-form-wizard-form');return function postLink(_0x13ce58,_0x19506c,_0x1f07d4,_0x3bba74){var _0xb7e352=_0x3bba74[0x0],_0x138c05=_0x3bba74[0x1];_0x138c05[_0x1cd3('0x4b5')](_0xb7e352);};}};}}());(function(){'use strict';_0x52b140[_0x1cd3('0xc')]=[_0x1cd3('0x372')];angular[_0x1cd3('0x0')]('app.core')['directive'](_0x1cd3('0x4c6'),_0x52b140);function _0x52b140(_0x4370f5){return{'restrict':'E','scope':{'onClose':'&'},'transclude':!![],'templateUrl':_0x1cd3('0x4c7'),'link':function(_0x1b0ccf,_0x571c69){var _0x502761=_0x4370f5[_0x1cd3('0x442')](_0x1cd3('0x4c8')),_0x2ab9da=_0x1cd3('0x4c8');_0x502761[_0x1cd3('0x3c0')](_0x2ab9da);function _0x11596b(){_0x502761[_0x1cd3('0x4c9')](_0x2ab9da);_0x571c69[_0x1cd3('0x383')]();if(_0x1b0ccf['onClose']){_0x1b0ccf[_0x1cd3('0x4ca')]();}_0x1b0ccf['$destroy']();}_0x1b0ccf[_0x1cd3('0x4cb')]=_0x11596b;}};}}());(function(){'use strict';_0x3db21e[_0x1cd3('0xc')]=[_0x1cd3('0x460'),'$window','$mdMedia',_0x1cd3('0x3e7')];_0x124acd[_0x1cd3('0xc')]=[_0x1cd3('0x3e7')];angular[_0x1cd3('0x0')]('app.core')[_0x1cd3('0x39b')](_0x1cd3('0x4cc'),_0x3db21e)[_0x1cd3('0x3e5')](_0x1cd3('0x4cd'),_0x124acd)[_0x1cd3('0x3e5')]('msMasonryItem',_0x575ae0);function _0x3db21e(_0x5ea60a,_0x4f6037,_0x4fbf78,_0x4a9a78){var _0x5c6ff4=this,_0x1eebd4={'columnCount':0x5,'respectItemOrder':![],'reLayoutDebounce':0x190,'responsive':{'md':0x3,'sm':0x2,'xs':0x1}},_0x13f2dc=!![];_0x5c6ff4['options']=null;_0x5c6ff4[_0x1cd3('0x4ce')]=[];_0x5c6ff4['containerPos']='';_0x5c6ff4[_0x1cd3('0x4cf')]='';_0x5c6ff4[_0x1cd3('0x493')]=[];_0x5c6ff4[_0x1cd3('0x4d0')]=_0x4a7e0d;_0x5c6ff4['initialize']=_0x78d651;_0x5c6ff4[_0x1cd3('0x4d1')]=_0x57bb21;function _0x78d651(){_0x5c6ff4[_0x1cd3('0x422')]=!_0x5c6ff4[_0x1cd3('0x422')]?_0x1eebd4:angular[_0x1cd3('0x4d2')](_0x1eebd4,_0x5c6ff4[_0x1cd3('0x422')]);_0x579bcb();}_0x5ea60a[_0x1cd3('0x4d3')](_0x1cd3('0x4d4'),function(){_0x4a7e0d();});function _0x57bb21(_0x35644e,_0xf3e462){if(typeof imagesLoaded!==_0x1cd3('0x491')){var _0x3ce7a5=_0x4f6037['imagesLoaded'](_0x35644e);_0x3ce7a5['on'](_0x1cd3('0x4d5'),function(){_0xf3e462();});}else{_0xf3e462();}}function _0x579bcb(){_0x5ea60a[_0x1cd3('0x4d6')](function(){return _0x5c6ff4[_0x1cd3('0x4ce')][_0x1cd3('0x4d7')]();},function(_0x4a02ef,_0xbf4213){if(_0x4a02ef!==_0xbf4213){_0x4a7e0d();}});}function _0x4a7e0d(){if(_0x13f2dc){_0x4a9a78[_0x1cd3('0x4d8')](_0x13f2dc);}_0x13f2dc=_0x4a9a78(function(){_0x10ad0e();_0x5ea60a['$broadcast'](_0x1cd3('0x4d9'));},_0x5c6ff4[_0x1cd3('0x422')][_0x1cd3('0x4da')]);function _0x10ad0e(){_0x5c6ff4[_0x1cd3('0x4db')]=_0x5c6ff4[_0x1cd3('0x4ce')][0x0][_0x1cd3('0x4dc')]();_0x4e446c();_0x5ea60a[_0x1cd3('0x46c')](_0x1cd3('0x4dd'));_0x5c6ff4[_0x1cd3('0x493')]=_0x5c6ff4['container'][_0x1cd3('0x442')](_0x1cd3('0x4de'));var _0x43ada1=Array[_0x1cd3('0x4df')](null,new Array(_0x5c6ff4['columnCount']))[_0x1cd3('0x3d9')](function(){return 0x0;});for(var _0x4b2f1e=0x0;_0x4b2f1e<_0x5c6ff4[_0x1cd3('0x493')]['length'];_0x4b2f1e++){var _0x3e94a9=_0x5c6ff4[_0x1cd3('0x493')][_0x4b2f1e],_0x50fe93,_0x3f2cc1,_0x24a932,_0x104c7f;_0x3e94a9=angular['element'](_0x3e94a9);if(_0x3e94a9[_0x1cd3('0x4e0')]()){_0x3e94a9[_0x1cd3('0x4e0')]()[_0x1cd3('0x46c')]('msMasonryItem:startReLayout');}_0x3e94a9[_0x1cd3('0x4e1')]({'width':_0x5c6ff4[_0x1cd3('0x4cf')]});if(_0x5c6ff4[_0x1cd3('0x422')][_0x1cd3('0x4e2')]){_0x24a932=_0x4b2f1e%_0x5c6ff4['columnCount'];_0x104c7f=_0x43ada1[_0x24a932];}else{_0x104c7f=Math[_0x1cd3('0x4e3')]['apply'](Math,_0x43ada1);_0x24a932=_0x43ada1['indexOf'](_0x104c7f);}_0x43ada1[_0x24a932]=_0x104c7f+_0x3e94a9[0x0]['getBoundingClientRect']()[_0x1cd3('0x4e4')];_0x50fe93=Math['round'](_0x24a932*_0x5c6ff4[_0x1cd3('0x4cf')]);_0x3f2cc1=_0x104c7f;_0x3e94a9['css']({'transform':_0x1cd3('0x4e5')+_0x50fe93+_0x1cd3('0x4e6')+_0x3f2cc1+_0x1cd3('0x4e7')});_0x3e94a9[_0x1cd3('0x3c0')]('placed');if(_0x3e94a9['scope']()){_0x3e94a9[_0x1cd3('0x4e0')]()[_0x1cd3('0x46c')](_0x1cd3('0x4e8'));}}}}function _0x4e446c(){_0x5c6ff4[_0x1cd3('0x4e9')]=_0x5c6ff4[_0x1cd3('0x422')][_0x1cd3('0x4e9')];if(_0x4fbf78(_0x1cd3('0x4ea'))){_0x5c6ff4[_0x1cd3('0x4e9')]=_0x5c6ff4[_0x1cd3('0x422')][_0x1cd3('0x4e9')];}else if(_0x4fbf78('md')){_0x5c6ff4['columnCount']=_0x5c6ff4[_0x1cd3('0x4e9')]>_0x5c6ff4[_0x1cd3('0x422')]['responsive']['md']?_0x5c6ff4[_0x1cd3('0x422')]['responsive']['md']:_0x5c6ff4[_0x1cd3('0x4e9')];}else if(_0x4fbf78('sm')){_0x5c6ff4[_0x1cd3('0x4e9')]=_0x5c6ff4['columnCount']>_0x5c6ff4['options'][_0x1cd3('0x4eb')]['sm']?_0x5c6ff4[_0x1cd3('0x422')]['responsive']['sm']:_0x5c6ff4[_0x1cd3('0x4e9')];}else{_0x5c6ff4[_0x1cd3('0x4e9')]=_0x5c6ff4['options'][_0x1cd3('0x4eb')]['xs'];}_0x5c6ff4[_0x1cd3('0x4cf')]=_0x5c6ff4['containerPos'][_0x1cd3('0x4d7')]/_0x5c6ff4['columnCount'];}}function _0x124acd(_0x3899a8){return{'restrict':'AEC','controller':_0x1cd3('0x4cc'),'compile':_0x25c6fc};function _0x25c6fc(_0x3547d4,_0x1448c1){return{'pre':function preLink(_0x598c5d,_0x1db2e0,_0x41f257,_0x195ef3){_0x195ef3[_0x1cd3('0x422')]=angular[_0x1cd3('0x4ec')](_0x1448c1[_0x1cd3('0x422')]||'{}');_0x195ef3['container']=_0x3547d4;},'post':function postLink(_0x452137,_0x234f37,_0xb320e6,_0x3f9e7a){_0x3899a8(function(){_0x3f9e7a['initialize']();});}};}}function _0x575ae0(){return{'restrict':_0x1cd3('0x4ed'),'require':_0x1cd3('0x4ee'),'priority':0x1,'link':_0x55c9de};function _0x55c9de(_0x51515c,_0x417588,_0x379ed9,_0x5da7fb){_0x5da7fb[_0x1cd3('0x4d1')](_0x417588,function(){_0x5da7fb['reLayout']();});_0x51515c[_0x1cd3('0x4d3')](_0x1cd3('0x4e8'),function(){_0x51515c[_0x1cd3('0x4d6')](function(){return _0x417588[_0x1cd3('0x4e4')]();},function(_0x588e3a,_0x7d646b){if(_0x588e3a!==_0x7d646b){_0x5da7fb['reLayout']();}});});_0x417588['on']('$destroy',function(){_0x5da7fb[_0x1cd3('0x4d0')]();});}}}());(function(){'use strict';_0x524d5c[_0x1cd3('0xc')]=['$scope',_0x1cd3('0x4ef'),_0x1cd3('0x4f0'),'motionGenerator'];angular[_0x1cd3('0x0')](_0x1cd3('0x27'))[_0x1cd3('0x39b')](_0x1cd3('0x4f1'),_0x524d5c)[_0x1cd3('0x3e5')]('msMaterialColorPicker',_0x188248);function _0x524d5c(_0x48fba6,_0x1f1bba,_0x19e5eb,_0x40f557){var _0x382bcd=this;_0x382bcd[_0x1cd3('0x4f2')]=_0x1f1bba;_0x382bcd[_0x1cd3('0x4f3')]=![];_0x382bcd[_0x1cd3('0x4f4')]=![];_0x48fba6['$selectedColor']={};_0x382bcd[_0x1cd3('0x4f5')]=_0x14c467;_0x382bcd[_0x1cd3('0x4f6')]=_0x2b3c1a;_0x382bcd['removeColor']=_0x1290d7;_0x48fba6[_0x1cd3('0x4d6')](_0x1cd3('0x47b'),_0x130c96);function _0x14c467(_0x33ee67,_0x4f0b75){_0x382bcd[_0x1cd3('0x4f3')]=_0x33ee67;_0x382bcd['selectedHues']=_0x4f0b75;}function _0x2b3c1a(_0x14b25a,_0x2d75c4){_0x224c15(_0x14b25a,_0x2d75c4);_0x3948a4();_0x19e5eb['hide']();}function _0x1290d7(){_0x382bcd[_0x1cd3('0x4f7')]={'palette':'','hue':'','class':''};_0x14c467(![],![]);_0x3948a4();}function _0x130c96(){if(!_0x382bcd[_0x1cd3('0x4f8')][_0x1cd3('0x4f9')]||_0x382bcd['modelCtrl'][_0x1cd3('0x4f9')]===''){_0x1290d7();return;}var _0x40a70b,_0x4df9bf;if(_0x382bcd['msModelType']===_0x1cd3('0x4fa')){var _0x515093=_0x382bcd[_0x1cd3('0x4f8')][_0x1cd3('0x4f9')][_0x1cd3('0x3ef')]('-');if(_0x515093[_0x1cd3('0x7a')]>=0x5){_0x40a70b=_0x515093[0x1]+'-'+_0x515093[0x2];_0x4df9bf=_0x515093[0x3];}else{_0x40a70b=_0x515093[0x1];_0x4df9bf=_0x515093[0x2];}}else if(_0x382bcd[_0x1cd3('0x4fb')]==='obj'){_0x40a70b=_0x382bcd['modelCtrl'][_0x1cd3('0x4f9')]['palette'];_0x4df9bf=_0x382bcd[_0x1cd3('0x4f8')][_0x1cd3('0x4f9')][_0x1cd3('0x4fc')]||0x1f4;}_0x224c15(_0x40a70b,_0x4df9bf);}function _0x224c15(_0x379fc3,_0x46810d){_0x382bcd['selectedColor']={'palette':_0x379fc3,'hue':_0x46810d,'class':_0x1cd3('0x4fd')+_0x379fc3+'-'+_0x46810d+_0x1cd3('0x4fe'),'bgColorValue':_0x40f557[_0x1cd3('0x4ff')](_0x382bcd[_0x1cd3('0x4f2')][_0x379fc3][_0x46810d][_0x1cd3('0x3db')]),'fgColorValue':_0x40f557[_0x1cd3('0x4ff')](_0x382bcd[_0x1cd3('0x4f2')][_0x379fc3][_0x46810d][_0x1cd3('0x500')])};if(_0x382bcd[_0x1cd3('0x4fb')]==='obj'&&!angular[_0x1cd3('0x501')](_0x382bcd[_0x1cd3('0x4f7')],_0x382bcd[_0x1cd3('0x4f8')][_0x1cd3('0x4f9')])){_0x3948a4();}_0x14c467(_0x379fc3,_0x382bcd['palettes'][_0x379fc3]);_0x48fba6[_0x1cd3('0x502')]=_0x382bcd[_0x1cd3('0x4f7')];}function _0x3948a4(){if(_0x382bcd[_0x1cd3('0x4fb')]===_0x1cd3('0x4fa')){_0x382bcd[_0x1cd3('0x4f8')][_0x1cd3('0x503')](_0x382bcd['selectedColor']['class']);}else if(_0x382bcd['msModelType']===_0x1cd3('0x504')){_0x382bcd[_0x1cd3('0x4f8')]['$setViewValue'](_0x382bcd[_0x1cd3('0x4f7')]);}}}function _0x188248(){return{'require':[_0x1cd3('0x505'),'ngModel'],'restrict':'E','scope':{'ngModel':'=','msModelType':'@?'},'controller':'msMaterialColorPickerController\x20as\x20vm','transclude':!![],'templateUrl':'app/core/directives/ms-material-color-picker/ms-material-color-picker.html','link':function(_0x45d743,_0x1e1eb7,_0x2ef226,_0x39790e,_0x168bf0){var _0x17b8df=_0x39790e[0x0];_0x17b8df[_0x1cd3('0x4f8')]=_0x39790e[0x1];_0x17b8df[_0x1cd3('0x4fb')]=_0x45d743[_0x1cd3('0x4fb')]||_0x1cd3('0x4fa');_0x168bf0(_0x45d743,function(_0x34e4fd){_0x34e4fd=_0x34e4fd['filter'](function(_0x2ab24d,_0x442ec0){return _0x442ec0['nodeType']===0x1?!![]:![];});if(_0x34e4fd[_0x1cd3('0x7a')]){_0x1e1eb7[_0x1cd3('0x442')]('ms-color-picker-button')[_0x1cd3('0x506')](_0x34e4fd);}});}};}}());(function(){'use strict';_0x112443[_0x1cd3('0xc')]=[_0x1cd3('0x372'),_0x1cd3('0x39e'),_0x1cd3('0x507')];_0x3da0fb['$inject']=[_0x1cd3('0x39e'),'$mdComponentRegistry',_0x1cd3('0x507')];_0x13c3de[_0x1cd3('0xc')]=[_0x1cd3('0x39e'),'$q',_0x1cd3('0x508'),'$state'];angular[_0x1cd3('0x0')](_0x1cd3('0x27'))[_0x1cd3('0x373')](_0x1cd3('0x507'),_0x3c60ae)[_0x1cd3('0x3e5')](_0x1cd3('0x509'),_0x112443)[_0x1cd3('0x39b')](_0x1cd3('0x50a'),_0x1267c2)['directive'](_0x1cd3('0x50b'),_0x3da0fb)[_0x1cd3('0x3e5')]('msNavTitle',_0x1d95dd)[_0x1cd3('0x3e5')]('msNavButton',_0x225316)['directive'](_0x1cd3('0x50c'),_0x13c3de);function _0x3c60ae(){var _0x3ccfc2={};var _0x5cfd9d={'setFoldable':_0x1c9837,'isNavFoldedOpen':_0x1e3fd3,'toggleFold':_0x413657,'openFolded':_0x4faffc,'closeFolded':_0x1939d2};return _0x5cfd9d;function _0x1c9837(_0x5c89a3,_0x51653a){_0x3ccfc2={'scope':_0x5c89a3,'element':_0x51653a};}function _0x1e3fd3(){return _0x3ccfc2[_0x1cd3('0x4e0')][_0x1cd3('0x50d')]();}function _0x413657(){_0x3ccfc2[_0x1cd3('0x4e0')][_0x1cd3('0x50e')]();}function _0x4faffc(){_0x3ccfc2[_0x1cd3('0x4e0')][_0x1cd3('0x50f')]();}function _0x1939d2(){_0x3ccfc2[_0x1cd3('0x4e0')][_0x1cd3('0x510')]();}}function _0x112443(_0x18451e,_0xd6fd43,_0x5c17bc){return{'restrict':'A','link':function(_0x22c43c,_0x4d447b,_0x83525f){var _0x1a9210=_0x83525f[_0x1cd3('0x509')]==='true',_0x8226dc=![],_0x3cad80=angular[_0x1cd3('0x37f')](_0x18451e[0x0][_0x1cd3('0x380')]),_0xbdbdb9=angular[_0x1cd3('0x37f')](_0x1cd3('0x511')),_0x24def0=angular[_0x1cd3('0x37f')](_0x1cd3('0x512')),_0xaeb9a6=_0x4d447b[_0x1cd3('0x36c')]();_0x5c17bc['setFoldable'](_0x22c43c,_0x4d447b,_0x1a9210);if(_0x1a9210){_0xe1f7bc();}else{_0x45cfa0();}function _0x3e4b24(){return _0x8226dc;}function _0x2205a4(){_0x1a9210=!_0x1a9210;if(_0x1a9210){_0xe1f7bc();}else{_0x45cfa0();}}function _0xe1f7bc(){_0x3cad80[_0x1cd3('0x3c0')](_0x1cd3('0x513'));_0xd6fd43[_0x1cd3('0x46c')](_0x1cd3('0x514'));_0x4d447b[_0x1cd3('0x515')](0x0);_0xaeb9a6[_0x1cd3('0x48c')](_0xbdbdb9);_0xbdbdb9['on'](_0x1cd3('0x516'),function(_0x57ae49){_0x3489eb(_0x57ae49);_0x8226dc=!![];});}function _0x3489eb(_0x571664){if(angular['isDefined'](_0x571664)){_0x571664[_0x1cd3('0x517')]();}_0x3cad80['addClass'](_0x1cd3('0x518'));_0xd6fd43[_0x1cd3('0x46c')](_0x1cd3('0x519'));_0xaeb9a6[_0x1cd3('0x442')](_0xbdbdb9)[_0x1cd3('0x383')]();_0xaeb9a6[_0x1cd3('0x36c')]()[_0x1cd3('0x48c')](_0x24def0);_0x24def0['on']('mouseenter\x20touchstart',function(_0x1c08f0){_0x569eff(_0x1c08f0);_0x8226dc=![];});}function _0x569eff(_0xcd4124){if(angular['isDefined'](_0xcd4124)){_0xcd4124[_0x1cd3('0x517')]();}_0xd6fd43[_0x1cd3('0x46c')]('msNav::forceCollapse');_0x4d447b['scrollTop'](0x0);_0x3cad80['removeClass'](_0x1cd3('0x518'));_0xaeb9a6['parent']()[_0x1cd3('0x442')](_0x24def0)[_0x1cd3('0x383')]();_0xaeb9a6[_0x1cd3('0x48c')](_0xbdbdb9);_0xbdbdb9['on']('mouseenter\x20touchstart',function(_0x4b3f5d){_0x3489eb(_0x4b3f5d);_0x8226dc=!![];});}function _0x45cfa0(){_0x3cad80[_0x1cd3('0x4c9')](_0x1cd3('0x51a'));_0xd6fd43[_0x1cd3('0x46c')]('msNav::expandMatchingToggles');_0x4d447b['off'](_0x1cd3('0x51b'));}_0x22c43c[_0x1cd3('0x50e')]=_0x2205a4;_0x22c43c[_0x1cd3('0x50f')]=_0x3489eb;_0x22c43c['closeFolded']=_0x569eff;_0x22c43c[_0x1cd3('0x50d')]=_0x3e4b24;_0x22c43c['$on']('$destroy',function(){_0xbdbdb9[_0x1cd3('0x51c')](_0x1cd3('0x516'));_0x24def0[_0x1cd3('0x51c')](_0x1cd3('0x516'));_0x4d447b[_0x1cd3('0x51c')](_0x1cd3('0x51b'));});}};}function _0x1267c2(){var _0xe39d99=this,_0x3574f7=![],_0x519a75=[],_0x30d21a=[];_0xe39d99[_0x1cd3('0x51d')]=_0x2ac24a;_0xe39d99[_0x1cd3('0x51e')]=_0x68fbe1;_0xe39d99['disable']=_0x3b8990;_0xe39d99['setToggleItem']=_0x26a64a;_0xe39d99[_0x1cd3('0x51f')]=_0x188b7e;_0xe39d99[_0x1cd3('0x520')]=_0x489ca3;_0xe39d99[_0x1cd3('0x521')]=_0x37f70e;function _0x2ac24a(){return _0x3574f7;}function _0x3b8990(){_0x3574f7=!![];}function _0x68fbe1(){_0x3574f7=![];}function _0x26a64a(_0x576662,_0x38dfce){_0x519a75['push']({'element':_0x576662,'scope':_0x38dfce});}function _0x188b7e(){return _0x30d21a;}function _0x489ca3(_0x2b4884,_0x2eb63a){_0x30d21a[_0x1cd3('0x7b')]({'element':_0x2b4884,'scope':_0x2eb63a});}function _0x37f70e(){_0x30d21a=[];}}function _0x3da0fb(_0x3437a6,_0x54a124,_0x59d0a9){return{'restrict':'E','scope':{},'controller':'MsNavController','compile':function(_0x36540f){_0x36540f['addClass']('ms-nav');return function postLink(_0x4e12f4){_0x3437a6[_0x1cd3('0x46c')](_0x1cd3('0x519'));var _0xdb4211=_0x3437a6[_0x1cd3('0x4d3')]('$stateChangeSuccess',function(){_0x3437a6[_0x1cd3('0x46c')](_0x1cd3('0x519'));_0x54a124[_0x1cd3('0x3ee')](_0x1cd3('0x522'))[_0x1cd3('0x77')](function(_0x10fe73){_0x10fe73[_0x1cd3('0x3cf')]();if(_0x59d0a9[_0x1cd3('0x50d')]()){_0x59d0a9[_0x1cd3('0x510')]();}});});_0x4e12f4[_0x1cd3('0x4d3')](_0x1cd3('0x523'),function(){_0xdb4211();});};}};}function _0x1d95dd(){return{'restrict':'A','compile':function(_0x16571e){_0x16571e[_0x1cd3('0x3c0')]('ms-nav-title');return function postLink(){};}};}function _0x225316(){return{'restrict':'AE','compile':function(_0x4e8bdb){_0x4e8bdb[_0x1cd3('0x3c0')]('ms-nav-button');return function postLink(){};}};}function _0x13c3de(_0x2d3691,_0x1cafa9,_0x4215fb,_0x553b88){return{'restrict':'A','require':'^msNav','scope':!![],'compile':function(_0x38d4db,_0x130e43){_0x38d4db[_0x1cd3('0x3c0')](_0x1cd3('0x524'));if(angular['isUndefined'](_0x130e43[_0x1cd3('0x525')])){_0x130e43[_0x1cd3('0x525')]=!![];}_0x38d4db[_0x1cd3('0x3bd')](_0x1cd3('0x525'),_0x130e43[_0x1cd3('0x525')]);return function postLink(_0x896640,_0x5ab467,_0x574c97,_0x203978){var _0x3e6f94={'expanded':_0x1cd3('0x526'),'expandAnimation':_0x1cd3('0x527'),'collapseAnimation':'collapse-animation'};var _0x39eed5=_0x5ab467[_0x1cd3('0x442')]('a');var _0x2d8842=[];var _0xb6780e=/\(.*\)/g;angular[_0x1cd3('0x394')](_0x39eed5,function(_0x5c7a19){var _0x3f1cff=angular[_0x1cd3('0x37f')](_0x5c7a19)[_0x1cd3('0x3bd')](_0x1cd3('0x528'));if(angular[_0x1cd3('0x529')](_0x3f1cff)){return;}_0x3f1cff=_0x3f1cff[_0x1cd3('0x3f1')](_0xb6780e,'');_0x2d8842[_0x1cd3('0x7b')](_0x3f1cff);});_0x203978[_0x1cd3('0x52a')](_0x5ab467,_0x896640);_0x5ab467[_0x1cd3('0x52b')](_0x1cd3('0x52c'))['on'](_0x1cd3('0x52d'),_0x5e3bf4);function _0x5e3bf4(){if(_0x203978['isDisabled']()){return;}_0x203978['disable']();if(_0x556964()){_0x203978['clearLockedItems']();_0x896640[_0x1cd3('0x458')](_0x1cd3('0x52e'));_0x2d3691[_0x1cd3('0x46c')]('msNav::collapse');_0x2dbd6d()['then'](function(){_0x203978['enable']();});}else{_0x896640[_0x1cd3('0x46c')]('msNav::forceCollapse');}}_0x896640[_0x1cd3('0x4d3')]('$destroy',function(){_0x5ab467[_0x1cd3('0x52b')](_0x1cd3('0x52c'))['off'](_0x1cd3('0x52d'));});_0x896640['$on'](_0x1cd3('0x52f'),function(){var _0x5e1535=_0x203978['getLockedItems']();var _0x339f23=![];angular[_0x1cd3('0x394')](_0x5e1535,function(_0x1ffa44){if(angular['equals'](_0x1ffa44[_0x1cd3('0x4e0')],_0x896640)){_0x339f23=!![];}});if(_0x339f23){return;}_0x30372a()[_0x1cd3('0x77')](function(){_0x203978[_0x1cd3('0x51e')]();});});_0x896640['$on']('msNav::forceCollapse',function(){_0x30372a()[_0x1cd3('0x77')](function(){_0x203978[_0x1cd3('0x51e')]();});});_0x896640[_0x1cd3('0x4d3')](_0x1cd3('0x519'),function(){var _0x1d1a77=_0x553b88[_0x1cd3('0x530')][_0x1cd3('0x98')];var _0x3c80d6=![];angular[_0x1cd3('0x394')](_0x2d8842,function(_0x513e68){if(_0x1d1a77===_0x513e68){_0x3c80d6=!![];}});if(_0x3c80d6){_0x2dbd6d();}else{_0x30372a();}});_0x896640['$on'](_0x1cd3('0x52e'),function(){_0x203978['setLockedItem'](_0x5ab467,_0x896640);});function _0x556964(){return _0x5ab467[_0x1cd3('0x3bd')](_0x1cd3('0x525'))===_0x1cd3('0x2e0');}function _0x1e1a25(){return!_0x556964();}function _0x2dbd6d(){var _0x2c1d3c=_0x1cafa9['defer']();if(_0x1e1a25()){_0x2c1d3c[_0x1cd3('0x3a7')]({'error':!![]});return _0x2c1d3c['promise'];}_0x5ab467[_0x1cd3('0x3bd')]('collapsed',![]);var _0x8f105c=angular['element'](_0x5ab467[_0x1cd3('0x442')](_0x1cd3('0x531'))[0x0]);_0x8f105c[_0x1cd3('0x4e1')]({'position':_0x1cd3('0x532'),'visibility':_0x1cd3('0x533'),'display':'block','height':_0x1cd3('0x534')});var _0x557706=_0x8f105c[0x0][_0x1cd3('0x535')];_0x8f105c['css']({'position':'','visibility':'','display':'','height':''});_0x896640[_0x1cd3('0x536')](function(){_0x4215fb[_0x1cd3('0x537')](_0x8f105c,{'display':'block','height':_0x1cd3('0x538')},{'height':_0x557706+'px'},_0x3e6f94['expandAnimation'])[_0x1cd3('0x77')](function(){_0x8f105c[_0x1cd3('0x3c0')](_0x3e6f94['expanded']);_0x8f105c[_0x1cd3('0x4e1')]({'height':''});_0x2c1d3c['resolve']({'success':!![]});});});return _0x2c1d3c[_0x1cd3('0x539')];}function _0x30372a(){var _0x2b44e4=_0x1cafa9[_0x1cd3('0x53a')]();if(_0x556964()){_0x2b44e4['reject']({'error':!![]});return _0x2b44e4[_0x1cd3('0x539')];}_0x5ab467[_0x1cd3('0x3bd')]('collapsed',!![]);var _0x3f6ba1=angular[_0x1cd3('0x37f')](_0x5ab467[_0x1cd3('0x442')](_0x1cd3('0x531'))[0x0]);var _0x8fb1c2=_0x3f6ba1[0x0]['offsetHeight'];_0x896640[_0x1cd3('0x536')](function(){_0x4215fb[_0x1cd3('0x537')](_0x3f6ba1,{'height':_0x8fb1c2+'px'},{'height':_0x1cd3('0x538')},_0x3e6f94[_0x1cd3('0x53b')])[_0x1cd3('0x77')](function(){_0x3f6ba1[_0x1cd3('0x4c9')](_0x3e6f94[_0x1cd3('0x526')]);_0x3f6ba1[_0x1cd3('0x4e1')]({'display':'','height':''});_0x2b44e4[_0x1cd3('0x58')]({'success':!![]});});});return _0x2b44e4[_0x1cd3('0x539')];}};}};}}());(function(){'use strict';_0x48a9a5[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x53c')];_0xb9b3b8[_0x1cd3('0xc')]=['$rootScope',_0x1cd3('0x3e7'),'$mdSidenav','msNavigationService'];_0x545891[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x53d'),_0x1cd3('0x39e'),_0x1cd3('0x508'),_0x1cd3('0x53e'),'msNavigationService'];_0xc8d28d['$inject']=['msNavigationService'];_0x792909[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x53d'),_0x1cd3('0x39e'),'$state',_0x1cd3('0x53c')];_0x32f27e[_0x1cd3('0xc')]=['$mdMedia'];angular[_0x1cd3('0x0')](_0x1cd3('0x27'))[_0x1cd3('0x3b3')](_0x1cd3('0x53c'),_0x1204dc)[_0x1cd3('0x39b')]('MsNavigationController',_0x48a9a5)[_0x1cd3('0x3e5')](_0x1cd3('0x53f'),_0xb9b3b8)[_0x1cd3('0x39b')](_0x1cd3('0x540'),_0x545891)[_0x1cd3('0x3e5')](_0x1cd3('0x541'),_0x1d9ce6)[_0x1cd3('0x3e5')](_0x1cd3('0x542'),_0x1bc150)[_0x1cd3('0x3e5')](_0x1cd3('0x543'),_0xc8d28d)['controller'](_0x1cd3('0x544'),_0x792909)[_0x1cd3('0x3e5')]('msNavigationHorizontalNode',_0x1570c0)[_0x1cd3('0x3e5')](_0x1cd3('0x545'),_0x32f27e);function _0x1204dc(){var _0x510e0e=angular[_0x1cd3('0x360')](['ng'])[_0x1cd3('0x361')](_0x1cd3('0x546'));var _0x3efa20=[];var _0x4badef=this;_0x4badef[_0x1cd3('0x547')]=_0x36d457;_0x4badef[_0x1cd3('0x548')]=_0x5af7d7;_0x4badef[_0x1cd3('0x549')]=_0x39e676;function _0x36d457(_0x4ecda5,_0x545b64){if(!angular[_0x1cd3('0x54a')](_0x4ecda5)){_0x510e0e[_0x1cd3('0x434')]('path\x20must\x20be\x20a\x20string\x20(eg.\x20`dashboard.project`)');return;}var _0xee157f=_0x4ecda5[_0x1cd3('0x3ef')]('.');var _0x69f189=_0xee157f[_0xee157f['length']-0x1];var _0x230256=_0xbcf5dc(_0xee157f);var _0xe38bb=![];for(var _0x356fc1=0x0;_0x356fc1<_0x230256['length'];_0x356fc1++){if(_0x230256[_0x356fc1][_0x1cd3('0x54b')]===_0x69f189){_0xe38bb=_0x230256[_0x356fc1];break;}}if(_0xe38bb){angular[_0x1cd3('0x4d2')](_0xe38bb,_0x545b64);_0xe38bb['uisref']=_0x40c844(_0xe38bb);}else{_0x545b64[_0x1cd3('0x52b')]=[];if(angular[_0x1cd3('0x529')](_0x545b64[_0x1cd3('0x54c')])||!angular[_0x1cd3('0x54d')](_0x545b64[_0x1cd3('0x54c')])){_0x545b64[_0x1cd3('0x54c')]=0x1;}_0x545b64['_id']=_0x69f189;_0x545b64[_0x1cd3('0x54e')]=_0x4ecda5;_0x545b64[_0x1cd3('0x54f')]=_0x40c844(_0x545b64);_0x230256[_0x1cd3('0x7b')](_0x545b64);}}function _0x5af7d7(_0x5a4b1b){if(!angular[_0x1cd3('0x54a')](_0x5a4b1b)){_0x510e0e[_0x1cd3('0x434')]('path\x20must\x20be\x20a\x20string\x20(eg.\x20`dashboard.project`)');return;}var _0x251e67=_0x3efa20,_0x2f92e5=_0x5a4b1b[_0x1cd3('0x3ef')]('.');for(var _0x3303f2=0x0;_0x3303f2<_0x2f92e5['length'];_0x3303f2++){var _0x5d597b=_0x2f92e5[_0x3303f2];for(var _0x35b146=0x0;_0x35b146<_0x251e67['length'];_0x35b146++){if(_0x251e67[_0x35b146]['_id']===_0x5d597b){if(_0x251e67[_0x35b146][_0x1cd3('0x54e')]===_0x5a4b1b){_0x251e67['splice'](_0x35b146,0x1);return!![];}_0x251e67=_0x251e67[_0x35b146][_0x1cd3('0x52b')];break;}}}return![];}function _0x39e676(_0xc7b388){if(!_0xc7b388){_0xc7b388=_0x3efa20;_0xc7b388['sort'](_0x3bb6e9);}for(var _0x4b04e8=0x0;_0x4b04e8<_0xc7b388[_0x1cd3('0x7a')];_0x4b04e8++){var _0x10e0b8=_0xc7b388[_0x4b04e8][_0x1cd3('0x52b')];if(_0x10e0b8[_0x1cd3('0x7a')]>0x1){_0x10e0b8[_0x1cd3('0x550')](_0x3bb6e9);}if(_0x10e0b8[_0x1cd3('0x7a')]>0x0){_0x39e676(_0x10e0b8);}}}function _0xbcf5dc(_0x4c1e67){var _0x202e0c=_0x3efa20;if(_0x4c1e67['length']===0x1){return _0x202e0c;}_0x4c1e67['pop']();for(var _0x5e6752=0x0;_0x5e6752<_0x4c1e67[_0x1cd3('0x7a')];_0x5e6752++){var _0x3b2707=_0x4c1e67[_0x5e6752],_0x2e98fa=!![];for(var _0x15d27f=0x0;_0x15d27f<_0x202e0c[_0x1cd3('0x7a')];_0x15d27f++){if(_0x202e0c[_0x15d27f][_0x1cd3('0x54b')]===_0x3b2707){_0x202e0c=_0x202e0c[_0x15d27f]['children'];_0x2e98fa=![];break;}}if(_0x2e98fa){var _0x43cb77={'_id':_0x3b2707,'_path':_0x4c1e67['join']('.'),'title':_0x3b2707,'weight':0x1,'children':[]};_0x202e0c[_0x1cd3('0x7b')](_0x43cb77);_0x202e0c=_0x43cb77[_0x1cd3('0x52b')];}}return _0x202e0c;}function _0x3bb6e9(_0x505d2c,_0x645f28){return parseInt(_0x505d2c[_0x1cd3('0x54c')])-parseInt(_0x645f28['weight']);}function _0x40c844(_0x4ec4cb){var _0x4c1905='';if(angular['isDefined'](_0x4ec4cb[_0x1cd3('0x19')])){_0x4c1905=_0x4ec4cb[_0x1cd3('0x19')];if(angular[_0x1cd3('0x4bf')](_0x4ec4cb['stateParams'])&&angular[_0x1cd3('0x551')](_0x4ec4cb['stateParams'])){_0x4c1905=_0x4c1905+'('+angular[_0x1cd3('0x552')](_0x4ec4cb['stateParams'])+')';}}return _0x4c1905;}this['$get']=function(){var _0xf4fd88=null,_0x3d43fd=null,_0x434dfa=null,_0x45b76f=null;var _0x5df9ec={'saveItem':_0x36d457,'deleteItem':_0x5af7d7,'sort':_0x39e676,'clearNavigation':_0xabf1a6,'setActiveItem':_0x27b9aa,'getActiveItem':_0x345103,'getNavigation':_0x38e376,'getFlatNavigation':_0x4fd6fe,'setNavigationScope':_0x10c7e1,'setFolded':_0x108517,'getFolded':_0x54e9e3,'setFoldedOpen':_0x47b24f,'getFoldedOpen':_0x1fac6b,'toggleFolded':_0x22a81};return _0x5df9ec;function _0xabf1a6(){_0x3efa20=[];if(_0x3d43fd){_0x3d43fd['vm'][_0x1cd3('0x522')]=_0x3efa20;}}function _0x27b9aa(_0x3007c9,_0x19d547){_0xf4fd88={'node':_0x3007c9,'scope':_0x19d547};}function _0x345103(){return _0xf4fd88;}function _0x38e376(_0x529f52){if(_0x529f52){for(var _0x378185=0x0;_0x378185<_0x3efa20[_0x1cd3('0x7a')];_0x378185++){if(_0x3efa20[_0x378185][_0x1cd3('0x54b')]===_0x529f52){return[_0x3efa20[_0x378185]];}}return null;}return _0x3efa20;}function _0x4fd6fe(_0x1dc243){var _0x320f87=_0x38e376(_0x1dc243);return _0x51120b(_0x320f87);}function _0x10c7e1(_0x3b2e7a){_0x3d43fd=_0x3b2e7a;}function _0x108517(_0x9224ba){_0x434dfa=_0x9224ba;}function _0x54e9e3(){return _0x434dfa;}function _0x47b24f(_0x236901){_0x45b76f=_0x236901;}function _0x1fac6b(){return _0x45b76f;}function _0x22a81(){_0x3d43fd[_0x1cd3('0x553')]();}function _0x51120b(_0x5dac36){var _0xcd391=[];for(var _0x2314f8=0x0;_0x2314f8<_0x5dac36[_0x1cd3('0x7a')];_0x2314f8++){var _0xfdd927=angular[_0x1cd3('0x429')](_0x5dac36[_0x2314f8]);_0xfdd927[_0x1cd3('0x52b')]=[];_0xcd391['push'](_0xfdd927);if(_0x5dac36[_0x2314f8][_0x1cd3('0x52b')][_0x1cd3('0x7a')]>0x0){_0xcd391=_0xcd391[_0x1cd3('0x3ae')](_0x51120b(_0x5dac36[_0x2314f8][_0x1cd3('0x52b')]));}}return _0xcd391;}};}function _0x48a9a5(_0x2e3430,_0xddc85){var _0x487be1=this;if(_0x2e3430[_0x1cd3('0x554')]){_0x487be1[_0x1cd3('0x522')]=_0xddc85[_0x1cd3('0x555')](_0x2e3430['root']);}else{_0x487be1[_0x1cd3('0x522')]=_0xddc85['getNavigation']();}_0x487be1[_0x1cd3('0x556')]=_0x356965;_0x5759f2();function _0x5759f2(){_0xddc85['sort']();}function _0x356965(){angular[_0x1cd3('0x37f')](_0x1cd3('0x380'))[_0x1cd3('0x557')](_0x1cd3('0x558'));}}function _0xb9b3b8(_0x38938a,_0x516d28,_0x2eb7d7,_0x20f946){return{'restrict':'E','scope':{'folded':'=','root':'@'},'controller':'MsNavigationController\x20as\x20vm','templateUrl':'app/core/directives/ms-navigation/templates/vertical.html','transclude':!![],'compile':function(_0x4becd2){_0x4becd2['addClass']('ms-navigation');return function postLink(_0x176b3f,_0x1b1111){var _0x4f4c94=angular[_0x1cd3('0x37f')]('body'),_0x5f4ac3=angular['element'](_0x1cd3('0x559')),_0x2628bf=angular[_0x1cd3('0x37f')](_0x1cd3('0x55a')),_0x45f45d=_0x2eb7d7(_0x1cd3('0x522'));_0x20f946['setNavigationScope'](_0x176b3f);_0x2571d5();function _0x2571d5(){if(_0x20f946[_0x1cd3('0x55b')]()===null){_0x20f946['setFolded'](_0x176b3f['folded']);}if(_0x20f946['getFolded']()){_0x516d28(function(){_0x38938a[_0x1cd3('0x46c')](_0x1cd3('0x55c'));});_0x4f4c94['addClass'](_0x1cd3('0x55d'));_0x4ec996();}}_0x176b3f['$watch'](function(){return _0x45f45d[_0x1cd3('0x55e')]();},function(_0x2fc4ee,_0x443725){if(angular['isUndefined'](_0x2fc4ee)||angular['equals'](_0x2fc4ee,_0x443725)){return;}var _0x54acde=_0x20f946[_0x1cd3('0x55b')]();if(_0x54acde){if(_0x2fc4ee){_0x38938a[_0x1cd3('0x46c')](_0x1cd3('0x55c'));}else{var _0x1fac3d=_0x20f946[_0x1cd3('0x55f')]();if(_0x1fac3d){_0x1fac3d[_0x1cd3('0x4e0')][_0x1cd3('0x458')](_0x1cd3('0x560'));}}}});_0x176b3f[_0x1cd3('0x4d6')](_0x1cd3('0x561'),function(_0x2f9744,_0x11e92c){if(angular[_0x1cd3('0x529')](_0x2f9744)||angular['equals'](_0x2f9744,_0x11e92c)){return;}_0x1677f6(_0x2f9744);});function _0x1677f6(_0x278f0d){_0x20f946[_0x1cd3('0x562')](_0x278f0d);if(_0x278f0d){_0x38938a['$broadcast'](_0x1cd3('0x55c'));_0x4f4c94['addClass'](_0x1cd3('0x55d'));_0x4ec996();}else{var _0x52ba95=_0x20f946['getActiveItem']();if(_0x52ba95){_0x52ba95[_0x1cd3('0x4e0')][_0x1cd3('0x458')](_0x1cd3('0x560'));}_0x4f4c94[_0x1cd3('0x4c9')](_0x1cd3('0x563'));_0x1a4325();}}function _0x4ec996(){_0x1b1111[_0x1cd3('0x36c')]()[_0x1cd3('0x48c')](_0x5f4ac3);_0x516d28(function(){_0x5f4ac3['on'](_0x1cd3('0x516'),_0xa176d5);});}function _0x7e921e(){_0x4f4c94[_0x1cd3('0x442')](_0x1cd3('0x564'))[_0x1cd3('0x48c')](_0x2628bf);_0x2628bf['on'](_0x1cd3('0x516'),_0x537c42);}function _0x1a4325(){_0x2628bf[_0x1cd3('0x383')]();}function _0xa176d5(_0x14f01b){if(_0x14f01b){_0x14f01b[_0x1cd3('0x517')]();}_0x20f946['setFoldedOpen'](!![]);var _0x2d3384=_0x20f946['getActiveItem']();if(_0x2d3384){_0x2d3384[_0x1cd3('0x4e0')]['$emit'](_0x1cd3('0x560'));}_0x4f4c94[_0x1cd3('0x3c0')](_0x1cd3('0x565'));_0x5f4ac3[_0x1cd3('0x383')]();_0x7e921e();}function _0x537c42(_0x4cfead){if(_0x4cfead){_0x4cfead[_0x1cd3('0x517')]();}_0x20f946['setFoldedOpen'](![]);_0x38938a[_0x1cd3('0x46c')](_0x1cd3('0x55c'));_0x4f4c94[_0x1cd3('0x4c9')](_0x1cd3('0x565'));_0x2628bf[_0x1cd3('0x383')]();_0x4ec996();}_0x176b3f['toggleFolded']=function(){var _0x52d967=_0x20f946[_0x1cd3('0x55b')]();_0x1677f6(!_0x52d967);};_0x176b3f[_0x1cd3('0x4d3')](_0x1cd3('0x566'),function(){_0x45f45d[_0x1cd3('0x3cf')]();});_0x176b3f[_0x1cd3('0x4d3')](_0x1cd3('0x523'),function(){_0x2628bf[_0x1cd3('0x51c')](_0x1cd3('0x516'));_0x5f4ac3[_0x1cd3('0x51c')]('mouseenter\x20touchstart');});};}};}function _0x545891(_0x18b38b,_0x195755,_0x49db0a,_0x5d5a84,_0x1a1b4c,_0xc96c67){var _0x482c7f=this;_0x482c7f[_0x1cd3('0x37f')]=_0x195755;_0x482c7f['node']=_0x18b38b['node'];_0x482c7f[_0x1cd3('0x567')]=undefined;_0x482c7f[_0x1cd3('0x525')]=undefined;_0x482c7f[_0x1cd3('0x568')]=undefined;_0x482c7f['group']=undefined;_0x482c7f[_0x1cd3('0x569')]=_0x1cd3('0x56a');_0x482c7f['toggleCollapsed']=_0x4e5db5;_0x482c7f[_0x1cd3('0x56b')]=_0x14d253;_0x482c7f['expand']=_0x2390b4;_0x482c7f[_0x1cd3('0x56c')]=_0x184305;_0x482c7f['isHidden']=_0x1cfeea;_0x2f7088();function _0x2f7088(){_0x482c7f[_0x1cd3('0x567')]=_0x482c7f['node']['children'][_0x1cd3('0x7a')]>0x0;_0x482c7f[_0x1cd3('0x56d')]=!!(angular['isDefined'](_0x482c7f[_0x1cd3('0x56e')][_0x1cd3('0x56d')])&&_0x482c7f[_0x1cd3('0x56e')][_0x1cd3('0x56d')]===!![]);if(!_0x482c7f[_0x1cd3('0x567')]||_0x482c7f['group']){_0x482c7f[_0x1cd3('0x568')]=![];}else{_0x482c7f[_0x1cd3('0x568')]=!!(angular['isUndefined'](_0x482c7f[_0x1cd3('0x56e')][_0x1cd3('0x568')])||typeof _0x482c7f['node'][_0x1cd3('0x568')]!==_0x1cd3('0x56f')||_0x482c7f[_0x1cd3('0x56e')][_0x1cd3('0x568')]===!![]);}if(!_0x482c7f[_0x1cd3('0x568')]){_0x482c7f[_0x1cd3('0x525')]=![];}else{_0x482c7f[_0x1cd3('0x525')]=!!(angular['isUndefined'](_0x482c7f[_0x1cd3('0x56e')]['collapsed'])||typeof _0x482c7f[_0x1cd3('0x56e')][_0x1cd3('0x525')]!==_0x1cd3('0x56f')||_0x482c7f[_0x1cd3('0x56e')][_0x1cd3('0x525')]===!![]);}if(_0x482c7f[_0x1cd3('0x56e')][_0x1cd3('0x19')]===_0x1a1b4c[_0x1cd3('0x530')]['name']||_0x1a1b4c[_0x1cd3('0x38f')](_0x482c7f['node'][_0x1cd3('0x19')])){if(angular[_0x1cd3('0x4bf')](_0x482c7f[_0x1cd3('0x56e')]['stateParams'])&&angular[_0x1cd3('0x4bf')](_0x1a1b4c[_0x1cd3('0x36a')])&&!angular['equals'](_0x482c7f['node'][_0x1cd3('0x570')],_0x1a1b4c['params'])){return;}_0x18b38b[_0x1cd3('0x458')](_0x1cd3('0x560'));_0xc96c67[_0x1cd3('0x571')](_0x482c7f[_0x1cd3('0x56e')],_0x18b38b);}_0x18b38b['$on']('msNavigation::stateMatched',function(){if(_0x482c7f[_0x1cd3('0x568')]&&_0x482c7f['collapsed']){_0x18b38b[_0x1cd3('0x536')](function(){_0x482c7f[_0x1cd3('0x525')]=![];});}});_0x18b38b[_0x1cd3('0x4d3')](_0x1cd3('0x55c'),function(_0x3aa189,_0x4ee7b3){if(_0x482c7f[_0x1cd3('0x525')]||!_0x482c7f[_0x1cd3('0x568')]){return;}if(angular[_0x1cd3('0x529')](_0x4ee7b3)){_0x482c7f[_0x1cd3('0x56b')]();}else{var _0x2913df=_0x4ee7b3[_0x1cd3('0x3ef')]('.'),_0x4f998d=[];var _0x34d178=_0xc96c67[_0x1cd3('0x55f')]();if(_0x34d178){_0x4f998d=_0x34d178[_0x1cd3('0x56e')][_0x1cd3('0x54e')][_0x1cd3('0x3ef')]('.');}if(_0x2913df['indexOf'](_0x482c7f['node'][_0x1cd3('0x54b')])>-0x1){return;}if(_0x4f998d[_0x1cd3('0x45e')](_0x482c7f[_0x1cd3('0x56e')][_0x1cd3('0x54b')])>-0x1){return;}_0x482c7f[_0x1cd3('0x56b')]();}});_0x18b38b[_0x1cd3('0x4d3')]('$stateChangeSuccess',function(){if(_0x482c7f[_0x1cd3('0x56e')][_0x1cd3('0x19')]===_0x1a1b4c[_0x1cd3('0x530')][_0x1cd3('0x98')]){if(angular['isDefined'](_0x482c7f[_0x1cd3('0x56e')]['stateParams'])&&angular['isDefined'](_0x1a1b4c[_0x1cd3('0x36a')])&&!angular[_0x1cd3('0x501')](_0x482c7f[_0x1cd3('0x56e')][_0x1cd3('0x570')],_0x1a1b4c[_0x1cd3('0x36a')])){return;}_0xc96c67[_0x1cd3('0x571')](_0x482c7f[_0x1cd3('0x56e')],_0x18b38b);_0x49db0a['$broadcast'](_0x1cd3('0x55c'),_0x482c7f[_0x1cd3('0x56e')][_0x1cd3('0x54e')]);}if(_0x1a1b4c[_0x1cd3('0x38f')](_0x482c7f['node'][_0x1cd3('0x19')])){if(angular[_0x1cd3('0x4bf')](_0x482c7f[_0x1cd3('0x56e')][_0x1cd3('0x570')])&&angular['isDefined'](_0x1a1b4c['params'])&&!angular[_0x1cd3('0x501')](_0x482c7f[_0x1cd3('0x56e')][_0x1cd3('0x570')],_0x1a1b4c['params'])){return;}_0x18b38b[_0x1cd3('0x458')]('msNavigation::stateMatched');}});}function _0x4e5db5(){if(_0x482c7f[_0x1cd3('0x525')]){_0x482c7f[_0x1cd3('0x572')]();}else{_0x482c7f['collapse']();}}function _0x14d253(){var _0x44aa06=_0x482c7f[_0x1cd3('0x37f')][_0x1cd3('0x52b')]('ul');var _0x27de97=_0x44aa06[0x0][_0x1cd3('0x535')];_0x18b38b['$evalAsync'](function(){_0x482c7f[_0x1cd3('0x525')]=!![];_0x482c7f['element'][_0x1cd3('0x3c0')](_0x1cd3('0x573'));_0x5d5a84[_0x1cd3('0x537')](_0x44aa06,{'display':_0x1cd3('0x574'),'height':_0x27de97+'px'},{'height':'0px'},_0x482c7f[_0x1cd3('0x569')])[_0x1cd3('0x77')](function(){_0x44aa06[_0x1cd3('0x4e1')]({'display':'','height':''});_0x482c7f[_0x1cd3('0x37f')][_0x1cd3('0x4c9')](_0x1cd3('0x573'));});_0x18b38b[_0x1cd3('0x46c')](_0x1cd3('0x55c'));});}function _0x2390b4(){var _0x3715a0=_0x482c7f[_0x1cd3('0x37f')][_0x1cd3('0x52b')]('ul');_0x3715a0['css']({'position':_0x1cd3('0x532'),'visibility':_0x1cd3('0x533'),'display':'block','height':_0x1cd3('0x534')});var _0x55788f=_0x3715a0[0x0][_0x1cd3('0x535')];_0x3715a0[_0x1cd3('0x4e1')]({'position':'','visibility':'','display':'','height':''});_0x18b38b[_0x1cd3('0x536')](function(){_0x482c7f[_0x1cd3('0x525')]=![];_0x482c7f[_0x1cd3('0x37f')]['addClass']('expanding');_0x5d5a84[_0x1cd3('0x537')](_0x3715a0,{'display':'block','height':'0px'},{'height':_0x55788f+'px'},_0x482c7f['animateHeightClass'])[_0x1cd3('0x77')](function(){_0x3715a0[_0x1cd3('0x4e1')]({'height':''});_0x482c7f[_0x1cd3('0x37f')][_0x1cd3('0x4c9')](_0x1cd3('0x575'));});_0x49db0a[_0x1cd3('0x46c')]('msNavigation::collapse',_0x482c7f['node'][_0x1cd3('0x54e')]);});}function _0x184305(){return _0x482c7f['node'][_0x1cd3('0x4fa')];}function _0x1cfeea(){if(angular[_0x1cd3('0x4bf')](_0x482c7f[_0x1cd3('0x56e')][_0x1cd3('0x533')])&&angular[_0x1cd3('0x3a8')](_0x482c7f[_0x1cd3('0x56e')][_0x1cd3('0x533')])){return _0x482c7f[_0x1cd3('0x56e')][_0x1cd3('0x533')]();}return![];}}function _0x1d9ce6(){return{'restrict':'A','bindToController':{'node':_0x1cd3('0x576')},'controller':_0x1cd3('0x577'),'compile':function(_0x4bcfe6){_0x4bcfe6[_0x1cd3('0x3c0')](_0x1cd3('0x578'));return function postLink(_0x30f58a,_0x4dc3f0,_0xc1ba9e,_0x597651){_0x4dc3f0[_0x1cd3('0x3c0')](_0x597651[_0x1cd3('0x56c')]());if(_0x597651[_0x1cd3('0x56d')]){_0x4dc3f0[_0x1cd3('0x3c0')](_0x1cd3('0x56d'));}};}};}function _0x1bc150(){return{'restrict':'A','require':'^msNavigationNode','compile':function(_0x29f155){_0x29f155[_0x1cd3('0x3c0')](_0x1cd3('0x579'));return function postLink(_0x5c2af2,_0xb7e6ce,_0x104b7c,_0x3c9113){if(_0x3c9113['collapsable']){_0xb7e6ce['on'](_0x1cd3('0x52d'),_0x3c9113['toggleCollapsed']);}_0x5c2af2[_0x1cd3('0x4d3')](_0x1cd3('0x523'),function(){_0xb7e6ce[_0x1cd3('0x51c')](_0x1cd3('0x52d'));});};}};}function _0xc8d28d(_0x4b4d6b){return{'restrict':'E','scope':{'root':'@'},'controller':_0x1cd3('0x57a'),'templateUrl':_0x1cd3('0x57b'),'transclude':!![],'compile':function(_0x311332){_0x311332[_0x1cd3('0x3c0')](_0x1cd3('0x57c'));return function postLink(_0x3f542e){_0x4b4d6b[_0x1cd3('0x57d')](_0x3f542e);};}};}function _0x792909(_0x445e46,_0x31a666,_0x51a5f8,_0x2ce52f,_0x2f672f){var _0x48a397=this;_0x48a397['element']=_0x31a666;_0x48a397[_0x1cd3('0x56e')]=_0x445e46[_0x1cd3('0x56e')];_0x48a397['hasChildren']=undefined;_0x48a397[_0x1cd3('0x56d')]=undefined;_0x48a397[_0x1cd3('0x56c')]=_0x829463;_0x5f3a2e();function _0x5f3a2e(){_0x48a397['isActive']=![];_0x48a397['hasChildren']=_0x48a397[_0x1cd3('0x56e')][_0x1cd3('0x52b')][_0x1cd3('0x7a')]>0x0;_0x48a397[_0x1cd3('0x56d')]=!!(angular[_0x1cd3('0x4bf')](_0x48a397[_0x1cd3('0x56e')][_0x1cd3('0x56d')])&&_0x48a397[_0x1cd3('0x56e')][_0x1cd3('0x56d')]===!![]);if(_0x48a397[_0x1cd3('0x56e')][_0x1cd3('0x19')]===_0x2ce52f['current'][_0x1cd3('0x98')]||_0x2ce52f['includes'](_0x48a397[_0x1cd3('0x56e')][_0x1cd3('0x19')])){if(angular[_0x1cd3('0x4bf')](_0x48a397[_0x1cd3('0x56e')]['stateParams'])&&angular[_0x1cd3('0x4bf')](_0x2ce52f[_0x1cd3('0x36a')])&&!angular[_0x1cd3('0x501')](_0x48a397[_0x1cd3('0x56e')]['stateParams'],_0x2ce52f[_0x1cd3('0x36a')])){return;}_0x445e46[_0x1cd3('0x458')](_0x1cd3('0x560'));_0x2f672f['setActiveItem'](_0x48a397[_0x1cd3('0x56e')],_0x445e46);}_0x445e46[_0x1cd3('0x4d3')](_0x1cd3('0x560'),function(){if(_0x48a397[_0x1cd3('0x567')]){_0x445e46[_0x1cd3('0x536')](function(){_0x48a397[_0x1cd3('0x57e')]=!![];});}});_0x445e46['$on']('msNavigation::clearActive',function(){if(!_0x48a397[_0x1cd3('0x567')]){return;}var _0x347726=[];var _0x9a38de=_0x2f672f[_0x1cd3('0x55f')]();if(_0x9a38de){_0x347726=_0x9a38de[_0x1cd3('0x56e')][_0x1cd3('0x54e')]['split']('.');}if(_0x347726[_0x1cd3('0x45e')](_0x48a397[_0x1cd3('0x56e')][_0x1cd3('0x54b')])>-0x1){_0x445e46[_0x1cd3('0x536')](function(){_0x48a397[_0x1cd3('0x57e')]=!![];});}else{_0x445e46[_0x1cd3('0x536')](function(){_0x48a397[_0x1cd3('0x57e')]=![];});}});_0x445e46[_0x1cd3('0x4d3')](_0x1cd3('0x57f'),function(){if(_0x48a397['node']['state']===_0x2ce52f[_0x1cd3('0x530')][_0x1cd3('0x98')]||_0x2ce52f[_0x1cd3('0x38f')](_0x48a397['node'][_0x1cd3('0x19')])){if(angular[_0x1cd3('0x4bf')](_0x48a397[_0x1cd3('0x56e')][_0x1cd3('0x570')])&&angular[_0x1cd3('0x4bf')](_0x2ce52f[_0x1cd3('0x36a')])&&!angular[_0x1cd3('0x501')](_0x48a397['node'][_0x1cd3('0x570')],_0x2ce52f['params'])){return;}_0x2f672f[_0x1cd3('0x571')](_0x48a397[_0x1cd3('0x56e')],_0x445e46);_0x51a5f8[_0x1cd3('0x46c')](_0x1cd3('0x580'));}});}function _0x829463(){return _0x48a397['node'][_0x1cd3('0x4fa')];}}function _0x1570c0(){return{'restrict':'A','bindToController':{'node':_0x1cd3('0x581')},'controller':_0x1cd3('0x582'),'compile':function(_0x320281){_0x320281[_0x1cd3('0x3c0')](_0x1cd3('0x583'));return function postLink(_0x16ac42,_0x502512,_0x19100f,_0x471eed){_0x502512[_0x1cd3('0x3c0')](_0x471eed[_0x1cd3('0x56c')]());if(_0x471eed[_0x1cd3('0x56d')]){_0x502512['addClass'](_0x1cd3('0x56d'));}};}};}function _0x32f27e(_0x44bd0b){return{'restrict':'A','require':_0x1cd3('0x584'),'compile':function(_0x25b60a){_0x25b60a[_0x1cd3('0x3c0')]('ms-navigation-horizontal-item');return function postLink(_0x46b505,_0x56971b,_0x475da2,_0x4c75f3){_0x56971b['on'](_0x1cd3('0x52d'),_0x27525c);function _0x27525c(){if(!_0x4c75f3[_0x1cd3('0x567')]||_0x44bd0b(_0x1cd3('0x4ea'))){return;}_0x56971b[_0x1cd3('0x557')](_0x1cd3('0x526'));}_0x46b505[_0x1cd3('0x4d3')](_0x1cd3('0x523'),function(){_0x56971b[_0x1cd3('0x51c')](_0x1cd3('0x52d'));});};}};}}());(function(){'use strict';_0x3d4adb[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x372'),'$timeout',_0x1cd3('0x585'),_0x1cd3('0x3c5'),_0x1cd3('0x586'),_0x1cd3('0x371'),_0x1cd3('0x3f7'),_0x1cd3('0x587'),'toasty',_0x1cd3('0x370'),_0x1cd3('0x588'),_0x1cd3('0x56'),'socket'];function _0x3d4adb(_0x169689,_0x56813a,_0x31db9a,_0x2027ca,_0x46c805,_0x321054,_0x45079a,_0x37d8e5,_0x599a8c,_0x3dd1e6,_0x34ae0c,_0x53a0b7,_0x251958,_0x286f4e){var _0x2cfc1b=this;var _0x476ecc=[_0x1cd3('0x589'),'speakerId','microphoneId',_0x1cd3('0x58a'),'speakerVolume',_0x1cd3('0x58b'),_0x1cd3('0x58c'),'speakerMute','microphoneMute'];var _0x515899=JSON[_0x1cd3('0x79')](_0x45079a['localStorage']['getItem']('motion2.user:'+_0x2cfc1b[_0x1cd3('0x58d')]['id']))||{'webrtc':{'ringingVolume':0.5,'speakerVolume':0.5,'microphoneVolume':0x1,'ringingMute':![],'speakerMute':![],'microphoneMute':![]}};_0x2027ca(function(){},0x3e7);_0x2cfc1b['direction']=_0x1cd3('0x58e');_0x2cfc1b[_0x1cd3('0x58f')]=_0x1cd3('0x590');_0x2cfc1b[_0x1cd3('0x365')]='';_0x2cfc1b['showDialpad']=![];_0x2cfc1b[_0x1cd3('0x591')]=document[_0x1cd3('0x3aa')](_0x1cd3('0x484'));_0x2cfc1b[_0x1cd3('0x592')]=document[_0x1cd3('0x593')](_0x2cfc1b[_0x1cd3('0x58d')][_0x1cd3('0x594')]);_0x2cfc1b[_0x1cd3('0x591')][_0x1cd3('0x595')]=0x1;_0x2cfc1b[_0x1cd3('0x596')]={'mediaConstraints':{'audio':!![],'video':![]},'pcConfig':{'iceServers':[]}};_0x2cfc1b['sessions']=[];_0x2cfc1b[_0x1cd3('0x597')]=[];_0x2cfc1b[_0x1cd3('0x598')]=[];_0x2cfc1b['canGoInConference']=![];_0x2cfc1b[_0x1cd3('0x599')]=![];_0x2cfc1b[_0x1cd3('0x59a')]=[];_0x2cfc1b['ua']=new JsSIP['UA']({'sockets':[new JsSIP[(_0x1cd3('0x59b'))](_0x1cd3('0x59c')+_0x2cfc1b[_0x1cd3('0x58d')]['host']+':8089/ws')],'uri':new JsSIP[(_0x1cd3('0x59d'))](_0x1cd3('0x59e'),_0x2cfc1b[_0x1cd3('0x58d')][_0x1cd3('0x98')],_0x2cfc1b[_0x1cd3('0x58d')][_0x1cd3('0x3ac')],0x13c4,null,null)[_0x1cd3('0x43b')](),'authorization_user':_0x2cfc1b[_0x1cd3('0x58d')][_0x1cd3('0x98')],'ha1':_0x2cfc1b['conf']['ha1'],'realm':_0x2cfc1b[_0x1cd3('0x58d')][_0x1cd3('0x59f')],'user_agent':_0x2cfc1b[_0x1cd3('0x58d')]['ua'],'session_timers_refresh_method':_0x1cd3('0x5a0'),'register_expires':_0x2cfc1b[_0x1cd3('0x58d')][_0x1cd3('0x5a1')]||0x3c,'register':!![]});_0x2cfc1b[_0x1cd3('0x58d')]=_[_0x1cd3('0xf2')](_0x515899[_0x1cd3('0x464')],_0x2cfc1b[_0x1cd3('0x58d')]);_0x2cfc1b[_0x1cd3('0x5a2')]=![];_0x2cfc1b['isJabraEnabled']=![];_0x2cfc1b['isJabraInitialized']=![];_0x2cfc1b['jabraSession']=null;_0x2cfc1b[_0x1cd3('0x5a3')]=![];_0x2cfc1b[_0x1cd3('0x5a4')]=![];_0x2cfc1b[_0x1cd3('0x5a5')]=![];function _0x2b6a68(){_0x51af49(![]);navigator[_0x1cd3('0x5a6')]['ondevicechange']=function(_0x229a4b){if(!_0x2cfc1b[_0x1cd3('0x5a2')]){_0x2cfc1b[_0x1cd3('0x5a2')]=!![];if(jabra&&_0x2cfc1b[_0x1cd3('0x5a7')]){jabra['shutdown']()[_0x1cd3('0x77')](function(){_0x2cfc1b[_0x1cd3('0x5a7')]=![];_0x2cfc1b[_0x1cd3('0x5a8')]=![];_0x51af49(!![]);})[_0x1cd3('0xfd')](function(_0x1d79c1){console[_0x1cd3('0x434')](_0x1cd3('0x5a9'),_0x1d79c1);});}else{_0x51af49(!![]);}}};var _0x2134ff=[_0x34ae0c[_0x1cd3('0x5aa')][_0x1cd3('0x361')]({'type':_0x1cd3('0x5ab'),'nolimit':!![]})[_0x1cd3('0x81')],_0x34ae0c[_0x1cd3('0x5aa')]['get']({'type':'stun','nolimit':!![]})['$promise']];Promise[_0x1cd3('0x7e')](_0x2134ff)[_0x1cd3('0x77')](function(_0x4f06b3){var _0xd01bbe=_0x4f06b3[0x0][_0x1cd3('0xf6')];var _0x25d3e5=_0x4f06b3[0x1][_0x1cd3('0xf6')];var _0x461f73=[];var _0x1816ef=[];_0x25d3e5['forEach'](function(_0x5a9dfa){_0x1816ef['push']('stun:'+_0x5a9dfa[_0x1cd3('0x3db')]);});_0x461f73[_0x1cd3('0x7b')]({'urls':_0x1816ef});_0xd01bbe[_0x1cd3('0x394')](function(_0x49df92){var _0x44a2d8={'urls':_0x1cd3('0x5ac')+_0x49df92[_0x1cd3('0x3db')]};if(_0x49df92['username']){_0x44a2d8[_0x1cd3('0x5ad')]=_0x49df92['username'];}if(_0x49df92[_0x1cd3('0x5ae')]){_0x44a2d8[_0x1cd3('0x5af')]=_0x49df92[_0x1cd3('0x5ae')];}_0x461f73[_0x1cd3('0x7b')](_0x44a2d8);});_0x2cfc1b['sessionConf'][_0x1cd3('0x5b0')]={'iceServers':_0x461f73};});this['ua']['on'](_0x1cd3('0x5b1'),_0x15001b[_0x1cd3('0x5b2')](this));this['ua']['on'](_0x1cd3('0x5b3'),_0x1a2467[_0x1cd3('0x5b2')](this));this['ua']['on'](_0x1cd3('0x5b4'),_0x14f807[_0x1cd3('0x5b2')](this));_0x286f4e['on'](_0x1cd3('0x5b5'),_0x2cd8b5[_0x1cd3('0x5b2')](this));_0x286f4e['on']('webbar:hangup',_0x5b5392[_0x1cd3('0x5b2')](this));_0x286f4e['on'](_0x1cd3('0x5b6'),_0x50c437['bind'](this));_0x286f4e['on'](_0x1cd3('0x5b7'),_0x60820[_0x1cd3('0x5b2')](this));_0x286f4e['on']('webbar:unhold',_0x43a519[_0x1cd3('0x5b2')](this));_0x286f4e['on'](_0x1cd3('0x5b8'),_0x10c7df[_0x1cd3('0x5b2')](this));}function _0x51af49(_0x25d1fe){var _0x1e50cf,_0x215b0c,_0x5c1da0;_0x2cfc1b[_0x1cd3('0x5a2')]=!![];return navigator[_0x1cd3('0x5a6')][_0x1cd3('0x5b9')]({'audio':!![]})['then'](function(_0x26f06a){_0x26f06a[_0x1cd3('0x5ba')]()[_0x1cd3('0x394')](function(_0x45ac47){_0x45ac47[_0x1cd3('0x5bb')]();});return navigator[_0x1cd3('0x5a6')][_0x1cd3('0x5bc')]();})[_0x1cd3('0x77')](function(_0x53754c){var _0x1e464b=_[_0x1cd3('0x395')](_0x53754c,function(_0x50cefe){return _0x50cefe['kind']==='audioinput'&&(_0x50cefe['deviceId']!==_0x1cd3('0x5bd')&&_0x50cefe['deviceId']!==_0x1cd3('0x5be'));});if(_0x1e464b['length']>0x0){var _0x29aa6c=_[_0x1cd3('0x442')](_0x53754c,function(_0x237a53){return _0x237a53[_0x1cd3('0x5bf')]===_0x1cd3('0x5bd')&&_0x237a53[_0x1cd3('0x5c0')]===_0x1cd3('0x5c1');});_0x5c1da0=_[_0x1cd3('0x442')](_0x1e464b,function(_0x1d4c82){return _0x1d4c82[_0x1cd3('0x5c2')]===_0x29aa6c[_0x1cd3('0x5c2')];});if(_0x2cfc1b[_0x1cd3('0x58d')][_0x1cd3('0x5c3')]&&!_0x25d1fe){var _0x292ce7=_[_0x1cd3('0x442')](_0x1e464b,function(_0x106514){return _0x106514[_0x1cd3('0x5bf')]===_0x2cfc1b[_0x1cd3('0x58d')][_0x1cd3('0x5c3')];});if(_0x292ce7){_0x5c1da0=_0x292ce7;}}_0x2cfc1b[_0x1cd3('0x58d')][_0x1cd3('0x5c3')]=_0x5c1da0['deviceId'];}else{_0x3dd1e6[_0x1cd3('0x5c4')]({'title':_0x37d8e5[_0x1cd3('0x44a')](_0x1cd3('0x5c5')),'msg':_0x37d8e5[_0x1cd3('0x44a')]('TOOLBAR.WEBRTC_MICROPHONE_NOT_AVAILABLE'),'clickToClose':!![],'showClose':!![],'shake':![],'timeout':![],'position':_0x1cd3('0x5c6')});}if(_0x2cfc1b[_0x1cd3('0x58d')][_0x1cd3('0x5c3')]){_0x2cfc1b[_0x1cd3('0x596')][_0x1cd3('0x5c7')]['audio']={'deviceId':_0x2cfc1b[_0x1cd3('0x58d')][_0x1cd3('0x5c3')]};}else{_0x2cfc1b['sessionConf']['mediaConstraints']['audio']=!![];}_0x232054(_0x1cd3('0x5c8'),![]);var _0x9d914c=_[_0x1cd3('0x395')](_0x53754c,function(_0x5a532b){return _0x5a532b[_0x1cd3('0x5c0')]===_0x1cd3('0x5c9')&&(_0x5a532b['deviceId']!==_0x1cd3('0x5bd')&&_0x5a532b[_0x1cd3('0x5bf')]!=='communications');});if(_0x9d914c['length']>0x0){var _0x5b822f=_['find'](_0x53754c,function(_0x456202){return _0x456202[_0x1cd3('0x5bf')]==='default'&&_0x456202[_0x1cd3('0x5c0')]===_0x1cd3('0x5c9');});_0x215b0c=_0x1e50cf=_[_0x1cd3('0x442')](_0x9d914c,function(_0x328873){return _0x328873[_0x1cd3('0x5c2')]===_0x5b822f[_0x1cd3('0x5c2')];});if(_0x2cfc1b[_0x1cd3('0x58d')]['speakerId']&&!_0x25d1fe){var _0x3f7b6f=_[_0x1cd3('0x442')](_0x9d914c,function(_0x1057a2){return _0x1057a2[_0x1cd3('0x5bf')]===_0x2cfc1b['conf'][_0x1cd3('0x5ca')];});if(_0x3f7b6f){_0x215b0c=_0x3f7b6f;}}_0x2cfc1b[_0x1cd3('0x58d')]['speakerId']=_0x215b0c[_0x1cd3('0x5bf')];if(_0x2cfc1b[_0x1cd3('0x58d')][_0x1cd3('0x589')]&&!_0x25d1fe){var _0x21393=_[_0x1cd3('0x442')](_0x9d914c,function(_0x443fb4){return _0x443fb4['deviceId']===_0x2cfc1b[_0x1cd3('0x58d')][_0x1cd3('0x589')];});if(_0x21393){_0x1e50cf=_0x21393;}}_0x2cfc1b[_0x1cd3('0x58d')]['ringingId']=_0x1e50cf[_0x1cd3('0x5bf')];}else{_0x3dd1e6[_0x1cd3('0x5c4')]({'title':_0x37d8e5[_0x1cd3('0x44a')]('TOOLBAR.WARNING'),'msg':_0x37d8e5[_0x1cd3('0x44a')](_0x1cd3('0x5cb')),'clickToClose':!![],'showClose':!![],'shake':![],'timeout':![],'position':_0x1cd3('0x5c6')});}return _0x232054(_0x1cd3('0x5cc'),![]);})[_0x1cd3('0x77')](function(){return _0x232054(_0x1cd3('0x5cd'),![]);})['then'](function(){if(jabra){return jabra['init']()[_0x1cd3('0x77')](function(){_0x2cfc1b[_0x1cd3('0x5a7')]=!![];return jabra[_0x1cd3('0x5ce')]();})[_0x1cd3('0x77')](function(_0x326f33){return jabra[_0x1cd3('0x5cf')]();})[_0x1cd3('0x77')](function(_0x328089){if(_0x5c1da0&&_0x215b0c&&_0x1e50cf&&_0x328089){if(_[_0x1cd3('0x38f')]([_0x5c1da0[_0x1cd3('0x5c2')],_0x215b0c[_0x1cd3('0x5c2')],_0x1e50cf[_0x1cd3('0x5c2')]],_0x328089[_0x1cd3('0x5d0')][_0x1cd3('0x5d1')])){console[_0x1cd3('0x7d')](_0x1cd3('0x5d2'));_0x2cfc1b[_0x1cd3('0x5a8')]=!![];jabra[_0x1cd3('0x5d3')]();jabra[_0x1cd3('0x5d4')](_0x1cd3('0x5d5'),_0x3c9cfd[_0x1cd3('0x5b2')](this));jabra['addEventListener'](_0x1cd3('0x5d6'),_0x3141cb[_0x1cd3('0x5b2')](this));jabra['addEventListener'](_0x1cd3('0x5d7'),_0x37cfe3[_0x1cd3('0x5b2')](this));jabra[_0x1cd3('0x5d4')]('flash',_0x839e6d[_0x1cd3('0x5b2')](this));jabra[_0x1cd3('0x5d4')](_0x1cd3('0x5d8'),_0x3c93a9[_0x1cd3('0x5b2')](this));}}})[_0x1cd3('0xfd')](function(_0x47eeb3){console[_0x1cd3('0x5d9')](_0x1cd3('0x5da'),_0x47eeb3);});}})[_0x1cd3('0xfd')](function(_0x43071d){console[_0x1cd3('0x434')](_0x1cd3('0x5db'),_0x43071d);if(_0x43071d['name']==='NotFoundError'){_0x3dd1e6['warning']({'title':_0x37d8e5[_0x1cd3('0x44a')](_0x1cd3('0x5c5')),'msg':_0x37d8e5[_0x1cd3('0x44a')](_0x1cd3('0x5dc')),'clickToClose':!![],'showClose':!![],'shake':![],'timeout':![],'position':_0x1cd3('0x5c6')});}})[_0x1cd3('0x5dd')](function(){_0x2cfc1b['initDeviceInProgress']=![];_0x2ebec8();DetectRTC[_0x1cd3('0x5de')](_0x5dd178[_0x1cd3('0x5b2')](this));});}function _0x3c9cfd(_0x158bee){var _0x4aefa7=_[_0x1cd3('0x5df')](_0x2cfc1b['sessions']);if(_0x4aefa7){if(_0x4aefa7[_0x1cd3('0x5e0')]==='incoming'&&_0x4aefa7[_0x1cd3('0x5e1')]()){_0x2cfc1b[_0x1cd3('0x5e2')](_0x4aefa7);}else{console[_0x1cd3('0x434')](_0x1cd3('0x5e3'),_0x158bee);}}else{console[_0x1cd3('0x434')](_0x1cd3('0x5e4'),_0x158bee);}}function _0x3141cb(_0x2a6335){_0x2cfc1b[_0x1cd3('0x58d')]['microphoneMute']=!![];_0x232054('microphone',!![]);}function _0x37cfe3(_0xdc1220){_0x2cfc1b['conf'][_0x1cd3('0x5e5')]=![];_0x232054(_0x1cd3('0x5c8'),!![]);}function _0x839e6d(_0x2a6ff0){if(_0x2cfc1b['jabraSession']['localHold']){_0x2cfc1b['unhold'](_0x2cfc1b[_0x1cd3('0x5e6')]);}else{_0x2cfc1b[_0x1cd3('0x5e7')](_0x2cfc1b[_0x1cd3('0x5e6')]);}}function _0x3c93a9(_0x2beec4){_0x35890b()['then'](function(_0x533868){if(_0x533868!==null){_0x2cfc1b['terminate'](_0x533868);}});}function _0x2ebec8(){_0x515899[_0x1cd3('0x464')]=_[_0x1cd3('0x5e8')](_0x2cfc1b[_0x1cd3('0x58d')],_0x476ecc);_0x45079a[_0x1cd3('0x385')][_0x1cd3('0x3e2')](_0x1cd3('0x5e9')+_0x2cfc1b[_0x1cd3('0x58d')]['id'],JSON[_0x1cd3('0x438')](_0x515899));}function _0x15001b(){this['registered']=!![];}function _0x1a2467(){this[_0x1cd3('0x5b1')]=![];}function _0x5dd178(){_0x2cfc1b['conf'][_0x1cd3('0x5ea')]=DetectRTC[_0x1cd3('0x5ea')];_0x2cfc1b[_0x1cd3('0x58d')]['hasSpeakers']=DetectRTC['browser'][_0x1cd3('0x98')]===_0x1cd3('0x5eb')||DetectRTC[_0x1cd3('0x3c3')]['name']==='Edge'||DetectRTC['browser'][_0x1cd3('0x98')]===_0x1cd3('0x5ec')?DetectRTC[_0x1cd3('0x5ed')]:!![];_0x2cfc1b[_0x1cd3('0x58d')][_0x1cd3('0x5ee')]=DetectRTC['isWebRTCSupported'];_0x2cfc1b[_0x1cd3('0x58d')]['osName']=DetectRTC[_0x1cd3('0x5ef')];_0x2cfc1b[_0x1cd3('0x58d')][_0x1cd3('0x5f0')]=DetectRTC['osVersion'];_0x2cfc1b['conf']['browserName']=DetectRTC[_0x1cd3('0x3c3')][_0x1cd3('0x98')];_0x2cfc1b['conf'][_0x1cd3('0x5f1')]=DetectRTC['browser']['version'];if(_0x37f26b()){if(!_0x2cfc1b['register']){_0x2cfc1b['ua'][_0x1cd3('0x5f2')]();}}else if(!_0x2cfc1b[_0x1cd3('0x58d')][_0x1cd3('0x463')]){_0x3dd1e6[_0x1cd3('0x5c4')]({'title':_0x37d8e5[_0x1cd3('0x44a')](_0x1cd3('0x5c5')),'msg':_0x37d8e5[_0x1cd3('0x44a')](_0x1cd3('0x5f3')),'clickToClose':!![],'showClose':!![],'shake':![],'timeout':![],'position':'bottom-right'});}}function _0x37f26b(){return _0x2cfc1b[_0x1cd3('0x58d')][_0x1cd3('0x463')]&&_0x2cfc1b['conf'][_0x1cd3('0x5ee')]&&_0x2cfc1b['conf']['hasMicrophone']&&_0x2cfc1b['conf'][_0x1cd3('0x5ed')]&&_0x2cfc1b[_0x1cd3('0x58d')]['protocol']===_0x1cd3('0x5f4')&&_0x7e9fce();}function _0x7e9fce(){return _0x2cfc1b['conf']['browserName'][_0x1cd3('0x433')]()===_0x1cd3('0x5f5')||_0x2cfc1b['conf'][_0x1cd3('0x5f6')]['toLowerCase']()===_0x1cd3('0x5f7')||_0x2cfc1b[_0x1cd3('0x58d')][_0x1cd3('0x5f6')][_0x1cd3('0x433')]()===_0x1cd3('0x5f8');}function _0x14f807(_0x107112){console[_0x1cd3('0x5f9')](_0x1cd3('0x5fa'),_0x107112);var _0xfefdae=_0x107112[_0x1cd3('0x5fb')];var _0x1636c9=!![];var _0x20cea7='';var _0x5938a1=0x0;var _0x36fb18;switch(_0x107112[_0x1cd3('0x5fc')]){case _0x1cd3('0x37a'):_0xfefdae[_0x1cd3('0x5fd')]=!![];_0xfefdae[_0x1cd3('0x98')]=_0x107112[_0x1cd3('0x5fe')][_0x1cd3('0x5ff')]['user'];_0xfefdae[_0x1cd3('0x368')]=_0x107112[_0x1cd3('0x5fe')][_0x1cd3('0x5ff')][_0x1cd3('0x368')];_0xffe2e6(_0xfefdae[_0x1cd3('0x368')],![]);var _0x590b49='X-callback-url';_0x36fb18=_0x30a2e1(_0x107112[_0x1cd3('0x5fe')][_0x1cd3('0x600')],_0x590b49);if(_0x2cfc1b[_0x1cd3('0x5a8')]){if(_0x2cfc1b['jabraSession']){jabra[_0x1cd3('0x601')]();}_0x2cfc1b[_0x1cd3('0x5e6')]=_0xfefdae;jabra[_0x1cd3('0x602')]();}break;case _0x1cd3('0x603'):var _0x2d6cfa=_0x251958['getCurrentUser']();if(_0x2d6cfa[_0x1cd3('0x604')]&&_0x2d6cfa[_0x1cd3('0x605')]||_0x2cfc1b[_0x1cd3('0x5a5')]){_0x1636c9=![];}else{_0xfefdae['incoming']=!![];_0xfefdae[_0x1cd3('0x98')]=_0x107112[_0x1cd3('0x5fe')][_0x1cd3('0x606')][_0x1cd3('0x607')];_0xfefdae[_0x1cd3('0x368')]=_0x107112['request'][_0x1cd3('0x606')][_0x1cd3('0x608')][_0x1cd3('0x368')];_0x20cea7=_0x107112['request']['getHeader'](_0x1cd3('0x609'))||'';_0x5938a1=_0x107112[_0x1cd3('0x5fe')][_0x1cd3('0x60a')](_0x1cd3('0x60b'))||0x0;_0x291482(_0x107112[_0x1cd3('0x5fb')]);_0xffe2e6(_0x107112['session'][_0x1cd3('0x368')],!![]);if(_0x2cfc1b[_0x1cd3('0x5a8')]){jabra[_0x1cd3('0x60c')]();}if(_0x2cfc1b[_0x1cd3('0x58d')][_0x1cd3('0x60d')]){_0x31db9a(function(){if(_0xfefdae[_0x1cd3('0x5e1')]()){_0xfefdae['autoAnswer']=!![];_0x45253f(_0xfefdae);}},_0x2cfc1b[_0x1cd3('0x58d')][_0x1cd3('0x60e')]?_0x2cfc1b['conf'][_0x1cd3('0x60e')]*0x3e8:0x0);}console[_0x1cd3('0x5f9')](_0x1cd3('0x60f'),_0x20cea7);console['debug']('xAnswerAfterSec',_0x5938a1);if(_0x20cea7[_0x1cd3('0x433')]()==_0x1cd3('0x534')){var _0x18df4c=_0x5938a1==0x0?0x1f4:_0x5938a1*0x3e8;console[_0x1cd3('0x5f9')](_0x1cd3('0x610')+_0x18df4c+_0x1cd3('0x611'));_0x31db9a(function(){if(_0xfefdae[_0x1cd3('0x5e1')]()){_0xfefdae[_0x1cd3('0x60d')]=!![];_0x45253f(_0xfefdae);}},_0x18df4c);}}break;default:}if(_0x1636c9){_0xfefdae['call_id']=_0x107112['request'][_0x1cd3('0x612')];if(_0x36fb18){_0x2cfc1b[_0x1cd3('0x598')][_0xfefdae[_0x1cd3('0x612')]]=_0x36fb18;_0x18cda9(_0x36fb18,{'call_id':_0xfefdae[_0x1cd3('0x612')]})[_0x1cd3('0x77')](function(){console['log'](_0x1cd3('0x613')+_0x36fb18+_0x1cd3('0x614'));})[_0x1cd3('0xfd')](function(_0xa89bd1){console[_0x1cd3('0x7d')](_0x1cd3('0x615')+_0x36fb18+_0x1cd3('0x616'),_0xa89bd1);});}if(_0xfefdae[_0x1cd3('0x617')]){_0xfefdae[_0x1cd3('0x617')]['onaddstream']=_0x1ae181[_0x1cd3('0x5b2')](this);}_0xfefdae[_0x1cd3('0x618')]=null;_0xfefdae['on']('progress',_0x1347c6[_0x1cd3('0x5b2')](this,_0xfefdae));_0xfefdae['on'](_0x1cd3('0x619'),_0x29fc7a[_0x1cd3('0x5b2')](this,_0xfefdae));_0xfefdae['on']('hold',_0x58e608[_0x1cd3('0x5b2')](this,_0xfefdae));_0xfefdae['on']('unhold',_0x55648e['bind'](this,_0xfefdae));_0xfefdae['on'](_0x1cd3('0x61a'),_0x55817b[_0x1cd3('0x5b2')](this,_0xfefdae));_0xfefdae['on'](_0x1cd3('0x61b'),_0x4f6aa7[_0x1cd3('0x5b2')](this,_0xfefdae));_0xfefdae['on'](_0x1cd3('0x61c'),_0x3d4a05[_0x1cd3('0x5b2')](this,_0xfefdae));_0x2cfc1b[_0x1cd3('0x61d')][_0x1cd3('0x7b')](_0xfefdae);_0x31db9a(function(){_0x169689[_0x1cd3('0x61e')]();console[_0x1cd3('0x5f9')](_0x1cd3('0x61f'),_0x2cfc1b[_0x1cd3('0x61d')]);});}else{_0x541ab4(_0xfefdae,0x1e6);}}function _0xffe2e6(_0x1470f4,_0x80efc4,_0x1f544e){console[_0x1cd3('0x5f9')](_0x1cd3('0x620'),_0x1470f4,_0x80efc4,_0x1f544e);_0x2cfc1b[_0x1cd3('0x597')][_0x1cd3('0x621')]({'target':_0x1470f4,'fullname':_0x1f544e||_0x1470f4,'inbound':_0x80efc4,'time':moment()[_0x1cd3('0x130')]('HH:mm')});if(_0x2cfc1b[_0x1cd3('0x597')][_0x1cd3('0x7a')]>0x32){_0x2cfc1b['calls'][_0x1cd3('0x622')]();}}function _0x291482(_0x535ddd){console[_0x1cd3('0x5f9')](_0x1cd3('0x623'),_0x535ddd);var _0x38206a=_0x535ddd[_0x1cd3('0x98')]?_0x535ddd[_0x1cd3('0x98')]+'\x20<'+_0x535ddd['user']+'>':_0x535ddd['user'];_0x53a0b7[_0x1cd3('0x624')](_0x1cd3('0x625'),_0x38206a,null,function(){_0x45253f(_0x535ddd);},function(){_0x541ab4(_0x535ddd);})['then'](function(_0x1cfe29){_0x535ddd[_0x1cd3('0x626')]=_0x1cfe29;})[_0x1cd3('0xfd')](function(_0x759cf1){console[_0x1cd3('0x434')](_0x1cd3('0x627'),_0x759cf1);});}function _0x45253f(_0x5208ad){console[_0x1cd3('0x5f9')](_0x1cd3('0x628'),_0x5208ad);if(_0x2cfc1b[_0x1cd3('0x58d')][_0x1cd3('0x5c3')]){_0x2cfc1b['sessionConf'][_0x1cd3('0x5c7')][_0x1cd3('0x484')]={'deviceId':_0x2cfc1b[_0x1cd3('0x58d')][_0x1cd3('0x5c3')]};}else{_0x2cfc1b[_0x1cd3('0x596')][_0x1cd3('0x5c7')]['audio']=!![];}_0x5208ad[_0x1cd3('0x5e2')](_0x2cfc1b[_0x1cd3('0x596')]);if(_0x2cfc1b[_0x1cd3('0x5a8')]){jabra['offHook']();_0x2cfc1b[_0x1cd3('0x5e6')]=_0x5208ad;}}function _0x541ab4(_0xbe3c7d,_0x289805){console[_0x1cd3('0x5f9')]('terminate\x20->\x20session',_0xbe3c7d);var _0x45921c={};if(_0x289805){_0x45921c[_0x1cd3('0x629')]=_0x289805;}else if(!_0xbe3c7d['isEstablished']()){_0x45921c[_0x1cd3('0x629')]=0x25b;}_0xbe3c7d[_0x1cd3('0x62a')](_0x45921c);if(_0x2cfc1b[_0x1cd3('0x5a8')]){if(_0x2cfc1b[_0x1cd3('0x61d')][_0x1cd3('0x7a')]===0x0){if(_0xbe3c7d[_0x1cd3('0x62b')]){jabra[_0x1cd3('0x601')]();}jabra[_0x1cd3('0x5d3')]();_0x2cfc1b[_0x1cd3('0x5e6')]=null;}else{var _0x3db310=_['last'](_0x2cfc1b['sessions']);if(_0x3db310[_0x1cd3('0x62b')]){jabra[_0x1cd3('0x5d3')]();jabra[_0x1cd3('0x5e7')]();_0x2cfc1b[_0x1cd3('0x5e6')]=_0x3db310;}else{jabra[_0x1cd3('0x602')]();}}}}function _0x1347c6(_0x22a26a,_0x2c06ae){console[_0x1cd3('0x5f9')](_0x1cd3('0x62c'),_0x22a26a,_0x2c06ae);var _0x32e19d=![];switch(_0x2c06ae[_0x1cd3('0x5fc')]){case _0x1cd3('0x37a'):if(!this[_0x1cd3('0x58d')][_0x1cd3('0x58c')]){this[_0x1cd3('0x591')][_0x1cd3('0x481')]('src',_0x1cd3('0x62d'));_0x32e19d=!![];}break;case _0x1cd3('0x603'):this[_0x1cd3('0x62e')](_0x22a26a);this[_0x1cd3('0x591')][_0x1cd3('0x481')]('src',_0x1cd3('0x62f'));_0x32e19d=!![];break;}if(_0x2cfc1b[_0x1cd3('0x5a5')]){_0x2cfc1b[_0x1cd3('0x5a5')]=![];}if(_0x32e19d){this[_0x1cd3('0x591')][_0x1cd3('0x630')]=_0x1cd3('0x630');this[_0x1cd3('0x591')][_0x1cd3('0x48b')]()[_0x1cd3('0xfd')](function(_0x226ff6){console[_0x1cd3('0x7d')](_0x226ff6[_0x1cd3('0x43a')]);});}_0x4dd395(_0x22a26a)[_0x1cd3('0x77')](function(){var _0x3a5441=_0x2cfc1b[_0x1cd3('0x598')][_0x22a26a['call_id']];if(_0x3a5441){_0x18cda9(_0x3a5441,{'uniqueid':_0x22a26a['uniqueid'],'call_id':_0x22a26a['call_id'],'number_called':_0x22a26a[_0x1cd3('0x368')]})[_0x1cd3('0x77')](function(){console[_0x1cd3('0x7d')](_0x1cd3('0x613')+_0x3a5441+_0x1cd3('0x614'));})[_0x1cd3('0xfd')](function(_0x3ce7f2){console[_0x1cd3('0x7d')]('fail\x20callbackurl:\x22'+_0x3a5441+_0x1cd3('0x616'),_0x3ce7f2);})[_0x1cd3('0x5dd')](function(){delete _0x2cfc1b[_0x1cd3('0x598')][_0x22a26a['call_id']];});}})[_0x1cd3('0xfd')](function(_0xc2f02){console[_0x1cd3('0x434')](_0x1cd3('0x631'),_0xc2f02);});}function _0x4dd395(_0x5f2ea0){console[_0x1cd3('0x5f9')](_0x1cd3('0x632'),_0x5f2ea0);return _0x34ae0c[_0x1cd3('0x633')][_0x1cd3('0x634')]()[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x260db0){var _0x54a168=_[_0x1cd3('0x442')](_0x260db0[_0x1cd3('0xf6')],function(_0x862b47){if(_0x862b47[_0x1cd3('0x635')]===_0x5f2ea0[_0x1cd3('0x612')]){return _0x862b47;}if(_0x862b47[_0x1cd3('0x636')]===_0x5f2ea0[_0x1cd3('0x612')]){return _0x862b47;}return null;});if(_0x54a168){_0x5f2ea0[_0x1cd3('0x637')]=_0x54a168['monitor'];_0x5f2ea0['uniqueid']=_0x54a168['uniqueid'];_0x5f2ea0[_0x1cd3('0x638')]=_0x54a168[_0x1cd3('0x638')];}return;});}function _0x29fc7a(_0x31a1c1,_0x3c1a0d){console[_0x1cd3('0x5f9')]('onConfirmed\x20->\x20session,\x20data',_0x31a1c1,_0x3c1a0d);var _0x405983=document[_0x1cd3('0x593')]('div_session_'+_0x31a1c1['id'][_0x1cd3('0x639')](0x0,0x20));if(_0x405983){$(_0x405983)['scope']()[_0x1cd3('0x46c')](_0x1cd3('0x63a'));}_0x31a1c1[_0x1cd3('0x619')]=!![];if(_0x3c1a0d[_0x1cd3('0x5fc')]===_0x1cd3('0x603')&&_0x31a1c1[_0x1cd3('0x617')]){_0x31a1c1[_0x1cd3('0x617')][_0x1cd3('0x63b')]=_0x1ae181[_0x1cd3('0x5b2')](this);if(_[_0x1cd3('0x63c')](_0x31a1c1[_0x1cd3('0x617')]['getRemoteStreams']())){this[_0x1cd3('0x592')]['srcObject']=_[_0x1cd3('0x63c')](_0x31a1c1[_0x1cd3('0x617')][_0x1cd3('0x63d')]());this[_0x1cd3('0x592')][_0x1cd3('0x48b')]();}}this['soundPlayer'][_0x1cd3('0x63e')]();this['soundPlayer']['loop']=null;this['putOtherCallsOnHold'](_0x31a1c1);if(_0x31a1c1['autoAnswer']){this['soundPlayer']['setAttribute'](_0x1cd3('0x487'),_0x1cd3('0x63f'));this['soundPlayer'][_0x1cd3('0x48b')]()[_0x1cd3('0xfd')](function(_0x46b22d){console['log'](_0x1cd3('0x640'),_0x46b22d);});}_0x2cfc1b[_0x1cd3('0x641')]=_0x2cfc1b[_0x1cd3('0x61d')]['length']==0x2;_0x4dd395(_0x31a1c1)[_0x1cd3('0xfd')](function(_0xd0a2e6){console[_0x1cd3('0x434')]('Unable\x20to\x20retrieve\x20voice\x20channels',_0xd0a2e6);});}function _0x1ae181(_0x5055f2){console['debug'](_0x1cd3('0x642'),_0x5055f2);this[_0x1cd3('0x592')]['srcObject']=_0x5055f2[_0x1cd3('0x643')];this[_0x1cd3('0x592')][_0x1cd3('0x48b')]();}function _0x58e608(_0x37210d,_0x2bbb16){console[_0x1cd3('0x5f9')](_0x1cd3('0x644'),_0x37210d,_0x2bbb16);if(_0x2bbb16[_0x1cd3('0x5fc')]==='local'){_0x37210d[_0x1cd3('0x62b')]=!![];}}function _0x55648e(_0x227e4d,_0x34c99b){console['debug'](_0x1cd3('0x645'),_0x227e4d,_0x34c99b);if(_0x34c99b[_0x1cd3('0x5fc')]===_0x1cd3('0x37a')){_0x227e4d['localHold']=![];}}function _0x55817b(_0x57e471,_0x168636){console['debug']('onEnded\x20->\x20session,\x20data',_0x57e471,_0x168636);if(_0x2cfc1b[_0x1cd3('0x599')]){if(_[_0x1cd3('0x38f')](_0x2cfc1b[_0x1cd3('0x59a')],_0x57e471['id'])){_0x2c8ea2();_0x2cfc1b[_0x1cd3('0x5a4')]=!![];}}_[_0x1cd3('0x383')](this[_0x1cd3('0x61d')],{'id':_0x57e471['id']});if(_0x2cfc1b[_0x1cd3('0x61d')][_0x1cd3('0x7a')]!==0x2){_0x2cfc1b['canGoInConference']=![];}if(_0x2cfc1b[_0x1cd3('0x5a8')]){if(_0x2cfc1b['sessions'][_0x1cd3('0x7a')]===0x0){if(_0x57e471[_0x1cd3('0x62b')]){jabra[_0x1cd3('0x601')]();}jabra[_0x1cd3('0x5d3')]();_0x2cfc1b[_0x1cd3('0x5e6')]=null;}else{var _0x8ec056=_['last'](_0x2cfc1b['sessions']);if(_0x8ec056['localHold']){jabra[_0x1cd3('0x5d3')]();jabra[_0x1cd3('0x5e7')]();_0x2cfc1b[_0x1cd3('0x5e6')]=_0x8ec056;}else{jabra[_0x1cd3('0x602')]();}}}}function _0x2c8ea2(){_0x2cfc1b['canGoInConference']=![];_0x2cfc1b[_0x1cd3('0x599')]=![];_0x2cfc1b[_0x1cd3('0x646')]=[];}function _0x4f6aa7(_0x2d50d3,_0x50e847){console['debug'](_0x1cd3('0x647'),_0x2d50d3,_0x50e847);this[_0x1cd3('0x591')][_0x1cd3('0x63e')]();this['soundPlayer'][_0x1cd3('0x630')]=null;if(_0x2d50d3['notification']){_0x2d50d3[_0x1cd3('0x626')][_0x1cd3('0x3cf')]();}if(_0x2cfc1b[_0x1cd3('0x599')]){if(_[_0x1cd3('0x38f')](_0x2cfc1b[_0x1cd3('0x59a')],_0x2d50d3['id'])){_0x2c8ea2();}}if(_0x2cfc1b[_0x1cd3('0x5a5')]){_0x2cfc1b['originateInProgress']=![];}_['remove'](this[_0x1cd3('0x61d')],{'id':_0x2d50d3['id']});if(_0x2cfc1b[_0x1cd3('0x61d')]['length']!==0x2){_0x2cfc1b[_0x1cd3('0x641')]=![];}if(_0x2cfc1b['isJabraEnabled']){if(_0x2cfc1b['sessions'][_0x1cd3('0x7a')]===0x0){if(_0x2d50d3[_0x1cd3('0x62b')]){jabra[_0x1cd3('0x601')]();}jabra[_0x1cd3('0x5d3')]();_0x2cfc1b['jabraSession']=null;}else{var _0x5c0301=_[_0x1cd3('0x5df')](_0x2cfc1b[_0x1cd3('0x61d')]);if(_0x5c0301[_0x1cd3('0x62b')]){jabra[_0x1cd3('0x5d3')]();jabra[_0x1cd3('0x5e7')]();_0x2cfc1b[_0x1cd3('0x5e6')]=_0x5c0301;}else{jabra['offHook']();}}}}function _0x3d4a05(_0x5e3c69,_0x5cf44f){console[_0x1cd3('0x5f9')](_0x1cd3('0x648'),_0x5e3c69,_0x5cf44f);if(_0x5e3c69[_0x1cd3('0x618')]!==null){clearTimeout(_0x5e3c69[_0x1cd3('0x618')]);}_0x5e3c69['iceCandidateTimeout']=setTimeout(_0x5cf44f[_0x1cd3('0x649')],0x1*0x3e8);}function _0x5eb08e(){_0x2cfc1b[_0x1cd3('0x64a')]=![];}function _0xf821c0(_0xf44bc6,_0x32e24f){var _0x46bb4a=_0xf44bc6;if(!_0x2cfc1b['target']){_0x2cfc1b['target']='';}if(_0x32e24f){_0x2cfc1b['target']+=_0xf44bc6;_0x169689[_0x1cd3('0x46c')](_0x1cd3('0x64b'),_0x1cd3('0x64c'),_0x2cfc1b[_0x1cd3('0x365')]);}switch(_0xf44bc6){case'*':_0x46bb4a=_0x1cd3('0x64d');break;case'#':_0x46bb4a='pound';break;default:}if(_0x2cfc1b[_0x1cd3('0x58d')]['enableDtmfTone']){_0x2cfc1b[_0x1cd3('0x591')][_0x1cd3('0x481')](_0x1cd3('0x487'),'assets/ms-phonebar/sounds/dialpad/'+_0x46bb4a+_0x1cd3('0x64e'));_0x2cfc1b[_0x1cd3('0x591')]['play']()[_0x1cd3('0xfd')](function(_0x22d5b8){console[_0x1cd3('0x7d')](_0x22d5b8['message']);});}for(var _0x50f742=0x0;_0x50f742<_0x2cfc1b['sessions'][_0x1cd3('0x7a')];_0x50f742+=0x1){if(_0x2cfc1b['sessions'][_0x50f742][_0x1cd3('0x64f')]()&&!_0x2cfc1b[_0x1cd3('0x61d')][_0x50f742][_0x1cd3('0x650')]()[_0x1cd3('0x37a')]){_0x2cfc1b[_0x1cd3('0x61d')][_0x50f742][_0x1cd3('0x651')](_0xf44bc6);}}}function _0x232054(_0x16e38c,_0x490d28){switch(_0x16e38c){case _0x1cd3('0x5cd'):_0x2cfc1b['soundPlayer'][_0x1cd3('0x652')]=_0x2cfc1b[_0x1cd3('0x58d')][_0x1cd3('0x58c')];if(_0x2cfc1b[_0x1cd3('0x58d')]['ringingId']){_0x2cfc1b[_0x1cd3('0x591')][_0x1cd3('0x653')](_0x2cfc1b[_0x1cd3('0x58d')]['ringingId'])[_0x1cd3('0x77')](function(){_0x2cfc1b[_0x1cd3('0x591')][_0x1cd3('0x595')]=_0x2cfc1b[_0x1cd3('0x58d')][_0x1cd3('0x58a')];})[_0x1cd3('0x77')](function(){if(_0x490d28){_0x2ebec8();}})['catch'](function(_0x15b300){console[_0x1cd3('0x654')](_0x15b300[_0x1cd3('0x43a')],_0x2cfc1b[_0x1cd3('0x58d')]['ringingId']);});}break;case'speaker':_0x2cfc1b[_0x1cd3('0x592')]['muted']=_0x2cfc1b[_0x1cd3('0x58d')][_0x1cd3('0x655')];if(_0x2cfc1b[_0x1cd3('0x58d')][_0x1cd3('0x5ca')]){_0x2cfc1b[_0x1cd3('0x592')][_0x1cd3('0x653')](_0x2cfc1b[_0x1cd3('0x58d')][_0x1cd3('0x5ca')])[_0x1cd3('0x77')](function(){_0x2cfc1b['remotePlayer']['volume']=_0x2cfc1b[_0x1cd3('0x58d')][_0x1cd3('0x656')];})['then'](function(){if(_0x490d28){_0x2ebec8();}})['catch'](function(_0x1abba4){console[_0x1cd3('0x654')](_0x1abba4[_0x1cd3('0x43a')],_0x2cfc1b['conf'][_0x1cd3('0x5ca')]);});}break;case _0x1cd3('0x5c8'):for(var _0x534b2e=0x0;_0x534b2e<_0x2cfc1b[_0x1cd3('0x61d')][_0x1cd3('0x7a')];_0x534b2e+=0x1){if(_0x2cfc1b[_0x1cd3('0x58d')][_0x1cd3('0x5e5')]){_0x2cfc1b[_0x1cd3('0x61d')][_0x534b2e][_0x1cd3('0x5d6')]();}else{_0x2cfc1b[_0x1cd3('0x61d')][_0x534b2e][_0x1cd3('0x5d7')]();}}if(jabra&&_0x2cfc1b[_0x1cd3('0x5a8')]){if(_0x2cfc1b[_0x1cd3('0x58d')]['microphoneMute']){jabra[_0x1cd3('0x5d6')]();}else{jabra['unmute']();}}if(_0x490d28){_0x2ebec8();}break;default:console[_0x1cd3('0x7d')](_0x1cd3('0x657'));}}function _0x4e95ab(_0x20cb62){if(!_0x20cb62){_0x43f764();}else if(/^(\w|\.|\+|#|\*|\(|\)|\s|\-)*$/[_0x1cd3('0x658')](_0x20cb62)){_0x2cfc1b[_0x1cd3('0x365')]=_0x20cb62;_0x169689[_0x1cd3('0x46c')](_0x1cd3('0x64b'),'ms-target-wrap',_0x2cfc1b[_0x1cd3('0x365')]);}else{if(_0x2cfc1b[_0x1cd3('0x365')]){_0x169689[_0x1cd3('0x46c')](_0x1cd3('0x64b'),_0x1cd3('0x64c'),_0x2cfc1b[_0x1cd3('0x365')]);}else{_0x43f764();}}}function _0x43f764(){_0x2cfc1b[_0x1cd3('0x365')]='';document[_0x1cd3('0x593')](_0x1cd3('0x659'))['blur']();document[_0x1cd3('0x593')]('ms-target')[_0x1cd3('0x3db')]='';_0x169689['$broadcast']('angucomplete-alt:clearInput',_0x1cd3('0x64c'));}function _0x5cdb5c(_0x284b8d){if(_0x284b8d){_0x2cfc1b[_0x1cd3('0x365')]=_0x284b8d[_0x1cd3('0x65a')][_0x1cd3('0x365')];_0x2cfc1b['call']();_0x43f764();}}function _0x5aa6a3(){if(_0x2cfc1b[_0x1cd3('0x365')]&&_0x2cfc1b[_0x1cd3('0x365')]!==_0x2cfc1b[_0x1cd3('0x58d')][_0x1cd3('0x98')]&&_0x2cfc1b[_0x1cd3('0x365')]!==_0x2cfc1b[_0x1cd3('0x58d')][_0x1cd3('0x311')]){if(_0x2cfc1b[_0x1cd3('0x58d')][_0x1cd3('0x5c3')]){_0x2cfc1b['sessionConf'][_0x1cd3('0x5c7')]['audio']={'deviceId':_0x2cfc1b[_0x1cd3('0x58d')][_0x1cd3('0x5c3')]};}else{_0x2cfc1b['sessionConf'][_0x1cd3('0x5c7')][_0x1cd3('0x484')]=!![];}var _0x2a87e2=_0x2cfc1b['target'][_0x1cd3('0x3f1')](/ /g,'');_0x2a87e2=_0x2a87e2['replace'](/\(/g,'');_0x2a87e2=_0x2a87e2[_0x1cd3('0x3f1')](/\)/g,'');return _0x260051(_0x2a87e2)['then'](function(_0x932e79){if(_0x932e79){_0x2cfc1b['ua']['call'](_0x932e79,_0x2cfc1b[_0x1cd3('0x596')]);}})[_0x1cd3('0x77')](function(){_0x43f764();});}}function _0x260051(_0x11f127){return _0x34ae0c[_0x1cd3('0x368')][_0x1cd3('0x465')]({'id':_0x2cfc1b[_0x1cd3('0x58d')]['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x25288a){if(_0x25288a[_0x1cd3('0x466')]){return _0x46c805['show']({'controller':_0x1cd3('0x467'),'controllerAs':'vm','templateUrl':_0x1cd3('0x65b'),'parent':angular[_0x1cd3('0x37f')](_0x56813a[_0x1cd3('0x380')]),'clickOutsideToClose':!![],'locals':{'prefixes':_0x25288a,'required':_0x2cfc1b[_0x1cd3('0x58d')][_0x1cd3('0x468')]}});}})[_0x1cd3('0x77')](function(_0x4dbc6b){if(!_0x2cfc1b[_0x1cd3('0x58d')][_0x1cd3('0x468')]){if(_0x4dbc6b&&_0x4dbc6b!==-0x1){return _0x4dbc6b+_0x11f127;}else if(!_0x4dbc6b){return _0x11f127;}}else{if(_0x4dbc6b&&_0x4dbc6b!==-0x1){return _0x4dbc6b+_0x11f127;}}});}function _0x11b0ee(_0x35f2c3){switch(_0x35f2c3['key'][_0x1cd3('0x433')]()){case'0':case'1':case'2':case'3':case'4':case'5':case'6':case'7':case'8':case'9':case'*':case'#':_0x2cfc1b['type'](_0x35f2c3[_0x1cd3('0x65c')]);break;case'enter':_0x2cfc1b[_0x1cd3('0x46d')]();break;default:}}function _0x21023b(){_0x2cfc1b[_0x1cd3('0x64a')]=!_0x2cfc1b['showDialpad'];}_0x56813a[_0x1cd3('0x5b2')](_0x1cd3('0x65d'),function(_0x218063){switch(_0x218063[_0x1cd3('0x65e')]){case 0x1b:_0x31db9a(function(){_0x2cfc1b[_0x1cd3('0x64a')]=![];});break;default:}});function _0x4facbe(){_0x2cfc1b[_0x1cd3('0x599')]=!![];_0x2cfc1b[_0x1cd3('0x641')]=![];_0x2cfc1b[_0x1cd3('0x59a')]['push'](_0x2cfc1b['sessions'][0x0]['id']);_0x2cfc1b[_0x1cd3('0x59a')][_0x1cd3('0x7b')](_0x2cfc1b[_0x1cd3('0x61d')][0x1]['id']);var _0x3164a7=new AudioContext();var _0x33a262=_0x2cfc1b[_0x1cd3('0x61d')][0x0]['connection'][_0x1cd3('0x65f')]()[0x0];var _0x57c823=_0x2cfc1b['sessions'][0x0][_0x1cd3('0x617')]['getReceivers']()[0x0];_0x57c823[_0x1cd3('0x660')]['addEventListener']('unmute',function(_0x16ee9b){setTimeout(function(){_0xdfe472();},0x3e8);},![]);var _0x436a6d=_0x2cfc1b[_0x1cd3('0x61d')][0x1][_0x1cd3('0x617')][_0x1cd3('0x65f')]()[0x0];var _0x328055=_0x2cfc1b['sessions'][0x1][_0x1cd3('0x617')][_0x1cd3('0x661')]()[0x0];_0x328055[_0x1cd3('0x660')][_0x1cd3('0x5d4')](_0x1cd3('0x5d7'),function(_0xe6e91c){setTimeout(function(){_0xdfe472();},0x3e8);},![]);_0x2cfc1b['sessions'][0x0][_0x1cd3('0x662')]({'useUpdate':![]});_0x2cfc1b[_0x1cd3('0x61d')][0x1][_0x1cd3('0x662')]({'useUpdate':![]});_0x57c823[_0x1cd3('0x660')][_0x1cd3('0x396')]=!![];_0x328055[_0x1cd3('0x660')][_0x1cd3('0x396')]=!![];var _0x16df22=new MediaStream();var _0x4d8397=_0x3164a7[_0x1cd3('0x663')]();var _0x3164a7=new AudioContext();var _0x4d8397=_0x3164a7[_0x1cd3('0x663')]();var _0x1c3853=_0x3164a7['createMediaStreamSource'](new MediaStream([_0x328055['track']]));_0x1c3853[_0x1cd3('0x664')](_0x4d8397);var _0x1c3853=_0x3164a7[_0x1cd3('0x665')](new MediaStream([_0x33a262['track']]));_0x1c3853[_0x1cd3('0x664')](_0x4d8397);_0x33a262[_0x1cd3('0x666')](_0x4d8397[_0x1cd3('0x643')][_0x1cd3('0x5ba')]()[0x0])['then'](function(){});_0x4d8397=_0x3164a7['createMediaStreamDestination']();var _0x1c3853=_0x3164a7[_0x1cd3('0x665')](new MediaStream([_0x57c823[_0x1cd3('0x660')]]));_0x1c3853[_0x1cd3('0x664')](_0x4d8397);var _0x1c3853=_0x3164a7[_0x1cd3('0x665')](new MediaStream([_0x436a6d[_0x1cd3('0x660')]]));_0x1c3853[_0x1cd3('0x664')](_0x4d8397);_0x436a6d['replaceTrack'](_0x4d8397['stream']['getTracks']()[0x0])[_0x1cd3('0x77')](function(){_0x16df22[_0x1cd3('0x667')](_0x57c823['track']);_0x16df22[_0x1cd3('0x667')](_0x328055[_0x1cd3('0x660')]);var _0x840274=document[_0x1cd3('0x593')](_0x1cd3('0x668'));_0x840274[_0x1cd3('0x669')]=_0x16df22;var _0x29f61c=_0x840274[_0x1cd3('0x48b')]();if(_0x29f61c!==undefined){_0x29f61c[_0x1cd3('0x77')](function(){})[_0x1cd3('0xfd')](function(_0x139659){console['log'](_0x139659);});}});}function _0xdfe472(){if(_0x2cfc1b[_0x1cd3('0x599')]){var _0x2466fe=_0x2cfc1b[_0x1cd3('0x61d')][0x0][_0x1cd3('0x617')][_0x1cd3('0x661')]()[0x0];var _0x487b33=_0x2cfc1b[_0x1cd3('0x61d')][0x1][_0x1cd3('0x617')][_0x1cd3('0x661')]()[0x0];var _0x1c00e9=new MediaStream();_0x1c00e9[_0x1cd3('0x667')](_0x2466fe[_0x1cd3('0x660')]);_0x1c00e9[_0x1cd3('0x667')](_0x487b33[_0x1cd3('0x660')]);var _0x42325d=document[_0x1cd3('0x593')](_0x1cd3('0x668'));_0x42325d[_0x1cd3('0x669')]=_0x1c00e9;var _0x49cdd3=_0x42325d[_0x1cd3('0x48b')]();if(_0x49cdd3!==undefined){_0x49cdd3[_0x1cd3('0x77')](function(){})[_0x1cd3('0xfd')](function(_0x59a4bb){console[_0x1cd3('0x7d')](_0x59a4bb);});}}}function _0x439e94(_0x5fd982){console[_0x1cd3('0x5f9')](_0x1cd3('0x66a'),_0x5fd982);_0x2cfc1b[_0x1cd3('0x662')](_0x5fd982);}function _0x1654b5(_0x5d1e2f){console[_0x1cd3('0x5f9')](_0x1cd3('0x66b'),_0x5d1e2f);_0x5d1e2f[_0x1cd3('0x662')]({'useUpdate':![]});_0x2cfc1b[_0x1cd3('0x62e')](_0x5d1e2f);if(_0x2cfc1b[_0x1cd3('0x5a8')]){jabra['offHook']();jabra[_0x1cd3('0x601')]();}}function _0x42027c(_0x5282f6){console[_0x1cd3('0x5f9')](_0x1cd3('0x66c'),_0x5282f6);_0x46c805[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x66d'),'controllerAs':'vm','templateUrl':_0x1cd3('0x66e'),'parent':angular[_0x1cd3('0x37f')](_0x56813a[_0x1cd3('0x380')]),'clickOutsideToClose':!![],'locals':{'session':_0x5282f6,'sessions':_0x2cfc1b[_0x1cd3('0x61d')]}});}function _0x211413(_0xc2c99c){console['debug'](_0x1cd3('0x66f'),_0xc2c99c);_0xc2c99c[_0x1cd3('0x5e7')]({'useUpdate':![]});if(_0x2cfc1b['isJabraEnabled']){jabra['hold']();jabra[_0x1cd3('0x5d3')]();}}function _0x5597a4(_0x1244b0){console[_0x1cd3('0x5f9')](_0x1cd3('0x670'),_0x1244b0);var _0xf7b5c3=_0x46c805[_0x1cd3('0x671')]()[_0x1cd3('0x486')]('Transfer')['textContent']('Type\x20the\x20target')['placeholder'](_0x1cd3('0x672'))['ariaLabel'](_0x1cd3('0x672'))['ok'](_0x1cd3('0x673'))[_0x1cd3('0x4d8')](_0x1cd3('0x674'));_0x46c805[_0x1cd3('0x37e')](_0xf7b5c3)[_0x1cd3('0x77')](function(_0x414290){return _0x260051(_0x414290);})['then'](function(_0xc94575){_0x1244b0[_0x1cd3('0x675')](_0xc94575,{'eventHandlers':{'requestSucceeded':_0x57a785(_0x1244b0,'requestSucceeded',_0x1cd3('0x676'),0xbb8),'requestFailed':_0x57a785(_0x1244b0,'requestFailed',_0x1cd3('0x676'),0xbb8)}});});}function _0x57a785(_0x2cb69a,_0x52f64c,_0x55e44f,_0x382276){console[_0x1cd3('0x5f9')]('onReferCallback\x20->\x20session,\x20textContent,\x20position,\x20delay',_0x2cb69a,_0x52f64c,_0x55e44f,_0x382276);return function(){_0x321054[_0x1cd3('0x37e')](_0x321054[_0x1cd3('0x677')]()[_0x1cd3('0x678')](_0x52f64c)[_0x1cd3('0x679')](_0x55e44f)[_0x1cd3('0x67a')](_0x382276));_0x541ab4(_0x2cb69a);};}function _0x5be412(_0x1c46b5){console[_0x1cd3('0x5f9')](_0x1cd3('0x67b'),_0x1c46b5);_0x46c805[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x67c'),'controllerAs':'vm','templateUrl':_0x1cd3('0x67d'),'parent':angular[_0x1cd3('0x37f')](_0x56813a[_0x1cd3('0x380')]),'clickOutsideToClose':!![],'locals':{'session':_0x1c46b5,'sessions':_['reject'](_0x2cfc1b[_0x1cd3('0x61d')],{'id':_0x1c46b5['id']}),'isJabraEnabled':_0x2cfc1b[_0x1cd3('0x5a8')]}});}function _0x32b61d(_0xf2e2e9){console['debug'](_0x1cd3('0x67e'),_0xf2e2e9);if(_0x2cfc1b[_0x1cd3('0x61d')][_0x1cd3('0x7a')]>0x1){for(var _0xa444f1=0x0;_0xa444f1<_0x2cfc1b['sessions'][_0x1cd3('0x7a')];_0xa444f1+=0x1){if(_0x2cfc1b[_0x1cd3('0x61d')][_0xa444f1]['id']!==_0xf2e2e9['id']&&!_0x2cfc1b['sessions'][_0xa444f1][_0x1cd3('0x650')]()[_0x1cd3('0x603')]){_0x2cfc1b[_0x1cd3('0x61d')][_0xa444f1]['hold']({'useUpdate':![]});}}}}function _0x132617(_0xc32e64){_0x46c805['show']({'controller':_0x1cd3('0x67f'),'controllerAs':'vm','templateUrl':_0x1cd3('0x680'),'parent':angular[_0x1cd3('0x37f')](_0x56813a[_0x1cd3('0x380')]),'targetEvent':_0xc32e64,'clickOutsideToClose':!![],'resolve':{'devices':function(){return navigator[_0x1cd3('0x5a6')][_0x1cd3('0x5bc')]();}},'locals':{'conf':_0x2cfc1b[_0x1cd3('0x58d')]}})[_0x1cd3('0x77')](function(_0x3e4e92){if(_0x3e4e92){_0x2cfc1b[_0x1cd3('0x58d')]=_0x3e4e92;if(!_0x2cfc1b[_0x1cd3('0x5a2')]){_0x2cfc1b[_0x1cd3('0x5a2')]=!![];if(jabra&&_0x2cfc1b[_0x1cd3('0x5a7')]){jabra[_0x1cd3('0x681')]()[_0x1cd3('0x77')](function(){_0x2cfc1b[_0x1cd3('0x5a7')]=![];_0x2cfc1b[_0x1cd3('0x5a8')]=![];_0x51af49(![]);})[_0x1cd3('0xfd')](function(_0x43fb30){console['error'](_0x1cd3('0x5a9'),_0x43fb30);});}else{_0x51af49(![]);}}}});}function _0x2f3d28(){_0x2cfc1b['ua'][_0x1cd3('0x5bb')]();if(jabra&&_0x2cfc1b['isJabraInitialized']){jabra[_0x1cd3('0x681')]();}navigator[_0x1cd3('0x5a6')][_0x1cd3('0x682')]=function(_0x563f34){};}function _0x3b1a0b(_0x4c918f,_0x2faad5){console[_0x1cd3('0x5f9')](_0x1cd3('0x683'),_0x4c918f,_0x2faad5);if(_0x2faad5[_0x1cd3('0x365')]){_0x2cfc1b[_0x1cd3('0x365')]=_0x2faad5[_0x1cd3('0x365')];_0x2cfc1b[_0x1cd3('0x46d')]();}}function _0x4cc33d(_0x533305,_0x2b2bfa){console[_0x1cd3('0x5f9')](_0x1cd3('0x684'),_0x533305,_0x2b2bfa);if(_0x2b2bfa['target']){for(var _0x35eaab=0x0;_0x35eaab<_0x2cfc1b['sessions'][_0x1cd3('0x7a')];_0x35eaab+=0x1){if(_0x2cfc1b[_0x1cd3('0x61d')][_0x35eaab][_0x1cd3('0x64f')]()&&!_0x2cfc1b[_0x1cd3('0x61d')][_0x35eaab]['isOnHold']()['local']){return _0x260051(_0x2b2bfa[_0x1cd3('0x365')])['then'](function(_0x46e01c){if(_0x46e01c){_0x2cfc1b[_0x1cd3('0x61d')][_0x35eaab]['refer'](_0x46e01c,{'eventHandlers':{'requestSucceeded':_0x57a785(_0x2cfc1b['sessions'][_0x35eaab],_0x1cd3('0x685'),_0x1cd3('0x676'),0xbb8),'requestFailed':_0x57a785(_0x2cfc1b['sessions'][_0x35eaab],_0x1cd3('0x686'),'top\x20right',0xbb8)}});}});}}}}function _0x35890b(){return new Promise(function(_0x2a919e,_0x40d80e){var _0x10f2b2=null;for(var _0x3c0a87=0x0;_0x3c0a87<_0x2cfc1b['sessions'][_0x1cd3('0x7a')];_0x3c0a87++){if(!_['has'](_0x2cfc1b[_0x1cd3('0x61d')][_0x3c0a87],'localHold')){_0x10f2b2=_0x2cfc1b['sessions'][_0x3c0a87];}else{if(!_0x2cfc1b[_0x1cd3('0x61d')][_0x3c0a87]['localHold']){_0x10f2b2=_0x2cfc1b[_0x1cd3('0x61d')][_0x3c0a87];}}}_0x2a919e(_0x10f2b2);});}function _0x2cd8b5(_0x205825){console[_0x1cd3('0x5f9')](_0x1cd3('0x687'),_0x205825);var _0x2aca80=_0x205825[_0x1cd3('0x688')];var _0x38bc8b=_0x205825[_0x1cd3('0x689')];var _0x5a4809=_0x205825[_0x1cd3('0x68a')];if(_0x2cfc1b[_0x1cd3('0x58d')][_0x1cd3('0x5c3')]){_0x2cfc1b[_0x1cd3('0x596')][_0x1cd3('0x5c7')]['audio']={'deviceId':_0x2cfc1b[_0x1cd3('0x58d')]['microphoneId']};}else{_0x2cfc1b[_0x1cd3('0x596')][_0x1cd3('0x5c7')][_0x1cd3('0x484')]=!![];}var _0x30fbe4=_0x2aca80['replace'](/ /g,'');_0x30fbe4=_0x30fbe4[_0x1cd3('0x3f1')](/\(/g,'');_0x30fbe4=_0x30fbe4['replace'](/\)/g,'');if(_0x30fbe4){var _0x1ea22d=_0x2cfc1b[_0x1cd3('0x596')];_0x1ea22d[_0x1cd3('0x600')]=[];if(_0x38bc8b){_0x1ea22d[_0x1cd3('0x600')]['push'](_0x1cd3('0x68b')+_0x38bc8b);}if(_0x5a4809){_0x1ea22d['extraHeaders']['push'](_0x1cd3('0x68c')+_0x5a4809);}_0x2cfc1b[_0x1cd3('0x5a5')]=!![];_0x2cfc1b['ua'][_0x1cd3('0x46d')](_0x30fbe4,_0x1ea22d);}}function _0x5b5392(_0x42e631){console['debug'](_0x1cd3('0x68d'),_0x42e631);var _0x105283=_0x2cfc1b[_0x1cd3('0x61d')];if(_0x42e631['sessionId']){_0x105283=[];_0x105283[_0x1cd3('0x7b')](_0x982bf3(_0x42e631['sessionId']));if(_0x105283[_0x1cd3('0x7a')]==0x0){console[_0x1cd3('0x5d9')]('call\x20with\x20session\x20Id\x20'+sessionId+_0x1cd3('0x68e'));return;}}for(var _0xc052bd=0x0;_0xc052bd<_0x105283[_0x1cd3('0x7a')];_0xc052bd++){var _0x1c3187=_0x105283[_0xc052bd];console[_0x1cd3('0x7d')](_0x1cd3('0x68f'),_0x1c3187);_0x2cfc1b[_0x1cd3('0x62a')](_0x1c3187);}}function _0x50c437(_0x3dc94b){console[_0x1cd3('0x5f9')](_0x1cd3('0x690'),_0x3dc94b);var _0x1478fb=_0x55b719();if(_0x3dc94b['sessionId']){var _0x1ddaa1=_0x982bf3(_0x3dc94b[_0x1cd3('0x691')]);if(!_0x1ddaa1){console[_0x1cd3('0x5d9')](_0x1cd3('0x692')+sessionId+_0x1cd3('0x68e'));return;}_0x1478fb=[_0x1ddaa1];}for(var _0xf68bcb=0x0;_0xf68bcb<_0x1478fb['length'];_0xf68bcb++){var _0x385bed=_0x1478fb[_0xf68bcb];_0x2cfc1b['answer'](_0x385bed);}}function _0x55b719(){var _0x1c942f=_[_0x1cd3('0x442')](_0x2cfc1b['sessions'],function(_0x34f76b){return _0x34f76b[_0x1cd3('0x693')]&&!_0x34f76b[_0x1cd3('0x619')];});return _0x1c942f;}function _0x60820(_0x6622a){console[_0x1cd3('0x5f9')](_0x1cd3('0x694'),_0x6622a);var _0x200d10=_0x2cfc1b[_0x1cd3('0x61d')];if(_0x6622a[_0x1cd3('0x691')]){_0x200d10=[];_0x200d10['push'](_0x982bf3(_0x6622a[_0x1cd3('0x691')]));if(_0x200d10[_0x1cd3('0x7a')]==0x0){console[_0x1cd3('0x5d9')](_0x1cd3('0x692')+sessionId+_0x1cd3('0x68e'));return;}}for(var _0x5f47fa=0x0;_0x5f47fa<_0x200d10[_0x1cd3('0x7a')];_0x5f47fa++){var _0x17ec93=_0x200d10[_0x5f47fa];_0x2cfc1b['hold'](_0x17ec93);}}function _0x43a519(_0x4ba41a){console[_0x1cd3('0x5f9')](_0x1cd3('0x694'),_0x4ba41a);if(!_0x4ba41a[_0x1cd3('0x691')]){console[_0x1cd3('0x434')]('sessionId\x20required');return;}var _0x2475b7=_0x982bf3(_0x4ba41a[_0x1cd3('0x691')]);if(!_0x2475b7){console[_0x1cd3('0x5d9')](_0x1cd3('0x692')+sessionId+_0x1cd3('0x68e'));return;}_0x2cfc1b[_0x1cd3('0x662')](_0x2475b7);}function _0x10c7df(_0x23c8ed){console[_0x1cd3('0x5f9')]('transferHook\x20->\x20payload',_0x23c8ed);if(!_0x23c8ed['sessionId']){console[_0x1cd3('0x434')](_0x1cd3('0x695'));return;}if(!_0x23c8ed[_0x1cd3('0x696')]){console['error'](_0x1cd3('0x697'));return;}var _0x6a4601=_0x982bf3(_0x23c8ed[_0x1cd3('0x691')]);if(!_0x6a4601){console[_0x1cd3('0x5d9')](_0x1cd3('0x692')+sessionId+_0x1cd3('0x68e'));return;}_0x6a4601['refer'](_0x23c8ed['transferNumber'],{'eventHandlers':{'requestSucceeded':_0x57a785(_0x6a4601,'requestSucceeded',_0x1cd3('0x676'),0xbb8),'requestFailed':_0x57a785(_0x6a4601,_0x1cd3('0x686'),'top\x20right',0xbb8)}});}function _0x982bf3(_0x3383bc){console[_0x1cd3('0x5f9')](_0x1cd3('0x698'),_0x3383bc,_0x2cfc1b[_0x1cd3('0x61d')]);var _0x5b8d7b=_[_0x1cd3('0x442')](_0x2cfc1b['sessions'],function(_0x129449){return _0x129449[_0x1cd3('0x612')]==_0x3383bc;});return _0x5b8d7b;}function _0x18cda9(_0x2b4fda,_0x46020f){console['debug']('callCallback\x20->\x20url,\x20params',_0x2b4fda,_0x46020f);return _0x599a8c({'url':_0x2b4fda,'method':'GET','params':_0x46020f});}function _0x30a2e1(_0x1dfa0c,_0x1ac45d,_0x150e69){var _0x30678f=_[_0x1cd3('0x442')](_0x1dfa0c,function(_0x181d0d){return _['startsWith'](_0x181d0d,_0x1ac45d);});if(_0x30678f){return _['trim'](_0x30678f[_0x1cd3('0x3f1')](_0x1ac45d,'')[_0x1cd3('0x3f1')](_0x150e69||':',''));}return![];}_0x2cfc1b[_0x1cd3('0x699')]=_0x2b6a68[_0x1cd3('0x5b2')](this);_0x2cfc1b[_0x1cd3('0x424')]=_0xf821c0;_0x2cfc1b[_0x1cd3('0x46d')]=_0x5aa6a3;_0x2cfc1b[_0x1cd3('0x5e7')]=_0x211413;_0x2cfc1b['refer']=_0x5597a4;_0x2cfc1b[_0x1cd3('0x69a')]=_0x42027c;_0x2cfc1b['unhold']=_0x1654b5;_0x2cfc1b[_0x1cd3('0x5e2')]=_0x45253f;_0x2cfc1b[_0x1cd3('0x62a')]=_0x541ab4;_0x2cfc1b[_0x1cd3('0x69b')]=_0x439e94;_0x2cfc1b[_0x1cd3('0x69c')]=_0x11b0ee;_0x2cfc1b['toggleDialpad']=_0x21023b;_0x2cfc1b[_0x1cd3('0x69d')]=_0x5be412;_0x2cfc1b['closeDialpad']=_0x5eb08e;_0x2cfc1b['initDevice']=_0x232054;_0x2cfc1b[_0x1cd3('0x62e')]=_0x32b61d;_0x2cfc1b['targetChanged']=_0x4e95ab;_0x2cfc1b[_0x1cd3('0x69e')]=_0x5cdb5c;_0x2cfc1b[_0x1cd3('0x69f')]=_0x4facbe;_0x2cfc1b[_0x1cd3('0x6a0')]=_0xdfe472;_0x169689[_0x1cd3('0x4d3')](_0x1cd3('0x6a1'),_0x132617);_0x169689[_0x1cd3('0x4d3')]('webrtc::logout',_0x2f3d28);_0x169689[_0x1cd3('0x4d3')](_0x1cd3('0x6a2'),_0x3b1a0b);_0x169689[_0x1cd3('0x4d3')](_0x1cd3('0x471'),_0x4cc33d);_0x169689[_0x1cd3('0x4d3')]('$destroy',function(){console[_0x1cd3('0x5f9')]('$destroy\x20event\x20fired');_0x286f4e[_0x1cd3('0x6a3')](_0x1cd3('0x5b5'));_0x286f4e[_0x1cd3('0x6a3')](_0x1cd3('0x6a4'));_0x286f4e[_0x1cd3('0x6a3')]('webbar:answer');_0x286f4e['removeAllListeners']('webbar:hold');_0x286f4e['removeAllListeners']('webbar:unhold');_0x286f4e[_0x1cd3('0x6a3')](_0x1cd3('0x5b8'));});}function _0x2340e2(){return{'restrict':'E','scope':{'conf':'='},'require':_0x1cd3('0x6a5'),'controller':'MsPhonebarController','controllerAs':_0x1cd3('0x6a6'),'bindToController':!![],'templateUrl':'assets/ms-phonebar/ms-phonebar.html'};}angular[_0x1cd3('0x0')](_0x1cd3('0x27'))[_0x1cd3('0x39b')](_0x1cd3('0x6a7'),_0x3d4adb)[_0x1cd3('0x3e5')](_0x1cd3('0x6a5'),_0x2340e2);}());(function(){'use strict';_0x132d01[_0x1cd3('0xc')]=['$mdDialog',_0x1cd3('0x6a8'),_0x1cd3('0x6a9')];angular[_0x1cd3('0x0')](_0x1cd3('0x27'))[_0x1cd3('0x39b')](_0x1cd3('0x467'),_0x132d01);function _0x132d01(_0x5627e4,_0x5e11e2,_0x27da33){var _0x570e7d=this;_0x570e7d[_0x1cd3('0x6a8')]=_0x5e11e2;_0x570e7d[_0x1cd3('0x6a9')]=_0x27da33;_0x570e7d[_0x1cd3('0x39c')]=_0x5788b9;_0x570e7d[_0x1cd3('0x46d')]=_0x5d16b4;function _0x5d16b4(){_0x5627e4[_0x1cd3('0x39d')](_0x570e7d[_0x1cd3('0x6aa')]);}function _0x5788b9(_0xf4f141){_0x5627e4[_0x1cd3('0x39d')](_0xf4f141);}}}());(function(){'use strict';_0x2e0e88[_0x1cd3('0xc')]=[_0x1cd3('0x3e7')];_0x38b60d[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),'$q','api',_0x1cd3('0x61d'),_0x1cd3('0x5fb')];angular[_0x1cd3('0x0')]('app.core')['directive'](_0x1cd3('0x6ab'),_0x2e0e88)['controller'](_0x1cd3('0x66d'),_0x38b60d);function _0x2e0e88(_0x5d0ae0){return{'restrict':'C','controller':[_0x1cd3('0x460'),_0x1cd3('0x53d'),function(_0x513715,_0x347765){function _0x1442cc(){_0x347765[_0x1cd3('0x4e1')](_0x1cd3('0x6ac'),_0x1cd3('0x6ad'));_0x5d0ae0(_0x446905,0x3e8);}function _0x446905(){_0x347765[_0x1cd3('0x4e1')](_0x1cd3('0x6ac'),_0x1cd3('0x6ae'));_0x5d0ae0(_0x1442cc,0x3e8);}_0x1442cc();}],'replace':!![]};}function _0x38b60d(_0x25a16d,_0x3e78d1,_0x3eeef7,_0x251327,_0x37c51d){var _0x22559d=this;_0x22559d[_0x1cd3('0x486')]=_0x1cd3('0x6af');_0x22559d[_0x1cd3('0x61d')]=_0x251327;_0x22559d[_0x1cd3('0x5fb')]=_0x37c51d;_0x22559d[_0x1cd3('0x39c')]=_0xa9f869;_0x22559d[_0x1cd3('0x6b0')]=_0x1b039c;_0x22559d[_0x1cd3('0x5bb')]=_0x54aec2;_0x22559d['start']=_0x4c88e2;function _0x2c60fc(){function _0x4d3587(){return Math[_0x1cd3('0x6b1')]((0x1+Math[_0x1cd3('0x6b2')]())*0x10000)[_0x1cd3('0x43b')](0x10)['substring'](0x1);}return _0x4d3587()+_0x4d3587()+'-'+_0x4d3587()+'-'+_0x4d3587()+'-'+_0x4d3587()+'-'+_0x4d3587()+_0x4d3587()+_0x4d3587();}function _0x4c88e2(_0x356b20,_0x174673){console[_0x1cd3('0x7d')](_0x1cd3('0x6b3'));var _0x5dbb6f=_0x3e78d1[_0x1cd3('0x53a')]();var _0x3b9eea=_0x174673||_0x356b20['filename'][_0x1cd3('0x3f1')](/^.*[\\\/]/,'');var _0x40eda7=_0x3b9eea[_0x1cd3('0x3ef')]('.')[0x0];_0x3eeef7['rpc']['startMonitor']({'uniqueid':_0x22559d[_0x1cd3('0x5fb')][_0x1cd3('0x6b4')],'filename':_0x40eda7,'format':_0x1cd3('0x6b5')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x4a3c76){_0x356b20[_0x1cd3('0x6b6')]=_0x40eda7+_0x1cd3('0x6b7');_0x356b20[_0x1cd3('0x6b8')]=_0x4a3c76[_0x1cd3('0x6b8')];_0x356b20[_0x1cd3('0x3a6')]=_0x1cd3('0x6b9');_0x22559d[_0x1cd3('0x5fb')][_0x1cd3('0x637')]=!![];_0x5dbb6f[_0x1cd3('0x58')](_0x356b20);})['catch'](function(_0x215d79){_0x5dbb6f['reject'](_0x215d79);});return _0x5dbb6f[_0x1cd3('0x539')];}function _0x54aec2(_0x37c744){console[_0x1cd3('0x7d')](_0x1cd3('0x6ba'));return _0x3eeef7[_0x1cd3('0x633')][_0x1cd3('0x6ba')]({'uniqueid':_0x22559d['session'][_0x1cd3('0x6b4')],'mixmonitorid':_0x37c744['mixmonitorid']})['$promise'][_0x1cd3('0x77')](function(_0x38d5e4){_0x37c744[_0x1cd3('0x3a6')]='pause';_0x22559d['session'][_0x1cd3('0x637')]=_[_0x1cd3('0x38f')](_0x22559d[_0x1cd3('0x5fb')][_0x1cd3('0x638')],{'status':'rec'});})[_0x1cd3('0xfd')](function(_0x1d24fd){console[_0x1cd3('0x434')](_0x1d24fd);});}function _0x1b039c(){var _0x3a38a8=_0x25a16d['prompt']({'skipHide':!![]})[_0x1cd3('0x486')](_0x1cd3('0x6bb'))[_0x1cd3('0x678')](_0x1cd3('0x6bc'))[_0x1cd3('0x499')](_0x1cd3('0x6bd'))['ariaLabel'](_0x1cd3('0x6bd'))[_0x1cd3('0x6be')](_0x2c60fc())['ok'](_0x1cd3('0x6bf'))[_0x1cd3('0x4d8')](_0x1cd3('0x674'));_0x25a16d[_0x1cd3('0x37e')](_0x3a38a8)['then'](function(_0x5028c2){return _0x4c88e2({},_0x5028c2);})['then'](function(_0x442e4d){_0x22559d[_0x1cd3('0x5fb')][_0x1cd3('0x638')][_0x1cd3('0x7b')](_0x442e4d);});}function _0xa9f869(){_0x25a16d[_0x1cd3('0x39d')]();}}}());(function(){'use strict';_0x4f434a[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),_0x1cd3('0x586'),'sessions',_0x1cd3('0x5fb'),_0x1cd3('0x5a8')];angular[_0x1cd3('0x0')](_0x1cd3('0x27'))[_0x1cd3('0x39b')](_0x1cd3('0x67c'),_0x4f434a);function _0x4f434a(_0x200760,_0xbb2fcb,_0x3144cd,_0x5af281,_0x338a26){var _0x7d8091=this;_0x7d8091[_0x1cd3('0x486')]='Refer\x20Attended';_0x7d8091[_0x1cd3('0x61d')]=_0x3144cd;_0x7d8091[_0x1cd3('0x5fb')]=_0x5af281;_0x7d8091[_0x1cd3('0x5a8')]=_0x338a26;_0x7d8091[_0x1cd3('0x6c0')]=null;if(_0x3144cd[_0x1cd3('0x7a')]){_0x7d8091[_0x1cd3('0x365')]=_0x3144cd[0x0][_0x1cd3('0x368')];}_0x7d8091[_0x1cd3('0x39c')]=_0x966f3f;_0x7d8091[_0x1cd3('0x46e')]=_0x10430f;function _0x10430f(){var _0x34fc03,_0x470ea0;var _0x30d3a0=_['find'](_0x3144cd,function(_0x4007b8){if(_0x4007b8[_0x1cd3('0x368')]===_0x7d8091['target']){return _0x4007b8;}});if(_0x30d3a0[_0x1cd3('0x5fd')]){_0x34fc03=_0x30d3a0;_0x470ea0=_0x7d8091[_0x1cd3('0x5fb')];}else{_0x34fc03=_0x7d8091[_0x1cd3('0x5fb')];_0x470ea0=_0x30d3a0;}_0x470ea0['refer'](_0x34fc03[_0x1cd3('0x368')],{'replaces':_0x34fc03,'eventHandlers':{'requestSucceeded':_0x194d84(_0x5af281,_0x1cd3('0x685'),_0x1cd3('0x676'),0xbb8,_0x7d8091[_0x1cd3('0x5a8')]),'requestFailed':_0x194d84(_0x5af281,_0x1cd3('0x686'),_0x1cd3('0x676'),0xbb8,_0x7d8091[_0x1cd3('0x5a8')])}});}function _0x194d84(_0x508edf,_0x26be7f,_0x9d2aa5,_0x383303,_0x56cf1c){console[_0x1cd3('0x5f9')](_0x1cd3('0x6c1'),_0x508edf,_0x26be7f,_0x9d2aa5,_0x383303);return function(){_0xbb2fcb[_0x1cd3('0x37e')](_0xbb2fcb[_0x1cd3('0x677')]()[_0x1cd3('0x678')](_0x26be7f)['position'](_0x9d2aa5)['hideDelay'](_0x383303));_0x508edf[_0x1cd3('0x62a')]();if(jabra&&_0x56cf1c){jabra[_0x1cd3('0x5d3')]();}_0x966f3f();};}function _0x966f3f(_0x528cde){_0x200760[_0x1cd3('0x39d')](_0x528cde);}}}());(function(){'use strict';_0x36aecf['$inject']=[_0x1cd3('0x3c5'),_0x1cd3('0x58d'),_0x1cd3('0x6c2')];angular['module']('app.toolbar')[_0x1cd3('0x39b')](_0x1cd3('0x67f'),_0x36aecf);function _0x36aecf(_0x382242,_0x3c3802,_0x285787){var _0x3be023=this;_[_0x1cd3('0x383')](_0x285787,function(_0x4466c6){return _0x4466c6['kind']===_0x1cd3('0x5c1')&&(_0x4466c6[_0x1cd3('0x5bf')]==='default'||_0x4466c6[_0x1cd3('0x5bf')]===_0x1cd3('0x5be'))||_0x4466c6['kind']==='audiooutput'&&(_0x4466c6[_0x1cd3('0x5bf')]===_0x1cd3('0x5bd')||_0x4466c6[_0x1cd3('0x5bf')]===_0x1cd3('0x5be'));});_0x3c3802['ringingId']=_0x5965c8(_0x285787,_0x1cd3('0x5c9'),'ringingId');_0x3c3802[_0x1cd3('0x5ca')]=_0x5965c8(_0x285787,_0x1cd3('0x5c9'),_0x1cd3('0x5ca'));_0x3c3802[_0x1cd3('0x5c3')]=_0x5965c8(_0x285787,_0x1cd3('0x5c1'),'microphoneId');_0x3c3802[_0x1cd3('0x58a')]=_0x3c3802[_0x1cd3('0x58a')]||0.5;_0x3c3802[_0x1cd3('0x656')]=_0x3c3802[_0x1cd3('0x656')]||0.5;_0x3c3802[_0x1cd3('0x58b')]=_0x3c3802[_0x1cd3('0x58b')]||0x1;_0x3c3802[_0x1cd3('0x58c')]=_0x3c3802[_0x1cd3('0x58c')]||![];_0x3c3802[_0x1cd3('0x655')]=_0x3c3802['speakerMute']||![];_0x3c3802[_0x1cd3('0x5e5')]=_0x3c3802[_0x1cd3('0x5e5')]||![];_0x3be023[_0x1cd3('0x58d')]=angular['copy'](_0x3c3802);_0x3be023[_0x1cd3('0x6c2')]=_0x285787;_0x3be023['saveSettings']=_0x4b4d26;_0x3be023[_0x1cd3('0x39c')]=_0x40d8b7;_0x3be023['isCompatibleBrowser']=_0x36bd3d;function _0x36bd3d(){return _0x3be023[_0x1cd3('0x58d')][_0x1cd3('0x5f6')][_0x1cd3('0x433')]()===_0x1cd3('0x5f5')||_0x3be023[_0x1cd3('0x58d')][_0x1cd3('0x5f6')][_0x1cd3('0x433')]()===_0x1cd3('0x5f7')||_0x3be023[_0x1cd3('0x58d')][_0x1cd3('0x5f6')]['toLowerCase']()===_0x1cd3('0x5f8');}function _0x5965c8(_0x88a59f,_0x21cecc,_0x229529){var _0x57c4d1;if(!_0x3c3802[_0x229529]){_0x57c4d1=_[_0x1cd3('0x442')](_0x88a59f,function(_0x42215f){return _0x42215f['kind']===_0x21cecc;});if(_0x57c4d1){_0x3c3802[_0x229529]=_0x57c4d1[_0x1cd3('0x5bf')];}}else{_0x57c4d1=_[_0x1cd3('0x442')](_0x88a59f,function(_0x5d4d4e){return _0x5d4d4e[_0x1cd3('0x5bf')]===_0x3c3802[_0x229529];});if(_0x57c4d1){return _0x57c4d1['deviceId'];}var _0x3b1447=_[_0x1cd3('0x445')](_0x88a59f,function(_0x1a1b34){return _0x1a1b34[_0x1cd3('0x5c0')]===_0x21cecc;});if(_0x3b1447>=0x0){return _0x88a59f[_0x3b1447][_0x1cd3('0x5bf')];}}return _0x3c3802[_0x229529]||null;}function _0x4b4d26(){_0x382242['hide'](_0x3be023[_0x1cd3('0x58d')]);}function _0x40d8b7(){_0x382242['hide']();}}}());(function(){'use strict';_0x1c256d[_0x1cd3('0xc')]=[_0x1cd3('0x6c3'),'dateFilterLocalizationFactory'];_0x2d1d35[_0x1cd3('0xc')]=[_0x1cd3('0x6c4'),'quickFilterManager'];angular[_0x1cd3('0x0')]('app.core')[_0x1cd3('0x3e5')](_0x1cd3('0x6c5'),_0x46ed52)[_0x1cd3('0x373')](_0x1cd3('0x6c4'),_0x1c256d);function _0x46ed52(){return{'restrict':'E','scope':{'query':'=','filters':'=','search':'&'},'controller':_0x2d1d35,'controllerAs':'vm','bindToController':!![],'templateUrl':'app/core/directives/ms-quick-filter/ms-quick-filter.html'};}function _0x2d1d35(_0x30583e,_0x5aacc3){var _0x4ceab7=this;_0x4ceab7[_0x1cd3('0x6c6')]={};_0x4ceab7['placeholders']={};_0x4ceab7[_0x1cd3('0x6c7')]=_0x30583e[_0x1cd3('0x6c7')];_0x4ceab7[_0x1cd3('0x6c8')]=_0x575d3d;_0x4ceab7[_0x1cd3('0x6c9')]=_0x502d78;_0x4ceab7[_0x1cd3('0x6ca')]=_0x5734c9;_0x4ceab7['onDateRangeSelection']=_0x38528f;_0x4ceab7[_0x1cd3('0x6cb')]=_0x3f5ae7;_0x4ceab7[_0x1cd3('0x6cc')]=_0x24e6af;_0x4ceab7[_0x1cd3('0x6cd')]=_0x36674a;function _0x575d3d(_0xa9fcf7){_0x1b615d(_0xa9fcf7);}function _0x502d78(_0x5010e3){var _0x260b07=_0x5010e3['key'];if(_0x4ceab7[_0x1cd3('0x3d4')][_0x260b07]){_0x4ceab7['pickerModels'][_0x260b07]=_0x30583e[_0x1cd3('0x6ce')](_0x4ceab7[_0x1cd3('0x3d4')][_0x260b07]);}else{_0x4ceab7[_0x1cd3('0x6c6')][_0x260b07]={'dateStart':null};}}function _0x5734c9(_0x43cfd9){_0x1b615d(_0x43cfd9);_0x4ceab7['search']();}function _0x38528f(_0x2b5ea8){var _0x23bf2f=_0x2b5ea8['key'];if(_0x4ceab7[_0x1cd3('0x6c6')][_0x23bf2f][_0x1cd3('0x6cf')]){_0x4ceab7[_0x1cd3('0x3d4')][_0x23bf2f]={'$gte':moment(_0x4ceab7[_0x1cd3('0x6c6')][_0x23bf2f]['dateStart'])['utcOffset'](0x0,!![])[_0x1cd3('0x130')](),'$lte':moment(_0x4ceab7[_0x1cd3('0x6c6')][_0x23bf2f][_0x1cd3('0x6d0')])[_0x1cd3('0x12f')](0x0,!![])[_0x1cd3('0x425')](0x17,_0x1cd3('0x6d1'))[_0x1cd3('0x425')](0x3b,_0x1cd3('0x6d2'))[_0x1cd3('0x425')](0x3b,'seconds')[_0x1cd3('0x130')]()};}else{_0x4ceab7['query'][_0x23bf2f]=undefined;}_0x4ceab7[_0x1cd3('0x3e4')]();}function _0x3f5ae7(_0x196dc8){var _0x392e36=_0x196dc8[_0x1cd3('0x65c')];_0x4ceab7['pickerModels'][_0x392e36]={'dateStart':null};delete _0x4ceab7[_0x1cd3('0x3d4')][_0x392e36];_0x4ceab7['search']();}function _0x36674a(_0x2c7732){var _0x5c361f=_0x2c7732['key'];var _0x2452dc=_0x2c7732[_0x1cd3('0x6d3')]||'id';_0x4ceab7[_0x1cd3('0x3d4')][_0x5c361f]=_[_0x1cd3('0x3d9')](_0x2c7732[_0x1cd3('0x422')],_0x2452dc);_0x1b615d(_0x2c7732);_0x4ceab7[_0x1cd3('0x3e4')]();}function _0x24e6af(_0x39cd09){var _0x2b8bba=_0x39cd09[_0x1cd3('0x65c')];var _0x30f8bb=_0x39cd09[_0x1cd3('0x6d3')]||'id';_0x4ceab7['query'][_0x2b8bba]=_0x39cd09['clearAll']===![]?[_['head'](_0x39cd09['options'])[_0x30f8bb]]:[];_0x1b615d(_0x39cd09);_0x4ceab7['search']();}function _0x1b615d(_0x8daa45){var _0x3d3dac=_0x8daa45[_0x1cd3('0x65c')];var _0x2a22bd={'param':_0x4ceab7[_0x1cd3('0x3d4')][_0x3d3dac],'resources':_0x8daa45['options'],'placeholder':_0x8daa45[_0x1cd3('0x499')],'ngValue':_0x8daa45[_0x1cd3('0x6d3')]};_0x5aacc3[_0x1cd3('0x6d4')](_0x2a22bd)['then'](function(_0x7a8ee3){_0x4ceab7[_0x1cd3('0x6d5')][_0x3d3dac]=_0x7a8ee3;});}}function _0x1c256d(_0x3f3bf0,_0x3470eb){var _0x555614={'localizationMap':_0x3470eb,'setSelectedDate':_0x47cf44};function _0x47cf44(_0x1dd6a1){var _0xd01718=new Date(moment['utc'](_0x1dd6a1[_0x1cd3('0x40a')])['format'](_0x1cd3('0x44c')));var _0x4ff822=new Date(moment[_0x1cd3('0x6d6')](_0x1dd6a1[_0x1cd3('0x408')])[_0x1cd3('0x130')](_0x1cd3('0x44c')));var _0xbc7cd6={'dateStart':new Date(_0xd01718[_0x1cd3('0x6d7')](),_0xd01718[_0x1cd3('0x6d8')](),_0xd01718[_0x1cd3('0x6d9')]()),'dateEnd':new Date(_0x4ff822[_0x1cd3('0x6d7')](),_0x4ff822[_0x1cd3('0x6d8')](),_0x4ff822['getDate']())};_0xbc7cd6[_0x1cd3('0x6da')]=_0x49a466(_0xbc7cd6);return _0xbc7cd6;}function _0x49a466(_0x4409f7){if(moment(_0x4409f7['dateStart'])['isSame'](_0x4409f7['dateEnd'])){if(_0x3796cd(_0x4409f7)){return _0x555614['localizationMap'][_0x1cd3('0x6db')];}else if(_0x1cdf3d(_0x4409f7)){return _0x555614[_0x1cd3('0x6c7')][_0x1cd3('0x6dc')];}else{return _0x3f3bf0(_0x1cd3('0x406'))(_0x4409f7['dateStart'],_0x1cd3('0x6dd'));}}else{if(_0x37658e(_0x4409f7)){return _0x555614[_0x1cd3('0x6c7')][_0x1cd3('0x6de')];}else if(_0xecbcad(_0x4409f7)){return _0x555614[_0x1cd3('0x6c7')][_0x1cd3('0x6df')];}else if(_0x6a0ac0(_0x4409f7)){return _0x555614[_0x1cd3('0x6c7')][_0x1cd3('0x6e0')];}else if(_0x3b2f5e(_0x4409f7)){return _0x555614[_0x1cd3('0x6c7')][_0x1cd3('0x6e1')];}else if(_0x2729b4(_0x4409f7)){return _0x555614[_0x1cd3('0x6c7')][_0x1cd3('0x6e2')];}else if(_0x44e718(_0x4409f7)){return _0x555614[_0x1cd3('0x6c7')][_0x1cd3('0x6e3')];}else{return _0x3f3bf0(_0x1cd3('0x406'))(_0x4409f7[_0x1cd3('0x6cf')],'dd'+(_0x4409f7[_0x1cd3('0x6cf')][_0x1cd3('0x6d8')]()!==_0x4409f7[_0x1cd3('0x6d0')][_0x1cd3('0x6d8')]()||_0x4409f7[_0x1cd3('0x6cf')][_0x1cd3('0x6d7')]()!==_0x4409f7[_0x1cd3('0x6d0')][_0x1cd3('0x6d7')]()?'\x20MMM':'')+(_0x4409f7['dateStart'][_0x1cd3('0x6d7')]()!==_0x4409f7[_0x1cd3('0x6d0')][_0x1cd3('0x6d7')]()?_0x1cd3('0x6e4'):''))+_0x1cd3('0x436')+_0x3f3bf0(_0x1cd3('0x406'))(_0x4409f7[_0x1cd3('0x6d0')],_0x1cd3('0x6dd'));}}}function _0x3796cd(_0x2c69e5){return moment()[_0x1cd3('0x12e')](_0x1cd3('0x138'))[_0x1cd3('0x6e5')](_0x2c69e5[_0x1cd3('0x6cf')]);}function _0x1cdf3d(_0xcbc80f){return moment()[_0x1cd3('0x6e6')](0x1,'days')[_0x1cd3('0x12e')](_0x1cd3('0x138'))['isSame'](_0xcbc80f[_0x1cd3('0x6cf')]);}function _0x37658e(_0x32a9c4){return moment()[_0x1cd3('0x12e')](_0x1cd3('0x6e7'))[_0x1cd3('0x6e5')](_0x32a9c4[_0x1cd3('0x6cf')],_0x1cd3('0x138'))&&moment()['endOf'](_0x1cd3('0x6e7'))['isSame'](_0x32a9c4['dateEnd'],'day');}function _0xecbcad(_0x227327){return moment()[_0x1cd3('0x6e6')](0x1,'weeks')[_0x1cd3('0x12e')](_0x1cd3('0x6e7'))[_0x1cd3('0x6e5')](_0x227327[_0x1cd3('0x6cf')],_0x1cd3('0x138'))&&moment()[_0x1cd3('0x6e6')](0x1,'weeks')[_0x1cd3('0x131')](_0x1cd3('0x6e7'))[_0x1cd3('0x6e5')](_0x227327[_0x1cd3('0x6d0')],_0x1cd3('0x138'));}function _0x6a0ac0(_0x4fff33){return moment()[_0x1cd3('0x12e')](_0x1cd3('0x6e8'))[_0x1cd3('0x6e5')](_0x4fff33[_0x1cd3('0x6cf')],_0x1cd3('0x138'))&&moment()[_0x1cd3('0x131')]('month')[_0x1cd3('0x6e5')](_0x4fff33[_0x1cd3('0x6d0')],_0x1cd3('0x138'));}function _0x3b2f5e(_0x25548a){return moment()['subtract'](0x1,_0x1cd3('0x6e9'))[_0x1cd3('0x12e')](_0x1cd3('0x6e8'))[_0x1cd3('0x6e5')](_0x25548a[_0x1cd3('0x6cf')],_0x1cd3('0x138'))&&moment()[_0x1cd3('0x6e6')](0x1,'months')[_0x1cd3('0x131')](_0x1cd3('0x6e8'))['isSame'](_0x25548a['dateEnd'],'day');}function _0x2729b4(_0x115662){return moment()['startOf']('year')[_0x1cd3('0x6e5')](_0x115662['dateStart'],_0x1cd3('0x138'))&&moment()[_0x1cd3('0x131')](_0x1cd3('0x6ea'))[_0x1cd3('0x6e5')](_0x115662[_0x1cd3('0x6d0')],_0x1cd3('0x138'));}function _0x44e718(_0xf5d92b){return moment()['subtract'](0x1,'years')[_0x1cd3('0x12e')]('year')[_0x1cd3('0x6e5')](_0xf5d92b[_0x1cd3('0x6cf')],_0x1cd3('0x138'))&&moment()[_0x1cd3('0x6e6')](0x1,'years')['endOf'](_0x1cd3('0x6ea'))['isSame'](_0xf5d92b[_0x1cd3('0x6d0')],_0x1cd3('0x138'));}return _0x555614;}}());(function(){'use strict';angular[_0x1cd3('0x0')](_0x1cd3('0x27'))[_0x1cd3('0x3e5')](_0x1cd3('0x6eb'),_0x1e708d);function _0x1e708d(){return{'restrict':'A','scope':{'msRandomClass':'='},'link':function(_0x3636ef,_0x173acd){var _0xe5375d=_0x3636ef[_0x1cd3('0x6eb')][Math['floor'](Math[_0x1cd3('0x6b2')]()*_0x3636ef[_0x1cd3('0x6eb')][_0x1cd3('0x7a')])];_0x173acd[_0x1cd3('0x3c0')](_0xe5375d);}};}}());(function(){'use strict';_0x56fc55[_0x1cd3('0xc')]=['api'];angular['module'](_0x1cd3('0x27'))[_0x1cd3('0x3e5')](_0x1cd3('0x6ec'),_0x56fc55);function _0x56fc55(_0x1afc69){return{'restrict':'E','scope':{'id':'=','model':'=','download':'='},'replace':!![],'link':function(_0x5e25dd,_0x19b617){var _0x354c0a=![];var _0x4ab1e2=document[_0x1cd3('0x3aa')](_0x1cd3('0x484'));if(!_0x5e25dd['download']){_0x4ab1e2[_0x1cd3('0x481')](_0x1cd3('0x6ed'),'nodownload');}_0x4ab1e2[_0x1cd3('0x481')]('preload',_0x1cd3('0x6ae'));_0x4ab1e2[_0x1cd3('0x481')](_0x1cd3('0x483'),'');_0x4ab1e2['setAttribute'](_0x1cd3('0x440'),_0x1cd3('0x485'));_0x4ab1e2[_0x1cd3('0x481')]('src','\x20');_0x4ab1e2['onplay']=function(_0x32ded6){if(!_0x354c0a){_0x354c0a=!![];_0x32ded6[_0x1cd3('0x517')]();_0x1afc69[_0x5e25dd[_0x1cd3('0x42e')]||_0x1cd3('0x6ee')][_0x1cd3('0x489')]({'id':_0x5e25dd['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x3fdb74){var _0x554eaf=[_0x3fdb74[_0x1cd3('0x6ef')]];var _0x19fd52=new Blob(_0x554eaf,{'type':_0x3fdb74[_0x1cd3('0x424')]});_0x4ab1e2[_0x1cd3('0x481')](_0x1cd3('0x424'),_0x3fdb74['type']);_0x4ab1e2[_0x1cd3('0x481')](_0x1cd3('0x487'),URL[_0x1cd3('0x48a')](_0x19fd52));_0x4ab1e2[_0x1cd3('0x48b')]();})[_0x1cd3('0xfd')](function(_0x2f50b1){console[_0x1cd3('0x434')](_0x2f50b1);});}};_0x19b617['append'](_0x4ab1e2);}};}}());(function(){'use strict';angular[_0x1cd3('0x0')](_0x1cd3('0x27'))['directive'](_0x1cd3('0x6f0'),_0x1c3572);function _0x1c3572(){return{'restrict':'A','link':function(_0x916ff2,_0x2e0e7e){var _0x450254=angular[_0x1cd3('0x37f')](_0x1cd3('0x6f1'));_0x2e0e7e[_0x1cd3('0x6f2')](_0x450254);_0x450254[_0x1cd3('0x48c')](_0x2e0e7e);}};}}());(function(){'use strict';_0x1ebdd7['$inject']=[_0x1cd3('0x3e7'),_0x1cd3('0x6f3'),_0x1cd3('0x2dd'),'motionConfig'];angular[_0x1cd3('0x0')](_0x1cd3('0x27'))[_0x1cd3('0x3b3')](_0x1cd3('0x6f3'),_0x5e0f97)[_0x1cd3('0x3e5')](_0x1cd3('0x6f4'),_0x1ebdd7);function _0x5e0f97(){var _0x5cc87e={'wheelSpeed':0x1,'wheelPropagation':![],'swipePropagation':!![],'minScrollbarLength':null,'maxScrollbarLength':null,'useBothWheelAxes':![],'useKeyboard':!![],'suppressScrollX':![],'suppressScrollY':![],'scrollXMarginOffset':0x0,'scrollYMarginOffset':0x0,'stopPropagationOnClick':!![]};this['config']=_0x31e2a1;function _0x31e2a1(_0x16e26c){_0x5cc87e=angular[_0x1cd3('0x4d2')]({},_0x5cc87e,_0x16e26c);}this[_0x1cd3('0x3b5')]=function(){var _0x19b414={'getConfig':_0x4734c2};return _0x19b414;function _0x4734c2(){return _0x5cc87e;}};}function _0x1ebdd7(_0x34fc95,_0x51b77e,_0x1df828,_0x2e07a7){return{'restrict':'AE','compile':function(_0x7b3ab1){if(_0x2e07a7[_0x1cd3('0x3bb')](_0x1cd3('0x6f5'))){return;}if(_0x2e07a7['getConfig'](_0x1cd3('0x6f6'))&&_0x1df828[_0x1cd3('0x3bc')]()){return;}_0x7b3ab1['addClass'](_0x1cd3('0x6f7'));return function postLink(_0x14a845,_0x263ea6,_0x30bcaa){var _0x2bba72={};if(_0x30bcaa[_0x1cd3('0x6f4')]){_0x2bba72=_0x14a845[_0x1cd3('0x3ec')](_0x30bcaa[_0x1cd3('0x6f4')]);}_0x2bba72=angular[_0x1cd3('0x4d2')]({},_0x51b77e[_0x1cd3('0x3bb')](),_0x2bba72);_0x34fc95(function(){PerfectScrollbar[_0x1cd3('0x6f8')](_0x263ea6[0x0],_0x2bba72);},0x0);_0x263ea6['on']('mouseenter',_0x4bcf0c);_0x14a845[_0x1cd3('0x4d6')](function(){return _0x263ea6[_0x1cd3('0x6f9')](_0x1cd3('0x6fa'));},function(_0x35a5b0,_0x10bb97){if(angular[_0x1cd3('0x529')](_0x35a5b0)||angular[_0x1cd3('0x501')](_0x35a5b0,_0x10bb97)){return;}_0x4bcf0c();});_0x14a845[_0x1cd3('0x4d6')](function(){return _0x263ea6[_0x1cd3('0x6f9')](_0x1cd3('0x6fb'));},function(_0x14e1b3,_0x35d4d7){if(angular['isUndefined'](_0x14e1b3)||angular[_0x1cd3('0x501')](_0x14e1b3,_0x35d4d7)){return;}_0x4bcf0c();});function _0x4bcf0c(){PerfectScrollbar[_0x1cd3('0x378')](_0x263ea6[0x0]);}_0x14a845[_0x1cd3('0x4d3')](_0x1cd3('0x523'),function(){_0x263ea6[_0x1cd3('0x51c')]('mouseenter');PerfectScrollbar['destroy'](_0x263ea6[0x0]);});};}};}}());(function(){'use strict';_0x9ce50d[_0x1cd3('0xc')]=['$scope','$element',_0x1cd3('0x3e7')];_0x5acd6e['$inject']=[_0x1cd3('0x372')];angular[_0x1cd3('0x0')](_0x1cd3('0x27'))[_0x1cd3('0x39b')]('MsSearchBarController',_0x9ce50d)[_0x1cd3('0x3e5')](_0x1cd3('0x6fc'),_0x5acd6e);function _0x9ce50d(_0x321607,_0x50d594,_0x4ebd0b){var _0xb5b7e1=this;_0xb5b7e1[_0x1cd3('0x525')]=!![];_0xb5b7e1[_0x1cd3('0x3d4')]=undefined;_0xb5b7e1[_0x1cd3('0x6fd')]={'debounce':_0xb5b7e1[_0x1cd3('0x6fe')]||0x0};var _0x723421=_0xb5b7e1[_0x1cd3('0x6ff')]&&_0xb5b7e1[_0x1cd3('0x6ff')]=='true'?!![]:![];_0xb5b7e1[_0x1cd3('0x700')]=![];_0xb5b7e1[_0x1cd3('0x701')]=null;_0xb5b7e1['selectedResultIndex']=0x0;_0xb5b7e1[_0x1cd3('0x702')]=![];_0xb5b7e1[_0x1cd3('0x703')]=_0x5dfd8c;_0xb5b7e1[_0x1cd3('0x704')]=_0x4eba8e;_0xb5b7e1[_0x1cd3('0x572')]=_0x3f57cf;_0xb5b7e1[_0x1cd3('0x56b')]=_0x1d5910;_0xb5b7e1['blurCollapse']=_0x4eb40c;_0xb5b7e1[_0x1cd3('0x705')]=_0x2e143e;_0xb5b7e1[_0x1cd3('0x706')]=_0x3c54d8;_0xb5b7e1[_0x1cd3('0x707')]=_0x80593c;_0xb5b7e1[_0x1cd3('0x708')]=_0x276001;_0xb5b7e1[_0x1cd3('0x709')]=_0xd9410e;_0xb5b7e1[_0x1cd3('0x70a')]=_0x54609c;function _0x5dfd8c(){_0x321607[_0x1cd3('0x4d6')]('vm.query',function(_0x4893f9,_0x21ee7c){if(angular[_0x1cd3('0x529')](_0x4893f9)){return;}if(angular[_0x1cd3('0x501')](_0x4893f9,_0x21ee7c)){return;}if(_0xb5b7e1[_0x1cd3('0x525')]){if(_0x4893f9){_0x321607[_0x1cd3('0x572')]();}else{return;}}var _0x31fce6=_0x321607[_0x1cd3('0x70b')]['$eval'](_0xb5b7e1['onSearch'],{'query':_0x4893f9}),_0x181cbf=angular[_0x1cd3('0x43d')](_0x31fce6),_0x4bbf97=_0x31fce6&&!!_0x31fce6['then'];if(_0x181cbf){_0xb5b7e1['populateResults'](_0x31fce6);}if(_0x4bbf97){_0xb5b7e1[_0x1cd3('0x700')]=!![];_0x31fce6[_0x1cd3('0x77')](function(_0x15daad){_0xb5b7e1[_0x1cd3('0x704')](_0x15daad);},function(){_0xb5b7e1['populateResults']([]);})[_0x1cd3('0x5dd')](function(){_0xb5b7e1[_0x1cd3('0x700')]=![];});}});}function _0x4eba8e(_0x28400a){if(_0xb5b7e1[_0x1cd3('0x525')]){return;}var _0x2eafe3=angular['isArray'](_0x28400a),_0x5383e4=_0x28400a===null;if(!_0x2eafe3&&!_0x5383e4){return;}_0xb5b7e1[_0x1cd3('0x70c')]=0x0;_0xb5b7e1[_0x1cd3('0x701')]=_0x28400a;}function _0x3f57cf(){_0xb5b7e1['collapsed']=![];_0x321607['expand']();if(_0xb5b7e1[_0x1cd3('0x70d')]&&angular[_0x1cd3('0x3a8')](_0xb5b7e1[_0x1cd3('0x70d')])){_0xb5b7e1['onExpand']();}}function _0x1d5910(){_0xb5b7e1[_0x1cd3('0x3d4')]='';_0xb5b7e1[_0x1cd3('0x704')](null);_0xb5b7e1[_0x1cd3('0x525')]=!![];_0x321607['collapse']();if(_0xb5b7e1[_0x1cd3('0x70e')]&&angular[_0x1cd3('0x3a8')](_0xb5b7e1[_0x1cd3('0x70e')])){_0xb5b7e1[_0x1cd3('0x70e')]();}}function _0x4eb40c(){if(!_0x723421){return;}_0xb5b7e1[_0x1cd3('0x56b')]();}function _0x2e143e(_0x3df621){_0x3df621[_0x1cd3('0x517')]();}function _0x3c54d8(_0x24478f){var _0x4f3e81=_0x24478f[_0x1cd3('0x65e')],_0x3bbdde=[0x1b,0x26,0x28];if(_0x3bbdde[_0x1cd3('0x45e')](_0x4f3e81)>-0x1){_0x24478f[_0x1cd3('0x517')]();}switch(_0x4f3e81){case 0xd:if(!_0xb5b7e1[_0x1cd3('0x701')]){return;}_0xb5b7e1[_0x1cd3('0x709')](_0xb5b7e1[_0x1cd3('0x701')][_0xb5b7e1['selectedResultIndex']]);break;case 0x1b:_0xb5b7e1[_0x1cd3('0x56b')]();break;case 0x26:if(_0xb5b7e1[_0x1cd3('0x70c')]-0x1>=0x0){_0xb5b7e1[_0x1cd3('0x70c')]--;_0xb5b7e1[_0x1cd3('0x70a')]();}break;case 0x28:if(!_0xb5b7e1[_0x1cd3('0x701')]){return;}if(_0xb5b7e1[_0x1cd3('0x70c')]+0x1<_0xb5b7e1[_0x1cd3('0x701')][_0x1cd3('0x7a')]){_0xb5b7e1['selectedResultIndex']++;_0xb5b7e1['ensureSelectedResultIsVisible']();}break;default:break;}}function _0x80593c(_0x2051a4){if(_0xb5b7e1[_0x1cd3('0x702')]){return;}_0xb5b7e1[_0x1cd3('0x70c')]=_0x2051a4;}function _0x276001(){_0xb5b7e1[_0x1cd3('0x702')]=!![];_0x4ebd0b[_0x1cd3('0x4d8')](_0xb5b7e1['mouseEventIgnoreTimeout']);_0xb5b7e1[_0x1cd3('0x70f')]=_0x4ebd0b(function(){_0xb5b7e1[_0x1cd3('0x702')]=![];},0xfa);}function _0xd9410e(_0x5d1bae){if(_0xb5b7e1[_0x1cd3('0x710')]){_0xb5b7e1[_0x1cd3('0x710')]({'item':_0x5d1bae});}_0xb5b7e1[_0x1cd3('0x56b')]();}function _0x54609c(){var _0x300d31=_0x50d594['find']('.ms-search-bar-results'),_0x42a75d=angular[_0x1cd3('0x37f')](_0x300d31[_0x1cd3('0x442')](_0x1cd3('0x711'))[_0xb5b7e1[_0x1cd3('0x70c')]]);if(_0x300d31&&_0x42a75d){var _0x296910=_0x42a75d[_0x1cd3('0x679')]()['top']-0x8,_0x82ee5e=_0x42a75d[_0x1cd3('0x679')]()[_0x1cd3('0x712')]+_0x42a75d[_0x1cd3('0x713')]()+0x8;_0xb5b7e1[_0x1cd3('0x708')]();if(_0x300d31[_0x1cd3('0x515')]()>_0x296910){_0x300d31[_0x1cd3('0x515')](_0x296910);}if(_0x82ee5e>_0x300d31[_0x1cd3('0x4e4')]()+_0x300d31[_0x1cd3('0x515')]()){_0x300d31[_0x1cd3('0x515')](_0x82ee5e-_0x300d31[_0x1cd3('0x4e4')]());}}}}function _0x5acd6e(_0x45ddc0){return{'restrict':'E','scope':{},'require':_0x1cd3('0x6fc'),'controller':_0x1cd3('0x714'),'bindToController':{'query':'=?','debounce':'=?','direction':'@','iconColor':'@','onSearch':'@','onResultClick':'&?','onExpand':'&?','onCollapse':'&?','collapseOnBlur':'@'},'templateUrl':_0x1cd3('0x715'),'compile':function(_0x4dceb6){_0x4dceb6['addClass']('ms-search-bar');return function postLink(_0x2fcebe,_0x56f76a){var _0x75b150=_0x45ddc0[_0x1cd3('0x442')](_0x1cd3('0x380'));_0x2fcebe[_0x1cd3('0x56b')]=_0x2d72f5;_0x2fcebe[_0x1cd3('0x572')]=_0xd20d33;function _0xd20d33(){_0x56f76a[_0x1cd3('0x3c0')](_0x1cd3('0x526'));if(_0x2fcebe['vm'][_0x1cd3('0x5e0')]==='down'){_0x56f76a['addClass'](_0x1cd3('0x716'));var _0x2f59f8=_0x56f76a[_0x1cd3('0x717')]('md-toolbar');if(_0x2f59f8)_0x2f59f8[_0x1cd3('0x3c0')](_0x1cd3('0x718'));}_0x75b150[_0x1cd3('0x3c0')](_0x1cd3('0x719'));}function _0x2d72f5(){_0x56f76a[_0x1cd3('0x4c9')](_0x1cd3('0x526'));if(_0x2fcebe['vm']['direction']===_0x1cd3('0x716')){_0x56f76a[_0x1cd3('0x4c9')](_0x1cd3('0x716'));var _0x1b0816=_0x56f76a[_0x1cd3('0x717')](_0x1cd3('0x71a'));if(_0x1b0816)_0x1b0816[_0x1cd3('0x4c9')](_0x1cd3('0x718'));}_0x75b150[_0x1cd3('0x4c9')](_0x1cd3('0x719'));}};}};}}());(function(){'use strict';_0xd29983[_0x1cd3('0xc')]=['$scope',_0x1cd3('0x36f'),_0x1cd3('0x372'),'$timeout','$q',_0x1cd3('0x53c')];angular[_0x1cd3('0x0')]('app.core')[_0x1cd3('0x39b')](_0x1cd3('0x71b'),_0xd29983)['directive'](_0x1cd3('0x71c'),_0x327088);function _0xd29983(_0xa663e2,_0x571455,_0xd8c136,_0x200d55,_0x391498,_0xddd3f4){var _0x2e672b=this;_0x2e672b[_0x1cd3('0x3d4')]='';_0x2e672b[_0x1cd3('0x6fd')]={'debounce':0x12c};_0x2e672b[_0x1cd3('0x700')]=![];_0x2e672b['selectedResultIndex']=0x0;_0x2e672b[_0x1cd3('0x702')]=![];_0x2e672b[_0x1cd3('0x71d')]=![];_0x2e672b['results']=null;_0x2e672b[_0x1cd3('0x71e')]=[];_0x2e672b[_0x1cd3('0x71f')]={'ghostClass':'ghost','forceFallback':!![],'fallbackClass':_0x1cd3('0x720'),'onSort':function(){_0x2e672b[_0x1cd3('0x721')]();}};_0x2e672b[_0x1cd3('0x704')]=_0x21c1f8;_0x2e672b[_0x1cd3('0x722')]=_0x381a26;_0x2e672b[_0x1cd3('0x721')]=_0x3377ad;_0x2e672b[_0x1cd3('0x723')]=_0x334cb2;_0x2e672b[_0x1cd3('0x724')]=_0x379263;_0x2e672b[_0x1cd3('0x709')]=_0x2f42d2;_0x2e672b[_0x1cd3('0x705')]=_0x29d8f2;_0x2e672b[_0x1cd3('0x706')]=_0x38da70;_0x2e672b[_0x1cd3('0x707')]=_0x52e23f;_0x2e672b[_0x1cd3('0x708')]=_0x24ffd9;_0x2e672b[_0x1cd3('0x70a')]=_0x5b6c7a;_0x2e672b[_0x1cd3('0x725')]=_0xb5c934;_0x5e629a();function _0x5e629a(){_0x2e672b[_0x1cd3('0x722')]()['then'](function(_0x5ad3a5){_0x2e672b[_0x1cd3('0x71e')]=_0x5ad3a5;if(_0x2e672b[_0x1cd3('0x71e')][_0x1cd3('0x7a')]>0x0){_0x2e672b[_0x1cd3('0x701')]=_0x5ad3a5;}});_0xa663e2[_0x1cd3('0x4d6')](_0x1cd3('0x726'),function(_0x4fc0da,_0x137482){if(angular[_0x1cd3('0x529')](_0x4fc0da)){return;}if(angular[_0x1cd3('0x501')](_0x4fc0da,_0x137482)){return;}_0x2e672b[_0x1cd3('0x700')]=!![];_0x2e672b['populateResults']()['then'](function(_0x58d4df){_0x2e672b['results']=_0x58d4df;},function(){_0x2e672b['results']=[];})['finally'](function(){_0x2e672b['resultsLoading']=![];});});}function _0x21c1f8(){var _0x4fb009=[],_0x125f46=_0xddd3f4[_0x1cd3('0x727')](),_0x1957e7=_0x391498['defer']();for(var _0x3e92f3=0x0;_0x3e92f3<_0x125f46[_0x1cd3('0x7a')];_0x3e92f3++){if(_0x125f46[_0x3e92f3]['uisref']){_0x4fb009[_0x1cd3('0x7b')](_0x125f46[_0x3e92f3]);}}if(_0x2e672b['query']){_0x4fb009=_0x4fb009[_0x1cd3('0x395')](function(_0x1b4536){if(angular['lowercase'](_0x1b4536[_0x1cd3('0x486')])[_0x1cd3('0x3e4')](angular['lowercase'](_0x2e672b['query']))>-0x1){return!![];}});for(var _0x37b407=0x0;_0x37b407<_0x4fb009[_0x1cd3('0x7a')];_0x37b407++){_0x4fb009[_0x37b407][_0x1cd3('0x728')]=![];for(var _0xf784d6=0x0;_0xf784d6<_0x2e672b[_0x1cd3('0x71e')][_0x1cd3('0x7a')];_0xf784d6++){if(_0x2e672b['shortcuts'][_0xf784d6][_0x1cd3('0x54b')]===_0x4fb009[_0x37b407][_0x1cd3('0x54b')]){_0x4fb009[_0x37b407][_0x1cd3('0x728')]=!![];break;}}}}else{if(_0x2e672b[_0x1cd3('0x71e')][_0x1cd3('0x7a')]>0x0){_0x4fb009=_0x2e672b[_0x1cd3('0x71e')];}}_0x2e672b['selectedResultIndex']=0x0;_0x200d55(function(){_0x1957e7[_0x1cd3('0x58')](_0x4fb009);},0xfa);return _0x1957e7[_0x1cd3('0x539')];}function _0x381a26(){var _0x96c90c=_0x391498[_0x1cd3('0x53a')]();var _0x20c8a0=angular[_0x1cd3('0x4ec')](_0x571455['get'](_0x1cd3('0x729')));if(angular[_0x1cd3('0x529')](_0x20c8a0)){_0x20c8a0=[{'title':_0x1cd3('0xd4'),'icon':'icon-account-multiple','state':_0x1cd3('0x285'),'weight':0x5,'children':[],'uisref':_0x1cd3('0x285'),'hasShortcut':!![]},{'title':_0x1cd3('0x72a'),'icon':_0x1cd3('0x72b'),'state':'app.settings.license','weight':0xa,'children':[],'uisref':_0x1cd3('0x25d'),'hasShortcut':!![]}];_0x571455[_0x1cd3('0x37b')](_0x1cd3('0x729'),angular[_0x1cd3('0x552')](_0x20c8a0));}_0x96c90c['resolve'](_0x20c8a0);return _0x96c90c[_0x1cd3('0x539')];}function _0x3377ad(){var _0xb06fce=_0x391498[_0x1cd3('0x53a')]();_0x571455[_0x1cd3('0x37b')](_0x1cd3('0x729'),angular['toJson'](_0x2e672b[_0x1cd3('0x71e')]));_0x200d55(function(){_0xb06fce[_0x1cd3('0x58')]({'success':!![]});},0xfa);return _0xb06fce[_0x1cd3('0x539')];}function _0x334cb2(_0x3422b3){_0x3422b3[_0x1cd3('0x728')]=!![];_0x2e672b[_0x1cd3('0x71e')][_0x1cd3('0x7b')](_0x3422b3);_0x2e672b[_0x1cd3('0x721')]();}function _0x379263(_0x552bda){_0x552bda[_0x1cd3('0x728')]=![];for(var _0x53577c=0x0;_0x53577c<_0x2e672b['shortcuts'][_0x1cd3('0x7a')];_0x53577c++){if(_0x2e672b[_0x1cd3('0x71e')][_0x53577c]['_id']===_0x552bda[_0x1cd3('0x54b')]){_0x2e672b[_0x1cd3('0x71e')][_0x1cd3('0x446')](_0x53577c,0x1);if(!_0x2e672b[_0x1cd3('0x3d4')]){if(_0x2e672b[_0x1cd3('0x71e')][_0x1cd3('0x7a')]===0x0){_0x2e672b[_0x1cd3('0x701')]=null;}else{if(_0x53577c>=_0x2e672b[_0x1cd3('0x71e')][_0x1cd3('0x7a')]){_0x2e672b[_0x1cd3('0x70c')]=_0x2e672b[_0x1cd3('0x71e')][_0x1cd3('0x7a')]-0x1;}}}}}_0x2e672b['saveShortcuts']();}function _0x2f42d2(_0x39b242){if(_0x39b242[_0x1cd3('0x728')]){_0x2e672b[_0x1cd3('0x724')](_0x39b242);}else{_0x2e672b['addShortcut'](_0x39b242);}}function _0x29d8f2(_0x11e21f){_0x11e21f['preventDefault']();}function _0x38da70(_0x24d41a){var _0x14d42e=_0x24d41a[_0x1cd3('0x65e')],_0x36e7fb=[0x26,0x28];if(_0x36e7fb[_0x1cd3('0x45e')](_0x14d42e)>-0x1){_0x24d41a[_0x1cd3('0x517')]();}switch(_0x14d42e){case 0xd:_0x2e672b[_0x1cd3('0x709')](_0x2e672b[_0x1cd3('0x701')][_0x2e672b[_0x1cd3('0x70c')]]);break;case 0x26:if(_0x2e672b[_0x1cd3('0x70c')]-0x1>=0x0){_0x2e672b['selectedResultIndex']--;_0x2e672b['ensureSelectedResultIsVisible']();}break;case 0x28:if(_0x2e672b['selectedResultIndex']+0x1<_0x2e672b[_0x1cd3('0x701')][_0x1cd3('0x7a')]){_0x2e672b['selectedResultIndex']++;_0x2e672b[_0x1cd3('0x70a')]();}break;default:break;}}function _0x52e23f(_0x383451){if(_0x2e672b[_0x1cd3('0x702')]){return;}_0x2e672b[_0x1cd3('0x70c')]=_0x383451;}function _0x24ffd9(){_0x2e672b[_0x1cd3('0x702')]=!![];_0x200d55['cancel'](_0x2e672b[_0x1cd3('0x70f')]);_0x2e672b[_0x1cd3('0x70f')]=_0x200d55(function(){_0x2e672b[_0x1cd3('0x702')]=![];},0xfa);}function _0x5b6c7a(){var _0x2d4e0a=_0xd8c136[_0x1cd3('0x442')](_0x1cd3('0x72c'))[_0x1cd3('0x442')]('.results'),_0x322331=angular['element'](_0x2d4e0a[_0x1cd3('0x442')](_0x1cd3('0x711'))[_0x2e672b[_0x1cd3('0x70c')]]);if(_0x2d4e0a&&_0x322331){var _0x424e8c=_0x322331[_0x1cd3('0x679')]()[_0x1cd3('0x712')]-0x8,_0x3ea649=_0x322331[_0x1cd3('0x679')]()[_0x1cd3('0x712')]+_0x322331[_0x1cd3('0x713')]()+0x8;_0x2e672b[_0x1cd3('0x708')]();if(_0x2d4e0a[_0x1cd3('0x515')]()>_0x424e8c){_0x2d4e0a[_0x1cd3('0x515')](_0x424e8c);}if(_0x3ea649>_0x2d4e0a[_0x1cd3('0x4e4')]()+_0x2d4e0a[_0x1cd3('0x515')]()){_0x2d4e0a[_0x1cd3('0x515')](_0x3ea649-_0x2d4e0a[_0x1cd3('0x4e4')]());}}}function _0xb5c934(){_0x2e672b[_0x1cd3('0x71d')]=!_0x2e672b[_0x1cd3('0x71d')];}}function _0x327088(){return{'restrict':'E','scope':{},'require':_0x1cd3('0x71c'),'controller':_0x1cd3('0x72d'),'bindToController':{},'templateUrl':_0x1cd3('0x72e'),'compile':function(_0x11eb7b){_0x11eb7b[_0x1cd3('0x3c0')](_0x1cd3('0x72f'));return function postLink(_0x170605,_0x3a93ea){};}};}}());(function(){'use strict';angular[_0x1cd3('0x0')](_0x1cd3('0x27'))['directive'](_0x1cd3('0x730'),_0x411a17);function _0x411a17(){return{'restrict':'A','require':_0x1cd3('0x731'),'link':function(_0x5a7ffa,_0x1ec092,_0x2483a2,_0x1055ca){_0x5a7ffa[_0x1cd3('0x4d6')](function(){return _0x1055ca[_0x1cd3('0x732')]()&&!_0x1055ca[_0x1cd3('0x55e')]();},function(_0x403f7d){if(angular['isUndefined'](_0x403f7d)){return;}_0x1ec092[_0x1cd3('0x36c')]()['toggleClass'](_0x1cd3('0x733'),_0x403f7d);angular[_0x1cd3('0x37f')](_0x1cd3('0x3bf'))['toggleClass']('sidenav-open',_0x403f7d);});}};}}());(function(){'use strict';_0x449f70[_0x1cd3('0xc')]=['$animate'];angular[_0x1cd3('0x0')](_0x1cd3('0x27'))['directive'](_0x1cd3('0x734'),_0x449f70);function _0x449f70(_0x5b156c){return{'restrict':'E','link':function(_0x294056,_0x430320){var _0x2bca75=_0x294056['$on']('msSplashScreen::remove',function(){_0x5b156c[_0x1cd3('0x735')](_0x430320)[_0x1cd3('0x77')](function(){_0x2bca75();_0x294056=_0x430320=null;});});}};}}());(function(){'use strict';_0x892512[_0x1cd3('0xc')]=['$timeout'];_0x5a5f82[_0x1cd3('0xc')]=[_0x1cd3('0x3e7')];angular['module'](_0x1cd3('0x27'))[_0x1cd3('0x39b')](_0x1cd3('0x736'),_0x892512)[_0x1cd3('0x3e5')](_0x1cd3('0x737'),_0x4dfc9b)[_0x1cd3('0x3e5')](_0x1cd3('0x738'),_0x4c3daf)[_0x1cd3('0x3e5')]('msVerticalStepper',_0x5a5f82)[_0x1cd3('0x3e5')](_0x1cd3('0x739'),_0xa66f19);function _0x892512(_0x1a1d1f){var _0x352807=this;_0x352807['mainForm']=undefined;_0x352807['orientation']='horizontal';_0x352807['steps']=[];_0x352807[_0x1cd3('0x73a')]=undefined;_0x352807['currentStepNumber']=0x1;_0x352807[_0x1cd3('0x73b')]=_0x1889ff;_0x352807[_0x1cd3('0x73c')]=_0x1af6b9;_0x352807['registerStep']=_0x17f3b4;_0x352807['setupSteps']=_0x5bc078;_0x352807['resetForm']=_0x214389;_0x352807['setCurrentStep']=_0x253959;_0x352807[_0x1cd3('0x73d')]=_0x630453;_0x352807[_0x1cd3('0x73e')]=_0x3a6ee4;_0x352807[_0x1cd3('0x73f')]=_0x3ef75a;_0x352807['gotoFirstStep']=_0x389587;_0x352807[_0x1cd3('0x740')]=_0x51b329;_0x352807[_0x1cd3('0x4ba')]=_0x282f84;_0x352807[_0x1cd3('0x741')]=_0x1978de;_0x352807[_0x1cd3('0x742')]=_0x39e5c2;_0x352807['isStepDisabled']=_0x5b7f96;_0x352807[_0x1cd3('0x743')]=_0x2e47fe;_0x352807[_0x1cd3('0x744')]=_0x2ae76b;_0x352807[_0x1cd3('0x745')]=_0xf0504a;_0x352807[_0x1cd3('0x746')]=_0x56fccc;_0x352807['isStepNumberValid']=_0x198511;_0x352807[_0x1cd3('0x747')]=_0x46e08d;function _0x1889ff(_0x3a8919){_0x352807[_0x1cd3('0x748')]=_0x3a8919||_0x1cd3('0x749');}function _0x1af6b9(_0x1ecc06){_0x352807['mainForm']=_0x1ecc06;}function _0x17f3b4(_0x4ca80f,_0x57a930,_0x3ba09a){var _0x2901ff={'element':_0x4ca80f,'scope':_0x57a930,'form':_0x3ba09a,'stepNumber':_0x57a930[_0x1cd3('0x74a')]||_0x352807[_0x1cd3('0x74b')][_0x1cd3('0x7a')]+0x1,'stepTitle':_0x57a930['stepTitle'],'stepTitleTranslate':_0x57a930[_0x1cd3('0x74c')]};_0x352807[_0x1cd3('0x74b')][_0x1cd3('0x7b')](_0x2901ff);_0x352807['steps'][_0x1cd3('0x550')](function(_0x56a87c,_0x5420bb){return _0x56a87c[_0x1cd3('0x74d')]-_0x5420bb[_0x1cd3('0x74d')];});return _0x2901ff;}function _0x5bc078(){_0x352807[_0x1cd3('0x74e')](_0x352807['currentStepNumber']);}function _0x214389(){_0x1a1d1f(function(){for(var _0x3d3a46=0x0;_0x3d3a46<_0x352807[_0x1cd3('0x74b')]['length'];_0x3d3a46++){_0x352807[_0x1cd3('0x74b')][_0x3d3a46][_0x1cd3('0x4c4')]['$setPristine']();_0x352807[_0x1cd3('0x74b')][_0x3d3a46]['form'][_0x1cd3('0x4c2')]();}_0x352807['mainForm'][_0x1cd3('0x4c1')]();_0x352807[_0x1cd3('0x74f')][_0x1cd3('0x4c2')]();_0x389587();});}function _0x253959(_0x482937){if(!_0x198511(_0x482937)){return;}_0x352807[_0x1cd3('0x750')]=_0x482937;if(_0x352807[_0x1cd3('0x748')]===_0x1cd3('0x749')){for(var _0x246ea9=0x0;_0x246ea9<_0x352807[_0x1cd3('0x74b')][_0x1cd3('0x7a')];_0x246ea9++){_0x352807[_0x1cd3('0x74b')][_0x246ea9][_0x1cd3('0x37f')][_0x1cd3('0x39d')]();}_0x352807[_0x1cd3('0x74b')][_0x352807[_0x1cd3('0x750')]-0x1][_0x1cd3('0x37f')]['show']();}else if(_0x352807[_0x1cd3('0x748')]===_0x1cd3('0x751')){for(var _0x315c78=0x0;_0x315c78<_0x352807['steps'][_0x1cd3('0x7a')];_0x315c78++){_0x352807[_0x1cd3('0x74b')][_0x315c78][_0x1cd3('0x37f')][_0x1cd3('0x442')]('.ms-stepper-step-content')[_0x1cd3('0x39d')]();}_0x352807['steps'][_0x352807['currentStepNumber']-0x1][_0x1cd3('0x37f')][_0x1cd3('0x442')]('.ms-stepper-step-content')[_0x1cd3('0x37e')]();}}function _0x630453(_0x260fca){if(_0x2ae76b(_0x260fca)){return;}_0x352807[_0x1cd3('0x74e')](_0x260fca);}function _0x3a6ee4(){var _0x37179d=_0x352807[_0x1cd3('0x750')]-0x1;for(var _0xc19e09=_0x37179d;_0xc19e09>=0x1;_0xc19e09--){if(!_0x2ae76b(_0xc19e09)){_0x37179d=_0xc19e09;break;}}_0x352807[_0x1cd3('0x74e')](_0x37179d);}function _0x3ef75a(){var _0x2ca17d=_0x352807[_0x1cd3('0x750')]+0x1;for(var _0x23fa3b=_0x2ca17d;_0x23fa3b<=_0x352807[_0x1cd3('0x74b')][_0x1cd3('0x7a')];_0x23fa3b++){if(!_0x2ae76b(_0x23fa3b)){_0x2ca17d=_0x23fa3b;break;}}_0x352807[_0x1cd3('0x74e')](_0x2ca17d);}function _0x389587(){_0x352807[_0x1cd3('0x74e')](0x1);}function _0x51b329(){_0x352807[_0x1cd3('0x74e')](_0x352807[_0x1cd3('0x74b')][_0x1cd3('0x7a')]);}function _0x282f84(){return _0x352807[_0x1cd3('0x750')]===0x1;}function _0x1978de(){return _0x352807[_0x1cd3('0x750')]===_0x352807[_0x1cd3('0x74b')][_0x1cd3('0x7a')];}function _0x39e5c2(_0x327104){if(!_0x198511(_0x327104)){return null;}return _0x352807['currentStepNumber']===_0x327104;}function _0x5b7f96(_0x1dd13a){if(!_0x198511(_0x1dd13a)){return null;}var _0x13a49b=![];for(var _0x1d2691=0x1;_0x1d2691<_0x1dd13a;_0x1d2691++){if(!_0x56fccc(_0x1d2691)){_0x13a49b=!![];break;}}return _0x13a49b;}function _0x2e47fe(_0x21aa1c){if(!_0x198511(_0x21aa1c)){return null;}return _0x352807[_0x1cd3('0x74b')][_0x21aa1c-0x1][_0x1cd3('0x4e0')]['optionalStep'];}function _0x2ae76b(_0x587bf1){if(!_0x198511(_0x587bf1)){return null;}return!!_0x352807['steps'][_0x587bf1-0x1][_0x1cd3('0x4e0')][_0x1cd3('0x752')];}function _0xf0504a(_0x1f18c8){return!_0x2ae76b(_0x1f18c8[_0x1cd3('0x74d')]);}function _0x56fccc(_0x27279a){if(!_0x198511(_0x27279a)){return null;}if(_0x2e47fe(_0x27279a)){return!![];}return _0x352807[_0x1cd3('0x74b')][_0x27279a-0x1][_0x1cd3('0x4c4')][_0x1cd3('0x753')];}function _0x198511(_0x556330){return!(angular[_0x1cd3('0x529')](_0x556330)||_0x556330<0x1||_0x556330>_0x352807[_0x1cd3('0x74b')][_0x1cd3('0x7a')]);}function _0x46e08d(){return _0x352807[_0x1cd3('0x74f')]['$valid'];}}function _0x4dfc9b(){return{'restrict':'A','scope':{},'require':[_0x1cd3('0x4c4'),_0x1cd3('0x737')],'priority':0x3e9,'controller':_0x1cd3('0x754'),'bindToController':{'model':_0x1cd3('0x453')},'transclude':!![],'templateUrl':_0x1cd3('0x755'),'compile':function(_0xa76587){_0xa76587['addClass'](_0x1cd3('0x756'));return function postLink(_0x1e8a86,_0x3fc8f6,_0x14c20e,_0x3ce589){var _0x4dceb3=_0x3ce589[0x0],_0x2079ae=_0x3ce589[0x1];_0x2079ae['setOrientation'](_0x1cd3('0x749'));_0x2079ae[_0x1cd3('0x73c')](_0x4dceb3);_0x2079ae[_0x1cd3('0x757')]();};}};}function _0x4c3daf(){return{'restrict':'E','require':[_0x1cd3('0x4c4'),'^msHorizontalStepper'],'priority':0x3e8,'scope':{'step':'=?','stepTitle':'=?','stepTitleTranslate':'=?','optionalStep':'=?','hideStep':'=?'},'compile':function(_0x1b9ff6){_0x1b9ff6[_0x1cd3('0x3c0')](_0x1cd3('0x758'));return function postLink(_0x56c89d,_0x51eff8,_0x2d71d9,_0x59f049){var _0x7af84c=_0x59f049[0x0],_0x4b327b=_0x59f049[0x1];_0x56c89d['optionalStep']=angular[_0x1cd3('0x4bf')](_0x2d71d9['optionalStep']);_0x4b327b['registerStep'](_0x51eff8,_0x56c89d,_0x7af84c);_0x51eff8[_0x1cd3('0x39d')]();};}};}function _0x5a5f82(_0x7fc602){return{'restrict':'A','scope':{},'require':[_0x1cd3('0x4c4'),_0x1cd3('0x759')],'priority':0x3e9,'controller':'MsStepperController\x20as\x20MsStepper','bindToController':{'model':'=ngModel'},'transclude':!![],'templateUrl':'app/core/directives/ms-stepper/templates/vertical/vertical.html','compile':function(_0x2642f9){_0x2642f9[_0x1cd3('0x3c0')](_0x1cd3('0x756'));return function postLink(_0x5340d4,_0x52f7b5,_0x26db94,_0x42a1ab){var _0xc695d6=_0x42a1ab[0x0],_0x3e8a8b=_0x42a1ab[0x1];_0x7fc602(function(){_0x3e8a8b['setOrientation'](_0x1cd3('0x751'));_0x3e8a8b[_0x1cd3('0x73c')](_0xc695d6);_0x3e8a8b[_0x1cd3('0x757')]();});};}};}function _0xa66f19(){return{'restrict':'E','require':[_0x1cd3('0x4c4'),_0x1cd3('0x75a')],'priority':0x3e8,'scope':{'step':'=?','stepTitle':'=?','stepTitleTranslate':'=?','optionalStep':'=?','hideStep':'=?'},'transclude':!![],'templateUrl':'app/core/directives/ms-stepper/templates/vertical/step/vertical-step.html','compile':function(_0x4db88b){_0x4db88b['addClass'](_0x1cd3('0x758'));return function postLink(_0x4994c4,_0xc5771c,_0x4f146b,_0x45c2da){var _0x320b53=_0x45c2da[0x0],_0xa806ca=_0x45c2da[0x1];_0x4994c4[_0x1cd3('0x75b')]=angular[_0x1cd3('0x4bf')](_0x4f146b[_0x1cd3('0x75b')]);_0x4994c4[_0x1cd3('0x75c')]=_0xa806ca['registerStep'](_0xc5771c,_0x4994c4,_0x320b53);_0x4994c4[_0x1cd3('0x75d')]=_0xa806ca;_0xc5771c['find'](_0x1cd3('0x75e'))['hide']();};}};}}());(function(){'use strict';_0x28a0b8[_0x1cd3('0xc')]=[_0x1cd3('0x372')];angular[_0x1cd3('0x0')](_0x1cd3('0x27'))[_0x1cd3('0x39b')](_0x1cd3('0x75f'),_0x41634d)[_0x1cd3('0x3e5')]('msTabScroll',_0x28a0b8);function _0x41634d(){var _0x5b1827=this;_0x5b1827[_0x1cd3('0x760')]=_0x129a96;_0x5b1827[_0x1cd3('0x761')]=_0x3a254f;function _0x129a96(_0x22f390){if(_0x22f390==_0x1cd3('0x762')){$(_0x1cd3('0x763'))['stop']()[_0x1cd3('0x537')]({'scrollLeft':_0x1cd3('0x764')},0x3e8);}else{$('#tab-container')[_0x1cd3('0x5bb')]()[_0x1cd3('0x537')]({'scrollLeft':_0x1cd3('0x765')},0x3e8);}}function _0x3a254f(_0x1d7d2f){switch(_0x1522b2()){case _0x1cd3('0x766'):return!![];case'left':if(_0x1d7d2f==_0x1cd3('0x762')){return!![];}else{return![];}case'right':if(_0x1d7d2f=='right'){return!![];}else{return![];}case _0x1cd3('0x6ae'):return![];default:return![];}}function _0x1522b2(){var _0x2c283e=document[_0x1cd3('0x593')]('bar-container');var _0x1ba816=document['getElementById']('tab-container');if(_0x1ba816[_0x1cd3('0x6fb')]>_0x2c283e['scrollWidth']&&_0x2c283e[_0x1cd3('0x767')]==0x0&&_0x1ba816[_0x1cd3('0x767')]==0x0){return'right';}else if(_0x1ba816[_0x1cd3('0x6fb')]>_0x2c283e[_0x1cd3('0x6fb')]&&_0x1ba816[_0x1cd3('0x767')]>_0x2c283e[_0x1cd3('0x767')]&&_0x2c283e['scrollWidth']+_0x1ba816[_0x1cd3('0x767')]>=_0x1ba816[_0x1cd3('0x6fb')]){return _0x1cd3('0x762');}else if(_0x1ba816[_0x1cd3('0x6fb')]>_0x2c283e[_0x1cd3('0x6fb')]&&_0x1ba816['scrollLeft']>_0x2c283e[_0x1cd3('0x767')]&&_0x2c283e['scrollWidth']+_0x1ba816['scrollLeft']<_0x1ba816[_0x1cd3('0x6fb')]){return'both';}else{return _0x1cd3('0x6ae');}}}function _0x28a0b8(_0x37fb80){return{'restrict':'E','scope':{},'transclude':!![],'controller':_0x1cd3('0x75f'),'controllerAs':'vm','bindToController':!![],'templateUrl':'app/core/directives/ms-tab-scroll/ms-tab-scroll.html','compile':function(_0x2193c4){_0x2193c4[_0x1cd3('0x3c0')]('ms-tab-scroll');return function postLink(_0x52ffbc,_0x44e8c7){};}};}}());(function(){'use strict';_0xd494cc['$inject']=['$timeout','$q'];angular['module']('app.core')['controller'](_0x1cd3('0x768'),_0xbfd962)['directive'](_0x1cd3('0x769'),_0x224301)[_0x1cd3('0x3e5')](_0x1cd3('0x76a'),_0xd494cc);function _0xbfd962(){var _0x5b81bf=this;_0x5b81bf[_0x1cd3('0x76b')]=undefined;_0x5b81bf[_0x1cd3('0x76c')]=_0x371e80;_0x5b81bf[_0x1cd3('0x76d')]=_0x22d9a8;function _0x371e80(_0x181380){_0x5b81bf[_0x1cd3('0x76b')]=_0x181380;}function _0x22d9a8(){return _0x5b81bf['scrollEl'];}}function _0x224301(){return{'scope':{'msTimeline':'=?','loadMore':_0x1cd3('0x76e')},'controller':_0x1cd3('0x768'),'compile':function(_0x2ae657){_0x2ae657[_0x1cd3('0x3c0')]('ms-timeline');return function postLink(_0x3b5795,_0x26de0b,_0x1c1e54,_0x2572a9){var _0x9349e8=angular[_0x1cd3('0x37f')](_0x1cd3('0x76f'));_0x26de0b[_0x1cd3('0x48c')](_0x9349e8);var _0x3faf30={'scrollEl':_0x1cd3('0x770')};_0x3faf30=angular[_0x1cd3('0x4d2')](_0x3faf30,_0x3b5795['msTimeline'],{});var _0x1169d0=angular[_0x1cd3('0x37f')](_0x3faf30[_0x1cd3('0x76b')]);_0x2572a9[_0x1cd3('0x76c')](_0x1169d0);var _0x2f8654=0x90;_0x3dfb46();function _0x1c96e2(){if(_0x1169d0[_0x1cd3('0x515')]()+_0x1169d0['height']()+_0x2f8654>_0x9349e8[_0x1cd3('0x679')]()[_0x1cd3('0x712')]){_0x9349e8['addClass']('show');_0x2c4678();_0x3b5795[_0x1cd3('0x771')]()[_0x1cd3('0x77')](function(){_0x9349e8[_0x1cd3('0x4c9')](_0x1cd3('0x37e'));_0x3dfb46();},function(){_0x9349e8['remove']();});}}function _0x3dfb46(){_0x1169d0['on'](_0x1cd3('0x772'),_0x1c96e2);}function _0x2c4678(){_0x1169d0['off']('scroll',_0x1c96e2);}_0x3b5795[_0x1cd3('0x4d3')]('$destroy',function(){_0x2c4678();});};}};}function _0xd494cc(_0x344bc2,_0x16cc38){return{'scope':!![],'require':'^msTimeline','compile':function(_0x22a467){_0x22a467[_0x1cd3('0x3c0')](_0x1cd3('0x773'))[_0x1cd3('0x3c0')]('hidden');return function postLink(_0xdba9a4,_0x5bdb42,_0x4850ff,_0x3af438){var _0x2c323b=0x48,_0x5a4e51=![],_0x229e6f=![],_0x5094ed=_0x3af438['getScrollEl']();_0x4a4f02();function _0x4a4f02(){if(_0x5bdb42['find'](_0x1cd3('0x456'))){_0xdba9a4[_0x1cd3('0x4d3')]('msCard::cardTemplateLoaded',function(_0x9f4a09,_0x560cd8){var _0x2c610a=angular[_0x1cd3('0x37f')](_0x560cd8[0x0]);_0x41fc4c(_0x2c610a)[_0x1cd3('0x77')](function(){_0x344bc2(function(){_0x5a4e51=!![];});});});}else{_0x41fc4c(_0x5bdb42)[_0x1cd3('0x77')](function(){_0x344bc2(function(){_0x5a4e51=!![];});});}_0x5094ed['on'](_0x1cd3('0x772'),_0x314d5f);_0x314d5f();}var _0x571684=_0xdba9a4[_0x1cd3('0x4d6')](function(){return _0x5a4e51&&_0x229e6f;},function(_0x554396,_0x2e13f3){if(angular['equals'](_0x554396,_0x2e13f3)){return;}if(_0x554396){_0x5bdb42['removeClass'](_0x1cd3('0x533'))['addClass'](_0x1cd3('0x537'));_0x571684();}},!![]);function _0x41fc4c(_0x562505){var _0x2f658d=_0x16cc38[_0x1cd3('0x53a')](),_0x20b57a=_0x562505[_0x1cd3('0x442')](_0x1cd3('0x774'));if(_0x20b57a[_0x1cd3('0x7a')]>0x0){_0x20b57a['on'](_0x1cd3('0x5de'),function(){_0x2f658d[_0x1cd3('0x58')](_0x1cd3('0x775'));});}else{_0x2f658d[_0x1cd3('0x58')](_0x1cd3('0x776'));}return _0x2f658d[_0x1cd3('0x539')];}function _0x314d5f(){if(_0x5094ed[_0x1cd3('0x515')]()+_0x5094ed[_0x1cd3('0x4e4')]()>_0x5bdb42['position']()[_0x1cd3('0x712')]+_0x2c323b){_0x344bc2(function(){_0x229e6f=!![];});_0x5094ed[_0x1cd3('0x51c')](_0x1cd3('0x772'),_0x314d5f);}}};}};}}());(function(){'use strict';_0x3cc9c2[_0x1cd3('0xc')]=['$scope',_0x1cd3('0x372'),_0x1cd3('0x3e7'),_0x1cd3('0x585'),_0x1cd3('0x371'),_0x1cd3('0x3f7'),_0x1cd3('0x777'),'$element',_0x1cd3('0x778')];angular[_0x1cd3('0x0')]('app.core')[_0x1cd3('0x39b')]('MsTimerController',_0x3cc9c2)[_0x1cd3('0x3e5')](_0x1cd3('0x779'),_0x1ace3b);function _0x3cc9c2(_0x11f2b7,_0x479a4d,_0xa97cc8,_0x134406,_0x16823a,_0x2b8ef9,_0x35d661,_0x396fd5,_0x2399d3){if(typeof String[_0x1cd3('0x77a')][_0x1cd3('0x77b')]!==_0x1cd3('0x77c')){String[_0x1cd3('0x77a')][_0x1cd3('0x77b')]=function(){return this['replace'](/^\s+|\s+$/g,'');};}_0x11f2b7[_0x1cd3('0x77d')]=_0x35d661[_0x1cd3('0x77d')]||_0x35d661['autostart'];if(_0x396fd5[_0x1cd3('0x3bf')]()[_0x1cd3('0x77b')]()['length']===0x0){_0x396fd5[_0x1cd3('0x48c')](_0x2399d3('<span>{{millis}}</span>')(_0x11f2b7));}else{_0x396fd5[_0x1cd3('0x48c')](_0x2399d3(_0x396fd5['contents']())(_0x11f2b7));}_0x11f2b7[_0x1cd3('0x77e')]=_0x11f2b7['intervalAttr']||0x3e8;_0x11f2b7[_0x1cd3('0x77f')]=null;_0x11f2b7['endTime']=null;_0x11f2b7['timeoutId']=null;_0x11f2b7[_0x1cd3('0x780')]=_0x11f2b7['countdownAttr']&&parseInt(_0x11f2b7[_0x1cd3('0x781')],0xa)>=0x0?parseInt(_0x11f2b7['countdownAttr'],0xa):undefined;_0x11f2b7[_0x1cd3('0x782')]=![];_0x11f2b7[_0x1cd3('0x4d6')](_0x1cd3('0x783'),function(_0x2c6ddd,_0x123f1b){if(_0x2c6ddd!==_0x123f1b&&_0x11f2b7[_0x1cd3('0x782')]){_0x11f2b7[_0x1cd3('0x5f2')]();}});_0x11f2b7['$on'](_0x1cd3('0x63a'),function(){_0x11f2b7[_0x1cd3('0x5f2')]();});_0x11f2b7[_0x1cd3('0x4d3')]('timer-resume',function(){_0x11f2b7[_0x1cd3('0x601')]();});_0x11f2b7[_0x1cd3('0x4d3')](_0x1cd3('0x784'),function(){_0x11f2b7['stop']();});_0x11f2b7['$on']('timer-clear',function(){_0x11f2b7[_0x1cd3('0x785')]();});_0x11f2b7[_0x1cd3('0x4d3')](_0x1cd3('0x786'),function(_0x546c75,_0x1e99ab){_0x11f2b7[_0x1cd3('0x780')]=_0x1e99ab;});function _0x3a8c49(){if(_0x11f2b7['timeoutId']){clearTimeout(_0x11f2b7[_0x1cd3('0x787')]);}}_0x11f2b7[_0x1cd3('0x5f2')]=_0x396fd5[0x0][_0x1cd3('0x5f2')]=function(){var _0x232c03=moment();var _0x47523e=_0x11f2b7['startTimeAttr']?moment(_0x11f2b7['startTimeAttr']):null;if(!_0x47523e||_0x47523e>_0x232c03){_0x11f2b7[_0x1cd3('0x77f')]=_0x232c03;}else{_0x11f2b7[_0x1cd3('0x77f')]=_0x47523e;}var _0x5443ff=_0x11f2b7[_0x1cd3('0x788')]?moment(_0x11f2b7[_0x1cd3('0x788')]):null;if(!_0x5443ff||_0x5443ff<_0x232c03){_0x11f2b7[_0x1cd3('0x789')]=null;}else{_0x11f2b7[_0x1cd3('0x789')]=_0x5443ff;}if(!_0x11f2b7['countdown']){_0x11f2b7[_0x1cd3('0x780')]=_0x11f2b7[_0x1cd3('0x781')]&&parseInt(_0x11f2b7['countdownAttr'],0xa)>0x0?parseInt(_0x11f2b7[_0x1cd3('0x78a')],0xa):undefined;}_0x3a8c49();_0x48ddaf();_0x11f2b7[_0x1cd3('0x782')]=!![];};_0x11f2b7['resume']=_0x396fd5[0x0][_0x1cd3('0x601')]=function(){_0x3a8c49();if(_0x11f2b7['countdownAttr']){_0x11f2b7[_0x1cd3('0x780')]+=0x1;}_0x11f2b7[_0x1cd3('0x77f')]=moment()[_0x1cd3('0x78b')](moment(_0x11f2b7[_0x1cd3('0x78c')])[_0x1cd3('0x78b')](moment(_0x11f2b7[_0x1cd3('0x77f')])));_0x48ddaf();_0x11f2b7['isRunning']=!![];};_0x11f2b7['stop']=_0x11f2b7[_0x1cd3('0x63e')]=_0x396fd5[0x0][_0x1cd3('0x5bb')]=_0x396fd5[0x0][_0x1cd3('0x63e')]=function(){_0x11f2b7['clear']();_0x11f2b7['$emit'](_0x1cd3('0x78d'),{'timeoutId':_0x11f2b7[_0x1cd3('0x787')],'millis':_0x11f2b7[_0x1cd3('0x78e')],'seconds':_0x11f2b7['seconds'],'minutes':_0x11f2b7[_0x1cd3('0x6d2')],'hours':_0x11f2b7[_0x1cd3('0x6d1')],'days':_0x11f2b7[_0x1cd3('0x78f')]});};_0x11f2b7['clear']=_0x396fd5[0x0][_0x1cd3('0x785')]=function(){_0x11f2b7[_0x1cd3('0x78c')]=moment();_0x3a8c49();_0x11f2b7[_0x1cd3('0x787')]=null;_0x11f2b7[_0x1cd3('0x782')]=![];};_0x396fd5[_0x1cd3('0x5b2')](_0x1cd3('0x523'),function(){_0x3a8c49();_0x11f2b7['isRunning']=![];});function _0x47692d(){if(_0x35d661[_0x1cd3('0x77f')]!==undefined){_0x11f2b7[_0x1cd3('0x78e')]=moment()[_0x1cd3('0x78b')](moment(_0x11f2b7['startTime']));}if(!_0x11f2b7[_0x1cd3('0x790')]||_0x11f2b7[_0x1cd3('0x790')]===_0x1cd3('0x138')){_0x11f2b7[_0x1cd3('0x791')]=Math[_0x1cd3('0x6b1')](_0x11f2b7[_0x1cd3('0x78e')]/0x3e8%0x3c);_0x11f2b7[_0x1cd3('0x6d2')]=Math[_0x1cd3('0x6b1')](_0x11f2b7[_0x1cd3('0x78e')]/0xea60%0x3c);_0x11f2b7['hours']=Math['floor'](_0x11f2b7['millis']/0x36ee80%0x18);_0x11f2b7[_0x1cd3('0x78f')]=Math[_0x1cd3('0x6b1')](_0x11f2b7[_0x1cd3('0x78e')]/0x36ee80/0x18);_0x11f2b7[_0x1cd3('0x6e9')]=0x0;_0x11f2b7[_0x1cd3('0x792')]=0x0;}else if(_0x11f2b7['maxTimeUnit']===_0x1cd3('0x793')){_0x11f2b7[_0x1cd3('0x791')]=Math[_0x1cd3('0x6b1')](_0x11f2b7['millis']/0x3e8);_0x11f2b7[_0x1cd3('0x6d2')]=0x0;_0x11f2b7['hours']=0x0;_0x11f2b7[_0x1cd3('0x78f')]=0x0;_0x11f2b7['months']=0x0;_0x11f2b7[_0x1cd3('0x792')]=0x0;}else if(_0x11f2b7[_0x1cd3('0x790')]===_0x1cd3('0x794')){_0x11f2b7['seconds']=Math[_0x1cd3('0x6b1')](_0x11f2b7['millis']/0x3e8%0x3c);_0x11f2b7[_0x1cd3('0x6d2')]=Math[_0x1cd3('0x6b1')](_0x11f2b7[_0x1cd3('0x78e')]/0xea60);_0x11f2b7[_0x1cd3('0x6d1')]=0x0;_0x11f2b7[_0x1cd3('0x78f')]=0x0;_0x11f2b7[_0x1cd3('0x6e9')]=0x0;_0x11f2b7[_0x1cd3('0x792')]=0x0;}else if(_0x11f2b7[_0x1cd3('0x790')]===_0x1cd3('0x795')){_0x11f2b7['seconds']=Math[_0x1cd3('0x6b1')](_0x11f2b7[_0x1cd3('0x78e')]/0x3e8%0x3c);_0x11f2b7[_0x1cd3('0x6d2')]=Math[_0x1cd3('0x6b1')](_0x11f2b7[_0x1cd3('0x78e')]/0xea60%0x3c);_0x11f2b7[_0x1cd3('0x6d1')]=Math[_0x1cd3('0x6b1')](_0x11f2b7[_0x1cd3('0x78e')]/0x36ee80);_0x11f2b7[_0x1cd3('0x78f')]=0x0;_0x11f2b7[_0x1cd3('0x6e9')]=0x0;_0x11f2b7[_0x1cd3('0x792')]=0x0;}else if(_0x11f2b7[_0x1cd3('0x790')]===_0x1cd3('0x6e8')){_0x11f2b7[_0x1cd3('0x791')]=Math[_0x1cd3('0x6b1')](_0x11f2b7['millis']/0x3e8%0x3c);_0x11f2b7[_0x1cd3('0x6d2')]=Math['floor'](_0x11f2b7[_0x1cd3('0x78e')]/0xea60%0x3c);_0x11f2b7[_0x1cd3('0x6d1')]=Math[_0x1cd3('0x6b1')](_0x11f2b7['millis']/0x36ee80%0x18);_0x11f2b7[_0x1cd3('0x78f')]=Math['floor'](_0x11f2b7[_0x1cd3('0x78e')]/0x36ee80/0x18%0x1e);_0x11f2b7[_0x1cd3('0x6e9')]=Math[_0x1cd3('0x6b1')](_0x11f2b7[_0x1cd3('0x78e')]/0x36ee80/0x18/0x1e);_0x11f2b7[_0x1cd3('0x792')]=0x0;}else if(_0x11f2b7['maxTimeUnit']===_0x1cd3('0x6ea')){_0x11f2b7[_0x1cd3('0x791')]=Math[_0x1cd3('0x6b1')](_0x11f2b7[_0x1cd3('0x78e')]/0x3e8%0x3c);_0x11f2b7[_0x1cd3('0x6d2')]=Math[_0x1cd3('0x6b1')](_0x11f2b7['millis']/0xea60%0x3c);_0x11f2b7[_0x1cd3('0x6d1')]=Math['floor'](_0x11f2b7[_0x1cd3('0x78e')]/0x36ee80%0x18);_0x11f2b7[_0x1cd3('0x78f')]=Math['floor'](_0x11f2b7[_0x1cd3('0x78e')]/0x36ee80/0x18%0x1e);_0x11f2b7['months']=Math[_0x1cd3('0x6b1')](_0x11f2b7['millis']/0x36ee80/0x18/0x1e%0xc);_0x11f2b7[_0x1cd3('0x792')]=Math['floor'](_0x11f2b7[_0x1cd3('0x78e')]/0x36ee80/0x18/0x16d);}_0x11f2b7[_0x1cd3('0x796')]=_0x11f2b7[_0x1cd3('0x791')]===0x1||_0x11f2b7['seconds']===0x0?'':'s';_0x11f2b7[_0x1cd3('0x797')]=_0x11f2b7[_0x1cd3('0x6d2')]===0x1||_0x11f2b7[_0x1cd3('0x6d2')]===0x0?'':'s';_0x11f2b7['hoursS']=_0x11f2b7['hours']===0x1||_0x11f2b7[_0x1cd3('0x6d1')]===0x0?'':'s';_0x11f2b7['daysS']=_0x11f2b7[_0x1cd3('0x78f')]===0x1||_0x11f2b7['days']===0x0?'':'s';_0x11f2b7[_0x1cd3('0x798')]=_0x11f2b7[_0x1cd3('0x6e9')]===0x1||_0x11f2b7[_0x1cd3('0x6e9')]===0x0?'':'s';_0x11f2b7[_0x1cd3('0x799')]=_0x11f2b7[_0x1cd3('0x792')]===0x1||_0x11f2b7[_0x1cd3('0x792')]===0x0?'':'s';_0x11f2b7['sseconds']=_0x11f2b7['seconds']<0xa?'0'+_0x11f2b7[_0x1cd3('0x791')]:_0x11f2b7[_0x1cd3('0x791')];_0x11f2b7[_0x1cd3('0x79a')]=_0x11f2b7['minutes']<0xa?'0'+_0x11f2b7[_0x1cd3('0x6d2')]:_0x11f2b7[_0x1cd3('0x6d2')];_0x11f2b7['hhours']=_0x11f2b7[_0x1cd3('0x6d1')]<0xa?'0'+_0x11f2b7[_0x1cd3('0x6d1')]:_0x11f2b7[_0x1cd3('0x6d1')];_0x11f2b7[_0x1cd3('0x79b')]=_0x11f2b7[_0x1cd3('0x78f')]<0xa?'0'+_0x11f2b7[_0x1cd3('0x78f')]:_0x11f2b7[_0x1cd3('0x78f')];_0x11f2b7[_0x1cd3('0x79c')]=_0x11f2b7['months']<0xa?'0'+_0x11f2b7[_0x1cd3('0x6e9')]:_0x11f2b7[_0x1cd3('0x6e9')];_0x11f2b7[_0x1cd3('0x79d')]=_0x11f2b7[_0x1cd3('0x792')]<0xa?'0'+_0x11f2b7[_0x1cd3('0x792')]:_0x11f2b7[_0x1cd3('0x792')];}var _0x48ddaf=function(){_0x11f2b7[_0x1cd3('0x78e')]=moment()['diff'](_0x11f2b7[_0x1cd3('0x77f')]);var _0x56a760=_0x11f2b7[_0x1cd3('0x78e')]%0x3e8;if(_0x11f2b7[_0x1cd3('0x788')]){_0x11f2b7[_0x1cd3('0x78e')]=moment(_0x11f2b7[_0x1cd3('0x789')])[_0x1cd3('0x78b')](moment());_0x56a760=_0x11f2b7['interval']-_0x11f2b7[_0x1cd3('0x78e')]%0x3e8;}if(_0x11f2b7['countdownAttr']){_0x11f2b7[_0x1cd3('0x78e')]=_0x11f2b7[_0x1cd3('0x780')]*0x3e8;}if(_0x11f2b7[_0x1cd3('0x78e')]<0x0){_0x11f2b7[_0x1cd3('0x5bb')]();_0x11f2b7[_0x1cd3('0x78e')]=0x0;_0x47692d();if(_0x11f2b7['finishCallback']){_0x11f2b7[_0x1cd3('0x3ec')](_0x11f2b7[_0x1cd3('0x79e')]);}return;}_0x47692d();_0x11f2b7['timeoutId']=setTimeout(function(){_0x48ddaf();_0x11f2b7[_0x1cd3('0x79f')]();},_0x11f2b7['interval']-_0x56a760);_0x11f2b7['$emit'](_0x1cd3('0x7a0'),{'timeoutId':_0x11f2b7[_0x1cd3('0x787')],'millis':_0x11f2b7[_0x1cd3('0x78e')]});if(_0x11f2b7[_0x1cd3('0x780')]>0x0){_0x11f2b7[_0x1cd3('0x780')]--;}else if(_0x11f2b7[_0x1cd3('0x780')]<=0x0){_0x11f2b7[_0x1cd3('0x5bb')]();if(_0x11f2b7[_0x1cd3('0x79e')]){_0x11f2b7[_0x1cd3('0x3ec')](_0x11f2b7[_0x1cd3('0x79e')]);}}};if(_0x11f2b7['autoStart']===undefined||_0x11f2b7['autoStart']===!![]){_0x11f2b7[_0x1cd3('0x5f2')]();}}function _0x1ace3b(){return{'restrict':'EA','replace':![],'scope':{'intervalAttr':'=interval','startTimeAttr':_0x1cd3('0x7a1'),'endTimeAttr':_0x1cd3('0x7a2'),'countdownAttr':_0x1cd3('0x7a3'),'autoStart':_0x1cd3('0x7a4'),'maxTimeUnit':'='},'controller':'MsTimerController'};}}());(function(){'use strict';angular['module'](_0x1cd3('0x27'))['directive']('msTimezone',_0xcf123d);function _0xcf123d(){return{'restrict':'E','scope':{'ngModel':'='},'controller':[_0x1cd3('0x460'),function(_0x4060b3){_0x4060b3[_0x1cd3('0x7a5')]=[{'name':_0x1cd3('0x7a6'),'utcOffset':0x3c,'offsetStr':_0x1cd3('0x7a7'),'countries':['AD']},{'name':_0x1cd3('0x7a8'),'utcOffset':0xf0,'offsetStr':_0x1cd3('0x7a9'),'countries':['AE','OM']},{'name':_0x1cd3('0x7aa'),'utcOffset':0x10e,'offsetStr':_0x1cd3('0x7ab'),'countries':['AF']},{'name':_0x1cd3('0x7ac'),'utcOffset':0x3c,'offsetStr':_0x1cd3('0x7a7'),'countries':['AL']},{'name':'Asia/Yerevan','utcOffset':0xf0,'offsetStr':_0x1cd3('0x7a9'),'countries':['AM']},{'name':_0x1cd3('0x7ad'),'utcOffset':-0xb4,'offsetStr':_0x1cd3('0x7ae'),'countries':['AQ']},{'name':'Antarctica/Palmer','utcOffset':-0xb4,'offsetStr':'-03:00','countries':['AQ']},{'name':_0x1cd3('0x7af'),'utcOffset':0x12c,'offsetStr':_0x1cd3('0x7b0'),'countries':['AQ']},{'name':'Antarctica/Davis','utcOffset':0x1a4,'offsetStr':'+07:00','countries':['AQ']},{'name':_0x1cd3('0x7b1'),'utcOffset':0x1e0,'offsetStr':_0x1cd3('0x7b2'),'countries':['AQ']},{'name':_0x1cd3('0x7b3'),'utcOffset':0x168,'offsetStr':_0x1cd3('0x7b4'),'countries':['AQ']},{'name':_0x1cd3('0x7b5'),'utcOffset':0x258,'offsetStr':_0x1cd3('0x7b6'),'countries':['AQ']},{'name':_0x1cd3('0x7b7'),'utcOffset':0xb4,'offsetStr':'+03:00','countries':['AQ']},{'name':_0x1cd3('0x7b8'),'utcOffset':0x0,'offsetStr':_0x1cd3('0x7b9'),'countries':['AQ']},{'name':_0x1cd3('0x7ba'),'utcOffset':-0xb4,'offsetStr':_0x1cd3('0x7ae'),'countries':['AR']},{'name':_0x1cd3('0x7bb'),'utcOffset':-0xb4,'offsetStr':_0x1cd3('0x7ae'),'countries':['AR']},{'name':_0x1cd3('0x7bc'),'utcOffset':-0xb4,'offsetStr':_0x1cd3('0x7ae'),'countries':['AR']},{'name':_0x1cd3('0x7bd'),'utcOffset':-0xb4,'offsetStr':'-03:00','countries':['AR']},{'name':_0x1cd3('0x7be'),'utcOffset':-0xb4,'offsetStr':_0x1cd3('0x7ae'),'countries':['AR']},{'name':_0x1cd3('0x7bf'),'utcOffset':-0xb4,'offsetStr':_0x1cd3('0x7ae'),'countries':['AR']},{'name':_0x1cd3('0x7c0'),'utcOffset':-0xb4,'offsetStr':_0x1cd3('0x7ae'),'countries':['AR']},{'name':_0x1cd3('0x7c1'),'utcOffset':-0xb4,'offsetStr':'-03:00','countries':['AR']},{'name':_0x1cd3('0x7c2'),'utcOffset':-0xb4,'offsetStr':_0x1cd3('0x7ae'),'countries':['AR']},{'name':'America/Argentina/San_Luis','utcOffset':-0xb4,'offsetStr':_0x1cd3('0x7ae'),'countries':['AR']},{'name':_0x1cd3('0x7c3'),'utcOffset':-0xb4,'offsetStr':_0x1cd3('0x7ae'),'countries':['AR']},{'name':'America/Argentina/Ushuaia','utcOffset':-0xb4,'offsetStr':'-03:00','countries':['AR']},{'name':_0x1cd3('0x7c4'),'utcOffset':-0x294,'offsetStr':'-11:00','countries':['AS','UM']},{'name':_0x1cd3('0x7c5'),'utcOffset':0x3c,'offsetStr':_0x1cd3('0x7a7'),'countries':['AT']},{'name':_0x1cd3('0x7c6'),'utcOffset':0x294,'offsetStr':'+11:00','countries':['AU']},{'name':'Antarctica/Macquarie','utcOffset':0x294,'offsetStr':_0x1cd3('0x7c7'),'countries':['AU']},{'name':_0x1cd3('0x7c8'),'utcOffset':0x294,'offsetStr':_0x1cd3('0x7c7'),'countries':['AU']},{'name':_0x1cd3('0x7c9'),'utcOffset':0x294,'offsetStr':_0x1cd3('0x7c7'),'countries':['AU']},{'name':_0x1cd3('0x7ca'),'utcOffset':0x294,'offsetStr':_0x1cd3('0x7c7'),'countries':['AU']},{'name':_0x1cd3('0x7cb'),'utcOffset':0x294,'offsetStr':'+11:00','countries':['AU']},{'name':_0x1cd3('0x7cc'),'utcOffset':0x276,'offsetStr':'+10:30','countries':['AU']},{'name':_0x1cd3('0x7cd'),'utcOffset':0x258,'offsetStr':_0x1cd3('0x7b6'),'countries':['AU']},{'name':'Australia/Lindeman','utcOffset':0x258,'offsetStr':'+10:00','countries':['AU']},{'name':_0x1cd3('0x7ce'),'utcOffset':0x276,'offsetStr':_0x1cd3('0x7cf'),'countries':['AU']},{'name':_0x1cd3('0x7d0'),'utcOffset':0x23a,'offsetStr':_0x1cd3('0x7d1'),'countries':['AU']},{'name':_0x1cd3('0x7d2'),'utcOffset':0x1e0,'offsetStr':'+08:00','countries':['AU']},{'name':_0x1cd3('0x7d3'),'utcOffset':0x20d,'offsetStr':_0x1cd3('0x7d4'),'countries':['AU']},{'name':_0x1cd3('0x7d5'),'utcOffset':0xf0,'offsetStr':'+04:00','countries':['AZ']},{'name':_0x1cd3('0x7d6'),'utcOffset':-0xf0,'offsetStr':_0x1cd3('0x7d7'),'countries':['BB']},{'name':_0x1cd3('0x7d8'),'utcOffset':0x168,'offsetStr':_0x1cd3('0x7b4'),'countries':['BD']},{'name':'Europe/Brussels','utcOffset':0x3c,'offsetStr':_0x1cd3('0x7a7'),'countries':['BE']},{'name':'Europe/Sofia','utcOffset':0x78,'offsetStr':_0x1cd3('0x7d9'),'countries':['BG']},{'name':_0x1cd3('0x7da'),'utcOffset':-0xf0,'offsetStr':'-04:00','countries':['BM']},{'name':'Asia/Brunei','utcOffset':0x1e0,'offsetStr':_0x1cd3('0x7b2'),'countries':['BN']},{'name':_0x1cd3('0x7db'),'utcOffset':-0xf0,'offsetStr':_0x1cd3('0x7d7'),'countries':['BO']},{'name':'America/Noronha','utcOffset':-0x78,'offsetStr':_0x1cd3('0x7dc'),'countries':['BR']},{'name':_0x1cd3('0x7dd'),'utcOffset':-0xb4,'offsetStr':_0x1cd3('0x7ae'),'countries':['BR']},{'name':_0x1cd3('0x7de'),'utcOffset':-0xb4,'offsetStr':'-03:00','countries':['BR']},{'name':_0x1cd3('0x7df'),'utcOffset':-0xb4,'offsetStr':'-03:00','countries':['BR']},{'name':_0x1cd3('0x7e0'),'utcOffset':-0xb4,'offsetStr':_0x1cd3('0x7ae'),'countries':['BR']},{'name':_0x1cd3('0x7e1'),'utcOffset':-0xb4,'offsetStr':_0x1cd3('0x7ae'),'countries':['BR']},{'name':_0x1cd3('0x7e2'),'utcOffset':-0xb4,'offsetStr':_0x1cd3('0x7ae'),'countries':['BR']},{'name':_0x1cd3('0x7e3'),'utcOffset':-0x78,'offsetStr':_0x1cd3('0x7dc'),'countries':['BR']},{'name':'America/Campo_Grande','utcOffset':-0xb4,'offsetStr':'-03:00','countries':['BR']},{'name':_0x1cd3('0x7e4'),'utcOffset':-0xb4,'offsetStr':'-03:00','countries':['BR']},{'name':_0x1cd3('0x7e5'),'utcOffset':-0xb4,'offsetStr':'-03:00','countries':['BR']},{'name':'America/Porto_Velho','utcOffset':-0xf0,'offsetStr':_0x1cd3('0x7d7'),'countries':['BR']},{'name':_0x1cd3('0x7e6'),'utcOffset':-0xf0,'offsetStr':'-04:00','countries':['BR']},{'name':_0x1cd3('0x7e7'),'utcOffset':-0xf0,'offsetStr':'-04:00','countries':['BR']},{'name':_0x1cd3('0x7e8'),'utcOffset':-0x12c,'offsetStr':_0x1cd3('0x7e9'),'countries':['BR']},{'name':_0x1cd3('0x7ea'),'utcOffset':-0x12c,'offsetStr':_0x1cd3('0x7e9'),'countries':['BR']},{'name':'America/Nassau','utcOffset':-0x12c,'offsetStr':'-05:00','countries':['BS']},{'name':'Asia/Thimphu','utcOffset':0x168,'offsetStr':'+06:00','countries':['BT']},{'name':_0x1cd3('0x7eb'),'utcOffset':0xb4,'offsetStr':_0x1cd3('0x7ec'),'countries':['BY']},{'name':'America/Belize','utcOffset':-0x168,'offsetStr':_0x1cd3('0x7ed'),'countries':['BZ']},{'name':_0x1cd3('0x7ee'),'utcOffset':-0xd2,'offsetStr':_0x1cd3('0x7ef'),'countries':['CA']},{'name':_0x1cd3('0x7f0'),'utcOffset':-0xf0,'offsetStr':_0x1cd3('0x7d7'),'countries':['CA']},{'name':_0x1cd3('0x7f1'),'utcOffset':-0xf0,'offsetStr':_0x1cd3('0x7d7'),'countries':['CA']},{'name':_0x1cd3('0x7f2'),'utcOffset':-0xf0,'offsetStr':_0x1cd3('0x7d7'),'countries':['CA']},{'name':'America/Goose_Bay','utcOffset':-0xf0,'offsetStr':'-04:00','countries':['CA']},{'name':_0x1cd3('0x7f3'),'utcOffset':-0xf0,'offsetStr':_0x1cd3('0x7d7'),'countries':['CA']},{'name':_0x1cd3('0x7f4'),'utcOffset':-0x12c,'offsetStr':_0x1cd3('0x7e9'),'countries':['CA']},{'name':'America/Nipigon','utcOffset':-0x12c,'offsetStr':_0x1cd3('0x7e9'),'countries':['CA']},{'name':_0x1cd3('0x7f5'),'utcOffset':-0x12c,'offsetStr':_0x1cd3('0x7e9'),'countries':['CA']},{'name':_0x1cd3('0x7f6'),'utcOffset':-0x12c,'offsetStr':'-05:00','countries':['CA']},{'name':'America/Pangnirtung','utcOffset':-0x12c,'offsetStr':_0x1cd3('0x7e9'),'countries':['CA']},{'name':_0x1cd3('0x7f7'),'utcOffset':-0x168,'offsetStr':_0x1cd3('0x7ed'),'countries':['CA']},{'name':_0x1cd3('0x7f8'),'utcOffset':-0x12c,'offsetStr':_0x1cd3('0x7e9'),'countries':['CA']},{'name':_0x1cd3('0x7f9'),'utcOffset':-0x168,'offsetStr':_0x1cd3('0x7ed'),'countries':['CA']},{'name':_0x1cd3('0x7fa'),'utcOffset':-0x168,'offsetStr':_0x1cd3('0x7ed'),'countries':['CA']},{'name':'America/Rainy_River','utcOffset':-0x168,'offsetStr':_0x1cd3('0x7ed'),'countries':['CA']},{'name':'America/Regina','utcOffset':-0x168,'offsetStr':_0x1cd3('0x7ed'),'countries':['CA']},{'name':_0x1cd3('0x7fb'),'utcOffset':-0x168,'offsetStr':_0x1cd3('0x7ed'),'countries':['CA']},{'name':_0x1cd3('0x7fc'),'utcOffset':-0x1a4,'offsetStr':'-07:00','countries':['CA']},{'name':_0x1cd3('0x7fd'),'utcOffset':-0x1a4,'offsetStr':_0x1cd3('0x7fe'),'countries':['CA']},{'name':_0x1cd3('0x7ff'),'utcOffset':-0x1a4,'offsetStr':'-07:00','countries':['CA']},{'name':_0x1cd3('0x800'),'utcOffset':-0x1a4,'offsetStr':'-07:00','countries':['CA']},{'name':_0x1cd3('0x801'),'utcOffset':-0x1a4,'offsetStr':'-07:00','countries':['CA']},{'name':'America/Dawson_Creek','utcOffset':-0x1a4,'offsetStr':_0x1cd3('0x7fe'),'countries':['CA']},{'name':_0x1cd3('0x802'),'utcOffset':-0x1a4,'offsetStr':_0x1cd3('0x7fe'),'countries':['CA']},{'name':_0x1cd3('0x803'),'utcOffset':-0x1e0,'offsetStr':_0x1cd3('0x804'),'countries':['CA']},{'name':_0x1cd3('0x805'),'utcOffset':-0x1e0,'offsetStr':_0x1cd3('0x804'),'countries':['CA']},{'name':_0x1cd3('0x806'),'utcOffset':-0x1e0,'offsetStr':_0x1cd3('0x804'),'countries':['CA']},{'name':'Indian/Cocos','utcOffset':0x186,'offsetStr':_0x1cd3('0x807'),'countries':['CC']},{'name':'Europe/Zurich','utcOffset':0x3c,'offsetStr':_0x1cd3('0x7a7'),'countries':['CH','DE','LI']},{'name':_0x1cd3('0x808'),'utcOffset':0x0,'offsetStr':'+00:00','countries':['CI','BF','GM','GN','ML','MR','SH','SL','SN','ST','TG']},{'name':_0x1cd3('0x809'),'utcOffset':-0x258,'offsetStr':_0x1cd3('0x80a'),'countries':['CK']},{'name':_0x1cd3('0x80b'),'utcOffset':-0xb4,'offsetStr':_0x1cd3('0x7ae'),'countries':['CL']},{'name':_0x1cd3('0x80c'),'utcOffset':-0x12c,'offsetStr':_0x1cd3('0x7e9'),'countries':['CL']},{'name':_0x1cd3('0x80d'),'utcOffset':0x1e0,'offsetStr':_0x1cd3('0x7b2'),'countries':['CN']},{'name':_0x1cd3('0x80e'),'utcOffset':0x168,'offsetStr':_0x1cd3('0x7b4'),'countries':['CN']},{'name':_0x1cd3('0x80f'),'utcOffset':-0x12c,'offsetStr':_0x1cd3('0x7e9'),'countries':['CO']},{'name':_0x1cd3('0x810'),'utcOffset':-0x168,'offsetStr':_0x1cd3('0x7ed'),'countries':['CR']},{'name':_0x1cd3('0x811'),'utcOffset':-0x12c,'offsetStr':_0x1cd3('0x7e9'),'countries':['CU']},{'name':_0x1cd3('0x812'),'utcOffset':-0x3c,'offsetStr':_0x1cd3('0x813'),'countries':['CV']},{'name':_0x1cd3('0x814'),'utcOffset':-0xf0,'offsetStr':'-04:00','countries':['CW','AW','BQ','SX']},{'name':'Indian/Christmas','utcOffset':0x1a4,'offsetStr':_0x1cd3('0x815'),'countries':['CX']},{'name':_0x1cd3('0x816'),'utcOffset':0x78,'offsetStr':_0x1cd3('0x7d9'),'countries':['CY']},{'name':_0x1cd3('0x817'),'utcOffset':0x3c,'offsetStr':_0x1cd3('0x7a7'),'countries':['CZ','SK']},{'name':'Europe/Berlin','utcOffset':0x3c,'offsetStr':_0x1cd3('0x7a7'),'countries':['DE']},{'name':_0x1cd3('0x818'),'utcOffset':0x3c,'offsetStr':'+01:00','countries':['DK']},{'name':'America/Santo_Domingo','utcOffset':-0xf0,'offsetStr':_0x1cd3('0x7d7'),'countries':['DO']},{'name':_0x1cd3('0x819'),'utcOffset':0x3c,'offsetStr':_0x1cd3('0x7a7'),'countries':['DZ']},{'name':_0x1cd3('0x81a'),'utcOffset':-0x12c,'offsetStr':_0x1cd3('0x7e9'),'countries':['EC']},{'name':'Pacific/Galapagos','utcOffset':-0x168,'offsetStr':_0x1cd3('0x7ed'),'countries':['EC']},{'name':_0x1cd3('0x81b'),'utcOffset':0x78,'offsetStr':'+02:00','countries':['EE']},{'name':_0x1cd3('0x81c'),'utcOffset':0x78,'offsetStr':_0x1cd3('0x7d9'),'countries':['EG']},{'name':_0x1cd3('0x81d'),'utcOffset':0x0,'offsetStr':_0x1cd3('0x7b9'),'countries':['EH']},{'name':_0x1cd3('0x81e'),'utcOffset':0x3c,'offsetStr':_0x1cd3('0x7a7'),'countries':['ES']},{'name':_0x1cd3('0x81f'),'utcOffset':0x3c,'offsetStr':_0x1cd3('0x7a7'),'countries':['ES']},{'name':_0x1cd3('0x820'),'utcOffset':0x0,'offsetStr':_0x1cd3('0x7b9'),'countries':['ES']},{'name':_0x1cd3('0x821'),'utcOffset':0x78,'offsetStr':_0x1cd3('0x7d9'),'countries':['FI','AX']},{'name':'Pacific/Fiji','utcOffset':0x2d0,'offsetStr':_0x1cd3('0x822'),'countries':['FJ']},{'name':_0x1cd3('0x823'),'utcOffset':-0xb4,'offsetStr':_0x1cd3('0x7ae'),'countries':['FK']},{'name':'Pacific/Chuuk','utcOffset':0x258,'offsetStr':_0x1cd3('0x7b6'),'countries':['FM']},{'name':_0x1cd3('0x824'),'utcOffset':0x294,'offsetStr':_0x1cd3('0x7c7'),'countries':['FM']},{'name':_0x1cd3('0x825'),'utcOffset':0x294,'offsetStr':'+11:00','countries':['FM']},{'name':_0x1cd3('0x826'),'utcOffset':0x0,'offsetStr':_0x1cd3('0x7b9'),'countries':['FO']},{'name':_0x1cd3('0x827'),'utcOffset':0x3c,'offsetStr':'+01:00','countries':['FR']},{'name':_0x1cd3('0x828'),'utcOffset':0x0,'offsetStr':_0x1cd3('0x7b9'),'countries':['GB','GG','IM','JE']},{'name':_0x1cd3('0x829'),'utcOffset':0xf0,'offsetStr':_0x1cd3('0x7a9'),'countries':['GE']},{'name':_0x1cd3('0x82a'),'utcOffset':-0xb4,'offsetStr':'-03:00','countries':['GF']},{'name':'Africa/Accra','utcOffset':0x0,'offsetStr':_0x1cd3('0x7b9'),'countries':['GH']},{'name':'Europe/Gibraltar','utcOffset':0x3c,'offsetStr':_0x1cd3('0x7a7'),'countries':['GI']},{'name':_0x1cd3('0x82b'),'utcOffset':-0xb4,'offsetStr':_0x1cd3('0x7ae'),'countries':['GL']},{'name':_0x1cd3('0x82c'),'utcOffset':0x0,'offsetStr':_0x1cd3('0x7b9'),'countries':['GL']},{'name':_0x1cd3('0x82d'),'utcOffset':-0x3c,'offsetStr':_0x1cd3('0x813'),'countries':['GL']},{'name':'America/Thule','utcOffset':-0xf0,'offsetStr':_0x1cd3('0x7d7'),'countries':['GL']},{'name':_0x1cd3('0x82e'),'utcOffset':0x78,'offsetStr':_0x1cd3('0x7d9'),'countries':['GR']},{'name':'Atlantic/South_Georgia','utcOffset':-0x78,'offsetStr':_0x1cd3('0x7dc'),'countries':['GS']},{'name':'America/Guatemala','utcOffset':-0x168,'offsetStr':_0x1cd3('0x7ed'),'countries':['GT']},{'name':_0x1cd3('0x82f'),'utcOffset':0x258,'offsetStr':_0x1cd3('0x7b6'),'countries':['GU','MP']},{'name':_0x1cd3('0x830'),'utcOffset':0x0,'offsetStr':_0x1cd3('0x7b9'),'countries':['GW']},{'name':_0x1cd3('0x831'),'utcOffset':-0xf0,'offsetStr':_0x1cd3('0x7d7'),'countries':['GY']},{'name':_0x1cd3('0x832'),'utcOffset':0x1e0,'offsetStr':_0x1cd3('0x7b2'),'countries':['HK']},{'name':_0x1cd3('0x833'),'utcOffset':-0x168,'offsetStr':_0x1cd3('0x7ed'),'countries':['HN']},{'name':'America/Port-au-Prince','utcOffset':-0x12c,'offsetStr':_0x1cd3('0x7e9'),'countries':['HT']},{'name':_0x1cd3('0x834'),'utcOffset':0x3c,'offsetStr':_0x1cd3('0x7a7'),'countries':['HU']},{'name':'Asia/Jakarta','utcOffset':0x1a4,'offsetStr':_0x1cd3('0x815'),'countries':['ID']},{'name':_0x1cd3('0x835'),'utcOffset':0x1a4,'offsetStr':_0x1cd3('0x815'),'countries':['ID']},{'name':'Asia/Makassar','utcOffset':0x1e0,'offsetStr':'+08:00','countries':['ID']},{'name':_0x1cd3('0x836'),'utcOffset':0x21c,'offsetStr':'+09:00','countries':['ID']},{'name':_0x1cd3('0x837'),'utcOffset':0x0,'offsetStr':'+00:00','countries':['IE']},{'name':_0x1cd3('0x838'),'utcOffset':0x78,'offsetStr':_0x1cd3('0x7d9'),'countries':['IL']},{'name':_0x1cd3('0x839'),'utcOffset':0x14a,'offsetStr':_0x1cd3('0x83a'),'countries':['IN']},{'name':_0x1cd3('0x83b'),'utcOffset':0x168,'offsetStr':_0x1cd3('0x7b4'),'countries':['IO']},{'name':_0x1cd3('0x83c'),'utcOffset':0xb4,'offsetStr':_0x1cd3('0x7ec'),'countries':['IQ']},{'name':_0x1cd3('0x83d'),'utcOffset':0xd2,'offsetStr':_0x1cd3('0x83e'),'countries':['IR']},{'name':'Atlantic/Reykjavik','utcOffset':0x0,'offsetStr':_0x1cd3('0x7b9'),'countries':['IS']},{'name':_0x1cd3('0x83f'),'utcOffset':0x3c,'offsetStr':_0x1cd3('0x7a7'),'countries':['IT','SM','VA']},{'name':_0x1cd3('0x840'),'utcOffset':-0x12c,'offsetStr':_0x1cd3('0x7e9'),'countries':['JM']},{'name':'Asia/Amman','utcOffset':0x78,'offsetStr':_0x1cd3('0x7d9'),'countries':['JO']},{'name':_0x1cd3('0x841'),'utcOffset':0x21c,'offsetStr':_0x1cd3('0x842'),'countries':['JP']},{'name':_0x1cd3('0x843'),'utcOffset':0xb4,'offsetStr':_0x1cd3('0x7ec'),'countries':['KE','DJ','ER','ET','KM','MG','SO','TZ','UG','YT']},{'name':_0x1cd3('0x844'),'utcOffset':0x168,'offsetStr':'+06:00','countries':['KG']},{'name':'Pacific/Tarawa','utcOffset':0x2d0,'offsetStr':_0x1cd3('0x822'),'countries':['KI']},{'name':_0x1cd3('0x845'),'utcOffset':0x30c,'offsetStr':_0x1cd3('0x846'),'countries':['KI']},{'name':_0x1cd3('0x847'),'utcOffset':0x348,'offsetStr':_0x1cd3('0x848'),'countries':['KI']},{'name':_0x1cd3('0x849'),'utcOffset':0x1fe,'offsetStr':'+08:30','countries':['KP']},{'name':_0x1cd3('0x84a'),'utcOffset':0x21c,'offsetStr':_0x1cd3('0x842'),'countries':['KR']},{'name':'America/Cayman','utcOffset':-0x12c,'offsetStr':'-05:00','countries':['KY']},{'name':_0x1cd3('0x84b'),'utcOffset':0x168,'offsetStr':_0x1cd3('0x7b4'),'countries':['KZ']},{'name':_0x1cd3('0x84c'),'utcOffset':0x168,'offsetStr':_0x1cd3('0x7b4'),'countries':['KZ']},{'name':'Asia/Aqtobe','utcOffset':0x12c,'offsetStr':_0x1cd3('0x7b0'),'countries':['KZ']},{'name':'Asia/Aqtau','utcOffset':0x12c,'offsetStr':_0x1cd3('0x7b0'),'countries':['KZ']},{'name':_0x1cd3('0x84d'),'utcOffset':0x12c,'offsetStr':_0x1cd3('0x7b0'),'countries':['KZ']},{'name':_0x1cd3('0x84e'),'utcOffset':0x78,'offsetStr':_0x1cd3('0x7d9'),'countries':['LB']},{'name':_0x1cd3('0x84f'),'utcOffset':0x14a,'offsetStr':_0x1cd3('0x83a'),'countries':['LK']},{'name':'Africa/Monrovia','utcOffset':0x0,'offsetStr':'+00:00','countries':['LR']},{'name':'Europe/Vilnius','utcOffset':0x78,'offsetStr':_0x1cd3('0x7d9'),'countries':['LT']},{'name':_0x1cd3('0x850'),'utcOffset':0x3c,'offsetStr':_0x1cd3('0x7a7'),'countries':['LU']},{'name':_0x1cd3('0x851'),'utcOffset':0x78,'offsetStr':'+02:00','countries':['LV']},{'name':_0x1cd3('0x852'),'utcOffset':0x78,'offsetStr':_0x1cd3('0x7d9'),'countries':['LY']},{'name':_0x1cd3('0x853'),'utcOffset':0x0,'offsetStr':'+00:00','countries':['MA']},{'name':_0x1cd3('0x854'),'utcOffset':0x3c,'offsetStr':_0x1cd3('0x7a7'),'countries':['MC']},{'name':_0x1cd3('0x855'),'utcOffset':0x78,'offsetStr':_0x1cd3('0x7d9'),'countries':['MD']},{'name':'Pacific/Majuro','utcOffset':0x2d0,'offsetStr':_0x1cd3('0x822'),'countries':['MH']},{'name':'Pacific/Kwajalein','utcOffset':0x2d0,'offsetStr':'+12:00','countries':['MH']},{'name':_0x1cd3('0x856'),'utcOffset':0x186,'offsetStr':_0x1cd3('0x807'),'countries':['MM']},{'name':_0x1cd3('0x857'),'utcOffset':0x1e0,'offsetStr':_0x1cd3('0x7b2'),'countries':['MN']},{'name':'Asia/Hovd','utcOffset':0x1a4,'offsetStr':_0x1cd3('0x815'),'countries':['MN']},{'name':_0x1cd3('0x858'),'utcOffset':0x1e0,'offsetStr':'+08:00','countries':['MN']},{'name':_0x1cd3('0x859'),'utcOffset':0x1e0,'offsetStr':_0x1cd3('0x7b2'),'countries':['MO']},{'name':_0x1cd3('0x85a'),'utcOffset':-0xf0,'offsetStr':'-04:00','countries':['MQ']},{'name':_0x1cd3('0x85b'),'utcOffset':0x3c,'offsetStr':_0x1cd3('0x7a7'),'countries':['MT']},{'name':_0x1cd3('0x85c'),'utcOffset':0xf0,'offsetStr':_0x1cd3('0x7a9'),'countries':['MU']},{'name':'Indian/Maldives','utcOffset':0x12c,'offsetStr':_0x1cd3('0x7b0'),'countries':['MV']},{'name':_0x1cd3('0x85d'),'utcOffset':-0x168,'offsetStr':_0x1cd3('0x7ed'),'countries':['MX']},{'name':_0x1cd3('0x85e'),'utcOffset':-0x12c,'offsetStr':'-05:00','countries':['MX']},{'name':_0x1cd3('0x85f'),'utcOffset':-0x168,'offsetStr':_0x1cd3('0x7ed'),'countries':['MX']},{'name':_0x1cd3('0x860'),'utcOffset':-0x168,'offsetStr':_0x1cd3('0x7ed'),'countries':['MX']},{'name':_0x1cd3('0x861'),'utcOffset':-0x168,'offsetStr':_0x1cd3('0x7ed'),'countries':['MX']},{'name':_0x1cd3('0x862'),'utcOffset':-0x1a4,'offsetStr':'-07:00','countries':['MX']},{'name':_0x1cd3('0x863'),'utcOffset':-0x1a4,'offsetStr':_0x1cd3('0x7fe'),'countries':['MX']},{'name':_0x1cd3('0x864'),'utcOffset':-0x1a4,'offsetStr':_0x1cd3('0x7fe'),'countries':['MX']},{'name':_0x1cd3('0x865'),'utcOffset':-0x1a4,'offsetStr':_0x1cd3('0x7fe'),'countries':['MX']},{'name':_0x1cd3('0x866'),'utcOffset':-0x1e0,'offsetStr':_0x1cd3('0x804'),'countries':['MX']},{'name':_0x1cd3('0x867'),'utcOffset':-0x1e0,'offsetStr':'-08:00','countries':['MX']},{'name':_0x1cd3('0x868'),'utcOffset':-0x168,'offsetStr':'-06:00','countries':['MX']},{'name':_0x1cd3('0x869'),'utcOffset':0x1e0,'offsetStr':'+08:00','countries':['MY']},{'name':_0x1cd3('0x86a'),'utcOffset':0x1e0,'offsetStr':'+08:00','countries':['MY']},{'name':_0x1cd3('0x86b'),'utcOffset':0x78,'offsetStr':_0x1cd3('0x7d9'),'countries':['MZ','BI','BW','CD','MW','RW','ZM','ZW']},{'name':'Africa/Windhoek','utcOffset':0x78,'offsetStr':_0x1cd3('0x7d9'),'countries':['NA']},{'name':'Pacific/Noumea','utcOffset':0x294,'offsetStr':_0x1cd3('0x7c7'),'countries':['NC']},{'name':_0x1cd3('0x86c'),'utcOffset':0x294,'offsetStr':_0x1cd3('0x7c7'),'countries':['NF']},{'name':_0x1cd3('0x86d'),'utcOffset':0x3c,'offsetStr':'+01:00','countries':['NG','AO','BJ','CD','CF','CG','CM','GA','GQ','NE']},{'name':_0x1cd3('0x86e'),'utcOffset':-0x168,'offsetStr':'-06:00','countries':['NI']},{'name':_0x1cd3('0x86f'),'utcOffset':0x3c,'offsetStr':_0x1cd3('0x7a7'),'countries':['NL']},{'name':_0x1cd3('0x870'),'utcOffset':0x3c,'offsetStr':_0x1cd3('0x7a7'),'countries':['NO','SJ']},{'name':_0x1cd3('0x871'),'utcOffset':0x159,'offsetStr':_0x1cd3('0x872'),'countries':['NP']},{'name':'Pacific/Nauru','utcOffset':0x2d0,'offsetStr':_0x1cd3('0x822'),'countries':['NR']},{'name':_0x1cd3('0x873'),'utcOffset':-0x294,'offsetStr':_0x1cd3('0x874'),'countries':['NU']},{'name':_0x1cd3('0x875'),'utcOffset':0x30c,'offsetStr':'+13:00','countries':['NZ','AQ']},{'name':_0x1cd3('0x876'),'utcOffset':0x339,'offsetStr':_0x1cd3('0x877'),'countries':['NZ']},{'name':_0x1cd3('0x878'),'utcOffset':-0x12c,'offsetStr':_0x1cd3('0x7e9'),'countries':['PA']},{'name':_0x1cd3('0x879'),'utcOffset':-0x12c,'offsetStr':_0x1cd3('0x7e9'),'countries':['PE']},{'name':_0x1cd3('0x87a'),'utcOffset':-0x258,'offsetStr':'-10:00','countries':['PF']},{'name':'Pacific/Marquesas','utcOffset':-0x23a,'offsetStr':'-09:30','countries':['PF']},{'name':_0x1cd3('0x87b'),'utcOffset':-0x21c,'offsetStr':_0x1cd3('0x87c'),'countries':['PF']},{'name':_0x1cd3('0x87d'),'utcOffset':0x258,'offsetStr':_0x1cd3('0x7b6'),'countries':['PG']},{'name':_0x1cd3('0x87e'),'utcOffset':0x294,'offsetStr':_0x1cd3('0x7c7'),'countries':['PG']},{'name':_0x1cd3('0x87f'),'utcOffset':0x1e0,'offsetStr':_0x1cd3('0x7b2'),'countries':['PH']},{'name':_0x1cd3('0x880'),'utcOffset':0x12c,'offsetStr':_0x1cd3('0x7b0'),'countries':['PK']},{'name':_0x1cd3('0x881'),'utcOffset':0x3c,'offsetStr':_0x1cd3('0x7a7'),'countries':['PL']},{'name':_0x1cd3('0x882'),'utcOffset':-0xb4,'offsetStr':_0x1cd3('0x7ae'),'countries':['PM']},{'name':_0x1cd3('0x883'),'utcOffset':-0x1e0,'offsetStr':_0x1cd3('0x804'),'countries':['PN']},{'name':_0x1cd3('0x884'),'utcOffset':-0xf0,'offsetStr':_0x1cd3('0x7d7'),'countries':['PR']},{'name':_0x1cd3('0x885'),'utcOffset':0x78,'offsetStr':'+02:00','countries':['PS']},{'name':'Asia/Hebron','utcOffset':0x78,'offsetStr':_0x1cd3('0x7d9'),'countries':['PS']},{'name':'Europe/Lisbon','utcOffset':0x0,'offsetStr':_0x1cd3('0x7b9'),'countries':['PT']},{'name':_0x1cd3('0x886'),'utcOffset':0x0,'offsetStr':_0x1cd3('0x7b9'),'countries':['PT']},{'name':'Atlantic/Azores','utcOffset':-0x3c,'offsetStr':_0x1cd3('0x813'),'countries':['PT']},{'name':_0x1cd3('0x887'),'utcOffset':0x21c,'offsetStr':_0x1cd3('0x842'),'countries':['PW']},{'name':'America/Asuncion','utcOffset':-0xb4,'offsetStr':_0x1cd3('0x7ae'),'countries':['PY']},{'name':_0x1cd3('0x888'),'utcOffset':0xb4,'offsetStr':_0x1cd3('0x7ec'),'countries':['QA','BH']},{'name':_0x1cd3('0x889'),'utcOffset':0xf0,'offsetStr':_0x1cd3('0x7a9'),'countries':['RE','TF']},{'name':_0x1cd3('0x88a'),'utcOffset':0x78,'offsetStr':'+02:00','countries':['RO']},{'name':_0x1cd3('0x88b'),'utcOffset':0x3c,'offsetStr':_0x1cd3('0x7a7'),'countries':['RS','BA','HR','ME','MK','SI']},{'name':_0x1cd3('0x88c'),'utcOffset':0x78,'offsetStr':_0x1cd3('0x7d9'),'countries':['RU']},{'name':_0x1cd3('0x88d'),'utcOffset':0xb4,'offsetStr':_0x1cd3('0x7ec'),'countries':['RU']},{'name':_0x1cd3('0x88e'),'utcOffset':0xb4,'offsetStr':_0x1cd3('0x7ec'),'countries':['RU']},{'name':_0x1cd3('0x88f'),'utcOffset':0xb4,'offsetStr':_0x1cd3('0x7ec'),'countries':['RU']},{'name':'Europe/Samara','utcOffset':0xf0,'offsetStr':'+04:00','countries':['RU']},{'name':'Asia/Yekaterinburg','utcOffset':0x12c,'offsetStr':_0x1cd3('0x7b0'),'countries':['RU']},{'name':_0x1cd3('0x890'),'utcOffset':0x168,'offsetStr':_0x1cd3('0x7b4'),'countries':['RU']},{'name':_0x1cd3('0x891'),'utcOffset':0x168,'offsetStr':_0x1cd3('0x7b4'),'countries':['RU']},{'name':'Asia/Novokuznetsk','utcOffset':0x1a4,'offsetStr':_0x1cd3('0x815'),'countries':['RU']},{'name':'Asia/Krasnoyarsk','utcOffset':0x1a4,'offsetStr':'+07:00','countries':['RU']},{'name':_0x1cd3('0x892'),'utcOffset':0x1e0,'offsetStr':_0x1cd3('0x7b2'),'countries':['RU']},{'name':_0x1cd3('0x893'),'utcOffset':0x1e0,'offsetStr':_0x1cd3('0x7b2'),'countries':['RU']},{'name':_0x1cd3('0x894'),'utcOffset':0x21c,'offsetStr':'+09:00','countries':['RU']},{'name':_0x1cd3('0x895'),'utcOffset':0x21c,'offsetStr':_0x1cd3('0x842'),'countries':['RU']},{'name':_0x1cd3('0x896'),'utcOffset':0x258,'offsetStr':'+10:00','countries':['RU']},{'name':_0x1cd3('0x897'),'utcOffset':0x258,'offsetStr':_0x1cd3('0x7b6'),'countries':['RU']},{'name':_0x1cd3('0x898'),'utcOffset':0x258,'offsetStr':_0x1cd3('0x7b6'),'countries':['RU']},{'name':_0x1cd3('0x899'),'utcOffset':0x258,'offsetStr':_0x1cd3('0x7b6'),'countries':['RU']},{'name':'Asia/Srednekolymsk','utcOffset':0x294,'offsetStr':_0x1cd3('0x7c7'),'countries':['RU']},{'name':_0x1cd3('0x89a'),'utcOffset':0x2d0,'offsetStr':_0x1cd3('0x822'),'countries':['RU']},{'name':_0x1cd3('0x89b'),'utcOffset':0x2d0,'offsetStr':_0x1cd3('0x822'),'countries':['RU']},{'name':_0x1cd3('0x89c'),'utcOffset':0xb4,'offsetStr':_0x1cd3('0x7ec'),'countries':['SA','KW','YE']},{'name':_0x1cd3('0x89d'),'utcOffset':0x294,'offsetStr':_0x1cd3('0x7c7'),'countries':['SB']},{'name':'Indian/Mahe','utcOffset':0xf0,'offsetStr':_0x1cd3('0x7a9'),'countries':['SC']},{'name':_0x1cd3('0x89e'),'utcOffset':0xb4,'offsetStr':_0x1cd3('0x7ec'),'countries':['SD','SS']},{'name':_0x1cd3('0x89f'),'utcOffset':0x3c,'offsetStr':'+01:00','countries':['SE']},{'name':_0x1cd3('0x8a0'),'utcOffset':0x1e0,'offsetStr':_0x1cd3('0x7b2'),'countries':['SG']},{'name':_0x1cd3('0x8a1'),'utcOffset':-0xb4,'offsetStr':_0x1cd3('0x7ae'),'countries':['SR']},{'name':_0x1cd3('0x8a2'),'utcOffset':-0x168,'offsetStr':'-06:00','countries':['SV']},{'name':_0x1cd3('0x8a3'),'utcOffset':0x78,'offsetStr':_0x1cd3('0x7d9'),'countries':['SY']},{'name':'America/Grand_Turk','utcOffset':-0xf0,'offsetStr':_0x1cd3('0x7d7'),'countries':['TC']},{'name':_0x1cd3('0x8a4'),'utcOffset':0x3c,'offsetStr':_0x1cd3('0x7a7'),'countries':['TD']},{'name':_0x1cd3('0x8a5'),'utcOffset':0x12c,'offsetStr':'+05:00','countries':['TF']},{'name':'Asia/Bangkok','utcOffset':0x1a4,'offsetStr':_0x1cd3('0x815'),'countries':['TH','KH','LA','VN']},{'name':_0x1cd3('0x8a6'),'utcOffset':0x12c,'offsetStr':_0x1cd3('0x7b0'),'countries':['TJ']},{'name':_0x1cd3('0x8a7'),'utcOffset':0x30c,'offsetStr':'+13:00','countries':['TK']},{'name':_0x1cd3('0x8a8'),'utcOffset':0x21c,'offsetStr':_0x1cd3('0x842'),'countries':['TL']},{'name':_0x1cd3('0x8a9'),'utcOffset':0x12c,'offsetStr':'+05:00','countries':['TM']},{'name':_0x1cd3('0x8aa'),'utcOffset':0x3c,'offsetStr':_0x1cd3('0x7a7'),'countries':['TN']},{'name':_0x1cd3('0x8ab'),'utcOffset':0x30c,'offsetStr':_0x1cd3('0x846'),'countries':['TO']},{'name':_0x1cd3('0x8ac'),'utcOffset':0x78,'offsetStr':_0x1cd3('0x7d9'),'countries':['TR']},{'name':'America/Port_of_Spain','utcOffset':-0xf0,'offsetStr':_0x1cd3('0x7d7'),'countries':['TT','AG','AI','BL','DM','GD','GP','KN','LC','MF','MS','VC','VG','VI']},{'name':_0x1cd3('0x8ad'),'utcOffset':0x2d0,'offsetStr':_0x1cd3('0x822'),'countries':['TV']},{'name':'Asia/Taipei','utcOffset':0x1e0,'offsetStr':_0x1cd3('0x7b2'),'countries':['TW']},{'name':_0x1cd3('0x8ae'),'utcOffset':0x78,'offsetStr':_0x1cd3('0x7d9'),'countries':['UA']},{'name':_0x1cd3('0x8af'),'utcOffset':0x78,'offsetStr':'+02:00','countries':['UA']},{'name':'Europe/Zaporozhye','utcOffset':0x78,'offsetStr':_0x1cd3('0x7d9'),'countries':['UA']},{'name':'Pacific/Wake','utcOffset':0x2d0,'offsetStr':_0x1cd3('0x822'),'countries':['UM']},{'name':_0x1cd3('0x8b0'),'utcOffset':-0x12c,'offsetStr':_0x1cd3('0x7e9'),'countries':['US']},{'name':'America/Detroit','utcOffset':-0x12c,'offsetStr':_0x1cd3('0x7e9'),'countries':['US']},{'name':_0x1cd3('0x8b1'),'utcOffset':-0x12c,'offsetStr':_0x1cd3('0x7e9'),'countries':['US']},{'name':'America/Kentucky/Monticello','utcOffset':-0x12c,'offsetStr':_0x1cd3('0x7e9'),'countries':['US']},{'name':_0x1cd3('0x8b2'),'utcOffset':-0x12c,'offsetStr':_0x1cd3('0x7e9'),'countries':['US']},{'name':_0x1cd3('0x8b3'),'utcOffset':-0x12c,'offsetStr':'-05:00','countries':['US']},{'name':_0x1cd3('0x8b4'),'utcOffset':-0x12c,'offsetStr':'-05:00','countries':['US']},{'name':_0x1cd3('0x8b5'),'utcOffset':-0x12c,'offsetStr':_0x1cd3('0x7e9'),'countries':['US']},{'name':_0x1cd3('0x8b6'),'utcOffset':-0x12c,'offsetStr':_0x1cd3('0x7e9'),'countries':['US']},{'name':_0x1cd3('0x8b7'),'utcOffset':-0x12c,'offsetStr':'-05:00','countries':['US']},{'name':_0x1cd3('0x8b8'),'utcOffset':-0x168,'offsetStr':_0x1cd3('0x7ed'),'countries':['US']},{'name':_0x1cd3('0x8b9'),'utcOffset':-0x168,'offsetStr':_0x1cd3('0x7ed'),'countries':['US']},{'name':_0x1cd3('0x8ba'),'utcOffset':-0x168,'offsetStr':'-06:00','countries':['US']},{'name':'America/Menominee','utcOffset':-0x168,'offsetStr':_0x1cd3('0x7ed'),'countries':['US']},{'name':_0x1cd3('0x8bb'),'utcOffset':-0x168,'offsetStr':'-06:00','countries':['US']},{'name':_0x1cd3('0x8bc'),'utcOffset':-0x168,'offsetStr':_0x1cd3('0x7ed'),'countries':['US']},{'name':_0x1cd3('0x8bd'),'utcOffset':-0x168,'offsetStr':_0x1cd3('0x7ed'),'countries':['US']},{'name':_0x1cd3('0x8be'),'utcOffset':-0x1a4,'offsetStr':'-07:00','countries':['US']},{'name':_0x1cd3('0x8bf'),'utcOffset':-0x1a4,'offsetStr':'-07:00','countries':['US']},{'name':_0x1cd3('0x8c0'),'utcOffset':-0x1a4,'offsetStr':_0x1cd3('0x7fe'),'countries':['US']},{'name':_0x1cd3('0x8c1'),'utcOffset':-0x1e0,'offsetStr':_0x1cd3('0x804'),'countries':['US']},{'name':_0x1cd3('0x8c2'),'utcOffset':-0x1e0,'offsetStr':'-08:00','countries':['US']},{'name':_0x1cd3('0x8c3'),'utcOffset':-0x21c,'offsetStr':'-09:00','countries':['US']},{'name':_0x1cd3('0x8c4'),'utcOffset':-0x21c,'offsetStr':_0x1cd3('0x87c'),'countries':['US']},{'name':_0x1cd3('0x8c5'),'utcOffset':-0x21c,'offsetStr':_0x1cd3('0x87c'),'countries':['US']},{'name':_0x1cd3('0x8c6'),'utcOffset':-0x21c,'offsetStr':_0x1cd3('0x87c'),'countries':['US']},{'name':_0x1cd3('0x8c7'),'utcOffset':-0x21c,'offsetStr':_0x1cd3('0x87c'),'countries':['US']},{'name':'America/Adak','utcOffset':-0x258,'offsetStr':'-10:00','countries':['US']},{'name':_0x1cd3('0x8c8'),'utcOffset':-0x258,'offsetStr':'-10:00','countries':['US','UM']},{'name':_0x1cd3('0x8c9'),'utcOffset':-0xb4,'offsetStr':_0x1cd3('0x7ae'),'countries':['UY']},{'name':_0x1cd3('0x8ca'),'utcOffset':0x12c,'offsetStr':_0x1cd3('0x7b0'),'countries':['UZ']},{'name':_0x1cd3('0x8cb'),'utcOffset':0x12c,'offsetStr':_0x1cd3('0x7b0'),'countries':['UZ']},{'name':_0x1cd3('0x8cc'),'utcOffset':-0x10e,'offsetStr':_0x1cd3('0x8cd'),'countries':['VE']},{'name':_0x1cd3('0x8ce'),'utcOffset':0x1a4,'offsetStr':_0x1cd3('0x815'),'countries':['VN']},{'name':'Pacific/Efate','utcOffset':0x294,'offsetStr':_0x1cd3('0x7c7'),'countries':['VU']},{'name':_0x1cd3('0x8cf'),'utcOffset':0x2d0,'offsetStr':_0x1cd3('0x822'),'countries':['WF']},{'name':_0x1cd3('0x8d0'),'utcOffset':0x348,'offsetStr':_0x1cd3('0x848'),'countries':['WS']},{'name':_0x1cd3('0x8d1'),'utcOffset':0x78,'offsetStr':_0x1cd3('0x7d9'),'countries':['ZA','LS','SZ']}];}],'templateUrl':_0x1cd3('0x8d2')};}}());(function(){'use strict';angular['module'](_0x1cd3('0x27'))[_0x1cd3('0x39b')](_0x1cd3('0x8d3'),_0x41548c);function _0x41548c(){var _0x1910c4=this;_0x1910c4['filter']=[];_0x1910c4[_0x1cd3('0x8d4')]=![];_0x1910c4['fontSize']=0x14;_0x1910c4[_0x1cd3('0x8d5')]=_0x495f79;function _0x495f79(_0xab0d4b){var _0x3cf377=0x0;if(_0xab0d4b){_0x1910c4[_0x1cd3('0x8d6')]=_0xab0d4b[_0x1cd3('0x8d7')][0x2]&&_0xab0d4b['attrs'][0x2][_0x1cd3('0x3db')]?parseInt(_0xab0d4b[_0x1cd3('0x8d7')][0x2][_0x1cd3('0x3db')])-parseInt(_0xab0d4b['attrs'][0x2]['value'])%0x2:0x14;if(_0xab0d4b[_0x1cd3('0x8d7')][0x1]['value']&&_0xab0d4b[_0x1cd3('0x8d7')][0x1]['value'][_0x1cd3('0x7a')]){_0x1910c4[_0x1cd3('0x8d4')]=!![];_0x1910c4[_0x1cd3('0x395')]=_['intersection'](_0xab0d4b[_0x1cd3('0x8d8')],_0xab0d4b[_0x1cd3('0x8d7')][0x1][_0x1cd3('0x3db')]);}else{_0x1910c4[_0x1cd3('0x8d4')]=![];_0x1910c4[_0x1cd3('0x395')]=_0xab0d4b[_0x1cd3('0x8d8')];}for(var _0x4c49bd=0x0;_0x4c49bd<_0xab0d4b[_0x1cd3('0x8d9')][_0x1cd3('0xf6')][_0x1cd3('0x7a')];_0x4c49bd+=0x1){if(_[_0x1cd3('0x38f')](_0x1910c4[_0x1cd3('0x395')],_0xab0d4b['voiceQueues']['rows'][_0x4c49bd]['id'])){_0x3cf377+=_0xab0d4b['voiceQueues'][_0x1cd3('0xf6')][_0x4c49bd][_0xab0d4b['attrs'][0x0][_0x1cd3('0x3db')]]?parseInt(_0xab0d4b[_0x1cd3('0x8d9')][_0x1cd3('0xf6')][_0x4c49bd][_0xab0d4b[_0x1cd3('0x8d7')][0x0][_0x1cd3('0x3db')]]):0x0;}}}return _0x3cf377;}}}());(function(){'use strict';_0x4370a0[_0x1cd3('0xc')]=[_0x1cd3('0x3f7'),'socket'];angular[_0x1cd3('0x0')](_0x1cd3('0x27'))[_0x1cd3('0x39b')](_0x1cd3('0x8da'),_0x4370a0);function _0x4370a0(_0x4b1537,_0x2a743c){var _0x3910ad=this;_0x3910ad['filter']=[];_0x3910ad[_0x1cd3('0x8d4')]=![];_0x3910ad['properties']=[];_0x3910ad[_0x1cd3('0x8db')]={'labels':[_0x1cd3('0x8dc')],'series':[_0x1cd3('0x8dd')],'data':[[0x32]],'options':{'responsive':!![],'legend':{'display':!![],'fontColor':_0x1cd3('0x8de')},'scales':{'xAxes':[{'gridLines':{'display':!![]},'ticks':{'fontColor':'#2196f3','stepSize':0x1,'beginAtZero':!![]}}],'yAxes':[{'gridLines':{'display':![]},'ticks':{'fontColor':_0x1cd3('0x8de')}}]}}};_0x3910ad['getMultiBarChart']=_0x102d50;function _0x520568(_0x2ce80a){_0x3910ad['properties']=_[_0x1cd3('0x3d9')](_[_0x1cd3('0x395')](_0x2ce80a[_0x1cd3('0x8d7')],function(_0x1cf324){return _0x1cf324[_0x1cd3('0x98')]&&_0x1cf324[_0x1cd3('0x98')][_0x1cd3('0x45e')](_0x1cd3('0x8df'))>=0x0&&_0x1cf324[_0x1cd3('0x3db')]&&_0x1cf324[_0x1cd3('0x3db')]!=='null';}),_0x1cd3('0x3db'));if(_0x2ce80a[_0x1cd3('0x8d7')][0x3][_0x1cd3('0x3db')]&&_0x2ce80a[_0x1cd3('0x8d7')][0x3]['value']['length']){_0x3910ad['filtered']=!![];_0x3910ad[_0x1cd3('0x395')]=_[_0x1cd3('0x8e0')](_0x2ce80a[_0x1cd3('0x8d8')],_0x2ce80a[_0x1cd3('0x8d7')][0x3][_0x1cd3('0x3db')]);}else{_0x3910ad[_0x1cd3('0x8d4')]=![];_0x3910ad[_0x1cd3('0x395')]=_0x2ce80a[_0x1cd3('0x8d8')];}if(_0x3910ad[_0x1cd3('0x8db')][_0x1cd3('0x8e1')][_0x1cd3('0x7a')]>_0x3910ad[_0x1cd3('0x8e2')]['length']){var _0xe289fd=_0x3910ad[_0x1cd3('0x8db')][_0x1cd3('0x8e1')][_0x1cd3('0x7a')]-_0x3910ad['properties'][_0x1cd3('0x7a')];_0x3910ad[_0x1cd3('0x8db')]['series'][_0x1cd3('0x446')](0x0,_0xe289fd);_0x3910ad['multiBarChart'][_0x1cd3('0x439')]['splice'](0x0,_0xe289fd);}for(var _0x55f9f3=0x0;_0x55f9f3<_0x3910ad[_0x1cd3('0x8e2')][_0x1cd3('0x7a')];_0x55f9f3+=0x1){_0x3910ad[_0x1cd3('0x8db')][_0x1cd3('0x8e1')][_0x55f9f3]=_0x4b1537['instant']('TOOLS.'+_0x3910ad[_0x1cd3('0x8e2')][_0x55f9f3][_0x1cd3('0x437')]());if(_[_0x1cd3('0x472')](_0x3910ad['multiBarChart'][_0x1cd3('0x439')][_0x55f9f3])){_0x3910ad['multiBarChart']['data'][_0x55f9f3]=[];}if(_0x3910ad[_0x1cd3('0x8db')][_0x1cd3('0x8e3')]['length']>_0x3910ad[_0x1cd3('0x395')][_0x1cd3('0x7a')]){var _0x216a7b=_0x3910ad[_0x1cd3('0x8db')][_0x1cd3('0x8e3')]['length']-_0x3910ad['filter']['length'];_0x3910ad[_0x1cd3('0x8db')][_0x1cd3('0x8e3')][_0x1cd3('0x446')](0x0,_0x216a7b);_0x3910ad[_0x1cd3('0x8db')][_0x1cd3('0x439')][_0x55f9f3][_0x1cd3('0x446')](0x0,_0x216a7b);}for(var _0x4ad60b=0x0,_0x1f6225=0x0;_0x4ad60b<_0x2ce80a[_0x1cd3('0x8d9')][_0x1cd3('0xf6')][_0x1cd3('0x7a')];_0x4ad60b+=0x1){if(_[_0x1cd3('0x38f')](_0x3910ad['filter'],_0x2ce80a[_0x1cd3('0x8d9')][_0x1cd3('0xf6')][_0x4ad60b]['id'])){_0x3910ad[_0x1cd3('0x8db')][_0x1cd3('0x8e3')][_0x1f6225]=_0x2ce80a[_0x1cd3('0x8d9')]['rows'][_0x4ad60b][_0x1cd3('0x98')];_0x3910ad[_0x1cd3('0x8db')][_0x1cd3('0x439')][_0x55f9f3][_0x1f6225]=_0x2ce80a['voiceQueues'][_0x1cd3('0xf6')][_0x4ad60b][_0x3910ad[_0x1cd3('0x8e2')][_0x55f9f3]]?parseInt(_0x2ce80a[_0x1cd3('0x8d9')][_0x1cd3('0xf6')][_0x4ad60b][_0x3910ad[_0x1cd3('0x8e2')][_0x55f9f3]]):0x0;_0x1f6225+=0x1;}}}}function _0x42d2cc(_0x1afa9b){_0x3910ad['multiBarChart'][_0x1cd3('0x422')][_0x1cd3('0x8e4')][_0x1cd3('0x8e5')]=_0x1afa9b['foreground'];for(var _0x9a5d1f=0x0;_0x9a5d1f<_0x3910ad[_0x1cd3('0x8db')][_0x1cd3('0x422')]['scales'][_0x1cd3('0x8e6')][_0x1cd3('0x7a')];_0x9a5d1f+=0x1){_0x3910ad[_0x1cd3('0x8db')][_0x1cd3('0x422')][_0x1cd3('0x8e7')][_0x1cd3('0x8e6')][_0x9a5d1f]['ticks'][_0x1cd3('0x8e5')]=_0x1afa9b[_0x1cd3('0x8e8')];}for(var _0x597f03=0x0;_0x597f03<_0x3910ad['multiBarChart'][_0x1cd3('0x422')]['scales']['yAxes'][_0x1cd3('0x7a')];_0x597f03+=0x1){_0x3910ad[_0x1cd3('0x8db')][_0x1cd3('0x422')][_0x1cd3('0x8e7')]['yAxes'][_0x597f03][_0x1cd3('0x8e9')][_0x1cd3('0x8e5')]=_0x1afa9b[_0x1cd3('0x8e8')];}}function _0x102d50(_0x416871){if(_0x416871){if(_0x416871[_0x1cd3('0x8d7')]){_0x520568(_0x416871);}if(_0x416871[_0x1cd3('0x8e8')]){_0x42d2cc(_0x416871);}}}}}());(function(){'use strict';_0x33dec6[_0x1cd3('0xc')]=[_0x1cd3('0x3f7')];angular[_0x1cd3('0x0')](_0x1cd3('0x27'))['controller'](_0x1cd3('0x8ea'),_0x33dec6);function _0x33dec6(_0x1f5d65){var _0x3e8c8e=this;_0x3e8c8e[_0x1cd3('0x395')]=[];_0x3e8c8e['filtered']=![];_0x3e8c8e[_0x1cd3('0x8e2')]=[];_0x3e8c8e[_0x1cd3('0x8eb')]={'labels':[_0x1cd3('0x8ec')],'data':[0x1e],'options':{'responsive':!![],'legend':{'display':!![]}}};_0x3e8c8e[_0x1cd3('0x8ed')]=_0xaa933d;function _0x3d384c(_0x3d8ca8){_0x3e8c8e['properties']=_['map'](_[_0x1cd3('0x395')](_0x3d8ca8['attrs'],function(_0x407c1d){return _0x407c1d[_0x1cd3('0x98')]&&_0x407c1d[_0x1cd3('0x98')]['indexOf'](_0x1cd3('0x8df'))>=0x0&&_0x407c1d[_0x1cd3('0x3db')]&&_0x407c1d[_0x1cd3('0x3db')]!==_0x1cd3('0x220');}),_0x1cd3('0x3db'));if(_0x3d8ca8['attrs'][0x3][_0x1cd3('0x3db')]&&_0x3d8ca8[_0x1cd3('0x8d7')][0x3]['value']['length']){_0x3e8c8e[_0x1cd3('0x8d4')]=!![];_0x3e8c8e['filter']=_[_0x1cd3('0x8e0')](_0x3d8ca8['voiceQueuesSelected'],_0x3d8ca8['attrs'][0x3][_0x1cd3('0x3db')]);}else{_0x3e8c8e['filtered']=![];_0x3e8c8e[_0x1cd3('0x395')]=_0x3d8ca8[_0x1cd3('0x8d8')];}if(_0x3e8c8e[_0x1cd3('0x8eb')]['labels'][_0x1cd3('0x7a')]>_0x3e8c8e[_0x1cd3('0x8e2')][_0x1cd3('0x7a')]){var _0x48c7cb=_0x3e8c8e[_0x1cd3('0x8eb')]['labels'][_0x1cd3('0x7a')]-_0x3e8c8e['properties'][_0x1cd3('0x7a')];_0x3e8c8e[_0x1cd3('0x8eb')][_0x1cd3('0x8e3')][_0x1cd3('0x446')](0x0,_0x48c7cb);_0x3e8c8e[_0x1cd3('0x8eb')][_0x1cd3('0x439')][_0x1cd3('0x446')](0x0,_0x48c7cb);}for(var _0x441e6e=0x0,_0x102968=0x0;_0x441e6e<_0x3e8c8e[_0x1cd3('0x8e2')][_0x1cd3('0x7a')];_0x441e6e+=0x1){_0x3e8c8e[_0x1cd3('0x8eb')]['labels'][_0x441e6e]=_0x1f5d65['instant']('TOOLS.'+_0x3e8c8e[_0x1cd3('0x8e2')][_0x441e6e][_0x1cd3('0x437')]());for(var _0x5bdcf2=0x0;_0x5bdcf2<_0x3d8ca8[_0x1cd3('0x8d9')][_0x1cd3('0xf6')][_0x1cd3('0x7a')];_0x5bdcf2+=0x1){if(_[_0x1cd3('0x38f')](_0x3e8c8e[_0x1cd3('0x395')],_0x3d8ca8[_0x1cd3('0x8d9')][_0x1cd3('0xf6')][_0x5bdcf2]['id'])){_0x102968+=_0x3d8ca8[_0x1cd3('0x8d9')][_0x1cd3('0xf6')][_0x5bdcf2][_0x3e8c8e[_0x1cd3('0x8e2')][_0x441e6e]]?parseInt(_0x3d8ca8[_0x1cd3('0x8d9')][_0x1cd3('0xf6')][_0x5bdcf2][_0x3e8c8e[_0x1cd3('0x8e2')][_0x441e6e]]):0x0;}}_0x3e8c8e[_0x1cd3('0x8eb')][_0x1cd3('0x439')][_0x441e6e]=_0x102968;_0x102968=0x0;}}function _0x476168(_0x1285ee){_0x3e8c8e[_0x1cd3('0x8eb')][_0x1cd3('0x422')]['legend'][_0x1cd3('0x8e5')]=_0x1285ee[_0x1cd3('0x8e8')];}function _0xaa933d(_0x2b8bc0){if(_0x2b8bc0){if(_0x2b8bc0[_0x1cd3('0x8d7')]){_0x3d384c(_0x2b8bc0);}if(_0x2b8bc0['foreground']){_0x476168(_0x2b8bc0);}}}}}());(function(){'use strict';_0x537d95[_0x1cd3('0xc')]=['$scope',_0x1cd3('0x3e7'),'$interval',_0x1cd3('0x370')];angular['module'](_0x1cd3('0x27'))[_0x1cd3('0x39b')](_0x1cd3('0x8ee'),_0x537d95);function _0x537d95(_0x4a3b4c,_0x2fa28c,_0x348400,_0xccff17){var _0x13ec16=this;_0x13ec16[_0x1cd3('0x8ef')]=0x0;_0x13ec16['refresh']=0x0;_0x13ec16['title']='';_0x13ec16[_0x1cd3('0x8f0')]=[];_0x13ec16['results']={'rows':[],'count':0x0};_0x13ec16[_0x1cd3('0x3d4')]={'limit':0xa,'page':0x1,'startDate':moment()[_0x1cd3('0x12e')](_0x1cd3('0x138'))['format']('YYYY-MM-DD\x20HH:mm:ss'),'endDate':moment()[_0x1cd3('0x131')]('day')[_0x1cd3('0x130')](_0x1cd3('0x377')),'output':_0x1cd3('0x8f1')};_0x13ec16[_0x1cd3('0x703')]=_0x191970;_0x13ec16[_0x1cd3('0x8f2')]=_0x3a9a89;_0x13ec16[_0x1cd3('0x8f3')]=_0x1d2300;function _0x191970(_0x55d6f1){if(_0x55d6f1){if(_0x55d6f1[_0x1cd3('0x8d7')]){if(_0x55d6f1['attrs'][0x0]&&_0x55d6f1[_0x1cd3('0x8d7')][0x0][_0x1cd3('0x3db')]){_0x13ec16[_0x1cd3('0x3d4')]['id']=_0x55d6f1[_0x1cd3('0x8d7')][0x0][_0x1cd3('0x3db')];_0xccff17[_0x1cd3('0x8f4')][_0x1cd3('0x361')]({'fields':_0x1cd3('0x8f5'),'nolimit':!![],'DefaultReportId':_0x55d6f1[_0x1cd3('0x8d7')][0x0][_0x1cd3('0x424')]===_0x1cd3('0x5bd')?_0x55d6f1['attrs'][0x0][_0x1cd3('0x3db')]:undefined,'CustomReportId':_0x55d6f1['attrs'][0x0][_0x1cd3('0x424')]===_0x1cd3('0x8f6')?_0x55d6f1[_0x1cd3('0x8d7')][0x0][_0x1cd3('0x3db')]:undefined})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x3fe9ee){if(_0x3fe9ee&&_0x3fe9ee[_0x1cd3('0xf6')]){_0x13ec16['columns']=_0x3fe9ee[_0x1cd3('0xf6')];}switch(_0x55d6f1['attrs'][0x0][_0x1cd3('0x424')]){case _0x1cd3('0x5bd'):_0x13ec16['reportRoute']=_0x1cd3('0x8f7');break;case _0x1cd3('0x8f6'):_0x13ec16[_0x1cd3('0x8f8')]=_0x1cd3('0x8f9');break;}return _0xccff17[_0x13ec16[_0x1cd3('0x8f8')]][_0x1cd3('0x361')]({'id':_0x55d6f1[_0x1cd3('0x8d7')][0x0][_0x1cd3('0x3db')],'fields':_0x1cd3('0xa6')})['$promise'];})[_0x1cd3('0x77')](function(_0x17cdd5){if(_0x17cdd5&&_0x17cdd5[_0x1cd3('0x98')]){_0x13ec16[_0x1cd3('0x486')]=_0x17cdd5[_0x1cd3('0x98')];}_0x3a9a89();})[_0x1cd3('0xfd')](function(_0x12c58d){console[_0x1cd3('0x7d')](_0x12c58d);});}if(_0x55d6f1['attrs'][0x1]&&_0x55d6f1['attrs'][0x1][_0x1cd3('0x3db')]){_0x13ec16[_0x1cd3('0x8fa')]=parseInt(_0x55d6f1[_0x1cd3('0x8d7')][0x1]['value']);if(!_[_0x1cd3('0x8fb')](_0x13ec16[_0x1cd3('0x8fa')])&&_0x13ec16[_0x1cd3('0x8fa')]>0x0){_0x13ec16[_0x1cd3('0x8ef')]=parseInt(_0x55d6f1[_0x1cd3('0x8d7')][0x1][_0x1cd3('0x3db')]);_0x13ec16['interval']=_0x348400(function(){_0x13ec16[_0x1cd3('0x8ef')]-=0x1;},0x3e8,0x0);_0x13ec16[_0x1cd3('0x8fc')]=_0x2fa28c(function(){_0x13ec16[_0x1cd3('0x77e')]&&_0x348400['cancel'](_0x13ec16[_0x1cd3('0x77e')]);_0x191970(_0x55d6f1);},_0x13ec16['refresh']*0x3e8);}else{_0x13ec16[_0x1cd3('0x77e')]&&_0x348400[_0x1cd3('0x4d8')](_0x13ec16[_0x1cd3('0x77e')]);_0x13ec16['timeout']&&_0x2fa28c[_0x1cd3('0x4d8')](_0x13ec16[_0x1cd3('0x8fc')]);}}}}}function _0x1a61a6(_0xb660f0){_0x13ec16['results']=_0xb660f0||{'count':0x0,'rows':[]};}function _0x3a9a89(){_0x13ec16[_0x1cd3('0x3d4')]['offset']=(_0x13ec16['query'][_0x1cd3('0x8fd')]-0x1)*_0x13ec16[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];_0x13ec16['promise']=_0xccff17[_0x13ec16[_0x1cd3('0x8f8')]]['run'](_0x13ec16[_0x1cd3('0x3d4')],_0x1a61a6)[_0x1cd3('0x81')];}function _0x1d2300(_0x167a0a,_0x8f3296){if(moment(_0x8f3296,_0x1cd3('0x8ff'),!![])[_0x1cd3('0x490')]()){_0x8f3296=moment(_0x8f3296,'')[_0x1cd3('0x130')](_0x1cd3('0x377'));}return _0x8f3296;}_0x4a3b4c[_0x1cd3('0x4d3')](_0x1cd3('0x523'),function(){_0x13ec16[_0x1cd3('0x77e')]&&_0x348400['cancel'](_0x13ec16['interval']);_0x13ec16[_0x1cd3('0x8fc')]&&_0x2fa28c[_0x1cd3('0x4d8')](_0x13ec16[_0x1cd3('0x8fc')]);});}}());(function(){'use strict';_0x4143ae[_0x1cd3('0xc')]=['$mdDialog',_0x1cd3('0x900')];_0x3e7900['$inject']=['$document'];angular[_0x1cd3('0x0')](_0x1cd3('0x27'))[_0x1cd3('0x39b')]('MsWidgetEngineController',_0x4143ae)[_0x1cd3('0x3e5')](_0x1cd3('0x901'),_0x3e7900);function _0x4143ae(_0xc8b6ed,_0x2f7202){var _0x541360=this;_0x541360['getTrustedURL']=_0x25a66c;function _0x25a66c(_0x6e123e){return _0x2f7202[_0x1cd3('0x902')](_0x6e123e);}}function _0x3e7900(_0x3c5b3f){return{'restrict':'E','scope':{'config':'=?','onEdit':'&?','onDelete':'&?'},'require':'msWidgetEngine','controller':'MsWidgetEngineController','controllerAs':'vm','bindToController':!![],'templateUrl':'app/core/directives/ms-widget-engine/ms-widget-engine.html'};}}());(function(){'use strict';_0x47614e['$inject']=[_0x1cd3('0x460'),_0x1cd3('0x53d')];angular['module'](_0x1cd3('0x27'))[_0x1cd3('0x39b')](_0x1cd3('0x903'),_0x47614e)[_0x1cd3('0x3e5')](_0x1cd3('0x904'),_0x3fffdf)['directive']('msWidgetFront',_0x1a4c53)['directive'](_0x1cd3('0x905'),_0x26da8b);function _0x47614e(_0x13716a,_0x2a747a){var _0x536362=this;_0x536362[_0x1cd3('0x906')]=![];_0x536362['flip']=_0x509458;function _0x509458(){if(!_0x5b8c42()){return;}_0x536362['flipped']=!_0x536362['flipped'];_0x2a747a[_0x1cd3('0x557')](_0x1cd3('0x906'),_0x536362[_0x1cd3('0x906')]);}function _0x5b8c42(){return angular[_0x1cd3('0x4bf')](_0x13716a[_0x1cd3('0x907')])&&_0x13716a[_0x1cd3('0x907')]===!![];}}function _0x3fffdf(){return{'restrict':'E','scope':{'flippable':'=?'},'controller':_0x1cd3('0x903'),'transclude':!![],'compile':function(_0x3b474f){_0x3b474f[_0x1cd3('0x3c0')](_0x1cd3('0x908'));return function postLink(_0x3358bb,_0x1032a6,_0x242146,_0x19b340,_0x265974){_0x265974(function(_0x28be9c){_0x1032a6[_0x1cd3('0x3eb')]();_0x1032a6[_0x1cd3('0x48c')](_0x28be9c);});};}};}function _0x1a4c53(){return{'restrict':'E','require':'^msWidget','transclude':!![],'compile':function(_0x130db0){_0x130db0[_0x1cd3('0x3c0')]('ms-widget-front');return function postLink(_0x5342af,_0x12771e,_0x3ffc13,_0x481283,_0x24a27e){_0x24a27e(function(_0x1e59c7){_0x12771e['empty']();_0x12771e[_0x1cd3('0x48c')](_0x1e59c7);});_0x5342af[_0x1cd3('0x909')]=_0x481283['flip'];};}};}function _0x26da8b(){return{'restrict':'E','require':_0x1cd3('0x90a'),'transclude':!![],'compile':function(_0x40a4db){_0x40a4db[_0x1cd3('0x3c0')](_0x1cd3('0x90b'));return function postLink(_0xe41b69,_0x372b41,_0x4317e6,_0x5d0892,_0x282885){_0x282885(function(_0x207419){_0x372b41[_0x1cd3('0x3eb')]();_0x372b41[_0x1cd3('0x48c')](_0x207419);});_0xe41b69[_0x1cd3('0x909')]=_0x5d0892['flip'];};}};}}());(function(){'use strict';_0x3011c3['$inject']=['$q','$translate'];angular['module'](_0x1cd3('0x27'))[_0x1cd3('0x373')]('quickFilterManager',_0x3011c3);function _0x3011c3(_0x3942b5,_0x762d44){var _0x4f6840={'setPlaceholder':_0x816f56};function _0x816f56(_0x137859){var _0x181da9;return _0x3942b5(function(_0x381e53,_0x4e50ea){try{if(_[_0x1cd3('0x398')](_0x137859[_0x1cd3('0x90c')])){_0x181da9=_0x762d44[_0x1cd3('0x44a')](_0x1cd3('0x90d'));}else if(_[_0x1cd3('0x398')](_0x137859[_0x1cd3('0x90e')])){_0x181da9=_0x137859['placeholder']?_0x762d44['instant'](_0x137859[_0x1cd3('0x499')]):_0x762d44[_0x1cd3('0x44a')](_0x1cd3('0x90f'));}else if(_0x137859['param'][_0x1cd3('0x7a')]===_0x137859[_0x1cd3('0x90c')][_0x1cd3('0x7a')]){_0x181da9=_0x762d44['instant'](_0x1cd3('0x910'));}else{var _0xa1560b=_0x137859[_0x1cd3('0x6d3')]||'id';_0x181da9=_(_0x137859[_0x1cd3('0x90c')])[_0x1cd3('0x395')](function(_0x1577db){return _['includes'](_0x137859[_0x1cd3('0x90e')],_0x1577db[_0xa1560b]);})[_0x1cd3('0x3d9')]('name')['value']()[_0x1cd3('0x3de')](',\x20');}_0x381e53(_0x181da9);}catch(_0x18c644){console[_0x1cd3('0x7d')]('QuickFilterManager::setPlaceholder',_0x18c644);_0x381e53(null);}});}return _0x4f6840;}}());(function(){'use strict';angular['module'](_0x1cd3('0x27'))[_0x1cd3('0x395')](_0x1cd3('0x911'),_0x1bb966);function _0x1bb966(){return function(_0x3ff483){var _0x5d985b=Date[_0x1cd3('0x912')]()-new Date(_0x3ff483);if(_0x5d985b<0x3c*0x3c*0x3e8){return moment(_0x3ff483)[_0x1cd3('0x913')]();}else if(_0x5d985b<0x3c*0x3c*0x18*0x3e8){return moment(_0x3ff483)[_0x1cd3('0x130')]('HH:mm');}else if(_0x5d985b<0x3c*0x3c*0x18*0x7*0x3e8){return moment(_0x3ff483)[_0x1cd3('0x130')](_0x1cd3('0x914'));}else{return moment(_0x3ff483)[_0x1cd3('0x915')]();}};}}());(function(){'use strict';_0x447ce0[_0x1cd3('0xc')]=[_0x1cd3('0x900')];angular[_0x1cd3('0x0')](_0x1cd3('0x27'))[_0x1cd3('0x395')](_0x1cd3('0x916'),_0x447ce0)['filter'](_0x1cd3('0x917'),_0x21c068)['filter'](_0x1cd3('0x918'),_0x452040)[_0x1cd3('0x395')](_0x1cd3('0x919'),_0xfc497d);function _0x447ce0(_0x4d0852){return function(_0xe2993b){return _0x4d0852[_0x1cd3('0x91a')](_0xe2993b);};}function _0x21c068(){return function(_0x234c6a){return String(_0x234c6a)[_0x1cd3('0x3f1')](/<[^>]+>/gm,'');};}function _0x452040(){return function(_0x48112e){return!_0x48112e?'':_0x48112e[_0x1cd3('0x3f1')](/ /g,'');};}function _0xfc497d(){return function(_0x919165){if(!_0x919165){return;}if(_0x919165[_0x1cd3('0x424')]===_0x1cd3('0x3e5')){return _0x919165[_0x1cd3('0x98')][_0x1cd3('0x3f1')](/([A-Z])/g,function(_0xc42835){return'-'+_0xc42835[_0x1cd3('0x433')]();});}return _0x919165[_0x1cd3('0x91b')]||_0x919165[_0x1cd3('0x98')];};}}());(function(){'use strict';angular['module'](_0x1cd3('0x27'))['filter'](_0x1cd3('0x91c'),_0x11d7e4);function _0x11d7e4(){return function(_0xa801cf,_0xabed16){if(_0xa801cf[_0x1cd3('0x7a')]===0x0||!_0xabed16){return _0xa801cf;}if(_0xabed16[_0x1cd3('0x7a')]===0x0){return[];}var _0x1bd8e8=[];for(var _0x6b61bb=0x0;_0x6b61bb<_0xa801cf[_0x1cd3('0x7a')];_0x6b61bb++){var _0x353119=_0xa801cf[_0x6b61bb];var _0x1cdf87=![];for(var _0x3ca102=0x0;_0x3ca102<_0xabed16['length'];_0x3ca102++){var _0x573ba2=_0xabed16[_0x3ca102];if(_0x353119['id']===_0x573ba2){_0x1cdf87=!![];break;}}if(_0x1cdf87){_0x1bd8e8[_0x1cd3('0x7b')](_0x353119);}}return _0x1bd8e8;};}}());(function(){'use strict';angular[_0x1cd3('0x0')](_0x1cd3('0x27'))[_0x1cd3('0x395')](_0x1cd3('0x91d'),_0x10cf0d);function _0x10cf0d(){return function(_0x2a289c,_0x4a0f9d,_0x84368f){if(_0x2a289c[_0x1cd3('0x7a')]===0x0||!_0x84368f||_0x84368f['length']===0x0){return _0x2a289c;}var _0x40d7de=[];for(var _0x290f70=0x0;_0x290f70<_0x2a289c[_0x1cd3('0x7a')];_0x290f70++){var _0x585664=_0x2a289c[_0x290f70];var _0x185ceb=![];for(var _0x5d601a=0x0;_0x5d601a<_0x84368f[_0x1cd3('0x7a')];_0x5d601a++){var _0xb2a60=_0x84368f[_0x5d601a];if(_0x585664[_0x4a0f9d][_0x1cd3('0x45e')](_0xb2a60)>-0x1){_0x185ceb=!![];break;}}if(_0x185ceb){_0x40d7de['push'](_0x585664);}}return _0x40d7de;};}}());(function(){'use strict';angular['module'](_0x1cd3('0x27'))['filter'](_0x1cd3('0x91e'),_0x4d9ab1)[_0x1cd3('0x395')](_0x1cd3('0x91f'),_0x1ee344);function _0x4d9ab1(){return function(_0x34a7e9,_0x2e1dd8){if(_0x34a7e9[_0x1cd3('0x7a')]===0x0||_0x2e1dd8['length']===0x0){return _0x34a7e9;}var _0xf0bfa2=[];_0x34a7e9[_0x1cd3('0x394')](function(_0x26b644){var _0x58eee1=_0x2e1dd8[_0x1cd3('0x920')](function(_0x1d41a0){var _0x112ac6=![];_0x26b644[_0x1cd3('0x921')]['forEach'](function(_0x231dcf){if(_0x231dcf['name']===_0x1d41a0[_0x1cd3('0x98')]){_0x112ac6=!![];return;}});return _0x112ac6;});if(_0x58eee1){_0xf0bfa2[_0x1cd3('0x7b')](_0x26b644);}});return _0xf0bfa2;};}function _0x1ee344(){return function(_0x47f455,_0x21b355){if(_0x47f455[_0x1cd3('0x7a')]===0x0||_0x21b355[_0x1cd3('0x7a')]===0x0){return;}if(_0x47f455[_0x1cd3('0x7a')]<_0x21b355[_0x1cd3('0x7a')]){return[];}var _0x4337ad=[];var _0x188cdb=_0x21b355[_0x1cd3('0x920')](function(_0x4c1ce3){var _0x50ec1e=![];_0x47f455[_0x1cd3('0x394')](function(_0x599927){if(_0x599927['name']===_0x4c1ce3[_0x1cd3('0x98')]){_0x50ec1e=!![];return;}});return _0x50ec1e;});if(_0x188cdb){_0x4337ad['push'](_0x47f455);}return _0x4337ad;};}}());(function(){'use strict';angular[_0x1cd3('0x0')](_0x1cd3('0x2a'))[_0x1cd3('0x3b3')](_0x1cd3('0x588'),_0x115c3d);function _0x1e0339(_0x18238b,_0x1af739,_0x1c3821,_0x2897fa){var _0x14429d=this;this['id']=Math[_0x1cd3('0x6b2')]()['toString'](0x24)[_0x1cd3('0x922')](0x2,0xf)+Math[_0x1cd3('0x6b2')]()[_0x1cd3('0x43b')](0x24)[_0x1cd3('0x922')](0x2,0xf);this[_0x1cd3('0x486')]=_0x18238b;this[_0x1cd3('0x380')]=_0x1af739;this[_0x1cd3('0x923')]=_0x1c3821;this[_0x1cd3('0x3a7')]=_0x2897fa;this['close']=_0x324316;}function _0x3bcb1b(){return!(window['document'][_0x1cd3('0x533')]||window[_0x1cd3('0x924')][_0x1cd3('0x925')]||window[_0x1cd3('0x924')][_0x1cd3('0x926')]);}function _0x2d3433(){return/Chrome/[_0x1cd3('0x658')](navigator[_0x1cd3('0x927')])&&/Google Inc/[_0x1cd3('0x658')](navigator[_0x1cd3('0x928')]);}function _0x324316(){var _0x3ca1e7=this;navigator['serviceWorker'][_0x1cd3('0x649')]['then'](function(_0x411287){_0x411287['getNotifications']()['then'](function(_0x3d20f3){var _0x30e7cd=_[_0x1cd3('0x442')](_0x3d20f3,function(_0x2a11a7){return _0x2a11a7[_0x1cd3('0x439')]['id']===_0x3ca1e7['id'];});if(_0x30e7cd){_0x30e7cd[_0x1cd3('0x3cf')]();}});});}function _0x115c3d(){return{'$get':[_0x2b98c6]};function _0x2b98c6(){var _0x3379c9=[];var _0x4e0607;var _0x11a603;if('serviceWorker'in navigator&&_0x2d3433()){navigator[_0x1cd3('0x929')][_0x1cd3('0x92a')](_0x1cd3('0x92b'))['then'](function(_0x1ad578){_0x4e0607=_0x1ad578;_0x4e0607[_0x1cd3('0x378')]();if(_0x4e0607[_0x1cd3('0x92c')]){_0x11a603=_0x4e0607[_0x1cd3('0x92c')];}else if(_0x4e0607['waiting']){_0x11a603=_0x4e0607[_0x1cd3('0x10d')];}else if(_0x4e0607[_0x1cd3('0x92d')]){_0x11a603=_0x4e0607[_0x1cd3('0x92d')];}})['catch'](function(_0x4c7411){console[_0x1cd3('0x434')](_0x1cd3('0x92e'),_0x4c7411);});}else{console[_0x1cd3('0x434')](_0x1cd3('0x92f'));}navigator[_0x1cd3('0x929')][_0x1cd3('0x5d4')](_0x1cd3('0x43a'),function(_0x4555f1){if(_0x4555f1[_0x1cd3('0x930')]!==_0x11a603){return;}var _0x405657=_[_0x1cd3('0x442')](_0x3379c9,{'id':_0x4555f1[_0x1cd3('0x439')]['id']});if(_0x405657){switch(_0x4555f1[_0x1cd3('0x439')][_0x1cd3('0x931')]){case _0x1cd3('0x923'):if(_0x405657[_0x1cd3('0x923')]){_0x405657[_0x1cd3('0x923')]();}break;case _0x1cd3('0x3a7'):if(_0x405657['reject']){_0x405657['reject']();}break;default:}}});return{'create':function(_0x2f0144,_0x7a1704,_0x53ba20,_0x4b589f,_0x1abe1d){return new Promise(function(_0x53b944,_0x47a980){var _0x12f5ca;if(_0x2d3433()&&!_0x3bcb1b()){_0x12f5ca=new _0x1e0339(_0x2f0144||'MyTitle',_0x7a1704||_0x1cd3('0x932'),_0x4b589f,_0x1abe1d);_0x3379c9[_0x1cd3('0x7b')](_0x12f5ca);if(_0x12f5ca){window[_0x1cd3('0x933')][_0x1cd3('0x934')]()['then'](function(_0x52c3a7){if(_0x52c3a7==='granted'){return _0x4e0607[_0x1cd3('0x935')](_0x12f5ca[_0x1cd3('0x486')],{'body':_0x12f5ca['body'],'requireInteraction':!![],'icon':_0x53ba20||'assets/images/business/queueCampaigns.jpg','data':{'id':_0x12f5ca['id']},'actions':[{'action':_0x1cd3('0x923'),'title':_0x1cd3('0x936')},{'action':_0x1cd3('0x3a7'),'title':_0x1cd3('0x937')}]});}})[_0x1cd3('0x77')](function(_0x5eeade){_0x53b944(_0x12f5ca);})[_0x1cd3('0xfd')](function(_0x51a960){_0x47a980(_0x51a960);});}else{_0x47a980(new Error(_0x1cd3('0x938')));}}else{_0x53b944();}});}};}}}());(function(){'use strict';_0x302607[_0x1cd3('0xc')]=['$q',_0x1cd3('0x546'),'api'];angular[_0x1cd3('0x0')](_0x1cd3('0x27'))[_0x1cd3('0x373')](_0x1cd3('0x62'),_0x302607);function _0x302607(_0x2e0d31,_0x265765,_0x305b69){var _0x5c27d3={'resolve':_0x52cee6};return _0x5c27d3;function _0x52cee6(_0x8c3fd6,_0x146f28){var _0x485107=_0x8c3fd6[_0x1cd3('0x3ef')]('@'),_0x628f3f=_0x485107[0x0],_0x4a5037=_0x485107[0x1],_0x5e8d65=_0x146f28||{};if(!_0x628f3f||!_0x4a5037){_0x265765['error'](_0x1cd3('0x939'));return![];}var _0x5be597=_0x2e0d31[_0x1cd3('0x53a')]();var _0x24215a=_0x507797(_0x628f3f);if(!_0x24215a){_0x265765[_0x1cd3('0x434')](_0x1cd3('0x93a')+_0x628f3f+_0x1cd3('0x93b'));_0x5be597[_0x1cd3('0x3a7')]('Resource\x20\x22'+_0x628f3f+_0x1cd3('0x93b'));}else{_0x24215a[_0x4a5037](_0x5e8d65,function(_0x2ed2ec){_0x5be597['resolve'](_0x2ed2ec);},function(_0x149d2d){_0x5be597[_0x1cd3('0x3a7')](_0x149d2d);});}return _0x5be597[_0x1cd3('0x539')];}function _0x507797(_0x4d8fdc){var _0x2db80c=_0x4d8fdc[_0x1cd3('0x3ef')]('.'),_0x1bf999=_0x305b69;for(var _0x2fcb30=0x0;_0x2fcb30<_0x2db80c[_0x1cd3('0x7a')];_0x2fcb30++){if(angular[_0x1cd3('0x529')](_0x1bf999[_0x2db80c[_0x2fcb30]])){_0x265765['error'](_0x1cd3('0x93c')+_0x2db80c[_0x2fcb30]+_0x1cd3('0x93d'));_0x1bf999=![];break;}_0x1bf999=_0x1bf999[_0x2db80c[_0x2fcb30]];}if(!_0x1bf999){return![];}return _0x1bf999;}}}());(function(){'use strict';_0x1094ae[_0x1cd3('0xc')]=[_0x1cd3('0x39e')];angular[_0x1cd3('0x0')](_0x1cd3('0x27'))['factory'](_0x1cd3('0x93e'),_0x1094ae);function _0x1094ae(_0x428035){var _0x59affc={'showLoadingIndicator':_0x33cfbf,'hideLoadingIndicator':_0x5ef4f2};return _0x59affc;function _0x33cfbf(){_0x428035[_0x1cd3('0x93f')]=!![];}function _0x5ef4f2(){_0x428035[_0x1cd3('0x93f')]=![];}}}());(function(){'use strict';angular[_0x1cd3('0x0')](_0x1cd3('0x27'))[_0x1cd3('0x3b3')](_0x1cd3('0x940'),_0x447451);function _0x447451(){var _0xfa56a4=this;var _0x140000=angular['injector'](['ng'])[_0x1cd3('0x361')](_0x1cd3('0x546'));var _0x5abb16='';var _0x4b18b0=[];_0xfa56a4[_0x1cd3('0x941')]=_0x540589;_0xfa56a4[_0x1cd3('0x942')]=_0x15f8a6;_0xfa56a4[_0x1cd3('0x943')]=_0x5833d5;_0xfa56a4['register']=_0x50e541;function _0x540589(_0x46523c){_0x5abb16=_0x46523c;}function _0x15f8a6(){return _0x5abb16;}function _0x5833d5(){return _0x4b18b0;}function _0x50e541(_0x1255c3,_0x250393){if(!angular[_0x1cd3('0x54a')](_0x1255c3)){_0x140000[_0x1cd3('0x434')](_0x1cd3('0x944'));return;}if(!angular[_0x1cd3('0x43d')](_0x250393)){_0x140000[_0x1cd3('0x434')](_0x1cd3('0x945'));return;}_0x4b18b0[_0x1255c3]={'url':_0x5abb16+(_0x250393[0x0]||''),'paramDefaults':_0x250393[0x1]||[],'actions':_0x250393[0x2]||[],'options':_0x250393[0x3]||{}};}this[_0x1cd3('0x3b5')]=[_0x1cd3('0x546'),'$q','$resource',_0x1cd3('0x39e'),function(_0x1231b1,_0x47ee8c,_0x53126f,_0xcc74f3){var _0x381662={'setBaseUrl':_0x540589,'getBaseUrl':_0x15f8a6,'register':_0x50e541,'resolve':_0x50d4ae,'request':_0x2df769};return _0x381662;function _0x50d4ae(_0x42068e,_0x2e2031){_0xcc74f3['$broadcast']('msApi::resolveStart');var _0x3786bf=_0x42068e['split']('@'),_0x211733=_0x3786bf[0x0],_0x3c9e65=_0x3786bf[0x1],_0x3f32e8=_0x2e2031||{};if(!_0x211733||!_0x3c9e65){_0x1231b1[_0x1cd3('0x434')](_0x1cd3('0x946'));return![];}var _0x12de75=_0x47ee8c[_0x1cd3('0x53a')]();var _0x236dc9=_0x4b18b0[_0x211733];if(!_0x236dc9){_0x1231b1[_0x1cd3('0x434')]('Resource\x20\x22'+_0x211733+_0x1cd3('0x93b'));_0x12de75[_0x1cd3('0x3a7')](_0x1cd3('0x93a')+_0x211733+_0x1cd3('0x93b'));}else{var _0x5acbea=_0x53126f(_0x236dc9['url'],_0x236dc9['paramDefaults'],_0x236dc9[_0x1cd3('0x947')],_0x236dc9['options']);_0x5acbea[_0x3c9e65](_0x3f32e8,function(_0x569be7){_0x12de75[_0x1cd3('0x58')](_0x569be7);_0xcc74f3[_0x1cd3('0x46c')]('msApi::resolveSuccess');},function(_0x15ac67){_0x12de75[_0x1cd3('0x3a7')](_0x15ac67);_0xcc74f3[_0x1cd3('0x46c')](_0x1cd3('0x948'));});}return _0x12de75['promise'];}function _0x2df769(_0x32dc6a,_0x80244b,_0x56f7a8,_0x5c6d5f){_0xcc74f3[_0x1cd3('0x46c')](_0x1cd3('0x949'));var _0x2512c3=_0x32dc6a['split']('@'),_0x539840=_0x2512c3[0x0],_0x4c0e10=_0x2512c3[0x1],_0x14ca73=_0x80244b||{};if(!_0x539840||!_0x4c0e10){_0x1231b1[_0x1cd3('0x434')]('msApi.resolve\x20requires\x20correct\x20action\x20parameter\x20(resourceName@methodName)');return![];}var _0x40edc0=_0x47ee8c[_0x1cd3('0x53a')]();var _0x44da54=_0x4b18b0[_0x539840];if(!_0x44da54){_0x1231b1[_0x1cd3('0x434')](_0x1cd3('0x93a')+_0x539840+_0x1cd3('0x93b'));_0x40edc0[_0x1cd3('0x3a7')]('Resource\x20\x22'+_0x539840+'\x22\x20is\x20not\x20defined\x20in\x20the\x20api\x20service!');}else{var _0x115fdc=_0x53126f(_0x44da54[_0x1cd3('0x3a4')],_0x44da54['paramDefaults'],_0x44da54[_0x1cd3('0x947')],_0x44da54[_0x1cd3('0x422')]);_0x115fdc[_0x4c0e10](_0x14ca73,function(_0x45308b){_0xcc74f3['$broadcast']('msApi::requestSuccess');_0x40edc0[_0x1cd3('0x58')](_0x45308b);if(angular['isDefined'](_0x56f7a8)&&angular[_0x1cd3('0x3a8')](_0x56f7a8)){_0x56f7a8(_0x45308b);}},function(_0x3b4e8a){_0xcc74f3[_0x1cd3('0x46c')](_0x1cd3('0x94a'));_0x40edc0['reject'](_0x3b4e8a);if(angular['isDefined'](_0x5c6d5f)&&angular[_0x1cd3('0x3a8')](_0x5c6d5f)){_0x5c6d5f(_0x3b4e8a);}});}return _0x40edc0['promise'];}}];}}());(function(){'use strict';_0x6cff05[_0x1cd3('0xc')]=['$window'];angular[_0x1cd3('0x0')](_0x1cd3('0x27'))[_0x1cd3('0x373')](_0x1cd3('0x2dd'),_0x6cff05);function _0x6cff05(_0x16a1d8){var _0x4020a0=new MobileDetect(_0x16a1d8[_0x1cd3('0x94b')]['userAgent']),_0x59dd1e=null;var _0x1d98e2={'exists':_0x1e6d1e,'detectBrowser':_0x2c81c9,'guidGenerator':_0x24cb72,'isMobile':_0x38b431,'toggleInArray':_0x23e8c3,'firstLastDayMonth':_0x4b36a1};return _0x1d98e2;function _0x1e6d1e(_0x4fee33,_0x4092b2){return _0x4092b2[_0x1cd3('0x45e')](_0x4fee33)>-0x1;}function _0x2c81c9(){if(_0x59dd1e){return _0x59dd1e;}var _0x2cc4e7=[{'string':_0x16a1d8[_0x1cd3('0x94b')][_0x1cd3('0x927')],'subString':_0x1cd3('0x94c'),'versionSearch':_0x1cd3('0x94c'),'identity':'Edge'},{'string':_0x16a1d8[_0x1cd3('0x94b')][_0x1cd3('0x927')],'subString':_0x1cd3('0x5eb'),'identity':_0x1cd3('0x5eb')},{'string':_0x16a1d8[_0x1cd3('0x94b')][_0x1cd3('0x927')],'subString':'OmniWeb','versionSearch':'OmniWeb/','identity':'OmniWeb'},{'string':_0x16a1d8[_0x1cd3('0x94b')][_0x1cd3('0x928')],'subString':'Apple','versionSearch':_0x1cd3('0x94d'),'identity':_0x1cd3('0x94e')},{'prop':_0x16a1d8[_0x1cd3('0x5f7')],'identity':_0x1cd3('0x5ec')},{'string':_0x16a1d8[_0x1cd3('0x94b')][_0x1cd3('0x928')],'subString':_0x1cd3('0x94f'),'identity':_0x1cd3('0x94f')},{'string':_0x16a1d8['navigator'][_0x1cd3('0x928')],'subString':_0x1cd3('0x950'),'identity':_0x1cd3('0x951')},{'string':_0x16a1d8[_0x1cd3('0x94b')][_0x1cd3('0x927')],'subString':_0x1cd3('0x952'),'identity':_0x1cd3('0x952')},{'string':_0x16a1d8[_0x1cd3('0x94b')][_0x1cd3('0x928')],'subString':_0x1cd3('0x953'),'identity':_0x1cd3('0x953')},{'string':_0x16a1d8[_0x1cd3('0x94b')][_0x1cd3('0x927')],'subString':_0x1cd3('0x954'),'identity':_0x1cd3('0x954')},{'string':_0x16a1d8[_0x1cd3('0x94b')]['userAgent'],'subString':_0x1cd3('0x955'),'identity':_0x1cd3('0x956'),'versionSearch':'MSIE'},{'string':_0x16a1d8['navigator'][_0x1cd3('0x927')],'subString':'Trident/7','identity':_0x1cd3('0x956'),'versionSearch':'rv'},{'string':_0x16a1d8[_0x1cd3('0x94b')][_0x1cd3('0x927')],'subString':'Gecko','identity':_0x1cd3('0x957'),'versionSearch':'rv'},{'string':_0x16a1d8[_0x1cd3('0x94b')]['userAgent'],'subString':_0x1cd3('0x957'),'identity':_0x1cd3('0x954'),'versionSearch':'Mozilla'}];var _0x50423d=[{'string':_0x16a1d8['navigator']['platform'],'subString':_0x1cd3('0x958'),'identity':_0x1cd3('0x959')},{'string':_0x16a1d8['navigator'][_0x1cd3('0x95a')],'subString':_0x1cd3('0x95b'),'identity':_0x1cd3('0x95b')},{'string':_0x16a1d8[_0x1cd3('0x94b')][_0x1cd3('0x95a')],'subString':_0x1cd3('0x95c'),'identity':_0x1cd3('0x95c')},{'string':_0x16a1d8[_0x1cd3('0x94b')][_0x1cd3('0x95a')],'subString':_0x1cd3('0x95d'),'identity':_0x1cd3('0x95d')},{'string':_0x16a1d8[_0x1cd3('0x94b')][_0x1cd3('0x95a')],'subString':_0x1cd3('0x95e'),'identity':'iPod'},{'string':_0x16a1d8[_0x1cd3('0x94b')][_0x1cd3('0x95a')],'subString':'iPad','identity':_0x1cd3('0x95f')},{'string':_0x16a1d8['navigator'][_0x1cd3('0x95a')],'subString':_0x1cd3('0x960'),'identity':'Android'}];var _0x4c7770='';function _0xde085e(_0xabb4ba){for(var _0x5b79d1=0x0;_0x5b79d1<_0xabb4ba['length'];_0x5b79d1++){var _0x1d8b53=_0xabb4ba[_0x5b79d1][_0x1cd3('0x961')];var _0x8401f7=_0xabb4ba[_0x5b79d1]['prop'];_0x4c7770=_0xabb4ba[_0x5b79d1]['versionSearch']||_0xabb4ba[_0x5b79d1][_0x1cd3('0x962')];if(_0x1d8b53){if(_0x1d8b53[_0x1cd3('0x45e')](_0xabb4ba[_0x5b79d1][_0x1cd3('0x963')])!==-0x1){return _0xabb4ba[_0x5b79d1]['identity'];}}else if(_0x8401f7){return _0xabb4ba[_0x5b79d1][_0x1cd3('0x962')];}}}function _0x53fbaa(_0x1f4014){var _0x3365a6=_0x1f4014['indexOf'](_0x4c7770);if(_0x3365a6===-0x1){return;}return parseInt(_0x1f4014[_0x1cd3('0x922')](_0x3365a6+_0x4c7770[_0x1cd3('0x7a')]+0x1));}var _0x40f347=_0xde085e(_0x2cc4e7)||_0x1cd3('0x964');var _0xb3b4d0=_0x53fbaa(_0x16a1d8['navigator']['userAgent'])||_0x53fbaa(_0x16a1d8[_0x1cd3('0x94b')]['appVersion'])||_0x1cd3('0x965');var _0x3ab121=_0xde085e(_0x50423d)||_0x1cd3('0x966');_0x40f347=_0x40f347['toLowerCase']();_0xb3b4d0=_0x40f347+'-'+_0xb3b4d0;_0x3ab121=_0x3ab121['toLowerCase']();_0x59dd1e={'browser':_0x40f347,'version':_0xb3b4d0,'os':_0x3ab121};return _0x59dd1e;}function _0x24cb72(){var _0x2fd6ed=function(){return((0x1+Math[_0x1cd3('0x6b2')]())*0x10000||0x0)[_0x1cd3('0x43b')](0x10)['substring'](0x1);};return _0x2fd6ed()+_0x2fd6ed()+_0x2fd6ed()+_0x2fd6ed()+_0x2fd6ed()+_0x2fd6ed();}function _0x38b431(){return _0x4020a0[_0x1cd3('0x967')]();}function _0x23e8c3(_0x2db4ff,_0x34a44a){if(_0x34a44a[_0x1cd3('0x45e')](_0x2db4ff)===-0x1){_0x34a44a[_0x1cd3('0x7b')](_0x2db4ff);}else{_0x34a44a['splice'](_0x34a44a[_0x1cd3('0x45e')](_0x2db4ff),0x1);}}function _0x4b36a1(){return{'$gte':moment()['startOf'](_0x1cd3('0x6e8'))[_0x1cd3('0x12f')](0x0,!![])['format'](),'$lte':moment()[_0x1cd3('0x131')]('month')[_0x1cd3('0x12f')](0x0,!![])[_0x1cd3('0x130')]()};}}}());(function(){'use strict';_0x2af28a[_0x1cd3('0xc')]=[_0x1cd3('0x36f'),_0x1cd3('0x968')];_0x2a1e11[_0x1cd3('0xc')]=[_0x1cd3('0x969')];angular[_0x1cd3('0x0')](_0x1cd3('0x27'))[_0x1cd3('0x39b')](_0x1cd3('0x96a'),_0x2af28a)[_0x1cd3('0x3e5')](_0x1cd3('0x96b'),_0x2a1e11);function _0x2af28a(_0x1be438,_0x10f956){var _0x4fc7cd=this;_0x4fc7cd[_0x1cd3('0x96c')]=_0x10f956[_0x1cd3('0x96c')];_0x4fc7cd[_0x1cd3('0x96d')]=[{'label':'Boxed','value':_0x1cd3('0x96e')},{'label':_0x1cd3('0x96f'),'value':_0x1cd3('0x970')}];_0x4fc7cd[_0x1cd3('0x971')]=[{'label':'Vertical\x20Navigation','value':_0x1cd3('0x972'),'figure':'/assets/images/theme-options/vertical-nav.jpg'},{'label':'Vertical\x20Navigation\x20with\x20Fullwidth\x20Toolbar','value':_0x1cd3('0x973'),'figure':'/assets/images/theme-options/vertical-nav-with-full-toolbar.jpg'},{'label':_0x1cd3('0x974'),'value':_0x1cd3('0x975'),'figure':_0x1cd3('0x976')},{'label':_0x1cd3('0x977'),'value':_0x1cd3('0x978'),'figure':_0x1cd3('0x979')},{'label':_0x1cd3('0x97a'),'value':_0x1cd3('0x97b'),'figure':_0x1cd3('0x97c')},{'label':_0x1cd3('0x97d'),'value':_0x1cd3('0x97e'),'figure':_0x1cd3('0x97f')}];_0x4fc7cd['layoutMode']=_0x1cd3('0x970');_0x4fc7cd[_0x1cd3('0x980')]=_0x1be438[_0x1cd3('0x361')]('motion.layoutStyle')||_0x1cd3('0x972');_0x4fc7cd['setActiveTheme']=_0x54caae;_0x4fc7cd[_0x1cd3('0x981')]=_0x531c76;_0x4fc7cd['updateLayoutMode']=_0x39a6a8;_0x4fc7cd[_0x1cd3('0x982')]=_0x39cef1;function _0x54caae(_0x21e344){_0x10f956[_0x1cd3('0x983')](_0x21e344);}function _0x531c76(){return _0x10f956[_0x1cd3('0x96c')][_0x1cd3('0x92d')];}function _0x39a6a8(){var _0x5bc477=angular[_0x1cd3('0x37f')](_0x1cd3('0x380'));_0x5bc477[_0x1cd3('0x557')](_0x1cd3('0x96e'),_0x4fc7cd['layoutMode']===_0x1cd3('0x96e'));}function _0x39cef1(){_0x1be438['put'](_0x1cd3('0x984'),_0x4fc7cd[_0x1cd3('0x980')]);location[_0x1cd3('0x985')]();}}function _0x2a1e11(_0x2fcc27){return{'restrict':'E','scope':{},'controller':'MsThemeOptionsController\x20as\x20vm','templateUrl':'app/core/theme-options/theme-options.html','compile':function(_0x2190f5){_0x2190f5[_0x1cd3('0x3c0')](_0x1cd3('0x986'));return function postLink(_0x28d95f){function _0x2ee055(){_0x2fcc27(_0x1cd3('0x987'))['toggle']();}_0x28d95f[_0x1cd3('0x988')]=_0x2ee055;};}};}}());(function(){'use strict';_0x437663[_0x1cd3('0xc')]=[_0x1cd3('0x36f'),'$log',_0x1cd3('0x968')];angular[_0x1cd3('0x0')]('app.core')[_0x1cd3('0x373')]('motionGenerator',_0x437663);function _0x437663(_0x5d0d5a,_0x9df3c9,_0x2fee01){var _0x1a5ffd={};var _0x527512={'generate':_0x3d59a3,'rgba':_0x176382};return _0x527512;function _0x3d59a3(){var _0x3698c0=angular[_0x1cd3('0x429')](_0x2fee01[_0x1cd3('0x989')]());var _0x20e1c9=angular[_0x1cd3('0x429')](_0x2fee01[_0x1cd3('0x98a')]());angular[_0x1cd3('0x394')](_0x3698c0,function(_0x38663c){_0x1a5ffd[_0x38663c[_0x1cd3('0x98')]]={};angular[_0x1cd3('0x394')](_0x38663c[_0x1cd3('0x98b')],function(_0x4e4ce3,_0x36fae4){_0x1a5ffd[_0x38663c[_0x1cd3('0x98')]][_0x36fae4]={'name':_0x4e4ce3[_0x1cd3('0x98')],'levels':{'default':{'color':_0x176382(_0x20e1c9[_0x4e4ce3[_0x1cd3('0x98')]][_0x4e4ce3[_0x1cd3('0x98c')][_0x1cd3('0x5bd')]][_0x1cd3('0x3db')]),'contrast1':_0x176382(_0x20e1c9[_0x4e4ce3['name']][_0x4e4ce3[_0x1cd3('0x98c')]['default']][_0x1cd3('0x500')],0x1),'contrast2':_0x176382(_0x20e1c9[_0x4e4ce3[_0x1cd3('0x98')]][_0x4e4ce3['hues'][_0x1cd3('0x5bd')]][_0x1cd3('0x500')],0x2),'contrast3':_0x176382(_0x20e1c9[_0x4e4ce3['name']][_0x4e4ce3[_0x1cd3('0x98c')][_0x1cd3('0x5bd')]]['contrast'],0x3),'contrast4':_0x176382(_0x20e1c9[_0x4e4ce3['name']][_0x4e4ce3[_0x1cd3('0x98c')][_0x1cd3('0x5bd')]]['contrast'],0x4)},'hue1':{'color':_0x176382(_0x20e1c9[_0x4e4ce3[_0x1cd3('0x98')]][_0x4e4ce3[_0x1cd3('0x98c')]['hue-1']]['value']),'contrast1':_0x176382(_0x20e1c9[_0x4e4ce3[_0x1cd3('0x98')]][_0x4e4ce3['hues'][_0x1cd3('0x98d')]][_0x1cd3('0x500')],0x1),'contrast2':_0x176382(_0x20e1c9[_0x4e4ce3[_0x1cd3('0x98')]][_0x4e4ce3['hues'][_0x1cd3('0x98d')]][_0x1cd3('0x500')],0x2),'contrast3':_0x176382(_0x20e1c9[_0x4e4ce3[_0x1cd3('0x98')]][_0x4e4ce3[_0x1cd3('0x98c')][_0x1cd3('0x98d')]]['contrast'],0x3),'contrast4':_0x176382(_0x20e1c9[_0x4e4ce3['name']][_0x4e4ce3[_0x1cd3('0x98c')][_0x1cd3('0x98d')]][_0x1cd3('0x500')],0x4)},'hue2':{'color':_0x176382(_0x20e1c9[_0x4e4ce3[_0x1cd3('0x98')]][_0x4e4ce3[_0x1cd3('0x98c')][_0x1cd3('0x98e')]]['value']),'contrast1':_0x176382(_0x20e1c9[_0x4e4ce3['name']][_0x4e4ce3[_0x1cd3('0x98c')][_0x1cd3('0x98e')]][_0x1cd3('0x500')],0x1),'contrast2':_0x176382(_0x20e1c9[_0x4e4ce3['name']][_0x4e4ce3[_0x1cd3('0x98c')][_0x1cd3('0x98e')]]['contrast'],0x2),'contrast3':_0x176382(_0x20e1c9[_0x4e4ce3[_0x1cd3('0x98')]][_0x4e4ce3[_0x1cd3('0x98c')][_0x1cd3('0x98e')]][_0x1cd3('0x500')],0x3),'contrast4':_0x176382(_0x20e1c9[_0x4e4ce3[_0x1cd3('0x98')]][_0x4e4ce3[_0x1cd3('0x98c')][_0x1cd3('0x98e')]][_0x1cd3('0x500')],0x4)},'hue3':{'color':_0x176382(_0x20e1c9[_0x4e4ce3[_0x1cd3('0x98')]][_0x4e4ce3['hues'][_0x1cd3('0x98f')]][_0x1cd3('0x3db')]),'contrast1':_0x176382(_0x20e1c9[_0x4e4ce3[_0x1cd3('0x98')]][_0x4e4ce3[_0x1cd3('0x98c')][_0x1cd3('0x98f')]][_0x1cd3('0x500')],0x1),'contrast2':_0x176382(_0x20e1c9[_0x4e4ce3[_0x1cd3('0x98')]][_0x4e4ce3[_0x1cd3('0x98c')]['hue-3']]['contrast'],0x2),'contrast3':_0x176382(_0x20e1c9[_0x4e4ce3[_0x1cd3('0x98')]][_0x4e4ce3['hues'][_0x1cd3('0x98f')]][_0x1cd3('0x500')],0x3),'contrast4':_0x176382(_0x20e1c9[_0x4e4ce3[_0x1cd3('0x98')]][_0x4e4ce3['hues']['hue-3']]['contrast'],0x4)}}};});});_0x196e24(_0x1a5ffd);var _0x48fb80={};angular[_0x1cd3('0x394')](_0x1a5ffd,function(_0x128423,_0x114403){_0x48fb80={};_0x48fb80[_0x1cd3('0x990')]=_0x114403;angular[_0x1cd3('0x394')](_0x128423,function(_0x52d574,_0x197d64){angular['forEach'](_0x52d574['levels'],function(_0x4c0d42,_0xf16219){angular[_0x1cd3('0x394')](_0x4c0d42,function(_0x121ab9,_0x322409){_0x48fb80['@'+_0x197d64+_0x2713ab(_0xf16219)+_0x2713ab(_0x322409)]=_0x121ab9;});});});_0x3be65b(_0x48fb80);});}function _0x196e24(_0x1705fa){var _0x16dcc9=angular[_0x1cd3('0x429')](_0x1705fa);angular[_0x1cd3('0x394')](_0x16dcc9,function(_0x21c847){angular[_0x1cd3('0x394')](_0x21c847,function(_0x49a702,_0x4fd342){_0x21c847[_0x4fd342]=_0x49a702[_0x1cd3('0x991')];_0x21c847[_0x4fd342][_0x1cd3('0x3c6')]=_0x49a702['levels'][_0x1cd3('0x5bd')]['color'];_0x21c847[_0x4fd342][_0x1cd3('0x992')]=_0x49a702[_0x1cd3('0x991')][_0x1cd3('0x5bd')][_0x1cd3('0x992')];_0x21c847[_0x4fd342][_0x1cd3('0x993')]=_0x49a702[_0x1cd3('0x991')][_0x1cd3('0x5bd')][_0x1cd3('0x993')];_0x21c847[_0x4fd342][_0x1cd3('0x994')]=_0x49a702[_0x1cd3('0x991')][_0x1cd3('0x5bd')]['contrast3'];_0x21c847[_0x4fd342]['contrast4']=_0x49a702[_0x1cd3('0x991')][_0x1cd3('0x5bd')][_0x1cd3('0x995')];delete _0x21c847[_0x4fd342][_0x1cd3('0x5bd')];});});_0x2fee01[_0x1cd3('0x996')](_0x16dcc9);var _0x1b558e=_0x5d0d5a[_0x1cd3('0x361')](_0x1cd3('0x997'));if(_0x1b558e){_0x2fee01[_0x1cd3('0x983')](_0x1b558e);}else{_0x2fee01[_0x1cd3('0x983')](_0x1cd3('0x5bd'));}}function _0x3be65b(_0x4da0d7){var _0x383f97=_0x1cd3('0x998');var _0xc0b497=new RegExp(Object[_0x1cd3('0x80')](_0x4da0d7)[_0x1cd3('0x3de')]('|'),'gi');var _0x43dd7c=_0x383f97[_0x1cd3('0x3f1')](_0xc0b497,function(_0x1a3d4e){return _0x4da0d7[_0x1a3d4e];});var _0x133865=angular[_0x1cd3('0x37f')](_0x1cd3('0x63c'));var _0x24f23e=angular[_0x1cd3('0x37f')]('<style\x20type=\x22text/css\x22></style>');_0x24f23e[_0x1cd3('0x3bf')](_0x43dd7c);_0x133865['append'](_0x24f23e);}function _0x176382(_0x29d880,_0x197cbd){var _0xb7f2dd=_0x197cbd||![];if(_0x29d880['length']===0x4&&_0x29d880[0x0]===0xff&&_0x29d880[0x1]===0xff&&_0x29d880[0x2]===0xff){_0x29d880[_0x1cd3('0x446')](0x3,0x4);}if(_0xb7f2dd){_0x29d880=_0x428f35(_0x29d880,_0xb7f2dd);}if(_0x29d880[_0x1cd3('0x7a')]===0x3){return _0x1cd3('0x999')+_0x29d880[_0x1cd3('0x3de')](',')+')';}else if(_0x29d880['length']===0x4){return _0x1cd3('0x99a')+_0x29d880[_0x1cd3('0x3de')](',')+')';}else{_0x9df3c9[_0x1cd3('0x434')](_0x1cd3('0x99b')+_0x29d880['length']+'\x0a'+'The\x20array\x20must\x20have\x203\x20or\x204\x20colors.');}}function _0x428f35(_0x2a8ce1,_0x46361c){var _0x1ffcca={'white':{'1':'1','2':_0x1cd3('0x99c'),'3':_0x1cd3('0x99d'),'4':'0.12'},'black':{'1':_0x1cd3('0x99e'),'2':_0x1cd3('0x99f'),'3':_0x1cd3('0x9a0'),'4':'0.12'}};if(_0x2a8ce1[0x0]===0xff&&_0x2a8ce1[0x1]===0xff&&_0x2a8ce1[0x2]===0xff){_0x2a8ce1[0x3]=_0x1ffcca['white'][_0x46361c];}else if(_0x2a8ce1[0x0]===0x0&&_0x2a8ce1[0x1]===0x0&&_0x2a8ce1[0x2]===0x0){_0x2a8ce1[0x3]=_0x1ffcca['black'][_0x46361c];}return _0x2a8ce1;}function _0x2713ab(_0x505cf4){return _0x505cf4[_0x1cd3('0x9a1')](0x0)[_0x1cd3('0x437')]()+_0x505cf4[_0x1cd3('0x9a2')](0x1);}}}());(function(){'use strict';var _0x3e8e76=[{'name':_0x1cd3('0x9a3'),'options':{'50':_0x1cd3('0x9a4'),'100':_0x1cd3('0x9a5'),'200':_0x1cd3('0x9a6'),'300':_0x1cd3('0x9a7'),'400':_0x1cd3('0x9a8'),'500':'#3470ca','600':_0x1cd3('0x9a9'),'700':'#275498','800':_0x1cd3('0x9aa'),'900':'#1a3865','A100':_0x1cd3('0x9a5'),'A200':'#9ab8e5','A400':_0x1cd3('0x9a8'),'A700':'#275498','contrastDefaultColor':_0x1cd3('0x9ab'),'contrastDarkColors':_0x1cd3('0x9ac'),'contrastStrongLightColors':_0x1cd3('0x9ad')}},{'name':_0x1cd3('0x9ae'),'options':{'50':_0x1cd3('0x9af'),'100':_0x1cd3('0x9b0'),'200':_0x1cd3('0x9b1'),'300':_0x1cd3('0x9b2'),'400':'#5c616f','500':_0x1cd3('0x9b3'),'600':_0x1cd3('0x9b4'),'700':'#2d323e','800':_0x1cd3('0x9b5'),'900':'#1e2129','A100':'#c5c6cb','A200':'#9ea1a9','A400':_0x1cd3('0x9b6'),'A700':_0x1cd3('0x9b7'),'contrastDefaultColor':'light','contrastDarkColors':_0x1cd3('0x9ac'),'contrastStrongLightColors':'300\x20400'}}];angular[_0x1cd3('0x0')](_0x1cd3('0x27'))[_0x1cd3('0x9b8')](_0x1cd3('0x9b9'),_0x3e8e76);}());(function(){'use strict';var _0x2c60f8={'default':{'primary':{'name':_0x1cd3('0x9ae'),'hues':{'default':'700','hue-1':_0x1cd3('0x9ba'),'hue-2':'600','hue-3':_0x1cd3('0x9bb')}},'accent':{'name':_0x1cd3('0x9bc'),'hues':{'default':'600','hue-1':_0x1cd3('0x9bb'),'hue-2':'700','hue-3':'A100'}},'warn':{'name':'red'},'background':{'name':_0x1cd3('0x9bd'),'hues':{'default':'A100','hue-1':_0x1cd3('0x9be'),'hue-2':_0x1cd3('0x9bf'),'hue-3':'300'}}},'pinkTheme':{'primary':{'name':_0x1cd3('0x9c0'),'hues':{'default':'800','hue-1':_0x1cd3('0x9c1'),'hue-2':'400','hue-3':_0x1cd3('0x9be')}},'accent':{'name':_0x1cd3('0x9c2'),'hues':{'default':_0x1cd3('0x9bb'),'hue-1':_0x1cd3('0x9c3'),'hue-2':'600','hue-3':'A100'}},'warn':{'name':_0x1cd3('0x9c4')},'background':{'name':'grey','hues':{'default':'A100','hue-1':_0x1cd3('0x9be'),'hue-2':_0x1cd3('0x9bf'),'hue-3':'300'}}},'tealTheme':{'primary':{'name':'motion-blue','hues':{'default':'900','hue-1':'600','hue-2':_0x1cd3('0x9ba'),'hue-3':_0x1cd3('0x9be')}},'accent':{'name':_0x1cd3('0x9c5'),'hues':{'default':_0x1cd3('0x9ba'),'hue-1':_0x1cd3('0x9bb'),'hue-2':'600','hue-3':_0x1cd3('0x9be')}},'warn':{'name':_0x1cd3('0x9c6')},'background':{'name':_0x1cd3('0x9bd'),'hues':{'default':_0x1cd3('0x9be'),'hue-1':_0x1cd3('0x9be'),'hue-2':_0x1cd3('0x9bf'),'hue-3':_0x1cd3('0x9c3')}}}};angular['module'](_0x1cd3('0x27'))['constant']('motionThemes',_0x2c60f8);}());(function(){'use strict';_0x1ee73e[_0x1cd3('0xc')]=[_0x1cd3('0x9c7'),_0x1cd3('0x9b9'),_0x1cd3('0x9c8')];angular[_0x1cd3('0x0')](_0x1cd3('0x27'))['config'](_0x1ee73e);function _0x1ee73e(_0x369805,_0x335ec9,_0x52c464){var _0x45a568;angular[_0x1cd3('0x360')]([_0x1cd3('0x9c9')])[_0x1cd3('0x9ca')]([_0x1cd3('0x36f'),function(_0x134a25){_0x45a568=_0x134a25;}]);var _0x3dcf3d=_0x45a568[_0x1cd3('0x9cb')](_0x1cd3('0x9cc'));if(_0x3dcf3d){_0x52c464[_0x1cd3('0x8f6')]=_0x3dcf3d;}_0x369805['alwaysWatchTheme'](!![]);angular[_0x1cd3('0x394')](_0x335ec9,function(_0x20c102){_0x369805[_0x1cd3('0x9cd')](_0x20c102[_0x1cd3('0x98')],_0x20c102[_0x1cd3('0x422')]);});angular['forEach'](_0x52c464,function(_0x12278b,_0x4bd973){_0x369805['theme'](_0x4bd973)[_0x1cd3('0x9ce')](_0x12278b[_0x1cd3('0x9cf')]['name'],_0x12278b[_0x1cd3('0x9cf')][_0x1cd3('0x98c')])[_0x1cd3('0x9d0')](_0x12278b['accent'][_0x1cd3('0x98')],_0x12278b[_0x1cd3('0x9d1')][_0x1cd3('0x98c')])['warnPalette'](_0x12278b[_0x1cd3('0x5d9')][_0x1cd3('0x98')],_0x12278b[_0x1cd3('0x5d9')]['hues'])[_0x1cd3('0x9d2')](_0x12278b['background'][_0x1cd3('0x98')],_0x12278b['background'][_0x1cd3('0x98c')]);});}}());(function(){'use strict';_0xd57ac9['$inject']=['$cookies','$log',_0x1cd3('0x9d3')];angular['module'](_0x1cd3('0x27'))['service'](_0x1cd3('0x968'),_0xd57ac9);function _0xd57ac9(_0x671062,_0x40124d,_0x4591df){var _0x589e77={'getRegisteredPalettes':_0x333a41,'getRegisteredThemes':_0x3bd1df,'setActiveTheme':_0x3cb34a,'setThemesList':_0x1f13c7,'themes':{'list':{},'active':{'name':'','theme':{}}}};return _0x589e77;function _0x333a41(){return _0x4591df['PALETTES'];}function _0x3bd1df(){return _0x4591df[_0x1cd3('0x9d4')];}function _0x3cb34a(_0x26a5b6){if(angular['isUndefined'](_0x589e77['themes']['list'][_0x26a5b6])){if(angular[_0x1cd3('0x529')](_0x589e77[_0x1cd3('0x96c')][_0x1cd3('0x9d5')][_0x1cd3('0x5bd')])){_0x40124d[_0x1cd3('0x434')]('You\x20must\x20have\x20at\x20least\x20one\x20theme\x20named\x20\x22default\x22');return;}_0x40124d[_0x1cd3('0x5d9')]('The\x20theme\x20\x22'+_0x26a5b6+_0x1cd3('0x9d6'));_0x589e77[_0x1cd3('0x96c')][_0x1cd3('0x92d')][_0x1cd3('0x98')]=_0x1cd3('0x5bd');_0x589e77[_0x1cd3('0x96c')][_0x1cd3('0x92d')]['theme']=_0x589e77[_0x1cd3('0x96c')]['list'][_0x1cd3('0x5bd')];_0x671062[_0x1cd3('0x37b')]('motion.selectedTheme',_0x589e77[_0x1cd3('0x96c')][_0x1cd3('0x92d')][_0x1cd3('0x98')]);return;}_0x589e77[_0x1cd3('0x96c')]['active'][_0x1cd3('0x98')]=_0x26a5b6;_0x589e77[_0x1cd3('0x96c')][_0x1cd3('0x92d')]['theme']=_0x589e77[_0x1cd3('0x96c')][_0x1cd3('0x9d5')][_0x26a5b6];_0x671062[_0x1cd3('0x37b')](_0x1cd3('0x997'),_0x26a5b6);}function _0x1f13c7(_0x5da2aa){_0x589e77['themes'][_0x1cd3('0x9d5')]=_0x5da2aa;}}}());(function(){'use strict';_0x53d698[_0x1cd3('0xc')]=[_0x1cd3('0x53e'),'$timeout','$q',_0x1cd3('0x53c')];angular[_0x1cd3('0x0')](_0x1cd3('0xe'))[_0x1cd3('0x39b')](_0x1cd3('0x9d7'),_0x53d698);function _0x53d698(_0x8bb935,_0x57c9ea,_0x13c1c6,_0xcc99a1){var _0x3e1cd4=this;_0x3e1cd4[_0x1cd3('0x3e4')]=_0x51d867;_0x3e1cd4[_0x1cd3('0x9d8')]=_0x4173fc;function _0x51d867(_0x173096){var _0x5ba7f0=[],_0x1a3ef0=_0xcc99a1[_0x1cd3('0x727')](),_0xc71160=_0x13c1c6[_0x1cd3('0x53a')]();for(var _0x4fd6e0=0x0;_0x4fd6e0<_0x1a3ef0['length'];_0x4fd6e0+=0x1){if(_0x1a3ef0[_0x4fd6e0][_0x1cd3('0x54f')]){_0x5ba7f0[_0x1cd3('0x7b')](_0x1a3ef0[_0x4fd6e0]);}}if(_0x173096){_0x5ba7f0=_0x5ba7f0[_0x1cd3('0x395')](function(_0xfe89eb){if(angular[_0x1cd3('0x9d9')](_0xfe89eb[_0x1cd3('0x486')])[_0x1cd3('0x3e4')](angular[_0x1cd3('0x9d9')](_0x173096))>-0x1){return!![];}});}_0x57c9ea(function(){_0xc71160['resolve'](_0x5ba7f0);},0x3e8);return _0xc71160[_0x1cd3('0x539')];}function _0x4173fc(_0x353d3d){if(_0x353d3d[_0x1cd3('0x54f')]){if(_0x353d3d[_0x1cd3('0x570')]){_0x8bb935['go'](_0x353d3d[_0x1cd3('0x19')],_0x353d3d[_0x1cd3('0x570')]);}else{_0x8bb935['go'](_0x353d3d['state']);}}}}}());(function(){'use strict';_0x263be7[_0x1cd3('0xc')]=[_0x1cd3('0x53e'),_0x1cd3('0x587')];angular[_0x1cd3('0x0')](_0x1cd3('0x18'))[_0x1cd3('0x39b')](_0x1cd3('0x9da'),_0x263be7);function _0x263be7(_0x18694c,_0x54091f){var _0x58945c=this;_0x58945c[_0x1cd3('0x3ea')]='';_0x58945c['send']=![];_0x58945c[_0x1cd3('0x434')]=_0x18694c[_0x1cd3('0x36a')];_0x58945c[_0x1cd3('0x9db')]=_0x454c26;function _0x454c26(){_0x54091f[_0x1cd3('0x9dc')](_0x1cd3('0x9dd'),_0x58945c[_0x1cd3('0x434')])[_0x1cd3('0x77')](function(_0x2f3dca){_0x58945c['send']=!![];if(_0x2f3dca[_0x1cd3('0x439')]){_0x58945c[_0x1cd3('0x3ea')]=_0x2f3dca[_0x1cd3('0x439')]['id'];}},function(_0x40f264){_0x58945c[_0x1cd3('0x9de')]=![];});}}}());(function(){'use strict';_0x5485ee[_0x1cd3('0xc')]=[_0x1cd3('0x56'),'$cookies'];angular['module'](_0x1cd3('0x29'))['controller']('FooterController',_0x5485ee);function _0x5485ee(_0x3b6d3c,_0x3d099d){var _0x30b04b=this;_0x30b04b[_0x1cd3('0x3ca')]=_0x3b6d3c[_0x1cd3('0x5d')]();_0x30b04b[_0x1cd3('0x9df')]=_0x3d099d[_0x1cd3('0x361')]('motion.cookieAlertHide:'+_0x30b04b[_0x1cd3('0x3ca')]['id'])||![];_0x30b04b['cookieAlertOnClose']=_0x5b7bf9;function _0x5b7bf9(){_0x3d099d[_0x1cd3('0x37b')](_0x1cd3('0x9e0')+_0x30b04b[_0x1cd3('0x3ca')]['id'],!![]);}}}());(function(){'use strict';_0x1605f1[_0x1cd3('0xc')]=[_0x1cd3('0x56'),_0x1cd3('0x461'),_0x1cd3('0x3f7'),_0x1cd3('0x53e'),_0x1cd3('0x370')];angular[_0x1cd3('0x0')](_0x1cd3('0x1f'))[_0x1cd3('0x39b')]('ForgotPasswordController',_0x1605f1);function _0x1605f1(_0x198c0f,_0x1ec536,_0xd0aa77,_0x50746e,_0x753f83){var _0x5bfa23=this;_0x5bfa23[_0x1cd3('0x4c4')]={};_0x5bfa23['forgotPassword']=_0x2e3d25;_0x5bfa23[_0x1cd3('0x703')]=_0x171c53;function _0x171c53(){if(_0x198c0f[_0x1cd3('0x364')]()){_0x50746e['go']('app.dashboards.general');}}function _0x2e3d25(){return _0x753f83[_0x1cd3('0x379')][_0x1cd3('0x22')](_0x5bfa23[_0x1cd3('0x4c4')])['$promise']['then'](function(){_0x1ec536[_0x1cd3('0x473')]({'title':_0xd0aa77[_0x1cd3('0x44a')](_0x1cd3('0x9e1')),'msg':_0xd0aa77['instant'](_0x1cd3('0x9e2'))});})[_0x1cd3('0xfd')](function(_0x3808f9){if(_0x3808f9){_0x1ec536[_0x1cd3('0x434')]({'title':_0xd0aa77[_0x1cd3('0x44a')]('FORGOTPASSWORD.PASSWORD_RESET_ERROR'),'msg':_0x3808f9[_0x1cd3('0x439')]?_0x3808f9[_0x1cd3('0x439')][_0x1cd3('0x43a')]||_0x3808f9[_0x1cd3('0x43a')]||_0x3808f9:_0x3808f9['message']||_0x3808f9});}});}}}());(function(){'use strict';_0x55a3e['$inject']=[_0x1cd3('0x56'),'$cookies'];angular['module']('app.header')[_0x1cd3('0x39b')](_0x1cd3('0x9e3'),_0x55a3e);function _0x55a3e(_0x550b8e,_0x474137){var _0x3d6691=this;_0x3d6691[_0x1cd3('0x3ca')]=_0x550b8e[_0x1cd3('0x5d')]();_0x3d6691['newsAlertHide']=_0x474137[_0x1cd3('0x361')](_0x1cd3('0x9e4')+_0x3d6691[_0x1cd3('0x3ca')]['id'])||![];_0x3d6691[_0x1cd3('0x9e5')]=_0x187afb;function _0x187afb(){_0x474137[_0x1cd3('0x37b')](_0x1cd3('0x9e4')+_0x3d6691['currentUser']['id'],!![]);}}}());(function(){'use strict';_0x5cb369[_0x1cd3('0xc')]=[_0x1cd3('0x9e6')];angular[_0x1cd3('0x0')](_0x1cd3('0x25'))['factory'](_0x1cd3('0x370'),_0x5cb369);function _0x5cb369(_0x5e8ae5){var _0x398482={};_0x398482[_0x1cd3('0x9e7')]=_0x1cd3('0x9e8');_0x398482[_0x1cd3('0x379')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0x9e9'),{},{'local':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0x9e9')},'forgot':{'method':'post','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0x9ea')},'reset':{'method':_0x1cd3('0x9dc'),'url':_0x398482['baseUrl']+_0x1cd3('0x9eb'),'params':{'token':_0x1cd3('0x9ec')}},'user':{'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+'auth/local/user/:token','params':{'token':_0x1cd3('0x9ec')}},'google':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+'auth/google'}});_0x398482['jira']=_0x5e8ae5(_0x398482['baseUrl']+_0x1cd3('0x9ed'));_0x398482['rpc']=_0x5e8ae5(_0x398482['baseUrl']+'rpc',{},{'startMonitor':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0x9ee'),'params':{'uniqueid':_0x1cd3('0x9ef')}},'stopMonitor':{'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0x9f0'),'params':{'uniqueid':'@uniqueid'}},'getVoiceChannels':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0x9f1')},'getVoiceQueues':{'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+_0x1cd3('0x9f2')},'getChatQueues':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0x9f3')},'getMailQueues':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0x9f4')},'getSmsQueues':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0x9f5')},'getWhatsappQueues':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0x9f5')},'getOpenchannelQueues':{'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+_0x1cd3('0x9f6')},'getFaxQueues':{'method':'get','url':_0x398482['baseUrl']+_0x1cd3('0x9f7')},'getVoiceQueuesPreview':{'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0x9f8')},'getVoiceQueuesChannels':{'method':'get','url':_0x398482['baseUrl']+'rpc/voice/queues/channels'},'getVoiceQueuesChannel':{'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0x9f9')},'getVoiceQueuesChannelHangup':{'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+_0x1cd3('0x9fa')},'getVoiceQueuesChannelRedirect':{'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+_0x1cd3('0x9fb')},'getOutbound':{'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0x9fc')},'getOutboundChannels':{'method':'get','url':_0x398482['baseUrl']+_0x1cd3('0x9fd')},'getAgents':{'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+_0x1cd3('0x9fe')},'setAgentCapacity':{'method':_0x1cd3('0x37b'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0x9ff'),'params':{'id':_0x1cd3('0xa00')}},'getTelephones':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa01')},'getTrunks':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa02')},'getCampaigns':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa03')},'getMailAccounts':{'method':'get','url':_0x398482['baseUrl']+_0x1cd3('0xa04')},'getFaxAccounts':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa05')},'getChatQueuesWaitingInteractions':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa06')},'getMailQueuesWaitingInteractions':{'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+_0x1cd3('0xa07')},'getOpenchannelQueuesWaitingInteractions':{'method':'get','url':_0x398482['baseUrl']+_0x1cd3('0xa08')},'getSmsQueuesWaitingInteractions':{'method':'get','url':_0x398482['baseUrl']+_0x1cd3('0xa09')},'getFaxQueuesWaitingInteractions':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa0a')},'getWhatsappQueuesWaitingInteractions':{'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+'rpc/whatsapp/queues/waitinginteractions'},'mailQueueNotify':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa0b'),'params':{'id':_0x1cd3('0xa00')}},'chatQueueNotify':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa0c'),'params':{'id':_0x1cd3('0xa00')}},'faxQueueNotify':{'method':_0x1cd3('0x9dc'),'url':_0x398482['baseUrl']+_0x1cd3('0xa0d'),'params':{'id':_0x1cd3('0xa00')}},'smsQueueNotify':{'method':_0x1cd3('0x9dc'),'url':_0x398482['baseUrl']+_0x1cd3('0xa0e'),'params':{'id':_0x1cd3('0xa00')}},'openchannelQueueNotify':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa0f'),'params':{'id':'@id'}},'agentNotify':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+'rpc/agents/:id/notify','params':{'id':'@id'}}});_0x398482[_0x1cd3('0x3c4')]=_0x5e8ae5(_0x398482['baseUrl']+_0x1cd3('0x3c4'),{},{'fetch':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+'version/fetch'},'reset':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa10')},'pull':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa11')},'restart':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+'version/restart'},'migrations':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa12')}});_0x398482[_0x1cd3('0xa13')]=_0x5e8ae5(_0x398482['baseUrl']+_0x1cd3('0xa13'),{},{'killProcess':{'method':'get','url':_0x398482['baseUrl']+_0x1cd3('0xa14'),'params':{'pid':_0x1cd3('0xa15')}}});_0x398482[_0x1cd3('0xa16')]=_0x5e8ae5(_0x398482['baseUrl']+_0x1cd3('0xa17'),{'id':_0x1cd3('0xa00')},{'update':{'method':'put','isArray':!![]}});_0x398482[_0x1cd3('0x368')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa18'),{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa19')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+'users/:id/clone','params':{'includeAll':_0x1cd3('0xa1a')}},'bulkCreate':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+'users/create_many','isArray':!![]},'addContacts':{'isArray':!![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa1b')},'changePassword':{'isArray':![],'method':_0x1cd3('0x37b'),'url':_0x398482[_0x1cd3('0x9e7')]+'users/:id/password'},'addQueues':{'isArray':!![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+'users/:id/queues'},'removeQueues':{'isArray':![],'method':_0x1cd3('0xa1c'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa1d')},'addAvatar':{'isArray':![],'method':'post','url':_0x398482['baseUrl']+'users/:id/avatar'},'getAvatar':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+_0x1cd3('0xa1e')},'getContacts':{'isArray':![],'method':'get','url':_0x398482['baseUrl']+_0x1cd3('0xa1b')},'getQueues':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+_0x1cd3('0xa1d')},'getVoiceQueuesRt':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+'users/:id/queues_rt'},'getGroups':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+'users/:id/groups'},'getRecordings':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa1f')},'getScreenRecordings':{'isArray':![],'method':'get','url':_0x398482['baseUrl']+_0x1cd3('0xa20')},'getChatInteractions':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa21')},'getOpenchannelInteractions':{'isArray':![],'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa22')},'getMailInteractions':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa23')},'getSmsInteractions':{'isArray':![],'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa24')},'getFaxInteractions':{'isArray':![],'method':'get','url':_0x398482['baseUrl']+_0x1cd3('0xa25')},'getWhatsappInteractions':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+'users/:id/whatsapp/interactions'},'login':{'isArray':![],'method':_0x1cd3('0x9dc'),'url':_0x398482['baseUrl']+_0x1cd3('0xa26')},'logout':{'isArray':![],'method':'post','url':_0x398482['baseUrl']+_0x1cd3('0xa27')},'pause':{'isArray':![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+'users/:id/pause'},'unpause':{'isArray':![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa28')},'getTeams':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa29')},'addTeams':{'isArray':!![],'method':'post','url':_0x398482[_0x1cd3('0x9e7')]+'users/:id/teams'},'removeTeams':{'isArray':![],'method':_0x1cd3('0xa1c'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa29')},'getLists':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+'users/:id/lists'},'getAgents':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+_0x1cd3('0xa2a')},'addChatInteractions':{'isArray':!![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+'users/:id/chat_interactions'},'removeChatInteractions':{'isArray':![],'method':'delete','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa2b')},'addMailInteractions':{'isArray':!![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa2c')},'removeMailInteractions':{'isArray':![],'method':_0x1cd3('0xa1c'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa2c')},'addFaxInteractions':{'isArray':!![],'method':'post','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa2d')},'removeFaxInteractions':{'isArray':![],'method':'delete','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa2d')},'addSmsInteractions':{'isArray':!![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+'users/:id/sms_interactions'},'removeSmsInteractions':{'isArray':![],'method':_0x1cd3('0xa1c'),'url':_0x398482['baseUrl']+_0x1cd3('0xa2e')},'addOpenchannelInteractions':{'isArray':!![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa2f')},'removeOpenchannelInteractions':{'isArray':![],'method':_0x1cd3('0xa1c'),'url':_0x398482[_0x1cd3('0x9e7')]+'users/:id/openchannel_interactions'},'addWhatsappInteractions':{'isArray':!![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa30')},'removeWhatsappInteractions':{'isArray':![],'method':_0x1cd3('0xa1c'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa30')},'getVoicePrefixes':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa31')},'getFaxAccounts':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+_0x1cd3('0xa32')},'addFaxAccounts':{'isArray':!![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+'users/:id/fax_accounts'},'removeFaxAccounts':{'isArray':![],'method':_0x1cd3('0xa1c'),'url':_0x398482[_0x1cd3('0x9e7')]+'users/:id/fax_accounts'},'getMailAccounts':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa33')},'addMailAccounts':{'isArray':!![],'method':'post','url':_0x398482[_0x1cd3('0x9e7')]+'users/:id/mail_accounts'},'removeMailAccounts':{'isArray':![],'method':_0x1cd3('0xa1c'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa33')},'getOpenchannelAccounts':{'isArray':![],'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa34')},'addOpenchannelAccounts':{'isArray':!![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+'users/:id/openchannel_accounts'},'removeOpenchannelAccounts':{'isArray':![],'method':_0x1cd3('0xa1c'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa34')},'getSmsAccounts':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+_0x1cd3('0xa35')},'addSmsAccounts':{'isArray':!![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa35')},'removeSmsAccounts':{'isArray':![],'method':_0x1cd3('0xa1c'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa35')},'getChatWebsites':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+'users/:id/chat_websites'},'addChatWebsites':{'isArray':!![],'method':'post','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa36')},'removeChatWebsites':{'isArray':![],'method':'delete','url':_0x398482['baseUrl']+_0x1cd3('0xa36')},'getWhatsappAccounts':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+'users/:id/whatsapp_accounts'},'addWhatsappAccounts':{'isArray':!![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+'users/:id/whatsapp_accounts'},'removeWhatsappAccounts':{'isArray':![],'method':_0x1cd3('0xa1c'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa37')},'getSquareProjects':{'isArray':![],'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa38')},'addSquareProjects':{'isArray':!![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa38')},'removeSquareProjects':{'isArray':![],'method':_0x1cd3('0xa1c'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa38')},'getScheduledCalls':{'isArray':![],'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa39')},'getApiKey':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+_0x1cd3('0xa3a')},'createApiKey':{'isArray':![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa3a')},'removeApiKey':{'isArray':![],'method':'delete','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa3a')},'whoami':{'isArray':![],'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa3b')}});_0x398482['voiceChanSpy']=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa3c'),{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa3d')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+'voice/chanspy/:id/clone','params':{'includeAll':_0x1cd3('0xa1a')}}});_0x398482[_0x1cd3('0xa3e')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+'voice/contexts/:id',{'id':'@id'},{'update':{'method':'put'},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+'voice/contexts/describe'},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa3f'),'params':{'includeAll':_0x1cd3('0xa1a')}}});_0x398482[_0x1cd3('0xa40')]=_0x5e8ae5(_0x398482['baseUrl']+'voice/extensions/:id',{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa41')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa42'),'params':{'includeAll':_0x1cd3('0xa1a')}},'addApplications':{'isArray':![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa43')}});_0x398482[_0x1cd3('0xa44')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa45'),{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+'voice/mohs/describe'},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+'voice/mohs/:id/clone','params':{'includeAll':_0x1cd3('0xa1a')}},'addSound':{'isArray':![],'method':_0x1cd3('0x9dc'),'url':_0x398482['baseUrl']+_0x1cd3('0xa46')},'removeSound':{'isArray':![],'method':_0x1cd3('0xa1c'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa47')},'getSounds':{'isArray':![],'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa46')}});_0x398482[_0x1cd3('0xa48')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa49'),{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa4a')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa4b'),'params':{'includeAll':_0x1cd3('0xa1a')}},'getHoppers':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+'voice/queues/:id/hoppers'},'getHopperHistories':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa4c')},'getHopperFinals':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+_0x1cd3('0xa4d')},'getHopperBlacks':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+'voice/queues/:id/hopper_black'},'getTeams':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+_0x1cd3('0xa4e')},'addTeams':{'isArray':!![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+'voice/queues/:id/teams'},'removeTeams':{'isArray':![],'method':'delete','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa4e')},'addAgents':{'isArray':!![],'method':'post','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa4f')},'removeAgents':{'isArray':![],'method':_0x1cd3('0xa1c'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa4f')},'getAgents':{'isArray':![],'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa4f')},'getMembers':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa50')},'getLists':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa51')},'addLists':{'isArray':!![],'method':_0x1cd3('0x9dc'),'url':_0x398482['baseUrl']+_0x1cd3('0xa51')},'removeLists':{'isArray':!![],'method':_0x1cd3('0xa1c'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa51')},'getBlackLists':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+'voice/queues/:id/blacklists'},'addBlackLists':{'isArray':!![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+'voice/queues/:id/blacklists'},'removeBlackLists':{'isArray':!![],'method':'delete','url':_0x398482[_0x1cd3('0x9e7')]+'voice/queues/:id/blacklists'}});_0x398482[_0x1cd3('0x6ee')]=_0x5e8ae5(_0x398482['baseUrl']+_0x1cd3('0xa52'),{'id':'@id'},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa53')},'clone':{'method':'post','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa54'),'params':{'includeAll':_0x1cd3('0xa1a')}},'download':{'isArray':![],'method':'get','url':_0x398482['baseUrl']+_0x1cd3('0xa55'),'responseType':_0x1cd3('0xa56'),'cache':![],'transformResponse':function(_0xa072d8,_0x475467){var _0x72e081=_0x475467();return{'type':_0x72e081['content-type'],'length':_0x72e081[_0x1cd3('0xa57')],'buffer':_0xa072d8};}},'downloads':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+'voice/recordings/:id/downloads'},'runTranscribe':{'isArray':![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa58')},'downloadTranscribe':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+'voice/recordings/:id/transcribe','responseType':_0x1cd3('0xa56'),'cache':![],'transformResponse':function(_0x396db0,_0x3dec97){var _0x2ef681=_0x3dec97();return{'type':_0x2ef681[_0x1cd3('0xa59')],'length':_0x2ef681['content-length'],'buffer':_0x396db0};}}});_0x398482['screenRecording']=_0x5e8ae5(_0x398482['baseUrl']+_0x1cd3('0xa5a'),{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa5b')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482['baseUrl']+_0x1cd3('0xa5c'),'params':{'includeAll':'@includeAll'}},'download':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa5d'),'responseType':_0x1cd3('0xa56'),'cache':![],'transformResponse':function(_0x4942ce,_0x181436){var _0x1bb38b=_0x181436();return{'type':_0x1bb38b[_0x1cd3('0xa59')],'length':_0x1bb38b[_0x1cd3('0xa57')],'buffer':_0x4942ce};}}});_0x398482[_0x1cd3('0xa5e')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa5f'),{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa60')},'clone':{'method':'post','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa61'),'params':{'includeAll':_0x1cd3('0xa1a')}},'getMessages':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa62')}});_0x398482['voiceMailMessage']=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+'voice/mails/messages/:id',{'id':'@id'},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa63')},'clone':{'method':'post','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa64'),'params':{'includeAll':_0x1cd3('0xa1a')}},'download':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa65'),'responseType':_0x1cd3('0xa56'),'cache':![],'transformResponse':function(_0x306783,_0x294923){var _0x159225=_0x294923();return{'type':_0x159225['content-type'],'length':_0x159225[_0x1cd3('0xa57')],'buffer':_0x306783};}}});_0x398482[_0x1cd3('0xa66')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+'voice/calls/reports/:id',{'id':'@id'},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa67')},'clone':{'method':'post','url':_0x398482['baseUrl']+_0x1cd3('0xa68'),'params':{'includeAll':_0x1cd3('0xa1a')}}});_0x398482[_0x1cd3('0xa69')]=_0x5e8ae5(_0x398482['baseUrl']+_0x1cd3('0xa6a'),{'id':'@id'},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+_0x1cd3('0xa6b')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa6c'),'params':{'includeAll':_0x1cd3('0xa1a')}}});_0x398482[_0x1cd3('0xa6d')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa6e'),{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa6f')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+'voice/agents/reports/:id/clone','params':{'includeAll':_0x1cd3('0xa1a')}}});_0x398482[_0x1cd3('0xa70')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa71'),{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa72')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+'voice/queues/reports/:id/clone','params':{'includeAll':_0x1cd3('0xa1a')}},'getVoiceQueuesReport':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+'voice/queues/reports/index'}});_0x398482[_0x1cd3('0xa73')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa74'),{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+'members/reports/describe'},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+'members/reports/:id/clone','params':{'includeAll':_0x1cd3('0xa1a')}}});_0x398482['trunk']=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+'trunks/:id',{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':'get','url':_0x398482['baseUrl']+'trunks/describe'},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+'trunks/:id/clone','params':{'includeAll':_0x1cd3('0xa1a')}}});_0x398482[_0x1cd3('0xa75')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+'voice/transfers/reports/:id',{'id':'@id'},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':'get','url':_0x398482['baseUrl']+_0x1cd3('0xa76')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa77'),'params':{'includeAll':_0x1cd3('0xa1a')}}});_0x398482[_0x1cd3('0xa78')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+'mail/out_servers/:id',{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+'mail/out_servers/describe'},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482['baseUrl']+_0x1cd3('0xa79'),'params':{'includeAll':_0x1cd3('0xa1a')}}});_0x398482[_0x1cd3('0xa7a')]=_0x5e8ae5(_0x398482['baseUrl']+'mail/accounts/:id',{'id':'@id'},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa7b')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+'mail/accounts/:id/clone','params':{'includeAll':_0x1cd3('0xa1a')}},'addDisposition':{'isArray':![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+'mail/accounts/:id/dispositions'},'getDispositions':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+_0x1cd3('0xa7c')},'removeDispositions':{'isArray':![],'method':'delete','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa7c')},'addAnswer':{'isArray':![],'method':_0x1cd3('0x9dc'),'url':_0x398482['baseUrl']+_0x1cd3('0xa7d')},'getAnswers':{'isArray':![],'method':'get','url':_0x398482['baseUrl']+_0x1cd3('0xa7d')},'removeAnswers':{'isArray':![],'method':_0x1cd3('0xa1c'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa7d')},'getImap':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+'mail/accounts/:id/in_servers'},'addImap':{'isArray':![],'method':_0x1cd3('0x9dc'),'url':_0x398482['baseUrl']+_0x1cd3('0xa7e')},'removeImap':{'isArray':![],'method':_0x1cd3('0xa1c'),'url':_0x398482[_0x1cd3('0x9e7')]+'mail/accounts/:id/in_servers'},'getSmtp':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa7f')},'addSmtp':{'isArray':![],'method':'post','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa7f')},'removeSmtp':{'isArray':![],'method':_0x1cd3('0xa1c'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa7f')},'addInteraction':{'isArray':![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa80')},'getInteractions':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+_0x1cd3('0xa80')},'addApplications':{'isArray':![],'method':'post','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa81')},'getApplications':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+'mail/accounts/:id/applications'},'getMessages':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+_0x1cd3('0xa82')},'send':{'isArray':![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa83')},'verifySmtp':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+'mail/accounts/:id/verify'},'addAgents':{'isArray':!![],'method':'post','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa84')},'removeAgents':{'isArray':![],'method':_0x1cd3('0xa1c'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa84')},'getAgents':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+'mail/accounts/:id/users'}});_0x398482[_0x1cd3('0xa85')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa86'),{'id':_0x1cd3('0xa00')},{'update':{'method':'put'},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa87')},'clone':{'method':'post','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa88'),'params':{'includeAll':_0x1cd3('0xa1a')}},'getMembers':{'isArray':![],'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa89')},'getTeams':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa8a')},'addTeams':{'isArray':!![],'method':_0x1cd3('0x9dc'),'url':_0x398482['baseUrl']+_0x1cd3('0xa8a')},'removeTeams':{'isArray':![],'method':_0x1cd3('0xa1c'),'url':_0x398482['baseUrl']+_0x1cd3('0xa8a')},'addAgents':{'isArray':!![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa8b')},'removeAgents':{'isArray':![],'method':'delete','url':_0x398482['baseUrl']+_0x1cd3('0xa8b')},'getAgents':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa8b')}});_0x398482['mailSubstatus']=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa8c'),{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa8d')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482['baseUrl']+_0x1cd3('0xa8e'),'params':{'includeAll':'@includeAll'}}});_0x398482[_0x1cd3('0xa8f')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa90'),{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+'mail/interactions/describe'},'clone':{'method':'post','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa91'),'params':{'includeAll':_0x1cd3('0xa1a')}},'addMessage':{'isArray':![],'method':_0x1cd3('0x9dc'),'url':_0x398482['baseUrl']+'mail/interactions/:id/messages'},'getMessages':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+'mail/interactions/:id/messages'},'addTags':{'isArray':![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+'mail/interactions/:id/tags'},'removeTags':{'isArray':![],'method':'delete','url':_0x398482['baseUrl']+_0x1cd3('0xa92')},'download':{'isArray':![],'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa93'),'responseType':_0x1cd3('0xa56'),'cache':![],'transformResponse':function(_0x2dce07,_0x59a7da){var _0x4eed1a=_0x59a7da();return{'type':_0x4eed1a[_0x1cd3('0xa59')],'length':_0x4eed1a[_0x1cd3('0xa57')],'buffer':_0x2dce07};}}});_0x398482[_0x1cd3('0xa94')]=_0x5e8ae5(_0x398482['baseUrl']+'mail/messages/:id',{'id':_0x1cd3('0xa00')},{'update':{'method':'put'},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+_0x1cd3('0xa95')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+'mail/messages/:id/clone','params':{'includeAll':'@includeAll'}},'accept':{'isArray':![],'method':_0x1cd3('0x37b'),'url':_0x398482['baseUrl']+'mail/messages/:id/accept'},'reject':{'isArray':![],'method':'put','url':_0x398482[_0x1cd3('0x9e7')]+'mail/messages/:id/reject'},'download':{'isArray':![],'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa96'),'responseType':_0x1cd3('0xa56'),'cache':![],'transformResponse':function(_0x1d3a01,_0x4d142e){var _0x3597a7=_0x4d142e();return{'type':_0x3597a7[_0x1cd3('0xa59')],'length':_0x3597a7[_0x1cd3('0xa57')],'buffer':_0x1d3a01};}}});_0x398482['mailApplication']=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa97'),{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+_0x1cd3('0xa98')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482['baseUrl']+_0x1cd3('0xa99'),'params':{'includeAll':_0x1cd3('0xa1a')}}});_0x398482[_0x1cd3('0xa9a')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa9b'),{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+_0x1cd3('0xa9c')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482['baseUrl']+_0x1cd3('0xa9d'),'params':{'includeAll':'@includeAll'}}});_0x398482[_0x1cd3('0xa9e')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xa9f'),{'id':'@id'},{'update':{'method':'put'},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xaa0')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xaa1'),'params':{'includeAll':_0x1cd3('0xa1a')}},'addItem':{'isArray':![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xaa2')},'getItems':{'isArray':![],'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+'dashboards/:id/items'}});_0x398482['dashboardItem']=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+'dashboards/items/:id',{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+'dashboards/items/describe'},'clone':{'method':'post','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xaa3'),'params':{'includeAll':_0x1cd3('0xa1a')}}});_0x398482[_0x1cd3('0xaa4')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xaa5'),{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':'get','url':_0x398482['baseUrl']+_0x1cd3('0xaa6')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482['baseUrl']+_0x1cd3('0xaa7'),'params':{'includeAll':_0x1cd3('0xa1a')}},'addDisposition':{'isArray':![],'method':'post','url':_0x398482[_0x1cd3('0x9e7')]+'fax/accounts/:id/dispositions'},'getDispositions':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+'fax/accounts/:id/dispositions'},'removeDispositions':{'isArray':![],'method':_0x1cd3('0xa1c'),'url':_0x398482['baseUrl']+_0x1cd3('0xaa8')},'addAnswer':{'isArray':![],'method':'post','url':_0x398482[_0x1cd3('0x9e7')]+'fax/accounts/:id/canned_answers'},'getAnswers':{'isArray':![],'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+'fax/accounts/:id/canned_answers'},'removeAnswers':{'isArray':![],'method':_0x1cd3('0xa1c'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xaa9')},'addInteraction':{'isArray':![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xaaa')},'getInteractions':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xaaa')},'addApplications':{'isArray':![],'method':_0x1cd3('0x9dc'),'url':_0x398482['baseUrl']+'fax/accounts/:id/applications'},'getApplications':{'isArray':![],'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xaab')},'addAccountApplications':{'isArray':![],'method':_0x1cd3('0x9dc'),'url':_0x398482['baseUrl']+'fax/accounts/addaccountapplications'},'updateAccountApplications':{'isArray':![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xaac')},'getMessages':{'isArray':![],'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xaad')},'send':{'isArray':![],'method':_0x1cd3('0x9dc'),'url':_0x398482['baseUrl']+_0x1cd3('0xaae')},'addAgents':{'isArray':!![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xaaf')},'removeAgents':{'isArray':![],'method':'delete','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xaaf')},'getAgents':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xaaf')}});_0x398482[_0x1cd3('0xab0')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xab1'),{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+'fax/applications/describe'},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+'fax/applications/:id/clone','params':{'includeAll':'@includeAll'}}});_0x398482[_0x1cd3('0xab2')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xab3'),{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xab4')},'clone':{'method':'post','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xab5'),'params':{'includeAll':'@includeAll'}},'addMessage':{'isArray':![],'method':'post','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xab6')},'getMessages':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xab6')},'addTags':{'isArray':![],'method':'post','url':_0x398482[_0x1cd3('0x9e7')]+'fax/interactions/:id/tags'},'removeTags':{'isArray':![],'method':'delete','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xab7')},'download':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xab8'),'responseType':_0x1cd3('0xa56'),'cache':![],'transformResponse':function(_0xbb0a31,_0x5cc43d){var _0x14d2e4=_0x5cc43d();return{'type':_0x14d2e4[_0x1cd3('0xa59')],'length':_0x14d2e4[_0x1cd3('0xa57')],'buffer':_0xbb0a31};}}});_0x398482['faxMessage']=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+'fax/messages/:id',{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xab9')},'clone':{'method':'post','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xaba'),'params':{'includeAll':_0x1cd3('0xa1a')}},'accept':{'isArray':![],'method':_0x1cd3('0x37b'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xabb')},'reject':{'isArray':![],'method':_0x1cd3('0x37b'),'url':_0x398482['baseUrl']+'fax/messages/:id/reject'},'download':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xabc'),'responseType':_0x1cd3('0xa56'),'cache':![],'transformResponse':function(_0x7782c,_0x7b898c){var _0x1050d9=_0x7b898c();return{'type':_0x1050d9['content-type'],'length':_0x1050d9['content-length'],'buffer':_0x7782c};}}});_0x398482['faxQueue']=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xabd'),{'id':'@id'},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+'fax/queues/describe'},'clone':{'method':'post','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xabe'),'params':{'includeAll':_0x1cd3('0xa1a')}},'getMembers':{'isArray':![],'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xabf')},'getTeams':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+_0x1cd3('0xac0')},'addTeams':{'isArray':!![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+'fax/queues/:id/teams'},'removeTeams':{'isArray':![],'method':'delete','url':_0x398482['baseUrl']+_0x1cd3('0xac0')},'addAgents':{'isArray':!![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xac1')},'removeAgents':{'isArray':![],'method':_0x1cd3('0xa1c'),'url':_0x398482[_0x1cd3('0x9e7')]+'fax/queues/:id/users'},'getAgents':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xac1')}});_0x398482[_0x1cd3('0xac2')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xac3'),{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+'fax/reports/queue/describe'},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xac4'),'params':{'includeAll':_0x1cd3('0xa1a')}}});_0x398482[_0x1cd3('0xac5')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xac6'),{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+'sms/accounts/describe'},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xac7'),'params':{'includeAll':_0x1cd3('0xa1a')}},'addDisposition':{'isArray':![],'method':'post','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xac8')},'getDispositions':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+_0x1cd3('0xac8')},'removeDispositions':{'isArray':![],'method':_0x1cd3('0xa1c'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xac8')},'addAnswer':{'isArray':![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xac9')},'getAnswers':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+_0x1cd3('0xac9')},'removeAnswers':{'isArray':![],'method':_0x1cd3('0xa1c'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xac9')},'notify':{'isArray':![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xaca')},'addApplications':{'isArray':![],'method':_0x1cd3('0x9dc'),'url':_0x398482['baseUrl']+_0x1cd3('0xacb')},'getApplications':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+'sms/accounts/:id/applications'},'getInteractions':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xacc')},'send':{'isArray':![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xacd')},'status':{'isArray':![],'method':_0x1cd3('0x9dc'),'url':_0x398482['baseUrl']+_0x1cd3('0xace')},'statusGet':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+'sms/accounts/:id/status'},'addAgents':{'isArray':!![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+'sms/accounts/:id/users'},'removeAgents':{'isArray':![],'method':'delete','url':_0x398482[_0x1cd3('0x9e7')]+'sms/accounts/:id/users'},'getAgents':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xacf')}});_0x398482['smsApplication']=_0x5e8ae5(_0x398482['baseUrl']+_0x1cd3('0xad0'),{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xad1')},'clone':{'method':'post','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xad2'),'params':{'includeAll':_0x1cd3('0xa1a')}}});_0x398482[_0x1cd3('0xad3')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xad4'),{'id':_0x1cd3('0xa00')},{'update':{'method':'put'},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xad5')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xad6'),'params':{'includeAll':'@includeAll'}},'addMessage':{'isArray':![],'method':_0x1cd3('0x9dc'),'url':_0x398482['baseUrl']+_0x1cd3('0xad7')},'getMessages':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+'sms/interactions/:id/messages'},'addTags':{'isArray':![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xad8')},'removeTags':{'isArray':![],'method':_0x1cd3('0xa1c'),'url':_0x398482[_0x1cd3('0x9e7')]+'sms/interactions/:id/tags'},'download':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+_0x1cd3('0xad9'),'responseType':'arraybuffer','cache':![],'transformResponse':function(_0xadf1a1,_0x11554b){var _0x16d1a2=_0x11554b();return{'type':_0x16d1a2[_0x1cd3('0xa59')],'length':_0x16d1a2[_0x1cd3('0xa57')],'buffer':_0xadf1a1};}}});_0x398482['smsMessage']=_0x5e8ae5(_0x398482['baseUrl']+_0x1cd3('0xada'),{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+'sms/messages/describe'},'clone':{'method':'post','url':_0x398482[_0x1cd3('0x9e7')]+'sms/messages/:id/clone','params':{'includeAll':_0x1cd3('0xa1a')}},'accept':{'isArray':![],'method':_0x1cd3('0x37b'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xadb')},'reject':{'isArray':![],'method':_0x1cd3('0x37b'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xadc')},'status':{'isArray':![],'method':'post','url':_0x398482['baseUrl']+_0x1cd3('0xadd')}});_0x398482[_0x1cd3('0xade')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xadf'),{'id':'@id'},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+_0x1cd3('0xae0')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xae1'),'params':{'includeAll':_0x1cd3('0xa1a')}},'getMembers':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xae2')},'getTeams':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xae3')},'addTeams':{'isArray':!![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xae3')},'removeTeams':{'isArray':![],'method':_0x1cd3('0xa1c'),'url':_0x398482['baseUrl']+_0x1cd3('0xae3')},'addAgents':{'isArray':!![],'method':'post','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xae4')},'removeAgents':{'isArray':![],'method':_0x1cd3('0xa1c'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xae4')},'getAgents':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xae4')}});_0x398482[_0x1cd3('0xae5')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xae6'),{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+_0x1cd3('0xae7')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xae8'),'params':{'includeAll':'@includeAll'}},'addDisposition':{'isArray':![],'method':'post','url':_0x398482['baseUrl']+_0x1cd3('0xae9')},'getDispositions':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xae9')},'removeDispositions':{'isArray':![],'method':_0x1cd3('0xa1c'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xae9')},'addAnswer':{'isArray':![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+'openchannel/accounts/:id/canned_answers'},'getAnswers':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+_0x1cd3('0xaea')},'removeAnswers':{'isArray':![],'method':_0x1cd3('0xa1c'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xaea')},'notify':{'isArray':![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xaeb')},'addApplications':{'isArray':![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xaec')},'getApplications':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+_0x1cd3('0xaec')},'getInteractions':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+'openchannel/accounts/:id/interactions'},'addAgents':{'isArray':!![],'method':_0x1cd3('0x9dc'),'url':_0x398482['baseUrl']+_0x1cd3('0xaed')},'removeAgents':{'isArray':![],'method':_0x1cd3('0xa1c'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xaed')},'getAgents':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+'openchannel/accounts/:id/users'},'send':{'isArray':![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xaee')}});_0x398482[_0x1cd3('0xaef')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+'openchannel/applications/:id',{'id':'@id'},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+_0x1cd3('0xaf0')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+'openchannel/applications/:id/clone','params':{'includeAll':'@includeAll'}}});_0x398482['openchannelInteraction']=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xaf1'),{'id':_0x1cd3('0xa00')},{'update':{'method':'put'},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+_0x1cd3('0xaf2')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xaf3'),'params':{'includeAll':'@includeAll'}},'addMessage':{'isArray':![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xaf4')},'getMessages':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+_0x1cd3('0xaf4')},'addTags':{'isArray':![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xaf5')},'removeTags':{'isArray':![],'method':'delete','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xaf5')},'download':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xaf6'),'responseType':_0x1cd3('0xa56'),'cache':![],'transformResponse':function(_0x142815,_0x4a08b0){var _0x5a3e71=_0x4a08b0();return{'type':_0x5a3e71[_0x1cd3('0xa59')],'length':_0x5a3e71[_0x1cd3('0xa57')],'buffer':_0x142815};}}});_0x398482[_0x1cd3('0xaf7')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xaf8'),{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xaf9')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xafa'),'params':{'includeAll':_0x1cd3('0xa1a')}},'accept':{'isArray':![],'method':_0x1cd3('0x37b'),'url':_0x398482['baseUrl']+_0x1cd3('0xafb')},'reject':{'isArray':![],'method':_0x1cd3('0x37b'),'url':_0x398482['baseUrl']+_0x1cd3('0xafc')}});_0x398482[_0x1cd3('0xafd')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xafe'),{'id':'@id'},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+'openchannel/queues/describe'},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482['baseUrl']+'openchannel/queues/:id/clone','params':{'includeAll':_0x1cd3('0xa1a')}},'getMembers':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+_0x1cd3('0xaff')},'getTeams':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+'openchannel/queues/:id/teams'},'addTeams':{'isArray':!![],'method':_0x1cd3('0x9dc'),'url':_0x398482['baseUrl']+_0x1cd3('0xb00')},'removeTeams':{'isArray':![],'method':'delete','url':_0x398482['baseUrl']+_0x1cd3('0xb00')},'addAgents':{'isArray':!![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+'openchannel/queues/:id/users'},'removeAgents':{'isArray':![],'method':_0x1cd3('0xa1c'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb01')},'getAgents':{'isArray':![],'method':'get','url':_0x398482['baseUrl']+_0x1cd3('0xb01')}});_0x398482[_0x1cd3('0xb02')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb03'),{'id':_0x1cd3('0xa00')},{'update':{'method':'put'},'describe':{'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb04')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb05'),'params':{'includeAll':_0x1cd3('0xa1a')}},'addDisposition':{'isArray':![],'method':'post','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb06')},'getDispositions':{'isArray':![],'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+'chat/websites/:id/dispositions'},'removeDispositions':{'isArray':![],'method':_0x1cd3('0xa1c'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb06')},'addAnswer':{'isArray':![],'method':'post','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb07')},'getAnswers':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb07')},'removeAnswers':{'isArray':![],'method':_0x1cd3('0xa1c'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb07')},'addLogo':{'isArray':![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb08')},'addAvatar':{'isArray':![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+'chat/websites/:id/avatar'},'addCustomerAvatar':{'isArray':![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb09')},'addSystemAvatar':{'isArray':![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb0a')},'getLogo':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb08')},'getAvatar':{'isArray':![],'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb0b')},'getCustomerAvatar':{'isArray':![],'method':'get','url':_0x398482['baseUrl']+_0x1cd3('0xb09')},'getSystemAvatar':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+_0x1cd3('0xb0a')},'notify':{'isArray':![],'method':_0x1cd3('0x9dc'),'url':_0x398482['baseUrl']+'chat/websites/:id/notify'},'offline':{'isArray':![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb0c')},'addInteraction':{'isArray':![],'method':_0x1cd3('0x9dc'),'url':_0x398482['baseUrl']+'chat/websites/:id/interactions'},'getInteractions':{'isArray':![],'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb0d')},'getSnippet':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+_0x1cd3('0xb0e')},'addApplications':{'isArray':![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb0f')},'getApplications':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb0f')},'addProactiveActions':{'isArray':![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb10')},'getProactiveActions':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb10')},'getFields':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb11')},'getOfflineMessages':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+_0x1cd3('0xb12')},'addAgents':{'isArray':!![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb13')},'removeAgents':{'isArray':![],'method':'delete','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb13')},'getAgents':{'isArray':![],'method':'get','url':_0x398482['baseUrl']+_0x1cd3('0xb13')}});_0x398482['openchannelQueueReport']=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+'openchannel/reports/queue/:id',{'id':_0x1cd3('0xa00')},{'update':{'method':'put'},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+'openchannel/reports/queue/describe'},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482['baseUrl']+_0x1cd3('0xb14'),'params':{'includeAll':_0x1cd3('0xa1a')}}});_0x398482['chatApplication']=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb15'),{'id':'@id'},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':'get','url':_0x398482['baseUrl']+_0x1cd3('0xb16')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb17'),'params':{'includeAll':_0x1cd3('0xa1a')}}});_0x398482[_0x1cd3('0xb18')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb19'),{'id':_0x1cd3('0xa00')},{'update':{'method':'put'},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb1a')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb1b'),'params':{'includeAll':_0x1cd3('0xa1a')}},'createVidaooSession':{'isArray':![],'method':'post','url':_0x398482['baseUrl']+'chat/interactions/:id/vidaoo'},'customUpdate':{'isArray':![],'method':_0x1cd3('0x37b'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb1c')},'abandon':{'isArray':![],'method':_0x1cd3('0x37b'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb1d')},'attachmentUpload':{'isArray':![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb1e')},'attachmentDownload':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+'chat/interactions/:id/attachment_download'},'close':{'isArray':![],'method':_0x1cd3('0x37b'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb1f')},'addMessage':{'isArray':![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb20')},'getMessages':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb20')},'getMyMessages':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb21')},'addTags':{'isArray':![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb22')},'removeTags':{'isArray':![],'method':_0x1cd3('0xa1c'),'url':_0x398482[_0x1cd3('0x9e7')]+'chat/interactions/:id/tags'},'download':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb23'),'responseType':_0x1cd3('0xa56'),'cache':![],'transformResponse':function(_0x426829,_0x501cf8){var _0x52bd61=_0x501cf8();return{'type':_0x52bd61[_0x1cd3('0xa59')],'length':_0x52bd61[_0x1cd3('0xa57')],'buffer':_0x426829};}}});_0x398482[_0x1cd3('0xb24')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb25'),{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb26')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+'chat/messages/:id/clone','params':{'includeAll':_0x1cd3('0xa1a')}},'accept':{'isArray':![],'method':_0x1cd3('0x37b'),'url':_0x398482['baseUrl']+_0x1cd3('0xb27')},'reject':{'isArray':![],'method':_0x1cd3('0x37b'),'url':_0x398482[_0x1cd3('0x9e7')]+'chat/messages/:id/reject'}});_0x398482[_0x1cd3('0xb28')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb29'),{'id':'@id'},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb2a')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb2b'),'params':{'includeAll':_0x1cd3('0xa1a')}}});_0x398482['chatQueue']=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb2c'),{'id':'@id'},{'update':{'method':'put'},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb2d')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+'chat/queues/:id/clone','params':{'includeAll':_0x1cd3('0xa1a')}},'getMembers':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb2e')},'getTeams':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb2f')},'addTeams':{'isArray':!![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb2f')},'removeTeams':{'isArray':![],'method':_0x1cd3('0xa1c'),'url':_0x398482['baseUrl']+_0x1cd3('0xb2f')},'addAgents':{'isArray':!![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+'chat/queues/:id/users'},'removeAgents':{'isArray':![],'method':_0x1cd3('0xa1c'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb30')},'getAgents':{'isArray':![],'method':'get','url':_0x398482['baseUrl']+_0x1cd3('0xb30')}});_0x398482[_0x1cd3('0xb31')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb32'),{'id':_0x1cd3('0xa00')},{'update':{'method':'put'},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb33')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb34'),'params':{'includeAll':_0x1cd3('0xa1a')}},'getUnread':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+'chat/groups/:id/unread'},'addMembers':{'isArray':!![],'method':_0x1cd3('0x9dc'),'url':_0x398482['baseUrl']+_0x1cd3('0xb35')},'getMembers':{'isArray':![],'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+'chat/groups/:id/members'},'removeMembers':{'isArray':![],'method':_0x1cd3('0xa1c'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb35')},'addMessage':{'isArray':![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb36')},'getMessages':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb36')}});_0x398482[_0x1cd3('0xb37')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+'chat/proactive_actions/:id',{'id':_0x1cd3('0xa00')},{'update':{'method':'put'},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+'chat/proactive_actions/describe'},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482['baseUrl']+'chat/proactive_actions/:id/clone','params':{'includeAll':_0x1cd3('0xa1a')}}});_0x398482[_0x1cd3('0xb38')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb39'),{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':'get','url':_0x398482['baseUrl']+_0x1cd3('0xb3a')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb3b'),'params':{'includeAll':'@includeAll'}},'addContacts':{'isArray':![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+'cm/companies/:id/contacts'},'getContacts':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+_0x1cd3('0xb3c')}});_0x398482[_0x1cd3('0xb3d')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+'cm/contacts/:id',{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb3e')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb3f'),'params':{'includeAll':'@includeAll'}},'merge':{'isArray':![],'method':_0x1cd3('0x9dc'),'url':_0x398482['baseUrl']+_0x1cd3('0xb40')},'bulkCreate':{'isArray':![],'method':'post','url':_0x398482['baseUrl']+_0x1cd3('0xb41')},'getTags':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb42')},'setTags':{'isArray':!![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb42')},'getHoppers':{'isArray':![],'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb43')},'getHopperHistories':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+_0x1cd3('0xb44')},'getHopperFinals':{'isArray':![],'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb45')},'getJscriptySessions':{'isArray':![],'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb46')},'uploadCsv':{'isArray':![],'method':_0x1cd3('0x9dc'),'url':_0x398482['baseUrl']+'cm/contacts/csv'},'upload':{'isArray':![],'method':_0x1cd3('0x9dc'),'url':_0x398482['baseUrl']+'cm/contacts/upload'},'import':{'isArray':![],'method':'post','url':_0x398482['baseUrl']+'cm/contacts/upload/:id'}});_0x398482[_0x1cd3('0xb47')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb48'),{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb49')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482['baseUrl']+'cm/hopper/:id/clone','params':{'includeAll':_0x1cd3('0xa1a')}},'getPreview':{'isArray':![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb4a')},'getOpenContacts':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+'cm/hopper/opencontacts'}});_0x398482['cmHopperBlack']=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+'cm/hopper_black/:id',{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':'get','url':_0x398482['baseUrl']+_0x1cd3('0xb4b')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb4c'),'params':{'includeAll':_0x1cd3('0xa1a')}}});_0x398482[_0x1cd3('0xb4d')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb4e'),{'id':'@id'},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+'cm/hopper_final/describe'},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb4f'),'params':{'includeAll':_0x1cd3('0xa1a')}},'countContactsQueueCampaignHopperFinal':{'isArray':!![],'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb50')},'countContactsIvrCampaignHopperFinal':{'isArray':!![],'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb51')},'moveContactsQueueCampaignHopperFinal':{'isArray':!![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+'cm/hopper_final/voice/queue/moveContacts/:id'},'moveContactsIvrCampaignHopperFinal':{'isArray':!![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb52')},'checkContactHopper':{'isArray':![],'method':_0x1cd3('0x9dc'),'url':_0x398482['baseUrl']+_0x1cd3('0xb53')}});_0x398482['cmHopperHistory']=_0x5e8ae5(_0x398482['baseUrl']+_0x1cd3('0xb54'),{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+_0x1cd3('0xb55')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb56'),'params':{'includeAll':_0x1cd3('0xa1a')}}});_0x398482[_0x1cd3('0xb57')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb58'),{'id':_0x1cd3('0xa00')},{'update':{'method':'put'},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb59')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+'cm/custom_fields/:id/clone','params':{'includeAll':'@includeAll'}}});_0x398482['action']=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+'actions/:id',{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+_0x1cd3('0xb5a')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb5b'),'params':{'includeAll':'@includeAll'}}});_0x398482[_0x1cd3('0xb5c')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb5d'),{'id':'@id'},{'update':{'method':'put'},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+'automations/describe'},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb5e'),'params':{'includeAll':_0x1cd3('0xa1a')}},'addConditions':{'isArray':![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb5f')},'getConditions':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+_0x1cd3('0xb5f')},'addActions':{'isArray':![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb60')},'getActions':{'isArray':![],'method':'get','url':_0x398482['baseUrl']+_0x1cd3('0xb60')}});_0x398482['cannedAnswer']=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb61'),{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+'canned_answers/describe'},'clone':{'method':'post','url':_0x398482['baseUrl']+_0x1cd3('0xb62'),'params':{'includeAll':_0x1cd3('0xa1a')}}});_0x398482[_0x1cd3('0xb63')]=_0x5e8ae5(_0x398482['baseUrl']+'dispositions/:id',{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+'dispositions/describe'},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb64'),'params':{'includeAll':_0x1cd3('0xa1a')}}});_0x398482[_0x1cd3('0xb65')]=_0x5e8ae5(_0x398482['baseUrl']+'conditions/:id',{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb66')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb67'),'params':{'includeAll':_0x1cd3('0xa1a')}}});_0x398482[_0x1cd3('0x77e')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+'intervals/:id',{'id':'@id'},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+'intervals/describe'},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb68'),'params':{'includeAll':_0x1cd3('0xa1a')}},'addInterval':{'isArray':![],'method':_0x1cd3('0x9dc'),'url':_0x398482['baseUrl']+'intervals/:id/sub_intervals'},'getIntervals':{'isArray':![],'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+'intervals/:id/sub_intervals'},'addIntervals':{'isArray':!![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb69')}});_0x398482[_0x1cd3('0x63e')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+'pauses/:id',{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+'pauses/describe'},'clone':{'method':'post','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb6a'),'params':{'includeAll':_0x1cd3('0xa1a')}}});_0x398482[_0x1cd3('0xb6b')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb6c'),{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+_0x1cd3('0xb6d')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb6e'),'params':{'includeAll':_0x1cd3('0xa1a')}}});_0x398482['voiceQueuesLog']=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+'voiceQueuesLog/:id',{'id':'@id'},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb6f')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+'voiceQueuesLog/:id/clone','params':{'includeAll':_0x1cd3('0xa1a')}}});_0x398482[_0x1cd3('0xb70')]=_0x5e8ae5(_0x398482['baseUrl']+'schedules/:id',{'id':_0x1cd3('0xa00')},{'update':{'method':'put'},'describe':{'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb71')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb72'),'params':{'includeAll':_0x1cd3('0xa1a')}},'run':{'isArray':![],'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb73')}});_0x398482['sound']=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+'sounds/:id',{'id':_0x1cd3('0xa00')},{'update':{'method':'put'},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+'sounds/describe'},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482['baseUrl']+_0x1cd3('0xb74'),'params':{'includeAll':'@includeAll'}},'download':{'isArray':![],'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb75'),'responseType':'arraybuffer','cache':![],'transformResponse':function(_0x53525c,_0x26d58e){var _0x16adaf=_0x26d58e();return{'type':_0x16adaf[_0x1cd3('0xa59')],'length':_0x16adaf[_0x1cd3('0xa57')],'buffer':_0x53525c};}},'delete':{'isArray':![],'method':_0x1cd3('0xa1c'),'url':_0x398482['baseUrl']+'sounds/:id'}});_0x398482[_0x1cd3('0xb76')]=_0x5e8ae5(_0x398482['baseUrl']+_0x1cd3('0xb77'),{'id':_0x1cd3('0xa00')},{'update':{'method':'put'},'describe':{'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb78')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb79'),'params':{'includeAll':'@includeAll'}}});_0x398482[_0x1cd3('0xb7a')]=_0x5e8ae5(_0x398482['baseUrl']+_0x1cd3('0xb7b'),{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb7c')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482['baseUrl']+_0x1cd3('0xb7d'),'params':{'includeAll':_0x1cd3('0xa1a')}}});_0x398482[_0x1cd3('0xb7e')]=_0x5e8ae5(_0x398482['baseUrl']+'triggers/:id',{'id':_0x1cd3('0xa00')},{'update':{'method':'put'},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+_0x1cd3('0xb7f')},'clone':{'method':'post','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb80'),'params':{'includeAll':_0x1cd3('0xa1a')}},'addAllCondition':{'isArray':![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb81')},'addAnyCondition':{'isArray':![],'method':'post','url':_0x398482[_0x1cd3('0x9e7')]+'triggers/:id/any_conditions'},'getAllConditions':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+_0x1cd3('0xb81')},'getAnyConditions':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb82')},'addAction':{'isArray':![],'method':'post','url':_0x398482[_0x1cd3('0x9e7')]+'triggers/:id/actions'},'getActions':{'isArray':![],'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb83')}});_0x398482[_0x1cd3('0xb84')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb85'),{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb86')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482['baseUrl']+'variables/:id/clone','params':{'includeAll':_0x1cd3('0xa1a')}}});_0x398482[_0x1cd3('0xb87')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb88'),{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb89')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb8a'),'params':{'includeAll':_0x1cd3('0xa1a')}}});_0x398482[_0x1cd3('0xb8b')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb8c'),{'id':'@id'},{'update':{'method':'put'},'describe':{'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb8d')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb8e'),'params':{'includeAll':_0x1cd3('0xa1a')}}});_0x398482[_0x1cd3('0x8f9')]=_0x5e8ae5(_0x398482['baseUrl']+'analytics/custom_reports/:id',{'id':'@id'},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+_0x1cd3('0xb8f')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb90'),'params':{'includeAll':_0x1cd3('0xa1a')}},'preview':{'isArray':!![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb91')},'run':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb92')},'query':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb93')}});_0x398482[_0x1cd3('0x8f7')]=_0x5e8ae5(_0x398482['baseUrl']+_0x1cd3('0xb94'),{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb95')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482['baseUrl']+_0x1cd3('0xb96'),'params':{'includeAll':_0x1cd3('0xa1a')}},'preview':{'isArray':!![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb97')},'run':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb98')},'query':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb99')}});_0x398482[_0x1cd3('0xb9a')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb9b'),{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+'analytics/extracted_reports/describe'},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482['baseUrl']+_0x1cd3('0xb9c'),'params':{'includeAll':_0x1cd3('0xa1a')}},'download':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb9d'),'responseType':'arraybuffer','cache':![],'transformResponse':function(_0x10238a,_0x5eb481){var _0x521432=_0x5eb481();return{'type':_0x521432[_0x1cd3('0xa59')],'length':_0x521432[_0x1cd3('0xa57')],'buffer':_0x10238a};}}});_0x398482['analyticMetric']=_0x5e8ae5(_0x398482['baseUrl']+'analytics/metrics/:id',{'id':_0x1cd3('0xa00')},{'update':{'method':'put'},'describe':{'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb9e')},'clone':{'method':'post','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xb9f'),'params':{'includeAll':_0x1cd3('0xa1a')}}});_0x398482[_0x1cd3('0x8f4')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xba0'),{'id':_0x1cd3('0xa00')},{'update':{'method':'put'},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xba1')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xba2'),'params':{'includeAll':'@includeAll'}},'bulkCreate':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xba3'),'isArray':!![]},'bulkDestroy':{'method':_0x1cd3('0xa1c'),'url':_0x398482[_0x1cd3('0x9e7')]+'analytics/field_reports/destroy_many','isArray':!![]},'addFields':{'isArray':!![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+'analytics/field_reports/:id/create_many'}});_0x398482['analyticTreeReport']=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xba4'),{'id':_0x1cd3('0xa00')},{'update':{'method':'put'},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+'analytics/tree_reports/describe'},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xba5'),'params':{'includeAll':_0x1cd3('0xa1a')}}});_0x398482[_0x1cd3('0xba6')]=_0x5e8ae5(_0x398482['baseUrl']+_0x1cd3('0xba7'),{'id':_0x1cd3('0xa00')},{'update':{'method':'put'},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xba8')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xba9'),'params':{'includeAll':_0x1cd3('0xa1a')}},'getConfigurations':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+_0x1cd3('0xbaa')},'addConfiguration':{'isArray':![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+'integrations/salesforce/accounts/:id/configurations'},'getFields':{'isArray':![],'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+'integrations/salesforce/accounts/:id/fields'}});_0x398482[_0x1cd3('0xbab')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xbac'),{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xbad')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xbae'),'params':{'includeAll':_0x1cd3('0xa1a')}},'getFields':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xbaf')},'getSubjects':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xbb0')},'getDescriptions':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+_0x1cd3('0xbb1')}});_0x398482[_0x1cd3('0xbb2')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+'integrations/salesforce/fields/:id',{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xbb3')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xbb4'),'params':{'includeAll':'@includeAll'}}});_0x398482[_0x1cd3('0xbb5')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xbb6'),{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xbb7')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482['baseUrl']+_0x1cd3('0xbb8'),'params':{'includeAll':_0x1cd3('0xa1a')}},'getConfigurations':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xbb9')},'addConfiguration':{'isArray':![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xbb9')},'getFields':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+_0x1cd3('0xbba')}});_0x398482[_0x1cd3('0xbbb')]=_0x5e8ae5(_0x398482['baseUrl']+'integrations/sugarcrm/configurations/:id',{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xbbc')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482['baseUrl']+_0x1cd3('0xbbd'),'params':{'includeAll':_0x1cd3('0xa1a')}},'getFields':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xbbe')},'getSubjects':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xbbf')},'getDescriptions':{'isArray':![],'method':'get','url':_0x398482['baseUrl']+_0x1cd3('0xbc0')}});_0x398482[_0x1cd3('0xbc1')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+'integrations/sugarcrm/fields/:id',{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xbc2')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xbc3'),'params':{'includeAll':'@includeAll'}}});_0x398482[_0x1cd3('0xbc4')]=_0x5e8ae5(_0x398482['baseUrl']+_0x1cd3('0xbc5'),{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xbc6')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482['baseUrl']+'integrations/desk/accounts/:id/clone','params':{'includeAll':'@includeAll'}},'getConfigurations':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xbc7')},'addConfiguration':{'isArray':![],'method':'post','url':_0x398482['baseUrl']+_0x1cd3('0xbc7')},'getFields':{'isArray':![],'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xbc8')}});_0x398482[_0x1cd3('0xbc9')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+'integrations/desk/configurations/:id',{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xbca')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xbcb'),'params':{'includeAll':'@includeAll'}},'getFields':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xbcc')},'getSubjects':{'isArray':![],'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xbcd')},'getDescriptions':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xbce')},'getTags':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xbcf')},'setTags':{'isArray':!![],'method':_0x1cd3('0x9dc'),'url':_0x398482['baseUrl']+_0x1cd3('0xbcf')}});_0x398482[_0x1cd3('0xbd0')]=_0x5e8ae5(_0x398482['baseUrl']+'integrations/desk/fields/:id',{'id':'@id'},{'update':{'method':'put'},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+'integrations/desk/fields/describe'},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482['baseUrl']+_0x1cd3('0xbd1'),'params':{'includeAll':_0x1cd3('0xa1a')}}});_0x398482['intZohoAccount']=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+'integrations/zoho/accounts/:id',{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':'get','url':_0x398482['baseUrl']+_0x1cd3('0xbd2')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+'integrations/zoho/accounts/:id/clone','params':{'includeAll':_0x1cd3('0xa1a')}},'getConfigurations':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+'integrations/zoho/accounts/:id/configurations'},'addConfiguration':{'isArray':![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+'integrations/zoho/accounts/:id/configurations'},'getFields':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+_0x1cd3('0xbd3')}});_0x398482[_0x1cd3('0xbd4')]=_0x5e8ae5(_0x398482['baseUrl']+'integrations/zoho/configurations/:id',{'id':_0x1cd3('0xa00')},{'update':{'method':'put'},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xbd5')},'clone':{'method':'post','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xbd6'),'params':{'includeAll':_0x1cd3('0xa1a')}},'getFields':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+'integrations/zoho/configurations/:id/fields'},'getSubjects':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+'integrations/zoho/configurations/:id/subjects'},'getDescriptions':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xbd7')}});_0x398482[_0x1cd3('0xbd8')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xbd9'),{'id':_0x1cd3('0xa00')},{'update':{'method':'put'},'describe':{'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+'integrations/zoho/fields/describe'},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xbda'),'params':{'includeAll':'@includeAll'}}});_0x398482['intZendeskAccount']=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xbdb'),{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xbdc')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482['baseUrl']+'integrations/zendesk/accounts/:id/clone','params':{'includeAll':'@includeAll'}},'getConfigurations':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xbdd')},'addConfiguration':{'isArray':![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+'integrations/zendesk/accounts/:id/configurations'},'getFields':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+'integrations/zendesk/accounts/:id/fields'}});_0x398482[_0x1cd3('0xbde')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+'integrations/zendesk/configurations/:id',{'id':_0x1cd3('0xa00')},{'update':{'method':'put'},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+'integrations/zendesk/configurations/describe'},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+'integrations/zendesk/configurations/:id/clone','params':{'includeAll':'@includeAll'}},'getFields':{'isArray':![],'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xbdf')},'getSubjects':{'isArray':![],'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xbe0')},'getDescriptions':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+'integrations/zendesk/configurations/:id/descriptions'},'getTags':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xbe1')},'setTags':{'isArray':!![],'method':_0x1cd3('0x9dc'),'url':_0x398482['baseUrl']+_0x1cd3('0xbe1')}});_0x398482['intZendeskField']=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xbe2'),{'id':'@id'},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xbe3')},'clone':{'method':'post','url':_0x398482['baseUrl']+_0x1cd3('0xbe4'),'params':{'includeAll':_0x1cd3('0xa1a')}}});_0x398482['intFreshdeskAccount']=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xbe5'),{'id':_0x1cd3('0xa00')},{'update':{'method':'put'},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xbe6')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xbe7'),'params':{'includeAll':_0x1cd3('0xa1a')}},'getConfigurations':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xbe8')},'addConfiguration':{'isArray':![],'method':_0x1cd3('0x9dc'),'url':_0x398482['baseUrl']+_0x1cd3('0xbe8')},'getFields':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+_0x1cd3('0xbe9')}});_0x398482[_0x1cd3('0xbea')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xbeb'),{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xbec')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xbed'),'params':{'includeAll':'@includeAll'}},'getFields':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+_0x1cd3('0xbee')},'getSubjects':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xbef')},'getDescriptions':{'isArray':![],'method':'get','url':_0x398482['baseUrl']+_0x1cd3('0xbf0')},'getTags':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xbf1')},'setTags':{'isArray':!![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+'integrations/freshdesk/configurations/:id/tags'}});_0x398482[_0x1cd3('0xbf2')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xbf3'),{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xbf4')},'clone':{'method':'post','url':_0x398482['baseUrl']+_0x1cd3('0xbf5'),'params':{'includeAll':'@includeAll'}}});_0x398482[_0x1cd3('0xbf6')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+'integrations/vtiger/accounts/:id',{'id':_0x1cd3('0xa00')},{'update':{'method':'put'},'describe':{'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xbf7')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+'integrations/vtiger/accounts/:id/clone','params':{'includeAll':'@includeAll'}},'getConfigurations':{'isArray':![],'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xbf8')},'addConfiguration':{'isArray':![],'method':'post','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xbf8')},'getFields':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+'integrations/vtiger/accounts/:id/fields'}});_0x398482[_0x1cd3('0xbf9')]=_0x5e8ae5(_0x398482['baseUrl']+'integrations/vtiger/configurations/:id',{'id':'@id'},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+_0x1cd3('0xbfa')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xbfb'),'params':{'includeAll':_0x1cd3('0xa1a')}},'getFields':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xbfc')},'getSubjects':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+'integrations/vtiger/configurations/:id/subjects'},'getDescriptions':{'isArray':![],'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+'integrations/vtiger/configurations/:id/descriptions'}});_0x398482[_0x1cd3('0xbfd')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xbfe'),{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xbff')},'clone':{'method':'post','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc00'),'params':{'includeAll':_0x1cd3('0xa1a')}}});_0x398482[_0x1cd3('0xc01')]=_0x5e8ae5(_0x398482['baseUrl']+_0x1cd3('0xc02'),{'id':_0x1cd3('0xa00')},{'update':{'method':'put'},'describe':{'method':'get','url':_0x398482['baseUrl']+_0x1cd3('0xc03')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc04'),'params':{'includeAll':'@includeAll'}},'getConfigurations':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+_0x1cd3('0xc05')},'addConfiguration':{'isArray':![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+'integrations/servicenow/accounts/:id/configurations'},'getFields':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc06')}});_0x398482[_0x1cd3('0xc07')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc08'),{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+'integrations/servicenow/configurations/describe'},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+'integrations/servicenow/configurations/:id/clone','params':{'includeAll':'@includeAll'}},'getFields':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc09')},'getSubjects':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+'integrations/servicenow/configurations/:id/subjects'},'getDescriptions':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc0a')}});_0x398482[_0x1cd3('0xc0b')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc0c'),{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+_0x1cd3('0xc0d')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc0e'),'params':{'includeAll':_0x1cd3('0xa1a')}}});_0x398482[_0x1cd3('0xc0f')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+'integrations/dynamics365/accounts/:id',{'id':'@id'},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+'integrations/dynamics365/accounts/describe'},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc10'),'params':{'includeAll':_0x1cd3('0xa1a')}},'getConfigurations':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc11')},'addConfiguration':{'isArray':![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc11')},'getFields':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc12')}});_0x398482[_0x1cd3('0xc13')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc14'),{'id':'@id'},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc15')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482['baseUrl']+_0x1cd3('0xc16'),'params':{'includeAll':'@includeAll'}},'getFields':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc17')},'getSubjects':{'isArray':![],'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc18')},'getDescriptions':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+'integrations/dynamics365/configurations/:id/descriptions'}});_0x398482[_0x1cd3('0xc19')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc1a'),{'id':'@id'},{'update':{'method':'put'},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc1b')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc1c'),'params':{'includeAll':_0x1cd3('0xa1a')}}});_0x398482[_0x1cd3('0xc1d')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc1e'),{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+'integrations/freshsales/accounts/describe'},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc1f'),'params':{'includeAll':_0x1cd3('0xa1a')}},'getConfigurations':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc20')},'addConfiguration':{'isArray':![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc20')},'getFields':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc21')}});_0x398482[_0x1cd3('0xc22')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc23'),{'id':_0x1cd3('0xa00')},{'update':{'method':'put'},'describe':{'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc24')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc25'),'params':{'includeAll':'@includeAll'}},'getSubjects':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc26')},'getDescriptions':{'isArray':![],'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+'integrations/freshsales/configurations/:id/descriptions'},'getFields':{'isArray':![],'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc27')}});_0x398482[_0x1cd3('0xc28')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc29'),{'id':'@id'},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc2a')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc2b'),'params':{'includeAll':_0x1cd3('0xa1a')}}});_0x398482[_0x1cd3('0x5aa')]=_0x5e8ae5(_0x398482['baseUrl']+_0x1cd3('0xc2c'),{'id':'@id'},{'update':{'method':'put'},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc2d')},'clone':{'method':'post','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc2e'),'params':{'includeAll':_0x1cd3('0xa1a')}}});_0x398482['chatQueueReport']=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+'chat/reports/queue/:id',{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+'chat/reports/queue/describe'},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482['baseUrl']+_0x1cd3('0xc2f'),'params':{'includeAll':_0x1cd3('0xa1a')}}});_0x398482[_0x1cd3('0xc30')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc31'),{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc32')},'clone':{'method':'post','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc33'),'params':{'includeAll':_0x1cd3('0xa1a')}},'getUsers':{'isArray':![],'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc34')}});_0x398482['jscriptyAnswerReport']=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc35'),{'id':_0x1cd3('0xa00')},{'update':{'method':'put'},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+_0x1cd3('0xc36')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+'jscripty/answers/reports/:id/clone','params':{'includeAll':_0x1cd3('0xa1a')}}});_0x398482[_0x1cd3('0xc37')]=_0x5e8ae5(_0x398482['baseUrl']+'jscripty/questions/reports/:id',{'id':'@id'},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+_0x1cd3('0xc38')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482['baseUrl']+'jscripty/questions/reports/:id/clone','params':{'includeAll':_0x1cd3('0xa1a')}}});_0x398482[_0x1cd3('0xc39')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+'jscripty/sessions/reports/:id',{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+'jscripty/sessions/reports/describe'},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482['baseUrl']+'jscripty/sessions/reports/:id/clone','params':{'includeAll':_0x1cd3('0xa1a')}},'getQuestions':{'isArray':![],'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+'jscripty/sessions/reports/:id/questions'}});_0x398482[_0x1cd3('0xc3a')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+'sms/reports/queue/:id',{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+'sms/reports/queue/describe'},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482['baseUrl']+_0x1cd3('0xc3b'),'params':{'includeAll':_0x1cd3('0xa1a')}}});_0x398482[_0x1cd3('0xc3c')]=_0x5e8ae5(_0x398482['baseUrl']+_0x1cd3('0xc3d'),{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc3e')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc3f'),'params':{'includeAll':'@includeAll'}}});_0x398482[_0x1cd3('0xc40')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+'square/details/reports/:id',{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc41')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+'square/details/reports/:id/clone','params':{'includeAll':_0x1cd3('0xa1a')}}});_0x398482[_0x1cd3('0xc42')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc43'),{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+_0x1cd3('0xc44')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc45'),'params':{'includeAll':_0x1cd3('0xa1a')}},'getSessions':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+_0x1cd3('0xc46')},'getAnswers':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc47')},'getSummary':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+_0x1cd3('0xc48'),'responseType':_0x1cd3('0xa56'),'cache':![],'transformResponse':function(_0x189a77,_0x243dfb){var _0x4a2934=_0x243dfb();return{'type':_0x4a2934[_0x1cd3('0xa59')],'length':_0x4a2934['content-length'],'buffer':_0x189a77};}}});_0x398482[_0x1cd3('0xc49')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc4a'),{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+'settings/describe'},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc4b'),'params':{'includeAll':'@includeAll'}},'addLogo':{'isArray':![],'method':_0x1cd3('0x9dc'),'url':_0x398482['baseUrl']+_0x1cd3('0xc4c')},'addLogoLogin':{'isArray':![],'method':'post','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc4d')},'getLogo':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc4c')},'getLogoLogin':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+_0x1cd3('0xc4d')},'gdpr':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+_0x1cd3('0xc4e')},'addPreferred':{'isArray':![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc4f')},'getPreferred':{'isArray':![],'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc4f')},'addFavicon':{'isArray':![],'method':_0x1cd3('0x9dc'),'url':_0x398482['baseUrl']+_0x1cd3('0xc50')},'getFavicon':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc50')}});_0x398482[_0x1cd3('0xc51')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc52'),{'id':'@id'},{'update':{'method':'put'},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc53')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+'square/odbc/:id/clone','params':{'includeAll':_0x1cd3('0xa1a')}},'test':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc54')}});_0x398482[_0x1cd3('0xc55')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+'square/projects/:id',{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc56')},'clone':{'method':'post','url':_0x398482[_0x1cd3('0x9e7')]+'square/projects/:id/clone','params':{'includeAll':_0x1cd3('0xa1a')}},'addUsers':{'isArray':!![],'method':'post','url':_0x398482['baseUrl']+_0x1cd3('0xc57')},'removeUsers':{'isArray':![],'method':_0x1cd3('0xa1c'),'url':_0x398482['baseUrl']+_0x1cd3('0xc57')},'getUsers':{'isArray':![],'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+'square/projects/:id/users'}});_0x398482[_0x1cd3('0xc58')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc59'),{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+_0x1cd3('0xc5a')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc5b'),'params':{'includeAll':_0x1cd3('0xa1a')}},'download':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+_0x1cd3('0xc5c'),'responseType':_0x1cd3('0xa56'),'cache':![],'transformResponse':function(_0xa86fcd,_0x5bed2d){var _0x21bdd9=_0x5bed2d();return{'type':_0x21bdd9['content-type'],'length':_0x21bdd9[_0x1cd3('0xa57')],'buffer':_0xa86fcd};}}});_0x398482[_0x1cd3('0xc5d')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc5e'),{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc5f')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc60'),'params':{'includeAll':_0x1cd3('0xa1a')}}});_0x398482[_0x1cd3('0xc61')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc62'),{'id':_0x1cd3('0xa00')},{'update':{'method':'put'},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+_0x1cd3('0xc63')},'clone':{'method':'post','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc64'),'params':{'includeAll':_0x1cd3('0xa1a')}},'getQueues':{'isArray':!![],'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc65')},'addQueues':{'isArray':!![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+'teams/:id/queues'},'removeQueues':{'isArray':![],'method':_0x1cd3('0xa1c'),'url':_0x398482['baseUrl']+_0x1cd3('0xc65')},'addAgents':{'isArray':!![],'method':_0x1cd3('0x9dc'),'url':_0x398482['baseUrl']+_0x1cd3('0xc66')},'removeAgents':{'isArray':![],'method':_0x1cd3('0xa1c'),'url':_0x398482[_0x1cd3('0x9e7')]+'teams/:id/users'},'getAgents':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+_0x1cd3('0xc66')}});_0x398482[_0x1cd3('0x463')]=_0x5e8ae5(_0x398482['baseUrl']+'license/:id',{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc67')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482['baseUrl']+_0x1cd3('0xc68'),'params':{'includeAll':_0x1cd3('0xa1a')}}});_0x398482[_0x1cd3('0xc69')]=_0x5e8ae5(_0x398482['baseUrl']+_0x1cd3('0xc6a'),{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc6b')},'clone':{'method':'post','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc6c'),'params':{'includeAll':_0x1cd3('0xa1a')}},'getHoppers':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+'campaigns/:id/hoppers'},'getHopperHistories':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+_0x1cd3('0xc6d')},'getHopperFinals':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc6e')},'getHopperBlacks':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+'campaigns/:id/hopper_black'},'getLists':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc6f')},'addLists':{'isArray':!![],'method':'post','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc6f')},'removeLists':{'isArray':!![],'method':_0x1cd3('0xa1c'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc6f')},'getBlackLists':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc70')},'addBlackLists':{'isArray':!![],'method':_0x1cd3('0x9dc'),'url':_0x398482['baseUrl']+'campaigns/:id/blacklists'},'removeBlackLists':{'isArray':!![],'method':_0x1cd3('0xa1c'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc70')}});_0x398482[_0x1cd3('0xc71')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+'migrations/:id',{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc72')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+'migrations/:id/clone','params':{'includeAll':_0x1cd3('0xa1a')}}});_0x398482[_0x1cd3('0xc73')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc74'),{'id':_0x1cd3('0xa00')},{'update':{'method':'put'},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc75')},'clone':{'method':'post','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc76'),'params':{'includeAll':_0x1cd3('0xa1a')}},'download':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc77'),'responseType':'arraybuffer','cache':![],'transformResponse':function(_0x5bcf2c,_0x460022){var _0x11c6bb=_0x460022();return{'type':_0x11c6bb[_0x1cd3('0xa59')],'length':_0x11c6bb[_0x1cd3('0xa57')],'buffer':_0x5bcf2c};}}});_0x398482[_0x1cd3('0xc78')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc79'),{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+'plugins/describe'},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc7a'),'params':{'includeAll':_0x1cd3('0xa1a')}},'download':{'isArray':![],'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc7b'),'responseType':_0x1cd3('0xa56'),'cache':![],'transformResponse':function(_0x363c7b,_0x2bd821){var _0x4fffe3=_0x2bd821();return{'type':_0x4fffe3[_0x1cd3('0xa59')],'length':_0x4fffe3[_0x1cd3('0xa57')],'buffer':_0x363c7b};}},'upload':{'isArray':![],'method':'post','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc7c')},'delete':{'isArray':![],'method':_0x1cd3('0xa1c'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc79')},'webhookGet':{'isArray':![],'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc7d')},'webhookPost':{'isArray':![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc7d')}});_0x398482[_0x1cd3('0xc7e')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc7f'),{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':'get','url':_0x398482['baseUrl']+_0x1cd3('0xc80')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482['baseUrl']+_0x1cd3('0xc81'),'params':{'includeAll':_0x1cd3('0xa1a')}}});_0x398482[_0x1cd3('0xc82')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc83'),{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+_0x1cd3('0xc84')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc85'),'params':{'includeAll':_0x1cd3('0xa1a')}}});_0x398482[_0x1cd3('0xc86')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+'fax/reports/transfer/:id',{'id':_0x1cd3('0xa00')},{'update':{'method':'put'},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc87')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482['baseUrl']+_0x1cd3('0xc88'),'params':{'includeAll':_0x1cd3('0xa1a')}}});_0x398482[_0x1cd3('0xc89')]=_0x5e8ae5(_0x398482['baseUrl']+_0x1cd3('0xc8a'),{'id':'@id'},{'update':{'method':'put'},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+_0x1cd3('0xc8b')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482['baseUrl']+_0x1cd3('0xc8c'),'params':{'includeAll':_0x1cd3('0xa1a')}}});_0x398482['smsTransferReport']=_0x5e8ae5(_0x398482['baseUrl']+_0x1cd3('0xc8d'),{'id':'@id'},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+'sms/reports/transfer/describe'},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482['baseUrl']+_0x1cd3('0xc8e'),'params':{'includeAll':'@includeAll'}}});_0x398482[_0x1cd3('0xc8f')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc90'),{'id':'@id'},{'update':{'method':'put'},'describe':{'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+'cm/lists/describe'},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+'cm/lists/:id/clone','params':{'includeAll':_0x1cd3('0xa1a')}},'addDisposition':{'isArray':![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc91')},'getDispositions':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+'cm/lists/:id/dispositions'},'removeDispositions':{'isArray':![],'method':'delete','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc91')},'addContacts':{'isArray':![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc92')},'getContacts':{'isArray':!![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc92')},'getContactsCsv':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc93'),'responseType':'arraybuffer','cache':![],'transformResponse':function(_0x50b4c4,_0x15eb38){var _0x2b3b0d=_0x15eb38();return{'type':_0x2b3b0d[_0x1cd3('0xa59')],'length':_0x2b3b0d[_0x1cd3('0xa57')],'buffer':_0x50b4c4};}},'addCustomField':{'isArray':![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+'cm/lists/:id/fields'},'getCustomFields':{'isArray':![],'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+'cm/lists/:id/fields'},'addAgents':{'isArray':!![],'method':'post','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc94')},'removeAgents':{'isArray':![],'method':_0x1cd3('0xa1c'),'url':_0x398482[_0x1cd3('0x9e7')]+'cm/lists/:id/users'},'getAgents':{'isArray':![],'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc94')}});_0x398482[_0x1cd3('0xc95')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc96'),{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc97')},'clone':{'method':'post','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc98'),'params':{'includeAll':_0x1cd3('0xa1a')}},'addAgents':{'isArray':!![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc99')},'removeAgents':{'isArray':![],'method':'delete','url':_0x398482['baseUrl']+'voice/prefixes/:id/users'},'getAgents':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc99')}});_0x398482[_0x1cd3('0x38a')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc9a'),{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':'get','url':_0x398482[_0x1cd3('0x9e7')]+'userProfiles/describe'},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+'userProfiles/:id/clone','params':{'includeAll':'@includeAll'}},'addSections':{'isArray':!![],'method':'post','url':_0x398482[_0x1cd3('0x9e7')]+'userProfiles/:id/sections'},'removeSections':{'isArray':![],'method':'delete','url':_0x398482['baseUrl']+_0x1cd3('0xc9b')},'getSections':{'isArray':!![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc9b')},'addResources':{'isArray':!![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc9c')},'removeResources':{'isArray':![],'method':_0x1cd3('0xa1c'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc9c')},'getResources':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc9c')}});_0x398482['userProfileSection']=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc9d'),{'id':_0x1cd3('0xa00')},{'update':{'method':'put'},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xc9e')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482['baseUrl']+_0x1cd3('0xc9f'),'params':{'includeAll':_0x1cd3('0xa1a')}}});_0x398482['userProfileResource']=_0x5e8ae5(_0x398482['baseUrl']+'userProfile/resources/:id',{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+_0x1cd3('0xca0')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+'userProfile/resources/:id/clone','params':{'includeAll':_0x1cd3('0xa1a')}}});_0x398482[_0x1cd3('0x626')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xca1'),{'id':'@id'},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+'notifications/describe'},'clone':{'method':'post','url':_0x398482[_0x1cd3('0x9e7')]+'notifications/:id/clone','params':{'includeAll':_0x1cd3('0xa1a')}},'sendNotification':{'isArray':![],'method':_0x1cd3('0x9dc'),'url':_0x398482['baseUrl']+_0x1cd3('0xca2')}});_0x398482[_0x1cd3('0xca3')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xca4'),{'id':'@id'},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+'whatsapp/accounts/describe'},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482['baseUrl']+'whatsapp/accounts/:id/clone','params':{'includeAll':_0x1cd3('0xa1a')}},'addDisposition':{'isArray':![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xca5')},'getDispositions':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xca5')},'removeDispositions':{'isArray':![],'method':'delete','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xca5')},'addAnswer':{'isArray':![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+'whatsapp/accounts/:id/canned_answers'},'getAnswers':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+_0x1cd3('0xca6')},'removeAnswers':{'isArray':![],'method':'delete','url':_0x398482[_0x1cd3('0x9e7')]+'whatsapp/accounts/:id/canned_answers'},'addAgents':{'isArray':!![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xca7')},'removeAgents':{'isArray':![],'method':_0x1cd3('0xa1c'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xca7')},'getAgents':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+_0x1cd3('0xca7')},'addApplications':{'isArray':![],'method':'post','url':_0x398482[_0x1cd3('0x9e7')]+'whatsapp/accounts/:id/applications'},'getApplications':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+_0x1cd3('0xca8')},'notify':{'isArray':![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xca9')},'send':{'isArray':![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xcaa')}});_0x398482[_0x1cd3('0xcab')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xcac'),{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+'whatsapp/applications/describe'},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482['baseUrl']+_0x1cd3('0xcad'),'params':{'includeAll':_0x1cd3('0xa1a')}}});_0x398482[_0x1cd3('0xcae')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+'whatsapp/interactions/:id',{'id':'@id'},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+'whatsapp/interactions/describe'},'clone':{'method':'post','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xcaf'),'params':{'includeAll':_0x1cd3('0xa1a')}},'addMessage':{'isArray':![],'method':'post','url':_0x398482[_0x1cd3('0x9e7')]+'whatsapp/interactions/:id/messages'},'getMessages':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xcb0')},'addTags':{'isArray':![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xcb1')},'removeTags':{'isArray':![],'method':'delete','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xcb1')},'download':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+_0x1cd3('0xcb2'),'responseType':_0x1cd3('0xa56'),'cache':![],'transformResponse':function(_0x2c586f,_0x4b4222){var _0x4db371=_0x4b4222();return{'type':_0x4db371[_0x1cd3('0xa59')],'length':_0x4db371[_0x1cd3('0xa57')],'buffer':_0x2c586f};}}});_0x398482[_0x1cd3('0xcb3')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+'whatsapp/messages/:id',{'id':'@id'},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xcb4')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xcb5'),'params':{'includeAll':_0x1cd3('0xa1a')}},'accept':{'isArray':![],'method':'put','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xcb6')},'reject':{'isArray':![],'method':_0x1cd3('0x37b'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xcb7')},'status':{'isArray':![],'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xcb8')}});_0x398482['whatsappQueueReport']=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xcb9'),{'id':'@id'},{'update':{'method':'put'},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xcba')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xcbb'),'params':{'includeAll':_0x1cd3('0xa1a')}}});_0x398482[_0x1cd3('0xcbc')]=_0x5e8ae5(_0x398482[_0x1cd3('0x9e7')]+'whatsapp/reports/transfer/:id',{'id':_0x1cd3('0xa00')},{'update':{'method':'put'},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xcbd')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xcbe'),'params':{'includeAll':_0x1cd3('0xa1a')}}});_0x398482[_0x1cd3('0xcbf')]=_0x5e8ae5(_0x398482['baseUrl']+_0x1cd3('0xcc0'),{'id':'@id'},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+_0x1cd3('0xcc1')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xcc2'),'params':{'includeAll':_0x1cd3('0xa1a')}},'getMembers':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xcc3')},'getTeams':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xcc4')},'addTeams':{'isArray':!![],'method':'post','url':_0x398482[_0x1cd3('0x9e7')]+'whatsapp/queues/:id/teams'},'removeTeams':{'isArray':![],'method':'delete','url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xcc4')},'addAgents':{'isArray':!![],'method':_0x1cd3('0x9dc'),'url':_0x398482['baseUrl']+'whatsapp/queues/:id/users'},'removeAgents':{'isArray':![],'method':_0x1cd3('0xa1c'),'url':_0x398482['baseUrl']+_0x1cd3('0xcc5')},'getAgents':{'isArray':![],'method':_0x1cd3('0x361'),'url':_0x398482[_0x1cd3('0x9e7')]+_0x1cd3('0xcc5')}});_0x398482[_0x1cd3('0xcc6')]=_0x5e8ae5(_0x398482['baseUrl']+'cloudProviders/:id',{'id':_0x1cd3('0xa00')},{'update':{'method':_0x1cd3('0x37b')},'describe':{'method':_0x1cd3('0x361'),'url':_0x398482['baseUrl']+_0x1cd3('0xcc7')},'clone':{'method':_0x1cd3('0x9dc'),'url':_0x398482['baseUrl']+_0x1cd3('0xcc8'),'params':{'includeAll':_0x1cd3('0xa1a')}}});return _0x398482;}}());(function(){'use strict';_0x437eb5[_0x1cd3('0xc')]=[_0x1cd3('0xcc9'),_0x1cd3('0xcca')];angular[_0x1cd3('0x0')](_0x1cd3('0x25'))[_0x1cd3('0xf')](_0x437eb5);function _0x437eb5(_0x3ba96c,_0x46c49a){_0x46c49a[_0x1cd3('0xccb')]({'position':'top-right','sound':![],'html':!![],'theme':'material'});_0x3ba96c[_0x1cd3('0xccc')](_0x1cd3('0xccd'),{'urlTemplate':'{part}/i18n/{lang}.json'});_0x3ba96c['preferredLanguage']('en');_0x3ba96c['useSanitizeValueStrategy'](null);}}());(function(){'use strict';angular[_0x1cd3('0x0')](_0x1cd3('0x25'));}());(function(){'use strict';_0x2c47f3[_0x1cd3('0xc')]=['motionTheming',_0x1cd3('0x3f7'),'$cookies',_0x1cd3('0x370')];angular[_0x1cd3('0x0')](_0x1cd3('0x25'))['controller']('IndexController',_0x2c47f3);function _0x2c47f3(_0x11995f,_0x9a99e5,_0x4a9a71,_0x27153e){var _0x35cec4=this;_0x35cec4['themes']=_0x11995f['themes'];_0x35cec4[_0x1cd3('0x5e0')]='ltr';var _0x37111a=['ar','fa','he'];var _0x2c5b3f=_0x4a9a71['get'](_0x1cd3('0xcce'));if(_0x2c5b3f){_0x9a99e5[_0x1cd3('0xccf')](_0x2c5b3f);if(_0x37111a[_0x1cd3('0x45e')](_0x2c5b3f)>=0x0){_0x27153e[_0x1cd3('0xc49')][_0x1cd3('0x361')]({'id':0x1})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x20c43d){if(_0x20c43d&&_0x20c43d[_0x1cd3('0xcd0')]){_0x35cec4[_0x1cd3('0x5e0')]=_0x1cd3('0xcd1');}})['catch'](function(_0x299efa){if(_0x299efa){toasty[_0x1cd3('0x434')]({'title':_0x1cd3('0xcd2'),'msg':_0x299efa[_0x1cd3('0x439')]?_0x299efa[_0x1cd3('0x439')][_0x1cd3('0x43a')]||_0x299efa[_0x1cd3('0x43a')]||_0x299efa:_0x299efa['message']||_0x299efa});}});}}}}());(function(){'use strict';_0x42cca5['$inject']=['$filter','$translate'];_0xaa8eb4['$inject']=['$translate'];angular['module'](_0x1cd3('0x25'))[_0x1cd3('0x395')](_0x1cd3('0xcd3'),_0x55b472)[_0x1cd3('0x395')]('formatdate',_0x42cca5)[_0x1cd3('0x373')](_0x1cd3('0xcd4'),_0x1ba080)[_0x1cd3('0x373')](_0x1cd3('0xcd5'),_0xaa8eb4)[_0x1cd3('0x373')]('Sequence',_0x11d55f);function _0x42cca5(_0x120b71,_0x5e8da4){return function(_0x19604f){var _0x454938=new Date();var _0x57407c=new Date(_0x19604f);if(_0x57407c[_0x1cd3('0x6d9')]()===_0x454938[_0x1cd3('0x6d9')]()&&_0x57407c[_0x1cd3('0x6d8')]()===_0x454938['getMonth']()&&_0x57407c[_0x1cd3('0x6d7')]()===_0x454938[_0x1cd3('0x6d7')]()){return _0x120b71(_0x1cd3('0x406'))(_0x57407c[_0x1cd3('0xcd6')](),'shortTime');}if(_0x57407c[_0x1cd3('0x6d9')]()===_0x454938[_0x1cd3('0x6d9')]()-0x1&&_0x57407c['getMonth']()===_0x454938[_0x1cd3('0x6d8')]()&&_0x57407c[_0x1cd3('0x6d7')]()===_0x454938[_0x1cd3('0x6d7')]()){return _0x5e8da4[_0x1cd3('0x44a')](_0x1cd3('0xcd7'))+'\x20'+_0x120b71(_0x1cd3('0x406'))(_0x57407c[_0x1cd3('0xcd6')](),'shortTime');}return _0x120b71(_0x1cd3('0x406'))(_0x57407c[_0x1cd3('0xcd6')](),'MMM\x20d,\x20y\x20h:mm\x20a');};}function _0x55b472(){return function(_0x2632af,_0x281532,_0x40569d){var _0x4b76f4={},_0x2b0532=0x0,_0x1857b2;for(_0x1857b2 in _0x2632af){if(_0x2b0532>=_0x40569d){_0x4b76f4[_0x1857b2]=_0x2632af[_0x1857b2];}if(++_0x2b0532===_0x40569d+_0x281532){break;}}return _0x4b76f4;};}function _0x1ba080(){var _0x15da39=[{'value':_0x1cd3('0xcd8')},{'value':_0x1cd3('0xcd9')},{'value':_0x1cd3('0xcda')},{'value':_0x1cd3('0xcdb')},{'value':'may'},{'value':_0x1cd3('0xcdc')},{'value':_0x1cd3('0xcdd')},{'value':_0x1cd3('0xcde')},{'value':'sep'},{'value':_0x1cd3('0xcdf')},{'value':_0x1cd3('0xce0')},{'value':_0x1cd3('0xce1')}];var _0x4d4289=[{'value':'1'},{'value':'2'},{'value':'3'},{'value':'4'},{'value':'5'},{'value':'6'},{'value':'7'},{'value':'8'},{'value':'9'},{'value':'10'},{'value':'11'},{'value':'12'}];var _0x41c235=[{'value':'mon'},{'value':'tue'},{'value':_0x1cd3('0xce2')},{'value':_0x1cd3('0xce3')},{'value':'fri'},{'value':_0x1cd3('0xce4')},{'value':'sun'}];var _0x5ee4fc=[0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xa,0xb,0xc,0xd,0xe,0xf,0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x1d,0x1e,0x1f];return{'getMonthName':function(){return _0x15da39;},'getMonthNumber':function(){return _0x4d4289;},'getDaysOfWeek':function(){return _0x41c235;},'getDaysOfMonth':function(){return _0x5ee4fc;}};}function _0xaa8eb4(_0x3b5d92){return{'Today':_0x3b5d92[_0x1cd3('0x44a')](_0x1cd3('0xce5')),'Yesterday':_0x3b5d92[_0x1cd3('0x44a')]('DASHBOARDS.YESTERDAY'),'This Week':_0x3b5d92[_0x1cd3('0x44a')](_0x1cd3('0xce6')),'Last Week':_0x3b5d92['instant']('DASHBOARDS.LAST_WEEK'),'This Month':_0x3b5d92['instant'](_0x1cd3('0xce7')),'Last Month':_0x3b5d92[_0x1cd3('0x44a')](_0x1cd3('0xce8')),'This Year':_0x3b5d92['instant'](_0x1cd3('0xce9')),'Last Year':_0x3b5d92['instant'](_0x1cd3('0xcea')),'January':_0x3b5d92[_0x1cd3('0x44a')](_0x1cd3('0xceb')),'February':_0x3b5d92[_0x1cd3('0x44a')](_0x1cd3('0xcec')),'March':_0x3b5d92['instant']('DASHBOARDS.MARCH'),'April':_0x3b5d92[_0x1cd3('0x44a')]('DASHBOARDS.APRIL'),'May':_0x3b5d92[_0x1cd3('0x44a')]('DASHBOARDS.MAY'),'June':_0x3b5d92[_0x1cd3('0x44a')](_0x1cd3('0xced')),'July':_0x3b5d92[_0x1cd3('0x44a')](_0x1cd3('0xcee')),'August':_0x3b5d92['instant'](_0x1cd3('0xcef')),'September':_0x3b5d92[_0x1cd3('0x44a')](_0x1cd3('0xcf0')),'October':_0x3b5d92[_0x1cd3('0x44a')]('DASHBOARDS.OCTOBER'),'November':_0x3b5d92[_0x1cd3('0x44a')]('DASHBOARDS.NOVEMBER'),'December':_0x3b5d92['instant'](_0x1cd3('0xcf1')),'Mon':_0x3b5d92[_0x1cd3('0x44a')](_0x1cd3('0xcf2')),'Tue':_0x3b5d92['instant'](_0x1cd3('0xcf3')),'Wed':_0x3b5d92['instant'](_0x1cd3('0xcf4')),'Thu':_0x3b5d92['instant'](_0x1cd3('0xcf5')),'Fri':_0x3b5d92[_0x1cd3('0x44a')](_0x1cd3('0xcf6')),'Sat':_0x3b5d92[_0x1cd3('0x44a')](_0x1cd3('0xcf7')),'Sun':_0x3b5d92[_0x1cd3('0x44a')](_0x1cd3('0xcf8'))};}function _0x11d55f(){return{'enqueue':function(_0x28ef9a){this['tail']=this[_0x1cd3('0xcf9')]?this['tail']['finally'](_0x28ef9a):_0x28ef9a();}};}}());(function(){'use strict';_0x4e0c97[_0x1cd3('0xc')]=[_0x1cd3('0x1e'),_0x1cd3('0xcfa'),'$locationProvider'];angular['module'](_0x1cd3('0x25'))[_0x1cd3('0xf')](_0x4e0c97);function _0x4e0c97(_0x5ac423,_0x2bf254,_0x28ab5f){_0x28ab5f[_0x1cd3('0xcfb')](!![]);_0x2bf254[_0x1cd3('0xcfc')](_0x1cd3('0xcfd'));var _0x317737;angular['injector'](['ngCookies'])[_0x1cd3('0x9ca')]([_0x1cd3('0x36f'),function(_0x2600fe){_0x317737=_0x2600fe;}]);var _0x1f198e=_0x317737['get'](_0x1cd3('0x984'))||_0x1cd3('0x972');var _0x1bc4d4={'verticalNavigation':{'main':'app/core/layouts/vertical-navigation.html','toolbar':'app/toolbar/layouts/vertical-navigation/toolbar.html','navigation':_0x1cd3('0xcfe'),'header':_0x1cd3('0xcff'),'footer':_0x1cd3('0xd00')},'verticalNavigationFullwidthToolbar':{'main':_0x1cd3('0xd01'),'toolbar':_0x1cd3('0xd02'),'navigation':_0x1cd3('0xcfe')},'verticalNavigationFullwidthToolbar2':{'main':_0x1cd3('0xd03'),'toolbar':_0x1cd3('0xd04'),'navigation':'app/navigation/layouts/vertical-navigation-fullwidth-toolbar-2/navigation.html'},'horizontalNavigation':{'main':_0x1cd3('0xd05'),'toolbar':_0x1cd3('0xd06'),'navigation':_0x1cd3('0xd07')},'contentOnly':{'main':_0x1cd3('0x12'),'toolbar':'','navigation':''},'contentWithToolbar':{'main':_0x1cd3('0xd08'),'toolbar':_0x1cd3('0xd09'),'navigation':''}};_0x5ac423[_0x1cd3('0x19')](_0x1cd3('0xd0a'),{'abstract':!![],'views':{'main@':{'templateUrl':_0x1bc4d4[_0x1f198e][_0x1cd3('0xd0b')],'controller':_0x1cd3('0x13')},'toolbar@app':{'templateUrl':_0x1bc4d4[_0x1f198e][_0x1cd3('0xd0c')],'controller':_0x1cd3('0xd0d')},'navigation@app':{'templateUrl':_0x1bc4d4[_0x1f198e][_0x1cd3('0x522')],'controller':_0x1cd3('0xd0e')},'quickPanel@app':{'templateUrl':_0x1cd3('0xd0f'),'controller':_0x1cd3('0xd10')},'header@app':{'templateUrl':_0x1bc4d4[_0x1f198e][_0x1cd3('0xd11')],'controller':'HeaderController\x20as\x20vm'},'footer@app':{'templateUrl':_0x1bc4d4[_0x1f198e][_0x1cd3('0xd12')],'controller':_0x1cd3('0xd13')}},'resolve':{'license':[_0x1cd3('0x62'),function(_0x1c29f6){return _0x1c29f6[_0x1cd3('0x58')](_0x1cd3('0xd14'));}],'setting':[_0x1cd3('0x62'),function(_0x94377){return _0x94377[_0x1cd3('0x58')](_0x1cd3('0x24c'),{'id':0x1});}]}});}}());(function(){'use strict';_0x48ec01['$inject']=[_0x1cd3('0xd15'),_0x1cd3('0x93e')];angular[_0x1cd3('0x0')](_0x1cd3('0x25'))[_0x1cd3('0x35d')](_0x48ec01);function _0x48ec01(_0x574d0e,_0x34a5ca){_0x574d0e[_0x1cd3('0x36d')]({},_0x34a5ca[_0x1cd3('0xd16')]);_0x574d0e[_0x1cd3('0x36e')]({},_0x34a5ca[_0x1cd3('0xd17')]);}}());(function(){'use strict';_0x19398e['$inject']=[_0x1cd3('0x39e'),'Auth'];angular['module'](_0x1cd3('0x25'))[_0x1cd3('0x373')](_0x1cd3('0xd18'),_0x19398e);function _0x19398e(_0x40678c,_0x441d46){var _0x505673;function _0x262703(){_0x505673=io({'query':_0x1cd3('0xd19')+_0x441d46['getCurrentUser']()['id'],'transports':[_0x1cd3('0xd1a'),_0x1cd3('0xd1b')]});}return{'connect':_0x262703,'on':function(_0x47e6cf,_0x46d08d){_0x46d08d=_0x46d08d||angular[_0x1cd3('0x3a9')];if(!_0x505673){_0x262703();}_0x505673['on'](_0x47e6cf,function(){var _0x1d5b48=arguments;_0x40678c[_0x1cd3('0x61e')](function(){_0x46d08d['apply'](_0x505673,_0x1d5b48);});});},'onWithoutApply':function(_0x10ebe4,_0x154983){_0x154983=_0x154983||angular['noop'];if(!_0x505673){_0x262703();}_0x505673['on'](_0x10ebe4,function(){_0x154983[_0x1cd3('0x4df')](_0x505673,arguments);});},'emit':function(_0x1ca9d2,_0x27a182,_0x4cfce5){_0x4cfce5=_0x4cfce5||angular['noop'];if(!_0x505673){_0x262703();}_0x505673['emit'](_0x1ca9d2,_0x27a182,function(){var _0x46acf1=arguments;_0x40678c['$apply'](function(){_0x4cfce5[_0x1cd3('0x4df')](_0x505673,_0x46acf1);});});},'removeAllListeners':function(_0x28e5a2){if(!_0x505673){_0x262703();}_0x505673[_0x1cd3('0x6a3')](_0x28e5a2);},'removeListener':function(_0x197e0a,_0x4ccb19){if(!_0x505673){_0x262703();}_0x505673['removeListener'](_0x197e0a,_0x4ccb19);},'disconnect':function(){if(!_0x505673){_0x262703();}_0x505673[_0x1cd3('0xd1c')]();}};}}());(function(){'use strict';_0xbdc7d8[_0x1cd3('0xc')]=['$state',_0x1cd3('0x371'),'$cookies',_0x1cd3('0x3e7'),_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0xc49')];angular[_0x1cd3('0x0')](_0x1cd3('0x3b'))[_0x1cd3('0x39b')]('LoginController',_0xbdc7d8);function _0xbdc7d8(_0x346dab,_0x1675fa,_0x2c23f7,_0x49a300,_0x4de133,_0x3f6975,_0x1032ab){var _0x581099=this;_0x581099[_0x1cd3('0xd1d')]=![];_0x581099['googleSsoEnabled']=![];_0x581099['login']=_0x1caa2d;_0x581099[_0x1cd3('0xd1e')]=_0x10de2b;_0x581099[_0x1cd3('0x703')]=_0xd306cf;_0x581099['onInit']();function _0xd306cf(){if(_0x346dab[_0x1cd3('0x36a')]['token']&&_0x346dab[_0x1cd3('0x36a')]['userId']){_0x3f6975[_0x1cd3('0xd1f')]();_0x581099[_0x1cd3('0xd1d')]=!![];_0x2c23f7[_0x1cd3('0x37b')](_0x1cd3('0x374'),_0x346dab['params']['token']);return _0x4de133[_0x1cd3('0x368')]['get']({'id':_0x346dab[_0x1cd3('0x36a')][_0x1cd3('0xd20')]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x5c9f91){if(_0x5c9f91){_0x3f6975['setCurrentUser'](_0x5c9f91);_0x346dab['go'](_0x1cd3('0x114'));}})['finally'](function(){_0x581099[_0x1cd3('0xd1d')]=![];});}else if(_0x3f6975[_0x1cd3('0x364')]()){_0x346dab['go'](_0x1cd3('0x114'));}_0x581099[_0x1cd3('0xd21')]=_0x1032ab['googleSsoEnabled'];}function _0x1caa2d(){_0x581099[_0x1cd3('0xd1d')]=!![];_0x581099[_0x1cd3('0x43a')]='';return _0x3f6975['login'](_0x581099[_0x1cd3('0x4c4')])[_0x1cd3('0x77')](function(){return _0x346dab['go'](_0x1cd3('0x114'));})[_0x1cd3('0xfd')](function(_0x1e725b){_0x581099[_0x1cd3('0x43a')]=_0x1e725b[_0x1cd3('0x439')]?_0x1e725b['data'][_0x1cd3('0x43a')]:_0x1e725b['message'];})[_0x1cd3('0x5dd')](function(){_0x581099[_0x1cd3('0xd1d')]=![];});}function _0x10de2b(_0x554d53){_0x581099[_0x1cd3('0x43a')]='';_0x1675fa[_0x1cd3('0xd22')][_0x1cd3('0x3ab')]=_0x3f6975[_0x1cd3('0xd23')](_0x554d53);}}}());(function(){'use strict';_0x28797a[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x53e'),_0x1cd3('0xd24'),_0x1cd3('0x3c5'),'$q','$translate',_0x1cd3('0x461'),_0x1cd3('0xd25'),_0x1cd3('0xd26'),_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0x463'),_0x1cd3('0xc49'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x34'))['controller']('CreateOrEditExtractedReportDialogController',_0x28797a);function _0x28797a(_0x4ec675,_0x4a42c0,_0x450364,_0x566863,_0x37594e,_0x459b26,_0x434566,_0x4fd7a0,_0x40c3a5,_0x3a745a,_0x24714b,_0x466b38,_0x58cb18,_0x52ff10){var _0x12b6c2=this;_0x12b6c2[_0x1cd3('0x3ca')]=_0x24714b[_0x1cd3('0x5d')]();_0x12b6c2['errors']=[];_0x12b6c2[_0x1cd3('0xc49')]=_0x58cb18;_0x12b6c2[_0x1cd3('0x463')]=_0x466b38;_0x12b6c2[_0x1cd3('0xd27')]=_0x52ff10;_0x12b6c2[_0x1cd3('0xd28')]={};_0x12b6c2[_0x1cd3('0xd29')]=_0x12b6c2[_0x1cd3('0xc49')]&&_0x12b6c2[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x12b6c2['title']=_0x1cd3('0xd2b');_0x12b6c2[_0x1cd3('0xd26')]=angular[_0x1cd3('0x429')](_0x40c3a5);_0x12b6c2['extractedReports']=_0x4fd7a0;_0x12b6c2['newExtractedReport']=![];if(!_0x12b6c2[_0x1cd3('0xd26')]){_0x12b6c2['extractedReport']={};_0x12b6c2['title']=_0x1cd3('0xd2c');_0x12b6c2[_0x1cd3('0xd2d')]=!![];}_0x12b6c2[_0x1cd3('0xd2e')]=_0x2635c6;_0x12b6c2[_0x1cd3('0xd2f')]=_0x561cf2;_0x12b6c2[_0x1cd3('0xd30')]=_0x7b6628;_0x12b6c2[_0x1cd3('0xd31')]=_0x482772;_0x12b6c2['closeDialog']=_0x49bc23;function _0x2635c6(){_0x12b6c2['errors']=[];_0x3a745a[_0x1cd3('0xb9a')]['save'](_0x12b6c2[_0x1cd3('0xd26')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x1c7005){_0x12b6c2[_0x1cd3('0xd25')][_0x1cd3('0x621')](_0x1c7005[_0x1cd3('0xd32')]());_0x434566[_0x1cd3('0x473')]({'title':'ExtractedReport\x20properly\x20created','msg':_0x12b6c2[_0x1cd3('0xd26')][_0x1cd3('0x98')]?_0x12b6c2[_0x1cd3('0xd26')]['name']+_0x1cd3('0xd33'):''});_0x49bc23(_0x1c7005);})[_0x1cd3('0xfd')](function(_0x1e7abe){if(_0x1e7abe[_0x1cd3('0x439')]&&_0x1e7abe[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x1e7abe[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x12b6c2[_0x1cd3('0xd34')]=_0x1e7abe[_0x1cd3('0x439')]['errors']||[{'message':_0x1e7abe[_0x1cd3('0x43b')](),'type':'api.analyticExtractedReport.save'}];for(var _0x275fe0=0x0;_0x275fe0<_0x1e7abe['data']['errors'][_0x1cd3('0x7a')];_0x275fe0+=0x1){_0x434566[_0x1cd3('0x434')]({'title':_0x1e7abe[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x275fe0]['type'],'msg':_0x1e7abe['data'][_0x1cd3('0xd34')][_0x275fe0][_0x1cd3('0x43a')]});}}else{_0x434566['error']({'title':_0x1e7abe['status']?_0x1cd3('0x435')+_0x1e7abe[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x1e7abe[_0x1cd3('0xd35')]:_0x1cd3('0xd36'),'msg':_0x1e7abe[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x1e7abe['data'][_0x1cd3('0x43a')]):_0x1e7abe['toString']()});}});}function _0x561cf2(){_0x12b6c2[_0x1cd3('0xd34')]=[];_0x3a745a[_0x1cd3('0xb9a')][_0x1cd3('0x378')]({'id':_0x12b6c2['extractedReport']['id']},_0x12b6c2[_0x1cd3('0xd26')])['$promise']['then'](function(_0x487f89){var _0x35449e=_[_0x1cd3('0x442')](_0x12b6c2[_0x1cd3('0xd25')],{'id':_0x487f89['id']});if(_0x35449e){_[_0x1cd3('0xf2')](_0x35449e,_['pick'](_0x487f89['toJSON'](),_[_0x1cd3('0x80')](_0x35449e)));}_0x434566[_0x1cd3('0x473')]({'title':'ExtractedReport\x20properly\x20saved!','msg':_0x12b6c2[_0x1cd3('0xd26')]['name']?_0x12b6c2[_0x1cd3('0xd26')][_0x1cd3('0x98')]+_0x1cd3('0xd37'):''});_0x49bc23(_0x487f89);})[_0x1cd3('0xfd')](function(_0x2b137b){if(_0x2b137b['data']&&_0x2b137b[_0x1cd3('0x439')]['errors']&&_0x2b137b[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x12b6c2[_0x1cd3('0xd34')]=_0x2b137b[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x2b137b[_0x1cd3('0x43b')](),'type':_0x1cd3('0xd38')}];for(var _0x5b8f60=0x0;_0x5b8f60<_0x2b137b['data'][_0x1cd3('0xd34')]['length'];_0x5b8f60++){_0x434566[_0x1cd3('0x434')]({'title':_0x2b137b['data'][_0x1cd3('0xd34')][_0x5b8f60][_0x1cd3('0x424')],'msg':_0x2b137b[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x5b8f60]['message']});}}else{_0x434566['error']({'title':_0x2b137b[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x2b137b['status']+'\x20-\x20'+_0x2b137b[_0x1cd3('0xd35')]:'api.analyticExtractedReport.update','msg':_0x2b137b[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x2b137b['data'][_0x1cd3('0x43a')]):_0x2b137b[_0x1cd3('0x43b')]()});}});}function _0x7b6628(_0x3b6db5){_0x12b6c2['errors']=[];var _0x812987=_0x566863[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xd3a'))[_0x1cd3('0xd3b')](_0x1cd3('0xd3c'))[_0x1cd3('0xd3d')](_0x1cd3('0xd3e'))['ok'](_0x1cd3('0xd3f'))[_0x1cd3('0x4d8')](_0x1cd3('0x674'))['targetEvent'](_0x3b6db5);_0x566863[_0x1cd3('0x37e')](_0x812987)[_0x1cd3('0x77')](function(){_0x3a745a[_0x1cd3('0xb9a')][_0x1cd3('0xa1c')]({'id':_0x12b6c2[_0x1cd3('0xd26')]['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x12b6c2['extractedReports'],{'id':_0x12b6c2[_0x1cd3('0xd26')]['id']});_0x434566['success']({'title':_0x1cd3('0xd40'),'msg':(_0x12b6c2['extractedReport'][_0x1cd3('0x98')]||'extractedReport')+_0x1cd3('0xd41')});_0x49bc23(_0x12b6c2[_0x1cd3('0xd26')]);})['catch'](function(_0x2ff27d){if(_0x2ff27d[_0x1cd3('0x439')]&&_0x2ff27d[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x2ff27d[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x12b6c2[_0x1cd3('0xd34')]=_0x2ff27d[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x2ff27d[_0x1cd3('0x43b')](),'type':_0x1cd3('0xd42')}];for(var _0x36006e=0x0;_0x36006e<_0x2ff27d[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x36006e++){_0x434566[_0x1cd3('0x434')]({'title':_0x2ff27d[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x36006e][_0x1cd3('0x424')],'msg':_0x2ff27d['data'][_0x1cd3('0xd34')][_0x36006e][_0x1cd3('0x43a')]});}}else{_0x434566[_0x1cd3('0x434')]({'title':_0x2ff27d[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x2ff27d[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x2ff27d[_0x1cd3('0xd35')]:_0x1cd3('0xd42'),'msg':_0x2ff27d[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x2ff27d[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x2ff27d[_0x1cd3('0x43a')]||_0x2ff27d[_0x1cd3('0x43b')]()});}});},function(){});}function _0x482772(_0x75ca26){return _0x75ca26===null?undefined:new Date(_0x75ca26);}function _0x49bc23(_0x415078){_0x566863[_0x1cd3('0x39d')](_0x415078);}}}());(function(){'use strict';_0x2f6e52['$inject']=[_0x1cd3('0x460'),_0x1cd3('0x371'),_0x1cd3('0x53e'),_0x1cd3('0x969'),'$mdDialog',_0x1cd3('0x372'),'$timeout',_0x1cd3('0x3f7'),_0x1cd3('0xd25'),'userProfile',_0x1cd3('0x390'),'api',_0x1cd3('0x2dd'),_0x1cd3('0x461'),_0x1cd3('0x56'),_0x1cd3('0x463'),'setting'];angular[_0x1cd3('0x0')]('app.analytics')[_0x1cd3('0x39b')](_0x1cd3('0xd43'),_0x2f6e52);function _0x2f6e52(_0x2c81ab,_0x151bfa,_0x38de35,_0x4809d3,_0x503d00,_0x36d74e,_0x441553,_0x18787b,_0x994230,_0xe027c3,_0x55acff,_0x4852b9,_0x4c3aff,_0x426d28,_0x42e0c0,_0x119e5b,_0x57dcda){var _0x5583e6=this;_0x5583e6[_0x1cd3('0x463')]=_0x119e5b;_0x5583e6[_0x1cd3('0xc49')]=_0x57dcda;_0x5583e6[_0x1cd3('0x3ca')]=_0x42e0c0[_0x1cd3('0x5d')]();_0x5583e6[_0x1cd3('0xd25')]=_0x994230||{'count':0x0,'rows':[]};_0x5583e6['userProfile']=_0xe027c3;_0x5583e6[_0x1cd3('0x390')]=_0x55acff&&_0x55acff[_0x1cd3('0x466')]==0x1?_0x55acff['rows'][0x0]:null;_0x5583e6['crudPermissions']=_0x42e0c0[_0x1cd3('0xd44')](_0x5583e6[_0x1cd3('0x390')]?_0x5583e6['userProfileSection'][_0x1cd3('0xd27')]:null);_0x5583e6[_0x1cd3('0xd45')]=_0x1cd3('0xd25');_0x5583e6[_0x1cd3('0xd46')]='';_0x5583e6[_0x1cd3('0xd47')]=null;_0x5583e6['selectedExtractedReports']=[];_0x5583e6[_0x1cd3('0x3d4')]={'fields':_0x1cd3('0x69'),'sort':'-updatedAt','limit':0xa,'page':0x1};_0x5583e6[_0x1cd3('0xd48')]=_0x31044b;_0x5583e6['downloadfile2']=_0x14a4cf;_0x5583e6['deleteconfirm']=_0x35d99c;_0x5583e6[_0x1cd3('0x473')]=_0x286e69;_0x5583e6[_0x1cd3('0xd49')]=_0x2ffc65;_0x5583e6[_0x1cd3('0xd4a')]=_0x50d269;_0x5583e6['deleteExtractedReport']=_0x4858a1;_0x5583e6[_0x1cd3('0xd4b')]=_0x5c9054;_0x5583e6[_0x1cd3('0xd4c')]=_0x13e397;_0x5583e6['deselectExtractedReports']=_0x4b4895;_0x5583e6['selectAllExtractedReports']=_0x15f17b;function _0x31044b(_0x2cc1fb,_0x4b32f1){_0x503d00[_0x1cd3('0x37e')]({'controller':'CreateOrEditExtractedReportDialogController','controllerAs':'vm','templateUrl':_0x1cd3('0xd4d'),'parent':angular[_0x1cd3('0x37f')](_0x36d74e['body']),'targetEvent':_0x4b32f1,'clickOutsideToClose':!![],'locals':{'extractedReport':_0x2cc1fb,'extractedReports':_0x5583e6[_0x1cd3('0xd25')][_0x1cd3('0xf6')],'license':_0x5583e6[_0x1cd3('0x463')],'setting':null,'crudPermissions':_0x5583e6['crudPermissions']}});}function _0x14a4cf(_0x2fcc54,_0x258e11){return _0x4852b9['analyticExtractedReport'][_0x1cd3('0x489')]({'id':_0x2fcc54['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x17defa){var _0x42628f=[_0x17defa[_0x1cd3('0x6ef')]];var _0x3d7864=_0x1cd3('0x489');var _0x47f776=new Blob(_0x42628f,{'type':_0x17defa[_0x1cd3('0x424')]});_0x3d7864=_0x2fcc54['savename'];var _0x1f736b=window[_0x1cd3('0x924')][_0x1cd3('0x3aa')]('a');_0x1f736b[_0x1cd3('0x481')](_0x1cd3('0x3ab'),URL[_0x1cd3('0x48a')](_0x47f776));_0x1f736b[_0x1cd3('0x481')](_0x1cd3('0x489'),_0x3d7864);document[_0x1cd3('0x380')][_0x1cd3('0xd4e')](_0x1f736b);_0x1f736b['click']();})[_0x1cd3('0xfd')](function(_0x4f2635){if(_0x4f2635[_0x1cd3('0x439')]&&_0x4f2635[_0x1cd3('0x439')]['errors']&&_0x4f2635[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){for(var _0x572d68=0x0;_0x572d68<_0x4f2635[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x572d68++){_0x426d28[_0x1cd3('0x434')]({'title':_0x4f2635[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x572d68][_0x1cd3('0x424')],'msg':_0x4f2635[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x572d68]['message']});}}else{_0x426d28[_0x1cd3('0x434')]({'title':_0x4f2635['status']?_0x1cd3('0x435')+_0x4f2635['status']+_0x1cd3('0x436')+_0x4f2635[_0x1cd3('0xd35')]:_0x1cd3('0xd36'),'msg':_0x4f2635['data']?JSON[_0x1cd3('0x438')](_0x4f2635[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x4f2635['toString']()});}});}function _0x35d99c(_0x1d3df2,_0x2d635a){var _0x4f173a=_0x503d00[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xd4f')+_[_0x1cd3('0xd50')]('extractedReport')+'?')['htmlContent'](_0x1cd3('0xd51')+(_0x1d3df2[_0x1cd3('0x98')]||_0x1cd3('0xd26'))+_0x1cd3('0xd52')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0xd54'))['targetEvent'](_0x2d635a)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x503d00['show'](_0x4f173a)[_0x1cd3('0x77')](function(){_0x4858a1(_0x1d3df2);},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}var _0x6ecdf0=!![];var _0x11c5e8=0x1;_0x2c81ab['$watch'](_0x1cd3('0xd56'),function(_0x779262,_0x3626a1){if(_0x6ecdf0){_0x441553(function(){_0x6ecdf0=![];});}else{if(!_0x3626a1){_0x11c5e8=_0x5583e6[_0x1cd3('0x3d4')]['page'];}if(_0x779262!==_0x3626a1){_0x5583e6[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}if(!_0x779262){_0x5583e6[_0x1cd3('0x3d4')]['page']=_0x11c5e8;}_0x5583e6[_0x1cd3('0xd49')]();}});function _0x286e69(_0x3c1319){_0x5583e6[_0x1cd3('0xd25')]=_0x3c1319||{'count':0x0,'rows':[]};}function _0x2ffc65(){_0x5583e6[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0x5583e6[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0x5583e6[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];if(_0x42e0c0['hasRole'](_0x1cd3('0x5f'))){_0x5583e6[_0x1cd3('0x539')]=_0x4852b9['analyticExtractedReport'][_0x1cd3('0x361')](_0x5583e6[_0x1cd3('0x3d4')],_0x286e69)[_0x1cd3('0x81')];}else{_0x5583e6[_0x1cd3('0x3d4')]['id']=_0x5583e6[_0x1cd3('0x38a')]['id'];_0x5583e6[_0x1cd3('0x3d4')][_0x1cd3('0xd58')]='ExtractedReports';_0x5583e6['promise']=_0x4852b9[_0x1cd3('0x38a')][_0x1cd3('0xd59')](_0x5583e6[_0x1cd3('0x3d4')],_0x286e69)[_0x1cd3('0x81')];}}function _0x50d269(_0x5eb567,_0x3f0e53){_0x503d00['show']({'controller':_0x1cd3('0xd5a'),'controllerAs':'vm','templateUrl':_0x1cd3('0xd4d'),'parent':angular[_0x1cd3('0x37f')](_0x36d74e[_0x1cd3('0x380')]),'targetEvent':_0x5eb567,'clickOutsideToClose':!![],'locals':{'extractedReport':_0x3f0e53,'extractedReports':_0x5583e6[_0x1cd3('0xd25')][_0x1cd3('0xf6')],'license':_0x5583e6[_0x1cd3('0x463')],'setting':_0x5583e6['setting'],'crudPermissions':_0x5583e6[_0x1cd3('0xd27')]}});}function _0x4858a1(_0x2fd942){_0x4852b9[_0x1cd3('0xb9a')][_0x1cd3('0xa1c')]({'id':_0x2fd942['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_['remove'](_0x5583e6[_0x1cd3('0xd25')][_0x1cd3('0xf6')],{'id':_0x2fd942['id']});_0x5583e6[_0x1cd3('0xd25')]['count']-=0x1;if(!_0x5583e6['extractedReports'][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){_0x5583e6[_0x1cd3('0xd49')]();}_0x426d28[_0x1cd3('0x473')]({'title':_[_0x1cd3('0xd50')](_0x1cd3('0xd5b'))+_0x1cd3('0xd5c'),'msg':_0x2fd942[_0x1cd3('0x98')]?_0x2fd942[_0x1cd3('0x98')]+_0x1cd3('0xd41'):''});})[_0x1cd3('0xfd')](function(_0x429bb2){if(_0x429bb2[_0x1cd3('0x439')]&&_0x429bb2[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x429bb2['data'][_0x1cd3('0xd34')]['length']){_0x5583e6['errors']=_0x429bb2[_0x1cd3('0x439')]['errors']||[{'message':_0x429bb2[_0x1cd3('0x43b')](),'type':_0x1cd3('0xd5d')}];for(var _0x39cfe5=0x0;_0x39cfe5<_0x429bb2[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x39cfe5++){_0x426d28[_0x1cd3('0x434')]({'title':_0x429bb2[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x39cfe5]['type'],'msg':_0x429bb2[_0x1cd3('0x439')]['errors'][_0x39cfe5][_0x1cd3('0x43a')]});}}else{_0x426d28[_0x1cd3('0x434')]({'title':_0x429bb2['status']?_0x1cd3('0x435')+_0x429bb2['status']+_0x1cd3('0x436')+_0x429bb2[_0x1cd3('0xd35')]:_0x1cd3('0xd5d'),'msg':_0x429bb2[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x429bb2[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x429bb2[_0x1cd3('0x43a')]||_0x429bb2[_0x1cd3('0x43b')]()});}});}function _0x5c9054(){var _0x99a017=angular[_0x1cd3('0x429')](_0x5583e6[_0x1cd3('0xd5e')]);_0x5583e6[_0x1cd3('0xd5e')]=[];return _0x99a017;}function _0x13e397(_0x439042){var _0x265007=_0x503d00['confirm']()[_0x1cd3('0x486')](_0x1cd3('0xd5f'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x5583e6[_0x1cd3('0xd5e')][_0x1cd3('0x7a')]+_0x1cd3('0xd61')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0xd62'))[_0x1cd3('0xd63')](_0x439042)['ok']('OK')[_0x1cd3('0x4d8')]('CANCEL');_0x503d00[_0x1cd3('0x37e')](_0x265007)['then'](function(){_0x5583e6[_0x1cd3('0xd5e')][_0x1cd3('0x394')](function(_0x3dbce6){_0x4858a1(_0x3dbce6);});_0x5583e6[_0x1cd3('0xd5e')]=[];});}function _0x4b4895(){_0x5583e6[_0x1cd3('0xd5e')]=[];}function _0x15f17b(){_0x5583e6['selectedExtractedReports']=_0x5583e6['extractedReports']['rows'];}}}());(function(){'use strict';_0x83a1d5[_0x1cd3('0xc')]=['$scope',_0x1cd3('0x53e'),'$location','$mdDialog','$q',_0x1cd3('0x3f7'),_0x1cd3('0x461'),_0x1cd3('0xd64'),'metric','api',_0x1cd3('0x56'),_0x1cd3('0x463'),_0x1cd3('0xc49'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x34'))[_0x1cd3('0x39b')]('CreateOrEditMetricDialogController',_0x83a1d5);function _0x83a1d5(_0x32a57b,_0x2b83fc,_0x3c2792,_0x59eff6,_0x323629,_0x106c72,_0x11fe50,_0x4009f9,_0x40872c,_0x58b6f8,_0x53b332,_0x209687,_0x2aa3b0,_0x357809){var _0x559b4b=this;_0x559b4b['currentUser']=_0x53b332[_0x1cd3('0x5d')]();_0x559b4b[_0x1cd3('0xd34')]=[];_0x559b4b[_0x1cd3('0xc49')]=_0x2aa3b0;_0x559b4b[_0x1cd3('0x463')]=_0x209687;_0x559b4b[_0x1cd3('0xd27')]=_0x357809;_0x559b4b['hasModulePermissions']={};_0x559b4b[_0x1cd3('0xd29')]=_0x559b4b['setting']&&_0x559b4b['setting'][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x559b4b[_0x1cd3('0x486')]=_0x1cd3('0xd65');_0x559b4b[_0x1cd3('0xd66')]=angular[_0x1cd3('0x429')](_0x40872c);_0x559b4b['metrics']=_0x4009f9;_0x559b4b[_0x1cd3('0xd67')]=![];if(!_0x559b4b[_0x1cd3('0xd66')]){_0x559b4b[_0x1cd3('0xd66')]={'table':_0x1cd3('0xd68')};_0x559b4b[_0x1cd3('0x486')]=_0x1cd3('0xd69');_0x559b4b['newMetric']=!![];}_0x559b4b[_0x1cd3('0xd6a')]=_0x1233a4;_0x559b4b['saveMetric']=_0x5bebfd;_0x559b4b[_0x1cd3('0xd6b')]=_0x16cf8b;_0x559b4b[_0x1cd3('0xd31')]=_0x58f604;_0x559b4b[_0x1cd3('0x39c')]=_0x46ef43;function _0x1233a4(){_0x559b4b[_0x1cd3('0xd34')]=[];_0x58b6f8[_0x1cd3('0xd6c')][_0x1cd3('0xd6d')](_0x559b4b[_0x1cd3('0xd66')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x12b073){_0x559b4b[_0x1cd3('0xd64')][_0x1cd3('0x621')](_0x12b073[_0x1cd3('0xd32')]());_0x11fe50[_0x1cd3('0x473')]({'title':_0x1cd3('0xd6e'),'msg':_0x559b4b[_0x1cd3('0xd66')][_0x1cd3('0x98')]?_0x559b4b['metric'][_0x1cd3('0x98')]+_0x1cd3('0xd33'):''});_0x46ef43(_0x12b073);})[_0x1cd3('0xfd')](function(_0x3bed52){if(_0x3bed52['data']&&_0x3bed52[_0x1cd3('0x439')]['errors']&&_0x3bed52[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x559b4b[_0x1cd3('0xd34')]=_0x3bed52[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x3bed52['toString'](),'type':_0x1cd3('0xd6f')}];for(var _0x4f1dfc=0x0;_0x4f1dfc<_0x3bed52[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x4f1dfc+=0x1){_0x11fe50[_0x1cd3('0x434')]({'title':_0x3bed52['data'][_0x1cd3('0xd34')][_0x4f1dfc][_0x1cd3('0x424')],'msg':_0x3bed52['data'][_0x1cd3('0xd34')][_0x4f1dfc][_0x1cd3('0x43a')]});}}else{_0x11fe50[_0x1cd3('0x434')]({'title':_0x3bed52['status']?_0x1cd3('0x435')+_0x3bed52[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x3bed52[_0x1cd3('0xd35')]:_0x1cd3('0xd6f'),'msg':_0x3bed52['data']?JSON['stringify'](_0x3bed52[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x3bed52['toString']()});}});}function _0x5bebfd(){_0x559b4b['errors']=[];_0x58b6f8[_0x1cd3('0xd6c')]['update']({'id':_0x559b4b[_0x1cd3('0xd66')]['id']},_0x559b4b['metric'])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x3a50d){var _0x2910c2=_[_0x1cd3('0x442')](_0x559b4b['metrics'],{'id':_0x3a50d['id']});if(_0x2910c2){_[_0x1cd3('0xf2')](_0x2910c2,_[_0x1cd3('0x5e8')](_0x3a50d['toJSON'](),_[_0x1cd3('0x80')](_0x2910c2)));}_0x11fe50[_0x1cd3('0x473')]({'title':_0x1cd3('0xd70'),'msg':_0x559b4b[_0x1cd3('0xd66')][_0x1cd3('0x98')]?_0x559b4b[_0x1cd3('0xd66')][_0x1cd3('0x98')]+_0x1cd3('0xd37'):''});_0x46ef43(_0x3a50d);})[_0x1cd3('0xfd')](function(_0x4457d8){if(_0x4457d8['data']&&_0x4457d8[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x4457d8['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x559b4b[_0x1cd3('0xd34')]=_0x4457d8[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x4457d8[_0x1cd3('0x43b')](),'type':_0x1cd3('0xd71')}];for(var _0x12d5c0=0x0;_0x12d5c0<_0x4457d8[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x12d5c0++){_0x11fe50[_0x1cd3('0x434')]({'title':_0x4457d8[_0x1cd3('0x439')]['errors'][_0x12d5c0][_0x1cd3('0x424')],'msg':_0x4457d8[_0x1cd3('0x439')]['errors'][_0x12d5c0][_0x1cd3('0x43a')]});}}else{_0x11fe50[_0x1cd3('0x434')]({'title':_0x4457d8[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x4457d8[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x4457d8['statusText']:'api.analyticMetric.update','msg':_0x4457d8['data']?JSON[_0x1cd3('0x438')](_0x4457d8[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x4457d8['toString']()});}});}function _0x16cf8b(_0x3fe7e5){_0x559b4b[_0x1cd3('0xd34')]=[];var _0x3dd056=_0x59eff6[_0x1cd3('0xd39')]()['title'](_0x1cd3('0xd3a'))[_0x1cd3('0xd3b')](_0x1cd3('0xd72'))[_0x1cd3('0xd3d')](_0x1cd3('0xd73'))['ok'](_0x1cd3('0xd3f'))[_0x1cd3('0x4d8')](_0x1cd3('0x674'))[_0x1cd3('0xd63')](_0x3fe7e5);_0x59eff6['show'](_0x3dd056)[_0x1cd3('0x77')](function(){_0x58b6f8[_0x1cd3('0xd6c')]['delete']({'id':_0x559b4b[_0x1cd3('0xd66')]['id']})['$promise'][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x559b4b[_0x1cd3('0xd64')],{'id':_0x559b4b[_0x1cd3('0xd66')]['id']});_0x11fe50[_0x1cd3('0x473')]({'title':_0x1cd3('0xd74'),'msg':(_0x559b4b['metric'][_0x1cd3('0x98')]||_0x1cd3('0xd66'))+_0x1cd3('0xd41')});_0x46ef43(_0x559b4b[_0x1cd3('0xd66')]);})[_0x1cd3('0xfd')](function(_0x43954b){if(_0x43954b[_0x1cd3('0x439')]&&_0x43954b[_0x1cd3('0x439')]['errors']&&_0x43954b[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')]){_0x559b4b[_0x1cd3('0xd34')]=_0x43954b[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x43954b[_0x1cd3('0x43b')](),'type':_0x1cd3('0xd75')}];for(var _0x3f546c=0x0;_0x3f546c<_0x43954b[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length'];_0x3f546c++){_0x11fe50[_0x1cd3('0x434')]({'title':_0x43954b[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x3f546c]['type'],'msg':_0x43954b[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x3f546c][_0x1cd3('0x43a')]});}}else{_0x11fe50[_0x1cd3('0x434')]({'title':_0x43954b[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x43954b[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x43954b[_0x1cd3('0xd35')]:_0x1cd3('0xd75'),'msg':_0x43954b['data']?JSON[_0x1cd3('0x438')](_0x43954b[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x43954b['message']||_0x43954b[_0x1cd3('0x43b')]()});}});},function(){});}function _0x58f604(_0x2e6f1){return _0x2e6f1===null?undefined:new Date(_0x2e6f1);}function _0x46ef43(_0xfe37f2){_0x59eff6[_0x1cd3('0x39d')](_0xfe37f2);}}}());(function(){'use strict';_0x5602d4[_0x1cd3('0xc')]=['$scope',_0x1cd3('0x371'),_0x1cd3('0x53e'),_0x1cd3('0x969'),_0x1cd3('0x3c5'),_0x1cd3('0x372'),_0x1cd3('0x3e7'),'$translate',_0x1cd3('0xd64'),'userProfile',_0x1cd3('0x390'),_0x1cd3('0x370'),_0x1cd3('0x2dd'),_0x1cd3('0x461'),_0x1cd3('0x56'),_0x1cd3('0x463'),_0x1cd3('0xc49')];angular[_0x1cd3('0x0')](_0x1cd3('0x34'))['controller']('MetricsController',_0x5602d4);function _0x5602d4(_0x89e960,_0x341e9c,_0x1f5c5c,_0xaf0c85,_0xcf5ffc,_0x1e04ef,_0x29cc47,_0x49c0b7,_0x24cf2e,_0x26e3b9,_0x2a6c0a,_0x390e12,_0x41b334,_0x3d60a3,_0x3d8956,_0xe1c81b,_0x28f463){var _0x49a3e3=this;_0x49a3e3[_0x1cd3('0x463')]=_0xe1c81b;_0x49a3e3[_0x1cd3('0xc49')]=_0x28f463;_0x49a3e3[_0x1cd3('0x3ca')]=_0x3d8956[_0x1cd3('0x5d')]();_0x49a3e3[_0x1cd3('0xd64')]=_0x24cf2e||{'count':0x0,'rows':[]};_0x49a3e3[_0x1cd3('0x38a')]=_0x26e3b9;_0x49a3e3[_0x1cd3('0x390')]=_0x2a6c0a&&_0x2a6c0a[_0x1cd3('0x466')]==0x1?_0x2a6c0a[_0x1cd3('0xf6')][0x0]:null;_0x49a3e3[_0x1cd3('0xd27')]=_0x3d8956[_0x1cd3('0xd44')](_0x49a3e3['userProfileSection']?_0x49a3e3[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);_0x49a3e3['table']=_0x1cd3('0xd64');_0x49a3e3[_0x1cd3('0xd46')]='';_0x49a3e3[_0x1cd3('0xd47')]=null;_0x49a3e3[_0x1cd3('0xd76')]=[];_0x49a3e3[_0x1cd3('0x3d4')]={'fields':_0x1cd3('0x5a'),'sort':_0x1cd3('0x5b'),'limit':0xa,'page':0x1};_0x49a3e3['arraytable']=_['keyBy']([{'option':_0x1cd3('0xd77'),'value':_0x1cd3('0xd78')},{'option':_0x1cd3('0xd79'),'value':_0x1cd3('0xd7a')},{'option':'CDR','value':_0x1cd3('0xd7b')},{'option':_0x1cd3('0xd7c'),'value':_0x1cd3('0xd7d')},{'option':_0x1cd3('0xd7e'),'value':_0x1cd3('0xd7f')},{'option':_0x1cd3('0xd80'),'value':_0x1cd3('0xd81')},{'option':_0x1cd3('0xd82'),'value':'\x27chat_offline_messages\x27'},{'option':_0x1cd3('0xd83'),'value':_0x1cd3('0xd84')},{'option':_0x1cd3('0xd85'),'value':_0x1cd3('0xd86')},{'option':_0x1cd3('0xd87'),'value':_0x1cd3('0xd88')},{'option':_0x1cd3('0xe3'),'value':_0x1cd3('0xd89')},{'option':_0x1cd3('0xf3'),'value':_0x1cd3('0xd8a')},{'option':_0x1cd3('0xd8b'),'value':_0x1cd3('0xd8c')},{'option':'CSquare\x20Details\x20Report','value':_0x1cd3('0xd8d')},{'option':_0x1cd3('0xd8e'),'value':_0x1cd3('0xd8f')},{'option':_0x1cd3('0xd90'),'value':'\x27cm_hopper\x27'},{'option':_0x1cd3('0xd91'),'value':_0x1cd3('0xd92')},{'option':_0x1cd3('0xd93'),'value':_0x1cd3('0xd94')},{'option':_0x1cd3('0xd95'),'value':'\x27mail_accounts\x27'},{'option':_0x1cd3('0xd96'),'value':'\x27mail_interactions\x27'},{'option':_0x1cd3('0xd97'),'value':_0x1cd3('0xd98')},{'option':_0x1cd3('0xd99'),'value':_0x1cd3('0xd9a')},{'option':_0x1cd3('0xd9b'),'value':_0x1cd3('0xd9c')},{'option':_0x1cd3('0xd9d'),'value':_0x1cd3('0xd9e')},{'option':'Fax\x20Account','value':'\x27fax_accounts\x27'},{'option':_0x1cd3('0xd9f'),'value':_0x1cd3('0xda0')},{'option':_0x1cd3('0xda1'),'value':_0x1cd3('0xda2')},{'option':'Fax\x20Queues','value':'\x27fax_queues\x27'},{'option':_0x1cd3('0xda3'),'value':_0x1cd3('0xda4')},{'option':_0x1cd3('0xda5'),'value':'\x27report_fax_transfer\x27'},{'option':'Jscripty\x20Sessions','value':'\x27report_jscripty_sessions\x27'},{'option':'Jscripty\x20Questions','value':_0x1cd3('0xda6')},{'option':_0x1cd3('0xda7'),'value':_0x1cd3('0xda8')},{'option':_0x1cd3('0xf4'),'value':_0x1cd3('0xda9')},{'option':'Member\x20Report','value':_0x1cd3('0xdaa')},{'option':'Openchannel\x20Account','value':'\x27openchannel_accounts\x27'},{'option':_0x1cd3('0xdab'),'value':_0x1cd3('0xdac')},{'option':_0x1cd3('0xdad'),'value':_0x1cd3('0xdae')},{'option':_0x1cd3('0xdaf'),'value':_0x1cd3('0xdb0')},{'option':_0x1cd3('0xdb1'),'value':_0x1cd3('0xdb2')},{'option':_0x1cd3('0xdb3'),'value':_0x1cd3('0xdb4')},{'option':_0x1cd3('0xdb5'),'value':_0x1cd3('0xdb6')},{'option':'SMS\x20Account','value':_0x1cd3('0xdb7')},{'option':_0x1cd3('0xdb8'),'value':_0x1cd3('0xdb9')},{'option':_0x1cd3('0xdba'),'value':_0x1cd3('0xdbb')},{'option':_0x1cd3('0xdbc'),'value':_0x1cd3('0xdbd')},{'option':_0x1cd3('0xdbe'),'value':_0x1cd3('0xdbf')},{'option':_0x1cd3('0xdc0'),'value':'\x27report_sms_transfer\x27'},{'option':_0x1cd3('0xa0'),'value':_0x1cd3('0xdc1')},{'option':_0x1cd3('0xdc2'),'value':'\x27voice_recordings\x27'},{'option':_0x1cd3('0xdc3'),'value':_0x1cd3('0xdc4')},{'option':_0x1cd3('0xdc5'),'value':_0x1cd3('0xdc6')},{'option':'Whatsapp\x20Messages','value':'\x27whatsapp_messages\x27'},{'option':_0x1cd3('0xdc7'),'value':_0x1cd3('0xdc8')},{'option':_0x1cd3('0xdc9'),'value':_0x1cd3('0xdca')},{'option':_0x1cd3('0xdcb'),'value':_0x1cd3('0xdcc')}],function(_0x1d37f5){return _[_0x1cd3('0x3f1')](_0x1d37f5[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x49a3e3[_0x1cd3('0xd48')]=_0x599088;_0x49a3e3['deleteconfirm']=_0x2de742;_0x49a3e3['success']=_0x4f684a;_0x49a3e3['getMetrics']=_0x4fc23f;_0x49a3e3[_0x1cd3('0xdcd')]=_0x1b4f9f;_0x49a3e3[_0x1cd3('0xd6b')]=_0x1c86df;_0x49a3e3[_0x1cd3('0xdce')]=_0x13bfe7;_0x49a3e3[_0x1cd3('0xdcf')]=_0x337ef3;_0x49a3e3[_0x1cd3('0xdd0')]=_0x1788a1;_0x49a3e3[_0x1cd3('0xdd1')]=_0x264ad6;function _0x599088(_0x583465,_0x1de0b0){_0xcf5ffc[_0x1cd3('0x37e')]({'controller':_0x1cd3('0xdd2'),'controllerAs':'vm','templateUrl':_0x1cd3('0xdd3'),'parent':angular[_0x1cd3('0x37f')](_0x1e04ef[_0x1cd3('0x380')]),'targetEvent':_0x1de0b0,'clickOutsideToClose':!![],'locals':{'metric':_0x583465,'metrics':_0x49a3e3[_0x1cd3('0xd64')]['rows'],'license':_0x49a3e3['license'],'setting':null,'crudPermissions':_0x49a3e3[_0x1cd3('0xd27')]}});}function _0x2de742(_0x3a2c69,_0x56ba0e){var _0x318f26=_0xcf5ffc['confirm']()[_0x1cd3('0x486')](_0x1cd3('0xd4f')+_[_0x1cd3('0xd50')](_0x1cd3('0xd66'))+'?')[_0x1cd3('0xd60')](_0x1cd3('0xd51')+(_0x3a2c69[_0x1cd3('0x98')]||_0x1cd3('0xd66'))+_0x1cd3('0xd52')+'\x20will\x20be\x20deleted.')[_0x1cd3('0xd3d')](_0x1cd3('0xdd4'))[_0x1cd3('0xd63')](_0x56ba0e)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0xcf5ffc[_0x1cd3('0x37e')](_0x318f26)[_0x1cd3('0x77')](function(){_0x1c86df(_0x3a2c69);},function(){console[_0x1cd3('0x7d')]('CANCEL');});}var _0x5332b2=!![];var _0x4727ce=0x1;_0x89e960['$watch'](_0x1cd3('0xd56'),function(_0xd5b186,_0x5d04f1){if(_0x5332b2){_0x29cc47(function(){_0x5332b2=![];});}else{if(!_0x5d04f1){_0x4727ce=_0x49a3e3[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0xd5b186!==_0x5d04f1){_0x49a3e3[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}if(!_0xd5b186){_0x49a3e3['query'][_0x1cd3('0x8fd')]=_0x4727ce;}_0x49a3e3[_0x1cd3('0xdd5')]();}});function _0x4f684a(_0x2b5e89){_0x49a3e3['metrics']=_0x2b5e89||{'count':0x0,'rows':[]};}function _0x4fc23f(){_0x49a3e3['query'][_0x1cd3('0xd57')]=(_0x49a3e3[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0x49a3e3[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];if(_0x3d8956['hasRole'](_0x1cd3('0x5f'))){_0x49a3e3[_0x1cd3('0x539')]=_0x390e12['analyticMetric'][_0x1cd3('0x361')](_0x49a3e3[_0x1cd3('0x3d4')],_0x4f684a)['$promise'];}else{_0x49a3e3[_0x1cd3('0x3d4')]['id']=_0x49a3e3[_0x1cd3('0x38a')]['id'];_0x49a3e3[_0x1cd3('0x3d4')][_0x1cd3('0xd58')]=_0x1cd3('0xdd6');_0x49a3e3['promise']=_0x390e12[_0x1cd3('0x38a')][_0x1cd3('0xd59')](_0x49a3e3[_0x1cd3('0x3d4')],_0x4f684a)['$promise'];}}function _0x1b4f9f(_0x538c90,_0x14e266){_0xcf5ffc[_0x1cd3('0x37e')]({'controller':'CreateOrEditMetricDialogController','controllerAs':'vm','templateUrl':_0x1cd3('0xdd3'),'parent':angular[_0x1cd3('0x37f')](_0x1e04ef[_0x1cd3('0x380')]),'targetEvent':_0x538c90,'clickOutsideToClose':!![],'locals':{'metric':_0x14e266,'metrics':_0x49a3e3['metrics'][_0x1cd3('0xf6')],'license':_0x49a3e3[_0x1cd3('0x463')],'setting':_0x49a3e3['setting'],'crudPermissions':_0x49a3e3[_0x1cd3('0xd27')]}});}function _0x1c86df(_0x37921f){_0x390e12[_0x1cd3('0xd6c')][_0x1cd3('0xa1c')]({'id':_0x37921f['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x49a3e3[_0x1cd3('0xd64')][_0x1cd3('0xf6')],{'id':_0x37921f['id']});_0x49a3e3[_0x1cd3('0xd64')][_0x1cd3('0x466')]-=0x1;if(!_0x49a3e3[_0x1cd3('0xd64')][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){_0x49a3e3[_0x1cd3('0xdd5')]();}_0x3d60a3['success']({'title':_[_0x1cd3('0xd50')]('Metric')+_0x1cd3('0xd5c'),'msg':_0x37921f[_0x1cd3('0x98')]?_0x37921f['name']+_0x1cd3('0xd41'):''});})['catch'](function(_0x447c58){if(_0x447c58[_0x1cd3('0x439')]&&_0x447c58['data'][_0x1cd3('0xd34')]&&_0x447c58[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x49a3e3[_0x1cd3('0xd34')]=_0x447c58[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x447c58['toString'](),'type':_0x1cd3('0xdd7')}];for(var _0x3c5455=0x0;_0x3c5455<_0x447c58[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x3c5455++){_0x3d60a3[_0x1cd3('0x434')]({'title':_0x447c58[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x3c5455][_0x1cd3('0x424')],'msg':_0x447c58['data'][_0x1cd3('0xd34')][_0x3c5455][_0x1cd3('0x43a')]});}}else{_0x3d60a3['error']({'title':_0x447c58[_0x1cd3('0x3a6')]?'API:'+_0x447c58[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x447c58[_0x1cd3('0xd35')]:_0x1cd3('0xdd7'),'msg':_0x447c58[_0x1cd3('0x439')]?JSON['stringify'](_0x447c58[_0x1cd3('0x439')]['message']):_0x447c58[_0x1cd3('0x43a')]||_0x447c58[_0x1cd3('0x43b')]()});}});}function _0x13bfe7(){var _0x11df43=angular[_0x1cd3('0x429')](_0x49a3e3[_0x1cd3('0xd76')]);_0x49a3e3[_0x1cd3('0xd76')]=[];return _0x11df43;}function _0x337ef3(_0x25defa){var _0x39ce42=_0xcf5ffc[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xdd8'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x49a3e3[_0x1cd3('0xd76')][_0x1cd3('0x7a')]+'\x20selected</b>'+'\x20will\x20be\x20deleted.')[_0x1cd3('0xd3d')](_0x1cd3('0xdd9'))[_0x1cd3('0xd63')](_0x25defa)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0xcf5ffc['show'](_0x39ce42)[_0x1cd3('0x77')](function(){_0x49a3e3[_0x1cd3('0xd76')][_0x1cd3('0x394')](function(_0xac0a75){_0x1c86df(_0xac0a75);});_0x49a3e3[_0x1cd3('0xd76')]=[];});}function _0x1788a1(){_0x49a3e3['selectedMetrics']=[];}function _0x264ad6(){_0x49a3e3[_0x1cd3('0xd76')]=_0x49a3e3[_0x1cd3('0xd64')][_0x1cd3('0xf6')];}}}());(function(){'use strict';_0x41584a[_0x1cd3('0xc')]=[_0x1cd3('0xd24'),_0x1cd3('0x3c5'),_0x1cd3('0x461'),_0x1cd3('0xdda'),_0x1cd3('0x370'),'apiName',_0x1cd3('0xddb')];angular[_0x1cd3('0x0')]('app.analytics')[_0x1cd3('0x39b')](_0x1cd3('0xddc'),_0x41584a);function _0x41584a(_0x45552f,_0x20ceda,_0x100ec3,_0x1d5782,_0x43e432,_0x13f592,_0x2d0d48){var _0x596ac9=this;_0x596ac9[_0x1cd3('0xd34')]=[];_0x596ac9['report']=angular[_0x1cd3('0x429')](_0x1d5782);_0x596ac9[_0x1cd3('0xdda')][_0x1cd3('0x98')]+=_0x1cd3('0xddd');_0x596ac9[_0x1cd3('0xddb')]=_0x2d0d48;_0x596ac9[_0x1cd3('0xdde')]={'core':{'multiple':![],'animation':!![],'error':function(_0x4bd2b0){console[_0x1cd3('0x434')](_0x1cd3('0xddf')+angular['toJson'](_0x4bd2b0));},'check_callback':!![],'worker':!![]},'version':0x1,'plugins':['wholerow']};_0x596ac9['treeCustomEvents']={'select_node':_0x35a5d4};_0x596ac9[_0x1cd3('0xde0')]=_0x2bbdfb;_0x596ac9[_0x1cd3('0x39c')]=_0x587e01;function _0x2bbdfb(){_0x596ac9[_0x1cd3('0xd34')]=[];var _0x1f4294;_0x43e432['analyticCustomReport']['save']({'name':_0x596ac9['report'][_0x1cd3('0x98')],'description':_0x596ac9[_0x1cd3('0xdda')][_0x1cd3('0xde1')],'table':_0x596ac9[_0x1cd3('0xdda')][_0x1cd3('0xd45')],'conditions':_0x596ac9[_0x1cd3('0xdda')]['conditions'],'joins':_0x596ac9['report']['joins'],'parent':_0x596ac9['currentNode']['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x29954d){_0x1f4294=_0x29954d;_0x100ec3['success']({'title':_0x1cd3('0xde2'),'msg':_0x596ac9['report'][_0x1cd3('0x98')]?_0x596ac9[_0x1cd3('0xdda')][_0x1cd3('0x98')]+_0x1cd3('0xde3'):''});var _0x3c623d={'fields':_0x1cd3('0xde4'),'nolimit':!![]};_0x3c623d[_0x13f592===_0x1cd3('0x8f9')?'CustomReportId':_0x1cd3('0xde5')]=_0x596ac9[_0x1cd3('0xdda')]['id'];return _0x43e432[_0x1cd3('0x8f4')][_0x1cd3('0x361')](_0x3c623d)['$promise'];})[_0x1cd3('0x77')](function(_0x18525a){var _0x18525a=_['map'](_0x18525a['rows'],function(_0x5dbd5f){return _[_0x1cd3('0x4d2')]({},_0x5dbd5f,{'CustomReportId':_0x1f4294['id']});});return _0x43e432[_0x1cd3('0x8f4')][_0x1cd3('0xde6')](_0x18525a)[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(){_0x100ec3[_0x1cd3('0x473')]({'title':_0x1cd3('0xde7'),'msg':'Fields\x20has\x20been\x20copied!'});_0x587e01();})[_0x1cd3('0xfd')](function(_0x594750){_0x100ec3[_0x1cd3('0x434')]({'title':_0x594750['status']?'API:'+_0x594750['status']+_0x1cd3('0x436')+_0x594750[_0x1cd3('0xd35')]:'SYSTEM:COPYREPORT','msg':_0x594750[_0x1cd3('0x439')]?JSON['stringify'](_0x594750[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x594750['toString']()});});}function _0x35a5d4(_0x1d462c,_0x3345f2){_0x596ac9[_0x1cd3('0xde8')]=_0x3345f2[_0x1cd3('0x56e')];}function _0x587e01(){_0x20ceda['hide']();}}}());(function(){'use strict';_0x3371ba['$inject']=[_0x1cd3('0xd24'),_0x1cd3('0x3c5'),_0x1cd3('0x461'),'reports',_0x1cd3('0xdda'),_0x1cd3('0x370'),_0x1cd3('0xde9'),'currentNode',_0x1cd3('0xdea'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x34'))[_0x1cd3('0x39b')](_0x1cd3('0xdeb'),_0x3371ba);function _0x3371ba(_0x11e031,_0xd5054,_0x360cee,_0x92bb7d,_0xead4f9,_0x10b5e4,_0x12f9af,_0x5c3ff0,_0x88e32f,_0x596bfa){var _0x4d4dd8=this;_0x4d4dd8[_0x1cd3('0xd34')]=[];_0x4d4dd8[_0x1cd3('0xdec')]=[];_0x4d4dd8['title']=_0x1cd3('0xded');_0x4d4dd8['crudPermissions']=_0x596bfa;_0x4d4dd8[_0x1cd3('0xdda')]=angular[_0x1cd3('0x429')](_0xead4f9);_0x4d4dd8[_0x1cd3('0xdee')]=_0x92bb7d;_0x4d4dd8[_0x1cd3('0xdef')]=![];_0x4d4dd8[_0x1cd3('0xdf0')]=_0x88e32f['getMap']();_0x4d4dd8[_0x1cd3('0xdf1')]=[{'key':_0x1cd3('0x3de'),'value':'Join'},{'key':'left_join','value':_0x1cd3('0xdf2')},{'key':_0x1cd3('0xdf3'),'value':_0x1cd3('0xdf4')},{'key':_0x1cd3('0xdf5'),'value':_0x1cd3('0xdf6')}];if(!_0x4d4dd8[_0x1cd3('0xdda')]){_0x4d4dd8['report']={'name':'','table':_0x1cd3('0xd68'),'description':'','parent':_0x5c3ff0['id']};_0x4d4dd8[_0x1cd3('0x486')]=_0x1cd3('0xdf7');_0x4d4dd8[_0x1cd3('0xdef')]=!![];}_0x4d4dd8[_0x1cd3('0xdf8')]=_0x41163a;_0x4d4dd8['saveReport']=_0x4884e3;_0x4d4dd8[_0x1cd3('0xdf9')]=_0x591b22;_0x4d4dd8[_0x1cd3('0x39c')]=_0x23712b;_0x4d4dd8[_0x1cd3('0xdfa')]=_0x2483ca;_0x4d4dd8['removeJoin']=_0x2ed9a1;_0x4d4dd8[_0x1cd3('0xdfb')]=_0x4b8e4d;function _0x2ed9a1(_0x16dfa2){_0x4d4dd8[_0x1cd3('0xdec')][_0x1cd3('0x446')](_0x16dfa2,0x1);}function _0x4b8e4d(_0x5b49e4,_0x410e62,_0x56d607){var _0x401dec=_[_0x1cd3('0x442')](_0x4d4dd8[_0x1cd3('0xdf0')],{'name':_0x56d607});if(_0x401dec&&_0x401dec[_0x1cd3('0x370')]){_0x10b5e4[_0x401dec[_0x1cd3('0x370')]]['describe']()['$promise'][_0x1cd3('0x77')](function(_0x24e436){_0x5b49e4[_0x410e62]=_['difference'](_[_0x1cd3('0x80')](_0x24e436),[_0x1cd3('0x81'),_0x1cd3('0xdfc')]);})['catch'](function(_0x1761bb){console[_0x1cd3('0x434')](_0x1761bb);});}}function _0x2483ca(_0x546093){if(_0x546093){delete _0x4d4dd8[_0x1cd3('0xdfd')];_0x4d4dd8[_0x1cd3('0xdec')][_0x1cd3('0x7b')](_0x546093);}}function _0x41163a(){_0x4d4dd8[_0x1cd3('0xd34')]=[];_0x4d4dd8[_0x1cd3('0xdda')][_0x1cd3('0x78')]=_['map'](_0x4d4dd8[_0x1cd3('0xdec')]||[],function(_0x22e8c0){return{'parentKey':_0x22e8c0['parentKey'],'foreignTable':_0x22e8c0[_0x1cd3('0x98')],'foreignKey':_0x22e8c0[_0x1cd3('0xdfe')],'type':_0x22e8c0['type'][_0x1cd3('0x433')]()};});_0x4d4dd8[_0x1cd3('0xdda')]['joins']=JSON[_0x1cd3('0x438')](_0x4d4dd8['report'][_0x1cd3('0x78')]);_0x10b5e4[_0x12f9af]['save'](_0x4d4dd8[_0x1cd3('0xdda')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x45dad5){_0x4d4dd8[_0x1cd3('0xdee')][_0x1cd3('0x621')](_0x45dad5);_0x360cee[_0x1cd3('0x473')]({'title':_0x1cd3('0xdff'),'msg':_0x4d4dd8[_0x1cd3('0xdda')]['name']?_0x4d4dd8['report'][_0x1cd3('0x98')]+_0x1cd3('0xd33'):''});_0x23712b();})[_0x1cd3('0xfd')](function(_0x178a92){if(_0x178a92[_0x1cd3('0x439')]&&_0x178a92[_0x1cd3('0x439')]['errors']&&_0x178a92[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x4d4dd8[_0x1cd3('0xd34')]=_0x178a92[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x178a92[_0x1cd3('0x43b')](),'type':_0x1cd3('0xe00')}];for(var _0x21224a=0x0;_0x21224a<_0x178a92['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x21224a++){_0x360cee['error']({'title':_0x178a92[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x21224a]['type'],'msg':_0x178a92[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x21224a][_0x1cd3('0x43a')]});}}else{_0x360cee[_0x1cd3('0x434')]({'title':_0x178a92[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x178a92[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x178a92[_0x1cd3('0xd35')]:_0x1cd3('0xe00'),'msg':_0x178a92['data']?JSON['stringify'](_0x178a92[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x178a92['toString']()});}});}function _0x4884e3(){_0x4d4dd8[_0x1cd3('0xd34')]=[];_0x10b5e4[_0x12f9af][_0x1cd3('0x378')]({'id':_0x4d4dd8[_0x1cd3('0xdda')]['id']},_0x4d4dd8[_0x1cd3('0xdda')])[_0x1cd3('0x81')]['then'](function(_0x317968){var _0x24841f=_[_0x1cd3('0x442')](_0x4d4dd8[_0x1cd3('0xdee')],{'id':_0x317968['id']});if(_0x24841f){_[_0x1cd3('0xf2')](_0x24841f,_0x317968);}_0x360cee['success']({'title':_0x1cd3('0xe01'),'msg':_0x4d4dd8[_0x1cd3('0xdda')]['name']?_0x4d4dd8[_0x1cd3('0xdda')][_0x1cd3('0x98')]+_0x1cd3('0xd37'):''});_0x23712b();})[_0x1cd3('0xfd')](function(_0x1f692c){if(_0x1f692c[_0x1cd3('0x439')]&&_0x1f692c[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x1f692c[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x4d4dd8[_0x1cd3('0xd34')]=_0x1f692c[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x1f692c[_0x1cd3('0x43b')](),'type':_0x1cd3('0xe02')}];for(var _0xb8c955=0x0;_0xb8c955<_0x1f692c[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0xb8c955++){_0x360cee[_0x1cd3('0x434')]({'title':_0x1f692c[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0xb8c955][_0x1cd3('0x424')],'msg':_0x1f692c[_0x1cd3('0x439')]['errors'][_0xb8c955][_0x1cd3('0x43a')]});}}else{_0x360cee[_0x1cd3('0x434')]({'title':_0x1f692c['status']?_0x1cd3('0x435')+_0x1f692c[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x1f692c[_0x1cd3('0xd35')]:_0x1cd3('0xe02'),'msg':_0x1f692c[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x1f692c[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x1f692c[_0x1cd3('0x43b')]()});}});}function _0x591b22(){_0x4d4dd8[_0x1cd3('0xd34')]=[];var _0x587062=_0xd5054[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xd3a'))[_0x1cd3('0xd3b')](_0x1cd3('0xe03'))[_0x1cd3('0xd3d')](_0x1cd3('0xe04'))['ok']('Delete')[_0x1cd3('0x4d8')](_0x1cd3('0x674'))['targetEvent'](event);_0xd5054[_0x1cd3('0x37e')](_0x587062)[_0x1cd3('0x77')](function(){_0x10b5e4[_0x12f9af][_0x1cd3('0xa1c')]({'id':_0x4d4dd8['report']['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x4d4dd8[_0x1cd3('0xdee')],{'id':_0x4d4dd8['report']['id']});_0x360cee[_0x1cd3('0x473')]({'title':_0x1cd3('0xe05'),'msg':_0x4d4dd8[_0x1cd3('0xdda')][_0x1cd3('0x98')]?_0x4d4dd8[_0x1cd3('0xdda')][_0x1cd3('0x98')]+_0x1cd3('0xd41'):''});_0x23712b();})[_0x1cd3('0xfd')](function(_0x517eb4){_0x4d4dd8['errors']=_0x517eb4[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x517eb4[_0x1cd3('0x43b')](),'type':_0x1cd3('0xe06')}];});},function(){});}function _0x23712b(){_0xd5054[_0x1cd3('0x39d')]();}}}());(function(){'use strict';_0x20de41[_0x1cd3('0xc')]=['$mdDialog','describeTable','toasty','sqlUtil'];angular[_0x1cd3('0x0')]('app.analytics')[_0x1cd3('0x39b')]('ReportConditionsController',_0x20de41);function _0x20de41(_0x292f05,_0xf73e76,_0x1aaa21,_0x32e067){var _0x197320=this;_0x197320[_0x1cd3('0xdda')]={};_0x197320['conditions']=_0x32e067[_0x1cd3('0xe07')];_0x197320[_0x1cd3('0xe08')]=_0x12bca8;_0x197320[_0x1cd3('0x40d')]=_0x4e6aa3;_0x197320[_0x1cd3('0xe09')]=_0x4a9a6e;_0x197320[_0x1cd3('0xe0a')]=_0x3f8a1b;_0x197320[_0x1cd3('0xe0b')]=_0x5076e3;function _0x12bca8(_0x51c9b2,_0x22dd2a){_0x197320[_0x1cd3('0xdda')]=_0x51c9b2;_0x197320[_0x1cd3('0xdda')][_0x1cd3('0xb65')]=angular[_0x1cd3('0x4ec')](_0x51c9b2[_0x1cd3('0x3df')])||{'group':{'operator':'AND','rules':[]}};_0x197320[_0x1cd3('0xd27')]=typeof _0x22dd2a!==_0x1cd3('0x491')?_0x22dd2a:{'readOnly':!![],'canEdit':![],'canDelete':![]};for(var _0x318fbf=0x0;_0x318fbf<_0x197320[_0x1cd3('0xdda')][_0x1cd3('0xb65')][_0x1cd3('0x56d')][_0x1cd3('0xe0c')]['length'];_0x318fbf++){if(_0x197320['report']['condition'][_0x1cd3('0x56d')][_0x1cd3('0xe0c')][_0x318fbf][_0x1cd3('0x450')]){var _0x5a29ba=_0x197320['report'][_0x1cd3('0xb65')][_0x1cd3('0x56d')][_0x1cd3('0xe0c')][_0x318fbf][_0x1cd3('0x450')]['split']('.');if(_0x5a29ba['length']===0x1){_0x197320[_0x1cd3('0xdda')][_0x1cd3('0xb65')][_0x1cd3('0x56d')]['rules'][_0x318fbf][_0x1cd3('0x450')]=_0x197320[_0x1cd3('0xdda')]['table']+'.'+_0x197320[_0x1cd3('0xdda')][_0x1cd3('0xb65')]['group'][_0x1cd3('0xe0c')][_0x318fbf][_0x1cd3('0x450')];}}}_0xf73e76['getColumns'](_0x197320['report'][_0x1cd3('0xd45')])[_0x1cd3('0x77')](function(_0x5610cc){_0x197320[_0x1cd3('0x8f0')]=_['difference'](_[_0x1cd3('0x80')](_0x5610cc),[_0x1cd3('0x81'),'$resolved',_0x1cd3('0xe0d'),'updatedAt']);})[_0x1cd3('0xfd')](function(_0x3e078d){_0x1aaa21[_0x1cd3('0x434')]({'title':_0x3e078d[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x3e078d['status']+_0x1cd3('0x436')+_0x3e078d['statusText']:_0x1cd3('0xe0e'),'msg':_0x3e078d[_0x1cd3('0x439')]?JSON['stringify'](_0x3e078d['data']):_0x3e078d[_0x1cd3('0x43b')]()});});}function _0x4e6aa3(_0x59c7fa){_0x59c7fa[_0x1cd3('0x621')]({'condition':'=','field':'','value':''});}function _0x4a9a6e(_0x5ea8e3){_0x5ea8e3['push']({'group':{'operator':'AND','rules':[]}});}function _0x3f8a1b(_0x1ec366,_0xec902c,_0x1b928e){var _0x4fb9c1=_0x292f05[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xe0f'))[_0x1cd3('0xd60')](_0x1cd3('0xe10'))[_0x1cd3('0xd3d')](_0x1cd3('0xe11'))[_0x1cd3('0xd63')](_0x1b928e)['ok']('OK')['cancel'](_0x1cd3('0xd55'));_0x292f05[_0x1cd3('0x37e')](_0x4fb9c1)['then'](function(){_0x1ec366[_0x1cd3('0x446')](_0xec902c,0x1);},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}function _0x5076e3(_0x51f108){return!_['includes']([_0x1cd3('0xe12'),_0x1cd3('0xe13'),'IS\x20EMPTY',_0x1cd3('0xe14')],_0x51f108);}}}());(function(){'use strict';_0x501ec5[_0x1cd3('0xc')]=[_0x1cd3('0x370')];angular[_0x1cd3('0x0')](_0x1cd3('0x34'))[_0x1cd3('0x373')]('describeTable',_0x501ec5);function _0x501ec5(_0x843c6b){var _0x4f0940={'cm_companies':_0x1cd3('0xb38'),'cm_contacts':_0x1cd3('0xb3d'),'cm_hopper':'cmHopper','cm_hopper_final':_0x1cd3('0xb4d'),'cm_hopper_history':_0x1cd3('0xe15'),'cm_lists':_0x1cd3('0xc8f'),'chat_websites':_0x1cd3('0xb02'),'chat_queues':'chatQueue','chat_interactions':_0x1cd3('0xb18'),'chat_messages':_0x1cd3('0xb24'),'chat_offline_messages':'chatOfflineMessage','report_chat_queue':_0x1cd3('0xe16'),'report_chat_transfer':_0x1cd3('0xc82'),'mail_accounts':'mailAccount','mail_queues':_0x1cd3('0xa85'),'mail_interactions':_0x1cd3('0xa8f'),'mail_messages':_0x1cd3('0xa94'),'report_mail_queue':_0x1cd3('0xa9a'),'report_mail_transfer':'mailTransferReport','openchannel_accounts':_0x1cd3('0xae5'),'openchannel_queues':_0x1cd3('0xafd'),'openchannel_interactions':_0x1cd3('0xe17'),'openchannel_messages':_0x1cd3('0xaf7'),'report_openchannel_queue':'openchannelQueueReport','report_openchannel_transfer':_0x1cd3('0xc89'),'sms_accounts':'smsAccount','sms_queues':'smsQueue','sms_interactions':'smsInteraction','sms_messages':_0x1cd3('0xe18'),'report_sms_queue':_0x1cd3('0xc3a'),'report_sms_transfer':_0x1cd3('0xe19'),'fax_accounts':_0x1cd3('0xaa4'),'fax_queues':_0x1cd3('0xe1a'),'fax_interactions':_0x1cd3('0xab2'),'fax_messages':_0x1cd3('0xe1b'),'report_fax_transfer':_0x1cd3('0xc86'),'report_fax_queue':_0x1cd3('0xac2'),'report_call':_0x1cd3('0xa66'),'report_agent':_0x1cd3('0xa6d'),'report_square':_0x1cd3('0xc3c'),'report_member':_0x1cd3('0xa73'),'report_queue':'voiceQueueReport','report_square_details':'squareReportDetail','report_dial':_0x1cd3('0xa69'),'report_jscripty_sessions':_0x1cd3('0xc39'),'report_jscripty_questions':'jscriptyQuestionReport','report_jscripty_answers':'jscriptyAnswerReport','users':_0x1cd3('0x368'),'voice_recordings':_0x1cd3('0x6ee'),'cdr':_0x1cd3('0xb6b'),'whatsapp_accounts':_0x1cd3('0xca3'),'whatsapp_queues':'whatsappQueue','whatsapp_interactions':_0x1cd3('0xcae'),'whatsapp_messages':_0x1cd3('0xcb3'),'report_whatsapp_queue':'whatsappQueueReport','report_whatsapp_transfer':_0x1cd3('0xcbc')};return{'getMap':function(){var _0x44d0a5=[];_['forIn'](_0x4f0940,function(_0xe7784f,_0x49b49d){_0x44d0a5['push']({'name':_0x49b49d,'api':_0xe7784f});});return _0x44d0a5;},'getColumns':function(_0x5f2430){var _0x4094c8=_0x4f0940[_0x5f2430];return _0x843c6b[_0x4094c8][_0x1cd3('0xe1c')]()[_0x1cd3('0x81')];}};}}());(function(){'use strict';_0x533fad[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0xd24'),'$mdDialog',_0x1cd3('0x461'),_0x1cd3('0xdda'),_0x1cd3('0xe1d'),_0x1cd3('0xe1e'),_0x1cd3('0xd64'),_0x1cd3('0x8f0'),_0x1cd3('0xe1f'),_0x1cd3('0x370'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x34'))[_0x1cd3('0x39b')](_0x1cd3('0xe20'),_0x533fad);function _0x533fad(_0x1b8bca,_0x2a5319,_0x1ace3c,_0x47e7d9,_0x3a767b,_0x5063be,_0x4487ca,_0x2a0e70,_0x3f680a,_0x1a2be5,_0x483ce0,_0x722204){var _0x4dc864=this;_0x4dc864[_0x1cd3('0xd34')]=[];_0x4dc864[_0x1cd3('0x486')]='Edit\x20Report\x20Field';_0x4dc864[_0x1cd3('0xdda')]=_0x3a767b;_0x4dc864[_0x1cd3('0xe1e')]=angular[_0x1cd3('0x429')](_0x4487ca);_0x4dc864[_0x1cd3('0xe1d')]=_0x5063be;_0x4dc864['metrics']=_0x2a0e70;_0x4dc864[_0x1cd3('0x8f0')]=_0x3f680a;_0x4dc864[_0x1cd3('0xe1f')]=_0x1a2be5;_0x4dc864[_0x1cd3('0xe21')]=![];_0x4dc864[_0x1cd3('0xd27')]=_0x722204;if(!_0x4dc864['reportField']){_0x4dc864[_0x1cd3('0xe1e')]={'type':'column','function':null,'format':null,'groupBy':![],'orderBy':null};_0x4dc864[_0x1cd3('0x486')]=_0x1cd3('0xe22');_0x4dc864[_0x1cd3('0xe21')]=!![];}else{_0x4dc864[_0x1cd3('0xe1e')][_0x1cd3('0x424')]=_0x4dc864[_0x1cd3('0xe1e')][_0x1cd3('0x8f6')]?_0x1cd3('0x8f6'):_0x4dc864[_0x1cd3('0xe1e')]['MetricId']?_0x1cd3('0xd66'):_0x1cd3('0x3d5');if(_0x4dc864[_0x1cd3('0xe1e')][_0x1cd3('0x450')]&&!_0x4dc864[_0x1cd3('0xe1e')][_0x1cd3('0x8f6')]&&_[_0x1cd3('0x472')](_0x4dc864[_0x1cd3('0xe1e')]['MetricId'])){var _0x949d69=_0x4dc864[_0x1cd3('0xe1e')]['field']['split']('.');if(_0x949d69[_0x1cd3('0x7a')]===0x1){_0x4dc864['reportField'][_0x1cd3('0x450')]=_0x4dc864[_0x1cd3('0xdda')][_0x1cd3('0xd45')]+'.'+_0x4dc864[_0x1cd3('0xe1e')][_0x1cd3('0x450')];}}}_0x4dc864[_0x1cd3('0xe23')]=_0x1b7c1b;_0x4dc864[_0x1cd3('0xe24')]=_0x752f4d;_0x4dc864[_0x1cd3('0xe25')]=_0x356fe0;_0x4dc864['closeDialog']=_0x4c8f28;function _0x1b7c1b(){_0x4dc864[_0x1cd3('0xd34')]=[];_0x4dc864[_0x1cd3('0xe1e')][_0x1cd3('0x8f6')]=_0x4dc864[_0x1cd3('0xe1e')][_0x1cd3('0x424')]==='custom';_0x4dc864['reportField'][_0x1cd3('0xe26')]=_0x4dc864[_0x1cd3('0xe1e')][_0x1cd3('0x424')]===_0x1cd3('0xd66')?_0x4dc864['reportField'][_0x1cd3('0xe26')]:null;_0x4dc864['reportField'][_0x1cd3('0xe27')]=_0x4dc864['report']['id'];_0x483ce0['analyticFieldReport'][_0x1cd3('0xd6d')](_0x4dc864[_0x1cd3('0xe1e')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x2dbd36){_0x4dc864[_0x1cd3('0xe1d')]['push'](_0x2dbd36);_0x47e7d9['success']({'title':_0x1cd3('0xe28'),'msg':_0x4dc864['reportField']['field']?_0x4dc864[_0x1cd3('0xe1e')]['field']+_0x1cd3('0xd33'):_0x4dc864[_0x1cd3('0xe1e')][_0x1cd3('0x424')]+_0x1cd3('0xd33')});_0x4c8f28();})[_0x1cd3('0xfd')](function(_0xa7abcc){_0x4dc864[_0x1cd3('0xd34')]=_0xa7abcc[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0xa7abcc[_0x1cd3('0x43b')](),'type':_0x1cd3('0xe29')}];});}function _0x752f4d(){_0x4dc864['errors']=[];_0x4dc864[_0x1cd3('0xe1e')]['custom']=_0x4dc864[_0x1cd3('0xe1e')]['type']===_0x1cd3('0x8f6');_0x4dc864[_0x1cd3('0xe1e')][_0x1cd3('0xe26')]=_0x4dc864['reportField'][_0x1cd3('0x424')]===_0x1cd3('0xd66')?_0x4dc864[_0x1cd3('0xe1e')]['MetricId']:null;_0x483ce0[_0x1cd3('0x8f4')][_0x1cd3('0x378')]({'id':_0x4dc864[_0x1cd3('0xe1e')]['id']},_0x4dc864[_0x1cd3('0xe1e')])['$promise'][_0x1cd3('0x77')](function(_0x413f3b){var _0x5beee9=_['find'](_0x4dc864[_0x1cd3('0xe1d')],{'id':_0x413f3b['id']});if(_0x5beee9){_[_0x1cd3('0xf2')](_0x5beee9,_0x413f3b);}_0x47e7d9[_0x1cd3('0x473')]({'title':_0x1cd3('0xe2a'),'msg':_0x4dc864['reportField'][_0x1cd3('0x450')]?_0x4dc864['reportField'][_0x1cd3('0x450')]+_0x1cd3('0xd37'):''});_0x4c8f28();})[_0x1cd3('0xfd')](function(_0x353c29){_0x4dc864[_0x1cd3('0xd34')]=_0x353c29[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x353c29['toString'](),'type':_0x1cd3('0xe2b')}];});}function _0x356fe0(_0x4b2830){_0x4dc864[_0x1cd3('0xd34')]=[];var _0x48f79d=_0x1ace3c['confirm']()[_0x1cd3('0x486')](_0x1cd3('0xd3a'))[_0x1cd3('0xd3b')]('The\x20field\x20will\x20be\x20deleted.')['ariaLabel'](_0x1cd3('0xe04'))['ok']('Delete')[_0x1cd3('0x4d8')](_0x1cd3('0x674'))[_0x1cd3('0xd63')](_0x4b2830);_0x1ace3c[_0x1cd3('0x37e')](_0x48f79d)[_0x1cd3('0x77')](function(){_0x483ce0[_0x1cd3('0x8f4')][_0x1cd3('0xa1c')]({'id':_0x4dc864[_0x1cd3('0xe1e')]['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_['remove'](_0x4dc864[_0x1cd3('0xe1d')],{'id':_0x4dc864[_0x1cd3('0xe1e')]['id']});_0x47e7d9['success']({'title':_0x1cd3('0xe2c'),'msg':_0x4dc864[_0x1cd3('0xe1e')]['field']?_0x4dc864['reportField'][_0x1cd3('0x450')]+'\x20has\x20been\x20deleted!':''});_0x4c8f28();})[_0x1cd3('0xfd')](function(_0x2c5878){_0x4dc864[_0x1cd3('0xd34')]=_0x2c5878[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x2c5878['toString'](),'type':'api.analyticReportField.delete'}];});},function(){});}function _0x4c8f28(){_0x1ace3c[_0x1cd3('0x39d')]();}}}());(function(){'use strict';_0x5e9a3c[_0x1cd3('0xc')]=[_0x1cd3('0x36f'),_0x1cd3('0x460'),_0x1cd3('0x3e7'),_0x1cd3('0x3c5'),_0x1cd3('0x372'),_0x1cd3('0x461'),_0x1cd3('0x370'),_0x1cd3('0xdea'),_0x1cd3('0xe1f'),_0x1cd3('0x3f7')];angular[_0x1cd3('0x0')](_0x1cd3('0x34'))[_0x1cd3('0x39b')]('ReportFieldsController',_0x5e9a3c);function _0x5e9a3c(_0x4d38ec,_0x89d102,_0x2b668b,_0x2ee247,_0x7660ad,_0x2c6a65,_0x5082af,_0x3f6866,_0x2d345d,_0x4b7180){var _0x41f653=this;_0x41f653[_0x1cd3('0xdda')]={};_0x41f653[_0x1cd3('0xe1d')]={'count':0x0,'rows':[]};_0x41f653['functions']=_[_0x1cd3('0xe2d')](_0x2d345d['getFunctions'],'value');_0x41f653[_0x1cd3('0xe2e')]=_[_0x1cd3('0xe2d')](_0x2d345d[_0x1cd3('0xe2f')],_0x1cd3('0x3db'));_0x41f653[_0x1cd3('0x3d6')]=_[_0x1cd3('0xe2d')](_0x2d345d[_0x1cd3('0xe30')],'value');_0x41f653[_0x1cd3('0xe31')]=_['keyBy'](_0x2d345d[_0x1cd3('0xe32')],'value');_0x41f653[_0x1cd3('0xe33')]=[];_0x41f653[_0x1cd3('0x3d4')]={'fields':_0x1cd3('0xe34'),'nolimit':!![]};_0x41f653[_0x1cd3('0xe35')]={'animation':0x64,'onSort':function(_0x8fc9da){_0x5082af[_0x1cd3('0x8f4')][_0x1cd3('0xe36')]({'id':_0x41f653[_0x1cd3('0xdda')]['id']},_0x8fc9da['models'])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x3b0a17){_0x41f653[_0x1cd3('0xe1d')][_0x1cd3('0xf6')]=_0x3b0a17;})['catch'](function(_0x4a709c){_0x2c6a65[_0x1cd3('0x434')]({'title':_0x4a709c['status']?_0x1cd3('0x435')+_0x4a709c[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x4a709c[_0x1cd3('0xd35')]:'SYSTEM:ADDFIELDS'});});}};_0x41f653[_0x1cd3('0xe08')]=_0x55442e;_0x41f653[_0x1cd3('0xe0a')]=_0x3b9a96;_0x41f653[_0x1cd3('0x473')]=_0x5c819b;_0x41f653[_0x1cd3('0xe37')]=_0x33a998;_0x41f653[_0x1cd3('0xe38')]=_0x213fe3;_0x41f653[_0x1cd3('0xe25')]=_0x18898a;_0x41f653['deleteSelectedReportFields']=_0x12c580;_0x41f653[_0x1cd3('0xe39')]=_0x5630cf;_0x41f653[_0x1cd3('0xe3a')]=_0x582d18;function _0x55442e(_0x475a25,_0x29e4b2){_0x41f653[_0x1cd3('0xdda')]=_0x475a25;_0x41f653[_0x1cd3('0x3d4')][_0x1cd3('0xe27')]=_0x41f653[_0x1cd3('0xdda')]['id'];_0x41f653[_0x1cd3('0xd27')]=typeof _0x29e4b2!==_0x1cd3('0x491')?_0x29e4b2:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x41f653[_0x1cd3('0xe35')][_0x1cd3('0x447')]=!_0x41f653[_0x1cd3('0xd27')][_0x1cd3('0xe3b')]?!![]:![];_0x3f6866['getColumns'](_0x41f653['report'][_0x1cd3('0xd45')])[_0x1cd3('0x77')](function(_0x43592d){_0x41f653['columns']=_[_0x1cd3('0x41f')](_['keys'](_0x43592d),[_0x1cd3('0x81'),'$resolved']);return _0x5082af[_0x1cd3('0xd6c')]['get']({'fields':'id,name,metric,table','nolimit':!![]})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x147c79){_0x41f653[_0x1cd3('0xd64')]=_0x147c79[_0x1cd3('0xf6')];})[_0x1cd3('0xfd')](function(_0x3ea1eb){_0x2c6a65[_0x1cd3('0x434')]({'title':_0x3ea1eb[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x3ea1eb['status']+_0x1cd3('0x436')+_0x3ea1eb[_0x1cd3('0xd35')]:_0x1cd3('0xe0e'),'msg':_0x3ea1eb[_0x1cd3('0x439')]?JSON['stringify'](_0x3ea1eb[_0x1cd3('0x439')]):_0x3ea1eb[_0x1cd3('0x43b')]()});});_0x41f653['getReportFields']();}function _0x3b9a96(_0xa47dd2,_0x4b1652){var _0x49942c=_0x2ee247[_0x1cd3('0xd39')]()['title'](_0x1cd3('0xe3c'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0xa47dd2[_0x1cd3('0x450')]+_0x1cd3('0xd52')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0xe3d'))[_0x1cd3('0xd63')](_0x4b1652)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x2ee247[_0x1cd3('0x37e')](_0x49942c)[_0x1cd3('0x77')](function(){_0x18898a(_0xa47dd2);},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}var _0x5ddf3=!![];_0x89d102['$watch'](_0x1cd3('0xe3e'),function(_0x5b10c7,_0x5dd696){if(_0x5ddf3){_0x2b668b(function(){_0x5ddf3=![];});}else{_0x41f653[_0x1cd3('0xe37')]();}});function _0x5c819b(_0xbb9f86){_0x41f653[_0x1cd3('0xe1d')]=_0xbb9f86||{'count':0x0,'rows':[]};}function _0x33a998(){_0x41f653[_0x1cd3('0x539')]=_0x5082af[_0x1cd3('0x8f4')]['get'](_0x41f653[_0x1cd3('0x3d4')],_0x5c819b)[_0x1cd3('0x81')];}function _0x213fe3(_0xcade8a,_0x289d73){_0x2ee247['show']({'controller':'CreateOrEditReportFieldDialogController','controllerAs':'vm','templateUrl':_0x1cd3('0xe3f'),'parent':angular[_0x1cd3('0x37f')](_0x7660ad[_0x1cd3('0x380')]),'targetEvent':_0xcade8a,'clickOutsideToClose':!![],'locals':{'report':_0x41f653[_0x1cd3('0xdda')],'reportField':_0x289d73,'reportFields':_0x41f653['reportFields'][_0x1cd3('0xf6')],'metrics':_0x41f653[_0x1cd3('0xd64')],'columns':_0x41f653[_0x1cd3('0x8f0')],'setting':null,'crudPermissions':_0x41f653[_0x1cd3('0xd27')]}});}function _0x18898a(_0x4d236d){_0x5082af['analyticFieldReport'][_0x1cd3('0xa1c')]({'id':_0x4d236d['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x41f653[_0x1cd3('0xe33')]=[];_[_0x1cd3('0x383')](_0x41f653[_0x1cd3('0xe1d')][_0x1cd3('0xf6')],{'id':_0x4d236d['id']});_0x41f653[_0x1cd3('0xe1d')]['count']-=0x1;if(!_0x41f653[_0x1cd3('0xe1d')][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){_0x41f653[_0x1cd3('0xe37')]();}_0x2c6a65[_0x1cd3('0x473')]({'title':_0x1cd3('0xe40'),'msg':_0x4d236d['field']?_0x4d236d[_0x1cd3('0x450')]+'\x20has\x20been\x20deleted!':''});})[_0x1cd3('0xfd')](function(_0x3433fc){_0x2c6a65[_0x1cd3('0x434')]({'title':_0x3433fc[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x3433fc[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x3433fc[_0x1cd3('0xd35')]:_0x1cd3('0xe41'),'msg':_0x3433fc['data']?JSON['stringify'](_0x3433fc[_0x1cd3('0x439')]):_0x3433fc['toString']()});});}function _0x12c580(_0x815f8c){var _0x14f531=_0x2ee247[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xe42'))[_0x1cd3('0xd60')]('<b>'+_0x41f653[_0x1cd3('0xe33')][_0x1cd3('0x7a')]+'\x20selected</b>'+'\x20will\x20be\x20deleted.')[_0x1cd3('0xd3d')]('delete\x20fields')['targetEvent'](_0x815f8c)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x2ee247[_0x1cd3('0x37e')](_0x14f531)[_0x1cd3('0x77')](function(){_0x41f653[_0x1cd3('0xe33')][_0x1cd3('0x394')](function(_0x3481f2){_0x18898a(_0x3481f2);});_0x41f653[_0x1cd3('0xe33')]=[];});}function _0x5630cf(_0x11d6e2){var _0x17233d=_[_0x1cd3('0x442')](_0x41f653[_0x1cd3('0xd64')],{'id':_0x11d6e2});return _0x17233d?_0x17233d[_0x1cd3('0x98')]:_0x4b7180[_0x1cd3('0x44a')](_0x1cd3('0xe43'));}function _0x582d18(_0x2251b9){var _0xb4501f=_[_0x1cd3('0x442')](_0x41f653[_0x1cd3('0xd64')],{'id':_0x2251b9});return _0xb4501f?_0xb4501f[_0x1cd3('0xd66')]:_0x4b7180[_0x1cd3('0x44a')](_0x1cd3('0xe43'));}}}());(function(){'use strict';angular[_0x1cd3('0x0')](_0x1cd3('0x34'))[_0x1cd3('0x373')]('sqlUtil',_0x442201);function _0x442201(){var _0x502aa6=[{'value':_0x1cd3('0xe44'),'option':function(_0x2f42fd){return _0x1cd3('0xe45')+_0x2f42fd+')';}},{'value':'COUNT','option':function(_0x5f3b89){return _0x1cd3('0xe46')+_0x5f3b89+')';}},{'value':_0x1cd3('0xe47'),'option':function(_0x4f43dd){return'COUNT\x20(DISTINCT\x20'+_0x4f43dd+')';}},{'value':'MAX','option':function(_0xac41de){return _0x1cd3('0xe48')+_0xac41de+')';}},{'value':_0x1cd3('0xe49'),'option':function(_0x6d6e9e){return _0x1cd3('0xe4a')+_0x6d6e9e+')';}},{'value':'AVG','option':function(_0x4cf048){return _0x1cd3('0xe4b')+_0x4cf048+')';}},{'value':_0x1cd3('0xe4c'),'option':function(_0x511e00){return _0x1cd3('0xe4d')+_0x511e00+')';}},{'value':_0x1cd3('0xe4e'),'option':function(_0x4e1076){return _0x1cd3('0xe4d')+_0x4e1076+_0x1cd3('0xe4f')+_0x4e1076+'\x20ASC)';}},{'value':'GROUP_CONCAT\x20DESC','option':function(_0x444ad8){return'GROUP_CONCAT\x20('+_0x444ad8+_0x1cd3('0xe4f')+_0x444ad8+_0x1cd3('0xe50');}}];var _0x1f72c5=[{'value':_0x1cd3('0xe51'),'option':function(_0x378e55){return'SEC_TO_TIME\x20('+_0x378e55+')';}},{'value':'DATE','option':function(_0x555481){return _0x1cd3('0xe52')+_0x555481+')';}},{'value':_0x1cd3('0xe53'),'option':function(_0x536ab7){return _0x1cd3('0xe54')+_0x536ab7+')';}},{'value':_0x1cd3('0xe55'),'option':function(_0x1aecfc){return _0x1cd3('0xe56')+_0x1aecfc+')';}},{'value':'UNIX_TIMESTAMP','option':function(_0x1bea96){return'UNIX_TIMESTAMP\x20('+_0x1bea96+')';}}];var _0xc2ae54=[{'value':![],'option':function(){return'No';}},{'value':!![],'option':function(_0xc57bd0){return _0x1cd3('0xe57')+_0xc57bd0;}}];var _0x47ee72=[{'value':_0x1cd3('0xe58'),'option':function(_0x5a3390){return'ORDER\x20BY\x20'+_0x5a3390+_0x1cd3('0xe59');}},{'value':'DESC','option':function(_0x16cfc3){return _0x1cd3('0xe5a')+_0x16cfc3+_0x1cd3('0xe5b');}}];var _0x4ea0f0=['=','!=','<','<=','>','>=',_0x1cd3('0xe5c'),_0x1cd3('0xe5d'),_0x1cd3('0xe12'),'IS\x20NOT\x20NULL','IS\x20EMPTY',_0x1cd3('0xe14')];return{'getFunctions':_0x502aa6,'getFormats':_0x1f72c5,'getGroupBy':_0xc2ae54,'getOrderBy':_0x47ee72,'getConditions':_0x4ea0f0};}}());(function(){'use strict';_0x4476a5['$inject']=[_0x1cd3('0x53e'),_0x1cd3('0x461'),_0x1cd3('0x370'),_0x1cd3('0xdda'),_0x1cd3('0x56'),_0x1cd3('0x390')];angular[_0x1cd3('0x0')](_0x1cd3('0x34'))[_0x1cd3('0x39b')](_0x1cd3('0xe5e'),_0x4476a5);function _0x4476a5(_0x12a688,_0x590053,_0x5196c9,_0x1ee578,_0x3fd19e,_0x944c6d){var _0x258171=this;_0x258171[_0x1cd3('0xdda')]=_0x1ee578||{};_0x258171[_0x1cd3('0x390')]=_0x944c6d&&_0x944c6d[_0x1cd3('0x466')]==0x1?_0x944c6d['rows'][0x0]:null;_0x258171[_0x1cd3('0xd27')]=_0x3fd19e[_0x1cd3('0xd44')](_0x258171[_0x1cd3('0x390')]?_0x258171[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);_0x258171[_0x1cd3('0xe5f')]=_0x12a688[_0x1cd3('0x36a')]['tab']||0x0;_0x258171['gotoReports']=_0x72c048;_0x258171[_0x1cd3('0xe60')]=_0x30ada1;_0x258171[_0x1cd3('0xe61')]=_0x30061f;_0x258171[_0x1cd3('0xe62')]=_0x162a64;_0x258171[_0x1cd3('0xe63')]=_0x5b3215;_0x258171[_0x1cd3('0x43d')]=_0x4a7ced;_0x258171['valueReplacer']=_0x2127fc;function _0x72c048(){_0x12a688['go'](_0x1cd3('0x52'),{},{'reload':_0x1cd3('0x52')});}function _0x30ada1(){_0x258171[_0x1cd3('0xdda')][_0x1cd3('0x3df')]=angular[_0x1cd3('0x552')](_0x258171[_0x1cd3('0xdda')]['condition']);_0x5196c9['analyticCustomReport']['update']({'id':_0x258171['report']['id']},_['omit'](_0x258171[_0x1cd3('0xdda')],'joins'))[_0x1cd3('0x81')]['then'](function(){_0x590053['success']({'title':_0x1cd3('0xe64'),'msg':_0x258171[_0x1cd3('0xdda')]['name']?_0x258171[_0x1cd3('0xdda')]['name']+_0x1cd3('0xe65'):''});})[_0x1cd3('0xfd')](function(_0x22a5ef){_0x590053[_0x1cd3('0x434')]({'title':_0x22a5ef[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x22a5ef[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x22a5ef[_0x1cd3('0xd35')]:_0x1cd3('0xe66'),'msg':_0x22a5ef[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x22a5ef['data']):_0x22a5ef[_0x1cd3('0x43b')]()});});}function _0x30061f(){_0x258171[_0x1cd3('0x8f0')]=[];_0x258171[_0x1cd3('0xf6')]=[];_0x258171[_0x1cd3('0x434')]=![];_0x5196c9[_0x1cd3('0x8f4')][_0x1cd3('0x361')]({'fields':_0x1cd3('0x8f5'),'nolimit':!![],'CustomReportId':_0x258171['report']['id']})[_0x1cd3('0x81')]['then'](function(_0x4253fa){_0x258171[_0x1cd3('0x8f0')]=_0x4253fa?_0x4253fa[_0x1cd3('0xf6')]:[];return _0x5196c9[_0x1cd3('0x8f9')][_0x1cd3('0xe67')]({'id':_0x258171['report']['id']})[_0x1cd3('0x81')];})['then'](function(_0x555d5d){_0x258171[_0x1cd3('0xf6')]=_0x555d5d;})[_0x1cd3('0xfd')](function(_0x1bc52a){console[_0x1cd3('0x7d')](_0x1bc52a);_0x258171[_0x1cd3('0x434')]={'title':_0x1bc52a[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x1bc52a[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x1bc52a['statusText']:_0x1cd3('0xe68'),'msg':_0x1bc52a[_0x1cd3('0x439')]?_0x1bc52a[_0x1cd3('0x439')][_0x1cd3('0x43a')]:_0x1bc52a[_0x1cd3('0x43b')](),'sql':_0x1bc52a[_0x1cd3('0x439')]?_0x1bc52a['data']['parent']?_0x1bc52a['data'][_0x1cd3('0x36c')][_0x1cd3('0xe69')]:_0x1cd3('0xe6a'):_0x1cd3('0xe6a')};_0x590053[_0x1cd3('0x434')](_0x258171[_0x1cd3('0x434')]);});}function _0x2127fc(_0x34f13d,_0x4ee6e6){if(moment(_0x4ee6e6,_0x1cd3('0x8ff'),!![])[_0x1cd3('0x490')]()){_0x4ee6e6=moment(_0x4ee6e6,'')['format']('YYYY-MM-DD\x20HH:mm:ss');}return _0x4ee6e6;}function _0x162a64(){_0x258171['queryResult']=_0x1cd3('0xe6b');return _0x5196c9[_0x1cd3('0x8f9')][_0x1cd3('0x3d4')]({'id':_0x258171[_0x1cd3('0xdda')]['id']})[_0x1cd3('0x81')]['then'](function(_0x5affc8){_0x258171[_0x1cd3('0xe6c')]=_0x5affc8[_0x1cd3('0xe69')];})[_0x1cd3('0xfd')](function(_0x3bd9a1){_0x258171[_0x1cd3('0xe6c')]='';console[_0x1cd3('0x7d')](_0x3bd9a1);_0x258171[_0x1cd3('0x434')]={'title':_0x3bd9a1['status']?_0x1cd3('0x435')+_0x3bd9a1[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x3bd9a1['statusText']:_0x1cd3('0xe68'),'msg':_0x3bd9a1['data']?_0x3bd9a1[_0x1cd3('0x439')][_0x1cd3('0x43a')]:_0x3bd9a1['toString'](),'sql':_0x3bd9a1['data']?_0x3bd9a1['data'][_0x1cd3('0x36c')]?_0x3bd9a1['data'][_0x1cd3('0x36c')][_0x1cd3('0xe69')]:_0x1cd3('0xe6a'):_0x1cd3('0xe6a')};_0x590053[_0x1cd3('0x434')](_0x258171[_0x1cd3('0x434')]);});}function _0x5b3215(_0x1c420f,_0x208a80){if(_0x4a7ced(_0x1c420f)){return _['map'](_0x1c420f,_0x208a80)[_0x1cd3('0x3de')](',');}return'';}function _0x4a7ced(_0x83ea06){return _['isArray'](_0x83ea06);}}}());(function(){'use strict';_0x11ea6c['$inject']=[_0x1cd3('0xd24'),_0x1cd3('0x3c5'),_0x1cd3('0x461'),'report',_0x1cd3('0x370'),_0x1cd3('0xde9')];angular[_0x1cd3('0x0')](_0x1cd3('0x34'))['controller'](_0x1cd3('0xe6d'),_0x11ea6c);function _0x11ea6c(_0x3ce275,_0x2ae294,_0x3c2b6d,_0x4f1c92,_0x529bce,_0x40ae9c){var _0x41d568=this;_0x41d568['errors']=[];_0x41d568[_0x1cd3('0xdda')]=angular[_0x1cd3('0x429')](_0x4f1c92);_0x41d568[_0x1cd3('0x8f3')]=_0x32aae1;_0x41d568['closeDialog']=_0x40cd69;_0x56eccd();function _0x56eccd(){_0x41d568[_0x1cd3('0x8f0')]=[];_0x41d568[_0x1cd3('0xf6')]=[];_0x41d568['error']=![];var _0x52398a={'fields':_0x1cd3('0x8f5'),'nolimit':!![]};_0x52398a[_0x40ae9c===_0x1cd3('0x8f9')?_0x1cd3('0xe27'):_0x1cd3('0xde5')]=_0x41d568[_0x1cd3('0xdda')]['id'];_0x41d568[_0x1cd3('0x539')]=_0x529bce[_0x1cd3('0x8f4')][_0x1cd3('0x361')](_0x52398a)['$promise']['then'](function(_0x33e7bd){_0x41d568[_0x1cd3('0x8f0')]=_0x33e7bd?_0x33e7bd[_0x1cd3('0xf6')]:[];return _0x529bce[_0x40ae9c][_0x1cd3('0xe67')]({'id':_0x41d568['report']['id']})['$promise'];})['then'](function(_0x46dcda){_0x41d568[_0x1cd3('0xf6')]=_0x46dcda;})[_0x1cd3('0xfd')](function(_0x59349c){console[_0x1cd3('0x7d')](_0x59349c);_0x41d568[_0x1cd3('0x434')]={'title':_0x59349c['status']?_0x1cd3('0x435')+_0x59349c[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x59349c['statusText']:_0x1cd3('0xe68'),'msg':_0x59349c[_0x1cd3('0x439')]?_0x59349c[_0x1cd3('0x439')][_0x1cd3('0x43a')]:_0x59349c[_0x1cd3('0x43b')](),'sql':_0x59349c[_0x1cd3('0x439')]?_0x59349c[_0x1cd3('0x439')][_0x1cd3('0x36c')]?_0x59349c[_0x1cd3('0x439')][_0x1cd3('0x36c')][_0x1cd3('0xe69')]:_0x1cd3('0xe6a'):_0x1cd3('0xe6a')};_0x3c2b6d[_0x1cd3('0x434')](_0x41d568['error']);});}function _0x32aae1(_0xb52a79,_0x5de191){if(moment(_0x5de191,_0x1cd3('0x8ff'),!![])[_0x1cd3('0x490')]()){_0x5de191=moment(_0x5de191,'')[_0x1cd3('0x130')](_0x1cd3('0x377'));}return _0x5de191;}function _0x40cd69(){_0x2ae294['hide']();}}}());(function(){'use strict';_0x3446a3[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x3e7'),_0x1cd3('0x372'),_0x1cd3('0x3c5'),'$state','$window',_0x1cd3('0x3f7'),_0x1cd3('0x38a'),_0x1cd3('0x390'),_0x1cd3('0x370'),_0x1cd3('0xe6e'),_0x1cd3('0x461'),_0x1cd3('0x56')];angular[_0x1cd3('0x0')](_0x1cd3('0x34'))[_0x1cd3('0x39b')]('ReportsController',_0x3446a3);function _0x3446a3(_0x24b714,_0x1f58e7,_0x43d3b1,_0x1a3d9f,_0x3e0e56,_0x278161,_0x553186,_0x2ecd4e,_0x38101e,_0x3ba1d8,_0x45e8b6,_0x6c62d1,_0x19b001){var _0x45e335=this;_0x45e335[_0x1cd3('0x3ca')]=_0x19b001[_0x1cd3('0x5d')]();_0x45e335['reports']={'count':0x0,'rows':[]};_0x45e335[_0x1cd3('0x38a')]=_0x2ecd4e;_0x45e335[_0x1cd3('0x390')]=_0x38101e&&_0x38101e[_0x1cd3('0x466')]==0x1?_0x38101e[_0x1cd3('0xf6')][0x0]:null;_0x45e335[_0x1cd3('0xd27')]=_0x19b001['parseCrudPermissions'](_0x45e335[_0x1cd3('0x390')]?_0x45e335[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);_0x45e335[_0x1cd3('0xe6f')]=[];_0x45e335[_0x1cd3('0x3d4')]={'fields':_0x1cd3('0xe70'),'limit':0xa,'page':0x1,'sort':_0x1cd3('0x5b')};_0x45e335[_0x1cd3('0xde9')]=null;_0x45e335[_0x1cd3('0xe71')]='';_0x45e335[_0x1cd3('0xe72')]=!![];_0x45e335['editstate']=_0x4f90d4;_0x45e335['copydialog']=_0x153bc6;_0x45e335[_0x1cd3('0xe73')]=_0x5982bb;_0x45e335[_0x1cd3('0xe74')]=_0x5e5751;_0x45e335[_0x1cd3('0xe75')]=_0x4433d8;_0x45e335['deleteconfirm']=_0x247b0;_0x45e335[_0x1cd3('0x473')]=_0x5f4e6a;_0x45e335[_0x1cd3('0xe76')]=_0x48ee2a;_0x45e335['createOrEditReport']=_0xa1f9ad;_0x45e335[_0x1cd3('0xe77')]=_0x1c1508;_0x45e335[_0x1cd3('0xdf9')]=_0x5e75c3;_0x45e335[_0x1cd3('0xe78')]=_0x278159;_0x45e335[_0x1cd3('0xe79')]=_0x10f7c6;_0x45e335[_0x1cd3('0xe7a')]=_0x4d90c9;_0x45e335[_0x1cd3('0xe7b')]=_0x5f1ce1;_0x45e335['treeDefaultData']=_0x45e8b6[_0x1cd3('0xf6')][0x0]?angular['fromJson'](_0x45e8b6['rows'][0x0][_0x1cd3('0xe7c')]):[];_0x45e335[_0x1cd3('0xddb')]=_0x45e8b6[_0x1cd3('0xf6')][0x1]?angular[_0x1cd3('0x4ec')](_0x45e8b6[_0x1cd3('0xf6')][0x1][_0x1cd3('0xe7c')]):[];_0x45e335[_0x1cd3('0xe7d')]=_0x263d72(![]);_0x45e335[_0x1cd3('0xdde')]=_0x263d72(!![]);_0x45e335[_0x1cd3('0xe7e')]=_0x5a6cbf(![]);_0x45e335['treeCustomEvents']=_0x5a6cbf(!![]);function _0x4f90d4(_0x528c42,_0x30d90e){_0x3e0e56['go']('app.analytics.reports.edit',{'id':_0x528c42['id'],'crudPermissions':_0x45e335[_0x1cd3('0xd27')]});}function _0x153bc6(_0x558a45,_0x154dc){_0x1a3d9f[_0x1cd3('0x37e')]({'controller':_0x1cd3('0xddc'),'controllerAs':'vm','templateUrl':'app/main/apps/analytics/views/reports/copy/dialog.html','parent':angular[_0x1cd3('0x37f')](_0x43d3b1[_0x1cd3('0x380')]),'targetEvent':_0x154dc,'clickOutsideToClose':!![],'locals':{'report':_0x558a45,'apiName':_0x45e335[_0x1cd3('0xde9')],'treeCustomData':_0x45e335[_0x1cd3('0xe7f')][_0x1cd3('0xe80')](!![])['get_json']('#')}})[_0x1cd3('0x5dd')](function(){});}function _0x5982bb(_0x1b9377,_0x1212b2){_0x1a3d9f[_0x1cd3('0x37e')]({'controller':_0x1cd3('0xe6d'),'controllerAs':'vm','templateUrl':_0x1cd3('0xe81'),'parent':angular[_0x1cd3('0x37f')](_0x43d3b1['body']),'targetEvent':_0x1212b2,'clickOutsideToClose':!![],'locals':{'report':_0x1b9377,'apiName':_0x45e335[_0x1cd3('0xde9')]}});}function _0x5e5751(_0x1d5003,_0x4ba70){_0x1a3d9f[_0x1cd3('0x37e')]({'controller':_0x1cd3('0xe82'),'controllerAs':'vm','templateUrl':_0x1cd3('0xe83'),'parent':angular[_0x1cd3('0x37f')](_0x43d3b1['body']),'targetEvent':_0x4ba70,'clickOutsideToClose':!![],'locals':{'report':_0x1d5003,'apiName':_0x45e335['apiName'],'currentPath':_0x45e335['currentPath']}});}function _0x4433d8(_0xcb1bd7,_0x36dfca){var _0x1c3eba;_0x3ba1d8['analyticMetric'][_0x1cd3('0x361')]({'fields':_0x1cd3('0xe84'),'nolimit':!![]})['$promise'][_0x1cd3('0x77')](function(_0x27994c){_0x1c3eba=_[_0x1cd3('0xe2d')](_0x27994c['rows'],'id');var _0x1f899d={'fields':_0x1cd3('0xde4'),'nolimit':!![]};_0x1f899d[_0x45e335['apiName']===_0x1cd3('0x8f9')?_0x1cd3('0xe27'):_0x1cd3('0xde5')]=_0xcb1bd7['id'];return _0x3ba1d8[_0x1cd3('0x8f4')][_0x1cd3('0x361')](_0x1f899d)[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x15cebb){for(var _0x3763cf=0x0;_0x3763cf<_0x15cebb[_0x1cd3('0xf6')][_0x1cd3('0x7a')];_0x3763cf+=0x1){if(_0x15cebb['rows'][_0x3763cf]['MetricId']){_0x15cebb[_0x1cd3('0xf6')][_0x3763cf][_0x1cd3('0x450')]=_0x1c3eba[_0x15cebb['rows'][_0x3763cf]['MetricId']][_0x1cd3('0xd66')];_0x15cebb[_0x1cd3('0xf6')][_0x3763cf]['custom']=!![];}delete _0x15cebb[_0x1cd3('0xf6')][_0x3763cf][_0x1cd3('0xe26')];}var _0x199c69=_0x278161[_0x1cd3('0x924')][_0x1cd3('0x3aa')]('a');_0x199c69[_0x1cd3('0x3ab')]='data:text/json;charset=utf-8,'+_0x278161[_0x1cd3('0xe85')](angular[_0x1cd3('0x552')]({'name':_0xcb1bd7[_0x1cd3('0x98')],'description':_0xcb1bd7[_0x1cd3('0xde1')],'table':_0xcb1bd7[_0x1cd3('0xd45')],'conditions':_0xcb1bd7[_0x1cd3('0x3df')],'joins':_0xcb1bd7['joins'],'fields':_0x15cebb[_0x1cd3('0xf6')]}));_0x199c69[_0x1cd3('0x489')]=_0xcb1bd7[_0x1cd3('0x98')]+_0x1cd3('0xe86');_0x199c69[_0x1cd3('0x365')]='_self';_0x199c69[_0x1cd3('0x52d')]();_0x6c62d1[_0x1cd3('0x473')]({'title':'Report\x20downloaded!','msg':_0xcb1bd7[_0x1cd3('0x98')]?_0xcb1bd7[_0x1cd3('0x98')]+_0x1cd3('0xe87'):''});})['catch'](function(_0x49da6c){_0x6c62d1[_0x1cd3('0x434')]({'title':_0x49da6c[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x49da6c[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x49da6c['statusText']:_0x1cd3('0xe88'),'msg':_0x49da6c['data']?JSON[_0x1cd3('0x438')](_0x49da6c[_0x1cd3('0x439')]):_0x49da6c[_0x1cd3('0x43b')]()});});}function _0x247b0(_0x463fd8,_0x92dcd8){var _0x37b779=_0x1a3d9f['confirm']()[_0x1cd3('0x486')](_0x1cd3('0xe89'))[_0x1cd3('0xd60')]('<b>'+_0x463fd8['name']+_0x1cd3('0xd52')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')]('delete\x20report')[_0x1cd3('0xd63')](_0x92dcd8)['ok']('OK')['cancel'](_0x1cd3('0xd55'));_0x1a3d9f[_0x1cd3('0x37e')](_0x37b779)[_0x1cd3('0x77')](function(){_0x5e75c3(_0x463fd8);},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}var _0x49e520=!![];var _0x5938a7=0x1;_0x24b714[_0x1cd3('0x4d6')](_0x1cd3('0xd56'),function(_0x1de1e4,_0x4d5e82){if(_0x49e520){_0x1f58e7(function(){_0x49e520=![];});}else{if(!_0x4d5e82){_0x5938a7=_0x45e335['query'][_0x1cd3('0x8fd')];}if(_0x1de1e4!==_0x4d5e82){_0x45e335[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}if(!_0x1de1e4){_0x45e335[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0x5938a7;}_0x45e335[_0x1cd3('0xe76')]();}});_0x24b714[_0x1cd3('0x4d6')](_0x1cd3('0xe8a'),function(_0x45828d,_0xa85dd6){if(_0x45e335[_0x1cd3('0xe8b')]){_0x45e335[_0x1cd3('0xe8b')][_0x1cd3('0xe80')](!![])[_0x1cd3('0x3e4')](_0x45828d);}if(_0x45e335[_0x1cd3('0xe7f')]){_0x45e335[_0x1cd3('0xe7f')][_0x1cd3('0xe80')](!![])[_0x1cd3('0x3e4')](_0x45828d);}});function _0x5f4e6a(_0x201bc0){_0x45e335[_0x1cd3('0xdee')]=_0x201bc0||{'count':0x0,'rows':[]};}function _0x48ee2a(){_0x45e335[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0x45e335[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0x45e335['query'][_0x1cd3('0x8fe')];if(_0x45e335[_0x1cd3('0xde9')]){if(_0x45e335[_0x1cd3('0x3ca')][_0x1cd3('0x388')]===_0x1cd3('0x5f')||_0x45e335[_0x1cd3('0x390')][_0x1cd3('0x391')]){_0x45e335[_0x1cd3('0x539')]=_0x3ba1d8[_0x45e335[_0x1cd3('0xde9')]][_0x1cd3('0x361')](_0x45e335[_0x1cd3('0x3d4')],_0x5f4e6a)['$promise'];}else{var _0x6ec89a=[];_0x45e335['promise']=_0x3ba1d8[_0x45e335['apiName']][_0x1cd3('0x361')](_0x45e335[_0x1cd3('0x3d4')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x223f53){_0x6ec89a=_0x223f53&&_0x223f53[_0x1cd3('0xf6')]?_0x223f53[_0x1cd3('0xf6')]:[];if(_0x6ec89a[_0x1cd3('0x7a')]>0x0){return _0x3ba1d8[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x45e335[_0x1cd3('0x390')]['id'],'type':_0x45e335['apiName']===_0x1cd3('0x8f7')?_0x1cd3('0xe8c'):_0x1cd3('0xe8d')})['$promise']['then'](function(_0x37d76c){var _0x2e20ba=_0x37d76c&&_0x37d76c['rows']?_0x37d76c[_0x1cd3('0xf6')]:[];if(_0x2e20ba[_0x1cd3('0x7a')]>0x0){var _0x2e12dc=[];_0x6ec89a['forEach'](function(_0x77d279){var _0x17fd53=_[_0x1cd3('0x442')](_0x2e20ba,[_0x1cd3('0xe8e'),_0x77d279['id']]);if(_0x17fd53)_0x2e12dc[_0x1cd3('0x7b')](_0x77d279);});return _0x5f4e6a({'count':_0x2e12dc[_0x1cd3('0x7a')],'rows':_0x2e12dc});}else{return _0x5f4e6a(null);}});}else{return _0x5f4e6a(null);}});}}}function _0xa1f9ad(_0x49259e,_0x6c5f38){_0x1a3d9f[_0x1cd3('0x37e')]({'controller':_0x1cd3('0xdeb'),'controllerAs':'vm','templateUrl':'app/main/apps/analytics/views/reports/create/dialog.html','parent':angular[_0x1cd3('0x37f')](_0x43d3b1['body']),'targetEvent':_0x49259e,'clickOutsideToClose':!![],'locals':{'report':_0x6c5f38,'reports':_0x45e335[_0x1cd3('0xdee')][_0x1cd3('0xf6')],'apiName':_0x45e335['apiName'],'currentNode':_0x45e335['currentNode'],'setting':null,'crudPermissions':_0x45e335[_0x1cd3('0xd27')]}});}function _0x1c1508(_0x5b2b97,_0x2b3090,_0x4b3de7){if(_0x5b2b97['file'][_0x1cd3('0x424')]==='application/json'){var _0x3928d0=new FileReader();_0x3928d0[_0x1cd3('0xe8f')]=function(_0x4c16de){console[_0x1cd3('0x7d')](_0x4c16de[_0x1cd3('0x365')][_0x1cd3('0xe90')]);try{var _0x45c474=atob(_0x4c16de[_0x1cd3('0x365')][_0x1cd3('0xe90')][_0x1cd3('0x3ef')](',')[0x1]);_0x45c474=angular[_0x1cd3('0x4ec')](_0x45c474);_0x3ba1d8[_0x1cd3('0x8f9')][_0x1cd3('0xd6d')]({'name':_0x45c474[_0x1cd3('0x98')],'description':_0x45c474[_0x1cd3('0xde1')],'table':_0x45c474[_0x1cd3('0xd45')],'conditions':_0x45c474['conditions'],'joins':_0x45c474['joins'],'parent':_0x45e335[_0x1cd3('0xde8')]['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x509fb2){_0x45e335[_0x1cd3('0xdee')][_0x1cd3('0xf6')][_0x1cd3('0x621')](_0x509fb2);_0x6c62d1[_0x1cd3('0x473')]({'title':'Report\x20saved!','msg':_0x509fb2[_0x1cd3('0x98')]?_0x509fb2[_0x1cd3('0x98')]+_0x1cd3('0xd37'):''});var _0x44fab2=_['map'](_0x45c474[_0x1cd3('0x3c7')],function(_0x2d32c6){return _[_0x1cd3('0x4d2')]({},_0x2d32c6,{'CustomReportId':_0x509fb2['id']});});return _0x3ba1d8[_0x1cd3('0x8f4')][_0x1cd3('0xde6')](_0x44fab2)['$promise'];})[_0x1cd3('0x77')](function(_0x33adbc){_0x6c62d1[_0x1cd3('0x473')]({'title':_0x1cd3('0xe91'),'msg':_0x1cd3('0xe92')});})[_0x1cd3('0xfd')](function(_0x36e5ef){_0x6c62d1[_0x1cd3('0x434')]({'title':_0x36e5ef[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x36e5ef[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x36e5ef[_0x1cd3('0xd35')]:_0x1cd3('0xe93'),'msg':_0x36e5ef[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x36e5ef[_0x1cd3('0x439')]):_0x36e5ef['toString']()});});}catch(_0xa500be){console[_0x1cd3('0x434')](_0xa500be);_0x6c62d1[_0x1cd3('0x434')]({'title':_0x1cd3('0xe94'),'msg':_0xa500be[_0x1cd3('0x43b')]()});}};_0x3928d0[_0x1cd3('0xe95')](_0x5b2b97[_0x1cd3('0xe96')]);}else{_0x6c62d1[_0x1cd3('0x434')]({'title':'Format\x20Error','msg':'Please\x20use\x20only\x20json\x20files'});}}function _0x5e75c3(_0x146853){if(_0x45e335[_0x1cd3('0xde9')]){_0x3ba1d8[_0x45e335['apiName']][_0x1cd3('0xa1c')]({'id':_0x146853['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x45e335[_0x1cd3('0xdee')][_0x1cd3('0xf6')],{'id':_0x146853['id']});_0x45e335[_0x1cd3('0xdee')]['count']-=0x1;if(!_0x45e335[_0x1cd3('0xdee')]['rows']['length']){_0x45e335['getReports']();}_0x6c62d1[_0x1cd3('0x473')]({'title':'Report\x20deleted!','msg':_0x146853[_0x1cd3('0x98')]?_0x146853['name']+'\x20has\x20been\x20deleted!':''});})[_0x1cd3('0xfd')](function(_0x6a88d1){if(_0x6a88d1['data']&&_0x6a88d1[_0x1cd3('0x439')]['errors']&&_0x6a88d1[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x45e335['errors']=_0x6a88d1[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x6a88d1[_0x1cd3('0x43b')](),'type':_0x1cd3('0xe97')}];for(var _0x78496a=0x0;_0x78496a<_0x6a88d1[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length'];_0x78496a++){_0x6c62d1['error']({'title':_0x6a88d1[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x78496a][_0x1cd3('0x424')],'msg':_0x6a88d1['data'][_0x1cd3('0xd34')][_0x78496a][_0x1cd3('0x43a')]});}}else{_0x6c62d1[_0x1cd3('0x434')]({'title':_0x6a88d1[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x6a88d1['status']+_0x1cd3('0x436')+_0x6a88d1[_0x1cd3('0xd35')]:'api.analyticreport.delete','msg':_0x6a88d1[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x6a88d1[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x6a88d1[_0x1cd3('0x43a')]||_0x6a88d1[_0x1cd3('0x43b')]()});}});}}function _0x278159(){var _0x1145a3=angular[_0x1cd3('0x429')](_0x45e335[_0x1cd3('0xe6f')]);_0x45e335['selectedReports']=[];return _0x1145a3;}function _0x10f7c6(_0x4abbf6){var _0x36cad2=_0x1a3d9f[_0x1cd3('0xd39')]()['title'](_0x1cd3('0xe98'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x45e335[_0x1cd3('0xe6f')][_0x1cd3('0x7a')]+_0x1cd3('0xd61')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0xe99'))[_0x1cd3('0xd63')](_0x4abbf6)['ok']('OK')['cancel'](_0x1cd3('0xd55'));_0x1a3d9f[_0x1cd3('0x37e')](_0x36cad2)[_0x1cd3('0x77')](function(){_0x45e335['selectedReports']['forEach'](function(_0x459d88){_0x5e75c3(_0x459d88);});_0x45e335[_0x1cd3('0xe6f')]=[];});}function _0x4d90c9(){_0x45e335[_0x1cd3('0xe6f')]=[];}function _0x5f1ce1(){_0x45e335[_0x1cd3('0xe6f')]=_0x45e335[_0x1cd3('0xdee')][_0x1cd3('0xf6')];}function _0x4671b2(_0x2370c9,_0xd8cc62){_0x45e335['treeDefaultInstance']['jstree'](!![])['deselect_all']();_0x45e335[_0x1cd3('0xe8b')][_0x1cd3('0xe80')](!![])[_0x1cd3('0xe9a')]();_0x45e335[_0x1cd3('0xde8')]=_0xd8cc62[_0x1cd3('0x56e')];_0x45e335['currentNode']['custom']=!![];_0x45e335[_0x1cd3('0xe71')]=_0x45e335[_0x1cd3('0xe7f')][_0x1cd3('0xe80')](!![])[_0x1cd3('0xe9b')](_0x45e335[_0x1cd3('0xde8')])[_0x1cd3('0x3de')]('/\x20');_0x45e335[_0x1cd3('0xde9')]='analyticCustomReport';_0x45e335[_0x1cd3('0x3d4')][_0x1cd3('0x36c')]=_0xd8cc62['node']['id'];_0x48ee2a();}function _0x3217ca(_0x14231f,_0x332558){_0x45e335[_0x1cd3('0xe7f')][_0x1cd3('0xe80')](!![])[_0x1cd3('0xe9c')]();_0x45e335[_0x1cd3('0xe7f')]['jstree'](!![])['close_all']();_0x45e335[_0x1cd3('0xde8')]=_0x332558[_0x1cd3('0x56e')];_0x45e335[_0x1cd3('0xde8')]['custom']=![];_0x45e335[_0x1cd3('0xe71')]=_0x45e335['treeDefaultInstance'][_0x1cd3('0xe80')](!![])[_0x1cd3('0xe9b')](_0x45e335[_0x1cd3('0xde8')])[_0x1cd3('0x3de')]('/\x20');_0x45e335[_0x1cd3('0xde9')]=_0x1cd3('0x8f7');_0x45e335['query'][_0x1cd3('0x36c')]=_0x332558[_0x1cd3('0x56e')]['id'];_0x48ee2a();}function _0xea3aae(_0x37911b,_0xb7af64){}function _0x3ba8f0(_0x2fb2ef,_0x4e01fd){var _0x4a662=angular[_0x1cd3('0x552')](_0x45e335['treeCustomInstance'][_0x1cd3('0xe80')](!![])[_0x1cd3('0xe9d')]('#'));_0x3ba1d8[_0x1cd3('0xe9e')]['update']({'id':0x2,'tree':_0x4a662})[_0x1cd3('0x81')]['then'](function(){if(_0x45e8b6[_0x1cd3('0xf6')][0x1]){_0x45e8b6[_0x1cd3('0xf6')][0x1][_0x1cd3('0xe7c')]=_0x4a662;}_0x6c62d1['success']({'title':_0x1cd3('0xe9f'),'msg':_0x4e01fd['node'][_0x1cd3('0x401')]?_0x4e01fd[_0x1cd3('0x56e')][_0x1cd3('0x401')]+_0x1cd3('0xe65'):_0x1cd3('0xea0')});})[_0x1cd3('0xfd')](function(_0x1776c8){_0x6c62d1[_0x1cd3('0x434')]({'title':_0x1776c8['status']?'API:'+_0x1776c8['status']+_0x1cd3('0x436')+_0x1776c8['statusText']:'SYSTEM:UPDATEanalyticTreeReport','msg':_0x1776c8[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x1776c8['data']):_0x1776c8['toString']()});});}function _0x263d72(_0x26639a){return{'core':{'multiple':![],'animation':!![],'error':function(_0x36db1f){console[_0x1cd3('0x434')](_0x1cd3('0xddf')+angular[_0x1cd3('0x552')](_0x36db1f));},'check_callback':!![],'worker':!![]},'version':0x1,'plugins':_0x26639a?['contextmenu',_0x1cd3('0xea1'),_0x1cd3('0x3e4'),_0x1cd3('0x19'),_0x1cd3('0xea2')]:['search','state',_0x1cd3('0xea2')],'contextmenu':{'items':function(_0x3ce5dd){var _0x2e822e={};if(_0x45e335['crudPermissions'][_0x1cd3('0xe3b')]){_[_0x1cd3('0x382')](_0x2e822e,{'create':{'label':_0x553186[_0x1cd3('0x44a')](_0x1cd3('0xea3')),'action':function(){_0x3ce5dd=_0x45e335[_0x1cd3('0xe7f')][_0x1cd3('0xe80')](!![])['create_node'](_0x3ce5dd);_0x45e335[_0x1cd3('0xe7f')][_0x1cd3('0xe80')](!![])[_0x1cd3('0xea4')](_0x3ce5dd);}},'rename':{'_disabled':_0x3ce5dd[_0x1cd3('0x36c')]==='#','label':_0x553186['instant'](_0x1cd3('0xea5')),'action':function(){_0x45e335['treeCustomInstance']['jstree'](!![])['edit'](_0x3ce5dd);}}});}if(_0x45e335[_0x1cd3('0xd27')][_0x1cd3('0xea6')]){_[_0x1cd3('0x382')](_0x2e822e,{'remove':{'_disabled':_0x3ce5dd[_0x1cd3('0x36c')]==='#','label':_0x553186[_0x1cd3('0x44a')](_0x1cd3('0xea7')),'action':function(){var _0x29c1fc=_0x1a3d9f[_0x1cd3('0xd39')]()['title'](_0x1cd3('0xea8'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+(_0x3ce5dd[_0x1cd3('0x401')]?_0x3ce5dd[_0x1cd3('0x401')]:_0x1cd3('0xea9'))+_0x1cd3('0xd52')+'\x20and\x20its\x20subnode\x20will\x20be\x20deleted.')['ariaLabel'](_0x1cd3('0xeaa'))['ok']('OK')['cancel']('CANCEL');_0x1a3d9f[_0x1cd3('0x37e')](_0x29c1fc)[_0x1cd3('0x77')](function(){var _0x22e8fd=_0x45e335['treeCustomInstance'][_0x1cd3('0xe80')](!![])[_0x1cd3('0xeab')](_0x3ce5dd);_0x22e8fd=_0x45e335[_0x1cd3('0xe7f')][_0x1cd3('0xe80')](!![])[_0x1cd3('0xeac')](_0x22e8fd);_0x45e335[_0x1cd3('0xe7f')][_0x1cd3('0xe80')](!![])[_0x1cd3('0xead')](_0x3ce5dd);_0x5bf492([_0x3ce5dd['id']][_0x1cd3('0x3ae')](_0x3ce5dd[_0x1cd3('0xeae')]||[]));_0x45e335[_0x1cd3('0xe7f')][_0x1cd3('0xe80')](!![])['select_node'](_0x22e8fd);});}}});}return _0x2e822e;}}};}function _0x5bf492(_0x854e94){return _0x3ba1d8[_0x1cd3('0x8f9')][_0x1cd3('0x361')]({'parent':_0x854e94['join'](','),'fields':'id,name'})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0xa9c836){if(_0xa9c836&&_0xa9c836[_0x1cd3('0xf6')]){_0xa9c836[_0x1cd3('0xf6')]['forEach'](function(_0x521a90){_0x5e75c3(_0x521a90);});}})[_0x1cd3('0xfd')](function(_0x26a271){_0x6c62d1['error']({'title':_0x26a271[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x26a271['status']+'\x20-\x20'+_0x26a271[_0x1cd3('0xd35')]:_0x1cd3('0xeaf'),'msg':_0x26a271['data']?JSON[_0x1cd3('0x438')](_0x26a271[_0x1cd3('0x439')]):_0x26a271['toString']()});});}function _0x5a6cbf(_0x349ccf){return _0x349ccf?{'create_node':_0x3ba8f0,'rename_node':_0x3ba8f0,'move_node':_0x3ba8f0,'delete_node':_0x3ba8f0,'select_node':_0x4671b2}:{'select_node':_0x3217ca};}}}());(function(){'use strict';_0x528944['$inject']=[_0x1cd3('0xd24'),_0x1cd3('0x3c5'),_0x1cd3('0x461'),_0x1cd3('0xdda'),_0x1cd3('0x370'),_0x1cd3('0xde9'),'$document',_0x1cd3('0xe71')];angular[_0x1cd3('0x0')](_0x1cd3('0x34'))['controller']('RunReportDialogController',_0x528944);function _0x528944(_0x237ca6,_0x222f11,_0x23b850,_0xd74954,_0x5d7fe9,_0x3c5d97,_0x39da1c,_0x352ebe){var _0x4b336b=this;_0x4b336b[_0x1cd3('0xd34')]=[];_0x4b336b[_0x1cd3('0xdda')]=angular[_0x1cd3('0x429')](_0xd74954);_0x4b336b[_0x1cd3('0xeb0')]={};_0x4b336b['runReport']=_0x2053c2;_0x4b336b['closeDialog']=_0x1fa91f;_0x4b336b['refreshDate']=_0x7dc32d;_0x7dc32d();function _0x7dc32d(){_0x4b336b[_0x1cd3('0xeb0')]={'id':_0x4b336b['report']['id'],'name':_0x4b336b[_0x1cd3('0xdda')][_0x1cd3('0x98')],'startDate':new Date(moment()[_0x1cd3('0x12e')]('day')),'endDate':new Date(moment()[_0x1cd3('0x131')](_0x1cd3('0x138'))),'output':_0x1cd3('0xeb1'),'fullPath':_0x352ebe?_0x352ebe+'/'+_0x4b336b[_0x1cd3('0xdda')][_0x1cd3('0x98')]:_0x4b336b[_0x1cd3('0xdda')][_0x1cd3('0x98')]};}function _0x2053c2(_0x2e0543){_0x4b336b[_0x1cd3('0xd34')]=[];_0x4b336b[_0x1cd3('0xeb2')]=_[_0x1cd3('0x382')]({},_0x4b336b['export'],{'startDate':moment(_0x4b336b['export'][_0x1cd3('0xeb3')])[_0x1cd3('0x130')](_0x1cd3('0x377')),'endDate':moment(_0x4b336b['export'][_0x1cd3('0xeb4')])[_0x1cd3('0x130')](_0x1cd3('0x377'))});_0x5d7fe9[_0x3c5d97]['run'](_0x4b336b[_0x1cd3('0xeb2')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x5e4b9a){if(_0x4b336b['export']['output']===_0x1cd3('0x8f1')){_0x222f11[_0x1cd3('0x37e')]({'controller':_0x1cd3('0xeb5'),'controllerAs':'vm','templateUrl':_0x1cd3('0xeb6'),'parent':angular[_0x1cd3('0x37f')](_0x39da1c[_0x1cd3('0x380')]),'targetEvent':_0x2e0543,'skipHide':!![],'locals':{'apiName':_0x3c5d97,'exportDate':_0x4b336b[_0x1cd3('0xeb2')],'results':_0x5e4b9a},'resolve':{'columns':[_0x1cd3('0x62'),function(_0x3f22ae){var _0x3bed16={'fields':'field,alias','nolimit':!![]};_0x3bed16[_0x3c5d97===_0x1cd3('0x8f9')?_0x1cd3('0xe27'):_0x1cd3('0xde5')]=_0x4b336b[_0x1cd3('0xdda')]['id'];return _0x3f22ae[_0x1cd3('0x58')](_0x1cd3('0xeb7'),_0x3bed16);}]}});}else{_0x23b850[_0x1cd3('0x473')]({'title':_0x1cd3('0xeb8'),'msg':_0x4b336b[_0x1cd3('0xdda')][_0x1cd3('0x98')]?_0x4b336b[_0x1cd3('0xdda')]['name']+_0x1cd3('0xeb9'):''});_0x1fa91f();}})[_0x1cd3('0xfd')](function(_0x3d0a07){_0x23b850[_0x1cd3('0x434')]({'title':_0x3d0a07[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x3d0a07[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x3d0a07['statusText']:_0x1cd3('0xe0e'),'msg':_0x3d0a07[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x3d0a07[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x3d0a07[_0x1cd3('0x43b')]()});});}function _0x1fa91f(){_0x222f11[_0x1cd3('0x39d')]();}}}());(function(){'use strict';_0x360f29['$inject']=['$mdDialog',_0x1cd3('0x461'),_0x1cd3('0x370'),'columns','results',_0x1cd3('0xde9'),_0x1cd3('0xeb2')];angular[_0x1cd3('0x0')](_0x1cd3('0x34'))['controller'](_0x1cd3('0xeb5'),_0x360f29);function _0x360f29(_0x150d8b,_0x54b5f6,_0x4bf7e3,_0x4d9b2f,_0x5aa7da,_0x203736,_0x18f74a){var _0x9e4846=this;_0x9e4846['errors']=[];_0x9e4846[_0x1cd3('0x8f0')]=_0x4d9b2f?_0x4d9b2f[_0x1cd3('0xf6')]:[];_0x9e4846[_0x1cd3('0x701')]=_0x5aa7da||{'rows':[],'count':0x0};_0x9e4846[_0x1cd3('0x3d4')]={'limit':0xa,'page':0x1};_0x9e4846['closeDialog']=_0x432d91;_0x9e4846[_0x1cd3('0x8f2')]=_0x4b4278;_0x9e4846[_0x1cd3('0x8f3')]=_0x21b3cb;function _0x4b4278(){_0x18f74a[_0x1cd3('0xd57')]=(_0x9e4846['query'][_0x1cd3('0x8fd')]-0x1)*_0x9e4846[_0x1cd3('0x3d4')]['limit'];_0x18f74a[_0x1cd3('0x8fe')]=_0x9e4846[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];_0x9e4846[_0x1cd3('0x539')]=_0x4bf7e3[_0x203736][_0x1cd3('0x35d')](_0x18f74a,_0x4e23b5)[_0x1cd3('0x81')];}function _0x21b3cb(_0x42a4c6,_0x532721){if(moment(_0x532721,_0x1cd3('0x8ff'),!![])[_0x1cd3('0x490')]()){_0x532721=moment(_0x532721,'')[_0x1cd3('0x130')](_0x1cd3('0x377'));}return _0x532721;}function _0x4e23b5(_0x4b06db){_0x9e4846[_0x1cd3('0x701')]=_0x4b06db||{'count':0x0,'rows':[]};}function _0x432d91(){_0x150d8b[_0x1cd3('0x39d')]();}}}());(function(){'use strict';_0x14c361[_0x1cd3('0xc')]=['$scope','$state',_0x1cd3('0xd24'),_0x1cd3('0x3c5'),'$q',_0x1cd3('0x3f7'),_0x1cd3('0x461'),_0x1cd3('0xeba'),_0x1cd3('0xebb'),_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0x463'),_0x1cd3('0xc49'),_0x1cd3('0xd27')];angular['module'](_0x1cd3('0x83'))[_0x1cd3('0x39b')](_0x1cd3('0xebc'),_0x14c361);function _0x14c361(_0x29630e,_0x2fdb75,_0x228aa3,_0x4e794e,_0xd4a691,_0x2155e8,_0x3a9838,_0x581ce5,_0x588f97,_0x1cb2d3,_0x30fffe,_0x1ea63c,_0x59ac27,_0x2c295d){var _0x278f31=this;_0x278f31[_0x1cd3('0x3ca')]=_0x30fffe[_0x1cd3('0x5d')]();_0x278f31['errors']=[];_0x278f31[_0x1cd3('0xc49')]=_0x59ac27;_0x278f31['license']=_0x1ea63c;_0x278f31[_0x1cd3('0xd27')]=_0x2c295d;_0x278f31[_0x1cd3('0xd28')]={};_0x278f31['passwordPattern']=_0x278f31[_0x1cd3('0xc49')]&&_0x278f31[_0x1cd3('0xc49')]['securePassword']?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x278f31[_0x1cd3('0x486')]=_0x1cd3('0xebd');_0x278f31['odbc']=angular[_0x1cd3('0x429')](_0x588f97);_0x278f31['odbcs']=_0x581ce5;_0x278f31[_0x1cd3('0xebe')]=![];if(!_0x278f31['odbc']){_0x278f31[_0x1cd3('0xebb')]={};_0x278f31[_0x1cd3('0x486')]='CALLYSQUARE.NEW_ODBC';_0x278f31['newOdbc']=!![];}_0x278f31[_0x1cd3('0xebf')]=_0x4a77aa;_0x278f31[_0x1cd3('0xec0')]=_0x2bd7a5;_0x278f31[_0x1cd3('0xec1')]=_0x4974b1;_0x278f31[_0x1cd3('0xd31')]=_0x4b44f3;_0x278f31[_0x1cd3('0x39c')]=_0x1ae337;function _0x4a77aa(){_0x278f31[_0x1cd3('0xd34')]=[];_0x1cb2d3[_0x1cd3('0xc51')][_0x1cd3('0xd6d')](_0x278f31[_0x1cd3('0xebb')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x19df90){_0x278f31['odbcs'][_0x1cd3('0x621')](_0x19df90[_0x1cd3('0xd32')]());_0x3a9838[_0x1cd3('0x473')]({'title':_0x1cd3('0xec2'),'msg':_0x278f31['odbc'][_0x1cd3('0x98')]?_0x278f31[_0x1cd3('0xebb')][_0x1cd3('0x98')]+_0x1cd3('0xd33'):''});_0x1ae337(_0x19df90);})['catch'](function(_0x31869b){if(_0x31869b['data']&&_0x31869b[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x31869b[_0x1cd3('0x439')]['errors']['length']){_0x278f31['errors']=_0x31869b[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x31869b[_0x1cd3('0x43b')](),'type':_0x1cd3('0xec3')}];for(var _0x3f9665=0x0;_0x3f9665<_0x31869b['data']['errors']['length'];_0x3f9665+=0x1){_0x3a9838[_0x1cd3('0x434')]({'title':_0x31869b[_0x1cd3('0x439')]['errors'][_0x3f9665][_0x1cd3('0x424')],'msg':_0x31869b['data'][_0x1cd3('0xd34')][_0x3f9665][_0x1cd3('0x43a')]});}}else{_0x3a9838[_0x1cd3('0x434')]({'title':_0x31869b['status']?_0x1cd3('0x435')+_0x31869b['status']+_0x1cd3('0x436')+_0x31869b[_0x1cd3('0xd35')]:_0x1cd3('0xec3'),'msg':_0x31869b[_0x1cd3('0x439')]?JSON['stringify'](_0x31869b['data'][_0x1cd3('0x43a')]):_0x31869b['toString']()});}});}function _0x2bd7a5(){_0x278f31[_0x1cd3('0xd34')]=[];_0x1cb2d3[_0x1cd3('0xc51')][_0x1cd3('0x378')]({'id':_0x278f31[_0x1cd3('0xebb')]['id']},_0x278f31['odbc'])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x2bc664){var _0x4f529f=_[_0x1cd3('0x442')](_0x278f31[_0x1cd3('0xeba')],{'id':_0x2bc664['id']});if(_0x4f529f){_[_0x1cd3('0xf2')](_0x4f529f,_[_0x1cd3('0x5e8')](_0x2bc664[_0x1cd3('0xd32')](),_[_0x1cd3('0x80')](_0x4f529f)));}_0x3a9838['success']({'title':_0x1cd3('0xec4'),'msg':_0x278f31['odbc'][_0x1cd3('0x98')]?_0x278f31[_0x1cd3('0xebb')][_0x1cd3('0x98')]+_0x1cd3('0xd37'):''});_0x1ae337(_0x2bc664);})[_0x1cd3('0xfd')](function(_0x2bddb5){if(_0x2bddb5[_0x1cd3('0x439')]&&_0x2bddb5[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x2bddb5['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x278f31[_0x1cd3('0xd34')]=_0x2bddb5[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x2bddb5['toString'](),'type':_0x1cd3('0xec5')}];for(var _0x474a22=0x0;_0x474a22<_0x2bddb5[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x474a22++){_0x3a9838['error']({'title':_0x2bddb5[_0x1cd3('0x439')]['errors'][_0x474a22][_0x1cd3('0x424')],'msg':_0x2bddb5['data'][_0x1cd3('0xd34')][_0x474a22][_0x1cd3('0x43a')]});}}else{_0x3a9838[_0x1cd3('0x434')]({'title':_0x2bddb5[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x2bddb5[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x2bddb5[_0x1cd3('0xd35')]:_0x1cd3('0xec5'),'msg':_0x2bddb5['data']?JSON[_0x1cd3('0x438')](_0x2bddb5[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x2bddb5['toString']()});}});}function _0x4974b1(_0x193e6d){_0x278f31[_0x1cd3('0xd34')]=[];var _0x3d1d1f=_0x4e794e[_0x1cd3('0xd39')]()[_0x1cd3('0x486')]('Are\x20you\x20sure?')[_0x1cd3('0xd3b')](_0x1cd3('0xec6'))[_0x1cd3('0xd3d')](_0x1cd3('0xec7'))['ok']('Delete')[_0x1cd3('0x4d8')](_0x1cd3('0x674'))[_0x1cd3('0xd63')](_0x193e6d);_0x4e794e[_0x1cd3('0x37e')](_0x3d1d1f)[_0x1cd3('0x77')](function(){_0x1cb2d3[_0x1cd3('0xc51')]['delete']({'id':_0x278f31[_0x1cd3('0xebb')]['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x278f31['odbcs'],{'id':_0x278f31[_0x1cd3('0xebb')]['id']});_0x3a9838[_0x1cd3('0x473')]({'title':_0x1cd3('0xec8'),'msg':(_0x278f31[_0x1cd3('0xebb')][_0x1cd3('0x98')]||_0x1cd3('0xebb'))+_0x1cd3('0xd41')});_0x1ae337(_0x278f31['odbc']);})['catch'](function(_0x511f02){if(_0x511f02[_0x1cd3('0x439')]&&_0x511f02[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x511f02['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x278f31[_0x1cd3('0xd34')]=_0x511f02[_0x1cd3('0x439')]['errors']||[{'message':_0x511f02[_0x1cd3('0x43b')](),'type':_0x1cd3('0xec9')}];for(var _0x1106ee=0x0;_0x1106ee<_0x511f02[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x1106ee++){_0x3a9838[_0x1cd3('0x434')]({'title':_0x511f02[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1106ee][_0x1cd3('0x424')],'msg':_0x511f02[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1106ee][_0x1cd3('0x43a')]});}}else{_0x3a9838[_0x1cd3('0x434')]({'title':_0x511f02[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x511f02[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x511f02[_0x1cd3('0xd35')]:_0x1cd3('0xec9'),'msg':_0x511f02['data']?JSON[_0x1cd3('0x438')](_0x511f02[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x511f02['message']||_0x511f02['toString']()});}});},function(){});}function _0x4b44f3(_0x4b4e33){return _0x4b4e33===null?undefined:new Date(_0x4b4e33);}function _0x1ae337(_0x18d85a){_0x4e794e[_0x1cd3('0x39d')](_0x18d85a);}}}());(function(){'use strict';_0x3acaaa['$inject']=['$scope','$window',_0x1cd3('0x53e'),_0x1cd3('0x969'),_0x1cd3('0x3c5'),'$document',_0x1cd3('0x3e7'),'$translate',_0x1cd3('0xeba'),_0x1cd3('0x38a'),_0x1cd3('0x390'),_0x1cd3('0x370'),'msUtils',_0x1cd3('0x461'),'Auth',_0x1cd3('0x463'),_0x1cd3('0xc49')];angular[_0x1cd3('0x0')](_0x1cd3('0x83'))[_0x1cd3('0x39b')](_0x1cd3('0xeca'),_0x3acaaa);function _0x3acaaa(_0x4f2f88,_0x21e909,_0x25f9a6,_0x492544,_0xce28d0,_0x4b35c8,_0x8bd01e,_0x19fa90,_0xe8fe4,_0x494ba6,_0x21f994,_0x521d97,_0x5f3943,_0x1b7935,_0xefdb8e,_0x2d362e,_0x59aec8){var _0x347160=this;_0x347160[_0x1cd3('0x463')]=_0x2d362e;_0x347160[_0x1cd3('0xc49')]=_0x59aec8;_0x347160[_0x1cd3('0x3ca')]=_0xefdb8e[_0x1cd3('0x5d')]();_0x347160[_0x1cd3('0xeba')]=_0xe8fe4||{'count':0x0,'rows':[]};_0x347160['userProfile']=_0x494ba6;_0x347160['userProfileSection']=_0x21f994&&_0x21f994[_0x1cd3('0x466')]==0x1?_0x21f994['rows'][0x0]:null;_0x347160['crudPermissions']=_0xefdb8e[_0x1cd3('0xd44')](_0x347160[_0x1cd3('0x390')]?_0x347160[_0x1cd3('0x390')]['crudPermissions']:null);_0x347160[_0x1cd3('0xd45')]=_0x1cd3('0xeba');_0x347160[_0x1cd3('0xd46')]='';_0x347160['listOrderAsc']=null;_0x347160[_0x1cd3('0xecb')]=[];_0x347160['query']={'fields':_0x1cd3('0x8a'),'sort':'-updatedAt','limit':0xa,'page':0x1};_0x347160[_0x1cd3('0xd48')]=_0x105071;_0x347160['testtestOdbc']=_0x337972;_0x347160[_0x1cd3('0xecc')]=_0x5991ca;_0x347160[_0x1cd3('0x473')]=_0x2fd9fe;_0x347160['getODBC']=_0x1f64c1;_0x347160[_0x1cd3('0xecd')]=_0x437ebb;_0x347160[_0x1cd3('0xec1')]=_0x38e79a;_0x347160[_0x1cd3('0xece')]=_0xc41c5;_0x347160[_0x1cd3('0xecf')]=_0x512de9;_0x347160[_0x1cd3('0xed0')]=_0x23fbb2;_0x347160[_0x1cd3('0xed1')]=_0x37509d;function _0x105071(_0x196d10,_0x3a6b38){_0xce28d0[_0x1cd3('0x37e')]({'controller':_0x1cd3('0xebc'),'controllerAs':'vm','templateUrl':_0x1cd3('0xed2'),'parent':angular['element'](_0x4b35c8['body']),'targetEvent':_0x3a6b38,'clickOutsideToClose':!![],'locals':{'odbc':_0x196d10,'odbcs':_0x347160['odbcs'][_0x1cd3('0xf6')],'license':_0x347160['license'],'setting':null,'crudPermissions':_0x347160[_0x1cd3('0xd27')]}});}function _0x337972(_0xd82b42,_0x4d121e){return _0x521d97[_0x1cd3('0xc51')][_0x1cd3('0x658')]({'id':_0xd82b42['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x1b7935[_0x1cd3('0x473')]({'title':_0x1cd3('0xed3'),'msg':'Connection\x20succeded!'});})['catch'](function(_0x972f9e){_0x1b7935[_0x1cd3('0x434')]({'title':'Square\x20ODBC\x20properly\x20tested','msg':_0x972f9e[_0x1cd3('0x439')]?JSON['stringify'](_0x972f9e['data']):_0x972f9e[_0x1cd3('0x43b')]()});});}function _0x5991ca(_0x191d15,_0x5816f4){var _0x3ec2e9=_0xce28d0[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xd4f')+_[_0x1cd3('0xd50')](_0x1cd3('0xebb'))+'?')[_0x1cd3('0xd60')](_0x1cd3('0xd51')+(_0x191d15[_0x1cd3('0x98')]||_0x1cd3('0xebb'))+_0x1cd3('0xd52')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0xed4'))[_0x1cd3('0xd63')](_0x5816f4)['ok']('OK')['cancel'](_0x1cd3('0xd55'));_0xce28d0['show'](_0x3ec2e9)[_0x1cd3('0x77')](function(){_0x38e79a(_0x191d15);},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}var _0x4a71e7=!![];var _0x5a0b7b=0x1;_0x4f2f88['$watch'](_0x1cd3('0xd56'),function(_0x206858,_0x24766b){if(_0x4a71e7){_0x8bd01e(function(){_0x4a71e7=![];});}else{if(!_0x24766b){_0x5a0b7b=_0x347160[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0x206858!==_0x24766b){_0x347160[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}if(!_0x206858){_0x347160[_0x1cd3('0x3d4')]['page']=_0x5a0b7b;}_0x347160[_0x1cd3('0xed5')]();}});function _0x2fd9fe(_0xb674ff){_0x347160['odbcs']=_0xb674ff||{'count':0x0,'rows':[]};}function _0x1f64c1(){_0x347160[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0x347160[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0x347160[_0x1cd3('0x3d4')]['limit'];if(_0xefdb8e[_0x1cd3('0x57')](_0x1cd3('0x5f'))){_0x347160[_0x1cd3('0x539')]=_0x521d97[_0x1cd3('0xc51')][_0x1cd3('0x361')](_0x347160[_0x1cd3('0x3d4')],_0x2fd9fe)[_0x1cd3('0x81')];}else{_0x347160['query']['id']=_0x347160[_0x1cd3('0x38a')]['id'];_0x347160[_0x1cd3('0x3d4')][_0x1cd3('0xd58')]=_0x1cd3('0x8b');_0x347160[_0x1cd3('0x539')]=_0x521d97[_0x1cd3('0x38a')][_0x1cd3('0xd59')](_0x347160[_0x1cd3('0x3d4')],_0x2fd9fe)[_0x1cd3('0x81')];}}function _0x437ebb(_0x1d8770,_0x2f25e8){_0xce28d0[_0x1cd3('0x37e')]({'controller':_0x1cd3('0xebc'),'controllerAs':'vm','templateUrl':_0x1cd3('0xed2'),'parent':angular[_0x1cd3('0x37f')](_0x4b35c8['body']),'targetEvent':_0x1d8770,'clickOutsideToClose':!![],'locals':{'odbc':_0x2f25e8,'odbcs':_0x347160[_0x1cd3('0xeba')][_0x1cd3('0xf6')],'license':_0x347160[_0x1cd3('0x463')],'setting':_0x347160[_0x1cd3('0xc49')],'crudPermissions':_0x347160['crudPermissions']}});}function _0x38e79a(_0x2c4ef3){_0x521d97['squareOdbc'][_0x1cd3('0xa1c')]({'id':_0x2c4ef3['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x347160[_0x1cd3('0xeba')]['rows'],{'id':_0x2c4ef3['id']});_0x347160[_0x1cd3('0xeba')][_0x1cd3('0x466')]-=0x1;if(!_0x347160[_0x1cd3('0xeba')]['rows'][_0x1cd3('0x7a')]){_0x347160[_0x1cd3('0xed5')]();}_0x1b7935['success']({'title':_[_0x1cd3('0xd50')](_0x1cd3('0xed6'))+_0x1cd3('0xd5c'),'msg':_0x2c4ef3['name']?_0x2c4ef3[_0x1cd3('0x98')]+_0x1cd3('0xd41'):''});})[_0x1cd3('0xfd')](function(_0x1397a8){if(_0x1397a8[_0x1cd3('0x439')]&&_0x1397a8[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x1397a8['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x347160['errors']=_0x1397a8[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x1397a8[_0x1cd3('0x43b')](),'type':_0x1cd3('0xed7')}];for(var _0x8c2768=0x0;_0x8c2768<_0x1397a8[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0x8c2768++){_0x1b7935[_0x1cd3('0x434')]({'title':_0x1397a8['data'][_0x1cd3('0xd34')][_0x8c2768][_0x1cd3('0x424')],'msg':_0x1397a8['data'][_0x1cd3('0xd34')][_0x8c2768][_0x1cd3('0x43a')]});}}else{_0x1b7935[_0x1cd3('0x434')]({'title':_0x1397a8[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x1397a8[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x1397a8[_0x1cd3('0xd35')]:_0x1cd3('0xed7'),'msg':_0x1397a8['data']?JSON['stringify'](_0x1397a8[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x1397a8['message']||_0x1397a8['toString']()});}});}function _0xc41c5(){var _0x32d47a=angular[_0x1cd3('0x429')](_0x347160['selectedODBC']);_0x347160[_0x1cd3('0xecb')]=[];return _0x32d47a;}function _0x512de9(_0x47b1bc){var _0x202a5d=_0xce28d0[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xed8'))['htmlContent'](_0x1cd3('0xd51')+_0x347160[_0x1cd3('0xecb')][_0x1cd3('0x7a')]+_0x1cd3('0xd61')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0xed9'))[_0x1cd3('0xd63')](_0x47b1bc)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0xce28d0['show'](_0x202a5d)[_0x1cd3('0x77')](function(){_0x347160['selectedODBC'][_0x1cd3('0x394')](function(_0x204c76){_0x38e79a(_0x204c76);});_0x347160[_0x1cd3('0xecb')]=[];});}function _0x23fbb2(){_0x347160[_0x1cd3('0xecb')]=[];}function _0x37509d(){_0x347160[_0x1cd3('0xecb')]=_0x347160['odbcs'][_0x1cd3('0xf6')];}}}());(function(){'use strict';_0x2250c4['$inject']=[_0x1cd3('0x3c5'),_0x1cd3('0x371'),_0x1cd3('0x53e'),'Auth',_0x1cd3('0x461'),_0x1cd3('0xeda'),'project',_0x1cd3('0x370'),_0x1cd3('0xedb'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x83'))[_0x1cd3('0x39b')](_0x1cd3('0xedc'),_0x2250c4);function _0x2250c4(_0x119529,_0x57c53f,_0x334ae1,_0x368490,_0x16686e,_0x15a1c7,_0x4bebd9,_0x38b87f,_0x4c754b,_0x1756cc){var _0x4a9aad=this;_0x4a9aad[_0x1cd3('0xd34')]=[];_0x4a9aad['title']='CALLYSQUARE.EDIT_PROJECT';_0x4a9aad['crudPermissions']=_0x1756cc;_0x4a9aad[_0x1cd3('0xedd')]=angular['copy'](_0x4bebd9);_0x4a9aad[_0x1cd3('0xede')]=!![];_0x4a9aad[_0x1cd3('0xeda')]=_0x15a1c7;_0x4a9aad[_0x1cd3('0xedf')]=![];_0x4a9aad[_0x1cd3('0xedb')]=_0x4c754b;if(!_0x4a9aad[_0x1cd3('0xedd')]){_0x4a9aad[_0x1cd3('0xedd')]={'name':'','description':''};_0x4a9aad['title']=_0x1cd3('0xee0');_0x4a9aad[_0x1cd3('0xedf')]=!![];}_0x4a9aad['addNewProject']=_0x1fc340;_0x4a9aad[_0x1cd3('0xee1')]=_0x11cbf8;_0x4a9aad['deleteProject']=_0x1c0a0e;_0x4a9aad[_0x1cd3('0x39c')]=_0x2b4fcb;function _0x1fc340(){_0x4a9aad['errors']=[];_0x38b87f[_0x1cd3('0xc55')]['save'](_0x4a9aad[_0x1cd3('0xedd')])[_0x1cd3('0x81')]['then'](function(_0x547fa0){_0x38b87f['user'][_0x1cd3('0xee2')]({'id':_0x368490['getCurrentUser']()['id'],'ids':[_0x547fa0['id']]})[_0x1cd3('0x81')];return _0x547fa0;})[_0x1cd3('0x77')](function(_0x44e0b8){_0x4a9aad[_0x1cd3('0xeda')][_0x1cd3('0x621')](_0x44e0b8);_0x16686e['success']({'title':_0x1cd3('0xee3'),'msg':_0x4a9aad[_0x1cd3('0xedd')][_0x1cd3('0x98')]?_0x4a9aad[_0x1cd3('0xedd')][_0x1cd3('0x98')]+_0x1cd3('0xd33'):''});_0x2b4fcb(_0x44e0b8);if(_0x4a9aad[_0x1cd3('0xedb')]){_0x4a9aad['newWindow']?_0x57c53f[_0x1cd3('0xee4')](_0x1cd3('0xee5')+_0x44e0b8['id'],_0x1cd3('0xee6')):_0x334ae1['go'](_0x1cd3('0x9a'),{'id':_0x44e0b8['id']});}})[_0x1cd3('0xfd')](function(_0x3c54d3){if(_0x3c54d3['data']&&_0x3c54d3[_0x1cd3('0x439')]['errors']&&_0x3c54d3[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length']){_0x4a9aad[_0x1cd3('0xd34')]=_0x3c54d3[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x3c54d3[_0x1cd3('0x43b')](),'type':_0x1cd3('0xee7')}];for(var _0x1e0a76=0x0;_0x1e0a76<_0x3c54d3['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x1e0a76++){_0x16686e[_0x1cd3('0x434')]({'title':_0x3c54d3[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1e0a76]['type'],'msg':_0x3c54d3[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1e0a76]['message']});}}else{_0x16686e['error']({'title':_0x3c54d3[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x3c54d3[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x3c54d3['statusText']:_0x1cd3('0xee7'),'msg':_0x3c54d3[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x3c54d3[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x3c54d3['toString']()});}});}function _0x11cbf8(){_0x4a9aad[_0x1cd3('0xd34')]=[];_0x38b87f[_0x1cd3('0xc55')][_0x1cd3('0x378')]({'id':_0x4a9aad[_0x1cd3('0xedd')]['id']},_0x4a9aad[_0x1cd3('0xedd')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0xd0c38a){var _0x5af606=_[_0x1cd3('0x442')](_0x4a9aad['projects'],{'id':_0xd0c38a['id']});if(_0x5af606){_[_0x1cd3('0xf2')](_0x5af606,_0xd0c38a);}_0x16686e[_0x1cd3('0x473')]({'title':_0x1cd3('0xee8'),'msg':_0x4a9aad[_0x1cd3('0xedd')][_0x1cd3('0x98')]?_0x4a9aad[_0x1cd3('0xedd')]['name']+_0x1cd3('0xd37'):''});_0x2b4fcb(_0xd0c38a);})[_0x1cd3('0xfd')](function(_0x4c878b){if(_0x4c878b['data']&&_0x4c878b[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x4c878b[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x4a9aad['errors']=_0x4c878b['data'][_0x1cd3('0xd34')]||[{'message':_0x4c878b[_0x1cd3('0x43b')](),'type':_0x1cd3('0xee9')}];for(var _0x424a85=0x0;_0x424a85<_0x4c878b[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0x424a85++){_0x16686e['error']({'title':_0x4c878b['data'][_0x1cd3('0xd34')][_0x424a85]['type'],'msg':_0x4c878b[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x424a85]['message']});}}else{_0x16686e[_0x1cd3('0x434')]({'title':_0x4c878b[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x4c878b[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x4c878b['statusText']:_0x1cd3('0xee9'),'msg':_0x4c878b['data']?JSON[_0x1cd3('0x438')](_0x4c878b[_0x1cd3('0x439')]['message']):_0x4c878b[_0x1cd3('0x43b')]()});}});}function _0x1c0a0e(){_0x4a9aad['errors']=[];var _0x10601b=_0x119529[_0x1cd3('0xd39')]()['title'](_0x1cd3('0xd3a'))[_0x1cd3('0xd3b')](_0x1cd3('0xeea'))[_0x1cd3('0xd3d')](_0x1cd3('0xeeb'))['ok'](_0x1cd3('0xd3f'))[_0x1cd3('0x4d8')](_0x1cd3('0x674'))[_0x1cd3('0xd63')](event);_0x119529[_0x1cd3('0x37e')](_0x10601b)['then'](function(){_0x38b87f[_0x1cd3('0xc55')][_0x1cd3('0xa1c')]({'id':_0x4a9aad[_0x1cd3('0xedd')]['id']})['$promise']['then'](function(){return _0x38b87f[_0x1cd3('0xc55')][_0x1cd3('0xeec')]({'id':_0x4a9aad[_0x1cd3('0xedd')]['id']})[_0x1cd3('0x81')];})['then'](function(_0x19351b){var _0x45c908=[];var _0x33bbdf=_0x19351b[_0x1cd3('0xf6')];for(var _0x118666=0x0;_0x118666<_0x33bbdf['length'];_0x118666++){_0x45c908[_0x1cd3('0x7b')](_0x38b87f[_0x1cd3('0x368')]['removeSquareProjects']({'id':_0x368490[_0x1cd3('0x5d')]()['id'],'ids':[_0x4a9aad[_0x1cd3('0xedd')]['id']]})[_0x1cd3('0x81')]);}return $q[_0x1cd3('0x7e')](_0x45c908);})[_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x4a9aad['projects'],{'id':_0x4a9aad[_0x1cd3('0xedd')]['id']});_0x16686e['success']({'title':_0x1cd3('0xeed'),'msg':_0x4a9aad[_0x1cd3('0xedd')][_0x1cd3('0x98')]?_0x4a9aad[_0x1cd3('0xedd')][_0x1cd3('0x98')]+'\x20has\x20been\x20deleted!':''});_0x2b4fcb(_0x4a9aad['project']);})['catch'](function(_0x1ca5da){console['error'](_0x1ca5da);_0x4a9aad['errors']=_0x1ca5da[_0x1cd3('0x439')]['errors']||[{'message':_0x1ca5da['toString'](),'type':_0x1cd3('0xeee')}];});},function(){});}function _0x2b4fcb(_0x23ed61){_0x119529[_0x1cd3('0x39d')](_0x23ed61);}}}());(function(){'use strict';_0x44f9bf['$inject']=[_0x1cd3('0x3c5'),_0x1cd3('0x370'),_0x1cd3('0x461'),_0x1cd3('0xeef'),_0x1cd3('0xef0'),_0x1cd3('0xef1'),'ispeechTtsLanguage',_0x1cd3('0xef2'),_0x1cd3('0xef3'),_0x1cd3('0xef4'),_0x1cd3('0xef5'),'queues',_0x1cd3('0xef6'),_0x1cd3('0xef7'),_0x1cd3('0xef8'),_0x1cd3('0xeda'),'contexts',_0x1cd3('0xef9'),_0x1cd3('0xefa'),'templates',_0x1cd3('0xf5'),_0x1cd3('0xefb'),'saveCallback',_0x1cd3('0xefc'),_0x1cd3('0xefd'),_0x1cd3('0xefe'),'pauses',_0x1cd3('0xeff'),_0x1cd3('0xf00'),'Auth',_0x1cd3('0xd27')];angular[_0x1cd3('0x0')]('app.callysquare')[_0x1cd3('0x39b')](_0x1cd3('0xf01'),_0x44f9bf);function _0x44f9bf(_0x545e0f,_0x75816c,_0x54d497,_0x50c438,_0x35a680,_0x38a91d,_0x51df65,_0x4b529f,_0x1a4975,_0x5e6aeb,_0x37af1c,_0xf2f791,_0x38b0ac,_0xf27569,_0xbc055a,_0x4006a6,_0x335656,_0x1bbba1,_0x228387,_0x10aa00,_0x1002f5,_0x4b3e49,_0x4230f2,_0x3d216b,_0x4f293b,_0x459c0a,_0x1db386,_0x4ffb58,_0x62c651,_0x1d712f,_0x45d220){var _0xbd32de=this;var _0x40184b={'playback':['file_id'],'answer':[_0x1cd3('0x8fc')],'menu':[_0x1cd3('0xf02'),'digit',_0x1cd3('0xf03'),'retry'],'getdigits':[_0x1cd3('0xf02'),_0x1cd3('0xf04'),'mindigit',_0x1cd3('0xf05'),_0x1cd3('0xf06')],'getsecretdigits':[_0x1cd3('0xf02'),_0x1cd3('0xf04'),'mindigit',_0x1cd3('0xf05'),_0x1cd3('0xf07'),_0x1cd3('0xf06')],'vswitch':[_0x1cd3('0xf04')],'database':['odbc_id','query'],'ext_dial':[_0x1cd3('0xf08'),_0x1cd3('0xf09'),_0x1cd3('0x8fc')],'set':[_0x1cd3('0xf04')],'math':[_0x1cd3('0xf04')],'gotoc':[_0x1cd3('0xf0a'),_0x1cd3('0xf0b'),_0x1cd3('0xf0c')],'system':[_0x1cd3('0xf0d')],'agi':[_0x1cd3('0xf0d')],'gotoif':[_0x1cd3('0xb65')],'saydigits':['digits'],'saynumber':[_0x1cd3('0x407')],'sayphonetic':[_0x1cd3('0x401')],'record':[_0x1cd3('0xe96'),'timeout'],'goal':[_0x1cd3('0xf0e')],'dial':[_0x1cd3('0xf0f'),'timeout'],'queue':['queue_id','timeout'],'callback':[_0x1cd3('0xf10'),_0x1cd3('0x98'),_0x1cd3('0xf09'),_0x1cd3('0xf11')],'gotoiftime':[_0x1cd3('0xf12')],'voicemail':[_0x1cd3('0xf13')],'subproject':[_0x1cd3('0xf14')],'sendSMS':[_0x1cd3('0xf15'),'to',_0x1cd3('0xf16')],'sendMail':[_0x1cd3('0xf17'),'to'],'sendFax':[_0x1cd3('0xf17'),'to','attachment_path'],'google_cloud_tts':[_0x1cd3('0xf18'),_0x1cd3('0xf19'),'text'],'tts':[_0x1cd3('0x401')],'ispeechtts':[_0x1cd3('0x401'),_0x1cd3('0x65c'),'speed'],'ispeechasr':['key',_0x1cd3('0x8fc')],'custom_app':['application'],'googleasr':[_0x1cd3('0x65c'),_0x1cd3('0x8fc')],'awspolly':[_0x1cd3('0xf1a'),'aws_secret_access_key',_0x1cd3('0x401'),_0x1cd3('0xf1b')],'lumenvoxtts':[_0x1cd3('0x401')],'sestektts':['text'],'lumenvoxasr':[_0x1cd3('0xf1c')],'sestekasr':[_0x1cd3('0xf1c')],'tildeasr':[_0x1cd3('0xf1d'),_0x1cd3('0xf1e'),_0x1cd3('0x608')],'login':[_0x1cd3('0xf1f')],'pause':[_0x1cd3('0xf1f'),_0x1cd3('0xf20')],'unpause':['findBy'],'logout':[_0x1cd3('0xf1f')],'dialogflow':[_0x1cd3('0x65c'),_0x1cd3('0x401'),_0x1cd3('0xf21')],'awslex':[_0x1cd3('0xf1a'),_0x1cd3('0xf22'),_0x1cd3('0xf23'),_0x1cd3('0xf24'),_0x1cd3('0x401')],'sesteknda':['text',_0x1cd3('0xf25'),_0x1cd3('0x5ad'),_0x1cd3('0x5ae'),_0x1cd3('0xf26')],'restapi':[_0x1cd3('0x3a4'),_0x1cd3('0xf27')],'mrcpsynth':[_0x1cd3('0x401')],'mrcprecog':['grammar']};var _0x283772={'queue':['file_id'],'database':['variable_id'],'pause':['pause_id']};var _0x423768={'sendMail':['to','cc','bcc'],'voicemail':['mailbox']};_0xbd32de[_0x1cd3('0xf28')]=_0x4b3e49['tagName'];_0xbd32de[_0x1cd3('0xf29')]=_[_0x1cd3('0x3d9')](_0x4b3e49['attributes'],function(_0x380c0e){return{'name':_0x380c0e['name'],'value':_0x380c0e[_0x1cd3('0x3db')],'defaultValue':_0x283772[_0xbd32de['cellName']]&&_[_0x1cd3('0x38f')](_0x283772[_0xbd32de[_0x1cd3('0xf28')]],_0x380c0e[_0x1cd3('0x98')]),'required':_0x40184b[_0xbd32de['cellName']]&&_['includes'](_0x40184b[_0xbd32de[_0x1cd3('0xf28')]],_0x380c0e['name']),'help':_0x423768[_0xbd32de['cellName']]&&_[_0x1cd3('0x38f')](_0x423768[_0xbd32de[_0x1cd3('0xf28')]],_0x380c0e[_0x1cd3('0x98')])};});_0xbd32de[_0x1cd3('0x42d')]={'authMethod':[{'value':'noauth','option':_0x1cd3('0xf2a')},{'value':'hmac','option':'HMAC'}],'answer':[{'value':_0x1cd3('0xf2b'),'option':_0x1cd3('0xf2c')},{'value':'no','option':'No'}],'ndagenerate_audio':[{'value':0x1,'option':_0x1cd3('0xf2c')},{'value':0x0,'option':'No'}],'ndaactivity_type':[{'value':'message','option':_0x1cd3('0xf2d')},{'value':_0x1cd3('0xf2e'),'option':_0x1cd3('0xf2f')},{'value':_0x1cd3('0xf30'),'option':_0x1cd3('0xf31')},{'value':_0x1cd3('0xf32'),'option':_0x1cd3('0xf33')}],'hiddendigitspos':[{'value':_0x1cd3('0xf34'),'option':_0x1cd3('0xf35')},{'value':_0x1cd3('0x5df'),'option':_0x1cd3('0xf36')}],'recordingFormat':[{'value':_0x1cd3('0x6b5'),'option':_0x1cd3('0xf37')},{'value':_0x1cd3('0xf38'),'option':_0x1cd3('0xf39')}],'intkey':[{'value':'#','option':'#'},{'value':'*','option':'*'}],'beep':[{'value':_0x1cd3('0xf3a'),'option':_0x1cd3('0xf2c')},{'value':'NOBEEP','option':'No'}],'model':_0x50c438,'ispeech_asr_language':_0x35a680,'ispeech_tts_language':_0x51df65,'languageCode':_0x4b529f,'ssmlGender':[{'value':_0x1cd3('0xf3b'),'option':_0x1cd3('0xf3c')},{'value':_0x1cd3('0xf3d'),'option':_0x1cd3('0xf3e')}],'google_tts_language':_0x1a4975,'google_asr_language':_0x38a91d,'google_cloud_tts_text_type':[{'value':_0x1cd3('0x401'),'option':_0x1cd3('0xf3f')},{'value':_0x1cd3('0xf40'),'option':'SSML'}],'aws_polly_region':_0x4f293b,'aws_polly_voice':_0x3d216b,'aws_text_type':[{'value':_0x1cd3('0x401'),'option':'Text'},{'value':_0x1cd3('0xf40'),'option':'SSML'}],'callback_priority':[{'option':_0x1cd3('0xf41'),'value':0x4},{'option':_0x1cd3('0xf42'),'value':0x3},{'option':_0x1cd3('0xf43'),'value':0x2},{'option':_0x1cd3('0xf44'),'value':0x1},{'option':_0x1cd3('0xf45'),'value':0x0}],'findBy':[{'value':_0x1cd3('0x311'),'option':'Internal'},{'value':_0x1cd3('0xf09'),'option':'Phone'},{'value':_0x1cd3('0x967'),'option':_0x1cd3('0xf46')}],'dialogflow_language':_0x4ffb58,'aws_lex_region':_0x62c651,'method':[{'value':'GET','option':_0x1cd3('0xf47')},{'value':'POST','option':'POST'},{'value':_0x1cd3('0xf48'),'option':_0x1cd3('0xf48')},{'value':'DELETE','option':'DELETE'}]};_0xbd32de[_0x1cd3('0xd27')]=_0x45d220;_0xbd32de[_0x1cd3('0x703')]=_0x36365a;_0xbd32de[_0x1cd3('0x39c')]=_0x70064c;_0xbd32de[_0x1cd3('0xf49')]=_0x29e4c5;function _0x36365a(){_0x1d712f[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x5f19c9():_0x2b30cf();}function _0x29e4c5(_0x369302,_0x3d1fb9,_0x5ec030,_0x28745c){return _[_0x1cd3('0x3d9')](_0x369302,function(_0x10a326){return{'value':_0x10a326[_0x3d1fb9],'option':_0x10a326[_0x5ec030],'group':_0x28745c?_0x10a326[_0x28745c]:undefined,'canSelect':typeof _0x10a326[_0x1cd3('0xf4a')]!==_0x1cd3('0x491')?_0x10a326[_0x1cd3('0xf4a')]:!![]};});}function _0x270792(_0x820359,_0x10b351,_0x155da3,_0x436101){var _0x5c6d41=_[_0x1cd3('0x395')](_0x820359,function(_0x1de0a3){return _0x1de0a3[_0x436101]===null;}),_0x5a8b41=[];_[_0x1cd3('0x394')](_0x5c6d41,function(_0xdf6053){_0x5a8b41[_0x1cd3('0x7b')]({'value':_0xdf6053[_0x10b351],'option':_0xdf6053[_0x155da3]});var _0x30917d=_[_0x1cd3('0x395')](_0x820359,function(_0x481181){return _0x481181[_0x436101]===_0xdf6053['id'];});_[_0x1cd3('0x394')](_0x30917d,function(_0x1379d0){_0x5a8b41[_0x1cd3('0x7b')]({'value':_0x1379d0[_0x10b351],'option':_0x1cd3('0x436')+_0x1379d0[_0x155da3]});});});return _0x5a8b41;}function _0x5f19c9(){var _0x768378={'sip_id':_0x29e4c5(_0x5e6aeb,'id',_0x1cd3('0xd3'),_0x1cd3('0x388')),'trunk_name':_0x29e4c5(_0x37af1c,_0x1cd3('0x98'),'name'),'trunk_id':_0x29e4c5(_0x37af1c,'id',_0x1cd3('0x98')),'queue_id':_0x29e4c5(_0xf2f791,'id',_0x1cd3('0x98')),'file_id':_0x29e4c5(_0x38b0ac,'id','name'),'variable_id':_0x29e4c5(_0xf27569,'id',_0x1cd3('0x98')),'odbc_id':_0x29e4c5(_0xbc055a,'id',_0x1cd3('0x98')),'project_id':_0x29e4c5(_0x4006a6,'id',_0x1cd3('0x98')),'context':_0x29e4c5(_0x335656,'id','name'),'interval_id':_0x270792(_0x1bbba1,'id',_0x1cd3('0x98'),_0x1cd3('0xf4b')),'account_id':_0x29e4c5(_0x228387,'id',_0x1cd3('0x98')),'template_id':_0x29e4c5(_0x10aa00,'id',_0x1cd3('0x98')),'list_id':_0x29e4c5(_0x1002f5,'id',_0x1cd3('0x98')),'sms_account_id':_0x29e4c5(_0x459c0a,'id','name'),'pause_id':_0x29e4c5(_0x1db386,'id',_0x1cd3('0x98'))};var _0x5d95f4=_['merge'](_0xbd32de[_0x1cd3('0x42d')],_0x768378);_0xbd32de['values']=_0x5d95f4;}function _0x2b30cf(){var _0x489085=['sip_id',_0x1cd3('0xf08'),'trunk_id',_0x1cd3('0xf4c'),_0x1cd3('0xf02'),_0x1cd3('0xf04'),'odbc_id',_0x1cd3('0xf14'),_0x1cd3('0xf0a'),_0x1cd3('0xf12'),_0x1cd3('0xf17'),_0x1cd3('0xf4d'),_0x1cd3('0xf10'),_0x1cd3('0xf15'),'pause_id'];for(var _0x1dbced=0x0;_0x1dbced<_0xbd32de[_0x1cd3('0xf29')]['length'];_0x1dbced++){if(_[_0x1cd3('0x38f')](_0x489085,_0xbd32de[_0x1cd3('0xf29')][_0x1dbced]['name'])){switch(_0xbd32de['attributes'][_0x1dbced][_0x1cd3('0x98')]){case _0x1cd3('0xf0f'):_0x183123();break;case _0x1cd3('0xf08'):_0x35b61a();break;case _0x1cd3('0xf4e'):_0x269d2c();break;case _0x1cd3('0xf4c'):_0x5d0b53();break;case'file_id':_0x63459d();break;case _0x1cd3('0xf04'):_0x5eb801();break;case _0x1cd3('0xf4f'):_0x5377b8();break;case _0x1cd3('0xf14'):_0x3df11a();break;case _0x1cd3('0xf0a'):_0x3e4fcc();break;case'interval_id':_0x5914d8();break;case _0x1cd3('0xf17'):_0x5c0d8f();break;case'template_id':_0x3c0d03();break;case _0x1cd3('0xf10'):_0x295529();break;case _0x1cd3('0xf15'):_0x4f0332();break;case _0x1cd3('0xf20'):_0x375fc4();break;}}}}function _0x183123(){var _0x213776=Number(_[_0x1cd3('0x442')](_0xbd32de[_0x1cd3('0xf29')],{'name':'sip_id'})[_0x1cd3('0x3db')]);var _0x5974d7=_['some'](_0x5e6aeb,{'id':_0x213776});if(!_0x5974d7&&_0x213776>0x0){return _0x75816c['user'][_0x1cd3('0x361')]({'id':_0x213776,'fields':'id,fullname,role'})['$promise']['then'](function(_0x387d85){var _0x215804=_0x387d85['toJSON']();_0x215804[_0x1cd3('0xf4a')]=![];_0x5e6aeb['push'](_0x215804);_0xbd32de[_0x1cd3('0x42d')]['sip_id']=_0x29e4c5(_0x5e6aeb,'id',_0x1cd3('0xd3'),'role');})[_0x1cd3('0xfd')](function(_0xbd920e){_0x54d497[_0x1cd3('0x434')]({'title':_0xbd920e[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0xbd920e[_0x1cd3('0x3a6')]+'\x20-\x20'+_0xbd920e[_0x1cd3('0xd35')]:'GET_USER','msg':_0xbd920e[_0x1cd3('0x439')]?JSON['stringify'](_0xbd920e[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0xbd920e['toString']()});});}else{_0xbd32de[_0x1cd3('0x42d')][_0x1cd3('0xf0f')]=_0x29e4c5(_0x5e6aeb,'id',_0x1cd3('0xd3'),_0x1cd3('0x388'));}}function _0x295529(){var _0x1686eb=Number(_[_0x1cd3('0x442')](_0xbd32de['attributes'],{'name':'list_id'})[_0x1cd3('0x3db')]);var _0x867bdd=_[_0x1cd3('0x38d')](_0x1002f5,{'id':_0x1686eb});if(!_0x867bdd&&_0x1686eb>0x0){return _0x75816c[_0x1cd3('0xc8f')][_0x1cd3('0x361')]({'id':_0x1686eb,'fields':_0x1cd3('0xa6')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x8aef72){var _0x21838e=_0x8aef72[_0x1cd3('0xd32')]();_0x21838e[_0x1cd3('0xf4a')]=![];_0x1002f5[_0x1cd3('0x7b')](_0x21838e);_0xbd32de[_0x1cd3('0x42d')][_0x1cd3('0xf10')]=_0x29e4c5(_0x1002f5,'id',_0x1cd3('0x98'));})[_0x1cd3('0xfd')](function(_0x1e715d){_0x54d497[_0x1cd3('0x434')]({'title':_0x1e715d[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x1e715d['status']+'\x20-\x20'+_0x1e715d['statusText']:_0x1cd3('0xf50'),'msg':_0x1e715d[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x1e715d[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x1e715d['toString']()});});}else{_0xbd32de[_0x1cd3('0x42d')]['list_id']=_0x29e4c5(_0x1002f5,'id',_0x1cd3('0x98'));}}function _0x269d2c(){var _0x500bed=Number(_['find'](_0xbd32de[_0x1cd3('0xf29')],{'name':_0x1cd3('0xf4e')})[_0x1cd3('0x3db')]);var _0x1b5e11=_['some'](_0x37af1c,{'id':_0x500bed});if(!_0x1b5e11&&_0x500bed>0x0){return _0x75816c['trunk']['get']({'id':_0x500bed,'fields':'id,name'})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x49a08c){var _0x24a94a=_0x49a08c[_0x1cd3('0xd32')]();_0x24a94a[_0x1cd3('0xf4a')]=![];_0x37af1c['push'](_0x24a94a);_0xbd32de[_0x1cd3('0x42d')][_0x1cd3('0xf4e')]=_0x29e4c5(_0x37af1c,'id',_0x1cd3('0x98'));})['catch'](function(_0x58ddd9){_0x54d497[_0x1cd3('0x434')]({'title':_0x58ddd9[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x58ddd9[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x58ddd9[_0x1cd3('0xd35')]:_0x1cd3('0xf51'),'msg':_0x58ddd9[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x58ddd9['data'][_0x1cd3('0x43a')]):_0x58ddd9['toString']()});});}else{_0xbd32de[_0x1cd3('0x42d')][_0x1cd3('0xf4e')]=_0x29e4c5(_0x37af1c,'id','name');}}function _0x35b61a(){var _0x35a18c=_['find'](_0xbd32de[_0x1cd3('0xf29')],{'name':_0x1cd3('0xf08')})[_0x1cd3('0x3db')];var _0xdf3022=_[_0x1cd3('0x38d')](_0x37af1c,{'name':_0x35a18c});if(!_0xdf3022&&_0x35a18c){return _0x75816c['trunk']['get']({'name':_0x35a18c,'fields':_0x1cd3('0xa6')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x3a4edb){if(_0x3a4edb[_0x1cd3('0x466')]>0x0&&_0x3a4edb[_0x1cd3('0xf6')][_0x1cd3('0x7a')]>0x0){var _0x55a52a=_0x3a4edb['rows'][0x0];_0x55a52a[_0x1cd3('0xf4a')]=![];_0x37af1c[_0x1cd3('0x7b')](_0x55a52a);_0xbd32de[_0x1cd3('0x42d')][_0x1cd3('0xf08')]=_0x29e4c5(_0x37af1c,_0x1cd3('0x98'),_0x1cd3('0x98'));}})[_0x1cd3('0xfd')](function(_0x1f8404){_0x54d497['error']({'title':_0x1f8404[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x1f8404['status']+_0x1cd3('0x436')+_0x1f8404['statusText']:_0x1cd3('0xf51'),'msg':_0x1f8404[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x1f8404[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x1f8404[_0x1cd3('0x43b')]()});});}else{_0xbd32de[_0x1cd3('0x42d')][_0x1cd3('0xf08')]=_0x29e4c5(_0x37af1c,_0x1cd3('0x98'),'name');}}function _0x5d0b53(){var _0x1d931=Number(_[_0x1cd3('0x442')](_0xbd32de[_0x1cd3('0xf29')],{'name':_0x1cd3('0xf4c')})[_0x1cd3('0x3db')]);var _0x4590ef=_[_0x1cd3('0x38d')](_0xf2f791,{'id':_0x1d931});if(!_0x4590ef&&_0x1d931>0x0){return _0x75816c[_0x1cd3('0xa48')][_0x1cd3('0x361')]({'id':_0x1d931,'fields':_0x1cd3('0xa6')})['$promise'][_0x1cd3('0x77')](function(_0x579c8f){var _0x536003=_0x579c8f[_0x1cd3('0xd32')]();_0x536003['canSelect']=![];_0xf2f791[_0x1cd3('0x7b')](_0x536003);_0xbd32de['values'][_0x1cd3('0xf4c')]=_0x29e4c5(_0xf2f791,'id','name');})[_0x1cd3('0xfd')](function(_0x28f7f0){_0x54d497[_0x1cd3('0x434')]({'title':_0x28f7f0['status']?_0x1cd3('0x435')+_0x28f7f0['status']+_0x1cd3('0x436')+_0x28f7f0['statusText']:_0x1cd3('0xf52'),'msg':_0x28f7f0[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x28f7f0[_0x1cd3('0x439')]['message']):_0x28f7f0[_0x1cd3('0x43b')]()});});}else{_0xbd32de['values'][_0x1cd3('0xf4c')]=_0x29e4c5(_0xf2f791,'id',_0x1cd3('0x98'));}}function _0x63459d(){var _0x459138=Number(_['find'](_0xbd32de[_0x1cd3('0xf29')],{'name':_0x1cd3('0xf02')})[_0x1cd3('0x3db')]);var _0xc86c1=_['some'](_0x38b0ac,{'id':_0x459138});if(!_0xc86c1&&_0x459138>0x0){return _0x75816c[_0x1cd3('0xf53')]['get']({'id':_0x459138,'fields':_0x1cd3('0xa6')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x5c3ae2){var _0x53483f=_0x5c3ae2['toJSON']();_0x53483f[_0x1cd3('0xf4a')]=![];_0x38b0ac[_0x1cd3('0x7b')](_0x53483f);_0xbd32de[_0x1cd3('0x42d')][_0x1cd3('0xf02')]=_0x29e4c5(_0x38b0ac,'id',_0x1cd3('0x98'));})[_0x1cd3('0xfd')](function(_0x23d6e5){_0x54d497['error']({'title':_0x23d6e5[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x23d6e5[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x23d6e5[_0x1cd3('0xd35')]:_0x1cd3('0xf54'),'msg':_0x23d6e5[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x23d6e5[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x23d6e5[_0x1cd3('0x43b')]()});});}else{_0xbd32de[_0x1cd3('0x42d')][_0x1cd3('0xf02')]=_0x29e4c5(_0x38b0ac,'id','name');}}function _0x5eb801(){var _0x21eaa2=Number(_[_0x1cd3('0x442')](_0xbd32de[_0x1cd3('0xf29')],{'name':_0x1cd3('0xf04')})[_0x1cd3('0x3db')]);var _0x45760b=_['some'](_0xf27569,{'id':_0x21eaa2});if(!_0x45760b&&_0x21eaa2>0x0){return _0x75816c[_0x1cd3('0xb84')][_0x1cd3('0x361')]({'id':_0x21eaa2,'fields':_0x1cd3('0xa6')})['$promise'][_0x1cd3('0x77')](function(_0x353345){var _0x115913=_0x353345[_0x1cd3('0xd32')]();_0x115913['canSelect']=![];_0xf27569[_0x1cd3('0x7b')](_0x115913);_0xbd32de[_0x1cd3('0x42d')]['variable_id']=_0x29e4c5(_0xf27569,'id',_0x1cd3('0x98'));})[_0x1cd3('0xfd')](function(_0xc13a5c){_0x54d497[_0x1cd3('0x434')]({'title':_0xc13a5c[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0xc13a5c[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0xc13a5c[_0x1cd3('0xd35')]:_0x1cd3('0xf55'),'msg':_0xc13a5c[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0xc13a5c[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0xc13a5c[_0x1cd3('0x43b')]()});});}else{_0xbd32de[_0x1cd3('0x42d')][_0x1cd3('0xf04')]=_0x29e4c5(_0xf27569,'id',_0x1cd3('0x98'));}}function _0x5377b8(){var _0x21ef2=Number(_[_0x1cd3('0x442')](_0xbd32de['attributes'],{'name':_0x1cd3('0xf4f')})[_0x1cd3('0x3db')]);var _0x25b0bd=_[_0x1cd3('0x38d')](_0xbc055a,{'id':_0x21ef2});if(!_0x25b0bd&&_0x21ef2>0x0){return _0x75816c['squareOdbc'][_0x1cd3('0x361')]({'id':_0x21ef2,'fields':_0x1cd3('0xa6')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x131f37){var _0x3daa2c=_0x131f37['toJSON']();_0x3daa2c['canSelect']=![];_0xbc055a[_0x1cd3('0x7b')](_0x3daa2c);_0xbd32de['values']['odbc_id']=_0x29e4c5(_0xbc055a,'id',_0x1cd3('0x98'));})['catch'](function(_0x4a95b2){_0x54d497[_0x1cd3('0x434')]({'title':_0x4a95b2['status']?_0x1cd3('0x435')+_0x4a95b2['status']+_0x1cd3('0x436')+_0x4a95b2['statusText']:_0x1cd3('0xf56'),'msg':_0x4a95b2[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x4a95b2[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x4a95b2[_0x1cd3('0x43b')]()});});}else{_0xbd32de['values']['odbc_id']=_0x29e4c5(_0xbc055a,'id',_0x1cd3('0x98'));}}function _0x3df11a(){var _0xde7669=Number(_[_0x1cd3('0x442')](_0xbd32de[_0x1cd3('0xf29')],{'name':'project_id'})[_0x1cd3('0x3db')]);var _0xbb2141=_[_0x1cd3('0x38d')](_0x4006a6,{'id':_0xde7669});if(!_0xbb2141&&_0xde7669>0x0){return _0x75816c['squareProject'][_0x1cd3('0x361')]({'id':_0xde7669,'fields':_0x1cd3('0xa6')})['$promise'][_0x1cd3('0x77')](function(_0x1bcb27){var _0xd16329=_0x1bcb27[_0x1cd3('0xd32')]();_0xd16329[_0x1cd3('0xf4a')]=![];_0x4006a6[_0x1cd3('0x7b')](_0xd16329);_0xbd32de[_0x1cd3('0x42d')][_0x1cd3('0xf14')]=_0x29e4c5(_0x4006a6,'id',_0x1cd3('0x98'));})['catch'](function(_0x5c69c2){_0x54d497[_0x1cd3('0x434')]({'title':_0x5c69c2[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x5c69c2[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x5c69c2[_0x1cd3('0xd35')]:_0x1cd3('0xf57'),'msg':_0x5c69c2[_0x1cd3('0x439')]?JSON['stringify'](_0x5c69c2[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x5c69c2['toString']()});});}else{_0xbd32de[_0x1cd3('0x42d')]['project_id']=_0x29e4c5(_0x4006a6,'id',_0x1cd3('0x98'));}}function _0x3e4fcc(){var _0x3e5756=Number(_['find'](_0xbd32de[_0x1cd3('0xf29')],{'name':'context'})['value']);var _0x56deaf=_[_0x1cd3('0x38d')](_0x335656,{'id':_0x3e5756});if(!_0x56deaf&&_0x3e5756>0x0){return _0x75816c[_0x1cd3('0xa3e')]['get']({'id':_0x3e5756,'fields':_0x1cd3('0xa6')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x550a22){var _0x3e4f78=_0x550a22[_0x1cd3('0xd32')]();_0x3e4f78['canSelect']=![];_0x335656[_0x1cd3('0x7b')](_0x3e4f78);_0xbd32de['values'][_0x1cd3('0xf0a')]=_0x29e4c5(_0x335656,'id',_0x1cd3('0x98'));})[_0x1cd3('0xfd')](function(_0x350aea){_0x54d497[_0x1cd3('0x434')]({'title':_0x350aea[_0x1cd3('0x3a6')]?'API:'+_0x350aea[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x350aea[_0x1cd3('0xd35')]:_0x1cd3('0xf58'),'msg':_0x350aea[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x350aea[_0x1cd3('0x439')]['message']):_0x350aea[_0x1cd3('0x43b')]()});});}else{_0xbd32de['values'][_0x1cd3('0xf0a')]=_0x29e4c5(_0x335656,'id',_0x1cd3('0x98'));}}function _0x5914d8(){var _0x13432c=Number(_[_0x1cd3('0x442')](_0xbd32de[_0x1cd3('0xf29')],{'name':'interval_id'})[_0x1cd3('0x3db')]);var _0x17ba63=_[_0x1cd3('0x38d')](_0x1bbba1,{'id':_0x13432c});if(!_0x17ba63&&_0x13432c>0x0){return _0x75816c['interval']['get']({'id':_0x13432c,'fields':_0x1cd3('0xad')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x1d9e8e){var _0x2494e7=_0x1d9e8e[_0x1cd3('0xd32')]();_0x2494e7['canSelect']=![];_0x1bbba1[_0x1cd3('0x7b')](_0x2494e7);_0xbd32de['values'][_0x1cd3('0xf12')]=_0x29e4c5(_0x1bbba1,'id',_0x1cd3('0x98'),'IntervalId');})[_0x1cd3('0xfd')](function(_0x2dc8bc){_0x54d497[_0x1cd3('0x434')]({'title':_0x2dc8bc[_0x1cd3('0x3a6')]?'API:'+_0x2dc8bc[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x2dc8bc[_0x1cd3('0xd35')]:_0x1cd3('0xf59'),'msg':_0x2dc8bc[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x2dc8bc[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x2dc8bc[_0x1cd3('0x43b')]()});});}else{_0xbd32de[_0x1cd3('0x42d')]['interval_id']=_0x29e4c5(_0x1bbba1,'id','name',_0x1cd3('0xf4b'));}}function _0x5c0d8f(){var _0x29da09=Number(_[_0x1cd3('0x442')](_0xbd32de[_0x1cd3('0xf29')],{'name':_0x1cd3('0xf17')})[_0x1cd3('0x3db')]);var _0x4e1442=_['some'](_0x228387,{'id':_0x29da09});if(!_0x4e1442&&_0x29da09>0x0){return _0x75816c[_0x1cd3('0xa7a')][_0x1cd3('0x361')]({'id':_0x29da09,'fields':_0x1cd3('0xa6')})['$promise'][_0x1cd3('0x77')](function(_0x1ac8eb){var _0x107e3f=_0x1ac8eb['toJSON']();_0x107e3f[_0x1cd3('0xf4a')]=![];_0x228387['push'](_0x107e3f);_0xbd32de[_0x1cd3('0x42d')][_0x1cd3('0xf17')]=_0x29e4c5(_0x228387,'id',_0x1cd3('0x98'));})[_0x1cd3('0xfd')](function(_0x5476c4){_0x54d497[_0x1cd3('0x434')]({'title':_0x5476c4[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x5476c4['status']+_0x1cd3('0x436')+_0x5476c4[_0x1cd3('0xd35')]:'GET_MAIL_ACCOUNT','msg':_0x5476c4[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x5476c4[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x5476c4[_0x1cd3('0x43b')]()});});}else{_0xbd32de[_0x1cd3('0x42d')][_0x1cd3('0xf17')]=_0x29e4c5(_0x228387,'id',_0x1cd3('0x98'));}}function _0x4f0332(){var _0x38ea9e=Number(_[_0x1cd3('0x442')](_0xbd32de[_0x1cd3('0xf29')],{'name':_0x1cd3('0xf15')})['value']);var _0x1609af=_['some'](_0x459c0a,{'id':_0x38ea9e});if(!_0x1609af&&_0x38ea9e>0x0){return _0x75816c[_0x1cd3('0xac5')][_0x1cd3('0x361')]({'id':_0x38ea9e,'fields':_0x1cd3('0xa6')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x379f17){var _0x68763c=_0x379f17[_0x1cd3('0xd32')]();_0x68763c['canSelect']=![];_0x459c0a[_0x1cd3('0x7b')](_0x68763c);_0xbd32de[_0x1cd3('0x42d')][_0x1cd3('0xf15')]=_0x29e4c5(_0x459c0a,'id',_0x1cd3('0x98'));})[_0x1cd3('0xfd')](function(_0x4f7508){_0x54d497[_0x1cd3('0x434')]({'title':_0x4f7508[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x4f7508[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x4f7508[_0x1cd3('0xd35')]:_0x1cd3('0xf5a'),'msg':_0x4f7508[_0x1cd3('0x439')]?JSON['stringify'](_0x4f7508[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x4f7508[_0x1cd3('0x43b')]()});});}else{_0xbd32de[_0x1cd3('0x42d')][_0x1cd3('0xf15')]=_0x29e4c5(_0x459c0a,'id',_0x1cd3('0x98'));}}function _0x3c0d03(){var _0x566c4c=Number(_[_0x1cd3('0x442')](_0xbd32de[_0x1cd3('0xf29')],{'name':_0x1cd3('0xf4d')})[_0x1cd3('0x3db')]);var _0x297f9c=_[_0x1cd3('0x38d')](_0x10aa00,{'id':_0x566c4c});if(!_0x297f9c&&_0x566c4c>0x0){return _0x75816c['template'][_0x1cd3('0x361')]({'id':_0x566c4c,'fields':_0x1cd3('0xa6')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x30e1f1){var _0x27dd9f=_0x30e1f1[_0x1cd3('0xd32')]();_0x27dd9f[_0x1cd3('0xf4a')]=![];_0x10aa00[_0x1cd3('0x7b')](_0x27dd9f);_0xbd32de['values']['template_id']=_0x29e4c5(_0x10aa00,'id','name');})[_0x1cd3('0xfd')](function(_0x3f60bc){_0x54d497[_0x1cd3('0x434')]({'title':_0x3f60bc[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x3f60bc[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x3f60bc[_0x1cd3('0xd35')]:_0x1cd3('0xf5b'),'msg':_0x3f60bc[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x3f60bc['data'][_0x1cd3('0x43a')]):_0x3f60bc[_0x1cd3('0x43b')]()});});}else{_0xbd32de[_0x1cd3('0x42d')][_0x1cd3('0xf4d')]=_0x29e4c5(_0x10aa00,'id',_0x1cd3('0x98'));}}function _0x375fc4(){var _0x5a1b46=Number(_[_0x1cd3('0x442')](_0xbd32de[_0x1cd3('0xf29')],{'name':_0x1cd3('0xf20')})[_0x1cd3('0x3db')]);var _0x1d86c7=_['some'](_0x1db386,{'id':_0x5a1b46});if(!_0x1d86c7&&_0x5a1b46>0x0){return _0x75816c['pause'][_0x1cd3('0x361')]({'id':_0x5a1b46,'fields':_0x1cd3('0xa6')})['$promise']['then'](function(_0x151129){var _0x555f72=_0x151129[_0x1cd3('0xd32')]();_0x555f72[_0x1cd3('0xf4a')]=![];_0x1db386[_0x1cd3('0x7b')](_0x555f72);_0xbd32de[_0x1cd3('0x42d')][_0x1cd3('0xf20')]=_0x29e4c5(_0x1db386,'id','name');})[_0x1cd3('0xfd')](function(_0x4b98d4){_0x54d497['error']({'title':_0x4b98d4[_0x1cd3('0x3a6')]?'API:'+_0x4b98d4['status']+_0x1cd3('0x436')+_0x4b98d4[_0x1cd3('0xd35')]:'GET_PAUSE','msg':_0x4b98d4[_0x1cd3('0x439')]?JSON['stringify'](_0x4b98d4['data'][_0x1cd3('0x43a')]):_0x4b98d4[_0x1cd3('0x43b')]()});});}else{_0xbd32de[_0x1cd3('0x42d')][_0x1cd3('0xf20')]=_0x29e4c5(_0x1db386,'id',_0x1cd3('0x98'));}}function _0x70064c(_0x38417b){_0x38417b&&_0x4230f2(_0xbd32de['attributes']);_0x545e0f[_0x1cd3('0x39d')]();}}}());(function(){'use strict';angular['module'](_0x1cd3('0x83'))[_0x1cd3('0x3e5')](_0x1cd3('0xf5c'),_0x544592);function _0x544592(){return{'require':_0x1cd3('0x47b'),'link':function(_0xf46083,_0x7f7da2,_0xc25e33,_0x1a8b5c){_0x1a8b5c[_0x1cd3('0x47e')]['push'](function(_0x4fc7bc){return''+_0x4fc7bc;});_0x1a8b5c['$formatters'][_0x1cd3('0x7b')](function(_0x3f66cb){return parseFloat(_0x3f66cb);});}};}}());(function(){'use strict';angular[_0x1cd3('0x0')](_0x1cd3('0x83'))[_0x1cd3('0x373')](_0x1cd3('0xeef'),_0xd08792)['factory'](_0x1cd3('0xef0'),_0x12b83b)[_0x1cd3('0x373')](_0x1cd3('0xf5d'),_0x1a2217)[_0x1cd3('0x373')](_0x1cd3('0xef2'),_0x2da634)[_0x1cd3('0x373')]('googleTtsLanguage',_0x2c072e)['factory'](_0x1cd3('0xef1'),_0xaf0932)[_0x1cd3('0x373')](_0x1cd3('0xefc'),_0x2b913f)[_0x1cd3('0x373')]('awsPollyRegion',_0x37fae5)['factory'](_0x1cd3('0xf00'),_0x350902)['factory']('dialogFlowLanguage',_0x39eb3c);function _0x39eb3c(){return[{'value':'da','option':'Danish'},{'value':'en','option':_0x1cd3('0xf5e')},{'value':'de','option':_0x1cd3('0xf5f')},{'value':'it','option':_0x1cd3('0xf60')},{'value':'es','option':_0x1cd3('0xf61')},{'value':'fr','option':_0x1cd3('0xf62')},{'value':'id','option':_0x1cd3('0xf63')},{'value':'ja','option':_0x1cd3('0xf64')},{'value':'ko','option':'Korean\x20(South\x20Korea)'},{'value':'nl','option':_0x1cd3('0xf65')},{'value':'no','option':_0x1cd3('0xf66')},{'value':'pt','option':_0x1cd3('0xf67')},{'value':_0x1cd3('0xf68'),'option':_0x1cd3('0xf69')},{'value':'ru','option':'Russian'},{'value':'sv','option':'Swedish'},{'value':'th','option':'Thai'},{'value':'uk','option':_0x1cd3('0xf6a')},{'value':_0x1cd3('0xf6b'),'option':'Chinese\x20(Simplified)'},{'value':_0x1cd3('0xf6c'),'option':'Chinese\x20(Hong\x20Kong)'},{'value':'zh-TW','option':_0x1cd3('0xf6d')}];}function _0x2da634(){return[{'value':_0x1cd3('0xf6e'),'option':'Arabic'},{'value':'cs-CZ','option':_0x1cd3('0xf6f')},{'value':_0x1cd3('0xf70'),'option':'Danish\x20(Denmark)'},{'value':_0x1cd3('0xf71'),'option':_0x1cd3('0xf72')},{'value':_0x1cd3('0xf73'),'option':_0x1cd3('0xf74')},{'value':'en-AU','option':_0x1cd3('0xf75')},{'value':_0x1cd3('0xf76'),'option':_0x1cd3('0xf77')},{'value':_0x1cd3('0xf78'),'option':_0x1cd3('0xf79')},{'value':'en-US','option':_0x1cd3('0xf7a')},{'value':_0x1cd3('0xf7b'),'option':'Finnish\x20(Finland)'},{'value':'fil-PH','option':_0x1cd3('0xf7c')},{'value':_0x1cd3('0xf7d'),'option':'French\x20(Canada)'},{'value':_0x1cd3('0xf7e'),'option':'French\x20(France)'},{'value':_0x1cd3('0xf7f'),'option':_0x1cd3('0xf80')},{'value':_0x1cd3('0xf81'),'option':_0x1cd3('0xf82')},{'value':_0x1cd3('0xf83'),'option':_0x1cd3('0xf84')},{'value':'it-IT','option':_0x1cd3('0xf85')},{'value':_0x1cd3('0xf86'),'option':_0x1cd3('0xf87')},{'value':'ko-KR','option':'Korean\x20(South\x20Korea)'},{'value':_0x1cd3('0xf88'),'option':'Mandarin\x20Chinese'},{'value':'nb-NO','option':_0x1cd3('0xf89')},{'value':_0x1cd3('0xf8a'),'option':_0x1cd3('0xf8b')},{'value':_0x1cd3('0xf8c'),'option':_0x1cd3('0xf8d')},{'value':'pt-PT','option':_0x1cd3('0xf8e')},{'value':_0x1cd3('0xf8f'),'option':_0x1cd3('0xf90')},{'value':_0x1cd3('0xf91'),'option':'Slovak\x20(Slovakia)'},{'value':'es-ES','option':_0x1cd3('0xf92')},{'value':'sv-SE','option':_0x1cd3('0xf93')},{'value':'tr-TR','option':_0x1cd3('0xf94')},{'value':_0x1cd3('0xf95'),'option':_0x1cd3('0xf96')},{'value':_0x1cd3('0xf97'),'option':_0x1cd3('0xf98')}];}function _0x2c072e(){return[{'value':'af','option':_0x1cd3('0xf99')},{'value':'sq','option':_0x1cd3('0xf9a')},{'value':'am','option':_0x1cd3('0xf9b')},{'value':'ar','option':_0x1cd3('0xf9c')},{'value':'hy','option':_0x1cd3('0xf9d')},{'value':'az','option':_0x1cd3('0xf9e')},{'value':'eu','option':'Basque'},{'value':'be','option':'Belarusian'},{'value':'bn','option':_0x1cd3('0xf9f')},{'value':'bh','option':_0x1cd3('0xfa0')},{'value':'bs','option':_0x1cd3('0xfa1')},{'value':'br','option':_0x1cd3('0xfa2')},{'value':'bg','option':_0x1cd3('0xfa3')},{'value':'km','option':'Cambodian'},{'value':'ca','option':'Catalan'},{'value':_0x1cd3('0xf6b'),'option':'Chinese\x20(Simplified)'},{'value':_0x1cd3('0xfa4'),'option':_0x1cd3('0xf6d')},{'value':'co','option':_0x1cd3('0xfa5')},{'value':'hr','option':_0x1cd3('0xfa6')},{'value':'cs','option':_0x1cd3('0xfa7')},{'value':'da','option':_0x1cd3('0xfa8')},{'value':'nl','option':_0x1cd3('0xf65')},{'value':'en','option':_0x1cd3('0xf5e')},{'value':'eo','option':_0x1cd3('0xfa9')},{'value':'et','option':_0x1cd3('0xfaa')},{'value':'fo','option':_0x1cd3('0xfab')},{'value':'tl','option':'Filipino'},{'value':'fi','option':_0x1cd3('0xfac')},{'value':'fr','option':_0x1cd3('0xf62')},{'value':'fy','option':_0x1cd3('0xfad')},{'value':'gl','option':'Galician'},{'value':'ka','option':_0x1cd3('0xfae')},{'value':'de','option':_0x1cd3('0xf5f')},{'value':'el','option':'Greek'},{'value':'gn','option':_0x1cd3('0xfaf')},{'value':'gu','option':_0x1cd3('0xfb0')},{'value':_0x1cd3('0xfb1'),'option':_0x1cd3('0xfb2')},{'value':'ha','option':_0x1cd3('0xfb3')},{'value':'iw','option':_0x1cd3('0xfb4')},{'value':'hi','option':'Hindi'},{'value':'hu','option':_0x1cd3('0xfb5')},{'value':'is','option':_0x1cd3('0xfb6')},{'value':'id','option':_0x1cd3('0xf63')},{'value':'ia','option':_0x1cd3('0xfb7')},{'value':'ga','option':_0x1cd3('0xfb8')},{'value':'it','option':_0x1cd3('0xf60')},{'value':'jw','option':'Javanese'},{'value':'ja','option':_0x1cd3('0xf64')},{'value':'kn','option':'Kannada'},{'value':'kk','option':_0x1cd3('0xfb9')},{'value':'rw','option':_0x1cd3('0xfba')},{'value':'rn','option':_0x1cd3('0xfbb')},{'value':_0x1cd3('0xfbc'),'option':_0x1cd3('0xfbd')},{'value':'ku','option':_0x1cd3('0xfbe')},{'value':'ko','option':_0x1cd3('0xfbf')},{'value':'ky','option':_0x1cd3('0xfc0')},{'value':'lo','option':'Laothian'},{'value':'la','option':_0x1cd3('0xfc1')},{'value':'lv','option':_0x1cd3('0xfc2')},{'value':'ln','option':_0x1cd3('0xfc3')},{'value':'lt','option':_0x1cd3('0xfc4')},{'value':'mk','option':_0x1cd3('0xfc5')},{'value':'mg','option':_0x1cd3('0xfc6')},{'value':'ml','option':_0x1cd3('0xfc7')},{'value':'mt','option':_0x1cd3('0xfc8')},{'value':'mi','option':_0x1cd3('0xfc9')},{'value':'mr','option':_0x1cd3('0xfca')},{'value':'mo','option':_0x1cd3('0xfcb')},{'value':'mn','option':_0x1cd3('0xfcc')},{'value':_0x1cd3('0xfcd'),'option':_0x1cd3('0xfce')},{'value':'ne','option':'Nepali'},{'value':'no','option':'Norwegian'},{'value':'nn','option':'Norwegian\x20(Nynorsk)'},{'value':'oc','option':_0x1cd3('0xfcf')},{'value':'or','option':_0x1cd3('0xfd0')},{'value':'om','option':_0x1cd3('0xfd1')},{'value':'ps','option':_0x1cd3('0xfd2')},{'value':'fa','option':_0x1cd3('0xfd3')},{'value':_0x1cd3('0xfd4'),'option':_0x1cd3('0xfd5')},{'value':'pl','option':_0x1cd3('0xfd6')},{'value':'pt-BR','option':_0x1cd3('0xf8d')},{'value':_0x1cd3('0xfd7'),'option':_0x1cd3('0xf8e')},{'value':'pa','option':_0x1cd3('0xfd8')},{'value':'qu','option':_0x1cd3('0xfd9')},{'value':'ro','option':'Romanian'},{'value':'rm','option':_0x1cd3('0xfda')},{'value':'ru','option':'Russian'},{'value':'gd','option':_0x1cd3('0xfdb')},{'value':'sr','option':_0x1cd3('0xfdc')},{'value':'sh','option':_0x1cd3('0xfdd')},{'value':'st','option':_0x1cd3('0xfde')},{'value':'sn','option':'Shona'},{'value':'sd','option':_0x1cd3('0xfdf')},{'value':'si','option':_0x1cd3('0xfe0')},{'value':'sk','option':_0x1cd3('0xfe1')},{'value':'sl','option':_0x1cd3('0xfe2')},{'value':'so','option':_0x1cd3('0xfe3')},{'value':'es','option':_0x1cd3('0xf61')},{'value':'su','option':_0x1cd3('0xfe4')},{'value':'sw','option':_0x1cd3('0xfe5')},{'value':'sv','option':'Swedish'},{'value':'tg','option':_0x1cd3('0xfe6')},{'value':'ta','option':'Tamil'},{'value':'tt','option':_0x1cd3('0xfe7')},{'value':'te','option':_0x1cd3('0xfe8')},{'value':'th','option':_0x1cd3('0xfe9')},{'value':'ti','option':'Tigrinya'},{'value':'to','option':_0x1cd3('0xfea')},{'value':'tr','option':_0x1cd3('0xfeb')},{'value':'tk','option':_0x1cd3('0xfec')},{'value':'tw','option':_0x1cd3('0xfed')},{'value':'ug','option':_0x1cd3('0xfee')},{'value':'uk','option':_0x1cd3('0xf6a')},{'value':'ur','option':_0x1cd3('0xfef')},{'value':'uz','option':_0x1cd3('0xff0')},{'value':'vi','option':_0x1cd3('0xff1')},{'value':'cy','option':_0x1cd3('0xff2')},{'value':'xh','option':_0x1cd3('0xff3')},{'value':'yi','option':'Yiddish'},{'value':'yo','option':_0x1cd3('0xff4')},{'value':'zu','option':_0x1cd3('0xff5')}];}function _0xaf0932(){return[{'value':'af-ZA','option':_0x1cd3('0xff6')},{'value':'am-ET','option':_0x1cd3('0xff7')},{'value':_0x1cd3('0xff8'),'option':_0x1cd3('0xff9')},{'value':_0x1cd3('0xffa'),'option':_0x1cd3('0xffb')},{'value':_0x1cd3('0xf83'),'option':_0x1cd3('0xf84')},{'value':'ms-MY','option':'Malay\x20(Malaysia)'},{'value':'bn-BD','option':_0x1cd3('0xffc')},{'value':_0x1cd3('0xffd'),'option':_0x1cd3('0xffe')},{'value':_0x1cd3('0xfff'),'option':_0x1cd3('0x1000')},{'value':'cs-CZ','option':_0x1cd3('0xf6f')},{'value':_0x1cd3('0xf70'),'option':_0x1cd3('0x1001')},{'value':_0x1cd3('0xf71'),'option':_0x1cd3('0x1002')},{'value':_0x1cd3('0x1003'),'option':_0x1cd3('0x1004')},{'value':_0x1cd3('0x1005'),'option':_0x1cd3('0x1006')},{'value':_0x1cd3('0x1007'),'option':'English\x20(Ghana)'},{'value':'en-GB','option':'English\x20(United\x20Kingdom)'},{'value':_0x1cd3('0xf76'),'option':_0x1cd3('0xf77')},{'value':_0x1cd3('0x1008'),'option':'English\x20(Ireland)'},{'value':_0x1cd3('0x1009'),'option':_0x1cd3('0x100a')},{'value':_0x1cd3('0x100b'),'option':_0x1cd3('0x100c')},{'value':'en-NG','option':_0x1cd3('0x100d')},{'value':_0x1cd3('0x100e'),'option':_0x1cd3('0x100f')},{'value':_0x1cd3('0x1010'),'option':_0x1cd3('0x1011')},{'value':_0x1cd3('0x1012'),'option':'English\x20(Tanzania)'},{'value':'en-US','option':_0x1cd3('0x1013')},{'value':_0x1cd3('0x1014'),'option':_0x1cd3('0x1015')},{'value':_0x1cd3('0x1016'),'option':_0x1cd3('0x1017')},{'value':_0x1cd3('0x1018'),'option':_0x1cd3('0x1019')},{'value':'es-CO','option':_0x1cd3('0x101a')},{'value':_0x1cd3('0x101b'),'option':_0x1cd3('0x101c')},{'value':_0x1cd3('0x101d'),'option':_0x1cd3('0x101e')},{'value':_0x1cd3('0x101f'),'option':_0x1cd3('0x1020')},{'value':_0x1cd3('0x1021'),'option':_0x1cd3('0xf92')},{'value':_0x1cd3('0x1022'),'option':'Spanish\x20(United\x20States)'},{'value':_0x1cd3('0x1023'),'option':_0x1cd3('0x1024')},{'value':'es-HN','option':'Spanish\x20(Honduras)'},{'value':_0x1cd3('0x1025'),'option':_0x1cd3('0x1026')},{'value':_0x1cd3('0x1027'),'option':_0x1cd3('0x1028')},{'value':'es-PA','option':_0x1cd3('0x1029')},{'value':_0x1cd3('0x102a'),'option':_0x1cd3('0x102b')},{'value':_0x1cd3('0x102c'),'option':_0x1cd3('0x102d')},{'value':'es-PR','option':'Spanish\x20(Puerto\x20Rico)'},{'value':_0x1cd3('0x102e'),'option':_0x1cd3('0x102f')},{'value':_0x1cd3('0x1030'),'option':'Spanish\x20(Uruguay)'},{'value':_0x1cd3('0x1031'),'option':_0x1cd3('0x1032')},{'value':_0x1cd3('0x1033'),'option':'Basque\x20(Spain)'},{'value':_0x1cd3('0x1034'),'option':'Filipino\x20(Philippines)'},{'value':'fr-CA','option':_0x1cd3('0x1035')},{'value':_0x1cd3('0xf7e'),'option':'French\x20(France)'},{'value':'gl-ES','option':_0x1cd3('0x1036')},{'value':_0x1cd3('0x1037'),'option':'Georgian\x20(Georgia)'},{'value':_0x1cd3('0x1038'),'option':_0x1cd3('0x1039')},{'value':_0x1cd3('0x103a'),'option':_0x1cd3('0x103b')},{'value':_0x1cd3('0x103c'),'option':'Zulu\x20(South\x20Africa)'},{'value':_0x1cd3('0x103d'),'option':_0x1cd3('0x103e')},{'value':_0x1cd3('0x103f'),'option':_0x1cd3('0xf85')},{'value':'jv-ID','option':_0x1cd3('0x1040')},{'value':'kn-IN','option':'Kannada\x20(India)'},{'value':'km-KH','option':_0x1cd3('0x1041')},{'value':_0x1cd3('0x1042'),'option':'Lao\x20(Laos)'},{'value':_0x1cd3('0x1043'),'option':'Latvian\x20(Latvia)'},{'value':_0x1cd3('0x1044'),'option':_0x1cd3('0x1045')},{'value':_0x1cd3('0xf81'),'option':'Hungarian\x20(Hungary)'},{'value':_0x1cd3('0x1046'),'option':_0x1cd3('0x1047')},{'value':_0x1cd3('0x1048'),'option':_0x1cd3('0x1049')},{'value':_0x1cd3('0x104a'),'option':_0x1cd3('0xf72')},{'value':_0x1cd3('0x104b'),'option':'Nepali\x20(Nepal)'},{'value':_0x1cd3('0x104c'),'option':_0x1cd3('0x104d')},{'value':_0x1cd3('0xf8a'),'option':_0x1cd3('0xf8b')},{'value':_0x1cd3('0xf8c'),'option':'Portuguese\x20(Brazil)'},{'value':_0x1cd3('0xfd7'),'option':_0x1cd3('0xf8e')},{'value':'ro-RO','option':_0x1cd3('0x104e')},{'value':'si-LK','option':_0x1cd3('0x104f')},{'value':_0x1cd3('0xf91'),'option':'Slovak\x20(Slovakia)'},{'value':'sl-SI','option':'Slovenian\x20(Slovenia)'},{'value':'su-ID','option':_0x1cd3('0x1050')},{'value':_0x1cd3('0x1051'),'option':_0x1cd3('0x1052')},{'value':_0x1cd3('0x1053'),'option':'Swahili\x20(Kenya)'},{'value':_0x1cd3('0xf7b'),'option':_0x1cd3('0x1054')},{'value':_0x1cd3('0x1055'),'option':'Swedish\x20(Sweden)'},{'value':'ta-IN','option':_0x1cd3('0x1056')},{'value':'ta-SG','option':_0x1cd3('0x1057')},{'value':_0x1cd3('0x1058'),'option':_0x1cd3('0x1059')},{'value':'ta-MY','option':_0x1cd3('0x105a')},{'value':'te-IN','option':_0x1cd3('0x105b')},{'value':_0x1cd3('0xf97'),'option':_0x1cd3('0xf98')},{'value':_0x1cd3('0x105c'),'option':'Turkish\x20(Turkey)'},{'value':_0x1cd3('0x105d'),'option':_0x1cd3('0x105e')},{'value':_0x1cd3('0x105f'),'option':_0x1cd3('0x1060')},{'value':'el-GR','option':'Greek\x20(Greece)'},{'value':_0x1cd3('0x1061'),'option':_0x1cd3('0x1062')},{'value':_0x1cd3('0xf8f'),'option':_0x1cd3('0xf90')},{'value':_0x1cd3('0x1063'),'option':_0x1cd3('0x1064')},{'value':_0x1cd3('0xf95'),'option':_0x1cd3('0xf96')},{'value':_0x1cd3('0x1065'),'option':_0x1cd3('0x1066')},{'value':'ar-IL','option':_0x1cd3('0x1067')},{'value':_0x1cd3('0x1068'),'option':_0x1cd3('0x1069')},{'value':_0x1cd3('0x106a'),'option':_0x1cd3('0x106b')},{'value':'ar-BH','option':_0x1cd3('0x106c')},{'value':_0x1cd3('0x106d'),'option':_0x1cd3('0x106e')},{'value':_0x1cd3('0x106f'),'option':'Arabic\x20(Saudi\x20Arabia)'},{'value':_0x1cd3('0x1070'),'option':_0x1cd3('0x1071')},{'value':'ar-KW','option':'Arabic\x20(Kuwait)'},{'value':_0x1cd3('0x1072'),'option':_0x1cd3('0x1073')},{'value':_0x1cd3('0x1074'),'option':_0x1cd3('0x1075')},{'value':'ar-OM','option':'Arabic\x20(Oman)'},{'value':_0x1cd3('0x1076'),'option':'Arabic\x20(State\x20of\x20Palestine)'},{'value':_0x1cd3('0x1077'),'option':_0x1cd3('0x1078')},{'value':_0x1cd3('0x1079'),'option':_0x1cd3('0x107a')},{'value':_0x1cd3('0x107b'),'option':'Arabic\x20(Egypt)'},{'value':_0x1cd3('0x107c'),'option':_0x1cd3('0x107d')},{'value':_0x1cd3('0xf7f'),'option':_0x1cd3('0xf80')},{'value':_0x1cd3('0x107e'),'option':_0x1cd3('0x107f')},{'value':'ko-KR','option':_0x1cd3('0x1080')},{'value':_0x1cd3('0x1081'),'option':_0x1cd3('0x1082')},{'value':_0x1cd3('0x1083'),'option':'Chinese,\x20Cantonese\x20(Traditional,\x20Hong\x20Kong)'},{'value':_0x1cd3('0xf86'),'option':_0x1cd3('0xf87')},{'value':_0x1cd3('0x1084'),'option':_0x1cd3('0x1085')},{'value':_0x1cd3('0x1086'),'option':'Chinese,\x20Mandarin\x20(Simplified,\x20China)'}];}function _0x1a2217(){return[{'value':_0x1cd3('0x1087'),'option':_0x1cd3('0x1088')},{'value':'usenglishmale','option':_0x1cd3('0x1089')},{'value':_0x1cd3('0x108a'),'option':_0x1cd3('0x108b')},{'value':_0x1cd3('0x108c'),'option':_0x1cd3('0x108d')},{'value':_0x1cd3('0x108e'),'option':_0x1cd3('0x108f')},{'value':_0x1cd3('0x1090'),'option':_0x1cd3('0x1091')},{'value':_0x1cd3('0x1092'),'option':'US\x20Spanish\x20Male'},{'value':'chchinesefemale','option':_0x1cd3('0x1093')},{'value':'chchinesemale','option':_0x1cd3('0x1094')},{'value':_0x1cd3('0x1095'),'option':_0x1cd3('0x1096')},{'value':_0x1cd3('0x1097'),'option':_0x1cd3('0x1098')},{'value':_0x1cd3('0x1099'),'option':_0x1cd3('0x109a')},{'value':'jpjapanesemale','option':_0x1cd3('0x109b')},{'value':_0x1cd3('0x109c'),'option':_0x1cd3('0x109d')},{'value':'krkoreanmale','option':_0x1cd3('0x109e')},{'value':'caenglishfemale','option':_0x1cd3('0x109f')},{'value':'huhungarianfemale','option':_0x1cd3('0x10a0')},{'value':_0x1cd3('0x10a1'),'option':'Brazilian\x20Portuguese\x20Female'},{'value':_0x1cd3('0x10a2'),'option':_0x1cd3('0x10a3')},{'value':_0x1cd3('0x10a4'),'option':_0x1cd3('0x10a5')},{'value':_0x1cd3('0x10a6'),'option':_0x1cd3('0x10a7')},{'value':_0x1cd3('0x10a8'),'option':'European\x20Spanish\x20Male'},{'value':_0x1cd3('0x10a9'),'option':_0x1cd3('0x10aa')},{'value':_0x1cd3('0x10ab'),'option':_0x1cd3('0x10ac')},{'value':'eurdanishfemale','option':'European\x20Danish\x20Female'},{'value':_0x1cd3('0x10ad'),'option':'European\x20Finnish\x20Female'},{'value':_0x1cd3('0x10ae'),'option':_0x1cd3('0x10af')},{'value':'eurfrenchmale','option':'European\x20French\x20Male'},{'value':_0x1cd3('0x10b0'),'option':'European\x20Norwegian\x20Female'},{'value':_0x1cd3('0x10b1'),'option':_0x1cd3('0x10b2')},{'value':_0x1cd3('0x10b3'),'option':_0x1cd3('0x10b4')},{'value':_0x1cd3('0x10b5'),'option':_0x1cd3('0x10b6')},{'value':_0x1cd3('0x10b7'),'option':_0x1cd3('0x10b8')},{'value':_0x1cd3('0x10b9'),'option':_0x1cd3('0x10ba')},{'value':_0x1cd3('0x10bb'),'option':_0x1cd3('0x10bc')},{'value':'eurgermanfemale','option':_0x1cd3('0x10bd')},{'value':_0x1cd3('0x10be'),'option':_0x1cd3('0x10bf')},{'value':'rurussianfemale','option':_0x1cd3('0x10c0')},{'value':'rurussianmale','option':_0x1cd3('0x10c1')},{'value':_0x1cd3('0x10c2'),'option':_0x1cd3('0x10c3')},{'value':'cafrenchfemale','option':'Canadian\x20French\x20Female'},{'value':_0x1cd3('0x10c4'),'option':_0x1cd3('0x10c5')}];}function _0x12b83b(){return[{'value':_0x1cd3('0x10c6'),'option':'English\x20(US)'},{'value':'en-CA','option':'English\x20(Canada)'},{'value':_0x1cd3('0xf78'),'option':_0x1cd3('0xf79')},{'value':_0x1cd3('0x1003'),'option':_0x1cd3('0x1004')},{'value':'es-ES','option':_0x1cd3('0xf92')},{'value':_0x1cd3('0x1025'),'option':'Spanish\x20(Mexico)'},{'value':_0x1cd3('0x103f'),'option':'Italian\x20(Italy)\x20/\x20Finnish\x20(Finland)'},{'value':_0x1cd3('0xf7e'),'option':'German\x20(Germany)'},{'value':_0x1cd3('0xf7d'),'option':_0x1cd3('0x1035')},{'value':'pl-PL','option':'Polish\x20(Poland)'},{'value':'pt-PT','option':'Portuguese\x20(Portugal)'},{'value':_0x1cd3('0xfff'),'option':_0x1cd3('0x10c7')},{'value':_0x1cd3('0xfa4'),'option':'Chinese\x20(Taiwan)'},{'value':'da-DK','option':_0x1cd3('0x1001')},{'value':_0x1cd3('0xf86'),'option':_0x1cd3('0xf87')},{'value':_0x1cd3('0x10c8'),'option':_0x1cd3('0x10c9')},{'value':_0x1cd3('0x104a'),'option':_0x1cd3('0xf72')},{'value':_0x1cd3('0x104c'),'option':_0x1cd3('0xf89')},{'value':'pt-BR','option':'Portuguese\x20(Brazil)'},{'value':_0x1cd3('0xf8f'),'option':_0x1cd3('0xf90')},{'value':_0x1cd3('0x1055'),'option':'Swedish\x20(Sweden)'},{'value':_0x1cd3('0xf6b'),'option':_0x1cd3('0x10ca')},{'value':'zh-HK','option':'Chinese\x20(Hong\x20Kong)'}];}function _0xd08792(){return[{'value':'0','option':_0x1cd3('0x10cb')},{'value':_0x1cd3('0x406'),'option':_0x1cd3('0x10cc')},{'value':_0x1cd3('0x10cd'),'option':_0x1cd3('0x10ce')},{'value':'numbersto9','option':_0x1cd3('0x10cf')},{'value':_0x1cd3('0x10d0'),'option':_0x1cd3('0x10d1')},{'value':'numbersto999','option':_0x1cd3('0x10d2')},{'value':_0x1cd3('0x10d3'),'option':'Time'},{'value':_0x1cd3('0x10d4'),'option':_0x1cd3('0x10d5')},{'value':_0x1cd3('0x10d6'),'option':_0x1cd3('0x10d7')},{'value':'citystate','option':_0x1cd3('0x10d8')}];}function _0x2b913f(){return[{'value':_0x1cd3('0x10d9'),'option':_0x1cd3('0x10da')},{'value':_0x1cd3('0x10db'),'option':_0x1cd3('0x10dc')},{'value':'Brian','option':'Brian\x20(English,\x20British,\x20Male)'},{'value':_0x1cd3('0x10dd'),'option':'Carla\x20(Italian,\x20Female)'},{'value':_0x1cd3('0x10de'),'option':'Carmen\x20(Romanian,\x20Female)'},{'value':'Celine','option':_0x1cd3('0x10df')},{'value':'Chantal','option':_0x1cd3('0x10e0')},{'value':'Conchita','option':'Conchita\x20(Spanish,\x20Castilian,\x20Female)'},{'value':_0x1cd3('0x10e1'),'option':_0x1cd3('0x10e2')},{'value':_0x1cd3('0x10e3'),'option':'Dora\x20(Icelandic,\x20Female)'},{'value':_0x1cd3('0x10e4'),'option':'Emma\x20(English,\x20British,\x20Female)'},{'value':_0x1cd3('0x10e5'),'option':_0x1cd3('0x10e6')},{'value':_0x1cd3('0x10e7'),'option':_0x1cd3('0x10e8')},{'value':_0x1cd3('0x10e9'),'option':_0x1cd3('0x10ea')},{'value':'Geraint','option':_0x1cd3('0x10eb')},{'value':'Giorgio','option':'Giorgio\x20(Italian,\x20Male)'},{'value':_0x1cd3('0x10ec'),'option':'Gwineth\x20(Welsh,\x20Female)'},{'value':'Hans','option':_0x1cd3('0x10ed')},{'value':_0x1cd3('0x10ee'),'option':_0x1cd3('0x10ef')},{'value':_0x1cd3('0x10f0'),'option':_0x1cd3('0x10f1')},{'value':_0x1cd3('0x10f2'),'option':_0x1cd3('0x10f3')},{'value':'Jan','option':_0x1cd3('0x10f4')},{'value':_0x1cd3('0x10f5'),'option':_0x1cd3('0x10f6')},{'value':_0x1cd3('0x10f7'),'option':_0x1cd3('0x10f8')},{'value':_0x1cd3('0x10f9'),'option':_0x1cd3('0x10fa')},{'value':_0x1cd3('0x10fb'),'option':'Karl\x20(Icelandic,\x20Male)'},{'value':_0x1cd3('0x10fc'),'option':_0x1cd3('0x10fd')},{'value':_0x1cd3('0x10fe'),'option':_0x1cd3('0x10ff')},{'value':_0x1cd3('0x1100'),'option':_0x1cd3('0x1101')},{'value':_0x1cd3('0x1102'),'option':'Lotte\x20(Dutch,\x20Female)'},{'value':_0x1cd3('0x1103'),'option':'Mads\x20(Danish,\x20Male)'},{'value':'Maja','option':_0x1cd3('0x1104')},{'value':_0x1cd3('0x1105'),'option':_0x1cd3('0x1106')},{'value':_0x1cd3('0x1107'),'option':_0x1cd3('0x1108')},{'value':_0x1cd3('0x1109'),'option':_0x1cd3('0x110a')},{'value':_0x1cd3('0x110b'),'option':_0x1cd3('0x110c')},{'value':_0x1cd3('0x110d'),'option':'Mizuki\x20(Japanese,\x20Female)'},{'value':_0x1cd3('0x110e'),'option':_0x1cd3('0x110f')},{'value':'Nicole','option':_0x1cd3('0x1110')},{'value':_0x1cd3('0x1111'),'option':_0x1cd3('0x1112')},{'value':_0x1cd3('0x1113'),'option':_0x1cd3('0x1114')},{'value':_0x1cd3('0x1115'),'option':_0x1cd3('0x1116')},{'value':_0x1cd3('0x1117'),'option':_0x1cd3('0x1118')},{'value':_0x1cd3('0x1119'),'option':_0x1cd3('0x111a')},{'value':_0x1cd3('0x111b'),'option':'Salli\x20(English,\x20US,\x20Female)'},{'value':'Tatyana','option':_0x1cd3('0x111c')},{'value':_0x1cd3('0x111d'),'option':'Vitoria\x20(Portuguese,\x20Brazilian,\x20Female)'}];}function _0x37fae5(){return[{'value':'us-east-1','option':'US\x20East\x20(N.\x20Virginia)'},{'value':_0x1cd3('0x111e'),'option':_0x1cd3('0x111f')},{'value':_0x1cd3('0x1120'),'option':_0x1cd3('0x1121')},{'value':'us-west-2','option':_0x1cd3('0x1122')},{'value':_0x1cd3('0x1123'),'option':_0x1cd3('0x1124')},{'value':'eu-west-1','option':_0x1cd3('0x1125')},{'value':'eu-central-1','option':'EU\x20(Frankfurt)'},{'value':_0x1cd3('0x1126'),'option':'EU\x20(London)'},{'value':_0x1cd3('0x1127'),'option':_0x1cd3('0x1128')},{'value':_0x1cd3('0x1129'),'option':_0x1cd3('0x112a')},{'value':_0x1cd3('0x112b'),'option':'Asia\x20Pacific\x20(Sydney)'},{'value':_0x1cd3('0x112c'),'option':_0x1cd3('0x112d')},{'value':_0x1cd3('0x112e'),'option':_0x1cd3('0x112f')},{'value':'ap-south-1','option':_0x1cd3('0x1130')},{'value':_0x1cd3('0x1131'),'option':_0x1cd3('0x1132')}];}function _0x350902(){return[{'value':_0x1cd3('0x1133'),'option':'US\x20East\x20(N.\x20Virginia)'},{'value':_0x1cd3('0x1134'),'option':_0x1cd3('0x1122')},{'value':_0x1cd3('0x1135'),'option':_0x1cd3('0x1125')},{'value':_0x1cd3('0x112b'),'option':_0x1cd3('0x1136')}];}}());(function(){'use strict';_0x34ff40['$inject']=[_0x1cd3('0x3c5'),_0x1cd3('0x461'),'currentXML',_0x1cd3('0x1137')];angular[_0x1cd3('0x0')]('app.callysquare')[_0x1cd3('0x39b')]('MxGraphEditXMLController',_0x34ff40);function _0x34ff40(_0x1e4304,_0x546aab,_0x3eaece,_0x3396d5){var _0x5ebb39=this;_0x5ebb39[_0x1cd3('0xedd')]={'preproduction':_0x3eaece};_0x5ebb39[_0x1cd3('0x39c')]=_0x467336;function _0x467336(_0x8f095a){if(_0x8f095a){_0x3396d5(_0x5ebb39['project'][_0x1cd3('0x1138')]);_0x1e4304['hide'](_0x5ebb39[_0x1cd3('0xedd')][_0x1cd3('0x1138')]);}else{_0x1e4304[_0x1cd3('0x39d')]();}}}}());(function(){'use strict';_0x17aa64[_0x1cd3('0xc')]=['$mdDialog','saveCallback'];angular['module'](_0x1cd3('0x83'))[_0x1cd3('0x39b')](_0x1cd3('0x1139'),_0x17aa64);function _0x17aa64(_0x30397d,_0x412356){var _0x54898d=this;var _0x19adff=0x5;var _0x3e2879=_0x19adff*0x400*0x400;_0x54898d[_0x1cd3('0xd34')]=[];_0x54898d['ngFlowOptions']={'singleFile':!![],'maxChunkRetries':0x1,'chunkSize':_0x3e2879,'simultaneousUploads':0x1,'testChunks':![],'progressCallbacksInterval':0x3e8,'allowDuplicateUploads':!![]};_0x54898d['ngFlow']={'flow':{}};_0x54898d['dropping']=![];_0x54898d[_0x1cd3('0x39c')]=_0xcaf78d;_0x54898d[_0x1cd3('0x113a')]=_0x4041b7;function _0x4041b7(_0x4b02dd){_0x54898d['errors']=[];var _0x4ed305=[_0x1cd3('0x113b')];if(!_[_0x1cd3('0x38f')](_0x4ed305,_0x4b02dd[_0x1cd3('0x113c')]())){_0x54898d[_0x1cd3('0xd34')][_0x1cd3('0x7b')]({'message':_0x1cd3('0x113d')+_0x4b02dd[_0x1cd3('0x113c')]()+'\x20is\x20not\x20supported!'});}if(_0x4b02dd[_0x1cd3('0x113e')]>_0x3e2879){_0x54898d[_0x1cd3('0xd34')][_0x1cd3('0x7b')]({'message':_0x1cd3('0x113f')+_0x19adff+'MB'});}if(!_0x54898d[_0x1cd3('0xd34')]['length']){var _0x1348dc=new FileReader();_0x1348dc['onload']=function(_0x61381d){_0xcaf78d(_0x61381d[_0x1cd3('0x365')][_0x1cd3('0xe90')]);};_0x1348dc['readAsText'](_0x4b02dd[_0x1cd3('0xe96')]);}}function _0xcaf78d(_0x34b5cc){if(_0x34b5cc){_0x412356(_0x34b5cc);_0x30397d[_0x1cd3('0x39d')](_0x34b5cc);}else{_0x30397d['hide']();}}}}());(function(){'use strict';_0x444a65[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),_0x1cd3('0x461'),_0x1cd3('0xedd'),_0x1cd3('0x370')];angular['module'](_0x1cd3('0x83'))[_0x1cd3('0x39b')](_0x1cd3('0x1140'),_0x444a65);function _0x444a65(_0x22bfc1,_0xf8dde0,_0x4b6fb3,_0x14f9f9){var _0x115414=this;_0x115414[_0x1cd3('0xedd')]=_[_0x1cd3('0x1141')](_0x4b6fb3);_0x115414['closeDialog']=_0x286118;_0x115414['save']=_0x4244fb;function _0x4244fb(){_0x115414[_0x1cd3('0xd34')]=[];_0x14f9f9[_0x1cd3('0xc55')][_0x1cd3('0x378')]({'id':_0x115414[_0x1cd3('0xedd')]['id']},{'notes':_0x115414[_0x1cd3('0xedd')][_0x1cd3('0x1142')],'description':_0x115414['project'][_0x1cd3('0xde1')]})[_0x1cd3('0x81')]['then'](function(_0x4bcfd9){_0xf8dde0['success']({'title':_0x1cd3('0x1143'),'msg':_0x115414[_0x1cd3('0xedd')][_0x1cd3('0x98')]?_0x115414[_0x1cd3('0xedd')][_0x1cd3('0x98')]+'\x20has\x20been\x20updated!':''});_0x22bfc1[_0x1cd3('0x39d')](_0x4bcfd9);})[_0x1cd3('0xfd')](function(_0x11723a){console[_0x1cd3('0x434')](_0x11723a);_0x115414[_0x1cd3('0xd34')]=_0x11723a['data'][_0x1cd3('0xd34')]||[{'message':_0x11723a['toString'](),'type':_0x1cd3('0xee9')}];});}function _0x286118(){_0x22bfc1[_0x1cd3('0x39d')]();}}}());(function(){'use strict';_0x149325[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),_0x1cd3('0x461'),_0x1cd3('0xeda'),_0x1cd3('0x371'),'$state'];angular[_0x1cd3('0x0')](_0x1cd3('0x83'))[_0x1cd3('0x39b')]('MxGraphOpenProjectController',_0x149325);function _0x149325(_0x59810e,_0x7db540,_0x5bf9a1,_0x1df11a,_0xb62ec9){var _0x6dbd4b=this;_0x6dbd4b[_0x1cd3('0xeda')]=_0x5bf9a1;_0x6dbd4b['id']='';_0x6dbd4b[_0x1cd3('0xede')]=!![];_0x6dbd4b['closeDialog']=_0x1072ad;function _0x1072ad(_0x44c641){_0x6dbd4b['errors']=[];if(_0x44c641){_0x59810e[_0x1cd3('0x39d')]();_0x6dbd4b[_0x1cd3('0xede')]?_0x1df11a[_0x1cd3('0xee4')]('/callysquare/projects/'+_0x6dbd4b['id'],_0x1cd3('0xee6')):_0xb62ec9['go'](_0x1cd3('0x9a'),{'id':_0x6dbd4b['id']});}else{_0x59810e['hide']();}}}}());(function(){'use strict';_0x596efa[_0x1cd3('0xc')]=['$mdDialog',_0x1cd3('0x461'),'api',_0x1cd3('0xedd'),_0x1cd3('0xeda'),_0x1cd3('0x3f7'),_0x1cd3('0x56')];angular[_0x1cd3('0x0')]('app.callysquare')['controller'](_0x1cd3('0x1144'),_0x596efa);function _0x596efa(_0x3a957c,_0x4981ca,_0x425265,_0x39ece0,_0x547972,_0x2ddca5,_0x25cd00){var _0x1ca645=this;_0x1ca645[_0x1cd3('0xedd')]=_0x39ece0;_0x1ca645['penalty']=0x0;_0x1ca645['items']=[];_0x1ca645[_0x1cd3('0x492')]=[];_0x1ca645[_0x1cd3('0x39c')]=_0x1ebac8;_0x1ca645[_0x1cd3('0x1145')]={'readOnly':![],'items':[],'selectedItems':[],'showSelectAndDeselectAll':!![],'orderBy':_0x1cd3('0x98'),'line1':_0x1cd3('0xd3'),'line2':[_0x1cd3('0x98'),'internal'],'line3':_0x1cd3('0x1146'),'labelAll':_0x2ddca5[_0x1cd3('0x44a')](_0x1cd3('0x1147')),'labelSelected':_0x2ddca5[_0x1cd3('0x44a')](_0x1cd3('0x1148')),'transferCallback':function(_0x243808,_0xa62a7){_0x425265['squareProject'][_0xa62a7?_0x1cd3('0x1149'):_0x1cd3('0x114a')]({'id':_0x1ca645[_0x1cd3('0xedd')]['id'],'ids':_[_0x1cd3('0x3d9')](_0x243808,'id'),'penalty':_0x1ca645['penalty']||0x0})[_0x1cd3('0x81')]['then'](function(){_0x4981ca[_0x1cd3('0x473')]({'title':_0x1cd3('0x114b')+(_0xa62a7?_0x1cd3('0x114c'):_0x1cd3('0x114d')),'msg':_0x1cd3('0x114e')+(_0xa62a7?_0x1cd3('0x114c'):_0x1cd3('0x114d'))+'!'});if(!_0xa62a7){_0xc71b7e();}})[_0x1cd3('0xfd')](function(_0x36b097){_0x4981ca[_0x1cd3('0x434')]({'title':_0x36b097['status']?'API:'+_0x36b097['status']+_0x1cd3('0x436')+_0x36b097['statusText']:_0x1cd3('0x114f'),'msg':_0x36b097[_0x1cd3('0x3a6')]?JSON[_0x1cd3('0x438')](_0x36b097[_0x1cd3('0x439')]):_0x36b097[_0x1cd3('0x43b')]()});});}};function _0xc71b7e(){return _0x425265[_0x1cd3('0xc55')][_0x1cd3('0xeec')]({'id':_0x1ca645['project']['id'],'fields':_0x1cd3('0x1150'),'nolimit':!![],'role':_0x1cd3('0x368')})['$promise']['then'](function(_0x1aa4ea){_0x1ca645[_0x1cd3('0x492')]=_0x1aa4ea[_0x1cd3('0xf6')]?_['map'](_0x1aa4ea[_0x1cd3('0xf6')],function(_0x5b07f3){return _0x5b07f3;}):[];_0x1ca645[_0x1cd3('0x1145')][_0x1cd3('0x492')]=_0x1ca645[_0x1cd3('0x492')];return _0x425265[_0x1cd3('0x368')]['get']({'fields':_0x1cd3('0x1151'),'role':_0x1cd3('0x368'),'nolimit':!![]})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x2e212e){_0x1ca645[_0x1cd3('0x493')]=_0x2e212e['rows']?_[_0x1cd3('0x3d9')](_0x2e212e[_0x1cd3('0xf6')],function(_0x3b88ea){return _0x3b88ea;}):[];_0x1ca645[_0x1cd3('0x1145')]['items']=_[_0x1cd3('0x1152')](_0x1ca645[_0x1cd3('0x493')],_0x1ca645[_0x1cd3('0x492')],'id');})[_0x1cd3('0xfd')](function(_0x1dfad2){_0x4981ca[_0x1cd3('0x434')]({'title':_0x1dfad2[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x1dfad2[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x1dfad2['statusText']:'SYSTEM:GETUSERS','msg':_0x1dfad2[_0x1cd3('0x3a6')]?JSON[_0x1cd3('0x438')](_0x1dfad2[_0x1cd3('0x439')]):_0x1dfad2['toString']()});});}function _0x1ebac8(){_0x3a957c[_0x1cd3('0x39d')]();}_0xc71b7e();}}());(function(){'use strict';_0x43caae['$inject']=[_0x1cd3('0x3c5'),'toasty',_0x1cd3('0xedd'),'currentXML',_0x1cd3('0x370'),_0x1cd3('0x371'),'$state'];angular['module'](_0x1cd3('0x83'))[_0x1cd3('0x39b')](_0x1cd3('0x1153'),_0x43caae);function _0x43caae(_0x544264,_0x1487da,_0x1025c9,_0x530861,_0x28e04e,_0x3ff1d4,_0x2a9e4e){var _0x5c337c=this;_0x5c337c[_0x1cd3('0xedd')]=angular[_0x1cd3('0x429')](_0x1025c9);_0x5c337c['project'][_0x1cd3('0x98')]+=_0x1cd3('0x1154');_0x5c337c[_0x1cd3('0xedd')][_0x1cd3('0x1138')]=_0x530861;_0x5c337c[_0x1cd3('0xede')]=!![];_0x5c337c['closeDialog']=_0x4aed62;_0x5c337c[_0x1cd3('0xd6d')]=_0x1d72ac;function _0x1d72ac(){delete _0x5c337c[_0x1cd3('0xedd')]['id'];_0x28e04e[_0x1cd3('0xc55')][_0x1cd3('0xd6d')](_0x5c337c[_0x1cd3('0xedd')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x26fa4c){_0x1487da['success']({'title':_0x1cd3('0xee3'),'msg':_0x5c337c[_0x1cd3('0xedd')][_0x1cd3('0x98')]?_0x5c337c[_0x1cd3('0xedd')][_0x1cd3('0x98')]+_0x1cd3('0xd33'):''});_0x544264['hide'](_0x26fa4c);_0x5c337c['newWindow']?_0x3ff1d4[_0x1cd3('0xee4')](_0x1cd3('0xee5')+_0x26fa4c['id'],_0x1cd3('0xee6')):_0x2a9e4e['go'](_0x1cd3('0x9a'),{'id':_0x26fa4c['id']});})[_0x1cd3('0xfd')](function(_0x457851){console['error'](_0x457851);_0x5c337c[_0x1cd3('0xd34')]=_0x457851['data'][_0x1cd3('0xd34')]||[{'message':_0x457851[_0x1cd3('0x43b')](),'type':_0x1cd3('0xee7')}];});}function _0x4aed62(){_0x544264[_0x1cd3('0x39d')]();}}}());(function(){'use strict';_0x46e4aa['$inject']=[_0x1cd3('0x53e'),_0x1cd3('0x372'),'$mdDialog','$q',_0x1cd3('0x3f7'),_0x1cd3('0x461'),_0x1cd3('0x370'),_0x1cd3('0xedd'),'users',_0x1cd3('0xef5'),_0x1cd3('0x1155'),_0x1cd3('0xef6'),_0x1cd3('0xef7'),'databases','contexts',_0x1cd3('0xeda'),_0x1cd3('0xef9'),_0x1cd3('0xefa'),_0x1cd3('0x1156'),_0x1cd3('0xf5'),_0x1cd3('0xefe'),'pauses',_0x1cd3('0x390'),'Auth'];angular['module']('app.callysquare')[_0x1cd3('0x39b')](_0x1cd3('0x1157'),_0x46e4aa);function _0x46e4aa(_0x187295,_0xac2396,_0x4b77db,_0x2c8d08,_0x5d734c,_0x3271b2,_0xe0a489,_0x2ab0bb,_0x22b213,_0x2f0294,_0xe170e9,_0x351074,_0x258e91,_0x536c80,_0x34ba24,_0x25e5a9,_0x109f7d,_0x28df00,_0xa3459e,_0x544f16,_0x57ea56,_0x47f528,_0x3dc451,_0x20a666){var _0x5e6eec=this;_0x5e6eec[_0x1cd3('0x3ca')]=_0x20a666[_0x1cd3('0x5d')]();_0x5e6eec['project']=_0x2ab0bb||{};_0x5e6eec[_0x1cd3('0x390')]=_0x3dc451&&_0x3dc451[_0x1cd3('0x466')]==0x1?_0x3dc451[_0x1cd3('0xf6')][0x0]:null;_0x5e6eec[_0x1cd3('0xd27')]=_0x20a666['parseCrudPermissions'](_0x5e6eec[_0x1cd3('0x390')]?_0x5e6eec['userProfileSection'][_0x1cd3('0xd27')]:null);_0x5e6eec['onInit']=_0x4d1212;_0x5e6eec['saveOrPublishProject']=_0x594675;_0x5e6eec[_0x1cd3('0x1158')]=_0x4272cf;_0x5e6eec[_0x1cd3('0xedf')]=_0x5714bd;_0x5e6eec['openProject']=_0x30237c;_0x5e6eec['saveProjectAs']=_0x356034;_0x5e6eec['newVariable']=_0x2e77e7;_0x5e6eec[_0x1cd3('0x1159')]=_0x55bed9;_0x5e6eec[_0x1cd3('0x115a')]=_0x3ae9df;_0x5e6eec[_0x1cd3('0x115b')]=_0x366dcc;_0x5e6eec[_0x1cd3('0x115c')]=_0x1a6025;function _0x4d1212(){var _0x3fd3e2=new EditorUi(_0x5e6eec,new Editor(),document['getElementById']('geEditor'));_0x3fd3e2[_0x1cd3('0x115d')](_0x5e6eec[_0x1cd3('0xedd')][_0x1cd3('0x1138')],_0x5e6eec[_0x1cd3('0xedd')]['name'],_0x5e6eec[_0x1cd3('0xedd')]);}function _0x4272cf(_0x5de725,_0x33848a){_0x4b77db[_0x1cd3('0x37e')]({'controller':_0x1cd3('0xf01'),'controllerAs':'vm','templateUrl':_0x1cd3('0x115e'),'parent':angular[_0x1cd3('0x37f')](_0xac2396[_0x1cd3('0x380')]),'clickOutsideToClose':!![],'locals':{'users':_0x22b213[_0x1cd3('0xf6')]||[],'trunks':_0x2f0294['rows']||[],'queues':_0xe170e9[_0x1cd3('0xf6')]||[],'sounds':_0x351074[_0x1cd3('0xf6')]||[],'variables':_0x258e91[_0x1cd3('0xf6')]||[],'databases':_0x536c80[_0x1cd3('0xf6')]||[],'contexts':_0x34ba24[_0x1cd3('0xf6')]||[],'projects':_0x25e5a9[_0x1cd3('0xf6')]||[],'intervals':_0x109f7d[_0x1cd3('0xf6')]||[],'mailAccounts':_0x28df00[_0x1cd3('0xf6')]||[],'smsAccounts':_0x57ea56['rows']||[],'pauses':_0x47f528[_0x1cd3('0xf6')]||[],'templates':_0xa3459e[_0x1cd3('0xf6')]||[],'lists':_0x544f16['rows']||[],'cell':_0x5de725,'saveCallback':_0x33848a,'crudPermissions':_0x5e6eec[_0x1cd3('0xd27')]}});}function _0x5714bd(_0x4f1e8d){_0x4b77db['show']({'controller':'CreateOrEditSquareProjectDialogController','controllerAs':'vm','templateUrl':_0x1cd3('0x115f'),'parent':angular[_0x1cd3('0x37f')](_0xac2396[_0x1cd3('0x380')]),'clickOutsideToClose':!![],'locals':{'project':_0x4f1e8d,'projects':_0x25e5a9[_0x1cd3('0xf6')],'openFromEditor':!![],'license':null,'setting':null,'crudPermissions':_0x5e6eec[_0x1cd3('0xd27')]}});}function _0x30237c(){_0x4b77db[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1160'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1161'),'parent':angular[_0x1cd3('0x37f')](_0xac2396[_0x1cd3('0x380')]),'clickOutsideToClose':!![],'locals':{'projects':_0x25e5a9['rows']||[]}});}function _0x356034(_0x176bd1){_0x4b77db[_0x1cd3('0x37e')]({'controller':'MxGraphSaveProjectAsController','controllerAs':'vm','templateUrl':_0x1cd3('0x1162'),'parent':angular[_0x1cd3('0x37f')](_0xac2396[_0x1cd3('0x380')]),'clickOutsideToClose':!![],'locals':{'project':_0x5e6eec[_0x1cd3('0xedd')],'currentXML':_0x176bd1}})['then'](function(_0x1dfa35){if(_0x1dfa35){_0x25e5a9[_0x1cd3('0xf6')][_0x1cd3('0x7b')](_0x1dfa35);}});}function _0x4c4d18(){return _0x2c8d08(function(_0x962792,_0x38e2cd){return _0xe0a489['userProfileSection'][_0x1cd3('0x361')]({'userProfileId':_0x5e6eec['currentUser'][_0x1cd3('0x5e')],'sectionId':0x3f4})['$promise']['then'](function(_0x915825){var _0x3e6755=_0x915825['rows']?_0x915825[_0x1cd3('0xf6')][0x0]:null;var _0x49748c=_0x20a666['parseCrudPermissions'](_0x3e6755?_0x3e6755['crudPermissions']:null);_0x962792(_0x49748c);})[_0x1cd3('0xfd')](function(_0x1a42e1){_0x38e2cd(_0x1a42e1);});});}function _0x2e77e7(_0x1fe315){return _0x4c4d18()['then'](function(_0x58f531){if(_0x58f531[_0x1cd3('0xe3b')]){_0x4b77db['show']({'controller':_0x1cd3('0x1163'),'controllerAs':'vm','templateUrl':'app/main/apps/tools/views/variables/create/dialog.html','parent':angular[_0x1cd3('0x37f')](_0xac2396[_0x1cd3('0x380')]),'clickOutsideToClose':!![],'locals':{'variable':_0x1fe315,'variables':_0x258e91[_0x1cd3('0xf6')],'license':null,'setting':null,'crudPermissions':_0x58f531}});}else{_0x3271b2[_0x1cd3('0x654')]({'title':_0x5d734c['instant'](_0x1cd3('0x1164')),'msg':_0x5d734c[_0x1cd3('0x44a')](_0x1cd3('0x1165'))});}})[_0x1cd3('0xfd')](function(_0x3ecd24){_0x3271b2[_0x1cd3('0x434')]({'title':_0x3ecd24[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x3ecd24[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x3ecd24[_0x1cd3('0xd35')]:_0x1cd3('0x1166'),'msg':_0x3ecd24[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x3ecd24[_0x1cd3('0x439')]):_0x3ecd24[_0x1cd3('0x43b')]()});});}function _0x55bed9(_0x104228){_0x4b77db[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1140'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1167'),'parent':angular[_0x1cd3('0x37f')](_0xac2396[_0x1cd3('0x380')]),'targetEvent':_0x104228,'clickOutsideToClose':!![],'locals':{'project':_0x5e6eec['project']}})[_0x1cd3('0x77')](function(_0x261711){if(_0x261711){_[_0x1cd3('0xf2')](_0x5e6eec[_0x1cd3('0xedd')],_0x261711);}});}function _0x3ae9df(_0x174e20,_0xf19e68){_0x4b77db[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1168'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1169'),'parent':angular['element'](_0xac2396[_0x1cd3('0x380')]),'clickOutsideToClose':!![],'locals':{'currentXML':_0x174e20,'saveCallback':_0xf19e68}})[_0x1cd3('0x77')](function(_0x1b5887){if(_0x1b5887){_0x5e6eec['project'][_0x1cd3('0x1138')]=_0x1b5887;}});}function _0x366dcc(_0x29f455){_0x4b77db[_0x1cd3('0x37e')]({'controller':'MxGraphImportXMLController','controllerAs':'vm','templateUrl':_0x1cd3('0x116a'),'parent':angular['element'](_0xac2396['body']),'clickOutsideToClose':!![],'locals':{'saveCallback':_0x29f455}})['then'](function(_0x44d876){if(_0x44d876){_0x5e6eec[_0x1cd3('0xedd')]['preproduction']=_0x44d876;}});}function _0x594675(_0x128c75,_0x345173){var _0x57e82f={'preproduction':_0x128c75};if(_0x345173){_0x57e82f[_0x1cd3('0x116b')]=_0x128c75;}_0xe0a489[_0x1cd3('0xc55')][_0x1cd3('0x378')]({'id':_0x5e6eec[_0x1cd3('0xedd')]['id']},_0x57e82f)['$promise']['then'](function(_0x484157){_0x3271b2[_0x1cd3('0x473')]({'title':_0x1cd3('0x116c')+(_0x345173?_0x1cd3('0x116d'):'saved')+'!','msg':_0x5e6eec['project'][_0x1cd3('0x98')]?_0x5e6eec['project'][_0x1cd3('0x98')]+_0x1cd3('0x116e')+(_0x345173?_0x1cd3('0x116d'):'saved')+'!':''});_0x5e6eec[_0x1cd3('0xedd')]['preproduction']=_0x484157[_0x1cd3('0x1138')];})[_0x1cd3('0xfd')](function(_0x514c64){_0x3271b2[_0x1cd3('0x434')]({'title':_0x514c64[_0x1cd3('0x3a6')]?'API:'+_0x514c64[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x514c64[_0x1cd3('0xd35')]:'SYSTEM:GETsquareProject','msg':_0x514c64[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x514c64[_0x1cd3('0x439')]):_0x514c64['toString']()});});}function _0x1a6025(){_0x187295['go']('app.callysquare.projects',{},{'reload':_0x1cd3('0x94')});}}}());(function(){'use strict';_0x3ace68['$inject']=[_0x1cd3('0x460'),_0x1cd3('0x53e'),_0x1cd3('0x969'),_0x1cd3('0xeda'),_0x1cd3('0x38a'),_0x1cd3('0x390'),'api',_0x1cd3('0x2dd'),_0x1cd3('0x3c5'),_0x1cd3('0x372'),'$timeout',_0x1cd3('0x461'),'Auth'];angular['module'](_0x1cd3('0x83'))[_0x1cd3('0x39b')](_0x1cd3('0x116f'),_0x3ace68);function _0x3ace68(_0x270134,_0xd30b49,_0xa654fb,_0x13127a,_0x2e34b4,_0x23ca47,_0x52b9f5,_0x5b5500,_0x26b65c,_0x1014cb,_0x596c27,_0x2b10e7,_0x1a1588){var _0x2014f3=this;_0x2014f3[_0x1cd3('0x3ca')]=_0x1a1588[_0x1cd3('0x5d')]();_0x2014f3['projects']=_0x13127a||{'count':0x0,'rows':[]};_0x2014f3[_0x1cd3('0x38a')]=_0x2e34b4;_0x2014f3[_0x1cd3('0x390')]=_0x23ca47&&_0x23ca47[_0x1cd3('0x466')]==0x1?_0x23ca47['rows'][0x0]:null;_0x2014f3[_0x1cd3('0xd27')]=_0x1a1588[_0x1cd3('0xd44')](_0x2014f3['userProfileSection']?_0x2014f3['userProfileSection'][_0x1cd3('0xd27')]:null);_0x2014f3[_0x1cd3('0xd45')]=_0x1cd3('0xeda');_0x2014f3[_0x1cd3('0xd46')]='';_0x2014f3[_0x1cd3('0xd47')]=null;_0x2014f3[_0x1cd3('0x1170')]=[];_0x2014f3['query']={'fields':_0x1cd3('0x97'),'sort':'-updatedAt','limit':0xa,'page':0x1};_0x2014f3[_0x1cd3('0x1171')]=_0x1b077f;_0x2014f3[_0x1cd3('0xecc')]=_0x58ad5d;_0x2014f3[_0x1cd3('0x473')]=_0x2f2332;_0x2014f3[_0x1cd3('0x1172')]=_0x3dbc77;_0x2014f3[_0x1cd3('0x1173')]=_0x589b93;_0x2014f3[_0x1cd3('0x1174')]=_0x509f85;_0x2014f3[_0x1cd3('0x1175')]=_0x4d2b5d;_0x2014f3[_0x1cd3('0x1176')]=_0x5c84fa;_0x2014f3[_0x1cd3('0x1177')]=_0x5af56a;_0x2014f3[_0x1cd3('0x1178')]=_0x45004d;function _0x1b077f(_0xe7b41f,_0xd06c24){_0xd30b49['go'](_0x1cd3('0x9a'),{'id':_0xe7b41f['id'],'crudPermissions':_0x2014f3['crudPermissions']});}function _0x58ad5d(_0x5f04de,_0x510b59){var _0x41414d=_0x26b65c[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x1179'))['htmlContent'](_0x1cd3('0xd51')+_0x5f04de['name']+_0x1cd3('0xd52')+'\x20will\x20be\x20deleted.')[_0x1cd3('0xd3d')](_0x1cd3('0x117a'))['targetEvent'](_0x510b59)['ok']('OK')['cancel']('CANCEL');_0x26b65c[_0x1cd3('0x37e')](_0x41414d)[_0x1cd3('0x77')](function(){_0x509f85(_0x5f04de);},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}var _0x4078d8=!![];var _0x4390ea=0x1;_0x270134[_0x1cd3('0x4d6')]('vm.query.filter',function(_0x2d1714,_0x35aea6){if(_0x4078d8){_0x596c27(function(){_0x4078d8=![];});}else{if(!_0x35aea6){_0x4390ea=_0x2014f3[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0x2d1714!==_0x35aea6){_0x2014f3[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}if(!_0x2d1714){_0x2014f3[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0x4390ea;}_0x2014f3[_0x1cd3('0x1172')]();}});function _0x2f2332(_0x568319){_0x2014f3[_0x1cd3('0xeda')]=_0x568319||{'count':0x0,'rows':[]};}function _0x3dbc77(){_0x2014f3[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0x2014f3[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0x2014f3[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];if(_0x1a1588[_0x1cd3('0x57')](_0x1cd3('0x5f'))){_0x2014f3[_0x1cd3('0x539')]=_0x52b9f5[_0x1cd3('0xc55')]['get'](_0x2014f3['query'],_0x2f2332)[_0x1cd3('0x81')];}else{_0x2014f3['query']['id']=_0x2014f3[_0x1cd3('0x38a')]['id'];_0x2014f3[_0x1cd3('0x3d4')][_0x1cd3('0xd58')]=_0x1cd3('0x99');_0x2014f3[_0x1cd3('0x539')]=_0x52b9f5[_0x1cd3('0x38a')]['getResources'](_0x2014f3[_0x1cd3('0x3d4')],_0x2f2332)['$promise'];}}function _0x589b93(_0x2f16d3,_0x39c273){_0x26b65c[_0x1cd3('0x37e')]({'controller':_0x1cd3('0xedc'),'controllerAs':'vm','templateUrl':_0x1cd3('0x115f'),'parent':angular[_0x1cd3('0x37f')](_0x1014cb[_0x1cd3('0x380')]),'targetEvent':_0x2f16d3,'clickOutsideToClose':!![],'locals':{'project':_0x39c273,'projects':_0x2014f3[_0x1cd3('0xeda')][_0x1cd3('0xf6')],'openFromEditor':null,'setting':null,'crudPermissions':_0x2014f3[_0x1cd3('0xd27')]}});}function _0x509f85(_0x41fcfc){_0x52b9f5[_0x1cd3('0xc55')][_0x1cd3('0xa1c')]({'id':_0x41fcfc['id']})[_0x1cd3('0x81')]['then'](function(){_[_0x1cd3('0x383')](_0x2014f3[_0x1cd3('0xeda')]['rows'],{'id':_0x41fcfc['id']});_0x2014f3[_0x1cd3('0xeda')][_0x1cd3('0x466')]-=0x1;if(!_0x2014f3['projects'][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){_0x2014f3[_0x1cd3('0x1172')]();}_0x2b10e7[_0x1cd3('0x473')]({'title':_0x1cd3('0x117b'),'msg':_0x41fcfc[_0x1cd3('0x98')]?_0x41fcfc[_0x1cd3('0x98')]+_0x1cd3('0xd41'):''});})[_0x1cd3('0xfd')](function(_0x5083c3){if(_0x5083c3[_0x1cd3('0x439')]&&_0x5083c3['data'][_0x1cd3('0xd34')]&&_0x5083c3['data']['errors']['length']){_0x2014f3[_0x1cd3('0xd34')]=_0x5083c3[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x5083c3[_0x1cd3('0x43b')](),'type':_0x1cd3('0x117c')}];for(var _0x441682=0x0;_0x441682<_0x5083c3[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x441682++){_0x2b10e7[_0x1cd3('0x434')]({'title':_0x5083c3['data']['errors'][_0x441682]['type'],'msg':_0x5083c3['data'][_0x1cd3('0xd34')][_0x441682][_0x1cd3('0x43a')]});}}else{_0x2b10e7['error']({'title':_0x5083c3['status']?_0x1cd3('0x435')+_0x5083c3[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x5083c3[_0x1cd3('0xd35')]:_0x1cd3('0x117c'),'msg':_0x5083c3[_0x1cd3('0x439')]?JSON['stringify'](_0x5083c3[_0x1cd3('0x439')]['message']):_0x5083c3[_0x1cd3('0x43a')]||_0x5083c3[_0x1cd3('0x43b')]()});}});}function _0x4d2b5d(){var _0x36cb77=angular[_0x1cd3('0x429')](_0x2014f3['selectedProjects']);_0x2014f3[_0x1cd3('0x1170')]=[];return _0x36cb77;}function _0x5c84fa(_0x22e874){var _0x675dd4=_0x26b65c[_0x1cd3('0xd39')]()['title'](_0x1cd3('0x117d'))['htmlContent'](_0x1cd3('0xd51')+_0x2014f3[_0x1cd3('0x1170')][_0x1cd3('0x7a')]+_0x1cd3('0xd61')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x117e'))['targetEvent'](_0x22e874)['ok']('OK')['cancel'](_0x1cd3('0xd55'));_0x26b65c[_0x1cd3('0x37e')](_0x675dd4)[_0x1cd3('0x77')](function(){_0x2014f3[_0x1cd3('0x1170')][_0x1cd3('0x394')](function(_0x287cfe){_0x509f85(_0x287cfe);});_0x2014f3[_0x1cd3('0x1170')]=[];});}function _0x5af56a(){_0x2014f3['selectedProjects']=[];}function _0x45004d(){_0x2014f3[_0x1cd3('0x1170')]=_0x2014f3[_0x1cd3('0xeda')][_0x1cd3('0xf6')];}}}());(function(){'use strict';_0xab806f[_0x1cd3('0xc')]=['$scope',_0x1cd3('0x53e'),_0x1cd3('0xd24'),_0x1cd3('0x3c5'),'$q','$translate','toasty','squareRecordings',_0x1cd3('0xc58'),_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0x463'),_0x1cd3('0xc49'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x83'))[_0x1cd3('0x39b')](_0x1cd3('0x117f'),_0xab806f);function _0xab806f(_0x2722e1,_0x5df257,_0x1ca485,_0x2f69e4,_0x15386c,_0x57ddb7,_0xb0942e,_0x57e944,_0x7be7ff,_0x3a4a46,_0x3ffded,_0x563ead,_0x9c1d68,_0x4df2b6){var _0x55ab9f=this;_0x55ab9f[_0x1cd3('0x3ca')]=_0x3ffded[_0x1cd3('0x5d')]();_0x55ab9f[_0x1cd3('0xd34')]=[];_0x55ab9f[_0x1cd3('0xc49')]=_0x9c1d68;_0x55ab9f[_0x1cd3('0x463')]=_0x563ead;_0x55ab9f['crudPermissions']=_0x4df2b6;_0x55ab9f[_0x1cd3('0xd28')]={};_0x55ab9f['passwordPattern']=_0x55ab9f['setting']&&_0x55ab9f[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x55ab9f[_0x1cd3('0x486')]=_0x1cd3('0x1180');_0x55ab9f[_0x1cd3('0xc58')]=angular[_0x1cd3('0x429')](_0x7be7ff);_0x55ab9f[_0x1cd3('0x1181')]=_0x57e944;_0x55ab9f['newSquareRecording']=![];if(!_0x55ab9f['squareRecording']){_0x55ab9f[_0x1cd3('0xc58')]={};_0x55ab9f['title']=_0x1cd3('0x1182');_0x55ab9f['newSquareRecording']=!![];}_0x55ab9f[_0x1cd3('0x1183')]=_0x32d4b1;_0x55ab9f[_0x1cd3('0x1184')]=_0x393eaf;_0x55ab9f['deleteSquareRecording']=_0x2b619d;_0x55ab9f['getDateFromString']=_0x16e146;_0x55ab9f[_0x1cd3('0x39c')]=_0x1575f7;function _0x32d4b1(){_0x55ab9f['errors']=[];_0x3a4a46['squareRecording'][_0x1cd3('0xd6d')](_0x55ab9f[_0x1cd3('0xc58')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x224d65){_0x55ab9f['squareRecordings'][_0x1cd3('0x621')](_0x224d65[_0x1cd3('0xd32')]());_0xb0942e[_0x1cd3('0x473')]({'title':'SquareRecording\x20properly\x20created','msg':_0x55ab9f[_0x1cd3('0xc58')][_0x1cd3('0x98')]?_0x55ab9f[_0x1cd3('0xc58')][_0x1cd3('0x98')]+_0x1cd3('0xd33'):''});_0x1575f7(_0x224d65);})[_0x1cd3('0xfd')](function(_0x1da1aa){if(_0x1da1aa[_0x1cd3('0x439')]&&_0x1da1aa['data'][_0x1cd3('0xd34')]&&_0x1da1aa['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x55ab9f[_0x1cd3('0xd34')]=_0x1da1aa[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x1da1aa['toString'](),'type':_0x1cd3('0x1185')}];for(var _0x3e2447=0x0;_0x3e2447<_0x1da1aa['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x3e2447+=0x1){_0xb0942e[_0x1cd3('0x434')]({'title':_0x1da1aa[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x3e2447][_0x1cd3('0x424')],'msg':_0x1da1aa[_0x1cd3('0x439')]['errors'][_0x3e2447][_0x1cd3('0x43a')]});}}else{_0xb0942e[_0x1cd3('0x434')]({'title':_0x1da1aa['status']?_0x1cd3('0x435')+_0x1da1aa[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x1da1aa[_0x1cd3('0xd35')]:'api.squareRecording.save','msg':_0x1da1aa[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x1da1aa['data']['message']):_0x1da1aa[_0x1cd3('0x43b')]()});}});}function _0x393eaf(){_0x55ab9f['errors']=[];_0x3a4a46[_0x1cd3('0xc58')][_0x1cd3('0x378')]({'id':_0x55ab9f[_0x1cd3('0xc58')]['id']},_0x55ab9f[_0x1cd3('0xc58')])['$promise'][_0x1cd3('0x77')](function(_0x3d0cdb){var _0x47f561=_[_0x1cd3('0x442')](_0x55ab9f[_0x1cd3('0x1181')],{'id':_0x3d0cdb['id']});if(_0x47f561){_[_0x1cd3('0xf2')](_0x47f561,_[_0x1cd3('0x5e8')](_0x3d0cdb[_0x1cd3('0xd32')](),_[_0x1cd3('0x80')](_0x47f561)));}_0xb0942e['success']({'title':_0x1cd3('0x1186'),'msg':_0x55ab9f['squareRecording'][_0x1cd3('0x98')]?_0x55ab9f[_0x1cd3('0xc58')][_0x1cd3('0x98')]+_0x1cd3('0xd37'):''});_0x1575f7(_0x3d0cdb);})['catch'](function(_0x230bc4){if(_0x230bc4[_0x1cd3('0x439')]&&_0x230bc4[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x230bc4[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x55ab9f['errors']=_0x230bc4[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x230bc4['toString'](),'type':_0x1cd3('0x1187')}];for(var _0x348b3c=0x0;_0x348b3c<_0x230bc4[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0x348b3c++){_0xb0942e['error']({'title':_0x230bc4[_0x1cd3('0x439')]['errors'][_0x348b3c][_0x1cd3('0x424')],'msg':_0x230bc4[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x348b3c][_0x1cd3('0x43a')]});}}else{_0xb0942e[_0x1cd3('0x434')]({'title':_0x230bc4['status']?_0x1cd3('0x435')+_0x230bc4[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x230bc4['statusText']:'api.squareRecording.update','msg':_0x230bc4['data']?JSON[_0x1cd3('0x438')](_0x230bc4['data'][_0x1cd3('0x43a')]):_0x230bc4['toString']()});}});}function _0x2b619d(_0x5dc07e){_0x55ab9f[_0x1cd3('0xd34')]=[];var _0x13d613=_0x2f69e4[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xd3a'))[_0x1cd3('0xd3b')]('The\x20squareRecording\x20will\x20be\x20deleted.')[_0x1cd3('0xd3d')](_0x1cd3('0x1188'))['ok'](_0x1cd3('0xd3f'))[_0x1cd3('0x4d8')]('Cancel')[_0x1cd3('0xd63')](_0x5dc07e);_0x2f69e4[_0x1cd3('0x37e')](_0x13d613)['then'](function(){_0x3a4a46[_0x1cd3('0xc58')][_0x1cd3('0xa1c')]({'id':_0x55ab9f['squareRecording']['id']})['$promise']['then'](function(){_[_0x1cd3('0x383')](_0x55ab9f['squareRecordings'],{'id':_0x55ab9f[_0x1cd3('0xc58')]['id']});_0xb0942e[_0x1cd3('0x473')]({'title':_0x1cd3('0x1189'),'msg':(_0x55ab9f[_0x1cd3('0xc58')][_0x1cd3('0x98')]||_0x1cd3('0xc58'))+'\x20has\x20been\x20deleted!'});_0x1575f7(_0x55ab9f['squareRecording']);})[_0x1cd3('0xfd')](function(_0x58860a){if(_0x58860a[_0x1cd3('0x439')]&&_0x58860a[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x58860a[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x55ab9f[_0x1cd3('0xd34')]=_0x58860a[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x58860a[_0x1cd3('0x43b')](),'type':'api.squareRecording.delete'}];for(var _0x40135b=0x0;_0x40135b<_0x58860a[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x40135b++){_0xb0942e['error']({'title':_0x58860a[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x40135b]['type'],'msg':_0x58860a['data']['errors'][_0x40135b][_0x1cd3('0x43a')]});}}else{_0xb0942e[_0x1cd3('0x434')]({'title':_0x58860a['status']?_0x1cd3('0x435')+_0x58860a[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x58860a[_0x1cd3('0xd35')]:_0x1cd3('0x118a'),'msg':_0x58860a[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x58860a['data'][_0x1cd3('0x43a')]):_0x58860a[_0x1cd3('0x43a')]||_0x58860a[_0x1cd3('0x43b')]()});}});},function(){});}function _0x16e146(_0x178dcc){return _0x178dcc===null?undefined:new Date(_0x178dcc);}function _0x1575f7(_0x158f6c){_0x2f69e4[_0x1cd3('0x39d')](_0x158f6c);}}}());(function(){'use strict';_0x28d14e[_0x1cd3('0xc')]=[_0x1cd3('0x460'),'$window',_0x1cd3('0x53e'),_0x1cd3('0x969'),_0x1cd3('0x3c5'),_0x1cd3('0x372'),'$timeout',_0x1cd3('0x3f7'),_0x1cd3('0x1181'),'userProfile',_0x1cd3('0x390'),_0x1cd3('0x370'),'msUtils',_0x1cd3('0x461'),'Auth',_0x1cd3('0x463'),'setting'];angular[_0x1cd3('0x0')](_0x1cd3('0x83'))[_0x1cd3('0x39b')](_0x1cd3('0x118b'),_0x28d14e);function _0x28d14e(_0x259fd6,_0x15d245,_0x12e3a8,_0x3e40df,_0x45dd5b,_0x212798,_0x2717e8,_0x1f0594,_0x2dd449,_0x19d52c,_0xa103ea,_0x506166,_0x10dbeb,_0x5932c6,_0xe0874b,_0x1ab7f4,_0x169b29){var _0x5d800b=this;_0x5d800b['license']=_0x1ab7f4;_0x5d800b[_0x1cd3('0xc49')]=_0x169b29;_0x5d800b[_0x1cd3('0x3ca')]=_0xe0874b[_0x1cd3('0x5d')]();_0x5d800b[_0x1cd3('0x1181')]=_0x2dd449||{'count':0x0,'rows':[]};_0x5d800b[_0x1cd3('0x38a')]=_0x19d52c;_0x5d800b['userProfileSection']=_0xa103ea&&_0xa103ea[_0x1cd3('0x466')]==0x1?_0xa103ea[_0x1cd3('0xf6')][0x0]:null;_0x5d800b[_0x1cd3('0xd27')]=_0xe0874b[_0x1cd3('0xd44')](_0x5d800b[_0x1cd3('0x390')]?_0x5d800b[_0x1cd3('0x390')]['crudPermissions']:null);_0x5d800b[_0x1cd3('0xd45')]=_0x1cd3('0x1181');_0x5d800b[_0x1cd3('0xd46')]='';_0x5d800b[_0x1cd3('0xd47')]=null;_0x5d800b['selectedSquareRecordings']=[];_0x5d800b[_0x1cd3('0x3d4')]={'fields':_0x1cd3('0x91'),'sort':_0x1cd3('0x5b'),'limit':0xa,'page':0x1};_0x5d800b[_0x1cd3('0x118c')]=_0x4b523b;_0x5d800b[_0x1cd3('0xecc')]=_0x2439a5;_0x5d800b[_0x1cd3('0x473')]=_0x332ec8;_0x5d800b[_0x1cd3('0x118d')]=_0x4283f7;_0x5d800b[_0x1cd3('0x118e')]=_0x5254b;_0x5d800b[_0x1cd3('0x118f')]=_0x2946fe;_0x5d800b['exportSelectedSquareRecordings']=_0x276b66;_0x5d800b[_0x1cd3('0x1190')]=_0x1f9b10;_0x5d800b['deselectSquareRecordings']=_0x17f1a9;_0x5d800b['selectAllSquareRecordings']=_0x58f7da;function _0x4b523b(_0x362934,_0x5a149c){return _0x506166[_0x1cd3('0xc58')][_0x1cd3('0x489')]({'id':_0x362934['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x4c6511){var _0x124a10=[_0x4c6511['buffer']];var _0x27439f=_0x1cd3('0x489');var _0x189b4b=new Blob(_0x124a10,{'type':_0x4c6511[_0x1cd3('0x424')]});_0x27439f=_0x362934['uniqueid']+_0x362934[_0x1cd3('0x130')];var _0x1016c2=window[_0x1cd3('0x924')][_0x1cd3('0x3aa')]('a');_0x1016c2[_0x1cd3('0x481')](_0x1cd3('0x3ab'),URL[_0x1cd3('0x48a')](_0x189b4b));_0x1016c2['setAttribute']('download',_0x27439f);document['body'][_0x1cd3('0xd4e')](_0x1016c2);_0x1016c2['click']();})[_0x1cd3('0xfd')](function(_0x20ccff){if(_0x20ccff[_0x1cd3('0x439')]&&_0x20ccff['data'][_0x1cd3('0xd34')]&&_0x20ccff[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){for(var _0x1ec191=0x0;_0x1ec191<_0x20ccff[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length'];_0x1ec191++){_0x5932c6[_0x1cd3('0x434')]({'title':_0x20ccff[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1ec191][_0x1cd3('0x424')],'msg':_0x20ccff[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1ec191][_0x1cd3('0x43a')]});}}else{_0x5932c6[_0x1cd3('0x434')]({'title':_0x20ccff[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x20ccff['status']+_0x1cd3('0x436')+_0x20ccff['statusText']:_0x1cd3('0x1185'),'msg':_0x20ccff['data']?JSON[_0x1cd3('0x438')](_0x20ccff[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x20ccff['toString']()});}});}function _0x2439a5(_0x95afa3,_0x2d417e){var _0x2bcad3=_0x45dd5b[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xd4f')+_[_0x1cd3('0xd50')](_0x1cd3('0xc58'))+'?')['htmlContent'](_0x1cd3('0xd51')+(_0x95afa3[_0x1cd3('0x98')]||_0x1cd3('0xc58'))+'</b>'+'\x20will\x20be\x20deleted.')[_0x1cd3('0xd3d')](_0x1cd3('0x1191'))[_0x1cd3('0xd63')](_0x2d417e)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x45dd5b[_0x1cd3('0x37e')](_0x2bcad3)[_0x1cd3('0x77')](function(){_0x2946fe(_0x95afa3);},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}var _0x204527=!![];var _0x4ef5a0=0x1;_0x259fd6[_0x1cd3('0x4d6')]('vm.query.filter',function(_0x45ebc,_0x26a6ac){if(_0x204527){_0x2717e8(function(){_0x204527=![];});}else{if(!_0x26a6ac){_0x4ef5a0=_0x5d800b[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0x45ebc!==_0x26a6ac){_0x5d800b[_0x1cd3('0x3d4')]['page']=0x1;}if(!_0x45ebc){_0x5d800b[_0x1cd3('0x3d4')]['page']=_0x4ef5a0;}_0x5d800b['getSquareRecordings']();}});function _0x332ec8(_0x97b229){_0x5d800b['squareRecordings']=_0x97b229||{'count':0x0,'rows':[]};}function _0x4283f7(){_0x5d800b['query'][_0x1cd3('0xd57')]=(_0x5d800b[_0x1cd3('0x3d4')]['page']-0x1)*_0x5d800b[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];if(_0xe0874b[_0x1cd3('0x57')](_0x1cd3('0x5f'))){_0x5d800b[_0x1cd3('0x539')]=_0x506166[_0x1cd3('0xc58')][_0x1cd3('0x361')](_0x5d800b[_0x1cd3('0x3d4')],_0x332ec8)[_0x1cd3('0x81')];}else{_0x5d800b[_0x1cd3('0x3d4')]['id']=_0x5d800b[_0x1cd3('0x38a')]['id'];_0x5d800b['query'][_0x1cd3('0xd58')]='SquareRecordings';_0x5d800b[_0x1cd3('0x539')]=_0x506166[_0x1cd3('0x38a')][_0x1cd3('0xd59')](_0x5d800b[_0x1cd3('0x3d4')],_0x332ec8)[_0x1cd3('0x81')];}}function _0x5254b(_0x453313,_0x1fdeaa){_0x45dd5b[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x117f'),'controllerAs':'vm','templateUrl':'app/main/apps/callysquare/views/squareRecordings/create/dialog.html','parent':angular[_0x1cd3('0x37f')](_0x212798['body']),'targetEvent':_0x453313,'clickOutsideToClose':!![],'locals':{'squareRecording':_0x1fdeaa,'squareRecordings':_0x5d800b[_0x1cd3('0x1181')]['rows'],'license':_0x5d800b[_0x1cd3('0x463')],'setting':_0x5d800b[_0x1cd3('0xc49')],'crudPermissions':_0x5d800b['crudPermissions']}});}function _0x2946fe(_0x4ae8de){_0x506166[_0x1cd3('0xc58')][_0x1cd3('0xa1c')]({'id':_0x4ae8de['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x5d800b[_0x1cd3('0x1181')]['rows'],{'id':_0x4ae8de['id']});_0x5d800b[_0x1cd3('0x1181')]['count']-=0x1;if(!_0x5d800b[_0x1cd3('0x1181')][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){_0x5d800b[_0x1cd3('0x118d')]();}_0x5932c6[_0x1cd3('0x473')]({'title':_[_0x1cd3('0xd50')](_0x1cd3('0x1192'))+'\x20deleted!','msg':_0x4ae8de['name']?_0x4ae8de[_0x1cd3('0x98')]+_0x1cd3('0xd41'):''});})['catch'](function(_0x2461b3){if(_0x2461b3['data']&&_0x2461b3['data'][_0x1cd3('0xd34')]&&_0x2461b3[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')]){_0x5d800b['errors']=_0x2461b3[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x2461b3[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1193')}];for(var _0x40d12d=0x0;_0x40d12d<_0x2461b3[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0x40d12d++){_0x5932c6[_0x1cd3('0x434')]({'title':_0x2461b3[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x40d12d][_0x1cd3('0x424')],'msg':_0x2461b3['data']['errors'][_0x40d12d]['message']});}}else{_0x5932c6[_0x1cd3('0x434')]({'title':_0x2461b3[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x2461b3[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x2461b3[_0x1cd3('0xd35')]:_0x1cd3('0x1193'),'msg':_0x2461b3[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x2461b3['data'][_0x1cd3('0x43a')]):_0x2461b3[_0x1cd3('0x43a')]||_0x2461b3['toString']()});}});}function _0x276b66(){var _0xd5c423=angular[_0x1cd3('0x429')](_0x5d800b['selectedSquareRecordings']);_0x5d800b[_0x1cd3('0x1194')]=[];return _0xd5c423;}function _0x1f9b10(_0x44caaf){var _0x2db3be=_0x45dd5b['confirm']()[_0x1cd3('0x486')](_0x1cd3('0x1195'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x5d800b[_0x1cd3('0x1194')][_0x1cd3('0x7a')]+'\x20selected</b>'+_0x1cd3('0xd53'))['ariaLabel']('delete\x20SquareRecordings')[_0x1cd3('0xd63')](_0x44caaf)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x45dd5b[_0x1cd3('0x37e')](_0x2db3be)[_0x1cd3('0x77')](function(){_0x5d800b['selectedSquareRecordings']['forEach'](function(_0x42f389){_0x2946fe(_0x42f389);});_0x5d800b[_0x1cd3('0x1194')]=[];});}function _0x17f1a9(){_0x5d800b['selectedSquareRecordings']=[];}function _0x58f7da(){_0x5d800b[_0x1cd3('0x1194')]=_0x5d800b[_0x1cd3('0x1181')][_0x1cd3('0xf6')];}}}());(function(){'use strict';_0x1517fe[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x371'),'$state','$mdSidenav',_0x1cd3('0x3c5'),_0x1cd3('0x372'),_0x1cd3('0x3e7'),_0x1cd3('0x3f7'),_0x1cd3('0x1196'),_0x1cd3('0x38a'),_0x1cd3('0x390'),_0x1cd3('0x370'),_0x1cd3('0x2dd'),_0x1cd3('0x461'),'Auth','license','setting'];angular[_0x1cd3('0x0')](_0x1cd3('0x2e'))[_0x1cd3('0x39b')](_0x1cd3('0x1197'),_0x1517fe);function _0x1517fe(_0x2be39a,_0x473fdf,_0x1363b1,_0x110472,_0x24898d,_0x247d64,_0x2aea85,_0x13f70f,_0x3dba93,_0x2236c1,_0xcf3ae7,_0x121f59,_0xea4134,_0x13409f,_0x3804a2,_0x85f6d4,_0x5a0ed1){var _0x44f73d=this;_0x44f73d[_0x1cd3('0x463')]=_0x85f6d4;_0x44f73d['setting']=_0x5a0ed1;_0x44f73d['currentUser']=_0x3804a2[_0x1cd3('0x5d')]();_0x44f73d['chatQueues']=_0x3dba93||{'count':0x0,'rows':[]};_0x44f73d['userProfile']=_0x2236c1;_0x44f73d['userProfileSection']=_0xcf3ae7&&_0xcf3ae7[_0x1cd3('0x466')]==0x1?_0xcf3ae7[_0x1cd3('0xf6')][0x0]:null;_0x44f73d['crudPermissions']=_0x3804a2[_0x1cd3('0xd44')](_0x44f73d[_0x1cd3('0x390')]?_0x44f73d[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);_0x44f73d['table']=_0x1cd3('0x1196');_0x44f73d[_0x1cd3('0xd46')]='';_0x44f73d[_0x1cd3('0xd47')]=null;_0x44f73d[_0x1cd3('0x1198')]=[];_0x44f73d[_0x1cd3('0x3d4')]={'fields':_0x1cd3('0xbb'),'sort':_0x1cd3('0x5b'),'channel':_0x1cd3('0xbf'),'limit':0xa,'page':0x1};_0x44f73d['arraystrategy']=_[_0x1cd3('0xe2d')]([{'option':'Beepall','value':_0x1cd3('0x1199')},{'option':'RR\x20Memory','value':'\x27rrmemory\x27'}],function(_0x438291){return _[_0x1cd3('0x3f1')](_0x438291[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x44f73d[_0x1cd3('0x1171')]=_0x1dafb8;_0x44f73d[_0x1cd3('0x119a')]=_0x2c559c;_0x44f73d[_0x1cd3('0x119b')]=_0x13e85d;_0x44f73d['deleteconfirm']=_0x555945;_0x44f73d[_0x1cd3('0x119c')]=_0x5c666e;_0x44f73d[_0x1cd3('0x473')]=_0x383069;_0x44f73d[_0x1cd3('0x119d')]=_0x235dc3;_0x44f73d[_0x1cd3('0x119e')]=_0x38a335;_0x44f73d[_0x1cd3('0x119f')]=_0x471050;_0x44f73d[_0x1cd3('0x11a0')]=_0x3247ef;_0x44f73d[_0x1cd3('0x11a1')]=_0x5d4fe9;_0x44f73d['deselectChatQueues']=_0x5b3f96;_0x44f73d[_0x1cd3('0x11a2')]=_0x58035f;function _0x1dafb8(_0x4c039c,_0x340b0c){_0x1363b1['go'](_0x1cd3('0xbd'),{'id':_0x4c039c['id'],'chatQueue':_0x4c039c,'crudPermissions':_0x44f73d[_0x1cd3('0xd27')]});}function _0x2c559c(_0x3b43b3,_0x2d7bde){_0x24898d[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x11a3'),'controllerAs':'vm','templateUrl':_0x1cd3('0x11a4'),'parent':angular[_0x1cd3('0x37f')](_0x247d64[_0x1cd3('0x380')]),'targetEvent':_0x2d7bde,'clickOutsideToClose':!![],'locals':{'chatQueue':_0x3b43b3,'chatQueues':_0x44f73d[_0x1cd3('0x1196')]?_0x44f73d[_0x1cd3('0x1196')][_0x1cd3('0xf6')]:[],'crudPermissions':_0x44f73d[_0x1cd3('0xd27')]}});}function _0x13e85d(_0x38ffec,_0x5f58dc){_0x24898d[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x11a5'),'controllerAs':'vm','templateUrl':_0x1cd3('0x11a6'),'parent':angular[_0x1cd3('0x37f')](_0x247d64[_0x1cd3('0x380')]),'targetEvent':_0x5f58dc,'clickOutsideToClose':!![],'locals':{'chatQueue':_0x38ffec,'chatQueues':_0x44f73d[_0x1cd3('0x1196')]?_0x44f73d[_0x1cd3('0x1196')][_0x1cd3('0xf6')]:[],'crudPermissions':_0x44f73d[_0x1cd3('0xd27')],'realtime':![]}});}function _0x555945(_0xca090a,_0xdd6cac){var _0x327804=_0x24898d[_0x1cd3('0xd39')]()['title'](_0x1cd3('0xd4f')+_[_0x1cd3('0xd50')](_0x1cd3('0x11a7'))+'?')['htmlContent'](_0x1cd3('0xd51')+(_0xca090a['name']||_0x1cd3('0x11a7'))+_0x1cd3('0xd52')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x11a8'))[_0x1cd3('0xd63')](_0xdd6cac)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x24898d['show'](_0x327804)[_0x1cd3('0x77')](function(){_0x471050(_0xca090a);},function(){console['log'](_0x1cd3('0xd55'));});}function _0x5c666e(_0x4db265,_0x5dd8fd){if(_0x3804a2[_0x1cd3('0x57')]('admin')){_0x1363b1['go'](_0x1cd3('0xd6'),{});}else{return _0x121f59[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x3804a2[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x1fe})['$promise'][_0x1cd3('0x77')](function(_0x161a33){var _0x144552=_0x161a33&&_0x161a33[_0x1cd3('0xf6')]?_0x161a33[_0x1cd3('0xf6')][0x0]:null;if(_0x144552&&_0x144552[_0x1cd3('0x396')]){_0x1363b1['go']('app.chat.realtime.queues',{});}else{_0x13409f['info']({'title':_0x13f70f['instant'](_0x1cd3('0x1164')),'msg':_0x13f70f[_0x1cd3('0x44a')](_0x1cd3('0x11a9'))});}})[_0x1cd3('0xfd')](function(_0x174b67){_0x13409f[_0x1cd3('0x434')]({'title':_0x174b67['status']?_0x1cd3('0x435')+_0x174b67[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x174b67[_0x1cd3('0xd35')]:_0x1cd3('0x11aa'),'msg':_0x174b67[_0x1cd3('0x3a6')]?JSON[_0x1cd3('0x438')](_0x174b67[_0x1cd3('0x439')]):_0x174b67[_0x1cd3('0x43b')]()});});}}var _0x1fc267=!![];var _0x5a7f3b=0x1;_0x2be39a[_0x1cd3('0x4d6')](_0x1cd3('0xd56'),function(_0x317705,_0x3e6486){if(_0x1fc267){_0x2aea85(function(){_0x1fc267=![];});}else{if(!_0x3e6486){_0x5a7f3b=_0x44f73d[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0x317705!==_0x3e6486){_0x44f73d[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}if(!_0x317705){_0x44f73d[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0x5a7f3b;}_0x44f73d[_0x1cd3('0x119d')]();}});function _0x383069(_0x15bdc7){_0x44f73d[_0x1cd3('0x1196')]=_0x15bdc7||{'count':0x0,'rows':[]};}function _0x235dc3(){_0x44f73d[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0x44f73d[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0x44f73d[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];if(_0x3804a2['hasRole']('admin')){_0x44f73d[_0x1cd3('0x539')]=_0x121f59[_0x1cd3('0x11a7')][_0x1cd3('0x361')](_0x44f73d['query'],_0x383069)[_0x1cd3('0x81')];}else{_0x44f73d['query']['id']=_0x44f73d[_0x1cd3('0x38a')]['id'];_0x44f73d[_0x1cd3('0x3d4')]['section']=_0x1cd3('0xbc');_0x44f73d[_0x1cd3('0x539')]=_0x121f59[_0x1cd3('0x38a')][_0x1cd3('0xd59')](_0x44f73d['query'],_0x383069)['$promise'];}}function _0x38a335(_0x5ebc42,_0x407862){_0x24898d[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x11ab'),'controllerAs':'vm','templateUrl':_0x1cd3('0x11ac'),'parent':angular[_0x1cd3('0x37f')](_0x247d64[_0x1cd3('0x380')]),'targetEvent':_0x5ebc42,'clickOutsideToClose':!![],'locals':{'chatQueue':_0x407862,'chatQueues':_0x44f73d[_0x1cd3('0x1196')][_0x1cd3('0xf6')],'license':_0x44f73d['license'],'setting':_0x44f73d['setting'],'crudPermissions':_0x44f73d[_0x1cd3('0xd27')]}});}function _0x471050(_0x1233e0){_0x121f59[_0x1cd3('0x11a7')][_0x1cd3('0xa1c')]({'id':_0x1233e0['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x44f73d[_0x1cd3('0x1196')][_0x1cd3('0xf6')],{'id':_0x1233e0['id']});_0x44f73d['chatQueues'][_0x1cd3('0x466')]-=0x1;if(!_0x44f73d[_0x1cd3('0x1196')]['rows'][_0x1cd3('0x7a')]){_0x44f73d[_0x1cd3('0x119d')]();}_0x13409f[_0x1cd3('0x473')]({'title':_['startCase'](_0x1cd3('0x11ad'))+_0x1cd3('0xd5c'),'msg':_0x1233e0[_0x1cd3('0x98')]?_0x1233e0[_0x1cd3('0x98')]+'\x20has\x20been\x20deleted!':''});})[_0x1cd3('0xfd')](function(_0x4b867d){if(_0x4b867d['data']&&_0x4b867d[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x4b867d[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')]){_0x44f73d[_0x1cd3('0xd34')]=_0x4b867d[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x4b867d['toString'](),'type':_0x1cd3('0x11ae')}];for(var _0x593954=0x0;_0x593954<_0x4b867d['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x593954++){_0x13409f[_0x1cd3('0x434')]({'title':_0x4b867d[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x593954]['type'],'msg':_0x4b867d[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x593954][_0x1cd3('0x43a')]});}}else{_0x13409f[_0x1cd3('0x434')]({'title':_0x4b867d[_0x1cd3('0x3a6')]?'API:'+_0x4b867d[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x4b867d[_0x1cd3('0xd35')]:_0x1cd3('0x11ae'),'msg':_0x4b867d['data']?JSON[_0x1cd3('0x438')](_0x4b867d['data'][_0x1cd3('0x43a')]):_0x4b867d[_0x1cd3('0x43a')]||_0x4b867d[_0x1cd3('0x43b')]()});}});}function _0x3247ef(){var _0x545035=angular[_0x1cd3('0x429')](_0x44f73d[_0x1cd3('0x1198')]);_0x44f73d['selectedChatQueues']=[];return _0x545035;}function _0x5d4fe9(_0x576924){var _0x5fed83=_0x24898d['confirm']()['title']('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20chatQueues?')[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x44f73d[_0x1cd3('0x1198')][_0x1cd3('0x7a')]+_0x1cd3('0xd61')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x11af'))[_0x1cd3('0xd63')](_0x576924)['ok']('OK')[_0x1cd3('0x4d8')]('CANCEL');_0x24898d[_0x1cd3('0x37e')](_0x5fed83)['then'](function(){_0x44f73d[_0x1cd3('0x1198')][_0x1cd3('0x394')](function(_0x385dd1){_0x471050(_0x385dd1);});_0x44f73d[_0x1cd3('0x1198')]=[];});}function _0x5b3f96(){_0x44f73d[_0x1cd3('0x1198')]=[];}function _0x58035f(){_0x44f73d['selectedChatQueues']=_0x44f73d[_0x1cd3('0x1196')][_0x1cd3('0xf6')];}}}());(function(){'use strict';_0x198622[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x53e'),_0x1cd3('0xd24'),_0x1cd3('0x3c5'),'$q','$translate',_0x1cd3('0x461'),_0x1cd3('0x1196'),_0x1cd3('0x11a7'),_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0x463'),_0x1cd3('0xc49'),'crudPermissions'];angular[_0x1cd3('0x0')](_0x1cd3('0x2e'))[_0x1cd3('0x39b')](_0x1cd3('0x11ab'),_0x198622);function _0x198622(_0x347d93,_0x4df34e,_0x30415a,_0x1e3522,_0x477e4b,_0x54d355,_0x41ca60,_0x2f7b4e,_0x51d58c,_0x3eaaaa,_0x36b45f,_0x13e500,_0x21810e,_0x273e46){var _0x2710ae=this;_0x2710ae['currentUser']=_0x36b45f[_0x1cd3('0x5d')]();_0x2710ae[_0x1cd3('0xd34')]=[];_0x2710ae[_0x1cd3('0xc49')]=_0x21810e;_0x2710ae[_0x1cd3('0x463')]=_0x13e500;_0x2710ae['crudPermissions']=_0x273e46;_0x2710ae[_0x1cd3('0xd28')]={};_0x2710ae[_0x1cd3('0xd29')]=_0x2710ae[_0x1cd3('0xc49')]&&_0x2710ae[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x2710ae[_0x1cd3('0x486')]=_0x1cd3('0x11b0');_0x2710ae['chatQueue']=angular[_0x1cd3('0x429')](_0x51d58c);_0x2710ae[_0x1cd3('0x1196')]=_0x2f7b4e;_0x2710ae[_0x1cd3('0x11b1')]=![];if(!_0x2710ae[_0x1cd3('0x11a7')]){_0x2710ae[_0x1cd3('0x11a7')]={'strategy':_0x1cd3('0x11b2'),'timeout':0xa};_0x2710ae['title']=_0x1cd3('0x11b3');_0x2710ae[_0x1cd3('0x11b1')]=!![];}_0x2710ae['addNewChatQueue']=_0x13a2b2;_0x2710ae['saveChatQueue']=_0x1737c8;_0x2710ae['deleteChatQueue']=_0x56643f;_0x2710ae[_0x1cd3('0xd31')]=_0xe63164;_0x2710ae[_0x1cd3('0x39c')]=_0x5ec861;function _0x13a2b2(){_0x2710ae[_0x1cd3('0xd34')]=[];_0x3eaaaa[_0x1cd3('0x11a7')][_0x1cd3('0xd6d')](_0x2710ae[_0x1cd3('0x11a7')])['$promise'][_0x1cd3('0x77')](function(_0x1567ea){_0x2710ae[_0x1cd3('0x1196')][_0x1cd3('0x621')](_0x1567ea[_0x1cd3('0xd32')]());_0x41ca60[_0x1cd3('0x473')]({'title':_0x1cd3('0x11b4'),'msg':_0x2710ae[_0x1cd3('0x11a7')][_0x1cd3('0x98')]?_0x2710ae['chatQueue'][_0x1cd3('0x98')]+'\x20has\x20been\x20created!':''});_0x5ec861(_0x1567ea);})['catch'](function(_0x5cfc3a){if(_0x5cfc3a['data']&&_0x5cfc3a[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x5cfc3a[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x2710ae[_0x1cd3('0xd34')]=_0x5cfc3a['data'][_0x1cd3('0xd34')]||[{'message':_0x5cfc3a[_0x1cd3('0x43b')](),'type':_0x1cd3('0x11b5')}];for(var _0x159a62=0x0;_0x159a62<_0x5cfc3a[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x159a62+=0x1){_0x41ca60[_0x1cd3('0x434')]({'title':_0x5cfc3a['data'][_0x1cd3('0xd34')][_0x159a62][_0x1cd3('0x424')],'msg':_0x5cfc3a['data'][_0x1cd3('0xd34')][_0x159a62][_0x1cd3('0x43a')]});}}else{_0x41ca60[_0x1cd3('0x434')]({'title':_0x5cfc3a[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x5cfc3a[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x5cfc3a[_0x1cd3('0xd35')]:'api.chatQueue.save','msg':_0x5cfc3a[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x5cfc3a[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x5cfc3a[_0x1cd3('0x43b')]()});}});}function _0x1737c8(){_0x2710ae[_0x1cd3('0xd34')]=[];_0x3eaaaa['chatQueue'][_0x1cd3('0x378')]({'id':_0x2710ae['chatQueue']['id']},_0x2710ae[_0x1cd3('0x11a7')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x128724){var _0x10f292=_[_0x1cd3('0x442')](_0x2710ae[_0x1cd3('0x1196')],{'id':_0x128724['id']});if(_0x10f292){_[_0x1cd3('0xf2')](_0x10f292,_[_0x1cd3('0x5e8')](_0x128724[_0x1cd3('0xd32')](),_['keys'](_0x10f292)));}_0x41ca60['success']({'title':_0x1cd3('0x11b6'),'msg':_0x2710ae[_0x1cd3('0x11a7')][_0x1cd3('0x98')]?_0x2710ae[_0x1cd3('0x11a7')][_0x1cd3('0x98')]+_0x1cd3('0xd37'):''});_0x5ec861(_0x128724);})[_0x1cd3('0xfd')](function(_0x4e11e4){if(_0x4e11e4[_0x1cd3('0x439')]&&_0x4e11e4[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x4e11e4[_0x1cd3('0x439')]['errors']['length']){_0x2710ae[_0x1cd3('0xd34')]=_0x4e11e4[_0x1cd3('0x439')]['errors']||[{'message':_0x4e11e4[_0x1cd3('0x43b')](),'type':'api.chatQueue.update'}];for(var _0x127be0=0x0;_0x127be0<_0x4e11e4[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x127be0++){_0x41ca60[_0x1cd3('0x434')]({'title':_0x4e11e4[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x127be0][_0x1cd3('0x424')],'msg':_0x4e11e4['data']['errors'][_0x127be0][_0x1cd3('0x43a')]});}}else{_0x41ca60[_0x1cd3('0x434')]({'title':_0x4e11e4['status']?'API:'+_0x4e11e4[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x4e11e4[_0x1cd3('0xd35')]:_0x1cd3('0x11b7'),'msg':_0x4e11e4[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x4e11e4[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x4e11e4[_0x1cd3('0x43b')]()});}});}function _0x56643f(_0x3cadc8){_0x2710ae['errors']=[];var _0x4ab2cb=_0x1e3522[_0x1cd3('0xd39')]()[_0x1cd3('0x486')]('Are\x20you\x20sure?')[_0x1cd3('0xd3b')]('The\x20chatQueue\x20will\x20be\x20deleted.')['ariaLabel'](_0x1cd3('0x11b8'))['ok'](_0x1cd3('0xd3f'))[_0x1cd3('0x4d8')](_0x1cd3('0x674'))['targetEvent'](_0x3cadc8);_0x1e3522['show'](_0x4ab2cb)['then'](function(){_0x3eaaaa[_0x1cd3('0x11a7')][_0x1cd3('0xa1c')]({'id':_0x2710ae[_0x1cd3('0x11a7')]['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x2710ae['chatQueues'],{'id':_0x2710ae['chatQueue']['id']});_0x41ca60[_0x1cd3('0x473')]({'title':'ChatQueue\x20properly\x20deleted!','msg':(_0x2710ae[_0x1cd3('0x11a7')][_0x1cd3('0x98')]||_0x1cd3('0x11a7'))+_0x1cd3('0xd41')});_0x5ec861(_0x2710ae[_0x1cd3('0x11a7')]);})['catch'](function(_0xf9a3ef){if(_0xf9a3ef[_0x1cd3('0x439')]&&_0xf9a3ef[_0x1cd3('0x439')]['errors']&&_0xf9a3ef[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length']){_0x2710ae[_0x1cd3('0xd34')]=_0xf9a3ef[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0xf9a3ef[_0x1cd3('0x43b')](),'type':'api.chatQueue.delete'}];for(var _0x4ed1d0=0x0;_0x4ed1d0<_0xf9a3ef[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x4ed1d0++){_0x41ca60[_0x1cd3('0x434')]({'title':_0xf9a3ef['data'][_0x1cd3('0xd34')][_0x4ed1d0][_0x1cd3('0x424')],'msg':_0xf9a3ef['data']['errors'][_0x4ed1d0]['message']});}}else{_0x41ca60[_0x1cd3('0x434')]({'title':_0xf9a3ef[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0xf9a3ef[_0x1cd3('0x3a6')]+'\x20-\x20'+_0xf9a3ef[_0x1cd3('0xd35')]:'api.chatQueue.delete','msg':_0xf9a3ef[_0x1cd3('0x439')]?JSON['stringify'](_0xf9a3ef['data'][_0x1cd3('0x43a')]):_0xf9a3ef[_0x1cd3('0x43a')]||_0xf9a3ef[_0x1cd3('0x43b')]()});}});},function(){});}function _0xe63164(_0xe167a){return _0xe167a===null?undefined:new Date(_0xe167a);}function _0x5ec861(_0x5cc54f){_0x1e3522[_0x1cd3('0x39d')](_0x5cc54f);}}}());(function(){'use strict';_0x382a1c[_0x1cd3('0xc')]=['$mdDialog','$q','toasty',_0x1cd3('0x370'),_0x1cd3('0x11a7'),_0x1cd3('0x1196'),'realtime',_0x1cd3('0x3f7'),'Auth',_0x1cd3('0xd27')];angular[_0x1cd3('0x0')]('app.chat')[_0x1cd3('0x39b')](_0x1cd3('0x11a5'),_0x382a1c);function _0x382a1c(_0x3dd0cf,_0x54bddc,_0x4b12a9,_0x563628,_0x263ec5,_0x1708f0,_0x207888,_0x46e815,_0x5857e0,_0xfab8c0){var _0x170b67=this;_0x170b67[_0x1cd3('0x3ca')]=_0x5857e0[_0x1cd3('0x5d')]();_0x170b67[_0x1cd3('0x11a7')]=_0x263ec5;_0x170b67[_0x1cd3('0xd27')]=_0xfab8c0;_0x170b67[_0x1cd3('0x11b9')]=_0x207888;_0x170b67[_0x1cd3('0x493')]=[];_0x170b67[_0x1cd3('0x11ba')]=[];_0x170b67['selectedItems']=[];_0x170b67[_0x1cd3('0x11bb')]=[];_0x170b67['startingSelectedItems']=[];_0x170b67['pendingChanges']=![];_0x170b67[_0x1cd3('0x703')]=_0x5063d8;_0x170b67[_0x1cd3('0x11bc')]=_0x11464f;_0x170b67[_0x1cd3('0x39c')]=_0x534cbe;_0x170b67[_0x1cd3('0x1145')]={'readOnly':!_0x170b67[_0x1cd3('0xd27')]['canEdit'],'items':[],'selectedItems':[],'showSelectAndDeselectAll':!![],'orderBy':_0x1cd3('0x98'),'line1':'fullname','line2':[_0x1cd3('0x98'),'internal'],'line3':'','labelAll':_0x46e815[_0x1cd3('0x44a')](_0x1cd3('0x11bd')),'labelSelected':_0x46e815[_0x1cd3('0x44a')]('CHAT.SELECTED_AGENTS'),'transferCallback':function(_0x1b1f12,_0x2a4197){var _0xb159a5=_['xorBy'](_0x170b67[_0x1cd3('0x11be')],_0x170b67['selectedItems'],'id');_0x170b67['pendingChanges']=_['isEmpty'](_0xb159a5)?![]:!![];}};function _0x5063d8(){return _0x5857e0['hasRole']('admin')?_0x1c5e30()[_0x1cd3('0xfd')](function(_0x23f265){_0x4b12a9[_0x1cd3('0x434')]({'title':_0x23f265[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x23f265['status']+_0x1cd3('0x436')+_0x23f265['statusText']:_0x1cd3('0x11bf'),'msg':_0x23f265['status']?JSON[_0x1cd3('0x438')](_0x23f265[_0x1cd3('0x439')]):_0x23f265[_0x1cd3('0x43b')]()});}):_0x1323cd()[_0x1cd3('0x77')](function(_0x56106f){_0x170b67[_0x1cd3('0xd58')]=_0x56106f;return _0x1c5e30();})[_0x1cd3('0xfd')](function(_0x4ed9a7){_0x4b12a9[_0x1cd3('0x434')]({'title':_0x4ed9a7['status']?_0x1cd3('0x435')+_0x4ed9a7[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x4ed9a7[_0x1cd3('0xd35')]:_0x1cd3('0x11bf'),'msg':_0x4ed9a7[_0x1cd3('0x3a6')]?JSON['stringify'](_0x4ed9a7[_0x1cd3('0x439')]):_0x4ed9a7['toString']()});});}function _0x1323cd(){return _0x54bddc(function(_0x1a04a2,_0x349e23){_0x563628[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x170b67[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'name':'Agents'})['$promise'][_0x1cd3('0x77')](function(_0x53bd3b){var _0x19bce3=_0x53bd3b&&_0x53bd3b['rows']?_0x53bd3b[_0x1cd3('0xf6')][0x0]:null;_0x1a04a2(_0x19bce3);})['catch'](function(_0x1bc89b){_0x349e23(_0x1bc89b);});});}function _0x1c5e30(){return _0x54bddc(function(_0x37cb5d,_0xa265b8){return _0x6993c1()[_0x1cd3('0x77')](function(_0x27b1f8){_0x170b67['items']=_0x27b1f8['rows']?_0x27b1f8[_0x1cd3('0xf6')]:[];if(_0x5857e0[_0x1cd3('0x57')]('admin')){return _0x27b1f8;}else{if(_0x170b67['section']){return _0x170b67[_0x1cd3('0xd58')][_0x1cd3('0x391')]?_0x27b1f8:_0x59c133();}else{return null;}}})[_0x1cd3('0x77')](function(_0x5081c9){var _0x2ef2da=_0x5081c9&&_0x5081c9[_0x1cd3('0xf6')]?_0x5081c9['rows']:[];_0x170b67[_0x1cd3('0x11ba')]=_[_0x1cd3('0x3d9')](_0x2ef2da,function(_0x4ff1f8){return _[_0x1cd3('0x442')](_0x170b67['items'],{'id':_0x5857e0[_0x1cd3('0x57')](_0x1cd3('0x5f'))||_0x170b67[_0x1cd3('0xd58')]['autoAssociation']?_0x4ff1f8['id']:_0x4ff1f8[_0x1cd3('0xe8e')]});});_0x170b67['startingAllowedItems']=angular[_0x1cd3('0x429')](_0x170b67['allowedItems']);_0x170b67[_0x1cd3('0x493')]['forEach'](function(_0x6a1dc3){var _0x9fb336=_[_0x1cd3('0x442')](_0x170b67[_0x1cd3('0x11ba')],{'id':_0x6a1dc3['id']});if(_0x5857e0['hasRole'](_0x1cd3('0x5f'))){_0x6a1dc3[_0x1cd3('0x490')]=!![];}else{_0x6a1dc3[_0x1cd3('0x490')]=typeof _0x9fb336!==_0x1cd3('0x491')?!![]:![];}});return _0x32e397();})[_0x1cd3('0x77')](function(_0x1f431f){var _0x3da179=_0x1f431f&&_0x1f431f['rows']?_0x1f431f[_0x1cd3('0xf6')]:[];_0x170b67[_0x1cd3('0x492')]=_[_0x1cd3('0x3d9')](_0x3da179,function(_0x50dd05){var _0x6155e8=_[_0x1cd3('0x442')](_0x170b67[_0x1cd3('0x493')],{'id':_0x50dd05['id']});_0x6155e8['penalty']=_0x50dd05[_0x1cd3('0x11c0')]?'penalty\x20'+_0x50dd05[_0x1cd3('0x11c0')][_0x1cd3('0x1146')]:'';_0x6155e8[_0x1cd3('0x311')]=_0x50dd05['hasOwnProperty'](_0x1cd3('0x311'))?'<'+_0x50dd05[_0x1cd3('0x311')]+'>':'';return _0x6155e8;});_0x170b67['startingSelectedItems']=angular[_0x1cd3('0x429')](_0x170b67[_0x1cd3('0x492')]);_0x170b67[_0x1cd3('0x1145')]['selectedItems']=_0x170b67[_0x1cd3('0x492')];_0x170b67[_0x1cd3('0x1145')]['items']=_['differenceBy'](_0x170b67[_0x1cd3('0x11ba')],_0x170b67[_0x1cd3('0x1145')][_0x1cd3('0x492')],'id');_0x37cb5d();})[_0x1cd3('0xfd')](function(_0x413682){_0xa265b8(_0x413682);});});}function _0x59c133(){return _0x54bddc(function(_0x1dca9b,_0x6da98e){return _0x563628[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x170b67[_0x1cd3('0xd58')]['id'],'nolimit':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x11930c){_0x1dca9b(_0x11930c);})[_0x1cd3('0xfd')](function(_0x16901a){_0x6da98e(_0x16901a);});});}function _0x32e397(){return _0x54bddc(function(_0x108e45,_0x36e67a){return _0x563628['chatQueue']['getAgents']({'id':_0x170b67[_0x1cd3('0x11a7')]['id'],'fields':_0x1cd3('0x11c1'),'nolimit':!![],'role':'agent'})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x206b64){_0x108e45(_0x206b64);})[_0x1cd3('0xfd')](function(_0x1264b4){_0x36e67a(_0x1264b4);});});}function _0x6993c1(){return _0x54bddc(function(_0x2fe5c9,_0x32219e){return _0x563628['user'][_0x1cd3('0x361')]({'fields':_0x1cd3('0x11c1'),'nolimit':!![],'role':_0x1cd3('0xd2')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x5b0f87){_0x2fe5c9(_0x5b0f87);})[_0x1cd3('0xfd')](function(_0x61e604){_0x32219e(_0x61e604);});});}function _0x407a36(_0x34503a){return _0x54bddc(function(_0x745d1,_0x8f081c){if(_[_0x1cd3('0x398')](_0x34503a)){_0x745d1();}else{_0x563628[_0x1cd3('0x11a7')][_0x1cd3('0x11c2')]({'id':_0x170b67['chatQueue']['id'],'ids':_[_0x1cd3('0x3d9')](_0x34503a,'id')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x745d1();})[_0x1cd3('0xfd')](function(_0x8e98ba){_0x8f081c(_0x8e98ba);});}});}function _0x638624(_0x29b352){return _0x54bddc(function(_0x428b5b,_0x4abc37){if(_[_0x1cd3('0x398')](_0x29b352)){_0x428b5b();}else{_0x563628['chatQueue'][_0x1cd3('0x11c3')]({'id':_0x170b67[_0x1cd3('0x11a7')]['id'],'ids':_[_0x1cd3('0x3d9')](_0x29b352,'id')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x428b5b();})[_0x1cd3('0xfd')](function(_0x4aaef2){_0x4abc37(_0x4aaef2);});}});}function _0x11464f(){var _0x451960=_[_0x1cd3('0x1152')](_0x170b67['startingSelectedItems'],_0x170b67[_0x1cd3('0x492')],'id');var _0x57c8fc=_[_0x1cd3('0x1152')](_0x170b67[_0x1cd3('0x492')],_0x170b67[_0x1cd3('0x11be')],'id');return _0x638624(_0x451960)[_0x1cd3('0x77')](function(){return _0x407a36(_0x57c8fc);})[_0x1cd3('0x77')](function(){_0x170b67['pendingChanges']=![];_0x170b67[_0x1cd3('0x11bb')]=angular[_0x1cd3('0x429')](_0x170b67[_0x1cd3('0x11ba')]);_0x170b67['startingSelectedItems']=angular[_0x1cd3('0x429')](_0x170b67['selectedItems']);_0x4b12a9['success']({'title':_0x1cd3('0x11c4'),'msg':_0x1cd3('0x11c5')});})['catch'](function(_0x5ad4a5){_0x4b12a9[_0x1cd3('0x434')]({'title':_0x5ad4a5['status']?_0x1cd3('0x435')+_0x5ad4a5[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x5ad4a5['statusText']:'SYSTEM:LISTS_ASSOCIATION','msg':_0x5ad4a5[_0x1cd3('0x3a6')]?JSON[_0x1cd3('0x438')](_0x5ad4a5[_0x1cd3('0x439')]):_0x5ad4a5['toString']()});});}function _0x534cbe(){_0x3dd0cf[_0x1cd3('0x39d')]();}}}());(function(){'use strict';_0x122c06[_0x1cd3('0xc')]=['$mdDialog','$q',_0x1cd3('0x461'),_0x1cd3('0x370'),'chatQueue','$translate','Auth','crudPermissions'];angular[_0x1cd3('0x0')]('app.chat')[_0x1cd3('0x39b')](_0x1cd3('0x11a3'),_0x122c06);function _0x122c06(_0x1ab4b6,_0x4e2bc3,_0x42a098,_0xe7447e,_0x4229a3,_0x1dbab8,_0xfae31e,_0x5d7796){var _0x54301c=this;_0x54301c[_0x1cd3('0x3ca')]=_0xfae31e[_0x1cd3('0x5d')]();_0x54301c[_0x1cd3('0x11a7')]=_0x4229a3;_0x54301c[_0x1cd3('0xd27')]=_0x5d7796;_0x54301c[_0x1cd3('0x493')]=[];_0x54301c[_0x1cd3('0x11ba')]=[];_0x54301c[_0x1cd3('0x492')]=[];_0x54301c['startingAllowedItems']=[];_0x54301c['startingSelectedItems']=[];_0x54301c[_0x1cd3('0x11c6')]=![];_0x54301c[_0x1cd3('0x1145')]={'readOnly':!_0x54301c[_0x1cd3('0xd27')][_0x1cd3('0xe3b')],'allowedItems':[],'selectedItems':[],'showSelectAndDeselectAll':!![],'orderBy':_0x1cd3('0x98'),'line1':'name','line2':'','line3':'','labelAll':_0x1dbab8[_0x1cd3('0x44a')]('CHAT.ALL_TEAMS'),'labelSelected':_0x1dbab8[_0x1cd3('0x44a')](_0x1cd3('0x11c7')),'transferCallback':function(_0xe31c7f,_0x3ec5de){var _0x3526bb=_[_0x1cd3('0x11c8')](_0x54301c['startingSelectedItems'],_0x54301c[_0x1cd3('0x492')],'id');_0x54301c[_0x1cd3('0x11c6')]=_[_0x1cd3('0x398')](_0x3526bb)?![]:!![];}};_0x54301c[_0x1cd3('0x703')]=_0x55c769;_0x54301c['saveTeams']=_0x1a0ecf;_0x54301c['closeDialog']=_0x5bb2d2;function _0x55c769(){return _0xfae31e[_0x1cd3('0x57')]('admin')?_0x14412b()[_0x1cd3('0xfd')](function(_0x19dd78){_0x42a098['error']({'title':_0x19dd78[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x19dd78[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x19dd78[_0x1cd3('0xd35')]:'SYSTEM:GET_TEAMS','msg':_0x19dd78[_0x1cd3('0x3a6')]?JSON['stringify'](_0x19dd78[_0x1cd3('0x439')]):_0x19dd78[_0x1cd3('0x43b')]()});}):_0x14bc5a()['then'](function(_0xb042ad){_0x54301c[_0x1cd3('0xd58')]=_0xb042ad;return _0x14412b();})[_0x1cd3('0xfd')](function(_0x2e5ffd){_0x42a098[_0x1cd3('0x434')]({'title':_0x2e5ffd[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x2e5ffd[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x2e5ffd['statusText']:_0x1cd3('0x11c9'),'msg':_0x2e5ffd[_0x1cd3('0x3a6')]?JSON[_0x1cd3('0x438')](_0x2e5ffd['data']):_0x2e5ffd[_0x1cd3('0x43b')]()});});}function _0x14bc5a(){return _0x4e2bc3(function(_0x28fb61,_0x32e5a1){_0xe7447e[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x54301c['currentUser'][_0x1cd3('0x5e')],'name':_0x1cd3('0x296')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x49c052){var _0x7e4e95=_0x49c052&&_0x49c052[_0x1cd3('0xf6')]?_0x49c052[_0x1cd3('0xf6')][0x0]:null;_0x28fb61(_0x7e4e95);})[_0x1cd3('0xfd')](function(_0x11eee2){_0x32e5a1(_0x11eee2);});});}function _0x14412b(){return _0x4e2bc3(function(_0x5568f8,_0x3ed410){return _0xa5faf9()[_0x1cd3('0x77')](function(_0x10d683){_0x54301c[_0x1cd3('0x493')]=_0x10d683[_0x1cd3('0xf6')]?_0x10d683['rows']:[];if(_0xfae31e['hasRole']('admin')){return _0x10d683;}else{if(_0x54301c[_0x1cd3('0xd58')]){return _0x54301c['section'][_0x1cd3('0x391')]?_0x10d683:_0xdbc153();}else{return null;}}})[_0x1cd3('0x77')](function(_0x189e2d){var _0xe2f4fc=_0x189e2d&&_0x189e2d['rows']?_0x189e2d[_0x1cd3('0xf6')]:[];_0x54301c[_0x1cd3('0x11ba')]=_[_0x1cd3('0x3d9')](_0xe2f4fc,function(_0x5b55af){return _[_0x1cd3('0x442')](_0x54301c['items'],{'id':_0xfae31e[_0x1cd3('0x57')]('admin')||_0x54301c[_0x1cd3('0xd58')][_0x1cd3('0x391')]?_0x5b55af['id']:_0x5b55af[_0x1cd3('0xe8e')]});});_0x54301c[_0x1cd3('0x493')]['forEach'](function(_0x31ff62){var _0x1efe1e=_[_0x1cd3('0x442')](_0x54301c['allowedItems'],{'id':_0x31ff62['id']});if(_0xfae31e[_0x1cd3('0x57')]('admin')){_0x31ff62[_0x1cd3('0x490')]=!![];}else{_0x31ff62[_0x1cd3('0x490')]=typeof _0x1efe1e!==_0x1cd3('0x491')?!![]:![];}});return _0x7c82a3();})[_0x1cd3('0x77')](function(_0x326fe1){var _0x39441b=_0x326fe1&&_0x326fe1['rows']?_0x326fe1[_0x1cd3('0xf6')]:[];_0x54301c['selectedItems']=_[_0x1cd3('0x3d9')](_0x39441b,function(_0x20497e){return _[_0x1cd3('0x442')](_0x54301c[_0x1cd3('0x493')],{'id':_0x20497e['id']});});_0x54301c[_0x1cd3('0x11be')]=angular['copy'](_0x54301c['selectedItems']);_0x54301c[_0x1cd3('0x1145')][_0x1cd3('0x492')]=_0x54301c[_0x1cd3('0x492')];_0x54301c[_0x1cd3('0x1145')]['items']=_[_0x1cd3('0x1152')](_0x54301c['allowedItems'],_0x54301c[_0x1cd3('0x1145')][_0x1cd3('0x492')],'id');_0x5568f8();})['catch'](function(_0x512748){_0x3ed410(_0x512748);});});}function _0xdbc153(){return _0x4e2bc3(function(_0x11ecec,_0x23ea7f){return _0xe7447e[_0x1cd3('0x392')]['get']({'sectionId':_0x54301c[_0x1cd3('0xd58')]['id'],'nolimit':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x5101c0){_0x11ecec(_0x5101c0);})[_0x1cd3('0xfd')](function(_0x253316){_0x23ea7f(_0x253316);});});}function _0x7c82a3(){return _0x4e2bc3(function(_0x2afed3,_0x40cf5b){return _0xe7447e['chatQueue'][_0x1cd3('0x11ca')]({'id':_0x54301c[_0x1cd3('0x11a7')]['id'],'fields':_0x1cd3('0xa6'),'nolimit':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x5195de){_0x2afed3(_0x5195de);})[_0x1cd3('0xfd')](function(_0x1d3493){_0x40cf5b(_0x1d3493);});});}function _0xa5faf9(){return _0x4e2bc3(function(_0x1af4e1,_0x1bfac7){return _0xe7447e['team'][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'nolimit':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x500fe2){_0x1af4e1(_0x500fe2);})['catch'](function(_0x2e642f){_0x1bfac7(_0x2e642f);});});}function _0xcf9b5e(_0x3592c3){return _0x4e2bc3(function(_0x575ec1,_0x5cbbd1){if(_['isEmpty'](_0x3592c3)){_0x575ec1();}else{_0xe7447e['chatQueue'][_0x1cd3('0x11cb')]({'id':_0x54301c[_0x1cd3('0x11a7')]['id'],'ids':_[_0x1cd3('0x3d9')](_0x3592c3,'id')})['$promise'][_0x1cd3('0x77')](function(){_0x575ec1();})['catch'](function(_0x308071){_0x5cbbd1(_0x308071);});}});}function _0xe52662(_0x2cb6f9){return _0x4e2bc3(function(_0x6783b0,_0x509ed1){if(_[_0x1cd3('0x398')](_0x2cb6f9)){_0x6783b0();}else{_0xe7447e[_0x1cd3('0x11a7')][_0x1cd3('0x11cc')]({'id':_0x54301c['chatQueue']['id'],'ids':_[_0x1cd3('0x3d9')](_0x2cb6f9,'id')})[_0x1cd3('0x81')]['then'](function(){_0x6783b0();})[_0x1cd3('0xfd')](function(_0x659e88){_0x509ed1(_0x659e88);});}});}function _0x1a0ecf(){var _0x5e0878=_[_0x1cd3('0x1152')](_0x54301c[_0x1cd3('0x11be')],_0x54301c[_0x1cd3('0x492')],'id');var _0x6572e5=_[_0x1cd3('0x1152')](_0x54301c[_0x1cd3('0x492')],_0x54301c[_0x1cd3('0x11be')],'id');return _0xe52662(_0x5e0878)[_0x1cd3('0x77')](function(){return _0xcf9b5e(_0x6572e5);})['then'](function(){_0x54301c[_0x1cd3('0x11c6')]=![];_0x54301c[_0x1cd3('0x11bb')]=angular[_0x1cd3('0x429')](_0x54301c[_0x1cd3('0x11ba')]);_0x54301c['startingSelectedItems']=angular[_0x1cd3('0x429')](_0x54301c[_0x1cd3('0x492')]);_0x42a098['success']({'title':_0x1cd3('0x11c4'),'msg':_0x1cd3('0x11cd')});})[_0x1cd3('0xfd')](function(_0x5136f3){_0x42a098[_0x1cd3('0x434')]({'title':_0x5136f3['status']?_0x1cd3('0x435')+_0x5136f3['status']+_0x1cd3('0x436')+_0x5136f3['statusText']:_0x1cd3('0x11ce'),'msg':_0x5136f3[_0x1cd3('0x3a6')]?JSON[_0x1cd3('0x438')](_0x5136f3['data']):_0x5136f3[_0x1cd3('0x43b')]()});});}function _0x5bb2d2(){_0x1ab4b6[_0x1cd3('0x39d')]();}}}());(function(){'use strict';_0x5cd096['$inject']=['$state',_0x1cd3('0xd24'),'$mdDialog',_0x1cd3('0x372'),'$translate',_0x1cd3('0x463'),'setting',_0x1cd3('0x370'),_0x1cd3('0x461'),'Auth',_0x1cd3('0x11a7'),_0x1cd3('0x390')];angular[_0x1cd3('0x0')]('app.chat')['controller']('ChatQueueController',_0x5cd096);function _0x5cd096(_0x1fa7d3,_0x5a7806,_0x2d4134,_0x295da6,_0x5dbd37,_0x28ccda,_0x1f990f,_0x234bb5,_0x5c0433,_0x10e4b4,_0x4f6f35,_0x2a1c3c){var _0x548403=this;_0x548403[_0x1cd3('0x3ca')]=_0x10e4b4[_0x1cd3('0x5d')]();_0x548403[_0x1cd3('0x463')]=_0x28ccda;_0x548403['setting']=_0x1f990f;_0x548403[_0x1cd3('0xd29')]=_0x548403[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x548403[_0x1cd3('0xd22')]=_0x5a7806[_0x1cd3('0x3b0')]()+_0x1cd3('0x11cf')+_0x5a7806['host']();_0x548403[_0x1cd3('0x11a7')]=_0x4f6f35||_0x1fa7d3[_0x1cd3('0x36a')][_0x1cd3('0x11a7')]||{};_0x548403['userProfileSection']=_0x2a1c3c&&_0x2a1c3c[_0x1cd3('0x466')]==0x1?_0x2a1c3c[_0x1cd3('0xf6')][0x0]:null;_0x548403[_0x1cd3('0xd27')]=_0x10e4b4[_0x1cd3('0xd44')](_0x548403[_0x1cd3('0x390')]?_0x548403[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);_0x548403[_0x1cd3('0xd28')]={};_0x548403[_0x1cd3('0xe5f')]=_0x1fa7d3['params']['tab']||0x0;_0x548403[_0x1cd3('0x119a')]=_0x44f406;_0x548403[_0x1cd3('0x119b')]=_0x5087f0;_0x548403[_0x1cd3('0x11d0')]=_0x5c0433[_0x1cd3('0x654')];_0x548403[_0x1cd3('0x11d1')]=_0x526e0a;_0x548403['saveChatQueue']=_0x444d1c;function _0x44f406(_0xda0604,_0x42cf16){_0x2d4134[_0x1cd3('0x37e')]({'controller':'ChatQueueteamaddController','controllerAs':'vm','templateUrl':_0x1cd3('0x11a4'),'parent':angular[_0x1cd3('0x37f')](_0x295da6[_0x1cd3('0x380')]),'targetEvent':_0x42cf16,'clickOutsideToClose':!![],'locals':{'chatQueue':_0xda0604,'chatQueues':_0x548403[_0x1cd3('0x1196')]?_0x548403[_0x1cd3('0x1196')][_0x1cd3('0xf6')]:[],'crudPermissions':_0x548403['crudPermissions']}});}function _0x5087f0(_0x390aae,_0x35e8d2){_0x2d4134['show']({'controller':'ChatQueueagentaddController','controllerAs':'vm','templateUrl':_0x1cd3('0x11a6'),'parent':angular[_0x1cd3('0x37f')](_0x295da6['body']),'targetEvent':_0x35e8d2,'clickOutsideToClose':!![],'locals':{'chatQueue':_0x390aae,'chatQueues':_0x548403[_0x1cd3('0x1196')]?_0x548403['chatQueues']['rows']:[],'crudPermissions':_0x548403[_0x1cd3('0xd27')],'realtime':![]}});}function _0x526e0a(){_0x1fa7d3['go'](_0x1cd3('0xb6'),{},{'reload':_0x1cd3('0xb6')});}function _0x444d1c(){_0x234bb5[_0x1cd3('0x11a7')][_0x1cd3('0x378')]({'id':_0x548403[_0x1cd3('0x11a7')]['id']},_0x548403[_0x1cd3('0x11a7')])['$promise'][_0x1cd3('0x77')](function(){_0x5c0433[_0x1cd3('0x473')]({'title':_0x1cd3('0x11d2'),'msg':_0x548403['chatQueue']['name']?_0x548403[_0x1cd3('0x11a7')][_0x1cd3('0x98')]+'\x20has\x20been\x20updated!':''});})[_0x1cd3('0xfd')](function(_0x4fe858){_0x5c0433['error']({'title':_0x4fe858['status']?_0x1cd3('0x435')+_0x4fe858[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x4fe858[_0x1cd3('0xd35')]:_0x1cd3('0x11d3'),'msg':_0x4fe858[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x4fe858['data']):_0x4fe858[_0x1cd3('0x43b')]()});});}}}());(function(){'use strict';_0xf835db['$inject']=[_0x1cd3('0x460'),'$window',_0x1cd3('0x53e'),'$mdSidenav','$mdDialog',_0x1cd3('0x372'),_0x1cd3('0x3e7'),_0x1cd3('0x3f7'),_0x1cd3('0x11d4'),_0x1cd3('0x38a'),_0x1cd3('0x390'),_0x1cd3('0x370'),_0x1cd3('0x2dd'),_0x1cd3('0x461'),_0x1cd3('0x56'),_0x1cd3('0x463'),_0x1cd3('0xc49')];angular[_0x1cd3('0x0')](_0x1cd3('0x2e'))[_0x1cd3('0x39b')]('ChatWebsitesController',_0xf835db);function _0xf835db(_0x42b6ed,_0x206301,_0x4d7da5,_0x281a6b,_0x46b1cd,_0x362b96,_0x54c447,_0x947572,_0x31335e,_0x1a78de,_0x177971,_0x49f517,_0x340bdc,_0x4d4b1e,_0x43b94a,_0x1e6b76,_0x20a452){var _0xc0e195=this;_0xc0e195['license']=_0x1e6b76;_0xc0e195[_0x1cd3('0xc49')]=_0x20a452;_0xc0e195['currentUser']=_0x43b94a['getCurrentUser']();_0xc0e195[_0x1cd3('0x11d4')]=_0x31335e||{'count':0x0,'rows':[]};_0xc0e195[_0x1cd3('0x38a')]=_0x1a78de;_0xc0e195[_0x1cd3('0x390')]=_0x177971&&_0x177971[_0x1cd3('0x466')]==0x1?_0x177971[_0x1cd3('0xf6')][0x0]:null;_0xc0e195['crudPermissions']=_0x43b94a[_0x1cd3('0xd44')](_0xc0e195[_0x1cd3('0x390')]?_0xc0e195['userProfileSection']['crudPermissions']:null);_0xc0e195[_0x1cd3('0xd45')]=_0x1cd3('0x11d4');_0xc0e195[_0x1cd3('0xd46')]='';_0xc0e195[_0x1cd3('0xd47')]=null;_0xc0e195[_0x1cd3('0x11d5')]=[];_0xc0e195[_0x1cd3('0x3d4')]={'fields':_0x1cd3('0xc3'),'sort':_0x1cd3('0x5b'),'limit':0xa,'page':0x1};_0xc0e195[_0x1cd3('0x11d6')]=_['keyBy']([{'option':_0x1cd3('0x11d7'),'value':_0x1cd3('0x11d8')},{'option':_0x1cd3('0x11d9'),'value':_0x1cd3('0x11da')},{'option':'AgentFullname','value':_0x1cd3('0x11db')}],function(_0x5aa781){return _[_0x1cd3('0x3f1')](_0x5aa781[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0xc0e195['arrayheader_shape']=_[_0x1cd3('0xe2d')]([{'option':_0x1cd3('0x11dc'),'value':'\x27rounded\x27'},{'option':_0x1cd3('0x11dd'),'value':'\x27squared\x27'}],function(_0x5da169){return _[_0x1cd3('0x3f1')](_0x5da169[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0xc0e195[_0x1cd3('0x11de')]=_[_0x1cd3('0xe2d')]([{'option':_0x1cd3('0x11df'),'value':_0x1cd3('0x11e0')},{'option':_0x1cd3('0x58e'),'value':_0x1cd3('0x11e1')},{'option':_0x1cd3('0x762'),'value':_0x1cd3('0x11e2')}],function(_0x4ffc08){return _[_0x1cd3('0x3f1')](_0x4ffc08[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0xc0e195[_0x1cd3('0x11e3')]=_[_0x1cd3('0xe2d')]([{'option':_0x1cd3('0x11e4'),'value':_0x1cd3('0x11e5')},{'option':'centered','value':_0x1cd3('0x11e6')}],function(_0x183f52){return _[_0x1cd3('0x3f1')](_0x183f52[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0xc0e195[_0x1cd3('0x11e7')]=_['keyBy']([{'option':_0x1cd3('0x11e8'),'value':_0x1cd3('0x11e9')},{'option':'Thumb','value':_0x1cd3('0x11ea')}],function(_0x34712d){return _[_0x1cd3('0x3f1')](_0x34712d['value'],new RegExp('\x27','g'),'');});_0xc0e195[_0x1cd3('0x1171')]=_0x395f1b;_0xc0e195[_0x1cd3('0x11eb')]=_0x302dd3;_0xc0e195['offlinemessagesgoto']=_0x3f2af6;_0xc0e195[_0x1cd3('0x119b')]=_0x332f9b;_0xc0e195[_0x1cd3('0xecc')]=_0x3e195d;_0xc0e195[_0x1cd3('0x473')]=_0x1c7e2f;_0xc0e195[_0x1cd3('0x11ec')]=_0x59b6a9;_0xc0e195[_0x1cd3('0x11ed')]=_0x51411c;_0xc0e195[_0x1cd3('0x11ee')]=_0x53f4ed;_0xc0e195[_0x1cd3('0x11ef')]=_0x58626d;_0xc0e195[_0x1cd3('0x11f0')]=_0x4fc494;_0xc0e195[_0x1cd3('0x11f1')]=_0x509176;_0xc0e195[_0x1cd3('0x11f2')]=_0x4b5057;_0x43b94a['hasRole'](_0x1cd3('0x5f'))?_0x49f517[_0x1cd3('0xc8f')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98')})['$promise'][_0x1cd3('0x77')](function(_0x101f81){_0xc0e195['lists']=_0x101f81[_0x1cd3('0xf6')]||[];})['catch'](function(_0x32b6a8){_0x4d4b1e['error']({'title':_0x32b6a8[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x32b6a8['status']+_0x1cd3('0x436')+_0x32b6a8[_0x1cd3('0xd35')]:_0x1cd3('0x11f3'),'msg':_0x32b6a8[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x32b6a8[_0x1cd3('0x439')]):_0x32b6a8[_0x1cd3('0x43b')]()});}):_0x49f517[_0x1cd3('0xc8f')]['get']({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x300b8f){_0xc0e195['lists']=_0x300b8f['rows']||[];})['then'](function(){return _0x49f517[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0xc0e195['currentUser'][_0x1cd3('0x5e')],'sectionId':0x12d})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x1bfef8){var _0x56901a=_0x1bfef8&&_0x1bfef8[_0x1cd3('0xf6')]?_0x1bfef8[_0x1cd3('0xf6')][0x0]:null;if(!_0x56901a){var _0x2f1934=[];var _0x6b5891=null;if(_0xc0e195['chatWebsite']){_0x6b5891=_[_0x1cd3('0x442')](_0xc0e195['lists'],{'id':Number(_0xc0e195['chatWebsite'][_0x1cd3('0x106')])});}for(var _0x3627b9=0x0;_0x3627b9<_0xc0e195[_0x1cd3('0xf5')]['length'];_0x3627b9++){if(_0x6b5891&&_0xc0e195[_0x1cd3('0xf5')][_0x3627b9]['id']===_0x6b5891['id']){_0xc0e195[_0x1cd3('0xf5')][_0x3627b9]['canSelect']=![];_0x2f1934['push'](_0xc0e195['lists'][_0x3627b9]);}}_0xc0e195[_0x1cd3('0xf5')]=_0x2f1934;}else{if(!_0x56901a['autoAssociation']){return _0x49f517[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x56901a['id']})['$promise']['then'](function(_0x1780d5){var _0x5c67ab=_[_0x1cd3('0x3d9')](_0x1780d5[_0x1cd3('0xf6')],function(_0x57f02f){return _[_0x1cd3('0x442')](_0xc0e195[_0x1cd3('0xf5')],{'id':_0x57f02f[_0x1cd3('0xe8e')]});});var _0x1dfd02=null;if(_0xc0e195['chatWebsite']){_0x1dfd02=_[_0x1cd3('0x442')](_0xc0e195['lists'],{'id':Number(_0xc0e195[_0x1cd3('0xb02')]['ListId'])});}if(_0x1dfd02&&!_[_0x1cd3('0x38d')](_0x5c67ab,['id',_0x1dfd02['id']])){var _0x29c244=_[_0x1cd3('0x442')](_0xc0e195[_0x1cd3('0xf5')],{'id':_0x1dfd02['id']});_0x29c244['canSelect']=![];_0x5c67ab[_0x1cd3('0x7b')](_0x29c244);}_0xc0e195[_0x1cd3('0xf5')]=_0x5c67ab;});}}})[_0x1cd3('0xfd')](function(_0x447909){_0x4d4b1e[_0x1cd3('0x434')]({'title':_0x447909[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x447909[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x447909[_0x1cd3('0xd35')]:'SYSTEM:GETlists','msg':_0x447909['data']?JSON[_0x1cd3('0x438')](_0x447909[_0x1cd3('0x439')]):_0x447909[_0x1cd3('0x43b')]()});});_0x43b94a['hasRole'](_0x1cd3('0x5f'))?_0x49f517[_0x1cd3('0x77e')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'IntervalId':_0x1cd3('0x220')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x103d72){_0xc0e195[_0x1cd3('0x77e')]=_0x103d72[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x2799cf){_0x4d4b1e[_0x1cd3('0x434')]({'title':_0x2799cf['status']?'API:'+_0x2799cf['status']+'\x20-\x20'+_0x2799cf[_0x1cd3('0xd35')]:_0x1cd3('0x11f4'),'msg':_0x2799cf[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x2799cf[_0x1cd3('0x439')]):_0x2799cf[_0x1cd3('0x43b')]()});}):_0x49f517[_0x1cd3('0x77e')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'IntervalId':_0x1cd3('0x220')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0xa225e2){_0xc0e195[_0x1cd3('0x77e')]=_0xa225e2[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x49f517['userProfileSection'][_0x1cd3('0x361')]({'userProfileId':_0xc0e195['currentUser'][_0x1cd3('0x5e')],'sectionId':0x3ec})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x57aaa4){var _0x4358ff=_0x57aaa4&&_0x57aaa4['rows']?_0x57aaa4[_0x1cd3('0xf6')][0x0]:null;if(!_0x4358ff){var _0x614492=[];var _0x228f5f=null;if(_0xc0e195[_0x1cd3('0xb02')]){_0x228f5f=_[_0x1cd3('0x442')](_0xc0e195[_0x1cd3('0x77e')],{'id':Number(_0xc0e195['chatWebsite'][_0x1cd3('0xf4b')])});}for(var _0x31db55=0x0;_0x31db55<_0xc0e195[_0x1cd3('0x77e')][_0x1cd3('0x7a')];_0x31db55++){if(_0x228f5f&&_0xc0e195[_0x1cd3('0x77e')][_0x31db55]['id']===_0x228f5f['id']){_0xc0e195[_0x1cd3('0x77e')][_0x31db55]['canSelect']=![];_0x614492['push'](_0xc0e195[_0x1cd3('0x77e')][_0x31db55]);}}_0xc0e195[_0x1cd3('0x77e')]=_0x614492;}else{if(!_0x4358ff['autoAssociation']){return _0x49f517[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x4358ff['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x45b796){var _0x48747e=_[_0x1cd3('0x3d9')](_0x45b796[_0x1cd3('0xf6')],function(_0x5b0f05){return _[_0x1cd3('0x442')](_0xc0e195[_0x1cd3('0x77e')],{'id':_0x5b0f05[_0x1cd3('0xe8e')]});});var _0x374832=null;if(_0xc0e195[_0x1cd3('0xb02')]){_0x374832=_[_0x1cd3('0x442')](_0xc0e195[_0x1cd3('0x77e')],{'id':Number(_0xc0e195[_0x1cd3('0xb02')][_0x1cd3('0xf4b')])});}if(_0x374832&&!_[_0x1cd3('0x38d')](_0x48747e,['id',_0x374832['id']])){var _0x5e951b=_[_0x1cd3('0x442')](_0xc0e195[_0x1cd3('0x77e')],{'id':_0x374832['id']});_0x5e951b[_0x1cd3('0xf4a')]=![];_0x48747e[_0x1cd3('0x7b')](_0x5e951b);}_0xc0e195[_0x1cd3('0x77e')]=_0x48747e;});}}})[_0x1cd3('0xfd')](function(_0x3ddbac){_0x4d4b1e[_0x1cd3('0x434')]({'title':_0x3ddbac[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x3ddbac[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x3ddbac['statusText']:_0x1cd3('0x11f5'),'msg':_0x3ddbac[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x3ddbac[_0x1cd3('0x439')]):_0x3ddbac['toString']()});});function _0x395f1b(_0x40a2fe,_0x16a75c){_0x4d7da5['go'](_0x1cd3('0xc4'),{'id':_0x40a2fe['id'],'chatWebsite':_0x40a2fe,'crudPermissions':_0xc0e195[_0x1cd3('0xd27')]});}function _0x302dd3(_0x318873,_0x4ac6ea){_0x4d7da5['go'](_0x1cd3('0xc4'),{'id':_0x318873['id'],'tab':0xa});}function _0x3f2af6(_0x1daea2,_0x591bb7){_0x4d7da5['go']('app.chat.chatWebsites.edit',{'id':_0x1daea2['id'],'tab':0xb});}function _0x332f9b(_0x506393,_0x1ea062){_0x46b1cd['show']({'controller':_0x1cd3('0x11f6'),'controllerAs':'vm','templateUrl':_0x1cd3('0x11f7'),'parent':angular['element'](_0x362b96[_0x1cd3('0x380')]),'targetEvent':_0x1ea062,'clickOutsideToClose':!![],'locals':{'chatWebsite':_0x506393,'chatWebsites':_0xc0e195[_0x1cd3('0x11d4')]?_0xc0e195['chatWebsites']['rows']:[],'crudPermissions':_0xc0e195['crudPermissions'],'realtime':![]}});}function _0x3e195d(_0x5b39bf,_0x33879c){var _0x1d0948=_0x46b1cd['confirm']()['title']('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20'+_[_0x1cd3('0xd50')](_0x1cd3('0xb02'))+'?')['htmlContent'](_0x1cd3('0xd51')+(_0x5b39bf[_0x1cd3('0x98')]||_0x1cd3('0xb02'))+'</b>'+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x11f8'))['targetEvent'](_0x33879c)['ok']('OK')['cancel'](_0x1cd3('0xd55'));_0x46b1cd[_0x1cd3('0x37e')](_0x1d0948)[_0x1cd3('0x77')](function(){_0x53f4ed(_0x5b39bf);},function(){console['log']('CANCEL');});}var _0x1e390d=!![];var _0x36f362=0x1;_0x42b6ed[_0x1cd3('0x4d6')]('vm.query.filter',function(_0x104129,_0x54c789){if(_0x1e390d){_0x54c447(function(){_0x1e390d=![];});}else{if(!_0x54c789){_0x36f362=_0xc0e195[_0x1cd3('0x3d4')]['page'];}if(_0x104129!==_0x54c789){_0xc0e195[_0x1cd3('0x3d4')]['page']=0x1;}if(!_0x104129){_0xc0e195[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0x36f362;}_0xc0e195[_0x1cd3('0x11ec')]();}});function _0x1c7e2f(_0x5b70af){_0xc0e195[_0x1cd3('0x11d4')]=_0x5b70af||{'count':0x0,'rows':[]};}function _0x59b6a9(){_0xc0e195[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0xc0e195[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0xc0e195['query']['limit'];if(_0x43b94a[_0x1cd3('0x57')](_0x1cd3('0x5f'))){_0xc0e195[_0x1cd3('0x539')]=_0x49f517[_0x1cd3('0xb02')]['get'](_0xc0e195[_0x1cd3('0x3d4')],_0x1c7e2f)['$promise'];}else{_0xc0e195[_0x1cd3('0x3d4')]['id']=_0xc0e195[_0x1cd3('0x38a')]['id'];_0xc0e195[_0x1cd3('0x3d4')]['section']=_0x1cd3('0x133');_0xc0e195[_0x1cd3('0x539')]=_0x49f517[_0x1cd3('0x38a')][_0x1cd3('0xd59')](_0xc0e195[_0x1cd3('0x3d4')],_0x1c7e2f)[_0x1cd3('0x81')];}}function _0x51411c(_0x57a531,_0x31bef1){_0x46b1cd['show']({'controller':_0x1cd3('0x11f9'),'controllerAs':'vm','templateUrl':_0x1cd3('0x11fa'),'parent':angular[_0x1cd3('0x37f')](_0x362b96[_0x1cd3('0x380')]),'targetEvent':_0x57a531,'clickOutsideToClose':!![],'locals':{'chatWebsite':_0x31bef1,'chatWebsites':_0xc0e195[_0x1cd3('0x11d4')][_0x1cd3('0xf6')],'license':_0xc0e195[_0x1cd3('0x463')],'setting':_0xc0e195[_0x1cd3('0xc49')],'crudPermissions':_0xc0e195['crudPermissions']}});}function _0x53f4ed(_0x189740){_0x49f517['chatWebsite'][_0x1cd3('0xa1c')]({'id':_0x189740['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_['remove'](_0xc0e195[_0x1cd3('0x11d4')]['rows'],{'id':_0x189740['id']});_0xc0e195[_0x1cd3('0x11d4')][_0x1cd3('0x466')]-=0x1;if(!_0xc0e195[_0x1cd3('0x11d4')][_0x1cd3('0xf6')]['length']){_0xc0e195[_0x1cd3('0x11ec')]();}_0x4d4b1e['success']({'title':_['startCase'](_0x1cd3('0x11fb'))+'\x20deleted!','msg':_0x189740['name']?_0x189740[_0x1cd3('0x98')]+_0x1cd3('0xd41'):''});})[_0x1cd3('0xfd')](function(_0x507b2a){if(_0x507b2a['data']&&_0x507b2a['data'][_0x1cd3('0xd34')]&&_0x507b2a[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0xc0e195[_0x1cd3('0xd34')]=_0x507b2a[_0x1cd3('0x439')]['errors']||[{'message':_0x507b2a[_0x1cd3('0x43b')](),'type':_0x1cd3('0x11fc')}];for(var _0x3aeae2=0x0;_0x3aeae2<_0x507b2a[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length'];_0x3aeae2++){_0x4d4b1e['error']({'title':_0x507b2a[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x3aeae2]['type'],'msg':_0x507b2a['data']['errors'][_0x3aeae2][_0x1cd3('0x43a')]});}}else{_0x4d4b1e['error']({'title':_0x507b2a['status']?_0x1cd3('0x435')+_0x507b2a['status']+'\x20-\x20'+_0x507b2a[_0x1cd3('0xd35')]:_0x1cd3('0x11fc'),'msg':_0x507b2a['data']?JSON[_0x1cd3('0x438')](_0x507b2a[_0x1cd3('0x439')]['message']):_0x507b2a[_0x1cd3('0x43a')]||_0x507b2a['toString']()});}});}function _0x58626d(){var _0x37cd07=angular[_0x1cd3('0x429')](_0xc0e195[_0x1cd3('0x11d5')]);_0xc0e195[_0x1cd3('0x11d5')]=[];return _0x37cd07;}function _0x4fc494(_0x599a95){var _0x402fa3=_0x46b1cd[_0x1cd3('0xd39')]()['title'](_0x1cd3('0x11fd'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0xc0e195[_0x1cd3('0x11d5')]['length']+_0x1cd3('0xd61')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x11fe'))[_0x1cd3('0xd63')](_0x599a95)['ok']('OK')['cancel'](_0x1cd3('0xd55'));_0x46b1cd[_0x1cd3('0x37e')](_0x402fa3)[_0x1cd3('0x77')](function(){_0xc0e195[_0x1cd3('0x11d5')][_0x1cd3('0x394')](function(_0x296d5e){_0x53f4ed(_0x296d5e);});_0xc0e195['selectedChatWebsites']=[];});}function _0x509176(){_0xc0e195[_0x1cd3('0x11d5')]=[];}function _0x4b5057(){_0xc0e195[_0x1cd3('0x11d5')]=_0xc0e195[_0x1cd3('0x11d4')][_0x1cd3('0xf6')];}}}());(function(){'use strict';_0x182aaa[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x53e'),_0x1cd3('0xd24'),_0x1cd3('0x3c5'),'$q',_0x1cd3('0x3f7'),_0x1cd3('0x461'),_0x1cd3('0x11d4'),_0x1cd3('0xb02'),_0x1cd3('0x370'),_0x1cd3('0x56'),'license',_0x1cd3('0xc49'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')]('app.chat')[_0x1cd3('0x39b')](_0x1cd3('0x11f9'),_0x182aaa);function _0x182aaa(_0x418fb8,_0x3207f2,_0x140e1b,_0x14ac06,_0x440d50,_0x268a34,_0x3d0a8d,_0x598708,_0x125889,_0x2e431f,_0x3eb678,_0x3829e6,_0x43d65c,_0x13a872){var _0x20c0f1=this;_0x20c0f1[_0x1cd3('0x3ca')]=_0x3eb678['getCurrentUser']();_0x20c0f1['errors']=[];_0x20c0f1[_0x1cd3('0xc49')]=_0x43d65c;_0x20c0f1[_0x1cd3('0x463')]=_0x3829e6;_0x20c0f1['crudPermissions']=_0x13a872;_0x20c0f1[_0x1cd3('0xd28')]={};_0x20c0f1['passwordPattern']=_0x20c0f1['setting']&&_0x20c0f1[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x20c0f1[_0x1cd3('0x486')]=_0x1cd3('0x11ff');_0x20c0f1[_0x1cd3('0xb02')]=angular['copy'](_0x125889);_0x20c0f1['chatWebsites']=_0x598708;_0x20c0f1[_0x1cd3('0x1200')]=![];if(!_0x20c0f1[_0x1cd3('0xb02')]){_0x20c0f1[_0x1cd3('0xb02')]={'remote':_0x140e1b[_0x1cd3('0x3b0')]()+'://'+_0x140e1b[_0x1cd3('0x3ac')]()+(_0x140e1b[_0x1cd3('0x3b1')]()?':'+_0x140e1b[_0x1cd3('0x3b1')]():''),'header_shape':_0x1cd3('0x1201'),'alignment':_0x1cd3('0x11df'),'verticalAlignment':0x1e,'messagesAlignment':_0x1cd3('0x11e4'),'IntervalId':_0x1cd3('0x220'),'timezone':'null','waitForTheAssignedAgent':0xa,'notificationSound':!![],'queueTransferTimeout':0x12c,'agentTransferTimeout':0x12c};_0x20c0f1[_0x1cd3('0x486')]=_0x1cd3('0x1202');_0x20c0f1[_0x1cd3('0x1200')]=!![];}if(_0x3207f2[_0x1cd3('0x36a')]['id']){_0x20c0f1[_0x1cd3('0xb02')][_0x1cd3('0x1203')]=_0x3207f2[_0x1cd3('0x36a')]['id'];}_0x20c0f1[_0x1cd3('0x1204')]=_0x1dd63d;_0x20c0f1[_0x1cd3('0x1205')]=_0x1e6611;_0x20c0f1[_0x1cd3('0x11ee')]=_0x1b2720;_0x20c0f1[_0x1cd3('0xd31')]=_0x29d86d;_0x20c0f1['closeDialog']=_0x39dcdc;_0x3eb678[_0x1cd3('0x57')]('admin')?_0x2e431f[_0x1cd3('0xc8f')][_0x1cd3('0x361')]({'fields':'id,name','sort':_0x1cd3('0x98')})['$promise'][_0x1cd3('0x77')](function(_0x46ff83){_0x20c0f1['lists']=_0x46ff83['rows']||[];})[_0x1cd3('0xfd')](function(_0x5ae72a){_0x3d0a8d[_0x1cd3('0x434')]({'title':_0x5ae72a[_0x1cd3('0x3a6')]?'API:'+_0x5ae72a[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x5ae72a[_0x1cd3('0xd35')]:_0x1cd3('0x11f3'),'msg':_0x5ae72a[_0x1cd3('0x439')]?JSON['stringify'](_0x5ae72a[_0x1cd3('0x439')]):_0x5ae72a[_0x1cd3('0x43b')]()});}):_0x2e431f['cmList'][_0x1cd3('0x361')]({'fields':'id,name','sort':_0x1cd3('0x98')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x1ab265){_0x20c0f1[_0x1cd3('0xf5')]=_0x1ab265['rows']||[];})[_0x1cd3('0x77')](function(){return _0x2e431f['userProfileSection'][_0x1cd3('0x361')]({'userProfileId':_0x20c0f1[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x12d})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x933bc2){var _0x1c4c68=_0x933bc2&&_0x933bc2['rows']?_0x933bc2[_0x1cd3('0xf6')][0x0]:null;if(!_0x1c4c68){var _0xd25f61=[];var _0x4f70f3=null;if(_0x20c0f1['chatWebsite']){_0x4f70f3=_[_0x1cd3('0x442')](_0x20c0f1[_0x1cd3('0xf5')],{'id':Number(_0x20c0f1[_0x1cd3('0xb02')]['ListId'])});}for(var _0x1d3d04=0x0;_0x1d3d04<_0x20c0f1[_0x1cd3('0xf5')]['length'];_0x1d3d04++){if(_0x4f70f3&&_0x20c0f1[_0x1cd3('0xf5')][_0x1d3d04]['id']===_0x4f70f3['id']){_0x20c0f1[_0x1cd3('0xf5')][_0x1d3d04]['canSelect']=![];_0xd25f61[_0x1cd3('0x7b')](_0x20c0f1[_0x1cd3('0xf5')][_0x1d3d04]);}}_0x20c0f1['lists']=_0xd25f61;}else{if(!_0x1c4c68[_0x1cd3('0x391')]){return _0x2e431f[_0x1cd3('0x392')]['get']({'sectionId':_0x1c4c68['id']})['$promise'][_0x1cd3('0x77')](function(_0x100dcd){var _0x4760e5=_[_0x1cd3('0x3d9')](_0x100dcd[_0x1cd3('0xf6')],function(_0x4ecd21){return _[_0x1cd3('0x442')](_0x20c0f1[_0x1cd3('0xf5')],{'id':_0x4ecd21['resourceId']});});var _0x3c9622=null;if(_0x20c0f1[_0x1cd3('0xb02')]){_0x3c9622=_['find'](_0x20c0f1[_0x1cd3('0xf5')],{'id':Number(_0x20c0f1[_0x1cd3('0xb02')][_0x1cd3('0x106')])});}if(_0x3c9622&&!_[_0x1cd3('0x38d')](_0x4760e5,['id',_0x3c9622['id']])){var _0x5167ca=_[_0x1cd3('0x442')](_0x20c0f1[_0x1cd3('0xf5')],{'id':_0x3c9622['id']});_0x5167ca[_0x1cd3('0xf4a')]=![];_0x4760e5['push'](_0x5167ca);}_0x20c0f1['lists']=_0x4760e5;});}}})['catch'](function(_0x491911){_0x3d0a8d[_0x1cd3('0x434')]({'title':_0x491911['status']?_0x1cd3('0x435')+_0x491911[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x491911[_0x1cd3('0xd35')]:'SYSTEM:GETlists','msg':_0x491911['data']?JSON[_0x1cd3('0x438')](_0x491911[_0x1cd3('0x439')]):_0x491911[_0x1cd3('0x43b')]()});});_0x3eb678[_0x1cd3('0x57')]('admin')?_0x2e431f[_0x1cd3('0x77e')]['get']({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'IntervalId':'null'})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0xf2d7a9){_0x20c0f1['interval']=_0xf2d7a9[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x5a59ca){_0x3d0a8d[_0x1cd3('0x434')]({'title':_0x5a59ca['status']?'API:'+_0x5a59ca[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x5a59ca['statusText']:_0x1cd3('0x11f4'),'msg':_0x5a59ca['data']?JSON['stringify'](_0x5a59ca[_0x1cd3('0x439')]):_0x5a59ca['toString']()});}):_0x2e431f[_0x1cd3('0x77e')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'IntervalId':_0x1cd3('0x220')})['$promise'][_0x1cd3('0x77')](function(_0x2e6426){_0x20c0f1[_0x1cd3('0x77e')]=_0x2e6426['rows']||[];})['then'](function(){return _0x2e431f[_0x1cd3('0x390')]['get']({'userProfileId':_0x20c0f1[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x3ec})['$promise'];})['then'](function(_0x2ba729){var _0x237a05=_0x2ba729&&_0x2ba729[_0x1cd3('0xf6')]?_0x2ba729[_0x1cd3('0xf6')][0x0]:null;if(!_0x237a05){var _0x2eb3f6=[];var _0x22b0b3=null;if(_0x20c0f1[_0x1cd3('0xb02')]){_0x22b0b3=_[_0x1cd3('0x442')](_0x20c0f1[_0x1cd3('0x77e')],{'id':Number(_0x20c0f1['chatWebsite'][_0x1cd3('0xf4b')])});}for(var _0x96441c=0x0;_0x96441c<_0x20c0f1[_0x1cd3('0x77e')]['length'];_0x96441c++){if(_0x22b0b3&&_0x20c0f1[_0x1cd3('0x77e')][_0x96441c]['id']===_0x22b0b3['id']){_0x20c0f1[_0x1cd3('0x77e')][_0x96441c]['canSelect']=![];_0x2eb3f6[_0x1cd3('0x7b')](_0x20c0f1[_0x1cd3('0x77e')][_0x96441c]);}}_0x20c0f1[_0x1cd3('0x77e')]=_0x2eb3f6;}else{if(!_0x237a05[_0x1cd3('0x391')]){return _0x2e431f[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x237a05['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x378adb){var _0x32d8c3=_[_0x1cd3('0x3d9')](_0x378adb[_0x1cd3('0xf6')],function(_0x129445){return _[_0x1cd3('0x442')](_0x20c0f1[_0x1cd3('0x77e')],{'id':_0x129445[_0x1cd3('0xe8e')]});});var _0x14e94a=null;if(_0x20c0f1[_0x1cd3('0xb02')]){_0x14e94a=_[_0x1cd3('0x442')](_0x20c0f1['interval'],{'id':Number(_0x20c0f1[_0x1cd3('0xb02')]['IntervalId'])});}if(_0x14e94a&&!_[_0x1cd3('0x38d')](_0x32d8c3,['id',_0x14e94a['id']])){var _0x228772=_[_0x1cd3('0x442')](_0x20c0f1[_0x1cd3('0x77e')],{'id':_0x14e94a['id']});_0x228772[_0x1cd3('0xf4a')]=![];_0x32d8c3['push'](_0x228772);}_0x20c0f1[_0x1cd3('0x77e')]=_0x32d8c3;});}}})[_0x1cd3('0xfd')](function(_0x3b51b1){_0x3d0a8d[_0x1cd3('0x434')]({'title':_0x3b51b1[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x3b51b1[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x3b51b1[_0x1cd3('0xd35')]:_0x1cd3('0x11f5'),'msg':_0x3b51b1[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x3b51b1[_0x1cd3('0x439')]):_0x3b51b1[_0x1cd3('0x43b')]()});});function _0x1dd63d(){_0x20c0f1[_0x1cd3('0xd34')]=[];_0x2e431f[_0x1cd3('0xb02')][_0x1cd3('0xd6d')](_0x20c0f1[_0x1cd3('0xb02')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x41ed3a){_0x20c0f1[_0x1cd3('0x11d4')][_0x1cd3('0x621')](_0x41ed3a[_0x1cd3('0xd32')]());_0x3d0a8d['success']({'title':_0x1cd3('0x1206'),'msg':_0x20c0f1[_0x1cd3('0xb02')][_0x1cd3('0x98')]?_0x20c0f1[_0x1cd3('0xb02')]['name']+'\x20has\x20been\x20created!':''});_0x39dcdc(_0x41ed3a);})['catch'](function(_0x3ffb30){if(_0x3ffb30[_0x1cd3('0x439')]&&_0x3ffb30[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x3ffb30[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x20c0f1[_0x1cd3('0xd34')]=_0x3ffb30['data'][_0x1cd3('0xd34')]||[{'message':_0x3ffb30[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1207')}];for(var _0x478e7a=0x0;_0x478e7a<_0x3ffb30['data']['errors'][_0x1cd3('0x7a')];_0x478e7a+=0x1){_0x3d0a8d[_0x1cd3('0x434')]({'title':_0x3ffb30[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x478e7a][_0x1cd3('0x424')],'msg':_0x3ffb30[_0x1cd3('0x439')]['errors'][_0x478e7a][_0x1cd3('0x43a')]});}}else{_0x3d0a8d['error']({'title':_0x3ffb30[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x3ffb30['status']+'\x20-\x20'+_0x3ffb30[_0x1cd3('0xd35')]:_0x1cd3('0x1207'),'msg':_0x3ffb30['data']?JSON['stringify'](_0x3ffb30[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x3ffb30[_0x1cd3('0x43b')]()});}});}function _0x1e6611(){_0x20c0f1[_0x1cd3('0xd34')]=[];_0x2e431f[_0x1cd3('0xb02')][_0x1cd3('0x378')]({'id':_0x20c0f1['chatWebsite']['id']},_0x20c0f1['chatWebsite'])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x58d635){var _0xa4b603=_['find'](_0x20c0f1[_0x1cd3('0x11d4')],{'id':_0x58d635['id']});if(_0xa4b603){_[_0x1cd3('0xf2')](_0xa4b603,_[_0x1cd3('0x5e8')](_0x58d635[_0x1cd3('0xd32')](),_[_0x1cd3('0x80')](_0xa4b603)));}_0x3d0a8d[_0x1cd3('0x473')]({'title':'ChatWebsite\x20properly\x20saved!','msg':_0x20c0f1[_0x1cd3('0xb02')]['name']?_0x20c0f1['chatWebsite'][_0x1cd3('0x98')]+_0x1cd3('0xd37'):''});_0x39dcdc(_0x58d635);})['catch'](function(_0x535bb3){if(_0x535bb3[_0x1cd3('0x439')]&&_0x535bb3[_0x1cd3('0x439')]['errors']&&_0x535bb3[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')]){_0x20c0f1['errors']=_0x535bb3[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x535bb3['toString'](),'type':_0x1cd3('0x1208')}];for(var _0x185f53=0x0;_0x185f53<_0x535bb3[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length'];_0x185f53++){_0x3d0a8d[_0x1cd3('0x434')]({'title':_0x535bb3[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x185f53][_0x1cd3('0x424')],'msg':_0x535bb3[_0x1cd3('0x439')]['errors'][_0x185f53]['message']});}}else{_0x3d0a8d[_0x1cd3('0x434')]({'title':_0x535bb3['status']?_0x1cd3('0x435')+_0x535bb3[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x535bb3['statusText']:'api.chatWebsite.update','msg':_0x535bb3['data']?JSON[_0x1cd3('0x438')](_0x535bb3[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x535bb3[_0x1cd3('0x43b')]()});}});}function _0x1b2720(_0x5443c4){_0x20c0f1['errors']=[];var _0x1d7167=_0x14ac06[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xd3a'))[_0x1cd3('0xd3b')](_0x1cd3('0x1209'))[_0x1cd3('0xd3d')](_0x1cd3('0x120a'))['ok'](_0x1cd3('0xd3f'))[_0x1cd3('0x4d8')]('Cancel')[_0x1cd3('0xd63')](_0x5443c4);_0x14ac06[_0x1cd3('0x37e')](_0x1d7167)['then'](function(){_0x2e431f[_0x1cd3('0xb02')][_0x1cd3('0xa1c')]({'id':_0x20c0f1[_0x1cd3('0xb02')]['id']})[_0x1cd3('0x81')]['then'](function(){_['remove'](_0x20c0f1['chatWebsites'],{'id':_0x20c0f1[_0x1cd3('0xb02')]['id']});_0x3d0a8d[_0x1cd3('0x473')]({'title':_0x1cd3('0x120b'),'msg':(_0x20c0f1[_0x1cd3('0xb02')][_0x1cd3('0x98')]||_0x1cd3('0xb02'))+_0x1cd3('0xd41')});_0x39dcdc(_0x20c0f1[_0x1cd3('0xb02')]);})[_0x1cd3('0xfd')](function(_0x40a856){if(_0x40a856[_0x1cd3('0x439')]&&_0x40a856[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x40a856['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x20c0f1[_0x1cd3('0xd34')]=_0x40a856[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x40a856['toString'](),'type':'api.chatWebsite.delete'}];for(var _0x405d30=0x0;_0x405d30<_0x40a856[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0x405d30++){_0x3d0a8d[_0x1cd3('0x434')]({'title':_0x40a856['data'][_0x1cd3('0xd34')][_0x405d30][_0x1cd3('0x424')],'msg':_0x40a856['data'][_0x1cd3('0xd34')][_0x405d30][_0x1cd3('0x43a')]});}}else{_0x3d0a8d[_0x1cd3('0x434')]({'title':_0x40a856[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x40a856['status']+'\x20-\x20'+_0x40a856['statusText']:_0x1cd3('0x120c'),'msg':_0x40a856[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x40a856['data']['message']):_0x40a856[_0x1cd3('0x43a')]||_0x40a856[_0x1cd3('0x43b')]()});}});},function(){});}function _0x29d86d(_0x475277){return _0x475277===null?undefined:new Date(_0x475277);}function _0x39dcdc(_0x16e29e){_0x14ac06[_0x1cd3('0x39d')](_0x16e29e);}}}());(function(){'use strict';_0x2aa026[_0x1cd3('0xc')]=[_0x1cd3('0x370'),_0x1cd3('0x3c5'),'$document','toasty',_0x1cd3('0x56')];angular[_0x1cd3('0x0')]('app.chat')['controller'](_0x1cd3('0x120d'),_0x2aa026);function _0x2aa026(_0x1fb878,_0x513348,_0x500cb9,_0x16a485,_0x25be3d){var _0xc5c888=this;_0xc5c888[_0x1cd3('0x3ca')]=_0x25be3d['getCurrentUser']();_0xc5c888[_0x1cd3('0xb02')]={};_0xc5c888[_0x1cd3('0x120e')]={'count':0x0,'rows':[]};_0xc5c888[_0x1cd3('0x120f')]=[];_0xc5c888[_0x1cd3('0xd27')];_0xc5c888['query']={'sort':_0x1cd3('0xf0c')};_0xc5c888[_0x1cd3('0x1210')]=_['reject'](_[_0x1cd3('0x1211')]([{'app':_0x1cd3('0x1212'),'appType':'interval','types':[_0x1cd3('0x1213'),_0x1cd3('0x8f6'),_0x1cd3('0x9d5')],'fields':[],'isApp':![]},{'app':_0x1cd3('0x3a9'),'appType':_0x1cd3('0x3a9'),'type':_0x1cd3('0x3a9'),'icon':_0x1cd3('0x1214'),'interval':'*,*,*,*','required':!![],'isApp':!![],'fields':[{'title':_0x1cd3('0x1215'),'name':'value','type':_0x1cd3('0x401'),'param':0x0}]},{'app':_0x1cd3('0xa13'),'appType':_0x1cd3('0xa13'),'type':_0x1cd3('0xa13'),'icon':_0x1cd3('0x1214'),'interval':_0x1cd3('0x1216'),'required':!![],'isApp':!![],'extraApi':[{'name':'variables','field':{'name':_0x1cd3('0xb84'),'key':_0x1cd3('0x98')},'route':_0x1cd3('0xb84'),'filters':{'fields':'id,name','sort':_0x1cd3('0x98'),'nolimit':!![]},'permissions':{'section':0x3f4}}],'fields':[{'title':'Command','name':_0x1cd3('0xf0d'),'type':_0x1cd3('0x401'),'required':!![],'param':0x0},{'title':_0x1cd3('0x1217'),'name':_0x1cd3('0xb84'),'type':_0x1cd3('0x1218'),'values':_0x1cd3('0xef7'),'value':_0x1cd3('0x1219'),'option':_0x1cd3('0x1219'),'defaultValues':[{'value':'\x27\x27','option':'None'}],'defaultValue':'\x27\x27','param':0x1}]},{'app':'gotop','appType':_0x1cd3('0x121a'),'type':_0x1cd3('0x121b'),'icon':_0x1cd3('0x1214'),'interval':'*,*,*,*','isApp':!![],'fields':[{'title':'Priority','name':_0x1cd3('0xf0c'),'type':_0x1cd3('0x407'),'required':!![],'min':0x0,'param':0x0}]},{'app':'gotoif','appType':'gotoif','type':_0x1cd3('0x121c'),'icon':_0x1cd3('0x1214'),'interval':_0x1cd3('0x1216'),'isApp':!![],'fields':[{'title':_0x1cd3('0x121d'),'name':'condition','type':'text','required':!![],'param':0x0},{'title':_0x1cd3('0x121e'),'name':_0x1cd3('0x121e'),'type':_0x1cd3('0x407'),'min':0x1,'required':!![],'param':0x1},{'title':_0x1cd3('0x121f'),'name':_0x1cd3('0x121f'),'type':_0x1cd3('0x407'),'min':0x1,'required':!![],'param':0x2}]},{'app':_0x1cd3('0x1220'),'appType':_0x1cd3('0x1220'),'foreignKey':_0x1cd3('0x1221'),'type':'queue','icon':_0x1cd3('0x1214'),'interval':_0x1cd3('0x1216'),'isApp':!![],'extraApi':[{'name':_0x1cd3('0x1155'),'field':{'name':_0x1cd3('0x1220'),'key':_0x1cd3('0x98')},'route':_0x1cd3('0x11a7'),'filters':{'fields':_0x1cd3('0x1222'),'sort':'name','nolimit':!![]},'permissions':{'section':0x1f5}}],'fields':[{'title':_0x1cd3('0x1223'),'name':'queue','type':_0x1cd3('0x1218'),'values':_0x1cd3('0x1155'),'value':_0x1cd3('0x1224'),'option':_0x1cd3('0x1224'),'defaultValue':0x12c,'required':!![],'param':0x0},{'title':_0x1cd3('0x1225'),'name':'timeout','type':_0x1cd3('0x407'),'max':0x20c49b,'min':0x0,'required':!![],'defaultValue':0x12c,'param':0x1}]},{'app':_0x1cd3('0xd2'),'appType':_0x1cd3('0xd2'),'type':_0x1cd3('0xd2'),'foreignKey':_0x1cd3('0x1226'),'icon':_0x1cd3('0x1214'),'interval':_0x1cd3('0x1216'),'isApp':!![],'extraApi':[{'name':'agents','field':{'name':_0x1cd3('0xd2'),'key':'name'},'route':_0x1cd3('0x368'),'filters':{'fields':_0x1cd3('0xa6'),'role':_0x1cd3('0xd2'),'sort':_0x1cd3('0x98'),'nolimit':!![]},'permissions':{'section':0xca}}],'fields':[{'title':_0x1cd3('0x1227'),'name':_0x1cd3('0xd2'),'type':'apiselect','values':_0x1cd3('0x1228'),'value':_0x1cd3('0x1229'),'option':_0x1cd3('0x1229'),'required':!![],'param':0x0},{'title':_0x1cd3('0x1225'),'name':'timeout','type':_0x1cd3('0x407'),'max':0x20c49b,'min':0x0,'required':!![],'defaultValue':0x1e,'param':0x1}]},{'app':_0x1cd3('0x3cf'),'appType':'close','type':_0x1cd3('0x3cf'),'icon':'icon-apps','interval':'*,*,*,*','isApp':!![],'fields':[{'title':_0x1cd3('0x122a'),'name':_0x1cd3('0xb63'),'type':_0x1cd3('0x401'),'required':!![],'param':0x0}]},{'app':_0x1cd3('0x122b'),'appType':_0x1cd3('0x122b'),'type':_0x1cd3('0x122b'),'icon':_0x1cd3('0x1214'),'interval':_0x1cd3('0x1216'),'isApp':!![],'fields':[{'title':_0x1cd3('0x122c'),'name':_0x1cd3('0x122c'),'type':'select','defaultValue':'1','values':[{'option':_0x1cd3('0x122d'),'value':'1'},{'option':_0x1cd3('0x122e'),'value':'0'}],'required':!![],'param':0x0},{'title':_0x1cd3('0xf3f'),'name':'text','type':_0x1cd3('0x122f'),'required':!![],'param':0x1}]},{'app':_0x1cd3('0xb76'),'appType':_0x1cd3('0xb76'),'type':_0x1cd3('0xb76'),'foreignKey':_0x1cd3('0x1230'),'icon':_0x1cd3('0x1214'),'interval':_0x1cd3('0x1216'),'isApp':!![],'extraApi':[{'name':_0x1cd3('0x921'),'field':{'name':'tag','key':_0x1cd3('0x98')},'route':_0x1cd3('0xb76'),'filters':{'fields':_0x1cd3('0xa6'),'sort':'name','nolimit':!![]},'permissions':{'section':0x3f0}}],'fields':[{'title':_0x1cd3('0x1231'),'name':_0x1cd3('0xb76'),'type':_0x1cd3('0x1218'),'values':_0x1cd3('0x921'),'value':_0x1cd3('0x1232'),'option':_0x1cd3('0x1232'),'required':!![],'param':0x0}]},{'app':_0x1cd3('0x1233'),'appType':_0x1cd3('0x1233'),'type':'dialogflow','icon':'icon-apps','interval':_0x1cd3('0x1216'),'isApp':!![],'fields':[{'title':'Key','name':_0x1cd3('0x65c'),'type':_0x1cd3('0x401'),'required':!![],'param':0x0},{'title':_0x1cd3('0x3f3'),'name':_0x1cd3('0x3f3'),'type':_0x1cd3('0x44f'),'defaultValue':'\x27en\x27','values':[{'option':'Danish','value':_0x1cd3('0x1234')},{'option':'English','value':_0x1cd3('0x1235')},{'option':'German','value':_0x1cd3('0x1236')},{'option':_0x1cd3('0xf60'),'value':'\x27it\x27'},{'option':_0x1cd3('0xf61'),'value':_0x1cd3('0x1237')},{'option':_0x1cd3('0xf62'),'value':'\x27fr\x27'},{'option':_0x1cd3('0xf63'),'value':_0x1cd3('0x1238')},{'option':_0x1cd3('0xf64'),'value':_0x1cd3('0x1239')},{'option':_0x1cd3('0x1080'),'value':_0x1cd3('0x123a')},{'option':_0x1cd3('0xf65'),'value':_0x1cd3('0x123b')},{'option':_0x1cd3('0xf66'),'value':_0x1cd3('0x123c')},{'option':'Portuguese\x20(European)','value':_0x1cd3('0x123d')},{'option':_0x1cd3('0xf69'),'value':_0x1cd3('0x123e')},{'option':_0x1cd3('0x123f'),'value':_0x1cd3('0x1240')},{'option':_0x1cd3('0x1241'),'value':_0x1cd3('0x1242')},{'option':_0x1cd3('0xfe9'),'value':'\x27th\x27'},{'option':_0x1cd3('0xf6a'),'value':'\x27uk\x27'},{'option':'Chinese\x20(Simplified)','value':_0x1cd3('0x1243')},{'option':_0x1cd3('0x1244'),'value':_0x1cd3('0x1245')},{'option':_0x1cd3('0xf6d'),'value':'\x27zh-TW\x27'}],'required':!![],'param':0x1},{'title':_0x1cd3('0x1246'),'name':_0x1cd3('0x1246'),'type':_0x1cd3('0x122f'),'maxlength':0xff,'param':0x2,'help':!![]}]},{'app':_0x1cd3('0x1247'),'appType':_0x1cd3('0x1247'),'type':_0x1cd3('0x1247'),'icon':_0x1cd3('0x1214'),'interval':'*,*,*,*','isApp':!![],'fields':[{'title':_0x1cd3('0x1248'),'name':'accesskeyid','type':_0x1cd3('0x401'),'required':!![],'param':0x0},{'title':_0x1cd3('0x1249'),'name':'secretaccesskey','type':_0x1cd3('0x401'),'required':!![],'param':0x1},{'title':_0x1cd3('0x124a'),'name':_0x1cd3('0x124a'),'type':'select','defaultValue':'\x27us-east-1\x27','values':[{'option':'US\x20East\x20(N.\x20Virginia)','value':_0x1cd3('0x124b')},{'option':_0x1cd3('0x1122'),'value':_0x1cd3('0x124c')},{'option':_0x1cd3('0x1125'),'value':_0x1cd3('0x124d')},{'option':_0x1cd3('0x1136'),'value':_0x1cd3('0x124e')}],'required':!![],'param':0x2},{'title':'botname','name':_0x1cd3('0x124f'),'type':_0x1cd3('0x401'),'required':!![],'param':0x3},{'title':'welcomemessage','name':'welcomemessage','type':'textarea','maxlength':0xff,'param':0x4,'help':!![]}]}],[_0x1cd3('0xd0a')]),{'isApp':![]});_0xc5c888[_0x1cd3('0x9d5')]={'group':{'name':_0x1cd3('0x1250'),'pull':_0x1cd3('0x1141')},'animation':0x64,'sort':![]};_0xc5c888['applications']={'group':{'name':'opt2','put':_0x1cd3('0x1250')},'animation':0x64,'onAdd':function(_0x15d734){_0x5ac1c3(_0x15d734,_0x15d734['newIndex']);},'onSort':function(_0x4d59dd){_0x172c45();}};_0xc5c888['init']=_0x49df41;_0xc5c888[_0x1cd3('0xe0a')]=_0x453562;_0xc5c888[_0x1cd3('0x1251')]=_0x188fec;_0xc5c888[_0x1cd3('0x1252')]=_0x5ac1c3;_0xc5c888['editInterval']=_0x52a2b0;_0xc5c888[_0x1cd3('0x1253')]=_0x366921;_0xc5c888['deleteSelectedChatWebsiteApps']=_0x11f007;_0xc5c888[_0x1cd3('0x1254')]=_0x172c45;_0xc5c888['getIntervals']=_0x1637d6;function _0x49df41(_0x37c9ef,_0x763b4){_0xc5c888[_0x1cd3('0xb02')]=_0x37c9ef;_0xc5c888[_0x1cd3('0xd27')]=typeof _0x763b4!==_0x1cd3('0x491')?_0x763b4:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0xc5c888['applications']['disabled']=!_0xc5c888['crudPermissions'][_0x1cd3('0xe3b')]?!![]:![];_0xc5c888[_0x1cd3('0x3d4')]['id']=_0x37c9ef['id'];_0xc5c888[_0x1cd3('0x3d4')][_0x1cd3('0x1255')]=!![];_0xc5c888[_0x1cd3('0x3d4')][_0x1cd3('0x1256')]=!![];_0xc5c888[_0x1cd3('0x1251')]();_0xc5c888[_0x1cd3('0x1257')]();}function _0x453562(_0x11c292,_0x15955e,_0x45b94b){var _0x54098b=_0x513348[_0x1cd3('0xd39')]()['title'](_0x1cd3('0x1258'))[_0x1cd3('0xd60')]('<b>'+_0x11c292['app']+_0x1cd3('0xd52')+'\x20will\x20be\x20deleted.')['ariaLabel'](_0x1cd3('0x1259'))['targetEvent'](_0x45b94b)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x513348[_0x1cd3('0x37e')](_0x54098b)[_0x1cd3('0x77')](function(){_0xc5c888[_0x1cd3('0x120e')][_0x1cd3('0xf6')][_0x1cd3('0x446')](_0x15955e,0x1);_0x172c45();},function(){console[_0x1cd3('0x7d')]('CANCEL');});}function _0x5ac1c3(_0x269da9,_0x78fe51){if(_0xc5c888[_0x1cd3('0x120e')][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){var _0x5d8ee4=_0xc5c888[_0x1cd3('0x120e')][_0x1cd3('0xf6')][_0x78fe51]?_0xc5c888[_0x1cd3('0x120e')]['rows'][_0x78fe51]:_0xc5c888[_0x1cd3('0x120e')][_0x1cd3('0xf6')][0x0];_0x513348[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x125a')+(_0x5d8ee4[_0x1cd3('0x125b')]||_0x5d8ee4[_0x1cd3('0xd0a')])[_0x1cd3('0x433')]()+_0x1cd3('0x125c'),'controllerAs':'vm','templateUrl':_0x1cd3('0x125d')+(_0x5d8ee4['appType']||_0x5d8ee4[_0x1cd3('0xd0a')])[_0x1cd3('0x433')]()+_0x1cd3('0x125e'),'parent':angular[_0x1cd3('0x37f')](_0x500cb9[_0x1cd3('0x380')]),'targetEvent':_0x269da9,'clickOutsideToClose':!![],'locals':{'chatWebsiteApp':_0x5d8ee4,'chatWebsite':_0xc5c888[_0x1cd3('0xb02')],'crudPermissions':_0xc5c888['crudPermissions']}})[_0x1cd3('0x77')](function(_0x28354d){if(_0x28354d){if(_0x28354d['id']){_0xc5c888['chatWebsiteApps'][_0x1cd3('0xf6')][_0x78fe51]=_0x28354d;}else{_0xc5c888[_0x1cd3('0x120e')]['rows'][_0x1cd3('0x446')](_0x78fe51,0x0,_0x28354d);}_0x172c45();}})[_0x1cd3('0xfd')](function(_0x1ec584){if(_0x1ec584){_0x16a485[_0x1cd3('0x434')]({'title':_0x1ec584['status']?'API:'+_0x1ec584[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x1ec584[_0x1cd3('0xd35')]:_0x1cd3('0x125f'),'msg':_0x1ec584[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x1ec584[_0x1cd3('0x439')]):_0x1ec584['toString']()});}});}}function _0x52a2b0(_0x25d6f9,_0x357f8c){if(_0xc5c888[_0x1cd3('0x120e')][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){var _0x5470b8=_0xc5c888['chatWebsiteApps'][_0x1cd3('0xf6')][_0x357f8c]?_0xc5c888[_0x1cd3('0x120e')][_0x1cd3('0xf6')][_0x357f8c]:_0xc5c888[_0x1cd3('0x120e')][_0x1cd3('0xf6')][0x0];_0x513348[_0x1cd3('0x37e')]({'controller':'EditChatWebsiteAppintervalDialogController','controllerAs':'vm','templateUrl':_0x1cd3('0x1260'),'parent':angular[_0x1cd3('0x37f')](_0x500cb9[_0x1cd3('0x380')]),'targetEvent':_0x25d6f9,'clickOutsideToClose':!![],'locals':{'interval':{'interval':_0x5470b8[_0x1cd3('0x77e')],'IntervalId':_0x5470b8[_0x1cd3('0xf4b')],'application':!![]},'intervals':[],'crudPermissions':_0xc5c888[_0x1cd3('0xd27')]}})[_0x1cd3('0x77')](function(_0x4bf113){if(_0x4bf113){_0x5470b8[_0x1cd3('0x77e')]=_0x4bf113['interval']||'*,*,*,*';_0x5470b8[_0x1cd3('0xf4b')]=_0x4bf113[_0x1cd3('0xf4b')]||null;_0x172c45();}});}}function _0x172c45(){var _0x1a87dc=0x1;var _0x373cb9=[];for(var _0x4db730=0x0,_0x234040=0x0;_0x4db730<_0xc5c888['chatWebsiteApps'][_0x1cd3('0xf6')]['length'];_0x4db730++,_0x234040=0x0){var _0x1b0dc6=_0xc5c888[_0x1cd3('0x120e')][_0x1cd3('0xf6')][_0x4db730];var _0x20d2df=[];var _0xa30cc6=[];_0x1b0dc6['intervals']=_0x1b0dc6[_0x1cd3('0x77e')]!==_0x1cd3('0x1216')?[_0x1b0dc6[_0x1cd3('0x77e')]]:_0x1b0dc6['IntervalId']?_[_0x1cd3('0x3d9')](_[_0x1cd3('0x395')](_0xc5c888[_0x1cd3('0xef9')][_0x1cd3('0xf6')],{'IntervalId':_0x1b0dc6['IntervalId']}),_0x1cd3('0x77e')):[];_0x1b0dc6[_0x1cd3('0xf0a')]=_0xc5c888[_0x1cd3('0xb02')][_0x1cd3('0xf0a')];_0x1b0dc6[_0x1cd3('0x1261')]=_0xc5c888[_0x1cd3('0xb02')][_0x1cd3('0x1261')];if(_0x1b0dc6[_0x1cd3('0x424')]){_0x1b0dc6[_0x1cd3('0x424')]=_0x1b0dc6[_0x1cd3('0x424')]['toLowerCase']();}_0x1b0dc6[_0x1cd3('0xf0c')]=_0x20d2df[_0x1cd3('0x7a')]?_[_0x1cd3('0x5df')](_0x20d2df)[_0x1cd3('0xf0c')]+0x1:_0x1a87dc;_0x1a87dc=(_0xa30cc6[_0x1cd3('0x7a')]?_[_0x1cd3('0x5df')](_0xa30cc6)[_0x1cd3('0xf0c')]:_0x1b0dc6[_0x1cd3('0xf0c')])+0x1;_0x373cb9=_['concat'](_0x373cb9,_0x20d2df,[_0x1b0dc6],_0xa30cc6);}_0x1fb878['chatWebsite'][_0x1cd3('0x1262')]({'id':_0xc5c888[_0x1cd3('0xb02')]['id']},_[_0x1cd3('0x1211')](_0x373cb9,_0x1cd3('0xf0c')))['$promise'][_0x1cd3('0x77')](function(_0x44427d){_0xc5c888['chatWebsiteApps'][_0x1cd3('0xf6')]=_0x44427d['rows'];})[_0x1cd3('0xfd')](function(_0x66f023){console[_0x1cd3('0x434')](_0x66f023);});}function _0xbff273(_0xfca29){_0xc5c888[_0x1cd3('0x120e')]=_0xfca29||{'count':0x0,'rows':[]};}function _0x1637d6(){return _0x1fb878[_0x1cd3('0x77e')][_0x1cd3('0x361')]({'fields':'id,interval,IntervalId'})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x356291){_0xc5c888[_0x1cd3('0xef9')]=_0x356291;})[_0x1cd3('0xfd')](function(_0x15c446){console[_0x1cd3('0x434')](_0x15c446);});}function _0x188fec(){_0xc5c888[_0x1cd3('0x539')]=_0x1fb878['chatWebsite'][_0x1cd3('0x1263')](_0xc5c888[_0x1cd3('0x3d4')],_0xbff273)[_0x1cd3('0x81')];}function _0x366921(_0x98b4ae){_['remove'](_0xc5c888[_0x1cd3('0x120e')][_0x1cd3('0xf6')],{'id':_0x98b4ae['id']});_0x172c45();_0x16a485[_0x1cd3('0x473')]({'title':_0x1cd3('0x1264'),'msg':_0x98b4ae[_0x1cd3('0xd0a')]?_0x98b4ae[_0x1cd3('0xd0a')]+_0x1cd3('0xd41'):''});}function _0x11f007(_0x2a9780){var _0x3b6b73=_0x513348[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x1265'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0xc5c888['selectedChatWebsiteApps'][_0x1cd3('0x7a')]+_0x1cd3('0xd61')+'\x20will\x20be\x20deleted.')['ariaLabel'](_0x1cd3('0x1266'))['targetEvent'](_0x2a9780)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x513348['show'](_0x3b6b73)[_0x1cd3('0x77')](function(){_0xc5c888[_0x1cd3('0x120f')][_0x1cd3('0x394')](function(_0xd142d3){_[_0x1cd3('0x383')](_0xc5c888[_0x1cd3('0x120e')][_0x1cd3('0xf6')],{'id':_0xd142d3['id']});});_0xc5c888[_0x1cd3('0x120f')]=[];_0x172c45();});}}}());(function(){'use strict';_0x3142c7[_0x1cd3('0xc')]=['$mdDialog','$q',_0x1cd3('0x461'),'api',_0x1cd3('0xb02'),_0x1cd3('0x11d4'),_0x1cd3('0x11b9'),_0x1cd3('0x3f7'),_0x1cd3('0x56'),'crudPermissions'];angular[_0x1cd3('0x0')](_0x1cd3('0x2e'))[_0x1cd3('0x39b')](_0x1cd3('0x11f6'),_0x3142c7);function _0x3142c7(_0x11189c,_0x51e52e,_0x351bc4,_0x3140c7,_0x38fb49,_0x55ed5e,_0x3f7b43,_0x2ac9af,_0x252d05,_0x1c9fdc){var _0xe8d3b6=this;_0xe8d3b6[_0x1cd3('0x3ca')]=_0x252d05['getCurrentUser']();_0xe8d3b6['chatWebsite']=_0x38fb49;_0xe8d3b6[_0x1cd3('0xd27')]=_0x1c9fdc;_0xe8d3b6[_0x1cd3('0x11b9')]=_0x3f7b43;_0xe8d3b6[_0x1cd3('0x493')]=[];_0xe8d3b6['allowedItems']=[];_0xe8d3b6[_0x1cd3('0x492')]=[];_0xe8d3b6[_0x1cd3('0x11bb')]=[];_0xe8d3b6[_0x1cd3('0x11be')]=[];_0xe8d3b6[_0x1cd3('0x11c6')]=![];_0xe8d3b6[_0x1cd3('0x703')]=_0x3634ba;_0xe8d3b6[_0x1cd3('0x11bc')]=_0x3350c8;_0xe8d3b6[_0x1cd3('0x39c')]=_0x93bfde;_0xe8d3b6['dualMultiselectOptions']={'readOnly':!_0xe8d3b6[_0x1cd3('0xd27')][_0x1cd3('0xe3b')],'items':[],'selectedItems':[],'showSelectAndDeselectAll':!![],'orderBy':'name','line1':_0x1cd3('0xd3'),'line2':['name',_0x1cd3('0x311')],'line3':'','labelAll':_0x2ac9af[_0x1cd3('0x44a')](_0x1cd3('0x11bd')),'labelSelected':_0x2ac9af[_0x1cd3('0x44a')](_0x1cd3('0x1267')),'transferCallback':function(_0x3f3c26,_0x4b3775){var _0xde9184=_[_0x1cd3('0x11c8')](_0xe8d3b6[_0x1cd3('0x11be')],_0xe8d3b6[_0x1cd3('0x492')],'id');_0xe8d3b6[_0x1cd3('0x11c6')]=_[_0x1cd3('0x398')](_0xde9184)?![]:!![];}};function _0x3634ba(){return _0x252d05[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x1ccabc()[_0x1cd3('0xfd')](function(_0x5cac89){_0x351bc4[_0x1cd3('0x434')]({'title':_0x5cac89[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x5cac89[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x5cac89['statusText']:_0x1cd3('0x11bf'),'msg':_0x5cac89[_0x1cd3('0x3a6')]?JSON[_0x1cd3('0x438')](_0x5cac89[_0x1cd3('0x439')]):_0x5cac89[_0x1cd3('0x43b')]()});}):_0x2342fd()[_0x1cd3('0x77')](function(_0x45cf55){_0xe8d3b6[_0x1cd3('0xd58')]=_0x45cf55;return _0x1ccabc();})[_0x1cd3('0xfd')](function(_0x248308){_0x351bc4['error']({'title':_0x248308[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x248308['status']+_0x1cd3('0x436')+_0x248308[_0x1cd3('0xd35')]:_0x1cd3('0x11bf'),'msg':_0x248308['status']?JSON[_0x1cd3('0x438')](_0x248308[_0x1cd3('0x439')]):_0x248308[_0x1cd3('0x43b')]()});});}function _0x2342fd(){return _0x51e52e(function(_0x1b4152,_0x207521){_0x3140c7['userProfileSection'][_0x1cd3('0x361')]({'userProfileId':_0xe8d3b6[_0x1cd3('0x3ca')]['userProfileId'],'name':_0x1cd3('0xd4')})['$promise'][_0x1cd3('0x77')](function(_0x389930){var _0x124d31=_0x389930&&_0x389930[_0x1cd3('0xf6')]?_0x389930[_0x1cd3('0xf6')][0x0]:null;_0x1b4152(_0x124d31);})['catch'](function(_0x138b33){_0x207521(_0x138b33);});});}function _0x1ccabc(){return _0x51e52e(function(_0x1da6c3,_0xe8d31f){return _0x3556af()[_0x1cd3('0x77')](function(_0x3f9a88){_0xe8d3b6[_0x1cd3('0x493')]=_0x3f9a88[_0x1cd3('0xf6')]?_0x3f9a88[_0x1cd3('0xf6')]:[];if(_0x252d05[_0x1cd3('0x57')](_0x1cd3('0x5f'))){return _0x3f9a88;}else{if(_0xe8d3b6[_0x1cd3('0xd58')]){return _0xe8d3b6['section']['autoAssociation']?_0x3f9a88:_0x5b7c3b();}else{return null;}}})['then'](function(_0x47754f){var _0x158626=_0x47754f&&_0x47754f[_0x1cd3('0xf6')]?_0x47754f[_0x1cd3('0xf6')]:[];_0xe8d3b6[_0x1cd3('0x11ba')]=_[_0x1cd3('0x3d9')](_0x158626,function(_0x23c0e9){return _[_0x1cd3('0x442')](_0xe8d3b6[_0x1cd3('0x493')],{'id':_0x252d05[_0x1cd3('0x57')]('admin')||_0xe8d3b6[_0x1cd3('0xd58')]['autoAssociation']?_0x23c0e9['id']:_0x23c0e9['resourceId']});});_0xe8d3b6[_0x1cd3('0x11bb')]=angular[_0x1cd3('0x429')](_0xe8d3b6[_0x1cd3('0x11ba')]);_0xe8d3b6[_0x1cd3('0x493')][_0x1cd3('0x394')](function(_0x3cf696){var _0x3eb79f=_[_0x1cd3('0x442')](_0xe8d3b6[_0x1cd3('0x11ba')],{'id':_0x3cf696['id']});if(_0x252d05[_0x1cd3('0x57')]('admin')){_0x3cf696[_0x1cd3('0x490')]=!![];}else{_0x3cf696[_0x1cd3('0x490')]=typeof _0x3eb79f!==_0x1cd3('0x491')?!![]:![];}});return _0x5f547b();})[_0x1cd3('0x77')](function(_0x37bd21){var _0x18193a=_0x37bd21&&_0x37bd21[_0x1cd3('0xf6')]?_0x37bd21['rows']:[];_0xe8d3b6[_0x1cd3('0x492')]=_[_0x1cd3('0x3d9')](_0x18193a,function(_0x5ee6a0){var _0x9bf55f=_[_0x1cd3('0x442')](_0xe8d3b6[_0x1cd3('0x493')],{'id':_0x5ee6a0['id']});_0x9bf55f['penalty']=_0x5ee6a0[_0x1cd3('0x1268')]?'penalty\x20'+_0x5ee6a0[_0x1cd3('0x1268')][_0x1cd3('0x1146')]:'';_0x9bf55f['internal']=_0x5ee6a0[_0x1cd3('0x3d0')](_0x1cd3('0x311'))?'<'+_0x5ee6a0[_0x1cd3('0x311')]+'>':'';return _0x9bf55f;});_0xe8d3b6[_0x1cd3('0x11be')]=angular[_0x1cd3('0x429')](_0xe8d3b6[_0x1cd3('0x492')]);_0xe8d3b6['dualMultiselectOptions'][_0x1cd3('0x492')]=_0xe8d3b6[_0x1cd3('0x492')];_0xe8d3b6[_0x1cd3('0x1145')][_0x1cd3('0x493')]=_[_0x1cd3('0x1152')](_0xe8d3b6[_0x1cd3('0x11ba')],_0xe8d3b6[_0x1cd3('0x1145')][_0x1cd3('0x492')],'id');_0x1da6c3();})[_0x1cd3('0xfd')](function(_0x517e44){_0xe8d31f(_0x517e44);});});}function _0x5b7c3b(){return _0x51e52e(function(_0x98a6c3,_0x45b0b0){return _0x3140c7[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0xe8d3b6[_0x1cd3('0xd58')]['id'],'nolimit':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x11290a){_0x98a6c3(_0x11290a);})[_0x1cd3('0xfd')](function(_0x534a86){_0x45b0b0(_0x534a86);});});}function _0x5f547b(){return _0x51e52e(function(_0x4da29d,_0x4f71c9){return _0x3140c7[_0x1cd3('0xb02')][_0x1cd3('0x1269')]({'id':_0xe8d3b6['chatWebsite']['id'],'fields':'id,name,internal,fullname','nolimit':!![],'role':_0x1cd3('0xd2')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x31f248){_0x4da29d(_0x31f248);})[_0x1cd3('0xfd')](function(_0x50d679){_0x4f71c9(_0x50d679);});});}function _0x3556af(){return _0x51e52e(function(_0x3a9529,_0x81cd07){return _0x3140c7[_0x1cd3('0x368')][_0x1cd3('0x361')]({'fields':_0x1cd3('0x11c1'),'nolimit':!![],'role':'agent'})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x59dd7f){_0x3a9529(_0x59dd7f);})[_0x1cd3('0xfd')](function(_0x54d72d){_0x81cd07(_0x54d72d);});});}function _0x56958e(_0x47e570){return _0x51e52e(function(_0x2d26ea,_0x41b7c4){if(_['isEmpty'](_0x47e570)){_0x2d26ea();}else{_0x3140c7[_0x1cd3('0xb02')][_0x1cd3('0x11c2')]({'id':_0xe8d3b6[_0x1cd3('0xb02')]['id'],'ids':_[_0x1cd3('0x3d9')](_0x47e570,'id')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x2d26ea();})[_0x1cd3('0xfd')](function(_0x394676){_0x41b7c4(_0x394676);});}});}function _0x1aaaa5(_0x1d932d){return _0x51e52e(function(_0x3d08ba,_0x155e25){if(_[_0x1cd3('0x398')](_0x1d932d)){_0x3d08ba();}else{_0x3140c7[_0x1cd3('0xb02')][_0x1cd3('0x11c3')]({'id':_0xe8d3b6[_0x1cd3('0xb02')]['id'],'ids':_[_0x1cd3('0x3d9')](_0x1d932d,'id')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x3d08ba();})['catch'](function(_0x111086){_0x155e25(_0x111086);});}});}function _0x3350c8(){var _0x2b3338=_[_0x1cd3('0x1152')](_0xe8d3b6[_0x1cd3('0x11be')],_0xe8d3b6[_0x1cd3('0x492')],'id');var _0x386adf=_[_0x1cd3('0x1152')](_0xe8d3b6[_0x1cd3('0x492')],_0xe8d3b6[_0x1cd3('0x11be')],'id');return _0x1aaaa5(_0x2b3338)['then'](function(){return _0x56958e(_0x386adf);})[_0x1cd3('0x77')](function(){_0xe8d3b6[_0x1cd3('0x11c6')]=![];_0xe8d3b6[_0x1cd3('0x11bb')]=angular[_0x1cd3('0x429')](_0xe8d3b6[_0x1cd3('0x11ba')]);_0xe8d3b6['startingSelectedItems']=angular[_0x1cd3('0x429')](_0xe8d3b6[_0x1cd3('0x492')]);_0x351bc4[_0x1cd3('0x473')]({'title':_0x1cd3('0x11c4'),'msg':_0x1cd3('0x11c5')});})['catch'](function(_0x1321bd){_0x351bc4['error']({'title':_0x1321bd[_0x1cd3('0x3a6')]?'API:'+_0x1321bd[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x1321bd[_0x1cd3('0xd35')]:_0x1cd3('0x11ce'),'msg':_0x1321bd[_0x1cd3('0x3a6')]?JSON[_0x1cd3('0x438')](_0x1321bd[_0x1cd3('0x439')]):_0x1321bd[_0x1cd3('0x43b')]()});});}function _0x93bfde(){_0x11189c[_0x1cd3('0x39d')]();}}}());(function(){'use strict';_0x2d165e[_0x1cd3('0xc')]=['$cookies',_0x1cd3('0x461')];angular[_0x1cd3('0x0')](_0x1cd3('0x2e'))[_0x1cd3('0x39b')]('ChatWebsiteagentAvatarController',_0x2d165e);function _0x2d165e(_0x171c03,_0x5cec96){var _0xb85ddf=this;var _0x32f62d=0x8;var _0x4836c7=_0x32f62d*0x400*0x400;_0xb85ddf['chatWebsite']={};_0xb85ddf[_0x1cd3('0xd27')];_0xb85ddf[_0x1cd3('0x126a')]={'singleFile':!![],'maxChunkRetries':0x1,'chunkSize':_0x4836c7,'simultaneousUploads':0x1,'testChunks':![],'progressCallbacksInterval':0x3e8,'allowDuplicateUploads':!![]};_0xb85ddf[_0x1cd3('0x126b')]={'flow':{}};_0xb85ddf[_0x1cd3('0x126c')]=![];_0xb85ddf[_0x1cd3('0x113a')]=_0x26efc9;_0xb85ddf[_0x1cd3('0x126d')]=_0x5a5998;_0xb85ddf[_0x1cd3('0x126e')]=_0x11ee7a;_0xb85ddf['init']=_0x1c4b3f;function _0x1c4b3f(_0x179191,_0x2a5b98){_0xb85ddf[_0x1cd3('0xb02')]=angular[_0x1cd3('0x429')](_0x179191);_0xb85ddf[_0x1cd3('0xd27')]=typeof _0x2a5b98!=='undefined'?_0x2a5b98:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0xb85ddf[_0x1cd3('0x126a')][_0x1cd3('0x365')]=_0x1cd3('0x126f')[_0x1cd3('0x3f1')](_0x1cd3('0x1270'),_0xb85ddf[_0x1cd3('0xb02')]['id']);_0xb85ddf[_0x1cd3('0xb02')][_0x1cd3('0x1271')]=[];}function _0x26efc9(_0x502113){var _0x4bd6ff=[_0x1cd3('0x1272'),_0x1cd3('0x1273')];if(!_[_0x1cd3('0x38f')](_0x4bd6ff,_0x502113[_0x1cd3('0x113c')]())){_0x5cec96['error']({'title':_0x1cd3('0x1274')+_0x502113[_0x1cd3('0x113c')](),'msg':_0x1cd3('0x1275')+_0x4bd6ff[_0x1cd3('0x3de')]()});return![];}if(_0x502113[_0x1cd3('0x113e')]>_0x4836c7){_0x5cec96[_0x1cd3('0x434')]({'title':_0x1cd3('0x1276'),'msg':_0x1cd3('0x1277')+_0x32f62d+'MB'});return![];}var _0x4b8b44={'id':_0x502113[_0x1cd3('0x1278')],'file':_0x502113,'type':_0x1cd3('0x1279')};_0xb85ddf[_0x1cd3('0xb02')][_0x1cd3('0x1271')][_0x1cd3('0x621')](_0x4b8b44);return!![];}function _0x5a5998(){_0xb85ddf[_0x1cd3('0x126b')][_0x1cd3('0x46')]['opts'][_0x1cd3('0x3a2')]={'X-Requested-With':'XMLHttpRequest','Authorization':_0x1cd3('0x3a5')+_0x171c03[_0x1cd3('0x361')]('motion.token')};_0xb85ddf[_0x1cd3('0x126b')][_0x1cd3('0x46')]['upload']();}function _0x11ee7a(_0x83412c,_0x2627a1){angular['forEach'](_0xb85ddf[_0x1cd3('0xb02')][_0x1cd3('0x1271')],function(_0x2c6232,_0x1e35f9){if(_0x2c6232['id']===_0x83412c['uniqueIdentifier']){var _0x117b98=new FileReader();_0x117b98['readAsDataURL'](_0x2c6232[_0x1cd3('0xe96')][_0x1cd3('0xe96')]);_0x117b98[_0x1cd3('0xe8f')]=function(_0x3db81b){_0x2c6232[_0x1cd3('0x3a4')]=_0x3db81b[_0x1cd3('0x365')]['result'];};_0x2c6232['type']=_0x1cd3('0x127a');}});}}}());(function(){'use strict';_0x30e14d['$inject']=[_0x1cd3('0x3c5'),'$q','toasty',_0x1cd3('0x127b'),_0x1cd3('0xb02'),_0x1cd3('0x370'),_0x1cd3('0x56'),'crudPermissions'];angular[_0x1cd3('0x0')]('app.chat')[_0x1cd3('0x39b')](_0x1cd3('0x127c'),_0x30e14d);function _0x30e14d(_0x2727dc,_0x3e311a,_0x2ac757,_0x4b13d2,_0x17eba0,_0x4330da,_0x28a689,_0x22f4ec){var _0x415f7f=this;_0x415f7f[_0x1cd3('0x3ca')]=_0x28a689[_0x1cd3('0x5d')]();_0x415f7f[_0x1cd3('0xd34')]=[];_0x415f7f[_0x1cd3('0x486')]='CHAT.EDIT_'+(_0x4b13d2[_0x1cd3('0x125b')]||_0x4b13d2[_0x1cd3('0xd0a')])['toUpperCase']();_0x415f7f[_0x1cd3('0xd2')]=angular['copy'](_0x4b13d2);_0x415f7f['crudPermissions']=_0x22f4ec;_0x415f7f[_0x1cd3('0xd28')]={};if(_0x415f7f['agent'][_0x1cd3('0x127d')]){switch(_0x415f7f['agent'][_0x1cd3('0x125b')]?_0x415f7f[_0x1cd3('0xd2')]['appType'][_0x1cd3('0x433')]():_0x415f7f[_0x1cd3('0xd2')][_0x1cd3('0xd0a')]['toLowerCase']()){case _0x1cd3('0x8f6'):break;case _0x1cd3('0x1233'):var _0x4ed8e2=_0x415f7f[_0x1cd3('0xd2')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x415f7f['agent'][_0x1cd3('0x65c')]=_0x4ed8e2[0x0];_0x415f7f[_0x1cd3('0xd2')][_0x1cd3('0x3f3')]=_0x4ed8e2[0x1];_0x415f7f[_0x1cd3('0xd2')][_0x1cd3('0x1246')]=_0x4ed8e2[_0x1cd3('0x9a2')](0x2,_0x4ed8e2[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x1247'):var _0x4ed8e2=_0x415f7f[_0x1cd3('0xd2')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x415f7f[_0x1cd3('0xd2')][_0x1cd3('0x1248')]=_0x4ed8e2[0x0];_0x415f7f['agent'][_0x1cd3('0x1249')]=_0x4ed8e2[0x1];_0x415f7f[_0x1cd3('0xd2')]['lexregion']=_0x4ed8e2[0x2];_0x415f7f[_0x1cd3('0xd2')][_0x1cd3('0x124f')]=_0x4ed8e2[0x3];_0x415f7f['agent'][_0x1cd3('0x1246')]=_0x4ed8e2[_0x1cd3('0x9a2')](0x4,_0x4ed8e2['length'])['join'](',');break;case _0x1cd3('0x122b'):var _0x4ed8e2=_0x415f7f[_0x1cd3('0xd2')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x415f7f[_0x1cd3('0xd2')][_0x1cd3('0x122c')]=isNaN(_0x4ed8e2[0x0])?_0x4ed8e2[0x0]:parseInt(_0x4ed8e2[0x0],0xa);_0x415f7f[_0x1cd3('0xd2')][_0x1cd3('0x401')]=_0x4ed8e2['slice'](0x1,_0x4ed8e2['length'])['join'](',');break;case _0x1cd3('0x43a'):_0x415f7f[_0x1cd3('0xd2')][_0x1cd3('0x401')]=_0x415f7f[_0x1cd3('0xd2')][_0x1cd3('0x127d')];break;case _0x1cd3('0x127e'):_0x415f7f[_0x1cd3('0xd2')][_0x1cd3('0x98')]=_0x415f7f[_0x1cd3('0xd2')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x0];_0x415f7f[_0x1cd3('0xd2')][_0x1cd3('0x3db')]=_0x415f7f['agent']['appdata']['split']('=')[0x1];break;case'agi':_0x415f7f['agent']['project']=_0x415f7f[_0x1cd3('0xd2')][_0x1cd3('0x127d')];break;default:var _0x4e40e3=_0x415f7f[_0x1cd3('0xd2')][_0x1cd3('0x127d')]['split'](',');_0x415f7f[_0x1cd3('0xd2')][_0x1cd3('0xd2')]=_['isEmpty'](_0x4e40e3[0x0])?_0x4e40e3[0x0]:isNaN(_0x4e40e3[0x0])?_0x4e40e3[0x0]:parseInt(_0x4e40e3[0x0],0xa);_0x415f7f[_0x1cd3('0xd2')][_0x1cd3('0x8fc')]=_[_0x1cd3('0x398')](_0x4e40e3[0x1])?_0x4e40e3[0x1]:isNaN(_0x4e40e3[0x1])?_0x4e40e3[0x1]:parseInt(_0x4e40e3[0x1],0xa);}}else{_0x415f7f[_0x1cd3('0xd2')]['timeout']=0x1e;}if(_0x415f7f[_0x1cd3('0xd2')][_0x1cd3('0x424')]&&_0x415f7f['agent'][_0x1cd3('0x424')]['toLowerCase']()==='outbound'&&_0x415f7f[_0x1cd3('0xd2')][_0x1cd3('0x125b')][_0x1cd3('0x433')]()==='outbounddial'){_0x415f7f['agent'][_0x1cd3('0x6aa')]=_0x415f7f[_0x1cd3('0xd2')][_0x1cd3('0xf09')]?_0x415f7f[_0x1cd3('0xd2')][_0x1cd3('0xf09')][_0x1cd3('0x3ef')]('$')[0x0]:undefined;_0x415f7f[_0x1cd3('0xd2')][_0x1cd3('0x689')]=_0x415f7f['agent'][_0x1cd3('0x127f')]?_0x1cd3('0x1280')+_0x415f7f[_0x1cd3('0xd2')]['callerID']:undefined;}_0x415f7f[_0x1cd3('0x1281')]=_0x36a793;_0x415f7f[_0x1cd3('0x39c')]=_0x3918bb;_0x28a689[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x4330da[_0x1cd3('0x368')]['get']({'fields':'id,name','role':'agent','sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x2d8600){_0x415f7f[_0x1cd3('0x1228')]=_0x2d8600[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x46076e){_0x2ac757[_0x1cd3('0x434')]({'title':_0x46076e['status']?'API:'+_0x46076e[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x46076e[_0x1cd3('0xd35')]:_0x1cd3('0x11bf'),'msg':_0x46076e[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x46076e[_0x1cd3('0x439')]):_0x46076e[_0x1cd3('0x43b')]()});}):_0x4330da[_0x1cd3('0x368')]['get']({'fields':_0x1cd3('0xa6'),'role':_0x1cd3('0xd2'),'sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x41cb22){_0x415f7f[_0x1cd3('0x1228')]=_0x41cb22['rows']||[];})['then'](function(){return _0x4330da[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x415f7f[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0xca})['$promise'];})[_0x1cd3('0x77')](function(_0x114728){var _0x1a900a=_0x114728&&_0x114728['rows']?_0x114728[_0x1cd3('0xf6')][0x0]:null;if(!_0x1a900a){var _0x2083e9=[];var _0x29293d=null;if(_0x415f7f['agent']){_0x29293d=_[_0x1cd3('0x442')](_0x415f7f[_0x1cd3('0x1228')],{'name':_0x415f7f['agent'][_0x1cd3('0xd2')]});}for(var _0x3efb94=0x0;_0x3efb94<_0x415f7f[_0x1cd3('0x1228')][_0x1cd3('0x7a')];_0x3efb94++){if(_0x29293d&&_0x415f7f['agents'][_0x3efb94]['id']===_0x29293d['id']){_0x415f7f[_0x1cd3('0x1228')][_0x3efb94][_0x1cd3('0xf4a')]=![];_0x2083e9[_0x1cd3('0x7b')](_0x415f7f[_0x1cd3('0x1228')][_0x3efb94]);}}_0x415f7f['agents']=_0x2083e9;}else{if(!_0x1a900a['autoAssociation']){return _0x4330da[_0x1cd3('0x392')]['get']({'sectionId':_0x1a900a['id']})[_0x1cd3('0x81')]['then'](function(_0x5a2f31){var _0x5c4b24=_[_0x1cd3('0x3d9')](_0x5a2f31[_0x1cd3('0xf6')],function(_0x2e66e2){return _[_0x1cd3('0x442')](_0x415f7f[_0x1cd3('0x1228')],{'id':_0x2e66e2[_0x1cd3('0xe8e')]});});var _0x779efe=null;if(_0x415f7f['agent']){_0x779efe=_[_0x1cd3('0x442')](_0x415f7f[_0x1cd3('0x1228')],{'name':_0x415f7f[_0x1cd3('0xd2')][_0x1cd3('0xd2')]});}if(_0x779efe&&!_[_0x1cd3('0x38d')](_0x5c4b24,['id',_0x779efe['id']])){var _0x6060f4=_['find'](_0x415f7f[_0x1cd3('0x1228')],{'id':_0x779efe['id']});_0x6060f4[_0x1cd3('0xf4a')]=![];_0x5c4b24[_0x1cd3('0x7b')](_0x6060f4);}_0x415f7f[_0x1cd3('0x1228')]=_0x5c4b24;});}}})['catch'](function(_0x1695e2){_0x2ac757[_0x1cd3('0x434')]({'title':_0x1695e2['status']?'API:'+_0x1695e2['status']+_0x1cd3('0x436')+_0x1695e2[_0x1cd3('0xd35')]:_0x1cd3('0x1282'),'msg':_0x1695e2[_0x1cd3('0x439')]?JSON['stringify'](_0x1695e2[_0x1cd3('0x439')]):_0x1695e2[_0x1cd3('0x43b')]()});});function _0x36a793(){_0x415f7f[_0x1cd3('0xd34')]=[];var _0x4ab879=[];if(_0x415f7f[_0x1cd3('0xd2')][_0x1cd3('0x424')]&&_0x415f7f[_0x1cd3('0xd2')][_0x1cd3('0x424')][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x415f7f['agent'][_0x1cd3('0x125b')]===_0x1cd3('0x1283')){_0x415f7f['agent'][_0x1cd3('0xf09')]=_0x17eba0['cutdigits']?(_0x415f7f[_0x1cd3('0xd2')][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x1284')+_0x17eba0['cutdigits']+'}':(_0x415f7f[_0x1cd3('0xd2')][_0x1cd3('0x6aa')]||'')+'${EXTEN}';if(_0x17eba0[_0x1cd3('0x1285')]!==_0x1cd3('0x6ae')){if(_0x415f7f['agent'][_0x1cd3('0x422')][_0x1cd3('0x45e')](_0x1cd3('0x1286'))<0x0){_0x415f7f['agent'][_0x1cd3('0x422')]+=_0x1cd3('0x1286');}}else{_0x415f7f['agent']['options']=_0x415f7f[_0x1cd3('0xd2')][_0x1cd3('0x422')][_0x1cd3('0x3f1')]('U(xcally-mixmonitor-context)','');}}var _0x4d172f=_['find'](_0x415f7f[_0x1cd3('0x1228')],{'name':_0x415f7f[_0x1cd3('0xd2')][_0x1cd3('0xd2')]});if(_0x4d172f){_0x415f7f['agent'][_0x1cd3('0x1226')]=_0x4d172f['id'];}if(_0x415f7f['agent'][_0x1cd3('0x125b')]&&_0x415f7f[_0x1cd3('0xd2')][_0x1cd3('0x125b')]===_0x1cd3('0x8f6')){}else{switch((_0x415f7f[_0x1cd3('0xd2')][_0x1cd3('0xd0a')]||_0x415f7f[_0x1cd3('0xd2')][_0x1cd3('0x125b')])['toLowerCase']()){case _0x1cd3('0x127e'):_0x415f7f['agent'][_0x1cd3('0x127d')]=_0x415f7f[_0x1cd3('0xd2')]['name']+'='+_0x415f7f[_0x1cd3('0xd2')]['value'];break;case'custom':break;default:_0x4ab879[0x0]=_0x415f7f[_0x1cd3('0xd2')][_0x1cd3('0xd2')];_0x4ab879[0x1]=_0x415f7f[_0x1cd3('0xd2')][_0x1cd3('0x8fc')];_0x415f7f[_0x1cd3('0xd2')][_0x1cd3('0x127d')]=_0x4ab879[_0x1cd3('0x3de')](',');}}_0x3918bb(_0x415f7f[_0x1cd3('0xd2')]);}function _0x3918bb(_0x3de06a){_0x2727dc[_0x1cd3('0x39d')](_0x3de06a);}}}());(function(){'use strict';_0x4e019e[_0x1cd3('0xc')]=['$mdDialog','$q',_0x1cd3('0x461'),'chatWebsiteApp',_0x1cd3('0xb02'),_0x1cd3('0x370'),_0x1cd3('0x56'),'crudPermissions'];angular['module']('app.chat')[_0x1cd3('0x39b')](_0x1cd3('0x1287'),_0x4e019e);function _0x4e019e(_0x4f8a31,_0x5ea25a,_0x2aaa32,_0x4e09be,_0x4b4fc5,_0x371058,_0xa186ee,_0x5ac49d){var _0x2d0f53=this;_0x2d0f53[_0x1cd3('0x3ca')]=_0xa186ee[_0x1cd3('0x5d')]();_0x2d0f53[_0x1cd3('0xd34')]=[];_0x2d0f53[_0x1cd3('0x486')]=_0x1cd3('0x1288')+(_0x4e09be[_0x1cd3('0x125b')]||_0x4e09be[_0x1cd3('0xd0a')])['toUpperCase']();_0x2d0f53[_0x1cd3('0x1247')]=angular[_0x1cd3('0x429')](_0x4e09be);_0x2d0f53[_0x1cd3('0xd27')]=_0x5ac49d;_0x2d0f53[_0x1cd3('0xd28')]={};if(_0x2d0f53[_0x1cd3('0x1247')][_0x1cd3('0x127d')]){switch(_0x2d0f53[_0x1cd3('0x1247')][_0x1cd3('0x125b')]?_0x2d0f53[_0x1cd3('0x1247')][_0x1cd3('0x125b')][_0x1cd3('0x433')]():_0x2d0f53[_0x1cd3('0x1247')][_0x1cd3('0xd0a')]['toLowerCase']()){case _0x1cd3('0x8f6'):break;case _0x1cd3('0x1233'):var _0x2e02ee=_0x2d0f53['amazonlex'][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x2d0f53[_0x1cd3('0x1247')][_0x1cd3('0x65c')]=_0x2e02ee[0x0];_0x2d0f53[_0x1cd3('0x1247')]['language']=_0x2e02ee[0x1];_0x2d0f53[_0x1cd3('0x1247')][_0x1cd3('0x1246')]=_0x2e02ee[_0x1cd3('0x9a2')](0x2,_0x2e02ee[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case'amazonlex':var _0x2e02ee=_0x2d0f53[_0x1cd3('0x1247')]['appdata'][_0x1cd3('0x3ef')](',');_0x2d0f53['amazonlex'][_0x1cd3('0x1248')]=_0x2e02ee[0x0];_0x2d0f53['amazonlex'][_0x1cd3('0x1249')]=_0x2e02ee[0x1];_0x2d0f53[_0x1cd3('0x1247')][_0x1cd3('0x124a')]=_0x2e02ee[0x2];_0x2d0f53[_0x1cd3('0x1247')][_0x1cd3('0x124f')]=_0x2e02ee[0x3];_0x2d0f53[_0x1cd3('0x1247')]['welcomemessage']=_0x2e02ee[_0x1cd3('0x9a2')](0x4,_0x2e02ee[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x122b'):var _0x2e02ee=_0x2d0f53[_0x1cd3('0x1247')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x2d0f53[_0x1cd3('0x1247')][_0x1cd3('0x122c')]=isNaN(_0x2e02ee[0x0])?_0x2e02ee[0x0]:parseInt(_0x2e02ee[0x0],0xa);_0x2d0f53[_0x1cd3('0x1247')][_0x1cd3('0x401')]=_0x2e02ee[_0x1cd3('0x9a2')](0x1,_0x2e02ee[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x43a'):_0x2d0f53[_0x1cd3('0x1247')][_0x1cd3('0x401')]=_0x2d0f53[_0x1cd3('0x1247')][_0x1cd3('0x127d')];break;case _0x1cd3('0x127e'):_0x2d0f53['amazonlex']['name']=_0x2d0f53[_0x1cd3('0x1247')][_0x1cd3('0x127d')]['split']('=')[0x0];_0x2d0f53[_0x1cd3('0x1247')][_0x1cd3('0x3db')]=_0x2d0f53['amazonlex'][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x1];break;case'agi':_0x2d0f53[_0x1cd3('0x1247')][_0x1cd3('0xedd')]=_0x2d0f53[_0x1cd3('0x1247')][_0x1cd3('0x127d')];break;default:var _0x136f9f=_0x2d0f53[_0x1cd3('0x1247')]['appdata']['split'](',');_0x2d0f53[_0x1cd3('0x1247')][_0x1cd3('0x1248')]=_['isEmpty'](_0x136f9f[0x0])?_0x136f9f[0x0]:isNaN(_0x136f9f[0x0])?_0x136f9f[0x0]:parseInt(_0x136f9f[0x0],0xa);_0x2d0f53[_0x1cd3('0x1247')][_0x1cd3('0x1249')]=_[_0x1cd3('0x398')](_0x136f9f[0x1])?_0x136f9f[0x1]:isNaN(_0x136f9f[0x1])?_0x136f9f[0x1]:parseInt(_0x136f9f[0x1],0xa);_0x2d0f53['amazonlex'][_0x1cd3('0x124a')]=_[_0x1cd3('0x398')](_0x136f9f[0x2])?_0x136f9f[0x2]:isNaN(_0x136f9f[0x2])?_0x136f9f[0x2]:parseInt(_0x136f9f[0x2],0xa);_0x2d0f53[_0x1cd3('0x1247')][_0x1cd3('0x124f')]=_[_0x1cd3('0x398')](_0x136f9f[0x3])?_0x136f9f[0x3]:isNaN(_0x136f9f[0x3])?_0x136f9f[0x3]:parseInt(_0x136f9f[0x3],0xa);_0x2d0f53[_0x1cd3('0x1247')]['welcomemessage']=_[_0x1cd3('0x398')](_0x136f9f[0x4])?_0x136f9f[0x4]:isNaN(_0x136f9f[0x4])?_0x136f9f[0x4]:parseInt(_0x136f9f[0x4],0xa);}}else{_0x2d0f53['amazonlex'][_0x1cd3('0x124a')]=_0x1cd3('0x1133');}if(_0x2d0f53[_0x1cd3('0x1247')][_0x1cd3('0x424')]&&_0x2d0f53[_0x1cd3('0x1247')][_0x1cd3('0x424')][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x2d0f53['amazonlex'][_0x1cd3('0x125b')]['toLowerCase']()===_0x1cd3('0x1289')){_0x2d0f53[_0x1cd3('0x1247')][_0x1cd3('0x6aa')]=_0x2d0f53[_0x1cd3('0x1247')][_0x1cd3('0xf09')]?_0x2d0f53[_0x1cd3('0x1247')][_0x1cd3('0xf09')]['split']('$')[0x0]:undefined;_0x2d0f53[_0x1cd3('0x1247')][_0x1cd3('0x689')]=_0x2d0f53[_0x1cd3('0x1247')]['callerID']?_0x1cd3('0x1280')+_0x2d0f53[_0x1cd3('0x1247')][_0x1cd3('0x127f')]:undefined;}_0x2d0f53['saveChatWebsiteApp']=_0x30cda7;_0x2d0f53[_0x1cd3('0x39c')]=_0xd0b0c5;function _0x30cda7(){_0x2d0f53['errors']=[];var _0x34e065=[];if(_0x2d0f53[_0x1cd3('0x1247')][_0x1cd3('0x424')]&&_0x2d0f53[_0x1cd3('0x1247')]['type']['toLowerCase']()===_0x1cd3('0x128')&&_0x2d0f53[_0x1cd3('0x1247')]['appType']===_0x1cd3('0x1283')){_0x2d0f53[_0x1cd3('0x1247')][_0x1cd3('0xf09')]=_0x4b4fc5[_0x1cd3('0x128a')]?(_0x2d0f53[_0x1cd3('0x1247')][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x1284')+_0x4b4fc5[_0x1cd3('0x128a')]+'}':(_0x2d0f53[_0x1cd3('0x1247')][_0x1cd3('0x6aa')]||'')+'${EXTEN}';if(_0x4b4fc5['recordingFormat']!==_0x1cd3('0x6ae')){if(_0x2d0f53[_0x1cd3('0x1247')][_0x1cd3('0x422')][_0x1cd3('0x45e')](_0x1cd3('0x1286'))<0x0){_0x2d0f53[_0x1cd3('0x1247')][_0x1cd3('0x422')]+=_0x1cd3('0x1286');}}else{_0x2d0f53[_0x1cd3('0x1247')][_0x1cd3('0x422')]=_0x2d0f53['amazonlex']['options']['replace'](_0x1cd3('0x1286'),'');}}if(_0x2d0f53[_0x1cd3('0x1247')][_0x1cd3('0x125b')]&&_0x2d0f53['amazonlex'][_0x1cd3('0x125b')]==='custom'){}else{switch((_0x2d0f53[_0x1cd3('0x1247')][_0x1cd3('0xd0a')]||_0x2d0f53[_0x1cd3('0x1247')]['appType'])[_0x1cd3('0x433')]()){case'set':_0x2d0f53[_0x1cd3('0x1247')][_0x1cd3('0x127d')]=_0x2d0f53[_0x1cd3('0x1247')][_0x1cd3('0x98')]+'='+_0x2d0f53[_0x1cd3('0x1247')]['value'];break;case'custom':break;default:_0x34e065[0x0]=_0x2d0f53['amazonlex'][_0x1cd3('0x1248')];_0x34e065[0x1]=_0x2d0f53['amazonlex'][_0x1cd3('0x1249')];_0x34e065[0x2]=_0x2d0f53[_0x1cd3('0x1247')][_0x1cd3('0x124a')];_0x34e065[0x3]=_0x2d0f53[_0x1cd3('0x1247')][_0x1cd3('0x124f')];_0x34e065[0x4]=_0x2d0f53[_0x1cd3('0x1247')][_0x1cd3('0x1246')];_0x2d0f53[_0x1cd3('0x1247')][_0x1cd3('0x127d')]=_0x34e065[_0x1cd3('0x3de')](',');}}_0xd0b0c5(_0x2d0f53[_0x1cd3('0x1247')]);}function _0xd0b0c5(_0x2c45af){_0x4f8a31[_0x1cd3('0x39d')](_0x2c45af);}}}());(function(){'use strict';_0x4c204b[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),'$q',_0x1cd3('0x461'),'chatWebsiteApp',_0x1cd3('0xb02'),_0x1cd3('0x370'),_0x1cd3('0x56'),'crudPermissions'];angular[_0x1cd3('0x0')](_0x1cd3('0x2e'))['controller'](_0x1cd3('0x128b'),_0x4c204b);function _0x4c204b(_0x853926,_0x3ade4d,_0x4f8c41,_0x42e022,_0x23cfd0,_0x2b22e6,_0x3a300c,_0x57eb8f){var _0x10233e=this;_0x10233e[_0x1cd3('0x3ca')]=_0x3a300c[_0x1cd3('0x5d')]();_0x10233e[_0x1cd3('0xd34')]=[];_0x10233e[_0x1cd3('0x486')]=_0x1cd3('0x1288')+(_0x42e022[_0x1cd3('0x125b')]||_0x42e022[_0x1cd3('0xd0a')])[_0x1cd3('0x437')]();_0x10233e[_0x1cd3('0x122b')]=angular[_0x1cd3('0x429')](_0x42e022);_0x10233e[_0x1cd3('0xd27')]=_0x57eb8f;_0x10233e['hasModulePermissions']={};if(_0x10233e['autoreply']['appdata']){switch(_0x10233e[_0x1cd3('0x122b')][_0x1cd3('0x125b')]?_0x10233e['autoreply'][_0x1cd3('0x125b')][_0x1cd3('0x433')]():_0x10233e[_0x1cd3('0x122b')][_0x1cd3('0xd0a')][_0x1cd3('0x433')]()){case _0x1cd3('0x8f6'):break;case _0x1cd3('0x1233'):var _0x2b9774=_0x10233e[_0x1cd3('0x122b')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x10233e[_0x1cd3('0x122b')]['key']=_0x2b9774[0x0];_0x10233e[_0x1cd3('0x122b')]['language']=_0x2b9774[0x1];_0x10233e[_0x1cd3('0x122b')][_0x1cd3('0x1246')]=_0x2b9774[_0x1cd3('0x9a2')](0x2,_0x2b9774[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x1247'):var _0x2b9774=_0x10233e[_0x1cd3('0x122b')]['appdata'][_0x1cd3('0x3ef')](',');_0x10233e[_0x1cd3('0x122b')][_0x1cd3('0x1248')]=_0x2b9774[0x0];_0x10233e[_0x1cd3('0x122b')][_0x1cd3('0x1249')]=_0x2b9774[0x1];_0x10233e[_0x1cd3('0x122b')][_0x1cd3('0x124a')]=_0x2b9774[0x2];_0x10233e[_0x1cd3('0x122b')][_0x1cd3('0x124f')]=_0x2b9774[0x3];_0x10233e[_0x1cd3('0x122b')]['welcomemessage']=_0x2b9774[_0x1cd3('0x9a2')](0x4,_0x2b9774['length'])['join'](',');break;case _0x1cd3('0x122b'):var _0x2b9774=_0x10233e['autoreply'][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x10233e['autoreply'][_0x1cd3('0x122c')]=isNaN(_0x2b9774[0x0])?_0x2b9774[0x0]:parseInt(_0x2b9774[0x0],0xa);_0x10233e[_0x1cd3('0x122b')]['text']=_0x2b9774['slice'](0x1,_0x2b9774[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x43a'):_0x10233e['autoreply']['text']=_0x10233e[_0x1cd3('0x122b')][_0x1cd3('0x127d')];break;case _0x1cd3('0x127e'):_0x10233e['autoreply'][_0x1cd3('0x98')]=_0x10233e[_0x1cd3('0x122b')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x0];_0x10233e[_0x1cd3('0x122b')][_0x1cd3('0x3db')]=_0x10233e['autoreply'][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x1];break;case _0x1cd3('0x128c'):_0x10233e[_0x1cd3('0x122b')][_0x1cd3('0xedd')]=_0x10233e[_0x1cd3('0x122b')]['appdata'];break;default:var _0x5c0d57=_0x10233e['autoreply']['appdata'][_0x1cd3('0x3ef')](',');_0x10233e[_0x1cd3('0x122b')][_0x1cd3('0x122c')]=_['isEmpty'](_0x5c0d57[0x0])?_0x5c0d57[0x0]:isNaN(_0x5c0d57[0x0])?_0x5c0d57[0x0]:parseInt(_0x5c0d57[0x0],0xa);_0x10233e[_0x1cd3('0x122b')][_0x1cd3('0x401')]=_[_0x1cd3('0x398')](_0x5c0d57[0x1])?_0x5c0d57[0x1]:isNaN(_0x5c0d57[0x1])?_0x5c0d57[0x1]:parseInt(_0x5c0d57[0x1],0xa);}}else{_0x10233e['autoreply'][_0x1cd3('0x122c')]=0x1;}if(_0x10233e[_0x1cd3('0x122b')]['type']&&_0x10233e[_0x1cd3('0x122b')]['type'][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x10233e[_0x1cd3('0x122b')][_0x1cd3('0x125b')]['toLowerCase']()===_0x1cd3('0x1289')){_0x10233e[_0x1cd3('0x122b')][_0x1cd3('0x6aa')]=_0x10233e['autoreply'][_0x1cd3('0xf09')]?_0x10233e['autoreply'][_0x1cd3('0xf09')][_0x1cd3('0x3ef')]('$')[0x0]:undefined;_0x10233e[_0x1cd3('0x122b')][_0x1cd3('0x689')]=_0x10233e[_0x1cd3('0x122b')][_0x1cd3('0x127f')]?_0x1cd3('0x1280')+_0x10233e['autoreply']['callerID']:undefined;}_0x10233e[_0x1cd3('0x1281')]=_0x3afad0;_0x10233e['closeDialog']=_0x4155ac;function _0x3afad0(){_0x10233e[_0x1cd3('0xd34')]=[];var _0x3d6ce7=[];if(_0x10233e[_0x1cd3('0x122b')][_0x1cd3('0x424')]&&_0x10233e[_0x1cd3('0x122b')][_0x1cd3('0x424')][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x10233e['autoreply']['appType']==='outboundDial'){_0x10233e[_0x1cd3('0x122b')][_0x1cd3('0xf09')]=_0x23cfd0['cutdigits']?(_0x10233e['autoreply'][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x1284')+_0x23cfd0[_0x1cd3('0x128a')]+'}':(_0x10233e[_0x1cd3('0x122b')]['prefix']||'')+_0x1cd3('0x128d');if(_0x23cfd0['recordingFormat']!==_0x1cd3('0x6ae')){if(_0x10233e[_0x1cd3('0x122b')][_0x1cd3('0x422')][_0x1cd3('0x45e')](_0x1cd3('0x1286'))<0x0){_0x10233e[_0x1cd3('0x122b')]['options']+=_0x1cd3('0x1286');}}else{_0x10233e[_0x1cd3('0x122b')][_0x1cd3('0x422')]=_0x10233e[_0x1cd3('0x122b')][_0x1cd3('0x422')][_0x1cd3('0x3f1')]('U(xcally-mixmonitor-context)','');}}if(_0x10233e[_0x1cd3('0x122b')][_0x1cd3('0x125b')]&&_0x10233e[_0x1cd3('0x122b')][_0x1cd3('0x125b')]===_0x1cd3('0x8f6')){}else{switch((_0x10233e['autoreply']['app']||_0x10233e[_0x1cd3('0x122b')]['appType'])[_0x1cd3('0x433')]()){case _0x1cd3('0x127e'):_0x10233e[_0x1cd3('0x122b')]['appdata']=_0x10233e['autoreply'][_0x1cd3('0x98')]+'='+_0x10233e[_0x1cd3('0x122b')][_0x1cd3('0x3db')];break;case _0x1cd3('0x8f6'):break;default:_0x3d6ce7[0x0]=_0x10233e[_0x1cd3('0x122b')][_0x1cd3('0x122c')];_0x3d6ce7[0x1]=_0x10233e[_0x1cd3('0x122b')]['text'];_0x10233e[_0x1cd3('0x122b')]['appdata']=_0x3d6ce7[_0x1cd3('0x3de')](',');}}_0x4155ac(_0x10233e[_0x1cd3('0x122b')]);}function _0x4155ac(_0x4ee499){_0x853926[_0x1cd3('0x39d')](_0x4ee499);}}}());(function(){'use strict';_0x58b89e[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),'$q',_0x1cd3('0x461'),_0x1cd3('0x127b'),_0x1cd3('0xb02'),_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x2e'))[_0x1cd3('0x39b')]('EditChatWebsiteAppcloseDialogController',_0x58b89e);function _0x58b89e(_0x21efdd,_0x467b63,_0x1b9060,_0x2b68bd,_0x4f4584,_0x471f45,_0x55cd8b,_0x6bfb28){var _0x291b00=this;_0x291b00[_0x1cd3('0x3ca')]=_0x55cd8b['getCurrentUser']();_0x291b00[_0x1cd3('0xd34')]=[];_0x291b00['title']=_0x1cd3('0x1288')+(_0x2b68bd['appType']||_0x2b68bd[_0x1cd3('0xd0a')])[_0x1cd3('0x437')]();_0x291b00['close']=angular[_0x1cd3('0x429')](_0x2b68bd);_0x291b00['crudPermissions']=_0x6bfb28;_0x291b00[_0x1cd3('0xd28')]={};if(_0x291b00[_0x1cd3('0x3cf')][_0x1cd3('0x127d')]){switch(_0x291b00[_0x1cd3('0x3cf')][_0x1cd3('0x125b')]?_0x291b00[_0x1cd3('0x3cf')][_0x1cd3('0x125b')][_0x1cd3('0x433')]():_0x291b00[_0x1cd3('0x3cf')][_0x1cd3('0xd0a')][_0x1cd3('0x433')]()){case _0x1cd3('0x8f6'):break;case _0x1cd3('0x1233'):var _0x4c9547=_0x291b00[_0x1cd3('0x3cf')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x291b00[_0x1cd3('0x3cf')][_0x1cd3('0x65c')]=_0x4c9547[0x0];_0x291b00[_0x1cd3('0x3cf')]['language']=_0x4c9547[0x1];_0x291b00['close'][_0x1cd3('0x1246')]=_0x4c9547[_0x1cd3('0x9a2')](0x2,_0x4c9547[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case'amazonlex':var _0x4c9547=_0x291b00['close'][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x291b00[_0x1cd3('0x3cf')][_0x1cd3('0x1248')]=_0x4c9547[0x0];_0x291b00[_0x1cd3('0x3cf')][_0x1cd3('0x1249')]=_0x4c9547[0x1];_0x291b00['close']['lexregion']=_0x4c9547[0x2];_0x291b00[_0x1cd3('0x3cf')]['botname']=_0x4c9547[0x3];_0x291b00[_0x1cd3('0x3cf')][_0x1cd3('0x1246')]=_0x4c9547['slice'](0x4,_0x4c9547[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x122b'):var _0x4c9547=_0x291b00[_0x1cd3('0x3cf')]['appdata']['split'](',');_0x291b00[_0x1cd3('0x3cf')]['times']=isNaN(_0x4c9547[0x0])?_0x4c9547[0x0]:parseInt(_0x4c9547[0x0],0xa);_0x291b00['close']['text']=_0x4c9547[_0x1cd3('0x9a2')](0x1,_0x4c9547['length'])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x43a'):_0x291b00[_0x1cd3('0x3cf')][_0x1cd3('0x401')]=_0x291b00[_0x1cd3('0x3cf')]['appdata'];break;case _0x1cd3('0x127e'):_0x291b00[_0x1cd3('0x3cf')][_0x1cd3('0x98')]=_0x291b00[_0x1cd3('0x3cf')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x0];_0x291b00[_0x1cd3('0x3cf')][_0x1cd3('0x3db')]=_0x291b00[_0x1cd3('0x3cf')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x1];break;case _0x1cd3('0x128c'):_0x291b00[_0x1cd3('0x3cf')][_0x1cd3('0xedd')]=_0x291b00['close'][_0x1cd3('0x127d')];break;default:var _0xbc0d1a=_0x291b00[_0x1cd3('0x3cf')][_0x1cd3('0x127d')]['split'](',');_0x291b00[_0x1cd3('0x3cf')][_0x1cd3('0xb63')]=_[_0x1cd3('0x398')](_0xbc0d1a[0x0])?_0xbc0d1a[0x0]:isNaN(_0xbc0d1a[0x0])?_0xbc0d1a[0x0]:parseInt(_0xbc0d1a[0x0],0xa);}}else{}if(_0x291b00[_0x1cd3('0x3cf')][_0x1cd3('0x424')]&&_0x291b00[_0x1cd3('0x3cf')][_0x1cd3('0x424')][_0x1cd3('0x433')]()==='outbound'&&_0x291b00[_0x1cd3('0x3cf')][_0x1cd3('0x125b')][_0x1cd3('0x433')]()===_0x1cd3('0x1289')){_0x291b00[_0x1cd3('0x3cf')]['prefix']=_0x291b00['close'][_0x1cd3('0xf09')]?_0x291b00['close']['phone'][_0x1cd3('0x3ef')]('$')[0x0]:undefined;_0x291b00[_0x1cd3('0x3cf')][_0x1cd3('0x689')]=_0x291b00[_0x1cd3('0x3cf')]['callerID']?'CALLERID(all)='+_0x291b00['close'][_0x1cd3('0x127f')]:undefined;}_0x291b00['saveChatWebsiteApp']=_0x53cc1b;_0x291b00[_0x1cd3('0x39c')]=_0x4be6e7;function _0x53cc1b(){_0x291b00[_0x1cd3('0xd34')]=[];var _0xe10dd7=[];if(_0x291b00['close'][_0x1cd3('0x424')]&&_0x291b00[_0x1cd3('0x3cf')][_0x1cd3('0x424')][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x291b00[_0x1cd3('0x3cf')][_0x1cd3('0x125b')]==='outboundDial'){_0x291b00['close'][_0x1cd3('0xf09')]=_0x4f4584[_0x1cd3('0x128a')]?(_0x291b00[_0x1cd3('0x3cf')][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x1284')+_0x4f4584['cutdigits']+'}':(_0x291b00['close'][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x128d');if(_0x4f4584[_0x1cd3('0x1285')]!==_0x1cd3('0x6ae')){if(_0x291b00[_0x1cd3('0x3cf')][_0x1cd3('0x422')][_0x1cd3('0x45e')]('U(xcally-mixmonitor-context)')<0x0){_0x291b00['close'][_0x1cd3('0x422')]+=_0x1cd3('0x1286');}}else{_0x291b00[_0x1cd3('0x3cf')][_0x1cd3('0x422')]=_0x291b00[_0x1cd3('0x3cf')][_0x1cd3('0x422')]['replace']('U(xcally-mixmonitor-context)','');}}if(_0x291b00[_0x1cd3('0x3cf')][_0x1cd3('0x125b')]&&_0x291b00['close'][_0x1cd3('0x125b')]===_0x1cd3('0x8f6')){}else{switch((_0x291b00[_0x1cd3('0x3cf')]['app']||_0x291b00[_0x1cd3('0x3cf')][_0x1cd3('0x125b')])[_0x1cd3('0x433')]()){case'set':_0x291b00['close'][_0x1cd3('0x127d')]=_0x291b00['close']['name']+'='+_0x291b00[_0x1cd3('0x3cf')][_0x1cd3('0x3db')];break;case _0x1cd3('0x8f6'):break;default:_0xe10dd7[0x0]=_0x291b00['close'][_0x1cd3('0xb63')];_0x291b00[_0x1cd3('0x3cf')]['appdata']=_0xe10dd7['join'](',');}}_0x4be6e7(_0x291b00[_0x1cd3('0x3cf')]);}function _0x4be6e7(_0x51a49d){_0x21efdd[_0x1cd3('0x39d')](_0x51a49d);}}}());(function(){'use strict';_0x5451a1[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),'$q',_0x1cd3('0x461'),'chatWebsiteApp',_0x1cd3('0xb02'),'api','Auth',_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x2e'))[_0x1cd3('0x39b')](_0x1cd3('0x128e'),_0x5451a1);function _0x5451a1(_0x246dce,_0x46c8cc,_0x54c728,_0xd31899,_0x209b9a,_0x444811,_0x5ac4d8,_0x1b47fb){var _0x5107ab=this;_0x5107ab[_0x1cd3('0x3ca')]=_0x5ac4d8['getCurrentUser']();_0x5107ab[_0x1cd3('0xd34')]=[];_0x5107ab['title']='CHAT.EDIT_'+(_0xd31899[_0x1cd3('0x125b')]||_0xd31899[_0x1cd3('0xd0a')])[_0x1cd3('0x437')]();_0x5107ab[_0x1cd3('0x1233')]=angular[_0x1cd3('0x429')](_0xd31899);_0x5107ab[_0x1cd3('0xd27')]=_0x1b47fb;_0x5107ab[_0x1cd3('0xd28')]={};if(_0x5107ab[_0x1cd3('0x1233')]['appdata']){switch(_0x5107ab[_0x1cd3('0x1233')]['appType']?_0x5107ab['dialogflow']['appType']['toLowerCase']():_0x5107ab[_0x1cd3('0x1233')][_0x1cd3('0xd0a')][_0x1cd3('0x433')]()){case'custom':break;case _0x1cd3('0x1233'):var _0x419750=_0x5107ab[_0x1cd3('0x1233')]['appdata'][_0x1cd3('0x3ef')](',');_0x5107ab[_0x1cd3('0x1233')][_0x1cd3('0x65c')]=_0x419750[0x0];_0x5107ab[_0x1cd3('0x1233')][_0x1cd3('0x3f3')]=_0x419750[0x1];_0x5107ab['dialogflow'][_0x1cd3('0x1246')]=_0x419750[_0x1cd3('0x9a2')](0x2,_0x419750[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case'amazonlex':var _0x419750=_0x5107ab['dialogflow'][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x5107ab[_0x1cd3('0x1233')][_0x1cd3('0x1248')]=_0x419750[0x0];_0x5107ab[_0x1cd3('0x1233')][_0x1cd3('0x1249')]=_0x419750[0x1];_0x5107ab['dialogflow'][_0x1cd3('0x124a')]=_0x419750[0x2];_0x5107ab[_0x1cd3('0x1233')][_0x1cd3('0x124f')]=_0x419750[0x3];_0x5107ab[_0x1cd3('0x1233')][_0x1cd3('0x1246')]=_0x419750[_0x1cd3('0x9a2')](0x4,_0x419750['length'])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x122b'):var _0x419750=_0x5107ab[_0x1cd3('0x1233')][_0x1cd3('0x127d')]['split'](',');_0x5107ab[_0x1cd3('0x1233')][_0x1cd3('0x122c')]=isNaN(_0x419750[0x0])?_0x419750[0x0]:parseInt(_0x419750[0x0],0xa);_0x5107ab[_0x1cd3('0x1233')][_0x1cd3('0x401')]=_0x419750['slice'](0x1,_0x419750[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x43a'):_0x5107ab[_0x1cd3('0x1233')][_0x1cd3('0x401')]=_0x5107ab[_0x1cd3('0x1233')]['appdata'];break;case _0x1cd3('0x127e'):_0x5107ab['dialogflow'][_0x1cd3('0x98')]=_0x5107ab[_0x1cd3('0x1233')][_0x1cd3('0x127d')]['split']('=')[0x0];_0x5107ab[_0x1cd3('0x1233')]['value']=_0x5107ab[_0x1cd3('0x1233')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x1];break;case _0x1cd3('0x128c'):_0x5107ab[_0x1cd3('0x1233')][_0x1cd3('0xedd')]=_0x5107ab[_0x1cd3('0x1233')][_0x1cd3('0x127d')];break;default:var _0x41ad8b=_0x5107ab[_0x1cd3('0x1233')]['appdata'][_0x1cd3('0x3ef')](',');_0x5107ab[_0x1cd3('0x1233')][_0x1cd3('0x65c')]=_['isEmpty'](_0x41ad8b[0x0])?_0x41ad8b[0x0]:isNaN(_0x41ad8b[0x0])?_0x41ad8b[0x0]:parseInt(_0x41ad8b[0x0],0xa);_0x5107ab[_0x1cd3('0x1233')][_0x1cd3('0x3f3')]=_[_0x1cd3('0x398')](_0x41ad8b[0x1])?_0x41ad8b[0x1]:isNaN(_0x41ad8b[0x1])?_0x41ad8b[0x1]:parseInt(_0x41ad8b[0x1],0xa);_0x5107ab[_0x1cd3('0x1233')]['welcomemessage']=_[_0x1cd3('0x398')](_0x41ad8b[0x2])?_0x41ad8b[0x2]:isNaN(_0x41ad8b[0x2])?_0x41ad8b[0x2]:parseInt(_0x41ad8b[0x2],0xa);}}else{_0x5107ab[_0x1cd3('0x1233')][_0x1cd3('0x3f3')]='en';}if(_0x5107ab[_0x1cd3('0x1233')][_0x1cd3('0x424')]&&_0x5107ab['dialogflow'][_0x1cd3('0x424')][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x5107ab[_0x1cd3('0x1233')][_0x1cd3('0x125b')][_0x1cd3('0x433')]()==='outbounddial'){_0x5107ab[_0x1cd3('0x1233')][_0x1cd3('0x6aa')]=_0x5107ab[_0x1cd3('0x1233')][_0x1cd3('0xf09')]?_0x5107ab[_0x1cd3('0x1233')][_0x1cd3('0xf09')][_0x1cd3('0x3ef')]('$')[0x0]:undefined;_0x5107ab[_0x1cd3('0x1233')][_0x1cd3('0x689')]=_0x5107ab[_0x1cd3('0x1233')][_0x1cd3('0x127f')]?'CALLERID(all)='+_0x5107ab['dialogflow'][_0x1cd3('0x127f')]:undefined;}_0x5107ab[_0x1cd3('0x1281')]=_0x1b7b6c;_0x5107ab[_0x1cd3('0x39c')]=_0x4ff888;function _0x1b7b6c(){_0x5107ab[_0x1cd3('0xd34')]=[];var _0x17c134=[];if(_0x5107ab['dialogflow'][_0x1cd3('0x424')]&&_0x5107ab[_0x1cd3('0x1233')]['type'][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x5107ab['dialogflow']['appType']==='outboundDial'){_0x5107ab['dialogflow'][_0x1cd3('0xf09')]=_0x209b9a['cutdigits']?(_0x5107ab[_0x1cd3('0x1233')][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x1284')+_0x209b9a['cutdigits']+'}':(_0x5107ab['dialogflow']['prefix']||'')+_0x1cd3('0x128d');if(_0x209b9a[_0x1cd3('0x1285')]!==_0x1cd3('0x6ae')){if(_0x5107ab[_0x1cd3('0x1233')]['options'][_0x1cd3('0x45e')]('U(xcally-mixmonitor-context)')<0x0){_0x5107ab[_0x1cd3('0x1233')][_0x1cd3('0x422')]+='U(xcally-mixmonitor-context)';}}else{_0x5107ab['dialogflow'][_0x1cd3('0x422')]=_0x5107ab['dialogflow']['options'][_0x1cd3('0x3f1')](_0x1cd3('0x1286'),'');}}if(_0x5107ab[_0x1cd3('0x1233')][_0x1cd3('0x125b')]&&_0x5107ab[_0x1cd3('0x1233')][_0x1cd3('0x125b')]===_0x1cd3('0x8f6')){}else{switch((_0x5107ab[_0x1cd3('0x1233')][_0x1cd3('0xd0a')]||_0x5107ab[_0x1cd3('0x1233')][_0x1cd3('0x125b')])[_0x1cd3('0x433')]()){case _0x1cd3('0x127e'):_0x5107ab[_0x1cd3('0x1233')][_0x1cd3('0x127d')]=_0x5107ab['dialogflow'][_0x1cd3('0x98')]+'='+_0x5107ab[_0x1cd3('0x1233')][_0x1cd3('0x3db')];break;case _0x1cd3('0x8f6'):break;default:_0x17c134[0x0]=_0x5107ab[_0x1cd3('0x1233')][_0x1cd3('0x65c')];_0x17c134[0x1]=_0x5107ab[_0x1cd3('0x1233')][_0x1cd3('0x3f3')];_0x17c134[0x2]=_0x5107ab[_0x1cd3('0x1233')][_0x1cd3('0x1246')];_0x5107ab['dialogflow'][_0x1cd3('0x127d')]=_0x17c134[_0x1cd3('0x3de')](',');}}_0x4ff888(_0x5107ab[_0x1cd3('0x1233')]);}function _0x4ff888(_0x1e81a2){_0x246dce['hide'](_0x1e81a2);}}}());(function(){'use strict';_0x298538[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),'$q',_0x1cd3('0x461'),'chatWebsiteApp','chatWebsite',_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0xd27')];angular['module']('app.chat')['controller'](_0x1cd3('0x128f'),_0x298538);function _0x298538(_0x4c1d5c,_0x3fb7a2,_0x149581,_0x1d44dc,_0x10fcb0,_0x3e909a,_0x46f90b,_0x4e6376){var _0x4b0581=this;_0x4b0581[_0x1cd3('0x3ca')]=_0x46f90b[_0x1cd3('0x5d')]();_0x4b0581[_0x1cd3('0xd34')]=[];_0x4b0581[_0x1cd3('0x486')]=_0x1cd3('0x1288')+(_0x1d44dc[_0x1cd3('0x125b')]||_0x1d44dc[_0x1cd3('0xd0a')])[_0x1cd3('0x437')]();_0x4b0581[_0x1cd3('0x121c')]=angular[_0x1cd3('0x429')](_0x1d44dc);_0x4b0581[_0x1cd3('0xd27')]=_0x4e6376;_0x4b0581[_0x1cd3('0xd28')]={};if(_0x4b0581[_0x1cd3('0x121c')]['appdata']){switch(_0x4b0581[_0x1cd3('0x121c')][_0x1cd3('0x125b')]?_0x4b0581[_0x1cd3('0x121c')]['appType'][_0x1cd3('0x433')]():_0x4b0581[_0x1cd3('0x121c')][_0x1cd3('0xd0a')]['toLowerCase']()){case _0x1cd3('0x8f6'):break;case _0x1cd3('0x1233'):var _0x44f627=_0x4b0581[_0x1cd3('0x121c')]['appdata']['split'](',');_0x4b0581[_0x1cd3('0x121c')][_0x1cd3('0x65c')]=_0x44f627[0x0];_0x4b0581[_0x1cd3('0x121c')][_0x1cd3('0x3f3')]=_0x44f627[0x1];_0x4b0581[_0x1cd3('0x121c')][_0x1cd3('0x1246')]=_0x44f627[_0x1cd3('0x9a2')](0x2,_0x44f627[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x1247'):var _0x44f627=_0x4b0581[_0x1cd3('0x121c')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x4b0581[_0x1cd3('0x121c')][_0x1cd3('0x1248')]=_0x44f627[0x0];_0x4b0581[_0x1cd3('0x121c')][_0x1cd3('0x1249')]=_0x44f627[0x1];_0x4b0581['gotoif'][_0x1cd3('0x124a')]=_0x44f627[0x2];_0x4b0581[_0x1cd3('0x121c')][_0x1cd3('0x124f')]=_0x44f627[0x3];_0x4b0581[_0x1cd3('0x121c')][_0x1cd3('0x1246')]=_0x44f627[_0x1cd3('0x9a2')](0x4,_0x44f627[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x122b'):var _0x44f627=_0x4b0581[_0x1cd3('0x121c')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x4b0581['gotoif'][_0x1cd3('0x122c')]=isNaN(_0x44f627[0x0])?_0x44f627[0x0]:parseInt(_0x44f627[0x0],0xa);_0x4b0581['gotoif'][_0x1cd3('0x401')]=_0x44f627[_0x1cd3('0x9a2')](0x1,_0x44f627['length'])['join'](',');break;case _0x1cd3('0x43a'):_0x4b0581[_0x1cd3('0x121c')][_0x1cd3('0x401')]=_0x4b0581['gotoif']['appdata'];break;case _0x1cd3('0x127e'):_0x4b0581['gotoif'][_0x1cd3('0x98')]=_0x4b0581['gotoif'][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x0];_0x4b0581[_0x1cd3('0x121c')][_0x1cd3('0x3db')]=_0x4b0581['gotoif'][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x1];break;case _0x1cd3('0x128c'):_0x4b0581['gotoif'][_0x1cd3('0xedd')]=_0x4b0581[_0x1cd3('0x121c')][_0x1cd3('0x127d')];break;default:var _0x54ba9f=_0x4b0581[_0x1cd3('0x121c')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x4b0581[_0x1cd3('0x121c')][_0x1cd3('0xb65')]=_[_0x1cd3('0x398')](_0x54ba9f[0x0])?_0x54ba9f[0x0]:isNaN(_0x54ba9f[0x0])?_0x54ba9f[0x0]:parseInt(_0x54ba9f[0x0],0xa);_0x4b0581['gotoif'][_0x1cd3('0x121e')]=_[_0x1cd3('0x398')](_0x54ba9f[0x1])?_0x54ba9f[0x1]:isNaN(_0x54ba9f[0x1])?_0x54ba9f[0x1]:parseInt(_0x54ba9f[0x1],0xa);_0x4b0581[_0x1cd3('0x121c')][_0x1cd3('0x121f')]=_[_0x1cd3('0x398')](_0x54ba9f[0x2])?_0x54ba9f[0x2]:isNaN(_0x54ba9f[0x2])?_0x54ba9f[0x2]:parseInt(_0x54ba9f[0x2],0xa);}}else{}if(_0x4b0581[_0x1cd3('0x121c')][_0x1cd3('0x424')]&&_0x4b0581['gotoif']['type'][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x4b0581[_0x1cd3('0x121c')][_0x1cd3('0x125b')][_0x1cd3('0x433')]()===_0x1cd3('0x1289')){_0x4b0581['gotoif'][_0x1cd3('0x6aa')]=_0x4b0581[_0x1cd3('0x121c')][_0x1cd3('0xf09')]?_0x4b0581[_0x1cd3('0x121c')]['phone'][_0x1cd3('0x3ef')]('$')[0x0]:undefined;_0x4b0581['gotoif'][_0x1cd3('0x689')]=_0x4b0581['gotoif']['callerID']?'CALLERID(all)='+_0x4b0581[_0x1cd3('0x121c')]['callerID']:undefined;}_0x4b0581['saveChatWebsiteApp']=_0x57c1ba;_0x4b0581['closeDialog']=_0x26c29d;function _0x57c1ba(){_0x4b0581[_0x1cd3('0xd34')]=[];var _0x31be61=[];if(_0x4b0581[_0x1cd3('0x121c')][_0x1cd3('0x424')]&&_0x4b0581['gotoif'][_0x1cd3('0x424')][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x4b0581[_0x1cd3('0x121c')][_0x1cd3('0x125b')]===_0x1cd3('0x1283')){_0x4b0581[_0x1cd3('0x121c')][_0x1cd3('0xf09')]=_0x10fcb0[_0x1cd3('0x128a')]?(_0x4b0581[_0x1cd3('0x121c')][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x1284')+_0x10fcb0[_0x1cd3('0x128a')]+'}':(_0x4b0581['gotoif']['prefix']||'')+'${EXTEN}';if(_0x10fcb0[_0x1cd3('0x1285')]!==_0x1cd3('0x6ae')){if(_0x4b0581[_0x1cd3('0x121c')]['options'][_0x1cd3('0x45e')](_0x1cd3('0x1286'))<0x0){_0x4b0581['gotoif'][_0x1cd3('0x422')]+='U(xcally-mixmonitor-context)';}}else{_0x4b0581[_0x1cd3('0x121c')][_0x1cd3('0x422')]=_0x4b0581[_0x1cd3('0x121c')][_0x1cd3('0x422')][_0x1cd3('0x3f1')](_0x1cd3('0x1286'),'');}}if(_0x4b0581[_0x1cd3('0x121c')][_0x1cd3('0x125b')]&&_0x4b0581['gotoif'][_0x1cd3('0x125b')]===_0x1cd3('0x8f6')){}else{switch((_0x4b0581[_0x1cd3('0x121c')]['app']||_0x4b0581[_0x1cd3('0x121c')][_0x1cd3('0x125b')])[_0x1cd3('0x433')]()){case _0x1cd3('0x127e'):_0x4b0581[_0x1cd3('0x121c')][_0x1cd3('0x127d')]=_0x4b0581['gotoif']['name']+'='+_0x4b0581[_0x1cd3('0x121c')]['value'];break;case'custom':break;default:_0x31be61[0x0]=_0x4b0581[_0x1cd3('0x121c')][_0x1cd3('0xb65')];_0x31be61[0x1]=_0x4b0581[_0x1cd3('0x121c')]['truepriority'];_0x31be61[0x2]=_0x4b0581[_0x1cd3('0x121c')]['falsepriority'];_0x4b0581[_0x1cd3('0x121c')][_0x1cd3('0x127d')]=_0x31be61[_0x1cd3('0x3de')](',');}}_0x26c29d(_0x4b0581[_0x1cd3('0x121c')]);}function _0x26c29d(_0x3f893c){_0x4c1d5c[_0x1cd3('0x39d')](_0x3f893c);}}}());(function(){'use strict';_0x46ef77[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),'$q',_0x1cd3('0x461'),_0x1cd3('0x127b'),_0x1cd3('0xb02'),'api',_0x1cd3('0x56'),_0x1cd3('0xd27')];angular['module'](_0x1cd3('0x2e'))['controller'](_0x1cd3('0x1290'),_0x46ef77);function _0x46ef77(_0x2d7ed1,_0x3d5327,_0x46302f,_0x292e10,_0xa8a901,_0x1aac68,_0x5b7239,_0x356112){var _0x4e3dab=this;_0x4e3dab['currentUser']=_0x5b7239['getCurrentUser']();_0x4e3dab[_0x1cd3('0xd34')]=[];_0x4e3dab[_0x1cd3('0x486')]=_0x1cd3('0x1288')+(_0x292e10[_0x1cd3('0x125b')]||_0x292e10['app'])[_0x1cd3('0x437')]();_0x4e3dab[_0x1cd3('0x121a')]=angular[_0x1cd3('0x429')](_0x292e10);_0x4e3dab['crudPermissions']=_0x356112;_0x4e3dab[_0x1cd3('0xd28')]={};if(_0x4e3dab[_0x1cd3('0x121a')][_0x1cd3('0x127d')]){switch(_0x4e3dab['gotop']['appType']?_0x4e3dab[_0x1cd3('0x121a')][_0x1cd3('0x125b')]['toLowerCase']():_0x4e3dab[_0x1cd3('0x121a')][_0x1cd3('0xd0a')][_0x1cd3('0x433')]()){case _0x1cd3('0x8f6'):break;case _0x1cd3('0x1233'):var _0x32ce1b=_0x4e3dab[_0x1cd3('0x121a')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x4e3dab['gotop']['key']=_0x32ce1b[0x0];_0x4e3dab[_0x1cd3('0x121a')][_0x1cd3('0x3f3')]=_0x32ce1b[0x1];_0x4e3dab[_0x1cd3('0x121a')][_0x1cd3('0x1246')]=_0x32ce1b[_0x1cd3('0x9a2')](0x2,_0x32ce1b[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case'amazonlex':var _0x32ce1b=_0x4e3dab['gotop'][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x4e3dab[_0x1cd3('0x121a')][_0x1cd3('0x1248')]=_0x32ce1b[0x0];_0x4e3dab[_0x1cd3('0x121a')][_0x1cd3('0x1249')]=_0x32ce1b[0x1];_0x4e3dab[_0x1cd3('0x121a')][_0x1cd3('0x124a')]=_0x32ce1b[0x2];_0x4e3dab[_0x1cd3('0x121a')][_0x1cd3('0x124f')]=_0x32ce1b[0x3];_0x4e3dab[_0x1cd3('0x121a')][_0x1cd3('0x1246')]=_0x32ce1b['slice'](0x4,_0x32ce1b[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case'autoreply':var _0x32ce1b=_0x4e3dab[_0x1cd3('0x121a')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x4e3dab[_0x1cd3('0x121a')][_0x1cd3('0x122c')]=isNaN(_0x32ce1b[0x0])?_0x32ce1b[0x0]:parseInt(_0x32ce1b[0x0],0xa);_0x4e3dab[_0x1cd3('0x121a')][_0x1cd3('0x401')]=_0x32ce1b['slice'](0x1,_0x32ce1b[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x43a'):_0x4e3dab[_0x1cd3('0x121a')][_0x1cd3('0x401')]=_0x4e3dab[_0x1cd3('0x121a')][_0x1cd3('0x127d')];break;case _0x1cd3('0x127e'):_0x4e3dab[_0x1cd3('0x121a')][_0x1cd3('0x98')]=_0x4e3dab[_0x1cd3('0x121a')]['appdata'][_0x1cd3('0x3ef')]('=')[0x0];_0x4e3dab['gotop'][_0x1cd3('0x3db')]=_0x4e3dab['gotop']['appdata'][_0x1cd3('0x3ef')]('=')[0x1];break;case'agi':_0x4e3dab[_0x1cd3('0x121a')][_0x1cd3('0xedd')]=_0x4e3dab[_0x1cd3('0x121a')]['appdata'];break;default:var _0x2ea061=_0x4e3dab[_0x1cd3('0x121a')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x4e3dab[_0x1cd3('0x121a')][_0x1cd3('0xf0c')]=_[_0x1cd3('0x398')](_0x2ea061[0x0])?_0x2ea061[0x0]:isNaN(_0x2ea061[0x0])?_0x2ea061[0x0]:parseInt(_0x2ea061[0x0],0xa);}}else{}if(_0x4e3dab[_0x1cd3('0x121a')][_0x1cd3('0x424')]&&_0x4e3dab['gotop']['type'][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x4e3dab[_0x1cd3('0x121a')]['appType'][_0x1cd3('0x433')]()===_0x1cd3('0x1289')){_0x4e3dab['gotop'][_0x1cd3('0x6aa')]=_0x4e3dab['gotop']['phone']?_0x4e3dab[_0x1cd3('0x121a')][_0x1cd3('0xf09')]['split']('$')[0x0]:undefined;_0x4e3dab[_0x1cd3('0x121a')]['callerId']=_0x4e3dab[_0x1cd3('0x121a')][_0x1cd3('0x127f')]?_0x1cd3('0x1280')+_0x4e3dab[_0x1cd3('0x121a')]['callerID']:undefined;}_0x4e3dab[_0x1cd3('0x1281')]=_0x1728bb;_0x4e3dab[_0x1cd3('0x39c')]=_0x5e0c9c;function _0x1728bb(){_0x4e3dab[_0x1cd3('0xd34')]=[];var _0x14b269=[];if(_0x4e3dab['gotop'][_0x1cd3('0x424')]&&_0x4e3dab[_0x1cd3('0x121a')]['type']['toLowerCase']()===_0x1cd3('0x128')&&_0x4e3dab[_0x1cd3('0x121a')]['appType']==='outboundDial'){_0x4e3dab[_0x1cd3('0x121a')][_0x1cd3('0xf09')]=_0xa8a901[_0x1cd3('0x128a')]?(_0x4e3dab[_0x1cd3('0x121a')][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x1284')+_0xa8a901[_0x1cd3('0x128a')]+'}':(_0x4e3dab['gotop']['prefix']||'')+_0x1cd3('0x128d');if(_0xa8a901[_0x1cd3('0x1285')]!==_0x1cd3('0x6ae')){if(_0x4e3dab[_0x1cd3('0x121a')][_0x1cd3('0x422')][_0x1cd3('0x45e')](_0x1cd3('0x1286'))<0x0){_0x4e3dab[_0x1cd3('0x121a')]['options']+='U(xcally-mixmonitor-context)';}}else{_0x4e3dab['gotop'][_0x1cd3('0x422')]=_0x4e3dab['gotop'][_0x1cd3('0x422')][_0x1cd3('0x3f1')](_0x1cd3('0x1286'),'');}}if(_0x4e3dab['gotop'][_0x1cd3('0x125b')]&&_0x4e3dab[_0x1cd3('0x121a')]['appType']===_0x1cd3('0x8f6')){}else{switch((_0x4e3dab[_0x1cd3('0x121a')][_0x1cd3('0xd0a')]||_0x4e3dab['gotop'][_0x1cd3('0x125b')])[_0x1cd3('0x433')]()){case _0x1cd3('0x127e'):_0x4e3dab[_0x1cd3('0x121a')]['appdata']=_0x4e3dab[_0x1cd3('0x121a')]['name']+'='+_0x4e3dab[_0x1cd3('0x121a')][_0x1cd3('0x3db')];break;case _0x1cd3('0x8f6'):break;default:_0x14b269[0x0]=_0x4e3dab['gotop'][_0x1cd3('0xf0c')];_0x4e3dab['gotop'][_0x1cd3('0x127d')]=_0x14b269[_0x1cd3('0x3de')](',');}}_0x5e0c9c(_0x4e3dab[_0x1cd3('0x121a')]);}function _0x5e0c9c(_0x36a12f){_0x2d7ed1[_0x1cd3('0x39d')](_0x36a12f);}}}());(function(){'use strict';_0x2e4810[_0x1cd3('0xc')]=[_0x1cd3('0x53e'),_0x1cd3('0x3c5'),_0x1cd3('0x586'),'IndexFactory',_0x1cd3('0x77e'),_0x1cd3('0xef9'),_0x1cd3('0x461'),'api','Auth',_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x2d'))[_0x1cd3('0x39b')](_0x1cd3('0x1291'),_0x2e4810);function _0x2e4810(_0x76721a,_0x203398,_0xbcb74a,_0x186b7d,_0x404bf0,_0x4fca33,_0x270df8,_0x7e328a,_0x5ed7ec,_0x3f9983){var _0x3194b1=this;_0x3194b1[_0x1cd3('0x3ca')]=_0x5ed7ec['getCurrentUser']();_0x3194b1[_0x1cd3('0xd34')]=[];_0x3194b1[_0x1cd3('0x486')]=_0x1cd3('0x1292');_0x3194b1[_0x1cd3('0x77e')]=angular[_0x1cd3('0x429')](_0x404bf0);_0x3194b1[_0x1cd3('0xef9')]=_0x4fca33;_0x3194b1[_0x1cd3('0x1293')]=![];_0x3194b1[_0x1cd3('0x1294')]=[_0x1cd3('0x1213'),_0x1cd3('0x8f6'),_0x1cd3('0x9d5')];_0x3194b1[_0x1cd3('0xd27')]=_0x3f9983;_0x3194b1[_0x1cd3('0x1295')]=_0x186b7d['getDaysOfWeek']();_0x3194b1['monthNumber']=_0x186b7d[_0x1cd3('0x1296')]();_0x3194b1['monthName']=_0x186b7d[_0x1cd3('0x1297')]();_0x3194b1[_0x1cd3('0x1298')]=_0x186b7d['getDaysOfMonth']();if(!_0x3194b1['interval']){_0x3194b1[_0x1cd3('0x77e')]={'interval':_0x1cd3('0x1216')};_0x3194b1[_0x1cd3('0x424')]=_0x1cd3('0x1213');_0x3194b1[_0x1cd3('0x486')]='TOOLS.NEW_INTERVAL';_0x3194b1[_0x1cd3('0x1293')]=!![];}else{if(_0x3194b1[_0x1cd3('0x77e')][_0x1cd3('0x77e')]!=='*,*,*,*'){_0x3194b1[_0x1cd3('0x424')]=_0x1cd3('0x8f6');var _0xa7334a=_0x3194b1[_0x1cd3('0x77e')][_0x1cd3('0x77e')][_0x1cd3('0x3ef')](',');var _0x5be249=_0xa7334a[0x0];var _0x12f19c=_0xa7334a[0x1];var _0x49ca70=_0xa7334a[0x2];var _0x131764=_0xa7334a[0x3];if(_0x5be249!=='*'){var _0x5a5857=_0x5be249[_0x1cd3('0x3ef')]('-')[0x0];var _0x32b0dc=_0x5be249[_0x1cd3('0x3ef')]('-')[0x1];var _0x4f69df;_0x4f69df=new Date();_0x4f69df['setHours'](Number(_0x5a5857[_0x1cd3('0x3ef')](':')[0x0]));_0x4f69df[_0x1cd3('0x1299')](Number(_0x5a5857['split'](':')[0x1]));_0x3194b1['timeRangeFrom']=_0x4f69df;_0x4f69df=new Date();_0x4f69df[_0x1cd3('0x129a')](Number(_0x32b0dc['split'](':')[0x0]));_0x4f69df[_0x1cd3('0x1299')](Number(_0x32b0dc[_0x1cd3('0x3ef')](':')[0x1]));_0x3194b1[_0x1cd3('0x129b')]=_0x4f69df;}if(_0x12f19c!=='*'){_0x3194b1[_0x1cd3('0x129c')]=_0x12f19c[_0x1cd3('0x3ef')]('-')[0x0];_0x3194b1['dayOfWeekTo']=_0x12f19c[_0x1cd3('0x3ef')]('-')[0x1];}if(_0x49ca70!=='*'){_0x3194b1[_0x1cd3('0x129d')]=_0x49ca70[_0x1cd3('0x3ef')]('-')[0x0];_0x3194b1[_0x1cd3('0x129e')]=_0x49ca70[_0x1cd3('0x3ef')]('-')[0x1];}if(_0x131764!=='*'){_0x3194b1[_0x1cd3('0x129f')]=_0x131764[_0x1cd3('0x3ef')]('-')[0x0];_0x3194b1[_0x1cd3('0x12a0')]=_0x131764['split']('-')[0x1];}}else{_0x3194b1[_0x1cd3('0x424')]=_0x1cd3('0x1213');}}if(_0x76721a[_0x1cd3('0x36a')]['id']&&!_0x3194b1[_0x1cd3('0x77e')][_0x1cd3('0x12a1')]){_0x3194b1['interval']['IntervalId']=_0x76721a[_0x1cd3('0x36a')]['id'];}if(_0x3194b1[_0x1cd3('0x77e')][_0x1cd3('0xf4b')]&&_0x3194b1['interval']['application']){_0x3194b1['type']=_0x1cd3('0x9d5');}_0x3194b1[_0x1cd3('0x12a2')]=_0x2c5ef6;_0x3194b1['saveInterval']=_0x18f3ec;_0x3194b1[_0x1cd3('0x39c')]=_0x426ed6;if(_0x3194b1[_0x1cd3('0x77e')][_0x1cd3('0x12a1')]){_0x5ed7ec[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x7e328a['interval'][_0x1cd3('0x361')]({'fields':_0x1cd3('0x12a3'),'IntervalId':_0x1cd3('0x220'),'nolimit':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0xf04473){_0x3194b1[_0x1cd3('0xef9')]=_0xf04473[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x27ce4b){_0x270df8[_0x1cd3('0x434')]({'title':_0x27ce4b['status']?_0x1cd3('0x435')+_0x27ce4b[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x27ce4b[_0x1cd3('0xd35')]:_0x1cd3('0x12a4'),'msg':_0x27ce4b['data']?JSON[_0x1cd3('0x438')](_0x27ce4b[_0x1cd3('0x439')]):_0x27ce4b[_0x1cd3('0x43b')]()});}):_0x7e328a[_0x1cd3('0x77e')]['get']({'fields':_0x1cd3('0x12a3'),'IntervalId':_0x1cd3('0x220'),'nolimit':!![]})[_0x1cd3('0x81')]['then'](function(_0x4d98cb){_0x3194b1[_0x1cd3('0xef9')]=_0x4d98cb['rows']||[];})[_0x1cd3('0x77')](function(){return _0x7e328a[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x3194b1[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x3ec})[_0x1cd3('0x81')];})['then'](function(_0x28cc77){var _0x3feede=_0x28cc77&&_0x28cc77[_0x1cd3('0xf6')]?_0x28cc77[_0x1cd3('0xf6')][0x0]:null;if(!_0x3feede){_0x3194b1[_0x1cd3('0xef9')]=[];}else{if(!_0x3feede['autoAssociation']){return _0x7e328a[_0x1cd3('0x392')]['get']({'sectionId':_0x3feede['id']})['$promise'][_0x1cd3('0x77')](function(_0x2df25c){var _0x3d8629=_0x2df25c&&_0x2df25c[_0x1cd3('0xf6')]?_0x2df25c['rows']:[];var _0x1a7efe=[];var _0x42c3f3=null;if(_0x3194b1[_0x1cd3('0x77e')]){_0x42c3f3=_['find'](_0x3194b1['intervals'],{'name':_0x3194b1[_0x1cd3('0x77e')]['IntervalId']});}if(_0x42c3f3&&!_['some'](_0x3d8629,[_0x1cd3('0xe8e'),_0x42c3f3['id']])){_0x3194b1[_0x1cd3('0xef9')][_0x1cd3('0x394')](function(_0x2d41e3){if(_0x2d41e3['id']===_0x42c3f3['id']){_0x2d41e3[_0x1cd3('0xf4a')]=![];_0x1a7efe[_0x1cd3('0x7b')](_0x2d41e3);}});}_0x3194b1[_0x1cd3('0xef9')]=_0x1a7efe;});}}})[_0x1cd3('0xfd')](function(_0x551d30){_0x270df8['error']({'title':_0x551d30[_0x1cd3('0x3a6')]?'API:'+_0x551d30[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x551d30[_0x1cd3('0xd35')]:_0x1cd3('0x12a4'),'msg':_0x551d30[_0x1cd3('0x439')]?JSON['stringify'](_0x551d30[_0x1cd3('0x439')]):_0x551d30[_0x1cd3('0x43b')]()});});}function _0x3af60d(){switch(_0x3194b1[_0x1cd3('0x424')]){case _0x1cd3('0x1213'):case _0x1cd3('0x9d5'):return _0x1cd3('0x1216');case _0x1cd3('0x8f6'):var _0x2515d4=[];if(_0x3194b1[_0x1cd3('0x12a5')]!=='*'&&_0x3194b1['timeRangeFrom']&&_0x3194b1[_0x1cd3('0x129b')]){var _0x49f492=(_0x3194b1[_0x1cd3('0x12a5')][_0x1cd3('0x12a6')]()<0xa?'0':'')+_0x3194b1[_0x1cd3('0x12a5')][_0x1cd3('0x12a6')]()+':'+((_0x3194b1[_0x1cd3('0x12a5')][_0x1cd3('0x12a7')]()<0xa?'0':'')+_0x3194b1['timeRangeFrom'][_0x1cd3('0x12a7')]());var _0x13402b=(_0x3194b1[_0x1cd3('0x129b')]['getHours']()<0xa?'0':'')+_0x3194b1[_0x1cd3('0x129b')]['getHours']()+':'+((_0x3194b1[_0x1cd3('0x129b')]['getMinutes']()<0xa?'0':'')+_0x3194b1[_0x1cd3('0x129b')][_0x1cd3('0x12a7')]());_0x2515d4['push'](_0x49f492+'-'+_0x13402b);}else{_0x2515d4['push']('*');}if(_0x3194b1[_0x1cd3('0x129c')]){if(_0x3194b1[_0x1cd3('0x12a8')]){_0x2515d4[_0x1cd3('0x7b')](_0x3194b1[_0x1cd3('0x129c')]+'-'+_0x3194b1[_0x1cd3('0x12a8')]);}else{_0x2515d4[_0x1cd3('0x7b')](_0x3194b1['dayOfWeekFrom']);}}else{_0x2515d4[_0x1cd3('0x7b')]('*');}if(_0x3194b1[_0x1cd3('0x129d')]){if(_0x3194b1[_0x1cd3('0x129e')]){_0x2515d4[_0x1cd3('0x7b')](_0x3194b1[_0x1cd3('0x129d')]+'-'+_0x3194b1[_0x1cd3('0x129e')]);}else{_0x2515d4['push'](_0x3194b1['monthDayFrom']);}}else{_0x2515d4[_0x1cd3('0x7b')]('*');}if(_0x3194b1['monthFrom']){if(_0x3194b1['monthTo']){_0x2515d4[_0x1cd3('0x7b')](_0x3194b1['monthFrom']+'-'+_0x3194b1[_0x1cd3('0x12a0')]);}else{_0x2515d4['push'](_0x3194b1['monthFrom']);}}else{_0x2515d4[_0x1cd3('0x7b')]('*');}return _0x2515d4[_0x1cd3('0x3de')]();}}function _0x2c5ef6(){_0x3194b1['errors']=[];_0x3194b1['interval']['interval']=_0x3af60d();_0x7e328a[_0x1cd3('0x77e')][_0x1cd3('0xd6d')](_0x3194b1[_0x1cd3('0x77e')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x1548b2){_0x3194b1[_0x1cd3('0xef9')]['push'](_0x1548b2);_0x270df8[_0x1cd3('0x473')]({'title':_0x1cd3('0x12a9'),'msg':_0x3194b1['interval'][_0x1cd3('0x98')]?_0x3194b1[_0x1cd3('0x77e')][_0x1cd3('0x98')]+_0x1cd3('0xd33'):''});_0x426ed6();})[_0x1cd3('0xfd')](function(_0xf2048f){console[_0x1cd3('0x434')](_0xf2048f);_0x3194b1['errors']=_0xf2048f[_0x1cd3('0x439')]['errors']||[{'message':_0xf2048f[_0x1cd3('0x43b')](),'type':_0x1cd3('0x12aa')}];});}function _0x18f3ec(){_0x3194b1['errors']=[];_0x3194b1[_0x1cd3('0x77e')][_0x1cd3('0x77e')]=_0x3af60d();if(_0x3194b1[_0x1cd3('0x77e')][_0x1cd3('0x12a1')]){_0x3194b1['type']!=='list'&&(_0x3194b1[_0x1cd3('0x77e')][_0x1cd3('0xf4b')]=null);_0x426ed6(_0x3194b1[_0x1cd3('0x77e')]);}else{_0x7e328a[_0x1cd3('0x77e')]['update']({'id':_0x3194b1[_0x1cd3('0x77e')]['id']},_0x3194b1['interval'])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x2a8de7){var _0x5ef2ed=_[_0x1cd3('0x442')](_0x3194b1['intervals'],{'id':_0x2a8de7['id']});if(_0x5ef2ed){_[_0x1cd3('0xf2')](_0x5ef2ed,_0x2a8de7);}_0x270df8[_0x1cd3('0x473')]({'title':_0x1cd3('0x12ab'),'msg':_0x1cd3('0x12ac')});_0x426ed6();})['catch'](function(_0x133530){console[_0x1cd3('0x434')](_0x133530);_0x3194b1[_0x1cd3('0xd34')]=_0x133530[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x133530['toString'](),'type':_0x1cd3('0x12ad')}];});}}function _0x426ed6(_0x4eafb9){_0x203398[_0x1cd3('0x39d')](_0x4eafb9);}}}());(function(){'use strict';_0x6a4ce['$inject']=[_0x1cd3('0x3c5'),'$q',_0x1cd3('0x461'),_0x1cd3('0x127b'),_0x1cd3('0xb02'),_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x2e'))[_0x1cd3('0x39b')](_0x1cd3('0x12ae'),_0x6a4ce);function _0x6a4ce(_0x4989fd,_0x17b99c,_0x55d207,_0xf03125,_0x24a176,_0x3a4589,_0x5feeb1,_0x36f4e1){var _0x333872=this;_0x333872[_0x1cd3('0x3ca')]=_0x5feeb1['getCurrentUser']();_0x333872[_0x1cd3('0xd34')]=[];_0x333872[_0x1cd3('0x486')]=_0x1cd3('0x1288')+(_0xf03125[_0x1cd3('0x125b')]||_0xf03125[_0x1cd3('0xd0a')])[_0x1cd3('0x437')]();_0x333872[_0x1cd3('0x3a9')]=angular[_0x1cd3('0x429')](_0xf03125);_0x333872[_0x1cd3('0xd27')]=_0x36f4e1;_0x333872[_0x1cd3('0xd28')]={};if(_0x333872[_0x1cd3('0x3a9')][_0x1cd3('0x127d')]){switch(_0x333872[_0x1cd3('0x3a9')]['appType']?_0x333872[_0x1cd3('0x3a9')][_0x1cd3('0x125b')][_0x1cd3('0x433')]():_0x333872[_0x1cd3('0x3a9')]['app'][_0x1cd3('0x433')]()){case _0x1cd3('0x8f6'):break;case'dialogflow':var _0x2a5a1f=_0x333872[_0x1cd3('0x3a9')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x333872[_0x1cd3('0x3a9')]['key']=_0x2a5a1f[0x0];_0x333872[_0x1cd3('0x3a9')][_0x1cd3('0x3f3')]=_0x2a5a1f[0x1];_0x333872[_0x1cd3('0x3a9')][_0x1cd3('0x1246')]=_0x2a5a1f[_0x1cd3('0x9a2')](0x2,_0x2a5a1f['length'])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x1247'):var _0x2a5a1f=_0x333872[_0x1cd3('0x3a9')][_0x1cd3('0x127d')]['split'](',');_0x333872['noop'][_0x1cd3('0x1248')]=_0x2a5a1f[0x0];_0x333872[_0x1cd3('0x3a9')][_0x1cd3('0x1249')]=_0x2a5a1f[0x1];_0x333872[_0x1cd3('0x3a9')][_0x1cd3('0x124a')]=_0x2a5a1f[0x2];_0x333872[_0x1cd3('0x3a9')][_0x1cd3('0x124f')]=_0x2a5a1f[0x3];_0x333872[_0x1cd3('0x3a9')]['welcomemessage']=_0x2a5a1f[_0x1cd3('0x9a2')](0x4,_0x2a5a1f['length'])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x122b'):var _0x2a5a1f=_0x333872[_0x1cd3('0x3a9')][_0x1cd3('0x127d')]['split'](',');_0x333872[_0x1cd3('0x3a9')][_0x1cd3('0x122c')]=isNaN(_0x2a5a1f[0x0])?_0x2a5a1f[0x0]:parseInt(_0x2a5a1f[0x0],0xa);_0x333872[_0x1cd3('0x3a9')][_0x1cd3('0x401')]=_0x2a5a1f[_0x1cd3('0x9a2')](0x1,_0x2a5a1f['length'])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x43a'):_0x333872[_0x1cd3('0x3a9')][_0x1cd3('0x401')]=_0x333872['noop']['appdata'];break;case _0x1cd3('0x127e'):_0x333872['noop'][_0x1cd3('0x98')]=_0x333872['noop']['appdata'][_0x1cd3('0x3ef')]('=')[0x0];_0x333872[_0x1cd3('0x3a9')][_0x1cd3('0x3db')]=_0x333872[_0x1cd3('0x3a9')][_0x1cd3('0x127d')]['split']('=')[0x1];break;case _0x1cd3('0x128c'):_0x333872[_0x1cd3('0x3a9')][_0x1cd3('0xedd')]=_0x333872['noop'][_0x1cd3('0x127d')];break;default:var _0x48ef1b=_0x333872[_0x1cd3('0x3a9')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x333872[_0x1cd3('0x3a9')]['value']=_['isEmpty'](_0x48ef1b[0x0])?_0x48ef1b[0x0]:isNaN(_0x48ef1b[0x0])?_0x48ef1b[0x0]:parseInt(_0x48ef1b[0x0],0xa);}}else{}if(_0x333872[_0x1cd3('0x3a9')][_0x1cd3('0x424')]&&_0x333872[_0x1cd3('0x3a9')][_0x1cd3('0x424')][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x333872[_0x1cd3('0x3a9')][_0x1cd3('0x125b')][_0x1cd3('0x433')]()===_0x1cd3('0x1289')){_0x333872[_0x1cd3('0x3a9')][_0x1cd3('0x6aa')]=_0x333872['noop'][_0x1cd3('0xf09')]?_0x333872[_0x1cd3('0x3a9')][_0x1cd3('0xf09')]['split']('$')[0x0]:undefined;_0x333872[_0x1cd3('0x3a9')][_0x1cd3('0x689')]=_0x333872[_0x1cd3('0x3a9')][_0x1cd3('0x127f')]?'CALLERID(all)='+_0x333872[_0x1cd3('0x3a9')][_0x1cd3('0x127f')]:undefined;}_0x333872['saveChatWebsiteApp']=_0x586656;_0x333872['closeDialog']=_0x2ef914;function _0x586656(){_0x333872[_0x1cd3('0xd34')]=[];var _0x2431f9=[];if(_0x333872['noop'][_0x1cd3('0x424')]&&_0x333872[_0x1cd3('0x3a9')][_0x1cd3('0x424')][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x333872[_0x1cd3('0x3a9')][_0x1cd3('0x125b')]===_0x1cd3('0x1283')){_0x333872['noop']['phone']=_0x24a176[_0x1cd3('0x128a')]?(_0x333872['noop'][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x1284')+_0x24a176['cutdigits']+'}':(_0x333872[_0x1cd3('0x3a9')][_0x1cd3('0x6aa')]||'')+'${EXTEN}';if(_0x24a176[_0x1cd3('0x1285')]!==_0x1cd3('0x6ae')){if(_0x333872[_0x1cd3('0x3a9')][_0x1cd3('0x422')][_0x1cd3('0x45e')](_0x1cd3('0x1286'))<0x0){_0x333872['noop'][_0x1cd3('0x422')]+=_0x1cd3('0x1286');}}else{_0x333872[_0x1cd3('0x3a9')][_0x1cd3('0x422')]=_0x333872[_0x1cd3('0x3a9')]['options'][_0x1cd3('0x3f1')](_0x1cd3('0x1286'),'');}}if(_0x333872['noop'][_0x1cd3('0x125b')]&&_0x333872['noop']['appType']===_0x1cd3('0x8f6')){}else{switch((_0x333872[_0x1cd3('0x3a9')][_0x1cd3('0xd0a')]||_0x333872[_0x1cd3('0x3a9')][_0x1cd3('0x125b')])['toLowerCase']()){case _0x1cd3('0x127e'):_0x333872['noop'][_0x1cd3('0x127d')]=_0x333872['noop'][_0x1cd3('0x98')]+'='+_0x333872[_0x1cd3('0x3a9')][_0x1cd3('0x3db')];break;case'custom':break;default:_0x2431f9[0x0]=_0x333872[_0x1cd3('0x3a9')][_0x1cd3('0x3db')];_0x333872[_0x1cd3('0x3a9')][_0x1cd3('0x127d')]=_0x2431f9[_0x1cd3('0x3de')](',');}}_0x2ef914(_0x333872['noop']);}function _0x2ef914(_0x48ffae){_0x4989fd['hide'](_0x48ffae);}}}());(function(){'use strict';_0x37c5a3[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),'$q',_0x1cd3('0x461'),_0x1cd3('0x127b'),_0x1cd3('0xb02'),'api',_0x1cd3('0x56'),'crudPermissions'];angular['module'](_0x1cd3('0x2e'))[_0x1cd3('0x39b')]('EditChatWebsiteAppqueueDialogController',_0x37c5a3);function _0x37c5a3(_0x40836f,_0x1fa5a3,_0x33fda8,_0x2eaf7d,_0x482245,_0x3ce338,_0x139542,_0xf0072d){var _0x20901e=this;_0x20901e[_0x1cd3('0x3ca')]=_0x139542[_0x1cd3('0x5d')]();_0x20901e['errors']=[];_0x20901e[_0x1cd3('0x486')]=_0x1cd3('0x1288')+(_0x2eaf7d[_0x1cd3('0x125b')]||_0x2eaf7d[_0x1cd3('0xd0a')])[_0x1cd3('0x437')]();_0x20901e[_0x1cd3('0x1220')]=angular[_0x1cd3('0x429')](_0x2eaf7d);_0x20901e[_0x1cd3('0xd27')]=_0xf0072d;_0x20901e['hasModulePermissions']={};if(_0x20901e[_0x1cd3('0x1220')][_0x1cd3('0x127d')]){switch(_0x20901e[_0x1cd3('0x1220')][_0x1cd3('0x125b')]?_0x20901e[_0x1cd3('0x1220')]['appType'][_0x1cd3('0x433')]():_0x20901e[_0x1cd3('0x1220')]['app'][_0x1cd3('0x433')]()){case _0x1cd3('0x8f6'):break;case _0x1cd3('0x1233'):var _0x4dae38=_0x20901e[_0x1cd3('0x1220')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x20901e[_0x1cd3('0x1220')][_0x1cd3('0x65c')]=_0x4dae38[0x0];_0x20901e[_0x1cd3('0x1220')][_0x1cd3('0x3f3')]=_0x4dae38[0x1];_0x20901e[_0x1cd3('0x1220')][_0x1cd3('0x1246')]=_0x4dae38['slice'](0x2,_0x4dae38[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x1247'):var _0x4dae38=_0x20901e[_0x1cd3('0x1220')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x20901e[_0x1cd3('0x1220')][_0x1cd3('0x1248')]=_0x4dae38[0x0];_0x20901e[_0x1cd3('0x1220')][_0x1cd3('0x1249')]=_0x4dae38[0x1];_0x20901e[_0x1cd3('0x1220')][_0x1cd3('0x124a')]=_0x4dae38[0x2];_0x20901e['queue'][_0x1cd3('0x124f')]=_0x4dae38[0x3];_0x20901e['queue'][_0x1cd3('0x1246')]=_0x4dae38[_0x1cd3('0x9a2')](0x4,_0x4dae38[_0x1cd3('0x7a')])['join'](',');break;case _0x1cd3('0x122b'):var _0x4dae38=_0x20901e[_0x1cd3('0x1220')]['appdata'][_0x1cd3('0x3ef')](',');_0x20901e[_0x1cd3('0x1220')][_0x1cd3('0x122c')]=isNaN(_0x4dae38[0x0])?_0x4dae38[0x0]:parseInt(_0x4dae38[0x0],0xa);_0x20901e[_0x1cd3('0x1220')]['text']=_0x4dae38[_0x1cd3('0x9a2')](0x1,_0x4dae38[_0x1cd3('0x7a')])['join'](',');break;case _0x1cd3('0x43a'):_0x20901e[_0x1cd3('0x1220')][_0x1cd3('0x401')]=_0x20901e['queue'][_0x1cd3('0x127d')];break;case _0x1cd3('0x127e'):_0x20901e[_0x1cd3('0x1220')][_0x1cd3('0x98')]=_0x20901e['queue'][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x0];_0x20901e[_0x1cd3('0x1220')][_0x1cd3('0x3db')]=_0x20901e[_0x1cd3('0x1220')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x1];break;case'agi':_0x20901e['queue'][_0x1cd3('0xedd')]=_0x20901e[_0x1cd3('0x1220')]['appdata'];break;default:var _0x119f54=_0x20901e['queue'][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x20901e[_0x1cd3('0x1220')][_0x1cd3('0x1220')]=_[_0x1cd3('0x398')](_0x119f54[0x0])?_0x119f54[0x0]:isNaN(_0x119f54[0x0])?_0x119f54[0x0]:parseInt(_0x119f54[0x0],0xa);_0x20901e['queue']['timeout']=_[_0x1cd3('0x398')](_0x119f54[0x1])?_0x119f54[0x1]:isNaN(_0x119f54[0x1])?_0x119f54[0x1]:parseInt(_0x119f54[0x1],0xa);}}else{_0x20901e[_0x1cd3('0x1220')][_0x1cd3('0x1220')]=0x12c;_0x20901e[_0x1cd3('0x1220')][_0x1cd3('0x8fc')]=0x12c;}if(_0x20901e[_0x1cd3('0x1220')]['type']&&_0x20901e[_0x1cd3('0x1220')][_0x1cd3('0x424')][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x20901e[_0x1cd3('0x1220')][_0x1cd3('0x125b')][_0x1cd3('0x433')]()===_0x1cd3('0x1289')){_0x20901e[_0x1cd3('0x1220')]['prefix']=_0x20901e[_0x1cd3('0x1220')][_0x1cd3('0xf09')]?_0x20901e[_0x1cd3('0x1220')][_0x1cd3('0xf09')]['split']('$')[0x0]:undefined;_0x20901e['queue'][_0x1cd3('0x689')]=_0x20901e['queue'][_0x1cd3('0x127f')]?_0x1cd3('0x1280')+_0x20901e[_0x1cd3('0x1220')][_0x1cd3('0x127f')]:undefined;}_0x20901e['saveChatWebsiteApp']=_0x403adf;_0x20901e[_0x1cd3('0x39c')]=_0x4503ba;_0x139542[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x3ce338['chatQueue'][_0x1cd3('0x361')]({'fields':_0x1cd3('0x1222'),'sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x326621){_0x20901e[_0x1cd3('0x1155')]=_0x326621[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x303ecb){_0x33fda8['error']({'title':_0x303ecb[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x303ecb['status']+_0x1cd3('0x436')+_0x303ecb[_0x1cd3('0xd35')]:_0x1cd3('0x12af'),'msg':_0x303ecb[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x303ecb[_0x1cd3('0x439')]):_0x303ecb['toString']()});}):_0x3ce338[_0x1cd3('0x11a7')][_0x1cd3('0x361')]({'fields':'id,name,type','sort':'name','nolimit':'true'})['$promise'][_0x1cd3('0x77')](function(_0x4cbcb9){_0x20901e[_0x1cd3('0x1155')]=_0x4cbcb9[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x3ce338['userProfileSection']['get']({'userProfileId':_0x20901e[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x1f5})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x37a8b8){var _0x118521=_0x37a8b8&&_0x37a8b8[_0x1cd3('0xf6')]?_0x37a8b8[_0x1cd3('0xf6')][0x0]:null;if(!_0x118521){var _0xc8e72c=[];var _0x4e0e71=null;if(_0x20901e['queue']){_0x4e0e71=_[_0x1cd3('0x442')](_0x20901e['queues'],{'name':_0x20901e[_0x1cd3('0x1220')]['queue']});}for(var _0x1592f8=0x0;_0x1592f8<_0x20901e['queues'][_0x1cd3('0x7a')];_0x1592f8++){if(_0x4e0e71&&_0x20901e[_0x1cd3('0x1155')][_0x1592f8]['id']===_0x4e0e71['id']){_0x20901e[_0x1cd3('0x1155')][_0x1592f8]['canSelect']=![];_0xc8e72c[_0x1cd3('0x7b')](_0x20901e[_0x1cd3('0x1155')][_0x1592f8]);}}_0x20901e[_0x1cd3('0x1155')]=_0xc8e72c;}else{if(!_0x118521[_0x1cd3('0x391')]){return _0x3ce338[_0x1cd3('0x392')]['get']({'sectionId':_0x118521['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x5d50a9){var _0x1b78fd=_[_0x1cd3('0x3d9')](_0x5d50a9[_0x1cd3('0xf6')],function(_0x113b0a){return _[_0x1cd3('0x442')](_0x20901e[_0x1cd3('0x1155')],{'id':_0x113b0a[_0x1cd3('0xe8e')]});});var _0x4c5aa6=null;if(_0x20901e[_0x1cd3('0x1220')]){_0x4c5aa6=_['find'](_0x20901e[_0x1cd3('0x1155')],{'name':_0x20901e[_0x1cd3('0x1220')][_0x1cd3('0x1220')]});}if(_0x4c5aa6&&!_[_0x1cd3('0x38d')](_0x1b78fd,['id',_0x4c5aa6['id']])){var _0x1f0395=_['find'](_0x20901e[_0x1cd3('0x1155')],{'id':_0x4c5aa6['id']});_0x1f0395['canSelect']=![];_0x1b78fd[_0x1cd3('0x7b')](_0x1f0395);}_0x20901e['queues']=_0x1b78fd;});}}})[_0x1cd3('0xfd')](function(_0x49c152){_0x33fda8[_0x1cd3('0x434')]({'title':_0x49c152[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x49c152[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x49c152['statusText']:_0x1cd3('0x12b0'),'msg':_0x49c152[_0x1cd3('0x439')]?JSON['stringify'](_0x49c152[_0x1cd3('0x439')]):_0x49c152['toString']()});});function _0x403adf(){_0x20901e['errors']=[];var _0xeb7ff6=[];if(_0x20901e['queue']['type']&&_0x20901e[_0x1cd3('0x1220')][_0x1cd3('0x424')][_0x1cd3('0x433')]()==='outbound'&&_0x20901e[_0x1cd3('0x1220')][_0x1cd3('0x125b')]===_0x1cd3('0x1283')){_0x20901e['queue'][_0x1cd3('0xf09')]=_0x482245[_0x1cd3('0x128a')]?(_0x20901e[_0x1cd3('0x1220')][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x1284')+_0x482245[_0x1cd3('0x128a')]+'}':(_0x20901e['queue'][_0x1cd3('0x6aa')]||'')+'${EXTEN}';if(_0x482245[_0x1cd3('0x1285')]!==_0x1cd3('0x6ae')){if(_0x20901e[_0x1cd3('0x1220')][_0x1cd3('0x422')]['indexOf'](_0x1cd3('0x1286'))<0x0){_0x20901e[_0x1cd3('0x1220')][_0x1cd3('0x422')]+='U(xcally-mixmonitor-context)';}}else{_0x20901e[_0x1cd3('0x1220')][_0x1cd3('0x422')]=_0x20901e[_0x1cd3('0x1220')]['options'][_0x1cd3('0x3f1')](_0x1cd3('0x1286'),'');}}var _0x9e2346=_[_0x1cd3('0x442')](_0x20901e[_0x1cd3('0x1155')],{'name':_0x20901e[_0x1cd3('0x1220')][_0x1cd3('0x1220')]});if(_0x9e2346){_0x20901e[_0x1cd3('0x1220')][_[_0x1cd3('0x12b1')](_0x1cd3('0xbf'))+'QueueId']=_0x9e2346['id'];}if(_0x20901e['queue']['appType']&&_0x20901e[_0x1cd3('0x1220')][_0x1cd3('0x125b')]===_0x1cd3('0x8f6')){}else{switch((_0x20901e[_0x1cd3('0x1220')][_0x1cd3('0xd0a')]||_0x20901e['queue'][_0x1cd3('0x125b')])[_0x1cd3('0x433')]()){case'set':_0x20901e[_0x1cd3('0x1220')][_0x1cd3('0x127d')]=_0x20901e['queue'][_0x1cd3('0x98')]+'='+_0x20901e[_0x1cd3('0x1220')]['value'];break;case'custom':break;default:_0xeb7ff6[0x0]=_0x20901e['queue'][_0x1cd3('0x1220')];_0xeb7ff6[0x1]=_0x20901e[_0x1cd3('0x1220')]['timeout'];_0x20901e[_0x1cd3('0x1220')]['appdata']=_0xeb7ff6[_0x1cd3('0x3de')](',');}}_0x4503ba(_0x20901e[_0x1cd3('0x1220')]);}function _0x4503ba(_0x5b186b){_0x40836f[_0x1cd3('0x39d')](_0x5b186b);}}}());(function(){'use strict';_0x5de23a[_0x1cd3('0xc')]=['$mdDialog','$q','toasty',_0x1cd3('0x127b'),_0x1cd3('0xb02'),'api',_0x1cd3('0x56'),_0x1cd3('0xd27')];angular['module'](_0x1cd3('0x2e'))[_0x1cd3('0x39b')](_0x1cd3('0x12b2'),_0x5de23a);function _0x5de23a(_0x1dadc3,_0x5f3708,_0xee0c7b,_0x1f7b68,_0x46ab4f,_0x784b22,_0x5e85c9,_0x3ae78a){var _0x2cfb08=this;_0x2cfb08[_0x1cd3('0x3ca')]=_0x5e85c9[_0x1cd3('0x5d')]();_0x2cfb08[_0x1cd3('0xd34')]=[];_0x2cfb08[_0x1cd3('0x486')]='CHAT.EDIT_'+(_0x1f7b68[_0x1cd3('0x125b')]||_0x1f7b68['app'])[_0x1cd3('0x437')]();_0x2cfb08[_0x1cd3('0xa13')]=angular['copy'](_0x1f7b68);_0x2cfb08['crudPermissions']=_0x3ae78a;_0x2cfb08[_0x1cd3('0xd28')]={};if(_0x2cfb08['system']['appdata']){switch(_0x2cfb08[_0x1cd3('0xa13')]['appType']?_0x2cfb08[_0x1cd3('0xa13')][_0x1cd3('0x125b')]['toLowerCase']():_0x2cfb08[_0x1cd3('0xa13')][_0x1cd3('0xd0a')]['toLowerCase']()){case _0x1cd3('0x8f6'):break;case _0x1cd3('0x1233'):var _0x8fbc93=_0x2cfb08[_0x1cd3('0xa13')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x2cfb08[_0x1cd3('0xa13')]['key']=_0x8fbc93[0x0];_0x2cfb08[_0x1cd3('0xa13')][_0x1cd3('0x3f3')]=_0x8fbc93[0x1];_0x2cfb08[_0x1cd3('0xa13')]['welcomemessage']=_0x8fbc93[_0x1cd3('0x9a2')](0x2,_0x8fbc93[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x1247'):var _0x8fbc93=_0x2cfb08[_0x1cd3('0xa13')]['appdata'][_0x1cd3('0x3ef')](',');_0x2cfb08['system'][_0x1cd3('0x1248')]=_0x8fbc93[0x0];_0x2cfb08[_0x1cd3('0xa13')][_0x1cd3('0x1249')]=_0x8fbc93[0x1];_0x2cfb08[_0x1cd3('0xa13')][_0x1cd3('0x124a')]=_0x8fbc93[0x2];_0x2cfb08[_0x1cd3('0xa13')][_0x1cd3('0x124f')]=_0x8fbc93[0x3];_0x2cfb08[_0x1cd3('0xa13')][_0x1cd3('0x1246')]=_0x8fbc93['slice'](0x4,_0x8fbc93[_0x1cd3('0x7a')])['join'](',');break;case _0x1cd3('0x122b'):var _0x8fbc93=_0x2cfb08[_0x1cd3('0xa13')][_0x1cd3('0x127d')]['split'](',');_0x2cfb08['system'][_0x1cd3('0x122c')]=isNaN(_0x8fbc93[0x0])?_0x8fbc93[0x0]:parseInt(_0x8fbc93[0x0],0xa);_0x2cfb08['system'][_0x1cd3('0x401')]=_0x8fbc93['slice'](0x1,_0x8fbc93['length'])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x43a'):_0x2cfb08[_0x1cd3('0xa13')][_0x1cd3('0x401')]=_0x2cfb08[_0x1cd3('0xa13')]['appdata'];break;case _0x1cd3('0x127e'):_0x2cfb08[_0x1cd3('0xa13')]['name']=_0x2cfb08[_0x1cd3('0xa13')]['appdata'][_0x1cd3('0x3ef')]('=')[0x0];_0x2cfb08[_0x1cd3('0xa13')]['value']=_0x2cfb08[_0x1cd3('0xa13')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x1];break;case _0x1cd3('0x128c'):_0x2cfb08[_0x1cd3('0xa13')][_0x1cd3('0xedd')]=_0x2cfb08['system'][_0x1cd3('0x127d')];break;default:var _0x4bdfbf=_0x2cfb08['system']['appdata'][_0x1cd3('0x3ef')](',');_0x2cfb08['system'][_0x1cd3('0xf0d')]=_[_0x1cd3('0x398')](_0x4bdfbf[0x0])?_0x4bdfbf[0x0]:isNaN(_0x4bdfbf[0x0])?_0x4bdfbf[0x0]:parseInt(_0x4bdfbf[0x0],0xa);_0x2cfb08[_0x1cd3('0xa13')][_0x1cd3('0xb84')]=_[_0x1cd3('0x398')](_0x4bdfbf[0x1])?_0x4bdfbf[0x1]:isNaN(_0x4bdfbf[0x1])?_0x4bdfbf[0x1]:parseInt(_0x4bdfbf[0x1],0xa);}}else{_0x2cfb08[_0x1cd3('0xa13')]['variable']='';}if(_0x2cfb08[_0x1cd3('0xa13')][_0x1cd3('0x424')]&&_0x2cfb08[_0x1cd3('0xa13')][_0x1cd3('0x424')]['toLowerCase']()===_0x1cd3('0x128')&&_0x2cfb08[_0x1cd3('0xa13')][_0x1cd3('0x125b')]['toLowerCase']()===_0x1cd3('0x1289')){_0x2cfb08['system']['prefix']=_0x2cfb08[_0x1cd3('0xa13')][_0x1cd3('0xf09')]?_0x2cfb08[_0x1cd3('0xa13')][_0x1cd3('0xf09')][_0x1cd3('0x3ef')]('$')[0x0]:undefined;_0x2cfb08[_0x1cd3('0xa13')][_0x1cd3('0x689')]=_0x2cfb08[_0x1cd3('0xa13')]['callerID']?'CALLERID(all)='+_0x2cfb08[_0x1cd3('0xa13')]['callerID']:undefined;}_0x2cfb08[_0x1cd3('0x1281')]=_0x188af5;_0x2cfb08['closeDialog']=_0x3ffe13;_0x5e85c9['hasRole'](_0x1cd3('0x5f'))?_0x784b22[_0x1cd3('0xb84')]['get']({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'nolimit':'true'})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x2951d){_0x2cfb08[_0x1cd3('0xef7')]=_0x2951d[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x42bb21){_0xee0c7b[_0x1cd3('0x434')]({'title':_0x42bb21[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x42bb21[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x42bb21['statusText']:_0x1cd3('0x12b3'),'msg':_0x42bb21[_0x1cd3('0x439')]?JSON['stringify'](_0x42bb21[_0x1cd3('0x439')]):_0x42bb21[_0x1cd3('0x43b')]()});}):_0x784b22[_0x1cd3('0xb84')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'nolimit':'true'})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x1a5eeb){_0x2cfb08[_0x1cd3('0xef7')]=_0x1a5eeb[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x784b22[_0x1cd3('0x390')]['get']({'userProfileId':_0x2cfb08['currentUser'][_0x1cd3('0x5e')],'sectionId':0x3f4})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x4c18d6){var _0x3ca804=_0x4c18d6&&_0x4c18d6[_0x1cd3('0xf6')]?_0x4c18d6[_0x1cd3('0xf6')][0x0]:null;if(!_0x3ca804){var _0x5d650b=[];var _0xb39acd=null;if(_0x2cfb08[_0x1cd3('0xa13')]){_0xb39acd=_['find'](_0x2cfb08[_0x1cd3('0xef7')],{'name':_0x2cfb08[_0x1cd3('0xa13')][_0x1cd3('0xb84')]});}for(var _0xa8ac05=0x0;_0xa8ac05<_0x2cfb08[_0x1cd3('0xef7')][_0x1cd3('0x7a')];_0xa8ac05++){if(_0xb39acd&&_0x2cfb08['variables'][_0xa8ac05]['id']===_0xb39acd['id']){_0x2cfb08[_0x1cd3('0xef7')][_0xa8ac05][_0x1cd3('0xf4a')]=![];_0x5d650b[_0x1cd3('0x7b')](_0x2cfb08[_0x1cd3('0xef7')][_0xa8ac05]);}}_0x2cfb08[_0x1cd3('0xef7')]=_0x5d650b;}else{if(!_0x3ca804['autoAssociation']){return _0x784b22[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x3ca804['id']})[_0x1cd3('0x81')]['then'](function(_0x574885){var _0x186422=_[_0x1cd3('0x3d9')](_0x574885[_0x1cd3('0xf6')],function(_0x42003d){return _[_0x1cd3('0x442')](_0x2cfb08['variables'],{'id':_0x42003d[_0x1cd3('0xe8e')]});});var _0x8ef669=null;if(_0x2cfb08[_0x1cd3('0xa13')]){_0x8ef669=_['find'](_0x2cfb08['variables'],{'name':_0x2cfb08[_0x1cd3('0xa13')][_0x1cd3('0xb84')]});}if(_0x8ef669&&!_[_0x1cd3('0x38d')](_0x186422,['id',_0x8ef669['id']])){var _0x2f9afc=_[_0x1cd3('0x442')](_0x2cfb08[_0x1cd3('0xef7')],{'id':_0x8ef669['id']});_0x2f9afc['canSelect']=![];_0x186422[_0x1cd3('0x7b')](_0x2f9afc);}_0x2cfb08[_0x1cd3('0xef7')]=_0x186422;});}}})['catch'](function(_0x420390){_0xee0c7b[_0x1cd3('0x434')]({'title':_0x420390[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x420390['status']+_0x1cd3('0x436')+_0x420390['statusText']:'SYSTEM:GETvariables','msg':_0x420390['data']?JSON[_0x1cd3('0x438')](_0x420390[_0x1cd3('0x439')]):_0x420390[_0x1cd3('0x43b')]()});});function _0x188af5(){_0x2cfb08['errors']=[];var _0x5e905c=[];if(_0x2cfb08[_0x1cd3('0xa13')][_0x1cd3('0x424')]&&_0x2cfb08[_0x1cd3('0xa13')][_0x1cd3('0x424')][_0x1cd3('0x433')]()==='outbound'&&_0x2cfb08[_0x1cd3('0xa13')]['appType']===_0x1cd3('0x1283')){_0x2cfb08[_0x1cd3('0xa13')][_0x1cd3('0xf09')]=_0x46ab4f[_0x1cd3('0x128a')]?(_0x2cfb08[_0x1cd3('0xa13')][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x1284')+_0x46ab4f['cutdigits']+'}':(_0x2cfb08['system'][_0x1cd3('0x6aa')]||'')+'${EXTEN}';if(_0x46ab4f[_0x1cd3('0x1285')]!==_0x1cd3('0x6ae')){if(_0x2cfb08[_0x1cd3('0xa13')][_0x1cd3('0x422')][_0x1cd3('0x45e')](_0x1cd3('0x1286'))<0x0){_0x2cfb08[_0x1cd3('0xa13')]['options']+=_0x1cd3('0x1286');}}else{_0x2cfb08['system']['options']=_0x2cfb08[_0x1cd3('0xa13')]['options'][_0x1cd3('0x3f1')](_0x1cd3('0x1286'),'');}}if(_0x2cfb08[_0x1cd3('0xa13')][_0x1cd3('0x125b')]&&_0x2cfb08['system']['appType']===_0x1cd3('0x8f6')){}else{switch((_0x2cfb08[_0x1cd3('0xa13')][_0x1cd3('0xd0a')]||_0x2cfb08[_0x1cd3('0xa13')][_0x1cd3('0x125b')])[_0x1cd3('0x433')]()){case'set':_0x2cfb08[_0x1cd3('0xa13')][_0x1cd3('0x127d')]=_0x2cfb08['system'][_0x1cd3('0x98')]+'='+_0x2cfb08['system'][_0x1cd3('0x3db')];break;case _0x1cd3('0x8f6'):break;default:_0x5e905c[0x0]=_0x2cfb08[_0x1cd3('0xa13')][_0x1cd3('0xf0d')];_0x5e905c[0x1]=_0x2cfb08[_0x1cd3('0xa13')][_0x1cd3('0xb84')];_0x2cfb08[_0x1cd3('0xa13')]['appdata']=_0x5e905c[_0x1cd3('0x3de')](',');}}_0x3ffe13(_0x2cfb08['system']);}function _0x3ffe13(_0x336651){_0x1dadc3['hide'](_0x336651);}}}());(function(){'use strict';_0xfd29a2['$inject']=[_0x1cd3('0x3c5'),'$q','toasty','chatWebsiteApp',_0x1cd3('0xb02'),_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x2e'))[_0x1cd3('0x39b')](_0x1cd3('0x12b4'),_0xfd29a2);function _0xfd29a2(_0x3d8439,_0x4bbe2e,_0x1af7b4,_0x334116,_0x3eab91,_0x1fd6be,_0x246383,_0x565001){var _0x5caba7=this;_0x5caba7[_0x1cd3('0x3ca')]=_0x246383[_0x1cd3('0x5d')]();_0x5caba7[_0x1cd3('0xd34')]=[];_0x5caba7['title']='CHAT.EDIT_'+(_0x334116['appType']||_0x334116[_0x1cd3('0xd0a')])[_0x1cd3('0x437')]();_0x5caba7['tag']=angular[_0x1cd3('0x429')](_0x334116);_0x5caba7[_0x1cd3('0xd27')]=_0x565001;_0x5caba7['hasModulePermissions']={};if(_0x5caba7[_0x1cd3('0xb76')]['appdata']){switch(_0x5caba7[_0x1cd3('0xb76')][_0x1cd3('0x125b')]?_0x5caba7[_0x1cd3('0xb76')]['appType'][_0x1cd3('0x433')]():_0x5caba7[_0x1cd3('0xb76')][_0x1cd3('0xd0a')][_0x1cd3('0x433')]()){case _0x1cd3('0x8f6'):break;case _0x1cd3('0x1233'):var _0x679c48=_0x5caba7[_0x1cd3('0xb76')][_0x1cd3('0x127d')]['split'](',');_0x5caba7[_0x1cd3('0xb76')][_0x1cd3('0x65c')]=_0x679c48[0x0];_0x5caba7[_0x1cd3('0xb76')][_0x1cd3('0x3f3')]=_0x679c48[0x1];_0x5caba7['tag'][_0x1cd3('0x1246')]=_0x679c48[_0x1cd3('0x9a2')](0x2,_0x679c48[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x1247'):var _0x679c48=_0x5caba7['tag'][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x5caba7[_0x1cd3('0xb76')]['accesskeyid']=_0x679c48[0x0];_0x5caba7['tag'][_0x1cd3('0x1249')]=_0x679c48[0x1];_0x5caba7[_0x1cd3('0xb76')][_0x1cd3('0x124a')]=_0x679c48[0x2];_0x5caba7[_0x1cd3('0xb76')][_0x1cd3('0x124f')]=_0x679c48[0x3];_0x5caba7[_0x1cd3('0xb76')][_0x1cd3('0x1246')]=_0x679c48['slice'](0x4,_0x679c48['length'])['join'](',');break;case'autoreply':var _0x679c48=_0x5caba7[_0x1cd3('0xb76')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x5caba7['tag'][_0x1cd3('0x122c')]=isNaN(_0x679c48[0x0])?_0x679c48[0x0]:parseInt(_0x679c48[0x0],0xa);_0x5caba7['tag'][_0x1cd3('0x401')]=_0x679c48[_0x1cd3('0x9a2')](0x1,_0x679c48[_0x1cd3('0x7a')])['join'](',');break;case _0x1cd3('0x43a'):_0x5caba7[_0x1cd3('0xb76')][_0x1cd3('0x401')]=_0x5caba7['tag'][_0x1cd3('0x127d')];break;case _0x1cd3('0x127e'):_0x5caba7[_0x1cd3('0xb76')][_0x1cd3('0x98')]=_0x5caba7[_0x1cd3('0xb76')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x0];_0x5caba7[_0x1cd3('0xb76')][_0x1cd3('0x3db')]=_0x5caba7[_0x1cd3('0xb76')][_0x1cd3('0x127d')]['split']('=')[0x1];break;case _0x1cd3('0x128c'):_0x5caba7[_0x1cd3('0xb76')][_0x1cd3('0xedd')]=_0x5caba7['tag']['appdata'];break;default:var _0x3f913c=_0x5caba7['tag']['appdata']['split'](',');_0x5caba7[_0x1cd3('0xb76')]['tag']=_[_0x1cd3('0x398')](_0x3f913c[0x0])?_0x3f913c[0x0]:isNaN(_0x3f913c[0x0])?_0x3f913c[0x0]:parseInt(_0x3f913c[0x0],0xa);}}else{}if(_0x5caba7[_0x1cd3('0xb76')]['type']&&_0x5caba7[_0x1cd3('0xb76')][_0x1cd3('0x424')][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x5caba7[_0x1cd3('0xb76')]['appType'][_0x1cd3('0x433')]()===_0x1cd3('0x1289')){_0x5caba7[_0x1cd3('0xb76')][_0x1cd3('0x6aa')]=_0x5caba7[_0x1cd3('0xb76')]['phone']?_0x5caba7[_0x1cd3('0xb76')][_0x1cd3('0xf09')][_0x1cd3('0x3ef')]('$')[0x0]:undefined;_0x5caba7['tag'][_0x1cd3('0x689')]=_0x5caba7['tag'][_0x1cd3('0x127f')]?_0x1cd3('0x1280')+_0x5caba7[_0x1cd3('0xb76')][_0x1cd3('0x127f')]:undefined;}_0x5caba7[_0x1cd3('0x1281')]=_0x3ab7fb;_0x5caba7[_0x1cd3('0x39c')]=_0x4d1c7f;_0x246383['hasRole']('admin')?_0x1fd6be[_0x1cd3('0xb76')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x2962e6){_0x5caba7[_0x1cd3('0x921')]=_0x2962e6[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x33c33d){_0x1af7b4[_0x1cd3('0x434')]({'title':_0x33c33d[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x33c33d[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x33c33d['statusText']:'SYSTEM:GET_TAGS','msg':_0x33c33d[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x33c33d[_0x1cd3('0x439')]):_0x33c33d['toString']()});}):_0x1fd6be['tag'][_0x1cd3('0x361')]({'fields':'id,name','sort':_0x1cd3('0x98'),'nolimit':'true'})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x3ea11d){_0x5caba7[_0x1cd3('0x921')]=_0x3ea11d[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x1fd6be[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x5caba7[_0x1cd3('0x3ca')]['userProfileId'],'sectionId':0x3f0})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x50b405){var _0x455cee=_0x50b405&&_0x50b405['rows']?_0x50b405[_0x1cd3('0xf6')][0x0]:null;if(!_0x455cee){var _0x55cd79=[];var _0x37a57e=null;if(_0x5caba7[_0x1cd3('0xb76')]){_0x37a57e=_[_0x1cd3('0x442')](_0x5caba7[_0x1cd3('0x921')],{'name':_0x5caba7['tag'][_0x1cd3('0xb76')]});}for(var _0xc09cf8=0x0;_0xc09cf8<_0x5caba7[_0x1cd3('0x921')][_0x1cd3('0x7a')];_0xc09cf8++){if(_0x37a57e&&_0x5caba7[_0x1cd3('0x921')][_0xc09cf8]['id']===_0x37a57e['id']){_0x5caba7[_0x1cd3('0x921')][_0xc09cf8]['canSelect']=![];_0x55cd79[_0x1cd3('0x7b')](_0x5caba7[_0x1cd3('0x921')][_0xc09cf8]);}}_0x5caba7[_0x1cd3('0x921')]=_0x55cd79;}else{if(!_0x455cee[_0x1cd3('0x391')]){return _0x1fd6be[_0x1cd3('0x392')]['get']({'sectionId':_0x455cee['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x437303){var _0x2e0d48=_[_0x1cd3('0x3d9')](_0x437303[_0x1cd3('0xf6')],function(_0x5e45a){return _[_0x1cd3('0x442')](_0x5caba7[_0x1cd3('0x921')],{'id':_0x5e45a[_0x1cd3('0xe8e')]});});var _0x3a5514=null;if(_0x5caba7[_0x1cd3('0xb76')]){_0x3a5514=_[_0x1cd3('0x442')](_0x5caba7[_0x1cd3('0x921')],{'name':_0x5caba7[_0x1cd3('0xb76')][_0x1cd3('0xb76')]});}if(_0x3a5514&&!_[_0x1cd3('0x38d')](_0x2e0d48,['id',_0x3a5514['id']])){var _0x42f01d=_[_0x1cd3('0x442')](_0x5caba7[_0x1cd3('0x921')],{'id':_0x3a5514['id']});_0x42f01d[_0x1cd3('0xf4a')]=![];_0x2e0d48[_0x1cd3('0x7b')](_0x42f01d);}_0x5caba7[_0x1cd3('0x921')]=_0x2e0d48;});}}})[_0x1cd3('0xfd')](function(_0x522060){_0x1af7b4['error']({'title':_0x522060[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x522060[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x522060[_0x1cd3('0xd35')]:_0x1cd3('0x12b5'),'msg':_0x522060[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x522060[_0x1cd3('0x439')]):_0x522060[_0x1cd3('0x43b')]()});});function _0x3ab7fb(){_0x5caba7[_0x1cd3('0xd34')]=[];var _0x101e7a=[];if(_0x5caba7[_0x1cd3('0xb76')]['type']&&_0x5caba7[_0x1cd3('0xb76')][_0x1cd3('0x424')][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x5caba7[_0x1cd3('0xb76')][_0x1cd3('0x125b')]==='outboundDial'){_0x5caba7[_0x1cd3('0xb76')][_0x1cd3('0xf09')]=_0x3eab91[_0x1cd3('0x128a')]?(_0x5caba7[_0x1cd3('0xb76')][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x1284')+_0x3eab91[_0x1cd3('0x128a')]+'}':(_0x5caba7[_0x1cd3('0xb76')][_0x1cd3('0x6aa')]||'')+'${EXTEN}';if(_0x3eab91['recordingFormat']!==_0x1cd3('0x6ae')){if(_0x5caba7['tag'][_0x1cd3('0x422')]['indexOf'](_0x1cd3('0x1286'))<0x0){_0x5caba7[_0x1cd3('0xb76')][_0x1cd3('0x422')]+=_0x1cd3('0x1286');}}else{_0x5caba7[_0x1cd3('0xb76')][_0x1cd3('0x422')]=_0x5caba7[_0x1cd3('0xb76')]['options'][_0x1cd3('0x3f1')](_0x1cd3('0x1286'),'');}}var _0x4542ce=_[_0x1cd3('0x442')](_0x5caba7[_0x1cd3('0x921')],{'name':_0x5caba7[_0x1cd3('0xb76')][_0x1cd3('0xb76')]});if(_0x4542ce){_0x5caba7[_0x1cd3('0xb76')]['TagId']=_0x4542ce['id'];}if(_0x5caba7[_0x1cd3('0xb76')][_0x1cd3('0x125b')]&&_0x5caba7[_0x1cd3('0xb76')][_0x1cd3('0x125b')]===_0x1cd3('0x8f6')){}else{switch((_0x5caba7[_0x1cd3('0xb76')][_0x1cd3('0xd0a')]||_0x5caba7[_0x1cd3('0xb76')]['appType'])[_0x1cd3('0x433')]()){case _0x1cd3('0x127e'):_0x5caba7[_0x1cd3('0xb76')][_0x1cd3('0x127d')]=_0x5caba7[_0x1cd3('0xb76')][_0x1cd3('0x98')]+'='+_0x5caba7[_0x1cd3('0xb76')][_0x1cd3('0x3db')];break;case _0x1cd3('0x8f6'):break;default:_0x101e7a[0x0]=_0x5caba7[_0x1cd3('0xb76')][_0x1cd3('0xb76')];_0x5caba7[_0x1cd3('0xb76')][_0x1cd3('0x127d')]=_0x101e7a['join'](',');}}_0x4d1c7f(_0x5caba7[_0x1cd3('0xb76')]);}function _0x4d1c7f(_0x32901d){_0x3d8439[_0x1cd3('0x39d')](_0x32901d);}}}());(function(){'use strict';_0x5669d7[_0x1cd3('0xc')]=[_0x1cd3('0x36f'),_0x1cd3('0x460'),_0x1cd3('0x53e'),'$q',_0x1cd3('0x3f7'),_0x1cd3('0x3e7'),_0x1cd3('0x3c5'),'$document',_0x1cd3('0x461'),'api',_0x1cd3('0x56')];angular[_0x1cd3('0x0')](_0x1cd3('0x2e'))[_0x1cd3('0x39b')](_0x1cd3('0x12b6'),_0x5669d7);function _0x5669d7(_0x9bd91c,_0x57193a,_0xe66693,_0x31bedf,_0xd7d2a5,_0x1fab75,_0x229054,_0x56a210,_0x1a5daa,_0x3f0652,_0xc6548){var _0x1cfc38=this;_0x1cfc38[_0x1cd3('0x3ca')]=_0xc6548[_0x1cd3('0x5d')]();_0x1cfc38[_0x1cd3('0xb02')]={};_0x1cfc38['chatWebsiteChatCannedAnswers']={'count':0x0,'rows':[]};_0x1cfc38[_0x1cd3('0x12b7')]=[];_0x1cfc38[_0x1cd3('0xd27')];_0x1cfc38[_0x1cd3('0x3d4')]={'fields':'createdAt,updatedAt,id,key,value,description','limit':0xa,'page':0x1};_0x1cfc38[_0x1cd3('0xe08')]=_0x34f969;_0x1cfc38['deleteConfirm']=_0x516dca;_0x1cfc38['success']=_0x4f705d;_0x1cfc38[_0x1cd3('0x12b8')]=_0x35b07e;_0x1cfc38[_0x1cd3('0x12b9')]=_0x3d9277;_0x1cfc38[_0x1cd3('0x12ba')]=_0x38b552;_0x1cfc38['deleteChatWebsiteChatCannedAnswer']=_0x21ff39;_0x1cfc38[_0x1cd3('0x12bb')]=_0xacbbaa;function _0x34f969(_0x5386f5,_0x2babd9){_0x1cfc38['chatWebsite']=_0x5386f5;_0x1cfc38[_0x1cd3('0xd27')]=typeof _0x2babd9!==_0x1cd3('0x491')?_0x2babd9:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x1cfc38[_0x1cd3('0x3d4')][_0x1cd3('0x1203')]=_0x1cfc38[_0x1cd3('0xb02')]['id'];_0x1cfc38[_0x1cd3('0x3d4')]['id']=_0x1cfc38[_0x1cd3('0xb02')]['id'];_0x35b07e();}function _0x516dca(_0x5b711c,_0x26b7b3){var _0x2f93a0=_0x229054[_0x1cd3('0xd39')]()[_0x1cd3('0x486')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20chatCannedAnswer?')[_0x1cd3('0xd60')](_0x1cd3('0xd51')+(_0x5b711c[_0x1cd3('0x98')]||_0x5b711c['id']&&_[_0x1cd3('0x12bc')]('chatCannedAnswer\x20#')+_0x5b711c['id']||_0x1cd3('0x12bd'))+'</b>'+_0x1cd3('0xd53'))['ariaLabel'](_0x1cd3('0x12be'))[_0x1cd3('0xd63')](_0x26b7b3)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x229054['show'](_0x2f93a0)[_0x1cd3('0x77')](function(){_0x21ff39(_0x5b711c);},function(){console['log']('CANCEL');});}function _0x4f705d(_0x32199d){_0x1cfc38[_0x1cd3('0x12bf')]=_0x32199d||{'count':0x0,'rows':[]};}function _0x35b07e(){_0x1cfc38[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0x1cfc38[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0x1cfc38[_0x1cd3('0x3d4')]['limit'];_0x1cfc38[_0x1cd3('0x539')]=_0x3f0652[_0x1cd3('0xb02')]['getAnswers'](_0x1cfc38['query'],_0x4f705d)[_0x1cd3('0x81')];}function _0x3d9277(_0x1997ef,_0x71baab){_0x229054[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x12c0'),'controllerAs':'vm','templateUrl':'app/main/apps/chat/views/chatWebsites/edit/chatCannedAnswers/dialog.html','parent':angular[_0x1cd3('0x37f')](_0x56a210[_0x1cd3('0x380')]),'targetEvent':_0x1997ef,'clickOutsideToClose':!![],'locals':{'chatWebsite':_0x1cfc38[_0x1cd3('0xb02')],'chatCannedAnswer':_0x71baab,'chatCannedAnswers':_0x1cfc38[_0x1cd3('0x12bf')][_0x1cd3('0xf6')],'license':null,'setting':null,'crudPermissions':_0x1cfc38[_0x1cd3('0xd27')]}});}function _0x21ff39(_0x8a509a){_0x3f0652[_0x1cd3('0x12c1')][_0x1cd3('0xa1c')]({'id':_0x8a509a['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x1cfc38[_0x1cd3('0x12bf')]['rows'],{'id':_0x8a509a['id']});_0x1cfc38[_0x1cd3('0x12bf')]['count']-=0x1;if(!_0x1cfc38['chatWebsiteChatCannedAnswers'][_0x1cd3('0xf6')]['length']){_0x35b07e();}_0x1a5daa['success']({'title':_0x1cd3('0x12c2'),'msg':_0x8a509a[_0x1cd3('0x98')]?_0x8a509a[_0x1cd3('0x98')]+_0x1cd3('0xd41'):''});})['catch'](function(_0x549abf){if(_0x549abf['data']&&_0x549abf[_0x1cd3('0x439')]['errors']&&_0x549abf[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){vm[_0x1cd3('0xd34')]=_0x549abf[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x549abf[_0x1cd3('0x43b')](),'type':'SYSTEM:GETchatWebsite'}];for(var _0x40e8ad=0x0;_0x40e8ad<_0x549abf[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0x40e8ad++){_0x1a5daa[_0x1cd3('0x434')]({'title':_0x549abf['data'][_0x1cd3('0xd34')][_0x40e8ad]['type'],'msg':_0x549abf[_0x1cd3('0x439')]['errors'][_0x40e8ad][_0x1cd3('0x43a')]});}}else{_0x1a5daa[_0x1cd3('0x434')]({'title':_0x549abf['status']?_0x1cd3('0x435')+_0x549abf[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x549abf[_0x1cd3('0xd35')]:'SYSTEM:GETchatWebsite','msg':_0x549abf[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x549abf[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x549abf['message']||_0x549abf[_0x1cd3('0x43b')]()});}});}function _0x38b552(){var _0x553550=angular[_0x1cd3('0x429')](_0x1cfc38[_0x1cd3('0x12b7')]);_0x1cfc38[_0x1cd3('0x12b7')]=[];return _0x553550;}function _0xacbbaa(_0x42b223){var _0x2f422f=_0x229054[_0x1cd3('0xd39')]()[_0x1cd3('0x486')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20chatCannedAnswers?')[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x1cfc38[_0x1cd3('0x12b7')][_0x1cd3('0x7a')]+_0x1cd3('0xd61')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x12c3'))[_0x1cd3('0xd63')](_0x42b223)['ok']('OK')['cancel']('CANCEL');_0x229054[_0x1cd3('0x37e')](_0x2f422f)['then'](function(){_0x1cfc38[_0x1cd3('0x12b7')][_0x1cd3('0x394')](function(_0x5e697b){_0x21ff39(_0x5e697b);});_0x1cfc38[_0x1cd3('0x12b7')]=[];});}var _0x2c4fb7=!![];var _0x2c9075=0x1;_0x57193a['$watch']('vm_dc.query.filter',function(_0x26e61e,_0x568f34){if(_0x2c4fb7){_0x1fab75(function(){_0x2c4fb7=![];});}else{if(!_0x568f34){_0x2c9075=_0x1cfc38[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0x26e61e!==_0x568f34){_0x1cfc38[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}if(!_0x26e61e){_0x1cfc38[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0x2c9075;}_0x35b07e();}});}}());(function(){'use strict';_0x32ace5[_0x1cd3('0xc')]=[_0x1cd3('0x460'),'$state',_0x1cd3('0xd24'),_0x1cd3('0x3c5'),'$q',_0x1cd3('0x3f7'),_0x1cd3('0x461'),_0x1cd3('0x12c4'),_0x1cd3('0x12bd'),_0x1cd3('0x370'),'Auth','license','setting',_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x2e'))[_0x1cd3('0x39b')](_0x1cd3('0x12c0'),_0x32ace5);function _0x32ace5(_0x149dfb,_0x14bc0c,_0x37fe8c,_0x28cc88,_0x196b59,_0x40e889,_0x16eb64,_0x383ce7,_0x4769ab,_0x593e00,_0x1e599b,_0x74a484,_0x52f900,_0xec5f17){var _0x218b82=this;_0x218b82[_0x1cd3('0x3ca')]=_0x1e599b[_0x1cd3('0x5d')]();_0x218b82[_0x1cd3('0xd34')]=[];_0x218b82[_0x1cd3('0xc49')]=_0x52f900;_0x218b82['license']=_0x74a484;_0x218b82[_0x1cd3('0xd27')]=_0xec5f17;_0x218b82[_0x1cd3('0xd28')]={};_0x218b82[_0x1cd3('0xd29')]=_0x218b82[_0x1cd3('0xc49')]&&_0x218b82[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x218b82[_0x1cd3('0x486')]=_0x1cd3('0x12c5');_0x218b82[_0x1cd3('0x12bd')]=angular[_0x1cd3('0x429')](_0x4769ab);_0x218b82[_0x1cd3('0x12c4')]=_0x383ce7;_0x218b82[_0x1cd3('0x12c6')]=![];if(!_0x218b82[_0x1cd3('0x12bd')]){_0x218b82['chatCannedAnswer']={};_0x218b82[_0x1cd3('0x486')]=_0x1cd3('0x12c7');_0x218b82[_0x1cd3('0x12c6')]=!![];}if(_0x14bc0c[_0x1cd3('0x36a')]['id']){_0x218b82[_0x1cd3('0x12bd')]['ChatWebsiteId']=_0x14bc0c[_0x1cd3('0x36a')]['id'];}_0x218b82[_0x1cd3('0x12c8')]=_0x5f39ff;_0x218b82[_0x1cd3('0x12c9')]=_0x5f3f68;_0x218b82[_0x1cd3('0x12ca')]=_0x3b6f63;_0x218b82[_0x1cd3('0xd31')]=_0x47ba3e;_0x218b82[_0x1cd3('0x39c')]=_0x48c879;function _0x5f39ff(){_0x218b82[_0x1cd3('0xd34')]=[];_0x593e00[_0x1cd3('0x12c1')][_0x1cd3('0xd6d')](_0x218b82[_0x1cd3('0x12bd')])[_0x1cd3('0x81')]['then'](function(_0x131261){_0x218b82[_0x1cd3('0x12c4')][_0x1cd3('0x621')](_0x131261[_0x1cd3('0xd32')]());_0x16eb64[_0x1cd3('0x473')]({'title':_0x1cd3('0x12cb'),'msg':_0x218b82[_0x1cd3('0x12bd')][_0x1cd3('0x98')]?_0x218b82[_0x1cd3('0x12bd')][_0x1cd3('0x98')]+_0x1cd3('0xd33'):''});_0x48c879(_0x131261);})[_0x1cd3('0xfd')](function(_0x4deb93){if(_0x4deb93[_0x1cd3('0x439')]&&_0x4deb93[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x4deb93[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')]){_0x218b82['errors']=_0x4deb93[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x4deb93['toString'](),'type':'api.cannedAnswer.save'}];for(var _0x311e13=0x0;_0x311e13<_0x4deb93[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0x311e13+=0x1){_0x16eb64['error']({'title':_0x4deb93[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x311e13][_0x1cd3('0x424')],'msg':_0x4deb93[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x311e13][_0x1cd3('0x43a')]});}}else{_0x16eb64[_0x1cd3('0x434')]({'title':_0x4deb93[_0x1cd3('0x3a6')]?'API:'+_0x4deb93[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x4deb93['statusText']:_0x1cd3('0x12cc'),'msg':_0x4deb93[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x4deb93[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x4deb93[_0x1cd3('0x43b')]()});}});}function _0x5f3f68(){_0x218b82[_0x1cd3('0xd34')]=[];_0x593e00[_0x1cd3('0x12c1')][_0x1cd3('0x378')]({'id':_0x218b82['chatCannedAnswer']['id']},_0x218b82[_0x1cd3('0x12bd')])['$promise'][_0x1cd3('0x77')](function(_0x3baec5){var _0x498adc=_[_0x1cd3('0x442')](_0x218b82[_0x1cd3('0x12c4')],{'id':_0x3baec5['id']});if(_0x498adc){_[_0x1cd3('0xf2')](_0x498adc,_[_0x1cd3('0x5e8')](_0x3baec5[_0x1cd3('0xd32')](),_[_0x1cd3('0x80')](_0x498adc)));}_0x16eb64[_0x1cd3('0x473')]({'title':_0x1cd3('0x12cd'),'msg':_0x218b82['chatCannedAnswer']['name']?_0x218b82[_0x1cd3('0x12bd')][_0x1cd3('0x98')]+'\x20has\x20been\x20saved!':''});_0x48c879(_0x3baec5);})[_0x1cd3('0xfd')](function(_0x3b031a){if(_0x3b031a[_0x1cd3('0x439')]&&_0x3b031a['data'][_0x1cd3('0xd34')]&&_0x3b031a[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')]){_0x218b82['errors']=_0x3b031a[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x3b031a[_0x1cd3('0x43b')](),'type':_0x1cd3('0x12ce')}];for(var _0x31a4d4=0x0;_0x31a4d4<_0x3b031a[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0x31a4d4++){_0x16eb64[_0x1cd3('0x434')]({'title':_0x3b031a[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x31a4d4][_0x1cd3('0x424')],'msg':_0x3b031a[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x31a4d4][_0x1cd3('0x43a')]});}}else{_0x16eb64['error']({'title':_0x3b031a[_0x1cd3('0x3a6')]?'API:'+_0x3b031a[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x3b031a[_0x1cd3('0xd35')]:_0x1cd3('0x12ce'),'msg':_0x3b031a[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x3b031a[_0x1cd3('0x439')]['message']):_0x3b031a['toString']()});}});}function _0x3b6f63(_0x90a244){_0x218b82[_0x1cd3('0xd34')]=[];var _0x549e36=_0x28cc88[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xd3a'))[_0x1cd3('0xd3b')](_0x1cd3('0x12cf'))['ariaLabel'](_0x1cd3('0x12d0'))['ok'](_0x1cd3('0xd3f'))[_0x1cd3('0x4d8')](_0x1cd3('0x674'))[_0x1cd3('0xd63')](_0x90a244);_0x28cc88[_0x1cd3('0x37e')](_0x549e36)[_0x1cd3('0x77')](function(){_0x593e00[_0x1cd3('0x12c1')][_0x1cd3('0xa1c')]({'id':_0x218b82[_0x1cd3('0x12bd')]['id']})['$promise'][_0x1cd3('0x77')](function(){_['remove'](_0x218b82[_0x1cd3('0x12c4')],{'id':_0x218b82[_0x1cd3('0x12bd')]['id']});_0x16eb64['success']({'title':'ChatCannedAnswer\x20properly\x20deleted!','msg':(_0x218b82[_0x1cd3('0x12bd')][_0x1cd3('0x98')]||_0x1cd3('0x12bd'))+_0x1cd3('0xd41')});_0x48c879(_0x218b82[_0x1cd3('0x12bd')]);})[_0x1cd3('0xfd')](function(_0x2979db){if(_0x2979db[_0x1cd3('0x439')]&&_0x2979db['data'][_0x1cd3('0xd34')]&&_0x2979db[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')]){_0x218b82[_0x1cd3('0xd34')]=_0x2979db[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x2979db[_0x1cd3('0x43b')](),'type':_0x1cd3('0x12d1')}];for(var _0x50d0cf=0x0;_0x50d0cf<_0x2979db[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x50d0cf++){_0x16eb64[_0x1cd3('0x434')]({'title':_0x2979db[_0x1cd3('0x439')]['errors'][_0x50d0cf][_0x1cd3('0x424')],'msg':_0x2979db[_0x1cd3('0x439')]['errors'][_0x50d0cf][_0x1cd3('0x43a')]});}}else{_0x16eb64[_0x1cd3('0x434')]({'title':_0x2979db[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x2979db[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x2979db['statusText']:_0x1cd3('0x12d1'),'msg':_0x2979db[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x2979db['data'][_0x1cd3('0x43a')]):_0x2979db['message']||_0x2979db[_0x1cd3('0x43b')]()});}});},function(){});}function _0x47ba3e(_0x5d07e6){return _0x5d07e6===null?undefined:new Date(_0x5d07e6);}function _0x48c879(_0x1cc167){_0x28cc88[_0x1cd3('0x39d')](_0x1cc167);}}}());(function(){'use strict';_0x2a1895[_0x1cd3('0xc')]=[_0x1cd3('0x36f'),'$scope',_0x1cd3('0x53e'),'$q',_0x1cd3('0x3f7'),_0x1cd3('0x3e7'),'$mdDialog',_0x1cd3('0x372'),_0x1cd3('0x461'),_0x1cd3('0x370'),'Auth'];angular[_0x1cd3('0x0')](_0x1cd3('0x2e'))[_0x1cd3('0x39b')](_0x1cd3('0x12d2'),_0x2a1895);function _0x2a1895(_0x18a118,_0x4ae3a3,_0x588b1a,_0x43023d,_0x47b634,_0x4900b5,_0x5a299a,_0x15a0af,_0xfa0d06,_0x139510,_0x37f4f5){var _0x5dfd77=this;_0x5dfd77[_0x1cd3('0x3ca')]=_0x37f4f5['getCurrentUser']();_0x5dfd77[_0x1cd3('0xb02')]={};_0x5dfd77['chatWebsiteChatDispositions']={'count':0x0,'rows':[]};_0x5dfd77[_0x1cd3('0x12d3')]=[];_0x5dfd77[_0x1cd3('0xd27')];_0x5dfd77['query']={'fields':'createdAt,updatedAt,id,name','limit':0xa,'page':0x1};_0x5dfd77[_0x1cd3('0xe08')]=_0x2b3bae;_0x5dfd77[_0x1cd3('0xe0a')]=_0x405172;_0x5dfd77[_0x1cd3('0x473')]=_0x55ad15;_0x5dfd77['getChatWebsiteChatDispositions']=_0x2b6e7e;_0x5dfd77[_0x1cd3('0x12d4')]=_0x57d5c5;_0x5dfd77['exportSelectedChatWebsiteChatDispositions']=_0x5e37cf;_0x5dfd77[_0x1cd3('0x12d5')]=_0x46df29;_0x5dfd77['deleteSelectedChatWebsiteChatDispositions']=_0x6f0fb7;function _0x2b3bae(_0x1382c0,_0x3d2dd9){_0x5dfd77[_0x1cd3('0xb02')]=_0x1382c0;_0x5dfd77[_0x1cd3('0xd27')]=typeof _0x3d2dd9!=='undefined'?_0x3d2dd9:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x5dfd77[_0x1cd3('0x3d4')]['ChatWebsiteId']=_0x5dfd77[_0x1cd3('0xb02')]['id'];_0x5dfd77[_0x1cd3('0x3d4')]['id']=_0x5dfd77[_0x1cd3('0xb02')]['id'];_0x2b6e7e();}function _0x405172(_0x28afb2,_0x507148){var _0xe98edf=_0x5a299a[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x12d6'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+(_0x28afb2[_0x1cd3('0x98')]||_0x28afb2['id']&&_[_0x1cd3('0x12bc')](_0x1cd3('0x12d7'))+_0x28afb2['id']||_0x1cd3('0x12d8'))+_0x1cd3('0xd52')+_0x1cd3('0xd53'))['ariaLabel'](_0x1cd3('0x12d9'))[_0x1cd3('0xd63')](_0x507148)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x5a299a[_0x1cd3('0x37e')](_0xe98edf)[_0x1cd3('0x77')](function(){_0x46df29(_0x28afb2);},function(){console[_0x1cd3('0x7d')]('CANCEL');});}function _0x55ad15(_0x343777){_0x5dfd77[_0x1cd3('0x12da')]=_0x343777||{'count':0x0,'rows':[]};}function _0x2b6e7e(){_0x5dfd77[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0x5dfd77['query'][_0x1cd3('0x8fd')]-0x1)*_0x5dfd77[_0x1cd3('0x3d4')]['limit'];_0x5dfd77[_0x1cd3('0x539')]=_0x139510[_0x1cd3('0xb02')][_0x1cd3('0x12db')](_0x5dfd77['query'],_0x55ad15)[_0x1cd3('0x81')];}function _0x57d5c5(_0x1b9b67,_0x911ce1){_0x5a299a[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x12dc'),'controllerAs':'vm','templateUrl':_0x1cd3('0x12dd'),'parent':angular[_0x1cd3('0x37f')](_0x15a0af[_0x1cd3('0x380')]),'targetEvent':_0x1b9b67,'clickOutsideToClose':!![],'locals':{'chatWebsite':_0x5dfd77[_0x1cd3('0xb02')],'chatDisposition':_0x911ce1,'chatDispositions':_0x5dfd77[_0x1cd3('0x12da')][_0x1cd3('0xf6')],'license':null,'setting':null,'crudPermissions':_0x5dfd77[_0x1cd3('0xd27')]}});}function _0x46df29(_0x19d4bc){_0x139510['disposition'][_0x1cd3('0xa1c')]({'id':_0x19d4bc['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x5dfd77[_0x1cd3('0x12da')]['rows'],{'id':_0x19d4bc['id']});_0x5dfd77[_0x1cd3('0x12da')]['count']-=0x1;if(!_0x5dfd77['chatWebsiteChatDispositions'][_0x1cd3('0xf6')]['length']){_0x2b6e7e();}_0xfa0d06[_0x1cd3('0x473')]({'title':_0x1cd3('0x12de'),'msg':_0x19d4bc[_0x1cd3('0x98')]?_0x19d4bc[_0x1cd3('0x98')]+_0x1cd3('0xd41'):''});})[_0x1cd3('0xfd')](function(_0x1cca84){if(_0x1cca84[_0x1cd3('0x439')]&&_0x1cca84[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x1cca84[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){vm[_0x1cd3('0xd34')]=_0x1cca84[_0x1cd3('0x439')]['errors']||[{'message':_0x1cca84['toString'](),'type':_0x1cd3('0x12df')}];for(var _0x15a005=0x0;_0x15a005<_0x1cca84['data']['errors']['length'];_0x15a005++){_0xfa0d06[_0x1cd3('0x434')]({'title':_0x1cca84[_0x1cd3('0x439')]['errors'][_0x15a005][_0x1cd3('0x424')],'msg':_0x1cca84[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x15a005][_0x1cd3('0x43a')]});}}else{_0xfa0d06[_0x1cd3('0x434')]({'title':_0x1cca84[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x1cca84[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x1cca84[_0x1cd3('0xd35')]:_0x1cd3('0x12df'),'msg':_0x1cca84[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x1cca84[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x1cca84['message']||_0x1cca84[_0x1cd3('0x43b')]()});}});}function _0x5e37cf(){var _0x948a9d=angular['copy'](_0x5dfd77[_0x1cd3('0x12d3')]);_0x5dfd77['selectedChatWebsiteChatDispositions']=[];return _0x948a9d;}function _0x6f0fb7(_0x10d18d){var _0x133bf2=_0x5a299a[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x12e0'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x5dfd77[_0x1cd3('0x12d3')]['length']+_0x1cd3('0xd61')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')]('delete\x20chatDispositions')[_0x1cd3('0xd63')](_0x10d18d)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x5a299a[_0x1cd3('0x37e')](_0x133bf2)[_0x1cd3('0x77')](function(){_0x5dfd77[_0x1cd3('0x12d3')][_0x1cd3('0x394')](function(_0x644411){_0x46df29(_0x644411);});_0x5dfd77[_0x1cd3('0x12d3')]=[];});}var _0x2df4c4=!![];var _0x3b8448=0x1;_0x4ae3a3[_0x1cd3('0x4d6')]('vm_dc.query.filter',function(_0x375ae0,_0x1f5ca4){if(_0x2df4c4){_0x4900b5(function(){_0x2df4c4=![];});}else{if(!_0x1f5ca4){_0x3b8448=_0x5dfd77[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0x375ae0!==_0x1f5ca4){_0x5dfd77['query']['page']=0x1;}if(!_0x375ae0){_0x5dfd77[_0x1cd3('0x3d4')]['page']=_0x3b8448;}_0x2b6e7e();}});}}());(function(){'use strict';_0x25c4e7['$inject']=[_0x1cd3('0x460'),_0x1cd3('0x53e'),_0x1cd3('0xd24'),_0x1cd3('0x3c5'),'$q',_0x1cd3('0x3f7'),_0x1cd3('0x461'),'chatDispositions','chatDisposition','api',_0x1cd3('0x56'),_0x1cd3('0x463'),_0x1cd3('0xc49'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')]('app.chat')[_0x1cd3('0x39b')]('CreateOrEditChatDispositionDialogController',_0x25c4e7);function _0x25c4e7(_0x5ae872,_0x57cd25,_0x542e8c,_0x269084,_0x248af8,_0x2c32f7,_0x4261db,_0x5e8d0a,_0x443b58,_0x20ac0e,_0x46ac7f,_0x3ffbab,_0x422829,_0x55197a){var _0x15a3b0=this;_0x15a3b0[_0x1cd3('0x3ca')]=_0x46ac7f[_0x1cd3('0x5d')]();_0x15a3b0[_0x1cd3('0xd34')]=[];_0x15a3b0[_0x1cd3('0xc49')]=_0x422829;_0x15a3b0[_0x1cd3('0x463')]=_0x3ffbab;_0x15a3b0[_0x1cd3('0xd27')]=_0x55197a;_0x15a3b0['hasModulePermissions']={};_0x15a3b0[_0x1cd3('0xd29')]=_0x15a3b0['setting']&&_0x15a3b0[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x15a3b0[_0x1cd3('0x486')]=_0x1cd3('0x12e1');_0x15a3b0['chatDisposition']=angular[_0x1cd3('0x429')](_0x443b58);_0x15a3b0['chatDispositions']=_0x5e8d0a;_0x15a3b0[_0x1cd3('0x12e2')]=![];if(!_0x15a3b0['chatDisposition']){_0x15a3b0[_0x1cd3('0x12d8')]={};_0x15a3b0[_0x1cd3('0x486')]=_0x1cd3('0x12e3');_0x15a3b0[_0x1cd3('0x12e2')]=!![];}if(_0x57cd25[_0x1cd3('0x36a')]['id']){_0x15a3b0[_0x1cd3('0x12d8')][_0x1cd3('0x1203')]=_0x57cd25['params']['id'];}_0x15a3b0[_0x1cd3('0x12e4')]=_0x512f8a;_0x15a3b0[_0x1cd3('0x12e5')]=_0x4960a2;_0x15a3b0['deleteChatDisposition']=_0x4c2b9d;_0x15a3b0[_0x1cd3('0xd31')]=_0x2640cb;_0x15a3b0['closeDialog']=_0x370e65;function _0x512f8a(){_0x15a3b0[_0x1cd3('0xd34')]=[];_0x20ac0e[_0x1cd3('0xb63')][_0x1cd3('0xd6d')](_0x15a3b0[_0x1cd3('0x12d8')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x45fea4){_0x15a3b0[_0x1cd3('0x12e6')][_0x1cd3('0x621')](_0x45fea4[_0x1cd3('0xd32')]());_0x4261db['success']({'title':_0x1cd3('0x12e7'),'msg':_0x15a3b0[_0x1cd3('0x12d8')][_0x1cd3('0x98')]?_0x15a3b0['chatDisposition'][_0x1cd3('0x98')]+_0x1cd3('0xd33'):''});_0x370e65(_0x45fea4);})[_0x1cd3('0xfd')](function(_0x564e0){if(_0x564e0[_0x1cd3('0x439')]&&_0x564e0[_0x1cd3('0x439')]['errors']&&_0x564e0['data'][_0x1cd3('0xd34')]['length']){_0x15a3b0[_0x1cd3('0xd34')]=_0x564e0[_0x1cd3('0x439')]['errors']||[{'message':_0x564e0[_0x1cd3('0x43b')](),'type':_0x1cd3('0x12e8')}];for(var _0x410101=0x0;_0x410101<_0x564e0[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x410101+=0x1){_0x4261db[_0x1cd3('0x434')]({'title':_0x564e0[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x410101][_0x1cd3('0x424')],'msg':_0x564e0['data'][_0x1cd3('0xd34')][_0x410101]['message']});}}else{_0x4261db[_0x1cd3('0x434')]({'title':_0x564e0['status']?'API:'+_0x564e0[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x564e0[_0x1cd3('0xd35')]:_0x1cd3('0x12e8'),'msg':_0x564e0['data']?JSON[_0x1cd3('0x438')](_0x564e0[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x564e0[_0x1cd3('0x43b')]()});}});}function _0x4960a2(){_0x15a3b0[_0x1cd3('0xd34')]=[];_0x20ac0e['disposition'][_0x1cd3('0x378')]({'id':_0x15a3b0[_0x1cd3('0x12d8')]['id']},_0x15a3b0[_0x1cd3('0x12d8')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x14e67d){var _0x29cd51=_['find'](_0x15a3b0[_0x1cd3('0x12e6')],{'id':_0x14e67d['id']});if(_0x29cd51){_[_0x1cd3('0xf2')](_0x29cd51,_[_0x1cd3('0x5e8')](_0x14e67d[_0x1cd3('0xd32')](),_[_0x1cd3('0x80')](_0x29cd51)));}_0x4261db['success']({'title':_0x1cd3('0x12e9'),'msg':_0x15a3b0[_0x1cd3('0x12d8')]['name']?_0x15a3b0[_0x1cd3('0x12d8')][_0x1cd3('0x98')]+'\x20has\x20been\x20saved!':''});_0x370e65(_0x14e67d);})[_0x1cd3('0xfd')](function(_0x337c7e){if(_0x337c7e[_0x1cd3('0x439')]&&_0x337c7e['data'][_0x1cd3('0xd34')]&&_0x337c7e[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x15a3b0[_0x1cd3('0xd34')]=_0x337c7e['data'][_0x1cd3('0xd34')]||[{'message':_0x337c7e[_0x1cd3('0x43b')](),'type':_0x1cd3('0x12ea')}];for(var _0x284735=0x0;_0x284735<_0x337c7e['data']['errors'][_0x1cd3('0x7a')];_0x284735++){_0x4261db[_0x1cd3('0x434')]({'title':_0x337c7e['data']['errors'][_0x284735][_0x1cd3('0x424')],'msg':_0x337c7e[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x284735]['message']});}}else{_0x4261db[_0x1cd3('0x434')]({'title':_0x337c7e[_0x1cd3('0x3a6')]?'API:'+_0x337c7e[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x337c7e[_0x1cd3('0xd35')]:_0x1cd3('0x12ea'),'msg':_0x337c7e[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x337c7e['data']['message']):_0x337c7e['toString']()});}});}function _0x4c2b9d(_0x54b205){_0x15a3b0[_0x1cd3('0xd34')]=[];var _0x21e102=_0x269084[_0x1cd3('0xd39')]()['title'](_0x1cd3('0xd3a'))[_0x1cd3('0xd3b')](_0x1cd3('0x12eb'))['ariaLabel']('Delete\x20ChatDisposition')['ok'](_0x1cd3('0xd3f'))[_0x1cd3('0x4d8')](_0x1cd3('0x674'))[_0x1cd3('0xd63')](_0x54b205);_0x269084[_0x1cd3('0x37e')](_0x21e102)[_0x1cd3('0x77')](function(){_0x20ac0e[_0x1cd3('0xb63')][_0x1cd3('0xa1c')]({'id':_0x15a3b0[_0x1cd3('0x12d8')]['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x15a3b0[_0x1cd3('0x12e6')],{'id':_0x15a3b0[_0x1cd3('0x12d8')]['id']});_0x4261db[_0x1cd3('0x473')]({'title':_0x1cd3('0x12ec'),'msg':(_0x15a3b0[_0x1cd3('0x12d8')]['name']||_0x1cd3('0x12d8'))+'\x20has\x20been\x20deleted!'});_0x370e65(_0x15a3b0[_0x1cd3('0x12d8')]);})[_0x1cd3('0xfd')](function(_0x343e4b){if(_0x343e4b[_0x1cd3('0x439')]&&_0x343e4b[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x343e4b[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x15a3b0[_0x1cd3('0xd34')]=_0x343e4b[_0x1cd3('0x439')]['errors']||[{'message':_0x343e4b['toString'](),'type':_0x1cd3('0x12ed')}];for(var _0x187ecf=0x0;_0x187ecf<_0x343e4b[_0x1cd3('0x439')]['errors']['length'];_0x187ecf++){_0x4261db[_0x1cd3('0x434')]({'title':_0x343e4b['data'][_0x1cd3('0xd34')][_0x187ecf]['type'],'msg':_0x343e4b[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x187ecf][_0x1cd3('0x43a')]});}}else{_0x4261db[_0x1cd3('0x434')]({'title':_0x343e4b[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x343e4b['status']+'\x20-\x20'+_0x343e4b[_0x1cd3('0xd35')]:'api.disposition.delete','msg':_0x343e4b[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x343e4b[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x343e4b['message']||_0x343e4b['toString']()});}});},function(){});}function _0x2640cb(_0x386b8){return _0x386b8===null?undefined:new Date(_0x386b8);}function _0x370e65(_0x22fda3){_0x269084[_0x1cd3('0x39d')](_0x22fda3);}}}());(function(){'use strict';_0x21bc27[_0x1cd3('0xc')]=['$mdDialog',_0x1cd3('0x372'),_0x1cd3('0x370')];angular[_0x1cd3('0x0')]('app.chat')[_0x1cd3('0x39b')](_0x1cd3('0x12ee'),_0x21bc27);function _0x21bc27(_0x189824,_0x38daca,_0x4fe2e4){var _0x1422bc=this;_0x1422bc['chatWebsite']={};_0x1422bc[_0x1cd3('0x12ef')]={};_0x1422bc['buttons']=[{'type':_0x1cd3('0x91b'),'name':_0x1cd3('0x12f0'),'icon':_0x1cd3('0x12f1')},{'type':_0x1cd3('0x12f2'),'name':_0x1cd3('0x12f3'),'icon':_0x1cd3('0x12f4')},{'type':'input','name':'Input','icon':'icon-keyboard'},{'type':'textarea','name':_0x1cd3('0x12f5'),'icon':'icon-format-text'},{'type':_0x1cd3('0x12f6'),'name':_0x1cd3('0x12f7'),'icon':_0x1cd3('0x12f8')},{'type':'checkboxes','name':_0x1cd3('0x12f9'),'icon':_0x1cd3('0x12fa')},{'type':'agreement','name':_0x1cd3('0x12fb'),'icon':'icon-checkbox-marked-outline'}];_0x1422bc[_0x1cd3('0xe08')]=_0x557c8a;_0x1422bc['up']=_0x233b87;_0x1422bc[_0x1cd3('0x716')]=_0x1a4bd1;_0x1422bc[_0x1cd3('0x425')]=_0x19be49;_0x1422bc['remove']=_0x2e7a4d;function _0x557c8a(_0x37b938){_0x1422bc[_0x1cd3('0x3c7')]=[];_0x1422bc[_0x1cd3('0x12fc')]=[];_0x1422bc[_0x1cd3('0x12fd')]=['id',_0x1cd3('0xe0d'),_0x1cd3('0x12fe'),_0x1cd3('0x106'),'CompanyId',_0x1cd3('0x81'),_0x1cd3('0xdfc')];_0x1422bc[_0x1cd3('0xb02')]=_0x37b938;if(_['isEmpty'](_0x1422bc[_0x1cd3('0xb02')][_0x1cd3('0x12ef')])){_0x1422bc[_0x1cd3('0xb02')][_0x1cd3('0x12ef')]={'items':[],'fromKey':null};}_0x4fe2e4['cmList']['getCustomFields']({'id':_0x1422bc[_0x1cd3('0xb02')][_0x1cd3('0x106')]})[_0x1cd3('0x81')]['then'](function(_0x48fe4b){for(var _0xf71dd3=0x0;_0xf71dd3<_0x48fe4b['rows'][_0x1cd3('0x7a')];_0xf71dd3++){_0x1422bc['customFields'][_0x1cd3('0x7b')]({'key':_0x1cd3('0x12ff')+_0x48fe4b[_0x1cd3('0xf6')][_0xf71dd3]['id'],'value':_0x48fe4b['rows'][_0xf71dd3]['alias']});}return _0x4fe2e4[_0x1cd3('0xb3d')][_0x1cd3('0xe1c')]()[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x3e68c8){var _0x226cc8=_[_0x1cd3('0x80')](_0x3e68c8);for(var _0x153709=0x0;_0x153709<_0x226cc8[_0x1cd3('0x7a')];_0x153709++){if(!_[_0x1cd3('0x38f')](_0x1422bc[_0x1cd3('0x12fd')],_0x226cc8[_0x153709])&&!_['startsWith'](_0x226cc8[_0x153709],'cf_')){_0x1422bc[_0x1cd3('0x3c7')][_0x1cd3('0x621')]({'key':_0x226cc8[_0x153709],'value':_0x226cc8[_0x153709]});}}return _0x4fe2e4['variable']['get']()[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x1cd855){_0x1422bc['variables']=_0x1cd855[_0x1cd3('0xf6')];})['catch'](function(_0x57c41a){console['error'](_0x57c41a);});}function _0x233b87(_0x5c8707,_0x313e02){if(_0x313e02!==0x0){var _0x3f5619=_0x1422bc['chatWebsite'][_0x1cd3('0x12ef')][_0x1cd3('0x493')][_0x313e02-0x1];_0x1422bc[_0x1cd3('0xb02')]['offlineForm']['items'][_0x313e02]=_0x3f5619;_0x1422bc[_0x1cd3('0xb02')][_0x1cd3('0x12ef')][_0x1cd3('0x493')][_0x313e02-0x1]=angular['copy'](_0x5c8707);if(_0x1422bc[_0x1cd3('0xb02')][_0x1cd3('0x12ef')]['fromKey']===_0x313e02){_0x1422bc[_0x1cd3('0xb02')]['offlineForm'][_0x1cd3('0x1300')]--;}else if(_0x1422bc[_0x1cd3('0xb02')][_0x1cd3('0x12ef')][_0x1cd3('0x1300')]===_0x313e02-0x1){_0x1422bc[_0x1cd3('0xb02')][_0x1cd3('0x12ef')][_0x1cd3('0x1300')]++;}}}function _0x1a4bd1(_0x33324c,_0x35534f){if(_0x35534f!==_0x1422bc[_0x1cd3('0xb02')][_0x1cd3('0x12ef')]['items'][_0x1cd3('0x7a')]-0x1){var _0x2a975a=_0x1422bc[_0x1cd3('0xb02')][_0x1cd3('0x12ef')][_0x1cd3('0x493')][_0x35534f+0x1];_0x1422bc[_0x1cd3('0xb02')]['offlineForm']['items'][_0x35534f]=_0x2a975a;_0x1422bc['chatWebsite'][_0x1cd3('0x12ef')]['items'][_0x35534f+0x1]=angular[_0x1cd3('0x429')](_0x33324c);if(_0x1422bc[_0x1cd3('0xb02')][_0x1cd3('0x12ef')][_0x1cd3('0x1300')]===_0x35534f){_0x1422bc[_0x1cd3('0xb02')][_0x1cd3('0x12ef')][_0x1cd3('0x1300')]++;}else if(_0x1422bc[_0x1cd3('0xb02')][_0x1cd3('0x12ef')][_0x1cd3('0x1300')]===_0x35534f+0x1){_0x1422bc[_0x1cd3('0xb02')][_0x1cd3('0x12ef')]['fromKey']--;}}}function _0x19be49(_0xaedab2){_0x1422bc[_0x1cd3('0xb02')][_0x1cd3('0x12ef')][_0x1cd3('0x493')][_0x1cd3('0x7b')]({'type':_0xaedab2,'cmField':null,'variable':null});}function _0x2e7a4d(_0x5672f9){var _0xf1f64e=_0x189824['confirm']()[_0x1cd3('0x486')](_0x1cd3('0x1301'))[_0x1cd3('0x678')](_0x1cd3('0xd3a'))['ariaLabel']('Lucky\x20day')['ok']('Ok')['cancel'](_0x1cd3('0x674'));_0x189824[_0x1cd3('0x37e')](_0xf1f64e)[_0x1cd3('0x77')](function(){_0x1422bc[_0x1cd3('0xb02')][_0x1cd3('0x12ef')][_0x1cd3('0x493')][_0x1cd3('0x446')](_0x5672f9,0x1);});}}}());(function(){'use strict';_0x4b1a00['$inject']=[_0x1cd3('0x3c5'),'$document','api'];angular[_0x1cd3('0x0')](_0x1cd3('0x2e'))[_0x1cd3('0x39b')](_0x1cd3('0x1302'),_0x4b1a00);function _0x4b1a00(_0x6acd5a,_0x24171d,_0x366ba7){var _0x199212=this;_0x199212[_0x1cd3('0xb02')]={};_0x199212[_0x1cd3('0x1303')]={};_0x199212['buttons']=[{'type':_0x1cd3('0x91b'),'name':'Label','icon':_0x1cd3('0x12f1')},{'type':_0x1cd3('0x12f2'),'name':_0x1cd3('0x12f3'),'icon':_0x1cd3('0x12f4')},{'type':_0x1cd3('0x1304'),'name':'Input','icon':'icon-keyboard'},{'type':_0x1cd3('0x122f'),'name':'Textarea','icon':_0x1cd3('0x1305')},{'type':_0x1cd3('0x12f6'),'name':'Radio\x20Buttons','icon':_0x1cd3('0x12f8')},{'type':_0x1cd3('0x1306'),'name':_0x1cd3('0x12f9'),'icon':_0x1cd3('0x12fa')},{'type':_0x1cd3('0x1307'),'name':_0x1cd3('0x12fb'),'icon':'icon-checkbox-marked-outline'}];_0x199212[_0x1cd3('0xe08')]=_0x23c621;_0x199212['up']=_0x7679ba;_0x199212[_0x1cd3('0x716')]=_0x165bf1;_0x199212[_0x1cd3('0x425')]=_0x2aa259;_0x199212[_0x1cd3('0x383')]=_0x5e902b;function _0x23c621(_0x4e6222){_0x199212[_0x1cd3('0x3c7')]=[];_0x199212[_0x1cd3('0x12fc')]=[];_0x199212[_0x1cd3('0x12fd')]=['id',_0x1cd3('0xe0d'),_0x1cd3('0x12fe'),_0x1cd3('0x106'),'CompanyId','$promise',_0x1cd3('0xdfc')];_0x199212[_0x1cd3('0xb02')]=_0x4e6222;if(_[_0x1cd3('0x398')](_0x199212[_0x1cd3('0xb02')][_0x1cd3('0x1303')])){_0x199212[_0x1cd3('0xb02')]['onlineForm']={'items':[],'fromKey':null};}_0x366ba7[_0x1cd3('0xc8f')]['getCustomFields']({'id':_0x199212[_0x1cd3('0xb02')][_0x1cd3('0x106')]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x316862){for(var _0x11b20a=0x0;_0x11b20a<_0x316862['rows'][_0x1cd3('0x7a')];_0x11b20a++){_0x199212[_0x1cd3('0x12fc')][_0x1cd3('0x7b')]({'key':_0x1cd3('0x12ff')+_0x316862[_0x1cd3('0xf6')][_0x11b20a]['id'],'value':_0x316862['rows'][_0x11b20a]['alias']});}return _0x366ba7['cmContact'][_0x1cd3('0xe1c')]()[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x10589a){var _0x533f2a=_[_0x1cd3('0x80')](_0x10589a);for(var _0x58574c=0x0;_0x58574c<_0x533f2a[_0x1cd3('0x7a')];_0x58574c++){if(!_[_0x1cd3('0x38f')](_0x199212[_0x1cd3('0x12fd')],_0x533f2a[_0x58574c])&&!_['startsWith'](_0x533f2a[_0x58574c],'cf_')){_0x199212['fields']['unshift']({'key':_0x533f2a[_0x58574c],'value':_0x533f2a[_0x58574c]});}}return _0x366ba7[_0x1cd3('0xb84')][_0x1cd3('0x361')]()[_0x1cd3('0x81')];})['then'](function(_0x5587d4){_0x199212[_0x1cd3('0xef7')]=_0x5587d4[_0x1cd3('0xf6')];})[_0x1cd3('0xfd')](function(_0x3959c4){console[_0x1cd3('0x434')](_0x3959c4);});}function _0x7679ba(_0x3180c8,_0x2516bd){if(_0x2516bd!==0x0){var _0x53911a=_0x199212[_0x1cd3('0xb02')][_0x1cd3('0x1303')][_0x1cd3('0x493')][_0x2516bd-0x1];_0x199212[_0x1cd3('0xb02')]['onlineForm'][_0x1cd3('0x493')][_0x2516bd]=_0x53911a;_0x199212[_0x1cd3('0xb02')][_0x1cd3('0x1303')][_0x1cd3('0x493')][_0x2516bd-0x1]=angular[_0x1cd3('0x429')](_0x3180c8);if(_0x199212[_0x1cd3('0xb02')]['onlineForm']['fromKey']===_0x2516bd){_0x199212[_0x1cd3('0xb02')]['onlineForm'][_0x1cd3('0x1300')]--;}else if(_0x199212['chatWebsite'][_0x1cd3('0x1303')][_0x1cd3('0x1300')]===_0x2516bd-0x1){_0x199212[_0x1cd3('0xb02')][_0x1cd3('0x1303')][_0x1cd3('0x1300')]++;}}}function _0x165bf1(_0x525738,_0x4733d4){if(_0x4733d4!==_0x199212[_0x1cd3('0xb02')]['onlineForm'][_0x1cd3('0x493')]['length']-0x1){var _0x578f4a=_0x199212[_0x1cd3('0xb02')][_0x1cd3('0x1303')][_0x1cd3('0x493')][_0x4733d4+0x1];_0x199212[_0x1cd3('0xb02')][_0x1cd3('0x1303')][_0x1cd3('0x493')][_0x4733d4]=_0x578f4a;_0x199212[_0x1cd3('0xb02')][_0x1cd3('0x1303')][_0x1cd3('0x493')][_0x4733d4+0x1]=angular[_0x1cd3('0x429')](_0x525738);if(_0x199212[_0x1cd3('0xb02')][_0x1cd3('0x1303')][_0x1cd3('0x1300')]===_0x4733d4){_0x199212[_0x1cd3('0xb02')][_0x1cd3('0x1303')][_0x1cd3('0x1300')]++;}else if(_0x199212['chatWebsite'][_0x1cd3('0x1303')][_0x1cd3('0x1300')]===_0x4733d4+0x1){_0x199212[_0x1cd3('0xb02')]['onlineForm']['fromKey']--;}}}function _0x2aa259(_0x4708f1){_0x199212[_0x1cd3('0xb02')][_0x1cd3('0x1303')][_0x1cd3('0x493')][_0x1cd3('0x7b')]({'type':_0x4708f1,'cmField':null,'variable':null});}function _0x5e902b(_0x4ee932){var _0x27f399=_0x6acd5a[_0x1cd3('0xd39')]()[_0x1cd3('0x486')]('The\x20component\x20will\x20be\x20deleted.')[_0x1cd3('0x678')]('Are\x20you\x20sure?')[_0x1cd3('0xd3d')](_0x1cd3('0x1308'))['ok']('Ok')[_0x1cd3('0x4d8')]('Cancel');_0x6acd5a[_0x1cd3('0x37e')](_0x27f399)[_0x1cd3('0x77')](function(){if(_0x199212['chatWebsite'][_0x1cd3('0x1303')]['fromKey']===_0x4ee932){_0x199212['chatWebsite'][_0x1cd3('0x1303')][_0x1cd3('0x1300')]=null;}_0x199212['chatWebsite'][_0x1cd3('0x1303')][_0x1cd3('0x493')][_0x1cd3('0x446')](_0x4ee932,0x1);if(!_0x199212[_0x1cd3('0xb02')]['onlineForm'][_0x1cd3('0x493')][_0x1cd3('0x7a')]){_0x199212[_0x1cd3('0xb02')][_0x1cd3('0x1303')][_0x1cd3('0x1300')]=null;}});}}}());(function(){'use strict';_0x5d7b8a[_0x1cd3('0xc')]=['$cookies','toasty'];angular[_0x1cd3('0x0')](_0x1cd3('0x2e'))[_0x1cd3('0x39b')](_0x1cd3('0x1309'),_0x5d7b8a);function _0x5d7b8a(_0x459dcc,_0x57e9b4){var _0x12f74a=this;var _0x3072d4=0x8;var _0x3102e8=_0x3072d4*0x400*0x400;_0x12f74a['chatWebsite']={};_0x12f74a[_0x1cd3('0xd27')];_0x12f74a[_0x1cd3('0x126a')]={'singleFile':!![],'maxChunkRetries':0x1,'chunkSize':_0x3102e8,'simultaneousUploads':0x1,'testChunks':![],'progressCallbacksInterval':0x3e8,'allowDuplicateUploads':!![]};_0x12f74a[_0x1cd3('0x126b')]={'flow':{}};_0x12f74a['dropping']=![];_0x12f74a[_0x1cd3('0x113a')]=_0x212a77;_0x12f74a[_0x1cd3('0x126d')]=_0x1e437c;_0x12f74a[_0x1cd3('0x126e')]=_0x2765b8;_0x12f74a[_0x1cd3('0xe08')]=_0xd356f1;function _0xd356f1(_0x40e06a,_0x5e409d){_0x12f74a['chatWebsite']=angular['copy'](_0x40e06a);_0x12f74a['crudPermissions']=typeof _0x5e409d!==_0x1cd3('0x491')?_0x5e409d:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x12f74a[_0x1cd3('0x126a')]['target']='/api/chat/websites/:id/customer_avatar'[_0x1cd3('0x3f1')](_0x1cd3('0x1270'),_0x12f74a[_0x1cd3('0xb02')]['id']);_0x12f74a[_0x1cd3('0xb02')][_0x1cd3('0x1271')]=[];}function _0x212a77(_0x2f6e81){var _0x4f942c=['png',_0x1cd3('0x1273')];if(!_[_0x1cd3('0x38f')](_0x4f942c,_0x2f6e81['getExtension']())){_0x57e9b4[_0x1cd3('0x434')]({'title':'Invalid\x20extension:\x20'+_0x2f6e81['getExtension'](),'msg':_0x1cd3('0x1275')+_0x4f942c[_0x1cd3('0x3de')]()});return![];}if(_0x2f6e81[_0x1cd3('0x113e')]>_0x3102e8){_0x57e9b4[_0x1cd3('0x434')]({'title':_0x1cd3('0x1276'),'msg':'The\x20max\x20allowed\x20size\x20is\x20'+_0x3072d4+'MB'});return![];}var _0x3c6dc5={'id':_0x2f6e81['uniqueIdentifier'],'file':_0x2f6e81,'type':_0x1cd3('0x1279')};_0x12f74a['chatWebsite'][_0x1cd3('0x1271')][_0x1cd3('0x621')](_0x3c6dc5);return!![];}function _0x1e437c(){_0x12f74a['ngFlow'][_0x1cd3('0x46')][_0x1cd3('0x130a')][_0x1cd3('0x3a2')]={'X-Requested-With':_0x1cd3('0x130b'),'Authorization':_0x1cd3('0x3a5')+_0x459dcc['get'](_0x1cd3('0x374'))};_0x12f74a[_0x1cd3('0x126b')][_0x1cd3('0x46')][_0x1cd3('0x126d')]();}function _0x2765b8(_0x4664b8,_0x4e9b77){angular[_0x1cd3('0x394')](_0x12f74a['chatWebsite'][_0x1cd3('0x1271')],function(_0x9df03d,_0x3b8c1d){if(_0x9df03d['id']===_0x4664b8['uniqueIdentifier']){var _0x5adc5f=new FileReader();_0x5adc5f[_0x1cd3('0xe95')](_0x9df03d['file'][_0x1cd3('0xe96')]);_0x5adc5f['onload']=function(_0x2642b8){_0x9df03d['url']=_0x2642b8[_0x1cd3('0x365')][_0x1cd3('0xe90')];};_0x9df03d[_0x1cd3('0x424')]=_0x1cd3('0x127a');}});}}}());(function(){'use strict';_0x3fd5b4[_0x1cd3('0xc')]=[_0x1cd3('0x36f'),_0x1cd3('0x460'),'$state','$q',_0x1cd3('0x3f7'),_0x1cd3('0x3e7'),_0x1cd3('0x3c5'),'$document',_0x1cd3('0x461'),'api','Auth'];angular[_0x1cd3('0x0')]('app.chat')['controller']('ChatWebsiteInteractionsController',_0x3fd5b4);function _0x3fd5b4(_0x5d4b07,_0x3d73fb,_0x1146fc,_0x1f812d,_0x58c38b,_0x3eabe5,_0x1a316c,_0x4d1cd8,_0x165c25,_0x5281fe,_0x1c7f7d){var _0x55046c=this;_0x55046c[_0x1cd3('0x3ca')]=_0x1c7f7d[_0x1cd3('0x5d')]();_0x55046c[_0x1cd3('0xb02')]={};_0x55046c[_0x1cd3('0x130c')]={'count':0x0,'rows':[]};_0x55046c[_0x1cd3('0x130d')]=[];_0x55046c[_0x1cd3('0xd27')];_0x55046c['query']={'read':_0x1cd3('0x220'),'closed':'null','sort':_0x1cd3('0x130e'),'includeAll':_0x1cd3('0x2e0'),'limit':0xa,'page':0x1};_0x55046c[_0x1cd3('0xe08')]=_0x234623;_0x55046c[_0x1cd3('0xe0a')]=_0x5c996b;_0x55046c[_0x1cd3('0x130f')]=_0x5afd88;_0x55046c[_0x1cd3('0x473')]=_0x401d0e;_0x55046c[_0x1cd3('0x1310')]=_0x9c5517;_0x55046c[_0x1cd3('0x1311')]=_0x3fe417;_0x55046c[_0x1cd3('0x1312')]=_0x57149b;_0x55046c['openAdvancedSearch']=_0xace7f1;_0x55046c['exportSelectedChatWebsiteInteractions']=_0xcdb4b4;_0x55046c[_0x1cd3('0x1313')]=_0x55b436;_0x55046c[_0x1cd3('0x1314')]=_0x4d2888;function _0x234623(_0x5e6042,_0x4c532a){_0x55046c['chatWebsite']=_0x5e6042;_0x55046c[_0x1cd3('0xd27')]=typeof _0x4c532a!==_0x1cd3('0x491')?_0x4c532a:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x55046c[_0x1cd3('0x3d4')]['ChatWebsiteId']=_0x55046c['chatWebsite']['id'];_0x55046c[_0x1cd3('0x3d1')]={'fields':_0x130771()};_0x15dfe0();}function _0x15dfe0(){return _0x5281fe[_0x1cd3('0xb76')]['get']()[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x5bc694){_0x55046c[_0x1cd3('0x921')]=_0x5bc694||{'count':0x0,'rows':[]};})[_0x1cd3('0x77')](function(){_0x55046c[_0x1cd3('0x1315')]=_0x30dffb();});}function _0x30dffb(){return[{'name':'Start\x20Date','key':_0x1cd3('0xe0d'),'type':_0x1cd3('0x406'),'label':_0x1cd3('0x1316')},{'name':_0x1cd3('0x1317'),'key':'read','type':_0x1cd3('0x44f'),'label':_0x1cd3('0x1318'),'customOptions':[{'value':0x0,'translate':_0x1cd3('0x1319')},{'value':0x1,'translate':_0x1cd3('0x131a')},{'value':null,'translate':_0x1cd3('0x910')}]},{'name':_0x1cd3('0x131b'),'key':'closed','type':_0x1cd3('0x44f'),'label':_0x1cd3('0x131c'),'customOptions':[{'value':0x0,'translate':_0x1cd3('0x131d')},{'value':0x1,'translate':_0x1cd3('0x131e')},{'value':null,'translate':_0x1cd3('0x910')}]},{'name':_0x1cd3('0x1227'),'key':_0x1cd3('0x1226'),'type':'select','label':_0x1cd3('0x131f'),'customOptions':[{'value':_0x1cd3('0x220'),'translate':_0x1cd3('0x1320')},{'value':undefined,'translate':_0x1cd3('0x910')}]},{'name':_0x1cd3('0x1231'),'key':_0x1cd3('0xb76'),'type':_0x1cd3('0x3fa'),'label':_0x1cd3('0x1321'),'options':_0x55046c[_0x1cd3('0x921')][_0x1cd3('0xf6')],'placeholder':_0x1cd3('0x1322')}];}function _0x130771(){return[{'name':'Id','column':'id','type':_0x1cd3('0x407')},{'name':_0x1cd3('0x1323'),'column':_0x1cd3('0x1323'),'type':_0x1cd3('0x42b'),'options':{'searchFields':['firstName',_0x1cd3('0x1324'),_0x1cd3('0x1325')],'route':{'model':_0x1cd3('0xb3d'),'action':_0x1cd3('0x361'),'params':{'fields':'id,firstName,lastName,email','Contact':_0x1cd3('0x42c'),'nolimit':!![]}},'extraOperators':[_0x1cd3('0x3fd')],'excludedOperators':[_0x1cd3('0x3fb')]}},{'name':_0x1cd3('0x1326'),'column':_0x1cd3('0x1327'),'type':'text','options':{'excludedOperators':[_0x1cd3('0x44d'),'$ne']}},{'name':_0x1cd3('0x1328'),'column':_0x1cd3('0x1329'),'type':_0x1cd3('0x401'),'options':{'excludedOperators':[_0x1cd3('0x44d'),_0x1cd3('0x3fb')]}},{'name':_0x1cd3('0x131b'),'column':'closed','type':'select','values':[{'id':0x0,'translate':'DASHBOARDS.OPENED'},{'id':0x1,'translate':'DASHBOARDS.CLOSED'}],'options':{'excludedOperators':['$ne']}},{'name':_0x1cd3('0x1227'),'column':_0x1cd3('0x132a'),'type':_0x1cd3('0x42b'),'options':{'table':'i','route':{'model':_0x1cd3('0x368'),'action':_0x1cd3('0x361'),'params':{'role':_0x1cd3('0xd2'),'fields':_0x1cd3('0x132b'),'nolimit':!![]}},'searchFields':[_0x1cd3('0xd3'),_0x1cd3('0x98')],'extraOperators':[_0x1cd3('0x3fd')],'excludedOperators':['$ne']}},{'name':_0x1cd3('0xf9'),'column':_0x1cd3('0x1231'),'type':'multiselect','options':{'route':{'model':'tag','action':_0x1cd3('0x361'),'params':{'nolimit':!![]}},'excludedOperators':[_0x1cd3('0x3dd')]}},{'name':_0x1cd3('0x132c'),'column':_0x1cd3('0xe0d'),'type':'date','options':{'excludedOperators':[_0x1cd3('0x3fb')]}},{'name':_0x1cd3('0x132d'),'column':_0x1cd3('0x132e'),'type':_0x1cd3('0x44f'),'values':[{'id':0x1,'translate':_0x1cd3('0x131a')},{'id':0x0,'translate':'DASHBOARDS.UNREAD'}],'options':{'excludedOperators':[_0x1cd3('0x3fb')]}}];}function _0xace7f1(){_0x1a316c[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x3c9'),'controllerAs':'vm','templateUrl':_0x1cd3('0x132f'),'parent':angular[_0x1cd3('0x37f')](_0x4d1cd8['body']),'clickOutsideToClose':![],'locals':{'fields':_0x55046c['advancedSearch']['fields'],'color':undefined,'storagePath':_0x1cd3('0x1330')},'fullscreen':!![]})['then'](function(_0x42ce30){_0x55046c[_0x1cd3('0x3d4')][_0x1cd3('0x3e4')]=_0x42ce30===![]?undefined:_0x42ce30;if(_0x55046c[_0x1cd3('0x3d4')][_0x1cd3('0x3e4')]){_0x9c5517();}else if(_0x42ce30===![]){_0x9c5517();}})[_0x1cd3('0xfd')](function(_0x31c5aa){_0x165c25['error']({'title':_0x1cd3('0x1331'),'msg':_0x31c5aa[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x31c5aa['data']['message']):_0x31c5aa['toString']()});});}function _0x5afd88(_0x208495,_0xfd56ae,_0x49cc03){return _0x5281fe[_0x1cd3('0xb18')][_0x1cd3('0x489')]({'id':_0x208495['id'],'exists':!![],'attachments':_0x49cc03})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x3d69d6){var _0x52c677=[_0x3d69d6['buffer']];var _0x40b458=_0x1cd3('0x1332')+_0x208495['id'];var _0x5e5e51=new Blob(_0x52c677,{'type':_0x3d69d6[_0x1cd3('0x424')]});_0x40b458=_0x1cd3('0x1333')+_0x208495['id']+_0x1cd3('0x1334');var _0x23c770=window[_0x1cd3('0x924')]['createElement']('a');_0x23c770[_0x1cd3('0x481')](_0x1cd3('0x3ab'),URL[_0x1cd3('0x48a')](_0x5e5e51));_0x23c770[_0x1cd3('0x481')](_0x1cd3('0x489'),_0x40b458);document[_0x1cd3('0x380')][_0x1cd3('0xd4e')](_0x23c770);_0x23c770[_0x1cd3('0x52d')]();})['catch'](function(_0x3ed9e9){if(_0x3ed9e9[_0x1cd3('0x439')]&&_0x3ed9e9['data'][_0x1cd3('0xd34')]&&_0x3ed9e9[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){for(var _0x3e33e7=0x0;_0x3e33e7<_0x3ed9e9[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0x3e33e7+=0x1){_0x165c25[_0x1cd3('0x434')]({'title':_0x3ed9e9[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x3e33e7][_0x1cd3('0x424')],'msg':_0x3ed9e9[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x3e33e7][_0x1cd3('0x43a')]});}}else{_0x165c25[_0x1cd3('0x434')]({'title':_0x3ed9e9[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x3ed9e9[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x3ed9e9[_0x1cd3('0xd35')]:_0x1cd3('0x1207'),'msg':_0x3ed9e9[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x3ed9e9[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x3ed9e9[_0x1cd3('0x43b')]()});}});}function _0x5c996b(_0x984b3f,_0x15ddce){var _0x467153=_0x1a316c[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x1335'))['htmlContent'](_0x1cd3('0xd51')+(_0x984b3f['name']||_0x984b3f['id']&&_[_0x1cd3('0x12bc')](_0x1cd3('0x1336'))+_0x984b3f['id']||_0x1cd3('0x1332'))+'</b>'+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x1337'))[_0x1cd3('0xd63')](_0x15ddce)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x1a316c['show'](_0x467153)[_0x1cd3('0x77')](function(){_0x55b436(_0x984b3f);},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}function _0x401d0e(_0x117baf){_0x55046c[_0x1cd3('0x130c')]=_0x117baf||{'count':0x0,'rows':[]};for(var _0x7c56f9=0x0;_0x7c56f9<_0x55046c['chatWebsiteInteractions']['rows'][_0x1cd3('0x7a')];_0x7c56f9+=0x1){var _0x170189=_0x55046c['chatWebsiteInteractions']['rows'][_0x7c56f9];_0x23acf8(_0x170189);_0x170189[_0x1cd3('0x1338')][_0x1cd3('0x98')]=_0x42465e(_0x170189);}}function _0x9c5517(){_0x55046c[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0x55046c[_0x1cd3('0x3d4')]['page']-0x1)*_0x55046c[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];_0x55046c[_0x1cd3('0x539')]=_0x5281fe[_0x1cd3('0xb18')][_0x1cd3('0x361')](_0x55046c[_0x1cd3('0x3d4')],_0x401d0e)[_0x1cd3('0x81')];}function _0x3fe417(_0x90e1f2,_0xb31e98){_0x1a316c['show']({'controller':_0x1cd3('0x1339'),'controllerAs':'vm','templateUrl':'app/main/apps/chat/views/chatWebsites/edit/interactions/dialog.html','parent':angular[_0x1cd3('0x37f')](_0x4d1cd8['body']),'targetEvent':_0x90e1f2,'clickOutsideToClose':!![],'locals':{'chatWebsite':_0x55046c[_0x1cd3('0xb02')],'interaction':_0xb31e98,'interactions':_0x55046c[_0x1cd3('0x130c')][_0x1cd3('0xf6')],'license':null,'setting':null,'crudPermissions':_0x55046c['crudPermissions']}});}function _0x57149b(_0x15766b,_0x578812){_0x1a316c[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x133a'),'controllerAs':'vm','templateUrl':_0x1cd3('0x133b'),'parent':angular[_0x1cd3('0x37f')](_0x4d1cd8[_0x1cd3('0x380')]),'targetEvent':_0x15766b,'clickOutsideToClose':!![],'onShowing':function(_0x420ad4,_0x4b9dac){_0x420ad4['vm'][_0x1cd3('0xe08')]({'id':0x1,'channel':'chat','interaction':_0x578812,'spy':!![]},_0x3d73fb['$parent']['vm'][_0x1cd3('0xc49')]);}});}function _0x55b436(_0x192f62){_0x5281fe['chatInteraction'][_0x1cd3('0xa1c')]({'id':_0x192f62['id']})['$promise']['then'](function(){_[_0x1cd3('0x383')](_0x55046c[_0x1cd3('0x130c')][_0x1cd3('0xf6')],{'id':_0x192f62['id']});_0x55046c[_0x1cd3('0x130c')][_0x1cd3('0x466')]-=0x1;if(!_0x55046c[_0x1cd3('0x130c')][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){_0x9c5517();}_0x165c25['success']({'title':_0x1cd3('0x133c'),'msg':_0x192f62['name']?_0x192f62[_0x1cd3('0x98')]+_0x1cd3('0xd41'):''});})[_0x1cd3('0xfd')](function(_0x5b0c39){if(_0x5b0c39[_0x1cd3('0x439')]&&_0x5b0c39[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x5b0c39[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')]){vm['errors']=_0x5b0c39[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x5b0c39[_0x1cd3('0x43b')](),'type':'SYSTEM:GETchatWebsite'}];for(var _0x1e5d9c=0x0;_0x1e5d9c<_0x5b0c39[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x1e5d9c++){_0x165c25[_0x1cd3('0x434')]({'title':_0x5b0c39[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1e5d9c]['type'],'msg':_0x5b0c39[_0x1cd3('0x439')]['errors'][_0x1e5d9c][_0x1cd3('0x43a')]});}}else{_0x165c25[_0x1cd3('0x434')]({'title':_0x5b0c39[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x5b0c39[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x5b0c39['statusText']:_0x1cd3('0x12df'),'msg':_0x5b0c39[_0x1cd3('0x439')]?JSON['stringify'](_0x5b0c39['data'][_0x1cd3('0x43a')]):_0x5b0c39[_0x1cd3('0x43a')]||_0x5b0c39[_0x1cd3('0x43b')]()});}});}function _0xcdb4b4(){var _0x4f5a8f=angular[_0x1cd3('0x429')](_0x55046c['selectedChatWebsiteInteractions']);_0x55046c['selectedChatWebsiteInteractions']=[];return _0x4f5a8f;}function _0x4d2888(_0x5a1187){var _0x59169b=_0x1a316c['confirm']()[_0x1cd3('0x486')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20interactions?')['htmlContent']('<b>'+_0x55046c['selectedChatWebsiteInteractions'][_0x1cd3('0x7a')]+_0x1cd3('0xd61')+_0x1cd3('0xd53'))['ariaLabel'](_0x1cd3('0x133d'))[_0x1cd3('0xd63')](_0x5a1187)['ok']('OK')['cancel'](_0x1cd3('0xd55'));_0x1a316c[_0x1cd3('0x37e')](_0x59169b)[_0x1cd3('0x77')](function(){_0x55046c[_0x1cd3('0x130d')][_0x1cd3('0x394')](function(_0x2ba22d){_0x55b436(_0x2ba22d);});_0x55046c[_0x1cd3('0x130d')]=[];});}function _0x23acf8(_0x1936d1){if(_0x1936d1[_0x1cd3('0x1323')]){_0x1936d1[_0x1cd3('0x133e')]=(_0x1936d1['Contact']['firstName']||'')+'\x20'+(_0x1936d1[_0x1cd3('0x1323')]['lastName']||'');}else{_0x1936d1[_0x1cd3('0x133e')]=_0x58c38b[_0x1cd3('0x44a')](_0x1cd3('0x133f'));}}function _0x42465e(_0x4936ef){if(_0x4936ef['UserId']){if(_0x4936ef[_0x1cd3('0x1226')]===_0x55046c[_0x1cd3('0x3ca')]['id']){return _0x58c38b['instant']('DASHBOARDS.ME');}else{return _0x4936ef['Owner'][_0x1cd3('0xd3')]+'\x20<'+_0x4936ef['Owner'][_0x1cd3('0x311')]+'>';}}return _0x58c38b[_0x1cd3('0x44a')](_0x1cd3('0x1320'));}var _0x482f22=!![];var _0x652815=0x1;_0x3d73fb[_0x1cd3('0x4d6')](_0x1cd3('0x1340'),function(_0x4555b5,_0x3968a8){if(_0x482f22){_0x3eabe5(function(){_0x482f22=![];});}else{if(!_0x3968a8){_0x652815=_0x55046c['query']['page'];}if(_0x4555b5!==_0x3968a8){_0x55046c[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}if(!_0x4555b5){_0x55046c[_0x1cd3('0x3d4')]['page']=_0x652815;}_0x9c5517();}});}}());(function(){'use strict';_0x12f1eb[_0x1cd3('0xc')]=[_0x1cd3('0x36f'),'toasty'];angular['module'](_0x1cd3('0x2e'))[_0x1cd3('0x39b')](_0x1cd3('0x1341'),_0x12f1eb);function _0x12f1eb(_0x7d048b,_0x577b64){var _0xf35135=this;var _0x542d3c=0x8;var _0x43005e=_0x542d3c*0x400*0x400;_0xf35135['chatWebsite']={};_0xf35135[_0x1cd3('0xd27')];_0xf35135[_0x1cd3('0x126a')]={'singleFile':!![],'maxChunkRetries':0x1,'chunkSize':_0x43005e,'simultaneousUploads':0x1,'testChunks':![],'progressCallbacksInterval':0x3e8,'allowDuplicateUploads':!![]};_0xf35135[_0x1cd3('0x126b')]={'flow':{}};_0xf35135[_0x1cd3('0x126c')]=![];_0xf35135['fileAdded']=_0x52be10;_0xf35135['upload']=_0x3adb38;_0xf35135[_0x1cd3('0x126e')]=_0x16225d;_0xf35135[_0x1cd3('0xe08')]=_0x114f17;function _0x114f17(_0x1a98f5,_0x16308a){_0xf35135[_0x1cd3('0xb02')]=angular[_0x1cd3('0x429')](_0x1a98f5);_0xf35135[_0x1cd3('0xd27')]=typeof _0x16308a!==_0x1cd3('0x491')?_0x16308a:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0xf35135[_0x1cd3('0x126a')][_0x1cd3('0x365')]=_0x1cd3('0x1342')[_0x1cd3('0x3f1')](':id',_0xf35135['chatWebsite']['id']);_0xf35135[_0x1cd3('0xb02')][_0x1cd3('0x1271')]=[];}function _0x52be10(_0x573867){var _0x277cba=[_0x1cd3('0x1272'),_0x1cd3('0x1273')];if(!_['includes'](_0x277cba,_0x573867[_0x1cd3('0x113c')]())){_0x577b64[_0x1cd3('0x434')]({'title':_0x1cd3('0x1274')+_0x573867[_0x1cd3('0x113c')](),'msg':'Supported\x20extension:\x20'+_0x277cba[_0x1cd3('0x3de')]()});return![];}if(_0x573867[_0x1cd3('0x113e')]>_0x43005e){_0x577b64[_0x1cd3('0x434')]({'title':_0x1cd3('0x1276'),'msg':_0x1cd3('0x1277')+_0x542d3c+'MB'});return![];}var _0x33e63d={'id':_0x573867[_0x1cd3('0x1278')],'file':_0x573867,'type':_0x1cd3('0x1279')};_0xf35135[_0x1cd3('0xb02')][_0x1cd3('0x1271')][_0x1cd3('0x621')](_0x33e63d);return!![];}function _0x3adb38(){_0xf35135[_0x1cd3('0x126b')][_0x1cd3('0x46')][_0x1cd3('0x130a')][_0x1cd3('0x3a2')]={'X-Requested-With':'XMLHttpRequest','Authorization':_0x1cd3('0x3a5')+_0x7d048b[_0x1cd3('0x361')]('motion.token')};_0xf35135[_0x1cd3('0x126b')][_0x1cd3('0x46')][_0x1cd3('0x126d')]();}function _0x16225d(_0xec5457,_0x5ec10c){angular['forEach'](_0xf35135[_0x1cd3('0xb02')][_0x1cd3('0x1271')],function(_0x158eeb,_0x2891ca){if(_0x158eeb['id']===_0xec5457[_0x1cd3('0x1278')]){var _0x43c8c7=new FileReader();_0x43c8c7[_0x1cd3('0xe95')](_0x158eeb[_0x1cd3('0xe96')][_0x1cd3('0xe96')]);_0x43c8c7[_0x1cd3('0xe8f')]=function(_0x135f6e){_0x158eeb['url']=_0x135f6e[_0x1cd3('0x365')][_0x1cd3('0xe90')];};_0x158eeb[_0x1cd3('0x424')]=_0x1cd3('0x127a');}});}}}());(function(){'use strict';_0x4fd39f['$inject']=[_0x1cd3('0x36f'),_0x1cd3('0x460'),'$state','$q',_0x1cd3('0x3f7'),_0x1cd3('0x3e7'),_0x1cd3('0x3c5'),_0x1cd3('0x372'),_0x1cd3('0x461'),_0x1cd3('0x370'),'Auth'];angular[_0x1cd3('0x0')](_0x1cd3('0x2e'))['controller'](_0x1cd3('0x1343'),_0x4fd39f);function _0x4fd39f(_0x41a11b,_0x3b705b,_0x4b5e38,_0x38dabf,_0x42f6d8,_0x48ba39,_0xaf2f84,_0x724256,_0x200228,_0x2c967d,_0x5ce6ed){var _0x154506=this;_0x154506[_0x1cd3('0x3ca')]=_0x5ce6ed[_0x1cd3('0x5d')]();_0x154506['chatWebsite']={};_0x154506['chatWebsiteOfflineMessages']={'count':0x0,'rows':[]};_0x154506['selectedChatWebsiteOfflineMessages']=[];_0x154506[_0x1cd3('0xd27')];_0x154506['query']={'fields':_0x1cd3('0x1344'),'sort':'-createdAt','limit':0xa,'page':0x1};_0x154506[_0x1cd3('0xe08')]=_0x35f7eb;_0x154506['deleteConfirm']=_0x2ef170;_0x154506[_0x1cd3('0x473')]=_0x39e4c5;_0x154506[_0x1cd3('0x1345')]=_0x196130;_0x154506[_0x1cd3('0x1346')]=_0x5f4952;_0x154506['showOfflineMessageChatWebsiteOfflineMessage']=_0x47bec3;_0x154506[_0x1cd3('0x1347')]=_0x9482f4;_0x154506[_0x1cd3('0x1348')]=_0x518cab;_0x154506[_0x1cd3('0x1349')]=_0x145561;function _0x35f7eb(_0x5d081c,_0x3c4304){_0x154506['chatWebsite']=_0x5d081c;_0x154506[_0x1cd3('0xd27')]=typeof _0x3c4304!=='undefined'?_0x3c4304:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x154506[_0x1cd3('0x3d4')]['id']=_0x154506['chatWebsite']['id'];_0x196130();}function _0x2ef170(_0x10362f,_0x16738b){var _0x40951f=_0xaf2f84[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x134a'))[_0x1cd3('0xd60')]('<b>'+(_0x10362f[_0x1cd3('0x98')]||_0x10362f['id']&&_[_0x1cd3('0x12bc')]('offlineMessage\x20#')+_0x10362f['id']||'offlineMessage')+'</b>'+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x134b'))[_0x1cd3('0xd63')](_0x16738b)['ok']('OK')['cancel'](_0x1cd3('0xd55'));_0xaf2f84[_0x1cd3('0x37e')](_0x40951f)[_0x1cd3('0x77')](function(){_0x518cab(_0x10362f);},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}function _0x39e4c5(_0x473354){_0x154506['chatWebsiteOfflineMessages']=_0x473354||{'count':0x0,'rows':[]};}function _0x196130(){_0x154506[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0x154506[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0x154506[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];_0x154506[_0x1cd3('0x539')]=_0x2c967d[_0x1cd3('0xb02')]['getOfflineMessages'](_0x154506['query'],_0x39e4c5)['$promise'];}function _0x5f4952(_0x378220,_0x3d3fde){_0xaf2f84[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x134c'),'controllerAs':'vm','templateUrl':_0x1cd3('0x134d'),'parent':angular['element'](_0x724256[_0x1cd3('0x380')]),'targetEvent':_0x378220,'clickOutsideToClose':!![],'locals':{'chatWebsite':_0x154506[_0x1cd3('0xb02')],'offlineMessage':_0x3d3fde,'offlineMessages':_0x154506[_0x1cd3('0x134e')][_0x1cd3('0xf6')],'license':null,'setting':null,'crudPermissions':_0x154506[_0x1cd3('0xd27')]}});}function _0x47bec3(_0x5383fb,_0x2412f0){_0xaf2f84[_0x1cd3('0x37e')]({'controller':'ShowOfflineMessageOfflineMessageDialogController','controllerAs':'vm','templateUrl':'app/main/apps/chat/views/chatWebsites/edit/offlineMessages/dialog.html','parent':angular[_0x1cd3('0x37f')](_0x724256[_0x1cd3('0x380')]),'targetEvent':_0x5383fb,'clickOutsideToClose':!![],'resolve':{'message':[_0x1cd3('0x62'),_0x1cd3('0x75'),function(_0x468abd,_0x514f68){return _0x468abd['resolve'](_0x1cd3('0x134f'),{'fields':_0x1cd3('0x1350'),'id':_0x2412f0['id']});}]}});}function _0x518cab(_0x1b00dc){_0x2c967d[_0x1cd3('0xb28')]['delete']({'id':_0x1b00dc['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x154506['chatWebsiteOfflineMessages'][_0x1cd3('0xf6')],{'id':_0x1b00dc['id']});_0x154506[_0x1cd3('0x134e')][_0x1cd3('0x466')]-=0x1;if(!_0x154506[_0x1cd3('0x134e')]['rows']['length']){_0x196130();}_0x200228[_0x1cd3('0x473')]({'title':'OfflineMessage\x20deleted!','msg':_0x1b00dc[_0x1cd3('0x98')]?_0x1b00dc[_0x1cd3('0x98')]+_0x1cd3('0xd41'):''});})['catch'](function(_0x51bf0d){if(_0x51bf0d[_0x1cd3('0x439')]&&_0x51bf0d[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x51bf0d[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')]){vm[_0x1cd3('0xd34')]=_0x51bf0d[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x51bf0d['toString'](),'type':_0x1cd3('0x12df')}];for(var _0x38ee16=0x0;_0x38ee16<_0x51bf0d[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0x38ee16++){_0x200228[_0x1cd3('0x434')]({'title':_0x51bf0d['data'][_0x1cd3('0xd34')][_0x38ee16][_0x1cd3('0x424')],'msg':_0x51bf0d[_0x1cd3('0x439')]['errors'][_0x38ee16]['message']});}}else{_0x200228[_0x1cd3('0x434')]({'title':_0x51bf0d['status']?_0x1cd3('0x435')+_0x51bf0d[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x51bf0d[_0x1cd3('0xd35')]:_0x1cd3('0x12df'),'msg':_0x51bf0d[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x51bf0d[_0x1cd3('0x439')]['message']):_0x51bf0d[_0x1cd3('0x43a')]||_0x51bf0d[_0x1cd3('0x43b')]()});}});}function _0x9482f4(){var _0x1d2126=angular[_0x1cd3('0x429')](_0x154506[_0x1cd3('0x1351')]);_0x154506[_0x1cd3('0x1351')]=[];return _0x1d2126;}function _0x145561(_0x403b7d){var _0x3e01ff=_0xaf2f84[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x1352'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x154506[_0x1cd3('0x1351')][_0x1cd3('0x7a')]+_0x1cd3('0xd61')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x1353'))[_0x1cd3('0xd63')](_0x403b7d)['ok']('OK')['cancel'](_0x1cd3('0xd55'));_0xaf2f84[_0x1cd3('0x37e')](_0x3e01ff)[_0x1cd3('0x77')](function(){_0x154506[_0x1cd3('0x1351')][_0x1cd3('0x394')](function(_0x46dd4d){_0x518cab(_0x46dd4d);});_0x154506['selectedChatWebsiteOfflineMessages']=[];});}var _0x371be5=!![];var _0x2abee2=0x1;_0x3b705b['$watch'](_0x1cd3('0x1340'),function(_0x5ed1da,_0x73802f){if(_0x371be5){_0x48ba39(function(){_0x371be5=![];});}else{if(!_0x73802f){_0x2abee2=_0x154506[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0x5ed1da!==_0x73802f){_0x154506['query'][_0x1cd3('0x8fd')]=0x1;}if(!_0x5ed1da){_0x154506['query'][_0x1cd3('0x8fd')]=_0x2abee2;}_0x196130();}});}}());(function(){'use strict';_0xe2bf95[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),'message'];angular[_0x1cd3('0x0')](_0x1cd3('0x2e'))[_0x1cd3('0x39b')](_0x1cd3('0x1354'),_0xe2bf95);function _0xe2bf95(_0x41a831,_0x49775c){var _0x2c7fd7=this;_0x2c7fd7[_0x1cd3('0x486')]=_0x1cd3('0x1355');_0x2c7fd7[_0x1cd3('0x43a')]=_0x49775c;_0x2c7fd7[_0x1cd3('0x39c')]=_0x1dd3f4;function _0x1dd3f4(_0x4d7436){_0x41a831[_0x1cd3('0x39d')](_0x4d7436);}}}());(function(){'use strict';_0x23f997['$inject']=[_0x1cd3('0x36f'),_0x1cd3('0x460'),_0x1cd3('0x53e'),'$q',_0x1cd3('0x3f7'),_0x1cd3('0x3e7'),'$mdDialog',_0x1cd3('0x372'),'toasty',_0x1cd3('0x370'),_0x1cd3('0x56')];angular[_0x1cd3('0x0')](_0x1cd3('0x2e'))['controller'](_0x1cd3('0x1356'),_0x23f997);function _0x23f997(_0x129389,_0x4b1b12,_0x565dfe,_0x25ff14,_0x5e7c83,_0x306571,_0x595353,_0x1a4157,_0x43b734,_0xf819fd,_0x468a35){var _0x13220e=this;_0x13220e['currentUser']=_0x468a35[_0x1cd3('0x5d')]();_0x13220e[_0x1cd3('0xb02')]={};_0x13220e[_0x1cd3('0x1357')]={'count':0x0,'rows':[]};_0x13220e[_0x1cd3('0x1358')]=[];_0x13220e[_0x1cd3('0xd27')];_0x13220e[_0x1cd3('0x3d4')]={'fields':_0x1cd3('0x1359'),'limit':0xa,'page':0x1};_0x13220e[_0x1cd3('0x135a')]=_[_0x1cd3('0xe2d')]([{'option':_0x1cd3('0x135b'),'value':_0x1cd3('0x135c')},{'option':_0x1cd3('0x1225'),'value':_0x1cd3('0x135d')}],function(_0x5d0900){return _[_0x1cd3('0x3f1')](_0x5d0900['value'],new RegExp('\x27','g'),'');});_0x13220e[_0x1cd3('0xe08')]=_0x452ee0;_0x13220e[_0x1cd3('0xe0a')]=_0x5cd403;_0x13220e[_0x1cd3('0x473')]=_0x158729;_0x13220e[_0x1cd3('0x135e')]=_0x1ffcfd;_0x13220e[_0x1cd3('0x135f')]=_0x1d0d1a;_0x13220e['exportSelectedChatWebsiteProactiveActions']=_0x577aec;_0x13220e[_0x1cd3('0x1360')]=_0x53a6ac;_0x13220e['deleteSelectedChatWebsiteProactiveActions']=_0x49c978;function _0x452ee0(_0x31975d,_0x158ce4){_0x13220e[_0x1cd3('0xb02')]=_0x31975d;_0x13220e[_0x1cd3('0xd27')]=typeof _0x158ce4!==_0x1cd3('0x491')?_0x158ce4:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x13220e[_0x1cd3('0x3d4')][_0x1cd3('0x1203')]=_0x13220e[_0x1cd3('0xb02')]['id'];_0x13220e[_0x1cd3('0x3d4')]['id']=_0x13220e[_0x1cd3('0xb02')]['id'];_0x1ffcfd();}function _0x5cd403(_0x26f037,_0x2c6359){var _0x81c032=_0x595353[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x1361'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+(_0x26f037[_0x1cd3('0x98')]||_0x26f037['id']&&_[_0x1cd3('0x12bc')](_0x1cd3('0x1362'))+_0x26f037['id']||_0x1cd3('0xb37'))+_0x1cd3('0xd52')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')]('delete\x20chatProactiveAction')[_0x1cd3('0xd63')](_0x2c6359)['ok']('OK')['cancel'](_0x1cd3('0xd55'));_0x595353[_0x1cd3('0x37e')](_0x81c032)[_0x1cd3('0x77')](function(){_0x53a6ac(_0x26f037);},function(){console['log'](_0x1cd3('0xd55'));});}function _0x158729(_0x212f27){_0x13220e['chatWebsiteProactiveActions']=_0x212f27||{'count':0x0,'rows':[]};}function _0x1ffcfd(){_0x13220e[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0x13220e[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0x13220e[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];_0x13220e[_0x1cd3('0x539')]=_0xf819fd[_0x1cd3('0xb02')][_0x1cd3('0x1363')](_0x13220e['query'],_0x158729)[_0x1cd3('0x81')];}function _0x1d0d1a(_0x544770,_0x5f2e47){_0x595353[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1364'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1365'),'parent':angular['element'](_0x1a4157[_0x1cd3('0x380')]),'targetEvent':_0x544770,'clickOutsideToClose':!![],'locals':{'chatWebsite':_0x13220e[_0x1cd3('0xb02')],'chatProactiveAction':_0x5f2e47,'proactive':_0x13220e[_0x1cd3('0x1357')][_0x1cd3('0xf6')],'license':null,'setting':null,'crudPermissions':_0x13220e['crudPermissions']}});}function _0x53a6ac(_0xc9d8d5){_0xf819fd[_0x1cd3('0xb37')]['delete']({'id':_0xc9d8d5['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x13220e[_0x1cd3('0x1357')][_0x1cd3('0xf6')],{'id':_0xc9d8d5['id']});_0x13220e[_0x1cd3('0x1357')][_0x1cd3('0x466')]-=0x1;if(!_0x13220e[_0x1cd3('0x1357')][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){_0x1ffcfd();}_0x43b734[_0x1cd3('0x473')]({'title':'ChatProactiveAction\x20deleted!','msg':_0xc9d8d5[_0x1cd3('0x98')]?_0xc9d8d5[_0x1cd3('0x98')]+_0x1cd3('0xd41'):''});})['catch'](function(_0x4f09de){if(_0x4f09de[_0x1cd3('0x439')]&&_0x4f09de['data']['errors']&&_0x4f09de['data']['errors'][_0x1cd3('0x7a')]){vm['errors']=_0x4f09de[_0x1cd3('0x439')]['errors']||[{'message':_0x4f09de['toString'](),'type':'SYSTEM:GETchatWebsite'}];for(var _0x37c553=0x0;_0x37c553<_0x4f09de[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x37c553++){_0x43b734[_0x1cd3('0x434')]({'title':_0x4f09de[_0x1cd3('0x439')]['errors'][_0x37c553][_0x1cd3('0x424')],'msg':_0x4f09de[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x37c553]['message']});}}else{_0x43b734['error']({'title':_0x4f09de['status']?_0x1cd3('0x435')+_0x4f09de['status']+_0x1cd3('0x436')+_0x4f09de[_0x1cd3('0xd35')]:_0x1cd3('0x12df'),'msg':_0x4f09de['data']?JSON[_0x1cd3('0x438')](_0x4f09de['data']['message']):_0x4f09de['message']||_0x4f09de[_0x1cd3('0x43b')]()});}});}function _0x577aec(){var _0x7e69b=angular['copy'](_0x13220e['selectedChatWebsiteProactiveActions']);_0x13220e['selectedChatWebsiteProactiveActions']=[];return _0x7e69b;}function _0x49c978(_0x449ce4){var _0x1ed7b7=_0x595353['confirm']()[_0x1cd3('0x486')](_0x1cd3('0x1366'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x13220e[_0x1cd3('0x1358')][_0x1cd3('0x7a')]+_0x1cd3('0xd61')+'\x20will\x20be\x20deleted.')[_0x1cd3('0xd3d')](_0x1cd3('0x1367'))['targetEvent'](_0x449ce4)['ok']('OK')[_0x1cd3('0x4d8')]('CANCEL');_0x595353[_0x1cd3('0x37e')](_0x1ed7b7)[_0x1cd3('0x77')](function(){_0x13220e['selectedChatWebsiteProactiveActions'][_0x1cd3('0x394')](function(_0x4deac0){_0x53a6ac(_0x4deac0);});_0x13220e[_0x1cd3('0x1358')]=[];});}var _0x3fd7ff=!![];var _0x53ecf9=0x1;_0x4b1b12['$watch'](_0x1cd3('0x1340'),function(_0x1c3477,_0x5801ce){if(_0x3fd7ff){_0x306571(function(){_0x3fd7ff=![];});}else{if(!_0x5801ce){_0x53ecf9=_0x13220e[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0x1c3477!==_0x5801ce){_0x13220e['query'][_0x1cd3('0x8fd')]=0x1;}if(!_0x1c3477){_0x13220e[_0x1cd3('0x3d4')]['page']=_0x53ecf9;}_0x1ffcfd();}});}}());(function(){'use strict';_0x389a4e[_0x1cd3('0xc')]=[_0x1cd3('0x460'),'$state',_0x1cd3('0xd24'),_0x1cd3('0x3c5'),'$q',_0x1cd3('0x3f7'),_0x1cd3('0x461'),_0x1cd3('0x1368'),_0x1cd3('0xb37'),'api',_0x1cd3('0x56'),_0x1cd3('0x463'),_0x1cd3('0xc49'),'crudPermissions'];angular[_0x1cd3('0x0')]('app.chat')['controller']('CreateOrEditChatProactiveActionDialogController',_0x389a4e);function _0x389a4e(_0x3928be,_0x2704b8,_0x5f8c59,_0x2ae91a,_0x1c168e,_0x318c9e,_0xd2edc2,_0x5464a8,_0x5ebc45,_0x5d32e8,_0x1fa807,_0x1e526b,_0x1273a1,_0x1d01b5){var _0x9674e9=this;_0x9674e9['currentUser']=_0x1fa807[_0x1cd3('0x5d')]();_0x9674e9['errors']=[];_0x9674e9[_0x1cd3('0xc49')]=_0x1273a1;_0x9674e9[_0x1cd3('0x463')]=_0x1e526b;_0x9674e9[_0x1cd3('0xd27')]=_0x1d01b5;_0x9674e9[_0x1cd3('0xd28')]={};_0x9674e9[_0x1cd3('0xd29')]=_0x9674e9['setting']&&_0x9674e9[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x9674e9['title']=_0x1cd3('0x1369');_0x9674e9['chatProactiveAction']=angular['copy'](_0x5ebc45);_0x9674e9[_0x1cd3('0x1368')]=_0x5464a8;_0x9674e9[_0x1cd3('0x136a')]=![];if(!_0x9674e9[_0x1cd3('0xb37')]){_0x9674e9[_0x1cd3('0xb37')]={'type':_0x1cd3('0x136b')};_0x9674e9['title']=_0x1cd3('0x136c');_0x9674e9[_0x1cd3('0x136a')]=!![];}if(_0x2704b8[_0x1cd3('0x36a')]['id']){_0x9674e9[_0x1cd3('0xb37')]['ChatWebsiteId']=_0x2704b8[_0x1cd3('0x36a')]['id'];}_0x9674e9[_0x1cd3('0x136d')]=_0x267bee;_0x9674e9['saveChatProactiveAction']=_0x2917a4;_0x9674e9[_0x1cd3('0x136e')]=_0x161155;_0x9674e9['getDateFromString']=_0x4ce3c0;_0x9674e9['closeDialog']=_0x435282;function _0x267bee(){_0x9674e9[_0x1cd3('0xd34')]=[];_0x5d32e8[_0x1cd3('0xb37')][_0x1cd3('0xd6d')](_0x9674e9['chatProactiveAction'])['$promise']['then'](function(_0x4ad58e){_0x9674e9[_0x1cd3('0x1368')][_0x1cd3('0x621')](_0x4ad58e['toJSON']());_0xd2edc2[_0x1cd3('0x473')]({'title':'ChatProactiveAction\x20properly\x20created','msg':_0x9674e9['chatProactiveAction']['name']?_0x9674e9[_0x1cd3('0xb37')][_0x1cd3('0x98')]+_0x1cd3('0xd33'):''});_0x435282(_0x4ad58e);})['catch'](function(_0x24d587){if(_0x24d587[_0x1cd3('0x439')]&&_0x24d587[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x24d587[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x9674e9[_0x1cd3('0xd34')]=_0x24d587[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x24d587[_0x1cd3('0x43b')](),'type':_0x1cd3('0x136f')}];for(var _0x2e4df4=0x0;_0x2e4df4<_0x24d587['data']['errors']['length'];_0x2e4df4+=0x1){_0xd2edc2[_0x1cd3('0x434')]({'title':_0x24d587[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x2e4df4][_0x1cd3('0x424')],'msg':_0x24d587[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x2e4df4][_0x1cd3('0x43a')]});}}else{_0xd2edc2[_0x1cd3('0x434')]({'title':_0x24d587['status']?_0x1cd3('0x435')+_0x24d587['status']+_0x1cd3('0x436')+_0x24d587['statusText']:_0x1cd3('0x136f'),'msg':_0x24d587[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x24d587[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x24d587['toString']()});}});}function _0x2917a4(){_0x9674e9['errors']=[];_0x5d32e8[_0x1cd3('0xb37')][_0x1cd3('0x378')]({'id':_0x9674e9[_0x1cd3('0xb37')]['id']},_0x9674e9[_0x1cd3('0xb37')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x29295b){var _0x47a5c4=_[_0x1cd3('0x442')](_0x9674e9[_0x1cd3('0x1368')],{'id':_0x29295b['id']});if(_0x47a5c4){_[_0x1cd3('0xf2')](_0x47a5c4,_['pick'](_0x29295b[_0x1cd3('0xd32')](),_[_0x1cd3('0x80')](_0x47a5c4)));}_0xd2edc2[_0x1cd3('0x473')]({'title':'ChatProactiveAction\x20properly\x20saved!','msg':_0x9674e9[_0x1cd3('0xb37')]['name']?_0x9674e9['chatProactiveAction'][_0x1cd3('0x98')]+_0x1cd3('0xd37'):''});_0x435282(_0x29295b);})[_0x1cd3('0xfd')](function(_0xccf11d){if(_0xccf11d[_0x1cd3('0x439')]&&_0xccf11d[_0x1cd3('0x439')]['errors']&&_0xccf11d[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')]){_0x9674e9[_0x1cd3('0xd34')]=_0xccf11d['data'][_0x1cd3('0xd34')]||[{'message':_0xccf11d['toString'](),'type':'api.chatProactiveAction.update'}];for(var _0x5cfea9=0x0;_0x5cfea9<_0xccf11d['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x5cfea9++){_0xd2edc2[_0x1cd3('0x434')]({'title':_0xccf11d[_0x1cd3('0x439')]['errors'][_0x5cfea9][_0x1cd3('0x424')],'msg':_0xccf11d[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x5cfea9][_0x1cd3('0x43a')]});}}else{_0xd2edc2[_0x1cd3('0x434')]({'title':_0xccf11d['status']?_0x1cd3('0x435')+_0xccf11d[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0xccf11d[_0x1cd3('0xd35')]:_0x1cd3('0x1370'),'msg':_0xccf11d['data']?JSON[_0x1cd3('0x438')](_0xccf11d[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0xccf11d['toString']()});}});}function _0x161155(_0x34a086){_0x9674e9[_0x1cd3('0xd34')]=[];var _0x3e9b84=_0x2ae91a[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xd3a'))[_0x1cd3('0xd3b')](_0x1cd3('0x1371'))['ariaLabel'](_0x1cd3('0x1372'))['ok'](_0x1cd3('0xd3f'))[_0x1cd3('0x4d8')]('Cancel')[_0x1cd3('0xd63')](_0x34a086);_0x2ae91a[_0x1cd3('0x37e')](_0x3e9b84)[_0x1cd3('0x77')](function(){_0x5d32e8[_0x1cd3('0xb37')][_0x1cd3('0xa1c')]({'id':_0x9674e9['chatProactiveAction']['id']})[_0x1cd3('0x81')]['then'](function(){_[_0x1cd3('0x383')](_0x9674e9[_0x1cd3('0x1368')],{'id':_0x9674e9[_0x1cd3('0xb37')]['id']});_0xd2edc2[_0x1cd3('0x473')]({'title':_0x1cd3('0x1373'),'msg':(_0x9674e9[_0x1cd3('0xb37')][_0x1cd3('0x98')]||_0x1cd3('0xb37'))+_0x1cd3('0xd41')});_0x435282(_0x9674e9[_0x1cd3('0xb37')]);})[_0x1cd3('0xfd')](function(_0x3ce512){if(_0x3ce512[_0x1cd3('0x439')]&&_0x3ce512[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x3ce512[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length']){_0x9674e9[_0x1cd3('0xd34')]=_0x3ce512[_0x1cd3('0x439')]['errors']||[{'message':_0x3ce512[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1374')}];for(var _0x2a01fe=0x0;_0x2a01fe<_0x3ce512['data'][_0x1cd3('0xd34')]['length'];_0x2a01fe++){_0xd2edc2[_0x1cd3('0x434')]({'title':_0x3ce512[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x2a01fe]['type'],'msg':_0x3ce512[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x2a01fe]['message']});}}else{_0xd2edc2[_0x1cd3('0x434')]({'title':_0x3ce512['status']?'API:'+_0x3ce512[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x3ce512[_0x1cd3('0xd35')]:'api.chatProactiveAction.delete','msg':_0x3ce512[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x3ce512[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x3ce512[_0x1cd3('0x43a')]||_0x3ce512[_0x1cd3('0x43b')]()});}});},function(){});}function _0x4ce3c0(_0x4b7d45){return _0x4b7d45===null?undefined:new Date(_0x4b7d45);}function _0x435282(_0x2a8f70){_0x2ae91a[_0x1cd3('0x39d')](_0x2a8f70);}}}());(function(){'use strict';_0x117ce5['$inject']=[_0x1cd3('0x460')];angular[_0x1cd3('0x0')]('app.chat')['controller'](_0x1cd3('0x1375'),_0x117ce5);function _0x117ce5(_0x33145f){var _0x1cd6bc=this;_0x1cd6bc[_0x1cd3('0xb02')]={};_0x1cd6bc[_0x1cd3('0xe08')]=_0x2c8baf;_0x1cd6bc[_0x1cd3('0x654')]={};function _0x2c8baf(_0x41c353){_0x1cd6bc[_0x1cd3('0xb02')]=_0x41c353;_0x1cd6bc[_0x1cd3('0x5f2')]=_0x1cd3('0x1376');_0x1cd6bc['script']=_0x1cd3('0x1377')+_0x1cd6bc[_0x1cd3('0xb02')][_0x1cd3('0x603')]+_0x1cd3('0x1378')+_0x1cd6bc[_0x1cd3('0xb02')]['id']+_0x1cd3('0x1379')+_0x1cd6bc['chatWebsite']['token']+_0x1cd3('0x137a');_0x1cd6bc[_0x1cd3('0x137b')]=_0x1cd3('0x1376');}_0x33145f['$watch'](_0x1cd3('0x137c'),function(_0x51c42e){_0x1cd6bc['script']=_0x1cd3('0x1377')+_0x1cd6bc[_0x1cd3('0xb02')][_0x1cd3('0x603')]+_0x1cd3('0x1378')+_0x1cd6bc[_0x1cd3('0xb02')]['id']+_0x1cd3('0x1379')+_0x1cd6bc[_0x1cd3('0xb02')]['token']+_0x1cd3('0x137a');});}}());(function(){'use strict';_0x1c0b92[_0x1cd3('0xc')]=[_0x1cd3('0x36f'),_0x1cd3('0x461')];angular[_0x1cd3('0x0')]('app.chat')[_0x1cd3('0x39b')](_0x1cd3('0x137d'),_0x1c0b92);function _0x1c0b92(_0x244af3,_0x32d58c){var _0x4c6bba=this;var _0x1fa0fe=0x8;var _0x4583a5=_0x1fa0fe*0x400*0x400;_0x4c6bba[_0x1cd3('0xb02')]={};_0x4c6bba[_0x1cd3('0xd27')];_0x4c6bba[_0x1cd3('0x126a')]={'singleFile':!![],'maxChunkRetries':0x1,'chunkSize':_0x4583a5,'simultaneousUploads':0x1,'testChunks':![],'progressCallbacksInterval':0x3e8,'allowDuplicateUploads':!![]};_0x4c6bba[_0x1cd3('0x126b')]={'flow':{}};_0x4c6bba['dropping']=![];_0x4c6bba[_0x1cd3('0x113a')]=_0x44e21c;_0x4c6bba[_0x1cd3('0x126d')]=_0x32d6ab;_0x4c6bba[_0x1cd3('0x126e')]=_0x43889f;_0x4c6bba['init']=_0x42ebb8;function _0x42ebb8(_0x3afe6f,_0x3b1c41){_0x4c6bba[_0x1cd3('0xb02')]=angular[_0x1cd3('0x429')](_0x3afe6f);_0x4c6bba[_0x1cd3('0xd27')]=typeof _0x3b1c41!==_0x1cd3('0x491')?_0x3b1c41:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x4c6bba[_0x1cd3('0x126a')][_0x1cd3('0x365')]='/api/chat/websites/:id/system_avatar'[_0x1cd3('0x3f1')](_0x1cd3('0x1270'),_0x4c6bba[_0x1cd3('0xb02')]['id']);_0x4c6bba[_0x1cd3('0xb02')][_0x1cd3('0x1271')]=[];}function _0x44e21c(_0x2b04ef){var _0x3cbd21=[_0x1cd3('0x1272'),_0x1cd3('0x1273')];if(!_[_0x1cd3('0x38f')](_0x3cbd21,_0x2b04ef[_0x1cd3('0x113c')]())){_0x32d58c[_0x1cd3('0x434')]({'title':'Invalid\x20extension:\x20'+_0x2b04ef[_0x1cd3('0x113c')](),'msg':_0x1cd3('0x1275')+_0x3cbd21[_0x1cd3('0x3de')]()});return![];}if(_0x2b04ef['size']>_0x4583a5){_0x32d58c[_0x1cd3('0x434')]({'title':_0x1cd3('0x1276'),'msg':_0x1cd3('0x1277')+_0x1fa0fe+'MB'});return![];}var _0x5a0d7a={'id':_0x2b04ef[_0x1cd3('0x1278')],'file':_0x2b04ef,'type':_0x1cd3('0x1279')};_0x4c6bba['chatWebsite'][_0x1cd3('0x1271')][_0x1cd3('0x621')](_0x5a0d7a);return!![];}function _0x32d6ab(){_0x4c6bba['ngFlow'][_0x1cd3('0x46')]['opts'][_0x1cd3('0x3a2')]={'X-Requested-With':_0x1cd3('0x130b'),'Authorization':'Bearer\x20'+_0x244af3[_0x1cd3('0x361')](_0x1cd3('0x374'))};_0x4c6bba[_0x1cd3('0x126b')][_0x1cd3('0x46')][_0x1cd3('0x126d')]();}function _0x43889f(_0x4e5ee7,_0x90f16){angular[_0x1cd3('0x394')](_0x4c6bba[_0x1cd3('0xb02')][_0x1cd3('0x1271')],function(_0x2d7a57,_0x12e0b8){if(_0x2d7a57['id']===_0x4e5ee7[_0x1cd3('0x1278')]){var _0x4e6b72=new FileReader();_0x4e6b72[_0x1cd3('0xe95')](_0x2d7a57[_0x1cd3('0xe96')][_0x1cd3('0xe96')]);_0x4e6b72['onload']=function(_0x510f9c){_0x2d7a57[_0x1cd3('0x3a4')]=_0x510f9c[_0x1cd3('0x365')][_0x1cd3('0xe90')];};_0x2d7a57[_0x1cd3('0x424')]=_0x1cd3('0x127a');}});}}}());(function(){'use strict';_0x511ba4[_0x1cd3('0xc')]=[_0x1cd3('0x53e'),_0x1cd3('0xd24'),_0x1cd3('0x3c5'),'$document','$translate',_0x1cd3('0x463'),_0x1cd3('0xc49'),'api',_0x1cd3('0x461'),_0x1cd3('0x56'),_0x1cd3('0xb02'),_0x1cd3('0x390')];angular['module'](_0x1cd3('0x2e'))[_0x1cd3('0x39b')]('ChatWebsiteController',_0x511ba4);function _0x511ba4(_0xea231f,_0x56eb86,_0x45e6d0,_0x1c2007,_0x3635bd,_0x193ebd,_0x3b10a2,_0x3b7c6e,_0x512352,_0x5a897d,_0x4e344d,_0x457ace){var _0x65c578=this;_0x65c578[_0x1cd3('0x3ca')]=_0x5a897d['getCurrentUser']();_0x65c578[_0x1cd3('0x463')]=_0x193ebd;_0x65c578[_0x1cd3('0xc49')]=_0x3b10a2;_0x65c578[_0x1cd3('0xd29')]=_0x65c578['setting'][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x65c578['location']=_0x56eb86[_0x1cd3('0x3b0')]()+'://'+_0x56eb86[_0x1cd3('0x3ac')]();_0x65c578[_0x1cd3('0xb02')]=_0x4e344d||_0xea231f[_0x1cd3('0x36a')][_0x1cd3('0xb02')]||{};_0x65c578[_0x1cd3('0x390')]=_0x457ace&&_0x457ace[_0x1cd3('0x466')]==0x1?_0x457ace['rows'][0x0]:null;_0x65c578['crudPermissions']=_0x5a897d[_0x1cd3('0xd44')](_0x65c578[_0x1cd3('0x390')]?_0x65c578[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);_0x65c578[_0x1cd3('0xd28')]={};_0x65c578[_0x1cd3('0xe5f')]=_0xea231f[_0x1cd3('0x36a')]['tab']||0x0;_0x65c578[_0x1cd3('0x119b')]=_0x257754;_0x65c578[_0x1cd3('0x11d0')]=_0x512352[_0x1cd3('0x654')];_0x65c578[_0x1cd3('0x137e')]=_0x1ed8f2;_0x65c578['saveChatWebsite']=_0x11a86c;_0x5a897d[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x3b7c6e[_0x1cd3('0xc8f')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x98fc0){_0x65c578[_0x1cd3('0xf5')]=_0x98fc0['rows']||[];})['catch'](function(_0x271248){_0x512352['error']({'title':_0x271248['status']?_0x1cd3('0x435')+_0x271248[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x271248['statusText']:_0x1cd3('0x11f3'),'msg':_0x271248[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x271248['data']):_0x271248[_0x1cd3('0x43b')]()});}):_0x3b7c6e[_0x1cd3('0xc8f')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98')})['$promise'][_0x1cd3('0x77')](function(_0x5a8972){_0x65c578[_0x1cd3('0xf5')]=_0x5a8972[_0x1cd3('0xf6')]||[];})['then'](function(){return _0x3b7c6e['userProfileSection'][_0x1cd3('0x361')]({'userProfileId':_0x65c578[_0x1cd3('0x3ca')]['userProfileId'],'sectionId':0x12d})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x16df97){var _0x4faaaf=_0x16df97&&_0x16df97[_0x1cd3('0xf6')]?_0x16df97[_0x1cd3('0xf6')][0x0]:null;if(!_0x4faaaf){var _0x36c831=[];var _0x18e8b6=null;if(_0x65c578[_0x1cd3('0xb02')]){_0x18e8b6=_['find'](_0x65c578[_0x1cd3('0xf5')],{'id':Number(_0x65c578[_0x1cd3('0xb02')][_0x1cd3('0x106')])});}for(var _0x123608=0x0;_0x123608<_0x65c578[_0x1cd3('0xf5')][_0x1cd3('0x7a')];_0x123608++){if(_0x18e8b6&&_0x65c578[_0x1cd3('0xf5')][_0x123608]['id']===_0x18e8b6['id']){_0x65c578[_0x1cd3('0xf5')][_0x123608][_0x1cd3('0xf4a')]=![];_0x36c831[_0x1cd3('0x7b')](_0x65c578[_0x1cd3('0xf5')][_0x123608]);}}_0x65c578[_0x1cd3('0xf5')]=_0x36c831;}else{if(!_0x4faaaf['autoAssociation']){return _0x3b7c6e[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x4faaaf['id']})[_0x1cd3('0x81')]['then'](function(_0x56b054){var _0x5992cc=_['map'](_0x56b054[_0x1cd3('0xf6')],function(_0x545527){return _[_0x1cd3('0x442')](_0x65c578[_0x1cd3('0xf5')],{'id':_0x545527['resourceId']});});var _0x20c820=null;if(_0x65c578[_0x1cd3('0xb02')]){_0x20c820=_[_0x1cd3('0x442')](_0x65c578['lists'],{'id':Number(_0x65c578['chatWebsite']['ListId'])});}if(_0x20c820&&!_[_0x1cd3('0x38d')](_0x5992cc,['id',_0x20c820['id']])){var _0x122708=_[_0x1cd3('0x442')](_0x65c578[_0x1cd3('0xf5')],{'id':_0x20c820['id']});_0x122708[_0x1cd3('0xf4a')]=![];_0x5992cc[_0x1cd3('0x7b')](_0x122708);}_0x65c578[_0x1cd3('0xf5')]=_0x5992cc;});}}})[_0x1cd3('0xfd')](function(_0xf5fc21){_0x512352[_0x1cd3('0x434')]({'title':_0xf5fc21['status']?_0x1cd3('0x435')+_0xf5fc21[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0xf5fc21[_0x1cd3('0xd35')]:_0x1cd3('0x137f'),'msg':_0xf5fc21[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0xf5fc21['data']):_0xf5fc21[_0x1cd3('0x43b')]()});});_0x5a897d[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x3b7c6e[_0x1cd3('0x77e')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'IntervalId':'null'})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x1cbe40){_0x65c578[_0x1cd3('0x77e')]=_0x1cbe40[_0x1cd3('0xf6')]||[];})['catch'](function(_0x4629f2){_0x512352[_0x1cd3('0x434')]({'title':_0x4629f2[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x4629f2[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x4629f2[_0x1cd3('0xd35')]:_0x1cd3('0x11f4'),'msg':_0x4629f2[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x4629f2[_0x1cd3('0x439')]):_0x4629f2[_0x1cd3('0x43b')]()});}):_0x3b7c6e[_0x1cd3('0x77e')]['get']({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'IntervalId':_0x1cd3('0x220')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x35553b){_0x65c578[_0x1cd3('0x77e')]=_0x35553b[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x3b7c6e['userProfileSection']['get']({'userProfileId':_0x65c578[_0x1cd3('0x3ca')]['userProfileId'],'sectionId':0x3ec})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x149944){var _0x160b47=_0x149944&&_0x149944['rows']?_0x149944[_0x1cd3('0xf6')][0x0]:null;if(!_0x160b47){var _0x51659b=[];var _0xfc25a=null;if(_0x65c578[_0x1cd3('0xb02')]){_0xfc25a=_[_0x1cd3('0x442')](_0x65c578[_0x1cd3('0x77e')],{'id':Number(_0x65c578[_0x1cd3('0xb02')]['IntervalId'])});}for(var _0x582997=0x0;_0x582997<_0x65c578[_0x1cd3('0x77e')][_0x1cd3('0x7a')];_0x582997++){if(_0xfc25a&&_0x65c578[_0x1cd3('0x77e')][_0x582997]['id']===_0xfc25a['id']){_0x65c578['interval'][_0x582997][_0x1cd3('0xf4a')]=![];_0x51659b[_0x1cd3('0x7b')](_0x65c578['interval'][_0x582997]);}}_0x65c578[_0x1cd3('0x77e')]=_0x51659b;}else{if(!_0x160b47['autoAssociation']){return _0x3b7c6e['userProfileResource'][_0x1cd3('0x361')]({'sectionId':_0x160b47['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x2e303c){var _0x5abf41=_[_0x1cd3('0x3d9')](_0x2e303c['rows'],function(_0x65e8d6){return _[_0x1cd3('0x442')](_0x65c578[_0x1cd3('0x77e')],{'id':_0x65e8d6[_0x1cd3('0xe8e')]});});var _0x5834f0=null;if(_0x65c578['chatWebsite']){_0x5834f0=_[_0x1cd3('0x442')](_0x65c578['interval'],{'id':Number(_0x65c578[_0x1cd3('0xb02')]['IntervalId'])});}if(_0x5834f0&&!_[_0x1cd3('0x38d')](_0x5abf41,['id',_0x5834f0['id']])){var _0x3af820=_['find'](_0x65c578[_0x1cd3('0x77e')],{'id':_0x5834f0['id']});_0x3af820[_0x1cd3('0xf4a')]=![];_0x5abf41['push'](_0x3af820);}_0x65c578[_0x1cd3('0x77e')]=_0x5abf41;});}}})[_0x1cd3('0xfd')](function(_0x31b2bd){_0x512352['error']({'title':_0x31b2bd[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x31b2bd[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x31b2bd[_0x1cd3('0xd35')]:'SYSTEM:GETinterval','msg':_0x31b2bd[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x31b2bd['data']):_0x31b2bd[_0x1cd3('0x43b')]()});});_0x5a897d[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x3b7c6e['pause'][_0x1cd3('0x361')]({'fields':_0x1cd3('0x1380'),'sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})['$promise']['then'](function(_0x31ea95){_0x65c578[_0x1cd3('0x1381')]=_0x31ea95[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x19477f){_0x512352[_0x1cd3('0x434')]({'title':_0x19477f[_0x1cd3('0x3a6')]?'API:'+_0x19477f[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x19477f['statusText']:_0x1cd3('0x1382'),'msg':_0x19477f[_0x1cd3('0x439')]?JSON['stringify'](_0x19477f[_0x1cd3('0x439')]):_0x19477f['toString']()});}):_0x3b7c6e[_0x1cd3('0x63e')][_0x1cd3('0x361')]({'fields':_0x1cd3('0x1380'),'sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})['$promise'][_0x1cd3('0x77')](function(_0x392111){_0x65c578['pauses']=_0x392111[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x3b7c6e['userProfileSection'][_0x1cd3('0x361')]({'userProfileId':_0x65c578['currentUser'][_0x1cd3('0x5e')],'sectionId':0x3ed})['$promise'];})['then'](function(_0x43d0a2){var _0x591dca=_0x43d0a2&&_0x43d0a2['rows']?_0x43d0a2[_0x1cd3('0xf6')][0x0]:null;if(!_0x591dca){_0x65c578[_0x1cd3('0x1381')]=[];}else{if(!_0x591dca['autoAssociation']){return _0x3b7c6e[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x591dca['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0xc185bd){var _0x44925f=_[_0x1cd3('0x3d9')](_0xc185bd[_0x1cd3('0xf6')],function(_0x4f75b4){return _['find'](_0x65c578[_0x1cd3('0x1381')],{'id':_0x4f75b4[_0x1cd3('0xe8e')]});});_0x65c578[_0x1cd3('0x1381')][_0x1cd3('0x394')](function(_0x73c945){if(!_[_0x1cd3('0x38d')](_0x44925f,['id',_0x73c945['id']])){_0x73c945['canSelect']=![];}_0x44925f[_0x1cd3('0x7b')](_0x73c945);});_0x65c578[_0x1cd3('0x1381')]=_0x44925f;});}}})[_0x1cd3('0xfd')](function(_0x5e84ce){_0x512352[_0x1cd3('0x434')]({'title':_0x5e84ce[_0x1cd3('0x3a6')]?'API:'+_0x5e84ce[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x5e84ce[_0x1cd3('0xd35')]:'SYSTEM:GETpauses','msg':_0x5e84ce[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x5e84ce[_0x1cd3('0x439')]):_0x5e84ce[_0x1cd3('0x43b')]()});});function _0x257754(_0x1104ea,_0x17e467){_0x45e6d0['show']({'controller':'ChatWebsiteagentaddController','controllerAs':'vm','templateUrl':_0x1cd3('0x11f7'),'parent':angular[_0x1cd3('0x37f')](_0x1c2007[_0x1cd3('0x380')]),'targetEvent':_0x17e467,'clickOutsideToClose':!![],'locals':{'chatWebsite':_0x1104ea,'chatWebsites':_0x65c578[_0x1cd3('0x11d4')]?_0x65c578[_0x1cd3('0x11d4')][_0x1cd3('0xf6')]:[],'crudPermissions':_0x65c578[_0x1cd3('0xd27')],'realtime':![]}});}function _0x1ed8f2(){_0xea231f['go'](_0x1cd3('0x1383'),{},{'reload':_0x1cd3('0x1383')});}function _0x11a86c(){_0x3b7c6e[_0x1cd3('0xb02')]['update']({'id':_0x65c578['chatWebsite']['id']},_0x65c578[_0x1cd3('0xb02')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x512352[_0x1cd3('0x473')]({'title':_0x1cd3('0x1384'),'msg':_0x65c578[_0x1cd3('0xb02')][_0x1cd3('0x98')]?_0x65c578[_0x1cd3('0xb02')]['name']+_0x1cd3('0xe65'):''});})[_0x1cd3('0xfd')](function(_0x30ad16){_0x512352['error']({'title':_0x30ad16[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x30ad16[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x30ad16[_0x1cd3('0xd35')]:'SYSTEM:GETchatWebsite','msg':_0x30ad16[_0x1cd3('0x439')]?JSON['stringify'](_0x30ad16[_0x1cd3('0x439')]):_0x30ad16['toString']()});});}}}());(function(){'use strict';_0x99e0a5[_0x1cd3('0xc')]=[_0x1cd3('0x460'),'$q',_0x1cd3('0x3e7'),'$mdDialog','$document',_0x1cd3('0x6c3'),_0x1cd3('0x1381'),_0x1cd3('0x1228'),_0x1cd3('0x1385'),'api',_0x1cd3('0xd18'),'toasty','helperClasses',_0x1cd3('0x38a'),_0x1cd3('0x390'),_0x1cd3('0x56'),'license',_0x1cd3('0x585')];angular['module'](_0x1cd3('0x2d'))['controller']('AgentsChatRealtimeController',_0x99e0a5);function _0x99e0a5(_0x116c29,_0x25b0e4,_0x344f37,_0x193d46,_0x5bdaec,_0x14bd36,_0x39f995,_0x2bc909,_0x45c3f6,_0x2ab96a,_0x2e1dc1,_0x52493e,_0x1745cc,_0x56e3e6,_0x4a65b0,_0x1fe0df,_0x3ed697,_0x28672d){var _0xa6c9b0=this;var _0x2ed48f=[_0x1cd3('0x1386'),_0x1cd3('0x1387'),_0x1cd3('0x1388'),_0x1cd3('0x1389'),'pauseType',_0x1cd3('0x1389'),_0x1cd3('0x311'),_0x1cd3('0x138a'),_0x1cd3('0x138b'),_0x1cd3('0x138c'),'mailPause',_0x1cd3('0x138d'),_0x1cd3('0x138e'),_0x1cd3('0x138f'),_0x1cd3('0x604'),_0x1cd3('0x1390'),_0x1cd3('0x1391'),_0x1cd3('0x1392'),_0x1cd3('0x1393'),'whatsappCapacity',_0x1cd3('0x1394'),'chatCurrentCapacity',_0x1cd3('0x1395'),_0x1cd3('0x1396'),'smsCurrentCapacity',_0x1cd3('0x1397'),_0x1cd3('0x1398'),_0x1cd3('0x1399'),_0x1cd3('0x139a'),_0x1cd3('0x139b'),'smsStatus',_0x1cd3('0x139c'),_0x1cd3('0x139d'),_0x1cd3('0x139e'),_0x1cd3('0x139f'),_0x1cd3('0x13a0'),_0x1cd3('0x13a1'),_0x1cd3('0x13a2'),'whatsappStatusTime','faxStatusTime',_0x1cd3('0x13a3'),'queue',_0x1cd3('0x13a4'),_0x1cd3('0x13a5'),_0x1cd3('0x13a6'),_0x1cd3('0x13a7')];var _0xcf4a04=['chatPause',_0x1cd3('0x138c'),'mailPause',_0x1cd3('0x138d'),_0x1cd3('0x138e'),_0x1cd3('0x138f'),_0x1cd3('0x604'),_0x1cd3('0x1387')];_0xa6c9b0[_0x1cd3('0x3ca')]=_0x1fe0df[_0x1cd3('0x5d')]();_0xa6c9b0['availableStates']=[_0x1cd3('0x5cd'),_0x1cd3('0x13a8'),_0x1cd3('0x13a9'),_0x1cd3('0x13aa'),_0x1cd3('0x13ab')];_0xa6c9b0[_0x1cd3('0x1381')]=_0x39f995||{'count':0x0,'rows':[]};_0xa6c9b0[_0x1cd3('0x463')]=_0x3ed697;_0xa6c9b0[_0x1cd3('0x38a')]=_0x56e3e6;_0xa6c9b0[_0x1cd3('0x390')]=_0x4a65b0&&_0x4a65b0['count']==0x1?_0x4a65b0[_0x1cd3('0xf6')][0x0]:null;_0xa6c9b0[_0x1cd3('0xd27')]=_0x1fe0df['parseCrudPermissions'](_0xa6c9b0[_0x1cd3('0x390')]?_0xa6c9b0[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);_0xa6c9b0['agents']=_0x2bc909?_[_0x1cd3('0xe2d')](_0x2bc909[_0x1cd3('0xf6')]?_0x2bc909[_0x1cd3('0xf6')]:[],'id'):{};_0xa6c9b0[_0x1cd3('0x1385')]=_0x45c3f6?_[_0x1cd3('0xe2d')](_0x45c3f6[_0x1cd3('0xf6')]?_0x45c3f6[_0x1cd3('0xf6')]:[],'id'):{};_0xa6c9b0[_0x1cd3('0x13ac')]={};_0xa6c9b0[_0x1cd3('0x5de')]=![];_0xa6c9b0[_0x1cd3('0x13ad')]=[];_0xa6c9b0[_0x1cd3('0x13ae')]={};for(var _0x3ecd64 in _0xa6c9b0[_0x1cd3('0x1228')]){if(_0xa6c9b0[_0x1cd3('0x1228')]['hasOwnProperty'](_0x3ecd64)){_0xa6c9b0[_0x1cd3('0x1228')][_0x3ecd64][_0x1cd3('0xe08')]=!![];}}_0xa6c9b0['query']={'limit':0xa,'page':0x1,'order':_0x1cd3('0xd3'),'globalStatusFilter':'','pauseTypeFilter':''};_0xa6c9b0[_0x1cd3('0x376')]=_0x3a22f5;_0xa6c9b0[_0x1cd3('0x13af')]=_0x471846;_0xa6c9b0[_0x1cd3('0x63e')]=_0x2c6912;_0xa6c9b0[_0x1cd3('0x13b0')]=_0x6e2db2;_0xa6c9b0['showInfo']=_0x1d3e1f;_0xa6c9b0[_0x1cd3('0x13b1')]=_0x1d5831;_0xa6c9b0[_0x1cd3('0x13b2')]=_0x4d3ce8;_0xa6c9b0[_0x1cd3('0x13b3')]=_0x47c294;_0xa6c9b0[_0x1cd3('0x13b4')]=_0x29c1ca;_0xa6c9b0[_0x1cd3('0x13b5')]=_0x387553;_0xa6c9b0[_0x1cd3('0x13b6')]=_0x469d3a;_0xa6c9b0['onUpdate']=_0xce60cb;_0xa6c9b0[_0x1cd3('0x703')]=_0x47db28;_0xa6c9b0['onConnect']=_0x33baa6;_0xa6c9b0[_0x1cd3('0x13b7')]=_0x1770da;_0xa6c9b0[_0x1cd3('0x13b8')]=_0x2d2bda;_0x2e1dc1['on'](_0x1cd3('0x13b9'),_0xa6c9b0[_0x1cd3('0x13b6')]);_0x2e1dc1['on'](_0x1cd3('0x13ba'),_0xa6c9b0[_0x1cd3('0x13bb')]);_0x2e1dc1['on'](_0x1cd3('0x13bc'),_0xa6c9b0[_0x1cd3('0x13bd')]);_0x2e1dc1['on'](_0x1cd3('0x13be'),_0xa6c9b0[_0x1cd3('0x13b7')]);_0x47db28();var _0xdfd5d=_0x28672d(function(){if(_0xa6c9b0['load']){_0xa6c9b0[_0x1cd3('0x5de')]=![];_0x47db28();}},0x3e7);function _0x47db28(_0xac1b83){_0xa6c9b0[_0x1cd3('0x5de')]=![];var _0x59a597=_0x25b0e4['defer']();_0xa6c9b0[_0x1cd3('0x539')]=_0x59a597[_0x1cd3('0x539')];_0xa6c9b0['filteredAgents']=[];_0xa6c9b0[_0x1cd3('0x13ad')]=[];_['forIn'](_0xa6c9b0['agents'],function(_0x37919d,_0x55f9ba){if(_0xa6c9b0[_0x1cd3('0x1385')][_0x55f9ba]){_['merge'](_0x37919d,_[_0x1cd3('0x5e8')](_['omit'](_0xa6c9b0[_0x1cd3('0x1385')][_0x55f9ba],_0xcf4a04),_0x2ed48f));}_0x4d3ce8(_0x37919d);if(_0x37919d[_0x1cd3('0x1387')]){_0xa6c9b0[_0x1cd3('0x13bf')][_0x1cd3('0x7b')](_0x37919d);_0xa6c9b0[_0x1cd3('0x13ae')][_0x37919d['internal']]=_0x55f9ba;}else{_0x37919d[_0x1cd3('0x13c0')]=_[_0x1cd3('0x13c1')](moment()[_0x1cd3('0x130')]('x'));}});if(_0xa6c9b0[_0x1cd3('0x3d4')]['globalStatusFilter']){_[_0x1cd3('0x383')](_0xa6c9b0[_0x1cd3('0x13bf')],function(_0x4a3c98){return _0x4a3c98[_0x1cd3('0x13c2')]!==_0xa6c9b0[_0x1cd3('0x3d4')][_0x1cd3('0x13c3')];});}if(_0xa6c9b0[_0x1cd3('0x3d4')][_0x1cd3('0x13c4')]){_[_0x1cd3('0x383')](_0xa6c9b0[_0x1cd3('0x13bf')],function(_0x4f2d15){return _0x4f2d15[_0x1cd3('0x13c5')]!==_0xa6c9b0[_0x1cd3('0x3d4')][_0x1cd3('0x13c4')];});}if(_0xa6c9b0[_0x1cd3('0x3d4')][_0x1cd3('0x395')]){_['remove'](_0xa6c9b0['filteredAgents'],function(_0x207155){return _0x207155[_0x1cd3('0xd3')][_0x1cd3('0x433')]()['indexOf'](_0xa6c9b0[_0x1cd3('0x3d4')][_0x1cd3('0x395')][_0x1cd3('0x433')]())<0x0;});}_0xa6c9b0[_0x1cd3('0x13bf')]=_0x1bab36(_0xa6c9b0[_0x1cd3('0x13bf')]);var _0x719b26=(_0xa6c9b0['query'][_0x1cd3('0x8fd')]-0x1)*_0xa6c9b0[_0x1cd3('0x3d4')]['limit'];_0xa6c9b0['paginatedAgents']=_['drop'](_0xa6c9b0['filteredAgents'],_0x719b26)[_0x1cd3('0x9a2')](0x0,_0xa6c9b0[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')]);for(var _0x58886c=0x0;_0x58886c<_0xa6c9b0['paginatedAgents'][_0x1cd3('0x7a')];_0x58886c+=0x1){_0xa6c9b0[_0x1cd3('0x13ad')][_0x1cd3('0x7b')](_0xa6c9b0[_0x1cd3('0x13ac')][_0x58886c]['id']);}_0x59a597[_0x1cd3('0x58')]();_0xa6c9b0['load']=!![];}function _0x469d3a(_0x4a6528){if(_0xa6c9b0[_0x1cd3('0x1228')][_0x4a6528['id']]){_['merge'](_0xa6c9b0[_0x1cd3('0x1228')][_0x4a6528['id']],_[_0x1cd3('0x5e8')](_[_0x1cd3('0x3e3')](_0x4a6528,_0xcf4a04),_0x2ed48f));_[_0x1cd3('0xf2')](_0xa6c9b0[_0x1cd3('0x1385')][_0x4a6528['id']],_[_0x1cd3('0x5e8')](_[_0x1cd3('0x3e3')](_0x4a6528,_0xcf4a04),_0x2ed48f));_0x4d3ce8(_0xa6c9b0[_0x1cd3('0x1228')][_0x4a6528['id']]);}}function _0xce60cb(_0x481343){if(_0xa6c9b0['agents'][_0x481343['id']]){_[_0x1cd3('0xf2')](_0xa6c9b0[_0x1cd3('0x1228')][_0x481343['id']],_[_0x1cd3('0x5e8')](_0x481343,_0x2ed48f));_[_0x1cd3('0xf2')](_0xa6c9b0['rpcAgents'][_0x481343['id']],_['pick'](_0x481343,_0x2ed48f));if(_0x481343[_0x1cd3('0x1389')]){_0xa6c9b0['agents'][_0x481343['id']][_0x1cd3('0x13c0')]=_0x481343['lastPauseAt'];_0xa6c9b0[_0x1cd3('0x1385')][_0x481343['id']][_0x1cd3('0x13c0')]=_0x481343[_0x1cd3('0x1389')];}_0x4d3ce8(_0xa6c9b0[_0x1cd3('0x1228')][_0x481343['id']]);}}function _0x33baa6(_0x5f2121){if(_0xa6c9b0[_0x1cd3('0x1228')][_0xa6c9b0[_0x1cd3('0x13ae')][_0x5f2121[_0x1cd3('0x13c6')]]]){_[_0x1cd3('0xf2')](_0xa6c9b0[_0x1cd3('0x1228')][_0xa6c9b0[_0x1cd3('0x13ae')][_0x5f2121[_0x1cd3('0x13c6')]]],_[_0x1cd3('0x5e8')](_0x5f2121,[_0x1cd3('0x1220'),_0x1cd3('0x13a4')]));_[_0x1cd3('0xf2')](_0xa6c9b0[_0x1cd3('0x1385')][_0xa6c9b0['agentInternal'][_0x5f2121['destaccountcode']]],_[_0x1cd3('0x5e8')](_0x5f2121,[_0x1cd3('0x1220'),_0x1cd3('0x13a4')]));}}function _0x1770da(_0x44809c){if(_0xa6c9b0[_0x1cd3('0x1228')][_0xa6c9b0[_0x1cd3('0x13ae')][_0x44809c[_0x1cd3('0x13c6')]]]){_0xa6c9b0[_0x1cd3('0x1228')][_0xa6c9b0[_0x1cd3('0x13ae')][_0x44809c[_0x1cd3('0x13c6')]]]=_[_0x1cd3('0x3e3')](_0xa6c9b0[_0x1cd3('0x1228')][_0xa6c9b0[_0x1cd3('0x13ae')][_0x44809c[_0x1cd3('0x13c6')]]],['queue',_0x1cd3('0x13a4')]);_0xa6c9b0[_0x1cd3('0x1385')][_0xa6c9b0[_0x1cd3('0x13ae')][_0x44809c[_0x1cd3('0x13c6')]]]=_['omit'](_0xa6c9b0[_0x1cd3('0x1385')][_0xa6c9b0[_0x1cd3('0x13ae')][_0x44809c[_0x1cd3('0x13c6')]]],['queue',_0x1cd3('0x13a4')]);}}function _0x3a22f5(_0x523880,_0x150c14){return _0x2ab96a[_0x1cd3('0x368')]['logout']({'id':_0x523880['id'],'device':_0x1cd3('0x11b9'),'agent_id':_0x523880['id'],'agent_name':_0x523880[_0x1cd3('0x98')]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x52493e['success']({'title':_0x1cd3('0x13c7'),'msg':_0x523880['fullname']+_0x1cd3('0x13c8')});if(_0xa6c9b0[_0x1cd3('0x1228')][_0x523880['id']]){_0xa6c9b0[_0x1cd3('0x1228')][_0x523880['id']][_0x1cd3('0x1387')]=![];}if(_0xa6c9b0[_0x1cd3('0x1385')][_0x523880['id']]){_0xa6c9b0[_0x1cd3('0x1385')][_0x523880['id']][_0x1cd3('0x1387')]=![];}_0x47db28();})[_0x1cd3('0xfd')](function(_0x2bdb03){_0x52493e[_0x1cd3('0x434')]({'title':_0x2bdb03[_0x1cd3('0x3a6')]?'API:'+_0x2bdb03[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x2bdb03[_0x1cd3('0xd35')]:_0x1cd3('0x13c9'),'msg':_0x2bdb03['data']?JSON['stringify'](_0x2bdb03[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x2bdb03[_0x1cd3('0x43b')]()});});}function _0x2c6912(_0x59a14b,_0x584c87){return _0x2ab96a[_0x1cd3('0x368')][_0x1cd3('0x63e')]({'id':_0x59a14b['id'],'type':_0x584c87})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x3368d9){if(_0xa6c9b0[_0x1cd3('0x1228')][_0x59a14b['id']]){_[_0x1cd3('0xf2')](_0xa6c9b0[_0x1cd3('0x1228')][_0x59a14b['id']],_[_0x1cd3('0x5e8')](_0x3368d9,_0x2ed48f));}if(_0xa6c9b0['rpcAgents'][_0x59a14b['id']]){_[_0x1cd3('0xf2')](_0xa6c9b0[_0x1cd3('0x1385')][_0x59a14b['id']],_[_0x1cd3('0x5e8')](_0x3368d9,_0x2ed48f));}_0x4d3ce8(_0xa6c9b0[_0x1cd3('0x1228')][_0x59a14b['id']]);})[_0x1cd3('0xfd')](function(_0xe1c909){_0x52493e[_0x1cd3('0x434')]({'title':_0xe1c909[_0x1cd3('0x3a6')]?'API:'+_0xe1c909['status']+_0x1cd3('0x436')+_0xe1c909[_0x1cd3('0xd35')]:_0x1cd3('0x13c9'),'msg':_0xe1c909[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0xe1c909['data'][_0x1cd3('0x43a')]):_0xe1c909[_0x1cd3('0x43b')]()});});}function _0x6e2db2(_0x268be1){return _0x2ab96a[_0x1cd3('0x368')]['unpause']({'id':_0x268be1['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x295f94){if(_0xa6c9b0[_0x1cd3('0x1228')][_0x268be1['id']]){_[_0x1cd3('0xf2')](_0xa6c9b0['agents'][_0x268be1['id']],_[_0x1cd3('0x5e8')](_0x295f94,_0x2ed48f));}if(_0xa6c9b0[_0x1cd3('0x1385')][_0x268be1['id']]){_[_0x1cd3('0xf2')](_0xa6c9b0[_0x1cd3('0x1385')][_0x268be1['id']],_[_0x1cd3('0x5e8')](_0x295f94,_0x2ed48f));}_0x4d3ce8(_0xa6c9b0['agents'][_0x268be1['id']]);})[_0x1cd3('0xfd')](function(_0x49a640){_0x52493e['error']({'title':_0x49a640[_0x1cd3('0x3a6')]?'API:'+_0x49a640[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x49a640[_0x1cd3('0xd35')]:_0x1cd3('0x13c9'),'msg':_0x49a640[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x49a640['data']['message']):_0x49a640[_0x1cd3('0x43b')]()});});}function _0x1d3e1f(_0x490edf){_0x193d46[_0x1cd3('0x37e')](_0x193d46['alert']()[_0x1cd3('0x13ca')](!![])['title'](_0x1cd3('0x13cb'))[_0x1cd3('0xd60')]('<div>TODO\x20legend\x20status\x20+\x20state</div>')['ok']('Ok')['targetEvent'](_0x490edf));}function _0x471846(_0x50f1a5,_0x1ef567){_0x193d46['show']({'controller':'AgentqueueaddController','controllerAs':'vm','templateUrl':_0x1cd3('0x13cc'),'parent':angular['element'](_0x5bdaec[_0x1cd3('0x380')]),'targetEvent':_0x1ef567,'clickOutsideToClose':!![],'locals':{'agent':_0x50f1a5,'agents':[],'channel':_0x1cd3('0xbf'),'direction':_0x1cd3('0xa4'),'crudPermissions':_0xa6c9b0[_0x1cd3('0xd27')]}});}function _0x47c294(_0x4e265e){return _0x4e265e===_0x1cd3('0x63e')||_0x4e265e==='*pause';}function _0x29c1ca(_0x4a2b94){return _0x4a2b94==='pause';}function _0x387553(_0x1575d0){return _0x1575d0===_0x1cd3('0x13cd');}function _0x4271b9(_0x27b402){return _0x27b402==='idle'||_0x27b402==='unknown'||_0x27b402===_0x1cd3('0x13ce')||_0x27b402===_0x1cd3('0x5cd')||_[_0x1cd3('0x472')](_0x27b402);}function _0x1d5831(_0x4fc209,_0xe9d682){if(_0xe9d682===_0x1cd3('0x121')){if(_0x4fc209[_0xe9d682+_0x1cd3('0x131b')]!==_0x1cd3('0x13cf')){return _0x4fc209[_0xe9d682+'Status'];}if(_0x4fc209[_0xe9d682+'Pause']){_0x4fc209[_0xe9d682+_0x1cd3('0x131b')]=_0x1cd3('0x63e');return'pause';}return _0x1cd3('0x13cf');}else{if(_0x4fc209[_0xe9d682+_0x1cd3('0x13d0')]){_0x4fc209[_0xe9d682+'Status']=_0x1cd3('0x63e');return _0x1cd3('0x63e');}return _0x4fc209[_0xe9d682+'Status'];}}function _0x4d3ce8(_0x486a2c){var _0x599fbd='unknown';if(_['every']([_0x1d5831(_0x486a2c,_0x1cd3('0x121')),_0x1d5831(_0x486a2c,'chat'),_0x1d5831(_0x486a2c,_0x1cd3('0x1d2')),_0x1d5831(_0x486a2c,'openchannel'),_0x1d5831(_0x486a2c,'sms'),_0x1d5831(_0x486a2c,_0x1cd3('0x34a')),_0x1d5831(_0x486a2c,_0x1cd3('0x154'))],_0x47c294)){_0x599fbd=_0x1cd3('0x63e');}else if(_[_0x1cd3('0x38d')]([_0x1d5831(_0x486a2c,_0x1cd3('0x121')),_0x1d5831(_0x486a2c,_0x1cd3('0xbf')),_0x1d5831(_0x486a2c,'mail'),_0x1d5831(_0x486a2c,_0x1cd3('0x22e')),_0x1d5831(_0x486a2c,_0x1cd3('0x26b')),_0x1d5831(_0x486a2c,_0x1cd3('0x34a')),_0x1d5831(_0x486a2c,_0x1cd3('0x154'))],_0x47c294)){_0x599fbd='*pause';}else if(_[_0x1cd3('0x920')]([_0x1d5831(_0x486a2c,_0x1cd3('0x121')),_0x1d5831(_0x486a2c,_0x1cd3('0xbf')),_0x1d5831(_0x486a2c,'mail'),_0x1d5831(_0x486a2c,_0x1cd3('0x22e')),_0x1d5831(_0x486a2c,'sms'),_0x1d5831(_0x486a2c,_0x1cd3('0x34a')),_0x1d5831(_0x486a2c,_0x1cd3('0x154'))],_0x4271b9)){_0x599fbd='idle';}else{_0x599fbd='busy';}if(_0x486a2c['globalStatus']!==_0x599fbd){_0x486a2c[_0x1cd3('0x13c2')]=_0x599fbd;if(_0x486a2c[_0x1cd3('0xe08')]){_0x486a2c['init']=![];_0x486a2c[_0x1cd3('0x13c0')]=_0x47c294(_0x599fbd)?_[_0x1cd3('0x13c1')](moment(_0x486a2c[_0x1cd3('0x1389')])['format']('x')):_[_0x1cd3('0x13d1')]([_0x486a2c[_0x1cd3('0x13a3')],_0x486a2c[_0x1cd3('0x139f')],_0x486a2c[_0x1cd3('0x13a1')],_0x486a2c[_0x1cd3('0x13a2')],_0x486a2c[_0x1cd3('0x13d2')],_0x486a2c[_0x1cd3('0x13a0')],_0x486a2c[_0x1cd3('0x13d3')]]);}else{_0x486a2c[_0x1cd3('0x13c0')]=_[_0x1cd3('0x13c1')](moment()[_0x1cd3('0x130')]('x'));}}}function _0x1bab36(_0x497bb7){var _0x5892e1=_[_0x1cd3('0x13d4')](_0xa6c9b0[_0x1cd3('0x3d4')][_0x1cd3('0x13ad')],'-')?_0x1cd3('0x13d5'):_0x1cd3('0x13d6');return _[_0x1cd3('0xe31')](_0x497bb7,[_0xa6c9b0[_0x1cd3('0x3d4')][_0x1cd3('0x13ad')]['replace']('-','')],[_0x5892e1]);}function _0x57d252(){if(_0xdfd5d){_0x28672d[_0x1cd3('0x4d8')](_0xdfd5d);_0xdfd5d=null;}}function _0x2d2bda(_0x40e3dd,_0x2c69e9){return _0x2ab96a[_0x1cd3('0x368')][_0x1cd3('0x378')]({'id':_0x40e3dd['id']},{'screenrecording':_0x2c69e9})[_0x1cd3('0x81')][_0x1cd3('0xfd')](function(_0x9568f0){_0x52493e[_0x1cd3('0x434')]({'title':_0x9568f0[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x9568f0[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x9568f0['statusText']:_0x1cd3('0x13d7'),'msg':_0x9568f0[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x9568f0['data'][_0x1cd3('0x43a')]):_0x9568f0['toString']()});});}_0x116c29['$on'](_0x1cd3('0x523'),function(){_0x2e1dc1[_0x1cd3('0x6a3')](_0x1cd3('0x13b9'));_0x2e1dc1[_0x1cd3('0x6a3')](_0x1cd3('0x13ba'));_0x2e1dc1[_0x1cd3('0x6a3')]('user:agentconnect');_0x2e1dc1[_0x1cd3('0x6a3')](_0x1cd3('0x13be'));_0x57d252();});}}());(function(){'use strict';_0x47878f[_0x1cd3('0xc')]=[_0x1cd3('0x460'),'$timeout',_0x1cd3('0x3c5'),'$q',_0x1cd3('0x372'),'$interval','queues',_0x1cd3('0x13d8'),_0x1cd3('0x370'),'socket',_0x1cd3('0x461'),_0x1cd3('0x38a'),'userProfileSection',_0x1cd3('0x56')];angular[_0x1cd3('0x0')]('app.chat')[_0x1cd3('0x39b')]('QueuesChatRealtimeController',_0x47878f);function _0x47878f(_0x3a0aa1,_0x57dc1b,_0x24e8f4,_0x5e3ff2,_0x104fcf,_0x335bab,_0x1560dd,_0x4380ae,_0x963e09,_0x574f51,_0xd25b4c,_0x38c439,_0x5bcc3b,_0x5c87b7){var _0x2174d9=this;var _0x552298=[_0x1cd3('0x13d9'),_0x1cd3('0x13da'),_0x1cd3('0x10d'),'talking',_0x1cd3('0x13db'),_0x1cd3('0x13dc'),_0x1cd3('0x43a'),'dialActive',_0x1cd3('0x13dd'),_0x1cd3('0x13de'),'paused'];_0x2174d9[_0x1cd3('0x3ca')]=_0x5c87b7[_0x1cd3('0x5d')]();_0x2174d9[_0x1cd3('0x466')]=_0x1560dd[_0x1cd3('0x466')]?_0x1560dd['count']:0x0;_0x2174d9[_0x1cd3('0x1155')]=_0x1560dd?_[_0x1cd3('0xe2d')](_0x1560dd[_0x1cd3('0xf6')]?_0x1560dd['rows']:[],'id'):{};_0x2174d9['rpcQueues']=_0x4380ae?_[_0x1cd3('0xe2d')](_0x4380ae['rows']?_0x4380ae[_0x1cd3('0xf6')]:[],'id'):{};_0x2174d9[_0x1cd3('0x38a')]=_0x38c439;_0x2174d9[_0x1cd3('0x390')]=_0x5bcc3b&&_0x5bcc3b[_0x1cd3('0x466')]==0x1?_0x5bcc3b['rows'][0x0]:null;_0x2174d9[_0x1cd3('0xd27')]=_0x5c87b7['parseCrudPermissions'](_0x2174d9[_0x1cd3('0x390')]?_0x2174d9[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);if(_0x5c87b7[_0x1cd3('0x57')](_0x1cd3('0x5f'))){_0x2174d9['query']={'type':'inbound','sort':_0x1cd3('0x5b'),'limit':0xa,'page':0x1};}else{_0x2174d9[_0x1cd3('0x3d4')]={'id':_0x2174d9['currentUser']['id'],'channel':_0x1cd3('0xbf'),'type':'inbound','sort':_0x1cd3('0x5b'),'limit':0xa,'page':0x1};}_0x2174d9['success']=_0x21d694;_0x2174d9[_0x1cd3('0x13df')]=_0x258d38;_0x2174d9['createOrEditChatQueue']=_0x1ca43f;_0x2174d9['agentAdd']=_0x2a5721;_0x2174d9[_0x1cd3('0x13e0')]=_0x2fbde1;_0x2174d9[_0x1cd3('0x13b6')]=_0x9126cc;_0x2174d9[_0x1cd3('0x13e1')]=_0x401e02;_0x2174d9[_0x1cd3('0x13e2')]=_0x515494;_0x2174d9[_0x1cd3('0x13e3')]=_0x5c9d29;_0x2174d9['onLogin']=_0x3c1a17;_0x2174d9[_0x1cd3('0x13e4')]=_0x5a1223;_0x2174d9['$onInit']=_0x54392a;_0x2174d9[_0x1cd3('0x13ad')]=[];_[_0x1cd3('0x13e5')](_0x2174d9[_0x1cd3('0x1155')],function(_0x5987a9,_0x28dc94){_0x2174d9[_0x1cd3('0x13ad')][_0x1cd3('0x7b')](_0x5987a9['id']);});_0x574f51['on'](_0x1cd3('0x13e6'),_0x2174d9['onSave']);_0x574f51['on'](_0x1cd3('0x13e7'),_0x2174d9[_0x1cd3('0x13e1')]);_0x574f51['on']('userChatQueue:remove',_0x2174d9[_0x1cd3('0x13e2')]);_0x574f51['on'](_0x1cd3('0x13ba'),_0x2174d9[_0x1cd3('0x13e3')]);_0x574f51['on']('userVoiceQueue:remove',_0x2174d9[_0x1cd3('0x13e4')]);_0x574f51['on'](_0x1cd3('0x13e8'),_0x2174d9[_0x1cd3('0x13e9')]);function _0x54392a(){var _0x485dc4=[];_[_0x1cd3('0x13e5')](_0x2174d9[_0x1cd3('0x1155')],function(_0x3f5011,_0x3ca67e){_0x3f5011[_0x1cd3('0x13ea')]=0x0;_0x3f5011[_0x1cd3('0x13eb')]=0x0;_0x2174d9[_0x1cd3('0x1155')][_0x3ca67e][_0x1cd3('0x1228')]={};_0x485dc4[_0x1cd3('0x7b')](_0x963e09[_0x1cd3('0x11a7')][_0x1cd3('0x13ec')]({'id':_0x3ca67e})['$promise']);if(_0x2174d9['rpcQueues'][_0x3ca67e]){_[_0x1cd3('0xf2')](_0x3f5011,_['pick'](_0x2174d9[_0x1cd3('0x13d8')][_0x3ca67e],_0x552298));}});return _0x5e3ff2['all'](_0x485dc4)[_0x1cd3('0x77')](function(_0x46cf5b){for(var _0x1d7bf9=0x0;_0x1d7bf9<_0x46cf5b['length'];_0x1d7bf9+=0x1){for(var _0x35fd78=0x0;_0x35fd78<_0x46cf5b[_0x1d7bf9][_0x1cd3('0xf6')][_0x1cd3('0x7a')];_0x35fd78++){if(_0x46cf5b[_0x1d7bf9][_0x1cd3('0xf6')][_0x35fd78][_0x1cd3('0x13ea')]){_0x2174d9['queues'][_0x46cf5b[_0x1d7bf9][_0x1cd3('0xf6')][_0x35fd78][_0x1cd3('0x1221')]][_0x1cd3('0x13ea')]++;}_0x2174d9[_0x1cd3('0x1155')][_0x46cf5b[_0x1d7bf9]['rows'][_0x35fd78]['ChatQueueId']][_0x1cd3('0x13eb')]++;_0x2174d9[_0x1cd3('0x1155')][_0x46cf5b[_0x1d7bf9]['rows'][_0x35fd78][_0x1cd3('0x1221')]]['agents'][_0x46cf5b[_0x1d7bf9][_0x1cd3('0xf6')][_0x35fd78][_0x1cd3('0x1226')]]=_0x46cf5b[_0x1d7bf9][_0x1cd3('0xf6')][_0x35fd78]['ChatQueueId'];}}})[_0x1cd3('0xfd')](function(_0xe8ae16){console[_0x1cd3('0x434')](_0xe8ae16);});}function _0x9126cc(_0x92778){if(_0x2174d9['queues'][_0x92778['id']]){_[_0x1cd3('0xf2')](_0x2174d9['queues'][_0x92778['id']],_[_0x1cd3('0x5e8')](_0x92778,_0x552298));}}function _0x401e02(_0x570693){if(_0x2174d9[_0x1cd3('0x1155')][_0x570693['ChatQueueId']]){_0x2174d9[_0x1cd3('0x1155')][_0x570693[_0x1cd3('0x1221')]]['loggedInDb']++;}}function _0x515494(_0x1abd9f){if(_0x2174d9[_0x1cd3('0x1155')][_0x1abd9f[_0x1cd3('0x1221')]]){_0x2174d9[_0x1cd3('0x1155')][_0x1abd9f['ChatQueueId']][_0x1cd3('0x13eb')]--;}}function _0x5c9d29(_0x4419cc){console[_0x1cd3('0x7d')](_0x1cd3('0x13e3'),_0x4419cc);if(_0x4419cc[_0x1cd3('0x604')]){_[_0x1cd3('0x13e5')](_0x2174d9[_0x1cd3('0x1155')],function(_0x51309f,_0x587211){if(_0x51309f['agents'][_0x4419cc['id']]){_0x51309f[_0x1cd3('0x13ea')]+=0x1;console[_0x1cd3('0x7d')](_0x1cd3('0x63e'));}});}else if(!_0x4419cc['voicePause']){_['forIn'](_0x2174d9[_0x1cd3('0x1155')],function(_0x2e6389,_0x111903){if(_0x2e6389[_0x1cd3('0x1228')][_0x4419cc['id']]){if(_0x2e6389['paused']>0x0){_0x2e6389[_0x1cd3('0x13ea')]-=0x1;console[_0x1cd3('0x7d')](_0x1cd3('0x13ed'));}}});}}function _0x3c1a17(_0x2c0011){console[_0x1cd3('0x7d')](_0x1cd3('0x13ee'),_0x2c0011);if(_0x2174d9[_0x1cd3('0x1155')][_0x2c0011[_0x1cd3('0x1221')]]){_0x2174d9[_0x1cd3('0x1155')][_0x2c0011[_0x1cd3('0x1221')]][_0x1cd3('0x13eb')]+=0x1;_0x2174d9[_0x1cd3('0x1155')][_0x2c0011[_0x1cd3('0x1221')]]['agents'][_0x2c0011[_0x1cd3('0x1226')]]=_0x2c0011[_0x1cd3('0x1221')];}}function _0x5a1223(_0x1a39a9){console['log'](_0x1cd3('0x13e4'),_0x1a39a9);if(_0x2174d9[_0x1cd3('0x1155')][_0x1a39a9[_0x1cd3('0x1221')]]&&_0x2174d9['queues'][_0x1a39a9[_0x1cd3('0x1221')]][_0x1cd3('0x13eb')]>0x0){_0x2174d9[_0x1cd3('0x1155')][_0x1a39a9[_0x1cd3('0x1221')]][_0x1cd3('0x13eb')]-=0x1;delete _0x2174d9[_0x1cd3('0x1155')][_0x1a39a9[_0x1cd3('0x1221')]][_0x1cd3('0x1228')][_0x1a39a9[_0x1cd3('0x1226')]];}}var _0x56c2d3=!![];var _0x43931b=0x1;_0x3a0aa1[_0x1cd3('0x4d6')]('vm.query.filter',function(_0x349701,_0x2c320a){if(_0x56c2d3){_0x57dc1b(function(){_0x56c2d3=![];});}else{if(!_0x2c320a){_0x43931b=_0x2174d9['query']['page'];}if(_0x349701!==_0x2c320a){_0x2174d9[_0x1cd3('0x3d4')]['page']=0x1;}if(!_0x349701){_0x2174d9[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0x43931b;}_0x2174d9[_0x1cd3('0x13df')]();}});function _0x21d694(_0x4ab143){_0x2174d9['count']=_0x4ab143[_0x1cd3('0x466')];_0x2174d9[_0x1cd3('0x1155')]=_0x4ab143?_['keyBy'](_0x4ab143['rows']?_0x4ab143[_0x1cd3('0xf6')]:[],'id'):{};if(_0x4ab143[_0x1cd3('0xf6')]){_0x2174d9[_0x1cd3('0x13ad')]=[];for(var _0x1d044a=0x0;_0x1d044a<_0x4ab143[_0x1cd3('0xf6')][_0x1cd3('0x7a')];_0x1d044a++){_0x2174d9['order'][_0x1cd3('0x7b')](_0x4ab143['rows'][_0x1d044a]['id']);}}_0x54392a();}function _0x258d38(){_0x2174d9[_0x1cd3('0x3d4')]['offset']=(_0x2174d9[_0x1cd3('0x3d4')]['page']-0x1)*_0x2174d9[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];if(_0x5c87b7[_0x1cd3('0x57')]('admin')){_0x2174d9[_0x1cd3('0x539')]=_0x963e09[_0x1cd3('0x11a7')][_0x1cd3('0x361')](_0x2174d9[_0x1cd3('0x3d4')],_0x21d694)[_0x1cd3('0x81')];}else{_0x2174d9[_0x1cd3('0x3d4')]['id']=_0x2174d9[_0x1cd3('0x38a')]['id'];_0x2174d9['query']['section']=_0x1cd3('0xbc');_0x2174d9['promise']=_0x963e09['userProfile'][_0x1cd3('0xd59')](_0x2174d9[_0x1cd3('0x3d4')],_0x21d694)[_0x1cd3('0x81')];}}function _0x1ca43f(_0x2b5808,_0x3c74c7){_0x24e8f4[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x11ab'),'controllerAs':'vm','templateUrl':'app/main/apps/chat/views/chatQueues/create/dialog.html','parent':angular[_0x1cd3('0x37f')](_0x104fcf[_0x1cd3('0x380')]),'targetEvent':_0x2b5808,'clickOutsideToClose':!![],'locals':{'chatQueue':_0x3c74c7,'chatQueues':_[_0x1cd3('0x42d')](_0x2174d9[_0x1cd3('0x1155')]),'license':null,'setting':null,'crudPermissions':_0x2174d9['crudPermissions']}});}function _0x2a5721(_0x2c51b4,_0x1d8628){_0x24e8f4['show']({'controller':'ChatQueueagentaddController','controllerAs':'vm','templateUrl':_0x1cd3('0x11a6'),'parent':angular[_0x1cd3('0x37f')](_0x104fcf[_0x1cd3('0x380')]),'targetEvent':_0x2c51b4,'clickOutsideToClose':!![],'locals':{'chatQueue':_0x1d8628,'chatQueues':_0x2174d9[_0x1cd3('0x1155')]?_0x2174d9[_0x1cd3('0x1155')][_0x1cd3('0xf6')]:[],'realtime':![],'crudPermissions':_0x2174d9[_0x1cd3('0xd27')]}});}function _0x2fbde1(_0x400aa0){return _0x963e09[_0x1cd3('0x11a7')][_0x1cd3('0x378')](_0x400aa0)[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0xd25b4c['success']({'title':_0x1cd3('0x13ef'),'msg':_0x400aa0['name']?_0x400aa0[_0x1cd3('0x98')]+'\x20has\x20been\x20updated!':''});})[_0x1cd3('0xfd')](function(_0x5ef0fe){_0xd25b4c[_0x1cd3('0x434')]({'title':'Error\x20creating\x20queue!','msg':_0x5ef0fe[_0x1cd3('0x43a')]});});}_0x3a0aa1[_0x1cd3('0x4d3')](_0x1cd3('0x523'),function(){_0x574f51[_0x1cd3('0x6a3')]('chat_queue:save');_0x574f51['removeAllListeners'](_0x1cd3('0x13f0'));_0x574f51['removeAllListeners'](_0x1cd3('0x13e7'));_0x574f51[_0x1cd3('0x6a3')](_0x1cd3('0x13ba'));_0x574f51[_0x1cd3('0x6a3')]('userVoiceQueue:remove');_0x574f51[_0x1cd3('0x6a3')](_0x1cd3('0x13e8'));});}}());(function(){'use strict';angular[_0x1cd3('0x0')]('app.auth')[_0x1cd3('0x373')]('helperClasses',_0x213549);function _0x213549(){return{'status':{'registered':_0x1cd3('0x13f1'),'unregistered':_0x1cd3('0x13f2'),'lagged':_0x1cd3('0x13f2'),'reachable':'green-300-fg\x20icon-checkbox-marked-circle','unreachable':_0x1cd3('0x13f2'),'unknown':'grey-fg\x20icon-minus-circle'},'state':{'unknown':_0x1cd3('0x13f3'),'not_inuse':_0x1cd3('0x13f4'),'inuse':_0x1cd3('0x13f5'),'busy':'red-300-fg\x20icon-phone-locked','invalid':_0x1cd3('0x13f3'),'unavailable':_0x1cd3('0x13f3'),'ringing':_0x1cd3('0x13f6'),'ringinuse':'blue-300-fg\x20icon-phone-incoming','onhold':_0x1cd3('0x13f7')},'channelStatus':{'ring':_0x1cd3('0x13f6'),'up':_0x1cd3('0x13f8'),'hangup':_0x1cd3('0x13f9')},'channelStatusOut':{'ring':_0x1cd3('0x13fa'),'up':_0x1cd3('0x13f8'),'hangup':'red-300-fg\x20icon-phone-hangup'}};}}());(function(){'use strict';_0x5523ac[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x53e'),_0x1cd3('0xd18')];angular[_0x1cd3('0x0')](_0x1cd3('0x2e'))[_0x1cd3('0x39b')](_0x1cd3('0x13fb'),_0x5523ac);function _0x5523ac(_0x1ae56c,_0xd21ab4,_0x213678){var _0x58cb42=this;_0x213678[_0x1cd3('0xd1c')]();_0x213678[_0x1cd3('0x664')]();_0x58cb42[_0x1cd3('0xe5f')]=0x0;switch(_0xd21ab4[_0x1cd3('0x530')][_0x1cd3('0x98')]){case _0x1cd3('0xcc'):_0x58cb42[_0x1cd3('0xe5f')]=0x0;break;case _0x1cd3('0xd6'):_0x58cb42[_0x1cd3('0xe5f')]=0x1;break;default:_0x58cb42['selectedTab']=0x0;_0xd21ab4['go'](_0x1cd3('0xcc'));}_0x1ae56c[_0x1cd3('0x4d6')](_0x1cd3('0x13fc'),function(_0x278e82,_0x4a0b0c){if(_0x278e82!==_0x4a0b0c){switch(_0x278e82){case 0x0:_0xd21ab4['go'](_0x1cd3('0xcc'));break;case 0x1:_0xd21ab4['go'](_0x1cd3('0xd6'));break;default:_0xd21ab4['go'](_0x1cd3('0xcc'));}}});}}());(function(){'use strict';_0xf15648[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x371'),_0x1cd3('0x53e'),_0x1cd3('0x969'),'$mdDialog',_0x1cd3('0x372'),_0x1cd3('0x3e7'),_0x1cd3('0x3f7'),_0x1cd3('0x13fd'),_0x1cd3('0x38a'),_0x1cd3('0x390'),'api',_0x1cd3('0x2dd'),_0x1cd3('0x461'),_0x1cd3('0x56'),_0x1cd3('0x463'),_0x1cd3('0xc49')];angular[_0x1cd3('0x0')](_0x1cd3('0x2c'))[_0x1cd3('0x39b')](_0x1cd3('0x13fe'),_0xf15648);function _0xf15648(_0x591a73,_0x52da0d,_0x388c89,_0x4787ff,_0x3dda31,_0x35e97e,_0x1b16c2,_0x1cf9f8,_0x24ff6a,_0x5afdb2,_0x4cdb65,_0x2015db,_0x451ea8,_0x11ccaf,_0xd26151,_0x49da14,_0x2d0aed){var _0xa7cb86=this;_0xa7cb86[_0x1cd3('0x463')]=_0x49da14;_0xa7cb86[_0x1cd3('0xc49')]=_0x2d0aed;_0xa7cb86['currentUser']=_0xd26151['getCurrentUser']();_0xa7cb86[_0x1cd3('0x13fd')]=_0x24ff6a||{'count':0x0,'rows':[]};_0xa7cb86[_0x1cd3('0x38a')]=_0x5afdb2;_0xa7cb86[_0x1cd3('0x390')]=_0x4cdb65&&_0x4cdb65['count']==0x1?_0x4cdb65[_0x1cd3('0xf6')][0x0]:null;_0xa7cb86[_0x1cd3('0xd27')]=_0xd26151[_0x1cd3('0xd44')](_0xa7cb86[_0x1cd3('0x390')]?_0xa7cb86[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);_0xa7cb86[_0x1cd3('0xd45')]=_0x1cd3('0x13fd');_0xa7cb86[_0x1cd3('0xd46')]='';_0xa7cb86['listOrderAsc']=null;_0xa7cb86[_0x1cd3('0x13ff')]=[];_0xa7cb86[_0x1cd3('0x3d4')]={'fields':_0x1cd3('0xe4'),'sort':'-updatedAt','limit':0xa,'page':0x1};_0xa7cb86['editstate']=_0x59312a;_0xa7cb86[_0x1cd3('0x1400')]=_0x5c2a62;_0xa7cb86[_0x1cd3('0xecc')]=_0x547999;_0xa7cb86[_0x1cd3('0x473')]=_0x2d49c7;_0xa7cb86[_0x1cd3('0x1401')]=_0x1ea01d;_0xa7cb86[_0x1cd3('0x1402')]=_0x3cb4bc;_0xa7cb86[_0x1cd3('0x1403')]=_0x2afc03;_0xa7cb86['exportSelectedCompanies']=_0x56a4ba;_0xa7cb86[_0x1cd3('0x1404')]=_0x2fafdb;_0xa7cb86[_0x1cd3('0x1405')]=_0x155ee9;_0xa7cb86[_0x1cd3('0x1406')]=_0x29bb2b;function _0x59312a(_0x28e421,_0x44cb09){_0x388c89['go'](_0x1cd3('0xe5'),{'id':_0x28e421['id'],'company':_0x28e421,'crudPermissions':_0xa7cb86['crudPermissions']});}function _0x5c2a62(_0x1db603,_0x5e3a33){if(_0xd26151['hasRole'](_0x1cd3('0x5f'))){_0x388c89['go'](_0x1cd3('0xed'),{'CompanyId':_0x1db603['id']});}else{return _0x2015db[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0xd26151[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x12f})[_0x1cd3('0x81')]['then'](function(_0x11797e){var _0x311545=_0x11797e&&_0x11797e[_0x1cd3('0xf6')]?_0x11797e[_0x1cd3('0xf6')][0x0]:null;if(_0x311545&&_0x311545[_0x1cd3('0x396')]){_0x388c89['go'](_0x1cd3('0xed'),{'CompanyId':_0x1db603['id']});}else{_0x11ccaf[_0x1cd3('0x654')]({'title':_0x1cf9f8['instant'](_0x1cd3('0x1164')),'msg':_0x1cf9f8[_0x1cd3('0x44a')]('STAFF.PERMISSIONS_UNAUTHORIZED_REDIRECT_MESSAGE')});}})['catch'](function(_0x5f284d){_0x11ccaf[_0x1cd3('0x434')]({'title':_0x5f284d['status']?_0x1cd3('0x435')+_0x5f284d['status']+_0x1cd3('0x436')+_0x5f284d[_0x1cd3('0xd35')]:_0x1cd3('0x11aa'),'msg':_0x5f284d[_0x1cd3('0x3a6')]?JSON['stringify'](_0x5f284d['data']):_0x5f284d[_0x1cd3('0x43b')]()});});}}function _0x547999(_0x2fc028,_0x27182e){var _0x24c223=_0x3dda31[_0x1cd3('0xd39')]()[_0x1cd3('0x486')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20'+_[_0x1cd3('0xd50')](_0x1cd3('0x1407'))+'?')[_0x1cd3('0xd60')](_0x1cd3('0xd51')+(_0x2fc028[_0x1cd3('0x98')]||'company')+_0x1cd3('0xd52')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x1408'))[_0x1cd3('0xd63')](_0x27182e)['ok']('OK')['cancel']('CANCEL');_0x3dda31[_0x1cd3('0x37e')](_0x24c223)[_0x1cd3('0x77')](function(){_0x2afc03(_0x2fc028);},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}var _0x7b3b3a=!![];var _0xc8e7cc=0x1;_0x591a73[_0x1cd3('0x4d6')](_0x1cd3('0xd56'),function(_0x4b4e4b,_0x2cbd27){if(_0x7b3b3a){_0x1b16c2(function(){_0x7b3b3a=![];});}else{if(!_0x2cbd27){_0xc8e7cc=_0xa7cb86['query'][_0x1cd3('0x8fd')];}if(_0x4b4e4b!==_0x2cbd27){_0xa7cb86[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}if(!_0x4b4e4b){_0xa7cb86[_0x1cd3('0x3d4')]['page']=_0xc8e7cc;}_0xa7cb86['getCompanies']();}});function _0x2d49c7(_0x43143e){_0xa7cb86[_0x1cd3('0x13fd')]=_0x43143e||{'count':0x0,'rows':[]};}function _0x1ea01d(){_0xa7cb86[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0xa7cb86[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0xa7cb86[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];if(_0xd26151[_0x1cd3('0x57')](_0x1cd3('0x5f'))){_0xa7cb86['promise']=_0x2015db[_0x1cd3('0xb38')][_0x1cd3('0x361')](_0xa7cb86['query'],_0x2d49c7)['$promise'];}else{_0xa7cb86[_0x1cd3('0x3d4')]['id']=_0xa7cb86[_0x1cd3('0x38a')]['id'];_0xa7cb86['query']['section']='Companies';_0xa7cb86[_0x1cd3('0x539')]=_0x2015db['userProfile'][_0x1cd3('0xd59')](_0xa7cb86[_0x1cd3('0x3d4')],_0x2d49c7)[_0x1cd3('0x81')];}}function _0x3cb4bc(_0x48d83e,_0xf4a04c){_0x3dda31[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1409'),'controllerAs':'vm','templateUrl':_0x1cd3('0x140a'),'parent':angular['element'](_0x35e97e[_0x1cd3('0x380')]),'targetEvent':_0x48d83e,'clickOutsideToClose':!![],'locals':{'company':_0xf4a04c,'companies':_0xa7cb86['companies'][_0x1cd3('0xf6')],'license':_0xa7cb86['license'],'setting':_0xa7cb86[_0x1cd3('0xc49')],'crudPermissions':_0xa7cb86[_0x1cd3('0xd27')]}});}function _0x2afc03(_0x12fcc3){_0x2015db['cmCompany'][_0x1cd3('0xa1c')]({'id':_0x12fcc3['id']})[_0x1cd3('0x81')]['then'](function(){_[_0x1cd3('0x383')](_0xa7cb86[_0x1cd3('0x13fd')]['rows'],{'id':_0x12fcc3['id']});_0xa7cb86[_0x1cd3('0x13fd')][_0x1cd3('0x466')]-=0x1;if(!_0xa7cb86[_0x1cd3('0x13fd')][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){_0xa7cb86[_0x1cd3('0x1401')]();}_0x11ccaf[_0x1cd3('0x473')]({'title':_['startCase'](_0x1cd3('0x140b'))+_0x1cd3('0xd5c'),'msg':_0x12fcc3[_0x1cd3('0x98')]?_0x12fcc3[_0x1cd3('0x98')]+_0x1cd3('0xd41'):''});})[_0x1cd3('0xfd')](function(_0xb6db50){if(_0xb6db50[_0x1cd3('0x439')]&&_0xb6db50[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0xb6db50[_0x1cd3('0x439')]['errors']['length']){_0xa7cb86['errors']=_0xb6db50[_0x1cd3('0x439')]['errors']||[{'message':_0xb6db50['toString'](),'type':_0x1cd3('0x140c')}];for(var _0x2e2a2=0x0;_0x2e2a2<_0xb6db50[_0x1cd3('0x439')]['errors']['length'];_0x2e2a2++){_0x11ccaf[_0x1cd3('0x434')]({'title':_0xb6db50[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x2e2a2][_0x1cd3('0x424')],'msg':_0xb6db50[_0x1cd3('0x439')]['errors'][_0x2e2a2][_0x1cd3('0x43a')]});}}else{_0x11ccaf[_0x1cd3('0x434')]({'title':_0xb6db50[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0xb6db50[_0x1cd3('0x3a6')]+'\x20-\x20'+_0xb6db50[_0x1cd3('0xd35')]:_0x1cd3('0x140c'),'msg':_0xb6db50['data']?JSON['stringify'](_0xb6db50['data']['message']):_0xb6db50[_0x1cd3('0x43a')]||_0xb6db50[_0x1cd3('0x43b')]()});}});}function _0x56a4ba(){var _0x1e6d3f=angular[_0x1cd3('0x429')](_0xa7cb86[_0x1cd3('0x13ff')]);_0xa7cb86[_0x1cd3('0x13ff')]=[];return _0x1e6d3f;}function _0x2fafdb(_0x2a51a5){var _0x3e2cf4=_0x3dda31[_0x1cd3('0xd39')]()[_0x1cd3('0x486')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20companies?')[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0xa7cb86[_0x1cd3('0x13ff')][_0x1cd3('0x7a')]+'\x20selected</b>'+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x140d'))[_0x1cd3('0xd63')](_0x2a51a5)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x3dda31[_0x1cd3('0x37e')](_0x3e2cf4)[_0x1cd3('0x77')](function(){_0xa7cb86['selectedCompanies'][_0x1cd3('0x394')](function(_0x42cc80){_0x2afc03(_0x42cc80);});_0xa7cb86['selectedCompanies']=[];});}function _0x155ee9(){_0xa7cb86[_0x1cd3('0x13ff')]=[];}function _0x29bb2b(){_0xa7cb86['selectedCompanies']=_0xa7cb86[_0x1cd3('0x13fd')][_0x1cd3('0xf6')];}}}());(function(){'use strict';_0x380c13[_0x1cd3('0xc')]=['$scope','$state',_0x1cd3('0xd24'),_0x1cd3('0x3c5'),'$q',_0x1cd3('0x3f7'),_0x1cd3('0x461'),_0x1cd3('0x13fd'),_0x1cd3('0x1407'),'api',_0x1cd3('0x56'),_0x1cd3('0x463'),_0x1cd3('0xc49'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x2c'))[_0x1cd3('0x39b')](_0x1cd3('0x1409'),_0x380c13);function _0x380c13(_0x3f63ed,_0x3672d6,_0x2158aa,_0x50fb2c,_0x91feea,_0x30e197,_0x264581,_0x2f717f,_0x53a67e,_0x121ae4,_0x49e56d,_0xca0928,_0x35e212,_0x27cd32){var _0x107332=this;_0x107332['currentUser']=_0x49e56d['getCurrentUser']();_0x107332['errors']=[];_0x107332[_0x1cd3('0xc49')]=_0x35e212;_0x107332['license']=_0xca0928;_0x107332[_0x1cd3('0xd27')]=_0x27cd32;_0x107332['hasModulePermissions']={};_0x107332[_0x1cd3('0xd29')]=_0x107332['setting']&&_0x107332['setting']['securePassword']?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x107332['title']=_0x1cd3('0x140e');_0x107332['company']=angular[_0x1cd3('0x429')](_0x53a67e);_0x107332['companies']=_0x2f717f;_0x107332[_0x1cd3('0x140f')]=![];if(!_0x107332['company']){_0x107332[_0x1cd3('0x1407')]={};_0x107332['title']=_0x1cd3('0x1410');_0x107332[_0x1cd3('0x140f')]=!![];}_0x107332[_0x1cd3('0x1411')]=_0x49fdfe;_0x107332['saveCompany']=_0x351e4c;_0x107332[_0x1cd3('0x1403')]=_0x327379;_0x107332[_0x1cd3('0xd31')]=_0x18bf93;_0x107332[_0x1cd3('0x39c')]=_0x1292ab;function _0x49fdfe(){_0x107332[_0x1cd3('0xd34')]=[];_0x121ae4[_0x1cd3('0xb38')][_0x1cd3('0xd6d')](_0x107332[_0x1cd3('0x1407')])[_0x1cd3('0x81')]['then'](function(_0x4b9fbe){_0x107332[_0x1cd3('0x13fd')][_0x1cd3('0x621')](_0x4b9fbe[_0x1cd3('0xd32')]());_0x264581['success']({'title':'Company\x20properly\x20created','msg':_0x107332[_0x1cd3('0x1407')][_0x1cd3('0x98')]?_0x107332[_0x1cd3('0x1407')][_0x1cd3('0x98')]+_0x1cd3('0xd33'):''});_0x1292ab(_0x4b9fbe);})[_0x1cd3('0xfd')](function(_0x1f74f3){if(_0x1f74f3[_0x1cd3('0x439')]&&_0x1f74f3[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x1f74f3[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x107332[_0x1cd3('0xd34')]=_0x1f74f3[_0x1cd3('0x439')]['errors']||[{'message':_0x1f74f3[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1412')}];for(var _0x3c4618=0x0;_0x3c4618<_0x1f74f3['data'][_0x1cd3('0xd34')]['length'];_0x3c4618+=0x1){_0x264581[_0x1cd3('0x434')]({'title':_0x1f74f3[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x3c4618][_0x1cd3('0x424')],'msg':_0x1f74f3[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x3c4618]['message']});}}else{_0x264581[_0x1cd3('0x434')]({'title':_0x1f74f3[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x1f74f3[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x1f74f3[_0x1cd3('0xd35')]:_0x1cd3('0x1412'),'msg':_0x1f74f3[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x1f74f3[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x1f74f3[_0x1cd3('0x43b')]()});}});}function _0x351e4c(){_0x107332[_0x1cd3('0xd34')]=[];_0x121ae4[_0x1cd3('0xb38')][_0x1cd3('0x378')]({'id':_0x107332[_0x1cd3('0x1407')]['id']},_0x107332[_0x1cd3('0x1407')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x5a3ba7){var _0x8aef29=_[_0x1cd3('0x442')](_0x107332[_0x1cd3('0x13fd')],{'id':_0x5a3ba7['id']});if(_0x8aef29){_[_0x1cd3('0xf2')](_0x8aef29,_['pick'](_0x5a3ba7[_0x1cd3('0xd32')](),_[_0x1cd3('0x80')](_0x8aef29)));}_0x264581[_0x1cd3('0x473')]({'title':_0x1cd3('0x1413'),'msg':_0x107332[_0x1cd3('0x1407')][_0x1cd3('0x98')]?_0x107332['company']['name']+'\x20has\x20been\x20saved!':''});_0x1292ab(_0x5a3ba7);})['catch'](function(_0x3d6af5){if(_0x3d6af5['data']&&_0x3d6af5[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x3d6af5[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length']){_0x107332[_0x1cd3('0xd34')]=_0x3d6af5['data'][_0x1cd3('0xd34')]||[{'message':_0x3d6af5['toString'](),'type':_0x1cd3('0x1414')}];for(var _0x2e6a39=0x0;_0x2e6a39<_0x3d6af5['data']['errors'][_0x1cd3('0x7a')];_0x2e6a39++){_0x264581[_0x1cd3('0x434')]({'title':_0x3d6af5[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x2e6a39][_0x1cd3('0x424')],'msg':_0x3d6af5[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x2e6a39][_0x1cd3('0x43a')]});}}else{_0x264581[_0x1cd3('0x434')]({'title':_0x3d6af5[_0x1cd3('0x3a6')]?'API:'+_0x3d6af5['status']+_0x1cd3('0x436')+_0x3d6af5[_0x1cd3('0xd35')]:'api.cmCompany.update','msg':_0x3d6af5[_0x1cd3('0x439')]?JSON['stringify'](_0x3d6af5[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x3d6af5[_0x1cd3('0x43b')]()});}});}function _0x327379(_0x2e5c09){_0x107332[_0x1cd3('0xd34')]=[];var _0x53528b=_0x50fb2c[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xd3a'))[_0x1cd3('0xd3b')](_0x1cd3('0x1415'))['ariaLabel'](_0x1cd3('0x1416'))['ok']('Delete')[_0x1cd3('0x4d8')](_0x1cd3('0x674'))[_0x1cd3('0xd63')](_0x2e5c09);_0x50fb2c[_0x1cd3('0x37e')](_0x53528b)[_0x1cd3('0x77')](function(){_0x121ae4[_0x1cd3('0xb38')][_0x1cd3('0xa1c')]({'id':_0x107332['company']['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_['remove'](_0x107332['companies'],{'id':_0x107332['company']['id']});_0x264581[_0x1cd3('0x473')]({'title':_0x1cd3('0x1417'),'msg':(_0x107332[_0x1cd3('0x1407')][_0x1cd3('0x98')]||_0x1cd3('0x1407'))+_0x1cd3('0xd41')});_0x1292ab(_0x107332[_0x1cd3('0x1407')]);})[_0x1cd3('0xfd')](function(_0x4bfd33){if(_0x4bfd33['data']&&_0x4bfd33[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x4bfd33[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x107332[_0x1cd3('0xd34')]=_0x4bfd33['data'][_0x1cd3('0xd34')]||[{'message':_0x4bfd33['toString'](),'type':'api.cmCompany.delete'}];for(var _0x483b56=0x0;_0x483b56<_0x4bfd33['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x483b56++){_0x264581[_0x1cd3('0x434')]({'title':_0x4bfd33[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x483b56]['type'],'msg':_0x4bfd33[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x483b56]['message']});}}else{_0x264581['error']({'title':_0x4bfd33[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x4bfd33['status']+_0x1cd3('0x436')+_0x4bfd33[_0x1cd3('0xd35')]:'api.cmCompany.delete','msg':_0x4bfd33[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x4bfd33[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x4bfd33[_0x1cd3('0x43a')]||_0x4bfd33[_0x1cd3('0x43b')]()});}});},function(){});}function _0x18bf93(_0x48e469){return _0x48e469===null?undefined:new Date(_0x48e469);}function _0x1292ab(_0x1ca872){_0x50fb2c['hide'](_0x1ca872);}}}());(function(){'use strict';_0x427c06['$inject']=[_0x1cd3('0x53e'),_0x1cd3('0xd24'),'$mdDialog',_0x1cd3('0x372'),_0x1cd3('0x3f7'),_0x1cd3('0x463'),'setting','api','toasty',_0x1cd3('0x56'),_0x1cd3('0x1407'),'userProfileSection'];angular[_0x1cd3('0x0')](_0x1cd3('0x2c'))[_0x1cd3('0x39b')]('CompanyController',_0x427c06);function _0x427c06(_0x4d0a0a,_0x51066b,_0x2fd2a6,_0x5d1da0,_0x4f9aa2,_0x53f228,_0x1421f7,_0x6209d9,_0x4c3e49,_0x56f861,_0x2dc5c6,_0x57bf12){var _0x3080e2=this;_0x3080e2[_0x1cd3('0x3ca')]=_0x56f861[_0x1cd3('0x5d')]();_0x3080e2[_0x1cd3('0x463')]=_0x53f228;_0x3080e2[_0x1cd3('0xc49')]=_0x1421f7;_0x3080e2['passwordPattern']=_0x3080e2['setting'][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x3080e2[_0x1cd3('0xd22')]=_0x51066b[_0x1cd3('0x3b0')]()+_0x1cd3('0x11cf')+_0x51066b[_0x1cd3('0x3ac')]();_0x3080e2[_0x1cd3('0x1407')]=_0x2dc5c6||_0x4d0a0a['params']['company']||{};_0x3080e2[_0x1cd3('0x390')]=_0x57bf12&&_0x57bf12[_0x1cd3('0x466')]==0x1?_0x57bf12[_0x1cd3('0xf6')][0x0]:null;_0x3080e2[_0x1cd3('0xd27')]=_0x56f861[_0x1cd3('0xd44')](_0x3080e2[_0x1cd3('0x390')]?_0x3080e2[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);_0x3080e2['hasModulePermissions']={};_0x3080e2[_0x1cd3('0xe5f')]=_0x4d0a0a[_0x1cd3('0x36a')][_0x1cd3('0x1418')]||0x0;_0x3080e2[_0x1cd3('0x1419')]=_0x56fcdc;_0x3080e2[_0x1cd3('0x11d0')]=_0x4c3e49['info'];_0x3080e2[_0x1cd3('0x141a')]=_0x107b2d;_0x3080e2[_0x1cd3('0x141b')]=_0x43a086;function _0x56fcdc(_0x4a3a73,_0x35d26b){if(_0x56f861[_0x1cd3('0x57')](_0x1cd3('0x5f'))){_0x4d0a0a['go'](_0x1cd3('0xed'),{'CompanyId':_0x4a3a73['id']});}else{return _0x6209d9[_0x1cd3('0x390')]['get']({'userProfileId':_0x56f861[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x12f})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x2809a5){var _0x4c2a67=_0x2809a5&&_0x2809a5[_0x1cd3('0xf6')]?_0x2809a5['rows'][0x0]:null;if(_0x4c2a67&&_0x4c2a67[_0x1cd3('0x396')]){_0x4d0a0a['go']('app.contactmanager.contacts',{'CompanyId':_0x4a3a73['id']});}else{_0x4c3e49['info']({'title':_0x4f9aa2[_0x1cd3('0x44a')](_0x1cd3('0x1164')),'msg':_0x4f9aa2[_0x1cd3('0x44a')](_0x1cd3('0x11a9'))});}})[_0x1cd3('0xfd')](function(_0x51b20b){_0x4c3e49['error']({'title':_0x51b20b[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x51b20b['status']+_0x1cd3('0x436')+_0x51b20b['statusText']:_0x1cd3('0x11aa'),'msg':_0x51b20b['status']?JSON[_0x1cd3('0x438')](_0x51b20b[_0x1cd3('0x439')]):_0x51b20b[_0x1cd3('0x43b')]()});});}}function _0x107b2d(){_0x4d0a0a['go']('app.contactmanager.companies',{},{'reload':_0x1cd3('0xe1')});}function _0x43a086(){_0x6209d9['cmCompany'][_0x1cd3('0x378')]({'id':_0x3080e2[_0x1cd3('0x1407')]['id']},_0x3080e2['company'])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x4c3e49[_0x1cd3('0x473')]({'title':'Company\x20updated!','msg':_0x3080e2['company'][_0x1cd3('0x98')]?_0x3080e2[_0x1cd3('0x1407')][_0x1cd3('0x98')]+_0x1cd3('0xe65'):''});})[_0x1cd3('0xfd')](function(_0x3accbe){_0x4c3e49['error']({'title':_0x3accbe[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x3accbe[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x3accbe[_0x1cd3('0xd35')]:_0x1cd3('0x141c'),'msg':_0x3accbe['data']?JSON['stringify'](_0x3accbe[_0x1cd3('0x439')]):_0x3accbe[_0x1cd3('0x43b')]()});});}}}());(function(){'use strict';_0x46cbcc['$inject']=[_0x1cd3('0x460'),'$document',_0x1cd3('0x3e7'),_0x1cd3('0x53e'),_0x1cd3('0x75'),_0x1cd3('0x3c5'),'$q','userProfile',_0x1cd3('0x390'),_0x1cd3('0x370'),_0x1cd3('0x141d'),_0x1cd3('0xf5'),_0x1cd3('0x141e'),_0x1cd3('0x13fd'),_0x1cd3('0x141f'),_0x1cd3('0x921'),_0x1cd3('0x461'),_0x1cd3('0x56'),_0x1cd3('0x463')];angular[_0x1cd3('0x0')]('app.contactmanager')[_0x1cd3('0x39b')](_0x1cd3('0x1420'),_0x46cbcc);function _0x46cbcc(_0x12da91,_0x659a4a,_0x469b6a,_0x527098,_0x2e0f00,_0x15f7bb,_0x41cca1,_0x339734,_0x10eb90,_0x408554,_0x43364a,_0x1563d7,_0x58e0fc,_0x4299da,_0x2d67ef,_0x436802,_0x3cd758,_0x55bc76,_0x3013dc){var _0x59172c=this;_0x59172c[_0x1cd3('0x3ca')]=_0x55bc76['getCurrentUser']();_0x59172c[_0x1cd3('0x463')]=_0x3013dc;_0x59172c['userProfile']=_0x339734;_0x59172c[_0x1cd3('0x390')]=_0x10eb90&&_0x10eb90[_0x1cd3('0x466')]==0x1?_0x10eb90['rows'][0x0]:null;_0x59172c[_0x1cd3('0xd27')]=_0x55bc76[_0x1cd3('0xd44')](_0x59172c[_0x1cd3('0x390')]?_0x59172c['userProfileSection'][_0x1cd3('0xd27')]:null);var _0x30070f=0x3c;var _0x3a24b1=_0x30070f*0x400*0x400;_0x59172c['ngFlowOptions']={'target':'api/cm/contacts/upload','singleFile':!![],'maxChunkRetries':0x1,'chunkSize':_0x3a24b1,'simultaneousUploads':0x1,'testChunks':![],'progressCallbacksInterval':0x3e8,'allowDuplicateUploads':!![]};_0x59172c[_0x1cd3('0x141d')]=_0x43364a||{'count':0x0,'rows':[]};_0x59172c['options']={'hidden':![],'hover':![],'isOpen':![]};_0x59172c['table']=_0x1cd3('0x1421');_0x59172c[_0x1cd3('0x1422')]=[];_0x59172c[_0x1cd3('0xf5')]=_0x1563d7||{'rows':[],'count':0x0};_0x59172c[_0x1cd3('0x13fd')]=_0x4299da||{'rows':[],'count':0x0};_0x59172c[_0x1cd3('0x921')]=_0x436802||{'rows':[],'count':0x0};_0x59172c[_0x1cd3('0x141e')]=_0x58e0fc;_0x59172c[_0x1cd3('0x141f')]=_0x2d67ef;_0x59172c[_0x1cd3('0x1423')]=[];_0x59172c[_0x1cd3('0x1424')]=null;_0x59172c['selectedCompany']=null;_0x59172c[_0x1cd3('0x3d4')]=_[_0x1cd3('0xf2')]({'includeAll':!![],'sort':_0x1cd3('0x5b'),'limit':0xa,'offset':0x0,'page':0x1},_0x2e0f00);_0x59172c['editdialog']=_0x20b3db;_0x59172c[_0x1cd3('0xecc')]=_0x1ed7d;_0x59172c[_0x1cd3('0x473')]=_0x38110e;_0x59172c['getContacts']=_0x42af4f;_0x59172c[_0x1cd3('0x1425')]=_0x20b23e;_0x59172c[_0x1cd3('0x1426')]=_0x3617c8;_0x59172c[_0x1cd3('0x1427')]=_0x38e2e5;_0x59172c[_0x1cd3('0x1428')]=_0x5341a5;_0x59172c['deleteContact']=_0x4c7492;_0x59172c[_0x1cd3('0x1429')]=_0x145488;_0x59172c[_0x1cd3('0x142a')]=_0x2dfd51;_0x59172c[_0x1cd3('0x142b')]=_0x26389a;_0x59172c[_0x1cd3('0x142c')]=_0x3fba13;_0x59172c[_0x1cd3('0x142d')]=_0x222e21;_0x59172c['createList']=_0x3d9f2c;_0x59172c[_0x1cd3('0x142e')]=_0x5ba49c;_0x59172c[_0x1cd3('0x142f')]=_0x10bc00;_0x59172c['hasPermission']=_0x5e32df;_0x59172c[_0x1cd3('0x113a')]=_0x589cc1;if(_0x527098[_0x1cd3('0x36a')]['ListId']){_0x59172c[_0x1cd3('0x1424')]=_0x527098['params'][_0x1cd3('0x106')];}if(_0x527098[_0x1cd3('0x36a')][_0x1cd3('0x1430')]){_0x59172c[_0x1cd3('0x1431')]=_0x527098[_0x1cd3('0x36a')][_0x1cd3('0x1430')];}_0x12da91[_0x1cd3('0x4d6')]('vm.options.isOpen',function(_0x48eb21){if(_0x48eb21){_0x469b6a(function(){_0x12da91[_0x1cd3('0x1432')]=_0x59172c[_0x1cd3('0x422')][_0x1cd3('0x732')];},0x258);}else{_0x12da91[_0x1cd3('0x1432')]=_0x59172c[_0x1cd3('0x422')][_0x1cd3('0x732')];}});function _0x20b23e(){if(!_0x55bc76[_0x1cd3('0x57')](_0x1cd3('0x5f'))){var _0x2af9a7=_(_0x59172c['contacts'][_0x1cd3('0xf6')])[_0x1cd3('0x3d9')](function(_0x2d82df){return{'id':_0x2d82df[_0x1cd3('0x1430')]};})[_0x1cd3('0x1433')]('id')[_0x1cd3('0x395')](function(_0x5beabb){return _0x5beabb['id']&&_0x5beabb['id']>0x0;})['pullAllBy'](_0x59172c[_0x1cd3('0x13fd')]['rows'],'id')['value']();if(!_[_0x1cd3('0x398')](_0x2af9a7)){var _0x5eda0d=[];_0x2af9a7[_0x1cd3('0x394')](function(_0x5c65a1){_0x5eda0d[_0x1cd3('0x7b')](_0x408554[_0x1cd3('0xb38')][_0x1cd3('0x361')]({'id':_0x5c65a1['id'],'fields':_0x1cd3('0xa6')})[_0x1cd3('0x81')]);});_0x41cca1[_0x1cd3('0x7e')](_0x5eda0d)[_0x1cd3('0x77')](function(_0x2b38f7){_0x2b38f7[_0x1cd3('0x394')](function(_0x51e948){var _0x140a83=_0x51e948[_0x1cd3('0xd32')]();_0x140a83[_0x1cd3('0xf4a')]=![];_0x59172c[_0x1cd3('0x13fd')][_0x1cd3('0xf6')][_0x1cd3('0x7b')](_0x140a83);var _0x1016d7={};_0x1016d7[_0x140a83['id']]=_0x140a83['name'];_0x59172c[_0x1cd3('0x141f')]=_[_0x1cd3('0x1434')](_0x59172c['companiesMap'],_0x1016d7);});})['catch'](function(_0x58a90e){_0x3cd758[_0x1cd3('0x434')]({'title':_0x58a90e[_0x1cd3('0x3a6')]?'API:'+_0x58a90e['status']+_0x1cd3('0x436')+_0x58a90e[_0x1cd3('0xd35')]:_0x1cd3('0x1435'),'msg':_0x58a90e[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x58a90e[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x58a90e['toString']()});});}}}function _0x3d9f2c(_0x53bc13){var _0x1844f0=_0x15f7bb[_0x1cd3('0x671')]()[_0x1cd3('0x486')](_0x1cd3('0x1436'))[_0x1cd3('0x499')](_0x1cd3('0x1437'))['ariaLabel'](_0x1cd3('0x1437'))[_0x1cd3('0xd63')](_0x53bc13)['ok']('Ok')[_0x1cd3('0x4d8')]('Cancel');return _0x15f7bb[_0x1cd3('0x37e')](_0x1844f0)[_0x1cd3('0x77')](function(_0x2f686b){if(_0x2f686b){return _0x408554[_0x1cd3('0xc8f')][_0x1cd3('0xd6d')]({'name':_0x2f686b});}else{_0x3cd758[_0x1cd3('0x434')]({'title':_0x1cd3('0x1438'),'msg':_0x1cd3('0x1439')});}})['then'](function(_0x2ad56b){if(_0x2ad56b){_0x59172c[_0x1cd3('0xf5')][_0x1cd3('0xf6')][_0x1cd3('0x7b')](_0x2ad56b);_0x3cd758['success']({'title':_0x1cd3('0x143a'),'msg':_0x2ad56b[_0x1cd3('0x98')]?_0x2ad56b[_0x1cd3('0x98')]+'\x20has\x20been\x20created!':''});}});}function _0x5e32df(){return _0x55bc76[_0x1cd3('0x369')](0x12f)||_0x55bc76[_0x1cd3('0x57')]('admin');}function _0x5ba49c(_0x2e5fdb){var _0x5e7357=_0x15f7bb[_0x1cd3('0x671')]()[_0x1cd3('0x486')](_0x1cd3('0x143b'))[_0x1cd3('0x499')](_0x1cd3('0x143c'))[_0x1cd3('0xd3d')]('Company\x20name')[_0x1cd3('0xd63')](_0x2e5fdb)['ok']('Ok')['cancel'](_0x1cd3('0x674'));return _0x15f7bb[_0x1cd3('0x37e')](_0x5e7357)[_0x1cd3('0x77')](function(_0x3a3fb6){if(_0x3a3fb6){return _0x408554[_0x1cd3('0xb38')][_0x1cd3('0xd6d')]({'name':_0x3a3fb6});}else{_0x3cd758[_0x1cd3('0x434')]({'title':_0x1cd3('0x143d'),'msg':_0x1cd3('0x143e')});}})[_0x1cd3('0x77')](function(_0x24eecb){if(_0x24eecb){_0x59172c['companies']['rows'][_0x1cd3('0x7b')](_0x24eecb);_0x3cd758['success']({'title':_0x1cd3('0x143f'),'msg':_0x24eecb['name']?_0x24eecb[_0x1cd3('0x98')]+'\x20has\x20been\x20created!':''});}});}function _0x222e21(_0x9935c7){var _0x275b20=_0x15f7bb[_0x1cd3('0x671')]()[_0x1cd3('0x486')](_0x1cd3('0x1440'))[_0x1cd3('0x499')]('Tag\x20name')[_0x1cd3('0xd3d')]('Tag\x20name')[_0x1cd3('0xd63')](_0x9935c7)['ok']('Ok')[_0x1cd3('0x4d8')](_0x1cd3('0x674'));return _0x15f7bb['show'](_0x275b20)['then'](function(_0x4fee40){if(_0x4fee40){return _0x408554[_0x1cd3('0xb76')][_0x1cd3('0xd6d')]({'name':_0x4fee40});}else{_0x3cd758[_0x1cd3('0x434')]({'title':_0x1cd3('0x1441'),'msg':'Invalid\x20tag\x20name.'});}})['then'](function(_0x5ce9fc){if(_0x5ce9fc){_0x59172c[_0x1cd3('0x921')][_0x1cd3('0xf6')][_0x1cd3('0x7b')](_0x5ce9fc);_0x3cd758[_0x1cd3('0x473')]({'title':_0x1cd3('0x1442'),'msg':_0x5ce9fc['tag']?_0x5ce9fc['name']+_0x1cd3('0xd33'):''});}});}function _0x10bc00(_0x1e34a2,_0xe78d58,_0x3f6a57){var _0x1ebc0c=JSON['parse'](_0xe78d58);_0x15f7bb['show']({'controller':'ImportContactsDialogController','controllerAs':'vm','templateUrl':_0x1cd3('0x1443'),'parent':angular[_0x1cd3('0x37f')](_0x659a4a['body']),'clickOutsideToClose':![],'locals':{'lists':_0x1563d7,'companies':_0x4299da,'file':_0x1ebc0c['file'],'fields':_0x1ebc0c[_0x1cd3('0x3c7')],'license':_0x59172c[_0x1cd3('0x463')]}})[_0x1cd3('0x77')](function(){_0x59172c[_0x1cd3('0x1444')]();})[_0x1cd3('0xfd')](function(_0x42ad43){console['error']();});}function _0x20b3db(_0x443c15,_0x3d220f){_0x527098['go'](_0x1cd3('0x1445'),{'id':_0x443c15['id'],'crudPermissions':_0x59172c['crudPermissions']});}function _0x1ed7d(_0x523f8c,_0x15402b){var _0x570d8f=_0x15f7bb[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x1446'))[_0x1cd3('0xd60')]('<b>'+(_0x523f8c[_0x1cd3('0x1447')]||_0x523f8c[_0x1cd3('0x1325')]||_0x523f8c[_0x1cd3('0xf09')]||'Contact')+_0x1cd3('0xd52')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x1448'))['targetEvent'](_0x15402b)['ok']('OK')['cancel'](_0x1cd3('0xd55'));_0x15f7bb[_0x1cd3('0x37e')](_0x570d8f)[_0x1cd3('0x77')](function(){_0x4c7492(_0x523f8c);});}function _0x589cc1(_0x4fea7b){var _0x371b60=['csv'];if(!_[_0x1cd3('0x38f')](_0x371b60,_0x4fea7b[_0x1cd3('0x113c')]())){_0x3cd758[_0x1cd3('0x434')]({'title':_0x1cd3('0x1274')+_0x4fea7b[_0x1cd3('0x113c')](),'msg':_0x1cd3('0x1275')+_0x371b60[_0x1cd3('0x3de')]()});return![];}if(_0x4fea7b['size']>_0x3a24b1){_0x3cd758[_0x1cd3('0x434')]({'title':_0x1cd3('0x1276'),'msg':_0x1cd3('0x1277')+_0x30070f+'MB'});return![];}return!![];}var _0x255d9b=!![];var _0xa584b7=0x1;_0x12da91[_0x1cd3('0x4d6')](_0x1cd3('0xd56'),function(_0x8ffe7,_0x393284){if(_0x255d9b){_0x469b6a(function(){_0x255d9b=![];});}else{if(!_0x393284){_0xa584b7=_0x59172c['query'][_0x1cd3('0x8fd')];}if(_0x8ffe7!==_0x393284){_0x59172c[_0x1cd3('0x3d4')]['page']=0x1;}if(!_0x8ffe7){_0x59172c[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0xa584b7;}_0x59172c['getContacts']();}},!![]);_0x12da91['$watch'](_0x1cd3('0x1449'),function(_0x48f620,_0xab66c2){if(_0x48f620!==_0xab66c2){_0x59172c[_0x1cd3('0x3d4')][_0x1cd3('0x106')]=_0x59172c[_0x1cd3('0x1424')]||undefined;_0x59172c[_0x1cd3('0x1444')]();}});_0x12da91['$watch'](_0x1cd3('0x144a'),function(_0x8117fc,_0x54ae6f){if(_0x8117fc!==_0x54ae6f){_0x59172c[_0x1cd3('0x3d4')][_0x1cd3('0x1430')]=_0x59172c['selectedCompany']||undefined;_0x59172c[_0x1cd3('0x1444')]();}});_0x12da91[_0x1cd3('0x4d6')](_0x1cd3('0x144b'),function(_0x3c886c,_0x559e8d){if(_0x3c886c[_0x1cd3('0x7a')]||_0x559e8d['length']){_0x59172c[_0x1cd3('0x1444')]();}});function _0x38110e(_0x4dff36){_0x59172c[_0x1cd3('0x141d')]=_0x4dff36||{'count':0x0,'rows':[]};}function _0x42af4f(){_0x59172c[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0x59172c[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0x59172c[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];if(_0x55bc76['hasRole'](_0x1cd3('0x5f'))){_0x59172c[_0x1cd3('0x539')]=_0x408554['cmContact'][_0x1cd3('0x361')](_0x59172c['query'],_0x38110e)[_0x1cd3('0x81')];}else{_0x59172c[_0x1cd3('0x3d4')]['id']=_0x59172c[_0x1cd3('0x38a')]['id'];_0x59172c['query']['ListId']=!_0x59172c[_0x1cd3('0x3d4')][_0x1cd3('0x106')]?_['map'](_0x59172c['lists'][_0x1cd3('0xf6')],'id'):_0x59172c[_0x1cd3('0x3d4')]['ListId'];_0x59172c['query'][_0x1cd3('0x1430')]=!_0x59172c[_0x1cd3('0x3d4')][_0x1cd3('0x1430')]?_(_0x59172c['companies'][_0x1cd3('0xf6')])[_0x1cd3('0x395')]({'canSelect':undefined})[_0x1cd3('0x3d9')]('id')[_0x1cd3('0x3db')]():_0x59172c['query'][_0x1cd3('0x1430')];_0x59172c[_0x1cd3('0x3d4')]['section']=_0x1cd3('0xf3');_0x59172c[_0x1cd3('0x539')]=_0x408554[_0x1cd3('0x38a')][_0x1cd3('0xd59')](_0x59172c[_0x1cd3('0x3d4')],_0x38110e)[_0x1cd3('0x81')];}}function _0x5341a5(_0x7ef83,_0x3ff295){if(_0x3ff295&&_0x3ff295[_0x1cd3('0xfc')]){_0x3ff295['dateOfBirth']=new Date(_0x3ff295[_0x1cd3('0xfc')]);}_0x15f7bb['show']({'controller':_0x1cd3('0x144c'),'controllerAs':'vm','templateUrl':_0x1cd3('0x144d'),'parent':angular[_0x1cd3('0x37f')](_0x659a4a[_0x1cd3('0x380')]),'targetEvent':_0x7ef83,'clickOutsideToClose':!![],'locals':{'ListId':_0x59172c[_0x1cd3('0x3d4')]['ListId']||_0x527098['params'][_0x1cd3('0x106')],'CompanyId':_0x59172c[_0x1cd3('0x3d4')][_0x1cd3('0x1430')]||_0x527098['params'][_0x1cd3('0x1430')],'contact':_0x3ff295,'contacts':_0x59172c[_0x1cd3('0x141d')][_0x1cd3('0xf6')],'companies':_0x59172c['companies'],'lists':_0x59172c['lists'],'setting':null,'crudPermissions':_0x59172c[_0x1cd3('0xd27')]}});}function _0x38e2e5(_0xf2cf15,_0x3d64bb){_0x15f7bb['show']({'controller':_0x1cd3('0x144e'),'controllerAs':'vm','templateUrl':_0x1cd3('0x144f'),'parent':angular['element'](_0x659a4a[_0x1cd3('0x380')]),'targetEvent':_0xf2cf15,'clickOutsideToClose':!![],'resolve':{'contact':['apiResolver',function(_0x15f829){return _0x15f829[_0x1cd3('0x58')](_0x1cd3('0xf1'),{'id':_0x3d64bb['id']});}],'lists':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x25880b,_0x45c128){return _0x45c128[_0x1cd3('0x57')]('admin')?_0x25880b[_0x1cd3('0x58')](_0x1cd3('0xe0'),{'fields':_0x1cd3('0xa6'),'nolimit':!![]}):_0x25880b[_0x1cd3('0x58')](_0x1cd3('0x5c'),{'id':_0x45c128[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'section':_0x1cd3('0xf4'),'fields':_0x1cd3('0xa6'),'nolimit':!![]});}]},'locals':{'contacts':_0x59172c[_0x1cd3('0x141d')][_0x1cd3('0xf6')]}});}function _0x3617c8(_0xa49d96,_0x388f62){_0x15f7bb['show']({'controller':_0x1cd3('0x1450'),'controllerAs':'vm','templateUrl':'app/main/apps/contactmanager/views/contacts/merge/dialog.html','parent':angular['element'](_0x659a4a[_0x1cd3('0x380')]),'targetEvent':_0xa49d96,'clickOutsideToClose':!![],'resolve':{'contact':[_0x1cd3('0x62'),function(_0x968462){return _0x968462[_0x1cd3('0x58')](_0x1cd3('0xf1'),{'id':_0x388f62['id']});}],'lists':['apiResolver',_0x1cd3('0x56'),function(_0x1a7658,_0x2375bd){return _0x2375bd[_0x1cd3('0x57')]('admin')?_0x1a7658[_0x1cd3('0x58')](_0x1cd3('0xe0'),{'fields':_0x1cd3('0xa6'),'nolimit':!![]}):_0x1a7658[_0x1cd3('0x58')](_0x1cd3('0x5c'),{'id':_0x2375bd[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'section':_0x1cd3('0xf4'),'fields':_0x1cd3('0xa6'),'nolimit':!![]});}]},'locals':{'contacts':_0x59172c[_0x1cd3('0x141d')][_0x1cd3('0xf6')]}});}function _0x4c7492(_0x233f0d){_0x408554[_0x1cd3('0xb3d')]['delete']({'id':_0x233f0d['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x59172c[_0x1cd3('0x141d')][_0x1cd3('0xf6')],{'id':_0x233f0d['id']});_0x59172c[_0x1cd3('0x141d')]['count']-=0x1;if(!_0x59172c[_0x1cd3('0x141d')][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){_0x59172c[_0x1cd3('0x1444')]();}_0x3cd758['success']({'title':_0x1cd3('0x1451'),'msg':_0x233f0d['name']?_0x233f0d['name']+_0x1cd3('0xd41'):''});})['catch'](function(_0x58f8d8){if(_0x58f8d8[_0x1cd3('0x439')]&&_0x58f8d8['data'][_0x1cd3('0xd34')]&&_0x58f8d8[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x59172c[_0x1cd3('0xd34')]=_0x58f8d8['data'][_0x1cd3('0xd34')]||[{'message':_0x58f8d8[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1452')}];for(var _0x57a7da=0x0;_0x57a7da<_0x58f8d8[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0x57a7da++){_0x3cd758[_0x1cd3('0x434')]({'title':_0x58f8d8['data']['errors'][_0x57a7da][_0x1cd3('0x424')],'msg':_0x58f8d8[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x57a7da][_0x1cd3('0x43a')]});}}else{_0x3cd758[_0x1cd3('0x434')]({'title':_0x58f8d8[_0x1cd3('0x3a6')]?'API:'+_0x58f8d8['status']+_0x1cd3('0x436')+_0x58f8d8['statusText']:_0x1cd3('0x1452'),'msg':_0x58f8d8[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x58f8d8[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x58f8d8['message']||_0x58f8d8[_0x1cd3('0x43b')]()});}});}function _0x145488(){var _0x15c7b3=angular[_0x1cd3('0x429')](_0x59172c[_0x1cd3('0x1422')]);_0x59172c[_0x1cd3('0x1422')]=[];return _0x15c7b3;}function _0x2dfd51(_0x5c8b65){var _0x30547e=_0x15f7bb[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x1453'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x59172c[_0x1cd3('0x1422')][_0x1cd3('0x7a')]+'\x20selected</b>'+_0x1cd3('0xd53'))['ariaLabel']('delete\x20Contacts')[_0x1cd3('0xd63')](_0x5c8b65)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x15f7bb[_0x1cd3('0x37e')](_0x30547e)['then'](function(){_0x59172c[_0x1cd3('0x1422')]['forEach'](function(_0x190038){_0x4c7492(_0x190038);});_0x59172c['selectedContacts']=[];});}function _0x26389a(){_0x59172c['selectedContacts']=[];}function _0x3fba13(){_0x59172c[_0x1cd3('0x1422')]=_0x59172c[_0x1cd3('0x141d')][_0x1cd3('0xf6')];}}}());(function(){'use strict';_0x459944[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),'toasty','contacts',_0x1cd3('0xf5'),'companies','contact',_0x1cd3('0x106'),_0x1cd3('0x1430'),_0x1cd3('0x370'),_0x1cd3('0xd27')];angular['module']('app.tools')['controller'](_0x1cd3('0x144c'),_0x459944);function _0x459944(_0x11050f,_0x374db0,_0x1ab149,_0x4fd95b,_0x363c43,_0x1bb3ec,_0x2184ba,_0x1b9135,_0x47568c,_0x330369){var _0x291ad3=this;_0x291ad3[_0x1cd3('0xd34')]=[];_0x291ad3[_0x1cd3('0x486')]=_0x1cd3('0x1454');_0x291ad3[_0x1cd3('0xd27')]=_0x330369;_0x291ad3[_0x1cd3('0x105')]=angular[_0x1cd3('0x429')](_0x1bb3ec);_0x291ad3[_0x1cd3('0x141d')]=_0x1ab149||{'rows':[],'count':0x0};_0x291ad3[_0x1cd3('0xf5')]=_0x4fd95b||{'rows':[],'count':0x0};_0x291ad3[_0x1cd3('0x13fd')]=_0x363c43||{'rows':[],'count':0x0};_0x291ad3[_0x1cd3('0x12fc')]={'rows':[],'count':0x0};_0x291ad3['newContact']=![];if(!_0x291ad3[_0x1cd3('0x105')]){_0x291ad3[_0x1cd3('0x105')]={'ListId':_0x2184ba?parseInt(_0x2184ba,0xa):undefined,'CompanyId':_0x1b9135?parseInt(_0x1b9135,0xa):undefined};_0x291ad3[_0x1cd3('0x486')]='CONTACTMANAGER.NEW_CONTACT';_0x291ad3[_0x1cd3('0x1455')]=!![];}else{delete _0x291ad3[_0x1cd3('0x105')][_0x1cd3('0x1456')];_0x291ad3[_0x1cd3('0x106')]=_0x291ad3[_0x1cd3('0x105')][_0x1cd3('0x106')]||undefined;}_0x291ad3[_0x1cd3('0x1457')]=_0x7088e5;_0x291ad3[_0x1cd3('0x1458')]=_0x1d2356;_0x291ad3[_0x1cd3('0x1459')]=_0x189e1f;_0x291ad3[_0x1cd3('0x39c')]=_0x4cf931;_0x291ad3[_0x1cd3('0x145a')]=_0x11f66d;_0x291ad3['getDateFromString']=_0x421c3a;function _0x7088e5(){_0x291ad3['errors']=[];_0x47568c[_0x1cd3('0xb3d')][_0x1cd3('0xd6d')](_0x291ad3['contact'])[_0x1cd3('0x81')]['then'](function(_0x86892e){_0x291ad3[_0x1cd3('0x141d')][_0x1cd3('0x621')](_0x86892e);_0x374db0[_0x1cd3('0x473')]({'title':_0x1cd3('0x145b'),'msg':_0x291ad3[_0x1cd3('0x105')][_0x1cd3('0x98')]?_0x291ad3['contact'][_0x1cd3('0x98')]+'\x20has\x20been\x20created!':''});_0x4cf931();})[_0x1cd3('0xfd')](function(_0x3dd14b){if(_0x3dd14b['data']&&_0x3dd14b['data'][_0x1cd3('0xd34')]&&_0x3dd14b['data'][_0x1cd3('0xd34')]['length']){_0x291ad3[_0x1cd3('0xd34')]=_0x3dd14b[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x3dd14b[_0x1cd3('0x43b')](),'type':_0x1cd3('0x145c')}];for(var _0x36c6c5=0x0;_0x36c6c5<_0x3dd14b[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x36c6c5++){_0x374db0[_0x1cd3('0x434')]({'title':_0x3dd14b[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x36c6c5][_0x1cd3('0x424')],'msg':_0x3dd14b['data'][_0x1cd3('0xd34')][_0x36c6c5][_0x1cd3('0x43a')]});}}else{_0x374db0[_0x1cd3('0x434')]({'title':_0x3dd14b['status']?_0x1cd3('0x435')+_0x3dd14b[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x3dd14b['statusText']:_0x1cd3('0x145d'),'msg':_0x3dd14b[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x3dd14b[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x3dd14b[_0x1cd3('0x43b')]()});}});}function _0x1d2356(){_0x291ad3[_0x1cd3('0xd34')]=[];_0x47568c[_0x1cd3('0xb3d')][_0x1cd3('0x378')]({'id':_0x291ad3['contact']['id']},_0x291ad3['contact'])['$promise'][_0x1cd3('0x77')](function(_0x5042eb){var _0x518249=_['find'](_0x291ad3[_0x1cd3('0x141d')],{'id':_0x5042eb['id']});if(_0x518249){_[_0x1cd3('0xf2')](_0x518249,_0x5042eb);}_0x374db0[_0x1cd3('0x473')]({'title':_0x1cd3('0x145e'),'msg':_0x291ad3[_0x1cd3('0x105')][_0x1cd3('0x98')]?_0x291ad3['contact']['name']+_0x1cd3('0xd37'):''});_0x4cf931();})[_0x1cd3('0xfd')](function(_0x538820){if(_0x538820[_0x1cd3('0x439')]&&_0x538820[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x538820[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x291ad3['errors']=_0x538820[_0x1cd3('0x439')]['errors']||[{'message':_0x538820['toString'](),'type':'api.contact.update'}];for(var _0x52b930=0x0;_0x52b930<_0x538820[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0x52b930++){_0x374db0['error']({'title':_0x538820[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x52b930]['type'],'msg':_0x538820[_0x1cd3('0x439')]['errors'][_0x52b930][_0x1cd3('0x43a')]});}}else{_0x374db0[_0x1cd3('0x434')]({'title':_0x538820[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x538820[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x538820[_0x1cd3('0xd35')]:_0x1cd3('0x145f'),'msg':_0x538820[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x538820[_0x1cd3('0x439')]['message']):_0x538820[_0x1cd3('0x43b')]()});}});}function _0x11f66d(_0xcd0a92){if(_0xcd0a92){return _0x47568c[_0x1cd3('0xc8f')][_0x1cd3('0x145a')]({'id':_0xcd0a92})[_0x1cd3('0x81')]['then'](function(_0x52cade){if(_0x52cade){_0x291ad3[_0x1cd3('0x12fc')]=_0x52cade;}})[_0x1cd3('0xfd')](function(_0x3c8b7d){console[_0x1cd3('0x434')](_0x3c8b7d);});}else{_0x291ad3[_0x1cd3('0x12fc')]={'rows':[],'count':0x0};}}function _0x189e1f(_0x21ca4a){_0x291ad3['errors']=[];var _0x17542d=_0x11050f[_0x1cd3('0xd39')]()[_0x1cd3('0x486')]('Are\x20you\x20sure?')['content'](_0x1cd3('0x1460'))[_0x1cd3('0xd3d')](_0x1cd3('0x1461'))['ok']('Delete')[_0x1cd3('0x4d8')]('Cancel')[_0x1cd3('0xd63')](_0x21ca4a);_0x11050f[_0x1cd3('0x37e')](_0x17542d)['then'](function(){_0x47568c['cmContact'][_0x1cd3('0xa1c')]({'id':_0x291ad3[_0x1cd3('0x105')]['id']})[_0x1cd3('0x81')]['then'](function(){_[_0x1cd3('0x383')](_0x291ad3[_0x1cd3('0x141d')],{'id':_0x291ad3[_0x1cd3('0x105')]['id']});_0x374db0[_0x1cd3('0x473')]({'title':'Contact\x20properly\x20deleted!','msg':_0x291ad3[_0x1cd3('0x105')][_0x1cd3('0x98')]?_0x291ad3[_0x1cd3('0x105')][_0x1cd3('0x98')]+_0x1cd3('0xd41'):''});_0x4cf931();})[_0x1cd3('0xfd')](function(_0x529277){console['error'](_0x529277);_0x291ad3[_0x1cd3('0xd34')]=_0x529277['data'][_0x1cd3('0xd34')]||[{'message':_0x529277['toString'](),'type':'api.contact.delete'}];});},function(){});}function _0x421c3a(_0xe81f3f){return _0xe81f3f===null?undefined:new Date(_0xe81f3f);}function _0x4cf931(){_0x11050f[_0x1cd3('0x39d')]();}}}());(function(){'use strict';_0x23b4d0[_0x1cd3('0xc')]=['$mdDialog','toasty','contact',_0x1cd3('0x141d'),_0x1cd3('0xf5'),'api'];angular[_0x1cd3('0x0')]('app.tools')[_0x1cd3('0x39b')](_0x1cd3('0x144e'),_0x23b4d0);function _0x23b4d0(_0x2683cb,_0x236e08,_0xe3f4bd,_0x15c1c0,_0x3d323b,_0xc85167){var _0x14571d=this;_0x14571d[_0x1cd3('0xd34')]=[];_0x14571d[_0x1cd3('0x486')]=_0x1cd3('0x1462');_0x14571d[_0x1cd3('0x105')]=angular[_0x1cd3('0x429')](_0xe3f4bd);_0x14571d['lists']=_0x3d323b||{'rows':[],'count':0x0};_0x14571d[_0x1cd3('0x1457')]=_0x1c0360;_0x14571d[_0x1cd3('0x39c')]=_0xba4149;function _0x1c0360(){_0x14571d[_0x1cd3('0xd34')]=[];delete _0x14571d['contact']['id'];if(_0x14571d[_0x1cd3('0x105')][_0x1cd3('0x921')]&&!_0x14571d[_0x1cd3('0x105')]['tags'][_0x1cd3('0x7a')]){delete _0x14571d[_0x1cd3('0x105')][_0x1cd3('0x921')];}_0xc85167[_0x1cd3('0xb3d')][_0x1cd3('0xd6d')](_0x14571d[_0x1cd3('0x105')])[_0x1cd3('0x81')]['then'](function(_0x3f0daf){_0x15c1c0[_0x1cd3('0x621')](_0x3f0daf);_0x236e08[_0x1cd3('0x473')]({'title':_0x1cd3('0x145b'),'msg':_0x14571d[_0x1cd3('0x105')][_0x1cd3('0x98')]?_0x14571d['contact'][_0x1cd3('0x98')]+'\x20has\x20been\x20created!':''});_0xba4149();})[_0x1cd3('0xfd')](function(_0x56299c){console[_0x1cd3('0x434')](_0x56299c);_0x14571d['errors']=_0x56299c[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x56299c[_0x1cd3('0x43b')](),'type':'api.contact.save'}];});}function _0xba4149(){_0x2683cb[_0x1cd3('0x39d')]();}}}());(function(){'use strict';_0x2426e4[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x53e'),_0x1cd3('0xd24'),_0x1cd3('0x3c5'),_0x1cd3('0x461'),_0x1cd3('0x1463'),'hopper','api',_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0xed'))['controller'](_0x1cd3('0x1464'),_0x2426e4);function _0x2426e4(_0x2d65f6,_0xb3e22c,_0x58ec6d,_0x4e883a,_0x48d2bc,_0x51dba3,_0x3c54a2,_0x340f23,_0x4dfab2){var _0x4f0081=this;_0x4f0081['errors']=[];_0x4f0081[_0x1cd3('0x486')]=_0x1cd3('0x1465');_0x4f0081[_0x1cd3('0x1466')]=angular[_0x1cd3('0x429')](_0x3c54a2);_0x4f0081[_0x1cd3('0x1463')]=_0x51dba3;_0x4f0081[_0x1cd3('0x1467')]=![];_0x4f0081[_0x1cd3('0xd27')]=_0x4dfab2;if(!_0x4f0081[_0x1cd3('0x1466')]){_0x4f0081[_0x1cd3('0x1466')]={};_0x4f0081[_0x1cd3('0x486')]='CONTACTMANAGER.NEW_HOPPER';_0x4f0081[_0x1cd3('0x1467')]=!![];}_0x4f0081[_0x1cd3('0x1468')]=_0x129507;_0x4f0081[_0x1cd3('0xd31')]=_0x18333c;_0x4f0081[_0x1cd3('0x39c')]=_0x38a9f5;function _0x129507(){_0x4f0081[_0x1cd3('0xd34')]=[];_0x340f23['cmHopper']['update']({'id':_0x4f0081[_0x1cd3('0x1466')]['id']},_0x4f0081[_0x1cd3('0x1466')])['$promise'][_0x1cd3('0x77')](function(_0x17d1e7){var _0x3b1269=_[_0x1cd3('0x442')](_0x4f0081[_0x1cd3('0x1463')],{'id':_0x17d1e7['id']});if(_0x3b1269){_[_0x1cd3('0xf2')](_0x3b1269,_0x17d1e7);}_0x48d2bc[_0x1cd3('0x473')]({'title':_0x1cd3('0x1469'),'msg':_0x4f0081[_0x1cd3('0x1466')][_0x1cd3('0x98')]?_0x4f0081[_0x1cd3('0x1466')][_0x1cd3('0x98')]+_0x1cd3('0xd37'):''});_0x38a9f5(_0x17d1e7);})[_0x1cd3('0xfd')](function(_0x1d75f8){console['error'](_0x1d75f8);_0x4f0081['errors']=_0x1d75f8[_0x1cd3('0x439')]['errors']||[{'message':_0x1d75f8[_0x1cd3('0x43b')](),'type':_0x1cd3('0x146a')}];});}function _0x577c02(){_0x4f0081[_0x1cd3('0xd34')]=[];var _0x4a61cf=_0x4e883a['confirm']()[_0x1cd3('0x486')]('Are\x20you\x20sure?')[_0x1cd3('0xd3b')](_0x1cd3('0x146b'))[_0x1cd3('0xd3d')]('Delete\x20Hopper')['ok']('Delete')[_0x1cd3('0x4d8')](_0x1cd3('0x674'))[_0x1cd3('0xd63')](event);_0x4e883a[_0x1cd3('0x37e')](_0x4a61cf)[_0x1cd3('0x77')](function(){_0x340f23[_0x1cd3('0xb47')]['delete']({'id':_0x4f0081[_0x1cd3('0x1466')]['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_['remove'](_0x4f0081[_0x1cd3('0x1463')],{'id':_0x4f0081[_0x1cd3('0x1466')]['id']});_0x48d2bc[_0x1cd3('0x473')]({'title':_0x1cd3('0x146c'),'msg':(_0x4f0081[_0x1cd3('0x1466')][_0x1cd3('0x98')]||_0x1cd3('0x1466'))+_0x1cd3('0xd41')});_0x38a9f5(_0x4f0081[_0x1cd3('0x1466')]);})['catch'](function(_0x2f8ea6){console[_0x1cd3('0x434')](_0x2f8ea6);_0x4f0081[_0x1cd3('0xd34')]=_0x2f8ea6[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x2f8ea6[_0x1cd3('0x43b')](),'type':_0x1cd3('0x146d')}];});},function(){});}function _0x18333c(_0x19dfc9){return _0x19dfc9===null?undefined:new Date(_0x19dfc9);}function _0x38a9f5(_0x554f05){_0x4e883a[_0x1cd3('0x39d')](_0x554f05);}}}());(function(){'use strict';_0x47dde4[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x3e7'),_0x1cd3('0x53e'),'$document',_0x1cd3('0x3c5'),_0x1cd3('0x461'),_0x1cd3('0x370'),_0x1cd3('0x105'),_0x1cd3('0x1463'),'finals','histories',_0x1cd3('0x141d'),_0x1cd3('0x13fd'),_0x1cd3('0xf5'),_0x1cd3('0x12fc'),_0x1cd3('0x921'),_0x1cd3('0x146e'),'license',_0x1cd3('0x56'),_0x1cd3('0x390')];angular[_0x1cd3('0x0')](_0x1cd3('0xed'))[_0x1cd3('0x39b')]('ContactController',_0x47dde4);function _0x47dde4(_0x4db2f5,_0x4ac09d,_0x422767,_0x2bd173,_0x8d8c71,_0x4ecd8d,_0x11c2d3,_0x1b8969,_0x61ca2f,_0x376c3d,_0x3a6140,_0x542fba,_0x77dc4c,_0x225514,_0x1c0780,_0x182e4a,_0x1121f5,_0x5d96f8,_0x4732ad,_0x304f42){var _0x3da9d2=this;_0x3da9d2['currentUser']=_0x4732ad['getCurrentUser']();_0x3da9d2['license']=_0x5d96f8;_0x3da9d2[_0x1cd3('0x146f')]=[];_0x3da9d2[_0x1cd3('0x105')]=_0x1b8969||{};_0x3da9d2['hoppers']=_0x61ca2f||{'rows':[],'count':0x0};_0x3da9d2[_0x1cd3('0x1470')]=_0x376c3d||{'rows':[],'count':0x0};_0x3da9d2['histories']=_0x3a6140||{'rows':[],'count':0x0};_0x3da9d2[_0x1cd3('0x13fd')]=_0x77dc4c||{'rows':[],'count':0x0};_0x3da9d2[_0x1cd3('0xf5')]=_0x225514||{'rows':[],'count':0x0};_0x3da9d2[_0x1cd3('0x12fc')]=_0x1c0780||{'rows':[],'count':0x0};_0x3da9d2[_0x1cd3('0x921')]=_0x182e4a||{'rows':[],'count':0x0};_0x3da9d2[_0x1cd3('0x146e')]=_0x1121f5||{'rows':[],'count':0x0};_0x3da9d2[_0x1cd3('0x1471')]={'scrollEl':_0x1cd3('0x1472')};_0x3da9d2[_0x1cd3('0x1473')]=new Date(moment()['startOf'](_0x1cd3('0x6e8'))[_0x1cd3('0x6e6')](0x1,_0x1cd3('0x791'))[_0x1cd3('0x12f')](0x0,!![])[_0x1cd3('0x130')]());_0x3da9d2['lastDayMonth']=new Date(moment()['endOf'](_0x1cd3('0x6e8'))[_0x1cd3('0x6e6')](0x1,_0x1cd3('0x138'))['utcOffset'](0x0,!![])[_0x1cd3('0x130')]());_0x3da9d2['userProfileSection']=_0x304f42&&_0x304f42[_0x1cd3('0x466')]==0x1?_0x304f42[_0x1cd3('0xf6')][0x0]:null;_0x3da9d2[_0x1cd3('0xd27')]=_0x4732ad[_0x1cd3('0xd44')](_0x3da9d2['userProfileSection']?_0x3da9d2[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);_0x3da9d2[_0x1cd3('0x1474')]=_[_0x1cd3('0xe2d')]([{'option':_0x1cd3('0xf41'),'value':_0x1cd3('0x1475')},{'option':_0x1cd3('0xf42'),'value':_0x1cd3('0x1476')},{'option':_0x1cd3('0xf43'),'value':_0x1cd3('0x1477')},{'option':_0x1cd3('0xf44'),'value':_0x1cd3('0x1478')},{'option':_0x1cd3('0xf45'),'value':'\x270\x27'}],function(_0xc3374a){return _[_0x1cd3('0x3f1')](_0xc3374a['value'],new RegExp('\x27','g'),'');});_0x3da9d2['queryHopper']={'fields':_0x1cd3('0xff'),'sort':'-updatedAt','limit':0xa,'page':0x1};_0x3da9d2['queryFinal']={'fields':_0x1cd3('0x101'),'sort':_0x1cd3('0x1479'),'limit':0xa,'page':0x1};_0x3da9d2[_0x1cd3('0x147a')]={'fields':_0x1cd3('0x103'),'sort':_0x1cd3('0x1479'),'limit':0xa,'page':0x1};_0x3da9d2[_0x1cd3('0x147b')]={'fields':_0x1cd3('0x147c'),'sort':'-starttime','limit':0xa,'page':0x1};_0x3da9d2[_0x1cd3('0xe5f')]=_0x422767[_0x1cd3('0x36a')][_0x1cd3('0x1418')]||0x0;_0x3da9d2[_0x1cd3('0x703')]=_0x5eb823;_0x3da9d2[_0x1cd3('0x147d')]=_0x2b0484;_0x3da9d2['duplicateContact']=_0x7bb825;_0x3da9d2[_0x1cd3('0x1458')]=_0x3f5753;_0x3da9d2[_0x1cd3('0x147e')]=_0xa8ba0;_0x3da9d2[_0x1cd3('0x147f')]=_0x33d62f;_0x3da9d2['onSelectListSuccess']=_0x5db9f2;_0x3da9d2[_0x1cd3('0xd31')]=_0x1b65d9;_0x3da9d2[_0x1cd3('0x1480')]=_0x5090b4;_0x3da9d2[_0x1cd3('0x1481')]=_0x51efad;_0x3da9d2[_0x1cd3('0x1482')]=_0x347aab;_0x3da9d2['getJscriptySessions']=_0x33bc5d;_0x3da9d2[_0x1cd3('0xecc')]=_0x4098f5;_0x3da9d2[_0x1cd3('0x1483')]=_0x5df01b;_0x3da9d2[_0x1cd3('0x1484')]=_0x39ea09;_0x3da9d2[_0x1cd3('0x1485')]=_0x25ab76;var _0x83bd2a=!![];var _0x109a82=0x1;_0x4db2f5[_0x1cd3('0x4d6')](_0x1cd3('0x1486'),function(_0x2766e0,_0x17b2f7){if(_0x83bd2a){_0x4ac09d(function(){_0x83bd2a=![];});}else{if(!_0x17b2f7){_0x109a82=_0x3da9d2[_0x1cd3('0x1487')][_0x1cd3('0x8fd')];}if(_0x2766e0!==_0x17b2f7){_0x3da9d2[_0x1cd3('0x1487')][_0x1cd3('0x8fd')]=0x1;}if(!_0x2766e0){_0x3da9d2[_0x1cd3('0x1487')][_0x1cd3('0x8fd')]=_0x109a82;}_0x3da9d2['getHoppers']();}});_0x4db2f5[_0x1cd3('0x4d6')](_0x1cd3('0x1488'),function(_0x240e37,_0x1400f6){if(_0x83bd2a){_0x4ac09d(function(){_0x83bd2a=![];});}else{if(!_0x1400f6){_0x109a82=_0x3da9d2['queryFinal'][_0x1cd3('0x8fd')];}if(_0x240e37!==_0x1400f6){_0x3da9d2[_0x1cd3('0x1489')]['page']=0x1;}if(!_0x240e37){_0x3da9d2['queryFinal'][_0x1cd3('0x8fd')]=_0x109a82;}_0x3da9d2[_0x1cd3('0x1481')]();}});_0x4db2f5['$watch'](_0x1cd3('0x148a'),function(_0x118795,_0xe1692b){if(_0x83bd2a){_0x4ac09d(function(){_0x83bd2a=![];});}else{if(!_0xe1692b){_0x109a82=_0x3da9d2[_0x1cd3('0x147a')][_0x1cd3('0x8fd')];}if(_0x118795!==_0xe1692b){_0x3da9d2[_0x1cd3('0x147a')][_0x1cd3('0x8fd')]=0x1;}if(!_0x118795){_0x3da9d2[_0x1cd3('0x147a')][_0x1cd3('0x8fd')]=_0x109a82;}_0x3da9d2[_0x1cd3('0x1482')]();}});function _0x299bd3(_0x5d12fa){switch(_0x5d12fa){case _0x1cd3('0xbf'):return _0x1cd3('0x148b');case _0x1cd3('0x1d2'):return'teal';case _0x1cd3('0x26b'):return _0x1cd3('0x148c');case _0x1cd3('0x22e'):return _0x1cd3('0x148d');case _0x1cd3('0x154'):return _0x1cd3('0x148e');case _0x1cd3('0x34a'):return'lime-A700';default:return'blue-A700';}}function _0x25ab76(_0x22cda5){var _0x443809='';if(_0x22cda5[_0x1cd3('0x148f')]){_0x443809='fax';}else if(_0x22cda5[_0x1cd3('0x1490')]){_0x443809=_0x1cd3('0x22e');}else if(_0x22cda5[_0x1cd3('0x1491')]){_0x443809='sms';}else if(_0x22cda5[_0x1cd3('0x1492')]){_0x443809=_0x1cd3('0x1d2');}else if(_0x22cda5[_0x1cd3('0x1203')]){_0x443809=_0x1cd3('0xbf');}else if(_0x22cda5[_0x1cd3('0x1493')]){_0x443809=_0x1cd3('0x121');}return _0x299bd3(_0x443809);}function _0x4a33a5(_0x28a8c8){return function(_0x197626){_0x3da9d2[_0x28a8c8]=_0x197626||{'count':0x0,'rows':[]};};}function _0x5eb823(){if(!_0x4732ad[_0x1cd3('0x57')](_0x1cd3('0x5f'))){_0x55e914();_0x5ef990();}return _0x11c2d3[_0x1cd3('0x368')]['get']({'fields':_0x1cd3('0x1494'),'nolimit':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x38de7f){_0x3da9d2[_0x1cd3('0xef4')]=_0x38de7f||{'count':0x0,'rows':[]};_0x3da9d2['usersMap']=_[_0x1cd3('0x3d8')](_[_0x1cd3('0xe2d')](_0x3da9d2['users']['rows'],'id'),_0x1cd3('0xd3'));_0x3da9d2[_0x1cd3('0xf9')]=_['map'](_0x3da9d2[_0x1cd3('0x105')]['Tags'],'id');})['then'](_0x3b9119(_0x1b8969));}function _0x55e914(){var _0x3cda08=_['some'](_0x3da9d2['companies'][_0x1cd3('0xf6')],{'id':_0x3da9d2[_0x1cd3('0x105')]['CompanyId']});if(!_0x3cda08){return _0x11c2d3[_0x1cd3('0xb38')][_0x1cd3('0x361')]({'id':_0x3da9d2['contact'][_0x1cd3('0x1430')],'fields':_0x1cd3('0xa6')})['$promise'][_0x1cd3('0x77')](function(_0x175536){var _0x586e50=_0x175536[_0x1cd3('0xd32')]();_0x586e50['canSelect']=![];_0x3da9d2[_0x1cd3('0x13fd')]['rows'][_0x1cd3('0x7b')](_0x586e50);})[_0x1cd3('0xfd')](function(_0x306cd3){_0x4ecd8d['error']({'title':_0x306cd3[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x306cd3[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x306cd3[_0x1cd3('0xd35')]:_0x1cd3('0x1435'),'msg':_0x306cd3[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x306cd3[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x306cd3[_0x1cd3('0x43b')]()});});}}function _0x5ef990(){var _0x127843=_['map'](_0x3da9d2['contact'][_0x1cd3('0xf9')],function(_0x3b8dd7){return{'id':_0x3b8dd7['id'],'name':_0x3b8dd7['name']};});if(!_['isEmpty'](_0x127843)){for(var _0x1c794b=0x0;_0x1c794b<_0x127843[_0x1cd3('0x7a')];_0x1c794b++){if(!_[_0x1cd3('0x38d')](_0x3da9d2[_0x1cd3('0x921')][_0x1cd3('0xf6')],{'id':_0x127843['id']})){_0x127843[_0x1c794b][_0x1cd3('0xf4a')]=![];_0x3da9d2[_0x1cd3('0x921')]['rows'][_0x1cd3('0x7b')](_0x127843[_0x1c794b]);}}}}function _0x1e416b(_0x1d0c1d){if(_0x1d0c1d&&_0x1d0c1d[_0x1cd3('0x466')]&&_0x1d0c1d['rows'][_0x1cd3('0x7a')]){_0x3da9d2['journey']=_[_0x1cd3('0x3ae')](_0x3da9d2[_0x1cd3('0x146f')],_0x1d0c1d[_0x1cd3('0xf6')]);}}function _0x3b9119(_0x26ef28){var _0x58c9ac=[_0x1cd3('0x1d2'),_0x1cd3('0xbf'),_0x1cd3('0x26b'),_0x1cd3('0x22e'),_0x1cd3('0x154')];if(_0x26ef28&&_0x26ef28['id']){for(var _0x159694=0x0;_0x159694<_0x58c9ac[_0x1cd3('0x7a')];_0x159694++){_0x11c2d3[_0x58c9ac[_0x159694]+_0x1cd3('0x1495')]['get']({'ContactId':_0x26ef28['id'],'includeAll':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](_0x1e416b);}_0x11c2d3[_0x1cd3('0xa66')]['get']({'ContactId':_0x26ef28['id'],'includeAll':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](_0x1e416b)['catch'](function(_0x524319){console[_0x1cd3('0x434')](_0x524319);});}}function _0x5df01b(_0x494301,_0x4ebe9a){_0x8d8c71[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1496'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1497'),'parent':angular[_0x1cd3('0x37f')](_0x2bd173[_0x1cd3('0x380')]),'targetEvent':_0x494301,'clickOutsideToClose':!![],'locals':{'hopper':_0x4ebe9a,'hoppers':_0x3da9d2[_0x1cd3('0x1463')][_0x1cd3('0xf6')],'license':null,'setting':null,'crudPermissions':_0x3da9d2[_0x1cd3('0xd27')]}});}function _0x39ea09(_0xae94a2,_0x48ea17){_0x8d8c71[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1498'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1499'),'parent':angular[_0x1cd3('0x37f')](_0x2bd173['body']),'targetEvent':_0xae94a2,'clickOutsideToClose':!![],'locals':{'hopper':_0x48ea17,'hoppers':_0x3da9d2[_0x1cd3('0x1463')][_0x1cd3('0xf6')],'license':null,'setting':null,'crudPermissions':_0x3da9d2[_0x1cd3('0xd27')]}});}function _0x4098f5(_0x12c258,_0x412468){var _0x5c1d67=_0x8d8c71[_0x1cd3('0xd39')]()['title'](_0x1cd3('0x149a'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+(_0x12c258[_0x1cd3('0xf09')]||_0x1cd3('0x1466'))+_0x1cd3('0xd52')+'\x20will\x20be\x20deleted.')['ariaLabel']('delete\x20hopper')[_0x1cd3('0xd63')](_0x412468)['ok']('OK')[_0x1cd3('0x4d8')]('CANCEL');_0x8d8c71[_0x1cd3('0x37e')](_0x5c1d67)[_0x1cd3('0x77')](function(){_0x2bbd18(_0x12c258);},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}function _0x2bbd18(_0x488495){return _0x11c2d3[_0x1cd3('0xb47')][_0x1cd3('0xa1c')]({'id':_0x488495['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_['remove'](_0x3da9d2[_0x1cd3('0x1463')][_0x1cd3('0xf6')],{'id':_0x488495['id']});_0x3da9d2[_0x1cd3('0x1463')][_0x1cd3('0x466')]--;if(!_0x3da9d2[_0x1cd3('0x1463')][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){_0x3da9d2['getHoppers']();}_0x4ecd8d[_0x1cd3('0x473')]({'title':'Hopper\x20deleted!','msg':_0x488495[_0x1cd3('0xf09')]?_0x488495[_0x1cd3('0xf09')]+_0x1cd3('0xd41'):''});})[_0x1cd3('0xfd')](function(_0xb05ca6){_0x4ecd8d['error']({'title':_0xb05ca6[_0x1cd3('0x3a6')]?'API:'+_0xb05ca6[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0xb05ca6[_0x1cd3('0xd35')]:_0x1cd3('0x149b'),'msg':_0xb05ca6[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0xb05ca6[_0x1cd3('0x439')]):_0xb05ca6[_0x1cd3('0x43b')]()});});}function _0x5090b4(){_0x3da9d2[_0x1cd3('0x1487')][_0x1cd3('0xd57')]=(_0x3da9d2['queryHopper']['page']-0x1)*_0x3da9d2[_0x1cd3('0x1487')]['limit'];_0x3da9d2[_0x1cd3('0x1487')]['id']=_0x3da9d2[_0x1cd3('0x105')]['id'];_0x3da9d2[_0x1cd3('0x539')]=_0x11c2d3[_0x1cd3('0xb3d')][_0x1cd3('0x1480')](_0x3da9d2[_0x1cd3('0x1487')],_0x4a33a5(_0x1cd3('0x1463')))['$promise'];}function _0x51efad(){_0x3da9d2[_0x1cd3('0x1489')][_0x1cd3('0xd57')]=(_0x3da9d2[_0x1cd3('0x1489')][_0x1cd3('0x8fd')]-0x1)*_0x3da9d2[_0x1cd3('0x1489')][_0x1cd3('0x8fe')];_0x3da9d2['queryFinal']['id']=_0x3da9d2['contact']['id'];_0x3da9d2[_0x1cd3('0x539')]=_0x11c2d3['cmContact'][_0x1cd3('0x149c')](_0x3da9d2[_0x1cd3('0x1489')],_0x4a33a5(_0x1cd3('0x1470')))[_0x1cd3('0x81')];}function _0x347aab(){_0x3da9d2[_0x1cd3('0x147a')][_0x1cd3('0xd57')]=(_0x3da9d2[_0x1cd3('0x147a')][_0x1cd3('0x8fd')]-0x1)*_0x3da9d2[_0x1cd3('0x147a')][_0x1cd3('0x8fe')];_0x3da9d2['queryHistory']['id']=_0x3da9d2[_0x1cd3('0x105')]['id'];_0x3da9d2['promise']=_0x11c2d3[_0x1cd3('0xb3d')][_0x1cd3('0x149d')](_0x3da9d2[_0x1cd3('0x147a')],_0x4a33a5(_0x1cd3('0x149e')))[_0x1cd3('0x81')];}function _0x33bc5d(){_0x3da9d2[_0x1cd3('0x147b')][_0x1cd3('0xd57')]=(_0x3da9d2['queryJscriptySession'][_0x1cd3('0x8fd')]-0x1)*_0x3da9d2[_0x1cd3('0x147b')][_0x1cd3('0x8fe')];_0x3da9d2['queryJscriptySession']['id']=_0x3da9d2[_0x1cd3('0x105')]['id'];_0x3da9d2[_0x1cd3('0x539')]=_0x11c2d3[_0x1cd3('0xb3d')][_0x1cd3('0x149f')](_0x3da9d2['queryJscriptySession'],_0x4a33a5(_0x1cd3('0x146e')))[_0x1cd3('0x81')];}function _0x33d62f(_0x5a89e1){if(_0x3da9d2[_0x1cd3('0x105')][_0x1cd3('0x106')]){var _0x3eb93c=_0x8d8c71['confirm']()[_0x1cd3('0x486')](_0x1cd3('0x14a0')+_0x3da9d2[_0x1cd3('0x105')][_0x1cd3('0x106')])[_0x1cd3('0x678')]('Warning!\x20You\x20won\x27t\x20select\x20a\x20different\x20list\x20for\x20the\x20contact\x20'+_0x3da9d2['contact'][_0x1cd3('0x1447')]||_0x3da9d2[_0x1cd3('0x105')]['lastName']||_0x3da9d2[_0x1cd3('0x105')]['id'])[_0x1cd3('0xd63')](_0x5a89e1)['ok']('Ok')['cancel'](_0x1cd3('0x674'));return _0x8d8c71[_0x1cd3('0x37e')](_0x3eb93c)[_0x1cd3('0x77')](_0x3da9d2[_0x1cd3('0x14a1')])[_0x1cd3('0xfd')](function(){_0x3da9d2[_0x1cd3('0x105')][_0x1cd3('0x106')]=null;});}}function _0x5db9f2(){return _0x11c2d3[_0x1cd3('0xc8f')][_0x1cd3('0x145a')]({'id':_0x3da9d2[_0x1cd3('0x105')][_0x1cd3('0x106')]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x581751){_0x3da9d2[_0x1cd3('0x12fc')]=_0x581751||{'rows':[],'count':0x0};})[_0x1cd3('0xfd')](function(_0x2ecf2f){console['error'](_0x2ecf2f);});}function _0x233dfb(){return _0x11c2d3[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x3da9d2[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x12e})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x3a948a){var _0x47bcd2=_0x3a948a['rows']?_0x3a948a[_0x1cd3('0xf6')][0x0]:null;return _0x4732ad[_0x1cd3('0xd44')](_0x47bcd2?_0x47bcd2[_0x1cd3('0xd27')]:null);})[_0x1cd3('0xfd')](function(_0x2dd6d3){_0x4ecd8d[_0x1cd3('0x434')]({'title':_0x2dd6d3['status']?_0x1cd3('0x435')+_0x2dd6d3[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x2dd6d3[_0x1cd3('0xd35')]:'API:GET_COMPANY_SECTION','msg':_0x2dd6d3[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x2dd6d3[_0x1cd3('0x439')]):_0x2dd6d3[_0x1cd3('0x43b')]()});});}function _0xa8ba0(_0x210203,_0x223314){var _0x487abd=_[_0x1cd3('0x442')](_0x3da9d2['companies'][_0x1cd3('0xf6')],{'id':_0x223314});_0x8d8c71[_0x1cd3('0x37e')]({'controller':'CreateOrEditCompanyDialogController','controllerAs':'vm','templateUrl':_0x1cd3('0x140a'),'parent':angular[_0x1cd3('0x37f')](_0x2bd173[_0x1cd3('0x380')]),'targetEvent':_0x210203,'clickOutsideToClose':!![],'locals':{'companies':[],'license':null,'setting':null,'crudPermissions':_0x487abd[_0x1cd3('0xf4a')]===![]?{'readOnly':!![],'canEdit':![],'canDelete':![]}:_0x233dfb()},'resolve':{'company':[_0x1cd3('0x62'),function(_0x184fa8){return _0x184fa8['resolve'](_0x1cd3('0xf7'),{'id':_0x223314});}]}});}function _0x7bb825(_0x36ff93){_0x8d8c71[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x144e'),'controllerAs':'vm','templateUrl':_0x1cd3('0x144f'),'parent':angular[_0x1cd3('0x37f')](_0x2bd173[_0x1cd3('0x380')]),'targetEvent':_0x36ff93,'clickOutsideToClose':!![],'resolve':{'lists':[_0x1cd3('0x62'),_0x1cd3('0x56'),function(_0x35aaf5,_0x3cc500){return _0x3cc500['hasRole']('admin')?_0x35aaf5[_0x1cd3('0x58')](_0x1cd3('0xe0'),{'fields':_0x1cd3('0xa6')}):_0x35aaf5['resolve'](_0x1cd3('0x5c'),{'id':_0x3da9d2[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'section':_0x1cd3('0xf4'),'fields':'id,name'});}]},'locals':{'contacts':_0x542fba[_0x1cd3('0xf6')],'contact':_0x1b8969}});}function _0x3f5753(){_0x11c2d3['cmContact'][_0x1cd3('0x378')]({'id':_0x3da9d2[_0x1cd3('0x105')]['id']},_0x3da9d2['contact'])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x4ecd8d['success']({'title':_0x1cd3('0x14a2'),'msg':_0x3da9d2[_0x1cd3('0x105')][_0x1cd3('0x98')]?_0x3da9d2[_0x1cd3('0x105')][_0x1cd3('0x98')]+_0x1cd3('0xe65'):''});})[_0x1cd3('0x77')](function(){return _0x11c2d3[_0x1cd3('0xb3d')][_0x1cd3('0x14a3')]({'id':_0x3da9d2['contact']['id'],'ids':_0x3da9d2[_0x1cd3('0xf9')]})['$promise'];})[_0x1cd3('0xfd')](function(_0x3509fc){_0x4ecd8d['error']({'title':_0x3509fc[_0x1cd3('0x3a6')]?'API:'+_0x3509fc[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x3509fc[_0x1cd3('0xd35')]:_0x1cd3('0x14a4'),'msg':_0x3509fc[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x3509fc['data']):_0x3509fc[_0x1cd3('0x43b')]()});});}function _0x1b65d9(_0x437bf3){return _0x437bf3===null?undefined:new Date(_0x437bf3);}function _0x2b0484(){_0x422767['go']('app.contactmanager.contacts',{},{'reload':!![],'notify':!![]});}}}());(function(){'use strict';_0x3cfc91[_0x1cd3('0xc')]=[_0x1cd3('0x36f'),'$mdDialog',_0x1cd3('0x585'),'$q',_0x1cd3('0x3e7'),'lists',_0x1cd3('0x13fd'),'toasty',_0x1cd3('0x370'),_0x1cd3('0xd18'),'$scope','file','fields','license'];angular[_0x1cd3('0x0')](_0x1cd3('0x33'))[_0x1cd3('0x39b')](_0x1cd3('0x14a5'),_0x3cfc91);function _0x3cfc91(_0x1e965f,_0x2ab52c,_0xc9ceea,_0x298a0e,_0x29ad8f,_0x1acddb,_0x35e1c6,_0x3efbe2,_0x56b926,_0x22e06b,_0xe9a2de,_0x2ca752,_0x3de606,_0x2236ae){var _0x1ced92=this;_0x1ced92[_0x1cd3('0x14a6')]=![];_0x1ced92['stopping']=!![];_0x1ced92[_0x1cd3('0x463')]=_0x2236ae;_0x1ced92[_0x1cd3('0x14a7')]=0x0;_0x1ced92[_0x1cd3('0xe90')]={'finish':![],'rows':0x0,'affectedRows':0x0,'failedRows':0x0,'duplicatedRows':0x0,'errors':[]};_0x1ced92[_0x1cd3('0x14a8')]=[{'key':_0x1cd3('0x1447'),'required':!![]},{'key':_0x1cd3('0x1324'),'required':![]},{'key':'phone','required':!![]},{'key':_0x1cd3('0x967'),'required':![]},{'key':'email','required':![]},{'key':'dateOfBirth','required':![]},{'key':_0x1cd3('0x14a9'),'required':![]},{'key':_0x1cd3('0x14aa'),'required':![]},{'key':_0x1cd3('0x14ab'),'required':![]},{'key':'postalCode','required':![]},{'key':'fax','required':![]}];_0x1ced92[_0x1cd3('0x14ac')]=[{'key':_0x1cd3('0x1226'),'required':![]},{'key':_0x1cd3('0x14ad'),'required':![]},{'key':_0x1cd3('0xf0c'),'required':![]}];_0x1ced92[_0x1cd3('0x14ae')]={};_0x1ced92[_0x1cd3('0x14af')]=[];_0x1ced92[_0x1cd3('0xf5')]=_0x1acddb||{'rows':[],'count':0x0};_0x1ced92['companies']=_0x35e1c6||{'rows':[],'count':0x0};_0x1ced92[_0x1cd3('0x12fc')]={'rows':[],'count':0x0};_0x1ced92['fields']=_0x3de606||[];_0x1ced92['closeDialog']=_0x25df67;_0x1ced92[_0x1cd3('0x14b0')]=_0x12ee23;_0x1ced92[_0x1cd3('0x14b1')]=_0x351d11;_0x1ced92[_0x1cd3('0x14b2')]=_0x5dd989;_0x1ced92[_0x1cd3('0x14b3')]=_0x3ccc6c;_0x1ced92[_0x1cd3('0x14b4')]=_0x18b29e;var _0x286749=moment()[_0x1cd3('0x14b5')]();_0x22e06b['on'](_0x1cd3('0x14b6')+_0x286749,_0x381787);function _0x12ee23(){return _0x56b926['cmList'][_0x1cd3('0x145a')]({'id':_0x1ced92[_0x1cd3('0x106')]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x456b54){_0x1ced92[_0x1cd3('0x12fc')]=_0x456b54;})[_0x1cd3('0xfd')](function(_0x2b3a57){console[_0x1cd3('0x434')](_0x2b3a57);});}function _0x351d11(){_0x1ced92[_0x1cd3('0x14a6')]=moment();_0x56b926['cmContact']['import']({'id':_0x2ca752[_0x1cd3('0x6b6')],'binding':_0x1ced92['binding'],'ListId':_0x1ced92[_0x1cd3('0x106')],'CompanyId':_0x1ced92[_0x1cd3('0x1430')],'duplicates':_0x1ced92[_0x1cd3('0x14b7')],'socket_timestamp':_0x286749})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x267b32){_0x1ced92[_0x1cd3('0x14b8')]=![];if(_0x267b32&&_0x267b32['pid']){_0x1ced92[_0x1cd3('0x14a7')]=_0x267b32[_0x1cd3('0x14a7')];}})[_0x1cd3('0xfd')](function(_0x28aac6){_0x1ced92['processing']=![];_0x3efbe2[_0x1cd3('0x434')]({'title':_0x1cd3('0x14b9'),'msg':'Please\x20retry\x20with\x20a\x20new\x20file'});});}function _0x381787(_0x4aa80f){_0x29ad8f(function(){_0x1ced92[_0x1cd3('0xe90')]['rows']=_0x4aa80f[_0x1cd3('0xf6')];if(_0x4aa80f[_0x1cd3('0xd34')]){for(var _0x2aa053=0x0;_0x2aa053<_0x4aa80f[_0x1cd3('0xd34')]['length'];_0x2aa053++){_0x1ced92[_0x1cd3('0xe90')][_0x1cd3('0xd34')][_0x1cd3('0x7b')](_0x4aa80f[_0x1cd3('0xd34')][_0x2aa053]);}}if(_0x4aa80f[_0x1cd3('0x14ba')]){_0x1ced92[_0x1cd3('0xe90')][_0x1cd3('0x14ba')]=!![];_0x1ced92['result'][_0x1cd3('0x14bb')]=_0x4aa80f[_0x1cd3('0x14bb')];_0x1ced92['result'][_0x1cd3('0x14bc')]=_0x1ced92[_0x1cd3('0xe90')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];var _0x3160b2=_0x1ced92[_0x1cd3('0xe90')]['rows']-_0x1ced92[_0x1cd3('0xe90')][_0x1cd3('0x14bb')]-_0x1ced92[_0x1cd3('0xe90')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];if(_0x3160b2&&_0x3160b2>0x0){if(_0x1ced92[_0x1cd3('0x14b7')]['length']){_0x1ced92[_0x1cd3('0xe90')]['duplicatedRows']=_0x3160b2;}else{_0x1ced92[_0x1cd3('0xe90')][_0x1cd3('0x14bc')]+=_0x3160b2;}}_0x1ced92['result'][_0x1cd3('0x14bd')]=moment()[_0x1cd3('0x78b')](_0x1ced92[_0x1cd3('0x14a6')],_0x1cd3('0x791'));}});}function _0x5dd989(){var _0x3b94e3=_0x3de606;_0x3b94e3[_0x1cd3('0x7b')]('contact_import_error');return _0x3b94e3;}function _0x3ccc6c(){var _0xd52d63=[];for(var _0x56a4d2=0x0;_0x56a4d2<_0x1ced92['result'][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x56a4d2+=0x1){var _0x14d787=_0x1ced92['result'][_0x1cd3('0xd34')][_0x56a4d2][_0x1cd3('0x14be')];_0x14d787[_0x1cd3('0x14bf')]=_0x1ced92[_0x1cd3('0xe90')][_0x1cd3('0xd34')][_0x56a4d2][_0x1cd3('0x43a')];_0xd52d63['push'](_0x14d787);}return _0xd52d63;}function _0x18b29e(){_0x1ced92[_0x1cd3('0x14b8')]=!![];if(_0x1ced92[_0x1cd3('0x14a7')]){return _0x56b926[_0x1cd3('0xa13')][_0x1cd3('0x14c0')]({'pid':_0x1ced92[_0x1cd3('0x14a7')]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x2eb6fd){_0x3efbe2['success']({'title':'CSV\x20import\x20process\x20stopped!','msg':_0x1cd3('0x14c1')});})[_0x1cd3('0xfd')](function(_0x5c9b7a){_0x3efbe2[_0x1cd3('0x434')]({'title':'CSV\x20stop\x20import\x20process\x20failed!','msg':_0x1cd3('0x14c2')});});}}_0xe9a2de[_0x1cd3('0x4d3')](_0x1cd3('0x523'),function(){_0x22e06b[_0x1cd3('0x6a3')](_0x1cd3('0x14b6')+_0x286749);});function _0x25df67(){_0x22e06b[_0x1cd3('0x6a3')]('contact:import:'+_0x286749);_0x2ab52c['hide']();}}}());(function(){'use strict';_0x5c4d56[_0x1cd3('0xc')]=['$mdDialog','$scope',_0x1cd3('0x461'),_0x1cd3('0x105'),_0x1cd3('0x141d'),_0x1cd3('0xf5'),'api'];angular[_0x1cd3('0x0')]('app.tools')[_0x1cd3('0x39b')]('MergeContactDialogController',_0x5c4d56);function _0x5c4d56(_0x5aaa4b,_0x16b1bc,_0x597c43,_0x3a7edd,_0x6f8d57,_0x57f644,_0x539711){var _0x1fc27a=this;_0x1fc27a[_0x1cd3('0xd34')]=[];_0x1fc27a[_0x1cd3('0x486')]=_0x1cd3('0x14c3');_0x1fc27a['contact']=angular[_0x1cd3('0x429')](_0x3a7edd);_0x1fc27a[_0x1cd3('0xf5')]=_0x57f644||[];_0x1fc27a[_0x1cd3('0x14c4')]=function(){if(_0x1fc27a[_0x1cd3('0x14c5')]){_0x539711[_0x1cd3('0xb3d')]['get']({'fields':'id,firstName,lastName,phone,email','filter':_0x1fc27a[_0x1cd3('0x14c5')],'ListId':_0x3a7edd['ListId']})['$promise'][_0x1cd3('0x77')](function(_0x4372fe){_0x1fc27a[_0x1cd3('0x141d')]=_0x4372fe[_0x1cd3('0xf6')];})[_0x1cd3('0xfd')](function(_0x25731b){console[_0x1cd3('0x434')](_0x25731b);});}else{_0x1fc27a[_0x1cd3('0x141d')]=[];}};_0x1fc27a[_0x1cd3('0x14c6')]=_0x5a1b56;_0x1fc27a[_0x1cd3('0x39c')]=_0x44ee58;function _0x5a1b56(_0x1b16e0,_0x571c37,_0x13e100){var _0x156d7b=_0x5aaa4b[_0x1cd3('0xd39')]({'skipHide':!![]})[_0x1cd3('0x486')](_0x1cd3('0x14c7'))['textContent'](_0x1cd3('0x14c8')+_0x13e100['id']+_0x1cd3('0x14c9')+_0x571c37['id']+'.')[_0x1cd3('0xd63')](_0x1b16e0)['ok']('Ok')[_0x1cd3('0x4d8')](_0x1cd3('0x674'));_0x5aaa4b[_0x1cd3('0x37e')](_0x156d7b)['then'](function(){return _0x539711[_0x1cd3('0xb3d')][_0x1cd3('0xf2')]({'to':_0x13e100['id'],'from':_0x571c37['id']})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x489dba){_0x5aaa4b[_0x1cd3('0x39d')]({'new':_0x489dba,'to':_0x13e100,'from':_0x571c37});_[_0x1cd3('0x383')](_0x6f8d57,{'id':_0x13e100['id']});_[_0x1cd3('0x383')](_0x6f8d57,{'id':_0x571c37['id']});_0x6f8d57[_0x1cd3('0x621')](_0x489dba);})[_0x1cd3('0x77')](function(){_0x597c43[_0x1cd3('0x473')]({'title':_0x1cd3('0x14ca')});})[_0x1cd3('0xfd')](function(_0x17536d){if(_0x17536d&&_0x17536d[_0x1cd3('0x3a6')]){_0x597c43[_0x1cd3('0x434')]({'title':_0x17536d[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x17536d[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x17536d[_0x1cd3('0xd35')]:'SYSTEM:MERGE_CONTACT','msg':_0x17536d['data']?JSON['stringify'](_0x17536d['data']):_0x17536d[_0x1cd3('0x43b')]()});}});}function _0x44ee58(){_0x5aaa4b[_0x1cd3('0x39d')]();}}}());(function(){'use strict';_0x227cd9[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x53e'),_0x1cd3('0xd24'),_0x1cd3('0x3c5'),'$q',_0x1cd3('0x3f7'),_0x1cd3('0x461'),_0x1cd3('0x14cb'),'globalCustomField','api',_0x1cd3('0x56'),_0x1cd3('0x463'),_0x1cd3('0xc49'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x2c'))[_0x1cd3('0x39b')](_0x1cd3('0x14cc'),_0x227cd9);function _0x227cd9(_0x159ddf,_0x4a9b6a,_0x16a8ee,_0x100e0e,_0x1548cf,_0x4f7402,_0x2d28d8,_0x1bd4f8,_0x2830e1,_0xca18ea,_0x100a67,_0x4fe501,_0x54cf84,_0x3b1f09){var _0x16c2d7=this;_0x16c2d7[_0x1cd3('0x3ca')]=_0x100a67[_0x1cd3('0x5d')]();_0x16c2d7[_0x1cd3('0xd34')]=[];_0x16c2d7[_0x1cd3('0xc49')]=_0x54cf84;_0x16c2d7[_0x1cd3('0x463')]=_0x4fe501;_0x16c2d7[_0x1cd3('0xd27')]=_0x3b1f09;_0x16c2d7[_0x1cd3('0xd28')]={};_0x16c2d7[_0x1cd3('0xd29')]=_0x16c2d7[_0x1cd3('0xc49')]&&_0x16c2d7[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x16c2d7[_0x1cd3('0x486')]=_0x1cd3('0x14cd');_0x16c2d7[_0x1cd3('0x14ce')]={'animation':0x320,'sort':!![],'onSort':function(_0x5004b7){_0x159ddf[_0x1cd3('0x14cf')][_0x1cd3('0x14d0')]=![];}};_0x16c2d7[_0x1cd3('0x14d1')]=_0x2830e1;_0x16c2d7[_0x1cd3('0x14cb')]=_0x1bd4f8;_0x16c2d7['newGlobalCustomField']=![];if(!_0x16c2d7[_0x1cd3('0x14d1')]){_0x16c2d7[_0x1cd3('0x14d1')]={'type':_0x1cd3('0x401')};_0x16c2d7[_0x1cd3('0x486')]=_0x1cd3('0x14d2');_0x16c2d7[_0x1cd3('0x14d3')]=!![];}_0x159ddf[_0x1cd3('0x4d6')](_0x1cd3('0x14d4'),function(_0x4eccaa,_0x5b9736){if(_0x4eccaa!==_0x5b9736){switch(_0x4eccaa){case'text':_0x16c2d7[_0x1cd3('0x14d1')][_0x1cd3('0x42d')]='';break;case'select':_0x16c2d7['globalCustomField'][_0x1cd3('0x42d')]=[];break;default:}}});_0x16c2d7[_0x1cd3('0x14d5')]=_0x1ff403;_0x16c2d7[_0x1cd3('0x14d6')]=_0x44b991;_0x16c2d7['deleteGlobalCustomField']=_0x334949;_0x16c2d7[_0x1cd3('0xd31')]=_0x24479b;_0x16c2d7[_0x1cd3('0x14d7')]=_0x580f3c;_0x16c2d7[_0x1cd3('0x386')]=_0x2602bb;_0x16c2d7[_0x1cd3('0x14d8')]=_0x2872be;_0x16c2d7[_0x1cd3('0x39c')]=_0x472b08;function _0x580f3c(_0x1a474f){_0x1a474f[_0x1cd3('0x7b')]({'value':_0x1cd3('0x14d9')});_0x159ddf[_0x1cd3('0x14cf')][_0x1cd3('0x14d0')]=![];}function _0x2602bb(_0x316d15,_0x19691c){_0x316d15[_0x1cd3('0x446')](_0x19691c,0x1);_0x159ddf[_0x1cd3('0x14cf')][_0x1cd3('0x14d0')]=![];}function _0x2872be(_0x1fd737){var _0xdca667=_0x1fd737[_0x1cd3('0x7a')];for(var _0x3f33cc=0x0;_0x3f33cc<_0xdca667;_0x3f33cc++){_0x1fd737['splice'](0x0,0x1);}_0x159ddf[_0x1cd3('0x14cf')][_0x1cd3('0x14d0')]=![];}function _0x1ff403(){_0x16c2d7[_0x1cd3('0xd34')]=[];_0xca18ea['cmCustomField'][_0x1cd3('0xd6d')](_0x16c2d7[_0x1cd3('0x14d1')])['$promise'][_0x1cd3('0x77')](function(_0x22cfdb){_0x16c2d7[_0x1cd3('0x14cb')][_0x1cd3('0x621')](_0x22cfdb[_0x1cd3('0xd32')]());_0x2d28d8[_0x1cd3('0x473')]({'title':_0x1cd3('0x14da'),'msg':_0x16c2d7[_0x1cd3('0x14d1')][_0x1cd3('0x98')]?_0x16c2d7[_0x1cd3('0x14d1')][_0x1cd3('0x98')]+_0x1cd3('0xd33'):''});_0x472b08(_0x22cfdb);})[_0x1cd3('0xfd')](function(_0xf248ff){if(_0xf248ff[_0x1cd3('0x439')]&&_0xf248ff[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0xf248ff[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')]){_0x16c2d7['errors']=_0xf248ff[_0x1cd3('0x439')]['errors']||[{'message':_0xf248ff[_0x1cd3('0x43b')](),'type':_0x1cd3('0x14db')}];for(var _0x1d4557=0x0;_0x1d4557<_0xf248ff[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x1d4557+=0x1){_0x2d28d8['error']({'title':_0xf248ff['data']['errors'][_0x1d4557][_0x1cd3('0x424')],'msg':_0xf248ff[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1d4557][_0x1cd3('0x43a')]});}}else{_0x2d28d8[_0x1cd3('0x434')]({'title':_0xf248ff[_0x1cd3('0x3a6')]?'API:'+_0xf248ff['status']+_0x1cd3('0x436')+_0xf248ff[_0x1cd3('0xd35')]:_0x1cd3('0x14db'),'msg':_0xf248ff[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0xf248ff[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0xf248ff[_0x1cd3('0x43b')]()});}});}function _0x44b991(){_0x16c2d7[_0x1cd3('0xd34')]=[];_0xca18ea[_0x1cd3('0xb57')][_0x1cd3('0x378')]({'id':_0x16c2d7[_0x1cd3('0x14d1')]['id']},_0x16c2d7[_0x1cd3('0x14d1')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x2bab5a){var _0x401988=_[_0x1cd3('0x442')](_0x16c2d7[_0x1cd3('0x14cb')],{'id':_0x2bab5a['id']});if(_0x401988){_[_0x1cd3('0xf2')](_0x401988,_['pick'](_0x2bab5a[_0x1cd3('0xd32')](),_[_0x1cd3('0x80')](_0x401988)));}_0x2d28d8['success']({'title':_0x1cd3('0x14dc'),'msg':_0x16c2d7[_0x1cd3('0x14d1')][_0x1cd3('0x98')]?_0x16c2d7['globalCustomField'][_0x1cd3('0x98')]+_0x1cd3('0xd37'):''});_0x472b08(_0x2bab5a);})['catch'](function(_0x412408){if(_0x412408[_0x1cd3('0x439')]&&_0x412408[_0x1cd3('0x439')]['errors']&&_0x412408[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x16c2d7[_0x1cd3('0xd34')]=_0x412408[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x412408[_0x1cd3('0x43b')](),'type':_0x1cd3('0x14dd')}];for(var _0x4fedc5=0x0;_0x4fedc5<_0x412408[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x4fedc5++){_0x2d28d8[_0x1cd3('0x434')]({'title':_0x412408[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x4fedc5][_0x1cd3('0x424')],'msg':_0x412408[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x4fedc5]['message']});}}else{_0x2d28d8['error']({'title':_0x412408[_0x1cd3('0x3a6')]?'API:'+_0x412408['status']+_0x1cd3('0x436')+_0x412408[_0x1cd3('0xd35')]:_0x1cd3('0x14dd'),'msg':_0x412408[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x412408['data'][_0x1cd3('0x43a')]):_0x412408[_0x1cd3('0x43b')]()});}});}function _0x334949(_0x1a565c){_0x16c2d7[_0x1cd3('0xd34')]=[];var _0x4d73f4=_0x100e0e['confirm']()['title'](_0x1cd3('0xd3a'))[_0x1cd3('0xd3b')](_0x1cd3('0x14de'))[_0x1cd3('0xd3d')](_0x1cd3('0x14df'))['ok']('Delete')['cancel'](_0x1cd3('0x674'))[_0x1cd3('0xd63')](_0x1a565c);_0x100e0e[_0x1cd3('0x37e')](_0x4d73f4)['then'](function(){_0xca18ea[_0x1cd3('0xb57')]['delete']({'id':_0x16c2d7[_0x1cd3('0x14d1')]['id']})[_0x1cd3('0x81')]['then'](function(){_[_0x1cd3('0x383')](_0x16c2d7['globalCustomFields'],{'id':_0x16c2d7[_0x1cd3('0x14d1')]['id']});_0x2d28d8[_0x1cd3('0x473')]({'title':_0x1cd3('0x14e0'),'msg':(_0x16c2d7[_0x1cd3('0x14d1')][_0x1cd3('0x98')]||_0x1cd3('0x14d1'))+_0x1cd3('0xd41')});_0x472b08(_0x16c2d7[_0x1cd3('0x14d1')]);})[_0x1cd3('0xfd')](function(_0x25078f){if(_0x25078f[_0x1cd3('0x439')]&&_0x25078f['data'][_0x1cd3('0xd34')]&&_0x25078f[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x16c2d7['errors']=_0x25078f['data'][_0x1cd3('0xd34')]||[{'message':_0x25078f[_0x1cd3('0x43b')](),'type':_0x1cd3('0x14e1')}];for(var _0x2db4e7=0x0;_0x2db4e7<_0x25078f[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x2db4e7++){_0x2d28d8[_0x1cd3('0x434')]({'title':_0x25078f[_0x1cd3('0x439')]['errors'][_0x2db4e7][_0x1cd3('0x424')],'msg':_0x25078f[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x2db4e7][_0x1cd3('0x43a')]});}}else{_0x2d28d8[_0x1cd3('0x434')]({'title':_0x25078f[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x25078f[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x25078f[_0x1cd3('0xd35')]:'api.cmCustomField.delete','msg':_0x25078f['data']?JSON[_0x1cd3('0x438')](_0x25078f['data']['message']):_0x25078f[_0x1cd3('0x43a')]||_0x25078f[_0x1cd3('0x43b')]()});}});},function(){});}function _0x24479b(_0x48ebe5){return _0x48ebe5===null?undefined:new Date(_0x48ebe5);}function _0x472b08(_0x5b2cff){_0x100e0e[_0x1cd3('0x39d')](_0x5b2cff);}}}());(function(){'use strict';_0x4eaef2['$inject']=['$scope','$window','$state',_0x1cd3('0x969'),'$mdDialog',_0x1cd3('0x372'),'$timeout','$translate',_0x1cd3('0x14cb'),_0x1cd3('0x38a'),'userProfileSection',_0x1cd3('0x370'),'msUtils','toasty',_0x1cd3('0x56'),_0x1cd3('0x463'),_0x1cd3('0xc49')];angular['module'](_0x1cd3('0x2c'))[_0x1cd3('0x39b')]('GlobalCustomFieldsController',_0x4eaef2);function _0x4eaef2(_0x2e1a89,_0xfc7b80,_0x2aa11e,_0x1aca30,_0x4faa3d,_0x455817,_0x20f15c,_0x20d9e1,_0x4c8615,_0x4af740,_0x3741e7,_0x32d09f,_0x5bdee1,_0x1ff412,_0xe3f90c,_0x45a1b9,_0xbe7d1d){var _0x371e3d=this;_0x371e3d['license']=_0x45a1b9;_0x371e3d[_0x1cd3('0xc49')]=_0xbe7d1d;_0x371e3d[_0x1cd3('0x3ca')]=_0xe3f90c[_0x1cd3('0x5d')]();_0x371e3d[_0x1cd3('0x14cb')]=_0x4c8615||{'count':0x0,'rows':[]};_0x371e3d[_0x1cd3('0x38a')]=_0x4af740;_0x371e3d[_0x1cd3('0x390')]=_0x3741e7&&_0x3741e7[_0x1cd3('0x466')]==0x1?_0x3741e7[_0x1cd3('0xf6')][0x0]:null;_0x371e3d['crudPermissions']=_0xe3f90c[_0x1cd3('0xd44')](_0x371e3d['userProfileSection']?_0x371e3d[_0x1cd3('0x390')]['crudPermissions']:null);_0x371e3d[_0x1cd3('0xd45')]=_0x1cd3('0x14cb');_0x371e3d[_0x1cd3('0xd46')]='';_0x371e3d['listOrderAsc']=null;_0x371e3d['selectedGlobalCustomFields']=[];_0x371e3d[_0x1cd3('0x3d4')]={'fields':'createdAt,updatedAt,id,alias,type,values,required','sort':'-updatedAt','ListId':_0x1cd3('0x220'),'limit':0xa,'page':0x1};_0x371e3d[_0x1cd3('0x135a')]=_[_0x1cd3('0xe2d')]([{'option':_0x1cd3('0xf3f'),'value':_0x1cd3('0x14e2')},{'option':'Select','value':_0x1cd3('0x14e3')},{'option':_0x1cd3('0x14e4'),'value':_0x1cd3('0x14e5')},{'option':_0x1cd3('0x14e6'),'value':'\x27switch\x27'},{'option':'Datetime','value':'\x27datetime\x27'}],function(_0x26ca0d){return _[_0x1cd3('0x3f1')](_0x26ca0d['value'],new RegExp('\x27','g'),'');});_0x371e3d['editdialog']=_0x5b779a;_0x371e3d['deleteconfirm']=_0x27d705;_0x371e3d[_0x1cd3('0x473')]=_0x4624eb;_0x371e3d['getGlobalCustomFields']=_0x5644c6;_0x371e3d[_0x1cd3('0x14e7')]=_0x31734f;_0x371e3d[_0x1cd3('0x14e8')]=_0x40c497;_0x371e3d[_0x1cd3('0x14e9')]=_0x2f5904;_0x371e3d['deleteSelectedGlobalCustomFields']=_0x2acd81;_0x371e3d[_0x1cd3('0x14ea')]=_0xe4be4c;_0x371e3d[_0x1cd3('0x14eb')]=_0x11a1c9;function _0x5b779a(_0x3056b6,_0x386ad5){_0x4faa3d['show']({'controller':_0x1cd3('0x14cc'),'controllerAs':'vm','templateUrl':_0x1cd3('0x14ec'),'parent':angular[_0x1cd3('0x37f')](_0x455817['body']),'targetEvent':_0x386ad5,'clickOutsideToClose':!![],'locals':{'globalCustomField':_0x3056b6,'globalCustomFields':_0x371e3d[_0x1cd3('0x14cb')][_0x1cd3('0xf6')],'license':_0x371e3d['license'],'setting':null,'crudPermissions':_0x371e3d[_0x1cd3('0xd27')]}});}function _0x27d705(_0xaceb3f,_0x17fe18){var _0x58ea51=_0x4faa3d['confirm']()[_0x1cd3('0x486')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20'+_[_0x1cd3('0xd50')](_0x1cd3('0x14d1'))+'?')[_0x1cd3('0xd60')](_0x1cd3('0xd51')+(_0xaceb3f['name']||'globalCustomField')+_0x1cd3('0xd52')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x14ed'))[_0x1cd3('0xd63')](_0x17fe18)['ok']('OK')[_0x1cd3('0x4d8')]('CANCEL');_0x4faa3d[_0x1cd3('0x37e')](_0x58ea51)[_0x1cd3('0x77')](function(){_0x40c497(_0xaceb3f);},function(){console['log'](_0x1cd3('0xd55'));});}var _0x54548c=!![];var _0x5015db=0x1;_0x2e1a89['$watch'](_0x1cd3('0xd56'),function(_0x5e30f3,_0x383df1){if(_0x54548c){_0x20f15c(function(){_0x54548c=![];});}else{if(!_0x383df1){_0x5015db=_0x371e3d[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0x5e30f3!==_0x383df1){_0x371e3d[_0x1cd3('0x3d4')]['page']=0x1;}if(!_0x5e30f3){_0x371e3d[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0x5015db;}_0x371e3d[_0x1cd3('0x14ee')]();}});function _0x4624eb(_0x2c86af){_0x371e3d[_0x1cd3('0x14cb')]=_0x2c86af||{'count':0x0,'rows':[]};}function _0x5644c6(){_0x371e3d[_0x1cd3('0x3d4')]['offset']=(_0x371e3d[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0x371e3d[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];if(_0xe3f90c[_0x1cd3('0x57')](_0x1cd3('0x5f'))){_0x371e3d[_0x1cd3('0x539')]=_0x32d09f[_0x1cd3('0xb57')]['get'](_0x371e3d[_0x1cd3('0x3d4')],_0x4624eb)['$promise'];}else{_0x371e3d[_0x1cd3('0x3d4')]['id']=_0x371e3d['userProfile']['id'];_0x371e3d['query'][_0x1cd3('0xd58')]=_0x1cd3('0x14ef');_0x371e3d['promise']=_0x32d09f[_0x1cd3('0x38a')][_0x1cd3('0xd59')](_0x371e3d[_0x1cd3('0x3d4')],_0x4624eb)['$promise'];}}function _0x31734f(_0x2dad2b,_0x453b79){_0x4faa3d[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x14cc'),'controllerAs':'vm','templateUrl':_0x1cd3('0x14ec'),'parent':angular[_0x1cd3('0x37f')](_0x455817[_0x1cd3('0x380')]),'targetEvent':_0x2dad2b,'clickOutsideToClose':!![],'locals':{'globalCustomField':_0x453b79,'globalCustomFields':_0x371e3d['globalCustomFields'][_0x1cd3('0xf6')],'license':_0x371e3d['license'],'setting':_0x371e3d[_0x1cd3('0xc49')],'crudPermissions':_0x371e3d[_0x1cd3('0xd27')]}});}function _0x40c497(_0x40a378){_0x32d09f['cmCustomField'][_0x1cd3('0xa1c')]({'id':_0x40a378['id']})[_0x1cd3('0x81')]['then'](function(){_[_0x1cd3('0x383')](_0x371e3d[_0x1cd3('0x14cb')]['rows'],{'id':_0x40a378['id']});_0x371e3d[_0x1cd3('0x14cb')][_0x1cd3('0x466')]-=0x1;if(!_0x371e3d[_0x1cd3('0x14cb')][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){_0x371e3d[_0x1cd3('0x14ee')]();}_0x1ff412[_0x1cd3('0x473')]({'title':_[_0x1cd3('0xd50')](_0x1cd3('0x14f0'))+_0x1cd3('0xd5c'),'msg':_0x40a378[_0x1cd3('0x98')]?_0x40a378[_0x1cd3('0x98')]+'\x20has\x20been\x20deleted!':''});})[_0x1cd3('0xfd')](function(_0x386e65){if(_0x386e65[_0x1cd3('0x439')]&&_0x386e65[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x386e65[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x371e3d['errors']=_0x386e65['data']['errors']||[{'message':_0x386e65['toString'](),'type':_0x1cd3('0x14f1')}];for(var _0x360490=0x0;_0x360490<_0x386e65[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x360490++){_0x1ff412['error']({'title':_0x386e65[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x360490][_0x1cd3('0x424')],'msg':_0x386e65[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x360490][_0x1cd3('0x43a')]});}}else{_0x1ff412['error']({'title':_0x386e65['status']?_0x1cd3('0x435')+_0x386e65['status']+_0x1cd3('0x436')+_0x386e65[_0x1cd3('0xd35')]:'SYSTEM:DELETEcmCustomField','msg':_0x386e65[_0x1cd3('0x439')]?JSON['stringify'](_0x386e65[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x386e65['message']||_0x386e65[_0x1cd3('0x43b')]()});}});}function _0x2f5904(){var _0xc6c90e=angular['copy'](_0x371e3d[_0x1cd3('0x14f2')]);_0x371e3d['selectedGlobalCustomFields']=[];return _0xc6c90e;}function _0x2acd81(_0x42474a){var _0x364c30=_0x4faa3d[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x14f3'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x371e3d['selectedGlobalCustomFields'][_0x1cd3('0x7a')]+'\x20selected</b>'+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x14f4'))[_0x1cd3('0xd63')](_0x42474a)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x4faa3d[_0x1cd3('0x37e')](_0x364c30)[_0x1cd3('0x77')](function(){_0x371e3d['selectedGlobalCustomFields'][_0x1cd3('0x394')](function(_0x3ec889){_0x40c497(_0x3ec889);});_0x371e3d[_0x1cd3('0x14f2')]=[];});}function _0xe4be4c(){_0x371e3d[_0x1cd3('0x14f2')]=[];}function _0x11a1c9(){_0x371e3d[_0x1cd3('0x14f2')]=_0x371e3d[_0x1cd3('0x14cb')][_0x1cd3('0xf6')];}}}());(function(){'use strict';_0x23c408[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x53e'),'$location','$mdDialog','$q',_0x1cd3('0x3f7'),_0x1cd3('0x461'),_0x1cd3('0xf5'),_0x1cd3('0x9d5'),'api',_0x1cd3('0x56'),_0x1cd3('0x463'),_0x1cd3('0xc49'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')]('app.contactmanager')[_0x1cd3('0x39b')]('CreateOrEditListDialogController',_0x23c408);function _0x23c408(_0x3991e1,_0x488481,_0x540bc1,_0x412ef3,_0xe76006,_0xf13b72,_0x54a069,_0x64e288,_0x4764c9,_0x2e0ecf,_0x388625,_0x27e6f9,_0x545905,_0x1ac694){var _0x5e9b38=this;_0x5e9b38[_0x1cd3('0x3ca')]=_0x388625[_0x1cd3('0x5d')]();_0x5e9b38['errors']=[];_0x5e9b38[_0x1cd3('0xc49')]=_0x545905;_0x5e9b38[_0x1cd3('0x463')]=_0x27e6f9;_0x5e9b38['crudPermissions']=_0x1ac694;_0x5e9b38[_0x1cd3('0xd28')]={};_0x5e9b38[_0x1cd3('0xd29')]=_0x5e9b38[_0x1cd3('0xc49')]&&_0x5e9b38[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x5e9b38[_0x1cd3('0x486')]='CONTACTMANAGER.EDIT_LIST';_0x5e9b38[_0x1cd3('0x9d5')]=angular[_0x1cd3('0x429')](_0x4764c9);_0x5e9b38['lists']=_0x64e288;_0x5e9b38[_0x1cd3('0x14f5')]=![];if(!_0x5e9b38[_0x1cd3('0x9d5')]){_0x5e9b38[_0x1cd3('0x9d5')]={};_0x5e9b38[_0x1cd3('0x486')]=_0x1cd3('0x14f6');_0x5e9b38[_0x1cd3('0x14f5')]=!![];}_0x5e9b38[_0x1cd3('0x14f7')]=_0x28cc61;_0x5e9b38[_0x1cd3('0x14f8')]=_0x53935e;_0x5e9b38[_0x1cd3('0x14f9')]=_0x259d0c;_0x5e9b38['getDateFromString']=_0x49d5eb;_0x5e9b38['closeDialog']=_0x27ab32;function _0x28cc61(){_0x5e9b38[_0x1cd3('0xd34')]=[];_0x2e0ecf[_0x1cd3('0xc8f')][_0x1cd3('0xd6d')](_0x5e9b38[_0x1cd3('0x9d5')])[_0x1cd3('0x81')]['then'](function(_0x5aaad7){_0x5e9b38[_0x1cd3('0xf5')][_0x1cd3('0x621')](_0x5aaad7[_0x1cd3('0xd32')]());_0x54a069[_0x1cd3('0x473')]({'title':_0x1cd3('0x14fa'),'msg':_0x5e9b38[_0x1cd3('0x9d5')][_0x1cd3('0x98')]?_0x5e9b38[_0x1cd3('0x9d5')][_0x1cd3('0x98')]+_0x1cd3('0xd33'):''});_0x27ab32(_0x5aaad7);})[_0x1cd3('0xfd')](function(_0x57ecda){if(_0x57ecda[_0x1cd3('0x439')]&&_0x57ecda['data']['errors']&&_0x57ecda[_0x1cd3('0x439')]['errors']['length']){_0x5e9b38['errors']=_0x57ecda[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x57ecda[_0x1cd3('0x43b')](),'type':_0x1cd3('0x14fb')}];for(var _0x576322=0x0;_0x576322<_0x57ecda[_0x1cd3('0x439')]['errors']['length'];_0x576322+=0x1){_0x54a069[_0x1cd3('0x434')]({'title':_0x57ecda['data'][_0x1cd3('0xd34')][_0x576322][_0x1cd3('0x424')],'msg':_0x57ecda[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x576322][_0x1cd3('0x43a')]});}}else{_0x54a069[_0x1cd3('0x434')]({'title':_0x57ecda[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x57ecda['status']+'\x20-\x20'+_0x57ecda[_0x1cd3('0xd35')]:_0x1cd3('0x14fb'),'msg':_0x57ecda[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x57ecda[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x57ecda['toString']()});}});}function _0x53935e(){_0x5e9b38[_0x1cd3('0xd34')]=[];_0x2e0ecf[_0x1cd3('0xc8f')]['update']({'id':_0x5e9b38[_0x1cd3('0x9d5')]['id']},_0x5e9b38[_0x1cd3('0x9d5')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x4f2391){var _0x3d1472=_[_0x1cd3('0x442')](_0x5e9b38['lists'],{'id':_0x4f2391['id']});if(_0x3d1472){_[_0x1cd3('0xf2')](_0x3d1472,_[_0x1cd3('0x5e8')](_0x4f2391[_0x1cd3('0xd32')](),_[_0x1cd3('0x80')](_0x3d1472)));}_0x54a069[_0x1cd3('0x473')]({'title':_0x1cd3('0x14fc'),'msg':_0x5e9b38[_0x1cd3('0x9d5')][_0x1cd3('0x98')]?_0x5e9b38[_0x1cd3('0x9d5')][_0x1cd3('0x98')]+_0x1cd3('0xd37'):''});_0x27ab32(_0x4f2391);})[_0x1cd3('0xfd')](function(_0x547f61){if(_0x547f61[_0x1cd3('0x439')]&&_0x547f61['data'][_0x1cd3('0xd34')]&&_0x547f61[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x5e9b38['errors']=_0x547f61['data'][_0x1cd3('0xd34')]||[{'message':_0x547f61[_0x1cd3('0x43b')](),'type':_0x1cd3('0x14fd')}];for(var _0x218669=0x0;_0x218669<_0x547f61[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x218669++){_0x54a069['error']({'title':_0x547f61[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x218669][_0x1cd3('0x424')],'msg':_0x547f61['data'][_0x1cd3('0xd34')][_0x218669][_0x1cd3('0x43a')]});}}else{_0x54a069[_0x1cd3('0x434')]({'title':_0x547f61['status']?_0x1cd3('0x435')+_0x547f61[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x547f61[_0x1cd3('0xd35')]:'api.cmList.update','msg':_0x547f61['data']?JSON[_0x1cd3('0x438')](_0x547f61[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x547f61[_0x1cd3('0x43b')]()});}});}function _0x259d0c(_0x509148){_0x5e9b38[_0x1cd3('0xd34')]=[];var _0x308da9=_0x412ef3['confirm']()['title']('Are\x20you\x20sure?')[_0x1cd3('0xd3b')](_0x1cd3('0x14fe'))[_0x1cd3('0xd3d')]('Delete\x20List')['ok'](_0x1cd3('0xd3f'))[_0x1cd3('0x4d8')](_0x1cd3('0x674'))[_0x1cd3('0xd63')](_0x509148);_0x412ef3['show'](_0x308da9)[_0x1cd3('0x77')](function(){_0x2e0ecf[_0x1cd3('0xc8f')][_0x1cd3('0xa1c')]({'id':_0x5e9b38[_0x1cd3('0x9d5')]['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x5e9b38[_0x1cd3('0xf5')],{'id':_0x5e9b38[_0x1cd3('0x9d5')]['id']});_0x54a069[_0x1cd3('0x473')]({'title':_0x1cd3('0x14ff'),'msg':(_0x5e9b38['list'][_0x1cd3('0x98')]||_0x1cd3('0x9d5'))+'\x20has\x20been\x20deleted!'});_0x27ab32(_0x5e9b38[_0x1cd3('0x9d5')]);})['catch'](function(_0x8629d5){if(_0x8629d5['data']&&_0x8629d5[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x8629d5[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length']){_0x5e9b38['errors']=_0x8629d5[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x8629d5[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1500')}];for(var _0x3f26ab=0x0;_0x3f26ab<_0x8629d5[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x3f26ab++){_0x54a069[_0x1cd3('0x434')]({'title':_0x8629d5[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x3f26ab][_0x1cd3('0x424')],'msg':_0x8629d5[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x3f26ab][_0x1cd3('0x43a')]});}}else{_0x54a069['error']({'title':_0x8629d5[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x8629d5[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x8629d5[_0x1cd3('0xd35')]:_0x1cd3('0x1500'),'msg':_0x8629d5[_0x1cd3('0x439')]?JSON['stringify'](_0x8629d5[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x8629d5[_0x1cd3('0x43a')]||_0x8629d5[_0x1cd3('0x43b')]()});}});},function(){});}function _0x49d5eb(_0x29daaf){return _0x29daaf===null?undefined:new Date(_0x29daaf);}function _0x27ab32(_0x4287f7){_0x412ef3[_0x1cd3('0x39d')](_0x4287f7);}}}());(function(){'use strict';_0x54f994[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),'$q',_0x1cd3('0x461'),_0x1cd3('0x370'),'list',_0x1cd3('0xf5'),_0x1cd3('0x11b9'),_0x1cd3('0x3f7'),'Auth','crudPermissions'];angular[_0x1cd3('0x0')](_0x1cd3('0x2c'))[_0x1cd3('0x39b')]('ListagentaddController',_0x54f994);function _0x54f994(_0x27cb2a,_0x20237e,_0x1690ba,_0x1222ba,_0x1e1a67,_0x9386a7,_0x38a325,_0x1bdf14,_0x5055da,_0x16b0ef){var _0x29bbeb=this;_0x29bbeb[_0x1cd3('0x3ca')]=_0x5055da[_0x1cd3('0x5d')]();_0x29bbeb[_0x1cd3('0x9d5')]=_0x1e1a67;_0x29bbeb[_0x1cd3('0xd27')]=_0x16b0ef;_0x29bbeb[_0x1cd3('0x11b9')]=_0x38a325;_0x29bbeb['items']=[];_0x29bbeb[_0x1cd3('0x11ba')]=[];_0x29bbeb[_0x1cd3('0x492')]=[];_0x29bbeb[_0x1cd3('0x11bb')]=[];_0x29bbeb[_0x1cd3('0x11be')]=[];_0x29bbeb[_0x1cd3('0x11c6')]=![];_0x29bbeb[_0x1cd3('0x703')]=_0x45d671;_0x29bbeb[_0x1cd3('0x11bc')]=_0x304f15;_0x29bbeb[_0x1cd3('0x39c')]=_0x3dcfe6;_0x29bbeb['dualMultiselectOptions']={'readOnly':!_0x29bbeb[_0x1cd3('0xd27')][_0x1cd3('0xe3b')],'items':[],'selectedItems':[],'showSelectAndDeselectAll':!![],'orderBy':_0x1cd3('0x98'),'line1':_0x1cd3('0xd3'),'line2':[_0x1cd3('0x98'),_0x1cd3('0x311')],'line3':'','labelAll':_0x1bdf14['instant'](_0x1cd3('0x1501')),'labelSelected':_0x1bdf14[_0x1cd3('0x44a')]('CONTACTMANAGER.SELECTED_AGENTS'),'transferCallback':function(_0x1f0435,_0x380535){var _0x5d5506=_['xorBy'](_0x29bbeb['startingSelectedItems'],_0x29bbeb[_0x1cd3('0x492')],'id');_0x29bbeb[_0x1cd3('0x11c6')]=_['isEmpty'](_0x5d5506)?![]:!![];}};function _0x45d671(){return _0x5055da['hasRole'](_0x1cd3('0x5f'))?_0x159d9()[_0x1cd3('0xfd')](function(_0x3532ee){_0x1690ba[_0x1cd3('0x434')]({'title':_0x3532ee['status']?_0x1cd3('0x435')+_0x3532ee[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x3532ee['statusText']:'SYSTEM:GET_AGENTS','msg':_0x3532ee['status']?JSON[_0x1cd3('0x438')](_0x3532ee['data']):_0x3532ee[_0x1cd3('0x43b')]()});}):_0x37d30b()[_0x1cd3('0x77')](function(_0x4a603d){_0x29bbeb[_0x1cd3('0xd58')]=_0x4a603d;return _0x159d9();})[_0x1cd3('0xfd')](function(_0x57ac23){_0x1690ba[_0x1cd3('0x434')]({'title':_0x57ac23['status']?_0x1cd3('0x435')+_0x57ac23[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x57ac23[_0x1cd3('0xd35')]:_0x1cd3('0x11bf'),'msg':_0x57ac23[_0x1cd3('0x3a6')]?JSON[_0x1cd3('0x438')](_0x57ac23['data']):_0x57ac23['toString']()});});}function _0x37d30b(){return _0x20237e(function(_0x5ca42e,_0x2c0aa1){_0x1222ba[_0x1cd3('0x390')]['get']({'userProfileId':_0x29bbeb['currentUser'][_0x1cd3('0x5e')],'name':_0x1cd3('0xd4')})[_0x1cd3('0x81')]['then'](function(_0x2abad){var _0x690321=_0x2abad&&_0x2abad[_0x1cd3('0xf6')]?_0x2abad['rows'][0x0]:null;_0x5ca42e(_0x690321);})[_0x1cd3('0xfd')](function(_0x332f1f){_0x2c0aa1(_0x332f1f);});});}function _0x159d9(){return _0x20237e(function(_0x41f7ce,_0x5428ad){return _0x1688c6()['then'](function(_0x3d155f){_0x29bbeb[_0x1cd3('0x493')]=_0x3d155f[_0x1cd3('0xf6')]?_0x3d155f[_0x1cd3('0xf6')]:[];if(_0x5055da[_0x1cd3('0x57')](_0x1cd3('0x5f'))){return _0x3d155f;}else{if(_0x29bbeb['section']){return _0x29bbeb[_0x1cd3('0xd58')][_0x1cd3('0x391')]?_0x3d155f:_0x2c52bf();}else{return null;}}})[_0x1cd3('0x77')](function(_0x466da4){var _0x4ebfb4=_0x466da4&&_0x466da4['rows']?_0x466da4[_0x1cd3('0xf6')]:[];_0x29bbeb[_0x1cd3('0x11ba')]=_[_0x1cd3('0x3d9')](_0x4ebfb4,function(_0x3e510c){return _[_0x1cd3('0x442')](_0x29bbeb[_0x1cd3('0x493')],{'id':_0x5055da['hasRole'](_0x1cd3('0x5f'))||_0x29bbeb[_0x1cd3('0xd58')][_0x1cd3('0x391')]?_0x3e510c['id']:_0x3e510c[_0x1cd3('0xe8e')]});});_0x29bbeb['startingAllowedItems']=angular[_0x1cd3('0x429')](_0x29bbeb[_0x1cd3('0x11ba')]);_0x29bbeb['items'][_0x1cd3('0x394')](function(_0x531f22){var _0x5bb5f8=_[_0x1cd3('0x442')](_0x29bbeb[_0x1cd3('0x11ba')],{'id':_0x531f22['id']});if(_0x5055da['hasRole'](_0x1cd3('0x5f'))){_0x531f22[_0x1cd3('0x490')]=!![];}else{_0x531f22[_0x1cd3('0x490')]=typeof _0x5bb5f8!==_0x1cd3('0x491')?!![]:![];}});return _0x33c1d7();})[_0x1cd3('0x77')](function(_0x29cf7f){var _0x5bd9c5=_0x29cf7f&&_0x29cf7f[_0x1cd3('0xf6')]?_0x29cf7f[_0x1cd3('0xf6')]:[];_0x29bbeb[_0x1cd3('0x492')]=_[_0x1cd3('0x3d9')](_0x5bd9c5,function(_0x25b032){var _0x1ad47f=_[_0x1cd3('0x442')](_0x29bbeb[_0x1cd3('0x493')],{'id':_0x25b032['id']});_0x1ad47f[_0x1cd3('0x1146')]=_0x25b032[_0x1cd3('0x1502')]?_0x1cd3('0x1503')+_0x25b032[_0x1cd3('0x1502')][_0x1cd3('0x1146')]:'';_0x1ad47f[_0x1cd3('0x311')]=_0x25b032['hasOwnProperty'](_0x1cd3('0x311'))?'<'+_0x25b032[_0x1cd3('0x311')]+'>':'';return _0x1ad47f;});_0x29bbeb[_0x1cd3('0x11be')]=angular[_0x1cd3('0x429')](_0x29bbeb['selectedItems']);_0x29bbeb['dualMultiselectOptions'][_0x1cd3('0x492')]=_0x29bbeb[_0x1cd3('0x492')];_0x29bbeb[_0x1cd3('0x1145')][_0x1cd3('0x493')]=_[_0x1cd3('0x1152')](_0x29bbeb[_0x1cd3('0x11ba')],_0x29bbeb[_0x1cd3('0x1145')]['selectedItems'],'id');_0x41f7ce();})[_0x1cd3('0xfd')](function(_0x5cc35e){_0x5428ad(_0x5cc35e);});});}function _0x2c52bf(){return _0x20237e(function(_0x30e825,_0x50016d){return _0x1222ba[_0x1cd3('0x392')]['get']({'sectionId':_0x29bbeb['section']['id'],'nolimit':!![]})[_0x1cd3('0x81')]['then'](function(_0x254ded){_0x30e825(_0x254ded);})[_0x1cd3('0xfd')](function(_0x5dc749){_0x50016d(_0x5dc749);});});}function _0x33c1d7(){return _0x20237e(function(_0x29e02b,_0x41f629){return _0x1222ba[_0x1cd3('0xc8f')]['getAgents']({'id':_0x29bbeb[_0x1cd3('0x9d5')]['id'],'fields':'id,name,internal,fullname','nolimit':!![],'role':'agent'})['$promise'][_0x1cd3('0x77')](function(_0x2d47ac){_0x29e02b(_0x2d47ac);})[_0x1cd3('0xfd')](function(_0x5f174b){_0x41f629(_0x5f174b);});});}function _0x1688c6(){return _0x20237e(function(_0x145894,_0x266c19){return _0x1222ba['user'][_0x1cd3('0x361')]({'fields':_0x1cd3('0x11c1'),'nolimit':!![],'role':_0x1cd3('0xd2')})[_0x1cd3('0x81')]['then'](function(_0x4d46cd){_0x145894(_0x4d46cd);})[_0x1cd3('0xfd')](function(_0x7f8770){_0x266c19(_0x7f8770);});});}function _0x21d341(_0x40d6a1){return _0x20237e(function(_0x3c52a9,_0x57c692){if(_[_0x1cd3('0x398')](_0x40d6a1)){_0x3c52a9();}else{_0x1222ba[_0x1cd3('0xc8f')][_0x1cd3('0x11c2')]({'id':_0x29bbeb[_0x1cd3('0x9d5')]['id'],'ids':_[_0x1cd3('0x3d9')](_0x40d6a1,'id')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x3c52a9();})[_0x1cd3('0xfd')](function(_0x5b99aa){_0x57c692(_0x5b99aa);});}});}function _0x2fe138(_0x34c15b){return _0x20237e(function(_0x1ca4bd,_0x2db9b6){if(_['isEmpty'](_0x34c15b)){_0x1ca4bd();}else{_0x1222ba[_0x1cd3('0xc8f')]['removeAgents']({'id':_0x29bbeb[_0x1cd3('0x9d5')]['id'],'ids':_[_0x1cd3('0x3d9')](_0x34c15b,'id')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x1ca4bd();})[_0x1cd3('0xfd')](function(_0x2ee621){_0x2db9b6(_0x2ee621);});}});}function _0x304f15(){var _0x3eb841=_[_0x1cd3('0x1152')](_0x29bbeb[_0x1cd3('0x11be')],_0x29bbeb[_0x1cd3('0x492')],'id');var _0x27b658=_[_0x1cd3('0x1152')](_0x29bbeb['selectedItems'],_0x29bbeb[_0x1cd3('0x11be')],'id');return _0x2fe138(_0x3eb841)[_0x1cd3('0x77')](function(){return _0x21d341(_0x27b658);})[_0x1cd3('0x77')](function(){_0x29bbeb['pendingChanges']=![];_0x29bbeb[_0x1cd3('0x11bb')]=angular[_0x1cd3('0x429')](_0x29bbeb[_0x1cd3('0x11ba')]);_0x29bbeb[_0x1cd3('0x11be')]=angular[_0x1cd3('0x429')](_0x29bbeb['selectedItems']);_0x1690ba[_0x1cd3('0x473')]({'title':_0x1cd3('0x11c4'),'msg':'Agents\x20association\x20has\x20been\x20updated!'});})[_0x1cd3('0xfd')](function(_0x5a5a86){_0x1690ba[_0x1cd3('0x434')]({'title':_0x5a5a86[_0x1cd3('0x3a6')]?'API:'+_0x5a5a86[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x5a5a86[_0x1cd3('0xd35')]:_0x1cd3('0x11ce'),'msg':_0x5a5a86['status']?JSON[_0x1cd3('0x438')](_0x5a5a86[_0x1cd3('0x439')]):_0x5a5a86[_0x1cd3('0x43b')]()});});}function _0x3dcfe6(){_0x27cb2a[_0x1cd3('0x39d')]();}}}());(function(){'use strict';_0x30198c[_0x1cd3('0xc')]=[_0x1cd3('0x36f'),'$scope',_0x1cd3('0x53e'),'$q',_0x1cd3('0x3f7'),_0x1cd3('0x3e7'),_0x1cd3('0x3c5'),_0x1cd3('0x372'),_0x1cd3('0x461'),'api','Auth'];angular['module'](_0x1cd3('0x2c'))[_0x1cd3('0x39b')](_0x1cd3('0x1504'),_0x30198c);function _0x30198c(_0x243645,_0x45569b,_0xac7340,_0x3df18e,_0x587643,_0x1c888c,_0x56a827,_0xc683f2,_0x105e9a,_0xc182cd,_0x82653f){var _0x8a4bba=this;_0x8a4bba[_0x1cd3('0x3ca')]=_0x82653f[_0x1cd3('0x5d')]();_0x8a4bba['list']={};_0x8a4bba['listCustomFields']={'count':0x0,'rows':[]};_0x8a4bba[_0x1cd3('0x1505')]=[];_0x8a4bba['crudPermissions'];_0x8a4bba[_0x1cd3('0x3d4')]={'fields':_0x1cd3('0x1506'),'limit':0xa,'page':0x1};_0x8a4bba[_0x1cd3('0x135a')]=_['keyBy']([{'option':_0x1cd3('0xf3f'),'value':_0x1cd3('0x14e2')},{'option':_0x1cd3('0x12f3'),'value':_0x1cd3('0x14e3')},{'option':_0x1cd3('0x14e4'),'value':_0x1cd3('0x14e5')},{'option':_0x1cd3('0x14e6'),'value':_0x1cd3('0x1507')},{'option':'Datetime','value':_0x1cd3('0x1508')}],function(_0x4bb0dc){return _['replace'](_0x4bb0dc[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x8a4bba[_0x1cd3('0xe08')]=_0x529992;_0x8a4bba['deleteConfirm']=_0x2acc99;_0x8a4bba[_0x1cd3('0x473')]=_0x55d6cb;_0x8a4bba[_0x1cd3('0x1509')]=_0x331252;_0x8a4bba[_0x1cd3('0x150a')]=_0x585520;_0x8a4bba[_0x1cd3('0x150b')]=_0x2caa31;_0x8a4bba[_0x1cd3('0x150c')]=_0x5bbd51;_0x8a4bba['deleteSelectedListCustomFields']=_0x1c5807;function _0x529992(_0x3c47b4,_0x546148){_0x8a4bba[_0x1cd3('0x9d5')]=_0x3c47b4;_0x8a4bba[_0x1cd3('0xd27')]=typeof _0x546148!=='undefined'?_0x546148:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x8a4bba['query'][_0x1cd3('0x106')]=_0x8a4bba[_0x1cd3('0x9d5')]['id'];_0x8a4bba[_0x1cd3('0x3d4')]['id']=_0x8a4bba[_0x1cd3('0x9d5')]['id'];_0x331252();}function _0x2acc99(_0x1e06ff,_0x30c3f7){var _0x3c40aa=_0x56a827[_0x1cd3('0xd39')]()['title'](_0x1cd3('0x150d'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+(_0x1e06ff[_0x1cd3('0x98')]||_0x1e06ff['id']&&_[_0x1cd3('0x12bc')]('customField\x20#')+_0x1e06ff['id']||_0x1cd3('0x150e'))+'</b>'+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x150f'))[_0x1cd3('0xd63')](_0x30c3f7)['ok']('OK')[_0x1cd3('0x4d8')]('CANCEL');_0x56a827['show'](_0x3c40aa)[_0x1cd3('0x77')](function(){_0x5bbd51(_0x1e06ff);},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}function _0x55d6cb(_0x14efd8){_0x8a4bba['listCustomFields']=_0x14efd8||{'count':0x0,'rows':[]};}function _0x331252(){_0x8a4bba[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0x8a4bba['query'][_0x1cd3('0x8fd')]-0x1)*_0x8a4bba[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];_0x8a4bba[_0x1cd3('0x539')]=_0xc182cd[_0x1cd3('0xc8f')][_0x1cd3('0x145a')](_0x8a4bba[_0x1cd3('0x3d4')],_0x55d6cb)[_0x1cd3('0x81')];}function _0x585520(_0x1e468c,_0x2dc5b9){_0x56a827[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1510'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1511'),'parent':angular[_0x1cd3('0x37f')](_0xc683f2[_0x1cd3('0x380')]),'targetEvent':_0x1e468c,'clickOutsideToClose':!![],'locals':{'list':_0x8a4bba[_0x1cd3('0x9d5')],'customField':_0x2dc5b9,'customFields':_0x8a4bba[_0x1cd3('0x1512')]['rows'],'license':null,'setting':null,'crudPermissions':_0x8a4bba['crudPermissions']}});}function _0x5bbd51(_0xf3aba8){_0xc182cd[_0x1cd3('0xb57')][_0x1cd3('0xa1c')]({'id':_0xf3aba8['id']})['$promise'][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x8a4bba[_0x1cd3('0x1512')][_0x1cd3('0xf6')],{'id':_0xf3aba8['id']});_0x8a4bba['listCustomFields'][_0x1cd3('0x466')]-=0x1;if(!_0x8a4bba['listCustomFields'][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){_0x331252();}_0x105e9a[_0x1cd3('0x473')]({'title':_0x1cd3('0x1513'),'msg':_0xf3aba8[_0x1cd3('0x98')]?_0xf3aba8[_0x1cd3('0x98')]+_0x1cd3('0xd41'):''});})[_0x1cd3('0xfd')](function(_0x2931f3){if(_0x2931f3[_0x1cd3('0x439')]&&_0x2931f3[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x2931f3[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){vm['errors']=_0x2931f3[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x2931f3[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1514')}];for(var _0x1e61a0=0x0;_0x1e61a0<_0x2931f3['data'][_0x1cd3('0xd34')]['length'];_0x1e61a0++){_0x105e9a[_0x1cd3('0x434')]({'title':_0x2931f3[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1e61a0][_0x1cd3('0x424')],'msg':_0x2931f3[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1e61a0][_0x1cd3('0x43a')]});}}else{_0x105e9a[_0x1cd3('0x434')]({'title':_0x2931f3[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x2931f3[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x2931f3[_0x1cd3('0xd35')]:_0x1cd3('0x1514'),'msg':_0x2931f3[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x2931f3[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x2931f3[_0x1cd3('0x43a')]||_0x2931f3[_0x1cd3('0x43b')]()});}});}function _0x2caa31(){var _0x2db047=angular['copy'](_0x8a4bba['selectedListCustomFields']);_0x8a4bba['selectedListCustomFields']=[];return _0x2db047;}function _0x1c5807(_0x15294f){var _0x20efd4=_0x56a827[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x1515'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x8a4bba[_0x1cd3('0x1505')]['length']+_0x1cd3('0xd61')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x1516'))['targetEvent'](_0x15294f)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x56a827['show'](_0x20efd4)['then'](function(){_0x8a4bba[_0x1cd3('0x1505')]['forEach'](function(_0x18e939){_0x5bbd51(_0x18e939);});_0x8a4bba[_0x1cd3('0x1505')]=[];});}var _0x4fd05a=!![];var _0x347766=0x1;_0x45569b[_0x1cd3('0x4d6')](_0x1cd3('0x1340'),function(_0x59269c,_0x13f103){if(_0x4fd05a){_0x1c888c(function(){_0x4fd05a=![];});}else{if(!_0x13f103){_0x347766=_0x8a4bba[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0x59269c!==_0x13f103){_0x8a4bba[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}if(!_0x59269c){_0x8a4bba[_0x1cd3('0x3d4')]['page']=_0x347766;}_0x331252();}});}}());(function(){'use strict';_0x4b604e[_0x1cd3('0xc')]=[_0x1cd3('0x460'),'$state',_0x1cd3('0xd24'),_0x1cd3('0x3c5'),'$q',_0x1cd3('0x3f7'),_0x1cd3('0x461'),'customFields','customField',_0x1cd3('0x370'),'Auth','license',_0x1cd3('0xc49'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x2c'))['controller'](_0x1cd3('0x1510'),_0x4b604e);function _0x4b604e(_0x40322a,_0x9d2f16,_0x50ce7e,_0x16fb7a,_0x585ec4,_0x42c23c,_0x173a04,_0x38025b,_0x20500e,_0x3c1d31,_0x1f2f14,_0x29d5a1,_0x212574,_0x10e880){var _0x206c05=this;_0x206c05[_0x1cd3('0x3ca')]=_0x1f2f14[_0x1cd3('0x5d')]();_0x206c05[_0x1cd3('0xd34')]=[];_0x206c05[_0x1cd3('0xc49')]=_0x212574;_0x206c05[_0x1cd3('0x463')]=_0x29d5a1;_0x206c05[_0x1cd3('0xd27')]=_0x10e880;_0x206c05[_0x1cd3('0xd28')]={};_0x206c05['passwordPattern']=_0x206c05['setting']&&_0x206c05[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x206c05[_0x1cd3('0x486')]=_0x1cd3('0x1517');_0x206c05[_0x1cd3('0x14ce')]={'animation':0x320,'sort':!![],'onSort':function(_0x1ef8e7){_0x40322a[_0x1cd3('0x1518')]['$pristine']=![];}};_0x206c05['customField']=_0x20500e;_0x206c05[_0x1cd3('0x12fc')]=_0x38025b;_0x206c05[_0x1cd3('0x1519')]=![];if(!_0x206c05[_0x1cd3('0x150e')]){_0x206c05[_0x1cd3('0x150e')]={'type':_0x1cd3('0x401')};_0x206c05[_0x1cd3('0x486')]=_0x1cd3('0x151a');_0x206c05[_0x1cd3('0x1519')]=!![];}if(_0x9d2f16[_0x1cd3('0x36a')]['id']){_0x206c05[_0x1cd3('0x150e')][_0x1cd3('0x106')]=_0x9d2f16[_0x1cd3('0x36a')]['id'];}_0x40322a[_0x1cd3('0x4d6')]('vm.customField.type',function(_0x30a1d6,_0x1d0c3c){if(_0x30a1d6!==_0x1d0c3c){switch(_0x30a1d6){case _0x1cd3('0x401'):_0x206c05[_0x1cd3('0x150e')][_0x1cd3('0x42d')]='';break;case _0x1cd3('0x44f'):_0x206c05['customField'][_0x1cd3('0x42d')]=[];break;default:}}});_0x206c05[_0x1cd3('0x151b')]=_0x45bbca;_0x206c05['saveCustomField']=_0x30a614;_0x206c05[_0x1cd3('0x151c')]=_0x111de2;_0x206c05['getDateFromString']=_0x40d644;_0x206c05[_0x1cd3('0x14d7')]=_0x116375;_0x206c05[_0x1cd3('0x386')]=_0x4acec4;_0x206c05[_0x1cd3('0x14d8')]=_0x742dcd;_0x206c05['closeDialog']=_0x212402;function _0x116375(_0x517960){_0x517960[_0x1cd3('0x7b')]({'value':_0x1cd3('0x14d9')});_0x40322a[_0x1cd3('0x1518')][_0x1cd3('0x14d0')]=![];}function _0x4acec4(_0xb3bf1b,_0x21f592){_0xb3bf1b[_0x1cd3('0x446')](_0x21f592,0x1);_0x40322a[_0x1cd3('0x1518')][_0x1cd3('0x14d0')]=![];}function _0x742dcd(_0x361917){var _0x4a03ac=_0x361917[_0x1cd3('0x7a')];for(var _0x4bcea8=0x0;_0x4bcea8<_0x4a03ac;_0x4bcea8++){_0x361917[_0x1cd3('0x446')](0x0,0x1);}_0x40322a[_0x1cd3('0x1518')][_0x1cd3('0x14d0')]=![];}function _0x45bbca(){_0x206c05['errors']=[];_0x3c1d31[_0x1cd3('0xc8f')][_0x1cd3('0x151d')]({'id':_0x9d2f16[_0x1cd3('0x36a')]['id']},_0x206c05[_0x1cd3('0x150e')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x672bfd){_0x206c05[_0x1cd3('0x12fc')][_0x1cd3('0x621')](_0x672bfd['toJSON']());_0x173a04[_0x1cd3('0x473')]({'title':_0x1cd3('0x151e'),'msg':_0x206c05[_0x1cd3('0x150e')]['name']?_0x206c05[_0x1cd3('0x150e')][_0x1cd3('0x98')]+'\x20has\x20been\x20created!':''});_0x212402(_0x672bfd);})[_0x1cd3('0xfd')](function(_0x4be4ab){if(_0x4be4ab[_0x1cd3('0x439')]&&_0x4be4ab[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x4be4ab[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x206c05['errors']=_0x4be4ab['data'][_0x1cd3('0xd34')]||[{'message':_0x4be4ab['toString'](),'type':_0x1cd3('0x14db')}];for(var _0x7d96de=0x0;_0x7d96de<_0x4be4ab['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x7d96de+=0x1){_0x173a04[_0x1cd3('0x434')]({'title':_0x4be4ab[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x7d96de]['type'],'msg':_0x4be4ab[_0x1cd3('0x439')]['errors'][_0x7d96de][_0x1cd3('0x43a')]});}}else{_0x173a04[_0x1cd3('0x434')]({'title':_0x4be4ab['status']?_0x1cd3('0x435')+_0x4be4ab['status']+_0x1cd3('0x436')+_0x4be4ab['statusText']:_0x1cd3('0x14db'),'msg':_0x4be4ab['data']?JSON[_0x1cd3('0x438')](_0x4be4ab[_0x1cd3('0x439')]['message']):_0x4be4ab[_0x1cd3('0x43b')]()});}});}function _0x30a614(){_0x206c05[_0x1cd3('0xd34')]=[];_0x3c1d31[_0x1cd3('0xb57')][_0x1cd3('0x378')]({'id':_0x206c05[_0x1cd3('0x150e')]['id']},_0x206c05[_0x1cd3('0x150e')])[_0x1cd3('0x81')]['then'](function(_0x242521){var _0x4058c4=_['find'](_0x206c05[_0x1cd3('0x12fc')],{'id':_0x242521['id']});if(_0x4058c4){_['merge'](_0x4058c4,_[_0x1cd3('0x5e8')](_0x242521[_0x1cd3('0xd32')](),_[_0x1cd3('0x80')](_0x4058c4)));}_0x173a04[_0x1cd3('0x473')]({'title':_0x1cd3('0x151f'),'msg':_0x206c05['customField'][_0x1cd3('0x98')]?_0x206c05[_0x1cd3('0x150e')][_0x1cd3('0x98')]+'\x20has\x20been\x20saved!':''});_0x212402(_0x242521);})[_0x1cd3('0xfd')](function(_0x2c946f){if(_0x2c946f['data']&&_0x2c946f[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x2c946f[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x206c05['errors']=_0x2c946f['data'][_0x1cd3('0xd34')]||[{'message':_0x2c946f['toString'](),'type':_0x1cd3('0x14dd')}];for(var _0x166fb5=0x0;_0x166fb5<_0x2c946f[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x166fb5++){_0x173a04[_0x1cd3('0x434')]({'title':_0x2c946f[_0x1cd3('0x439')]['errors'][_0x166fb5][_0x1cd3('0x424')],'msg':_0x2c946f[_0x1cd3('0x439')]['errors'][_0x166fb5][_0x1cd3('0x43a')]});}}else{_0x173a04[_0x1cd3('0x434')]({'title':_0x2c946f[_0x1cd3('0x3a6')]?'API:'+_0x2c946f['status']+_0x1cd3('0x436')+_0x2c946f[_0x1cd3('0xd35')]:_0x1cd3('0x14dd'),'msg':_0x2c946f['data']?JSON[_0x1cd3('0x438')](_0x2c946f[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x2c946f['toString']()});}});}function _0x111de2(_0x327695){_0x206c05['errors']=[];var _0x4dc1ef=_0x16fb7a['confirm']()[_0x1cd3('0x486')]('Are\x20you\x20sure?')[_0x1cd3('0xd3b')](_0x1cd3('0x1520'))[_0x1cd3('0xd3d')](_0x1cd3('0x1521'))['ok'](_0x1cd3('0xd3f'))[_0x1cd3('0x4d8')](_0x1cd3('0x674'))[_0x1cd3('0xd63')](_0x327695);_0x16fb7a['show'](_0x4dc1ef)[_0x1cd3('0x77')](function(){_0x3c1d31[_0x1cd3('0xb57')][_0x1cd3('0xa1c')]({'id':_0x206c05[_0x1cd3('0x150e')]['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x206c05[_0x1cd3('0x12fc')],{'id':_0x206c05['customField']['id']});_0x173a04[_0x1cd3('0x473')]({'title':_0x1cd3('0x1522'),'msg':(_0x206c05[_0x1cd3('0x150e')][_0x1cd3('0x98')]||_0x1cd3('0x150e'))+_0x1cd3('0xd41')});_0x212402(_0x206c05[_0x1cd3('0x150e')]);})[_0x1cd3('0xfd')](function(_0x461460){if(_0x461460['data']&&_0x461460['data']['errors']&&_0x461460[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')]){_0x206c05[_0x1cd3('0xd34')]=_0x461460[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x461460[_0x1cd3('0x43b')](),'type':_0x1cd3('0x14e1')}];for(var _0x4316c5=0x0;_0x4316c5<_0x461460[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0x4316c5++){_0x173a04[_0x1cd3('0x434')]({'title':_0x461460[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x4316c5][_0x1cd3('0x424')],'msg':_0x461460[_0x1cd3('0x439')]['errors'][_0x4316c5]['message']});}}else{_0x173a04[_0x1cd3('0x434')]({'title':_0x461460[_0x1cd3('0x3a6')]?'API:'+_0x461460[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x461460[_0x1cd3('0xd35')]:_0x1cd3('0x14e1'),'msg':_0x461460[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x461460['data'][_0x1cd3('0x43a')]):_0x461460[_0x1cd3('0x43a')]||_0x461460[_0x1cd3('0x43b')]()});}});},function(){});}function _0x40d644(_0x1c6570){return _0x1c6570===null?undefined:new Date(_0x1c6570);}function _0x212402(_0x23b921){_0x16fb7a[_0x1cd3('0x39d')](_0x23b921);}}}());(function(){'use strict';_0x4081ab[_0x1cd3('0xc')]=[_0x1cd3('0x53e'),_0x1cd3('0xd24'),_0x1cd3('0x3c5'),_0x1cd3('0x372'),_0x1cd3('0x3f7'),_0x1cd3('0x463'),_0x1cd3('0xc49'),_0x1cd3('0x370'),_0x1cd3('0x461'),_0x1cd3('0x56'),'list',_0x1cd3('0x390')];angular[_0x1cd3('0x0')](_0x1cd3('0x2c'))['controller'](_0x1cd3('0x1523'),_0x4081ab);function _0x4081ab(_0x514642,_0x2620d2,_0x4c3670,_0x19aa9d,_0x2b94c7,_0x341478,_0x432c41,_0x29b019,_0x55b3c7,_0x5944e8,_0xd1572f,_0x5c5c98){var _0x1ffa54=this;_0x1ffa54[_0x1cd3('0x3ca')]=_0x5944e8[_0x1cd3('0x5d')]();_0x1ffa54[_0x1cd3('0x463')]=_0x341478;_0x1ffa54[_0x1cd3('0xc49')]=_0x432c41;_0x1ffa54[_0x1cd3('0xd29')]=_0x1ffa54[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x1ffa54[_0x1cd3('0xd22')]=_0x2620d2[_0x1cd3('0x3b0')]()+_0x1cd3('0x11cf')+_0x2620d2[_0x1cd3('0x3ac')]();_0x1ffa54[_0x1cd3('0x9d5')]=_0xd1572f||_0x514642['params'][_0x1cd3('0x9d5')]||{};_0x1ffa54[_0x1cd3('0x390')]=_0x5c5c98&&_0x5c5c98[_0x1cd3('0x466')]==0x1?_0x5c5c98['rows'][0x0]:null;_0x1ffa54[_0x1cd3('0xd27')]=_0x5944e8[_0x1cd3('0xd44')](_0x1ffa54[_0x1cd3('0x390')]?_0x1ffa54[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);_0x1ffa54['hasModulePermissions']={};_0x1ffa54[_0x1cd3('0xe5f')]=_0x514642['params'][_0x1cd3('0x1418')]||0x0;_0x1ffa54[_0x1cd3('0x1419')]=_0x96e0e3;_0x1ffa54[_0x1cd3('0x119b')]=_0xdded74;_0x1ffa54[_0x1cd3('0x11d0')]=_0x55b3c7['info'];_0x1ffa54[_0x1cd3('0x1524')]=_0x10286a;_0x1ffa54['saveList']=_0x5b2696;function _0x96e0e3(_0x3ab78b,_0x31a7ee){if(_0x5944e8[_0x1cd3('0x57')](_0x1cd3('0x5f'))){_0x514642['go']('app.contactmanager.contacts',{'ListId':_0x3ab78b['id']});}else{return _0x29b019[_0x1cd3('0x390')]['get']({'userProfileId':_0x5944e8[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x12f})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x2d9359){var _0x58dd4f=_0x2d9359&&_0x2d9359[_0x1cd3('0xf6')]?_0x2d9359[_0x1cd3('0xf6')][0x0]:null;if(_0x58dd4f&&_0x58dd4f[_0x1cd3('0x396')]){_0x514642['go'](_0x1cd3('0xed'),{'ListId':_0x3ab78b['id']});}else{_0x55b3c7[_0x1cd3('0x654')]({'title':_0x2b94c7[_0x1cd3('0x44a')](_0x1cd3('0x1164')),'msg':_0x2b94c7[_0x1cd3('0x44a')](_0x1cd3('0x11a9'))});}})[_0x1cd3('0xfd')](function(_0x233464){_0x55b3c7[_0x1cd3('0x434')]({'title':_0x233464[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x233464['status']+_0x1cd3('0x436')+_0x233464['statusText']:'USERPROFILE:GET_SECTION','msg':_0x233464[_0x1cd3('0x3a6')]?JSON[_0x1cd3('0x438')](_0x233464[_0x1cd3('0x439')]):_0x233464[_0x1cd3('0x43b')]()});});}}function _0xdded74(_0x42b232,_0x736c66){_0x4c3670[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1525'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1526'),'parent':angular['element'](_0x19aa9d['body']),'targetEvent':_0x736c66,'clickOutsideToClose':!![],'locals':{'list':_0x42b232,'lists':_0x1ffa54[_0x1cd3('0xf5')]?_0x1ffa54[_0x1cd3('0xf5')][_0x1cd3('0xf6')]:[],'crudPermissions':_0x1ffa54[_0x1cd3('0xd27')],'realtime':![]}});}function _0x10286a(){_0x514642['go']('app.contactmanager.lists',{},{'reload':_0x1cd3('0xd9')});}function _0x5b2696(){_0x29b019[_0x1cd3('0xc8f')][_0x1cd3('0x378')]({'id':_0x1ffa54[_0x1cd3('0x9d5')]['id']},_0x1ffa54['list'])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x55b3c7[_0x1cd3('0x473')]({'title':_0x1cd3('0x1527'),'msg':_0x1ffa54[_0x1cd3('0x9d5')][_0x1cd3('0x98')]?_0x1ffa54[_0x1cd3('0x9d5')][_0x1cd3('0x98')]+_0x1cd3('0xe65'):''});})[_0x1cd3('0xfd')](function(_0x5ad7d){_0x55b3c7[_0x1cd3('0x434')]({'title':_0x5ad7d[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x5ad7d[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x5ad7d[_0x1cd3('0xd35')]:_0x1cd3('0x1514'),'msg':_0x5ad7d[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x5ad7d[_0x1cd3('0x439')]):_0x5ad7d[_0x1cd3('0x43b')]()});});}}}());(function(){'use strict';_0x36fc6f[_0x1cd3('0xc')]=['$cookies',_0x1cd3('0x460'),_0x1cd3('0x53e'),'$q',_0x1cd3('0x3f7'),_0x1cd3('0x3e7'),_0x1cd3('0x3c5'),'$document',_0x1cd3('0x461'),_0x1cd3('0x370'),_0x1cd3('0x56')];angular[_0x1cd3('0x0')](_0x1cd3('0x2c'))[_0x1cd3('0x39b')](_0x1cd3('0x1528'),_0x36fc6f);function _0x36fc6f(_0x4e74f9,_0x3d8e6f,_0x1e4cd4,_0xf6cb8e,_0x2a6a3f,_0xbc6bfb,_0x5552db,_0x4176a6,_0x370631,_0x512f6d,_0x4e7764){var _0x591ec1=this;_0x591ec1[_0x1cd3('0x3ca')]=_0x4e7764[_0x1cd3('0x5d')]();_0x591ec1[_0x1cd3('0x9d5')]={};_0x591ec1[_0x1cd3('0x1529')]={'count':0x0,'rows':[]};_0x591ec1[_0x1cd3('0x152a')]=[];_0x591ec1[_0x1cd3('0xd27')];_0x591ec1[_0x1cd3('0x3d4')]={'fields':'createdAt,updatedAt,id,name','limit':0xa,'page':0x1};_0x591ec1[_0x1cd3('0xe08')]=_0x5cb4e2;_0x591ec1[_0x1cd3('0xe0a')]=_0x2094c4;_0x591ec1[_0x1cd3('0x473')]=_0x33e7d4;_0x591ec1[_0x1cd3('0x152b')]=_0x3dc45c;_0x591ec1['createOrEditListVoiceDisposition']=_0x3a0647;_0x591ec1[_0x1cd3('0x152c')]=_0x1a156f;_0x591ec1['deleteListVoiceDisposition']=_0x2146d1;_0x591ec1[_0x1cd3('0x152d')]=_0x2419ba;function _0x5cb4e2(_0x2c5c8f,_0x37940c){_0x591ec1[_0x1cd3('0x9d5')]=_0x2c5c8f;_0x591ec1[_0x1cd3('0xd27')]=typeof _0x37940c!=='undefined'?_0x37940c:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x591ec1[_0x1cd3('0x3d4')][_0x1cd3('0x106')]=_0x591ec1[_0x1cd3('0x9d5')]['id'];_0x591ec1[_0x1cd3('0x3d4')]['id']=_0x591ec1[_0x1cd3('0x9d5')]['id'];_0x3dc45c();}function _0x2094c4(_0x1fd579,_0x1b43f2){var _0x306609=_0x5552db[_0x1cd3('0xd39')]()['title'](_0x1cd3('0x152e'))[_0x1cd3('0xd60')]('<b>'+(_0x1fd579[_0x1cd3('0x98')]||_0x1fd579['id']&&_[_0x1cd3('0x12bc')](_0x1cd3('0x152f'))+_0x1fd579['id']||_0x1cd3('0x1530'))+_0x1cd3('0xd52')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x1531'))[_0x1cd3('0xd63')](_0x1b43f2)['ok']('OK')[_0x1cd3('0x4d8')]('CANCEL');_0x5552db[_0x1cd3('0x37e')](_0x306609)[_0x1cd3('0x77')](function(){_0x2146d1(_0x1fd579);},function(){console['log'](_0x1cd3('0xd55'));});}function _0x33e7d4(_0x4e345d){_0x591ec1[_0x1cd3('0x1529')]=_0x4e345d||{'count':0x0,'rows':[]};}function _0x3dc45c(){_0x591ec1[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0x591ec1['query']['page']-0x1)*_0x591ec1[_0x1cd3('0x3d4')]['limit'];_0x591ec1['promise']=_0x512f6d[_0x1cd3('0xc8f')][_0x1cd3('0x12db')](_0x591ec1[_0x1cd3('0x3d4')],_0x33e7d4)[_0x1cd3('0x81')];}function _0x3a0647(_0x429585,_0x42a159){_0x5552db[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1532'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1533'),'parent':angular[_0x1cd3('0x37f')](_0x4176a6[_0x1cd3('0x380')]),'targetEvent':_0x429585,'clickOutsideToClose':!![],'locals':{'list':_0x591ec1[_0x1cd3('0x9d5')],'voiceDisposition':_0x42a159,'voiceDispositions':_0x591ec1[_0x1cd3('0x1529')][_0x1cd3('0xf6')],'license':null,'setting':null,'crudPermissions':_0x591ec1[_0x1cd3('0xd27')]}});}function _0x2146d1(_0x266976){_0x512f6d[_0x1cd3('0xb63')][_0x1cd3('0xa1c')]({'id':_0x266976['id']})[_0x1cd3('0x81')]['then'](function(){_[_0x1cd3('0x383')](_0x591ec1[_0x1cd3('0x1529')][_0x1cd3('0xf6')],{'id':_0x266976['id']});_0x591ec1[_0x1cd3('0x1529')][_0x1cd3('0x466')]-=0x1;if(!_0x591ec1['listVoiceDispositions'][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){_0x3dc45c();}_0x370631[_0x1cd3('0x473')]({'title':_0x1cd3('0x1534'),'msg':_0x266976[_0x1cd3('0x98')]?_0x266976[_0x1cd3('0x98')]+'\x20has\x20been\x20deleted!':''});})['catch'](function(_0x2061ba){if(_0x2061ba[_0x1cd3('0x439')]&&_0x2061ba[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x2061ba[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){vm[_0x1cd3('0xd34')]=_0x2061ba[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x2061ba[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1514')}];for(var _0x29d85b=0x0;_0x29d85b<_0x2061ba['data']['errors'][_0x1cd3('0x7a')];_0x29d85b++){_0x370631[_0x1cd3('0x434')]({'title':_0x2061ba['data'][_0x1cd3('0xd34')][_0x29d85b][_0x1cd3('0x424')],'msg':_0x2061ba[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x29d85b][_0x1cd3('0x43a')]});}}else{_0x370631[_0x1cd3('0x434')]({'title':_0x2061ba[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x2061ba[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x2061ba[_0x1cd3('0xd35')]:_0x1cd3('0x1514'),'msg':_0x2061ba[_0x1cd3('0x439')]?JSON['stringify'](_0x2061ba['data']['message']):_0x2061ba[_0x1cd3('0x43a')]||_0x2061ba[_0x1cd3('0x43b')]()});}});}function _0x1a156f(){var _0x34a80c=angular['copy'](_0x591ec1[_0x1cd3('0x152a')]);_0x591ec1['selectedListVoiceDispositions']=[];return _0x34a80c;}function _0x2419ba(_0x1920fe){var _0x591d98=_0x5552db['confirm']()['title'](_0x1cd3('0x1535'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x591ec1[_0x1cd3('0x152a')]['length']+'\x20selected</b>'+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x1536'))[_0x1cd3('0xd63')](_0x1920fe)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x5552db[_0x1cd3('0x37e')](_0x591d98)[_0x1cd3('0x77')](function(){_0x591ec1[_0x1cd3('0x152a')]['forEach'](function(_0x516d2a){_0x2146d1(_0x516d2a);});_0x591ec1[_0x1cd3('0x152a')]=[];});}var _0x117272=!![];var _0x43b41e=0x1;_0x3d8e6f[_0x1cd3('0x4d6')](_0x1cd3('0x1340'),function(_0x1e6324,_0x2b8950){if(_0x117272){_0xbc6bfb(function(){_0x117272=![];});}else{if(!_0x2b8950){_0x43b41e=_0x591ec1[_0x1cd3('0x3d4')]['page'];}if(_0x1e6324!==_0x2b8950){_0x591ec1[_0x1cd3('0x3d4')]['page']=0x1;}if(!_0x1e6324){_0x591ec1[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0x43b41e;}_0x3dc45c();}});}}());(function(){'use strict';_0x1c574b[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x53e'),_0x1cd3('0xd24'),_0x1cd3('0x3c5'),'$q','$translate',_0x1cd3('0x461'),_0x1cd3('0x1537'),_0x1cd3('0x1530'),_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0x463'),'setting','crudPermissions'];angular[_0x1cd3('0x0')](_0x1cd3('0x2c'))[_0x1cd3('0x39b')](_0x1cd3('0x1532'),_0x1c574b);function _0x1c574b(_0x9b9371,_0x3747be,_0xcc963c,_0x9b2bf3,_0x377bde,_0x45c28a,_0x2358c8,_0x1fe712,_0x35275d,_0x2ae381,_0x2e98eb,_0x5161c5,_0x5d8f12,_0x573bec){var _0x3ae952=this;_0x3ae952['currentUser']=_0x2e98eb['getCurrentUser']();_0x3ae952[_0x1cd3('0xd34')]=[];_0x3ae952['setting']=_0x5d8f12;_0x3ae952[_0x1cd3('0x463')]=_0x5161c5;_0x3ae952['crudPermissions']=_0x573bec;_0x3ae952[_0x1cd3('0xd28')]={};_0x3ae952[_0x1cd3('0xd29')]=_0x3ae952[_0x1cd3('0xc49')]&&_0x3ae952[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x3ae952[_0x1cd3('0x486')]=_0x1cd3('0x1538');_0x3ae952['voiceDisposition']=angular[_0x1cd3('0x429')](_0x35275d);_0x3ae952[_0x1cd3('0x1537')]=_0x1fe712;_0x3ae952['newVoiceDisposition']=![];if(!_0x3ae952[_0x1cd3('0x1530')]){_0x3ae952['voiceDisposition']={};_0x3ae952[_0x1cd3('0x486')]='CONTACTMANAGER.NEW_VOICEDISPOSITION';_0x3ae952[_0x1cd3('0x1539')]=!![];}if(_0x3747be[_0x1cd3('0x36a')]['id']){_0x3ae952[_0x1cd3('0x1530')][_0x1cd3('0x106')]=_0x3747be['params']['id'];}_0x3ae952[_0x1cd3('0x153a')]=_0x468d19;_0x3ae952[_0x1cd3('0x153b')]=_0xbcd6e1;_0x3ae952[_0x1cd3('0x153c')]=_0x1d58f2;_0x3ae952[_0x1cd3('0xd31')]=_0x979c22;_0x3ae952['closeDialog']=_0x35450d;function _0x468d19(){_0x3ae952[_0x1cd3('0xd34')]=[];_0x2ae381[_0x1cd3('0xb63')][_0x1cd3('0xd6d')](_0x3ae952[_0x1cd3('0x1530')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x456c32){_0x3ae952['voiceDispositions'][_0x1cd3('0x621')](_0x456c32[_0x1cd3('0xd32')]());_0x2358c8['success']({'title':_0x1cd3('0x153d'),'msg':_0x3ae952['voiceDisposition'][_0x1cd3('0x98')]?_0x3ae952['voiceDisposition']['name']+'\x20has\x20been\x20created!':''});_0x35450d(_0x456c32);})['catch'](function(_0x5ca82f){if(_0x5ca82f[_0x1cd3('0x439')]&&_0x5ca82f['data']['errors']&&_0x5ca82f[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x3ae952['errors']=_0x5ca82f[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x5ca82f[_0x1cd3('0x43b')](),'type':_0x1cd3('0x12e8')}];for(var _0x11b9f7=0x0;_0x11b9f7<_0x5ca82f[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x11b9f7+=0x1){_0x2358c8['error']({'title':_0x5ca82f[_0x1cd3('0x439')]['errors'][_0x11b9f7][_0x1cd3('0x424')],'msg':_0x5ca82f[_0x1cd3('0x439')]['errors'][_0x11b9f7][_0x1cd3('0x43a')]});}}else{_0x2358c8[_0x1cd3('0x434')]({'title':_0x5ca82f['status']?_0x1cd3('0x435')+_0x5ca82f[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x5ca82f[_0x1cd3('0xd35')]:_0x1cd3('0x12e8'),'msg':_0x5ca82f[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x5ca82f['data'][_0x1cd3('0x43a')]):_0x5ca82f[_0x1cd3('0x43b')]()});}});}function _0xbcd6e1(){_0x3ae952[_0x1cd3('0xd34')]=[];_0x2ae381[_0x1cd3('0xb63')][_0x1cd3('0x378')]({'id':_0x3ae952[_0x1cd3('0x1530')]['id']},_0x3ae952[_0x1cd3('0x1530')])[_0x1cd3('0x81')]['then'](function(_0x58f876){var _0x3e52f7=_['find'](_0x3ae952['voiceDispositions'],{'id':_0x58f876['id']});if(_0x3e52f7){_['merge'](_0x3e52f7,_[_0x1cd3('0x5e8')](_0x58f876[_0x1cd3('0xd32')](),_['keys'](_0x3e52f7)));}_0x2358c8[_0x1cd3('0x473')]({'title':_0x1cd3('0x153e'),'msg':_0x3ae952['voiceDisposition'][_0x1cd3('0x98')]?_0x3ae952[_0x1cd3('0x1530')]['name']+'\x20has\x20been\x20saved!':''});_0x35450d(_0x58f876);})['catch'](function(_0x1209ed){if(_0x1209ed['data']&&_0x1209ed['data'][_0x1cd3('0xd34')]&&_0x1209ed['data'][_0x1cd3('0xd34')]['length']){_0x3ae952[_0x1cd3('0xd34')]=_0x1209ed[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x1209ed[_0x1cd3('0x43b')](),'type':_0x1cd3('0x12ea')}];for(var _0x1e21a9=0x0;_0x1e21a9<_0x1209ed[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0x1e21a9++){_0x2358c8[_0x1cd3('0x434')]({'title':_0x1209ed['data']['errors'][_0x1e21a9][_0x1cd3('0x424')],'msg':_0x1209ed[_0x1cd3('0x439')]['errors'][_0x1e21a9][_0x1cd3('0x43a')]});}}else{_0x2358c8[_0x1cd3('0x434')]({'title':_0x1209ed[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x1209ed[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x1209ed[_0x1cd3('0xd35')]:_0x1cd3('0x12ea'),'msg':_0x1209ed[_0x1cd3('0x439')]?JSON['stringify'](_0x1209ed[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x1209ed[_0x1cd3('0x43b')]()});}});}function _0x1d58f2(_0x1737f3){_0x3ae952[_0x1cd3('0xd34')]=[];var _0x52294a=_0x9b2bf3[_0x1cd3('0xd39')]()[_0x1cd3('0x486')]('Are\x20you\x20sure?')[_0x1cd3('0xd3b')](_0x1cd3('0x153f'))[_0x1cd3('0xd3d')](_0x1cd3('0x1540'))['ok'](_0x1cd3('0xd3f'))[_0x1cd3('0x4d8')]('Cancel')['targetEvent'](_0x1737f3);_0x9b2bf3['show'](_0x52294a)[_0x1cd3('0x77')](function(){_0x2ae381['disposition'][_0x1cd3('0xa1c')]({'id':_0x3ae952[_0x1cd3('0x1530')]['id']})['$promise']['then'](function(){_['remove'](_0x3ae952['voiceDispositions'],{'id':_0x3ae952[_0x1cd3('0x1530')]['id']});_0x2358c8[_0x1cd3('0x473')]({'title':_0x1cd3('0x1541'),'msg':(_0x3ae952[_0x1cd3('0x1530')]['name']||_0x1cd3('0x1530'))+_0x1cd3('0xd41')});_0x35450d(_0x3ae952[_0x1cd3('0x1530')]);})[_0x1cd3('0xfd')](function(_0x33a7ff){if(_0x33a7ff[_0x1cd3('0x439')]&&_0x33a7ff[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x33a7ff[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length']){_0x3ae952['errors']=_0x33a7ff[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x33a7ff['toString'](),'type':'api.disposition.delete'}];for(var _0x5d7d73=0x0;_0x5d7d73<_0x33a7ff['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x5d7d73++){_0x2358c8['error']({'title':_0x33a7ff[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x5d7d73]['type'],'msg':_0x33a7ff[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x5d7d73]['message']});}}else{_0x2358c8[_0x1cd3('0x434')]({'title':_0x33a7ff[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x33a7ff[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x33a7ff[_0x1cd3('0xd35')]:_0x1cd3('0x12ed'),'msg':_0x33a7ff[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x33a7ff[_0x1cd3('0x439')]['message']):_0x33a7ff['message']||_0x33a7ff[_0x1cd3('0x43b')]()});}});},function(){});}function _0x979c22(_0x1a8139){return _0x1a8139===null?undefined:new Date(_0x1a8139);}function _0x35450d(_0x4201e6){_0x9b2bf3[_0x1cd3('0x39d')](_0x4201e6);}}}());(function(){'use strict';_0x2516b5[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x371'),_0x1cd3('0x53e'),_0x1cd3('0x969'),_0x1cd3('0x3c5'),_0x1cd3('0x372'),_0x1cd3('0x3e7'),_0x1cd3('0x3f7'),_0x1cd3('0xf5'),'userProfile',_0x1cd3('0x390'),'api',_0x1cd3('0x2dd'),_0x1cd3('0x461'),_0x1cd3('0x56'),_0x1cd3('0x463'),_0x1cd3('0xc49')];angular[_0x1cd3('0x0')](_0x1cd3('0x2c'))[_0x1cd3('0x39b')](_0x1cd3('0x1542'),_0x2516b5);function _0x2516b5(_0x4ba7d7,_0x127906,_0x5bf337,_0x52aadd,_0x1a5060,_0x3663e7,_0x21e29e,_0x475d3b,_0x2c4f7e,_0x366299,_0x54fbfd,_0x2c1fb2,_0x7127ac,_0x497526,_0x2e3dbd,_0x201ff6,_0x15dcf4){var _0x4e1312=this;_0x4e1312[_0x1cd3('0x463')]=_0x201ff6;_0x4e1312['setting']=_0x15dcf4;_0x4e1312[_0x1cd3('0x3ca')]=_0x2e3dbd[_0x1cd3('0x5d')]();_0x4e1312[_0x1cd3('0xf5')]=_0x2c4f7e||{'count':0x0,'rows':[]};_0x4e1312[_0x1cd3('0x38a')]=_0x366299;_0x4e1312[_0x1cd3('0x390')]=_0x54fbfd&&_0x54fbfd[_0x1cd3('0x466')]==0x1?_0x54fbfd['rows'][0x0]:null;_0x4e1312[_0x1cd3('0xd27')]=_0x2e3dbd[_0x1cd3('0xd44')](_0x4e1312[_0x1cd3('0x390')]?_0x4e1312[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);_0x4e1312[_0x1cd3('0xd45')]=_0x1cd3('0xf5');_0x4e1312[_0x1cd3('0xd46')]='';_0x4e1312[_0x1cd3('0xd47')]=null;_0x4e1312[_0x1cd3('0x1543')]=[];_0x4e1312['query']={'fields':_0x1cd3('0xdc'),'sort':_0x1cd3('0x5b'),'limit':0xa,'page':0x1};_0x4e1312['editstate']=_0x59b6c5;_0x4e1312[_0x1cd3('0x1400')]=_0x22262c;_0x4e1312[_0x1cd3('0x1544')]=_0x1db26e;_0x4e1312['agentadddialog']=_0x45a040;_0x4e1312[_0x1cd3('0xecc')]=_0x279638;_0x4e1312['success']=_0x4675d3;_0x4e1312[_0x1cd3('0x1545')]=_0x40edc5;_0x4e1312[_0x1cd3('0x1546')]=_0x279d92;_0x4e1312[_0x1cd3('0x14f9')]=_0x5673b2;_0x4e1312[_0x1cd3('0x1547')]=_0x38aadb;_0x4e1312[_0x1cd3('0x1548')]=_0x388be1;_0x4e1312[_0x1cd3('0x1549')]=_0x406cbf;_0x4e1312[_0x1cd3('0x154a')]=_0x3bbb7b;function _0x59b6c5(_0xce2fc6,_0x1bcdbf){_0x5bf337['go']('app.contactmanager.lists.edit',{'id':_0xce2fc6['id'],'list':_0xce2fc6,'crudPermissions':_0x4e1312[_0x1cd3('0xd27')]});}function _0x22262c(_0x52ad95,_0x59ebd9){if(_0x2e3dbd['hasRole'](_0x1cd3('0x5f'))){_0x5bf337['go'](_0x1cd3('0xed'),{'ListId':_0x52ad95['id']});}else{return _0x2c1fb2[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x2e3dbd[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x12f})[_0x1cd3('0x81')]['then'](function(_0x43af7a){var _0x38083f=_0x43af7a&&_0x43af7a['rows']?_0x43af7a[_0x1cd3('0xf6')][0x0]:null;if(_0x38083f&&_0x38083f[_0x1cd3('0x396')]){_0x5bf337['go'](_0x1cd3('0xed'),{'ListId':_0x52ad95['id']});}else{_0x497526[_0x1cd3('0x654')]({'title':_0x475d3b[_0x1cd3('0x44a')](_0x1cd3('0x1164')),'msg':_0x475d3b[_0x1cd3('0x44a')](_0x1cd3('0x11a9'))});}})[_0x1cd3('0xfd')](function(_0x44da77){_0x497526[_0x1cd3('0x434')]({'title':_0x44da77[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x44da77['status']+_0x1cd3('0x436')+_0x44da77['statusText']:'USERPROFILE:GET_SECTION','msg':_0x44da77[_0x1cd3('0x3a6')]?JSON[_0x1cd3('0x438')](_0x44da77[_0x1cd3('0x439')]):_0x44da77[_0x1cd3('0x43b')]()});});}}function _0x1db26e(_0x5166cb,_0x3bfab6){return _0x2c1fb2[_0x1cd3('0xc8f')][_0x1cd3('0x154b')]({'id':_0x5166cb['id'],'nolimit':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x26cf2c){if(typeof _0x26cf2c[_0x1cd3('0x7a')]!=='undefined'){var _0x59f193=[_0x26cf2c[_0x1cd3('0x6ef')]];var _0x226064=new Blob(_0x59f193,{'type':_0x26cf2c[_0x1cd3('0x424')]});var _0x5656bc=window[_0x1cd3('0x924')][_0x1cd3('0x3aa')]('a');_0x5656bc[_0x1cd3('0x481')](_0x1cd3('0x3ab'),URL[_0x1cd3('0x48a')](_0x226064));_0x5656bc[_0x1cd3('0x481')](_0x1cd3('0x489'),_0x1cd3('0x154c')+_0x5166cb['id']+'.csv');_0x5656bc[_0x1cd3('0x52d')]();}else{_0x497526[_0x1cd3('0x654')]({'title':_0x1cd3('0x154d'),'msg':_0x1cd3('0x154e')});}})[_0x1cd3('0xfd')](function(_0x9dfdaf){_0x497526['error']({'title':_0x9dfdaf[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x9dfdaf[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x9dfdaf[_0x1cd3('0xd35')]:_0x1cd3('0x1514'),'msg':_0x9dfdaf['data']?JSON['stringify'](_0x9dfdaf[_0x1cd3('0x439')]):_0x9dfdaf['toString']()});});}function _0x45a040(_0x494d48,_0x2313f5){_0x1a5060[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1525'),'controllerAs':'vm','templateUrl':'app/main/apps/contactmanager/views/lists/edit/agentadd/agentadd.html','parent':angular[_0x1cd3('0x37f')](_0x3663e7[_0x1cd3('0x380')]),'targetEvent':_0x2313f5,'clickOutsideToClose':!![],'locals':{'list':_0x494d48,'lists':_0x4e1312[_0x1cd3('0xf5')]?_0x4e1312[_0x1cd3('0xf5')][_0x1cd3('0xf6')]:[],'crudPermissions':_0x4e1312[_0x1cd3('0xd27')],'realtime':![]}});}function _0x279638(_0xd2b388,_0x3ccac8){var _0x4190ed=_0x1a5060[_0x1cd3('0xd39')]()[_0x1cd3('0x486')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20'+_[_0x1cd3('0xd50')](_0x1cd3('0x9d5'))+'?')[_0x1cd3('0xd60')](_0x1cd3('0xd51')+(_0xd2b388[_0x1cd3('0x98')]||_0x1cd3('0x9d5'))+_0x1cd3('0xd52')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x154f'))[_0x1cd3('0xd63')](_0x3ccac8)['ok']('OK')[_0x1cd3('0x4d8')]('CANCEL');_0x1a5060['show'](_0x4190ed)[_0x1cd3('0x77')](function(){_0x5673b2(_0xd2b388);},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}var _0x19b865=!![];var _0x908925=0x1;_0x4ba7d7[_0x1cd3('0x4d6')](_0x1cd3('0xd56'),function(_0x2b602b,_0x4155be){if(_0x19b865){_0x21e29e(function(){_0x19b865=![];});}else{if(!_0x4155be){_0x908925=_0x4e1312[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0x2b602b!==_0x4155be){_0x4e1312[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}if(!_0x2b602b){_0x4e1312[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0x908925;}_0x4e1312[_0x1cd3('0x1545')]();}});function _0x4675d3(_0x4e38f5){_0x4e1312['lists']=_0x4e38f5||{'count':0x0,'rows':[]};}function _0x40edc5(){_0x4e1312[_0x1cd3('0x3d4')]['offset']=(_0x4e1312[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0x4e1312[_0x1cd3('0x3d4')]['limit'];if(_0x2e3dbd['hasRole']('admin')){_0x4e1312[_0x1cd3('0x539')]=_0x2c1fb2[_0x1cd3('0xc8f')][_0x1cd3('0x361')](_0x4e1312[_0x1cd3('0x3d4')],_0x4675d3)[_0x1cd3('0x81')];}else{_0x4e1312[_0x1cd3('0x3d4')]['id']=_0x4e1312[_0x1cd3('0x38a')]['id'];_0x4e1312[_0x1cd3('0x3d4')]['section']='Lists';_0x4e1312[_0x1cd3('0x539')]=_0x2c1fb2[_0x1cd3('0x38a')][_0x1cd3('0xd59')](_0x4e1312[_0x1cd3('0x3d4')],_0x4675d3)[_0x1cd3('0x81')];}}function _0x279d92(_0xc76603,_0x2c90c0){_0x1a5060[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1550'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1551'),'parent':angular[_0x1cd3('0x37f')](_0x3663e7['body']),'targetEvent':_0xc76603,'clickOutsideToClose':!![],'locals':{'list':_0x2c90c0,'lists':_0x4e1312[_0x1cd3('0xf5')][_0x1cd3('0xf6')],'license':_0x4e1312['license'],'setting':_0x4e1312[_0x1cd3('0xc49')],'crudPermissions':_0x4e1312['crudPermissions']}});}function _0x5673b2(_0x591791){_0x2c1fb2[_0x1cd3('0xc8f')][_0x1cd3('0xa1c')]({'id':_0x591791['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x4e1312[_0x1cd3('0xf5')][_0x1cd3('0xf6')],{'id':_0x591791['id']});_0x4e1312[_0x1cd3('0xf5')]['count']-=0x1;if(!_0x4e1312[_0x1cd3('0xf5')][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){_0x4e1312[_0x1cd3('0x1545')]();}_0x497526['success']({'title':_[_0x1cd3('0xd50')](_0x1cd3('0x1456'))+_0x1cd3('0xd5c'),'msg':_0x591791['name']?_0x591791[_0x1cd3('0x98')]+_0x1cd3('0xd41'):''});})[_0x1cd3('0xfd')](function(_0x532d37){if(_0x532d37[_0x1cd3('0x439')]&&_0x532d37['data'][_0x1cd3('0xd34')]&&_0x532d37[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x4e1312[_0x1cd3('0xd34')]=_0x532d37['data'][_0x1cd3('0xd34')]||[{'message':_0x532d37[_0x1cd3('0x43b')](),'type':'SYSTEM:DELETEcmList'}];for(var _0x165070=0x0;_0x165070<_0x532d37[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0x165070++){_0x497526[_0x1cd3('0x434')]({'title':_0x532d37[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x165070][_0x1cd3('0x424')],'msg':_0x532d37[_0x1cd3('0x439')]['errors'][_0x165070][_0x1cd3('0x43a')]});}}else{_0x497526[_0x1cd3('0x434')]({'title':_0x532d37[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x532d37[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x532d37[_0x1cd3('0xd35')]:_0x1cd3('0x1552'),'msg':_0x532d37[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x532d37[_0x1cd3('0x439')]['message']):_0x532d37['message']||_0x532d37[_0x1cd3('0x43b')]()});}});}function _0x38aadb(){var _0x102e5e=angular[_0x1cd3('0x429')](_0x4e1312[_0x1cd3('0x1543')]);_0x4e1312[_0x1cd3('0x1543')]=[];return _0x102e5e;}function _0x388be1(_0x22ab7e){var _0x2ea34d=_0x1a5060[_0x1cd3('0xd39')]()['title'](_0x1cd3('0x1553'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x4e1312[_0x1cd3('0x1543')][_0x1cd3('0x7a')]+'\x20selected</b>'+'\x20will\x20be\x20deleted.')[_0x1cd3('0xd3d')]('delete\x20Lists')[_0x1cd3('0xd63')](_0x22ab7e)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x1a5060['show'](_0x2ea34d)[_0x1cd3('0x77')](function(){_0x4e1312[_0x1cd3('0x1543')][_0x1cd3('0x394')](function(_0x6f605e){_0x5673b2(_0x6f605e);});_0x4e1312[_0x1cd3('0x1543')]=[];});}function _0x406cbf(){_0x4e1312['selectedLists']=[];}function _0x3bbb7b(){_0x4e1312['selectedLists']=_0x4e1312[_0x1cd3('0xf5')][_0x1cd3('0xf6')];}}}());(function(){'use strict';_0x17a2f9[_0x1cd3('0xc')]=[_0x1cd3('0x53e'),'$interval',_0x1cd3('0x460'),_0x1cd3('0x370'),_0x1cd3('0xd18'),_0x1cd3('0x56'),_0x1cd3('0x8d9'),_0x1cd3('0x38a'),_0x1cd3('0x390')];angular[_0x1cd3('0x0')](_0x1cd3('0x107'))[_0x1cd3('0x39b')]('DashboardCustomController',_0x17a2f9);function _0x17a2f9(_0x41b9ac,_0x4800a1,_0x516963,_0x4cb32b,_0x4f217b,_0x38a735,_0x45fd71,_0x3816e3,_0x412bde){var _0x5f82e9=this;_0x5f82e9[_0x1cd3('0x3ca')]=_0x38a735[_0x1cd3('0x5d')]();_0x5f82e9[_0x1cd3('0x38a')]=_0x3816e3;_0x5f82e9[_0x1cd3('0x390')]=_0x412bde&&_0x412bde[_0x1cd3('0x466')]==0x1?_0x412bde[_0x1cd3('0xf6')][0x0]:null;_0x5f82e9[_0x1cd3('0xd27')]=_0x38a735[_0x1cd3('0xd44')](_0x5f82e9[_0x1cd3('0x390')]?_0x5f82e9[_0x1cd3('0x390')]['crudPermissions']:null);_0x5f82e9[_0x1cd3('0x1554')]={};_0x5f82e9[_0x1cd3('0x8d9')]=_0x45fd71&&_0x45fd71[_0x1cd3('0x466')]?_0x45fd71:{'count':0x0,'rows':[]};_0x5f82e9['voiceQueuesSelected']=_0x45fd71&&_0x45fd71[_0x1cd3('0x466')]?_[_0x1cd3('0x3d9')](_0x45fd71[_0x1cd3('0xf6')],'id'):[];_0x5f82e9[_0x1cd3('0x77e')]=_0x4800a1(function(){},0x3e8);_0x5f82e9['onChangeVoiceQueues']=_0x34a586;_0x5f82e9['goToEdit']=_0x37b5f6;_0x4f217b[_0x1cd3('0x1555')]('voice_queue:save',_0x1ce574);_0x4cb32b[_0x1cd3('0xa9e')][_0x1cd3('0x361')]({'id':_0x41b9ac[_0x1cd3('0x36a')]['id']})['$promise'][_0x1cd3('0x77')](function(_0xee5a84){if(_0xee5a84){_0x5f82e9[_0x1cd3('0x1554')]=_0xee5a84;_0x5f82e9[_0x1cd3('0x1554')]['widgets']=[];_0x5f82e9[_0x1cd3('0x1554')][_0x1cd3('0xe67')]=!![];_0x5f82e9[_0x1cd3('0x1554')][_0x1cd3('0x1556')]={'enabled':![]};_0x5f82e9['customDashboard'][_0x1cd3('0x1557')]={'enabled':![]};return _0x4cb32b[_0x1cd3('0xa9e')][_0x1cd3('0x1558')]({'id':_0x5f82e9[_0x1cd3('0x1554')]['id']})[_0x1cd3('0x81')];}})[_0x1cd3('0x77')](function(_0x423570){if(_0x423570&&_0x423570[_0x1cd3('0x466')]&&_0x423570[_0x1cd3('0xf6')]){for(var _0x2764d9=0x0;_0x2764d9<_0x423570[_0x1cd3('0xf6')][_0x1cd3('0x7a')];_0x2764d9+=0x1){_0x423570[_0x1cd3('0xf6')][_0x2764d9][_0x1cd3('0x1559')]=_0x1cd3('0x155a')+_0x423570[_0x1cd3('0xf6')][_0x2764d9][_0x1cd3('0x424')]+_0x1cd3('0x155b')+_0x423570[_0x1cd3('0xf6')][_0x2764d9][_0x1cd3('0x424')]+_0x1cd3('0x155c');_0x423570['rows'][_0x2764d9][_0x1cd3('0x8d9')]=_0x5f82e9[_0x1cd3('0x8d9')];_0x423570['rows'][_0x2764d9]['voiceQueuesSelected']=_0x5f82e9[_0x1cd3('0x8d8')];_0x5f82e9[_0x1cd3('0x1554')][_0x1cd3('0x155d')][_0x1cd3('0x7b')](_0x423570[_0x1cd3('0xf6')][_0x2764d9]);}}})[_0x1cd3('0xfd')](function(_0x44580a){_0x5f82e9[_0x1cd3('0x1554')]=undefined;});function _0x1ce574(_0x2f2dc1){var _0x30b529=_[_0x1cd3('0x442')](_0x5f82e9[_0x1cd3('0x8d9')][_0x1cd3('0xf6')],{'id':_0x2f2dc1['id']});if(_0x30b529){_[_0x1cd3('0xf2')](_0x30b529,_[_0x1cd3('0x5e8')](_0x2f2dc1,_[_0x1cd3('0x80')](_0x30b529)));}}function _0x34a586(){for(var _0x555915=0x0;_0x555915<_0x5f82e9[_0x1cd3('0x1554')][_0x1cd3('0x155d')]['length'];_0x555915+=0x1){_0x5f82e9[_0x1cd3('0x1554')][_0x1cd3('0x155d')][_0x555915]['voiceQueuesSelected']=_0x5f82e9['voiceQueuesSelected'];}}function _0x37b5f6(){_0x41b9ac['go']('app.tools.customDashboards.edit',{'id':_0x5f82e9[_0x1cd3('0x1554')]['id'],'tab':0x1});}_0x516963[_0x1cd3('0x4d3')]('$destroy',function(){_0x4f217b[_0x1cd3('0x6a3')](_0x1cd3('0x155e'));_0x5f82e9[_0x1cd3('0x77e')]&&_0x4800a1['cancel'](_0x5f82e9['interval']);});}}());(function(){'use strict';_0x64a24e[_0x1cd3('0xc')]=['$scope',_0x1cd3('0x3c5'),_0x1cd3('0x371'),'$translate',_0x1cd3('0x372'),_0x1cd3('0x56'),_0x1cd3('0x370'),_0x1cd3('0xd18'),'toasty','globalUserLists',_0x1cd3('0x155f'),_0x1cd3('0x1560'),_0x1cd3('0x1561'),_0x1cd3('0x463'),_0x1cd3('0xc49'),_0x1cd3('0x1562'),_0x1cd3('0x2dd')];_0x50c77c[_0x1cd3('0xc')]=[_0x1cd3('0x39e'),_0x1cd3('0x3f7'),_0x1cd3('0x371'),_0x1cd3('0x56')];angular['module']('app.dashboards')[_0x1cd3('0x39b')](_0x1cd3('0x1563'),_0x64a24e)[_0x1cd3('0x373')](_0x1cd3('0x1564'),_0x50c77c);function _0x64a24e(_0x1ae6e7,_0x534df6,_0x4b0ebc,_0x2c34ac,_0x4cac8a,_0x5a564a,_0x24277b,_0x2fdbb9,_0x405122,_0x3db3cd,_0x166313,_0x22ea93,_0x509c6a,_0xb6a43a,_0xb90734,_0x4fbdb1,_0x7de17e){var _0x318f2d=this;_0x318f2d[_0x1cd3('0x463')]=_0xb6a43a;_0x318f2d[_0x1cd3('0xc49')]=_0xb90734;_0x318f2d[_0x1cd3('0x3c2')]=_0x7de17e[_0x1cd3('0x3c2')]();_0x318f2d[_0x1cd3('0x368')]=_0x5a564a[_0x1cd3('0x5d')]();_0x318f2d[_0x1cd3('0x1565')]=0x0;_0x318f2d[_0x1cd3('0x1566')]={};_0x318f2d[_0x1cd3('0x1567')]={};_0x318f2d[_0x1cd3('0x1568')]={};_0x318f2d[_0x1cd3('0x1569')]=_0x3db3cd||{'count':0x0,'rows':[]};_0x318f2d[_0x1cd3('0x155f')]=_0x166313||{'count':0x0,'rows':[]};_0x318f2d['globalCompanies']=_0x22ea93||{'count':0x0,'rows':[]};_0x318f2d['globalTags']=_0x509c6a||{'count':0x0,'rows':[]};_0x318f2d[_0x1cd3('0x156a')]=_0xf71e82;_0x318f2d[_0x1cd3('0x156b')]=_0x31d38f;_0x318f2d[_0x1cd3('0x156c')]=_0x235415;_0x318f2d[_0x1cd3('0x156d')]=_0x1a7e0d;_0x318f2d[_0x1cd3('0x156e')]=_0x427649;_0x318f2d[_0x1cd3('0x156f')]=_0x5ad00e;_0x318f2d[_0x1cd3('0x1570')]=_0x4558aa;_0x318f2d['onVoiceChannelRemove']=_0x255ca2;_0x318f2d[_0x1cd3('0x1571')]=_0x41296c;_0x318f2d[_0x1cd3('0x1572')]=_0x11af99;_0x318f2d[_0x1cd3('0x1573')]=_0x264088;_0x318f2d['addContactTab']=_0x3e144f;_0x318f2d[_0x1cd3('0x1574')]=_0x406f70;_0x318f2d[_0x1cd3('0x1575')]=_0x3f6942;_0x318f2d[_0x1cd3('0x1576')]=_0x32e9b7;_0x318f2d['updateLocalStorage']=_0x594934;_0x318f2d['closeTab']=_0x475562;_0x2fdbb9['on'](_0x1cd3('0x1577'),_0x318f2d['onContactManager']);_0x2fdbb9['on'](_0x1cd3('0x1578'),_0x318f2d[_0x1cd3('0x156b')]);_0x2fdbb9['on'](_0x1cd3('0x1579'),_0x318f2d[_0x1cd3('0x156c')]);_0x2fdbb9['on']('trigger:browser:url',_0x318f2d[_0x1cd3('0x156d')]);_0x2fdbb9['on'](_0x1cd3('0x157a'),_0x318f2d['onBrowserPopup']);_0x2fdbb9['on'](_0x1cd3('0x157b'),_0x318f2d[_0x1cd3('0x156f')]);_0x2fdbb9['on'](_0x1cd3('0x157c'),_0x318f2d[_0x1cd3('0x1570')]);_0x2fdbb9['on']('voice_queue_channel:remove',_0x318f2d[_0x1cd3('0x157d')]);_0x2fdbb9['on'](_0x1cd3('0x157e'),_0x318f2d[_0x1cd3('0x157d')]);_0x23c083();function _0x23c083(){var _0x24bc43=_0x4b0ebc[_0x1cd3('0x385')][_0x1cd3('0x3e0')](_0x1cd3('0x5e9')+_0x318f2d[_0x1cd3('0x368')]['id']);if(_0x24bc43){try{_0x24bc43=JSON['parse'](_0x24bc43);_0x318f2d[_0x1cd3('0x1567')]=_0x24bc43['tabs']?_0x24bc43[_0x1cd3('0x1567')]:{};_0x318f2d[_0x1cd3('0x1565')]=_0x24bc43[_0x1cd3('0x1565')]?_0x24bc43['currentTab']:0x0;_0x2b7cb5(_0x318f2d[_0x1cd3('0x1567')][_0x318f2d[_0x1cd3('0x1565')]]);}catch(_0x1b49f1){console['error'](_0x1b49f1);}}}function _0x594934(_0x553153){var _0x39982e={};for(var _0x14e1e5 in _0x318f2d[_0x1cd3('0x1567')]){if(_0x318f2d['tabs']['hasOwnProperty'](_0x14e1e5)){_0x39982e[_0x14e1e5]=_['pick'](_0x318f2d['tabs'][_0x14e1e5],[_0x1cd3('0x424'),_0x1cd3('0x486'),_0x1cd3('0x157f'),_0x1cd3('0x1580'),'color',_0x1cd3('0x1581'),'id',_0x1cd3('0x1582'),'badges']);if(!_[_0x1cd3('0x472')](_0x318f2d[_0x1cd3('0x1567')][_0x14e1e5][_0x1cd3('0x105')])){_0x39982e[_0x14e1e5]['contact']=_[_0x1cd3('0x5e8')](_0x318f2d[_0x1cd3('0x1567')][_0x14e1e5]['contact'],['id','ListId']);}if(!_[_0x1cd3('0x472')](_0x318f2d[_0x1cd3('0x1567')][_0x14e1e5][_0x1cd3('0x597')])){_0x39982e[_0x14e1e5]['calls']=_0x318f2d[_0x1cd3('0x1567')][_0x14e1e5][_0x1cd3('0x597')];}if(_0x318f2d[_0x1cd3('0x1567')][_0x14e1e5][_0x1cd3('0x1332')]){_0x39982e[_0x14e1e5]['interaction']=_[_0x1cd3('0x5e8')](_0x318f2d[_0x1cd3('0x1567')][_0x14e1e5][_0x1cd3('0x1332')],['id',_0x1cd3('0x1490'),_0x1cd3('0x1492'),_0x1cd3('0x1203'),_0x1cd3('0x148f'),'SmsAccountId',_0x1cd3('0x1583'),'closed',_0x1cd3('0x1584')]);}}}var _0x2acf47=JSON['parse'](_0x4b0ebc[_0x1cd3('0x385')][_0x1cd3('0x3e0')](_0x1cd3('0x5e9')+_0x318f2d[_0x1cd3('0x368')]['id']));if(_0x2acf47){_0x2acf47[_0x1cd3('0x1567')]=_0x39982e;_0x2acf47['currentTab']=_0x318f2d['currentTab'];}else{_0x2acf47={'tabs':_0x39982e,'currentTab':_0x318f2d['currentTab']};}_0x4b0ebc[_0x1cd3('0x385')][_0x1cd3('0x3e2')](_0x1cd3('0x5e9')+_0x318f2d['user']['id'],JSON['stringify'](_0x2acf47));if(_0x553153){_0x2b7cb5(_0x553153);}}function _0x2b7cb5(_0x286335){if(_['isNil'](_0x286335)||_0x286335&&_0x286335[_0x1cd3('0x424')]===_0x1cd3('0x1332')){var _0x43ffb1={'id':_0x318f2d[_0x1cd3('0x368')]['id'],'online':!![],'capacity':{'mail':0x0,'fax':0x0,'sms':0x0,'whatsapp':0x0,'openchannel':0x0,'chat':0x0},'interaction':{'mail':[],'fax':[],'sms':[],'whatsapp':[],'openchannel':[],'chat':[]}};for(var _0x5eda36 in _0x318f2d[_0x1cd3('0x1567')]){if(_0x318f2d[_0x1cd3('0x1567')][_0x1cd3('0x3d0')](_0x5eda36)){if(_0x43ffb1[_0x1cd3('0x1585')][_0x1cd3('0x3d0')](_0x318f2d['tabs'][_0x5eda36][_0x1cd3('0x157f')])&&_0x318f2d[_0x1cd3('0x1567')][_0x5eda36][_0x1cd3('0x1332')]&&!_0x318f2d['tabs'][_0x5eda36][_0x1cd3('0x1332')][_0x1cd3('0x1586')]){_0x43ffb1['capacity'][_0x318f2d[_0x1cd3('0x1567')][_0x5eda36][_0x1cd3('0x157f')]]+=0x1;_0x43ffb1['interaction'][_0x318f2d[_0x1cd3('0x1567')][_0x5eda36][_0x1cd3('0x157f')]][_0x1cd3('0x7b')](_0x318f2d['tabs'][_0x5eda36][_0x1cd3('0x1332')]['id']);}}}if(!_[_0x1cd3('0x1587')](_0x318f2d[_0x1cd3('0x1568')],_0x43ffb1[_0x1cd3('0x1585')])){_0x318f2d['agentCapacity']=_0x43ffb1[_0x1cd3('0x1585')];return _0x24277b[_0x1cd3('0x633')][_0x1cd3('0x1588')](_0x43ffb1);}}}function _0x475562(_0x3feebc){var _0x581c52=_0x534df6[_0x1cd3('0xd39')]()['title'](_0x3feebc[_0x1cd3('0x424')]==='interaction'?'Do\x20you\x20want\x20to\x20close\x20the\x20interaction?':_0x1cd3('0x1589')+_0x3feebc[_0x1cd3('0x424')]+'?')[_0x1cd3('0x678')](_0x3feebc[_0x1cd3('0x424')]===_0x1cd3('0x1332')?'':_0x1cd3('0x158a')+_0x3feebc[_0x1cd3('0x424')]+'\x20has\x20been\x20modified.\x20Closing\x20will\x20lose\x20all\x20changes!')['ariaLabel']('Close\x20Contact')['ok'](_0x3feebc[_0x1cd3('0x424')]===_0x1cd3('0x1332')?_0x1cd3('0x158b'):'OK')[_0x1cd3('0x4d8')](_0x3feebc[_0x1cd3('0x424')]==='interaction'?'NO':_0x1cd3('0xd55'));if(_0x3feebc['saved']){var _0x4291c6=![];_[_0x1cd3('0x394')](_0x3feebc[_0x1cd3('0x597')],function(_0x50d584){if(_0x50d584[_0x1cd3('0x158c')]){_0x4291c6=!![];}});if(_0x3feebc[_0x1cd3('0x424')]===_0x1cd3('0x105')&&_0x3feebc['calls']['length']>0x0){if(_0x4291c6){alert=_0x534df6['alert']()[_0x1cd3('0x486')](_0x1cd3('0x158d'))[_0x1cd3('0x678')]('There\x20is\x20a\x20call\x20that\x20hasn\x27t\x20been\x20disposed\x20yet.')['ok']('OK');_0x534df6[_0x1cd3('0x37e')](alert)[_0x1cd3('0x5dd')](function(){alert=undefined;});}else{_0x581c52[_0x1cd3('0x158e')][_0x1cd3('0x678')]=_0x1cd3('0x158f');return _0x534df6[_0x1cd3('0x37e')](_0x581c52)[_0x1cd3('0x77')](function(){_0x32e9b7(_0x3feebc);});}}else{_0x32e9b7(_0x3feebc);}}else{var _0xd2bd=_0x318f2d[_0x1cd3('0x368')][_0x1cd3('0x604')]||_0x318f2d[_0x1cd3('0x368')]['chatPause']||_0x318f2d[_0x1cd3('0x368')][_0x1cd3('0x1590')]||_0x318f2d['user']['openchannelPause']||_0x318f2d[_0x1cd3('0x368')]['faxPause'];var _0x4291c6=![];if(_0x3feebc[_0x1cd3('0x424')]===_0x1cd3('0x1332')){_0x4291c6=_0x3feebc[_0x1cd3('0x1332')][_0x1cd3('0x1591')][_0x1cd3('0x158c')];}return _0x534df6[_0x1cd3('0x37e')](_0x581c52)[_0x1cd3('0x77')](function(){if(_0x3feebc[_0x1cd3('0x424')]==='interaction'){_0x534df6[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1592'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1593'),'parent':angular[_0x1cd3('0x37f')](_0x4cac8a[_0x1cd3('0x380')]),'onRemoving':function(_0xfde670,_0x5d78ad){if(_0x318f2d[_0x1cd3('0x368')]&&_0x4291c6&&!_0xd2bd){_0x24277b['user'][_0x1cd3('0x13ed')]({'id':_0x318f2d[_0x1cd3('0x368')]['id']})['$promise'][_0x1cd3('0xfd')](function(_0xb5afc7){console[_0x1cd3('0x434')](_0xb5afc7);});}},'clickOutsideToClose':!_0x4291c6,'escapeToClose':!_0x4291c6,'locals':{'user':_0x318f2d[_0x1cd3('0x368')],'channel':_0x3feebc[_0x1cd3('0x157f')],'interaction':_0x3feebc['interaction']}});}_0x32e9b7(_0x3feebc);})['catch'](function(){if(_0x3feebc[_0x1cd3('0x424')]==='interaction'){_0x32e9b7(_0x3feebc);}});}}function _0x1e6630(_0x5edb64){if(_0x5edb64['channel']&&_0x5edb64[_0x1cd3('0x1332')]){return _0x24277b[_0x1cd3('0x368')][_0x1cd3('0x383')+_[_0x1cd3('0x12bc')](_0x5edb64[_0x1cd3('0x157f')])+_0x1cd3('0x1594')]({'id':_0x318f2d['user']['id'],'ids':[_0x5edb64[_0x1cd3('0x1332')]['id']]})['$promise']['catch'](function(_0x1b2534){console[_0x1cd3('0x434')](_0x1b2534);});}}function _0x32e9b7(_0x4dc1e4){if(_0x318f2d['tabs'][_0x4dc1e4['id']]){_0x1e6630(_0x318f2d[_0x1cd3('0x1567')][_0x4dc1e4['id']]);delete _0x318f2d['tabs'][_0x4dc1e4['id']];_0x318f2d['currentTab']=0x0;_0x594934(_0x4dc1e4);if(_0x4dc1e4[_0x1cd3('0x424')]===_0x1cd3('0x1332')){return _0x24277b[_0x4dc1e4['channel']+_0x1cd3('0x1495')][_0x1cd3('0x361')]({'id':_0x4dc1e4[_0x1cd3('0x1332')]['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x4c7114){return _0x24277b['user'][_0x1cd3('0x383')+_['upperFirst'](_0x4dc1e4[_0x1cd3('0x157f')])+_0x1cd3('0x1594')]({'id':_0x318f2d[_0x1cd3('0x368')]['id'],'ids':[_0x4c7114['id']]})[_0x1cd3('0x81')];})[_0x1cd3('0xfd')](function(_0x181136){console[_0x1cd3('0x434')](_0x181136);});}}}function _0x3f6942(_0x5297b8){_0x5297b8['id']=_['random'](0x2540be400);_0x5297b8[_0x1cd3('0x1595')]=new Date();_0x5297b8[_0x1cd3('0x1582')]=![];_0x5297b8['badges']=0x0;_0x318f2d['tabs'][_0x5297b8['id']]=_0x5297b8;_0x318f2d['currentTab']=_0x5297b8['id'];_0x594934(_0x5297b8);}function _0x11af99(_0x4400ff){return _0x4400ff===_0x318f2d[_0x1cd3('0x1565')];}function _0x41296c(_0x2dd863){_0x318f2d['currentTab']=_0x2dd863;_0x594934(_0x318f2d[_0x1cd3('0x1567')][_0x2dd863]);}function _0x264088(_0xb92fe2){return _[_0x1cd3('0x442')](_0x318f2d['tabs'],function(_0x46a6a0){return _0x46a6a0[_0x1cd3('0x424')]==='interaction'&&_0x46a6a0[_0x1cd3('0x1332')]&&_0x46a6a0[_0x1cd3('0x1332')]['id']==_0xb92fe2[_0x1cd3('0x1596')]&&_0x46a6a0[_0x1cd3('0x157f')]==_0xb92fe2['channel'];});}function _0x4b7be8(_0x16f06a){var _0x3c675d='';if(_0x16f06a){if(_0x16f06a[_0x1cd3('0x1447')]||_0x16f06a['lastName']){_0x16f06a[_0x1cd3('0x1447')]&&(_0x3c675d+=_0x16f06a[_0x1cd3('0x1447')]+'\x20');_0x16f06a['lastName']&&(_0x3c675d+=_0x16f06a[_0x1cd3('0x1324')]);}else if(_0x16f06a[_0x1cd3('0xf09')]){_0x3c675d=_0x16f06a[_0x1cd3('0xf09')];}}return _0x3c675d;}function _0x2c7b7e(_0x2ada38){switch(_0x2ada38){case _0x1cd3('0xbf'):return _0x1cd3('0x1597');case _0x1cd3('0x1d2'):return'icon-email';case _0x1cd3('0x26b'):return _0x1cd3('0x1598');case'openchannel':return _0x1cd3('0x1599');case _0x1cd3('0x154'):return _0x1cd3('0x159a');case'whatsapp':return _0x1cd3('0x159b');default:return _0x1cd3('0x1597');}}function _0x3721f6(_0x9a420d){switch(_0x9a420d){case _0x1cd3('0xbf'):return'green-A700';case _0x1cd3('0x1d2'):return _0x1cd3('0x9c5');case'sms':return _0x1cd3('0x148c');case'openchannel':return _0x1cd3('0x148d');case _0x1cd3('0x154'):return _0x1cd3('0x148e');case _0x1cd3('0x34a'):return _0x1cd3('0x159c');default:return _0x1cd3('0x9bd');}}function _0x3e144f(_0x51c869,_0x4c7cfa){var _0x3e01c0={'type':_0x1cd3('0x105'),'title':_0x51c869?_0x4b7be8(_0x51c869):_0x2c34ac[_0x1cd3('0x44a')](_0x1cd3('0x159d')),'icon':'icon-account-circle','color':'red','contact':_0x51c869,'userLists':_0x3db3cd,'lists':_0x166313,'companies':_0x22ea93,'tags':_0x509c6a,'calls':_0x4c7cfa?[_0x4c7cfa]:[],'autoCreate':_0x4c7cfa?_0x4c7cfa[_0x1cd3('0x1581')]:0x0};if(_0x4c7cfa){if(_0x4c7cfa[_0x1cd3('0x159e')]&&_0x4c7cfa[_0x1cd3('0x159e')]===_0x1cd3('0x159f')){_0x4c7cfa['answeredAt']=_0x4c7cfa[_0x1cd3('0x15a0')]?moment(_0x4c7cfa[_0x1cd3('0x15a0')],_0x1cd3('0x377'))[_0x1cd3('0x47a')]():new Date();}else if(_0x4c7cfa[_0x1cd3('0x6b4')]){var _0x4fb1d0=_0x4c7cfa[_0x1cd3('0x6b4')]['split']('.')[0x0];_0x4c7cfa[_0x1cd3('0x15a1')]=_0x4fb1d0?new Date(parseInt(_0x4fb1d0)*0x3e8):new Date();}if(_0x4c7cfa[_0x1cd3('0x15a2')]||_0x4c7cfa[_0x1cd3('0x15a3')]){_0x544a82(_0x4c7cfa);}}if(_0x51c869){var _0x5e3a21=_[_0x1cd3('0x442')](_0x318f2d[_0x1cd3('0x1567')],function(_0x53a62d){if(_0x53a62d[_0x1cd3('0x105')]&&_0x53a62d['contact']['id']){return _0x53a62d[_0x1cd3('0x424')]===_0x1cd3('0x105')&&_0x53a62d['contact']&&_0x53a62d[_0x1cd3('0x105')]['id']==_0x51c869['id'];}return _0x53a62d[_0x1cd3('0x424')]===_0x1cd3('0x105')&&_0x53a62d[_0x1cd3('0x105')]&&_0x53a62d[_0x1cd3('0x105')][_0x1cd3('0xf09')]==_0x51c869[_0x1cd3('0xf09')];});if(_0x5e3a21){if(_0x4c7cfa){return _0x24277b[_0x1cd3('0xa66')]['get']({'uniqueid':_0x4c7cfa['uniqueid']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x20ee3a){if(_0x20ee3a&&_0x20ee3a[_0x1cd3('0xf6')]['length']>0x0){_0x4c7cfa[_0x1cd3('0x15a4')]=_[_0x1cd3('0xf34')](_0x20ee3a[_0x1cd3('0xf6')])[_0x1cd3('0x15a3')];}if(_0x5e3a21[_0x1cd3('0x597')]){var _0x572484=_[_0x1cd3('0x442')](_0x5e3a21[_0x1cd3('0x597')],function(_0x4130b){return _0x4130b['uniqueid']===_0x4c7cfa[_0x1cd3('0x6b4')];});if(!_0x572484){_0x5e3a21[_0x1cd3('0x597')][_0x1cd3('0x7b')](_0x4c7cfa);}}else{_0x5e3a21['calls']=[_0x4c7cfa];}_0x318f2d['currentTab']=_0x5e3a21['id'];});}}else if(_0x51c869[_0x1cd3('0x106')]){return _0x24277b[_0x1cd3('0xb63')][_0x1cd3('0x361')]({'ListId':_0x51c869['ListId']})['$promise'][_0x1cd3('0x77')](function(_0x203c82){_0x3e01c0[_0x1cd3('0x15a5')]=_0x203c82;return _0x24277b[_0x1cd3('0xc8f')]['getCustomFields']({'id':_0x51c869['ListId']})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x3d466b){_0x3e01c0[_0x1cd3('0x12fc')]=_0x3d466b;})['catch'](_0x3517ae())[_0x1cd3('0x5dd')](function(){_0x3f6942(_0x3e01c0);});}else{_0x3f6942(_0x3e01c0);}}else{_0x3f6942(_0x3e01c0);}}function _0x406f70(_0x3f0f89,_0x53be49){var _0x3a7de0=_[_0x1cd3('0x442')](_0x318f2d[_0x1cd3('0x1567')],function(_0x3366f6){return _0x3366f6['type']===_0x1cd3('0x1332')&&_0x3366f6[_0x1cd3('0x1332')]&&_0x3366f6[_0x1cd3('0x1332')]['id']===_0x53be49['id']&&_0x3366f6['channel']===_0x3f0f89;});if(_0x3a7de0){_0x3a7de0['isDraft']=_0x53be49[_0x1cd3('0x15a6')]||![];_0x318f2d[_0x1cd3('0x1565')]=_0x3a7de0['id'];}else{_0x3a7de0={'type':_0x1cd3('0x1332'),'title':_0x3f0f89?_0x3f0f89[_0x1cd3('0x437')]():_0x1cd3('0x22e'),'icon':_0x2c7b7e(_0x3f0f89),'color':_0x3721f6(_0x3f0f89),'channel':_0x3f0f89,'interaction':_0x53be49,'isDraft':_0x53be49[_0x1cd3('0x15a6')]||![]};_0x3f6942(_0x3a7de0);}}function _0x1a7e0d(_0x15395d){if(_0x15395d&&_0x15395d[_0x1cd3('0x608')]){_0x15395d['uri']=_[_0x1cd3('0x3f1')](_0x15395d['uri'],'<%3B','');_0x15395d[_0x1cd3('0x608')]=_['replace'](_0x15395d[_0x1cd3('0x608')],'=>%3B=','');if(_0x15395d['uriLocation']){switch(_0x15395d['uriLocation']){case'0':_0x4b0ebc[_0x1cd3('0xee4')](_0x15395d[_0x1cd3('0x608')]);break;case'1':_0x4b0ebc[_0x1cd3('0xee4')](_0x15395d['uri'],'_blank',_0x1cd3('0x15a7')+(_0x15395d[_0x1cd3('0x15a8')]||_0x1cd3('0x15a9'))+_0x1cd3('0x15aa')+_0x15395d[_0x1cd3('0x15ab')]||_0x1cd3('0x9c1'));break;case'2':var _0x1d4bdd={'type':_0x1cd3('0x15ac'),'title':_0x15395d['uri'],'icon':_0x1cd3('0x1599'),'color':'blue','src':_0x15395d[_0x1cd3('0x608')]};_0x3f6942(_0x1d4bdd);break;default:_0x4b0ebc['open'](_0x15395d['uri']);}}else{_0x4b0ebc[_0x1cd3('0xee4')](_0x15395d['uri']);}}}function _0x427649(_0x5661da){if(_0x5661da&&_0x5661da[_0x1cd3('0x3bf')]){_0x3f6942({'type':_0x1cd3('0x15ad'),'title':_0x5661da[_0x1cd3('0x15ae')]||_0x1cd3('0x15ad'),'icon':_0x1cd3('0x15af'),'color':_0x1cd3('0x9bd'),'html':_0x5661da['html']});}}function _0x355c3a(_0x18d226){var _0x2c129d={'autoClose':!![],'duration':0xa,'showOnPageHidden':!![],'icon':_0x1cd3('0x15b0'),'body':_0x18d226[_0x1cd3('0x1220')]?_0x1cd3('0x15b1')+_0x18d226[_0x1cd3('0x1220')]:'','focusOnclick':!![],'closeOnClick':!![]};_0x4fbdb1['show'](_0x18d226['title'],_0x2c129d);}function _0xd14d1a(_0x3cc1f3){if(_0x4fbdb1[_0x1cd3('0x15b2')]()){_0x4fbdb1[_0x1cd3('0x934')]()[_0x1cd3('0x77')](function(){_0x355c3a(_0x3cc1f3);},function(_0x1cfca7){console['error'](_0x1cd3('0x15b3'),_0x1cfca7);});}else{console['error'](_0x1cd3('0x15b4'));}}function _0x5ad00e(_0x70778f){if(_0x70778f&&_0x70778f[_0x1cd3('0x6b4')]){_0xd14d1a(_0x70778f);var _0x438ce3=_0x318f2d[_0x1cd3('0x1573')](_0x70778f);if(_0x438ce3){if(_0x24277b[_0x70778f[_0x1cd3('0x157f')]+'Message']){if(_0x318f2d[_0x1cd3('0x1565')]!==_0x438ce3['id']){_0x438ce3[_0x1cd3('0x15b5')]+=0x1;}return _0x24277b[_0x70778f[_0x1cd3('0x157f')]+_0x1cd3('0xf2d')][_0x1cd3('0x923')]({'id':_0x70778f['id'],'UserId':_0x318f2d['user']['id']})['$promise'][_0x1cd3('0xfd')](_0x3517ae());}}else{_0x405122[_0x1cd3('0x15b6')]({'title':_0x70778f[_0x1cd3('0x486')],'msg':_0x70778f[_0x1cd3('0x15b7')]||'','showClose':![],'clickToClose':![],'timeout':![],'sound':_0x70778f[_0x1cd3('0xf53')],'html':!![],'shake':_0x70778f[_0x1cd3('0x15b8')]||![],'onAdd':function(){_0x318f2d[_0x1cd3('0x1566')][_0x70778f[_0x1cd3('0x6b4')]]=this['id'];},'onAccept':function(){_0x4558aa(_0x70778f);if(_0x24277b[_0x70778f[_0x1cd3('0x157f')]+_0x1cd3('0xf2d')]){return _0x24277b[_0x70778f[_0x1cd3('0x157f')]+'Message'][_0x1cd3('0x923')]({'id':_0x70778f['id'],'UserId':_0x318f2d[_0x1cd3('0x368')]['id'],'manual':!![]})[_0x1cd3('0x81')]['then'](function(_0x460a2e){_0x406f70(_0x460a2e[_0x1cd3('0x157f')],_0x460a2e[_0x1cd3('0x1332')]);_0x405122[_0x1cd3('0x473')]({'title':'Message\x20properly\x20accepted!','msg':'Message\x20has\x20been\x20accepted!'});})[_0x1cd3('0xfd')](_0x3517ae());}},'onReject':function(){_0x4558aa(_0x70778f);if(_0x24277b[_0x70778f['channel']+_0x1cd3('0xf2d')]){return _0x24277b[_0x70778f[_0x1cd3('0x157f')]+_0x1cd3('0xf2d')][_0x1cd3('0x3a7')]({'id':_0x70778f['id'],'UserId':_0x318f2d['user']['id']})['$promise'][_0x1cd3('0x77')](function(_0x5282af){_0x405122[_0x1cd3('0x473')]({'title':_0x1cd3('0x15b9'),'msg':'Message\x20has\x20been\x20rejected!'});})['catch'](_0x3517ae());}}});}}}function _0x4558aa(_0x713e13){if(_0x713e13&&_0x713e13[_0x1cd3('0x6b4')]){if(_0x318f2d['notifications'][_0x713e13[_0x1cd3('0x6b4')]]){_0x405122[_0x1cd3('0x785')](_0x318f2d['notifications'][_0x713e13[_0x1cd3('0x6b4')]]);delete _0x318f2d[_0x1cd3('0x1566')][_0x713e13['uniqueid']];}}}function _0xf71e82(_0xa9d097){var _0xaef12={'ListId':_0xa9d097[_0x1cd3('0x106')],'limit':0x1,'offset':0x0,'sort':_0x1cd3('0x5b')},_0x4ae6db=![];var _0x523aba=_0xa9d097[_0x1cd3('0x15ba')]&&_0xa9d097[_0x1cd3('0x15ba')]!==_0x1cd3('0x15bb')?_0xa9d097[_0x1cd3('0x15ba')]:_0xa9d097[_0x1cd3('0x15ae')]||_0xa9d097['uniqueid'];var _0x2c7d7f=_0xa9d097['calleridnum'];if(!_[_0x1cd3('0x472')](_0xa9d097['xmd-contactid'])){_0xaef12['id']=_0xa9d097[_0x1cd3('0x15bc')];_0x4ae6db=!![];if(!_['isNil'](_0xa9d097[_0x1cd3('0x15bd')])&&parseInt(_0xa9d097[_0x1cd3('0x15bd')],0xa)!==_0xa9d097[_0x1cd3('0x106')]){if(_0xa9d097['xmd-contactid2']){_0xaef12['id']=_0xa9d097['xmd-contactid2'];}}}else if(!_[_0x1cd3('0x472')](_0xa9d097[_0x1cd3('0x15be')])){_0xaef12['phone']=_0xa9d097[_0x1cd3('0x15bf')];_0x523aba=_0xa9d097['destcalleridname']&&_0xa9d097[_0x1cd3('0x15c0')]!==_0x1cd3('0x15bb')?_0xa9d097[_0x1cd3('0x15c0')]:_0xa9d097[_0x1cd3('0x15bf')]||_0xa9d097[_0x1cd3('0x6b4')];_0x2c7d7f=_0xa9d097[_0x1cd3('0x15bf')];}else{_0xaef12['phone']=_0xa9d097[_0x1cd3('0x15ae')];}return _0x24277b[_0x1cd3('0xb3d')][_0x1cd3('0x361')](_0xaef12)['$promise']['then'](function(_0x497fcd){if(_0x4ae6db){if(_0x497fcd){_0x318f2d[_0x1cd3('0x15c1')](_0x497fcd,_0xa9d097);}}else if(_0x497fcd[_0x1cd3('0x466')]&&_0x497fcd[_0x1cd3('0xf6')][0x0]){_0x318f2d[_0x1cd3('0x15c1')](_0x497fcd[_0x1cd3('0xf6')][0x0],_0xa9d097);}else{_0x318f2d[_0x1cd3('0x15c1')]({'firstName':_0x523aba,'ListId':_0xa9d097['ListId'],'phone':_0x2c7d7f},_0xa9d097);}})[_0x1cd3('0xfd')](_0x3517ae());}function _0x31d38f(_0x7cb5bc){return _0x24277b[_0x1cd3('0xc42')][_0x1cd3('0x361')]({'id':_0x7cb5bc['ProjectId']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x17b1c2){if(_0x17b1c2){if(_[_0x1cd3('0x529')](_0x7cb5bc[_0x1cd3('0x15bc')])){try{_0x17b1c2[_0x1cd3('0x15c2')]=Mustache[_0x1cd3('0x15c3')](_0x17b1c2['formData'],_['merge'](_0x7cb5bc,{'user':_0x318f2d[_0x1cd3('0x368')]}));}catch(_0xc8b176){console[_0x1cd3('0x434')](_0xc8b176);}_0x3f6942({'type':_0x1cd3('0x1ca'),'title':_0x17b1c2[_0x1cd3('0x98')],'icon':_0x1cd3('0x15c4'),'color':_0x1cd3('0x9bd'),'project':_0x17b1c2,'call':_0x7cb5bc});}else{return _0x24277b[_0x1cd3('0xb3d')][_0x1cd3('0x361')]({'id':_0x7cb5bc[_0x1cd3('0x15bc')]})[_0x1cd3('0x81')]['then'](function(_0x243c34){try{_0x17b1c2['formData']=Mustache[_0x1cd3('0x15c3')](_0x17b1c2['formData'],_[_0x1cd3('0xf2')](_0x7cb5bc,{'user':_0x318f2d[_0x1cd3('0x368')],'contact':_0x243c34}));}catch(_0x575dac){console[_0x1cd3('0x434')](_0x575dac);}_0x3f6942({'type':_0x1cd3('0x1ca'),'title':_0x17b1c2['name'],'icon':_0x1cd3('0x15c4'),'color':'grey','project':_0x17b1c2,'call':_0x7cb5bc,'contact':_0x243c34});})[_0x1cd3('0xfd')](_0x3517ae());}}})[_0x1cd3('0xfd')](_0x3517ae());}function _0x235415(_0x2e1a00){var _0x5f31c6=_0x2e1a00['calleridname']&&_0x2e1a00['calleridname']!==_0x1cd3('0x15bb')?_0x2e1a00[_0x1cd3('0x15ba')]:_0x2e1a00[_0x1cd3('0x15ae')];var _0x3ce7cf=_0x2e1a00[_0x1cd3('0x15ae')];return _0x24277b['squareMessage']['get']({'fields':'id','limit':0x1,'offset':0x0,'uniqueid':_0x2e1a00['uniqueid']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x28f7b0){if(_0x28f7b0[_0x1cd3('0x466')]){_0x3f6942({'type':_0x1cd3('0x15c5'),'title':_0x5f31c6+'\x20<'+_0x3ce7cf+'>','icon':_0x1cd3('0x15c6'),'color':'pink','data':{'uniqueid':_0x2e1a00['uniqueid']}});}});}function _0x255ca2(_0x50b4d4){console['debug'](_0x1cd3('0x15c7'),_0x50b4d4);for(var _0x58ee16 in _0x318f2d[_0x1cd3('0x1567')]){if(_0x318f2d[_0x1cd3('0x1567')]['hasOwnProperty'](_0x58ee16)){var _0x16cc27=_0x318f2d['tabs'][_0x58ee16];if(_0x16cc27[_0x1cd3('0x597')]){console['debug'](_0x1cd3('0x15c8'),_0x58ee16,_0x16cc27,_0x16cc27[_0x1cd3('0x597')]);var _0x42e15a=_['findIndex'](_0x16cc27['calls'],function(_0x1270d6){return _0x1270d6[_0x1cd3('0x6b4')]===_0x50b4d4[_0x1cd3('0x6b4')];});if(_0x42e15a>=0x0&&!_0x16cc27[_0x1cd3('0x597')][_0x42e15a][_0x1cd3('0x15a4')]){console[_0x1cd3('0x5f9')]('Allowing\x20disposition\x20for\x20call\x20%s',_0x50b4d4['uniqueid']);_0x544a82(_0x16cc27['calls'][_0x42e15a]);}else{console[_0x1cd3('0x5f9')](_0x1cd3('0x15c9'),_0x50b4d4['uniqueid']);}if(_0x318f2d[_0x1cd3('0x105')]&&_0x318f2d['contact']['id']){$timeout(_0x25c8b6(_0x50b4d4[_0x1cd3('0x6b4')],_0x318f2d[_0x1cd3('0x105')]['id'],_0x16cc27),0x3e8);}}}}_0x594934();}function _0x25c8b6(_0x10f73b,_0x4a1ce9,_0x3045c4){return function(){var _0x512d76=_[_0x1cd3('0x442')](_0x3045c4['calls'],function(_0x1cb733){return _0x1cb733[_0x1cd3('0x6b4')]===_0x10f73b;});if(_0x512d76){return _0x24277b['voiceCallReport'][_0x1cd3('0x378')]({'id':_0x10f73b,'ContactId':_0x4a1ce9})['$promise']['catch'](function(_0x6abe64){console[_0x1cd3('0x434')](_0x6abe64);});}};}function _0x544a82(_0x3f6dba){_0x3f6dba[_0x1cd3('0x15a4')]=new Date();}function _0x3517ae(){return function(_0x337084){if(_0x337084[_0x1cd3('0x3a6')]===0x194){_0x405122[_0x1cd3('0x5c4')]({'title':_0x2c34ac[_0x1cd3('0x44a')](_0x1cd3('0x15ca')),'msg':_0x2c34ac[_0x1cd3('0x44a')](_0x1cd3('0x15cb'))});}else if(_0x337084[_0x1cd3('0x439')]&&_0x337084[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x337084['data']['errors'][_0x1cd3('0x7a')]){_0x318f2d[_0x1cd3('0xd34')]=_0x337084['data']['errors']||[{'message':_0x337084[_0x1cd3('0x43b')](),'type':_0x1cd3('0x15cc')}];for(var _0x4de927=0x0;_0x4de927<_0x337084[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x4de927+=0x1){_0x405122[_0x1cd3('0x434')]({'title':_0x337084[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x4de927][_0x1cd3('0x424')],'msg':_0x337084[_0x1cd3('0x439')]['errors'][_0x4de927]['message']});}}else{_0x405122[_0x1cd3('0x434')]({'title':_0x337084[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x337084[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x337084[_0x1cd3('0xd35')]:_0x1cd3('0x15cc'),'msg':_0x337084[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x337084[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x337084[_0x1cd3('0x43b')]()});}};}_0x1ae6e7['$on']('$destroy',function(){for(var _0x3df982 in _0x318f2d['notifications']){if(_0x318f2d[_0x1cd3('0x1566')][_0x1cd3('0x3d0')](_0x3df982)){_0x4558aa({'uniqueid':_0x3df982});}}_0x2fdbb9[_0x1cd3('0x6a3')](_0x1cd3('0x1577'));_0x2fdbb9[_0x1cd3('0x6a3')](_0x1cd3('0x1578'));_0x2fdbb9[_0x1cd3('0x6a3')](_0x1cd3('0x15cd'));_0x2fdbb9['removeAllListeners'](_0x1cd3('0x157a'));_0x2fdbb9[_0x1cd3('0x6a3')](_0x1cd3('0x157b'));_0x2fdbb9['removeAllListeners'](_0x1cd3('0x157c'));_0x2fdbb9[_0x1cd3('0x6a3')](_0x1cd3('0x15ce'));_0x2fdbb9[_0x1cd3('0x6a3')](_0x1cd3('0x157e'));});}function _0x50c77c(_0xbacfae,_0x381224,_0x7c0575,_0x59623a){var _0x4141d4={};var _0x132334={};var _0x173168={};var _0x568ff0={};_0x4141d4[_0x1cd3('0xe08')]=function(){_0x4141d4[_0x1cd3('0x15cf')]=_0x6e44fe();};_0x4141d4[_0x1cd3('0x15d0')]=function(_0x3f8edd){_0x4141d4['drafts']=_0x6e44fe();return _[_0x1cd3('0x442')](_['values'](_0x4141d4[_0x1cd3('0x15cf')]),function(_0x29ddd7){return _0x29ddd7['interaction']&&_0x29ddd7[_0x1cd3('0x1332')]['id']===_0x3f8edd;});};_0x4141d4[_0x1cd3('0x15d1')]=function(_0x209853){_0x4141d4[_0x1cd3('0x15cf')]=_0x6e44fe();var _0x2242c3=_[_0x1cd3('0x442')](_[_0x1cd3('0x42d')](_0x4141d4[_0x1cd3('0x15cf')]),function(_0x3e8757){return _0x3e8757[_0x1cd3('0x1332')]&&_0x3e8757[_0x1cd3('0x1332')]['id']===_0x209853;});if(_0x2242c3){delete _0x4141d4[_0x1cd3('0x15cf')][_0x2242c3['id']];_0x331955();}};_0x4141d4[_0x1cd3('0x425')]=function(_0x24546e){_0x4141d4[_0x1cd3('0x15cf')]=_0x6e44fe();var _0x4da262=_0x381224[_0x1cd3('0x44a')](_0x1cd3('0x15d2'));if(_0x24546e['contact']){_0x4da262=_0x24546e[_0x1cd3('0x105')][_0x1cd3('0x1447')]||_0x24546e[_0x1cd3('0x105')][_0x1cd3('0x1325')];}else if(!_['isEmpty'](_0x24546e[_0x1cd3('0x43a')][_0x1cd3('0x1327')])){_0x4da262=_0x24546e[_0x1cd3('0x43a')][_0x1cd3('0x1327')];}var _0x45468a={'type':_0x1cd3('0x1584'),'title':_0x24546e[_0x1cd3('0x15d3')]['key']+_0x1cd3('0x436')+_0x4da262,'channel':_0x24546e[_0x1cd3('0x157f')],'content':_0x24546e[_0x1cd3('0x43a')],'account':_0x24546e[_0x1cd3('0x15d3')],'interaction':_0x24546e[_0x1cd3('0x1332')],'id':_[_0x1cd3('0x6b2')](0x2540be400),'openedAt':new Date(),'saved':![]};_0x4141d4['drafts'][_0x45468a['id']]=_0x45468a;_0x331955();};_0x4141d4[_0x1cd3('0x378')]=function(_0x2affaa){_0x4141d4[_0x1cd3('0x15cf')]=_0x6e44fe();var _0x593549=_0x4141d4[_0x1cd3('0x15cf')][_0x2affaa['id']];if(_0x593549){_0x593549[_0x1cd3('0xd3b')]=_0x2affaa[_0x1cd3('0x43a')];_0x4141d4['drafts'][_0x2affaa['id']]=_0x593549;_0x331955();}};_0x4141d4[_0x1cd3('0xee4')]=function(_0x36e43a){_0x4141d4['drafts']=_0x6e44fe();var _0x402957=_0x4141d4[_0x1cd3('0x15cf')][_0x36e43a];if(_0x402957){_0xbacfae[_0x1cd3('0x46c')](_0x1cd3('0xee4')+_[_0x1cd3('0xd50')](_0x173168)+_0x1cd3('0x15d4'),_0x402957);}};_0x4141d4[_0x1cd3('0x383')]=function(_0x50fcbc){_0x4141d4['drafts']=_0x6e44fe();if(_0x4141d4[_0x1cd3('0x15cf')][_0x50fcbc]){delete _0x4141d4[_0x1cd3('0x15cf')][_0x50fcbc];_0x331955();}};function _0x6e44fe(){_0x132334=_0x59623a[_0x1cd3('0x5d')]();var _0x305e44=_0x7c0575[_0x1cd3('0x385')]['getItem'](_0x1cd3('0x15d5')+_0x132334['id']);if(_0x305e44){_0x173168=JSON[_0x1cd3('0x79')](_0x305e44)[_0x1cd3('0x15d6')];}else{_0x173168=_0x1cd3('0xa9e');}_0x568ff0=_0x7c0575[_0x1cd3('0x385')][_0x1cd3('0x3e0')](_0x1cd3('0x15d7')+_0x173168+':'+_0x132334['id']);if(_0x568ff0){var _0x472c2a=JSON[_0x1cd3('0x79')](_0x568ff0);if(!_0x472c2a[_0x1cd3('0x15cf')]){_0x472c2a['drafts']={};}_0x568ff0=_0x472c2a;}else{_0x568ff0={'drafts':{}};}return _0x568ff0[_0x1cd3('0x15cf')];}function _0x331955(){if(_['isEmpty'](_0x4141d4[_0x1cd3('0x15cf')])){delete _0x568ff0['drafts'];}else{_0x568ff0[_0x1cd3('0x15cf')]=_0x4141d4['drafts'];}_0x7c0575['localStorage']['setItem'](_0x1cd3('0x15d7')+_0x173168+':'+_0x132334['id'],JSON[_0x1cd3('0x438')](_0x568ff0));}return _0x4141d4;}}());(function(){'use strict';angular[_0x1cd3('0x0')]('app.dashboards')[_0x1cd3('0x3b3')](_0x1cd3('0x1562'),_0x978e0c)[_0x1cd3('0x3b3')]('msNavigationAgentService',_0x2b901b)[_0x1cd3('0x9b8')](_0x1cd3('0x15d8'),{'DEFAULT':_0x1cd3('0x5bd'),'GRANTED':_0x1cd3('0x15d9'),'DENIED':_0x1cd3('0x15da')});function _0x978e0c(){var _0x768f23={'autoClose':!![],'duration':0x5,'showOnPageHidden':![]};return{'config':_0x51abfa,'$get':['$q','$timeout','$window',_0x1cd3('0x15d8'),_0x3f7814]};function _0x51abfa(_0x344e47){for(var _0x332a1c in _0x344e47){if(_0x768f23[_0x1cd3('0x3d0')](_0x332a1c)&&_0x344e47[_0x332a1c]!=undefined){_0x768f23[_0x332a1c]=_0x344e47[_0x332a1c];}}}function _0x3f7814(_0x87f798,_0x2f7dca,_0x5e3935,_0x2cbd2c){var _0x5158a8=_0x5e3935['Notification']||_0x5e3935[_0x1cd3('0x15db')]||_0x5e3935[_0x1cd3('0x15dc')];var _0x408a79={'isSupported':_0x1349c1,'currentPermission':_0x3d5681,'requestPermission':_0xe1a9e,'show':_0x2ba032,'permissions':{'default':_0x2cbd2c['DEFAULT'],'granted':_0x2cbd2c[_0x1cd3('0x15dd')],'denied':_0x2cbd2c[_0x1cd3('0x15de')]}};return _0x408a79;function _0x1349c1(){return!(typeof _0x5158a8===_0x1cd3('0x491'));}function _0x3d5681(){return(_0x5158a8||{})[_0x1cd3('0x15df')];}function _0xe1a9e(){if(!_0x1349c1())return _0x87f798[_0x1cd3('0x3a7')](_0x1cd3('0x15e0'));var _0x174adf=_0x87f798[_0x1cd3('0x53a')]();if(Promise[_0x1cd3('0x58')](_0x5158a8['requestPermission'])==_0x5158a8[_0x1cd3('0x934')]){_0x5158a8['requestPermission']()[_0x1cd3('0x77')](function(_0x2efc3c){if(_0x2cbd2c[_0x1cd3('0x15dd')]===_0x2efc3c){_0x174adf[_0x1cd3('0x58')](_0x2efc3c);}else{_0x174adf['reject'](_0x2efc3c);}});}else{_0x5158a8[_0x1cd3('0x934')](function(_0xea4c8c,_0x1cc364){if(_0x2cbd2c[_0x1cd3('0x15dd')]===_0xea4c8c){_0x174adf[_0x1cd3('0x58')](_0xea4c8c);}else{_0x174adf[_0x1cd3('0x3a7')](_0xea4c8c);}});}return _0x174adf[_0x1cd3('0x539')];}function _0x2ba032(_0x3856e1,_0x4d356a){_0x4d356a=_0x4d356a||{};if(!_0x1349c1()||!_0x2cc5d9(_0x3856e1,_0x4d356a)||_0x4e8d3a(_0x4d356a['showOnPageHidden'])||_0x3d5681()!==_0x2cbd2c['GRANTED'])return;var _0x114ce8=new _0x5158a8(_0x3856e1,_0x4d356a);var _0x6d01f0=_0x4d356a[_0x1cd3('0x15e1')]||_0x768f23[_0x1cd3('0x15e1')];var _0x3106fd=_0x4d356a[_0x1cd3('0x15e2')]===undefined?_0x768f23[_0x1cd3('0x15e2')]:_0x4d356a[_0x1cd3('0x15e2')];_0x114ce8['onclick']=function(){_0x4d356a[_0x1cd3('0x15e3')]&&_0x4d356a['onClick']();if(_0x4d356a['focusOnclick']){window[_0x1cd3('0x15e4')]();}if(_0x4d356a[_0x1cd3('0x15e5')]){_0x114ce8[_0x1cd3('0x3cf')]();}};if(_0x3106fd)_0x3397(_0x114ce8,_0x6d01f0);return _0x114ce8;}function _0x2cc5d9(_0x50985a,_0x57526f){var _0x21dda3=angular['isString'](_0x50985a),_0x617268=!_0x57526f[_0x1cd3('0x15e3')]||angular[_0x1cd3('0x3a8')](_0x57526f['onClick']);return _0x21dda3&&_0x617268;}function _0x4e8d3a(_0x1a01d3){if(!_0x1a01d3&&!_0x768f23[_0x1cd3('0x15e6')])return;return!(window['document']['hidden']||window['document'][_0x1cd3('0x925')]||window[_0x1cd3('0x924')][_0x1cd3('0x926')]);}function _0x3397(_0x5f3064,_0x1806d9){var _0x5b90dd=_0x1806d9*0x3e8;_0x2f7dca(_0x5f3064[_0x1cd3('0x3cf')][_0x1cd3('0x5b2')](_0x5f3064),_0x5b90dd,![]);}}}function _0x2b901b(){var _0x6ebb1=angular[_0x1cd3('0x360')](['ng'])['get']('$log');var _0x1d4ff5=[];var _0xa43e1d=this;_0xa43e1d[_0x1cd3('0x547')]=_0x58b19c;_0xa43e1d[_0x1cd3('0x548')]=_0x103979;function _0x58b19c(_0x336179,_0x13343e){if(!angular[_0x1cd3('0x54a')](_0x336179)){_0x6ebb1[_0x1cd3('0x434')](_0x1cd3('0x15e7'));return;}var _0x3bc86c=_0x336179[_0x1cd3('0x3ef')]('.');var _0xb51da1=_0x3bc86c[_0x3bc86c[_0x1cd3('0x7a')]-0x1];var _0x49add0=_0x52fe56(_0x3bc86c);var _0x5a33b2=![];for(var _0x498bc8=0x0;_0x498bc8<_0x49add0[_0x1cd3('0x7a')];_0x498bc8++){if(_0x49add0[_0x498bc8][_0x1cd3('0x54b')]===_0xb51da1){_0x5a33b2=_0x49add0[_0x498bc8];break;}}if(_0x5a33b2){angular[_0x1cd3('0x4d2')](_0x5a33b2,_0x13343e);_0x5a33b2[_0x1cd3('0x54f')]=_0x56a346(_0x5a33b2);}else{_0x13343e['children']=[];if(angular['isUndefined'](_0x13343e[_0x1cd3('0x54c')])||!angular[_0x1cd3('0x54d')](_0x13343e['weight'])){_0x13343e['weight']=0x1;}_0x13343e[_0x1cd3('0x54b')]=_0xb51da1;_0x13343e[_0x1cd3('0x54e')]=_0x336179;_0x13343e[_0x1cd3('0x54f')]=_0x56a346(_0x13343e);_0x49add0[_0x1cd3('0x7b')](_0x13343e);}}function _0x103979(_0x27b499){if(!angular[_0x1cd3('0x54a')](_0x27b499)){_0x6ebb1[_0x1cd3('0x434')](_0x1cd3('0x15e7'));return;}var _0xa6befd=_0x1d4ff5,_0x148bc8=_0x27b499[_0x1cd3('0x3ef')]('.');for(var _0x364486=0x0;_0x364486<_0x148bc8['length'];_0x364486++){var _0x2a1ae0=_0x148bc8[_0x364486];for(var _0x19589c=0x0;_0x19589c<_0xa6befd[_0x1cd3('0x7a')];_0x19589c++){if(_0xa6befd[_0x19589c][_0x1cd3('0x54b')]===_0x2a1ae0){if(_0xa6befd[_0x19589c][_0x1cd3('0x54e')]===_0x27b499){_0xa6befd['splice'](_0x19589c,0x1);return!![];}_0xa6befd=_0xa6befd[_0x19589c][_0x1cd3('0x52b')];break;}}}return![];}function _0x52fe56(_0xfd283b){var _0x273b95=_0x1d4ff5;if(_0xfd283b[_0x1cd3('0x7a')]===0x1){return _0x273b95;}_0xfd283b['pop']();for(var _0x2e1756=0x0;_0x2e1756<_0xfd283b[_0x1cd3('0x7a')];_0x2e1756++){var _0x47ea3f=_0xfd283b[_0x2e1756],_0x2684cb=!![];for(var _0x593afa=0x0;_0x593afa<_0x273b95[_0x1cd3('0x7a')];_0x593afa++){if(_0x273b95[_0x593afa]['_id']===_0x47ea3f){_0x273b95=_0x273b95[_0x593afa]['children'];_0x2684cb=![];break;}}if(_0x2684cb){var _0x567792={'_id':_0x47ea3f,'_path':_0xfd283b['join']('.'),'title':_0x47ea3f,'weight':0x1,'children':[]};_0x273b95[_0x1cd3('0x7b')](_0x567792);_0x273b95=_0x567792[_0x1cd3('0x52b')];}}return _0x273b95;}function _0x56a346(_0x512eb2){var _0x228143='';if(angular[_0x1cd3('0x4bf')](_0x512eb2[_0x1cd3('0x19')])){_0x228143=_0x512eb2['state'];if(angular[_0x1cd3('0x4bf')](_0x512eb2['stateParams'])&&angular[_0x1cd3('0x551')](_0x512eb2[_0x1cd3('0x570')])){_0x228143=_0x228143+'('+angular[_0x1cd3('0x552')](_0x512eb2[_0x1cd3('0x570')])+')';}}return _0x228143;}this[_0x1cd3('0x3b5')]=function(){var _0x333829={'saveItem':_0x58b19c,'getNavigation':_0x5c69b2};return _0x333829;function _0x5c69b2(_0x6e60d1){if(_0x6e60d1){for(var _0x1fb73f=0x0;_0x1fb73f<_0x1d4ff5[_0x1cd3('0x7a')];_0x1fb73f++){if(_0x1d4ff5[_0x1fb73f]['_id']===_0x6e60d1){return[_0x1d4ff5[_0x1fb73f]];}}return null;}return _0x1d4ff5;}};}}());(function(){'use strict';_0x380ba4['$inject']=['api'];angular[_0x1cd3('0x0')](_0x1cd3('0x2a'))[_0x1cd3('0x39b')]('AgentGeneralBotController',_0x380ba4);function _0x380ba4(_0x5ec852){var _0x19f7e0=this;_0x19f7e0[_0x1cd3('0xc49')]={};_0x19f7e0[_0x1cd3('0x15e8')]={'count':0x0,'rows':[]};_0x19f7e0[_0x1cd3('0x15e9')]=![];_0x19f7e0[_0x1cd3('0xe08')]=_0x4a1fd5;_0x19f7e0[_0x1cd3('0x15ea')]=_0x5188bc;function _0x4a1fd5(_0x53d635,_0x320e03){_0x19f7e0['setting']=_0x320e03;_0x19f7e0[_0x1cd3('0x1418')]=_0x53d635;_0x19f7e0[_0x1cd3('0x1418')]['saved']=!![];if(_0x19f7e0['tab']&&_0x19f7e0['tab'][_0x1cd3('0x439')]&&_0x19f7e0['tab']['data'][_0x1cd3('0x6b4')]){return _0x5ec852[_0x1cd3('0xc5d')]['get']({'uniqueid':_0x19f7e0[_0x1cd3('0x1418')]['data']['uniqueid']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x406850){_0x19f7e0[_0x1cd3('0x15e8')]=_0x406850;})['finally'](function(){_0x19f7e0[_0x1cd3('0x15e9')]=!![];});}else{_0x19f7e0[_0x1cd3('0x15e9')]=!![];}}function _0x5188bc(_0x449958){switch(_0x19f7e0['setting'][_0x1cd3('0x15eb')]){case _0x1cd3('0x762'):if(_0x449958[_0x1cd3('0x5e0')]=='in'){return _0x449958[_0x1cd3('0x5e0')];}return _0x1cd3('0x15ec');case _0x1cd3('0x58e'):if(_0x449958[_0x1cd3('0x5e0')]=='in'){return'in-right-aligned';}return _0x449958[_0x1cd3('0x5e0')];default:return _0x449958[_0x1cd3('0x5e0')];}}}}());(function(){'use strict';_0x250623[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),_0x1cd3('0x372'),'$timeout','$scope','$q',_0x1cd3('0x370'),_0x1cd3('0x461'),_0x1cd3('0x56'),_0x1cd3('0x3f7'),'msUtils'];angular['module']('app.dashboards')['controller'](_0x1cd3('0x15ed'),_0x250623);function _0x250623(_0x44b4d5,_0x49faa2,_0xebde1d,_0x803978,_0x57ef3d,_0x8350d4,_0x455b16,_0x1e610b,_0x392e51,_0x38c43f){var _0x3e6cd7=this;_0x3e6cd7[_0x1cd3('0x368')]=_0x1e610b['getCurrentUser']();_0x3e6cd7[_0x1cd3('0x3c2')]=_0x38c43f[_0x1cd3('0x3c2')]();_0x3e6cd7['journey']=[];_0x3e6cd7['queryHopper']={'fields':_0x1cd3('0x15ee'),'sort':_0x1cd3('0x5b'),'limit':0xa,'page':0x1};_0x3e6cd7['queryFinal']={'fields':'uniqueid,calleridnum,statedesc,starttime,disposition','sort':_0x1cd3('0x5b'),'limit':0xa,'page':0x1};_0x3e6cd7['queryHistory']={'fields':'uniqueid,calleridnum,statedesc,scheduledat,starttime,endtime','sort':_0x1cd3('0x5b'),'limit':0xa,'page':0x1};_0x3e6cd7[_0x1cd3('0x1463')]={'rows':[],'count':0x0};_0x3e6cd7['finals']={'rows':[],'count':0x0};_0x3e6cd7['histories']={'rows':[],'count':0x0};_0x3e6cd7[_0x1cd3('0x1473')]=new Date(moment()[_0x1cd3('0x12e')](_0x1cd3('0x6e8'))[_0x1cd3('0x6e6')](0x1,_0x1cd3('0x791'))[_0x1cd3('0x12f')](0x0,!![])['format']());_0x3e6cd7[_0x1cd3('0x15ef')]=new Date(moment()[_0x1cd3('0x131')]('month')['subtract'](0x1,_0x1cd3('0x138'))[_0x1cd3('0x12f')](0x0,!![])['format']());_0x3e6cd7[_0x1cd3('0x1457')]=_0x22fba4;_0x3e6cd7['saveContact']=_0x2932f7;_0x3e6cd7[_0x1cd3('0x145a')]=_0xe90e6e;_0x3e6cd7[_0x1cd3('0x46d')]=_0x803978[_0x1cd3('0x70b')]['vm'][_0x1cd3('0x46d')];_0x3e6cd7[_0x1cd3('0x15f0')]=_0x1e35c0;_0x3e6cd7[_0x1cd3('0x1427')]=_0x519cda;_0x3e6cd7[_0x1cd3('0x1426')]=_0x441a60;_0x3e6cd7[_0x1cd3('0xd31')]=_0x459a69;_0x3e6cd7[_0x1cd3('0x15f1')]=_0x374194;_0x3e6cd7[_0x1cd3('0x1480')]=_0x2bd5eb;_0x3e6cd7['getFinals']=_0x325479;_0x3e6cd7[_0x1cd3('0x1482')]=_0x578df6;_0x3e6cd7[_0x1cd3('0x15f2')]=_0x20ee3e;_0x3e6cd7[_0x1cd3('0x15f3')]=_0x44ad51;_0x3e6cd7[_0x1cd3('0x15f4')]=_0xbe776b;_0x3e6cd7[_0x1cd3('0x15f5')]=_0x1f2167;_0x3e6cd7[_0x1cd3('0x15f6')]=_0x5756e3;_0x3e6cd7[_0x1cd3('0x15f7')]=_0x31636d;_0x3e6cd7[_0x1cd3('0x11ec')]=_0x2286a8;_0x3e6cd7[_0x1cd3('0x1545')]=_0x42a7bc;_0x3e6cd7[_0x1cd3('0x15f8')]=_0x166d35;_0x3e6cd7[_0x1cd3('0xe08')]=_0x16f220;_0x3e6cd7[_0x1cd3('0x369')]=_0x2a88ed;_0x3e6cd7[_0x1cd3('0x15f9')]=_0x146507;_0x3e6cd7[_0x1cd3('0x1485')]=_0x1704ae;_0x3e6cd7['isMyAccount']=_0xa34d20;_0x3e6cd7['getJscriptyProjects']();function _0xa34d20(_0x176f7e){if(_0x176f7e[_0x1cd3('0x148f')]){return _['includes'](_['map'](_0x3e6cd7['faxAccounts']?_0x3e6cd7[_0x1cd3('0x15fa')][_0x1cd3('0xf6')]:[],'id'),_0x176f7e[_0x1cd3('0x148f')]);}else if(_0x176f7e[_0x1cd3('0x1490')]){return _['includes'](_['map'](_0x3e6cd7['openchannelAccounts']?_0x3e6cd7[_0x1cd3('0x15fb')][_0x1cd3('0xf6')]:[],'id'),_0x176f7e[_0x1cd3('0x1490')]);}else if(_0x176f7e[_0x1cd3('0x1491')]){return _['includes'](_[_0x1cd3('0x3d9')](_0x3e6cd7[_0x1cd3('0xefe')]?_0x3e6cd7['smsAccounts'][_0x1cd3('0xf6')]:[],'id'),_0x176f7e['SmsAccountId']);}else if(_0x176f7e['WhatsappAccountId']){return _[_0x1cd3('0x38f')](_[_0x1cd3('0x3d9')](_0x3e6cd7[_0x1cd3('0x15fc')]?_0x3e6cd7[_0x1cd3('0x15fc')]['rows']:[],'id'),_0x176f7e[_0x1cd3('0x1583')]);}else if(_0x176f7e[_0x1cd3('0x1492')]){return _['includes'](_[_0x1cd3('0x3d9')](_0x3e6cd7[_0x1cd3('0xefa')]?_0x3e6cd7['mailAccounts'][_0x1cd3('0xf6')]:[],'id'),_0x176f7e[_0x1cd3('0x1492')]);}else if(_0x176f7e[_0x1cd3('0x1203')]){return _['includes'](_[_0x1cd3('0x3d9')](_0x3e6cd7[_0x1cd3('0x15fd')]?_0x3e6cd7['chatAccounts'][_0x1cd3('0xf6')]:[],'id'),_0x176f7e[_0x1cd3('0x1203')]);}else if(_0x176f7e['amaflags']){return!![];}return![];}function _0x146507(_0xd3ca7b,_0xd504e4){try{if(_0xd504e4['MailAccountId']){return _0x803978[_0x1cd3('0x70b')][_0x1cd3('0x70b')]['$parent']['vm'][_0x1cd3('0x1574')]('mail',_0xd504e4);}else if(_0xd504e4[_0x1cd3('0x1203')]){return _0x803978[_0x1cd3('0x70b')][_0x1cd3('0x70b')]['$parent']['vm'][_0x1cd3('0x1574')]('chat',_0xd504e4);}else if(_0xd504e4[_0x1cd3('0x1491')]){return _0x803978['$parent']['$parent'][_0x1cd3('0x70b')]['vm'][_0x1cd3('0x1574')](_0x1cd3('0x26b'),_0xd504e4);}else if(_0xd504e4[_0x1cd3('0x1583')]){return _0x803978['$parent']['$parent'][_0x1cd3('0x70b')]['vm']['addInteractionTab'](_0x1cd3('0x34a'),_0xd504e4);}else if(_0xd504e4[_0x1cd3('0x1490')]){return _0x803978[_0x1cd3('0x70b')][_0x1cd3('0x70b')][_0x1cd3('0x70b')]['vm'][_0x1cd3('0x1574')]('openchannel',_0xd504e4);}else if(_0xd504e4[_0x1cd3('0x148f')]){return _0x803978[_0x1cd3('0x70b')][_0x1cd3('0x70b')]['$parent']['vm']['addInteractionTab'](_0x1cd3('0x154'),_0xd504e4);}}catch(_0x3ff845){_0x455b16['error']({'title':_0x1cd3('0x15fe'),'msg':_0x1cd3('0x15ff')});}}function _0x4ee439(_0x2683e8){if(_0x2683e8&&_0x2683e8[_0x1cd3('0x466')]&&_0x2683e8[_0x1cd3('0xf6')][_0x1cd3('0x7a')]){_0x3e6cd7[_0x1cd3('0x146f')]=_[_0x1cd3('0x3ae')](_0x3e6cd7['journey'],_0x2683e8[_0x1cd3('0xf6')]);}}function _0x27b73e(_0x32ea0d){var _0x26e59c=['mail','chat',_0x1cd3('0x26b'),'openchannel',_0x1cd3('0x154'),_0x1cd3('0x34a')];if(_0x32ea0d&&_0x32ea0d['id']){for(var _0x5a83a1=0x0;_0x5a83a1<_0x26e59c[_0x1cd3('0x7a')];_0x5a83a1++){_0x8350d4[_0x26e59c[_0x5a83a1]+_0x1cd3('0x1495')][_0x1cd3('0x361')]({'ContactId':_0x32ea0d['id'],'journey':!![],'includeAll':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](_0x4ee439);}_0x8350d4['voiceCallReport'][_0x1cd3('0x361')]({'ContactId':_0x32ea0d['id'],'includeAll':!![]})['$promise']['then'](_0x4ee439)['catch'](function(_0x166e95){console['error'](_0x166e95);});}}function _0x390066(_0x51afdd){switch(_0x51afdd){case _0x1cd3('0xbf'):return _0x1cd3('0x148b');case'mail':return _0x1cd3('0x9c5');case _0x1cd3('0x26b'):return'orange';case _0x1cd3('0x22e'):return _0x1cd3('0x148d');case _0x1cd3('0x154'):return _0x1cd3('0x148e');case _0x1cd3('0x34a'):return'lime-A700';default:return _0x1cd3('0x1600');}}function _0x1704ae(_0x4e8d86){var _0x1d2f38='';if(_0x4e8d86[_0x1cd3('0x148f')]){_0x1d2f38='fax';}else if(_0x4e8d86['OpenchannelAccountId']){_0x1d2f38='openchannel';}else if(_0x4e8d86['SmsAccountId']){_0x1d2f38=_0x1cd3('0x26b');}else if(_0x4e8d86[_0x1cd3('0x1583')]){_0x1d2f38=_0x1cd3('0x34a');}else if(_0x4e8d86[_0x1cd3('0x1492')]){_0x1d2f38=_0x1cd3('0x1d2');}else if(_0x4e8d86[_0x1cd3('0x1203')]){_0x1d2f38=_0x1cd3('0xbf');}else if(_0x4e8d86['amaflags']){_0x1d2f38=_0x1cd3('0x121');}return _0x390066(_0x1d2f38);}function _0x16f220(_0x15e886,_0x414f3b){_0x3e6cd7[_0x1cd3('0x1418')]=_0x15e886;_0x803978[_0x1cd3('0x1601')]([_0x1cd3('0x1602'),_0x1cd3('0x1603')],function(_0x257786){_0x3e6cd7[_0x1cd3('0x1418')][_0x1cd3('0x1582')]=_0x257786[0x0]&&_0x257786[0x1];});_0x3e6cd7[_0x1cd3('0x463')]=_0x414f3b;_0x3e6cd7[_0x1cd3('0x105')]=_0x3e6cd7[_0x1cd3('0x1418')][_0x1cd3('0x105')];_0x3e6cd7[_0x1cd3('0x1455')]=![];_0x3e6cd7['currentTab']=0x0;return _0x8350d4[_0x1cd3('0x368')]['get']({'fields':_0x1cd3('0x1494'),'nolimit':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x1e1b1e){_0x3e6cd7[_0x1cd3('0xef4')]=_0x1e1b1e||{'count':0x0,'rows':[]};_0x3e6cd7[_0x1cd3('0x1604')]=_[_0x1cd3('0x3d8')](_[_0x1cd3('0xe2d')](_0x3e6cd7[_0x1cd3('0xef4')][_0x1cd3('0xf6')],'id'),_0x1cd3('0xd3'));return;})[_0x1cd3('0x77')](function(){var _0x204f98=[];for(var _0x25e022=0x0;_0x25e022<_0x3e6cd7[_0x1cd3('0x1418')][_0x1cd3('0x597')][_0x1cd3('0x7a')];_0x25e022++){var _0x239596=_0x3e6cd7[_0x1cd3('0x1418')][_0x1cd3('0x597')][_0x25e022];_0x204f98['push'](_0x8350d4[_0x1cd3('0xa66')][_0x1cd3('0x361')]({'uniqueid':_0x239596[_0x1cd3('0x6b4')]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x2b91c8){if(_0x2b91c8&&_0x2b91c8['rows'][_0x1cd3('0x7a')]>0x0){_0x239596[_0x1cd3('0x15a4')]=_[_0x1cd3('0xf34')](_0x2b91c8[_0x1cd3('0xf6')])['endtime'];}return;}));}return _0x57ef3d['all'](_0x204f98);})['then'](function(){if(_0x3e6cd7[_0x1cd3('0x105')]&&_0x3e6cd7[_0x1cd3('0x105')]['id']){var _0x2bc07d={'id':_0x3e6cd7[_0x1cd3('0x105')]['id'],'ListId':_0x3e6cd7['contact'][_0x1cd3('0x106')],'limit':0x1,'offset':0x0,'sort':_0x1cd3('0x5b')};return _0x8350d4[_0x1cd3('0xb3d')][_0x1cd3('0x361')](_0x2bc07d)[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x2ddf7f){_0x3e6cd7['contact']=_0x2ddf7f;_0x3e6cd7['tab'][_0x1cd3('0x105')]=_0x2ddf7f;return _0x8350d4[_0x1cd3('0x368')][_0x1cd3('0x1605')]({'id':_0x3e6cd7[_0x1cd3('0x368')]['id'],'ids':[_0x3e6cd7[_0x1cd3('0x105')]['id']]});})[_0x1cd3('0x77')](function(){if(_0x3e6cd7['contact'][_0x1cd3('0x106')]){return _0x8350d4[_0x1cd3('0xb63')][_0x1cd3('0x361')]({'ListId':_0x3e6cd7['contact'][_0x1cd3('0x106')]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x2db1ac){_0x3e6cd7[_0x1cd3('0x1418')][_0x1cd3('0x15a5')]=_0x2db1ac;return _0x8350d4[_0x1cd3('0xc8f')][_0x1cd3('0x145a')]({'id':_0x3e6cd7[_0x1cd3('0x105')][_0x1cd3('0x106')]})['$promise'];})[_0x1cd3('0x77')](function(_0x1f67b8){_0x3e6cd7[_0x1cd3('0x1418')][_0x1cd3('0x12fc')]=_0x1f67b8;return;});}return;})[_0x1cd3('0x77')](function(){try{_0x3e6cd7[_0x1cd3('0x1418')][_0x1cd3('0x1606')]=_0x803978['$parent'][_0x1cd3('0x70b')][_0x1cd3('0x70b')]['vm']['globalUserLists'];_0x3e6cd7[_0x1cd3('0x1418')][_0x1cd3('0xf5')]=_0x803978['$parent'][_0x1cd3('0x70b')][_0x1cd3('0x70b')]['vm'][_0x1cd3('0x155f')];_0x3e6cd7[_0x1cd3('0x1418')][_0x1cd3('0x13fd')]=_0x803978[_0x1cd3('0x70b')][_0x1cd3('0x70b')][_0x1cd3('0x70b')]['vm'][_0x1cd3('0x1560')];_0x3e6cd7['tab'][_0x1cd3('0x921')]=_0x803978[_0x1cd3('0x70b')][_0x1cd3('0x70b')][_0x1cd3('0x70b')]['vm'][_0x1cd3('0x1561')];_0x3e6cd7[_0x1cd3('0x1418')][_0x1cd3('0x1581')]=0x0;if(_0x3e6cd7[_0x1cd3('0x105')]['ListId']){_0x3e6cd7[_0x1cd3('0x1418')][_0x1cd3('0x1606')]['rows']=_['unionBy'](_0x3e6cd7[_0x1cd3('0x1418')][_0x1cd3('0x1606')]['rows'],_[_0x1cd3('0x395')](_0x3e6cd7['tab'][_0x1cd3('0xf5')]['rows'],{'id':_0x3e6cd7['contact'][_0x1cd3('0x106')]}),'id');_0x3e6cd7['list']=_[_0x1cd3('0x442')](_0x3e6cd7[_0x1cd3('0x1418')][_0x1cd3('0x1606')][_0x1cd3('0xf6')],{'id':_0x3e6cd7['contact']['ListId']});}}catch(_0x355bed){}_0x3e6cd7['getHoppers']();_0x3e6cd7[_0x1cd3('0x1481')]();_0x3e6cd7[_0x1cd3('0x1482')]();_0x3e6cd7[_0x1cd3('0x15f3')]();_0x3e6cd7[_0x1cd3('0x15f4')]();_0x3e6cd7[_0x1cd3('0x15f5')]();_0x3e6cd7[_0x1cd3('0x15f6')]();_0x3e6cd7[_0x1cd3('0x15f7')]();_0x3e6cd7[_0x1cd3('0x11ec')]();_0x3e6cd7[_0x1cd3('0x1545')]();return;})[_0x1cd3('0x77')](function(){return _0x8350d4[_0x1cd3('0xb3d')][_0x1cd3('0x1607')]({'id':_0x3e6cd7['contact']['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x138aa7){_0x3e6cd7[_0x1cd3('0x1418')][_0x1cd3('0xf9')]=_['map'](_0x138aa7[_0x1cd3('0xf6')],'id');return;});});}else{_0x3e6cd7[_0x1cd3('0x1455')]=!![];if(_0x15e886[_0x1cd3('0x1581')]){console[_0x1cd3('0x7d')](_0x1cd3('0x1581'));return _0x3e6cd7[_0x1cd3('0x1457')]();}return;}})[_0x1cd3('0x77')](_0x27b73e(_0x3e6cd7['contact']));}function _0x166d35(_0x398cc6,_0x4d984c,_0x2a4922,_0x340947){var _0x518a89=_0x4d984c[_0x1cd3('0x433')]();_0x44b4d5[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1608')+_0x4d984c+'InteractionDialogController','controllerAs':'vm','templateUrl':_0x1cd3('0x1609')+_0x4d984c+_0x1cd3('0x125e'),'parent':angular['element'](_0x49faa2[_0x1cd3('0x380')]),'clickOutsideToClose':![],'locals':{'account':_0x2a4922,'message':{'to':_0x518a89=='mail'?_0x340947:_0x340947[_0x1cd3('0x3ef')](',')},'type':_0x1cd3('0x160a'),'interaction':{'Contact':_0x3e6cd7[_0x1cd3('0x105')]}},'fullscreen':!![]})['then'](function(_0x74491a){return _0x8350d4[_0x518a89+_0x1cd3('0x1591')][_0x1cd3('0x9de')]({'id':_0x2a4922['id']},_0x74491a)[_0x1cd3('0x81')]['then'](function(_0x37529b){if(_0x4d984c===_0x1cd3('0x160b')){var _0x1c5e41=_0x37529b;if(_0x1c5e41&&_0x1c5e41[_0x1cd3('0x1317')]&&_0x1c5e41[_0x1cd3('0x1317')]['length']){if(_0x74491a[_0x1cd3('0x160c')]&&_0x74491a[_0x1cd3('0x160c')]['length']){for(var _0x1452b5=0x0;_0x1452b5<_0x74491a[_0x1cd3('0x160c')][_0x1cd3('0x7a')];_0x1452b5+=0x1){_0x8350d4[_0x1cd3('0xc73')][_0x1cd3('0x378')]({'id':_0x74491a[_0x1cd3('0x160c')][_0x1452b5]['id']},{'MailMessageId':_[_0x1cd3('0x63c')](_0x1c5e41[_0x1cd3('0x1317')])['id']});}}_0x455b16['success']({'title':_0x1cd3('0x160d'),'msg':_0x1cd3('0x160e')});if(_0x1c5e41[_0x1cd3('0x1586')]){_0x1c5e41['disposition']=null;var _0x3b8cd5=!_0x2a4922['mandatoryDisposition'];var _0x8b5545=_0x3e6cd7[_0x1cd3('0x368')][_0x1cd3('0x604')]||_0x3e6cd7['user']['chatPause']||_0x3e6cd7[_0x1cd3('0x368')][_0x1cd3('0x1590')]||_0x3e6cd7[_0x1cd3('0x368')]['openchannelPause']||_0x3e6cd7[_0x1cd3('0x368')][_0x1cd3('0x138f')];_0x44b4d5[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1592'),'controllerAs':'vm','templateUrl':'app/main/apps/dashboards/views/general/agent/interaction/dispose/dialog.html','parent':angular[_0x1cd3('0x37f')](_0x49faa2[_0x1cd3('0x380')]),'onRemoving':function(_0x107857,_0x1fae67){if(_0x3e6cd7[_0x1cd3('0x368')]&&_0x2a4922[_0x1cd3('0x158c')]&&!_0x8b5545){_0x8350d4[_0x1cd3('0x368')][_0x1cd3('0x13ed')]({'id':_0x3e6cd7[_0x1cd3('0x368')]['id']})[_0x1cd3('0x81')][_0x1cd3('0xfd')](function(_0x3ccab6){console['error'](_0x3ccab6);});}},'clickOutsideToClose':_0x3b8cd5,'escapeToClose':_0x3b8cd5,'locals':{'user':_0x3e6cd7[_0x1cd3('0x368')],'channel':_0x1cd3('0x1d2'),'interaction':_0x1c5e41}});}else{_0x803978['$parent']['vm'][_0x1cd3('0x1574')](_0x1cd3('0x1d2'),_0x1c5e41);}}}else{_0x455b16['success']({'title':_0x1cd3('0x160d'),'msg':'Message\x20has\x20been\x20sent!'});_0x803978[_0x1cd3('0x70b')]['vm'][_0x1cd3('0x1574')](_0x518a89,_0x37529b);}})[_0x1cd3('0xfd')](function(_0x29ad13){if(_0x29ad13[_0x1cd3('0x439')]&&_0x29ad13[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x29ad13[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){for(var _0x379485=0x0;_0x379485<_0x29ad13['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x379485+=0x1){_0x455b16['error']({'title':_0x29ad13[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x379485][_0x1cd3('0x424')],'msg':_0x29ad13[_0x1cd3('0x439')]['errors'][_0x379485][_0x1cd3('0x43a')]});}}else if(_0x518a89===_0x1cd3('0x154')){_0x455b16['error']({'title':'FAX:SEND','msg':_0x29ad13[_0x1cd3('0x439')]?JSON['stringify'](_0x29ad13[_0x1cd3('0x439')]):_0x29ad13[_0x1cd3('0x43a')]||_0x29ad13['toString']()});}else{_0x455b16['error']({'title':_0x29ad13[_0x1cd3('0x3a6')]?'API:'+_0x29ad13['status']+_0x1cd3('0x436')+_0x29ad13[_0x1cd3('0xd35')]:_0x4d984c['toUpperCase']()+_0x1cd3('0x160f'),'msg':_0x29ad13['data']?JSON['stringify'](_0x29ad13[_0x1cd3('0x439')]['message']):_0x29ad13[_0x1cd3('0x43a')]||_0x29ad13[_0x1cd3('0x43b')]()});}});});}function _0x22fba4(){_0x3e6cd7[_0x1cd3('0xd34')]=[];_0x8350d4[_0x1cd3('0xb3d')][_0x1cd3('0xd6d')](_0x3e6cd7['contact'])['$promise'][_0x1cd3('0x77')](function(_0x561ec7){_0x3e6cd7[_0x1cd3('0x105')]['id']=_0x561ec7['id'];_0x3e6cd7[_0x1cd3('0x1455')]=![];_0x3e6cd7[_0x1cd3('0x1418')][_0x1cd3('0x486')]=_0x561ec7['firstName']||_0x561ec7[_0x1cd3('0xf09')];_0x3e6cd7[_0x1cd3('0x1418')][_0x1cd3('0x105')]=_0x3e6cd7['contact'];return _0x8350d4[_0x1cd3('0x368')]['addContacts']({'id':_0x1e610b[_0x1cd3('0x5d')]()['id'],'ids':[_0x561ec7['id']]});})['then'](function(){_0x3e6cd7['detailForm']['$pristine']=!![];_0x3e6cd7[_0x1cd3('0x1610')][_0x1cd3('0x14d0')]=!![];_0x455b16['success']({'title':'Contact\x20properly\x20created','msg':_0x3e6cd7[_0x1cd3('0x105')][_0x1cd3('0x1447')]?_0x3e6cd7['contact'][_0x1cd3('0x1447')]+'\x20has\x20been\x20created!':''});})[_0x1cd3('0x77')](function(){return _0x8350d4[_0x1cd3('0xb3d')]['setTags']({'id':_0x3e6cd7['contact']['id'],'ids':_0x3e6cd7[_0x1cd3('0x1418')]['Tags']})[_0x1cd3('0x81')];})[_0x1cd3('0xfd')](function(_0x30dd28){if(_0x30dd28[_0x1cd3('0x439')]&&_0x30dd28[_0x1cd3('0x439')]['errors']&&_0x30dd28['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x3e6cd7[_0x1cd3('0xd34')]=_0x30dd28['data'][_0x1cd3('0xd34')]||[{'message':_0x30dd28[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1611')}];for(var _0x26af93=0x0;_0x26af93<_0x30dd28[_0x1cd3('0x439')]['errors']['length'];_0x26af93+=0x1){_0x455b16[_0x1cd3('0x434')]({'title':_0x30dd28[_0x1cd3('0x439')]['errors'][_0x26af93][_0x1cd3('0x424')],'msg':_0x30dd28[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x26af93][_0x1cd3('0x43a')]});}}else{_0x455b16[_0x1cd3('0x434')]({'title':_0x30dd28[_0x1cd3('0x3a6')]?'API:'+_0x30dd28[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x30dd28[_0x1cd3('0xd35')]:'api.contact.save','msg':_0x30dd28['data']?JSON['stringify'](_0x30dd28[_0x1cd3('0x439')]['message']):_0x30dd28[_0x1cd3('0x43b')]()});}});}function _0x2932f7(){_0x3e6cd7['errors']=[];_0x8350d4[_0x1cd3('0xb3d')][_0x1cd3('0x378')]({'id':_0x3e6cd7[_0x1cd3('0x105')]['id']},_0x3e6cd7[_0x1cd3('0x105')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x3bf84c){_0x3e6cd7['tab'][_0x1cd3('0x486')]=_0x3bf84c[_0x1cd3('0x1447')]||_0x3bf84c[_0x1cd3('0xf09')];_0x3e6cd7[_0x1cd3('0x1418')][_0x1cd3('0x105')]=_0x3e6cd7[_0x1cd3('0x105')];_0x803978[_0x1cd3('0x70b')]['vm'][_0x1cd3('0x1612')]();return _0x8350d4['user'][_0x1cd3('0x1605')]({'id':_0x1e610b[_0x1cd3('0x5d')]()['id'],'ids':[_0x3bf84c['id']]});})[_0x1cd3('0x77')](function(){return _0x8350d4[_0x1cd3('0xb3d')][_0x1cd3('0x14a3')]({'id':_0x3e6cd7[_0x1cd3('0x105')]['id'],'ids':_0x3e6cd7[_0x1cd3('0x1418')][_0x1cd3('0xf9')]})['$promise'];})['then'](function(){_0x3e6cd7[_0x1cd3('0x1613')][_0x1cd3('0x14d0')]=!![];_0x3e6cd7['customFieldsForm'][_0x1cd3('0x14d0')]=!![];_0x455b16[_0x1cd3('0x473')]({'title':'Contact\x20properly\x20updated!','msg':_0x3e6cd7['contact'][_0x1cd3('0x98')]?_0x3e6cd7[_0x1cd3('0x105')][_0x1cd3('0x98')]+_0x1cd3('0xe65'):''});})['catch'](function(_0x4a5ebd){if(_0x4a5ebd['data']&&_0x4a5ebd['data'][_0x1cd3('0xd34')]&&_0x4a5ebd[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x3e6cd7[_0x1cd3('0xd34')]=_0x4a5ebd[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x4a5ebd[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1611')}];for(var _0x1382a3=0x0;_0x1382a3<_0x4a5ebd['data'][_0x1cd3('0xd34')]['length'];_0x1382a3+=0x1){_0x455b16[_0x1cd3('0x434')]({'title':_0x4a5ebd['data']['errors'][_0x1382a3]['type'],'msg':_0x4a5ebd['data'][_0x1cd3('0xd34')][_0x1382a3][_0x1cd3('0x43a')]});}}else{_0x455b16[_0x1cd3('0x434')]({'title':_0x4a5ebd['status']?_0x1cd3('0x435')+_0x4a5ebd['status']+_0x1cd3('0x436')+_0x4a5ebd[_0x1cd3('0xd35')]:_0x1cd3('0x1611'),'msg':_0x4a5ebd['data']?JSON[_0x1cd3('0x438')](_0x4a5ebd[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x4a5ebd[_0x1cd3('0x43b')]()});}});}_0x803978[_0x1cd3('0x4d6')]('currentTab',function(_0x45fa10,_0x5cf1c9){if(_0x3e6cd7['currentTab']===0x1){_0x3e6cd7[_0x1cd3('0x1480')]();_0x3e6cd7[_0x1cd3('0x1481')]();_0x3e6cd7[_0x1cd3('0x1482')]();}});var _0x4125a7=!![];var _0x2b4cad=0x1;_0x803978[_0x1cd3('0x4d6')]('queryHopper.filter',function(_0x1f88e4,_0x396535){if(_0x4125a7){_0xebde1d(function(){_0x4125a7=![];});}else{if(!_0x396535){_0x2b4cad=_0x3e6cd7[_0x1cd3('0x1487')][_0x1cd3('0x8fd')];}if(_0x1f88e4!==_0x396535){_0x3e6cd7['queryHopper']['page']=0x1;}if(!_0x1f88e4){_0x3e6cd7[_0x1cd3('0x1487')][_0x1cd3('0x8fd')]=_0x2b4cad;}_0x3e6cd7[_0x1cd3('0x1480')]();}});_0x803978[_0x1cd3('0x4d6')]('queryFinal.filter',function(_0x12a8a0,_0xb169ee){if(_0x4125a7){_0xebde1d(function(){_0x4125a7=![];});}else{if(!_0xb169ee){_0x2b4cad=_0x3e6cd7[_0x1cd3('0x1489')][_0x1cd3('0x8fd')];}if(_0x12a8a0!==_0xb169ee){_0x3e6cd7[_0x1cd3('0x1489')][_0x1cd3('0x8fd')]=0x1;}if(!_0x12a8a0){_0x3e6cd7[_0x1cd3('0x1489')]['page']=_0x2b4cad;}_0x3e6cd7[_0x1cd3('0x1481')]();}});_0x803978[_0x1cd3('0x4d6')](_0x1cd3('0x1614'),function(_0x36d1ea,_0x5010e9){if(_0x4125a7){_0xebde1d(function(){_0x4125a7=![];});}else{if(!_0x5010e9){_0x2b4cad=_0x3e6cd7['queryHistory']['page'];}if(_0x36d1ea!==_0x5010e9){_0x3e6cd7['queryHistory'][_0x1cd3('0x8fd')]=0x1;}if(!_0x36d1ea){_0x3e6cd7[_0x1cd3('0x147a')]['page']=_0x2b4cad;}_0x3e6cd7[_0x1cd3('0x1482')]();}});function _0x3f2b36(_0x1aefd8){return function(_0x4b480b){_0x3e6cd7[_0x1aefd8]=_0x4b480b||{'count':0x0,'rows':[]};};}function _0x2bd5eb(){if(_0x3e6cd7[_0x1cd3('0x105')]&&_0x3e6cd7[_0x1cd3('0x105')]['id']){_0x3e6cd7['queryHopper']['ContactId']=_0x3e6cd7[_0x1cd3('0x105')]['id'];_0x3e6cd7[_0x1cd3('0x1487')][_0x1cd3('0xd57')]=(_0x3e6cd7['queryHopper'][_0x1cd3('0x8fd')]-0x1)*_0x3e6cd7[_0x1cd3('0x1487')]['limit'];_0x3e6cd7[_0x1cd3('0x539')]=_0x8350d4[_0x1cd3('0xb47')][_0x1cd3('0x361')](_0x3e6cd7['queryHopper'],_0x3f2b36(_0x1cd3('0x1463')))[_0x1cd3('0x81')];}}function _0x325479(){if(_0x3e6cd7['contact']&&_0x3e6cd7[_0x1cd3('0x105')]['id']){_0x3e6cd7[_0x1cd3('0x1489')][_0x1cd3('0x1615')]=_0x3e6cd7[_0x1cd3('0x105')]['id'];_0x3e6cd7['queryFinal']['offset']=(_0x3e6cd7[_0x1cd3('0x1489')][_0x1cd3('0x8fd')]-0x1)*_0x3e6cd7[_0x1cd3('0x1489')]['limit'];_0x3e6cd7[_0x1cd3('0x539')]=_0x8350d4[_0x1cd3('0xb4d')]['get'](_0x3e6cd7['queryFinal'],_0x3f2b36('finals'))[_0x1cd3('0x81')];}}function _0x578df6(){if(_0x3e6cd7[_0x1cd3('0x105')]&&_0x3e6cd7[_0x1cd3('0x105')]['id']){_0x3e6cd7['queryHistory'][_0x1cd3('0x1615')]=_0x3e6cd7['contact']['id'];_0x3e6cd7[_0x1cd3('0x147a')][_0x1cd3('0xd57')]=(_0x3e6cd7[_0x1cd3('0x147a')][_0x1cd3('0x8fd')]-0x1)*_0x3e6cd7[_0x1cd3('0x147a')][_0x1cd3('0x8fe')];_0x3e6cd7[_0x1cd3('0x539')]=_0x8350d4[_0x1cd3('0xe15')][_0x1cd3('0x361')](_0x3e6cd7[_0x1cd3('0x147a')],_0x3f2b36('histories'))['$promise'];}}function _0x20ee3e(){_0x8350d4[_0x1cd3('0xc42')][_0x1cd3('0x361')]({'fields':'createdAt,updatedAt,id,name,description,createdAt,formData,enableUncompleteSave','sort':_0x1cd3('0x5b'),'nolimit':!![]})['$promise'][_0x1cd3('0x77')](function(_0x1015eb){_0x3e6cd7['jscriptyProjects']=_0x1015eb||{'count':0x0,'rows':[]};})[_0x1cd3('0xfd')](function(_0x1f1871){if(_0x1f1871[_0x1cd3('0x439')]&&_0x1f1871[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x1f1871['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x3e6cd7['errors']=_0x1f1871[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x1f1871[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1616')}];for(var _0x1cd300=0x0;_0x1cd300<_0x1f1871[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x1cd300+=0x1){_0x455b16[_0x1cd3('0x434')]({'title':_0x1f1871[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd300][_0x1cd3('0x424')],'msg':_0x1f1871[_0x1cd3('0x439')]['errors'][_0x1cd300][_0x1cd3('0x43a')]});}}else{_0x455b16['error']({'title':_0x1f1871[_0x1cd3('0x3a6')]?'API:'+_0x1f1871[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x1f1871[_0x1cd3('0xd35')]:'api.jscripty.account','msg':_0x1f1871['data']?JSON[_0x1cd3('0x438')](_0x1f1871[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x1f1871[_0x1cd3('0x43b')]()});}});}function _0x44ad51(){_0x8350d4[_0x1cd3('0x368')][_0x1cd3('0x15f3')]({'id':_0x3e6cd7['user']['id'],'nolimit':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x4e7e34){_0x3e6cd7[_0x1cd3('0xefa')]=_0x4e7e34||{'count':0x0,'rows':[]};})['catch'](function(_0x1928f4){if(_0x1928f4[_0x1cd3('0x439')]&&_0x1928f4[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x1928f4[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length']){_0x3e6cd7[_0x1cd3('0xd34')]=_0x1928f4[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x1928f4[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1617')}];for(var _0x363232=0x0;_0x363232<_0x1928f4[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x363232+=0x1){_0x455b16['error']({'title':_0x1928f4[_0x1cd3('0x439')]['errors'][_0x363232][_0x1cd3('0x424')],'msg':_0x1928f4[_0x1cd3('0x439')]['errors'][_0x363232]['message']});}}else{_0x455b16[_0x1cd3('0x434')]({'title':_0x1928f4[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x1928f4['status']+_0x1cd3('0x436')+_0x1928f4[_0x1cd3('0xd35')]:'api.mail.account','msg':_0x1928f4[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x1928f4[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x1928f4[_0x1cd3('0x43b')]()});}});}function _0xbe776b(){_0x8350d4['user']['getFaxAccounts']({'id':_0x3e6cd7['user']['id'],'nolimit':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x10dc2b){_0x3e6cd7[_0x1cd3('0x15fa')]=_0x10dc2b||{'count':0x0,'rows':[]};})[_0x1cd3('0xfd')](function(_0x54b3cb){if(_0x54b3cb[_0x1cd3('0x439')]&&_0x54b3cb[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x54b3cb[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')]){_0x3e6cd7[_0x1cd3('0xd34')]=_0x54b3cb['data'][_0x1cd3('0xd34')]||[{'message':_0x54b3cb['toString'](),'type':_0x1cd3('0x1618')}];for(var _0x5778a9=0x0;_0x5778a9<_0x54b3cb[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length'];_0x5778a9+=0x1){_0x455b16[_0x1cd3('0x434')]({'title':_0x54b3cb[_0x1cd3('0x439')]['errors'][_0x5778a9]['type'],'msg':_0x54b3cb[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x5778a9]['message']});}}else{_0x455b16[_0x1cd3('0x434')]({'title':_0x54b3cb[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x54b3cb['status']+_0x1cd3('0x436')+_0x54b3cb[_0x1cd3('0xd35')]:'api.fax.account','msg':_0x54b3cb[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x54b3cb[_0x1cd3('0x439')]['message']):_0x54b3cb[_0x1cd3('0x43b')]()});}});}function _0x1f2167(){_0x8350d4[_0x1cd3('0x368')][_0x1cd3('0x15f5')]({'id':_0x3e6cd7[_0x1cd3('0x368')]['id'],'nolimit':!![]})[_0x1cd3('0x81')]['then'](function(_0x266648){_0x3e6cd7['smsAccounts']=_0x266648||{'count':0x0,'rows':[]};})[_0x1cd3('0xfd')](function(_0x78fd4e){if(_0x78fd4e['data']&&_0x78fd4e[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x78fd4e[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x3e6cd7[_0x1cd3('0xd34')]=_0x78fd4e[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x78fd4e[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1619')}];for(var _0x5e275b=0x0;_0x5e275b<_0x78fd4e[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x5e275b+=0x1){_0x455b16[_0x1cd3('0x434')]({'title':_0x78fd4e[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x5e275b][_0x1cd3('0x424')],'msg':_0x78fd4e[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x5e275b][_0x1cd3('0x43a')]});}}else{_0x455b16['error']({'title':_0x78fd4e['status']?_0x1cd3('0x435')+_0x78fd4e[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x78fd4e[_0x1cd3('0xd35')]:'api.sms.account','msg':_0x78fd4e[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x78fd4e['data'][_0x1cd3('0x43a')]):_0x78fd4e['toString']()});}});}function _0x5756e3(){_0x8350d4[_0x1cd3('0x368')][_0x1cd3('0x15f6')]({'id':_0x3e6cd7[_0x1cd3('0x368')]['id'],'nolimit':!![]})['$promise'][_0x1cd3('0x77')](function(_0x483ddb){_0x3e6cd7['whatsappAccounts']=_0x483ddb||{'count':0x0,'rows':[]};})['catch'](function(_0x501ed9){if(_0x501ed9[_0x1cd3('0x439')]&&_0x501ed9[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x501ed9[_0x1cd3('0x439')]['errors']['length']){_0x3e6cd7[_0x1cd3('0xd34')]=_0x501ed9[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x501ed9['toString'](),'type':_0x1cd3('0x161a')}];for(var _0x36b683=0x0;_0x36b683<_0x501ed9['data']['errors']['length'];_0x36b683+=0x1){_0x455b16[_0x1cd3('0x434')]({'title':_0x501ed9[_0x1cd3('0x439')]['errors'][_0x36b683][_0x1cd3('0x424')],'msg':_0x501ed9[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x36b683][_0x1cd3('0x43a')]});}}else{_0x455b16[_0x1cd3('0x434')]({'title':_0x501ed9[_0x1cd3('0x3a6')]?'API:'+_0x501ed9['status']+_0x1cd3('0x436')+_0x501ed9['statusText']:_0x1cd3('0x161a'),'msg':_0x501ed9[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x501ed9[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x501ed9[_0x1cd3('0x43b')]()});}});}function _0x31636d(){_0x8350d4[_0x1cd3('0x368')]['getOpenchannelAccounts']({'id':_0x3e6cd7[_0x1cd3('0x368')]['id'],'nolimit':!![]})[_0x1cd3('0x81')]['then'](function(_0x27b422){_0x3e6cd7[_0x1cd3('0x15fb')]=_0x27b422||{'count':0x0,'rows':[]};})[_0x1cd3('0xfd')](function(_0x3812a5){if(_0x3812a5[_0x1cd3('0x439')]&&_0x3812a5[_0x1cd3('0x439')]['errors']&&_0x3812a5[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x3e6cd7[_0x1cd3('0xd34')]=_0x3812a5[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x3812a5[_0x1cd3('0x43b')](),'type':'api.openchannel.account'}];for(var _0x259415=0x0;_0x259415<_0x3812a5[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0x259415+=0x1){_0x455b16[_0x1cd3('0x434')]({'title':_0x3812a5['data']['errors'][_0x259415][_0x1cd3('0x424')],'msg':_0x3812a5['data'][_0x1cd3('0xd34')][_0x259415][_0x1cd3('0x43a')]});}}else{_0x455b16[_0x1cd3('0x434')]({'title':_0x3812a5[_0x1cd3('0x3a6')]?'API:'+_0x3812a5['status']+_0x1cd3('0x436')+_0x3812a5[_0x1cd3('0xd35')]:_0x1cd3('0x161b'),'msg':_0x3812a5[_0x1cd3('0x439')]?JSON['stringify'](_0x3812a5[_0x1cd3('0x439')]['message']):_0x3812a5['toString']()});}});}function _0x2286a8(){_0x8350d4[_0x1cd3('0x368')][_0x1cd3('0x11ec')]({'id':_0x3e6cd7[_0x1cd3('0x368')]['id'],'nolimit':!![]})['$promise']['then'](function(_0x175573){_0x3e6cd7[_0x1cd3('0x15fd')]=_0x175573||{'count':0x0,'rows':[]};})[_0x1cd3('0xfd')](function(_0x17d91d){if(_0x17d91d[_0x1cd3('0x439')]&&_0x17d91d[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x17d91d[_0x1cd3('0x439')]['errors']['length']){_0x3e6cd7[_0x1cd3('0xd34')]=_0x17d91d[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x17d91d[_0x1cd3('0x43b')](),'type':_0x1cd3('0x161c')}];for(var _0x47778e=0x0;_0x47778e<_0x17d91d[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0x47778e+=0x1){_0x455b16[_0x1cd3('0x434')]({'title':_0x17d91d[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x47778e][_0x1cd3('0x424')],'msg':_0x17d91d['data'][_0x1cd3('0xd34')][_0x47778e][_0x1cd3('0x43a')]});}}else{_0x455b16['error']({'title':_0x17d91d[_0x1cd3('0x3a6')]?'API:'+_0x17d91d[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x17d91d['statusText']:_0x1cd3('0x161c'),'msg':_0x17d91d[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x17d91d[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x17d91d['toString']()});}});}function _0x42a7bc(){_0x8350d4[_0x1cd3('0x368')][_0x1cd3('0x1545')]({'id':_0x3e6cd7['user']['id'],'nolimit':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x1ea1b4){_0x3e6cd7[_0x1cd3('0xf5')]=_0x1ea1b4||{'count':0x0,'rows':[]};})[_0x1cd3('0xfd')](function(_0x1c984f){if(_0x1c984f[_0x1cd3('0x439')]&&_0x1c984f[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x1c984f[_0x1cd3('0x439')]['errors']['length']){_0x3e6cd7['errors']=_0x1c984f['data'][_0x1cd3('0xd34')]||[{'message':_0x1c984f['toString'](),'type':'api.cm.lists'}];for(var _0x9086e1=0x0;_0x9086e1<_0x1c984f[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length'];_0x9086e1+=0x1){_0x455b16[_0x1cd3('0x434')]({'title':_0x1c984f['data'][_0x1cd3('0xd34')][_0x9086e1][_0x1cd3('0x424')],'msg':_0x1c984f[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x9086e1][_0x1cd3('0x43a')]});}}else{_0x455b16[_0x1cd3('0x434')]({'title':_0x1c984f['status']?_0x1cd3('0x435')+_0x1c984f[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x1c984f[_0x1cd3('0xd35')]:'api.cm.lists','msg':_0x1c984f[_0x1cd3('0x439')]?JSON['stringify'](_0x1c984f[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x1c984f[_0x1cd3('0x43b')]()});}});}function _0x519cda(_0x4e91da){_0x44b4d5['show']({'controller':_0x1cd3('0x144e'),'controllerAs':'vm','templateUrl':'app/main/apps/contactmanager/views/contacts/duplicate/dialog.html','parent':angular[_0x1cd3('0x37f')](_0x49faa2[_0x1cd3('0x380')]),'targetEvent':_0x4e91da,'clickOutsideToClose':!![],'resolve':{'contact':[_0x1cd3('0x62'),function(_0x1e0a84){return _0x1e0a84[_0x1cd3('0x58')](_0x1cd3('0xf1'),{'id':_0x3e6cd7[_0x1cd3('0x105')]['id']});}],'lists':[_0x1cd3('0x62'),function(_0x23b0ed){return _0x23b0ed['resolve'](_0x1cd3('0x11c'),{'id':_0x1e610b[_0x1cd3('0x5d')]()['id'],'fields':'id,name'});}]},'locals':{'contacts':[]}});}function _0x441a60(_0x57a04b){_0x44b4d5[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1450'),'controllerAs':'vm','templateUrl':_0x1cd3('0x161d'),'parent':angular[_0x1cd3('0x37f')](_0x49faa2['body']),'targetEvent':_0x57a04b,'clickOutsideToClose':!![],'resolve':{'contact':[_0x1cd3('0x62'),function(_0x349607){return _0x349607[_0x1cd3('0x58')](_0x1cd3('0xf1'),{'id':_0x3e6cd7[_0x1cd3('0x105')]['id']});}],'lists':[_0x1cd3('0x62'),function(_0x1ff4dd){return _0x1ff4dd[_0x1cd3('0x58')](_0x1cd3('0x11c'),{'id':_0x1e610b['getCurrentUser']()['id'],'fields':_0x1cd3('0xa6')});}]},'locals':{'contacts':[]}})[_0x1cd3('0x77')](function(_0x2afde3){if(_0x2afde3){for(var _0x2ba4c0 in _0x803978['$parent'][_0x1cd3('0x70b')][_0x1cd3('0x70b')]['vm'][_0x1cd3('0x1567')]){if(_0x803978[_0x1cd3('0x70b')][_0x1cd3('0x70b')][_0x1cd3('0x70b')]['vm'][_0x1cd3('0x1567')][_0x1cd3('0x3d0')](_0x2ba4c0)){var _0x4683a0=_0x803978['$parent']['$parent']['$parent']['vm']['tabs'][_0x2ba4c0];if(_0x4683a0&&_0x4683a0[_0x1cd3('0x105')]){if(_0x2afde3[_0x1cd3('0x606')]&&_0x2afde3[_0x1cd3('0x606')]['id']&&_0x2afde3[_0x1cd3('0x606')]['id']===_0x4683a0['contact']['id']){_0x803978[_0x1cd3('0x70b')]['$parent'][_0x1cd3('0x70b')]['vm'][_0x1cd3('0x1576')](_0x4683a0);}if(_0x2afde3['to']&&_0x2afde3['to']['id']&&_0x2afde3['to']['id']===_0x4683a0[_0x1cd3('0x105')]['id']){_0x803978[_0x1cd3('0x70b')][_0x1cd3('0x70b')][_0x1cd3('0x70b')]['vm'][_0x1cd3('0x1576')](_0x4683a0);}}}}if(_0x2afde3['new']){_0x803978[_0x1cd3('0x70b')]['$parent'][_0x1cd3('0x70b')]['vm'][_0x1cd3('0x15c1')](_0x2afde3[_0x1cd3('0x160a')]);}}});}function _0x1e35c0(_0x455fe2,_0x40303b){var _0xae0a97=_0x3e6cd7['user']['voicePause']||_0x3e6cd7[_0x1cd3('0x368')]['chatPause']||_0x3e6cd7['user'][_0x1cd3('0x1590')]||_0x3e6cd7[_0x1cd3('0x368')][_0x1cd3('0x138c')]||_0x3e6cd7['user']['faxPause'];var _0x2d16c5=_0x40303b[_0x1cd3('0x158c')];if(_0x3e6cd7[_0x1cd3('0x1455')]){_0x455b16[_0x1cd3('0x434')]({'title':_0x1cd3('0x161e'),'msg':_0x1cd3('0x161f')});return;}_0x44b4d5['show']({'controller':'DisposeCallDialogController','controllerAs':'vm','templateUrl':_0x1cd3('0x1620'),'parent':angular[_0x1cd3('0x37f')](_0x49faa2[_0x1cd3('0x380')]),'targetEvent':_0x40303b,'clickOutsideToClose':!_0x40303b[_0x1cd3('0x158c')],'escapeToClose':!_0x40303b['mandatoryDisposition'],'resolve':{'globalDispositions':['apiResolver',function(_0x41c256){return _0x41c256[_0x1cd3('0x58')](_0x1cd3('0x21e'),{'MailAccountId':_0x1cd3('0x220'),'FaxAccountId':'null','SmsAccountId':_0x1cd3('0x220'),'WhatsappAccountId':_0x1cd3('0x220'),'OpenchannelAccountId':_0x1cd3('0x220'),'ChatWebsiteId':'null','ListId':_0x1cd3('0x220')});}]},'onRemoving':function(_0x211a0b,_0x3d6753){if(_0x3e6cd7[_0x1cd3('0x368')]&&_0x2d16c5&&!_0xae0a97){_0x8350d4[_0x1cd3('0x368')][_0x1cd3('0x13ed')]({'id':_0x3e6cd7[_0x1cd3('0x368')]['id']})[_0x1cd3('0x81')][_0x1cd3('0xfd')](function(_0x1bd2b9){console['error'](_0x1bd2b9);});}},'locals':{'dispositions':_0x3e6cd7['tab']['dispositions'],'contact':_0x3e6cd7[_0x1cd3('0x105')],'call':_0x40303b}})[_0x1cd3('0x77')](function(_0xff4b96){if(_0xff4b96){if(_0xff4b96===_0x1cd3('0x1621')){_0x455b16['success']({'title':_0x392e51[_0x1cd3('0x44a')]('DASHBOARDS.INFO'),'msg':_0x392e51['instant'](_0x1cd3('0x1622'))+'\x20'+_0xff4b96});}else if(_0xff4b96===_0x1cd3('0x1623')||_0xff4b96===_0x1cd3('0x1624')){}else{_0x455b16[_0x1cd3('0x473')]({'title':_0x392e51[_0x1cd3('0x44a')]('DASHBOARDS.INFO'),'msg':_0x392e51[_0x1cd3('0x44a')](_0x1cd3('0x1625'))});}}for(var _0x23c2dd in _0x803978['$parent'][_0x1cd3('0x70b')][_0x1cd3('0x70b')]['vm'][_0x1cd3('0x1567')]){if(_0x803978['$parent'][_0x1cd3('0x70b')][_0x1cd3('0x70b')]['vm'][_0x1cd3('0x1567')]['hasOwnProperty'](_0x23c2dd)){var _0x39c912=_0x803978[_0x1cd3('0x70b')][_0x1cd3('0x70b')]['$parent']['vm'][_0x1cd3('0x1567')][_0x23c2dd];_[_0x1cd3('0x383')](_0x39c912[_0x1cd3('0x597')],function(_0x5a6b1b){return _0x5a6b1b[_0x1cd3('0x6b4')]===_0x40303b[_0x1cd3('0x6b4')];});}}_0x803978[_0x1cd3('0x70b')]['vm'][_0x1cd3('0x1612')]();});}function _0xe90e6e(_0x3fecd5){return _0x8350d4[_0x1cd3('0xc8f')]['getCustomFields']({'id':_0x3fecd5})[_0x1cd3('0x81')]['then'](function(_0xdbf557){_0x3e6cd7[_0x1cd3('0x1418')][_0x1cd3('0x12fc')]=_0xdbf557;})[_0x1cd3('0xfd')](function(_0x5721a7){_0x455b16[_0x1cd3('0x434')]({'title':_0x5721a7[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x5721a7[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x5721a7['statusText']:_0x1cd3('0x1626'),'msg':_0x5721a7[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x5721a7[_0x1cd3('0x439')]):_0x5721a7[_0x1cd3('0x43b')]()});});}function _0x459a69(_0x11c53b){return _0x11c53b===null?undefined:new Date(_0x11c53b);}function _0x374194(_0x416aee){try{_0x416aee[_0x1cd3('0x15c2')]=Mustache['render'](_0x416aee[_0x1cd3('0x15c2')],{'contact':_0x3e6cd7['contact'],'user':_0x3e6cd7[_0x1cd3('0x368')]});}catch(_0xe4a20d){console[_0x1cd3('0x434')](_0xe4a20d);}try{_0x803978[_0x1cd3('0x70b')][_0x1cd3('0x70b')][_0x1cd3('0x70b')]['vm'][_0x1cd3('0x1575')]({'type':_0x1cd3('0x1ca'),'title':_0x416aee['name'],'icon':_0x1cd3('0x15c4'),'color':_0x1cd3('0x9bd'),'project':_0x416aee,'contact':_0x3e6cd7[_0x1cd3('0x105')]});}catch(_0x40881e){_0x455b16[_0x1cd3('0x434')]({'title':_0x1cd3('0x1627'),'msg':_0x1cd3('0x1628')+JSON['stringify'](_0x40881e)});}}function _0x2a88ed(_0x16b527){return _0x1e610b[_0x1cd3('0x369')](_0x16b527);}_0x803978['$on'](_0x1cd3('0x523'),function(){});}}());(function(){'use strict';_0x53a4ec['$inject']=[_0x1cd3('0x3c5'),'$q',_0x1cd3('0x461'),_0x1cd3('0x370'),_0x1cd3('0x15a5'),_0x1cd3('0x1629'),_0x1cd3('0x46d'),_0x1cd3('0x105'),_0x1cd3('0x56'),'$translate'];angular[_0x1cd3('0x0')]('app.staff')[_0x1cd3('0x39b')]('DisposeCallDialogController',_0x53a4ec);function _0x53a4ec(_0x465f70,_0x44bc9b,_0x19edcb,_0x4321be,_0x37f6da,_0x4a3701,_0x1c1dc6,_0x40e201,_0x37582e,_0x469f6e){var _0x473d8f=this;_0x473d8f[_0x1cd3('0x162a')]=null;_0x473d8f[_0x1cd3('0x162b')]=![];_0x473d8f[_0x1cd3('0x162c')]=![];_0x473d8f['queueCampaigns']={'count':0x0,'rows':[]};_0x473d8f[_0x1cd3('0x162d')]=undefined;_0x473d8f['dispositions']=_0x37f6da;_0x473d8f[_0x1cd3('0x1629')]=_0x4a3701;_0x473d8f[_0x1cd3('0x105')]=_0x40e201;_0x473d8f[_0x1cd3('0x46d')]=_0x1c1dc6;_0x473d8f[_0x1cd3('0x162e')]=_0x473d8f['call'][_0x1cd3('0x162e')]||undefined;_0x473d8f[_0x1cd3('0x162f')]=![];_0x473d8f[_0x1cd3('0x1630')]=![];_0x473d8f[_0x1cd3('0x1466')]={'minDate':new Date(),'dateTime':new Date()};if(_0x473d8f[_0x1cd3('0x46d')]&&_0x473d8f[_0x1cd3('0x46d')][_0x1cd3('0xef7')]&&_0x473d8f['call']['variables'][_0x1cd3('0x1631')]){_0x473d8f[_0x1cd3('0x162f')]=!![];_0x4321be[_0x1cd3('0xa48')][_0x1cd3('0x1632')]({'id':_0x473d8f[_0x1cd3('0x46d')][_0x1cd3('0xef7')][_0x1cd3('0x1631')]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x24fd53){if(_0x24fd53&&_0x24fd53[_0x1cd3('0xf6')]&&_0x24fd53[_0x1cd3('0xf6')][_0x1cd3('0x7a')]>0x0){_0x473d8f[_0x1cd3('0x1630')]=!![];}})['catch'](function(_0x5540c5){_0x19edcb[_0x1cd3('0x434')]({'title':_0x5540c5[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x5540c5[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x5540c5[_0x1cd3('0xd35')]:'api.voiceQueue.getBlackLists','msg':_0x5540c5[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x5540c5[_0x1cd3('0x439')]):_0x5540c5[_0x1cd3('0x43b')]()});});}else{_0x4321be[_0x1cd3('0x368')]['getQueues']({'id':_0x37582e[_0x1cd3('0x5d')]()['id'],'fields':_0x1cd3('0x1633'),'channel':'voice','type':_0x1cd3('0x128'),'nolimit':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x3a5460){_0x473d8f[_0x1cd3('0x1634')]=_0x3a5460||{'count':0x0,'rows':[]};})['catch'](function(_0x2d1361){console['error'](_0x2d1361);});}_0x473d8f[_0x1cd3('0x1635')]=_0x51c423;_0x473d8f[_0x1cd3('0x39c')]=_0x2059fd;_0x473d8f[_0x1cd3('0x1636')]=_0x5f1b7e;function _0x5857f1(){var _0xe8f250=_0x473d8f['choice']?_0x473d8f['choice']['toLowerCase']():undefined;return{'id':_0x473d8f['call'][_0x1cd3('0x6b4')],'disposition':_0x473d8f['choice'],'dispositionat':moment(),'amd':_0xe8f250===_0x1cd3('0x1637'),'fax':_0xe8f250===_0x1cd3('0x154'),'blacklist':_0xe8f250==='blacklist','recallme':_0xe8f250==='recallme','UserId':_0xe8f250==='recallme'?_0x37582e[_0x1cd3('0x5d')]()['id']:null,'OwnerId':_0x37582e[_0x1cd3('0x5d')]()['id']};}function _0x13a7ca(){return _0x4321be[_0x1cd3('0xa66')]['update']({'id':_0x473d8f[_0x1cd3('0x46d')][_0x1cd3('0x6b4')],'userDisposition':_0x473d8f[_0x1cd3('0x162a')],'note':_0x473d8f[_0x1cd3('0x162e')],'UserId':_0x37582e[_0x1cd3('0x5d')]()['id'],'ContactId':_0x473d8f[_0x1cd3('0x105')]['id']})[_0x1cd3('0x81')][_0x1cd3('0xfd')](function(_0xad13bd){_0x19edcb[_0x1cd3('0x434')]({'title':_0xad13bd[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0xad13bd[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0xad13bd[_0x1cd3('0xd35')]:_0x1cd3('0x1638'),'msg':_0xad13bd[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0xad13bd['data']):_0xad13bd[_0x1cd3('0x43b')]()});});}function _0x5e5162(){return _0x4321be[_0x1cd3('0x6ee')][_0x1cd3('0x361')]({'uniqueid':_0x473d8f['call'][_0x1cd3('0x6b4')]})[_0x1cd3('0x81')]['then'](function(_0x36943a){if(_0x36943a){for(var _0x8b9cdf=0x0;_0x8b9cdf<_0x36943a[_0x1cd3('0xf6')]['length'];_0x8b9cdf+=0x1){_0x4321be[_0x1cd3('0x6ee')][_0x1cd3('0x378')]({'id':_0x36943a[_0x1cd3('0xf6')][_0x8b9cdf]['id'],'userDisposition':_0x473d8f[_0x1cd3('0x162a')]})[_0x1cd3('0x81')][_0x1cd3('0xfd')](function(_0x137838){_0x19edcb['error']({'title':_0x137838[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x137838[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x137838[_0x1cd3('0xd35')]:_0x1cd3('0x1639'),'msg':_0x137838['data']?JSON['stringify'](_0x137838[_0x1cd3('0x439')]):_0x137838[_0x1cd3('0x43b')]()});});}}})[_0x1cd3('0xfd')](function(_0x148b4a){_0x19edcb[_0x1cd3('0x434')]({'title':_0x148b4a[_0x1cd3('0x3a6')]?'API:'+_0x148b4a['status']+_0x1cd3('0x436')+_0x148b4a[_0x1cd3('0xd35')]:_0x1cd3('0x1639'),'msg':_0x148b4a[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x148b4a[_0x1cd3('0x439')]):_0x148b4a[_0x1cd3('0x43b')]()});});}function _0x2ef740(){return _0x4321be[_0x1cd3('0xb4d')]['update'](_0x5857f1())[_0x1cd3('0x81')][_0x1cd3('0xfd')](function(_0x3926e4){_0x19edcb[_0x1cd3('0x434')]({'title':_0x3926e4['status']?_0x1cd3('0x435')+_0x3926e4[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x3926e4[_0x1cd3('0xd35')]:_0x1cd3('0x163a'),'msg':_0x3926e4[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x3926e4[_0x1cd3('0x439')]):_0x3926e4[_0x1cd3('0x43b')]()});});}function _0xb4d0c6(){return _0x4321be[_0x1cd3('0xe15')][_0x1cd3('0x378')](_0x5857f1())['$promise'][_0x1cd3('0xfd')](function(_0x427b0f){_0x19edcb[_0x1cd3('0x434')]({'title':_0x427b0f['status']?_0x1cd3('0x435')+_0x427b0f[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x427b0f[_0x1cd3('0xd35')]:_0x1cd3('0x163b'),'msg':_0x427b0f[_0x1cd3('0x439')]?JSON['stringify'](_0x427b0f[_0x1cd3('0x439')]):_0x427b0f['toString']()});});}function _0x308565(_0x1cc5c1){if(_0x1cc5c1){return _0x4321be['voiceQueue'][_0x1cd3('0x1632')]({'id':_0x1cc5c1,'type':_0x1cd3('0x128'),'fields':'id'})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x2622f5){var _0x56d707=[];if(_0x2622f5&&_0x2622f5[_0x1cd3('0x466')]>0x0){for(var _0x82e64b=0x0;_0x82e64b<_0x2622f5[_0x1cd3('0xf6')][_0x1cd3('0x7a')];_0x82e64b+=0x1){var _0x40e201=angular[_0x1cd3('0x429')](_0x473d8f[_0x1cd3('0x105')]);delete _0x40e201['id'];_0x40e201[_0x1cd3('0x106')]=_0x2622f5['rows'][_0x82e64b]['id'];_0x56d707[_0x1cd3('0x7b')](_0x4321be[_0x1cd3('0xb3d')][_0x1cd3('0xd6d')](_0x40e201)[_0x1cd3('0x81')]);}return _0x44bc9b[_0x1cd3('0x7e')](_0x56d707);}_0x19edcb[_0x1cd3('0x473')]({'title':_0x469f6e[_0x1cd3('0x44a')](_0x1cd3('0x163c')),'msg':_0x469f6e[_0x1cd3('0x44a')]('DASHBOARDS.NOTAVAILABLE')+'\x20'+_0x473d8f[_0x1cd3('0x162a')]});_0x473d8f[_0x1cd3('0x162a')]=undefined;return;})[_0x1cd3('0x77')](function(_0x14a27f){if(_0x14a27f){_0x465f70[_0x1cd3('0x39d')](_0x473d8f[_0x1cd3('0x162a')]?_0x473d8f['choice']['toUpperCase']():'');}})[_0x1cd3('0xfd')](function(_0x49186e){_0x19edcb[_0x1cd3('0x434')]({'title':_0x49186e['status']?_0x1cd3('0x435')+_0x49186e[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x49186e[_0x1cd3('0xd35')]:_0x1cd3('0x163d'),'msg':_0x49186e[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x49186e[_0x1cd3('0x439')]):_0x49186e[_0x1cd3('0x43b')]()});_0x465f70['hide'](_0x473d8f[_0x1cd3('0x162a')]?_0x473d8f[_0x1cd3('0x162a')]['toUpperCase']():'');});}}function _0x51c423(_0x2f9006){_0x473d8f[_0x1cd3('0x162a')]=_[_0x1cd3('0x472')](_0x2f9006)?_0x473d8f[_0x1cd3('0x162a')]:_0x2f9006;_0x473d8f[_0x1cd3('0x46d')][_0x1cd3('0x162e')]=_0x473d8f[_0x1cd3('0x162e')];_0x13a7ca();_0x5e5162();if(_0x473d8f[_0x1cd3('0x162f')]){_0x2ef740();_0xb4d0c6();}if(!_[_0x1cd3('0x472')](_0x473d8f[_0x1cd3('0x162a')])){switch(_0x473d8f['choice'][_0x1cd3('0x433')]()){case _0x1cd3('0x163e'):if(_0x473d8f[_0x1cd3('0x46d')]&&_0x473d8f['call'][_0x1cd3('0xef7')]&&_0x473d8f[_0x1cd3('0x46d')][_0x1cd3('0xef7')]['xmd-voicequeueid']){_0x308565(_0x473d8f['call'][_0x1cd3('0xef7')][_0x1cd3('0x1631')]);}break;case _0x1cd3('0x163f'):_0x473d8f[_0x1cd3('0x162b')]=!![];_0x473d8f['recallme']=![];break;case _0x1cd3('0x162c'):_0x473d8f['isReschedule']=!![];_0x473d8f[_0x1cd3('0x162c')]=!![];break;default:_0x465f70[_0x1cd3('0x39d')](_0x473d8f[_0x1cd3('0x162a')]?_0x473d8f[_0x1cd3('0x162a')][_0x1cd3('0x437')]():'');}}else{_0x465f70[_0x1cd3('0x39d')](_0x473d8f[_0x1cd3('0x162a')]?_0x473d8f[_0x1cd3('0x162a')][_0x1cd3('0x437')]():'');}}function _0x2059fd(){_0x465f70[_0x1cd3('0x4d8')]();}function _0x5f1b7e(){_0x473d8f[_0x1cd3('0x1640')]=!![];return _0x4321be[_0x1cd3('0xb47')][_0x1cd3('0xd6d')]({'phone':_0x473d8f[_0x1cd3('0x105')]['phone'],'UserId':_0x473d8f[_0x1cd3('0x162c')]?_0x37582e[_0x1cd3('0x5d')]()['id']:null,'ContactId':_0x473d8f[_0x1cd3('0x105')]['id'],'ListId':_0x473d8f[_0x1cd3('0x105')][_0x1cd3('0x106')],'VoiceQueueId':_0x473d8f[_0x1cd3('0x162f')]?Number(_0x473d8f['call'][_0x1cd3('0x1631')]):_0x473d8f[_0x1cd3('0x162d')]?_0x473d8f[_0x1cd3('0x162d')]['id']:null,'scheduledat':moment(_0x473d8f[_0x1cd3('0x1466')][_0x1cd3('0x1641')])['format'](_0x1cd3('0x377')),'priority':0x3,'recallme':_0x473d8f[_0x1cd3('0x162c')],'OwnerId':_0x37582e[_0x1cd3('0x5d')]()['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){if(_0x473d8f[_0x1cd3('0x162f')]){_0x4321be[_0x1cd3('0xb4d')][_0x1cd3('0x378')]({'id':_0x473d8f['call']['uniqueid'],'rescheduled':!![],'rescheduledat':moment(_0x473d8f[_0x1cd3('0x1466')][_0x1cd3('0x1641')])['format']('YYYY-MM-DD\x20HH:mm:ss'),'recallme':_0x473d8f['recallme']})[_0x1cd3('0x81')]['catch'](function(_0xf7a2c7){console[_0x1cd3('0x7d')](_0xf7a2c7);});}})[_0x1cd3('0x77')](function(){_0x19edcb[_0x1cd3('0x473')]({'title':_0x469f6e[_0x1cd3('0x44a')]('DASHBOARDS.INFO'),'msg':_0x469f6e[_0x1cd3('0x44a')](_0x1cd3('0x1622'))+'\x20'+(_0x473d8f[_0x1cd3('0x162c')]?_0x469f6e['instant']('DASHBOARDS.RECALLME'):_0x469f6e[_0x1cd3('0x44a')](_0x1cd3('0x1642')))});})[_0x1cd3('0xfd')](function(_0x412f8d){_0x465f70['hide'](_0x473d8f[_0x1cd3('0x162a')]?_0x473d8f['choice'][_0x1cd3('0x437')]():'');})[_0x1cd3('0x5dd')](function(){_0x473d8f[_0x1cd3('0x1640')]=![];_0x465f70[_0x1cd3('0x39d')](_0x473d8f['choice']?_0x473d8f[_0x1cd3('0x162a')][_0x1cd3('0x437')]():'');});}}}());(function(){'use strict';_0x1dda2e[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x53e'),_0x1cd3('0xd24'),_0x1cd3('0x3c5'),'$timeout',_0x1cd3('0x461'),_0x1cd3('0x370'),_0x1cd3('0x105'),_0x1cd3('0x46d'),'Auth',_0x1cd3('0x162c'),_0x1cd3('0x3f7')];angular['module'](_0x1cd3('0x2b'))['controller']('RescheduleCallDialogController',_0x1dda2e);function _0x1dda2e(_0x1687c1,_0x3c7b86,_0x370cf1,_0xff7f07,_0x1df309,_0x13af61,_0x9a8bc1,_0x209192,_0xd76f6a,_0x4f3e04,_0x1ce3c8,_0x4b9dce){var _0x19655b=this;_0x19655b['call']=_0xd76f6a;_0x19655b['contact']=_0x209192;_0x19655b[_0x1cd3('0x1466')]={'minDate':new Date(),'dateTime':new Date()};_0x19655b[_0x1cd3('0x39c')]=_0x411f7a;_0x19655b[_0x1cd3('0x1643')]=_0x1fda23;function _0x1fda23(){_0x19655b[_0x1cd3('0x1640')]=!![];return _0x9a8bc1[_0x1cd3('0xb47')][_0x1cd3('0xd6d')]({'phone':_0x19655b[_0x1cd3('0x105')][_0x1cd3('0xf09')],'UserId':_0x1ce3c8?_0x4f3e04[_0x1cd3('0x5d')]()['id']:null,'ContactId':_0x19655b['contact']['id'],'ListId':_0x19655b['contact'][_0x1cd3('0x106')],'VoiceQueueId':Number(_0x19655b[_0x1cd3('0x46d')]['xmd-voicequeueid']),'scheduledat':moment(_0x19655b[_0x1cd3('0x1466')]['dateTime'])['format'](_0x1cd3('0x377')),'priority':0x3,'recallme':_0x1ce3c8,'OwnerId':_0x4f3e04['getCurrentUser']()['id']})['$promise'][_0x1cd3('0x77')](function(){_0x9a8bc1[_0x1cd3('0xb4d')]['update']({'id':_0x19655b[_0x1cd3('0x46d')][_0x1cd3('0x6b4')],'rescheduled':!![],'rescheduledat':moment(_0x19655b[_0x1cd3('0x1466')][_0x1cd3('0x1641')])[_0x1cd3('0x130')](_0x1cd3('0x377')),'recallme':_0x1ce3c8})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(){_0x13af61['success']({'title':_0x4b9dce[_0x1cd3('0x44a')](_0x1cd3('0x163c')),'msg':_0x4b9dce[_0x1cd3('0x44a')](_0x1cd3('0x1622'))+'\x20'+(_0x1ce3c8?_0x4b9dce['instant'](_0x1cd3('0x1644')):_0x4b9dce['instant'](_0x1cd3('0x1642')))});_0xff7f07['hide']();})[_0x1cd3('0xfd')](function(_0x84c701){_0xff7f07[_0x1cd3('0x4d8')](_0x84c701);})[_0x1cd3('0x5dd')](function(){_0x19655b[_0x1cd3('0x1640')]=![];});}function _0x411f7a(){_0xff7f07[_0x1cd3('0x4d8')]();}}}());(function(){'use strict';_0x1f7b30['$inject']=['$scope',_0x1cd3('0x585')];angular[_0x1cd3('0x0')](_0x1cd3('0x2a'))[_0x1cd3('0x39b')](_0x1cd3('0x1645'),_0x1f7b30);function _0x1f7b30(_0x263857,_0x4e1e21){var _0x38b2da=this;var _0x255ec2=_0x4e1e21(function(){},0x3e7);_0x263857[_0x1cd3('0x4d3')]('$destroy',function(){if(_0x255ec2){_0x4e1e21['cancel'](_0x255ec2);_0x255ec2=null;}});}}());(function(){'use strict';_0x290e1d['$inject']=[_0x1cd3('0x460'),_0x1cd3('0x3e7'),_0x1cd3('0x3c5'),_0x1cd3('0x372'),_0x1cd3('0x371'),_0x1cd3('0x3f7'),_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0xd18'),_0x1cd3('0x461')];angular[_0x1cd3('0x0')](_0x1cd3('0x2a'))[_0x1cd3('0x39b')](_0x1cd3('0x1646'),_0x290e1d);function _0x290e1d(_0x6e4490,_0x5ba094,_0x28c4ef,_0x5ef458,_0x4af328,_0x1d2aa9,_0x436021,_0x142613,_0x37e978,_0x6a559d){var _0x5b5cdf=this;_0x5b5cdf[_0x1cd3('0x1647')]=![];_0x5b5cdf[_0x1cd3('0x8fa')]=!![];_0x5b5cdf[_0x1cd3('0x1640')]=[];_0x5b5cdf[_0x1cd3('0xb63')]={'count':0x0,'rows':[]};_0x5b5cdf[_0x1cd3('0x3ca')]=_0x142613[_0x1cd3('0x5d')]();_0x5b5cdf[_0x1cd3('0x1155')]={};_0x5b5cdf['abandonedCalls']={'count':0x0,'rows':[]};_0x5b5cdf['query']={'fields':_0x1cd3('0x1648'),'type':_0x1cd3('0x128'),'queuecallerexitreason':_0x1cd3('0x1649')+','+_0x1cd3('0x164a'),'sort':_0x1cd3('0x5b'),'limit':0xa,'page':0x1};_0x5b5cdf['getAbandonedCalls']=_0x57e122;_0x5b5cdf[_0x1cd3('0x164b')]=_0x30332a;_0x5b5cdf['onInit']=_0x120d01;_0x5b5cdf[_0x1cd3('0x164c')]=_0x57bf4d;_0x5b5cdf[_0x1cd3('0x46d')]=_0x6e4490[_0x1cd3('0x70b')]['$parent']['$parent'][_0x1cd3('0x70b')]['vm'][_0x1cd3('0x46d')];_0x5b5cdf[_0x1cd3('0x46e')]=_0x6e4490[_0x1cd3('0x70b')][_0x1cd3('0x70b')][_0x1cd3('0x70b')][_0x1cd3('0x70b')]['vm'][_0x1cd3('0x46e')];_0x5b5cdf['webcall']=_0x6e4490['$parent'][_0x1cd3('0x70b')][_0x1cd3('0x70b')][_0x1cd3('0x70b')]['vm'][_0x1cd3('0x164d')];_0x5b5cdf[_0x1cd3('0x164e')]=_0x6e4490['$parent'][_0x1cd3('0x70b')][_0x1cd3('0x70b')]['$parent']['vm'][_0x1cd3('0x164e')];_0x5b5cdf[_0x1cd3('0x164f')]=_0x1db1c7;_0x5b5cdf[_0x1cd3('0x1650')]=_0x2982e7;_0x37e978['onWithoutApply']('voiceQueueReport:save',_0x2492b3);_0x37e978['onWithoutApply'](_0x1cd3('0x1651'),_0x4a7e39);_0x120d01();function _0x120d01(){return _0x436021[_0x1cd3('0xb63')][_0x1cd3('0x361')]({'MailAccountId':_0x1cd3('0x220'),'FaxAccountId':_0x1cd3('0x220'),'SmsAccountId':_0x1cd3('0x220'),'WhatsappAccountId':_0x1cd3('0x220'),'OpenchannelAccountId':'null','ChatWebsiteId':'null'})['$promise'][_0x1cd3('0x77')](function(_0x411310){_0x5b5cdf[_0x1cd3('0xb63')]=_0x411310?_0x411310[_0x1cd3('0xf6')]:[];return _0x436021[_0x1cd3('0x368')]['getQueues']({'id':_0x142613[_0x1cd3('0x5d')]()['id'],'fields':_0x1cd3('0xa6'),'channel':_0x1cd3('0x121'),'type':_0x1cd3('0x128'),'nolimit':!![]})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x252a48){_0x5b5cdf[_0x1cd3('0x1155')]=_0x252a48||{'count':0x0,'rows':[]};_0x5b5cdf[_0x1cd3('0x1652')]=_[_0x1cd3('0x3d8')](_[_0x1cd3('0xe2d')](_0x5b5cdf[_0x1cd3('0x1155')][_0x1cd3('0xf6')],_0x1cd3('0x98')),_0x1cd3('0x98'));_0x5b5cdf[_0x1cd3('0x1653')]=_0x5b5cdf[_0x1cd3('0x1155')]['rows']?_[_0x1cd3('0x3d9')](_0x5b5cdf[_0x1cd3('0x1155')]['rows'],_0x1cd3('0x98'))[_0x1cd3('0x3de')](','):undefined;})[_0x1cd3('0x77')](function(){_0x5b5cdf[_0x1cd3('0x1315')]=_0x25bce1();})['catch'](function(_0xfd52ef){console[_0x1cd3('0x7d')](_0xfd52ef);})['finally'](function(){var _0x15e30c=_0x4af328[_0x1cd3('0x385')][_0x1cd3('0x3e0')](_0x1cd3('0x1654')+_0x5b5cdf['currentUser']['id']);if(_0x15e30c){_0x15e30c=JSON[_0x1cd3('0x79')](_0x15e30c);if(_0x15e30c[_0x1cd3('0x3d4')]){_0x5b5cdf[_0x1cd3('0x3d4')]=_['merge'](_0x15e30c[_0x1cd3('0x3d4')],_[_0x1cd3('0x3e3')](_0x5b5cdf['query'],['sort',_0x1cd3('0x8fe'),_0x1cd3('0x8fd')]));_0x5b5cdf[_0x1cd3('0x3d4')]=_[_0x1cd3('0x3e3')](_0x5b5cdf[_0x1cd3('0x3d4')],_0x1cd3('0x395'));}}else{var _0x296515={'$gte':moment()['startOf'](_0x1cd3('0x6e8'))[_0x1cd3('0x12f')](0x0,!![])[_0x1cd3('0x130')](),'$lte':moment()[_0x1cd3('0x131')](_0x1cd3('0x6e8'))[_0x1cd3('0x12f')](0x0,!![])['format']()};_0x5b5cdf['query'][_0x1cd3('0xe0d')]=_0x296515;}_0x5b5cdf['isSearchBarVisible']=_0x5b5cdf[_0x1cd3('0x3d4')][_0x1cd3('0x395')]?!![]:![];_0x5b5cdf[_0x1cd3('0x1655')]();});}function _0x25bce1(){return[{'name':_0x1cd3('0x132c'),'key':'createdAt','type':'date','label':_0x1cd3('0x1316')},{'name':_0x1cd3('0x1227'),'key':_0x1cd3('0x1226'),'type':_0x1cd3('0x44f'),'label':_0x1cd3('0x131f'),'customOptions':[{'value':_0x5b5cdf[_0x1cd3('0x3ca')]['id'],'translate':_0x1cd3('0x1656')},{'value':_0x1cd3('0x1657'),'translate':_0x1cd3('0x1320')},{'value':undefined,'translate':_0x1cd3('0x910')}]},{'name':'Campaign','key':_0x1cd3('0x1220'),'type':'multiselect','label':_0x1cd3('0x1658'),'options':_0x5b5cdf[_0x1cd3('0x1155')]['rows'],'ngValue':_0x1cd3('0x98'),'clearAll':![]}];}function _0x57e122(){_0x5b5cdf[_0x1cd3('0x3d4')]['queue']=_0x5b5cdf['query']['queue']||_0x5b5cdf[_0x1cd3('0x1653')][_0x1cd3('0x3ef')](',');_0x5b5cdf[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0x5b5cdf[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0x5b5cdf[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];var _0x3148e4={'query':_0x5b5cdf[_0x1cd3('0x3d4')]};_0x4af328[_0x1cd3('0x385')][_0x1cd3('0x3e2')](_0x1cd3('0x1654')+_0x5b5cdf[_0x1cd3('0x3ca')]['id'],JSON['stringify'](_0x3148e4));_0x5b5cdf[_0x1cd3('0x539')]=_0x436021[_0x1cd3('0xa70')]['getVoiceQueuesReport'](_0x5b5cdf[_0x1cd3('0x3d4')],_0x5b7b47)[_0x1cd3('0x81')];}function _0x5b7b47(_0x59313d){_0x5b5cdf[_0x1cd3('0x1659')]=_0x59313d||{'count':0x0,'rows':[]};_0x5b5cdf[_0x1cd3('0x8fa')]=!![];}function _0x1db1c7(){_0x5b5cdf[_0x1cd3('0x3d4')]['filter']=undefined;_0x5b5cdf[_0x1cd3('0x165a')]=![];}function _0x2982e7(){_0x5b5cdf[_0x1cd3('0x165a')]=!![];}var _0x132a5e=!![];var _0x4b947d=0x1;_0x6e4490[_0x1cd3('0x4d6')](_0x1cd3('0x165b'),function(_0x518279,_0x110b19){if(_0x132a5e){_0x5ba094(function(){_0x132a5e=![];});}else{if(!_0x110b19){_0x4b947d=_0x5b5cdf[_0x1cd3('0x3d4')]['page'];}if(_0x518279!==_0x110b19){_0x5b5cdf[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}if(!_0x518279){_0x5b5cdf[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0x4b947d;}_0x5b5cdf[_0x1cd3('0x1655')]();}});function _0x30332a(){_0x5b5cdf['showTooltip']=![];_0x5b5cdf[_0x1cd3('0x1655')]();}function _0x57bf4d(_0x1c80db,_0x27df09){if(_0x1c80db){_0x5b5cdf[_0x1cd3('0x1640')][_0x1c80db['id']]=!![];_0x436021[_0x1cd3('0xa70')][_0x1cd3('0x378')]({'id':_0x1c80db['id'],'lastAssignedTo':_0x1c80db[_0x1cd3('0x165c')]?_0x5b5cdf[_0x1cd3('0x3ca')]['name']:null,'assigned':_0x1c80db['assigned'],'disposition':_0x27df09?_0x27df09:null})[_0x1cd3('0x81')][_0x1cd3('0xfd')](function(_0x103410){console['log'](_0x103410);})[_0x1cd3('0x5dd')](function(){_0x5b5cdf[_0x1cd3('0x1640')][_0x1c80db['id']]=![];});}}function _0x2492b3(_0x35eb70){if(_0x5b5cdf[_0x1cd3('0x1652')]&&_0x35eb70[_0x1cd3('0x424')]===_0x1cd3('0x128')&&_0x5b5cdf[_0x1cd3('0x1652')][_0x35eb70[_0x1cd3('0x1220')]]){_0x5b5cdf['showTooltip']=!![];}}function _0x4a7e39(_0x2ada46){if(_0x2ada46){var _0x113c0d=_['findIndex'](_0x5b5cdf['abandonedCalls'][_0x1cd3('0xf6')],['id',_0x2ada46['id']]);if(_0x113c0d>=0x0){_['merge'](_0x5b5cdf[_0x1cd3('0x1659')][_0x1cd3('0xf6')][_0x113c0d],_0x2ada46);}}}_0x6e4490[_0x1cd3('0x4d3')](_0x1cd3('0x523'),function(){_0x37e978['removeAllListeners'](_0x1cd3('0x165d'));_0x37e978[_0x1cd3('0x6a3')](_0x1cd3('0x1651'));});}}());(function(){'use strict';_0x31ac16['$inject']=[_0x1cd3('0x460'),'$timeout',_0x1cd3('0x3c5'),_0x1cd3('0x372'),'$window',_0x1cd3('0x3f7'),'api',_0x1cd3('0x56'),_0x1cd3('0xd18'),_0x1cd3('0x461')];angular[_0x1cd3('0x0')](_0x1cd3('0x2a'))[_0x1cd3('0x39b')]('AgentHomeAbandonedVoiceController',_0x31ac16);function _0x31ac16(_0x5b1ee0,_0x5004f1,_0xbc04a0,_0x24abc9,_0x455d4,_0x11d734,_0x177869,_0x544134,_0x5268df,_0x20061a){var _0x4307c4=this;_0x4307c4[_0x1cd3('0x1647')]=![];_0x4307c4[_0x1cd3('0x8fa')]=!![];_0x4307c4[_0x1cd3('0x1640')]=[];_0x4307c4['disposition']={'count':0x0,'rows':[]};_0x4307c4[_0x1cd3('0x3ca')]=_0x544134['getCurrentUser']();_0x4307c4[_0x1cd3('0x1155')]={};_0x4307c4[_0x1cd3('0x1659')]={'count':0x0,'rows':[]};_0x4307c4['query']={'fields':'id,type,calleridnum,calleridname,queue,queuecallerabandonAt,queuecallerexitAt,queuecallerexitreason,assigned,lastAssignedTo,updatedAt,disposition','type':_0x1cd3('0xa4'),'queuecallerexitreason':_0x1cd3('0x1649')+','+_0x1cd3('0x164a'),'sort':'-updatedAt','limit':0xa,'page':0x1};_0x4307c4[_0x1cd3('0x1655')]=_0x271321;_0x4307c4[_0x1cd3('0x164b')]=_0x33577d;_0x4307c4[_0x1cd3('0x703')]=_0x1a079f;_0x4307c4[_0x1cd3('0x164c')]=_0x1318aa;_0x4307c4[_0x1cd3('0x46d')]=_0x5b1ee0['$parent'][_0x1cd3('0x70b')][_0x1cd3('0x70b')][_0x1cd3('0x70b')]['vm'][_0x1cd3('0x46d')];_0x4307c4[_0x1cd3('0x46e')]=_0x5b1ee0[_0x1cd3('0x70b')][_0x1cd3('0x70b')]['$parent']['$parent']['vm'][_0x1cd3('0x46e')];_0x4307c4[_0x1cd3('0x164d')]=_0x5b1ee0[_0x1cd3('0x70b')][_0x1cd3('0x70b')][_0x1cd3('0x70b')][_0x1cd3('0x70b')]['vm'][_0x1cd3('0x164d')];_0x4307c4[_0x1cd3('0x164e')]=_0x5b1ee0[_0x1cd3('0x70b')]['$parent'][_0x1cd3('0x70b')][_0x1cd3('0x70b')]['vm'][_0x1cd3('0x164e')];_0x4307c4[_0x1cd3('0x164f')]=_0x3b8747;_0x4307c4[_0x1cd3('0x1650')]=_0x3f8235;_0x5268df[_0x1cd3('0x1555')](_0x1cd3('0x165d'),_0x2dc505);_0x5268df[_0x1cd3('0x1555')](_0x1cd3('0x1651'),_0x475b1c);_0x1a079f();function _0x1a079f(){return _0x177869[_0x1cd3('0xb63')][_0x1cd3('0x361')]({'MailAccountId':'null','FaxAccountId':_0x1cd3('0x220'),'SmsAccountId':_0x1cd3('0x220'),'WhatsappAccountId':_0x1cd3('0x220'),'OpenchannelAccountId':_0x1cd3('0x220'),'ChatWebsiteId':_0x1cd3('0x220')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x61dc4b){_0x4307c4['disposition']=_0x61dc4b?_0x61dc4b[_0x1cd3('0xf6')]:[];return _0x177869[_0x1cd3('0x368')]['getQueues']({'id':_0x544134[_0x1cd3('0x5d')]()['id'],'fields':'id,name','channel':_0x1cd3('0x121'),'type':'inbound','nolimit':!![]})['$promise'];})[_0x1cd3('0x77')](function(_0x1e4489){_0x4307c4[_0x1cd3('0x1155')]=_0x1e4489||{'count':0x0,'rows':[]};_0x4307c4['queuesMap']=_[_0x1cd3('0x3d8')](_[_0x1cd3('0xe2d')](_0x4307c4[_0x1cd3('0x1155')][_0x1cd3('0xf6')],'name'),_0x1cd3('0x98'));_0x4307c4[_0x1cd3('0x1653')]=_0x4307c4[_0x1cd3('0x1155')]['rows']?_[_0x1cd3('0x3d9')](_0x4307c4[_0x1cd3('0x1155')][_0x1cd3('0xf6')],_0x1cd3('0x98'))['join'](','):undefined;})[_0x1cd3('0x77')](function(){_0x4307c4[_0x1cd3('0x1315')]=_0x5254f6();})[_0x1cd3('0xfd')](function(_0x16d433){console[_0x1cd3('0x7d')](_0x16d433);})['finally'](function(){var _0x57d3eb=_0x455d4['localStorage'][_0x1cd3('0x3e0')](_0x1cd3('0x165e')+_0x4307c4[_0x1cd3('0x3ca')]['id']);if(_0x57d3eb){_0x57d3eb=JSON['parse'](_0x57d3eb);if(_0x57d3eb['query']){_0x4307c4[_0x1cd3('0x3d4')]=_['merge'](_0x57d3eb[_0x1cd3('0x3d4')],_[_0x1cd3('0x3e3')](_0x4307c4['query'],[_0x1cd3('0x550'),'limit',_0x1cd3('0x8fd')]));_0x4307c4[_0x1cd3('0x3d4')]=_['omit'](_0x4307c4[_0x1cd3('0x3d4')],'filter');}}else{var _0x5131f7={'$gte':moment()[_0x1cd3('0x12e')]('month')[_0x1cd3('0x12f')](0x0,!![])[_0x1cd3('0x130')](),'$lte':moment()[_0x1cd3('0x131')](_0x1cd3('0x6e8'))[_0x1cd3('0x12f')](0x0,!![])[_0x1cd3('0x130')]()};_0x4307c4[_0x1cd3('0x3d4')][_0x1cd3('0xe0d')]=_0x5131f7;}_0x4307c4[_0x1cd3('0x165a')]=_0x4307c4['query'][_0x1cd3('0x395')]?!![]:![];_0x4307c4[_0x1cd3('0x1655')]();});}function _0x5254f6(){return[{'name':_0x1cd3('0x132c'),'key':_0x1cd3('0xe0d'),'type':_0x1cd3('0x406'),'label':_0x1cd3('0x1316')},{'name':_0x1cd3('0x1227'),'key':_0x1cd3('0x1226'),'type':_0x1cd3('0x44f'),'label':_0x1cd3('0x131f'),'customOptions':[{'value':_0x4307c4[_0x1cd3('0x3ca')]['id'],'translate':_0x1cd3('0x1656')},{'value':_0x1cd3('0x1657'),'translate':'DASHBOARDS.NOT_ASSIGNED'},{'value':undefined,'translate':_0x1cd3('0x910')}]},{'name':'Campaign','key':_0x1cd3('0x1220'),'type':'multiselect','label':_0x1cd3('0x165f'),'options':_0x4307c4[_0x1cd3('0x1155')][_0x1cd3('0xf6')],'ngValue':_0x1cd3('0x98'),'clearAll':![]}];}function _0x271321(){_0x4307c4[_0x1cd3('0x3d4')][_0x1cd3('0x1220')]=_0x4307c4[_0x1cd3('0x3d4')]['queue']||_0x4307c4['defaultQueues'][_0x1cd3('0x3ef')](',');_0x4307c4['query']['offset']=(_0x4307c4[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0x4307c4[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];var _0x482453={'query':_0x4307c4[_0x1cd3('0x3d4')]};_0x455d4[_0x1cd3('0x385')]['setItem'](_0x1cd3('0x165e')+_0x4307c4[_0x1cd3('0x3ca')]['id'],JSON['stringify'](_0x482453));_0x4307c4[_0x1cd3('0x539')]=_0x177869['voiceQueueReport']['getVoiceQueuesReport'](_0x4307c4[_0x1cd3('0x3d4')],_0x5dd537)[_0x1cd3('0x81')];}function _0x5dd537(_0x13d7a4){_0x4307c4[_0x1cd3('0x1659')]=_0x13d7a4||{'count':0x0,'rows':[]};_0x4307c4['refresh']=!![];}function _0x3b8747(){_0x4307c4['query']['filter']=undefined;_0x4307c4['isSearchBarVisible']=![];}function _0x3f8235(){_0x4307c4[_0x1cd3('0x165a')]=!![];}var _0x1f88c7=!![];var _0x476219=0x1;_0x5b1ee0[_0x1cd3('0x4d6')](_0x1cd3('0x1660'),function(_0x5bc47a,_0x38fdc5){if(_0x1f88c7){_0x5004f1(function(){_0x1f88c7=![];});}else{if(!_0x38fdc5){_0x476219=_0x4307c4[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0x5bc47a!==_0x38fdc5){_0x4307c4[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}if(!_0x5bc47a){_0x4307c4['query'][_0x1cd3('0x8fd')]=_0x476219;}_0x4307c4['getAbandonedCalls']();}});function _0x33577d(){_0x4307c4[_0x1cd3('0x1647')]=![];_0x4307c4[_0x1cd3('0x1655')]();}function _0x1318aa(_0x251ed7,_0xd06a0a){if(_0x251ed7){_0x4307c4[_0x1cd3('0x1640')][_0x251ed7['id']]=!![];_0x177869[_0x1cd3('0xa70')]['update']({'id':_0x251ed7['id'],'lastAssignedTo':_0x251ed7['assigned']?_0x4307c4['currentUser'][_0x1cd3('0x98')]:null,'assigned':_0x251ed7['assigned'],'disposition':_0xd06a0a?_0xd06a0a:null})[_0x1cd3('0x81')]['catch'](function(_0x51be42){console[_0x1cd3('0x7d')](_0x51be42);})['finally'](function(){_0x4307c4[_0x1cd3('0x1640')][_0x251ed7['id']]=![];});}}function _0x2dc505(_0x19150a){if(_0x4307c4[_0x1cd3('0x1652')]&&_0x19150a[_0x1cd3('0x424')]===_0x1cd3('0xa4')&&_0x4307c4['queuesMap'][_0x19150a['queue']]){_0x4307c4[_0x1cd3('0x1647')]=!![];}}function _0x475b1c(_0xab5fc7){if(_0xab5fc7){var _0x30d3a7=_['findIndex'](_0x4307c4[_0x1cd3('0x1659')][_0x1cd3('0xf6')],['id',_0xab5fc7['id']]);if(_0x30d3a7>=0x0){_[_0x1cd3('0xf2')](_0x4307c4[_0x1cd3('0x1659')][_0x1cd3('0xf6')][_0x30d3a7],_0xab5fc7);}}}_0x5b1ee0[_0x1cd3('0x4d3')](_0x1cd3('0x523'),function(){_0x5268df[_0x1cd3('0x6a3')]('voiceQueueReport:save');_0x5268df[_0x1cd3('0x6a3')]('voiceQueueReport:update');});}}());(function(){'use strict';_0x17adc1['$inject']=[_0x1cd3('0x460'),'$window','Auth',_0x1cd3('0x1661'),_0x1cd3('0x1564')];angular[_0x1cd3('0x0')](_0x1cd3('0x2a'))[_0x1cd3('0x39b')](_0x1cd3('0x1662'),_0x17adc1);function _0x17adc1(_0x367f17,_0x3b70d1,_0x135af4,_0x185a52,_0x21c3a1){var _0x4d7748=this;_0x4d7748[_0x1cd3('0x368')]=_0x135af4[_0x1cd3('0x5d')]();_0x4d7748[_0x1cd3('0x463')]={};_0x4d7748['plugin']={};_0x4d7748[_0x1cd3('0xc49')]={};_0x4d7748['sidebar']=_0x1cd3('0xa9e');_0x4d7748['draftManager']=_0x21c3a1;_0x4d7748[_0x1cd3('0x522')]=_0x185a52[_0x1cd3('0x555')]();_0x4d7748[_0x1cd3('0x15c1')]=_0x367f17['$parent']['vm']['addContactTab'];_0x4d7748['addInteractionTab']=_0x367f17[_0x1cd3('0x70b')]['vm'][_0x1cd3('0x1574')];_0x4d7748['init']=_0x9f1ecf;_0x4d7748[_0x1cd3('0x1663')]=_0x559bb1;_0x4d7748[_0x1cd3('0x369')]=_0x2ddd4f;function _0x9f1ecf(_0x1da5dc,_0x2f61ee){_0x4d7748[_0x1cd3('0x463')]=_0x1da5dc;_0x4d7748[_0x1cd3('0xc49')]=_0x2f61ee;var _0x9dcb44=_0x3b70d1[_0x1cd3('0x385')]['getItem'](_0x1cd3('0x15d5')+_0x4d7748[_0x1cd3('0x368')]['id']);if(_0x9dcb44){try{_0x9dcb44=JSON[_0x1cd3('0x79')](_0x9dcb44);_0x4d7748[_0x1cd3('0x1664')]=_0x9dcb44[_0x1cd3('0x15d6')]?_0x9dcb44[_0x1cd3('0x15d6')]:_0x1cd3('0xa9e');}catch(_0x4c5334){console[_0x1cd3('0x434')](_0x4c5334);_0x4d7748[_0x1cd3('0x1664')]=_0x1cd3('0xa9e');}if(_0x4d7748[_0x1cd3('0x1664')]===_0x1cd3('0x1d2')){_0x4d7748['draftManager'][_0x1cd3('0xe08')]();}}}function _0x2ddd4f(_0x52adf5){return _0x135af4[_0x1cd3('0x369')](_0x52adf5);}function _0x559bb1(_0x2fca4a){_0x4d7748[_0x1cd3('0x1664')]=_0x2fca4a[_0x1cd3('0x1665')];if(_0x4d7748[_0x1cd3('0x1664')]===_0x1cd3('0xc78')){_0x4d7748[_0x1cd3('0xc78')]=_0x2fca4a['stateParams'];_0x4d7748[_0x1cd3('0x1666')]=_0x2fca4a['id'];_0x367f17[_0x1cd3('0x46c')]('pluginUpdated',{'plugin':_0x4d7748[_0x1cd3('0xc78')]});}_0x3b70d1[_0x1cd3('0x385')][_0x1cd3('0x3e2')](_0x1cd3('0x15d5')+_0x4d7748['user']['id'],JSON[_0x1cd3('0x438')]({'currentSidebarTab':_0x2fca4a[_0x1cd3('0x1665')]}));}_0x367f17['$watch']('vm_home.sidebar',function(_0x188c54,_0x520d37){if(_0x188c54===_0x1cd3('0x1d2')){_0x4d7748[_0x1cd3('0x1564')][_0x1cd3('0xe08')]();}else{_0x4d7748[_0x1cd3('0x1564')][_0x1cd3('0x15cf')]={};}});}}());(function(){'use strict';_0x16a509['$inject']=[_0x1cd3('0x460'),_0x1cd3('0x3e7'),_0x1cd3('0x3c5'),_0x1cd3('0x372'),_0x1cd3('0x371'),_0x1cd3('0x3f7'),_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0xd18'),_0x1cd3('0x461')];angular['module'](_0x1cd3('0x2a'))['controller'](_0x1cd3('0x1667'),_0x16a509);function _0x16a509(_0x561681,_0x4b9340,_0x262e9b,_0xb766fa,_0x3cd30b,_0x57759a,_0x4d1782,_0x1be285,_0x510fae,_0x336e6d){var _0x21061e=this;_0x21061e['user']=_0x1be285[_0x1cd3('0x5d')]();_0x21061e[_0x1cd3('0x463')]={};_0x21061e[_0x1cd3('0xc49')]={};_0x21061e[_0x1cd3('0x921')]={'count':0x0,'rows':[]};_0x21061e['chatInteractions']={'count':0x0,'rows':[]};_0x21061e[_0x1cd3('0x3d4')]={'includeAll':!![],'sort':_0x1cd3('0x5b'),'limit':0xa,'page':0x1,'read':null,'closed':null};_0x21061e['advancedSearch']={'fields':[{'name':'Id','column':'id','type':'number'},{'name':_0x1cd3('0x1323'),'column':_0x1cd3('0x1323'),'type':_0x1cd3('0x42b'),'options':{'searchFields':[_0x1cd3('0x1447'),'lastName',_0x1cd3('0x1325')],'route':{'model':_0x1cd3('0xb3d'),'action':'get','params':{'fields':_0x1cd3('0x1668'),'Contact':_0x1cd3('0x42c'),'nolimit':!![]}},'extraOperators':[_0x1cd3('0x3fd')],'excludedOperators':['$ne']}},{'name':_0x1cd3('0x1328'),'column':_0x1cd3('0x380'),'type':_0x1cd3('0x401'),'options':{'excludedOperators':[_0x1cd3('0x44d'),'$ne']}},{'name':_0x1cd3('0x131b'),'column':'closed','type':_0x1cd3('0x44f'),'values':[{'id':0x0,'translate':_0x1cd3('0x131d')},{'id':0x1,'translate':_0x1cd3('0x131e')}],'options':{'excludedOperators':[_0x1cd3('0x3fb')]}},{'name':'Customer\x20Ip','column':_0x1cd3('0x1669'),'type':_0x1cd3('0x401'),'options':{'excludedOperators':[_0x1cd3('0x44d'),_0x1cd3('0x3fb'),'$startsWith',_0x1cd3('0x402')]}},{'name':_0x1cd3('0x1227'),'column':_0x1cd3('0x132a'),'type':_0x1cd3('0x42b'),'options':{'table':'i','route':{'model':'user','action':_0x1cd3('0x361'),'params':{'role':_0x1cd3('0xd2'),'fields':'id,name,fullname','nolimit':!![]}},'searchFields':['fullname','name'],'extraOperators':[_0x1cd3('0x3fd')],'excludedOperators':[_0x1cd3('0x3fb')]}},{'name':_0x1cd3('0x166a'),'column':_0x1cd3('0x1203'),'type':_0x1cd3('0x3fa'),'options':{'route':{'model':_0x1cd3('0x368'),'action':'getChatWebsites','params':{'id':_0x21061e[_0x1cd3('0x368')]['id'],'nolimit':!![]}}}},{'name':'Tags','column':_0x1cd3('0x1231'),'type':_0x1cd3('0x3fa'),'options':{'route':{'model':_0x1cd3('0xb76'),'action':_0x1cd3('0x361'),'params':{'nolimit':!![]}},'excludedOperators':[_0x1cd3('0x3dd')]}},{'name':_0x1cd3('0x132c'),'column':_0x1cd3('0xe0d'),'type':_0x1cd3('0x406'),'options':{'excludedOperators':[_0x1cd3('0x3fb')]}},{'name':_0x1cd3('0x132d'),'column':_0x1cd3('0x132e'),'type':'select','values':[{'id':0x1,'translate':_0x1cd3('0x131a')},{'id':0x0,'translate':'DASHBOARDS.UNREAD'}],'options':{'excludedOperators':[_0x1cd3('0x3fb')]}}]};_0x21061e[_0x1cd3('0x166b')]=_0x1cd3('0x148b');_0x21061e[_0x1cd3('0x703')]=_0x40f8a1;_0x21061e['success']=_0x21d227;_0x21061e[_0x1cd3('0x166c')]=_0x22a896;_0x21061e[_0x1cd3('0x166d')]=_0x1e5ece;_0x21061e[_0x1cd3('0x166e')]=_0x4a1ab7;_0x21061e[_0x1cd3('0x166f')]=_0x1e2d63;_0x21061e[_0x1cd3('0x1670')]=_0x35c430;_0x21061e[_0x1cd3('0x1671')]=_0x4de74a;_0x21061e[_0x1cd3('0x1672')]=_0x406256;_0x21061e[_0x1cd3('0x164f')]=_0x1de1b1;_0x21061e['onSearchBarExpand']=_0x45481c;_0x21061e[_0x1cd3('0x1673')]=_0x522329;function _0x40f8a1(_0x35a7e9,_0x539e6e){_0x21061e['license']=_0x35a7e9;_0x21061e['setting']=_0x539e6e;return _0x4d1782['user']['get'+_['upperFirst'](_0x1cd3('0x133'))]({'id':_0x21061e[_0x1cd3('0x368')]['id'],'nolimit':!![]})[_0x1cd3('0x81')]['then'](function(_0x2a383f){_0x21061e[_0x1cd3('0x15fd')]=_0x2a383f||{'count':0x0,'rows':[]};return _0x4d1782['tag'][_0x1cd3('0x361')]()[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x211e35){_0x21061e[_0x1cd3('0x921')]=_0x211e35||{'count':0x0,'rows':[]};})[_0x1cd3('0x77')](function(){_0x21061e['quickFilters']=_0x407c8a();})[_0x1cd3('0xfd')](function(_0xe3293b){console[_0x1cd3('0x434')](_0xe3293b);})[_0x1cd3('0x5dd')](function(){var _0x52f680=_0x3cd30b[_0x1cd3('0x385')][_0x1cd3('0x3e0')](_0x1cd3('0x1674')+_0x21061e['user']['id']);if(_0x52f680){try{_0x52f680=JSON['parse'](_0x52f680);if(_0x52f680[_0x1cd3('0x3d4')]){_0x21061e['query']=_[_0x1cd3('0xf2')](_0x21061e['query'],_0x52f680['query']);if(_[_0x1cd3('0x398')](_0x21061e[_0x1cd3('0x15fd')][_0x1cd3('0xf6')])){_0x21061e['query'][_0x1cd3('0x1203')]=[];}else if(_['isEmpty'](_0x21061e['query'][_0x1cd3('0x1203')])){_0x21061e[_0x1cd3('0x3d4')]['ChatWebsiteId']=_(_0x21061e[_0x1cd3('0x15fd')]['rows'])[_0x1cd3('0x3d9')]('id')[_0x1cd3('0x1675')]()[_0x1cd3('0x3db')]();}if(_0x21061e[_0x1cd3('0x3d4')]['sort']&&_0x21061e[_0x1cd3('0x3d4')][_0x1cd3('0x550')][_0x1cd3('0x45e')](_0x1cd3('0x1676'))>=0x0){_0x21061e['query']=_[_0x1cd3('0x3e3')](_0x21061e[_0x1cd3('0x3d4')],'sort');}_0x21061e[_0x1cd3('0x3d4')]['includeAll']=!![];_0x21061e['isSearchBarVisible']=_0x21061e['query'][_0x1cd3('0x395')]?!![]:![];}}catch(_0x3fafba){console['error'](_0x3fafba);}}else{var _0x3be7ea={'$gte':moment()[_0x1cd3('0x12e')](_0x1cd3('0x6e8'))['utcOffset'](0x0,!![])[_0x1cd3('0x130')](),'$lte':moment()['endOf'](_0x1cd3('0x6e8'))[_0x1cd3('0x12f')](0x0,!![])[_0x1cd3('0x130')]()};var _0x19e946={'ChatWebsiteId':_[_0x1cd3('0x3d9')](_0x21061e[_0x1cd3('0x15fd')]['rows'],'id'),'createdAt':_0x3be7ea};_0x21061e[_0x1cd3('0x3d4')]=_['merge'](_0x21061e[_0x1cd3('0x3d4')],_0x19e946);}_0x510fae['on'](_0x1cd3('0x1677'),_0x41fa98);_0x510fae['on'](_0x1cd3('0x1678'),_0x41fa98);_0x510fae['on'](_0x1cd3('0x1679'),_0x13ccbc);_0x510fae['on'](_0x1cd3('0x167a'),_0x7a4711);_0x510fae['on'](_0x1cd3('0x167b'),_0x7a4711);_0x510fae['on'](_0x1cd3('0x167c'),_0x4ba55e);_0x510fae['on'](_0x1cd3('0x167d'),_0x21fab2);_0x22a896(_0x21061e[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]);});}function _0x407c8a(){return[{'name':'Start\x20Date','key':_0x1cd3('0xe0d'),'type':_0x1cd3('0x406'),'label':_0x1cd3('0x1316')},{'name':_0x1cd3('0x1317'),'key':_0x1cd3('0x167e'),'type':_0x1cd3('0x44f'),'label':'DASHBOARDS.SELECT_READ_UNREAD','customOptions':[{'value':0x0,'translate':_0x1cd3('0x1319')},{'value':0x1,'translate':_0x1cd3('0x131a')},{'value':null,'translate':_0x1cd3('0x910')}]},{'name':'Status','key':_0x1cd3('0x1586'),'type':'select','label':'DASHBOARDS.SELECT_STATUS','customOptions':[{'value':0x0,'translate':_0x1cd3('0x131d')},{'value':0x1,'translate':_0x1cd3('0x131e')},{'value':null,'translate':_0x1cd3('0x910')}]},{'name':_0x1cd3('0x166a'),'key':_0x1cd3('0x1203'),'type':_0x1cd3('0x3fa'),'label':_0x1cd3('0x167f'),'options':_0x21061e[_0x1cd3('0x15fd')]['rows'],'clearAll':![]},{'name':'Agent','key':_0x1cd3('0x1226'),'type':'select','label':_0x1cd3('0x131f'),'customOptions':[{'value':_0x21061e[_0x1cd3('0x368')]['id'],'translate':_0x1cd3('0x1656')},{'value':_0x1cd3('0x220'),'translate':_0x1cd3('0x1320')},{'value':undefined,'translate':_0x1cd3('0x910')}]},{'name':'Tag','key':_0x1cd3('0xb76'),'type':_0x1cd3('0x3fa'),'label':_0x1cd3('0x1321'),'options':_0x21061e[_0x1cd3('0x921')][_0x1cd3('0xf6')],'placeholder':_0x1cd3('0x1322')}];}function _0x21d227(_0x4d4bc0){_0x21061e['searchInProgress']=![];_0x21061e['chatInteractions']=_0x4d4bc0||{'count':0x0,'rows':[]};for(var _0x31394e=0x0;_0x31394e<_0x21061e[_0x1cd3('0x1680')][_0x1cd3('0xf6')][_0x1cd3('0x7a')];_0x31394e+=0x1){_0x35c430(_0x21061e[_0x1cd3('0x1680')][_0x1cd3('0xf6')][_0x31394e]);}}function _0x22a896(_0x3b2273,_0x488b77){_0x21061e[_0x1cd3('0x1681')]=!![];if(!_0x3b2273){_0x21061e[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}_0x21061e[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0x21061e[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0x21061e[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];var _0xb75978=_0x3cd30b[_0x1cd3('0x385')][_0x1cd3('0x3e0')]('motion2.home.chat:'+_0x21061e[_0x1cd3('0x368')]['id']);_0xb75978=_0xb75978?JSON[_0x1cd3('0x79')](_0xb75978):{};_0xb75978['query']=_0x21061e[_0x1cd3('0x3d4')];_0x3cd30b[_0x1cd3('0x385')][_0x1cd3('0x3e2')]('motion2.home.chat:'+_0x21061e[_0x1cd3('0x368')]['id'],JSON['stringify'](_0xb75978));_0x21061e[_0x1cd3('0x539')]=_0x4d1782[_0x1cd3('0xb18')]['get'](_0x21061e[_0x1cd3('0x3d4')],_0x21d227)[_0x1cd3('0x81')];}function _0x1e5ece(_0x5c5806,_0x1b3784){_0x561681[_0x1cd3('0x70b')]['vm'][_0x1cd3('0x1574')](_0x1cd3('0xbf'),_0x1b3784);}function _0x4a1ab7(_0x3342aa,_0x184d98,_0xd3a1c8){_0x4d1782[_0x1cd3('0xb18')][_0x1cd3('0x489')]({'id':_0x184d98['id'],'attachments':_0xd3a1c8})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0xa54c8e){var _0x497e59=[_0xa54c8e[_0x1cd3('0x6ef')]];var _0x3ebc04=_0x1cd3('0x1333')+_0x184d98['id']+_0x1cd3('0x1334');var _0x392282=new Blob(_0x497e59,{'type':_0xa54c8e['type']});var _0xc0f866=window[_0x1cd3('0x924')][_0x1cd3('0x3aa')]('a');_0xc0f866[_0x1cd3('0x481')](_0x1cd3('0x3ab'),URL[_0x1cd3('0x48a')](_0x392282));_0xc0f866[_0x1cd3('0x481')]('download',_0x3ebc04);document[_0x1cd3('0x380')][_0x1cd3('0xd4e')](_0xc0f866);_0xc0f866[_0x1cd3('0x52d')]();})[_0x1cd3('0xfd')](function(_0x49ca48){if(_0x49ca48[_0x1cd3('0x439')]&&_0x49ca48[_0x1cd3('0x439')]['errors']&&_0x49ca48[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')]){for(var _0x25fda1=0x0;_0x25fda1<_0x49ca48[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length'];_0x25fda1+=0x1){_0x336e6d[_0x1cd3('0x434')]({'title':_0x49ca48[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x25fda1][_0x1cd3('0x424')],'msg':_0x49ca48[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x25fda1][_0x1cd3('0x43a')]});}}else{_0x336e6d['error']({'title':_0x49ca48['status']?'API:'+_0x49ca48['status']+_0x1cd3('0x436')+_0x49ca48[_0x1cd3('0xd35')]:_0x1cd3('0x166e'),'msg':_0x49ca48[_0x1cd3('0x439')]?JSON['stringify'](_0x49ca48[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x49ca48[_0x1cd3('0x43b')]()});}});}function _0x1e2d63(_0x21abe9,_0x415abd){var _0x53cd04=_0x21061e['user'][_0x1cd3('0x604')]||_0x21061e['user'][_0x1cd3('0x138b')]||_0x21061e[_0x1cd3('0x368')][_0x1cd3('0x1590')]||_0x21061e[_0x1cd3('0x368')][_0x1cd3('0x138c')]||_0x21061e[_0x1cd3('0x368')][_0x1cd3('0x138f')];var _0x3afd43=!_0x415abd[_0x1cd3('0x1591')][_0x1cd3('0x158c')];_0x262e9b[_0x1cd3('0x37e')]({'controller':'DisposeInteractionDialogController','controllerAs':'vm','templateUrl':'app/main/apps/dashboards/views/general/agent/interaction/dispose/dialog.html','parent':angular[_0x1cd3('0x37f')](_0xb766fa[_0x1cd3('0x380')]),'clickOutsideToClose':_0x3afd43,'escapeToClose':_0x3afd43,'onRemoving':function(_0xb54cb2,_0x5599d8){if(_0x21061e['user']&&_0x415abd[_0x1cd3('0x1591')]['mandatoryDisposition']&&!_0x53cd04){_0x4d1782[_0x1cd3('0x368')][_0x1cd3('0x13ed')]({'id':_0x21061e[_0x1cd3('0x368')]['id']})[_0x1cd3('0x81')][_0x1cd3('0xfd')](function(_0x27a998){console[_0x1cd3('0x434')](_0x27a998);});}},'locals':{'user':_0x21061e[_0x1cd3('0x368')],'channel':'chat','interaction':_0x415abd}});}function _0x35c430(_0x425119){if(_0x425119['Contact']){_0x425119[_0x1cd3('0x133e')]=(_0x425119[_0x1cd3('0x1323')][_0x1cd3('0x1447')]||'')+'\x20'+(_0x425119[_0x1cd3('0x1323')]['lastName']||'');}else{_0x425119[_0x1cd3('0x133e')]=_0x57759a[_0x1cd3('0x44a')](_0x1cd3('0x133f'));}}function _0x4de74a(_0x3a5cd2){if(_0x3a5cd2[_0x1cd3('0x1226')]){if(_0x3a5cd2['UserId']===_0x21061e[_0x1cd3('0x368')]['id']){return _0x57759a['instant'](_0x1cd3('0x1656'));}else{return _0x3a5cd2[_0x1cd3('0x1338')]['fullname']+'\x20<'+_0x3a5cd2[_0x1cd3('0x1338')][_0x1cd3('0x311')]+'>';}}return _0x57759a['instant']('DASHBOARDS.NOT_ASSIGNED');}function _0x406256(_0x29466e){if(_0x29466e[_0x1cd3('0x1591')]){return _0x29466e[_0x1cd3('0x1591')]['key'];}return _0x57759a[_0x1cd3('0x44a')]('DASHBOARDS.UNKNOWN');}function _0x4ba55e(_0x406825){var _0x473638;var _0x1420eb=_['find'](_0x21061e[_0x1cd3('0x1680')][_0x1cd3('0xf6')],{'id':_0x406825[_0x1cd3('0x1682')]});if(_0x1420eb&&_0x1420eb[_0x1cd3('0xa0')]){_0x473638=_['find'](_0x1420eb['Users'],{'id':_0x406825['UserId']});if(!_0x473638){_0x1420eb['Users'][_0x1cd3('0x7b')]({'id':_0x406825[_0x1cd3('0x1226')]});}}}function _0x21fab2(_0x28d6a6){var _0x327b9c=_['find'](_0x21061e[_0x1cd3('0x1680')][_0x1cd3('0xf6')],{'id':_0x28d6a6[_0x1cd3('0x1682')]});if(_0x327b9c&&_0x327b9c[_0x1cd3('0xa0')]){_[_0x1cd3('0x383')](_0x327b9c[_0x1cd3('0xa0')],{'id':_0x28d6a6[_0x1cd3('0x1226')]});}}function _0x41fa98(_0x57bf2e){if(_0x57bf2e){var _0x2511bc=_[_0x1cd3('0x442')](_0x21061e['chatInteractions'][_0x1cd3('0xf6')],{'id':_0x57bf2e['id']});if(_0x2511bc){_0x2511bc[_0x1cd3('0xa0')]=[];if(_0x57bf2e[_0x1cd3('0x1586')]){_0x2511bc[_0x1cd3('0x132e')]=0x0;}if(_0x21061e[_0x1cd3('0x3d4')][_0x1cd3('0x550')]){var _0x4aa8b5=_[_0x1cd3('0x13d4')](_0x21061e[_0x1cd3('0x3d4')][_0x1cd3('0x550')],'-')?'desc':_0x1cd3('0x13d6');_0x21061e[_0x1cd3('0x1680')][_0x1cd3('0xf6')]=_[_0x1cd3('0xe31')](_0x21061e[_0x1cd3('0x1680')][_0x1cd3('0xf6')],_[_0x1cd3('0x1683')](_0x21061e[_0x1cd3('0x3d4')][_0x1cd3('0x550')],'-'),_0x4aa8b5);}_[_0x1cd3('0xf2')](_0x2511bc,_[_0x1cd3('0x5e8')](_0x57bf2e,_[_0x1cd3('0x80')](_0x2511bc)));}else{_0x22a896(_0x21061e[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]);}}}function _0x13ccbc(_0xe05cfb){if(_0xe05cfb){var _0x1548d2=_[_0x1cd3('0x442')](_0x21061e[_0x1cd3('0x1680')][_0x1cd3('0xf6')],{'id':_0xe05cfb['id']});if(_0x1548d2){_0x1548d2[_0x1cd3('0xf9')]=_0xe05cfb[_0x1cd3('0x921')]||[];_[_0x1cd3('0xf2')](_0x1548d2,_[_0x1cd3('0x5e8')](_0xe05cfb,_[_0x1cd3('0x80')](_0x1548d2)));}}}function _0x7a4711(_0x29c7b9){if(_0x29c7b9&&!_0x29c7b9[_0x1cd3('0x1684')]){var _0x4810f6=_[_0x1cd3('0x442')](_0x21061e[_0x1cd3('0x1680')][_0x1cd3('0xf6')],{'id':_0x29c7b9[_0x1cd3('0x1682')]});if(_0x4810f6){var _0x206886=_[_0x1cd3('0x442')](_0x4810f6['Messages'],{'id':_0x29c7b9['id']});if(_0x206886){_[_0x1cd3('0xf2')](_0x206886,_[_0x1cd3('0x5e8')](_0x29c7b9,_[_0x1cd3('0x80')](_0x206886)));}else{if(_[_0x1cd3('0x472')](_0x4810f6[_0x1cd3('0x1317')])){_0x4810f6[_0x1cd3('0x1317')]={'count':0x0};}if(!_0x29c7b9[_0x1cd3('0x167e')]){_0x4810f6['Messages'][_0x1cd3('0x466')]+=0x1;}}}}}function _0x1de1b1(){_0x21061e[_0x1cd3('0x165a')]=![];}function _0x45481c(){_0x21061e[_0x1cd3('0x165a')]=!![];}function _0x522329(){_0x21061e[_0x1cd3('0x165a')]=![];_0x262e9b[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x3c9'),'controllerAs':'vm','templateUrl':'app/core/dialogs/advanced-search/dialog.html','parent':angular['element'](_0xb766fa['body']),'clickOutsideToClose':![],'locals':{'color':_0x21061e[_0x1cd3('0x166b')],'fields':_0x21061e[_0x1cd3('0x3d1')][_0x1cd3('0x3c7')],'storagePath':_0x1cd3('0x1685')},'fullscreen':!![]})[_0x1cd3('0x77')](function(_0x1f2304){_0x21061e[_0x1cd3('0x3d4')]['search']=_0x1f2304===![]?undefined:_0x1f2304;if(_0x21061e[_0x1cd3('0x3d4')][_0x1cd3('0x3e4')]||_0x1f2304===![])_0x22a896();})['catch'](function(_0x273590){_0x336e6d[_0x1cd3('0x434')]({'title':'ERROR','msg':_0x273590[_0x1cd3('0x439')]?JSON['stringify'](_0x273590['data'][_0x1cd3('0x43a')]):_0x273590[_0x1cd3('0x43b')]()});});}var _0x295817=!![];var _0xaadf75=0x1;_0x561681[_0x1cd3('0x4d6')](_0x1cd3('0xd56'),function(_0x33ca07,_0x21fcef){if(_0x295817){_0x4b9340(function(){_0x295817=![];});}else{if(!_0x21fcef){_0xaadf75=_0x21061e[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0x33ca07!==_0x21fcef){_0x21061e['query']['page']=0x1;}if(!_0x33ca07){_0x21061e[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0xaadf75;}_0x22a896(_0x21061e[_0x1cd3('0x3d4')]['page']);}});_0x561681[_0x1cd3('0x4d3')](_0x1cd3('0x523'),function(){_0x510fae['removeAllListeners'](_0x1cd3('0x167a'));_0x510fae[_0x1cd3('0x6a3')](_0x1cd3('0x167b'));_0x510fae[_0x1cd3('0x6a3')](_0x1cd3('0x1677'));_0x510fae[_0x1cd3('0x6a3')](_0x1cd3('0x1679'));_0x510fae['removeAllListeners'](_0x1cd3('0x1678'));_0x510fae[_0x1cd3('0x6a3')](_0x1cd3('0x167c'));_0x510fae[_0x1cd3('0x6a3')](_0x1cd3('0x167d'));});}}());(function(){'use strict';_0x53c75c[_0x1cd3('0xc')]=['$document',_0x1cd3('0x460'),_0x1cd3('0x3e7'),_0x1cd3('0x3c5'),_0x1cd3('0x371'),_0x1cd3('0x56'),'api','toasty'];angular[_0x1cd3('0x0')](_0x1cd3('0x2a'))[_0x1cd3('0x39b')](_0x1cd3('0x1686'),_0x53c75c);function _0x53c75c(_0x5edbe4,_0x6ff04c,_0x376639,_0x2706d6,_0x194de4,_0x3cc3b0,_0x12f166,_0x83d77d){var _0x188eaf=this;_0x188eaf[_0x1cd3('0x3ca')]=_0x3cc3b0[_0x1cd3('0x5d')]();_0x188eaf[_0x1cd3('0xf5')]={};_0x188eaf['contacts']={'count':0x0,'rows':[]};_0x188eaf[_0x1cd3('0x921')]={'count':0x0,'rows':[]};_0x188eaf[_0x1cd3('0x3d4')]={'includeAll':!![],'sort':_0x1cd3('0x5b'),'limit':0xa,'page':0x1};_0x188eaf['advancedSearch']={'fields':[]};_0x188eaf['sectionColor']=_0x1cd3('0x1687');_0x188eaf['getContacts']=_0x16236c;_0x188eaf[_0x1cd3('0x1688')]=_0x83f3b1;_0x188eaf[_0x1cd3('0x1426')]=_0x11e268;_0x188eaf[_0x1cd3('0x1427')]=_0x57120d;_0x188eaf[_0x1cd3('0x1689')]=_0x39f0d;_0x188eaf[_0x1cd3('0x46d')]=_0x6ff04c[_0x1cd3('0x70b')]['vm'][_0x1cd3('0x46d')];_0x188eaf['onInit']=_0x34d4f1;_0x188eaf[_0x1cd3('0x164f')]=_0x29f344;_0x188eaf[_0x1cd3('0x1650')]=_0x2b9c49;_0x188eaf[_0x1cd3('0x1673')]=_0x8825b0;function _0x34d4f1(){_0x12f166['user'][_0x1cd3('0x1545')]({'id':_0x188eaf[_0x1cd3('0x3ca')]['id'],'fields':_0x1cd3('0x168a'),'sort':_0x1cd3('0x98'),'nolimit':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x3d4ed4){_0x188eaf['lists']=_0x3d4ed4||{'count':0x0,'rows':[]};_0x188eaf[_0x1cd3('0x141e')]=_['keyBy'](_0x188eaf[_0x1cd3('0xf5')][_0x1cd3('0xf6')],'id');return _0x12f166[_0x1cd3('0xb76')][_0x1cd3('0x361')]()[_0x1cd3('0x81')];})['then'](function(_0x3568a8){_0x188eaf[_0x1cd3('0x921')]=_0x3568a8||{'count':0x0,'rows':[]};})[_0x1cd3('0x77')](function(){_0x188eaf['quickFilters']=_0x5d28cf();})[_0x1cd3('0xfd')](function(_0x5eed66){console[_0x1cd3('0x434')](_0x5eed66);})[_0x1cd3('0x5dd')](function(){var _0x4f33db=_0x194de4[_0x1cd3('0x385')][_0x1cd3('0x3e0')]('motion2.home.contacts:'+_0x188eaf[_0x1cd3('0x3ca')]['id']);if(_0x4f33db){try{_0x4f33db=JSON[_0x1cd3('0x79')](_0x4f33db);if(_0x4f33db[_0x1cd3('0x3d4')]){_0x188eaf[_0x1cd3('0x3d4')]=_[_0x1cd3('0xf2')](_0x188eaf[_0x1cd3('0x3d4')],_0x4f33db[_0x1cd3('0x3d4')]);if(_[_0x1cd3('0x398')](_0x188eaf[_0x1cd3('0xf5')][_0x1cd3('0xf6')])){_0x188eaf[_0x1cd3('0x3d4')][_0x1cd3('0x106')]=[];}else if(_[_0x1cd3('0x398')](_0x188eaf[_0x1cd3('0x3d4')][_0x1cd3('0x106')])){_0x188eaf['query'][_0x1cd3('0x106')]=_(_0x188eaf[_0x1cd3('0xf5')]['rows'])[_0x1cd3('0x3d9')]('id')['take']()['value']();}}}catch(_0x5bad84){console[_0x1cd3('0x7d')](_0x5bad84);}}else{_0x188eaf[_0x1cd3('0x3d4')][_0x1cd3('0x106')]=_[_0x1cd3('0x3d9')](_0x188eaf[_0x1cd3('0xf5')][_0x1cd3('0xf6')],'id');}_0x188eaf[_0x1cd3('0x165a')]=_0x188eaf['query'][_0x1cd3('0x395')]?!![]:![];_0x16236c();});}function _0x5d28cf(){return[{'name':_0x1cd3('0x1456'),'key':_0x1cd3('0x106'),'type':'multiselect','label':_0x1cd3('0x168b'),'options':_0x188eaf[_0x1cd3('0xf5')][_0x1cd3('0xf6')],'clearAll':![]},{'name':_0x1cd3('0x1231'),'key':'tag','type':_0x1cd3('0x3fa'),'label':_0x1cd3('0x1321'),'options':_0x188eaf[_0x1cd3('0x921')][_0x1cd3('0xf6')],'placeholder':'DASHBOARDS.TAGS'}];}function _0x219d9d(_0x1c259e){_0x188eaf[_0x1cd3('0x1681')]=![];_0x188eaf[_0x1cd3('0x141d')]=_0x1c259e||{'count':0x0,'rows':[]};}function _0x16236c(_0x18bc20,_0x500f42){_0x188eaf[_0x1cd3('0x1681')]=!![];_0x571172();if(!_0x18bc20){_0x188eaf[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}_0x188eaf[_0x1cd3('0x3d4')]['offset']=(_0x188eaf[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0x188eaf[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];var _0x1e4311=_0x194de4['localStorage'][_0x1cd3('0x3e0')](_0x1cd3('0x168c')+_0x188eaf['currentUser']['id']);_0x1e4311=_0x1e4311?JSON[_0x1cd3('0x79')](_0x1e4311):{};_0x1e4311['query']=_0x188eaf['query'];_0x194de4[_0x1cd3('0x385')]['setItem'](_0x1cd3('0x168c')+_0x188eaf[_0x1cd3('0x3ca')]['id'],JSON[_0x1cd3('0x438')](_0x1e4311));_0x188eaf[_0x1cd3('0x539')]=_0x12f166[_0x1cd3('0xb3d')][_0x1cd3('0x361')](_0x188eaf[_0x1cd3('0x3d4')],_0x219d9d)[_0x1cd3('0x81')];}function _0x39f0d(_0x427882){return _0x12f166['cmContact'][_0x1cd3('0x361')]({'id':_0x427882})['$promise'][_0x1cd3('0x77')](function(_0x46b387){_0x6ff04c[_0x1cd3('0x70b')]['vm'][_0x1cd3('0x15c1')](_0x46b387);});}function _0x83f3b1(){_0x16236c();}function _0x57120d(_0x54ecaf,_0x594bc0){_0x2706d6['show']({'controller':_0x1cd3('0x144e'),'controllerAs':'vm','templateUrl':_0x1cd3('0x144f'),'parent':angular[_0x1cd3('0x37f')](_0x5edbe4[_0x1cd3('0x380')]),'targetEvent':_0x54ecaf,'clickOutsideToClose':!![],'resolve':{'contact':['apiResolver',function(_0xbdfc71){return _0xbdfc71[_0x1cd3('0x58')]('cmContact@get',{'id':_0x594bc0['id']});}],'lists':[_0x1cd3('0x62'),function(_0x381a28){return _0x381a28[_0x1cd3('0x58')](_0x1cd3('0x11c'),{'id':_0x188eaf[_0x1cd3('0x3ca')]['id'],'fields':_0x1cd3('0xa6')});}]},'locals':{'contacts':_0x188eaf[_0x1cd3('0x141d')]['rows']}});}function _0x11e268(_0x593d55,_0x4733f6){_0x2706d6[_0x1cd3('0x37e')]({'controller':'MergeContactDialogController','controllerAs':'vm','templateUrl':_0x1cd3('0x161d'),'parent':angular[_0x1cd3('0x37f')](_0x5edbe4[_0x1cd3('0x380')]),'targetEvent':_0x593d55,'clickOutsideToClose':!![],'resolve':{'contact':['apiResolver',function(_0x2da1fc){return _0x2da1fc[_0x1cd3('0x58')](_0x1cd3('0xf1'),{'id':_0x4733f6['id']});}],'lists':['apiResolver',function(_0x6378c0){return _0x6378c0['resolve'](_0x1cd3('0x11c'),{'id':_0x188eaf[_0x1cd3('0x3ca')]['id'],'fields':_0x1cd3('0xa6')});}]},'locals':{'contacts':_0x188eaf[_0x1cd3('0x141d')][_0x1cd3('0xf6')]}});}function _0x29f344(){_0x188eaf[_0x1cd3('0x165a')]=![];}function _0x2b9c49(){_0x188eaf[_0x1cd3('0x165a')]=!![];}function _0x571172(){return _0x12f166[_0x1cd3('0xb3d')][_0x1cd3('0xe1c')]({'id':_0x188eaf['query'][_0x1cd3('0x106')]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x324588){return _(_0x324588[_0x1cd3('0xd32')]())[_0x1cd3('0x3e3')]('UserId')[_0x1cd3('0x42d')]()['map'](function(_0x10dc89){return _0xebd0a9(_0x10dc89);})[_0x1cd3('0x3db')]();})[_0x1cd3('0x77')](function(_0x186542){_0x188eaf[_0x1cd3('0x3d1')][_0x1cd3('0x3c7')]=_0x186542;var _0x4d62ca={'name':_0x1cd3('0xf9'),'column':_0x1cd3('0x1231'),'type':_0x1cd3('0x3fa'),'options':{'route':{'model':'tag','action':_0x1cd3('0x361'),'params':{'nolimit':!![]}},'excludedOperators':['$notIn']}};var _0x110385=_[_0x1cd3('0x445')](_0x186542,function(_0x54b38b){return _[_0x1cd3('0x13d4')](_0x54b38b['column'],_0x1cd3('0x12ff'));})||_0x186542[_0x1cd3('0x7a')]-0x1;if(_0x110385<0x0)_0x110385=_0x186542[_0x1cd3('0x7a')];_0x188eaf[_0x1cd3('0x3d1')][_0x1cd3('0x3c7')][_0x1cd3('0x446')](_0x110385,0x0,_0x4d62ca);})[_0x1cd3('0xfd')](function(_0x3577b5){_0x83d77d[_0x1cd3('0x434')]({'title':_0x3577b5['status']?'API:'+_0x3577b5['status']+_0x1cd3('0x436')+_0x3577b5[_0x1cd3('0xd35')]:_0x1cd3('0x168d'),'msg':_0x3577b5['data']?JSON[_0x1cd3('0x438')](_0x3577b5[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x3577b5['toString']()});});}function _0xebd0a9(_0x49931c){var _0x20266b={'name':_[_0x1cd3('0xd50')](_0x49931c['displayName']),'column':_0x49931c[_0x1cd3('0x168e')],'options':{}};if(_0x49931c['custom']){switch(_0x49931c['custom']['type']){case _0x1cd3('0x401'):_0x20266b[_0x1cd3('0x424')]='text';break;case _0x1cd3('0x44f'):_0x20266b['type']='multiselect';_0x20266b[_0x1cd3('0x42d')]=_['map'](JSON['parse'](_0x49931c[_0x1cd3('0x8f6')][_0x1cd3('0x42d')]),function(_0x4f855e,_0x252cf3){return{'id':_0x252cf3,'name':_0x4f855e[_0x1cd3('0x3db')],'value':_0x4f855e['value']};});_0x20266b[_0x1cd3('0x422')][_0x1cd3('0x450')]=_0x1cd3('0x98');break;case _0x1cd3('0x168f'):_0x20266b[_0x1cd3('0x424')]=_0x1cd3('0x44f');_0x20266b[_0x1cd3('0x42d')]=[{'id':0x1,'translate':_0x1cd3('0x1690')},{'id':0x0,'translate':'DASHBOARDS.DISABLED'}];_0x20266b[_0x1cd3('0x422')]['excludedOperators']=['$ne'];break;case _0x1cd3('0x407'):_0x20266b[_0x1cd3('0x424')]=_0x1cd3('0x407');break;case'datetime':_0x20266b[_0x1cd3('0x424')]=_0x1cd3('0x406');break;}}else{switch(_0x49931c[_0x1cd3('0x168e')]){case _0x1cd3('0xfc'):_0x20266b['type']='date';break;case _0x1cd3('0x1430'):_0x20266b[_0x1cd3('0x98')]=_0x1cd3('0x140b');_0x20266b[_0x1cd3('0x424')]='autocomplete';_0x20266b['options']['route']={'model':_0x1cd3('0xb38'),'action':_0x1cd3('0x361'),'params':{'fields':'id,name','nolimit':!![]}};_0x20266b[_0x1cd3('0x422')][_0x1cd3('0x430')]=['name'];_0x20266b['options']['excludedOperators']=[_0x1cd3('0x3fb')];break;case _0x1cd3('0x106'):_0x20266b[_0x1cd3('0x98')]=_0x1cd3('0x1456');_0x20266b[_0x1cd3('0x424')]=_0x1cd3('0x42b');_0x20266b[_0x1cd3('0x422')][_0x1cd3('0x42a')]={'model':_0x1cd3('0x368'),'action':_0x1cd3('0x1545'),'params':{'id':_0x188eaf[_0x1cd3('0x3ca')]['id'],'fields':_0x1cd3('0xa6'),'nolimit':!![]}};_0x20266b[_0x1cd3('0x422')][_0x1cd3('0x430')]=[_0x1cd3('0x98')];_0x20266b[_0x1cd3('0x422')][_0x1cd3('0x428')]=[_0x1cd3('0x3fb')];break;default:if(_[_0x1cd3('0x38f')](_0x49931c[_0x1cd3('0x424')]['toLowerCase'](),'int')){_0x20266b['type']=_0x1cd3('0x407');}else if(_[_0x1cd3('0x38f')](_0x49931c[_0x1cd3('0x424')]['toLowerCase'](),_0x1cd3('0x406'))){_0x20266b[_0x1cd3('0x424')]=_0x1cd3('0x406');}else{_0x20266b[_0x1cd3('0x424')]=_0x1cd3('0x401');}break;}}return _0x20266b;}function _0x8825b0(){_0x188eaf[_0x1cd3('0x165a')]=![];_0x2706d6[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x3c9'),'controllerAs':'vm','templateUrl':_0x1cd3('0x132f'),'parent':angular[_0x1cd3('0x37f')](_0x5edbe4[_0x1cd3('0x380')]),'clickOutsideToClose':![],'locals':{'color':_0x188eaf[_0x1cd3('0x166b')],'fields':_0x188eaf[_0x1cd3('0x3d1')][_0x1cd3('0x3c7')],'storagePath':'home.contacts'},'fullscreen':!![]})[_0x1cd3('0x77')](function(_0xe0b9a3){_0x188eaf['query']['search']=_0xe0b9a3===![]?undefined:_0xe0b9a3;if(_0x188eaf['query'][_0x1cd3('0x3e4')]||_0xe0b9a3===![])_0x16236c();})[_0x1cd3('0xfd')](function(_0x215769){_0x83d77d[_0x1cd3('0x434')]({'title':_0x1cd3('0x1331'),'msg':_0x215769[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x215769['data'][_0x1cd3('0x43a')]):_0x215769[_0x1cd3('0x43b')]()});});}var _0x21c229=!![];var _0x648f65=0x1;_0x6ff04c[_0x1cd3('0x4d6')](_0x1cd3('0xd56'),function(_0x45f21c,_0x3e24fd){if(_0x21c229){_0x376639(function(){_0x21c229=![];});}else{if(!_0x3e24fd){_0x648f65=_0x188eaf[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0x45f21c!==_0x3e24fd){_0x188eaf['query'][_0x1cd3('0x8fd')]=0x1;}if(!_0x45f21c){_0x188eaf[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0x648f65;}_0x16236c();}});}}());(function(){'use strict';_0x47f0be[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x585')];angular[_0x1cd3('0x0')]('app.dashboards')[_0x1cd3('0x39b')](_0x1cd3('0x1691'),_0x47f0be);function _0x47f0be(_0x2093ac,_0x276787){var _0xad47cd=_0x276787(function(){},0x3e7);_0x2093ac[_0x1cd3('0x4d3')](_0x1cd3('0x523'),function(){if(_0xad47cd){_0x276787[_0x1cd3('0x4d8')](_0xad47cd);_0xad47cd=null;}});}}());(function(){'use strict';_0x4887c5[_0x1cd3('0xc')]=['$scope',_0x1cd3('0x3e7'),'$mdDialog',_0x1cd3('0x372'),'$window',_0x1cd3('0x3f7'),_0x1cd3('0x370'),'Auth',_0x1cd3('0xd18'),_0x1cd3('0x461')];angular[_0x1cd3('0x0')](_0x1cd3('0x2a'))[_0x1cd3('0x39b')](_0x1cd3('0x1692'),_0x4887c5);function _0x4887c5(_0x1b5120,_0x365d44,_0x4b5980,_0x28d7ba,_0x14af81,_0x23b2b9,_0x1b1c35,_0x69f390,_0x471f7c,_0x16064f){var _0x379be4=this;var _0x470e15=[_0x1cd3('0x424'),_0x1cd3('0x10d'),_0x1cd3('0x13dd'),_0x1cd3('0x1693')];_0x379be4[_0x1cd3('0x8d9')]={};_0x379be4[_0x1cd3('0x1694')]=0x0;_0x379be4[_0x1cd3('0x1695')]={};_0x379be4[_0x1cd3('0x1696')]={};_0x379be4['rpcVoiceQueuesChannels']={};_0x379be4['addVoiceQueuesChannels']={};_0x379be4[_0x1cd3('0x1697')]=[];_0x379be4[_0x1cd3('0x5de')]=!![];_0x379be4[_0x1cd3('0x3d4')]={'id':_0x69f390['getCurrentUser']()['id'],'fields':_0x1cd3('0x1698'),'channel':_0x1cd3('0x121'),'type':_0x1cd3('0x128'),'limit':0xa,'page':0x1};_0x379be4[_0x1cd3('0x1699')]={'limit':0xa,'page':0x1};_0x379be4[_0x1cd3('0x473')]=_0x11835f;_0x379be4[_0x1cd3('0x1696')]=_0x561776;_0x379be4[_0x1cd3('0x169a')]=_0x1c9ee8;_0x379be4['onSaveQueue']=_0x5af375;_0x379be4[_0x1cd3('0x169b')]=_0x58000a;_0x379be4[_0x1cd3('0x169c')]=_0x5bb620;_0x379be4[_0x1cd3('0x169d')]=_0x1b2982;_0x379be4[_0x1cd3('0x169e')]=_0x564fc3;_0x379be4['onRemoveVoiceQueue']=_0x16b1e6;_0x471f7c[_0x1cd3('0x1555')](_0x1cd3('0x155e'),_0x379be4[_0x1cd3('0x169f')]);_0x471f7c[_0x1cd3('0x1555')](_0x1cd3('0x16a0'),_0x379be4[_0x1cd3('0x169b')]);_0x471f7c[_0x1cd3('0x1555')](_0x1cd3('0x13e8'),_0x379be4[_0x1cd3('0x169c')]);_0x471f7c[_0x1cd3('0x1555')](_0x1cd3('0x16a1'),_0x379be4['onUserVoiceQueue']);_0x471f7c['onWithoutApply'](_0x1cd3('0x16a2'),_0x379be4[_0x1cd3('0x169d')]);_0x471f7c[_0x1cd3('0x1555')](_0x1cd3('0x16a3'),_0x379be4[_0x1cd3('0x16a4')]);_0x471f7c[_0x1cd3('0x1555')](_0x1cd3('0x16a5'),_0x379be4[_0x1cd3('0x169e')]);_0x1b1c35[_0x1cd3('0x633')][_0x1cd3('0x1696')]()[_0x1cd3('0x81')]['then'](function(_0x4948dd){_0x379be4[_0x1cd3('0x1695')]=_0x4948dd?_[_0x1cd3('0xe2d')](_0x4948dd['rows']?_0x4948dd[_0x1cd3('0xf6')]:[],'id'):{};return _0x1b1c35[_0x1cd3('0x633')][_0x1cd3('0x16a6')]()[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x124d0e){_0x379be4[_0x1cd3('0x16a7')]=_0x124d0e?_['keyBy'](_0x124d0e['rows']?_['filter'](_0x124d0e[_0x1cd3('0xf6')],{'type':_0x1cd3('0x128'),'queuecallerleaveAt':null}):[],_0x1cd3('0x6b4')):{};})['catch'](function(_0x19f9cd){console[_0x1cd3('0x434')](_0x19f9cd);})['finally'](function(){_['merge'](_0x379be4['rpcVoiceQueuesChannels'],_0x379be4['addVoiceQueuesChannels']);for(var _0x13a282=0x0;_0x13a282<_0x379be4[_0x1cd3('0x1697')][_0x1cd3('0x7a')];_0x13a282+=0x1){delete _0x379be4['rpcVoiceQueuesChannels'][_0x379be4['deleteVoiceQueuesChannels'][_0x13a282]];}_0x379be4[_0x1cd3('0x5de')]=![];_0x379be4[_0x1cd3('0x16a8')]={};_0x379be4[_0x1cd3('0x1697')]=[];_0x379be4['getVoiceQueues']();});function _0x11835f(_0x2254f0){_0x379be4[_0x1cd3('0x1694')]=_0x2254f0[_0x1cd3('0x466')]?_0x2254f0[_0x1cd3('0x466')]:0x0;_0x379be4[_0x1cd3('0x8d9')]=_0x2254f0?_[_0x1cd3('0xe2d')](_0x2254f0[_0x1cd3('0xf6')]?_0x2254f0[_0x1cd3('0xf6')]:[],'id'):{};_0x3dbdc9();}function _0x561776(){_0x379be4[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0x379be4[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0x379be4['query']['limit'];_0x379be4[_0x1cd3('0x539')]=_0x1b1c35[_0x1cd3('0x368')][_0x1cd3('0x13df')](_0x379be4[_0x1cd3('0x3d4')],_0x11835f)[_0x1cd3('0x81')];}var _0x4bdb6d=!![];var _0x258315=0x1;_0x1b5120[_0x1cd3('0x4d6')](_0x1cd3('0x1340'),function(_0x51982b,_0xda0456){if(_0x4bdb6d){_0x365d44(function(){_0x4bdb6d=![];});}else{if(!_0xda0456){_0x258315=_0x379be4[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0x51982b!==_0xda0456){_0x379be4[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}if(!_0x51982b){_0x379be4[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0x258315;}_0x379be4[_0x1cd3('0x1696')]();}});function _0x1c9ee8(_0x5dcaa4){return _['size'](_0x5dcaa4);}function _0x3dbdc9(){_[_0x1cd3('0x13e5')](_0x379be4[_0x1cd3('0x8d9')],function(_0x2fc1af,_0x21cbb0){if(_0x379be4[_0x1cd3('0x1695')][_0x21cbb0]){_0x379be4['voiceQueues'][_0x21cbb0][_0x1cd3('0x10d')]=_0x379be4[_0x1cd3('0x1695')][_0x21cbb0][_0x1cd3('0x10d')]||0x0;}});}function _0x5af375(_0x470660){if(_0x379be4[_0x1cd3('0x8d9')][_0x470660['id']]){if(_0x379be4[_0x1cd3('0x1695')][_0x470660['id']]){_0x379be4[_0x1cd3('0x1695')][_0x470660['id']]=_0x470660;_[_0x1cd3('0xf2')](_0x379be4[_0x1cd3('0x8d9')][_0x470660['id']],_[_0x1cd3('0x5e8')](_0x470660,_0x470e15));}}}function _0x58000a(_0x2735ea){if(_0x2735ea['type']==='outbound'){if(_0x2735ea[_0x1cd3('0x16a9')]){delete _0x379be4['rpcVoiceQueuesChannels'][_0x2735ea[_0x1cd3('0x6b4')]];if(_0x379be4[_0x1cd3('0x5de')]){_0x379be4[_0x1cd3('0x1697')][_0x1cd3('0x7b')](_0x2735ea[_0x1cd3('0x6b4')]);}}else{_0x379be4['rpcVoiceQueuesChannels'][_0x2735ea[_0x1cd3('0x6b4')]]=_0x2735ea;if(_0x379be4[_0x1cd3('0x5de')]){_0x379be4[_0x1cd3('0x16a8')][_0x2735ea[_0x1cd3('0x6b4')]]=_0x2735ea;}}}}function _0x1b2982(_0xbf9ef1){if(!_[_0x1cd3('0x472')](_0xbf9ef1)){_0x379be4['rpcVoiceQueues'][_0xbf9ef1['id']]=_[_0x1cd3('0x5e8')](_0xbf9ef1,_0x470e15);}}function _0x564fc3(_0x5c3754){if(!_[_0x1cd3('0x472')](_0x5c3754)){if(_0x379be4[_0x1cd3('0x1695')][_0x5c3754['id']]){_['merge'](_0x379be4[_0x1cd3('0x1695')][_0x5c3754['id']],_[_0x1cd3('0x5e8')](_0x5c3754,_0x470e15));}if(_0x379be4[_0x1cd3('0x8d9')][_0x5c3754['id']]){_[_0x1cd3('0xf2')](_0x379be4['voiceQueues'][_0x5c3754['id']],_['pick'](_0x5c3754,_0x470e15));}}}function _0x16b1e6(_0x5d4c73){if(!_['isNil'](_0x5d4c73)){delete _0x379be4[_0x1cd3('0x1695')][_0x5d4c73['id']];delete _0x379be4[_0x1cd3('0x8d9')][_0x5d4c73['id']];}}function _0x5bb620(_0x5126cf){if(_[_0x1cd3('0x16aa')](_0x5126cf[_0x1cd3('0x1226')])===_0x69f390['getCurrentUser']()['id']){_0x379be4[_0x1cd3('0x1696')]();}}_0x1b5120['$on'](_0x1cd3('0x523'),function(){_0x471f7c[_0x1cd3('0x6a3')](_0x1cd3('0x155e'));_0x471f7c['removeAllListeners']('voice_queue_channel:save');_0x471f7c[_0x1cd3('0x6a3')](_0x1cd3('0x13e8'));_0x471f7c[_0x1cd3('0x6a3')](_0x1cd3('0x16a1'));_0x471f7c['removeAllListeners']('voiceQueue:save');_0x471f7c[_0x1cd3('0x6a3')](_0x1cd3('0x16a5'));_0x471f7c['removeAllListeners'](_0x1cd3('0x16a3'));});}}());(function(){'use strict';_0x16bb55['$inject']=[_0x1cd3('0x460'),_0x1cd3('0x3e7'),_0x1cd3('0x3c5'),'$document',_0x1cd3('0x371'),_0x1cd3('0x3f7'),'api',_0x1cd3('0x56'),_0x1cd3('0xd18'),_0x1cd3('0x461')];angular[_0x1cd3('0x0')](_0x1cd3('0x2a'))[_0x1cd3('0x39b')](_0x1cd3('0x16ab'),_0x16bb55);function _0x16bb55(_0x2f1d05,_0x18bf66,_0x1cc1c5,_0xfe4d76,_0xce7828,_0x653b93,_0x1ad818,_0x46f588,_0x180798,_0x4cb5d4){var _0x3272a3=this;var _0x150ae6=['id','name',_0x1cd3('0x16ac'),_0x1cd3('0x10d')];var _0x42df1c=!![];_0x3272a3['chatQueues']={};_0x3272a3['chatQueuesTotal']=0x0;_0x3272a3[_0x1cd3('0x16ad')]={};_0x3272a3[_0x1cd3('0x16ae')]=[];_0x3272a3[_0x1cd3('0x16af')]=[];_0x3272a3[_0x1cd3('0x16b0')]={};_0x3272a3[_0x1cd3('0x3d4')]={'id':_0x46f588[_0x1cd3('0x5d')]()['id'],'channel':'chat','fields':_0x1cd3('0x16b1'),'limit':0xa,'page':0x1};_0x3272a3[_0x1cd3('0x1699')]={'limit':0xa,'page':0x1};_0x3272a3[_0x1cd3('0x473')]=_0x12e8d4;_0x3272a3[_0x1cd3('0x119d')]=_0x3f282d;_0x3272a3['getSize']=_0x314a25;_0x3272a3['getColorByChannel']=_0x5dc0de;_0x3272a3[_0x1cd3('0x16b2')]=_0x440fe4;_0x3272a3['onSaveQueue']=_0x426661;_0x3272a3[_0x1cd3('0x16b3')]=_0xf6fdd3;_0x3272a3[_0x1cd3('0x16b4')]=_0x3606ff;_0x3272a3['onRemoveChatQueue']=_0x553106;_0x3272a3[_0x1cd3('0x16b5')]=_0x1e0f2f;_0x3272a3[_0x1cd3('0x16b6')]=_0x427510;_0x3272a3[_0x1cd3('0x16b7')]=_0x262ddb;_0x3272a3[_0x1cd3('0x16b8')]=_0x2be074;_0x180798['onWithoutApply'](_0x1cd3('0x13e6'),_0x3272a3[_0x1cd3('0x169f')]);_0x180798[_0x1cd3('0x1555')](_0x1cd3('0x16b9'),_0x3272a3[_0x1cd3('0x16b3')]);_0x180798['onWithoutApply'](_0x1cd3('0x16ba'),_0x3272a3[_0x1cd3('0x16b4')]);_0x180798['onWithoutApply'](_0x1cd3('0x16bb'),_0x3272a3['onRemoveChatQueue']);_0x180798[_0x1cd3('0x1555')](_0x1cd3('0x13e7'),_0x3272a3[_0x1cd3('0x16b5')]);_0x180798[_0x1cd3('0x1555')]('userChatQueue:remove',_0x3272a3[_0x1cd3('0x16b6')]);_0x180798['onWithoutApply'](_0x1cd3('0x16bc'),_0x3272a3['onSaveChatQueueChannel']);_0x180798[_0x1cd3('0x1555')](_0x1cd3('0x16bd'),_0x3272a3[_0x1cd3('0x16b8')]);_0x1ad818[_0x1cd3('0x633')][_0x1cd3('0x119d')]()[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x13f51c){_0x3272a3['rpcChatQueues']=_0x13f51c?_[_0x1cd3('0xe2d')](_0x13f51c[_0x1cd3('0xf6')]?_0x13f51c['rows']:[],'id'):{};})[_0x1cd3('0x77')](function(_0x43ebb8){return _0x1ad818['user']['getQueues']({'id':_0x46f588['getCurrentUser']()['id'],'channel':_0x1cd3('0xbf')})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x5022ad){_0x3272a3[_0x1cd3('0x16be')]=_0x5022ad[_0x1cd3('0xf6')];return _0x1ad818[_0x1cd3('0x633')][_0x1cd3('0x16bf')]()[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x3e0fe6){var _0x26f504=_['filter'](_0x3e0fe6[_0x1cd3('0xf6')],function(_0x245de9){return _[_0x1cd3('0x38f')](_0x3272a3[_0x1cd3('0x16be')],{'id':_0x245de9[_0x1cd3('0xf4c')]});});_0x3e0fe6[_0x1cd3('0xf6')]=_0x26f504;_0x3e0fe6['count']=_0x26f504[_0x1cd3('0x7a')];_[_0x1cd3('0xf2')](_0x3272a3[_0x1cd3('0x16b0')],_0x3e0fe6?_[_0x1cd3('0xe2d')](_0x3e0fe6[_0x1cd3('0xf6')]?_0x3e0fe6[_0x1cd3('0xf6')]:[],'id'):{});})[_0x1cd3('0xfd')](function(_0x3eb155){console[_0x1cd3('0x434')](_0x3eb155);})['finally'](function(){for(var _0x269c70=0x0;_0x269c70<_0x3272a3['deleteChatQueuesWaitingInteractions'][_0x1cd3('0x7a')];_0x269c70+=0x1){delete _0x3272a3[_0x1cd3('0x16b0')][_0x3272a3[_0x1cd3('0x16af')][_0x269c70]];}_0x42df1c=![];_0x3272a3['deleteChatQueuesWaitingInteractions']=[];_0x3f282d();_0x440fe4();});function _0x440fe4(){var _0x463fc8=(_0x3272a3[_0x1cd3('0x1699')]['page']-0x1)*_0x3272a3[_0x1cd3('0x1699')]['limit'];_0x3272a3[_0x1cd3('0x16ae')]=_[_0x1cd3('0xe31')](_0x3272a3[_0x1cd3('0x16b0')],[_0x1cd3('0x16c0')],[_0x1cd3('0x13d5')]);_0x3272a3[_0x1cd3('0x16c1')]=_[_0x1cd3('0x16c2')](_0x3272a3[_0x1cd3('0x16ae')],_0x463fc8)['slice'](0x0,_0x3272a3[_0x1cd3('0x1699')][_0x1cd3('0x8fe')]);}function _0x12e8d4(_0x2d502d){_0x3272a3['chatQueuesTotal']=_0x2d502d['count']?_0x2d502d[_0x1cd3('0x466')]:0x0;_0x3272a3[_0x1cd3('0x1196')]=_0x2d502d?_[_0x1cd3('0xe2d')](_0x2d502d['rows']?_0x2d502d[_0x1cd3('0xf6')]:[],'id'):{};_0x43d3ab();}function _0x3f282d(){_0x3272a3[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0x3272a3[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0x3272a3[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];_0x3272a3[_0x1cd3('0x539')]=_0x1ad818[_0x1cd3('0x368')][_0x1cd3('0x13df')](_0x3272a3['query'],_0x12e8d4)[_0x1cd3('0x81')];}var _0x255d9a=!![];var _0x3b4b74=0x1;_0x2f1d05['$watch']('vm_dc.query.filter',function(_0x39fb01,_0x5e42e9){if(_0x255d9a){_0x18bf66(function(){_0x255d9a=![];});}else{if(!_0x5e42e9){_0x3b4b74=_0x3272a3[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0x39fb01!==_0x5e42e9){_0x3272a3[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}if(!_0x39fb01){_0x3272a3[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0x3b4b74;}_0x3272a3[_0x1cd3('0x119d')]();}});function _0x314a25(_0x3a4471){return _[_0x1cd3('0x113e')](_0x3a4471);}function _0x43d3ab(){_['forIn'](_0x3272a3[_0x1cd3('0x1196')],function(_0x4eccb0,_0x19f6e9){if(_0x3272a3[_0x1cd3('0x16ad')][_0x19f6e9]){_0x3272a3[_0x1cd3('0x1196')][_0x19f6e9]['waiting']=_0x3272a3['rpcChatQueues'][_0x19f6e9][_0x1cd3('0x10d')]||0x0;}});}function _0x426661(_0x3a6f9f){if(_0x3272a3[_0x1cd3('0x1196')][_0x3a6f9f['id']]){if(_0x3272a3[_0x1cd3('0x16ad')][_0x3a6f9f['id']]){_[_0x1cd3('0xf2')](_0x3272a3[_0x1cd3('0x16ad')][_0x3a6f9f['id']],_[_0x1cd3('0x5e8')](_0x3a6f9f,_0x150ae6));_[_0x1cd3('0xf2')](_0x3272a3[_0x1cd3('0x1196')][_0x3a6f9f['id']],_['pick'](_0x3a6f9f,_0x150ae6));}}}function _0xf6fdd3(_0x18d0a3){if(!_[_0x1cd3('0x472')](_0x18d0a3)){_0x3272a3[_0x1cd3('0x16ad')][_0x18d0a3['id']]=_[_0x1cd3('0x5e8')](_0x18d0a3,_0x150ae6);}}function _0x3606ff(_0x4df7b8){if(!_[_0x1cd3('0x472')](_0x4df7b8)){if(_0x3272a3['rpcChatQueues'][_0x4df7b8['id']]){_['merge'](_0x3272a3[_0x1cd3('0x16ad')][_0x4df7b8['id']],_[_0x1cd3('0x5e8')](_0x4df7b8,_0x150ae6));}if(_0x3272a3[_0x1cd3('0x1196')][_0x4df7b8['id']]){_[_0x1cd3('0xf2')](_0x3272a3['chatQueues'][_0x4df7b8['id']],_[_0x1cd3('0x5e8')](_0x4df7b8,_0x150ae6));}}}function _0x553106(_0x4f19c6){if(!_[_0x1cd3('0x472')](_0x4f19c6)){delete _0x3272a3[_0x1cd3('0x16ad')][_0x4f19c6['id']];delete _0x3272a3['chatQueues'][_0x4f19c6['id']];}}function _0x1e0f2f(_0xca9ed9){if(_['toInteger'](_0xca9ed9['UserId'])===_0x46f588[_0x1cd3('0x5d')]()['id']){_0x3272a3[_0x1cd3('0x119d')]();}}function _0x427510(_0x31e4b3){if(_[_0x1cd3('0x16aa')](_0x31e4b3[_0x1cd3('0x1226')])===_0x46f588[_0x1cd3('0x5d')]()['id']){_0x3272a3[_0x1cd3('0x119d')]();}}function _0x262ddb(_0x29b989){if(_0x3272a3[_0x1cd3('0x1196')][_0x29b989['queue_id']]){_0x3272a3['rpcChatQueuesWaitingInteractions'][_0x29b989['id']]=_0x29b989;_0x440fe4();}}function _0x2be074(_0x2f7b5c){delete _0x3272a3[_0x1cd3('0x16b0')][_0x2f7b5c['id']];if(_0x42df1c){_0x3272a3[_0x1cd3('0x16af')][_0x1cd3('0x7b')](_0x2f7b5c['id']);}_0x440fe4();}function _0x5dc0de(_0x569326){switch(_0x569326){case _0x1cd3('0xbf'):return'green-A700-bg';case _0x1cd3('0x1d2'):return _0x1cd3('0x16c3');case _0x1cd3('0x26b'):return'orange-bg';case'whatsapp':return _0x1cd3('0x16c4');case'openchannel':return _0x1cd3('0x16c5');case _0x1cd3('0x154'):return _0x1cd3('0x16c6');default:return _0x1cd3('0x16c7');}}_0x2f1d05['$on'](_0x1cd3('0x523'),function(){_0x180798[_0x1cd3('0x6a3')](_0x1cd3('0x13e6'));_0x180798[_0x1cd3('0x6a3')](_0x1cd3('0x16b9'));_0x180798['removeAllListeners'](_0x1cd3('0x16ba'));_0x180798[_0x1cd3('0x6a3')](_0x1cd3('0x16bb'));_0x180798[_0x1cd3('0x6a3')](_0x1cd3('0x13e7'));_0x180798[_0x1cd3('0x6a3')](_0x1cd3('0x13f0'));_0x180798[_0x1cd3('0x6a3')](_0x1cd3('0x16bc'));_0x180798['removeAllListeners'](_0x1cd3('0x16bd'));});}}());(function(){'use strict';_0x31096b[_0x1cd3('0xc')]=[_0x1cd3('0x460'),'$timeout',_0x1cd3('0x3c5'),_0x1cd3('0x372'),'$window',_0x1cd3('0x3f7'),_0x1cd3('0x370'),_0x1cd3('0x56'),'socket',_0x1cd3('0x461')];angular['module']('app.dashboards')['controller']('AgentHomeDashboardMultiChannelFaxController',_0x31096b);function _0x31096b(_0x1684e3,_0x491a37,_0x4582df,_0x2c6a4f,_0x4cd607,_0x273f4d,_0x23759c,_0x55ab4b,_0x1a10c0,_0x5b145e){var _0x310ddf=this;var _0x584084=['id','name','mapAgentsId',_0x1cd3('0x10d')];var _0x57baed=!![];_0x310ddf[_0x1cd3('0x16c8')]={};_0x310ddf['faxQueuesTotal']=0x0;_0x310ddf[_0x1cd3('0x16c9')]={};_0x310ddf[_0x1cd3('0x16ae')]=[];_0x310ddf[_0x1cd3('0x16ca')]=[];_0x310ddf['rpcFaxQueuesWaitingInteractions']={};_0x310ddf[_0x1cd3('0x3d4')]={'id':_0x55ab4b[_0x1cd3('0x5d')]()['id'],'channel':_0x1cd3('0x154'),'fields':_0x1cd3('0x16b1'),'limit':0xa,'page':0x1};_0x310ddf[_0x1cd3('0x1699')]={'limit':0xa,'page':0x1};_0x310ddf[_0x1cd3('0x473')]=_0x421f4d;_0x310ddf[_0x1cd3('0x16cb')]=_0x4faf01;_0x310ddf['getSize']=_0x3ac221;_0x310ddf[_0x1cd3('0x16cc')]=_0x313b8e;_0x310ddf[_0x1cd3('0x16b2')]=_0x56ed33;_0x310ddf['onSaveQueue']=_0x25f0c6;_0x310ddf['onSaveFaxQueue']=_0x1b8d02;_0x310ddf['onUpdateFaxQueue']=_0x42ee41;_0x310ddf['onRemoveFaxQueue']=_0x54190c;_0x310ddf[_0x1cd3('0x16cd')]=_0x53717b;_0x310ddf['onRemoveUserFaxQueue']=_0x25ae93;_0x310ddf['onSaveFaxQueueChannel']=_0x575d7b;_0x310ddf[_0x1cd3('0x16ce')]=_0x5ea88b;_0x1a10c0[_0x1cd3('0x1555')](_0x1cd3('0x16cf'),_0x310ddf[_0x1cd3('0x169f')]);_0x1a10c0[_0x1cd3('0x1555')]('faxQueue:save',_0x310ddf[_0x1cd3('0x16d0')]);_0x1a10c0[_0x1cd3('0x1555')]('faxQueue:update',_0x310ddf[_0x1cd3('0x16d1')]);_0x1a10c0[_0x1cd3('0x1555')](_0x1cd3('0x16d2'),_0x310ddf[_0x1cd3('0x16d3')]);_0x1a10c0[_0x1cd3('0x1555')](_0x1cd3('0x16d4'),_0x310ddf[_0x1cd3('0x16cd')]);_0x1a10c0[_0x1cd3('0x1555')](_0x1cd3('0x16d5'),_0x310ddf['onRemoveUserFaxQueue']);_0x1a10c0['onWithoutApply'](_0x1cd3('0x16d6'),_0x310ddf[_0x1cd3('0x16d7')]);_0x1a10c0[_0x1cd3('0x1555')](_0x1cd3('0x16d8'),_0x310ddf['onRemoveFaxQueueChannel']);_0x23759c[_0x1cd3('0x633')]['getFaxQueues']()[_0x1cd3('0x81')]['then'](function(_0x51d8b8){_0x310ddf[_0x1cd3('0x16c9')]=_0x51d8b8?_['keyBy'](_0x51d8b8['rows']?_0x51d8b8[_0x1cd3('0xf6')]:[],'id'):{};})[_0x1cd3('0x77')](function(_0x37fcba){return _0x23759c[_0x1cd3('0x368')][_0x1cd3('0x13df')]({'id':_0x55ab4b['getCurrentUser']()['id'],'channel':_0x1cd3('0x154')})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x4ee5f5){_0x310ddf[_0x1cd3('0x16be')]=_0x4ee5f5[_0x1cd3('0xf6')];return _0x23759c[_0x1cd3('0x633')][_0x1cd3('0x16d9')]()['$promise'];})['then'](function(_0xfb37a8){var _0x289b87=_[_0x1cd3('0x395')](_0xfb37a8[_0x1cd3('0xf6')],function(_0x322a7b){return _[_0x1cd3('0x38f')](_0x310ddf[_0x1cd3('0x16be')],{'id':_0x322a7b[_0x1cd3('0xf4c')]});});_0xfb37a8['rows']=_0x289b87;_0xfb37a8[_0x1cd3('0x466')]=_0x289b87['length'];_['merge'](_0x310ddf[_0x1cd3('0x16da')],_0xfb37a8?_[_0x1cd3('0xe2d')](_0xfb37a8[_0x1cd3('0xf6')]?_0xfb37a8[_0x1cd3('0xf6')]:[],'id'):{});})[_0x1cd3('0xfd')](function(_0x55fc1b){console[_0x1cd3('0x434')](_0x55fc1b);})[_0x1cd3('0x5dd')](function(){for(var _0x1b9898=0x0;_0x1b9898<_0x310ddf['deleteFaxQueuesWaitingInteractions'][_0x1cd3('0x7a')];_0x1b9898+=0x1){delete _0x310ddf[_0x1cd3('0x16da')][_0x310ddf[_0x1cd3('0x16ca')][_0x1b9898]];}_0x57baed=![];_0x310ddf[_0x1cd3('0x16ca')]=[];_0x4faf01();_0x56ed33();});function _0x56ed33(){var _0x15b9f1=(_0x310ddf[_0x1cd3('0x1699')][_0x1cd3('0x8fd')]-0x1)*_0x310ddf[_0x1cd3('0x1699')][_0x1cd3('0x8fe')];_0x310ddf[_0x1cd3('0x16ae')]=_[_0x1cd3('0xe31')](_0x310ddf['rpcFaxQueuesWaitingInteractions'],[_0x1cd3('0x16c0')],[_0x1cd3('0x13d5')]);_0x310ddf[_0x1cd3('0x16c1')]=_[_0x1cd3('0x16c2')](_0x310ddf[_0x1cd3('0x16ae')],_0x15b9f1)[_0x1cd3('0x9a2')](0x0,_0x310ddf['queryChannels'][_0x1cd3('0x8fe')]);}function _0x421f4d(_0xdaa344){_0x310ddf[_0x1cd3('0x16db')]=_0xdaa344[_0x1cd3('0x466')]?_0xdaa344[_0x1cd3('0x466')]:0x0;_0x310ddf['faxQueues']=_0xdaa344?_[_0x1cd3('0xe2d')](_0xdaa344[_0x1cd3('0xf6')]?_0xdaa344[_0x1cd3('0xf6')]:[],'id'):{};_0x22751b();}function _0x4faf01(){_0x310ddf[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0x310ddf[_0x1cd3('0x3d4')]['page']-0x1)*_0x310ddf['query']['limit'];_0x310ddf['promise']=_0x23759c[_0x1cd3('0x368')][_0x1cd3('0x13df')](_0x310ddf[_0x1cd3('0x3d4')],_0x421f4d)['$promise'];}var _0x20d3e8=!![];var _0xed9f7f=0x1;_0x1684e3[_0x1cd3('0x4d6')](_0x1cd3('0x1340'),function(_0x2f6717,_0x384aed){if(_0x20d3e8){_0x491a37(function(){_0x20d3e8=![];});}else{if(!_0x384aed){_0xed9f7f=_0x310ddf[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0x2f6717!==_0x384aed){_0x310ddf[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}if(!_0x2f6717){_0x310ddf[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0xed9f7f;}_0x310ddf[_0x1cd3('0x16cb')]();}});function _0x3ac221(_0x9ce284){return _['size'](_0x9ce284);}function _0x22751b(){_[_0x1cd3('0x13e5')](_0x310ddf[_0x1cd3('0x16c8')],function(_0x34024f,_0x5064fb){if(_0x310ddf['rpcFaxQueues'][_0x5064fb]){_0x310ddf[_0x1cd3('0x16c8')][_0x5064fb][_0x1cd3('0x10d')]=_0x310ddf[_0x1cd3('0x16c9')][_0x5064fb][_0x1cd3('0x10d')]||0x0;}});}function _0x25f0c6(_0x371834){if(_0x310ddf[_0x1cd3('0x16c8')][_0x371834['id']]){if(_0x310ddf['rpcFaxQueues'][_0x371834['id']]){_['merge'](_0x310ddf[_0x1cd3('0x16c9')][_0x371834['id']],_[_0x1cd3('0x5e8')](_0x371834,_0x584084));_['merge'](_0x310ddf[_0x1cd3('0x16c8')][_0x371834['id']],_[_0x1cd3('0x5e8')](_0x371834,_0x584084));}}}function _0x1b8d02(_0xb17944){if(!_[_0x1cd3('0x472')](_0xb17944)){_0x310ddf[_0x1cd3('0x16c9')][_0xb17944['id']]=_[_0x1cd3('0x5e8')](_0xb17944,_0x584084);}}function _0x42ee41(_0x48838e){if(!_['isNil'](_0x48838e)){if(_0x310ddf['rpcFaxQueues'][_0x48838e['id']]){_[_0x1cd3('0xf2')](_0x310ddf[_0x1cd3('0x16c9')][_0x48838e['id']],_[_0x1cd3('0x5e8')](_0x48838e,_0x584084));}if(_0x310ddf[_0x1cd3('0x16c8')][_0x48838e['id']]){_['merge'](_0x310ddf['faxQueues'][_0x48838e['id']],_[_0x1cd3('0x5e8')](_0x48838e,_0x584084));}}}function _0x54190c(_0x4df967){if(!_[_0x1cd3('0x472')](_0x4df967)){delete _0x310ddf[_0x1cd3('0x16c9')][_0x4df967['id']];delete _0x310ddf[_0x1cd3('0x16c8')][_0x4df967['id']];}}function _0x53717b(_0x547154){if(_[_0x1cd3('0x16aa')](_0x547154[_0x1cd3('0x1226')])===_0x55ab4b[_0x1cd3('0x5d')]()['id']){_0x310ddf[_0x1cd3('0x16cb')]();}}function _0x25ae93(_0x2cfbd5){if(_[_0x1cd3('0x16aa')](_0x2cfbd5[_0x1cd3('0x1226')])===_0x55ab4b[_0x1cd3('0x5d')]()['id']){_0x310ddf['getFaxQueues']();}}function _0x575d7b(_0x32dad9){if(_0x310ddf['faxQueues'][_0x32dad9[_0x1cd3('0xf4c')]]){_0x310ddf[_0x1cd3('0x16da')][_0x32dad9['id']]=_0x32dad9;_0x56ed33();}}function _0x5ea88b(_0x200696){delete _0x310ddf[_0x1cd3('0x16da')][_0x200696['id']];if(_0x57baed){_0x310ddf['deleteFaxQueuesWaitingInteractions']['push'](_0x200696['id']);}_0x56ed33();}function _0x313b8e(_0x5f20c8){switch(_0x5f20c8){case'chat':return _0x1cd3('0x16dc');case _0x1cd3('0x1d2'):return _0x1cd3('0x16c3');case _0x1cd3('0x26b'):return _0x1cd3('0x16dd');case _0x1cd3('0x34a'):return _0x1cd3('0x16c4');case _0x1cd3('0x22e'):return _0x1cd3('0x16c5');case _0x1cd3('0x154'):return _0x1cd3('0x16c6');default:return _0x1cd3('0x16c7');}}_0x1684e3[_0x1cd3('0x4d3')](_0x1cd3('0x523'),function(){_0x1a10c0[_0x1cd3('0x6a3')](_0x1cd3('0x16cf'));_0x1a10c0[_0x1cd3('0x6a3')](_0x1cd3('0x16de'));_0x1a10c0[_0x1cd3('0x6a3')]('faxQueue:update');_0x1a10c0['removeAllListeners']('faxQueue:remove');_0x1a10c0['removeAllListeners'](_0x1cd3('0x16d4'));_0x1a10c0[_0x1cd3('0x6a3')](_0x1cd3('0x16d5'));_0x1a10c0[_0x1cd3('0x6a3')]('fax_queue_waiting_interaction:save');_0x1a10c0[_0x1cd3('0x6a3')](_0x1cd3('0x16d8'));});}}());(function(){'use strict';_0x374966[_0x1cd3('0xc')]=['$scope',_0x1cd3('0x3e7'),_0x1cd3('0x3c5'),_0x1cd3('0x372'),_0x1cd3('0x371'),_0x1cd3('0x3f7'),_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0xd18'),_0x1cd3('0x461')];angular[_0x1cd3('0x0')](_0x1cd3('0x2a'))[_0x1cd3('0x39b')]('AgentHomeDashboardMultiChannelMailController',_0x374966);function _0x374966(_0x1ab0ca,_0x85c16a,_0x3252a7,_0x3adc82,_0x25974a,_0x45eee8,_0x3d3143,_0x2df4ef,_0x33e073,_0x4b73e6){var _0x13c3cc=this;var _0x16caa1=['id',_0x1cd3('0x98'),'mapAgentsId',_0x1cd3('0x10d')];var _0x417179=!![];_0x13c3cc[_0x1cd3('0x16df')]={};_0x13c3cc['mailQueuesTotal']=0x0;_0x13c3cc[_0x1cd3('0x16e0')]={};_0x13c3cc[_0x1cd3('0x16ae')]=[];_0x13c3cc[_0x1cd3('0x16e1')]=[];_0x13c3cc['rpcMailQueuesWaitingInteractions']={};_0x13c3cc['query']={'id':_0x2df4ef[_0x1cd3('0x5d')]()['id'],'channel':_0x1cd3('0x1d2'),'fields':_0x1cd3('0x16b1'),'limit':0xa,'page':0x1};_0x13c3cc[_0x1cd3('0x1699')]={'limit':0xa,'page':0x1};_0x13c3cc[_0x1cd3('0x473')]=_0x19c402;_0x13c3cc[_0x1cd3('0x16e2')]=_0x19ce6c;_0x13c3cc[_0x1cd3('0x169a')]=_0x50d0da;_0x13c3cc[_0x1cd3('0x16cc')]=_0x550957;_0x13c3cc[_0x1cd3('0x16b2')]=_0x272490;_0x13c3cc['onSaveQueue']=_0xcb92f2;_0x13c3cc['onSaveMailQueue']=_0x1c26e9;_0x13c3cc['onUpdateMailQueue']=_0x2e28d0;_0x13c3cc[_0x1cd3('0x16e3')]=_0x45190b;_0x13c3cc[_0x1cd3('0x16e4')]=_0x1bcce9;_0x13c3cc['onRemoveUserMailQueue']=_0x278e89;_0x13c3cc[_0x1cd3('0x16e5')]=_0x489546;_0x13c3cc[_0x1cd3('0x16e6')]=_0x167671;_0x33e073[_0x1cd3('0x1555')](_0x1cd3('0x16e7'),_0x13c3cc[_0x1cd3('0x169f')]);_0x33e073[_0x1cd3('0x1555')]('mailQueue:save',_0x13c3cc[_0x1cd3('0x16e8')]);_0x33e073[_0x1cd3('0x1555')](_0x1cd3('0x16e9'),_0x13c3cc[_0x1cd3('0x16ea')]);_0x33e073[_0x1cd3('0x1555')](_0x1cd3('0x16eb'),_0x13c3cc[_0x1cd3('0x16e3')]);_0x33e073['onWithoutApply'](_0x1cd3('0x16ec'),_0x13c3cc[_0x1cd3('0x16e4')]);_0x33e073[_0x1cd3('0x1555')](_0x1cd3('0x16ed'),_0x13c3cc[_0x1cd3('0x16ee')]);_0x33e073[_0x1cd3('0x1555')](_0x1cd3('0x16ef'),_0x13c3cc[_0x1cd3('0x16e5')]);_0x33e073[_0x1cd3('0x1555')]('mail_queue_waiting_interaction:remove',_0x13c3cc[_0x1cd3('0x16e6')]);_0x3d3143[_0x1cd3('0x633')][_0x1cd3('0x16e2')]()[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x267f04){_0x13c3cc[_0x1cd3('0x16e0')]=_0x267f04?_[_0x1cd3('0xe2d')](_0x267f04[_0x1cd3('0xf6')]?_0x267f04[_0x1cd3('0xf6')]:[],'id'):{};})[_0x1cd3('0x77')](function(_0x32b464){return _0x3d3143[_0x1cd3('0x368')][_0x1cd3('0x13df')]({'id':_0x2df4ef[_0x1cd3('0x5d')]()['id'],'channel':_0x1cd3('0x1d2')})['$promise'];})[_0x1cd3('0x77')](function(_0x2c0f22){_0x13c3cc[_0x1cd3('0x16be')]=_0x2c0f22[_0x1cd3('0xf6')];return _0x3d3143['rpc'][_0x1cd3('0x16f0')]()[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x4538d8){var _0x1b079b=_['filter'](_0x4538d8['rows'],function(_0x3e3401){return _[_0x1cd3('0x38f')](_0x13c3cc[_0x1cd3('0x16be')],{'id':_0x3e3401[_0x1cd3('0xf4c')]});});_0x4538d8['rows']=_0x1b079b;_0x4538d8['count']=_0x1b079b[_0x1cd3('0x7a')];_[_0x1cd3('0xf2')](_0x13c3cc[_0x1cd3('0x16f1')],_0x4538d8?_['keyBy'](_0x4538d8['rows']?_0x4538d8[_0x1cd3('0xf6')]:[],'id'):{});})[_0x1cd3('0xfd')](function(_0x1ded9a){console['error'](_0x1ded9a);})[_0x1cd3('0x5dd')](function(){for(var _0x214c62=0x0;_0x214c62<_0x13c3cc[_0x1cd3('0x16e1')][_0x1cd3('0x7a')];_0x214c62+=0x1){delete _0x13c3cc[_0x1cd3('0x16f1')][_0x13c3cc[_0x1cd3('0x16e1')][_0x214c62]];}_0x417179=![];_0x13c3cc[_0x1cd3('0x16e1')]=[];_0x19ce6c();_0x272490();});function _0x272490(){var _0x5ecf96=(_0x13c3cc[_0x1cd3('0x1699')]['page']-0x1)*_0x13c3cc[_0x1cd3('0x1699')][_0x1cd3('0x8fe')];_0x13c3cc[_0x1cd3('0x16ae')]=_[_0x1cd3('0xe31')](_0x13c3cc['rpcMailQueuesWaitingInteractions'],[_0x1cd3('0x16c0')],[_0x1cd3('0x13d5')]);_0x13c3cc['interactions']=_[_0x1cd3('0x16c2')](_0x13c3cc['paginatedInteractions'],_0x5ecf96)[_0x1cd3('0x9a2')](0x0,_0x13c3cc[_0x1cd3('0x1699')][_0x1cd3('0x8fe')]);}function _0x19c402(_0x18bed2){_0x13c3cc[_0x1cd3('0x16f2')]=_0x18bed2[_0x1cd3('0x466')]?_0x18bed2[_0x1cd3('0x466')]:0x0;_0x13c3cc[_0x1cd3('0x16df')]=_0x18bed2?_['keyBy'](_0x18bed2['rows']?_0x18bed2[_0x1cd3('0xf6')]:[],'id'):{};_0x25a8a1();}function _0x19ce6c(){_0x13c3cc[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0x13c3cc['query']['page']-0x1)*_0x13c3cc['query'][_0x1cd3('0x8fe')];_0x13c3cc[_0x1cd3('0x539')]=_0x3d3143[_0x1cd3('0x368')][_0x1cd3('0x13df')](_0x13c3cc[_0x1cd3('0x3d4')],_0x19c402)[_0x1cd3('0x81')];}var _0x17255f=!![];var _0x294a55=0x1;_0x1ab0ca[_0x1cd3('0x4d6')](_0x1cd3('0x1340'),function(_0x45ee8e,_0x35ea3b){if(_0x17255f){_0x85c16a(function(){_0x17255f=![];});}else{if(!_0x35ea3b){_0x294a55=_0x13c3cc[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0x45ee8e!==_0x35ea3b){_0x13c3cc[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}if(!_0x45ee8e){_0x13c3cc[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0x294a55;}_0x13c3cc[_0x1cd3('0x16e2')]();}});function _0x50d0da(_0x41a345){return _[_0x1cd3('0x113e')](_0x41a345);}function _0x25a8a1(){_['forIn'](_0x13c3cc['mailQueues'],function(_0x525b4f,_0x51db50){if(_0x13c3cc[_0x1cd3('0x16e0')][_0x51db50]){_0x13c3cc[_0x1cd3('0x16df')][_0x51db50][_0x1cd3('0x10d')]=_0x13c3cc[_0x1cd3('0x16e0')][_0x51db50][_0x1cd3('0x10d')]||0x0;}});}function _0xcb92f2(_0x3acce0){if(_0x13c3cc['mailQueues'][_0x3acce0['id']]){if(_0x13c3cc[_0x1cd3('0x16e0')][_0x3acce0['id']]){_[_0x1cd3('0xf2')](_0x13c3cc[_0x1cd3('0x16e0')][_0x3acce0['id']],_[_0x1cd3('0x5e8')](_0x3acce0,_0x16caa1));_[_0x1cd3('0xf2')](_0x13c3cc[_0x1cd3('0x16df')][_0x3acce0['id']],_[_0x1cd3('0x5e8')](_0x3acce0,_0x16caa1));}}}function _0x1c26e9(_0x14bbc5){if(!_[_0x1cd3('0x472')](_0x14bbc5)){_0x13c3cc[_0x1cd3('0x16e0')][_0x14bbc5['id']]=_['pick'](_0x14bbc5,_0x16caa1);}}function _0x2e28d0(_0x4f2807){if(!_['isNil'](_0x4f2807)){if(_0x13c3cc[_0x1cd3('0x16e0')][_0x4f2807['id']]){_['merge'](_0x13c3cc[_0x1cd3('0x16e0')][_0x4f2807['id']],_[_0x1cd3('0x5e8')](_0x4f2807,_0x16caa1));}if(_0x13c3cc[_0x1cd3('0x16df')][_0x4f2807['id']]){_[_0x1cd3('0xf2')](_0x13c3cc[_0x1cd3('0x16df')][_0x4f2807['id']],_[_0x1cd3('0x5e8')](_0x4f2807,_0x16caa1));}}}function _0x45190b(_0x4b9bbb){if(!_[_0x1cd3('0x472')](_0x4b9bbb)){delete _0x13c3cc[_0x1cd3('0x16e0')][_0x4b9bbb['id']];delete _0x13c3cc[_0x1cd3('0x16df')][_0x4b9bbb['id']];}}function _0x1bcce9(_0x392d1c){if(_[_0x1cd3('0x16aa')](_0x392d1c[_0x1cd3('0x1226')])===_0x2df4ef[_0x1cd3('0x5d')]()['id']){_0x13c3cc['getMailQueues']();}}function _0x278e89(_0x3428f3){if(_[_0x1cd3('0x16aa')](_0x3428f3['UserId'])===_0x2df4ef[_0x1cd3('0x5d')]()['id']){_0x13c3cc[_0x1cd3('0x16e2')]();}}function _0x489546(_0x30e2ef){if(_0x13c3cc[_0x1cd3('0x16df')][_0x30e2ef[_0x1cd3('0xf4c')]]){_0x13c3cc[_0x1cd3('0x16f1')][_0x30e2ef['id']]=_0x30e2ef;_0x272490();}}function _0x167671(_0x448874){delete _0x13c3cc['rpcMailQueuesWaitingInteractions'][_0x448874['id']];if(_0x417179){_0x13c3cc['deleteMailQueuesWaitingInteractions']['push'](_0x448874['id']);}_0x272490();}function _0x550957(_0x34c643){switch(_0x34c643){case _0x1cd3('0xbf'):return _0x1cd3('0x16dc');case _0x1cd3('0x1d2'):return'teal-bg';case _0x1cd3('0x26b'):return _0x1cd3('0x16dd');case _0x1cd3('0x34a'):return'lime-A700-bg';case _0x1cd3('0x22e'):return _0x1cd3('0x16c5');case _0x1cd3('0x154'):return _0x1cd3('0x16c6');default:return _0x1cd3('0x16c7');}}_0x1ab0ca[_0x1cd3('0x4d3')](_0x1cd3('0x523'),function(){_0x33e073[_0x1cd3('0x6a3')]('mail_queue:save');_0x33e073[_0x1cd3('0x6a3')](_0x1cd3('0x16f3'));_0x33e073[_0x1cd3('0x6a3')]('mailQueue:update');_0x33e073[_0x1cd3('0x6a3')]('mailQueue:remove');_0x33e073['removeAllListeners'](_0x1cd3('0x16ec'));_0x33e073['removeAllListeners'](_0x1cd3('0x16ed'));_0x33e073[_0x1cd3('0x6a3')](_0x1cd3('0x16ef'));_0x33e073['removeAllListeners'](_0x1cd3('0x16f4'));});}}());(function(){'use strict';_0x3f04d0['$inject']=['$scope',_0x1cd3('0x3e7'),_0x1cd3('0x3c5'),_0x1cd3('0x372'),_0x1cd3('0x371'),_0x1cd3('0x3f7'),_0x1cd3('0x370'),'Auth','socket','toasty'];angular[_0x1cd3('0x0')](_0x1cd3('0x2a'))[_0x1cd3('0x39b')](_0x1cd3('0x16f5'),_0x3f04d0);function _0x3f04d0(_0x3043a8,_0x48a14b,_0x4506a9,_0x2b6250,_0x393a5a,_0x15a24e,_0x570c9b,_0x5da3e5,_0x6679ef,_0x37e393){var _0x403a2b=this;var _0x58adb4=['id',_0x1cd3('0x98'),'mapAgentsId','waiting'];var _0x4a325d=!![];_0x403a2b[_0x1cd3('0x16f6')]={};_0x403a2b[_0x1cd3('0x16f7')]=0x0;_0x403a2b[_0x1cd3('0x16f8')]={};_0x403a2b[_0x1cd3('0x16ae')]=[];_0x403a2b[_0x1cd3('0x16f9')]=[];_0x403a2b[_0x1cd3('0x16fa')]={};_0x403a2b[_0x1cd3('0x3d4')]={'id':_0x5da3e5[_0x1cd3('0x5d')]()['id'],'channel':_0x1cd3('0x22e'),'fields':_0x1cd3('0x16b1'),'limit':0xa,'page':0x1};_0x403a2b[_0x1cd3('0x1699')]={'limit':0xa,'page':0x1};_0x403a2b['success']=_0x3a87f4;_0x403a2b[_0x1cd3('0x16fb')]=_0x3f4c58;_0x403a2b[_0x1cd3('0x169a')]=_0x2af3dc;_0x403a2b[_0x1cd3('0x16cc')]=_0x491006;_0x403a2b[_0x1cd3('0x16b2')]=_0x57b852;_0x403a2b['onSaveQueue']=_0x35b281;_0x403a2b[_0x1cd3('0x16fc')]=_0x57bd50;_0x403a2b[_0x1cd3('0x16fd')]=_0x3e9b57;_0x403a2b[_0x1cd3('0x16fe')]=_0x4f17e7;_0x403a2b[_0x1cd3('0x16ff')]=_0x35a1d9;_0x403a2b[_0x1cd3('0x1700')]=_0x28ed15;_0x403a2b['onSaveOpenchannelQueueChannel']=_0x1d8892;_0x403a2b[_0x1cd3('0x1701')]=_0x415fc3;_0x6679ef[_0x1cd3('0x1555')](_0x1cd3('0x1702'),_0x403a2b[_0x1cd3('0x169f')]);_0x6679ef[_0x1cd3('0x1555')](_0x1cd3('0x1703'),_0x403a2b[_0x1cd3('0x16fc')]);_0x6679ef[_0x1cd3('0x1555')]('openchannelQueue:update',_0x403a2b['onUpdateOpenchannelQueue']);_0x6679ef[_0x1cd3('0x1555')](_0x1cd3('0x1704'),_0x403a2b['onRemoveOpenchannelQueue']);_0x6679ef[_0x1cd3('0x1555')]('userOpenchannelQueue:save',_0x403a2b[_0x1cd3('0x16ff')]);_0x6679ef[_0x1cd3('0x1555')](_0x1cd3('0x1705'),_0x403a2b[_0x1cd3('0x1700')]);_0x6679ef[_0x1cd3('0x1555')](_0x1cd3('0x1706'),_0x403a2b[_0x1cd3('0x1707')]);_0x6679ef['onWithoutApply'](_0x1cd3('0x1708'),_0x403a2b[_0x1cd3('0x1701')]);_0x570c9b[_0x1cd3('0x633')]['getOpenchannelQueues']()[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x3f972c){_0x403a2b['rpcOpenchannelQueues']=_0x3f972c?_[_0x1cd3('0xe2d')](_0x3f972c[_0x1cd3('0xf6')]?_0x3f972c['rows']:[],'id'):{};})[_0x1cd3('0x77')](function(_0x52cd7e){return _0x570c9b[_0x1cd3('0x368')][_0x1cd3('0x13df')]({'id':_0x5da3e5[_0x1cd3('0x5d')]()['id'],'channel':_0x1cd3('0x22e')})['$promise'];})[_0x1cd3('0x77')](function(_0x3a5add){_0x403a2b[_0x1cd3('0x16be')]=_0x3a5add[_0x1cd3('0xf6')];return _0x570c9b[_0x1cd3('0x633')][_0x1cd3('0x1709')]()[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0xdd2f8a){var _0x16aede=_[_0x1cd3('0x395')](_0xdd2f8a[_0x1cd3('0xf6')],function(_0x5f3818){return _['includes'](_0x403a2b['myQueues'],{'id':_0x5f3818[_0x1cd3('0xf4c')]});});_0xdd2f8a[_0x1cd3('0xf6')]=_0x16aede;_0xdd2f8a[_0x1cd3('0x466')]=_0x16aede[_0x1cd3('0x7a')];_[_0x1cd3('0xf2')](_0x403a2b[_0x1cd3('0x16fa')],_0xdd2f8a?_[_0x1cd3('0xe2d')](_0xdd2f8a[_0x1cd3('0xf6')]?_0xdd2f8a['rows']:[],'id'):{});})[_0x1cd3('0xfd')](function(_0x301686){console[_0x1cd3('0x434')](_0x301686);})[_0x1cd3('0x5dd')](function(){for(var _0x20da30=0x0;_0x20da30<_0x403a2b['deleteOpenchannelQueuesWaitingInteractions']['length'];_0x20da30+=0x1){delete _0x403a2b[_0x1cd3('0x16fa')][_0x403a2b[_0x1cd3('0x16f9')][_0x20da30]];}_0x4a325d=![];_0x403a2b[_0x1cd3('0x16f9')]=[];_0x3f4c58();_0x57b852();});function _0x57b852(){var _0x276a77=(_0x403a2b[_0x1cd3('0x1699')][_0x1cd3('0x8fd')]-0x1)*_0x403a2b['queryChannels']['limit'];_0x403a2b[_0x1cd3('0x16ae')]=_[_0x1cd3('0xe31')](_0x403a2b[_0x1cd3('0x16fa')],[_0x1cd3('0x16c0')],['desc']);_0x403a2b[_0x1cd3('0x16c1')]=_['drop'](_0x403a2b[_0x1cd3('0x16ae')],_0x276a77)[_0x1cd3('0x9a2')](0x0,_0x403a2b[_0x1cd3('0x1699')][_0x1cd3('0x8fe')]);}function _0x3a87f4(_0x2522b0){_0x403a2b[_0x1cd3('0x16f7')]=_0x2522b0[_0x1cd3('0x466')]?_0x2522b0[_0x1cd3('0x466')]:0x0;_0x403a2b[_0x1cd3('0x16f6')]=_0x2522b0?_[_0x1cd3('0xe2d')](_0x2522b0[_0x1cd3('0xf6')]?_0x2522b0['rows']:[],'id'):{};_0x48a36f();}function _0x3f4c58(){_0x403a2b[_0x1cd3('0x3d4')]['offset']=(_0x403a2b[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0x403a2b['query'][_0x1cd3('0x8fe')];_0x403a2b['promise']=_0x570c9b[_0x1cd3('0x368')][_0x1cd3('0x13df')](_0x403a2b['query'],_0x3a87f4)[_0x1cd3('0x81')];}var _0x243e08=!![];var _0x4fbb0c=0x1;_0x3043a8[_0x1cd3('0x4d6')](_0x1cd3('0x1340'),function(_0xefd278,_0x259d6e){if(_0x243e08){_0x48a14b(function(){_0x243e08=![];});}else{if(!_0x259d6e){_0x4fbb0c=_0x403a2b['query'][_0x1cd3('0x8fd')];}if(_0xefd278!==_0x259d6e){_0x403a2b[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}if(!_0xefd278){_0x403a2b[_0x1cd3('0x3d4')]['page']=_0x4fbb0c;}_0x403a2b[_0x1cd3('0x16fb')]();}});function _0x2af3dc(_0x400fde){return _[_0x1cd3('0x113e')](_0x400fde);}function _0x48a36f(){_[_0x1cd3('0x13e5')](_0x403a2b['openchannelQueues'],function(_0x5c64ff,_0x56c017){if(_0x403a2b[_0x1cd3('0x16f8')][_0x56c017]){_0x403a2b[_0x1cd3('0x16f6')][_0x56c017][_0x1cd3('0x10d')]=_0x403a2b[_0x1cd3('0x16f8')][_0x56c017][_0x1cd3('0x10d')]||0x0;}});}function _0x35b281(_0x13c07f){if(_0x403a2b[_0x1cd3('0x16f6')][_0x13c07f['id']]){if(_0x403a2b[_0x1cd3('0x16f8')][_0x13c07f['id']]){_[_0x1cd3('0xf2')](_0x403a2b[_0x1cd3('0x16f8')][_0x13c07f['id']],_[_0x1cd3('0x5e8')](_0x13c07f,_0x58adb4));_[_0x1cd3('0xf2')](_0x403a2b[_0x1cd3('0x16f6')][_0x13c07f['id']],_[_0x1cd3('0x5e8')](_0x13c07f,_0x58adb4));}}}function _0x57bd50(_0x1576cf){if(!_[_0x1cd3('0x472')](_0x1576cf)){_0x403a2b['rpcOpenchannelQueues'][_0x1576cf['id']]=_[_0x1cd3('0x5e8')](_0x1576cf,_0x58adb4);}}function _0x3e9b57(_0x453783){if(!_[_0x1cd3('0x472')](_0x453783)){if(_0x403a2b['rpcOpenchannelQueues'][_0x453783['id']]){_['merge'](_0x403a2b['rpcOpenchannelQueues'][_0x453783['id']],_[_0x1cd3('0x5e8')](_0x453783,_0x58adb4));}if(_0x403a2b['openchannelQueues'][_0x453783['id']]){_[_0x1cd3('0xf2')](_0x403a2b[_0x1cd3('0x16f6')][_0x453783['id']],_['pick'](_0x453783,_0x58adb4));}}}function _0x4f17e7(_0x2fbf6d){if(!_['isNil'](_0x2fbf6d)){delete _0x403a2b[_0x1cd3('0x16f8')][_0x2fbf6d['id']];delete _0x403a2b[_0x1cd3('0x16f6')][_0x2fbf6d['id']];}}function _0x35a1d9(_0x34d3ab){if(_[_0x1cd3('0x16aa')](_0x34d3ab[_0x1cd3('0x1226')])===_0x5da3e5[_0x1cd3('0x5d')]()['id']){_0x403a2b[_0x1cd3('0x16fb')]();}}function _0x28ed15(_0x206592){if(_[_0x1cd3('0x16aa')](_0x206592[_0x1cd3('0x1226')])===_0x5da3e5['getCurrentUser']()['id']){_0x403a2b[_0x1cd3('0x16fb')]();}}function _0x1d8892(_0x69eb58){if(_0x403a2b[_0x1cd3('0x16f6')][_0x69eb58[_0x1cd3('0xf4c')]]){_0x403a2b[_0x1cd3('0x16fa')][_0x69eb58['id']]=_0x69eb58;_0x57b852();}}function _0x415fc3(_0xcb9780){delete _0x403a2b[_0x1cd3('0x16fa')][_0xcb9780['id']];if(_0x4a325d){_0x403a2b[_0x1cd3('0x16f9')][_0x1cd3('0x7b')](_0xcb9780['id']);}_0x57b852();}function _0x491006(_0x22add6){switch(_0x22add6){case'chat':return _0x1cd3('0x16dc');case _0x1cd3('0x1d2'):return'teal-bg';case _0x1cd3('0x26b'):return'orange-bg';case'whatsapp':return _0x1cd3('0x16c4');case _0x1cd3('0x22e'):return'amber-A200-bg';case _0x1cd3('0x154'):return _0x1cd3('0x16c6');default:return _0x1cd3('0x16c7');}}_0x3043a8[_0x1cd3('0x4d3')](_0x1cd3('0x523'),function(){_0x6679ef['removeAllListeners'](_0x1cd3('0x1702'));_0x6679ef[_0x1cd3('0x6a3')](_0x1cd3('0x1703'));_0x6679ef[_0x1cd3('0x6a3')](_0x1cd3('0x170a'));_0x6679ef[_0x1cd3('0x6a3')](_0x1cd3('0x1704'));_0x6679ef[_0x1cd3('0x6a3')](_0x1cd3('0x170b'));_0x6679ef['removeAllListeners'](_0x1cd3('0x1705'));_0x6679ef[_0x1cd3('0x6a3')](_0x1cd3('0x1706'));_0x6679ef[_0x1cd3('0x6a3')](_0x1cd3('0x1708'));});}}());(function(){'use strict';_0x1d0449[_0x1cd3('0xc')]=['$scope',_0x1cd3('0x3e7'),_0x1cd3('0x3c5'),_0x1cd3('0x372'),_0x1cd3('0x371'),_0x1cd3('0x3f7'),_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0xd18'),_0x1cd3('0x461')];angular[_0x1cd3('0x0')](_0x1cd3('0x2a'))[_0x1cd3('0x39b')](_0x1cd3('0x170c'),_0x1d0449);function _0x1d0449(_0x3ee756,_0x1edf37,_0x23bf6c,_0x318f57,_0x5cc6d3,_0x28e4ae,_0x2951c4,_0x142c0f,_0x1f7e73,_0x953c68){var _0x509638=this;var _0x4e1df8=['id',_0x1cd3('0x98'),'mapAgentsId',_0x1cd3('0x10d')];var _0x157382=!![];_0x509638[_0x1cd3('0x170d')]={};_0x509638[_0x1cd3('0x170e')]=0x0;_0x509638[_0x1cd3('0x170f')]={};_0x509638[_0x1cd3('0x16ae')]=[];_0x509638[_0x1cd3('0x1710')]=[];_0x509638[_0x1cd3('0x1711')]={};_0x509638[_0x1cd3('0x3d4')]={'id':_0x142c0f['getCurrentUser']()['id'],'channel':_0x1cd3('0x26b'),'fields':'id,name,mapAgentsId,waiting','limit':0xa,'page':0x1};_0x509638['queryChannels']={'limit':0xa,'page':0x1};_0x509638[_0x1cd3('0x473')]=_0x14e4e4;_0x509638[_0x1cd3('0x1712')]=_0x3b4437;_0x509638[_0x1cd3('0x169a')]=_0xda1b19;_0x509638['getColorByChannel']=_0x537b47;_0x509638['paginate']=_0x5968dd;_0x509638[_0x1cd3('0x169f')]=_0x58b61a;_0x509638['onSaveSmsQueue']=_0x57a498;_0x509638[_0x1cd3('0x1713')]=_0x407bad;_0x509638[_0x1cd3('0x1714')]=_0xd7f900;_0x509638[_0x1cd3('0x1715')]=_0x54d90f;_0x509638[_0x1cd3('0x1716')]=_0x119c24;_0x509638[_0x1cd3('0x1717')]=_0x175f9d;_0x509638[_0x1cd3('0x1718')]=_0x3251e9;_0x1f7e73[_0x1cd3('0x1555')]('sms_queue:save',_0x509638[_0x1cd3('0x169f')]);_0x1f7e73[_0x1cd3('0x1555')](_0x1cd3('0x1719'),_0x509638['onSaveSmsQueue']);_0x1f7e73[_0x1cd3('0x1555')](_0x1cd3('0x171a'),_0x509638[_0x1cd3('0x1713')]);_0x1f7e73[_0x1cd3('0x1555')](_0x1cd3('0x171b'),_0x509638[_0x1cd3('0x1714')]);_0x1f7e73[_0x1cd3('0x1555')](_0x1cd3('0x171c'),_0x509638[_0x1cd3('0x1715')]);_0x1f7e73[_0x1cd3('0x1555')](_0x1cd3('0x171d'),_0x509638[_0x1cd3('0x1716')]);_0x1f7e73[_0x1cd3('0x1555')]('sms_queue_waiting_interaction:save',_0x509638[_0x1cd3('0x1717')]);_0x1f7e73['onWithoutApply']('sms_queue_waiting_interaction:remove',_0x509638['onRemoveSmsQueueChannel']);_0x2951c4['rpc'][_0x1cd3('0x1712')]()[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x11a950){_0x509638[_0x1cd3('0x170f')]=_0x11a950?_['keyBy'](_0x11a950['rows']?_0x11a950[_0x1cd3('0xf6')]:[],'id'):{};})[_0x1cd3('0x77')](function(_0x16fc9f){return _0x2951c4[_0x1cd3('0x368')][_0x1cd3('0x13df')]({'id':_0x142c0f[_0x1cd3('0x5d')]()['id'],'channel':_0x1cd3('0x26b')})['$promise'];})[_0x1cd3('0x77')](function(_0x35fcb3){_0x509638[_0x1cd3('0x16be')]=_0x35fcb3[_0x1cd3('0xf6')];return _0x2951c4[_0x1cd3('0x633')]['getSmsQueuesWaitingInteractions']()[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x3a1542){var _0x536a11=_[_0x1cd3('0x395')](_0x3a1542[_0x1cd3('0xf6')],function(_0x2470e4){return _[_0x1cd3('0x38f')](_0x509638[_0x1cd3('0x16be')],{'id':_0x2470e4[_0x1cd3('0xf4c')]});});_0x3a1542[_0x1cd3('0xf6')]=_0x536a11;_0x3a1542['count']=_0x536a11[_0x1cd3('0x7a')];_['merge'](_0x509638[_0x1cd3('0x1711')],_0x3a1542?_['keyBy'](_0x3a1542[_0x1cd3('0xf6')]?_0x3a1542[_0x1cd3('0xf6')]:[],'id'):{});})[_0x1cd3('0xfd')](function(_0x1f29ba){console[_0x1cd3('0x434')](_0x1f29ba);})[_0x1cd3('0x5dd')](function(){for(var _0x4ec38d=0x0;_0x4ec38d<_0x509638['deleteSmsQueuesWaitingInteractions'][_0x1cd3('0x7a')];_0x4ec38d+=0x1){delete _0x509638[_0x1cd3('0x1711')][_0x509638[_0x1cd3('0x1710')][_0x4ec38d]];}_0x157382=![];_0x509638[_0x1cd3('0x1710')]=[];_0x3b4437();_0x5968dd();});function _0x5968dd(){var _0x572ec5=(_0x509638[_0x1cd3('0x1699')][_0x1cd3('0x8fd')]-0x1)*_0x509638['queryChannels']['limit'];_0x509638[_0x1cd3('0x16ae')]=_['orderBy'](_0x509638['rpcSmsQueuesWaitingInteractions'],[_0x1cd3('0x16c0')],[_0x1cd3('0x13d5')]);_0x509638[_0x1cd3('0x16c1')]=_[_0x1cd3('0x16c2')](_0x509638[_0x1cd3('0x16ae')],_0x572ec5)[_0x1cd3('0x9a2')](0x0,_0x509638['queryChannels']['limit']);}function _0x14e4e4(_0x324d9a){_0x509638[_0x1cd3('0x170e')]=_0x324d9a[_0x1cd3('0x466')]?_0x324d9a[_0x1cd3('0x466')]:0x0;_0x509638[_0x1cd3('0x170d')]=_0x324d9a?_[_0x1cd3('0xe2d')](_0x324d9a[_0x1cd3('0xf6')]?_0x324d9a[_0x1cd3('0xf6')]:[],'id'):{};_0x4b4358();}function _0x3b4437(){_0x509638[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0x509638['query'][_0x1cd3('0x8fd')]-0x1)*_0x509638['query']['limit'];_0x509638[_0x1cd3('0x539')]=_0x2951c4[_0x1cd3('0x368')]['getQueues'](_0x509638[_0x1cd3('0x3d4')],_0x14e4e4)[_0x1cd3('0x81')];}var _0x52cf87=!![];var _0x42d95f=0x1;_0x3ee756['$watch']('vm_dc.query.filter',function(_0x545c8d,_0x175bfc){if(_0x52cf87){_0x1edf37(function(){_0x52cf87=![];});}else{if(!_0x175bfc){_0x42d95f=_0x509638['query'][_0x1cd3('0x8fd')];}if(_0x545c8d!==_0x175bfc){_0x509638[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}if(!_0x545c8d){_0x509638[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0x42d95f;}_0x509638[_0x1cd3('0x1712')]();}});function _0xda1b19(_0x288623){return _[_0x1cd3('0x113e')](_0x288623);}function _0x4b4358(){_[_0x1cd3('0x13e5')](_0x509638[_0x1cd3('0x170d')],function(_0x4c0878,_0x765b67){if(_0x509638[_0x1cd3('0x170f')][_0x765b67]){_0x509638['smsQueues'][_0x765b67][_0x1cd3('0x10d')]=_0x509638[_0x1cd3('0x170f')][_0x765b67]['waiting']||0x0;}});}function _0x58b61a(_0x49f5ff){if(_0x509638[_0x1cd3('0x170d')][_0x49f5ff['id']]){if(_0x509638['rpcSmsQueues'][_0x49f5ff['id']]){_[_0x1cd3('0xf2')](_0x509638['rpcSmsQueues'][_0x49f5ff['id']],_[_0x1cd3('0x5e8')](_0x49f5ff,_0x4e1df8));_['merge'](_0x509638[_0x1cd3('0x170d')][_0x49f5ff['id']],_['pick'](_0x49f5ff,_0x4e1df8));}}}function _0x57a498(_0x4e0e2e){if(!_['isNil'](_0x4e0e2e)){_0x509638[_0x1cd3('0x170f')][_0x4e0e2e['id']]=_['pick'](_0x4e0e2e,_0x4e1df8);}}function _0x407bad(_0x59f702){if(!_['isNil'](_0x59f702)){if(_0x509638['rpcSmsQueues'][_0x59f702['id']]){_['merge'](_0x509638['rpcSmsQueues'][_0x59f702['id']],_['pick'](_0x59f702,_0x4e1df8));}if(_0x509638['smsQueues'][_0x59f702['id']]){_[_0x1cd3('0xf2')](_0x509638['smsQueues'][_0x59f702['id']],_[_0x1cd3('0x5e8')](_0x59f702,_0x4e1df8));}}}function _0xd7f900(_0x13b340){if(!_[_0x1cd3('0x472')](_0x13b340)){delete _0x509638['rpcSmsQueues'][_0x13b340['id']];delete _0x509638['smsQueues'][_0x13b340['id']];}}function _0x54d90f(_0x4139c6){if(_[_0x1cd3('0x16aa')](_0x4139c6[_0x1cd3('0x1226')])===_0x142c0f[_0x1cd3('0x5d')]()['id']){_0x509638[_0x1cd3('0x1712')]();}}function _0x119c24(_0x4afd76){if(_[_0x1cd3('0x16aa')](_0x4afd76[_0x1cd3('0x1226')])===_0x142c0f['getCurrentUser']()['id']){_0x509638[_0x1cd3('0x1712')]();}}function _0x175f9d(_0x2ea3d5){if(_0x509638['smsQueues'][_0x2ea3d5[_0x1cd3('0xf4c')]]){_0x509638[_0x1cd3('0x1711')][_0x2ea3d5['id']]=_0x2ea3d5;_0x5968dd();}}function _0x3251e9(_0x2dabe8){delete _0x509638[_0x1cd3('0x1711')][_0x2dabe8['id']];if(_0x157382){_0x509638[_0x1cd3('0x1710')][_0x1cd3('0x7b')](_0x2dabe8['id']);}_0x5968dd();}function _0x537b47(_0x5a1974){switch(_0x5a1974){case'chat':return _0x1cd3('0x16dc');case _0x1cd3('0x1d2'):return _0x1cd3('0x16c3');case _0x1cd3('0x26b'):return _0x1cd3('0x16dd');case _0x1cd3('0x34a'):return _0x1cd3('0x16c4');case _0x1cd3('0x22e'):return _0x1cd3('0x16c5');case _0x1cd3('0x154'):return _0x1cd3('0x16c6');default:return'white-bg';}}_0x3ee756[_0x1cd3('0x4d3')](_0x1cd3('0x523'),function(){_0x1f7e73[_0x1cd3('0x6a3')]('sms_queue:save');_0x1f7e73[_0x1cd3('0x6a3')]('smsQueue:save');_0x1f7e73[_0x1cd3('0x6a3')]('smsQueue:update');_0x1f7e73[_0x1cd3('0x6a3')](_0x1cd3('0x171b'));_0x1f7e73[_0x1cd3('0x6a3')](_0x1cd3('0x171c'));_0x1f7e73[_0x1cd3('0x6a3')]('userSmsQueue:remove');_0x1f7e73[_0x1cd3('0x6a3')](_0x1cd3('0x171e'));_0x1f7e73['removeAllListeners'](_0x1cd3('0x171f'));});}}());(function(){'use strict';_0x186949[_0x1cd3('0xc')]=[_0x1cd3('0x460'),'$timeout','$mdDialog','$document',_0x1cd3('0x371'),'$translate',_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0xd18'),_0x1cd3('0x461')];angular[_0x1cd3('0x0')](_0x1cd3('0x2a'))[_0x1cd3('0x39b')](_0x1cd3('0x1720'),_0x186949);function _0x186949(_0x965c0f,_0x1674e2,_0x55901b,_0x5c31cb,_0x43d1e1,_0x2001c8,_0x33e0e1,_0x3a78ab,_0x37f060,_0x36265a){var _0x4932b0=this;var _0x254dcc=[_0x1cd3('0x424'),_0x1cd3('0x10d'),_0x1cd3('0x13dd'),_0x1cd3('0x1693')];_0x4932b0[_0x1cd3('0x8d9')]={};_0x4932b0[_0x1cd3('0x1694')]=0x0;_0x4932b0[_0x1cd3('0x1695')]={};_0x4932b0[_0x1cd3('0x1696')]={};_0x4932b0['rpcVoiceQueuesChannels']={};_0x4932b0[_0x1cd3('0x16a8')]={};_0x4932b0[_0x1cd3('0x1697')]=[];_0x4932b0[_0x1cd3('0x5de')]=!![];_0x4932b0[_0x1cd3('0x3d4')]={'id':_0x3a78ab[_0x1cd3('0x5d')]()['id'],'fields':_0x1cd3('0x1698'),'channel':'voice','type':_0x1cd3('0xa4'),'limit':0xa,'page':0x1};_0x4932b0['queryChannels']={'limit':0xa,'page':0x1};_0x4932b0['success']=_0x30a45f;_0x4932b0[_0x1cd3('0x1696')]=_0x5de98b;_0x4932b0[_0x1cd3('0x169a')]=_0x5132d3;_0x4932b0['onSaveQueue']=_0x50e9e3;_0x4932b0['onSaveChannel']=_0x38d7c9;_0x4932b0[_0x1cd3('0x169c')]=_0x280f49;_0x4932b0[_0x1cd3('0x169d')]=_0x3ebd11;_0x4932b0['onUpdateVoiceQueue']=_0x466024;_0x4932b0[_0x1cd3('0x16a4')]=_0x503f7f;_0x37f060['onWithoutApply'](_0x1cd3('0x155e'),_0x4932b0[_0x1cd3('0x169f')]);_0x37f060[_0x1cd3('0x1555')](_0x1cd3('0x16a0'),_0x4932b0[_0x1cd3('0x169b')]);_0x37f060[_0x1cd3('0x1555')]('userVoiceQueue:save',_0x4932b0[_0x1cd3('0x169c')]);_0x37f060[_0x1cd3('0x1555')](_0x1cd3('0x16a1'),_0x4932b0['onUserVoiceQueue']);_0x37f060[_0x1cd3('0x1555')](_0x1cd3('0x16a2'),_0x4932b0['onSaveVoiceQueue']);_0x37f060[_0x1cd3('0x1555')](_0x1cd3('0x16a3'),_0x4932b0[_0x1cd3('0x16a4')]);_0x37f060[_0x1cd3('0x1555')](_0x1cd3('0x16a5'),_0x4932b0[_0x1cd3('0x169e')]);_0x33e0e1[_0x1cd3('0x368')]['getQueues'](_0x4932b0[_0x1cd3('0x3d4')])[_0x1cd3('0x81')]['then'](function(_0x16ab8f){_0x4932b0[_0x1cd3('0x16be')]=_0x16ab8f;return _0x33e0e1['rpc']['getVoiceQueues']()[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x165502){var _0x141e97=_0x165502[_0x1cd3('0xf6')];var _0x3fe069=_[_0x1cd3('0xe2d')](_0x141e97,'id');for(var _0x51cdf4=0x0;_0x51cdf4<_0x4932b0['myQueues'][_0x1cd3('0x466')];_0x51cdf4++){var _0x5735e6=_0x4932b0['myQueues'][_0x1cd3('0xf6')][_0x51cdf4];_0x4932b0[_0x1cd3('0x1695')][_0x5735e6['id']]=_0x3fe069[_0x5735e6['id']];}return _0x33e0e1['rpc'][_0x1cd3('0x16a6')]()[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x540553){_0x4932b0[_0x1cd3('0x16a7')]=_0x540553?_['keyBy'](_0x540553['rows']?_[_0x1cd3('0x395')](_0x540553[_0x1cd3('0xf6')],function(_0xf99214){if(_0xf99214['type']===_0x1cd3('0xa4')&&!_0xf99214['queuecallerleaveAt']&&_[_0x1cd3('0x442')](_0x4932b0[_0x1cd3('0x16be')][_0x1cd3('0xf6')],{'name':_0xf99214[_0x1cd3('0x1220')]})){return!![];}return![];}):[],_0x1cd3('0x6b4')):{};})[_0x1cd3('0xfd')](function(_0x4f432b){console[_0x1cd3('0x434')](_0x4f432b);})[_0x1cd3('0x5dd')](function(){_['merge'](_0x4932b0['rpcVoiceQueuesChannels'],_0x4932b0[_0x1cd3('0x16a8')]);for(var _0x12f473=0x0;_0x12f473<_0x4932b0[_0x1cd3('0x1697')][_0x1cd3('0x7a')];_0x12f473+=0x1){delete _0x4932b0[_0x1cd3('0x16a7')][_0x4932b0[_0x1cd3('0x1697')][_0x12f473]];}_0x4932b0[_0x1cd3('0x5de')]=![];_0x4932b0[_0x1cd3('0x16a8')]={};_0x4932b0[_0x1cd3('0x1697')]=[];_0x4932b0['getVoiceQueues']();});function _0x30a45f(_0x5c1b1f){_0x4932b0['voiceQueuesTotal']=_0x5c1b1f[_0x1cd3('0x466')]?_0x5c1b1f[_0x1cd3('0x466')]:0x0;_0x4932b0['voiceQueues']=_0x5c1b1f?_[_0x1cd3('0xe2d')](_0x5c1b1f[_0x1cd3('0xf6')]?_0x5c1b1f['rows']:[],'id'):{};_0x4bda90();}function _0x5de98b(){_0x4932b0[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0x4932b0[_0x1cd3('0x3d4')]['page']-0x1)*_0x4932b0['query'][_0x1cd3('0x8fe')];_0x4932b0[_0x1cd3('0x539')]=_0x33e0e1[_0x1cd3('0x368')]['getQueues'](_0x4932b0[_0x1cd3('0x3d4')],_0x30a45f)['$promise'];}var _0x5ea011=!![];var _0x4e9a20=0x1;_0x965c0f[_0x1cd3('0x4d6')](_0x1cd3('0x1340'),function(_0x3ddf22,_0x140b80){if(_0x5ea011){_0x1674e2(function(){_0x5ea011=![];});}else{if(!_0x140b80){_0x4e9a20=_0x4932b0[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0x3ddf22!==_0x140b80){_0x4932b0[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}if(!_0x3ddf22){_0x4932b0[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0x4e9a20;}_0x4932b0[_0x1cd3('0x1696')]();}});function _0x5132d3(_0x1ad2bd){return _[_0x1cd3('0x113e')](_0x1ad2bd);}function _0x4bda90(){_[_0x1cd3('0x13e5')](_0x4932b0[_0x1cd3('0x8d9')],function(_0x2852c1,_0x5983a6){if(_0x4932b0[_0x1cd3('0x1695')][_0x5983a6]){_0x4932b0[_0x1cd3('0x8d9')][_0x5983a6][_0x1cd3('0x10d')]=_0x4932b0['rpcVoiceQueues'][_0x5983a6][_0x1cd3('0x10d')]||0x0;}});}function _0x50e9e3(_0x5d867f){if(_0x4932b0[_0x1cd3('0x8d9')][_0x5d867f['id']]){if(_0x4932b0[_0x1cd3('0x1695')][_0x5d867f['id']]){_0x4932b0[_0x1cd3('0x1695')][_0x5d867f['id']]=_0x5d867f;_[_0x1cd3('0xf2')](_0x4932b0['voiceQueues'][_0x5d867f['id']],_[_0x1cd3('0x5e8')](_0x5d867f,_0x254dcc));}}}function _0x38d7c9(_0x48ec3d){if(_0x48ec3d[_0x1cd3('0x424')]==='inbound'){if(_0x48ec3d[_0x1cd3('0x16a9')]){delete _0x4932b0['rpcVoiceQueuesChannels'][_0x48ec3d[_0x1cd3('0x6b4')]];if(_0x4932b0[_0x1cd3('0x5de')]){_0x4932b0['deleteVoiceQueuesChannels'][_0x1cd3('0x7b')](_0x48ec3d[_0x1cd3('0x6b4')]);}}else{_0x4932b0[_0x1cd3('0x16a7')][_0x48ec3d['uniqueid']]=_0x48ec3d;if(_0x4932b0[_0x1cd3('0x5de')]){_0x4932b0[_0x1cd3('0x16a8')][_0x48ec3d[_0x1cd3('0x6b4')]]=_0x48ec3d;}}}}function _0x3ebd11(_0x3e6ba7){if(!_[_0x1cd3('0x472')](_0x3e6ba7)){_0x4932b0['rpcVoiceQueues'][_0x3e6ba7['id']]=_['pick'](_0x3e6ba7,_0x254dcc);}}function _0x466024(_0x1b6201){if(!_['isNil'](_0x1b6201)){if(_0x4932b0['rpcVoiceQueues'][_0x1b6201['id']]){_[_0x1cd3('0xf2')](_0x4932b0['rpcVoiceQueues'][_0x1b6201['id']],_[_0x1cd3('0x5e8')](_0x1b6201,_0x254dcc));}if(_0x4932b0['voiceQueues'][_0x1b6201['id']]){_[_0x1cd3('0xf2')](_0x4932b0[_0x1cd3('0x8d9')][_0x1b6201['id']],_['pick'](_0x1b6201,_0x254dcc));}}}function _0x503f7f(_0xe58f8c){if(!_[_0x1cd3('0x472')](_0xe58f8c)){delete _0x4932b0['rpcVoiceQueues'][_0xe58f8c['id']];delete _0x4932b0[_0x1cd3('0x8d9')][_0xe58f8c['id']];}}function _0x280f49(_0x2c0907){if(_[_0x1cd3('0x16aa')](_0x2c0907[_0x1cd3('0x1226')])===_0x3a78ab[_0x1cd3('0x5d')]()['id']){_0x4932b0[_0x1cd3('0x1696')]();}}_0x965c0f[_0x1cd3('0x4d3')]('$destroy',function(){_0x37f060[_0x1cd3('0x6a3')](_0x1cd3('0x155e'));_0x37f060[_0x1cd3('0x6a3')](_0x1cd3('0x16a0'));_0x37f060[_0x1cd3('0x6a3')]('userVoiceQueue:save');_0x37f060[_0x1cd3('0x6a3')](_0x1cd3('0x16a1'));_0x37f060['removeAllListeners'](_0x1cd3('0x16a2'));_0x37f060['removeAllListeners']('voiceQueue:update');_0x37f060[_0x1cd3('0x6a3')](_0x1cd3('0x16a3'));});}}());(function(){'use strict';_0x5ecd7b['$inject']=['$scope',_0x1cd3('0x3e7'),_0x1cd3('0x3c5'),'$document',_0x1cd3('0x371'),'$translate','api',_0x1cd3('0x56'),_0x1cd3('0xd18'),'toasty'];angular[_0x1cd3('0x0')](_0x1cd3('0x2a'))[_0x1cd3('0x39b')]('AgentHomeDashboardMultiChannelWhatsappController',_0x5ecd7b);function _0x5ecd7b(_0x50617f,_0x46916e,_0x1db965,_0x2fa6a3,_0x2c80c6,_0x3596cf,_0x2f96b8,_0xc1d3cd,_0x24ea27,_0x28b060){var _0xd7ca77=this;var _0x1fc1e3=['id','name',_0x1cd3('0x16ac'),_0x1cd3('0x10d')];var _0x58c721=!![];_0xd7ca77['whatsappQueues']={};_0xd7ca77['whatsappQueuesTotal']=0x0;_0xd7ca77[_0x1cd3('0x1721')]={};_0xd7ca77['paginatedInteractions']=[];_0xd7ca77['deleteWhatsappQueuesWaitingInteractions']=[];_0xd7ca77['rpcWhatsappQueuesWaitingInteractions']={};_0xd7ca77[_0x1cd3('0x3d4')]={'id':_0xc1d3cd[_0x1cd3('0x5d')]()['id'],'channel':_0x1cd3('0x34a'),'fields':_0x1cd3('0x16b1'),'limit':0xa,'page':0x1};_0xd7ca77[_0x1cd3('0x1699')]={'limit':0xa,'page':0x1};_0xd7ca77[_0x1cd3('0x473')]=_0x622ed5;_0xd7ca77[_0x1cd3('0x1722')]=_0x4c57df;_0xd7ca77[_0x1cd3('0x169a')]=_0x5d70ab;_0xd7ca77['getColorByChannel']=_0x576401;_0xd7ca77[_0x1cd3('0x16b2')]=_0x2d0318;_0xd7ca77['onSaveQueue']=_0x34b0b8;_0xd7ca77[_0x1cd3('0x1723')]=_0x2063b5;_0xd7ca77[_0x1cd3('0x1724')]=_0x2df197;_0xd7ca77[_0x1cd3('0x1725')]=_0x4da641;_0xd7ca77['onSaveUserWhatsappQueue']=_0x3f818d;_0xd7ca77[_0x1cd3('0x1726')]=_0x16f65e;_0xd7ca77['onSaveWhatsappQueueChannel']=_0x269d85;_0xd7ca77[_0x1cd3('0x1727')]=_0x16f978;_0x24ea27[_0x1cd3('0x1555')]('whatsapp_queue:save',_0xd7ca77[_0x1cd3('0x169f')]);_0x24ea27[_0x1cd3('0x1555')]('whatsappQueue:save',_0xd7ca77[_0x1cd3('0x1723')]);_0x24ea27[_0x1cd3('0x1555')](_0x1cd3('0x1728'),_0xd7ca77[_0x1cd3('0x1724')]);_0x24ea27['onWithoutApply'](_0x1cd3('0x1729'),_0xd7ca77[_0x1cd3('0x1725')]);_0x24ea27[_0x1cd3('0x1555')]('userWhatsappQueue:save',_0xd7ca77['onSaveUserWhatsappQueue']);_0x24ea27[_0x1cd3('0x1555')](_0x1cd3('0x172a'),_0xd7ca77[_0x1cd3('0x1726')]);_0x24ea27['onWithoutApply'](_0x1cd3('0x172b'),_0xd7ca77[_0x1cd3('0x172c')]);_0x24ea27[_0x1cd3('0x1555')](_0x1cd3('0x172d'),_0xd7ca77['onRemoveWhatsappQueueChannel']);_0x2f96b8[_0x1cd3('0x633')][_0x1cd3('0x1722')]()[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x16eace){_0xd7ca77[_0x1cd3('0x1721')]=_0x16eace?_[_0x1cd3('0xe2d')](_0x16eace['rows']?_0x16eace[_0x1cd3('0xf6')]:[],'id'):{};})[_0x1cd3('0x77')](function(_0x19da60){return _0x2f96b8[_0x1cd3('0x368')][_0x1cd3('0x13df')]({'id':_0xc1d3cd[_0x1cd3('0x5d')]()['id'],'channel':_0x1cd3('0x34a')})[_0x1cd3('0x81')];})['then'](function(_0x346823){_0xd7ca77[_0x1cd3('0x16be')]=_0x346823['rows'];return _0x2f96b8[_0x1cd3('0x633')][_0x1cd3('0x172e')]()[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x131abb){var _0x5b94f9=_['filter'](_0x131abb[_0x1cd3('0xf6')],function(_0x293050){return _[_0x1cd3('0x38f')](_0xd7ca77[_0x1cd3('0x16be')],{'id':_0x293050[_0x1cd3('0xf4c')]});});_0x131abb[_0x1cd3('0xf6')]=_0x5b94f9;_0x131abb[_0x1cd3('0x466')]=_0x5b94f9[_0x1cd3('0x7a')];_[_0x1cd3('0xf2')](_0xd7ca77[_0x1cd3('0x172f')],_0x131abb?_[_0x1cd3('0xe2d')](_0x131abb[_0x1cd3('0xf6')]?_0x131abb[_0x1cd3('0xf6')]:[],'id'):{});})[_0x1cd3('0xfd')](function(_0x3ed9f6){console[_0x1cd3('0x434')](_0x3ed9f6);})['finally'](function(){for(var _0x237df4=0x0;_0x237df4<_0xd7ca77['deleteWhatsappQueuesWaitingInteractions'][_0x1cd3('0x7a')];_0x237df4+=0x1){delete _0xd7ca77[_0x1cd3('0x172f')][_0xd7ca77['deleteWhatsappQueuesWaitingInteractions'][_0x237df4]];}_0x58c721=![];_0xd7ca77[_0x1cd3('0x1730')]=[];_0x4c57df();_0x2d0318();});function _0x2d0318(){var _0x4e0007=(_0xd7ca77[_0x1cd3('0x1699')][_0x1cd3('0x8fd')]-0x1)*_0xd7ca77[_0x1cd3('0x1699')][_0x1cd3('0x8fe')];_0xd7ca77['paginatedInteractions']=_['orderBy'](_0xd7ca77[_0x1cd3('0x172f')],[_0x1cd3('0x16c0')],[_0x1cd3('0x13d5')]);_0xd7ca77[_0x1cd3('0x16c1')]=_[_0x1cd3('0x16c2')](_0xd7ca77[_0x1cd3('0x16ae')],_0x4e0007)['slice'](0x0,_0xd7ca77[_0x1cd3('0x1699')]['limit']);}function _0x622ed5(_0x4dd44a){_0xd7ca77['whatsappQueuesTotal']=_0x4dd44a['count']?_0x4dd44a[_0x1cd3('0x466')]:0x0;_0xd7ca77[_0x1cd3('0x1731')]=_0x4dd44a?_['keyBy'](_0x4dd44a[_0x1cd3('0xf6')]?_0x4dd44a[_0x1cd3('0xf6')]:[],'id'):{};_0x181ddb();}function _0x4c57df(){_0xd7ca77['query'][_0x1cd3('0xd57')]=(_0xd7ca77['query'][_0x1cd3('0x8fd')]-0x1)*_0xd7ca77['query'][_0x1cd3('0x8fe')];_0xd7ca77[_0x1cd3('0x539')]=_0x2f96b8['user'][_0x1cd3('0x13df')](_0xd7ca77[_0x1cd3('0x3d4')],_0x622ed5)[_0x1cd3('0x81')];}var _0x55cf5f=!![];var _0xe10250=0x1;_0x50617f[_0x1cd3('0x4d6')](_0x1cd3('0x1340'),function(_0x8de00e,_0x4da758){if(_0x55cf5f){_0x46916e(function(){_0x55cf5f=![];});}else{if(!_0x4da758){_0xe10250=_0xd7ca77[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0x8de00e!==_0x4da758){_0xd7ca77[_0x1cd3('0x3d4')]['page']=0x1;}if(!_0x8de00e){_0xd7ca77[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0xe10250;}_0xd7ca77['getWhatsappQueues']();}});function _0x5d70ab(_0x404f78){return _[_0x1cd3('0x113e')](_0x404f78);}function _0x181ddb(){_['forIn'](_0xd7ca77[_0x1cd3('0x1731')],function(_0x1b27a4,_0x5e5abd){if(_0xd7ca77['rpcWhatsappQueues'][_0x5e5abd]){_0xd7ca77['whatsappQueues'][_0x5e5abd][_0x1cd3('0x10d')]=_0xd7ca77[_0x1cd3('0x1721')][_0x5e5abd][_0x1cd3('0x10d')]||0x0;}});}function _0x34b0b8(_0x4d9a01){if(_0xd7ca77['whatsappQueues'][_0x4d9a01['id']]){if(_0xd7ca77[_0x1cd3('0x1721')][_0x4d9a01['id']]){_[_0x1cd3('0xf2')](_0xd7ca77[_0x1cd3('0x1721')][_0x4d9a01['id']],_[_0x1cd3('0x5e8')](_0x4d9a01,_0x1fc1e3));_[_0x1cd3('0xf2')](_0xd7ca77['whatsappQueues'][_0x4d9a01['id']],_[_0x1cd3('0x5e8')](_0x4d9a01,_0x1fc1e3));}}}function _0x2063b5(_0x5b01f0){if(!_['isNil'](_0x5b01f0)){_0xd7ca77[_0x1cd3('0x1721')][_0x5b01f0['id']]=_[_0x1cd3('0x5e8')](_0x5b01f0,_0x1fc1e3);}}function _0x2df197(_0x206809){if(!_['isNil'](_0x206809)){if(_0xd7ca77[_0x1cd3('0x1721')][_0x206809['id']]){_[_0x1cd3('0xf2')](_0xd7ca77[_0x1cd3('0x1721')][_0x206809['id']],_['pick'](_0x206809,_0x1fc1e3));}if(_0xd7ca77['whatsappQueues'][_0x206809['id']]){_[_0x1cd3('0xf2')](_0xd7ca77['whatsappQueues'][_0x206809['id']],_[_0x1cd3('0x5e8')](_0x206809,_0x1fc1e3));}}}function _0x4da641(_0x509b01){if(!_[_0x1cd3('0x472')](_0x509b01)){delete _0xd7ca77['rpcWhatsappQueues'][_0x509b01['id']];delete _0xd7ca77[_0x1cd3('0x1731')][_0x509b01['id']];}}function _0x3f818d(_0x14475d){if(_[_0x1cd3('0x16aa')](_0x14475d['UserId'])===_0xc1d3cd['getCurrentUser']()['id']){_0xd7ca77[_0x1cd3('0x1722')]();}}function _0x16f65e(_0x102d17){if(_['toInteger'](_0x102d17[_0x1cd3('0x1226')])===_0xc1d3cd[_0x1cd3('0x5d')]()['id']){_0xd7ca77[_0x1cd3('0x1722')]();}}function _0x269d85(_0x5a2f1c){if(_0xd7ca77[_0x1cd3('0x1731')][_0x5a2f1c[_0x1cd3('0xf4c')]]){_0xd7ca77['rpcWhatsappQueuesWaitingInteractions'][_0x5a2f1c['id']]=_0x5a2f1c;_0x2d0318();}}function _0x16f978(_0x1f5810){delete _0xd7ca77[_0x1cd3('0x172f')][_0x1f5810['id']];if(_0x58c721){_0xd7ca77[_0x1cd3('0x1730')][_0x1cd3('0x7b')](_0x1f5810['id']);}_0x2d0318();}function _0x576401(_0x2809a8){switch(_0x2809a8){case'chat':return _0x1cd3('0x16dc');case'mail':return _0x1cd3('0x16c3');case _0x1cd3('0x26b'):return'orange-bg';case _0x1cd3('0x34a'):return _0x1cd3('0x16c4');case _0x1cd3('0x22e'):return _0x1cd3('0x16c5');case _0x1cd3('0x154'):return _0x1cd3('0x16c6');default:return _0x1cd3('0x16c7');}}_0x50617f[_0x1cd3('0x4d3')]('$destroy',function(){_0x24ea27[_0x1cd3('0x6a3')](_0x1cd3('0x1732'));_0x24ea27[_0x1cd3('0x6a3')](_0x1cd3('0x1733'));_0x24ea27['removeAllListeners'](_0x1cd3('0x1728'));_0x24ea27[_0x1cd3('0x6a3')](_0x1cd3('0x1729'));_0x24ea27[_0x1cd3('0x6a3')](_0x1cd3('0x1734'));_0x24ea27[_0x1cd3('0x6a3')]('userWhatsappQueue:remove');_0x24ea27[_0x1cd3('0x6a3')](_0x1cd3('0x172b'));_0x24ea27['removeAllListeners'](_0x1cd3('0x172d'));});}}());(function(){'use strict';_0x16795e[_0x1cd3('0xc')]=['$scope','$timeout',_0x1cd3('0x3c5'),_0x1cd3('0x372'),_0x1cd3('0x371'),_0x1cd3('0x3f7'),_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0xd18'),'toasty',_0x1cd3('0x1564')];angular[_0x1cd3('0x0')](_0x1cd3('0x2a'))[_0x1cd3('0x39b')](_0x1cd3('0x1735'),_0x16795e);function _0x16795e(_0x393e78,_0x55d914,_0x4f4c1d,_0x482b9d,_0x45734d,_0x4ca261,_0xc0c2e8,_0x29ee92,_0x599f72,_0x1c73c2,_0x4b6301){var _0x57a571=this;_0x57a571[_0x1cd3('0x368')]=_0x29ee92['getCurrentUser']();_0x57a571[_0x1cd3('0x463')]={};_0x57a571[_0x1cd3('0xc49')]={};_0x57a571[_0x1cd3('0x921')]={'count':0x0,'rows':[]};_0x57a571[_0x1cd3('0x1736')]={'count':0x0,'rows':[]};_0x57a571[_0x1cd3('0x3d4')]={'includeAll':!![],'sort':'-updatedAt','limit':0xa,'page':0x1,'read':null,'closed':null};_0x57a571['advancedSearch']={'fields':[{'name':'Id','column':'id','type':_0x1cd3('0x407')},{'name':_0x1cd3('0x1323'),'column':_0x1cd3('0x1323'),'type':_0x1cd3('0x42b'),'options':{'searchFields':[_0x1cd3('0x1447'),_0x1cd3('0x1324'),_0x1cd3('0x1325')],'route':{'model':_0x1cd3('0xb3d'),'action':_0x1cd3('0x361'),'params':{'fields':_0x1cd3('0x1668'),'Contact':_0x1cd3('0x42c'),'nolimit':!![]}},'extraOperators':[_0x1cd3('0x3fd')],'excludedOperators':['$ne']}},{'name':_0x1cd3('0x1328'),'column':'body','type':_0x1cd3('0x401'),'options':{'excludedOperators':[_0x1cd3('0x44d'),_0x1cd3('0x3fb')]}},{'name':_0x1cd3('0x131b'),'column':_0x1cd3('0x1586'),'type':'select','values':[{'id':0x0,'translate':_0x1cd3('0x131d')},{'id':0x1,'translate':'DASHBOARDS.CLOSED'}],'options':{'excludedOperators':[_0x1cd3('0x3fb')]}},{'name':_0x1cd3('0x1227'),'column':_0x1cd3('0x132a'),'type':_0x1cd3('0x42b'),'options':{'table':'i','route':{'model':_0x1cd3('0x368'),'action':_0x1cd3('0x361'),'params':{'role':_0x1cd3('0xd2'),'fields':_0x1cd3('0x132b'),'nolimit':!![]}},'searchFields':[_0x1cd3('0xd3'),_0x1cd3('0x98')],'extraOperators':[_0x1cd3('0x3fd')],'excludedOperators':[_0x1cd3('0x3fb')]}},{'name':_0x1cd3('0x1591'),'column':'FaxAccountId','type':_0x1cd3('0x3fa'),'options':{'route':{'model':_0x1cd3('0x368'),'action':_0x1cd3('0x15f4'),'params':{'id':_0x57a571['user']['id'],'nolimit':!![]}}}},{'name':'Tags','column':_0x1cd3('0x1231'),'type':_0x1cd3('0x3fa'),'options':{'route':{'model':_0x1cd3('0xb76'),'action':_0x1cd3('0x361'),'params':{'nolimit':!![]}},'excludedOperators':[_0x1cd3('0x3dd')]}},{'name':_0x1cd3('0x132c'),'column':_0x1cd3('0xe0d'),'type':_0x1cd3('0x406'),'options':{'excludedOperators':[_0x1cd3('0x3fb')]}},{'name':_0x1cd3('0x132d'),'column':'unreadMessages','type':_0x1cd3('0x44f'),'values':[{'id':0x1,'translate':'DASHBOARDS.READ'},{'id':0x0,'translate':_0x1cd3('0x1319')}],'options':{'excludedOperators':[_0x1cd3('0x3fb')]}}]};_0x57a571[_0x1cd3('0x166b')]=_0x1cd3('0x9c0');_0x57a571['onInit']=_0x3c432d;_0x57a571[_0x1cd3('0x473')]=_0x6ab02f;_0x57a571['getFaxInteractions']=_0x4c828c;_0x57a571['showFaxInteraction']=_0x5e7a9e;_0x57a571['downloadFaxInteraction']=_0x484a63;_0x57a571[_0x1cd3('0x166f')]=_0x1487ec;_0x57a571[_0x1cd3('0x1670')]=_0x5c12c5;_0x57a571[_0x1cd3('0x1671')]=_0x47b99d;_0x57a571[_0x1cd3('0x1737')]=_0x45af18;_0x57a571[_0x1cd3('0x1738')]=_0x15153c;_0x57a571[_0x1cd3('0x164f')]=_0x123123;_0x57a571[_0x1cd3('0x1650')]=_0x1c46fd;_0x57a571[_0x1cd3('0x1673')]=_0x2e6159;_0x393e78[_0x1cd3('0x4d3')]('openFaxDraft',_0x5c6d92);function _0x3c432d(_0x252cca,_0x54acc8){_0x57a571[_0x1cd3('0x463')]=_0x252cca;_0x57a571[_0x1cd3('0xc49')]=_0x54acc8;return _0xc0c2e8['user'][_0x1cd3('0x361')+_['upperFirst'](_0x1cd3('0x15fa'))]({'id':_0x57a571[_0x1cd3('0x368')]['id'],'nolimit':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x44b666){_0x57a571[_0x1cd3('0x15fa')]=_0x44b666||{'count':0x0,'rows':[]};return _0xc0c2e8[_0x1cd3('0xb76')][_0x1cd3('0x361')]()[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x331372){_0x57a571[_0x1cd3('0x921')]=_0x331372||{'count':0x0,'rows':[]};})[_0x1cd3('0x77')](function(){_0x57a571[_0x1cd3('0x1315')]=_0x5e7591();})[_0x1cd3('0xfd')](function(_0x117a10){console['error'](_0x117a10);})[_0x1cd3('0x5dd')](function(){var _0x16cd2f=_0x45734d['localStorage'][_0x1cd3('0x3e0')](_0x1cd3('0x1739')+_0x57a571[_0x1cd3('0x368')]['id']);if(_0x16cd2f){try{_0x16cd2f=JSON[_0x1cd3('0x79')](_0x16cd2f);if(_0x16cd2f[_0x1cd3('0x3d4')]){_0x57a571[_0x1cd3('0x3d4')]=_[_0x1cd3('0xf2')](_0x57a571[_0x1cd3('0x3d4')],_0x16cd2f[_0x1cd3('0x3d4')]);if(_['isEmpty'](_0x57a571[_0x1cd3('0x15fa')][_0x1cd3('0xf6')])){_0x57a571['query'][_0x1cd3('0x148f')]=[];}else if(_[_0x1cd3('0x398')](_0x57a571[_0x1cd3('0x3d4')][_0x1cd3('0x148f')])){_0x57a571['query'][_0x1cd3('0x148f')]=_(_0x57a571[_0x1cd3('0x15fa')][_0x1cd3('0xf6')])[_0x1cd3('0x3d9')]('id')[_0x1cd3('0x1675')]()[_0x1cd3('0x3db')]();}if(_0x57a571[_0x1cd3('0x3d4')][_0x1cd3('0x550')]&&_0x57a571[_0x1cd3('0x3d4')]['sort'][_0x1cd3('0x45e')]('lastMessage')>=0x0){_0x57a571[_0x1cd3('0x3d4')]=_[_0x1cd3('0x3e3')](_0x57a571[_0x1cd3('0x3d4')],_0x1cd3('0x550'));}_0x57a571['query']['includeAll']=!![];_0x57a571[_0x1cd3('0x165a')]=_0x57a571[_0x1cd3('0x3d4')][_0x1cd3('0x395')]?!![]:![];}}catch(_0x4a57c8){console[_0x1cd3('0x434')](_0x4a57c8);}}else{var _0x21c034={'$gte':moment()['startOf'](_0x1cd3('0x6e8'))[_0x1cd3('0x12f')](0x0,!![])['format'](),'$lte':moment()[_0x1cd3('0x131')](_0x1cd3('0x6e8'))['utcOffset'](0x0,!![])[_0x1cd3('0x130')]()};var _0x4195ca={'FaxAccountId':_[_0x1cd3('0x3d9')](_0x57a571[_0x1cd3('0x15fa')][_0x1cd3('0xf6')],'id'),'createdAt':_0x21c034};_0x57a571[_0x1cd3('0x3d4')]=_[_0x1cd3('0xf2')](_0x57a571[_0x1cd3('0x3d4')],_0x4195ca);}_0x599f72['on'](_0x1cd3('0x173a'),_0xea06d9);_0x599f72['on'](_0x1cd3('0x173b'),_0xea06d9);_0x599f72['on'](_0x1cd3('0x173c'),_0x24b75b);_0x599f72['on'](_0x1cd3('0x173d'),_0x334753);_0x599f72['on']('faxMessage:update',_0x334753);_0x599f72['on'](_0x1cd3('0x173e'),_0x293a7c);_0x599f72['on'](_0x1cd3('0x173f'),_0x1a3135);_0x4c828c(_0x57a571[_0x1cd3('0x3d4')]['page']);});}function _0x5e7591(){return[{'name':_0x1cd3('0x132c'),'key':'createdAt','type':'date','label':_0x1cd3('0x1316')},{'name':_0x1cd3('0x1317'),'key':_0x1cd3('0x167e'),'type':_0x1cd3('0x44f'),'label':_0x1cd3('0x1318'),'customOptions':[{'value':0x0,'translate':'DASHBOARDS.UNREAD'},{'value':0x1,'translate':_0x1cd3('0x131a')},{'value':null,'translate':_0x1cd3('0x910')}]},{'name':'Status','key':_0x1cd3('0x1586'),'type':_0x1cd3('0x44f'),'label':_0x1cd3('0x131c'),'customOptions':[{'value':0x0,'translate':_0x1cd3('0x131d')},{'value':0x1,'translate':_0x1cd3('0x131e')},{'value':null,'translate':_0x1cd3('0x910')}]},{'name':'Account','key':_0x1cd3('0x148f'),'type':_0x1cd3('0x3fa'),'label':_0x1cd3('0x167f'),'options':_0x57a571[_0x1cd3('0x15fa')]['rows'],'clearAll':![]},{'name':_0x1cd3('0x1227'),'key':_0x1cd3('0x1226'),'type':'select','label':_0x1cd3('0x131f'),'customOptions':[{'value':_0x57a571[_0x1cd3('0x368')]['id'],'translate':'DASHBOARDS.ME'},{'value':_0x1cd3('0x220'),'translate':_0x1cd3('0x1320')},{'value':undefined,'translate':_0x1cd3('0x910')}]},{'name':'Tag','key':_0x1cd3('0xb76'),'type':_0x1cd3('0x3fa'),'label':'DASHBOARDS.SELECT_TAG','options':_0x57a571[_0x1cd3('0x921')][_0x1cd3('0xf6')],'placeholder':'DASHBOARDS.TAGS'}];}function _0x6ab02f(_0x4c7f43){_0x57a571[_0x1cd3('0x1681')]=![];_0x57a571['faxInteractions']=_0x4c7f43||{'count':0x0,'rows':[]};for(var _0x37b26f=0x0;_0x37b26f<_0x57a571['faxInteractions'][_0x1cd3('0xf6')][_0x1cd3('0x7a')];_0x37b26f+=0x1){_0x5c12c5(_0x57a571[_0x1cd3('0x1736')]['rows'][_0x37b26f]);}}function _0x4c828c(_0x120273,_0x23120d){_0x57a571[_0x1cd3('0x1681')]=!![];if(!_0x120273){_0x57a571[_0x1cd3('0x3d4')]['page']=0x1;}_0x57a571[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0x57a571[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0x57a571['query'][_0x1cd3('0x8fe')];var _0x1551ca=_0x45734d['localStorage'][_0x1cd3('0x3e0')](_0x1cd3('0x1739')+_0x57a571[_0x1cd3('0x368')]['id']);_0x1551ca=_0x1551ca?JSON[_0x1cd3('0x79')](_0x1551ca):{};_0x1551ca[_0x1cd3('0x3d4')]=_0x57a571[_0x1cd3('0x3d4')];_0x45734d[_0x1cd3('0x385')][_0x1cd3('0x3e2')](_0x1cd3('0x1739')+_0x57a571['user']['id'],JSON[_0x1cd3('0x438')](_0x1551ca));_0x57a571[_0x1cd3('0x539')]=_0xc0c2e8['faxInteraction'][_0x1cd3('0x361')](_0x57a571['query'],_0x6ab02f)[_0x1cd3('0x81')];}function _0x5e7a9e(_0x36a22c,_0x4c377c){_0x393e78['$parent']['vm'][_0x1cd3('0x1574')]('fax',_0x4c377c);}function _0x484a63(_0x7f3451,_0x35899f,_0x3fc731){_0xc0c2e8['faxInteraction']['download']({'id':_0x35899f['id'],'attachments':_0x3fc731})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x15d2be){var _0x2c8ffb=[_0x15d2be['buffer']];var _0x34a68b=_0x1cd3('0x1740')+_0x35899f['id']+'.zip';var _0x27d8e0=new Blob(_0x2c8ffb,{'type':_0x15d2be['type']});var _0x56fd8e=window[_0x1cd3('0x924')][_0x1cd3('0x3aa')]('a');_0x56fd8e[_0x1cd3('0x481')]('href',URL['createObjectURL'](_0x27d8e0));_0x56fd8e[_0x1cd3('0x481')](_0x1cd3('0x489'),_0x34a68b);document[_0x1cd3('0x380')][_0x1cd3('0xd4e')](_0x56fd8e);_0x56fd8e['click']();})[_0x1cd3('0xfd')](function(_0x3482a2){if(_0x3482a2['data']&&_0x3482a2[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x3482a2['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){for(var _0x2dc466=0x0;_0x2dc466<_0x3482a2[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length'];_0x2dc466+=0x1){_0x1c73c2[_0x1cd3('0x434')]({'title':_0x3482a2[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x2dc466][_0x1cd3('0x424')],'msg':_0x3482a2[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x2dc466][_0x1cd3('0x43a')]});}}else{_0x1c73c2[_0x1cd3('0x434')]({'title':_0x3482a2[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x3482a2['status']+_0x1cd3('0x436')+_0x3482a2['statusText']:_0x1cd3('0x1741'),'msg':_0x3482a2['data']?JSON['stringify'](_0x3482a2[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x3482a2['toString']()});}});}function _0x1487ec(_0x258ac5,_0x4af1aa){var _0x2707bd=_0x57a571['user']['voicePause']||_0x57a571['user'][_0x1cd3('0x138b')]||_0x57a571['user']['mailPause']||_0x57a571[_0x1cd3('0x368')]['openchannelPause']||_0x57a571[_0x1cd3('0x368')][_0x1cd3('0x138f')];var _0x5eeb78=!_0x4af1aa[_0x1cd3('0x1591')][_0x1cd3('0x158c')];_0x4f4c1d[_0x1cd3('0x37e')]({'controller':'DisposeInteractionDialogController','controllerAs':'vm','templateUrl':_0x1cd3('0x1593'),'parent':angular['element'](_0x482b9d[_0x1cd3('0x380')]),'clickOutsideToClose':_0x5eeb78,'escapeToClose':_0x5eeb78,'onRemoving':function(_0x4f3dfc,_0x46517a){if(_0x57a571['user']&&_0x4af1aa[_0x1cd3('0x1591')]['mandatoryDisposition']&&!_0x2707bd){_0xc0c2e8[_0x1cd3('0x368')][_0x1cd3('0x13ed')]({'id':_0x57a571[_0x1cd3('0x368')]['id']})[_0x1cd3('0x81')]['catch'](function(_0x2569a0){console[_0x1cd3('0x434')](_0x2569a0);});}},'locals':{'user':_0x57a571['user'],'channel':_0x1cd3('0x154'),'interaction':_0x4af1aa}});}function _0x5c12c5(_0x1b4582){if(_0x1b4582[_0x1cd3('0x1323')]){_0x1b4582[_0x1cd3('0x133e')]=(_0x1b4582[_0x1cd3('0x1323')][_0x1cd3('0x1447')]||'')+'\x20'+(_0x1b4582[_0x1cd3('0x1323')][_0x1cd3('0x1324')]||'');_0x1b4582[_0x1cd3('0x1742')]=_0x1b4582[_0x1cd3('0x1323')]['fax'];}else{_0x1b4582[_0x1cd3('0x133e')]=_0x4ca261[_0x1cd3('0x44a')](_0x1cd3('0x133f'));}}function _0x47b99d(_0x26068a){if(_0x26068a['UserId']){if(_0x26068a[_0x1cd3('0x1226')]===_0x57a571[_0x1cd3('0x368')]['id']){return _0x4ca261[_0x1cd3('0x44a')](_0x1cd3('0x1656'));}else{return _0x26068a[_0x1cd3('0x1338')][_0x1cd3('0xd3')]+'\x20<'+_0x26068a[_0x1cd3('0x1338')][_0x1cd3('0x311')]+'>';}}return _0x4ca261['instant'](_0x1cd3('0x1320'));}function _0x45af18(_0x4072a0){if(_0x4072a0[_0x1cd3('0x1591')]){return _0x4072a0[_0x1cd3('0x1591')][_0x1cd3('0x65c')];}return _0x4ca261['instant'](_0x1cd3('0x133f'));}function _0x5c6d92(_0x59301b,_0x2d64e3){if(_0x2d64e3[_0x1cd3('0x1332')]){_0x2d64e3[_0x1cd3('0x1332')][_0x1cd3('0x15a6')]=!![];showMailInteraction(null,_0x2d64e3[_0x1cd3('0x1332')]);}else{_0x4f4c1d['show']({'controller':_0x1cd3('0x1743'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1744'),'parent':angular[_0x1cd3('0x37f')](_0x482b9d['body']),'clickOutsideToClose':![],'locals':{'account':_0x2d64e3[_0x1cd3('0x15d3')],'message':_0x2d64e3[_0x1cd3('0xd3b')],'type':_0x1cd3('0x1584'),'interaction':{}},'fullscreen':!![]})[_0x1cd3('0x77')](function(_0xc07a59){if(_0xc07a59){if(_0xc07a59[_0x1cd3('0x43a')]&&_0xc07a59[_0x1cd3('0x43a')][_0x1cd3('0x1745')]){var _0x21e51c={'id':_0x2d64e3['id'],'channel':_0x1cd3('0x154'),'account':_0xc07a59['account'],'message':_0xc07a59[_0x1cd3('0x43a')]};_0x4b6301[_0x1cd3('0x378')](_0x21e51c);}else{var _0x895c5d=_0xc07a59;return _0xc0c2e8[_0x1cd3('0xaa4')]['send']({'id':_0x2d64e3['account']['id']},_0x895c5d)['$promise']['then'](function(_0x32f1b3){_0x1c73c2[_0x1cd3('0x473')]({'title':'Message\x20properly\x20sent!','msg':_0x1cd3('0x160e')});_0x393e78[_0x1cd3('0x70b')]['vm']['addInteractionTab'](_0x1cd3('0x154'),_0x32f1b3);})[_0x1cd3('0xfd')](function(_0x4f301b){if(_0x4f301b[_0x1cd3('0x439')]&&_0x4f301b[_0x1cd3('0x439')]['errors']&&_0x4f301b[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length']){for(var _0x568583=0x0;_0x568583<_0x4f301b[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length'];_0x568583++){_0x1c73c2[_0x1cd3('0x434')]({'title':_0x4f301b[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x568583][_0x1cd3('0x424')],'msg':_0x4f301b['data'][_0x1cd3('0xd34')][_0x568583][_0x1cd3('0x43a')]});}}else{_0x1c73c2[_0x1cd3('0x434')]({'title':_0x1cd3('0x1746'),'msg':_0x4f301b[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x4f301b[_0x1cd3('0x439')]):_0x4f301b[_0x1cd3('0x43a')]||_0x4f301b['toString']()});}});}}});}}function _0x15153c(_0xc2e8c7,_0x374f8f){_0x4f4c1d[_0x1cd3('0x37e')]({'controller':'ComposeFaxInteractionDialogController','controllerAs':'vm','templateUrl':_0x1cd3('0x1744'),'parent':angular[_0x1cd3('0x37f')](_0x482b9d[_0x1cd3('0x380')]),'clickOutsideToClose':![],'locals':{'account':_0x374f8f,'message':{},'type':_0x1cd3('0x160a'),'interaction':{}},'fullscreen':!![]})[_0x1cd3('0x77')](function(_0x27bde7){if(_0x27bde7){if(_0x27bde7[_0x1cd3('0x43a')]&&_0x27bde7[_0x1cd3('0x43a')][_0x1cd3('0x1745')]){var _0x18d05f={'channel':_0x1cd3('0x154'),'account':_0x374f8f,'message':_0x27bde7[_0x1cd3('0x43a')],'contact':_0x27bde7[_0x1cd3('0x105')]};_0x4b6301['add'](_0x18d05f);}else{var _0x155bb4=_0x27bde7;return _0xc0c2e8['faxAccount']['send']({'id':_0x374f8f['id']},_0x155bb4)['$promise'][_0x1cd3('0x77')](function(_0x1db5b4){_0x1c73c2[_0x1cd3('0x473')]({'title':_0x1cd3('0x160d'),'msg':_0x1cd3('0x160e')});_0x393e78['$parent']['vm'][_0x1cd3('0x1574')](_0x1cd3('0x154'),_0x1db5b4);})[_0x1cd3('0xfd')](function(_0x3ce644){if(_0x3ce644['data']&&_0x3ce644[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x3ce644[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){for(var _0x456a24=0x0;_0x456a24<_0x3ce644[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x456a24++){_0x1c73c2[_0x1cd3('0x434')]({'title':_0x3ce644['data'][_0x1cd3('0xd34')][_0x456a24][_0x1cd3('0x424')],'msg':_0x3ce644['data'][_0x1cd3('0xd34')][_0x456a24][_0x1cd3('0x43a')]});}}else{_0x1c73c2[_0x1cd3('0x434')]({'title':_0x1cd3('0x1746'),'msg':_0x3ce644['data']?JSON['stringify'](_0x3ce644['data']):_0x3ce644[_0x1cd3('0x43a')]||_0x3ce644[_0x1cd3('0x43b')]()});}});}}});}function _0x293a7c(_0x28fc22){var _0x52dfac;var _0x4459a5=_[_0x1cd3('0x442')](_0x57a571[_0x1cd3('0x1736')][_0x1cd3('0xf6')],{'id':_0x28fc22[_0x1cd3('0x1747')]});if(_0x4459a5&&_0x4459a5['Users']){_0x52dfac=_[_0x1cd3('0x442')](_0x4459a5[_0x1cd3('0xa0')],{'id':_0x28fc22[_0x1cd3('0x1226')]});if(!_0x52dfac){_0x4459a5[_0x1cd3('0xa0')][_0x1cd3('0x7b')]({'id':_0x28fc22[_0x1cd3('0x1226')]});}}}function _0x1a3135(_0x270ee5){var _0x96e5a8=_['find'](_0x57a571['faxInteractions'][_0x1cd3('0xf6')],{'id':_0x270ee5[_0x1cd3('0x1747')]});if(_0x96e5a8&&_0x96e5a8[_0x1cd3('0xa0')]){_[_0x1cd3('0x383')](_0x96e5a8['Users'],{'id':_0x270ee5[_0x1cd3('0x1226')]});}}function _0xea06d9(_0x3bd3d1){if(_0x3bd3d1){var _0x17e91a=_['find'](_0x57a571[_0x1cd3('0x1736')]['rows'],{'id':_0x3bd3d1['id']});if(_0x17e91a){_0x17e91a['Users']=[];if(_0x3bd3d1[_0x1cd3('0x1586')]){_0x17e91a[_0x1cd3('0x132e')]=0x0;}if(_0x57a571['query'][_0x1cd3('0x550')]){var _0x2bf7fc=_[_0x1cd3('0x13d4')](_0x57a571['query'][_0x1cd3('0x550')],'-')?_0x1cd3('0x13d5'):_0x1cd3('0x13d6');_0x57a571[_0x1cd3('0x1736')]['rows']=_[_0x1cd3('0xe31')](_0x57a571[_0x1cd3('0x1736')]['rows'],_['trimStart'](_0x57a571[_0x1cd3('0x3d4')][_0x1cd3('0x550')],'-'),_0x2bf7fc);}_['merge'](_0x17e91a,_[_0x1cd3('0x5e8')](_0x3bd3d1,_[_0x1cd3('0x80')](_0x17e91a)));}else{_0x4c828c(_0x57a571[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]);}}}function _0x24b75b(_0x3dd667){if(_0x3dd667){var _0x15f55b=_[_0x1cd3('0x442')](_0x57a571['faxInteractions'][_0x1cd3('0xf6')],{'id':_0x3dd667['id']});if(_0x15f55b){_0x15f55b[_0x1cd3('0xf9')]=_0x3dd667[_0x1cd3('0x921')]||[];_[_0x1cd3('0xf2')](_0x15f55b,_['pick'](_0x3dd667,_['keys'](_0x15f55b)));}}}function _0x334753(_0x4c533a){if(_0x4c533a&&!_0x4c533a[_0x1cd3('0x1684')]){var _0x5a024c=_[_0x1cd3('0x442')](_0x57a571[_0x1cd3('0x1736')][_0x1cd3('0xf6')],{'id':_0x4c533a['FaxInteractionId']});if(_0x5a024c){var _0x3d67b5=_[_0x1cd3('0x442')](_0x5a024c[_0x1cd3('0x1317')],{'id':_0x4c533a['id']});if(_0x3d67b5){_[_0x1cd3('0xf2')](_0x3d67b5,_[_0x1cd3('0x5e8')](_0x4c533a,_[_0x1cd3('0x80')](_0x3d67b5)));}else{if(_['isNil'](_0x5a024c['Messages'])){_0x5a024c[_0x1cd3('0x1317')]={'count':0x0};}if(!_0x4c533a[_0x1cd3('0x167e')]){_0x5a024c[_0x1cd3('0x1317')][_0x1cd3('0x466')]+=0x1;}}}}}function _0x123123(){_0x57a571[_0x1cd3('0x165a')]=![];}function _0x1c46fd(){_0x57a571[_0x1cd3('0x165a')]=!![];}function _0x2e6159(){_0x57a571[_0x1cd3('0x165a')]=![];_0x4f4c1d[_0x1cd3('0x37e')]({'controller':'AdvancedSearchController','controllerAs':'vm','templateUrl':_0x1cd3('0x132f'),'parent':angular[_0x1cd3('0x37f')](_0x482b9d[_0x1cd3('0x380')]),'clickOutsideToClose':![],'locals':{'color':_0x57a571[_0x1cd3('0x166b')],'fields':_0x57a571['advancedSearch'][_0x1cd3('0x3c7')],'storagePath':_0x1cd3('0x1748')},'fullscreen':!![]})[_0x1cd3('0x77')](function(_0x182907){_0x57a571['query'][_0x1cd3('0x3e4')]=_0x182907===![]?undefined:_0x182907;if(_0x57a571[_0x1cd3('0x3d4')][_0x1cd3('0x3e4')]||_0x182907===![])_0x4c828c();})[_0x1cd3('0xfd')](function(_0x9e66d2){_0x1c73c2[_0x1cd3('0x434')]({'title':_0x1cd3('0x1331'),'msg':_0x9e66d2[_0x1cd3('0x439')]?JSON['stringify'](_0x9e66d2[_0x1cd3('0x439')]['message']):_0x9e66d2[_0x1cd3('0x43b')]()});});}var _0x563d95=!![];var _0x2b0be1=0x1;_0x393e78[_0x1cd3('0x4d6')](_0x1cd3('0xd56'),function(_0x32cb4b,_0x2b2533){if(_0x563d95){_0x55d914(function(){_0x563d95=![];});}else{if(!_0x2b2533){_0x2b0be1=_0x57a571[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0x32cb4b!==_0x2b2533){_0x57a571['query'][_0x1cd3('0x8fd')]=0x1;}if(!_0x32cb4b){_0x57a571[_0x1cd3('0x3d4')]['page']=_0x2b0be1;}_0x4c828c(_0x57a571['query']['page']);}});_0x393e78[_0x1cd3('0x4d3')]('$destroy',function(){_0x599f72['removeAllListeners'](_0x1cd3('0x173d'));_0x599f72[_0x1cd3('0x6a3')]('faxMessage:update');_0x599f72[_0x1cd3('0x6a3')](_0x1cd3('0x173a'));_0x599f72['removeAllListeners'](_0x1cd3('0x173c'));_0x599f72[_0x1cd3('0x6a3')](_0x1cd3('0x173b'));_0x599f72['removeAllListeners'](_0x1cd3('0x173e'));_0x599f72[_0x1cd3('0x6a3')](_0x1cd3('0x173f'));});}}());(function(){'use strict';_0x260e32[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x3e7'),_0x1cd3('0x3c5'),'$document','$window',_0x1cd3('0x3f7'),_0x1cd3('0x370'),_0x1cd3('0x56'),'socket',_0x1cd3('0x461'),'draftManager'];angular[_0x1cd3('0x0')](_0x1cd3('0x2a'))['controller'](_0x1cd3('0x1749'),_0x260e32);function _0x260e32(_0x34c3fb,_0x1b4678,_0x21991c,_0x5cda67,_0x42f33b,_0x5b702f,_0x559e68,_0x197f17,_0x1608c2,_0x228c8c,_0x216436){var _0x18c467=this;_0x18c467['user']=_0x197f17['getCurrentUser']();_0x18c467[_0x1cd3('0x463')]={};_0x18c467[_0x1cd3('0xc49')]={};_0x18c467[_0x1cd3('0x921')]={'count':0x0,'rows':[]};_0x18c467[_0x1cd3('0x174a')]={'count':0x0,'rows':[]};_0x18c467[_0x1cd3('0x3d4')]={'includeAll':!![],'sort':_0x1cd3('0x5b'),'limit':0xa,'page':0x1,'read':null,'closed':null};_0x18c467['advancedSearch']={'fields':[{'name':'Id','column':'id','type':_0x1cd3('0x407')},{'name':'Contact','column':'Contact','type':'autocomplete','options':{'searchFields':[_0x1cd3('0x1447'),_0x1cd3('0x1324'),_0x1cd3('0x1325')],'route':{'model':'cmContact','action':_0x1cd3('0x361'),'params':{'fields':_0x1cd3('0x1668'),'Contact':_0x1cd3('0x42c'),'nolimit':!![]}},'extraOperators':[_0x1cd3('0x3fd')],'excludedOperators':[_0x1cd3('0x3fb')]}},{'name':_0x1cd3('0x1326'),'column':_0x1cd3('0x1327'),'type':_0x1cd3('0x401'),'options':{'excludedOperators':[_0x1cd3('0x44d'),_0x1cd3('0x3fb')]}},{'name':_0x1cd3('0x1328'),'column':_0x1cd3('0x1329'),'type':_0x1cd3('0x401'),'options':{'excludedOperators':[_0x1cd3('0x44d'),'$ne']}},{'name':_0x1cd3('0x131b'),'column':_0x1cd3('0x1586'),'type':_0x1cd3('0x44f'),'values':[{'id':0x0,'translate':_0x1cd3('0x131d')},{'id':0x1,'translate':_0x1cd3('0x131e')}],'options':{'excludedOperators':[_0x1cd3('0x3fb')]}},{'name':_0x1cd3('0x174b'),'column':'substatus','type':_0x1cd3('0x3fa'),'options':{'field':_0x1cd3('0x98'),'route':{'model':_0x1cd3('0x174c'),'action':'get','params':{'nolimit':!![]}},'excludedOperators':['$notIn']}},{'name':'Agent','column':_0x1cd3('0x132a'),'type':_0x1cd3('0x42b'),'options':{'table':'i','route':{'model':_0x1cd3('0x368'),'action':_0x1cd3('0x361'),'params':{'role':_0x1cd3('0xd2'),'fields':'id,name,fullname','nolimit':!![]}},'searchFields':['fullname',_0x1cd3('0x98')],'extraOperators':[_0x1cd3('0x3fd')],'excludedOperators':[_0x1cd3('0x3fb')]}},{'name':_0x1cd3('0x1591'),'column':_0x1cd3('0x1492'),'type':'multiselect','options':{'route':{'model':_0x1cd3('0x368'),'action':_0x1cd3('0x15f3'),'params':{'id':_0x18c467[_0x1cd3('0x368')]['id'],'nolimit':!![]}}}},{'name':_0x1cd3('0xf9'),'column':_0x1cd3('0x1231'),'type':_0x1cd3('0x3fa'),'options':{'route':{'model':_0x1cd3('0xb76'),'action':_0x1cd3('0x361'),'params':{'nolimit':!![]}},'excludedOperators':[_0x1cd3('0x3dd')]}},{'name':_0x1cd3('0x132c'),'column':_0x1cd3('0xe0d'),'type':_0x1cd3('0x406'),'options':{'excludedOperators':[_0x1cd3('0x3fb')]}},{'name':'Read','column':_0x1cd3('0x132e'),'type':_0x1cd3('0x44f'),'values':[{'id':0x1,'translate':'DASHBOARDS.READ'},{'id':0x0,'translate':_0x1cd3('0x1319')}],'options':{'excludedOperators':['$ne']}}]};_0x18c467[_0x1cd3('0x166b')]=_0x1cd3('0x9c5');_0x18c467[_0x1cd3('0x703')]=_0x51b2b9;_0x18c467[_0x1cd3('0x473')]=_0x3a3cff;_0x18c467['getMailInteractions']=_0x38650e;_0x18c467[_0x1cd3('0x174d')]=_0x4f3638;_0x18c467[_0x1cd3('0x174e')]=_0x4d8b64;_0x18c467['disposeInteraction']=_0x37f6ad;_0x18c467['getContactLabel']=_0x3d8b05;_0x18c467[_0x1cd3('0x1671')]=_0xb1d9e1;_0x18c467[_0x1cd3('0x174f')]=_0x4b5c2d;_0x18c467['composeMailInteraction']=_0x34fcc7;_0x18c467['onSearchBarCollapse']=_0x5c21fb;_0x18c467['onSearchBarExpand']=_0x35f050;_0x18c467[_0x1cd3('0x1673')]=_0x5cf9f4;_0x34c3fb[_0x1cd3('0x4d3')]('openMailDraft',_0x369092);function _0x51b2b9(_0x13f698,_0x33f31f){_0x18c467[_0x1cd3('0x463')]=_0x13f698;_0x18c467[_0x1cd3('0xc49')]=_0x33f31f;return _0x559e68['user'][_0x1cd3('0x361')+_[_0x1cd3('0x12bc')]('mailAccounts')]({'id':_0x18c467['user']['id'],'nolimit':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x465820){_0x18c467['mailAccounts']=_0x465820||{'count':0x0,'rows':[]};return _0x559e68[_0x1cd3('0xb76')][_0x1cd3('0x361')]()[_0x1cd3('0x81')];})['then'](function(_0x12dba3){_0x18c467[_0x1cd3('0x921')]=_0x12dba3||{'count':0x0,'rows':[]};})[_0x1cd3('0x77')](function(){return _0x559e68[_0x1cd3('0x174c')][_0x1cd3('0x361')]({'nolimit':!![]})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x2dc620){_0x18c467[_0x1cd3('0x1750')]=_0x2dc620||{'count':0x0,'rows':[]};})[_0x1cd3('0x77')](function(){_0x18c467[_0x1cd3('0x1315')]=_0x150e2d();})['catch'](function(_0x4ee1ca){console[_0x1cd3('0x434')](_0x4ee1ca);})[_0x1cd3('0x5dd')](function(){var _0x314891=_0x42f33b['localStorage']['getItem']('motion2.home.mail:'+_0x18c467[_0x1cd3('0x368')]['id']);if(_0x314891){try{_0x314891=JSON[_0x1cd3('0x79')](_0x314891);if(_0x314891['query']){_0x18c467[_0x1cd3('0x3d4')]=_[_0x1cd3('0xf2')](_0x18c467[_0x1cd3('0x3d4')],_0x314891[_0x1cd3('0x3d4')]);if(_[_0x1cd3('0x398')](_0x18c467[_0x1cd3('0xefa')][_0x1cd3('0xf6')])){_0x18c467[_0x1cd3('0x3d4')][_0x1cd3('0x1492')]=[];}else if(_[_0x1cd3('0x398')](_0x18c467[_0x1cd3('0x3d4')][_0x1cd3('0x1492')])){_0x18c467[_0x1cd3('0x3d4')][_0x1cd3('0x1492')]=_(_0x18c467[_0x1cd3('0xefa')][_0x1cd3('0xf6')])[_0x1cd3('0x3d9')]('id')[_0x1cd3('0x1675')]()[_0x1cd3('0x3db')]();}if(_0x18c467[_0x1cd3('0x3d4')][_0x1cd3('0x550')]&&_0x18c467['query'][_0x1cd3('0x550')]['indexOf']('lastMessage')>=0x0){_0x18c467[_0x1cd3('0x3d4')]=_[_0x1cd3('0x3e3')](_0x18c467[_0x1cd3('0x3d4')],_0x1cd3('0x550'));}_0x18c467[_0x1cd3('0x3d4')][_0x1cd3('0x1751')]=!![];_0x18c467[_0x1cd3('0x165a')]=_0x18c467[_0x1cd3('0x3d4')][_0x1cd3('0x395')]?!![]:![];}}catch(_0x25c291){console[_0x1cd3('0x434')](_0x25c291);}}else{var _0x5afb58={'$gte':moment()[_0x1cd3('0x12e')](_0x1cd3('0x6e8'))['utcOffset'](0x0,!![])[_0x1cd3('0x130')](),'$lte':moment()['endOf'](_0x1cd3('0x6e8'))[_0x1cd3('0x12f')](0x0,!![])[_0x1cd3('0x130')]()};var _0x1ce92a={'MailAccountId':_[_0x1cd3('0x3d9')](_0x18c467[_0x1cd3('0xefa')]['rows'],'id'),'createdAt':_0x5afb58};_0x18c467[_0x1cd3('0x3d4')]=_[_0x1cd3('0xf2')](_0x18c467[_0x1cd3('0x3d4')],_0x1ce92a);}_0x1608c2['on'](_0x1cd3('0x1752'),_0x311e64);_0x1608c2['on']('mailInteraction:update',_0x311e64);_0x1608c2['on'](_0x1cd3('0x1753'),_0x7c38c1);_0x1608c2['on'](_0x1cd3('0x1754'),_0x193068);_0x1608c2['on'](_0x1cd3('0x1755'),_0x193068);_0x1608c2['on'](_0x1cd3('0x1756'),_0x2d3b47);_0x1608c2['on'](_0x1cd3('0x1757'),_0x88afda);_0x38650e(_0x18c467[_0x1cd3('0x3d4')]['page']);});}function _0x150e2d(){return[{'name':_0x1cd3('0x132c'),'key':'createdAt','type':_0x1cd3('0x406'),'label':'DASHBOARDS.SELECT_DATE'},{'name':_0x1cd3('0x1317'),'key':_0x1cd3('0x167e'),'type':_0x1cd3('0x44f'),'label':_0x1cd3('0x1318'),'customOptions':[{'value':0x0,'translate':_0x1cd3('0x1319')},{'value':0x1,'translate':_0x1cd3('0x131a')},{'value':null,'translate':_0x1cd3('0x910')}]},{'name':_0x1cd3('0x131b'),'key':'closed','type':_0x1cd3('0x44f'),'label':_0x1cd3('0x131c'),'customOptions':[{'value':0x0,'translate':_0x1cd3('0x131d')},{'value':0x1,'translate':_0x1cd3('0x131e')},{'value':null,'translate':_0x1cd3('0x910')}]},{'name':'Substatus','key':_0x1cd3('0x1758'),'type':_0x1cd3('0x44f'),'label':_0x1cd3('0x1759'),'options':_0x18c467[_0x1cd3('0x1750')][_0x1cd3('0xf6')],'customOptions':[{'value':'null','translate':'DASHBOARDS.NONE'},{'value':undefined,'translate':'DASHBOARDS.ALL'}],'ngValue':_0x1cd3('0x98'),'ngIf':'closed\x20===\x200'},{'name':_0x1cd3('0x1591'),'key':_0x1cd3('0x1492'),'type':_0x1cd3('0x3fa'),'label':_0x1cd3('0x167f'),'options':_0x18c467['mailAccounts'][_0x1cd3('0xf6')],'clearAll':![]},{'name':'Agent','key':_0x1cd3('0x1226'),'type':'select','label':_0x1cd3('0x131f'),'customOptions':[{'value':_0x18c467[_0x1cd3('0x368')]['id'],'translate':_0x1cd3('0x1656')},{'value':_0x1cd3('0x220'),'translate':'DASHBOARDS.NOT_ASSIGNED'},{'value':undefined,'translate':_0x1cd3('0x910')}]},{'name':_0x1cd3('0x1231'),'key':_0x1cd3('0xb76'),'type':_0x1cd3('0x3fa'),'label':_0x1cd3('0x1321'),'options':_0x18c467['tags'][_0x1cd3('0xf6')],'placeholder':_0x1cd3('0x1322')}];}function _0x3a3cff(_0x4c72e6){_0x18c467[_0x1cd3('0x1681')]=![];_0x18c467[_0x1cd3('0x174a')]=_0x4c72e6||{'count':0x0,'rows':[]};for(var _0x1f8a7f=0x0;_0x1f8a7f<_0x18c467[_0x1cd3('0x174a')]['rows'][_0x1cd3('0x7a')];_0x1f8a7f+=0x1){_0x3d8b05(_0x18c467[_0x1cd3('0x174a')][_0x1cd3('0xf6')][_0x1f8a7f]);}}function _0x38650e(_0x7d70d0,_0x303feb){_0x18c467[_0x1cd3('0x1681')]=!![];if(!_0x7d70d0){_0x18c467[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}_0x18c467['query'][_0x1cd3('0xd57')]=(_0x18c467['query'][_0x1cd3('0x8fd')]-0x1)*_0x18c467[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];var _0x37fa1f=_0x42f33b[_0x1cd3('0x385')][_0x1cd3('0x3e0')](_0x1cd3('0x175a')+_0x18c467['user']['id']);_0x37fa1f=_0x37fa1f?JSON[_0x1cd3('0x79')](_0x37fa1f):{};_0x37fa1f['query']=_0x18c467[_0x1cd3('0x3d4')];_0x42f33b[_0x1cd3('0x385')][_0x1cd3('0x3e2')]('motion2.home.mail:'+_0x18c467['user']['id'],JSON[_0x1cd3('0x438')](_0x37fa1f));_0x18c467[_0x1cd3('0x539')]=_0x559e68[_0x1cd3('0xa8f')][_0x1cd3('0x361')](_0x18c467[_0x1cd3('0x3d4')],_0x3a3cff)[_0x1cd3('0x81')];}function _0x4f3638(_0x457e02,_0x36d03a){_0x34c3fb[_0x1cd3('0x70b')]['vm']['addInteractionTab']('mail',_0x36d03a);}function _0x4d8b64(_0x3a0426,_0x2e45cf,_0x5a7891){_0x559e68[_0x1cd3('0xa8f')]['download']({'id':_0x2e45cf['id'],'attachments':_0x5a7891})[_0x1cd3('0x81')]['then'](function(_0x16e08a){var _0x4d6f39=[_0x16e08a[_0x1cd3('0x6ef')]];var _0x18c1dd=_0x1cd3('0x175b')+_0x2e45cf['id']+_0x1cd3('0x1334');var _0x38b65f=new Blob(_0x4d6f39,{'type':_0x16e08a['type']});var _0x56f8eb=window['document'][_0x1cd3('0x3aa')]('a');_0x56f8eb[_0x1cd3('0x481')](_0x1cd3('0x3ab'),URL['createObjectURL'](_0x38b65f));_0x56f8eb['setAttribute']('download',_0x18c1dd);document[_0x1cd3('0x380')][_0x1cd3('0xd4e')](_0x56f8eb);_0x56f8eb[_0x1cd3('0x52d')]();})[_0x1cd3('0xfd')](function(_0x48e39d){if(_0x48e39d[_0x1cd3('0x439')]&&_0x48e39d[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x48e39d[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length']){for(var _0x5c77d6=0x0;_0x5c77d6<_0x48e39d[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x5c77d6+=0x1){_0x228c8c[_0x1cd3('0x434')]({'title':_0x48e39d['data']['errors'][_0x5c77d6][_0x1cd3('0x424')],'msg':_0x48e39d[_0x1cd3('0x439')]['errors'][_0x5c77d6][_0x1cd3('0x43a')]});}}else{_0x228c8c[_0x1cd3('0x434')]({'title':_0x48e39d[_0x1cd3('0x3a6')]?'API:'+_0x48e39d[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x48e39d['statusText']:'downloadMailInteraction','msg':_0x48e39d[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x48e39d['data'][_0x1cd3('0x43a')]):_0x48e39d['toString']()});}});}function _0x37f6ad(_0x197e96,_0x2f6727){var _0x5dc8ff=_0x18c467[_0x1cd3('0x368')][_0x1cd3('0x604')]||_0x18c467[_0x1cd3('0x368')]['chatPause']||_0x18c467[_0x1cd3('0x368')][_0x1cd3('0x1590')]||_0x18c467[_0x1cd3('0x368')][_0x1cd3('0x138c')]||_0x18c467[_0x1cd3('0x368')]['faxPause'];var _0x4776f4=!_0x2f6727[_0x1cd3('0x1591')][_0x1cd3('0x158c')];_0x21991c[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1592'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1593'),'parent':angular[_0x1cd3('0x37f')](_0x5cda67[_0x1cd3('0x380')]),'clickOutsideToClose':_0x4776f4,'escapeToClose':_0x4776f4,'onRemoving':function(_0x3bf0e0,_0x16aff1){if(_0x18c467[_0x1cd3('0x368')]&&_0x2f6727[_0x1cd3('0x1591')]['mandatoryDisposition']&&!_0x5dc8ff){_0x559e68[_0x1cd3('0x368')][_0x1cd3('0x13ed')]({'id':_0x18c467[_0x1cd3('0x368')]['id']})[_0x1cd3('0x81')]['catch'](function(_0x41d844){console[_0x1cd3('0x434')](_0x41d844);});}},'locals':{'user':_0x18c467['user'],'channel':_0x1cd3('0x1d2'),'interaction':_0x2f6727}});}function _0x3d8b05(_0x1ef7ad){if(!_['isEmpty'](_0x1ef7ad['to'])&&_0x1ef7ad['Account']&&!_[_0x1cd3('0x38f')](_0x1ef7ad['to'],_0x1ef7ad['Account'][_0x1cd3('0x1325')])){_0x1ef7ad[_0x1cd3('0x133e')]=_0x1ef7ad['to'][_0x1cd3('0x3ef')]('\x20<')[0x0];_0x1ef7ad['contactInfo']=_0x1ef7ad['to']['split']('<')['pop']()[_0x1cd3('0x3ef')]('>')[0x0];}else if(_0x1ef7ad['Contact']){_0x1ef7ad['contactName']=(_0x1ef7ad['Contact'][_0x1cd3('0x1447')]||'')+'\x20'+(_0x1ef7ad[_0x1cd3('0x1323')]['lastName']||'');_0x1ef7ad[_0x1cd3('0x1742')]=_0x1ef7ad[_0x1cd3('0x1323')]['email']||'';}else{_0x1ef7ad['contactName']=_0x5b702f['instant'](_0x1cd3('0x133f'));}}function _0xb1d9e1(_0x291fc0){if(_0x291fc0[_0x1cd3('0x1226')]){if(_0x291fc0[_0x1cd3('0x1226')]===_0x18c467['user']['id']){return _0x5b702f[_0x1cd3('0x44a')](_0x1cd3('0x1656'));}else{return _0x291fc0['Owner'][_0x1cd3('0xd3')]+'\x20<'+_0x291fc0['Owner'][_0x1cd3('0x311')]+'>';}}return _0x5b702f[_0x1cd3('0x44a')](_0x1cd3('0x1320'));}function _0x4b5c2d(_0x1109ba){if(_0x1109ba[_0x1cd3('0x1591')]){return _0x1109ba['Account'][_0x1cd3('0x65c')];}return _0x5b702f[_0x1cd3('0x44a')](_0x1cd3('0x133f'));}function _0x369092(_0x3e1475,_0x143b90){if(_0x143b90[_0x1cd3('0x1332')]){_0x143b90[_0x1cd3('0x1332')][_0x1cd3('0x15a6')]=!![];_0x4f3638(null,_0x143b90[_0x1cd3('0x1332')]);}else{_0x21991c[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x175c'),'controllerAs':'vm','templateUrl':_0x1cd3('0x175d'),'parent':angular['element'](_0x5cda67[_0x1cd3('0x380')]),'clickOutsideToClose':![],'locals':{'account':_0x143b90[_0x1cd3('0x15d3')],'message':_0x143b90[_0x1cd3('0xd3b')],'type':_0x1cd3('0x1584'),'interaction':{}},'fullscreen':!![]})['then'](function(_0x44a198){if(_0x44a198){if(_0x44a198[_0x1cd3('0x43a')]&&_0x44a198['message'][_0x1cd3('0x1745')]){var _0x152d69={'id':_0x143b90['id'],'channel':_0x1cd3('0x1d2'),'account':_0x44a198[_0x1cd3('0x15d3')],'message':_0x44a198[_0x1cd3('0x43a')]};_0x216436[_0x1cd3('0x378')](_0x152d69);}else{var _0x56ae4d=_0x44a198;return _0x559e68[_0x1cd3('0xa7a')][_0x1cd3('0x9de')]({'id':_0x143b90['account']['id']},_0x56ae4d)[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x20109d){_0x216436[_0x1cd3('0x383')](_0x143b90['id']);if(_0x20109d&&_0x20109d[_0x1cd3('0x1317')]&&_0x20109d[_0x1cd3('0x1317')][_0x1cd3('0x7a')]){if(_0x56ae4d['attachments']&&_0x56ae4d[_0x1cd3('0x160c')][_0x1cd3('0x7a')]){for(var _0x14735b=0x0;_0x14735b<_0x56ae4d[_0x1cd3('0x160c')][_0x1cd3('0x7a')];_0x14735b+=0x1){_0x559e68[_0x1cd3('0xc73')]['update']({'id':_0x56ae4d[_0x1cd3('0x160c')][_0x14735b]['id']},{'MailMessageId':_[_0x1cd3('0x63c')](_0x20109d[_0x1cd3('0x1317')])['id']});}}_0x228c8c[_0x1cd3('0x473')]({'title':'Message\x20properly\x20sent!','msg':_0x1cd3('0x160e')});if(_0x20109d[_0x1cd3('0x1586')]){_0x20109d[_0x1cd3('0xb63')]=null;var _0x452d01=!_0x143b90[_0x1cd3('0x15d3')][_0x1cd3('0x158c')];var _0x207a44=_0x18c467[_0x1cd3('0x368')][_0x1cd3('0x604')]||_0x18c467['user'][_0x1cd3('0x138b')]||_0x18c467[_0x1cd3('0x368')][_0x1cd3('0x1590')]||_0x18c467[_0x1cd3('0x368')][_0x1cd3('0x138c')]||_0x18c467[_0x1cd3('0x368')][_0x1cd3('0x138f')];_0x21991c[_0x1cd3('0x37e')]({'controller':'DisposeInteractionDialogController','controllerAs':'vm','templateUrl':_0x1cd3('0x1593'),'parent':angular[_0x1cd3('0x37f')](_0x5cda67[_0x1cd3('0x380')]),'onRemoving':function(_0x450f10,_0x39af6e){if(_0x18c467[_0x1cd3('0x368')]&&_0x143b90[_0x1cd3('0x15d3')][_0x1cd3('0x158c')]&&!_0x207a44){_0x559e68[_0x1cd3('0x368')]['unpause']({'id':_0x18c467[_0x1cd3('0x368')]['id']})[_0x1cd3('0x81')][_0x1cd3('0xfd')](function(_0x39c7c8){console[_0x1cd3('0x434')](_0x39c7c8);});}},'clickOutsideToClose':_0x452d01,'escapeToClose':_0x452d01,'locals':{'user':_0x18c467[_0x1cd3('0x368')],'channel':_0x1cd3('0x1d2'),'interaction':_0x20109d}});}else{_0x34c3fb[_0x1cd3('0x70b')]['vm'][_0x1cd3('0x1574')]('mail',_0x20109d);}}})['catch'](function(_0x24f44f){if(_0x24f44f[_0x1cd3('0x439')]&&_0x24f44f[_0x1cd3('0x439')]['errors']&&_0x24f44f[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){for(var _0x5a8788=0x0;_0x5a8788<_0x24f44f[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x5a8788++){_0x228c8c[_0x1cd3('0x434')]({'title':_0x24f44f[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x5a8788][_0x1cd3('0x424')],'msg':_0x24f44f['data'][_0x1cd3('0xd34')][_0x5a8788]['message']});}}else{_0x228c8c['error']({'title':_0x24f44f['status']?_0x1cd3('0x435')+_0x24f44f['status']+_0x1cd3('0x436')+_0x24f44f[_0x1cd3('0xd35')]:_0x1cd3('0x175e'),'msg':_0x24f44f['data']?JSON['stringify'](_0x24f44f['data'][_0x1cd3('0x43a')]):_0x24f44f[_0x1cd3('0x43a')]||_0x24f44f['toString']()});}});}}});}}function _0x34fcc7(_0x25a86d,_0x12c0a6){_0x21991c[_0x1cd3('0x37e')]({'controller':'ComposeMailInteractionDialogController','controllerAs':'vm','templateUrl':_0x1cd3('0x175d'),'parent':angular[_0x1cd3('0x37f')](_0x5cda67[_0x1cd3('0x380')]),'clickOutsideToClose':![],'locals':{'account':_0x12c0a6,'message':{},'type':_0x1cd3('0x160a'),'interaction':{}},'fullscreen':!![]})['then'](function(_0x1db47c){if(_0x1db47c){if(_0x1db47c[_0x1cd3('0x43a')]&&_0x1db47c[_0x1cd3('0x43a')]['savedAsDraft']){var _0x23bdbd={'channel':_0x1cd3('0x1d2'),'account':_0x12c0a6,'message':_0x1db47c['message'],'contact':_0x1db47c[_0x1cd3('0x105')]};_0x216436[_0x1cd3('0x425')](_0x23bdbd);}else{var _0x1c0943=_0x1db47c;return _0x559e68[_0x1cd3('0xa7a')]['send']({'id':_0x12c0a6['id']},_0x1c0943)['$promise'][_0x1cd3('0x77')](function(_0x128592){if(_0x128592&&_0x128592['Messages']&&_0x128592['Messages']['length']){if(_0x1c0943[_0x1cd3('0x160c')]&&_0x1c0943[_0x1cd3('0x160c')][_0x1cd3('0x7a')]){for(var _0x56ff26=0x0;_0x56ff26<_0x1c0943['attachments']['length'];_0x56ff26+=0x1){_0x559e68[_0x1cd3('0xc73')][_0x1cd3('0x378')]({'id':_0x1c0943[_0x1cd3('0x160c')][_0x56ff26]['id']},{'MailMessageId':_[_0x1cd3('0x63c')](_0x128592[_0x1cd3('0x1317')])['id']});}}_0x228c8c[_0x1cd3('0x473')]({'title':_0x1cd3('0x160d'),'msg':_0x1cd3('0x160e')});if(_0x128592[_0x1cd3('0x1586')]){_0x128592[_0x1cd3('0xb63')]=null;var _0x4f49e2=!_0x12c0a6[_0x1cd3('0x158c')];var _0x4e5431=_0x18c467['user'][_0x1cd3('0x604')]||_0x18c467[_0x1cd3('0x368')]['chatPause']||_0x18c467[_0x1cd3('0x368')]['mailPause']||_0x18c467[_0x1cd3('0x368')][_0x1cd3('0x138c')]||_0x18c467[_0x1cd3('0x368')]['faxPause'];_0x21991c['show']({'controller':_0x1cd3('0x1592'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1593'),'parent':angular['element'](_0x5cda67[_0x1cd3('0x380')]),'onRemoving':function(_0x8e7222,_0x33a063){if(_0x18c467[_0x1cd3('0x368')]&&_0x12c0a6[_0x1cd3('0x158c')]&&!_0x4e5431){_0x559e68['user'][_0x1cd3('0x13ed')]({'id':_0x18c467['user']['id']})[_0x1cd3('0x81')][_0x1cd3('0xfd')](function(_0x493d9a){console[_0x1cd3('0x434')](_0x493d9a);});}},'clickOutsideToClose':_0x4f49e2,'escapeToClose':_0x4f49e2,'locals':{'user':_0x18c467[_0x1cd3('0x368')],'channel':_0x1cd3('0x1d2'),'interaction':_0x128592}});}else{_0x34c3fb[_0x1cd3('0x70b')]['vm']['addInteractionTab'](_0x1cd3('0x1d2'),_0x128592);}}})['catch'](function(_0x3657df){if(_0x3657df['data']&&_0x3657df[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x3657df['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){for(var _0x2f2ecd=0x0;_0x2f2ecd<_0x3657df['data'][_0x1cd3('0xd34')]['length'];_0x2f2ecd++){_0x228c8c[_0x1cd3('0x434')]({'title':_0x3657df[_0x1cd3('0x439')]['errors'][_0x2f2ecd][_0x1cd3('0x424')],'msg':_0x3657df[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x2f2ecd][_0x1cd3('0x43a')]});}}else{_0x228c8c['error']({'title':_0x3657df[_0x1cd3('0x3a6')]?'API:'+_0x3657df[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x3657df[_0x1cd3('0xd35')]:'MAILACCOUNT:SEND','msg':_0x3657df['data']?JSON['stringify'](_0x3657df[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x3657df[_0x1cd3('0x43a')]||_0x3657df[_0x1cd3('0x43b')]()});}});}}});}function _0x2d3b47(_0x458dc4){var _0x47fc6a;var _0x5803e9=_['find'](_0x18c467[_0x1cd3('0x174a')][_0x1cd3('0xf6')],{'id':_0x458dc4[_0x1cd3('0x175f')]});if(_0x5803e9&&_0x5803e9[_0x1cd3('0xa0')]){_0x47fc6a=_['find'](_0x5803e9['Users'],{'id':_0x458dc4[_0x1cd3('0x1226')]});if(!_0x47fc6a){_0x5803e9[_0x1cd3('0xa0')][_0x1cd3('0x7b')]({'id':_0x458dc4['UserId']});}}}function _0x88afda(_0x4aeaee){var _0x3f12f1=_[_0x1cd3('0x442')](_0x18c467['mailInteractions'][_0x1cd3('0xf6')],{'id':_0x4aeaee[_0x1cd3('0x175f')]});if(_0x3f12f1&&_0x3f12f1['Users']){_[_0x1cd3('0x383')](_0x3f12f1[_0x1cd3('0xa0')],{'id':_0x4aeaee[_0x1cd3('0x1226')]});}}function _0x311e64(_0x9bc37b){if(_0x9bc37b){var _0x1fab5a=_['find'](_0x18c467[_0x1cd3('0x174a')][_0x1cd3('0xf6')],{'id':_0x9bc37b['id']});if(_0x1fab5a){_0x1fab5a[_0x1cd3('0xa0')]=[];if(_0x9bc37b['closed']){_0x1fab5a[_0x1cd3('0x132e')]=0x0;}if(_0x18c467[_0x1cd3('0x3d4')][_0x1cd3('0x550')]){var _0x45299f=_[_0x1cd3('0x13d4')](_0x18c467[_0x1cd3('0x3d4')][_0x1cd3('0x550')],'-')?_0x1cd3('0x13d5'):'asc';_0x18c467['mailInteractions'][_0x1cd3('0xf6')]=_[_0x1cd3('0xe31')](_0x18c467[_0x1cd3('0x174a')][_0x1cd3('0xf6')],_[_0x1cd3('0x1683')](_0x18c467[_0x1cd3('0x3d4')][_0x1cd3('0x550')],'-'),_0x45299f);}_['merge'](_0x1fab5a,_['pick'](_0x9bc37b,_[_0x1cd3('0x80')](_0x1fab5a)));}else{_0x38650e(_0x18c467['query'][_0x1cd3('0x8fd')]);}}}function _0x7c38c1(_0x49f76d){if(_0x49f76d){var _0x52f622=_[_0x1cd3('0x442')](_0x18c467['mailInteractions']['rows'],{'id':_0x49f76d['id']});if(_0x52f622){_0x52f622[_0x1cd3('0xf9')]=_0x49f76d[_0x1cd3('0x921')]||[];_[_0x1cd3('0xf2')](_0x52f622,_['pick'](_0x49f76d,_[_0x1cd3('0x80')](_0x52f622)));}}}function _0x193068(_0x4a72fe){if(_0x4a72fe&&!_0x4a72fe['secret']){var _0x283179=_[_0x1cd3('0x442')](_0x18c467['mailInteractions'][_0x1cd3('0xf6')],{'id':_0x4a72fe['MailInteractionId']});if(_0x283179){var _0x17be76=_[_0x1cd3('0x442')](_0x283179[_0x1cd3('0x1317')],{'id':_0x4a72fe['id']});if(_0x17be76){_[_0x1cd3('0xf2')](_0x17be76,_[_0x1cd3('0x5e8')](_0x4a72fe,_[_0x1cd3('0x80')](_0x17be76)));}else{if(_[_0x1cd3('0x472')](_0x283179[_0x1cd3('0x1317')])){_0x283179[_0x1cd3('0x1317')]={'count':0x0};}if(!_0x4a72fe[_0x1cd3('0x167e')]){_0x283179['Messages'][_0x1cd3('0x466')]+=0x1;}}}}}function _0x5c21fb(){_0x18c467[_0x1cd3('0x165a')]=![];}function _0x35f050(){_0x18c467['isSearchBarVisible']=!![];}function _0x5cf9f4(){_0x18c467[_0x1cd3('0x165a')]=![];_0x21991c[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x3c9'),'controllerAs':'vm','templateUrl':'app/core/dialogs/advanced-search/dialog.html','parent':angular[_0x1cd3('0x37f')](_0x5cda67['body']),'clickOutsideToClose':![],'locals':{'color':_0x18c467['sectionColor'],'fields':_0x18c467['advancedSearch'][_0x1cd3('0x3c7')],'storagePath':'home.mail'},'fullscreen':!![]})['then'](function(_0x23d43a){_0x18c467[_0x1cd3('0x3d4')][_0x1cd3('0x3e4')]=_0x23d43a===![]?undefined:_0x23d43a;if(_0x18c467[_0x1cd3('0x3d4')][_0x1cd3('0x3e4')]||_0x23d43a===![])_0x38650e();})[_0x1cd3('0xfd')](function(_0x2100eb){_0x228c8c[_0x1cd3('0x434')]({'title':'ERROR','msg':_0x2100eb[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x2100eb['data']['message']):_0x2100eb[_0x1cd3('0x43b')]()});});}var _0x65eac6=!![];var _0x154621=0x1;_0x34c3fb[_0x1cd3('0x4d6')](_0x1cd3('0xd56'),function(_0x276620,_0x33faa9){if(_0x65eac6){_0x1b4678(function(){_0x65eac6=![];});}else{if(!_0x33faa9){_0x154621=_0x18c467['query'][_0x1cd3('0x8fd')];}if(_0x276620!==_0x33faa9){_0x18c467[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}if(!_0x276620){_0x18c467[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0x154621;}_0x38650e(_0x18c467[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]);}});_0x34c3fb[_0x1cd3('0x4d3')](_0x1cd3('0x523'),function(){_0x1608c2['removeAllListeners'](_0x1cd3('0x1754'));_0x1608c2[_0x1cd3('0x6a3')](_0x1cd3('0x1755'));_0x1608c2[_0x1cd3('0x6a3')](_0x1cd3('0x1752'));_0x1608c2['removeAllListeners'](_0x1cd3('0x1753'));_0x1608c2[_0x1cd3('0x6a3')](_0x1cd3('0x1760'));_0x1608c2['removeAllListeners'](_0x1cd3('0x1756'));_0x1608c2[_0x1cd3('0x6a3')](_0x1cd3('0x1757'));});}}());(function(){'use strict';_0x238e68[_0x1cd3('0xc')]=['$document',_0x1cd3('0x460'),_0x1cd3('0x3e7'),_0x1cd3('0x3c5'),'Auth',_0x1cd3('0x370'),_0x1cd3('0x371'),_0x1cd3('0x461')];angular[_0x1cd3('0x0')]('app.dashboards')[_0x1cd3('0x39b')](_0x1cd3('0x1761'),_0x238e68);function _0x238e68(_0x1ec115,_0x5da602,_0x290353,_0x3860ad,_0xf0fe96,_0x425f2d,_0x344468,_0x1c8441){var _0x162587=this;_0x162587[_0x1cd3('0x3ca')]=_0xf0fe96[_0x1cd3('0x5d')]();_0x162587[_0x1cd3('0xf5')]={};_0x162587[_0x1cd3('0x141d')]={'count':0x0,'rows':[]};_0x162587[_0x1cd3('0x921')]={'count':0x0,'rows':[]};_0x162587[_0x1cd3('0x3d4')]={'includeAll':!![],'id':_0x162587['currentUser']['id'],'sort':_0x1cd3('0x5b'),'limit':0xa,'page':0x1};_0x162587[_0x1cd3('0x3d1')]={'fields':[]};_0x162587['sectionColor']=_0x1cd3('0x1687');_0x162587[_0x1cd3('0x1444')]=_0x34bbf8;_0x162587[_0x1cd3('0x1688')]=_0x427523;_0x162587[_0x1cd3('0x1426')]=_0x1d18a3;_0x162587[_0x1cd3('0x1427')]=_0x26f686;_0x162587[_0x1cd3('0x1689')]=_0x279ee5;_0x162587['call']=_0x5da602['$parent']['vm'][_0x1cd3('0x46d')];_0x162587[_0x1cd3('0x703')]=_0x542566;_0x162587[_0x1cd3('0x164f')]=_0x29e55e;_0x162587[_0x1cd3('0x1650')]=_0x50db7b;_0x162587[_0x1cd3('0x1673')]=_0x7d90e0;function _0x542566(){_0x425f2d[_0x1cd3('0xc8f')][_0x1cd3('0x361')]({'fields':_0x1cd3('0x168a'),'sort':_0x1cd3('0x98'),'nolimit':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x330c8d){_0x162587[_0x1cd3('0xf5')]=_0x330c8d||{'count':0x0,'rows':[]};_0x162587[_0x1cd3('0x141e')]=_[_0x1cd3('0xe2d')](_0x162587['lists']['rows'],'id');return _0x425f2d[_0x1cd3('0xb76')][_0x1cd3('0x361')]()[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x44284c){_0x162587[_0x1cd3('0x921')]=_0x44284c||{'count':0x0,'rows':[]};})[_0x1cd3('0x77')](function(){_0x162587[_0x1cd3('0x1315')]=_0x38da38();})[_0x1cd3('0xfd')](function(_0x329064){console['error'](_0x329064);})[_0x1cd3('0x5dd')](function(){var _0x2d42e9=_0x344468['localStorage'][_0x1cd3('0x3e0')](_0x1cd3('0x1762')+_0x162587[_0x1cd3('0x3ca')]['id']);if(_0x2d42e9){try{_0x2d42e9=JSON[_0x1cd3('0x79')](_0x2d42e9);if(_0x2d42e9['query']){_0x162587['query']=_[_0x1cd3('0xf2')](_0x162587[_0x1cd3('0x3d4')],_0x2d42e9[_0x1cd3('0x3d4')]);if(_[_0x1cd3('0x398')](_0x162587[_0x1cd3('0xf5')][_0x1cd3('0xf6')])){_0x162587[_0x1cd3('0x3d4')][_0x1cd3('0x106')]=[];}else if(_[_0x1cd3('0x398')](_0x162587[_0x1cd3('0x3d4')][_0x1cd3('0x106')])){_0x162587[_0x1cd3('0x3d4')][_0x1cd3('0x106')]=_(_0x162587[_0x1cd3('0xf5')]['rows'])[_0x1cd3('0x3d9')]('id')[_0x1cd3('0x1675')]()[_0x1cd3('0x3db')]();}}}catch(_0x4e6275){console[_0x1cd3('0x434')](_0x4e6275);}}else{_0x162587[_0x1cd3('0x3d4')][_0x1cd3('0x106')]=_[_0x1cd3('0x3d9')](_0x162587['lists']['rows'],'id');}_0x162587[_0x1cd3('0x165a')]=_0x162587[_0x1cd3('0x3d4')][_0x1cd3('0x395')]?!![]:![];_0x34bbf8();});}function _0x38da38(){return[{'name':_0x1cd3('0x1456'),'key':'ListId','type':_0x1cd3('0x3fa'),'label':'CONTACTMANAGER.SELECT_LIST','options':_0x162587['lists'][_0x1cd3('0xf6')],'clearAll':![]},{'name':_0x1cd3('0x1231'),'key':'tag','type':'multiselect','label':_0x1cd3('0x1321'),'options':_0x162587['tags'][_0x1cd3('0xf6')],'placeholder':_0x1cd3('0x1322')}];}function _0x3b9b99(_0x21675e){_0x162587[_0x1cd3('0x1681')]=![];_0x162587['contacts']=_0x21675e||{'count':0x0,'rows':[]};}function _0x34bbf8(_0x34a47d,_0x1d645e){_0x162587[_0x1cd3('0x1681')]=!![];_0x5ddac7();if(!_0x34a47d){_0x162587['query'][_0x1cd3('0x8fd')]=0x1;}_0x162587[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0x162587[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0x162587[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];var _0x2ccd3a=_0x344468[_0x1cd3('0x385')][_0x1cd3('0x3e0')]('motion2.home.mycontacts:'+_0x162587[_0x1cd3('0x3ca')]['id']);_0x2ccd3a=_0x2ccd3a?JSON['parse'](_0x2ccd3a):{};_0x2ccd3a[_0x1cd3('0x3d4')]=_0x162587[_0x1cd3('0x3d4')];_0x344468[_0x1cd3('0x385')][_0x1cd3('0x3e2')](_0x1cd3('0x1762')+_0x162587[_0x1cd3('0x3ca')]['id'],JSON[_0x1cd3('0x438')](_0x2ccd3a));if(_0x162587[_0x1cd3('0x3d4')][_0x1cd3('0x3e4')])_0x162587[_0x1cd3('0x1763')]=_[_0x1cd3('0x3e3')](_0x162587['query'],'id');_0x162587[_0x1cd3('0x539')]=_0x162587[_0x1cd3('0x3d4')][_0x1cd3('0x3e4')]?_0x425f2d[_0x1cd3('0xb3d')][_0x1cd3('0x361')](_0x162587[_0x1cd3('0x1763')],_0x3b9b99)[_0x1cd3('0x81')]:_0x425f2d[_0x1cd3('0x368')][_0x1cd3('0x1444')](_0x162587[_0x1cd3('0x3d4')],_0x3b9b99)[_0x1cd3('0x81')];}function _0x279ee5(_0x416f7a,_0x448e41){_0x5da602[_0x1cd3('0x70b')]['vm'][_0x1cd3('0x15c1')](_0x448e41);}function _0x427523(){_0x34bbf8();}function _0x26f686(_0x286d72,_0x19f101){_0x3860ad[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x144e'),'controllerAs':'vm','templateUrl':'app/main/apps/contactmanager/views/contacts/duplicate/dialog.html','parent':angular[_0x1cd3('0x37f')](_0x1ec115[_0x1cd3('0x380')]),'targetEvent':_0x286d72,'clickOutsideToClose':!![],'resolve':{'contact':[_0x1cd3('0x62'),function(_0xc387df){return _0xc387df[_0x1cd3('0x58')](_0x1cd3('0xf1'),{'id':_0x19f101['id']});}],'lists':[_0x1cd3('0x62'),function(_0x5b85e9){return _0x5b85e9[_0x1cd3('0x58')](_0x1cd3('0x11c'),{'id':_0x162587['currentUser']['id'],'fields':'id,name'});}]},'locals':{'contacts':_0x162587[_0x1cd3('0x141d')]['rows']}});}function _0x1d18a3(_0x3eda0f,_0x5b0ffb){_0x3860ad[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1450'),'controllerAs':'vm','templateUrl':_0x1cd3('0x161d'),'parent':angular[_0x1cd3('0x37f')](_0x1ec115[_0x1cd3('0x380')]),'targetEvent':_0x3eda0f,'clickOutsideToClose':!![],'resolve':{'contact':[_0x1cd3('0x62'),function(_0x1da489){return _0x1da489['resolve'](_0x1cd3('0xf1'),{'id':_0x5b0ffb['id']});}],'lists':[_0x1cd3('0x62'),function(_0x46b828){return _0x46b828['resolve'](_0x1cd3('0x11c'),{'id':_0x162587[_0x1cd3('0x3ca')]['id'],'fields':_0x1cd3('0xa6')});}]},'locals':{'contacts':_0x162587['contacts']['rows']}});}function _0x29e55e(){_0x162587['isSearchBarVisible']=![];}function _0x50db7b(){_0x162587['isSearchBarVisible']=!![];}function _0x5ddac7(){return _0x425f2d[_0x1cd3('0xb3d')][_0x1cd3('0xe1c')]({'id':_0x162587['query'][_0x1cd3('0x106')]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x12344b){return _(_0x12344b[_0x1cd3('0xd32')]())['omit'](_0x1cd3('0x1226'))['values']()['map'](function(_0x4365f7){return _0x1f8d3f(_0x4365f7);})[_0x1cd3('0x3db')]();})['then'](function(_0x593a55){_0x162587[_0x1cd3('0x3d1')][_0x1cd3('0x3c7')]=_0x593a55;var _0x1b8472={'name':'Tags','column':'Tag','type':_0x1cd3('0x3fa'),'options':{'route':{'model':'tag','action':_0x1cd3('0x361'),'params':{'nolimit':!![]}},'excludedOperators':[_0x1cd3('0x3dd')]}};var _0xc573db=_[_0x1cd3('0x445')](_0x593a55,function(_0x4f86b4){return _[_0x1cd3('0x13d4')](_0x4f86b4[_0x1cd3('0x3d5')],_0x1cd3('0x12ff'));})||_0x593a55[_0x1cd3('0x7a')]-0x1;if(_0xc573db<0x0)_0xc573db=_0x593a55[_0x1cd3('0x7a')];_0x162587['advancedSearch'][_0x1cd3('0x3c7')][_0x1cd3('0x446')](_0xc573db,0x0,_0x1b8472);})[_0x1cd3('0xfd')](function(_0x3a7276){_0x1c8441[_0x1cd3('0x434')]({'title':_0x3a7276[_0x1cd3('0x3a6')]?'API:'+_0x3a7276[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x3a7276[_0x1cd3('0xd35')]:_0x1cd3('0x168d'),'msg':_0x3a7276[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x3a7276[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x3a7276['toString']()});});}function _0x1f8d3f(_0x10c582){var _0x23ccb2={'name':_[_0x1cd3('0xd50')](_0x10c582[_0x1cd3('0x1764')]),'column':_0x10c582['columnName'],'options':{}};if(_0x10c582[_0x1cd3('0x8f6')]){switch(_0x10c582[_0x1cd3('0x8f6')][_0x1cd3('0x424')]){case _0x1cd3('0x401'):_0x23ccb2[_0x1cd3('0x424')]=_0x1cd3('0x401');break;case _0x1cd3('0x44f'):_0x23ccb2[_0x1cd3('0x424')]=_0x1cd3('0x3fa');_0x23ccb2['values']=_['map'](JSON['parse'](_0x10c582[_0x1cd3('0x8f6')][_0x1cd3('0x42d')]),function(_0x4a251b,_0x202e4c){return{'id':_0x202e4c,'name':_0x4a251b[_0x1cd3('0x3db')],'value':_0x4a251b[_0x1cd3('0x3db')]};});_0x23ccb2[_0x1cd3('0x422')]['field']=_0x1cd3('0x98');break;case _0x1cd3('0x168f'):_0x23ccb2[_0x1cd3('0x424')]='select';_0x23ccb2[_0x1cd3('0x42d')]=[{'id':0x1,'translate':'DASHBOARDS.ENABLED'},{'id':0x0,'translate':_0x1cd3('0x1765')}];_0x23ccb2[_0x1cd3('0x422')]['excludedOperators']=[_0x1cd3('0x3fb')];break;case _0x1cd3('0x407'):_0x23ccb2[_0x1cd3('0x424')]=_0x1cd3('0x407');break;case _0x1cd3('0x1766'):_0x23ccb2[_0x1cd3('0x424')]=_0x1cd3('0x406');break;}}else{switch(_0x10c582[_0x1cd3('0x168e')]){case _0x1cd3('0xfc'):_0x23ccb2[_0x1cd3('0x424')]='date';break;case'CompanyId':_0x23ccb2[_0x1cd3('0x98')]=_0x1cd3('0x140b');_0x23ccb2[_0x1cd3('0x424')]='autocomplete';_0x23ccb2[_0x1cd3('0x422')][_0x1cd3('0x42a')]={'model':_0x1cd3('0xb38'),'action':_0x1cd3('0x361'),'params':{'fields':_0x1cd3('0xa6'),'nolimit':!![]}};_0x23ccb2[_0x1cd3('0x422')][_0x1cd3('0x430')]=[_0x1cd3('0x98')];_0x23ccb2[_0x1cd3('0x422')][_0x1cd3('0x428')]=[_0x1cd3('0x3fb')];break;case'ListId':_0x23ccb2[_0x1cd3('0x98')]=_0x1cd3('0x1456');_0x23ccb2['type']='autocomplete';_0x23ccb2['options']['route']={'model':_0x1cd3('0x368'),'action':_0x1cd3('0x1545'),'params':{'id':_0x162587[_0x1cd3('0x3ca')]['id'],'fields':_0x1cd3('0xa6'),'nolimit':!![]}};_0x23ccb2[_0x1cd3('0x422')][_0x1cd3('0x430')]=[_0x1cd3('0x98')];_0x23ccb2['options'][_0x1cd3('0x428')]=[_0x1cd3('0x3fb')];break;default:if(_['includes'](_0x10c582[_0x1cd3('0x424')][_0x1cd3('0x433')](),_0x1cd3('0x1767'))){_0x23ccb2[_0x1cd3('0x424')]=_0x1cd3('0x407');}else if(_[_0x1cd3('0x38f')](_0x10c582[_0x1cd3('0x424')][_0x1cd3('0x433')](),_0x1cd3('0x406'))){_0x23ccb2[_0x1cd3('0x424')]=_0x1cd3('0x406');}else{_0x23ccb2[_0x1cd3('0x424')]=_0x1cd3('0x401');}break;}}return _0x23ccb2;}function _0x7d90e0(){_0x162587['isSearchBarVisible']=![];_0x3860ad[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x3c9'),'controllerAs':'vm','templateUrl':'app/core/dialogs/advanced-search/dialog.html','parent':angular[_0x1cd3('0x37f')](_0x1ec115[_0x1cd3('0x380')]),'clickOutsideToClose':![],'locals':{'color':_0x162587[_0x1cd3('0x166b')],'fields':_0x162587[_0x1cd3('0x3d1')][_0x1cd3('0x3c7')],'storagePath':_0x1cd3('0x1768')},'fullscreen':!![]})[_0x1cd3('0x77')](function(_0x1b3680){_0x162587[_0x1cd3('0x3d4')][_0x1cd3('0x3e4')]=_0x1b3680===![]?undefined:_0x1b3680;if(_0x1b3680===![]){_0x34bbf8();}else if(_0x162587[_0x1cd3('0x3d4')]['search']){_0x162587[_0x1cd3('0x3d4')][_0x1cd3('0x3e4')]+='||User:=$eq['+_0x162587[_0x1cd3('0x3ca')]['id']+']';_0x34bbf8();}})['catch'](function(_0xc54956){_0x1c8441[_0x1cd3('0x434')]({'title':_0x1cd3('0x1331'),'msg':_0xc54956[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0xc54956[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0xc54956['toString']()});});}var _0x4594aa=!![];var _0x181ec2=0x1;_0x5da602[_0x1cd3('0x4d6')]('vm.query.filter',function(_0x5acb75,_0x395774){if(_0x4594aa){_0x290353(function(){_0x4594aa=![];});}else{if(!_0x395774){_0x181ec2=_0x162587[_0x1cd3('0x3d4')]['page'];}if(_0x5acb75!==_0x395774){_0x162587['query'][_0x1cd3('0x8fd')]=0x1;}if(!_0x5acb75){_0x162587['query']['page']=_0x181ec2;}_0x34bbf8();}});}}());(function(){'use strict';_0x3bdf93['$inject']=[_0x1cd3('0x460'),_0x1cd3('0x3e7'),_0x1cd3('0x3c5'),_0x1cd3('0x372'),_0x1cd3('0x371'),_0x1cd3('0x3f7'),'api',_0x1cd3('0x56'),_0x1cd3('0xd18'),_0x1cd3('0x461'),_0x1cd3('0x1564')];angular[_0x1cd3('0x0')]('app.dashboards')[_0x1cd3('0x39b')](_0x1cd3('0x1769'),_0x3bdf93);function _0x3bdf93(_0x5c9fc5,_0x3fa526,_0x299f0d,_0x2202e9,_0x19b6c7,_0x25d885,_0x296f13,_0xc97d86,_0xaa534b,_0x19bd20,_0x5c20ac){var _0x10c28f=this;_0x10c28f[_0x1cd3('0x368')]=_0xc97d86['getCurrentUser']();_0x10c28f[_0x1cd3('0x463')]={};_0x10c28f[_0x1cd3('0xc49')]={};_0x10c28f['tags']={'count':0x0,'rows':[]};_0x10c28f[_0x1cd3('0x176a')]={'count':0x0,'rows':[]};_0x10c28f[_0x1cd3('0x3d4')]={'includeAll':!![],'sort':_0x1cd3('0x5b'),'limit':0xa,'page':0x1,'read':null,'closed':null};_0x10c28f[_0x1cd3('0x3d1')]={'fields':[{'name':'Id','column':'id','type':_0x1cd3('0x407')},{'name':_0x1cd3('0x1323'),'column':_0x1cd3('0x1323'),'type':'autocomplete','options':{'searchFields':['firstName',_0x1cd3('0x1324'),'email'],'route':{'model':_0x1cd3('0xb3d'),'action':'get','params':{'fields':_0x1cd3('0x1668'),'Contact':_0x1cd3('0x42c'),'nolimit':!![]}},'extraOperators':[_0x1cd3('0x3fd')],'excludedOperators':[_0x1cd3('0x3fb')]}},{'name':'Body','column':_0x1cd3('0x380'),'type':_0x1cd3('0x401'),'options':{'excludedOperators':['$eq',_0x1cd3('0x3fb')]}},{'name':_0x1cd3('0x131b'),'column':_0x1cd3('0x1586'),'type':_0x1cd3('0x44f'),'values':[{'id':0x0,'translate':_0x1cd3('0x131d')},{'id':0x1,'translate':_0x1cd3('0x131e')}],'options':{'excludedOperators':[_0x1cd3('0x3fb')]}},{'name':_0x1cd3('0x1227'),'column':_0x1cd3('0x132a'),'type':_0x1cd3('0x42b'),'options':{'table':'i','route':{'model':_0x1cd3('0x368'),'action':_0x1cd3('0x361'),'params':{'role':_0x1cd3('0xd2'),'fields':_0x1cd3('0x132b'),'nolimit':!![]}},'searchFields':[_0x1cd3('0xd3'),_0x1cd3('0x98')],'extraOperators':['$substring'],'excludedOperators':['$ne']}},{'name':'Account','column':_0x1cd3('0x1490'),'type':'multiselect','options':{'route':{'model':_0x1cd3('0x368'),'action':_0x1cd3('0x15f7'),'params':{'id':_0x10c28f['user']['id'],'nolimit':!![]}}}},{'name':_0x1cd3('0xf9'),'column':_0x1cd3('0x1231'),'type':_0x1cd3('0x3fa'),'options':{'route':{'model':_0x1cd3('0xb76'),'action':_0x1cd3('0x361'),'params':{'nolimit':!![]}},'excludedOperators':[_0x1cd3('0x3dd')]}},{'name':_0x1cd3('0x132c'),'column':_0x1cd3('0xe0d'),'type':_0x1cd3('0x406'),'options':{'excludedOperators':['$ne']}},{'name':_0x1cd3('0x132d'),'column':_0x1cd3('0x132e'),'type':_0x1cd3('0x44f'),'values':[{'id':0x1,'translate':'DASHBOARDS.READ'},{'id':0x0,'translate':_0x1cd3('0x1319')}],'options':{'excludedOperators':['$ne']}}]};_0x10c28f[_0x1cd3('0x166b')]=_0x1cd3('0x176b');_0x10c28f[_0x1cd3('0x703')]=_0x132e03;_0x10c28f[_0x1cd3('0x473')]=_0x31c731;_0x10c28f[_0x1cd3('0x176c')]=_0x4d7159;_0x10c28f[_0x1cd3('0x176d')]=_0x471b72;_0x10c28f[_0x1cd3('0x176e')]=_0x2306c5;_0x10c28f[_0x1cd3('0x166f')]=_0x38c50b;_0x10c28f[_0x1cd3('0x1670')]=_0x386f02;_0x10c28f[_0x1cd3('0x1671')]=_0x36caed;_0x10c28f[_0x1cd3('0x176f')]=_0x5b2853;_0x10c28f[_0x1cd3('0x1770')]=_0x46961a;_0x10c28f['onSearchBarCollapse']=_0x767a14;_0x10c28f['onSearchBarExpand']=_0x43519f;_0x10c28f[_0x1cd3('0x1673')]=_0x5f449a;_0x5c9fc5[_0x1cd3('0x4d3')](_0x1cd3('0x1771'),_0x4b25b5);function _0x132e03(_0x231a52,_0xd50ca1){_0x10c28f[_0x1cd3('0x463')]=_0x231a52;_0x10c28f[_0x1cd3('0xc49')]=_0xd50ca1;return _0x296f13[_0x1cd3('0x368')][_0x1cd3('0x361')+_['upperFirst']('openchannelAccounts')]({'id':_0x10c28f['user']['id'],'nolimit':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x24ceeb){_0x10c28f[_0x1cd3('0x15fb')]=_0x24ceeb||{'count':0x0,'rows':[]};return _0x296f13[_0x1cd3('0xb76')][_0x1cd3('0x361')]()[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x160333){_0x10c28f[_0x1cd3('0x921')]=_0x160333||{'count':0x0,'rows':[]};})['then'](function(){_0x10c28f[_0x1cd3('0x1315')]=_0x43d450();})[_0x1cd3('0xfd')](function(_0x2d5ec6){console[_0x1cd3('0x434')](_0x2d5ec6);})['finally'](function(){var _0x2aabff=_0x19b6c7[_0x1cd3('0x385')][_0x1cd3('0x3e0')](_0x1cd3('0x1772')+_0x10c28f[_0x1cd3('0x368')]['id']);if(_0x2aabff){try{_0x2aabff=JSON[_0x1cd3('0x79')](_0x2aabff);if(_0x2aabff[_0x1cd3('0x3d4')]){_0x10c28f[_0x1cd3('0x3d4')]=_[_0x1cd3('0xf2')](_0x10c28f[_0x1cd3('0x3d4')],_0x2aabff['query']);if(_[_0x1cd3('0x398')](_0x10c28f[_0x1cd3('0x15fb')]['rows'])){_0x10c28f['query'][_0x1cd3('0x1490')]=[];}else if(_['isEmpty'](_0x10c28f['query']['OpenchannelAccountId'])){_0x10c28f[_0x1cd3('0x3d4')][_0x1cd3('0x1490')]=_(_0x10c28f[_0x1cd3('0x15fb')][_0x1cd3('0xf6')])['map']('id')[_0x1cd3('0x1675')]()[_0x1cd3('0x3db')]();}if(_0x10c28f[_0x1cd3('0x3d4')]['sort']&&_0x10c28f[_0x1cd3('0x3d4')][_0x1cd3('0x550')][_0x1cd3('0x45e')](_0x1cd3('0x1676'))>=0x0){_0x10c28f[_0x1cd3('0x3d4')]=_[_0x1cd3('0x3e3')](_0x10c28f[_0x1cd3('0x3d4')],_0x1cd3('0x550'));}_0x10c28f['query'][_0x1cd3('0x1751')]=!![];_0x10c28f['isSearchBarVisible']=_0x10c28f[_0x1cd3('0x3d4')][_0x1cd3('0x395')]?!![]:![];}}catch(_0x53d662){console[_0x1cd3('0x434')](_0x53d662);}}else{var _0x480956={'$gte':moment()[_0x1cd3('0x12e')](_0x1cd3('0x6e8'))[_0x1cd3('0x12f')](0x0,!![])['format'](),'$lte':moment()[_0x1cd3('0x131')](_0x1cd3('0x6e8'))[_0x1cd3('0x12f')](0x0,!![])[_0x1cd3('0x130')]()};var _0x2cf24d={'OpenchannelAccountId':_[_0x1cd3('0x3d9')](_0x10c28f['openchannelAccounts'][_0x1cd3('0xf6')],'id'),'createdAt':_0x480956};_0x10c28f[_0x1cd3('0x3d4')]=_[_0x1cd3('0xf2')](_0x10c28f[_0x1cd3('0x3d4')],_0x2cf24d);}_0xaa534b['on'](_0x1cd3('0x1773'),_0x4b280e);_0xaa534b['on']('openchannelInteraction:update',_0x4b280e);_0xaa534b['on'](_0x1cd3('0x1774'),_0x2998e3);_0xaa534b['on']('openchannelMessage:save',_0x49c612);_0xaa534b['on'](_0x1cd3('0x1775'),_0x49c612);_0xaa534b['on']('user_has_openchannel_interactions:save',_0x498f10);_0xaa534b['on'](_0x1cd3('0x1776'),_0x55462a);_0x4d7159(_0x10c28f['query'][_0x1cd3('0x8fd')]);});}function _0x43d450(){return[{'name':_0x1cd3('0x132c'),'key':_0x1cd3('0xe0d'),'type':_0x1cd3('0x406'),'label':_0x1cd3('0x1316')},{'name':_0x1cd3('0x1317'),'key':_0x1cd3('0x167e'),'type':_0x1cd3('0x44f'),'label':_0x1cd3('0x1318'),'customOptions':[{'value':0x0,'translate':_0x1cd3('0x1319')},{'value':0x1,'translate':'DASHBOARDS.READ'},{'value':null,'translate':_0x1cd3('0x910')}]},{'name':'Status','key':'closed','type':_0x1cd3('0x44f'),'label':'DASHBOARDS.SELECT_STATUS','customOptions':[{'value':0x0,'translate':'DASHBOARDS.OPENED'},{'value':0x1,'translate':'DASHBOARDS.CLOSED'},{'value':null,'translate':_0x1cd3('0x910')}]},{'name':_0x1cd3('0x1591'),'key':_0x1cd3('0x1490'),'type':_0x1cd3('0x3fa'),'label':_0x1cd3('0x167f'),'options':_0x10c28f[_0x1cd3('0x15fb')][_0x1cd3('0xf6')],'clearAll':![]},{'name':'Agent','key':_0x1cd3('0x1226'),'type':_0x1cd3('0x44f'),'label':_0x1cd3('0x131f'),'customOptions':[{'value':_0x10c28f[_0x1cd3('0x368')]['id'],'translate':_0x1cd3('0x1656')},{'value':_0x1cd3('0x220'),'translate':_0x1cd3('0x1320')},{'value':undefined,'translate':_0x1cd3('0x910')}]},{'name':'Tag','key':_0x1cd3('0xb76'),'type':_0x1cd3('0x3fa'),'label':_0x1cd3('0x1321'),'options':_0x10c28f[_0x1cd3('0x921')][_0x1cd3('0xf6')],'placeholder':_0x1cd3('0x1322')}];}function _0x31c731(_0x35eba2){_0x10c28f[_0x1cd3('0x1681')]=![];_0x10c28f[_0x1cd3('0x176a')]=_0x35eba2||{'count':0x0,'rows':[]};for(var _0x544879=0x0;_0x544879<_0x10c28f[_0x1cd3('0x176a')]['rows'][_0x1cd3('0x7a')];_0x544879+=0x1){_0x386f02(_0x10c28f[_0x1cd3('0x176a')]['rows'][_0x544879]);}}function _0x4d7159(_0x568e76,_0x5979f4){_0x10c28f[_0x1cd3('0x1681')]=!![];if(!_0x568e76){_0x10c28f[_0x1cd3('0x3d4')]['page']=0x1;}_0x10c28f[_0x1cd3('0x3d4')]['offset']=(_0x10c28f[_0x1cd3('0x3d4')]['page']-0x1)*_0x10c28f[_0x1cd3('0x3d4')]['limit'];var _0x3e169a=_0x19b6c7[_0x1cd3('0x385')]['getItem'](_0x1cd3('0x1772')+_0x10c28f[_0x1cd3('0x368')]['id']);_0x3e169a=_0x3e169a?JSON[_0x1cd3('0x79')](_0x3e169a):{};_0x3e169a[_0x1cd3('0x3d4')]=_0x10c28f[_0x1cd3('0x3d4')];_0x19b6c7['localStorage'][_0x1cd3('0x3e2')](_0x1cd3('0x1772')+_0x10c28f['user']['id'],JSON[_0x1cd3('0x438')](_0x3e169a));_0x10c28f[_0x1cd3('0x539')]=_0x296f13['openchannelInteraction'][_0x1cd3('0x361')](_0x10c28f[_0x1cd3('0x3d4')],_0x31c731)['$promise'];}function _0x471b72(_0x2f4ef9,_0x8ab808){_0x5c9fc5[_0x1cd3('0x70b')]['vm'][_0x1cd3('0x1574')](_0x1cd3('0x22e'),_0x8ab808);}function _0x2306c5(_0x12ce61,_0x7fcf7a,_0x5653bb){_0x296f13['openchannelInteraction'][_0x1cd3('0x489')]({'id':_0x7fcf7a['id'],'attachments':_0x5653bb})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x1f117b){var _0x11850b=[_0x1f117b['buffer']];var _0x2bbe72=_0x1cd3('0x1777')+_0x7fcf7a['id']+_0x1cd3('0x1334');var _0x488d67=new Blob(_0x11850b,{'type':_0x1f117b['type']});var _0x15f7fd=window[_0x1cd3('0x924')][_0x1cd3('0x3aa')]('a');_0x15f7fd[_0x1cd3('0x481')](_0x1cd3('0x3ab'),URL[_0x1cd3('0x48a')](_0x488d67));_0x15f7fd['setAttribute'](_0x1cd3('0x489'),_0x2bbe72);document[_0x1cd3('0x380')][_0x1cd3('0xd4e')](_0x15f7fd);_0x15f7fd['click']();})[_0x1cd3('0xfd')](function(_0x2304ef){if(_0x2304ef[_0x1cd3('0x439')]&&_0x2304ef['data'][_0x1cd3('0xd34')]&&_0x2304ef[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length']){for(var _0x2aba4a=0x0;_0x2aba4a<_0x2304ef['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x2aba4a+=0x1){_0x19bd20[_0x1cd3('0x434')]({'title':_0x2304ef['data'][_0x1cd3('0xd34')][_0x2aba4a]['type'],'msg':_0x2304ef['data'][_0x1cd3('0xd34')][_0x2aba4a][_0x1cd3('0x43a')]});}}else{_0x19bd20['error']({'title':_0x2304ef['status']?_0x1cd3('0x435')+_0x2304ef[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x2304ef[_0x1cd3('0xd35')]:_0x1cd3('0x176e'),'msg':_0x2304ef[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x2304ef[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x2304ef[_0x1cd3('0x43b')]()});}});}function _0x38c50b(_0x370a02,_0x15e943){var _0x5c2e14=_0x10c28f['user'][_0x1cd3('0x604')]||_0x10c28f[_0x1cd3('0x368')]['chatPause']||_0x10c28f[_0x1cd3('0x368')]['mailPause']||_0x10c28f[_0x1cd3('0x368')][_0x1cd3('0x138c')]||_0x10c28f['user'][_0x1cd3('0x138f')];var _0x4e276f=!_0x15e943['Account'][_0x1cd3('0x158c')];_0x299f0d[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1592'),'controllerAs':'vm','templateUrl':'app/main/apps/dashboards/views/general/agent/interaction/dispose/dialog.html','parent':angular['element'](_0x2202e9[_0x1cd3('0x380')]),'clickOutsideToClose':_0x4e276f,'escapeToClose':_0x4e276f,'onRemoving':function(_0x34befe,_0x294d39){if(_0x10c28f[_0x1cd3('0x368')]&&_0x15e943[_0x1cd3('0x1591')]['mandatoryDisposition']&&!_0x5c2e14){_0x296f13[_0x1cd3('0x368')][_0x1cd3('0x13ed')]({'id':_0x10c28f[_0x1cd3('0x368')]['id']})[_0x1cd3('0x81')]['catch'](function(_0x607552){console[_0x1cd3('0x434')](_0x607552);});}},'locals':{'user':_0x10c28f['user'],'channel':_0x1cd3('0x22e'),'interaction':_0x15e943}});}function _0x386f02(_0x3636f1){if(_0x3636f1[_0x1cd3('0x606')]){_0x3636f1[_0x1cd3('0x133e')]=_0x3636f1[_0x1cd3('0x606')];}else if(_0x3636f1[_0x1cd3('0x1323')]){_0x3636f1[_0x1cd3('0x133e')]=(_0x3636f1[_0x1cd3('0x1323')]['firstName']||'')+'\x20'+(_0x3636f1[_0x1cd3('0x1323')]['lastName']||'');}else{_0x3636f1[_0x1cd3('0x133e')]=_0x25d885[_0x1cd3('0x44a')](_0x1cd3('0x133f'));}}function _0x36caed(_0x46534d){if(_0x46534d[_0x1cd3('0x1226')]){if(_0x46534d['UserId']===_0x10c28f[_0x1cd3('0x368')]['id']){return _0x25d885[_0x1cd3('0x44a')](_0x1cd3('0x1656'));}else{return _0x46534d[_0x1cd3('0x1338')][_0x1cd3('0xd3')]+'\x20<'+_0x46534d[_0x1cd3('0x1338')][_0x1cd3('0x311')]+'>';}}return _0x25d885['instant'](_0x1cd3('0x1320'));}function _0x5b2853(_0x12737e){if(_0x12737e[_0x1cd3('0x1591')]){return _0x12737e[_0x1cd3('0x1591')][_0x1cd3('0x65c')];}return _0x25d885[_0x1cd3('0x44a')]('DASHBOARDS.UNKNOWN');}function _0x4b25b5(_0xa09710,_0x50e277){if(_0x50e277['interaction']){_0x50e277[_0x1cd3('0x1332')][_0x1cd3('0x15a6')]=!![];showMailInteraction(null,_0x50e277[_0x1cd3('0x1332')]);}else{_0x299f0d[_0x1cd3('0x37e')]({'controller':'ComposeOpenchannelInteractionDialogController','controllerAs':'vm','templateUrl':'app/main/apps/dashboards/views/general/agent/interaction/composeOpenchannel/dialog.html','parent':angular[_0x1cd3('0x37f')](_0x2202e9[_0x1cd3('0x380')]),'clickOutsideToClose':![],'locals':{'account':_0x50e277['account'],'message':_0x50e277[_0x1cd3('0xd3b')],'type':_0x1cd3('0x1584'),'interaction':{}},'fullscreen':!![]})[_0x1cd3('0x77')](function(_0x12cb70){if(_0x12cb70){if(_0x12cb70['message']&&_0x12cb70[_0x1cd3('0x43a')][_0x1cd3('0x1745')]){var _0x3b3a07={'id':_0x50e277['id'],'channel':_0x1cd3('0x22e'),'account':_0x12cb70[_0x1cd3('0x15d3')],'message':_0x12cb70[_0x1cd3('0x43a')]};_0x5c20ac[_0x1cd3('0x378')](_0x3b3a07);}else{var _0x67e0f5=_0x12cb70;return _0x296f13[_0x1cd3('0xae5')][_0x1cd3('0x9de')]({'id':_0x50e277['account']['id']},_0x67e0f5)[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x61a51e){_0x19bd20[_0x1cd3('0x473')]({'title':_0x1cd3('0x160d'),'msg':_0x1cd3('0x160e')});_0x5c9fc5[_0x1cd3('0x70b')]['vm'][_0x1cd3('0x1574')](_0x1cd3('0x22e'),_0x61a51e);})[_0x1cd3('0xfd')](function(_0x1ca2c8){if(_0x1ca2c8[_0x1cd3('0x439')]&&_0x1ca2c8[_0x1cd3('0x439')]['errors']&&_0x1ca2c8[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length']){for(var _0x3e91bf=0x0;_0x3e91bf<_0x1ca2c8[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x3e91bf++){_0x19bd20['error']({'title':_0x1ca2c8['data'][_0x1cd3('0xd34')][_0x3e91bf][_0x1cd3('0x424')],'msg':_0x1ca2c8[_0x1cd3('0x439')]['errors'][_0x3e91bf][_0x1cd3('0x43a')]});}}else{_0x19bd20[_0x1cd3('0x434')]({'title':_0x1ca2c8['status']?_0x1cd3('0x435')+_0x1ca2c8[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x1ca2c8[_0x1cd3('0xd35')]:_0x1cd3('0x1778'),'msg':_0x1ca2c8['data']?JSON[_0x1cd3('0x438')](_0x1ca2c8[_0x1cd3('0x439')]['message']):_0x1ca2c8['message']||_0x1ca2c8[_0x1cd3('0x43b')]()});}});}}});}}function _0x46961a(_0x4b2017,_0x5ef598){_0x299f0d['show']({'controller':_0x1cd3('0x1779'),'controllerAs':'vm','templateUrl':'app/main/apps/dashboards/views/general/agent/interaction/composeOpenchannel/dialog.html','parent':angular['element'](_0x2202e9[_0x1cd3('0x380')]),'clickOutsideToClose':![],'locals':{'account':_0x5ef598,'message':{},'type':_0x1cd3('0x160a'),'interaction':{}},'fullscreen':!![]})[_0x1cd3('0x77')](function(_0x192a10){if(_0x192a10){if(_0x192a10[_0x1cd3('0x43a')]&&_0x192a10[_0x1cd3('0x43a')][_0x1cd3('0x1745')]){var _0x28ca25={'channel':_0x1cd3('0x22e'),'account':_0x5ef598,'message':_0x192a10[_0x1cd3('0x43a')],'contact':_0x192a10['contact']};_0x5c20ac[_0x1cd3('0x425')](_0x28ca25);}else{var _0x5401a0=_0x192a10;return _0x296f13[_0x1cd3('0xae5')][_0x1cd3('0x9de')]({'id':_0x5ef598['id']},_0x5401a0)[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x210fd9){_0x19bd20[_0x1cd3('0x473')]({'title':_0x1cd3('0x160d'),'msg':_0x1cd3('0x160e')});_0x5c9fc5[_0x1cd3('0x70b')]['vm']['addInteractionTab']('openchannel',_0x210fd9);})['catch'](function(_0x1f34d2){if(_0x1f34d2[_0x1cd3('0x439')]&&_0x1f34d2[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x1f34d2[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){for(var _0x3e7707=0x0;_0x3e7707<_0x1f34d2['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x3e7707++){_0x19bd20['error']({'title':_0x1f34d2[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x3e7707][_0x1cd3('0x424')],'msg':_0x1f34d2[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x3e7707]['message']});}}else{_0x19bd20['error']({'title':_0x1f34d2[_0x1cd3('0x3a6')]?'API:'+_0x1f34d2[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x1f34d2['statusText']:_0x1cd3('0x1778'),'msg':_0x1f34d2[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x1f34d2[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x1f34d2['message']||_0x1f34d2[_0x1cd3('0x43b')]()});}});}}});}function _0x498f10(_0x5322ec){var _0x4bebd4;var _0x4f2b3e=_[_0x1cd3('0x442')](_0x10c28f[_0x1cd3('0x176a')][_0x1cd3('0xf6')],{'id':_0x5322ec[_0x1cd3('0x177a')]});if(_0x4f2b3e&&_0x4f2b3e[_0x1cd3('0xa0')]){_0x4bebd4=_[_0x1cd3('0x442')](_0x4f2b3e['Users'],{'id':_0x5322ec['UserId']});if(!_0x4bebd4){_0x4f2b3e[_0x1cd3('0xa0')][_0x1cd3('0x7b')]({'id':_0x5322ec[_0x1cd3('0x1226')]});}}}function _0x55462a(_0x575f7c){var _0x2363bf=_[_0x1cd3('0x442')](_0x10c28f[_0x1cd3('0x176a')][_0x1cd3('0xf6')],{'id':_0x575f7c['OpenchannelInteractionId']});if(_0x2363bf&&_0x2363bf[_0x1cd3('0xa0')]){_['remove'](_0x2363bf['Users'],{'id':_0x575f7c[_0x1cd3('0x1226')]});}}function _0x4b280e(_0x413172){if(_0x413172){var _0x5ed67a=_[_0x1cd3('0x442')](_0x10c28f[_0x1cd3('0x176a')][_0x1cd3('0xf6')],{'id':_0x413172['id']});if(_0x5ed67a){_0x5ed67a[_0x1cd3('0xa0')]=[];if(_0x413172['closed']){_0x5ed67a[_0x1cd3('0x132e')]=0x0;}if(_0x10c28f[_0x1cd3('0x3d4')][_0x1cd3('0x550')]){var _0x38c6c0=_[_0x1cd3('0x13d4')](_0x10c28f['query'][_0x1cd3('0x550')],'-')?_0x1cd3('0x13d5'):'asc';_0x10c28f[_0x1cd3('0x176a')][_0x1cd3('0xf6')]=_['orderBy'](_0x10c28f[_0x1cd3('0x176a')]['rows'],_[_0x1cd3('0x1683')](_0x10c28f[_0x1cd3('0x3d4')][_0x1cd3('0x550')],'-'),_0x38c6c0);}_[_0x1cd3('0xf2')](_0x5ed67a,_[_0x1cd3('0x5e8')](_0x413172,_['keys'](_0x5ed67a)));}else{_0x4d7159(_0x10c28f['query'][_0x1cd3('0x8fd')]);}}}function _0x2998e3(_0x1bd319){if(_0x1bd319){var _0x4fc877=_['find'](_0x10c28f['openchannelInteractions'][_0x1cd3('0xf6')],{'id':_0x1bd319['id']});if(_0x4fc877){_0x4fc877['Tags']=_0x1bd319['tags']||[];_[_0x1cd3('0xf2')](_0x4fc877,_['pick'](_0x1bd319,_[_0x1cd3('0x80')](_0x4fc877)));}}}function _0x49c612(_0x15b6a7){if(_0x15b6a7&&!_0x15b6a7[_0x1cd3('0x1684')]){var _0x5a5525=_[_0x1cd3('0x442')](_0x10c28f[_0x1cd3('0x176a')][_0x1cd3('0xf6')],{'id':_0x15b6a7[_0x1cd3('0x177a')]});if(_0x5a5525){var _0x42abbe=_[_0x1cd3('0x442')](_0x5a5525['Messages'],{'id':_0x15b6a7['id']});if(_0x42abbe){_[_0x1cd3('0xf2')](_0x42abbe,_['pick'](_0x15b6a7,_[_0x1cd3('0x80')](_0x42abbe)));}else{if(_[_0x1cd3('0x472')](_0x5a5525[_0x1cd3('0x1317')])){_0x5a5525[_0x1cd3('0x1317')]={'count':0x0};}if(!_0x15b6a7[_0x1cd3('0x167e')]){_0x5a5525[_0x1cd3('0x1317')][_0x1cd3('0x466')]+=0x1;}}}}}function _0x767a14(){_0x10c28f[_0x1cd3('0x165a')]=![];}function _0x43519f(){_0x10c28f[_0x1cd3('0x165a')]=!![];}function _0x5f449a(){_0x10c28f[_0x1cd3('0x165a')]=![];_0x299f0d[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x3c9'),'controllerAs':'vm','templateUrl':_0x1cd3('0x132f'),'parent':angular[_0x1cd3('0x37f')](_0x2202e9['body']),'clickOutsideToClose':![],'locals':{'color':_0x10c28f['sectionColor'],'fields':_0x10c28f[_0x1cd3('0x3d1')]['fields'],'storagePath':_0x1cd3('0x177b')},'fullscreen':!![]})[_0x1cd3('0x77')](function(_0x4940d1){_0x10c28f[_0x1cd3('0x3d4')][_0x1cd3('0x3e4')]=_0x4940d1===![]?undefined:_0x4940d1;if(_0x10c28f[_0x1cd3('0x3d4')][_0x1cd3('0x3e4')]||_0x4940d1===![])_0x4d7159();})[_0x1cd3('0xfd')](function(_0x185a32){_0x19bd20[_0x1cd3('0x434')]({'title':_0x1cd3('0x1331'),'msg':_0x185a32['data']?JSON[_0x1cd3('0x438')](_0x185a32[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x185a32[_0x1cd3('0x43b')]()});});}var _0x223652=!![];var _0x5aa7b5=0x1;_0x5c9fc5[_0x1cd3('0x4d6')](_0x1cd3('0xd56'),function(_0x18725b,_0x37f5c9){if(_0x223652){_0x3fa526(function(){_0x223652=![];});}else{if(!_0x37f5c9){_0x5aa7b5=_0x10c28f[_0x1cd3('0x3d4')]['page'];}if(_0x18725b!==_0x37f5c9){_0x10c28f[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}if(!_0x18725b){_0x10c28f['query']['page']=_0x5aa7b5;}_0x4d7159(_0x10c28f['query'][_0x1cd3('0x8fd')]);}});_0x5c9fc5[_0x1cd3('0x4d3')](_0x1cd3('0x523'),function(){_0xaa534b[_0x1cd3('0x6a3')](_0x1cd3('0x177c'));_0xaa534b[_0x1cd3('0x6a3')]('openchannelMessage:update');_0xaa534b['removeAllListeners'](_0x1cd3('0x1773'));_0xaa534b[_0x1cd3('0x6a3')](_0x1cd3('0x1774'));_0xaa534b[_0x1cd3('0x6a3')](_0x1cd3('0x177d'));_0xaa534b['removeAllListeners'](_0x1cd3('0x177e'));_0xaa534b[_0x1cd3('0x6a3')](_0x1cd3('0x1776'));});}}());(function(){'use strict';_0x35c55c[_0x1cd3('0xc')]=[_0x1cd3('0x372'),_0x1cd3('0x460'),_0x1cd3('0x3e7'),_0x1cd3('0x3c5'),'$stateParams',_0x1cd3('0x900'),'Auth',_0x1cd3('0x370'),_0x1cd3('0x371')];angular['module'](_0x1cd3('0x2a'))[_0x1cd3('0x39b')](_0x1cd3('0x177f'),_0x35c55c);function _0x35c55c(_0xaeb056,_0x1da019,_0x2397df,_0x323810,_0x1396f1,_0x302c06,_0x79eb6f,_0x273964,_0x5d0f77){var _0x30d387=this;_0x30d387[_0x1cd3('0x3ca')]=_0x79eb6f[_0x1cd3('0x5d')]();_0x30d387['plugin']={};_0x30d387['onInit']=_0x5bbeda;_0x30d387[_0x1cd3('0x1780')]=_0x41b220;_0x5bbeda();function _0x5bbeda(_0x3c6609,_0x5e8c8d,_0x3f997f){_0x30d387['license']=_0x3c6609;_0x30d387[_0x1cd3('0xc49')]=_0x5e8c8d;_0x30d387[_0x1cd3('0xc78')]=_0x3f997f;}function _0x41b220(){return _0x302c06['trustAsResourceUrl'](_0x30d387[_0x1cd3('0xc78')][_0x1cd3('0x1781')]);}_0x1da019[_0x1cd3('0x4d3')](_0x1cd3('0x1782'),function(_0x264161,_0x436793){_0x30d387[_0x1cd3('0xc78')]=_0x436793['plugin'];});}}());(function(){'use strict';_0x232542[_0x1cd3('0xc')]=['$scope',_0x1cd3('0x371'),_0x1cd3('0x3e7'),_0x1cd3('0x370'),_0x1cd3('0x461'),_0x1cd3('0x56')];angular[_0x1cd3('0x0')](_0x1cd3('0x2a'))[_0x1cd3('0x39b')](_0x1cd3('0x1783'),_0x232542);function _0x232542(_0x3367ab,_0x1f4c14,_0x262ef0,_0x223841,_0x462bea,_0x375ad4){var _0x6138ec=this;_0x6138ec['currentUser']=_0x375ad4[_0x1cd3('0x5d')]();_0x6138ec[_0x1cd3('0x1784')]={};_0x6138ec[_0x1cd3('0xd45')]=_0x1cd3('0x1784');_0x6138ec[_0x1cd3('0x3d4')]={'UserId':_0x6138ec['currentUser']['id'],'fields':_0x1cd3('0x1785'),'sort':_0x1cd3('0x5b'),'limit':0xa,'page':0x1,'type':null};_0x6138ec[_0x1cd3('0xe75')]=_0x3c3591;_0x6138ec[_0x1cd3('0x1786')]=_0xcaabfd;_0x6138ec[_0x1cd3('0x473')]=_0x5c6ae0;_0x6138ec[_0x1cd3('0x1787')]=_0x1bcfbb;_0x6138ec[_0x1cd3('0x703')]=_0x4dbcdd;_0x6138ec[_0x1cd3('0x164f')]=_0x35c9b6;_0x6138ec[_0x1cd3('0x1650')]=_0x1b2bf2;function _0x4dbcdd(){_0x6138ec['quickFilters']=_0x41b8da();var _0x3ac628=_0x1f4c14[_0x1cd3('0x385')][_0x1cd3('0x3e0')](_0x1cd3('0x1788')+_0x6138ec['currentUser']['id']);if(_0x3ac628){try{_0x3ac628=JSON[_0x1cd3('0x79')](_0x3ac628);if(_0x3ac628['query']){_0x6138ec[_0x1cd3('0x3d4')]=_[_0x1cd3('0x3e3')](_0x3ac628[_0x1cd3('0x3d4')],[_0x1cd3('0x395'),'id']);_0x6138ec[_0x1cd3('0x3d4')][_0x1cd3('0x3c7')]=_0x1cd3('0x1789');_0x6138ec[_0x1cd3('0x3d4')][_0x1cd3('0x1226')]=_0x6138ec[_0x1cd3('0x3ca')]['id'];}}catch(_0x1bbe3d){console[_0x1cd3('0x434')](_0x1bbe3d);}}else{var _0x5cd2c1={'$gte':moment()[_0x1cd3('0x12e')](_0x1cd3('0x6e8'))[_0x1cd3('0x12f')](0x0,!![])[_0x1cd3('0x130')](),'$lte':moment()[_0x1cd3('0x131')](_0x1cd3('0x6e8'))[_0x1cd3('0x12f')](0x0,!![])[_0x1cd3('0x130')]()};_0x6138ec[_0x1cd3('0x3d4')][_0x1cd3('0xe0d')]=_0x5cd2c1;}_0x6138ec[_0x1cd3('0x165a')]=_0x6138ec[_0x1cd3('0x3d4')][_0x1cd3('0x395')]?!![]:![];_0x6138ec[_0x1cd3('0x1787')]();}function _0x3c3591(_0x2014ea,_0x5ad201){return _0x223841[_0x1cd3('0x6ee')]['download']({'id':_0x2014ea['id'],'exists':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x2be155){var _0x411251=[_0x2be155[_0x1cd3('0x6ef')]];var _0x519bef=new Blob(_0x411251,{'type':_0x2be155['type']});var _0x2b8412=window['document'][_0x1cd3('0x3aa')]('a');_0x2b8412['setAttribute'](_0x1cd3('0x3ab'),URL[_0x1cd3('0x48a')](_0x519bef));_0x2b8412[_0x1cd3('0x481')](_0x1cd3('0x489'),_0x2014ea['uniqueid']+_0x2014ea[_0x1cd3('0x130')]);_0x2b8412[_0x1cd3('0x52d')]();})['catch'](function(_0x169879){_0x462bea[_0x1cd3('0x434')]({'title':_0x169879[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x169879[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x169879[_0x1cd3('0xd35')]:_0x1cd3('0x178a'),'msg':_0x169879[_0x1cd3('0x439')]?JSON['stringify'](_0x169879['data']):_0x169879['toString']()});});}function _0xcaabfd(_0x43c0e1,_0x6fd174){return _0x223841[_0x1cd3('0x6ee')][_0x1cd3('0x178b')]({'id':_0x43c0e1['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x3fbfba){var _0x573155=[_0x3fbfba[_0x1cd3('0x6ef')]];var _0x328a23=_0x1cd3('0x489');var _0x57144f=new Blob(_0x573155,{'type':_0x3fbfba['type']});_0x328a23=_0x43c0e1['uniqueid'];var _0x1dead8=window[_0x1cd3('0x924')]['createElement']('a');_0x1dead8[_0x1cd3('0x481')](_0x1cd3('0x3ab'),URL[_0x1cd3('0x48a')](_0x57144f));_0x1dead8[_0x1cd3('0x481')](_0x1cd3('0x489'),_0x328a23);document[_0x1cd3('0x380')][_0x1cd3('0xd4e')](_0x1dead8);_0x1dead8[_0x1cd3('0x52d')]();})[_0x1cd3('0xfd')](function(_0x2a371a){_0x462bea[_0x1cd3('0x434')]({'title':_0x2a371a[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x2a371a[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x2a371a[_0x1cd3('0xd35')]:_0x1cd3('0x178a'),'msg':_0x2a371a[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x2a371a[_0x1cd3('0x439')]):_0x2a371a[_0x1cd3('0x43b')]()});});}function _0x41b8da(){return[{'name':_0x1cd3('0x132c'),'key':'createdAt','type':_0x1cd3('0x406'),'label':_0x1cd3('0x1316')},{'name':'Type','key':'type','type':_0x1cd3('0x44f'),'label':_0x1cd3('0x178c'),'customOptions':[{'value':_0x1cd3('0x311'),'translate':_0x1cd3('0x178d')},{'value':_0x1cd3('0xa4'),'translate':'VOICE.INBOUND'},{'value':_0x1cd3('0x128'),'translate':_0x1cd3('0x178e')},{'value':_0x1cd3('0x159f'),'translate':_0x1cd3('0x178f')},{'value':null,'translate':_0x1cd3('0x1790')}]}];}function _0x5c6ae0(_0x57c028){_0x6138ec[_0x1cd3('0x1681')]=![];_0x6138ec['voiceRecordings']=_0x57c028||{'count':0x0,'rows':[]};}function _0x1bcfbb(){_0x6138ec[_0x1cd3('0x1681')]=!![];_0x6138ec[_0x1cd3('0x3d4')]['offset']=(_0x6138ec[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0x6138ec[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];var _0x28c502={'query':_0x6138ec[_0x1cd3('0x3d4')]};_0x1f4c14[_0x1cd3('0x385')]['setItem'](_0x1cd3('0x1788')+_0x6138ec[_0x1cd3('0x3ca')]['id'],JSON[_0x1cd3('0x438')](_0x28c502));_0x6138ec['promise']=_0x223841['voiceRecording'][_0x1cd3('0x361')](_0x6138ec[_0x1cd3('0x3d4')],_0x5c6ae0)[_0x1cd3('0x81')];}function _0x35c9b6(){_0x6138ec[_0x1cd3('0x3d4')][_0x1cd3('0x395')]=undefined;_0x6138ec[_0x1cd3('0x165a')]=![];}function _0x1b2bf2(){_0x6138ec[_0x1cd3('0x165a')]=!![];}var _0x59ef0d=!![];var _0x4f8c87=0x1;_0x3367ab[_0x1cd3('0x4d6')](_0x1cd3('0xd56'),function(_0x5cb453,_0x2b8bd9){if(_0x59ef0d){_0x262ef0(function(){_0x59ef0d=![];});}else{if(!_0x2b8bd9){_0x4f8c87=_0x6138ec[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0x5cb453!==_0x2b8bd9){_0x6138ec['query'][_0x1cd3('0x8fd')]=0x1;}if(!_0x5cb453){_0x6138ec[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0x4f8c87;}_0x6138ec[_0x1cd3('0x1787')]();}});}}());(function(){'use strict';_0x54c209[_0x1cd3('0xc')]=['$scope','$window','$timeout',_0x1cd3('0x3c5'),_0x1cd3('0x372'),_0x1cd3('0x461'),_0x1cd3('0x370'),_0x1cd3('0x56')];angular[_0x1cd3('0x0')](_0x1cd3('0x2a'))[_0x1cd3('0x39b')](_0x1cd3('0x1791'),_0x54c209);function _0x54c209(_0x2563f3,_0x5ced2e,_0x264b4b,_0x2b0475,_0x390d8d,_0x5b6e55,_0x30c5df,_0x28c8a6){var _0x2b30bb=this;_0x2b30bb[_0x1cd3('0x3ca')]=_0x28c8a6['getCurrentUser']();_0x2b30bb[_0x1cd3('0x1792')]=['Lowest',_0x1cd3('0xf44'),_0x1cd3('0xf43'),_0x1cd3('0xf42'),_0x1cd3('0xf41')];_0x2b30bb[_0x1cd3('0xd27')]={'readOnly':![],'canEdit':!![],'canDelete':!![]};_0x2b30bb[_0x1cd3('0x1793')]={};_0x2b30bb[_0x1cd3('0x3d4')]={'id':_0x2b30bb[_0x1cd3('0x3ca')]['id'],'fields':_0x1cd3('0x1794'),'sort':_0x1cd3('0x14ad'),'limit':0xa,'page':0x1};_0x2b30bb[_0x1cd3('0x1634')]={'rows':[],'count':0x0};_0x2b30bb[_0x1cd3('0x473')]=_0x230104;_0x2b30bb[_0x1cd3('0x1795')]=_0x361c3d;_0x2b30bb[_0x1cd3('0x703')]=_0xd44245;_0x2b30bb['isDateBeforeToday']=_0x1a5c9c;_0x2b30bb[_0x1cd3('0x1796')]=_0x4d059c;_0x2b30bb[_0x1cd3('0xe0a')]=_0x28fdc5;function _0xd44245(){_0x30c5df[_0x1cd3('0x368')]['getQueues']({'id':_0x28c8a6[_0x1cd3('0x5d')]()['id'],'fields':'id,name','channel':_0x1cd3('0x121'),'type':'outbound','nolimit':!![]})[_0x1cd3('0x81')]['then'](function(_0x1c8ac9){_0x2b30bb[_0x1cd3('0x1634')]=_0x1c8ac9||{'count':0x0,'rows':[]};})[_0x1cd3('0x77')](function(){_0x2b30bb['quickFilters']=_0x2a6eaf();})['catch'](function(_0x930efa){console[_0x1cd3('0x434')](_0x930efa);})['finally'](function(){var _0xc3091d=_0x5ced2e[_0x1cd3('0x385')]['getItem'](_0x1cd3('0x1797')+_0x2b30bb[_0x1cd3('0x3ca')]['id']);if(_0xc3091d){try{_0xc3091d=JSON[_0x1cd3('0x79')](_0xc3091d);if(_0xc3091d[_0x1cd3('0x3d4')]){_0x2b30bb[_0x1cd3('0x3d4')]=_[_0x1cd3('0x3e3')](_0xc3091d[_0x1cd3('0x3d4')],[_0x1cd3('0x395')]);}}catch(_0x4201ab){console[_0x1cd3('0x434')](_0x4201ab);}}else{var _0x3764cc={'$gte':moment()[_0x1cd3('0x12e')](_0x1cd3('0x6e8'))[_0x1cd3('0x12f')](0x0,!![])[_0x1cd3('0x130')](),'$lte':moment()['endOf'](_0x1cd3('0x6e8'))[_0x1cd3('0x12f')](0x0,!![])[_0x1cd3('0x130')]()};_0x2b30bb['query']['createdAt']=_0x3764cc;}_0x2b30bb['getScheduledCalls']();});}function _0x230104(_0x375f41){_0x2b30bb[_0x1cd3('0x1681')]=![];_0x2b30bb[_0x1cd3('0x1793')]=_0x375f41||{'count':0x0,'rows':[]};}function _0x2a6eaf(){return[{'name':_0x1cd3('0x132c'),'key':_0x1cd3('0xe0d'),'type':'date','label':_0x1cd3('0x1316')},{'name':'Campaigns','key':_0x1cd3('0x1798'),'type':_0x1cd3('0x3fa'),'label':_0x1cd3('0x1799'),'options':_0x2b30bb['queueCampaigns'][_0x1cd3('0xf6')]}];}function _0x361c3d(){_0x2b30bb[_0x1cd3('0x1681')]=!![];_0x2b30bb['query']['id']=_0x2b30bb[_0x1cd3('0x3ca')]['id'];_0x2b30bb[_0x1cd3('0x3d4')][_0x1cd3('0x1751')]=!![];_0x2b30bb[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0x2b30bb[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0x2b30bb['query'][_0x1cd3('0x8fe')];var _0x365fe3={'query':_0x2b30bb[_0x1cd3('0x3d4')]};_0x5ced2e[_0x1cd3('0x385')][_0x1cd3('0x3e2')](_0x1cd3('0x1797')+_0x2b30bb[_0x1cd3('0x3ca')]['id'],JSON[_0x1cd3('0x438')](_0x365fe3));_0x2b30bb[_0x1cd3('0x539')]=_0x30c5df[_0x1cd3('0x368')][_0x1cd3('0x1795')](_0x2b30bb['query'],_0x230104)[_0x1cd3('0x81')];}function _0x4d059c(_0x4d1d5d,_0x38892c){_0x2b0475[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1496'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1497'),'parent':angular[_0x1cd3('0x37f')](_0x390d8d['body']),'targetEvent':_0x4d1d5d,'clickOutsideToClose':!![],'locals':{'queueCampaign':null,'hopper':_0x38892c,'hoppers':_0x2b30bb['scheduledCalls'][_0x1cd3('0xf6')],'license':null,'setting':null,'crudPermissions':_0x2b30bb[_0x1cd3('0xd27')]}});}function _0xf7919d(_0x58a02c){_0x30c5df[_0x1cd3('0xb47')]['delete']({'id':_0x58a02c['id']})[_0x1cd3('0x81')]['then'](function(){_['remove'](_0x2b30bb['scheduledCalls']['rows'],{'id':_0x58a02c['id']});_0x2b30bb[_0x1cd3('0x1793')][_0x1cd3('0x466')]-=0x1;if(!_0x2b30bb[_0x1cd3('0x1793')][_0x1cd3('0xf6')]['length']){_0x2b30bb[_0x1cd3('0x1795')]();}_0x5b6e55['success']({'title':_0x1cd3('0x179a'),'msg':_0x58a02c[_0x1cd3('0x98')]?_0x1cd3('0x179b'):''});})[_0x1cd3('0xfd')](function(_0x1f4b0b){if(_0x1f4b0b['data']&&_0x1f4b0b['data'][_0x1cd3('0xd34')]&&_0x1f4b0b['data']['errors'][_0x1cd3('0x7a')]){_0x2b30bb[_0x1cd3('0xd34')]=_0x1f4b0b['data'][_0x1cd3('0xd34')]||[{'message':_0x1f4b0b[_0x1cd3('0x43b')](),'type':_0x1cd3('0x179c')}];for(var _0x1fac25=0x0;_0x1fac25<_0x1f4b0b[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x1fac25++){_0x5b6e55[_0x1cd3('0x434')]({'title':_0x1f4b0b[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1fac25][_0x1cd3('0x424')],'msg':_0x1f4b0b[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1fac25][_0x1cd3('0x43a')]});}}else{_0x5b6e55[_0x1cd3('0x434')]({'title':_0x1f4b0b['status']?_0x1cd3('0x435')+_0x1f4b0b[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x1f4b0b[_0x1cd3('0xd35')]:_0x1cd3('0x179c'),'msg':_0x1f4b0b['data']?JSON[_0x1cd3('0x438')](_0x1f4b0b['data'][_0x1cd3('0x43a')]):_0x1f4b0b[_0x1cd3('0x43a')]||_0x1f4b0b[_0x1cd3('0x43b')]()});}});}function _0x28fdc5(_0xafdca2,_0x38be7f){var _0x510ad1=_0x2b0475['confirm']()[_0x1cd3('0x486')](_0x1cd3('0x179d'))[_0x1cd3('0xd60')](_0x1cd3('0x179e')+_0x1cd3('0xd53'))['ariaLabel']('delete\x20scheduled\x20call')['targetEvent'](_0x38be7f)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x2b0475[_0x1cd3('0x37e')](_0x510ad1)[_0x1cd3('0x77')](function(){_0xf7919d(_0xafdca2);},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}function _0x1a5c9c(_0x3c4ed1){return moment(_0x3c4ed1)[_0x1cd3('0x179f')](moment());}var _0x56c131=!![];var _0x5835bb=0x1;_0x2563f3[_0x1cd3('0x4d6')]('vm.query.filter',function(_0x1b04bf,_0x502679){if(_0x56c131){_0x264b4b(function(){_0x56c131=![];});}else{if(!_0x502679){_0x5835bb=_0x2b30bb[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0x1b04bf!==_0x502679){_0x2b30bb[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}if(!_0x1b04bf){_0x2b30bb[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0x5835bb;}_0x2b30bb[_0x1cd3('0x1795')]();}});}}());(function(){'use strict';_0x1bd1df[_0x1cd3('0xc')]=[_0x1cd3('0x460'),'$timeout',_0x1cd3('0x3c5'),_0x1cd3('0x372'),'$window','$translate',_0x1cd3('0x370'),'Auth','socket',_0x1cd3('0x461'),'draftManager'];angular[_0x1cd3('0x0')]('app.dashboards')[_0x1cd3('0x39b')](_0x1cd3('0x17a0'),_0x1bd1df);function _0x1bd1df(_0x4a8495,_0x2edf0d,_0x49201c,_0x449c24,_0x1e62a3,_0x251fda,_0x2c568e,_0x4bf98d,_0x17dde6,_0xd58cfb,_0x23f23a){var _0x8a1699=this;_0x8a1699[_0x1cd3('0x368')]=_0x4bf98d[_0x1cd3('0x5d')]();_0x8a1699['license']={};_0x8a1699[_0x1cd3('0xc49')]={};_0x8a1699[_0x1cd3('0x921')]={'count':0x0,'rows':[]};_0x8a1699[_0x1cd3('0x17a1')]={'count':0x0,'rows':[]};_0x8a1699[_0x1cd3('0x3d4')]={'includeAll':!![],'sort':'-updatedAt','limit':0xa,'page':0x1,'read':null,'closed':null};_0x8a1699[_0x1cd3('0x3d1')]={'fields':[{'name':'Id','column':'id','type':'number'},{'name':_0x1cd3('0x1323'),'column':'Contact','type':_0x1cd3('0x42b'),'options':{'searchFields':[_0x1cd3('0x1447'),_0x1cd3('0x1324'),_0x1cd3('0x1325')],'route':{'model':_0x1cd3('0xb3d'),'action':'get','params':{'fields':_0x1cd3('0x1668'),'Contact':_0x1cd3('0x42c'),'nolimit':!![]}},'extraOperators':[_0x1cd3('0x3fd')],'excludedOperators':[_0x1cd3('0x3fb')]}},{'name':_0x1cd3('0x1328'),'column':'body','type':_0x1cd3('0x401'),'options':{'excludedOperators':[_0x1cd3('0x44d'),_0x1cd3('0x3fb')]}},{'name':_0x1cd3('0x131b'),'column':_0x1cd3('0x1586'),'type':_0x1cd3('0x44f'),'values':[{'id':0x0,'translate':_0x1cd3('0x131d')},{'id':0x1,'translate':_0x1cd3('0x131e')}],'options':{'excludedOperators':[_0x1cd3('0x3fb')]}},{'name':_0x1cd3('0x1227'),'column':_0x1cd3('0x132a'),'type':_0x1cd3('0x42b'),'options':{'table':'i','route':{'model':_0x1cd3('0x368'),'action':_0x1cd3('0x361'),'params':{'role':'agent','fields':_0x1cd3('0x132b'),'nolimit':!![]}},'searchFields':[_0x1cd3('0xd3'),_0x1cd3('0x98')],'extraOperators':['$substring'],'excludedOperators':[_0x1cd3('0x3fb')]}},{'name':'Account','column':'SmsAccountId','type':_0x1cd3('0x3fa'),'options':{'route':{'model':_0x1cd3('0x368'),'action':'getSmsAccounts','params':{'id':_0x8a1699[_0x1cd3('0x368')]['id'],'nolimit':!![]}}}},{'name':_0x1cd3('0xf9'),'column':'Tag','type':_0x1cd3('0x3fa'),'options':{'route':{'model':'tag','action':_0x1cd3('0x361'),'params':{'nolimit':!![]}},'excludedOperators':['$notIn']}},{'name':_0x1cd3('0x132c'),'column':_0x1cd3('0xe0d'),'type':_0x1cd3('0x406'),'options':{'excludedOperators':[_0x1cd3('0x3fb')]}},{'name':_0x1cd3('0x132d'),'column':_0x1cd3('0x132e'),'type':_0x1cd3('0x44f'),'values':[{'id':0x1,'translate':_0x1cd3('0x131a')},{'id':0x0,'translate':'DASHBOARDS.UNREAD'}],'options':{'excludedOperators':[_0x1cd3('0x3fb')]}}]};_0x8a1699[_0x1cd3('0x166b')]=_0x1cd3('0x148c');_0x8a1699['onInit']=_0x294038;_0x8a1699[_0x1cd3('0x473')]=_0x1551ad;_0x8a1699['getSmsInteractions']=_0x1fe9c7;_0x8a1699['showSmsInteraction']=_0x3b306c;_0x8a1699[_0x1cd3('0x17a2')]=_0xac0e07;_0x8a1699[_0x1cd3('0x166f')]=_0x225d38;_0x8a1699['getContactLabel']=_0x548e66;_0x8a1699[_0x1cd3('0x1671')]=_0x1b793e;_0x8a1699['getSmsAccountLabel']=_0x215ff4;_0x8a1699['composeSmsInteraction']=_0x81c9af;_0x8a1699[_0x1cd3('0x164f')]=_0x324563;_0x8a1699['onSearchBarExpand']=_0x5cf42b;_0x8a1699['openAdvancedSearch']=_0x5519d7;_0x4a8495[_0x1cd3('0x4d3')]('openSmsDraft',_0x33bd0b);function _0x294038(_0x7b1b55,_0x50d1a5){_0x8a1699[_0x1cd3('0x463')]=_0x7b1b55;_0x8a1699[_0x1cd3('0xc49')]=_0x50d1a5;return _0x2c568e[_0x1cd3('0x368')]['get'+_['upperFirst']('smsAccounts')]({'id':_0x8a1699[_0x1cd3('0x368')]['id'],'nolimit':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x30da46){_0x8a1699['smsAccounts']=_0x30da46||{'count':0x0,'rows':[]};return _0x2c568e[_0x1cd3('0xb76')][_0x1cd3('0x361')]()[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x5b0c15){_0x8a1699[_0x1cd3('0x921')]=_0x5b0c15||{'count':0x0,'rows':[]};})['then'](function(){_0x8a1699[_0x1cd3('0x1315')]=_0x3141bf();})[_0x1cd3('0xfd')](function(_0x2d4866){console[_0x1cd3('0x434')](_0x2d4866);})[_0x1cd3('0x5dd')](function(){var _0x3f855e=_0x1e62a3[_0x1cd3('0x385')][_0x1cd3('0x3e0')](_0x1cd3('0x17a3')+_0x8a1699[_0x1cd3('0x368')]['id']);if(_0x3f855e){try{_0x3f855e=JSON[_0x1cd3('0x79')](_0x3f855e);if(_0x3f855e['query']){_0x8a1699['query']=_[_0x1cd3('0xf2')](_0x8a1699['query'],_0x3f855e['query']);if(_[_0x1cd3('0x398')](_0x8a1699['smsAccounts'][_0x1cd3('0xf6')])){_0x8a1699[_0x1cd3('0x3d4')][_0x1cd3('0x1491')]=[];}else if(_[_0x1cd3('0x398')](_0x8a1699[_0x1cd3('0x3d4')][_0x1cd3('0x1491')])){_0x8a1699[_0x1cd3('0x3d4')][_0x1cd3('0x1491')]=_(_0x8a1699['smsAccounts']['rows'])[_0x1cd3('0x3d9')]('id')[_0x1cd3('0x1675')]()['value']();}if(_0x8a1699[_0x1cd3('0x3d4')][_0x1cd3('0x550')]&&_0x8a1699['query'][_0x1cd3('0x550')][_0x1cd3('0x45e')](_0x1cd3('0x1676'))>=0x0){_0x8a1699['query']=_['omit'](_0x8a1699['query'],'sort');}_0x8a1699[_0x1cd3('0x3d4')][_0x1cd3('0x1751')]=!![];_0x8a1699['isSearchBarVisible']=_0x8a1699[_0x1cd3('0x3d4')][_0x1cd3('0x395')]?!![]:![];}}catch(_0x4a91f8){console['error'](_0x4a91f8);}}else{var _0x5c68ec={'$gte':moment()[_0x1cd3('0x12e')]('month')[_0x1cd3('0x12f')](0x0,!![])[_0x1cd3('0x130')](),'$lte':moment()[_0x1cd3('0x131')](_0x1cd3('0x6e8'))[_0x1cd3('0x12f')](0x0,!![])[_0x1cd3('0x130')]()};var _0x3390c3={'SmsAccountId':_[_0x1cd3('0x3d9')](_0x8a1699[_0x1cd3('0xefe')]['rows'],'id'),'createdAt':_0x5c68ec};_0x8a1699['query']=_[_0x1cd3('0xf2')](_0x8a1699[_0x1cd3('0x3d4')],_0x3390c3);}_0x17dde6['on'](_0x1cd3('0x17a4'),_0x400344);_0x17dde6['on'](_0x1cd3('0x17a5'),_0x400344);_0x17dde6['on'](_0x1cd3('0x17a6'),_0x3ae925);_0x17dde6['on'](_0x1cd3('0x17a7'),_0x5daaf0);_0x17dde6['on']('smsMessage:update',_0x5daaf0);_0x17dde6['on'](_0x1cd3('0x17a8'),_0x36eb3a);_0x17dde6['on'](_0x1cd3('0x17a9'),_0x4d2b28);_0x1fe9c7(_0x8a1699[_0x1cd3('0x3d4')]['page']);});}function _0x3141bf(){return[{'name':_0x1cd3('0x132c'),'key':_0x1cd3('0xe0d'),'type':_0x1cd3('0x406'),'label':_0x1cd3('0x1316')},{'name':_0x1cd3('0x1317'),'key':_0x1cd3('0x167e'),'type':_0x1cd3('0x44f'),'label':'DASHBOARDS.SELECT_READ_UNREAD','customOptions':[{'value':0x0,'translate':_0x1cd3('0x1319')},{'value':0x1,'translate':_0x1cd3('0x131a')},{'value':null,'translate':'DASHBOARDS.ALL'}]},{'name':_0x1cd3('0x131b'),'key':'closed','type':_0x1cd3('0x44f'),'label':_0x1cd3('0x131c'),'customOptions':[{'value':0x0,'translate':_0x1cd3('0x131d')},{'value':0x1,'translate':_0x1cd3('0x131e')},{'value':null,'translate':_0x1cd3('0x910')}]},{'name':_0x1cd3('0x1591'),'key':'SmsAccountId','type':'multiselect','label':_0x1cd3('0x167f'),'options':_0x8a1699[_0x1cd3('0xefe')][_0x1cd3('0xf6')],'clearAll':![]},{'name':_0x1cd3('0x1227'),'key':_0x1cd3('0x1226'),'type':_0x1cd3('0x44f'),'label':_0x1cd3('0x131f'),'customOptions':[{'value':_0x8a1699['user']['id'],'translate':_0x1cd3('0x1656')},{'value':_0x1cd3('0x220'),'translate':'DASHBOARDS.NOT_ASSIGNED'},{'value':undefined,'translate':'DASHBOARDS.ALL'}]},{'name':_0x1cd3('0x1231'),'key':'tag','type':_0x1cd3('0x3fa'),'label':_0x1cd3('0x1321'),'options':_0x8a1699['tags']['rows'],'placeholder':_0x1cd3('0x1322')}];}function _0x1551ad(_0x323c6f){_0x8a1699[_0x1cd3('0x1681')]=![];_0x8a1699[_0x1cd3('0x17a1')]=_0x323c6f||{'count':0x0,'rows':[]};for(var _0x5cfd8c=0x0;_0x5cfd8c<_0x8a1699['smsInteractions'][_0x1cd3('0xf6')][_0x1cd3('0x7a')];_0x5cfd8c+=0x1){_0x548e66(_0x8a1699['smsInteractions'][_0x1cd3('0xf6')][_0x5cfd8c]);}}function _0x1fe9c7(_0x40dbe4,_0x4c4a94){_0x8a1699[_0x1cd3('0x1681')]=!![];if(!_0x40dbe4){_0x8a1699[_0x1cd3('0x3d4')]['page']=0x1;}_0x8a1699[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0x8a1699[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0x8a1699[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];var _0x5967fb=_0x1e62a3['localStorage']['getItem'](_0x1cd3('0x17a3')+_0x8a1699[_0x1cd3('0x368')]['id']);_0x5967fb=_0x5967fb?JSON[_0x1cd3('0x79')](_0x5967fb):{};_0x5967fb[_0x1cd3('0x3d4')]=_0x8a1699[_0x1cd3('0x3d4')];_0x1e62a3[_0x1cd3('0x385')][_0x1cd3('0x3e2')](_0x1cd3('0x17a3')+_0x8a1699[_0x1cd3('0x368')]['id'],JSON[_0x1cd3('0x438')](_0x5967fb));_0x8a1699[_0x1cd3('0x539')]=_0x2c568e['smsInteraction'][_0x1cd3('0x361')](_0x8a1699['query'],_0x1551ad)[_0x1cd3('0x81')];}function _0x3b306c(_0x2e9816,_0x51029e){_0x4a8495[_0x1cd3('0x70b')]['vm'][_0x1cd3('0x1574')](_0x1cd3('0x26b'),_0x51029e);}function _0xac0e07(_0x22d913,_0xcde119,_0x3a8bba){_0x2c568e[_0x1cd3('0xad3')][_0x1cd3('0x489')]({'id':_0xcde119['id'],'attachments':_0x3a8bba})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x3921fc){var _0x31dbc0=[_0x3921fc[_0x1cd3('0x6ef')]];var _0x39022e=_0x1cd3('0x17aa')+_0xcde119['id']+'.zip';var _0x112d8b=new Blob(_0x31dbc0,{'type':_0x3921fc['type']});var _0x4c7b94=window[_0x1cd3('0x924')][_0x1cd3('0x3aa')]('a');_0x4c7b94[_0x1cd3('0x481')](_0x1cd3('0x3ab'),URL['createObjectURL'](_0x112d8b));_0x4c7b94['setAttribute'](_0x1cd3('0x489'),_0x39022e);document['body'][_0x1cd3('0xd4e')](_0x4c7b94);_0x4c7b94[_0x1cd3('0x52d')]();})['catch'](function(_0x547094){if(_0x547094[_0x1cd3('0x439')]&&_0x547094[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x547094['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){for(var _0x5c72d2=0x0;_0x5c72d2<_0x547094['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x5c72d2+=0x1){_0xd58cfb[_0x1cd3('0x434')]({'title':_0x547094['data'][_0x1cd3('0xd34')][_0x5c72d2][_0x1cd3('0x424')],'msg':_0x547094[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x5c72d2][_0x1cd3('0x43a')]});}}else{_0xd58cfb['error']({'title':_0x547094['status']?_0x1cd3('0x435')+_0x547094[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x547094[_0x1cd3('0xd35')]:_0x1cd3('0x17a2'),'msg':_0x547094[_0x1cd3('0x439')]?JSON['stringify'](_0x547094[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x547094[_0x1cd3('0x43b')]()});}});}function _0x225d38(_0x32b725,_0xf8befe){var _0x595da3=_0x8a1699[_0x1cd3('0x368')][_0x1cd3('0x604')]||_0x8a1699[_0x1cd3('0x368')][_0x1cd3('0x138b')]||_0x8a1699[_0x1cd3('0x368')][_0x1cd3('0x1590')]||_0x8a1699[_0x1cd3('0x368')][_0x1cd3('0x138c')]||_0x8a1699[_0x1cd3('0x368')][_0x1cd3('0x138f')];var _0x327cd6=!_0xf8befe[_0x1cd3('0x1591')][_0x1cd3('0x158c')];_0x49201c[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1592'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1593'),'parent':angular['element'](_0x449c24[_0x1cd3('0x380')]),'clickOutsideToClose':_0x327cd6,'escapeToClose':_0x327cd6,'onRemoving':function(_0x4183f0,_0x4801eb){if(_0x8a1699[_0x1cd3('0x368')]&&_0xf8befe[_0x1cd3('0x1591')][_0x1cd3('0x158c')]&&!_0x595da3){_0x2c568e[_0x1cd3('0x368')]['unpause']({'id':_0x8a1699[_0x1cd3('0x368')]['id']})[_0x1cd3('0x81')]['catch'](function(_0x16bcb9){console[_0x1cd3('0x434')](_0x16bcb9);});}},'locals':{'user':_0x8a1699[_0x1cd3('0x368')],'channel':_0x1cd3('0x26b'),'interaction':_0xf8befe}});}function _0x548e66(_0x5eccdb){if(_0x5eccdb[_0x1cd3('0x1323')]){_0x5eccdb[_0x1cd3('0x133e')]=(_0x5eccdb[_0x1cd3('0x1323')][_0x1cd3('0x1447')]||'')+'\x20'+(_0x5eccdb['Contact'][_0x1cd3('0x1324')]||'');_0x5eccdb[_0x1cd3('0x1742')]=_0x5eccdb[_0x1cd3('0x1323')]['mobile'];}else{_0x5eccdb[_0x1cd3('0x133e')]=_0x251fda['instant'](_0x1cd3('0x133f'));}}function _0x1b793e(_0x34c7bb){if(_0x34c7bb[_0x1cd3('0x1226')]){if(_0x34c7bb['UserId']===_0x8a1699['user']['id']){return _0x251fda[_0x1cd3('0x44a')]('DASHBOARDS.ME');}else{return _0x34c7bb[_0x1cd3('0x1338')][_0x1cd3('0xd3')]+'\x20<'+_0x34c7bb[_0x1cd3('0x1338')][_0x1cd3('0x311')]+'>';}}return _0x251fda[_0x1cd3('0x44a')]('DASHBOARDS.NOT_ASSIGNED');}function _0x215ff4(_0x3891ad){if(_0x3891ad[_0x1cd3('0x1591')]){return _0x3891ad[_0x1cd3('0x1591')]['key'];}return _0x251fda[_0x1cd3('0x44a')]('DASHBOARDS.UNKNOWN');}function _0x33bd0b(_0x5b8654,_0x120cd3){if(_0x120cd3['interaction']){_0x120cd3[_0x1cd3('0x1332')][_0x1cd3('0x15a6')]=!![];showMailInteraction(null,_0x120cd3['interaction']);}else{_0x49201c['show']({'controller':_0x1cd3('0x17ab'),'controllerAs':'vm','templateUrl':_0x1cd3('0x17ac'),'parent':angular[_0x1cd3('0x37f')](_0x449c24[_0x1cd3('0x380')]),'clickOutsideToClose':![],'locals':{'account':_0x120cd3[_0x1cd3('0x15d3')],'message':_0x120cd3[_0x1cd3('0xd3b')],'type':'draft','interaction':{}},'fullscreen':!![]})[_0x1cd3('0x77')](function(_0x2a2c19){if(_0x2a2c19){if(_0x2a2c19[_0x1cd3('0x43a')]&&_0x2a2c19['message'][_0x1cd3('0x1745')]){var _0x8a878b={'id':_0x120cd3['id'],'channel':_0x1cd3('0x26b'),'account':_0x2a2c19[_0x1cd3('0x15d3')],'message':_0x2a2c19[_0x1cd3('0x43a')]};_0x23f23a[_0x1cd3('0x378')](_0x8a878b);}else{var _0x43f8d2=_0x2a2c19;return _0x2c568e[_0x1cd3('0xac5')][_0x1cd3('0x9de')]({'id':_0x120cd3['account']['id']},_0x43f8d2)[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x425186){_0xd58cfb['success']({'title':'Message\x20properly\x20sent!','msg':_0x1cd3('0x160e')});_0x4a8495[_0x1cd3('0x70b')]['vm'][_0x1cd3('0x1574')](_0x1cd3('0x26b'),_0x425186);})['catch'](function(_0x79119e){if(_0x79119e['data']&&_0x79119e[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x79119e['data']['errors'][_0x1cd3('0x7a')]){for(var _0x4d4ec8=0x0;_0x4d4ec8<_0x79119e['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x4d4ec8++){_0xd58cfb['error']({'title':_0x79119e['data'][_0x1cd3('0xd34')][_0x4d4ec8][_0x1cd3('0x424')],'msg':_0x79119e[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x4d4ec8][_0x1cd3('0x43a')]});}}else{_0xd58cfb[_0x1cd3('0x434')]({'title':_0x79119e['status']?_0x1cd3('0x435')+_0x79119e[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x79119e[_0x1cd3('0xd35')]:'SMSACCOUNT:SEND','msg':_0x79119e[_0x1cd3('0x439')]?JSON['stringify'](_0x79119e[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x79119e[_0x1cd3('0x43a')]||_0x79119e['toString']()});}});}}});}}function _0x81c9af(_0x158669,_0x579dd4){_0x49201c[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x17ab'),'controllerAs':'vm','templateUrl':_0x1cd3('0x17ac'),'parent':angular['element'](_0x449c24[_0x1cd3('0x380')]),'clickOutsideToClose':![],'locals':{'account':_0x579dd4,'message':{},'type':_0x1cd3('0x160a'),'interaction':{}},'fullscreen':!![]})[_0x1cd3('0x77')](function(_0x336cc2){if(_0x336cc2){if(_0x336cc2[_0x1cd3('0x43a')]&&_0x336cc2[_0x1cd3('0x43a')][_0x1cd3('0x1745')]){var _0x1f5677={'channel':_0x1cd3('0x26b'),'account':_0x579dd4,'message':_0x336cc2[_0x1cd3('0x43a')],'contact':_0x336cc2['contact']};_0x23f23a[_0x1cd3('0x425')](_0x1f5677);}else{var _0x36e555=_0x336cc2;return _0x2c568e[_0x1cd3('0xac5')][_0x1cd3('0x9de')]({'id':_0x579dd4['id']},_0x36e555)[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x5716e5){_0xd58cfb[_0x1cd3('0x473')]({'title':_0x1cd3('0x160d'),'msg':'Message\x20has\x20been\x20sent!'});_0x4a8495['$parent']['vm']['addInteractionTab'](_0x1cd3('0x26b'),_0x5716e5);})['catch'](function(_0x50bf95){if(_0x50bf95[_0x1cd3('0x439')]&&_0x50bf95[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x50bf95[_0x1cd3('0x439')]['errors']['length']){for(var _0x2063fe=0x0;_0x2063fe<_0x50bf95['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x2063fe++){_0xd58cfb[_0x1cd3('0x434')]({'title':_0x50bf95[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x2063fe]['type'],'msg':_0x50bf95[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x2063fe][_0x1cd3('0x43a')]});}}else{_0xd58cfb[_0x1cd3('0x434')]({'title':_0x50bf95[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x50bf95[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x50bf95[_0x1cd3('0xd35')]:_0x1cd3('0x17ad'),'msg':_0x50bf95[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x50bf95[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x50bf95['message']||_0x50bf95[_0x1cd3('0x43b')]()});}});}}});}function _0x36eb3a(_0x341b13){var _0x58840e;var _0x14b878=_['find'](_0x8a1699[_0x1cd3('0x17a1')]['rows'],{'id':_0x341b13[_0x1cd3('0x17ae')]});if(_0x14b878&&_0x14b878[_0x1cd3('0xa0')]){_0x58840e=_[_0x1cd3('0x442')](_0x14b878[_0x1cd3('0xa0')],{'id':_0x341b13[_0x1cd3('0x1226')]});if(!_0x58840e){_0x14b878[_0x1cd3('0xa0')][_0x1cd3('0x7b')]({'id':_0x341b13['UserId']});}}}function _0x4d2b28(_0x3ed648){var _0x22e4aa=_['find'](_0x8a1699[_0x1cd3('0x17a1')]['rows'],{'id':_0x3ed648[_0x1cd3('0x17ae')]});if(_0x22e4aa&&_0x22e4aa['Users']){_[_0x1cd3('0x383')](_0x22e4aa[_0x1cd3('0xa0')],{'id':_0x3ed648[_0x1cd3('0x1226')]});}}function _0x400344(_0x212dbc){if(_0x212dbc){var _0x17560c=_[_0x1cd3('0x442')](_0x8a1699['smsInteractions']['rows'],{'id':_0x212dbc['id']});if(_0x17560c){_0x17560c[_0x1cd3('0xa0')]=[];if(_0x212dbc[_0x1cd3('0x1586')]){_0x17560c['unreadMessages']=0x0;}if(_0x8a1699[_0x1cd3('0x3d4')]['sort']){var _0x1ed942=_[_0x1cd3('0x13d4')](_0x8a1699[_0x1cd3('0x3d4')][_0x1cd3('0x550')],'-')?'desc':_0x1cd3('0x13d6');_0x8a1699[_0x1cd3('0x17a1')][_0x1cd3('0xf6')]=_['orderBy'](_0x8a1699[_0x1cd3('0x17a1')][_0x1cd3('0xf6')],_[_0x1cd3('0x1683')](_0x8a1699['query']['sort'],'-'),_0x1ed942);}_[_0x1cd3('0xf2')](_0x17560c,_[_0x1cd3('0x5e8')](_0x212dbc,_[_0x1cd3('0x80')](_0x17560c)));}else{_0x1fe9c7(_0x8a1699[_0x1cd3('0x3d4')]['page']);}}}function _0x3ae925(_0x4172bc){if(_0x4172bc){var _0x484c9a=_['find'](_0x8a1699[_0x1cd3('0x17a1')][_0x1cd3('0xf6')],{'id':_0x4172bc['id']});if(_0x484c9a){_0x484c9a['Tags']=_0x4172bc[_0x1cd3('0x921')]||[];_[_0x1cd3('0xf2')](_0x484c9a,_[_0x1cd3('0x5e8')](_0x4172bc,_[_0x1cd3('0x80')](_0x484c9a)));}}}function _0x5daaf0(_0x134b3d){if(_0x134b3d&&!_0x134b3d['secret']){var _0x1f02a5=_[_0x1cd3('0x442')](_0x8a1699[_0x1cd3('0x17a1')][_0x1cd3('0xf6')],{'id':_0x134b3d[_0x1cd3('0x17ae')]});if(_0x1f02a5){var _0xc06a43=_['find'](_0x1f02a5['Messages'],{'id':_0x134b3d['id']});if(_0xc06a43){_['merge'](_0xc06a43,_[_0x1cd3('0x5e8')](_0x134b3d,_[_0x1cd3('0x80')](_0xc06a43)));}else{if(_[_0x1cd3('0x472')](_0x1f02a5[_0x1cd3('0x1317')])){_0x1f02a5[_0x1cd3('0x1317')]={'count':0x0};}if(!_0x134b3d['read']){_0x1f02a5[_0x1cd3('0x1317')][_0x1cd3('0x466')]+=0x1;}}}}}function _0x324563(){_0x8a1699[_0x1cd3('0x165a')]=![];}function _0x5cf42b(){_0x8a1699[_0x1cd3('0x165a')]=!![];}function _0x5519d7(){_0x8a1699['isSearchBarVisible']=![];_0x49201c[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x3c9'),'controllerAs':'vm','templateUrl':_0x1cd3('0x132f'),'parent':angular['element'](_0x449c24[_0x1cd3('0x380')]),'clickOutsideToClose':![],'locals':{'color':_0x8a1699[_0x1cd3('0x166b')],'fields':_0x8a1699[_0x1cd3('0x3d1')][_0x1cd3('0x3c7')],'storagePath':_0x1cd3('0x17af')},'fullscreen':!![]})[_0x1cd3('0x77')](function(_0x5b209b){_0x8a1699[_0x1cd3('0x3d4')]['search']=_0x5b209b===![]?undefined:_0x5b209b;if(_0x8a1699[_0x1cd3('0x3d4')][_0x1cd3('0x3e4')]||_0x5b209b===![])_0x1fe9c7();})[_0x1cd3('0xfd')](function(_0xb31f78){_0xd58cfb['error']({'title':_0x1cd3('0x1331'),'msg':_0xb31f78[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0xb31f78[_0x1cd3('0x439')]['message']):_0xb31f78[_0x1cd3('0x43b')]()});});}var _0x236041=!![];var _0x1b2309=0x1;_0x4a8495[_0x1cd3('0x4d6')]('vm.query.filter',function(_0x1460d6,_0x3e7eb0){if(_0x236041){_0x2edf0d(function(){_0x236041=![];});}else{if(!_0x3e7eb0){_0x1b2309=_0x8a1699['query']['page'];}if(_0x1460d6!==_0x3e7eb0){_0x8a1699['query'][_0x1cd3('0x8fd')]=0x1;}if(!_0x1460d6){_0x8a1699[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0x1b2309;}_0x1fe9c7(_0x8a1699[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]);}});_0x4a8495['$on'](_0x1cd3('0x523'),function(){_0x17dde6[_0x1cd3('0x6a3')](_0x1cd3('0x17a7'));_0x17dde6[_0x1cd3('0x6a3')](_0x1cd3('0x17b0'));_0x17dde6[_0x1cd3('0x6a3')](_0x1cd3('0x17a4'));_0x17dde6[_0x1cd3('0x6a3')](_0x1cd3('0x17a6'));_0x17dde6[_0x1cd3('0x6a3')](_0x1cd3('0x17a5'));_0x17dde6[_0x1cd3('0x6a3')](_0x1cd3('0x17a8'));_0x17dde6[_0x1cd3('0x6a3')](_0x1cd3('0x17a9'));});}}());(function(){'use strict';_0x537163[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),_0x1cd3('0x372'),_0x1cd3('0x370'),_0x1cd3('0x461'),_0x1cd3('0x56'),'$window','$scope','$timeout'];angular['module']('app.dashboards')[_0x1cd3('0x39b')](_0x1cd3('0x17b1'),_0x537163);function _0x537163(_0x2e63ea,_0xc14515,_0xef63db,_0x217c38,_0x47d562,_0x3f8628,_0xc3269d,_0x2c214f){var _0x2ece68=this;_0x2ece68[_0x1cd3('0x3ca')]=_0x47d562[_0x1cd3('0x5d')]();_0x2ece68[_0x1cd3('0x17b2')]={};_0x2ece68[_0x1cd3('0xd45')]='voiceCalls';_0x2ece68[_0x1cd3('0x3d4')]={'UserId':_0x2ece68['currentUser']['id'],'fields':_0x1cd3('0x17b3'),'sort':_0x1cd3('0x5b'),'limit':0xa,'page':0x1,'type':null};_0x2ece68[_0x1cd3('0x473')]=_0x60727f;_0x2ece68['getVoiceCalls']=_0x19a35d;_0x2ece68[_0x1cd3('0x703')]=_0xe5dbc7;_0x2ece68[_0x1cd3('0x17b4')]=_0x2c8d45;_0x2ece68[_0x1cd3('0x164f')]=_0xfe8584;_0x2ece68['onSearchBarExpand']=_0x5ddbc7;function _0xe5dbc7(){return _0xef63db[_0x1cd3('0xb76')][_0x1cd3('0x361')]()[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x367fe8){_0x2ece68[_0x1cd3('0x921')]=_0x367fe8||{'count':0x0,'rows':[]};})[_0x1cd3('0x77')](function(){_0x2ece68[_0x1cd3('0x1315')]=_0x20a8a1();})[_0x1cd3('0xfd')](function(_0x44977d){_0x217c38['error']({'title':_0x1cd3('0x17b5'),'msg':_0x44977d[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x44977d[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x44977d['message']||_0x44977d[_0x1cd3('0x43b')]()});_0x2ece68[_0x1cd3('0x921')]={'count':0x0,'rows':[]};})['finally'](function(){var _0x34dab4=_0x3f8628[_0x1cd3('0x385')][_0x1cd3('0x3e0')]('motion2.home.voice:'+_0x2ece68[_0x1cd3('0x3ca')]['id']);if(_0x34dab4){try{_0x34dab4=JSON[_0x1cd3('0x79')](_0x34dab4);if(_0x34dab4[_0x1cd3('0x3d4')]){_0x2ece68[_0x1cd3('0x3d4')]=_['omit'](_0x34dab4[_0x1cd3('0x3d4')],_0x1cd3('0x395'));}}catch(_0x245c23){console[_0x1cd3('0x434')](_0x245c23);}}else{var _0x31b12c={'$gte':moment()[_0x1cd3('0x12e')](_0x1cd3('0x6e8'))[_0x1cd3('0x12f')](0x0,!![])[_0x1cd3('0x130')](),'$lte':moment()[_0x1cd3('0x131')](_0x1cd3('0x6e8'))[_0x1cd3('0x12f')](0x0,!![])[_0x1cd3('0x130')]()};_0x2ece68[_0x1cd3('0x3d4')][_0x1cd3('0xe0d')]=_0x31b12c;}_0x19a35d();});}function _0x20a8a1(){return[{'name':_0x1cd3('0x132c'),'key':_0x1cd3('0xe0d'),'type':_0x1cd3('0x406'),'label':'DASHBOARDS.SELECT_DATE'},{'name':_0x1cd3('0x17b6'),'key':_0x1cd3('0x424'),'type':_0x1cd3('0x44f'),'label':'VOICE.SELECT_TYPE','customOptions':[{'value':_0x1cd3('0x311'),'translate':_0x1cd3('0x178d')},{'value':_0x1cd3('0xa4'),'translate':_0x1cd3('0x17b7')},{'value':_0x1cd3('0x128'),'translate':_0x1cd3('0x178e')},{'value':_0x1cd3('0x159f'),'translate':_0x1cd3('0x178f')},{'value':null,'translate':_0x1cd3('0x1790')}]}];}function _0x60727f(_0x168044){_0x2ece68[_0x1cd3('0x1681')]=![];_0x2ece68['voiceCalls']=_0x168044||{'count':0x0,'rows':[]};}function _0x19a35d(){_0x2ece68['searchInProgress']=!![];_0x2ece68[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0x2ece68[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0x2ece68[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];var _0x3ffe2c={'query':_0x2ece68[_0x1cd3('0x3d4')]};_0x3f8628[_0x1cd3('0x385')]['setItem']('motion2.home.voice:'+_0x2ece68[_0x1cd3('0x3ca')]['id'],JSON[_0x1cd3('0x438')](_0x3ffe2c));_0x2ece68[_0x1cd3('0x539')]=_0xef63db['voiceCallReport']['get'](_0x2ece68[_0x1cd3('0x3d4')],_0x60727f)['$promise'];}function _0x2c8d45(_0x2120d7){_0x2e63ea[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x17b8'),'controllerAs':'vm','templateUrl':_0x1cd3('0x17b9'),'parent':angular['element'](_0xc14515[_0x1cd3('0x380')]),'clickOutsideToClose':!![],'locals':{'call':_0x2120d7}});}function _0xfe8584(){_0x2ece68[_0x1cd3('0x3d4')][_0x1cd3('0x395')]=undefined;_0x2ece68['isSearchBarVisible']=![];}function _0x5ddbc7(){_0x2ece68[_0x1cd3('0x165a')]=!![];}var _0x1f4325=!![];var _0x31c33d=0x1;_0xc3269d[_0x1cd3('0x4d6')](_0x1cd3('0xd56'),function(_0x1e4acd,_0x58e568){if(_0x1f4325){_0x2c214f(function(){_0x1f4325=![];});}else{if(!_0x58e568){_0x31c33d=_0x2ece68['query']['page'];}if(_0x1e4acd!==_0x58e568){_0x2ece68['query'][_0x1cd3('0x8fd')]=0x1;}if(!_0x1e4acd){_0x2ece68[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0x31c33d;}_0x2ece68['getVoiceCalls']();}});}}());(function(){'use strict';_0x54a72c[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),_0x1cd3('0x46d')];angular[_0x1cd3('0x0')]('app.dashboards')[_0x1cd3('0x39b')](_0x1cd3('0x17b8'),_0x54a72c);function _0x54a72c(_0x1e1bc6,_0x56555f){var _0x4024d1=this;_0x4024d1[_0x1cd3('0x46d')]=_0x56555f;_0x4024d1[_0x1cd3('0x39c')]=_0x50b173;function _0x50b173(){_0x1e1bc6[_0x1cd3('0x39d')]();}}}());(function(){'use strict';_0x43e124[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x3e7'),_0x1cd3('0x3c5'),_0x1cd3('0x372'),'$window',_0x1cd3('0x3f7'),_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0xd18'),_0x1cd3('0x461'),_0x1cd3('0x1564')];angular['module'](_0x1cd3('0x2a'))[_0x1cd3('0x39b')](_0x1cd3('0x17ba'),_0x43e124);function _0x43e124(_0x483c07,_0x32ede1,_0x15e0ff,_0x30d67d,_0x180290,_0x4452ba,_0x117dcd,_0x37c2fe,_0x54197e,_0x1b938c,_0x38ee74){var _0xe80d8c=this;_0xe80d8c['user']=_0x37c2fe[_0x1cd3('0x5d')]();_0xe80d8c[_0x1cd3('0x463')]={};_0xe80d8c[_0x1cd3('0xc49')]={};_0xe80d8c[_0x1cd3('0x921')]={'count':0x0,'rows':[]};_0xe80d8c['whatsappInteractions']={'count':0x0,'rows':[]};_0xe80d8c[_0x1cd3('0x3d4')]={'includeAll':!![],'sort':_0x1cd3('0x5b'),'limit':0xa,'page':0x1,'read':null,'closed':null};_0xe80d8c[_0x1cd3('0x3d1')]={'fields':[{'name':'Id','column':'id','type':_0x1cd3('0x407')},{'name':'Contact','column':_0x1cd3('0x1323'),'type':_0x1cd3('0x42b'),'options':{'searchFields':[_0x1cd3('0x1447'),_0x1cd3('0x1324'),'email'],'route':{'model':_0x1cd3('0xb3d'),'action':_0x1cd3('0x361'),'params':{'fields':_0x1cd3('0x1668'),'Contact':_0x1cd3('0x42c'),'nolimit':!![]}},'extraOperators':['$substring'],'excludedOperators':[_0x1cd3('0x3fb')]}},{'name':_0x1cd3('0x1328'),'column':_0x1cd3('0x380'),'type':_0x1cd3('0x401'),'options':{'excludedOperators':[_0x1cd3('0x44d'),'$ne']}},{'name':_0x1cd3('0x131b'),'column':_0x1cd3('0x1586'),'type':_0x1cd3('0x44f'),'values':[{'id':0x0,'translate':'DASHBOARDS.OPENED'},{'id':0x1,'translate':_0x1cd3('0x131e')}],'options':{'excludedOperators':['$ne']}},{'name':_0x1cd3('0x1227'),'column':_0x1cd3('0x132a'),'type':_0x1cd3('0x42b'),'options':{'table':'i','route':{'model':_0x1cd3('0x368'),'action':_0x1cd3('0x361'),'params':{'role':_0x1cd3('0xd2'),'fields':_0x1cd3('0x132b'),'nolimit':!![]}},'searchFields':['fullname','name'],'extraOperators':[_0x1cd3('0x3fd')],'excludedOperators':[_0x1cd3('0x3fb')]}},{'name':_0x1cd3('0x1591'),'column':_0x1cd3('0x1583'),'type':_0x1cd3('0x3fa'),'options':{'route':{'model':_0x1cd3('0x368'),'action':'getWhatsappAccounts','params':{'id':_0xe80d8c[_0x1cd3('0x368')]['id'],'nolimit':!![]}}}},{'name':'Tags','column':_0x1cd3('0x1231'),'type':'multiselect','options':{'route':{'model':_0x1cd3('0xb76'),'action':_0x1cd3('0x361'),'params':{'nolimit':!![]}},'excludedOperators':['$notIn']}},{'name':'Start\x20Date','column':_0x1cd3('0xe0d'),'type':_0x1cd3('0x406'),'options':{'excludedOperators':[_0x1cd3('0x3fb')]}},{'name':_0x1cd3('0x132d'),'column':_0x1cd3('0x132e'),'type':_0x1cd3('0x44f'),'values':[{'id':0x1,'translate':'DASHBOARDS.READ'},{'id':0x0,'translate':_0x1cd3('0x1319')}],'options':{'excludedOperators':[_0x1cd3('0x3fb')]}}]};_0xe80d8c[_0x1cd3('0x166b')]=_0x1cd3('0x159c');_0xe80d8c[_0x1cd3('0x703')]=_0xbede3b;_0xe80d8c[_0x1cd3('0x473')]=_0x2e56fd;_0xe80d8c[_0x1cd3('0x17bb')]=_0x3ce76e;_0xe80d8c[_0x1cd3('0x17bc')]=_0x48c2a5;_0xe80d8c[_0x1cd3('0x17bd')]=_0x1e6a24;_0xe80d8c[_0x1cd3('0x166f')]=_0x1ebb75;_0xe80d8c[_0x1cd3('0x1670')]=_0x1b5a75;_0xe80d8c[_0x1cd3('0x1671')]=_0x5caa88;_0xe80d8c[_0x1cd3('0x17be')]=_0x25c862;_0xe80d8c[_0x1cd3('0x17bf')]=_0x1b831a;_0xe80d8c['onSearchBarCollapse']=_0x56c4e5;_0xe80d8c[_0x1cd3('0x1650')]=_0x3fd390;_0xe80d8c[_0x1cd3('0x1673')]=_0x3872eb;_0x483c07[_0x1cd3('0x4d3')](_0x1cd3('0x17c0'),_0x2825a7);function _0xbede3b(_0x13ff26,_0x231318){_0xe80d8c['license']=_0x13ff26;_0xe80d8c[_0x1cd3('0xc49')]=_0x231318;return _0x117dcd[_0x1cd3('0x368')]['get'+_[_0x1cd3('0x12bc')](_0x1cd3('0x15fc'))]({'id':_0xe80d8c['user']['id'],'nolimit':!![]})['$promise'][_0x1cd3('0x77')](function(_0x433dc0){_0xe80d8c[_0x1cd3('0x15fc')]=_0x433dc0||{'count':0x0,'rows':[]};return _0x117dcd['tag'][_0x1cd3('0x361')]()[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x2037f0){_0xe80d8c['tags']=_0x2037f0||{'count':0x0,'rows':[]};})['then'](function(){_0xe80d8c[_0x1cd3('0x1315')]=_0x4b0d06();})[_0x1cd3('0xfd')](function(_0x4a5b8b){console[_0x1cd3('0x434')](_0x4a5b8b);})[_0x1cd3('0x5dd')](function(){var _0x5a8657=_0x180290[_0x1cd3('0x385')][_0x1cd3('0x3e0')](_0x1cd3('0x17c1')+_0xe80d8c['user']['id']);if(_0x5a8657){try{_0x5a8657=JSON[_0x1cd3('0x79')](_0x5a8657);if(_0x5a8657[_0x1cd3('0x3d4')]){_0xe80d8c[_0x1cd3('0x3d4')]=_[_0x1cd3('0xf2')](_0xe80d8c['query'],_0x5a8657['query']);if(_[_0x1cd3('0x398')](_0xe80d8c[_0x1cd3('0x15fc')][_0x1cd3('0xf6')])){_0xe80d8c[_0x1cd3('0x3d4')][_0x1cd3('0x1583')]=[];}else if(_[_0x1cd3('0x398')](_0xe80d8c['query']['WhatsappAccountId'])){_0xe80d8c[_0x1cd3('0x3d4')][_0x1cd3('0x1583')]=_(_0xe80d8c[_0x1cd3('0x15fc')]['rows'])[_0x1cd3('0x3d9')]('id')[_0x1cd3('0x1675')]()['value']();}if(_0xe80d8c[_0x1cd3('0x3d4')][_0x1cd3('0x550')]&&_0xe80d8c[_0x1cd3('0x3d4')][_0x1cd3('0x550')]['indexOf'](_0x1cd3('0x1676'))>=0x0){_0xe80d8c[_0x1cd3('0x3d4')]=_['omit'](_0xe80d8c['query'],_0x1cd3('0x550'));}_0xe80d8c[_0x1cd3('0x3d4')][_0x1cd3('0x1751')]=!![];_0xe80d8c[_0x1cd3('0x165a')]=_0xe80d8c['query'][_0x1cd3('0x395')]?!![]:![];}}catch(_0x5ccfc4){console[_0x1cd3('0x434')](_0x5ccfc4);}}else{var _0x1bd491={'$gte':moment()[_0x1cd3('0x12e')](_0x1cd3('0x6e8'))[_0x1cd3('0x12f')](0x0,!![])[_0x1cd3('0x130')](),'$lte':moment()['endOf'](_0x1cd3('0x6e8'))[_0x1cd3('0x12f')](0x0,!![])['format']()};var _0x3378ba={'WhatsappAccountId':_[_0x1cd3('0x3d9')](_0xe80d8c[_0x1cd3('0x15fc')][_0x1cd3('0xf6')],'id'),'createdAt':_0x1bd491};_0xe80d8c[_0x1cd3('0x3d4')]=_[_0x1cd3('0xf2')](_0xe80d8c[_0x1cd3('0x3d4')],_0x3378ba);}_0x54197e['on'](_0x1cd3('0x17c2'),_0x2c260b);_0x54197e['on'](_0x1cd3('0x17c3'),_0x2c260b);_0x54197e['on'](_0x1cd3('0x17c4'),_0x1c6054);_0x54197e['on']('whatsappMessage:save',_0x1c6c9c);_0x54197e['on']('whatsappMessage:update',_0x1c6c9c);_0x54197e['on'](_0x1cd3('0x17c5'),_0x54a8fd);_0x54197e['on'](_0x1cd3('0x17c6'),_0x7c9b75);_0x3ce76e(_0xe80d8c[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]);});}function _0x4b0d06(){return[{'name':'Start\x20Date','key':_0x1cd3('0xe0d'),'type':_0x1cd3('0x406'),'label':_0x1cd3('0x1316')},{'name':_0x1cd3('0x1317'),'key':_0x1cd3('0x167e'),'type':_0x1cd3('0x44f'),'label':_0x1cd3('0x1318'),'customOptions':[{'value':0x0,'translate':_0x1cd3('0x1319')},{'value':0x1,'translate':_0x1cd3('0x131a')},{'value':null,'translate':_0x1cd3('0x910')}]},{'name':'Status','key':_0x1cd3('0x1586'),'type':_0x1cd3('0x44f'),'label':_0x1cd3('0x131c'),'customOptions':[{'value':0x0,'translate':'DASHBOARDS.OPENED'},{'value':0x1,'translate':_0x1cd3('0x131e')},{'value':null,'translate':_0x1cd3('0x910')}]},{'name':_0x1cd3('0x1591'),'key':_0x1cd3('0x1583'),'type':'multiselect','label':_0x1cd3('0x167f'),'options':_0xe80d8c[_0x1cd3('0x15fc')][_0x1cd3('0xf6')],'clearAll':![]},{'name':_0x1cd3('0x1227'),'key':_0x1cd3('0x1226'),'type':_0x1cd3('0x44f'),'label':_0x1cd3('0x131f'),'customOptions':[{'value':_0xe80d8c['user']['id'],'translate':_0x1cd3('0x1656')},{'value':_0x1cd3('0x220'),'translate':_0x1cd3('0x1320')},{'value':undefined,'translate':_0x1cd3('0x910')}]},{'name':_0x1cd3('0x1231'),'key':'tag','type':_0x1cd3('0x3fa'),'label':'DASHBOARDS.SELECT_TAG','options':_0xe80d8c[_0x1cd3('0x921')][_0x1cd3('0xf6')],'placeholder':_0x1cd3('0x1322')}];}function _0x2e56fd(_0x5a9a0d){_0xe80d8c[_0x1cd3('0x1681')]=![];_0xe80d8c[_0x1cd3('0x17c7')]=_0x5a9a0d||{'count':0x0,'rows':[]};for(var _0x46cbff=0x0;_0x46cbff<_0xe80d8c['whatsappInteractions']['rows'][_0x1cd3('0x7a')];_0x46cbff+=0x1){_0x1b5a75(_0xe80d8c[_0x1cd3('0x17c7')][_0x1cd3('0xf6')][_0x46cbff]);}}function _0x3ce76e(_0xc2e185,_0x14d59f){_0xe80d8c[_0x1cd3('0x1681')]=!![];if(!_0xc2e185){_0xe80d8c[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}_0xe80d8c[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0xe80d8c[_0x1cd3('0x3d4')]['page']-0x1)*_0xe80d8c[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];var _0x47a02f=_0x180290[_0x1cd3('0x385')]['getItem']('motion2.home.whatsapp:'+_0xe80d8c['user']['id']);_0x47a02f=_0x47a02f?JSON[_0x1cd3('0x79')](_0x47a02f):{};_0x47a02f[_0x1cd3('0x3d4')]=_0xe80d8c[_0x1cd3('0x3d4')];_0x180290['localStorage'][_0x1cd3('0x3e2')](_0x1cd3('0x17c1')+_0xe80d8c[_0x1cd3('0x368')]['id'],JSON[_0x1cd3('0x438')](_0x47a02f));_0xe80d8c[_0x1cd3('0x539')]=_0x117dcd[_0x1cd3('0xcae')][_0x1cd3('0x361')](_0xe80d8c['query'],_0x2e56fd)[_0x1cd3('0x81')];}function _0x48c2a5(_0x39e3ed,_0x4822aa){_0x483c07['$parent']['vm'][_0x1cd3('0x1574')](_0x1cd3('0x34a'),_0x4822aa);}function _0x1e6a24(_0x538811,_0x5bf65c,_0x2df51f){_0x117dcd[_0x1cd3('0xcae')][_0x1cd3('0x489')]({'id':_0x5bf65c['id'],'attachments':_0x2df51f})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x44bfe3){var _0x51606d=[_0x44bfe3[_0x1cd3('0x6ef')]];var _0x5f3be8=_0x1cd3('0x17c8')+_0x5bf65c['id']+'.zip';var _0x32d129=new Blob(_0x51606d,{'type':_0x44bfe3[_0x1cd3('0x424')]});var _0xb74971=window[_0x1cd3('0x924')][_0x1cd3('0x3aa')]('a');_0xb74971[_0x1cd3('0x481')](_0x1cd3('0x3ab'),URL[_0x1cd3('0x48a')](_0x32d129));_0xb74971['setAttribute']('download',_0x5f3be8);document['body']['appendChild'](_0xb74971);_0xb74971['click']();})[_0x1cd3('0xfd')](function(_0xc15980){if(_0xc15980[_0x1cd3('0x439')]&&_0xc15980[_0x1cd3('0x439')]['errors']&&_0xc15980['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){for(var _0x23cadf=0x0;_0x23cadf<_0xc15980[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x23cadf+=0x1){_0x1b938c['error']({'title':_0xc15980[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x23cadf][_0x1cd3('0x424')],'msg':_0xc15980[_0x1cd3('0x439')]['errors'][_0x23cadf][_0x1cd3('0x43a')]});}}else{_0x1b938c[_0x1cd3('0x434')]({'title':_0xc15980[_0x1cd3('0x3a6')]?'API:'+_0xc15980[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0xc15980[_0x1cd3('0xd35')]:_0x1cd3('0x17bd'),'msg':_0xc15980[_0x1cd3('0x439')]?JSON['stringify'](_0xc15980[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0xc15980[_0x1cd3('0x43b')]()});}});}function _0x1ebb75(_0xd60cf4,_0xb03860){var _0x2e70f2=_0xe80d8c['user'][_0x1cd3('0x604')]||_0xe80d8c[_0x1cd3('0x368')][_0x1cd3('0x138b')]||_0xe80d8c[_0x1cd3('0x368')][_0x1cd3('0x1590')]||_0xe80d8c[_0x1cd3('0x368')][_0x1cd3('0x138c')]||_0xe80d8c[_0x1cd3('0x368')]['faxPause'];var _0x5922c0=!_0xb03860[_0x1cd3('0x1591')][_0x1cd3('0x158c')];_0x15e0ff[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1592'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1593'),'parent':angular[_0x1cd3('0x37f')](_0x30d67d[_0x1cd3('0x380')]),'clickOutsideToClose':_0x5922c0,'escapeToClose':_0x5922c0,'onRemoving':function(_0x33fac6,_0x28f051){if(_0xe80d8c[_0x1cd3('0x368')]&&_0xb03860['Account'][_0x1cd3('0x158c')]&&!_0x2e70f2){_0x117dcd[_0x1cd3('0x368')][_0x1cd3('0x13ed')]({'id':_0xe80d8c[_0x1cd3('0x368')]['id']})[_0x1cd3('0x81')][_0x1cd3('0xfd')](function(_0x1894b3){console[_0x1cd3('0x434')](_0x1894b3);});}},'locals':{'user':_0xe80d8c[_0x1cd3('0x368')],'channel':_0x1cd3('0x34a'),'interaction':_0xb03860}});}function _0x1b5a75(_0x508fa5){if(_0x508fa5[_0x1cd3('0x1323')]){_0x508fa5[_0x1cd3('0x133e')]=(_0x508fa5[_0x1cd3('0x1323')][_0x1cd3('0x1447')]||'')+'\x20'+(_0x508fa5[_0x1cd3('0x1323')][_0x1cd3('0x1324')]||'');_0x508fa5[_0x1cd3('0x1742')]=_0x508fa5['Contact'][_0x1cd3('0x967')];}else{_0x508fa5[_0x1cd3('0x133e')]=_0x4452ba['instant'](_0x1cd3('0x133f'));}}function _0x5caa88(_0x3567b3){if(_0x3567b3[_0x1cd3('0x1226')]){if(_0x3567b3[_0x1cd3('0x1226')]===_0xe80d8c[_0x1cd3('0x368')]['id']){return _0x4452ba[_0x1cd3('0x44a')](_0x1cd3('0x1656'));}else{return _0x3567b3[_0x1cd3('0x1338')]['fullname']+'\x20<'+_0x3567b3[_0x1cd3('0x1338')]['internal']+'>';}}return _0x4452ba['instant'](_0x1cd3('0x1320'));}function _0x25c862(_0x5d73fe){if(_0x5d73fe[_0x1cd3('0x1591')]){return _0x5d73fe['Account'][_0x1cd3('0x65c')];}return _0x4452ba[_0x1cd3('0x44a')](_0x1cd3('0x133f'));}function _0x2825a7(_0x5a5ff7,_0x3c754e){if(_0x3c754e[_0x1cd3('0x1332')]){_0x3c754e['interaction'][_0x1cd3('0x15a6')]=!![];showMailInteraction(null,_0x3c754e[_0x1cd3('0x1332')]);}else{_0x15e0ff[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x17c9'),'controllerAs':'vm','templateUrl':_0x1cd3('0x17ca'),'parent':angular['element'](_0x30d67d['body']),'clickOutsideToClose':![],'locals':{'account':_0x3c754e[_0x1cd3('0x15d3')],'message':_0x3c754e[_0x1cd3('0xd3b')],'type':_0x1cd3('0x1584'),'interaction':{}},'fullscreen':!![]})[_0x1cd3('0x77')](function(_0x316f7d){if(_0x316f7d){if(_0x316f7d[_0x1cd3('0x43a')]&&_0x316f7d[_0x1cd3('0x43a')][_0x1cd3('0x1745')]){var _0x1c856a={'id':_0x3c754e['id'],'channel':_0x1cd3('0x34a'),'account':_0x316f7d[_0x1cd3('0x15d3')],'message':_0x316f7d[_0x1cd3('0x43a')]};_0x38ee74['update'](_0x1c856a);}else{var _0x33c968=_0x316f7d;return _0x117dcd[_0x1cd3('0xca3')][_0x1cd3('0x9de')]({'id':_0x3c754e[_0x1cd3('0x15d3')]['id']},_0x33c968)[_0x1cd3('0x81')]['then'](function(_0x1899c2){_0x1b938c[_0x1cd3('0x473')]({'title':'Message\x20properly\x20sent!','msg':_0x1cd3('0x160e')});_0x483c07['$parent']['vm']['addInteractionTab'](_0x1cd3('0x34a'),_0x1899c2);})[_0x1cd3('0xfd')](function(_0x17ea23){if(_0x17ea23[_0x1cd3('0x439')]&&_0x17ea23[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x17ea23[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){for(var _0xd7f8ca=0x0;_0xd7f8ca<_0x17ea23['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0xd7f8ca++){_0x1b938c[_0x1cd3('0x434')]({'title':_0x17ea23[_0x1cd3('0x439')]['errors'][_0xd7f8ca]['type'],'msg':_0x17ea23[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0xd7f8ca]['message']});}}else{_0x1b938c['error']({'title':_0x17ea23[_0x1cd3('0x3a6')]?'API:'+_0x17ea23[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x17ea23[_0x1cd3('0xd35')]:_0x1cd3('0x17cb'),'msg':_0x17ea23[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x17ea23['data'][_0x1cd3('0x43a')]):_0x17ea23[_0x1cd3('0x43a')]||_0x17ea23[_0x1cd3('0x43b')]()});}});}}});}}function _0x1b831a(_0x1b2dfe,_0x15624c){_0x15e0ff[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x17c9'),'controllerAs':'vm','templateUrl':'app/main/apps/dashboards/views/general/agent/interaction/composeWhatsapp/dialog.html','parent':angular[_0x1cd3('0x37f')](_0x30d67d[_0x1cd3('0x380')]),'clickOutsideToClose':![],'locals':{'account':_0x15624c,'message':{},'type':_0x1cd3('0x160a'),'interaction':{}},'fullscreen':!![]})[_0x1cd3('0x77')](function(_0x3bb350){if(_0x3bb350){if(_0x3bb350['message']&&_0x3bb350[_0x1cd3('0x43a')][_0x1cd3('0x1745')]){var _0x56cc97={'channel':_0x1cd3('0x34a'),'account':_0x15624c,'message':_0x3bb350[_0x1cd3('0x43a')],'contact':_0x3bb350[_0x1cd3('0x105')]};_0x38ee74[_0x1cd3('0x425')](_0x56cc97);}else{var _0x466d24=_0x3bb350;return _0x117dcd[_0x1cd3('0xca3')][_0x1cd3('0x9de')]({'id':_0x15624c['id']},_0x466d24)[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x372b40){_0x1b938c['success']({'title':_0x1cd3('0x160d'),'msg':_0x1cd3('0x160e')});_0x483c07[_0x1cd3('0x70b')]['vm'][_0x1cd3('0x1574')](_0x1cd3('0x34a'),_0x372b40);})[_0x1cd3('0xfd')](function(_0x192601){if(_0x192601['data']&&_0x192601['data'][_0x1cd3('0xd34')]&&_0x192601[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){for(var _0x3c54d6=0x0;_0x3c54d6<_0x192601['data'][_0x1cd3('0xd34')]['length'];_0x3c54d6++){_0x1b938c[_0x1cd3('0x434')]({'title':_0x192601[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x3c54d6][_0x1cd3('0x424')],'msg':_0x192601['data']['errors'][_0x3c54d6][_0x1cd3('0x43a')]});}}else{_0x1b938c[_0x1cd3('0x434')]({'title':_0x192601[_0x1cd3('0x3a6')]?'API:'+_0x192601[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x192601[_0x1cd3('0xd35')]:_0x1cd3('0x17cb'),'msg':_0x192601[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x192601[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x192601['message']||_0x192601[_0x1cd3('0x43b')]()});}});}}});}function _0x54a8fd(_0x14419f){var _0x103374;var _0x4e6bbf=_[_0x1cd3('0x442')](_0xe80d8c['whatsappInteractions'][_0x1cd3('0xf6')],{'id':_0x14419f[_0x1cd3('0x17cc')]});if(_0x4e6bbf&&_0x4e6bbf[_0x1cd3('0xa0')]){_0x103374=_[_0x1cd3('0x442')](_0x4e6bbf[_0x1cd3('0xa0')],{'id':_0x14419f[_0x1cd3('0x1226')]});if(!_0x103374){_0x4e6bbf[_0x1cd3('0xa0')]['push']({'id':_0x14419f[_0x1cd3('0x1226')]});}}}function _0x7c9b75(_0x46fa3f){var _0x22f5a2=_['find'](_0xe80d8c['whatsappInteractions'][_0x1cd3('0xf6')],{'id':_0x46fa3f[_0x1cd3('0x17cc')]});if(_0x22f5a2&&_0x22f5a2[_0x1cd3('0xa0')]){_['remove'](_0x22f5a2[_0x1cd3('0xa0')],{'id':_0x46fa3f['UserId']});}}function _0x2c260b(_0x54478e){if(_0x54478e){var _0x208daa=_[_0x1cd3('0x442')](_0xe80d8c[_0x1cd3('0x17c7')][_0x1cd3('0xf6')],{'id':_0x54478e['id']});if(_0x208daa){_0x208daa['Users']=[];if(_0x54478e[_0x1cd3('0x1586')]){_0x208daa[_0x1cd3('0x132e')]=0x0;}if(_0xe80d8c['query'][_0x1cd3('0x550')]){var _0x4bca2f=_['startsWith'](_0xe80d8c[_0x1cd3('0x3d4')][_0x1cd3('0x550')],'-')?_0x1cd3('0x13d5'):_0x1cd3('0x13d6');_0xe80d8c['whatsappInteractions'][_0x1cd3('0xf6')]=_['orderBy'](_0xe80d8c[_0x1cd3('0x17c7')]['rows'],_['trimStart'](_0xe80d8c[_0x1cd3('0x3d4')]['sort'],'-'),_0x4bca2f);}_['merge'](_0x208daa,_[_0x1cd3('0x5e8')](_0x54478e,_[_0x1cd3('0x80')](_0x208daa)));}else{_0x3ce76e(_0xe80d8c[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]);}}}function _0x1c6054(_0x3e1018){if(_0x3e1018){var _0x5e2cfb=_['find'](_0xe80d8c[_0x1cd3('0x17c7')][_0x1cd3('0xf6')],{'id':_0x3e1018['id']});if(_0x5e2cfb){_0x5e2cfb[_0x1cd3('0xf9')]=_0x3e1018[_0x1cd3('0x921')]||[];_[_0x1cd3('0xf2')](_0x5e2cfb,_['pick'](_0x3e1018,_[_0x1cd3('0x80')](_0x5e2cfb)));}}}function _0x1c6c9c(_0x44d6fe){if(_0x44d6fe&&!_0x44d6fe[_0x1cd3('0x1684')]){var _0x3c7db4=_[_0x1cd3('0x442')](_0xe80d8c[_0x1cd3('0x17c7')]['rows'],{'id':_0x44d6fe['WhatsappInteractionId']});if(_0x3c7db4){var _0x4b8a11=_['find'](_0x3c7db4[_0x1cd3('0x1317')],{'id':_0x44d6fe['id']});if(_0x4b8a11){_['merge'](_0x4b8a11,_[_0x1cd3('0x5e8')](_0x44d6fe,_[_0x1cd3('0x80')](_0x4b8a11)));}else{if(_[_0x1cd3('0x472')](_0x3c7db4['Messages'])){_0x3c7db4[_0x1cd3('0x1317')]={'count':0x0};}if(!_0x44d6fe[_0x1cd3('0x167e')]){_0x3c7db4[_0x1cd3('0x1317')]['count']+=0x1;}}}}}function _0x56c4e5(){_0xe80d8c[_0x1cd3('0x165a')]=![];}function _0x3fd390(){_0xe80d8c[_0x1cd3('0x165a')]=!![];}function _0x3872eb(){_0xe80d8c['isSearchBarVisible']=![];_0x15e0ff[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x3c9'),'controllerAs':'vm','templateUrl':_0x1cd3('0x132f'),'parent':angular['element'](_0x30d67d[_0x1cd3('0x380')]),'clickOutsideToClose':![],'locals':{'color':_0xe80d8c[_0x1cd3('0x166b')],'fields':_0xe80d8c['advancedSearch']['fields'],'storagePath':_0x1cd3('0x17cd')},'fullscreen':!![]})[_0x1cd3('0x77')](function(_0x1dd1bc){_0xe80d8c[_0x1cd3('0x3d4')][_0x1cd3('0x3e4')]=_0x1dd1bc===![]?undefined:_0x1dd1bc;if(_0xe80d8c[_0x1cd3('0x3d4')]['search']||_0x1dd1bc===![])_0x3ce76e();})[_0x1cd3('0xfd')](function(_0x107b91){_0x1b938c[_0x1cd3('0x434')]({'title':_0x1cd3('0x1331'),'msg':_0x107b91['data']?JSON[_0x1cd3('0x438')](_0x107b91[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x107b91[_0x1cd3('0x43b')]()});});}var _0x12509c=!![];var _0x1c3c5f=0x1;_0x483c07['$watch'](_0x1cd3('0xd56'),function(_0x2717f3,_0x2f93d4){if(_0x12509c){_0x32ede1(function(){_0x12509c=![];});}else{if(!_0x2f93d4){_0x1c3c5f=_0xe80d8c['query'][_0x1cd3('0x8fd')];}if(_0x2717f3!==_0x2f93d4){_0xe80d8c['query']['page']=0x1;}if(!_0x2717f3){_0xe80d8c[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0x1c3c5f;}_0x3ce76e(_0xe80d8c['query'][_0x1cd3('0x8fd')]);}});_0x483c07[_0x1cd3('0x4d3')]('$destroy',function(){_0x54197e['removeAllListeners'](_0x1cd3('0x17ce'));_0x54197e[_0x1cd3('0x6a3')]('whatsappMessage:update');_0x54197e[_0x1cd3('0x6a3')](_0x1cd3('0x17c2'));_0x54197e['removeAllListeners'](_0x1cd3('0x17c4'));_0x54197e[_0x1cd3('0x6a3')](_0x1cd3('0x17c3'));_0x54197e[_0x1cd3('0x6a3')](_0x1cd3('0x17c5'));_0x54197e['removeAllListeners'](_0x1cd3('0x17c6'));});}}());(function(){'use strict';_0x1922b7[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x900')];angular['module']('app.dashboards')[_0x1cd3('0x39b')]('AgentGeneralIframeController',_0x1922b7);function _0x1922b7(_0x289aeb,_0x7e7be3){var _0x1dd429=this;_0x1dd429[_0x1cd3('0xc49')]={};_0x1dd429[_0x1cd3('0x15e8')]={'count':0x0,'rows':[]};_0x1dd429[_0x1cd3('0x15e9')]=![];_0x1dd429[_0x1cd3('0xe08')]=_0x496d31;_0x1dd429['getTrustedURL']=_0x2cf7f9;function _0x496d31(_0x468d2f,_0x2798bd){_0x1dd429[_0x1cd3('0xc49')]=_0x2798bd;_0x1dd429[_0x1cd3('0x1418')]=_0x468d2f;_0x1dd429[_0x1cd3('0x1418')][_0x1cd3('0x1582')]=!![];}function _0x2cf7f9(){return _0x7e7be3[_0x1cd3('0x902')](_0x1dd429['tab'][_0x1cd3('0x487')]);}}}());(function(){'use strict';_0x2e7f2d[_0x1cd3('0xc')]=[_0x1cd3('0x36f'),_0x1cd3('0x3e7'),'$document',_0x1cd3('0x460'),'$mdDialog','$q',_0x1cd3('0xd24'),_0x1cd3('0x3f7'),'api','toasty',_0x1cd3('0x56'),_0x1cd3('0xd18'),_0x1cd3('0x2dd'),_0x1cd3('0x1564')];_0x1ba887[_0x1cd3('0xc')]=[_0x1cd3('0x900')];angular[_0x1cd3('0x0')]('app.dashboards')['directive'](_0x1cd3('0x17cf'),_0x1ba887)[_0x1cd3('0x395')](_0x1cd3('0x17d0'),function(){return function(_0x31e978,_0x39c880,_0x1dd559,_0x21f0f5){var _0x49fee8=[];for(var _0x5024fb=0x0;_0x5024fb<_0x31e978['length'];_0x5024fb+=0x1){var _0x2b9528=!![];switch(_0x39c880){case'voice':_0x2b9528=Boolean(_0x31e978[_0x5024fb][_0x1cd3('0x6b4')]);break;case _0x1cd3('0xbf'):_0x2b9528=Boolean(_0x31e978[_0x5024fb][_0x1cd3('0x1203')]);break;case _0x1cd3('0x1d2'):_0x2b9528=Boolean(_0x31e978[_0x5024fb][_0x1cd3('0x1492')]);break;case _0x1cd3('0x26b'):_0x2b9528=Boolean(_0x31e978[_0x5024fb]['SmsAccountId']);break;case _0x1cd3('0x34a'):_0x2b9528=Boolean(_0x31e978[_0x5024fb][_0x1cd3('0x1583')]);break;case _0x1cd3('0x154'):_0x2b9528=Boolean(_0x31e978[_0x5024fb]['FaxAccountId']);break;case _0x1cd3('0x22e'):_0x2b9528=Boolean(_0x31e978[_0x5024fb][_0x1cd3('0x1490')]);break;default:_0x2b9528=!![];break;}if(_0x2b9528){if(_0x1dd559&&_0x21f0f5){_0x2b9528=moment(_0x31e978[_0x5024fb][_0x1cd3('0xe0d')])[_0x1cd3('0x17d1')](moment(_0x1dd559)[_0x1cd3('0x12f')](0x0,!![]),moment(_0x21f0f5)[_0x1cd3('0x12f')](0x0,!![])[_0x1cd3('0x425')](0x17,_0x1cd3('0x6d1'))['add'](0x3b,_0x1cd3('0x6d2'))[_0x1cd3('0x425')](0x3b,_0x1cd3('0x791')));}}if(_0x2b9528){_0x49fee8[_0x1cd3('0x7b')](_0x31e978[_0x5024fb]);}}return _0x49fee8;};})['controller'](_0x1cd3('0x133a'),_0x2e7f2d);function _0x2e7f2d(_0x2b2e08,_0x23bf1c,_0x5be9a4,_0x7fe307,_0x4622b7,_0x59aaf0,_0x537c1c,_0x35567d,_0x546d3c,_0x1a543a,_0x46adac,_0x3bba2e,_0x3e4d4a,_0x3c62c2){var _0xd3b4e2=this;var _0x4ef7c4=0x19;var _0x57a2ae=_0x4ef7c4*0x400*0x400;_0xd3b4e2[_0x1cd3('0x17d2')]=![];_0xd3b4e2['showInteraction']=![];_0xd3b4e2[_0x1cd3('0x368')]=_0x46adac['getCurrentUser']();_0xd3b4e2[_0x1cd3('0x3c2')]=_0x3e4d4a[_0x1cd3('0x3c2')]();_0xd3b4e2[_0x1cd3('0x146f')]=[];_0xd3b4e2[_0x1cd3('0x17d3')]=[];_0xd3b4e2[_0x1cd3('0x17d4')]=['mail',_0x1cd3('0xbf'),'sms','openchannel',_0x1cd3('0x154'),_0x1cd3('0x34a')];_0xd3b4e2[_0x1cd3('0x126a')]={'target':_0x1cd3('0x17d5'),'singleFile':!![],'maxChunkRetries':0x1,'chunkSize':_0x57a2ae,'simultaneousUploads':0x1,'testChunks':![],'progressCallbacksInterval':0x3e8,'allowDuplicateUploads':!![]};_0xd3b4e2[_0x1cd3('0x126b')]={'flow':{}};_0xd3b4e2[_0x1cd3('0x17d6')]={};_0xd3b4e2['selectedMailShowSystemMessage']={};_0xd3b4e2['setting']={};_0xd3b4e2['ctrlMethods']={};_0xd3b4e2[_0x1cd3('0x17d7')]={'fontSmiley':!![],'sanitizeHtml':!![],'emoji':!![],'link':!![],'linkTarget':'_blank'};_0xd3b4e2['firstDayMonth']=new Date(moment()['startOf'](_0x1cd3('0x6e8'))[_0x1cd3('0x6e6')](0x1,_0x1cd3('0x791'))[_0x1cd3('0x12f')](0x0,!![])['format']());_0xd3b4e2[_0x1cd3('0x15ef')]=new Date(moment()[_0x1cd3('0x131')]('month')[_0x1cd3('0x6e6')](0x1,_0x1cd3('0x138'))[_0x1cd3('0x12f')](0x0,!![])[_0x1cd3('0x130')]());_0xd3b4e2[_0x1cd3('0xe08')]=_0x279463;_0xd3b4e2[_0x1cd3('0x17d8')]=_0x1a0233;_0xd3b4e2[_0x1cd3('0x1689')]=_0xc16327;_0xd3b4e2[_0x1cd3('0x15f9')]=_0x53b5d8;_0xd3b4e2['disposeInteraction']=_0x4f82f7;_0xd3b4e2[_0x1cd3('0x17d9')]=_0x497d20;_0xd3b4e2[_0x1cd3('0x17da')]=_0x212079;_0xd3b4e2[_0x1cd3('0x1738')]=_0x586b6b;_0xd3b4e2[_0x1cd3('0x17db')]=_0x41c909;_0xd3b4e2[_0x1cd3('0x17bf')]=_0x4ac75f;_0xd3b4e2[_0x1cd3('0x17dc')]=_0x2ba68c;_0xd3b4e2[_0x1cd3('0x17dd')]=_0x1f980f;_0xd3b4e2['downloadInteraction']=_0x3964e9;_0xd3b4e2['openDraft']=_0x480258;_0xd3b4e2[_0x1cd3('0x17de')]=_0x17dcf4;_0xd3b4e2[_0x1cd3('0x15f3')]=_0x279269;_0xd3b4e2[_0x1cd3('0x15f4')]=_0x18afc1;_0xd3b4e2[_0x1cd3('0x15f5')]=_0x4040ef;_0xd3b4e2[_0x1cd3('0x15f6')]=_0x51ed1a;_0xd3b4e2[_0x1cd3('0x15f7')]=_0x542a9b;_0xd3b4e2[_0x1cd3('0x11ec')]=_0x3ab0db;_0xd3b4e2[_0x1cd3('0x1545')]=_0x4656e1;_0xd3b4e2[_0x1cd3('0x17df')]=_0x2a8fff;_0xd3b4e2[_0x1cd3('0x126d')]=_0x450125;_0xd3b4e2['fileAdded']=_0x3a2a86;_0xd3b4e2[_0x1cd3('0x126e')]=_0x2dc0e8;_0xd3b4e2[_0x1cd3('0x17e0')]=_0x37f1f2;_0xd3b4e2[_0x1cd3('0x17e1')]=_0x5d0965;_0xd3b4e2['searchTextChange']=_0x14cfc2;_0xd3b4e2[_0x1cd3('0x17e2')]=_0x21b9dd;_0xd3b4e2['getIconByChannel']=_0x1f9356;_0xd3b4e2[_0x1cd3('0x16cc')]=_0x3aa7fc;_0xd3b4e2[_0x1cd3('0x1485')]=_0x573a3a;_0xd3b4e2[_0x1cd3('0x15ea')]=_0x39ab4d;_0xd3b4e2[_0x1cd3('0x17e3')]=![];_0xd3b4e2[_0x1cd3('0x17e4')]=_0x6c4b23;_0xd3b4e2['setAs']=_0x2926f7;_0xd3b4e2[_0x1cd3('0x17e5')]=_0x447403;_0xd3b4e2[_0x1cd3('0x17e6')]=_0x5e2d30;_0xd3b4e2['getAttachments']=_0xd4ed36;_0xd3b4e2[_0x1cd3('0x17e7')]=_0x131306;_0xd3b4e2[_0x1cd3('0x917')]=_0x3c2cc6;_0xd3b4e2[_0x1cd3('0x17e8')]=_0x36b80b;_0xd3b4e2['onInteractionClose']=_0x47a2d3;_0xd3b4e2[_0x1cd3('0x17e9')]=_0x1e5439;_0xd3b4e2['timelineOptions']={'scrollEl':_0x1cd3('0x1472')};function _0x3ab0db(){_0x546d3c[_0x1cd3('0x368')][_0x1cd3('0x11ec')]({'id':_0xd3b4e2[_0x1cd3('0x368')]['id'],'nolimit':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x305a83){_0xd3b4e2[_0x1cd3('0x15fd')]=_0x305a83||{'count':0x0,'rows':[]};});}function _0x4656e1(){_0x546d3c[_0x1cd3('0x368')][_0x1cd3('0x1545')]({'id':_0xd3b4e2['user']['id'],'nolimit':!![]})[_0x1cd3('0x81')]['then'](function(_0x80955d){_0xd3b4e2['voiceAccounts']=_0x80955d||{'count':0x0,'rows':[]};});}function _0x542a9b(){_0x546d3c['user'][_0x1cd3('0x15f7')]({'id':_0xd3b4e2[_0x1cd3('0x368')]['id'],'nolimit':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x63ce28){_0xd3b4e2[_0x1cd3('0x15fb')]=_0x63ce28||{'count':0x0,'rows':[]};})['catch'](function(_0x8da8bf){if(_0x8da8bf['data']&&_0x8da8bf['data'][_0x1cd3('0xd34')]&&_0x8da8bf[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0xd3b4e2[_0x1cd3('0xd34')]=_0x8da8bf['data'][_0x1cd3('0xd34')]||[{'message':_0x8da8bf[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1617')}];for(var _0x21f160=0x0;_0x21f160<_0x8da8bf[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x21f160+=0x1){_0x1a543a[_0x1cd3('0x434')]({'title':_0x8da8bf[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x21f160][_0x1cd3('0x424')],'msg':_0x8da8bf['data'][_0x1cd3('0xd34')][_0x21f160][_0x1cd3('0x43a')]});}}else{_0x1a543a[_0x1cd3('0x434')]({'title':_0x8da8bf['status']?'API:'+_0x8da8bf[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x8da8bf[_0x1cd3('0xd35')]:_0x1cd3('0x1617'),'msg':_0x8da8bf[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x8da8bf[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x8da8bf[_0x1cd3('0x43b')]()});}});}function _0x279269(){_0x546d3c[_0x1cd3('0x368')][_0x1cd3('0x15f3')]({'id':_0xd3b4e2[_0x1cd3('0x368')]['id'],'nolimit':!![]})[_0x1cd3('0x81')]['then'](function(_0x39353a){_0xd3b4e2[_0x1cd3('0xefa')]=_0x39353a||{'count':0x0,'rows':[]};});}function _0x18afc1(){_0x546d3c[_0x1cd3('0x368')][_0x1cd3('0x15f4')]({'id':_0xd3b4e2[_0x1cd3('0x368')]['id'],'nolimit':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x509fc6){_0xd3b4e2['faxAccounts']=_0x509fc6||{'count':0x0,'rows':[]};});}function _0x4040ef(){_0x546d3c[_0x1cd3('0x368')]['getSmsAccounts']({'id':_0xd3b4e2[_0x1cd3('0x368')]['id'],'nolimit':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x17d66b){_0xd3b4e2[_0x1cd3('0xefe')]=_0x17d66b||{'count':0x0,'rows':[]};});}function _0x51ed1a(){_0x546d3c['user'][_0x1cd3('0x15f6')]({'id':_0xd3b4e2[_0x1cd3('0x368')]['id'],'nolimit':!![]})['$promise'][_0x1cd3('0x77')](function(_0x46d3ea){_0xd3b4e2[_0x1cd3('0x15fc')]=_0x46d3ea||{'count':0x0,'rows':[]};});}function _0x1e5439(){var _0x694ee0=_0x59aaf0[_0x1cd3('0x53a')]();if(_0xd3b4e2[_0x1cd3('0x17ea')]){_0xd3b4e2[_0x1cd3('0x17ea')][_0x1cd3('0xd57')]=_0xd3b4e2[_0x1cd3('0x15e8')]['rows'][_0x1cd3('0x7a')];return _0x546d3c[_0xd3b4e2[_0x1cd3('0x1418')][_0x1cd3('0x157f')]+'Interaction'][_0x1cd3('0x17eb')](_0xd3b4e2[_0x1cd3('0x17ea')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x2d0fc0){for(var _0x5adf28=0x0;_0x5adf28<_0x2d0fc0[_0x1cd3('0xf6')][_0x1cd3('0x7a')];_0x5adf28+=0x1){_0xd3b4e2['messages'][_0x1cd3('0xf6')]['push'](_0x2d0fc0[_0x1cd3('0xf6')][_0x5adf28]);if(!_0xd3b4e2[_0x1cd3('0x1332')][_0x1cd3('0x1586')]&&_0x2d0fc0[_0x1cd3('0xf6')][_0x5adf28]['direction']==='in'&&!_0x2d0fc0['rows'][_0x5adf28]['read']){_0x546d3c[_0xd3b4e2[_0x1cd3('0x1418')]['channel']+_0x1cd3('0xf2d')]['accept']({'id':_0x2d0fc0[_0x1cd3('0xf6')][_0x5adf28]['id'],'UserId':_0xd3b4e2['user']['id']});_0xd3b4e2[_0x1cd3('0x17d3')][_0x1cd3('0x7b')](_0x2d0fc0[_0x1cd3('0xf6')][_0x5adf28]['id']);}}return _0x694ee0['resolve'](_0x2d0fc0);})[_0x1cd3('0xfd')](function(_0x485799){return _0x694ee0['reject'](_0x485799);});}return _0x694ee0[_0x1cd3('0x3a7')]();}function _0x279463(_0x646e75,_0x3fbd6f){_0xd3b4e2['tab']=_0x646e75;_0xd3b4e2[_0x1cd3('0x1418')][_0x1cd3('0x1582')]=!![];_0xd3b4e2[_0x1cd3('0x1418')][_0x1cd3('0x15b5')]=0x0;_0xd3b4e2[_0x1cd3('0xc49')]=_0x3fbd6f||{};if(_0xd3b4e2[_0x1cd3('0x1418')]&&_0xd3b4e2['tab'][_0x1cd3('0x157f')]&&_0xd3b4e2['tab'][_0x1cd3('0x1332')]){_0xd3b4e2[_0x1cd3('0x1332')]=_0xd3b4e2[_0x1cd3('0x1418')]['interaction'];_0x546d3c[_0xd3b4e2['tab']['channel']+_0x1cd3('0x1495')]['get']({'id':_0xd3b4e2[_0x1cd3('0x1418')][_0x1cd3('0x1332')]['id'],'includeAll':!![]})['$promise'][_0x1cd3('0x77')](function(_0x51d3f9){if(_0x51d3f9){_0xd3b4e2[_0x1cd3('0x1332')]=_0x51d3f9;_0xd3b4e2[_0x1cd3('0x1418')][_0x1cd3('0x1332')]=_0x51d3f9;}_0xd3b4e2[_0x1cd3('0x1418')][_0x1cd3('0x1582')]=_0xd3b4e2['interaction'][_0x1cd3('0x1586')];_0xd3b4e2[_0x1cd3('0x17ea')]={'id':_0xd3b4e2[_0x1cd3('0x1332')]['id'],'includeAll':!![]};if(_0xd3b4e2[_0x1cd3('0x1418')][_0x1cd3('0x157f')]===_0x1cd3('0x1d2')){_0xd3b4e2['queryMessage'][_0x1cd3('0x550')]='-id';_0xd3b4e2[_0x1cd3('0x17ea')][_0x1cd3('0xd57')]=0x0;_0xd3b4e2[_0x1cd3('0x17ea')][_0x1cd3('0x8fe')]=0x3;}else{_0xd3b4e2[_0x1cd3('0x17ea')][_0x1cd3('0x550')]='id';_0xd3b4e2[_0x1cd3('0x17ea')]['nolimit']=!![];}return _0x546d3c[_0xd3b4e2[_0x1cd3('0x1418')]['channel']+_0x1cd3('0x1495')][_0x1cd3('0x17eb')](_0xd3b4e2[_0x1cd3('0x17ea')])[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x36e05a){_0xd3b4e2['messages']=_0x36e05a||{'count':0x0,'rows':[]};return _0x546d3c[_0xd3b4e2[_0x1cd3('0x1418')][_0x1cd3('0x157f')]===_0x1cd3('0xbf')?'chatWebsite':_0xd3b4e2[_0x1cd3('0x1418')][_0x1cd3('0x157f')]+'Account']['get']({'id':_0xd3b4e2['interaction'][_0xd3b4e2[_0x1cd3('0x1418')][_0x1cd3('0x157f')]===_0x1cd3('0xbf')?_0x1cd3('0x1203'):_['capitalize'](_0xd3b4e2[_0x1cd3('0x1418')][_0x1cd3('0x157f')])+_0x1cd3('0x17ec')]})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x340739){_0xd3b4e2[_0x1cd3('0x15d3')]=_0x340739;_0xd3b4e2[_0x1cd3('0x1418')]['title']=_0xd3b4e2[_0x1cd3('0x15d3')]['key']||_0xd3b4e2[_0x1cd3('0x15d3')][_0x1cd3('0x98')];if(_0xd3b4e2[_0x1cd3('0x1332')][_0x1cd3('0x1615')]){return _0x546d3c['cmContact'][_0x1cd3('0x361')]({'id':_0xd3b4e2['interaction'][_0x1cd3('0x1615')]})[_0x1cd3('0x81')];}})['then'](function(_0x617552){if(_0x617552){_0xd3b4e2[_0x1cd3('0x105')]=_0x617552;}_0xd3b4e2[_0x1cd3('0x15e9')]=!![];if(_0xd3b4e2[_0x1cd3('0x105')]){_0x1d5d55(_0xd3b4e2['contact']);_0xd3b4e2[_0x1cd3('0x1418')][_0x1cd3('0x486')]+=_0x1cd3('0x436')+_0xd3b4e2[_0x1cd3('0x105')][_0x1cd3('0x1447')];}else{_0xd3b4e2[_0x1cd3('0x1418')]['title']+=_0x1cd3('0x436')+_0x35567d[_0x1cd3('0x44a')](_0xd3b4e2['tab'][_0x1cd3('0x157f')][_0x1cd3('0x437')]()+'.UNKNOWN');}return _0x546d3c[_0x1cd3('0x368')]['get']({'fields':_0x1cd3('0x1494'),'nolimit':!![]})[_0x1cd3('0x81')];})['then'](function(_0x573df5){_0xd3b4e2[_0x1cd3('0xef4')]=_0x573df5||{'count':0x0,'rows':[]};_0xd3b4e2[_0x1cd3('0x1604')]=_['mapValues'](_[_0x1cd3('0xe2d')](_0xd3b4e2[_0x1cd3('0xef4')][_0x1cd3('0xf6')],'id'),_0x1cd3('0xd3'));})['then'](function(){if(_0xd3b4e2[_0x1cd3('0x1418')][_0x1cd3('0x157f')]&&_0xd3b4e2[_0x1cd3('0x1332')]){return _0x546d3c[_0x1cd3('0x368')]['add'+_[_0x1cd3('0x12bc')](_0xd3b4e2[_0x1cd3('0x1418')][_0x1cd3('0x157f')])+_0x1cd3('0x1594')]({'id':_0xd3b4e2[_0x1cd3('0x368')]['id'],'ids':[_0xd3b4e2[_0x1cd3('0x1332')]['id']]});}})['then'](function(){return _0x546d3c[_0x1cd3('0x174c')][_0x1cd3('0x361')]({'sort':_0x1cd3('0x98'),'nolimit':!![]})[_0x1cd3('0x81')];})['then'](function(_0x11d6f7){_0xd3b4e2[_0x1cd3('0x1750')]=_0x11d6f7||{'count':0x0,'rows':[]};})[_0x1cd3('0x77')](function(){return _0xd3b4e2[_0x1cd3('0x15f3')]();})[_0x1cd3('0x77')](function(){return _0xd3b4e2[_0x1cd3('0x15f4')]();})[_0x1cd3('0x77')](function(){return _0xd3b4e2[_0x1cd3('0x15f5')]();})['then'](function(){return _0xd3b4e2[_0x1cd3('0x15f6')]();})[_0x1cd3('0x77')](function(){return _0xd3b4e2[_0x1cd3('0x15f7')]();})[_0x1cd3('0x77')](function(){return _0xd3b4e2[_0x1cd3('0x11ec')]();})[_0x1cd3('0x77')](function(){return _0xd3b4e2[_0x1cd3('0x1545')]();})[_0x1cd3('0xfd')](function(_0x21b035){_0xd3b4e2[_0x1cd3('0x15e9')]=!![];})[_0x1cd3('0x5dd')](function(){_0x36c5d2();_0x51c2ac();_0x3bba2e['on'](_0xd3b4e2[_0x1cd3('0x1418')][_0x1cd3('0x157f')]+_0x1cd3('0x17ed'),_0xd3b4e2['onMessageSave']);_0x3bba2e['on'](_0xd3b4e2[_0x1cd3('0x1418')][_0x1cd3('0x157f')]+_0x1cd3('0x17ee'),_0xd3b4e2[_0x1cd3('0x17e0')]);_0x3bba2e['on'](_0xd3b4e2[_0x1cd3('0x1418')]['channel']+_0x1cd3('0x17ef'),_0xd3b4e2[_0x1cd3('0x17e1')]);_0x3bba2e['on'](_0xd3b4e2[_0x1cd3('0x1418')][_0x1cd3('0x157f')]+_0x1cd3('0x17f0'),_0xd3b4e2[_0x1cd3('0x17e1')]);_0x3bba2e['on'](_0x1cd3('0x17f1')+_0xd3b4e2[_0x1cd3('0x1418')][_0x1cd3('0x157f')]+_0x1cd3('0x17f2'),_0xd3b4e2['onInteractionOpen']);_0x3bba2e['on'](_0x1cd3('0x17f1')+_0xd3b4e2[_0x1cd3('0x1418')][_0x1cd3('0x157f')]+'_interactions:remove',_0xd3b4e2[_0x1cd3('0x17f3')]);_0xd3b4e2[_0x1cd3('0x1418')]['areaText']=_0xd3b4e2[_0x1cd3('0x1418')][_0x1cd3('0x17f4')]?_0xd3b4e2[_0x1cd3('0x1418')][_0x1cd3('0x17f4')]:'';_0xd3b4e2[_0x1cd3('0x17d2')]=!![];if(_0xd3b4e2['tab'][_0x1cd3('0x157f')]==='mail'){_0xd3b4e2[_0x1cd3('0x1584')]=_0x3c62c2[_0x1cd3('0x15d0')](_0xd3b4e2[_0x1cd3('0x1418')][_0x1cd3('0x1332')]['id']);if(_0xd3b4e2['tab'][_0x1cd3('0x15a6')]){if(_0xd3b4e2[_0x1cd3('0x1418')][_0x1cd3('0x1332')]['closed']){_0x3c62c2[_0x1cd3('0x15d1')](_0xd3b4e2['tab'][_0x1cd3('0x1332')]['id']);_0xd3b4e2[_0x1cd3('0x1584')]=null;}else{_0x480258();}}}});}}function _0x5e2d30(_0x51298d){if(_0x51298d[_0x1cd3('0x148f')]){return _[_0x1cd3('0x38f')](_['map'](_0xd3b4e2[_0x1cd3('0x15fa')]?_0xd3b4e2[_0x1cd3('0x15fa')]['rows']:[],'id'),_0x51298d['FaxAccountId']);}else if(_0x51298d[_0x1cd3('0x1490')]){return _['includes'](_[_0x1cd3('0x3d9')](_0xd3b4e2[_0x1cd3('0x15fb')]?_0xd3b4e2['openchannelAccounts']['rows']:[],'id'),_0x51298d[_0x1cd3('0x1490')]);}else if(_0x51298d[_0x1cd3('0x1491')]){return _['includes'](_[_0x1cd3('0x3d9')](_0xd3b4e2[_0x1cd3('0xefe')]?_0xd3b4e2[_0x1cd3('0xefe')]['rows']:[],'id'),_0x51298d[_0x1cd3('0x1491')]);}else if(_0x51298d[_0x1cd3('0x1583')]){return _[_0x1cd3('0x38f')](_['map'](_0xd3b4e2['whatsappAccounts']?_0xd3b4e2[_0x1cd3('0x15fc')][_0x1cd3('0xf6')]:[],'id'),_0x51298d[_0x1cd3('0x1583')]);}else if(_0x51298d[_0x1cd3('0x1492')]){return _[_0x1cd3('0x38f')](_['map'](_0xd3b4e2['mailAccounts']?_0xd3b4e2[_0x1cd3('0xefa')][_0x1cd3('0xf6')]:[],'id'),_0x51298d[_0x1cd3('0x1492')]);}else if(_0x51298d['ChatWebsiteId']){return _[_0x1cd3('0x38f')](_[_0x1cd3('0x3d9')](_0xd3b4e2[_0x1cd3('0x15fd')]?_0xd3b4e2['chatAccounts'][_0x1cd3('0xf6')]:[],'id'),_0x51298d[_0x1cd3('0x1203')]);}else if(_0x51298d[_0x1cd3('0x1493')]){return!![];}return![];}function _0x36b80b(_0x362c8c){var _0x7fc80d;if(_0xd3b4e2[_0x1cd3('0x1332')]['id']==_0x362c8c[_['upperFirst'](_0xd3b4e2['tab'][_0x1cd3('0x157f')])+_0x1cd3('0x17f5')]){if(_0xd3b4e2[_0x1cd3('0x1332')][_0x1cd3('0xa0')]){_0x7fc80d=_[_0x1cd3('0x442')](_0xd3b4e2[_0x1cd3('0x1332')][_0x1cd3('0xa0')],{'id':_0x362c8c['UserId']});}if(!_0x7fc80d){_0xd3b4e2[_0x1cd3('0x1332')][_0x1cd3('0xa0')][_0x1cd3('0x7b')]({'id':_0x362c8c['UserId']});}}}function _0x47a2d3(_0x371784){if(_0xd3b4e2[_0x1cd3('0x1332')]['id']==_0x371784[_[_0x1cd3('0x12bc')](_0xd3b4e2[_0x1cd3('0x1418')][_0x1cd3('0x157f')])+_0x1cd3('0x17f5')]){if(_0xd3b4e2[_0x1cd3('0x1332')]['Users']){_[_0x1cd3('0x383')](_0xd3b4e2[_0x1cd3('0x1332')][_0x1cd3('0xa0')],{'id':_0x371784[_0x1cd3('0x1226')]});}}}function _0x21b9dd(_0x4339d5){if(_0x4339d5){try{_[_0x1cd3('0x17f6')][_0x1cd3('0x17f7')]=/{{([\s\S]+?)}}/g;var _0x324fc9=_[_0x1cd3('0xb7a')](_0x4339d5[_0x1cd3('0x3db')]);var _0x18262c={'user':_0xd3b4e2[_0x1cd3('0x368')],'account':_0xd3b4e2[_0x1cd3('0x15d3')],'interaction':_0xd3b4e2[_0x1cd3('0x1332')],'contact':_0xd3b4e2['interaction']&&_0xd3b4e2['interaction'][_0x1cd3('0x1323')]?_0xd3b4e2['interaction'][_0x1cd3('0x1323')]:{}};_0xd3b4e2[_0x1cd3('0x1418')]['areaText']+='\x20'+_0x324fc9(_0x18262c);_0xd3b4e2['ctrlMethods'][_0x1cd3('0x49d')](_0xd3b4e2['tab'][_0x1cd3('0x17f4')]);}catch(_0x2fc3ab){_0xd3b4e2[_0x1cd3('0x1418')][_0x1cd3('0x17f4')]+='\x20'+_0x4339d5[_0x1cd3('0x3db')];_0xd3b4e2[_0x1cd3('0x49f')][_0x1cd3('0x49d')](_0xd3b4e2[_0x1cd3('0x1418')][_0x1cd3('0x17f4')]);}_0xd3b4e2[_0x1cd3('0xdfd')]=null;_0xd3b4e2[_0x1cd3('0x17e4')]();}}function _0x14cfc2(_0x49f3d8){var _0x9ed41c=_0x59aaf0[_0x1cd3('0x53a')]();var _0x363a32=[];var _0x36a21d={};var _0x5f35f3=_0xd3b4e2['tab'][_0x1cd3('0x157f')]==='chat'?_0x1cd3('0x1203'):_[_0x1cd3('0x12b1')](_0xd3b4e2[_0x1cd3('0x1418')][_0x1cd3('0x157f')])+_0x1cd3('0x17ec');_0x36a21d[_0x1cd3('0x395')]=_0x49f3d8;_0x36a21d[_0x5f35f3]=_0xd3b4e2[_0x1cd3('0x15d3')]['id'];_0x546d3c[_0x1cd3('0x12c1')][_0x1cd3('0x361')](_0x36a21d)['$promise'][_0x1cd3('0x77')](function(_0x56f1f3){_0x363a32=_[_0x1cd3('0x3ae')](_0x363a32,_0x56f1f3[_0x1cd3('0xf6')]);return _0x546d3c['cannedAnswer'][_0x1cd3('0x361')]({'filter':_0x49f3d8})['$promise'];})[_0x1cd3('0x77')](function(_0x55b8d5){_0x363a32=_['concat'](_0x363a32,_['filter'](_0x55b8d5[_0x1cd3('0xf6')],function(_0x2aa99f){return!_0x2aa99f[_0x1cd3('0x1492')]&&!_0x2aa99f[_0x1cd3('0x148f')]&&!_0x2aa99f[_0x1cd3('0x1491')]&&!_0x2aa99f[_0x1cd3('0x1583')]&&!_0x2aa99f[_0x1cd3('0x1490')]&&!_0x2aa99f[_0x1cd3('0x1203')];}));_0x9ed41c[_0x1cd3('0x58')](_0x363a32);})[_0x1cd3('0xfd')](function(_0x178c83){_0x9ed41c[_0x1cd3('0x3a7')](_0x178c83);});return _0x9ed41c[_0x1cd3('0x539')];}function _0xc16327(_0x3d3231,_0x3a09fe){try{if(_0xd3b4e2[_0x1cd3('0x1418')]&&!_0xd3b4e2[_0x1cd3('0x1418')][_0x1cd3('0x17f8')]){_0x7fe307[_0x1cd3('0x70b')][_0x1cd3('0x70b')]['$parent']['vm'][_0x1cd3('0x15c1')](_0x3a09fe||_0xd3b4e2[_0x1cd3('0x105')]);}}catch(_0x35a96c){_0x1a543a[_0x1cd3('0x434')]({'title':_0x1cd3('0x17f9'),'msg':'Unable\x20to\x20open\x20the\x20contact'});}}function _0x53b5d8(_0x58c2ca,_0xfd991b){try{if(_0xfd991b[_0x1cd3('0x1492')]){return _0x7fe307['$parent']['$parent'][_0x1cd3('0x70b')]['vm']['addInteractionTab'](_0x1cd3('0x1d2'),_0xfd991b);}else if(_0xfd991b['ChatWebsiteId']){return _0x7fe307[_0x1cd3('0x70b')][_0x1cd3('0x70b')][_0x1cd3('0x70b')]['vm'][_0x1cd3('0x1574')](_0x1cd3('0xbf'),_0xfd991b);}else if(_0xfd991b[_0x1cd3('0x1491')]){return _0x7fe307['$parent'][_0x1cd3('0x70b')][_0x1cd3('0x70b')]['vm']['addInteractionTab'](_0x1cd3('0x26b'),_0xfd991b);}else if(_0xfd991b[_0x1cd3('0x1583')]){return _0x7fe307[_0x1cd3('0x70b')][_0x1cd3('0x70b')][_0x1cd3('0x70b')]['vm']['addInteractionTab'](_0x1cd3('0x34a'),_0xfd991b);}else if(_0xfd991b[_0x1cd3('0x1490')]){return _0x7fe307[_0x1cd3('0x70b')]['$parent'][_0x1cd3('0x70b')]['vm'][_0x1cd3('0x1574')]('openchannel',_0xfd991b);}else if(_0xfd991b[_0x1cd3('0x148f')]){return _0x7fe307[_0x1cd3('0x70b')][_0x1cd3('0x70b')][_0x1cd3('0x70b')]['vm'][_0x1cd3('0x1574')](_0x1cd3('0x154'),_0xfd991b);}}catch(_0x33c1d9){_0x1a543a[_0x1cd3('0x434')]({'title':_0x1cd3('0x15fe'),'msg':'Customer\x20Journey\x20can\x27t\x20open\x20the\x20interaction'});}}function _0x497d20(){_0x4622b7[_0x1cd3('0x37e')]({'controller':'TagInteractionDialogController','controllerAs':'vm','templateUrl':'app/main/apps/dashboards/views/general/agent/interaction/tag/dialog.html','parent':angular[_0x1cd3('0x37f')](_0x5be9a4[_0x1cd3('0x380')]),'clickOutsideToClose':!![],'skipHide':Boolean(_0xd3b4e2[_0x1cd3('0x1418')][_0x1cd3('0x17f8')]),'resolve':{'tags':[_0x1cd3('0x62'),function(_0x17d58c){return _0x17d58c[_0x1cd3('0x58')](_0x1cd3('0xf8'),{'sort':_0x1cd3('0x98'),'nolimit':!![],'fields':_0x1cd3('0x17fa')});}]},'locals':{'channel':_0xd3b4e2['tab'][_0x1cd3('0x157f')],'interaction':_0xd3b4e2[_0x1cd3('0x1418')][_0x1cd3('0x1332')]}});}function _0x4f82f7(){var _0x299c97=_0xd3b4e2['user'][_0x1cd3('0x604')]||_0xd3b4e2[_0x1cd3('0x368')][_0x1cd3('0x138b')]||_0xd3b4e2['user']['mailPause']||_0xd3b4e2['user'][_0x1cd3('0x138c')]||_0xd3b4e2[_0x1cd3('0x368')][_0x1cd3('0x138f')];var _0xf8f217=!_0xd3b4e2[_0x1cd3('0x1418')][_0x1cd3('0x1332')][_0x1cd3('0x1591')][_0x1cd3('0x158c')];_0x4622b7[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1592'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1593'),'parent':angular[_0x1cd3('0x37f')](_0x5be9a4[_0x1cd3('0x380')]),'clickOutsideToClose':_0xf8f217,'escapeToClose':_0xf8f217,'onRemoving':function(_0x2c8a3a,_0x1d91f6){if(_0xd3b4e2[_0x1cd3('0x368')]&&_0xd3b4e2[_0x1cd3('0x1332')][_0x1cd3('0x1591')][_0x1cd3('0x158c')]&&!_0x299c97){_0x546d3c[_0x1cd3('0x368')][_0x1cd3('0x13ed')]({'id':_0xd3b4e2[_0x1cd3('0x368')]['id']})['$promise'][_0x1cd3('0xfd')](function(_0x92bc1e){console[_0x1cd3('0x434')](_0x92bc1e);});}},'locals':{'user':_0xd3b4e2['user'],'channel':_0xd3b4e2[_0x1cd3('0x1418')]['channel'],'interaction':_0xd3b4e2[_0x1cd3('0x1418')][_0x1cd3('0x1332')]}})[_0x1cd3('0x77')](function(_0x38c378){_0xd3b4e2[_0x1cd3('0x1418')][_0x1cd3('0x1582')]=Boolean(_0x38c378);if(_0x38c378){_0x7fe307[_0x1cd3('0x70b')]['$parent'][_0x1cd3('0x70b')]['vm'][_0x1cd3('0x17fb')](_0xd3b4e2[_0x1cd3('0x1418')]);}});}function _0x40403d(_0x7a1414,_0x272bae){if(!_0xd3b4e2[_0x1cd3('0x1418')][_0x1cd3('0x43a')]||_0xd3b4e2['draft']){_0xd3b4e2['tab'][_0x1cd3('0x43a')]=_0x272bae;}_0x4622b7['show']({'controller':_0x1cd3('0x175c'),'controllerAs':'vm','templateUrl':_0x1cd3('0x175d'),'parent':angular['element'](_0x5be9a4[_0x1cd3('0x380')]),'clickOutsideToClose':![],'locals':{'account':_0xd3b4e2[_0x1cd3('0x15d3')],'message':_0xd3b4e2[_0x1cd3('0x1418')][_0x1cd3('0x43a')],'type':_0x7a1414,'interaction':_0xd3b4e2[_0x1cd3('0x1332')]},'fullscreen':!![],'skipHide':Boolean(_0xd3b4e2[_0x1cd3('0x1418')][_0x1cd3('0x17f8')])})[_0x1cd3('0x77')](function(_0x263c8f){if(_0x263c8f){if(_0x263c8f['message']&&_0x263c8f[_0x1cd3('0x43a')][_0x1cd3('0x1745')]){if(_0xd3b4e2[_0x1cd3('0x1584')]){_0x3c62c2[_0x1cd3('0x378')]({'id':_0xd3b4e2[_0x1cd3('0x1584')]['id'],'channel':_0x1cd3('0x1d2'),'account':_0xd3b4e2[_0x1cd3('0x15d3')],'message':_0x263c8f[_0x1cd3('0x43a')],'contact':_0xd3b4e2['contact'],'interaction':_0xd3b4e2['interaction']});}else{_0x3c62c2[_0x1cd3('0x425')]({'channel':_0x1cd3('0x1d2'),'account':_0xd3b4e2[_0x1cd3('0x15d3')],'message':_0x263c8f[_0x1cd3('0x43a')],'contact':_0xd3b4e2['contact'],'interaction':_0xd3b4e2['interaction']});}_0xd3b4e2['draft']=_0x3c62c2['getByInteraction'](_0xd3b4e2[_0x1cd3('0x1418')][_0x1cd3('0x1332')]['id']);}else{var _0x272bae=_0x263c8f;if(_0x272bae){_0x4e4c4d(_0x272bae);}if(_0x272bae[_0x1cd3('0x1495')]&&_0xd3b4e2[_0x1cd3('0x1332')]&&_0xd3b4e2[_0x1cd3('0x1332')]['id']){_0x272bae[_0x1cd3('0x1495')]['id']=_0xd3b4e2[_0x1cd3('0x1332')]['id'];_0x546d3c[_0x1cd3('0xa8f')][_0x1cd3('0x378')](_0x272bae['Interaction'])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x3efc79){if(_0x3efc79&&_0x3efc79[_0x1cd3('0x1586')]){_0xd3b4e2[_0x1cd3('0x1418')][_0x1cd3('0x1582')]=!![];_0xd3b4e2[_0x1cd3('0x1332')][_0x1cd3('0x1586')]=!![];_0x4f82f7();}else if(_0x272bae['Interaction'][_0x1cd3('0x1758')]!==null){_0xd3b4e2[_0x1cd3('0x1418')][_0x1cd3('0x1582')]=!![];_0xd3b4e2[_0x1cd3('0x1418')][_0x1cd3('0x1332')][_0x1cd3('0x1758')]=_0x272bae['Interaction'][_0x1cd3('0x1758')];_0x7fe307[_0x1cd3('0x70b')][_0x1cd3('0x70b')][_0x1cd3('0x70b')]['vm'][_0x1cd3('0x17fb')](_0xd3b4e2['tab']);}})['catch'](function(_0x14064c){console['error'](_0x14064c);});}}}})[_0x1cd3('0x5dd')](function(){_0xd3b4e2[_0x1cd3('0x1418')][_0x1cd3('0x15a6')]=![];});}function _0x212079(_0x29d1b0,_0x33971b){if(_0x33971b[_0x1cd3('0x17fc')]){var _0xf6288e=_[_0x1cd3('0x442')](_0xd3b4e2[_0x1cd3('0x15e8')][_0x1cd3('0xf6')],{'messageId':_0x33971b['inReplyTo']});if(_0xf6288e){_0x40403d(_0x29d1b0,_0xf6288e);}else{return _0x546d3c[_0x1cd3('0xa94')][_0x1cd3('0x361')]({'messageId':_0x33971b['inReplyTo']})['$promise'][_0x1cd3('0x77')](function(_0x2a29d2){_0x40403d(_0x29d1b0,_0x2a29d2&&_0x2a29d2['count']?_0x2a29d2['rows'][0x0]:undefined);})[_0x1cd3('0xfd')](function(_0xb61bcb){console[_0x1cd3('0x434')](_0xb61bcb);_0x40403d(_0x29d1b0,undefined);});}}else{_0x40403d(_0x29d1b0,_0x33971b);}}function _0x586b6b(_0x1bebfb){var _0x3236be={'to':[]};_0x3236be['to'][_0x1cd3('0x7b')](_0xd3b4e2[_0x1cd3('0x105')]['fax']);_0x4622b7[_0x1cd3('0x37e')]({'controller':'ComposeFaxInteractionDialogController','controllerAs':'vm','templateUrl':_0x1cd3('0x1744'),'parent':angular[_0x1cd3('0x37f')](_0x5be9a4[_0x1cd3('0x380')]),'clickOutsideToClose':![],'locals':{'account':_0xd3b4e2[_0x1cd3('0x15d3')],'message':_0x3236be,'type':_0x1bebfb},'fullscreen':!![]})[_0x1cd3('0x77')](function(_0x1a6f77){return _0x546d3c[_0x1cd3('0xaa4')]['send']({'id':_0xd3b4e2[_0x1cd3('0x15d3')]['id']},_0x1a6f77)[_0x1cd3('0x81')]['then'](function(_0x598148){_0x1a543a[_0x1cd3('0x473')]({'title':_0x1cd3('0x160d'),'msg':_0x1cd3('0x160e')});_0x7fe307[_0x1cd3('0x70b')]['vm']['addInteractionTab'](_0x1cd3('0x154'),_0x598148);})[_0x1cd3('0xfd')](function(_0x3ba98e){if(_0x3ba98e[_0x1cd3('0x439')]&&_0x3ba98e['data'][_0x1cd3('0xd34')]&&_0x3ba98e[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){for(var _0x3f23fa=0x0;_0x3f23fa<_0x3ba98e['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x3f23fa++){_0x1a543a['error']({'title':_0x3ba98e[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x3f23fa][_0x1cd3('0x424')],'msg':_0x3ba98e[_0x1cd3('0x439')]['errors'][_0x3f23fa][_0x1cd3('0x43a')]});}}else{_0x1a543a[_0x1cd3('0x434')]({'title':_0x1cd3('0x1746'),'msg':_0x3ba98e['data']?JSON['stringify'](_0x3ba98e[_0x1cd3('0x439')]):_0x3ba98e[_0x1cd3('0x43a')]||_0x3ba98e['toString']()});}});});}function _0x41c909(_0x82af7a,_0xb717ad){_0x4622b7[_0x1cd3('0x37e')]({'controller':'ComposeSmsInteractionDialogController','controllerAs':'vm','templateUrl':_0x1cd3('0x17ac'),'parent':angular[_0x1cd3('0x37f')](_0x5be9a4[_0x1cd3('0x380')]),'clickOutsideToClose':![],'locals':{'account':_0xd3b4e2['account'],'message':_0xb717ad,'type':_0x82af7a},'fullscreen':!![],'skipHide':Boolean(_0xd3b4e2[_0x1cd3('0x1418')][_0x1cd3('0x17f8')])})[_0x1cd3('0x77')](function(_0x594e18){if(_0x594e18){_0x4e4c4d(_0x594e18);}});}function _0x4ac75f(_0x1a807d,_0x2fdb1c){_0x4622b7['show']({'controller':_0x1cd3('0x17c9'),'controllerAs':'vm','templateUrl':'app/main/apps/dashboards/views/general/agent/interaction/composeWhatsapp/dialog.html','parent':angular['element'](_0x5be9a4[_0x1cd3('0x380')]),'clickOutsideToClose':![],'locals':{'account':_0xd3b4e2[_0x1cd3('0x15d3')],'message':_0x2fdb1c,'type':_0x1a807d},'fullscreen':!![],'skipHide':Boolean(_0xd3b4e2['tab'][_0x1cd3('0x17f8')])})[_0x1cd3('0x77')](function(_0x39e17c){if(_0x39e17c){_0x4e4c4d(_0x39e17c);}});}function _0x2ba68c(){if(_0xd3b4e2[_0x1cd3('0x1332')]){var _0x544842=_[_0x1cd3('0x17fd')](_0xd3b4e2[_0x1cd3('0x15e8')][_0x1cd3('0xf6')],function(_0x5b46e2){return _0x5b46e2['direction']==='in';});if(_0x544842){_0x4622b7['show']({'controller':_0x1cd3('0x17fe'),'controllerAs':'vm','templateUrl':_0x1cd3('0x17ff'),'parent':angular[_0x1cd3('0x37f')](_0x5be9a4[_0x1cd3('0x380')]),'clickOutsideToClose':![],'locals':{'account':_0xd3b4e2[_0x1cd3('0x15d3')],'interaction':_0xd3b4e2[_0x1cd3('0x1332')],'message':_0x544842,'channel':_0xd3b4e2[_0x1cd3('0x1418')][_0x1cd3('0x157f')]}})[_0x1cd3('0x77')](function(_0x17dc38){_0xd3b4e2['tab'][_0x1cd3('0x1582')]=Boolean(_0x17dc38);if(_0x17dc38){_0x7fe307[_0x1cd3('0x70b')]['$parent']['$parent']['vm']['closeTab'](_0xd3b4e2[_0x1cd3('0x1418')]);}});}else{_0x1a543a[_0x1cd3('0x434')]({'title':'Invalid\x20transfer','msg':_0x1cd3('0x1800')});}}}function _0x22fa88(_0x73639b){var _0x2d10c8={};var _0x10b394=_0xd3b4e2[_0x1cd3('0x1418')]['channel']===_0x1cd3('0xbf')?_0x1cd3('0x1203'):_[_0x1cd3('0x12b1')](_0xd3b4e2[_0x1cd3('0x1418')][_0x1cd3('0x157f')])+_0x1cd3('0x17ec');_0x2d10c8[_0x10b394]=_0xd3b4e2['interaction'][_0x10b394][_0x1cd3('0x43b')]();_0x2d10c8[_[_0x1cd3('0x12b1')](_0xd3b4e2[_0x1cd3('0x1418')][_0x1cd3('0x157f')])+'InteractionId']=_0xd3b4e2[_0x1cd3('0x1332')]['id'];if(_0xd3b4e2[_0x1cd3('0x1418')]['channel']===_0x1cd3('0x26b')||_0xd3b4e2[_0x1cd3('0x1418')][_0x1cd3('0x157f')]===_0x1cd3('0x34a')){_0x2d10c8[_0x1cd3('0xf09')]=_0xd3b4e2[_0x1cd3('0x1332')][_0x1cd3('0xf09')];}if(_0x73639b){_0x2d10c8[_0x1cd3('0x1226')]=_0xd3b4e2[_0x1cd3('0x368')]['id'];_0x2d10c8[_0x1cd3('0x1615')]=_0xd3b4e2['interaction']['ContactId'];_0x2d10c8['body']=_0x73639b;}return _0x2d10c8;}function _0x3a2a86(_0x9320d3){if(_0x9320d3[_0x1cd3('0x113e')]>_0x57a2ae){_0x1a543a[_0x1cd3('0x434')]({'title':_0x1cd3('0x1276'),'msg':_0x1cd3('0x1277')+_0x4ef7c4+'MB'});return![];}return!![];}function _0x2dc0e8(_0x28b8e8,_0x3b88fd){var _0x1d2462=JSON[_0x1cd3('0x79')](_0x3b88fd);var _0x248128=_0x1d2462['name'];if(_0xd3b4e2[_0x1cd3('0x1418')][_0x1cd3('0x157f')]===_0x1cd3('0xbf')){_0x248128='<a\x20href=\x22'+(_0xd3b4e2['account'][_0x1cd3('0x603')]?_0xd3b4e2[_0x1cd3('0x15d3')][_0x1cd3('0x603')]:_0x537c1c[_0x1cd3('0x3b0')]()+_0x1cd3('0x11cf')+_0x537c1c[_0x1cd3('0x3ac')]())+_0x1cd3('0x1801')+_0xd3b4e2[_0x1cd3('0x1332')]['id']+_0x1cd3('0x1802')+_0x1d2462['id']+'&token='+_0xd3b4e2[_0x1cd3('0x15d3')]['token']+_0x1cd3('0x1803')+_0x1d2462[_0x1cd3('0x98')]+_0x1cd3('0x1804');}_0x4e4c4d({'body':_0x248128,'AttachmentId':_0x1d2462['id']});}function _0x450125(){_0xd3b4e2[_0x1cd3('0x126b')][_0x1cd3('0x46')][_0x1cd3('0x130a')][_0x1cd3('0x3a2')]={'X-Requested-With':_0x1cd3('0x130b'),'Authorization':_0x1cd3('0x3a5')+_0x2b2e08[_0x1cd3('0x361')](_0x1cd3('0x374'))};_0xd3b4e2[_0x1cd3('0x126b')][_0x1cd3('0x46')]['upload']();}function _0x2a8fff(_0x580f14,_0x523cad){if(_0x580f14&&_0x580f14['keyCode']===0xd&&_0x580f14[_0x1cd3('0x1805')]){return;}if(_0x580f14&&_0x580f14[_0x1cd3('0x65e')]!==0xd){return;}if(_0x523cad['trim']()===''){return;}_0x4e4c4d(_0x22fa88(_0x523cad[_0x1cd3('0x3f1')](/\n$/,'')));}function _0x51c2ac(){if(_0xd3b4e2[_0x1cd3('0x1418')][_0x1cd3('0x157f')]!==_0x1cd3('0x1d2')){_0x23bf1c(function(){var _0x2a0e9b=angular[_0x1cd3('0x37f')](_0x5be9a4[_0x1cd3('0x442')](_0x1cd3('0x1806')+_0xd3b4e2[_0x1cd3('0x1418')]['id']+'\x27]'));if(_0x2a0e9b&&_0x2a0e9b[0x0]){_0x2a0e9b[0x0]['scrollTop']=_0x2a0e9b[0x0][_0x1cd3('0x6fa')];}},0x0);}}function _0x1a0233(_0x611da5){var _0x48233d=_0x1cd3('0x1807');if(_0x611da5){if(_0x611da5[_0x1cd3('0x5e0')]==='in'){return _0x611da5[_0x1cd3('0x1323')]?_0x611da5['Contact'][_0x1cd3('0x1447')]||'Anonymous':_0x48233d;}else if(_0x611da5['UserId']){return _0xd3b4e2[_0x1cd3('0x1604')]?_0xd3b4e2[_0x1cd3('0x1604')][_0x611da5[_0x1cd3('0x1226')]]:_0x48233d;}return _0x1cd3('0x1808')||_0x48233d;}}function _0x1f980f(_0x5e8295,_0x36fc2e){if(_0xd3b4e2[_0x1cd3('0x1418')]['channel']&&_0x5e8295['id']){_0x546d3c[_0xd3b4e2[_0x1cd3('0x1418')][_0x1cd3('0x157f')]+'Message'][_0x1cd3('0x489')]({'id':_0x5e8295['id'],'attachments':_0x36fc2e})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x9566bd){var _0xb54326=[_0x9566bd[_0x1cd3('0x6ef')]];var _0x3ecc03=_0x1cd3('0x489');var _0x26d04c=new Blob(_0xb54326,{'type':_0x9566bd[_0x1cd3('0x424')]});_0x3ecc03=_0xd3b4e2['tab'][_0x1cd3('0x157f')]+_0x1cd3('0x1809')+_0x5e8295['id']+_0x1cd3('0x180a');var _0x4e984b=window['document'][_0x1cd3('0x3aa')]('a');_0x4e984b[_0x1cd3('0x481')]('href',URL[_0x1cd3('0x48a')](_0x26d04c));_0x4e984b[_0x1cd3('0x481')](_0x1cd3('0x489'),_0x3ecc03);document[_0x1cd3('0x380')][_0x1cd3('0xd4e')](_0x4e984b);_0x4e984b['click']();})[_0x1cd3('0xfd')](function(_0x550559){if(_0x550559[_0x1cd3('0x439')]&&_0x550559[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x550559[_0x1cd3('0x439')]['errors']['length']){for(var _0x5f27c0=0x0;_0x5f27c0<_0x550559['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x5f27c0+=0x1){_0x1a543a[_0x1cd3('0x434')]({'title':_0x550559['data']['errors'][_0x5f27c0]['type'],'msg':_0x550559['data'][_0x1cd3('0xd34')][_0x5f27c0][_0x1cd3('0x43a')]});}}else{_0x1a543a[_0x1cd3('0x434')]({'title':_0x550559[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x550559[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x550559[_0x1cd3('0xd35')]:_0x1cd3('0x180b'),'msg':_0x550559[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x550559[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x550559['toString']()});}});}}function _0x3964e9(_0xe8b35f,_0x4a198b){if(_0xd3b4e2[_0x1cd3('0x1418')]['channel']&&_0xe8b35f['id']){_0x546d3c[_0xd3b4e2[_0x1cd3('0x1418')][_0x1cd3('0x157f')]+_0x1cd3('0x1495')][_0x1cd3('0x489')]({'id':_0xe8b35f['id'],'attachments':_0x4a198b})[_0x1cd3('0x81')]['then'](function(_0x284b0a){var _0x1368e3=[_0x284b0a['buffer']];var _0x958a57=_0xd3b4e2[_0x1cd3('0x1418')][_0x1cd3('0x157f')]+_0x1cd3('0x180c')+_0xe8b35f['id']+_0x1cd3('0x1334');var _0x4c9893=new Blob(_0x1368e3,{'type':_0x284b0a[_0x1cd3('0x424')]});var _0x1b118f=window[_0x1cd3('0x924')]['createElement']('a');_0x1b118f[_0x1cd3('0x481')](_0x1cd3('0x3ab'),URL[_0x1cd3('0x48a')](_0x4c9893));_0x1b118f[_0x1cd3('0x481')](_0x1cd3('0x489'),_0x958a57);document['body'][_0x1cd3('0xd4e')](_0x1b118f);_0x1b118f[_0x1cd3('0x52d')]();})['catch'](function(_0x4f3c3c){if(_0x4f3c3c['data']&&_0x4f3c3c[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x4f3c3c[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length']){for(var _0x41c104=0x0;_0x41c104<_0x4f3c3c[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x41c104+=0x1){_0x1a543a[_0x1cd3('0x434')]({'title':_0x4f3c3c['data']['errors'][_0x41c104][_0x1cd3('0x424')],'msg':_0x4f3c3c[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x41c104]['message']});}}else{_0x1a543a[_0x1cd3('0x434')]({'title':_0x4f3c3c[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x4f3c3c[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x4f3c3c[_0x1cd3('0xd35')]:_0x1cd3('0x180d'),'msg':_0x4f3c3c[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x4f3c3c[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x4f3c3c[_0x1cd3('0x43b')]()});}});}}function _0x4e4c4d(_0x1f8b42){if(_0x1f8b42){_0x1f8b42[_0xd3b4e2[_0x1cd3('0x1418')][_0x1cd3('0x157f')]===_0x1cd3('0xbf')?_0x1cd3('0x1203'):_[_0x1cd3('0x12b1')](_0xd3b4e2[_0x1cd3('0x1418')]['channel'])+_0x1cd3('0x17ec')]=_0xd3b4e2[_0x1cd3('0x1332')][_0xd3b4e2[_0x1cd3('0x1418')]['channel']==='chat'?_0x1cd3('0x1203'):_[_0x1cd3('0x12b1')](_0xd3b4e2['tab']['channel'])+'AccountId'];_0x1f8b42[_['capitalize'](_0xd3b4e2[_0x1cd3('0x1418')][_0x1cd3('0x157f')])+'InteractionId']=_0xd3b4e2[_0x1cd3('0x1332')]['id'];_0x1f8b42[_0x1cd3('0x1226')]=_0xd3b4e2[_0x1cd3('0x368')]['id'];_0x1f8b42[_0x1cd3('0x1615')]=_0xd3b4e2['interaction']['ContactId'];_0x1f8b42[_0x1cd3('0x5e0')]=_0x1cd3('0x180e');_0x1f8b42[_0x1cd3('0x1684')]=Boolean(_0xd3b4e2['tab']['spy']||_0x1f8b42['secret']);return _0x546d3c[_0xd3b4e2[_0x1cd3('0x1418')][_0x1cd3('0x157f')]+'Message'][_0x1cd3('0xd6d')](_0x1f8b42)[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x46264b){if(_0x46264b&&_0x46264b['id']){if(!_['isEmpty'](_0x1f8b42[_0x1cd3('0x160c')])){var _0x2970b5=[];for(var _0x462a53=0x0;_0x462a53<_0x1f8b42[_0x1cd3('0x160c')][_0x1cd3('0x7a')];_0x462a53++){var _0x6adb48=_0x1f8b42[_0x1cd3('0x160c')][_0x462a53];if(_0x6adb48[_0x1cd3('0x180f')]){_0x2970b5[_0x1cd3('0x7b')](_0x546d3c['attachment'][_0x1cd3('0x1141')]({'id':_0x6adb48['id']},{'name':_0x6adb48[_0x1cd3('0x98')],'basename':_0x6adb48[_0x1cd3('0x1810')],'type':_0x6adb48[_0x1cd3('0x424')],'MailMessageId':_0x46264b['id']})[_0x1cd3('0x81')]);}else{_0x2970b5[_0x1cd3('0x7b')](_0x546d3c['attachment'][_0x1cd3('0x378')]({'id':_0x6adb48['id']},{'MailMessageId':_0x46264b['id']})[_0x1cd3('0x81')]);}}return _0x59aaf0[_0x1cd3('0x7e')](_0x2970b5);}}})[_0x1cd3('0xfd')](function(_0x2f2f4b){_0x1a543a['error']({'title':_0x2f2f4b[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x2f2f4b[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x2f2f4b[_0x1cd3('0xd35')]:'SYSTEM:SENDMESSAGE','msg':_0x2f2f4b[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x2f2f4b[_0x1cd3('0x439')]):_0x2f2f4b[_0x1cd3('0x43b')]()});})[_0x1cd3('0x5dd')](function(){if(_0xd3b4e2[_0x1cd3('0x1418')][_0x1cd3('0x157f')]===_0x1cd3('0x1d2')){if(_0x1f8b42['isDraft']){_0x3c62c2[_0x1cd3('0x15d1')](_0xd3b4e2[_0x1cd3('0x1332')]['id']);_0xd3b4e2['draft']=null;}}_0xd3b4e2[_0x1cd3('0x1418')][_0x1cd3('0x17f4')]='';_0x51c2ac();});}}function _0x2926f7(_0x1241c2){if(_0xd3b4e2[_0x1cd3('0x1418')][_0x1cd3('0x157f')]&&_0xd3b4e2[_0x1cd3('0x1332')]&&_0xd3b4e2[_0x1cd3('0x1332')]['id']){_0x546d3c[_0xd3b4e2[_0x1cd3('0x1418')]['channel']+_0x1cd3('0x1495')][_0x1cd3('0x378')]({'id':_0xd3b4e2['interaction']['id'],'substatus':_0x1241c2})['$promise'][_0x1cd3('0xfd')](function(_0x4f0f36){console['error'](_0x4f0f36);});}}function _0x447403(){if(_0xd3b4e2[_0x1cd3('0x1418')][_0x1cd3('0x157f')]&&_0xd3b4e2['interaction']&&_0xd3b4e2[_0x1cd3('0x1332')]['id']){if(_0xd3b4e2['acceptedMessages'][_0x1cd3('0x7a')]){for(var _0x52c8fa=0x0;_0x52c8fa<_0xd3b4e2[_0x1cd3('0x17d3')][_0x1cd3('0x7a')];_0x52c8fa+=0x1){_0x546d3c[_0xd3b4e2['tab'][_0x1cd3('0x157f')]+_0x1cd3('0xf2d')]['update']({'id':_0xd3b4e2[_0x1cd3('0x17d3')][_0x52c8fa],'read':![],'UserId':null});}}else{for(var _0x1b6f59=0x0;_0x1b6f59<_0xd3b4e2[_0x1cd3('0x15e8')]['rows']['length'];_0x1b6f59+=0x1){if(_0xd3b4e2[_0x1cd3('0x15e8')]['rows'][_0x1b6f59]['direction']==='in'){if(_0xd3b4e2[_0x1cd3('0x15e8')][_0x1cd3('0xf6')][_0x1b6f59]['UserId']===_0xd3b4e2[_0x1cd3('0x368')]['id']){_0x546d3c[_0xd3b4e2[_0x1cd3('0x1418')][_0x1cd3('0x157f')]+_0x1cd3('0xf2d')]['update']({'id':_0xd3b4e2[_0x1cd3('0x15e8')]['rows'][_0x1b6f59]['id'],'read':![],'UserId':null});}else{_0x1a543a[_0x1cd3('0x434')]({'title':_0x1cd3('0x1811'),'msg':_0x1cd3('0x1812')});}break;}}}}_0xd3b4e2['tab'][_0x1cd3('0x1582')]=!![];_0x7fe307[_0x1cd3('0x70b')][_0x1cd3('0x70b')]['$parent']['vm'][_0x1cd3('0x17fb')](_0xd3b4e2[_0x1cd3('0x1418')]);}function _0x5d0965(_0x35da41){if(_0x35da41&&_0xd3b4e2['interaction']['id']!==_0x35da41['id']){return;}if(_0x35da41[_0x1cd3('0x1586')]){_0xd3b4e2[_0x1cd3('0x1418')][_0x1cd3('0x1582')]=!![];}_['merge'](_0xd3b4e2[_0x1cd3('0x1332')],_0x35da41);}function _0x37f1f2(_0x4a7cab){if(_0x4a7cab&&_0xd3b4e2[_0x1cd3('0x1332')]['id']!=_0x4a7cab[_[_0x1cd3('0x12b1')](_0xd3b4e2[_0x1cd3('0x1418')][_0x1cd3('0x157f')])+_0x1cd3('0x17f5')]){return;}var _0x52d84d=![];if(_0xd3b4e2[_0x1cd3('0x15e8')]){_0x52d84d=_[_0x1cd3('0x442')](_0xd3b4e2[_0x1cd3('0x15e8')][_0x1cd3('0xf6')],{'id':_0x4a7cab['id']});}else{_0xd3b4e2[_0x1cd3('0x15e8')]={'rows':[],'count':0x0};}if(_0x52d84d){_[_0x1cd3('0xf2')](_0x52d84d,_0x4a7cab);}else{if(_0xd3b4e2[_0x1cd3('0x1418')][_0x1cd3('0x157f')]===_0x1cd3('0x1d2')){_0xd3b4e2[_0x1cd3('0x15e8')]['rows'][_0x1cd3('0x621')](_0x4a7cab);}else{_0xd3b4e2['messages'][_0x1cd3('0xf6')][_0x1cd3('0x7b')](_0x4a7cab);}_0x51c2ac();}}function _0x1f9356(_0x10ce23){switch(_0x10ce23){case _0x1cd3('0xbf'):return _0x1cd3('0x1597');case _0x1cd3('0x1d2'):return _0x1cd3('0x1813');case _0x1cd3('0x26b'):return _0x1cd3('0x1598');case _0x1cd3('0x34a'):return _0x1cd3('0x159b');case _0x1cd3('0x22e'):return'icon-google-earth';case _0x1cd3('0x154'):return'icon-deskphone';default:return _0x1cd3('0x1597');}}function _0x3aa7fc(_0x25f2ec){switch(_0x25f2ec){case _0x1cd3('0xbf'):return _0x1cd3('0x148b');case _0x1cd3('0x1d2'):return _0x1cd3('0x9c5');case _0x1cd3('0x26b'):return _0x1cd3('0x148c');case'openchannel':return _0x1cd3('0x148d');case'fax':return _0x1cd3('0x148e');case _0x1cd3('0x34a'):return'lime-A700';default:return _0x1cd3('0x1600');}}function _0x573a3a(_0x38db24){var _0x5c0052='';if(_0x38db24[_0x1cd3('0x148f')]){_0x5c0052=_0x1cd3('0x154');}else if(_0x38db24['OpenchannelAccountId']){_0x5c0052=_0x1cd3('0x22e');}else if(_0x38db24[_0x1cd3('0x1491')]){_0x5c0052=_0x1cd3('0x26b');}else if(_0x38db24[_0x1cd3('0x1583')]){_0x5c0052='whatsapp';}else if(_0x38db24[_0x1cd3('0x1492')]){_0x5c0052=_0x1cd3('0x1d2');}else if(_0x38db24[_0x1cd3('0x1203')]){_0x5c0052=_0x1cd3('0xbf');}else if(_0x38db24[_0x1cd3('0x1493')]){_0x5c0052=_0x1cd3('0x121');}return _0x3aa7fc(_0x5c0052);}function _0x39ab4d(_0x41fd39){if(_0x41fd39[_0x1cd3('0x1684')]&&_0xd3b4e2[_0x1cd3('0x368')]['id']!=_0x41fd39[_0x1cd3('0x1226')]){return'in';}switch(_0xd3b4e2[_0x1cd3('0xc49')]['messagesAlignment']){case _0x1cd3('0x762'):if(_0x41fd39['direction']=='in'){return _0x41fd39[_0x1cd3('0x5e0')];}return'out-left-aligned';case _0x1cd3('0x58e'):if(_0x41fd39[_0x1cd3('0x5e0')]=='in'){return'in-right-aligned';}return _0x41fd39[_0x1cd3('0x5e0')];default:return _0x41fd39[_0x1cd3('0x5e0')];}}function _0x6c4b23(){_0xd3b4e2['displayCannedAnswerInput']=!_0xd3b4e2['displayCannedAnswerInput'];}function _0xd4ed36(_0x2b0068){return _0x546d3c[_0x1cd3('0xc73')][_0x1cd3('0x361')]({'MailMessageId':_0x2b0068['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x5664a0){if(_0x5664a0&&_0x5664a0[_0x1cd3('0xf6')]){_0x2b0068['attachments']=_0x5664a0['rows'];}})[_0x1cd3('0xfd')](function(_0x3ac9c7){_0x1a543a[_0x1cd3('0x434')]({'title':_0x3ac9c7['status']?_0x1cd3('0x435')+_0x3ac9c7[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x3ac9c7['statusText']:_0x1cd3('0x1814'),'msg':_0x3ac9c7['data']?JSON['stringify'](_0x3ac9c7[_0x1cd3('0x439')]):_0x3ac9c7[_0x1cd3('0x43b')]()});});}function _0x131306(_0x58aa3d){return _0x546d3c['attachment'][_0x1cd3('0x489')]({'id':_0x58aa3d['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x1632d3){if(_0x1632d3){var _0x364dc5=new Blob([_0x1632d3[_0x1cd3('0x6ef')]],{'type':_0x1632d3[_0x1cd3('0x424')]});var _0x343276=document['createElement']('a');var _0x424a56=window[_0x1cd3('0x1815')][_0x1cd3('0x48a')](_0x364dc5);_0x343276[_0x1cd3('0x3ab')]=_0x424a56;_0x343276[_0x1cd3('0x365')]=_0x1cd3('0x1816');_0x343276['download']=_0x58aa3d[_0x1cd3('0x98')];document['body'][_0x1cd3('0xd4e')](_0x343276);_0x343276[_0x1cd3('0x52d')]();setTimeout(function(){document[_0x1cd3('0x380')][_0x1cd3('0x1817')](_0x343276);window[_0x1cd3('0x1815')][_0x1cd3('0x1818')](_0x424a56);},0x64);}})[_0x1cd3('0xfd')](function(_0x5a57b8){_0x1a543a['error']({'title':_0x5a57b8[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x5a57b8[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x5a57b8['statusText']:'ATTACHMENTS:GET','msg':_0x5a57b8['data']?JSON[_0x1cd3('0x438')](_0x5a57b8[_0x1cd3('0x439')]):_0x5a57b8['toString']()});});}function _0x36c5d2(){if(!_0xd3b4e2[_0x1cd3('0x1418')][_0x1cd3('0x17f8')]&&!_0xd3b4e2[_0x1cd3('0x1332')]['closed']){for(var _0x210127=0x0;_0x210127<_0xd3b4e2[_0x1cd3('0x15e8')][_0x1cd3('0xf6')][_0x1cd3('0x7a')];_0x210127+=0x1){if(_0xd3b4e2['messages']['rows'][_0x210127][_0x1cd3('0x5e0')]==='in'&&!_0xd3b4e2[_0x1cd3('0x15e8')]['rows'][_0x210127]['read']){_0x546d3c[_0xd3b4e2[_0x1cd3('0x1418')]['channel']+_0x1cd3('0xf2d')][_0x1cd3('0x923')]({'id':_0xd3b4e2['messages'][_0x1cd3('0xf6')][_0x210127]['id'],'UserId':_0xd3b4e2[_0x1cd3('0x368')]['id']});_0xd3b4e2['acceptedMessages'][_0x1cd3('0x7b')](_0xd3b4e2['messages']['rows'][_0x210127]['id']);}}}}function _0x2d07cf(_0x3a7e27){if(_0x3a7e27&&_0x3a7e27[_0x1cd3('0x466')]&&_0x3a7e27[_0x1cd3('0xf6')][_0x1cd3('0x7a')]){_0xd3b4e2[_0x1cd3('0x146f')]=_[_0x1cd3('0x3ae')](_0xd3b4e2[_0x1cd3('0x146f')],_0x3a7e27['rows']);}}function _0x1d5d55(_0x5155d9){if(_0x5155d9&&_0x5155d9['id']){for(var _0x483557=0x0;_0x483557<_0xd3b4e2['omniChannels'][_0x1cd3('0x7a')];_0x483557++){_0x546d3c[_0xd3b4e2[_0x1cd3('0x17d4')][_0x483557]+_0x1cd3('0x1495')]['get']({'ContactId':_0x5155d9['id'],'journey':!![],'includeAll':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](_0x2d07cf);}_0x546d3c[_0x1cd3('0xa66')][_0x1cd3('0x361')]({'ContactId':_0x5155d9['id'],'includeAll':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](_0x2d07cf);}}function _0x3c2cc6(_0x1e9e98){return _0x1e9e98?String(_0x1e9e98)[_0x1cd3('0x3f1')](/<[^>]+>/gm,''):'';}function _0x480258(){switch(_0xd3b4e2[_0x1cd3('0x1418')][_0x1cd3('0x157f')]){case _0x1cd3('0x1d2'):_0x40403d(_0xd3b4e2[_0x1cd3('0x1584')][_0x1cd3('0x424')],_0xd3b4e2[_0x1cd3('0x1584')][_0x1cd3('0xd3b')]);break;case _0x1cd3('0x154'):break;case'openchannel':break;case'sms':break;case'whatsapp':break;}}_0x7fe307[_0x1cd3('0x4d3')]('$destroy',function(){_0x3bba2e[_0x1cd3('0x6a3')](_0xd3b4e2[_0x1cd3('0x1418')][_0x1cd3('0x157f')]+_0x1cd3('0x17ed'));_0x3bba2e['removeAllListeners'](_0xd3b4e2[_0x1cd3('0x1418')]['channel']+_0x1cd3('0x17ee'));_0x3bba2e[_0x1cd3('0x6a3')](_0xd3b4e2['tab'][_0x1cd3('0x157f')]+_0x1cd3('0x17ef'));_0x3bba2e[_0x1cd3('0x6a3')](_0xd3b4e2[_0x1cd3('0x1418')][_0x1cd3('0x157f')]+'Interaction:update');_0x3bba2e[_0x1cd3('0x6a3')]('user_has_'+_0xd3b4e2['tab'][_0x1cd3('0x157f')]+_0x1cd3('0x17f2'));_0x3bba2e[_0x1cd3('0x6a3')](_0x1cd3('0x17f1')+_0xd3b4e2[_0x1cd3('0x1418')][_0x1cd3('0x157f')]+_0x1cd3('0x1819'));});function _0x17dcf4(_0x2ec2d5){var _0x5a34e0={'id':_0x2ec2d5['id']};return _0x546d3c[_0x1cd3('0xb18')][_0x1cd3('0x17de')](_0x5a34e0)[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x1a543a[_0x1cd3('0x473')]({'title':_0x1cd3('0x181a'),'msg':'Session\x20properly\x20created.'});})[_0x1cd3('0xfd')](function(){_0x1a543a['error']({'title':_0x1cd3('0x181a'),'msg':'Unable\x20to\x20create\x20session!'});});}}function _0x1ba887(_0x539737){return{'scope':{'ngBindHtmlUnsafe':'='},'template':_0x1cd3('0x181b'),'link':function(_0x25f1c0){function _0x4225f2(){var _0x332c18='xm-mail-content-'+Math['floor'](Math[_0x1cd3('0x6b2')]()*0x270f+0x1);return _0x1cd3('0x181c')+_0x332c18+_0x1cd3('0x181d')+_0x332c18+'\x22\x20style=\x22display:none\x22';}_0x25f1c0[_0x1cd3('0x181e')]=function(){var _0x3c5185=_[_0x1cd3('0x3f1')](_0x25f1c0['ngBindHtmlUnsafe'],_0x1cd3('0x181f'),_0x4225f2());_0x25f1c0['trustedHtml']=_0x539737[_0x1cd3('0x91a')](_0x3c5185);};_0x25f1c0['$watch']('ngBindHtmlUnsafe',function(_0x12da89,_0x633268){_0x25f1c0[_0x1cd3('0x181e')](_0x12da89);});}};}}());(function(){'use strict';angular['module'](_0x1cd3('0x2a'))[_0x1cd3('0x373')](_0x1cd3('0x1820'),_0x29acff);function _0x29acff(){return{'watchEmbedData':![],'sanitizeHtml':![],'fontSmiley':![],'emoji':!![],'link':!![],'linkTarget':'_blank','pdf':{'embed':!![]},'image':{'embed':!![]},'audio':{'embed':!![]},'basicVideo':![],'gdevAuth':_0x1cd3('0x1821'),'video':{'embed':![],'width':null,'height':null,'ytTheme':_0x1cd3('0x1822'),'details':![],'thumbnailQuality':_0x1cd3('0x1823'),'autoPlay':!![]},'twitchtvEmbed':!![],'dailymotionEmbed':!![],'tedEmbed':!![],'dotsubEmbed':!![],'liveleakEmbed':!![],'ustreamEmbed':!![],'soundCloudEmbed':!![],'soundCloudOptions':{'height':0xa0,'themeColor':'f50000','autoPlay':![],'hideRelated':![],'showComments':!![],'showUser':!![],'showReposts':![],'visual':![],'download':![]},'spotifyEmbed':!![],'tweetEmbed':!![],'tweetOptions':{'maxWidth':0x226,'hideMedia':![],'hideThread':![],'align':'none','lang':'en'},'code':{'highlight':!![],'lineNumbers':![]},'codepenEmbed':!![],'codepenHeight':0x12c,'jsfiddleEmbed':!![],'jsfiddleHeight':0x12c,'jsbinEmbed':!![],'jsbinHeight':0x12c,'plunkerEmbed':!![],'githubgistEmbed':!![],'ideoneEmbed':!![],'ideoneHeight':0x12c};}}());(function(){'use strict';_0x3ff9da['$inject']=[_0x1cd3('0x36f'),_0x1cd3('0x371'),_0x1cd3('0x3c5'),_0x1cd3('0x1824'),'account',_0x1cd3('0x43a'),'type',_0x1cd3('0x370'),_0x1cd3('0x461'),'$q'];angular[_0x1cd3('0x0')](_0x1cd3('0x2a'))[_0x1cd3('0x39b')]('ComposeFaxInteractionDialogController',_0x3ff9da);function _0x3ff9da(_0x503673,_0x2c8869,_0x478225,_0x5324fa,_0x16a153,_0x213207,_0x461ddf,_0x4c30d9,_0x481c5c,_0x1c28d7){var _0x4372bd=this;var _0x5e8452=0x19;var _0x48ceb0=_0x5e8452*0x400*0x400;_0x4372bd[_0x1cd3('0x1825')]=[_0x5324fa[_0x1cd3('0x1826')]['ENTER'],_0x5324fa['KEY_CODE'][_0x1cd3('0x1827')],_0x5324fa[_0x1cd3('0x1826')][_0x1cd3('0x1828')]];_0x4372bd['message']={'from':_0x16a153['localstationid'],'to':_[_0x1cd3('0x472')](_0x213207['to'])||_['isEmpty'](_0x213207['to'])?[]:_0x213207['to'],'attachments':[]};_0x4372bd[_0x1cd3('0x126a')]={'target':'api/attachments','singleFile':!![],'maxChunkRetries':0x1,'chunkSize':_0x48ceb0,'simultaneousUploads':0x1,'testChunks':![],'progressCallbacksInterval':0x3e8,'allowDuplicateUploads':!![]};_0x4372bd[_0x1cd3('0x126b')]={'flow':{}};_0x4372bd[_0x1cd3('0x9de')]=_0x44ff3a;_0x4372bd[_0x1cd3('0x126d')]=_0x26ad56;_0x4372bd[_0x1cd3('0x126e')]=_0x58b10a;_0x4372bd['fileAdded']=_0x22d489;_0x4372bd['getContact']=_0x1376ec;_0x4372bd[_0x1cd3('0x1829')]=_0x550011;_0x4372bd['transformContact']=_0x2de1b1;_0x4372bd[_0x1cd3('0x39c')]=_0x2550f5;function _0xdbf0ab(){_0x478225[_0x1cd3('0x39d')]({'from':_0x4372bd[_0x1cd3('0x43a')][_0x1cd3('0x606')],'to':_0x4372bd[_0x1cd3('0x43a')]['to'],'attach':_0x4372bd[_0x1cd3('0x43a')][_0x1cd3('0x160c')][_0x1cd3('0x7a')],'attachments':_0x4372bd[_0x1cd3('0x43a')][_0x1cd3('0x160c')]});}function _0x44ff3a(_0x4db7b0){if(_0x4372bd[_0x1cd3('0x43a')][_0x1cd3('0x160c')][_0x1cd3('0x7a')]===0x1){if(_0x4372bd['message']['to']['length']){_0x213207[_0x1cd3('0x1584')]=undefined;_0xdbf0ab();}else{_0x481c5c[_0x1cd3('0x434')]('To\x20is\x20mandatory');}}else{_0x481c5c['error']('Attachment\x20is\x20mandatory');}}function _0x26ad56(){_0x4372bd[_0x1cd3('0x126b')][_0x1cd3('0x46')][_0x1cd3('0x130a')][_0x1cd3('0x3a2')]={'X-Requested-With':_0x1cd3('0x130b'),'Authorization':'Bearer\x20'+_0x503673[_0x1cd3('0x361')](_0x1cd3('0x374'))};_0x4372bd[_0x1cd3('0x126b')][_0x1cd3('0x46')][_0x1cd3('0x126d')]();}function _0x22d489(_0x2390aa){var _0x4cb4f9=['pdf',_0x1cd3('0x182a')];if(!_[_0x1cd3('0x38f')](_0x4cb4f9,_0x2390aa[_0x1cd3('0x113c')]())){_0x481c5c[_0x1cd3('0x434')]({'title':_0x1cd3('0x1274')+_0x2390aa[_0x1cd3('0x113c')](),'msg':_0x1cd3('0x182b')+_0x4cb4f9[_0x1cd3('0x3de')]()});return![];}if(_0x2390aa['size']>_0x48ceb0){_0x481c5c[_0x1cd3('0x434')]({'title':_0x1cd3('0x1276'),'msg':_0x1cd3('0x1277')+_0x5e8452+'MB'});return![];}return!![];}function _0x58b10a(_0x305def,_0x526357){try{_0x526357=JSON[_0x1cd3('0x79')](_0x526357);_0x526357['size']=_0x305def[_0x1cd3('0x113e')];_0x4372bd[_0x1cd3('0x43a')][_0x1cd3('0x160c')][_0x1cd3('0x7b')](_0x526357);}catch(_0x4ac600){console['error'](_0x4ac600);}}function _0x1376ec(_0x42e181){var _0x45e45e='';if(_0x42e181[_0x1cd3('0x1447')]&&_0x42e181[_0x1cd3('0x1447')]!==_0x42e181['fax']){_0x45e45e+=_0x42e181[_0x1cd3('0x1447')]+'\x20';}if(_0x42e181[_0x1cd3('0x1324')]&&_0x42e181[_0x1cd3('0x1324')]!==_0x42e181[_0x1cd3('0x154')]){_0x45e45e+=_0x42e181[_0x1cd3('0x1324')]+'\x20';}return _0x45e45e+='<'+_0x42e181[_0x1cd3('0x154')]+'>';}function _0x2de1b1(_0x197dc7){var _0x1adab2=_0x197dc7;if(_[_0x1cd3('0x551')](_0x197dc7)){return _0x197dc7[_0x1cd3('0x154')];}if(_0x9355ca(_0x1adab2)){return _0x1adab2;}_0x481c5c[_0x1cd3('0x434')](_0x1cd3('0x182c')+_0x1adab2+_0x1cd3('0x182d'));return null;}function _0x9355ca(_0x130538){var _0x2294ed=/[&\/\\#,()$~%.'":;*?<>{}\s\\|a-zA-Z\pS!òàùè…_§°çéì-]/;return!_0x2294ed[_0x1cd3('0x658')](_0x130538);}function _0x550011(_0x3a307e){if(_0x16a153&&_0x16a153[_0x1cd3('0x106')]){return _0x4c30d9['cmContact'][_0x1cd3('0x361')]({'ListId':_0x16a153[_0x1cd3('0x106')],'nolimit':!![],'filter':_0x3a307e,'fields':'firstName,lastName,fax'})['$promise'][_0x1cd3('0x77')](function(_0x26600d){return _0x26600d[_0x1cd3('0xf6')];});}else{return[];}}function _0x2550f5(){_0x213207[_0x1cd3('0x1584')]=_0x4372bd['message'];_0x478225['cancel']();}}}());(function(){'use strict';_0x2a74ae[_0x1cd3('0xc')]=['$cookies',_0x1cd3('0x371'),_0x1cd3('0x3c5'),_0x1cd3('0x1824'),_0x1cd3('0x3f7'),_0x1cd3('0x15d3'),_0x1cd3('0x43a'),_0x1cd3('0x424'),_0x1cd3('0x370'),_0x1cd3('0x461'),'$q',_0x1cd3('0x56'),'interaction',_0x1cd3('0x1564')];angular[_0x1cd3('0x0')]('app.dashboards')['controller'](_0x1cd3('0x175c'),_0x2a74ae);function _0x2a74ae(_0x27cecc,_0x2864dd,_0x48eb50,_0x4b328c,_0x5211a8,_0x3b7545,_0x288cd3,_0x1568fc,_0xeda935,_0x4032ee,_0xca5c41,_0x1034ce,_0x2f9edc,_0x3f4b06){var _0x57e6f0=this;var _0x101c9d=0x19;var _0x404ad9=_0x101c9d*0x400*0x400;_0x57e6f0[_0x1cd3('0x3ca')]=_0x1034ce[_0x1cd3('0x5d')]();_0x57e6f0[_0x1cd3('0x1684')]=_0x1568fc==='note'?!![]:![];_0x57e6f0[_0x1cd3('0x182e')]=!![];_0x57e6f0['hiddenBCC']=!![];_0x57e6f0[_0x1cd3('0x182f')]=!![];_0x57e6f0[_0x1cd3('0xd34')]=[];_0x57e6f0[_0x1cd3('0x1825')]=[_0x4b328c['KEY_CODE']['ENTER'],_0x4b328c[_0x1cd3('0x1826')][_0x1cd3('0x1827')],_0x4b328c[_0x1cd3('0x1826')]['TAB']];_0x57e6f0[_0x1cd3('0x1830')]=_0xc4fbf8;_0x57e6f0[_0x1cd3('0x17e2')]=_0x224f7a;_0x57e6f0[_0x1cd3('0x1831')]=_0x4e4f78;_[_0x1cd3('0x17f6')]['interpolate']=/{{([\s\S]+?)}}/g;_0x57e6f0[_0x1cd3('0x1832')]=_['template'](_0x1cd3('0x1833'));_0x57e6f0[_0x1cd3('0x1834')]=_[_0x1cd3('0xb7a')](_0x1cd3('0x1835'));_0x57e6f0[_0x1cd3('0x1836')]=_[_0x1cd3('0xb7a')](_0x1cd3('0x1837'));_0x57e6f0[_0x1cd3('0x43a')]={'from':_0x57e6f0['fromTemplate']({'name':_0x3b7545[_0x1cd3('0x98')],'email':_0x3b7545['email']||_0x3b7545['Smtp'][_0x1cd3('0x368')]}),'to':[],'cc':[],'bcc':[],'body':_0x2652da(),'type':_0x1568fc,'attachments':[],'showLastMessage':!![]};_0x57e6f0[_0x1cd3('0x1584')]=null;_0x57e6f0[_0x1cd3('0x48')]={'skin':'office2013','startupFocus':!![],'language':'en','allowedContent':!![],'extraPlugins':_0x1cd3('0x1838'),'toolbarGroups':[{'name':_0x1cd3('0x1839'),'groups':[_0x1cd3('0x1839')]},{'name':_0x1cd3('0x183a'),'groups':['undo']},{'name':_0x1cd3('0x98b'),'groups':[_0x1cd3('0x98b')]},{'name':_0x1cd3('0x183b'),'groups':[_0x1cd3('0x183b')]},{'name':_0x1cd3('0x183c'),'groups':[_0x1cd3('0x9d5'),_0x1cd3('0x183d'),_0x1cd3('0x183e')]}],'autoGrow_onStartup':!![],'autoGrow_minHeight':_0x57e6f0[_0x1cd3('0x1684')]?0xa0:0x12c,'autoGrow_maxHeight':_0x2864dd[_0x1cd3('0x183f')]-0x190,'autocorrect_enabled':!![],'disableNativeSpellChecker':![],'enterMode':CKEDITOR[_0x1cd3('0x1840')],'font_defaultLabel':_0x3b7545[_0x1cd3('0x1841')]?_0x3b7545['fontFamily'][_0x1cd3('0x3ef')](',')[0x0]:_0x1cd3('0x4a2'),'fontSize_defaultLabel':_0x3b7545[_0x1cd3('0x8d6')]||'12','removePlugins':_0x1cd3('0x1842')};var _0x2769b8=[];for(var _0x3b4a58=0x8;_0x3b4a58<=0x48;_0x3b4a58++){_0x2769b8[_0x1cd3('0x7b')](_0x3b4a58+'/'+_0x3b4a58+'pt');}_0x57e6f0[_0x1cd3('0x48')][_0x1cd3('0x1843')]=_0x2769b8[_0x1cd3('0x3de')](';');_0x57e6f0[_0x1cd3('0x126a')]={'target':_0x1cd3('0x17d5'),'singleFile':!![],'maxChunkRetries':0x1,'chunkSize':_0x404ad9,'simultaneousUploads':0x1,'testChunks':![],'progressCallbacksInterval':0x3e8,'allowDuplicateUploads':!![]};_0x57e6f0[_0x1cd3('0x126b')]={'flow':{}};_0x57e6f0[_0x1cd3('0x17df')]=_0x2ba814;_0x57e6f0[_0x1cd3('0x1844')]=_0x2fc0a7;_0x57e6f0['forward']=_0x4546b3;_0x57e6f0[_0x1cd3('0x1845')]=_0xaac64b;_0x57e6f0[_0x1cd3('0x9de')]=_0x418633;_0x57e6f0['note']=_0x4655c4;_0x57e6f0[_0x1cd3('0x1846')]=_0x3591;_0x57e6f0[_0x1cd3('0x126d')]=_0x25da6f;_0x57e6f0[_0x1cd3('0x126e')]=_0x361997;_0x57e6f0[_0x1cd3('0x1847')]=_0x181f0e;_0x57e6f0['fileAdded']=_0x225f5c;_0x57e6f0[_0x1cd3('0x1848')]=_0x1b668a;_0x57e6f0[_0x1cd3('0x1829')]=_0x3b6c8d;_0x57e6f0[_0x1cd3('0x1849')]=_0x4c494c;_0x57e6f0[_0x1cd3('0x184a')]=_0x57b07e;_0x57e6f0[_0x1cd3('0x39c')]=_0x2bf463;_0x57e6f0[_0x1cd3('0x184b')]=_0xd7d9e8;switch(_0x1568fc){case _0x1cd3('0x17df'):_0x57e6f0[_0x1cd3('0x17df')](![]);break;case _0x1cd3('0x184c'):_0x57e6f0[_0x1cd3('0x17df')](!![]);break;case _0x1cd3('0x184d'):_0x57e6f0[_0x1cd3('0x184d')]();break;case _0x1cd3('0x1584'):_0x57e6f0[_0x1cd3('0x1845')]();break;case'new':_0x57e6f0[_0x1cd3('0x1844')]();break;case _0x1cd3('0x162e'):_0x57e6f0[_0x1cd3('0x162e')]();break;}_0xeda935[_0x1cd3('0x174c')][_0x1cd3('0x361')]({'nolimit':!![]})['$promise']['then'](function(_0x1248ed){_0x57e6f0[_0x1cd3('0x1750')]=_0x1248ed||{'count':0x0,'rows':[]};})['catch'](function(_0x157584){console['error'](_0x157584);});if(!_0x57e6f0[_0x1cd3('0x1684')]){_0x473d8e();}function _0x2ba814(_0x16e2b9){if(angular[_0x1cd3('0x4bf')](_0x288cd3)){_0x57e6f0[_0x1cd3('0x43a')]['type']='reply';_0x57e6f0[_0x1cd3('0x43a')]['to']=_0x288cd3['direction']==='in'?_0x288cd3[_0x1cd3('0x606')]['split'](','):_0x288cd3['to'][_0x1cd3('0x3ef')](',');_0x57e6f0[_0x1cd3('0x43a')][_0x1cd3('0x1327')]=_['startsWith'](_0x288cd3['subject'],_0x1cd3('0x184e'))?_0x288cd3[_0x1cd3('0x1327')]:'Re:\x20'+_0x288cd3[_0x1cd3('0x1327')];_0x57e6f0[_0x1cd3('0x43a')][_0x1cd3('0x17fc')]=_0x288cd3[_0x1cd3('0x184f')];_0x57e6f0[_0x1cd3('0x43a')]['body']=_0x2652da();_0x57e6f0[_0x1cd3('0x43a')]['attachments']=[];if(_0x16e2b9&&_0x288cd3['cc']){_0x57e6f0[_0x1cd3('0x182e')]=![];_0x57e6f0[_0x1cd3('0x43a')]['cc']=_0x288cd3['cc'][_0x1cd3('0x3ef')](',');}_0x57e6f0['message'][_0x1cd3('0x1850')]=![];}}function _0x2fc0a7(){if(angular[_0x1cd3('0x4bf')](_0x288cd3)){_0x57e6f0[_0x1cd3('0x43a')][_0x1cd3('0x424')]='new';_0x57e6f0[_0x1cd3('0x43a')]['to']=_0x288cd3['to']?_0x288cd3['to'][_0x1cd3('0x3ef')](','):[];}}function _0xaac64b(){_0x57e6f0['isDraft']=!![];if(angular['isDefined'](_0x288cd3)){_0x288cd3[_0x1cd3('0x1745')]=![];_0x57e6f0[_0x1cd3('0x43a')]=angular[_0x1cd3('0x429')](_0x288cd3);if(!_[_0x1cd3('0x398')](_0x57e6f0[_0x1cd3('0x43a')]['cc'])){_0x57e6f0[_0x1cd3('0x182e')]=![];}if(!_[_0x1cd3('0x398')](_0x57e6f0[_0x1cd3('0x43a')][_0x1cd3('0x1851')])){_0x57e6f0[_0x1cd3('0x1852')]=![];}}}function _0x4546b3(){if(angular[_0x1cd3('0x4bf')](_0x288cd3)){_0x57e6f0[_0x1cd3('0x43a')]['type']='forward';_0x57e6f0['message']['subject']=_[_0x1cd3('0x13d4')](_0x288cd3[_0x1cd3('0x1327')],_0x1cd3('0x1853'))?_0x288cd3[_0x1cd3('0x1327')]:_0x1cd3('0x1854')+_0x288cd3[_0x1cd3('0x1327')];_0x57e6f0[_0x1cd3('0x43a')][_0x1cd3('0x380')]=_0x2652da();if(_0x288cd3['Attachments']&&_0x288cd3[_0x1cd3('0x1855')][_0x1cd3('0x7a')]){for(var _0x37fb19=0x0;_0x37fb19<_0x288cd3[_0x1cd3('0x1855')][_0x1cd3('0x7a')];_0x37fb19++){_0x57e6f0[_0x1cd3('0x43a')][_0x1cd3('0x160c')][_0x1cd3('0x7b')](_0x288cd3[_0x1cd3('0x1855')][_0x37fb19]);}}_0x57e6f0[_0x1cd3('0x43a')][_0x1cd3('0x1850')]=![];}}function _0x4655c4(){_0x57e6f0[_0x1cd3('0x424')]='note';_0x57e6f0['secret']=!![];_0x57e6f0[_0x1cd3('0x43a')][_0x1cd3('0x380')]='<div\x20style=\x22font-family:'+_0x3b7545[_0x1cd3('0x1841')]+';font-size:'+_0x3b7545[_0x1cd3('0x8d6')]+_0x1cd3('0x1856');}function _0x4ce32b(_0x28eadc,_0x4a603c){var _0x576b30={'from':_0x57e6f0[_0x1cd3('0x43a')][_0x1cd3('0x606')],'to':_0x57e6f0[_0x1cd3('0x43a')]['to']['join'](','),'cc':_0x57e6f0['message']['cc'][_0x1cd3('0x3de')](','),'bcc':_0x57e6f0[_0x1cd3('0x43a')][_0x1cd3('0x1851')][_0x1cd3('0x3de')](','),'subject':_0x57e6f0[_0x1cd3('0x43a')][_0x1cd3('0x1327')],'body':_0x57e6f0[_0x1cd3('0x43a')]['showLastMessage']?_0x57e6f0['message']['body']:_0x57e6f0['message']['body']+_0x34bf4b(_0x57e6f0['message'][_0x1cd3('0x424')]),'inReplyTo':_0x57e6f0[_0x1cd3('0x43a')]['inReplyTo'],'attach':_0x57e6f0[_0x1cd3('0x43a')][_0x1cd3('0x160c')][_0x1cd3('0x7a')],'attachments':_0x57e6f0['message']['attachments'],'Interaction':{'lastMsgDirection':_0x1cd3('0x180e'),'lastMsgBody':_0x57e6f0['message'][_0x1cd3('0x380')],'substatus':_0x4a603c},'isDraft':_0x57e6f0[_0x1cd3('0x15a6')]};_0x576b30['html']=_0x1cd3('0x1857')+_[_0x1cd3('0x3f1')](_0x576b30['body'],_0x1cd3('0x181f'),_0x1cd3('0x1858'))+_0x1cd3('0x1859');if(_0x28eadc){_0x576b30[_0x1cd3('0x1495')][_0x1cd3('0x1586')]=!![];}_0x48eb50[_0x1cd3('0x39d')](_0x576b30);}function _0x418633(_0x25908c,_0x2471ec,_0x4365a8){if(_0x57e6f0[_0x1cd3('0x43a')]['to']&&_0x57e6f0[_0x1cd3('0x43a')][_0x1cd3('0x380')]){if(_0x57e6f0[_0x1cd3('0x43a')]['to'][_0x1cd3('0x7a')]){if(_[_0x1cd3('0x398')](_0x57e6f0[_0x1cd3('0x43a')][_0x1cd3('0x1327')])){var _0x2617da=_0x48eb50[_0x1cd3('0xd39')]({'skipHide':!![]})['title'](_0x1cd3('0x158d'))[_0x1cd3('0x678')](_0x1cd3('0x185a'))[_0x1cd3('0xd3d')](_0x1cd3('0x158d'))[_0x1cd3('0xd63')](_0x25908c)['ok']('Send\x20Anyway')[_0x1cd3('0x4d8')](_0x1cd3('0x674'));_0x48eb50['show'](_0x2617da)[_0x1cd3('0x77')](function(){_0x4ce32b(_0x2471ec,_0x4365a8);});}else{_0x4ce32b(_0x2471ec,_0x4365a8);}}else{_0x4032ee[_0x1cd3('0x434')](_0x1cd3('0x185b'));}}}function _0x3591(){if(_0x57e6f0[_0x1cd3('0x43a')]['body']){_0x48eb50[_0x1cd3('0x39d')]({'secret':!![],'body':_0x57e6f0[_0x1cd3('0x43a')][_0x1cd3('0x380')],'attach':_0x57e6f0[_0x1cd3('0x43a')]['attachments'][_0x1cd3('0x7a')],'attachments':_0x57e6f0[_0x1cd3('0x43a')]['attachments']});}}function _0x224f7a(_0x56919e){if(_0x56919e&&_0x56919e[_0x1cd3('0x3db')]&&_0x57e6f0['ckEditorInstance']){try{var _0x11c888=_['template'](_0x56919e[_0x1cd3('0x3db')]);var _0x37de57={'user':_0x57e6f0[_0x1cd3('0x3ca')],'account':_0x3b7545,'interaction':_0x2f9edc,'contact':_0x2f9edc&&_0x2f9edc[_0x1cd3('0x1323')]?_0x2f9edc[_0x1cd3('0x1323')]:{}};_0x57e6f0['ckEditorInstance'][_0x1cd3('0x185c')](_0x11c888(_0x37de57));}catch(_0x466e0e){console[_0x1cd3('0x434')](_0x466e0e);_0x57e6f0['ckEditorInstance']['insertHtml'](_0x56919e[_0x1cd3('0x3db')]);}}document[_0x1cd3('0x593')](_0x1cd3('0x185d'))['focus']();_0x57e6f0[_0x1cd3('0xdfd')]=null;}function _0xc4fbf8(_0x1a4067){var _0x1f5b9f=_0xca5c41['defer']();var _0x4984a6=[];_0xeda935[_0x1cd3('0x12c1')]['get']({'filter':_0x1a4067,'MailAccountId':_0x3b7545['id']})[_0x1cd3('0x81')]['then'](function(_0x35ad9b){_0x4984a6=_['concat'](_0x4984a6,_0x35ad9b[_0x1cd3('0xf6')]);return _0xeda935[_0x1cd3('0x12c1')][_0x1cd3('0x361')]({'filter':_0x1a4067})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x49c884){_0x4984a6=_[_0x1cd3('0x3ae')](_0x4984a6,_['filter'](_0x49c884['rows'],function(_0x40d2dd){return!_0x40d2dd['MailAccountId']&&!_0x40d2dd[_0x1cd3('0x148f')]&&!_0x40d2dd[_0x1cd3('0x1491')]&&!_0x40d2dd['WhatsappAccountId']&&!_0x40d2dd[_0x1cd3('0x1490')]&&!_0x40d2dd[_0x1cd3('0x1203')];}));_0x1f5b9f['resolve'](_0x4984a6);})[_0x1cd3('0xfd')](function(_0x419eed){_0x1f5b9f[_0x1cd3('0x3a7')](_0x419eed);});return _0x1f5b9f['promise'];}function _0x4e4f78(_0x20d281){try{_0x57e6f0[_0x1cd3('0x185e')]=CKEDITOR['instances'][_0x1cd3('0x185d')];}catch(_0x4ea8b5){console[_0x1cd3('0x434')](_0x1cd3('0x185f'),_0x4ea8b5);}}function _0x473d8e(){return _0xeda935[_0x1cd3('0xa7a')][_0x1cd3('0x182f')]({'id':_0x3b7545['id']})['$promise'][_0x1cd3('0xfd')](function(_0x2895c3){_0x57e6f0['verifySmtp']=![];_0x57e6f0[_0x1cd3('0xd34')][_0x1cd3('0x7b')]({'message':_0x2895c3[_0x1cd3('0x439')],'type':_0x2895c3['status']});_0x57e6f0[_0x1cd3('0xd34')][_0x1cd3('0x7b')]({'message':_0x1cd3('0x1860'),'type':'500'});});}function _0x225f5c(_0x20f2c5){if(_0x20f2c5[_0x1cd3('0x113e')]>_0x404ad9){_0x4032ee[_0x1cd3('0x434')]({'title':_0x1cd3('0x1276'),'msg':_0x1cd3('0x1277')+_0x101c9d+'MB'});return![];}return!![];}function _0x25da6f(_0x313d8f){_0x57e6f0[_0x1cd3('0x126b')][_0x1cd3('0x46')][_0x1cd3('0x130a')][_0x1cd3('0x3a2')]={'X-Requested-With':'XMLHttpRequest','Authorization':_0x1cd3('0x3a5')+_0x27cecc[_0x1cd3('0x361')](_0x1cd3('0x374'))};_0x57e6f0['ngFlow'][_0x1cd3('0x46')][_0x1cd3('0x126d')]();}function _0x361997(_0x1bf17b,_0x31b96d){try{_0x31b96d=JSON[_0x1cd3('0x79')](_0x31b96d);_0x31b96d[_0x1cd3('0x113e')]=_0x1bf17b['size'];_0x57e6f0[_0x1cd3('0x43a')][_0x1cd3('0x160c')][_0x1cd3('0x7b')](_0x31b96d);}catch(_0x167555){console['error'](_0x167555);}}function _0x181f0e(_0x1b420c){_0x57e6f0[_0x1cd3('0x43a')]['attachments']=_['reject'](_0x57e6f0[_0x1cd3('0x43a')][_0x1cd3('0x160c')],{'id':_0x1b420c['id']});if(!_0x1b420c['MailMessageId']){_0xeda935[_0x1cd3('0xc73')]['delete']({'id':_0x1b420c['id']})[_0x1cd3('0x81')][_0x1cd3('0xfd')](function(_0x31d5ce){_0x4032ee[_0x1cd3('0x434')]({'title':_0x31d5ce[_0x1cd3('0x3a6')]?'API:'+_0x31d5ce['status']+'\x20-\x20'+_0x31d5ce[_0x1cd3('0xd35')]:_0x1cd3('0x1861'),'msg':_0x31d5ce[_0x1cd3('0x439')]?JSON['stringify'](_0x31d5ce[_0x1cd3('0x439')]['message']):_0x31d5ce[_0x1cd3('0x43b')]()});});}}function _0x1b668a(_0x3cb178){var _0x494f25='';if(_0x3cb178[_0x1cd3('0x1447')]&&_0x3cb178[_0x1cd3('0x1447')]!==_0x3cb178[_0x1cd3('0x1325')]){_0x494f25+=_0x3cb178[_0x1cd3('0x1447')]+'\x20';}if(_0x3cb178['lastName']&&_0x3cb178[_0x1cd3('0x1324')]!==_0x3cb178[_0x1cd3('0x1325')]){_0x494f25+=_0x3cb178['lastName']+'\x20';}return _0x494f25+='<'+_0x3cb178[_0x1cd3('0x1325')]+'>';}function _0x4c494c(_0x36d7d9,_0x3b1e00){if(_[_0x1cd3('0x551')](_0x36d7d9)){_0x57e6f0[_0x1cd3('0x105')]=_0x36d7d9;return _0x36d7d9[_0x1cd3('0x1325')];}if(_[_0x1cd3('0x54a')](_0x36d7d9)){if(_0x288b48(_0x36d7d9)){_0x57e6f0['contact']={'email':_0x36d7d9};return _0x36d7d9;}else{var _0x4c2561=_0x36d7d9[_0x1cd3('0x3ef')](',');for(var _0x330df3=0x0;_0x330df3<_0x4c2561['length'];_0x330df3+=0x1){if(_0x288b48(_0x4c2561[_0x330df3])){if(_[_0x1cd3('0x43d')](_0x3b1e00)&&_['indexOf'](_0x3b1e00,_0x4c2561[_0x330df3])<0x0){_0x3b1e00[_0x1cd3('0x7b')](_0x4c2561[_0x330df3]);}}else{_0x4032ee[_0x1cd3('0x434')](_0x1cd3('0x1862')+_0x4c2561[_0x330df3]+'\x20is\x20not\x20valid');}}_0x57e6f0[_0x1cd3('0x105')]={'email':_0x36d7d9[_0x1cd3('0x3ef')](',')[0x0]};return null;}}_0x4032ee[_0x1cd3('0x434')](_0x1cd3('0x1863'));return null;}function _0x3b6c8d(_0x1e562b){if(_0x3b7545&&_0x3b7545[_0x1cd3('0x106')]){return _0xeda935[_0x1cd3('0xb3d')][_0x1cd3('0x361')]({'ListId':_0x3b7545['ListId'],'nolimit':!![],'filter':_0x1e562b,'fields':_0x1cd3('0x1864')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0xab8ea1){return _0xab8ea1[_0x1cd3('0xf6')];});}else{return[];}}function _0x57b07e(){_0x57e6f0['message']['savedAsDraft']=!![];_0x57e6f0[_0x1cd3('0x1584')]=_0x3f4b06['getByInteraction'](_0x2f9edc['id']);var _0x54065a={'account':_0x3b7545,'message':_0x57e6f0['message'],'contact':_0x57e6f0[_0x1cd3('0x105')],'interaction':_0x2f9edc};if(_0x57e6f0['draft']&&!_0x57e6f0['isDraft']){var _0x29d2df=_0x48eb50[_0x1cd3('0xd39')]({'skipHide':!![]})[_0x1cd3('0x486')](_0x5211a8[_0x1cd3('0x44a')](_0x1cd3('0x1865')))['content'](_0x5211a8[_0x1cd3('0x44a')](_0x1cd3('0x1866')))['ariaLabel'](_0x1cd3('0x1867'))['ok'](_0x5211a8[_0x1cd3('0x44a')](_0x1cd3('0x1868')))['cancel'](_0x5211a8['instant']('DASHBOARDS.CANCEL'));_0x48eb50[_0x1cd3('0x37e')](_0x29d2df)[_0x1cd3('0x77')](function(){_0x48eb50['hide'](_0x54065a);});}else{_0x48eb50[_0x1cd3('0x39d')](_0x54065a);}}function _0x2bf463(){_0x48eb50[_0x1cd3('0x4d8')]();}function _0x288b48(_0x5c046e){var _0x1a10fa=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;return _0x1a10fa[_0x1cd3('0x658')](_0x5c046e);}function _0x36916a(_0x203f6f){var _0x499b1f=/\<body[^>]*\>([^]*)\<\/body/m;var _0x30340b=_0x203f6f[_0x1cd3('0x3f0')](_0x499b1f);if(_0x30340b){return _0x30340b[0x1];}return _0x203f6f;}function _0x59bfe2(){if(_[_0x1cd3('0x472')](_0x3b7545['template'])){return'';}try{var _0x256525=_['template'](_0x3b7545[_0x1cd3('0xb7a')]);var _0x54fb30={'user':_0x57e6f0['currentUser'],'account':_0x3b7545,'interaction':_0x2f9edc,'contact':_0x2f9edc&&_0x2f9edc[_0x1cd3('0x1323')]?_0x2f9edc[_0x1cd3('0x1323')]:{}};return _0x256525(_0x54fb30);}catch(_0x5cf1f5){console[_0x1cd3('0x434')](_0x5cf1f5);return'';}}function _0x2652da(){return'<div\x20style=\x22font-family:'+_0x3b7545['fontFamily']+_0x1cd3('0x1869')+_0x3b7545['fontSize']+_0x1cd3('0x186a')+_0x59bfe2()+_0x1cd3('0x1859');}function _0x34bf4b(_0x351c97){var _0x16e0b0=_0x1cd3('0x186b');switch(_0x351c97){case _0x1cd3('0x17df'):case _0x1cd3('0x184c'):_0x16e0b0+=_0x57e6f0[_0x1cd3('0x1834')]({'date':moment(_0x288cd3[_0x1cd3('0xe0d')])[_0x1cd3('0x130')](_0x1cd3('0x186c'))||'','time':moment(_0x288cd3[_0x1cd3('0xe0d')])[_0x1cd3('0x130')]('HH:mm')||'','from':_[_0x1cd3('0x186d')](_0x288cd3[_0x1cd3('0x606')])||''});break;case _0x1cd3('0x184d'):_0x16e0b0+=_0x57e6f0[_0x1cd3('0x1836')]({'date':moment(_0x288cd3[_0x1cd3('0xe0d')])['format'](_0x1cd3('0x186c'))||'','time':moment(_0x288cd3[_0x1cd3('0xe0d')])['format']('HH:mm')||'','from':_[_0x1cd3('0x186d')](_0x288cd3['from'])||'','to':_['escape'](_0x288cd3['to'])||'','subject':_[_0x1cd3('0x186d')](_0x288cd3['subject'])||''});break;}_0x16e0b0+=_0x1cd3('0x186e');_0x16e0b0+=_0x36916a(_0x288cd3[_0x1cd3('0x380')]?_[_0x1cd3('0x3f1')](_0x288cd3[_0x1cd3('0x380')],'<div\x20id=\x22xm-mail-content\x22',_0x1cd3('0x1858')):'');_0x16e0b0+='</blockquote></div>';return _0x351c97?_0x16e0b0:'';}function _0xd7d9e8(){_0x57e6f0[_0x1cd3('0x43a')][_0x1cd3('0x380')]+=_0x34bf4b(_0x57e6f0[_0x1cd3('0x43a')][_0x1cd3('0x424')]);}}}());(function(){'use strict';_0x7c4ca3[_0x1cd3('0xc')]=['$cookies',_0x1cd3('0x3e7'),_0x1cd3('0x371'),_0x1cd3('0x3c5'),_0x1cd3('0x1824'),_0x1cd3('0x15d3'),_0x1cd3('0x43a'),'type',_0x1cd3('0x370'),_0x1cd3('0x461'),'$q',_0x1cd3('0x3f7'),_0x1cd3('0x56')];angular[_0x1cd3('0x0')](_0x1cd3('0x2a'))[_0x1cd3('0x39b')](_0x1cd3('0x1779'),_0x7c4ca3);function _0x7c4ca3(_0x28fac8,_0x276f20,_0x1192e6,_0x2b6e02,_0x3c0ad6,_0x498ec6,_0x797bbe,_0x137ae7,_0x92e705,_0x9e2954,_0x3cb2e4,_0x39252f,_0x17a7a0){var _0x3018fa=this;_0x3018fa['currentUser']=_0x17a7a0[_0x1cd3('0x5d')]();_0x3018fa[_0x1cd3('0xd34')]=[];_0x3018fa[_0x1cd3('0x1825')]=[_0x3c0ad6['KEY_CODE']['ENTER'],_0x3c0ad6[_0x1cd3('0x1826')][_0x1cd3('0x1827')],_0x3c0ad6[_0x1cd3('0x1826')][_0x1cd3('0x1828')]];_0x3018fa[_0x1cd3('0x1830')]=_0x53bd29;_0x3018fa[_0x1cd3('0x17e2')]=_0x436b94;_0x3018fa[_0x1cd3('0x162e')]=_0x46b68f;_0x3018fa[_0x1cd3('0x1846')]=_0x203c3;_0x3018fa[_0x1cd3('0x49f')]={};_0x3018fa[_0x1cd3('0x43a')]={'from':_0x498ec6[_0x1cd3('0xf09')],'to':_['isNil'](_0x797bbe['to'])||_['isEmpty'](_0x797bbe['to'])?[]:_0x797bbe['to'],'body':''};_0x3018fa[_0x1cd3('0x9de')]=_0x1022ec;_0x3018fa[_0x1cd3('0x1848')]=_0x14738e;_0x3018fa['closeDialog']=_0x11a94a;_0x3018fa[_0x1cd3('0x1829')]=_0x39c478;_0x3018fa[_0x1cd3('0x1849')]=_0x36f704;switch(_0x137ae7){case _0x1cd3('0x162e'):_0x3018fa[_0x1cd3('0x162e')]();break;}function _0x38061b(_0x498fd8){_0x2b6e02['hide']({'to':_0x3018fa['message']['to'][_0x1cd3('0x3de')](','),'body':_0x498fd8});}function _0x1022ec(_0xcf592){if(_0x3018fa[_0x1cd3('0x43a')]['to']&&_0x3018fa[_0x1cd3('0x43a')]['body']){if(_0x3018fa[_0x1cd3('0x43a')]['to']['length']){_0x38061b(_0x3018fa[_0x1cd3('0x43a')][_0x1cd3('0x380')]);}else{_0x9e2954[_0x1cd3('0x434')](_0x1cd3('0x185b'));}}}function _0x436b94(_0xe4e01a){if(_0xe4e01a){try{_[_0x1cd3('0x17f6')][_0x1cd3('0x17f7')]=/{{([\s\S]+?)}}/g;var _0x22c3c2=_['template'](_0xe4e01a[_0x1cd3('0x3db')]);var _0x9b52a8={'user':_0x3018fa['currentUser'],'account':_0x498ec6};_0x3018fa[_0x1cd3('0x43a')]['body']+='\x20'+_0x22c3c2(_0x9b52a8);_0x3018fa[_0x1cd3('0x49f')][_0x1cd3('0x49d')](_0x3018fa[_0x1cd3('0x43a')][_0x1cd3('0x380')]);}catch(_0x3e94d6){_0x3018fa[_0x1cd3('0x43a')][_0x1cd3('0x380')]+='\x20'+_0xe4e01a[_0x1cd3('0x3db')];_0x3018fa[_0x1cd3('0x49f')]['setText'](_0x3018fa[_0x1cd3('0x43a')][_0x1cd3('0x380')]);}_0x3018fa[_0x1cd3('0xdfd')]=null;}}function _0x53bd29(_0xde58ae){var _0x40cc3c=_0x3cb2e4['defer']();var _0x1c5879=[];_0x92e705['cannedAnswer'][_0x1cd3('0x361')]({'filter':_0xde58ae,'OpenchannelAccountId':_0x498ec6['id']})['$promise'][_0x1cd3('0x77')](function(_0x54c048){_0x1c5879=_[_0x1cd3('0x3ae')](_0x1c5879,_0x54c048[_0x1cd3('0xf6')]);return _0x92e705[_0x1cd3('0x12c1')]['get']({'filter':_0xde58ae})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x53f15f){_0x1c5879=_[_0x1cd3('0x3ae')](_0x1c5879,_[_0x1cd3('0x395')](_0x53f15f[_0x1cd3('0xf6')],function(_0x212693){return!_0x212693[_0x1cd3('0x1492')]&&!_0x212693[_0x1cd3('0x148f')]&&!_0x212693[_0x1cd3('0x1491')]&&!_0x212693[_0x1cd3('0x1583')]&&!_0x212693[_0x1cd3('0x1490')]&&!_0x212693[_0x1cd3('0x1203')];}));_0x40cc3c[_0x1cd3('0x58')](_0x1c5879);})[_0x1cd3('0xfd')](function(_0x3de1a4){_0x40cc3c['reject'](_0x3de1a4);});return _0x40cc3c[_0x1cd3('0x539')];}function _0x14738e(_0x4c5a16){var _0x3f895e='';if(_0x4c5a16['firstName']&&_0x4c5a16[_0x1cd3('0x1447')]!==_0x4c5a16[_0x498ec6['mapKey']]){_0x3f895e+=_0x4c5a16[_0x1cd3('0x1447')]+'\x20';}if(_0x4c5a16[_0x1cd3('0x1324')]&&_0x4c5a16[_0x1cd3('0x1324')]!==_0x4c5a16[_0x498ec6[_0x1cd3('0x186f')]]){_0x3f895e+=_0x4c5a16['lastName']+'\x20';}return _0x3f895e+='<'+_0x4c5a16[_0x498ec6['mapKey']]+'>';}function _0x36f704(_0x2f0d23){var _0x4b99c3=_0x2f0d23;if(_[_0x1cd3('0x551')](_0x4b99c3)){return _0x2f0d23[_0x498ec6[_0x1cd3('0x186f')]];}return _0x4b99c3;}function _0x39c478(_0x232fb8){if(_0x498ec6&&_0x498ec6[_0x1cd3('0x106')]){var _0x421299='firstName,lastName,phone,mobile';if(_0x498ec6[_0x1cd3('0x186f')]){_0x421299+=','+_0x498ec6['mapKey'];}return _0x92e705['cmContact'][_0x1cd3('0x361')]({'ListId':_0x498ec6[_0x1cd3('0x106')],'nolimit':!![],'filter':_0x232fb8,'fields':_0x421299})[_0x1cd3('0x81')]['then'](function(_0x1b24c5){return _0x1b24c5[_0x1cd3('0xf6')];});}return[];}function _0x11a94a(){_0x2b6e02['cancel']();}function _0x46b68f(){_0x3018fa['secret']=!![];}function _0x203c3(){if(_0x3018fa[_0x1cd3('0x43a')][_0x1cd3('0x380')]){_0x2b6e02[_0x1cd3('0x39d')]({'secret':!![],'body':_0x3018fa['message'][_0x1cd3('0x380')]});}}}}());(function(){'use strict';_0x5108ba['$inject']=['$cookies',_0x1cd3('0x3e7'),_0x1cd3('0x371'),_0x1cd3('0x3c5'),_0x1cd3('0x1824'),_0x1cd3('0x15d3'),_0x1cd3('0x43a'),_0x1cd3('0x424'),_0x1cd3('0x370'),_0x1cd3('0x461'),'$q','$translate',_0x1cd3('0x56')];angular[_0x1cd3('0x0')](_0x1cd3('0x2a'))[_0x1cd3('0x39b')]('ComposeSmsInteractionDialogController',_0x5108ba);function _0x5108ba(_0x1889ac,_0x5db0d7,_0x570f69,_0x4ae38c,_0x2b373f,_0x2cf323,_0xa977aa,_0x4fea8d,_0x5a9496,_0x536392,_0x3bd19f,_0x1c13cc,_0x5f2df4){var _0x24e166=this;_0x24e166[_0x1cd3('0x3ca')]=_0x5f2df4[_0x1cd3('0x5d')]();_0x24e166[_0x1cd3('0xd34')]=[];_0x24e166[_0x1cd3('0x1825')]=[_0x2b373f['KEY_CODE'][_0x1cd3('0x1870')],_0x2b373f[_0x1cd3('0x1826')]['COMMA'],_0x2b373f[_0x1cd3('0x1826')][_0x1cd3('0x1828')]];_0x24e166[_0x1cd3('0x1830')]=_0xc1824b;_0x24e166['selectedItemChange']=_0x12ca90;_0x24e166[_0x1cd3('0x162e')]=_0x195e9d;_0x24e166[_0x1cd3('0x1846')]=_0x306d53;_0x24e166[_0x1cd3('0x49f')]={};_0x24e166[_0x1cd3('0x43a')]={'from':_0x2cf323[_0x1cd3('0xf09')],'to':_['isNil'](_0xa977aa['to'])||_[_0x1cd3('0x398')](_0xa977aa['to'])?[]:_0xa977aa['to'],'body':''};_0x24e166[_0x1cd3('0x9de')]=_0x3bf098;_0x24e166[_0x1cd3('0x1848')]=_0x3c122d;_0x24e166[_0x1cd3('0x39c')]=_0x16af82;_0x24e166['contactSearch']=_0x15a43b;_0x24e166[_0x1cd3('0x1849')]=_0x367543;switch(_0x4fea8d){case _0x1cd3('0x162e'):_0x24e166[_0x1cd3('0x162e')]();break;}function _0x28d477(_0x120283){_0x4ae38c['hide']({'to':_0x24e166[_0x1cd3('0x43a')]['to'][_0x1cd3('0x3de')](','),'body':_0x120283});}function _0x3bf098(_0x3d77f0){if(_0x24e166[_0x1cd3('0x43a')]['to']&&_0x24e166[_0x1cd3('0x43a')]['body']){if(_0x24e166[_0x1cd3('0x43a')]['to'][_0x1cd3('0x7a')]){_0x28d477(_0x24e166[_0x1cd3('0x43a')][_0x1cd3('0x380')]);}else{_0x536392[_0x1cd3('0x434')](_0x1cd3('0x185b'));}}}function _0x12ca90(_0x38ede8){if(_0x38ede8){try{_['templateSettings'][_0x1cd3('0x17f7')]=/{{([\s\S]+?)}}/g;var _0x898a55=_['template'](_0x38ede8[_0x1cd3('0x3db')]);var _0x3f0e18={'user':_0x24e166[_0x1cd3('0x3ca')],'account':_0x2cf323};_0x24e166[_0x1cd3('0x43a')][_0x1cd3('0x380')]+='\x20'+_0x898a55(_0x3f0e18);_0x24e166['ctrlMethods'][_0x1cd3('0x49d')](_0x24e166['message']['body']);}catch(_0x365862){_0x24e166[_0x1cd3('0x43a')][_0x1cd3('0x380')]+='\x20'+_0x38ede8[_0x1cd3('0x3db')];_0x24e166['ctrlMethods'][_0x1cd3('0x49d')](_0x24e166[_0x1cd3('0x43a')][_0x1cd3('0x380')]);}_0x24e166[_0x1cd3('0xdfd')]=null;}}function _0xc1824b(_0x26b1a3){var _0x4f5597=_0x3bd19f[_0x1cd3('0x53a')]();var _0x145669=[];_0x5a9496[_0x1cd3('0x12c1')][_0x1cd3('0x361')]({'filter':_0x26b1a3,'SmsAccountId':_0x2cf323['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x254ef0){_0x145669=_[_0x1cd3('0x3ae')](_0x145669,_0x254ef0[_0x1cd3('0xf6')]);return _0x5a9496['cannedAnswer'][_0x1cd3('0x361')]({'filter':_0x26b1a3})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x2bc8f0){_0x145669=_[_0x1cd3('0x3ae')](_0x145669,_[_0x1cd3('0x395')](_0x2bc8f0[_0x1cd3('0xf6')],function(_0x4bb784){return!_0x4bb784[_0x1cd3('0x1492')]&&!_0x4bb784[_0x1cd3('0x148f')]&&!_0x4bb784[_0x1cd3('0x1491')]&&!_0x4bb784[_0x1cd3('0x1490')]&&!_0x4bb784[_0x1cd3('0x1203')];}));_0x4f5597[_0x1cd3('0x58')](_0x145669);})[_0x1cd3('0xfd')](function(_0x47bbe5){_0x4f5597['reject'](_0x47bbe5);});return _0x4f5597[_0x1cd3('0x539')];}function _0x3c122d(_0x2a4ef9){var _0x2bb2ca='';if(_0x2a4ef9[_0x1cd3('0x1447')]&&_0x2a4ef9[_0x1cd3('0x1447')]!==_0x2a4ef9['mobile']){_0x2bb2ca+=_0x2a4ef9[_0x1cd3('0x1447')]+'\x20';}if(_0x2a4ef9[_0x1cd3('0x1324')]&&_0x2a4ef9['lastName']!==_0x2a4ef9[_0x1cd3('0x967')]){_0x2bb2ca+=_0x2a4ef9[_0x1cd3('0x1324')]+'\x20';}return _0x2bb2ca+='<'+_0x2a4ef9['mobile']+'>';}function _0x367543(_0x418a54){var _0xd5ea09=_0x418a54;if(_[_0x1cd3('0x551')](_0xd5ea09)){return _0x418a54[_0x1cd3('0x967')];}if(_0x2f44a5(_0xd5ea09)){return _0xd5ea09;}_0x536392[_0x1cd3('0x434')](_0x1cd3('0x1871')+_0xd5ea09+_0x1cd3('0x182d'));return null;}function _0x15a43b(_0x37e509){if(_0x2cf323&&_0x2cf323[_0x1cd3('0x106')]){return _0x5a9496[_0x1cd3('0xb3d')]['get']({'ListId':_0x2cf323[_0x1cd3('0x106')],'nolimit':!![],'filter':_0x37e509,'fields':'firstName,lastName,mobile'})[_0x1cd3('0x81')]['then'](function(_0x2bc657){return _0x2bc657[_0x1cd3('0xf6')];});}return[];}function _0x16af82(){_0x4ae38c['cancel']();}function _0x2f44a5(_0xd5879b){var _0x26726d=/^(\+|\d)[0-9]{7,16}$/;return _0x26726d[_0x1cd3('0x658')](_0xd5879b);}function _0x195e9d(){_0x24e166[_0x1cd3('0x1684')]=!![];}function _0x306d53(){if(_0x24e166[_0x1cd3('0x43a')][_0x1cd3('0x380')]){_0x4ae38c[_0x1cd3('0x39d')]({'secret':!![],'body':_0x24e166[_0x1cd3('0x43a')]['body']});}}}}());(function(){'use strict';_0x47ef8f[_0x1cd3('0xc')]=['$cookies',_0x1cd3('0x3e7'),_0x1cd3('0x371'),_0x1cd3('0x3c5'),'$mdConstant',_0x1cd3('0x15d3'),_0x1cd3('0x43a'),_0x1cd3('0x424'),'api',_0x1cd3('0x461'),'$q',_0x1cd3('0x3f7'),_0x1cd3('0x56')];angular[_0x1cd3('0x0')](_0x1cd3('0x2a'))[_0x1cd3('0x39b')](_0x1cd3('0x17c9'),_0x47ef8f);function _0x47ef8f(_0x5ed620,_0x13a8af,_0x288bde,_0x27b98b,_0x30707c,_0x30045a,_0x41c76d,_0x162f30,_0x46ad5b,_0x19e35c,_0x4ae601,_0x23b4c7,_0x12dc90){var _0x952bbe=this;_0x952bbe[_0x1cd3('0x3ca')]=_0x12dc90[_0x1cd3('0x5d')]();_0x952bbe['errors']=[];_0x952bbe['separatorKeys']=[_0x30707c[_0x1cd3('0x1826')]['ENTER'],_0x30707c['KEY_CODE'][_0x1cd3('0x1827')],_0x30707c[_0x1cd3('0x1826')][_0x1cd3('0x1828')]];_0x952bbe[_0x1cd3('0x1830')]=_0x4aa68d;_0x952bbe[_0x1cd3('0x17e2')]=_0x3f7f49;_0x952bbe[_0x1cd3('0x162e')]=_0xa04229;_0x952bbe[_0x1cd3('0x1846')]=_0x2f4e77;_0x952bbe[_0x1cd3('0x49f')]={};_0x952bbe['message']={'from':_0x30045a[_0x1cd3('0xf09')],'to':_[_0x1cd3('0x472')](_0x41c76d['to'])||_[_0x1cd3('0x398')](_0x41c76d['to'])?[]:_0x41c76d['to'],'body':''};_0x952bbe['send']=_0x539942;_0x952bbe[_0x1cd3('0x1848')]=_0x5d5f47;_0x952bbe[_0x1cd3('0x39c')]=_0x238dcb;_0x952bbe[_0x1cd3('0x1829')]=_0x59a54a;_0x952bbe[_0x1cd3('0x1849')]=_0x432329;switch(_0x162f30){case _0x1cd3('0x162e'):_0x952bbe[_0x1cd3('0x162e')]();break;}function _0x5ca62a(_0x2fcade){_0x27b98b[_0x1cd3('0x39d')]({'to':_0x952bbe[_0x1cd3('0x43a')]['to'][_0x1cd3('0x3de')](','),'body':_0x2fcade});}function _0x539942(_0x189eb2){if(_0x952bbe[_0x1cd3('0x43a')]['to']&&_0x952bbe['message']['body']){if(_0x952bbe['message']['to'][_0x1cd3('0x7a')]){_0x5ca62a(_0x952bbe['message'][_0x1cd3('0x380')]);}else{_0x19e35c[_0x1cd3('0x434')](_0x1cd3('0x185b'));}}}function _0x3f7f49(_0x4bbc1a){if(_0x4bbc1a){try{_[_0x1cd3('0x17f6')]['interpolate']=/{{([\s\S]+?)}}/g;var _0x5d6afb=_[_0x1cd3('0xb7a')](_0x4bbc1a[_0x1cd3('0x3db')]);var _0x14d59c={'user':_0x952bbe[_0x1cd3('0x3ca')],'account':_0x30045a};_0x952bbe[_0x1cd3('0x43a')][_0x1cd3('0x380')]+='\x20'+_0x5d6afb(_0x14d59c);_0x952bbe[_0x1cd3('0x49f')][_0x1cd3('0x49d')](_0x952bbe[_0x1cd3('0x43a')][_0x1cd3('0x380')]);}catch(_0x35ea77){_0x952bbe[_0x1cd3('0x43a')]['body']+='\x20'+_0x4bbc1a['value'];_0x952bbe[_0x1cd3('0x49f')][_0x1cd3('0x49d')](_0x952bbe[_0x1cd3('0x43a')][_0x1cd3('0x380')]);}_0x952bbe[_0x1cd3('0xdfd')]=null;}}function _0x4aa68d(_0x2d8b92){var _0x25cefa=_0x4ae601[_0x1cd3('0x53a')]();var _0x341c19=[];_0x46ad5b['cannedAnswer']['get']({'filter':_0x2d8b92,'WhatsappAccountId':_0x30045a['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x29c487){_0x341c19=_[_0x1cd3('0x3ae')](_0x341c19,_0x29c487[_0x1cd3('0xf6')]);return _0x46ad5b[_0x1cd3('0x12c1')][_0x1cd3('0x361')]({'filter':_0x2d8b92})[_0x1cd3('0x81')];})['then'](function(_0x54b555){_0x341c19=_[_0x1cd3('0x3ae')](_0x341c19,_[_0x1cd3('0x395')](_0x54b555['rows'],function(_0x3af8ee){return!_0x3af8ee[_0x1cd3('0x1492')]&&!_0x3af8ee[_0x1cd3('0x148f')]&&!_0x3af8ee[_0x1cd3('0x1583')]&&!_0x3af8ee[_0x1cd3('0x1490')]&&!_0x3af8ee['ChatWebsiteId'];}));_0x25cefa[_0x1cd3('0x58')](_0x341c19);})[_0x1cd3('0xfd')](function(_0x4e501d){_0x25cefa[_0x1cd3('0x3a7')](_0x4e501d);});return _0x25cefa[_0x1cd3('0x539')];}function _0x5d5f47(_0x593523){var _0x2f9351='';if(_0x593523[_0x1cd3('0x1447')]&&_0x593523[_0x1cd3('0x1447')]!==_0x593523[_0x1cd3('0x967')]){_0x2f9351+=_0x593523[_0x1cd3('0x1447')]+'\x20';}if(_0x593523['lastName']&&_0x593523[_0x1cd3('0x1324')]!==_0x593523[_0x1cd3('0x967')]){_0x2f9351+=_0x593523[_0x1cd3('0x1324')]+'\x20';}return _0x2f9351+='<'+_0x593523[_0x1cd3('0x967')]+'>';}function _0x432329(_0x1d825b){var _0x40b578=_0x1d825b;if(_['isObject'](_0x40b578)){return _0x1d825b[_0x1cd3('0x967')];}if(_0x41dd99(_0x40b578)){return _0x40b578;}_0x19e35c[_0x1cd3('0x434')](_0x1cd3('0x1871')+_0x40b578+_0x1cd3('0x182d'));return null;}function _0x59a54a(_0x387e9c){if(_0x30045a&&_0x30045a[_0x1cd3('0x106')]){return _0x46ad5b['cmContact'][_0x1cd3('0x361')]({'ListId':_0x30045a['ListId'],'nolimit':!![],'filter':_0x387e9c,'fields':_0x1cd3('0x1872')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x28ab01){return _0x28ab01[_0x1cd3('0xf6')];});}return[];}function _0x238dcb(){_0x27b98b[_0x1cd3('0x4d8')]();}function _0x41dd99(_0x3a8e1b){var _0x2b9686=/^(\+|\d)[0-9]{7,16}$/;return _0x2b9686[_0x1cd3('0x658')](_0x3a8e1b);}function _0xa04229(){_0x952bbe[_0x1cd3('0x1684')]=!![];}function _0x2f4e77(){if(_0x952bbe[_0x1cd3('0x43a')][_0x1cd3('0x380')]){_0x27b98b[_0x1cd3('0x39d')]({'secret':!![],'body':_0x952bbe[_0x1cd3('0x43a')]['body']});}}}}());(function(){'use strict';_0x52994f[_0x1cd3('0xc')]=['$mdDialog','toasty','api','interaction',_0x1cd3('0x157f'),_0x1cd3('0x368'),_0x1cd3('0x1564')];angular[_0x1cd3('0x0')]('app.dashboards')['controller']('DisposeInteractionDialogController',_0x52994f);function _0x52994f(_0x3c6b5d,_0x3690c6,_0x3f5dca,_0x4421aa,_0xcf2b3b,_0x2b9064,_0x23554a){var _0x24c365=this;_0x24c365[_0x1cd3('0xd34')]=[];_0x24c365[_0x1cd3('0x15a5')]=[];_0x24c365[_0x1cd3('0x1332')]=angular[_0x1cd3('0x429')](_0x4421aa);if(!_0x24c365['interaction'][_0x1cd3('0xb63')]){_0x24c365[_0x1cd3('0x1332')][_0x1cd3('0xb63')]=null;}_0x24c365[_0x1cd3('0x157f')]=_0xcf2b3b;_0x24c365[_0x1cd3('0x1873')]=_0x24c365[_0x1cd3('0x157f')]+_0x1cd3('0x1495');_0x24c365[_0x1cd3('0x1874')]=_0x24c365[_0x1cd3('0x157f')]+(_0x24c365[_0x1cd3('0x157f')]===_0x1cd3('0xbf')?_0x1cd3('0x166a'):_0x1cd3('0x1591'));_0x24c365[_0x1cd3('0x1875')]=_[_0x1cd3('0x12b1')](_0x24c365[_0x1cd3('0x157f')])+(_0x24c365[_0x1cd3('0x157f')]===_0x1cd3('0xbf')?_0x1cd3('0x166a'):'Account')+'Id';_0x24c365[_0x1cd3('0x158c')]=![];_0x24c365[_0x1cd3('0x1876')]='';_0x24c365[_0x1cd3('0x1877')]=_0x2b9064['voicePause']||_0x2b9064[_0x1cd3('0x138b')]||_0x2b9064[_0x1cd3('0x1590')]||_0x2b9064[_0x1cd3('0x138c')]||_0x2b9064[_0x1cd3('0x138f')];_0x24c365[_0x1cd3('0x1635')]=_0x5757e9;_0x24c365['closeDialog']=_0x4867c6;function _0x225414(){var _0x468cf9=[];var _0x255920={'fields':'id,name','sort':'name','nolimit':!![]};_0x255920[_0x24c365[_0x1cd3('0x1875')]]=_0x4421aa[_0x24c365[_0x1cd3('0x1875')]];_0x3f5dca[_0x24c365['apiAccountRoute']][_0x1cd3('0x361')]({'id':_0x4421aa[_0x24c365[_0x1cd3('0x1875')]]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x3ddf8f){_0x24c365[_0x1cd3('0x158c')]=_0x3ddf8f[_0x1cd3('0x158c')];if(_0x24c365[_0x1cd3('0x158c')]){_0x24c365[_0x1cd3('0x1876')]=_0x3ddf8f[_0x1cd3('0x1876')][_0x1cd3('0x98')];}return _0x3f5dca[_0x1cd3('0xb63')][_0x1cd3('0x361')](_0x255920)[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x939ff5){if(_0x939ff5[_0x1cd3('0xf6')]['length']){_0x468cf9=_['concat'](_0x468cf9,_0x939ff5[_0x1cd3('0xf6')]);}return _0x3f5dca[_0x1cd3('0xb63')][_0x1cd3('0x361')]({'MailAccountId':_0x1cd3('0x220'),'FaxAccountId':'null','SmsAccountId':_0x1cd3('0x220'),'WhatsappAccountId':_0x1cd3('0x220'),'OpenchannelAccountId':_0x1cd3('0x220'),'ChatWebsiteId':'null','ListId':_0x1cd3('0x220')})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x285a2a){if(_0x285a2a[_0x1cd3('0xf6')][_0x1cd3('0x7a')]){_0x468cf9=_[_0x1cd3('0x3ae')](_0x468cf9,_0x285a2a['rows']);}})[_0x1cd3('0xfd')](function(_0x326f2d){console[_0x1cd3('0x434')](_0x326f2d);})['finally'](function(){_0x24c365['dispositions']=_['orderBy'](_0x468cf9,[_0x1cd3('0x98')],[_0x1cd3('0x13d6')]);_0x2e98cf();});}function _0x2e98cf(){if(_0x24c365[_0x1cd3('0x158c')]&&!_0x24c365[_0x1cd3('0x1877')]){_0x3f5dca[_0x1cd3('0x368')][_0x1cd3('0x63e')]({'id':_0x2b9064['id'],'type':_0x24c365['mandatoryDispositionPause']||'DEFAULT\x20PAUSE'})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x3a9a68){})[_0x1cd3('0xfd')](function(_0xab3694){console[_0x1cd3('0x434')](_0xab3694);});}}function _0x5757e9(_0x36a3f6){_0x24c365[_0x1cd3('0xd34')]=[];_0x24c365[_0x1cd3('0x1332')]['UserId']=_0x2b9064['id'];_0x24c365[_0x1cd3('0x1332')]['closed']=!![];_0x24c365['interaction'][_0x1cd3('0x1878')]='agent';if(_0x3f5dca[_0x24c365['apiRoute']]){_0x3f5dca[_0x24c365[_0x1cd3('0x1873')]][_0x1cd3('0x378')](_['pick'](_0x24c365['interaction'],['MailAccountId','FaxAccountId','SmsAccountId','WhatsappAccountId',_0x1cd3('0x1203'),_0x1cd3('0x1490'),_0x1cd3('0x1586'),_0x1cd3('0x1878'),_0x1cd3('0xb63'),'id',_0x1cd3('0x162e'),'UserId']))['$promise'][_0x1cd3('0x77')](function(_0x3d6926){_0x24c365[_0x1cd3('0x1332')]=_0x3d6926;if(_0x24c365[_0x1cd3('0x157f')]==='mail'){_0x23554a['removeByInteraction'](_0x24c365['interaction']['id']);}_0x3690c6[_0x1cd3('0x473')]({'title':'Interaction\x20properly\x20closed!','msg':_0x1cd3('0x1879')});})[_0x1cd3('0x77')](function(){_0x4867c6(!![]);})['catch'](function(_0x5e496e){if(_0x5e496e['data']&&_0x5e496e[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x5e496e[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x24c365[_0x1cd3('0xd34')]=_0x5e496e[_0x1cd3('0x439')]['errors']||[{'message':_0x5e496e[_0x1cd3('0x43b')](),'type':_0x1cd3('0x187a')}];for(var _0x1370a9=0x0;_0x1370a9<_0x5e496e['data'][_0x1cd3('0xd34')]['length'];_0x1370a9++){_0x3690c6[_0x1cd3('0x434')]({'title':_0x5e496e[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1370a9]['type'],'msg':_0x5e496e['data']['errors'][_0x1370a9][_0x1cd3('0x43a')]});}}else{_0x3690c6[_0x1cd3('0x434')]({'title':_0x5e496e[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x5e496e['status']+_0x1cd3('0x436')+_0x5e496e[_0x1cd3('0xd35')]:_0x1cd3('0x187a'),'msg':_0x5e496e[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x5e496e[_0x1cd3('0x439')]['message']):_0x5e496e[_0x1cd3('0x43b')]()});}});}else{_0x4867c6(![]);}}function _0x4867c6(_0x1d6b57){_0x3c6b5d[_0x1cd3('0x39d')](_0x1d6b57);}_0x225414();}}());(function(){'use strict';_0x510a8f['$inject']=[_0x1cd3('0x3c5'),_0x1cd3('0x461'),_0x1cd3('0x370'),'interaction',_0x1cd3('0x157f'),_0x1cd3('0x921')];angular[_0x1cd3('0x0')](_0x1cd3('0x2a'))[_0x1cd3('0x39b')](_0x1cd3('0x187b'),_0x510a8f);function _0x510a8f(_0x33e7b2,_0x27a2a6,_0x357b53,_0x204de5,_0x58bc88,_0xec8627){var _0x4d0813=this;_0x4d0813[_0x1cd3('0xd34')]=[];_0x4d0813['tags']=_0xec8627;_0x4d0813['interaction']=angular[_0x1cd3('0x429')](_0x204de5);_0x4d0813[_0x1cd3('0x1332')][_0x1cd3('0xf9')]=_[_0x1cd3('0x3d9')](_0x4d0813['interaction'][_0x1cd3('0xf9')],function(_0xfa2fe3){return{'id':_0xfa2fe3['id'],'name':_0xfa2fe3['name'],'color':_0xfa2fe3[_0x1cd3('0x3c6')]};});_0x4d0813[_0x1cd3('0x157f')]=_0x58bc88;_0x4d0813[_0x1cd3('0x187c')]=!![];_0x4d0813['saveTag']=_0xea9670;_0x4d0813[_0x1cd3('0x39c')]=_0x25f0f5;_0x4d0813['apiRoute']=_0x4d0813['channel']+_0x1cd3('0x1495');function _0xea9670(){_0x4d0813[_0x1cd3('0xd34')]=[];if(_0x357b53[_0x4d0813['apiRoute']]){return _0x357b53[_0x4d0813[_0x1cd3('0x1873')]]['addTags']({'id':_0x4d0813[_0x1cd3('0x1332')]['id'],'ids':_[_0x1cd3('0x3d9')](_0x4d0813[_0x1cd3('0x1332')]['Tags'],'id')})[_0x1cd3('0x81')]['then'](function(){_0x27a2a6['success']({'title':_0x1cd3('0x187d'),'msg':'Interaction\x20has\x20been\x20tagged!'});_0x204de5[_0x1cd3('0xf9')]=_0x4d0813[_0x1cd3('0x1332')][_0x1cd3('0xf9')];_0x25f0f5(!![]);})['catch'](function(_0x15f9fb){if(_0x15f9fb[_0x1cd3('0x439')]&&_0x15f9fb[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x15f9fb[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')]){for(var _0x405991=0x0;_0x405991<_0x15f9fb[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length'];_0x405991+=0x1){_0x27a2a6[_0x1cd3('0x434')]({'title':_0x15f9fb[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x405991][_0x1cd3('0x424')],'msg':_0x15f9fb['data'][_0x1cd3('0xd34')][_0x405991][_0x1cd3('0x43a')]});}}else{_0x27a2a6[_0x1cd3('0x434')]({'title':_0x15f9fb['status']?_0x1cd3('0x435')+_0x15f9fb[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x15f9fb[_0x1cd3('0xd35')]:'api.variable.update','msg':_0x15f9fb[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x15f9fb[_0x1cd3('0x439')]['message']):_0x15f9fb[_0x1cd3('0x43b')]()});}});}else{_0x25f0f5(![]);}}function _0x25f0f5(_0x5f1037){_0x33e7b2[_0x1cd3('0x39d')](_0x5f1037);}}}());(function(){'use strict';_0x465cc8[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),'$timeout',_0x1cd3('0x56'),_0x1cd3('0x370'),_0x1cd3('0x461'),_0x1cd3('0x157f'),_0x1cd3('0x43a'),_0x1cd3('0x15d3')];angular[_0x1cd3('0x0')](_0x1cd3('0x2a'))[_0x1cd3('0x39b')](_0x1cd3('0x17fe'),_0x465cc8);function _0x465cc8(_0x2abb60,_0x85c882,_0x478b8d,_0x10fe32,_0x50c58b,_0x19f2d4,_0x6470a6,_0x5c2769){var _0x8692f6=this;_0x8692f6[_0x1cd3('0x3ca')]=_0x478b8d[_0x1cd3('0x5d')]();_0x8692f6[_0x1cd3('0x157f')]=_0x19f2d4['toLowerCase']();_0x8692f6[_0x1cd3('0x43a')]=_0x6470a6;_0x8692f6['account']=_0x5c2769;_0x8692f6['transfer']={'id':0x0,'type':_0x1cd3('0x1220')};_0x8692f6[_0x1cd3('0x1228')]=_0x8692f6[_0x1cd3('0x1155')]={'count':0x0,'rows':[]};_0x8692f6[_0x1cd3('0x187e')]=_0x8692f6[_0x1cd3('0x157f')]+_0x1cd3('0x1223');_0x8692f6[_0x1cd3('0x187f')]=_0x8692f6['channel']+_0x1cd3('0x1880');_0x8692f6[_0x1cd3('0x1881')]=_0x2bc604;_0x8692f6['closeDialog']=_0x1a4d42;_0x8692f6[_0x1cd3('0xe08')]=_0xddd280;_0x8692f6['init']();function _0xddd280(){return _0x10fe32[_0x1cd3('0x368')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'role':'agent','sort':'name','nolimit':!![]})['$promise']['then'](function(_0x8b6949){_0x8692f6[_0x1cd3('0x1228')]=_0x8b6949||{'count':0x0,'rows':[]};return _0x10fe32[_0x8692f6['queueMethod']][_0x1cd3('0x361')]({'fields':'id,name','sort':_0x1cd3('0x98'),'nolimit':!![]})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x571718){_0x8692f6[_0x1cd3('0x1155')]=_0x571718||{'count':0x0,'rows':[]};})[_0x1cd3('0xfd')](function(_0x58c29a){console[_0x1cd3('0x434')](_0x58c29a);});}function _0x1a4d42(_0x5042a8){_0x2abb60['hide'](_0x5042a8);}function _0x2bc604(){_0x1a4d42(!![]);_0x85c882(function(){return _0x10fe32['rpc'][_0x8692f6['transfer']['type']===_0x1cd3('0xd2')?_0x1cd3('0x1882'):_0x8692f6[_0x1cd3('0x187f')]]({'id':_0x8692f6[_0x1cd3('0x46e')]['id'],'messageId':_0x8692f6[_0x1cd3('0x43a')]['id'],'channel':_0x8692f6[_0x1cd3('0x157f')]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x562208){_0x50c58b['success']({'title':_0x1cd3('0x1883'),'msg':_0x1cd3('0x1884')+_0x8692f6[_0x1cd3('0x46e')][_0x1cd3('0x424')]+'\x20has\x20been\x20done!'});})['catch'](function(_0x2e6112){if(_0x2e6112[_0x1cd3('0x439')]&&_0x2e6112[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x2e6112['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x8692f6['errors']=_0x2e6112[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x2e6112[_0x1cd3('0x43b')](),'type':'api.rpc.notify'}];for(var _0x53c92c=0x0;_0x53c92c<_0x2e6112['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x53c92c++){_0x50c58b['error']({'title':_0x2e6112[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x53c92c][_0x1cd3('0x424')],'msg':_0x2e6112[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x53c92c]['message']});}}else{_0x50c58b[_0x1cd3('0x434')]({'title':_0x2e6112[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x2e6112[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x2e6112['statusText']:'api.rpc.notify','msg':_0x2e6112[_0x1cd3('0x439')]?JSON['stringify'](_0x2e6112[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x2e6112[_0x1cd3('0x43b')]()});}});},0x1388);}}}());(function(){'use strict';_0x1a6210[_0x1cd3('0xc')]=[_0x1cd3('0x460'),'$q',_0x1cd3('0x3c5'),'mwFormResponseUtils',_0x1cd3('0x370'),_0x1cd3('0x461'),_0x1cd3('0x56'),_0x1cd3('0x3f7'),'$rootScope',_0x1cd3('0x3e7'),_0x1cd3('0x2dd')];angular[_0x1cd3('0x0')](_0x1cd3('0x2a'))['controller'](_0x1cd3('0x1885'),_0x1a6210);function _0x1a6210(_0x3b90f8,_0x5df8eb,_0x149bbc,_0x38205c,_0x1d6c45,_0x4013b6,_0x3d68da,_0x4d6102,_0x1db73a,_0x6fed7b,_0xe5dd72){var _0x4b6231=this;_0x4b6231[_0x1cd3('0x1886')]={};_0x4b6231[_0x1cd3('0x1887')]=!![];_0x4b6231[_0x1cd3('0x1888')]=![];_0x4b6231[_0x1cd3('0x3c2')]=_0xe5dd72['detectBrowser']();_0x4b6231[_0x1cd3('0x1889')]=_0x18d37b;_0x4b6231['openContact']=_0xb7465e;_0x4b6231['isJsonString']=_0x2d8d45;_0x4b6231[_0x1cd3('0x188a')]=_0x5259da;_0x4b6231[_0x1cd3('0x188b')]=_0x369da5;_0x4b6231[_0x1cd3('0x188c')]=_0x555357;_0x4b6231[_0x1cd3('0x188d')]=_0x22e572;_0x4b6231['init']=_0x410972;_0x4b6231[_0x1cd3('0x188e')]=function(_0x1c78dc){if(_0x4b6231[_0x1cd3('0x1886')]['reset']){var _0x20fed6=_0x149bbc[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x4d6102['instant'](_0x1cd3('0x188f')))[_0x1cd3('0xd3b')](_0x4d6102[_0x1cd3('0x44a')](_0x1cd3('0x1890')))[_0x1cd3('0x678')]('')[_0x1cd3('0xd3d')](_0x1cd3('0x1891'))[_0x1cd3('0xd63')](_0x1c78dc)['ok'](_0x4d6102['instant'](_0x1cd3('0x1892')))[_0x1cd3('0x4d8')](_0x4d6102['instant']('JSCRIPTY.NO'));_0x149bbc[_0x1cd3('0x37e')](_0x20fed6)['then'](function(){_0x4b6231[_0x1cd3('0x1888')]=![];_0x4b6231['project'][_0x1cd3('0x1893')]=undefined;_0x3c0a06();_0x4b6231['formViewer'][_0x1cd3('0x358')]();});}};function _0x3c0a06(){try{_0x3b90f8['$parent'][_0x1cd3('0x70b')]['$parent']['vm'][_0x1cd3('0x1612')]();}catch(_0x578558){_0x4013b6[_0x1cd3('0x434')]({'title':_0x1cd3('0x1894'),'msg':_0x1cd3('0x1895')});}}function _0x410972(_0x8720d3){_0x4b6231['tab']=_0x8720d3;if(_0x4b6231['tab']){_0x4b6231[_0x1cd3('0x46d')]=_0x4b6231['tab'][_0x1cd3('0x46d')];_0x4b6231[_0x1cd3('0x1896')]=_0x4b6231['tab'][_0x1cd3('0x1595')];_0x4b6231['contact']=_0x4b6231[_0x1cd3('0x1418')][_0x1cd3('0x105')];_0x4b6231[_0x1cd3('0xedd')]=_0x4b6231['tab'][_0x1cd3('0xedd')];if(_0x4b6231[_0x1cd3('0xedd')]){if(_[_0x1cd3('0x1897')](_0x4b6231[_0x1cd3('0xedd')][_0x1cd3('0x15c2')])){_0x4b6231[_0x1cd3('0xedd')]['formData']=_0x4b6231[_0x1cd3('0xedd')]['formData'];}else if(_0x4b6231[_0x1cd3('0x1898')](_0x4b6231['project'][_0x1cd3('0x15c2')])){_0x4b6231[_0x1cd3('0xedd')]['formData']=JSON[_0x1cd3('0x79')](_0x4b6231[_0x1cd3('0xedd')][_0x1cd3('0x15c2')]);}else{_0x4b6231[_0x1cd3('0xedd')][_0x1cd3('0x15c2')]=undefined;}_0x4b6231[_0x1cd3('0xedd')][_0x1cd3('0x1899')]=_0x4b6231[_0x1cd3('0xedd')][_0x1cd3('0x1899')]||{};if(_0x4b6231['project'][_0x1cd3('0x1893')]!==undefined){_0x6fed7b(function(){_0x1db73a[_0x1cd3('0x46c')](_0x1cd3('0x189a'),{'page':_0x4b6231[_0x1cd3('0xedd')]['currentPage']});});}_0x3b90f8[_0x1cd3('0x4d3')](_0x1cd3('0x189b'),function(_0x1c54ca,_0x5772d9){if(_0x5772d9[_0x1cd3('0x1893')]){_0x4b6231['project'][_0x1cd3('0x1893')]=_0x5772d9[_0x1cd3('0x1893')][_0x1cd3('0x407')]-0x1;_0x3c0a06();if(_0x4b6231[_0x1cd3('0xedd')]['enableUncompleteSave']){if(_0x5772d9[_0x1cd3('0x1893')]['number']>=0x1&&_0x5772d9[_0x1cd3('0x1893')]['number']<_0x4b6231[_0x1cd3('0xedd')]['formData'][_0x1cd3('0x189c')]['length']){_0x4b6231[_0x1cd3('0x1888')]=!![];}else{_0x4b6231['showIncompleteSubmitButton']=![];}}if(_0x4b6231[_0x1cd3('0xedd')][_0x1cd3('0x15c2')]&&_0x4b6231[_0x1cd3('0xedd')]['formData']['pages']){for(var _0x2267ec=0x0,_0x599769=_0x4b6231[_0x1cd3('0xedd')][_0x1cd3('0x15c2')][_0x1cd3('0x189c')][_0x1cd3('0x7a')];_0x2267ec<_0x599769;_0x2267ec++){if(_0x5772d9[_0x1cd3('0x1893')][_0x1cd3('0x407')]<_0x2267ec+0x1&&_0x4b6231['project'][_0x1cd3('0x15c2')]['pages'][_0x2267ec][_0x1cd3('0x189d')]){for(var _0x4103ea=0x0,_0x3c8a0e=_0x4b6231[_0x1cd3('0xedd')]['formData'][_0x1cd3('0x189c')][_0x2267ec]['elements'][_0x1cd3('0x7a')];_0x4103ea<_0x3c8a0e;_0x4103ea++){if(_0x4b6231[_0x1cd3('0xedd')]['formData'][_0x1cd3('0x189c')][_0x2267ec][_0x1cd3('0x189d')][_0x4103ea][_0x1cd3('0x424')]===_0x1cd3('0x189e')&&_0x4b6231['project']['formData'][_0x1cd3('0x189c')][_0x2267ec][_0x1cd3('0x189d')][_0x4103ea][_0x1cd3('0x189e')]){delete _0x4b6231['project'][_0x1cd3('0x1899')][_0x4b6231[_0x1cd3('0xedd')]['formData']['pages'][_0x2267ec][_0x1cd3('0x189d')][_0x4103ea][_0x1cd3('0x189e')]['id']];}}}}}}});}}}function _0x2d8d45(_0x443b53){if(_[_0x1cd3('0x472')](_0x443b53)){return![];}try{JSON[_0x1cd3('0x79')](_0x443b53);}catch(_0x14df5a){return![];}return!![];}function _0xb7465e(_0x11866f,_0x12bf35){try{_0x3b90f8[_0x1cd3('0x70b')][_0x1cd3('0x70b')]['$parent']['vm'][_0x1cd3('0x15c1')](_0x12bf35);}catch(_0x57ac93){_0x4013b6['error']({'title':'ERROR\x20OPEN\x20CONTACT','msg':_0x1cd3('0x189f')});}}function _0x3b66d0(_0x2b3261){var _0x5bd064=_0x5df8eb['defer']();if(_0x4b6231[_0x1cd3('0xedd')]['sendUnpauseOnSubmit']){_0x1d6c45['user'][_0x1cd3('0x13ed')]({'id':_0x2b3261['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0xbf32a4){_0x5bd064[_0x1cd3('0x58')]();})[_0x1cd3('0xfd')](function(_0x83d741){console[_0x1cd3('0x7d')](_0x1cd3('0x18a0'));_0x5bd064[_0x1cd3('0x58')]();});}else{_0x5bd064[_0x1cd3('0x58')]();}return _0x5bd064[_0x1cd3('0x539')];}function _0x1b26f9(_0x41a43b,_0x3130a4){var _0x4eee73=[];var _0x6910c5=[];var _0x12b44a=_0x3d68da[_0x1cd3('0x5d')]();_0x3b66d0(_0x12b44a)[_0x1cd3('0x77')](function(){return _0x1d6c45[_0x1cd3('0xc39')]['save']({'starttime':_0x4b6231[_0x1cd3('0x1896')],'membername':_0x4b6231[_0x1cd3('0x46d')]&&_0x4b6231[_0x1cd3('0x46d')][_0x1cd3('0x18a1')]?_0x4b6231['call'][_0x1cd3('0x18a1')]:_0x12b44a[_0x1cd3('0x98')],'calleridname':_0x4b6231['call']&&_0x4b6231[_0x1cd3('0x46d')][_0x1cd3('0x15ba')]?_0x4b6231['call'][_0x1cd3('0x15ba')]:undefined,'calleridnum':_0x4b6231['call']&&_0x4b6231[_0x1cd3('0x46d')][_0x1cd3('0x15ae')]?_0x4b6231['call'][_0x1cd3('0x15ae')]:undefined,'queue':_0x4b6231[_0x1cd3('0x46d')]&&_0x4b6231[_0x1cd3('0x46d')]['queue']?_0x4b6231[_0x1cd3('0x46d')][_0x1cd3('0x1220')]:undefined,'uniqueid':_0x4b6231[_0x1cd3('0x46d')]&&_0x4b6231[_0x1cd3('0x46d')][_0x1cd3('0x6b4')]?_0x4b6231[_0x1cd3('0x46d')][_0x1cd3('0x6b4')]:undefined,'VoiceQueueId':_0x4b6231['call']&&_0x4b6231[_0x1cd3('0x46d')][_0x1cd3('0x1631')]?_0x4b6231[_0x1cd3('0x46d')][_0x1cd3('0x1631')]:undefined,'ProjectId':_0x4b6231[_0x1cd3('0xedd')]&&_0x4b6231[_0x1cd3('0xedd')]['id']?_0x4b6231[_0x1cd3('0xedd')]['id']:undefined,'projectname':_0x4b6231[_0x1cd3('0xedd')]&&_0x4b6231[_0x1cd3('0xedd')][_0x1cd3('0x98')]?_0x4b6231[_0x1cd3('0xedd')][_0x1cd3('0x98')]:undefined,'ContactId':_0x4b6231['contact']&&_0x4b6231[_0x1cd3('0x105')]['id']?_0x4b6231[_0x1cd3('0x105')]['id']:undefined,'completed':_0x3130a4})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x4762e7){if(_0x4762e7){var _0x55fb60=_0x4b6231['getResponseSheetHeaders']();var _0x30ef3c=_0x4b6231[_0x1cd3('0x188b')]();var _0x1d1fbc=_0x4b6231[_0x1cd3('0x188d')]();for(var _0x567a1c=0x0;_0x567a1c<_0x55fb60[_0x1cd3('0x7a')];_0x567a1c+=0x1){if(!_[_0x1cd3('0x398')](String(_0x30ef3c[_0x567a1c]))){try{_0x4eee73['push'](_0x1d6c45['jscriptyQuestionReport'][_0x1cd3('0xd6d')]({'question':_0x55fb60[_0x567a1c],'answer':_0x1d1fbc[_0x567a1c][_0x1cd3('0x424')]===_0x1cd3('0x406')?moment(String(_0x30ef3c[_0x567a1c]))[_0x1cd3('0x130')](_0x1cd3('0x44c')):_0x1d1fbc[_0x567a1c][_0x1cd3('0x424')]===_0x1cd3('0x10d3')?moment(String(_0x30ef3c[_0x567a1c]))[_0x1cd3('0x130')](_0x1cd3('0x18a2')):String(_0x30ef3c[_0x567a1c]),'questionId':_0x1d1fbc[_0x567a1c]['id'],'membername':_0x4b6231[_0x1cd3('0x46d')]&&_0x4b6231[_0x1cd3('0x46d')][_0x1cd3('0x18a1')]?_0x4b6231['call'][_0x1cd3('0x18a1')]:_0x12b44a[_0x1cd3('0x98')],'calleridname':_0x4b6231[_0x1cd3('0x46d')]&&_0x4b6231['call']['calleridname']?_0x4b6231[_0x1cd3('0x46d')]['calleridname']:undefined,'calleridnum':_0x4b6231['call']&&_0x4b6231[_0x1cd3('0x46d')][_0x1cd3('0x15ae')]?_0x4b6231[_0x1cd3('0x46d')][_0x1cd3('0x15ae')]:undefined,'queue':_0x4b6231[_0x1cd3('0x46d')]&&_0x4b6231[_0x1cd3('0x46d')]['queue']?_0x4b6231['call']['queue']:undefined,'uniqueid':_0x4b6231[_0x1cd3('0x46d')]&&_0x4b6231['call'][_0x1cd3('0x6b4')]?_0x4b6231[_0x1cd3('0x46d')][_0x1cd3('0x6b4')]:undefined,'SessionId':_0x4762e7['id'],'ProjectId':_0x4b6231[_0x1cd3('0xedd')]['id'],'projectname':_0x4b6231[_0x1cd3('0xedd')][_0x1cd3('0x98')]}));}catch(_0x8acb4c){console[_0x1cd3('0x434')](_0x1cd3('0x18a3'),_0x8acb4c);}var _0x481a02=String(_0x30ef3c[_0x567a1c])[_0x1cd3('0x3ef')](';');for(var _0x3148da=0x0;_0x3148da<_0x481a02[_0x1cd3('0x7a')];_0x3148da+=0x1){var _0x434240=_0x481a02[_0x3148da][_0x1cd3('0x77b')]();try{_0x6910c5[_0x1cd3('0x7b')](_0x1d6c45['jscriptyAnswerReport']['save']({'question':_0x55fb60[_0x567a1c],'questionId':_0x1d1fbc[_0x567a1c]['id'],'answer':_0x1d1fbc[_0x567a1c][_0x1cd3('0x424')]===_0x1cd3('0x406')?moment(_0x434240)[_0x1cd3('0x130')]('YYYY-MM-DD'):_0x1d1fbc[_0x567a1c]['type']==='time'?moment(_0x434240)['format']('HH:mm'):_0x434240,'membername':_0x4b6231[_0x1cd3('0x46d')]&&_0x4b6231[_0x1cd3('0x46d')][_0x1cd3('0x18a1')]?_0x4b6231[_0x1cd3('0x46d')][_0x1cd3('0x18a1')]:_0x12b44a[_0x1cd3('0x98')],'calleridname':_0x4b6231[_0x1cd3('0x46d')]&&_0x4b6231['call']['calleridname']?_0x4b6231[_0x1cd3('0x46d')]['calleridname']:undefined,'calleridnum':_0x4b6231[_0x1cd3('0x46d')]&&_0x4b6231[_0x1cd3('0x46d')][_0x1cd3('0x15ae')]?_0x4b6231[_0x1cd3('0x46d')]['calleridnum']:undefined,'queue':_0x4b6231[_0x1cd3('0x46d')]&&_0x4b6231[_0x1cd3('0x46d')][_0x1cd3('0x1220')]?_0x4b6231[_0x1cd3('0x46d')][_0x1cd3('0x1220')]:undefined,'uniqueid':_0x4b6231[_0x1cd3('0x46d')]&&_0x4b6231[_0x1cd3('0x46d')][_0x1cd3('0x6b4')]?_0x4b6231[_0x1cd3('0x46d')][_0x1cd3('0x6b4')]:undefined,'SessionId':_0x4762e7['id'],'ProjectId':_0x4b6231['project']['id'],'projectname':_0x4b6231['project'][_0x1cd3('0x98')]}));}catch(_0x5d2c9){console['error'](_0x1cd3('0x18a4'),_0x5d2c9);}}}}}return _0x5df8eb[_0x1cd3('0x7e')](_0x4eee73)[_0x1cd3('0x77')](function(){return _0x5df8eb[_0x1cd3('0x7e')](_0x6910c5)[_0x1cd3('0x77')](function(){return _0x4762e7;});});})[_0x1cd3('0x77')](function(_0x227999){if(_0x227999){_0x41a43b['resolve'](!![]);}else{_0x41a43b['reject']();}})[_0x1cd3('0xfd')](function(_0x16264d){if(_0x16264d['data']&&_0x16264d['data'][_0x1cd3('0xd34')]&&_0x16264d[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x4b6231[_0x1cd3('0xd34')]=_0x16264d['data'][_0x1cd3('0xd34')]||[{'message':_0x16264d[_0x1cd3('0x43b')](),'type':'api.contact.save'}];for(var _0x1a2fb8=0x0;_0x1a2fb8<_0x16264d[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0x1a2fb8+=0x1){_0x4013b6[_0x1cd3('0x434')]({'title':_0x16264d[_0x1cd3('0x439')]['errors'][_0x1a2fb8][_0x1cd3('0x424')],'msg':_0x16264d[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1a2fb8][_0x1cd3('0x43a')]});}}else{_0x4013b6[_0x1cd3('0x434')]({'title':_0x16264d['status']?_0x1cd3('0x435')+_0x16264d[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x16264d[_0x1cd3('0xd35')]:_0x1cd3('0x1611'),'msg':_0x16264d[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x16264d['data'][_0x1cd3('0x43a')]):_0x16264d['toString']()});}_0x41a43b[_0x1cd3('0x3a7')]();});}function _0x58f0ed(_0x3a3481){try{_0x3b90f8['$parent'][_0x1cd3('0x70b')][_0x1cd3('0x70b')]['vm']['removeTab'](_0x3a3481);}catch(_0x32c3ef){_0x4013b6[_0x1cd3('0x434')]({'title':'ERROR\x20REMOVE\x20TAB','msg':_0x1cd3('0x18a5')});}}function _0x18d37b(_0x53489c,_0x480ec4){var _0xe13ca2=_0x5df8eb[_0x1cd3('0x53a')]();if(_0x480ec4){var _0x2f8fb9=_0x149bbc[_0x1cd3('0xd39')]()[_0x1cd3('0x486')]('Would\x20you\x20like\x20to\x20save\x20your\x20survey?')[_0x1cd3('0x678')]('')[_0x1cd3('0xd3d')](_0x1cd3('0x1891'))[_0x1cd3('0xd63')](_0x53489c)['ok'](_0x1cd3('0x158b'))['cancel']('NO');_0x149bbc[_0x1cd3('0x37e')](_0x2f8fb9)[_0x1cd3('0x77')](function(){_0x1b26f9(_0xe13ca2,![]);},function(){_0xe13ca2[_0x1cd3('0x58')]();});}else{_0x1b26f9(_0xe13ca2,!![]);}return _0xe13ca2['promise']['then'](function(_0x27b8a3){if(_0x27b8a3){_0x4013b6[_0x1cd3('0x473')]({'title':_0x1cd3('0x18a6'),'msg':_0x1cd3('0x18a7')});_0x58f0ed(_0x4b6231[_0x1cd3('0x1418')]);}})[_0x1cd3('0xfd')](function(_0xcabfb8){_0x4013b6[_0x1cd3('0x434')]({'title':_0x1cd3('0x18a8'),'msg':_0x1cd3('0x18a9')});});}function _0x5259da(){return _0x38205c[_0x1cd3('0x188a')](_0x4b6231[_0x1cd3('0xedd')][_0x1cd3('0x15c2')],_0x4b6231[_0x1cd3('0xedd')]['responseData'],![]);}function _0x369da5(){return _0x38205c[_0x1cd3('0x188b')](_0x4b6231[_0x1cd3('0xedd')][_0x1cd3('0x15c2')],_0x4b6231[_0x1cd3('0xedd')]['responseData']);}function _0x555357(){return _0x38205c['getResponseSheetHeaders'](_0x4b6231['project'][_0x1cd3('0x15c2')],![]);}function _0x22e572(){return _0x38205c[_0x1cd3('0x188d')](_0x4b6231[_0x1cd3('0xedd')][_0x1cd3('0x15c2')],_0x4b6231[_0x1cd3('0xedd')][_0x1cd3('0x1899')]);}}}());(function(){'use strict';_0x392821[_0x1cd3('0xc')]=['$translate',_0x1cd3('0x461'),'notification','api','Auth'];angular[_0x1cd3('0x0')](_0x1cd3('0x2a'))['controller'](_0x1cd3('0x18aa'),_0x392821);function _0x392821(_0x248605,_0x14aaee,_0x389d51,_0x6429b0,_0x4163eb){var _0x118d6b=this;_0x118d6b[_0x1cd3('0x626')]=_0x389d51;_0x118d6b['user']=_0x4163eb['getCurrentUser']();_0x118d6b[_0x1cd3('0x923')]=_0x473c5a;_0x118d6b[_0x1cd3('0x3a7')]=_0x3806be;function _0x2e6dad(){return function(_0x316a25){if(_0x316a25['status']===0x194){_0x14aaee[_0x1cd3('0x654')]({'title':_0x248605[_0x1cd3('0x44a')](_0x1cd3('0x15ca')),'msg':_0x248605['instant'](_0x1cd3('0x15cb'))});}else if(_0x316a25[_0x1cd3('0x439')]&&_0x316a25[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x316a25[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x118d6b[_0x1cd3('0xd34')]=_0x316a25['data'][_0x1cd3('0xd34')]||[{'message':_0x316a25[_0x1cd3('0x43b')](),'type':_0x1cd3('0x15cc')}];for(var _0x597a33=0x0;_0x597a33<_0x316a25['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x597a33+=0x1){_0x14aaee['error']({'title':_0x316a25[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x597a33][_0x1cd3('0x424')],'msg':_0x316a25[_0x1cd3('0x439')]['errors'][_0x597a33]['message']});}}else{_0x14aaee[_0x1cd3('0x434')]({'title':_0x316a25['status']?_0x1cd3('0x435')+_0x316a25[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x316a25[_0x1cd3('0xd35')]:_0x1cd3('0x15cc'),'msg':_0x316a25['data']?JSON['stringify'](_0x316a25[_0x1cd3('0x439')]['message']):_0x316a25[_0x1cd3('0x43b')]()});}};}function _0x473c5a(_0x2a2820){if(_0x6429b0[_0x118d6b[_0x1cd3('0x626')]['channel']+_0x1cd3('0xf2d')]){return _0x6429b0[_0x118d6b[_0x1cd3('0x626')][_0x1cd3('0x157f')]+_0x1cd3('0xf2d')][_0x1cd3('0x923')]({'id':_0x118d6b[_0x1cd3('0x626')]['id'],'UserId':_0x118d6b[_0x1cd3('0x368')]['id'],'manual':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x2473b5){_0x14aaee[_0x1cd3('0x473')]({'title':_0x1cd3('0x18ab'),'msg':'Message\x20has\x20been\x20accepted!'});})['catch'](_0x2e6dad());}else{_0x14aaee[_0x1cd3('0x434')]({'title':_0x1cd3('0x18ac'),'msg':_0x1cd3('0x18ad')+_0x118d6b[_0x1cd3('0x626')][_0x1cd3('0x157f')]+_0x1cd3('0xf2d')});}}function _0x3806be(_0x5373a9){if(_0x6429b0[_0x118d6b[_0x1cd3('0x626')][_0x1cd3('0x157f')]+'Message']){return _0x6429b0[_0x118d6b[_0x1cd3('0x626')][_0x1cd3('0x157f')]+'Message'][_0x1cd3('0x3a7')]({'id':_0x118d6b['notification']['id'],'UserId':_0x118d6b[_0x1cd3('0x368')]['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x3fd41f){_0x14aaee[_0x1cd3('0x473')]({'title':'Message\x20properly\x20rejected!','msg':_0x1cd3('0x18ae')});})[_0x1cd3('0xfd')](_0x2e6dad());}else{_0x14aaee[_0x1cd3('0x434')]({'title':_0x1cd3('0x18ac'),'msg':_0x1cd3('0x18af')+_0x118d6b[_0x1cd3('0x626')][_0x1cd3('0x157f')]+_0x1cd3('0xf2d')});}}}}());(function(){'use strict';angular[_0x1cd3('0x0')]('app.dashboards')[_0x1cd3('0x39b')](_0x1cd3('0x18b0'),_0x546863);function _0x546863(){var _0x4b2032=this;_0x4b2032[_0x1cd3('0xe08')]=_0x3f38ca;function _0x3f38ca(_0x3cc6aa){_0x4b2032['tab']=_0x3cc6aa;if(_0x4b2032[_0x1cd3('0x1418')]){_0x4b2032[_0x1cd3('0x1418')][_0x1cd3('0x1582')]=!![];_0x4b2032[_0x1cd3('0x3bf')]=_0x4b2032[_0x1cd3('0x1418')][_0x1cd3('0x3bf')];}}}}());(function(){'use strict';_0x1e9c48[_0x1cd3('0xc')]=['$scope',_0x1cd3('0xd18'),_0x1cd3('0x1680'),_0x1cd3('0x11d4')];angular['module']('app.dashboards')[_0x1cd3('0x39b')]('UserChatDashboardGeneralController',_0x1e9c48);function _0x1e9c48(_0x122be8,_0x96bdb0,_0x23b5e1,_0x58d7f1){var _0x3b19d7=this;var _0x37b9ba=[];_0x3b19d7[_0x1cd3('0xf')]={'format':'hh:mm:ss','unit':_0x1cd3('0x791'),'trim':![]};_0x3b19d7['inbound']={'waiting':0x0,'talking':0x0,'answered':0x0,'abandoned':0x0,'unmanaged':0x0,'sumHoldTime':0x0,'sumBillable':0x0,'total':0x0,'avgHoldTime':'00:00:00','avgTalkTime':_0x1cd3('0x18b1'),'answerRate':0x0,'abandonRate':0x0};_0x3b19d7[_0x1cd3('0x11d4')]=_0x58d7f1?_[_0x1cd3('0xe2d')](_0x58d7f1['rows']?_0x58d7f1['rows']:[],'id'):{};_0x3b19d7[_0x1cd3('0x18b2')]=_0x17d260;_0x3b19d7['onUpdateChatInteraction']=_0x78757e;_0x96bdb0['on']('chatInteraction:save',_0x3b19d7['onSaveChatInteraction']);_0x96bdb0['on'](_0x1cd3('0x1678'),_0x3b19d7[_0x1cd3('0x18b3')]);_0x3ad8ed();function _0x3617b1(_0xc164a2,_0x5ab4f3){if(!_0xc164a2[_0x1cd3('0x1586')]&&!_0xc164a2['UserId']&&_0x5ab4f3){_0x3b19d7[_0x1cd3('0xa4')][_0x1cd3('0x10d')]+=0x1;}if(!_0xc164a2[_0x1cd3('0x1586')]&&_0xc164a2['UserId']&&!_['includes'](_0x37b9ba,_0xc164a2['id'])){_0x3b19d7[_0x1cd3('0xa4')][_0x1cd3('0x10f')]+=0x1;_0x37b9ba[_0x1cd3('0x7b')](_0xc164a2['id']);if(!_0x5ab4f3&&_0x3b19d7[_0x1cd3('0xa4')][_0x1cd3('0x10d')]){_0x3b19d7['inbound'][_0x1cd3('0x10d')]-=0x1;}}if(_0xc164a2[_0x1cd3('0x1586')]&&_0xc164a2['disposition']===_0x1cd3('0x112')){_0x3b19d7[_0x1cd3('0xa4')][_0x1cd3('0x112')]+=0x1;if(!_0x5ab4f3&&_0x3b19d7[_0x1cd3('0xa4')][_0x1cd3('0x10d')]){_0x3b19d7['inbound'][_0x1cd3('0x10d')]-=0x1;}}else if(_0xc164a2['closed']&&!_0xc164a2['UserId']&&_0xc164a2[_0x1cd3('0xb63')]){_0x3b19d7[_0x1cd3('0xa4')][_0x1cd3('0x111')]+=0x1;if(!_0x5ab4f3&&_0x3b19d7['inbound'][_0x1cd3('0x10d')]){_0x3b19d7[_0x1cd3('0xa4')][_0x1cd3('0x10d')]-=0x1;}}else if(_0xc164a2[_0x1cd3('0x1586')]&&_0xc164a2[_0x1cd3('0x1226')]){_0x3b19d7[_0x1cd3('0xa4')][_0x1cd3('0x18b4')]+=moment(_0xc164a2[_0x1cd3('0x18b5')])[_0x1cd3('0x78b')](moment(_0xc164a2[_0x1cd3('0x18b6')]),_0x3b19d7[_0x1cd3('0xf')][_0x1cd3('0x18b7')]);_0x3b19d7[_0x1cd3('0xa4')][_0x1cd3('0x18b8')]+=moment(_0xc164a2[_0x1cd3('0x18b6')])[_0x1cd3('0x78b')](moment(_0xc164a2[_0x1cd3('0xe0d')]),_0x3b19d7[_0x1cd3('0xf')]['unit']);_0x3b19d7[_0x1cd3('0xa4')][_0x1cd3('0x110')]+=0x1;if(!_0x5ab4f3&&_0x3b19d7[_0x1cd3('0xa4')][_0x1cd3('0x10f')]){_0x3b19d7[_0x1cd3('0xa4')][_0x1cd3('0x10f')]-=0x1;}}if(_0x5ab4f3){_0x3b19d7[_0x1cd3('0xa4')][_0x1cd3('0x10e')]+=0x1;}}function _0x31db8c(){_0x3b19d7[_0x1cd3('0xa4')][_0x1cd3('0x18b9')]=Math[_0x1cd3('0x18ba')]((_0x3b19d7[_0x1cd3('0xa4')][_0x1cd3('0x112')]+_0x3b19d7[_0x1cd3('0xa4')][_0x1cd3('0x111')])/(_0x3b19d7['inbound'][_0x1cd3('0x10e')]-_0x3b19d7[_0x1cd3('0xa4')][_0x1cd3('0x10f')]-_0x3b19d7['inbound']['waiting'])*0x64,-0x2);_0x3b19d7[_0x1cd3('0xa4')][_0x1cd3('0x18bb')]=Math['round'](_0x3b19d7['inbound'][_0x1cd3('0x110')]/(_0x3b19d7[_0x1cd3('0xa4')][_0x1cd3('0x10e')]-_0x3b19d7[_0x1cd3('0xa4')]['talking']-_0x3b19d7[_0x1cd3('0xa4')][_0x1cd3('0x10d')])*0x64,-0x2);_0x3b19d7[_0x1cd3('0xa4')][_0x1cd3('0x18bc')]=moment[_0x1cd3('0x15e1')](Math['round'](_0x3b19d7[_0x1cd3('0xa4')][_0x1cd3('0x18b8')]/_0x3b19d7[_0x1cd3('0xa4')][_0x1cd3('0x110')]),_0x3b19d7[_0x1cd3('0xf')]['unit'])[_0x1cd3('0x130')](_0x3b19d7[_0x1cd3('0xf')][_0x1cd3('0x130')],_0x3b19d7[_0x1cd3('0xf')]);_0x3b19d7['inbound'][_0x1cd3('0x18bd')]=moment[_0x1cd3('0x15e1')](Math[_0x1cd3('0x18ba')](_0x3b19d7[_0x1cd3('0xa4')]['sumBillable']/_0x3b19d7[_0x1cd3('0xa4')]['answered']),_0x3b19d7[_0x1cd3('0xf')][_0x1cd3('0x18b7')])['format'](_0x3b19d7[_0x1cd3('0xf')][_0x1cd3('0x130')],_0x3b19d7[_0x1cd3('0xf')]);}function _0x3ad8ed(){if(Object[_0x1cd3('0x80')](_0x3b19d7[_0x1cd3('0x11d4')])['length']>0x0){for(var _0x57caab=0x0;_0x57caab<_0x23b5e1[_0x1cd3('0xf6')]['length'];_0x57caab+=0x1){if(_0x5e5036(_0x23b5e1[_0x1cd3('0xf6')][_0x57caab])){var _0x2db1dd=_0x23b5e1[_0x1cd3('0xf6')][_0x57caab];_0x3617b1(_0x2db1dd,!![]);_0x31db8c();}}}}function _0x5e5036(_0x40d37e){if(_['some'](_0x3b19d7[_0x1cd3('0x11d4')],{'id':_['toNumber'](_0x40d37e[_0x1cd3('0x1203')])})){return!![];}return![];}function _0x17f05a(_0x216de2){var _0xeeebc0=moment()[_0x1cd3('0x12f')](0x0,!![])[_0x1cd3('0x12e')](_0x1cd3('0x138'));var _0x12466e=moment()[_0x1cd3('0x12f')](0x0,!![])['endOf']('day');return moment(_0x216de2)[_0x1cd3('0x12f')](0x0,!![])[_0x1cd3('0x17d1')](_0xeeebc0,_0x12466e);}function _0x17d260(_0x3be33f){if(_0x5e5036(_0x3be33f)&&_0x17f05a(_0x3be33f[_0x1cd3('0xe0d')])){_0x3617b1(_0x3be33f,!![]);_0x31db8c();}}function _0x78757e(_0x174ebb){if(_0x5e5036(_0x174ebb)&&_0x17f05a(_0x174ebb['createdAt'])){_0x3617b1(_0x174ebb,![]);_0x31db8c();}}_0x122be8[_0x1cd3('0x4d3')](_0x1cd3('0x523'),function(){_0x96bdb0['removeAllListeners'](_0x1cd3('0x1677'));_0x96bdb0[_0x1cd3('0x6a3')](_0x1cd3('0x1678'));});}}());(function(){'use strict';_0xdd1091[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x585'),_0x1cd3('0xd18'),_0x1cd3('0x18be'),_0x1cd3('0x13d8'),_0x1cd3('0x18bf'),'initializeRealtimeCampaign',_0x1cd3('0x18c0')];angular[_0x1cd3('0x0')]('app.dashboards')[_0x1cd3('0x39b')]('UserVoiceDashboardDialerController',_0xdd1091);function _0xdd1091(_0xa4f914,_0x2eefea,_0x283ed6,_0x39b4e2,_0x46d0c2,_0x49088c,_0x4634a5,_0x3993a0){var _0x3cf7e3=this;_0x3cf7e3['outboundQueues']=_0x39b4e2?_[_0x1cd3('0xe2d')](_0x39b4e2[_0x1cd3('0xf6')]?_0x39b4e2[_0x1cd3('0xf6')]:[],'id'):{};_0x3cf7e3['rpcQueues']=_0x46d0c2?_[_0x1cd3('0xe2d')](_0x46d0c2[_0x1cd3('0xf6')]?_0x46d0c2[_0x1cd3('0xf6')]:[],'id'):{};_0x3cf7e3[_0x1cd3('0x18c0')]=_0x3993a0?_['keyBy'](_0x3993a0[_0x1cd3('0xf6')]?_0x3993a0[_0x1cd3('0xf6')]:[],'id'):{};_0x3cf7e3[_0x1cd3('0x208')]={'originated':0x0,'limitCalls':0x0};_0x3cf7e3['inbound']={'waiting':0x0,'talking':0x0,'pTalking':0x0,'answered':0x0,'abandoned':0x0,'unmanaged':0x0,'sumHoldTime':0x0,'sumBillable':0x0,'total':0x0,'avgHoldTime':_0x1cd3('0x18b1'),'avgTalkTime':_0x1cd3('0x18b1'),'answerRate':0x0,'abandonRate':0x0,'outboundDropCallsDayCallersExit':0x0,'outboundDropCallsDayTimeout':0x0};_0x3cf7e3[_0x1cd3('0x169f')]=_0x3b54bd;_0x3cf7e3[_0x1cd3('0x18c1')]=_0x3298fa;_0x283ed6[_0x1cd3('0x1555')]('voice_queue:save',_0x3cf7e3[_0x1cd3('0x169f')]);_0x3cf7e3[_0x1cd3('0x77e')]=_0x2eefea(function(){_0x472a82();_0x2fc2ca();},0x3e7);_0x283ed6['onWithoutApply'](_0x1cd3('0x18c2'),_0x3cf7e3['onSaveCampaign']);_0x472a82();_0x2fc2ca();function _0x472a82(){_0x49088c({'queues':_0x3cf7e3[_0x1cd3('0x18be')],'rpcQueues':_0x3cf7e3[_0x1cd3('0x13d8')]})['then'](function(_0x1b98d0){_0x3cf7e3[_0x1cd3('0xa4')]=_0x1b98d0;});}function _0x2fc2ca(){_0x4634a5({'rpcCampaigns':_0x3cf7e3[_0x1cd3('0x18c0')]})[_0x1cd3('0x77')](function(_0x35fcc0){_0x3cf7e3[_0x1cd3('0x208')]=_0x35fcc0;});}function _0x3b54bd(_0x1d33d6){if(_0x3cf7e3[_0x1cd3('0x18be')][_0x1d33d6['id']]){if(_0x3cf7e3['rpcQueues'][_0x1d33d6['id']]){_0x3cf7e3[_0x1cd3('0x13d8')][_0x1d33d6['id']]=_0x1d33d6;}}}function _0x3298fa(_0x151194){if(_0x3cf7e3[_0x1cd3('0x18c0')][_0x151194['id']]){_0x3cf7e3[_0x1cd3('0x18c0')][_0x151194['id']]=_0x151194;}}_0xa4f914['$on']('$destroy',function(){_0x283ed6[_0x1cd3('0x6a3')](_0x1cd3('0x155e'));_0x283ed6[_0x1cd3('0x6a3')](_0x1cd3('0x18c2'));_0x3cf7e3['interval']&&_0x2eefea[_0x1cd3('0x4d8')](_0x3cf7e3['interval']);});}}());(function(){'use strict';_0x3d12a5[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0xd18'),_0x1cd3('0x1736'),_0x1cd3('0x15fa')];angular['module'](_0x1cd3('0x2a'))[_0x1cd3('0x39b')](_0x1cd3('0x18c3'),_0x3d12a5);function _0x3d12a5(_0x2a0fc0,_0xc3945b,_0x1da2fc,_0xddee44){var _0x3ecef2=this;var _0x503208=[];_0x3ecef2['config']={'format':_0x1cd3('0x18c4'),'unit':_0x1cd3('0x791'),'trim':![]};_0x3ecef2[_0x1cd3('0xa4')]={'waiting':0x0,'talking':0x0,'answered':0x0,'abandoned':0x0,'unmanaged':0x0,'sumHoldTime':0x0,'sumBillable':0x0,'total':0x0,'avgHoldTime':'00:00:00','avgTalkTime':_0x1cd3('0x18b1'),'answerRate':0x0,'abandonRate':0x0};_0x3ecef2[_0x1cd3('0x15fa')]=_0xddee44?_['keyBy'](_0xddee44['rows']?_0xddee44[_0x1cd3('0xf6')]:[],'id'):{};_0x3ecef2[_0x1cd3('0x18c5')]=_0x479876;_0x3ecef2[_0x1cd3('0x18c6')]=_0x39f43e;_0xc3945b['on']('faxInteraction:save',_0x3ecef2[_0x1cd3('0x18c5')]);_0xc3945b['on'](_0x1cd3('0x173b'),_0x3ecef2[_0x1cd3('0x18c6')]);_0x3ed49c();function _0x3cf94d(_0x2b45a8,_0x3c25fa){if(!_0x2b45a8['closed']&&!_0x2b45a8[_0x1cd3('0x1226')]&&_0x3c25fa){_0x3ecef2['inbound']['waiting']+=0x1;}if(!_0x2b45a8[_0x1cd3('0x1586')]&&_0x2b45a8[_0x1cd3('0x1226')]&&!_[_0x1cd3('0x38f')](_0x503208,_0x2b45a8['id'])){_0x3ecef2['inbound'][_0x1cd3('0x10f')]+=0x1;_0x503208[_0x1cd3('0x7b')](_0x2b45a8['id']);if(!_0x3c25fa&&_0x3ecef2[_0x1cd3('0xa4')]['waiting']){_0x3ecef2[_0x1cd3('0xa4')][_0x1cd3('0x10d')]-=0x1;}}if(_0x2b45a8[_0x1cd3('0x1586')]&&_0x2b45a8[_0x1cd3('0x1226')]){_0x3ecef2[_0x1cd3('0xa4')][_0x1cd3('0x18b4')]+=moment(_0x2b45a8['closedAt'])['diff'](moment(_0x2b45a8[_0x1cd3('0x18b6')]),_0x3ecef2[_0x1cd3('0xf')][_0x1cd3('0x18b7')]);_0x3ecef2[_0x1cd3('0xa4')]['sumHoldTime']+=moment(_0x2b45a8[_0x1cd3('0x18b6')])[_0x1cd3('0x78b')](moment(_0x2b45a8[_0x1cd3('0xe0d')]),_0x3ecef2['config'][_0x1cd3('0x18b7')]);_0x3ecef2[_0x1cd3('0xa4')][_0x1cd3('0x110')]+=0x1;if(!_0x3c25fa&&_0x3ecef2[_0x1cd3('0xa4')][_0x1cd3('0x10f')]){_0x3ecef2[_0x1cd3('0xa4')][_0x1cd3('0x10f')]-=0x1;}}if(_0x2b45a8[_0x1cd3('0x1586')]&&!_0x2b45a8['UserId']){_0x3ecef2[_0x1cd3('0xa4')][_0x1cd3('0x111')]+=0x1;if(!_0x3c25fa&&_0x3ecef2[_0x1cd3('0xa4')]['waiting']){_0x3ecef2[_0x1cd3('0xa4')][_0x1cd3('0x10d')]-=0x1;}}if(_0x3c25fa){_0x3ecef2['inbound']['total']+=0x1;}}function _0x27e253(){_0x3ecef2[_0x1cd3('0xa4')][_0x1cd3('0x18b9')]=Math['round']((_0x3ecef2[_0x1cd3('0xa4')][_0x1cd3('0x112')]+_0x3ecef2[_0x1cd3('0xa4')][_0x1cd3('0x111')])/(_0x3ecef2[_0x1cd3('0xa4')][_0x1cd3('0x10e')]-_0x3ecef2['inbound'][_0x1cd3('0x10f')]-_0x3ecef2[_0x1cd3('0xa4')][_0x1cd3('0x10d')])*0x64,-0x2);_0x3ecef2[_0x1cd3('0xa4')]['answerRate']=Math['round'](_0x3ecef2[_0x1cd3('0xa4')][_0x1cd3('0x110')]/(_0x3ecef2['inbound'][_0x1cd3('0x10e')]-_0x3ecef2[_0x1cd3('0xa4')][_0x1cd3('0x10f')]-_0x3ecef2['inbound'][_0x1cd3('0x10d')])*0x64,-0x2);_0x3ecef2[_0x1cd3('0xa4')]['avgHoldTime']=moment[_0x1cd3('0x15e1')](Math[_0x1cd3('0x18ba')](_0x3ecef2[_0x1cd3('0xa4')][_0x1cd3('0x18b8')]/_0x3ecef2['inbound'][_0x1cd3('0x110')]),_0x3ecef2[_0x1cd3('0xf')][_0x1cd3('0x18b7')])['format'](_0x3ecef2['config'][_0x1cd3('0x130')],_0x3ecef2[_0x1cd3('0xf')]);_0x3ecef2[_0x1cd3('0xa4')]['avgTalkTime']=moment['duration'](Math[_0x1cd3('0x18ba')](_0x3ecef2[_0x1cd3('0xa4')]['sumBillable']/_0x3ecef2['inbound'][_0x1cd3('0x110')]),_0x3ecef2[_0x1cd3('0xf')][_0x1cd3('0x18b7')])[_0x1cd3('0x130')](_0x3ecef2[_0x1cd3('0xf')][_0x1cd3('0x130')],_0x3ecef2['config']);}function _0x3ed49c(){if(Object[_0x1cd3('0x80')](_0x3ecef2[_0x1cd3('0x15fa')])[_0x1cd3('0x7a')]>0x0){for(var _0x153b03=0x0;_0x153b03<_0x1da2fc[_0x1cd3('0xf6')][_0x1cd3('0x7a')];_0x153b03+=0x1){if(_0x28d702(_0x1da2fc[_0x1cd3('0xf6')][_0x153b03])){var _0x44a146=_0x1da2fc[_0x1cd3('0xf6')][_0x153b03];_0x3cf94d(_0x44a146,!![]);_0x27e253();}}}}function _0x28d702(_0x528266){if(_['some'](_0x3ecef2[_0x1cd3('0x15fa')],{'id':_[_0x1cd3('0x13c1')](_0x528266[_0x1cd3('0x148f')])})){return!![];}return![];}function _0x3944c9(_0x22b2f5){var _0x57b536=moment()[_0x1cd3('0x12f')](0x0,!![])['startOf'](_0x1cd3('0x138'));var _0x297d91=moment()[_0x1cd3('0x12f')](0x0,!![])[_0x1cd3('0x131')](_0x1cd3('0x138'));return moment(_0x22b2f5)[_0x1cd3('0x12f')](0x0,!![])[_0x1cd3('0x17d1')](_0x57b536,_0x297d91);}function _0x479876(_0x2a8fbb){if(_0x28d702(_0x2a8fbb)&&_0x3944c9(_0x2a8fbb[_0x1cd3('0xe0d')])){_0x3cf94d(_0x2a8fbb,!![]);_0x27e253();}}function _0x39f43e(_0x462fa3){if(_0x28d702(_0x462fa3)&&_0x3944c9(_0x462fa3[_0x1cd3('0xe0d')])){_0x3cf94d(_0x462fa3,![]);_0x27e253();}}_0x2a0fc0[_0x1cd3('0x4d3')](_0x1cd3('0x523'),function(){_0xc3945b['removeAllListeners']('faxInteraction:save');_0xc3945b[_0x1cd3('0x6a3')](_0x1cd3('0x173b'));});}}());(function(){'use strict';_0x42358f['$inject']=[_0x1cd3('0x460'),_0x1cd3('0xd18'),_0x1cd3('0x174a'),_0x1cd3('0xefa')];angular[_0x1cd3('0x0')]('app.dashboards')[_0x1cd3('0x39b')]('UserMailDashboardGeneralController',_0x42358f);function _0x42358f(_0x1aceb9,_0x23b7a7,_0x422539,_0x14c85f){var _0x2a5e2b=this;var _0x4a4c16=[];_0x2a5e2b['config']={'format':'hh:mm:ss','unit':_0x1cd3('0x791'),'trim':![]};_0x2a5e2b[_0x1cd3('0xa4')]={'waiting':0x0,'talking':0x0,'answered':0x0,'abandoned':0x0,'unmanaged':0x0,'sumHoldTime':0x0,'sumBillable':0x0,'total':0x0,'avgHoldTime':_0x1cd3('0x18b1'),'avgTalkTime':_0x1cd3('0x18b1'),'answerRate':0x0,'abandonRate':0x0};_0x2a5e2b[_0x1cd3('0xefa')]=_0x14c85f?_[_0x1cd3('0xe2d')](_0x14c85f[_0x1cd3('0xf6')]?_0x14c85f[_0x1cd3('0xf6')]:[],'id'):{};_0x2a5e2b[_0x1cd3('0x18c7')]=_0x2528ca;_0x2a5e2b['onUpdateMailInteraction']=_0x2fdeb7;_0x23b7a7['on']('mailInteraction:save',_0x2a5e2b[_0x1cd3('0x18c7')]);_0x23b7a7['on'](_0x1cd3('0x1760'),_0x2a5e2b[_0x1cd3('0x18c8')]);_0x2b3827();function _0x560f21(_0x37dafe,_0x2ac2e0){if(!_0x37dafe['closed']&&!_0x37dafe[_0x1cd3('0x1226')]&&_0x2ac2e0){_0x2a5e2b[_0x1cd3('0xa4')][_0x1cd3('0x10d')]+=0x1;}if(!_0x37dafe[_0x1cd3('0x1586')]&&_0x37dafe[_0x1cd3('0x1226')]&&!_['includes'](_0x4a4c16,_0x37dafe['id'])){_0x2a5e2b[_0x1cd3('0xa4')]['talking']+=0x1;_0x4a4c16[_0x1cd3('0x7b')](_0x37dafe['id']);if(!_0x2ac2e0&&_0x2a5e2b[_0x1cd3('0xa4')][_0x1cd3('0x10d')]){_0x2a5e2b[_0x1cd3('0xa4')][_0x1cd3('0x10d')]-=0x1;}}if(_0x37dafe[_0x1cd3('0x1586')]&&_0x37dafe['UserId']){_0x2a5e2b[_0x1cd3('0xa4')][_0x1cd3('0x18b4')]+=moment(_0x37dafe[_0x1cd3('0x18b5')])[_0x1cd3('0x78b')](moment(_0x37dafe[_0x1cd3('0x18b6')]),_0x2a5e2b[_0x1cd3('0xf')][_0x1cd3('0x18b7')]);_0x2a5e2b[_0x1cd3('0xa4')]['sumHoldTime']+=moment(_0x37dafe[_0x1cd3('0x18b6')])[_0x1cd3('0x78b')](moment(_0x37dafe[_0x1cd3('0xe0d')]),_0x2a5e2b[_0x1cd3('0xf')][_0x1cd3('0x18b7')]);_0x2a5e2b[_0x1cd3('0xa4')][_0x1cd3('0x110')]+=0x1;if(!_0x2ac2e0&&_0x2a5e2b[_0x1cd3('0xa4')][_0x1cd3('0x10f')]){_0x2a5e2b[_0x1cd3('0xa4')][_0x1cd3('0x10f')]-=0x1;}}if(_0x37dafe[_0x1cd3('0x1586')]&&!_0x37dafe[_0x1cd3('0x1226')]){_0x2a5e2b[_0x1cd3('0xa4')][_0x1cd3('0x111')]+=0x1;if(!_0x2ac2e0&&_0x2a5e2b[_0x1cd3('0xa4')][_0x1cd3('0x10d')]){_0x2a5e2b[_0x1cd3('0xa4')][_0x1cd3('0x10d')]-=0x1;}}if(_0x2ac2e0){_0x2a5e2b[_0x1cd3('0xa4')][_0x1cd3('0x10e')]+=0x1;}}function _0x1f848b(){_0x2a5e2b[_0x1cd3('0xa4')]['abandonRate']=Math[_0x1cd3('0x18ba')]((_0x2a5e2b[_0x1cd3('0xa4')][_0x1cd3('0x112')]+_0x2a5e2b[_0x1cd3('0xa4')][_0x1cd3('0x111')])/(_0x2a5e2b['inbound'][_0x1cd3('0x10e')]-_0x2a5e2b['inbound']['talking']-_0x2a5e2b[_0x1cd3('0xa4')][_0x1cd3('0x10d')])*0x64,-0x2);_0x2a5e2b[_0x1cd3('0xa4')][_0x1cd3('0x18bb')]=Math['round'](_0x2a5e2b[_0x1cd3('0xa4')]['answered']/(_0x2a5e2b[_0x1cd3('0xa4')]['total']-_0x2a5e2b['inbound'][_0x1cd3('0x10f')]-_0x2a5e2b[_0x1cd3('0xa4')][_0x1cd3('0x10d')])*0x64,-0x2);_0x2a5e2b[_0x1cd3('0xa4')][_0x1cd3('0x18bc')]=moment[_0x1cd3('0x15e1')](Math[_0x1cd3('0x18ba')](_0x2a5e2b[_0x1cd3('0xa4')][_0x1cd3('0x18b8')]/_0x2a5e2b[_0x1cd3('0xa4')][_0x1cd3('0x110')]),_0x2a5e2b[_0x1cd3('0xf')]['unit'])[_0x1cd3('0x130')](_0x2a5e2b[_0x1cd3('0xf')][_0x1cd3('0x130')],_0x2a5e2b[_0x1cd3('0xf')]);_0x2a5e2b['inbound']['avgTalkTime']=moment[_0x1cd3('0x15e1')](Math['round'](_0x2a5e2b[_0x1cd3('0xa4')][_0x1cd3('0x18b4')]/_0x2a5e2b['inbound']['answered']),_0x2a5e2b[_0x1cd3('0xf')][_0x1cd3('0x18b7')])[_0x1cd3('0x130')](_0x2a5e2b[_0x1cd3('0xf')][_0x1cd3('0x130')],_0x2a5e2b[_0x1cd3('0xf')]);}function _0x2b3827(){if(Object[_0x1cd3('0x80')](_0x2a5e2b[_0x1cd3('0xefa')])['length']>0x0){for(var _0x442f2e=0x0;_0x442f2e<_0x422539[_0x1cd3('0xf6')]['length'];_0x442f2e+=0x1){if(_0x39656b(_0x422539[_0x1cd3('0xf6')][_0x442f2e])){var _0x472e91=_0x422539[_0x1cd3('0xf6')][_0x442f2e];_0x560f21(_0x472e91,!![]);_0x1f848b();}}}}function _0x39656b(_0x271065){if(_[_0x1cd3('0x38d')](_0x2a5e2b[_0x1cd3('0xefa')],{'id':_[_0x1cd3('0x13c1')](_0x271065[_0x1cd3('0x1492')])})){return!![];}return![];}function _0x1ca174(_0x2824c9){var _0x4164d0=moment()[_0x1cd3('0x12f')](0x0,!![])[_0x1cd3('0x12e')](_0x1cd3('0x138'));var _0x272723=moment()[_0x1cd3('0x12f')](0x0,!![])[_0x1cd3('0x131')](_0x1cd3('0x138'));return moment(_0x2824c9)['utcOffset'](0x0,!![])[_0x1cd3('0x17d1')](_0x4164d0,_0x272723);}function _0x2528ca(_0x5889e1){if(_0x39656b(_0x5889e1)&&_0x1ca174(_0x5889e1[_0x1cd3('0xe0d')])){_0x560f21(_0x5889e1,!![]);_0x1f848b();}}function _0x2fdeb7(_0x140da6){if(_0x39656b(_0x140da6)&&_0x1ca174(_0x140da6['createdAt'])){_0x560f21(_0x140da6,![]);_0x1f848b();}}_0x1aceb9[_0x1cd3('0x4d3')](_0x1cd3('0x523'),function(){_0x23b7a7[_0x1cd3('0x6a3')]('mailInteraction:save');_0x23b7a7[_0x1cd3('0x6a3')]('mailInteraction:update');});}}());(function(){'use strict';_0x45d019[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0xd18'),'openchannelInteractions','openchannelAccounts'];angular[_0x1cd3('0x0')](_0x1cd3('0x2a'))['controller']('UserOpenchannelDashboardGeneralController',_0x45d019);function _0x45d019(_0x486a85,_0x546aac,_0x174f89,_0x37b7d4){var _0x449883=this;var _0x16ecfc=[];_0x449883[_0x1cd3('0xf')]={'format':_0x1cd3('0x18c4'),'unit':'seconds','trim':![]};_0x449883[_0x1cd3('0xa4')]={'waiting':0x0,'talking':0x0,'answered':0x0,'abandoned':0x0,'unmanaged':0x0,'sumHoldTime':0x0,'sumBillable':0x0,'total':0x0,'avgHoldTime':_0x1cd3('0x18b1'),'avgTalkTime':_0x1cd3('0x18b1'),'answerRate':0x0,'abandonRate':0x0};_0x449883[_0x1cd3('0x15fb')]=_0x37b7d4?_[_0x1cd3('0xe2d')](_0x37b7d4[_0x1cd3('0xf6')]?_0x37b7d4['rows']:[],'id'):{};_0x449883[_0x1cd3('0x18c9')]=_0x361816;_0x449883[_0x1cd3('0x18ca')]=_0x398b5e;_0x546aac['on'](_0x1cd3('0x1773'),_0x449883['onSaveOpenchannelInteraction']);_0x546aac['on'](_0x1cd3('0x177d'),_0x449883[_0x1cd3('0x18ca')]);_0x38ad0a();function _0x116364(_0x134fac,_0x274e9f){if(!_0x134fac[_0x1cd3('0x1586')]&&!_0x134fac[_0x1cd3('0x1226')]&&_0x274e9f){_0x449883[_0x1cd3('0xa4')][_0x1cd3('0x10d')]+=0x1;}if(!_0x134fac['closed']&&_0x134fac['UserId']&&!_[_0x1cd3('0x38f')](_0x16ecfc,_0x134fac['id'])){_0x449883[_0x1cd3('0xa4')][_0x1cd3('0x10f')]+=0x1;_0x16ecfc[_0x1cd3('0x7b')](_0x134fac['id']);if(!_0x274e9f&&_0x449883[_0x1cd3('0xa4')][_0x1cd3('0x10d')]){_0x449883[_0x1cd3('0xa4')]['waiting']-=0x1;}}if(_0x134fac[_0x1cd3('0x1586')]&&_0x134fac[_0x1cd3('0x1226')]){_0x449883[_0x1cd3('0xa4')][_0x1cd3('0x18b4')]+=moment(_0x134fac[_0x1cd3('0x18b5')])[_0x1cd3('0x78b')](moment(_0x134fac['read1stAt']),_0x449883[_0x1cd3('0xf')][_0x1cd3('0x18b7')]);_0x449883[_0x1cd3('0xa4')][_0x1cd3('0x18b8')]+=moment(_0x134fac['read1stAt'])['diff'](moment(_0x134fac['createdAt']),_0x449883['config'][_0x1cd3('0x18b7')]);_0x449883[_0x1cd3('0xa4')]['answered']+=0x1;if(!_0x274e9f&&_0x449883[_0x1cd3('0xa4')]['talking']){_0x449883[_0x1cd3('0xa4')][_0x1cd3('0x10f')]-=0x1;}}if(_0x134fac[_0x1cd3('0x1586')]&&!_0x134fac['UserId']){_0x449883[_0x1cd3('0xa4')]['unmanaged']+=0x1;if(!_0x274e9f&&_0x449883[_0x1cd3('0xa4')][_0x1cd3('0x10d')]){_0x449883[_0x1cd3('0xa4')]['waiting']-=0x1;}}if(_0x274e9f){_0x449883[_0x1cd3('0xa4')]['total']+=0x1;}}function _0x33360e(){_0x449883[_0x1cd3('0xa4')][_0x1cd3('0x18b9')]=Math['round']((_0x449883[_0x1cd3('0xa4')][_0x1cd3('0x112')]+_0x449883[_0x1cd3('0xa4')]['unmanaged'])/(_0x449883[_0x1cd3('0xa4')][_0x1cd3('0x10e')]-_0x449883[_0x1cd3('0xa4')][_0x1cd3('0x10f')]-_0x449883[_0x1cd3('0xa4')][_0x1cd3('0x10d')])*0x64,-0x2);_0x449883['inbound'][_0x1cd3('0x18bb')]=Math[_0x1cd3('0x18ba')](_0x449883[_0x1cd3('0xa4')][_0x1cd3('0x110')]/(_0x449883[_0x1cd3('0xa4')]['total']-_0x449883[_0x1cd3('0xa4')]['talking']-_0x449883[_0x1cd3('0xa4')][_0x1cd3('0x10d')])*0x64,-0x2);_0x449883[_0x1cd3('0xa4')]['avgHoldTime']=moment[_0x1cd3('0x15e1')](Math[_0x1cd3('0x18ba')](_0x449883[_0x1cd3('0xa4')][_0x1cd3('0x18b8')]/_0x449883[_0x1cd3('0xa4')][_0x1cd3('0x110')]),_0x449883[_0x1cd3('0xf')]['unit'])[_0x1cd3('0x130')](_0x449883[_0x1cd3('0xf')][_0x1cd3('0x130')],_0x449883[_0x1cd3('0xf')]);_0x449883['inbound'][_0x1cd3('0x18bd')]=moment[_0x1cd3('0x15e1')](Math['round'](_0x449883[_0x1cd3('0xa4')]['sumBillable']/_0x449883[_0x1cd3('0xa4')]['answered']),_0x449883[_0x1cd3('0xf')][_0x1cd3('0x18b7')])[_0x1cd3('0x130')](_0x449883[_0x1cd3('0xf')][_0x1cd3('0x130')],_0x449883[_0x1cd3('0xf')]);}function _0x38ad0a(){if(Object[_0x1cd3('0x80')](_0x449883[_0x1cd3('0x15fb')])['length']>0x0){for(var _0x42ff2d=0x0;_0x42ff2d<_0x174f89['rows']['length'];_0x42ff2d+=0x1){if(_0x218d10(_0x174f89[_0x1cd3('0xf6')][_0x42ff2d])){var _0x1aa5b1=_0x174f89[_0x1cd3('0xf6')][_0x42ff2d];_0x116364(_0x1aa5b1,!![]);_0x33360e();}}}}function _0x218d10(_0x25e1f5){if(_[_0x1cd3('0x38d')](_0x449883[_0x1cd3('0x15fb')],{'id':_['toNumber'](_0x25e1f5[_0x1cd3('0x1490')])})){return!![];}return![];}function _0x570dab(_0x249909){var _0x134016=moment()[_0x1cd3('0x12f')](0x0,!![])[_0x1cd3('0x12e')](_0x1cd3('0x138'));var _0x499193=moment()[_0x1cd3('0x12f')](0x0,!![])[_0x1cd3('0x131')](_0x1cd3('0x138'));return moment(_0x249909)['utcOffset'](0x0,!![])[_0x1cd3('0x17d1')](_0x134016,_0x499193);}function _0x361816(_0x3c35b6){if(_0x218d10(_0x3c35b6)&&_0x570dab(_0x3c35b6[_0x1cd3('0xe0d')])){_0x116364(_0x3c35b6,!![]);_0x33360e();}}function _0x398b5e(_0x476b68){if(_0x218d10(_0x476b68)&&_0x570dab(_0x476b68['createdAt'])){_0x116364(_0x476b68,![]);_0x33360e();}}_0x486a85[_0x1cd3('0x4d3')](_0x1cd3('0x523'),function(){_0x546aac[_0x1cd3('0x6a3')](_0x1cd3('0x1773'));_0x546aac[_0x1cd3('0x6a3')]('openchannelInteraction:update');});}}());(function(){'use strict';_0x462b32[_0x1cd3('0xc')]=['$scope',_0x1cd3('0xd18'),_0x1cd3('0x17a1'),_0x1cd3('0xefe')];angular[_0x1cd3('0x0')](_0x1cd3('0x2a'))[_0x1cd3('0x39b')](_0x1cd3('0x18cb'),_0x462b32);function _0x462b32(_0x1d8551,_0xe55eee,_0x21c7c4,_0x4ffc38){var _0x1d9d3a=this;var _0x3dab20=[];_0x1d9d3a[_0x1cd3('0xf')]={'format':_0x1cd3('0x18c4'),'unit':_0x1cd3('0x791'),'trim':![]};_0x1d9d3a[_0x1cd3('0xa4')]={'waiting':0x0,'talking':0x0,'answered':0x0,'abandoned':0x0,'unmanaged':0x0,'sumHoldTime':0x0,'sumBillable':0x0,'total':0x0,'avgHoldTime':'00:00:00','avgTalkTime':_0x1cd3('0x18b1'),'answerRate':0x0,'abandonRate':0x0};_0x1d9d3a[_0x1cd3('0xefe')]=_0x4ffc38?_[_0x1cd3('0xe2d')](_0x4ffc38[_0x1cd3('0xf6')]?_0x4ffc38['rows']:[],'id'):{};_0x1d9d3a[_0x1cd3('0x18cc')]=_0x8f140c;_0x1d9d3a[_0x1cd3('0x18cd')]=_0x834bc0;_0xe55eee['on'](_0x1cd3('0x17a4'),_0x1d9d3a['onSaveSmsInteraction']);_0xe55eee['on'](_0x1cd3('0x17a5'),_0x1d9d3a[_0x1cd3('0x18cd')]);_0xba1c5();function _0x22d389(_0xc5b64a,_0x43e4c7){if(!_0xc5b64a['closed']&&!_0xc5b64a[_0x1cd3('0x1226')]&&_0x43e4c7){_0x1d9d3a['inbound'][_0x1cd3('0x10d')]+=0x1;}if(!_0xc5b64a['closed']&&_0xc5b64a['UserId']&&!_[_0x1cd3('0x38f')](_0x3dab20,_0xc5b64a['id'])){_0x1d9d3a['inbound']['talking']+=0x1;_0x3dab20[_0x1cd3('0x7b')](_0xc5b64a['id']);if(!_0x43e4c7&&_0x1d9d3a[_0x1cd3('0xa4')][_0x1cd3('0x10d')]){_0x1d9d3a[_0x1cd3('0xa4')]['waiting']-=0x1;}}if(_0xc5b64a[_0x1cd3('0x1586')]&&_0xc5b64a['UserId']){_0x1d9d3a[_0x1cd3('0xa4')][_0x1cd3('0x18b4')]+=moment(_0xc5b64a[_0x1cd3('0x18b5')])[_0x1cd3('0x78b')](moment(_0xc5b64a['read1stAt']),_0x1d9d3a[_0x1cd3('0xf')][_0x1cd3('0x18b7')]);_0x1d9d3a[_0x1cd3('0xa4')][_0x1cd3('0x18b8')]+=moment(_0xc5b64a[_0x1cd3('0x18b6')])['diff'](moment(_0xc5b64a[_0x1cd3('0xe0d')]),_0x1d9d3a[_0x1cd3('0xf')]['unit']);_0x1d9d3a[_0x1cd3('0xa4')][_0x1cd3('0x110')]+=0x1;if(!_0x43e4c7&&_0x1d9d3a[_0x1cd3('0xa4')][_0x1cd3('0x10f')]){_0x1d9d3a[_0x1cd3('0xa4')][_0x1cd3('0x10f')]-=0x1;}}if(_0xc5b64a[_0x1cd3('0x1586')]&&!_0xc5b64a['UserId']){_0x1d9d3a[_0x1cd3('0xa4')][_0x1cd3('0x111')]+=0x1;if(!_0x43e4c7&&_0x1d9d3a['inbound'][_0x1cd3('0x10d')]){_0x1d9d3a[_0x1cd3('0xa4')]['waiting']-=0x1;}}if(_0x43e4c7){_0x1d9d3a[_0x1cd3('0xa4')][_0x1cd3('0x10e')]+=0x1;}}function _0x157a26(){_0x1d9d3a['inbound'][_0x1cd3('0x18b9')]=Math[_0x1cd3('0x18ba')]((_0x1d9d3a[_0x1cd3('0xa4')]['abandoned']+_0x1d9d3a[_0x1cd3('0xa4')]['unmanaged'])/(_0x1d9d3a[_0x1cd3('0xa4')][_0x1cd3('0x10e')]-_0x1d9d3a[_0x1cd3('0xa4')][_0x1cd3('0x10f')]-_0x1d9d3a[_0x1cd3('0xa4')][_0x1cd3('0x10d')])*0x64,-0x2);_0x1d9d3a[_0x1cd3('0xa4')]['answerRate']=Math[_0x1cd3('0x18ba')](_0x1d9d3a[_0x1cd3('0xa4')]['answered']/(_0x1d9d3a[_0x1cd3('0xa4')]['total']-_0x1d9d3a[_0x1cd3('0xa4')][_0x1cd3('0x10f')]-_0x1d9d3a[_0x1cd3('0xa4')][_0x1cd3('0x10d')])*0x64,-0x2);_0x1d9d3a[_0x1cd3('0xa4')][_0x1cd3('0x18bc')]=moment['duration'](Math[_0x1cd3('0x18ba')](_0x1d9d3a['inbound']['sumHoldTime']/_0x1d9d3a[_0x1cd3('0xa4')]['answered']),_0x1d9d3a[_0x1cd3('0xf')]['unit'])[_0x1cd3('0x130')](_0x1d9d3a[_0x1cd3('0xf')][_0x1cd3('0x130')],_0x1d9d3a[_0x1cd3('0xf')]);_0x1d9d3a[_0x1cd3('0xa4')][_0x1cd3('0x18bd')]=moment['duration'](Math[_0x1cd3('0x18ba')](_0x1d9d3a[_0x1cd3('0xa4')][_0x1cd3('0x18b4')]/_0x1d9d3a[_0x1cd3('0xa4')]['answered']),_0x1d9d3a[_0x1cd3('0xf')][_0x1cd3('0x18b7')])['format'](_0x1d9d3a[_0x1cd3('0xf')]['format'],_0x1d9d3a[_0x1cd3('0xf')]);}function _0xba1c5(){if(Object[_0x1cd3('0x80')](_0x1d9d3a[_0x1cd3('0xefe')])[_0x1cd3('0x7a')]>0x0){for(var _0x2080df=0x0;_0x2080df<_0x21c7c4[_0x1cd3('0xf6')][_0x1cd3('0x7a')];_0x2080df+=0x1){if(_0x417e24(_0x21c7c4[_0x1cd3('0xf6')][_0x2080df])){var _0x42e786=_0x21c7c4['rows'][_0x2080df];_0x22d389(_0x42e786,!![]);_0x157a26();}}}}function _0x417e24(_0xbb95f7){if(_['some'](_0x1d9d3a[_0x1cd3('0xefe')],{'id':_[_0x1cd3('0x13c1')](_0xbb95f7['SmsAccountId'])})){return!![];}return![];}function _0x315140(_0x2984da){var _0x5c95df=moment()['utcOffset'](0x0,!![])[_0x1cd3('0x12e')](_0x1cd3('0x138'));var _0x8d4e20=moment()[_0x1cd3('0x12f')](0x0,!![])[_0x1cd3('0x131')](_0x1cd3('0x138'));return moment(_0x2984da)[_0x1cd3('0x12f')](0x0,!![])[_0x1cd3('0x17d1')](_0x5c95df,_0x8d4e20);}function _0x8f140c(_0x10dae7){if(_0x417e24(_0x10dae7)&&_0x315140(_0x10dae7[_0x1cd3('0xe0d')])){_0x22d389(_0x10dae7,!![]);_0x157a26();}}function _0x834bc0(_0x3c3eee){if(_0x417e24(_0x3c3eee)&&_0x315140(_0x3c3eee[_0x1cd3('0xe0d')])){_0x22d389(_0x3c3eee,![]);_0x157a26();}}_0x1d8551['$on']('$destroy',function(){_0xe55eee['removeAllListeners'](_0x1cd3('0x17a4'));_0xe55eee['removeAllListeners']('smsInteraction:update');});}}());(function(){'use strict';_0x3188e5[_0x1cd3('0xc')]=['$q'];_0x1a0eee['$inject']=['$q'];_0x4535a6[_0x1cd3('0xc')]=[_0x1cd3('0x53e'),_0x1cd3('0x56'),_0x1cd3('0x463')];angular[_0x1cd3('0x0')](_0x1cd3('0x2a'))['filter'](_0x1cd3('0x18ce'),_0x257b58)[_0x1cd3('0x373')]('initializeRealtimeQueue',_0x3188e5)[_0x1cd3('0x373')]('initializeRealtimeCampaign',_0x1a0eee)[_0x1cd3('0x39b')]('UserDashboardGeneralController',_0x4535a6);function _0x3188e5(_0xf0e2c2){var _0x20a4ce=[];var _0x1ea5b8=function(){var _0x2e2e7e=_0x20a4ce[0x0];var _0x189916={'waiting':0x0,'talking':0x0,'pTalking':0x0,'answered':0x0,'abandoned':0x0,'unmanaged':0x0,'sumHoldTime':0x0,'sumBillable':0x0,'total':0x0,'avgHoldTime':_0x1cd3('0x18b1'),'avgTalkTime':_0x1cd3('0x18b1'),'answerRate':0x0,'abandonRate':0x0,'originated':0x0,'outboundDropCallsDayCallersExit':0x0,'outboundDropCallsDayTimeout':0x0};_[_0x1cd3('0x13e5')](_0x2e2e7e[_0x1cd3('0x1155')],function(_0x25574b,_0x32fbe6){if(_0x2e2e7e['rpcQueues'][_0x32fbe6]){_0x189916[_0x1cd3('0x10d')]+=_0x2e2e7e[_0x1cd3('0x13d8')][_0x32fbe6][_0x1cd3('0x10d')]||0x0;_0x189916['talking']+=(_0x2e2e7e[_0x1cd3('0x13d8')][_0x32fbe6][_0x1cd3('0x10f')]||0x0)+(_0x2e2e7e[_0x1cd3('0x13d8')][_0x32fbe6]['pTalking']||0x0);_0x189916[_0x1cd3('0x110')]+=_0x2e2e7e[_0x1cd3('0x13d8')][_0x32fbe6][_0x1cd3('0x110')]||0x0;_0x189916[_0x1cd3('0x112')]+=_0x2e2e7e['rpcQueues'][_0x32fbe6][_0x1cd3('0x112')]||0x0;_0x189916['sumHoldTime']+=_0x2e2e7e[_0x1cd3('0x13d8')][_0x32fbe6]['sumHoldTime']||0x0;_0x189916[_0x1cd3('0x18b4')]+=_0x2e2e7e[_0x1cd3('0x13d8')][_0x32fbe6][_0x1cd3('0x18b4')]||0x0;_0x189916['total']+=_0x2e2e7e['rpcQueues'][_0x32fbe6][_0x1cd3('0x10e')]||0x0;_0x189916[_0x1cd3('0x13dc')]+=_0x2e2e7e[_0x1cd3('0x13d8')][_0x32fbe6][_0x1cd3('0x13dc')]||0x0;_0x189916[_0x1cd3('0x18cf')]+=_0x2e2e7e['rpcQueues'][_0x32fbe6][_0x1cd3('0x18cf')]||0x0;_0x189916[_0x1cd3('0x18d0')]+=_0x2e2e7e[_0x1cd3('0x13d8')][_0x32fbe6][_0x1cd3('0x18d0')]||0x0;}});var _0x1a7a6d=_0x189916[_0x1cd3('0x10e')]-_0x189916[_0x1cd3('0x110')]-_0x189916[_0x1cd3('0x112')];_0x189916[_0x1cd3('0x111')]=_0x1a7a6d>0x0?_0x1a7a6d:0x0;_0x189916[_0x1cd3('0x18bc')]=Math[_0x1cd3('0x18ba')](_0x189916[_0x1cd3('0x10e')]>0x0?_0x189916[_0x1cd3('0x18b8')]/_0x189916[_0x1cd3('0x10e')]:0x0);_0x189916[_0x1cd3('0x18bc')]=new Date(_0x189916[_0x1cd3('0x18bc')]*0x3e8)[_0x1cd3('0x18d1')]()[_0x1cd3('0x639')](0xb,0x8);_0x189916[_0x1cd3('0x18bd')]=Math[_0x1cd3('0x18ba')](_0x189916[_0x1cd3('0x110')]>0x0?_0x189916[_0x1cd3('0x18b4')]/_0x189916[_0x1cd3('0x110')]:0x0);_0x189916[_0x1cd3('0x18bd')]=new Date(_0x189916[_0x1cd3('0x18bd')]*0x3e8)[_0x1cd3('0x18d1')]()['substr'](0xb,0x8);_0x189916['answerRate']=Math['round']((_0x189916[_0x1cd3('0x10e')]>0x0?_0x189916['answered']/_0x189916[_0x1cd3('0x10e')]*0x64:0x0)*Math[_0x1cd3('0x18d2')](0xa,0x1))/Math[_0x1cd3('0x18d2')](0xa,0x1);_0x189916[_0x1cd3('0x18b9')]=Math[_0x1cd3('0x18ba')]((_0x189916['total']>0x0?_0x189916[_0x1cd3('0x112')]/_0x189916['total']*0x64:0x0)*Math[_0x1cd3('0x18d2')](0xa,0x1))/Math['pow'](0xa,0x1);_0x189916[_0x1cd3('0x18d3')]=Math[_0x1cd3('0x18ba')]((_0x189916[_0x1cd3('0x10e')]>0x0?_0x189916[_0x1cd3('0x18d0')]/_0x189916['total']*0x64:0x0)*Math['pow'](0xa,0x1))/Math[_0x1cd3('0x18d2')](0xa,0x1);_0x189916[_0x1cd3('0x18d4')]=Math[_0x1cd3('0x18ba')]((_0x189916[_0x1cd3('0x10e')]>0x0?_0x189916['outboundDropCallsDayCallersExit']/_0x189916['total']*0x64:0x0)*Math[_0x1cd3('0x18d2')](0xa,0x1))/Math[_0x1cd3('0x18d2')](0xa,0x1);_0x189916['outboundanswerRate']=0x64-_0x189916[_0x1cd3('0x18d3')]-_0x189916[_0x1cd3('0x18d4')]>0x0&&(_0x189916[_0x1cd3('0x10e')]||0x0>0x0)?0x64-_0x189916[_0x1cd3('0x18d3')]-_0x189916['outboundAbandonRate']:0x0;_0x20a4ce[_0x1cd3('0x18d5')]();_0x2e2e7e[_0x1cd3('0x53a')][_0x1cd3('0x58')](_0x189916);if(_0x20a4ce[_0x1cd3('0x7a')]>0x0){_0x1ea5b8();}};return function(_0x24ba1f){var _0x4c653c=_0xf0e2c2[_0x1cd3('0x53a')]();_0x20a4ce[_0x1cd3('0x7b')]({'queues':_0x24ba1f['queues'],'rpcQueues':_0x24ba1f[_0x1cd3('0x13d8')],'defer':_0x4c653c});if(_0x20a4ce[_0x1cd3('0x7a')]===0x1){_0x1ea5b8();}return _0x4c653c[_0x1cd3('0x539')];};}function _0x1a0eee(_0x301977){var _0x4fe62c=[];var _0x5341b3=function(){var _0x429474=_0x4fe62c[0x0];var _0x29c82e={'originated':0x0,'limitCalls':0x0};_['forIn'](_0x429474['rpcCampaigns'],function(_0xaf0f1,_0x41bea9){if(_0x429474[_0x1cd3('0x18c0')][_0x41bea9]){_0x29c82e[_0x1cd3('0x13dc')]+=_0x429474[_0x1cd3('0x18c0')][_0x41bea9][_0x1cd3('0x13dc')]||0x0;_0x29c82e[_0x1cd3('0x18d6')]+=_0x429474[_0x1cd3('0x18c0')][_0x41bea9][_0x1cd3('0x18d6')]||0x0;}});_0x4fe62c[_0x1cd3('0x18d5')]();_0x429474[_0x1cd3('0x53a')][_0x1cd3('0x58')](_0x29c82e);if(_0x4fe62c['length']>0x0){_0x5341b3();}};return function(_0x4ed898){var _0x51a2dc=_0x301977[_0x1cd3('0x53a')]();_0x4fe62c[_0x1cd3('0x7b')]({'rpcCampaigns':_0x4ed898[_0x1cd3('0x18c0')],'defer':_0x51a2dc});if(_0x4fe62c[_0x1cd3('0x7a')]===0x1){_0x5341b3();}return _0x51a2dc[_0x1cd3('0x539')];};}function _0x257b58(){return function(_0x48793d){return new Date(_0x48793d*0x3e8)[_0x1cd3('0x18d1')]()['substr'](0xb,0x8);};}function _0x4535a6(_0xebdb15,_0x4659fe,_0xf3d2e6){var _0xb4a6c8=this;_0xb4a6c8[_0x1cd3('0x463')]=_0xf3d2e6;_0xb4a6c8[_0x1cd3('0x703')]=_0x34db18;function _0x34db18(){_0xb4a6c8[_0x1cd3('0x18d7')]=_0x4659fe[_0x1cd3('0x57')](_0x1cd3('0x368'))?_0x4659fe[_0x1cd3('0x369')](0x65):!![];if(_0xb4a6c8[_0x1cd3('0x18d7')]){var _0x179603=_0xebdb15[_0x1cd3('0x530')][_0x1cd3('0x98')];switch(_0x179603){case _0x1cd3('0x114'):_0x26fddd();break;case'app.dashboards.general.voice':_0xb4a6c8['selectedTab']=0x0;break;case'app.dashboards.general.dialer':_0xb4a6c8[_0x1cd3('0xe5f')]=0x1;break;case _0x1cd3('0x12b'):_0xb4a6c8[_0x1cd3('0xe5f')]=0x2;break;case'app.dashboards.general.mail':_0xb4a6c8['selectedTab']=0x3;break;case'app.dashboards.general.sms':_0xb4a6c8[_0x1cd3('0xe5f')]=0x4;break;case _0x1cd3('0x13b'):_0xb4a6c8['selectedTab']=0x5;break;case _0x1cd3('0x141'):_0xb4a6c8[_0x1cd3('0xe5f')]=0x6;break;case _0x1cd3('0x146'):_0xb4a6c8[_0x1cd3('0xe5f')]=0x7;break;}}}function _0x26fddd(){var _0x2718b5=[];_0xb4a6c8[_0x1cd3('0x463')][_0x1cd3('0x121')]&&_0x2718b5[_0x1cd3('0x7b')](_0x1cd3('0x11d'));_0xb4a6c8[_0x1cd3('0x463')][_0x1cd3('0x159f')]&&_0x2718b5[_0x1cd3('0x7b')](_0x1cd3('0x123'));_0xb4a6c8[_0x1cd3('0x463')]['chat']&&_0x2718b5[_0x1cd3('0x7b')]('app.dashboards.general.chat');_0xb4a6c8['license']['mail']&&_0x2718b5[_0x1cd3('0x7b')](_0x1cd3('0x134'));_0xb4a6c8[_0x1cd3('0x463')][_0x1cd3('0x18d8')]&&_0x2718b5[_0x1cd3('0x7b')](_0x1cd3('0x18d9'));_0xb4a6c8[_0x1cd3('0x463')][_0x1cd3('0x22e')]&&_0x2718b5[_0x1cd3('0x7b')](_0x1cd3('0x13b'));_0xb4a6c8[_0x1cd3('0x463')][_0x1cd3('0x154')]&&_0x2718b5[_0x1cd3('0x7b')](_0x1cd3('0x141'));_0xb4a6c8[_0x1cd3('0x463')]['whatsapp']&&_0x2718b5[_0x1cd3('0x7b')](_0x1cd3('0x146'));if(_0x2718b5['length']>0x0)_0xebdb15['go'](_[_0x1cd3('0xf34')](_0x2718b5));}}}());(function(){'use strict';_0x4d8eb8[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0xd18'),'inboundQueues',_0x1cd3('0x13d8'),_0x1cd3('0x128'),_0x1cd3('0x18bf')];angular[_0x1cd3('0x0')]('app.dashboards')['controller'](_0x1cd3('0x18da'),_0x4d8eb8);function _0x4d8eb8(_0x1c45ca,_0x390700,_0xd0ec67,_0x4af871,_0x6be7cd,_0x129f86){var _0xe219ff=this;_0xe219ff[_0x1cd3('0x18db')]=_0xd0ec67?_[_0x1cd3('0xe2d')](_0xd0ec67[_0x1cd3('0xf6')]?_0xd0ec67[_0x1cd3('0xf6')]:[],'id'):{};_0xe219ff[_0x1cd3('0x13d8')]=_0x4af871?_['keyBy'](_0x4af871[_0x1cd3('0xf6')]?_0x4af871[_0x1cd3('0xf6')]:[],'id'):{};_0xe219ff['inbound']={'waiting':0x0,'talking':0x0,'answered':0x0,'abandoned':0x0,'unmanaged':0x0,'sumHoldTime':0x0,'sumBillable':0x0,'total':0x0,'avgHoldTime':_0x1cd3('0x18b1'),'avgTalkTime':'00:00:00','answerRate':0x0,'abandonRate':0x0};_0xe219ff[_0x1cd3('0x128')]=_0x6be7cd||{'answered':0x0,'sumBillable':0x0,'sumDuration':0x0,'sumHoldTime':0x0,'total':0x0};_0xe219ff[_0x1cd3('0x169f')]=_0x5b4fc0;_0xe219ff[_0x1cd3('0x18dc')]=_0x777c6b;_0x390700['on'](_0x1cd3('0x155e'),_0xe219ff[_0x1cd3('0x169f')]);_0x390700['on'](_0x1cd3('0x18dd'),_0xe219ff['onSaveOutbound']);_0x5b0e6b();function _0x5b0e6b(){_0x129f86({'queues':_0xe219ff['inboundQueues'],'rpcQueues':_0xe219ff[_0x1cd3('0x13d8')]})[_0x1cd3('0x77')](function(_0x2363ea){_0xe219ff[_0x1cd3('0xa4')]=_0x2363ea;});}function _0x5b4fc0(_0xc45d4a){if(_0xe219ff[_0x1cd3('0x18db')][_0xc45d4a['id']]){if(_0xe219ff[_0x1cd3('0x13d8')][_0xc45d4a['id']]){_0xe219ff[_0x1cd3('0x13d8')][_0xc45d4a['id']]=_0xc45d4a;_0x5b0e6b();}}}function _0x777c6b(_0x52da1f){_0xe219ff[_0x1cd3('0x128')]=_0x52da1f;}_0x1c45ca[_0x1cd3('0x4d3')]('$destroy',function(){_0x390700['removeAllListeners'](_0x1cd3('0x155e'));_0x390700[_0x1cd3('0x6a3')](_0x1cd3('0x18dd'));});}}());(function(){'use strict';_0x1a880b[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0xd18'),_0x1cd3('0x17c7'),_0x1cd3('0x15fc')];angular['module'](_0x1cd3('0x2a'))[_0x1cd3('0x39b')]('UserWhatsappDashboardGeneralController',_0x1a880b);function _0x1a880b(_0x27af6f,_0x58b236,_0x1236d4,_0x1c1931){var _0x1367ec=this;var _0x3dd28a=[];_0x1367ec[_0x1cd3('0xf')]={'format':'hh:mm:ss','unit':'seconds','trim':![]};_0x1367ec[_0x1cd3('0xa4')]={'waiting':0x0,'talking':0x0,'answered':0x0,'abandoned':0x0,'unmanaged':0x0,'sumHoldTime':0x0,'sumBillable':0x0,'total':0x0,'avgHoldTime':_0x1cd3('0x18b1'),'avgTalkTime':'00:00:00','answerRate':0x0,'abandonRate':0x0};_0x1367ec[_0x1cd3('0x15fc')]=_0x1c1931?_[_0x1cd3('0xe2d')](_0x1c1931[_0x1cd3('0xf6')]?_0x1c1931[_0x1cd3('0xf6')]:[],'id'):{};_0x1367ec['onSaveWhatsappInteraction']=_0x44574b;_0x1367ec[_0x1cd3('0x18de')]=_0x1cd66a;_0x58b236['on'](_0x1cd3('0x17c2'),_0x1367ec[_0x1cd3('0x18df')]);_0x58b236['on'](_0x1cd3('0x17c3'),_0x1367ec[_0x1cd3('0x18de')]);_0x290f0d();function _0x359c39(_0x203860,_0x591c1b){if(!_0x203860[_0x1cd3('0x1586')]&&!_0x203860[_0x1cd3('0x1226')]&&_0x591c1b){_0x1367ec['inbound'][_0x1cd3('0x10d')]+=0x1;}if(!_0x203860[_0x1cd3('0x1586')]&&_0x203860[_0x1cd3('0x1226')]&&!_[_0x1cd3('0x38f')](_0x3dd28a,_0x203860['id'])){_0x1367ec[_0x1cd3('0xa4')][_0x1cd3('0x10f')]+=0x1;_0x3dd28a[_0x1cd3('0x7b')](_0x203860['id']);if(!_0x591c1b&&_0x1367ec['inbound'][_0x1cd3('0x10d')]){_0x1367ec[_0x1cd3('0xa4')][_0x1cd3('0x10d')]-=0x1;}}if(_0x203860[_0x1cd3('0x1586')]&&_0x203860['UserId']){_0x1367ec[_0x1cd3('0xa4')][_0x1cd3('0x18b4')]+=moment(_0x203860[_0x1cd3('0x18b5')])[_0x1cd3('0x78b')](moment(_0x203860['read1stAt']),_0x1367ec['config'][_0x1cd3('0x18b7')]);_0x1367ec['inbound']['sumHoldTime']+=moment(_0x203860['read1stAt'])[_0x1cd3('0x78b')](moment(_0x203860[_0x1cd3('0xe0d')]),_0x1367ec['config'][_0x1cd3('0x18b7')]);_0x1367ec[_0x1cd3('0xa4')][_0x1cd3('0x110')]+=0x1;if(!_0x591c1b&&_0x1367ec[_0x1cd3('0xa4')][_0x1cd3('0x10f')]){_0x1367ec['inbound'][_0x1cd3('0x10f')]-=0x1;}}if(_0x203860[_0x1cd3('0x1586')]&&!_0x203860[_0x1cd3('0x1226')]){_0x1367ec[_0x1cd3('0xa4')]['unmanaged']+=0x1;if(!_0x591c1b&&_0x1367ec[_0x1cd3('0xa4')][_0x1cd3('0x10d')]){_0x1367ec['inbound']['waiting']-=0x1;}}if(_0x591c1b){_0x1367ec[_0x1cd3('0xa4')][_0x1cd3('0x10e')]+=0x1;}}function _0x2d9ebe(){_0x1367ec[_0x1cd3('0xa4')]['abandonRate']=Math['round']((_0x1367ec[_0x1cd3('0xa4')][_0x1cd3('0x112')]+_0x1367ec[_0x1cd3('0xa4')][_0x1cd3('0x111')])/(_0x1367ec[_0x1cd3('0xa4')][_0x1cd3('0x10e')]-_0x1367ec[_0x1cd3('0xa4')][_0x1cd3('0x10f')]-_0x1367ec['inbound']['waiting'])*0x64,-0x2);_0x1367ec[_0x1cd3('0xa4')][_0x1cd3('0x18bb')]=Math[_0x1cd3('0x18ba')](_0x1367ec[_0x1cd3('0xa4')][_0x1cd3('0x110')]/(_0x1367ec[_0x1cd3('0xa4')]['total']-_0x1367ec[_0x1cd3('0xa4')][_0x1cd3('0x10f')]-_0x1367ec[_0x1cd3('0xa4')][_0x1cd3('0x10d')])*0x64,-0x2);_0x1367ec['inbound']['avgHoldTime']=moment['duration'](Math[_0x1cd3('0x18ba')](_0x1367ec[_0x1cd3('0xa4')][_0x1cd3('0x18b8')]/_0x1367ec[_0x1cd3('0xa4')]['answered']),_0x1367ec['config'][_0x1cd3('0x18b7')])['format'](_0x1367ec[_0x1cd3('0xf')]['format'],_0x1367ec['config']);_0x1367ec[_0x1cd3('0xa4')]['avgTalkTime']=moment[_0x1cd3('0x15e1')](Math[_0x1cd3('0x18ba')](_0x1367ec['inbound'][_0x1cd3('0x18b4')]/_0x1367ec[_0x1cd3('0xa4')][_0x1cd3('0x110')]),_0x1367ec[_0x1cd3('0xf')]['unit'])[_0x1cd3('0x130')](_0x1367ec[_0x1cd3('0xf')][_0x1cd3('0x130')],_0x1367ec[_0x1cd3('0xf')]);}function _0x290f0d(){if(Object[_0x1cd3('0x80')](_0x1367ec[_0x1cd3('0x15fc')])['length']>0x0){for(var _0x46f3a8=0x0;_0x46f3a8<_0x1236d4[_0x1cd3('0xf6')][_0x1cd3('0x7a')];_0x46f3a8+=0x1){if(_0x5721e4(_0x1236d4[_0x1cd3('0xf6')][_0x46f3a8])){var _0x26efba=_0x1236d4['rows'][_0x46f3a8];_0x359c39(_0x26efba,!![]);_0x2d9ebe();}}}}function _0x5721e4(_0x34e3b0){if(_[_0x1cd3('0x38d')](_0x1367ec['whatsappAccounts'],{'id':_['toNumber'](_0x34e3b0['WhatsappAccountId'])})){return!![];}return![];}function _0x5d538f(_0xc1b9c9){var _0x174375=moment()[_0x1cd3('0x12f')](0x0,!![])[_0x1cd3('0x12e')](_0x1cd3('0x138'));var _0x5d397b=moment()[_0x1cd3('0x12f')](0x0,!![])['endOf'](_0x1cd3('0x138'));return moment(_0xc1b9c9)[_0x1cd3('0x12f')](0x0,!![])[_0x1cd3('0x17d1')](_0x174375,_0x5d397b);}function _0x44574b(_0x276194){if(_0x5721e4(_0x276194)&&_0x5d538f(_0x276194[_0x1cd3('0xe0d')])){_0x359c39(_0x276194,!![]);_0x2d9ebe();}}function _0x1cd66a(_0x398aa0){if(_0x5721e4(_0x398aa0)&&_0x5d538f(_0x398aa0[_0x1cd3('0xe0d')])){_0x359c39(_0x398aa0,![]);_0x2d9ebe();}}_0x27af6f[_0x1cd3('0x4d3')]('$destroy',function(){_0x58b236[_0x1cd3('0x6a3')](_0x1cd3('0x17c2'));_0x58b236['removeAllListeners'](_0x1cd3('0x17c3'));});}}());(function(){'use strict';_0x2f973b[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x53e'),_0x1cd3('0xd24'),'$mdDialog','$q',_0x1cd3('0x3f7'),_0x1cd3('0x461'),_0x1cd3('0x15fa'),'faxAccount',_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0x463'),_0x1cd3('0xc49'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x32'))['controller'](_0x1cd3('0x18e0'),_0x2f973b);function _0x2f973b(_0x3db098,_0x89adc3,_0x2d41f0,_0x226c13,_0x1eceff,_0x113d68,_0x47e185,_0x16420c,_0x51c64c,_0x4d6baa,_0x2dff17,_0x5af50d,_0x67d5da,_0x139bdb){var _0x17ccd9=this;_0x17ccd9['currentUser']=_0x2dff17[_0x1cd3('0x5d')]();_0x17ccd9[_0x1cd3('0xd34')]=[];_0x17ccd9[_0x1cd3('0xc49')]=_0x67d5da;_0x17ccd9[_0x1cd3('0x463')]=_0x5af50d;_0x17ccd9[_0x1cd3('0xd27')]=_0x139bdb;_0x17ccd9[_0x1cd3('0xd28')]={};_0x17ccd9[_0x1cd3('0xd29')]=_0x17ccd9[_0x1cd3('0xc49')]&&_0x17ccd9[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x17ccd9[_0x1cd3('0x486')]=_0x1cd3('0x18e1');_0x17ccd9['faxAccount']=angular['copy'](_0x51c64c);_0x17ccd9[_0x1cd3('0x15fa')]=_0x16420c;_0x17ccd9[_0x1cd3('0x18e2')]=![];if(!_0x17ccd9[_0x1cd3('0xaa4')]){_0x17ccd9['faxAccount']={'waitForTheAssignedAgent':0xa,'notificationSound':!![],'queueTransferTimeout':0x12c,'agentTransferTimeout':0x12c};_0x17ccd9['title']='FAX.NEW_FAXACCOUNT';_0x17ccd9[_0x1cd3('0x18e2')]=!![];}if(_0x89adc3[_0x1cd3('0x36a')]['id']){_0x17ccd9[_0x1cd3('0xaa4')][_0x1cd3('0x148f')]=_0x89adc3[_0x1cd3('0x36a')]['id'];}_0x17ccd9[_0x1cd3('0x18e3')]=_0x505cd3;_0x17ccd9[_0x1cd3('0x18e4')]=_0x13530b;_0x17ccd9[_0x1cd3('0x18e5')]=_0x21bc6f;_0x17ccd9['getDateFromString']=_0x4da82f;_0x17ccd9[_0x1cd3('0x39c')]=_0x1463c6;_0x2dff17['hasRole'](_0x1cd3('0x5f'))?_0x4d6baa['trunk'][_0x1cd3('0x361')]({'fields':'id,name','sort':_0x1cd3('0x98')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x4833af){_0x17ccd9['trunks']=_0x4833af[_0x1cd3('0xf6')]||[];})['catch'](function(_0x5edcbc){_0x47e185[_0x1cd3('0x434')]({'title':_0x5edcbc[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x5edcbc[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x5edcbc[_0x1cd3('0xd35')]:_0x1cd3('0x18e6'),'msg':_0x5edcbc[_0x1cd3('0x439')]?JSON['stringify'](_0x5edcbc[_0x1cd3('0x439')]):_0x5edcbc[_0x1cd3('0x43b')]()});}):_0x4d6baa[_0x1cd3('0x18e7')]['get']({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98')})['$promise'][_0x1cd3('0x77')](function(_0x61e41b){_0x17ccd9['trunks']=_0x61e41b['rows']||[];})[_0x1cd3('0x77')](function(){return _0x4d6baa[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x17ccd9[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x3f3})['$promise'];})['then'](function(_0x2d9a4f){var _0x247cf4=_0x2d9a4f&&_0x2d9a4f[_0x1cd3('0xf6')]?_0x2d9a4f['rows'][0x0]:null;if(!_0x247cf4){var _0x1f9f7d=[];var _0xa0ee54=null;if(_0x17ccd9[_0x1cd3('0xaa4')]){_0xa0ee54=_['find'](_0x17ccd9[_0x1cd3('0xef5')],{'id':Number(_0x17ccd9[_0x1cd3('0xaa4')][_0x1cd3('0x18e8')])});}for(var _0x450bc2=0x0;_0x450bc2<_0x17ccd9[_0x1cd3('0xef5')]['length'];_0x450bc2++){if(_0xa0ee54&&_0x17ccd9[_0x1cd3('0xef5')][_0x450bc2]['id']===_0xa0ee54['id']){_0x17ccd9[_0x1cd3('0xef5')][_0x450bc2][_0x1cd3('0xf4a')]=![];_0x1f9f7d[_0x1cd3('0x7b')](_0x17ccd9[_0x1cd3('0xef5')][_0x450bc2]);}}_0x17ccd9['trunks']=_0x1f9f7d;}else{if(!_0x247cf4[_0x1cd3('0x391')]){return _0x4d6baa[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x247cf4['id']})['$promise'][_0x1cd3('0x77')](function(_0x540c90){var _0x5da441=_[_0x1cd3('0x3d9')](_0x540c90[_0x1cd3('0xf6')],function(_0x106671){return _['find'](_0x17ccd9[_0x1cd3('0xef5')],{'id':_0x106671[_0x1cd3('0xe8e')]});});var _0x3b20fa=null;if(_0x17ccd9[_0x1cd3('0xaa4')]){_0x3b20fa=_[_0x1cd3('0x442')](_0x17ccd9[_0x1cd3('0xef5')],{'id':Number(_0x17ccd9[_0x1cd3('0xaa4')]['TrunkId'])});}if(_0x3b20fa&&!_[_0x1cd3('0x38d')](_0x5da441,['id',_0x3b20fa['id']])){var _0xf1f8d3=_['find'](_0x17ccd9['trunks'],{'id':_0x3b20fa['id']});_0xf1f8d3[_0x1cd3('0xf4a')]=![];_0x5da441[_0x1cd3('0x7b')](_0xf1f8d3);}_0x17ccd9[_0x1cd3('0xef5')]=_0x5da441;});}}})[_0x1cd3('0xfd')](function(_0x4b25af){_0x47e185[_0x1cd3('0x434')]({'title':_0x4b25af[_0x1cd3('0x3a6')]?'API:'+_0x4b25af['status']+_0x1cd3('0x436')+_0x4b25af['statusText']:_0x1cd3('0x18e9'),'msg':_0x4b25af[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x4b25af['data']):_0x4b25af[_0x1cd3('0x43b')]()});});_0x2dff17[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x4d6baa[_0x1cd3('0xc8f')]['get']({'fields':'id,name','sort':_0x1cd3('0x98')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x950c9b){_0x17ccd9['lists']=_0x950c9b['rows']||[];})[_0x1cd3('0xfd')](function(_0x4a2933){_0x47e185[_0x1cd3('0x434')]({'title':_0x4a2933[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x4a2933[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x4a2933['statusText']:_0x1cd3('0x11f3'),'msg':_0x4a2933[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x4a2933[_0x1cd3('0x439')]):_0x4a2933[_0x1cd3('0x43b')]()});}):_0x4d6baa[_0x1cd3('0xc8f')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x4f9910){_0x17ccd9[_0x1cd3('0xf5')]=_0x4f9910[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x4d6baa[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x17ccd9[_0x1cd3('0x3ca')]['userProfileId'],'sectionId':0x12d})[_0x1cd3('0x81')];})['then'](function(_0x21bba5){var _0x437b0b=_0x21bba5&&_0x21bba5[_0x1cd3('0xf6')]?_0x21bba5['rows'][0x0]:null;if(!_0x437b0b){var _0x1c217f=[];var _0x2a66ba=null;if(_0x17ccd9[_0x1cd3('0xaa4')]){_0x2a66ba=_[_0x1cd3('0x442')](_0x17ccd9[_0x1cd3('0xf5')],{'id':Number(_0x17ccd9['faxAccount'][_0x1cd3('0x106')])});}for(var _0x127f9c=0x0;_0x127f9c<_0x17ccd9[_0x1cd3('0xf5')][_0x1cd3('0x7a')];_0x127f9c++){if(_0x2a66ba&&_0x17ccd9[_0x1cd3('0xf5')][_0x127f9c]['id']===_0x2a66ba['id']){_0x17ccd9[_0x1cd3('0xf5')][_0x127f9c]['canSelect']=![];_0x1c217f[_0x1cd3('0x7b')](_0x17ccd9['lists'][_0x127f9c]);}}_0x17ccd9[_0x1cd3('0xf5')]=_0x1c217f;}else{if(!_0x437b0b[_0x1cd3('0x391')]){return _0x4d6baa[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x437b0b['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x5d48a1){var _0x2b5ffe=_[_0x1cd3('0x3d9')](_0x5d48a1[_0x1cd3('0xf6')],function(_0x2eeb56){return _[_0x1cd3('0x442')](_0x17ccd9[_0x1cd3('0xf5')],{'id':_0x2eeb56[_0x1cd3('0xe8e')]});});var _0x4c3634=null;if(_0x17ccd9[_0x1cd3('0xaa4')]){_0x4c3634=_[_0x1cd3('0x442')](_0x17ccd9['lists'],{'id':Number(_0x17ccd9[_0x1cd3('0xaa4')][_0x1cd3('0x106')])});}if(_0x4c3634&&!_[_0x1cd3('0x38d')](_0x2b5ffe,['id',_0x4c3634['id']])){var _0x534508=_[_0x1cd3('0x442')](_0x17ccd9['lists'],{'id':_0x4c3634['id']});_0x534508[_0x1cd3('0xf4a')]=![];_0x2b5ffe[_0x1cd3('0x7b')](_0x534508);}_0x17ccd9[_0x1cd3('0xf5')]=_0x2b5ffe;});}}})[_0x1cd3('0xfd')](function(_0xc3d8cb){_0x47e185[_0x1cd3('0x434')]({'title':_0xc3d8cb[_0x1cd3('0x3a6')]?'API:'+_0xc3d8cb[_0x1cd3('0x3a6')]+'\x20-\x20'+_0xc3d8cb[_0x1cd3('0xd35')]:_0x1cd3('0x137f'),'msg':_0xc3d8cb[_0x1cd3('0x439')]?JSON['stringify'](_0xc3d8cb['data']):_0xc3d8cb[_0x1cd3('0x43b')]()});});function _0x505cd3(){_0x17ccd9[_0x1cd3('0xd34')]=[];_0x4d6baa[_0x1cd3('0xaa4')][_0x1cd3('0x18ea')](_0x17ccd9[_0x1cd3('0xaa4')])['$promise']['then'](function(_0xc4b6aa){_0x17ccd9['faxAccounts']['unshift'](_0xc4b6aa[_0x1cd3('0xd32')]());_0x47e185[_0x1cd3('0x473')]({'title':_0x1cd3('0x18eb'),'msg':_0x17ccd9[_0x1cd3('0xaa4')][_0x1cd3('0x98')]?_0x17ccd9[_0x1cd3('0xaa4')][_0x1cd3('0x98')]+_0x1cd3('0xd33'):''});_0x1463c6(_0xc4b6aa);})[_0x1cd3('0xfd')](function(_0x4867bd){if(_0x4867bd[_0x1cd3('0x439')]&&_0x4867bd['data'][_0x1cd3('0xd34')]&&_0x4867bd[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')]){_0x17ccd9[_0x1cd3('0xd34')]=_0x4867bd['data']['errors']||[{'message':_0x4867bd[_0x1cd3('0x43b')](),'type':_0x1cd3('0x18ec')}];for(var _0x2b4e89=0x0;_0x2b4e89<_0x4867bd[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x2b4e89+=0x1){_0x47e185[_0x1cd3('0x434')]({'title':_0x4867bd[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x2b4e89][_0x1cd3('0x424')],'msg':_0x4867bd[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x2b4e89][_0x1cd3('0x43a')]});}}else{_0x47e185[_0x1cd3('0x434')]({'title':_0x4867bd[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x4867bd[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x4867bd['statusText']:_0x1cd3('0x18ec'),'msg':_0x4867bd[_0x1cd3('0x439')]?JSON['stringify'](_0x4867bd['data'][_0x1cd3('0x43a')]):_0x4867bd[_0x1cd3('0x43b')]()});}});}function _0x13530b(){_0x17ccd9['errors']=[];_0x4d6baa[_0x1cd3('0xaa4')][_0x1cd3('0x18ed')](_0x17ccd9[_0x1cd3('0xaa4')])['$promise']['then'](function(_0x14b167){var _0x2151e3=_['find'](_0x17ccd9[_0x1cd3('0x15fa')],{'id':_0x14b167['id']});if(_0x2151e3){_[_0x1cd3('0xf2')](_0x2151e3,_[_0x1cd3('0x5e8')](_0x14b167['toJSON'](),_[_0x1cd3('0x80')](_0x2151e3)));}_0x47e185[_0x1cd3('0x473')]({'title':_0x1cd3('0x18ee'),'msg':_0x17ccd9[_0x1cd3('0xaa4')][_0x1cd3('0x98')]?_0x17ccd9[_0x1cd3('0xaa4')][_0x1cd3('0x98')]+'\x20has\x20been\x20saved!':''});_0x1463c6(_0x14b167);})['catch'](function(_0x3d0f79){if(_0x3d0f79['data']&&_0x3d0f79[_0x1cd3('0x439')]['errors']&&_0x3d0f79[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x17ccd9[_0x1cd3('0xd34')]=_0x3d0f79[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x3d0f79[_0x1cd3('0x43b')](),'type':'api.faxAccount.update'}];for(var _0x4691e9=0x0;_0x4691e9<_0x3d0f79[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x4691e9++){_0x47e185[_0x1cd3('0x434')]({'title':_0x3d0f79[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x4691e9]['type'],'msg':_0x3d0f79['data'][_0x1cd3('0xd34')][_0x4691e9]['message']});}}else{_0x47e185[_0x1cd3('0x434')]({'title':_0x3d0f79['status']?_0x1cd3('0x435')+_0x3d0f79[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x3d0f79[_0x1cd3('0xd35')]:_0x1cd3('0x18ef'),'msg':_0x3d0f79['data']?JSON[_0x1cd3('0x438')](_0x3d0f79[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x3d0f79[_0x1cd3('0x43b')]()});}});}function _0x21bc6f(_0x19dda9){_0x17ccd9[_0x1cd3('0xd34')]=[];var _0x42c527=_0x226c13[_0x1cd3('0xd39')]()[_0x1cd3('0x486')]('Are\x20you\x20sure?')[_0x1cd3('0xd3b')]('The\x20faxAccount\x20will\x20be\x20deleted.')['ariaLabel'](_0x1cd3('0x18f0'))['ok'](_0x1cd3('0xd3f'))['cancel'](_0x1cd3('0x674'))[_0x1cd3('0xd63')](_0x19dda9);_0x226c13['show'](_0x42c527)[_0x1cd3('0x77')](function(){_0x4d6baa[_0x1cd3('0xaa4')]['delete']({'id':_0x17ccd9[_0x1cd3('0xaa4')]['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x17ccd9[_0x1cd3('0x15fa')],{'id':_0x17ccd9[_0x1cd3('0xaa4')]['id']});_0x47e185['success']({'title':_0x1cd3('0x18f1'),'msg':(_0x17ccd9[_0x1cd3('0xaa4')][_0x1cd3('0x98')]||_0x1cd3('0xaa4'))+_0x1cd3('0xd41')});_0x1463c6(_0x17ccd9[_0x1cd3('0xaa4')]);})[_0x1cd3('0xfd')](function(_0x163549){if(_0x163549[_0x1cd3('0x439')]&&_0x163549[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x163549[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')]){_0x17ccd9[_0x1cd3('0xd34')]=_0x163549[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x163549['toString'](),'type':_0x1cd3('0x18f2')}];for(var _0x2febd4=0x0;_0x2febd4<_0x163549[_0x1cd3('0x439')]['errors']['length'];_0x2febd4++){_0x47e185[_0x1cd3('0x434')]({'title':_0x163549['data'][_0x1cd3('0xd34')][_0x2febd4][_0x1cd3('0x424')],'msg':_0x163549[_0x1cd3('0x439')]['errors'][_0x2febd4][_0x1cd3('0x43a')]});}}else{_0x47e185[_0x1cd3('0x434')]({'title':_0x163549['status']?_0x1cd3('0x435')+_0x163549['status']+_0x1cd3('0x436')+_0x163549[_0x1cd3('0xd35')]:_0x1cd3('0x18f2'),'msg':_0x163549[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x163549['data'][_0x1cd3('0x43a')]):_0x163549['message']||_0x163549[_0x1cd3('0x43b')]()});}});},function(){});}function _0x4da82f(_0x3a5e8d){return _0x3a5e8d===null?undefined:new Date(_0x3a5e8d);}function _0x1463c6(_0x5d955b){_0x226c13[_0x1cd3('0x39d')](_0x5d955b);}}}());(function(){'use strict';_0x2c3764[_0x1cd3('0xc')]=[_0x1cd3('0x370'),'$mdDialog',_0x1cd3('0x372'),_0x1cd3('0x461'),_0x1cd3('0x56')];angular[_0x1cd3('0x0')](_0x1cd3('0x32'))[_0x1cd3('0x39b')](_0x1cd3('0x18f3'),_0x2c3764);function _0x2c3764(_0x52f601,_0x6660e9,_0x16a7cc,_0x5de3e2,_0x3c0246){var _0x8062bf=this;_0x8062bf['currentUser']=_0x3c0246[_0x1cd3('0x5d')]();_0x8062bf[_0x1cd3('0xaa4')]={};_0x8062bf['faxAccountApps']={'count':0x0,'rows':[]};_0x8062bf[_0x1cd3('0x18f4')]=[];_0x8062bf['crudPermissions'];_0x8062bf[_0x1cd3('0x3d4')]={'sort':'priority'};_0x8062bf[_0x1cd3('0x1210')]=_[_0x1cd3('0x3a7')](_[_0x1cd3('0x1211')]([{'app':_0x1cd3('0x1212'),'appType':_0x1cd3('0x77e'),'types':[_0x1cd3('0x1213'),_0x1cd3('0x8f6'),_0x1cd3('0x9d5')],'fields':[],'isApp':![]},{'app':_0x1cd3('0x3a9'),'appType':'noop','type':'noop','icon':_0x1cd3('0x1214'),'interval':'*,*,*,*','required':!![],'isApp':!![],'fields':[{'title':_0x1cd3('0x1215'),'name':_0x1cd3('0x3db'),'type':_0x1cd3('0x401'),'param':0x0}]},{'app':'system','appType':_0x1cd3('0xa13'),'type':_0x1cd3('0xa13'),'icon':'icon-apps','interval':'*,*,*,*','required':!![],'isApp':!![],'extraApi':[{'name':'variables','field':{'name':_0x1cd3('0xb84'),'key':_0x1cd3('0x98')},'route':_0x1cd3('0xb84'),'filters':{'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'nolimit':!![]},'permissions':{'section':0x3f4}}],'fields':[{'title':_0x1cd3('0x18f5'),'name':_0x1cd3('0xf0d'),'type':_0x1cd3('0x401'),'required':!![],'param':0x0},{'title':'Variable','name':_0x1cd3('0xb84'),'type':_0x1cd3('0x1218'),'values':'variables','value':_0x1cd3('0x1219'),'option':'variable.name','defaultValues':[{'value':'\x27\x27','option':_0x1cd3('0x18f6')}],'defaultValue':'\x27\x27','param':0x1}]},{'app':'gotop','appType':_0x1cd3('0x121a'),'type':_0x1cd3('0x121b'),'icon':_0x1cd3('0x1214'),'interval':'*,*,*,*','isApp':!![],'fields':[{'title':_0x1cd3('0x18f7'),'name':'priority','type':_0x1cd3('0x407'),'required':!![],'min':0x0,'param':0x0}]},{'app':_0x1cd3('0x121c'),'appType':_0x1cd3('0x121c'),'type':_0x1cd3('0x121c'),'icon':_0x1cd3('0x1214'),'interval':_0x1cd3('0x1216'),'isApp':!![],'fields':[{'title':_0x1cd3('0x121d'),'name':_0x1cd3('0xb65'),'type':_0x1cd3('0x401'),'required':!![],'param':0x0},{'title':_0x1cd3('0x121e'),'name':_0x1cd3('0x121e'),'type':_0x1cd3('0x407'),'min':0x1,'required':!![],'param':0x1},{'title':_0x1cd3('0x121f'),'name':_0x1cd3('0x121f'),'type':_0x1cd3('0x407'),'min':0x1,'required':!![],'param':0x2}]},{'app':_0x1cd3('0x1220'),'appType':_0x1cd3('0x1220'),'foreignKey':_0x1cd3('0x18f8'),'type':_0x1cd3('0x1220'),'icon':_0x1cd3('0x1214'),'interval':_0x1cd3('0x1216'),'isApp':!![],'extraApi':[{'name':'queues','field':{'name':_0x1cd3('0x1220'),'key':_0x1cd3('0x98')},'route':_0x1cd3('0xe1a'),'filters':{'fields':'id,name,type','sort':_0x1cd3('0x98'),'nolimit':!![]},'permissions':{'section':0x385}}],'fields':[{'title':'Queue','name':'queue','type':_0x1cd3('0x1218'),'values':'queues','value':_0x1cd3('0x1224'),'option':_0x1cd3('0x1224'),'defaultValue':0x12c,'required':!![],'param':0x0},{'title':_0x1cd3('0x1225'),'name':_0x1cd3('0x8fc'),'type':_0x1cd3('0x407'),'max':0x20c49b,'min':0x0,'defaultValue':0x12c,'required':!![],'param':0x1}]},{'app':_0x1cd3('0xd2'),'appType':_0x1cd3('0xd2'),'type':_0x1cd3('0xd2'),'foreignKey':_0x1cd3('0x1226'),'icon':_0x1cd3('0x1214'),'interval':_0x1cd3('0x1216'),'isApp':!![],'extraApi':[{'name':_0x1cd3('0x1228'),'field':{'name':'agent','key':_0x1cd3('0x98')},'route':_0x1cd3('0x368'),'filters':{'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'role':_0x1cd3('0xd2'),'nolimit':!![]},'permissions':{'section':0xca}}],'fields':[{'title':_0x1cd3('0x1227'),'name':_0x1cd3('0xd2'),'type':_0x1cd3('0x1218'),'values':_0x1cd3('0x1228'),'value':_0x1cd3('0x1229'),'option':_0x1cd3('0x1229'),'required':!![],'param':0x0},{'title':_0x1cd3('0x1225'),'name':'timeout','type':_0x1cd3('0x407'),'max':0x20c49b,'min':0x0,'required':!![],'defaultValue':0x1e,'param':0x1}]},{'app':_0x1cd3('0x3cf'),'appType':_0x1cd3('0x3cf'),'type':_0x1cd3('0x3cf'),'icon':_0x1cd3('0x1214'),'interval':_0x1cd3('0x1216'),'isApp':!![],'fields':[{'title':'Disposition','name':'disposition','type':_0x1cd3('0x401'),'required':!![],'param':0x0}]},{'app':'tag','appType':_0x1cd3('0xb76'),'type':_0x1cd3('0xb76'),'foreignKey':_0x1cd3('0x1230'),'icon':'icon-apps','interval':_0x1cd3('0x1216'),'isApp':!![],'extraApi':[{'name':'tags','field':{'name':_0x1cd3('0xb76'),'key':_0x1cd3('0x98')},'route':_0x1cd3('0xb76'),'filters':{'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'nolimit':!![]},'permissions':{'section':0x3f0}}],'fields':[{'title':_0x1cd3('0x1231'),'name':'tag','type':'apiselect','values':_0x1cd3('0x921'),'value':_0x1cd3('0x1232'),'option':_0x1cd3('0x1232'),'required':!![],'param':0x0}]}],['app']),{'isApp':![]});_0x8062bf['list']={'group':{'name':_0x1cd3('0x1250'),'pull':_0x1cd3('0x1141')},'animation':0x64,'sort':![]};_0x8062bf[_0x1cd3('0x18f9')]={'group':{'name':'opt2','put':_0x1cd3('0x1250')},'animation':0x64,'onAdd':function(_0x44b584){_0x197b03(_0x44b584,_0x44b584[_0x1cd3('0x18fa')]);},'onSort':function(_0x13c9f7){_0x35a637();}};_0x8062bf[_0x1cd3('0xe08')]=_0x183e21;_0x8062bf[_0x1cd3('0xe0a')]=_0x373cd1;_0x8062bf[_0x1cd3('0x18fb')]=_0x1332d5;_0x8062bf[_0x1cd3('0x18fc')]=_0x197b03;_0x8062bf[_0x1cd3('0x18fd')]=_0x225767;_0x8062bf[_0x1cd3('0x18fe')]=_0x11d722;_0x8062bf['deleteSelectedFaxAccountApps']=_0x3c684b;_0x8062bf[_0x1cd3('0x1254')]=_0x35a637;_0x8062bf[_0x1cd3('0x1257')]=_0x1ded67;function _0x183e21(_0x40ee43,_0x4e825a){_0x8062bf['faxAccount']=_0x40ee43;_0x8062bf['crudPermissions']=typeof _0x4e825a!==_0x1cd3('0x491')?_0x4e825a:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x8062bf[_0x1cd3('0x18f9')]['disabled']=!_0x8062bf[_0x1cd3('0xd27')][_0x1cd3('0xe3b')]?!![]:![];_0x8062bf[_0x1cd3('0x3d4')]['id']=_0x40ee43['id'];_0x8062bf[_0x1cd3('0x3d4')][_0x1cd3('0x1255')]=!![];_0x8062bf[_0x1cd3('0x3d4')][_0x1cd3('0x1256')]=!![];_0x8062bf[_0x1cd3('0x18fb')]();_0x8062bf[_0x1cd3('0x1257')]();}function _0x373cd1(_0x2997ba,_0x3a3eb2,_0x4d455e){var _0x525794=_0x6660e9[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x1258'))['htmlContent'](_0x1cd3('0xd51')+_0x2997ba[_0x1cd3('0xd0a')]+_0x1cd3('0xd52')+_0x1cd3('0xd53'))['ariaLabel'](_0x1cd3('0x1259'))[_0x1cd3('0xd63')](_0x4d455e)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x6660e9[_0x1cd3('0x37e')](_0x525794)[_0x1cd3('0x77')](function(){_0x8062bf[_0x1cd3('0x18ff')]['rows'][_0x1cd3('0x446')](_0x3a3eb2,0x1);_0x35a637();},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}function _0x197b03(_0x375df2,_0x4d82f4){if(_0x8062bf[_0x1cd3('0x18ff')][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){var _0x400823=_0x8062bf[_0x1cd3('0x18ff')][_0x1cd3('0xf6')][_0x4d82f4]?_0x8062bf[_0x1cd3('0x18ff')]['rows'][_0x4d82f4]:_0x8062bf[_0x1cd3('0x18ff')][_0x1cd3('0xf6')][0x0];_0x6660e9['show']({'controller':'EditFaxAccountApp'+(_0x400823[_0x1cd3('0x125b')]||_0x400823[_0x1cd3('0xd0a')])[_0x1cd3('0x433')]()+'DialogController','controllerAs':'vm','templateUrl':'app/main/apps/fax/views/faxAccounts/edit/apps/'+(_0x400823[_0x1cd3('0x125b')]||_0x400823[_0x1cd3('0xd0a')])[_0x1cd3('0x433')]()+_0x1cd3('0x125e'),'parent':angular['element'](_0x16a7cc[_0x1cd3('0x380')]),'targetEvent':_0x375df2,'clickOutsideToClose':!![],'locals':{'faxAccountApp':_0x400823,'faxAccount':_0x8062bf[_0x1cd3('0xaa4')],'crudPermissions':_0x8062bf[_0x1cd3('0xd27')]}})[_0x1cd3('0x77')](function(_0x4e4e7b){if(_0x4e4e7b){if(_0x4e4e7b['id']){_0x8062bf[_0x1cd3('0x18ff')][_0x1cd3('0xf6')][_0x4d82f4]=_0x4e4e7b;}else{_0x8062bf[_0x1cd3('0x18ff')][_0x1cd3('0xf6')][_0x1cd3('0x446')](_0x4d82f4,0x0,_0x4e4e7b);}_0x35a637();}})[_0x1cd3('0xfd')](function(_0x57296e){if(_0x57296e){_0x5de3e2[_0x1cd3('0x434')]({'title':_0x57296e[_0x1cd3('0x3a6')]?'API:'+_0x57296e[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x57296e['statusText']:_0x1cd3('0x125f'),'msg':_0x57296e[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x57296e[_0x1cd3('0x439')]):_0x57296e[_0x1cd3('0x43b')]()});}});}}function _0x225767(_0x5249ca,_0x504f54){if(_0x8062bf[_0x1cd3('0x18ff')][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){var _0x43366a=_0x8062bf[_0x1cd3('0x18ff')][_0x1cd3('0xf6')][_0x504f54]?_0x8062bf[_0x1cd3('0x18ff')][_0x1cd3('0xf6')][_0x504f54]:_0x8062bf[_0x1cd3('0x18ff')][_0x1cd3('0xf6')][0x0];_0x6660e9[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1900'),'controllerAs':'vm','templateUrl':'app/main/apps/fax/views/faxAccounts/edit/apps/interval/dialog.html','parent':angular[_0x1cd3('0x37f')](_0x16a7cc['body']),'targetEvent':_0x5249ca,'clickOutsideToClose':!![],'locals':{'interval':{'interval':_0x43366a[_0x1cd3('0x77e')],'IntervalId':_0x43366a[_0x1cd3('0xf4b')],'application':!![]},'intervals':[],'crudPermissions':_0x8062bf[_0x1cd3('0xd27')]}})['then'](function(_0x5dfab8){if(_0x5dfab8){_0x43366a[_0x1cd3('0x77e')]=_0x5dfab8[_0x1cd3('0x77e')]||_0x1cd3('0x1216');_0x43366a[_0x1cd3('0xf4b')]=_0x5dfab8[_0x1cd3('0xf4b')]||null;_0x35a637();}});}}function _0x35a637(){var _0x45d5b4=0x1;var _0x32bc39=[];for(var _0x1c3702=0x0,_0x2b841a=0x0;_0x1c3702<_0x8062bf[_0x1cd3('0x18ff')][_0x1cd3('0xf6')][_0x1cd3('0x7a')];_0x1c3702++,_0x2b841a=0x0){var _0x1953c0=_0x8062bf[_0x1cd3('0x18ff')]['rows'][_0x1c3702];var _0x412afe=[];var _0x3cf97b=[];_0x1953c0['intervals']=_0x1953c0[_0x1cd3('0x77e')]!==_0x1cd3('0x1216')?[_0x1953c0[_0x1cd3('0x77e')]]:_0x1953c0[_0x1cd3('0xf4b')]?_['map'](_[_0x1cd3('0x395')](_0x8062bf[_0x1cd3('0xef9')]['rows'],{'IntervalId':_0x1953c0[_0x1cd3('0xf4b')]}),_0x1cd3('0x77e')):[];_0x1953c0['context']=_0x8062bf['faxAccount'][_0x1cd3('0xf0a')];_0x1953c0[_0x1cd3('0x1261')]=_0x8062bf['faxAccount']['exten'];if(_0x1953c0[_0x1cd3('0x424')]){_0x1953c0[_0x1cd3('0x424')]=_0x1953c0[_0x1cd3('0x424')]['toLowerCase']();}_0x1953c0[_0x1cd3('0xf0c')]=_0x412afe['length']?_['last'](_0x412afe)['priority']+0x1:_0x45d5b4;_0x45d5b4=(_0x3cf97b[_0x1cd3('0x7a')]?_[_0x1cd3('0x5df')](_0x3cf97b)[_0x1cd3('0xf0c')]:_0x1953c0[_0x1cd3('0xf0c')])+0x1;_0x32bc39=_[_0x1cd3('0x3ae')](_0x32bc39,_0x412afe,[_0x1953c0],_0x3cf97b);}_0x52f601['faxAccount']['addApplications']({'id':_0x8062bf[_0x1cd3('0xaa4')]['id']},_['sortBy'](_0x32bc39,_0x1cd3('0xf0c')))[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x28e03a){_0x8062bf[_0x1cd3('0x18ff')][_0x1cd3('0xf6')]=_0x28e03a['rows'];})[_0x1cd3('0xfd')](function(_0x3ca574){console['error'](_0x3ca574);});}function _0x13be41(_0x4e1712){_0x8062bf['faxAccountApps']=_0x4e1712||{'count':0x0,'rows':[]};}function _0x1ded67(){return _0x52f601[_0x1cd3('0x77e')][_0x1cd3('0x361')]({'fields':'id,interval,IntervalId'})[_0x1cd3('0x81')]['then'](function(_0x482d68){_0x8062bf['intervals']=_0x482d68;})[_0x1cd3('0xfd')](function(_0x4ed915){console[_0x1cd3('0x434')](_0x4ed915);});}function _0x1332d5(){_0x8062bf[_0x1cd3('0x539')]=_0x52f601[_0x1cd3('0xaa4')]['getApplications'](_0x8062bf['query'],_0x13be41)[_0x1cd3('0x81')];}function _0x11d722(_0x5c0941){_['remove'](_0x8062bf[_0x1cd3('0x18ff')][_0x1cd3('0xf6')],{'id':_0x5c0941['id']});_0x35a637();_0x5de3e2[_0x1cd3('0x473')]({'title':'App\x20deleted!','msg':_0x5c0941[_0x1cd3('0xd0a')]?_0x5c0941['app']+'\x20has\x20been\x20deleted!':''});}function _0x3c684b(_0x46dcaf){var _0x375e48=_0x6660e9[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x1265'))[_0x1cd3('0xd60')]('<b>'+_0x8062bf[_0x1cd3('0x18f4')][_0x1cd3('0x7a')]+_0x1cd3('0xd61')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')]('delete\x20applications')[_0x1cd3('0xd63')](_0x46dcaf)['ok']('OK')['cancel'](_0x1cd3('0xd55'));_0x6660e9[_0x1cd3('0x37e')](_0x375e48)[_0x1cd3('0x77')](function(){_0x8062bf['selectedFaxAccountApps']['forEach'](function(_0x47a3c3){_['remove'](_0x8062bf[_0x1cd3('0x18ff')][_0x1cd3('0xf6')],{'id':_0x47a3c3['id']});});_0x8062bf['selectedFaxAccountApps']=[];_0x35a637();});}}}());(function(){'use strict';_0x2b1a85[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),'$q','toasty',_0x1cd3('0x370'),'faxAccount',_0x1cd3('0x15fa'),_0x1cd3('0x11b9'),'$translate',_0x1cd3('0x56'),_0x1cd3('0xd27')];angular['module'](_0x1cd3('0x32'))['controller'](_0x1cd3('0x1901'),_0x2b1a85);function _0x2b1a85(_0x2d4e02,_0x5d03a7,_0x13dc49,_0x1782df,_0x1abb5e,_0x31d18d,_0x5c6c89,_0xf0e2e0,_0x31d15e,_0x2e8061){var _0x332ee5=this;_0x332ee5[_0x1cd3('0x3ca')]=_0x31d15e[_0x1cd3('0x5d')]();_0x332ee5['faxAccount']=_0x1abb5e;_0x332ee5['crudPermissions']=_0x2e8061;_0x332ee5[_0x1cd3('0x11b9')]=_0x5c6c89;_0x332ee5[_0x1cd3('0x493')]=[];_0x332ee5[_0x1cd3('0x11ba')]=[];_0x332ee5[_0x1cd3('0x492')]=[];_0x332ee5[_0x1cd3('0x11bb')]=[];_0x332ee5[_0x1cd3('0x11be')]=[];_0x332ee5[_0x1cd3('0x11c6')]=![];_0x332ee5[_0x1cd3('0x703')]=_0x5b793f;_0x332ee5['saveAgents']=_0x1049f8;_0x332ee5['closeDialog']=_0x1993ad;_0x332ee5[_0x1cd3('0x1145')]={'readOnly':!_0x332ee5['crudPermissions']['canEdit'],'items':[],'selectedItems':[],'showSelectAndDeselectAll':!![],'orderBy':'name','line1':'fullname','line2':[_0x1cd3('0x98'),'internal'],'line3':'','labelAll':_0xf0e2e0[_0x1cd3('0x44a')]('FAX.ALL_AGENTS'),'labelSelected':_0xf0e2e0[_0x1cd3('0x44a')]('FAX.SELECTED_AGENTS'),'transferCallback':function(_0x179b5d,_0x44414f){var _0x391554=_['xorBy'](_0x332ee5[_0x1cd3('0x11be')],_0x332ee5[_0x1cd3('0x492')],'id');_0x332ee5['pendingChanges']=_[_0x1cd3('0x398')](_0x391554)?![]:!![];}};function _0x5b793f(){return _0x31d15e[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x1df0be()[_0x1cd3('0xfd')](function(_0x3aba89){_0x13dc49[_0x1cd3('0x434')]({'title':_0x3aba89[_0x1cd3('0x3a6')]?'API:'+_0x3aba89[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x3aba89[_0x1cd3('0xd35')]:_0x1cd3('0x11bf'),'msg':_0x3aba89[_0x1cd3('0x3a6')]?JSON[_0x1cd3('0x438')](_0x3aba89['data']):_0x3aba89[_0x1cd3('0x43b')]()});}):_0x5a925e()[_0x1cd3('0x77')](function(_0x2834a9){_0x332ee5[_0x1cd3('0xd58')]=_0x2834a9;return _0x1df0be();})[_0x1cd3('0xfd')](function(_0x1959ce){_0x13dc49['error']({'title':_0x1959ce[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x1959ce[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x1959ce[_0x1cd3('0xd35')]:_0x1cd3('0x11bf'),'msg':_0x1959ce['status']?JSON[_0x1cd3('0x438')](_0x1959ce[_0x1cd3('0x439')]):_0x1959ce[_0x1cd3('0x43b')]()});});}function _0x5a925e(){return _0x5d03a7(function(_0x5a6079,_0x5d0964){_0x1782df[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x332ee5[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'name':_0x1cd3('0xd4')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x55df27){var _0x33d65d=_0x55df27&&_0x55df27['rows']?_0x55df27[_0x1cd3('0xf6')][0x0]:null;_0x5a6079(_0x33d65d);})[_0x1cd3('0xfd')](function(_0x445940){_0x5d0964(_0x445940);});});}function _0x1df0be(){return _0x5d03a7(function(_0x948146,_0x59072d){return _0x3f0425()[_0x1cd3('0x77')](function(_0x4d7425){_0x332ee5['items']=_0x4d7425['rows']?_0x4d7425[_0x1cd3('0xf6')]:[];if(_0x31d15e[_0x1cd3('0x57')](_0x1cd3('0x5f'))){return _0x4d7425;}else{if(_0x332ee5[_0x1cd3('0xd58')]){return _0x332ee5[_0x1cd3('0xd58')][_0x1cd3('0x391')]?_0x4d7425:_0x2a54a8();}else{return null;}}})['then'](function(_0x4391f){var _0x1c88a5=_0x4391f&&_0x4391f[_0x1cd3('0xf6')]?_0x4391f[_0x1cd3('0xf6')]:[];_0x332ee5[_0x1cd3('0x11ba')]=_[_0x1cd3('0x3d9')](_0x1c88a5,function(_0x5a9161){return _[_0x1cd3('0x442')](_0x332ee5['items'],{'id':_0x31d15e[_0x1cd3('0x57')]('admin')||_0x332ee5[_0x1cd3('0xd58')][_0x1cd3('0x391')]?_0x5a9161['id']:_0x5a9161[_0x1cd3('0xe8e')]});});_0x332ee5['startingAllowedItems']=angular['copy'](_0x332ee5['allowedItems']);_0x332ee5[_0x1cd3('0x493')][_0x1cd3('0x394')](function(_0x3c36eb){var _0x58fdf6=_['find'](_0x332ee5['allowedItems'],{'id':_0x3c36eb['id']});if(_0x31d15e[_0x1cd3('0x57')](_0x1cd3('0x5f'))){_0x3c36eb['isValid']=!![];}else{_0x3c36eb[_0x1cd3('0x490')]=typeof _0x58fdf6!==_0x1cd3('0x491')?!![]:![];}});return _0x9b1f0a();})['then'](function(_0x67f2c1){var _0x3b47d7=_0x67f2c1&&_0x67f2c1[_0x1cd3('0xf6')]?_0x67f2c1[_0x1cd3('0xf6')]:[];_0x332ee5[_0x1cd3('0x492')]=_[_0x1cd3('0x3d9')](_0x3b47d7,function(_0x566855){var _0x337fbd=_[_0x1cd3('0x442')](_0x332ee5[_0x1cd3('0x493')],{'id':_0x566855['id']});_0x337fbd[_0x1cd3('0x1146')]=_0x566855['UserFaxAccount']?'penalty\x20'+_0x566855[_0x1cd3('0x1902')][_0x1cd3('0x1146')]:'';_0x337fbd[_0x1cd3('0x311')]=_0x566855['hasOwnProperty'](_0x1cd3('0x311'))?'<'+_0x566855['internal']+'>':'';return _0x337fbd;});_0x332ee5['startingSelectedItems']=angular[_0x1cd3('0x429')](_0x332ee5[_0x1cd3('0x492')]);_0x332ee5['dualMultiselectOptions'][_0x1cd3('0x492')]=_0x332ee5[_0x1cd3('0x492')];_0x332ee5[_0x1cd3('0x1145')][_0x1cd3('0x493')]=_[_0x1cd3('0x1152')](_0x332ee5[_0x1cd3('0x11ba')],_0x332ee5[_0x1cd3('0x1145')]['selectedItems'],'id');_0x948146();})[_0x1cd3('0xfd')](function(_0x3ffac5){_0x59072d(_0x3ffac5);});});}function _0x2a54a8(){return _0x5d03a7(function(_0x46180f,_0x29b245){return _0x1782df[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x332ee5[_0x1cd3('0xd58')]['id'],'nolimit':!![]})['$promise'][_0x1cd3('0x77')](function(_0x591560){_0x46180f(_0x591560);})[_0x1cd3('0xfd')](function(_0x301615){_0x29b245(_0x301615);});});}function _0x9b1f0a(){return _0x5d03a7(function(_0x295f57,_0x3f0a4b){return _0x1782df['faxAccount'][_0x1cd3('0x1269')]({'id':_0x332ee5[_0x1cd3('0xaa4')]['id'],'fields':'id,name,internal,fullname','nolimit':!![],'role':'agent'})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0xd310a5){_0x295f57(_0xd310a5);})['catch'](function(_0x333671){_0x3f0a4b(_0x333671);});});}function _0x3f0425(){return _0x5d03a7(function(_0x28575c,_0x54a17b){return _0x1782df[_0x1cd3('0x368')][_0x1cd3('0x361')]({'fields':_0x1cd3('0x11c1'),'nolimit':!![],'role':_0x1cd3('0xd2')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x15460c){_0x28575c(_0x15460c);})[_0x1cd3('0xfd')](function(_0x578ec9){_0x54a17b(_0x578ec9);});});}function _0xbf37b7(_0x3c3150){return _0x5d03a7(function(_0x1c14d7,_0x2f4321){if(_[_0x1cd3('0x398')](_0x3c3150)){_0x1c14d7();}else{_0x1782df[_0x1cd3('0xaa4')]['addAgents']({'id':_0x332ee5[_0x1cd3('0xaa4')]['id'],'ids':_['map'](_0x3c3150,'id')})['$promise'][_0x1cd3('0x77')](function(){_0x1c14d7();})['catch'](function(_0x2e25db){_0x2f4321(_0x2e25db);});}});}function _0x310788(_0x10637a){return _0x5d03a7(function(_0x414989,_0x38741a){if(_[_0x1cd3('0x398')](_0x10637a)){_0x414989();}else{_0x1782df['faxAccount']['removeAgents']({'id':_0x332ee5[_0x1cd3('0xaa4')]['id'],'ids':_[_0x1cd3('0x3d9')](_0x10637a,'id')})[_0x1cd3('0x81')]['then'](function(){_0x414989();})[_0x1cd3('0xfd')](function(_0x526d82){_0x38741a(_0x526d82);});}});}function _0x1049f8(){var _0x5eff6f=_[_0x1cd3('0x1152')](_0x332ee5[_0x1cd3('0x11be')],_0x332ee5[_0x1cd3('0x492')],'id');var _0x3eec95=_[_0x1cd3('0x1152')](_0x332ee5[_0x1cd3('0x492')],_0x332ee5[_0x1cd3('0x11be')],'id');return _0x310788(_0x5eff6f)[_0x1cd3('0x77')](function(){return _0xbf37b7(_0x3eec95);})[_0x1cd3('0x77')](function(){_0x332ee5[_0x1cd3('0x11c6')]=![];_0x332ee5[_0x1cd3('0x11bb')]=angular['copy'](_0x332ee5['allowedItems']);_0x332ee5['startingSelectedItems']=angular[_0x1cd3('0x429')](_0x332ee5['selectedItems']);_0x13dc49['success']({'title':_0x1cd3('0x11c4'),'msg':_0x1cd3('0x11c5')});})['catch'](function(_0x1ffe83){_0x13dc49['error']({'title':_0x1ffe83['status']?'API:'+_0x1ffe83['status']+'\x20-\x20'+_0x1ffe83[_0x1cd3('0xd35')]:_0x1cd3('0x11ce'),'msg':_0x1ffe83['status']?JSON[_0x1cd3('0x438')](_0x1ffe83[_0x1cd3('0x439')]):_0x1ffe83[_0x1cd3('0x43b')]()});});}function _0x1993ad(){_0x2d4e02['hide']();}}}());(function(){'use strict';_0x1d4936['$inject']=[_0x1cd3('0x3c5'),'$q','toasty',_0x1cd3('0x1903'),_0x1cd3('0xaa4'),_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')]('app.fax')[_0x1cd3('0x39b')](_0x1cd3('0x1904'),_0x1d4936);function _0x1d4936(_0x320696,_0x3fa5fe,_0x36f519,_0x23deae,_0xa841cf,_0x4b77c7,_0x1ebcc5,_0x428093){var _0xb56a28=this;_0xb56a28[_0x1cd3('0x3ca')]=_0x1ebcc5[_0x1cd3('0x5d')]();_0xb56a28['errors']=[];_0xb56a28[_0x1cd3('0x486')]=_0x1cd3('0x1905')+(_0x23deae[_0x1cd3('0x125b')]||_0x23deae[_0x1cd3('0xd0a')])[_0x1cd3('0x437')]();_0xb56a28[_0x1cd3('0xd2')]=angular[_0x1cd3('0x429')](_0x23deae);_0xb56a28[_0x1cd3('0xd27')]=_0x428093;_0xb56a28[_0x1cd3('0xd28')]={};if(_0xb56a28[_0x1cd3('0xd2')][_0x1cd3('0x127d')]){switch(_0xb56a28[_0x1cd3('0xd2')][_0x1cd3('0x125b')]?_0xb56a28[_0x1cd3('0xd2')]['appType'][_0x1cd3('0x433')]():_0xb56a28[_0x1cd3('0xd2')]['app'][_0x1cd3('0x433')]()){case'custom':break;case'dialogflow':var _0x36b6a8=_0xb56a28[_0x1cd3('0xd2')]['appdata'][_0x1cd3('0x3ef')](',');_0xb56a28['agent'][_0x1cd3('0x65c')]=_0x36b6a8[0x0];_0xb56a28[_0x1cd3('0xd2')][_0x1cd3('0x3f3')]=_0x36b6a8[0x1];_0xb56a28[_0x1cd3('0xd2')]['welcomemessage']=_0x36b6a8[_0x1cd3('0x9a2')](0x2,_0x36b6a8[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case'amazonlex':var _0x36b6a8=_0xb56a28[_0x1cd3('0xd2')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0xb56a28[_0x1cd3('0xd2')]['accesskeyid']=_0x36b6a8[0x0];_0xb56a28[_0x1cd3('0xd2')][_0x1cd3('0x1249')]=_0x36b6a8[0x1];_0xb56a28['agent']['lexregion']=_0x36b6a8[0x2];_0xb56a28[_0x1cd3('0xd2')][_0x1cd3('0x124f')]=_0x36b6a8[0x3];_0xb56a28['agent'][_0x1cd3('0x1246')]=_0x36b6a8[_0x1cd3('0x9a2')](0x4,_0x36b6a8[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x122b'):var _0x36b6a8=_0xb56a28[_0x1cd3('0xd2')]['appdata'][_0x1cd3('0x3ef')](',');_0xb56a28[_0x1cd3('0xd2')][_0x1cd3('0x122c')]=isNaN(_0x36b6a8[0x0])?_0x36b6a8[0x0]:parseInt(_0x36b6a8[0x0],0xa);_0xb56a28[_0x1cd3('0xd2')][_0x1cd3('0x401')]=_0x36b6a8[_0x1cd3('0x9a2')](0x1,_0x36b6a8[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case'message':_0xb56a28[_0x1cd3('0xd2')][_0x1cd3('0x401')]=_0xb56a28[_0x1cd3('0xd2')][_0x1cd3('0x127d')];break;case'set':_0xb56a28[_0x1cd3('0xd2')][_0x1cd3('0x98')]=_0xb56a28[_0x1cd3('0xd2')]['appdata'][_0x1cd3('0x3ef')]('=')[0x0];_0xb56a28[_0x1cd3('0xd2')][_0x1cd3('0x3db')]=_0xb56a28[_0x1cd3('0xd2')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x1];break;case _0x1cd3('0x128c'):_0xb56a28['agent'][_0x1cd3('0xedd')]=_0xb56a28[_0x1cd3('0xd2')][_0x1cd3('0x127d')];break;default:var _0x3c90f3=_0xb56a28[_0x1cd3('0xd2')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0xb56a28['agent']['agent']=_[_0x1cd3('0x398')](_0x3c90f3[0x0])?_0x3c90f3[0x0]:isNaN(_0x3c90f3[0x0])?_0x3c90f3[0x0]:parseInt(_0x3c90f3[0x0],0xa);_0xb56a28[_0x1cd3('0xd2')][_0x1cd3('0x8fc')]=_[_0x1cd3('0x398')](_0x3c90f3[0x1])?_0x3c90f3[0x1]:isNaN(_0x3c90f3[0x1])?_0x3c90f3[0x1]:parseInt(_0x3c90f3[0x1],0xa);}}else{_0xb56a28[_0x1cd3('0xd2')][_0x1cd3('0x8fc')]=0x1e;}if(_0xb56a28['agent']['type']&&_0xb56a28[_0x1cd3('0xd2')][_0x1cd3('0x424')][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0xb56a28[_0x1cd3('0xd2')][_0x1cd3('0x125b')][_0x1cd3('0x433')]()===_0x1cd3('0x1289')){_0xb56a28['agent'][_0x1cd3('0x6aa')]=_0xb56a28['agent'][_0x1cd3('0xf09')]?_0xb56a28[_0x1cd3('0xd2')][_0x1cd3('0xf09')][_0x1cd3('0x3ef')]('$')[0x0]:undefined;_0xb56a28[_0x1cd3('0xd2')][_0x1cd3('0x689')]=_0xb56a28['agent'][_0x1cd3('0x127f')]?_0x1cd3('0x1280')+_0xb56a28[_0x1cd3('0xd2')]['callerID']:undefined;}_0xb56a28[_0x1cd3('0x1906')]=_0x48d193;_0xb56a28[_0x1cd3('0x39c')]=_0x6c3c1b;_0x1ebcc5[_0x1cd3('0x57')]('admin')?_0x4b77c7[_0x1cd3('0x368')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':'name','role':_0x1cd3('0xd2'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x1172d6){_0xb56a28[_0x1cd3('0x1228')]=_0x1172d6[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x10e7f1){_0x36f519['error']({'title':_0x10e7f1[_0x1cd3('0x3a6')]?'API:'+_0x10e7f1['status']+'\x20-\x20'+_0x10e7f1[_0x1cd3('0xd35')]:_0x1cd3('0x11bf'),'msg':_0x10e7f1[_0x1cd3('0x439')]?JSON['stringify'](_0x10e7f1[_0x1cd3('0x439')]):_0x10e7f1[_0x1cd3('0x43b')]()});}):_0x4b77c7[_0x1cd3('0x368')]['get']({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'role':_0x1cd3('0xd2'),'nolimit':'true'})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x279286){_0xb56a28[_0x1cd3('0x1228')]=_0x279286[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x4b77c7[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0xb56a28[_0x1cd3('0x3ca')]['userProfileId'],'sectionId':0xca})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x5daa69){var _0x4951d6=_0x5daa69&&_0x5daa69[_0x1cd3('0xf6')]?_0x5daa69[_0x1cd3('0xf6')][0x0]:null;if(!_0x4951d6){var _0x3e4bc1=[];var _0xb2557a=null;if(_0xb56a28[_0x1cd3('0xd2')]){_0xb2557a=_[_0x1cd3('0x442')](_0xb56a28['agents'],{'name':_0xb56a28[_0x1cd3('0xd2')][_0x1cd3('0xd2')]});}for(var _0x301c36=0x0;_0x301c36<_0xb56a28[_0x1cd3('0x1228')][_0x1cd3('0x7a')];_0x301c36++){if(_0xb2557a&&_0xb56a28[_0x1cd3('0x1228')][_0x301c36]['id']===_0xb2557a['id']){_0xb56a28[_0x1cd3('0x1228')][_0x301c36][_0x1cd3('0xf4a')]=![];_0x3e4bc1[_0x1cd3('0x7b')](_0xb56a28['agents'][_0x301c36]);}}_0xb56a28['agents']=_0x3e4bc1;}else{if(!_0x4951d6[_0x1cd3('0x391')]){return _0x4b77c7[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x4951d6['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x281231){var _0x335ae9=_[_0x1cd3('0x3d9')](_0x281231[_0x1cd3('0xf6')],function(_0x222ea7){return _[_0x1cd3('0x442')](_0xb56a28[_0x1cd3('0x1228')],{'id':_0x222ea7[_0x1cd3('0xe8e')]});});var _0x1ef232=null;if(_0xb56a28[_0x1cd3('0xd2')]){_0x1ef232=_[_0x1cd3('0x442')](_0xb56a28[_0x1cd3('0x1228')],{'name':_0xb56a28[_0x1cd3('0xd2')][_0x1cd3('0xd2')]});}if(_0x1ef232&&!_[_0x1cd3('0x38d')](_0x335ae9,['id',_0x1ef232['id']])){var _0x279d3a=_['find'](_0xb56a28[_0x1cd3('0x1228')],{'id':_0x1ef232['id']});_0x279d3a[_0x1cd3('0xf4a')]=![];_0x335ae9[_0x1cd3('0x7b')](_0x279d3a);}_0xb56a28['agents']=_0x335ae9;});}}})[_0x1cd3('0xfd')](function(_0x51a57c){_0x36f519[_0x1cd3('0x434')]({'title':_0x51a57c[_0x1cd3('0x3a6')]?'API:'+_0x51a57c[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x51a57c['statusText']:'SYSTEM:GETagents','msg':_0x51a57c['data']?JSON['stringify'](_0x51a57c[_0x1cd3('0x439')]):_0x51a57c[_0x1cd3('0x43b')]()});});function _0x48d193(){_0xb56a28[_0x1cd3('0xd34')]=[];var _0x2f6391=[];if(_0xb56a28[_0x1cd3('0xd2')][_0x1cd3('0x424')]&&_0xb56a28[_0x1cd3('0xd2')]['type'][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0xb56a28['agent'][_0x1cd3('0x125b')]===_0x1cd3('0x1283')){_0xb56a28['agent'][_0x1cd3('0xf09')]=_0xa841cf['cutdigits']?(_0xb56a28[_0x1cd3('0xd2')][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x1284')+_0xa841cf[_0x1cd3('0x128a')]+'}':(_0xb56a28[_0x1cd3('0xd2')][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x128d');if(_0xa841cf[_0x1cd3('0x1285')]!==_0x1cd3('0x6ae')){if(_0xb56a28[_0x1cd3('0xd2')]['options'][_0x1cd3('0x45e')](_0x1cd3('0x1286'))<0x0){_0xb56a28['agent'][_0x1cd3('0x422')]+='U(xcally-mixmonitor-context)';}}else{_0xb56a28[_0x1cd3('0xd2')][_0x1cd3('0x422')]=_0xb56a28[_0x1cd3('0xd2')][_0x1cd3('0x422')]['replace'](_0x1cd3('0x1286'),'');}}var _0x16b9f0=_[_0x1cd3('0x442')](_0xb56a28[_0x1cd3('0x1228')],{'name':_0xb56a28[_0x1cd3('0xd2')][_0x1cd3('0xd2')]});if(_0x16b9f0){_0xb56a28[_0x1cd3('0xd2')][_0x1cd3('0x1226')]=_0x16b9f0['id'];}if(_0xb56a28[_0x1cd3('0xd2')][_0x1cd3('0x125b')]&&_0xb56a28[_0x1cd3('0xd2')][_0x1cd3('0x125b')]===_0x1cd3('0x8f6')){}else{switch((_0xb56a28[_0x1cd3('0xd2')]['app']||_0xb56a28[_0x1cd3('0xd2')][_0x1cd3('0x125b')])[_0x1cd3('0x433')]()){case _0x1cd3('0x127e'):_0xb56a28[_0x1cd3('0xd2')][_0x1cd3('0x127d')]=_0xb56a28['agent'][_0x1cd3('0x98')]+'='+_0xb56a28['agent'][_0x1cd3('0x3db')];break;case'custom':break;default:_0x2f6391[0x0]=_0xb56a28['agent'][_0x1cd3('0xd2')];_0x2f6391[0x1]=_0xb56a28[_0x1cd3('0xd2')][_0x1cd3('0x8fc')];_0xb56a28['agent']['appdata']=_0x2f6391['join'](',');}}_0x6c3c1b(_0xb56a28[_0x1cd3('0xd2')]);}function _0x6c3c1b(_0x2a3748){_0x320696[_0x1cd3('0x39d')](_0x2a3748);}}}());(function(){'use strict';_0x214203[_0x1cd3('0xc')]=['$mdDialog','$q',_0x1cd3('0x461'),_0x1cd3('0x1903'),'faxAccount',_0x1cd3('0x370'),'Auth',_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x32'))[_0x1cd3('0x39b')](_0x1cd3('0x1907'),_0x214203);function _0x214203(_0x417d71,_0x57e839,_0x3c9ad3,_0x5759fd,_0x6684cd,_0x36deb5,_0xcd78d5,_0x3e0cc3){var _0x98fae=this;_0x98fae[_0x1cd3('0x3ca')]=_0xcd78d5['getCurrentUser']();_0x98fae[_0x1cd3('0xd34')]=[];_0x98fae['title']=_0x1cd3('0x1905')+(_0x5759fd[_0x1cd3('0x125b')]||_0x5759fd[_0x1cd3('0xd0a')])[_0x1cd3('0x437')]();_0x98fae[_0x1cd3('0x3cf')]=angular[_0x1cd3('0x429')](_0x5759fd);_0x98fae[_0x1cd3('0xd27')]=_0x3e0cc3;_0x98fae['hasModulePermissions']={};if(_0x98fae[_0x1cd3('0x3cf')]['appdata']){switch(_0x98fae['close'][_0x1cd3('0x125b')]?_0x98fae[_0x1cd3('0x3cf')][_0x1cd3('0x125b')][_0x1cd3('0x433')]():_0x98fae[_0x1cd3('0x3cf')][_0x1cd3('0xd0a')][_0x1cd3('0x433')]()){case _0x1cd3('0x8f6'):break;case _0x1cd3('0x1233'):var _0x39446b=_0x98fae[_0x1cd3('0x3cf')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x98fae['close'][_0x1cd3('0x65c')]=_0x39446b[0x0];_0x98fae[_0x1cd3('0x3cf')][_0x1cd3('0x3f3')]=_0x39446b[0x1];_0x98fae[_0x1cd3('0x3cf')][_0x1cd3('0x1246')]=_0x39446b[_0x1cd3('0x9a2')](0x2,_0x39446b[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x1247'):var _0x39446b=_0x98fae[_0x1cd3('0x3cf')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x98fae['close'][_0x1cd3('0x1248')]=_0x39446b[0x0];_0x98fae['close']['secretaccesskey']=_0x39446b[0x1];_0x98fae[_0x1cd3('0x3cf')]['lexregion']=_0x39446b[0x2];_0x98fae[_0x1cd3('0x3cf')][_0x1cd3('0x124f')]=_0x39446b[0x3];_0x98fae['close'][_0x1cd3('0x1246')]=_0x39446b[_0x1cd3('0x9a2')](0x4,_0x39446b[_0x1cd3('0x7a')])['join'](',');break;case _0x1cd3('0x122b'):var _0x39446b=_0x98fae[_0x1cd3('0x3cf')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x98fae[_0x1cd3('0x3cf')]['times']=isNaN(_0x39446b[0x0])?_0x39446b[0x0]:parseInt(_0x39446b[0x0],0xa);_0x98fae[_0x1cd3('0x3cf')][_0x1cd3('0x401')]=_0x39446b[_0x1cd3('0x9a2')](0x1,_0x39446b['length'])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x43a'):_0x98fae[_0x1cd3('0x3cf')][_0x1cd3('0x401')]=_0x98fae['close'][_0x1cd3('0x127d')];break;case _0x1cd3('0x127e'):_0x98fae[_0x1cd3('0x3cf')][_0x1cd3('0x98')]=_0x98fae[_0x1cd3('0x3cf')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x0];_0x98fae[_0x1cd3('0x3cf')][_0x1cd3('0x3db')]=_0x98fae[_0x1cd3('0x3cf')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x1];break;case _0x1cd3('0x128c'):_0x98fae[_0x1cd3('0x3cf')][_0x1cd3('0xedd')]=_0x98fae['close']['appdata'];break;default:var _0x3eca43=_0x98fae[_0x1cd3('0x3cf')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x98fae[_0x1cd3('0x3cf')][_0x1cd3('0xb63')]=_[_0x1cd3('0x398')](_0x3eca43[0x0])?_0x3eca43[0x0]:isNaN(_0x3eca43[0x0])?_0x3eca43[0x0]:parseInt(_0x3eca43[0x0],0xa);}}else{}if(_0x98fae['close'][_0x1cd3('0x424')]&&_0x98fae['close'][_0x1cd3('0x424')][_0x1cd3('0x433')]()==='outbound'&&_0x98fae[_0x1cd3('0x3cf')]['appType'][_0x1cd3('0x433')]()===_0x1cd3('0x1289')){_0x98fae[_0x1cd3('0x3cf')][_0x1cd3('0x6aa')]=_0x98fae[_0x1cd3('0x3cf')][_0x1cd3('0xf09')]?_0x98fae['close'][_0x1cd3('0xf09')]['split']('$')[0x0]:undefined;_0x98fae[_0x1cd3('0x3cf')][_0x1cd3('0x689')]=_0x98fae[_0x1cd3('0x3cf')][_0x1cd3('0x127f')]?'CALLERID(all)='+_0x98fae[_0x1cd3('0x3cf')][_0x1cd3('0x127f')]:undefined;}_0x98fae[_0x1cd3('0x1906')]=_0x34f56c;_0x98fae[_0x1cd3('0x39c')]=_0x378505;function _0x34f56c(){_0x98fae['errors']=[];var _0x40d4dc=[];if(_0x98fae[_0x1cd3('0x3cf')]['type']&&_0x98fae[_0x1cd3('0x3cf')][_0x1cd3('0x424')]['toLowerCase']()==='outbound'&&_0x98fae['close'][_0x1cd3('0x125b')]===_0x1cd3('0x1283')){_0x98fae[_0x1cd3('0x3cf')]['phone']=_0x6684cd[_0x1cd3('0x128a')]?(_0x98fae[_0x1cd3('0x3cf')][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x1284')+_0x6684cd['cutdigits']+'}':(_0x98fae[_0x1cd3('0x3cf')][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x128d');if(_0x6684cd[_0x1cd3('0x1285')]!==_0x1cd3('0x6ae')){if(_0x98fae['close']['options'][_0x1cd3('0x45e')](_0x1cd3('0x1286'))<0x0){_0x98fae['close']['options']+='U(xcally-mixmonitor-context)';}}else{_0x98fae[_0x1cd3('0x3cf')][_0x1cd3('0x422')]=_0x98fae[_0x1cd3('0x3cf')]['options'][_0x1cd3('0x3f1')](_0x1cd3('0x1286'),'');}}if(_0x98fae[_0x1cd3('0x3cf')]['appType']&&_0x98fae[_0x1cd3('0x3cf')][_0x1cd3('0x125b')]===_0x1cd3('0x8f6')){}else{switch((_0x98fae[_0x1cd3('0x3cf')][_0x1cd3('0xd0a')]||_0x98fae['close'][_0x1cd3('0x125b')])[_0x1cd3('0x433')]()){case _0x1cd3('0x127e'):_0x98fae[_0x1cd3('0x3cf')]['appdata']=_0x98fae[_0x1cd3('0x3cf')][_0x1cd3('0x98')]+'='+_0x98fae[_0x1cd3('0x3cf')][_0x1cd3('0x3db')];break;case _0x1cd3('0x8f6'):break;default:_0x40d4dc[0x0]=_0x98fae[_0x1cd3('0x3cf')]['disposition'];_0x98fae[_0x1cd3('0x3cf')][_0x1cd3('0x127d')]=_0x40d4dc[_0x1cd3('0x3de')](',');}}_0x378505(_0x98fae[_0x1cd3('0x3cf')]);}function _0x378505(_0x3ed1ef){_0x417d71['hide'](_0x3ed1ef);}}}());(function(){'use strict';_0x2ce0bd['$inject']=[_0x1cd3('0x3c5'),'$q','toasty',_0x1cd3('0x1903'),_0x1cd3('0xaa4'),_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0xd27')];angular['module'](_0x1cd3('0x32'))[_0x1cd3('0x39b')]('EditFaxAccountAppgotoifDialogController',_0x2ce0bd);function _0x2ce0bd(_0x296da7,_0x2f63a3,_0x5e4005,_0x41680a,_0x176a28,_0x1edde4,_0x5745a3,_0x4ffdd6){var _0x1003e2=this;_0x1003e2['currentUser']=_0x5745a3[_0x1cd3('0x5d')]();_0x1003e2[_0x1cd3('0xd34')]=[];_0x1003e2[_0x1cd3('0x486')]=_0x1cd3('0x1905')+(_0x41680a['appType']||_0x41680a[_0x1cd3('0xd0a')])[_0x1cd3('0x437')]();_0x1003e2[_0x1cd3('0x121c')]=angular[_0x1cd3('0x429')](_0x41680a);_0x1003e2[_0x1cd3('0xd27')]=_0x4ffdd6;_0x1003e2[_0x1cd3('0xd28')]={};if(_0x1003e2[_0x1cd3('0x121c')][_0x1cd3('0x127d')]){switch(_0x1003e2[_0x1cd3('0x121c')][_0x1cd3('0x125b')]?_0x1003e2[_0x1cd3('0x121c')]['appType'][_0x1cd3('0x433')]():_0x1003e2[_0x1cd3('0x121c')][_0x1cd3('0xd0a')][_0x1cd3('0x433')]()){case _0x1cd3('0x8f6'):break;case'dialogflow':var _0x58f59e=_0x1003e2['gotoif'][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x1003e2[_0x1cd3('0x121c')][_0x1cd3('0x65c')]=_0x58f59e[0x0];_0x1003e2[_0x1cd3('0x121c')][_0x1cd3('0x3f3')]=_0x58f59e[0x1];_0x1003e2[_0x1cd3('0x121c')][_0x1cd3('0x1246')]=_0x58f59e['slice'](0x2,_0x58f59e[_0x1cd3('0x7a')])['join'](',');break;case'amazonlex':var _0x58f59e=_0x1003e2[_0x1cd3('0x121c')]['appdata'][_0x1cd3('0x3ef')](',');_0x1003e2[_0x1cd3('0x121c')][_0x1cd3('0x1248')]=_0x58f59e[0x0];_0x1003e2[_0x1cd3('0x121c')][_0x1cd3('0x1249')]=_0x58f59e[0x1];_0x1003e2[_0x1cd3('0x121c')]['lexregion']=_0x58f59e[0x2];_0x1003e2[_0x1cd3('0x121c')][_0x1cd3('0x124f')]=_0x58f59e[0x3];_0x1003e2[_0x1cd3('0x121c')][_0x1cd3('0x1246')]=_0x58f59e['slice'](0x4,_0x58f59e[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x122b'):var _0x58f59e=_0x1003e2['gotoif'][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x1003e2[_0x1cd3('0x121c')][_0x1cd3('0x122c')]=isNaN(_0x58f59e[0x0])?_0x58f59e[0x0]:parseInt(_0x58f59e[0x0],0xa);_0x1003e2[_0x1cd3('0x121c')][_0x1cd3('0x401')]=_0x58f59e[_0x1cd3('0x9a2')](0x1,_0x58f59e[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case'message':_0x1003e2[_0x1cd3('0x121c')]['text']=_0x1003e2[_0x1cd3('0x121c')][_0x1cd3('0x127d')];break;case _0x1cd3('0x127e'):_0x1003e2['gotoif'][_0x1cd3('0x98')]=_0x1003e2['gotoif'][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x0];_0x1003e2[_0x1cd3('0x121c')][_0x1cd3('0x3db')]=_0x1003e2[_0x1cd3('0x121c')]['appdata'][_0x1cd3('0x3ef')]('=')[0x1];break;case _0x1cd3('0x128c'):_0x1003e2[_0x1cd3('0x121c')]['project']=_0x1003e2[_0x1cd3('0x121c')][_0x1cd3('0x127d')];break;default:var _0x7a6ff6=_0x1003e2['gotoif'][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x1003e2[_0x1cd3('0x121c')][_0x1cd3('0xb65')]=_[_0x1cd3('0x398')](_0x7a6ff6[0x0])?_0x7a6ff6[0x0]:isNaN(_0x7a6ff6[0x0])?_0x7a6ff6[0x0]:parseInt(_0x7a6ff6[0x0],0xa);_0x1003e2[_0x1cd3('0x121c')][_0x1cd3('0x121e')]=_[_0x1cd3('0x398')](_0x7a6ff6[0x1])?_0x7a6ff6[0x1]:isNaN(_0x7a6ff6[0x1])?_0x7a6ff6[0x1]:parseInt(_0x7a6ff6[0x1],0xa);_0x1003e2['gotoif'][_0x1cd3('0x121f')]=_[_0x1cd3('0x398')](_0x7a6ff6[0x2])?_0x7a6ff6[0x2]:isNaN(_0x7a6ff6[0x2])?_0x7a6ff6[0x2]:parseInt(_0x7a6ff6[0x2],0xa);}}else{}if(_0x1003e2[_0x1cd3('0x121c')][_0x1cd3('0x424')]&&_0x1003e2[_0x1cd3('0x121c')][_0x1cd3('0x424')][_0x1cd3('0x433')]()==='outbound'&&_0x1003e2[_0x1cd3('0x121c')][_0x1cd3('0x125b')][_0x1cd3('0x433')]()===_0x1cd3('0x1289')){_0x1003e2[_0x1cd3('0x121c')][_0x1cd3('0x6aa')]=_0x1003e2['gotoif'][_0x1cd3('0xf09')]?_0x1003e2[_0x1cd3('0x121c')]['phone'][_0x1cd3('0x3ef')]('$')[0x0]:undefined;_0x1003e2['gotoif']['callerId']=_0x1003e2[_0x1cd3('0x121c')][_0x1cd3('0x127f')]?_0x1cd3('0x1280')+_0x1003e2[_0x1cd3('0x121c')][_0x1cd3('0x127f')]:undefined;}_0x1003e2['saveFaxAccountApp']=_0x41cfc5;_0x1003e2[_0x1cd3('0x39c')]=_0x4aaa12;function _0x41cfc5(){_0x1003e2[_0x1cd3('0xd34')]=[];var _0x3d179f=[];if(_0x1003e2[_0x1cd3('0x121c')][_0x1cd3('0x424')]&&_0x1003e2[_0x1cd3('0x121c')][_0x1cd3('0x424')][_0x1cd3('0x433')]()==='outbound'&&_0x1003e2[_0x1cd3('0x121c')][_0x1cd3('0x125b')]===_0x1cd3('0x1283')){_0x1003e2[_0x1cd3('0x121c')][_0x1cd3('0xf09')]=_0x176a28[_0x1cd3('0x128a')]?(_0x1003e2[_0x1cd3('0x121c')][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x1284')+_0x176a28[_0x1cd3('0x128a')]+'}':(_0x1003e2[_0x1cd3('0x121c')][_0x1cd3('0x6aa')]||'')+'${EXTEN}';if(_0x176a28['recordingFormat']!==_0x1cd3('0x6ae')){if(_0x1003e2['gotoif'][_0x1cd3('0x422')][_0x1cd3('0x45e')](_0x1cd3('0x1286'))<0x0){_0x1003e2['gotoif'][_0x1cd3('0x422')]+='U(xcally-mixmonitor-context)';}}else{_0x1003e2['gotoif'][_0x1cd3('0x422')]=_0x1003e2[_0x1cd3('0x121c')]['options'][_0x1cd3('0x3f1')](_0x1cd3('0x1286'),'');}}if(_0x1003e2[_0x1cd3('0x121c')][_0x1cd3('0x125b')]&&_0x1003e2[_0x1cd3('0x121c')][_0x1cd3('0x125b')]===_0x1cd3('0x8f6')){}else{switch((_0x1003e2[_0x1cd3('0x121c')][_0x1cd3('0xd0a')]||_0x1003e2[_0x1cd3('0x121c')]['appType'])[_0x1cd3('0x433')]()){case'set':_0x1003e2[_0x1cd3('0x121c')][_0x1cd3('0x127d')]=_0x1003e2[_0x1cd3('0x121c')][_0x1cd3('0x98')]+'='+_0x1003e2['gotoif'][_0x1cd3('0x3db')];break;case _0x1cd3('0x8f6'):break;default:_0x3d179f[0x0]=_0x1003e2[_0x1cd3('0x121c')]['condition'];_0x3d179f[0x1]=_0x1003e2[_0x1cd3('0x121c')]['truepriority'];_0x3d179f[0x2]=_0x1003e2[_0x1cd3('0x121c')][_0x1cd3('0x121f')];_0x1003e2[_0x1cd3('0x121c')]['appdata']=_0x3d179f[_0x1cd3('0x3de')](',');}}_0x4aaa12(_0x1003e2[_0x1cd3('0x121c')]);}function _0x4aaa12(_0x3627eb){_0x296da7[_0x1cd3('0x39d')](_0x3627eb);}}}());(function(){'use strict';_0x398a3d[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),'$q',_0x1cd3('0x461'),_0x1cd3('0x1903'),_0x1cd3('0xaa4'),_0x1cd3('0x370'),'Auth',_0x1cd3('0xd27')];angular[_0x1cd3('0x0')]('app.fax')[_0x1cd3('0x39b')]('EditFaxAccountAppgotopDialogController',_0x398a3d);function _0x398a3d(_0x2c7147,_0x503d72,_0x47b07f,_0x50eb58,_0x397493,_0x6bd452,_0x34f8e8,_0x136e60){var _0x5b57d0=this;_0x5b57d0[_0x1cd3('0x3ca')]=_0x34f8e8[_0x1cd3('0x5d')]();_0x5b57d0[_0x1cd3('0xd34')]=[];_0x5b57d0[_0x1cd3('0x486')]=_0x1cd3('0x1905')+(_0x50eb58[_0x1cd3('0x125b')]||_0x50eb58['app'])[_0x1cd3('0x437')]();_0x5b57d0[_0x1cd3('0x121a')]=angular['copy'](_0x50eb58);_0x5b57d0[_0x1cd3('0xd27')]=_0x136e60;_0x5b57d0[_0x1cd3('0xd28')]={};if(_0x5b57d0[_0x1cd3('0x121a')][_0x1cd3('0x127d')]){switch(_0x5b57d0[_0x1cd3('0x121a')][_0x1cd3('0x125b')]?_0x5b57d0[_0x1cd3('0x121a')]['appType'][_0x1cd3('0x433')]():_0x5b57d0[_0x1cd3('0x121a')]['app'][_0x1cd3('0x433')]()){case _0x1cd3('0x8f6'):break;case _0x1cd3('0x1233'):var _0x4471b4=_0x5b57d0[_0x1cd3('0x121a')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x5b57d0['gotop'][_0x1cd3('0x65c')]=_0x4471b4[0x0];_0x5b57d0['gotop'][_0x1cd3('0x3f3')]=_0x4471b4[0x1];_0x5b57d0['gotop'][_0x1cd3('0x1246')]=_0x4471b4[_0x1cd3('0x9a2')](0x2,_0x4471b4[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x1247'):var _0x4471b4=_0x5b57d0[_0x1cd3('0x121a')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x5b57d0[_0x1cd3('0x121a')]['accesskeyid']=_0x4471b4[0x0];_0x5b57d0[_0x1cd3('0x121a')]['secretaccesskey']=_0x4471b4[0x1];_0x5b57d0[_0x1cd3('0x121a')][_0x1cd3('0x124a')]=_0x4471b4[0x2];_0x5b57d0[_0x1cd3('0x121a')][_0x1cd3('0x124f')]=_0x4471b4[0x3];_0x5b57d0[_0x1cd3('0x121a')][_0x1cd3('0x1246')]=_0x4471b4['slice'](0x4,_0x4471b4[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x122b'):var _0x4471b4=_0x5b57d0[_0x1cd3('0x121a')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x5b57d0['gotop'][_0x1cd3('0x122c')]=isNaN(_0x4471b4[0x0])?_0x4471b4[0x0]:parseInt(_0x4471b4[0x0],0xa);_0x5b57d0[_0x1cd3('0x121a')]['text']=_0x4471b4[_0x1cd3('0x9a2')](0x1,_0x4471b4[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x43a'):_0x5b57d0[_0x1cd3('0x121a')][_0x1cd3('0x401')]=_0x5b57d0[_0x1cd3('0x121a')]['appdata'];break;case _0x1cd3('0x127e'):_0x5b57d0[_0x1cd3('0x121a')]['name']=_0x5b57d0[_0x1cd3('0x121a')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x0];_0x5b57d0[_0x1cd3('0x121a')][_0x1cd3('0x3db')]=_0x5b57d0[_0x1cd3('0x121a')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x1];break;case'agi':_0x5b57d0['gotop'][_0x1cd3('0xedd')]=_0x5b57d0['gotop']['appdata'];break;default:var _0x1c6f7f=_0x5b57d0[_0x1cd3('0x121a')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x5b57d0[_0x1cd3('0x121a')][_0x1cd3('0xf0c')]=_['isEmpty'](_0x1c6f7f[0x0])?_0x1c6f7f[0x0]:isNaN(_0x1c6f7f[0x0])?_0x1c6f7f[0x0]:parseInt(_0x1c6f7f[0x0],0xa);}}else{}if(_0x5b57d0[_0x1cd3('0x121a')][_0x1cd3('0x424')]&&_0x5b57d0[_0x1cd3('0x121a')][_0x1cd3('0x424')][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x5b57d0[_0x1cd3('0x121a')]['appType'][_0x1cd3('0x433')]()==='outbounddial'){_0x5b57d0[_0x1cd3('0x121a')][_0x1cd3('0x6aa')]=_0x5b57d0[_0x1cd3('0x121a')]['phone']?_0x5b57d0['gotop'][_0x1cd3('0xf09')]['split']('$')[0x0]:undefined;_0x5b57d0[_0x1cd3('0x121a')]['callerId']=_0x5b57d0[_0x1cd3('0x121a')]['callerID']?_0x1cd3('0x1280')+_0x5b57d0[_0x1cd3('0x121a')]['callerID']:undefined;}_0x5b57d0['saveFaxAccountApp']=_0x4fbce3;_0x5b57d0[_0x1cd3('0x39c')]=_0x1e5704;function _0x4fbce3(){_0x5b57d0[_0x1cd3('0xd34')]=[];var _0x502aee=[];if(_0x5b57d0[_0x1cd3('0x121a')][_0x1cd3('0x424')]&&_0x5b57d0[_0x1cd3('0x121a')][_0x1cd3('0x424')][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x5b57d0[_0x1cd3('0x121a')]['appType']===_0x1cd3('0x1283')){_0x5b57d0['gotop'][_0x1cd3('0xf09')]=_0x397493[_0x1cd3('0x128a')]?(_0x5b57d0[_0x1cd3('0x121a')]['prefix']||'')+'${EXTEN:'+_0x397493[_0x1cd3('0x128a')]+'}':(_0x5b57d0[_0x1cd3('0x121a')][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x128d');if(_0x397493[_0x1cd3('0x1285')]!==_0x1cd3('0x6ae')){if(_0x5b57d0[_0x1cd3('0x121a')][_0x1cd3('0x422')]['indexOf'](_0x1cd3('0x1286'))<0x0){_0x5b57d0[_0x1cd3('0x121a')][_0x1cd3('0x422')]+=_0x1cd3('0x1286');}}else{_0x5b57d0[_0x1cd3('0x121a')][_0x1cd3('0x422')]=_0x5b57d0[_0x1cd3('0x121a')][_0x1cd3('0x422')][_0x1cd3('0x3f1')](_0x1cd3('0x1286'),'');}}if(_0x5b57d0[_0x1cd3('0x121a')][_0x1cd3('0x125b')]&&_0x5b57d0[_0x1cd3('0x121a')][_0x1cd3('0x125b')]===_0x1cd3('0x8f6')){}else{switch((_0x5b57d0[_0x1cd3('0x121a')]['app']||_0x5b57d0['gotop'][_0x1cd3('0x125b')])[_0x1cd3('0x433')]()){case _0x1cd3('0x127e'):_0x5b57d0['gotop'][_0x1cd3('0x127d')]=_0x5b57d0[_0x1cd3('0x121a')][_0x1cd3('0x98')]+'='+_0x5b57d0[_0x1cd3('0x121a')][_0x1cd3('0x3db')];break;case'custom':break;default:_0x502aee[0x0]=_0x5b57d0[_0x1cd3('0x121a')][_0x1cd3('0xf0c')];_0x5b57d0[_0x1cd3('0x121a')][_0x1cd3('0x127d')]=_0x502aee[_0x1cd3('0x3de')](',');}}_0x1e5704(_0x5b57d0[_0x1cd3('0x121a')]);}function _0x1e5704(_0x402df6){_0x2c7147[_0x1cd3('0x39d')](_0x402df6);}}}());(function(){'use strict';_0x1fe394[_0x1cd3('0xc')]=[_0x1cd3('0x53e'),_0x1cd3('0x3c5'),_0x1cd3('0x586'),_0x1cd3('0xcd4'),_0x1cd3('0x77e'),_0x1cd3('0xef9'),_0x1cd3('0x461'),'api',_0x1cd3('0x56'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x2d'))[_0x1cd3('0x39b')](_0x1cd3('0x1900'),_0x1fe394);function _0x1fe394(_0x45ddd6,_0x543f8b,_0x11555f,_0x591f17,_0x197214,_0x45b98b,_0x1da3f1,_0x2ebdec,_0x3d2d01,_0x4c5148){var _0x38f13b=this;_0x38f13b[_0x1cd3('0x3ca')]=_0x3d2d01[_0x1cd3('0x5d')]();_0x38f13b[_0x1cd3('0xd34')]=[];_0x38f13b[_0x1cd3('0x486')]='TOOLS.EDIT_INTERVAL';_0x38f13b[_0x1cd3('0x77e')]=angular[_0x1cd3('0x429')](_0x197214);_0x38f13b[_0x1cd3('0xef9')]=_0x45b98b;_0x38f13b['newInterval']=![];_0x38f13b[_0x1cd3('0x1294')]=[_0x1cd3('0x1213'),_0x1cd3('0x8f6'),_0x1cd3('0x9d5')];_0x38f13b[_0x1cd3('0xd27')]=_0x4c5148;_0x38f13b[_0x1cd3('0x1295')]=_0x591f17[_0x1cd3('0x1908')]();_0x38f13b[_0x1cd3('0x1909')]=_0x591f17['getMonthNumber']();_0x38f13b[_0x1cd3('0x190a')]=_0x591f17[_0x1cd3('0x1297')]();_0x38f13b['daysOfMonth']=_0x591f17['getDaysOfMonth']();if(!_0x38f13b['interval']){_0x38f13b[_0x1cd3('0x77e')]={'interval':_0x1cd3('0x1216')};_0x38f13b[_0x1cd3('0x424')]=_0x1cd3('0x1213');_0x38f13b[_0x1cd3('0x486')]='TOOLS.NEW_INTERVAL';_0x38f13b[_0x1cd3('0x1293')]=!![];}else{if(_0x38f13b[_0x1cd3('0x77e')]['interval']!==_0x1cd3('0x1216')){_0x38f13b[_0x1cd3('0x424')]=_0x1cd3('0x8f6');var _0x2bfc98=_0x38f13b[_0x1cd3('0x77e')][_0x1cd3('0x77e')][_0x1cd3('0x3ef')](',');var _0x4906ab=_0x2bfc98[0x0];var _0x495662=_0x2bfc98[0x1];var _0x35680e=_0x2bfc98[0x2];var _0x20653a=_0x2bfc98[0x3];if(_0x4906ab!=='*'){var _0xb29090=_0x4906ab[_0x1cd3('0x3ef')]('-')[0x0];var _0x29fe39=_0x4906ab[_0x1cd3('0x3ef')]('-')[0x1];var _0x402088;_0x402088=new Date();_0x402088[_0x1cd3('0x129a')](Number(_0xb29090[_0x1cd3('0x3ef')](':')[0x0]));_0x402088[_0x1cd3('0x1299')](Number(_0xb29090['split'](':')[0x1]));_0x38f13b[_0x1cd3('0x12a5')]=_0x402088;_0x402088=new Date();_0x402088[_0x1cd3('0x129a')](Number(_0x29fe39[_0x1cd3('0x3ef')](':')[0x0]));_0x402088[_0x1cd3('0x1299')](Number(_0x29fe39[_0x1cd3('0x3ef')](':')[0x1]));_0x38f13b[_0x1cd3('0x129b')]=_0x402088;}if(_0x495662!=='*'){_0x38f13b['dayOfWeekFrom']=_0x495662[_0x1cd3('0x3ef')]('-')[0x0];_0x38f13b[_0x1cd3('0x12a8')]=_0x495662[_0x1cd3('0x3ef')]('-')[0x1];}if(_0x35680e!=='*'){_0x38f13b[_0x1cd3('0x129d')]=_0x35680e[_0x1cd3('0x3ef')]('-')[0x0];_0x38f13b['monthDayTo']=_0x35680e['split']('-')[0x1];}if(_0x20653a!=='*'){_0x38f13b[_0x1cd3('0x129f')]=_0x20653a[_0x1cd3('0x3ef')]('-')[0x0];_0x38f13b[_0x1cd3('0x12a0')]=_0x20653a['split']('-')[0x1];}}else{_0x38f13b[_0x1cd3('0x424')]='always';}}if(_0x45ddd6['params']['id']&&!_0x38f13b[_0x1cd3('0x77e')][_0x1cd3('0x12a1')]){_0x38f13b[_0x1cd3('0x77e')][_0x1cd3('0xf4b')]=_0x45ddd6[_0x1cd3('0x36a')]['id'];}if(_0x38f13b[_0x1cd3('0x77e')][_0x1cd3('0xf4b')]&&_0x38f13b[_0x1cd3('0x77e')][_0x1cd3('0x12a1')]){_0x38f13b['type']=_0x1cd3('0x9d5');}_0x38f13b['addNewInterval']=_0x349a15;_0x38f13b[_0x1cd3('0x190b')]=_0x816ee2;_0x38f13b[_0x1cd3('0x39c')]=_0x316fa1;if(_0x38f13b['interval'][_0x1cd3('0x12a1')]){_0x3d2d01[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x2ebdec['interval']['get']({'fields':_0x1cd3('0x12a3'),'IntervalId':_0x1cd3('0x220'),'nolimit':!![]})[_0x1cd3('0x81')]['then'](function(_0x1431c7){_0x38f13b['intervals']=_0x1431c7[_0x1cd3('0xf6')]||[];})['catch'](function(_0x24fbee){_0x1da3f1[_0x1cd3('0x434')]({'title':_0x24fbee[_0x1cd3('0x3a6')]?'API:'+_0x24fbee[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x24fbee[_0x1cd3('0xd35')]:'SYSTEM:GET_INTERVALS','msg':_0x24fbee[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x24fbee[_0x1cd3('0x439')]):_0x24fbee[_0x1cd3('0x43b')]()});}):_0x2ebdec[_0x1cd3('0x77e')][_0x1cd3('0x361')]({'fields':'id,name,interval,IntervalId','IntervalId':_0x1cd3('0x220'),'nolimit':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x2112ce){_0x38f13b[_0x1cd3('0xef9')]=_0x2112ce[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x2ebdec[_0x1cd3('0x390')]['get']({'userProfileId':_0x38f13b[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x3ec})['$promise'];})[_0x1cd3('0x77')](function(_0xc25e85){var _0x23d274=_0xc25e85&&_0xc25e85[_0x1cd3('0xf6')]?_0xc25e85['rows'][0x0]:null;if(!_0x23d274){_0x38f13b[_0x1cd3('0xef9')]=[];}else{if(!_0x23d274['autoAssociation']){return _0x2ebdec[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x23d274['id']})[_0x1cd3('0x81')]['then'](function(_0x1a0370){var _0x23152e=_0x1a0370&&_0x1a0370['rows']?_0x1a0370[_0x1cd3('0xf6')]:[];var _0x44ca71=[];var _0x272503=null;if(_0x38f13b['interval']){_0x272503=_[_0x1cd3('0x442')](_0x38f13b['intervals'],{'name':_0x38f13b[_0x1cd3('0x77e')][_0x1cd3('0xf4b')]});}if(_0x272503&&!_[_0x1cd3('0x38d')](_0x23152e,[_0x1cd3('0xe8e'),_0x272503['id']])){_0x38f13b[_0x1cd3('0xef9')]['forEach'](function(_0x4939e2){if(_0x4939e2['id']===_0x272503['id']){_0x4939e2['canSelect']=![];_0x44ca71[_0x1cd3('0x7b')](_0x4939e2);}});}_0x38f13b['intervals']=_0x44ca71;});}}})[_0x1cd3('0xfd')](function(_0x321302){_0x1da3f1[_0x1cd3('0x434')]({'title':_0x321302[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x321302['status']+_0x1cd3('0x436')+_0x321302[_0x1cd3('0xd35')]:_0x1cd3('0x12a4'),'msg':_0x321302[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x321302[_0x1cd3('0x439')]):_0x321302[_0x1cd3('0x43b')]()});});}function _0x49bc3e(){switch(_0x38f13b[_0x1cd3('0x424')]){case _0x1cd3('0x1213'):case _0x1cd3('0x9d5'):return'*,*,*,*';case _0x1cd3('0x8f6'):var _0x556204=[];if(_0x38f13b[_0x1cd3('0x12a5')]!=='*'&&_0x38f13b[_0x1cd3('0x12a5')]&&_0x38f13b[_0x1cd3('0x129b')]){var _0x54d5a7=(_0x38f13b[_0x1cd3('0x12a5')]['getHours']()<0xa?'0':'')+_0x38f13b[_0x1cd3('0x12a5')][_0x1cd3('0x12a6')]()+':'+((_0x38f13b[_0x1cd3('0x12a5')]['getMinutes']()<0xa?'0':'')+_0x38f13b[_0x1cd3('0x12a5')][_0x1cd3('0x12a7')]());var _0x3dba1d=(_0x38f13b[_0x1cd3('0x129b')][_0x1cd3('0x12a6')]()<0xa?'0':'')+_0x38f13b[_0x1cd3('0x129b')][_0x1cd3('0x12a6')]()+':'+((_0x38f13b[_0x1cd3('0x129b')][_0x1cd3('0x12a7')]()<0xa?'0':'')+_0x38f13b[_0x1cd3('0x129b')][_0x1cd3('0x12a7')]());_0x556204['push'](_0x54d5a7+'-'+_0x3dba1d);}else{_0x556204[_0x1cd3('0x7b')]('*');}if(_0x38f13b[_0x1cd3('0x129c')]){if(_0x38f13b[_0x1cd3('0x12a8')]){_0x556204[_0x1cd3('0x7b')](_0x38f13b[_0x1cd3('0x129c')]+'-'+_0x38f13b[_0x1cd3('0x12a8')]);}else{_0x556204[_0x1cd3('0x7b')](_0x38f13b['dayOfWeekFrom']);}}else{_0x556204[_0x1cd3('0x7b')]('*');}if(_0x38f13b[_0x1cd3('0x129d')]){if(_0x38f13b[_0x1cd3('0x129e')]){_0x556204['push'](_0x38f13b[_0x1cd3('0x129d')]+'-'+_0x38f13b[_0x1cd3('0x129e')]);}else{_0x556204[_0x1cd3('0x7b')](_0x38f13b[_0x1cd3('0x129d')]);}}else{_0x556204[_0x1cd3('0x7b')]('*');}if(_0x38f13b['monthFrom']){if(_0x38f13b[_0x1cd3('0x12a0')]){_0x556204[_0x1cd3('0x7b')](_0x38f13b['monthFrom']+'-'+_0x38f13b[_0x1cd3('0x12a0')]);}else{_0x556204[_0x1cd3('0x7b')](_0x38f13b[_0x1cd3('0x129f')]);}}else{_0x556204[_0x1cd3('0x7b')]('*');}return _0x556204[_0x1cd3('0x3de')]();}}function _0x349a15(){_0x38f13b[_0x1cd3('0xd34')]=[];_0x38f13b[_0x1cd3('0x77e')][_0x1cd3('0x77e')]=_0x49bc3e();_0x2ebdec[_0x1cd3('0x77e')]['save'](_0x38f13b[_0x1cd3('0x77e')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x4fdfd9){_0x38f13b[_0x1cd3('0xef9')]['push'](_0x4fdfd9);_0x1da3f1[_0x1cd3('0x473')]({'title':_0x1cd3('0x12a9'),'msg':_0x38f13b['interval']['name']?_0x38f13b[_0x1cd3('0x77e')]['name']+_0x1cd3('0xd33'):''});_0x316fa1();})['catch'](function(_0x30b7b6){console[_0x1cd3('0x434')](_0x30b7b6);_0x38f13b['errors']=_0x30b7b6['data'][_0x1cd3('0xd34')]||[{'message':_0x30b7b6[_0x1cd3('0x43b')](),'type':_0x1cd3('0x12aa')}];});}function _0x816ee2(){_0x38f13b['errors']=[];_0x38f13b['interval'][_0x1cd3('0x77e')]=_0x49bc3e();if(_0x38f13b[_0x1cd3('0x77e')][_0x1cd3('0x12a1')]){_0x38f13b[_0x1cd3('0x424')]!==_0x1cd3('0x9d5')&&(_0x38f13b[_0x1cd3('0x77e')][_0x1cd3('0xf4b')]=null);_0x316fa1(_0x38f13b[_0x1cd3('0x77e')]);}else{_0x2ebdec['interval'][_0x1cd3('0x378')]({'id':_0x38f13b[_0x1cd3('0x77e')]['id']},_0x38f13b['interval'])['$promise'][_0x1cd3('0x77')](function(_0x17cfa3){var _0x242098=_[_0x1cd3('0x442')](_0x38f13b[_0x1cd3('0xef9')],{'id':_0x17cfa3['id']});if(_0x242098){_[_0x1cd3('0xf2')](_0x242098,_0x17cfa3);}_0x1da3f1[_0x1cd3('0x473')]({'title':_0x1cd3('0x12ab'),'msg':'Interval\x20has\x20been\x20saved!'});_0x316fa1();})['catch'](function(_0x30a50a){console['error'](_0x30a50a);_0x38f13b[_0x1cd3('0xd34')]=_0x30a50a[_0x1cd3('0x439')]['errors']||[{'message':_0x30a50a['toString'](),'type':'api.interval.update'}];});}}function _0x316fa1(_0x2ac8e7){_0x543f8b[_0x1cd3('0x39d')](_0x2ac8e7);}}}());(function(){'use strict';_0x56eb38['$inject']=['$mdDialog','$q',_0x1cd3('0x461'),_0x1cd3('0x1903'),_0x1cd3('0xaa4'),_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x32'))[_0x1cd3('0x39b')](_0x1cd3('0x190c'),_0x56eb38);function _0x56eb38(_0x4b27e9,_0x2fe364,_0x10e165,_0x14417d,_0x3c9646,_0x39976f,_0x34251a,_0x1792b2){var _0x346986=this;_0x346986['currentUser']=_0x34251a['getCurrentUser']();_0x346986[_0x1cd3('0xd34')]=[];_0x346986[_0x1cd3('0x486')]=_0x1cd3('0x1905')+(_0x14417d['appType']||_0x14417d['app'])['toUpperCase']();_0x346986[_0x1cd3('0x3a9')]=angular[_0x1cd3('0x429')](_0x14417d);_0x346986['crudPermissions']=_0x1792b2;_0x346986['hasModulePermissions']={};if(_0x346986[_0x1cd3('0x3a9')][_0x1cd3('0x127d')]){switch(_0x346986['noop'][_0x1cd3('0x125b')]?_0x346986['noop'][_0x1cd3('0x125b')][_0x1cd3('0x433')]():_0x346986[_0x1cd3('0x3a9')][_0x1cd3('0xd0a')][_0x1cd3('0x433')]()){case _0x1cd3('0x8f6'):break;case _0x1cd3('0x1233'):var _0x1e932f=_0x346986[_0x1cd3('0x3a9')][_0x1cd3('0x127d')]['split'](',');_0x346986['noop'][_0x1cd3('0x65c')]=_0x1e932f[0x0];_0x346986['noop'][_0x1cd3('0x3f3')]=_0x1e932f[0x1];_0x346986[_0x1cd3('0x3a9')]['welcomemessage']=_0x1e932f[_0x1cd3('0x9a2')](0x2,_0x1e932f[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case'amazonlex':var _0x1e932f=_0x346986[_0x1cd3('0x3a9')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x346986[_0x1cd3('0x3a9')][_0x1cd3('0x1248')]=_0x1e932f[0x0];_0x346986[_0x1cd3('0x3a9')][_0x1cd3('0x1249')]=_0x1e932f[0x1];_0x346986[_0x1cd3('0x3a9')][_0x1cd3('0x124a')]=_0x1e932f[0x2];_0x346986[_0x1cd3('0x3a9')]['botname']=_0x1e932f[0x3];_0x346986[_0x1cd3('0x3a9')][_0x1cd3('0x1246')]=_0x1e932f[_0x1cd3('0x9a2')](0x4,_0x1e932f['length'])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x122b'):var _0x1e932f=_0x346986[_0x1cd3('0x3a9')][_0x1cd3('0x127d')]['split'](',');_0x346986[_0x1cd3('0x3a9')][_0x1cd3('0x122c')]=isNaN(_0x1e932f[0x0])?_0x1e932f[0x0]:parseInt(_0x1e932f[0x0],0xa);_0x346986[_0x1cd3('0x3a9')]['text']=_0x1e932f[_0x1cd3('0x9a2')](0x1,_0x1e932f[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x43a'):_0x346986['noop']['text']=_0x346986['noop'][_0x1cd3('0x127d')];break;case _0x1cd3('0x127e'):_0x346986[_0x1cd3('0x3a9')]['name']=_0x346986[_0x1cd3('0x3a9')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x0];_0x346986[_0x1cd3('0x3a9')][_0x1cd3('0x3db')]=_0x346986[_0x1cd3('0x3a9')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x1];break;case'agi':_0x346986[_0x1cd3('0x3a9')][_0x1cd3('0xedd')]=_0x346986[_0x1cd3('0x3a9')]['appdata'];break;default:var _0x2cb326=_0x346986['noop'][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x346986['noop']['value']=_[_0x1cd3('0x398')](_0x2cb326[0x0])?_0x2cb326[0x0]:isNaN(_0x2cb326[0x0])?_0x2cb326[0x0]:parseInt(_0x2cb326[0x0],0xa);}}else{}if(_0x346986[_0x1cd3('0x3a9')]['type']&&_0x346986[_0x1cd3('0x3a9')]['type'][_0x1cd3('0x433')]()==='outbound'&&_0x346986['noop'][_0x1cd3('0x125b')][_0x1cd3('0x433')]()===_0x1cd3('0x1289')){_0x346986[_0x1cd3('0x3a9')]['prefix']=_0x346986[_0x1cd3('0x3a9')][_0x1cd3('0xf09')]?_0x346986['noop'][_0x1cd3('0xf09')][_0x1cd3('0x3ef')]('$')[0x0]:undefined;_0x346986['noop'][_0x1cd3('0x689')]=_0x346986[_0x1cd3('0x3a9')]['callerID']?'CALLERID(all)='+_0x346986[_0x1cd3('0x3a9')][_0x1cd3('0x127f')]:undefined;}_0x346986[_0x1cd3('0x1906')]=_0x2dcfea;_0x346986['closeDialog']=_0x16a261;function _0x2dcfea(){_0x346986[_0x1cd3('0xd34')]=[];var _0x319dd1=[];if(_0x346986[_0x1cd3('0x3a9')][_0x1cd3('0x424')]&&_0x346986[_0x1cd3('0x3a9')]['type'][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x346986[_0x1cd3('0x3a9')][_0x1cd3('0x125b')]===_0x1cd3('0x1283')){_0x346986[_0x1cd3('0x3a9')][_0x1cd3('0xf09')]=_0x3c9646['cutdigits']?(_0x346986['noop']['prefix']||'')+_0x1cd3('0x1284')+_0x3c9646[_0x1cd3('0x128a')]+'}':(_0x346986[_0x1cd3('0x3a9')]['prefix']||'')+'${EXTEN}';if(_0x3c9646[_0x1cd3('0x1285')]!=='none'){if(_0x346986['noop'][_0x1cd3('0x422')][_0x1cd3('0x45e')](_0x1cd3('0x1286'))<0x0){_0x346986[_0x1cd3('0x3a9')][_0x1cd3('0x422')]+=_0x1cd3('0x1286');}}else{_0x346986['noop'][_0x1cd3('0x422')]=_0x346986[_0x1cd3('0x3a9')][_0x1cd3('0x422')]['replace'](_0x1cd3('0x1286'),'');}}if(_0x346986['noop'][_0x1cd3('0x125b')]&&_0x346986[_0x1cd3('0x3a9')][_0x1cd3('0x125b')]===_0x1cd3('0x8f6')){}else{switch((_0x346986[_0x1cd3('0x3a9')][_0x1cd3('0xd0a')]||_0x346986['noop'][_0x1cd3('0x125b')])[_0x1cd3('0x433')]()){case _0x1cd3('0x127e'):_0x346986[_0x1cd3('0x3a9')][_0x1cd3('0x127d')]=_0x346986[_0x1cd3('0x3a9')][_0x1cd3('0x98')]+'='+_0x346986[_0x1cd3('0x3a9')][_0x1cd3('0x3db')];break;case _0x1cd3('0x8f6'):break;default:_0x319dd1[0x0]=_0x346986[_0x1cd3('0x3a9')]['value'];_0x346986[_0x1cd3('0x3a9')][_0x1cd3('0x127d')]=_0x319dd1['join'](',');}}_0x16a261(_0x346986[_0x1cd3('0x3a9')]);}function _0x16a261(_0x44c16a){_0x4b27e9[_0x1cd3('0x39d')](_0x44c16a);}}}());(function(){'use strict';_0x143804['$inject']=[_0x1cd3('0x3c5'),'$q',_0x1cd3('0x461'),_0x1cd3('0x1903'),'faxAccount',_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x32'))[_0x1cd3('0x39b')](_0x1cd3('0x190d'),_0x143804);function _0x143804(_0x41542e,_0xa82a0,_0x495b36,_0x5998ef,_0x576481,_0x3c7d7a,_0x5ee6a8,_0x361e7b){var _0x222b09=this;_0x222b09['currentUser']=_0x5ee6a8[_0x1cd3('0x5d')]();_0x222b09['errors']=[];_0x222b09[_0x1cd3('0x486')]=_0x1cd3('0x1905')+(_0x5998ef[_0x1cd3('0x125b')]||_0x5998ef['app'])[_0x1cd3('0x437')]();_0x222b09[_0x1cd3('0x1220')]=angular['copy'](_0x5998ef);_0x222b09[_0x1cd3('0xd27')]=_0x361e7b;_0x222b09['hasModulePermissions']={};if(_0x222b09['queue'][_0x1cd3('0x127d')]){switch(_0x222b09[_0x1cd3('0x1220')]['appType']?_0x222b09[_0x1cd3('0x1220')][_0x1cd3('0x125b')][_0x1cd3('0x433')]():_0x222b09['queue']['app']['toLowerCase']()){case _0x1cd3('0x8f6'):break;case'dialogflow':var _0x2dc9c8=_0x222b09[_0x1cd3('0x1220')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x222b09[_0x1cd3('0x1220')][_0x1cd3('0x65c')]=_0x2dc9c8[0x0];_0x222b09[_0x1cd3('0x1220')][_0x1cd3('0x3f3')]=_0x2dc9c8[0x1];_0x222b09[_0x1cd3('0x1220')][_0x1cd3('0x1246')]=_0x2dc9c8[_0x1cd3('0x9a2')](0x2,_0x2dc9c8[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x1247'):var _0x2dc9c8=_0x222b09[_0x1cd3('0x1220')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x222b09[_0x1cd3('0x1220')][_0x1cd3('0x1248')]=_0x2dc9c8[0x0];_0x222b09[_0x1cd3('0x1220')][_0x1cd3('0x1249')]=_0x2dc9c8[0x1];_0x222b09[_0x1cd3('0x1220')][_0x1cd3('0x124a')]=_0x2dc9c8[0x2];_0x222b09['queue'][_0x1cd3('0x124f')]=_0x2dc9c8[0x3];_0x222b09[_0x1cd3('0x1220')][_0x1cd3('0x1246')]=_0x2dc9c8['slice'](0x4,_0x2dc9c8['length'])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x122b'):var _0x2dc9c8=_0x222b09['queue'][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x222b09[_0x1cd3('0x1220')][_0x1cd3('0x122c')]=isNaN(_0x2dc9c8[0x0])?_0x2dc9c8[0x0]:parseInt(_0x2dc9c8[0x0],0xa);_0x222b09[_0x1cd3('0x1220')]['text']=_0x2dc9c8[_0x1cd3('0x9a2')](0x1,_0x2dc9c8[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x43a'):_0x222b09[_0x1cd3('0x1220')][_0x1cd3('0x401')]=_0x222b09[_0x1cd3('0x1220')][_0x1cd3('0x127d')];break;case _0x1cd3('0x127e'):_0x222b09['queue'][_0x1cd3('0x98')]=_0x222b09[_0x1cd3('0x1220')]['appdata'][_0x1cd3('0x3ef')]('=')[0x0];_0x222b09[_0x1cd3('0x1220')][_0x1cd3('0x3db')]=_0x222b09[_0x1cd3('0x1220')]['appdata'][_0x1cd3('0x3ef')]('=')[0x1];break;case'agi':_0x222b09['queue'][_0x1cd3('0xedd')]=_0x222b09[_0x1cd3('0x1220')][_0x1cd3('0x127d')];break;default:var _0x2887f2=_0x222b09[_0x1cd3('0x1220')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x222b09[_0x1cd3('0x1220')][_0x1cd3('0x1220')]=_['isEmpty'](_0x2887f2[0x0])?_0x2887f2[0x0]:isNaN(_0x2887f2[0x0])?_0x2887f2[0x0]:parseInt(_0x2887f2[0x0],0xa);_0x222b09[_0x1cd3('0x1220')][_0x1cd3('0x8fc')]=_[_0x1cd3('0x398')](_0x2887f2[0x1])?_0x2887f2[0x1]:isNaN(_0x2887f2[0x1])?_0x2887f2[0x1]:parseInt(_0x2887f2[0x1],0xa);}}else{_0x222b09[_0x1cd3('0x1220')][_0x1cd3('0x1220')]=0x12c;_0x222b09[_0x1cd3('0x1220')][_0x1cd3('0x8fc')]=0x12c;}if(_0x222b09[_0x1cd3('0x1220')]['type']&&_0x222b09[_0x1cd3('0x1220')][_0x1cd3('0x424')]['toLowerCase']()===_0x1cd3('0x128')&&_0x222b09[_0x1cd3('0x1220')][_0x1cd3('0x125b')][_0x1cd3('0x433')]()===_0x1cd3('0x1289')){_0x222b09[_0x1cd3('0x1220')]['prefix']=_0x222b09[_0x1cd3('0x1220')]['phone']?_0x222b09['queue'][_0x1cd3('0xf09')]['split']('$')[0x0]:undefined;_0x222b09[_0x1cd3('0x1220')][_0x1cd3('0x689')]=_0x222b09['queue']['callerID']?_0x1cd3('0x1280')+_0x222b09[_0x1cd3('0x1220')][_0x1cd3('0x127f')]:undefined;}_0x222b09[_0x1cd3('0x1906')]=_0x54e712;_0x222b09[_0x1cd3('0x39c')]=_0x263041;_0x5ee6a8['hasRole']('admin')?_0x3c7d7a[_0x1cd3('0xe1a')]['get']({'fields':'id,name,type','sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})['$promise']['then'](function(_0x2896e4){_0x222b09['queues']=_0x2896e4['rows']||[];})[_0x1cd3('0xfd')](function(_0x56c287){_0x495b36[_0x1cd3('0x434')]({'title':_0x56c287[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x56c287['status']+_0x1cd3('0x436')+_0x56c287['statusText']:_0x1cd3('0x12af'),'msg':_0x56c287['data']?JSON[_0x1cd3('0x438')](_0x56c287[_0x1cd3('0x439')]):_0x56c287[_0x1cd3('0x43b')]()});}):_0x3c7d7a[_0x1cd3('0xe1a')]['get']({'fields':_0x1cd3('0x1222'),'sort':'name','nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x2860c7){_0x222b09[_0x1cd3('0x1155')]=_0x2860c7[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x3c7d7a[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x222b09[_0x1cd3('0x3ca')]['userProfileId'],'sectionId':0x385})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x28c6c5){var _0x5e1944=_0x28c6c5&&_0x28c6c5['rows']?_0x28c6c5[_0x1cd3('0xf6')][0x0]:null;if(!_0x5e1944){var _0x3a8fa0=[];var _0xea51dd=null;if(_0x222b09[_0x1cd3('0x1220')]){_0xea51dd=_[_0x1cd3('0x442')](_0x222b09[_0x1cd3('0x1155')],{'name':_0x222b09[_0x1cd3('0x1220')]['queue']});}for(var _0x334cbf=0x0;_0x334cbf<_0x222b09[_0x1cd3('0x1155')]['length'];_0x334cbf++){if(_0xea51dd&&_0x222b09['queues'][_0x334cbf]['id']===_0xea51dd['id']){_0x222b09[_0x1cd3('0x1155')][_0x334cbf][_0x1cd3('0xf4a')]=![];_0x3a8fa0[_0x1cd3('0x7b')](_0x222b09[_0x1cd3('0x1155')][_0x334cbf]);}}_0x222b09[_0x1cd3('0x1155')]=_0x3a8fa0;}else{if(!_0x5e1944[_0x1cd3('0x391')]){return _0x3c7d7a[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x5e1944['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0xb8b40a){var _0x132627=_[_0x1cd3('0x3d9')](_0xb8b40a[_0x1cd3('0xf6')],function(_0x42f12e){return _['find'](_0x222b09[_0x1cd3('0x1155')],{'id':_0x42f12e['resourceId']});});var _0x1f1cf9=null;if(_0x222b09[_0x1cd3('0x1220')]){_0x1f1cf9=_[_0x1cd3('0x442')](_0x222b09['queues'],{'name':_0x222b09[_0x1cd3('0x1220')][_0x1cd3('0x1220')]});}if(_0x1f1cf9&&!_[_0x1cd3('0x38d')](_0x132627,['id',_0x1f1cf9['id']])){var _0x4efcad=_[_0x1cd3('0x442')](_0x222b09[_0x1cd3('0x1155')],{'id':_0x1f1cf9['id']});_0x4efcad['canSelect']=![];_0x132627[_0x1cd3('0x7b')](_0x4efcad);}_0x222b09[_0x1cd3('0x1155')]=_0x132627;});}}})[_0x1cd3('0xfd')](function(_0x520dd7){_0x495b36['error']({'title':_0x520dd7['status']?_0x1cd3('0x435')+_0x520dd7['status']+'\x20-\x20'+_0x520dd7['statusText']:_0x1cd3('0x12b0'),'msg':_0x520dd7[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x520dd7[_0x1cd3('0x439')]):_0x520dd7[_0x1cd3('0x43b')]()});});function _0x54e712(){_0x222b09[_0x1cd3('0xd34')]=[];var _0x17e776=[];if(_0x222b09[_0x1cd3('0x1220')][_0x1cd3('0x424')]&&_0x222b09[_0x1cd3('0x1220')][_0x1cd3('0x424')][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x222b09[_0x1cd3('0x1220')][_0x1cd3('0x125b')]===_0x1cd3('0x1283')){_0x222b09[_0x1cd3('0x1220')][_0x1cd3('0xf09')]=_0x576481['cutdigits']?(_0x222b09[_0x1cd3('0x1220')][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x1284')+_0x576481[_0x1cd3('0x128a')]+'}':(_0x222b09[_0x1cd3('0x1220')][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x128d');if(_0x576481[_0x1cd3('0x1285')]!=='none'){if(_0x222b09[_0x1cd3('0x1220')][_0x1cd3('0x422')][_0x1cd3('0x45e')]('U(xcally-mixmonitor-context)')<0x0){_0x222b09[_0x1cd3('0x1220')][_0x1cd3('0x422')]+=_0x1cd3('0x1286');}}else{_0x222b09['queue'][_0x1cd3('0x422')]=_0x222b09[_0x1cd3('0x1220')]['options'][_0x1cd3('0x3f1')](_0x1cd3('0x1286'),'');}}var _0x12479c=_[_0x1cd3('0x442')](_0x222b09[_0x1cd3('0x1155')],{'name':_0x222b09[_0x1cd3('0x1220')][_0x1cd3('0x1220')]});if(_0x12479c){_0x222b09['queue'][_[_0x1cd3('0x12b1')]('fax')+_0x1cd3('0x190e')]=_0x12479c['id'];}if(_0x222b09[_0x1cd3('0x1220')][_0x1cd3('0x125b')]&&_0x222b09[_0x1cd3('0x1220')][_0x1cd3('0x125b')]==='custom'){}else{switch((_0x222b09[_0x1cd3('0x1220')][_0x1cd3('0xd0a')]||_0x222b09[_0x1cd3('0x1220')]['appType'])['toLowerCase']()){case _0x1cd3('0x127e'):_0x222b09['queue'][_0x1cd3('0x127d')]=_0x222b09[_0x1cd3('0x1220')][_0x1cd3('0x98')]+'='+_0x222b09['queue'][_0x1cd3('0x3db')];break;case'custom':break;default:_0x17e776[0x0]=_0x222b09[_0x1cd3('0x1220')]['queue'];_0x17e776[0x1]=_0x222b09[_0x1cd3('0x1220')]['timeout'];_0x222b09[_0x1cd3('0x1220')][_0x1cd3('0x127d')]=_0x17e776[_0x1cd3('0x3de')](',');}}_0x263041(_0x222b09[_0x1cd3('0x1220')]);}function _0x263041(_0x3ee18b){_0x41542e[_0x1cd3('0x39d')](_0x3ee18b);}}}());(function(){'use strict';_0x8865bf[_0x1cd3('0xc')]=['$mdDialog','$q',_0x1cd3('0x461'),_0x1cd3('0x1903'),_0x1cd3('0xaa4'),_0x1cd3('0x370'),_0x1cd3('0x56'),'crudPermissions'];angular[_0x1cd3('0x0')](_0x1cd3('0x32'))['controller'](_0x1cd3('0x190f'),_0x8865bf);function _0x8865bf(_0x44ec5a,_0x362f4c,_0x1bb17d,_0x3fa2c0,_0x2cbe83,_0x2d6f9b,_0x242d3e,_0x9181f5){var _0x5344fe=this;_0x5344fe['currentUser']=_0x242d3e['getCurrentUser']();_0x5344fe[_0x1cd3('0xd34')]=[];_0x5344fe['title']=_0x1cd3('0x1905')+(_0x3fa2c0[_0x1cd3('0x125b')]||_0x3fa2c0['app'])[_0x1cd3('0x437')]();_0x5344fe[_0x1cd3('0xa13')]=angular[_0x1cd3('0x429')](_0x3fa2c0);_0x5344fe[_0x1cd3('0xd27')]=_0x9181f5;_0x5344fe[_0x1cd3('0xd28')]={};if(_0x5344fe[_0x1cd3('0xa13')]['appdata']){switch(_0x5344fe['system'][_0x1cd3('0x125b')]?_0x5344fe[_0x1cd3('0xa13')][_0x1cd3('0x125b')]['toLowerCase']():_0x5344fe[_0x1cd3('0xa13')][_0x1cd3('0xd0a')][_0x1cd3('0x433')]()){case'custom':break;case'dialogflow':var _0x278ed=_0x5344fe[_0x1cd3('0xa13')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x5344fe[_0x1cd3('0xa13')][_0x1cd3('0x65c')]=_0x278ed[0x0];_0x5344fe[_0x1cd3('0xa13')]['language']=_0x278ed[0x1];_0x5344fe[_0x1cd3('0xa13')][_0x1cd3('0x1246')]=_0x278ed[_0x1cd3('0x9a2')](0x2,_0x278ed['length'])['join'](',');break;case _0x1cd3('0x1247'):var _0x278ed=_0x5344fe[_0x1cd3('0xa13')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x5344fe[_0x1cd3('0xa13')]['accesskeyid']=_0x278ed[0x0];_0x5344fe[_0x1cd3('0xa13')]['secretaccesskey']=_0x278ed[0x1];_0x5344fe[_0x1cd3('0xa13')]['lexregion']=_0x278ed[0x2];_0x5344fe[_0x1cd3('0xa13')][_0x1cd3('0x124f')]=_0x278ed[0x3];_0x5344fe[_0x1cd3('0xa13')][_0x1cd3('0x1246')]=_0x278ed['slice'](0x4,_0x278ed[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case'autoreply':var _0x278ed=_0x5344fe['system'][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x5344fe[_0x1cd3('0xa13')]['times']=isNaN(_0x278ed[0x0])?_0x278ed[0x0]:parseInt(_0x278ed[0x0],0xa);_0x5344fe[_0x1cd3('0xa13')]['text']=_0x278ed['slice'](0x1,_0x278ed[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x43a'):_0x5344fe[_0x1cd3('0xa13')][_0x1cd3('0x401')]=_0x5344fe[_0x1cd3('0xa13')][_0x1cd3('0x127d')];break;case _0x1cd3('0x127e'):_0x5344fe['system'][_0x1cd3('0x98')]=_0x5344fe[_0x1cd3('0xa13')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x0];_0x5344fe['system']['value']=_0x5344fe[_0x1cd3('0xa13')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x1];break;case _0x1cd3('0x128c'):_0x5344fe[_0x1cd3('0xa13')][_0x1cd3('0xedd')]=_0x5344fe[_0x1cd3('0xa13')][_0x1cd3('0x127d')];break;default:var _0x42e448=_0x5344fe[_0x1cd3('0xa13')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x5344fe[_0x1cd3('0xa13')][_0x1cd3('0xf0d')]=_[_0x1cd3('0x398')](_0x42e448[0x0])?_0x42e448[0x0]:isNaN(_0x42e448[0x0])?_0x42e448[0x0]:parseInt(_0x42e448[0x0],0xa);_0x5344fe[_0x1cd3('0xa13')][_0x1cd3('0xb84')]=_[_0x1cd3('0x398')](_0x42e448[0x1])?_0x42e448[0x1]:isNaN(_0x42e448[0x1])?_0x42e448[0x1]:parseInt(_0x42e448[0x1],0xa);}}else{_0x5344fe[_0x1cd3('0xa13')][_0x1cd3('0xb84')]='';}if(_0x5344fe[_0x1cd3('0xa13')][_0x1cd3('0x424')]&&_0x5344fe[_0x1cd3('0xa13')][_0x1cd3('0x424')][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x5344fe[_0x1cd3('0xa13')][_0x1cd3('0x125b')][_0x1cd3('0x433')]()===_0x1cd3('0x1289')){_0x5344fe[_0x1cd3('0xa13')][_0x1cd3('0x6aa')]=_0x5344fe['system'][_0x1cd3('0xf09')]?_0x5344fe[_0x1cd3('0xa13')][_0x1cd3('0xf09')]['split']('$')[0x0]:undefined;_0x5344fe[_0x1cd3('0xa13')][_0x1cd3('0x689')]=_0x5344fe['system'][_0x1cd3('0x127f')]?_0x1cd3('0x1280')+_0x5344fe[_0x1cd3('0xa13')][_0x1cd3('0x127f')]:undefined;}_0x5344fe['saveFaxAccountApp']=_0x2b56d7;_0x5344fe[_0x1cd3('0x39c')]=_0x90356e;_0x242d3e['hasRole']('admin')?_0x2d6f9b['variable'][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':'name','nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x5ab884){_0x5344fe[_0x1cd3('0xef7')]=_0x5ab884[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0xacd7c8){_0x1bb17d[_0x1cd3('0x434')]({'title':_0xacd7c8['status']?_0x1cd3('0x435')+_0xacd7c8['status']+'\x20-\x20'+_0xacd7c8[_0x1cd3('0xd35')]:_0x1cd3('0x12b3'),'msg':_0xacd7c8[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0xacd7c8[_0x1cd3('0x439')]):_0xacd7c8[_0x1cd3('0x43b')]()});}):_0x2d6f9b['variable']['get']({'fields':'id,name','sort':'name','nolimit':'true'})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x34cd90){_0x5344fe[_0x1cd3('0xef7')]=_0x34cd90[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x2d6f9b[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x5344fe[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x3f4})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x2b3754){var _0x3b670e=_0x2b3754&&_0x2b3754[_0x1cd3('0xf6')]?_0x2b3754['rows'][0x0]:null;if(!_0x3b670e){var _0x4a3f96=[];var _0x55f26c=null;if(_0x5344fe[_0x1cd3('0xa13')]){_0x55f26c=_['find'](_0x5344fe['variables'],{'name':_0x5344fe[_0x1cd3('0xa13')][_0x1cd3('0xb84')]});}for(var _0x5914f2=0x0;_0x5914f2<_0x5344fe[_0x1cd3('0xef7')][_0x1cd3('0x7a')];_0x5914f2++){if(_0x55f26c&&_0x5344fe[_0x1cd3('0xef7')][_0x5914f2]['id']===_0x55f26c['id']){_0x5344fe[_0x1cd3('0xef7')][_0x5914f2][_0x1cd3('0xf4a')]=![];_0x4a3f96[_0x1cd3('0x7b')](_0x5344fe[_0x1cd3('0xef7')][_0x5914f2]);}}_0x5344fe[_0x1cd3('0xef7')]=_0x4a3f96;}else{if(!_0x3b670e['autoAssociation']){return _0x2d6f9b[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x3b670e['id']})['$promise'][_0x1cd3('0x77')](function(_0x301eb5){var _0x306c79=_[_0x1cd3('0x3d9')](_0x301eb5['rows'],function(_0x17450a){return _[_0x1cd3('0x442')](_0x5344fe[_0x1cd3('0xef7')],{'id':_0x17450a['resourceId']});});var _0x1f0e29=null;if(_0x5344fe[_0x1cd3('0xa13')]){_0x1f0e29=_['find'](_0x5344fe[_0x1cd3('0xef7')],{'name':_0x5344fe[_0x1cd3('0xa13')][_0x1cd3('0xb84')]});}if(_0x1f0e29&&!_['some'](_0x306c79,['id',_0x1f0e29['id']])){var _0x396ab2=_[_0x1cd3('0x442')](_0x5344fe[_0x1cd3('0xef7')],{'id':_0x1f0e29['id']});_0x396ab2[_0x1cd3('0xf4a')]=![];_0x306c79[_0x1cd3('0x7b')](_0x396ab2);}_0x5344fe[_0x1cd3('0xef7')]=_0x306c79;});}}})['catch'](function(_0x42cd86){_0x1bb17d['error']({'title':_0x42cd86[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x42cd86[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x42cd86[_0x1cd3('0xd35')]:'SYSTEM:GETvariables','msg':_0x42cd86[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x42cd86[_0x1cd3('0x439')]):_0x42cd86[_0x1cd3('0x43b')]()});});function _0x2b56d7(){_0x5344fe[_0x1cd3('0xd34')]=[];var _0x29d671=[];if(_0x5344fe[_0x1cd3('0xa13')]['type']&&_0x5344fe[_0x1cd3('0xa13')]['type'][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x5344fe['system'][_0x1cd3('0x125b')]===_0x1cd3('0x1283')){_0x5344fe[_0x1cd3('0xa13')][_0x1cd3('0xf09')]=_0x2cbe83[_0x1cd3('0x128a')]?(_0x5344fe[_0x1cd3('0xa13')]['prefix']||'')+_0x1cd3('0x1284')+_0x2cbe83[_0x1cd3('0x128a')]+'}':(_0x5344fe[_0x1cd3('0xa13')][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x128d');if(_0x2cbe83['recordingFormat']!==_0x1cd3('0x6ae')){if(_0x5344fe[_0x1cd3('0xa13')][_0x1cd3('0x422')][_0x1cd3('0x45e')](_0x1cd3('0x1286'))<0x0){_0x5344fe[_0x1cd3('0xa13')][_0x1cd3('0x422')]+=_0x1cd3('0x1286');}}else{_0x5344fe['system'][_0x1cd3('0x422')]=_0x5344fe[_0x1cd3('0xa13')][_0x1cd3('0x422')]['replace']('U(xcally-mixmonitor-context)','');}}if(_0x5344fe[_0x1cd3('0xa13')][_0x1cd3('0x125b')]&&_0x5344fe[_0x1cd3('0xa13')]['appType']===_0x1cd3('0x8f6')){}else{switch((_0x5344fe['system']['app']||_0x5344fe['system'][_0x1cd3('0x125b')])[_0x1cd3('0x433')]()){case'set':_0x5344fe['system']['appdata']=_0x5344fe[_0x1cd3('0xa13')][_0x1cd3('0x98')]+'='+_0x5344fe[_0x1cd3('0xa13')][_0x1cd3('0x3db')];break;case _0x1cd3('0x8f6'):break;default:_0x29d671[0x0]=_0x5344fe[_0x1cd3('0xa13')][_0x1cd3('0xf0d')];_0x29d671[0x1]=_0x5344fe[_0x1cd3('0xa13')]['variable'];_0x5344fe['system'][_0x1cd3('0x127d')]=_0x29d671[_0x1cd3('0x3de')](',');}}_0x90356e(_0x5344fe[_0x1cd3('0xa13')]);}function _0x90356e(_0x3f648e){_0x44ec5a[_0x1cd3('0x39d')](_0x3f648e);}}}());(function(){'use strict';_0x59528d[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),'$q',_0x1cd3('0x461'),_0x1cd3('0x1903'),_0x1cd3('0xaa4'),_0x1cd3('0x370'),_0x1cd3('0x56'),'crudPermissions'];angular['module'](_0x1cd3('0x32'))['controller'](_0x1cd3('0x1910'),_0x59528d);function _0x59528d(_0x21152b,_0x1f287d,_0x1d6832,_0x18a55c,_0x12399e,_0x1f0f2b,_0x2f5a20,_0x1f0ddc){var _0x5c0340=this;_0x5c0340[_0x1cd3('0x3ca')]=_0x2f5a20[_0x1cd3('0x5d')]();_0x5c0340[_0x1cd3('0xd34')]=[];_0x5c0340['title']=_0x1cd3('0x1905')+(_0x18a55c['appType']||_0x18a55c[_0x1cd3('0xd0a')])[_0x1cd3('0x437')]();_0x5c0340['tag']=angular['copy'](_0x18a55c);_0x5c0340[_0x1cd3('0xd27')]=_0x1f0ddc;_0x5c0340['hasModulePermissions']={};if(_0x5c0340[_0x1cd3('0xb76')]['appdata']){switch(_0x5c0340[_0x1cd3('0xb76')]['appType']?_0x5c0340[_0x1cd3('0xb76')][_0x1cd3('0x125b')]['toLowerCase']():_0x5c0340[_0x1cd3('0xb76')][_0x1cd3('0xd0a')]['toLowerCase']()){case _0x1cd3('0x8f6'):break;case _0x1cd3('0x1233'):var _0x200b29=_0x5c0340[_0x1cd3('0xb76')][_0x1cd3('0x127d')]['split'](',');_0x5c0340[_0x1cd3('0xb76')][_0x1cd3('0x65c')]=_0x200b29[0x0];_0x5c0340[_0x1cd3('0xb76')][_0x1cd3('0x3f3')]=_0x200b29[0x1];_0x5c0340[_0x1cd3('0xb76')]['welcomemessage']=_0x200b29[_0x1cd3('0x9a2')](0x2,_0x200b29[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x1247'):var _0x200b29=_0x5c0340[_0x1cd3('0xb76')]['appdata']['split'](',');_0x5c0340[_0x1cd3('0xb76')]['accesskeyid']=_0x200b29[0x0];_0x5c0340[_0x1cd3('0xb76')]['secretaccesskey']=_0x200b29[0x1];_0x5c0340[_0x1cd3('0xb76')][_0x1cd3('0x124a')]=_0x200b29[0x2];_0x5c0340['tag'][_0x1cd3('0x124f')]=_0x200b29[0x3];_0x5c0340[_0x1cd3('0xb76')]['welcomemessage']=_0x200b29['slice'](0x4,_0x200b29[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x122b'):var _0x200b29=_0x5c0340['tag']['appdata'][_0x1cd3('0x3ef')](',');_0x5c0340[_0x1cd3('0xb76')]['times']=isNaN(_0x200b29[0x0])?_0x200b29[0x0]:parseInt(_0x200b29[0x0],0xa);_0x5c0340[_0x1cd3('0xb76')]['text']=_0x200b29[_0x1cd3('0x9a2')](0x1,_0x200b29[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x43a'):_0x5c0340['tag'][_0x1cd3('0x401')]=_0x5c0340[_0x1cd3('0xb76')][_0x1cd3('0x127d')];break;case _0x1cd3('0x127e'):_0x5c0340[_0x1cd3('0xb76')][_0x1cd3('0x98')]=_0x5c0340[_0x1cd3('0xb76')]['appdata'][_0x1cd3('0x3ef')]('=')[0x0];_0x5c0340[_0x1cd3('0xb76')]['value']=_0x5c0340[_0x1cd3('0xb76')][_0x1cd3('0x127d')]['split']('=')[0x1];break;case _0x1cd3('0x128c'):_0x5c0340[_0x1cd3('0xb76')]['project']=_0x5c0340[_0x1cd3('0xb76')][_0x1cd3('0x127d')];break;default:var _0x517c75=_0x5c0340[_0x1cd3('0xb76')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x5c0340['tag'][_0x1cd3('0xb76')]=_[_0x1cd3('0x398')](_0x517c75[0x0])?_0x517c75[0x0]:isNaN(_0x517c75[0x0])?_0x517c75[0x0]:parseInt(_0x517c75[0x0],0xa);}}else{}if(_0x5c0340['tag'][_0x1cd3('0x424')]&&_0x5c0340[_0x1cd3('0xb76')][_0x1cd3('0x424')]['toLowerCase']()==='outbound'&&_0x5c0340['tag'][_0x1cd3('0x125b')][_0x1cd3('0x433')]()===_0x1cd3('0x1289')){_0x5c0340['tag']['prefix']=_0x5c0340['tag'][_0x1cd3('0xf09')]?_0x5c0340[_0x1cd3('0xb76')][_0x1cd3('0xf09')][_0x1cd3('0x3ef')]('$')[0x0]:undefined;_0x5c0340[_0x1cd3('0xb76')][_0x1cd3('0x689')]=_0x5c0340[_0x1cd3('0xb76')][_0x1cd3('0x127f')]?_0x1cd3('0x1280')+_0x5c0340[_0x1cd3('0xb76')][_0x1cd3('0x127f')]:undefined;}_0x5c0340['saveFaxAccountApp']=_0x520ceb;_0x5c0340[_0x1cd3('0x39c')]=_0x7c74fe;_0x2f5a20['hasRole']('admin')?_0x1f0f2b['tag'][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x55e89a){_0x5c0340[_0x1cd3('0x921')]=_0x55e89a['rows']||[];})[_0x1cd3('0xfd')](function(_0x1f6cf2){_0x1d6832[_0x1cd3('0x434')]({'title':_0x1f6cf2[_0x1cd3('0x3a6')]?'API:'+_0x1f6cf2[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x1f6cf2[_0x1cd3('0xd35')]:'SYSTEM:GET_TAGS','msg':_0x1f6cf2[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x1f6cf2[_0x1cd3('0x439')]):_0x1f6cf2['toString']()});}):_0x1f0f2b['tag'][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x6c56cc){_0x5c0340[_0x1cd3('0x921')]=_0x6c56cc[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x1f0f2b['userProfileSection'][_0x1cd3('0x361')]({'userProfileId':_0x5c0340[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x3f0})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x3fbf3a){var _0x34740d=_0x3fbf3a&&_0x3fbf3a[_0x1cd3('0xf6')]?_0x3fbf3a[_0x1cd3('0xf6')][0x0]:null;if(!_0x34740d){var _0x39207e=[];var _0x31eabe=null;if(_0x5c0340[_0x1cd3('0xb76')]){_0x31eabe=_[_0x1cd3('0x442')](_0x5c0340[_0x1cd3('0x921')],{'name':_0x5c0340['tag'][_0x1cd3('0xb76')]});}for(var _0x514a88=0x0;_0x514a88<_0x5c0340[_0x1cd3('0x921')][_0x1cd3('0x7a')];_0x514a88++){if(_0x31eabe&&_0x5c0340['tags'][_0x514a88]['id']===_0x31eabe['id']){_0x5c0340['tags'][_0x514a88][_0x1cd3('0xf4a')]=![];_0x39207e[_0x1cd3('0x7b')](_0x5c0340[_0x1cd3('0x921')][_0x514a88]);}}_0x5c0340[_0x1cd3('0x921')]=_0x39207e;}else{if(!_0x34740d['autoAssociation']){return _0x1f0f2b[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x34740d['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x19e715){var _0x404fbc=_[_0x1cd3('0x3d9')](_0x19e715[_0x1cd3('0xf6')],function(_0x393f3b){return _[_0x1cd3('0x442')](_0x5c0340['tags'],{'id':_0x393f3b['resourceId']});});var _0x302d0b=null;if(_0x5c0340[_0x1cd3('0xb76')]){_0x302d0b=_[_0x1cd3('0x442')](_0x5c0340[_0x1cd3('0x921')],{'name':_0x5c0340[_0x1cd3('0xb76')][_0x1cd3('0xb76')]});}if(_0x302d0b&&!_[_0x1cd3('0x38d')](_0x404fbc,['id',_0x302d0b['id']])){var _0x30fd6b=_[_0x1cd3('0x442')](_0x5c0340[_0x1cd3('0x921')],{'id':_0x302d0b['id']});_0x30fd6b[_0x1cd3('0xf4a')]=![];_0x404fbc[_0x1cd3('0x7b')](_0x30fd6b);}_0x5c0340[_0x1cd3('0x921')]=_0x404fbc;});}}})[_0x1cd3('0xfd')](function(_0xe5b109){_0x1d6832[_0x1cd3('0x434')]({'title':_0xe5b109[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0xe5b109[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0xe5b109[_0x1cd3('0xd35')]:'SYSTEM:GETtags','msg':_0xe5b109[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0xe5b109[_0x1cd3('0x439')]):_0xe5b109[_0x1cd3('0x43b')]()});});function _0x520ceb(){_0x5c0340[_0x1cd3('0xd34')]=[];var _0x5f23a8=[];if(_0x5c0340['tag'][_0x1cd3('0x424')]&&_0x5c0340[_0x1cd3('0xb76')]['type'][_0x1cd3('0x433')]()==='outbound'&&_0x5c0340[_0x1cd3('0xb76')][_0x1cd3('0x125b')]==='outboundDial'){_0x5c0340[_0x1cd3('0xb76')][_0x1cd3('0xf09')]=_0x12399e[_0x1cd3('0x128a')]?(_0x5c0340['tag']['prefix']||'')+_0x1cd3('0x1284')+_0x12399e['cutdigits']+'}':(_0x5c0340['tag'][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x128d');if(_0x12399e[_0x1cd3('0x1285')]!=='none'){if(_0x5c0340['tag'][_0x1cd3('0x422')][_0x1cd3('0x45e')]('U(xcally-mixmonitor-context)')<0x0){_0x5c0340['tag'][_0x1cd3('0x422')]+=_0x1cd3('0x1286');}}else{_0x5c0340['tag'][_0x1cd3('0x422')]=_0x5c0340[_0x1cd3('0xb76')][_0x1cd3('0x422')][_0x1cd3('0x3f1')](_0x1cd3('0x1286'),'');}}var _0x367ad2=_['find'](_0x5c0340[_0x1cd3('0x921')],{'name':_0x5c0340[_0x1cd3('0xb76')][_0x1cd3('0xb76')]});if(_0x367ad2){_0x5c0340[_0x1cd3('0xb76')][_0x1cd3('0x1230')]=_0x367ad2['id'];}if(_0x5c0340[_0x1cd3('0xb76')][_0x1cd3('0x125b')]&&_0x5c0340[_0x1cd3('0xb76')][_0x1cd3('0x125b')]===_0x1cd3('0x8f6')){}else{switch((_0x5c0340[_0x1cd3('0xb76')][_0x1cd3('0xd0a')]||_0x5c0340[_0x1cd3('0xb76')][_0x1cd3('0x125b')])[_0x1cd3('0x433')]()){case _0x1cd3('0x127e'):_0x5c0340[_0x1cd3('0xb76')]['appdata']=_0x5c0340['tag'][_0x1cd3('0x98')]+'='+_0x5c0340[_0x1cd3('0xb76')][_0x1cd3('0x3db')];break;case'custom':break;default:_0x5f23a8[0x0]=_0x5c0340[_0x1cd3('0xb76')][_0x1cd3('0xb76')];_0x5c0340[_0x1cd3('0xb76')][_0x1cd3('0x127d')]=_0x5f23a8[_0x1cd3('0x3de')](',');}}_0x7c74fe(_0x5c0340['tag']);}function _0x7c74fe(_0x394d30){_0x21152b['hide'](_0x394d30);}}}());(function(){'use strict';_0x544fb6[_0x1cd3('0xc')]=[_0x1cd3('0x36f'),_0x1cd3('0x460'),_0x1cd3('0x53e'),'$q',_0x1cd3('0x3f7'),'$timeout',_0x1cd3('0x3c5'),'$document','toasty',_0x1cd3('0x370'),_0x1cd3('0x56')];angular[_0x1cd3('0x0')]('app.fax')[_0x1cd3('0x39b')](_0x1cd3('0x1911'),_0x544fb6);function _0x544fb6(_0xa91243,_0x41b85c,_0x53745c,_0x397fd2,_0x59bf09,_0x5bc049,_0x1f54c0,_0x51d8c0,_0x480181,_0xec39b9,_0x5b13a3){var _0x4b9cf7=this;_0x4b9cf7[_0x1cd3('0x3ca')]=_0x5b13a3[_0x1cd3('0x5d')]();_0x4b9cf7['faxAccount']={};_0x4b9cf7['faxAccountFaxDispositions']={'count':0x0,'rows':[]};_0x4b9cf7[_0x1cd3('0x1912')]=[];_0x4b9cf7[_0x1cd3('0xd27')];_0x4b9cf7[_0x1cd3('0x3d4')]={'fields':'createdAt,updatedAt,id,name','limit':0xa,'page':0x1};_0x4b9cf7[_0x1cd3('0xe08')]=_0x351d25;_0x4b9cf7[_0x1cd3('0xe0a')]=_0x301e1e;_0x4b9cf7[_0x1cd3('0x473')]=_0x26631a;_0x4b9cf7['getFaxAccountFaxDispositions']=_0x5cd724;_0x4b9cf7['createOrEditFaxAccountFaxDisposition']=_0x40e17f;_0x4b9cf7[_0x1cd3('0x1913')]=_0x41925c;_0x4b9cf7['deleteFaxAccountFaxDisposition']=_0x359e85;_0x4b9cf7[_0x1cd3('0x1914')]=_0x311e9f;function _0x351d25(_0x3a1d38,_0x1796cf){_0x4b9cf7[_0x1cd3('0xaa4')]=_0x3a1d38;_0x4b9cf7[_0x1cd3('0xd27')]=typeof _0x1796cf!==_0x1cd3('0x491')?_0x1796cf:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x4b9cf7[_0x1cd3('0x3d4')]['FaxAccountId']=_0x4b9cf7['faxAccount']['id'];_0x4b9cf7['query']['id']=_0x4b9cf7[_0x1cd3('0xaa4')]['id'];_0x5cd724();}function _0x301e1e(_0x84303a,_0x4f344f){var _0x3528fc=_0x1f54c0[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x1915'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+(_0x84303a['name']||_0x84303a['id']&&_[_0x1cd3('0x12bc')](_0x1cd3('0x1916'))+_0x84303a['id']||_0x1cd3('0x1917'))+'</b>'+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x1918'))['targetEvent'](_0x4f344f)['ok']('OK')[_0x1cd3('0x4d8')]('CANCEL');_0x1f54c0[_0x1cd3('0x37e')](_0x3528fc)[_0x1cd3('0x77')](function(){_0x359e85(_0x84303a);},function(){console['log'](_0x1cd3('0xd55'));});}function _0x26631a(_0x44ba0a){_0x4b9cf7[_0x1cd3('0x1919')]=_0x44ba0a||{'count':0x0,'rows':[]};}function _0x5cd724(){_0x4b9cf7['query'][_0x1cd3('0xd57')]=(_0x4b9cf7[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0x4b9cf7[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];_0x4b9cf7[_0x1cd3('0x539')]=_0xec39b9[_0x1cd3('0xaa4')]['getDispositions'](_0x4b9cf7[_0x1cd3('0x3d4')],_0x26631a)['$promise'];}function _0x40e17f(_0x2d491f,_0x34d870){_0x1f54c0['show']({'controller':_0x1cd3('0x191a'),'controllerAs':'vm','templateUrl':_0x1cd3('0x191b'),'parent':angular['element'](_0x51d8c0[_0x1cd3('0x380')]),'targetEvent':_0x2d491f,'clickOutsideToClose':!![],'locals':{'faxAccount':_0x4b9cf7[_0x1cd3('0xaa4')],'faxDisposition':_0x34d870,'faxDispositions':_0x4b9cf7[_0x1cd3('0x1919')]['rows'],'license':null,'setting':null,'crudPermissions':_0x4b9cf7['crudPermissions']}});}function _0x359e85(_0xd33238){_0xec39b9[_0x1cd3('0xb63')][_0x1cd3('0xa1c')]({'id':_0xd33238['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x4b9cf7[_0x1cd3('0x1919')][_0x1cd3('0xf6')],{'id':_0xd33238['id']});_0x4b9cf7['faxAccountFaxDispositions'][_0x1cd3('0x466')]-=0x1;if(!_0x4b9cf7[_0x1cd3('0x1919')][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){_0x5cd724();}_0x480181[_0x1cd3('0x473')]({'title':_0x1cd3('0x191c'),'msg':_0xd33238['name']?_0xd33238[_0x1cd3('0x98')]+_0x1cd3('0xd41'):''});})[_0x1cd3('0xfd')](function(_0x2ac5ed){if(_0x2ac5ed[_0x1cd3('0x439')]&&_0x2ac5ed['data'][_0x1cd3('0xd34')]&&_0x2ac5ed[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){vm[_0x1cd3('0xd34')]=_0x2ac5ed[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x2ac5ed[_0x1cd3('0x43b')](),'type':_0x1cd3('0x191d')}];for(var _0x4ecbe1=0x0;_0x4ecbe1<_0x2ac5ed[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0x4ecbe1++){_0x480181[_0x1cd3('0x434')]({'title':_0x2ac5ed[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x4ecbe1][_0x1cd3('0x424')],'msg':_0x2ac5ed[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x4ecbe1][_0x1cd3('0x43a')]});}}else{_0x480181[_0x1cd3('0x434')]({'title':_0x2ac5ed[_0x1cd3('0x3a6')]?'API:'+_0x2ac5ed['status']+_0x1cd3('0x436')+_0x2ac5ed['statusText']:_0x1cd3('0x191d'),'msg':_0x2ac5ed[_0x1cd3('0x439')]?JSON['stringify'](_0x2ac5ed[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x2ac5ed['message']||_0x2ac5ed['toString']()});}});}function _0x41925c(){var _0x47ecaa=angular[_0x1cd3('0x429')](_0x4b9cf7[_0x1cd3('0x1912')]);_0x4b9cf7['selectedFaxAccountFaxDispositions']=[];return _0x47ecaa;}function _0x311e9f(_0x1d37d4){var _0x1dce13=_0x1f54c0[_0x1cd3('0xd39')]()[_0x1cd3('0x486')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20faxDispositions?')[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x4b9cf7[_0x1cd3('0x1912')]['length']+_0x1cd3('0xd61')+_0x1cd3('0xd53'))['ariaLabel'](_0x1cd3('0x191e'))[_0x1cd3('0xd63')](_0x1d37d4)['ok']('OK')[_0x1cd3('0x4d8')]('CANCEL');_0x1f54c0[_0x1cd3('0x37e')](_0x1dce13)[_0x1cd3('0x77')](function(){_0x4b9cf7[_0x1cd3('0x1912')]['forEach'](function(_0x15d8a7){_0x359e85(_0x15d8a7);});_0x4b9cf7[_0x1cd3('0x1912')]=[];});}var _0x887ee0=!![];var _0x2c2b3b=0x1;_0x41b85c[_0x1cd3('0x4d6')](_0x1cd3('0x1340'),function(_0x4ff6b8,_0x262c78){if(_0x887ee0){_0x5bc049(function(){_0x887ee0=![];});}else{if(!_0x262c78){_0x2c2b3b=_0x4b9cf7[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0x4ff6b8!==_0x262c78){_0x4b9cf7[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}if(!_0x4ff6b8){_0x4b9cf7[_0x1cd3('0x3d4')]['page']=_0x2c2b3b;}_0x5cd724();}});}}());(function(){'use strict';_0x568cf9[_0x1cd3('0xc')]=['$scope',_0x1cd3('0x53e'),_0x1cd3('0xd24'),_0x1cd3('0x3c5'),'$q',_0x1cd3('0x3f7'),_0x1cd3('0x461'),_0x1cd3('0x191f'),_0x1cd3('0x1917'),_0x1cd3('0x370'),'Auth',_0x1cd3('0x463'),'setting',_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x32'))[_0x1cd3('0x39b')]('CreateOrEditFaxDispositionDialogController',_0x568cf9);function _0x568cf9(_0x4c231f,_0x3f2227,_0x244f55,_0xe5261f,_0xea86b8,_0x49e031,_0x5d6759,_0x2b5c49,_0x2a6aad,_0x2a8528,_0x722762,_0xa95ed2,_0x3e4583,_0x17de8f){var _0x2f2178=this;_0x2f2178['currentUser']=_0x722762[_0x1cd3('0x5d')]();_0x2f2178[_0x1cd3('0xd34')]=[];_0x2f2178['setting']=_0x3e4583;_0x2f2178[_0x1cd3('0x463')]=_0xa95ed2;_0x2f2178[_0x1cd3('0xd27')]=_0x17de8f;_0x2f2178[_0x1cd3('0xd28')]={};_0x2f2178['passwordPattern']=_0x2f2178[_0x1cd3('0xc49')]&&_0x2f2178[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x2f2178[_0x1cd3('0x486')]='FAX.EDIT_FAXDISPOSITION';_0x2f2178[_0x1cd3('0x1917')]=angular[_0x1cd3('0x429')](_0x2a6aad);_0x2f2178['faxDispositions']=_0x2b5c49;_0x2f2178[_0x1cd3('0x1920')]=![];if(!_0x2f2178['faxDisposition']){_0x2f2178[_0x1cd3('0x1917')]={};_0x2f2178[_0x1cd3('0x486')]='FAX.NEW_FAXDISPOSITION';_0x2f2178[_0x1cd3('0x1920')]=!![];}if(_0x3f2227[_0x1cd3('0x36a')]['id']){_0x2f2178[_0x1cd3('0x1917')][_0x1cd3('0x148f')]=_0x3f2227['params']['id'];}_0x2f2178['addNewFaxDisposition']=_0x5ca195;_0x2f2178[_0x1cd3('0x1921')]=_0x4b52b9;_0x2f2178[_0x1cd3('0x1922')]=_0x2e06f6;_0x2f2178[_0x1cd3('0xd31')]=_0x21552d;_0x2f2178[_0x1cd3('0x39c')]=_0x1b42e1;function _0x5ca195(){_0x2f2178['errors']=[];_0x2a8528[_0x1cd3('0xb63')][_0x1cd3('0xd6d')](_0x2f2178[_0x1cd3('0x1917')])[_0x1cd3('0x81')]['then'](function(_0x42e1be){_0x2f2178[_0x1cd3('0x191f')]['unshift'](_0x42e1be['toJSON']());_0x5d6759['success']({'title':_0x1cd3('0x1923'),'msg':_0x2f2178[_0x1cd3('0x1917')][_0x1cd3('0x98')]?_0x2f2178[_0x1cd3('0x1917')][_0x1cd3('0x98')]+'\x20has\x20been\x20created!':''});_0x1b42e1(_0x42e1be);})[_0x1cd3('0xfd')](function(_0x397b41){if(_0x397b41['data']&&_0x397b41[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x397b41[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x2f2178['errors']=_0x397b41[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x397b41[_0x1cd3('0x43b')](),'type':'api.disposition.save'}];for(var _0xc59651=0x0;_0xc59651<_0x397b41[_0x1cd3('0x439')]['errors']['length'];_0xc59651+=0x1){_0x5d6759['error']({'title':_0x397b41[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0xc59651][_0x1cd3('0x424')],'msg':_0x397b41[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0xc59651][_0x1cd3('0x43a')]});}}else{_0x5d6759[_0x1cd3('0x434')]({'title':_0x397b41['status']?_0x1cd3('0x435')+_0x397b41[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x397b41[_0x1cd3('0xd35')]:_0x1cd3('0x12e8'),'msg':_0x397b41['data']?JSON[_0x1cd3('0x438')](_0x397b41['data'][_0x1cd3('0x43a')]):_0x397b41['toString']()});}});}function _0x4b52b9(){_0x2f2178[_0x1cd3('0xd34')]=[];_0x2a8528[_0x1cd3('0xb63')][_0x1cd3('0x378')]({'id':_0x2f2178[_0x1cd3('0x1917')]['id']},_0x2f2178[_0x1cd3('0x1917')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x5b9f65){var _0x1fe594=_[_0x1cd3('0x442')](_0x2f2178[_0x1cd3('0x191f')],{'id':_0x5b9f65['id']});if(_0x1fe594){_[_0x1cd3('0xf2')](_0x1fe594,_[_0x1cd3('0x5e8')](_0x5b9f65['toJSON'](),_[_0x1cd3('0x80')](_0x1fe594)));}_0x5d6759[_0x1cd3('0x473')]({'title':_0x1cd3('0x1924'),'msg':_0x2f2178['faxDisposition'][_0x1cd3('0x98')]?_0x2f2178['faxDisposition'][_0x1cd3('0x98')]+_0x1cd3('0xd37'):''});_0x1b42e1(_0x5b9f65);})[_0x1cd3('0xfd')](function(_0x14bb2b){if(_0x14bb2b[_0x1cd3('0x439')]&&_0x14bb2b[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x14bb2b[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length']){_0x2f2178[_0x1cd3('0xd34')]=_0x14bb2b[_0x1cd3('0x439')]['errors']||[{'message':_0x14bb2b[_0x1cd3('0x43b')](),'type':_0x1cd3('0x12ea')}];for(var _0x2d9266=0x0;_0x2d9266<_0x14bb2b[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x2d9266++){_0x5d6759[_0x1cd3('0x434')]({'title':_0x14bb2b['data']['errors'][_0x2d9266][_0x1cd3('0x424')],'msg':_0x14bb2b[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x2d9266][_0x1cd3('0x43a')]});}}else{_0x5d6759[_0x1cd3('0x434')]({'title':_0x14bb2b['status']?'API:'+_0x14bb2b[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x14bb2b[_0x1cd3('0xd35')]:_0x1cd3('0x12ea'),'msg':_0x14bb2b['data']?JSON[_0x1cd3('0x438')](_0x14bb2b[_0x1cd3('0x439')]['message']):_0x14bb2b[_0x1cd3('0x43b')]()});}});}function _0x2e06f6(_0x36d1ff){_0x2f2178[_0x1cd3('0xd34')]=[];var _0x33e4b3=_0xe5261f[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xd3a'))[_0x1cd3('0xd3b')](_0x1cd3('0x1925'))[_0x1cd3('0xd3d')](_0x1cd3('0x1926'))['ok'](_0x1cd3('0xd3f'))['cancel'](_0x1cd3('0x674'))['targetEvent'](_0x36d1ff);_0xe5261f['show'](_0x33e4b3)[_0x1cd3('0x77')](function(){_0x2a8528[_0x1cd3('0xb63')][_0x1cd3('0xa1c')]({'id':_0x2f2178['faxDisposition']['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x2f2178[_0x1cd3('0x191f')],{'id':_0x2f2178['faxDisposition']['id']});_0x5d6759[_0x1cd3('0x473')]({'title':'FaxDisposition\x20properly\x20deleted!','msg':(_0x2f2178[_0x1cd3('0x1917')][_0x1cd3('0x98')]||_0x1cd3('0x1917'))+_0x1cd3('0xd41')});_0x1b42e1(_0x2f2178['faxDisposition']);})[_0x1cd3('0xfd')](function(_0x1bb4aa){if(_0x1bb4aa['data']&&_0x1bb4aa[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x1bb4aa[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x2f2178['errors']=_0x1bb4aa[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x1bb4aa[_0x1cd3('0x43b')](),'type':'api.disposition.delete'}];for(var _0x2168b2=0x0;_0x2168b2<_0x1bb4aa[_0x1cd3('0x439')]['errors']['length'];_0x2168b2++){_0x5d6759[_0x1cd3('0x434')]({'title':_0x1bb4aa[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x2168b2]['type'],'msg':_0x1bb4aa[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x2168b2]['message']});}}else{_0x5d6759[_0x1cd3('0x434')]({'title':_0x1bb4aa['status']?'API:'+_0x1bb4aa[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x1bb4aa['statusText']:_0x1cd3('0x12ed'),'msg':_0x1bb4aa['data']?JSON[_0x1cd3('0x438')](_0x1bb4aa['data'][_0x1cd3('0x43a')]):_0x1bb4aa['message']||_0x1bb4aa[_0x1cd3('0x43b')]()});}});},function(){});}function _0x21552d(_0x2630bb){return _0x2630bb===null?undefined:new Date(_0x2630bb);}function _0x1b42e1(_0x4ca1af){_0xe5261f[_0x1cd3('0x39d')](_0x4ca1af);}}}());(function(){'use strict';_0x18e1fe[_0x1cd3('0xc')]=[_0x1cd3('0x36f'),_0x1cd3('0x460'),_0x1cd3('0x53e'),'$q',_0x1cd3('0x3f7'),_0x1cd3('0x3e7'),'$mdDialog',_0x1cd3('0x372'),_0x1cd3('0x461'),_0x1cd3('0x370'),_0x1cd3('0x56')];angular[_0x1cd3('0x0')](_0x1cd3('0x32'))['controller'](_0x1cd3('0x1927'),_0x18e1fe);function _0x18e1fe(_0x176a56,_0x92785b,_0x61803c,_0x36be53,_0x5a5ba5,_0x2e44b9,_0x13651b,_0x4968eb,_0x524e23,_0x22e350,_0xb4663d){var _0x17e2bd=this;_0x17e2bd['currentUser']=_0xb4663d[_0x1cd3('0x5d')]();_0x17e2bd[_0x1cd3('0xaa4')]={};_0x17e2bd['faxAccountInteractions']={'count':0x0,'rows':[]};_0x17e2bd['selectedFaxAccountInteractions']=[];_0x17e2bd[_0x1cd3('0xd27')];_0x17e2bd['query']={'read':_0x1cd3('0x220'),'closed':_0x1cd3('0x220'),'sort':_0x1cd3('0x130e'),'includeAll':'true','limit':0xa,'page':0x1};_0x17e2bd[_0x1cd3('0xe08')]=_0x13d3e0;_0x17e2bd[_0x1cd3('0xe0a')]=_0x25ec19;_0x17e2bd[_0x1cd3('0x1928')]=_0x9dd4fa;_0x17e2bd[_0x1cd3('0x473')]=_0x16d524;_0x17e2bd[_0x1cd3('0x1929')]=_0x496140;_0x17e2bd[_0x1cd3('0x192a')]=_0x429ab4;_0x17e2bd[_0x1cd3('0x192b')]=_0x33600c;_0x17e2bd[_0x1cd3('0x1673')]=_0x56a50e;_0x17e2bd[_0x1cd3('0x192c')]=_0x4454ff;_0x17e2bd['deleteFaxAccountInteraction']=_0x328190;_0x17e2bd[_0x1cd3('0x192d')]=_0x51b7b5;function _0x13d3e0(_0x96eff1,_0x405724){_0x17e2bd[_0x1cd3('0xaa4')]=_0x96eff1;_0x17e2bd[_0x1cd3('0xd27')]=typeof _0x405724!==_0x1cd3('0x491')?_0x405724:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x17e2bd[_0x1cd3('0x3d4')]['FaxAccountId']=_0x17e2bd[_0x1cd3('0xaa4')]['id'];_0x17e2bd[_0x1cd3('0x3d1')]={'fields':_0x193763()};_0x4e508f();}function _0x4e508f(){return _0x22e350['tag']['get']()[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x49b989){_0x17e2bd['tags']=_0x49b989||{'count':0x0,'rows':[]};})[_0x1cd3('0x77')](function(){_0x17e2bd['quickFilters']=_0x2112c7();});}function _0x2112c7(){return[{'name':_0x1cd3('0x132c'),'key':_0x1cd3('0xe0d'),'type':_0x1cd3('0x406'),'label':_0x1cd3('0x1316')},{'name':_0x1cd3('0x1317'),'key':_0x1cd3('0x167e'),'type':_0x1cd3('0x44f'),'label':_0x1cd3('0x1318'),'customOptions':[{'value':0x0,'translate':'DASHBOARDS.UNREAD'},{'value':0x1,'translate':'DASHBOARDS.READ'},{'value':null,'translate':_0x1cd3('0x910')}]},{'name':_0x1cd3('0x131b'),'key':_0x1cd3('0x1586'),'type':_0x1cd3('0x44f'),'label':_0x1cd3('0x131c'),'customOptions':[{'value':0x0,'translate':_0x1cd3('0x131d')},{'value':0x1,'translate':_0x1cd3('0x131e')},{'value':null,'translate':_0x1cd3('0x910')}]},{'name':'Agent','key':_0x1cd3('0x1226'),'type':_0x1cd3('0x44f'),'label':'DASHBOARDS.SELECT_AGENT','customOptions':[{'value':_0x1cd3('0x220'),'translate':_0x1cd3('0x1320')},{'value':undefined,'translate':_0x1cd3('0x910')}]},{'name':_0x1cd3('0x1231'),'key':'tag','type':_0x1cd3('0x3fa'),'label':_0x1cd3('0x1321'),'options':_0x17e2bd['tags']['rows'],'placeholder':_0x1cd3('0x1322')}];}function _0x193763(){return[{'name':'Id','column':'id','type':'number'},{'name':'Contact','column':_0x1cd3('0x1323'),'type':_0x1cd3('0x42b'),'options':{'searchFields':[_0x1cd3('0x1447'),'lastName',_0x1cd3('0x1325')],'route':{'model':_0x1cd3('0xb3d'),'action':'get','params':{'fields':_0x1cd3('0x1668'),'Contact':_0x1cd3('0x42c'),'nolimit':!![]}},'extraOperators':[_0x1cd3('0x3fd')],'excludedOperators':[_0x1cd3('0x3fb')]}},{'name':_0x1cd3('0x1326'),'column':'subject','type':_0x1cd3('0x401'),'options':{'excludedOperators':[_0x1cd3('0x44d'),_0x1cd3('0x3fb')]}},{'name':_0x1cd3('0x1328'),'column':_0x1cd3('0x1329'),'type':'text','options':{'excludedOperators':[_0x1cd3('0x44d'),'$ne']}},{'name':_0x1cd3('0x131b'),'column':_0x1cd3('0x1586'),'type':'select','values':[{'id':0x0,'translate':_0x1cd3('0x131d')},{'id':0x1,'translate':_0x1cd3('0x131e')}],'options':{'excludedOperators':[_0x1cd3('0x3fb')]}},{'name':_0x1cd3('0x1227'),'column':_0x1cd3('0x132a'),'type':_0x1cd3('0x42b'),'options':{'table':'i','route':{'model':_0x1cd3('0x368'),'action':_0x1cd3('0x361'),'params':{'role':_0x1cd3('0xd2'),'fields':'id,name,fullname','nolimit':!![]}},'searchFields':[_0x1cd3('0xd3'),_0x1cd3('0x98')],'extraOperators':[_0x1cd3('0x3fd')],'excludedOperators':[_0x1cd3('0x3fb')]}},{'name':'Tags','column':_0x1cd3('0x1231'),'type':'multiselect','options':{'route':{'model':_0x1cd3('0xb76'),'action':'get','params':{'nolimit':!![]}},'excludedOperators':[_0x1cd3('0x3dd')]}},{'name':_0x1cd3('0x132c'),'column':'createdAt','type':_0x1cd3('0x406'),'options':{'excludedOperators':[_0x1cd3('0x3fb')]}},{'name':_0x1cd3('0x132d'),'column':'unreadMessages','type':_0x1cd3('0x44f'),'values':[{'id':0x1,'translate':_0x1cd3('0x131a')},{'id':0x0,'translate':'DASHBOARDS.UNREAD'}],'options':{'excludedOperators':[_0x1cd3('0x3fb')]}}];}function _0x56a50e(){_0x13651b['show']({'controller':_0x1cd3('0x3c9'),'controllerAs':'vm','templateUrl':_0x1cd3('0x132f'),'parent':angular[_0x1cd3('0x37f')](_0x4968eb[_0x1cd3('0x380')]),'clickOutsideToClose':![],'locals':{'fields':_0x17e2bd[_0x1cd3('0x3d1')]['fields'],'color':undefined,'storagePath':_0x1cd3('0x192e')},'fullscreen':!![]})['then'](function(_0x1f8814){_0x17e2bd['query'][_0x1cd3('0x3e4')]=_0x1f8814===![]?undefined:_0x1f8814;if(_0x17e2bd[_0x1cd3('0x3d4')][_0x1cd3('0x3e4')]){_0x496140();}else if(_0x1f8814===![]){_0x496140();}})[_0x1cd3('0xfd')](function(_0x276a70){_0x524e23[_0x1cd3('0x434')]({'title':_0x1cd3('0x1331'),'msg':_0x276a70[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x276a70[_0x1cd3('0x439')]['message']):_0x276a70[_0x1cd3('0x43b')]()});});}function _0x9dd4fa(_0x435219,_0x192cae,_0x134b81){return _0x22e350[_0x1cd3('0xab2')][_0x1cd3('0x489')]({'id':_0x435219['id'],'exists':!![],'attachments':_0x134b81})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x10ace8){var _0x5e3ae0=[_0x10ace8[_0x1cd3('0x6ef')]];var _0x5a244d=_0x1cd3('0x1332')+_0x435219['id'];var _0x10f817=new Blob(_0x5e3ae0,{'type':_0x10ace8[_0x1cd3('0x424')]});_0x5a244d=_0x1cd3('0x1740')+_0x435219['id']+'.zip';var _0x10fbde=window['document'][_0x1cd3('0x3aa')]('a');_0x10fbde['setAttribute'](_0x1cd3('0x3ab'),URL[_0x1cd3('0x48a')](_0x10f817));_0x10fbde[_0x1cd3('0x481')]('download',_0x5a244d);document[_0x1cd3('0x380')][_0x1cd3('0xd4e')](_0x10fbde);_0x10fbde['click']();})[_0x1cd3('0xfd')](function(_0x384cb4){if(_0x384cb4[_0x1cd3('0x439')]&&_0x384cb4[_0x1cd3('0x439')]['errors']&&_0x384cb4[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')]){for(var _0x2289b6=0x0;_0x2289b6<_0x384cb4[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x2289b6+=0x1){_0x524e23[_0x1cd3('0x434')]({'title':_0x384cb4[_0x1cd3('0x439')]['errors'][_0x2289b6]['type'],'msg':_0x384cb4[_0x1cd3('0x439')]['errors'][_0x2289b6][_0x1cd3('0x43a')]});}}else{_0x524e23[_0x1cd3('0x434')]({'title':_0x384cb4[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x384cb4[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x384cb4[_0x1cd3('0xd35')]:_0x1cd3('0x18ec'),'msg':_0x384cb4[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x384cb4[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x384cb4[_0x1cd3('0x43b')]()});}});}function _0x25ec19(_0x5eb9db,_0xcb8fd6){var _0x439415=_0x13651b['confirm']()[_0x1cd3('0x486')](_0x1cd3('0x1335'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+(_0x5eb9db[_0x1cd3('0x98')]||_0x5eb9db['id']&&_['upperFirst'](_0x1cd3('0x1336'))+_0x5eb9db['id']||_0x1cd3('0x1332'))+_0x1cd3('0xd52')+_0x1cd3('0xd53'))['ariaLabel'](_0x1cd3('0x1337'))['targetEvent'](_0xcb8fd6)['ok']('OK')['cancel']('CANCEL');_0x13651b[_0x1cd3('0x37e')](_0x439415)[_0x1cd3('0x77')](function(){_0x328190(_0x5eb9db);},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}function _0x16d524(_0x486bdd){_0x17e2bd[_0x1cd3('0x192f')]=_0x486bdd||{'count':0x0,'rows':[]};for(var _0x1bd5ad=0x0;_0x1bd5ad<_0x17e2bd[_0x1cd3('0x192f')][_0x1cd3('0xf6')][_0x1cd3('0x7a')];_0x1bd5ad+=0x1){var _0x12af5e=_0x17e2bd['faxAccountInteractions'][_0x1cd3('0xf6')][_0x1bd5ad];_0x43adf5(_0x12af5e);_0x12af5e[_0x1cd3('0x1338')]['name']=_0x242e15(_0x12af5e);}}function _0x496140(){_0x17e2bd[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0x17e2bd['query'][_0x1cd3('0x8fd')]-0x1)*_0x17e2bd[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];_0x17e2bd[_0x1cd3('0x539')]=_0x22e350[_0x1cd3('0xab2')]['get'](_0x17e2bd[_0x1cd3('0x3d4')],_0x16d524)[_0x1cd3('0x81')];}function _0x429ab4(_0x5917f7,_0x226e9c){_0x13651b[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1339'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1930'),'parent':angular['element'](_0x4968eb[_0x1cd3('0x380')]),'targetEvent':_0x5917f7,'clickOutsideToClose':!![],'locals':{'faxAccount':_0x17e2bd[_0x1cd3('0xaa4')],'interaction':_0x226e9c,'interactions':_0x17e2bd[_0x1cd3('0x192f')]['rows'],'license':null,'setting':null,'crudPermissions':_0x17e2bd[_0x1cd3('0xd27')]}});}function _0x33600c(_0x2f4317,_0x1dce59){_0x13651b['show']({'controller':_0x1cd3('0x133a'),'controllerAs':'vm','templateUrl':_0x1cd3('0x133b'),'parent':angular[_0x1cd3('0x37f')](_0x4968eb[_0x1cd3('0x380')]),'targetEvent':_0x2f4317,'clickOutsideToClose':!![],'onShowing':function(_0x485d80,_0x5f19c0){_0x485d80['vm']['init']({'id':0x1,'channel':'fax','interaction':_0x1dce59,'spy':!![]},_0x92785b[_0x1cd3('0x70b')]['vm']['setting']);}});}function _0x328190(_0x2dbdc3){_0x22e350[_0x1cd3('0xab2')][_0x1cd3('0xa1c')]({'id':_0x2dbdc3['id']})[_0x1cd3('0x81')]['then'](function(){_[_0x1cd3('0x383')](_0x17e2bd[_0x1cd3('0x192f')][_0x1cd3('0xf6')],{'id':_0x2dbdc3['id']});_0x17e2bd[_0x1cd3('0x192f')]['count']-=0x1;if(!_0x17e2bd[_0x1cd3('0x192f')][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){_0x496140();}_0x524e23[_0x1cd3('0x473')]({'title':_0x1cd3('0x133c'),'msg':_0x2dbdc3[_0x1cd3('0x98')]?_0x2dbdc3['name']+_0x1cd3('0xd41'):''});})['catch'](function(_0x353758){if(_0x353758[_0x1cd3('0x439')]&&_0x353758['data'][_0x1cd3('0xd34')]&&_0x353758['data'][_0x1cd3('0xd34')]['length']){vm[_0x1cd3('0xd34')]=_0x353758[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x353758[_0x1cd3('0x43b')](),'type':'SYSTEM:GETfaxAccount'}];for(var _0x121c25=0x0;_0x121c25<_0x353758[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x121c25++){_0x524e23['error']({'title':_0x353758[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x121c25][_0x1cd3('0x424')],'msg':_0x353758[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x121c25][_0x1cd3('0x43a')]});}}else{_0x524e23[_0x1cd3('0x434')]({'title':_0x353758[_0x1cd3('0x3a6')]?'API:'+_0x353758[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x353758[_0x1cd3('0xd35')]:_0x1cd3('0x191d'),'msg':_0x353758['data']?JSON['stringify'](_0x353758['data']['message']):_0x353758[_0x1cd3('0x43a')]||_0x353758[_0x1cd3('0x43b')]()});}});}function _0x4454ff(){var _0x4f4550=angular['copy'](_0x17e2bd['selectedFaxAccountInteractions']);_0x17e2bd[_0x1cd3('0x1931')]=[];return _0x4f4550;}function _0x51b7b5(_0x47378e){var _0x563333=_0x13651b[_0x1cd3('0xd39')]()['title'](_0x1cd3('0x1932'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x17e2bd['selectedFaxAccountInteractions'][_0x1cd3('0x7a')]+_0x1cd3('0xd61')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')]('delete\x20interactions')['targetEvent'](_0x47378e)['ok']('OK')[_0x1cd3('0x4d8')]('CANCEL');_0x13651b[_0x1cd3('0x37e')](_0x563333)[_0x1cd3('0x77')](function(){_0x17e2bd[_0x1cd3('0x1931')][_0x1cd3('0x394')](function(_0x1581c5){_0x328190(_0x1581c5);});_0x17e2bd[_0x1cd3('0x1931')]=[];});}function _0x43adf5(_0x210806){if(_0x210806[_0x1cd3('0x1323')]){_0x210806['contactName']=(_0x210806['Contact'][_0x1cd3('0x1447')]||'')+'\x20'+(_0x210806[_0x1cd3('0x1323')][_0x1cd3('0x1324')]||'');_0x210806[_0x1cd3('0x1742')]=_0x210806[_0x1cd3('0x1323')][_0x1cd3('0x154')];}else{_0x210806['contactName']=_0x5a5ba5[_0x1cd3('0x44a')]('DASHBOARDS.UNKNOWN');}}function _0x242e15(_0x564242){if(_0x564242[_0x1cd3('0x1226')]){if(_0x564242['UserId']===_0x17e2bd['currentUser']['id']){return _0x5a5ba5[_0x1cd3('0x44a')](_0x1cd3('0x1656'));}else{return _0x564242[_0x1cd3('0x1338')][_0x1cd3('0xd3')]+'\x20<'+_0x564242[_0x1cd3('0x1338')]['internal']+'>';}}return _0x5a5ba5['instant'](_0x1cd3('0x1320'));}var _0x3f1cf3=!![];var _0x24b5af=0x1;_0x92785b['$watch'](_0x1cd3('0x1340'),function(_0x4c9afc,_0x537afa){if(_0x3f1cf3){_0x2e44b9(function(){_0x3f1cf3=![];});}else{if(!_0x537afa){_0x24b5af=_0x17e2bd['query']['page'];}if(_0x4c9afc!==_0x537afa){_0x17e2bd[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}if(!_0x4c9afc){_0x17e2bd[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0x24b5af;}_0x496140();}});}}());(function(){'use strict';_0xa1c957[_0x1cd3('0xc')]=[_0x1cd3('0x53e'),_0x1cd3('0xd24'),_0x1cd3('0x3c5'),_0x1cd3('0x372'),_0x1cd3('0x3f7'),'license',_0x1cd3('0xc49'),_0x1cd3('0x370'),_0x1cd3('0x461'),_0x1cd3('0x56'),_0x1cd3('0xaa4'),_0x1cd3('0x390')];angular[_0x1cd3('0x0')](_0x1cd3('0x32'))[_0x1cd3('0x39b')](_0x1cd3('0x1933'),_0xa1c957);function _0xa1c957(_0x1d0b11,_0x1cef93,_0x4d7fa6,_0x44c620,_0x9cf1ac,_0x482c33,_0x40783c,_0x2f0347,_0x5e978a,_0xde3041,_0x365593,_0x29ff32){var _0x4f15d8=this;_0x4f15d8['currentUser']=_0xde3041[_0x1cd3('0x5d')]();_0x4f15d8[_0x1cd3('0x463')]=_0x482c33;_0x4f15d8[_0x1cd3('0xc49')]=_0x40783c;_0x4f15d8[_0x1cd3('0xd29')]=_0x4f15d8['setting'][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x4f15d8[_0x1cd3('0xd22')]=_0x1cef93[_0x1cd3('0x3b0')]()+_0x1cd3('0x11cf')+_0x1cef93[_0x1cd3('0x3ac')]();_0x4f15d8[_0x1cd3('0xaa4')]=_0x365593||_0x1d0b11[_0x1cd3('0x36a')]['faxAccount']||{};_0x4f15d8[_0x1cd3('0x390')]=_0x29ff32&&_0x29ff32[_0x1cd3('0x466')]==0x1?_0x29ff32[_0x1cd3('0xf6')][0x0]:null;_0x4f15d8[_0x1cd3('0xd27')]=_0xde3041[_0x1cd3('0xd44')](_0x4f15d8['userProfileSection']?_0x4f15d8[_0x1cd3('0x390')]['crudPermissions']:null);_0x4f15d8['hasModulePermissions']={};_0x4f15d8[_0x1cd3('0xe5f')]=_0x1d0b11[_0x1cd3('0x36a')][_0x1cd3('0x1418')]||0x0;_0x4f15d8[_0x1cd3('0x1419')]=_0x27f77f;_0x4f15d8[_0x1cd3('0x119b')]=_0x34ea3d;_0x4f15d8['alert']=_0x5e978a['info'];_0x4f15d8[_0x1cd3('0x1934')]=_0x5d6621;_0x4f15d8[_0x1cd3('0x18e4')]=_0xf69146;_0xde3041['hasRole'](_0x1cd3('0x5f'))?_0x2f0347[_0x1cd3('0x18e7')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98')})[_0x1cd3('0x81')]['then'](function(_0x18b7a6){_0x4f15d8[_0x1cd3('0xef5')]=_0x18b7a6['rows']||[];})[_0x1cd3('0xfd')](function(_0x1afd68){_0x5e978a['error']({'title':_0x1afd68[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x1afd68[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x1afd68[_0x1cd3('0xd35')]:_0x1cd3('0x18e6'),'msg':_0x1afd68[_0x1cd3('0x439')]?JSON['stringify'](_0x1afd68[_0x1cd3('0x439')]):_0x1afd68['toString']()});}):_0x2f0347[_0x1cd3('0x18e7')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98')})[_0x1cd3('0x81')]['then'](function(_0x23e017){_0x4f15d8[_0x1cd3('0xef5')]=_0x23e017[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x2f0347[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x4f15d8[_0x1cd3('0x3ca')]['userProfileId'],'sectionId':0x3f3})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x26c54e){var _0x5e5f44=_0x26c54e&&_0x26c54e[_0x1cd3('0xf6')]?_0x26c54e[_0x1cd3('0xf6')][0x0]:null;if(!_0x5e5f44){var _0x2d997e=[];var _0x1e3491=null;if(_0x4f15d8['faxAccount']){_0x1e3491=_[_0x1cd3('0x442')](_0x4f15d8['trunks'],{'id':Number(_0x4f15d8['faxAccount']['TrunkId'])});}for(var _0x10e4b7=0x0;_0x10e4b7<_0x4f15d8[_0x1cd3('0xef5')]['length'];_0x10e4b7++){if(_0x1e3491&&_0x4f15d8[_0x1cd3('0xef5')][_0x10e4b7]['id']===_0x1e3491['id']){_0x4f15d8['trunks'][_0x10e4b7]['canSelect']=![];_0x2d997e[_0x1cd3('0x7b')](_0x4f15d8['trunks'][_0x10e4b7]);}}_0x4f15d8[_0x1cd3('0xef5')]=_0x2d997e;}else{if(!_0x5e5f44['autoAssociation']){return _0x2f0347[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x5e5f44['id']})['$promise'][_0x1cd3('0x77')](function(_0x367f6b){var _0x2b1235=_[_0x1cd3('0x3d9')](_0x367f6b[_0x1cd3('0xf6')],function(_0x21eff8){return _['find'](_0x4f15d8['trunks'],{'id':_0x21eff8[_0x1cd3('0xe8e')]});});var _0x52142f=null;if(_0x4f15d8['faxAccount']){_0x52142f=_[_0x1cd3('0x442')](_0x4f15d8[_0x1cd3('0xef5')],{'id':Number(_0x4f15d8[_0x1cd3('0xaa4')][_0x1cd3('0x18e8')])});}if(_0x52142f&&!_['some'](_0x2b1235,['id',_0x52142f['id']])){var _0x38e440=_[_0x1cd3('0x442')](_0x4f15d8[_0x1cd3('0xef5')],{'id':_0x52142f['id']});_0x38e440[_0x1cd3('0xf4a')]=![];_0x2b1235[_0x1cd3('0x7b')](_0x38e440);}_0x4f15d8[_0x1cd3('0xef5')]=_0x2b1235;});}}})[_0x1cd3('0xfd')](function(_0x42b5dc){_0x5e978a['error']({'title':_0x42b5dc[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x42b5dc[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x42b5dc[_0x1cd3('0xd35')]:'SYSTEM:GETtrunks','msg':_0x42b5dc[_0x1cd3('0x439')]?JSON['stringify'](_0x42b5dc['data']):_0x42b5dc[_0x1cd3('0x43b')]()});});_0xde3041[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x2f0347[_0x1cd3('0xc8f')][_0x1cd3('0x361')]({'fields':'id,name','sort':'name'})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x43cde7){_0x4f15d8['lists']=_0x43cde7[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x142579){_0x5e978a[_0x1cd3('0x434')]({'title':_0x142579[_0x1cd3('0x3a6')]?'API:'+_0x142579[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x142579[_0x1cd3('0xd35')]:_0x1cd3('0x11f3'),'msg':_0x142579[_0x1cd3('0x439')]?JSON['stringify'](_0x142579[_0x1cd3('0x439')]):_0x142579[_0x1cd3('0x43b')]()});}):_0x2f0347[_0x1cd3('0xc8f')][_0x1cd3('0x361')]({'fields':'id,name','sort':_0x1cd3('0x98')})[_0x1cd3('0x81')]['then'](function(_0x25ec33){_0x4f15d8[_0x1cd3('0xf5')]=_0x25ec33[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x2f0347[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x4f15d8[_0x1cd3('0x3ca')]['userProfileId'],'sectionId':0x12d})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x1d34f5){var _0x570e3d=_0x1d34f5&&_0x1d34f5[_0x1cd3('0xf6')]?_0x1d34f5['rows'][0x0]:null;if(!_0x570e3d){var _0x7b0050=[];var _0x227c14=null;if(_0x4f15d8[_0x1cd3('0xaa4')]){_0x227c14=_[_0x1cd3('0x442')](_0x4f15d8[_0x1cd3('0xf5')],{'id':Number(_0x4f15d8[_0x1cd3('0xaa4')][_0x1cd3('0x106')])});}for(var _0x4c51ea=0x0;_0x4c51ea<_0x4f15d8[_0x1cd3('0xf5')][_0x1cd3('0x7a')];_0x4c51ea++){if(_0x227c14&&_0x4f15d8[_0x1cd3('0xf5')][_0x4c51ea]['id']===_0x227c14['id']){_0x4f15d8[_0x1cd3('0xf5')][_0x4c51ea][_0x1cd3('0xf4a')]=![];_0x7b0050[_0x1cd3('0x7b')](_0x4f15d8[_0x1cd3('0xf5')][_0x4c51ea]);}}_0x4f15d8[_0x1cd3('0xf5')]=_0x7b0050;}else{if(!_0x570e3d[_0x1cd3('0x391')]){return _0x2f0347[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x570e3d['id']})[_0x1cd3('0x81')]['then'](function(_0x23d972){var _0x4f5bac=_['map'](_0x23d972[_0x1cd3('0xf6')],function(_0x4980a8){return _[_0x1cd3('0x442')](_0x4f15d8['lists'],{'id':_0x4980a8[_0x1cd3('0xe8e')]});});var _0x525013=null;if(_0x4f15d8[_0x1cd3('0xaa4')]){_0x525013=_['find'](_0x4f15d8['lists'],{'id':Number(_0x4f15d8[_0x1cd3('0xaa4')][_0x1cd3('0x106')])});}if(_0x525013&&!_[_0x1cd3('0x38d')](_0x4f5bac,['id',_0x525013['id']])){var _0x3127e1=_[_0x1cd3('0x442')](_0x4f15d8['lists'],{'id':_0x525013['id']});_0x3127e1[_0x1cd3('0xf4a')]=![];_0x4f5bac[_0x1cd3('0x7b')](_0x3127e1);}_0x4f15d8['lists']=_0x4f5bac;});}}})['catch'](function(_0x7c5090){_0x5e978a[_0x1cd3('0x434')]({'title':_0x7c5090['status']?_0x1cd3('0x435')+_0x7c5090[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x7c5090[_0x1cd3('0xd35')]:'SYSTEM:GETlists','msg':_0x7c5090[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x7c5090['data']):_0x7c5090['toString']()});});_0xde3041[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x2f0347['pause'][_0x1cd3('0x361')]({'fields':_0x1cd3('0x1380'),'sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})['$promise']['then'](function(_0x1d8e46){_0x4f15d8['pauses']=_0x1d8e46[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x14a967){_0x5e978a['error']({'title':_0x14a967[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x14a967[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x14a967[_0x1cd3('0xd35')]:_0x1cd3('0x1382'),'msg':_0x14a967[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x14a967[_0x1cd3('0x439')]):_0x14a967[_0x1cd3('0x43b')]()});}):_0x2f0347[_0x1cd3('0x63e')][_0x1cd3('0x361')]({'fields':_0x1cd3('0x1380'),'sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})['$promise'][_0x1cd3('0x77')](function(_0x25cfcb){_0x4f15d8[_0x1cd3('0x1381')]=_0x25cfcb[_0x1cd3('0xf6')]||[];})['then'](function(){return _0x2f0347[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x4f15d8['currentUser']['userProfileId'],'sectionId':0x3ed})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0xc513c){var _0x5e83ac=_0xc513c&&_0xc513c[_0x1cd3('0xf6')]?_0xc513c['rows'][0x0]:null;if(!_0x5e83ac){_0x4f15d8[_0x1cd3('0x1381')]=[];}else{if(!_0x5e83ac[_0x1cd3('0x391')]){return _0x2f0347['userProfileResource'][_0x1cd3('0x361')]({'sectionId':_0x5e83ac['id']})[_0x1cd3('0x81')]['then'](function(_0xbb5c09){var _0x3a247d=_[_0x1cd3('0x3d9')](_0xbb5c09['rows'],function(_0x443ef7){return _[_0x1cd3('0x442')](_0x4f15d8[_0x1cd3('0x1381')],{'id':_0x443ef7[_0x1cd3('0xe8e')]});});_0x4f15d8[_0x1cd3('0x1381')][_0x1cd3('0x394')](function(_0xe6eb65){if(!_['some'](_0x3a247d,['id',_0xe6eb65['id']])){_0xe6eb65[_0x1cd3('0xf4a')]=![];}_0x3a247d[_0x1cd3('0x7b')](_0xe6eb65);});_0x4f15d8['pauses']=_0x3a247d;});}}})['catch'](function(_0x24c4bb){_0x5e978a[_0x1cd3('0x434')]({'title':_0x24c4bb[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x24c4bb[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x24c4bb[_0x1cd3('0xd35')]:_0x1cd3('0x1935'),'msg':_0x24c4bb[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x24c4bb[_0x1cd3('0x439')]):_0x24c4bb[_0x1cd3('0x43b')]()});});function _0x27f77f(_0x35284f,_0x34c61a){if(_0xde3041[_0x1cd3('0x57')](_0x1cd3('0x5f'))){_0x1d0b11['go'](_0x1cd3('0x16a'),{});}else{return _0x2f0347[_0x1cd3('0x390')]['get']({'userProfileId':_0xde3041['getCurrentUser']()[_0x1cd3('0x5e')],'sectionId':0x38e})['$promise'][_0x1cd3('0x77')](function(_0x24c0b1){var _0x1cf700=_0x24c0b1&&_0x24c0b1['rows']?_0x24c0b1['rows'][0x0]:null;if(_0x1cf700&&_0x1cf700['enabled']){_0x1d0b11['go'](_0x1cd3('0x16a'),{});}else{_0x5e978a[_0x1cd3('0x654')]({'title':_0x9cf1ac['instant']('STAFF.PERMISSIONS_UNAUTHORIZED_REDIRECT_TITLE'),'msg':_0x9cf1ac['instant']('STAFF.PERMISSIONS_UNAUTHORIZED_REDIRECT_MESSAGE')});}})[_0x1cd3('0xfd')](function(_0x286e39){_0x5e978a[_0x1cd3('0x434')]({'title':_0x286e39['status']?'API:'+_0x286e39[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x286e39[_0x1cd3('0xd35')]:_0x1cd3('0x11aa'),'msg':_0x286e39[_0x1cd3('0x3a6')]?JSON[_0x1cd3('0x438')](_0x286e39[_0x1cd3('0x439')]):_0x286e39[_0x1cd3('0x43b')]()});});}}function _0x34ea3d(_0x1c1911,_0x45aa94){_0x4d7fa6[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1901'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1936'),'parent':angular[_0x1cd3('0x37f')](_0x44c620['body']),'targetEvent':_0x45aa94,'clickOutsideToClose':!![],'locals':{'faxAccount':_0x1c1911,'faxAccounts':_0x4f15d8['faxAccounts']?_0x4f15d8[_0x1cd3('0x15fa')][_0x1cd3('0xf6')]:[],'crudPermissions':_0x4f15d8[_0x1cd3('0xd27')],'realtime':![]}});}function _0x5d6621(){_0x1d0b11['go']('app.fax.faxAccounts',{},{'reload':_0x1cd3('0x157')});}function _0xf69146(){_0x2f0347[_0x1cd3('0xaa4')][_0x1cd3('0x18ed')](_0x4f15d8[_0x1cd3('0xaa4')])[_0x1cd3('0x81')]['then'](function(){_0x5e978a[_0x1cd3('0x473')]({'title':_0x1cd3('0x1937'),'msg':_0x4f15d8['faxAccount']['name']?_0x4f15d8[_0x1cd3('0xaa4')][_0x1cd3('0x98')]+_0x1cd3('0xe65'):''});})[_0x1cd3('0xfd')](function(_0x4ed879){_0x5e978a['error']({'title':_0x4ed879[_0x1cd3('0x3a6')]?'API:'+_0x4ed879[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x4ed879['statusText']:_0x1cd3('0x191d'),'msg':_0x4ed879[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x4ed879[_0x1cd3('0x439')]):_0x4ed879[_0x1cd3('0x43b')]()});});}}}());(function(){'use strict';_0x20d0bb['$inject']=[_0x1cd3('0x460'),_0x1cd3('0x371'),_0x1cd3('0x53e'),_0x1cd3('0x969'),_0x1cd3('0x3c5'),_0x1cd3('0x372'),'$timeout',_0x1cd3('0x3f7'),_0x1cd3('0x15fa'),_0x1cd3('0x38a'),_0x1cd3('0x390'),'api',_0x1cd3('0x2dd'),_0x1cd3('0x461'),'Auth',_0x1cd3('0x463'),'setting'];angular['module'](_0x1cd3('0x32'))[_0x1cd3('0x39b')](_0x1cd3('0x1938'),_0x20d0bb);function _0x20d0bb(_0x5c781e,_0x3ae332,_0x11fc48,_0x273666,_0x48dc09,_0x3012e5,_0x40e562,_0x115074,_0x2a218c,_0x251ffe,_0x47102f,_0x5d95ae,_0x44c659,_0x21866d,_0x3e8dc0,_0x1a501c,_0x24df1d){var _0x1e5672=this;_0x1e5672['license']=_0x1a501c;_0x1e5672['setting']=_0x24df1d;_0x1e5672[_0x1cd3('0x3ca')]=_0x3e8dc0[_0x1cd3('0x5d')]();_0x1e5672[_0x1cd3('0x15fa')]=_0x2a218c||{'count':0x0,'rows':[]};_0x1e5672[_0x1cd3('0x38a')]=_0x251ffe;_0x1e5672[_0x1cd3('0x390')]=_0x47102f&&_0x47102f[_0x1cd3('0x466')]==0x1?_0x47102f[_0x1cd3('0xf6')][0x0]:null;_0x1e5672['crudPermissions']=_0x3e8dc0['parseCrudPermissions'](_0x1e5672[_0x1cd3('0x390')]?_0x1e5672[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);_0x1e5672[_0x1cd3('0xd45')]=_0x1cd3('0x15fa');_0x1e5672['listOrder']='';_0x1e5672['listOrderAsc']=null;_0x1e5672[_0x1cd3('0x1939')]=[];_0x1e5672[_0x1cd3('0x3d4')]={'fields':_0x1cd3('0x15b'),'sort':'-updatedAt','limit':0xa,'page':0x1};_0x1e5672[_0x1cd3('0x193a')]=_[_0x1cd3('0xe2d')]([{'option':'yes','value':'\x27yes\x27'},{'option':'no','value':'\x27no\x27'}],function(_0x2ed7dc){return _[_0x1cd3('0x3f1')](_0x2ed7dc[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x1e5672[_0x1cd3('0x193b')]=_[_0x1cd3('0xe2d')]([{'option':_0x1cd3('0x193c'),'value':_0x1cd3('0x193d')},{'option':_0x1cd3('0x193e'),'value':_0x1cd3('0x193f')},{'option':_0x1cd3('0x1940'),'value':_0x1cd3('0x1941')},{'option':_0x1cd3('0x1942'),'value':_0x1cd3('0x1943')},{'option':_0x1cd3('0x1944'),'value':'\x2712000\x27'},{'option':_0x1cd3('0x1945'),'value':_0x1cd3('0x1946')}],function(_0x191941){return _[_0x1cd3('0x3f1')](_0x191941[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x1e5672[_0x1cd3('0x1947')]=_[_0x1cd3('0xe2d')]([{'option':_0x1cd3('0x193c'),'value':_0x1cd3('0x193d')},{'option':_0x1cd3('0x193e'),'value':'\x274800\x27'},{'option':_0x1cd3('0x1940'),'value':_0x1cd3('0x1941')},{'option':_0x1cd3('0x1942'),'value':_0x1cd3('0x1943')},{'option':_0x1cd3('0x1944'),'value':_0x1cd3('0x1948')},{'option':_0x1cd3('0x1945'),'value':_0x1cd3('0x1946')}],function(_0x182fd1){return _[_0x1cd3('0x3f1')](_0x182fd1[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x1e5672['arraytech']=_[_0x1cd3('0xe2d')]([{'option':_0x1cd3('0x1949'),'value':_0x1cd3('0x194a')},{'option':_0x1cd3('0x194b'),'value':_0x1cd3('0x194c')},{'option':_0x1cd3('0x194d'),'value':'\x27DADHI\x27'},{'option':_0x1cd3('0x194e'),'value':_0x1cd3('0x194f')}],function(_0x188f92){return _[_0x1cd3('0x3f1')](_0x188f92[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x1e5672[_0x1cd3('0x1171')]=_0x2de789;_0x1e5672[_0x1cd3('0x11eb')]=_0x494992;_0x1e5672[_0x1cd3('0x119c')]=_0x2fb272;_0x1e5672['agentadddialog']=_0x58311a;_0x1e5672[_0x1cd3('0xecc')]=_0x1effa2;_0x1e5672[_0x1cd3('0x473')]=_0xce68c2;_0x1e5672[_0x1cd3('0x15f4')]=_0x40b0d8;_0x1e5672[_0x1cd3('0x1950')]=_0x50cfce;_0x1e5672[_0x1cd3('0x18e5')]=_0x3be742;_0x1e5672['exportSelectedFaxAccounts']=_0x5d3ccc;_0x1e5672[_0x1cd3('0x1951')]=_0x4da4c4;_0x1e5672[_0x1cd3('0x1952')]=_0x579c92;_0x1e5672[_0x1cd3('0x1953')]=_0x4ffac6;_0x3e8dc0[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x5d95ae[_0x1cd3('0x18e7')][_0x1cd3('0x361')]({'fields':'id,name','sort':'name'})[_0x1cd3('0x81')]['then'](function(_0x5348c2){_0x1e5672[_0x1cd3('0xef5')]=_0x5348c2['rows']||[];})[_0x1cd3('0xfd')](function(_0x25ae82){_0x21866d[_0x1cd3('0x434')]({'title':_0x25ae82[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x25ae82['status']+_0x1cd3('0x436')+_0x25ae82['statusText']:_0x1cd3('0x18e6'),'msg':_0x25ae82[_0x1cd3('0x439')]?JSON['stringify'](_0x25ae82[_0x1cd3('0x439')]):_0x25ae82['toString']()});}):_0x5d95ae[_0x1cd3('0x18e7')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98')})['$promise'][_0x1cd3('0x77')](function(_0x2f26c4){_0x1e5672[_0x1cd3('0xef5')]=_0x2f26c4[_0x1cd3('0xf6')]||[];})['then'](function(){return _0x5d95ae[_0x1cd3('0x390')]['get']({'userProfileId':_0x1e5672[_0x1cd3('0x3ca')]['userProfileId'],'sectionId':0x3f3})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x1651d1){var _0x321069=_0x1651d1&&_0x1651d1['rows']?_0x1651d1['rows'][0x0]:null;if(!_0x321069){var _0x46ff00=[];var _0xfa4356=[];_0x1e5672[_0x1cd3('0x15fa')][_0x1cd3('0xf6')][_0x1cd3('0x394')](function(_0x5b9149){var _0x420957=_[_0x1cd3('0x442')](_0x1e5672[_0x1cd3('0xef5')],{'id':Number(_0x5b9149[_0x1cd3('0x18e8')])});_0xfa4356[_0x1cd3('0x7b')](_0x420957);});for(var _0x5bd11e=0x0;_0x5bd11e<_0x1e5672['trunks'][_0x1cd3('0x7a')];_0x5bd11e++){var _0x2c8d0f=_[_0x1cd3('0x38d')](_0xfa4356,{'id':_0x1e5672[_0x1cd3('0xef5')][_0x5bd11e]['id']});if(_0x2c8d0f){_0x1e5672[_0x1cd3('0xef5')][_0x5bd11e][_0x1cd3('0xf4a')]=![];_0x46ff00[_0x1cd3('0x7b')](_0x1e5672[_0x1cd3('0xef5')][_0x5bd11e]);}}_0x1e5672[_0x1cd3('0xef5')]=_0x46ff00;}else{if(!_0x321069[_0x1cd3('0x391')]){return _0x5d95ae[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x321069['id']})['$promise']['then'](function(_0x4b5119){var _0x4d0785=_[_0x1cd3('0x3d9')](_0x4b5119[_0x1cd3('0xf6')],function(_0x4e6443){return _[_0x1cd3('0x442')](_0x1e5672[_0x1cd3('0xef5')],{'id':_0x4e6443['resourceId']});});var _0x134e1f=null;_0x134e1f=[];_0x1e5672[_0x1cd3('0x15fa')][_0x1cd3('0xf6')]['forEach'](function(_0x38bad9){var _0x5bf577=_['find'](_0x1e5672[_0x1cd3('0xef5')],{'id':Number(_0x38bad9[_0x1cd3('0x18e8')])});_0x134e1f[_0x1cd3('0x7b')](_0x5bf577);});if(!_[_0x1cd3('0x398')](_0x134e1f)){_0x134e1f[_0x1cd3('0x394')](function(_0x1e6e85){if(!_[_0x1cd3('0x38d')](_0x4d0785,['id',_0x1e6e85['id']])){var _0x3c68a2=_[_0x1cd3('0x442')](_0x1e5672[_0x1cd3('0xef5')],{'id':_0x1e6e85['id']});_0x3c68a2['canSelect']=![];_0x4d0785['push'](_0x3c68a2);}});}_0x1e5672[_0x1cd3('0xef5')]=_0x4d0785;});}}})[_0x1cd3('0xfd')](function(_0x353b84){_0x21866d[_0x1cd3('0x434')]({'title':_0x353b84['status']?_0x1cd3('0x435')+_0x353b84[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x353b84[_0x1cd3('0xd35')]:_0x1cd3('0x18e9'),'msg':_0x353b84['data']?JSON['stringify'](_0x353b84[_0x1cd3('0x439')]):_0x353b84[_0x1cd3('0x43b')]()});});_0x3e8dc0[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x5d95ae[_0x1cd3('0xc8f')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x55a52f){_0x1e5672[_0x1cd3('0xf5')]=_0x55a52f[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x4e84d2){_0x21866d[_0x1cd3('0x434')]({'title':_0x4e84d2[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x4e84d2['status']+_0x1cd3('0x436')+_0x4e84d2[_0x1cd3('0xd35')]:'SYSTEM:GET_LISTS','msg':_0x4e84d2[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x4e84d2[_0x1cd3('0x439')]):_0x4e84d2[_0x1cd3('0x43b')]()});}):_0x5d95ae[_0x1cd3('0xc8f')]['get']({'fields':'id,name','sort':_0x1cd3('0x98')})['$promise'][_0x1cd3('0x77')](function(_0x276f48){_0x1e5672[_0x1cd3('0xf5')]=_0x276f48['rows']||[];})['then'](function(){return _0x5d95ae[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x1e5672[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x12d})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x431e56){var _0x51736e=_0x431e56&&_0x431e56[_0x1cd3('0xf6')]?_0x431e56[_0x1cd3('0xf6')][0x0]:null;if(!_0x51736e){var _0x385603=[];var _0x45980c=null;if(_0x1e5672[_0x1cd3('0xaa4')]){_0x45980c=_[_0x1cd3('0x442')](_0x1e5672[_0x1cd3('0xf5')],{'id':Number(_0x1e5672[_0x1cd3('0xaa4')]['ListId'])});}for(var _0x40be61=0x0;_0x40be61<_0x1e5672[_0x1cd3('0xf5')][_0x1cd3('0x7a')];_0x40be61++){if(_0x45980c&&_0x1e5672[_0x1cd3('0xf5')][_0x40be61]['id']===_0x45980c['id']){_0x1e5672['lists'][_0x40be61][_0x1cd3('0xf4a')]=![];_0x385603['push'](_0x1e5672[_0x1cd3('0xf5')][_0x40be61]);}}_0x1e5672[_0x1cd3('0xf5')]=_0x385603;}else{if(!_0x51736e[_0x1cd3('0x391')]){return _0x5d95ae[_0x1cd3('0x392')]['get']({'sectionId':_0x51736e['id']})[_0x1cd3('0x81')]['then'](function(_0x33d77d){var _0x2c520c=_[_0x1cd3('0x3d9')](_0x33d77d[_0x1cd3('0xf6')],function(_0x226bb9){return _[_0x1cd3('0x442')](_0x1e5672[_0x1cd3('0xf5')],{'id':_0x226bb9[_0x1cd3('0xe8e')]});});var _0x2e189c=null;if(_0x1e5672[_0x1cd3('0xaa4')]){_0x2e189c=_[_0x1cd3('0x442')](_0x1e5672['lists'],{'id':Number(_0x1e5672[_0x1cd3('0xaa4')][_0x1cd3('0x106')])});}if(_0x2e189c&&!_[_0x1cd3('0x38d')](_0x2c520c,['id',_0x2e189c['id']])){var _0x548701=_[_0x1cd3('0x442')](_0x1e5672['lists'],{'id':_0x2e189c['id']});_0x548701[_0x1cd3('0xf4a')]=![];_0x2c520c['push'](_0x548701);}_0x1e5672[_0x1cd3('0xf5')]=_0x2c520c;});}}})[_0x1cd3('0xfd')](function(_0x39c0e8){_0x21866d[_0x1cd3('0x434')]({'title':_0x39c0e8[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x39c0e8[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x39c0e8[_0x1cd3('0xd35')]:'SYSTEM:GETlists','msg':_0x39c0e8['data']?JSON['stringify'](_0x39c0e8['data']):_0x39c0e8[_0x1cd3('0x43b')]()});});function _0x2de789(_0x401a38,_0x996f1e){_0x11fc48['go'](_0x1cd3('0x15d'),{'id':_0x401a38['id'],'faxAccount':_0x401a38,'crudPermissions':_0x1e5672['crudPermissions']});}function _0x494992(_0x1503a4,_0xec9f7a){_0x11fc48['go'](_0x1cd3('0x15d'),{'id':_0x1503a4['id'],'tab':0x5});}function _0x2fb272(_0x37ec42,_0x501e6c){if(_0x3e8dc0[_0x1cd3('0x57')]('admin')){_0x11fc48['go'](_0x1cd3('0x16a'),{});}else{return _0x5d95ae[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x3e8dc0[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x38e})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x328463){var _0x451d56=_0x328463&&_0x328463[_0x1cd3('0xf6')]?_0x328463['rows'][0x0]:null;if(_0x451d56&&_0x451d56[_0x1cd3('0x396')]){_0x11fc48['go'](_0x1cd3('0x16a'),{});}else{_0x21866d[_0x1cd3('0x654')]({'title':_0x115074[_0x1cd3('0x44a')](_0x1cd3('0x1164')),'msg':_0x115074[_0x1cd3('0x44a')](_0x1cd3('0x11a9'))});}})[_0x1cd3('0xfd')](function(_0x39fb3a){_0x21866d[_0x1cd3('0x434')]({'title':_0x39fb3a[_0x1cd3('0x3a6')]?'API:'+_0x39fb3a[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x39fb3a['statusText']:_0x1cd3('0x11aa'),'msg':_0x39fb3a[_0x1cd3('0x3a6')]?JSON[_0x1cd3('0x438')](_0x39fb3a[_0x1cd3('0x439')]):_0x39fb3a[_0x1cd3('0x43b')]()});});}}function _0x58311a(_0x45a433,_0x471a07){_0x48dc09[_0x1cd3('0x37e')]({'controller':'FaxAccountagentaddController','controllerAs':'vm','templateUrl':_0x1cd3('0x1936'),'parent':angular[_0x1cd3('0x37f')](_0x3012e5[_0x1cd3('0x380')]),'targetEvent':_0x471a07,'clickOutsideToClose':!![],'locals':{'faxAccount':_0x45a433,'faxAccounts':_0x1e5672[_0x1cd3('0x15fa')]?_0x1e5672[_0x1cd3('0x15fa')]['rows']:[],'crudPermissions':_0x1e5672[_0x1cd3('0xd27')],'realtime':![]}});}function _0x1effa2(_0x4b63a9,_0x38695e){var _0x2c895a=_0x48dc09['confirm']()[_0x1cd3('0x486')](_0x1cd3('0xd4f')+_[_0x1cd3('0xd50')](_0x1cd3('0xaa4'))+'?')['htmlContent']('<b>'+(_0x4b63a9[_0x1cd3('0x98')]||_0x1cd3('0xaa4'))+'</b>'+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')]('delete\x20faxAccount')[_0x1cd3('0xd63')](_0x38695e)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x48dc09[_0x1cd3('0x37e')](_0x2c895a)[_0x1cd3('0x77')](function(){_0x3be742(_0x4b63a9);},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}var _0x26baa6=!![];var _0x4d6c84=0x1;_0x5c781e['$watch']('vm.query.filter',function(_0x4cc84f,_0x5db5ad){if(_0x26baa6){_0x40e562(function(){_0x26baa6=![];});}else{if(!_0x5db5ad){_0x4d6c84=_0x1e5672[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0x4cc84f!==_0x5db5ad){_0x1e5672['query']['page']=0x1;}if(!_0x4cc84f){_0x1e5672[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0x4d6c84;}_0x1e5672[_0x1cd3('0x15f4')]();}});function _0xce68c2(_0x3314fc){_0x1e5672[_0x1cd3('0x15fa')]=_0x3314fc||{'count':0x0,'rows':[]};}function _0x40b0d8(){_0x1e5672[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0x1e5672[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0x1e5672[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];if(_0x3e8dc0[_0x1cd3('0x57')](_0x1cd3('0x5f'))){_0x1e5672['promise']=_0x5d95ae[_0x1cd3('0xaa4')][_0x1cd3('0x361')](_0x1e5672['query'],_0xce68c2)[_0x1cd3('0x81')];}else{_0x1e5672['query']['id']=_0x1e5672['userProfile']['id'];_0x1e5672[_0x1cd3('0x3d4')][_0x1cd3('0xd58')]=_0x1cd3('0x15c');_0x1e5672['promise']=_0x5d95ae[_0x1cd3('0x38a')]['getResources'](_0x1e5672[_0x1cd3('0x3d4')],_0xce68c2)[_0x1cd3('0x81')];}}function _0x50cfce(_0x59d1ab,_0x58f3cb){_0x48dc09[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x18e0'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1954'),'parent':angular[_0x1cd3('0x37f')](_0x3012e5[_0x1cd3('0x380')]),'targetEvent':_0x59d1ab,'clickOutsideToClose':!![],'locals':{'faxAccount':_0x58f3cb,'faxAccounts':_0x1e5672[_0x1cd3('0x15fa')][_0x1cd3('0xf6')],'license':_0x1e5672['license'],'setting':_0x1e5672[_0x1cd3('0xc49')],'crudPermissions':_0x1e5672[_0x1cd3('0xd27')]}});}function _0x3be742(_0x1e39c5){_0x5d95ae[_0x1cd3('0xaa4')][_0x1cd3('0xa1c')]({'id':_0x1e39c5['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x1e5672[_0x1cd3('0x15fa')][_0x1cd3('0xf6')],{'id':_0x1e39c5['id']});_0x1e5672[_0x1cd3('0x15fa')]['count']-=0x1;if(!_0x1e5672[_0x1cd3('0x15fa')]['rows'][_0x1cd3('0x7a')]){_0x1e5672['getFaxAccounts']();}_0x21866d['success']({'title':_[_0x1cd3('0xd50')](_0x1cd3('0x1955'))+_0x1cd3('0xd5c'),'msg':_0x1e39c5[_0x1cd3('0x98')]?_0x1e39c5[_0x1cd3('0x98')]+_0x1cd3('0xd41'):''});})[_0x1cd3('0xfd')](function(_0xf70061){if(_0xf70061[_0x1cd3('0x439')]&&_0xf70061[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0xf70061['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x1e5672[_0x1cd3('0xd34')]=_0xf70061[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0xf70061[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1956')}];for(var _0xd6e5d5=0x0;_0xd6e5d5<_0xf70061['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0xd6e5d5++){_0x21866d[_0x1cd3('0x434')]({'title':_0xf70061[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0xd6e5d5][_0x1cd3('0x424')],'msg':_0xf70061[_0x1cd3('0x439')]['errors'][_0xd6e5d5][_0x1cd3('0x43a')]});}}else{_0x21866d[_0x1cd3('0x434')]({'title':_0xf70061[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0xf70061['status']+_0x1cd3('0x436')+_0xf70061[_0x1cd3('0xd35')]:_0x1cd3('0x1956'),'msg':_0xf70061[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0xf70061['data'][_0x1cd3('0x43a')]):_0xf70061['message']||_0xf70061[_0x1cd3('0x43b')]()});}});}function _0x5d3ccc(){var _0x3583c3=angular['copy'](_0x1e5672[_0x1cd3('0x1939')]);_0x1e5672['selectedFaxAccounts']=[];return _0x3583c3;}function _0x4da4c4(_0x2ec3de){var _0x355b48=_0x48dc09[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x1957'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x1e5672[_0x1cd3('0x1939')][_0x1cd3('0x7a')]+_0x1cd3('0xd61')+'\x20will\x20be\x20deleted.')['ariaLabel'](_0x1cd3('0x1958'))[_0x1cd3('0xd63')](_0x2ec3de)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x48dc09[_0x1cd3('0x37e')](_0x355b48)[_0x1cd3('0x77')](function(){_0x1e5672[_0x1cd3('0x1939')]['forEach'](function(_0xc080ac){_0x3be742(_0xc080ac);});_0x1e5672['selectedFaxAccounts']=[];});}function _0x579c92(){_0x1e5672[_0x1cd3('0x1939')]=[];}function _0x4ffac6(){_0x1e5672[_0x1cd3('0x1939')]=_0x1e5672[_0x1cd3('0x15fa')][_0x1cd3('0xf6')];}}}());(function(){'use strict';_0x277462[_0x1cd3('0xc')]=['$scope',_0x1cd3('0x53e'),_0x1cd3('0xd24'),_0x1cd3('0x3c5'),'$q',_0x1cd3('0x3f7'),_0x1cd3('0x461'),_0x1cd3('0x16c8'),'faxQueue','api','Auth',_0x1cd3('0x463'),_0x1cd3('0xc49'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x32'))['controller']('CreateOrEditFaxQueueDialogController',_0x277462);function _0x277462(_0x361e1e,_0x1533b2,_0x245d09,_0x365012,_0xdfac0f,_0x3f257e,_0x95b23d,_0x4572dd,_0x10ae61,_0x361e76,_0x5c1143,_0x2c3485,_0x2891b4,_0x570bc3){var _0xb7cafa=this;_0xb7cafa[_0x1cd3('0x3ca')]=_0x5c1143['getCurrentUser']();_0xb7cafa[_0x1cd3('0xd34')]=[];_0xb7cafa[_0x1cd3('0xc49')]=_0x2891b4;_0xb7cafa[_0x1cd3('0x463')]=_0x2c3485;_0xb7cafa[_0x1cd3('0xd27')]=_0x570bc3;_0xb7cafa[_0x1cd3('0xd28')]={};_0xb7cafa[_0x1cd3('0xd29')]=_0xb7cafa[_0x1cd3('0xc49')]&&_0xb7cafa[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0xb7cafa[_0x1cd3('0x486')]=_0x1cd3('0x1959');_0xb7cafa[_0x1cd3('0xe1a')]=angular['copy'](_0x10ae61);_0xb7cafa[_0x1cd3('0x16c8')]=_0x4572dd;_0xb7cafa['newFaxQueue']=![];if(!_0xb7cafa[_0x1cd3('0xe1a')]){_0xb7cafa[_0x1cd3('0xe1a')]={'strategy':'beepall','timeout':0xa};_0xb7cafa[_0x1cd3('0x486')]='FAX.NEW_FAXQUEUE';_0xb7cafa[_0x1cd3('0x195a')]=!![];}_0xb7cafa[_0x1cd3('0x195b')]=_0x532b56;_0xb7cafa[_0x1cd3('0x195c')]=_0x305b32;_0xb7cafa[_0x1cd3('0x195d')]=_0x21669a;_0xb7cafa[_0x1cd3('0xd31')]=_0x41a53d;_0xb7cafa[_0x1cd3('0x39c')]=_0x5c9e1b;function _0x532b56(){_0xb7cafa[_0x1cd3('0xd34')]=[];_0x361e76[_0x1cd3('0xe1a')][_0x1cd3('0xd6d')](_0xb7cafa[_0x1cd3('0xe1a')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x461ed2){_0xb7cafa[_0x1cd3('0x16c8')]['unshift'](_0x461ed2[_0x1cd3('0xd32')]());_0x95b23d['success']({'title':_0x1cd3('0x195e'),'msg':_0xb7cafa[_0x1cd3('0xe1a')]['name']?_0xb7cafa[_0x1cd3('0xe1a')][_0x1cd3('0x98')]+_0x1cd3('0xd33'):''});_0x5c9e1b(_0x461ed2);})['catch'](function(_0x5a9897){if(_0x5a9897[_0x1cd3('0x439')]&&_0x5a9897[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x5a9897[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0xb7cafa[_0x1cd3('0xd34')]=_0x5a9897[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x5a9897['toString'](),'type':_0x1cd3('0x195f')}];for(var _0x45c1e9=0x0;_0x45c1e9<_0x5a9897[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length'];_0x45c1e9+=0x1){_0x95b23d[_0x1cd3('0x434')]({'title':_0x5a9897[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x45c1e9][_0x1cd3('0x424')],'msg':_0x5a9897['data'][_0x1cd3('0xd34')][_0x45c1e9][_0x1cd3('0x43a')]});}}else{_0x95b23d['error']({'title':_0x5a9897[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x5a9897[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x5a9897[_0x1cd3('0xd35')]:'api.faxQueue.save','msg':_0x5a9897['data']?JSON['stringify'](_0x5a9897[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x5a9897[_0x1cd3('0x43b')]()});}});}function _0x305b32(){_0xb7cafa[_0x1cd3('0xd34')]=[];_0x361e76[_0x1cd3('0xe1a')][_0x1cd3('0x378')]({'id':_0xb7cafa[_0x1cd3('0xe1a')]['id']},_0xb7cafa['faxQueue'])['$promise'][_0x1cd3('0x77')](function(_0x17b6d7){var _0x7af645=_[_0x1cd3('0x442')](_0xb7cafa[_0x1cd3('0x16c8')],{'id':_0x17b6d7['id']});if(_0x7af645){_[_0x1cd3('0xf2')](_0x7af645,_[_0x1cd3('0x5e8')](_0x17b6d7['toJSON'](),_[_0x1cd3('0x80')](_0x7af645)));}_0x95b23d['success']({'title':_0x1cd3('0x1960'),'msg':_0xb7cafa[_0x1cd3('0xe1a')][_0x1cd3('0x98')]?_0xb7cafa[_0x1cd3('0xe1a')][_0x1cd3('0x98')]+_0x1cd3('0xd37'):''});_0x5c9e1b(_0x17b6d7);})[_0x1cd3('0xfd')](function(_0xa3e6e5){if(_0xa3e6e5['data']&&_0xa3e6e5[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0xa3e6e5[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0xb7cafa['errors']=_0xa3e6e5[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0xa3e6e5['toString'](),'type':_0x1cd3('0x1961')}];for(var _0x32bf56=0x0;_0x32bf56<_0xa3e6e5[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length'];_0x32bf56++){_0x95b23d[_0x1cd3('0x434')]({'title':_0xa3e6e5[_0x1cd3('0x439')]['errors'][_0x32bf56][_0x1cd3('0x424')],'msg':_0xa3e6e5[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x32bf56][_0x1cd3('0x43a')]});}}else{_0x95b23d['error']({'title':_0xa3e6e5[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0xa3e6e5[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0xa3e6e5[_0x1cd3('0xd35')]:_0x1cd3('0x1961'),'msg':_0xa3e6e5[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0xa3e6e5[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0xa3e6e5[_0x1cd3('0x43b')]()});}});}function _0x21669a(_0xad03aa){_0xb7cafa[_0x1cd3('0xd34')]=[];var _0xc6f04d=_0x365012[_0x1cd3('0xd39')]()['title'](_0x1cd3('0xd3a'))[_0x1cd3('0xd3b')]('The\x20faxQueue\x20will\x20be\x20deleted.')['ariaLabel'](_0x1cd3('0x1962'))['ok']('Delete')['cancel'](_0x1cd3('0x674'))[_0x1cd3('0xd63')](_0xad03aa);_0x365012['show'](_0xc6f04d)['then'](function(){_0x361e76[_0x1cd3('0xe1a')][_0x1cd3('0xa1c')]({'id':_0xb7cafa[_0x1cd3('0xe1a')]['id']})[_0x1cd3('0x81')]['then'](function(){_[_0x1cd3('0x383')](_0xb7cafa[_0x1cd3('0x16c8')],{'id':_0xb7cafa[_0x1cd3('0xe1a')]['id']});_0x95b23d[_0x1cd3('0x473')]({'title':'FaxQueue\x20properly\x20deleted!','msg':(_0xb7cafa[_0x1cd3('0xe1a')][_0x1cd3('0x98')]||_0x1cd3('0xe1a'))+_0x1cd3('0xd41')});_0x5c9e1b(_0xb7cafa[_0x1cd3('0xe1a')]);})[_0x1cd3('0xfd')](function(_0x9acf2f){if(_0x9acf2f['data']&&_0x9acf2f[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x9acf2f[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')]){_0xb7cafa[_0x1cd3('0xd34')]=_0x9acf2f[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x9acf2f[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1963')}];for(var _0x5f33a6=0x0;_0x5f33a6<_0x9acf2f['data']['errors'][_0x1cd3('0x7a')];_0x5f33a6++){_0x95b23d[_0x1cd3('0x434')]({'title':_0x9acf2f['data'][_0x1cd3('0xd34')][_0x5f33a6][_0x1cd3('0x424')],'msg':_0x9acf2f[_0x1cd3('0x439')]['errors'][_0x5f33a6][_0x1cd3('0x43a')]});}}else{_0x95b23d['error']({'title':_0x9acf2f[_0x1cd3('0x3a6')]?'API:'+_0x9acf2f[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x9acf2f[_0x1cd3('0xd35')]:_0x1cd3('0x1963'),'msg':_0x9acf2f['data']?JSON[_0x1cd3('0x438')](_0x9acf2f[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x9acf2f['message']||_0x9acf2f[_0x1cd3('0x43b')]()});}});},function(){});}function _0x41a53d(_0x37a19d){return _0x37a19d===null?undefined:new Date(_0x37a19d);}function _0x5c9e1b(_0x42cfd4){_0x365012[_0x1cd3('0x39d')](_0x42cfd4);}}}());(function(){'use strict';_0x5c60b1[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),'$q',_0x1cd3('0x461'),_0x1cd3('0x370'),_0x1cd3('0xe1a'),_0x1cd3('0x16c8'),_0x1cd3('0x11b9'),'$translate',_0x1cd3('0x56'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x32'))[_0x1cd3('0x39b')](_0x1cd3('0x1964'),_0x5c60b1);function _0x5c60b1(_0x444a14,_0x5a1b7e,_0x45bd90,_0x135b75,_0x55a9f0,_0x121df2,_0x5049fa,_0x47b1b7,_0x33200a,_0x3d3309){var _0x406e4a=this;_0x406e4a[_0x1cd3('0x3ca')]=_0x33200a[_0x1cd3('0x5d')]();_0x406e4a[_0x1cd3('0xe1a')]=_0x55a9f0;_0x406e4a['crudPermissions']=_0x3d3309;_0x406e4a[_0x1cd3('0x11b9')]=_0x5049fa;_0x406e4a[_0x1cd3('0x493')]=[];_0x406e4a[_0x1cd3('0x11ba')]=[];_0x406e4a[_0x1cd3('0x492')]=[];_0x406e4a[_0x1cd3('0x11bb')]=[];_0x406e4a[_0x1cd3('0x11be')]=[];_0x406e4a[_0x1cd3('0x11c6')]=![];_0x406e4a[_0x1cd3('0x703')]=_0x26c960;_0x406e4a[_0x1cd3('0x11bc')]=_0x47cc8a;_0x406e4a['closeDialog']=_0x3877b5;_0x406e4a[_0x1cd3('0x1145')]={'readOnly':!_0x406e4a[_0x1cd3('0xd27')][_0x1cd3('0xe3b')],'items':[],'selectedItems':[],'showSelectAndDeselectAll':!![],'orderBy':_0x1cd3('0x98'),'line1':_0x1cd3('0xd3'),'line2':['name',_0x1cd3('0x311')],'line3':'','labelAll':_0x47b1b7[_0x1cd3('0x44a')]('FAX.ALL_AGENTS'),'labelSelected':_0x47b1b7[_0x1cd3('0x44a')]('FAX.SELECTED_AGENTS'),'transferCallback':function(_0x40bfeb,_0x385fd9){var _0x3e4303=_[_0x1cd3('0x11c8')](_0x406e4a[_0x1cd3('0x11be')],_0x406e4a[_0x1cd3('0x492')],'id');_0x406e4a[_0x1cd3('0x11c6')]=_[_0x1cd3('0x398')](_0x3e4303)?![]:!![];}};function _0x26c960(){return _0x33200a[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x21a308()[_0x1cd3('0xfd')](function(_0xed0821){_0x45bd90[_0x1cd3('0x434')]({'title':_0xed0821[_0x1cd3('0x3a6')]?'API:'+_0xed0821[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0xed0821[_0x1cd3('0xd35')]:_0x1cd3('0x11bf'),'msg':_0xed0821['status']?JSON[_0x1cd3('0x438')](_0xed0821[_0x1cd3('0x439')]):_0xed0821['toString']()});}):_0x568084()['then'](function(_0x53fd6a){_0x406e4a[_0x1cd3('0xd58')]=_0x53fd6a;return _0x21a308();})['catch'](function(_0x40abf1){_0x45bd90[_0x1cd3('0x434')]({'title':_0x40abf1[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x40abf1['status']+_0x1cd3('0x436')+_0x40abf1[_0x1cd3('0xd35')]:_0x1cd3('0x11bf'),'msg':_0x40abf1['status']?JSON['stringify'](_0x40abf1[_0x1cd3('0x439')]):_0x40abf1[_0x1cd3('0x43b')]()});});}function _0x568084(){return _0x5a1b7e(function(_0x5aaa33,_0xa8dacb){_0x135b75[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x406e4a[_0x1cd3('0x3ca')]['userProfileId'],'name':_0x1cd3('0xd4')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x4f22b1){var _0x2efa1e=_0x4f22b1&&_0x4f22b1[_0x1cd3('0xf6')]?_0x4f22b1[_0x1cd3('0xf6')][0x0]:null;_0x5aaa33(_0x2efa1e);})[_0x1cd3('0xfd')](function(_0x22430b){_0xa8dacb(_0x22430b);});});}function _0x21a308(){return _0x5a1b7e(function(_0xb21697,_0x5ef04c){return _0x3a0b56()['then'](function(_0x1b2c93){_0x406e4a[_0x1cd3('0x493')]=_0x1b2c93[_0x1cd3('0xf6')]?_0x1b2c93[_0x1cd3('0xf6')]:[];if(_0x33200a[_0x1cd3('0x57')](_0x1cd3('0x5f'))){return _0x1b2c93;}else{if(_0x406e4a['section']){return _0x406e4a[_0x1cd3('0xd58')][_0x1cd3('0x391')]?_0x1b2c93:_0x1d377a();}else{return null;}}})[_0x1cd3('0x77')](function(_0x2a8d54){var _0xe6173b=_0x2a8d54&&_0x2a8d54[_0x1cd3('0xf6')]?_0x2a8d54['rows']:[];_0x406e4a[_0x1cd3('0x11ba')]=_[_0x1cd3('0x3d9')](_0xe6173b,function(_0x3eab89){return _[_0x1cd3('0x442')](_0x406e4a[_0x1cd3('0x493')],{'id':_0x33200a[_0x1cd3('0x57')]('admin')||_0x406e4a[_0x1cd3('0xd58')][_0x1cd3('0x391')]?_0x3eab89['id']:_0x3eab89[_0x1cd3('0xe8e')]});});_0x406e4a[_0x1cd3('0x11bb')]=angular['copy'](_0x406e4a[_0x1cd3('0x11ba')]);_0x406e4a['items'][_0x1cd3('0x394')](function(_0x3c7cd5){var _0x4e8d44=_[_0x1cd3('0x442')](_0x406e4a[_0x1cd3('0x11ba')],{'id':_0x3c7cd5['id']});if(_0x33200a[_0x1cd3('0x57')](_0x1cd3('0x5f'))){_0x3c7cd5['isValid']=!![];}else{_0x3c7cd5['isValid']=typeof _0x4e8d44!==_0x1cd3('0x491')?!![]:![];}});return _0x5311e7();})[_0x1cd3('0x77')](function(_0x737cc1){var _0x1554d2=_0x737cc1&&_0x737cc1[_0x1cd3('0xf6')]?_0x737cc1['rows']:[];_0x406e4a[_0x1cd3('0x492')]=_[_0x1cd3('0x3d9')](_0x1554d2,function(_0x3e983c){var _0x195db2=_[_0x1cd3('0x442')](_0x406e4a['items'],{'id':_0x3e983c['id']});_0x195db2[_0x1cd3('0x1146')]=_0x3e983c[_0x1cd3('0x1965')]?_0x1cd3('0x1503')+_0x3e983c[_0x1cd3('0x1965')][_0x1cd3('0x1146')]:'';_0x195db2[_0x1cd3('0x311')]=_0x3e983c[_0x1cd3('0x3d0')]('internal')?'<'+_0x3e983c[_0x1cd3('0x311')]+'>':'';return _0x195db2;});_0x406e4a['startingSelectedItems']=angular['copy'](_0x406e4a[_0x1cd3('0x492')]);_0x406e4a['dualMultiselectOptions'][_0x1cd3('0x492')]=_0x406e4a[_0x1cd3('0x492')];_0x406e4a['dualMultiselectOptions']['items']=_[_0x1cd3('0x1152')](_0x406e4a[_0x1cd3('0x11ba')],_0x406e4a[_0x1cd3('0x1145')][_0x1cd3('0x492')],'id');_0xb21697();})['catch'](function(_0x2253f4){_0x5ef04c(_0x2253f4);});});}function _0x1d377a(){return _0x5a1b7e(function(_0x4d483a,_0x443258){return _0x135b75['userProfileResource'][_0x1cd3('0x361')]({'sectionId':_0x406e4a[_0x1cd3('0xd58')]['id'],'nolimit':!![]})[_0x1cd3('0x81')]['then'](function(_0x54d5c3){_0x4d483a(_0x54d5c3);})[_0x1cd3('0xfd')](function(_0x1319f4){_0x443258(_0x1319f4);});});}function _0x5311e7(){return _0x5a1b7e(function(_0x50953c,_0x3ec9b8){return _0x135b75['faxQueue'][_0x1cd3('0x1269')]({'id':_0x406e4a[_0x1cd3('0xe1a')]['id'],'fields':_0x1cd3('0x11c1'),'nolimit':!![],'role':_0x1cd3('0xd2')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x494ec5){_0x50953c(_0x494ec5);})[_0x1cd3('0xfd')](function(_0x2b245e){_0x3ec9b8(_0x2b245e);});});}function _0x3a0b56(){return _0x5a1b7e(function(_0x1a512e,_0x5327fb){return _0x135b75['user']['get']({'fields':_0x1cd3('0x11c1'),'nolimit':!![],'role':_0x1cd3('0xd2')})['$promise'][_0x1cd3('0x77')](function(_0x4721b6){_0x1a512e(_0x4721b6);})[_0x1cd3('0xfd')](function(_0xb1c22e){_0x5327fb(_0xb1c22e);});});}function _0x5a4cd2(_0x259ffa){return _0x5a1b7e(function(_0x40fd17,_0x13517a){if(_[_0x1cd3('0x398')](_0x259ffa)){_0x40fd17();}else{_0x135b75[_0x1cd3('0xe1a')][_0x1cd3('0x11c2')]({'id':_0x406e4a['faxQueue']['id'],'ids':_[_0x1cd3('0x3d9')](_0x259ffa,'id')})[_0x1cd3('0x81')]['then'](function(){_0x40fd17();})[_0x1cd3('0xfd')](function(_0x1ad713){_0x13517a(_0x1ad713);});}});}function _0x248520(_0x345fda){return _0x5a1b7e(function(_0x420258,_0x5d53d2){if(_[_0x1cd3('0x398')](_0x345fda)){_0x420258();}else{_0x135b75[_0x1cd3('0xe1a')][_0x1cd3('0x11c3')]({'id':_0x406e4a[_0x1cd3('0xe1a')]['id'],'ids':_[_0x1cd3('0x3d9')](_0x345fda,'id')})[_0x1cd3('0x81')]['then'](function(){_0x420258();})[_0x1cd3('0xfd')](function(_0x1db520){_0x5d53d2(_0x1db520);});}});}function _0x47cc8a(){var _0x22989d=_[_0x1cd3('0x1152')](_0x406e4a['startingSelectedItems'],_0x406e4a[_0x1cd3('0x492')],'id');var _0xc0d394=_[_0x1cd3('0x1152')](_0x406e4a[_0x1cd3('0x492')],_0x406e4a[_0x1cd3('0x11be')],'id');return _0x248520(_0x22989d)['then'](function(){return _0x5a4cd2(_0xc0d394);})[_0x1cd3('0x77')](function(){_0x406e4a[_0x1cd3('0x11c6')]=![];_0x406e4a[_0x1cd3('0x11bb')]=angular['copy'](_0x406e4a['allowedItems']);_0x406e4a[_0x1cd3('0x11be')]=angular[_0x1cd3('0x429')](_0x406e4a[_0x1cd3('0x492')]);_0x45bd90[_0x1cd3('0x473')]({'title':_0x1cd3('0x11c4'),'msg':'Agents\x20association\x20has\x20been\x20updated!'});})['catch'](function(_0x547df0){_0x45bd90[_0x1cd3('0x434')]({'title':_0x547df0['status']?_0x1cd3('0x435')+_0x547df0[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x547df0[_0x1cd3('0xd35')]:_0x1cd3('0x11ce'),'msg':_0x547df0[_0x1cd3('0x3a6')]?JSON[_0x1cd3('0x438')](_0x547df0[_0x1cd3('0x439')]):_0x547df0[_0x1cd3('0x43b')]()});});}function _0x3877b5(){_0x444a14[_0x1cd3('0x39d')]();}}}());(function(){'use strict';_0x176c0c['$inject']=[_0x1cd3('0x3c5'),'$q',_0x1cd3('0x461'),_0x1cd3('0x370'),_0x1cd3('0xe1a'),_0x1cd3('0x3f7'),_0x1cd3('0x56'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x32'))['controller']('FaxQueueteamaddController',_0x176c0c);function _0x176c0c(_0x39bc9f,_0x13acd1,_0x12f1ae,_0x1a607d,_0x1c75ff,_0x3dc064,_0x5bb977,_0x232ab4){var _0x44fac8=this;_0x44fac8['currentUser']=_0x5bb977['getCurrentUser']();_0x44fac8[_0x1cd3('0xe1a')]=_0x1c75ff;_0x44fac8[_0x1cd3('0xd27')]=_0x232ab4;_0x44fac8[_0x1cd3('0x493')]=[];_0x44fac8['allowedItems']=[];_0x44fac8[_0x1cd3('0x492')]=[];_0x44fac8['startingAllowedItems']=[];_0x44fac8[_0x1cd3('0x11be')]=[];_0x44fac8[_0x1cd3('0x11c6')]=![];_0x44fac8[_0x1cd3('0x1145')]={'readOnly':!_0x44fac8[_0x1cd3('0xd27')][_0x1cd3('0xe3b')],'allowedItems':[],'selectedItems':[],'showSelectAndDeselectAll':!![],'orderBy':_0x1cd3('0x98'),'line1':'name','line2':'','line3':'','labelAll':_0x3dc064[_0x1cd3('0x44a')](_0x1cd3('0x1966')),'labelSelected':_0x3dc064[_0x1cd3('0x44a')](_0x1cd3('0x1967')),'transferCallback':function(_0x5cb41d,_0x22d4e4){var _0x5149ef=_['xorBy'](_0x44fac8[_0x1cd3('0x11be')],_0x44fac8[_0x1cd3('0x492')],'id');_0x44fac8[_0x1cd3('0x11c6')]=_['isEmpty'](_0x5149ef)?![]:!![];}};_0x44fac8['onInit']=_0x51d718;_0x44fac8[_0x1cd3('0x1968')]=_0x298cb7;_0x44fac8[_0x1cd3('0x39c')]=_0x62650;function _0x51d718(){return _0x5bb977[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x42f25e()[_0x1cd3('0xfd')](function(_0x389814){_0x12f1ae[_0x1cd3('0x434')]({'title':_0x389814['status']?_0x1cd3('0x435')+_0x389814[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x389814[_0x1cd3('0xd35')]:_0x1cd3('0x11c9'),'msg':_0x389814[_0x1cd3('0x3a6')]?JSON['stringify'](_0x389814[_0x1cd3('0x439')]):_0x389814['toString']()});}):_0x3b9033()[_0x1cd3('0x77')](function(_0x1ada85){_0x44fac8[_0x1cd3('0xd58')]=_0x1ada85;return _0x42f25e();})[_0x1cd3('0xfd')](function(_0x2fce68){_0x12f1ae[_0x1cd3('0x434')]({'title':_0x2fce68[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x2fce68[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x2fce68['statusText']:'SYSTEM:GET_TEAMS','msg':_0x2fce68[_0x1cd3('0x3a6')]?JSON['stringify'](_0x2fce68[_0x1cd3('0x439')]):_0x2fce68[_0x1cd3('0x43b')]()});});}function _0x3b9033(){return _0x13acd1(function(_0x3ed392,_0x331fe0){_0x1a607d[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x44fac8[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'name':_0x1cd3('0x296')})['$promise'][_0x1cd3('0x77')](function(_0x1fe4e5){var _0x336009=_0x1fe4e5&&_0x1fe4e5[_0x1cd3('0xf6')]?_0x1fe4e5[_0x1cd3('0xf6')][0x0]:null;_0x3ed392(_0x336009);})['catch'](function(_0x572ae7){_0x331fe0(_0x572ae7);});});}function _0x42f25e(){return _0x13acd1(function(_0x177763,_0x115767){return _0x5591ef()[_0x1cd3('0x77')](function(_0x29483d){_0x44fac8[_0x1cd3('0x493')]=_0x29483d[_0x1cd3('0xf6')]?_0x29483d[_0x1cd3('0xf6')]:[];if(_0x5bb977['hasRole'](_0x1cd3('0x5f'))){return _0x29483d;}else{if(_0x44fac8[_0x1cd3('0xd58')]){return _0x44fac8[_0x1cd3('0xd58')]['autoAssociation']?_0x29483d:_0x55c22e();}else{return null;}}})[_0x1cd3('0x77')](function(_0x55294b){var _0x432a28=_0x55294b&&_0x55294b[_0x1cd3('0xf6')]?_0x55294b[_0x1cd3('0xf6')]:[];_0x44fac8[_0x1cd3('0x11ba')]=_[_0x1cd3('0x3d9')](_0x432a28,function(_0x4b5114){return _['find'](_0x44fac8['items'],{'id':_0x5bb977['hasRole'](_0x1cd3('0x5f'))||_0x44fac8[_0x1cd3('0xd58')][_0x1cd3('0x391')]?_0x4b5114['id']:_0x4b5114[_0x1cd3('0xe8e')]});});_0x44fac8['items']['forEach'](function(_0x244edb){var _0x5efbd4=_[_0x1cd3('0x442')](_0x44fac8[_0x1cd3('0x11ba')],{'id':_0x244edb['id']});if(_0x5bb977[_0x1cd3('0x57')]('admin')){_0x244edb[_0x1cd3('0x490')]=!![];}else{_0x244edb['isValid']=typeof _0x5efbd4!=='undefined'?!![]:![];}});return _0x539b26();})[_0x1cd3('0x77')](function(_0x1d0c78){var _0x439e3e=_0x1d0c78&&_0x1d0c78[_0x1cd3('0xf6')]?_0x1d0c78[_0x1cd3('0xf6')]:[];_0x44fac8[_0x1cd3('0x492')]=_[_0x1cd3('0x3d9')](_0x439e3e,function(_0x6bfca0){return _[_0x1cd3('0x442')](_0x44fac8['items'],{'id':_0x6bfca0['id']});});_0x44fac8['startingSelectedItems']=angular['copy'](_0x44fac8['selectedItems']);_0x44fac8[_0x1cd3('0x1145')][_0x1cd3('0x492')]=_0x44fac8[_0x1cd3('0x492')];_0x44fac8[_0x1cd3('0x1145')][_0x1cd3('0x493')]=_[_0x1cd3('0x1152')](_0x44fac8[_0x1cd3('0x11ba')],_0x44fac8[_0x1cd3('0x1145')]['selectedItems'],'id');_0x177763();})[_0x1cd3('0xfd')](function(_0x15549d){_0x115767(_0x15549d);});});}function _0x55c22e(){return _0x13acd1(function(_0x2dca92,_0x4346c4){return _0x1a607d['userProfileResource'][_0x1cd3('0x361')]({'sectionId':_0x44fac8['section']['id'],'nolimit':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x1dabc7){_0x2dca92(_0x1dabc7);})['catch'](function(_0x41e694){_0x4346c4(_0x41e694);});});}function _0x539b26(){return _0x13acd1(function(_0x17240e,_0x42f836){return _0x1a607d['faxQueue'][_0x1cd3('0x11ca')]({'id':_0x44fac8[_0x1cd3('0xe1a')]['id'],'fields':_0x1cd3('0xa6'),'nolimit':!![]})[_0x1cd3('0x81')]['then'](function(_0x1f835e){_0x17240e(_0x1f835e);})['catch'](function(_0x13088f){_0x42f836(_0x13088f);});});}function _0x5591ef(){return _0x13acd1(function(_0x20e24b,_0x4a5b8f){return _0x1a607d[_0x1cd3('0xc61')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'nolimit':!![]})['$promise']['then'](function(_0x27872b){_0x20e24b(_0x27872b);})[_0x1cd3('0xfd')](function(_0x3f4013){_0x4a5b8f(_0x3f4013);});});}function _0x3ab8a8(_0x315abd){return _0x13acd1(function(_0x45bdb4,_0x21d8c1){if(_[_0x1cd3('0x398')](_0x315abd)){_0x45bdb4();}else{_0x1a607d[_0x1cd3('0xe1a')][_0x1cd3('0x11cb')]({'id':_0x44fac8[_0x1cd3('0xe1a')]['id'],'ids':_[_0x1cd3('0x3d9')](_0x315abd,'id')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x45bdb4();})['catch'](function(_0x2c274d){_0x21d8c1(_0x2c274d);});}});}function _0x12e45e(_0x50aa20){return _0x13acd1(function(_0x5801a1,_0x3132eb){if(_[_0x1cd3('0x398')](_0x50aa20)){_0x5801a1();}else{_0x1a607d[_0x1cd3('0xe1a')][_0x1cd3('0x11cc')]({'id':_0x44fac8[_0x1cd3('0xe1a')]['id'],'ids':_[_0x1cd3('0x3d9')](_0x50aa20,'id')})[_0x1cd3('0x81')]['then'](function(){_0x5801a1();})['catch'](function(_0x14ac01){_0x3132eb(_0x14ac01);});}});}function _0x298cb7(){var _0x46fdf8=_[_0x1cd3('0x1152')](_0x44fac8[_0x1cd3('0x11be')],_0x44fac8[_0x1cd3('0x492')],'id');var _0x4f9941=_[_0x1cd3('0x1152')](_0x44fac8[_0x1cd3('0x492')],_0x44fac8[_0x1cd3('0x11be')],'id');return _0x12e45e(_0x46fdf8)[_0x1cd3('0x77')](function(){return _0x3ab8a8(_0x4f9941);})['then'](function(){_0x44fac8[_0x1cd3('0x11c6')]=![];_0x44fac8[_0x1cd3('0x11bb')]=angular['copy'](_0x44fac8[_0x1cd3('0x11ba')]);_0x44fac8[_0x1cd3('0x11be')]=angular['copy'](_0x44fac8[_0x1cd3('0x492')]);_0x12f1ae[_0x1cd3('0x473')]({'title':_0x1cd3('0x11c4'),'msg':_0x1cd3('0x11cd')});})[_0x1cd3('0xfd')](function(_0x5003d0){_0x12f1ae[_0x1cd3('0x434')]({'title':_0x5003d0['status']?_0x1cd3('0x435')+_0x5003d0[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x5003d0[_0x1cd3('0xd35')]:_0x1cd3('0x11ce'),'msg':_0x5003d0[_0x1cd3('0x3a6')]?JSON[_0x1cd3('0x438')](_0x5003d0[_0x1cd3('0x439')]):_0x5003d0[_0x1cd3('0x43b')]()});});}function _0x62650(){_0x39bc9f['hide']();}}}());(function(){'use strict';_0x1c4f28[_0x1cd3('0xc')]=[_0x1cd3('0x53e'),_0x1cd3('0xd24'),_0x1cd3('0x3c5'),'$document',_0x1cd3('0x3f7'),'license','setting',_0x1cd3('0x370'),_0x1cd3('0x461'),_0x1cd3('0x56'),'faxQueue',_0x1cd3('0x390')];angular[_0x1cd3('0x0')](_0x1cd3('0x32'))[_0x1cd3('0x39b')]('FaxQueueController',_0x1c4f28);function _0x1c4f28(_0x133003,_0x1b6d46,_0x5d2f82,_0x9c9cdb,_0x1cb78b,_0x5cc1f5,_0x8f5362,_0x102904,_0x2c34b6,_0x339e4d,_0x117738,_0x5769b6){var _0x1a75c5=this;_0x1a75c5['currentUser']=_0x339e4d[_0x1cd3('0x5d')]();_0x1a75c5[_0x1cd3('0x463')]=_0x5cc1f5;_0x1a75c5['setting']=_0x8f5362;_0x1a75c5[_0x1cd3('0xd29')]=_0x1a75c5[_0x1cd3('0xc49')]['securePassword']?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x1a75c5['location']=_0x1b6d46[_0x1cd3('0x3b0')]()+_0x1cd3('0x11cf')+_0x1b6d46[_0x1cd3('0x3ac')]();_0x1a75c5[_0x1cd3('0xe1a')]=_0x117738||_0x133003[_0x1cd3('0x36a')][_0x1cd3('0xe1a')]||{};_0x1a75c5[_0x1cd3('0x390')]=_0x5769b6&&_0x5769b6[_0x1cd3('0x466')]==0x1?_0x5769b6[_0x1cd3('0xf6')][0x0]:null;_0x1a75c5[_0x1cd3('0xd27')]=_0x339e4d[_0x1cd3('0xd44')](_0x1a75c5[_0x1cd3('0x390')]?_0x1a75c5[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);_0x1a75c5[_0x1cd3('0xd28')]={};_0x1a75c5[_0x1cd3('0xe5f')]=_0x133003[_0x1cd3('0x36a')][_0x1cd3('0x1418')]||0x0;_0x1a75c5[_0x1cd3('0x119a')]=_0x15cdff;_0x1a75c5[_0x1cd3('0x119b')]=_0x26f945;_0x1a75c5[_0x1cd3('0x11d0')]=_0x2c34b6[_0x1cd3('0x654')];_0x1a75c5['gotoFaxQueues']=_0x6bda5d;_0x1a75c5[_0x1cd3('0x195c')]=_0x253fe7;function _0x15cdff(_0x3228cd,_0x14a0af){_0x5d2f82['show']({'controller':_0x1cd3('0x1969'),'controllerAs':'vm','templateUrl':_0x1cd3('0x196a'),'parent':angular['element'](_0x9c9cdb[_0x1cd3('0x380')]),'targetEvent':_0x14a0af,'clickOutsideToClose':!![],'locals':{'faxQueue':_0x3228cd,'faxQueues':_0x1a75c5[_0x1cd3('0x16c8')]?_0x1a75c5['faxQueues'][_0x1cd3('0xf6')]:[],'crudPermissions':_0x1a75c5[_0x1cd3('0xd27')]}});}function _0x26f945(_0x59a078,_0x248a11){_0x5d2f82['show']({'controller':'FaxQueueagentaddController','controllerAs':'vm','templateUrl':_0x1cd3('0x196b'),'parent':angular[_0x1cd3('0x37f')](_0x9c9cdb[_0x1cd3('0x380')]),'targetEvent':_0x248a11,'clickOutsideToClose':!![],'locals':{'faxQueue':_0x59a078,'faxQueues':_0x1a75c5['faxQueues']?_0x1a75c5['faxQueues'][_0x1cd3('0xf6')]:[],'crudPermissions':_0x1a75c5['crudPermissions'],'realtime':![]}});}function _0x6bda5d(){_0x133003['go'](_0x1cd3('0x14f'),{},{'reload':_0x1cd3('0x14f')});}function _0x253fe7(){_0x102904[_0x1cd3('0xe1a')][_0x1cd3('0x378')]({'id':_0x1a75c5[_0x1cd3('0xe1a')]['id']},_0x1a75c5[_0x1cd3('0xe1a')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x2c34b6[_0x1cd3('0x473')]({'title':_0x1cd3('0x196c'),'msg':_0x1a75c5[_0x1cd3('0xe1a')][_0x1cd3('0x98')]?_0x1a75c5[_0x1cd3('0xe1a')][_0x1cd3('0x98')]+_0x1cd3('0xe65'):''});})[_0x1cd3('0xfd')](function(_0x203f01){_0x2c34b6[_0x1cd3('0x434')]({'title':_0x203f01[_0x1cd3('0x3a6')]?'API:'+_0x203f01[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x203f01['statusText']:_0x1cd3('0x196d'),'msg':_0x203f01[_0x1cd3('0x439')]?JSON['stringify'](_0x203f01[_0x1cd3('0x439')]):_0x203f01[_0x1cd3('0x43b')]()});});}}}());(function(){'use strict';_0x295e39[_0x1cd3('0xc')]=[_0x1cd3('0x460'),'$window',_0x1cd3('0x53e'),_0x1cd3('0x969'),_0x1cd3('0x3c5'),_0x1cd3('0x372'),'$timeout',_0x1cd3('0x3f7'),_0x1cd3('0x16c8'),_0x1cd3('0x38a'),'userProfileSection',_0x1cd3('0x370'),'msUtils',_0x1cd3('0x461'),_0x1cd3('0x56'),_0x1cd3('0x463'),_0x1cd3('0xc49')];angular[_0x1cd3('0x0')](_0x1cd3('0x32'))[_0x1cd3('0x39b')](_0x1cd3('0x196e'),_0x295e39);function _0x295e39(_0x2107a8,_0x32c8dc,_0x75539,_0x1a09ea,_0xe74244,_0x2f7903,_0x2e3862,_0x31a5d0,_0x40a222,_0x534e11,_0x17c93d,_0x287d34,_0x8f610e,_0x125cec,_0x16a07c,_0x35c0b4,_0x53d5f0){var _0x421ce6=this;_0x421ce6[_0x1cd3('0x463')]=_0x35c0b4;_0x421ce6['setting']=_0x53d5f0;_0x421ce6[_0x1cd3('0x3ca')]=_0x16a07c[_0x1cd3('0x5d')]();_0x421ce6[_0x1cd3('0x16c8')]=_0x40a222||{'count':0x0,'rows':[]};_0x421ce6[_0x1cd3('0x38a')]=_0x534e11;_0x421ce6[_0x1cd3('0x390')]=_0x17c93d&&_0x17c93d[_0x1cd3('0x466')]==0x1?_0x17c93d['rows'][0x0]:null;_0x421ce6['crudPermissions']=_0x16a07c['parseCrudPermissions'](_0x421ce6[_0x1cd3('0x390')]?_0x421ce6[_0x1cd3('0x390')]['crudPermissions']:null);_0x421ce6[_0x1cd3('0xd45')]='faxQueues';_0x421ce6[_0x1cd3('0xd46')]='';_0x421ce6['listOrderAsc']=null;_0x421ce6[_0x1cd3('0x196f')]=[];_0x421ce6[_0x1cd3('0x3d4')]={'fields':_0x1cd3('0xbb'),'sort':_0x1cd3('0x5b'),'channel':_0x1cd3('0x154'),'limit':0xa,'page':0x1};_0x421ce6['arraystrategy']=_[_0x1cd3('0xe2d')]([{'option':'Beepall','value':_0x1cd3('0x1199')},{'option':_0x1cd3('0x1970'),'value':_0x1cd3('0x1971')}],function(_0x5a734d){return _[_0x1cd3('0x3f1')](_0x5a734d['value'],new RegExp('\x27','g'),'');});_0x421ce6[_0x1cd3('0x1171')]=_0xef8cc3;_0x421ce6[_0x1cd3('0x119a')]=_0x2494b5;_0x421ce6['agentadddialog']=_0x3c6ab7;_0x421ce6[_0x1cd3('0xecc')]=_0xb0c247;_0x421ce6['gotorealtimegoto']=_0x427434;_0x421ce6[_0x1cd3('0x473')]=_0x510a7f;_0x421ce6[_0x1cd3('0x16cb')]=_0x120f9a;_0x421ce6[_0x1cd3('0x1972')]=_0x5bbe14;_0x421ce6[_0x1cd3('0x195d')]=_0x349f65;_0x421ce6[_0x1cd3('0x1973')]=_0x5d1d85;_0x421ce6[_0x1cd3('0x1974')]=_0x3cc5c5;_0x421ce6['deselectFaxQueues']=_0x51eef5;_0x421ce6[_0x1cd3('0x1975')]=_0x18954e;function _0xef8cc3(_0x397c02,_0x4403e9){_0x75539['go'](_0x1cd3('0x1976'),{'id':_0x397c02['id'],'faxQueue':_0x397c02,'crudPermissions':_0x421ce6[_0x1cd3('0xd27')]});}function _0x2494b5(_0x33592e,_0xaf906e){_0xe74244[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1969'),'controllerAs':'vm','templateUrl':'app/main/apps/fax/views/faxQueues/edit/teamadd/teamadd.html','parent':angular[_0x1cd3('0x37f')](_0x2f7903[_0x1cd3('0x380')]),'targetEvent':_0xaf906e,'clickOutsideToClose':!![],'locals':{'faxQueue':_0x33592e,'faxQueues':_0x421ce6[_0x1cd3('0x16c8')]?_0x421ce6['faxQueues'][_0x1cd3('0xf6')]:[],'crudPermissions':_0x421ce6['crudPermissions']}});}function _0x3c6ab7(_0x2c2a5e,_0x10e00a){_0xe74244['show']({'controller':_0x1cd3('0x1964'),'controllerAs':'vm','templateUrl':_0x1cd3('0x196b'),'parent':angular[_0x1cd3('0x37f')](_0x2f7903[_0x1cd3('0x380')]),'targetEvent':_0x10e00a,'clickOutsideToClose':!![],'locals':{'faxQueue':_0x2c2a5e,'faxQueues':_0x421ce6[_0x1cd3('0x16c8')]?_0x421ce6[_0x1cd3('0x16c8')]['rows']:[],'crudPermissions':_0x421ce6['crudPermissions'],'realtime':![]}});}function _0xb0c247(_0x41887f,_0x5b6e30){var _0x1cfa24=_0xe74244[_0x1cd3('0xd39')]()['title'](_0x1cd3('0xd4f')+_[_0x1cd3('0xd50')](_0x1cd3('0xe1a'))+'?')[_0x1cd3('0xd60')]('<b>'+(_0x41887f['name']||_0x1cd3('0xe1a'))+_0x1cd3('0xd52')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x1977'))[_0x1cd3('0xd63')](_0x5b6e30)['ok']('OK')[_0x1cd3('0x4d8')]('CANCEL');_0xe74244['show'](_0x1cfa24)[_0x1cd3('0x77')](function(){_0x349f65(_0x41887f);},function(){console['log']('CANCEL');});}function _0x427434(_0x2540c1,_0xbfab80){if(_0x16a07c[_0x1cd3('0x57')](_0x1cd3('0x5f'))){_0x75539['go'](_0x1cd3('0x167'),{});}else{return _0x287d34['userProfileSection'][_0x1cd3('0x361')]({'userProfileId':_0x16a07c[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x38e})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x198be0){var _0x351b96=_0x198be0&&_0x198be0['rows']?_0x198be0[_0x1cd3('0xf6')][0x0]:null;if(_0x351b96&&_0x351b96[_0x1cd3('0x396')]){_0x75539['go']('app.fax.realtime.queues',{});}else{_0x125cec[_0x1cd3('0x654')]({'title':_0x31a5d0['instant'](_0x1cd3('0x1164')),'msg':_0x31a5d0[_0x1cd3('0x44a')](_0x1cd3('0x11a9'))});}})[_0x1cd3('0xfd')](function(_0x8ff866){_0x125cec[_0x1cd3('0x434')]({'title':_0x8ff866[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x8ff866[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x8ff866[_0x1cd3('0xd35')]:_0x1cd3('0x11aa'),'msg':_0x8ff866['status']?JSON['stringify'](_0x8ff866[_0x1cd3('0x439')]):_0x8ff866['toString']()});});}}var _0x561863=!![];var _0x2f9ce9=0x1;_0x2107a8[_0x1cd3('0x4d6')]('vm.query.filter',function(_0x4edc52,_0x3719b3){if(_0x561863){_0x2e3862(function(){_0x561863=![];});}else{if(!_0x3719b3){_0x2f9ce9=_0x421ce6[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0x4edc52!==_0x3719b3){_0x421ce6[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}if(!_0x4edc52){_0x421ce6['query'][_0x1cd3('0x8fd')]=_0x2f9ce9;}_0x421ce6[_0x1cd3('0x16cb')]();}});function _0x510a7f(_0x14a138){_0x421ce6[_0x1cd3('0x16c8')]=_0x14a138||{'count':0x0,'rows':[]};}function _0x120f9a(){_0x421ce6[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0x421ce6[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0x421ce6[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];if(_0x16a07c[_0x1cd3('0x57')]('admin')){_0x421ce6[_0x1cd3('0x539')]=_0x287d34[_0x1cd3('0xe1a')][_0x1cd3('0x361')](_0x421ce6[_0x1cd3('0x3d4')],_0x510a7f)[_0x1cd3('0x81')];}else{_0x421ce6[_0x1cd3('0x3d4')]['id']=_0x421ce6[_0x1cd3('0x38a')]['id'];_0x421ce6[_0x1cd3('0x3d4')]['section']=_0x1cd3('0x153');_0x421ce6['promise']=_0x287d34[_0x1cd3('0x38a')][_0x1cd3('0xd59')](_0x421ce6[_0x1cd3('0x3d4')],_0x510a7f)['$promise'];}}function _0x5bbe14(_0x4d0418,_0x54710b){_0xe74244['show']({'controller':_0x1cd3('0x1978'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1979'),'parent':angular[_0x1cd3('0x37f')](_0x2f7903['body']),'targetEvent':_0x4d0418,'clickOutsideToClose':!![],'locals':{'faxQueue':_0x54710b,'faxQueues':_0x421ce6[_0x1cd3('0x16c8')]['rows'],'license':_0x421ce6[_0x1cd3('0x463')],'setting':_0x421ce6[_0x1cd3('0xc49')],'crudPermissions':_0x421ce6[_0x1cd3('0xd27')]}});}function _0x349f65(_0x2f62f2){_0x287d34['faxQueue'][_0x1cd3('0xa1c')]({'id':_0x2f62f2['id']})[_0x1cd3('0x81')]['then'](function(){_[_0x1cd3('0x383')](_0x421ce6['faxQueues'][_0x1cd3('0xf6')],{'id':_0x2f62f2['id']});_0x421ce6[_0x1cd3('0x16c8')][_0x1cd3('0x466')]-=0x1;if(!_0x421ce6[_0x1cd3('0x16c8')][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){_0x421ce6['getFaxQueues']();}_0x125cec[_0x1cd3('0x473')]({'title':_[_0x1cd3('0xd50')](_0x1cd3('0x197a'))+_0x1cd3('0xd5c'),'msg':_0x2f62f2[_0x1cd3('0x98')]?_0x2f62f2['name']+_0x1cd3('0xd41'):''});})[_0x1cd3('0xfd')](function(_0x106f28){if(_0x106f28['data']&&_0x106f28['data'][_0x1cd3('0xd34')]&&_0x106f28[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')]){_0x421ce6['errors']=_0x106f28[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x106f28[_0x1cd3('0x43b')](),'type':'SYSTEM:DELETEfaxQueue'}];for(var _0x4cfdba=0x0;_0x4cfdba<_0x106f28[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x4cfdba++){_0x125cec[_0x1cd3('0x434')]({'title':_0x106f28[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x4cfdba][_0x1cd3('0x424')],'msg':_0x106f28['data'][_0x1cd3('0xd34')][_0x4cfdba]['message']});}}else{_0x125cec[_0x1cd3('0x434')]({'title':_0x106f28[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x106f28[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x106f28[_0x1cd3('0xd35')]:_0x1cd3('0x197b'),'msg':_0x106f28[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x106f28[_0x1cd3('0x439')]['message']):_0x106f28['message']||_0x106f28[_0x1cd3('0x43b')]()});}});}function _0x5d1d85(){var _0xf66f53=angular[_0x1cd3('0x429')](_0x421ce6[_0x1cd3('0x196f')]);_0x421ce6[_0x1cd3('0x196f')]=[];return _0xf66f53;}function _0x3cc5c5(_0x258ede){var _0x1d2178=_0xe74244[_0x1cd3('0xd39')]()['title'](_0x1cd3('0x197c'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x421ce6[_0x1cd3('0x196f')][_0x1cd3('0x7a')]+_0x1cd3('0xd61')+_0x1cd3('0xd53'))['ariaLabel'](_0x1cd3('0x197d'))[_0x1cd3('0xd63')](_0x258ede)['ok']('OK')[_0x1cd3('0x4d8')]('CANCEL');_0xe74244[_0x1cd3('0x37e')](_0x1d2178)['then'](function(){_0x421ce6[_0x1cd3('0x196f')][_0x1cd3('0x394')](function(_0x1705e8){_0x349f65(_0x1705e8);});_0x421ce6[_0x1cd3('0x196f')]=[];});}function _0x51eef5(){_0x421ce6[_0x1cd3('0x196f')]=[];}function _0x18954e(){_0x421ce6[_0x1cd3('0x196f')]=_0x421ce6[_0x1cd3('0x16c8')][_0x1cd3('0xf6')];}}}());(function(){'use strict';_0xcff401[_0x1cd3('0xc')]=['$scope',_0x1cd3('0x3e7'),'$mdDialog',_0x1cd3('0x372'),_0x1cd3('0x53e'),_0x1cd3('0x370'),_0x1cd3('0xd18'),_0x1cd3('0x461'),'faxAccounts',_0x1cd3('0x197e'),_0x1cd3('0x38a'),_0x1cd3('0x390'),_0x1cd3('0x56')];angular[_0x1cd3('0x0')](_0x1cd3('0x32'))[_0x1cd3('0x39b')](_0x1cd3('0x197f'),_0xcff401);function _0xcff401(_0x9b559f,_0x48d77f,_0x1bc5d6,_0x1593e9,_0x252b01,_0x4b1c25,_0x42b8ed,_0x174b12,_0x3127ec,_0x341479,_0x21369a,_0xaedc28,_0x2d9808){var _0x5b7873=this;_0x5b7873['currentUser']=_0x2d9808[_0x1cd3('0x5d')]();_0x5b7873[_0x1cd3('0x466')]=_0x3127ec&&_0x3127ec[_0x1cd3('0x466')]?_0x3127ec[_0x1cd3('0x466')]:0x0;_0x5b7873['faxAccounts']=_0x3127ec?_[_0x1cd3('0xe2d')](_0x3127ec['rows']?_0x3127ec[_0x1cd3('0xf6')]:[],'id'):{};_0x5b7873[_0x1cd3('0x197e')]=_0x341479?_[_0x1cd3('0xe2d')](_0x341479[_0x1cd3('0xf6')]?_0x341479[_0x1cd3('0xf6')]:[],'id'):{};_0x5b7873[_0x1cd3('0x38a')]=_0x21369a;_0x5b7873['userProfileSection']=_0xaedc28&&_0xaedc28['count']==0x1?_0xaedc28[_0x1cd3('0xf6')][0x0]:null;_0x5b7873['crudPermissions']=_0x2d9808['parseCrudPermissions'](_0x5b7873[_0x1cd3('0x390')]?_0x5b7873[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);_0x5b7873[_0x1cd3('0x3d4')]={'sort':_0x1cd3('0x1980'),'limit':0xa,'page':0x1};_0x5b7873['success']=_0x7c287c;_0x5b7873[_0x1cd3('0x699')]=_0x3eb3e4;_0x5b7873[_0x1cd3('0x15f4')]=_0x5ddff5;_0x5b7873[_0x1cd3('0x13b6')]=_0x6a3c02;_0x5b7873['onFaxMessageSave']=_0x5068f2;_0x5b7873[_0x1cd3('0x1981')]=_0x1132be;_0x5b7873['order']=[];_['forIn'](_0x5b7873['faxAccounts'],function(_0x4d7ea5,_0xed98fe){_0x5b7873['order'][_0x1cd3('0x7b')](_0x4d7ea5['id']);});_0x42b8ed['on'](_0x1cd3('0x1982'),_0x5b7873[_0x1cd3('0x13b6')]);_0x42b8ed['on'](_0x1cd3('0x1983'),_0x5b7873[_0x1cd3('0x13b6')]);_0x42b8ed['on'](_0x1cd3('0x173d'),_0x5b7873[_0x1cd3('0x1984')]);function _0x3eb3e4(){_[_0x1cd3('0x13e5')](_0x5b7873[_0x1cd3('0x15fa')],function(_0x310d90,_0x32a728){if(_0x5b7873[_0x1cd3('0x197e')][_0x32a728]){_[_0x1cd3('0xf2')](_0x310d90,_0x5b7873[_0x1cd3('0x197e')][_0x32a728]);}});_[_0x1cd3('0x13e5')](_0x5b7873[_0x1cd3('0x15fa')],function(_0x2c4458,_0xaf33b9){var _0x587f80={'id':_0xaf33b9,'sort':_0x1cd3('0x1479'),'direction':'in','limit':0x1,'offset':0x0,'$gte':_0x1cd3('0x1985')+moment()['startOf'](_0x1cd3('0x138'))[_0x1cd3('0x130')](_0x1cd3('0x377'))};_0x4b1c25['faxAccount']['getMessages'](_0x587f80)[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x5d150d){if(_0x5d150d){_0x2c4458['in']=_0x5d150d[_0x1cd3('0x466')]||0x0;_0x2c4458[_0x1cd3('0x1986')]=_0x5d150d[_0x1cd3('0xf6')]&&_0x5d150d[_0x1cd3('0xf6')][_0x1cd3('0x7a')]?_0x5d150d[_0x1cd3('0xf6')][0x0][_0x1cd3('0xe0d')]:undefined;}_0x587f80[_0x1cd3('0x5e0')]=_0x1cd3('0x180e');return _0x4b1c25['faxAccount'][_0x1cd3('0x17eb')](_0x587f80)[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x45d814){if(_0x45d814){_0x2c4458[_0x1cd3('0x180e')]=_0x45d814['count']||0x0;_0x2c4458[_0x1cd3('0x1987')]=_0x45d814[_0x1cd3('0xf6')]&&_0x45d814['rows'][_0x1cd3('0x7a')]?_0x45d814[_0x1cd3('0xf6')][0x0]['createdAt']:undefined;}})[_0x1cd3('0xfd')](function(_0xacb745){console[_0x1cd3('0x7d')](_0xacb745);});});}function _0x6a3c02(_0x423311){if(_0x5b7873['faxAccounts'][_0x423311['id']]){_[_0x1cd3('0xf2')](_0x5b7873[_0x1cd3('0x15fa')][_0x423311['id']],_0x423311);}}function _0x5068f2(_0x4e26e3){if(_0x5b7873[_0x1cd3('0x15fa')][_0x4e26e3[_0x1cd3('0x148f')]]){if(_0x4e26e3['direction']=='in'){_0x5b7873[_0x1cd3('0x15fa')][_0x4e26e3[_0x1cd3('0x148f')]]['in']+=0x1;_0x5b7873['faxAccounts'][_0x4e26e3['FaxAccountId']][_0x1cd3('0x1986')]=_0x4e26e3[_0x1cd3('0xe0d')];}else{_0x5b7873['faxAccounts'][_0x4e26e3['FaxAccountId']]['out']+=0x1;_0x5b7873[_0x1cd3('0x15fa')][_0x4e26e3['FaxAccountId']][_0x1cd3('0x1987')]=_0x4e26e3[_0x1cd3('0xe0d')];}}}function _0x1132be(_0x15f73e,_0x3f5020){_0x252b01['go'](_0x1cd3('0x15d'),{'id':_0x3f5020['id'],'faxAccount':_0x3f5020});}var _0x3b576d=!![];var _0x3c4bb9=0x1;_0x9b559f[_0x1cd3('0x4d6')]('vm.query.filter',function(_0x22e579,_0x24c510){if(_0x3b576d){_0x48d77f(function(){_0x3b576d=![];});}else{if(!_0x24c510){_0x3c4bb9=_0x5b7873[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0x22e579!==_0x24c510){_0x5b7873['query'][_0x1cd3('0x8fd')]=0x1;}if(!_0x22e579){_0x5b7873[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0x3c4bb9;}_0x5b7873[_0x1cd3('0x15f4')]();}});function _0x7c287c(_0x15368c){_0x5b7873[_0x1cd3('0x15fa')]=_0x15368c?_[_0x1cd3('0xe2d')](_0x15368c['rows']?_0x15368c[_0x1cd3('0xf6')]:[],'id'):{};if(_0x15368c['rows']){_0x5b7873[_0x1cd3('0x13ad')]=[];for(var _0x13308e=0x0;_0x13308e<_0x15368c[_0x1cd3('0xf6')][_0x1cd3('0x7a')];_0x13308e++){_0x5b7873[_0x1cd3('0x13ad')][_0x1cd3('0x7b')](_0x15368c['rows'][_0x13308e]['id']);}}_0x3eb3e4();}function _0x5ddff5(){_0x5b7873[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0x5b7873[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0x5b7873[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];if(_0x2d9808[_0x1cd3('0x57')](_0x1cd3('0x5f'))){_0x5b7873[_0x1cd3('0x539')]=_0x4b1c25[_0x1cd3('0xaa4')][_0x1cd3('0x361')](_0x5b7873[_0x1cd3('0x3d4')],_0x7c287c)[_0x1cd3('0x81')];}else{_0x5b7873[_0x1cd3('0x3d4')]['id']=_0x5b7873['userProfile']['id'];_0x5b7873['query'][_0x1cd3('0xd58')]=_0x1cd3('0x15c');_0x5b7873[_0x1cd3('0x539')]=_0x4b1c25['userProfile'][_0x1cd3('0xd59')](_0x5b7873[_0x1cd3('0x3d4')],_0x7c287c)[_0x1cd3('0x81')];}}_0x9b559f[_0x1cd3('0x4d3')](_0x1cd3('0x523'),function(){_0x42b8ed[_0x1cd3('0x6a3')](_0x1cd3('0x1982'));_0x42b8ed[_0x1cd3('0x6a3')]('faxAccount:update');_0x42b8ed[_0x1cd3('0x6a3')](_0x1cd3('0x173d'));});}}());(function(){'use strict';_0x300d1b[_0x1cd3('0xc')]=[_0x1cd3('0x460'),'$q',_0x1cd3('0x3e7'),_0x1cd3('0x3c5'),_0x1cd3('0x372'),_0x1cd3('0x6c3'),_0x1cd3('0x1381'),_0x1cd3('0x1228'),'rpcAgents',_0x1cd3('0x370'),_0x1cd3('0xd18'),'toasty','helperClasses','userProfile',_0x1cd3('0x390'),'Auth','license','$interval'];angular[_0x1cd3('0x0')]('app.voice')[_0x1cd3('0x39b')](_0x1cd3('0x1988'),_0x300d1b);function _0x300d1b(_0x3309eb,_0x2199d6,_0x30b0c2,_0x2e91ef,_0x566f05,_0x599832,_0x292bf5,_0x475b38,_0x4e3a0f,_0xe13d28,_0x4cc4e1,_0x438f54,_0x154dd7,_0x31df53,_0x501776,_0x4ac55b,_0x3e53c1,_0x40506f){var _0x164786=this;var _0x4ad4a0=[_0x1cd3('0x1386'),_0x1cd3('0x1387'),'lastLoginAt',_0x1cd3('0x1389'),'pauseType',_0x1cd3('0x1389'),_0x1cd3('0x311'),_0x1cd3('0x138a'),_0x1cd3('0x138b'),_0x1cd3('0x138c'),'mailPause','smsPause',_0x1cd3('0x138e'),_0x1cd3('0x138f'),_0x1cd3('0x604'),_0x1cd3('0x1390'),_0x1cd3('0x1391'),_0x1cd3('0x1392'),_0x1cd3('0x1393'),_0x1cd3('0x1989'),'faxCapacity',_0x1cd3('0x198a'),_0x1cd3('0x1395'),_0x1cd3('0x1396'),_0x1cd3('0x198b'),_0x1cd3('0x1397'),_0x1cd3('0x1398'),_0x1cd3('0x1399'),_0x1cd3('0x139a'),'mailStatus',_0x1cd3('0x198c'),_0x1cd3('0x139c'),_0x1cd3('0x139d'),_0x1cd3('0x139e'),'chatStatusTime','openchannelStatusTime',_0x1cd3('0x13a1'),_0x1cd3('0x13a2'),'whatsappStatusTime','faxStatusTime','voiceStatusTime',_0x1cd3('0x1220'),_0x1cd3('0x13a4'),_0x1cd3('0x13a5'),_0x1cd3('0x13a6'),_0x1cd3('0x13a7')];var _0x43f8a0=[_0x1cd3('0x138b'),_0x1cd3('0x138c'),_0x1cd3('0x1590'),_0x1cd3('0x138d'),'whatsappPause','faxPause',_0x1cd3('0x604'),_0x1cd3('0x1387')];_0x164786[_0x1cd3('0x3ca')]=_0x4ac55b['getCurrentUser']();_0x164786[_0x1cd3('0x198d')]=['ringing',_0x1cd3('0x13a8'),'busy',_0x1cd3('0x13aa'),_0x1cd3('0x13ab')];_0x164786['pauses']=_0x292bf5||{'count':0x0,'rows':[]};_0x164786[_0x1cd3('0x463')]=_0x3e53c1;_0x164786['userProfile']=_0x31df53;_0x164786[_0x1cd3('0x390')]=_0x501776&&_0x501776['count']==0x1?_0x501776[_0x1cd3('0xf6')][0x0]:null;_0x164786[_0x1cd3('0xd27')]=_0x4ac55b[_0x1cd3('0xd44')](_0x164786[_0x1cd3('0x390')]?_0x164786[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);_0x164786[_0x1cd3('0x1228')]=_0x475b38?_[_0x1cd3('0xe2d')](_0x475b38[_0x1cd3('0xf6')]?_0x475b38[_0x1cd3('0xf6')]:[],'id'):{};_0x164786['rpcAgents']=_0x4e3a0f?_[_0x1cd3('0xe2d')](_0x4e3a0f[_0x1cd3('0xf6')]?_0x4e3a0f['rows']:[],'id'):{};_0x164786[_0x1cd3('0x13ac')]={};_0x164786[_0x1cd3('0x5de')]=![];_0x164786['order']=[];_0x164786['agentInternal']={};for(var _0x23e1ed in _0x164786['agents']){if(_0x164786[_0x1cd3('0x1228')]['hasOwnProperty'](_0x23e1ed)){_0x164786['agents'][_0x23e1ed][_0x1cd3('0xe08')]=!![];}}_0x164786['query']={'limit':0xa,'page':0x1,'order':_0x1cd3('0xd3'),'globalStatusFilter':'','pauseTypeFilter':''};_0x164786['logout']=_0x1829bd;_0x164786[_0x1cd3('0x13af')]=_0x5ef99b;_0x164786[_0x1cd3('0x63e')]=_0xde9d24;_0x164786[_0x1cd3('0x13b0')]=_0x2c2ffe;_0x164786[_0x1cd3('0x198e')]=_0x1dae01;_0x164786['getAgentStatus']=_0x437a64;_0x164786['getAgentGlobalStatus']=_0x27f495;_0x164786[_0x1cd3('0x13b3')]=_0x8506d5;_0x164786['checkPause']=_0x14594f;_0x164786[_0x1cd3('0x13b5')]=_0x2ff3fd;_0x164786[_0x1cd3('0x13b6')]=_0x588430;_0x164786[_0x1cd3('0x13bb')]=_0xec9c4b;_0x164786[_0x1cd3('0x703')]=_0xeb6242;_0x164786[_0x1cd3('0x13bd')]=_0x16c809;_0x164786[_0x1cd3('0x13b7')]=_0x9cdca2;_0x164786[_0x1cd3('0x13b8')]=_0x4b24ea;_0x4cc4e1['on']('user:save',_0x164786[_0x1cd3('0x13b6')]);_0x4cc4e1['on']('user:update',_0x164786[_0x1cd3('0x13bb')]);_0x4cc4e1['on'](_0x1cd3('0x13bc'),_0x164786[_0x1cd3('0x13bd')]);_0x4cc4e1['on']('user:agentcomplete',_0x164786['onComplete']);_0xeb6242();var _0x27c834=_0x40506f(function(){if(_0x164786[_0x1cd3('0x5de')]){_0x164786['load']=![];_0xeb6242();}},0x3e7);function _0xeb6242(_0x5d5c5b){_0x164786['load']=![];var _0x2d22c7=_0x2199d6[_0x1cd3('0x53a')]();_0x164786[_0x1cd3('0x539')]=_0x2d22c7[_0x1cd3('0x539')];_0x164786[_0x1cd3('0x13bf')]=[];_0x164786[_0x1cd3('0x13ad')]=[];_['forIn'](_0x164786[_0x1cd3('0x1228')],function(_0x507268,_0x34cb94){if(_0x164786[_0x1cd3('0x1385')][_0x34cb94]){_[_0x1cd3('0xf2')](_0x507268,_['pick'](_[_0x1cd3('0x3e3')](_0x164786[_0x1cd3('0x1385')][_0x34cb94],_0x43f8a0),_0x4ad4a0));}_0x27f495(_0x507268);if(_0x507268[_0x1cd3('0x1387')]){_0x164786[_0x1cd3('0x13bf')][_0x1cd3('0x7b')](_0x507268);_0x164786[_0x1cd3('0x13ae')][_0x507268[_0x1cd3('0x311')]]=_0x34cb94;}else{_0x507268['globalStatusTime']=_[_0x1cd3('0x13c1')](moment()[_0x1cd3('0x130')]('x'));}});if(_0x164786['query']['globalStatusFilter']){_['remove'](_0x164786[_0x1cd3('0x13bf')],function(_0x4ded6a){return _0x4ded6a['globalStatus']!==_0x164786['query'][_0x1cd3('0x13c3')];});}if(_0x164786['query'][_0x1cd3('0x13c4')]){_[_0x1cd3('0x383')](_0x164786[_0x1cd3('0x13bf')],function(_0xb5bcbe){return _0xb5bcbe[_0x1cd3('0x13c5')]!==_0x164786[_0x1cd3('0x3d4')][_0x1cd3('0x13c4')];});}if(_0x164786['query']['filter']){_[_0x1cd3('0x383')](_0x164786['filteredAgents'],function(_0x54bd77){return _0x54bd77['fullname'][_0x1cd3('0x433')]()[_0x1cd3('0x45e')](_0x164786[_0x1cd3('0x3d4')][_0x1cd3('0x395')][_0x1cd3('0x433')]())<0x0;});}_0x164786[_0x1cd3('0x13bf')]=_0x7201fe(_0x164786[_0x1cd3('0x13bf')]);var _0x5952ff=(_0x164786[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0x164786[_0x1cd3('0x3d4')]['limit'];_0x164786[_0x1cd3('0x13ac')]=_[_0x1cd3('0x16c2')](_0x164786['filteredAgents'],_0x5952ff)['slice'](0x0,_0x164786[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')]);for(var _0x5ac80d=0x0;_0x5ac80d<_0x164786[_0x1cd3('0x13ac')][_0x1cd3('0x7a')];_0x5ac80d+=0x1){_0x164786[_0x1cd3('0x13ad')][_0x1cd3('0x7b')](_0x164786[_0x1cd3('0x13ac')][_0x5ac80d]['id']);}_0x2d22c7[_0x1cd3('0x58')]();_0x164786[_0x1cd3('0x5de')]=!![];}function _0x588430(_0x8c9d44){if(_0x164786['agents'][_0x8c9d44['id']]){_['merge'](_0x164786[_0x1cd3('0x1228')][_0x8c9d44['id']],_[_0x1cd3('0x5e8')](_[_0x1cd3('0x3e3')](_0x8c9d44,_0x43f8a0),_0x4ad4a0));_[_0x1cd3('0xf2')](_0x164786[_0x1cd3('0x1385')][_0x8c9d44['id']],_[_0x1cd3('0x5e8')](_['omit'](_0x8c9d44,_0x43f8a0),_0x4ad4a0));_0x27f495(_0x164786[_0x1cd3('0x1228')][_0x8c9d44['id']]);}}function _0xec9c4b(_0x25d186){if(_0x164786[_0x1cd3('0x1228')][_0x25d186['id']]){_[_0x1cd3('0xf2')](_0x164786[_0x1cd3('0x1228')][_0x25d186['id']],_[_0x1cd3('0x5e8')](_0x25d186,_0x4ad4a0));_[_0x1cd3('0xf2')](_0x164786[_0x1cd3('0x1385')][_0x25d186['id']],_[_0x1cd3('0x5e8')](_0x25d186,_0x4ad4a0));if(_0x25d186[_0x1cd3('0x1389')]){_0x164786[_0x1cd3('0x1228')][_0x25d186['id']][_0x1cd3('0x13c0')]=_0x25d186[_0x1cd3('0x1389')];_0x164786[_0x1cd3('0x1385')][_0x25d186['id']][_0x1cd3('0x13c0')]=_0x25d186[_0x1cd3('0x1389')];}_0x27f495(_0x164786['agents'][_0x25d186['id']]);}}function _0x16c809(_0x43ad1a){if(_0x164786['agents'][_0x164786[_0x1cd3('0x13ae')][_0x43ad1a[_0x1cd3('0x13c6')]]]){_[_0x1cd3('0xf2')](_0x164786[_0x1cd3('0x1228')][_0x164786[_0x1cd3('0x13ae')][_0x43ad1a['destaccountcode']]],_[_0x1cd3('0x5e8')](_0x43ad1a,[_0x1cd3('0x1220'),'destconnectedlinenum']));_[_0x1cd3('0xf2')](_0x164786[_0x1cd3('0x1385')][_0x164786[_0x1cd3('0x13ae')][_0x43ad1a[_0x1cd3('0x13c6')]]],_[_0x1cd3('0x5e8')](_0x43ad1a,[_0x1cd3('0x1220'),_0x1cd3('0x13a4')]));}}function _0x9cdca2(_0x71c0f0){if(_0x164786[_0x1cd3('0x1228')][_0x164786['agentInternal'][_0x71c0f0[_0x1cd3('0x13c6')]]]){_0x164786[_0x1cd3('0x1228')][_0x164786['agentInternal'][_0x71c0f0['destaccountcode']]]=_['omit'](_0x164786['agents'][_0x164786[_0x1cd3('0x13ae')][_0x71c0f0['destaccountcode']]],[_0x1cd3('0x1220'),_0x1cd3('0x13a4')]);_0x164786[_0x1cd3('0x1385')][_0x164786[_0x1cd3('0x13ae')][_0x71c0f0[_0x1cd3('0x13c6')]]]=_[_0x1cd3('0x3e3')](_0x164786[_0x1cd3('0x1385')][_0x164786[_0x1cd3('0x13ae')][_0x71c0f0[_0x1cd3('0x13c6')]]],[_0x1cd3('0x1220'),_0x1cd3('0x13a4')]);}}function _0x1829bd(_0x352bd7,_0x108587){return _0xe13d28['user'][_0x1cd3('0x376')]({'id':_0x352bd7['id'],'device':_0x1cd3('0x11b9'),'agent_id':_0x352bd7['id'],'agent_name':_0x352bd7[_0x1cd3('0x98')]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x438f54[_0x1cd3('0x473')]({'title':_0x1cd3('0x13c7'),'msg':_0x352bd7[_0x1cd3('0xd3')]+'\x20\x20properly\x20logout'});if(_0x164786['agents'][_0x352bd7['id']]){_0x164786[_0x1cd3('0x1228')][_0x352bd7['id']][_0x1cd3('0x1387')]=![];}if(_0x164786[_0x1cd3('0x1385')][_0x352bd7['id']]){_0x164786[_0x1cd3('0x1385')][_0x352bd7['id']][_0x1cd3('0x1387')]=![];}_0xeb6242();})[_0x1cd3('0xfd')](function(_0x1a8bec){_0x438f54[_0x1cd3('0x434')]({'title':_0x1a8bec[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x1a8bec[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x1a8bec[_0x1cd3('0xd35')]:'api.staff.save','msg':_0x1a8bec['data']?JSON[_0x1cd3('0x438')](_0x1a8bec['data'][_0x1cd3('0x43a')]):_0x1a8bec[_0x1cd3('0x43b')]()});});}function _0xde9d24(_0x595769,_0x876e1){return _0xe13d28[_0x1cd3('0x368')][_0x1cd3('0x63e')]({'id':_0x595769['id'],'type':_0x876e1})[_0x1cd3('0x81')]['then'](function(_0x2d05fc){if(_0x164786['agents'][_0x595769['id']]){_[_0x1cd3('0xf2')](_0x164786[_0x1cd3('0x1228')][_0x595769['id']],_[_0x1cd3('0x5e8')](_0x2d05fc,_0x4ad4a0));}if(_0x164786[_0x1cd3('0x1385')][_0x595769['id']]){_[_0x1cd3('0xf2')](_0x164786[_0x1cd3('0x1385')][_0x595769['id']],_[_0x1cd3('0x5e8')](_0x2d05fc,_0x4ad4a0));}_0x27f495(_0x164786[_0x1cd3('0x1228')][_0x595769['id']]);})[_0x1cd3('0xfd')](function(_0x354c3e){_0x438f54[_0x1cd3('0x434')]({'title':_0x354c3e[_0x1cd3('0x3a6')]?'API:'+_0x354c3e[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x354c3e[_0x1cd3('0xd35')]:'api.staff.save','msg':_0x354c3e[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x354c3e[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x354c3e[_0x1cd3('0x43b')]()});});}function _0x2c2ffe(_0xf5757e){return _0xe13d28[_0x1cd3('0x368')][_0x1cd3('0x13ed')]({'id':_0xf5757e['id']})['$promise'][_0x1cd3('0x77')](function(_0x23a10d){if(_0x164786[_0x1cd3('0x1228')][_0xf5757e['id']]){_['merge'](_0x164786['agents'][_0xf5757e['id']],_['pick'](_0x23a10d,_0x4ad4a0));}if(_0x164786[_0x1cd3('0x1385')][_0xf5757e['id']]){_[_0x1cd3('0xf2')](_0x164786['rpcAgents'][_0xf5757e['id']],_[_0x1cd3('0x5e8')](_0x23a10d,_0x4ad4a0));}_0x27f495(_0x164786['agents'][_0xf5757e['id']]);})[_0x1cd3('0xfd')](function(_0x290a37){_0x438f54[_0x1cd3('0x434')]({'title':_0x290a37[_0x1cd3('0x3a6')]?'API:'+_0x290a37[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x290a37[_0x1cd3('0xd35')]:_0x1cd3('0x13c9'),'msg':_0x290a37[_0x1cd3('0x439')]?JSON['stringify'](_0x290a37['data'][_0x1cd3('0x43a')]):_0x290a37[_0x1cd3('0x43b')]()});});}function _0x1dae01(_0x204748){_0x2e91ef[_0x1cd3('0x37e')](_0x2e91ef['alert']()[_0x1cd3('0x13ca')](!![])[_0x1cd3('0x486')](_0x1cd3('0x13cb'))[_0x1cd3('0xd60')]('<div>TODO\x20legend\x20status\x20+\x20state</div>')['ok']('Ok')[_0x1cd3('0xd63')](_0x204748));}function _0x5ef99b(_0x166c5e,_0xc0858){_0x2e91ef['show']({'controller':_0x1cd3('0x198f'),'controllerAs':'vm','templateUrl':_0x1cd3('0x13cc'),'parent':angular[_0x1cd3('0x37f')](_0x566f05[_0x1cd3('0x380')]),'targetEvent':_0xc0858,'clickOutsideToClose':!![],'locals':{'agent':_0x166c5e,'agents':[],'channel':_0x1cd3('0x154'),'direction':_0x1cd3('0xa4'),'crudPermissions':_0x164786[_0x1cd3('0xd27')]}});}function _0x8506d5(_0x29e512){return _0x29e512===_0x1cd3('0x63e')||_0x29e512===_0x1cd3('0x13cd');}function _0x14594f(_0x139961){return _0x139961===_0x1cd3('0x63e');}function _0x2ff3fd(_0x3a8b27){return _0x3a8b27===_0x1cd3('0x13cd');}function _0x2d3791(_0x3759f0){return _0x3759f0===_0x1cd3('0x13cf')||_0x3759f0===_0x1cd3('0x1990')||_0x3759f0==='unavailable'||_0x3759f0==='ringing'||_['isNil'](_0x3759f0);}function _0x437a64(_0x41097f,_0x1fcfd7){if(_0x1fcfd7===_0x1cd3('0x121')){if(_0x41097f[_0x1fcfd7+_0x1cd3('0x131b')]!=='idle'){return _0x41097f[_0x1fcfd7+_0x1cd3('0x131b')];}if(_0x41097f[_0x1fcfd7+'Pause']){_0x41097f[_0x1fcfd7+_0x1cd3('0x131b')]=_0x1cd3('0x63e');return _0x1cd3('0x63e');}return _0x1cd3('0x13cf');}else{if(_0x41097f[_0x1fcfd7+_0x1cd3('0x13d0')]){_0x41097f[_0x1fcfd7+_0x1cd3('0x131b')]=_0x1cd3('0x63e');return _0x1cd3('0x63e');}return _0x41097f[_0x1fcfd7+_0x1cd3('0x131b')];}}function _0x27f495(_0x49f2f5){var _0x25501f=_0x1cd3('0x1990');if(_[_0x1cd3('0x920')]([_0x437a64(_0x49f2f5,_0x1cd3('0x121')),_0x437a64(_0x49f2f5,'chat'),_0x437a64(_0x49f2f5,_0x1cd3('0x1d2')),_0x437a64(_0x49f2f5,'openchannel'),_0x437a64(_0x49f2f5,_0x1cd3('0x26b')),_0x437a64(_0x49f2f5,_0x1cd3('0x34a')),_0x437a64(_0x49f2f5,_0x1cd3('0x154'))],_0x8506d5)){_0x25501f='pause';}else if(_[_0x1cd3('0x38d')]([_0x437a64(_0x49f2f5,_0x1cd3('0x121')),_0x437a64(_0x49f2f5,'chat'),_0x437a64(_0x49f2f5,'mail'),_0x437a64(_0x49f2f5,_0x1cd3('0x22e')),_0x437a64(_0x49f2f5,_0x1cd3('0x26b')),_0x437a64(_0x49f2f5,'whatsapp'),_0x437a64(_0x49f2f5,_0x1cd3('0x154'))],_0x8506d5)){_0x25501f=_0x1cd3('0x13cd');}else if(_[_0x1cd3('0x920')]([_0x437a64(_0x49f2f5,_0x1cd3('0x121')),_0x437a64(_0x49f2f5,_0x1cd3('0xbf')),_0x437a64(_0x49f2f5,'mail'),_0x437a64(_0x49f2f5,_0x1cd3('0x22e')),_0x437a64(_0x49f2f5,_0x1cd3('0x26b')),_0x437a64(_0x49f2f5,'whatsapp'),_0x437a64(_0x49f2f5,_0x1cd3('0x154'))],_0x2d3791)){_0x25501f=_0x1cd3('0x13cf');}else{_0x25501f=_0x1cd3('0x13a9');}if(_0x49f2f5[_0x1cd3('0x13c2')]!==_0x25501f){_0x49f2f5['globalStatus']=_0x25501f;if(_0x49f2f5[_0x1cd3('0xe08')]){_0x49f2f5[_0x1cd3('0xe08')]=![];_0x49f2f5['globalStatusTime']=_0x8506d5(_0x25501f)?_['toNumber'](moment(_0x49f2f5[_0x1cd3('0x1389')])[_0x1cd3('0x130')]('x')):_[_0x1cd3('0x13d1')]([_0x49f2f5[_0x1cd3('0x13a3')],_0x49f2f5[_0x1cd3('0x139f')],_0x49f2f5[_0x1cd3('0x13a1')],_0x49f2f5[_0x1cd3('0x13a2')],_0x49f2f5[_0x1cd3('0x13d2')],_0x49f2f5['openchannelStatusTime'],_0x49f2f5[_0x1cd3('0x13d3')]]);}else{_0x49f2f5['globalStatusTime']=_['toNumber'](moment()[_0x1cd3('0x130')]('x'));}}}function _0x7201fe(_0x32165e){var _0x2032e1=_[_0x1cd3('0x13d4')](_0x164786[_0x1cd3('0x3d4')][_0x1cd3('0x13ad')],'-')?_0x1cd3('0x13d5'):'asc';return _[_0x1cd3('0xe31')](_0x32165e,[_0x164786[_0x1cd3('0x3d4')][_0x1cd3('0x13ad')][_0x1cd3('0x3f1')]('-','')],[_0x2032e1]);}function _0x1087f1(){if(_0x27c834){_0x40506f[_0x1cd3('0x4d8')](_0x27c834);_0x27c834=null;}}function _0x4b24ea(_0x3cf393,_0x3f6ece){return _0xe13d28[_0x1cd3('0x368')][_0x1cd3('0x378')]({'id':_0x3cf393['id']},{'screenrecording':_0x3f6ece})[_0x1cd3('0x81')]['catch'](function(_0x5d0879){_0x438f54[_0x1cd3('0x434')]({'title':_0x5d0879[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x5d0879[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x5d0879['statusText']:_0x1cd3('0x13d7'),'msg':_0x5d0879[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x5d0879[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x5d0879[_0x1cd3('0x43b')]()});});}_0x3309eb[_0x1cd3('0x4d3')](_0x1cd3('0x523'),function(){_0x4cc4e1['removeAllListeners'](_0x1cd3('0x13b9'));_0x4cc4e1[_0x1cd3('0x6a3')](_0x1cd3('0x13ba'));_0x4cc4e1[_0x1cd3('0x6a3')]('user:agentconnect');_0x4cc4e1[_0x1cd3('0x6a3')]('user:agentcomplete');_0x1087f1();});}}());(function(){'use strict';_0x1fe005[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x3e7'),_0x1cd3('0x3c5'),'$q',_0x1cd3('0x372'),'$interval',_0x1cd3('0x1155'),_0x1cd3('0x13d8'),_0x1cd3('0x370'),_0x1cd3('0xd18'),_0x1cd3('0x461'),_0x1cd3('0x38a'),_0x1cd3('0x390'),_0x1cd3('0x56')];angular['module']('app.fax')[_0x1cd3('0x39b')](_0x1cd3('0x1991'),_0x1fe005);function _0x1fe005(_0x23a52c,_0x289a09,_0x4136cf,_0x264c48,_0x20deda,_0x573df7,_0x431975,_0x1d404a,_0x355b49,_0xcda01b,_0x1a0323,_0x480f4c,_0x23647a,_0x2b66ba){var _0x4d4a90=this;var _0x3da497=['loggedIn',_0x1cd3('0x13da'),_0x1cd3('0x10d'),'talking',_0x1cd3('0x13db'),_0x1cd3('0x13dc'),_0x1cd3('0x43a'),_0x1cd3('0x1693'),'dialMethod',_0x1cd3('0x13de'),'paused'];_0x4d4a90[_0x1cd3('0x3ca')]=_0x2b66ba['getCurrentUser']();_0x4d4a90[_0x1cd3('0x466')]=_0x431975[_0x1cd3('0x466')]?_0x431975[_0x1cd3('0x466')]:0x0;_0x4d4a90[_0x1cd3('0x1155')]=_0x431975?_['keyBy'](_0x431975[_0x1cd3('0xf6')]?_0x431975[_0x1cd3('0xf6')]:[],'id'):{};_0x4d4a90[_0x1cd3('0x13d8')]=_0x1d404a?_['keyBy'](_0x1d404a['rows']?_0x1d404a[_0x1cd3('0xf6')]:[],'id'):{};_0x4d4a90[_0x1cd3('0x38a')]=_0x480f4c;_0x4d4a90['userProfileSection']=_0x23647a&&_0x23647a[_0x1cd3('0x466')]==0x1?_0x23647a['rows'][0x0]:null;_0x4d4a90[_0x1cd3('0xd27')]=_0x2b66ba['parseCrudPermissions'](_0x4d4a90['userProfileSection']?_0x4d4a90[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);if(_0x2b66ba[_0x1cd3('0x57')](_0x1cd3('0x5f'))){_0x4d4a90['query']={'type':_0x1cd3('0xa4'),'sort':'-updatedAt','limit':0xa,'page':0x1};}else{_0x4d4a90['query']={'id':_0x4d4a90[_0x1cd3('0x3ca')]['id'],'channel':_0x1cd3('0x154'),'type':'inbound','sort':'-updatedAt','limit':0xa,'page':0x1};}_0x4d4a90[_0x1cd3('0x473')]=_0x3fab29;_0x4d4a90[_0x1cd3('0x13df')]=_0xc7f326;_0x4d4a90[_0x1cd3('0x1972')]=_0xdfad52;_0x4d4a90[_0x1cd3('0x1992')]=_0x551236;_0x4d4a90[_0x1cd3('0x13e0')]=_0x19fbd8;_0x4d4a90['onSave']=_0x379c0a;_0x4d4a90[_0x1cd3('0x13e1')]=_0x4529ca;_0x4d4a90[_0x1cd3('0x13e2')]=_0x1f2995;_0x4d4a90[_0x1cd3('0x13e3')]=_0x308374;_0x4d4a90['onLogin']=_0x3bfbf9;_0x4d4a90[_0x1cd3('0x13e4')]=_0x59f452;_0x4d4a90['$onInit']=_0x2e8c8b;_0x4d4a90[_0x1cd3('0x13ad')]=[];_[_0x1cd3('0x13e5')](_0x4d4a90[_0x1cd3('0x1155')],function(_0xe61e63,_0x597fdb){_0x4d4a90[_0x1cd3('0x13ad')]['push'](_0xe61e63['id']);});_0xcda01b['on'](_0x1cd3('0x16cf'),_0x4d4a90[_0x1cd3('0x13b6')]);_0xcda01b['on'](_0x1cd3('0x16d4'),_0x4d4a90[_0x1cd3('0x13e1')]);_0xcda01b['on'](_0x1cd3('0x16d5'),_0x4d4a90[_0x1cd3('0x13e2')]);_0xcda01b['on']('user:update',_0x4d4a90[_0x1cd3('0x13e3')]);_0xcda01b['on']('userVoiceQueue:remove',_0x4d4a90[_0x1cd3('0x13e4')]);_0xcda01b['on']('userVoiceQueue:save',_0x4d4a90[_0x1cd3('0x13e9')]);function _0x2e8c8b(){var _0x34a9de=[];_[_0x1cd3('0x13e5')](_0x4d4a90[_0x1cd3('0x1155')],function(_0x13469c,_0x423356){_0x13469c[_0x1cd3('0x13ea')]=0x0;_0x13469c[_0x1cd3('0x13eb')]=0x0;_0x4d4a90[_0x1cd3('0x1155')][_0x423356][_0x1cd3('0x1228')]={};_0x34a9de[_0x1cd3('0x7b')](_0x355b49[_0x1cd3('0xe1a')][_0x1cd3('0x13ec')]({'id':_0x423356})[_0x1cd3('0x81')]);if(_0x4d4a90[_0x1cd3('0x13d8')][_0x423356]){_[_0x1cd3('0xf2')](_0x13469c,_[_0x1cd3('0x5e8')](_0x4d4a90['rpcQueues'][_0x423356],_0x3da497));}});return _0x264c48[_0x1cd3('0x7e')](_0x34a9de)[_0x1cd3('0x77')](function(_0x52924d){for(var _0x17e84b=0x0;_0x17e84b<_0x52924d[_0x1cd3('0x7a')];_0x17e84b+=0x1){for(var _0x59f9a9=0x0;_0x59f9a9<_0x52924d[_0x17e84b]['rows'][_0x1cd3('0x7a')];_0x59f9a9++){if(_0x52924d[_0x17e84b]['rows'][_0x59f9a9][_0x1cd3('0x13ea')]){_0x4d4a90[_0x1cd3('0x1155')][_0x52924d[_0x17e84b][_0x1cd3('0xf6')][_0x59f9a9]['FaxQueueId']][_0x1cd3('0x13ea')]++;}_0x4d4a90[_0x1cd3('0x1155')][_0x52924d[_0x17e84b][_0x1cd3('0xf6')][_0x59f9a9][_0x1cd3('0x18f8')]]['loggedInDb']++;_0x4d4a90[_0x1cd3('0x1155')][_0x52924d[_0x17e84b][_0x1cd3('0xf6')][_0x59f9a9][_0x1cd3('0x18f8')]][_0x1cd3('0x1228')][_0x52924d[_0x17e84b][_0x1cd3('0xf6')][_0x59f9a9][_0x1cd3('0x1226')]]=_0x52924d[_0x17e84b][_0x1cd3('0xf6')][_0x59f9a9]['FaxQueueId'];}}})[_0x1cd3('0xfd')](function(_0x5bdcf3){console[_0x1cd3('0x434')](_0x5bdcf3);});}function _0x379c0a(_0x8c7503){if(_0x4d4a90['queues'][_0x8c7503['id']]){_[_0x1cd3('0xf2')](_0x4d4a90[_0x1cd3('0x1155')][_0x8c7503['id']],_[_0x1cd3('0x5e8')](_0x8c7503,_0x3da497));}}function _0x4529ca(_0x4f2b99){if(_0x4d4a90[_0x1cd3('0x1155')][_0x4f2b99[_0x1cd3('0x18f8')]]){_0x4d4a90[_0x1cd3('0x1155')][_0x4f2b99[_0x1cd3('0x18f8')]]['loggedInDb']++;}}function _0x1f2995(_0x446493){if(_0x4d4a90[_0x1cd3('0x1155')][_0x446493[_0x1cd3('0x18f8')]]){_0x4d4a90[_0x1cd3('0x1155')][_0x446493['FaxQueueId']][_0x1cd3('0x13eb')]--;}}function _0x308374(_0x40e2cc){console[_0x1cd3('0x7d')]('onPause',_0x40e2cc);if(_0x40e2cc[_0x1cd3('0x604')]){_[_0x1cd3('0x13e5')](_0x4d4a90[_0x1cd3('0x1155')],function(_0x431d5a,_0x33341f){if(_0x431d5a['agents'][_0x40e2cc['id']]){_0x431d5a[_0x1cd3('0x13ea')]+=0x1;console['log']('pause');}});}else if(!_0x40e2cc[_0x1cd3('0x604')]){_['forIn'](_0x4d4a90[_0x1cd3('0x1155')],function(_0x3dfd71,_0x1b7525){if(_0x3dfd71[_0x1cd3('0x1228')][_0x40e2cc['id']]){if(_0x3dfd71[_0x1cd3('0x13ea')]>0x0){_0x3dfd71[_0x1cd3('0x13ea')]-=0x1;console[_0x1cd3('0x7d')]('unpause');}}});}}function _0x3bfbf9(_0x34d6db){console[_0x1cd3('0x7d')](_0x1cd3('0x13ee'),_0x34d6db);if(_0x4d4a90['queues'][_0x34d6db[_0x1cd3('0x18f8')]]){_0x4d4a90[_0x1cd3('0x1155')][_0x34d6db[_0x1cd3('0x18f8')]][_0x1cd3('0x13eb')]+=0x1;_0x4d4a90[_0x1cd3('0x1155')][_0x34d6db['FaxQueueId']][_0x1cd3('0x1228')][_0x34d6db[_0x1cd3('0x1226')]]=_0x34d6db[_0x1cd3('0x18f8')];}}function _0x59f452(_0x263c58){console[_0x1cd3('0x7d')](_0x1cd3('0x13e4'),_0x263c58);if(_0x4d4a90[_0x1cd3('0x1155')][_0x263c58[_0x1cd3('0x18f8')]]&&_0x4d4a90[_0x1cd3('0x1155')][_0x263c58[_0x1cd3('0x18f8')]][_0x1cd3('0x13eb')]>0x0){_0x4d4a90['queues'][_0x263c58[_0x1cd3('0x18f8')]][_0x1cd3('0x13eb')]-=0x1;delete _0x4d4a90['queues'][_0x263c58[_0x1cd3('0x18f8')]]['agents'][_0x263c58['UserId']];}}var _0x213d10=!![];var _0x6f0a24=0x1;_0x23a52c[_0x1cd3('0x4d6')](_0x1cd3('0xd56'),function(_0x3f517b,_0x1926c5){if(_0x213d10){_0x289a09(function(){_0x213d10=![];});}else{if(!_0x1926c5){_0x6f0a24=_0x4d4a90[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0x3f517b!==_0x1926c5){_0x4d4a90[_0x1cd3('0x3d4')]['page']=0x1;}if(!_0x3f517b){_0x4d4a90[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0x6f0a24;}_0x4d4a90[_0x1cd3('0x13df')]();}});function _0x3fab29(_0x2546f3){_0x4d4a90['count']=_0x2546f3[_0x1cd3('0x466')];_0x4d4a90['queues']=_0x2546f3?_[_0x1cd3('0xe2d')](_0x2546f3[_0x1cd3('0xf6')]?_0x2546f3[_0x1cd3('0xf6')]:[],'id'):{};if(_0x2546f3[_0x1cd3('0xf6')]){_0x4d4a90[_0x1cd3('0x13ad')]=[];for(var _0x5972bb=0x0;_0x5972bb<_0x2546f3[_0x1cd3('0xf6')][_0x1cd3('0x7a')];_0x5972bb++){_0x4d4a90['order'][_0x1cd3('0x7b')](_0x2546f3[_0x1cd3('0xf6')][_0x5972bb]['id']);}}_0x2e8c8b();}function _0xc7f326(){_0x4d4a90[_0x1cd3('0x3d4')]['offset']=(_0x4d4a90['query'][_0x1cd3('0x8fd')]-0x1)*_0x4d4a90[_0x1cd3('0x3d4')]['limit'];if(_0x2b66ba['hasRole'](_0x1cd3('0x5f'))){_0x4d4a90[_0x1cd3('0x539')]=_0x355b49[_0x1cd3('0xe1a')][_0x1cd3('0x361')](_0x4d4a90[_0x1cd3('0x3d4')],_0x3fab29)[_0x1cd3('0x81')];}else{_0x4d4a90[_0x1cd3('0x3d4')]['id']=_0x4d4a90['userProfile']['id'];_0x4d4a90[_0x1cd3('0x3d4')]['section']=_0x1cd3('0x153');_0x4d4a90[_0x1cd3('0x539')]=_0x355b49['userProfile'][_0x1cd3('0xd59')](_0x4d4a90[_0x1cd3('0x3d4')],_0x3fab29)[_0x1cd3('0x81')];}}function _0xdfad52(_0x21f145,_0x476ed2){_0x4136cf['show']({'controller':'CreateOrEditFaxQueueDialogController','controllerAs':'vm','templateUrl':_0x1cd3('0x1979'),'parent':angular['element'](_0x20deda[_0x1cd3('0x380')]),'targetEvent':_0x21f145,'clickOutsideToClose':!![],'locals':{'faxQueue':_0x476ed2,'faxQueues':_[_0x1cd3('0x42d')](_0x4d4a90[_0x1cd3('0x1155')]),'license':null,'setting':null,'crudPermissions':_0x4d4a90[_0x1cd3('0xd27')]}});}function _0x551236(_0x5996b2,_0x41efab){_0x4136cf['show']({'controller':_0x1cd3('0x1964'),'controllerAs':'vm','templateUrl':'app/main/apps/fax/views/faxQueues/edit/agentadd/agentadd.html','parent':angular[_0x1cd3('0x37f')](_0x20deda[_0x1cd3('0x380')]),'targetEvent':_0x5996b2,'clickOutsideToClose':!![],'locals':{'faxQueue':_0x41efab,'faxQueues':_0x4d4a90[_0x1cd3('0x1155')]?_0x4d4a90[_0x1cd3('0x1155')][_0x1cd3('0xf6')]:[],'realtime':![],'crudPermissions':_0x4d4a90[_0x1cd3('0xd27')]}});}function _0x19fbd8(_0x195dba){return _0x355b49[_0x1cd3('0xe1a')]['update'](_0x195dba)[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x1a0323[_0x1cd3('0x473')]({'title':'Queue\x20properly\x20updated!','msg':_0x195dba['name']?_0x195dba[_0x1cd3('0x98')]+_0x1cd3('0xe65'):''});})[_0x1cd3('0xfd')](function(_0x4da4af){_0x1a0323[_0x1cd3('0x434')]({'title':_0x1cd3('0x1993'),'msg':_0x4da4af[_0x1cd3('0x43a')]});});}_0x23a52c[_0x1cd3('0x4d3')]('$destroy',function(){_0xcda01b[_0x1cd3('0x6a3')]('fax_queue:save');_0xcda01b[_0x1cd3('0x6a3')](_0x1cd3('0x16d5'));_0xcda01b[_0x1cd3('0x6a3')]('userFaxQueue:save');_0xcda01b['removeAllListeners'](_0x1cd3('0x13ba'));_0xcda01b[_0x1cd3('0x6a3')]('userVoiceQueue:remove');_0xcda01b[_0x1cd3('0x6a3')](_0x1cd3('0x13e8'));});}}());(function(){'use strict';angular['module'](_0x1cd3('0x1'))[_0x1cd3('0x373')]('helperClasses',_0x515316);function _0x515316(){return{'status':{'registered':_0x1cd3('0x13f1'),'unregistered':_0x1cd3('0x13f2'),'lagged':'red-300-fg\x20icon-close-circle','reachable':_0x1cd3('0x13f1'),'unreachable':'red-300-fg\x20icon-close-circle','unknown':_0x1cd3('0x1994')},'state':{'unknown':_0x1cd3('0x13f3'),'not_inuse':_0x1cd3('0x13f4'),'inuse':_0x1cd3('0x13f5'),'busy':_0x1cd3('0x1995'),'invalid':_0x1cd3('0x13f3'),'unavailable':_0x1cd3('0x13f3'),'ringing':_0x1cd3('0x13f6'),'ringinuse':_0x1cd3('0x13f6'),'onhold':_0x1cd3('0x13f7')},'channelStatus':{'ring':_0x1cd3('0x13f6'),'up':_0x1cd3('0x13f8'),'hangup':_0x1cd3('0x13f9')},'channelStatusOut':{'ring':_0x1cd3('0x13fa'),'up':_0x1cd3('0x13f8'),'hangup':_0x1cd3('0x13f9')}};}}());(function(){'use strict';_0xa2ae74[_0x1cd3('0xc')]=['$scope',_0x1cd3('0x53e'),_0x1cd3('0xd18')];angular[_0x1cd3('0x0')]('app.fax')[_0x1cd3('0x39b')](_0x1cd3('0x1996'),_0xa2ae74);function _0xa2ae74(_0x472fd5,_0x99f49c,_0x33f0f7){var _0x57f310=this;_0x33f0f7['disconnect']();_0x33f0f7['connect']();_0x57f310['selectedTab']=0x0;switch(_0x99f49c[_0x1cd3('0x530')][_0x1cd3('0x98')]){case _0x1cd3('0x1997'):_0x57f310[_0x1cd3('0xe5f')]=0x0;break;case _0x1cd3('0x163'):_0x57f310[_0x1cd3('0xe5f')]=0x1;break;case'app.fax.realtime.queues':_0x57f310['selectedTab']=0x2;break;case _0x1cd3('0x16a'):_0x57f310[_0x1cd3('0xe5f')]=0x3;break;default:_0x57f310[_0x1cd3('0xe5f')]=0x0;_0x99f49c['go'](_0x1cd3('0x1997'));}_0x472fd5[_0x1cd3('0x4d6')]('vm.selectedTab',function(_0x1858ba,_0x3a1864){if(_0x1858ba!==_0x3a1864){switch(_0x1858ba){case 0x0:_0x99f49c['go'](_0x1cd3('0x1997'));break;case 0x1:_0x99f49c['go'](_0x1cd3('0x163'));break;case 0x2:_0x99f49c['go'](_0x1cd3('0x167'));break;case 0x3:_0x99f49c['go'](_0x1cd3('0x16a'));break;default:_0x99f49c['go'](_0x1cd3('0x1997'));}}});}}());(function(){'use strict';_0x5d4282['$inject']=['$scope',_0x1cd3('0x3e7'),'$mdDialog',_0x1cd3('0xef5'),_0x1cd3('0x1998'),_0x1cd3('0x370'),_0x1cd3('0xd18'),_0x1cd3('0x1999'),_0x1cd3('0x53e'),_0x1cd3('0x38a'),_0x1cd3('0x390'),_0x1cd3('0x56')];angular['module'](_0x1cd3('0x32'))['controller'](_0x1cd3('0x199a'),_0x5d4282);function _0x5d4282(_0x5c6b22,_0x21f104,_0xd2a928,_0x76c746,_0x481a65,_0x1e3e94,_0x419919,_0x1d8612,_0x473bb3,_0x5b9838,_0x26abc0,_0x49a88a){var _0x2bccc2=this;var _0x54387e=[_0x1cd3('0x3a6'),_0x1cd3('0x199b'),_0x1cd3('0x199c'),_0x1cd3('0x3ac'),_0x1cd3('0x3b1'),_0x1cd3('0x311'),_0x1cd3('0x19'),_0x1cd3('0x3a6')];_0x2bccc2[_0x1cd3('0x3ca')]=_0x49a88a['getCurrentUser']();_0x2bccc2[_0x1cd3('0x466')]=_0x76c746[_0x1cd3('0x466')];_0x2bccc2[_0x1cd3('0xef5')]=_0x76c746?_0x76c746[_0x1cd3('0xf6')]:[];_0x2bccc2[_0x1cd3('0x1998')]=_0x481a65?_0x481a65['rows']?_0x481a65[_0x1cd3('0xf6')]:[]:[];_0x2bccc2['query']={'fields':'id,name','active':!![],'sort':_0x1cd3('0x5b'),'limit':0xa,'page':0x1};_0x2bccc2[_0x1cd3('0x199d')]=_0x1d8612['status'];_0x2bccc2[_0x1cd3('0x199e')]=_0x1d8612[_0x1cd3('0x19')];_0x2bccc2[_0x1cd3('0x38a')]=_0x5b9838;_0x2bccc2[_0x1cd3('0x390')]=_0x26abc0&&_0x26abc0[_0x1cd3('0x466')]==0x1?_0x26abc0[_0x1cd3('0xf6')][0x0]:null;_0x2bccc2[_0x1cd3('0xd27')]=_0x49a88a[_0x1cd3('0xd44')](_0x2bccc2[_0x1cd3('0x390')]?_0x2bccc2['userProfileSection'][_0x1cd3('0xd27')]:null);_0x2bccc2['success']=_0x1dc86a;_0x2bccc2['$onInit']=_0x3dec3e;_0x2bccc2['showInfo']=_0x1df393;_0x2bccc2[_0x1cd3('0x199f')]=_0x22196b;_0x2bccc2[_0x1cd3('0x19a0')]=_0x4f3577;_0x2bccc2[_0x1cd3('0x13b6')]=_0x4bd8eb;_0x419919['on'](_0x1cd3('0x19a1'),_0x2bccc2[_0x1cd3('0x13b6')]);function _0x3dec3e(){var _0xa3a973;for(var _0x47523f=0x0;_0x47523f<_0x2bccc2[_0x1cd3('0xef5')][_0x1cd3('0x7a')];_0x47523f+=0x1){_0xa3a973=_[_0x1cd3('0x445')](_0x2bccc2[_0x1cd3('0x1998')],['id',_0x2bccc2[_0x1cd3('0xef5')][_0x47523f]['id']]);if(_0xa3a973>=0x0){_[_0x1cd3('0xf2')](_0x2bccc2[_0x1cd3('0xef5')][_0x47523f],_[_0x1cd3('0x5e8')](_0x2bccc2[_0x1cd3('0x1998')][_0xa3a973],_0x54387e));}}}function _0x1df393(_0x3189bf){_0xd2a928[_0x1cd3('0x37e')](_0xd2a928[_0x1cd3('0x11d0')]()[_0x1cd3('0x13ca')](!![])[_0x1cd3('0x486')](_0x1cd3('0x13cb'))[_0x1cd3('0xd60')]('<div>TODO\x20legend\x20status\x20+\x20state</div>')['ok']('Ok')[_0x1cd3('0xd63')](_0x3189bf));}function _0x1dc89a(_0x54945d,_0x373236,_0x43a30a){if(_0x373236>=0x0){_[_0x1cd3('0xf2')](_0x54945d[_0x373236],_[_0x1cd3('0x5e8')](_0x43a30a,_0x54387e));}}function _0x4bd8eb(_0x39abaa){var _0x5ea860=_[_0x1cd3('0x445')](_0x2bccc2['trunks'],['id',_0x39abaa['id']]);var _0x33b3a2=_['findIndex'](_0x2bccc2[_0x1cd3('0x1998')],['id',_0x39abaa['id']]);_0x1dc89a(_0x2bccc2[_0x1cd3('0xef5')],_0x5ea860,_0x39abaa);_0x1dc89a(_0x2bccc2[_0x1cd3('0x1998')],_0x33b3a2,_0x39abaa);}var _0x51be5c=!![];var _0x4ef658=0x1;_0x5c6b22[_0x1cd3('0x4d6')](_0x1cd3('0xd56'),function(_0x2d8cfd,_0x410649){if(_0x51be5c){_0x21f104(function(){_0x51be5c=![];});}else{if(!_0x410649){_0x4ef658=_0x2bccc2[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0x2d8cfd!==_0x410649){_0x2bccc2[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}if(!_0x2d8cfd){_0x2bccc2[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0x4ef658;}_0x2bccc2[_0x1cd3('0x199f')]();}});function _0x1dc86a(_0x85293e){_0x2bccc2['count']=_0x85293e[_0x1cd3('0x466')];_0x2bccc2[_0x1cd3('0xef5')]=_0x85293e?_0x85293e[_0x1cd3('0xf6')]?_0x85293e[_0x1cd3('0xf6')]:[]:[];_0x3dec3e();}function _0x22196b(){_0x2bccc2[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0x2bccc2[_0x1cd3('0x3d4')]['page']-0x1)*_0x2bccc2['query'][_0x1cd3('0x8fe')];if(_0x49a88a[_0x1cd3('0x57')](_0x1cd3('0x5f'))){_0x2bccc2[_0x1cd3('0x539')]=_0x1e3e94[_0x1cd3('0x18e7')][_0x1cd3('0x361')](_0x2bccc2[_0x1cd3('0x3d4')],_0x1dc86a)[_0x1cd3('0x81')];}else{_0x2bccc2['query']['id']=_0x2bccc2['userProfile']['id'];_0x2bccc2[_0x1cd3('0x3d4')]['section']=_0x1cd3('0xa2');_0x2bccc2[_0x1cd3('0x539')]=_0x1e3e94[_0x1cd3('0x38a')]['getResources'](_0x2bccc2[_0x1cd3('0x3d4')],_0x1dc86a)['$promise'];}}_0x5c6b22['$on'](_0x1cd3('0x523'),function(){_0x419919['removeAllListeners'](_0x1cd3('0x19a1'));});function _0x4f3577(_0x53fe8c,_0xf331fb){_0x473bb3['go'](_0x1cd3('0x2d3'),{'id':_0xf331fb['id']});}}}());(function(){'use strict';_0x3d9b70[_0x1cd3('0xc')]=[_0x1cd3('0x654'),_0x1cd3('0x463')];angular['module'](_0x1cd3('0x16f'))[_0x1cd3('0x39b')]('AboutController',_0x3d9b70);function _0x3d9b70(_0x2d6a0d,_0x1aa01b){var _0x5914b2=this;_0x5914b2[_0x1cd3('0x654')]=_0x2d6a0d;_0x5914b2[_0x1cd3('0x463')]=_0x1aa01b;}}());(function(){'use strict';_0x7c8938[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x53e'),_0x1cd3('0xd24'),_0x1cd3('0x3c5'),'$q','$translate',_0x1cd3('0x461'),_0x1cd3('0x19a2'),'deskAccount','api',_0x1cd3('0x56'),_0x1cd3('0x463'),_0x1cd3('0xc49'),'crudPermissions'];angular[_0x1cd3('0x0')](_0x1cd3('0x35'))[_0x1cd3('0x39b')](_0x1cd3('0x19a3'),_0x7c8938);function _0x7c8938(_0xdc7f8c,_0x4f1f80,_0x195123,_0x2fed97,_0x45ca3e,_0x302c81,_0x564b52,_0x4aa0fa,_0x3b5e45,_0xf1cca7,_0x5b97aa,_0x2856f8,_0xee03d5,_0x222531){var _0x3ef24e=this;_0x3ef24e[_0x1cd3('0x3ca')]=_0x5b97aa[_0x1cd3('0x5d')]();_0x3ef24e['errors']=[];_0x3ef24e[_0x1cd3('0xc49')]=_0xee03d5;_0x3ef24e['license']=_0x2856f8;_0x3ef24e[_0x1cd3('0xd27')]=_0x222531;_0x3ef24e[_0x1cd3('0xd28')]={};_0x3ef24e[_0x1cd3('0xd29')]=_0x3ef24e[_0x1cd3('0xc49')]&&_0x3ef24e['setting'][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x3ef24e[_0x1cd3('0x486')]=_0x1cd3('0x19a4');_0x3ef24e[_0x1cd3('0x19a5')]=angular[_0x1cd3('0x429')](_0x3b5e45);_0x3ef24e[_0x1cd3('0x19a2')]=_0x4aa0fa;_0x3ef24e[_0x1cd3('0x19a6')]=![];if(!_0x3ef24e[_0x1cd3('0x19a5')]){_0x3ef24e[_0x1cd3('0x19a5')]={'type':_0x1cd3('0x19a7'),'authType':_0x1cd3('0x19a8'),'serverUrl':_0x195123[_0x1cd3('0x3b0')]()+_0x1cd3('0x11cf')+_0x195123[_0x1cd3('0x3ac')]()+(_0x195123['port']()?':'+_0x195123[_0x1cd3('0x3b1')]():'')};_0x3ef24e[_0x1cd3('0x486')]=_0x1cd3('0x19a9');_0x3ef24e[_0x1cd3('0x19a6')]=!![];}_0x3ef24e[_0x1cd3('0x19aa')]=_0x4f51a3;_0x3ef24e[_0x1cd3('0x19ab')]=_0x1effe3;_0x3ef24e['deleteDeskAccount']=_0xc60b67;_0x3ef24e[_0x1cd3('0xd31')]=_0x3b60dc;_0x3ef24e['closeDialog']=_0x37cfb0;function _0x4f51a3(){_0x3ef24e[_0x1cd3('0xd34')]=[];_0xf1cca7[_0x1cd3('0xbc4')][_0x1cd3('0xd6d')](_0x3ef24e[_0x1cd3('0x19a5')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x483a0e){_0x3ef24e[_0x1cd3('0x19a2')][_0x1cd3('0x621')](_0x483a0e[_0x1cd3('0xd32')]());_0x564b52[_0x1cd3('0x473')]({'title':'DeskAccount\x20properly\x20created','msg':_0x3ef24e[_0x1cd3('0x19a5')]['name']?_0x3ef24e['deskAccount'][_0x1cd3('0x98')]+_0x1cd3('0xd33'):''});_0x37cfb0(_0x483a0e);})['catch'](function(_0x58c06d){if(_0x58c06d['data']&&_0x58c06d[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x58c06d[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length']){_0x3ef24e[_0x1cd3('0xd34')]=_0x58c06d[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x58c06d[_0x1cd3('0x43b')](),'type':'api.intDeskAccount.save'}];for(var _0x39a960=0x0;_0x39a960<_0x58c06d[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x39a960+=0x1){_0x564b52[_0x1cd3('0x434')]({'title':_0x58c06d['data'][_0x1cd3('0xd34')][_0x39a960][_0x1cd3('0x424')],'msg':_0x58c06d['data'][_0x1cd3('0xd34')][_0x39a960][_0x1cd3('0x43a')]});}}else{_0x564b52['error']({'title':_0x58c06d[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x58c06d['status']+'\x20-\x20'+_0x58c06d[_0x1cd3('0xd35')]:_0x1cd3('0x19ac'),'msg':_0x58c06d[_0x1cd3('0x439')]?JSON['stringify'](_0x58c06d['data'][_0x1cd3('0x43a')]):_0x58c06d['toString']()});}});}function _0x1effe3(){_0x3ef24e['errors']=[];_0xf1cca7[_0x1cd3('0xbc4')][_0x1cd3('0x378')]({'id':_0x3ef24e['deskAccount']['id']},_0x3ef24e[_0x1cd3('0x19a5')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x58a587){var _0x495131=_[_0x1cd3('0x442')](_0x3ef24e[_0x1cd3('0x19a2')],{'id':_0x58a587['id']});if(_0x495131){_[_0x1cd3('0xf2')](_0x495131,_['pick'](_0x58a587[_0x1cd3('0xd32')](),_['keys'](_0x495131)));}_0x564b52[_0x1cd3('0x473')]({'title':_0x1cd3('0x19ad'),'msg':_0x3ef24e['deskAccount'][_0x1cd3('0x98')]?_0x3ef24e[_0x1cd3('0x19a5')]['name']+_0x1cd3('0xd37'):''});_0x37cfb0(_0x58a587);})['catch'](function(_0x2a4528){if(_0x2a4528[_0x1cd3('0x439')]&&_0x2a4528[_0x1cd3('0x439')]['errors']&&_0x2a4528[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x3ef24e[_0x1cd3('0xd34')]=_0x2a4528[_0x1cd3('0x439')]['errors']||[{'message':_0x2a4528[_0x1cd3('0x43b')](),'type':_0x1cd3('0x19ae')}];for(var _0x1f12c2=0x0;_0x1f12c2<_0x2a4528[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x1f12c2++){_0x564b52['error']({'title':_0x2a4528[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1f12c2]['type'],'msg':_0x2a4528[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1f12c2][_0x1cd3('0x43a')]});}}else{_0x564b52[_0x1cd3('0x434')]({'title':_0x2a4528['status']?_0x1cd3('0x435')+_0x2a4528[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x2a4528[_0x1cd3('0xd35')]:_0x1cd3('0x19ae'),'msg':_0x2a4528[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x2a4528['data']['message']):_0x2a4528[_0x1cd3('0x43b')]()});}});}function _0xc60b67(_0x3e1824){_0x3ef24e[_0x1cd3('0xd34')]=[];var _0x4dd47f=_0x2fed97[_0x1cd3('0xd39')]()[_0x1cd3('0x486')]('Are\x20you\x20sure?')['content']('The\x20deskAccount\x20will\x20be\x20deleted.')[_0x1cd3('0xd3d')](_0x1cd3('0x19af'))['ok'](_0x1cd3('0xd3f'))[_0x1cd3('0x4d8')](_0x1cd3('0x674'))[_0x1cd3('0xd63')](_0x3e1824);_0x2fed97[_0x1cd3('0x37e')](_0x4dd47f)[_0x1cd3('0x77')](function(){_0xf1cca7['intDeskAccount'][_0x1cd3('0xa1c')]({'id':_0x3ef24e[_0x1cd3('0x19a5')]['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x3ef24e[_0x1cd3('0x19a2')],{'id':_0x3ef24e[_0x1cd3('0x19a5')]['id']});_0x564b52[_0x1cd3('0x473')]({'title':'DeskAccount\x20properly\x20deleted!','msg':(_0x3ef24e[_0x1cd3('0x19a5')]['name']||_0x1cd3('0x19a5'))+_0x1cd3('0xd41')});_0x37cfb0(_0x3ef24e[_0x1cd3('0x19a5')]);})['catch'](function(_0x46ae5e){if(_0x46ae5e[_0x1cd3('0x439')]&&_0x46ae5e[_0x1cd3('0x439')]['errors']&&_0x46ae5e[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x3ef24e['errors']=_0x46ae5e[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x46ae5e[_0x1cd3('0x43b')](),'type':_0x1cd3('0x19b0')}];for(var _0x5aad74=0x0;_0x5aad74<_0x46ae5e[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x5aad74++){_0x564b52['error']({'title':_0x46ae5e[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x5aad74][_0x1cd3('0x424')],'msg':_0x46ae5e[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x5aad74][_0x1cd3('0x43a')]});}}else{_0x564b52[_0x1cd3('0x434')]({'title':_0x46ae5e[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x46ae5e[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x46ae5e[_0x1cd3('0xd35')]:'api.intDeskAccount.delete','msg':_0x46ae5e['data']?JSON['stringify'](_0x46ae5e['data'][_0x1cd3('0x43a')]):_0x46ae5e[_0x1cd3('0x43a')]||_0x46ae5e[_0x1cd3('0x43b')]()});}});},function(){});}function _0x3b60dc(_0x3fecb2){return _0x3fecb2===null?undefined:new Date(_0x3fecb2);}function _0x37cfb0(_0x132415){_0x2fed97[_0x1cd3('0x39d')](_0x132415);}}}());(function(){'use strict';_0x13fd26[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x371'),_0x1cd3('0x53e'),_0x1cd3('0x969'),_0x1cd3('0x3c5'),_0x1cd3('0x372'),'$timeout',_0x1cd3('0x3f7'),_0x1cd3('0x19a2'),_0x1cd3('0x38a'),_0x1cd3('0x390'),_0x1cd3('0x370'),_0x1cd3('0x2dd'),_0x1cd3('0x461'),_0x1cd3('0x56'),_0x1cd3('0x463'),_0x1cd3('0xc49')];angular[_0x1cd3('0x0')](_0x1cd3('0x35'))[_0x1cd3('0x39b')](_0x1cd3('0x19b1'),_0x13fd26);function _0x13fd26(_0x393d39,_0x2eab4a,_0x46c35f,_0x2444a2,_0x4f14a5,_0x142509,_0x42ec01,_0x18ab1a,_0x5c7ae9,_0x43c895,_0x343043,_0x3080d5,_0x49ce5f,_0x294514,_0x1956d0,_0x11c176,_0x1b0216){var _0x54c802=this;_0x54c802['license']=_0x11c176;_0x54c802[_0x1cd3('0xc49')]=_0x1b0216;_0x54c802[_0x1cd3('0x3ca')]=_0x1956d0[_0x1cd3('0x5d')]();_0x54c802[_0x1cd3('0x19a2')]=_0x5c7ae9||{'count':0x0,'rows':[]};_0x54c802[_0x1cd3('0x38a')]=_0x43c895;_0x54c802['userProfileSection']=_0x343043&&_0x343043[_0x1cd3('0x466')]==0x1?_0x343043['rows'][0x0]:null;_0x54c802['crudPermissions']=_0x1956d0[_0x1cd3('0xd44')](_0x54c802[_0x1cd3('0x390')]?_0x54c802[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);_0x54c802[_0x1cd3('0xd45')]=_0x1cd3('0x19a2');_0x54c802[_0x1cd3('0xd46')]='';_0x54c802[_0x1cd3('0xd47')]=null;_0x54c802[_0x1cd3('0x19b2')]=[];_0x54c802['query']={'fields':_0x1cd3('0x199'),'limit':0xa,'page':0x1};_0x54c802['arraytype']=_['keyBy']([{'option':_0x1cd3('0x19b3'),'value':'\x27integrationTab\x27'},{'option':_0x1cd3('0x19b4'),'value':_0x1cd3('0x19b5')}],function(_0x2b9573){return _[_0x1cd3('0x3f1')](_0x2b9573[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x54c802['arrayauthType']=_['keyBy']([{'option':'Basic','value':'\x27basic\x27'}],function(_0x333346){return _[_0x1cd3('0x3f1')](_0x333346[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x54c802['editstate']=_0x233f30;_0x54c802['testtestintegrationaccount']=_0x991776;_0x54c802[_0x1cd3('0xecc')]=_0x3fb25e;_0x54c802[_0x1cd3('0x473')]=_0x2e0407;_0x54c802['getDeskAccounts']=_0x5c0087;_0x54c802[_0x1cd3('0x19b6')]=_0x221d19;_0x54c802[_0x1cd3('0x19b7')]=_0x986486;_0x54c802['exportSelectedDeskAccounts']=_0x3a6547;_0x54c802['deleteSelectedDeskAccounts']=_0x19db9f;_0x54c802[_0x1cd3('0x19b8')]=_0x10119a;_0x54c802[_0x1cd3('0x19b9')]=_0x4d3b61;function _0x233f30(_0x344c8a,_0x3363cf){_0x46c35f['go']('app.integrations.deskAccounts.edit',{'id':_0x344c8a['id'],'deskAccount':_0x344c8a,'crudPermissions':_0x54c802[_0x1cd3('0xd27')]});}function _0x991776(_0x507931,_0x52d401){return _0x3080d5[_0x1cd3('0xbc4')]['getFields']({'id':_0x507931['id'],'test':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x294514['success']({'title':_0x1cd3('0x19ba'),'msg':'Connection\x20succeded!'});})[_0x1cd3('0xfd')](function(_0x2b731b){_0x294514[_0x1cd3('0x434')]({'title':'DeskAccount\x20properly\x20tested','msg':_0x2b731b[_0x1cd3('0x439')]?_0x2b731b[_0x1cd3('0x439')][_0x1cd3('0x43a')]?_0x2b731b[_0x1cd3('0x439')][_0x1cd3('0x43a')]:JSON[_0x1cd3('0x438')](_0x2b731b[_0x1cd3('0x439')]):_0x2b731b[_0x1cd3('0x43b')]()});});}function _0x3fb25e(_0x3a451d,_0x4684a7){var _0x656601=_0x4f14a5[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xd4f')+_[_0x1cd3('0xd50')](_0x1cd3('0x19a5'))+'?')[_0x1cd3('0xd60')](_0x1cd3('0xd51')+(_0x3a451d[_0x1cd3('0x98')]||_0x1cd3('0x19a5'))+_0x1cd3('0xd52')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')]('delete\x20deskAccount')[_0x1cd3('0xd63')](_0x4684a7)['ok']('OK')['cancel'](_0x1cd3('0xd55'));_0x4f14a5[_0x1cd3('0x37e')](_0x656601)[_0x1cd3('0x77')](function(){_0x986486(_0x3a451d);},function(){console[_0x1cd3('0x7d')]('CANCEL');});}var _0x5993c3=!![];var _0x368163=0x1;_0x393d39[_0x1cd3('0x4d6')](_0x1cd3('0xd56'),function(_0x378f56,_0x4b611d){if(_0x5993c3){_0x42ec01(function(){_0x5993c3=![];});}else{if(!_0x4b611d){_0x368163=_0x54c802['query']['page'];}if(_0x378f56!==_0x4b611d){_0x54c802['query']['page']=0x1;}if(!_0x378f56){_0x54c802[_0x1cd3('0x3d4')]['page']=_0x368163;}_0x54c802[_0x1cd3('0x19bb')]();}});function _0x2e0407(_0x3ae251){_0x54c802[_0x1cd3('0x19a2')]=_0x3ae251||{'count':0x0,'rows':[]};}function _0x5c0087(){_0x54c802[_0x1cd3('0x3d4')]['offset']=(_0x54c802[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0x54c802[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];if(_0x1956d0[_0x1cd3('0x57')](_0x1cd3('0x5f'))){_0x54c802[_0x1cd3('0x539')]=_0x3080d5[_0x1cd3('0xbc4')][_0x1cd3('0x361')](_0x54c802[_0x1cd3('0x3d4')],_0x2e0407)[_0x1cd3('0x81')];}else{_0x54c802[_0x1cd3('0x3d4')]['id']=_0x54c802[_0x1cd3('0x38a')]['id'];_0x54c802['query'][_0x1cd3('0xd58')]=_0x1cd3('0x19a');_0x54c802['promise']=_0x3080d5[_0x1cd3('0x38a')][_0x1cd3('0xd59')](_0x54c802['query'],_0x2e0407)['$promise'];}}function _0x221d19(_0xf067ac,_0x24996c){_0x4f14a5[_0x1cd3('0x37e')]({'controller':'CreateOrEditDeskAccountDialogController','controllerAs':'vm','templateUrl':_0x1cd3('0x19bc'),'parent':angular['element'](_0x142509[_0x1cd3('0x380')]),'targetEvent':_0xf067ac,'clickOutsideToClose':!![],'locals':{'deskAccount':_0x24996c,'deskAccounts':_0x54c802[_0x1cd3('0x19a2')][_0x1cd3('0xf6')],'license':_0x54c802['license'],'setting':_0x54c802['setting'],'crudPermissions':_0x54c802['crudPermissions']}});}function _0x986486(_0x4e1bdc){_0x3080d5[_0x1cd3('0xbc4')][_0x1cd3('0xa1c')]({'id':_0x4e1bdc['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_['remove'](_0x54c802['deskAccounts'][_0x1cd3('0xf6')],{'id':_0x4e1bdc['id']});_0x54c802['deskAccounts'][_0x1cd3('0x466')]-=0x1;if(!_0x54c802[_0x1cd3('0x19a2')][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){_0x54c802[_0x1cd3('0x19bb')]();}_0x294514[_0x1cd3('0x473')]({'title':_[_0x1cd3('0xd50')](_0x1cd3('0x19bd'))+'\x20deleted!','msg':_0x4e1bdc[_0x1cd3('0x98')]?_0x4e1bdc[_0x1cd3('0x98')]+_0x1cd3('0xd41'):''});})[_0x1cd3('0xfd')](function(_0x6d8924){if(_0x6d8924[_0x1cd3('0x439')]&&_0x6d8924[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x6d8924[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x54c802[_0x1cd3('0xd34')]=_0x6d8924['data']['errors']||[{'message':_0x6d8924[_0x1cd3('0x43b')](),'type':_0x1cd3('0x19be')}];for(var _0x5acd57=0x0;_0x5acd57<_0x6d8924[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x5acd57++){_0x294514[_0x1cd3('0x434')]({'title':_0x6d8924['data'][_0x1cd3('0xd34')][_0x5acd57][_0x1cd3('0x424')],'msg':_0x6d8924[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x5acd57][_0x1cd3('0x43a')]});}}else{_0x294514['error']({'title':_0x6d8924['status']?_0x1cd3('0x435')+_0x6d8924[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x6d8924['statusText']:_0x1cd3('0x19be'),'msg':_0x6d8924['data']?JSON['stringify'](_0x6d8924[_0x1cd3('0x439')]['message']):_0x6d8924[_0x1cd3('0x43a')]||_0x6d8924['toString']()});}});}function _0x3a6547(){var _0x41aba1=angular[_0x1cd3('0x429')](_0x54c802[_0x1cd3('0x19b2')]);_0x54c802[_0x1cd3('0x19b2')]=[];return _0x41aba1;}function _0x19db9f(_0x5eacb9){var _0xa49147=_0x4f14a5[_0x1cd3('0xd39')]()['title'](_0x1cd3('0x19bf'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x54c802['selectedDeskAccounts']['length']+'\x20selected</b>'+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')]('delete\x20DeskAccounts')[_0x1cd3('0xd63')](_0x5eacb9)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x4f14a5[_0x1cd3('0x37e')](_0xa49147)[_0x1cd3('0x77')](function(){_0x54c802['selectedDeskAccounts']['forEach'](function(_0x25da19){_0x986486(_0x25da19);});_0x54c802[_0x1cd3('0x19b2')]=[];});}function _0x10119a(){_0x54c802[_0x1cd3('0x19b2')]=[];}function _0x4d3b61(){_0x54c802[_0x1cd3('0x19b2')]=_0x54c802[_0x1cd3('0x19a2')][_0x1cd3('0xf6')];}}}());(function(){'use strict';_0x2e9a96[_0x1cd3('0xc')]=['$mdDialog',_0x1cd3('0x372'),_0x1cd3('0x370'),_0x1cd3('0x461'),_0x1cd3('0x56')];angular[_0x1cd3('0x0')](_0x1cd3('0x35'))[_0x1cd3('0x39b')](_0x1cd3('0x19c0'),_0x2e9a96);function _0x2e9a96(_0x599d1e,_0xa9b062,_0xb6b428,_0x3d20d4,_0x4ff5ac){var _0x54da80=this;_0x54da80[_0x1cd3('0x3ca')]=_0x4ff5ac['getCurrentUser']();_0x54da80[_0x1cd3('0x19a5')]={};_0x54da80[_0x1cd3('0x19c1')]={};_0x54da80[_0x1cd3('0x19c2')]=[];_0x54da80[_0x1cd3('0x19c3')]=-0x1;_0x54da80[_0x1cd3('0xd27')];_0x54da80['init']=_0x4dcc33;_0x54da80['getDeskConfiguration']=_0x9e164e;_0x54da80[_0x1cd3('0x19c4')]=_0x587ccc;_0x54da80[_0x1cd3('0x19c5')]=_0x377dff;_0x54da80[_0x1cd3('0x1423')]=[];_0x54da80['selectTagsChanged']=_0x44e291;_0xb6b428['tag'][_0x1cd3('0x361')]({'nolimit':!![],'sort':'name'})[_0x1cd3('0x81')]['then'](function(_0x3df926){_0x54da80[_0x1cd3('0x921')]=_0x3df926[_0x1cd3('0xf6')]?_0x3df926['rows']:[];})[_0x1cd3('0xfd')](function(_0xbd1ec){_0x3d20d4['error']({'title':_0xbd1ec[_0x1cd3('0x3a6')]?'API:'+_0xbd1ec[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0xbd1ec['statusText']:'SYSTEM:GETTAGS','msg':_0xbd1ec[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0xbd1ec[_0x1cd3('0x439')]):_0xbd1ec['toString']()});});function _0x44e291(_0x4e0a8b){_0xb6b428[_0x1cd3('0xbc9')][_0x1cd3('0x14a3')]({'id':_0x54da80['deskConfiguration']['id'],'ids':_0x54da80[_0x1cd3('0x1423')]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x3d20d4[_0x1cd3('0x473')]({'title':_0x1cd3('0x19c6'),'msg':'Tags\x20has\x20been\x20set!'});})['catch'](function(_0x16e745){_0x3d20d4[_0x1cd3('0x434')]({'title':_0x16e745[_0x1cd3('0x3a6')]?'API:'+_0x16e745[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x16e745['statusText']:_0x1cd3('0x19c7'),'msg':_0x16e745[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x16e745[_0x1cd3('0x439')]):_0x16e745[_0x1cd3('0x43b')]()});});}function _0x4dcc33(_0x7e39f9,_0x5b2e75){_0x54da80[_0x1cd3('0x19a5')]=_0x7e39f9;_0x54da80[_0x1cd3('0xd27')]=typeof _0x5b2e75!==_0x1cd3('0x491')?_0x5b2e75:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0xb6b428[_0x1cd3('0xbc4')][_0x1cd3('0x19c8')]({'id':_0x54da80['deskAccount']['id'],'sort':_0x1cd3('0x5b')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x1055ae){_0x54da80['configurations']=_0x1055ae[_0x1cd3('0xf6')]?_0x1055ae[_0x1cd3('0xf6')]:[];if(_0x54da80[_0x1cd3('0x19c2')][_0x1cd3('0x7a')]){_0x54da80[_0x1cd3('0x19c9')](0x0);}return _0xb6b428['variable'][_0x1cd3('0x361')]({'nolimit':!![],'sort':_0x1cd3('0x98')})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x4ea671){_0x54da80[_0x1cd3('0xef7')]=_0x4ea671['rows']?_0x4ea671[_0x1cd3('0xf6')]:[];_0x54da80[_0x1cd3('0x19ca')]=_[_0x1cd3('0xe2d')](_0x54da80[_0x1cd3('0xef7')],'id');})[_0x1cd3('0xfd')](function(_0x35229e){_0x3d20d4[_0x1cd3('0x434')]({'title':_0x35229e[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x35229e[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x35229e[_0x1cd3('0xd35')]:_0x1cd3('0x19cb'),'msg':_0x35229e[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x35229e[_0x1cd3('0x439')]):_0x35229e['toString']()});});}function _0x9e164e(_0x23494a){_0x54da80[_0x1cd3('0x19c1')]=_0x54da80[_0x1cd3('0x19c2')][_0x23494a];_0x54da80[_0x1cd3('0x19c3')]=_0x23494a;_0xb6b428[_0x1cd3('0xbc9')]['getSubjects']({'id':_0x54da80[_0x1cd3('0x19c1')]['id']})['$promise'][_0x1cd3('0x77')](function(_0x26928f){_0x54da80['subjects']=_0x26928f['rows']?_0x26928f[_0x1cd3('0xf6')]:[];return _0xb6b428[_0x1cd3('0xbc9')][_0x1cd3('0x19cc')]({'id':_0x54da80[_0x1cd3('0x19c1')]['id']})[_0x1cd3('0x81')];})['then'](function(_0x52f19f){_0x54da80[_0x1cd3('0x19cd')]=_0x52f19f[_0x1cd3('0xf6')]?_0x52f19f[_0x1cd3('0xf6')]:[];return _0xb6b428[_0x1cd3('0xbc9')][_0x1cd3('0xdfb')]({'id':_0x54da80['deskConfiguration']['id']})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x1c92e5){_0x54da80[_0x1cd3('0x3c7')]=_0x1c92e5['rows']?_0x1c92e5[_0x1cd3('0xf6')]:[];})[_0x1cd3('0xfd')](function(_0x53afda){_0x3d20d4['error']({'title':_0x53afda[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x53afda['status']+_0x1cd3('0x436')+_0x53afda[_0x1cd3('0xd35')]:_0x1cd3('0x19ce'),'msg':_0x53afda[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x53afda[_0x1cd3('0x439')]):_0x53afda['toString']()});});_0xb6b428[_0x1cd3('0xbc9')]['getTags']({'id':_0x54da80['deskConfiguration']['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x20c4a3){_0x54da80['selectedTags']=_0x20c4a3[_0x1cd3('0xf6')]?_[_0x1cd3('0x3d9')](_0x20c4a3[_0x1cd3('0xf6')],'id'):[];})[_0x1cd3('0xfd')](function(_0x1b95a9){_0x3d20d4[_0x1cd3('0x434')]({'title':_0x1b95a9['status']?_0x1cd3('0x435')+_0x1b95a9[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x1b95a9[_0x1cd3('0xd35')]:_0x1cd3('0x19cf'),'msg':_0x1b95a9[_0x1cd3('0x439')]?JSON['stringify'](_0x1b95a9['data']):_0x1b95a9[_0x1cd3('0x43b')]()});});}function _0x587ccc(_0x1db80f,_0x48fcda){_0x599d1e[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x19d0'),'controllerAs':'vm','templateUrl':_0x1cd3('0x19d1'),'parent':angular[_0x1cd3('0x37f')](_0xa9b062[_0x1cd3('0x380')]),'targetEvent':_0x1db80f,'clickOutsideToClose':!![],'locals':{'deskConfiguration':_0x48fcda,'configurations':_0x54da80['configurations'],'license':null,'setting':null,'crudPermissions':_0x54da80[_0x1cd3('0xd27')]}})['finally'](function(){_0x54da80['getDeskConfiguration'](0x0);});}function _0x377dff(_0x45aed5,_0x54ed85){var _0x3cc549=_0x599d1e[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x19d2'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+(_0x54ed85['name']||_0x1cd3('0x19c1'))+_0x1cd3('0xd52')+'\x20will\x20be\x20deleted.')[_0x1cd3('0xd3d')](_0x1cd3('0x19d3'))[_0x1cd3('0xd63')](_0x45aed5)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x599d1e[_0x1cd3('0x37e')](_0x3cc549)[_0x1cd3('0x77')](function(){_0xb6b428['intDeskConfiguration'][_0x1cd3('0xa1c')]({'id':_0x54ed85['id']})['$promise'][_0x1cd3('0x77')](function(){_['remove'](_0x54da80['configurations'],{'id':_0x54ed85['id']});_0x3d20d4[_0x1cd3('0x473')]({'title':_0x1cd3('0x19d4'),'msg':_0x54ed85[_0x1cd3('0x98')]?_0x54ed85[_0x1cd3('0x98')]+_0x1cd3('0xd41'):''});})['catch'](function(_0x9ddf0){_0x3d20d4['error']({'title':_0x9ddf0[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x9ddf0[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x9ddf0[_0x1cd3('0xd35')]:'SYSTEM:DELETECONFIGURATION','msg':_0x9ddf0[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x9ddf0[_0x1cd3('0x439')]):_0x9ddf0['toString']()});})[_0x1cd3('0x5dd')](function(){_0x54da80[_0x1cd3('0x19c9')](0x0);});},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}_0x54da80[_0x1cd3('0x19d5')]=[];_0x54da80['createOrEditSubject']=_0x1aecf7;_0x54da80['deleteSubjectConfirm']=_0x4d02da;_0x54da80[_0x1cd3('0x19d6')]=_0x1be5da;function _0x1aecf7(_0x5346f8,_0x4da11b){_0x599d1e[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x19d7'),'controllerAs':'vm','templateUrl':_0x1cd3('0x19d8'),'parent':angular[_0x1cd3('0x37f')](_0xa9b062[_0x1cd3('0x380')]),'targetEvent':_0x5346f8,'clickOutsideToClose':!![],'locals':{'type':'subject','item':_0x4da11b,'items':_0x54da80[_0x1cd3('0x19d9')],'configuration':_0x54da80[_0x1cd3('0x19c1')],'account':_0x54da80['deskAccount'],'license':null,'setting':null,'crudPermissions':_0x54da80[_0x1cd3('0xd27')]}});}function _0x5d5c1b(_0x33b9c5){_0xb6b428['intDeskField'][_0x1cd3('0xa1c')]({'id':_0x33b9c5['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_['remove'](_0x54da80['subjects'],{'id':_0x33b9c5['id']});_0x3d20d4[_0x1cd3('0x473')]({'title':'Subject\x20deleted!','msg':_0x1cd3('0x19da')});})[_0x1cd3('0xfd')](function(_0x2a2895){_0x3d20d4[_0x1cd3('0x434')]({'title':_0x2a2895[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x2a2895[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x2a2895[_0x1cd3('0xd35')]:_0x1cd3('0x19db'),'msg':_0x2a2895[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x2a2895[_0x1cd3('0x439')]):_0x2a2895[_0x1cd3('0x43b')]()});});}function _0x4d02da(_0x2b8eac,_0x17cbc7){var _0x423ac5=_0x599d1e[_0x1cd3('0xd39')]()[_0x1cd3('0x486')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20subject?')[_0x1cd3('0xd60')](_0x1cd3('0x19dc')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')]('delete\x20subject')[_0x1cd3('0xd63')](_0x2b8eac)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x599d1e['show'](_0x423ac5)[_0x1cd3('0x77')](function(){_0x5d5c1b(_0x17cbc7);},function(){console[_0x1cd3('0x7d')]('CANCEL');});}function _0x1be5da(_0x4c7a93){var _0x4db624=_0x599d1e[_0x1cd3('0xd39')]()['title'](_0x1cd3('0x19dd'))['htmlContent'](_0x1cd3('0xd51')+_0x54da80['selectedSubjects'][_0x1cd3('0x7a')]+_0x1cd3('0xd61')+_0x1cd3('0xd53'))['ariaLabel']('delete\x20subjects')[_0x1cd3('0xd63')](_0x4c7a93)['ok']('OK')['cancel'](_0x1cd3('0xd55'));_0x599d1e[_0x1cd3('0x37e')](_0x4db624)['then'](function(){_0x54da80[_0x1cd3('0x19d5')][_0x1cd3('0x394')](function(_0x5ad62f){_0x5d5c1b(_0x5ad62f);});_0x54da80['selectedSubjects']=[];});}_0x54da80[_0x1cd3('0x19de')]=[];_0x54da80[_0x1cd3('0x19df')]=_0x183bbc;_0x54da80[_0x1cd3('0x19e0')]=_0x5498f0;_0x54da80[_0x1cd3('0x19e1')]=_0x1061ed;function _0x183bbc(_0x1df250,_0x2bf560){_0x599d1e[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x19d7'),'controllerAs':'vm','templateUrl':_0x1cd3('0x19d8'),'parent':angular[_0x1cd3('0x37f')](_0xa9b062[_0x1cd3('0x380')]),'targetEvent':_0x1df250,'clickOutsideToClose':!![],'locals':{'type':_0x1cd3('0xde1'),'item':_0x2bf560,'items':_0x54da80[_0x1cd3('0x19cd')],'configuration':_0x54da80[_0x1cd3('0x19c1')],'account':_0x54da80[_0x1cd3('0x19a5')],'license':null,'setting':null,'crudPermissions':_0x54da80[_0x1cd3('0xd27')]}});}function _0x208e8e(_0x235eec){_0xb6b428['intDeskField'][_0x1cd3('0xa1c')]({'id':_0x235eec['id']})['$promise'][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x54da80['descriptions'],{'id':_0x235eec['id']});_0x3d20d4[_0x1cd3('0x473')]({'title':_0x1cd3('0x19e2'),'msg':_0x1cd3('0x19e3')});})['catch'](function(_0xd1c746){_0x3d20d4[_0x1cd3('0x434')]({'title':_0xd1c746['status']?'API:'+_0xd1c746[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0xd1c746['statusText']:'SYSTEM:DELETECONFIGURATIONFIELD','msg':_0xd1c746[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0xd1c746[_0x1cd3('0x439')]):_0xd1c746['toString']()});});}function _0x5498f0(_0x421bec,_0x4bd547){var _0x448f71=_0x599d1e[_0x1cd3('0xd39')]()['title'](_0x1cd3('0x19e4'))[_0x1cd3('0xd60')]('<b>Description</b>'+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x19e5'))['targetEvent'](_0x421bec)['ok']('OK')['cancel'](_0x1cd3('0xd55'));_0x599d1e['show'](_0x448f71)[_0x1cd3('0x77')](function(){_0x208e8e(_0x4bd547);},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}function _0x1061ed(_0xfde95f){var _0x599265=_0x599d1e[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x19e6'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x54da80[_0x1cd3('0x19de')][_0x1cd3('0x7a')]+_0x1cd3('0xd61')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x19e7'))[_0x1cd3('0xd63')](_0xfde95f)['ok']('OK')['cancel']('CANCEL');_0x599d1e[_0x1cd3('0x37e')](_0x599265)[_0x1cd3('0x77')](function(){_0x54da80['selectedDescriptions']['forEach'](function(_0x37871a){_0x208e8e(_0x37871a);});_0x54da80[_0x1cd3('0x19de')]=[];});}_0x54da80[_0x1cd3('0x19e8')]=[];_0x54da80['createOrEditField']=_0x340bb7;_0x54da80[_0x1cd3('0x19e9')]=_0x2a4fee;_0x54da80[_0x1cd3('0x19ea')]=_0x4c00fa;function _0x340bb7(_0x19e1e7,_0x631d8f){_0x599d1e['show']({'controller':_0x1cd3('0x19d7'),'controllerAs':'vm','templateUrl':_0x1cd3('0x19d8'),'parent':angular[_0x1cd3('0x37f')](_0xa9b062[_0x1cd3('0x380')]),'targetEvent':_0x19e1e7,'clickOutsideToClose':!![],'locals':{'type':_0x1cd3('0x450'),'item':_0x631d8f,'items':_0x54da80[_0x1cd3('0x3c7')],'configuration':_0x54da80[_0x1cd3('0x19c1')],'account':_0x54da80['deskAccount'],'license':null,'setting':null,'crudPermissions':_0x54da80[_0x1cd3('0xd27')]}});}function _0x4c4c8a(_0x2f2544){_0xb6b428[_0x1cd3('0xbd0')][_0x1cd3('0xa1c')]({'id':_0x2f2544['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x54da80[_0x1cd3('0x3c7')],{'id':_0x2f2544['id']});_0x3d20d4[_0x1cd3('0x473')]({'title':_0x1cd3('0xe40'),'msg':_0x1cd3('0x19eb')});})[_0x1cd3('0xfd')](function(_0x25a0e8){_0x3d20d4[_0x1cd3('0x434')]({'title':_0x25a0e8[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x25a0e8['status']+'\x20-\x20'+_0x25a0e8['statusText']:_0x1cd3('0x19db'),'msg':_0x25a0e8[_0x1cd3('0x439')]?JSON['stringify'](_0x25a0e8[_0x1cd3('0x439')]):_0x25a0e8[_0x1cd3('0x43b')]()});});}function _0x2a4fee(_0x14b789,_0x26ea49){var _0x11b64f=_0x599d1e[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xe3c'))[_0x1cd3('0xd60')](_0x1cd3('0x19ec')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0xe3d'))['targetEvent'](_0x14b789)['ok']('OK')[_0x1cd3('0x4d8')]('CANCEL');_0x599d1e['show'](_0x11b64f)[_0x1cd3('0x77')](function(){_0x4c4c8a(_0x26ea49);},function(){console[_0x1cd3('0x7d')]('CANCEL');});}function _0x4c00fa(_0x1059f6){var _0x25ba0f=_0x599d1e[_0x1cd3('0xd39')]()[_0x1cd3('0x486')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20fields?')[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x54da80[_0x1cd3('0x19e8')][_0x1cd3('0x7a')]+_0x1cd3('0xd61')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x19ed'))[_0x1cd3('0xd63')](_0x1059f6)['ok']('OK')['cancel'](_0x1cd3('0xd55'));_0x599d1e[_0x1cd3('0x37e')](_0x25ba0f)[_0x1cd3('0x77')](function(){_0x54da80[_0x1cd3('0x19e8')][_0x1cd3('0x394')](function(_0x123ae7){_0x4c4c8a(_0x123ae7);});_0x54da80['selectedFields']=[];});}}}());(function(){'use strict';_0x2a3950[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x53e'),_0x1cd3('0xd24'),'$mdDialog','$q',_0x1cd3('0x3f7'),_0x1cd3('0x461'),_0x1cd3('0x19c2'),_0x1cd3('0x19c1'),_0x1cd3('0x370'),'Auth',_0x1cd3('0x463'),_0x1cd3('0xc49'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x35'))[_0x1cd3('0x39b')]('CreateOrEditDeskConfigurationDialogController',_0x2a3950);function _0x2a3950(_0x586f00,_0x4f6a1b,_0x5b8048,_0x39f5cf,_0x1acf03,_0x2a706d,_0x23fdf,_0x5c0e8e,_0x4e2e14,_0x4ae308,_0x51397d,_0x16b2d2,_0x292d55,_0x1480c3){var _0x293bc6=this;_0x293bc6['currentUser']=_0x51397d[_0x1cd3('0x5d')]();_0x293bc6[_0x1cd3('0xd34')]=[];_0x293bc6['setting']=_0x292d55;_0x293bc6[_0x1cd3('0x463')]=_0x16b2d2;_0x293bc6[_0x1cd3('0xd27')]=_0x1480c3;_0x293bc6[_0x1cd3('0xd28')]={};_0x293bc6['passwordPattern']=_0x293bc6[_0x1cd3('0xc49')]&&_0x293bc6[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x293bc6[_0x1cd3('0x486')]=_0x1cd3('0x19ee');_0x293bc6[_0x1cd3('0x19c1')]=angular[_0x1cd3('0x429')](_0x4e2e14);_0x293bc6[_0x1cd3('0x19c2')]=_0x5c0e8e;_0x293bc6[_0x1cd3('0x19ef')]=![];if(!_0x293bc6['deskConfiguration']){_0x293bc6[_0x1cd3('0x19c1')]={'channel':_0x1cd3('0x121'),'type':_0x1cd3('0xa4')};_0x293bc6[_0x1cd3('0x486')]='INTEGRATIONS.NEW_DESKCONFIGURATION';_0x293bc6[_0x1cd3('0x19ef')]=!![];}_0x293bc6[_0x1cd3('0x19f0')]=_0x1c93d3;_0x293bc6[_0x1cd3('0x19f1')]=_0x2c4326;_0x293bc6[_0x1cd3('0x19c5')]=_0x1a3c0f;_0x293bc6[_0x1cd3('0xd31')]=_0x4461f2;_0x293bc6['closeDialog']=_0x489334;function _0x1c93d3(){_0x293bc6[_0x1cd3('0xd34')]=[];_0x4ae308['intDeskAccount']['addConfiguration']({'id':_0x4f6a1b[_0x1cd3('0x36a')]['id']},_0x293bc6['deskConfiguration'])['$promise'][_0x1cd3('0x77')](function(_0x3c7ecb){_0x293bc6[_0x1cd3('0x19c2')][_0x1cd3('0x621')](_0x3c7ecb[_0x1cd3('0xd32')]());_0x23fdf[_0x1cd3('0x473')]({'title':_0x1cd3('0x19f2'),'msg':_0x293bc6[_0x1cd3('0x19c1')][_0x1cd3('0x98')]?_0x293bc6[_0x1cd3('0x19c1')]['name']+_0x1cd3('0xd33'):''});_0x489334(_0x3c7ecb);})['catch'](function(_0x2227dd){if(_0x2227dd[_0x1cd3('0x439')]&&_0x2227dd[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x2227dd[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x293bc6[_0x1cd3('0xd34')]=_0x2227dd[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x2227dd[_0x1cd3('0x43b')](),'type':_0x1cd3('0x19f3')}];for(var _0x472cb9=0x0;_0x472cb9<_0x2227dd[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x472cb9+=0x1){_0x23fdf[_0x1cd3('0x434')]({'title':_0x2227dd['data'][_0x1cd3('0xd34')][_0x472cb9][_0x1cd3('0x424')],'msg':_0x2227dd[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x472cb9]['message']});}}else{_0x23fdf[_0x1cd3('0x434')]({'title':_0x2227dd['status']?_0x1cd3('0x435')+_0x2227dd[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x2227dd[_0x1cd3('0xd35')]:_0x1cd3('0x19f3'),'msg':_0x2227dd[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x2227dd[_0x1cd3('0x439')]['message']):_0x2227dd[_0x1cd3('0x43b')]()});}});}function _0x2c4326(){_0x293bc6[_0x1cd3('0xd34')]=[];_0x4ae308[_0x1cd3('0xbc9')]['update']({'id':_0x293bc6[_0x1cd3('0x19c1')]['id']},_0x293bc6[_0x1cd3('0x19c1')])['$promise']['then'](function(_0x549351){var _0xc7ada7=_['find'](_0x293bc6['configurations'],{'id':_0x549351['id']});if(_0xc7ada7){_[_0x1cd3('0xf2')](_0xc7ada7,_[_0x1cd3('0x5e8')](_0x549351[_0x1cd3('0xd32')](),_['keys'](_0xc7ada7)));}_0x23fdf[_0x1cd3('0x473')]({'title':_0x1cd3('0x19f4'),'msg':_0x293bc6[_0x1cd3('0x19c1')][_0x1cd3('0x98')]?_0x293bc6[_0x1cd3('0x19c1')][_0x1cd3('0x98')]+'\x20has\x20been\x20saved!':''});_0x489334(_0x549351);})[_0x1cd3('0xfd')](function(_0x157443){if(_0x157443['data']&&_0x157443[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x157443[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x293bc6[_0x1cd3('0xd34')]=_0x157443['data'][_0x1cd3('0xd34')]||[{'message':_0x157443[_0x1cd3('0x43b')](),'type':_0x1cd3('0x19f5')}];for(var _0x24cd78=0x0;_0x24cd78<_0x157443[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length'];_0x24cd78++){_0x23fdf[_0x1cd3('0x434')]({'title':_0x157443['data']['errors'][_0x24cd78]['type'],'msg':_0x157443[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x24cd78]['message']});}}else{_0x23fdf[_0x1cd3('0x434')]({'title':_0x157443[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x157443[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x157443['statusText']:'api.intDeskConfiguration.update','msg':_0x157443[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x157443[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x157443[_0x1cd3('0x43b')]()});}});}function _0x1a3c0f(_0x2c36eb){_0x293bc6[_0x1cd3('0xd34')]=[];var _0x5a3f18=_0x39f5cf['confirm']()[_0x1cd3('0x486')](_0x1cd3('0xd3a'))[_0x1cd3('0xd3b')]('The\x20deskConfiguration\x20will\x20be\x20deleted.')[_0x1cd3('0xd3d')](_0x1cd3('0x19f6'))['ok'](_0x1cd3('0xd3f'))['cancel'](_0x1cd3('0x674'))['targetEvent'](_0x2c36eb);_0x39f5cf['show'](_0x5a3f18)[_0x1cd3('0x77')](function(){_0x4ae308[_0x1cd3('0xbc9')]['delete']({'id':_0x293bc6[_0x1cd3('0x19c1')]['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x293bc6[_0x1cd3('0x19c2')],{'id':_0x293bc6[_0x1cd3('0x19c1')]['id']});_0x23fdf[_0x1cd3('0x473')]({'title':_0x1cd3('0x19f7'),'msg':(_0x293bc6[_0x1cd3('0x19c1')][_0x1cd3('0x98')]||_0x1cd3('0x19c1'))+_0x1cd3('0xd41')});_0x489334(_0x293bc6[_0x1cd3('0x19c1')]);})[_0x1cd3('0xfd')](function(_0x4c5cb2){if(_0x4c5cb2[_0x1cd3('0x439')]&&_0x4c5cb2[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x4c5cb2[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x293bc6[_0x1cd3('0xd34')]=_0x4c5cb2['data']['errors']||[{'message':_0x4c5cb2['toString'](),'type':'api.intDeskConfiguration.delete'}];for(var _0x10aac0=0x0;_0x10aac0<_0x4c5cb2[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0x10aac0++){_0x23fdf[_0x1cd3('0x434')]({'title':_0x4c5cb2[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x10aac0]['type'],'msg':_0x4c5cb2['data']['errors'][_0x10aac0][_0x1cd3('0x43a')]});}}else{_0x23fdf[_0x1cd3('0x434')]({'title':_0x4c5cb2[_0x1cd3('0x3a6')]?'API:'+_0x4c5cb2[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x4c5cb2['statusText']:_0x1cd3('0x19f8'),'msg':_0x4c5cb2[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x4c5cb2[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x4c5cb2[_0x1cd3('0x43a')]||_0x4c5cb2[_0x1cd3('0x43b')]()});}});},function(){});}function _0x4461f2(_0x234a31){return _0x234a31===null?undefined:new Date(_0x234a31);}function _0x489334(_0x4f010b){_0x39f5cf[_0x1cd3('0x39d')](_0x4f010b);}}}());(function(){'use strict';_0x30a3dd[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x53e'),_0x1cd3('0xd24'),'$mdDialog',_0x1cd3('0x461'),_0x1cd3('0x19f9'),_0x1cd3('0x493'),_0x1cd3('0x19fa'),_0x1cd3('0x15d3'),_0x1cd3('0x424'),_0x1cd3('0x370'),'Auth',_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x35'))[_0x1cd3('0x39b')](_0x1cd3('0x19d7'),_0x30a3dd);function _0x30a3dd(_0x31c624,_0x27f80f,_0x5efd6a,_0x16b179,_0x3c6d3a,_0x208adb,_0x363205,_0x538daa,_0x33b0b7,_0xc5a62e,_0x33e3d2,_0x27ebe7,_0x3b75f7){var _0x293a14=this;_0x293a14[_0x1cd3('0x3ca')]=_0x27ebe7[_0x1cd3('0x5d')]();_0x293a14[_0x1cd3('0xd34')]=[];_0x293a14['title']=_0x1cd3('0x19fb')+_['toUpper'](_0xc5a62e);_0x293a14[_0x1cd3('0x19fa')]=angular[_0x1cd3('0x429')](_0x538daa);_0x293a14['items']=_0x363205;_0x293a14[_0x1cd3('0x424')]=_0xc5a62e;_0x293a14[_0x1cd3('0xd27')]=_0x3b75f7;_0x293a14[_0x1cd3('0x19fc')]=![];if(!_0x293a14[_0x1cd3('0x19fa')]){_0x293a14[_0x1cd3('0x19fa')]={'type':_0x1cd3('0x961')};_0x293a14[_0x1cd3('0x19fa')][_[_0x1cd3('0x12b1')](_0xc5a62e)+'Id']=_0x208adb['id'];_0x293a14['title']=_0x1cd3('0x19fd')+_[_0x1cd3('0x19fe')](_0xc5a62e);_0x293a14[_0x1cd3('0x19fc')]=!![];}_0x293a14[_0x1cd3('0x19ff')]=_0x18f4f6;_0x293a14[_0x1cd3('0x547')]=_0x43fe2a;_0x293a14[_0x1cd3('0x548')]=_0x55219a;_0x293a14[_0x1cd3('0x1a00')]=_0xe75c1f;_0x293a14[_0x1cd3('0x39c')]=_0x1374d0;_0x33e3d2[_0x1cd3('0xb84')][_0x1cd3('0x361')]({'nolimit':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x1465e8){_0x293a14[_0x1cd3('0xef7')]=_0x1465e8['rows']?_0x1465e8[_0x1cd3('0xf6')]:[];return _0x33e3d2[_0x1cd3('0xa6d')][_0x1cd3('0xe1c')]()['$promise'];})[_0x1cd3('0x77')](function(_0x2288d0){_0x293a14[_0x1cd3('0x1a01')]=_['difference'](_[_0x1cd3('0x80')](_0x2288d0),['$promise',_0x1cd3('0xdfc'),_0x1cd3('0xe0d'),_0x1cd3('0x12fe'),_0x1cd3('0x1a02')]);_0x293a14[_0x1cd3('0x1a01')][_0x1cd3('0x7b')](_0x1cd3('0x1a03'));return _0x33e3d2[_0x1cd3('0xa69')][_0x1cd3('0xe1c')]()['$promise'];})[_0x1cd3('0x77')](function(_0x2e7969){_0x293a14[_0x1cd3('0x1a04')]=_[_0x1cd3('0x41f')](_[_0x1cd3('0x80')](_0x2e7969),['$promise','$resolved','createdAt',_0x1cd3('0x12fe'),_0x1cd3('0x1a02')]);_0x293a14[_0x1cd3('0x1a04')]['push'](_0x1cd3('0x1a03'));})[_0x1cd3('0xfd')](function(_0x196972){_0x3c6d3a[_0x1cd3('0x434')]({'title':_0x196972[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x196972[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x196972[_0x1cd3('0xd35')]:_0x1cd3('0x1a05'),'msg':_0x196972[_0x1cd3('0x439')]?JSON['stringify'](_0x196972['data']):_0x196972[_0x1cd3('0x43b')]()});});_0x33e3d2['intDeskAccount'][_0x1cd3('0xdfb')]({'id':_0x33b0b7['id'],'ticketType':_0x208adb[_0x1cd3('0x1a06')]?_0x208adb[_0x1cd3('0x1a06')]:undefined})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x35ffb9){_0x293a14[_0x1cd3('0x1a07')]=!![];_0x293a14['fields']=_0x35ffb9[_0x1cd3('0xf6')]?_0x35ffb9[_0x1cd3('0xf6')]:[];if(_0x293a14[_0x1cd3('0x19fa')][_0x1cd3('0x1a08')]){_0x293a14[_0x1cd3('0x150e')]=_[_0x1cd3('0x442')](_0x293a14[_0x1cd3('0x3c7')],{'id':_0x293a14[_0x1cd3('0x19fa')][_0x1cd3('0x1a08')]});}})[_0x1cd3('0xfd')](function(_0x43f763){_0x293a14[_0x1cd3('0x1a07')]=![];console['error'](_0x43f763);});function _0x18f4f6(){_0x293a14[_0x1cd3('0xd34')]=[];if(_0x293a14[_0x1cd3('0x150e')]){_0x293a14['item']['idField']=_0x293a14[_0x1cd3('0x150e')]['id'];_0x293a14[_0x1cd3('0x19fa')][_0x1cd3('0x1a09')]=_0x293a14[_0x1cd3('0x150e')]['name'];_0x293a14['item']['customField']=_0x293a14[_0x1cd3('0x150e')]['custom'];}_0x33e3d2[_0x1cd3('0xbd0')][_0x1cd3('0xd6d')](_0x293a14[_0x1cd3('0x19fa')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x4a87d6){_0x293a14['items'][_0x1cd3('0x621')](_0x4a87d6);_0x3c6d3a[_0x1cd3('0x473')]({'title':_[_0x1cd3('0x12b1')](_0xc5a62e)+_0x1cd3('0x1a0a'),'msg':_[_0x1cd3('0x12b1')](_0xc5a62e)+_0x1cd3('0xd33')});_0x1374d0();})[_0x1cd3('0xfd')](function(_0x27bbf8){console['error'](_0x27bbf8);_0x293a14['errors']=_0x27bbf8[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x27bbf8[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1a0b')}];});}function _0x43fe2a(){_0x293a14[_0x1cd3('0xd34')]=[];if(_0x293a14[_0x1cd3('0x150e')]){_0x293a14[_0x1cd3('0x19fa')][_0x1cd3('0x1a08')]=_0x293a14[_0x1cd3('0x150e')]['id'];_0x293a14[_0x1cd3('0x19fa')][_0x1cd3('0x1a09')]=_0x293a14['customField'][_0x1cd3('0x98')];_0x293a14[_0x1cd3('0x19fa')]['customField']=_0x293a14[_0x1cd3('0x150e')][_0x1cd3('0x8f6')];}_0x33e3d2[_0x1cd3('0xbd0')]['update']({'id':_0x293a14[_0x1cd3('0x19fa')]['id']},_0x293a14['item'])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x515fb7){var _0x43d5f5=_['find'](_0x293a14[_0x1cd3('0x493')],{'id':_0x515fb7['id']});if(_0x43d5f5){_[_0x1cd3('0xf2')](_0x43d5f5,_0x515fb7);}_0x3c6d3a[_0x1cd3('0x473')]({'title':_['capitalize'](_0xc5a62e)+'\x20properly\x20saved!','msg':_[_0x1cd3('0x12b1')](_0xc5a62e)+_0x1cd3('0xd37')});_0x1374d0();})[_0x1cd3('0xfd')](function(_0x40f650){console[_0x1cd3('0x434')](_0x40f650);_0x293a14[_0x1cd3('0xd34')]=_0x40f650[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x40f650['toString'](),'type':_0x1cd3('0x1a0c')}];});}function _0x55219a(_0x5b6499){_0x293a14[_0x1cd3('0xd34')]=[];var _0x2c4a26=_0x16b179['confirm']()[_0x1cd3('0x486')](_0x1cd3('0xd3a'))[_0x1cd3('0xd3b')](_0x1cd3('0x158a')+_0xc5a62e+_0x1cd3('0xd53'))['ariaLabel'](_0x1cd3('0x1a0d')+_[_0x1cd3('0x12b1')](_0xc5a62e))['ok'](_0x1cd3('0xd3f'))[_0x1cd3('0x4d8')](_0x1cd3('0x674'))[_0x1cd3('0xd63')](_0x5b6499);_0x16b179[_0x1cd3('0x37e')](_0x2c4a26)[_0x1cd3('0x77')](function(){_0x33e3d2[_0x1cd3('0xbd0')][_0x1cd3('0xa1c')]({'id':_0x293a14[_0x1cd3('0x19fa')]['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_['remove'](_0x293a14[_0x1cd3('0x493')],{'id':_0x293a14[_0x1cd3('0x19fa')]['id']});_0x3c6d3a[_0x1cd3('0x473')]({'title':_['capitalize'](_0xc5a62e)+_0x1cd3('0x1a0e'),'msg':_[_0x1cd3('0x12b1')](_0xc5a62e)+_0x1cd3('0xd41')});_0x1374d0();})[_0x1cd3('0xfd')](function(_0x1dca86){console[_0x1cd3('0x434')](_0x1dca86);_0x293a14[_0x1cd3('0xd34')]=_0x1dca86['data'][_0x1cd3('0xd34')]||[{'message':_0x1dca86['toString'](),'type':'api.item.delete'}];});},function(){});}function _0xe75c1f(){if(_0x293a14[_0x1cd3('0x19fa')][_0x1cd3('0x1a0f')]!==undefined){return _0x293a14[_0x1cd3('0x19fa')]['variableName'];}else{return _0x1cd3('0x1a10');}};function _0x1374d0(){_0x16b179[_0x1cd3('0x39d')]();}}}());(function(){'use strict';_0x21ff1d[_0x1cd3('0xc')]=['$state','$location',_0x1cd3('0x3c5'),'$document',_0x1cd3('0x3f7'),_0x1cd3('0x463'),'setting',_0x1cd3('0x370'),_0x1cd3('0x461'),_0x1cd3('0x56'),_0x1cd3('0x19a5'),'userProfileSection'];angular[_0x1cd3('0x0')](_0x1cd3('0x35'))[_0x1cd3('0x39b')](_0x1cd3('0x1a11'),_0x21ff1d);function _0x21ff1d(_0x3c5666,_0x7e2b6d,_0x5b22d7,_0x459d9a,_0x2063d9,_0x5381f0,_0x4d4e1c,_0x7ccc28,_0x5bfece,_0x4f9b00,_0x781389,_0xa83e0a){var _0x48bf37=this;_0x48bf37[_0x1cd3('0x3ca')]=_0x4f9b00['getCurrentUser']();_0x48bf37[_0x1cd3('0x463')]=_0x5381f0;_0x48bf37[_0x1cd3('0xc49')]=_0x4d4e1c;_0x48bf37['passwordPattern']=_0x48bf37[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x48bf37[_0x1cd3('0xd22')]=_0x7e2b6d['protocol']()+_0x1cd3('0x11cf')+_0x7e2b6d[_0x1cd3('0x3ac')]();_0x48bf37[_0x1cd3('0x19a5')]=_0x781389||_0x3c5666[_0x1cd3('0x36a')]['deskAccount']||{};_0x48bf37[_0x1cd3('0x390')]=_0xa83e0a&&_0xa83e0a[_0x1cd3('0x466')]==0x1?_0xa83e0a[_0x1cd3('0xf6')][0x0]:null;_0x48bf37[_0x1cd3('0xd27')]=_0x4f9b00[_0x1cd3('0xd44')](_0x48bf37[_0x1cd3('0x390')]?_0x48bf37['userProfileSection'][_0x1cd3('0xd27')]:null);_0x48bf37[_0x1cd3('0xd28')]={};_0x48bf37[_0x1cd3('0xe5f')]=_0x3c5666[_0x1cd3('0x36a')]['tab']||0x0;_0x48bf37['alert']=_0x5bfece['info'];_0x48bf37[_0x1cd3('0x1a12')]=_0x4a379f;_0x48bf37['saveDeskAccount']=_0x4721d6;function _0x4a379f(){_0x3c5666['go'](_0x1cd3('0x196'),{},{'reload':_0x1cd3('0x196')});}function _0x4721d6(){_0x7ccc28[_0x1cd3('0xbc4')]['update']({'id':_0x48bf37[_0x1cd3('0x19a5')]['id']},_0x48bf37[_0x1cd3('0x19a5')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x5bfece[_0x1cd3('0x473')]({'title':'DeskAccount\x20updated!','msg':_0x48bf37[_0x1cd3('0x19a5')][_0x1cd3('0x98')]?_0x48bf37[_0x1cd3('0x19a5')][_0x1cd3('0x98')]+'\x20has\x20been\x20updated!':''});})[_0x1cd3('0xfd')](function(_0x1afd93){_0x5bfece[_0x1cd3('0x434')]({'title':_0x1afd93[_0x1cd3('0x3a6')]?'API:'+_0x1afd93['status']+_0x1cd3('0x436')+_0x1afd93[_0x1cd3('0xd35')]:_0x1cd3('0x1a13'),'msg':_0x1afd93[_0x1cd3('0x439')]?JSON['stringify'](_0x1afd93[_0x1cd3('0x439')]):_0x1afd93[_0x1cd3('0x43b')]()});});}}}());(function(){'use strict';_0xc7feaf['$inject']=[_0x1cd3('0x460'),_0x1cd3('0x53e'),'$location','$mdDialog','$q','$translate',_0x1cd3('0x461'),_0x1cd3('0x1a14'),_0x1cd3('0x1a15'),_0x1cd3('0x370'),_0x1cd3('0x56'),'license',_0x1cd3('0xc49'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x35'))['controller'](_0x1cd3('0x1a16'),_0xc7feaf);function _0xc7feaf(_0x4b13ef,_0x38861b,_0x50b7c0,_0x47800a,_0x57e1b8,_0x4912ca,_0x3c9483,_0x5e85d9,_0x4131c3,_0x420fb6,_0x27c1c2,_0x559f44,_0x2c3913,_0x2f37d3){var _0x1b7b7a=this;_0x1b7b7a[_0x1cd3('0x3ca')]=_0x27c1c2[_0x1cd3('0x5d')]();_0x1b7b7a[_0x1cd3('0xd34')]=[];_0x1b7b7a[_0x1cd3('0xc49')]=_0x2c3913;_0x1b7b7a[_0x1cd3('0x463')]=_0x559f44;_0x1b7b7a[_0x1cd3('0xd27')]=_0x2f37d3;_0x1b7b7a[_0x1cd3('0xd28')]={};_0x1b7b7a[_0x1cd3('0xd29')]=_0x1b7b7a[_0x1cd3('0xc49')]&&_0x1b7b7a[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x1b7b7a['title']=_0x1cd3('0x1a17');_0x1b7b7a[_0x1cd3('0x1a15')]=angular[_0x1cd3('0x429')](_0x4131c3);_0x1b7b7a[_0x1cd3('0x1a14')]=_0x5e85d9;_0x1b7b7a['newDynamics365Account']=![];if(!_0x1b7b7a['dynamics365Account']){_0x1b7b7a[_0x1cd3('0x1a15')]={'serverUrl':_0x50b7c0['protocol']()+_0x1cd3('0x11cf')+_0x50b7c0[_0x1cd3('0x3ac')]()+(_0x50b7c0[_0x1cd3('0x3b1')]()?':'+_0x50b7c0[_0x1cd3('0x3b1')]():'')};_0x1b7b7a['title']='INTEGRATIONS.NEW_DYNAMICS365ACCOUNT';_0x1b7b7a[_0x1cd3('0x1a18')]=!![];}_0x1b7b7a['addNewDynamics365Account']=_0x5d2e1a;_0x1b7b7a['saveDynamics365Account']=_0x41be1f;_0x1b7b7a[_0x1cd3('0x1a19')]=_0x315665;_0x1b7b7a[_0x1cd3('0xd31')]=_0x1f7c79;_0x1b7b7a[_0x1cd3('0x39c')]=_0xef9ff2;function _0x5d2e1a(){_0x1b7b7a[_0x1cd3('0xd34')]=[];_0x420fb6[_0x1cd3('0xc0f')][_0x1cd3('0xd6d')](_0x1b7b7a[_0x1cd3('0x1a15')])[_0x1cd3('0x81')]['then'](function(_0x35a27a){_0x1b7b7a[_0x1cd3('0x1a14')][_0x1cd3('0x621')](_0x35a27a[_0x1cd3('0xd32')]());_0x3c9483[_0x1cd3('0x473')]({'title':_0x1cd3('0x1a1a'),'msg':_0x1b7b7a[_0x1cd3('0x1a15')][_0x1cd3('0x98')]?_0x1b7b7a['dynamics365Account'][_0x1cd3('0x98')]+_0x1cd3('0xd33'):''});_0xef9ff2(_0x35a27a);})[_0x1cd3('0xfd')](function(_0x25352b){if(_0x25352b['data']&&_0x25352b['data']['errors']&&_0x25352b[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')]){_0x1b7b7a[_0x1cd3('0xd34')]=_0x25352b[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x25352b[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1a1b')}];for(var _0x532f69=0x0;_0x532f69<_0x25352b['data'][_0x1cd3('0xd34')]['length'];_0x532f69+=0x1){_0x3c9483[_0x1cd3('0x434')]({'title':_0x25352b[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x532f69][_0x1cd3('0x424')],'msg':_0x25352b[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x532f69][_0x1cd3('0x43a')]});}}else{_0x3c9483[_0x1cd3('0x434')]({'title':_0x25352b[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x25352b[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x25352b[_0x1cd3('0xd35')]:_0x1cd3('0x1a1b'),'msg':_0x25352b[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x25352b['data'][_0x1cd3('0x43a')]):_0x25352b[_0x1cd3('0x43b')]()});}});}function _0x41be1f(){_0x1b7b7a[_0x1cd3('0xd34')]=[];_0x420fb6[_0x1cd3('0xc0f')]['update']({'id':_0x1b7b7a[_0x1cd3('0x1a15')]['id']},_0x1b7b7a[_0x1cd3('0x1a15')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x209d01){var _0x17bcc3=_['find'](_0x1b7b7a[_0x1cd3('0x1a14')],{'id':_0x209d01['id']});if(_0x17bcc3){_[_0x1cd3('0xf2')](_0x17bcc3,_[_0x1cd3('0x5e8')](_0x209d01[_0x1cd3('0xd32')](),_[_0x1cd3('0x80')](_0x17bcc3)));}_0x3c9483[_0x1cd3('0x473')]({'title':_0x1cd3('0x1a1c'),'msg':_0x1b7b7a[_0x1cd3('0x1a15')][_0x1cd3('0x98')]?_0x1b7b7a['dynamics365Account'][_0x1cd3('0x98')]+'\x20has\x20been\x20saved!':''});_0xef9ff2(_0x209d01);})['catch'](function(_0x54c313){if(_0x54c313['data']&&_0x54c313[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x54c313[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')]){_0x1b7b7a[_0x1cd3('0xd34')]=_0x54c313[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x54c313['toString'](),'type':'api.intDynamics365Account.update'}];for(var _0x14b2a9=0x0;_0x14b2a9<_0x54c313[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x14b2a9++){_0x3c9483[_0x1cd3('0x434')]({'title':_0x54c313[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x14b2a9][_0x1cd3('0x424')],'msg':_0x54c313[_0x1cd3('0x439')]['errors'][_0x14b2a9]['message']});}}else{_0x3c9483[_0x1cd3('0x434')]({'title':_0x54c313[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x54c313[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x54c313[_0x1cd3('0xd35')]:_0x1cd3('0x1a1d'),'msg':_0x54c313[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x54c313[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x54c313[_0x1cd3('0x43b')]()});}});}function _0x315665(_0x1df4cf){_0x1b7b7a[_0x1cd3('0xd34')]=[];var _0x4accc9=_0x47800a[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xd3a'))[_0x1cd3('0xd3b')](_0x1cd3('0x1a1e'))[_0x1cd3('0xd3d')](_0x1cd3('0x1a1f'))['ok'](_0x1cd3('0xd3f'))[_0x1cd3('0x4d8')](_0x1cd3('0x674'))[_0x1cd3('0xd63')](_0x1df4cf);_0x47800a[_0x1cd3('0x37e')](_0x4accc9)['then'](function(){_0x420fb6[_0x1cd3('0xc0f')]['delete']({'id':_0x1b7b7a[_0x1cd3('0x1a15')]['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x1b7b7a[_0x1cd3('0x1a14')],{'id':_0x1b7b7a[_0x1cd3('0x1a15')]['id']});_0x3c9483[_0x1cd3('0x473')]({'title':'Dynamics365Account\x20properly\x20deleted!','msg':(_0x1b7b7a[_0x1cd3('0x1a15')][_0x1cd3('0x98')]||_0x1cd3('0x1a15'))+_0x1cd3('0xd41')});_0xef9ff2(_0x1b7b7a[_0x1cd3('0x1a15')]);})[_0x1cd3('0xfd')](function(_0xee51d3){if(_0xee51d3['data']&&_0xee51d3['data']['errors']&&_0xee51d3[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x1b7b7a['errors']=_0xee51d3[_0x1cd3('0x439')]['errors']||[{'message':_0xee51d3[_0x1cd3('0x43b')](),'type':'api.intDynamics365Account.delete'}];for(var _0x36ff55=0x0;_0x36ff55<_0xee51d3[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x36ff55++){_0x3c9483[_0x1cd3('0x434')]({'title':_0xee51d3[_0x1cd3('0x439')]['errors'][_0x36ff55][_0x1cd3('0x424')],'msg':_0xee51d3[_0x1cd3('0x439')]['errors'][_0x36ff55][_0x1cd3('0x43a')]});}}else{_0x3c9483['error']({'title':_0xee51d3[_0x1cd3('0x3a6')]?'API:'+_0xee51d3[_0x1cd3('0x3a6')]+'\x20-\x20'+_0xee51d3[_0x1cd3('0xd35')]:_0x1cd3('0x1a20'),'msg':_0xee51d3[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0xee51d3[_0x1cd3('0x439')]['message']):_0xee51d3[_0x1cd3('0x43a')]||_0xee51d3[_0x1cd3('0x43b')]()});}});},function(){});}function _0x1f7c79(_0x2eb001){return _0x2eb001===null?undefined:new Date(_0x2eb001);}function _0xef9ff2(_0x15cdaf){_0x47800a['hide'](_0x15cdaf);}}}());(function(){'use strict';_0x17c404[_0x1cd3('0xc')]=['$scope',_0x1cd3('0x371'),_0x1cd3('0x53e'),_0x1cd3('0x969'),_0x1cd3('0x3c5'),_0x1cd3('0x372'),_0x1cd3('0x3e7'),_0x1cd3('0x3f7'),_0x1cd3('0x1a14'),_0x1cd3('0x38a'),_0x1cd3('0x390'),_0x1cd3('0x370'),'msUtils','toasty',_0x1cd3('0x56'),_0x1cd3('0x463'),_0x1cd3('0xc49')];angular[_0x1cd3('0x0')](_0x1cd3('0x35'))[_0x1cd3('0x39b')]('Dynamics365AccountsController',_0x17c404);function _0x17c404(_0x297a77,_0x2d2581,_0x546be9,_0x394e0a,_0x384357,_0x48ed8a,_0x59375a,_0x3cec4d,_0x2d1753,_0x5d3790,_0x550f6b,_0x16c6fe,_0x437763,_0x16d735,_0x2bec80,_0x43a09e,_0x9d5f7e){var _0x3be97d=this;_0x3be97d[_0x1cd3('0x463')]=_0x43a09e;_0x3be97d['setting']=_0x9d5f7e;_0x3be97d[_0x1cd3('0x3ca')]=_0x2bec80[_0x1cd3('0x5d')]();_0x3be97d[_0x1cd3('0x1a14')]=_0x2d1753||{'count':0x0,'rows':[]};_0x3be97d[_0x1cd3('0x38a')]=_0x5d3790;_0x3be97d[_0x1cd3('0x390')]=_0x550f6b&&_0x550f6b[_0x1cd3('0x466')]==0x1?_0x550f6b[_0x1cd3('0xf6')][0x0]:null;_0x3be97d[_0x1cd3('0xd27')]=_0x2bec80[_0x1cd3('0xd44')](_0x3be97d[_0x1cd3('0x390')]?_0x3be97d[_0x1cd3('0x390')]['crudPermissions']:null);_0x3be97d[_0x1cd3('0xd45')]=_0x1cd3('0x1a14');_0x3be97d[_0x1cd3('0xd46')]='';_0x3be97d[_0x1cd3('0xd47')]=null;_0x3be97d[_0x1cd3('0x1a21')]=[];_0x3be97d['query']={'fields':_0x1cd3('0x1ac'),'limit':0xa,'page':0x1};_0x3be97d['editstate']=_0x51d776;_0x3be97d['testtestintegrationaccount']=_0x7e9488;_0x3be97d[_0x1cd3('0xecc')]=_0x4fbbb8;_0x3be97d[_0x1cd3('0x473')]=_0x1a4e86;_0x3be97d[_0x1cd3('0x1a22')]=_0x2c422d;_0x3be97d[_0x1cd3('0x1a23')]=_0x60d413;_0x3be97d[_0x1cd3('0x1a19')]=_0x727e7b;_0x3be97d[_0x1cd3('0x1a24')]=_0x160c05;_0x3be97d[_0x1cd3('0x1a25')]=_0x33ec3c;_0x3be97d[_0x1cd3('0x1a26')]=_0x59d2a5;_0x3be97d['selectAllDynamics365Accounts']=_0x3201f6;function _0x51d776(_0x3ca538,_0x114801){_0x546be9['go'](_0x1cd3('0x1ae'),{'id':_0x3ca538['id'],'dynamics365Account':_0x3ca538,'crudPermissions':_0x3be97d['crudPermissions']});}function _0x7e9488(_0x5d7d3c,_0x5cd9eb){return _0x16c6fe['intDynamics365Account'][_0x1cd3('0xdfb')]({'id':_0x5d7d3c['id'],'test':!![]})['$promise'][_0x1cd3('0x77')](function(){_0x16d735[_0x1cd3('0x473')]({'title':_0x1cd3('0x1a27'),'msg':_0x1cd3('0x1a28')});})[_0x1cd3('0xfd')](function(_0x114bae){_0x16d735[_0x1cd3('0x434')]({'title':'Dynamics365Account\x20properly\x20tested','msg':_0x114bae['data']?_0x114bae[_0x1cd3('0x439')][_0x1cd3('0x43a')]?_0x114bae[_0x1cd3('0x439')][_0x1cd3('0x43a')]:JSON[_0x1cd3('0x438')](_0x114bae['data']):_0x114bae[_0x1cd3('0x43b')]()});});}function _0x4fbbb8(_0xe04f39,_0x243263){var _0x29e9f9=_0x384357['confirm']()[_0x1cd3('0x486')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20'+_['startCase'](_0x1cd3('0x1a15'))+'?')[_0x1cd3('0xd60')](_0x1cd3('0xd51')+(_0xe04f39['name']||'dynamics365Account')+_0x1cd3('0xd52')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')]('delete\x20dynamics365Account')[_0x1cd3('0xd63')](_0x243263)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x384357[_0x1cd3('0x37e')](_0x29e9f9)[_0x1cd3('0x77')](function(){_0x727e7b(_0xe04f39);},function(){console[_0x1cd3('0x7d')]('CANCEL');});}var _0x24daa4=!![];var _0x297eb8=0x1;_0x297a77['$watch'](_0x1cd3('0xd56'),function(_0x3d4f15,_0x455937){if(_0x24daa4){_0x59375a(function(){_0x24daa4=![];});}else{if(!_0x455937){_0x297eb8=_0x3be97d['query']['page'];}if(_0x3d4f15!==_0x455937){_0x3be97d['query'][_0x1cd3('0x8fd')]=0x1;}if(!_0x3d4f15){_0x3be97d['query']['page']=_0x297eb8;}_0x3be97d[_0x1cd3('0x1a22')]();}});function _0x1a4e86(_0x471c50){_0x3be97d[_0x1cd3('0x1a14')]=_0x471c50||{'count':0x0,'rows':[]};}function _0x2c422d(){_0x3be97d[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0x3be97d[_0x1cd3('0x3d4')]['page']-0x1)*_0x3be97d[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];if(_0x2bec80['hasRole'](_0x1cd3('0x5f'))){_0x3be97d[_0x1cd3('0x539')]=_0x16c6fe[_0x1cd3('0xc0f')][_0x1cd3('0x361')](_0x3be97d['query'],_0x1a4e86)[_0x1cd3('0x81')];}else{_0x3be97d['query']['id']=_0x3be97d[_0x1cd3('0x38a')]['id'];_0x3be97d[_0x1cd3('0x3d4')]['section']=_0x1cd3('0x1ad');_0x3be97d[_0x1cd3('0x539')]=_0x16c6fe['userProfile']['getResources'](_0x3be97d[_0x1cd3('0x3d4')],_0x1a4e86)[_0x1cd3('0x81')];}}function _0x60d413(_0x4f2116,_0x18db21){_0x384357[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1a16'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1a29'),'parent':angular[_0x1cd3('0x37f')](_0x48ed8a['body']),'targetEvent':_0x4f2116,'clickOutsideToClose':!![],'locals':{'dynamics365Account':_0x18db21,'dynamics365Accounts':_0x3be97d[_0x1cd3('0x1a14')][_0x1cd3('0xf6')],'license':_0x3be97d[_0x1cd3('0x463')],'setting':_0x3be97d[_0x1cd3('0xc49')],'crudPermissions':_0x3be97d[_0x1cd3('0xd27')]}});}function _0x727e7b(_0x48925a){_0x16c6fe['intDynamics365Account'][_0x1cd3('0xa1c')]({'id':_0x48925a['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_['remove'](_0x3be97d['dynamics365Accounts'][_0x1cd3('0xf6')],{'id':_0x48925a['id']});_0x3be97d['dynamics365Accounts'][_0x1cd3('0x466')]-=0x1;if(!_0x3be97d['dynamics365Accounts']['rows'][_0x1cd3('0x7a')]){_0x3be97d[_0x1cd3('0x1a22')]();}_0x16d735[_0x1cd3('0x473')]({'title':_['startCase'](_0x1cd3('0x1a2a'))+_0x1cd3('0xd5c'),'msg':_0x48925a[_0x1cd3('0x98')]?_0x48925a['name']+_0x1cd3('0xd41'):''});})[_0x1cd3('0xfd')](function(_0x4ddafc){if(_0x4ddafc[_0x1cd3('0x439')]&&_0x4ddafc[_0x1cd3('0x439')]['errors']&&_0x4ddafc['data'][_0x1cd3('0xd34')]['length']){_0x3be97d[_0x1cd3('0xd34')]=_0x4ddafc[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x4ddafc[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1a2b')}];for(var _0x42d8a1=0x0;_0x42d8a1<_0x4ddafc[_0x1cd3('0x439')]['errors']['length'];_0x42d8a1++){_0x16d735[_0x1cd3('0x434')]({'title':_0x4ddafc[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x42d8a1][_0x1cd3('0x424')],'msg':_0x4ddafc[_0x1cd3('0x439')]['errors'][_0x42d8a1][_0x1cd3('0x43a')]});}}else{_0x16d735[_0x1cd3('0x434')]({'title':_0x4ddafc[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x4ddafc[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x4ddafc[_0x1cd3('0xd35')]:_0x1cd3('0x1a2b'),'msg':_0x4ddafc[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x4ddafc['data'][_0x1cd3('0x43a')]):_0x4ddafc[_0x1cd3('0x43a')]||_0x4ddafc[_0x1cd3('0x43b')]()});}});}function _0x160c05(){var _0x263b30=angular['copy'](_0x3be97d[_0x1cd3('0x1a21')]);_0x3be97d[_0x1cd3('0x1a21')]=[];return _0x263b30;}function _0x33ec3c(_0x195a0f){var _0x41b59a=_0x384357['confirm']()[_0x1cd3('0x486')](_0x1cd3('0x1a2c'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x3be97d[_0x1cd3('0x1a21')][_0x1cd3('0x7a')]+_0x1cd3('0xd61')+_0x1cd3('0xd53'))['ariaLabel'](_0x1cd3('0x1a2d'))[_0x1cd3('0xd63')](_0x195a0f)['ok']('OK')['cancel'](_0x1cd3('0xd55'));_0x384357[_0x1cd3('0x37e')](_0x41b59a)[_0x1cd3('0x77')](function(){_0x3be97d[_0x1cd3('0x1a21')][_0x1cd3('0x394')](function(_0xcaf8d4){_0x727e7b(_0xcaf8d4);});_0x3be97d[_0x1cd3('0x1a21')]=[];});}function _0x59d2a5(){_0x3be97d[_0x1cd3('0x1a21')]=[];}function _0x3201f6(){_0x3be97d[_0x1cd3('0x1a21')]=_0x3be97d[_0x1cd3('0x1a14')][_0x1cd3('0xf6')];}}}());(function(){'use strict';_0x16b800[_0x1cd3('0xc')]=['$mdDialog',_0x1cd3('0x372'),'api','toasty','Auth'];angular[_0x1cd3('0x0')](_0x1cd3('0x35'))['controller'](_0x1cd3('0x1a2e'),_0x16b800);function _0x16b800(_0xd68221,_0x1ede10,_0x316bbb,_0x526f68,_0x5f09a2){var _0x143f61=this;_0x143f61['currentUser']=_0x5f09a2[_0x1cd3('0x5d')]();_0x143f61['dynamics365Account']={};_0x143f61['dynamics365Configuration']={};_0x143f61['configurations']=[];_0x143f61[_0x1cd3('0x1a2f')]=-0x1;_0x143f61[_0x1cd3('0xd27')];_0x143f61['init']=_0xbcb676;_0x143f61['getDynamics365Configuration']=_0x3a9cb4;_0x143f61['createOrEditDynamics365Configuration']=_0x37f3c0;_0x143f61['deleteDynamics365Configuration']=_0x3cb243;function _0xbcb676(_0x4a17f8,_0x48d49f){_0x143f61[_0x1cd3('0x1a15')]=_0x4a17f8;_0x143f61[_0x1cd3('0xd27')]=typeof _0x48d49f!=='undefined'?_0x48d49f:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x316bbb['intDynamics365Account'][_0x1cd3('0x19c8')]({'id':_0x143f61['dynamics365Account']['id'],'sort':_0x1cd3('0x5b')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x374efe){_0x143f61[_0x1cd3('0x19c2')]=_0x374efe['rows']?_0x374efe['rows']:[];if(_0x143f61[_0x1cd3('0x19c2')][_0x1cd3('0x7a')]){_0x143f61[_0x1cd3('0x1a30')](0x0);}return _0x316bbb[_0x1cd3('0xb84')][_0x1cd3('0x361')]({'nolimit':!![],'sort':_0x1cd3('0x98')})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x141d35){_0x143f61[_0x1cd3('0xef7')]=_0x141d35[_0x1cd3('0xf6')]?_0x141d35[_0x1cd3('0xf6')]:[];_0x143f61[_0x1cd3('0x19ca')]=_['keyBy'](_0x143f61[_0x1cd3('0xef7')],'id');})[_0x1cd3('0xfd')](function(_0x7b381){_0x526f68['error']({'title':_0x7b381[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x7b381['status']+_0x1cd3('0x436')+_0x7b381[_0x1cd3('0xd35')]:'SYSTEM:GETCONFIGURATION','msg':_0x7b381[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x7b381['data']):_0x7b381['toString']()});});}function _0x3a9cb4(_0x523f07){_0x143f61['dynamics365Configuration']=_0x143f61[_0x1cd3('0x19c2')][_0x523f07];_0x143f61[_0x1cd3('0x1a2f')]=_0x523f07;_0x316bbb['intDynamics365Configuration'][_0x1cd3('0x1a31')]({'id':_0x143f61['dynamics365Configuration']['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x3eda5e){_0x143f61[_0x1cd3('0x19d9')]=_0x3eda5e[_0x1cd3('0xf6')]?_0x3eda5e[_0x1cd3('0xf6')]:[];return _0x316bbb['intDynamics365Configuration'][_0x1cd3('0x19cc')]({'id':_0x143f61['dynamics365Configuration']['id']})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x11b02d){_0x143f61[_0x1cd3('0x19cd')]=_0x11b02d[_0x1cd3('0xf6')]?_0x11b02d['rows']:[];return _0x316bbb[_0x1cd3('0xc13')][_0x1cd3('0xdfb')]({'id':_0x143f61['dynamics365Configuration']['id']})['$promise'];})[_0x1cd3('0x77')](function(_0x5d0f4b){_0x143f61[_0x1cd3('0x3c7')]=_0x5d0f4b[_0x1cd3('0xf6')]?_0x5d0f4b[_0x1cd3('0xf6')]:[];})['catch'](function(_0x210e3f){_0x526f68[_0x1cd3('0x434')]({'title':_0x210e3f[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x210e3f[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x210e3f[_0x1cd3('0xd35')]:_0x1cd3('0x19ce'),'msg':_0x210e3f[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x210e3f[_0x1cd3('0x439')]):_0x210e3f[_0x1cd3('0x43b')]()});});}function _0x37f3c0(_0x51ca6d,_0x11586a){_0xd68221[_0x1cd3('0x37e')]({'controller':'CreateOrEditDynamics365ConfigurationDialogController','controllerAs':'vm','templateUrl':_0x1cd3('0x1a32'),'parent':angular[_0x1cd3('0x37f')](_0x1ede10['body']),'targetEvent':_0x51ca6d,'clickOutsideToClose':!![],'locals':{'dynamics365Configuration':_0x11586a,'configurations':_0x143f61[_0x1cd3('0x19c2')],'license':null,'setting':null,'crudPermissions':_0x143f61[_0x1cd3('0xd27')]}})['finally'](function(){_0x143f61[_0x1cd3('0x1a30')](0x0);});}function _0x3cb243(_0x375c3d,_0x3848f0){var _0x550fc4=_0xd68221[_0x1cd3('0xd39')]()['title'](_0x1cd3('0x1a33'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+(_0x3848f0[_0x1cd3('0x98')]||_0x1cd3('0x1a34'))+'</b>'+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')]('delete\x20dynamics365Configuration')[_0x1cd3('0xd63')](_0x375c3d)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0xd68221[_0x1cd3('0x37e')](_0x550fc4)[_0x1cd3('0x77')](function(){_0x316bbb['intDynamics365Configuration'][_0x1cd3('0xa1c')]({'id':_0x3848f0['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x143f61[_0x1cd3('0x19c2')],{'id':_0x3848f0['id']});_0x526f68[_0x1cd3('0x473')]({'title':_0x1cd3('0x1a35'),'msg':_0x3848f0['name']?_0x3848f0[_0x1cd3('0x98')]+_0x1cd3('0xd41'):''});})[_0x1cd3('0xfd')](function(_0x499387){_0x526f68[_0x1cd3('0x434')]({'title':_0x499387[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x499387[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x499387[_0x1cd3('0xd35')]:_0x1cd3('0x1a36'),'msg':_0x499387[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x499387[_0x1cd3('0x439')]):_0x499387['toString']()});})[_0x1cd3('0x5dd')](function(){_0x143f61['getDynamics365Configuration'](0x0);});},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}_0x143f61['selectedSubjects']=[];_0x143f61[_0x1cd3('0x1a37')]=_0x40e203;_0x143f61[_0x1cd3('0x1a38')]=_0x290fe5;_0x143f61[_0x1cd3('0x19d6')]=_0x573b3d;function _0x40e203(_0x4512c9,_0x1b5a24){_0xd68221['show']({'controller':_0x1cd3('0x1a39'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1a3a'),'parent':angular['element'](_0x1ede10[_0x1cd3('0x380')]),'targetEvent':_0x4512c9,'clickOutsideToClose':!![],'locals':{'type':_0x1cd3('0x1327'),'item':_0x1b5a24,'items':_0x143f61[_0x1cd3('0x19d9')],'configuration':_0x143f61[_0x1cd3('0x1a34')],'account':_0x143f61[_0x1cd3('0x1a15')],'license':null,'setting':null,'crudPermissions':_0x143f61['crudPermissions']}});}function _0x5588fe(_0x58d900){_0x316bbb['intDynamics365Field'][_0x1cd3('0xa1c')]({'id':_0x58d900['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x143f61['subjects'],{'id':_0x58d900['id']});_0x526f68['success']({'title':_0x1cd3('0x1a3b'),'msg':_0x1cd3('0x19da')});})[_0x1cd3('0xfd')](function(_0x4c0517){_0x526f68[_0x1cd3('0x434')]({'title':_0x4c0517[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x4c0517['status']+_0x1cd3('0x436')+_0x4c0517['statusText']:_0x1cd3('0x19db'),'msg':_0x4c0517['data']?JSON['stringify'](_0x4c0517[_0x1cd3('0x439')]):_0x4c0517['toString']()});});}function _0x290fe5(_0x2e029b,_0x8da0fb){var _0x5e2ced=_0xd68221[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x1a3c'))['htmlContent']('<b>Subject</b>'+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x1a3d'))[_0x1cd3('0xd63')](_0x2e029b)['ok']('OK')['cancel'](_0x1cd3('0xd55'));_0xd68221[_0x1cd3('0x37e')](_0x5e2ced)[_0x1cd3('0x77')](function(){_0x5588fe(_0x8da0fb);},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}function _0x573b3d(_0x33cb9f){var _0x3541e8=_0xd68221[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x19dd'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x143f61[_0x1cd3('0x19d5')][_0x1cd3('0x7a')]+'\x20selected</b>'+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x1a3e'))['targetEvent'](_0x33cb9f)['ok']('OK')['cancel']('CANCEL');_0xd68221['show'](_0x3541e8)[_0x1cd3('0x77')](function(){_0x143f61[_0x1cd3('0x19d5')][_0x1cd3('0x394')](function(_0x3f9fad){_0x5588fe(_0x3f9fad);});_0x143f61['selectedSubjects']=[];});}_0x143f61[_0x1cd3('0x19de')]=[];_0x143f61['createOrEditDescription']=_0xb436a4;_0x143f61['deleteDescriptionConfirm']=_0x1dcef4;_0x143f61[_0x1cd3('0x19e1')]=_0x33d44c;function _0xb436a4(_0x402bae,_0xeeefde){_0xd68221[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1a39'),'controllerAs':'vm','templateUrl':'app/main/apps/integrations/views/dynamics365Accounts/edit/item/dialog.html','parent':angular['element'](_0x1ede10['body']),'targetEvent':_0x402bae,'clickOutsideToClose':!![],'locals':{'type':_0x1cd3('0xde1'),'item':_0xeeefde,'items':_0x143f61[_0x1cd3('0x19cd')],'configuration':_0x143f61[_0x1cd3('0x1a34')],'account':_0x143f61[_0x1cd3('0x1a15')],'license':null,'setting':null,'crudPermissions':_0x143f61['crudPermissions']}});}function _0x25bcd0(_0x1e43b1){_0x316bbb[_0x1cd3('0xc19')]['delete']({'id':_0x1e43b1['id']})[_0x1cd3('0x81')]['then'](function(){_[_0x1cd3('0x383')](_0x143f61['descriptions'],{'id':_0x1e43b1['id']});_0x526f68[_0x1cd3('0x473')]({'title':_0x1cd3('0x19e2'),'msg':_0x1cd3('0x19e3')});})[_0x1cd3('0xfd')](function(_0x2deaab){_0x526f68['error']({'title':_0x2deaab[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x2deaab[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x2deaab[_0x1cd3('0xd35')]:_0x1cd3('0x19db'),'msg':_0x2deaab[_0x1cd3('0x439')]?JSON['stringify'](_0x2deaab[_0x1cd3('0x439')]):_0x2deaab[_0x1cd3('0x43b')]()});});}function _0x1dcef4(_0x4dc104,_0x3959d8){var _0x1a5c1e=_0xd68221[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x19e4'))[_0x1cd3('0xd60')]('<b>Description</b>'+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x19e5'))[_0x1cd3('0xd63')](_0x4dc104)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0xd68221[_0x1cd3('0x37e')](_0x1a5c1e)['then'](function(){_0x25bcd0(_0x3959d8);},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}function _0x33d44c(_0x186bc1){var _0x35a43c=_0xd68221['confirm']()[_0x1cd3('0x486')](_0x1cd3('0x19e6'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x143f61['selectedDescriptions'][_0x1cd3('0x7a')]+_0x1cd3('0xd61')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x19e7'))[_0x1cd3('0xd63')](_0x186bc1)['ok']('OK')['cancel'](_0x1cd3('0xd55'));_0xd68221['show'](_0x35a43c)[_0x1cd3('0x77')](function(){_0x143f61[_0x1cd3('0x19de')][_0x1cd3('0x394')](function(_0x4deaad){_0x25bcd0(_0x4deaad);});_0x143f61[_0x1cd3('0x19de')]=[];});}_0x143f61[_0x1cd3('0x19e8')]=[];_0x143f61[_0x1cd3('0x1a3f')]=_0x5f08dd;_0x143f61[_0x1cd3('0x19e9')]=_0x59c3ac;_0x143f61[_0x1cd3('0x19ea')]=_0x35979f;function _0x5f08dd(_0x5abc93,_0x27432a){_0xd68221[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1a39'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1a3a'),'parent':angular[_0x1cd3('0x37f')](_0x1ede10['body']),'targetEvent':_0x5abc93,'clickOutsideToClose':!![],'locals':{'type':_0x1cd3('0x450'),'item':_0x27432a,'items':_0x143f61[_0x1cd3('0x3c7')],'configuration':_0x143f61[_0x1cd3('0x1a34')],'account':_0x143f61['dynamics365Account'],'license':null,'setting':null,'crudPermissions':_0x143f61[_0x1cd3('0xd27')]}});}function _0x35420b(_0x4e9baf){_0x316bbb[_0x1cd3('0xc19')][_0x1cd3('0xa1c')]({'id':_0x4e9baf['id']})['$promise'][_0x1cd3('0x77')](function(){_['remove'](_0x143f61['fields'],{'id':_0x4e9baf['id']});_0x526f68[_0x1cd3('0x473')]({'title':_0x1cd3('0xe40'),'msg':_0x1cd3('0x19eb')});})[_0x1cd3('0xfd')](function(_0x1235fa){_0x526f68['error']({'title':_0x1235fa[_0x1cd3('0x3a6')]?'API:'+_0x1235fa[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x1235fa[_0x1cd3('0xd35')]:_0x1cd3('0x19db'),'msg':_0x1235fa['data']?JSON[_0x1cd3('0x438')](_0x1235fa[_0x1cd3('0x439')]):_0x1235fa[_0x1cd3('0x43b')]()});});}function _0x59c3ac(_0xfb6273,_0x1fd0a6){var _0x26894d=_0xd68221[_0x1cd3('0xd39')]()['title'](_0x1cd3('0xe3c'))[_0x1cd3('0xd60')](_0x1cd3('0x19ec')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0xe3d'))[_0x1cd3('0xd63')](_0xfb6273)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0xd68221[_0x1cd3('0x37e')](_0x26894d)[_0x1cd3('0x77')](function(){_0x35420b(_0x1fd0a6);},function(){console[_0x1cd3('0x7d')]('CANCEL');});}function _0x35979f(_0x46fc79){var _0x1c2dd3=_0xd68221['confirm']()[_0x1cd3('0x486')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20fields?')[_0x1cd3('0xd60')]('<b>'+_0x143f61[_0x1cd3('0x19e8')][_0x1cd3('0x7a')]+'\x20selected</b>'+'\x20will\x20be\x20deleted.')[_0x1cd3('0xd3d')](_0x1cd3('0x19ed'))[_0x1cd3('0xd63')](_0x46fc79)['ok']('OK')['cancel']('CANCEL');_0xd68221[_0x1cd3('0x37e')](_0x1c2dd3)[_0x1cd3('0x77')](function(){_0x143f61[_0x1cd3('0x19e8')][_0x1cd3('0x394')](function(_0x2cda50){_0x35420b(_0x2cda50);});_0x143f61[_0x1cd3('0x19e8')]=[];});}}}());(function(){'use strict';_0x2831ce[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x53e'),_0x1cd3('0xd24'),_0x1cd3('0x3c5'),'$q','$translate',_0x1cd3('0x461'),_0x1cd3('0x19c2'),_0x1cd3('0x1a34'),_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0x463'),_0x1cd3('0xc49'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x35'))[_0x1cd3('0x39b')](_0x1cd3('0x1a40'),_0x2831ce);function _0x2831ce(_0x49f3bd,_0xd262db,_0x1cf3df,_0xac5cd1,_0x338622,_0x27bdd0,_0x126842,_0xa8a8f2,_0x40fcb6,_0x532945,_0x55ff1d,_0x18633,_0x12a21a,_0x1abe8f){var _0x5664ca=this;_0x5664ca['currentUser']=_0x55ff1d['getCurrentUser']();_0x5664ca['errors']=[];_0x5664ca[_0x1cd3('0xc49')]=_0x12a21a;_0x5664ca[_0x1cd3('0x463')]=_0x18633;_0x5664ca['crudPermissions']=_0x1abe8f;_0x5664ca[_0x1cd3('0xd28')]={};_0x5664ca[_0x1cd3('0xd29')]=_0x5664ca[_0x1cd3('0xc49')]&&_0x5664ca[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x5664ca[_0x1cd3('0x486')]=_0x1cd3('0x1a41');_0x5664ca[_0x1cd3('0x1a34')]=angular[_0x1cd3('0x429')](_0x40fcb6);_0x5664ca[_0x1cd3('0x19c2')]=_0xa8a8f2;_0x5664ca['newDynamics365Configuration']=![];if(!_0x5664ca[_0x1cd3('0x1a34')]){_0x5664ca[_0x1cd3('0x1a34')]={'channel':_0x1cd3('0x121'),'type':'inbound','ticketType':_0x1cd3('0x1a42')};_0x5664ca[_0x1cd3('0x486')]=_0x1cd3('0x1a43');_0x5664ca[_0x1cd3('0x1a44')]=!![];}_0x5664ca[_0x1cd3('0x1a45')]=_0x33474b;_0x5664ca[_0x1cd3('0x1a46')]=_0x4050aa;_0x5664ca[_0x1cd3('0x1a47')]=_0x2d2639;_0x5664ca[_0x1cd3('0xd31')]=_0x503928;_0x5664ca['closeDialog']=_0xd36c01;function _0x33474b(){_0x5664ca[_0x1cd3('0xd34')]=[];_0x532945['intDynamics365Account'][_0x1cd3('0x1a48')]({'id':_0xd262db[_0x1cd3('0x36a')]['id']},_0x5664ca[_0x1cd3('0x1a34')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x123554){_0x5664ca['configurations'][_0x1cd3('0x621')](_0x123554[_0x1cd3('0xd32')]());_0x126842[_0x1cd3('0x473')]({'title':_0x1cd3('0x1a49'),'msg':_0x5664ca[_0x1cd3('0x1a34')][_0x1cd3('0x98')]?_0x5664ca[_0x1cd3('0x1a34')][_0x1cd3('0x98')]+_0x1cd3('0xd33'):''});_0xd36c01(_0x123554);})['catch'](function(_0x1ad2d4){if(_0x1ad2d4['data']&&_0x1ad2d4[_0x1cd3('0x439')]['errors']&&_0x1ad2d4[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x5664ca['errors']=_0x1ad2d4[_0x1cd3('0x439')]['errors']||[{'message':_0x1ad2d4['toString'](),'type':_0x1cd3('0x1a4a')}];for(var _0x19af1d=0x0;_0x19af1d<_0x1ad2d4['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x19af1d+=0x1){_0x126842[_0x1cd3('0x434')]({'title':_0x1ad2d4[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x19af1d][_0x1cd3('0x424')],'msg':_0x1ad2d4[_0x1cd3('0x439')]['errors'][_0x19af1d][_0x1cd3('0x43a')]});}}else{_0x126842[_0x1cd3('0x434')]({'title':_0x1ad2d4[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x1ad2d4[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x1ad2d4[_0x1cd3('0xd35')]:_0x1cd3('0x1a4a'),'msg':_0x1ad2d4[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x1ad2d4[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x1ad2d4[_0x1cd3('0x43b')]()});}});}function _0x4050aa(){_0x5664ca[_0x1cd3('0xd34')]=[];_0x532945[_0x1cd3('0xc13')]['update']({'id':_0x5664ca['dynamics365Configuration']['id']},_0x5664ca[_0x1cd3('0x1a34')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0xefc114){var _0x577bb3=_[_0x1cd3('0x442')](_0x5664ca[_0x1cd3('0x19c2')],{'id':_0xefc114['id']});if(_0x577bb3){_['merge'](_0x577bb3,_[_0x1cd3('0x5e8')](_0xefc114['toJSON'](),_['keys'](_0x577bb3)));}_0x126842['success']({'title':_0x1cd3('0x1a4b'),'msg':_0x5664ca[_0x1cd3('0x1a34')][_0x1cd3('0x98')]?_0x5664ca['dynamics365Configuration']['name']+_0x1cd3('0xd37'):''});_0xd36c01(_0xefc114);})[_0x1cd3('0xfd')](function(_0x3f7955){if(_0x3f7955['data']&&_0x3f7955[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x3f7955[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x5664ca[_0x1cd3('0xd34')]=_0x3f7955[_0x1cd3('0x439')]['errors']||[{'message':_0x3f7955[_0x1cd3('0x43b')](),'type':'api.intDynamics365Configuration.update'}];for(var _0x1e6d8e=0x0;_0x1e6d8e<_0x3f7955['data']['errors'][_0x1cd3('0x7a')];_0x1e6d8e++){_0x126842[_0x1cd3('0x434')]({'title':_0x3f7955['data'][_0x1cd3('0xd34')][_0x1e6d8e]['type'],'msg':_0x3f7955[_0x1cd3('0x439')]['errors'][_0x1e6d8e][_0x1cd3('0x43a')]});}}else{_0x126842[_0x1cd3('0x434')]({'title':_0x3f7955[_0x1cd3('0x3a6')]?'API:'+_0x3f7955[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x3f7955[_0x1cd3('0xd35')]:_0x1cd3('0x1a4c'),'msg':_0x3f7955[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x3f7955[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x3f7955[_0x1cd3('0x43b')]()});}});}function _0x2d2639(_0x8ecf30){_0x5664ca[_0x1cd3('0xd34')]=[];var _0x381657=_0xac5cd1['confirm']()[_0x1cd3('0x486')](_0x1cd3('0xd3a'))[_0x1cd3('0xd3b')]('The\x20dynamics365Configuration\x20will\x20be\x20deleted.')[_0x1cd3('0xd3d')](_0x1cd3('0x1a4d'))['ok'](_0x1cd3('0xd3f'))[_0x1cd3('0x4d8')](_0x1cd3('0x674'))['targetEvent'](_0x8ecf30);_0xac5cd1[_0x1cd3('0x37e')](_0x381657)[_0x1cd3('0x77')](function(){_0x532945['intDynamics365Configuration'][_0x1cd3('0xa1c')]({'id':_0x5664ca[_0x1cd3('0x1a34')]['id']})[_0x1cd3('0x81')]['then'](function(){_[_0x1cd3('0x383')](_0x5664ca['configurations'],{'id':_0x5664ca[_0x1cd3('0x1a34')]['id']});_0x126842[_0x1cd3('0x473')]({'title':_0x1cd3('0x1a4e'),'msg':(_0x5664ca[_0x1cd3('0x1a34')][_0x1cd3('0x98')]||_0x1cd3('0x1a34'))+_0x1cd3('0xd41')});_0xd36c01(_0x5664ca[_0x1cd3('0x1a34')]);})[_0x1cd3('0xfd')](function(_0x60e258){if(_0x60e258[_0x1cd3('0x439')]&&_0x60e258[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x60e258[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length']){_0x5664ca['errors']=_0x60e258[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x60e258[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1a4f')}];for(var _0x517e23=0x0;_0x517e23<_0x60e258['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x517e23++){_0x126842[_0x1cd3('0x434')]({'title':_0x60e258[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x517e23]['type'],'msg':_0x60e258[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x517e23]['message']});}}else{_0x126842[_0x1cd3('0x434')]({'title':_0x60e258['status']?_0x1cd3('0x435')+_0x60e258[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x60e258['statusText']:_0x1cd3('0x1a4f'),'msg':_0x60e258[_0x1cd3('0x439')]?JSON['stringify'](_0x60e258[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x60e258['message']||_0x60e258[_0x1cd3('0x43b')]()});}});},function(){});}function _0x503928(_0x55d0cc){return _0x55d0cc===null?undefined:new Date(_0x55d0cc);}function _0xd36c01(_0xb7f563){_0xac5cd1[_0x1cd3('0x39d')](_0xb7f563);}}}());(function(){'use strict';_0x4b5afd[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x53e'),'$location',_0x1cd3('0x3c5'),_0x1cd3('0x461'),_0x1cd3('0x19f9'),_0x1cd3('0x493'),'item','account',_0x1cd3('0x424'),'api',_0x1cd3('0x56'),_0x1cd3('0xd27')];angular['module'](_0x1cd3('0x35'))[_0x1cd3('0x39b')](_0x1cd3('0x1a39'),_0x4b5afd);function _0x4b5afd(_0x2198a2,_0x2d3fc1,_0x1a256c,_0x3dc308,_0x5b8e6a,_0x1e0b5f,_0x2cef69,_0x3bda5b,_0x56b568,_0x5ab741,_0x4ac2ef,_0x528727,_0x28cc6d){var _0x556697=this;_0x556697[_0x1cd3('0x3ca')]=_0x528727[_0x1cd3('0x5d')]();_0x556697[_0x1cd3('0xd34')]=[];_0x556697[_0x1cd3('0x486')]=_0x1cd3('0x19fb')+_[_0x1cd3('0x19fe')](_0x5ab741);_0x556697['item']=angular[_0x1cd3('0x429')](_0x3bda5b);_0x556697[_0x1cd3('0x493')]=_0x2cef69;_0x556697[_0x1cd3('0x424')]=_0x5ab741;_0x556697[_0x1cd3('0xd27')]=_0x28cc6d;_0x556697[_0x1cd3('0x19fc')]=![];if(!_0x556697[_0x1cd3('0x19fa')]){_0x556697[_0x1cd3('0x19fa')]={'type':'string'};_0x556697[_0x1cd3('0x19fa')][_[_0x1cd3('0x12b1')](_0x5ab741)+'Id']=_0x1e0b5f['id'];_0x556697[_0x1cd3('0x486')]=_0x1cd3('0x19fd')+_['toUpper'](_0x5ab741);_0x556697[_0x1cd3('0x19fc')]=!![];}_0x556697[_0x1cd3('0x19ff')]=_0x4ecbe9;_0x556697['saveItem']=_0x1d991e;_0x556697[_0x1cd3('0x548')]=_0x59dd85;_0x556697[_0x1cd3('0x1a00')]=_0x1c7a0e;_0x556697['closeDialog']=_0x20f071;_0x4ac2ef[_0x1cd3('0xb84')][_0x1cd3('0x361')]({'nolimit':!![]})['$promise']['then'](function(_0x3a9551){_0x556697[_0x1cd3('0xef7')]=_0x3a9551[_0x1cd3('0xf6')]?_0x3a9551[_0x1cd3('0xf6')]:[];return _0x4ac2ef['voiceAgentReport'][_0x1cd3('0xe1c')]()[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x5a8414){_0x556697[_0x1cd3('0x1a01')]=_['difference'](_['keys'](_0x5a8414),['$promise',_0x1cd3('0xdfc'),'createdAt',_0x1cd3('0x12fe'),_0x1cd3('0x1a02')]);_0x556697[_0x1cd3('0x1a01')][_0x1cd3('0x7b')](_0x1cd3('0x1a03'));return _0x4ac2ef[_0x1cd3('0xa69')][_0x1cd3('0xe1c')]()[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x19857e){_0x556697[_0x1cd3('0x1a04')]=_[_0x1cd3('0x41f')](_['keys'](_0x19857e),[_0x1cd3('0x81'),_0x1cd3('0xdfc'),_0x1cd3('0xe0d'),_0x1cd3('0x12fe'),_0x1cd3('0x1a02')]);_0x556697[_0x1cd3('0x1a04')][_0x1cd3('0x7b')]('recordingURL');})[_0x1cd3('0xfd')](function(_0x549454){_0x5b8e6a[_0x1cd3('0x434')]({'title':_0x549454[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x549454['status']+_0x1cd3('0x436')+_0x549454['statusText']:_0x1cd3('0x1a05'),'msg':_0x549454[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x549454[_0x1cd3('0x439')]):_0x549454['toString']()});});_0x4ac2ef[_0x1cd3('0xc0f')]['getFields']({'id':_0x56b568['id'],'ticketType':_0x1e0b5f[_0x1cd3('0x1a06')]?_0x1e0b5f['ticketType']:undefined})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x178801){_0x556697[_0x1cd3('0x1a07')]=!![];_0x556697[_0x1cd3('0x3c7')]=_0x178801[_0x1cd3('0xf6')]?_0x178801[_0x1cd3('0xf6')]:[];if(_0x556697[_0x1cd3('0x19fa')][_0x1cd3('0x1a08')]){_0x556697['customField']=_['find'](_0x556697[_0x1cd3('0x3c7')],{'id':_0x556697['item'][_0x1cd3('0x1a08')]});}})[_0x1cd3('0xfd')](function(_0x533bb5){_0x556697[_0x1cd3('0x1a07')]=![];console['error'](_0x533bb5);});function _0x4ecbe9(){_0x556697[_0x1cd3('0xd34')]=[];if(_0x556697[_0x1cd3('0x150e')]){_0x556697[_0x1cd3('0x19fa')][_0x1cd3('0x1a08')]=_0x556697[_0x1cd3('0x150e')]['id'];_0x556697[_0x1cd3('0x19fa')]['nameField']=_0x556697[_0x1cd3('0x150e')][_0x1cd3('0x98')];_0x556697['item'][_0x1cd3('0x150e')]=_0x556697[_0x1cd3('0x150e')][_0x1cd3('0x8f6')];}_0x4ac2ef[_0x1cd3('0xc19')][_0x1cd3('0xd6d')](_0x556697[_0x1cd3('0x19fa')])['$promise'][_0x1cd3('0x77')](function(_0x23941d){_0x556697[_0x1cd3('0x493')][_0x1cd3('0x621')](_0x23941d);_0x5b8e6a[_0x1cd3('0x473')]({'title':_[_0x1cd3('0x12b1')](_0x5ab741)+_0x1cd3('0x1a0a'),'msg':_[_0x1cd3('0x12b1')](_0x5ab741)+_0x1cd3('0xd33')});_0x20f071();})[_0x1cd3('0xfd')](function(_0x43cdf5){console[_0x1cd3('0x434')](_0x43cdf5);_0x556697[_0x1cd3('0xd34')]=_0x43cdf5[_0x1cd3('0x439')]['errors']||[{'message':_0x43cdf5['toString'](),'type':_0x1cd3('0x1a0b')}];});}function _0x1d991e(){_0x556697[_0x1cd3('0xd34')]=[];if(_0x556697[_0x1cd3('0x150e')]){_0x556697['item'][_0x1cd3('0x1a08')]=_0x556697['customField']['id'];_0x556697[_0x1cd3('0x19fa')][_0x1cd3('0x1a09')]=_0x556697[_0x1cd3('0x150e')]['name'];_0x556697[_0x1cd3('0x19fa')][_0x1cd3('0x150e')]=_0x556697[_0x1cd3('0x150e')][_0x1cd3('0x8f6')];}_0x4ac2ef[_0x1cd3('0xc19')][_0x1cd3('0x378')]({'id':_0x556697[_0x1cd3('0x19fa')]['id']},_0x556697[_0x1cd3('0x19fa')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x49d658){var _0x105a9e=_['find'](_0x556697['items'],{'id':_0x49d658['id']});if(_0x105a9e){_[_0x1cd3('0xf2')](_0x105a9e,_0x49d658);}_0x5b8e6a[_0x1cd3('0x473')]({'title':_[_0x1cd3('0x12b1')](_0x5ab741)+_0x1cd3('0x1a50'),'msg':_['capitalize'](_0x5ab741)+'\x20has\x20been\x20saved!'});_0x20f071();})[_0x1cd3('0xfd')](function(_0x35a9d3){console['error'](_0x35a9d3);_0x556697['errors']=_0x35a9d3['data']['errors']||[{'message':_0x35a9d3[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1a0c')}];});}function _0x59dd85(_0x517a93){_0x556697[_0x1cd3('0xd34')]=[];var _0xfe89a1=_0x3dc308[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xd3a'))[_0x1cd3('0xd3b')](_0x1cd3('0x158a')+_0x5ab741+'\x20will\x20be\x20deleted.')[_0x1cd3('0xd3d')](_0x1cd3('0x1a0d')+_[_0x1cd3('0x12b1')](_0x5ab741))['ok'](_0x1cd3('0xd3f'))[_0x1cd3('0x4d8')]('Cancel')['targetEvent'](_0x517a93);_0x3dc308[_0x1cd3('0x37e')](_0xfe89a1)[_0x1cd3('0x77')](function(){_0x4ac2ef[_0x1cd3('0xc19')][_0x1cd3('0xa1c')]({'id':_0x556697[_0x1cd3('0x19fa')]['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x556697[_0x1cd3('0x493')],{'id':_0x556697['item']['id']});_0x5b8e6a[_0x1cd3('0x473')]({'title':_[_0x1cd3('0x12b1')](_0x5ab741)+'\x20properly\x20deleted!','msg':_[_0x1cd3('0x12b1')](_0x5ab741)+_0x1cd3('0xd41')});_0x20f071();})['catch'](function(_0x39c992){console['error'](_0x39c992);_0x556697['errors']=_0x39c992[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x39c992[_0x1cd3('0x43b')](),'type':'api.item.delete'}];});},function(){});}function _0x1c7a0e(){if(_0x556697[_0x1cd3('0x19fa')][_0x1cd3('0x1a0f')]!==undefined){return _0x556697['item'][_0x1cd3('0x1a0f')];}else{return'Please\x20select\x20a\x20variable';}};function _0x20f071(){_0x3dc308[_0x1cd3('0x39d')]();}}}());(function(){'use strict';_0x33a76f[_0x1cd3('0xc')]=['$state','$location',_0x1cd3('0x3c5'),_0x1cd3('0x372'),'$translate',_0x1cd3('0x463'),_0x1cd3('0xc49'),_0x1cd3('0x370'),'toasty',_0x1cd3('0x56'),_0x1cd3('0x1a15'),_0x1cd3('0x390')];angular[_0x1cd3('0x0')](_0x1cd3('0x35'))['controller'](_0x1cd3('0x1a51'),_0x33a76f);function _0x33a76f(_0x5c9e92,_0x1dd204,_0x331abe,_0x22bf3a,_0x38205a,_0xfa60bc,_0x8b3fb7,_0x14b87a,_0x29aea9,_0x5077bd,_0x11388b,_0x1d82c2){var _0xc5a1ac=this;_0xc5a1ac[_0x1cd3('0x3ca')]=_0x5077bd['getCurrentUser']();_0xc5a1ac['license']=_0xfa60bc;_0xc5a1ac[_0x1cd3('0xc49')]=_0x8b3fb7;_0xc5a1ac[_0x1cd3('0xd29')]=_0xc5a1ac[_0x1cd3('0xc49')]['securePassword']?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0xc5a1ac['location']=_0x1dd204['protocol']()+'://'+_0x1dd204[_0x1cd3('0x3ac')]();_0xc5a1ac['dynamics365Account']=_0x11388b||_0x5c9e92[_0x1cd3('0x36a')][_0x1cd3('0x1a15')]||{};_0xc5a1ac[_0x1cd3('0x390')]=_0x1d82c2&&_0x1d82c2['count']==0x1?_0x1d82c2[_0x1cd3('0xf6')][0x0]:null;_0xc5a1ac[_0x1cd3('0xd27')]=_0x5077bd[_0x1cd3('0xd44')](_0xc5a1ac[_0x1cd3('0x390')]?_0xc5a1ac[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);_0xc5a1ac[_0x1cd3('0xd28')]={};_0xc5a1ac[_0x1cd3('0xe5f')]=_0x5c9e92[_0x1cd3('0x36a')][_0x1cd3('0x1418')]||0x0;_0xc5a1ac[_0x1cd3('0x11d0')]=_0x29aea9['info'];_0xc5a1ac[_0x1cd3('0x1a52')]=_0x5bbe7b;_0xc5a1ac['saveDynamics365Account']=_0x44b0b5;function _0x5bbe7b(){_0x5c9e92['go'](_0x1cd3('0x1aa'),{},{'reload':_0x1cd3('0x1aa')});}function _0x44b0b5(){_0x14b87a[_0x1cd3('0xc0f')]['update']({'id':_0xc5a1ac['dynamics365Account']['id']},_0xc5a1ac[_0x1cd3('0x1a15')])['$promise'][_0x1cd3('0x77')](function(){_0x29aea9[_0x1cd3('0x473')]({'title':_0x1cd3('0x1a53'),'msg':_0xc5a1ac[_0x1cd3('0x1a15')][_0x1cd3('0x98')]?_0xc5a1ac[_0x1cd3('0x1a15')][_0x1cd3('0x98')]+_0x1cd3('0xe65'):''});})[_0x1cd3('0xfd')](function(_0x4f6cb2){_0x29aea9[_0x1cd3('0x434')]({'title':_0x4f6cb2[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x4f6cb2[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x4f6cb2[_0x1cd3('0xd35')]:_0x1cd3('0x1a54'),'msg':_0x4f6cb2['data']?JSON[_0x1cd3('0x438')](_0x4f6cb2['data']):_0x4f6cb2[_0x1cd3('0x43b')]()});});}}}());(function(){'use strict';_0xacc7a8[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x53e'),_0x1cd3('0xd24'),_0x1cd3('0x3c5'),'$q',_0x1cd3('0x3f7'),_0x1cd3('0x461'),_0x1cd3('0x1a55'),_0x1cd3('0x1a56'),_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0x463'),_0x1cd3('0xc49'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')]('app.integrations')['controller'](_0x1cd3('0x1a57'),_0xacc7a8);function _0xacc7a8(_0x165ae2,_0x31cb50,_0x3b2b64,_0x15bdbe,_0x246943,_0x2d0801,_0x1939fb,_0x3ca0ba,_0x10ee5b,_0x56c257,_0x431091,_0x45249e,_0x213de9,_0x93c03c){var _0x54d420=this;_0x54d420[_0x1cd3('0x3ca')]=_0x431091[_0x1cd3('0x5d')]();_0x54d420['errors']=[];_0x54d420[_0x1cd3('0xc49')]=_0x213de9;_0x54d420[_0x1cd3('0x463')]=_0x45249e;_0x54d420['crudPermissions']=_0x93c03c;_0x54d420[_0x1cd3('0xd28')]={};_0x54d420[_0x1cd3('0xd29')]=_0x54d420[_0x1cd3('0xc49')]&&_0x54d420[_0x1cd3('0xc49')]['securePassword']?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x54d420[_0x1cd3('0x486')]='INTEGRATIONS.EDIT_FRESHDESKACCOUNT';_0x54d420[_0x1cd3('0x1a56')]=angular['copy'](_0x10ee5b);_0x54d420['freshdeskAccounts']=_0x3ca0ba;_0x54d420[_0x1cd3('0x1a58')]=![];if(!_0x54d420[_0x1cd3('0x1a56')]){_0x54d420[_0x1cd3('0x1a56')]={'serverUrl':_0x3b2b64[_0x1cd3('0x3b0')]()+_0x1cd3('0x11cf')+_0x3b2b64[_0x1cd3('0x3ac')]()+(_0x3b2b64[_0x1cd3('0x3b1')]()?':'+_0x3b2b64['port']():'')};_0x54d420['title']=_0x1cd3('0x1a59');_0x54d420[_0x1cd3('0x1a58')]=!![];}_0x54d420['addNewFreshdeskAccount']=_0x354bcd;_0x54d420['saveFreshdeskAccount']=_0xde61a2;_0x54d420[_0x1cd3('0x1a5a')]=_0x1d3c53;_0x54d420['getDateFromString']=_0x659fb5;_0x54d420[_0x1cd3('0x39c')]=_0xf0d3d2;function _0x354bcd(){_0x54d420[_0x1cd3('0xd34')]=[];_0x56c257[_0x1cd3('0x1a5b')][_0x1cd3('0xd6d')](_0x54d420['freshdeskAccount'])['$promise'][_0x1cd3('0x77')](function(_0x97a67f){_0x54d420[_0x1cd3('0x1a55')][_0x1cd3('0x621')](_0x97a67f[_0x1cd3('0xd32')]());_0x1939fb[_0x1cd3('0x473')]({'title':_0x1cd3('0x1a5c'),'msg':_0x54d420[_0x1cd3('0x1a56')][_0x1cd3('0x98')]?_0x54d420['freshdeskAccount'][_0x1cd3('0x98')]+_0x1cd3('0xd33'):''});_0xf0d3d2(_0x97a67f);})[_0x1cd3('0xfd')](function(_0x2efc58){if(_0x2efc58[_0x1cd3('0x439')]&&_0x2efc58[_0x1cd3('0x439')]['errors']&&_0x2efc58[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x54d420[_0x1cd3('0xd34')]=_0x2efc58[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x2efc58['toString'](),'type':_0x1cd3('0x1a5d')}];for(var _0x532f3d=0x0;_0x532f3d<_0x2efc58[_0x1cd3('0x439')]['errors']['length'];_0x532f3d+=0x1){_0x1939fb[_0x1cd3('0x434')]({'title':_0x2efc58['data']['errors'][_0x532f3d]['type'],'msg':_0x2efc58[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x532f3d]['message']});}}else{_0x1939fb[_0x1cd3('0x434')]({'title':_0x2efc58[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x2efc58[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x2efc58[_0x1cd3('0xd35')]:_0x1cd3('0x1a5d'),'msg':_0x2efc58['data']?JSON[_0x1cd3('0x438')](_0x2efc58[_0x1cd3('0x439')]['message']):_0x2efc58[_0x1cd3('0x43b')]()});}});}function _0xde61a2(){_0x54d420[_0x1cd3('0xd34')]=[];_0x56c257[_0x1cd3('0x1a5b')][_0x1cd3('0x378')]({'id':_0x54d420[_0x1cd3('0x1a56')]['id']},_0x54d420[_0x1cd3('0x1a56')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x1b43a5){var _0x34346c=_['find'](_0x54d420[_0x1cd3('0x1a55')],{'id':_0x1b43a5['id']});if(_0x34346c){_[_0x1cd3('0xf2')](_0x34346c,_[_0x1cd3('0x5e8')](_0x1b43a5[_0x1cd3('0xd32')](),_[_0x1cd3('0x80')](_0x34346c)));}_0x1939fb[_0x1cd3('0x473')]({'title':_0x1cd3('0x1a5e'),'msg':_0x54d420[_0x1cd3('0x1a56')][_0x1cd3('0x98')]?_0x54d420[_0x1cd3('0x1a56')][_0x1cd3('0x98')]+_0x1cd3('0xd37'):''});_0xf0d3d2(_0x1b43a5);})[_0x1cd3('0xfd')](function(_0xe60576){if(_0xe60576[_0x1cd3('0x439')]&&_0xe60576['data'][_0x1cd3('0xd34')]&&_0xe60576[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length']){_0x54d420['errors']=_0xe60576['data'][_0x1cd3('0xd34')]||[{'message':_0xe60576[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1a5f')}];for(var _0x5d5a95=0x0;_0x5d5a95<_0xe60576[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x5d5a95++){_0x1939fb[_0x1cd3('0x434')]({'title':_0xe60576[_0x1cd3('0x439')]['errors'][_0x5d5a95][_0x1cd3('0x424')],'msg':_0xe60576[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x5d5a95][_0x1cd3('0x43a')]});}}else{_0x1939fb[_0x1cd3('0x434')]({'title':_0xe60576['status']?'API:'+_0xe60576[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0xe60576[_0x1cd3('0xd35')]:_0x1cd3('0x1a5f'),'msg':_0xe60576[_0x1cd3('0x439')]?JSON['stringify'](_0xe60576[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0xe60576[_0x1cd3('0x43b')]()});}});}function _0x1d3c53(_0x4b2c48){_0x54d420[_0x1cd3('0xd34')]=[];var _0x288bc9=_0x15bdbe[_0x1cd3('0xd39')]()['title'](_0x1cd3('0xd3a'))['content'](_0x1cd3('0x1a60'))['ariaLabel'](_0x1cd3('0x1a61'))['ok']('Delete')[_0x1cd3('0x4d8')]('Cancel')['targetEvent'](_0x4b2c48);_0x15bdbe[_0x1cd3('0x37e')](_0x288bc9)[_0x1cd3('0x77')](function(){_0x56c257[_0x1cd3('0x1a5b')]['delete']({'id':_0x54d420['freshdeskAccount']['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x54d420['freshdeskAccounts'],{'id':_0x54d420[_0x1cd3('0x1a56')]['id']});_0x1939fb['success']({'title':'FreshdeskAccount\x20properly\x20deleted!','msg':(_0x54d420['freshdeskAccount'][_0x1cd3('0x98')]||_0x1cd3('0x1a56'))+_0x1cd3('0xd41')});_0xf0d3d2(_0x54d420[_0x1cd3('0x1a56')]);})[_0x1cd3('0xfd')](function(_0xe4d5b3){if(_0xe4d5b3[_0x1cd3('0x439')]&&_0xe4d5b3['data'][_0x1cd3('0xd34')]&&_0xe4d5b3['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x54d420[_0x1cd3('0xd34')]=_0xe4d5b3[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0xe4d5b3[_0x1cd3('0x43b')](),'type':'api.intFreshdeskAccount.delete'}];for(var _0x168a01=0x0;_0x168a01<_0xe4d5b3[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length'];_0x168a01++){_0x1939fb['error']({'title':_0xe4d5b3[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x168a01][_0x1cd3('0x424')],'msg':_0xe4d5b3[_0x1cd3('0x439')]['errors'][_0x168a01][_0x1cd3('0x43a')]});}}else{_0x1939fb[_0x1cd3('0x434')]({'title':_0xe4d5b3[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0xe4d5b3['status']+'\x20-\x20'+_0xe4d5b3[_0x1cd3('0xd35')]:_0x1cd3('0x1a62'),'msg':_0xe4d5b3[_0x1cd3('0x439')]?JSON['stringify'](_0xe4d5b3[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0xe4d5b3[_0x1cd3('0x43a')]||_0xe4d5b3[_0x1cd3('0x43b')]()});}});},function(){});}function _0x659fb5(_0x4db060){return _0x4db060===null?undefined:new Date(_0x4db060);}function _0xf0d3d2(_0x455359){_0x15bdbe[_0x1cd3('0x39d')](_0x455359);}}}());(function(){'use strict';_0x5e04df[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),_0x1cd3('0x372'),_0x1cd3('0x370'),_0x1cd3('0x461'),_0x1cd3('0x56')];angular['module'](_0x1cd3('0x35'))[_0x1cd3('0x39b')]('FreshdeskAccountConfigurationsController',_0x5e04df);function _0x5e04df(_0x3e0aa6,_0x4e6dd9,_0x314141,_0x57bf7b,_0x314126){var _0x389093=this;_0x389093['currentUser']=_0x314126[_0x1cd3('0x5d')]();_0x389093['freshdeskAccount']={};_0x389093[_0x1cd3('0x1a63')]={};_0x389093[_0x1cd3('0x19c2')]=[];_0x389093['selectedFreshdeskConfiguration']=-0x1;_0x389093[_0x1cd3('0xd27')];_0x389093[_0x1cd3('0xe08')]=_0x500280;_0x389093[_0x1cd3('0x1a64')]=_0x21fa76;_0x389093['createOrEditFreshdeskConfiguration']=_0x4b9988;_0x389093['deleteFreshdeskConfiguration']=_0x279134;_0x389093['selectedTags']=[];_0x389093['selectTagsChanged']=_0x20874d;_0x314141[_0x1cd3('0xb76')][_0x1cd3('0x361')]({'nolimit':!![],'sort':_0x1cd3('0x98')})['$promise']['then'](function(_0x51a4c9){_0x389093[_0x1cd3('0x921')]=_0x51a4c9['rows']?_0x51a4c9[_0x1cd3('0xf6')]:[];})[_0x1cd3('0xfd')](function(_0x8bb04f){_0x57bf7b[_0x1cd3('0x434')]({'title':_0x8bb04f[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x8bb04f['status']+'\x20-\x20'+_0x8bb04f['statusText']:_0x1cd3('0x19cf'),'msg':_0x8bb04f[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x8bb04f[_0x1cd3('0x439')]):_0x8bb04f['toString']()});});function _0x20874d(_0x3a48d2){_0x314141[_0x1cd3('0xbea')][_0x1cd3('0x14a3')]({'id':_0x389093[_0x1cd3('0x1a63')]['id'],'ids':_0x389093[_0x1cd3('0x1423')]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x57bf7b[_0x1cd3('0x473')]({'title':_0x1cd3('0x19c6'),'msg':_0x1cd3('0x1a65')});})[_0x1cd3('0xfd')](function(_0x13fd60){_0x57bf7b[_0x1cd3('0x434')]({'title':_0x13fd60[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x13fd60[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x13fd60[_0x1cd3('0xd35')]:_0x1cd3('0x19c7'),'msg':_0x13fd60[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x13fd60['data']):_0x13fd60[_0x1cd3('0x43b')]()});});}function _0x500280(_0x282bce,_0x5c1eeb){_0x389093[_0x1cd3('0x1a56')]=_0x282bce;_0x389093[_0x1cd3('0xd27')]=typeof _0x5c1eeb!==_0x1cd3('0x491')?_0x5c1eeb:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x314141[_0x1cd3('0x1a5b')]['getConfigurations']({'id':_0x389093[_0x1cd3('0x1a56')]['id'],'sort':'-updatedAt'})['$promise']['then'](function(_0x4fa836){_0x389093[_0x1cd3('0x19c2')]=_0x4fa836[_0x1cd3('0xf6')]?_0x4fa836[_0x1cd3('0xf6')]:[];if(_0x389093[_0x1cd3('0x19c2')][_0x1cd3('0x7a')]){_0x389093[_0x1cd3('0x1a64')](0x0);}return _0x314141[_0x1cd3('0xb84')][_0x1cd3('0x361')]({'nolimit':!![],'sort':_0x1cd3('0x98')})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x431a7c){_0x389093[_0x1cd3('0xef7')]=_0x431a7c[_0x1cd3('0xf6')]?_0x431a7c['rows']:[];_0x389093[_0x1cd3('0x19ca')]=_[_0x1cd3('0xe2d')](_0x389093[_0x1cd3('0xef7')],'id');})[_0x1cd3('0xfd')](function(_0x361a9e){_0x57bf7b[_0x1cd3('0x434')]({'title':_0x361a9e[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x361a9e[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x361a9e[_0x1cd3('0xd35')]:'SYSTEM:GETCONFIGURATION','msg':_0x361a9e['data']?JSON[_0x1cd3('0x438')](_0x361a9e[_0x1cd3('0x439')]):_0x361a9e[_0x1cd3('0x43b')]()});});}function _0x21fa76(_0x26c98a){_0x389093['freshdeskConfiguration']=_0x389093[_0x1cd3('0x19c2')][_0x26c98a];_0x389093[_0x1cd3('0x1a66')]=_0x26c98a;_0x314141[_0x1cd3('0xbea')][_0x1cd3('0x1a31')]({'id':_0x389093[_0x1cd3('0x1a63')]['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x48e78a){_0x389093[_0x1cd3('0x19d9')]=_0x48e78a[_0x1cd3('0xf6')]?_0x48e78a[_0x1cd3('0xf6')]:[];return _0x314141[_0x1cd3('0xbea')][_0x1cd3('0x19cc')]({'id':_0x389093[_0x1cd3('0x1a63')]['id']})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x1a426c){_0x389093[_0x1cd3('0x19cd')]=_0x1a426c[_0x1cd3('0xf6')]?_0x1a426c['rows']:[];return _0x314141[_0x1cd3('0xbea')][_0x1cd3('0xdfb')]({'id':_0x389093[_0x1cd3('0x1a63')]['id']})['$promise'];})[_0x1cd3('0x77')](function(_0x10e3dd){_0x389093['fields']=_0x10e3dd[_0x1cd3('0xf6')]?_0x10e3dd[_0x1cd3('0xf6')]:[];})['catch'](function(_0x318410){_0x57bf7b[_0x1cd3('0x434')]({'title':_0x318410[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x318410[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x318410[_0x1cd3('0xd35')]:_0x1cd3('0x19ce'),'msg':_0x318410[_0x1cd3('0x439')]?JSON['stringify'](_0x318410[_0x1cd3('0x439')]):_0x318410['toString']()});});_0x314141[_0x1cd3('0xbea')][_0x1cd3('0x1607')]({'id':_0x389093[_0x1cd3('0x1a63')]['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x30aea5){_0x389093[_0x1cd3('0x1423')]=_0x30aea5['rows']?_[_0x1cd3('0x3d9')](_0x30aea5['rows'],'id'):[];})[_0x1cd3('0xfd')](function(_0xc68496){_0x57bf7b['error']({'title':_0xc68496[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0xc68496['status']+'\x20-\x20'+_0xc68496[_0x1cd3('0xd35')]:_0x1cd3('0x19cf'),'msg':_0xc68496[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0xc68496['data']):_0xc68496['toString']()});});}function _0x4b9988(_0x39d80e,_0x1ca46a){_0x3e0aa6['show']({'controller':_0x1cd3('0x1a67'),'controllerAs':'vm','templateUrl':'app/main/apps/integrations/views/freshdeskAccounts/edit/configurations/dialog.html','parent':angular[_0x1cd3('0x37f')](_0x4e6dd9['body']),'targetEvent':_0x39d80e,'clickOutsideToClose':!![],'locals':{'freshdeskConfiguration':_0x1ca46a,'configurations':_0x389093[_0x1cd3('0x19c2')],'license':null,'setting':null,'crudPermissions':_0x389093['crudPermissions']}})['finally'](function(){_0x389093[_0x1cd3('0x1a64')](0x0);});}function _0x279134(_0x1db6cd,_0x515b77){var _0x3b2b0e=_0x3e0aa6[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x1a68'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+(_0x515b77[_0x1cd3('0x98')]||_0x1cd3('0x1a63'))+_0x1cd3('0xd52')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')]('delete\x20freshdeskConfiguration')[_0x1cd3('0xd63')](_0x1db6cd)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x3e0aa6['show'](_0x3b2b0e)['then'](function(){_0x314141[_0x1cd3('0xbea')][_0x1cd3('0xa1c')]({'id':_0x515b77['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x389093[_0x1cd3('0x19c2')],{'id':_0x515b77['id']});_0x57bf7b[_0x1cd3('0x473')]({'title':'FreshdeskConfiguration\x20deleted!','msg':_0x515b77[_0x1cd3('0x98')]?_0x515b77[_0x1cd3('0x98')]+'\x20has\x20been\x20deleted!':''});})[_0x1cd3('0xfd')](function(_0x3bada2){_0x57bf7b[_0x1cd3('0x434')]({'title':_0x3bada2[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x3bada2[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x3bada2[_0x1cd3('0xd35')]:_0x1cd3('0x1a36'),'msg':_0x3bada2[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x3bada2[_0x1cd3('0x439')]):_0x3bada2[_0x1cd3('0x43b')]()});})[_0x1cd3('0x5dd')](function(){_0x389093['getFreshdeskConfiguration'](0x0);});},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}_0x389093[_0x1cd3('0x19d5')]=[];_0x389093[_0x1cd3('0x1a37')]=_0x225bfe;_0x389093[_0x1cd3('0x1a38')]=_0x4bd2aa;_0x389093[_0x1cd3('0x19d6')]=_0x230ae6;function _0x225bfe(_0x402afd,_0x312d06){_0x3e0aa6[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1a69'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1a6a'),'parent':angular[_0x1cd3('0x37f')](_0x4e6dd9[_0x1cd3('0x380')]),'targetEvent':_0x402afd,'clickOutsideToClose':!![],'locals':{'type':_0x1cd3('0x1327'),'item':_0x312d06,'items':_0x389093[_0x1cd3('0x19d9')],'configuration':_0x389093[_0x1cd3('0x1a63')],'account':_0x389093[_0x1cd3('0x1a56')],'license':null,'setting':null,'crudPermissions':_0x389093['crudPermissions']}});}function _0xd56c3(_0x1a4de2){_0x314141['intFreshdeskField'][_0x1cd3('0xa1c')]({'id':_0x1a4de2['id']})[_0x1cd3('0x81')]['then'](function(){_[_0x1cd3('0x383')](_0x389093[_0x1cd3('0x19d9')],{'id':_0x1a4de2['id']});_0x57bf7b['success']({'title':_0x1cd3('0x1a3b'),'msg':_0x1cd3('0x19da')});})[_0x1cd3('0xfd')](function(_0x396adf){_0x57bf7b['error']({'title':_0x396adf['status']?_0x1cd3('0x435')+_0x396adf[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x396adf[_0x1cd3('0xd35')]:_0x1cd3('0x19db'),'msg':_0x396adf['data']?JSON[_0x1cd3('0x438')](_0x396adf['data']):_0x396adf[_0x1cd3('0x43b')]()});});}function _0x4bd2aa(_0x5f5c4a,_0x4df92c){var _0x540b1a=_0x3e0aa6[_0x1cd3('0xd39')]()[_0x1cd3('0x486')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20subject?')[_0x1cd3('0xd60')](_0x1cd3('0x19dc')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x1a3d'))[_0x1cd3('0xd63')](_0x5f5c4a)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x3e0aa6['show'](_0x540b1a)[_0x1cd3('0x77')](function(){_0xd56c3(_0x4df92c);},function(){console['log'](_0x1cd3('0xd55'));});}function _0x230ae6(_0x1d180a){var _0x41914f=_0x3e0aa6[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x19dd'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x389093[_0x1cd3('0x19d5')][_0x1cd3('0x7a')]+_0x1cd3('0xd61')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')]('delete\x20subjects')[_0x1cd3('0xd63')](_0x1d180a)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x3e0aa6[_0x1cd3('0x37e')](_0x41914f)[_0x1cd3('0x77')](function(){_0x389093[_0x1cd3('0x19d5')][_0x1cd3('0x394')](function(_0xf70dc9){_0xd56c3(_0xf70dc9);});_0x389093[_0x1cd3('0x19d5')]=[];});}_0x389093['selectedDescriptions']=[];_0x389093['createOrEditDescription']=_0x2b251c;_0x389093[_0x1cd3('0x19e0')]=_0x5019f8;_0x389093[_0x1cd3('0x19e1')]=_0x288b88;function _0x2b251c(_0x1606c5,_0x57de8d){_0x3e0aa6[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1a69'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1a6a'),'parent':angular[_0x1cd3('0x37f')](_0x4e6dd9[_0x1cd3('0x380')]),'targetEvent':_0x1606c5,'clickOutsideToClose':!![],'locals':{'type':_0x1cd3('0xde1'),'item':_0x57de8d,'items':_0x389093[_0x1cd3('0x19cd')],'configuration':_0x389093[_0x1cd3('0x1a63')],'account':_0x389093[_0x1cd3('0x1a56')],'license':null,'setting':null,'crudPermissions':_0x389093['crudPermissions']}});}function _0x220d4a(_0x1c5e40){_0x314141[_0x1cd3('0xbf2')][_0x1cd3('0xa1c')]({'id':_0x1c5e40['id']})[_0x1cd3('0x81')]['then'](function(){_[_0x1cd3('0x383')](_0x389093[_0x1cd3('0x19cd')],{'id':_0x1c5e40['id']});_0x57bf7b[_0x1cd3('0x473')]({'title':_0x1cd3('0x19e2'),'msg':_0x1cd3('0x19e3')});})['catch'](function(_0x40acf9){_0x57bf7b['error']({'title':_0x40acf9[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x40acf9[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x40acf9['statusText']:'SYSTEM:DELETECONFIGURATIONFIELD','msg':_0x40acf9[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x40acf9[_0x1cd3('0x439')]):_0x40acf9[_0x1cd3('0x43b')]()});});}function _0x5019f8(_0x164b93,_0x5821f3){var _0x1f60f2=_0x3e0aa6[_0x1cd3('0xd39')]()['title']('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20description?')[_0x1cd3('0xd60')](_0x1cd3('0x1a6b')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')]('delete\x20description')[_0x1cd3('0xd63')](_0x164b93)['ok']('OK')[_0x1cd3('0x4d8')]('CANCEL');_0x3e0aa6[_0x1cd3('0x37e')](_0x1f60f2)[_0x1cd3('0x77')](function(){_0x220d4a(_0x5821f3);},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}function _0x288b88(_0x542513){var _0x82bcd6=_0x3e0aa6[_0x1cd3('0xd39')]()['title'](_0x1cd3('0x19e6'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x389093['selectedDescriptions']['length']+_0x1cd3('0xd61')+'\x20will\x20be\x20deleted.')[_0x1cd3('0xd3d')]('delete\x20descriptions')[_0x1cd3('0xd63')](_0x542513)['ok']('OK')['cancel']('CANCEL');_0x3e0aa6[_0x1cd3('0x37e')](_0x82bcd6)[_0x1cd3('0x77')](function(){_0x389093[_0x1cd3('0x19de')][_0x1cd3('0x394')](function(_0x40c87e){_0x220d4a(_0x40c87e);});_0x389093[_0x1cd3('0x19de')]=[];});}_0x389093[_0x1cd3('0x19e8')]=[];_0x389093[_0x1cd3('0x1a3f')]=_0x65b4b2;_0x389093[_0x1cd3('0x19e9')]=_0x5a1bdf;_0x389093[_0x1cd3('0x19ea')]=_0x3978f1;function _0x65b4b2(_0x3913fb,_0x42e944){_0x3e0aa6[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1a69'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1a6a'),'parent':angular[_0x1cd3('0x37f')](_0x4e6dd9['body']),'targetEvent':_0x3913fb,'clickOutsideToClose':!![],'locals':{'type':_0x1cd3('0x450'),'item':_0x42e944,'items':_0x389093['fields'],'configuration':_0x389093[_0x1cd3('0x1a63')],'account':_0x389093['freshdeskAccount'],'license':null,'setting':null,'crudPermissions':_0x389093[_0x1cd3('0xd27')]}});}function _0x12d282(_0x5af3d5){_0x314141[_0x1cd3('0xbf2')][_0x1cd3('0xa1c')]({'id':_0x5af3d5['id']})[_0x1cd3('0x81')]['then'](function(){_[_0x1cd3('0x383')](_0x389093[_0x1cd3('0x3c7')],{'id':_0x5af3d5['id']});_0x57bf7b[_0x1cd3('0x473')]({'title':_0x1cd3('0xe40'),'msg':'Field\x20has\x20been\x20deleted!'});})[_0x1cd3('0xfd')](function(_0xbd06d0){_0x57bf7b['error']({'title':_0xbd06d0[_0x1cd3('0x3a6')]?'API:'+_0xbd06d0[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0xbd06d0[_0x1cd3('0xd35')]:_0x1cd3('0x19db'),'msg':_0xbd06d0[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0xbd06d0[_0x1cd3('0x439')]):_0xbd06d0[_0x1cd3('0x43b')]()});});}function _0x5a1bdf(_0x19a09d,_0x35e86b){var _0x240aa5=_0x3e0aa6['confirm']()[_0x1cd3('0x486')](_0x1cd3('0xe3c'))[_0x1cd3('0xd60')](_0x1cd3('0x19ec')+'\x20will\x20be\x20deleted.')[_0x1cd3('0xd3d')](_0x1cd3('0xe3d'))[_0x1cd3('0xd63')](_0x19a09d)['ok']('OK')['cancel'](_0x1cd3('0xd55'));_0x3e0aa6[_0x1cd3('0x37e')](_0x240aa5)['then'](function(){_0x12d282(_0x35e86b);},function(){console['log'](_0x1cd3('0xd55'));});}function _0x3978f1(_0x2f0f77){var _0x1fd9e2=_0x3e0aa6[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xe42'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x389093['selectedFields']['length']+_0x1cd3('0xd61')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x19ed'))[_0x1cd3('0xd63')](_0x2f0f77)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x3e0aa6[_0x1cd3('0x37e')](_0x1fd9e2)['then'](function(){_0x389093['selectedFields'][_0x1cd3('0x394')](function(_0x456a5b){_0x12d282(_0x456a5b);});_0x389093[_0x1cd3('0x19e8')]=[];});}}}());(function(){'use strict';_0x43161e[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x53e'),_0x1cd3('0xd24'),_0x1cd3('0x3c5'),'$q',_0x1cd3('0x3f7'),_0x1cd3('0x461'),'configurations',_0x1cd3('0x1a63'),_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0x463'),_0x1cd3('0xc49'),_0x1cd3('0xd27')];angular['module'](_0x1cd3('0x35'))['controller'](_0x1cd3('0x1a67'),_0x43161e);function _0x43161e(_0x38235b,_0x2be3fe,_0x3f08d0,_0x5cc599,_0x18beec,_0x3d9263,_0x367355,_0x43fe3e,_0x1533cf,_0x1f63fd,_0x2822ab,_0x35637f,_0x106ba4,_0x5ba592){var _0x2712ce=this;_0x2712ce[_0x1cd3('0x3ca')]=_0x2822ab[_0x1cd3('0x5d')]();_0x2712ce[_0x1cd3('0xd34')]=[];_0x2712ce['setting']=_0x106ba4;_0x2712ce[_0x1cd3('0x463')]=_0x35637f;_0x2712ce[_0x1cd3('0xd27')]=_0x5ba592;_0x2712ce[_0x1cd3('0xd28')]={};_0x2712ce[_0x1cd3('0xd29')]=_0x2712ce[_0x1cd3('0xc49')]&&_0x2712ce['setting'][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x2712ce['title']=_0x1cd3('0x1a6c');_0x2712ce['freshdeskConfiguration']=angular[_0x1cd3('0x429')](_0x1533cf);_0x2712ce[_0x1cd3('0x19c2')]=_0x43fe3e;_0x2712ce[_0x1cd3('0x1a6d')]=![];if(!_0x2712ce[_0x1cd3('0x1a63')]){_0x2712ce[_0x1cd3('0x1a63')]={'channel':'voice','type':_0x1cd3('0xa4')};_0x2712ce[_0x1cd3('0x486')]=_0x1cd3('0x1a6e');_0x2712ce[_0x1cd3('0x1a6d')]=!![];}_0x2712ce[_0x1cd3('0x1a6f')]=_0x5b02bc;_0x2712ce[_0x1cd3('0x1a70')]=_0x5147d7;_0x2712ce['deleteFreshdeskConfiguration']=_0x2490cd;_0x2712ce[_0x1cd3('0xd31')]=_0x458abc;_0x2712ce[_0x1cd3('0x39c')]=_0x142817;function _0x5b02bc(){_0x2712ce['errors']=[];_0x1f63fd['intFreshdeskAccount']['addConfiguration']({'id':_0x2be3fe[_0x1cd3('0x36a')]['id']},_0x2712ce['freshdeskConfiguration'])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x28f4c3){_0x2712ce[_0x1cd3('0x19c2')]['unshift'](_0x28f4c3[_0x1cd3('0xd32')]());_0x367355[_0x1cd3('0x473')]({'title':'FreshdeskConfiguration\x20properly\x20created','msg':_0x2712ce[_0x1cd3('0x1a63')][_0x1cd3('0x98')]?_0x2712ce[_0x1cd3('0x1a63')][_0x1cd3('0x98')]+'\x20has\x20been\x20created!':''});_0x142817(_0x28f4c3);})[_0x1cd3('0xfd')](function(_0x4a44cf){if(_0x4a44cf[_0x1cd3('0x439')]&&_0x4a44cf['data']['errors']&&_0x4a44cf['data']['errors'][_0x1cd3('0x7a')]){_0x2712ce[_0x1cd3('0xd34')]=_0x4a44cf[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x4a44cf[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1a71')}];for(var _0x2b7fde=0x0;_0x2b7fde<_0x4a44cf['data'][_0x1cd3('0xd34')]['length'];_0x2b7fde+=0x1){_0x367355[_0x1cd3('0x434')]({'title':_0x4a44cf[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x2b7fde][_0x1cd3('0x424')],'msg':_0x4a44cf[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x2b7fde][_0x1cd3('0x43a')]});}}else{_0x367355[_0x1cd3('0x434')]({'title':_0x4a44cf[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x4a44cf[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x4a44cf['statusText']:'api.intFreshdeskConfiguration.save','msg':_0x4a44cf[_0x1cd3('0x439')]?JSON['stringify'](_0x4a44cf[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x4a44cf[_0x1cd3('0x43b')]()});}});}function _0x5147d7(){_0x2712ce[_0x1cd3('0xd34')]=[];_0x1f63fd[_0x1cd3('0xbea')][_0x1cd3('0x378')]({'id':_0x2712ce['freshdeskConfiguration']['id']},_0x2712ce[_0x1cd3('0x1a63')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x461276){var _0x2498be=_[_0x1cd3('0x442')](_0x2712ce[_0x1cd3('0x19c2')],{'id':_0x461276['id']});if(_0x2498be){_['merge'](_0x2498be,_[_0x1cd3('0x5e8')](_0x461276[_0x1cd3('0xd32')](),_[_0x1cd3('0x80')](_0x2498be)));}_0x367355[_0x1cd3('0x473')]({'title':'FreshdeskConfiguration\x20properly\x20saved!','msg':_0x2712ce['freshdeskConfiguration'][_0x1cd3('0x98')]?_0x2712ce['freshdeskConfiguration'][_0x1cd3('0x98')]+_0x1cd3('0xd37'):''});_0x142817(_0x461276);})['catch'](function(_0x30d2b7){if(_0x30d2b7[_0x1cd3('0x439')]&&_0x30d2b7[_0x1cd3('0x439')]['errors']&&_0x30d2b7[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x2712ce['errors']=_0x30d2b7['data'][_0x1cd3('0xd34')]||[{'message':_0x30d2b7[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1a72')}];for(var _0x484c1d=0x0;_0x484c1d<_0x30d2b7['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x484c1d++){_0x367355[_0x1cd3('0x434')]({'title':_0x30d2b7[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x484c1d][_0x1cd3('0x424')],'msg':_0x30d2b7['data'][_0x1cd3('0xd34')][_0x484c1d][_0x1cd3('0x43a')]});}}else{_0x367355[_0x1cd3('0x434')]({'title':_0x30d2b7[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x30d2b7[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x30d2b7['statusText']:_0x1cd3('0x1a72'),'msg':_0x30d2b7['data']?JSON[_0x1cd3('0x438')](_0x30d2b7[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x30d2b7['toString']()});}});}function _0x2490cd(_0x52b2e1){_0x2712ce['errors']=[];var _0xd4f739=_0x5cc599[_0x1cd3('0xd39')]()['title']('Are\x20you\x20sure?')[_0x1cd3('0xd3b')](_0x1cd3('0x1a73'))['ariaLabel']('Delete\x20FreshdeskConfiguration')['ok']('Delete')[_0x1cd3('0x4d8')](_0x1cd3('0x674'))[_0x1cd3('0xd63')](_0x52b2e1);_0x5cc599[_0x1cd3('0x37e')](_0xd4f739)['then'](function(){_0x1f63fd[_0x1cd3('0xbea')][_0x1cd3('0xa1c')]({'id':_0x2712ce['freshdeskConfiguration']['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x2712ce[_0x1cd3('0x19c2')],{'id':_0x2712ce[_0x1cd3('0x1a63')]['id']});_0x367355[_0x1cd3('0x473')]({'title':_0x1cd3('0x1a74'),'msg':(_0x2712ce['freshdeskConfiguration']['name']||_0x1cd3('0x1a63'))+_0x1cd3('0xd41')});_0x142817(_0x2712ce['freshdeskConfiguration']);})['catch'](function(_0x5bd2a0){if(_0x5bd2a0[_0x1cd3('0x439')]&&_0x5bd2a0['data'][_0x1cd3('0xd34')]&&_0x5bd2a0[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x2712ce[_0x1cd3('0xd34')]=_0x5bd2a0[_0x1cd3('0x439')]['errors']||[{'message':_0x5bd2a0[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1a75')}];for(var _0x373785=0x0;_0x373785<_0x5bd2a0[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length'];_0x373785++){_0x367355['error']({'title':_0x5bd2a0[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x373785]['type'],'msg':_0x5bd2a0[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x373785][_0x1cd3('0x43a')]});}}else{_0x367355[_0x1cd3('0x434')]({'title':_0x5bd2a0[_0x1cd3('0x3a6')]?'API:'+_0x5bd2a0['status']+_0x1cd3('0x436')+_0x5bd2a0[_0x1cd3('0xd35')]:'api.intFreshdeskConfiguration.delete','msg':_0x5bd2a0[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x5bd2a0[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x5bd2a0[_0x1cd3('0x43a')]||_0x5bd2a0[_0x1cd3('0x43b')]()});}});},function(){});}function _0x458abc(_0x2872d4){return _0x2872d4===null?undefined:new Date(_0x2872d4);}function _0x142817(_0x21b185){_0x5cc599[_0x1cd3('0x39d')](_0x21b185);}}}());(function(){'use strict';_0x2469da[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x53e'),_0x1cd3('0xd24'),_0x1cd3('0x3c5'),_0x1cd3('0x461'),_0x1cd3('0x19f9'),'items','item',_0x1cd3('0x15d3'),'type',_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')]('app.integrations')[_0x1cd3('0x39b')](_0x1cd3('0x1a69'),_0x2469da);function _0x2469da(_0x4e7580,_0x143e80,_0xeb2558,_0x597600,_0x224bb5,_0x3fb519,_0x3df118,_0x1613e5,_0x362326,_0x53f25b,_0x3d3d5e,_0x52388e,_0xa6435b){var _0xb0b643=this;_0xb0b643[_0x1cd3('0x3ca')]=_0x52388e['getCurrentUser']();_0xb0b643['errors']=[];_0xb0b643[_0x1cd3('0x486')]=_0x1cd3('0x19fb')+_[_0x1cd3('0x19fe')](_0x53f25b);_0xb0b643['item']=angular[_0x1cd3('0x429')](_0x1613e5);_0xb0b643[_0x1cd3('0x493')]=_0x3df118;_0xb0b643[_0x1cd3('0x424')]=_0x53f25b;_0xb0b643[_0x1cd3('0xd27')]=_0xa6435b;_0xb0b643['newItem']=![];if(!_0xb0b643[_0x1cd3('0x19fa')]){_0xb0b643[_0x1cd3('0x19fa')]={'type':_0x1cd3('0x961')};_0xb0b643[_0x1cd3('0x19fa')][_['capitalize'](_0x53f25b)+'Id']=_0x3fb519['id'];_0xb0b643[_0x1cd3('0x486')]='INTEGRATIONS.NEW_'+_['toUpper'](_0x53f25b);_0xb0b643[_0x1cd3('0x19fc')]=!![];}_0xb0b643['addNewItem']=_0x14b02b;_0xb0b643[_0x1cd3('0x547')]=_0x16f5d6;_0xb0b643[_0x1cd3('0x548')]=_0x5b5013;_0xb0b643['getSelectedVariable']=_0x56e4d6;_0xb0b643[_0x1cd3('0x39c')]=_0x1c7b37;_0x3d3d5e[_0x1cd3('0xb84')][_0x1cd3('0x361')]({'nolimit':!![]})[_0x1cd3('0x81')]['then'](function(_0x22f93d){_0xb0b643[_0x1cd3('0xef7')]=_0x22f93d[_0x1cd3('0xf6')]?_0x22f93d[_0x1cd3('0xf6')]:[];return _0x3d3d5e[_0x1cd3('0xa6d')][_0x1cd3('0xe1c')]()[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x54840c){_0xb0b643[_0x1cd3('0x1a01')]=_['difference'](_[_0x1cd3('0x80')](_0x54840c),[_0x1cd3('0x81'),'$resolved','createdAt',_0x1cd3('0x12fe'),_0x1cd3('0x1a02')]);_0xb0b643[_0x1cd3('0x1a01')][_0x1cd3('0x7b')](_0x1cd3('0x1a03'));return _0x3d3d5e['voiceDialReport'][_0x1cd3('0xe1c')]()[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x41fcb3){_0xb0b643[_0x1cd3('0x1a04')]=_['difference'](_['keys'](_0x41fcb3),[_0x1cd3('0x81'),'$resolved','createdAt','updatedAt',_0x1cd3('0x1a02')]);_0xb0b643[_0x1cd3('0x1a04')][_0x1cd3('0x7b')](_0x1cd3('0x1a03'));})[_0x1cd3('0xfd')](function(_0x1ac39f){_0x224bb5['error']({'title':_0x1ac39f[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x1ac39f[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x1ac39f[_0x1cd3('0xd35')]:_0x1cd3('0x1a05'),'msg':_0x1ac39f[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x1ac39f[_0x1cd3('0x439')]):_0x1ac39f[_0x1cd3('0x43b')]()});});_0x3d3d5e[_0x1cd3('0x1a5b')][_0x1cd3('0xdfb')]({'id':_0x362326['id'],'ticketType':_0x3fb519[_0x1cd3('0x1a06')]?_0x3fb519[_0x1cd3('0x1a06')]:undefined})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x1901f9){_0xb0b643['accountConnected']=!![];_0xb0b643[_0x1cd3('0x3c7')]=_0x1901f9[_0x1cd3('0xf6')]?_0x1901f9[_0x1cd3('0xf6')]:[];if(_0xb0b643[_0x1cd3('0x19fa')][_0x1cd3('0x1a08')]){_0xb0b643[_0x1cd3('0x150e')]=_[_0x1cd3('0x442')](_0xb0b643[_0x1cd3('0x3c7')],{'id':_0xb0b643['item'][_0x1cd3('0x1a08')]});}})[_0x1cd3('0xfd')](function(_0xb0dc28){_0xb0b643['accountConnected']=![];console['error'](_0xb0dc28);});function _0x14b02b(){_0xb0b643['errors']=[];if(_0xb0b643['customField']){_0xb0b643[_0x1cd3('0x19fa')]['idField']=_0xb0b643[_0x1cd3('0x150e')]['id'];_0xb0b643['item'][_0x1cd3('0x1a09')]=_0xb0b643[_0x1cd3('0x150e')][_0x1cd3('0x98')];_0xb0b643[_0x1cd3('0x19fa')]['customField']=_0xb0b643[_0x1cd3('0x150e')][_0x1cd3('0x8f6')];}_0x3d3d5e[_0x1cd3('0xbf2')][_0x1cd3('0xd6d')](_0xb0b643['item'])[_0x1cd3('0x81')]['then'](function(_0x26b851){_0xb0b643[_0x1cd3('0x493')][_0x1cd3('0x621')](_0x26b851);_0x224bb5[_0x1cd3('0x473')]({'title':_[_0x1cd3('0x12b1')](_0x53f25b)+_0x1cd3('0x1a0a'),'msg':_['capitalize'](_0x53f25b)+'\x20has\x20been\x20created!'});_0x1c7b37();})['catch'](function(_0x3b10e7){console['error'](_0x3b10e7);_0xb0b643[_0x1cd3('0xd34')]=_0x3b10e7[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x3b10e7[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1a0b')}];});}function _0x16f5d6(){_0xb0b643[_0x1cd3('0xd34')]=[];if(_0xb0b643[_0x1cd3('0x150e')]){_0xb0b643[_0x1cd3('0x19fa')]['idField']=_0xb0b643['customField']['id'];_0xb0b643[_0x1cd3('0x19fa')][_0x1cd3('0x1a09')]=_0xb0b643['customField'][_0x1cd3('0x98')];_0xb0b643['item'][_0x1cd3('0x150e')]=_0xb0b643['customField'][_0x1cd3('0x8f6')];}_0x3d3d5e[_0x1cd3('0xbf2')][_0x1cd3('0x378')]({'id':_0xb0b643[_0x1cd3('0x19fa')]['id']},_0xb0b643[_0x1cd3('0x19fa')])[_0x1cd3('0x81')]['then'](function(_0x273e06){var _0x1d4aae=_[_0x1cd3('0x442')](_0xb0b643['items'],{'id':_0x273e06['id']});if(_0x1d4aae){_[_0x1cd3('0xf2')](_0x1d4aae,_0x273e06);}_0x224bb5[_0x1cd3('0x473')]({'title':_['capitalize'](_0x53f25b)+_0x1cd3('0x1a50'),'msg':_[_0x1cd3('0x12b1')](_0x53f25b)+'\x20has\x20been\x20saved!'});_0x1c7b37();})[_0x1cd3('0xfd')](function(_0x343bff){console[_0x1cd3('0x434')](_0x343bff);_0xb0b643[_0x1cd3('0xd34')]=_0x343bff['data'][_0x1cd3('0xd34')]||[{'message':_0x343bff[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1a0c')}];});}function _0x5b5013(_0x30d504){_0xb0b643['errors']=[];var _0x3db8e0=_0x597600['confirm']()[_0x1cd3('0x486')](_0x1cd3('0xd3a'))[_0x1cd3('0xd3b')](_0x1cd3('0x158a')+_0x53f25b+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x1a0d')+_[_0x1cd3('0x12b1')](_0x53f25b))['ok'](_0x1cd3('0xd3f'))['cancel'](_0x1cd3('0x674'))['targetEvent'](_0x30d504);_0x597600[_0x1cd3('0x37e')](_0x3db8e0)['then'](function(){_0x3d3d5e['intFreshdeskField'][_0x1cd3('0xa1c')]({'id':_0xb0b643[_0x1cd3('0x19fa')]['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_['remove'](_0xb0b643['items'],{'id':_0xb0b643[_0x1cd3('0x19fa')]['id']});_0x224bb5[_0x1cd3('0x473')]({'title':_['capitalize'](_0x53f25b)+_0x1cd3('0x1a0e'),'msg':_[_0x1cd3('0x12b1')](_0x53f25b)+_0x1cd3('0xd41')});_0x1c7b37();})[_0x1cd3('0xfd')](function(_0x57f890){console[_0x1cd3('0x434')](_0x57f890);_0xb0b643[_0x1cd3('0xd34')]=_0x57f890[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x57f890[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1a76')}];});},function(){});}function _0x56e4d6(){if(_0xb0b643[_0x1cd3('0x19fa')][_0x1cd3('0x1a0f')]!==undefined){return _0xb0b643[_0x1cd3('0x19fa')][_0x1cd3('0x1a0f')];}else{return'Please\x20select\x20a\x20variable';}};function _0x1c7b37(){_0x597600[_0x1cd3('0x39d')]();}}}());(function(){'use strict';_0x113e02[_0x1cd3('0xc')]=[_0x1cd3('0x53e'),_0x1cd3('0xd24'),'$mdDialog',_0x1cd3('0x372'),'$translate',_0x1cd3('0x463'),_0x1cd3('0xc49'),_0x1cd3('0x370'),_0x1cd3('0x461'),_0x1cd3('0x56'),'freshdeskAccount',_0x1cd3('0x390')];angular[_0x1cd3('0x0')](_0x1cd3('0x35'))[_0x1cd3('0x39b')](_0x1cd3('0x1a77'),_0x113e02);function _0x113e02(_0x1af2de,_0x389904,_0x548fb8,_0x3c9368,_0x418075,_0xb3749a,_0x3ed405,_0x3886ee,_0x1bddac,_0xb6bd31,_0x2d8029,_0x2a499d){var _0xef2f22=this;_0xef2f22[_0x1cd3('0x3ca')]=_0xb6bd31[_0x1cd3('0x5d')]();_0xef2f22[_0x1cd3('0x463')]=_0xb3749a;_0xef2f22[_0x1cd3('0xc49')]=_0x3ed405;_0xef2f22['passwordPattern']=_0xef2f22[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0xef2f22[_0x1cd3('0xd22')]=_0x389904['protocol']()+_0x1cd3('0x11cf')+_0x389904[_0x1cd3('0x3ac')]();_0xef2f22['freshdeskAccount']=_0x2d8029||_0x1af2de[_0x1cd3('0x36a')][_0x1cd3('0x1a56')]||{};_0xef2f22[_0x1cd3('0x390')]=_0x2a499d&&_0x2a499d[_0x1cd3('0x466')]==0x1?_0x2a499d[_0x1cd3('0xf6')][0x0]:null;_0xef2f22[_0x1cd3('0xd27')]=_0xb6bd31[_0x1cd3('0xd44')](_0xef2f22['userProfileSection']?_0xef2f22[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);_0xef2f22['hasModulePermissions']={};_0xef2f22[_0x1cd3('0xe5f')]=_0x1af2de[_0x1cd3('0x36a')][_0x1cd3('0x1418')]||0x0;_0xef2f22[_0x1cd3('0x11d0')]=_0x1bddac[_0x1cd3('0x654')];_0xef2f22[_0x1cd3('0x1a78')]=_0x39ae56;_0xef2f22['saveFreshdeskAccount']=_0x3c9245;function _0x39ae56(){_0x1af2de['go'](_0x1cd3('0x186'),{},{'reload':_0x1cd3('0x186')});}function _0x3c9245(){_0x3886ee[_0x1cd3('0x1a5b')]['update']({'id':_0xef2f22[_0x1cd3('0x1a56')]['id']},_0xef2f22[_0x1cd3('0x1a56')])[_0x1cd3('0x81')]['then'](function(){_0x1bddac[_0x1cd3('0x473')]({'title':_0x1cd3('0x1a79'),'msg':_0xef2f22['freshdeskAccount'][_0x1cd3('0x98')]?_0xef2f22['freshdeskAccount']['name']+_0x1cd3('0xe65'):''});})[_0x1cd3('0xfd')](function(_0x167d5e){_0x1bddac[_0x1cd3('0x434')]({'title':_0x167d5e[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x167d5e[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x167d5e[_0x1cd3('0xd35')]:_0x1cd3('0x1a7a'),'msg':_0x167d5e[_0x1cd3('0x439')]?JSON['stringify'](_0x167d5e[_0x1cd3('0x439')]):_0x167d5e[_0x1cd3('0x43b')]()});});}}}());(function(){'use strict';_0x498a0d['$inject']=['$scope',_0x1cd3('0x371'),'$state',_0x1cd3('0x969'),'$mdDialog',_0x1cd3('0x372'),_0x1cd3('0x3e7'),_0x1cd3('0x3f7'),_0x1cd3('0x1a55'),'userProfile',_0x1cd3('0x390'),'api','msUtils','toasty',_0x1cd3('0x56'),_0x1cd3('0x463'),_0x1cd3('0xc49')];angular[_0x1cd3('0x0')](_0x1cd3('0x35'))[_0x1cd3('0x39b')](_0x1cd3('0x1a7b'),_0x498a0d);function _0x498a0d(_0x5da252,_0x5846b0,_0x5d9601,_0x471c4d,_0x2afac1,_0x346165,_0x3a1188,_0x87921,_0x1557f4,_0x5db0ab,_0x2ae8a2,_0xac2ca,_0x4dabea,_0x410261,_0x2ddbb2,_0x1136e9,_0x4aacd2){var _0x2002f7=this;_0x2002f7[_0x1cd3('0x463')]=_0x1136e9;_0x2002f7[_0x1cd3('0xc49')]=_0x4aacd2;_0x2002f7[_0x1cd3('0x3ca')]=_0x2ddbb2[_0x1cd3('0x5d')]();_0x2002f7[_0x1cd3('0x1a55')]=_0x1557f4||{'count':0x0,'rows':[]};_0x2002f7[_0x1cd3('0x38a')]=_0x5db0ab;_0x2002f7['userProfileSection']=_0x2ae8a2&&_0x2ae8a2['count']==0x1?_0x2ae8a2['rows'][0x0]:null;_0x2002f7[_0x1cd3('0xd27')]=_0x2ddbb2[_0x1cd3('0xd44')](_0x2002f7[_0x1cd3('0x390')]?_0x2002f7[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);_0x2002f7[_0x1cd3('0xd45')]=_0x1cd3('0x1a55');_0x2002f7[_0x1cd3('0xd46')]='';_0x2002f7[_0x1cd3('0xd47')]=null;_0x2002f7[_0x1cd3('0x1a7c')]=[];_0x2002f7[_0x1cd3('0x3d4')]={'fields':'createdAt,updatedAt,id,name,username,remoteUri,apiKey,serverUrl,description','limit':0xa,'page':0x1};_0x2002f7[_0x1cd3('0x1171')]=_0x28bc20;_0x2002f7['testtestintegrationaccount']=_0x5aa917;_0x2002f7['deleteconfirm']=_0x2affa7;_0x2002f7['success']=_0x4a1b80;_0x2002f7['getFreshdeskAccounts']=_0xe5e3f2;_0x2002f7['createOrEditFreshdeskAccount']=_0x554b65;_0x2002f7[_0x1cd3('0x1a5a')]=_0x4dec30;_0x2002f7[_0x1cd3('0x1a7d')]=_0x140649;_0x2002f7[_0x1cd3('0x1a7e')]=_0xd839ed;_0x2002f7[_0x1cd3('0x1a7f')]=_0xb2a3c4;_0x2002f7[_0x1cd3('0x1a80')]=_0x2dd12a;function _0x28bc20(_0xa0d43,_0x56a16a){_0x5d9601['go']('app.integrations.freshdeskAccounts.edit',{'id':_0xa0d43['id'],'freshdeskAccount':_0xa0d43,'crudPermissions':_0x2002f7[_0x1cd3('0xd27')]});}function _0x5aa917(_0x110564,_0x13a7c9){return _0xac2ca['intFreshdeskAccount']['getFields']({'id':_0x110564['id'],'test':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x410261[_0x1cd3('0x473')]({'title':_0x1cd3('0x1a81'),'msg':_0x1cd3('0x1a28')});})[_0x1cd3('0xfd')](function(_0x37d7a7){_0x410261[_0x1cd3('0x434')]({'title':_0x1cd3('0x1a81'),'msg':_0x37d7a7['data']?_0x37d7a7['data'][_0x1cd3('0x43a')]?_0x37d7a7['data']['message']:JSON[_0x1cd3('0x438')](_0x37d7a7[_0x1cd3('0x439')]):_0x37d7a7[_0x1cd3('0x43b')]()});});}function _0x2affa7(_0x109497,_0x39c3ad){var _0x2e8c76=_0x2afac1[_0x1cd3('0xd39')]()[_0x1cd3('0x486')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20'+_[_0x1cd3('0xd50')](_0x1cd3('0x1a56'))+'?')['htmlContent'](_0x1cd3('0xd51')+(_0x109497[_0x1cd3('0x98')]||'freshdeskAccount')+_0x1cd3('0xd52')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x1a82'))['targetEvent'](_0x39c3ad)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x2afac1[_0x1cd3('0x37e')](_0x2e8c76)[_0x1cd3('0x77')](function(){_0x4dec30(_0x109497);},function(){console[_0x1cd3('0x7d')]('CANCEL');});}var _0x1ee72e=!![];var _0x21b7ed=0x1;_0x5da252['$watch'](_0x1cd3('0xd56'),function(_0x3ecae3,_0x1fcee3){if(_0x1ee72e){_0x3a1188(function(){_0x1ee72e=![];});}else{if(!_0x1fcee3){_0x21b7ed=_0x2002f7[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0x3ecae3!==_0x1fcee3){_0x2002f7[_0x1cd3('0x3d4')]['page']=0x1;}if(!_0x3ecae3){_0x2002f7['query'][_0x1cd3('0x8fd')]=_0x21b7ed;}_0x2002f7[_0x1cd3('0x1a83')]();}});function _0x4a1b80(_0x100531){_0x2002f7[_0x1cd3('0x1a55')]=_0x100531||{'count':0x0,'rows':[]};}function _0xe5e3f2(){_0x2002f7[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0x2002f7['query'][_0x1cd3('0x8fd')]-0x1)*_0x2002f7[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];if(_0x2ddbb2['hasRole']('admin')){_0x2002f7[_0x1cd3('0x539')]=_0xac2ca[_0x1cd3('0x1a5b')]['get'](_0x2002f7[_0x1cd3('0x3d4')],_0x4a1b80)[_0x1cd3('0x81')];}else{_0x2002f7[_0x1cd3('0x3d4')]['id']=_0x2002f7['userProfile']['id'];_0x2002f7['query'][_0x1cd3('0xd58')]=_0x1cd3('0x18b');_0x2002f7[_0x1cd3('0x539')]=_0xac2ca['userProfile'][_0x1cd3('0xd59')](_0x2002f7[_0x1cd3('0x3d4')],_0x4a1b80)[_0x1cd3('0x81')];}}function _0x554b65(_0x2c1c93,_0x11c7ec){_0x2afac1[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1a57'),'controllerAs':'vm','templateUrl':'app/main/apps/integrations/views/freshdeskAccounts/create/dialog.html','parent':angular[_0x1cd3('0x37f')](_0x346165[_0x1cd3('0x380')]),'targetEvent':_0x2c1c93,'clickOutsideToClose':!![],'locals':{'freshdeskAccount':_0x11c7ec,'freshdeskAccounts':_0x2002f7[_0x1cd3('0x1a55')]['rows'],'license':_0x2002f7[_0x1cd3('0x463')],'setting':_0x2002f7['setting'],'crudPermissions':_0x2002f7[_0x1cd3('0xd27')]}});}function _0x4dec30(_0x2a2589){_0xac2ca[_0x1cd3('0x1a5b')][_0x1cd3('0xa1c')]({'id':_0x2a2589['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x2002f7['freshdeskAccounts'][_0x1cd3('0xf6')],{'id':_0x2a2589['id']});_0x2002f7[_0x1cd3('0x1a55')]['count']-=0x1;if(!_0x2002f7[_0x1cd3('0x1a55')]['rows']['length']){_0x2002f7[_0x1cd3('0x1a83')]();}_0x410261[_0x1cd3('0x473')]({'title':_['startCase'](_0x1cd3('0x1a84'))+_0x1cd3('0xd5c'),'msg':_0x2a2589[_0x1cd3('0x98')]?_0x2a2589[_0x1cd3('0x98')]+_0x1cd3('0xd41'):''});})['catch'](function(_0x251202){if(_0x251202[_0x1cd3('0x439')]&&_0x251202[_0x1cd3('0x439')]['errors']&&_0x251202[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x2002f7[_0x1cd3('0xd34')]=_0x251202[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x251202[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1a85')}];for(var _0x4aa3cb=0x0;_0x4aa3cb<_0x251202[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length'];_0x4aa3cb++){_0x410261[_0x1cd3('0x434')]({'title':_0x251202['data']['errors'][_0x4aa3cb][_0x1cd3('0x424')],'msg':_0x251202[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x4aa3cb][_0x1cd3('0x43a')]});}}else{_0x410261[_0x1cd3('0x434')]({'title':_0x251202[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x251202['status']+_0x1cd3('0x436')+_0x251202[_0x1cd3('0xd35')]:_0x1cd3('0x1a85'),'msg':_0x251202[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x251202[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x251202[_0x1cd3('0x43a')]||_0x251202['toString']()});}});}function _0x140649(){var _0x1d52d8=angular['copy'](_0x2002f7[_0x1cd3('0x1a7c')]);_0x2002f7[_0x1cd3('0x1a7c')]=[];return _0x1d52d8;}function _0xd839ed(_0x39699f){var _0x549f5c=_0x2afac1['confirm']()['title'](_0x1cd3('0x1a86'))[_0x1cd3('0xd60')]('<b>'+_0x2002f7[_0x1cd3('0x1a7c')][_0x1cd3('0x7a')]+_0x1cd3('0xd61')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x1a87'))[_0x1cd3('0xd63')](_0x39699f)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x2afac1[_0x1cd3('0x37e')](_0x549f5c)[_0x1cd3('0x77')](function(){_0x2002f7[_0x1cd3('0x1a7c')][_0x1cd3('0x394')](function(_0xdfcb03){_0x4dec30(_0xdfcb03);});_0x2002f7[_0x1cd3('0x1a7c')]=[];});}function _0xb2a3c4(){_0x2002f7[_0x1cd3('0x1a7c')]=[];}function _0x2dd12a(){_0x2002f7['selectedFreshdeskAccounts']=_0x2002f7[_0x1cd3('0x1a55')][_0x1cd3('0xf6')];}}}());(function(){'use strict';_0xf8aa6e[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x53e'),_0x1cd3('0xd24'),'$mdDialog','$q','$translate',_0x1cd3('0x461'),_0x1cd3('0x1a88'),_0x1cd3('0x1a89'),'api',_0x1cd3('0x56'),_0x1cd3('0x463'),_0x1cd3('0xc49'),_0x1cd3('0xd27')];angular['module'](_0x1cd3('0x35'))[_0x1cd3('0x39b')]('CreateOrEditFreshsalesAccountDialogController',_0xf8aa6e);function _0xf8aa6e(_0x153b68,_0x5bcdd5,_0x33574d,_0x496879,_0x5e0bcb,_0x1d78dd,_0x4e7838,_0x3d4eab,_0x570fe9,_0x1d2a6d,_0x4553f9,_0x558dcb,_0x359fb2,_0x1a9f31){var _0x108312=this;_0x108312[_0x1cd3('0x3ca')]=_0x4553f9[_0x1cd3('0x5d')]();_0x108312[_0x1cd3('0xd34')]=[];_0x108312[_0x1cd3('0xc49')]=_0x359fb2;_0x108312['license']=_0x558dcb;_0x108312[_0x1cd3('0xd27')]=_0x1a9f31;_0x108312['hasModulePermissions']={};_0x108312[_0x1cd3('0xd29')]=_0x108312[_0x1cd3('0xc49')]&&_0x108312[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x108312[_0x1cd3('0x486')]=_0x1cd3('0x1a8a');_0x108312[_0x1cd3('0x1a89')]=angular[_0x1cd3('0x429')](_0x570fe9);_0x108312[_0x1cd3('0x1a88')]=_0x3d4eab;_0x108312[_0x1cd3('0x1a8b')]=![];if(!_0x108312[_0x1cd3('0x1a89')]){_0x108312['freshsalesAccount']={'serverUrl':_0x33574d[_0x1cd3('0x3b0')]()+_0x1cd3('0x11cf')+_0x33574d[_0x1cd3('0x3ac')]()+(_0x33574d[_0x1cd3('0x3b1')]()?':'+_0x33574d[_0x1cd3('0x3b1')]():'')};_0x108312[_0x1cd3('0x486')]='INTEGRATIONS.NEW_FRESHSALESACCOUNT';_0x108312['newFreshsalesAccount']=!![];}_0x108312[_0x1cd3('0x1a8c')]=_0x4c49e1;_0x108312[_0x1cd3('0x1a8d')]=_0x2a36f0;_0x108312[_0x1cd3('0x1a8e')]=_0x520be3;_0x108312[_0x1cd3('0xd31')]=_0x1115f9;_0x108312['closeDialog']=_0x30ea09;function _0x4c49e1(){_0x108312[_0x1cd3('0xd34')]=[];_0x1d2a6d['intFreshsalesAccount'][_0x1cd3('0xd6d')](_0x108312['freshsalesAccount'])['$promise'][_0x1cd3('0x77')](function(_0x37d07e){_0x108312[_0x1cd3('0x1a88')][_0x1cd3('0x621')](_0x37d07e[_0x1cd3('0xd32')]());_0x4e7838[_0x1cd3('0x473')]({'title':_0x1cd3('0x1a8f'),'msg':_0x108312['freshsalesAccount']['name']?_0x108312[_0x1cd3('0x1a89')]['name']+_0x1cd3('0xd33'):''});_0x30ea09(_0x37d07e);})['catch'](function(_0xed71cd){if(_0xed71cd[_0x1cd3('0x439')]&&_0xed71cd[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0xed71cd['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x108312[_0x1cd3('0xd34')]=_0xed71cd['data'][_0x1cd3('0xd34')]||[{'message':_0xed71cd[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1a90')}];for(var _0xd2b9e0=0x0;_0xd2b9e0<_0xed71cd[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0xd2b9e0+=0x1){_0x4e7838[_0x1cd3('0x434')]({'title':_0xed71cd['data'][_0x1cd3('0xd34')][_0xd2b9e0][_0x1cd3('0x424')],'msg':_0xed71cd['data'][_0x1cd3('0xd34')][_0xd2b9e0][_0x1cd3('0x43a')]});}}else{_0x4e7838[_0x1cd3('0x434')]({'title':_0xed71cd[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0xed71cd[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0xed71cd['statusText']:_0x1cd3('0x1a90'),'msg':_0xed71cd[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0xed71cd['data'][_0x1cd3('0x43a')]):_0xed71cd[_0x1cd3('0x43b')]()});}});}function _0x2a36f0(){_0x108312[_0x1cd3('0xd34')]=[];_0x1d2a6d[_0x1cd3('0xc1d')][_0x1cd3('0x378')]({'id':_0x108312[_0x1cd3('0x1a89')]['id']},_0x108312[_0x1cd3('0x1a89')])['$promise'][_0x1cd3('0x77')](function(_0x25921d){var _0x4a0749=_[_0x1cd3('0x442')](_0x108312['freshsalesAccounts'],{'id':_0x25921d['id']});if(_0x4a0749){_[_0x1cd3('0xf2')](_0x4a0749,_['pick'](_0x25921d[_0x1cd3('0xd32')](),_[_0x1cd3('0x80')](_0x4a0749)));}_0x4e7838['success']({'title':_0x1cd3('0x1a91'),'msg':_0x108312[_0x1cd3('0x1a89')]['name']?_0x108312[_0x1cd3('0x1a89')][_0x1cd3('0x98')]+_0x1cd3('0xd37'):''});_0x30ea09(_0x25921d);})[_0x1cd3('0xfd')](function(_0x3742ea){if(_0x3742ea[_0x1cd3('0x439')]&&_0x3742ea[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x3742ea['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x108312['errors']=_0x3742ea[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x3742ea[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1a92')}];for(var _0x26d8e9=0x0;_0x26d8e9<_0x3742ea[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x26d8e9++){_0x4e7838[_0x1cd3('0x434')]({'title':_0x3742ea['data'][_0x1cd3('0xd34')][_0x26d8e9][_0x1cd3('0x424')],'msg':_0x3742ea[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x26d8e9][_0x1cd3('0x43a')]});}}else{_0x4e7838['error']({'title':_0x3742ea[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x3742ea[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x3742ea['statusText']:'api.intFreshsalesAccount.update','msg':_0x3742ea['data']?JSON['stringify'](_0x3742ea[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x3742ea[_0x1cd3('0x43b')]()});}});}function _0x520be3(_0x5835a7){_0x108312[_0x1cd3('0xd34')]=[];var _0x5980ad=_0x496879[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xd3a'))[_0x1cd3('0xd3b')]('The\x20freshsalesAccount\x20will\x20be\x20deleted.')[_0x1cd3('0xd3d')](_0x1cd3('0x1a93'))['ok'](_0x1cd3('0xd3f'))['cancel']('Cancel')[_0x1cd3('0xd63')](_0x5835a7);_0x496879[_0x1cd3('0x37e')](_0x5980ad)[_0x1cd3('0x77')](function(){_0x1d2a6d[_0x1cd3('0xc1d')][_0x1cd3('0xa1c')]({'id':_0x108312[_0x1cd3('0x1a89')]['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_['remove'](_0x108312[_0x1cd3('0x1a88')],{'id':_0x108312[_0x1cd3('0x1a89')]['id']});_0x4e7838[_0x1cd3('0x473')]({'title':_0x1cd3('0x1a94'),'msg':(_0x108312[_0x1cd3('0x1a89')][_0x1cd3('0x98')]||_0x1cd3('0x1a89'))+_0x1cd3('0xd41')});_0x30ea09(_0x108312[_0x1cd3('0x1a89')]);})['catch'](function(_0xe4db00){if(_0xe4db00['data']&&_0xe4db00[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0xe4db00['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x108312[_0x1cd3('0xd34')]=_0xe4db00[_0x1cd3('0x439')]['errors']||[{'message':_0xe4db00['toString'](),'type':_0x1cd3('0x1a95')}];for(var _0x16f919=0x0;_0x16f919<_0xe4db00['data']['errors'][_0x1cd3('0x7a')];_0x16f919++){_0x4e7838['error']({'title':_0xe4db00[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x16f919][_0x1cd3('0x424')],'msg':_0xe4db00[_0x1cd3('0x439')]['errors'][_0x16f919]['message']});}}else{_0x4e7838[_0x1cd3('0x434')]({'title':_0xe4db00['status']?_0x1cd3('0x435')+_0xe4db00['status']+_0x1cd3('0x436')+_0xe4db00[_0x1cd3('0xd35')]:_0x1cd3('0x1a95'),'msg':_0xe4db00[_0x1cd3('0x439')]?JSON['stringify'](_0xe4db00[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0xe4db00[_0x1cd3('0x43a')]||_0xe4db00['toString']()});}});},function(){});}function _0x1115f9(_0x404430){return _0x404430===null?undefined:new Date(_0x404430);}function _0x30ea09(_0x180db8){_0x496879[_0x1cd3('0x39d')](_0x180db8);}}}());(function(){'use strict';_0x510cdb['$inject']=[_0x1cd3('0x3c5'),_0x1cd3('0x372'),_0x1cd3('0x370'),_0x1cd3('0x461'),_0x1cd3('0x56')];angular[_0x1cd3('0x0')]('app.integrations')[_0x1cd3('0x39b')](_0x1cd3('0x1a96'),_0x510cdb);function _0x510cdb(_0x51182e,_0x20983e,_0x442c18,_0x5dcb5e,_0x7d9d08){var _0x237fc3=this;_0x237fc3[_0x1cd3('0x3ca')]=_0x7d9d08[_0x1cd3('0x5d')]();_0x237fc3[_0x1cd3('0x1a89')]={};_0x237fc3[_0x1cd3('0x1a97')]={};_0x237fc3[_0x1cd3('0x19c2')]=[];_0x237fc3[_0x1cd3('0x1a98')]=-0x1;_0x237fc3[_0x1cd3('0xd27')];_0x237fc3[_0x1cd3('0xe08')]=_0x3dafcd;_0x237fc3[_0x1cd3('0x1a99')]=_0x34b396;_0x237fc3[_0x1cd3('0x1a9a')]=_0x24d34a;_0x237fc3[_0x1cd3('0x1a9b')]=_0x410320;function _0x3dafcd(_0x58743e,_0x42c2f9){_0x237fc3[_0x1cd3('0x1a89')]=_0x58743e;_0x237fc3['crudPermissions']=typeof _0x42c2f9!==_0x1cd3('0x491')?_0x42c2f9:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x442c18[_0x1cd3('0xc1d')][_0x1cd3('0x19c8')]({'id':_0x237fc3[_0x1cd3('0x1a89')]['id'],'sort':_0x1cd3('0x5b')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x12c147){_0x237fc3[_0x1cd3('0x19c2')]=_0x12c147[_0x1cd3('0xf6')]?_0x12c147[_0x1cd3('0xf6')]:[];if(_0x237fc3[_0x1cd3('0x19c2')][_0x1cd3('0x7a')]){_0x237fc3[_0x1cd3('0x1a99')](0x0);}return _0x442c18[_0x1cd3('0xb84')][_0x1cd3('0x361')]({'nolimit':!![],'sort':_0x1cd3('0x98')})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0xfc54b3){_0x237fc3[_0x1cd3('0xef7')]=_0xfc54b3[_0x1cd3('0xf6')]?_0xfc54b3[_0x1cd3('0xf6')]:[];_0x237fc3['variablesById']=_[_0x1cd3('0xe2d')](_0x237fc3['variables'],'id');})[_0x1cd3('0xfd')](function(_0x58808d){_0x5dcb5e['error']({'title':_0x58808d['status']?_0x1cd3('0x435')+_0x58808d[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x58808d[_0x1cd3('0xd35')]:_0x1cd3('0x19cb'),'msg':_0x58808d[_0x1cd3('0x439')]?JSON['stringify'](_0x58808d['data']):_0x58808d[_0x1cd3('0x43b')]()});});}function _0x34b396(_0x25978b){_0x237fc3['freshsalesConfiguration']=_0x237fc3[_0x1cd3('0x19c2')][_0x25978b];_0x237fc3[_0x1cd3('0x1a98')]=_0x25978b;_0x442c18[_0x1cd3('0xc22')]['getSubjects']({'id':_0x237fc3['freshsalesConfiguration']['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x36480d){_0x237fc3['subjects']=_0x36480d[_0x1cd3('0xf6')]?_0x36480d['rows']:[];return _0x442c18['intFreshsalesConfiguration'][_0x1cd3('0x19cc')]({'id':_0x237fc3[_0x1cd3('0x1a97')]['id']})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x26e7a2){_0x237fc3[_0x1cd3('0x19cd')]=_0x26e7a2[_0x1cd3('0xf6')]?_0x26e7a2[_0x1cd3('0xf6')]:[];return _0x442c18[_0x1cd3('0xc22')][_0x1cd3('0xdfb')]({'id':_0x237fc3[_0x1cd3('0x1a97')]['id']})[_0x1cd3('0x81')];})['then'](function(_0x1d018c){_0x237fc3[_0x1cd3('0x3c7')]=_0x1d018c[_0x1cd3('0xf6')]?_0x1d018c['rows']:[];})['catch'](function(_0x1b6604){_0x5dcb5e['error']({'title':_0x1b6604[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x1b6604[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x1b6604['statusText']:_0x1cd3('0x19ce'),'msg':_0x1b6604[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x1b6604[_0x1cd3('0x439')]):_0x1b6604[_0x1cd3('0x43b')]()});});}function _0x24d34a(_0x4ae1b2,_0x3ec0d0){_0x51182e[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1a9c'),'controllerAs':'vm','templateUrl':'app/main/apps/integrations/views/freshsalesAccounts/edit/configurations/dialog.html','parent':angular[_0x1cd3('0x37f')](_0x20983e[_0x1cd3('0x380')]),'targetEvent':_0x4ae1b2,'clickOutsideToClose':!![],'locals':{'freshsalesConfiguration':_0x3ec0d0,'configurations':_0x237fc3[_0x1cd3('0x19c2')],'license':null,'setting':null,'crudPermissions':_0x237fc3[_0x1cd3('0xd27')]}})[_0x1cd3('0x5dd')](function(){_0x237fc3[_0x1cd3('0x1a99')](0x0);});}function _0x410320(_0x139b42,_0x126ac6){var _0x3635d3=_0x51182e[_0x1cd3('0xd39')]()['title'](_0x1cd3('0x1a9d'))['htmlContent'](_0x1cd3('0xd51')+(_0x126ac6[_0x1cd3('0x98')]||_0x1cd3('0x1a97'))+_0x1cd3('0xd52')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x1a9e'))[_0x1cd3('0xd63')](_0x139b42)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x51182e[_0x1cd3('0x37e')](_0x3635d3)[_0x1cd3('0x77')](function(){_0x442c18['intFreshsalesConfiguration'][_0x1cd3('0xa1c')]({'id':_0x126ac6['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_['remove'](_0x237fc3[_0x1cd3('0x19c2')],{'id':_0x126ac6['id']});_0x5dcb5e[_0x1cd3('0x473')]({'title':_0x1cd3('0x1a9f'),'msg':_0x126ac6[_0x1cd3('0x98')]?_0x126ac6['name']+_0x1cd3('0xd41'):''});})['catch'](function(_0xf9678a){_0x5dcb5e[_0x1cd3('0x434')]({'title':_0xf9678a[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0xf9678a[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0xf9678a[_0x1cd3('0xd35')]:_0x1cd3('0x1a36'),'msg':_0xf9678a[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0xf9678a[_0x1cd3('0x439')]):_0xf9678a[_0x1cd3('0x43b')]()});})[_0x1cd3('0x5dd')](function(){_0x237fc3[_0x1cd3('0x1a99')](0x0);});},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}_0x237fc3[_0x1cd3('0x19d5')]=[];_0x237fc3[_0x1cd3('0x1a37')]=_0xb7290f;_0x237fc3['deleteSubjectConfirm']=_0xee6f91;_0x237fc3[_0x1cd3('0x19d6')]=_0x16833f;function _0xb7290f(_0x1dd53c,_0x231e1c){_0x51182e[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1aa0'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1aa1'),'parent':angular[_0x1cd3('0x37f')](_0x20983e[_0x1cd3('0x380')]),'targetEvent':_0x1dd53c,'clickOutsideToClose':!![],'locals':{'type':_0x1cd3('0x1327'),'item':_0x231e1c,'items':_0x237fc3[_0x1cd3('0x19d9')],'configuration':_0x237fc3['freshsalesConfiguration'],'account':_0x237fc3[_0x1cd3('0x1a89')],'license':null,'setting':null,'crudPermissions':_0x237fc3[_0x1cd3('0xd27')]}});}function _0x38f50d(_0x3a369d){_0x442c18[_0x1cd3('0xc28')][_0x1cd3('0xa1c')]({'id':_0x3a369d['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x237fc3['subjects'],{'id':_0x3a369d['id']});_0x5dcb5e[_0x1cd3('0x473')]({'title':'Subject\x20deleted!','msg':_0x1cd3('0x19da')});})[_0x1cd3('0xfd')](function(_0x4d0783){_0x5dcb5e['error']({'title':_0x4d0783[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x4d0783['status']+'\x20-\x20'+_0x4d0783[_0x1cd3('0xd35')]:'SYSTEM:DELETECONFIGURATIONFIELD','msg':_0x4d0783[_0x1cd3('0x439')]?JSON['stringify'](_0x4d0783[_0x1cd3('0x439')]):_0x4d0783[_0x1cd3('0x43b')]()});});}function _0xee6f91(_0x5ca32e,_0x1b3c7d){var _0x14004c=_0x51182e[_0x1cd3('0xd39')]()['title'](_0x1cd3('0x1a3c'))[_0x1cd3('0xd60')](_0x1cd3('0x19dc')+'\x20will\x20be\x20deleted.')[_0x1cd3('0xd3d')](_0x1cd3('0x1a3d'))['targetEvent'](_0x5ca32e)['ok']('OK')['cancel'](_0x1cd3('0xd55'));_0x51182e[_0x1cd3('0x37e')](_0x14004c)[_0x1cd3('0x77')](function(){_0x38f50d(_0x1b3c7d);},function(){console['log']('CANCEL');});}function _0x16833f(_0x1563e5){var _0x20e1a8=_0x51182e['confirm']()[_0x1cd3('0x486')](_0x1cd3('0x19dd'))['htmlContent']('<b>'+_0x237fc3[_0x1cd3('0x19d5')]['length']+'\x20selected</b>'+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x1a3e'))[_0x1cd3('0xd63')](_0x1563e5)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x51182e['show'](_0x20e1a8)[_0x1cd3('0x77')](function(){_0x237fc3[_0x1cd3('0x19d5')]['forEach'](function(_0x6fea4d){_0x38f50d(_0x6fea4d);});_0x237fc3['selectedSubjects']=[];});}_0x237fc3[_0x1cd3('0x19de')]=[];_0x237fc3[_0x1cd3('0x19df')]=_0x556e76;_0x237fc3[_0x1cd3('0x19e0')]=_0x117c50;_0x237fc3[_0x1cd3('0x19e1')]=_0x307030;function _0x556e76(_0x261bb8,_0x13bf2a){_0x51182e[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1aa0'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1aa1'),'parent':angular[_0x1cd3('0x37f')](_0x20983e[_0x1cd3('0x380')]),'targetEvent':_0x261bb8,'clickOutsideToClose':!![],'locals':{'type':_0x1cd3('0xde1'),'item':_0x13bf2a,'items':_0x237fc3['descriptions'],'configuration':_0x237fc3[_0x1cd3('0x1a97')],'account':_0x237fc3[_0x1cd3('0x1a89')],'license':null,'setting':null,'crudPermissions':_0x237fc3[_0x1cd3('0xd27')]}});}function _0x1441fb(_0x52b6d7){_0x442c18['intFreshsalesField'][_0x1cd3('0xa1c')]({'id':_0x52b6d7['id']})['$promise'][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x237fc3['descriptions'],{'id':_0x52b6d7['id']});_0x5dcb5e[_0x1cd3('0x473')]({'title':_0x1cd3('0x19e2'),'msg':'Description\x20has\x20been\x20deleted!'});})[_0x1cd3('0xfd')](function(_0xe87839){_0x5dcb5e[_0x1cd3('0x434')]({'title':_0xe87839[_0x1cd3('0x3a6')]?'API:'+_0xe87839[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0xe87839[_0x1cd3('0xd35')]:'SYSTEM:DELETECONFIGURATIONFIELD','msg':_0xe87839[_0x1cd3('0x439')]?JSON['stringify'](_0xe87839[_0x1cd3('0x439')]):_0xe87839['toString']()});});}function _0x117c50(_0x5de337,_0x500af4){var _0x224267=_0x51182e['confirm']()[_0x1cd3('0x486')](_0x1cd3('0x19e4'))['htmlContent'](_0x1cd3('0x1a6b')+_0x1cd3('0xd53'))['ariaLabel'](_0x1cd3('0x19e5'))[_0x1cd3('0xd63')](_0x5de337)['ok']('OK')[_0x1cd3('0x4d8')]('CANCEL');_0x51182e[_0x1cd3('0x37e')](_0x224267)[_0x1cd3('0x77')](function(){_0x1441fb(_0x500af4);},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}function _0x307030(_0x52ca15){var _0x2b1f4e=_0x51182e[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x19e6'))['htmlContent'](_0x1cd3('0xd51')+_0x237fc3['selectedDescriptions'][_0x1cd3('0x7a')]+'\x20selected</b>'+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')]('delete\x20descriptions')[_0x1cd3('0xd63')](_0x52ca15)['ok']('OK')[_0x1cd3('0x4d8')]('CANCEL');_0x51182e[_0x1cd3('0x37e')](_0x2b1f4e)[_0x1cd3('0x77')](function(){_0x237fc3['selectedDescriptions'][_0x1cd3('0x394')](function(_0xabe610){_0x1441fb(_0xabe610);});_0x237fc3[_0x1cd3('0x19de')]=[];});}_0x237fc3['selectedFields']=[];_0x237fc3['createOrEditField']=_0x520ff2;_0x237fc3['deleteFieldConfirm']=_0x92e59a;_0x237fc3[_0x1cd3('0x19ea')]=_0xcf1ccd;function _0x520ff2(_0x3f485a,_0x3b8636){_0x51182e[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1aa0'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1aa1'),'parent':angular[_0x1cd3('0x37f')](_0x20983e['body']),'targetEvent':_0x3f485a,'clickOutsideToClose':!![],'locals':{'type':_0x1cd3('0x450'),'item':_0x3b8636,'items':_0x237fc3[_0x1cd3('0x3c7')],'configuration':_0x237fc3[_0x1cd3('0x1a97')],'account':_0x237fc3['freshsalesAccount'],'license':null,'setting':null,'crudPermissions':_0x237fc3[_0x1cd3('0xd27')]}});}function _0x22a6a9(_0x51b740){_0x442c18['intFreshsalesField'][_0x1cd3('0xa1c')]({'id':_0x51b740['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x237fc3[_0x1cd3('0x3c7')],{'id':_0x51b740['id']});_0x5dcb5e[_0x1cd3('0x473')]({'title':_0x1cd3('0xe40'),'msg':_0x1cd3('0x19eb')});})['catch'](function(_0x237cdf){_0x5dcb5e[_0x1cd3('0x434')]({'title':_0x237cdf[_0x1cd3('0x3a6')]?'API:'+_0x237cdf[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x237cdf['statusText']:_0x1cd3('0x19db'),'msg':_0x237cdf[_0x1cd3('0x439')]?JSON['stringify'](_0x237cdf[_0x1cd3('0x439')]):_0x237cdf['toString']()});});}function _0x92e59a(_0x4559a0,_0x431267){var _0x3e0e32=_0x51182e[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xe3c'))[_0x1cd3('0xd60')](_0x1cd3('0x19ec')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')]('delete\x20field')[_0x1cd3('0xd63')](_0x4559a0)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x51182e[_0x1cd3('0x37e')](_0x3e0e32)[_0x1cd3('0x77')](function(){_0x22a6a9(_0x431267);},function(){console['log'](_0x1cd3('0xd55'));});}function _0xcf1ccd(_0x55ce38){var _0x4a84ad=_0x51182e['confirm']()[_0x1cd3('0x486')](_0x1cd3('0xe42'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x237fc3[_0x1cd3('0x19e8')]['length']+'\x20selected</b>'+_0x1cd3('0xd53'))['ariaLabel'](_0x1cd3('0x19ed'))[_0x1cd3('0xd63')](_0x55ce38)['ok']('OK')['cancel'](_0x1cd3('0xd55'));_0x51182e['show'](_0x4a84ad)[_0x1cd3('0x77')](function(){_0x237fc3[_0x1cd3('0x19e8')][_0x1cd3('0x394')](function(_0x2f2ad6){_0x22a6a9(_0x2f2ad6);});_0x237fc3['selectedFields']=[];});}}}());(function(){'use strict';_0x42ea7b[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x53e'),_0x1cd3('0xd24'),'$mdDialog','$q','$translate',_0x1cd3('0x461'),_0x1cd3('0x19c2'),_0x1cd3('0x1a97'),_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0x463'),'setting',_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x35'))[_0x1cd3('0x39b')](_0x1cd3('0x1a9c'),_0x42ea7b);function _0x42ea7b(_0x5bd75e,_0x28a445,_0x70b35b,_0x5abadb,_0x3db3d7,_0x4b6f4c,_0x5f3704,_0x29bb00,_0x5ed6d3,_0x34d766,_0xcaf7be,_0x45c7cd,_0x35e2c3,_0x3e1c16){var _0x384819=this;_0x384819[_0x1cd3('0x3ca')]=_0xcaf7be[_0x1cd3('0x5d')]();_0x384819[_0x1cd3('0xd34')]=[];_0x384819[_0x1cd3('0xc49')]=_0x35e2c3;_0x384819['license']=_0x45c7cd;_0x384819[_0x1cd3('0xd27')]=_0x3e1c16;_0x384819[_0x1cd3('0xd28')]={};_0x384819['passwordPattern']=_0x384819[_0x1cd3('0xc49')]&&_0x384819['setting'][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x384819[_0x1cd3('0x486')]=_0x1cd3('0x1aa2');_0x384819['freshsalesConfiguration']=angular[_0x1cd3('0x429')](_0x5ed6d3);_0x384819[_0x1cd3('0x19c2')]=_0x29bb00;_0x384819['newFreshsalesConfiguration']=![];if(!_0x384819[_0x1cd3('0x1a97')]){_0x384819['freshsalesConfiguration']={'channel':'voice','type':_0x1cd3('0xa4')};_0x384819['title']=_0x1cd3('0x1aa3');_0x384819['newFreshsalesConfiguration']=!![];}_0x384819[_0x1cd3('0x1aa4')]=_0x4f9111;_0x384819['saveFreshsalesConfiguration']=_0x23b1d9;_0x384819[_0x1cd3('0x1a9b')]=_0x14ad37;_0x384819[_0x1cd3('0xd31')]=_0x4da03d;_0x384819[_0x1cd3('0x39c')]=_0x4a2ee6;function _0x4f9111(){_0x384819['errors']=[];_0x34d766[_0x1cd3('0xc1d')][_0x1cd3('0x1a48')]({'id':_0x28a445[_0x1cd3('0x36a')]['id']},_0x384819[_0x1cd3('0x1a97')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x58f5d5){_0x384819[_0x1cd3('0x19c2')][_0x1cd3('0x621')](_0x58f5d5['toJSON']());_0x5f3704[_0x1cd3('0x473')]({'title':_0x1cd3('0x1aa5'),'msg':_0x384819['freshsalesConfiguration']['name']?_0x384819[_0x1cd3('0x1a97')][_0x1cd3('0x98')]+_0x1cd3('0xd33'):''});_0x4a2ee6(_0x58f5d5);})[_0x1cd3('0xfd')](function(_0x588a52){if(_0x588a52[_0x1cd3('0x439')]&&_0x588a52[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x588a52[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x384819[_0x1cd3('0xd34')]=_0x588a52[_0x1cd3('0x439')]['errors']||[{'message':_0x588a52[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1aa6')}];for(var _0x5c8049=0x0;_0x5c8049<_0x588a52[_0x1cd3('0x439')]['errors']['length'];_0x5c8049+=0x1){_0x5f3704['error']({'title':_0x588a52[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x5c8049]['type'],'msg':_0x588a52[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x5c8049]['message']});}}else{_0x5f3704[_0x1cd3('0x434')]({'title':_0x588a52[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x588a52['status']+_0x1cd3('0x436')+_0x588a52[_0x1cd3('0xd35')]:_0x1cd3('0x1aa6'),'msg':_0x588a52['data']?JSON[_0x1cd3('0x438')](_0x588a52['data'][_0x1cd3('0x43a')]):_0x588a52['toString']()});}});}function _0x23b1d9(){_0x384819['errors']=[];_0x34d766[_0x1cd3('0xc22')][_0x1cd3('0x378')]({'id':_0x384819['freshsalesConfiguration']['id']},_0x384819['freshsalesConfiguration'])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x23ce85){var _0xa909c5=_[_0x1cd3('0x442')](_0x384819[_0x1cd3('0x19c2')],{'id':_0x23ce85['id']});if(_0xa909c5){_[_0x1cd3('0xf2')](_0xa909c5,_['pick'](_0x23ce85[_0x1cd3('0xd32')](),_[_0x1cd3('0x80')](_0xa909c5)));}_0x5f3704[_0x1cd3('0x473')]({'title':_0x1cd3('0x1aa7'),'msg':_0x384819[_0x1cd3('0x1a97')][_0x1cd3('0x98')]?_0x384819[_0x1cd3('0x1a97')][_0x1cd3('0x98')]+_0x1cd3('0xd37'):''});_0x4a2ee6(_0x23ce85);})['catch'](function(_0x58390e){if(_0x58390e[_0x1cd3('0x439')]&&_0x58390e[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x58390e['data'][_0x1cd3('0xd34')]['length']){_0x384819['errors']=_0x58390e['data'][_0x1cd3('0xd34')]||[{'message':_0x58390e['toString'](),'type':_0x1cd3('0x1aa8')}];for(var _0x55fa0a=0x0;_0x55fa0a<_0x58390e[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x55fa0a++){_0x5f3704[_0x1cd3('0x434')]({'title':_0x58390e['data'][_0x1cd3('0xd34')][_0x55fa0a]['type'],'msg':_0x58390e[_0x1cd3('0x439')]['errors'][_0x55fa0a][_0x1cd3('0x43a')]});}}else{_0x5f3704[_0x1cd3('0x434')]({'title':_0x58390e[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x58390e[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x58390e['statusText']:_0x1cd3('0x1aa8'),'msg':_0x58390e[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x58390e[_0x1cd3('0x439')]['message']):_0x58390e['toString']()});}});}function _0x14ad37(_0x50267e){_0x384819[_0x1cd3('0xd34')]=[];var _0x1bc1c5=_0x5abadb[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xd3a'))[_0x1cd3('0xd3b')](_0x1cd3('0x1aa9'))[_0x1cd3('0xd3d')](_0x1cd3('0x1aaa'))['ok'](_0x1cd3('0xd3f'))[_0x1cd3('0x4d8')](_0x1cd3('0x674'))[_0x1cd3('0xd63')](_0x50267e);_0x5abadb[_0x1cd3('0x37e')](_0x1bc1c5)[_0x1cd3('0x77')](function(){_0x34d766['intFreshsalesConfiguration'][_0x1cd3('0xa1c')]({'id':_0x384819[_0x1cd3('0x1a97')]['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x384819[_0x1cd3('0x19c2')],{'id':_0x384819['freshsalesConfiguration']['id']});_0x5f3704[_0x1cd3('0x473')]({'title':'FreshsalesConfiguration\x20properly\x20deleted!','msg':(_0x384819[_0x1cd3('0x1a97')][_0x1cd3('0x98')]||'freshsalesConfiguration')+_0x1cd3('0xd41')});_0x4a2ee6(_0x384819[_0x1cd3('0x1a97')]);})[_0x1cd3('0xfd')](function(_0x59a5a0){if(_0x59a5a0[_0x1cd3('0x439')]&&_0x59a5a0[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x59a5a0['data']['errors'][_0x1cd3('0x7a')]){_0x384819['errors']=_0x59a5a0[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x59a5a0[_0x1cd3('0x43b')](),'type':'api.intFreshsalesConfiguration.delete'}];for(var _0x3c8746=0x0;_0x3c8746<_0x59a5a0[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x3c8746++){_0x5f3704['error']({'title':_0x59a5a0[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x3c8746][_0x1cd3('0x424')],'msg':_0x59a5a0['data'][_0x1cd3('0xd34')][_0x3c8746]['message']});}}else{_0x5f3704[_0x1cd3('0x434')]({'title':_0x59a5a0[_0x1cd3('0x3a6')]?'API:'+_0x59a5a0[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x59a5a0[_0x1cd3('0xd35')]:'api.intFreshsalesConfiguration.delete','msg':_0x59a5a0[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x59a5a0[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x59a5a0[_0x1cd3('0x43a')]||_0x59a5a0[_0x1cd3('0x43b')]()});}});},function(){});}function _0x4da03d(_0x510632){return _0x510632===null?undefined:new Date(_0x510632);}function _0x4a2ee6(_0x31ba84){_0x5abadb['hide'](_0x31ba84);}}}());(function(){'use strict';_0x3579d0['$inject']=[_0x1cd3('0x460'),_0x1cd3('0x53e'),_0x1cd3('0xd24'),'$mdDialog','toasty',_0x1cd3('0x19f9'),_0x1cd3('0x493'),'item','account','type','api',_0x1cd3('0x56'),_0x1cd3('0xd27')];angular['module']('app.integrations')[_0x1cd3('0x39b')](_0x1cd3('0x1aa0'),_0x3579d0);function _0x3579d0(_0x585992,_0x35570e,_0xd5795d,_0x5669ea,_0x5a63d9,_0x3dc0ff,_0x3440b5,_0x317d99,_0x4c6b2e,_0x2a9954,_0x1d7a07,_0x2041a5,_0x552a53){var _0x2c597d=this;_0x2c597d[_0x1cd3('0x3ca')]=_0x2041a5[_0x1cd3('0x5d')]();_0x2c597d[_0x1cd3('0xd34')]=[];_0x2c597d[_0x1cd3('0x486')]='INTEGRATIONS.EDIT_'+_[_0x1cd3('0x19fe')](_0x2a9954);_0x2c597d[_0x1cd3('0x19fa')]=angular[_0x1cd3('0x429')](_0x317d99);_0x2c597d[_0x1cd3('0x493')]=_0x3440b5;_0x2c597d[_0x1cd3('0x424')]=_0x2a9954;_0x2c597d[_0x1cd3('0xd27')]=_0x552a53;_0x2c597d[_0x1cd3('0x19fc')]=![];if(!_0x2c597d[_0x1cd3('0x19fa')]){_0x2c597d[_0x1cd3('0x19fa')]={'type':'string'};_0x2c597d[_0x1cd3('0x19fa')][_['capitalize'](_0x2a9954)+'Id']=_0x3dc0ff['id'];_0x2c597d[_0x1cd3('0x486')]=_0x1cd3('0x19fd')+_[_0x1cd3('0x19fe')](_0x2a9954);_0x2c597d[_0x1cd3('0x19fc')]=!![];}_0x2c597d[_0x1cd3('0x19ff')]=_0x20ba9d;_0x2c597d[_0x1cd3('0x547')]=_0x2aeb65;_0x2c597d[_0x1cd3('0x548')]=_0x238180;_0x2c597d[_0x1cd3('0x1a00')]=_0x45350b;_0x2c597d[_0x1cd3('0x39c')]=_0x686c92;_0x1d7a07[_0x1cd3('0xb84')][_0x1cd3('0x361')]({'nolimit':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x1888d6){_0x2c597d[_0x1cd3('0xef7')]=_0x1888d6[_0x1cd3('0xf6')]?_0x1888d6[_0x1cd3('0xf6')]:[];return _0x1d7a07[_0x1cd3('0xa6d')][_0x1cd3('0xe1c')]()[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x192cd7){_0x2c597d[_0x1cd3('0x1a01')]=_['difference'](_['keys'](_0x192cd7),['$promise',_0x1cd3('0xdfc'),_0x1cd3('0xe0d'),_0x1cd3('0x12fe'),_0x1cd3('0x1a02')]);_0x2c597d[_0x1cd3('0x1a01')][_0x1cd3('0x7b')](_0x1cd3('0x1a03'));return _0x1d7a07['voiceDialReport'][_0x1cd3('0xe1c')]()[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x3b181b){_0x2c597d['voiceDialReportColumns']=_['difference'](_[_0x1cd3('0x80')](_0x3b181b),[_0x1cd3('0x81'),_0x1cd3('0xdfc'),'createdAt',_0x1cd3('0x12fe'),_0x1cd3('0x1a02')]);_0x2c597d[_0x1cd3('0x1a04')][_0x1cd3('0x7b')](_0x1cd3('0x1a03'));})['catch'](function(_0x189393){_0x5a63d9[_0x1cd3('0x434')]({'title':_0x189393[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x189393['status']+'\x20-\x20'+_0x189393[_0x1cd3('0xd35')]:_0x1cd3('0x1a05'),'msg':_0x189393['data']?JSON[_0x1cd3('0x438')](_0x189393[_0x1cd3('0x439')]):_0x189393[_0x1cd3('0x43b')]()});});_0x1d7a07[_0x1cd3('0xc1d')][_0x1cd3('0xdfb')]({'id':_0x4c6b2e['id'],'ticketType':_0x3dc0ff[_0x1cd3('0x1a06')]?_0x3dc0ff[_0x1cd3('0x1a06')]:undefined})[_0x1cd3('0x81')]['then'](function(_0x3f9608){_0x2c597d[_0x1cd3('0x1a07')]=!![];_0x2c597d[_0x1cd3('0x3c7')]=_0x3f9608[_0x1cd3('0xf6')]?_0x3f9608[_0x1cd3('0xf6')]:[];if(_0x2c597d[_0x1cd3('0x19fa')][_0x1cd3('0x1a08')]){_0x2c597d[_0x1cd3('0x150e')]=_[_0x1cd3('0x442')](_0x2c597d[_0x1cd3('0x3c7')],{'id':_0x2c597d[_0x1cd3('0x19fa')]['idField']});}})[_0x1cd3('0xfd')](function(_0x833124){_0x2c597d[_0x1cd3('0x1a07')]=![];console['error'](_0x833124);});function _0x20ba9d(){_0x2c597d[_0x1cd3('0xd34')]=[];if(_0x2c597d[_0x1cd3('0x150e')]){_0x2c597d[_0x1cd3('0x19fa')][_0x1cd3('0x1a08')]=_0x2c597d['customField']['id'];_0x2c597d[_0x1cd3('0x19fa')][_0x1cd3('0x1a09')]=_0x2c597d[_0x1cd3('0x150e')][_0x1cd3('0x98')];_0x2c597d[_0x1cd3('0x19fa')]['customField']=_0x2c597d[_0x1cd3('0x150e')]['custom'];}_0x1d7a07[_0x1cd3('0xc28')][_0x1cd3('0xd6d')](_0x2c597d[_0x1cd3('0x19fa')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0xc8a079){_0x2c597d[_0x1cd3('0x493')]['unshift'](_0xc8a079);_0x5a63d9[_0x1cd3('0x473')]({'title':_[_0x1cd3('0x12b1')](_0x2a9954)+_0x1cd3('0x1a0a'),'msg':_[_0x1cd3('0x12b1')](_0x2a9954)+_0x1cd3('0xd33')});_0x686c92();})['catch'](function(_0x24968c){console[_0x1cd3('0x434')](_0x24968c);_0x2c597d['errors']=_0x24968c[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x24968c[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1a0b')}];});}function _0x2aeb65(){_0x2c597d[_0x1cd3('0xd34')]=[];if(_0x2c597d['customField']){_0x2c597d['item'][_0x1cd3('0x1a08')]=_0x2c597d[_0x1cd3('0x150e')]['id'];_0x2c597d[_0x1cd3('0x19fa')][_0x1cd3('0x1a09')]=_0x2c597d['customField'][_0x1cd3('0x98')];_0x2c597d[_0x1cd3('0x19fa')]['customField']=_0x2c597d['customField'][_0x1cd3('0x8f6')];}_0x1d7a07['intFreshsalesField']['update']({'id':_0x2c597d[_0x1cd3('0x19fa')]['id']},_0x2c597d[_0x1cd3('0x19fa')])[_0x1cd3('0x81')]['then'](function(_0x1d550b){var _0x58994c=_[_0x1cd3('0x442')](_0x2c597d[_0x1cd3('0x493')],{'id':_0x1d550b['id']});if(_0x58994c){_[_0x1cd3('0xf2')](_0x58994c,_0x1d550b);}_0x5a63d9[_0x1cd3('0x473')]({'title':_[_0x1cd3('0x12b1')](_0x2a9954)+_0x1cd3('0x1a50'),'msg':_[_0x1cd3('0x12b1')](_0x2a9954)+_0x1cd3('0xd37')});_0x686c92();})[_0x1cd3('0xfd')](function(_0x5be97d){console[_0x1cd3('0x434')](_0x5be97d);_0x2c597d[_0x1cd3('0xd34')]=_0x5be97d[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x5be97d[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1a0c')}];});}function _0x238180(_0x25be29){_0x2c597d[_0x1cd3('0xd34')]=[];var _0x1e3524=_0x5669ea[_0x1cd3('0xd39')]()['title']('Are\x20you\x20sure?')[_0x1cd3('0xd3b')](_0x1cd3('0x158a')+_0x2a9954+'\x20will\x20be\x20deleted.')[_0x1cd3('0xd3d')](_0x1cd3('0x1a0d')+_[_0x1cd3('0x12b1')](_0x2a9954))['ok'](_0x1cd3('0xd3f'))[_0x1cd3('0x4d8')](_0x1cd3('0x674'))[_0x1cd3('0xd63')](_0x25be29);_0x5669ea[_0x1cd3('0x37e')](_0x1e3524)[_0x1cd3('0x77')](function(){_0x1d7a07[_0x1cd3('0xc28')][_0x1cd3('0xa1c')]({'id':_0x2c597d['item']['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x2c597d[_0x1cd3('0x493')],{'id':_0x2c597d[_0x1cd3('0x19fa')]['id']});_0x5a63d9[_0x1cd3('0x473')]({'title':_[_0x1cd3('0x12b1')](_0x2a9954)+_0x1cd3('0x1a0e'),'msg':_[_0x1cd3('0x12b1')](_0x2a9954)+'\x20has\x20been\x20deleted!'});_0x686c92();})['catch'](function(_0x271904){console['error'](_0x271904);_0x2c597d[_0x1cd3('0xd34')]=_0x271904['data'][_0x1cd3('0xd34')]||[{'message':_0x271904[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1a76')}];});},function(){});}function _0x45350b(){if(_0x2c597d[_0x1cd3('0x19fa')]['variableName']!==undefined){return _0x2c597d[_0x1cd3('0x19fa')][_0x1cd3('0x1a0f')];}else{return _0x1cd3('0x1a10');}};function _0x686c92(){_0x5669ea['hide']();}}}());(function(){'use strict';_0x51cf8d[_0x1cd3('0xc')]=[_0x1cd3('0x53e'),'$location',_0x1cd3('0x3c5'),'$document',_0x1cd3('0x3f7'),'license','setting',_0x1cd3('0x370'),'toasty',_0x1cd3('0x56'),_0x1cd3('0x1a89'),_0x1cd3('0x390')];angular[_0x1cd3('0x0')](_0x1cd3('0x35'))[_0x1cd3('0x39b')](_0x1cd3('0x1aab'),_0x51cf8d);function _0x51cf8d(_0x3706c5,_0x52da42,_0x2b0f5,_0x2abe90,_0x352a4f,_0x3c2961,_0x159d88,_0x59b04b,_0x426d89,_0x40d51,_0xc15022,_0x149f7a){var _0x598a20=this;_0x598a20[_0x1cd3('0x3ca')]=_0x40d51[_0x1cd3('0x5d')]();_0x598a20[_0x1cd3('0x463')]=_0x3c2961;_0x598a20[_0x1cd3('0xc49')]=_0x159d88;_0x598a20['passwordPattern']=_0x598a20['setting'][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x598a20['location']=_0x52da42[_0x1cd3('0x3b0')]()+_0x1cd3('0x11cf')+_0x52da42[_0x1cd3('0x3ac')]();_0x598a20['freshsalesAccount']=_0xc15022||_0x3706c5[_0x1cd3('0x36a')][_0x1cd3('0x1a89')]||{};_0x598a20[_0x1cd3('0x390')]=_0x149f7a&&_0x149f7a['count']==0x1?_0x149f7a[_0x1cd3('0xf6')][0x0]:null;_0x598a20[_0x1cd3('0xd27')]=_0x40d51[_0x1cd3('0xd44')](_0x598a20['userProfileSection']?_0x598a20[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);_0x598a20[_0x1cd3('0xd28')]={};_0x598a20[_0x1cd3('0xe5f')]=_0x3706c5[_0x1cd3('0x36a')][_0x1cd3('0x1418')]||0x0;_0x598a20[_0x1cd3('0x11d0')]=_0x426d89[_0x1cd3('0x654')];_0x598a20[_0x1cd3('0x1aac')]=_0x32e654;_0x598a20[_0x1cd3('0x1a8d')]=_0x1c6438;function _0x32e654(){_0x3706c5['go'](_0x1cd3('0x1ba'),{},{'reload':_0x1cd3('0x1ba')});}function _0x1c6438(){_0x59b04b['intFreshsalesAccount']['update']({'id':_0x598a20['freshsalesAccount']['id']},_0x598a20[_0x1cd3('0x1a89')])[_0x1cd3('0x81')]['then'](function(){_0x426d89[_0x1cd3('0x473')]({'title':_0x1cd3('0x1aad'),'msg':_0x598a20['freshsalesAccount']['name']?_0x598a20['freshsalesAccount']['name']+'\x20has\x20been\x20updated!':''});})[_0x1cd3('0xfd')](function(_0x300ec5){_0x426d89[_0x1cd3('0x434')]({'title':_0x300ec5['status']?_0x1cd3('0x435')+_0x300ec5[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x300ec5[_0x1cd3('0xd35')]:_0x1cd3('0x1aae'),'msg':_0x300ec5[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x300ec5['data']):_0x300ec5[_0x1cd3('0x43b')]()});});}}}());(function(){'use strict';_0x11f54e['$inject']=['$scope',_0x1cd3('0x371'),_0x1cd3('0x53e'),'$mdSidenav','$mdDialog',_0x1cd3('0x372'),'$timeout',_0x1cd3('0x3f7'),_0x1cd3('0x1a88'),_0x1cd3('0x38a'),_0x1cd3('0x390'),_0x1cd3('0x370'),_0x1cd3('0x2dd'),'toasty','Auth',_0x1cd3('0x463'),_0x1cd3('0xc49')];angular[_0x1cd3('0x0')](_0x1cd3('0x35'))[_0x1cd3('0x39b')](_0x1cd3('0x1aaf'),_0x11f54e);function _0x11f54e(_0x215a80,_0x218d94,_0xa07477,_0x19ecd9,_0x1effa0,_0x111cbb,_0x153007,_0x4e51a1,_0x93b58c,_0x454f49,_0x33c9fc,_0x5f26f9,_0x36562e,_0x4260be,_0x39ded2,_0x4fb11c,_0x226c82){var _0x23d124=this;_0x23d124[_0x1cd3('0x463')]=_0x4fb11c;_0x23d124['setting']=_0x226c82;_0x23d124['currentUser']=_0x39ded2[_0x1cd3('0x5d')]();_0x23d124[_0x1cd3('0x1a88')]=_0x93b58c||{'count':0x0,'rows':[]};_0x23d124[_0x1cd3('0x38a')]=_0x454f49;_0x23d124[_0x1cd3('0x390')]=_0x33c9fc&&_0x33c9fc[_0x1cd3('0x466')]==0x1?_0x33c9fc[_0x1cd3('0xf6')][0x0]:null;_0x23d124[_0x1cd3('0xd27')]=_0x39ded2[_0x1cd3('0xd44')](_0x23d124[_0x1cd3('0x390')]?_0x23d124[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);_0x23d124['table']=_0x1cd3('0x1a88');_0x23d124[_0x1cd3('0xd46')]='';_0x23d124['listOrderAsc']=null;_0x23d124[_0x1cd3('0x1ab0')]=[];_0x23d124['query']={'fields':_0x1cd3('0x18a'),'limit':0xa,'page':0x1};_0x23d124[_0x1cd3('0x1171')]=_0x3d87d9;_0x23d124[_0x1cd3('0x1ab1')]=_0x4cb480;_0x23d124['deleteconfirm']=_0x12a06f;_0x23d124[_0x1cd3('0x473')]=_0x5a9faf;_0x23d124[_0x1cd3('0x1ab2')]=_0x35f9ea;_0x23d124['createOrEditFreshsalesAccount']=_0x2aa092;_0x23d124[_0x1cd3('0x1a8e')]=_0x549593;_0x23d124[_0x1cd3('0x1ab3')]=_0x3ff529;_0x23d124[_0x1cd3('0x1ab4')]=_0x5b81c1;_0x23d124[_0x1cd3('0x1ab5')]=_0x590eba;_0x23d124[_0x1cd3('0x1ab6')]=_0x2989ea;function _0x3d87d9(_0x29320b,_0x1f77af){_0xa07477['go'](_0x1cd3('0x1ab7'),{'id':_0x29320b['id'],'freshsalesAccount':_0x29320b,'crudPermissions':_0x23d124[_0x1cd3('0xd27')]});}function _0x4cb480(_0x54d86f,_0x5a5993){return _0x5f26f9['intFreshsalesAccount'][_0x1cd3('0xdfb')]({'id':_0x54d86f['id'],'test':!![]})[_0x1cd3('0x81')]['then'](function(){_0x4260be['success']({'title':'FreshsalesAccount\x20properly\x20tested','msg':_0x1cd3('0x1a28')});})[_0x1cd3('0xfd')](function(_0x52264c){_0x4260be[_0x1cd3('0x434')]({'title':_0x1cd3('0x1ab8'),'msg':_0x52264c['data']?_0x52264c[_0x1cd3('0x439')]['message']?_0x52264c[_0x1cd3('0x439')][_0x1cd3('0x43a')]:JSON[_0x1cd3('0x438')](_0x52264c['data']):_0x52264c[_0x1cd3('0x43b')]()});});}function _0x12a06f(_0x114908,_0x532ff0){var _0x1f89b2=_0x1effa0[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xd4f')+_['startCase']('freshsalesAccount')+'?')[_0x1cd3('0xd60')](_0x1cd3('0xd51')+(_0x114908[_0x1cd3('0x98')]||_0x1cd3('0x1a89'))+_0x1cd3('0xd52')+'\x20will\x20be\x20deleted.')[_0x1cd3('0xd3d')](_0x1cd3('0x1ab9'))['targetEvent'](_0x532ff0)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x1effa0[_0x1cd3('0x37e')](_0x1f89b2)[_0x1cd3('0x77')](function(){_0x549593(_0x114908);},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}var _0x4875aa=!![];var _0x2b04ee=0x1;_0x215a80[_0x1cd3('0x4d6')]('vm.query.filter',function(_0x370e8f,_0x544170){if(_0x4875aa){_0x153007(function(){_0x4875aa=![];});}else{if(!_0x544170){_0x2b04ee=_0x23d124[_0x1cd3('0x3d4')]['page'];}if(_0x370e8f!==_0x544170){_0x23d124[_0x1cd3('0x3d4')]['page']=0x1;}if(!_0x370e8f){_0x23d124[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0x2b04ee;}_0x23d124[_0x1cd3('0x1ab2')]();}});function _0x5a9faf(_0x529417){_0x23d124[_0x1cd3('0x1a88')]=_0x529417||{'count':0x0,'rows':[]};}function _0x35f9ea(){_0x23d124['query'][_0x1cd3('0xd57')]=(_0x23d124[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0x23d124[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];if(_0x39ded2[_0x1cd3('0x57')](_0x1cd3('0x5f'))){_0x23d124['promise']=_0x5f26f9['intFreshsalesAccount'][_0x1cd3('0x361')](_0x23d124[_0x1cd3('0x3d4')],_0x5a9faf)[_0x1cd3('0x81')];}else{_0x23d124[_0x1cd3('0x3d4')]['id']=_0x23d124[_0x1cd3('0x38a')]['id'];_0x23d124[_0x1cd3('0x3d4')]['section']=_0x1cd3('0x1be');_0x23d124['promise']=_0x5f26f9[_0x1cd3('0x38a')][_0x1cd3('0xd59')](_0x23d124[_0x1cd3('0x3d4')],_0x5a9faf)[_0x1cd3('0x81')];}}function _0x2aa092(_0x4c9b16,_0x37a4a5){_0x1effa0[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1aba'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1abb'),'parent':angular[_0x1cd3('0x37f')](_0x111cbb[_0x1cd3('0x380')]),'targetEvent':_0x4c9b16,'clickOutsideToClose':!![],'locals':{'freshsalesAccount':_0x37a4a5,'freshsalesAccounts':_0x23d124['freshsalesAccounts']['rows'],'license':_0x23d124[_0x1cd3('0x463')],'setting':_0x23d124[_0x1cd3('0xc49')],'crudPermissions':_0x23d124['crudPermissions']}});}function _0x549593(_0x545564){_0x5f26f9['intFreshsalesAccount'][_0x1cd3('0xa1c')]({'id':_0x545564['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x23d124[_0x1cd3('0x1a88')][_0x1cd3('0xf6')],{'id':_0x545564['id']});_0x23d124[_0x1cd3('0x1a88')]['count']-=0x1;if(!_0x23d124[_0x1cd3('0x1a88')][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){_0x23d124[_0x1cd3('0x1ab2')]();}_0x4260be[_0x1cd3('0x473')]({'title':_[_0x1cd3('0xd50')](_0x1cd3('0x1abc'))+_0x1cd3('0xd5c'),'msg':_0x545564['name']?_0x545564[_0x1cd3('0x98')]+_0x1cd3('0xd41'):''});})[_0x1cd3('0xfd')](function(_0x2db2b0){if(_0x2db2b0[_0x1cd3('0x439')]&&_0x2db2b0[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x2db2b0['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x23d124[_0x1cd3('0xd34')]=_0x2db2b0[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x2db2b0[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1abd')}];for(var _0x237bfd=0x0;_0x237bfd<_0x2db2b0[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x237bfd++){_0x4260be[_0x1cd3('0x434')]({'title':_0x2db2b0[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x237bfd]['type'],'msg':_0x2db2b0[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x237bfd][_0x1cd3('0x43a')]});}}else{_0x4260be[_0x1cd3('0x434')]({'title':_0x2db2b0['status']?_0x1cd3('0x435')+_0x2db2b0['status']+_0x1cd3('0x436')+_0x2db2b0['statusText']:_0x1cd3('0x1abd'),'msg':_0x2db2b0[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x2db2b0[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x2db2b0['message']||_0x2db2b0[_0x1cd3('0x43b')]()});}});}function _0x3ff529(){var _0x26d3d6=angular['copy'](_0x23d124[_0x1cd3('0x1ab0')]);_0x23d124[_0x1cd3('0x1ab0')]=[];return _0x26d3d6;}function _0x5b81c1(_0x3a449b){var _0x5865dc=_0x1effa0[_0x1cd3('0xd39')]()['title'](_0x1cd3('0x1abe'))['htmlContent'](_0x1cd3('0xd51')+_0x23d124[_0x1cd3('0x1ab0')][_0x1cd3('0x7a')]+_0x1cd3('0xd61')+_0x1cd3('0xd53'))['ariaLabel'](_0x1cd3('0x1abf'))[_0x1cd3('0xd63')](_0x3a449b)['ok']('OK')[_0x1cd3('0x4d8')]('CANCEL');_0x1effa0[_0x1cd3('0x37e')](_0x5865dc)[_0x1cd3('0x77')](function(){_0x23d124[_0x1cd3('0x1ab0')][_0x1cd3('0x394')](function(_0x162971){_0x549593(_0x162971);});_0x23d124[_0x1cd3('0x1ab0')]=[];});}function _0x590eba(){_0x23d124[_0x1cd3('0x1ab0')]=[];}function _0x2989ea(){_0x23d124[_0x1cd3('0x1ab0')]=_0x23d124['freshsalesAccounts'][_0x1cd3('0xf6')];}}}());(function(){'use strict';_0x3a59ca['$inject']=[_0x1cd3('0x460'),_0x1cd3('0x53e'),_0x1cd3('0xd24'),_0x1cd3('0x3c5'),'$q','$translate','toasty',_0x1cd3('0x1ac0'),'salesforceAccount','api','Auth',_0x1cd3('0x463'),_0x1cd3('0xc49'),'crudPermissions'];angular['module'](_0x1cd3('0x35'))[_0x1cd3('0x39b')](_0x1cd3('0x1ac1'),_0x3a59ca);function _0x3a59ca(_0x2d04a9,_0x47fe08,_0x52b9d7,_0x402276,_0x4ca7a6,_0x2b4245,_0x124e3b,_0x1c3d80,_0x4e1936,_0x1b2058,_0x56b22d,_0x291015,_0x2e4176,_0x4ba531){var _0x1352fa=this;_0x1352fa[_0x1cd3('0x3ca')]=_0x56b22d['getCurrentUser']();_0x1352fa[_0x1cd3('0xd34')]=[];_0x1352fa[_0x1cd3('0xc49')]=_0x2e4176;_0x1352fa[_0x1cd3('0x463')]=_0x291015;_0x1352fa[_0x1cd3('0xd27')]=_0x4ba531;_0x1352fa['hasModulePermissions']={};_0x1352fa[_0x1cd3('0xd29')]=_0x1352fa[_0x1cd3('0xc49')]&&_0x1352fa[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x1352fa[_0x1cd3('0x486')]=_0x1cd3('0x1ac2');_0x1352fa[_0x1cd3('0x1ac3')]=angular[_0x1cd3('0x429')](_0x4e1936);_0x1352fa[_0x1cd3('0x1ac0')]=_0x1c3d80;_0x1352fa['newSalesforceAccount']=![];if(!_0x1352fa['salesforceAccount']){_0x1352fa['salesforceAccount']={'type':_0x1cd3('0x19a7'),'serverUrl':_0x52b9d7[_0x1cd3('0x3b0')]()+'://'+_0x52b9d7[_0x1cd3('0x3ac')]()+(_0x52b9d7[_0x1cd3('0x3b1')]()?':'+_0x52b9d7[_0x1cd3('0x3b1')]():'')};_0x1352fa['title']=_0x1cd3('0x1ac4');_0x1352fa[_0x1cd3('0x1ac5')]=!![];}_0x1352fa[_0x1cd3('0x1ac6')]=_0x14d62c;_0x1352fa['saveSalesforceAccount']=_0x582914;_0x1352fa[_0x1cd3('0x1ac7')]=_0xc4a046;_0x1352fa['getDateFromString']=_0x39263e;_0x1352fa[_0x1cd3('0x39c')]=_0x689787;function _0x14d62c(){_0x1352fa[_0x1cd3('0xd34')]=[];_0x1b2058[_0x1cd3('0xba6')]['save'](_0x1352fa['salesforceAccount'])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x442823){_0x1352fa[_0x1cd3('0x1ac0')][_0x1cd3('0x621')](_0x442823['toJSON']());_0x124e3b['success']({'title':_0x1cd3('0x1ac8'),'msg':_0x1352fa['salesforceAccount']['name']?_0x1352fa[_0x1cd3('0x1ac3')][_0x1cd3('0x98')]+_0x1cd3('0xd33'):''});_0x689787(_0x442823);})[_0x1cd3('0xfd')](function(_0x16b1c7){if(_0x16b1c7[_0x1cd3('0x439')]&&_0x16b1c7[_0x1cd3('0x439')]['errors']&&_0x16b1c7[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x1352fa['errors']=_0x16b1c7['data'][_0x1cd3('0xd34')]||[{'message':_0x16b1c7[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1ac9')}];for(var _0x1b1e3b=0x0;_0x1b1e3b<_0x16b1c7[_0x1cd3('0x439')]['errors']['length'];_0x1b1e3b+=0x1){_0x124e3b[_0x1cd3('0x434')]({'title':_0x16b1c7[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1b1e3b]['type'],'msg':_0x16b1c7[_0x1cd3('0x439')]['errors'][_0x1b1e3b][_0x1cd3('0x43a')]});}}else{_0x124e3b[_0x1cd3('0x434')]({'title':_0x16b1c7[_0x1cd3('0x3a6')]?'API:'+_0x16b1c7[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x16b1c7[_0x1cd3('0xd35')]:_0x1cd3('0x1ac9'),'msg':_0x16b1c7[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x16b1c7[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x16b1c7[_0x1cd3('0x43b')]()});}});}function _0x582914(){_0x1352fa['errors']=[];_0x1b2058['intSalesforceAccount'][_0x1cd3('0x378')]({'id':_0x1352fa[_0x1cd3('0x1ac3')]['id']},_0x1352fa['salesforceAccount'])[_0x1cd3('0x81')]['then'](function(_0x462e8c){var _0x21b462=_[_0x1cd3('0x442')](_0x1352fa['salesforceAccounts'],{'id':_0x462e8c['id']});if(_0x21b462){_[_0x1cd3('0xf2')](_0x21b462,_[_0x1cd3('0x5e8')](_0x462e8c[_0x1cd3('0xd32')](),_[_0x1cd3('0x80')](_0x21b462)));}_0x124e3b[_0x1cd3('0x473')]({'title':_0x1cd3('0x1aca'),'msg':_0x1352fa[_0x1cd3('0x1ac3')][_0x1cd3('0x98')]?_0x1352fa[_0x1cd3('0x1ac3')][_0x1cd3('0x98')]+'\x20has\x20been\x20saved!':''});_0x689787(_0x462e8c);})[_0x1cd3('0xfd')](function(_0x569161){if(_0x569161[_0x1cd3('0x439')]&&_0x569161['data'][_0x1cd3('0xd34')]&&_0x569161['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x1352fa[_0x1cd3('0xd34')]=_0x569161['data'][_0x1cd3('0xd34')]||[{'message':_0x569161[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1acb')}];for(var _0x1c6b73=0x0;_0x1c6b73<_0x569161['data']['errors'][_0x1cd3('0x7a')];_0x1c6b73++){_0x124e3b[_0x1cd3('0x434')]({'title':_0x569161['data']['errors'][_0x1c6b73]['type'],'msg':_0x569161['data'][_0x1cd3('0xd34')][_0x1c6b73][_0x1cd3('0x43a')]});}}else{_0x124e3b[_0x1cd3('0x434')]({'title':_0x569161['status']?'API:'+_0x569161['status']+_0x1cd3('0x436')+_0x569161[_0x1cd3('0xd35')]:'api.intSalesforceAccount.update','msg':_0x569161[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x569161['data'][_0x1cd3('0x43a')]):_0x569161[_0x1cd3('0x43b')]()});}});}function _0xc4a046(_0xc3e32c){_0x1352fa['errors']=[];var _0x4bb819=_0x402276[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xd3a'))[_0x1cd3('0xd3b')](_0x1cd3('0x1acc'))[_0x1cd3('0xd3d')]('Delete\x20SalesforceAccount')['ok'](_0x1cd3('0xd3f'))[_0x1cd3('0x4d8')](_0x1cd3('0x674'))[_0x1cd3('0xd63')](_0xc3e32c);_0x402276[_0x1cd3('0x37e')](_0x4bb819)['then'](function(){_0x1b2058['intSalesforceAccount'][_0x1cd3('0xa1c')]({'id':_0x1352fa[_0x1cd3('0x1ac3')]['id']})[_0x1cd3('0x81')]['then'](function(){_[_0x1cd3('0x383')](_0x1352fa['salesforceAccounts'],{'id':_0x1352fa['salesforceAccount']['id']});_0x124e3b[_0x1cd3('0x473')]({'title':_0x1cd3('0x1acd'),'msg':(_0x1352fa[_0x1cd3('0x1ac3')][_0x1cd3('0x98')]||'salesforceAccount')+'\x20has\x20been\x20deleted!'});_0x689787(_0x1352fa[_0x1cd3('0x1ac3')]);})[_0x1cd3('0xfd')](function(_0xdba28a){if(_0xdba28a[_0x1cd3('0x439')]&&_0xdba28a[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0xdba28a['data']['errors'][_0x1cd3('0x7a')]){_0x1352fa[_0x1cd3('0xd34')]=_0xdba28a[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0xdba28a[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1ace')}];for(var _0x219f8f=0x0;_0x219f8f<_0xdba28a['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x219f8f++){_0x124e3b[_0x1cd3('0x434')]({'title':_0xdba28a[_0x1cd3('0x439')]['errors'][_0x219f8f][_0x1cd3('0x424')],'msg':_0xdba28a[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x219f8f][_0x1cd3('0x43a')]});}}else{_0x124e3b[_0x1cd3('0x434')]({'title':_0xdba28a[_0x1cd3('0x3a6')]?'API:'+_0xdba28a['status']+_0x1cd3('0x436')+_0xdba28a[_0x1cd3('0xd35')]:_0x1cd3('0x1ace'),'msg':_0xdba28a[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0xdba28a[_0x1cd3('0x439')]['message']):_0xdba28a[_0x1cd3('0x43a')]||_0xdba28a['toString']()});}});},function(){});}function _0x39263e(_0x3676e3){return _0x3676e3===null?undefined:new Date(_0x3676e3);}function _0x689787(_0x4ee99d){_0x402276[_0x1cd3('0x39d')](_0x4ee99d);}}}());(function(){'use strict';_0x1cedd0[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),_0x1cd3('0x372'),_0x1cd3('0x370'),'toasty',_0x1cd3('0x56')];angular[_0x1cd3('0x0')](_0x1cd3('0x35'))[_0x1cd3('0x39b')](_0x1cd3('0x1acf'),_0x1cedd0);function _0x1cedd0(_0x469498,_0x49214b,_0x17c841,_0x3b409d,_0x34f20d){var _0x5a6c82=this;_0x5a6c82['currentUser']=_0x34f20d[_0x1cd3('0x5d')]();_0x5a6c82[_0x1cd3('0x1ac3')]={};_0x5a6c82['salesforceConfiguration']={};_0x5a6c82[_0x1cd3('0x19c2')]=[];_0x5a6c82[_0x1cd3('0x1ad0')]=-0x1;_0x5a6c82['crudPermissions'];_0x5a6c82[_0x1cd3('0xe08')]=_0x334193;_0x5a6c82[_0x1cd3('0x1ad1')]=_0x2efec7;_0x5a6c82[_0x1cd3('0x1ad2')]=_0x5e3fb6;_0x5a6c82[_0x1cd3('0x1ad3')]=_0x2c9b81;_0x5a6c82[_0x1cd3('0x1ad4')]=_0x71c106;function _0x71c106(){return _0x17c841['intSalesforceConfiguration'][_0x1cd3('0x378')]({'id':_0x5a6c82['salesforceConfiguration']['id']},_0x5a6c82[_0x1cd3('0x1ad5')])[_0x1cd3('0x81')]['then'](function(){_0x3b409d[_0x1cd3('0x473')]({'title':_0x1cd3('0x1ad6'),'msg':_0x1cd3('0x1ad7')});})['catch'](function(_0x4ebfd2){_0x3b409d['error']({'title':_0x4ebfd2[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x4ebfd2[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x4ebfd2['statusText']:_0x1cd3('0x1ad8'),'msg':_0x4ebfd2[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x4ebfd2[_0x1cd3('0x439')]):_0x4ebfd2['toString']()});});};function _0x334193(_0x2917da,_0x1d52ad){_0x5a6c82['salesforceAccount']=_0x2917da;_0x5a6c82['crudPermissions']=typeof _0x1d52ad!==_0x1cd3('0x491')?_0x1d52ad:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x17c841[_0x1cd3('0xba6')][_0x1cd3('0x19c8')]({'id':_0x5a6c82[_0x1cd3('0x1ac3')]['id'],'sort':_0x1cd3('0x5b')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x7e38ef){_0x5a6c82[_0x1cd3('0x19c2')]=_0x7e38ef['rows']?_0x7e38ef[_0x1cd3('0xf6')]:[];if(_0x5a6c82['configurations']['length']){_0x5a6c82[_0x1cd3('0x1ad1')](0x0);}return _0x17c841[_0x1cd3('0xb84')]['get']({'nolimit':!![],'sort':'name'})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x2dd098){_0x5a6c82['variables']=_0x2dd098['rows']?_0x2dd098[_0x1cd3('0xf6')]:[];_0x5a6c82['variablesById']=_[_0x1cd3('0xe2d')](_0x5a6c82[_0x1cd3('0xef7')],'id');})['catch'](function(_0x28e14d){_0x3b409d[_0x1cd3('0x434')]({'title':_0x28e14d[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x28e14d[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x28e14d[_0x1cd3('0xd35')]:_0x1cd3('0x19cb'),'msg':_0x28e14d[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x28e14d[_0x1cd3('0x439')]):_0x28e14d[_0x1cd3('0x43b')]()});});}function _0x2efec7(_0x2f9e07){_0x5a6c82[_0x1cd3('0x1ad5')]=_0x5a6c82[_0x1cd3('0x19c2')][_0x2f9e07];_0x5a6c82[_0x1cd3('0x1ad0')]=_0x2f9e07;_0x17c841['intSalesforceConfiguration'][_0x1cd3('0x1a31')]({'id':_0x5a6c82[_0x1cd3('0x1ad5')]['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x84b946){_0x5a6c82[_0x1cd3('0x19d9')]=_0x84b946[_0x1cd3('0xf6')]?_0x84b946[_0x1cd3('0xf6')]:[];return _0x17c841[_0x1cd3('0xbab')][_0x1cd3('0x19cc')]({'id':_0x5a6c82['salesforceConfiguration']['id']})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x583720){_0x5a6c82[_0x1cd3('0x19cd')]=_0x583720[_0x1cd3('0xf6')]?_0x583720[_0x1cd3('0xf6')]:[];return _0x17c841[_0x1cd3('0xbab')]['getFields']({'id':_0x5a6c82[_0x1cd3('0x1ad5')]['id']})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x181f12){_0x5a6c82['fields']=_0x181f12[_0x1cd3('0xf6')]?_0x181f12['rows']:[];})[_0x1cd3('0xfd')](function(_0x362611){_0x3b409d[_0x1cd3('0x434')]({'title':_0x362611[_0x1cd3('0x3a6')]?'API:'+_0x362611['status']+'\x20-\x20'+_0x362611['statusText']:_0x1cd3('0x19ce'),'msg':_0x362611[_0x1cd3('0x439')]?JSON['stringify'](_0x362611[_0x1cd3('0x439')]):_0x362611['toString']()});});}function _0x5e3fb6(_0x2679c1,_0x30d578){_0x469498['show']({'controller':_0x1cd3('0x1ad9'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1ada'),'parent':angular[_0x1cd3('0x37f')](_0x49214b[_0x1cd3('0x380')]),'targetEvent':_0x2679c1,'clickOutsideToClose':!![],'locals':{'salesforceConfiguration':_0x30d578,'configurations':_0x5a6c82[_0x1cd3('0x19c2')],'license':null,'setting':null,'crudPermissions':_0x5a6c82[_0x1cd3('0xd27')]}})[_0x1cd3('0x5dd')](function(){_0x5a6c82[_0x1cd3('0x1ad1')](0x0);});}function _0x2c9b81(_0x269370,_0x476813){var _0x110e2c=_0x469498[_0x1cd3('0xd39')]()[_0x1cd3('0x486')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20salesforceConfiguration?')[_0x1cd3('0xd60')](_0x1cd3('0xd51')+(_0x476813[_0x1cd3('0x98')]||_0x1cd3('0x1ad5'))+_0x1cd3('0xd52')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x1adb'))[_0x1cd3('0xd63')](_0x269370)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x469498['show'](_0x110e2c)[_0x1cd3('0x77')](function(){_0x17c841[_0x1cd3('0xbab')][_0x1cd3('0xa1c')]({'id':_0x476813['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x5a6c82[_0x1cd3('0x19c2')],{'id':_0x476813['id']});_0x3b409d['success']({'title':_0x1cd3('0x1adc'),'msg':_0x476813['name']?_0x476813['name']+_0x1cd3('0xd41'):''});})['catch'](function(_0xe08400){_0x3b409d[_0x1cd3('0x434')]({'title':_0xe08400['status']?_0x1cd3('0x435')+_0xe08400['status']+'\x20-\x20'+_0xe08400[_0x1cd3('0xd35')]:_0x1cd3('0x1a36'),'msg':_0xe08400[_0x1cd3('0x439')]?JSON['stringify'](_0xe08400[_0x1cd3('0x439')]):_0xe08400[_0x1cd3('0x43b')]()});})[_0x1cd3('0x5dd')](function(){_0x5a6c82['getSalesforceConfiguration'](0x0);});},function(){console['log'](_0x1cd3('0xd55'));});}_0x5a6c82[_0x1cd3('0x19d5')]=[];_0x5a6c82[_0x1cd3('0x1a37')]=_0x1285e6;_0x5a6c82[_0x1cd3('0x1a38')]=_0x494b85;_0x5a6c82[_0x1cd3('0x19d6')]=_0x16927d;function _0x1285e6(_0x419d3b,_0x1af186){_0x469498['show']({'controller':'CreateOrEditSalesforceAccountItemDialogController','controllerAs':'vm','templateUrl':_0x1cd3('0x1add'),'parent':angular['element'](_0x49214b[_0x1cd3('0x380')]),'targetEvent':_0x419d3b,'clickOutsideToClose':!![],'locals':{'type':_0x1cd3('0x1327'),'item':_0x1af186,'items':_0x5a6c82[_0x1cd3('0x19d9')],'configuration':_0x5a6c82['salesforceConfiguration'],'account':_0x5a6c82[_0x1cd3('0x1ac3')],'license':null,'setting':null,'crudPermissions':_0x5a6c82['crudPermissions']}});}function _0x17b2dd(_0x58fd6e){_0x17c841[_0x1cd3('0xbb2')]['delete']({'id':_0x58fd6e['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x5a6c82[_0x1cd3('0x19d9')],{'id':_0x58fd6e['id']});_0x3b409d['success']({'title':_0x1cd3('0x1a3b'),'msg':_0x1cd3('0x19da')});})[_0x1cd3('0xfd')](function(_0x5caf7b){_0x3b409d[_0x1cd3('0x434')]({'title':_0x5caf7b['status']?_0x1cd3('0x435')+_0x5caf7b['status']+_0x1cd3('0x436')+_0x5caf7b[_0x1cd3('0xd35')]:_0x1cd3('0x19db'),'msg':_0x5caf7b[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x5caf7b[_0x1cd3('0x439')]):_0x5caf7b[_0x1cd3('0x43b')]()});});}function _0x494b85(_0xba644c,_0x5d1bcf){var _0x10d3b9=_0x469498[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x1a3c'))[_0x1cd3('0xd60')](_0x1cd3('0x19dc')+'\x20will\x20be\x20deleted.')[_0x1cd3('0xd3d')](_0x1cd3('0x1a3d'))[_0x1cd3('0xd63')](_0xba644c)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x469498[_0x1cd3('0x37e')](_0x10d3b9)['then'](function(){_0x17b2dd(_0x5d1bcf);},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}function _0x16927d(_0x220881){var _0x27b3aa=_0x469498[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x19dd'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x5a6c82[_0x1cd3('0x19d5')][_0x1cd3('0x7a')]+_0x1cd3('0xd61')+'\x20will\x20be\x20deleted.')['ariaLabel'](_0x1cd3('0x1a3e'))[_0x1cd3('0xd63')](_0x220881)['ok']('OK')[_0x1cd3('0x4d8')]('CANCEL');_0x469498[_0x1cd3('0x37e')](_0x27b3aa)[_0x1cd3('0x77')](function(){_0x5a6c82[_0x1cd3('0x19d5')][_0x1cd3('0x394')](function(_0x119e57){_0x17b2dd(_0x119e57);});_0x5a6c82[_0x1cd3('0x19d5')]=[];});}_0x5a6c82['selectedDescriptions']=[];_0x5a6c82[_0x1cd3('0x19df')]=_0x51e7e4;_0x5a6c82['deleteDescriptionConfirm']=_0x1f7f13;_0x5a6c82[_0x1cd3('0x19e1')]=_0x13ec0d;function _0x51e7e4(_0x2b25bf,_0x51c44){_0x469498['show']({'controller':_0x1cd3('0x1ade'),'controllerAs':'vm','templateUrl':'app/main/apps/integrations/views/salesforceAccounts/edit/item/dialog.html','parent':angular[_0x1cd3('0x37f')](_0x49214b[_0x1cd3('0x380')]),'targetEvent':_0x2b25bf,'clickOutsideToClose':!![],'locals':{'type':_0x1cd3('0xde1'),'item':_0x51c44,'items':_0x5a6c82[_0x1cd3('0x19cd')],'configuration':_0x5a6c82['salesforceConfiguration'],'account':_0x5a6c82['salesforceAccount'],'license':null,'setting':null,'crudPermissions':_0x5a6c82[_0x1cd3('0xd27')]}});}function _0x5e4e9b(_0x55b146){_0x17c841[_0x1cd3('0xbb2')]['delete']({'id':_0x55b146['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x5a6c82[_0x1cd3('0x19cd')],{'id':_0x55b146['id']});_0x3b409d[_0x1cd3('0x473')]({'title':'Description\x20deleted!','msg':_0x1cd3('0x19e3')});})[_0x1cd3('0xfd')](function(_0x316371){_0x3b409d[_0x1cd3('0x434')]({'title':_0x316371['status']?_0x1cd3('0x435')+_0x316371[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x316371[_0x1cd3('0xd35')]:_0x1cd3('0x19db'),'msg':_0x316371[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x316371[_0x1cd3('0x439')]):_0x316371[_0x1cd3('0x43b')]()});});}function _0x1f7f13(_0xa91909,_0x2559a9){var _0x35ee6d=_0x469498['confirm']()[_0x1cd3('0x486')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20description?')[_0x1cd3('0xd60')](_0x1cd3('0x1a6b')+_0x1cd3('0xd53'))['ariaLabel'](_0x1cd3('0x19e5'))[_0x1cd3('0xd63')](_0xa91909)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x469498[_0x1cd3('0x37e')](_0x35ee6d)[_0x1cd3('0x77')](function(){_0x5e4e9b(_0x2559a9);},function(){console['log'](_0x1cd3('0xd55'));});}function _0x13ec0d(_0x59a46f){var _0x52e451=_0x469498[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x19e6'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x5a6c82[_0x1cd3('0x19de')]['length']+'\x20selected</b>'+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x19e7'))[_0x1cd3('0xd63')](_0x59a46f)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x469498['show'](_0x52e451)[_0x1cd3('0x77')](function(){_0x5a6c82[_0x1cd3('0x19de')][_0x1cd3('0x394')](function(_0x40f2c7){_0x5e4e9b(_0x40f2c7);});_0x5a6c82[_0x1cd3('0x19de')]=[];});}_0x5a6c82[_0x1cd3('0x19e8')]=[];_0x5a6c82[_0x1cd3('0x1a3f')]=_0x36c27d;_0x5a6c82[_0x1cd3('0x19e9')]=_0x5f0ea9;_0x5a6c82['deleteSelectedFields']=_0x5ce6bd;function _0x36c27d(_0x569afe,_0x10107e){_0x469498['show']({'controller':'CreateOrEditSalesforceAccountItemDialogController','controllerAs':'vm','templateUrl':_0x1cd3('0x1add'),'parent':angular[_0x1cd3('0x37f')](_0x49214b[_0x1cd3('0x380')]),'targetEvent':_0x569afe,'clickOutsideToClose':!![],'locals':{'type':_0x1cd3('0x450'),'item':_0x10107e,'items':_0x5a6c82[_0x1cd3('0x3c7')],'configuration':_0x5a6c82[_0x1cd3('0x1ad5')],'account':_0x5a6c82[_0x1cd3('0x1ac3')],'license':null,'setting':null,'crudPermissions':_0x5a6c82[_0x1cd3('0xd27')]}});}function _0x588152(_0x4a7261){_0x17c841[_0x1cd3('0xbb2')][_0x1cd3('0xa1c')]({'id':_0x4a7261['id']})[_0x1cd3('0x81')]['then'](function(){_[_0x1cd3('0x383')](_0x5a6c82[_0x1cd3('0x3c7')],{'id':_0x4a7261['id']});_0x3b409d['success']({'title':_0x1cd3('0xe40'),'msg':_0x1cd3('0x19eb')});})[_0x1cd3('0xfd')](function(_0xb080d5){_0x3b409d[_0x1cd3('0x434')]({'title':_0xb080d5['status']?_0x1cd3('0x435')+_0xb080d5[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0xb080d5['statusText']:'SYSTEM:DELETECONFIGURATIONFIELD','msg':_0xb080d5[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0xb080d5[_0x1cd3('0x439')]):_0xb080d5['toString']()});});}function _0x5f0ea9(_0x14148a,_0xd5f29b){var _0x25f9f9=_0x469498[_0x1cd3('0xd39')]()[_0x1cd3('0x486')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20field?')['htmlContent'](_0x1cd3('0x19ec')+'\x20will\x20be\x20deleted.')['ariaLabel'](_0x1cd3('0xe3d'))['targetEvent'](_0x14148a)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x469498[_0x1cd3('0x37e')](_0x25f9f9)[_0x1cd3('0x77')](function(){_0x588152(_0xd5f29b);},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}function _0x5ce6bd(_0x2cba2c){var _0x12aa1a=_0x469498[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xe42'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x5a6c82[_0x1cd3('0x19e8')]['length']+'\x20selected</b>'+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x19ed'))[_0x1cd3('0xd63')](_0x2cba2c)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x469498[_0x1cd3('0x37e')](_0x12aa1a)[_0x1cd3('0x77')](function(){_0x5a6c82[_0x1cd3('0x19e8')][_0x1cd3('0x394')](function(_0x321653){_0x588152(_0x321653);});_0x5a6c82[_0x1cd3('0x19e8')]=[];});}}}());(function(){'use strict';_0x2f56aa[_0x1cd3('0xc')]=[_0x1cd3('0x460'),'$state',_0x1cd3('0xd24'),_0x1cd3('0x3c5'),'$q',_0x1cd3('0x3f7'),_0x1cd3('0x461'),_0x1cd3('0x19c2'),_0x1cd3('0x1ad5'),'api',_0x1cd3('0x56'),_0x1cd3('0x463'),_0x1cd3('0xc49'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x35'))[_0x1cd3('0x39b')](_0x1cd3('0x1ad9'),_0x2f56aa);function _0x2f56aa(_0x7559f3,_0x1d6602,_0x8f06f3,_0x503af6,_0x18c121,_0x4ca09a,_0x356622,_0x31eda1,_0x1d29b6,_0x39e60b,_0x56d4f2,_0x31bd1d,_0x6bfa4,_0x1880ee){var _0x20b03b=this;_0x20b03b[_0x1cd3('0x3ca')]=_0x56d4f2[_0x1cd3('0x5d')]();_0x20b03b[_0x1cd3('0xd34')]=[];_0x20b03b[_0x1cd3('0xc49')]=_0x6bfa4;_0x20b03b['license']=_0x31bd1d;_0x20b03b[_0x1cd3('0xd27')]=_0x1880ee;_0x20b03b[_0x1cd3('0xd28')]={};_0x20b03b[_0x1cd3('0xd29')]=_0x20b03b[_0x1cd3('0xc49')]&&_0x20b03b['setting'][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x20b03b['title']=_0x1cd3('0x1adf');_0x20b03b['salesforceConfiguration']=angular[_0x1cd3('0x429')](_0x1d29b6);_0x20b03b[_0x1cd3('0x19c2')]=_0x31eda1;_0x20b03b[_0x1cd3('0x1ae0')]=![];if(!_0x20b03b[_0x1cd3('0x1ad5')]){_0x20b03b['salesforceConfiguration']={'channel':'voice','type':_0x1cd3('0xa4'),'ticketType':'Task'};_0x20b03b[_0x1cd3('0x486')]=_0x1cd3('0x1ae1');_0x20b03b[_0x1cd3('0x1ae0')]=!![];}_0x20b03b['addNewSalesforceConfiguration']=_0x31a885;_0x20b03b[_0x1cd3('0x1ae2')]=_0x5ba01a;_0x20b03b[_0x1cd3('0x1ad3')]=_0x1fe9b2;_0x20b03b[_0x1cd3('0xd31')]=_0x434f4f;_0x20b03b[_0x1cd3('0x39c')]=_0x135781;function _0x31a885(){_0x20b03b[_0x1cd3('0xd34')]=[];_0x39e60b[_0x1cd3('0xba6')][_0x1cd3('0x1a48')]({'id':_0x1d6602[_0x1cd3('0x36a')]['id']},_0x20b03b[_0x1cd3('0x1ad5')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x49dc6e){_0x20b03b[_0x1cd3('0x19c2')]['unshift'](_0x49dc6e[_0x1cd3('0xd32')]());_0x356622[_0x1cd3('0x473')]({'title':'SalesforceConfiguration\x20properly\x20created','msg':_0x20b03b[_0x1cd3('0x1ad5')][_0x1cd3('0x98')]?_0x20b03b[_0x1cd3('0x1ad5')]['name']+_0x1cd3('0xd33'):''});_0x135781(_0x49dc6e);})[_0x1cd3('0xfd')](function(_0x3dbc6e){if(_0x3dbc6e[_0x1cd3('0x439')]&&_0x3dbc6e[_0x1cd3('0x439')]['errors']&&_0x3dbc6e[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x20b03b[_0x1cd3('0xd34')]=_0x3dbc6e[_0x1cd3('0x439')]['errors']||[{'message':_0x3dbc6e[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1ae3')}];for(var _0x4e6944=0x0;_0x4e6944<_0x3dbc6e[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0x4e6944+=0x1){_0x356622['error']({'title':_0x3dbc6e[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x4e6944][_0x1cd3('0x424')],'msg':_0x3dbc6e[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x4e6944]['message']});}}else{_0x356622[_0x1cd3('0x434')]({'title':_0x3dbc6e[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x3dbc6e[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x3dbc6e['statusText']:'api.intSalesforceConfiguration.save','msg':_0x3dbc6e[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x3dbc6e[_0x1cd3('0x439')]['message']):_0x3dbc6e['toString']()});}});}function _0x5ba01a(){_0x20b03b['errors']=[];_0x39e60b['intSalesforceConfiguration'][_0x1cd3('0x378')]({'id':_0x20b03b[_0x1cd3('0x1ad5')]['id']},_0x20b03b['salesforceConfiguration'])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x206523){var _0x52b60f=_[_0x1cd3('0x442')](_0x20b03b['configurations'],{'id':_0x206523['id']});if(_0x52b60f){_[_0x1cd3('0xf2')](_0x52b60f,_[_0x1cd3('0x5e8')](_0x206523[_0x1cd3('0xd32')](),_['keys'](_0x52b60f)));}_0x356622[_0x1cd3('0x473')]({'title':_0x1cd3('0x1ae4'),'msg':_0x20b03b[_0x1cd3('0x1ad5')][_0x1cd3('0x98')]?_0x20b03b[_0x1cd3('0x1ad5')][_0x1cd3('0x98')]+_0x1cd3('0xd37'):''});_0x135781(_0x206523);})['catch'](function(_0x1ba681){if(_0x1ba681[_0x1cd3('0x439')]&&_0x1ba681[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x1ba681[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x20b03b[_0x1cd3('0xd34')]=_0x1ba681[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x1ba681[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1ae5')}];for(var _0x350004=0x0;_0x350004<_0x1ba681[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x350004++){_0x356622[_0x1cd3('0x434')]({'title':_0x1ba681[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x350004][_0x1cd3('0x424')],'msg':_0x1ba681[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x350004][_0x1cd3('0x43a')]});}}else{_0x356622[_0x1cd3('0x434')]({'title':_0x1ba681['status']?_0x1cd3('0x435')+_0x1ba681[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x1ba681['statusText']:'api.intSalesforceConfiguration.update','msg':_0x1ba681[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x1ba681[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x1ba681[_0x1cd3('0x43b')]()});}});}function _0x1fe9b2(_0x432aa5){_0x20b03b[_0x1cd3('0xd34')]=[];var _0x833108=_0x503af6['confirm']()[_0x1cd3('0x486')]('Are\x20you\x20sure?')[_0x1cd3('0xd3b')](_0x1cd3('0x1ae6'))[_0x1cd3('0xd3d')](_0x1cd3('0x1ae7'))['ok'](_0x1cd3('0xd3f'))[_0x1cd3('0x4d8')](_0x1cd3('0x674'))[_0x1cd3('0xd63')](_0x432aa5);_0x503af6[_0x1cd3('0x37e')](_0x833108)['then'](function(){_0x39e60b[_0x1cd3('0xbab')][_0x1cd3('0xa1c')]({'id':_0x20b03b[_0x1cd3('0x1ad5')]['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x20b03b[_0x1cd3('0x19c2')],{'id':_0x20b03b[_0x1cd3('0x1ad5')]['id']});_0x356622['success']({'title':_0x1cd3('0x1ae8'),'msg':(_0x20b03b[_0x1cd3('0x1ad5')][_0x1cd3('0x98')]||_0x1cd3('0x1ad5'))+_0x1cd3('0xd41')});_0x135781(_0x20b03b['salesforceConfiguration']);})['catch'](function(_0x3ac1c3){if(_0x3ac1c3['data']&&_0x3ac1c3[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x3ac1c3['data']['errors']['length']){_0x20b03b['errors']=_0x3ac1c3['data'][_0x1cd3('0xd34')]||[{'message':_0x3ac1c3['toString'](),'type':_0x1cd3('0x1ae9')}];for(var _0x2d2894=0x0;_0x2d2894<_0x3ac1c3[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x2d2894++){_0x356622[_0x1cd3('0x434')]({'title':_0x3ac1c3[_0x1cd3('0x439')]['errors'][_0x2d2894][_0x1cd3('0x424')],'msg':_0x3ac1c3[_0x1cd3('0x439')]['errors'][_0x2d2894][_0x1cd3('0x43a')]});}}else{_0x356622[_0x1cd3('0x434')]({'title':_0x3ac1c3[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x3ac1c3[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x3ac1c3[_0x1cd3('0xd35')]:_0x1cd3('0x1ae9'),'msg':_0x3ac1c3['data']?JSON[_0x1cd3('0x438')](_0x3ac1c3[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x3ac1c3[_0x1cd3('0x43a')]||_0x3ac1c3[_0x1cd3('0x43b')]()});}});},function(){});}function _0x434f4f(_0x20ada0){return _0x20ada0===null?undefined:new Date(_0x20ada0);}function _0x135781(_0x1de76a){_0x503af6[_0x1cd3('0x39d')](_0x1de76a);}}}());(function(){'use strict';_0x4c8157[_0x1cd3('0xc')]=['$scope',_0x1cd3('0x53e'),_0x1cd3('0xd24'),_0x1cd3('0x3c5'),_0x1cd3('0x461'),_0x1cd3('0x19f9'),_0x1cd3('0x493'),_0x1cd3('0x19fa'),_0x1cd3('0x15d3'),_0x1cd3('0x424'),_0x1cd3('0x370'),'Auth',_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x35'))[_0x1cd3('0x39b')]('CreateOrEditSalesforceAccountItemDialogController',_0x4c8157);function _0x4c8157(_0x16029c,_0x1eab84,_0x27db39,_0x5a475a,_0x28b9cb,_0x598d95,_0xc07970,_0x26c720,_0x2662c6,_0x15a015,_0x58c986,_0x4a5a2f,_0x282c1f){var _0x1e8285=this;_0x1e8285[_0x1cd3('0x3ca')]=_0x4a5a2f[_0x1cd3('0x5d')]();_0x1e8285[_0x1cd3('0xd34')]=[];_0x1e8285['title']=_0x1cd3('0x19fb')+_[_0x1cd3('0x19fe')](_0x15a015);_0x1e8285[_0x1cd3('0x19fa')]=angular[_0x1cd3('0x429')](_0x26c720);_0x1e8285[_0x1cd3('0x493')]=_0xc07970;_0x1e8285[_0x1cd3('0x424')]=_0x15a015;_0x1e8285[_0x1cd3('0xd27')]=_0x282c1f;_0x1e8285[_0x1cd3('0x19fc')]=![];if(!_0x1e8285[_0x1cd3('0x19fa')]){_0x1e8285[_0x1cd3('0x19fa')]={'type':_0x1cd3('0x961')};_0x1e8285[_0x1cd3('0x19fa')][_[_0x1cd3('0x12b1')](_0x15a015)+'Id']=_0x598d95['id'];_0x1e8285[_0x1cd3('0x486')]=_0x1cd3('0x19fd')+_[_0x1cd3('0x19fe')](_0x15a015);_0x1e8285['newItem']=!![];}_0x1e8285[_0x1cd3('0x19ff')]=_0x411293;_0x1e8285[_0x1cd3('0x547')]=_0x361424;_0x1e8285[_0x1cd3('0x548')]=_0x21b9b2;_0x1e8285[_0x1cd3('0x1a00')]=_0x2859bc;_0x1e8285[_0x1cd3('0x39c')]=_0x3f135a;_0x58c986[_0x1cd3('0xb84')][_0x1cd3('0x361')]({'nolimit':!![]})[_0x1cd3('0x81')]['then'](function(_0x566539){_0x1e8285['variables']=_0x566539[_0x1cd3('0xf6')]?_0x566539[_0x1cd3('0xf6')]:[];return _0x58c986['voiceAgentReport'][_0x1cd3('0xe1c')]()[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x220f9a){_0x1e8285[_0x1cd3('0x1a01')]=_[_0x1cd3('0x41f')](_[_0x1cd3('0x80')](_0x220f9a),['$promise','$resolved',_0x1cd3('0xe0d'),'updatedAt',_0x1cd3('0x1a02')]);_0x1e8285[_0x1cd3('0x1a01')][_0x1cd3('0x7b')](_0x1cd3('0x1a03'));return _0x58c986[_0x1cd3('0xa69')][_0x1cd3('0xe1c')]()[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x21c53f){_0x1e8285[_0x1cd3('0x1a04')]=_[_0x1cd3('0x41f')](_['keys'](_0x21c53f),[_0x1cd3('0x81'),_0x1cd3('0xdfc'),_0x1cd3('0xe0d'),'updatedAt',_0x1cd3('0x1a02')]);_0x1e8285[_0x1cd3('0x1a04')][_0x1cd3('0x7b')](_0x1cd3('0x1a03'));})[_0x1cd3('0xfd')](function(_0x5a25ea){_0x28b9cb[_0x1cd3('0x434')]({'title':_0x5a25ea['status']?_0x1cd3('0x435')+_0x5a25ea[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x5a25ea['statusText']:_0x1cd3('0x1a05'),'msg':_0x5a25ea['data']?JSON[_0x1cd3('0x438')](_0x5a25ea[_0x1cd3('0x439')]):_0x5a25ea[_0x1cd3('0x43b')]()});});_0x58c986['intSalesforceAccount'][_0x1cd3('0xdfb')]({'id':_0x2662c6['id'],'ticketType':_0x598d95['ticketType']?_0x598d95['ticketType']:undefined})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x599dc9){_0x1e8285['accountConnected']=!![];_0x1e8285['fields']=_0x599dc9['rows']?_0x599dc9['rows']:[];if(_0x1e8285[_0x1cd3('0x19fa')][_0x1cd3('0x1a08')]){_0x1e8285[_0x1cd3('0x150e')]=_[_0x1cd3('0x442')](_0x1e8285[_0x1cd3('0x3c7')],{'id':_0x1e8285['item'][_0x1cd3('0x1a08')]});}})[_0x1cd3('0xfd')](function(_0x3b428f){_0x1e8285[_0x1cd3('0x1a07')]=![];console[_0x1cd3('0x434')](_0x3b428f);});function _0x411293(){_0x1e8285[_0x1cd3('0xd34')]=[];if(_0x1e8285[_0x1cd3('0x150e')]){_0x1e8285[_0x1cd3('0x19fa')][_0x1cd3('0x1a08')]=_0x1e8285[_0x1cd3('0x150e')]['id'];_0x1e8285[_0x1cd3('0x19fa')][_0x1cd3('0x1a09')]=_0x1e8285[_0x1cd3('0x150e')][_0x1cd3('0x98')];_0x1e8285['item'][_0x1cd3('0x150e')]=_0x1e8285['customField'][_0x1cd3('0x8f6')];}_0x58c986['intSalesforceField'][_0x1cd3('0xd6d')](_0x1e8285[_0x1cd3('0x19fa')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x493c10){_0x1e8285['items'][_0x1cd3('0x621')](_0x493c10);_0x28b9cb[_0x1cd3('0x473')]({'title':_[_0x1cd3('0x12b1')](_0x15a015)+_0x1cd3('0x1a0a'),'msg':_[_0x1cd3('0x12b1')](_0x15a015)+_0x1cd3('0xd33')});_0x3f135a();})[_0x1cd3('0xfd')](function(_0x25b1ff){console['error'](_0x25b1ff);_0x1e8285[_0x1cd3('0xd34')]=_0x25b1ff[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x25b1ff[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1a0b')}];});}function _0x361424(){_0x1e8285[_0x1cd3('0xd34')]=[];if(_0x1e8285[_0x1cd3('0x150e')]){_0x1e8285[_0x1cd3('0x19fa')][_0x1cd3('0x1a08')]=_0x1e8285['customField']['id'];_0x1e8285[_0x1cd3('0x19fa')][_0x1cd3('0x1a09')]=_0x1e8285[_0x1cd3('0x150e')][_0x1cd3('0x98')];_0x1e8285[_0x1cd3('0x19fa')][_0x1cd3('0x150e')]=_0x1e8285[_0x1cd3('0x150e')][_0x1cd3('0x8f6')];}_0x58c986[_0x1cd3('0xbb2')][_0x1cd3('0x378')]({'id':_0x1e8285[_0x1cd3('0x19fa')]['id']},_0x1e8285['item'])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x3ead1e){var _0x2b65f8=_[_0x1cd3('0x442')](_0x1e8285[_0x1cd3('0x493')],{'id':_0x3ead1e['id']});if(_0x2b65f8){_[_0x1cd3('0xf2')](_0x2b65f8,_0x3ead1e);}_0x28b9cb['success']({'title':_[_0x1cd3('0x12b1')](_0x15a015)+_0x1cd3('0x1a50'),'msg':_[_0x1cd3('0x12b1')](_0x15a015)+_0x1cd3('0xd37')});_0x3f135a();})['catch'](function(_0x2bf8ae){console['error'](_0x2bf8ae);_0x1e8285[_0x1cd3('0xd34')]=_0x2bf8ae[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x2bf8ae[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1a0c')}];});}function _0x21b9b2(_0x2793c9){_0x1e8285['errors']=[];var _0x3de669=_0x5a475a['confirm']()[_0x1cd3('0x486')]('Are\x20you\x20sure?')[_0x1cd3('0xd3b')](_0x1cd3('0x158a')+_0x15a015+_0x1cd3('0xd53'))['ariaLabel'](_0x1cd3('0x1a0d')+_['capitalize'](_0x15a015))['ok'](_0x1cd3('0xd3f'))[_0x1cd3('0x4d8')]('Cancel')[_0x1cd3('0xd63')](_0x2793c9);_0x5a475a['show'](_0x3de669)[_0x1cd3('0x77')](function(){_0x58c986[_0x1cd3('0xbb2')][_0x1cd3('0xa1c')]({'id':_0x1e8285[_0x1cd3('0x19fa')]['id']})['$promise'][_0x1cd3('0x77')](function(){_['remove'](_0x1e8285[_0x1cd3('0x493')],{'id':_0x1e8285[_0x1cd3('0x19fa')]['id']});_0x28b9cb[_0x1cd3('0x473')]({'title':_[_0x1cd3('0x12b1')](_0x15a015)+_0x1cd3('0x1a0e'),'msg':_[_0x1cd3('0x12b1')](_0x15a015)+_0x1cd3('0xd41')});_0x3f135a();})[_0x1cd3('0xfd')](function(_0x503fbe){console[_0x1cd3('0x434')](_0x503fbe);_0x1e8285['errors']=_0x503fbe[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x503fbe['toString'](),'type':'api.item.delete'}];});},function(){});}function _0x2859bc(){if(_0x1e8285[_0x1cd3('0x19fa')]['variableName']!==undefined){return _0x1e8285[_0x1cd3('0x19fa')]['variableName'];}else{return _0x1cd3('0x1a10');}};function _0x3f135a(){_0x5a475a['hide']();}}}());(function(){'use strict';_0x3eb0fb[_0x1cd3('0xc')]=[_0x1cd3('0x53e'),_0x1cd3('0xd24'),_0x1cd3('0x3c5'),_0x1cd3('0x372'),_0x1cd3('0x3f7'),_0x1cd3('0x463'),'setting',_0x1cd3('0x370'),'toasty','Auth',_0x1cd3('0x1ac3'),_0x1cd3('0x390')];angular[_0x1cd3('0x0')](_0x1cd3('0x35'))[_0x1cd3('0x39b')](_0x1cd3('0x1aea'),_0x3eb0fb);function _0x3eb0fb(_0x110085,_0x341668,_0x15767e,_0x3dd3d2,_0x46d926,_0x342ddb,_0x14af8b,_0x12d775,_0x452306,_0x847773,_0x73a3d2,_0x2b3576){var _0x2f2688=this;_0x2f2688[_0x1cd3('0x3ca')]=_0x847773[_0x1cd3('0x5d')]();_0x2f2688[_0x1cd3('0x463')]=_0x342ddb;_0x2f2688[_0x1cd3('0xc49')]=_0x14af8b;_0x2f2688[_0x1cd3('0xd29')]=_0x2f2688[_0x1cd3('0xc49')]['securePassword']?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x2f2688[_0x1cd3('0xd22')]=_0x341668['protocol']()+_0x1cd3('0x11cf')+_0x341668['host']();_0x2f2688[_0x1cd3('0x1ac3')]=_0x73a3d2||_0x110085['params']['salesforceAccount']||{};_0x2f2688[_0x1cd3('0x390')]=_0x2b3576&&_0x2b3576[_0x1cd3('0x466')]==0x1?_0x2b3576[_0x1cd3('0xf6')][0x0]:null;_0x2f2688['crudPermissions']=_0x847773['parseCrudPermissions'](_0x2f2688[_0x1cd3('0x390')]?_0x2f2688[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);_0x2f2688[_0x1cd3('0xd28')]={};_0x2f2688['selectedTab']=_0x110085[_0x1cd3('0x36a')][_0x1cd3('0x1418')]||0x0;_0x2f2688[_0x1cd3('0x11d0')]=_0x452306[_0x1cd3('0x654')];_0x2f2688[_0x1cd3('0x1aeb')]=_0x15a310;_0x2f2688[_0x1cd3('0x1aec')]=_0x1f2be7;function _0x15a310(){_0x110085['go'](_0x1cd3('0x17f'),{},{'reload':_0x1cd3('0x17f')});}function _0x1f2be7(){_0x12d775[_0x1cd3('0xba6')][_0x1cd3('0x378')]({'id':_0x2f2688[_0x1cd3('0x1ac3')]['id']},_0x2f2688['salesforceAccount'])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x452306['success']({'title':_0x1cd3('0x1aed'),'msg':_0x2f2688['salesforceAccount'][_0x1cd3('0x98')]?_0x2f2688[_0x1cd3('0x1ac3')][_0x1cd3('0x98')]+_0x1cd3('0xe65'):''});})[_0x1cd3('0xfd')](function(_0x115dbb){_0x452306[_0x1cd3('0x434')]({'title':_0x115dbb[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x115dbb[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x115dbb[_0x1cd3('0xd35')]:'SYSTEM:GETintSalesforceAccount','msg':_0x115dbb['data']?JSON[_0x1cd3('0x438')](_0x115dbb[_0x1cd3('0x439')]):_0x115dbb[_0x1cd3('0x43b')]()});});}}}());(function(){'use strict';_0x2c3d03[_0x1cd3('0xc')]=['$scope','$window',_0x1cd3('0x53e'),_0x1cd3('0x969'),_0x1cd3('0x3c5'),_0x1cd3('0x372'),_0x1cd3('0x3e7'),_0x1cd3('0x3f7'),'salesforceAccounts',_0x1cd3('0x38a'),'userProfileSection','api',_0x1cd3('0x2dd'),_0x1cd3('0x461'),_0x1cd3('0x56'),_0x1cd3('0x463'),_0x1cd3('0xc49')];angular[_0x1cd3('0x0')]('app.integrations')['controller'](_0x1cd3('0x1aee'),_0x2c3d03);function _0x2c3d03(_0x3474c0,_0x3855f5,_0x1109d0,_0x43b960,_0x3541ca,_0x1d46f5,_0x828e29,_0x1f1a34,_0x787f9,_0x2c9d0f,_0x5feb88,_0x2f618c,_0x5bab0d,_0x242c37,_0x573481,_0x3098e6,_0x12dfb9){var _0x6cbb08=this;_0x6cbb08[_0x1cd3('0x463')]=_0x3098e6;_0x6cbb08['setting']=_0x12dfb9;_0x6cbb08[_0x1cd3('0x3ca')]=_0x573481['getCurrentUser']();_0x6cbb08[_0x1cd3('0x1ac0')]=_0x787f9||{'count':0x0,'rows':[]};_0x6cbb08[_0x1cd3('0x38a')]=_0x2c9d0f;_0x6cbb08[_0x1cd3('0x390')]=_0x5feb88&&_0x5feb88['count']==0x1?_0x5feb88[_0x1cd3('0xf6')][0x0]:null;_0x6cbb08[_0x1cd3('0xd27')]=_0x573481['parseCrudPermissions'](_0x6cbb08['userProfileSection']?_0x6cbb08['userProfileSection']['crudPermissions']:null);_0x6cbb08[_0x1cd3('0xd45')]=_0x1cd3('0x1ac0');_0x6cbb08[_0x1cd3('0xd46')]='';_0x6cbb08['listOrderAsc']=null;_0x6cbb08[_0x1cd3('0x1aef')]=[];_0x6cbb08[_0x1cd3('0x3d4')]={'fields':'createdAt,updatedAt,id,name,type,username,remoteUri,password,clientId,clientSecret,securityToken,serverUrl,description','limit':0xa,'page':0x1};_0x6cbb08['arraytype']=_[_0x1cd3('0xe2d')]([{'option':_0x1cd3('0x19b3'),'value':'\x27integrationTab\x27'},{'option':'New_Tab','value':'\x27newTab\x27'}],function(_0x19acbb){return _[_0x1cd3('0x3f1')](_0x19acbb[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x6cbb08[_0x1cd3('0x1171')]=_0x4db632;_0x6cbb08[_0x1cd3('0x1ab1')]=_0xd31065;_0x6cbb08[_0x1cd3('0xecc')]=_0x3530e0;_0x6cbb08[_0x1cd3('0x473')]=_0x229132;_0x6cbb08['getSalesforceAccounts']=_0x40342b;_0x6cbb08[_0x1cd3('0x1af0')]=_0x202dec;_0x6cbb08[_0x1cd3('0x1ac7')]=_0x2b2499;_0x6cbb08[_0x1cd3('0x1af1')]=_0x56e28f;_0x6cbb08['deleteSelectedSalesforceAccounts']=_0x348b94;_0x6cbb08['deselectSalesforceAccounts']=_0xf17b56;_0x6cbb08[_0x1cd3('0x1af2')]=_0x76dc62;function _0x4db632(_0x122436,_0x5593a7){_0x1109d0['go'](_0x1cd3('0x182'),{'id':_0x122436['id'],'salesforceAccount':_0x122436,'crudPermissions':_0x6cbb08[_0x1cd3('0xd27')]});}function _0xd31065(_0x21027b,_0x4f0d73){return _0x2f618c['intSalesforceAccount'][_0x1cd3('0xdfb')]({'id':_0x21027b['id'],'test':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x242c37['success']({'title':_0x1cd3('0x1af3'),'msg':_0x1cd3('0x1a28')});})[_0x1cd3('0xfd')](function(_0x50721b){_0x242c37[_0x1cd3('0x434')]({'title':'SalesforceAccount\x20properly\x20tested','msg':_0x50721b[_0x1cd3('0x439')]?_0x50721b[_0x1cd3('0x439')][_0x1cd3('0x43a')]?_0x50721b[_0x1cd3('0x439')][_0x1cd3('0x43a')]:JSON[_0x1cd3('0x438')](_0x50721b[_0x1cd3('0x439')]):_0x50721b['toString']()});});}function _0x3530e0(_0x37dbe0,_0x150b0c){var _0x2fc2a3=_0x3541ca[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xd4f')+_[_0x1cd3('0xd50')]('salesforceAccount')+'?')[_0x1cd3('0xd60')]('<b>'+(_0x37dbe0['name']||_0x1cd3('0x1ac3'))+_0x1cd3('0xd52')+'\x20will\x20be\x20deleted.')[_0x1cd3('0xd3d')](_0x1cd3('0x1af4'))[_0x1cd3('0xd63')](_0x150b0c)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x3541ca[_0x1cd3('0x37e')](_0x2fc2a3)[_0x1cd3('0x77')](function(){_0x2b2499(_0x37dbe0);},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}var _0x405044=!![];var _0x538a38=0x1;_0x3474c0[_0x1cd3('0x4d6')](_0x1cd3('0xd56'),function(_0x2bdc14,_0xb8454c){if(_0x405044){_0x828e29(function(){_0x405044=![];});}else{if(!_0xb8454c){_0x538a38=_0x6cbb08['query'][_0x1cd3('0x8fd')];}if(_0x2bdc14!==_0xb8454c){_0x6cbb08[_0x1cd3('0x3d4')]['page']=0x1;}if(!_0x2bdc14){_0x6cbb08['query'][_0x1cd3('0x8fd')]=_0x538a38;}_0x6cbb08[_0x1cd3('0x1af5')]();}});function _0x229132(_0x2b63f2){_0x6cbb08[_0x1cd3('0x1ac0')]=_0x2b63f2||{'count':0x0,'rows':[]};}function _0x40342b(){_0x6cbb08['query'][_0x1cd3('0xd57')]=(_0x6cbb08['query'][_0x1cd3('0x8fd')]-0x1)*_0x6cbb08[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];if(_0x573481[_0x1cd3('0x57')]('admin')){_0x6cbb08['promise']=_0x2f618c['intSalesforceAccount'][_0x1cd3('0x361')](_0x6cbb08[_0x1cd3('0x3d4')],_0x229132)[_0x1cd3('0x81')];}else{_0x6cbb08['query']['id']=_0x6cbb08[_0x1cd3('0x38a')]['id'];_0x6cbb08[_0x1cd3('0x3d4')][_0x1cd3('0xd58')]=_0x1cd3('0x1af6');_0x6cbb08['promise']=_0x2f618c[_0x1cd3('0x38a')][_0x1cd3('0xd59')](_0x6cbb08[_0x1cd3('0x3d4')],_0x229132)[_0x1cd3('0x81')];}}function _0x202dec(_0x1e19d8,_0xacd353){_0x3541ca[_0x1cd3('0x37e')]({'controller':'CreateOrEditSalesforceAccountDialogController','controllerAs':'vm','templateUrl':_0x1cd3('0x1af7'),'parent':angular[_0x1cd3('0x37f')](_0x1d46f5['body']),'targetEvent':_0x1e19d8,'clickOutsideToClose':!![],'locals':{'salesforceAccount':_0xacd353,'salesforceAccounts':_0x6cbb08[_0x1cd3('0x1ac0')][_0x1cd3('0xf6')],'license':_0x6cbb08[_0x1cd3('0x463')],'setting':_0x6cbb08['setting'],'crudPermissions':_0x6cbb08[_0x1cd3('0xd27')]}});}function _0x2b2499(_0x54699c){_0x2f618c[_0x1cd3('0xba6')][_0x1cd3('0xa1c')]({'id':_0x54699c['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x6cbb08[_0x1cd3('0x1ac0')]['rows'],{'id':_0x54699c['id']});_0x6cbb08['salesforceAccounts'][_0x1cd3('0x466')]-=0x1;if(!_0x6cbb08[_0x1cd3('0x1ac0')][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){_0x6cbb08[_0x1cd3('0x1af5')]();}_0x242c37['success']({'title':_[_0x1cd3('0xd50')](_0x1cd3('0x1af8'))+_0x1cd3('0xd5c'),'msg':_0x54699c['name']?_0x54699c['name']+_0x1cd3('0xd41'):''});})['catch'](function(_0x216376){if(_0x216376[_0x1cd3('0x439')]&&_0x216376[_0x1cd3('0x439')]['errors']&&_0x216376[_0x1cd3('0x439')]['errors']['length']){_0x6cbb08[_0x1cd3('0xd34')]=_0x216376[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x216376[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1af9')}];for(var _0x79ccef=0x0;_0x79ccef<_0x216376[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0x79ccef++){_0x242c37[_0x1cd3('0x434')]({'title':_0x216376[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x79ccef][_0x1cd3('0x424')],'msg':_0x216376['data'][_0x1cd3('0xd34')][_0x79ccef][_0x1cd3('0x43a')]});}}else{_0x242c37[_0x1cd3('0x434')]({'title':_0x216376[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x216376['status']+_0x1cd3('0x436')+_0x216376[_0x1cd3('0xd35')]:_0x1cd3('0x1af9'),'msg':_0x216376[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x216376[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x216376['message']||_0x216376[_0x1cd3('0x43b')]()});}});}function _0x56e28f(){var _0x390b55=angular['copy'](_0x6cbb08[_0x1cd3('0x1aef')]);_0x6cbb08[_0x1cd3('0x1aef')]=[];return _0x390b55;}function _0x348b94(_0xa72e04){var _0x2a081a=_0x3541ca[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x1afa'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x6cbb08[_0x1cd3('0x1aef')][_0x1cd3('0x7a')]+_0x1cd3('0xd61')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x1afb'))[_0x1cd3('0xd63')](_0xa72e04)['ok']('OK')['cancel'](_0x1cd3('0xd55'));_0x3541ca[_0x1cd3('0x37e')](_0x2a081a)[_0x1cd3('0x77')](function(){_0x6cbb08[_0x1cd3('0x1aef')][_0x1cd3('0x394')](function(_0x462278){_0x2b2499(_0x462278);});_0x6cbb08[_0x1cd3('0x1aef')]=[];});}function _0xf17b56(){_0x6cbb08[_0x1cd3('0x1aef')]=[];}function _0x76dc62(){_0x6cbb08['selectedSalesforceAccounts']=_0x6cbb08['salesforceAccounts'][_0x1cd3('0xf6')];}}}());(function(){'use strict';_0x37cbb8['$inject']=[_0x1cd3('0x460'),_0x1cd3('0x53e'),_0x1cd3('0xd24'),_0x1cd3('0x3c5'),'$q',_0x1cd3('0x3f7'),'toasty',_0x1cd3('0x1afc'),_0x1cd3('0x1afd'),_0x1cd3('0x370'),_0x1cd3('0x56'),'license','setting',_0x1cd3('0xd27')];angular['module'](_0x1cd3('0x35'))['controller'](_0x1cd3('0x1afe'),_0x37cbb8);function _0x37cbb8(_0x40d71e,_0x38db43,_0x2b1eb4,_0x18c3f4,_0x58387b,_0xa715fe,_0x4c1171,_0x5265b2,_0x3fa523,_0x4de36f,_0x36fcb3,_0x47138e,_0x4b8423,_0x570019){var _0x2cf10c=this;_0x2cf10c[_0x1cd3('0x3ca')]=_0x36fcb3['getCurrentUser']();_0x2cf10c[_0x1cd3('0xd34')]=[];_0x2cf10c[_0x1cd3('0xc49')]=_0x4b8423;_0x2cf10c[_0x1cd3('0x463')]=_0x47138e;_0x2cf10c['crudPermissions']=_0x570019;_0x2cf10c[_0x1cd3('0xd28')]={};_0x2cf10c[_0x1cd3('0xd29')]=_0x2cf10c['setting']&&_0x2cf10c['setting'][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x2cf10c[_0x1cd3('0x486')]=_0x1cd3('0x1aff');_0x2cf10c[_0x1cd3('0x1afd')]=angular[_0x1cd3('0x429')](_0x3fa523);_0x2cf10c[_0x1cd3('0x1afc')]=_0x5265b2;_0x2cf10c[_0x1cd3('0x1b00')]=![];if(!_0x2cf10c['servicenowAccount']){_0x2cf10c['servicenowAccount']={'serverUrl':_0x2b1eb4[_0x1cd3('0x3b0')]()+_0x1cd3('0x11cf')+_0x2b1eb4[_0x1cd3('0x3ac')]()+(_0x2b1eb4['port']()?':'+_0x2b1eb4['port']():'')};_0x2cf10c[_0x1cd3('0x486')]=_0x1cd3('0x1b01');_0x2cf10c[_0x1cd3('0x1b00')]=!![];}_0x2cf10c[_0x1cd3('0x1b02')]=_0x465279;_0x2cf10c[_0x1cd3('0x1b03')]=_0x961b0d;_0x2cf10c['deleteServicenowAccount']=_0xa6a429;_0x2cf10c[_0x1cd3('0xd31')]=_0x5b7895;_0x2cf10c[_0x1cd3('0x39c')]=_0x8116da;function _0x465279(){_0x2cf10c['errors']=[];_0x4de36f[_0x1cd3('0xc01')]['save'](_0x2cf10c[_0x1cd3('0x1afd')])[_0x1cd3('0x81')]['then'](function(_0x183ece){_0x2cf10c['servicenowAccounts'][_0x1cd3('0x621')](_0x183ece[_0x1cd3('0xd32')]());_0x4c1171[_0x1cd3('0x473')]({'title':_0x1cd3('0x1b04'),'msg':_0x2cf10c[_0x1cd3('0x1afd')][_0x1cd3('0x98')]?_0x2cf10c[_0x1cd3('0x1afd')]['name']+_0x1cd3('0xd33'):''});_0x8116da(_0x183ece);})[_0x1cd3('0xfd')](function(_0x2fc62a){if(_0x2fc62a['data']&&_0x2fc62a['data']['errors']&&_0x2fc62a[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x2cf10c[_0x1cd3('0xd34')]=_0x2fc62a['data'][_0x1cd3('0xd34')]||[{'message':_0x2fc62a[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1b05')}];for(var _0x580d41=0x0;_0x580d41<_0x2fc62a['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x580d41+=0x1){_0x4c1171[_0x1cd3('0x434')]({'title':_0x2fc62a[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x580d41]['type'],'msg':_0x2fc62a[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x580d41][_0x1cd3('0x43a')]});}}else{_0x4c1171[_0x1cd3('0x434')]({'title':_0x2fc62a[_0x1cd3('0x3a6')]?'API:'+_0x2fc62a['status']+_0x1cd3('0x436')+_0x2fc62a['statusText']:_0x1cd3('0x1b05'),'msg':_0x2fc62a[_0x1cd3('0x439')]?JSON['stringify'](_0x2fc62a['data'][_0x1cd3('0x43a')]):_0x2fc62a[_0x1cd3('0x43b')]()});}});}function _0x961b0d(){_0x2cf10c[_0x1cd3('0xd34')]=[];_0x4de36f[_0x1cd3('0xc01')][_0x1cd3('0x378')]({'id':_0x2cf10c[_0x1cd3('0x1afd')]['id']},_0x2cf10c['servicenowAccount'])['$promise'][_0x1cd3('0x77')](function(_0xe16f02){var _0x40c397=_[_0x1cd3('0x442')](_0x2cf10c['servicenowAccounts'],{'id':_0xe16f02['id']});if(_0x40c397){_[_0x1cd3('0xf2')](_0x40c397,_[_0x1cd3('0x5e8')](_0xe16f02[_0x1cd3('0xd32')](),_['keys'](_0x40c397)));}_0x4c1171[_0x1cd3('0x473')]({'title':_0x1cd3('0x1b06'),'msg':_0x2cf10c[_0x1cd3('0x1afd')][_0x1cd3('0x98')]?_0x2cf10c[_0x1cd3('0x1afd')][_0x1cd3('0x98')]+_0x1cd3('0xd37'):''});_0x8116da(_0xe16f02);})[_0x1cd3('0xfd')](function(_0x3a325c){if(_0x3a325c[_0x1cd3('0x439')]&&_0x3a325c[_0x1cd3('0x439')]['errors']&&_0x3a325c[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x2cf10c[_0x1cd3('0xd34')]=_0x3a325c[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x3a325c[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1b07')}];for(var _0x1599d8=0x0;_0x1599d8<_0x3a325c[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0x1599d8++){_0x4c1171[_0x1cd3('0x434')]({'title':_0x3a325c[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1599d8][_0x1cd3('0x424')],'msg':_0x3a325c[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1599d8][_0x1cd3('0x43a')]});}}else{_0x4c1171['error']({'title':_0x3a325c[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x3a325c[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x3a325c['statusText']:_0x1cd3('0x1b07'),'msg':_0x3a325c['data']?JSON[_0x1cd3('0x438')](_0x3a325c['data'][_0x1cd3('0x43a')]):_0x3a325c[_0x1cd3('0x43b')]()});}});}function _0xa6a429(_0x32371b){_0x2cf10c['errors']=[];var _0x1b5675=_0x18c3f4['confirm']()['title'](_0x1cd3('0xd3a'))['content'](_0x1cd3('0x1b08'))[_0x1cd3('0xd3d')]('Delete\x20ServicenowAccount')['ok'](_0x1cd3('0xd3f'))[_0x1cd3('0x4d8')](_0x1cd3('0x674'))[_0x1cd3('0xd63')](_0x32371b);_0x18c3f4[_0x1cd3('0x37e')](_0x1b5675)['then'](function(){_0x4de36f[_0x1cd3('0xc01')][_0x1cd3('0xa1c')]({'id':_0x2cf10c[_0x1cd3('0x1afd')]['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x2cf10c['servicenowAccounts'],{'id':_0x2cf10c[_0x1cd3('0x1afd')]['id']});_0x4c1171[_0x1cd3('0x473')]({'title':'ServicenowAccount\x20properly\x20deleted!','msg':(_0x2cf10c[_0x1cd3('0x1afd')][_0x1cd3('0x98')]||_0x1cd3('0x1afd'))+_0x1cd3('0xd41')});_0x8116da(_0x2cf10c[_0x1cd3('0x1afd')]);})[_0x1cd3('0xfd')](function(_0x24add4){if(_0x24add4[_0x1cd3('0x439')]&&_0x24add4['data'][_0x1cd3('0xd34')]&&_0x24add4[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x2cf10c[_0x1cd3('0xd34')]=_0x24add4[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x24add4['toString'](),'type':_0x1cd3('0x1b09')}];for(var _0x3712de=0x0;_0x3712de<_0x24add4[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0x3712de++){_0x4c1171[_0x1cd3('0x434')]({'title':_0x24add4[_0x1cd3('0x439')]['errors'][_0x3712de][_0x1cd3('0x424')],'msg':_0x24add4[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x3712de]['message']});}}else{_0x4c1171[_0x1cd3('0x434')]({'title':_0x24add4[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x24add4['status']+_0x1cd3('0x436')+_0x24add4[_0x1cd3('0xd35')]:_0x1cd3('0x1b09'),'msg':_0x24add4[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x24add4[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x24add4[_0x1cd3('0x43a')]||_0x24add4[_0x1cd3('0x43b')]()});}});},function(){});}function _0x5b7895(_0x4a6e8c){return _0x4a6e8c===null?undefined:new Date(_0x4a6e8c);}function _0x8116da(_0x32e7b7){_0x18c3f4[_0x1cd3('0x39d')](_0x32e7b7);}}}());(function(){'use strict';_0x4898cd[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),_0x1cd3('0x372'),'api',_0x1cd3('0x461'),_0x1cd3('0x56')];angular[_0x1cd3('0x0')](_0x1cd3('0x35'))[_0x1cd3('0x39b')](_0x1cd3('0x1b0a'),_0x4898cd);function _0x4898cd(_0x48c156,_0x3d12e6,_0xcc8f6d,_0x4e102f,_0x1980b2){var _0x40d3b9=this;_0x40d3b9[_0x1cd3('0x3ca')]=_0x1980b2[_0x1cd3('0x5d')]();_0x40d3b9[_0x1cd3('0x1afd')]={};_0x40d3b9[_0x1cd3('0x1b0b')]={};_0x40d3b9['configurations']=[];_0x40d3b9[_0x1cd3('0x1b0c')]=-0x1;_0x40d3b9[_0x1cd3('0xd27')];_0x40d3b9[_0x1cd3('0xe08')]=_0x35c69f;_0x40d3b9[_0x1cd3('0x1b0d')]=_0x4b52fa;_0x40d3b9['createOrEditServicenowConfiguration']=_0x516ac7;_0x40d3b9[_0x1cd3('0x1b0e')]=_0x3118a0;function _0x35c69f(_0x37b26c,_0x74092b){_0x40d3b9[_0x1cd3('0x1afd')]=_0x37b26c;_0x40d3b9['crudPermissions']=typeof _0x74092b!==_0x1cd3('0x491')?_0x74092b:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0xcc8f6d['intServicenowAccount']['getConfigurations']({'id':_0x40d3b9[_0x1cd3('0x1afd')]['id'],'sort':_0x1cd3('0x5b')})['$promise'][_0x1cd3('0x77')](function(_0x48e9fb){_0x40d3b9[_0x1cd3('0x19c2')]=_0x48e9fb[_0x1cd3('0xf6')]?_0x48e9fb['rows']:[];if(_0x40d3b9[_0x1cd3('0x19c2')][_0x1cd3('0x7a')]){_0x40d3b9['getServicenowConfiguration'](0x0);}return _0xcc8f6d['variable'][_0x1cd3('0x361')]({'nolimit':!![],'sort':_0x1cd3('0x98')})[_0x1cd3('0x81')];})['then'](function(_0x5584d5){_0x40d3b9[_0x1cd3('0xef7')]=_0x5584d5[_0x1cd3('0xf6')]?_0x5584d5[_0x1cd3('0xf6')]:[];_0x40d3b9[_0x1cd3('0x19ca')]=_[_0x1cd3('0xe2d')](_0x40d3b9['variables'],'id');})[_0x1cd3('0xfd')](function(_0xd7e00){_0x4e102f[_0x1cd3('0x434')]({'title':_0xd7e00[_0x1cd3('0x3a6')]?'API:'+_0xd7e00[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0xd7e00['statusText']:_0x1cd3('0x19cb'),'msg':_0xd7e00[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0xd7e00['data']):_0xd7e00['toString']()});});}function _0x4b52fa(_0x168897){_0x40d3b9[_0x1cd3('0x1b0b')]=_0x40d3b9[_0x1cd3('0x19c2')][_0x168897];_0x40d3b9[_0x1cd3('0x1b0c')]=_0x168897;_0xcc8f6d[_0x1cd3('0xc07')][_0x1cd3('0x1a31')]({'id':_0x40d3b9[_0x1cd3('0x1b0b')]['id']})['$promise']['then'](function(_0x49bcf7){_0x40d3b9[_0x1cd3('0x19d9')]=_0x49bcf7[_0x1cd3('0xf6')]?_0x49bcf7[_0x1cd3('0xf6')]:[];return _0xcc8f6d['intServicenowConfiguration'][_0x1cd3('0x19cc')]({'id':_0x40d3b9[_0x1cd3('0x1b0b')]['id']})['$promise'];})[_0x1cd3('0x77')](function(_0x52c65b){_0x40d3b9['descriptions']=_0x52c65b[_0x1cd3('0xf6')]?_0x52c65b[_0x1cd3('0xf6')]:[];return _0xcc8f6d['intServicenowConfiguration'][_0x1cd3('0xdfb')]({'id':_0x40d3b9['servicenowConfiguration']['id']})['$promise'];})[_0x1cd3('0x77')](function(_0x5a3ed){_0x40d3b9[_0x1cd3('0x3c7')]=_0x5a3ed['rows']?_0x5a3ed['rows']:[];})['catch'](function(_0x577251){_0x4e102f[_0x1cd3('0x434')]({'title':_0x577251['status']?_0x1cd3('0x435')+_0x577251['status']+'\x20-\x20'+_0x577251[_0x1cd3('0xd35')]:_0x1cd3('0x19ce'),'msg':_0x577251['data']?JSON[_0x1cd3('0x438')](_0x577251['data']):_0x577251[_0x1cd3('0x43b')]()});});}function _0x516ac7(_0x450dc9,_0x19b234){_0x48c156[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1b0f'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1b10'),'parent':angular[_0x1cd3('0x37f')](_0x3d12e6[_0x1cd3('0x380')]),'targetEvent':_0x450dc9,'clickOutsideToClose':!![],'locals':{'servicenowConfiguration':_0x19b234,'configurations':_0x40d3b9[_0x1cd3('0x19c2')],'license':null,'setting':null,'crudPermissions':_0x40d3b9[_0x1cd3('0xd27')]}})[_0x1cd3('0x5dd')](function(){_0x40d3b9[_0x1cd3('0x1b0d')](0x0);});}function _0x3118a0(_0x2de5a6,_0x4d138b){var _0x10b2f3=_0x48c156[_0x1cd3('0xd39')]()['title'](_0x1cd3('0x1b11'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+(_0x4d138b['name']||_0x1cd3('0x1b0b'))+_0x1cd3('0xd52')+'\x20will\x20be\x20deleted.')['ariaLabel']('delete\x20servicenowConfiguration')[_0x1cd3('0xd63')](_0x2de5a6)['ok']('OK')['cancel'](_0x1cd3('0xd55'));_0x48c156[_0x1cd3('0x37e')](_0x10b2f3)[_0x1cd3('0x77')](function(){_0xcc8f6d[_0x1cd3('0xc07')][_0x1cd3('0xa1c')]({'id':_0x4d138b['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x40d3b9['configurations'],{'id':_0x4d138b['id']});_0x4e102f['success']({'title':_0x1cd3('0x1b12'),'msg':_0x4d138b[_0x1cd3('0x98')]?_0x4d138b['name']+'\x20has\x20been\x20deleted!':''});})[_0x1cd3('0xfd')](function(_0x2d2a4a){_0x4e102f['error']({'title':_0x2d2a4a[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x2d2a4a[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x2d2a4a[_0x1cd3('0xd35')]:_0x1cd3('0x1a36'),'msg':_0x2d2a4a['data']?JSON[_0x1cd3('0x438')](_0x2d2a4a[_0x1cd3('0x439')]):_0x2d2a4a[_0x1cd3('0x43b')]()});})[_0x1cd3('0x5dd')](function(){_0x40d3b9[_0x1cd3('0x1b0d')](0x0);});},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}_0x40d3b9[_0x1cd3('0x19d5')]=[];_0x40d3b9[_0x1cd3('0x1a37')]=_0x369bc4;_0x40d3b9[_0x1cd3('0x1a38')]=_0x19e988;_0x40d3b9[_0x1cd3('0x19d6')]=_0x32e91d;function _0x369bc4(_0x507b7a,_0x7200df){_0x48c156[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1b13'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1b14'),'parent':angular['element'](_0x3d12e6[_0x1cd3('0x380')]),'targetEvent':_0x507b7a,'clickOutsideToClose':!![],'locals':{'type':_0x1cd3('0x1327'),'item':_0x7200df,'items':_0x40d3b9['subjects'],'configuration':_0x40d3b9[_0x1cd3('0x1b0b')],'account':_0x40d3b9['servicenowAccount'],'license':null,'setting':null,'crudPermissions':_0x40d3b9['crudPermissions']}});}function _0x5a56ae(_0x9ed943){_0xcc8f6d[_0x1cd3('0xc0b')][_0x1cd3('0xa1c')]({'id':_0x9ed943['id']})[_0x1cd3('0x81')]['then'](function(){_[_0x1cd3('0x383')](_0x40d3b9['subjects'],{'id':_0x9ed943['id']});_0x4e102f[_0x1cd3('0x473')]({'title':_0x1cd3('0x1a3b'),'msg':_0x1cd3('0x19da')});})['catch'](function(_0x46d689){_0x4e102f['error']({'title':_0x46d689['status']?_0x1cd3('0x435')+_0x46d689[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x46d689[_0x1cd3('0xd35')]:_0x1cd3('0x19db'),'msg':_0x46d689[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x46d689[_0x1cd3('0x439')]):_0x46d689['toString']()});});}function _0x19e988(_0x2318a0,_0x325435){var _0x586c76=_0x48c156[_0x1cd3('0xd39')]()[_0x1cd3('0x486')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20subject?')[_0x1cd3('0xd60')](_0x1cd3('0x19dc')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x1a3d'))[_0x1cd3('0xd63')](_0x2318a0)['ok']('OK')['cancel'](_0x1cd3('0xd55'));_0x48c156['show'](_0x586c76)['then'](function(){_0x5a56ae(_0x325435);},function(){console['log']('CANCEL');});}function _0x32e91d(_0x3253ca){var _0x4bba65=_0x48c156[_0x1cd3('0xd39')]()['title'](_0x1cd3('0x19dd'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x40d3b9['selectedSubjects'][_0x1cd3('0x7a')]+_0x1cd3('0xd61')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')]('delete\x20subjects')[_0x1cd3('0xd63')](_0x3253ca)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x48c156[_0x1cd3('0x37e')](_0x4bba65)['then'](function(){_0x40d3b9[_0x1cd3('0x19d5')][_0x1cd3('0x394')](function(_0xa75bcc){_0x5a56ae(_0xa75bcc);});_0x40d3b9[_0x1cd3('0x19d5')]=[];});}_0x40d3b9['selectedDescriptions']=[];_0x40d3b9[_0x1cd3('0x19df')]=_0x298582;_0x40d3b9[_0x1cd3('0x19e0')]=_0x49b58b;_0x40d3b9['deleteSelectedDescriptions']=_0x510ab5;function _0x298582(_0x54b9ce,_0x39d393){_0x48c156[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1b13'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1b14'),'parent':angular['element'](_0x3d12e6[_0x1cd3('0x380')]),'targetEvent':_0x54b9ce,'clickOutsideToClose':!![],'locals':{'type':'description','item':_0x39d393,'items':_0x40d3b9['descriptions'],'configuration':_0x40d3b9['servicenowConfiguration'],'account':_0x40d3b9[_0x1cd3('0x1afd')],'license':null,'setting':null,'crudPermissions':_0x40d3b9[_0x1cd3('0xd27')]}});}function _0x2e21e7(_0x45c6f5){_0xcc8f6d[_0x1cd3('0xc0b')]['delete']({'id':_0x45c6f5['id']})['$promise'][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x40d3b9[_0x1cd3('0x19cd')],{'id':_0x45c6f5['id']});_0x4e102f[_0x1cd3('0x473')]({'title':_0x1cd3('0x19e2'),'msg':'Description\x20has\x20been\x20deleted!'});})[_0x1cd3('0xfd')](function(_0x1dd99b){_0x4e102f[_0x1cd3('0x434')]({'title':_0x1dd99b[_0x1cd3('0x3a6')]?'API:'+_0x1dd99b[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x1dd99b[_0x1cd3('0xd35')]:'SYSTEM:DELETECONFIGURATIONFIELD','msg':_0x1dd99b[_0x1cd3('0x439')]?JSON['stringify'](_0x1dd99b[_0x1cd3('0x439')]):_0x1dd99b['toString']()});});}function _0x49b58b(_0x53a015,_0x43e6fd){var _0x4e8357=_0x48c156[_0x1cd3('0xd39')]()['title'](_0x1cd3('0x19e4'))[_0x1cd3('0xd60')](_0x1cd3('0x1a6b')+'\x20will\x20be\x20deleted.')['ariaLabel'](_0x1cd3('0x19e5'))[_0x1cd3('0xd63')](_0x53a015)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x48c156[_0x1cd3('0x37e')](_0x4e8357)['then'](function(){_0x2e21e7(_0x43e6fd);},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}function _0x510ab5(_0x52c4f1){var _0x39355f=_0x48c156['confirm']()[_0x1cd3('0x486')](_0x1cd3('0x19e6'))['htmlContent'](_0x1cd3('0xd51')+_0x40d3b9['selectedDescriptions'][_0x1cd3('0x7a')]+_0x1cd3('0xd61')+'\x20will\x20be\x20deleted.')[_0x1cd3('0xd3d')](_0x1cd3('0x19e7'))['targetEvent'](_0x52c4f1)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x48c156[_0x1cd3('0x37e')](_0x39355f)['then'](function(){_0x40d3b9[_0x1cd3('0x19de')][_0x1cd3('0x394')](function(_0x3ac80c){_0x2e21e7(_0x3ac80c);});_0x40d3b9[_0x1cd3('0x19de')]=[];});}_0x40d3b9['selectedFields']=[];_0x40d3b9[_0x1cd3('0x1a3f')]=_0x47b363;_0x40d3b9[_0x1cd3('0x19e9')]=_0x1d0f31;_0x40d3b9['deleteSelectedFields']=_0x64e635;function _0x47b363(_0x4b413f,_0x15ca74){_0x48c156[_0x1cd3('0x37e')]({'controller':'CreateOrEditServicenowAccountItemDialogController','controllerAs':'vm','templateUrl':_0x1cd3('0x1b14'),'parent':angular[_0x1cd3('0x37f')](_0x3d12e6[_0x1cd3('0x380')]),'targetEvent':_0x4b413f,'clickOutsideToClose':!![],'locals':{'type':_0x1cd3('0x450'),'item':_0x15ca74,'items':_0x40d3b9[_0x1cd3('0x3c7')],'configuration':_0x40d3b9['servicenowConfiguration'],'account':_0x40d3b9['servicenowAccount'],'license':null,'setting':null,'crudPermissions':_0x40d3b9[_0x1cd3('0xd27')]}});}function _0x437bb6(_0x4dded6){_0xcc8f6d[_0x1cd3('0xc0b')][_0x1cd3('0xa1c')]({'id':_0x4dded6['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x40d3b9[_0x1cd3('0x3c7')],{'id':_0x4dded6['id']});_0x4e102f['success']({'title':_0x1cd3('0xe40'),'msg':_0x1cd3('0x19eb')});})['catch'](function(_0x39039e){_0x4e102f[_0x1cd3('0x434')]({'title':_0x39039e[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x39039e[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x39039e['statusText']:_0x1cd3('0x19db'),'msg':_0x39039e['data']?JSON[_0x1cd3('0x438')](_0x39039e[_0x1cd3('0x439')]):_0x39039e[_0x1cd3('0x43b')]()});});}function _0x1d0f31(_0x283fef,_0x5250ef){var _0x13fbaa=_0x48c156[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xe3c'))['htmlContent'](_0x1cd3('0x19ec')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0xe3d'))[_0x1cd3('0xd63')](_0x283fef)['ok']('OK')[_0x1cd3('0x4d8')]('CANCEL');_0x48c156[_0x1cd3('0x37e')](_0x13fbaa)[_0x1cd3('0x77')](function(){_0x437bb6(_0x5250ef);},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}function _0x64e635(_0x1b9274){var _0x4a9ff4=_0x48c156[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xe42'))['htmlContent']('<b>'+_0x40d3b9[_0x1cd3('0x19e8')][_0x1cd3('0x7a')]+'\x20selected</b>'+'\x20will\x20be\x20deleted.')['ariaLabel']('delete\x20fields')[_0x1cd3('0xd63')](_0x1b9274)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x48c156[_0x1cd3('0x37e')](_0x4a9ff4)[_0x1cd3('0x77')](function(){_0x40d3b9[_0x1cd3('0x19e8')]['forEach'](function(_0xd0a1d4){_0x437bb6(_0xd0a1d4);});_0x40d3b9[_0x1cd3('0x19e8')]=[];});}}}());(function(){'use strict';_0x7db463[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x53e'),_0x1cd3('0xd24'),'$mdDialog','$q',_0x1cd3('0x3f7'),_0x1cd3('0x461'),_0x1cd3('0x19c2'),_0x1cd3('0x1b0b'),_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0x463'),_0x1cd3('0xc49'),_0x1cd3('0xd27')];angular['module'](_0x1cd3('0x35'))[_0x1cd3('0x39b')](_0x1cd3('0x1b0f'),_0x7db463);function _0x7db463(_0xc818df,_0x4f7ac0,_0x547da2,_0x5400d5,_0x2439e5,_0x4d5ffe,_0x39756e,_0x4a5f8f,_0xf1035d,_0x67fff,_0x951cd6,_0x4c479f,_0x1ff101,_0xa838a9){var _0x2ca873=this;_0x2ca873[_0x1cd3('0x3ca')]=_0x951cd6['getCurrentUser']();_0x2ca873['errors']=[];_0x2ca873['setting']=_0x1ff101;_0x2ca873[_0x1cd3('0x463')]=_0x4c479f;_0x2ca873['crudPermissions']=_0xa838a9;_0x2ca873[_0x1cd3('0xd28')]={};_0x2ca873[_0x1cd3('0xd29')]=_0x2ca873[_0x1cd3('0xc49')]&&_0x2ca873[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x2ca873[_0x1cd3('0x486')]=_0x1cd3('0x1b15');_0x2ca873['servicenowConfiguration']=angular[_0x1cd3('0x429')](_0xf1035d);_0x2ca873[_0x1cd3('0x19c2')]=_0x4a5f8f;_0x2ca873['newServicenowConfiguration']=![];if(!_0x2ca873[_0x1cd3('0x1b0b')]){_0x2ca873[_0x1cd3('0x1b0b')]={'channel':_0x1cd3('0x121'),'type':'inbound'};_0x2ca873[_0x1cd3('0x486')]='INTEGRATIONS.NEW_SERVICENOWCONFIGURATION';_0x2ca873[_0x1cd3('0x1b16')]=!![];}_0x2ca873[_0x1cd3('0x1b17')]=_0xaa258e;_0x2ca873[_0x1cd3('0x1b18')]=_0x4a9533;_0x2ca873[_0x1cd3('0x1b0e')]=_0x3e86f8;_0x2ca873[_0x1cd3('0xd31')]=_0x14f4be;_0x2ca873['closeDialog']=_0x15ee78;function _0xaa258e(){_0x2ca873['errors']=[];_0x67fff['intServicenowAccount']['addConfiguration']({'id':_0x4f7ac0['params']['id']},_0x2ca873[_0x1cd3('0x1b0b')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x36c82d){_0x2ca873[_0x1cd3('0x19c2')][_0x1cd3('0x621')](_0x36c82d[_0x1cd3('0xd32')]());_0x39756e[_0x1cd3('0x473')]({'title':_0x1cd3('0x1b19'),'msg':_0x2ca873['servicenowConfiguration'][_0x1cd3('0x98')]?_0x2ca873[_0x1cd3('0x1b0b')][_0x1cd3('0x98')]+_0x1cd3('0xd33'):''});_0x15ee78(_0x36c82d);})['catch'](function(_0xdf9e37){if(_0xdf9e37[_0x1cd3('0x439')]&&_0xdf9e37['data'][_0x1cd3('0xd34')]&&_0xdf9e37['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x2ca873[_0x1cd3('0xd34')]=_0xdf9e37[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0xdf9e37[_0x1cd3('0x43b')](),'type':'api.intServicenowConfiguration.save'}];for(var _0x3e7c53=0x0;_0x3e7c53<_0xdf9e37[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x3e7c53+=0x1){_0x39756e['error']({'title':_0xdf9e37[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x3e7c53][_0x1cd3('0x424')],'msg':_0xdf9e37[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x3e7c53][_0x1cd3('0x43a')]});}}else{_0x39756e['error']({'title':_0xdf9e37[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0xdf9e37['status']+_0x1cd3('0x436')+_0xdf9e37[_0x1cd3('0xd35')]:_0x1cd3('0x1b1a'),'msg':_0xdf9e37[_0x1cd3('0x439')]?JSON['stringify'](_0xdf9e37[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0xdf9e37[_0x1cd3('0x43b')]()});}});}function _0x4a9533(){_0x2ca873[_0x1cd3('0xd34')]=[];_0x67fff['intServicenowConfiguration'][_0x1cd3('0x378')]({'id':_0x2ca873['servicenowConfiguration']['id']},_0x2ca873['servicenowConfiguration'])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x5e716b){var _0x536b14=_[_0x1cd3('0x442')](_0x2ca873[_0x1cd3('0x19c2')],{'id':_0x5e716b['id']});if(_0x536b14){_[_0x1cd3('0xf2')](_0x536b14,_[_0x1cd3('0x5e8')](_0x5e716b[_0x1cd3('0xd32')](),_[_0x1cd3('0x80')](_0x536b14)));}_0x39756e[_0x1cd3('0x473')]({'title':'ServicenowConfiguration\x20properly\x20saved!','msg':_0x2ca873[_0x1cd3('0x1b0b')][_0x1cd3('0x98')]?_0x2ca873[_0x1cd3('0x1b0b')][_0x1cd3('0x98')]+'\x20has\x20been\x20saved!':''});_0x15ee78(_0x5e716b);})[_0x1cd3('0xfd')](function(_0x18045f){if(_0x18045f[_0x1cd3('0x439')]&&_0x18045f[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x18045f[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x2ca873[_0x1cd3('0xd34')]=_0x18045f[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x18045f[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1b1b')}];for(var _0x2a409a=0x0;_0x2a409a<_0x18045f[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x2a409a++){_0x39756e['error']({'title':_0x18045f['data'][_0x1cd3('0xd34')][_0x2a409a]['type'],'msg':_0x18045f['data'][_0x1cd3('0xd34')][_0x2a409a]['message']});}}else{_0x39756e[_0x1cd3('0x434')]({'title':_0x18045f[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x18045f['status']+_0x1cd3('0x436')+_0x18045f[_0x1cd3('0xd35')]:_0x1cd3('0x1b1b'),'msg':_0x18045f[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x18045f[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x18045f[_0x1cd3('0x43b')]()});}});}function _0x3e86f8(_0x2a86af){_0x2ca873[_0x1cd3('0xd34')]=[];var _0x19e1a8=_0x5400d5[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xd3a'))[_0x1cd3('0xd3b')](_0x1cd3('0x1b1c'))[_0x1cd3('0xd3d')]('Delete\x20ServicenowConfiguration')['ok'](_0x1cd3('0xd3f'))[_0x1cd3('0x4d8')]('Cancel')[_0x1cd3('0xd63')](_0x2a86af);_0x5400d5[_0x1cd3('0x37e')](_0x19e1a8)['then'](function(){_0x67fff[_0x1cd3('0xc07')][_0x1cd3('0xa1c')]({'id':_0x2ca873['servicenowConfiguration']['id']})[_0x1cd3('0x81')]['then'](function(){_[_0x1cd3('0x383')](_0x2ca873['configurations'],{'id':_0x2ca873[_0x1cd3('0x1b0b')]['id']});_0x39756e[_0x1cd3('0x473')]({'title':_0x1cd3('0x1b1d'),'msg':(_0x2ca873[_0x1cd3('0x1b0b')][_0x1cd3('0x98')]||'servicenowConfiguration')+_0x1cd3('0xd41')});_0x15ee78(_0x2ca873['servicenowConfiguration']);})[_0x1cd3('0xfd')](function(_0x3e10da){if(_0x3e10da[_0x1cd3('0x439')]&&_0x3e10da['data']['errors']&&_0x3e10da[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length']){_0x2ca873['errors']=_0x3e10da['data'][_0x1cd3('0xd34')]||[{'message':_0x3e10da[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1b1e')}];for(var _0x389d72=0x0;_0x389d72<_0x3e10da[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x389d72++){_0x39756e[_0x1cd3('0x434')]({'title':_0x3e10da[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x389d72]['type'],'msg':_0x3e10da[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x389d72][_0x1cd3('0x43a')]});}}else{_0x39756e[_0x1cd3('0x434')]({'title':_0x3e10da['status']?'API:'+_0x3e10da[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x3e10da[_0x1cd3('0xd35')]:'api.intServicenowConfiguration.delete','msg':_0x3e10da[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x3e10da[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x3e10da['message']||_0x3e10da[_0x1cd3('0x43b')]()});}});},function(){});}function _0x14f4be(_0x87789c){return _0x87789c===null?undefined:new Date(_0x87789c);}function _0x15ee78(_0x5e5e29){_0x5400d5[_0x1cd3('0x39d')](_0x5e5e29);}}}());(function(){'use strict';_0xc5c76[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x53e'),_0x1cd3('0xd24'),_0x1cd3('0x3c5'),_0x1cd3('0x461'),_0x1cd3('0x19f9'),'items',_0x1cd3('0x19fa'),_0x1cd3('0x15d3'),_0x1cd3('0x424'),_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x35'))[_0x1cd3('0x39b')](_0x1cd3('0x1b13'),_0xc5c76);function _0xc5c76(_0x24d585,_0x134c8d,_0xbd9abf,_0x12eeb6,_0x317bc0,_0x394c4e,_0x1e42e0,_0x1d5f7,_0x52a17e,_0x1be166,_0x1707d5,_0x41af36,_0x389907){var _0x303185=this;_0x303185[_0x1cd3('0x3ca')]=_0x41af36[_0x1cd3('0x5d')]();_0x303185[_0x1cd3('0xd34')]=[];_0x303185['title']=_0x1cd3('0x19fb')+_[_0x1cd3('0x19fe')](_0x1be166);_0x303185[_0x1cd3('0x19fa')]=angular['copy'](_0x1d5f7);_0x303185[_0x1cd3('0x493')]=_0x1e42e0;_0x303185[_0x1cd3('0x424')]=_0x1be166;_0x303185[_0x1cd3('0xd27')]=_0x389907;_0x303185[_0x1cd3('0x19fc')]=![];if(!_0x303185['item']){_0x303185[_0x1cd3('0x19fa')]={'type':_0x1cd3('0x961')};_0x303185[_0x1cd3('0x19fa')][_[_0x1cd3('0x12b1')](_0x1be166)+'Id']=_0x394c4e['id'];_0x303185['title']=_0x1cd3('0x19fd')+_[_0x1cd3('0x19fe')](_0x1be166);_0x303185['newItem']=!![];}_0x303185[_0x1cd3('0x19ff')]=_0x4c80b9;_0x303185[_0x1cd3('0x547')]=_0x285499;_0x303185[_0x1cd3('0x548')]=_0x4f82db;_0x303185[_0x1cd3('0x1a00')]=_0x25f7b2;_0x303185[_0x1cd3('0x39c')]=_0x21a3f0;_0x1707d5[_0x1cd3('0xb84')]['get']({'nolimit':!![]})['$promise'][_0x1cd3('0x77')](function(_0x45026e){_0x303185['variables']=_0x45026e['rows']?_0x45026e[_0x1cd3('0xf6')]:[];return _0x1707d5['voiceAgentReport'][_0x1cd3('0xe1c')]()[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x17846a){_0x303185[_0x1cd3('0x1a01')]=_[_0x1cd3('0x41f')](_[_0x1cd3('0x80')](_0x17846a),[_0x1cd3('0x81'),_0x1cd3('0xdfc'),_0x1cd3('0xe0d'),_0x1cd3('0x12fe'),_0x1cd3('0x1a02')]);_0x303185['voiceAgentReportColumns'][_0x1cd3('0x7b')]('recordingURL');return _0x1707d5[_0x1cd3('0xa69')][_0x1cd3('0xe1c')]()[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x550e3f){_0x303185[_0x1cd3('0x1a04')]=_[_0x1cd3('0x41f')](_[_0x1cd3('0x80')](_0x550e3f),[_0x1cd3('0x81'),_0x1cd3('0xdfc'),_0x1cd3('0xe0d'),_0x1cd3('0x12fe'),_0x1cd3('0x1a02')]);_0x303185[_0x1cd3('0x1a04')][_0x1cd3('0x7b')](_0x1cd3('0x1a03'));})[_0x1cd3('0xfd')](function(_0x47b0be){_0x317bc0[_0x1cd3('0x434')]({'title':_0x47b0be[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x47b0be[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x47b0be[_0x1cd3('0xd35')]:_0x1cd3('0x1a05'),'msg':_0x47b0be['data']?JSON[_0x1cd3('0x438')](_0x47b0be[_0x1cd3('0x439')]):_0x47b0be['toString']()});});_0x1707d5[_0x1cd3('0xc01')][_0x1cd3('0xdfb')]({'id':_0x52a17e['id'],'ticketType':_0x394c4e[_0x1cd3('0x1a06')]?_0x394c4e[_0x1cd3('0x1a06')]:undefined})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x43b2c9){_0x303185['accountConnected']=!![];_0x303185[_0x1cd3('0x3c7')]=_0x43b2c9['rows']?_0x43b2c9[_0x1cd3('0xf6')]:[];if(_0x303185[_0x1cd3('0x19fa')][_0x1cd3('0x1a08')]){_0x303185[_0x1cd3('0x150e')]=_[_0x1cd3('0x442')](_0x303185[_0x1cd3('0x3c7')],{'id':_0x303185[_0x1cd3('0x19fa')][_0x1cd3('0x1a08')]});}})[_0x1cd3('0xfd')](function(_0x12e7ba){_0x303185[_0x1cd3('0x1a07')]=![];console['error'](_0x12e7ba);});function _0x4c80b9(){_0x303185[_0x1cd3('0xd34')]=[];if(_0x303185[_0x1cd3('0x150e')]){_0x303185[_0x1cd3('0x19fa')][_0x1cd3('0x1a08')]=_0x303185[_0x1cd3('0x150e')]['id'];_0x303185[_0x1cd3('0x19fa')][_0x1cd3('0x1a09')]=_0x303185['customField'][_0x1cd3('0x98')];_0x303185[_0x1cd3('0x19fa')][_0x1cd3('0x150e')]=_0x303185[_0x1cd3('0x150e')][_0x1cd3('0x8f6')];}_0x1707d5['intServicenowField'][_0x1cd3('0xd6d')](_0x303185['item'])['$promise']['then'](function(_0x4630de){_0x303185['items'][_0x1cd3('0x621')](_0x4630de);_0x317bc0['success']({'title':_['capitalize'](_0x1be166)+_0x1cd3('0x1a0a'),'msg':_[_0x1cd3('0x12b1')](_0x1be166)+_0x1cd3('0xd33')});_0x21a3f0();})[_0x1cd3('0xfd')](function(_0x1c3599){console['error'](_0x1c3599);_0x303185[_0x1cd3('0xd34')]=_0x1c3599[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x1c3599[_0x1cd3('0x43b')](),'type':'api.item.save'}];});}function _0x285499(){_0x303185[_0x1cd3('0xd34')]=[];if(_0x303185[_0x1cd3('0x150e')]){_0x303185[_0x1cd3('0x19fa')]['idField']=_0x303185[_0x1cd3('0x150e')]['id'];_0x303185[_0x1cd3('0x19fa')]['nameField']=_0x303185[_0x1cd3('0x150e')][_0x1cd3('0x98')];_0x303185[_0x1cd3('0x19fa')][_0x1cd3('0x150e')]=_0x303185[_0x1cd3('0x150e')][_0x1cd3('0x8f6')];}_0x1707d5[_0x1cd3('0xc0b')][_0x1cd3('0x378')]({'id':_0x303185[_0x1cd3('0x19fa')]['id']},_0x303185['item'])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x54d312){var _0x583c37=_[_0x1cd3('0x442')](_0x303185[_0x1cd3('0x493')],{'id':_0x54d312['id']});if(_0x583c37){_[_0x1cd3('0xf2')](_0x583c37,_0x54d312);}_0x317bc0['success']({'title':_[_0x1cd3('0x12b1')](_0x1be166)+'\x20properly\x20saved!','msg':_['capitalize'](_0x1be166)+_0x1cd3('0xd37')});_0x21a3f0();})[_0x1cd3('0xfd')](function(_0x59f257){console[_0x1cd3('0x434')](_0x59f257);_0x303185[_0x1cd3('0xd34')]=_0x59f257['data'][_0x1cd3('0xd34')]||[{'message':_0x59f257['toString'](),'type':_0x1cd3('0x1a0c')}];});}function _0x4f82db(_0x3f5130){_0x303185[_0x1cd3('0xd34')]=[];var _0xdfa98d=_0x12eeb6[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xd3a'))['content'](_0x1cd3('0x158a')+_0x1be166+_0x1cd3('0xd53'))['ariaLabel']('Delete\x20'+_[_0x1cd3('0x12b1')](_0x1be166))['ok']('Delete')[_0x1cd3('0x4d8')](_0x1cd3('0x674'))[_0x1cd3('0xd63')](_0x3f5130);_0x12eeb6[_0x1cd3('0x37e')](_0xdfa98d)[_0x1cd3('0x77')](function(){_0x1707d5[_0x1cd3('0xc0b')][_0x1cd3('0xa1c')]({'id':_0x303185[_0x1cd3('0x19fa')]['id']})[_0x1cd3('0x81')]['then'](function(){_[_0x1cd3('0x383')](_0x303185['items'],{'id':_0x303185['item']['id']});_0x317bc0['success']({'title':_[_0x1cd3('0x12b1')](_0x1be166)+_0x1cd3('0x1a0e'),'msg':_[_0x1cd3('0x12b1')](_0x1be166)+_0x1cd3('0xd41')});_0x21a3f0();})[_0x1cd3('0xfd')](function(_0x28c578){console['error'](_0x28c578);_0x303185[_0x1cd3('0xd34')]=_0x28c578[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x28c578[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1a76')}];});},function(){});}function _0x25f7b2(){if(_0x303185['item'][_0x1cd3('0x1a0f')]!==undefined){return _0x303185[_0x1cd3('0x19fa')][_0x1cd3('0x1a0f')];}else{return _0x1cd3('0x1a10');}};function _0x21a3f0(){_0x12eeb6[_0x1cd3('0x39d')]();}}}());(function(){'use strict';_0x290ab1[_0x1cd3('0xc')]=[_0x1cd3('0x53e'),_0x1cd3('0xd24'),'$mdDialog',_0x1cd3('0x372'),'$translate',_0x1cd3('0x463'),'setting',_0x1cd3('0x370'),'toasty','Auth',_0x1cd3('0x1afd'),_0x1cd3('0x390')];angular[_0x1cd3('0x0')]('app.integrations')[_0x1cd3('0x39b')](_0x1cd3('0x1b1f'),_0x290ab1);function _0x290ab1(_0xf7b068,_0x56ca97,_0x541a86,_0x178953,_0x4f096f,_0x8566b6,_0x17c38c,_0x5812c9,_0x12130e,_0x17ddd5,_0x4f5e0a,_0x26b397){var _0x2d9b28=this;_0x2d9b28[_0x1cd3('0x3ca')]=_0x17ddd5[_0x1cd3('0x5d')]();_0x2d9b28[_0x1cd3('0x463')]=_0x8566b6;_0x2d9b28[_0x1cd3('0xc49')]=_0x17c38c;_0x2d9b28[_0x1cd3('0xd29')]=_0x2d9b28['setting'][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x2d9b28[_0x1cd3('0xd22')]=_0x56ca97[_0x1cd3('0x3b0')]()+_0x1cd3('0x11cf')+_0x56ca97[_0x1cd3('0x3ac')]();_0x2d9b28[_0x1cd3('0x1afd')]=_0x4f5e0a||_0xf7b068[_0x1cd3('0x36a')][_0x1cd3('0x1afd')]||{};_0x2d9b28['userProfileSection']=_0x26b397&&_0x26b397[_0x1cd3('0x466')]==0x1?_0x26b397['rows'][0x0]:null;_0x2d9b28['crudPermissions']=_0x17ddd5['parseCrudPermissions'](_0x2d9b28[_0x1cd3('0x390')]?_0x2d9b28['userProfileSection']['crudPermissions']:null);_0x2d9b28[_0x1cd3('0xd28')]={};_0x2d9b28[_0x1cd3('0xe5f')]=_0xf7b068[_0x1cd3('0x36a')][_0x1cd3('0x1418')]||0x0;_0x2d9b28[_0x1cd3('0x11d0')]=_0x12130e[_0x1cd3('0x654')];_0x2d9b28[_0x1cd3('0x1b20')]=_0x221e2d;_0x2d9b28[_0x1cd3('0x1b03')]=_0x32eb91;function _0x221e2d(){_0xf7b068['go'](_0x1cd3('0x1b1'),{},{'reload':_0x1cd3('0x1b1')});}function _0x32eb91(){_0x5812c9['intServicenowAccount'][_0x1cd3('0x378')]({'id':_0x2d9b28['servicenowAccount']['id']},_0x2d9b28[_0x1cd3('0x1afd')])[_0x1cd3('0x81')]['then'](function(){_0x12130e[_0x1cd3('0x473')]({'title':_0x1cd3('0x1b21'),'msg':_0x2d9b28[_0x1cd3('0x1afd')]['name']?_0x2d9b28[_0x1cd3('0x1afd')]['name']+'\x20has\x20been\x20updated!':''});})[_0x1cd3('0xfd')](function(_0x1e78d4){_0x12130e['error']({'title':_0x1e78d4[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x1e78d4[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x1e78d4[_0x1cd3('0xd35')]:'SYSTEM:GETintServicenowAccount','msg':_0x1e78d4[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x1e78d4[_0x1cd3('0x439')]):_0x1e78d4[_0x1cd3('0x43b')]()});});}}}());(function(){'use strict';_0xc5a95[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x371'),'$state',_0x1cd3('0x969'),_0x1cd3('0x3c5'),_0x1cd3('0x372'),_0x1cd3('0x3e7'),_0x1cd3('0x3f7'),'servicenowAccounts','userProfile',_0x1cd3('0x390'),_0x1cd3('0x370'),_0x1cd3('0x2dd'),_0x1cd3('0x461'),'Auth','license',_0x1cd3('0xc49')];angular[_0x1cd3('0x0')](_0x1cd3('0x35'))[_0x1cd3('0x39b')]('ServicenowAccountsController',_0xc5a95);function _0xc5a95(_0x7116ff,_0x2f23fc,_0x3cf066,_0x202572,_0x5ff1d8,_0x438b5e,_0x38dd15,_0x246ef8,_0x378e5d,_0x25230a,_0x2ef5e6,_0x4c655d,_0xcdefa1,_0x2f7268,_0x117a5f,_0x4faa54,_0x1cb291){var _0x1b1944=this;_0x1b1944[_0x1cd3('0x463')]=_0x4faa54;_0x1b1944[_0x1cd3('0xc49')]=_0x1cb291;_0x1b1944[_0x1cd3('0x3ca')]=_0x117a5f['getCurrentUser']();_0x1b1944[_0x1cd3('0x1afc')]=_0x378e5d||{'count':0x0,'rows':[]};_0x1b1944[_0x1cd3('0x38a')]=_0x25230a;_0x1b1944['userProfileSection']=_0x2ef5e6&&_0x2ef5e6[_0x1cd3('0x466')]==0x1?_0x2ef5e6[_0x1cd3('0xf6')][0x0]:null;_0x1b1944[_0x1cd3('0xd27')]=_0x117a5f['parseCrudPermissions'](_0x1b1944[_0x1cd3('0x390')]?_0x1b1944[_0x1cd3('0x390')]['crudPermissions']:null);_0x1b1944['table']='servicenowAccounts';_0x1b1944[_0x1cd3('0xd46')]='';_0x1b1944[_0x1cd3('0xd47')]=null;_0x1b1944[_0x1cd3('0x1b22')]=[];_0x1b1944[_0x1cd3('0x3d4')]={'fields':_0x1cd3('0x1b23'),'limit':0xa,'page':0x1};_0x1b1944['editstate']=_0x5b86;_0x1b1944['testtestintegrationaccount']=_0x41346e;_0x1b1944[_0x1cd3('0xecc')]=_0x103e1c;_0x1b1944[_0x1cd3('0x473')]=_0x1c75e8;_0x1b1944[_0x1cd3('0x1b24')]=_0x166c3f;_0x1b1944[_0x1cd3('0x1b25')]=_0x4a04a9;_0x1b1944[_0x1cd3('0x1b26')]=_0x4a105d;_0x1b1944[_0x1cd3('0x1b27')]=_0x1e5e7c;_0x1b1944[_0x1cd3('0x1b28')]=_0x367840;_0x1b1944[_0x1cd3('0x1b29')]=_0x3afa4b;_0x1b1944['selectAllServicenowAccounts']=_0x297a64;function _0x5b86(_0x1b7ca4,_0x17c716){_0x3cf066['go']('app.integrations.servicenowAccounts.edit',{'id':_0x1b7ca4['id'],'servicenowAccount':_0x1b7ca4,'crudPermissions':_0x1b1944[_0x1cd3('0xd27')]});}function _0x41346e(_0x212a04,_0x1695c3){return _0x4c655d['intServicenowAccount'][_0x1cd3('0xdfb')]({'id':_0x212a04['id'],'test':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x2f7268[_0x1cd3('0x473')]({'title':_0x1cd3('0x1b2a'),'msg':_0x1cd3('0x1a28')});})[_0x1cd3('0xfd')](function(_0x563030){_0x2f7268[_0x1cd3('0x434')]({'title':_0x1cd3('0x1b2a'),'msg':_0x563030[_0x1cd3('0x439')]?_0x563030[_0x1cd3('0x439')][_0x1cd3('0x43a')]?_0x563030[_0x1cd3('0x439')][_0x1cd3('0x43a')]:JSON[_0x1cd3('0x438')](_0x563030['data']):_0x563030[_0x1cd3('0x43b')]()});});}function _0x103e1c(_0x158e52,_0x3dfe15){var _0x15d4fc=_0x5ff1d8['confirm']()[_0x1cd3('0x486')](_0x1cd3('0xd4f')+_[_0x1cd3('0xd50')]('servicenowAccount')+'?')[_0x1cd3('0xd60')](_0x1cd3('0xd51')+(_0x158e52[_0x1cd3('0x98')]||'servicenowAccount')+_0x1cd3('0xd52')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x1b2b'))[_0x1cd3('0xd63')](_0x3dfe15)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x5ff1d8[_0x1cd3('0x37e')](_0x15d4fc)[_0x1cd3('0x77')](function(){_0x4a105d(_0x158e52);},function(){console['log'](_0x1cd3('0xd55'));});}var _0x40dec6=!![];var _0x328b19=0x1;_0x7116ff['$watch']('vm.query.filter',function(_0x2048d2,_0x4f96fa){if(_0x40dec6){_0x38dd15(function(){_0x40dec6=![];});}else{if(!_0x4f96fa){_0x328b19=_0x1b1944[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0x2048d2!==_0x4f96fa){_0x1b1944['query'][_0x1cd3('0x8fd')]=0x1;}if(!_0x2048d2){_0x1b1944[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0x328b19;}_0x1b1944[_0x1cd3('0x1b24')]();}});function _0x1c75e8(_0x4d2023){_0x1b1944['servicenowAccounts']=_0x4d2023||{'count':0x0,'rows':[]};}function _0x166c3f(){_0x1b1944['query'][_0x1cd3('0xd57')]=(_0x1b1944[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0x1b1944[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];if(_0x117a5f[_0x1cd3('0x57')](_0x1cd3('0x5f'))){_0x1b1944[_0x1cd3('0x539')]=_0x4c655d[_0x1cd3('0xc01')][_0x1cd3('0x361')](_0x1b1944['query'],_0x1c75e8)[_0x1cd3('0x81')];}else{_0x1b1944[_0x1cd3('0x3d4')]['id']=_0x1b1944['userProfile']['id'];_0x1b1944[_0x1cd3('0x3d4')][_0x1cd3('0xd58')]=_0x1cd3('0x1b6');_0x1b1944['promise']=_0x4c655d['userProfile'][_0x1cd3('0xd59')](_0x1b1944[_0x1cd3('0x3d4')],_0x1c75e8)[_0x1cd3('0x81')];}}function _0x4a04a9(_0x3f05f1,_0x33d134){_0x5ff1d8[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1afe'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1b2c'),'parent':angular[_0x1cd3('0x37f')](_0x438b5e[_0x1cd3('0x380')]),'targetEvent':_0x3f05f1,'clickOutsideToClose':!![],'locals':{'servicenowAccount':_0x33d134,'servicenowAccounts':_0x1b1944[_0x1cd3('0x1afc')]['rows'],'license':_0x1b1944[_0x1cd3('0x463')],'setting':_0x1b1944['setting'],'crudPermissions':_0x1b1944['crudPermissions']}});}function _0x4a105d(_0x1427e7){_0x4c655d[_0x1cd3('0xc01')][_0x1cd3('0xa1c')]({'id':_0x1427e7['id']})['$promise'][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x1b1944[_0x1cd3('0x1afc')][_0x1cd3('0xf6')],{'id':_0x1427e7['id']});_0x1b1944['servicenowAccounts'][_0x1cd3('0x466')]-=0x1;if(!_0x1b1944[_0x1cd3('0x1afc')][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){_0x1b1944[_0x1cd3('0x1b24')]();}_0x2f7268[_0x1cd3('0x473')]({'title':_['startCase']('ServicenowAccount')+_0x1cd3('0xd5c'),'msg':_0x1427e7[_0x1cd3('0x98')]?_0x1427e7[_0x1cd3('0x98')]+_0x1cd3('0xd41'):''});})[_0x1cd3('0xfd')](function(_0x271ba2){if(_0x271ba2['data']&&_0x271ba2[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x271ba2[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x1b1944['errors']=_0x271ba2['data'][_0x1cd3('0xd34')]||[{'message':_0x271ba2[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1b2d')}];for(var _0xb944d4=0x0;_0xb944d4<_0x271ba2[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0xb944d4++){_0x2f7268[_0x1cd3('0x434')]({'title':_0x271ba2['data'][_0x1cd3('0xd34')][_0xb944d4][_0x1cd3('0x424')],'msg':_0x271ba2[_0x1cd3('0x439')]['errors'][_0xb944d4][_0x1cd3('0x43a')]});}}else{_0x2f7268[_0x1cd3('0x434')]({'title':_0x271ba2[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x271ba2['status']+_0x1cd3('0x436')+_0x271ba2[_0x1cd3('0xd35')]:_0x1cd3('0x1b2d'),'msg':_0x271ba2[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x271ba2[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x271ba2[_0x1cd3('0x43a')]||_0x271ba2[_0x1cd3('0x43b')]()});}});}function _0x1e5e7c(){var _0x344c1c=angular[_0x1cd3('0x429')](_0x1b1944[_0x1cd3('0x1b22')]);_0x1b1944[_0x1cd3('0x1b22')]=[];return _0x344c1c;}function _0x367840(_0x18b80d){var _0x34cf3e=_0x5ff1d8[_0x1cd3('0xd39')]()['title'](_0x1cd3('0x1b2e'))[_0x1cd3('0xd60')]('<b>'+_0x1b1944[_0x1cd3('0x1b22')][_0x1cd3('0x7a')]+'\x20selected</b>'+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x1b2f'))[_0x1cd3('0xd63')](_0x18b80d)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x5ff1d8['show'](_0x34cf3e)['then'](function(){_0x1b1944[_0x1cd3('0x1b22')][_0x1cd3('0x394')](function(_0x23bf16){_0x4a105d(_0x23bf16);});_0x1b1944['selectedServicenowAccounts']=[];});}function _0x3afa4b(){_0x1b1944[_0x1cd3('0x1b22')]=[];}function _0x297a64(){_0x1b1944[_0x1cd3('0x1b22')]=_0x1b1944[_0x1cd3('0x1afc')][_0x1cd3('0xf6')];}}}());(function(){'use strict';_0x201d4a['$inject']=['$scope',_0x1cd3('0x53e'),_0x1cd3('0xd24'),_0x1cd3('0x3c5'),'$q','$translate',_0x1cd3('0x461'),_0x1cd3('0x1b30'),'sugarcrmAccount','api',_0x1cd3('0x56'),_0x1cd3('0x463'),'setting',_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x35'))['controller'](_0x1cd3('0x1b31'),_0x201d4a);function _0x201d4a(_0x5db083,_0x2c4959,_0x44b5c0,_0x2fe398,_0x361009,_0x20d047,_0x298155,_0x464bd9,_0x3c4ee1,_0xcc42e6,_0xb7f3b2,_0x33411e,_0x301c4e,_0x2f6235){var _0x164823=this;_0x164823['currentUser']=_0xb7f3b2[_0x1cd3('0x5d')]();_0x164823[_0x1cd3('0xd34')]=[];_0x164823[_0x1cd3('0xc49')]=_0x301c4e;_0x164823['license']=_0x33411e;_0x164823[_0x1cd3('0xd27')]=_0x2f6235;_0x164823[_0x1cd3('0xd28')]={};_0x164823[_0x1cd3('0xd29')]=_0x164823[_0x1cd3('0xc49')]&&_0x164823[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x164823['title']='INTEGRATIONS.EDIT_SUGARCRMACCOUNT';_0x164823['sugarcrmAccount']=angular[_0x1cd3('0x429')](_0x3c4ee1);_0x164823[_0x1cd3('0x1b30')]=_0x464bd9;_0x164823[_0x1cd3('0x1b32')]=![];if(!_0x164823[_0x1cd3('0x1b33')]){_0x164823[_0x1cd3('0x1b33')]={'serverUrl':_0x44b5c0[_0x1cd3('0x3b0')]()+_0x1cd3('0x11cf')+_0x44b5c0['host']()+(_0x44b5c0[_0x1cd3('0x3b1')]()?':'+_0x44b5c0[_0x1cd3('0x3b1')]():'')};_0x164823['title']=_0x1cd3('0x1b34');_0x164823[_0x1cd3('0x1b32')]=!![];}_0x164823['addNewSugarcrmAccount']=_0x2ec9ba;_0x164823[_0x1cd3('0x1b35')]=_0x4ece54;_0x164823[_0x1cd3('0x1b36')]=_0x559d7b;_0x164823[_0x1cd3('0xd31')]=_0x18101c;_0x164823[_0x1cd3('0x39c')]=_0x2d4fbb;function _0x2ec9ba(){_0x164823[_0x1cd3('0xd34')]=[];_0xcc42e6[_0x1cd3('0xbb5')][_0x1cd3('0xd6d')](_0x164823[_0x1cd3('0x1b33')])['$promise'][_0x1cd3('0x77')](function(_0x1babe3){_0x164823['sugarcrmAccounts']['unshift'](_0x1babe3[_0x1cd3('0xd32')]());_0x298155['success']({'title':_0x1cd3('0x1b37'),'msg':_0x164823['sugarcrmAccount'][_0x1cd3('0x98')]?_0x164823[_0x1cd3('0x1b33')][_0x1cd3('0x98')]+_0x1cd3('0xd33'):''});_0x2d4fbb(_0x1babe3);})[_0x1cd3('0xfd')](function(_0x3f7ce5){if(_0x3f7ce5[_0x1cd3('0x439')]&&_0x3f7ce5['data'][_0x1cd3('0xd34')]&&_0x3f7ce5[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length']){_0x164823[_0x1cd3('0xd34')]=_0x3f7ce5['data'][_0x1cd3('0xd34')]||[{'message':_0x3f7ce5[_0x1cd3('0x43b')](),'type':'api.intSugarcrmAccount.save'}];for(var _0x3b744b=0x0;_0x3b744b<_0x3f7ce5['data'][_0x1cd3('0xd34')]['length'];_0x3b744b+=0x1){_0x298155['error']({'title':_0x3f7ce5['data'][_0x1cd3('0xd34')][_0x3b744b][_0x1cd3('0x424')],'msg':_0x3f7ce5['data'][_0x1cd3('0xd34')][_0x3b744b]['message']});}}else{_0x298155[_0x1cd3('0x434')]({'title':_0x3f7ce5['status']?'API:'+_0x3f7ce5[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x3f7ce5[_0x1cd3('0xd35')]:_0x1cd3('0x1b38'),'msg':_0x3f7ce5['data']?JSON[_0x1cd3('0x438')](_0x3f7ce5[_0x1cd3('0x439')]['message']):_0x3f7ce5['toString']()});}});}function _0x4ece54(){_0x164823['errors']=[];_0xcc42e6[_0x1cd3('0xbb5')][_0x1cd3('0x378')]({'id':_0x164823['sugarcrmAccount']['id']},_0x164823[_0x1cd3('0x1b33')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x3e653e){var _0x34e9c5=_[_0x1cd3('0x442')](_0x164823[_0x1cd3('0x1b30')],{'id':_0x3e653e['id']});if(_0x34e9c5){_[_0x1cd3('0xf2')](_0x34e9c5,_[_0x1cd3('0x5e8')](_0x3e653e['toJSON'](),_[_0x1cd3('0x80')](_0x34e9c5)));}_0x298155[_0x1cd3('0x473')]({'title':_0x1cd3('0x1b39'),'msg':_0x164823['sugarcrmAccount'][_0x1cd3('0x98')]?_0x164823[_0x1cd3('0x1b33')][_0x1cd3('0x98')]+_0x1cd3('0xd37'):''});_0x2d4fbb(_0x3e653e);})[_0x1cd3('0xfd')](function(_0x5b3ecc){if(_0x5b3ecc[_0x1cd3('0x439')]&&_0x5b3ecc[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x5b3ecc[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length']){_0x164823[_0x1cd3('0xd34')]=_0x5b3ecc['data'][_0x1cd3('0xd34')]||[{'message':_0x5b3ecc[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1b3a')}];for(var _0x27121d=0x0;_0x27121d<_0x5b3ecc['data'][_0x1cd3('0xd34')]['length'];_0x27121d++){_0x298155[_0x1cd3('0x434')]({'title':_0x5b3ecc['data']['errors'][_0x27121d][_0x1cd3('0x424')],'msg':_0x5b3ecc[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x27121d][_0x1cd3('0x43a')]});}}else{_0x298155[_0x1cd3('0x434')]({'title':_0x5b3ecc[_0x1cd3('0x3a6')]?'API:'+_0x5b3ecc[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x5b3ecc[_0x1cd3('0xd35')]:_0x1cd3('0x1b3a'),'msg':_0x5b3ecc[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x5b3ecc[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x5b3ecc[_0x1cd3('0x43b')]()});}});}function _0x559d7b(_0x4be413){_0x164823[_0x1cd3('0xd34')]=[];var _0x53c91c=_0x2fe398['confirm']()[_0x1cd3('0x486')]('Are\x20you\x20sure?')[_0x1cd3('0xd3b')]('The\x20sugarcrmAccount\x20will\x20be\x20deleted.')[_0x1cd3('0xd3d')](_0x1cd3('0x1b3b'))['ok'](_0x1cd3('0xd3f'))[_0x1cd3('0x4d8')](_0x1cd3('0x674'))[_0x1cd3('0xd63')](_0x4be413);_0x2fe398[_0x1cd3('0x37e')](_0x53c91c)[_0x1cd3('0x77')](function(){_0xcc42e6[_0x1cd3('0xbb5')]['delete']({'id':_0x164823[_0x1cd3('0x1b33')]['id']})['$promise'][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x164823[_0x1cd3('0x1b30')],{'id':_0x164823['sugarcrmAccount']['id']});_0x298155[_0x1cd3('0x473')]({'title':'SugarcrmAccount\x20properly\x20deleted!','msg':(_0x164823[_0x1cd3('0x1b33')]['name']||_0x1cd3('0x1b33'))+'\x20has\x20been\x20deleted!'});_0x2d4fbb(_0x164823['sugarcrmAccount']);})[_0x1cd3('0xfd')](function(_0x3f9acb){if(_0x3f9acb[_0x1cd3('0x439')]&&_0x3f9acb[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x3f9acb[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x164823[_0x1cd3('0xd34')]=_0x3f9acb[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x3f9acb[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1b3c')}];for(var _0x4ee9b3=0x0;_0x4ee9b3<_0x3f9acb[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0x4ee9b3++){_0x298155[_0x1cd3('0x434')]({'title':_0x3f9acb['data']['errors'][_0x4ee9b3][_0x1cd3('0x424')],'msg':_0x3f9acb[_0x1cd3('0x439')]['errors'][_0x4ee9b3][_0x1cd3('0x43a')]});}}else{_0x298155[_0x1cd3('0x434')]({'title':_0x3f9acb[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x3f9acb['status']+_0x1cd3('0x436')+_0x3f9acb[_0x1cd3('0xd35')]:_0x1cd3('0x1b3c'),'msg':_0x3f9acb[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x3f9acb[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x3f9acb[_0x1cd3('0x43a')]||_0x3f9acb[_0x1cd3('0x43b')]()});}});},function(){});}function _0x18101c(_0x4be782){return _0x4be782===null?undefined:new Date(_0x4be782);}function _0x2d4fbb(_0x59a220){_0x2fe398[_0x1cd3('0x39d')](_0x59a220);}}}());(function(){'use strict';_0x3e017a[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),'$document','api','toasty','Auth'];angular['module']('app.integrations')[_0x1cd3('0x39b')]('SugarcrmAccountConfigurationsController',_0x3e017a);function _0x3e017a(_0x4f9727,_0x4fd8ea,_0x2b17c1,_0x2e6f56,_0xeca089){var _0x1f2786=this;_0x1f2786[_0x1cd3('0x3ca')]=_0xeca089[_0x1cd3('0x5d')]();_0x1f2786['sugarcrmAccount']={};_0x1f2786[_0x1cd3('0x1b3d')]={};_0x1f2786[_0x1cd3('0x19c2')]=[];_0x1f2786[_0x1cd3('0x1b3e')]=-0x1;_0x1f2786[_0x1cd3('0xd27')];_0x1f2786[_0x1cd3('0xe08')]=_0xd70db3;_0x1f2786[_0x1cd3('0x1b3f')]=_0x71f09b;_0x1f2786[_0x1cd3('0x1b40')]=_0x26bc23;_0x1f2786['deleteSugarcrmConfiguration']=_0x3d1d36;function _0xd70db3(_0x10a49c,_0x513538){_0x1f2786[_0x1cd3('0x1b33')]=_0x10a49c;_0x1f2786['crudPermissions']=typeof _0x513538!==_0x1cd3('0x491')?_0x513538:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x2b17c1[_0x1cd3('0xbb5')][_0x1cd3('0x19c8')]({'id':_0x1f2786['sugarcrmAccount']['id'],'sort':'-updatedAt'})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0xf004b2){_0x1f2786[_0x1cd3('0x19c2')]=_0xf004b2[_0x1cd3('0xf6')]?_0xf004b2[_0x1cd3('0xf6')]:[];if(_0x1f2786[_0x1cd3('0x19c2')][_0x1cd3('0x7a')]){_0x1f2786[_0x1cd3('0x1b3f')](0x0);}return _0x2b17c1[_0x1cd3('0xb84')]['get']({'nolimit':!![],'sort':_0x1cd3('0x98')})['$promise'];})[_0x1cd3('0x77')](function(_0x419e6f){_0x1f2786[_0x1cd3('0xef7')]=_0x419e6f[_0x1cd3('0xf6')]?_0x419e6f[_0x1cd3('0xf6')]:[];_0x1f2786[_0x1cd3('0x19ca')]=_[_0x1cd3('0xe2d')](_0x1f2786[_0x1cd3('0xef7')],'id');})[_0x1cd3('0xfd')](function(_0x57260c){_0x2e6f56[_0x1cd3('0x434')]({'title':_0x57260c[_0x1cd3('0x3a6')]?'API:'+_0x57260c[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x57260c[_0x1cd3('0xd35')]:_0x1cd3('0x19cb'),'msg':_0x57260c['data']?JSON[_0x1cd3('0x438')](_0x57260c[_0x1cd3('0x439')]):_0x57260c[_0x1cd3('0x43b')]()});});}function _0x71f09b(_0x15d40d){_0x1f2786[_0x1cd3('0x1b3d')]=_0x1f2786[_0x1cd3('0x19c2')][_0x15d40d];_0x1f2786[_0x1cd3('0x1b3e')]=_0x15d40d;_0x2b17c1[_0x1cd3('0xbbb')][_0x1cd3('0x1a31')]({'id':_0x1f2786[_0x1cd3('0x1b3d')]['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x8a0e21){_0x1f2786[_0x1cd3('0x19d9')]=_0x8a0e21[_0x1cd3('0xf6')]?_0x8a0e21['rows']:[];return _0x2b17c1['intSugarcrmConfiguration'][_0x1cd3('0x19cc')]({'id':_0x1f2786[_0x1cd3('0x1b3d')]['id']})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x4c7bd0){_0x1f2786[_0x1cd3('0x19cd')]=_0x4c7bd0[_0x1cd3('0xf6')]?_0x4c7bd0[_0x1cd3('0xf6')]:[];return _0x2b17c1[_0x1cd3('0xbbb')]['getFields']({'id':_0x1f2786[_0x1cd3('0x1b3d')]['id']})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x10b660){_0x1f2786['fields']=_0x10b660[_0x1cd3('0xf6')]?_0x10b660['rows']:[];})['catch'](function(_0x56f98a){_0x2e6f56[_0x1cd3('0x434')]({'title':_0x56f98a[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x56f98a['status']+_0x1cd3('0x436')+_0x56f98a[_0x1cd3('0xd35')]:_0x1cd3('0x19ce'),'msg':_0x56f98a['data']?JSON['stringify'](_0x56f98a[_0x1cd3('0x439')]):_0x56f98a[_0x1cd3('0x43b')]()});});}function _0x26bc23(_0x3a6881,_0x56b498){_0x4f9727['show']({'controller':_0x1cd3('0x1b41'),'controllerAs':'vm','templateUrl':'app/main/apps/integrations/views/sugarcrmAccounts/edit/configurations/dialog.html','parent':angular[_0x1cd3('0x37f')](_0x4fd8ea[_0x1cd3('0x380')]),'targetEvent':_0x3a6881,'clickOutsideToClose':!![],'locals':{'sugarcrmConfiguration':_0x56b498,'configurations':_0x1f2786['configurations'],'license':null,'setting':null,'crudPermissions':_0x1f2786[_0x1cd3('0xd27')]}})[_0x1cd3('0x5dd')](function(){_0x1f2786[_0x1cd3('0x1b3f')](0x0);});}function _0x3d1d36(_0x5c80c2,_0x30ac44){var _0x153a12=_0x4f9727[_0x1cd3('0xd39')]()['title'](_0x1cd3('0x1b42'))[_0x1cd3('0xd60')]('<b>'+(_0x30ac44['name']||_0x1cd3('0x1b3d'))+_0x1cd3('0xd52')+_0x1cd3('0xd53'))['ariaLabel']('delete\x20sugarcrmConfiguration')[_0x1cd3('0xd63')](_0x5c80c2)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x4f9727[_0x1cd3('0x37e')](_0x153a12)[_0x1cd3('0x77')](function(){_0x2b17c1[_0x1cd3('0xbbb')]['delete']({'id':_0x30ac44['id']})[_0x1cd3('0x81')]['then'](function(){_[_0x1cd3('0x383')](_0x1f2786[_0x1cd3('0x19c2')],{'id':_0x30ac44['id']});_0x2e6f56['success']({'title':'SugarcrmConfiguration\x20deleted!','msg':_0x30ac44[_0x1cd3('0x98')]?_0x30ac44['name']+'\x20has\x20been\x20deleted!':''});})[_0x1cd3('0xfd')](function(_0x54b960){_0x2e6f56[_0x1cd3('0x434')]({'title':_0x54b960[_0x1cd3('0x3a6')]?'API:'+_0x54b960[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x54b960[_0x1cd3('0xd35')]:_0x1cd3('0x1a36'),'msg':_0x54b960[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x54b960[_0x1cd3('0x439')]):_0x54b960[_0x1cd3('0x43b')]()});})['finally'](function(){_0x1f2786['getSugarcrmConfiguration'](0x0);});},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}_0x1f2786['selectedSubjects']=[];_0x1f2786['createOrEditSubject']=_0x53d463;_0x1f2786[_0x1cd3('0x1a38')]=_0x25153f;_0x1f2786[_0x1cd3('0x19d6')]=_0x3b865a;function _0x53d463(_0x1dde50,_0x73df4c){_0x4f9727[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1b43'),'controllerAs':'vm','templateUrl':'app/main/apps/integrations/views/sugarcrmAccounts/edit/item/dialog.html','parent':angular['element'](_0x4fd8ea[_0x1cd3('0x380')]),'targetEvent':_0x1dde50,'clickOutsideToClose':!![],'locals':{'type':_0x1cd3('0x1327'),'item':_0x73df4c,'items':_0x1f2786[_0x1cd3('0x19d9')],'configuration':_0x1f2786[_0x1cd3('0x1b3d')],'account':_0x1f2786[_0x1cd3('0x1b33')],'license':null,'setting':null,'crudPermissions':_0x1f2786[_0x1cd3('0xd27')]}});}function _0x475ce3(_0xc714f8){_0x2b17c1[_0x1cd3('0xbc1')][_0x1cd3('0xa1c')]({'id':_0xc714f8['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x1f2786[_0x1cd3('0x19d9')],{'id':_0xc714f8['id']});_0x2e6f56[_0x1cd3('0x473')]({'title':'Subject\x20deleted!','msg':_0x1cd3('0x19da')});})[_0x1cd3('0xfd')](function(_0x3e7f6b){_0x2e6f56['error']({'title':_0x3e7f6b[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x3e7f6b['status']+_0x1cd3('0x436')+_0x3e7f6b[_0x1cd3('0xd35')]:_0x1cd3('0x19db'),'msg':_0x3e7f6b['data']?JSON['stringify'](_0x3e7f6b[_0x1cd3('0x439')]):_0x3e7f6b[_0x1cd3('0x43b')]()});});}function _0x25153f(_0x22ab9e,_0x3920fe){var _0x210207=_0x4f9727['confirm']()['title'](_0x1cd3('0x1a3c'))[_0x1cd3('0xd60')](_0x1cd3('0x19dc')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x1a3d'))[_0x1cd3('0xd63')](_0x22ab9e)['ok']('OK')[_0x1cd3('0x4d8')]('CANCEL');_0x4f9727['show'](_0x210207)['then'](function(){_0x475ce3(_0x3920fe);},function(){console['log'](_0x1cd3('0xd55'));});}function _0x3b865a(_0x953fb2){var _0xb4ff96=_0x4f9727[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x19dd'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x1f2786[_0x1cd3('0x19d5')][_0x1cd3('0x7a')]+_0x1cd3('0xd61')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x1a3e'))[_0x1cd3('0xd63')](_0x953fb2)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x4f9727[_0x1cd3('0x37e')](_0xb4ff96)[_0x1cd3('0x77')](function(){_0x1f2786[_0x1cd3('0x19d5')][_0x1cd3('0x394')](function(_0x8b14c9){_0x475ce3(_0x8b14c9);});_0x1f2786[_0x1cd3('0x19d5')]=[];});}_0x1f2786[_0x1cd3('0x19de')]=[];_0x1f2786[_0x1cd3('0x19df')]=_0x50f4c4;_0x1f2786[_0x1cd3('0x19e0')]=_0x4e794f;_0x1f2786[_0x1cd3('0x19e1')]=_0x777af4;function _0x50f4c4(_0xd8c7b8,_0x4d3c18){_0x4f9727[_0x1cd3('0x37e')]({'controller':'CreateOrEditSugarcrmAccountItemDialogController','controllerAs':'vm','templateUrl':_0x1cd3('0x1b44'),'parent':angular[_0x1cd3('0x37f')](_0x4fd8ea['body']),'targetEvent':_0xd8c7b8,'clickOutsideToClose':!![],'locals':{'type':_0x1cd3('0xde1'),'item':_0x4d3c18,'items':_0x1f2786['descriptions'],'configuration':_0x1f2786['sugarcrmConfiguration'],'account':_0x1f2786[_0x1cd3('0x1b33')],'license':null,'setting':null,'crudPermissions':_0x1f2786[_0x1cd3('0xd27')]}});}function _0x50b71a(_0x531da4){_0x2b17c1['intSugarcrmField']['delete']({'id':_0x531da4['id']})['$promise']['then'](function(){_[_0x1cd3('0x383')](_0x1f2786[_0x1cd3('0x19cd')],{'id':_0x531da4['id']});_0x2e6f56['success']({'title':'Description\x20deleted!','msg':_0x1cd3('0x19e3')});})[_0x1cd3('0xfd')](function(_0x4fa85e){_0x2e6f56[_0x1cd3('0x434')]({'title':_0x4fa85e[_0x1cd3('0x3a6')]?'API:'+_0x4fa85e[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x4fa85e[_0x1cd3('0xd35')]:'SYSTEM:DELETECONFIGURATIONFIELD','msg':_0x4fa85e[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x4fa85e['data']):_0x4fa85e['toString']()});});}function _0x4e794f(_0x153d76,_0x58d72a){var _0x7c645a=_0x4f9727[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x19e4'))[_0x1cd3('0xd60')](_0x1cd3('0x1a6b')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x19e5'))['targetEvent'](_0x153d76)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x4f9727['show'](_0x7c645a)[_0x1cd3('0x77')](function(){_0x50b71a(_0x58d72a);},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}function _0x777af4(_0x49831c){var _0x548ef8=_0x4f9727[_0x1cd3('0xd39')]()[_0x1cd3('0x486')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20descriptions?')[_0x1cd3('0xd60')]('<b>'+_0x1f2786[_0x1cd3('0x19de')]['length']+'\x20selected</b>'+'\x20will\x20be\x20deleted.')[_0x1cd3('0xd3d')](_0x1cd3('0x19e7'))[_0x1cd3('0xd63')](_0x49831c)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x4f9727[_0x1cd3('0x37e')](_0x548ef8)[_0x1cd3('0x77')](function(){_0x1f2786[_0x1cd3('0x19de')][_0x1cd3('0x394')](function(_0x33d1fd){_0x50b71a(_0x33d1fd);});_0x1f2786['selectedDescriptions']=[];});}_0x1f2786[_0x1cd3('0x19e8')]=[];_0x1f2786['createOrEditField']=_0x4454c3;_0x1f2786['deleteFieldConfirm']=_0x1b84b1;_0x1f2786[_0x1cd3('0x19ea')]=_0x16916f;function _0x4454c3(_0x1d67c8,_0x5864ce){_0x4f9727[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1b43'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1b44'),'parent':angular[_0x1cd3('0x37f')](_0x4fd8ea[_0x1cd3('0x380')]),'targetEvent':_0x1d67c8,'clickOutsideToClose':!![],'locals':{'type':_0x1cd3('0x450'),'item':_0x5864ce,'items':_0x1f2786[_0x1cd3('0x3c7')],'configuration':_0x1f2786[_0x1cd3('0x1b3d')],'account':_0x1f2786[_0x1cd3('0x1b33')],'license':null,'setting':null,'crudPermissions':_0x1f2786[_0x1cd3('0xd27')]}});}function _0x2642cd(_0x13155e){_0x2b17c1[_0x1cd3('0xbc1')][_0x1cd3('0xa1c')]({'id':_0x13155e['id']})[_0x1cd3('0x81')]['then'](function(){_[_0x1cd3('0x383')](_0x1f2786[_0x1cd3('0x3c7')],{'id':_0x13155e['id']});_0x2e6f56['success']({'title':'Field\x20deleted!','msg':'Field\x20has\x20been\x20deleted!'});})[_0x1cd3('0xfd')](function(_0x5457e2){_0x2e6f56[_0x1cd3('0x434')]({'title':_0x5457e2[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x5457e2['status']+_0x1cd3('0x436')+_0x5457e2[_0x1cd3('0xd35')]:'SYSTEM:DELETECONFIGURATIONFIELD','msg':_0x5457e2[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x5457e2['data']):_0x5457e2[_0x1cd3('0x43b')]()});});}function _0x1b84b1(_0x58859c,_0x2e8f97){var _0x5d2ae7=_0x4f9727['confirm']()[_0x1cd3('0x486')](_0x1cd3('0xe3c'))['htmlContent']('<b>Field</b>'+_0x1cd3('0xd53'))['ariaLabel']('delete\x20field')[_0x1cd3('0xd63')](_0x58859c)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x4f9727[_0x1cd3('0x37e')](_0x5d2ae7)[_0x1cd3('0x77')](function(){_0x2642cd(_0x2e8f97);},function(){console['log']('CANCEL');});}function _0x16916f(_0xa580be){var _0x10405=_0x4f9727[_0x1cd3('0xd39')]()['title'](_0x1cd3('0xe42'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x1f2786[_0x1cd3('0x19e8')][_0x1cd3('0x7a')]+_0x1cd3('0xd61')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x19ed'))[_0x1cd3('0xd63')](_0xa580be)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x4f9727['show'](_0x10405)[_0x1cd3('0x77')](function(){_0x1f2786[_0x1cd3('0x19e8')][_0x1cd3('0x394')](function(_0x58af6e){_0x2642cd(_0x58af6e);});_0x1f2786[_0x1cd3('0x19e8')]=[];});}}}());(function(){'use strict';_0x4adf2c[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x53e'),'$location','$mdDialog','$q',_0x1cd3('0x3f7'),_0x1cd3('0x461'),_0x1cd3('0x19c2'),_0x1cd3('0x1b3d'),_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0x463'),_0x1cd3('0xc49'),_0x1cd3('0xd27')];angular['module'](_0x1cd3('0x35'))[_0x1cd3('0x39b')](_0x1cd3('0x1b41'),_0x4adf2c);function _0x4adf2c(_0x4ef28c,_0x111c4a,_0x5e8034,_0x377f23,_0x17776b,_0x1f333f,_0x406b62,_0x320dce,_0x1886fd,_0x160d39,_0x4c398c,_0x36928f,_0x5bbc21,_0x10f157){var _0x386fd6=this;_0x386fd6[_0x1cd3('0x3ca')]=_0x4c398c[_0x1cd3('0x5d')]();_0x386fd6[_0x1cd3('0xd34')]=[];_0x386fd6[_0x1cd3('0xc49')]=_0x5bbc21;_0x386fd6['license']=_0x36928f;_0x386fd6['crudPermissions']=_0x10f157;_0x386fd6[_0x1cd3('0xd28')]={};_0x386fd6['passwordPattern']=_0x386fd6[_0x1cd3('0xc49')]&&_0x386fd6[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x386fd6['title']=_0x1cd3('0x1b45');_0x386fd6['sugarcrmConfiguration']=angular[_0x1cd3('0x429')](_0x1886fd);_0x386fd6[_0x1cd3('0x19c2')]=_0x320dce;_0x386fd6[_0x1cd3('0x1b46')]=![];if(!_0x386fd6[_0x1cd3('0x1b3d')]){_0x386fd6[_0x1cd3('0x1b3d')]={'channel':_0x1cd3('0x121'),'type':_0x1cd3('0xa4')};_0x386fd6[_0x1cd3('0x486')]=_0x1cd3('0x1b47');_0x386fd6[_0x1cd3('0x1b46')]=!![];}_0x386fd6[_0x1cd3('0x1b48')]=_0x574b8f;_0x386fd6[_0x1cd3('0x1b49')]=_0x47baaa;_0x386fd6[_0x1cd3('0x1b4a')]=_0x10b129;_0x386fd6['getDateFromString']=_0x3fdce6;_0x386fd6[_0x1cd3('0x39c')]=_0x53233c;function _0x574b8f(){_0x386fd6[_0x1cd3('0xd34')]=[];_0x160d39[_0x1cd3('0xbb5')][_0x1cd3('0x1a48')]({'id':_0x111c4a[_0x1cd3('0x36a')]['id']},_0x386fd6[_0x1cd3('0x1b3d')])['$promise'][_0x1cd3('0x77')](function(_0x58f99e){_0x386fd6[_0x1cd3('0x19c2')][_0x1cd3('0x621')](_0x58f99e[_0x1cd3('0xd32')]());_0x406b62['success']({'title':_0x1cd3('0x1b4b'),'msg':_0x386fd6[_0x1cd3('0x1b3d')][_0x1cd3('0x98')]?_0x386fd6[_0x1cd3('0x1b3d')][_0x1cd3('0x98')]+_0x1cd3('0xd33'):''});_0x53233c(_0x58f99e);})[_0x1cd3('0xfd')](function(_0x4ab28b){if(_0x4ab28b[_0x1cd3('0x439')]&&_0x4ab28b[_0x1cd3('0x439')]['errors']&&_0x4ab28b[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x386fd6['errors']=_0x4ab28b['data'][_0x1cd3('0xd34')]||[{'message':_0x4ab28b['toString'](),'type':'api.intSugarcrmConfiguration.save'}];for(var _0x4ec9d1=0x0;_0x4ec9d1<_0x4ab28b[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x4ec9d1+=0x1){_0x406b62[_0x1cd3('0x434')]({'title':_0x4ab28b[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x4ec9d1]['type'],'msg':_0x4ab28b[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x4ec9d1][_0x1cd3('0x43a')]});}}else{_0x406b62['error']({'title':_0x4ab28b[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x4ab28b[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x4ab28b[_0x1cd3('0xd35')]:_0x1cd3('0x1b4c'),'msg':_0x4ab28b[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x4ab28b['data'][_0x1cd3('0x43a')]):_0x4ab28b['toString']()});}});}function _0x47baaa(){_0x386fd6[_0x1cd3('0xd34')]=[];_0x160d39[_0x1cd3('0xbbb')][_0x1cd3('0x378')]({'id':_0x386fd6[_0x1cd3('0x1b3d')]['id']},_0x386fd6[_0x1cd3('0x1b3d')])['$promise'][_0x1cd3('0x77')](function(_0x5af93d){var _0x31e658=_[_0x1cd3('0x442')](_0x386fd6['configurations'],{'id':_0x5af93d['id']});if(_0x31e658){_[_0x1cd3('0xf2')](_0x31e658,_[_0x1cd3('0x5e8')](_0x5af93d[_0x1cd3('0xd32')](),_[_0x1cd3('0x80')](_0x31e658)));}_0x406b62[_0x1cd3('0x473')]({'title':'SugarcrmConfiguration\x20properly\x20saved!','msg':_0x386fd6[_0x1cd3('0x1b3d')]['name']?_0x386fd6[_0x1cd3('0x1b3d')][_0x1cd3('0x98')]+_0x1cd3('0xd37'):''});_0x53233c(_0x5af93d);})[_0x1cd3('0xfd')](function(_0x3a3f98){if(_0x3a3f98[_0x1cd3('0x439')]&&_0x3a3f98[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x3a3f98[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length']){_0x386fd6[_0x1cd3('0xd34')]=_0x3a3f98[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x3a3f98[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1b4d')}];for(var _0x1d4802=0x0;_0x1d4802<_0x3a3f98[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x1d4802++){_0x406b62['error']({'title':_0x3a3f98['data']['errors'][_0x1d4802][_0x1cd3('0x424')],'msg':_0x3a3f98[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1d4802][_0x1cd3('0x43a')]});}}else{_0x406b62['error']({'title':_0x3a3f98['status']?_0x1cd3('0x435')+_0x3a3f98[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x3a3f98[_0x1cd3('0xd35')]:_0x1cd3('0x1b4d'),'msg':_0x3a3f98[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x3a3f98[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x3a3f98[_0x1cd3('0x43b')]()});}});}function _0x10b129(_0x2ecefc){_0x386fd6[_0x1cd3('0xd34')]=[];var _0x392a76=_0x377f23[_0x1cd3('0xd39')]()['title'](_0x1cd3('0xd3a'))[_0x1cd3('0xd3b')]('The\x20sugarcrmConfiguration\x20will\x20be\x20deleted.')[_0x1cd3('0xd3d')](_0x1cd3('0x1b4e'))['ok'](_0x1cd3('0xd3f'))[_0x1cd3('0x4d8')](_0x1cd3('0x674'))[_0x1cd3('0xd63')](_0x2ecefc);_0x377f23[_0x1cd3('0x37e')](_0x392a76)[_0x1cd3('0x77')](function(){_0x160d39[_0x1cd3('0xbbb')][_0x1cd3('0xa1c')]({'id':_0x386fd6[_0x1cd3('0x1b3d')]['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x386fd6[_0x1cd3('0x19c2')],{'id':_0x386fd6['sugarcrmConfiguration']['id']});_0x406b62[_0x1cd3('0x473')]({'title':_0x1cd3('0x1b4f'),'msg':(_0x386fd6[_0x1cd3('0x1b3d')][_0x1cd3('0x98')]||_0x1cd3('0x1b3d'))+'\x20has\x20been\x20deleted!'});_0x53233c(_0x386fd6[_0x1cd3('0x1b3d')]);})[_0x1cd3('0xfd')](function(_0xcfed1e){if(_0xcfed1e['data']&&_0xcfed1e[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0xcfed1e[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x386fd6[_0x1cd3('0xd34')]=_0xcfed1e[_0x1cd3('0x439')]['errors']||[{'message':_0xcfed1e[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1b50')}];for(var _0x534e9=0x0;_0x534e9<_0xcfed1e[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length'];_0x534e9++){_0x406b62['error']({'title':_0xcfed1e['data']['errors'][_0x534e9][_0x1cd3('0x424')],'msg':_0xcfed1e[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x534e9][_0x1cd3('0x43a')]});}}else{_0x406b62[_0x1cd3('0x434')]({'title':_0xcfed1e[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0xcfed1e[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0xcfed1e[_0x1cd3('0xd35')]:'api.intSugarcrmConfiguration.delete','msg':_0xcfed1e[_0x1cd3('0x439')]?JSON['stringify'](_0xcfed1e[_0x1cd3('0x439')]['message']):_0xcfed1e[_0x1cd3('0x43a')]||_0xcfed1e[_0x1cd3('0x43b')]()});}});},function(){});}function _0x3fdce6(_0x2fcc42){return _0x2fcc42===null?undefined:new Date(_0x2fcc42);}function _0x53233c(_0x230065){_0x377f23[_0x1cd3('0x39d')](_0x230065);}}}());(function(){'use strict';_0x4075cd[_0x1cd3('0xc')]=['$scope','$state',_0x1cd3('0xd24'),_0x1cd3('0x3c5'),_0x1cd3('0x461'),_0x1cd3('0x19f9'),'items','item','account',_0x1cd3('0x424'),_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x35'))['controller']('CreateOrEditSugarcrmAccountItemDialogController',_0x4075cd);function _0x4075cd(_0x23038f,_0x392b44,_0x5578e1,_0x2910bc,_0x501363,_0x578642,_0x280b39,_0x299660,_0x3845b5,_0x286304,_0x584a46,_0x524e1c,_0xfa3a63){var _0x44f394=this;_0x44f394['currentUser']=_0x524e1c[_0x1cd3('0x5d')]();_0x44f394['errors']=[];_0x44f394[_0x1cd3('0x486')]='INTEGRATIONS.EDIT_'+_['toUpper'](_0x286304);_0x44f394[_0x1cd3('0x19fa')]=angular[_0x1cd3('0x429')](_0x299660);_0x44f394[_0x1cd3('0x493')]=_0x280b39;_0x44f394['type']=_0x286304;_0x44f394[_0x1cd3('0xd27')]=_0xfa3a63;_0x44f394[_0x1cd3('0x19fc')]=![];if(!_0x44f394['item']){_0x44f394['item']={'type':_0x1cd3('0x961')};_0x44f394['item'][_['capitalize'](_0x286304)+'Id']=_0x578642['id'];_0x44f394['title']=_0x1cd3('0x19fd')+_['toUpper'](_0x286304);_0x44f394[_0x1cd3('0x19fc')]=!![];}_0x44f394[_0x1cd3('0x19ff')]=_0x26e3b2;_0x44f394[_0x1cd3('0x547')]=_0x469d50;_0x44f394[_0x1cd3('0x548')]=_0x5db682;_0x44f394[_0x1cd3('0x1a00')]=_0x546065;_0x44f394['closeDialog']=_0x365fed;_0x584a46[_0x1cd3('0xb84')][_0x1cd3('0x361')]({'nolimit':!![]})[_0x1cd3('0x81')]['then'](function(_0x5f463){_0x44f394[_0x1cd3('0xef7')]=_0x5f463[_0x1cd3('0xf6')]?_0x5f463[_0x1cd3('0xf6')]:[];return _0x584a46[_0x1cd3('0xa6d')][_0x1cd3('0xe1c')]()[_0x1cd3('0x81')];})['then'](function(_0x208374){_0x44f394['voiceAgentReportColumns']=_[_0x1cd3('0x41f')](_[_0x1cd3('0x80')](_0x208374),[_0x1cd3('0x81'),_0x1cd3('0xdfc'),_0x1cd3('0xe0d'),_0x1cd3('0x12fe'),_0x1cd3('0x1a02')]);_0x44f394[_0x1cd3('0x1a01')][_0x1cd3('0x7b')](_0x1cd3('0x1a03'));return _0x584a46[_0x1cd3('0xa69')]['describe']()['$promise'];})['then'](function(_0x4ab16e){_0x44f394[_0x1cd3('0x1a04')]=_['difference'](_[_0x1cd3('0x80')](_0x4ab16e),[_0x1cd3('0x81'),_0x1cd3('0xdfc'),'createdAt',_0x1cd3('0x12fe'),_0x1cd3('0x1a02')]);_0x44f394[_0x1cd3('0x1a04')]['push'](_0x1cd3('0x1a03'));})[_0x1cd3('0xfd')](function(_0x5bb5a0){_0x501363[_0x1cd3('0x434')]({'title':_0x5bb5a0[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x5bb5a0[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x5bb5a0[_0x1cd3('0xd35')]:'SYSTEM:GETVARIABLES','msg':_0x5bb5a0['data']?JSON['stringify'](_0x5bb5a0['data']):_0x5bb5a0[_0x1cd3('0x43b')]()});});_0x584a46[_0x1cd3('0xbb5')][_0x1cd3('0xdfb')]({'id':_0x3845b5['id'],'ticketType':_0x578642['ticketType']?_0x578642[_0x1cd3('0x1a06')]:undefined})[_0x1cd3('0x81')]['then'](function(_0x448ac7){_0x44f394[_0x1cd3('0x1a07')]=!![];_0x44f394[_0x1cd3('0x3c7')]=_0x448ac7[_0x1cd3('0xf6')]?_0x448ac7[_0x1cd3('0xf6')]:[];if(_0x44f394[_0x1cd3('0x19fa')][_0x1cd3('0x1a08')]){_0x44f394[_0x1cd3('0x150e')]=_[_0x1cd3('0x442')](_0x44f394[_0x1cd3('0x3c7')],{'id':_0x44f394['item'][_0x1cd3('0x1a08')]});}})[_0x1cd3('0xfd')](function(_0x20f1e5){_0x44f394['accountConnected']=![];console[_0x1cd3('0x434')](_0x20f1e5);});function _0x26e3b2(){_0x44f394['errors']=[];if(_0x44f394[_0x1cd3('0x150e')]){_0x44f394[_0x1cd3('0x19fa')][_0x1cd3('0x1a08')]=_0x44f394['customField']['id'];_0x44f394[_0x1cd3('0x19fa')]['nameField']=_0x44f394[_0x1cd3('0x150e')][_0x1cd3('0x98')];_0x44f394['item'][_0x1cd3('0x150e')]=_0x44f394[_0x1cd3('0x150e')][_0x1cd3('0x8f6')];}_0x584a46[_0x1cd3('0xbc1')][_0x1cd3('0xd6d')](_0x44f394['item'])['$promise'][_0x1cd3('0x77')](function(_0x3e74be){_0x44f394[_0x1cd3('0x493')][_0x1cd3('0x621')](_0x3e74be);_0x501363[_0x1cd3('0x473')]({'title':_[_0x1cd3('0x12b1')](_0x286304)+'\x20properly\x20created','msg':_[_0x1cd3('0x12b1')](_0x286304)+_0x1cd3('0xd33')});_0x365fed();})[_0x1cd3('0xfd')](function(_0x4c6ef8){console['error'](_0x4c6ef8);_0x44f394[_0x1cd3('0xd34')]=_0x4c6ef8[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x4c6ef8['toString'](),'type':_0x1cd3('0x1a0b')}];});}function _0x469d50(){_0x44f394[_0x1cd3('0xd34')]=[];if(_0x44f394[_0x1cd3('0x150e')]){_0x44f394[_0x1cd3('0x19fa')][_0x1cd3('0x1a08')]=_0x44f394['customField']['id'];_0x44f394['item'][_0x1cd3('0x1a09')]=_0x44f394[_0x1cd3('0x150e')][_0x1cd3('0x98')];_0x44f394[_0x1cd3('0x19fa')][_0x1cd3('0x150e')]=_0x44f394[_0x1cd3('0x150e')][_0x1cd3('0x8f6')];}_0x584a46[_0x1cd3('0xbc1')]['update']({'id':_0x44f394[_0x1cd3('0x19fa')]['id']},_0x44f394[_0x1cd3('0x19fa')])['$promise']['then'](function(_0x236773){var _0x2449cd=_[_0x1cd3('0x442')](_0x44f394[_0x1cd3('0x493')],{'id':_0x236773['id']});if(_0x2449cd){_[_0x1cd3('0xf2')](_0x2449cd,_0x236773);}_0x501363[_0x1cd3('0x473')]({'title':_['capitalize'](_0x286304)+_0x1cd3('0x1a50'),'msg':_['capitalize'](_0x286304)+_0x1cd3('0xd37')});_0x365fed();})[_0x1cd3('0xfd')](function(_0x1fcb8d){console['error'](_0x1fcb8d);_0x44f394[_0x1cd3('0xd34')]=_0x1fcb8d[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x1fcb8d['toString'](),'type':_0x1cd3('0x1a0c')}];});}function _0x5db682(_0x39e92f){_0x44f394[_0x1cd3('0xd34')]=[];var _0x1c7a05=_0x2910bc[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xd3a'))[_0x1cd3('0xd3b')](_0x1cd3('0x158a')+_0x286304+'\x20will\x20be\x20deleted.')[_0x1cd3('0xd3d')]('Delete\x20'+_[_0x1cd3('0x12b1')](_0x286304))['ok']('Delete')[_0x1cd3('0x4d8')](_0x1cd3('0x674'))[_0x1cd3('0xd63')](_0x39e92f);_0x2910bc[_0x1cd3('0x37e')](_0x1c7a05)[_0x1cd3('0x77')](function(){_0x584a46[_0x1cd3('0xbc1')][_0x1cd3('0xa1c')]({'id':_0x44f394[_0x1cd3('0x19fa')]['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x44f394[_0x1cd3('0x493')],{'id':_0x44f394['item']['id']});_0x501363[_0x1cd3('0x473')]({'title':_[_0x1cd3('0x12b1')](_0x286304)+_0x1cd3('0x1a0e'),'msg':_[_0x1cd3('0x12b1')](_0x286304)+'\x20has\x20been\x20deleted!'});_0x365fed();})['catch'](function(_0x417d4f){console[_0x1cd3('0x434')](_0x417d4f);_0x44f394[_0x1cd3('0xd34')]=_0x417d4f[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x417d4f['toString'](),'type':_0x1cd3('0x1a76')}];});},function(){});}function _0x546065(){if(_0x44f394['item'][_0x1cd3('0x1a0f')]!==undefined){return _0x44f394['item'][_0x1cd3('0x1a0f')];}else{return _0x1cd3('0x1a10');}};function _0x365fed(){_0x2910bc[_0x1cd3('0x39d')]();}}}());(function(){'use strict';_0xb1b3c1[_0x1cd3('0xc')]=[_0x1cd3('0x53e'),_0x1cd3('0xd24'),_0x1cd3('0x3c5'),_0x1cd3('0x372'),'$translate',_0x1cd3('0x463'),'setting',_0x1cd3('0x370'),'toasty','Auth','sugarcrmAccount',_0x1cd3('0x390')];angular[_0x1cd3('0x0')](_0x1cd3('0x35'))[_0x1cd3('0x39b')](_0x1cd3('0x1b51'),_0xb1b3c1);function _0xb1b3c1(_0x34c0df,_0x201a1f,_0x5157e7,_0x22a22c,_0x1bce7f,_0xb3aaa6,_0x22f9ee,_0x1ec7fc,_0x158fce,_0x1c302b,_0x4faf7,_0x3bab3f){var _0x4723c7=this;_0x4723c7[_0x1cd3('0x3ca')]=_0x1c302b[_0x1cd3('0x5d')]();_0x4723c7[_0x1cd3('0x463')]=_0xb3aaa6;_0x4723c7['setting']=_0x22f9ee;_0x4723c7[_0x1cd3('0xd29')]=_0x4723c7[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x4723c7['location']=_0x201a1f[_0x1cd3('0x3b0')]()+_0x1cd3('0x11cf')+_0x201a1f['host']();_0x4723c7[_0x1cd3('0x1b33')]=_0x4faf7||_0x34c0df['params'][_0x1cd3('0x1b33')]||{};_0x4723c7[_0x1cd3('0x390')]=_0x3bab3f&&_0x3bab3f[_0x1cd3('0x466')]==0x1?_0x3bab3f[_0x1cd3('0xf6')][0x0]:null;_0x4723c7[_0x1cd3('0xd27')]=_0x1c302b[_0x1cd3('0xd44')](_0x4723c7[_0x1cd3('0x390')]?_0x4723c7[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);_0x4723c7[_0x1cd3('0xd28')]={};_0x4723c7['selectedTab']=_0x34c0df[_0x1cd3('0x36a')]['tab']||0x0;_0x4723c7['alert']=_0x158fce['info'];_0x4723c7[_0x1cd3('0x1b52')]=_0x2dae13;_0x4723c7[_0x1cd3('0x1b35')]=_0x4f4406;function _0x2dae13(){_0x34c0df['go'](_0x1cd3('0x18f'),{},{'reload':_0x1cd3('0x18f')});}function _0x4f4406(){_0x1ec7fc[_0x1cd3('0xbb5')]['update']({'id':_0x4723c7[_0x1cd3('0x1b33')]['id']},_0x4723c7[_0x1cd3('0x1b33')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x158fce[_0x1cd3('0x473')]({'title':_0x1cd3('0x1b53'),'msg':_0x4723c7[_0x1cd3('0x1b33')][_0x1cd3('0x98')]?_0x4723c7['sugarcrmAccount'][_0x1cd3('0x98')]+'\x20has\x20been\x20updated!':''});})[_0x1cd3('0xfd')](function(_0x195163){_0x158fce[_0x1cd3('0x434')]({'title':_0x195163[_0x1cd3('0x3a6')]?'API:'+_0x195163['status']+'\x20-\x20'+_0x195163['statusText']:_0x1cd3('0x1b54'),'msg':_0x195163[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x195163[_0x1cd3('0x439')]):_0x195163[_0x1cd3('0x43b')]()});});}}}());(function(){'use strict';_0x1eb517['$inject']=[_0x1cd3('0x460'),'$window','$state',_0x1cd3('0x969'),_0x1cd3('0x3c5'),_0x1cd3('0x372'),_0x1cd3('0x3e7'),'$translate','sugarcrmAccounts',_0x1cd3('0x38a'),_0x1cd3('0x390'),_0x1cd3('0x370'),_0x1cd3('0x2dd'),_0x1cd3('0x461'),_0x1cd3('0x56'),'license','setting'];angular[_0x1cd3('0x0')](_0x1cd3('0x35'))[_0x1cd3('0x39b')](_0x1cd3('0x1b55'),_0x1eb517);function _0x1eb517(_0x38d832,_0x4d14da,_0x1df276,_0x50f272,_0x397395,_0x2a0048,_0x4f9244,_0x44e542,_0x565ab5,_0x127b80,_0x441501,_0x5abb01,_0xfb7ad6,_0x196456,_0x383c0c,_0xa0ff74,_0x52aa60){var _0x34d031=this;_0x34d031['license']=_0xa0ff74;_0x34d031[_0x1cd3('0xc49')]=_0x52aa60;_0x34d031[_0x1cd3('0x3ca')]=_0x383c0c['getCurrentUser']();_0x34d031[_0x1cd3('0x1b30')]=_0x565ab5||{'count':0x0,'rows':[]};_0x34d031['userProfile']=_0x127b80;_0x34d031[_0x1cd3('0x390')]=_0x441501&&_0x441501[_0x1cd3('0x466')]==0x1?_0x441501[_0x1cd3('0xf6')][0x0]:null;_0x34d031[_0x1cd3('0xd27')]=_0x383c0c[_0x1cd3('0xd44')](_0x34d031[_0x1cd3('0x390')]?_0x34d031[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);_0x34d031[_0x1cd3('0xd45')]=_0x1cd3('0x1b30');_0x34d031['listOrder']='';_0x34d031['listOrderAsc']=null;_0x34d031[_0x1cd3('0x1b56')]=[];_0x34d031[_0x1cd3('0x3d4')]={'fields':'createdAt,updatedAt,id,name,username,remoteUri,password,serverUrl,description','limit':0xa,'page':0x1};_0x34d031[_0x1cd3('0x1171')]=_0x4d30e6;_0x34d031[_0x1cd3('0x1ab1')]=_0x267a96;_0x34d031[_0x1cd3('0xecc')]=_0x3de53e;_0x34d031['success']=_0x6ac11a;_0x34d031[_0x1cd3('0x1b57')]=_0x4eded0;_0x34d031['createOrEditSugarcrmAccount']=_0x4ff267;_0x34d031[_0x1cd3('0x1b36')]=_0x5ca921;_0x34d031[_0x1cd3('0x1b58')]=_0x396b26;_0x34d031[_0x1cd3('0x1b59')]=_0xcf75d0;_0x34d031[_0x1cd3('0x1b5a')]=_0x5592b9;_0x34d031['selectAllSugarcrmAccounts']=_0x2cbcf1;function _0x4d30e6(_0x2854f6,_0x35a6be){_0x1df276['go'](_0x1cd3('0x194'),{'id':_0x2854f6['id'],'sugarcrmAccount':_0x2854f6,'crudPermissions':_0x34d031[_0x1cd3('0xd27')]});}function _0x267a96(_0x3ded65,_0x5018fb){return _0x5abb01[_0x1cd3('0xbb5')][_0x1cd3('0xdfb')]({'id':_0x3ded65['id'],'test':!![]})['$promise'][_0x1cd3('0x77')](function(){_0x196456[_0x1cd3('0x473')]({'title':_0x1cd3('0x1b5b'),'msg':_0x1cd3('0x1a28')});})['catch'](function(_0x391dcb){_0x196456[_0x1cd3('0x434')]({'title':_0x1cd3('0x1b5b'),'msg':_0x391dcb[_0x1cd3('0x439')]?_0x391dcb[_0x1cd3('0x439')][_0x1cd3('0x43a')]?_0x391dcb['data'][_0x1cd3('0x43a')]:JSON[_0x1cd3('0x438')](_0x391dcb['data']):_0x391dcb[_0x1cd3('0x43b')]()});});}function _0x3de53e(_0x572944,_0x2cc608){var _0x46278a=_0x397395[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xd4f')+_[_0x1cd3('0xd50')]('sugarcrmAccount')+'?')['htmlContent']('<b>'+(_0x572944[_0x1cd3('0x98')]||_0x1cd3('0x1b33'))+_0x1cd3('0xd52')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')]('delete\x20sugarcrmAccount')[_0x1cd3('0xd63')](_0x2cc608)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x397395[_0x1cd3('0x37e')](_0x46278a)[_0x1cd3('0x77')](function(){_0x5ca921(_0x572944);},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}var _0x110692=!![];var _0x288039=0x1;_0x38d832[_0x1cd3('0x4d6')](_0x1cd3('0xd56'),function(_0x47a1c2,_0x42044f){if(_0x110692){_0x4f9244(function(){_0x110692=![];});}else{if(!_0x42044f){_0x288039=_0x34d031['query']['page'];}if(_0x47a1c2!==_0x42044f){_0x34d031[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}if(!_0x47a1c2){_0x34d031[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0x288039;}_0x34d031['getSugarcrmAccounts']();}});function _0x6ac11a(_0x559a7a){_0x34d031[_0x1cd3('0x1b30')]=_0x559a7a||{'count':0x0,'rows':[]};}function _0x4eded0(){_0x34d031[_0x1cd3('0x3d4')]['offset']=(_0x34d031['query']['page']-0x1)*_0x34d031[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];if(_0x383c0c[_0x1cd3('0x57')](_0x1cd3('0x5f'))){_0x34d031[_0x1cd3('0x539')]=_0x5abb01[_0x1cd3('0xbb5')][_0x1cd3('0x361')](_0x34d031[_0x1cd3('0x3d4')],_0x6ac11a)[_0x1cd3('0x81')];}else{_0x34d031[_0x1cd3('0x3d4')]['id']=_0x34d031[_0x1cd3('0x38a')]['id'];_0x34d031['query'][_0x1cd3('0xd58')]='SugarcrmAccounts';_0x34d031['promise']=_0x5abb01[_0x1cd3('0x38a')][_0x1cd3('0xd59')](_0x34d031['query'],_0x6ac11a)[_0x1cd3('0x81')];}}function _0x4ff267(_0x3790ad,_0x4d6584){_0x397395[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1b31'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1b5c'),'parent':angular[_0x1cd3('0x37f')](_0x2a0048[_0x1cd3('0x380')]),'targetEvent':_0x3790ad,'clickOutsideToClose':!![],'locals':{'sugarcrmAccount':_0x4d6584,'sugarcrmAccounts':_0x34d031[_0x1cd3('0x1b30')][_0x1cd3('0xf6')],'license':_0x34d031[_0x1cd3('0x463')],'setting':_0x34d031['setting'],'crudPermissions':_0x34d031[_0x1cd3('0xd27')]}});}function _0x5ca921(_0x20fcd2){_0x5abb01[_0x1cd3('0xbb5')][_0x1cd3('0xa1c')]({'id':_0x20fcd2['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x34d031['sugarcrmAccounts'][_0x1cd3('0xf6')],{'id':_0x20fcd2['id']});_0x34d031[_0x1cd3('0x1b30')][_0x1cd3('0x466')]-=0x1;if(!_0x34d031[_0x1cd3('0x1b30')]['rows'][_0x1cd3('0x7a')]){_0x34d031[_0x1cd3('0x1b57')]();}_0x196456[_0x1cd3('0x473')]({'title':_[_0x1cd3('0xd50')](_0x1cd3('0x1b5d'))+'\x20deleted!','msg':_0x20fcd2[_0x1cd3('0x98')]?_0x20fcd2[_0x1cd3('0x98')]+_0x1cd3('0xd41'):''});})['catch'](function(_0x2ea92e){if(_0x2ea92e[_0x1cd3('0x439')]&&_0x2ea92e[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x2ea92e[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length']){_0x34d031[_0x1cd3('0xd34')]=_0x2ea92e['data'][_0x1cd3('0xd34')]||[{'message':_0x2ea92e['toString'](),'type':_0x1cd3('0x1b5e')}];for(var _0x5b8516=0x0;_0x5b8516<_0x2ea92e[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x5b8516++){_0x196456[_0x1cd3('0x434')]({'title':_0x2ea92e[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x5b8516][_0x1cd3('0x424')],'msg':_0x2ea92e[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x5b8516]['message']});}}else{_0x196456['error']({'title':_0x2ea92e[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x2ea92e['status']+_0x1cd3('0x436')+_0x2ea92e[_0x1cd3('0xd35')]:_0x1cd3('0x1b5e'),'msg':_0x2ea92e[_0x1cd3('0x439')]?JSON['stringify'](_0x2ea92e[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x2ea92e[_0x1cd3('0x43a')]||_0x2ea92e[_0x1cd3('0x43b')]()});}});}function _0x396b26(){var _0x26940c=angular[_0x1cd3('0x429')](_0x34d031[_0x1cd3('0x1b56')]);_0x34d031[_0x1cd3('0x1b56')]=[];return _0x26940c;}function _0xcf75d0(_0x25ffa2){var _0x2858f0=_0x397395[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x1b5f'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x34d031[_0x1cd3('0x1b56')][_0x1cd3('0x7a')]+_0x1cd3('0xd61')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x1b60'))[_0x1cd3('0xd63')](_0x25ffa2)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x397395[_0x1cd3('0x37e')](_0x2858f0)[_0x1cd3('0x77')](function(){_0x34d031[_0x1cd3('0x1b56')]['forEach'](function(_0x1749da){_0x5ca921(_0x1749da);});_0x34d031[_0x1cd3('0x1b56')]=[];});}function _0x5592b9(){_0x34d031[_0x1cd3('0x1b56')]=[];}function _0x2cbcf1(){_0x34d031['selectedSugarcrmAccounts']=_0x34d031['sugarcrmAccounts']['rows'];}}}());(function(){'use strict';_0x34cf39['$inject']=[_0x1cd3('0x460'),'$state',_0x1cd3('0xd24'),'$mdDialog','$q',_0x1cd3('0x3f7'),_0x1cd3('0x461'),_0x1cd3('0x1b61'),_0x1cd3('0x1b62'),_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0x463'),_0x1cd3('0xc49'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x35'))[_0x1cd3('0x39b')](_0x1cd3('0x1b63'),_0x34cf39);function _0x34cf39(_0x4dcbe6,_0x5c4475,_0x276051,_0x316a1c,_0x5e7d3c,_0x53cef2,_0x142dda,_0xc88522,_0x3bab95,_0x486cf9,_0x243a78,_0x161f7,_0x1fdc46,_0x47adf2){var _0x42136b=this;_0x42136b['currentUser']=_0x243a78[_0x1cd3('0x5d')]();_0x42136b[_0x1cd3('0xd34')]=[];_0x42136b[_0x1cd3('0xc49')]=_0x1fdc46;_0x42136b[_0x1cd3('0x463')]=_0x161f7;_0x42136b['crudPermissions']=_0x47adf2;_0x42136b[_0x1cd3('0xd28')]={};_0x42136b['passwordPattern']=_0x42136b[_0x1cd3('0xc49')]&&_0x42136b[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x42136b[_0x1cd3('0x486')]='INTEGRATIONS.EDIT_VTIGERACCOUNT';_0x42136b[_0x1cd3('0x1b62')]=angular['copy'](_0x3bab95);_0x42136b[_0x1cd3('0x1b61')]=_0xc88522;_0x42136b[_0x1cd3('0x1b64')]=![];if(!_0x42136b[_0x1cd3('0x1b62')]){_0x42136b[_0x1cd3('0x1b62')]={'serverUrl':_0x276051[_0x1cd3('0x3b0')]()+_0x1cd3('0x11cf')+_0x276051[_0x1cd3('0x3ac')]()+(_0x276051[_0x1cd3('0x3b1')]()?':'+_0x276051['port']():'')};_0x42136b['title']=_0x1cd3('0x1b65');_0x42136b['newVtigerAccount']=!![];}_0x42136b[_0x1cd3('0x1b66')]=_0x368652;_0x42136b[_0x1cd3('0x1b67')]=_0x2f6490;_0x42136b[_0x1cd3('0x1b68')]=_0x18e785;_0x42136b[_0x1cd3('0xd31')]=_0x95a1ea;_0x42136b['closeDialog']=_0x3255a5;function _0x368652(){_0x42136b[_0x1cd3('0xd34')]=[];_0x486cf9[_0x1cd3('0xbf6')][_0x1cd3('0xd6d')](_0x42136b[_0x1cd3('0x1b62')])[_0x1cd3('0x81')]['then'](function(_0x37c9e3){_0x42136b[_0x1cd3('0x1b61')][_0x1cd3('0x621')](_0x37c9e3['toJSON']());_0x142dda[_0x1cd3('0x473')]({'title':'VtigerAccount\x20properly\x20created','msg':_0x42136b['vtigerAccount'][_0x1cd3('0x98')]?_0x42136b[_0x1cd3('0x1b62')][_0x1cd3('0x98')]+'\x20has\x20been\x20created!':''});_0x3255a5(_0x37c9e3);})[_0x1cd3('0xfd')](function(_0x246abc){if(_0x246abc[_0x1cd3('0x439')]&&_0x246abc[_0x1cd3('0x439')]['errors']&&_0x246abc[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x42136b[_0x1cd3('0xd34')]=_0x246abc['data'][_0x1cd3('0xd34')]||[{'message':_0x246abc[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1b69')}];for(var _0x44a783=0x0;_0x44a783<_0x246abc['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x44a783+=0x1){_0x142dda[_0x1cd3('0x434')]({'title':_0x246abc[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x44a783][_0x1cd3('0x424')],'msg':_0x246abc['data']['errors'][_0x44a783][_0x1cd3('0x43a')]});}}else{_0x142dda[_0x1cd3('0x434')]({'title':_0x246abc[_0x1cd3('0x3a6')]?'API:'+_0x246abc[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x246abc[_0x1cd3('0xd35')]:_0x1cd3('0x1b69'),'msg':_0x246abc['data']?JSON[_0x1cd3('0x438')](_0x246abc[_0x1cd3('0x439')]['message']):_0x246abc[_0x1cd3('0x43b')]()});}});}function _0x2f6490(){_0x42136b[_0x1cd3('0xd34')]=[];_0x486cf9[_0x1cd3('0xbf6')][_0x1cd3('0x378')]({'id':_0x42136b[_0x1cd3('0x1b62')]['id']},_0x42136b[_0x1cd3('0x1b62')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x101faf){var _0x3a5b88=_[_0x1cd3('0x442')](_0x42136b[_0x1cd3('0x1b61')],{'id':_0x101faf['id']});if(_0x3a5b88){_[_0x1cd3('0xf2')](_0x3a5b88,_[_0x1cd3('0x5e8')](_0x101faf[_0x1cd3('0xd32')](),_[_0x1cd3('0x80')](_0x3a5b88)));}_0x142dda[_0x1cd3('0x473')]({'title':_0x1cd3('0x1b6a'),'msg':_0x42136b['vtigerAccount'][_0x1cd3('0x98')]?_0x42136b[_0x1cd3('0x1b62')][_0x1cd3('0x98')]+_0x1cd3('0xd37'):''});_0x3255a5(_0x101faf);})['catch'](function(_0x5592c4){if(_0x5592c4[_0x1cd3('0x439')]&&_0x5592c4[_0x1cd3('0x439')]['errors']&&_0x5592c4[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length']){_0x42136b[_0x1cd3('0xd34')]=_0x5592c4[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x5592c4[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1b6b')}];for(var _0x46e111=0x0;_0x46e111<_0x5592c4['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x46e111++){_0x142dda['error']({'title':_0x5592c4['data'][_0x1cd3('0xd34')][_0x46e111][_0x1cd3('0x424')],'msg':_0x5592c4[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x46e111][_0x1cd3('0x43a')]});}}else{_0x142dda[_0x1cd3('0x434')]({'title':_0x5592c4[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x5592c4[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x5592c4[_0x1cd3('0xd35')]:_0x1cd3('0x1b6b'),'msg':_0x5592c4[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x5592c4['data'][_0x1cd3('0x43a')]):_0x5592c4['toString']()});}});}function _0x18e785(_0x12ed8a){_0x42136b[_0x1cd3('0xd34')]=[];var _0x2f8731=_0x316a1c[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xd3a'))[_0x1cd3('0xd3b')](_0x1cd3('0x1b6c'))[_0x1cd3('0xd3d')](_0x1cd3('0x1b6d'))['ok'](_0x1cd3('0xd3f'))[_0x1cd3('0x4d8')](_0x1cd3('0x674'))[_0x1cd3('0xd63')](_0x12ed8a);_0x316a1c[_0x1cd3('0x37e')](_0x2f8731)[_0x1cd3('0x77')](function(){_0x486cf9[_0x1cd3('0xbf6')][_0x1cd3('0xa1c')]({'id':_0x42136b[_0x1cd3('0x1b62')]['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x42136b[_0x1cd3('0x1b61')],{'id':_0x42136b['vtigerAccount']['id']});_0x142dda[_0x1cd3('0x473')]({'title':_0x1cd3('0x1b6e'),'msg':(_0x42136b['vtigerAccount'][_0x1cd3('0x98')]||_0x1cd3('0x1b62'))+_0x1cd3('0xd41')});_0x3255a5(_0x42136b[_0x1cd3('0x1b62')]);})[_0x1cd3('0xfd')](function(_0x9b2848){if(_0x9b2848[_0x1cd3('0x439')]&&_0x9b2848[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x9b2848[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')]){_0x42136b['errors']=_0x9b2848[_0x1cd3('0x439')]['errors']||[{'message':_0x9b2848['toString'](),'type':_0x1cd3('0x1b6f')}];for(var _0x56456f=0x0;_0x56456f<_0x9b2848[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x56456f++){_0x142dda[_0x1cd3('0x434')]({'title':_0x9b2848['data'][_0x1cd3('0xd34')][_0x56456f][_0x1cd3('0x424')],'msg':_0x9b2848[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x56456f]['message']});}}else{_0x142dda[_0x1cd3('0x434')]({'title':_0x9b2848['status']?_0x1cd3('0x435')+_0x9b2848['status']+_0x1cd3('0x436')+_0x9b2848[_0x1cd3('0xd35')]:_0x1cd3('0x1b6f'),'msg':_0x9b2848[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x9b2848['data'][_0x1cd3('0x43a')]):_0x9b2848['message']||_0x9b2848['toString']()});}});},function(){});}function _0x95a1ea(_0x436b38){return _0x436b38===null?undefined:new Date(_0x436b38);}function _0x3255a5(_0x5aec25){_0x316a1c[_0x1cd3('0x39d')](_0x5aec25);}}}());(function(){'use strict';_0x5a6d9f[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),_0x1cd3('0x372'),_0x1cd3('0x370'),'toasty',_0x1cd3('0x56')];angular[_0x1cd3('0x0')]('app.integrations')[_0x1cd3('0x39b')](_0x1cd3('0x1b70'),_0x5a6d9f);function _0x5a6d9f(_0x3cd776,_0x18fa4e,_0x3a920c,_0x2031c3,_0x18bdbe){var _0x5f3a8c=this;_0x5f3a8c[_0x1cd3('0x3ca')]=_0x18bdbe[_0x1cd3('0x5d')]();_0x5f3a8c['vtigerAccount']={};_0x5f3a8c[_0x1cd3('0x1b71')]={};_0x5f3a8c[_0x1cd3('0x19c2')]=[];_0x5f3a8c[_0x1cd3('0x1b72')]=-0x1;_0x5f3a8c[_0x1cd3('0xd27')];_0x5f3a8c['init']=_0x4b9416;_0x5f3a8c[_0x1cd3('0x1b73')]=_0x585725;_0x5f3a8c[_0x1cd3('0x1b74')]=_0x4ae6a0;_0x5f3a8c['deleteVtigerConfiguration']=_0x41147a;function _0x4b9416(_0x5416f9,_0x4634b1){_0x5f3a8c[_0x1cd3('0x1b62')]=_0x5416f9;_0x5f3a8c[_0x1cd3('0xd27')]=typeof _0x4634b1!==_0x1cd3('0x491')?_0x4634b1:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x3a920c['intVtigerAccount']['getConfigurations']({'id':_0x5f3a8c['vtigerAccount']['id'],'sort':_0x1cd3('0x5b')})['$promise'][_0x1cd3('0x77')](function(_0x414f22){_0x5f3a8c['configurations']=_0x414f22['rows']?_0x414f22[_0x1cd3('0xf6')]:[];if(_0x5f3a8c['configurations'][_0x1cd3('0x7a')]){_0x5f3a8c[_0x1cd3('0x1b73')](0x0);}return _0x3a920c[_0x1cd3('0xb84')][_0x1cd3('0x361')]({'nolimit':!![],'sort':_0x1cd3('0x98')})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x24d671){_0x5f3a8c[_0x1cd3('0xef7')]=_0x24d671[_0x1cd3('0xf6')]?_0x24d671[_0x1cd3('0xf6')]:[];_0x5f3a8c[_0x1cd3('0x19ca')]=_[_0x1cd3('0xe2d')](_0x5f3a8c[_0x1cd3('0xef7')],'id');})[_0x1cd3('0xfd')](function(_0x1f123b){_0x2031c3['error']({'title':_0x1f123b[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x1f123b[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x1f123b[_0x1cd3('0xd35')]:_0x1cd3('0x19cb'),'msg':_0x1f123b[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x1f123b[_0x1cd3('0x439')]):_0x1f123b['toString']()});});}function _0x585725(_0x34f84d){_0x5f3a8c[_0x1cd3('0x1b71')]=_0x5f3a8c['configurations'][_0x34f84d];_0x5f3a8c[_0x1cd3('0x1b72')]=_0x34f84d;_0x3a920c[_0x1cd3('0xbf9')][_0x1cd3('0x1a31')]({'id':_0x5f3a8c[_0x1cd3('0x1b71')]['id']})['$promise'][_0x1cd3('0x77')](function(_0x303560){_0x5f3a8c['subjects']=_0x303560[_0x1cd3('0xf6')]?_0x303560[_0x1cd3('0xf6')]:[];return _0x3a920c['intVtigerConfiguration']['getDescriptions']({'id':_0x5f3a8c[_0x1cd3('0x1b71')]['id']})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x590836){_0x5f3a8c[_0x1cd3('0x19cd')]=_0x590836[_0x1cd3('0xf6')]?_0x590836['rows']:[];return _0x3a920c[_0x1cd3('0xbf9')]['getFields']({'id':_0x5f3a8c[_0x1cd3('0x1b71')]['id']})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x305364){_0x5f3a8c[_0x1cd3('0x3c7')]=_0x305364['rows']?_0x305364[_0x1cd3('0xf6')]:[];})[_0x1cd3('0xfd')](function(_0x1c54a4){_0x2031c3[_0x1cd3('0x434')]({'title':_0x1c54a4[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x1c54a4['status']+_0x1cd3('0x436')+_0x1c54a4[_0x1cd3('0xd35')]:'SYSTEM:GETConfigurations','msg':_0x1c54a4[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x1c54a4[_0x1cd3('0x439')]):_0x1c54a4[_0x1cd3('0x43b')]()});});}function _0x4ae6a0(_0x3e719e,_0x40a79f){_0x3cd776['show']({'controller':_0x1cd3('0x1b75'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1b76'),'parent':angular['element'](_0x18fa4e[_0x1cd3('0x380')]),'targetEvent':_0x3e719e,'clickOutsideToClose':!![],'locals':{'vtigerConfiguration':_0x40a79f,'configurations':_0x5f3a8c[_0x1cd3('0x19c2')],'license':null,'setting':null,'crudPermissions':_0x5f3a8c[_0x1cd3('0xd27')]}})['finally'](function(){_0x5f3a8c[_0x1cd3('0x1b73')](0x0);});}function _0x41147a(_0x168b4d,_0x2a728f){var _0x5aa4bf=_0x3cd776[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x1b77'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+(_0x2a728f[_0x1cd3('0x98')]||_0x1cd3('0x1b71'))+_0x1cd3('0xd52')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x1b78'))[_0x1cd3('0xd63')](_0x168b4d)['ok']('OK')[_0x1cd3('0x4d8')]('CANCEL');_0x3cd776[_0x1cd3('0x37e')](_0x5aa4bf)['then'](function(){_0x3a920c[_0x1cd3('0xbf9')][_0x1cd3('0xa1c')]({'id':_0x2a728f['id']})[_0x1cd3('0x81')]['then'](function(){_[_0x1cd3('0x383')](_0x5f3a8c[_0x1cd3('0x19c2')],{'id':_0x2a728f['id']});_0x2031c3[_0x1cd3('0x473')]({'title':_0x1cd3('0x1b79'),'msg':_0x2a728f[_0x1cd3('0x98')]?_0x2a728f[_0x1cd3('0x98')]+_0x1cd3('0xd41'):''});})[_0x1cd3('0xfd')](function(_0x23aa9d){_0x2031c3[_0x1cd3('0x434')]({'title':_0x23aa9d[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x23aa9d[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x23aa9d['statusText']:'SYSTEM:DELETECONFIGURATION','msg':_0x23aa9d[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x23aa9d[_0x1cd3('0x439')]):_0x23aa9d['toString']()});})[_0x1cd3('0x5dd')](function(){_0x5f3a8c['getVtigerConfiguration'](0x0);});},function(){console[_0x1cd3('0x7d')]('CANCEL');});}_0x5f3a8c[_0x1cd3('0x19d5')]=[];_0x5f3a8c[_0x1cd3('0x1a37')]=_0x2e70ca;_0x5f3a8c[_0x1cd3('0x1a38')]=_0x5533dc;_0x5f3a8c[_0x1cd3('0x19d6')]=_0x5e886a;function _0x2e70ca(_0x5ea534,_0x31195b){_0x3cd776[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1b7a'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1b7b'),'parent':angular[_0x1cd3('0x37f')](_0x18fa4e[_0x1cd3('0x380')]),'targetEvent':_0x5ea534,'clickOutsideToClose':!![],'locals':{'type':'subject','item':_0x31195b,'items':_0x5f3a8c[_0x1cd3('0x19d9')],'configuration':_0x5f3a8c['vtigerConfiguration'],'account':_0x5f3a8c['vtigerAccount'],'license':null,'setting':null,'crudPermissions':_0x5f3a8c[_0x1cd3('0xd27')]}});}function _0x3fe554(_0x1db549){_0x3a920c[_0x1cd3('0xbfd')][_0x1cd3('0xa1c')]({'id':_0x1db549['id']})[_0x1cd3('0x81')]['then'](function(){_['remove'](_0x5f3a8c[_0x1cd3('0x19d9')],{'id':_0x1db549['id']});_0x2031c3[_0x1cd3('0x473')]({'title':_0x1cd3('0x1a3b'),'msg':_0x1cd3('0x19da')});})[_0x1cd3('0xfd')](function(_0x1f327f){_0x2031c3['error']({'title':_0x1f327f[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x1f327f[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x1f327f[_0x1cd3('0xd35')]:_0x1cd3('0x19db'),'msg':_0x1f327f[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x1f327f[_0x1cd3('0x439')]):_0x1f327f[_0x1cd3('0x43b')]()});});}function _0x5533dc(_0x459fee,_0x288ac0){var _0x3f85e1=_0x3cd776['confirm']()[_0x1cd3('0x486')](_0x1cd3('0x1a3c'))[_0x1cd3('0xd60')](_0x1cd3('0x19dc')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x1a3d'))['targetEvent'](_0x459fee)['ok']('OK')[_0x1cd3('0x4d8')]('CANCEL');_0x3cd776[_0x1cd3('0x37e')](_0x3f85e1)[_0x1cd3('0x77')](function(){_0x3fe554(_0x288ac0);},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}function _0x5e886a(_0x1b92bb){var _0x3d28b5=_0x3cd776[_0x1cd3('0xd39')]()[_0x1cd3('0x486')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20subjects?')['htmlContent']('<b>'+_0x5f3a8c['selectedSubjects'][_0x1cd3('0x7a')]+_0x1cd3('0xd61')+'\x20will\x20be\x20deleted.')[_0x1cd3('0xd3d')](_0x1cd3('0x1a3e'))['targetEvent'](_0x1b92bb)['ok']('OK')[_0x1cd3('0x4d8')]('CANCEL');_0x3cd776['show'](_0x3d28b5)[_0x1cd3('0x77')](function(){_0x5f3a8c[_0x1cd3('0x19d5')][_0x1cd3('0x394')](function(_0x2ac750){_0x3fe554(_0x2ac750);});_0x5f3a8c[_0x1cd3('0x19d5')]=[];});}_0x5f3a8c['selectedDescriptions']=[];_0x5f3a8c[_0x1cd3('0x19df')]=_0x3dfb04;_0x5f3a8c[_0x1cd3('0x19e0')]=_0x58cad0;_0x5f3a8c[_0x1cd3('0x19e1')]=_0x3c971a;function _0x3dfb04(_0x53cef1,_0x4f881a){_0x3cd776[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1b7a'),'controllerAs':'vm','templateUrl':'app/main/apps/integrations/views/vtigerAccounts/edit/item/dialog.html','parent':angular['element'](_0x18fa4e['body']),'targetEvent':_0x53cef1,'clickOutsideToClose':!![],'locals':{'type':_0x1cd3('0xde1'),'item':_0x4f881a,'items':_0x5f3a8c[_0x1cd3('0x19cd')],'configuration':_0x5f3a8c[_0x1cd3('0x1b71')],'account':_0x5f3a8c['vtigerAccount'],'license':null,'setting':null,'crudPermissions':_0x5f3a8c[_0x1cd3('0xd27')]}});}function _0x353e70(_0x5ad734){_0x3a920c['intVtigerField'][_0x1cd3('0xa1c')]({'id':_0x5ad734['id']})[_0x1cd3('0x81')]['then'](function(){_[_0x1cd3('0x383')](_0x5f3a8c[_0x1cd3('0x19cd')],{'id':_0x5ad734['id']});_0x2031c3['success']({'title':_0x1cd3('0x19e2'),'msg':_0x1cd3('0x19e3')});})[_0x1cd3('0xfd')](function(_0x15ecaa){_0x2031c3[_0x1cd3('0x434')]({'title':_0x15ecaa[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x15ecaa[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x15ecaa[_0x1cd3('0xd35')]:_0x1cd3('0x19db'),'msg':_0x15ecaa[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x15ecaa[_0x1cd3('0x439')]):_0x15ecaa['toString']()});});}function _0x58cad0(_0x3abb28,_0x4dbaf8){var _0x5958ec=_0x3cd776[_0x1cd3('0xd39')]()['title'](_0x1cd3('0x19e4'))[_0x1cd3('0xd60')](_0x1cd3('0x1a6b')+'\x20will\x20be\x20deleted.')[_0x1cd3('0xd3d')](_0x1cd3('0x19e5'))[_0x1cd3('0xd63')](_0x3abb28)['ok']('OK')[_0x1cd3('0x4d8')]('CANCEL');_0x3cd776[_0x1cd3('0x37e')](_0x5958ec)[_0x1cd3('0x77')](function(){_0x353e70(_0x4dbaf8);},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}function _0x3c971a(_0x31ef35){var _0x2f9476=_0x3cd776[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x19e6'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x5f3a8c[_0x1cd3('0x19de')][_0x1cd3('0x7a')]+'\x20selected</b>'+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x19e7'))['targetEvent'](_0x31ef35)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x3cd776[_0x1cd3('0x37e')](_0x2f9476)[_0x1cd3('0x77')](function(){_0x5f3a8c['selectedDescriptions']['forEach'](function(_0x5c526e){_0x353e70(_0x5c526e);});_0x5f3a8c[_0x1cd3('0x19de')]=[];});}_0x5f3a8c[_0x1cd3('0x19e8')]=[];_0x5f3a8c[_0x1cd3('0x1a3f')]=_0x4122b5;_0x5f3a8c[_0x1cd3('0x19e9')]=_0x416157;_0x5f3a8c[_0x1cd3('0x19ea')]=_0x509939;function _0x4122b5(_0x45e9d8,_0x8c6688){_0x3cd776[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1b7a'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1b7b'),'parent':angular[_0x1cd3('0x37f')](_0x18fa4e[_0x1cd3('0x380')]),'targetEvent':_0x45e9d8,'clickOutsideToClose':!![],'locals':{'type':_0x1cd3('0x450'),'item':_0x8c6688,'items':_0x5f3a8c[_0x1cd3('0x3c7')],'configuration':_0x5f3a8c[_0x1cd3('0x1b71')],'account':_0x5f3a8c['vtigerAccount'],'license':null,'setting':null,'crudPermissions':_0x5f3a8c[_0x1cd3('0xd27')]}});}function _0x36fa23(_0x14d70c){_0x3a920c[_0x1cd3('0xbfd')][_0x1cd3('0xa1c')]({'id':_0x14d70c['id']})['$promise'][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x5f3a8c['fields'],{'id':_0x14d70c['id']});_0x2031c3['success']({'title':_0x1cd3('0xe40'),'msg':_0x1cd3('0x19eb')});})[_0x1cd3('0xfd')](function(_0x4baf71){_0x2031c3[_0x1cd3('0x434')]({'title':_0x4baf71['status']?_0x1cd3('0x435')+_0x4baf71[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x4baf71[_0x1cd3('0xd35')]:_0x1cd3('0x19db'),'msg':_0x4baf71[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x4baf71['data']):_0x4baf71[_0x1cd3('0x43b')]()});});}function _0x416157(_0x3bcd95,_0x248e5a){var _0x299842=_0x3cd776[_0x1cd3('0xd39')]()['title'](_0x1cd3('0xe3c'))[_0x1cd3('0xd60')](_0x1cd3('0x19ec')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0xe3d'))[_0x1cd3('0xd63')](_0x3bcd95)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x3cd776['show'](_0x299842)['then'](function(){_0x36fa23(_0x248e5a);},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}function _0x509939(_0x440fdf){var _0x246231=_0x3cd776[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xe42'))[_0x1cd3('0xd60')]('<b>'+_0x5f3a8c[_0x1cd3('0x19e8')]['length']+_0x1cd3('0xd61')+_0x1cd3('0xd53'))['ariaLabel'](_0x1cd3('0x19ed'))['targetEvent'](_0x440fdf)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x3cd776['show'](_0x246231)[_0x1cd3('0x77')](function(){_0x5f3a8c[_0x1cd3('0x19e8')][_0x1cd3('0x394')](function(_0x196070){_0x36fa23(_0x196070);});_0x5f3a8c[_0x1cd3('0x19e8')]=[];});}}}());(function(){'use strict';_0x11b6be[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x53e'),_0x1cd3('0xd24'),'$mdDialog','$q',_0x1cd3('0x3f7'),'toasty',_0x1cd3('0x19c2'),_0x1cd3('0x1b71'),'api',_0x1cd3('0x56'),_0x1cd3('0x463'),'setting',_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x35'))[_0x1cd3('0x39b')](_0x1cd3('0x1b75'),_0x11b6be);function _0x11b6be(_0x22eca3,_0x2d676c,_0x2f14c3,_0x4f9050,_0x5b051f,_0x51ed9b,_0x3644fe,_0x1db98d,_0x2f59d9,_0x4d9121,_0xc7a14f,_0x60ebfd,_0xac845,_0x2bd669){var _0x44f4f0=this;_0x44f4f0[_0x1cd3('0x3ca')]=_0xc7a14f[_0x1cd3('0x5d')]();_0x44f4f0[_0x1cd3('0xd34')]=[];_0x44f4f0['setting']=_0xac845;_0x44f4f0[_0x1cd3('0x463')]=_0x60ebfd;_0x44f4f0['crudPermissions']=_0x2bd669;_0x44f4f0[_0x1cd3('0xd28')]={};_0x44f4f0[_0x1cd3('0xd29')]=_0x44f4f0[_0x1cd3('0xc49')]&&_0x44f4f0['setting'][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x44f4f0['title']=_0x1cd3('0x1b7c');_0x44f4f0[_0x1cd3('0x1b71')]=angular[_0x1cd3('0x429')](_0x2f59d9);_0x44f4f0[_0x1cd3('0x19c2')]=_0x1db98d;_0x44f4f0[_0x1cd3('0x1b7d')]=![];if(!_0x44f4f0[_0x1cd3('0x1b71')]){_0x44f4f0['vtigerConfiguration']={'channel':'voice','type':'inbound'};_0x44f4f0[_0x1cd3('0x486')]='INTEGRATIONS.NEW_VTIGERCONFIGURATION';_0x44f4f0[_0x1cd3('0x1b7d')]=!![];}_0x44f4f0[_0x1cd3('0x1b7e')]=_0xbc2305;_0x44f4f0[_0x1cd3('0x1b7f')]=_0x210928;_0x44f4f0['deleteVtigerConfiguration']=_0x396ec2;_0x44f4f0[_0x1cd3('0xd31')]=_0x362c20;_0x44f4f0[_0x1cd3('0x39c')]=_0x38cda4;function _0xbc2305(){_0x44f4f0[_0x1cd3('0xd34')]=[];_0x4d9121['intVtigerAccount'][_0x1cd3('0x1a48')]({'id':_0x2d676c[_0x1cd3('0x36a')]['id']},_0x44f4f0[_0x1cd3('0x1b71')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x45eb6e){_0x44f4f0[_0x1cd3('0x19c2')][_0x1cd3('0x621')](_0x45eb6e['toJSON']());_0x3644fe[_0x1cd3('0x473')]({'title':_0x1cd3('0x1b80'),'msg':_0x44f4f0['vtigerConfiguration'][_0x1cd3('0x98')]?_0x44f4f0[_0x1cd3('0x1b71')]['name']+'\x20has\x20been\x20created!':''});_0x38cda4(_0x45eb6e);})[_0x1cd3('0xfd')](function(_0x164ed9){if(_0x164ed9[_0x1cd3('0x439')]&&_0x164ed9[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x164ed9[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x44f4f0[_0x1cd3('0xd34')]=_0x164ed9[_0x1cd3('0x439')]['errors']||[{'message':_0x164ed9[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1b81')}];for(var _0x4f0558=0x0;_0x4f0558<_0x164ed9['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x4f0558+=0x1){_0x3644fe['error']({'title':_0x164ed9[_0x1cd3('0x439')]['errors'][_0x4f0558][_0x1cd3('0x424')],'msg':_0x164ed9['data']['errors'][_0x4f0558]['message']});}}else{_0x3644fe['error']({'title':_0x164ed9[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x164ed9['status']+_0x1cd3('0x436')+_0x164ed9[_0x1cd3('0xd35')]:_0x1cd3('0x1b81'),'msg':_0x164ed9[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x164ed9['data']['message']):_0x164ed9[_0x1cd3('0x43b')]()});}});}function _0x210928(){_0x44f4f0['errors']=[];_0x4d9121[_0x1cd3('0xbf9')][_0x1cd3('0x378')]({'id':_0x44f4f0['vtigerConfiguration']['id']},_0x44f4f0[_0x1cd3('0x1b71')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x5f26b3){var _0x359856=_[_0x1cd3('0x442')](_0x44f4f0[_0x1cd3('0x19c2')],{'id':_0x5f26b3['id']});if(_0x359856){_[_0x1cd3('0xf2')](_0x359856,_[_0x1cd3('0x5e8')](_0x5f26b3['toJSON'](),_[_0x1cd3('0x80')](_0x359856)));}_0x3644fe['success']({'title':'VtigerConfiguration\x20properly\x20saved!','msg':_0x44f4f0[_0x1cd3('0x1b71')][_0x1cd3('0x98')]?_0x44f4f0[_0x1cd3('0x1b71')][_0x1cd3('0x98')]+_0x1cd3('0xd37'):''});_0x38cda4(_0x5f26b3);})[_0x1cd3('0xfd')](function(_0x4a95c4){if(_0x4a95c4[_0x1cd3('0x439')]&&_0x4a95c4[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x4a95c4['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x44f4f0[_0x1cd3('0xd34')]=_0x4a95c4['data'][_0x1cd3('0xd34')]||[{'message':_0x4a95c4[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1b82')}];for(var _0x29e40d=0x0;_0x29e40d<_0x4a95c4['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x29e40d++){_0x3644fe[_0x1cd3('0x434')]({'title':_0x4a95c4[_0x1cd3('0x439')]['errors'][_0x29e40d]['type'],'msg':_0x4a95c4[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x29e40d]['message']});}}else{_0x3644fe['error']({'title':_0x4a95c4[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x4a95c4['status']+'\x20-\x20'+_0x4a95c4[_0x1cd3('0xd35')]:'api.intVtigerConfiguration.update','msg':_0x4a95c4[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x4a95c4[_0x1cd3('0x439')]['message']):_0x4a95c4[_0x1cd3('0x43b')]()});}});}function _0x396ec2(_0x4f8c5){_0x44f4f0[_0x1cd3('0xd34')]=[];var _0x1f61f5=_0x4f9050['confirm']()['title'](_0x1cd3('0xd3a'))[_0x1cd3('0xd3b')](_0x1cd3('0x1b83'))[_0x1cd3('0xd3d')](_0x1cd3('0x1b84'))['ok'](_0x1cd3('0xd3f'))[_0x1cd3('0x4d8')](_0x1cd3('0x674'))[_0x1cd3('0xd63')](_0x4f8c5);_0x4f9050[_0x1cd3('0x37e')](_0x1f61f5)[_0x1cd3('0x77')](function(){_0x4d9121[_0x1cd3('0xbf9')][_0x1cd3('0xa1c')]({'id':_0x44f4f0[_0x1cd3('0x1b71')]['id']})['$promise'][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x44f4f0[_0x1cd3('0x19c2')],{'id':_0x44f4f0[_0x1cd3('0x1b71')]['id']});_0x3644fe[_0x1cd3('0x473')]({'title':_0x1cd3('0x1b85'),'msg':(_0x44f4f0[_0x1cd3('0x1b71')][_0x1cd3('0x98')]||_0x1cd3('0x1b71'))+_0x1cd3('0xd41')});_0x38cda4(_0x44f4f0[_0x1cd3('0x1b71')]);})[_0x1cd3('0xfd')](function(_0x44da2c){if(_0x44da2c[_0x1cd3('0x439')]&&_0x44da2c[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x44da2c[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x44f4f0['errors']=_0x44da2c[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x44da2c[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1b86')}];for(var _0x413503=0x0;_0x413503<_0x44da2c[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x413503++){_0x3644fe[_0x1cd3('0x434')]({'title':_0x44da2c[_0x1cd3('0x439')]['errors'][_0x413503][_0x1cd3('0x424')],'msg':_0x44da2c[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x413503]['message']});}}else{_0x3644fe[_0x1cd3('0x434')]({'title':_0x44da2c['status']?_0x1cd3('0x435')+_0x44da2c[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x44da2c['statusText']:_0x1cd3('0x1b86'),'msg':_0x44da2c[_0x1cd3('0x439')]?JSON['stringify'](_0x44da2c['data']['message']):_0x44da2c[_0x1cd3('0x43a')]||_0x44da2c[_0x1cd3('0x43b')]()});}});},function(){});}function _0x362c20(_0x237a22){return _0x237a22===null?undefined:new Date(_0x237a22);}function _0x38cda4(_0x82e66f){_0x4f9050['hide'](_0x82e66f);}}}());(function(){'use strict';_0x28dc23['$inject']=[_0x1cd3('0x460'),_0x1cd3('0x53e'),_0x1cd3('0xd24'),_0x1cd3('0x3c5'),_0x1cd3('0x461'),'configuration',_0x1cd3('0x493'),'item','account','type',_0x1cd3('0x370'),_0x1cd3('0x56'),'crudPermissions'];angular[_0x1cd3('0x0')]('app.integrations')['controller'](_0x1cd3('0x1b7a'),_0x28dc23);function _0x28dc23(_0x53599d,_0x1b7c5b,_0x4ffb30,_0x49ede2,_0x490999,_0x554c61,_0xc672e,_0x3c14e4,_0x56964c,_0xe3f7e5,_0x31a972,_0x51f363,_0x5329be){var _0x3297e7=this;_0x3297e7[_0x1cd3('0x3ca')]=_0x51f363[_0x1cd3('0x5d')]();_0x3297e7['errors']=[];_0x3297e7[_0x1cd3('0x486')]=_0x1cd3('0x19fb')+_[_0x1cd3('0x19fe')](_0xe3f7e5);_0x3297e7[_0x1cd3('0x19fa')]=angular[_0x1cd3('0x429')](_0x3c14e4);_0x3297e7[_0x1cd3('0x493')]=_0xc672e;_0x3297e7['type']=_0xe3f7e5;_0x3297e7['crudPermissions']=_0x5329be;_0x3297e7['newItem']=![];if(!_0x3297e7[_0x1cd3('0x19fa')]){_0x3297e7[_0x1cd3('0x19fa')]={'type':_0x1cd3('0x961')};_0x3297e7['item'][_[_0x1cd3('0x12b1')](_0xe3f7e5)+'Id']=_0x554c61['id'];_0x3297e7[_0x1cd3('0x486')]='INTEGRATIONS.NEW_'+_[_0x1cd3('0x19fe')](_0xe3f7e5);_0x3297e7[_0x1cd3('0x19fc')]=!![];}_0x3297e7[_0x1cd3('0x19ff')]=_0x4be64d;_0x3297e7[_0x1cd3('0x547')]=_0x228b68;_0x3297e7[_0x1cd3('0x548')]=_0x1afa15;_0x3297e7[_0x1cd3('0x1a00')]=_0x3b2b7b;_0x3297e7[_0x1cd3('0x39c')]=_0x1ce5b6;_0x31a972[_0x1cd3('0xb84')][_0x1cd3('0x361')]({'nolimit':!![]})['$promise'][_0x1cd3('0x77')](function(_0x2234e2){_0x3297e7['variables']=_0x2234e2[_0x1cd3('0xf6')]?_0x2234e2[_0x1cd3('0xf6')]:[];return _0x31a972['voiceAgentReport'][_0x1cd3('0xe1c')]()[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x32fb99){_0x3297e7['voiceAgentReportColumns']=_['difference'](_[_0x1cd3('0x80')](_0x32fb99),['$promise','$resolved',_0x1cd3('0xe0d'),'updatedAt',_0x1cd3('0x1a02')]);_0x3297e7[_0x1cd3('0x1a01')][_0x1cd3('0x7b')](_0x1cd3('0x1a03'));return _0x31a972[_0x1cd3('0xa69')][_0x1cd3('0xe1c')]()['$promise'];})[_0x1cd3('0x77')](function(_0x3060f6){_0x3297e7['voiceDialReportColumns']=_[_0x1cd3('0x41f')](_[_0x1cd3('0x80')](_0x3060f6),[_0x1cd3('0x81'),_0x1cd3('0xdfc'),_0x1cd3('0xe0d'),_0x1cd3('0x12fe'),_0x1cd3('0x1a02')]);_0x3297e7[_0x1cd3('0x1a04')][_0x1cd3('0x7b')](_0x1cd3('0x1a03'));})[_0x1cd3('0xfd')](function(_0x25e1c4){_0x490999['error']({'title':_0x25e1c4[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x25e1c4['status']+_0x1cd3('0x436')+_0x25e1c4['statusText']:_0x1cd3('0x1a05'),'msg':_0x25e1c4['data']?JSON[_0x1cd3('0x438')](_0x25e1c4[_0x1cd3('0x439')]):_0x25e1c4[_0x1cd3('0x43b')]()});});_0x31a972[_0x1cd3('0xbf6')][_0x1cd3('0xdfb')]({'id':_0x56964c['id'],'ticketType':_0x554c61[_0x1cd3('0x1a06')]?_0x554c61[_0x1cd3('0x1a06')]:undefined})['$promise'][_0x1cd3('0x77')](function(_0x16fc32){_0x3297e7['accountConnected']=!![];_0x3297e7['fields']=_0x16fc32['rows']?_0x16fc32[_0x1cd3('0xf6')]:[];if(_0x3297e7[_0x1cd3('0x19fa')][_0x1cd3('0x1a08')]){_0x3297e7[_0x1cd3('0x150e')]=_[_0x1cd3('0x442')](_0x3297e7[_0x1cd3('0x3c7')],{'id':_0x3297e7[_0x1cd3('0x19fa')][_0x1cd3('0x1a08')]});}})[_0x1cd3('0xfd')](function(_0x122ada){_0x3297e7['accountConnected']=![];console[_0x1cd3('0x434')](_0x122ada);});function _0x4be64d(){_0x3297e7['errors']=[];if(_0x3297e7['customField']){_0x3297e7[_0x1cd3('0x19fa')][_0x1cd3('0x1a08')]=_0x3297e7[_0x1cd3('0x150e')]['id'];_0x3297e7[_0x1cd3('0x19fa')][_0x1cd3('0x1a09')]=_0x3297e7[_0x1cd3('0x150e')][_0x1cd3('0x98')];_0x3297e7[_0x1cd3('0x19fa')][_0x1cd3('0x150e')]=_0x3297e7['customField'][_0x1cd3('0x8f6')];}_0x31a972[_0x1cd3('0xbfd')][_0x1cd3('0xd6d')](_0x3297e7[_0x1cd3('0x19fa')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x265b53){_0x3297e7['items'][_0x1cd3('0x621')](_0x265b53);_0x490999['success']({'title':_[_0x1cd3('0x12b1')](_0xe3f7e5)+_0x1cd3('0x1a0a'),'msg':_[_0x1cd3('0x12b1')](_0xe3f7e5)+'\x20has\x20been\x20created!'});_0x1ce5b6();})['catch'](function(_0x2b454a){console[_0x1cd3('0x434')](_0x2b454a);_0x3297e7[_0x1cd3('0xd34')]=_0x2b454a[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x2b454a['toString'](),'type':_0x1cd3('0x1a0b')}];});}function _0x228b68(){_0x3297e7['errors']=[];if(_0x3297e7[_0x1cd3('0x150e')]){_0x3297e7[_0x1cd3('0x19fa')][_0x1cd3('0x1a08')]=_0x3297e7['customField']['id'];_0x3297e7['item']['nameField']=_0x3297e7['customField'][_0x1cd3('0x98')];_0x3297e7[_0x1cd3('0x19fa')]['customField']=_0x3297e7[_0x1cd3('0x150e')][_0x1cd3('0x8f6')];}_0x31a972[_0x1cd3('0xbfd')][_0x1cd3('0x378')]({'id':_0x3297e7[_0x1cd3('0x19fa')]['id']},_0x3297e7['item'])[_0x1cd3('0x81')]['then'](function(_0x3889ec){var _0x4ddb1f=_[_0x1cd3('0x442')](_0x3297e7[_0x1cd3('0x493')],{'id':_0x3889ec['id']});if(_0x4ddb1f){_[_0x1cd3('0xf2')](_0x4ddb1f,_0x3889ec);}_0x490999[_0x1cd3('0x473')]({'title':_[_0x1cd3('0x12b1')](_0xe3f7e5)+_0x1cd3('0x1a50'),'msg':_[_0x1cd3('0x12b1')](_0xe3f7e5)+'\x20has\x20been\x20saved!'});_0x1ce5b6();})['catch'](function(_0x5018e9){console[_0x1cd3('0x434')](_0x5018e9);_0x3297e7[_0x1cd3('0xd34')]=_0x5018e9['data']['errors']||[{'message':_0x5018e9[_0x1cd3('0x43b')](),'type':'api.intItem.update'}];});}function _0x1afa15(_0x231a74){_0x3297e7[_0x1cd3('0xd34')]=[];var _0x56cbb5=_0x49ede2[_0x1cd3('0xd39')]()['title'](_0x1cd3('0xd3a'))[_0x1cd3('0xd3b')]('The\x20'+_0xe3f7e5+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x1a0d')+_['capitalize'](_0xe3f7e5))['ok'](_0x1cd3('0xd3f'))[_0x1cd3('0x4d8')](_0x1cd3('0x674'))[_0x1cd3('0xd63')](_0x231a74);_0x49ede2['show'](_0x56cbb5)[_0x1cd3('0x77')](function(){_0x31a972['intVtigerField']['delete']({'id':_0x3297e7[_0x1cd3('0x19fa')]['id']})['$promise']['then'](function(){_[_0x1cd3('0x383')](_0x3297e7[_0x1cd3('0x493')],{'id':_0x3297e7[_0x1cd3('0x19fa')]['id']});_0x490999[_0x1cd3('0x473')]({'title':_[_0x1cd3('0x12b1')](_0xe3f7e5)+_0x1cd3('0x1a0e'),'msg':_[_0x1cd3('0x12b1')](_0xe3f7e5)+_0x1cd3('0xd41')});_0x1ce5b6();})[_0x1cd3('0xfd')](function(_0x9910f4){console[_0x1cd3('0x434')](_0x9910f4);_0x3297e7[_0x1cd3('0xd34')]=_0x9910f4[_0x1cd3('0x439')]['errors']||[{'message':_0x9910f4[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1a76')}];});},function(){});}function _0x3b2b7b(){if(_0x3297e7[_0x1cd3('0x19fa')]['variableName']!==undefined){return _0x3297e7[_0x1cd3('0x19fa')][_0x1cd3('0x1a0f')];}else{return _0x1cd3('0x1a10');}};function _0x1ce5b6(){_0x49ede2[_0x1cd3('0x39d')]();}}}());(function(){'use strict';_0x92d1fc[_0x1cd3('0xc')]=[_0x1cd3('0x53e'),_0x1cd3('0xd24'),_0x1cd3('0x3c5'),_0x1cd3('0x372'),_0x1cd3('0x3f7'),_0x1cd3('0x463'),_0x1cd3('0xc49'),'api',_0x1cd3('0x461'),_0x1cd3('0x56'),_0x1cd3('0x1b62'),'userProfileSection'];angular['module'](_0x1cd3('0x35'))[_0x1cd3('0x39b')](_0x1cd3('0x1b87'),_0x92d1fc);function _0x92d1fc(_0x12f2ea,_0x27967b,_0x5dcbb7,_0x46cbce,_0x175ee2,_0x541900,_0x278ce6,_0x3ec2f7,_0x4f93e5,_0x520f0e,_0x261a90,_0x2496a4){var _0x3b6f3a=this;_0x3b6f3a[_0x1cd3('0x3ca')]=_0x520f0e['getCurrentUser']();_0x3b6f3a[_0x1cd3('0x463')]=_0x541900;_0x3b6f3a[_0x1cd3('0xc49')]=_0x278ce6;_0x3b6f3a[_0x1cd3('0xd29')]=_0x3b6f3a[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x3b6f3a[_0x1cd3('0xd22')]=_0x27967b[_0x1cd3('0x3b0')]()+_0x1cd3('0x11cf')+_0x27967b[_0x1cd3('0x3ac')]();_0x3b6f3a[_0x1cd3('0x1b62')]=_0x261a90||_0x12f2ea['params'][_0x1cd3('0x1b62')]||{};_0x3b6f3a['userProfileSection']=_0x2496a4&&_0x2496a4[_0x1cd3('0x466')]==0x1?_0x2496a4['rows'][0x0]:null;_0x3b6f3a[_0x1cd3('0xd27')]=_0x520f0e[_0x1cd3('0xd44')](_0x3b6f3a['userProfileSection']?_0x3b6f3a[_0x1cd3('0x390')]['crudPermissions']:null);_0x3b6f3a[_0x1cd3('0xd28')]={};_0x3b6f3a['selectedTab']=_0x12f2ea[_0x1cd3('0x36a')][_0x1cd3('0x1418')]||0x0;_0x3b6f3a[_0x1cd3('0x11d0')]=_0x4f93e5['info'];_0x3b6f3a[_0x1cd3('0x1b88')]=_0x4550ee;_0x3b6f3a['saveVtigerAccount']=_0x36cc31;function _0x4550ee(){_0x12f2ea['go'](_0x1cd3('0x1b89'),{},{'reload':_0x1cd3('0x1b89')});}function _0x36cc31(){_0x3ec2f7[_0x1cd3('0xbf6')]['update']({'id':_0x3b6f3a['vtigerAccount']['id']},_0x3b6f3a[_0x1cd3('0x1b62')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x4f93e5[_0x1cd3('0x473')]({'title':_0x1cd3('0x1b8a'),'msg':_0x3b6f3a['vtigerAccount']['name']?_0x3b6f3a[_0x1cd3('0x1b62')][_0x1cd3('0x98')]+_0x1cd3('0xe65'):''});})['catch'](function(_0x553d5a){_0x4f93e5['error']({'title':_0x553d5a[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x553d5a['status']+_0x1cd3('0x436')+_0x553d5a[_0x1cd3('0xd35')]:_0x1cd3('0x1b8b'),'msg':_0x553d5a[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x553d5a[_0x1cd3('0x439')]):_0x553d5a[_0x1cd3('0x43b')]()});});}}}());(function(){'use strict';_0x294850[_0x1cd3('0xc')]=['$scope',_0x1cd3('0x371'),_0x1cd3('0x53e'),_0x1cd3('0x969'),'$mdDialog',_0x1cd3('0x372'),_0x1cd3('0x3e7'),_0x1cd3('0x3f7'),_0x1cd3('0x1b61'),_0x1cd3('0x38a'),_0x1cd3('0x390'),'api',_0x1cd3('0x2dd'),'toasty',_0x1cd3('0x56'),'license','setting'];angular['module'](_0x1cd3('0x35'))['controller'](_0x1cd3('0x1b8c'),_0x294850);function _0x294850(_0x13fba3,_0x1e7ee9,_0x2c9581,_0x3a9e75,_0x20201f,_0x4e4b5d,_0x4f12a5,_0xb5da03,_0x4fd743,_0x5f15b5,_0x11d05d,_0x2bdd02,_0x1433dc,_0x45e5e1,_0x463795,_0x3c6f35,_0x1e68d2){var _0xe5b34a=this;_0xe5b34a[_0x1cd3('0x463')]=_0x3c6f35;_0xe5b34a['setting']=_0x1e68d2;_0xe5b34a[_0x1cd3('0x3ca')]=_0x463795[_0x1cd3('0x5d')]();_0xe5b34a[_0x1cd3('0x1b61')]=_0x4fd743||{'count':0x0,'rows':[]};_0xe5b34a[_0x1cd3('0x38a')]=_0x5f15b5;_0xe5b34a[_0x1cd3('0x390')]=_0x11d05d&&_0x11d05d[_0x1cd3('0x466')]==0x1?_0x11d05d['rows'][0x0]:null;_0xe5b34a[_0x1cd3('0xd27')]=_0x463795[_0x1cd3('0xd44')](_0xe5b34a[_0x1cd3('0x390')]?_0xe5b34a[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);_0xe5b34a[_0x1cd3('0xd45')]='vtigerAccounts';_0xe5b34a[_0x1cd3('0xd46')]='';_0xe5b34a[_0x1cd3('0xd47')]=null;_0xe5b34a[_0x1cd3('0x1b8d')]=[];_0xe5b34a[_0x1cd3('0x3d4')]={'fields':_0x1cd3('0x1a7'),'limit':0xa,'page':0x1};_0xe5b34a[_0x1cd3('0x1171')]=_0x1cfca5;_0xe5b34a['testtestintegrationaccount']=_0x21337d;_0xe5b34a[_0x1cd3('0xecc')]=_0x210c77;_0xe5b34a[_0x1cd3('0x473')]=_0x648b58;_0xe5b34a[_0x1cd3('0x1b8e')]=_0x5cdbb7;_0xe5b34a['createOrEditVtigerAccount']=_0x3aa184;_0xe5b34a[_0x1cd3('0x1b68')]=_0x1a9952;_0xe5b34a[_0x1cd3('0x1b8f')]=_0x2a1703;_0xe5b34a[_0x1cd3('0x1b90')]=_0x1c853c;_0xe5b34a['deselectVtigerAccounts']=_0x1d2538;_0xe5b34a['selectAllVtigerAccounts']=_0x290f05;function _0x1cfca5(_0x40f7ba,_0x12ac5d){_0x2c9581['go']('app.integrations.vtigerAccounts.edit',{'id':_0x40f7ba['id'],'vtigerAccount':_0x40f7ba,'crudPermissions':_0xe5b34a[_0x1cd3('0xd27')]});}function _0x21337d(_0x1e1857,_0x299887){return _0x2bdd02[_0x1cd3('0xbf6')][_0x1cd3('0xdfb')]({'id':_0x1e1857['id'],'test':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x45e5e1[_0x1cd3('0x473')]({'title':_0x1cd3('0x1b91'),'msg':_0x1cd3('0x1a28')});})[_0x1cd3('0xfd')](function(_0x2fbce7){_0x45e5e1[_0x1cd3('0x434')]({'title':'VtigerAccount\x20properly\x20tested','msg':_0x2fbce7['data']?_0x2fbce7['data'][_0x1cd3('0x43a')]?_0x2fbce7[_0x1cd3('0x439')]['message']:JSON[_0x1cd3('0x438')](_0x2fbce7[_0x1cd3('0x439')]):_0x2fbce7[_0x1cd3('0x43b')]()});});}function _0x210c77(_0x378f18,_0x5b83cb){var _0x5bf1e5=_0x20201f['confirm']()[_0x1cd3('0x486')](_0x1cd3('0xd4f')+_['startCase'](_0x1cd3('0x1b62'))+'?')[_0x1cd3('0xd60')](_0x1cd3('0xd51')+(_0x378f18[_0x1cd3('0x98')]||'vtigerAccount')+'</b>'+'\x20will\x20be\x20deleted.')[_0x1cd3('0xd3d')]('delete\x20vtigerAccount')['targetEvent'](_0x5b83cb)['ok']('OK')['cancel'](_0x1cd3('0xd55'));_0x20201f[_0x1cd3('0x37e')](_0x5bf1e5)[_0x1cd3('0x77')](function(){_0x1a9952(_0x378f18);},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}var _0x3cf83b=!![];var _0x40d7a8=0x1;_0x13fba3['$watch'](_0x1cd3('0xd56'),function(_0x49e864,_0x3f88b3){if(_0x3cf83b){_0x4f12a5(function(){_0x3cf83b=![];});}else{if(!_0x3f88b3){_0x40d7a8=_0xe5b34a[_0x1cd3('0x3d4')]['page'];}if(_0x49e864!==_0x3f88b3){_0xe5b34a[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}if(!_0x49e864){_0xe5b34a[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0x40d7a8;}_0xe5b34a[_0x1cd3('0x1b8e')]();}});function _0x648b58(_0x2852c2){_0xe5b34a['vtigerAccounts']=_0x2852c2||{'count':0x0,'rows':[]};}function _0x5cdbb7(){_0xe5b34a['query'][_0x1cd3('0xd57')]=(_0xe5b34a[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0xe5b34a[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];if(_0x463795[_0x1cd3('0x57')]('admin')){_0xe5b34a['promise']=_0x2bdd02[_0x1cd3('0xbf6')]['get'](_0xe5b34a[_0x1cd3('0x3d4')],_0x648b58)['$promise'];}else{_0xe5b34a[_0x1cd3('0x3d4')]['id']=_0xe5b34a[_0x1cd3('0x38a')]['id'];_0xe5b34a['query'][_0x1cd3('0xd58')]=_0x1cd3('0x1b92');_0xe5b34a[_0x1cd3('0x539')]=_0x2bdd02[_0x1cd3('0x38a')][_0x1cd3('0xd59')](_0xe5b34a[_0x1cd3('0x3d4')],_0x648b58)[_0x1cd3('0x81')];}}function _0x3aa184(_0x1d2eed,_0x1425a1){_0x20201f[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1b63'),'controllerAs':'vm','templateUrl':'app/main/apps/integrations/views/vtigerAccounts/create/dialog.html','parent':angular[_0x1cd3('0x37f')](_0x4e4b5d[_0x1cd3('0x380')]),'targetEvent':_0x1d2eed,'clickOutsideToClose':!![],'locals':{'vtigerAccount':_0x1425a1,'vtigerAccounts':_0xe5b34a['vtigerAccounts'][_0x1cd3('0xf6')],'license':_0xe5b34a['license'],'setting':_0xe5b34a['setting'],'crudPermissions':_0xe5b34a[_0x1cd3('0xd27')]}});}function _0x1a9952(_0x27baac){_0x2bdd02[_0x1cd3('0xbf6')]['delete']({'id':_0x27baac['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0xe5b34a[_0x1cd3('0x1b61')]['rows'],{'id':_0x27baac['id']});_0xe5b34a[_0x1cd3('0x1b61')][_0x1cd3('0x466')]-=0x1;if(!_0xe5b34a[_0x1cd3('0x1b61')][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){_0xe5b34a[_0x1cd3('0x1b8e')]();}_0x45e5e1['success']({'title':_[_0x1cd3('0xd50')](_0x1cd3('0x1b93'))+_0x1cd3('0xd5c'),'msg':_0x27baac['name']?_0x27baac['name']+_0x1cd3('0xd41'):''});})['catch'](function(_0x35109b){if(_0x35109b['data']&&_0x35109b[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x35109b[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0xe5b34a[_0x1cd3('0xd34')]=_0x35109b['data'][_0x1cd3('0xd34')]||[{'message':_0x35109b['toString'](),'type':_0x1cd3('0x1b94')}];for(var _0x5ba904=0x0;_0x5ba904<_0x35109b[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0x5ba904++){_0x45e5e1[_0x1cd3('0x434')]({'title':_0x35109b[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x5ba904][_0x1cd3('0x424')],'msg':_0x35109b[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x5ba904][_0x1cd3('0x43a')]});}}else{_0x45e5e1[_0x1cd3('0x434')]({'title':_0x35109b[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x35109b[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x35109b[_0x1cd3('0xd35')]:'SYSTEM:DELETEintVtigerAccount','msg':_0x35109b['data']?JSON[_0x1cd3('0x438')](_0x35109b['data'][_0x1cd3('0x43a')]):_0x35109b[_0x1cd3('0x43a')]||_0x35109b[_0x1cd3('0x43b')]()});}});}function _0x2a1703(){var _0x51a777=angular[_0x1cd3('0x429')](_0xe5b34a[_0x1cd3('0x1b8d')]);_0xe5b34a[_0x1cd3('0x1b8d')]=[];return _0x51a777;}function _0x1c853c(_0x142a8f){var _0x6cd63=_0x20201f[_0x1cd3('0xd39')]()['title'](_0x1cd3('0x1b95'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0xe5b34a[_0x1cd3('0x1b8d')][_0x1cd3('0x7a')]+_0x1cd3('0xd61')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')]('delete\x20VtigerAccounts')[_0x1cd3('0xd63')](_0x142a8f)['ok']('OK')[_0x1cd3('0x4d8')]('CANCEL');_0x20201f['show'](_0x6cd63)[_0x1cd3('0x77')](function(){_0xe5b34a[_0x1cd3('0x1b8d')][_0x1cd3('0x394')](function(_0x1264b7){_0x1a9952(_0x1264b7);});_0xe5b34a[_0x1cd3('0x1b8d')]=[];});}function _0x1d2538(){_0xe5b34a[_0x1cd3('0x1b8d')]=[];}function _0x290f05(){_0xe5b34a[_0x1cd3('0x1b8d')]=_0xe5b34a[_0x1cd3('0x1b61')][_0x1cd3('0xf6')];}}}());(function(){'use strict';_0x1f1442[_0x1cd3('0xc')]=[_0x1cd3('0x460'),'$state',_0x1cd3('0xd24'),'$mdDialog','$q','$translate',_0x1cd3('0x461'),_0x1cd3('0x1b96'),'zendeskAccount','api',_0x1cd3('0x56'),_0x1cd3('0x463'),_0x1cd3('0xc49'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x35'))[_0x1cd3('0x39b')]('CreateOrEditZendeskAccountDialogController',_0x1f1442);function _0x1f1442(_0x211665,_0x588b37,_0x45adab,_0x31d14c,_0x37a116,_0x465445,_0x51a768,_0x3c118c,_0x1d9740,_0x5d15fd,_0x32b19c,_0x49ca86,_0xbe4cb8,_0x459c2a){var _0x3784eb=this;_0x3784eb[_0x1cd3('0x3ca')]=_0x32b19c['getCurrentUser']();_0x3784eb[_0x1cd3('0xd34')]=[];_0x3784eb[_0x1cd3('0xc49')]=_0xbe4cb8;_0x3784eb[_0x1cd3('0x463')]=_0x49ca86;_0x3784eb[_0x1cd3('0xd27')]=_0x459c2a;_0x3784eb['hasModulePermissions']={};_0x3784eb['passwordPattern']=_0x3784eb[_0x1cd3('0xc49')]&&_0x3784eb[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x3784eb[_0x1cd3('0x486')]=_0x1cd3('0x1b97');_0x3784eb[_0x1cd3('0x1b98')]=angular[_0x1cd3('0x429')](_0x1d9740);_0x3784eb[_0x1cd3('0x1b96')]=_0x3c118c;_0x3784eb[_0x1cd3('0x1b99')]=![];if(!_0x3784eb[_0x1cd3('0x1b98')]){_0x3784eb['zendeskAccount']={'type':_0x1cd3('0x19a7'),'authType':_0x1cd3('0x5ae'),'serverUrl':_0x45adab[_0x1cd3('0x3b0')]()+_0x1cd3('0x11cf')+_0x45adab[_0x1cd3('0x3ac')]()+(_0x45adab['port']()?':'+_0x45adab[_0x1cd3('0x3b1')]():'')};_0x3784eb[_0x1cd3('0x486')]=_0x1cd3('0x1b9a');_0x3784eb[_0x1cd3('0x1b99')]=!![];}_0x3784eb[_0x1cd3('0x1b9b')]=_0x5a028d;_0x3784eb['saveZendeskAccount']=_0x5e908b;_0x3784eb[_0x1cd3('0x1b9c')]=_0x412da2;_0x3784eb[_0x1cd3('0xd31')]=_0x18901a;_0x3784eb[_0x1cd3('0x39c')]=_0xcc52fe;function _0x5a028d(){_0x3784eb[_0x1cd3('0xd34')]=[];_0x5d15fd['intZendeskAccount'][_0x1cd3('0xd6d')](_0x3784eb[_0x1cd3('0x1b98')])['$promise']['then'](function(_0x5a74bb){_0x3784eb[_0x1cd3('0x1b96')]['unshift'](_0x5a74bb['toJSON']());_0x51a768[_0x1cd3('0x473')]({'title':_0x1cd3('0x1b9d'),'msg':_0x3784eb['zendeskAccount'][_0x1cd3('0x98')]?_0x3784eb['zendeskAccount'][_0x1cd3('0x98')]+'\x20has\x20been\x20created!':''});_0xcc52fe(_0x5a74bb);})[_0x1cd3('0xfd')](function(_0x193dcc){if(_0x193dcc[_0x1cd3('0x439')]&&_0x193dcc[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x193dcc[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x3784eb[_0x1cd3('0xd34')]=_0x193dcc[_0x1cd3('0x439')]['errors']||[{'message':_0x193dcc[_0x1cd3('0x43b')](),'type':'api.intZendeskAccount.save'}];for(var _0x16d985=0x0;_0x16d985<_0x193dcc['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x16d985+=0x1){_0x51a768[_0x1cd3('0x434')]({'title':_0x193dcc[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x16d985][_0x1cd3('0x424')],'msg':_0x193dcc[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x16d985][_0x1cd3('0x43a')]});}}else{_0x51a768[_0x1cd3('0x434')]({'title':_0x193dcc[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x193dcc[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x193dcc[_0x1cd3('0xd35')]:_0x1cd3('0x1b9e'),'msg':_0x193dcc['data']?JSON[_0x1cd3('0x438')](_0x193dcc['data']['message']):_0x193dcc[_0x1cd3('0x43b')]()});}});}function _0x5e908b(){_0x3784eb[_0x1cd3('0xd34')]=[];_0x5d15fd[_0x1cd3('0x1b9f')]['update']({'id':_0x3784eb[_0x1cd3('0x1b98')]['id']},_0x3784eb[_0x1cd3('0x1b98')])['$promise'][_0x1cd3('0x77')](function(_0x491ef2){var _0x23de61=_[_0x1cd3('0x442')](_0x3784eb[_0x1cd3('0x1b96')],{'id':_0x491ef2['id']});if(_0x23de61){_[_0x1cd3('0xf2')](_0x23de61,_[_0x1cd3('0x5e8')](_0x491ef2[_0x1cd3('0xd32')](),_[_0x1cd3('0x80')](_0x23de61)));}_0x51a768[_0x1cd3('0x473')]({'title':_0x1cd3('0x1ba0'),'msg':_0x3784eb['zendeskAccount'][_0x1cd3('0x98')]?_0x3784eb[_0x1cd3('0x1b98')][_0x1cd3('0x98')]+_0x1cd3('0xd37'):''});_0xcc52fe(_0x491ef2);})['catch'](function(_0xa76190){if(_0xa76190[_0x1cd3('0x439')]&&_0xa76190[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0xa76190['data'][_0x1cd3('0xd34')]['length']){_0x3784eb[_0x1cd3('0xd34')]=_0xa76190['data'][_0x1cd3('0xd34')]||[{'message':_0xa76190[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1ba1')}];for(var _0x30cd42=0x0;_0x30cd42<_0xa76190['data']['errors'][_0x1cd3('0x7a')];_0x30cd42++){_0x51a768[_0x1cd3('0x434')]({'title':_0xa76190[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x30cd42][_0x1cd3('0x424')],'msg':_0xa76190['data'][_0x1cd3('0xd34')][_0x30cd42]['message']});}}else{_0x51a768['error']({'title':_0xa76190[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0xa76190[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0xa76190['statusText']:_0x1cd3('0x1ba1'),'msg':_0xa76190[_0x1cd3('0x439')]?JSON['stringify'](_0xa76190[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0xa76190['toString']()});}});}function _0x412da2(_0x1d46e7){_0x3784eb[_0x1cd3('0xd34')]=[];var _0x24a908=_0x31d14c[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xd3a'))[_0x1cd3('0xd3b')](_0x1cd3('0x1ba2'))['ariaLabel'](_0x1cd3('0x1ba3'))['ok'](_0x1cd3('0xd3f'))[_0x1cd3('0x4d8')](_0x1cd3('0x674'))[_0x1cd3('0xd63')](_0x1d46e7);_0x31d14c[_0x1cd3('0x37e')](_0x24a908)['then'](function(){_0x5d15fd[_0x1cd3('0x1b9f')]['delete']({'id':_0x3784eb['zendeskAccount']['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x3784eb['zendeskAccounts'],{'id':_0x3784eb['zendeskAccount']['id']});_0x51a768[_0x1cd3('0x473')]({'title':_0x1cd3('0x1ba4'),'msg':(_0x3784eb[_0x1cd3('0x1b98')][_0x1cd3('0x98')]||_0x1cd3('0x1b98'))+'\x20has\x20been\x20deleted!'});_0xcc52fe(_0x3784eb[_0x1cd3('0x1b98')]);})['catch'](function(_0x3d3c1a){if(_0x3d3c1a[_0x1cd3('0x439')]&&_0x3d3c1a['data'][_0x1cd3('0xd34')]&&_0x3d3c1a[_0x1cd3('0x439')]['errors']['length']){_0x3784eb[_0x1cd3('0xd34')]=_0x3d3c1a[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x3d3c1a['toString'](),'type':_0x1cd3('0x1ba5')}];for(var _0x150a7d=0x0;_0x150a7d<_0x3d3c1a['data']['errors'][_0x1cd3('0x7a')];_0x150a7d++){_0x51a768['error']({'title':_0x3d3c1a[_0x1cd3('0x439')]['errors'][_0x150a7d][_0x1cd3('0x424')],'msg':_0x3d3c1a[_0x1cd3('0x439')]['errors'][_0x150a7d]['message']});}}else{_0x51a768[_0x1cd3('0x434')]({'title':_0x3d3c1a['status']?_0x1cd3('0x435')+_0x3d3c1a[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x3d3c1a[_0x1cd3('0xd35')]:_0x1cd3('0x1ba5'),'msg':_0x3d3c1a['data']?JSON[_0x1cd3('0x438')](_0x3d3c1a['data']['message']):_0x3d3c1a['message']||_0x3d3c1a['toString']()});}});},function(){});}function _0x18901a(_0x8c6937){return _0x8c6937===null?undefined:new Date(_0x8c6937);}function _0xcc52fe(_0x4fcf68){_0x31d14c['hide'](_0x4fcf68);}}}());(function(){'use strict';_0x5ab116[_0x1cd3('0xc')]=['$scope',_0x1cd3('0x53e'),_0x1cd3('0xd24'),'$mdDialog',_0x1cd3('0x461'),_0x1cd3('0x19f9'),_0x1cd3('0x493'),_0x1cd3('0x19fa'),_0x1cd3('0x15d3'),'type',_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0xd27')];angular['module'](_0x1cd3('0x35'))[_0x1cd3('0x39b')](_0x1cd3('0x1ba6'),_0x5ab116);function _0x5ab116(_0x255bd3,_0x4cbaa0,_0x2cd50d,_0x19b27a,_0x38c74a,_0xc33754,_0x4d8865,_0x1f65c6,_0x5d22f1,_0x285ecf,_0x36aa38,_0x17ed5b,_0x3196e1){var _0x5676c0=this;_0x5676c0[_0x1cd3('0x3ca')]=_0x17ed5b[_0x1cd3('0x5d')]();_0x5676c0['errors']=[];_0x5676c0['title']=_0x1cd3('0x19fb')+_[_0x1cd3('0x19fe')](_0x285ecf);_0x5676c0[_0x1cd3('0x19fa')]=angular[_0x1cd3('0x429')](_0x1f65c6);_0x5676c0[_0x1cd3('0x493')]=_0x4d8865;_0x5676c0['type']=_0x285ecf;_0x5676c0[_0x1cd3('0xd27')]=_0x3196e1;_0x5676c0[_0x1cd3('0x19fc')]=![];if(!_0x5676c0[_0x1cd3('0x19fa')]){_0x5676c0[_0x1cd3('0x19fa')]={'type':_0x1cd3('0x961')};_0x5676c0[_0x1cd3('0x19fa')][_[_0x1cd3('0x12b1')](_0x285ecf)+'Id']=_0xc33754['id'];_0x5676c0[_0x1cd3('0x486')]=_0x1cd3('0x19fd')+_[_0x1cd3('0x19fe')](_0x285ecf);_0x5676c0['newItem']=!![];}_0x5676c0['addNewItem']=_0x45f6b2;_0x5676c0[_0x1cd3('0x547')]=_0x10547d;_0x5676c0[_0x1cd3('0x548')]=_0x249591;_0x5676c0[_0x1cd3('0x1a00')]=_0x557ee7;_0x5676c0[_0x1cd3('0x39c')]=_0x4a87dd;_0x36aa38['variable']['get']({'nolimit':!![]})[_0x1cd3('0x81')]['then'](function(_0xc4496b){_0x5676c0[_0x1cd3('0xef7')]=_0xc4496b[_0x1cd3('0xf6')]?_0xc4496b['rows']:[];return _0x36aa38[_0x1cd3('0xa6d')][_0x1cd3('0xe1c')]()[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x3540d9){_0x5676c0['voiceAgentReportColumns']=_['difference'](_[_0x1cd3('0x80')](_0x3540d9),[_0x1cd3('0x81'),_0x1cd3('0xdfc'),_0x1cd3('0xe0d'),_0x1cd3('0x12fe'),_0x1cd3('0x1a02')]);_0x5676c0['voiceAgentReportColumns'][_0x1cd3('0x7b')](_0x1cd3('0x1a03'));return _0x36aa38[_0x1cd3('0xa69')][_0x1cd3('0xe1c')]()['$promise'];})[_0x1cd3('0x77')](function(_0x188c91){_0x5676c0[_0x1cd3('0x1a04')]=_['difference'](_['keys'](_0x188c91),['$promise',_0x1cd3('0xdfc'),_0x1cd3('0xe0d'),'updatedAt',_0x1cd3('0x1a02')]);_0x5676c0[_0x1cd3('0x1a04')]['push'](_0x1cd3('0x1a03'));})[_0x1cd3('0xfd')](function(_0x5e7623){_0x38c74a['error']({'title':_0x5e7623[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x5e7623['status']+'\x20-\x20'+_0x5e7623[_0x1cd3('0xd35')]:_0x1cd3('0x1a05'),'msg':_0x5e7623['data']?JSON[_0x1cd3('0x438')](_0x5e7623[_0x1cd3('0x439')]):_0x5e7623[_0x1cd3('0x43b')]()});});_0x36aa38[_0x1cd3('0x1b9f')][_0x1cd3('0xdfb')]({'id':_0x5d22f1['id'],'ticketType':_0xc33754[_0x1cd3('0x1a06')]?_0xc33754[_0x1cd3('0x1a06')]:undefined})['$promise'][_0x1cd3('0x77')](function(_0x5c9708){_0x5676c0[_0x1cd3('0x1a07')]=!![];_0x5676c0[_0x1cd3('0x3c7')]=_0x5c9708['rows']?_0x5c9708[_0x1cd3('0xf6')]:[];if(_0x5676c0[_0x1cd3('0x19fa')][_0x1cd3('0x1a08')]){_0x5676c0['customField']=_[_0x1cd3('0x442')](_0x5676c0[_0x1cd3('0x3c7')],{'id':_0x5676c0[_0x1cd3('0x19fa')][_0x1cd3('0x1a08')]});}})[_0x1cd3('0xfd')](function(_0x4a8fc1){_0x5676c0[_0x1cd3('0x1a07')]=![];console[_0x1cd3('0x434')](_0x4a8fc1);});function _0x45f6b2(){_0x5676c0[_0x1cd3('0xd34')]=[];if(_0x5676c0['customField']){_0x5676c0[_0x1cd3('0x19fa')]['idField']=_0x5676c0['customField']['id'];_0x5676c0['item'][_0x1cd3('0x1a09')]=_0x5676c0[_0x1cd3('0x150e')]['name'];_0x5676c0[_0x1cd3('0x19fa')]['customField']=_0x5676c0[_0x1cd3('0x150e')][_0x1cd3('0x8f6')];}_0x36aa38[_0x1cd3('0x1ba7')]['save'](_0x5676c0[_0x1cd3('0x19fa')])[_0x1cd3('0x81')]['then'](function(_0x320936){_0x5676c0[_0x1cd3('0x493')][_0x1cd3('0x621')](_0x320936);_0x38c74a[_0x1cd3('0x473')]({'title':_[_0x1cd3('0x12b1')](_0x285ecf)+_0x1cd3('0x1a0a'),'msg':_[_0x1cd3('0x12b1')](_0x285ecf)+_0x1cd3('0xd33')});_0x4a87dd();})[_0x1cd3('0xfd')](function(_0x312b42){console[_0x1cd3('0x434')](_0x312b42);_0x5676c0[_0x1cd3('0xd34')]=_0x312b42[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x312b42[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1a0b')}];});}function _0x10547d(){_0x5676c0['errors']=[];if(_0x5676c0[_0x1cd3('0x150e')]){_0x5676c0[_0x1cd3('0x19fa')][_0x1cd3('0x1a08')]=_0x5676c0['customField']['id'];_0x5676c0['item'][_0x1cd3('0x1a09')]=_0x5676c0[_0x1cd3('0x150e')]['name'];_0x5676c0[_0x1cd3('0x19fa')][_0x1cd3('0x150e')]=_0x5676c0[_0x1cd3('0x150e')][_0x1cd3('0x8f6')];}_0x36aa38['intZendeskField'][_0x1cd3('0x378')]({'id':_0x5676c0['item']['id']},_0x5676c0[_0x1cd3('0x19fa')])['$promise'][_0x1cd3('0x77')](function(_0x5a9921){var _0x1ee269=_[_0x1cd3('0x442')](_0x5676c0['items'],{'id':_0x5a9921['id']});if(_0x1ee269){_['merge'](_0x1ee269,_0x5a9921);}_0x38c74a['success']({'title':_[_0x1cd3('0x12b1')](_0x285ecf)+_0x1cd3('0x1a50'),'msg':_[_0x1cd3('0x12b1')](_0x285ecf)+'\x20has\x20been\x20saved!'});_0x4a87dd();})[_0x1cd3('0xfd')](function(_0x106be5){console[_0x1cd3('0x434')](_0x106be5);_0x5676c0[_0x1cd3('0xd34')]=_0x106be5['data'][_0x1cd3('0xd34')]||[{'message':_0x106be5[_0x1cd3('0x43b')](),'type':'api.intItem.update'}];});}function _0x249591(_0x51a146){_0x5676c0[_0x1cd3('0xd34')]=[];var _0xcf8c23=_0x19b27a[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xd3a'))[_0x1cd3('0xd3b')](_0x1cd3('0x158a')+_0x285ecf+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')]('Delete\x20'+_[_0x1cd3('0x12b1')](_0x285ecf))['ok'](_0x1cd3('0xd3f'))['cancel'](_0x1cd3('0x674'))['targetEvent'](_0x51a146);_0x19b27a[_0x1cd3('0x37e')](_0xcf8c23)[_0x1cd3('0x77')](function(){_0x36aa38[_0x1cd3('0x1ba7')]['delete']({'id':_0x5676c0['item']['id']})['$promise'][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x5676c0['items'],{'id':_0x5676c0[_0x1cd3('0x19fa')]['id']});_0x38c74a[_0x1cd3('0x473')]({'title':_[_0x1cd3('0x12b1')](_0x285ecf)+_0x1cd3('0x1a0e'),'msg':_[_0x1cd3('0x12b1')](_0x285ecf)+'\x20has\x20been\x20deleted!'});_0x4a87dd();})[_0x1cd3('0xfd')](function(_0x58d4a8){console[_0x1cd3('0x434')](_0x58d4a8);_0x5676c0[_0x1cd3('0xd34')]=_0x58d4a8[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x58d4a8[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1a76')}];});},function(){});}function _0x557ee7(){if(_0x5676c0[_0x1cd3('0x19fa')][_0x1cd3('0x1a0f')]!==undefined){return _0x5676c0['item']['variableName'];}else{return _0x1cd3('0x1a10');}};function _0x4a87dd(){_0x19b27a[_0x1cd3('0x39d')]();}}}());(function(){'use strict';_0x5284f0[_0x1cd3('0xc')]=[_0x1cd3('0x53e'),'$location','$mdDialog',_0x1cd3('0x372'),_0x1cd3('0x3f7'),_0x1cd3('0x463'),_0x1cd3('0xc49'),'api','toasty','Auth',_0x1cd3('0x1b98'),_0x1cd3('0x390')];angular[_0x1cd3('0x0')](_0x1cd3('0x35'))[_0x1cd3('0x39b')](_0x1cd3('0x1ba8'),_0x5284f0);function _0x5284f0(_0x48b487,_0x26c781,_0x8efe3b,_0x38add4,_0x475f9e,_0x2d22f3,_0x24ca45,_0x50496c,_0x564fd7,_0x34a15d,_0x21ee08,_0x2699ea){var _0x42ee14=this;_0x42ee14[_0x1cd3('0x3ca')]=_0x34a15d[_0x1cd3('0x5d')]();_0x42ee14[_0x1cd3('0x463')]=_0x2d22f3;_0x42ee14[_0x1cd3('0xc49')]=_0x24ca45;_0x42ee14[_0x1cd3('0xd29')]=_0x42ee14['setting']['securePassword']?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x42ee14[_0x1cd3('0xd22')]=_0x26c781[_0x1cd3('0x3b0')]()+_0x1cd3('0x11cf')+_0x26c781['host']();_0x42ee14['zendeskAccount']=_0x21ee08||_0x48b487['params'][_0x1cd3('0x1b98')]||{};_0x42ee14[_0x1cd3('0x390')]=_0x2699ea&&_0x2699ea[_0x1cd3('0x466')]==0x1?_0x2699ea[_0x1cd3('0xf6')][0x0]:null;_0x42ee14['crudPermissions']=_0x34a15d[_0x1cd3('0xd44')](_0x42ee14[_0x1cd3('0x390')]?_0x42ee14[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);_0x42ee14[_0x1cd3('0xd28')]={};_0x42ee14[_0x1cd3('0xe5f')]=_0x48b487[_0x1cd3('0x36a')][_0x1cd3('0x1418')]||0x0;_0x42ee14[_0x1cd3('0x11d0')]=_0x564fd7[_0x1cd3('0x654')];_0x42ee14[_0x1cd3('0x1ba9')]=_0x2906e9;_0x42ee14[_0x1cd3('0x1baa')]=_0x349831;function _0x2906e9(){_0x48b487['go'](_0x1cd3('0x174'),{},{'reload':'app.integrations.zendeskAccounts'});}function _0x349831(){_0x50496c[_0x1cd3('0x1b9f')][_0x1cd3('0x378')]({'id':_0x42ee14[_0x1cd3('0x1b98')]['id']},_0x42ee14[_0x1cd3('0x1b98')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x564fd7[_0x1cd3('0x473')]({'title':'ZendeskAccount\x20updated!','msg':_0x42ee14[_0x1cd3('0x1b98')][_0x1cd3('0x98')]?_0x42ee14[_0x1cd3('0x1b98')][_0x1cd3('0x98')]+_0x1cd3('0xe65'):''});})[_0x1cd3('0xfd')](function(_0x39045d){_0x564fd7[_0x1cd3('0x434')]({'title':_0x39045d[_0x1cd3('0x3a6')]?'API:'+_0x39045d['status']+_0x1cd3('0x436')+_0x39045d[_0x1cd3('0xd35')]:'SYSTEM:GETintZendeskAccount','msg':_0x39045d[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x39045d['data']):_0x39045d[_0x1cd3('0x43b')]()});});}}}());(function(){'use strict';_0x17762c[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),'$document',_0x1cd3('0x370'),_0x1cd3('0x461'),_0x1cd3('0x56')];angular[_0x1cd3('0x0')]('app.integrations')[_0x1cd3('0x39b')](_0x1cd3('0x1bab'),_0x17762c);function _0x17762c(_0x13da51,_0x19d178,_0xe74b15,_0x2d783c,_0x8692b9){var _0x33a8f0=this;_0x33a8f0['currentUser']=_0x8692b9[_0x1cd3('0x5d')]();_0x33a8f0[_0x1cd3('0x1b98')]={};_0x33a8f0[_0x1cd3('0x1bac')]={};_0x33a8f0['zendeskConfigurations']=[];_0x33a8f0[_0x1cd3('0x1bad')]=-0x1;_0x33a8f0['crudPermissions'];_0x33a8f0['init']=_0xfa3a48;_0x33a8f0[_0x1cd3('0x1bae')]=_0x2d289d;_0x33a8f0[_0x1cd3('0x1baf')]=_0x242969;_0x33a8f0[_0x1cd3('0x1bb0')]=_0x42d348;_0x33a8f0[_0x1cd3('0x1423')]=[];_0x33a8f0[_0x1cd3('0x1bb1')]=_0x596f8f;_0xe74b15[_0x1cd3('0xb76')][_0x1cd3('0x361')]({'nolimit':!![],'sort':_0x1cd3('0x98')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x34f77b){_0x33a8f0[_0x1cd3('0x921')]=_0x34f77b[_0x1cd3('0xf6')]?_0x34f77b[_0x1cd3('0xf6')]:[];})['catch'](function(_0x1caa53){_0x2d783c[_0x1cd3('0x434')]({'title':_0x1caa53[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x1caa53[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x1caa53[_0x1cd3('0xd35')]:_0x1cd3('0x19cf'),'msg':_0x1caa53[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x1caa53[_0x1cd3('0x439')]):_0x1caa53[_0x1cd3('0x43b')]()});});function _0x596f8f(_0x15e0e3){_0xe74b15['intZendeskConfiguration'][_0x1cd3('0x14a3')]({'id':_0x33a8f0[_0x1cd3('0x1bac')]['id'],'ids':_0x33a8f0[_0x1cd3('0x1423')]})[_0x1cd3('0x81')]['then'](function(){_0x2d783c[_0x1cd3('0x473')]({'title':'Tags\x20set!','msg':_0x1cd3('0x1a65')});})[_0x1cd3('0xfd')](function(_0x2d8be8){_0x2d783c['error']({'title':_0x2d8be8[_0x1cd3('0x3a6')]?'API:'+_0x2d8be8[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x2d8be8['statusText']:_0x1cd3('0x19c7'),'msg':_0x2d8be8[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x2d8be8[_0x1cd3('0x439')]):_0x2d8be8[_0x1cd3('0x43b')]()});});}function _0xfa3a48(_0x9a6eda,_0x7b0dd4){_0x33a8f0[_0x1cd3('0x1b98')]=_0x9a6eda;_0x33a8f0[_0x1cd3('0xd27')]=typeof _0x7b0dd4!==_0x1cd3('0x491')?_0x7b0dd4:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0xe74b15[_0x1cd3('0x1b9f')]['getConfigurations']({'id':_0x33a8f0[_0x1cd3('0x1b98')]['id'],'sort':'-updatedAt'})['$promise'][_0x1cd3('0x77')](function(_0x59c132){_0x33a8f0[_0x1cd3('0x1bb2')]=_0x59c132[_0x1cd3('0xf6')]?_0x59c132[_0x1cd3('0xf6')]:[];if(_0x33a8f0[_0x1cd3('0x1bb2')]['length']){_0x33a8f0[_0x1cd3('0x1bae')](0x0);}return _0xe74b15['variable']['get']({'nolimit':!![],'sort':_0x1cd3('0x98')})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x31bd31){_0x33a8f0['variables']=_0x31bd31[_0x1cd3('0xf6')]?_0x31bd31[_0x1cd3('0xf6')]:[];_0x33a8f0['variablesById']=_[_0x1cd3('0xe2d')](_0x33a8f0[_0x1cd3('0xef7')],'id');})[_0x1cd3('0xfd')](function(_0x10434a){_0x2d783c[_0x1cd3('0x434')]({'title':_0x10434a[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x10434a['status']+_0x1cd3('0x436')+_0x10434a[_0x1cd3('0xd35')]:_0x1cd3('0x19cb'),'msg':_0x10434a[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x10434a[_0x1cd3('0x439')]):_0x10434a[_0x1cd3('0x43b')]()});});}function _0x2d289d(_0x37eda7){_0x33a8f0['zendeskConfiguration']=_0x33a8f0[_0x1cd3('0x1bb2')][_0x37eda7];_0x33a8f0[_0x1cd3('0x1bad')]=_0x37eda7;_0xe74b15['intZendeskConfiguration'][_0x1cd3('0x1a31')]({'id':_0x33a8f0[_0x1cd3('0x1bac')]['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x5ae244){_0x33a8f0['subjects']=_0x5ae244[_0x1cd3('0xf6')]?_0x5ae244[_0x1cd3('0xf6')]:[];return _0xe74b15[_0x1cd3('0xbde')]['getDescriptions']({'id':_0x33a8f0['zendeskConfiguration']['id']})['$promise'];})[_0x1cd3('0x77')](function(_0x40522f){_0x33a8f0['descriptions']=_0x40522f[_0x1cd3('0xf6')]?_0x40522f[_0x1cd3('0xf6')]:[];return _0xe74b15[_0x1cd3('0xbde')][_0x1cd3('0xdfb')]({'id':_0x33a8f0[_0x1cd3('0x1bac')]['id']})[_0x1cd3('0x81')];})['then'](function(_0x7e200a){_0x33a8f0[_0x1cd3('0x3c7')]=_0x7e200a[_0x1cd3('0xf6')]?_0x7e200a[_0x1cd3('0xf6')]:[];})['catch'](function(_0x479395){_0x2d783c[_0x1cd3('0x434')]({'title':_0x479395[_0x1cd3('0x3a6')]?'API:'+_0x479395[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x479395[_0x1cd3('0xd35')]:_0x1cd3('0x19ce'),'msg':_0x479395[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x479395[_0x1cd3('0x439')]):_0x479395[_0x1cd3('0x43b')]()});});_0xe74b15[_0x1cd3('0xbde')][_0x1cd3('0x1607')]({'id':_0x33a8f0['zendeskConfiguration']['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x2f9a9c){_0x33a8f0[_0x1cd3('0x1423')]=_0x2f9a9c[_0x1cd3('0xf6')]?_[_0x1cd3('0x3d9')](_0x2f9a9c[_0x1cd3('0xf6')],'id'):[];})[_0x1cd3('0xfd')](function(_0x153b5a){_0x2d783c[_0x1cd3('0x434')]({'title':_0x153b5a['status']?_0x1cd3('0x435')+_0x153b5a['status']+_0x1cd3('0x436')+_0x153b5a['statusText']:_0x1cd3('0x19cf'),'msg':_0x153b5a[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x153b5a[_0x1cd3('0x439')]):_0x153b5a[_0x1cd3('0x43b')]()});});}function _0x242969(_0x3c4a1e,_0x3a9f88){_0x13da51[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1bb3'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1bb4'),'parent':angular[_0x1cd3('0x37f')](_0x19d178['body']),'targetEvent':_0x3c4a1e,'clickOutsideToClose':!![],'locals':{'zendeskConfiguration':_0x3a9f88,'zendeskConfigurations':_0x33a8f0['zendeskConfigurations'],'license':null,'setting':null,'crudPermissions':_0x33a8f0['crudPermissions']}})['finally'](function(){_0x33a8f0['getZendeskConfiguration'](0x0);});}function _0x42d348(_0x45ead1,_0x7bc21){var _0x1629e1=_0x13da51[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x1bb5'))['htmlContent']('<b>'+(_0x7bc21[_0x1cd3('0x98')]||_0x1cd3('0x1bac'))+_0x1cd3('0xd52')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x1bb6'))['targetEvent'](_0x45ead1)['ok']('OK')['cancel'](_0x1cd3('0xd55'));_0x13da51['show'](_0x1629e1)[_0x1cd3('0x77')](function(){_0xe74b15[_0x1cd3('0xbde')][_0x1cd3('0xa1c')]({'id':_0x7bc21['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x33a8f0['zendeskConfigurations'],{'id':_0x7bc21['id']});_0x2d783c[_0x1cd3('0x473')]({'title':_0x1cd3('0x1bb7'),'msg':_0x7bc21[_0x1cd3('0x98')]?_0x7bc21[_0x1cd3('0x98')]+_0x1cd3('0xd41'):''});})[_0x1cd3('0xfd')](function(_0x2ccf4b){_0x2d783c['error']({'title':_0x2ccf4b[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x2ccf4b[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x2ccf4b[_0x1cd3('0xd35')]:_0x1cd3('0x1a36'),'msg':_0x2ccf4b[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x2ccf4b[_0x1cd3('0x439')]):_0x2ccf4b[_0x1cd3('0x43b')]()});})[_0x1cd3('0x5dd')](function(){_0x33a8f0[_0x1cd3('0x1bae')](0x0);});},function(){console[_0x1cd3('0x7d')]('CANCEL');});}_0x33a8f0[_0x1cd3('0x19d5')]=[];_0x33a8f0[_0x1cd3('0x1a37')]=_0xace961;_0x33a8f0[_0x1cd3('0x1a38')]=_0x21de03;_0x33a8f0[_0x1cd3('0x19d6')]=_0x14495d;function _0xace961(_0x2d2fed,_0x5cf5bb){_0x13da51[_0x1cd3('0x37e')]({'controller':'CreateOrEditZendeskAccountItemDialogController','controllerAs':'vm','templateUrl':'app/main/apps/integrations/views/zendeskAccounts/edit/item/dialog.html','parent':angular['element'](_0x19d178[_0x1cd3('0x380')]),'targetEvent':_0x2d2fed,'clickOutsideToClose':!![],'locals':{'type':_0x1cd3('0x1327'),'item':_0x5cf5bb,'items':_0x33a8f0[_0x1cd3('0x19d9')],'configuration':_0x33a8f0[_0x1cd3('0x1bac')],'account':_0x33a8f0[_0x1cd3('0x1b98')],'license':null,'setting':null,'crudPermissions':_0x33a8f0['crudPermissions']}});}function _0x4b39d1(_0x4ae0ec){_0xe74b15[_0x1cd3('0x1ba7')]['delete']({'id':_0x4ae0ec['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x33a8f0[_0x1cd3('0x19d9')],{'id':_0x4ae0ec['id']});_0x2d783c['success']({'title':'Subject\x20deleted!','msg':'Subject\x20has\x20been\x20deleted!'});})[_0x1cd3('0xfd')](function(_0x1b827f){_0x2d783c['error']({'title':_0x1b827f[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x1b827f[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x1b827f[_0x1cd3('0xd35')]:'SYSTEM:DELETECONFIGURATIONFIELD','msg':_0x1b827f[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x1b827f[_0x1cd3('0x439')]):_0x1b827f[_0x1cd3('0x43b')]()});});}function _0x21de03(_0x54778c,_0x56ad1f){var _0x367ae8=_0x13da51[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x1a3c'))[_0x1cd3('0xd60')](_0x1cd3('0x19dc')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')]('delete\x20subject')[_0x1cd3('0xd63')](_0x54778c)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x13da51[_0x1cd3('0x37e')](_0x367ae8)[_0x1cd3('0x77')](function(){_0x4b39d1(_0x56ad1f);},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}function _0x14495d(_0x112ff5){var _0x3ab2eb=_0x13da51[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x19dd'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x33a8f0[_0x1cd3('0x19d5')][_0x1cd3('0x7a')]+_0x1cd3('0xd61')+_0x1cd3('0xd53'))['ariaLabel']('delete\x20subjects')['targetEvent'](_0x112ff5)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x13da51['show'](_0x3ab2eb)[_0x1cd3('0x77')](function(){_0x33a8f0[_0x1cd3('0x19d5')][_0x1cd3('0x394')](function(_0x35f426){_0x4b39d1(_0x35f426);});_0x33a8f0[_0x1cd3('0x19d5')]=[];});}_0x33a8f0['selectedDescriptions']=[];_0x33a8f0[_0x1cd3('0x19df')]=_0x40e02b;_0x33a8f0['deleteDescriptionConfirm']=_0x1081c5;_0x33a8f0[_0x1cd3('0x19e1')]=_0x3e0f72;function _0x40e02b(_0x49554c,_0x4ffaa5){_0x13da51[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1ba6'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1bb8'),'parent':angular[_0x1cd3('0x37f')](_0x19d178['body']),'targetEvent':_0x49554c,'clickOutsideToClose':!![],'locals':{'type':_0x1cd3('0xde1'),'item':_0x4ffaa5,'items':_0x33a8f0[_0x1cd3('0x19cd')],'configuration':_0x33a8f0[_0x1cd3('0x1bac')],'account':_0x33a8f0[_0x1cd3('0x1b98')],'license':null,'setting':null,'crudPermissions':_0x33a8f0[_0x1cd3('0xd27')]}});}function _0x56ca65(_0x5e4ad8){_0xe74b15['intZendeskField']['delete']({'id':_0x5e4ad8['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_['remove'](_0x33a8f0[_0x1cd3('0x19cd')],{'id':_0x5e4ad8['id']});_0x2d783c[_0x1cd3('0x473')]({'title':_0x1cd3('0x19e2'),'msg':_0x1cd3('0x19e3')});})[_0x1cd3('0xfd')](function(_0x497114){_0x2d783c[_0x1cd3('0x434')]({'title':_0x497114[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x497114[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x497114[_0x1cd3('0xd35')]:_0x1cd3('0x19db'),'msg':_0x497114['data']?JSON[_0x1cd3('0x438')](_0x497114['data']):_0x497114[_0x1cd3('0x43b')]()});});}function _0x1081c5(_0x11a717,_0x1aab4d){var _0x59b693=_0x13da51[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x19e4'))[_0x1cd3('0xd60')](_0x1cd3('0x1a6b')+'\x20will\x20be\x20deleted.')[_0x1cd3('0xd3d')](_0x1cd3('0x19e5'))[_0x1cd3('0xd63')](_0x11a717)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x13da51[_0x1cd3('0x37e')](_0x59b693)['then'](function(){_0x56ca65(_0x1aab4d);},function(){console['log'](_0x1cd3('0xd55'));});}function _0x3e0f72(_0x1d96c1){var _0x355a33=_0x13da51[_0x1cd3('0xd39')]()[_0x1cd3('0x486')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20descriptions?')['htmlContent'](_0x1cd3('0xd51')+_0x33a8f0[_0x1cd3('0x19de')][_0x1cd3('0x7a')]+_0x1cd3('0xd61')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x19e7'))['targetEvent'](_0x1d96c1)['ok']('OK')['cancel'](_0x1cd3('0xd55'));_0x13da51[_0x1cd3('0x37e')](_0x355a33)[_0x1cd3('0x77')](function(){_0x33a8f0[_0x1cd3('0x19de')]['forEach'](function(_0x22aca0){_0x56ca65(_0x22aca0);});_0x33a8f0[_0x1cd3('0x19de')]=[];});}_0x33a8f0[_0x1cd3('0x19e8')]=[];_0x33a8f0[_0x1cd3('0x1a3f')]=_0x402b4e;_0x33a8f0['deleteFieldConfirm']=_0x10f35f;_0x33a8f0['deleteSelectedFields']=_0x3f9d26;function _0x402b4e(_0xed7bec,_0xafc1f){_0x13da51[_0x1cd3('0x37e')]({'controller':'CreateOrEditZendeskAccountItemDialogController','controllerAs':'vm','templateUrl':_0x1cd3('0x1bb8'),'parent':angular['element'](_0x19d178[_0x1cd3('0x380')]),'targetEvent':_0xed7bec,'clickOutsideToClose':!![],'locals':{'type':_0x1cd3('0x450'),'item':_0xafc1f,'items':_0x33a8f0[_0x1cd3('0x3c7')],'configuration':_0x33a8f0[_0x1cd3('0x1bac')],'account':_0x33a8f0[_0x1cd3('0x1b98')],'license':null,'setting':null,'crudPermissions':_0x33a8f0[_0x1cd3('0xd27')]}});}function _0x19856e(_0x298004){_0xe74b15['intZendeskField'][_0x1cd3('0xa1c')]({'id':_0x298004['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x33a8f0[_0x1cd3('0x3c7')],{'id':_0x298004['id']});_0x2d783c[_0x1cd3('0x473')]({'title':'Field\x20deleted!','msg':_0x1cd3('0x19eb')});})['catch'](function(_0x49c032){_0x2d783c[_0x1cd3('0x434')]({'title':_0x49c032['status']?_0x1cd3('0x435')+_0x49c032[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x49c032[_0x1cd3('0xd35')]:_0x1cd3('0x19db'),'msg':_0x49c032[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x49c032[_0x1cd3('0x439')]):_0x49c032[_0x1cd3('0x43b')]()});});}function _0x10f35f(_0x305af8,_0x5430dd){var _0x2244f3=_0x13da51[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xe3c'))[_0x1cd3('0xd60')](_0x1cd3('0x19ec')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0xe3d'))[_0x1cd3('0xd63')](_0x305af8)['ok']('OK')['cancel']('CANCEL');_0x13da51[_0x1cd3('0x37e')](_0x2244f3)[_0x1cd3('0x77')](function(){_0x19856e(_0x5430dd);},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}function _0x3f9d26(_0x784bfb){var _0x1655d7=_0x13da51['confirm']()[_0x1cd3('0x486')](_0x1cd3('0xe42'))[_0x1cd3('0xd60')]('<b>'+_0x33a8f0[_0x1cd3('0x19e8')][_0x1cd3('0x7a')]+_0x1cd3('0xd61')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x19ed'))['targetEvent'](_0x784bfb)['ok']('OK')[_0x1cd3('0x4d8')]('CANCEL');_0x13da51[_0x1cd3('0x37e')](_0x1655d7)['then'](function(){_0x33a8f0[_0x1cd3('0x19e8')][_0x1cd3('0x394')](function(_0x237233){_0x19856e(_0x237233);});_0x33a8f0[_0x1cd3('0x19e8')]=[];});}}}());(function(){'use strict';_0x213900[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x53e'),_0x1cd3('0xd24'),'$mdDialog','$q',_0x1cd3('0x3f7'),_0x1cd3('0x461'),_0x1cd3('0x1bb2'),_0x1cd3('0x1bac'),_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0x463'),_0x1cd3('0xc49'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x35'))['controller'](_0x1cd3('0x1bb3'),_0x213900);function _0x213900(_0x2ef222,_0x33970f,_0x341433,_0x49d3c1,_0x2d17e2,_0x26393a,_0x470819,_0x50948a,_0x297bb8,_0x16c454,_0x3ae51,_0x51a088,_0x2ba816,_0x368761){var _0xbb14ac=this;_0xbb14ac['currentUser']=_0x3ae51[_0x1cd3('0x5d')]();_0xbb14ac[_0x1cd3('0xd34')]=[];_0xbb14ac[_0x1cd3('0xc49')]=_0x2ba816;_0xbb14ac[_0x1cd3('0x463')]=_0x51a088;_0xbb14ac[_0x1cd3('0xd27')]=_0x368761;_0xbb14ac[_0x1cd3('0xd28')]={};_0xbb14ac[_0x1cd3('0xd29')]=_0xbb14ac[_0x1cd3('0xc49')]&&_0xbb14ac[_0x1cd3('0xc49')]['securePassword']?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0xbb14ac[_0x1cd3('0x486')]='INTEGRATIONS.EDIT_ZENDESKCONFIGURATION';_0xbb14ac[_0x1cd3('0x1bac')]=angular['copy'](_0x297bb8);_0xbb14ac[_0x1cd3('0x1bb2')]=_0x50948a;_0xbb14ac[_0x1cd3('0x1bb9')]=![];if(!_0xbb14ac['zendeskConfiguration']){_0xbb14ac[_0x1cd3('0x1bac')]={'channel':_0x1cd3('0x121'),'type':'inbound'};_0xbb14ac['title']=_0x1cd3('0x1bba');_0xbb14ac[_0x1cd3('0x1bb9')]=!![];}_0xbb14ac[_0x1cd3('0x1bbb')]=_0x227792;_0xbb14ac['saveZendeskConfiguration']=_0x28dca9;_0xbb14ac[_0x1cd3('0x1bb0')]=_0x44a439;_0xbb14ac[_0x1cd3('0xd31')]=_0x860e59;_0xbb14ac[_0x1cd3('0x39c')]=_0x475ffd;function _0x227792(){_0xbb14ac[_0x1cd3('0xd34')]=[];_0x16c454[_0x1cd3('0x1b9f')]['addConfiguration']({'id':_0x33970f[_0x1cd3('0x36a')]['id']},_0xbb14ac[_0x1cd3('0x1bac')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x274eb2){_0xbb14ac[_0x1cd3('0x1bb2')][_0x1cd3('0x621')](_0x274eb2['toJSON']());_0x470819[_0x1cd3('0x473')]({'title':'ZendeskConfiguration\x20properly\x20created','msg':_0xbb14ac[_0x1cd3('0x1bac')][_0x1cd3('0x98')]?_0xbb14ac['zendeskConfiguration']['name']+_0x1cd3('0xd33'):''});_0x475ffd(_0x274eb2);})['catch'](function(_0x48289e){if(_0x48289e[_0x1cd3('0x439')]&&_0x48289e[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x48289e['data'][_0x1cd3('0xd34')]['length']){_0xbb14ac['errors']=_0x48289e[_0x1cd3('0x439')]['errors']||[{'message':_0x48289e['toString'](),'type':_0x1cd3('0x1bbc')}];for(var _0x2280f8=0x0;_0x2280f8<_0x48289e[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0x2280f8+=0x1){_0x470819[_0x1cd3('0x434')]({'title':_0x48289e[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x2280f8][_0x1cd3('0x424')],'msg':_0x48289e[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x2280f8][_0x1cd3('0x43a')]});}}else{_0x470819[_0x1cd3('0x434')]({'title':_0x48289e[_0x1cd3('0x3a6')]?'API:'+_0x48289e['status']+_0x1cd3('0x436')+_0x48289e[_0x1cd3('0xd35')]:_0x1cd3('0x1bbc'),'msg':_0x48289e[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x48289e[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x48289e[_0x1cd3('0x43b')]()});}});}function _0x28dca9(){_0xbb14ac[_0x1cd3('0xd34')]=[];_0x16c454[_0x1cd3('0xbde')][_0x1cd3('0x378')]({'id':_0xbb14ac[_0x1cd3('0x1bac')]['id']},_0xbb14ac['zendeskConfiguration'])[_0x1cd3('0x81')]['then'](function(_0x5c7e4e){var _0x2ec9e9=_['find'](_0xbb14ac[_0x1cd3('0x1bb2')],{'id':_0x5c7e4e['id']});if(_0x2ec9e9){_[_0x1cd3('0xf2')](_0x2ec9e9,_[_0x1cd3('0x5e8')](_0x5c7e4e[_0x1cd3('0xd32')](),_[_0x1cd3('0x80')](_0x2ec9e9)));}_0x470819[_0x1cd3('0x473')]({'title':_0x1cd3('0x1bbd'),'msg':_0xbb14ac[_0x1cd3('0x1bac')]['name']?_0xbb14ac[_0x1cd3('0x1bac')][_0x1cd3('0x98')]+'\x20has\x20been\x20saved!':''});_0x475ffd(_0x5c7e4e);})[_0x1cd3('0xfd')](function(_0x2044e9){if(_0x2044e9[_0x1cd3('0x439')]&&_0x2044e9[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x2044e9['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0xbb14ac[_0x1cd3('0xd34')]=_0x2044e9[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x2044e9['toString'](),'type':_0x1cd3('0x1bbe')}];for(var _0x44c76d=0x0;_0x44c76d<_0x2044e9[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x44c76d++){_0x470819[_0x1cd3('0x434')]({'title':_0x2044e9[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x44c76d]['type'],'msg':_0x2044e9[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x44c76d][_0x1cd3('0x43a')]});}}else{_0x470819[_0x1cd3('0x434')]({'title':_0x2044e9[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x2044e9[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x2044e9[_0x1cd3('0xd35')]:_0x1cd3('0x1bbe'),'msg':_0x2044e9[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x2044e9[_0x1cd3('0x439')]['message']):_0x2044e9[_0x1cd3('0x43b')]()});}});}function _0x44a439(_0x369b8d){_0xbb14ac['errors']=[];var _0x1310ab=_0x49d3c1[_0x1cd3('0xd39')]()['title'](_0x1cd3('0xd3a'))[_0x1cd3('0xd3b')](_0x1cd3('0x1bbf'))[_0x1cd3('0xd3d')](_0x1cd3('0x1bc0'))['ok']('Delete')['cancel'](_0x1cd3('0x674'))[_0x1cd3('0xd63')](_0x369b8d);_0x49d3c1[_0x1cd3('0x37e')](_0x1310ab)[_0x1cd3('0x77')](function(){_0x16c454['intZendeskConfiguration'][_0x1cd3('0xa1c')]({'id':_0xbb14ac[_0x1cd3('0x1bac')]['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0xbb14ac[_0x1cd3('0x1bb2')],{'id':_0xbb14ac[_0x1cd3('0x1bac')]['id']});_0x470819['success']({'title':_0x1cd3('0x1bc1'),'msg':(_0xbb14ac['zendeskConfiguration'][_0x1cd3('0x98')]||_0x1cd3('0x1bac'))+_0x1cd3('0xd41')});_0x475ffd(_0xbb14ac[_0x1cd3('0x1bac')]);})[_0x1cd3('0xfd')](function(_0x1048f1){if(_0x1048f1[_0x1cd3('0x439')]&&_0x1048f1[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x1048f1['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0xbb14ac['errors']=_0x1048f1['data'][_0x1cd3('0xd34')]||[{'message':_0x1048f1['toString'](),'type':_0x1cd3('0x1bc2')}];for(var _0x4568c8=0x0;_0x4568c8<_0x1048f1[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x4568c8++){_0x470819[_0x1cd3('0x434')]({'title':_0x1048f1['data']['errors'][_0x4568c8][_0x1cd3('0x424')],'msg':_0x1048f1[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x4568c8][_0x1cd3('0x43a')]});}}else{_0x470819['error']({'title':_0x1048f1[_0x1cd3('0x3a6')]?'API:'+_0x1048f1[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x1048f1[_0x1cd3('0xd35')]:_0x1cd3('0x1bc2'),'msg':_0x1048f1[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x1048f1[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x1048f1[_0x1cd3('0x43a')]||_0x1048f1[_0x1cd3('0x43b')]()});}});},function(){});}function _0x860e59(_0xcedefa){return _0xcedefa===null?undefined:new Date(_0xcedefa);}function _0x475ffd(_0x4489d2){_0x49d3c1[_0x1cd3('0x39d')](_0x4489d2);}}}());(function(){'use strict';_0x41d11c[_0x1cd3('0xc')]=[_0x1cd3('0x460'),'$window','$state',_0x1cd3('0x969'),_0x1cd3('0x3c5'),'$document','$timeout',_0x1cd3('0x3f7'),'zendeskAccounts',_0x1cd3('0x38a'),_0x1cd3('0x390'),_0x1cd3('0x370'),'msUtils',_0x1cd3('0x461'),_0x1cd3('0x56'),_0x1cd3('0x463'),'setting'];angular[_0x1cd3('0x0')](_0x1cd3('0x35'))['controller'](_0x1cd3('0x1bc3'),_0x41d11c);function _0x41d11c(_0x43da6b,_0x1fd831,_0x563405,_0x5741c8,_0x2a53dc,_0x53132a,_0xfcdd54,_0x41f984,_0x2788d2,_0x1ae659,_0x5f4825,_0x16b5e4,_0x5cef04,_0x58c2d2,_0x138b3d,_0x544dcf,_0xe6d816){var _0x43b089=this;_0x43b089[_0x1cd3('0x463')]=_0x544dcf;_0x43b089[_0x1cd3('0xc49')]=_0xe6d816;_0x43b089[_0x1cd3('0x3ca')]=_0x138b3d[_0x1cd3('0x5d')]();_0x43b089['zendeskAccounts']=_0x2788d2||{'count':0x0,'rows':[]};_0x43b089[_0x1cd3('0x38a')]=_0x1ae659;_0x43b089['userProfileSection']=_0x5f4825&&_0x5f4825[_0x1cd3('0x466')]==0x1?_0x5f4825['rows'][0x0]:null;_0x43b089[_0x1cd3('0xd27')]=_0x138b3d[_0x1cd3('0xd44')](_0x43b089[_0x1cd3('0x390')]?_0x43b089[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);_0x43b089[_0x1cd3('0xd45')]=_0x1cd3('0x1b96');_0x43b089['listOrder']='';_0x43b089[_0x1cd3('0xd47')]=null;_0x43b089[_0x1cd3('0x1bc4')]=[];_0x43b089[_0x1cd3('0x3d4')]={'fields':_0x1cd3('0x179'),'limit':0xa,'page':0x1};_0x43b089[_0x1cd3('0x135a')]=_[_0x1cd3('0xe2d')]([{'option':_0x1cd3('0x19b3'),'value':_0x1cd3('0x1bc5')},{'option':'New_Tab','value':_0x1cd3('0x19b5')}],function(_0x217a67){return _['replace'](_0x217a67['value'],new RegExp('\x27','g'),'');});_0x43b089[_0x1cd3('0x1bc6')]=_['keyBy']([{'option':_0x1cd3('0x1bc7'),'value':_0x1cd3('0x1bc8')},{'option':_0x1cd3('0x1bc9'),'value':_0x1cd3('0x1bca')}],function(_0x3d4559){return _['replace'](_0x3d4559[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x43b089[_0x1cd3('0x1171')]=_0x338a0f;_0x43b089['testtestintegrationaccount']=_0x34b8b1;_0x43b089['deleteconfirm']=_0x4f8c63;_0x43b089[_0x1cd3('0x473')]=_0x3f6691;_0x43b089[_0x1cd3('0x1bcb')]=_0x59d718;_0x43b089[_0x1cd3('0x1bcc')]=_0x215e8a;_0x43b089['deleteZendeskAccount']=_0x3a8ace;_0x43b089[_0x1cd3('0x1bcd')]=_0x4f6841;_0x43b089[_0x1cd3('0x1bce')]=_0x339ba6;_0x43b089[_0x1cd3('0x1bcf')]=_0x2c3b24;_0x43b089[_0x1cd3('0x1bd0')]=_0x1ba8d9;function _0x338a0f(_0x4a75c8,_0xaf9055){_0x563405['go']('app.integrations.zendeskAccounts.edit',{'id':_0x4a75c8['id'],'zendeskAccount':_0x4a75c8,'crudPermissions':_0x43b089[_0x1cd3('0xd27')]});}function _0x34b8b1(_0x56592d,_0x3c1837){return _0x16b5e4[_0x1cd3('0x1b9f')][_0x1cd3('0xdfb')]({'id':_0x56592d['id'],'test':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x58c2d2[_0x1cd3('0x473')]({'title':_0x1cd3('0x1bd1'),'msg':_0x1cd3('0x1a28')});})[_0x1cd3('0xfd')](function(_0xdae9b8){_0x58c2d2[_0x1cd3('0x434')]({'title':_0x1cd3('0x1bd1'),'msg':_0xdae9b8['data']?_0xdae9b8[_0x1cd3('0x439')][_0x1cd3('0x43a')]?_0xdae9b8[_0x1cd3('0x439')][_0x1cd3('0x43a')]:JSON['stringify'](_0xdae9b8[_0x1cd3('0x439')]):_0xdae9b8[_0x1cd3('0x43b')]()});});}function _0x4f8c63(_0x468ba3,_0x3efca6){var _0xbef435=_0x2a53dc[_0x1cd3('0xd39')]()[_0x1cd3('0x486')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20'+_[_0x1cd3('0xd50')](_0x1cd3('0x1b98'))+'?')[_0x1cd3('0xd60')](_0x1cd3('0xd51')+(_0x468ba3[_0x1cd3('0x98')]||_0x1cd3('0x1b98'))+_0x1cd3('0xd52')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')]('delete\x20zendeskAccount')[_0x1cd3('0xd63')](_0x3efca6)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x2a53dc[_0x1cd3('0x37e')](_0xbef435)[_0x1cd3('0x77')](function(){_0x3a8ace(_0x468ba3);},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}var _0x3a726f=!![];var _0x1be849=0x1;_0x43da6b['$watch'](_0x1cd3('0xd56'),function(_0x35f577,_0x57d2ee){if(_0x3a726f){_0xfcdd54(function(){_0x3a726f=![];});}else{if(!_0x57d2ee){_0x1be849=_0x43b089[_0x1cd3('0x3d4')]['page'];}if(_0x35f577!==_0x57d2ee){_0x43b089[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}if(!_0x35f577){_0x43b089['query'][_0x1cd3('0x8fd')]=_0x1be849;}_0x43b089[_0x1cd3('0x1bcb')]();}});function _0x3f6691(_0x54b800){_0x43b089['zendeskAccounts']=_0x54b800||{'count':0x0,'rows':[]};}function _0x59d718(){_0x43b089['query'][_0x1cd3('0xd57')]=(_0x43b089[_0x1cd3('0x3d4')]['page']-0x1)*_0x43b089[_0x1cd3('0x3d4')]['limit'];if(_0x138b3d[_0x1cd3('0x57')]('admin')){_0x43b089[_0x1cd3('0x539')]=_0x16b5e4[_0x1cd3('0x1b9f')][_0x1cd3('0x361')](_0x43b089['query'],_0x3f6691)[_0x1cd3('0x81')];}else{_0x43b089[_0x1cd3('0x3d4')]['id']=_0x43b089[_0x1cd3('0x38a')]['id'];_0x43b089['query'][_0x1cd3('0xd58')]='ZendeskAccounts';_0x43b089[_0x1cd3('0x539')]=_0x16b5e4[_0x1cd3('0x38a')][_0x1cd3('0xd59')](_0x43b089[_0x1cd3('0x3d4')],_0x3f6691)[_0x1cd3('0x81')];}}function _0x215e8a(_0x1f93f1,_0x220207){_0x2a53dc[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1bd2'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1bd3'),'parent':angular[_0x1cd3('0x37f')](_0x53132a[_0x1cd3('0x380')]),'targetEvent':_0x1f93f1,'clickOutsideToClose':!![],'locals':{'zendeskAccount':_0x220207,'zendeskAccounts':_0x43b089[_0x1cd3('0x1b96')][_0x1cd3('0xf6')],'license':_0x43b089['license'],'setting':_0x43b089[_0x1cd3('0xc49')],'crudPermissions':_0x43b089[_0x1cd3('0xd27')]}});}function _0x3a8ace(_0x2073ab){_0x16b5e4[_0x1cd3('0x1b9f')]['delete']({'id':_0x2073ab['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_['remove'](_0x43b089[_0x1cd3('0x1b96')][_0x1cd3('0xf6')],{'id':_0x2073ab['id']});_0x43b089[_0x1cd3('0x1b96')][_0x1cd3('0x466')]-=0x1;if(!_0x43b089['zendeskAccounts'][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){_0x43b089[_0x1cd3('0x1bcb')]();}_0x58c2d2[_0x1cd3('0x473')]({'title':_[_0x1cd3('0xd50')](_0x1cd3('0x1bd4'))+_0x1cd3('0xd5c'),'msg':_0x2073ab[_0x1cd3('0x98')]?_0x2073ab[_0x1cd3('0x98')]+_0x1cd3('0xd41'):''});})[_0x1cd3('0xfd')](function(_0x529989){if(_0x529989[_0x1cd3('0x439')]&&_0x529989['data'][_0x1cd3('0xd34')]&&_0x529989[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length']){_0x43b089[_0x1cd3('0xd34')]=_0x529989[_0x1cd3('0x439')]['errors']||[{'message':_0x529989[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1bd5')}];for(var _0x305183=0x0;_0x305183<_0x529989[_0x1cd3('0x439')]['errors']['length'];_0x305183++){_0x58c2d2[_0x1cd3('0x434')]({'title':_0x529989[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x305183][_0x1cd3('0x424')],'msg':_0x529989[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x305183][_0x1cd3('0x43a')]});}}else{_0x58c2d2[_0x1cd3('0x434')]({'title':_0x529989['status']?_0x1cd3('0x435')+_0x529989[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x529989['statusText']:_0x1cd3('0x1bd5'),'msg':_0x529989[_0x1cd3('0x439')]?JSON['stringify'](_0x529989['data'][_0x1cd3('0x43a')]):_0x529989[_0x1cd3('0x43a')]||_0x529989['toString']()});}});}function _0x4f6841(){var _0x6751c5=angular[_0x1cd3('0x429')](_0x43b089[_0x1cd3('0x1bc4')]);_0x43b089[_0x1cd3('0x1bc4')]=[];return _0x6751c5;}function _0x339ba6(_0x2a32c8){var _0x445a66=_0x2a53dc[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x1bd6'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x43b089[_0x1cd3('0x1bc4')][_0x1cd3('0x7a')]+_0x1cd3('0xd61')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x1bd7'))[_0x1cd3('0xd63')](_0x2a32c8)['ok']('OK')['cancel'](_0x1cd3('0xd55'));_0x2a53dc[_0x1cd3('0x37e')](_0x445a66)[_0x1cd3('0x77')](function(){_0x43b089[_0x1cd3('0x1bc4')][_0x1cd3('0x394')](function(_0x404859){_0x3a8ace(_0x404859);});_0x43b089[_0x1cd3('0x1bc4')]=[];});}function _0x2c3b24(){_0x43b089[_0x1cd3('0x1bc4')]=[];}function _0x1ba8d9(){_0x43b089[_0x1cd3('0x1bc4')]=_0x43b089[_0x1cd3('0x1b96')][_0x1cd3('0xf6')];}}}());(function(){'use strict';_0x3163d6[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x53e'),_0x1cd3('0xd24'),_0x1cd3('0x3c5'),'$q',_0x1cd3('0x3f7'),_0x1cd3('0x461'),_0x1cd3('0x1bd8'),_0x1cd3('0x1bd9'),_0x1cd3('0x370'),'Auth',_0x1cd3('0x463'),_0x1cd3('0xc49'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x35'))['controller']('CreateOrEditZohoAccountDialogController',_0x3163d6);function _0x3163d6(_0x5e57f6,_0x5a2387,_0x575236,_0x5bf628,_0x3d664a,_0xa6727c,_0x513a39,_0xa7566,_0x4bb87c,_0x2af0ea,_0x3e02c7,_0xb71b9c,_0x555253,_0x379adc){var _0x2bfb39=this;_0x2bfb39[_0x1cd3('0x3ca')]=_0x3e02c7['getCurrentUser']();_0x2bfb39[_0x1cd3('0xd34')]=[];_0x2bfb39[_0x1cd3('0xc49')]=_0x555253;_0x2bfb39[_0x1cd3('0x463')]=_0xb71b9c;_0x2bfb39[_0x1cd3('0xd27')]=_0x379adc;_0x2bfb39[_0x1cd3('0xd28')]={};_0x2bfb39[_0x1cd3('0xd29')]=_0x2bfb39[_0x1cd3('0xc49')]&&_0x2bfb39[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x2bfb39['title']='INTEGRATIONS.EDIT_ZOHOACCOUNT';_0x2bfb39[_0x1cd3('0x1bd9')]=angular['copy'](_0x4bb87c);_0x2bfb39[_0x1cd3('0x1bd8')]=_0xa7566;_0x2bfb39[_0x1cd3('0x1bda')]=![];if(!_0x2bfb39[_0x1cd3('0x1bd9')]){_0x2bfb39[_0x1cd3('0x1bd9')]={'host':_0x1cd3('0x1bdb'),'zone':'EU','serverUrl':_0x575236[_0x1cd3('0x3b0')]()+_0x1cd3('0x11cf')+_0x575236[_0x1cd3('0x3ac')]()+(_0x575236[_0x1cd3('0x3b1')]()?':'+_0x575236[_0x1cd3('0x3b1')]():'')};_0x2bfb39[_0x1cd3('0x486')]=_0x1cd3('0x1bdc');_0x2bfb39['newZohoAccount']=!![];}_0x2bfb39[_0x1cd3('0x1bdd')]=_0x4523cc;_0x2bfb39[_0x1cd3('0x1bde')]=_0x80fef3;_0x2bfb39[_0x1cd3('0x1bdf')]=_0xd7d0c0;_0x2bfb39[_0x1cd3('0xd31')]=_0xfbfc9b;_0x2bfb39[_0x1cd3('0x39c')]=_0x2ee850;function _0x4523cc(){_0x2bfb39['errors']=[];_0x2af0ea[_0x1cd3('0x1be0')][_0x1cd3('0xd6d')](_0x2bfb39[_0x1cd3('0x1bd9')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0xcd3064){_0x2bfb39[_0x1cd3('0x1bd8')][_0x1cd3('0x621')](_0xcd3064[_0x1cd3('0xd32')]());_0x513a39[_0x1cd3('0x473')]({'title':'ZohoAccount\x20properly\x20created','msg':_0x2bfb39[_0x1cd3('0x1bd9')][_0x1cd3('0x98')]?_0x2bfb39[_0x1cd3('0x1bd9')]['name']+_0x1cd3('0xd33'):''});_0x2ee850(_0xcd3064);})['catch'](function(_0x41a8c9){if(_0x41a8c9['data']&&_0x41a8c9['data'][_0x1cd3('0xd34')]&&_0x41a8c9['data']['errors'][_0x1cd3('0x7a')]){_0x2bfb39[_0x1cd3('0xd34')]=_0x41a8c9[_0x1cd3('0x439')]['errors']||[{'message':_0x41a8c9['toString'](),'type':_0x1cd3('0x1be1')}];for(var _0x53a7f1=0x0;_0x53a7f1<_0x41a8c9[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x53a7f1+=0x1){_0x513a39['error']({'title':_0x41a8c9[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x53a7f1][_0x1cd3('0x424')],'msg':_0x41a8c9[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x53a7f1]['message']});}}else{_0x513a39[_0x1cd3('0x434')]({'title':_0x41a8c9[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x41a8c9['status']+_0x1cd3('0x436')+_0x41a8c9[_0x1cd3('0xd35')]:_0x1cd3('0x1be1'),'msg':_0x41a8c9[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x41a8c9['data'][_0x1cd3('0x43a')]):_0x41a8c9[_0x1cd3('0x43b')]()});}});}function _0x80fef3(){_0x2bfb39['errors']=[];_0x2af0ea[_0x1cd3('0x1be0')][_0x1cd3('0x378')]({'id':_0x2bfb39['zohoAccount']['id']},_0x2bfb39[_0x1cd3('0x1bd9')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x54d08f){var _0x4b0c92=_[_0x1cd3('0x442')](_0x2bfb39[_0x1cd3('0x1bd8')],{'id':_0x54d08f['id']});if(_0x4b0c92){_[_0x1cd3('0xf2')](_0x4b0c92,_[_0x1cd3('0x5e8')](_0x54d08f['toJSON'](),_['keys'](_0x4b0c92)));}_0x513a39['success']({'title':'ZohoAccount\x20properly\x20saved!','msg':_0x2bfb39[_0x1cd3('0x1bd9')][_0x1cd3('0x98')]?_0x2bfb39['zohoAccount']['name']+'\x20has\x20been\x20saved!':''});_0x2ee850(_0x54d08f);})[_0x1cd3('0xfd')](function(_0x24723a){if(_0x24723a[_0x1cd3('0x439')]&&_0x24723a[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x24723a[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length']){_0x2bfb39['errors']=_0x24723a[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x24723a[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1be2')}];for(var _0x3ca2e4=0x0;_0x3ca2e4<_0x24723a[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0x3ca2e4++){_0x513a39['error']({'title':_0x24723a[_0x1cd3('0x439')]['errors'][_0x3ca2e4]['type'],'msg':_0x24723a[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x3ca2e4][_0x1cd3('0x43a')]});}}else{_0x513a39[_0x1cd3('0x434')]({'title':_0x24723a[_0x1cd3('0x3a6')]?'API:'+_0x24723a[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x24723a[_0x1cd3('0xd35')]:_0x1cd3('0x1be2'),'msg':_0x24723a[_0x1cd3('0x439')]?JSON['stringify'](_0x24723a[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x24723a[_0x1cd3('0x43b')]()});}});}function _0xd7d0c0(_0x53c933){_0x2bfb39[_0x1cd3('0xd34')]=[];var _0x5252a7=_0x5bf628[_0x1cd3('0xd39')]()[_0x1cd3('0x486')]('Are\x20you\x20sure?')['content'](_0x1cd3('0x1be3'))[_0x1cd3('0xd3d')]('Delete\x20ZohoAccount')['ok'](_0x1cd3('0xd3f'))[_0x1cd3('0x4d8')](_0x1cd3('0x674'))['targetEvent'](_0x53c933);_0x5bf628['show'](_0x5252a7)['then'](function(){_0x2af0ea[_0x1cd3('0x1be0')][_0x1cd3('0xa1c')]({'id':_0x2bfb39['zohoAccount']['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x2bfb39[_0x1cd3('0x1bd8')],{'id':_0x2bfb39[_0x1cd3('0x1bd9')]['id']});_0x513a39['success']({'title':_0x1cd3('0x1be4'),'msg':(_0x2bfb39[_0x1cd3('0x1bd9')][_0x1cd3('0x98')]||_0x1cd3('0x1bd9'))+'\x20has\x20been\x20deleted!'});_0x2ee850(_0x2bfb39['zohoAccount']);})['catch'](function(_0x147c45){if(_0x147c45['data']&&_0x147c45[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x147c45[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x2bfb39[_0x1cd3('0xd34')]=_0x147c45['data'][_0x1cd3('0xd34')]||[{'message':_0x147c45['toString'](),'type':'api.intZohoAccount.delete'}];for(var _0x144585=0x0;_0x144585<_0x147c45['data'][_0x1cd3('0xd34')]['length'];_0x144585++){_0x513a39[_0x1cd3('0x434')]({'title':_0x147c45[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x144585][_0x1cd3('0x424')],'msg':_0x147c45[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x144585][_0x1cd3('0x43a')]});}}else{_0x513a39[_0x1cd3('0x434')]({'title':_0x147c45['status']?_0x1cd3('0x435')+_0x147c45[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x147c45[_0x1cd3('0xd35')]:_0x1cd3('0x1be5'),'msg':_0x147c45['data']?JSON[_0x1cd3('0x438')](_0x147c45[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x147c45['message']||_0x147c45[_0x1cd3('0x43b')]()});}});},function(){});}function _0xfbfc9b(_0x50934c){return _0x50934c===null?undefined:new Date(_0x50934c);}function _0x2ee850(_0x20d57c){_0x5bf628[_0x1cd3('0x39d')](_0x20d57c);}}}());(function(){'use strict';_0x1d2e41['$inject']=[_0x1cd3('0x3c5'),'$document',_0x1cd3('0x370'),'toasty',_0x1cd3('0x56')];angular['module'](_0x1cd3('0x35'))['controller'](_0x1cd3('0x1be6'),_0x1d2e41);function _0x1d2e41(_0x1a7d73,_0xa31fc3,_0x6f8cd0,_0x2c07bf,_0x21364f){var _0xb8fce8=this;_0xb8fce8['currentUser']=_0x21364f[_0x1cd3('0x5d')]();_0xb8fce8[_0x1cd3('0x1bd9')]={};_0xb8fce8[_0x1cd3('0x1be7')]={};_0xb8fce8[_0x1cd3('0x19c2')]=[];_0xb8fce8[_0x1cd3('0x1be8')]=-0x1;_0xb8fce8[_0x1cd3('0xd27')];_0xb8fce8[_0x1cd3('0xe08')]=_0x5cc398;_0xb8fce8[_0x1cd3('0x1be9')]=_0x154d1a;_0xb8fce8[_0x1cd3('0x1bea')]=_0x4bc7c0;_0xb8fce8[_0x1cd3('0x1beb')]=_0x59878e;_0xb8fce8[_0x1cd3('0x1ad4')]=_0x5931f5;function _0x5931f5(){return _0x6f8cd0[_0x1cd3('0xbd4')]['update']({'id':_0xb8fce8[_0x1cd3('0x1be7')]['id']},_0xb8fce8[_0x1cd3('0x1be7')])['$promise']['then'](function(){_0x2c07bf[_0x1cd3('0x473')]({'title':'Module\x20updated!','msg':_0x1cd3('0x1ad7')});})[_0x1cd3('0xfd')](function(_0x1b91ed){_0x2c07bf['error']({'title':_0x1b91ed[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x1b91ed[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x1b91ed[_0x1cd3('0xd35')]:'SYSTEM:UPDATECONFIGURATIONFIELD','msg':_0x1b91ed[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x1b91ed['data']):_0x1b91ed[_0x1cd3('0x43b')]()});});};function _0x5cc398(_0x56dba2,_0x524a66){_0xb8fce8[_0x1cd3('0x1bd9')]=_0x56dba2;_0xb8fce8[_0x1cd3('0xd27')]=typeof _0x524a66!==_0x1cd3('0x491')?_0x524a66:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x6f8cd0['intZohoAccount'][_0x1cd3('0x19c8')]({'id':_0xb8fce8[_0x1cd3('0x1bd9')]['id'],'sort':_0x1cd3('0x5b')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x3d096e){_0xb8fce8['configurations']=_0x3d096e['rows']?_0x3d096e['rows']:[];if(_0xb8fce8[_0x1cd3('0x19c2')]['length']){_0xb8fce8['getZohoConfiguration'](0x0);}return _0x6f8cd0[_0x1cd3('0xb84')][_0x1cd3('0x361')]({'nolimit':!![],'sort':'name'})['$promise'];})[_0x1cd3('0x77')](function(_0x36231e){_0xb8fce8[_0x1cd3('0xef7')]=_0x36231e[_0x1cd3('0xf6')]?_0x36231e['rows']:[];_0xb8fce8[_0x1cd3('0x19ca')]=_['keyBy'](_0xb8fce8[_0x1cd3('0xef7')],'id');})['catch'](function(_0x539c0c){_0x2c07bf[_0x1cd3('0x434')]({'title':_0x539c0c[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x539c0c['status']+_0x1cd3('0x436')+_0x539c0c['statusText']:_0x1cd3('0x19cb'),'msg':_0x539c0c[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x539c0c[_0x1cd3('0x439')]):_0x539c0c['toString']()});});}function _0x154d1a(_0x3c424c){_0xb8fce8[_0x1cd3('0x1be7')]=_0xb8fce8[_0x1cd3('0x19c2')][_0x3c424c];_0xb8fce8[_0x1cd3('0x1be8')]=_0x3c424c;_0x6f8cd0[_0x1cd3('0xbd4')][_0x1cd3('0x1a31')]({'id':_0xb8fce8['zohoConfiguration']['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x3dfd68){_0xb8fce8[_0x1cd3('0x19d9')]=_0x3dfd68[_0x1cd3('0xf6')]?_0x3dfd68[_0x1cd3('0xf6')]:[];return _0x6f8cd0[_0x1cd3('0xbd4')]['getDescriptions']({'id':_0xb8fce8[_0x1cd3('0x1be7')]['id']})['$promise'];})['then'](function(_0x3559b7){_0xb8fce8[_0x1cd3('0x19cd')]=_0x3559b7[_0x1cd3('0xf6')]?_0x3559b7[_0x1cd3('0xf6')]:[];return _0x6f8cd0[_0x1cd3('0xbd4')][_0x1cd3('0xdfb')]({'id':_0xb8fce8['zohoConfiguration']['id']})[_0x1cd3('0x81')];})['then'](function(_0x25e165){_0xb8fce8[_0x1cd3('0x3c7')]=_0x25e165[_0x1cd3('0xf6')]?_0x25e165[_0x1cd3('0xf6')]:[];})[_0x1cd3('0xfd')](function(_0x22a78b){_0x2c07bf[_0x1cd3('0x434')]({'title':_0x22a78b[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x22a78b[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x22a78b[_0x1cd3('0xd35')]:_0x1cd3('0x19ce'),'msg':_0x22a78b[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x22a78b['data']):_0x22a78b[_0x1cd3('0x43b')]()});});}function _0x4bc7c0(_0x488335,_0x1e7506){_0x1a7d73[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1bec'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1bed'),'parent':angular[_0x1cd3('0x37f')](_0xa31fc3[_0x1cd3('0x380')]),'targetEvent':_0x488335,'clickOutsideToClose':!![],'locals':{'zohoConfiguration':_0x1e7506,'configurations':_0xb8fce8[_0x1cd3('0x19c2')],'license':null,'setting':null,'crudPermissions':_0xb8fce8[_0x1cd3('0xd27')]}})[_0x1cd3('0x5dd')](function(){_0xb8fce8[_0x1cd3('0x1be9')](0x0);});}function _0x59878e(_0x5340f3,_0x1f23a2){var _0x131ec6=_0x1a7d73[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x1bee'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+(_0x1f23a2[_0x1cd3('0x98')]||_0x1cd3('0x1be7'))+'</b>'+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x1bef'))[_0x1cd3('0xd63')](_0x5340f3)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x1a7d73[_0x1cd3('0x37e')](_0x131ec6)[_0x1cd3('0x77')](function(){_0x6f8cd0['intZohoConfiguration']['delete']({'id':_0x1f23a2['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0xb8fce8[_0x1cd3('0x19c2')],{'id':_0x1f23a2['id']});_0x2c07bf[_0x1cd3('0x473')]({'title':_0x1cd3('0x1bf0'),'msg':_0x1f23a2[_0x1cd3('0x98')]?_0x1f23a2[_0x1cd3('0x98')]+_0x1cd3('0xd41'):''});})['catch'](function(_0x3e2e38){_0x2c07bf['error']({'title':_0x3e2e38[_0x1cd3('0x3a6')]?'API:'+_0x3e2e38[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x3e2e38['statusText']:_0x1cd3('0x1a36'),'msg':_0x3e2e38[_0x1cd3('0x439')]?JSON['stringify'](_0x3e2e38[_0x1cd3('0x439')]):_0x3e2e38['toString']()});})[_0x1cd3('0x5dd')](function(){_0xb8fce8['getZohoConfiguration'](0x0);});},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}_0xb8fce8['selectedSubjects']=[];_0xb8fce8['createOrEditSubject']=_0x4b8113;_0xb8fce8[_0x1cd3('0x1a38')]=_0x155bad;_0xb8fce8['deleteSelectedSubjects']=_0x6eaa5e;function _0x4b8113(_0x5ea571,_0x58e0fb){_0x1a7d73[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1bf1'),'controllerAs':'vm','templateUrl':'app/main/apps/integrations/views/zohoAccounts/edit/item/dialog.html','parent':angular['element'](_0xa31fc3[_0x1cd3('0x380')]),'targetEvent':_0x5ea571,'clickOutsideToClose':!![],'locals':{'type':'subject','item':_0x58e0fb,'items':_0xb8fce8[_0x1cd3('0x19d9')],'configuration':_0xb8fce8[_0x1cd3('0x1be7')],'account':_0xb8fce8[_0x1cd3('0x1bd9')],'license':null,'setting':null,'crudPermissions':_0xb8fce8['crudPermissions']}});}function _0x133ecb(_0x23a243){_0x6f8cd0[_0x1cd3('0xbd8')]['delete']({'id':_0x23a243['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0xb8fce8[_0x1cd3('0x19d9')],{'id':_0x23a243['id']});_0x2c07bf[_0x1cd3('0x473')]({'title':_0x1cd3('0x1a3b'),'msg':'Subject\x20has\x20been\x20deleted!'});})[_0x1cd3('0xfd')](function(_0x3dc657){_0x2c07bf[_0x1cd3('0x434')]({'title':_0x3dc657[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x3dc657[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x3dc657[_0x1cd3('0xd35')]:_0x1cd3('0x19db'),'msg':_0x3dc657[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x3dc657['data']):_0x3dc657[_0x1cd3('0x43b')]()});});}function _0x155bad(_0x3a99f0,_0x504313){var _0x446f32=_0x1a7d73[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x1a3c'))[_0x1cd3('0xd60')](_0x1cd3('0x19dc')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x1a3d'))[_0x1cd3('0xd63')](_0x3a99f0)['ok']('OK')['cancel'](_0x1cd3('0xd55'));_0x1a7d73[_0x1cd3('0x37e')](_0x446f32)[_0x1cd3('0x77')](function(){_0x133ecb(_0x504313);},function(){console['log'](_0x1cd3('0xd55'));});}function _0x6eaa5e(_0x1e5406){var _0x26fc2c=_0x1a7d73['confirm']()[_0x1cd3('0x486')](_0x1cd3('0x19dd'))['htmlContent']('<b>'+_0xb8fce8[_0x1cd3('0x19d5')][_0x1cd3('0x7a')]+'\x20selected</b>'+'\x20will\x20be\x20deleted.')['ariaLabel']('delete\x20subjects')[_0x1cd3('0xd63')](_0x1e5406)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x1a7d73['show'](_0x26fc2c)['then'](function(){_0xb8fce8[_0x1cd3('0x19d5')][_0x1cd3('0x394')](function(_0xe3d0c1){_0x133ecb(_0xe3d0c1);});_0xb8fce8[_0x1cd3('0x19d5')]=[];});}_0xb8fce8[_0x1cd3('0x19de')]=[];_0xb8fce8[_0x1cd3('0x19df')]=_0x5b32d5;_0xb8fce8[_0x1cd3('0x19e0')]=_0x4ad79b;_0xb8fce8['deleteSelectedDescriptions']=_0x1f7f09;function _0x5b32d5(_0x4b7454,_0x4fd105){_0x1a7d73[_0x1cd3('0x37e')]({'controller':'CreateOrEditZohoAccountItemDialogController','controllerAs':'vm','templateUrl':_0x1cd3('0x1bf2'),'parent':angular[_0x1cd3('0x37f')](_0xa31fc3[_0x1cd3('0x380')]),'targetEvent':_0x4b7454,'clickOutsideToClose':!![],'locals':{'type':_0x1cd3('0xde1'),'item':_0x4fd105,'items':_0xb8fce8[_0x1cd3('0x19cd')],'configuration':_0xb8fce8[_0x1cd3('0x1be7')],'account':_0xb8fce8[_0x1cd3('0x1bd9')],'license':null,'setting':null,'crudPermissions':_0xb8fce8[_0x1cd3('0xd27')]}});}function _0x44bc80(_0x11fceb){_0x6f8cd0[_0x1cd3('0xbd8')][_0x1cd3('0xa1c')]({'id':_0x11fceb['id']})['$promise']['then'](function(){_['remove'](_0xb8fce8[_0x1cd3('0x19cd')],{'id':_0x11fceb['id']});_0x2c07bf[_0x1cd3('0x473')]({'title':_0x1cd3('0x19e2'),'msg':_0x1cd3('0x19e3')});})[_0x1cd3('0xfd')](function(_0x400716){_0x2c07bf[_0x1cd3('0x434')]({'title':_0x400716[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x400716['status']+_0x1cd3('0x436')+_0x400716[_0x1cd3('0xd35')]:_0x1cd3('0x19db'),'msg':_0x400716[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x400716[_0x1cd3('0x439')]):_0x400716[_0x1cd3('0x43b')]()});});}function _0x4ad79b(_0x44e6d3,_0x3b0fa1){var _0x480488=_0x1a7d73[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x19e4'))[_0x1cd3('0xd60')](_0x1cd3('0x1a6b')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x19e5'))[_0x1cd3('0xd63')](_0x44e6d3)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x1a7d73[_0x1cd3('0x37e')](_0x480488)[_0x1cd3('0x77')](function(){_0x44bc80(_0x3b0fa1);},function(){console[_0x1cd3('0x7d')]('CANCEL');});}function _0x1f7f09(_0x34f294){var _0x1502c4=_0x1a7d73[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x19e6'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0xb8fce8[_0x1cd3('0x19de')]['length']+'\x20selected</b>'+_0x1cd3('0xd53'))['ariaLabel'](_0x1cd3('0x19e7'))[_0x1cd3('0xd63')](_0x34f294)['ok']('OK')['cancel'](_0x1cd3('0xd55'));_0x1a7d73['show'](_0x1502c4)[_0x1cd3('0x77')](function(){_0xb8fce8[_0x1cd3('0x19de')][_0x1cd3('0x394')](function(_0x167dfc){_0x44bc80(_0x167dfc);});_0xb8fce8[_0x1cd3('0x19de')]=[];});}_0xb8fce8['selectedFields']=[];_0xb8fce8[_0x1cd3('0x1a3f')]=_0x3e826c;_0xb8fce8[_0x1cd3('0x19e9')]=_0x1df12c;_0xb8fce8[_0x1cd3('0x19ea')]=_0x4d4993;function _0x3e826c(_0x5998ba,_0xeebe96){_0x1a7d73['show']({'controller':'CreateOrEditZohoAccountItemDialogController','controllerAs':'vm','templateUrl':_0x1cd3('0x1bf2'),'parent':angular[_0x1cd3('0x37f')](_0xa31fc3[_0x1cd3('0x380')]),'targetEvent':_0x5998ba,'clickOutsideToClose':!![],'locals':{'type':_0x1cd3('0x450'),'item':_0xeebe96,'items':_0xb8fce8['fields'],'configuration':_0xb8fce8[_0x1cd3('0x1be7')],'account':_0xb8fce8[_0x1cd3('0x1bd9')],'license':null,'setting':null,'crudPermissions':_0xb8fce8['crudPermissions']}});}function _0x3bd676(_0x36c622){_0x6f8cd0[_0x1cd3('0xbd8')][_0x1cd3('0xa1c')]({'id':_0x36c622['id']})['$promise'][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0xb8fce8[_0x1cd3('0x3c7')],{'id':_0x36c622['id']});_0x2c07bf[_0x1cd3('0x473')]({'title':_0x1cd3('0xe40'),'msg':_0x1cd3('0x19eb')});})['catch'](function(_0x3928f6){_0x2c07bf[_0x1cd3('0x434')]({'title':_0x3928f6['status']?'API:'+_0x3928f6[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x3928f6['statusText']:_0x1cd3('0x19db'),'msg':_0x3928f6['data']?JSON[_0x1cd3('0x438')](_0x3928f6[_0x1cd3('0x439')]):_0x3928f6['toString']()});});}function _0x1df12c(_0x14dee0,_0x4eb477){var _0x16988=_0x1a7d73['confirm']()['title'](_0x1cd3('0xe3c'))[_0x1cd3('0xd60')](_0x1cd3('0x19ec')+_0x1cd3('0xd53'))['ariaLabel'](_0x1cd3('0xe3d'))[_0x1cd3('0xd63')](_0x14dee0)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x1a7d73[_0x1cd3('0x37e')](_0x16988)['then'](function(){_0x3bd676(_0x4eb477);},function(){console[_0x1cd3('0x7d')]('CANCEL');});}function _0x4d4993(_0x31acb8){var _0x4dc07b=_0x1a7d73['confirm']()['title'](_0x1cd3('0xe42'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0xb8fce8[_0x1cd3('0x19e8')][_0x1cd3('0x7a')]+_0x1cd3('0xd61')+_0x1cd3('0xd53'))['ariaLabel']('delete\x20fields')[_0x1cd3('0xd63')](_0x31acb8)['ok']('OK')[_0x1cd3('0x4d8')]('CANCEL');_0x1a7d73[_0x1cd3('0x37e')](_0x4dc07b)[_0x1cd3('0x77')](function(){_0xb8fce8['selectedFields'][_0x1cd3('0x394')](function(_0x74b0c6){_0x3bd676(_0x74b0c6);});_0xb8fce8[_0x1cd3('0x19e8')]=[];});}}}());(function(){'use strict';_0x3a9931[_0x1cd3('0xc')]=['$scope','$state','$location',_0x1cd3('0x3c5'),'$q',_0x1cd3('0x3f7'),_0x1cd3('0x461'),_0x1cd3('0x19c2'),_0x1cd3('0x1be7'),_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0x463'),_0x1cd3('0xc49'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')]('app.integrations')[_0x1cd3('0x39b')](_0x1cd3('0x1bec'),_0x3a9931);function _0x3a9931(_0x398241,_0xdb094c,_0x4d44e7,_0x44aa30,_0x25c2a4,_0x3694b6,_0x4fbc99,_0x5b53ae,_0x21d7e1,_0x339116,_0x31df8f,_0xee2c6,_0x56c0ab,_0x313e54){var _0x5d9bb6=this;_0x5d9bb6[_0x1cd3('0x3ca')]=_0x31df8f[_0x1cd3('0x5d')]();_0x5d9bb6[_0x1cd3('0xd34')]=[];_0x5d9bb6[_0x1cd3('0xc49')]=_0x56c0ab;_0x5d9bb6[_0x1cd3('0x463')]=_0xee2c6;_0x5d9bb6[_0x1cd3('0xd27')]=_0x313e54;_0x5d9bb6[_0x1cd3('0xd28')]={};_0x5d9bb6['passwordPattern']=_0x5d9bb6['setting']&&_0x5d9bb6[_0x1cd3('0xc49')]['securePassword']?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x5d9bb6['title']='INTEGRATIONS.EDIT_ZOHOCONFIGURATION';_0x5d9bb6['zohoConfiguration']=angular[_0x1cd3('0x429')](_0x21d7e1);_0x5d9bb6[_0x1cd3('0x19c2')]=_0x5b53ae;_0x5d9bb6['newZohoConfiguration']=![];if(!_0x5d9bb6[_0x1cd3('0x1be7')]){_0x5d9bb6['zohoConfiguration']={'channel':_0x1cd3('0x121'),'type':_0x1cd3('0xa4')};_0x5d9bb6[_0x1cd3('0x486')]=_0x1cd3('0x1bf3');_0x5d9bb6[_0x1cd3('0x1bf4')]=!![];}_0x5d9bb6[_0x1cd3('0x1bf5')]=_0x50c657;_0x5d9bb6[_0x1cd3('0x1bf6')]=_0x3b5394;_0x5d9bb6[_0x1cd3('0x1beb')]=_0x1419b7;_0x5d9bb6['getDateFromString']=_0x33c34b;_0x5d9bb6[_0x1cd3('0x39c')]=_0x1f443f;function _0x50c657(){_0x5d9bb6[_0x1cd3('0xd34')]=[];_0x339116[_0x1cd3('0x1be0')][_0x1cd3('0x1a48')]({'id':_0xdb094c['params']['id']},_0x5d9bb6['zohoConfiguration'])['$promise'][_0x1cd3('0x77')](function(_0x3d4c03){_0x5d9bb6[_0x1cd3('0x19c2')][_0x1cd3('0x621')](_0x3d4c03[_0x1cd3('0xd32')]());_0x4fbc99['success']({'title':_0x1cd3('0x1bf7'),'msg':_0x5d9bb6['zohoConfiguration'][_0x1cd3('0x98')]?_0x5d9bb6[_0x1cd3('0x1be7')][_0x1cd3('0x98')]+_0x1cd3('0xd33'):''});_0x1f443f(_0x3d4c03);})[_0x1cd3('0xfd')](function(_0x1c6988){if(_0x1c6988[_0x1cd3('0x439')]&&_0x1c6988[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x1c6988[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length']){_0x5d9bb6['errors']=_0x1c6988['data'][_0x1cd3('0xd34')]||[{'message':_0x1c6988[_0x1cd3('0x43b')](),'type':'api.intZohoConfiguration.save'}];for(var _0x5d9d80=0x0;_0x5d9d80<_0x1c6988['data']['errors'][_0x1cd3('0x7a')];_0x5d9d80+=0x1){_0x4fbc99[_0x1cd3('0x434')]({'title':_0x1c6988[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x5d9d80][_0x1cd3('0x424')],'msg':_0x1c6988['data'][_0x1cd3('0xd34')][_0x5d9d80]['message']});}}else{_0x4fbc99[_0x1cd3('0x434')]({'title':_0x1c6988['status']?_0x1cd3('0x435')+_0x1c6988['status']+_0x1cd3('0x436')+_0x1c6988[_0x1cd3('0xd35')]:_0x1cd3('0x1bf8'),'msg':_0x1c6988[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x1c6988[_0x1cd3('0x439')]['message']):_0x1c6988[_0x1cd3('0x43b')]()});}});}function _0x3b5394(){_0x5d9bb6['errors']=[];_0x339116[_0x1cd3('0xbd4')][_0x1cd3('0x378')]({'id':_0x5d9bb6[_0x1cd3('0x1be7')]['id']},_0x5d9bb6[_0x1cd3('0x1be7')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x199477){var _0x25e2b8=_['find'](_0x5d9bb6[_0x1cd3('0x19c2')],{'id':_0x199477['id']});if(_0x25e2b8){_[_0x1cd3('0xf2')](_0x25e2b8,_[_0x1cd3('0x5e8')](_0x199477[_0x1cd3('0xd32')](),_[_0x1cd3('0x80')](_0x25e2b8)));}_0x4fbc99['success']({'title':_0x1cd3('0x1bf9'),'msg':_0x5d9bb6[_0x1cd3('0x1be7')][_0x1cd3('0x98')]?_0x5d9bb6[_0x1cd3('0x1be7')][_0x1cd3('0x98')]+_0x1cd3('0xd37'):''});_0x1f443f(_0x199477);})[_0x1cd3('0xfd')](function(_0x1acf64){if(_0x1acf64[_0x1cd3('0x439')]&&_0x1acf64['data'][_0x1cd3('0xd34')]&&_0x1acf64['data']['errors'][_0x1cd3('0x7a')]){_0x5d9bb6[_0x1cd3('0xd34')]=_0x1acf64[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x1acf64[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1bfa')}];for(var _0x2b2a73=0x0;_0x2b2a73<_0x1acf64['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x2b2a73++){_0x4fbc99['error']({'title':_0x1acf64[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x2b2a73][_0x1cd3('0x424')],'msg':_0x1acf64[_0x1cd3('0x439')]['errors'][_0x2b2a73][_0x1cd3('0x43a')]});}}else{_0x4fbc99['error']({'title':_0x1acf64[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x1acf64[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x1acf64[_0x1cd3('0xd35')]:_0x1cd3('0x1bfa'),'msg':_0x1acf64['data']?JSON['stringify'](_0x1acf64[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x1acf64['toString']()});}});}function _0x1419b7(_0x5cbdb8){_0x5d9bb6[_0x1cd3('0xd34')]=[];var _0x486d5f=_0x44aa30[_0x1cd3('0xd39')]()['title'](_0x1cd3('0xd3a'))[_0x1cd3('0xd3b')]('The\x20zohoConfiguration\x20will\x20be\x20deleted.')[_0x1cd3('0xd3d')]('Delete\x20ZohoConfiguration')['ok'](_0x1cd3('0xd3f'))[_0x1cd3('0x4d8')](_0x1cd3('0x674'))[_0x1cd3('0xd63')](_0x5cbdb8);_0x44aa30[_0x1cd3('0x37e')](_0x486d5f)[_0x1cd3('0x77')](function(){_0x339116['intZohoConfiguration'][_0x1cd3('0xa1c')]({'id':_0x5d9bb6[_0x1cd3('0x1be7')]['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x5d9bb6[_0x1cd3('0x19c2')],{'id':_0x5d9bb6[_0x1cd3('0x1be7')]['id']});_0x4fbc99[_0x1cd3('0x473')]({'title':_0x1cd3('0x1bfb'),'msg':(_0x5d9bb6[_0x1cd3('0x1be7')][_0x1cd3('0x98')]||_0x1cd3('0x1be7'))+'\x20has\x20been\x20deleted!'});_0x1f443f(_0x5d9bb6[_0x1cd3('0x1be7')]);})[_0x1cd3('0xfd')](function(_0x3e085d){if(_0x3e085d[_0x1cd3('0x439')]&&_0x3e085d[_0x1cd3('0x439')]['errors']&&_0x3e085d['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x5d9bb6[_0x1cd3('0xd34')]=_0x3e085d[_0x1cd3('0x439')]['errors']||[{'message':_0x3e085d['toString'](),'type':_0x1cd3('0x1bfc')}];for(var _0x20bfab=0x0;_0x20bfab<_0x3e085d[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x20bfab++){_0x4fbc99[_0x1cd3('0x434')]({'title':_0x3e085d[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x20bfab][_0x1cd3('0x424')],'msg':_0x3e085d[_0x1cd3('0x439')]['errors'][_0x20bfab][_0x1cd3('0x43a')]});}}else{_0x4fbc99['error']({'title':_0x3e085d[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x3e085d[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x3e085d[_0x1cd3('0xd35')]:_0x1cd3('0x1bfc'),'msg':_0x3e085d['data']?JSON[_0x1cd3('0x438')](_0x3e085d[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x3e085d[_0x1cd3('0x43a')]||_0x3e085d[_0x1cd3('0x43b')]()});}});},function(){});}function _0x33c34b(_0x21a2f7){return _0x21a2f7===null?undefined:new Date(_0x21a2f7);}function _0x1f443f(_0xc776bb){_0x44aa30[_0x1cd3('0x39d')](_0xc776bb);}}}());(function(){'use strict';_0x5ef3d3[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x53e'),_0x1cd3('0xd24'),'$mdDialog',_0x1cd3('0x461'),_0x1cd3('0x19f9'),_0x1cd3('0x493'),'item',_0x1cd3('0x15d3'),_0x1cd3('0x424'),'api',_0x1cd3('0x56'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x35'))[_0x1cd3('0x39b')](_0x1cd3('0x1bf1'),_0x5ef3d3);function _0x5ef3d3(_0x1883bb,_0x491dae,_0x1f8f3e,_0x39f5c6,_0xaa8d24,_0x426f4c,_0x335bd1,_0x477b40,_0x491fc3,_0x2d5bac,_0x557b58,_0x4e3872,_0x4c4c25){var _0x446b07=this;_0x446b07['currentUser']=_0x4e3872['getCurrentUser']();_0x446b07[_0x1cd3('0xd34')]=[];_0x446b07[_0x1cd3('0x486')]=_0x1cd3('0x19fb')+_['toUpper'](_0x2d5bac);_0x446b07[_0x1cd3('0x19fa')]=angular[_0x1cd3('0x429')](_0x477b40);_0x446b07[_0x1cd3('0x493')]=_0x335bd1;_0x446b07['type']=_0x2d5bac;_0x446b07[_0x1cd3('0xd27')]=_0x4c4c25;_0x446b07[_0x1cd3('0x19fc')]=![];if(!_0x446b07[_0x1cd3('0x19fa')]){_0x446b07['item']={'type':_0x1cd3('0x961')};_0x446b07[_0x1cd3('0x19fa')][_['capitalize'](_0x2d5bac)+'Id']=_0x426f4c['id'];_0x446b07['title']=_0x1cd3('0x19fd')+_[_0x1cd3('0x19fe')](_0x2d5bac);_0x446b07[_0x1cd3('0x19fc')]=!![];}_0x446b07['addNewItem']=_0x58fcd3;_0x446b07[_0x1cd3('0x547')]=_0x2b5968;_0x446b07[_0x1cd3('0x548')]=_0x4908a8;_0x446b07['getSelectedVariable']=_0x452515;_0x446b07['closeDialog']=_0x367214;_0x557b58['variable'][_0x1cd3('0x361')]({'nolimit':!![]})[_0x1cd3('0x81')]['then'](function(_0x4a1151){_0x446b07[_0x1cd3('0xef7')]=_0x4a1151[_0x1cd3('0xf6')]?_0x4a1151['rows']:[];return _0x557b58['voiceAgentReport']['describe']()['$promise'];})[_0x1cd3('0x77')](function(_0x41b323){_0x446b07[_0x1cd3('0x1a01')]=_['difference'](_[_0x1cd3('0x80')](_0x41b323),['$promise',_0x1cd3('0xdfc'),'createdAt',_0x1cd3('0x12fe'),'sourceid']);_0x446b07['voiceAgentReportColumns'][_0x1cd3('0x7b')](_0x1cd3('0x1a03'));return _0x557b58[_0x1cd3('0xa69')][_0x1cd3('0xe1c')]()[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x4ab49f){_0x446b07['voiceDialReportColumns']=_[_0x1cd3('0x41f')](_['keys'](_0x4ab49f),['$promise','$resolved',_0x1cd3('0xe0d'),_0x1cd3('0x12fe'),'sourceid']);_0x446b07[_0x1cd3('0x1a04')][_0x1cd3('0x7b')]('recordingURL');})[_0x1cd3('0xfd')](function(_0x31e356){_0xaa8d24[_0x1cd3('0x434')]({'title':_0x31e356['status']?_0x1cd3('0x435')+_0x31e356[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x31e356[_0x1cd3('0xd35')]:_0x1cd3('0x1a05'),'msg':_0x31e356[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x31e356[_0x1cd3('0x439')]):_0x31e356[_0x1cd3('0x43b')]()});});_0x557b58[_0x1cd3('0x1be0')][_0x1cd3('0xdfb')]({'id':_0x491fc3['id'],'ticketType':_0x426f4c[_0x1cd3('0x1a06')]?_0x426f4c['ticketType']:undefined})['$promise'][_0x1cd3('0x77')](function(_0x5c826f){_0x446b07[_0x1cd3('0x1a07')]=!![];_0x446b07['fields']=_0x5c826f[_0x1cd3('0xf6')]?_0x5c826f[_0x1cd3('0xf6')]:[];if(_0x446b07[_0x1cd3('0x19fa')]['idField']){_0x446b07[_0x1cd3('0x150e')]=_[_0x1cd3('0x442')](_0x446b07[_0x1cd3('0x3c7')],{'id':_0x446b07[_0x1cd3('0x19fa')][_0x1cd3('0x1a08')]});}})[_0x1cd3('0xfd')](function(_0x1a1d47){_0x446b07[_0x1cd3('0x1a07')]=![];console[_0x1cd3('0x434')](_0x1a1d47);});function _0x58fcd3(){_0x446b07[_0x1cd3('0xd34')]=[];if(_0x446b07[_0x1cd3('0x150e')]){_0x446b07['item'][_0x1cd3('0x1a08')]=_0x446b07[_0x1cd3('0x150e')]['id'];_0x446b07[_0x1cd3('0x19fa')][_0x1cd3('0x1a09')]=_0x446b07['customField'][_0x1cd3('0x98')];_0x446b07[_0x1cd3('0x19fa')]['customField']=_0x446b07[_0x1cd3('0x150e')]['custom'];}_0x557b58[_0x1cd3('0xbd8')]['save'](_0x446b07[_0x1cd3('0x19fa')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x48ca1f){_0x446b07[_0x1cd3('0x493')][_0x1cd3('0x621')](_0x48ca1f);_0xaa8d24[_0x1cd3('0x473')]({'title':_[_0x1cd3('0x12b1')](_0x2d5bac)+'\x20properly\x20created','msg':_[_0x1cd3('0x12b1')](_0x2d5bac)+_0x1cd3('0xd33')});_0x367214();})[_0x1cd3('0xfd')](function(_0x2b177a){console[_0x1cd3('0x434')](_0x2b177a);_0x446b07['errors']=_0x2b177a[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x2b177a[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1a0b')}];});}function _0x2b5968(){_0x446b07[_0x1cd3('0xd34')]=[];if(_0x446b07[_0x1cd3('0x150e')]){_0x446b07['item']['idField']=_0x446b07[_0x1cd3('0x150e')]['id'];_0x446b07['item'][_0x1cd3('0x1a09')]=_0x446b07[_0x1cd3('0x150e')][_0x1cd3('0x98')];_0x446b07[_0x1cd3('0x19fa')][_0x1cd3('0x150e')]=_0x446b07['customField']['custom'];}_0x557b58[_0x1cd3('0xbd8')]['update']({'id':_0x446b07[_0x1cd3('0x19fa')]['id']},_0x446b07[_0x1cd3('0x19fa')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0xacf3de){var _0x187682=_[_0x1cd3('0x442')](_0x446b07[_0x1cd3('0x493')],{'id':_0xacf3de['id']});if(_0x187682){_[_0x1cd3('0xf2')](_0x187682,_0xacf3de);}_0xaa8d24[_0x1cd3('0x473')]({'title':_['capitalize'](_0x2d5bac)+_0x1cd3('0x1a50'),'msg':_[_0x1cd3('0x12b1')](_0x2d5bac)+_0x1cd3('0xd37')});_0x367214();})['catch'](function(_0x6ff31f){console[_0x1cd3('0x434')](_0x6ff31f);_0x446b07[_0x1cd3('0xd34')]=_0x6ff31f[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x6ff31f[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1a0c')}];});}function _0x4908a8(_0x11c8a8){_0x446b07[_0x1cd3('0xd34')]=[];var _0x1317ff=_0x39f5c6[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xd3a'))[_0x1cd3('0xd3b')](_0x1cd3('0x158a')+_0x2d5bac+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')]('Delete\x20'+_[_0x1cd3('0x12b1')](_0x2d5bac))['ok'](_0x1cd3('0xd3f'))[_0x1cd3('0x4d8')]('Cancel')[_0x1cd3('0xd63')](_0x11c8a8);_0x39f5c6[_0x1cd3('0x37e')](_0x1317ff)[_0x1cd3('0x77')](function(){_0x557b58['intZohoField'][_0x1cd3('0xa1c')]({'id':_0x446b07[_0x1cd3('0x19fa')]['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x446b07[_0x1cd3('0x493')],{'id':_0x446b07[_0x1cd3('0x19fa')]['id']});_0xaa8d24[_0x1cd3('0x473')]({'title':_[_0x1cd3('0x12b1')](_0x2d5bac)+_0x1cd3('0x1a0e'),'msg':_[_0x1cd3('0x12b1')](_0x2d5bac)+_0x1cd3('0xd41')});_0x367214();})[_0x1cd3('0xfd')](function(_0x41fa82){console[_0x1cd3('0x434')](_0x41fa82);_0x446b07[_0x1cd3('0xd34')]=_0x41fa82[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x41fa82[_0x1cd3('0x43b')](),'type':'api.item.delete'}];});},function(){});}function _0x452515(){if(_0x446b07[_0x1cd3('0x19fa')]['variableName']!==undefined){return _0x446b07[_0x1cd3('0x19fa')][_0x1cd3('0x1a0f')];}else{return _0x1cd3('0x1a10');}};function _0x367214(){_0x39f5c6[_0x1cd3('0x39d')]();}}}());(function(){'use strict';_0xe39126[_0x1cd3('0xc')]=[_0x1cd3('0x53e'),_0x1cd3('0xd24'),'$mdDialog',_0x1cd3('0x372'),'$translate','license',_0x1cd3('0xc49'),_0x1cd3('0x370'),_0x1cd3('0x461'),_0x1cd3('0x56'),_0x1cd3('0x1bd9'),_0x1cd3('0x390')];angular[_0x1cd3('0x0')]('app.integrations')['controller']('ZohoAccountController',_0xe39126);function _0xe39126(_0x3c5ea2,_0x8b852d,_0x236655,_0x5adf81,_0x1ad7f6,_0x114da9,_0x598476,_0x2f3ddf,_0x3fd436,_0x2fae80,_0x1868f0,_0x17cb0b){var _0x12a42a=this;_0x12a42a[_0x1cd3('0x3ca')]=_0x2fae80[_0x1cd3('0x5d')]();_0x12a42a['license']=_0x114da9;_0x12a42a['setting']=_0x598476;_0x12a42a[_0x1cd3('0xd29')]=_0x12a42a[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x12a42a[_0x1cd3('0xd22')]=_0x8b852d[_0x1cd3('0x3b0')]()+_0x1cd3('0x11cf')+_0x8b852d[_0x1cd3('0x3ac')]();_0x12a42a[_0x1cd3('0x1bd9')]=_0x1868f0||_0x3c5ea2['params']['zohoAccount']||{};_0x12a42a[_0x1cd3('0x390')]=_0x17cb0b&&_0x17cb0b[_0x1cd3('0x466')]==0x1?_0x17cb0b[_0x1cd3('0xf6')][0x0]:null;_0x12a42a[_0x1cd3('0xd27')]=_0x2fae80[_0x1cd3('0xd44')](_0x12a42a[_0x1cd3('0x390')]?_0x12a42a[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);_0x12a42a[_0x1cd3('0xd28')]={};_0x12a42a[_0x1cd3('0xe5f')]=_0x3c5ea2[_0x1cd3('0x36a')][_0x1cd3('0x1418')]||0x0;_0x12a42a['alert']=_0x3fd436[_0x1cd3('0x654')];_0x12a42a[_0x1cd3('0x1bfd')]=_0x2debb3;_0x12a42a['saveZohoAccount']=_0x25719d;function _0x2debb3(){_0x3c5ea2['go']('app.integrations.zohoAccounts',{},{'reload':_0x1cd3('0x1bfe')});}function _0x25719d(){_0x2f3ddf[_0x1cd3('0x1be0')][_0x1cd3('0x378')]({'id':_0x12a42a[_0x1cd3('0x1bd9')]['id']},_0x12a42a['zohoAccount'])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x3fd436[_0x1cd3('0x473')]({'title':_0x1cd3('0x1bff'),'msg':_0x12a42a['zohoAccount'][_0x1cd3('0x98')]?_0x12a42a[_0x1cd3('0x1bd9')][_0x1cd3('0x98')]+_0x1cd3('0xe65'):''});})['catch'](function(_0x432f32){_0x3fd436[_0x1cd3('0x434')]({'title':_0x432f32['status']?_0x1cd3('0x435')+_0x432f32['status']+_0x1cd3('0x436')+_0x432f32['statusText']:_0x1cd3('0x1c00'),'msg':_0x432f32['data']?JSON[_0x1cd3('0x438')](_0x432f32[_0x1cd3('0x439')]):_0x432f32['toString']()});});}}}());(function(){'use strict';_0x4bad58[_0x1cd3('0xc')]=[_0x1cd3('0x460'),'$window',_0x1cd3('0x53e'),_0x1cd3('0x969'),'$mdDialog',_0x1cd3('0x372'),'$timeout','$translate',_0x1cd3('0x1bd8'),_0x1cd3('0x38a'),_0x1cd3('0x390'),_0x1cd3('0x370'),'msUtils',_0x1cd3('0x461'),_0x1cd3('0x56'),_0x1cd3('0x463'),'setting'];angular[_0x1cd3('0x0')](_0x1cd3('0x35'))[_0x1cd3('0x39b')](_0x1cd3('0x1c01'),_0x4bad58);function _0x4bad58(_0x1b3d51,_0x5a80bf,_0x556834,_0x4c05c5,_0x51c92d,_0x5173c7,_0x522356,_0x291c71,_0x39ac1a,_0x1fd5a6,_0x541918,_0x577cad,_0x5c90ba,_0x1c103c,_0x53ae17,_0x577d77,_0x5a6c9a){var _0x5ad8eb=this;_0x5ad8eb[_0x1cd3('0x463')]=_0x577d77;_0x5ad8eb['setting']=_0x5a6c9a;_0x5ad8eb[_0x1cd3('0x3ca')]=_0x53ae17['getCurrentUser']();_0x5ad8eb['zohoAccounts']=_0x39ac1a||{'count':0x0,'rows':[]};_0x5ad8eb[_0x1cd3('0x38a')]=_0x1fd5a6;_0x5ad8eb[_0x1cd3('0x390')]=_0x541918&&_0x541918['count']==0x1?_0x541918[_0x1cd3('0xf6')][0x0]:null;_0x5ad8eb['crudPermissions']=_0x53ae17['parseCrudPermissions'](_0x5ad8eb[_0x1cd3('0x390')]?_0x5ad8eb['userProfileSection'][_0x1cd3('0xd27')]:null);_0x5ad8eb[_0x1cd3('0xd45')]=_0x1cd3('0x1bd8');_0x5ad8eb[_0x1cd3('0xd46')]='';_0x5ad8eb['listOrderAsc']=null;_0x5ad8eb[_0x1cd3('0x1c02')]=[];_0x5ad8eb[_0x1cd3('0x3d4')]={'fields':_0x1cd3('0x1a1'),'limit':0xa,'page':0x1};_0x5ad8eb[_0x1cd3('0x1c03')]=_[_0x1cd3('0xe2d')]([{'option':'zoho.com','value':'\x27zoho.com\x27'},{'option':_0x1cd3('0x1c04'),'value':'\x27zoho.eu\x27'}],function(_0x15bd50){return _[_0x1cd3('0x3f1')](_0x15bd50[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x5ad8eb[_0x1cd3('0x1c05')]=_[_0x1cd3('0xe2d')]([{'option':'US','value':_0x1cd3('0x1c06')},{'option':'AU','value':_0x1cd3('0x1c07')},{'option':'EU','value':'\x27EU\x27'},{'option':'IN','value':_0x1cd3('0x1c08')},{'option':'CN','value':'\x27CN\x27'}],function(_0x50d9a9){return _[_0x1cd3('0x3f1')](_0x50d9a9['value'],new RegExp('\x27','g'),'');});_0x5ad8eb[_0x1cd3('0x1171')]=_0x18adfd;_0x5ad8eb['testtestintegrationaccount']=_0x33ea51;_0x5ad8eb[_0x1cd3('0xecc')]=_0x5e23b3;_0x5ad8eb[_0x1cd3('0x473')]=_0xcd45f;_0x5ad8eb['getZohoAccounts']=_0x160cc6;_0x5ad8eb[_0x1cd3('0x1c09')]=_0x4c7be3;_0x5ad8eb[_0x1cd3('0x1bdf')]=_0x1645de;_0x5ad8eb[_0x1cd3('0x1c0a')]=_0x2161b8;_0x5ad8eb[_0x1cd3('0x1c0b')]=_0x4a5b21;_0x5ad8eb[_0x1cd3('0x1c0c')]=_0x31ee10;_0x5ad8eb[_0x1cd3('0x1c0d')]=_0x17f863;function _0x18adfd(_0x30f98b,_0x20f5fa){_0x556834['go']('app.integrations.zohoAccounts.edit',{'id':_0x30f98b['id'],'zohoAccount':_0x30f98b,'crudPermissions':_0x5ad8eb[_0x1cd3('0xd27')]});}function _0x33ea51(_0x1042b0,_0x827785){return _0x577cad[_0x1cd3('0x1be0')][_0x1cd3('0xdfb')]({'id':_0x1042b0['id'],'test':!![]})[_0x1cd3('0x81')]['then'](function(){_0x1c103c[_0x1cd3('0x473')]({'title':'ZohoAccount\x20properly\x20tested','msg':_0x1cd3('0x1a28')});})[_0x1cd3('0xfd')](function(_0x5e05b9){_0x1c103c['error']({'title':_0x1cd3('0x1c0e'),'msg':_0x5e05b9['data']?_0x5e05b9[_0x1cd3('0x439')][_0x1cd3('0x43a')]?_0x5e05b9['data'][_0x1cd3('0x43a')]:JSON[_0x1cd3('0x438')](_0x5e05b9[_0x1cd3('0x439')]):_0x5e05b9[_0x1cd3('0x43b')]()});});}function _0x5e23b3(_0x150777,_0x231de0){var _0x3a209e=_0x51c92d[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xd4f')+_[_0x1cd3('0xd50')]('zohoAccount')+'?')['htmlContent']('<b>'+(_0x150777[_0x1cd3('0x98')]||_0x1cd3('0x1bd9'))+_0x1cd3('0xd52')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x1c0f'))[_0x1cd3('0xd63')](_0x231de0)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x51c92d[_0x1cd3('0x37e')](_0x3a209e)['then'](function(){_0x1645de(_0x150777);},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}var _0x5216d2=!![];var _0x6a1655=0x1;_0x1b3d51[_0x1cd3('0x4d6')](_0x1cd3('0xd56'),function(_0x51c9e7,_0x3a6782){if(_0x5216d2){_0x522356(function(){_0x5216d2=![];});}else{if(!_0x3a6782){_0x6a1655=_0x5ad8eb[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0x51c9e7!==_0x3a6782){_0x5ad8eb[_0x1cd3('0x3d4')]['page']=0x1;}if(!_0x51c9e7){_0x5ad8eb[_0x1cd3('0x3d4')]['page']=_0x6a1655;}_0x5ad8eb[_0x1cd3('0x1c10')]();}});function _0xcd45f(_0x1ef8a2){_0x5ad8eb[_0x1cd3('0x1bd8')]=_0x1ef8a2||{'count':0x0,'rows':[]};}function _0x160cc6(){_0x5ad8eb[_0x1cd3('0x3d4')]['offset']=(_0x5ad8eb[_0x1cd3('0x3d4')]['page']-0x1)*_0x5ad8eb[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];if(_0x53ae17[_0x1cd3('0x57')]('admin')){_0x5ad8eb[_0x1cd3('0x539')]=_0x577cad[_0x1cd3('0x1be0')][_0x1cd3('0x361')](_0x5ad8eb[_0x1cd3('0x3d4')],_0xcd45f)[_0x1cd3('0x81')];}else{_0x5ad8eb[_0x1cd3('0x3d4')]['id']=_0x5ad8eb[_0x1cd3('0x38a')]['id'];_0x5ad8eb['query']['section']=_0x1cd3('0x1c11');_0x5ad8eb[_0x1cd3('0x539')]=_0x577cad[_0x1cd3('0x38a')]['getResources'](_0x5ad8eb[_0x1cd3('0x3d4')],_0xcd45f)['$promise'];}}function _0x4c7be3(_0x4643d0,_0x4e2fce){_0x51c92d[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1c12'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1c13'),'parent':angular['element'](_0x5173c7[_0x1cd3('0x380')]),'targetEvent':_0x4643d0,'clickOutsideToClose':!![],'locals':{'zohoAccount':_0x4e2fce,'zohoAccounts':_0x5ad8eb['zohoAccounts']['rows'],'license':_0x5ad8eb[_0x1cd3('0x463')],'setting':_0x5ad8eb[_0x1cd3('0xc49')],'crudPermissions':_0x5ad8eb[_0x1cd3('0xd27')]}});}function _0x1645de(_0x2ea067){_0x577cad[_0x1cd3('0x1be0')][_0x1cd3('0xa1c')]({'id':_0x2ea067['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x5ad8eb[_0x1cd3('0x1bd8')][_0x1cd3('0xf6')],{'id':_0x2ea067['id']});_0x5ad8eb[_0x1cd3('0x1bd8')][_0x1cd3('0x466')]-=0x1;if(!_0x5ad8eb[_0x1cd3('0x1bd8')]['rows']['length']){_0x5ad8eb[_0x1cd3('0x1c10')]();}_0x1c103c[_0x1cd3('0x473')]({'title':_[_0x1cd3('0xd50')](_0x1cd3('0x1c14'))+_0x1cd3('0xd5c'),'msg':_0x2ea067[_0x1cd3('0x98')]?_0x2ea067[_0x1cd3('0x98')]+_0x1cd3('0xd41'):''});})[_0x1cd3('0xfd')](function(_0x46c80d){if(_0x46c80d[_0x1cd3('0x439')]&&_0x46c80d[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x46c80d[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x5ad8eb[_0x1cd3('0xd34')]=_0x46c80d[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x46c80d[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1c15')}];for(var _0x354e4f=0x0;_0x354e4f<_0x46c80d[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x354e4f++){_0x1c103c['error']({'title':_0x46c80d['data'][_0x1cd3('0xd34')][_0x354e4f][_0x1cd3('0x424')],'msg':_0x46c80d[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x354e4f]['message']});}}else{_0x1c103c['error']({'title':_0x46c80d['status']?_0x1cd3('0x435')+_0x46c80d[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x46c80d[_0x1cd3('0xd35')]:_0x1cd3('0x1c15'),'msg':_0x46c80d[_0x1cd3('0x439')]?JSON['stringify'](_0x46c80d[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x46c80d[_0x1cd3('0x43a')]||_0x46c80d['toString']()});}});}function _0x2161b8(){var _0xc89c5e=angular[_0x1cd3('0x429')](_0x5ad8eb[_0x1cd3('0x1c02')]);_0x5ad8eb[_0x1cd3('0x1c02')]=[];return _0xc89c5e;}function _0x4a5b21(_0x372606){var _0x456ad3=_0x51c92d['confirm']()[_0x1cd3('0x486')](_0x1cd3('0x1c16'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x5ad8eb['selectedZohoAccounts']['length']+'\x20selected</b>'+'\x20will\x20be\x20deleted.')[_0x1cd3('0xd3d')]('delete\x20ZohoAccounts')[_0x1cd3('0xd63')](_0x372606)['ok']('OK')['cancel'](_0x1cd3('0xd55'));_0x51c92d['show'](_0x456ad3)[_0x1cd3('0x77')](function(){_0x5ad8eb[_0x1cd3('0x1c02')][_0x1cd3('0x394')](function(_0x31519d){_0x1645de(_0x31519d);});_0x5ad8eb['selectedZohoAccounts']=[];});}function _0x31ee10(){_0x5ad8eb[_0x1cd3('0x1c02')]=[];}function _0x17f863(){_0x5ad8eb[_0x1cd3('0x1c02')]=_0x5ad8eb[_0x1cd3('0x1bd8')][_0x1cd3('0xf6')];}}}());(function(){'use strict';_0x124d61[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x53e'),_0x1cd3('0xd24'),_0x1cd3('0x3c5'),'$q',_0x1cd3('0x3f7'),_0x1cd3('0x461'),_0x1cd3('0xeda'),_0x1cd3('0xedd'),_0x1cd3('0x370'),_0x1cd3('0x56'),'license','setting',_0x1cd3('0xd27')];angular['module'](_0x1cd3('0x37'))[_0x1cd3('0x39b')](_0x1cd3('0x1c17'),_0x124d61);function _0x124d61(_0xf30b8e,_0x5e469f,_0x4d761d,_0x23c013,_0x2d57fb,_0x5239d1,_0x519654,_0x4c6f68,_0x35b7e2,_0x2a18eb,_0x277fac,_0x165f95,_0x4590a2,_0x4e18d2){var _0x5936b4=this;_0x5936b4[_0x1cd3('0x3ca')]=_0x277fac['getCurrentUser']();_0x5936b4[_0x1cd3('0xd34')]=[];_0x5936b4[_0x1cd3('0xc49')]=_0x4590a2;_0x5936b4['license']=_0x165f95;_0x5936b4[_0x1cd3('0xd27')]=_0x4e18d2;_0x5936b4[_0x1cd3('0xd28')]={};_0x5936b4[_0x1cd3('0xd29')]=_0x5936b4[_0x1cd3('0xc49')]&&_0x5936b4['setting'][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x5936b4[_0x1cd3('0x486')]=_0x1cd3('0x1c18');_0x5936b4['project']=angular[_0x1cd3('0x429')](_0x35b7e2);_0x5936b4[_0x1cd3('0xeda')]=_0x4c6f68;_0x5936b4['newProject']=![];if(!_0x5936b4['project']){_0x5936b4[_0x1cd3('0xedd')]={'enableUncompleteSave':!![],'sendUnpauseOnSubmit':!![]};_0x5936b4['title']=_0x1cd3('0x1c19');_0x5936b4['newProject']=!![];}_0x5936b4[_0x1cd3('0x1c1a')]=_0x2b71c9;_0x5936b4['saveProject']=_0x19dbb2;_0x5936b4[_0x1cd3('0x1174')]=_0x409009;_0x5936b4[_0x1cd3('0xd31')]=_0xe24877;_0x5936b4[_0x1cd3('0x39c')]=_0x501c73;function _0x2b71c9(){_0x5936b4[_0x1cd3('0xd34')]=[];_0x2a18eb[_0x1cd3('0xc42')][_0x1cd3('0xd6d')](_0x5936b4[_0x1cd3('0xedd')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x283d4d){_0x5936b4[_0x1cd3('0xeda')][_0x1cd3('0x621')](_0x283d4d[_0x1cd3('0xd32')]());_0x519654['success']({'title':_0x1cd3('0xee3'),'msg':_0x5936b4[_0x1cd3('0xedd')][_0x1cd3('0x98')]?_0x5936b4[_0x1cd3('0xedd')]['name']+_0x1cd3('0xd33'):''});_0x501c73(_0x283d4d);})['catch'](function(_0x3fa490){if(_0x3fa490[_0x1cd3('0x439')]&&_0x3fa490[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x3fa490['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x5936b4[_0x1cd3('0xd34')]=_0x3fa490['data']['errors']||[{'message':_0x3fa490[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1c1b')}];for(var _0x5729f9=0x0;_0x5729f9<_0x3fa490['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x5729f9+=0x1){_0x519654[_0x1cd3('0x434')]({'title':_0x3fa490[_0x1cd3('0x439')]['errors'][_0x5729f9][_0x1cd3('0x424')],'msg':_0x3fa490[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x5729f9][_0x1cd3('0x43a')]});}}else{_0x519654[_0x1cd3('0x434')]({'title':_0x3fa490[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x3fa490['status']+_0x1cd3('0x436')+_0x3fa490[_0x1cd3('0xd35')]:'api.jscriptyProject.save','msg':_0x3fa490['data']?JSON['stringify'](_0x3fa490[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x3fa490['toString']()});}});}function _0x19dbb2(){_0x5936b4[_0x1cd3('0xd34')]=[];_0x2a18eb['jscriptyProject'][_0x1cd3('0x378')]({'id':_0x5936b4[_0x1cd3('0xedd')]['id']},_0x5936b4[_0x1cd3('0xedd')])['$promise']['then'](function(_0x500bf0){var _0xbdcbc4=_[_0x1cd3('0x442')](_0x5936b4[_0x1cd3('0xeda')],{'id':_0x500bf0['id']});if(_0xbdcbc4){_[_0x1cd3('0xf2')](_0xbdcbc4,_[_0x1cd3('0x5e8')](_0x500bf0[_0x1cd3('0xd32')](),_[_0x1cd3('0x80')](_0xbdcbc4)));}_0x519654[_0x1cd3('0x473')]({'title':_0x1cd3('0xee8'),'msg':_0x5936b4[_0x1cd3('0xedd')][_0x1cd3('0x98')]?_0x5936b4[_0x1cd3('0xedd')][_0x1cd3('0x98')]+_0x1cd3('0xd37'):''});_0x501c73(_0x500bf0);})[_0x1cd3('0xfd')](function(_0x3d9e33){if(_0x3d9e33[_0x1cd3('0x439')]&&_0x3d9e33[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x3d9e33[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x5936b4[_0x1cd3('0xd34')]=_0x3d9e33[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x3d9e33[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1c1c')}];for(var _0x495b7a=0x0;_0x495b7a<_0x3d9e33['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x495b7a++){_0x519654[_0x1cd3('0x434')]({'title':_0x3d9e33[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x495b7a][_0x1cd3('0x424')],'msg':_0x3d9e33['data'][_0x1cd3('0xd34')][_0x495b7a][_0x1cd3('0x43a')]});}}else{_0x519654[_0x1cd3('0x434')]({'title':_0x3d9e33[_0x1cd3('0x3a6')]?'API:'+_0x3d9e33['status']+_0x1cd3('0x436')+_0x3d9e33['statusText']:_0x1cd3('0x1c1c'),'msg':_0x3d9e33[_0x1cd3('0x439')]?JSON['stringify'](_0x3d9e33[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x3d9e33[_0x1cd3('0x43b')]()});}});}function _0x409009(_0x430d3e){_0x5936b4['errors']=[];var _0x55ed03=_0x23c013[_0x1cd3('0xd39')]()['title']('Are\x20you\x20sure?')[_0x1cd3('0xd3b')](_0x1cd3('0xeea'))[_0x1cd3('0xd3d')](_0x1cd3('0xeeb'))['ok'](_0x1cd3('0xd3f'))['cancel'](_0x1cd3('0x674'))[_0x1cd3('0xd63')](_0x430d3e);_0x23c013['show'](_0x55ed03)[_0x1cd3('0x77')](function(){_0x2a18eb['jscriptyProject']['delete']({'id':_0x5936b4[_0x1cd3('0xedd')]['id']})[_0x1cd3('0x81')]['then'](function(){_['remove'](_0x5936b4[_0x1cd3('0xeda')],{'id':_0x5936b4[_0x1cd3('0xedd')]['id']});_0x519654[_0x1cd3('0x473')]({'title':_0x1cd3('0xeed'),'msg':(_0x5936b4[_0x1cd3('0xedd')][_0x1cd3('0x98')]||'project')+_0x1cd3('0xd41')});_0x501c73(_0x5936b4[_0x1cd3('0xedd')]);})[_0x1cd3('0xfd')](function(_0x1f8177){if(_0x1f8177['data']&&_0x1f8177[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x1f8177[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x5936b4['errors']=_0x1f8177[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x1f8177[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1c1d')}];for(var _0x542e12=0x0;_0x542e12<_0x1f8177[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0x542e12++){_0x519654[_0x1cd3('0x434')]({'title':_0x1f8177[_0x1cd3('0x439')]['errors'][_0x542e12][_0x1cd3('0x424')],'msg':_0x1f8177[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x542e12][_0x1cd3('0x43a')]});}}else{_0x519654[_0x1cd3('0x434')]({'title':_0x1f8177['status']?_0x1cd3('0x435')+_0x1f8177[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x1f8177[_0x1cd3('0xd35')]:'api.jscriptyProject.delete','msg':_0x1f8177['data']?JSON[_0x1cd3('0x438')](_0x1f8177[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x1f8177[_0x1cd3('0x43a')]||_0x1f8177['toString']()});}});},function(){});}function _0xe24877(_0x1e9e1b){return _0x1e9e1b===null?undefined:new Date(_0x1e9e1b);}function _0x501c73(_0x31af83){_0x23c013[_0x1cd3('0x39d')](_0x31af83);}}}());(function(){'use strict';_0x1a852e[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),_0x1cd3('0x372'),_0x1cd3('0x371'),_0x1cd3('0x370'),'toasty','dateFilterLocalizationFactory'];angular[_0x1cd3('0x0')](_0x1cd3('0x37'))[_0x1cd3('0x39b')](_0x1cd3('0x1c1e'),_0x1a852e);function _0x1a852e(_0xeb5a20,_0x1d7de3,_0x1210b1,_0x44736e,_0x1a8688,_0x3a4522){var _0x403808=this;_0x403808[_0x1cd3('0xedd')]={};_0x403808['localizationMap']=_0x3a4522;var _0x5c07f6=new Date();_0x5c07f6[_0x1cd3('0x129a')](0x0,0x0,0x0,0x0);_0x403808[_0x1cd3('0x1c1f')]={'dateStart':_0x5c07f6,'dateEnd':null,'selectedTemplate':'TD'};_0x403808[_0x1cd3('0xe08')]=_0x19ba81;_0x403808[_0x1cd3('0x1c20')]=_0x41570b;_0x403808[_0x1cd3('0x1c21')]=_0x309769;function _0x309769(){_0x403808[_0x1cd3('0x1c22')]=![];return _0x44736e['jscriptyProject'][_0x1cd3('0x1c21')]({'id':_0x403808[_0x1cd3('0xedd')]['id'],'sort':_0x1cd3('0x1c23'),'createdAt':{'$gte':_0x403808[_0x1cd3('0x1c1f')][_0x1cd3('0x6cf')],'$lte':moment(_0x403808['pickerModel'][_0x1cd3('0x6d0')])['add'](0x17,_0x1cd3('0x6d1'))['add'](0x3b,_0x1cd3('0x6d2'))[_0x1cd3('0x425')](0x3b,_0x1cd3('0x791'))[_0x1cd3('0x130')]()},'nolimit':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x2caa6d){if(_0x2caa6d&&_0x2caa6d[_0x1cd3('0xf6')]&&_0x2caa6d[_0x1cd3('0x3d0')]('count')){_0x403808['answers']={};for(var _0x2813a7=0x0,_0xf29c5a=_0x2caa6d[_0x1cd3('0x466')];_0x2813a7<_0xf29c5a;_0x2813a7++){if(_0x2caa6d[_0x1cd3('0xf6')][_0x2813a7][_0x1cd3('0x1c24')]){_0x403808['hasIdAnswers']=!![];if(!_0x403808[_0x1cd3('0x1c25')][_0x1cd3('0x3d0')](_0x2caa6d[_0x1cd3('0xf6')][_0x2813a7][_0x1cd3('0x1c24')])){_0x403808[_0x1cd3('0x1c25')][_0x2caa6d[_0x1cd3('0xf6')][_0x2813a7]['questionId']]={'question':_0x2caa6d[_0x1cd3('0xf6')][_0x2813a7][_0x1cd3('0x189e')],'answers':{},'sum':0x0};}_0x2caa6d[_0x1cd3('0xf6')][_0x2813a7][_0x1cd3('0x5e2')]===''&&(_0x2caa6d[_0x1cd3('0xf6')][_0x2813a7]['answer']='NO_ANSWER');if(_0x403808[_0x1cd3('0x1c25')][_0x2caa6d[_0x1cd3('0xf6')][_0x2813a7][_0x1cd3('0x1c24')]]['answers'][_0x2caa6d['rows'][_0x2813a7][_0x1cd3('0x5e2')]]){_0x403808['answers'][_0x2caa6d[_0x1cd3('0xf6')][_0x2813a7][_0x1cd3('0x1c24')]][_0x1cd3('0x1c25')][_0x2caa6d[_0x1cd3('0xf6')][_0x2813a7][_0x1cd3('0x5e2')]]+=0x1;}else{_0x403808[_0x1cd3('0x1c25')][_0x2caa6d['rows'][_0x2813a7][_0x1cd3('0x1c24')]][_0x1cd3('0x1c25')][_0x2caa6d['rows'][_0x2813a7]['answer']]=0x1;}_0x403808['answers'][_0x2caa6d[_0x1cd3('0xf6')][_0x2813a7][_0x1cd3('0x1c24')]]['sum']+=0x1;}}}})[_0x1cd3('0xfd')](function(_0x164528){_0x1a8688['error']({'title':_0x164528[_0x1cd3('0x3a6')]?'API:'+_0x164528[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x164528[_0x1cd3('0xd35')]:_0x1cd3('0x1c26'),'msg':_0x164528[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x164528['data']):_0x164528[_0x1cd3('0x43b')]()});});}function _0x19ba81(_0x163a5b){_0x403808[_0x1cd3('0xedd')]=_0x163a5b;_0x403808[_0x1cd3('0x1c21')]();}function _0x41570b(){return _0x44736e[_0x1cd3('0xc42')][_0x1cd3('0x1c20')]({'id':_0x403808[_0x1cd3('0xedd')]['id'],'startTime':{'$gte':_0x403808[_0x1cd3('0x1c1f')][_0x1cd3('0x6cf')],'$lte':moment(_0x403808[_0x1cd3('0x1c1f')][_0x1cd3('0x6d0')])['add'](0x17,_0x1cd3('0x6d1'))[_0x1cd3('0x425')](0x3b,_0x1cd3('0x6d2'))[_0x1cd3('0x425')](0x3b,_0x1cd3('0x791'))[_0x1cd3('0x130')]()},'nolimit':!![]})[_0x1cd3('0x81')]['then'](function(_0x311126){if(typeof _0x311126[_0x1cd3('0x7a')]!==_0x1cd3('0x491')){var _0x40314a=[_0x311126['buffer']];var _0x54c6e2=new Blob(_0x40314a,{'type':_0x311126[_0x1cd3('0x424')]});var _0x1d8804=window[_0x1cd3('0x924')]['createElement']('a');_0x1d8804[_0x1cd3('0x481')](_0x1cd3('0x3ab'),URL['createObjectURL'](_0x54c6e2));_0x1d8804['setAttribute'](_0x1cd3('0x489'),'jscriptyProjectSummary_'+_0x403808[_0x1cd3('0xedd')]['id']+'.csv');_0x1d8804[_0x1cd3('0x52d')]();}else{_0x1a8688[_0x1cd3('0x654')]({'title':_0x1cd3('0x154d'),'msg':_0x1cd3('0x1c27')});}})[_0x1cd3('0xfd')](function(_0x27c7ff){_0x1a8688[_0x1cd3('0x434')]({'title':_0x27c7ff['status']?_0x1cd3('0x435')+_0x27c7ff[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x27c7ff['statusText']:_0x1cd3('0x1c28'),'msg':_0x27c7ff[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x27c7ff[_0x1cd3('0x439')]):_0x27c7ff['toString']()});});}}}());(function(){'use strict';angular['module'](_0x1cd3('0x37'))[_0x1cd3('0x39b')](_0x1cd3('0x1c29'),_0x10c4ef);function _0x10c4ef(){var _0x2d737f=this;_0x2d737f[_0x1cd3('0xedd')]={};_0x2d737f['optionsBuilder']={'questionTypes':['text',_0x1cd3('0x122f'),_0x1cd3('0x1c2a'),_0x1cd3('0x1c2b'),_0x1cd3('0x44f'),_0x1cd3('0x407'),'date',_0x1cd3('0x10d3'),'email','range','url'],'elementTypes':['question','paragraph']};_0x2d737f[_0x1cd3('0xe08')]=_0x435b84;_0x2d737f[_0x1cd3('0x1898')]=_0x51242c;function _0x51242c(_0x411334){if(_[_0x1cd3('0x472')](_0x411334)){return![];}try{JSON[_0x1cd3('0x79')](_0x411334);}catch(_0x4c191b){return![];}return!![];}function _0x435b84(_0x3b9fa1){_0x2d737f[_0x1cd3('0xedd')]=_0x3b9fa1;if(_[_0x1cd3('0x1897')](_0x3b9fa1[_0x1cd3('0x15c2')])){_0x2d737f['project'][_0x1cd3('0x15c2')]=_0x3b9fa1[_0x1cd3('0x15c2')];}else if(_0x2d737f[_0x1cd3('0x1898')](_0x3b9fa1[_0x1cd3('0x15c2')])){_0x2d737f[_0x1cd3('0xedd')][_0x1cd3('0x15c2')]=JSON['parse'](_0x3b9fa1[_0x1cd3('0x15c2')]);}else{_0x2d737f[_0x1cd3('0xedd')][_0x1cd3('0x15c2')]={};}}}}());(function(){'use strict';_0xa62ab6[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),_0x1cd3('0x53e'),_0x1cd3('0x461'),_0x1cd3('0x370'),_0x1cd3('0xedd'),_0x1cd3('0xeda'),_0x1cd3('0x3f7')];angular[_0x1cd3('0x0')](_0x1cd3('0x37'))[_0x1cd3('0x39b')](_0x1cd3('0x1c2c'),_0xa62ab6);function _0xa62ab6(_0x5aa43a,_0x536d6e,_0x5352c2,_0x29e3b9,_0x4cd06a,_0x330a02,_0x5d42d3){var _0x428a51=this;_0x428a51[_0x1cd3('0xedf')]=!![];_0x428a51[_0x1cd3('0xedd')]=angular[_0x1cd3('0x429')](_0x4cd06a);_0x428a51['projects']=_0x330a02;_0x428a51[_0x1cd3('0x486')]=_0x5d42d3['instant'](_0x1cd3('0x1c2d'));if(_0x4cd06a&&_0x4cd06a[_0x1cd3('0x98')]){_0x428a51['title']+=':\x20'+_0x4cd06a[_0x1cd3('0x98')];}_0x428a51[_0x1cd3('0x1c2e')]=_0x28cd68;_0x428a51[_0x1cd3('0x39c')]=_0x3a1021;function _0x28cd68(){return _0x29e3b9[_0x1cd3('0xc42')][_0x1cd3('0x1141')]({'id':_0x4cd06a['id']},_0x428a51[_0x1cd3('0xedd')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x337d41){_0x428a51['projects']['unshift'](_0x337d41['toJSON']());_0x5352c2[_0x1cd3('0x473')]({'title':_0x1cd3('0x1c2f'),'msg':_0x428a51['project'][_0x1cd3('0x98')]?_0x428a51['project']['name']+_0x1cd3('0x1c30'):''});_0x536d6e['go']('app.jscripty.projects.edit',{'id':_0x337d41['id']});_0x3a1021(_0x337d41);})[_0x1cd3('0xfd')](function(_0x400ca6){if(_0x400ca6[_0x1cd3('0x439')]&&_0x400ca6[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x400ca6[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x428a51['errors']=_0x400ca6[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x400ca6[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1c31')}];for(var _0x3ea97f=0x0;_0x3ea97f<_0x400ca6[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x3ea97f+=0x1){_0x5352c2['error']({'title':_0x400ca6['data'][_0x1cd3('0xd34')][_0x3ea97f][_0x1cd3('0x424')],'msg':_0x400ca6['data']['errors'][_0x3ea97f][_0x1cd3('0x43a')]});}}else{_0x5352c2['error']({'title':_0x400ca6[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x400ca6[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x400ca6[_0x1cd3('0xd35')]:'api.jscriptyProject.clone','msg':_0x400ca6['data']?JSON[_0x1cd3('0x438')](_0x400ca6[_0x1cd3('0x439')]['message']):_0x400ca6[_0x1cd3('0x43b')]()});}});}function _0x3a1021(_0x1485c8){_0x5aa43a[_0x1cd3('0x39d')](_0x1485c8);}}}());(function(){'use strict';_0x443fce[_0x1cd3('0xc')]=['$q',_0x1cd3('0x3c5'),_0x1cd3('0x460')];angular['module'](_0x1cd3('0x37'))['controller']('ProjectViewerController',_0x443fce);function _0x443fce(_0x238a7b,_0x572881,_0x43cc51){var _0x34543e=this;_0x34543e['project']={};_0x34543e[_0x1cd3('0x1899')]={};_0x34543e[_0x1cd3('0x1886')]={};_0x34543e[_0x1cd3('0xe08')]=_0xb6971c;_0x34543e[_0x1cd3('0x1889')]=_0x35c8e5;_0x34543e['resetViewer']=_0x3367c2;function _0xb6971c(_0x2398e5){_0x34543e[_0x1cd3('0xedd')]=_0x2398e5;_0x43cc51[_0x1cd3('0x4d3')](_0x1cd3('0x189b'),function(_0x19d696,_0x544fa2){if(_0x544fa2[_0x1cd3('0x1893')]&&_0x34543e[_0x1cd3('0xedd')]['formData']&&_0x34543e[_0x1cd3('0xedd')]['formData']['pages']){for(var _0x44e7d2=0x0,_0x2fe113=_0x34543e['project'][_0x1cd3('0x15c2')]['pages'][_0x1cd3('0x7a')];_0x44e7d2<_0x2fe113;_0x44e7d2++){if(_0x544fa2['currentPage'][_0x1cd3('0x407')]<_0x44e7d2+0x1&&_0x34543e['project']['formData']['pages'][_0x44e7d2]['elements']){for(var _0x2fe1ea=0x0,_0x159abf=_0x34543e[_0x1cd3('0xedd')][_0x1cd3('0x15c2')]['pages'][_0x44e7d2][_0x1cd3('0x189d')][_0x1cd3('0x7a')];_0x2fe1ea<_0x159abf;_0x2fe1ea++){if(_0x34543e[_0x1cd3('0xedd')]['formData']['pages'][_0x44e7d2][_0x1cd3('0x189d')][_0x2fe1ea][_0x1cd3('0x424')]===_0x1cd3('0x189e')&&_0x34543e[_0x1cd3('0xedd')]['formData'][_0x1cd3('0x189c')][_0x44e7d2]['elements'][_0x2fe1ea][_0x1cd3('0x189e')]){delete _0x34543e[_0x1cd3('0x1899')][_0x34543e[_0x1cd3('0xedd')][_0x1cd3('0x15c2')][_0x1cd3('0x189c')][_0x44e7d2][_0x1cd3('0x189d')][_0x2fe1ea][_0x1cd3('0x189e')]['id']];}}}}}});}function _0x35c8e5(_0x3ab383){var _0x40f4ed=_0x238a7b[_0x1cd3('0x53a')]();var _0x4d0eae=_0x572881[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x1c32'))[_0x1cd3('0x678')]('')[_0x1cd3('0xd3d')](_0x1cd3('0x1891'))[_0x1cd3('0xd63')](_0x3ab383)['ok'](_0x1cd3('0x1c33'))[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x572881['show'](_0x4d0eae)['then'](function(){_0x40f4ed[_0x1cd3('0x58')](!![]);},function(){_0x40f4ed[_0x1cd3('0x3a7')]();});return _0x40f4ed[_0x1cd3('0x539')];}function _0x3367c2(){if(_0x34543e[_0x1cd3('0x1886')][_0x1cd3('0x358')]){_0x34543e['formViewer'][_0x1cd3('0x358')]();}}}}());(function(){'use strict';_0x263e9d['$inject']=['$cookies',_0x1cd3('0x460'),'$state','$q',_0x1cd3('0x3f7'),'$timeout',_0x1cd3('0x3c5'),'$document',_0x1cd3('0x461'),'api',_0x1cd3('0x56')];angular['module']('app.jscripty')[_0x1cd3('0x39b')]('ProjectSessionsController',_0x263e9d);function _0x263e9d(_0x439a35,_0x1af97a,_0xde69e7,_0x294b08,_0x48e9fc,_0x281529,_0x498648,_0x1c8f49,_0x1a8f0e,_0x59da73,_0x56c871){var _0xcfb1f8=this;_0xcfb1f8[_0x1cd3('0x3ca')]=_0x56c871[_0x1cd3('0x5d')]();_0xcfb1f8[_0x1cd3('0xedd')]={};_0xcfb1f8[_0x1cd3('0x1c34')]={'count':0x0,'rows':[]};_0xcfb1f8[_0x1cd3('0x1c35')]=[];_0xcfb1f8['crudPermissions'];_0xcfb1f8[_0x1cd3('0x3d4')]={'fields':_0x1cd3('0x1c36'),'sort':_0x1cd3('0x104'),'limit':0xa,'page':0x1};_0xcfb1f8['init']=_0x29c6d4;_0xcfb1f8[_0x1cd3('0xe0a')]=_0x3726ce;_0xcfb1f8[_0x1cd3('0x473')]=_0x436e49;_0xcfb1f8['getProjectSessions']=_0x5093b7;_0xcfb1f8[_0x1cd3('0x1c37')]=_0xadfc08;_0xcfb1f8['showQuestionsProjectSession']=_0x479d02;_0xcfb1f8['exportSelectedProjectSessions']=_0x52ea1e;_0xcfb1f8['deleteProjectSession']=_0x5e9f39;_0xcfb1f8[_0x1cd3('0x1c38')]=_0x2145fa;function _0x29c6d4(_0x44f7c6,_0x311808){_0xcfb1f8[_0x1cd3('0xedd')]=_0x44f7c6;_0xcfb1f8[_0x1cd3('0xd27')]=typeof _0x311808!==_0x1cd3('0x491')?_0x311808:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0xcfb1f8['query']['id']=_0xcfb1f8['project']['id'];_0x5093b7();}function _0x3726ce(_0xfdb767,_0x5115d6){var _0x1f6a22=_0x498648['confirm']()[_0x1cd3('0x486')](_0x1cd3('0x1c39'))['htmlContent'](_0x1cd3('0xd51')+(_0xfdb767[_0x1cd3('0x98')]||_0xfdb767['id']&&_['upperFirst'](_0x1cd3('0x1c3a'))+_0xfdb767['id']||_0x1cd3('0x5fb'))+_0x1cd3('0xd52')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x1c3b'))[_0x1cd3('0xd63')](_0x5115d6)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x498648[_0x1cd3('0x37e')](_0x1f6a22)[_0x1cd3('0x77')](function(){_0x5e9f39(_0xfdb767);},function(){console[_0x1cd3('0x7d')]('CANCEL');});}function _0x436e49(_0xcdbdc0){_0xcfb1f8[_0x1cd3('0x1c34')]=_0xcdbdc0||{'count':0x0,'rows':[]};}function _0x5093b7(){_0xcfb1f8['query']['offset']=(_0xcfb1f8[_0x1cd3('0x3d4')]['page']-0x1)*_0xcfb1f8[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];_0xcfb1f8[_0x1cd3('0x539')]=_0x59da73[_0x1cd3('0xc42')][_0x1cd3('0x1c3c')](_0xcfb1f8[_0x1cd3('0x3d4')],_0x436e49)['$promise'];}function _0xadfc08(_0x41cc29,_0x2f6460){_0x498648[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1c3d'),'controllerAs':'vm','templateUrl':'app/main/apps/jscripty/views/projects/edit/sessions/dialog.html','parent':angular['element'](_0x1c8f49[_0x1cd3('0x380')]),'targetEvent':_0x41cc29,'clickOutsideToClose':!![],'locals':{'project':_0xcfb1f8[_0x1cd3('0xedd')],'session':_0x2f6460,'sessions':_0xcfb1f8[_0x1cd3('0x1c34')]['rows'],'license':null,'setting':null,'crudPermissions':_0xcfb1f8[_0x1cd3('0xd27')]}});}function _0x479d02(_0x3658ba,_0x4138a2){_0x498648['show']({'controller':_0x1cd3('0x1c3e'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1c3f'),'parent':angular['element'](_0x1c8f49[_0x1cd3('0x380')]),'targetEvent':_0x3658ba,'clickOutsideToClose':!![],'resolve':{'questions':[_0x1cd3('0x62'),'$stateParams',function(_0xf08786,_0xa30b5c){return _0xf08786[_0x1cd3('0x58')](_0x1cd3('0x1c40'),{'fields':_0x1cd3('0x1c41'),'sort':'id','id':_0x4138a2['id']});}]},'locals':{'project':_0xcfb1f8[_0x1cd3('0xedd')],'session':_0x4138a2}});}function _0x5e9f39(_0x1f4b76){_0x59da73[_0x1cd3('0xc39')][_0x1cd3('0xa1c')]({'id':_0x1f4b76['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0xcfb1f8[_0x1cd3('0x1c34')][_0x1cd3('0xf6')],{'id':_0x1f4b76['id']});_0xcfb1f8[_0x1cd3('0x1c34')][_0x1cd3('0x466')]-=0x1;if(!_0xcfb1f8[_0x1cd3('0x1c34')][_0x1cd3('0xf6')]['length']){_0x5093b7();}_0x1a8f0e['success']({'title':_0x1cd3('0x1c42'),'msg':_0x1f4b76[_0x1cd3('0x98')]?_0x1f4b76[_0x1cd3('0x98')]+_0x1cd3('0xd41'):''});})[_0x1cd3('0xfd')](function(_0xd22dff){if(_0xd22dff[_0x1cd3('0x439')]&&_0xd22dff[_0x1cd3('0x439')]['errors']&&_0xd22dff[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){vm[_0x1cd3('0xd34')]=_0xd22dff['data'][_0x1cd3('0xd34')]||[{'message':_0xd22dff[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1c43')}];for(var _0x1a40e9=0x0;_0x1a40e9<_0xd22dff['data']['errors'][_0x1cd3('0x7a')];_0x1a40e9++){_0x1a8f0e['error']({'title':_0xd22dff[_0x1cd3('0x439')]['errors'][_0x1a40e9][_0x1cd3('0x424')],'msg':_0xd22dff[_0x1cd3('0x439')]['errors'][_0x1a40e9][_0x1cd3('0x43a')]});}}else{_0x1a8f0e[_0x1cd3('0x434')]({'title':_0xd22dff['status']?_0x1cd3('0x435')+_0xd22dff[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0xd22dff['statusText']:'SYSTEM:GETjscriptyProject','msg':_0xd22dff[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0xd22dff[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0xd22dff[_0x1cd3('0x43a')]||_0xd22dff[_0x1cd3('0x43b')]()});}});}function _0x52ea1e(){var _0x3df545=angular['copy'](_0xcfb1f8[_0x1cd3('0x1c35')]);_0xcfb1f8[_0x1cd3('0x1c35')]=[];return _0x3df545;}function _0x2145fa(_0x1ea9e0){var _0x279dd5=_0x498648[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x1c44'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0xcfb1f8[_0x1cd3('0x1c35')]['length']+_0x1cd3('0xd61')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x1c45'))[_0x1cd3('0xd63')](_0x1ea9e0)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x498648[_0x1cd3('0x37e')](_0x279dd5)[_0x1cd3('0x77')](function(){_0xcfb1f8['selectedProjectSessions']['forEach'](function(_0x1639c9){_0x5e9f39(_0x1639c9);});_0xcfb1f8[_0x1cd3('0x1c35')]=[];});}var _0x17c424=!![];var _0x131416=0x1;_0x1af97a['$watch']('vm_dc.query.filter',function(_0x407362,_0x526110){if(_0x17c424){_0x281529(function(){_0x17c424=![];});}else{if(!_0x526110){_0x131416=_0xcfb1f8['query'][_0x1cd3('0x8fd')];}if(_0x407362!==_0x526110){_0xcfb1f8[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}if(!_0x407362){_0xcfb1f8[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0x131416;}_0x5093b7();}});}}());(function(){'use strict';_0x5360b4[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x53e'),'$location','$mdDialog',_0x1cd3('0x461'),'session','questions',_0x1cd3('0xedd'),_0x1cd3('0x370')];angular['module'](_0x1cd3('0x37'))['controller'](_0x1cd3('0x1c3e'),_0x5360b4);function _0x5360b4(_0x141b21,_0x174a82,_0x592e44,_0xad6453,_0x52852c,_0x2c6217,_0x33ba36,_0x492dba,_0x5b46bb){var _0x34eb59=this;_0x34eb59[_0x1cd3('0x486')]='JSCRIPTY.SESSION_RESULTS';_0x34eb59[_0x1cd3('0x5fb')]=_0x2c6217;_0x34eb59[_0x1cd3('0x1c46')]=_0x33ba36;_0x34eb59['project']=_0x492dba;_0x34eb59[_0x1cd3('0x39c')]=_0x4bcc94;function _0x4bcc94(_0x58d350){_0xad6453[_0x1cd3('0x39d')](_0x58d350);}}}());(function(){'use strict';_0x5dbd09['$inject']=[_0x1cd3('0x53e'),_0x1cd3('0xd24'),_0x1cd3('0x3c5'),_0x1cd3('0x372'),_0x1cd3('0x3f7'),_0x1cd3('0x463'),_0x1cd3('0xc49'),_0x1cd3('0x370'),_0x1cd3('0x461'),_0x1cd3('0x56'),'project',_0x1cd3('0x390')];angular[_0x1cd3('0x0')]('app.jscripty')['controller'](_0x1cd3('0x1c47'),_0x5dbd09);function _0x5dbd09(_0x5b0e47,_0x23a951,_0x54857e,_0x2e8dca,_0x20353a,_0x2d1a5e,_0x19a74c,_0x4cdfb4,_0x57203a,_0x3eeb65,_0x55677e,_0x5de462){var _0x321a3c=this;_0x321a3c[_0x1cd3('0x3ca')]=_0x3eeb65[_0x1cd3('0x5d')]();_0x321a3c['license']=_0x2d1a5e;_0x321a3c[_0x1cd3('0xc49')]=_0x19a74c;_0x321a3c['passwordPattern']=_0x321a3c['setting'][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x321a3c['location']=_0x23a951['protocol']()+'://'+_0x23a951[_0x1cd3('0x3ac')]();_0x321a3c['project']=_0x55677e||_0x5b0e47[_0x1cd3('0x36a')][_0x1cd3('0xedd')]||{};_0x321a3c['userProfileSection']=_0x5de462&&_0x5de462[_0x1cd3('0x466')]==0x1?_0x5de462[_0x1cd3('0xf6')][0x0]:null;_0x321a3c[_0x1cd3('0xd27')]=_0x3eeb65['parseCrudPermissions'](_0x321a3c[_0x1cd3('0x390')]?_0x321a3c[_0x1cd3('0x390')]['crudPermissions']:null);_0x321a3c[_0x1cd3('0xd28')]={};_0x321a3c['selectedTab']=_0x5b0e47[_0x1cd3('0x36a')]['tab']||0x0;_0x321a3c['clonedialog']=_0x46d71d;_0x321a3c[_0x1cd3('0x11d0')]=_0x57203a['info'];_0x321a3c[_0x1cd3('0x115c')]=_0x4a7e45;_0x321a3c[_0x1cd3('0xee1')]=_0x1d376f;function _0x46d71d(_0x16bd6e,_0x364056){_0x54857e['show']({'controller':_0x1cd3('0x1c2c'),'controllerAs':'vm','templateUrl':'app/main/apps/jscripty/views/projects/edit/clone/clone.html','parent':angular['element'](_0x2e8dca['body']),'targetEvent':_0x364056,'clickOutsideToClose':!![],'locals':{'project':_0x16bd6e,'projects':_0x321a3c['projects']?_0x321a3c['projects'][_0x1cd3('0xf6')]:[],'crudPermissions':_0x321a3c[_0x1cd3('0xd27')]}});}function _0x4a7e45(){_0x5b0e47['go']('app.jscripty.projects',{},{'reload':'app.jscripty.projects'});}function _0x1d376f(){_0x4cdfb4[_0x1cd3('0xc42')][_0x1cd3('0x378')]({'id':_0x321a3c[_0x1cd3('0xedd')]['id']},_0x321a3c[_0x1cd3('0xedd')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x57203a[_0x1cd3('0x473')]({'title':'Project\x20updated!','msg':_0x321a3c[_0x1cd3('0xedd')]['name']?_0x321a3c[_0x1cd3('0xedd')][_0x1cd3('0x98')]+'\x20has\x20been\x20updated!':''});})['catch'](function(_0x239215){_0x57203a[_0x1cd3('0x434')]({'title':_0x239215[_0x1cd3('0x3a6')]?'API:'+_0x239215['status']+_0x1cd3('0x436')+_0x239215[_0x1cd3('0xd35')]:_0x1cd3('0x1c43'),'msg':_0x239215['data']?JSON[_0x1cd3('0x438')](_0x239215[_0x1cd3('0x439')]):_0x239215[_0x1cd3('0x43b')]()});});}}}());(function(){'use strict';_0x1e56a6['$inject']=['$scope',_0x1cd3('0x371'),_0x1cd3('0x53e'),_0x1cd3('0x969'),_0x1cd3('0x3c5'),_0x1cd3('0x372'),'$timeout',_0x1cd3('0x3f7'),_0x1cd3('0xeda'),_0x1cd3('0x38a'),_0x1cd3('0x390'),_0x1cd3('0x370'),'msUtils',_0x1cd3('0x461'),_0x1cd3('0x56'),'license',_0x1cd3('0xc49')];angular[_0x1cd3('0x0')](_0x1cd3('0x37'))['controller']('JscriptyProjectsController',_0x1e56a6);function _0x1e56a6(_0x43eaff,_0x2789bf,_0x5bcbf4,_0x1d2e8c,_0x4eac20,_0x1cc56b,_0x188c93,_0x26de95,_0x2b2f11,_0xebb5c3,_0x2f7f91,_0x444ac6,_0x2b2d79,_0x3f2bb1,_0x59991a,_0x2e7477,_0x186436){var _0x20c095=this;_0x20c095['license']=_0x2e7477;_0x20c095['setting']=_0x186436;_0x20c095[_0x1cd3('0x3ca')]=_0x59991a[_0x1cd3('0x5d')]();_0x20c095[_0x1cd3('0xeda')]=_0x2b2f11||{'count':0x0,'rows':[]};_0x20c095[_0x1cd3('0x38a')]=_0xebb5c3;_0x20c095['userProfileSection']=_0x2f7f91&&_0x2f7f91[_0x1cd3('0x466')]==0x1?_0x2f7f91[_0x1cd3('0xf6')][0x0]:null;_0x20c095['crudPermissions']=_0x59991a[_0x1cd3('0xd44')](_0x20c095['userProfileSection']?_0x20c095['userProfileSection'][_0x1cd3('0xd27')]:null);_0x20c095['table']='projects';_0x20c095[_0x1cd3('0xd46')]='';_0x20c095['listOrderAsc']=null;_0x20c095[_0x1cd3('0x1170')]=[];_0x20c095['query']={'fields':_0x1cd3('0x1c6'),'sort':'-updatedAt','limit':0xa,'page':0x1};_0x20c095[_0x1cd3('0x1171')]=_0x5d9ae8;_0x20c095[_0x1cd3('0x1c48')]=_0x23e24f;_0x20c095[_0x1cd3('0x1c49')]=_0x143eda;_0x20c095[_0x1cd3('0xecc')]=_0x49dad8;_0x20c095['success']=_0x58fb94;_0x20c095[_0x1cd3('0x1172')]=_0x213e91;_0x20c095[_0x1cd3('0x1173')]=_0x545b8a;_0x20c095[_0x1cd3('0x1174')]=_0x229655;_0x20c095[_0x1cd3('0x1175')]=_0x50210b;_0x20c095['deleteSelectedProjects']=_0x48e450;_0x20c095[_0x1cd3('0x1177')]=_0x28fb6e;_0x20c095[_0x1cd3('0x1178')]=_0xd1bf4f;function _0x5d9ae8(_0x3688e9,_0x1fe938){_0x5bcbf4['go']('app.jscripty.projects.edit',{'id':_0x3688e9['id'],'project':_0x3688e9,'crudPermissions':_0x20c095[_0x1cd3('0xd27')]});}function _0x23e24f(_0x49e36f,_0x23d1dd){_0x4eac20['show']({'controller':_0x1cd3('0x1c2c'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1c4a'),'parent':angular[_0x1cd3('0x37f')](_0x1cc56b['body']),'targetEvent':_0x23d1dd,'clickOutsideToClose':!![],'locals':{'project':_0x49e36f,'projects':_0x20c095[_0x1cd3('0xeda')]?_0x20c095['projects'][_0x1cd3('0xf6')]:[],'crudPermissions':_0x20c095[_0x1cd3('0xd27')]}});}function _0x143eda(_0x2b9f23,_0x146479){_0x5bcbf4['go'](_0x1cd3('0x1c8'),{'id':_0x2b9f23['id'],'tab':0x3});}function _0x49dad8(_0x2d6360,_0x3c23b2){var _0x3ec908=_0x4eac20[_0x1cd3('0xd39')]()['title'](_0x1cd3('0xd4f')+_['startCase'](_0x1cd3('0xedd'))+'?')['htmlContent']('<b>'+(_0x2d6360[_0x1cd3('0x98')]||_0x1cd3('0xedd'))+_0x1cd3('0xd52')+_0x1cd3('0xd53'))['ariaLabel'](_0x1cd3('0x117a'))[_0x1cd3('0xd63')](_0x3c23b2)['ok']('OK')['cancel'](_0x1cd3('0xd55'));_0x4eac20[_0x1cd3('0x37e')](_0x3ec908)[_0x1cd3('0x77')](function(){_0x229655(_0x2d6360);},function(){console[_0x1cd3('0x7d')]('CANCEL');});}var _0x1c7d85=!![];var _0x5b9d35=0x1;_0x43eaff[_0x1cd3('0x4d6')](_0x1cd3('0xd56'),function(_0x2ca28f,_0x58eaee){if(_0x1c7d85){_0x188c93(function(){_0x1c7d85=![];});}else{if(!_0x58eaee){_0x5b9d35=_0x20c095[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0x2ca28f!==_0x58eaee){_0x20c095['query'][_0x1cd3('0x8fd')]=0x1;}if(!_0x2ca28f){_0x20c095['query'][_0x1cd3('0x8fd')]=_0x5b9d35;}_0x20c095['getProjects']();}});function _0x58fb94(_0x242fb6){_0x20c095[_0x1cd3('0xeda')]=_0x242fb6||{'count':0x0,'rows':[]};}function _0x213e91(){_0x20c095[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0x20c095['query']['page']-0x1)*_0x20c095['query']['limit'];if(_0x59991a[_0x1cd3('0x57')](_0x1cd3('0x5f'))){_0x20c095[_0x1cd3('0x539')]=_0x444ac6[_0x1cd3('0xc42')]['get'](_0x20c095[_0x1cd3('0x3d4')],_0x58fb94)[_0x1cd3('0x81')];}else{_0x20c095[_0x1cd3('0x3d4')]['id']=_0x20c095[_0x1cd3('0x38a')]['id'];_0x20c095['query'][_0x1cd3('0xd58')]=_0x1cd3('0x1c7');_0x20c095[_0x1cd3('0x539')]=_0x444ac6[_0x1cd3('0x38a')][_0x1cd3('0xd59')](_0x20c095[_0x1cd3('0x3d4')],_0x58fb94)[_0x1cd3('0x81')];}}function _0x545b8a(_0x11ae0c,_0x52f259){_0x4eac20[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1c17'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1c4b'),'parent':angular[_0x1cd3('0x37f')](_0x1cc56b[_0x1cd3('0x380')]),'targetEvent':_0x11ae0c,'clickOutsideToClose':!![],'locals':{'project':_0x52f259,'projects':_0x20c095[_0x1cd3('0xeda')]['rows'],'license':_0x20c095[_0x1cd3('0x463')],'setting':_0x20c095[_0x1cd3('0xc49')],'crudPermissions':_0x20c095[_0x1cd3('0xd27')]}});}function _0x229655(_0x3c7ccc){_0x444ac6[_0x1cd3('0xc42')][_0x1cd3('0xa1c')]({'id':_0x3c7ccc['id']})['$promise']['then'](function(){_[_0x1cd3('0x383')](_0x20c095[_0x1cd3('0xeda')][_0x1cd3('0xf6')],{'id':_0x3c7ccc['id']});_0x20c095[_0x1cd3('0xeda')]['count']-=0x1;if(!_0x20c095[_0x1cd3('0xeda')][_0x1cd3('0xf6')]['length']){_0x20c095[_0x1cd3('0x1172')]();}_0x3f2bb1[_0x1cd3('0x473')]({'title':_[_0x1cd3('0xd50')](_0x1cd3('0x1c4c'))+'\x20deleted!','msg':_0x3c7ccc['name']?_0x3c7ccc[_0x1cd3('0x98')]+'\x20has\x20been\x20deleted!':''});})[_0x1cd3('0xfd')](function(_0x206ae7){if(_0x206ae7[_0x1cd3('0x439')]&&_0x206ae7[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x206ae7[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x20c095[_0x1cd3('0xd34')]=_0x206ae7['data'][_0x1cd3('0xd34')]||[{'message':_0x206ae7[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1c4d')}];for(var _0xf25751=0x0;_0xf25751<_0x206ae7[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0xf25751++){_0x3f2bb1['error']({'title':_0x206ae7[_0x1cd3('0x439')]['errors'][_0xf25751][_0x1cd3('0x424')],'msg':_0x206ae7['data'][_0x1cd3('0xd34')][_0xf25751]['message']});}}else{_0x3f2bb1['error']({'title':_0x206ae7[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x206ae7[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x206ae7[_0x1cd3('0xd35')]:_0x1cd3('0x1c4d'),'msg':_0x206ae7['data']?JSON[_0x1cd3('0x438')](_0x206ae7[_0x1cd3('0x439')]['message']):_0x206ae7[_0x1cd3('0x43a')]||_0x206ae7[_0x1cd3('0x43b')]()});}});}function _0x50210b(){var _0x3b1650=angular[_0x1cd3('0x429')](_0x20c095[_0x1cd3('0x1170')]);_0x20c095[_0x1cd3('0x1170')]=[];return _0x3b1650;}function _0x48e450(_0x3a64c7){var _0x30065b=_0x4eac20[_0x1cd3('0xd39')]()['title'](_0x1cd3('0x117d'))['htmlContent'](_0x1cd3('0xd51')+_0x20c095[_0x1cd3('0x1170')][_0x1cd3('0x7a')]+'\x20selected</b>'+'\x20will\x20be\x20deleted.')['ariaLabel'](_0x1cd3('0x117e'))[_0x1cd3('0xd63')](_0x3a64c7)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x4eac20[_0x1cd3('0x37e')](_0x30065b)['then'](function(){_0x20c095[_0x1cd3('0x1170')][_0x1cd3('0x394')](function(_0x18d676){_0x229655(_0x18d676);});_0x20c095[_0x1cd3('0x1170')]=[];});}function _0x28fb6e(){_0x20c095[_0x1cd3('0x1170')]=[];}function _0xd1bf4f(){_0x20c095['selectedProjects']=_0x20c095['projects']['rows'];}}}());(function(){'use strict';_0x4b99c4[_0x1cd3('0xc')]=['$scope',_0x1cd3('0x53e'),_0x1cd3('0xd24'),_0x1cd3('0x3c5'),'$q',_0x1cd3('0x3f7'),'toasty',_0x1cd3('0xefa'),_0x1cd3('0xa7a'),_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0x463'),'setting',_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x2f'))[_0x1cd3('0x39b')](_0x1cd3('0x1c4e'),_0x4b99c4);function _0x4b99c4(_0x424e1b,_0x3b9460,_0x5ab94a,_0x28233a,_0x75c6f,_0x4eae7c,_0x4c2082,_0x2bf7db,_0x2aeca2,_0x850c4f,_0x7a15e1,_0x2a70e5,_0x302fc3,_0x492297){var _0xe4e649=this;_0xe4e649[_0x1cd3('0x3ca')]=_0x7a15e1[_0x1cd3('0x5d')]();_0xe4e649[_0x1cd3('0xd34')]=[];_0xe4e649[_0x1cd3('0xc49')]=_0x302fc3;_0xe4e649['license']=_0x2a70e5;_0xe4e649[_0x1cd3('0xd27')]=_0x492297;_0xe4e649[_0x1cd3('0xd28')]={};_0xe4e649[_0x1cd3('0xd29')]=_0xe4e649['setting']&&_0xe4e649['setting']['securePassword']?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0xe4e649[_0x1cd3('0x486')]='MAIL.EDIT_MAILACCOUNT';_0xe4e649[_0x1cd3('0xa7a')]=angular[_0x1cd3('0x429')](_0x2aeca2);_0xe4e649[_0x1cd3('0xefa')]=_0x2bf7db;_0xe4e649[_0x1cd3('0x1c4f')]=![];if(!_0xe4e649[_0x1cd3('0xa7a')]){_0xe4e649[_0x1cd3('0xa7a')]={'active':!![],'cservice':_0x1cd3('0x220'),'cauthentication':!![],'fontSize':0xd,'waitForTheAssignedAgent':0xa,'notificationSound':!![],'queueTransferTimeout':0x12c,'agentTransferTimeout':0x12c};_0xe4e649[_0x1cd3('0x486')]=_0x1cd3('0x1c50');_0xe4e649['newMailAccount']=!![];}if(_0x3b9460[_0x1cd3('0x36a')]['id']){_0xe4e649[_0x1cd3('0xa7a')][_0x1cd3('0x1492')]=_0x3b9460[_0x1cd3('0x36a')]['id'];}_0xe4e649['addNewMailAccount']=_0x1ce4b6;_0xe4e649['saveMailAccount']=_0x4a2263;_0xe4e649[_0x1cd3('0x1c51')]=_0x513746;_0xe4e649[_0x1cd3('0xd31')]=_0x3a16c4;_0xe4e649[_0x1cd3('0x39c')]=_0x27359d;_0x7a15e1[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x850c4f[_0x1cd3('0xc8f')]['get']({'fields':_0x1cd3('0xa6'),'sort':'name'})['$promise'][_0x1cd3('0x77')](function(_0x435b3e){_0xe4e649['lists']=_0x435b3e[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x28224e){_0x4c2082[_0x1cd3('0x434')]({'title':_0x28224e[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x28224e[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x28224e[_0x1cd3('0xd35')]:_0x1cd3('0x11f3'),'msg':_0x28224e[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x28224e[_0x1cd3('0x439')]):_0x28224e[_0x1cd3('0x43b')]()});}):_0x850c4f[_0x1cd3('0xc8f')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x4b7725){_0xe4e649[_0x1cd3('0xf5')]=_0x4b7725['rows']||[];})[_0x1cd3('0x77')](function(){return _0x850c4f[_0x1cd3('0x390')]['get']({'userProfileId':_0xe4e649[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x12d})['$promise'];})['then'](function(_0x43e225){var _0x4fa021=_0x43e225&&_0x43e225['rows']?_0x43e225[_0x1cd3('0xf6')][0x0]:null;if(!_0x4fa021){var _0x15353a=[];var _0x15f21b=null;if(_0xe4e649[_0x1cd3('0xa7a')]){_0x15f21b=_[_0x1cd3('0x442')](_0xe4e649[_0x1cd3('0xf5')],{'id':Number(_0xe4e649[_0x1cd3('0xa7a')]['ListId'])});}for(var _0x3d7867=0x0;_0x3d7867<_0xe4e649[_0x1cd3('0xf5')][_0x1cd3('0x7a')];_0x3d7867++){if(_0x15f21b&&_0xe4e649[_0x1cd3('0xf5')][_0x3d7867]['id']===_0x15f21b['id']){_0xe4e649[_0x1cd3('0xf5')][_0x3d7867][_0x1cd3('0xf4a')]=![];_0x15353a[_0x1cd3('0x7b')](_0xe4e649[_0x1cd3('0xf5')][_0x3d7867]);}}_0xe4e649[_0x1cd3('0xf5')]=_0x15353a;}else{if(!_0x4fa021[_0x1cd3('0x391')]){return _0x850c4f['userProfileResource'][_0x1cd3('0x361')]({'sectionId':_0x4fa021['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x35d8fa){var _0x2a140a=_[_0x1cd3('0x3d9')](_0x35d8fa['rows'],function(_0x3dc61c){return _[_0x1cd3('0x442')](_0xe4e649[_0x1cd3('0xf5')],{'id':_0x3dc61c[_0x1cd3('0xe8e')]});});var _0x3fdc47=null;if(_0xe4e649['mailAccount']){_0x3fdc47=_[_0x1cd3('0x442')](_0xe4e649['lists'],{'id':Number(_0xe4e649[_0x1cd3('0xa7a')][_0x1cd3('0x106')])});}if(_0x3fdc47&&!_['some'](_0x2a140a,['id',_0x3fdc47['id']])){var _0x4db262=_[_0x1cd3('0x442')](_0xe4e649[_0x1cd3('0xf5')],{'id':_0x3fdc47['id']});_0x4db262['canSelect']=![];_0x2a140a[_0x1cd3('0x7b')](_0x4db262);}_0xe4e649[_0x1cd3('0xf5')]=_0x2a140a;});}}})[_0x1cd3('0xfd')](function(_0x1f448e){_0x4c2082['error']({'title':_0x1f448e['status']?_0x1cd3('0x435')+_0x1f448e[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x1f448e['statusText']:'SYSTEM:GETlists','msg':_0x1f448e[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x1f448e[_0x1cd3('0x439')]):_0x1f448e[_0x1cd3('0x43b')]()});});function _0x1ce4b6(){_0xe4e649['errors']=[];_0x850c4f[_0x1cd3('0xa7a')][_0x1cd3('0xd6d')](_0xe4e649[_0x1cd3('0xa7a')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x328ad6){_0xe4e649[_0x1cd3('0xefa')][_0x1cd3('0x621')](_0x328ad6['toJSON']());_0x4c2082[_0x1cd3('0x473')]({'title':_0x1cd3('0x1c52'),'msg':_0xe4e649[_0x1cd3('0xa7a')][_0x1cd3('0x98')]?_0xe4e649[_0x1cd3('0xa7a')]['name']+_0x1cd3('0xd33'):''});_0x27359d(_0x328ad6);})[_0x1cd3('0xfd')](function(_0x53b3b6){if(_0x53b3b6['data']&&_0x53b3b6['data'][_0x1cd3('0xd34')]&&_0x53b3b6[_0x1cd3('0x439')]['errors']['length']){_0xe4e649[_0x1cd3('0xd34')]=_0x53b3b6[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x53b3b6['toString'](),'type':_0x1cd3('0x1c53')}];for(var _0x423e79=0x0;_0x423e79<_0x53b3b6[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0x423e79+=0x1){_0x4c2082[_0x1cd3('0x434')]({'title':_0x53b3b6['data'][_0x1cd3('0xd34')][_0x423e79][_0x1cd3('0x424')],'msg':_0x53b3b6[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x423e79][_0x1cd3('0x43a')]});}}else{_0x4c2082[_0x1cd3('0x434')]({'title':_0x53b3b6[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x53b3b6[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x53b3b6[_0x1cd3('0xd35')]:_0x1cd3('0x1c53'),'msg':_0x53b3b6['data']?JSON[_0x1cd3('0x438')](_0x53b3b6[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x53b3b6[_0x1cd3('0x43b')]()});}});}function _0x4a2263(){_0xe4e649[_0x1cd3('0xd34')]=[];_0x850c4f[_0x1cd3('0xa7a')][_0x1cd3('0x378')]({'id':_0xe4e649[_0x1cd3('0xa7a')]['id']},_0xe4e649['mailAccount'])[_0x1cd3('0x81')]['then'](function(_0x39de6c){var _0x45a620=_[_0x1cd3('0x442')](_0xe4e649[_0x1cd3('0xefa')],{'id':_0x39de6c['id']});if(_0x45a620){_[_0x1cd3('0xf2')](_0x45a620,_['pick'](_0x39de6c[_0x1cd3('0xd32')](),_[_0x1cd3('0x80')](_0x45a620)));}_0x4c2082[_0x1cd3('0x473')]({'title':_0x1cd3('0x1c54'),'msg':_0xe4e649[_0x1cd3('0xa7a')][_0x1cd3('0x98')]?_0xe4e649[_0x1cd3('0xa7a')][_0x1cd3('0x98')]+_0x1cd3('0xd37'):''});_0x27359d(_0x39de6c);})[_0x1cd3('0xfd')](function(_0xf4e638){if(_0xf4e638['data']&&_0xf4e638[_0x1cd3('0x439')]['errors']&&_0xf4e638[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')]){_0xe4e649[_0x1cd3('0xd34')]=_0xf4e638[_0x1cd3('0x439')]['errors']||[{'message':_0xf4e638[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1c55')}];for(var _0x3053b2=0x0;_0x3053b2<_0xf4e638['data'][_0x1cd3('0xd34')]['length'];_0x3053b2++){_0x4c2082[_0x1cd3('0x434')]({'title':_0xf4e638[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x3053b2][_0x1cd3('0x424')],'msg':_0xf4e638['data'][_0x1cd3('0xd34')][_0x3053b2][_0x1cd3('0x43a')]});}}else{_0x4c2082[_0x1cd3('0x434')]({'title':_0xf4e638[_0x1cd3('0x3a6')]?'API:'+_0xf4e638[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0xf4e638['statusText']:_0x1cd3('0x1c55'),'msg':_0xf4e638['data']?JSON[_0x1cd3('0x438')](_0xf4e638['data']['message']):_0xf4e638[_0x1cd3('0x43b')]()});}});}function _0x513746(_0x536075){if(_0xe4e649[_0x1cd3('0xa7a')]['service']){return _0x4c2082[_0x1cd3('0x434')]({'title':_0x1cd3('0x1c56'),'msg':_0x1cd3('0x1c57')});}_0xe4e649['errors']=[];var _0x331f3b=_0x28233a[_0x1cd3('0xd39')]()[_0x1cd3('0x486')]('Are\x20you\x20sure?')['content']('The\x20mailAccount\x20will\x20be\x20deleted.')['ariaLabel'](_0x1cd3('0x1c58'))['ok']('Delete')[_0x1cd3('0x4d8')](_0x1cd3('0x674'))['targetEvent'](_0x536075);_0x28233a[_0x1cd3('0x37e')](_0x331f3b)['then'](function(){_0x850c4f['mailAccount'][_0x1cd3('0xa1c')]({'id':_0xe4e649[_0x1cd3('0xa7a')]['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0xe4e649[_0x1cd3('0xefa')],{'id':_0xe4e649[_0x1cd3('0xa7a')]['id']});_0x4c2082[_0x1cd3('0x473')]({'title':_0x1cd3('0x1c59'),'msg':(_0xe4e649[_0x1cd3('0xa7a')]['name']||'mailAccount')+'\x20has\x20been\x20deleted!'});_0x27359d(_0xe4e649[_0x1cd3('0xa7a')]);})['catch'](function(_0xc7b2ac){if(_0xc7b2ac[_0x1cd3('0x439')]&&_0xc7b2ac[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0xc7b2ac[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length']){_0xe4e649[_0x1cd3('0xd34')]=_0xc7b2ac['data']['errors']||[{'message':_0xc7b2ac[_0x1cd3('0x43b')](),'type':'api.mailAccount.delete'}];for(var _0x5da475=0x0;_0x5da475<_0xc7b2ac[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0x5da475++){_0x4c2082[_0x1cd3('0x434')]({'title':_0xc7b2ac['data']['errors'][_0x5da475][_0x1cd3('0x424')],'msg':_0xc7b2ac['data'][_0x1cd3('0xd34')][_0x5da475][_0x1cd3('0x43a')]});}}else{_0x4c2082[_0x1cd3('0x434')]({'title':_0xc7b2ac['status']?_0x1cd3('0x435')+_0xc7b2ac[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0xc7b2ac['statusText']:'api.mailAccount.delete','msg':_0xc7b2ac['data']?JSON[_0x1cd3('0x438')](_0xc7b2ac[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0xc7b2ac[_0x1cd3('0x43a')]||_0xc7b2ac[_0x1cd3('0x43b')]()});}});},function(){});}function _0x3a16c4(_0x55cfa4){return _0x55cfa4===null?undefined:new Date(_0x55cfa4);}function _0x27359d(_0x1a8c86){_0x28233a[_0x1cd3('0x39d')](_0x1a8c86);}}}());(function(){'use strict';_0x2ae639[_0x1cd3('0xc')]=[_0x1cd3('0x370'),_0x1cd3('0x3c5'),_0x1cd3('0x372'),'toasty',_0x1cd3('0x56')];angular[_0x1cd3('0x0')](_0x1cd3('0x2f'))[_0x1cd3('0x39b')](_0x1cd3('0x1c5a'),_0x2ae639);function _0x2ae639(_0x14ec85,_0x510b7b,_0x448d02,_0x32b870,_0x85cd19){var _0x4412b2=this;_0x4412b2[_0x1cd3('0x3ca')]=_0x85cd19[_0x1cd3('0x5d')]();_0x4412b2[_0x1cd3('0xa7a')]={};_0x4412b2[_0x1cd3('0x1c5b')]={'count':0x0,'rows':[]};_0x4412b2['selectedMailAccountApps']=[];_0x4412b2[_0x1cd3('0xd27')];_0x4412b2[_0x1cd3('0x3d4')]={'sort':'priority'};_0x4412b2[_0x1cd3('0x1210')]=_[_0x1cd3('0x3a7')](_[_0x1cd3('0x1211')]([{'app':'Interval','appType':'interval','types':[_0x1cd3('0x1213'),_0x1cd3('0x8f6'),'list'],'fields':[],'isApp':![]},{'app':'noop','appType':'noop','type':_0x1cd3('0x3a9'),'icon':_0x1cd3('0x1214'),'interval':'*,*,*,*','required':!![],'isApp':!![],'fields':[{'title':'Value','name':_0x1cd3('0x3db'),'type':_0x1cd3('0x401'),'param':0x0}]},{'app':_0x1cd3('0xa13'),'appType':_0x1cd3('0xa13'),'type':_0x1cd3('0xa13'),'icon':_0x1cd3('0x1214'),'interval':_0x1cd3('0x1216'),'required':!![],'isApp':!![],'extraApi':[{'name':_0x1cd3('0xef7'),'field':{'name':'variable','key':_0x1cd3('0x98')},'route':_0x1cd3('0xb84'),'filters':{'fields':_0x1cd3('0xa6'),'sort':'name','nolimit':!![]},'permissions':{'section':0x3f4}}],'fields':[{'title':'Command','name':_0x1cd3('0xf0d'),'type':_0x1cd3('0x401'),'required':!![],'param':0x0},{'title':_0x1cd3('0x1217'),'name':'variable','type':_0x1cd3('0x1218'),'values':_0x1cd3('0xef7'),'value':_0x1cd3('0x1219'),'option':_0x1cd3('0x1219'),'defaultValues':[{'value':'\x27\x27','option':'None'}],'defaultValue':'\x27\x27','param':0x1}]},{'app':_0x1cd3('0x121a'),'appType':_0x1cd3('0x121a'),'type':_0x1cd3('0x121b'),'icon':_0x1cd3('0x1214'),'interval':_0x1cd3('0x1216'),'isApp':!![],'fields':[{'title':'Priority','name':'priority','type':_0x1cd3('0x407'),'required':!![],'min':0x0,'param':0x0}]},{'app':_0x1cd3('0x121c'),'appType':_0x1cd3('0x121c'),'type':'gotoif','icon':_0x1cd3('0x1214'),'interval':_0x1cd3('0x1216'),'isApp':!![],'fields':[{'title':_0x1cd3('0x121d'),'name':_0x1cd3('0xb65'),'type':'text','required':!![],'param':0x0},{'title':_0x1cd3('0x121e'),'name':_0x1cd3('0x121e'),'type':'number','min':0x1,'required':!![],'param':0x1},{'title':_0x1cd3('0x121f'),'name':'falsepriority','type':_0x1cd3('0x407'),'min':0x1,'required':!![],'param':0x2}]},{'app':_0x1cd3('0x1220'),'appType':_0x1cd3('0x1220'),'foreignKey':_0x1cd3('0x1c5c'),'type':'queue','icon':'icon-apps','interval':_0x1cd3('0x1216'),'isApp':!![],'extraApi':[{'name':_0x1cd3('0x1155'),'field':{'name':_0x1cd3('0x1220'),'key':_0x1cd3('0x98')},'route':_0x1cd3('0xa85'),'filters':{'fields':'id,name,type','sort':'name','nolimit':!![]},'permissions':{'section':0x259}}],'fields':[{'title':'Queue','name':_0x1cd3('0x1220'),'type':'apiselect','values':_0x1cd3('0x1155'),'value':_0x1cd3('0x1224'),'option':_0x1cd3('0x1224'),'defaultValue':0x12c,'required':!![],'param':0x0},{'title':_0x1cd3('0x1225'),'name':_0x1cd3('0x8fc'),'type':_0x1cd3('0x407'),'max':0x20c49b,'min':0x0,'required':!![],'defaultValue':0x12c,'param':0x1}]},{'app':_0x1cd3('0xd2'),'appType':_0x1cd3('0xd2'),'type':_0x1cd3('0xd2'),'foreignKey':_0x1cd3('0x1226'),'icon':'icon-apps','interval':_0x1cd3('0x1216'),'isApp':!![],'extraApi':[{'name':_0x1cd3('0x1228'),'field':{'name':'agent','key':_0x1cd3('0x98')},'route':_0x1cd3('0x368'),'filters':{'fields':'id,name','sort':'name','nolimit':!![],'role':_0x1cd3('0xd2')},'permissions':{'section':0xca}}],'fields':[{'title':_0x1cd3('0x1227'),'name':_0x1cd3('0xd2'),'type':_0x1cd3('0x1218'),'values':'agents','value':_0x1cd3('0x1229'),'option':_0x1cd3('0x1229'),'required':!![],'param':0x0},{'title':_0x1cd3('0x1225'),'name':_0x1cd3('0x8fc'),'type':_0x1cd3('0x407'),'max':0x20c49b,'min':0x0,'required':!![],'defaultValue':0x1e,'param':0x1}]},{'app':'autoreply','appType':_0x1cd3('0x122b'),'type':_0x1cd3('0x122b'),'icon':_0x1cd3('0x1214'),'interval':_0x1cd3('0x1216'),'isApp':!![],'fields':[{'title':_0x1cd3('0x122c'),'name':'times','type':_0x1cd3('0x44f'),'defaultValue':'1','values':[{'option':_0x1cd3('0x122d'),'value':'1'},{'option':_0x1cd3('0x122e'),'value':'0'}],'required':!![],'param':0x0},{'title':_0x1cd3('0xf3f'),'name':'text','type':_0x1cd3('0x3bf'),'required':!![],'param':0x1}]},{'app':_0x1cd3('0x3cf'),'appType':_0x1cd3('0x3cf'),'type':_0x1cd3('0x3cf'),'icon':'icon-apps','interval':_0x1cd3('0x1216'),'isApp':!![],'fields':[{'title':_0x1cd3('0x122a'),'name':_0x1cd3('0xb63'),'type':_0x1cd3('0x401'),'required':!![],'param':0x0}]},{'app':'tag','appType':_0x1cd3('0xb76'),'type':_0x1cd3('0xb76'),'foreignKey':'TagId','icon':_0x1cd3('0x1214'),'interval':'*,*,*,*','isApp':!![],'extraApi':[{'name':_0x1cd3('0x921'),'field':{'name':'tag','key':_0x1cd3('0x98')},'route':_0x1cd3('0xb76'),'filters':{'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'nolimit':!![]},'permissions':{'section':0x3f0}}],'fields':[{'title':_0x1cd3('0x1231'),'name':'tag','type':_0x1cd3('0x1218'),'values':'tags','value':_0x1cd3('0x1232'),'option':'tag.name','required':!![],'param':0x0}]}],['app']),{'isApp':![]});_0x4412b2['list']={'group':{'name':_0x1cd3('0x1250'),'pull':_0x1cd3('0x1141')},'animation':0x64,'sort':![]};_0x4412b2[_0x1cd3('0x18f9')]={'group':{'name':_0x1cd3('0x1c5d'),'put':_0x1cd3('0x1250')},'animation':0x64,'onAdd':function(_0x7a35db){_0x20579b(_0x7a35db,_0x7a35db[_0x1cd3('0x18fa')]);},'onSort':function(_0xae40e2){_0x30fbfc();}};_0x4412b2['init']=_0x27e7bc;_0x4412b2[_0x1cd3('0xe0a')]=_0x16d375;_0x4412b2[_0x1cd3('0x1c5e')]=_0x4b02ac;_0x4412b2['editMailAccountApp']=_0x20579b;_0x4412b2['editInterval']=_0x1f88f9;_0x4412b2[_0x1cd3('0x1c5f')]=_0x494cb5;_0x4412b2['deleteSelectedMailAccountApps']=_0xa33a09;_0x4412b2[_0x1cd3('0x1254')]=_0x30fbfc;_0x4412b2['getIntervals']=_0x2a3714;function _0x27e7bc(_0x30831a,_0x58ea83){_0x4412b2[_0x1cd3('0xa7a')]=_0x30831a;_0x4412b2['crudPermissions']=typeof _0x58ea83!==_0x1cd3('0x491')?_0x58ea83:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x4412b2['applications'][_0x1cd3('0x447')]=!_0x4412b2[_0x1cd3('0xd27')]['canEdit']?!![]:![];_0x4412b2[_0x1cd3('0x3d4')]['id']=_0x30831a['id'];_0x4412b2[_0x1cd3('0x3d4')][_0x1cd3('0x1255')]=!![];_0x4412b2['query'][_0x1cd3('0x1256')]=!![];_0x4412b2[_0x1cd3('0x1c5e')]();_0x4412b2[_0x1cd3('0x1257')]();}function _0x16d375(_0x5aa932,_0x17b38b,_0x178cf5){var _0x5aeacd=_0x510b7b['confirm']()[_0x1cd3('0x486')](_0x1cd3('0x1258'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x5aa932[_0x1cd3('0xd0a')]+_0x1cd3('0xd52')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x1259'))[_0x1cd3('0xd63')](_0x178cf5)['ok']('OK')[_0x1cd3('0x4d8')]('CANCEL');_0x510b7b[_0x1cd3('0x37e')](_0x5aeacd)[_0x1cd3('0x77')](function(){_0x4412b2[_0x1cd3('0x1c5b')][_0x1cd3('0xf6')][_0x1cd3('0x446')](_0x17b38b,0x1);_0x30fbfc();},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}function _0x20579b(_0x3658c5,_0x10a4ca){if(_0x4412b2['mailAccountApps'][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){var _0x3c2bfe=_0x4412b2['mailAccountApps']['rows'][_0x10a4ca]?_0x4412b2[_0x1cd3('0x1c5b')]['rows'][_0x10a4ca]:_0x4412b2[_0x1cd3('0x1c5b')][_0x1cd3('0xf6')][0x0];_0x510b7b[_0x1cd3('0x37e')]({'controller':'EditMailAccountApp'+(_0x3c2bfe[_0x1cd3('0x125b')]||_0x3c2bfe[_0x1cd3('0xd0a')])['toLowerCase']()+_0x1cd3('0x125c'),'controllerAs':'vm','templateUrl':'app/main/apps/mail/views/mailAccounts/edit/apps/'+(_0x3c2bfe['appType']||_0x3c2bfe[_0x1cd3('0xd0a')])['toLowerCase']()+_0x1cd3('0x125e'),'parent':angular[_0x1cd3('0x37f')](_0x448d02['body']),'targetEvent':_0x3658c5,'clickOutsideToClose':!![],'locals':{'mailAccountApp':_0x3c2bfe,'mailAccount':_0x4412b2['mailAccount'],'crudPermissions':_0x4412b2[_0x1cd3('0xd27')]}})[_0x1cd3('0x77')](function(_0x4061a8){if(_0x4061a8){if(_0x4061a8['id']){_0x4412b2[_0x1cd3('0x1c5b')][_0x1cd3('0xf6')][_0x10a4ca]=_0x4061a8;}else{_0x4412b2[_0x1cd3('0x1c5b')][_0x1cd3('0xf6')][_0x1cd3('0x446')](_0x10a4ca,0x0,_0x4061a8);}_0x30fbfc();}})[_0x1cd3('0xfd')](function(_0x5764f9){if(_0x5764f9){_0x32b870[_0x1cd3('0x434')]({'title':_0x5764f9[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x5764f9[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x5764f9[_0x1cd3('0xd35')]:'SYSTEM:EDITMODALSHOW','msg':_0x5764f9['data']?JSON['stringify'](_0x5764f9[_0x1cd3('0x439')]):_0x5764f9[_0x1cd3('0x43b')]()});}});}}function _0x1f88f9(_0x15f6d2,_0x158d02){if(_0x4412b2[_0x1cd3('0x1c5b')]['rows'][_0x1cd3('0x7a')]){var _0x179063=_0x4412b2['mailAccountApps'][_0x1cd3('0xf6')][_0x158d02]?_0x4412b2['mailAccountApps'][_0x1cd3('0xf6')][_0x158d02]:_0x4412b2[_0x1cd3('0x1c5b')][_0x1cd3('0xf6')][0x0];_0x510b7b[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1c60'),'controllerAs':'vm','templateUrl':'app/main/apps/mail/views/mailAccounts/edit/apps/interval/dialog.html','parent':angular[_0x1cd3('0x37f')](_0x448d02['body']),'targetEvent':_0x15f6d2,'clickOutsideToClose':!![],'locals':{'interval':{'interval':_0x179063[_0x1cd3('0x77e')],'IntervalId':_0x179063[_0x1cd3('0xf4b')],'application':!![]},'intervals':[],'crudPermissions':_0x4412b2[_0x1cd3('0xd27')]}})[_0x1cd3('0x77')](function(_0x4d0c8a){if(_0x4d0c8a){_0x179063[_0x1cd3('0x77e')]=_0x4d0c8a[_0x1cd3('0x77e')]||_0x1cd3('0x1216');_0x179063[_0x1cd3('0xf4b')]=_0x4d0c8a['IntervalId']||null;_0x30fbfc();}});}}function _0x30fbfc(){var _0x3f75eb=0x1;var _0x4401c0=[];for(var _0x5de4d1=0x0,_0x12cb4f=0x0;_0x5de4d1<_0x4412b2['mailAccountApps']['rows'][_0x1cd3('0x7a')];_0x5de4d1++,_0x12cb4f=0x0){var _0x3b06ea=_0x4412b2[_0x1cd3('0x1c5b')][_0x1cd3('0xf6')][_0x5de4d1];var _0x2f157e=[];var _0x3c07ac=[];_0x3b06ea[_0x1cd3('0xef9')]=_0x3b06ea[_0x1cd3('0x77e')]!==_0x1cd3('0x1216')?[_0x3b06ea[_0x1cd3('0x77e')]]:_0x3b06ea[_0x1cd3('0xf4b')]?_[_0x1cd3('0x3d9')](_[_0x1cd3('0x395')](_0x4412b2[_0x1cd3('0xef9')][_0x1cd3('0xf6')],{'IntervalId':_0x3b06ea[_0x1cd3('0xf4b')]}),_0x1cd3('0x77e')):[];_0x3b06ea[_0x1cd3('0xf0a')]=_0x4412b2['mailAccount'][_0x1cd3('0xf0a')];_0x3b06ea[_0x1cd3('0x1261')]=_0x4412b2[_0x1cd3('0xa7a')][_0x1cd3('0x1261')];if(_0x3b06ea['type']){_0x3b06ea[_0x1cd3('0x424')]=_0x3b06ea[_0x1cd3('0x424')][_0x1cd3('0x433')]();}_0x3b06ea[_0x1cd3('0xf0c')]=_0x2f157e[_0x1cd3('0x7a')]?_[_0x1cd3('0x5df')](_0x2f157e)['priority']+0x1:_0x3f75eb;_0x3f75eb=(_0x3c07ac['length']?_[_0x1cd3('0x5df')](_0x3c07ac)[_0x1cd3('0xf0c')]:_0x3b06ea[_0x1cd3('0xf0c')])+0x1;_0x4401c0=_[_0x1cd3('0x3ae')](_0x4401c0,_0x2f157e,[_0x3b06ea],_0x3c07ac);}_0x14ec85[_0x1cd3('0xa7a')][_0x1cd3('0x1262')]({'id':_0x4412b2[_0x1cd3('0xa7a')]['id']},_[_0x1cd3('0x1211')](_0x4401c0,_0x1cd3('0xf0c')))[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x5c2518){_0x4412b2['mailAccountApps']['rows']=_0x5c2518['rows'];})[_0x1cd3('0xfd')](function(_0x1e2305){console[_0x1cd3('0x434')](_0x1e2305);});}function _0x41123e(_0x5b252d){_0x4412b2[_0x1cd3('0x1c5b')]=_0x5b252d||{'count':0x0,'rows':[]};}function _0x2a3714(){return _0x14ec85[_0x1cd3('0x77e')][_0x1cd3('0x361')]({'fields':_0x1cd3('0x1c61')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x2cc057){_0x4412b2['intervals']=_0x2cc057;})[_0x1cd3('0xfd')](function(_0x235aff){console[_0x1cd3('0x434')](_0x235aff);});}function _0x4b02ac(){_0x4412b2[_0x1cd3('0x539')]=_0x14ec85[_0x1cd3('0xa7a')]['getApplications'](_0x4412b2[_0x1cd3('0x3d4')],_0x41123e)[_0x1cd3('0x81')];}function _0x494cb5(_0x4140d9){_[_0x1cd3('0x383')](_0x4412b2[_0x1cd3('0x1c5b')][_0x1cd3('0xf6')],{'id':_0x4140d9['id']});_0x30fbfc();_0x32b870[_0x1cd3('0x473')]({'title':_0x1cd3('0x1264'),'msg':_0x4140d9[_0x1cd3('0xd0a')]?_0x4140d9['app']+_0x1cd3('0xd41'):''});}function _0xa33a09(_0x5539de){var _0x5dcba7=_0x510b7b['confirm']()[_0x1cd3('0x486')](_0x1cd3('0x1265'))[_0x1cd3('0xd60')]('<b>'+_0x4412b2['selectedMailAccountApps'][_0x1cd3('0x7a')]+_0x1cd3('0xd61')+'\x20will\x20be\x20deleted.')[_0x1cd3('0xd3d')](_0x1cd3('0x1266'))[_0x1cd3('0xd63')](_0x5539de)['ok']('OK')[_0x1cd3('0x4d8')]('CANCEL');_0x510b7b[_0x1cd3('0x37e')](_0x5dcba7)[_0x1cd3('0x77')](function(){_0x4412b2[_0x1cd3('0x1c62')][_0x1cd3('0x394')](function(_0x5469a5){_['remove'](_0x4412b2[_0x1cd3('0x1c5b')][_0x1cd3('0xf6')],{'id':_0x5469a5['id']});});_0x4412b2['selectedMailAccountApps']=[];_0x30fbfc();});}}}());(function(){'use strict';_0xb916fb[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),'$q',_0x1cd3('0x461'),_0x1cd3('0x370'),'mailAccount','mailAccounts',_0x1cd3('0x11b9'),_0x1cd3('0x3f7'),_0x1cd3('0x56'),_0x1cd3('0xd27')];angular['module']('app.mail')['controller'](_0x1cd3('0x1c63'),_0xb916fb);function _0xb916fb(_0x1184a8,_0x3f6ce3,_0x5a465a,_0x592f91,_0x25416f,_0x59286f,_0x205302,_0x587888,_0x3a996d,_0xc059a4){var _0x74e1ce=this;_0x74e1ce[_0x1cd3('0x3ca')]=_0x3a996d[_0x1cd3('0x5d')]();_0x74e1ce[_0x1cd3('0xa7a')]=_0x25416f;_0x74e1ce[_0x1cd3('0xd27')]=_0xc059a4;_0x74e1ce[_0x1cd3('0x11b9')]=_0x205302;_0x74e1ce['items']=[];_0x74e1ce['allowedItems']=[];_0x74e1ce[_0x1cd3('0x492')]=[];_0x74e1ce[_0x1cd3('0x11bb')]=[];_0x74e1ce[_0x1cd3('0x11be')]=[];_0x74e1ce[_0x1cd3('0x11c6')]=![];_0x74e1ce['onInit']=_0x25aeb1;_0x74e1ce[_0x1cd3('0x11bc')]=_0x350b83;_0x74e1ce[_0x1cd3('0x39c')]=_0x5cce25;_0x74e1ce[_0x1cd3('0x1145')]={'readOnly':!_0x74e1ce['crudPermissions']['canEdit'],'items':[],'selectedItems':[],'showSelectAndDeselectAll':!![],'orderBy':_0x1cd3('0x98'),'line1':_0x1cd3('0xd3'),'line2':[_0x1cd3('0x98'),_0x1cd3('0x311')],'line3':'','labelAll':_0x587888[_0x1cd3('0x44a')](_0x1cd3('0x1c64')),'labelSelected':_0x587888['instant'](_0x1cd3('0x1c65')),'transferCallback':function(_0x15fdec,_0x150e9b){var _0x204de6=_[_0x1cd3('0x11c8')](_0x74e1ce[_0x1cd3('0x11be')],_0x74e1ce[_0x1cd3('0x492')],'id');_0x74e1ce[_0x1cd3('0x11c6')]=_['isEmpty'](_0x204de6)?![]:!![];}};function _0x25aeb1(){return _0x3a996d[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0xa43889()['catch'](function(_0x5525d0){_0x5a465a[_0x1cd3('0x434')]({'title':_0x5525d0[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x5525d0[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x5525d0[_0x1cd3('0xd35')]:_0x1cd3('0x11bf'),'msg':_0x5525d0[_0x1cd3('0x3a6')]?JSON[_0x1cd3('0x438')](_0x5525d0[_0x1cd3('0x439')]):_0x5525d0[_0x1cd3('0x43b')]()});}):_0x325f72()[_0x1cd3('0x77')](function(_0x381387){_0x74e1ce[_0x1cd3('0xd58')]=_0x381387;return _0xa43889();})[_0x1cd3('0xfd')](function(_0xa08bfe){_0x5a465a[_0x1cd3('0x434')]({'title':_0xa08bfe['status']?_0x1cd3('0x435')+_0xa08bfe[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0xa08bfe[_0x1cd3('0xd35')]:_0x1cd3('0x11bf'),'msg':_0xa08bfe['status']?JSON['stringify'](_0xa08bfe['data']):_0xa08bfe['toString']()});});}function _0x325f72(){return _0x3f6ce3(function(_0xc13eca,_0x5c2ee6){_0x592f91['userProfileSection'][_0x1cd3('0x361')]({'userProfileId':_0x74e1ce[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'name':_0x1cd3('0xd4')})['$promise'][_0x1cd3('0x77')](function(_0x10f31){var _0x1d98e0=_0x10f31&&_0x10f31[_0x1cd3('0xf6')]?_0x10f31['rows'][0x0]:null;_0xc13eca(_0x1d98e0);})[_0x1cd3('0xfd')](function(_0x2362a1){_0x5c2ee6(_0x2362a1);});});}function _0xa43889(){return _0x3f6ce3(function(_0x1368ee,_0x51ddb4){return _0xc4b950()['then'](function(_0x922061){_0x74e1ce[_0x1cd3('0x493')]=_0x922061[_0x1cd3('0xf6')]?_0x922061[_0x1cd3('0xf6')]:[];if(_0x3a996d[_0x1cd3('0x57')](_0x1cd3('0x5f'))){return _0x922061;}else{if(_0x74e1ce[_0x1cd3('0xd58')]){return _0x74e1ce[_0x1cd3('0xd58')][_0x1cd3('0x391')]?_0x922061:_0x28c9d3();}else{return null;}}})['then'](function(_0x5c5ffa){var _0x8bf3fc=_0x5c5ffa&&_0x5c5ffa[_0x1cd3('0xf6')]?_0x5c5ffa[_0x1cd3('0xf6')]:[];_0x74e1ce[_0x1cd3('0x11ba')]=_['map'](_0x8bf3fc,function(_0x36e590){return _[_0x1cd3('0x442')](_0x74e1ce['items'],{'id':_0x3a996d[_0x1cd3('0x57')](_0x1cd3('0x5f'))||_0x74e1ce[_0x1cd3('0xd58')][_0x1cd3('0x391')]?_0x36e590['id']:_0x36e590[_0x1cd3('0xe8e')]});});_0x74e1ce[_0x1cd3('0x11bb')]=angular[_0x1cd3('0x429')](_0x74e1ce[_0x1cd3('0x11ba')]);_0x74e1ce[_0x1cd3('0x493')][_0x1cd3('0x394')](function(_0x2b5351){var _0x5c820f=_[_0x1cd3('0x442')](_0x74e1ce['allowedItems'],{'id':_0x2b5351['id']});if(_0x3a996d[_0x1cd3('0x57')]('admin')){_0x2b5351[_0x1cd3('0x490')]=!![];}else{_0x2b5351[_0x1cd3('0x490')]=typeof _0x5c820f!=='undefined'?!![]:![];}});return _0x219608();})[_0x1cd3('0x77')](function(_0x465742){var _0xf6bff5=_0x465742&&_0x465742[_0x1cd3('0xf6')]?_0x465742[_0x1cd3('0xf6')]:[];_0x74e1ce[_0x1cd3('0x492')]=_['map'](_0xf6bff5,function(_0x2a57e0){var _0xa01a89=_[_0x1cd3('0x442')](_0x74e1ce['items'],{'id':_0x2a57e0['id']});_0xa01a89['penalty']=_0x2a57e0[_0x1cd3('0x1c66')]?_0x1cd3('0x1503')+_0x2a57e0['UserMailAccount'][_0x1cd3('0x1146')]:'';_0xa01a89[_0x1cd3('0x311')]=_0x2a57e0['hasOwnProperty']('internal')?'<'+_0x2a57e0[_0x1cd3('0x311')]+'>':'';return _0xa01a89;});_0x74e1ce[_0x1cd3('0x11be')]=angular[_0x1cd3('0x429')](_0x74e1ce[_0x1cd3('0x492')]);_0x74e1ce[_0x1cd3('0x1145')][_0x1cd3('0x492')]=_0x74e1ce[_0x1cd3('0x492')];_0x74e1ce[_0x1cd3('0x1145')][_0x1cd3('0x493')]=_[_0x1cd3('0x1152')](_0x74e1ce[_0x1cd3('0x11ba')],_0x74e1ce[_0x1cd3('0x1145')][_0x1cd3('0x492')],'id');_0x1368ee();})['catch'](function(_0x128f72){_0x51ddb4(_0x128f72);});});}function _0x28c9d3(){return _0x3f6ce3(function(_0x400f3e,_0x3b6034){return _0x592f91['userProfileResource'][_0x1cd3('0x361')]({'sectionId':_0x74e1ce[_0x1cd3('0xd58')]['id'],'nolimit':!![]})['$promise'][_0x1cd3('0x77')](function(_0x49ebd6){_0x400f3e(_0x49ebd6);})[_0x1cd3('0xfd')](function(_0xbb3dc1){_0x3b6034(_0xbb3dc1);});});}function _0x219608(){return _0x3f6ce3(function(_0x392ea6,_0x4161e2){return _0x592f91['mailAccount'][_0x1cd3('0x1269')]({'id':_0x74e1ce[_0x1cd3('0xa7a')]['id'],'fields':_0x1cd3('0x11c1'),'nolimit':!![],'role':'agent'})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x1f56c3){_0x392ea6(_0x1f56c3);})[_0x1cd3('0xfd')](function(_0x36fa7b){_0x4161e2(_0x36fa7b);});});}function _0xc4b950(){return _0x3f6ce3(function(_0x53d79e,_0x3b1955){return _0x592f91[_0x1cd3('0x368')][_0x1cd3('0x361')]({'fields':_0x1cd3('0x11c1'),'nolimit':!![],'role':_0x1cd3('0xd2')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x2aeb46){_0x53d79e(_0x2aeb46);})[_0x1cd3('0xfd')](function(_0x484b0a){_0x3b1955(_0x484b0a);});});}function _0x5a99b6(_0x2760ba){return _0x3f6ce3(function(_0x3579cb,_0x584c0e){if(_[_0x1cd3('0x398')](_0x2760ba)){_0x3579cb();}else{_0x592f91[_0x1cd3('0xa7a')][_0x1cd3('0x11c2')]({'id':_0x74e1ce[_0x1cd3('0xa7a')]['id'],'ids':_[_0x1cd3('0x3d9')](_0x2760ba,'id')})[_0x1cd3('0x81')]['then'](function(){_0x3579cb();})[_0x1cd3('0xfd')](function(_0x508621){_0x584c0e(_0x508621);});}});}function _0x50ac66(_0x339bda){return _0x3f6ce3(function(_0x291625,_0x375cb1){if(_[_0x1cd3('0x398')](_0x339bda)){_0x291625();}else{_0x592f91[_0x1cd3('0xa7a')][_0x1cd3('0x11c3')]({'id':_0x74e1ce[_0x1cd3('0xa7a')]['id'],'ids':_[_0x1cd3('0x3d9')](_0x339bda,'id')})['$promise'][_0x1cd3('0x77')](function(){_0x291625();})[_0x1cd3('0xfd')](function(_0x5b6435){_0x375cb1(_0x5b6435);});}});}function _0x350b83(){var _0x21356a=_[_0x1cd3('0x1152')](_0x74e1ce['startingSelectedItems'],_0x74e1ce['selectedItems'],'id');var _0x4aff39=_[_0x1cd3('0x1152')](_0x74e1ce[_0x1cd3('0x492')],_0x74e1ce[_0x1cd3('0x11be')],'id');return _0x50ac66(_0x21356a)['then'](function(){return _0x5a99b6(_0x4aff39);})[_0x1cd3('0x77')](function(){_0x74e1ce[_0x1cd3('0x11c6')]=![];_0x74e1ce[_0x1cd3('0x11bb')]=angular[_0x1cd3('0x429')](_0x74e1ce[_0x1cd3('0x11ba')]);_0x74e1ce['startingSelectedItems']=angular[_0x1cd3('0x429')](_0x74e1ce['selectedItems']);_0x5a465a[_0x1cd3('0x473')]({'title':_0x1cd3('0x11c4'),'msg':_0x1cd3('0x11c5')});})[_0x1cd3('0xfd')](function(_0x17c4bd){_0x5a465a[_0x1cd3('0x434')]({'title':_0x17c4bd[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x17c4bd[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x17c4bd[_0x1cd3('0xd35')]:_0x1cd3('0x11ce'),'msg':_0x17c4bd['status']?JSON[_0x1cd3('0x438')](_0x17c4bd[_0x1cd3('0x439')]):_0x17c4bd[_0x1cd3('0x43b')]()});});}function _0x5cce25(){_0x1184a8[_0x1cd3('0x39d')]();}}}());(function(){'use strict';_0x5d86f5[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),'$q','toasty',_0x1cd3('0x1c67'),_0x1cd3('0xa7a'),'api',_0x1cd3('0x56'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')]('app.mail')['controller'](_0x1cd3('0x1c68'),_0x5d86f5);function _0x5d86f5(_0x5efd1b,_0x7b4b70,_0x37a9aa,_0x39ae87,_0x1a6fec,_0x55eb9f,_0x25e88d,_0xa81ff7){var _0x52b196=this;_0x52b196[_0x1cd3('0x3ca')]=_0x25e88d[_0x1cd3('0x5d')]();_0x52b196[_0x1cd3('0xd34')]=[];_0x52b196[_0x1cd3('0x486')]=_0x1cd3('0x1c69')+(_0x39ae87[_0x1cd3('0x125b')]||_0x39ae87[_0x1cd3('0xd0a')])['toUpperCase']();_0x52b196['agent']=angular['copy'](_0x39ae87);_0x52b196[_0x1cd3('0xd27')]=_0xa81ff7;_0x52b196['hasModulePermissions']={};if(_0x52b196['agent']['appdata']){switch(_0x52b196[_0x1cd3('0xd2')]['appType']?_0x52b196['agent'][_0x1cd3('0x125b')][_0x1cd3('0x433')]():_0x52b196['agent'][_0x1cd3('0xd0a')][_0x1cd3('0x433')]()){case _0x1cd3('0x8f6'):break;case _0x1cd3('0x1233'):var _0x435c97=_0x52b196[_0x1cd3('0xd2')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x52b196[_0x1cd3('0xd2')][_0x1cd3('0x65c')]=_0x435c97[0x0];_0x52b196['agent'][_0x1cd3('0x3f3')]=_0x435c97[0x1];_0x52b196['agent'][_0x1cd3('0x1246')]=_0x435c97[_0x1cd3('0x9a2')](0x2,_0x435c97[_0x1cd3('0x7a')])['join'](',');break;case'amazonlex':var _0x435c97=_0x52b196[_0x1cd3('0xd2')]['appdata'][_0x1cd3('0x3ef')](',');_0x52b196[_0x1cd3('0xd2')][_0x1cd3('0x1248')]=_0x435c97[0x0];_0x52b196[_0x1cd3('0xd2')][_0x1cd3('0x1249')]=_0x435c97[0x1];_0x52b196[_0x1cd3('0xd2')][_0x1cd3('0x124a')]=_0x435c97[0x2];_0x52b196['agent'][_0x1cd3('0x124f')]=_0x435c97[0x3];_0x52b196[_0x1cd3('0xd2')][_0x1cd3('0x1246')]=_0x435c97[_0x1cd3('0x9a2')](0x4,_0x435c97['length'])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x122b'):var _0x435c97=_0x52b196[_0x1cd3('0xd2')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x52b196['agent'][_0x1cd3('0x122c')]=isNaN(_0x435c97[0x0])?_0x435c97[0x0]:parseInt(_0x435c97[0x0],0xa);_0x52b196[_0x1cd3('0xd2')]['text']=_0x435c97['slice'](0x1,_0x435c97[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x43a'):_0x52b196['agent']['text']=_0x52b196['agent']['appdata'];break;case _0x1cd3('0x127e'):_0x52b196[_0x1cd3('0xd2')][_0x1cd3('0x98')]=_0x52b196[_0x1cd3('0xd2')]['appdata'][_0x1cd3('0x3ef')]('=')[0x0];_0x52b196[_0x1cd3('0xd2')][_0x1cd3('0x3db')]=_0x52b196[_0x1cd3('0xd2')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x1];break;case _0x1cd3('0x128c'):_0x52b196[_0x1cd3('0xd2')][_0x1cd3('0xedd')]=_0x52b196['agent'][_0x1cd3('0x127d')];break;default:var _0x125d51=_0x52b196[_0x1cd3('0xd2')]['appdata'][_0x1cd3('0x3ef')](',');_0x52b196[_0x1cd3('0xd2')]['agent']=_[_0x1cd3('0x398')](_0x125d51[0x0])?_0x125d51[0x0]:isNaN(_0x125d51[0x0])?_0x125d51[0x0]:parseInt(_0x125d51[0x0],0xa);_0x52b196[_0x1cd3('0xd2')][_0x1cd3('0x8fc')]=_[_0x1cd3('0x398')](_0x125d51[0x1])?_0x125d51[0x1]:isNaN(_0x125d51[0x1])?_0x125d51[0x1]:parseInt(_0x125d51[0x1],0xa);}}else{_0x52b196[_0x1cd3('0xd2')][_0x1cd3('0x8fc')]=0x1e;}if(_0x52b196[_0x1cd3('0xd2')][_0x1cd3('0x424')]&&_0x52b196[_0x1cd3('0xd2')][_0x1cd3('0x424')][_0x1cd3('0x433')]()==='outbound'&&_0x52b196['agent'][_0x1cd3('0x125b')][_0x1cd3('0x433')]()==='outbounddial'){_0x52b196[_0x1cd3('0xd2')][_0x1cd3('0x6aa')]=_0x52b196[_0x1cd3('0xd2')][_0x1cd3('0xf09')]?_0x52b196[_0x1cd3('0xd2')]['phone']['split']('$')[0x0]:undefined;_0x52b196['agent'][_0x1cd3('0x689')]=_0x52b196['agent'][_0x1cd3('0x127f')]?_0x1cd3('0x1280')+_0x52b196[_0x1cd3('0xd2')][_0x1cd3('0x127f')]:undefined;}_0x52b196['saveMailAccountApp']=_0x396487;_0x52b196['closeDialog']=_0x212820;_0x25e88d[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x55eb9f[_0x1cd3('0x368')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'nolimit':'true','role':_0x1cd3('0xd2')})['$promise'][_0x1cd3('0x77')](function(_0x41369c){_0x52b196['agents']=_0x41369c['rows']||[];})['catch'](function(_0x55081b){_0x37a9aa[_0x1cd3('0x434')]({'title':_0x55081b[_0x1cd3('0x3a6')]?'API:'+_0x55081b['status']+_0x1cd3('0x436')+_0x55081b[_0x1cd3('0xd35')]:_0x1cd3('0x11bf'),'msg':_0x55081b['data']?JSON[_0x1cd3('0x438')](_0x55081b['data']):_0x55081b[_0x1cd3('0x43b')]()});}):_0x55eb9f['user'][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0'),'role':_0x1cd3('0xd2')})['$promise'][_0x1cd3('0x77')](function(_0x23e4cd){_0x52b196[_0x1cd3('0x1228')]=_0x23e4cd[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x55eb9f[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x52b196[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0xca})[_0x1cd3('0x81')];})['then'](function(_0x56e171){var _0x5939a5=_0x56e171&&_0x56e171['rows']?_0x56e171['rows'][0x0]:null;if(!_0x5939a5){var _0x8f22d5=[];var _0x2b8604=null;if(_0x52b196[_0x1cd3('0xd2')]){_0x2b8604=_[_0x1cd3('0x442')](_0x52b196['agents'],{'name':_0x52b196[_0x1cd3('0xd2')]['agent']});}for(var _0x5cf823=0x0;_0x5cf823<_0x52b196[_0x1cd3('0x1228')][_0x1cd3('0x7a')];_0x5cf823++){if(_0x2b8604&&_0x52b196['agents'][_0x5cf823]['id']===_0x2b8604['id']){_0x52b196['agents'][_0x5cf823][_0x1cd3('0xf4a')]=![];_0x8f22d5[_0x1cd3('0x7b')](_0x52b196['agents'][_0x5cf823]);}}_0x52b196[_0x1cd3('0x1228')]=_0x8f22d5;}else{if(!_0x5939a5[_0x1cd3('0x391')]){return _0x55eb9f[_0x1cd3('0x392')]['get']({'sectionId':_0x5939a5['id']})[_0x1cd3('0x81')]['then'](function(_0x1f6ba2){var _0x5aec5d=_['map'](_0x1f6ba2[_0x1cd3('0xf6')],function(_0x1942f6){return _[_0x1cd3('0x442')](_0x52b196[_0x1cd3('0x1228')],{'id':_0x1942f6[_0x1cd3('0xe8e')]});});var _0xc51154=null;if(_0x52b196[_0x1cd3('0xd2')]){_0xc51154=_[_0x1cd3('0x442')](_0x52b196[_0x1cd3('0x1228')],{'name':_0x52b196[_0x1cd3('0xd2')][_0x1cd3('0xd2')]});}if(_0xc51154&&!_[_0x1cd3('0x38d')](_0x5aec5d,['id',_0xc51154['id']])){var _0x147ac2=_[_0x1cd3('0x442')](_0x52b196[_0x1cd3('0x1228')],{'id':_0xc51154['id']});_0x147ac2[_0x1cd3('0xf4a')]=![];_0x5aec5d[_0x1cd3('0x7b')](_0x147ac2);}_0x52b196[_0x1cd3('0x1228')]=_0x5aec5d;});}}})[_0x1cd3('0xfd')](function(_0x5c14dc){_0x37a9aa[_0x1cd3('0x434')]({'title':_0x5c14dc[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x5c14dc['status']+_0x1cd3('0x436')+_0x5c14dc[_0x1cd3('0xd35')]:_0x1cd3('0x1282'),'msg':_0x5c14dc[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x5c14dc[_0x1cd3('0x439')]):_0x5c14dc[_0x1cd3('0x43b')]()});});function _0x396487(){_0x52b196[_0x1cd3('0xd34')]=[];var _0xddf669=[];if(_0x52b196[_0x1cd3('0xd2')][_0x1cd3('0x424')]&&_0x52b196[_0x1cd3('0xd2')][_0x1cd3('0x424')][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x52b196[_0x1cd3('0xd2')][_0x1cd3('0x125b')]===_0x1cd3('0x1283')){_0x52b196[_0x1cd3('0xd2')]['phone']=_0x1a6fec[_0x1cd3('0x128a')]?(_0x52b196[_0x1cd3('0xd2')][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x1284')+_0x1a6fec[_0x1cd3('0x128a')]+'}':(_0x52b196[_0x1cd3('0xd2')][_0x1cd3('0x6aa')]||'')+'${EXTEN}';if(_0x1a6fec[_0x1cd3('0x1285')]!==_0x1cd3('0x6ae')){if(_0x52b196[_0x1cd3('0xd2')]['options'][_0x1cd3('0x45e')](_0x1cd3('0x1286'))<0x0){_0x52b196[_0x1cd3('0xd2')][_0x1cd3('0x422')]+=_0x1cd3('0x1286');}}else{_0x52b196['agent'][_0x1cd3('0x422')]=_0x52b196['agent'][_0x1cd3('0x422')]['replace']('U(xcally-mixmonitor-context)','');}}var _0x42635d=_[_0x1cd3('0x442')](_0x52b196[_0x1cd3('0x1228')],{'name':_0x52b196[_0x1cd3('0xd2')][_0x1cd3('0xd2')]});if(_0x42635d){_0x52b196[_0x1cd3('0xd2')][_0x1cd3('0x1226')]=_0x42635d['id'];}if(_0x52b196[_0x1cd3('0xd2')]['appType']&&_0x52b196[_0x1cd3('0xd2')][_0x1cd3('0x125b')]==='custom'){}else{switch((_0x52b196['agent'][_0x1cd3('0xd0a')]||_0x52b196[_0x1cd3('0xd2')]['appType'])[_0x1cd3('0x433')]()){case _0x1cd3('0x127e'):_0x52b196[_0x1cd3('0xd2')][_0x1cd3('0x127d')]=_0x52b196[_0x1cd3('0xd2')][_0x1cd3('0x98')]+'='+_0x52b196['agent']['value'];break;case _0x1cd3('0x8f6'):break;default:_0xddf669[0x0]=_0x52b196[_0x1cd3('0xd2')][_0x1cd3('0xd2')];_0xddf669[0x1]=_0x52b196[_0x1cd3('0xd2')]['timeout'];_0x52b196[_0x1cd3('0xd2')][_0x1cd3('0x127d')]=_0xddf669[_0x1cd3('0x3de')](',');}}_0x212820(_0x52b196[_0x1cd3('0xd2')]);}function _0x212820(_0x7db5a5){_0x5efd1b[_0x1cd3('0x39d')](_0x7db5a5);}}}());(function(){'use strict';_0x42a9b6[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),'$q',_0x1cd3('0x461'),'mailAccountApp',_0x1cd3('0xa7a'),_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')]('app.mail')[_0x1cd3('0x39b')](_0x1cd3('0x1c6a'),_0x42a9b6);function _0x42a9b6(_0x5bac39,_0x326254,_0x4947f0,_0x1b9d62,_0x57d8a4,_0x99a9f7,_0x4ba544,_0x2f72ea){var _0x222b05=this;_0x222b05[_0x1cd3('0x3ca')]=_0x4ba544[_0x1cd3('0x5d')]();_0x222b05[_0x1cd3('0xd34')]=[];_0x222b05[_0x1cd3('0x486')]=_0x1cd3('0x1c69')+(_0x1b9d62['appType']||_0x1b9d62[_0x1cd3('0xd0a')])[_0x1cd3('0x437')]();_0x222b05[_0x1cd3('0x122b')]=angular[_0x1cd3('0x429')](_0x1b9d62);_0x222b05[_0x1cd3('0xd27')]=_0x2f72ea;_0x222b05[_0x1cd3('0xd28')]={};if(_0x222b05['autoreply']['appdata']){switch(_0x222b05[_0x1cd3('0x122b')]['appType']?_0x222b05['autoreply'][_0x1cd3('0x125b')][_0x1cd3('0x433')]():_0x222b05[_0x1cd3('0x122b')]['app'][_0x1cd3('0x433')]()){case _0x1cd3('0x8f6'):break;case _0x1cd3('0x1233'):var _0x557b0d=_0x222b05[_0x1cd3('0x122b')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x222b05[_0x1cd3('0x122b')][_0x1cd3('0x65c')]=_0x557b0d[0x0];_0x222b05['autoreply']['language']=_0x557b0d[0x1];_0x222b05[_0x1cd3('0x122b')]['welcomemessage']=_0x557b0d[_0x1cd3('0x9a2')](0x2,_0x557b0d[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case'amazonlex':var _0x557b0d=_0x222b05[_0x1cd3('0x122b')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x222b05[_0x1cd3('0x122b')]['accesskeyid']=_0x557b0d[0x0];_0x222b05['autoreply']['secretaccesskey']=_0x557b0d[0x1];_0x222b05['autoreply'][_0x1cd3('0x124a')]=_0x557b0d[0x2];_0x222b05[_0x1cd3('0x122b')][_0x1cd3('0x124f')]=_0x557b0d[0x3];_0x222b05[_0x1cd3('0x122b')][_0x1cd3('0x1246')]=_0x557b0d['slice'](0x4,_0x557b0d['length'])['join'](',');break;case _0x1cd3('0x122b'):var _0x557b0d=_0x222b05[_0x1cd3('0x122b')][_0x1cd3('0x127d')]['split'](',');_0x222b05[_0x1cd3('0x122b')][_0x1cd3('0x122c')]=isNaN(_0x557b0d[0x0])?_0x557b0d[0x0]:parseInt(_0x557b0d[0x0],0xa);_0x222b05[_0x1cd3('0x122b')]['text']=_0x557b0d[_0x1cd3('0x9a2')](0x1,_0x557b0d[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x43a'):_0x222b05[_0x1cd3('0x122b')]['text']=_0x222b05['autoreply'][_0x1cd3('0x127d')];break;case'set':_0x222b05[_0x1cd3('0x122b')][_0x1cd3('0x98')]=_0x222b05[_0x1cd3('0x122b')]['appdata'][_0x1cd3('0x3ef')]('=')[0x0];_0x222b05[_0x1cd3('0x122b')][_0x1cd3('0x3db')]=_0x222b05['autoreply'][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x1];break;case _0x1cd3('0x128c'):_0x222b05[_0x1cd3('0x122b')][_0x1cd3('0xedd')]=_0x222b05[_0x1cd3('0x122b')]['appdata'];break;default:var _0x2f4805=_0x222b05['autoreply']['appdata']['split'](',');_0x222b05[_0x1cd3('0x122b')]['times']=_[_0x1cd3('0x398')](_0x2f4805[0x0])?_0x2f4805[0x0]:isNaN(_0x2f4805[0x0])?_0x2f4805[0x0]:parseInt(_0x2f4805[0x0],0xa);_0x222b05[_0x1cd3('0x122b')][_0x1cd3('0x401')]=_[_0x1cd3('0x398')](_0x2f4805[0x1])?_0x2f4805[0x1]:isNaN(_0x2f4805[0x1])?_0x2f4805[0x1]:parseInt(_0x2f4805[0x1],0xa);}}else{_0x222b05['autoreply'][_0x1cd3('0x122c')]=0x1;}if(_0x222b05[_0x1cd3('0x122b')][_0x1cd3('0x424')]&&_0x222b05[_0x1cd3('0x122b')][_0x1cd3('0x424')][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x222b05[_0x1cd3('0x122b')]['appType'][_0x1cd3('0x433')]()===_0x1cd3('0x1289')){_0x222b05['autoreply'][_0x1cd3('0x6aa')]=_0x222b05[_0x1cd3('0x122b')][_0x1cd3('0xf09')]?_0x222b05['autoreply'][_0x1cd3('0xf09')]['split']('$')[0x0]:undefined;_0x222b05[_0x1cd3('0x122b')][_0x1cd3('0x689')]=_0x222b05[_0x1cd3('0x122b')][_0x1cd3('0x127f')]?_0x1cd3('0x1280')+_0x222b05[_0x1cd3('0x122b')]['callerID']:undefined;}_0x222b05[_0x1cd3('0x1c6b')]=_0x21bcfb;_0x222b05[_0x1cd3('0x39c')]=_0x4f7735;function _0x21bcfb(){_0x222b05['errors']=[];var _0x4b041c=[];if(_0x222b05['autoreply'][_0x1cd3('0x424')]&&_0x222b05[_0x1cd3('0x122b')][_0x1cd3('0x424')][_0x1cd3('0x433')]()==='outbound'&&_0x222b05[_0x1cd3('0x122b')][_0x1cd3('0x125b')]===_0x1cd3('0x1283')){_0x222b05[_0x1cd3('0x122b')]['phone']=_0x57d8a4[_0x1cd3('0x128a')]?(_0x222b05['autoreply'][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x1284')+_0x57d8a4[_0x1cd3('0x128a')]+'}':(_0x222b05['autoreply'][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x128d');if(_0x57d8a4[_0x1cd3('0x1285')]!==_0x1cd3('0x6ae')){if(_0x222b05[_0x1cd3('0x122b')][_0x1cd3('0x422')][_0x1cd3('0x45e')](_0x1cd3('0x1286'))<0x0){_0x222b05[_0x1cd3('0x122b')]['options']+='U(xcally-mixmonitor-context)';}}else{_0x222b05[_0x1cd3('0x122b')][_0x1cd3('0x422')]=_0x222b05[_0x1cd3('0x122b')][_0x1cd3('0x422')][_0x1cd3('0x3f1')]('U(xcally-mixmonitor-context)','');}}if(_0x222b05[_0x1cd3('0x122b')][_0x1cd3('0x125b')]&&_0x222b05[_0x1cd3('0x122b')][_0x1cd3('0x125b')]===_0x1cd3('0x8f6')){}else{switch((_0x222b05[_0x1cd3('0x122b')]['app']||_0x222b05[_0x1cd3('0x122b')][_0x1cd3('0x125b')])[_0x1cd3('0x433')]()){case'set':_0x222b05[_0x1cd3('0x122b')][_0x1cd3('0x127d')]=_0x222b05[_0x1cd3('0x122b')][_0x1cd3('0x98')]+'='+_0x222b05[_0x1cd3('0x122b')]['value'];break;case _0x1cd3('0x8f6'):break;default:_0x4b041c[0x0]=_0x222b05[_0x1cd3('0x122b')][_0x1cd3('0x122c')];_0x4b041c[0x1]=_0x222b05['autoreply'][_0x1cd3('0x401')];_0x222b05[_0x1cd3('0x122b')][_0x1cd3('0x127d')]=_0x4b041c['join'](',');}}_0x4f7735(_0x222b05[_0x1cd3('0x122b')]);}function _0x4f7735(_0x35fba2){_0x5bac39['hide'](_0x35fba2);}}}());(function(){'use strict';_0x49d277['$inject']=[_0x1cd3('0x3c5'),'$q',_0x1cd3('0x461'),_0x1cd3('0x1c67'),_0x1cd3('0xa7a'),_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')]('app.mail')['controller'](_0x1cd3('0x1c6c'),_0x49d277);function _0x49d277(_0x5d9ba3,_0x1799b1,_0x5f5c35,_0x655be4,_0x4ce952,_0x2ed39b,_0x534f83,_0x4e013d){var _0x2f08fa=this;_0x2f08fa['currentUser']=_0x534f83[_0x1cd3('0x5d')]();_0x2f08fa['errors']=[];_0x2f08fa['title']=_0x1cd3('0x1c69')+(_0x655be4[_0x1cd3('0x125b')]||_0x655be4[_0x1cd3('0xd0a')])[_0x1cd3('0x437')]();_0x2f08fa[_0x1cd3('0x3cf')]=angular[_0x1cd3('0x429')](_0x655be4);_0x2f08fa[_0x1cd3('0xd27')]=_0x4e013d;_0x2f08fa[_0x1cd3('0xd28')]={};if(_0x2f08fa[_0x1cd3('0x3cf')][_0x1cd3('0x127d')]){switch(_0x2f08fa[_0x1cd3('0x3cf')][_0x1cd3('0x125b')]?_0x2f08fa[_0x1cd3('0x3cf')][_0x1cd3('0x125b')]['toLowerCase']():_0x2f08fa[_0x1cd3('0x3cf')][_0x1cd3('0xd0a')][_0x1cd3('0x433')]()){case _0x1cd3('0x8f6'):break;case _0x1cd3('0x1233'):var _0x17b407=_0x2f08fa[_0x1cd3('0x3cf')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x2f08fa[_0x1cd3('0x3cf')]['key']=_0x17b407[0x0];_0x2f08fa['close'][_0x1cd3('0x3f3')]=_0x17b407[0x1];_0x2f08fa[_0x1cd3('0x3cf')][_0x1cd3('0x1246')]=_0x17b407['slice'](0x2,_0x17b407[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x1247'):var _0x17b407=_0x2f08fa[_0x1cd3('0x3cf')][_0x1cd3('0x127d')]['split'](',');_0x2f08fa[_0x1cd3('0x3cf')][_0x1cd3('0x1248')]=_0x17b407[0x0];_0x2f08fa['close']['secretaccesskey']=_0x17b407[0x1];_0x2f08fa[_0x1cd3('0x3cf')][_0x1cd3('0x124a')]=_0x17b407[0x2];_0x2f08fa[_0x1cd3('0x3cf')]['botname']=_0x17b407[0x3];_0x2f08fa['close'][_0x1cd3('0x1246')]=_0x17b407['slice'](0x4,_0x17b407[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case'autoreply':var _0x17b407=_0x2f08fa[_0x1cd3('0x3cf')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x2f08fa[_0x1cd3('0x3cf')][_0x1cd3('0x122c')]=isNaN(_0x17b407[0x0])?_0x17b407[0x0]:parseInt(_0x17b407[0x0],0xa);_0x2f08fa[_0x1cd3('0x3cf')]['text']=_0x17b407['slice'](0x1,_0x17b407[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x43a'):_0x2f08fa[_0x1cd3('0x3cf')]['text']=_0x2f08fa['close'][_0x1cd3('0x127d')];break;case _0x1cd3('0x127e'):_0x2f08fa[_0x1cd3('0x3cf')][_0x1cd3('0x98')]=_0x2f08fa['close'][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x0];_0x2f08fa[_0x1cd3('0x3cf')][_0x1cd3('0x3db')]=_0x2f08fa[_0x1cd3('0x3cf')][_0x1cd3('0x127d')]['split']('=')[0x1];break;case _0x1cd3('0x128c'):_0x2f08fa[_0x1cd3('0x3cf')][_0x1cd3('0xedd')]=_0x2f08fa['close']['appdata'];break;default:var _0x5bef62=_0x2f08fa['close'][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x2f08fa[_0x1cd3('0x3cf')][_0x1cd3('0xb63')]=_[_0x1cd3('0x398')](_0x5bef62[0x0])?_0x5bef62[0x0]:isNaN(_0x5bef62[0x0])?_0x5bef62[0x0]:parseInt(_0x5bef62[0x0],0xa);}}else{}if(_0x2f08fa[_0x1cd3('0x3cf')][_0x1cd3('0x424')]&&_0x2f08fa[_0x1cd3('0x3cf')]['type'][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x2f08fa[_0x1cd3('0x3cf')][_0x1cd3('0x125b')][_0x1cd3('0x433')]()===_0x1cd3('0x1289')){_0x2f08fa['close'][_0x1cd3('0x6aa')]=_0x2f08fa[_0x1cd3('0x3cf')][_0x1cd3('0xf09')]?_0x2f08fa['close'][_0x1cd3('0xf09')][_0x1cd3('0x3ef')]('$')[0x0]:undefined;_0x2f08fa[_0x1cd3('0x3cf')][_0x1cd3('0x689')]=_0x2f08fa[_0x1cd3('0x3cf')][_0x1cd3('0x127f')]?_0x1cd3('0x1280')+_0x2f08fa[_0x1cd3('0x3cf')][_0x1cd3('0x127f')]:undefined;}_0x2f08fa[_0x1cd3('0x1c6b')]=_0x149147;_0x2f08fa['closeDialog']=_0x1cb98b;function _0x149147(){_0x2f08fa['errors']=[];var _0x12f2b1=[];if(_0x2f08fa[_0x1cd3('0x3cf')]['type']&&_0x2f08fa['close']['type'][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x2f08fa['close']['appType']==='outboundDial'){_0x2f08fa[_0x1cd3('0x3cf')][_0x1cd3('0xf09')]=_0x4ce952[_0x1cd3('0x128a')]?(_0x2f08fa['close']['prefix']||'')+_0x1cd3('0x1284')+_0x4ce952['cutdigits']+'}':(_0x2f08fa[_0x1cd3('0x3cf')]['prefix']||'')+_0x1cd3('0x128d');if(_0x4ce952[_0x1cd3('0x1285')]!==_0x1cd3('0x6ae')){if(_0x2f08fa[_0x1cd3('0x3cf')][_0x1cd3('0x422')][_0x1cd3('0x45e')](_0x1cd3('0x1286'))<0x0){_0x2f08fa[_0x1cd3('0x3cf')][_0x1cd3('0x422')]+=_0x1cd3('0x1286');}}else{_0x2f08fa['close'][_0x1cd3('0x422')]=_0x2f08fa[_0x1cd3('0x3cf')][_0x1cd3('0x422')][_0x1cd3('0x3f1')]('U(xcally-mixmonitor-context)','');}}if(_0x2f08fa[_0x1cd3('0x3cf')][_0x1cd3('0x125b')]&&_0x2f08fa[_0x1cd3('0x3cf')][_0x1cd3('0x125b')]===_0x1cd3('0x8f6')){}else{switch((_0x2f08fa[_0x1cd3('0x3cf')][_0x1cd3('0xd0a')]||_0x2f08fa[_0x1cd3('0x3cf')][_0x1cd3('0x125b')])[_0x1cd3('0x433')]()){case _0x1cd3('0x127e'):_0x2f08fa[_0x1cd3('0x3cf')][_0x1cd3('0x127d')]=_0x2f08fa['close'][_0x1cd3('0x98')]+'='+_0x2f08fa[_0x1cd3('0x3cf')][_0x1cd3('0x3db')];break;case'custom':break;default:_0x12f2b1[0x0]=_0x2f08fa[_0x1cd3('0x3cf')]['disposition'];_0x2f08fa[_0x1cd3('0x3cf')]['appdata']=_0x12f2b1[_0x1cd3('0x3de')](',');}}_0x1cb98b(_0x2f08fa[_0x1cd3('0x3cf')]);}function _0x1cb98b(_0x5d2c42){_0x5d9ba3[_0x1cd3('0x39d')](_0x5d2c42);}}}());(function(){'use strict';_0x451813[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),'$q',_0x1cd3('0x461'),_0x1cd3('0x1c67'),'mailAccount',_0x1cd3('0x370'),_0x1cd3('0x56'),'crudPermissions'];angular[_0x1cd3('0x0')](_0x1cd3('0x2f'))[_0x1cd3('0x39b')](_0x1cd3('0x1c6d'),_0x451813);function _0x451813(_0x314935,_0x67b368,_0x34c516,_0x1225ae,_0x1cc6c4,_0xbfe3d0,_0x2f53fe,_0x11a122){var _0x508656=this;_0x508656[_0x1cd3('0x3ca')]=_0x2f53fe[_0x1cd3('0x5d')]();_0x508656[_0x1cd3('0xd34')]=[];_0x508656['title']=_0x1cd3('0x1c69')+(_0x1225ae[_0x1cd3('0x125b')]||_0x1225ae[_0x1cd3('0xd0a')])[_0x1cd3('0x437')]();_0x508656[_0x1cd3('0x121c')]=angular['copy'](_0x1225ae);_0x508656['crudPermissions']=_0x11a122;_0x508656[_0x1cd3('0xd28')]={};if(_0x508656[_0x1cd3('0x121c')][_0x1cd3('0x127d')]){switch(_0x508656[_0x1cd3('0x121c')][_0x1cd3('0x125b')]?_0x508656[_0x1cd3('0x121c')]['appType'][_0x1cd3('0x433')]():_0x508656['gotoif'][_0x1cd3('0xd0a')][_0x1cd3('0x433')]()){case _0x1cd3('0x8f6'):break;case'dialogflow':var _0x206f2e=_0x508656[_0x1cd3('0x121c')][_0x1cd3('0x127d')]['split'](',');_0x508656[_0x1cd3('0x121c')][_0x1cd3('0x65c')]=_0x206f2e[0x0];_0x508656['gotoif'][_0x1cd3('0x3f3')]=_0x206f2e[0x1];_0x508656['gotoif'][_0x1cd3('0x1246')]=_0x206f2e[_0x1cd3('0x9a2')](0x2,_0x206f2e[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x1247'):var _0x206f2e=_0x508656[_0x1cd3('0x121c')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x508656[_0x1cd3('0x121c')]['accesskeyid']=_0x206f2e[0x0];_0x508656[_0x1cd3('0x121c')][_0x1cd3('0x1249')]=_0x206f2e[0x1];_0x508656[_0x1cd3('0x121c')]['lexregion']=_0x206f2e[0x2];_0x508656['gotoif'][_0x1cd3('0x124f')]=_0x206f2e[0x3];_0x508656[_0x1cd3('0x121c')][_0x1cd3('0x1246')]=_0x206f2e[_0x1cd3('0x9a2')](0x4,_0x206f2e[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x122b'):var _0x206f2e=_0x508656[_0x1cd3('0x121c')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x508656[_0x1cd3('0x121c')]['times']=isNaN(_0x206f2e[0x0])?_0x206f2e[0x0]:parseInt(_0x206f2e[0x0],0xa);_0x508656[_0x1cd3('0x121c')][_0x1cd3('0x401')]=_0x206f2e[_0x1cd3('0x9a2')](0x1,_0x206f2e['length'])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x43a'):_0x508656[_0x1cd3('0x121c')][_0x1cd3('0x401')]=_0x508656[_0x1cd3('0x121c')][_0x1cd3('0x127d')];break;case'set':_0x508656['gotoif'][_0x1cd3('0x98')]=_0x508656[_0x1cd3('0x121c')][_0x1cd3('0x127d')]['split']('=')[0x0];_0x508656['gotoif'][_0x1cd3('0x3db')]=_0x508656[_0x1cd3('0x121c')]['appdata'][_0x1cd3('0x3ef')]('=')[0x1];break;case _0x1cd3('0x128c'):_0x508656[_0x1cd3('0x121c')][_0x1cd3('0xedd')]=_0x508656[_0x1cd3('0x121c')][_0x1cd3('0x127d')];break;default:var _0x29ab3b=_0x508656[_0x1cd3('0x121c')]['appdata'][_0x1cd3('0x3ef')](',');_0x508656[_0x1cd3('0x121c')][_0x1cd3('0xb65')]=_[_0x1cd3('0x398')](_0x29ab3b[0x0])?_0x29ab3b[0x0]:isNaN(_0x29ab3b[0x0])?_0x29ab3b[0x0]:parseInt(_0x29ab3b[0x0],0xa);_0x508656[_0x1cd3('0x121c')][_0x1cd3('0x121e')]=_[_0x1cd3('0x398')](_0x29ab3b[0x1])?_0x29ab3b[0x1]:isNaN(_0x29ab3b[0x1])?_0x29ab3b[0x1]:parseInt(_0x29ab3b[0x1],0xa);_0x508656['gotoif'][_0x1cd3('0x121f')]=_['isEmpty'](_0x29ab3b[0x2])?_0x29ab3b[0x2]:isNaN(_0x29ab3b[0x2])?_0x29ab3b[0x2]:parseInt(_0x29ab3b[0x2],0xa);}}else{}if(_0x508656[_0x1cd3('0x121c')]['type']&&_0x508656[_0x1cd3('0x121c')][_0x1cd3('0x424')][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x508656[_0x1cd3('0x121c')][_0x1cd3('0x125b')][_0x1cd3('0x433')]()===_0x1cd3('0x1289')){_0x508656[_0x1cd3('0x121c')][_0x1cd3('0x6aa')]=_0x508656[_0x1cd3('0x121c')][_0x1cd3('0xf09')]?_0x508656[_0x1cd3('0x121c')][_0x1cd3('0xf09')]['split']('$')[0x0]:undefined;_0x508656[_0x1cd3('0x121c')]['callerId']=_0x508656[_0x1cd3('0x121c')]['callerID']?_0x1cd3('0x1280')+_0x508656[_0x1cd3('0x121c')][_0x1cd3('0x127f')]:undefined;}_0x508656[_0x1cd3('0x1c6b')]=_0x2b25cb;_0x508656['closeDialog']=_0x122a73;function _0x2b25cb(){_0x508656[_0x1cd3('0xd34')]=[];var _0x255440=[];if(_0x508656[_0x1cd3('0x121c')][_0x1cd3('0x424')]&&_0x508656['gotoif'][_0x1cd3('0x424')][_0x1cd3('0x433')]()==='outbound'&&_0x508656[_0x1cd3('0x121c')][_0x1cd3('0x125b')]===_0x1cd3('0x1283')){_0x508656['gotoif']['phone']=_0x1cc6c4[_0x1cd3('0x128a')]?(_0x508656[_0x1cd3('0x121c')][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x1284')+_0x1cc6c4[_0x1cd3('0x128a')]+'}':(_0x508656[_0x1cd3('0x121c')][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x128d');if(_0x1cc6c4[_0x1cd3('0x1285')]!==_0x1cd3('0x6ae')){if(_0x508656[_0x1cd3('0x121c')][_0x1cd3('0x422')][_0x1cd3('0x45e')](_0x1cd3('0x1286'))<0x0){_0x508656[_0x1cd3('0x121c')]['options']+=_0x1cd3('0x1286');}}else{_0x508656[_0x1cd3('0x121c')][_0x1cd3('0x422')]=_0x508656[_0x1cd3('0x121c')]['options']['replace'](_0x1cd3('0x1286'),'');}}if(_0x508656['gotoif']['appType']&&_0x508656[_0x1cd3('0x121c')][_0x1cd3('0x125b')]===_0x1cd3('0x8f6')){}else{switch((_0x508656[_0x1cd3('0x121c')][_0x1cd3('0xd0a')]||_0x508656[_0x1cd3('0x121c')][_0x1cd3('0x125b')])[_0x1cd3('0x433')]()){case _0x1cd3('0x127e'):_0x508656['gotoif'][_0x1cd3('0x127d')]=_0x508656[_0x1cd3('0x121c')][_0x1cd3('0x98')]+'='+_0x508656[_0x1cd3('0x121c')][_0x1cd3('0x3db')];break;case _0x1cd3('0x8f6'):break;default:_0x255440[0x0]=_0x508656[_0x1cd3('0x121c')][_0x1cd3('0xb65')];_0x255440[0x1]=_0x508656[_0x1cd3('0x121c')][_0x1cd3('0x121e')];_0x255440[0x2]=_0x508656['gotoif'][_0x1cd3('0x121f')];_0x508656[_0x1cd3('0x121c')]['appdata']=_0x255440[_0x1cd3('0x3de')](',');}}_0x122a73(_0x508656[_0x1cd3('0x121c')]);}function _0x122a73(_0xd48224){_0x314935[_0x1cd3('0x39d')](_0xd48224);}}}());(function(){'use strict';_0x4a6de7[_0x1cd3('0xc')]=['$mdDialog','$q',_0x1cd3('0x461'),_0x1cd3('0x1c67'),_0x1cd3('0xa7a'),_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x2f'))[_0x1cd3('0x39b')](_0x1cd3('0x1c6e'),_0x4a6de7);function _0x4a6de7(_0x3e80a6,_0x1b56cc,_0x338eb8,_0x32a87f,_0x14ebd8,_0x1873f2,_0x2275e9,_0x20d47d){var _0x224b4d=this;_0x224b4d['currentUser']=_0x2275e9[_0x1cd3('0x5d')]();_0x224b4d[_0x1cd3('0xd34')]=[];_0x224b4d[_0x1cd3('0x486')]=_0x1cd3('0x1c69')+(_0x32a87f[_0x1cd3('0x125b')]||_0x32a87f[_0x1cd3('0xd0a')])[_0x1cd3('0x437')]();_0x224b4d[_0x1cd3('0x121a')]=angular[_0x1cd3('0x429')](_0x32a87f);_0x224b4d['crudPermissions']=_0x20d47d;_0x224b4d[_0x1cd3('0xd28')]={};if(_0x224b4d[_0x1cd3('0x121a')][_0x1cd3('0x127d')]){switch(_0x224b4d['gotop'][_0x1cd3('0x125b')]?_0x224b4d['gotop']['appType'][_0x1cd3('0x433')]():_0x224b4d[_0x1cd3('0x121a')][_0x1cd3('0xd0a')][_0x1cd3('0x433')]()){case _0x1cd3('0x8f6'):break;case _0x1cd3('0x1233'):var _0xe60d03=_0x224b4d[_0x1cd3('0x121a')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x224b4d[_0x1cd3('0x121a')][_0x1cd3('0x65c')]=_0xe60d03[0x0];_0x224b4d[_0x1cd3('0x121a')][_0x1cd3('0x3f3')]=_0xe60d03[0x1];_0x224b4d[_0x1cd3('0x121a')][_0x1cd3('0x1246')]=_0xe60d03[_0x1cd3('0x9a2')](0x2,_0xe60d03['length'])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x1247'):var _0xe60d03=_0x224b4d[_0x1cd3('0x121a')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x224b4d[_0x1cd3('0x121a')]['accesskeyid']=_0xe60d03[0x0];_0x224b4d[_0x1cd3('0x121a')]['secretaccesskey']=_0xe60d03[0x1];_0x224b4d[_0x1cd3('0x121a')]['lexregion']=_0xe60d03[0x2];_0x224b4d['gotop']['botname']=_0xe60d03[0x3];_0x224b4d[_0x1cd3('0x121a')][_0x1cd3('0x1246')]=_0xe60d03[_0x1cd3('0x9a2')](0x4,_0xe60d03[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case'autoreply':var _0xe60d03=_0x224b4d['gotop']['appdata']['split'](',');_0x224b4d[_0x1cd3('0x121a')][_0x1cd3('0x122c')]=isNaN(_0xe60d03[0x0])?_0xe60d03[0x0]:parseInt(_0xe60d03[0x0],0xa);_0x224b4d['gotop'][_0x1cd3('0x401')]=_0xe60d03[_0x1cd3('0x9a2')](0x1,_0xe60d03['length'])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x43a'):_0x224b4d['gotop'][_0x1cd3('0x401')]=_0x224b4d['gotop'][_0x1cd3('0x127d')];break;case _0x1cd3('0x127e'):_0x224b4d[_0x1cd3('0x121a')]['name']=_0x224b4d[_0x1cd3('0x121a')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x0];_0x224b4d['gotop'][_0x1cd3('0x3db')]=_0x224b4d[_0x1cd3('0x121a')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x1];break;case _0x1cd3('0x128c'):_0x224b4d['gotop'][_0x1cd3('0xedd')]=_0x224b4d['gotop'][_0x1cd3('0x127d')];break;default:var _0x6278fd=_0x224b4d[_0x1cd3('0x121a')][_0x1cd3('0x127d')]['split'](',');_0x224b4d[_0x1cd3('0x121a')][_0x1cd3('0xf0c')]=_[_0x1cd3('0x398')](_0x6278fd[0x0])?_0x6278fd[0x0]:isNaN(_0x6278fd[0x0])?_0x6278fd[0x0]:parseInt(_0x6278fd[0x0],0xa);}}else{}if(_0x224b4d[_0x1cd3('0x121a')]['type']&&_0x224b4d[_0x1cd3('0x121a')][_0x1cd3('0x424')]['toLowerCase']()===_0x1cd3('0x128')&&_0x224b4d['gotop'][_0x1cd3('0x125b')][_0x1cd3('0x433')]()===_0x1cd3('0x1289')){_0x224b4d[_0x1cd3('0x121a')]['prefix']=_0x224b4d[_0x1cd3('0x121a')][_0x1cd3('0xf09')]?_0x224b4d[_0x1cd3('0x121a')]['phone'][_0x1cd3('0x3ef')]('$')[0x0]:undefined;_0x224b4d[_0x1cd3('0x121a')][_0x1cd3('0x689')]=_0x224b4d['gotop'][_0x1cd3('0x127f')]?_0x1cd3('0x1280')+_0x224b4d[_0x1cd3('0x121a')]['callerID']:undefined;}_0x224b4d[_0x1cd3('0x1c6b')]=_0x45435e;_0x224b4d[_0x1cd3('0x39c')]=_0x2cf315;function _0x45435e(){_0x224b4d[_0x1cd3('0xd34')]=[];var _0x3b6faa=[];if(_0x224b4d[_0x1cd3('0x121a')][_0x1cd3('0x424')]&&_0x224b4d[_0x1cd3('0x121a')][_0x1cd3('0x424')][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x224b4d[_0x1cd3('0x121a')][_0x1cd3('0x125b')]===_0x1cd3('0x1283')){_0x224b4d[_0x1cd3('0x121a')][_0x1cd3('0xf09')]=_0x14ebd8[_0x1cd3('0x128a')]?(_0x224b4d[_0x1cd3('0x121a')]['prefix']||'')+_0x1cd3('0x1284')+_0x14ebd8[_0x1cd3('0x128a')]+'}':(_0x224b4d['gotop'][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x128d');if(_0x14ebd8[_0x1cd3('0x1285')]!==_0x1cd3('0x6ae')){if(_0x224b4d[_0x1cd3('0x121a')][_0x1cd3('0x422')][_0x1cd3('0x45e')](_0x1cd3('0x1286'))<0x0){_0x224b4d[_0x1cd3('0x121a')][_0x1cd3('0x422')]+=_0x1cd3('0x1286');}}else{_0x224b4d[_0x1cd3('0x121a')][_0x1cd3('0x422')]=_0x224b4d['gotop']['options']['replace'](_0x1cd3('0x1286'),'');}}if(_0x224b4d[_0x1cd3('0x121a')]['appType']&&_0x224b4d[_0x1cd3('0x121a')][_0x1cd3('0x125b')]===_0x1cd3('0x8f6')){}else{switch((_0x224b4d[_0x1cd3('0x121a')][_0x1cd3('0xd0a')]||_0x224b4d[_0x1cd3('0x121a')][_0x1cd3('0x125b')])[_0x1cd3('0x433')]()){case'set':_0x224b4d[_0x1cd3('0x121a')][_0x1cd3('0x127d')]=_0x224b4d[_0x1cd3('0x121a')][_0x1cd3('0x98')]+'='+_0x224b4d[_0x1cd3('0x121a')][_0x1cd3('0x3db')];break;case'custom':break;default:_0x3b6faa[0x0]=_0x224b4d[_0x1cd3('0x121a')][_0x1cd3('0xf0c')];_0x224b4d[_0x1cd3('0x121a')]['appdata']=_0x3b6faa[_0x1cd3('0x3de')](',');}}_0x2cf315(_0x224b4d[_0x1cd3('0x121a')]);}function _0x2cf315(_0x511568){_0x3e80a6[_0x1cd3('0x39d')](_0x511568);}}}());(function(){'use strict';_0x2a4e4c[_0x1cd3('0xc')]=[_0x1cd3('0x53e'),_0x1cd3('0x3c5'),_0x1cd3('0x586'),_0x1cd3('0xcd4'),_0x1cd3('0x77e'),_0x1cd3('0xef9'),_0x1cd3('0x461'),_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x2d'))[_0x1cd3('0x39b')](_0x1cd3('0x1c60'),_0x2a4e4c);function _0x2a4e4c(_0x157b02,_0x219edc,_0x594ec2,_0x3b56ed,_0x5a00af,_0x537125,_0xf1d970,_0x572518,_0x3cd1d6,_0xba6550){var _0x22ffcd=this;_0x22ffcd['currentUser']=_0x3cd1d6['getCurrentUser']();_0x22ffcd[_0x1cd3('0xd34')]=[];_0x22ffcd[_0x1cd3('0x486')]='TOOLS.EDIT_INTERVAL';_0x22ffcd[_0x1cd3('0x77e')]=angular['copy'](_0x5a00af);_0x22ffcd[_0x1cd3('0xef9')]=_0x537125;_0x22ffcd[_0x1cd3('0x1293')]=![];_0x22ffcd[_0x1cd3('0x1294')]=['always',_0x1cd3('0x8f6'),'list'];_0x22ffcd['crudPermissions']=_0xba6550;_0x22ffcd['daysOfWeek']=_0x3b56ed['getDaysOfWeek']();_0x22ffcd['monthNumber']=_0x3b56ed[_0x1cd3('0x1296')]();_0x22ffcd[_0x1cd3('0x190a')]=_0x3b56ed['getMonthName']();_0x22ffcd['daysOfMonth']=_0x3b56ed[_0x1cd3('0x1c6f')]();if(!_0x22ffcd[_0x1cd3('0x77e')]){_0x22ffcd[_0x1cd3('0x77e')]={'interval':_0x1cd3('0x1216')};_0x22ffcd[_0x1cd3('0x424')]='always';_0x22ffcd['title']=_0x1cd3('0x1c70');_0x22ffcd[_0x1cd3('0x1293')]=!![];}else{if(_0x22ffcd[_0x1cd3('0x77e')][_0x1cd3('0x77e')]!=='*,*,*,*'){_0x22ffcd['type']=_0x1cd3('0x8f6');var _0x1f003b=_0x22ffcd['interval'][_0x1cd3('0x77e')]['split'](',');var _0x3fd5e2=_0x1f003b[0x0];var _0x5df18d=_0x1f003b[0x1];var _0x289b20=_0x1f003b[0x2];var _0x204cab=_0x1f003b[0x3];if(_0x3fd5e2!=='*'){var _0xf04f5a=_0x3fd5e2['split']('-')[0x0];var _0xf48ac4=_0x3fd5e2[_0x1cd3('0x3ef')]('-')[0x1];var _0x2fe819;_0x2fe819=new Date();_0x2fe819[_0x1cd3('0x129a')](Number(_0xf04f5a[_0x1cd3('0x3ef')](':')[0x0]));_0x2fe819['setMinutes'](Number(_0xf04f5a[_0x1cd3('0x3ef')](':')[0x1]));_0x22ffcd[_0x1cd3('0x12a5')]=_0x2fe819;_0x2fe819=new Date();_0x2fe819[_0x1cd3('0x129a')](Number(_0xf48ac4['split'](':')[0x0]));_0x2fe819[_0x1cd3('0x1299')](Number(_0xf48ac4[_0x1cd3('0x3ef')](':')[0x1]));_0x22ffcd['timeRangeTo']=_0x2fe819;}if(_0x5df18d!=='*'){_0x22ffcd['dayOfWeekFrom']=_0x5df18d[_0x1cd3('0x3ef')]('-')[0x0];_0x22ffcd['dayOfWeekTo']=_0x5df18d['split']('-')[0x1];}if(_0x289b20!=='*'){_0x22ffcd['monthDayFrom']=_0x289b20['split']('-')[0x0];_0x22ffcd[_0x1cd3('0x129e')]=_0x289b20[_0x1cd3('0x3ef')]('-')[0x1];}if(_0x204cab!=='*'){_0x22ffcd[_0x1cd3('0x129f')]=_0x204cab['split']('-')[0x0];_0x22ffcd['monthTo']=_0x204cab[_0x1cd3('0x3ef')]('-')[0x1];}}else{_0x22ffcd[_0x1cd3('0x424')]=_0x1cd3('0x1213');}}if(_0x157b02[_0x1cd3('0x36a')]['id']&&!_0x22ffcd[_0x1cd3('0x77e')][_0x1cd3('0x12a1')]){_0x22ffcd[_0x1cd3('0x77e')][_0x1cd3('0xf4b')]=_0x157b02[_0x1cd3('0x36a')]['id'];}if(_0x22ffcd[_0x1cd3('0x77e')][_0x1cd3('0xf4b')]&&_0x22ffcd[_0x1cd3('0x77e')][_0x1cd3('0x12a1')]){_0x22ffcd['type']=_0x1cd3('0x9d5');}_0x22ffcd[_0x1cd3('0x12a2')]=_0x21d099;_0x22ffcd[_0x1cd3('0x190b')]=_0x19a786;_0x22ffcd['closeDialog']=_0x522f9d;if(_0x22ffcd[_0x1cd3('0x77e')][_0x1cd3('0x12a1')]){_0x3cd1d6[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x572518[_0x1cd3('0x77e')][_0x1cd3('0x361')]({'fields':_0x1cd3('0x12a3'),'IntervalId':'null','nolimit':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x317853){_0x22ffcd[_0x1cd3('0xef9')]=_0x317853['rows']||[];})[_0x1cd3('0xfd')](function(_0xc9d0fa){_0xf1d970['error']({'title':_0xc9d0fa[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0xc9d0fa[_0x1cd3('0x3a6')]+'\x20-\x20'+_0xc9d0fa['statusText']:'SYSTEM:GET_INTERVALS','msg':_0xc9d0fa[_0x1cd3('0x439')]?JSON['stringify'](_0xc9d0fa[_0x1cd3('0x439')]):_0xc9d0fa['toString']()});}):_0x572518[_0x1cd3('0x77e')][_0x1cd3('0x361')]({'fields':_0x1cd3('0x12a3'),'IntervalId':_0x1cd3('0x220'),'nolimit':!![]})[_0x1cd3('0x81')]['then'](function(_0x3cc504){_0x22ffcd['intervals']=_0x3cc504[_0x1cd3('0xf6')]||[];})['then'](function(){return _0x572518[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x22ffcd[_0x1cd3('0x3ca')]['userProfileId'],'sectionId':0x3ec})['$promise'];})[_0x1cd3('0x77')](function(_0x48babe){var _0x1ae586=_0x48babe&&_0x48babe[_0x1cd3('0xf6')]?_0x48babe['rows'][0x0]:null;if(!_0x1ae586){_0x22ffcd[_0x1cd3('0xef9')]=[];}else{if(!_0x1ae586[_0x1cd3('0x391')]){return _0x572518[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x1ae586['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x40f3b8){var _0xd7b673=_0x40f3b8&&_0x40f3b8[_0x1cd3('0xf6')]?_0x40f3b8[_0x1cd3('0xf6')]:[];var _0x56fdb3=[];var _0x456057=null;if(_0x22ffcd['interval']){_0x456057=_[_0x1cd3('0x442')](_0x22ffcd[_0x1cd3('0xef9')],{'name':_0x22ffcd[_0x1cd3('0x77e')][_0x1cd3('0xf4b')]});}if(_0x456057&&!_['some'](_0xd7b673,['resourceId',_0x456057['id']])){_0x22ffcd[_0x1cd3('0xef9')][_0x1cd3('0x394')](function(_0xf0fcf4){if(_0xf0fcf4['id']===_0x456057['id']){_0xf0fcf4['canSelect']=![];_0x56fdb3[_0x1cd3('0x7b')](_0xf0fcf4);}});}_0x22ffcd[_0x1cd3('0xef9')]=_0x56fdb3;});}}})[_0x1cd3('0xfd')](function(_0x54e3be){_0xf1d970[_0x1cd3('0x434')]({'title':_0x54e3be['status']?'API:'+_0x54e3be['status']+'\x20-\x20'+_0x54e3be[_0x1cd3('0xd35')]:_0x1cd3('0x12a4'),'msg':_0x54e3be['data']?JSON[_0x1cd3('0x438')](_0x54e3be[_0x1cd3('0x439')]):_0x54e3be['toString']()});});}function _0x37d8e7(){switch(_0x22ffcd[_0x1cd3('0x424')]){case'always':case _0x1cd3('0x9d5'):return _0x1cd3('0x1216');case _0x1cd3('0x8f6'):var _0x154042=[];if(_0x22ffcd['timeRangeFrom']!=='*'&&_0x22ffcd[_0x1cd3('0x12a5')]&&_0x22ffcd[_0x1cd3('0x129b')]){var _0x5174d3=(_0x22ffcd[_0x1cd3('0x12a5')][_0x1cd3('0x12a6')]()<0xa?'0':'')+_0x22ffcd[_0x1cd3('0x12a5')]['getHours']()+':'+((_0x22ffcd['timeRangeFrom']['getMinutes']()<0xa?'0':'')+_0x22ffcd[_0x1cd3('0x12a5')][_0x1cd3('0x12a7')]());var _0x1714bc=(_0x22ffcd[_0x1cd3('0x129b')][_0x1cd3('0x12a6')]()<0xa?'0':'')+_0x22ffcd[_0x1cd3('0x129b')][_0x1cd3('0x12a6')]()+':'+((_0x22ffcd['timeRangeTo'][_0x1cd3('0x12a7')]()<0xa?'0':'')+_0x22ffcd[_0x1cd3('0x129b')]['getMinutes']());_0x154042[_0x1cd3('0x7b')](_0x5174d3+'-'+_0x1714bc);}else{_0x154042[_0x1cd3('0x7b')]('*');}if(_0x22ffcd[_0x1cd3('0x129c')]){if(_0x22ffcd[_0x1cd3('0x12a8')]){_0x154042[_0x1cd3('0x7b')](_0x22ffcd[_0x1cd3('0x129c')]+'-'+_0x22ffcd[_0x1cd3('0x12a8')]);}else{_0x154042[_0x1cd3('0x7b')](_0x22ffcd['dayOfWeekFrom']);}}else{_0x154042[_0x1cd3('0x7b')]('*');}if(_0x22ffcd[_0x1cd3('0x129d')]){if(_0x22ffcd[_0x1cd3('0x129e')]){_0x154042['push'](_0x22ffcd['monthDayFrom']+'-'+_0x22ffcd[_0x1cd3('0x129e')]);}else{_0x154042[_0x1cd3('0x7b')](_0x22ffcd[_0x1cd3('0x129d')]);}}else{_0x154042[_0x1cd3('0x7b')]('*');}if(_0x22ffcd[_0x1cd3('0x129f')]){if(_0x22ffcd['monthTo']){_0x154042[_0x1cd3('0x7b')](_0x22ffcd[_0x1cd3('0x129f')]+'-'+_0x22ffcd[_0x1cd3('0x12a0')]);}else{_0x154042[_0x1cd3('0x7b')](_0x22ffcd[_0x1cd3('0x129f')]);}}else{_0x154042['push']('*');}return _0x154042['join']();}}function _0x21d099(){_0x22ffcd['errors']=[];_0x22ffcd['interval'][_0x1cd3('0x77e')]=_0x37d8e7();_0x572518[_0x1cd3('0x77e')]['save'](_0x22ffcd['interval'])['$promise'][_0x1cd3('0x77')](function(_0x2602bd){_0x22ffcd['intervals'][_0x1cd3('0x7b')](_0x2602bd);_0xf1d970[_0x1cd3('0x473')]({'title':_0x1cd3('0x12a9'),'msg':_0x22ffcd[_0x1cd3('0x77e')][_0x1cd3('0x98')]?_0x22ffcd['interval'][_0x1cd3('0x98')]+'\x20has\x20been\x20created!':''});_0x522f9d();})[_0x1cd3('0xfd')](function(_0x1aeb55){console['error'](_0x1aeb55);_0x22ffcd[_0x1cd3('0xd34')]=_0x1aeb55[_0x1cd3('0x439')]['errors']||[{'message':_0x1aeb55['toString'](),'type':_0x1cd3('0x12aa')}];});}function _0x19a786(){_0x22ffcd[_0x1cd3('0xd34')]=[];_0x22ffcd['interval'][_0x1cd3('0x77e')]=_0x37d8e7();if(_0x22ffcd[_0x1cd3('0x77e')][_0x1cd3('0x12a1')]){_0x22ffcd['type']!=='list'&&(_0x22ffcd[_0x1cd3('0x77e')]['IntervalId']=null);_0x522f9d(_0x22ffcd['interval']);}else{_0x572518[_0x1cd3('0x77e')][_0x1cd3('0x378')]({'id':_0x22ffcd[_0x1cd3('0x77e')]['id']},_0x22ffcd['interval'])['$promise']['then'](function(_0x26a3be){var _0x524825=_[_0x1cd3('0x442')](_0x22ffcd[_0x1cd3('0xef9')],{'id':_0x26a3be['id']});if(_0x524825){_['merge'](_0x524825,_0x26a3be);}_0xf1d970[_0x1cd3('0x473')]({'title':_0x1cd3('0x12ab'),'msg':_0x1cd3('0x12ac')});_0x522f9d();})[_0x1cd3('0xfd')](function(_0xdabde2){console[_0x1cd3('0x434')](_0xdabde2);_0x22ffcd[_0x1cd3('0xd34')]=_0xdabde2[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0xdabde2[_0x1cd3('0x43b')](),'type':_0x1cd3('0x12ad')}];});}}function _0x522f9d(_0x165470){_0x219edc[_0x1cd3('0x39d')](_0x165470);}}}());(function(){'use strict';_0x5f450c['$inject']=['$mdDialog','$q','toasty',_0x1cd3('0x1c67'),_0x1cd3('0xa7a'),'api',_0x1cd3('0x56'),_0x1cd3('0xd27')];angular['module'](_0x1cd3('0x2f'))[_0x1cd3('0x39b')](_0x1cd3('0x1c71'),_0x5f450c);function _0x5f450c(_0x2450df,_0x4293d0,_0x4d9bb0,_0x278bf3,_0x1a8a1d,_0x29a66e,_0x58e093,_0x14bcd7){var _0x1762e1=this;_0x1762e1['currentUser']=_0x58e093[_0x1cd3('0x5d')]();_0x1762e1[_0x1cd3('0xd34')]=[];_0x1762e1[_0x1cd3('0x486')]='MAIL.EDIT_'+(_0x278bf3[_0x1cd3('0x125b')]||_0x278bf3[_0x1cd3('0xd0a')])[_0x1cd3('0x437')]();_0x1762e1[_0x1cd3('0x3a9')]=angular[_0x1cd3('0x429')](_0x278bf3);_0x1762e1[_0x1cd3('0xd27')]=_0x14bcd7;_0x1762e1['hasModulePermissions']={};if(_0x1762e1[_0x1cd3('0x3a9')]['appdata']){switch(_0x1762e1['noop'][_0x1cd3('0x125b')]?_0x1762e1[_0x1cd3('0x3a9')][_0x1cd3('0x125b')][_0x1cd3('0x433')]():_0x1762e1[_0x1cd3('0x3a9')][_0x1cd3('0xd0a')][_0x1cd3('0x433')]()){case _0x1cd3('0x8f6'):break;case _0x1cd3('0x1233'):var _0x2fb8e7=_0x1762e1['noop']['appdata'][_0x1cd3('0x3ef')](',');_0x1762e1['noop'][_0x1cd3('0x65c')]=_0x2fb8e7[0x0];_0x1762e1[_0x1cd3('0x3a9')]['language']=_0x2fb8e7[0x1];_0x1762e1[_0x1cd3('0x3a9')]['welcomemessage']=_0x2fb8e7[_0x1cd3('0x9a2')](0x2,_0x2fb8e7[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x1247'):var _0x2fb8e7=_0x1762e1['noop'][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x1762e1[_0x1cd3('0x3a9')][_0x1cd3('0x1248')]=_0x2fb8e7[0x0];_0x1762e1[_0x1cd3('0x3a9')][_0x1cd3('0x1249')]=_0x2fb8e7[0x1];_0x1762e1[_0x1cd3('0x3a9')][_0x1cd3('0x124a')]=_0x2fb8e7[0x2];_0x1762e1[_0x1cd3('0x3a9')]['botname']=_0x2fb8e7[0x3];_0x1762e1['noop'][_0x1cd3('0x1246')]=_0x2fb8e7[_0x1cd3('0x9a2')](0x4,_0x2fb8e7['length'])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x122b'):var _0x2fb8e7=_0x1762e1[_0x1cd3('0x3a9')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x1762e1[_0x1cd3('0x3a9')]['times']=isNaN(_0x2fb8e7[0x0])?_0x2fb8e7[0x0]:parseInt(_0x2fb8e7[0x0],0xa);_0x1762e1[_0x1cd3('0x3a9')][_0x1cd3('0x401')]=_0x2fb8e7['slice'](0x1,_0x2fb8e7[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x43a'):_0x1762e1[_0x1cd3('0x3a9')][_0x1cd3('0x401')]=_0x1762e1[_0x1cd3('0x3a9')][_0x1cd3('0x127d')];break;case _0x1cd3('0x127e'):_0x1762e1[_0x1cd3('0x3a9')]['name']=_0x1762e1[_0x1cd3('0x3a9')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x0];_0x1762e1[_0x1cd3('0x3a9')][_0x1cd3('0x3db')]=_0x1762e1[_0x1cd3('0x3a9')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x1];break;case'agi':_0x1762e1[_0x1cd3('0x3a9')]['project']=_0x1762e1['noop'][_0x1cd3('0x127d')];break;default:var _0xe5bad=_0x1762e1[_0x1cd3('0x3a9')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x1762e1[_0x1cd3('0x3a9')][_0x1cd3('0x3db')]=_[_0x1cd3('0x398')](_0xe5bad[0x0])?_0xe5bad[0x0]:isNaN(_0xe5bad[0x0])?_0xe5bad[0x0]:parseInt(_0xe5bad[0x0],0xa);}}else{}if(_0x1762e1[_0x1cd3('0x3a9')][_0x1cd3('0x424')]&&_0x1762e1[_0x1cd3('0x3a9')]['type']['toLowerCase']()===_0x1cd3('0x128')&&_0x1762e1[_0x1cd3('0x3a9')]['appType'][_0x1cd3('0x433')]()===_0x1cd3('0x1289')){_0x1762e1[_0x1cd3('0x3a9')][_0x1cd3('0x6aa')]=_0x1762e1[_0x1cd3('0x3a9')][_0x1cd3('0xf09')]?_0x1762e1[_0x1cd3('0x3a9')][_0x1cd3('0xf09')][_0x1cd3('0x3ef')]('$')[0x0]:undefined;_0x1762e1[_0x1cd3('0x3a9')][_0x1cd3('0x689')]=_0x1762e1[_0x1cd3('0x3a9')][_0x1cd3('0x127f')]?_0x1cd3('0x1280')+_0x1762e1[_0x1cd3('0x3a9')][_0x1cd3('0x127f')]:undefined;}_0x1762e1[_0x1cd3('0x1c6b')]=_0x5c5548;_0x1762e1['closeDialog']=_0x5163c0;function _0x5c5548(){_0x1762e1['errors']=[];var _0x253446=[];if(_0x1762e1[_0x1cd3('0x3a9')]['type']&&_0x1762e1['noop'][_0x1cd3('0x424')]['toLowerCase']()===_0x1cd3('0x128')&&_0x1762e1[_0x1cd3('0x3a9')]['appType']===_0x1cd3('0x1283')){_0x1762e1['noop'][_0x1cd3('0xf09')]=_0x1a8a1d[_0x1cd3('0x128a')]?(_0x1762e1[_0x1cd3('0x3a9')][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x1284')+_0x1a8a1d['cutdigits']+'}':(_0x1762e1[_0x1cd3('0x3a9')]['prefix']||'')+_0x1cd3('0x128d');if(_0x1a8a1d[_0x1cd3('0x1285')]!=='none'){if(_0x1762e1[_0x1cd3('0x3a9')][_0x1cd3('0x422')][_0x1cd3('0x45e')](_0x1cd3('0x1286'))<0x0){_0x1762e1[_0x1cd3('0x3a9')][_0x1cd3('0x422')]+=_0x1cd3('0x1286');}}else{_0x1762e1[_0x1cd3('0x3a9')]['options']=_0x1762e1[_0x1cd3('0x3a9')][_0x1cd3('0x422')]['replace'](_0x1cd3('0x1286'),'');}}if(_0x1762e1['noop'][_0x1cd3('0x125b')]&&_0x1762e1['noop'][_0x1cd3('0x125b')]===_0x1cd3('0x8f6')){}else{switch((_0x1762e1[_0x1cd3('0x3a9')][_0x1cd3('0xd0a')]||_0x1762e1[_0x1cd3('0x3a9')][_0x1cd3('0x125b')])[_0x1cd3('0x433')]()){case _0x1cd3('0x127e'):_0x1762e1[_0x1cd3('0x3a9')][_0x1cd3('0x127d')]=_0x1762e1['noop'][_0x1cd3('0x98')]+'='+_0x1762e1[_0x1cd3('0x3a9')][_0x1cd3('0x3db')];break;case'custom':break;default:_0x253446[0x0]=_0x1762e1['noop'][_0x1cd3('0x3db')];_0x1762e1['noop'][_0x1cd3('0x127d')]=_0x253446[_0x1cd3('0x3de')](',');}}_0x5163c0(_0x1762e1[_0x1cd3('0x3a9')]);}function _0x5163c0(_0x276969){_0x2450df[_0x1cd3('0x39d')](_0x276969);}}}());(function(){'use strict';_0x39d6a1[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),'$q',_0x1cd3('0x461'),_0x1cd3('0x1c67'),_0x1cd3('0xa7a'),_0x1cd3('0x370'),'Auth',_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x2f'))[_0x1cd3('0x39b')](_0x1cd3('0x1c72'),_0x39d6a1);function _0x39d6a1(_0x14dccd,_0x243379,_0x4fbb58,_0xe6c4ce,_0x1158a3,_0xa3ac09,_0x32e990,_0x1483e8){var _0xd1c774=this;_0xd1c774[_0x1cd3('0x3ca')]=_0x32e990[_0x1cd3('0x5d')]();_0xd1c774[_0x1cd3('0xd34')]=[];_0xd1c774[_0x1cd3('0x486')]=_0x1cd3('0x1c69')+(_0xe6c4ce[_0x1cd3('0x125b')]||_0xe6c4ce[_0x1cd3('0xd0a')])[_0x1cd3('0x437')]();_0xd1c774['queue']=angular['copy'](_0xe6c4ce);_0xd1c774[_0x1cd3('0xd27')]=_0x1483e8;_0xd1c774['hasModulePermissions']={};if(_0xd1c774['queue'][_0x1cd3('0x127d')]){switch(_0xd1c774[_0x1cd3('0x1220')][_0x1cd3('0x125b')]?_0xd1c774['queue'][_0x1cd3('0x125b')][_0x1cd3('0x433')]():_0xd1c774[_0x1cd3('0x1220')]['app']['toLowerCase']()){case'custom':break;case'dialogflow':var _0x1c7078=_0xd1c774[_0x1cd3('0x1220')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0xd1c774[_0x1cd3('0x1220')]['key']=_0x1c7078[0x0];_0xd1c774[_0x1cd3('0x1220')][_0x1cd3('0x3f3')]=_0x1c7078[0x1];_0xd1c774[_0x1cd3('0x1220')][_0x1cd3('0x1246')]=_0x1c7078[_0x1cd3('0x9a2')](0x2,_0x1c7078[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x1247'):var _0x1c7078=_0xd1c774[_0x1cd3('0x1220')]['appdata'][_0x1cd3('0x3ef')](',');_0xd1c774[_0x1cd3('0x1220')]['accesskeyid']=_0x1c7078[0x0];_0xd1c774[_0x1cd3('0x1220')][_0x1cd3('0x1249')]=_0x1c7078[0x1];_0xd1c774['queue'][_0x1cd3('0x124a')]=_0x1c7078[0x2];_0xd1c774[_0x1cd3('0x1220')][_0x1cd3('0x124f')]=_0x1c7078[0x3];_0xd1c774[_0x1cd3('0x1220')][_0x1cd3('0x1246')]=_0x1c7078[_0x1cd3('0x9a2')](0x4,_0x1c7078[_0x1cd3('0x7a')])['join'](',');break;case _0x1cd3('0x122b'):var _0x1c7078=_0xd1c774[_0x1cd3('0x1220')]['appdata'][_0x1cd3('0x3ef')](',');_0xd1c774[_0x1cd3('0x1220')]['times']=isNaN(_0x1c7078[0x0])?_0x1c7078[0x0]:parseInt(_0x1c7078[0x0],0xa);_0xd1c774[_0x1cd3('0x1220')][_0x1cd3('0x401')]=_0x1c7078[_0x1cd3('0x9a2')](0x1,_0x1c7078[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x43a'):_0xd1c774[_0x1cd3('0x1220')][_0x1cd3('0x401')]=_0xd1c774[_0x1cd3('0x1220')][_0x1cd3('0x127d')];break;case _0x1cd3('0x127e'):_0xd1c774[_0x1cd3('0x1220')][_0x1cd3('0x98')]=_0xd1c774[_0x1cd3('0x1220')]['appdata']['split']('=')[0x0];_0xd1c774[_0x1cd3('0x1220')][_0x1cd3('0x3db')]=_0xd1c774[_0x1cd3('0x1220')][_0x1cd3('0x127d')]['split']('=')[0x1];break;case _0x1cd3('0x128c'):_0xd1c774[_0x1cd3('0x1220')][_0x1cd3('0xedd')]=_0xd1c774['queue'][_0x1cd3('0x127d')];break;default:var _0x242a92=_0xd1c774[_0x1cd3('0x1220')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0xd1c774[_0x1cd3('0x1220')]['queue']=_[_0x1cd3('0x398')](_0x242a92[0x0])?_0x242a92[0x0]:isNaN(_0x242a92[0x0])?_0x242a92[0x0]:parseInt(_0x242a92[0x0],0xa);_0xd1c774[_0x1cd3('0x1220')][_0x1cd3('0x8fc')]=_[_0x1cd3('0x398')](_0x242a92[0x1])?_0x242a92[0x1]:isNaN(_0x242a92[0x1])?_0x242a92[0x1]:parseInt(_0x242a92[0x1],0xa);}}else{_0xd1c774[_0x1cd3('0x1220')][_0x1cd3('0x1220')]=0x12c;_0xd1c774['queue'][_0x1cd3('0x8fc')]=0x12c;}if(_0xd1c774[_0x1cd3('0x1220')]['type']&&_0xd1c774[_0x1cd3('0x1220')]['type']['toLowerCase']()===_0x1cd3('0x128')&&_0xd1c774[_0x1cd3('0x1220')][_0x1cd3('0x125b')][_0x1cd3('0x433')]()==='outbounddial'){_0xd1c774[_0x1cd3('0x1220')][_0x1cd3('0x6aa')]=_0xd1c774[_0x1cd3('0x1220')]['phone']?_0xd1c774[_0x1cd3('0x1220')]['phone']['split']('$')[0x0]:undefined;_0xd1c774['queue'][_0x1cd3('0x689')]=_0xd1c774[_0x1cd3('0x1220')]['callerID']?_0x1cd3('0x1280')+_0xd1c774[_0x1cd3('0x1220')]['callerID']:undefined;}_0xd1c774['saveMailAccountApp']=_0x30a041;_0xd1c774[_0x1cd3('0x39c')]=_0x901f6;_0x32e990['hasRole'](_0x1cd3('0x5f'))?_0xa3ac09[_0x1cd3('0xa85')][_0x1cd3('0x361')]({'fields':'id,name,type','sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x2c43c1){_0xd1c774[_0x1cd3('0x1155')]=_0x2c43c1[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x525fb4){_0x4fbb58[_0x1cd3('0x434')]({'title':_0x525fb4[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x525fb4[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x525fb4[_0x1cd3('0xd35')]:_0x1cd3('0x12af'),'msg':_0x525fb4[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x525fb4['data']):_0x525fb4[_0x1cd3('0x43b')]()});}):_0xa3ac09[_0x1cd3('0xa85')][_0x1cd3('0x361')]({'fields':_0x1cd3('0x1222'),'sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')]['then'](function(_0x5d114e){_0xd1c774[_0x1cd3('0x1155')]=_0x5d114e['rows']||[];})[_0x1cd3('0x77')](function(){return _0xa3ac09['userProfileSection'][_0x1cd3('0x361')]({'userProfileId':_0xd1c774[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x259})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x26ecfa){var _0x18b9f0=_0x26ecfa&&_0x26ecfa['rows']?_0x26ecfa[_0x1cd3('0xf6')][0x0]:null;if(!_0x18b9f0){var _0x283a4c=[];var _0x3224c3=null;if(_0xd1c774[_0x1cd3('0x1220')]){_0x3224c3=_['find'](_0xd1c774[_0x1cd3('0x1155')],{'name':_0xd1c774[_0x1cd3('0x1220')]['queue']});}for(var _0x363a36=0x0;_0x363a36<_0xd1c774['queues'][_0x1cd3('0x7a')];_0x363a36++){if(_0x3224c3&&_0xd1c774[_0x1cd3('0x1155')][_0x363a36]['id']===_0x3224c3['id']){_0xd1c774['queues'][_0x363a36][_0x1cd3('0xf4a')]=![];_0x283a4c[_0x1cd3('0x7b')](_0xd1c774[_0x1cd3('0x1155')][_0x363a36]);}}_0xd1c774[_0x1cd3('0x1155')]=_0x283a4c;}else{if(!_0x18b9f0[_0x1cd3('0x391')]){return _0xa3ac09[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x18b9f0['id']})['$promise'][_0x1cd3('0x77')](function(_0x3717de){var _0x34c2b2=_['map'](_0x3717de[_0x1cd3('0xf6')],function(_0x5163be){return _[_0x1cd3('0x442')](_0xd1c774[_0x1cd3('0x1155')],{'id':_0x5163be[_0x1cd3('0xe8e')]});});var _0x316e32=null;if(_0xd1c774[_0x1cd3('0x1220')]){_0x316e32=_[_0x1cd3('0x442')](_0xd1c774[_0x1cd3('0x1155')],{'name':_0xd1c774[_0x1cd3('0x1220')][_0x1cd3('0x1220')]});}if(_0x316e32&&!_['some'](_0x34c2b2,['id',_0x316e32['id']])){var _0x4f8f9c=_['find'](_0xd1c774[_0x1cd3('0x1155')],{'id':_0x316e32['id']});_0x4f8f9c[_0x1cd3('0xf4a')]=![];_0x34c2b2['push'](_0x4f8f9c);}_0xd1c774[_0x1cd3('0x1155')]=_0x34c2b2;});}}})[_0x1cd3('0xfd')](function(_0x426ae3){_0x4fbb58[_0x1cd3('0x434')]({'title':_0x426ae3[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x426ae3[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x426ae3[_0x1cd3('0xd35')]:_0x1cd3('0x12b0'),'msg':_0x426ae3[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x426ae3['data']):_0x426ae3[_0x1cd3('0x43b')]()});});function _0x30a041(){_0xd1c774[_0x1cd3('0xd34')]=[];var _0x1963ac=[];if(_0xd1c774[_0x1cd3('0x1220')][_0x1cd3('0x424')]&&_0xd1c774[_0x1cd3('0x1220')][_0x1cd3('0x424')][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0xd1c774[_0x1cd3('0x1220')][_0x1cd3('0x125b')]===_0x1cd3('0x1283')){_0xd1c774[_0x1cd3('0x1220')][_0x1cd3('0xf09')]=_0x1158a3[_0x1cd3('0x128a')]?(_0xd1c774[_0x1cd3('0x1220')][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x1284')+_0x1158a3[_0x1cd3('0x128a')]+'}':(_0xd1c774[_0x1cd3('0x1220')][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x128d');if(_0x1158a3[_0x1cd3('0x1285')]!==_0x1cd3('0x6ae')){if(_0xd1c774['queue'][_0x1cd3('0x422')]['indexOf'](_0x1cd3('0x1286'))<0x0){_0xd1c774[_0x1cd3('0x1220')][_0x1cd3('0x422')]+=_0x1cd3('0x1286');}}else{_0xd1c774[_0x1cd3('0x1220')][_0x1cd3('0x422')]=_0xd1c774['queue'][_0x1cd3('0x422')][_0x1cd3('0x3f1')](_0x1cd3('0x1286'),'');}}var _0x5007c6=_[_0x1cd3('0x442')](_0xd1c774['queues'],{'name':_0xd1c774[_0x1cd3('0x1220')][_0x1cd3('0x1220')]});if(_0x5007c6){_0xd1c774['queue'][_['capitalize'](_0x1cd3('0x1d2'))+_0x1cd3('0x190e')]=_0x5007c6['id'];}if(_0xd1c774['queue']['appType']&&_0xd1c774[_0x1cd3('0x1220')]['appType']===_0x1cd3('0x8f6')){}else{switch((_0xd1c774[_0x1cd3('0x1220')]['app']||_0xd1c774['queue'][_0x1cd3('0x125b')])[_0x1cd3('0x433')]()){case'set':_0xd1c774[_0x1cd3('0x1220')][_0x1cd3('0x127d')]=_0xd1c774['queue'][_0x1cd3('0x98')]+'='+_0xd1c774['queue'][_0x1cd3('0x3db')];break;case'custom':break;default:_0x1963ac[0x0]=_0xd1c774[_0x1cd3('0x1220')]['queue'];_0x1963ac[0x1]=_0xd1c774[_0x1cd3('0x1220')][_0x1cd3('0x8fc')];_0xd1c774[_0x1cd3('0x1220')]['appdata']=_0x1963ac[_0x1cd3('0x3de')](',');}}_0x901f6(_0xd1c774[_0x1cd3('0x1220')]);}function _0x901f6(_0x4e0315){_0x14dccd['hide'](_0x4e0315);}}}());(function(){'use strict';_0x2dbc34[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),'$q','toasty',_0x1cd3('0x1c67'),_0x1cd3('0xa7a'),_0x1cd3('0x370'),_0x1cd3('0x56'),'crudPermissions'];angular[_0x1cd3('0x0')]('app.mail')[_0x1cd3('0x39b')](_0x1cd3('0x1c73'),_0x2dbc34);function _0x2dbc34(_0x335479,_0xeedfb3,_0x332814,_0x599348,_0x472aa2,_0x1d016a,_0x1fb3bf,_0x3f683c){var _0x1f91f2=this;_0x1f91f2['currentUser']=_0x1fb3bf['getCurrentUser']();_0x1f91f2['errors']=[];_0x1f91f2[_0x1cd3('0x486')]='MAIL.EDIT_'+(_0x599348[_0x1cd3('0x125b')]||_0x599348[_0x1cd3('0xd0a')])[_0x1cd3('0x437')]();_0x1f91f2[_0x1cd3('0xa13')]=angular[_0x1cd3('0x429')](_0x599348);_0x1f91f2[_0x1cd3('0xd27')]=_0x3f683c;_0x1f91f2[_0x1cd3('0xd28')]={};if(_0x1f91f2[_0x1cd3('0xa13')]['appdata']){switch(_0x1f91f2[_0x1cd3('0xa13')]['appType']?_0x1f91f2[_0x1cd3('0xa13')]['appType'][_0x1cd3('0x433')]():_0x1f91f2[_0x1cd3('0xa13')]['app'][_0x1cd3('0x433')]()){case _0x1cd3('0x8f6'):break;case'dialogflow':var _0x2e939d=_0x1f91f2[_0x1cd3('0xa13')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x1f91f2[_0x1cd3('0xa13')][_0x1cd3('0x65c')]=_0x2e939d[0x0];_0x1f91f2['system'][_0x1cd3('0x3f3')]=_0x2e939d[0x1];_0x1f91f2[_0x1cd3('0xa13')][_0x1cd3('0x1246')]=_0x2e939d[_0x1cd3('0x9a2')](0x2,_0x2e939d['length'])[_0x1cd3('0x3de')](',');break;case'amazonlex':var _0x2e939d=_0x1f91f2[_0x1cd3('0xa13')]['appdata']['split'](',');_0x1f91f2['system'][_0x1cd3('0x1248')]=_0x2e939d[0x0];_0x1f91f2[_0x1cd3('0xa13')][_0x1cd3('0x1249')]=_0x2e939d[0x1];_0x1f91f2[_0x1cd3('0xa13')]['lexregion']=_0x2e939d[0x2];_0x1f91f2['system'][_0x1cd3('0x124f')]=_0x2e939d[0x3];_0x1f91f2[_0x1cd3('0xa13')][_0x1cd3('0x1246')]=_0x2e939d[_0x1cd3('0x9a2')](0x4,_0x2e939d[_0x1cd3('0x7a')])['join'](',');break;case _0x1cd3('0x122b'):var _0x2e939d=_0x1f91f2[_0x1cd3('0xa13')][_0x1cd3('0x127d')]['split'](',');_0x1f91f2[_0x1cd3('0xa13')][_0x1cd3('0x122c')]=isNaN(_0x2e939d[0x0])?_0x2e939d[0x0]:parseInt(_0x2e939d[0x0],0xa);_0x1f91f2[_0x1cd3('0xa13')]['text']=_0x2e939d['slice'](0x1,_0x2e939d['length'])[_0x1cd3('0x3de')](',');break;case'message':_0x1f91f2[_0x1cd3('0xa13')]['text']=_0x1f91f2[_0x1cd3('0xa13')]['appdata'];break;case'set':_0x1f91f2['system'][_0x1cd3('0x98')]=_0x1f91f2['system']['appdata'][_0x1cd3('0x3ef')]('=')[0x0];_0x1f91f2[_0x1cd3('0xa13')]['value']=_0x1f91f2[_0x1cd3('0xa13')]['appdata']['split']('=')[0x1];break;case'agi':_0x1f91f2[_0x1cd3('0xa13')]['project']=_0x1f91f2[_0x1cd3('0xa13')][_0x1cd3('0x127d')];break;default:var _0x4ed49c=_0x1f91f2['system']['appdata'][_0x1cd3('0x3ef')](',');_0x1f91f2[_0x1cd3('0xa13')][_0x1cd3('0xf0d')]=_['isEmpty'](_0x4ed49c[0x0])?_0x4ed49c[0x0]:isNaN(_0x4ed49c[0x0])?_0x4ed49c[0x0]:parseInt(_0x4ed49c[0x0],0xa);_0x1f91f2[_0x1cd3('0xa13')][_0x1cd3('0xb84')]=_[_0x1cd3('0x398')](_0x4ed49c[0x1])?_0x4ed49c[0x1]:isNaN(_0x4ed49c[0x1])?_0x4ed49c[0x1]:parseInt(_0x4ed49c[0x1],0xa);}}else{_0x1f91f2[_0x1cd3('0xa13')][_0x1cd3('0xb84')]='';}if(_0x1f91f2['system'][_0x1cd3('0x424')]&&_0x1f91f2[_0x1cd3('0xa13')][_0x1cd3('0x424')][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x1f91f2[_0x1cd3('0xa13')][_0x1cd3('0x125b')][_0x1cd3('0x433')]()===_0x1cd3('0x1289')){_0x1f91f2[_0x1cd3('0xa13')][_0x1cd3('0x6aa')]=_0x1f91f2[_0x1cd3('0xa13')]['phone']?_0x1f91f2['system'][_0x1cd3('0xf09')]['split']('$')[0x0]:undefined;_0x1f91f2[_0x1cd3('0xa13')][_0x1cd3('0x689')]=_0x1f91f2[_0x1cd3('0xa13')][_0x1cd3('0x127f')]?_0x1cd3('0x1280')+_0x1f91f2[_0x1cd3('0xa13')][_0x1cd3('0x127f')]:undefined;}_0x1f91f2[_0x1cd3('0x1c6b')]=_0xdf05c8;_0x1f91f2[_0x1cd3('0x39c')]=_0x540822;_0x1fb3bf[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x1d016a[_0x1cd3('0xb84')][_0x1cd3('0x361')]({'fields':'id,name','sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x1836e2){_0x1f91f2['variables']=_0x1836e2['rows']||[];})[_0x1cd3('0xfd')](function(_0x3b1fbc){_0x332814[_0x1cd3('0x434')]({'title':_0x3b1fbc[_0x1cd3('0x3a6')]?'API:'+_0x3b1fbc[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x3b1fbc[_0x1cd3('0xd35')]:_0x1cd3('0x12b3'),'msg':_0x3b1fbc[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x3b1fbc[_0x1cd3('0x439')]):_0x3b1fbc[_0x1cd3('0x43b')]()});}):_0x1d016a['variable'][_0x1cd3('0x361')]({'fields':'id,name','sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')]['then'](function(_0x6d3ced){_0x1f91f2[_0x1cd3('0xef7')]=_0x6d3ced[_0x1cd3('0xf6')]||[];})['then'](function(){return _0x1d016a[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x1f91f2['currentUser'][_0x1cd3('0x5e')],'sectionId':0x3f4})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x3acd5c){var _0x5223e3=_0x3acd5c&&_0x3acd5c[_0x1cd3('0xf6')]?_0x3acd5c['rows'][0x0]:null;if(!_0x5223e3){var _0x5fd10=[];var _0x57407b=null;if(_0x1f91f2[_0x1cd3('0xa13')]){_0x57407b=_['find'](_0x1f91f2[_0x1cd3('0xef7')],{'name':_0x1f91f2[_0x1cd3('0xa13')][_0x1cd3('0xb84')]});}for(var _0x565fb2=0x0;_0x565fb2<_0x1f91f2[_0x1cd3('0xef7')][_0x1cd3('0x7a')];_0x565fb2++){if(_0x57407b&&_0x1f91f2[_0x1cd3('0xef7')][_0x565fb2]['id']===_0x57407b['id']){_0x1f91f2[_0x1cd3('0xef7')][_0x565fb2][_0x1cd3('0xf4a')]=![];_0x5fd10[_0x1cd3('0x7b')](_0x1f91f2[_0x1cd3('0xef7')][_0x565fb2]);}}_0x1f91f2[_0x1cd3('0xef7')]=_0x5fd10;}else{if(!_0x5223e3[_0x1cd3('0x391')]){return _0x1d016a[_0x1cd3('0x392')]['get']({'sectionId':_0x5223e3['id']})['$promise']['then'](function(_0x6bff0f){var _0x2ca6c5=_[_0x1cd3('0x3d9')](_0x6bff0f['rows'],function(_0x45a400){return _[_0x1cd3('0x442')](_0x1f91f2[_0x1cd3('0xef7')],{'id':_0x45a400[_0x1cd3('0xe8e')]});});var _0x31e861=null;if(_0x1f91f2[_0x1cd3('0xa13')]){_0x31e861=_['find'](_0x1f91f2[_0x1cd3('0xef7')],{'name':_0x1f91f2[_0x1cd3('0xa13')][_0x1cd3('0xb84')]});}if(_0x31e861&&!_[_0x1cd3('0x38d')](_0x2ca6c5,['id',_0x31e861['id']])){var _0x587edc=_[_0x1cd3('0x442')](_0x1f91f2[_0x1cd3('0xef7')],{'id':_0x31e861['id']});_0x587edc['canSelect']=![];_0x2ca6c5[_0x1cd3('0x7b')](_0x587edc);}_0x1f91f2[_0x1cd3('0xef7')]=_0x2ca6c5;});}}})[_0x1cd3('0xfd')](function(_0x40d631){_0x332814[_0x1cd3('0x434')]({'title':_0x40d631[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x40d631[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x40d631[_0x1cd3('0xd35')]:_0x1cd3('0x1c74'),'msg':_0x40d631[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x40d631[_0x1cd3('0x439')]):_0x40d631[_0x1cd3('0x43b')]()});});function _0xdf05c8(){_0x1f91f2[_0x1cd3('0xd34')]=[];var _0x5b7d7e=[];if(_0x1f91f2[_0x1cd3('0xa13')][_0x1cd3('0x424')]&&_0x1f91f2[_0x1cd3('0xa13')][_0x1cd3('0x424')]['toLowerCase']()===_0x1cd3('0x128')&&_0x1f91f2[_0x1cd3('0xa13')][_0x1cd3('0x125b')]==='outboundDial'){_0x1f91f2['system'][_0x1cd3('0xf09')]=_0x472aa2[_0x1cd3('0x128a')]?(_0x1f91f2[_0x1cd3('0xa13')][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x1284')+_0x472aa2['cutdigits']+'}':(_0x1f91f2[_0x1cd3('0xa13')]['prefix']||'')+_0x1cd3('0x128d');if(_0x472aa2[_0x1cd3('0x1285')]!==_0x1cd3('0x6ae')){if(_0x1f91f2[_0x1cd3('0xa13')][_0x1cd3('0x422')]['indexOf'](_0x1cd3('0x1286'))<0x0){_0x1f91f2[_0x1cd3('0xa13')][_0x1cd3('0x422')]+=_0x1cd3('0x1286');}}else{_0x1f91f2[_0x1cd3('0xa13')]['options']=_0x1f91f2[_0x1cd3('0xa13')][_0x1cd3('0x422')]['replace'](_0x1cd3('0x1286'),'');}}if(_0x1f91f2[_0x1cd3('0xa13')][_0x1cd3('0x125b')]&&_0x1f91f2[_0x1cd3('0xa13')][_0x1cd3('0x125b')]===_0x1cd3('0x8f6')){}else{switch((_0x1f91f2[_0x1cd3('0xa13')][_0x1cd3('0xd0a')]||_0x1f91f2[_0x1cd3('0xa13')][_0x1cd3('0x125b')])[_0x1cd3('0x433')]()){case _0x1cd3('0x127e'):_0x1f91f2[_0x1cd3('0xa13')]['appdata']=_0x1f91f2[_0x1cd3('0xa13')]['name']+'='+_0x1f91f2['system'][_0x1cd3('0x3db')];break;case'custom':break;default:_0x5b7d7e[0x0]=_0x1f91f2['system']['command'];_0x5b7d7e[0x1]=_0x1f91f2[_0x1cd3('0xa13')][_0x1cd3('0xb84')];_0x1f91f2['system'][_0x1cd3('0x127d')]=_0x5b7d7e['join'](',');}}_0x540822(_0x1f91f2[_0x1cd3('0xa13')]);}function _0x540822(_0x1873a7){_0x335479[_0x1cd3('0x39d')](_0x1873a7);}}}());(function(){'use strict';_0x400f0e[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),'$q',_0x1cd3('0x461'),_0x1cd3('0x1c67'),_0x1cd3('0xa7a'),_0x1cd3('0x370'),_0x1cd3('0x56'),'crudPermissions'];angular[_0x1cd3('0x0')](_0x1cd3('0x2f'))['controller'](_0x1cd3('0x1c75'),_0x400f0e);function _0x400f0e(_0xbf8493,_0x33cc91,_0xa060ea,_0x242962,_0x53cd40,_0x3c442c,_0x124ea7,_0x1b24cf){var _0x2d6999=this;_0x2d6999[_0x1cd3('0x3ca')]=_0x124ea7[_0x1cd3('0x5d')]();_0x2d6999[_0x1cd3('0xd34')]=[];_0x2d6999[_0x1cd3('0x486')]=_0x1cd3('0x1c69')+(_0x242962[_0x1cd3('0x125b')]||_0x242962[_0x1cd3('0xd0a')])[_0x1cd3('0x437')]();_0x2d6999[_0x1cd3('0xb76')]=angular[_0x1cd3('0x429')](_0x242962);_0x2d6999[_0x1cd3('0xd27')]=_0x1b24cf;_0x2d6999[_0x1cd3('0xd28')]={};if(_0x2d6999[_0x1cd3('0xb76')][_0x1cd3('0x127d')]){switch(_0x2d6999[_0x1cd3('0xb76')][_0x1cd3('0x125b')]?_0x2d6999[_0x1cd3('0xb76')][_0x1cd3('0x125b')]['toLowerCase']():_0x2d6999[_0x1cd3('0xb76')][_0x1cd3('0xd0a')][_0x1cd3('0x433')]()){case'custom':break;case _0x1cd3('0x1233'):var _0x58551c=_0x2d6999[_0x1cd3('0xb76')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x2d6999[_0x1cd3('0xb76')][_0x1cd3('0x65c')]=_0x58551c[0x0];_0x2d6999[_0x1cd3('0xb76')]['language']=_0x58551c[0x1];_0x2d6999['tag'][_0x1cd3('0x1246')]=_0x58551c[_0x1cd3('0x9a2')](0x2,_0x58551c[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x1247'):var _0x58551c=_0x2d6999[_0x1cd3('0xb76')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x2d6999[_0x1cd3('0xb76')][_0x1cd3('0x1248')]=_0x58551c[0x0];_0x2d6999[_0x1cd3('0xb76')][_0x1cd3('0x1249')]=_0x58551c[0x1];_0x2d6999[_0x1cd3('0xb76')][_0x1cd3('0x124a')]=_0x58551c[0x2];_0x2d6999[_0x1cd3('0xb76')]['botname']=_0x58551c[0x3];_0x2d6999[_0x1cd3('0xb76')][_0x1cd3('0x1246')]=_0x58551c[_0x1cd3('0x9a2')](0x4,_0x58551c[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x122b'):var _0x58551c=_0x2d6999['tag'][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x2d6999[_0x1cd3('0xb76')][_0x1cd3('0x122c')]=isNaN(_0x58551c[0x0])?_0x58551c[0x0]:parseInt(_0x58551c[0x0],0xa);_0x2d6999[_0x1cd3('0xb76')][_0x1cd3('0x401')]=_0x58551c['slice'](0x1,_0x58551c[_0x1cd3('0x7a')])['join'](',');break;case _0x1cd3('0x43a'):_0x2d6999['tag'][_0x1cd3('0x401')]=_0x2d6999['tag']['appdata'];break;case _0x1cd3('0x127e'):_0x2d6999[_0x1cd3('0xb76')][_0x1cd3('0x98')]=_0x2d6999[_0x1cd3('0xb76')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x0];_0x2d6999['tag']['value']=_0x2d6999[_0x1cd3('0xb76')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x1];break;case _0x1cd3('0x128c'):_0x2d6999[_0x1cd3('0xb76')]['project']=_0x2d6999[_0x1cd3('0xb76')][_0x1cd3('0x127d')];break;default:var _0x268994=_0x2d6999[_0x1cd3('0xb76')]['appdata']['split'](',');_0x2d6999[_0x1cd3('0xb76')][_0x1cd3('0xb76')]=_['isEmpty'](_0x268994[0x0])?_0x268994[0x0]:isNaN(_0x268994[0x0])?_0x268994[0x0]:parseInt(_0x268994[0x0],0xa);}}else{}if(_0x2d6999[_0x1cd3('0xb76')][_0x1cd3('0x424')]&&_0x2d6999[_0x1cd3('0xb76')][_0x1cd3('0x424')][_0x1cd3('0x433')]()==='outbound'&&_0x2d6999[_0x1cd3('0xb76')][_0x1cd3('0x125b')][_0x1cd3('0x433')]()===_0x1cd3('0x1289')){_0x2d6999[_0x1cd3('0xb76')][_0x1cd3('0x6aa')]=_0x2d6999['tag'][_0x1cd3('0xf09')]?_0x2d6999['tag'][_0x1cd3('0xf09')]['split']('$')[0x0]:undefined;_0x2d6999[_0x1cd3('0xb76')][_0x1cd3('0x689')]=_0x2d6999[_0x1cd3('0xb76')][_0x1cd3('0x127f')]?_0x1cd3('0x1280')+_0x2d6999[_0x1cd3('0xb76')][_0x1cd3('0x127f')]:undefined;}_0x2d6999[_0x1cd3('0x1c6b')]=_0xa5fcf5;_0x2d6999[_0x1cd3('0x39c')]=_0x3fd33a;_0x124ea7[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x3c442c[_0x1cd3('0xb76')]['get']({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x4fc6c6){_0x2d6999[_0x1cd3('0x921')]=_0x4fc6c6[_0x1cd3('0xf6')]||[];})['catch'](function(_0x38be69){_0xa060ea['error']({'title':_0x38be69[_0x1cd3('0x3a6')]?'API:'+_0x38be69[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x38be69['statusText']:'SYSTEM:GET_TAGS','msg':_0x38be69[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x38be69[_0x1cd3('0x439')]):_0x38be69[_0x1cd3('0x43b')]()});}):_0x3c442c['tag'][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})['$promise']['then'](function(_0x380fca){_0x2d6999[_0x1cd3('0x921')]=_0x380fca['rows']||[];})[_0x1cd3('0x77')](function(){return _0x3c442c[_0x1cd3('0x390')]['get']({'userProfileId':_0x2d6999[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x3f0})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x10f334){var _0x4d4a0e=_0x10f334&&_0x10f334[_0x1cd3('0xf6')]?_0x10f334['rows'][0x0]:null;if(!_0x4d4a0e){var _0x19510b=[];var _0x6b84e1=null;if(_0x2d6999[_0x1cd3('0xb76')]){_0x6b84e1=_['find'](_0x2d6999['tags'],{'name':_0x2d6999[_0x1cd3('0xb76')][_0x1cd3('0xb76')]});}for(var _0x46bf3a=0x0;_0x46bf3a<_0x2d6999[_0x1cd3('0x921')]['length'];_0x46bf3a++){if(_0x6b84e1&&_0x2d6999[_0x1cd3('0x921')][_0x46bf3a]['id']===_0x6b84e1['id']){_0x2d6999[_0x1cd3('0x921')][_0x46bf3a][_0x1cd3('0xf4a')]=![];_0x19510b[_0x1cd3('0x7b')](_0x2d6999[_0x1cd3('0x921')][_0x46bf3a]);}}_0x2d6999[_0x1cd3('0x921')]=_0x19510b;}else{if(!_0x4d4a0e[_0x1cd3('0x391')]){return _0x3c442c[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x4d4a0e['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x561bf1){var _0x1a453f=_[_0x1cd3('0x3d9')](_0x561bf1['rows'],function(_0xbb25ff){return _[_0x1cd3('0x442')](_0x2d6999[_0x1cd3('0x921')],{'id':_0xbb25ff['resourceId']});});var _0x5f5084=null;if(_0x2d6999['tag']){_0x5f5084=_['find'](_0x2d6999[_0x1cd3('0x921')],{'name':_0x2d6999[_0x1cd3('0xb76')]['tag']});}if(_0x5f5084&&!_[_0x1cd3('0x38d')](_0x1a453f,['id',_0x5f5084['id']])){var _0x50c799=_[_0x1cd3('0x442')](_0x2d6999['tags'],{'id':_0x5f5084['id']});_0x50c799[_0x1cd3('0xf4a')]=![];_0x1a453f[_0x1cd3('0x7b')](_0x50c799);}_0x2d6999[_0x1cd3('0x921')]=_0x1a453f;});}}})['catch'](function(_0x188179){_0xa060ea['error']({'title':_0x188179[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x188179[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x188179[_0x1cd3('0xd35')]:_0x1cd3('0x12b5'),'msg':_0x188179[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x188179['data']):_0x188179[_0x1cd3('0x43b')]()});});function _0xa5fcf5(){_0x2d6999['errors']=[];var _0x223a02=[];if(_0x2d6999[_0x1cd3('0xb76')][_0x1cd3('0x424')]&&_0x2d6999[_0x1cd3('0xb76')][_0x1cd3('0x424')][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x2d6999[_0x1cd3('0xb76')][_0x1cd3('0x125b')]===_0x1cd3('0x1283')){_0x2d6999[_0x1cd3('0xb76')][_0x1cd3('0xf09')]=_0x53cd40[_0x1cd3('0x128a')]?(_0x2d6999[_0x1cd3('0xb76')][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x1284')+_0x53cd40[_0x1cd3('0x128a')]+'}':(_0x2d6999['tag']['prefix']||'')+_0x1cd3('0x128d');if(_0x53cd40[_0x1cd3('0x1285')]!==_0x1cd3('0x6ae')){if(_0x2d6999[_0x1cd3('0xb76')][_0x1cd3('0x422')][_0x1cd3('0x45e')](_0x1cd3('0x1286'))<0x0){_0x2d6999['tag'][_0x1cd3('0x422')]+=_0x1cd3('0x1286');}}else{_0x2d6999[_0x1cd3('0xb76')]['options']=_0x2d6999[_0x1cd3('0xb76')][_0x1cd3('0x422')][_0x1cd3('0x3f1')](_0x1cd3('0x1286'),'');}}var _0x18f105=_[_0x1cd3('0x442')](_0x2d6999[_0x1cd3('0x921')],{'name':_0x2d6999[_0x1cd3('0xb76')][_0x1cd3('0xb76')]});if(_0x18f105){_0x2d6999[_0x1cd3('0xb76')][_0x1cd3('0x1230')]=_0x18f105['id'];}if(_0x2d6999[_0x1cd3('0xb76')][_0x1cd3('0x125b')]&&_0x2d6999[_0x1cd3('0xb76')][_0x1cd3('0x125b')]===_0x1cd3('0x8f6')){}else{switch((_0x2d6999[_0x1cd3('0xb76')]['app']||_0x2d6999[_0x1cd3('0xb76')][_0x1cd3('0x125b')])['toLowerCase']()){case _0x1cd3('0x127e'):_0x2d6999[_0x1cd3('0xb76')][_0x1cd3('0x127d')]=_0x2d6999[_0x1cd3('0xb76')][_0x1cd3('0x98')]+'='+_0x2d6999[_0x1cd3('0xb76')][_0x1cd3('0x3db')];break;case _0x1cd3('0x8f6'):break;default:_0x223a02[0x0]=_0x2d6999[_0x1cd3('0xb76')]['tag'];_0x2d6999[_0x1cd3('0xb76')][_0x1cd3('0x127d')]=_0x223a02[_0x1cd3('0x3de')](',');}}_0x3fd33a(_0x2d6999['tag']);}function _0x3fd33a(_0x4d4978){_0xbf8493[_0x1cd3('0x39d')](_0x4d4978);}}}());(function(){'use strict';_0x78f166[_0x1cd3('0xc')]=[_0x1cd3('0x36f'),'$scope','$state','$q',_0x1cd3('0x3f7'),_0x1cd3('0x3e7'),_0x1cd3('0x3c5'),_0x1cd3('0x372'),_0x1cd3('0x461'),_0x1cd3('0x370'),_0x1cd3('0x56')];angular[_0x1cd3('0x0')]('app.mail')[_0x1cd3('0x39b')]('MailAccountInteractionsController',_0x78f166);function _0x78f166(_0x2e24b3,_0x337e64,_0x546ae5,_0x2e6462,_0x24faaa,_0x111e99,_0x5a8784,_0x128801,_0x215a27,_0x429986,_0x5449d8){var _0x49a7b6=this;_0x49a7b6[_0x1cd3('0x3ca')]=_0x5449d8[_0x1cd3('0x5d')]();_0x49a7b6[_0x1cd3('0xa7a')]={};_0x49a7b6[_0x1cd3('0x1c76')]={'count':0x0,'rows':[]};_0x49a7b6['selectedMailAccountInteractions']=[];_0x49a7b6[_0x1cd3('0xd27')];_0x49a7b6['query']={'read':'null','closed':_0x1cd3('0x220'),'sort':_0x1cd3('0x130e'),'includeAll':_0x1cd3('0x2e0'),'limit':0xa,'page':0x1};_0x49a7b6[_0x1cd3('0xe08')]=_0x28c34d;_0x49a7b6[_0x1cd3('0xe0a')]=_0x294731;_0x49a7b6['mailInteractionDownload']=_0xe0ea0e;_0x49a7b6['success']=_0x31718d;_0x49a7b6['getMailAccountInteractions']=_0x191625;_0x49a7b6[_0x1cd3('0x1c77')]=_0x5cb227;_0x49a7b6[_0x1cd3('0x1c78')]=_0x1a91bf;_0x49a7b6[_0x1cd3('0x1673')]=_0x23e2de;_0x49a7b6[_0x1cd3('0x1c79')]=_0x4cb156;_0x49a7b6[_0x1cd3('0x1c7a')]=_0x292e6c;_0x49a7b6[_0x1cd3('0x1c7b')]=_0x287536;function _0x28c34d(_0x133e53,_0x1e5b98){_0x49a7b6[_0x1cd3('0xa7a')]=_0x133e53;_0x49a7b6[_0x1cd3('0xd27')]=typeof _0x1e5b98!==_0x1cd3('0x491')?_0x1e5b98:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x49a7b6['query'][_0x1cd3('0x1492')]=_0x49a7b6['mailAccount']['id'];_0x49a7b6[_0x1cd3('0x3d1')]={'fields':_0x62f7f3()};_0x5dc204();}function _0x5dc204(){return _0x429986[_0x1cd3('0xb76')][_0x1cd3('0x361')]()[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x3341ba){_0x49a7b6[_0x1cd3('0x921')]=_0x3341ba||{'count':0x0,'rows':[]};})[_0x1cd3('0x77')](function(){return _0x429986[_0x1cd3('0x174c')]['get']({'nolimit':!![]})[_0x1cd3('0x81')]['then'](function(_0x463905){_0x49a7b6['subStatuses']=_0x463905||{'count':0x0,'rows':[]};});})['then'](function(){_0x49a7b6[_0x1cd3('0x1315')]=_0x529a77();});}function _0x529a77(){return[{'name':_0x1cd3('0x132c'),'key':'createdAt','type':_0x1cd3('0x406'),'label':'DASHBOARDS.SELECT_DATE'},{'name':'Messages','key':_0x1cd3('0x167e'),'type':_0x1cd3('0x44f'),'label':_0x1cd3('0x1318'),'customOptions':[{'value':0x0,'translate':_0x1cd3('0x1319')},{'value':0x1,'translate':_0x1cd3('0x131a')},{'value':null,'translate':_0x1cd3('0x910')}]},{'name':_0x1cd3('0x131b'),'key':_0x1cd3('0x1586'),'type':_0x1cd3('0x44f'),'label':_0x1cd3('0x131c'),'customOptions':[{'value':0x0,'translate':'DASHBOARDS.OPENED'},{'value':0x1,'translate':_0x1cd3('0x131e')},{'value':null,'translate':'DASHBOARDS.ALL'}]},{'name':_0x1cd3('0x174b'),'key':_0x1cd3('0x1758'),'type':_0x1cd3('0x44f'),'label':_0x1cd3('0x1759'),'options':_0x49a7b6[_0x1cd3('0x1750')][_0x1cd3('0xf6')],'customOptions':[{'value':'null','translate':_0x1cd3('0x90d')},{'value':undefined,'translate':_0x1cd3('0x910')}],'ngValue':_0x1cd3('0x98'),'ngIf':_0x1cd3('0x1c7c')},{'name':_0x1cd3('0x1227'),'key':_0x1cd3('0x1226'),'type':_0x1cd3('0x44f'),'label':_0x1cd3('0x131f'),'customOptions':[{'value':_0x1cd3('0x220'),'translate':_0x1cd3('0x1320')},{'value':undefined,'translate':'DASHBOARDS.ALL'}]},{'name':_0x1cd3('0x1231'),'key':_0x1cd3('0xb76'),'type':_0x1cd3('0x3fa'),'label':'DASHBOARDS.SELECT_TAG','options':_0x49a7b6[_0x1cd3('0x921')][_0x1cd3('0xf6')],'placeholder':'DASHBOARDS.TAGS'}];}function _0x62f7f3(){return[{'name':'Id','column':'id','type':_0x1cd3('0x407')},{'name':_0x1cd3('0x1323'),'column':_0x1cd3('0x1323'),'type':_0x1cd3('0x42b'),'options':{'searchFields':[_0x1cd3('0x1447'),_0x1cd3('0x1324'),_0x1cd3('0x1325')],'route':{'model':_0x1cd3('0xb3d'),'action':'get','params':{'fields':_0x1cd3('0x1668'),'Contact':_0x1cd3('0x42c'),'nolimit':!![]}},'extraOperators':[_0x1cd3('0x3fd')],'excludedOperators':[_0x1cd3('0x3fb')]}},{'name':_0x1cd3('0x1326'),'column':_0x1cd3('0x1327'),'type':_0x1cd3('0x401'),'options':{'excludedOperators':[_0x1cd3('0x44d'),_0x1cd3('0x3fb')]}},{'name':'Body','column':_0x1cd3('0x1329'),'type':_0x1cd3('0x401'),'options':{'excludedOperators':[_0x1cd3('0x44d'),_0x1cd3('0x3fb')]}},{'name':_0x1cd3('0x131b'),'column':_0x1cd3('0x1586'),'type':'select','values':[{'id':0x0,'translate':_0x1cd3('0x131d')},{'id':0x1,'translate':_0x1cd3('0x131e')}],'options':{'excludedOperators':[_0x1cd3('0x3fb')]}},{'name':_0x1cd3('0x174b'),'column':'substatus','type':'multiselect','options':{'field':_0x1cd3('0x98'),'route':{'model':'mailSubstatus','action':_0x1cd3('0x361'),'params':{'nolimit':!![]}},'excludedOperators':[_0x1cd3('0x3dd')]}},{'name':_0x1cd3('0x1227'),'column':_0x1cd3('0x132a'),'type':'autocomplete','options':{'table':'i','route':{'model':_0x1cd3('0x368'),'action':_0x1cd3('0x361'),'params':{'role':'agent','fields':_0x1cd3('0x132b'),'nolimit':!![]}},'searchFields':[_0x1cd3('0xd3'),_0x1cd3('0x98')],'extraOperators':[_0x1cd3('0x3fd')],'excludedOperators':['$ne']}},{'name':_0x1cd3('0xf9'),'column':_0x1cd3('0x1231'),'type':'multiselect','options':{'route':{'model':_0x1cd3('0xb76'),'action':'get','params':{'nolimit':!![]}},'excludedOperators':['$notIn']}},{'name':'Start\x20Date','column':_0x1cd3('0xe0d'),'type':_0x1cd3('0x406'),'options':{'excludedOperators':['$ne']}},{'name':_0x1cd3('0x132d'),'column':_0x1cd3('0x132e'),'type':'select','values':[{'id':0x1,'translate':_0x1cd3('0x131a')},{'id':0x0,'translate':_0x1cd3('0x1319')}],'options':{'excludedOperators':['$ne']}}];}function _0x23e2de(){_0x5a8784['show']({'controller':'AdvancedSearchController','controllerAs':'vm','templateUrl':_0x1cd3('0x132f'),'parent':angular['element'](_0x128801[_0x1cd3('0x380')]),'clickOutsideToClose':![],'locals':{'fields':_0x49a7b6['advancedSearch'][_0x1cd3('0x3c7')],'color':undefined,'storagePath':'mail.mailAccounts'},'fullscreen':!![]})[_0x1cd3('0x77')](function(_0x1c05df){_0x49a7b6[_0x1cd3('0x3d4')][_0x1cd3('0x3e4')]=_0x1c05df===![]?undefined:_0x1c05df;if(_0x49a7b6[_0x1cd3('0x3d4')][_0x1cd3('0x3e4')]){_0x49a7b6[_0x1cd3('0x3d4')][_0x1cd3('0x3e4')]+='||MailAccountId:=$eq['+_0x49a7b6[_0x1cd3('0xa7a')]['id']+']';_0x191625();}else if(_0x1c05df===![]){_0x191625();}})[_0x1cd3('0xfd')](function(_0xa743e4){_0x215a27[_0x1cd3('0x434')]({'title':_0x1cd3('0x1331'),'msg':_0xa743e4[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0xa743e4[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0xa743e4['toString']()});});}function _0xe0ea0e(_0x4889a3,_0x352ac3,_0x404f8c){return _0x429986[_0x1cd3('0xa8f')][_0x1cd3('0x489')]({'id':_0x4889a3['id'],'exists':!![],'attachments':_0x404f8c})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x108399){var _0x25c1bc=[_0x108399['buffer']];var _0x2ac04e=_0x1cd3('0x1332')+_0x4889a3['id'];var _0x15ed6b=new Blob(_0x25c1bc,{'type':_0x108399[_0x1cd3('0x424')]});_0x2ac04e='mail-interaction'+_0x4889a3['id']+'.zip';var _0x5a71c2=window[_0x1cd3('0x924')][_0x1cd3('0x3aa')]('a');_0x5a71c2[_0x1cd3('0x481')]('href',URL[_0x1cd3('0x48a')](_0x15ed6b));_0x5a71c2[_0x1cd3('0x481')](_0x1cd3('0x489'),_0x2ac04e);document['body']['appendChild'](_0x5a71c2);_0x5a71c2[_0x1cd3('0x52d')]();})['catch'](function(_0x469d1f){if(_0x469d1f['data']&&_0x469d1f[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x469d1f[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){for(var _0x366d40=0x0;_0x366d40<_0x469d1f[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0x366d40+=0x1){_0x215a27[_0x1cd3('0x434')]({'title':_0x469d1f[_0x1cd3('0x439')]['errors'][_0x366d40][_0x1cd3('0x424')],'msg':_0x469d1f[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x366d40][_0x1cd3('0x43a')]});}}else{_0x215a27[_0x1cd3('0x434')]({'title':_0x469d1f['status']?'API:'+_0x469d1f['status']+_0x1cd3('0x436')+_0x469d1f[_0x1cd3('0xd35')]:_0x1cd3('0x1c53'),'msg':_0x469d1f['data']?JSON[_0x1cd3('0x438')](_0x469d1f[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x469d1f[_0x1cd3('0x43b')]()});}});}function _0x294731(_0x4a87cd,_0x2d83c4){var _0x42f3ae=_0x5a8784['confirm']()[_0x1cd3('0x486')](_0x1cd3('0x1335'))[_0x1cd3('0xd60')]('<b>'+(_0x4a87cd[_0x1cd3('0x98')]||_0x4a87cd['id']&&_[_0x1cd3('0x12bc')](_0x1cd3('0x1336'))+_0x4a87cd['id']||_0x1cd3('0x1332'))+_0x1cd3('0xd52')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x1337'))['targetEvent'](_0x2d83c4)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x5a8784[_0x1cd3('0x37e')](_0x42f3ae)[_0x1cd3('0x77')](function(){_0x292e6c(_0x4a87cd);},function(){console[_0x1cd3('0x7d')]('CANCEL');});}function _0x31718d(_0x3e1a49){_0x49a7b6[_0x1cd3('0x1c76')]=_0x3e1a49||{'count':0x0,'rows':[]};for(var _0x3b75d7=0x0;_0x3b75d7<_0x49a7b6[_0x1cd3('0x1c76')][_0x1cd3('0xf6')][_0x1cd3('0x7a')];_0x3b75d7+=0x1){var _0x72a256=_0x49a7b6[_0x1cd3('0x1c76')][_0x1cd3('0xf6')][_0x3b75d7];_0x8940e1(_0x72a256);_0x72a256[_0x1cd3('0x1338')][_0x1cd3('0x98')]=_0x41f9a2(_0x72a256);}}function _0x191625(){_0x49a7b6['query']['offset']=(_0x49a7b6[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0x49a7b6[_0x1cd3('0x3d4')]['limit'];_0x49a7b6[_0x1cd3('0x539')]=_0x429986[_0x1cd3('0xa8f')]['get'](_0x49a7b6[_0x1cd3('0x3d4')],_0x31718d)[_0x1cd3('0x81')];}function _0x5cb227(_0xc834c9,_0x3eba5f){_0x5a8784[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1339'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1c7d'),'parent':angular[_0x1cd3('0x37f')](_0x128801[_0x1cd3('0x380')]),'targetEvent':_0xc834c9,'clickOutsideToClose':!![],'locals':{'mailAccount':_0x49a7b6[_0x1cd3('0xa7a')],'interaction':_0x3eba5f,'interactions':_0x49a7b6[_0x1cd3('0x1c76')][_0x1cd3('0xf6')],'license':null,'setting':null,'crudPermissions':_0x49a7b6[_0x1cd3('0xd27')]}});}function _0x1a91bf(_0x3dcfe8,_0x224a57){_0x5a8784['show']({'controller':_0x1cd3('0x133a'),'controllerAs':'vm','templateUrl':_0x1cd3('0x133b'),'parent':angular[_0x1cd3('0x37f')](_0x128801[_0x1cd3('0x380')]),'targetEvent':_0x3dcfe8,'clickOutsideToClose':!![],'onShowing':function(_0x258ce3,_0x222d9f){_0x258ce3['vm'][_0x1cd3('0xe08')]({'id':0x1,'channel':_0x1cd3('0x1d2'),'interaction':_0x224a57,'spy':!![]},_0x337e64[_0x1cd3('0x70b')]['vm'][_0x1cd3('0xc49')]);}});}function _0x292e6c(_0x6a9a3d){_0x429986[_0x1cd3('0xa8f')][_0x1cd3('0xa1c')]({'id':_0x6a9a3d['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x49a7b6['mailAccountInteractions'][_0x1cd3('0xf6')],{'id':_0x6a9a3d['id']});_0x49a7b6['mailAccountInteractions'][_0x1cd3('0x466')]-=0x1;if(!_0x49a7b6[_0x1cd3('0x1c76')][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){_0x191625();}_0x215a27[_0x1cd3('0x473')]({'title':_0x1cd3('0x133c'),'msg':_0x6a9a3d[_0x1cd3('0x98')]?_0x6a9a3d[_0x1cd3('0x98')]+_0x1cd3('0xd41'):''});})[_0x1cd3('0xfd')](function(_0x4f5842){if(_0x4f5842['data']&&_0x4f5842[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x4f5842[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){vm[_0x1cd3('0xd34')]=_0x4f5842[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x4f5842[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1c7e')}];for(var _0x41441c=0x0;_0x41441c<_0x4f5842[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x41441c++){_0x215a27[_0x1cd3('0x434')]({'title':_0x4f5842[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x41441c]['type'],'msg':_0x4f5842[_0x1cd3('0x439')]['errors'][_0x41441c][_0x1cd3('0x43a')]});}}else{_0x215a27[_0x1cd3('0x434')]({'title':_0x4f5842[_0x1cd3('0x3a6')]?'API:'+_0x4f5842[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x4f5842[_0x1cd3('0xd35')]:'SYSTEM:GETmailAccount','msg':_0x4f5842[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x4f5842[_0x1cd3('0x439')]['message']):_0x4f5842[_0x1cd3('0x43a')]||_0x4f5842[_0x1cd3('0x43b')]()});}});}function _0x4cb156(){var _0x1e8ce2=angular['copy'](_0x49a7b6['selectedMailAccountInteractions']);_0x49a7b6['selectedMailAccountInteractions']=[];return _0x1e8ce2;}function _0x287536(_0x55d0cf){var _0x40024e=_0x5a8784['confirm']()[_0x1cd3('0x486')](_0x1cd3('0x1932'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x49a7b6[_0x1cd3('0x1c7f')][_0x1cd3('0x7a')]+'\x20selected</b>'+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')]('delete\x20interactions')[_0x1cd3('0xd63')](_0x55d0cf)['ok']('OK')['cancel'](_0x1cd3('0xd55'));_0x5a8784[_0x1cd3('0x37e')](_0x40024e)[_0x1cd3('0x77')](function(){_0x49a7b6[_0x1cd3('0x1c7f')]['forEach'](function(_0x5ed8fd){_0x292e6c(_0x5ed8fd);});_0x49a7b6[_0x1cd3('0x1c7f')]=[];});}function _0x8940e1(_0x469930){if(!_[_0x1cd3('0x398')](_0x469930['to'])&&!_[_0x1cd3('0x38f')](_0x469930['to'],_0x49a7b6[_0x1cd3('0xa7a')][_0x1cd3('0x1325')])){_0x469930['contactName']=_0x469930['to'][_0x1cd3('0x3ef')]('\x20<')[0x0];_0x469930[_0x1cd3('0x1742')]=_0x469930['to']['split']('<')['pop']()[_0x1cd3('0x3ef')]('>')[0x0];}else if(_0x469930[_0x1cd3('0x1323')]){_0x469930[_0x1cd3('0x133e')]=(_0x469930[_0x1cd3('0x1323')][_0x1cd3('0x1447')]||'')+'\x20'+(_0x469930[_0x1cd3('0x1323')][_0x1cd3('0x1324')]||'');_0x469930['contactInfo']=_0x469930[_0x1cd3('0x1323')][_0x1cd3('0x1325')]||'';}else{_0x469930['contactName']=_0x24faaa['instant'](_0x1cd3('0x1c80'));}}function _0x41f9a2(_0x30bb25){if(_0x30bb25[_0x1cd3('0x1226')]){if(_0x30bb25[_0x1cd3('0x1226')]===_0x49a7b6[_0x1cd3('0x3ca')]['id']){return _0x24faaa[_0x1cd3('0x44a')](_0x1cd3('0x1656'));}else{return _0x30bb25[_0x1cd3('0x1338')][_0x1cd3('0xd3')]+'\x20<'+_0x30bb25['Owner'][_0x1cd3('0x311')]+'>';}}return _0x24faaa[_0x1cd3('0x44a')](_0x1cd3('0x1320'));}var _0x4a98d3=!![];var _0x2dfc60=0x1;_0x337e64['$watch'](_0x1cd3('0x1340'),function(_0x24a4a9,_0xc53c87){if(_0x4a98d3){_0x111e99(function(){_0x4a98d3=![];});}else{if(!_0xc53c87){_0x2dfc60=_0x49a7b6['query'][_0x1cd3('0x8fd')];}if(_0x24a4a9!==_0xc53c87){_0x49a7b6['query']['page']=0x1;}if(!_0x24a4a9){_0x49a7b6[_0x1cd3('0x3d4')]['page']=_0x2dfc60;}_0x191625();}});}}());(function(){'use strict';_0x4e9dc8[_0x1cd3('0xc')]=[_0x1cd3('0x36f'),_0x1cd3('0x460'),_0x1cd3('0x53e'),'$q','$translate',_0x1cd3('0x3e7'),'$mdDialog','$document',_0x1cd3('0x461'),_0x1cd3('0x370'),_0x1cd3('0x56')];angular['module'](_0x1cd3('0x2f'))[_0x1cd3('0x39b')](_0x1cd3('0x1c81'),_0x4e9dc8);function _0x4e9dc8(_0x382adf,_0x1b4092,_0x50687f,_0x186997,_0x482a1a,_0x41e396,_0x264a11,_0x2bbfca,_0x526687,_0x58a0d6,_0x2f98c6){var _0x340e95=this;_0x340e95[_0x1cd3('0x3ca')]=_0x2f98c6[_0x1cd3('0x5d')]();_0x340e95['mailAccount']={};_0x340e95[_0x1cd3('0x1c82')]={'count':0x0,'rows':[]};_0x340e95['selectedMailAccountMailCannedAnswers']=[];_0x340e95[_0x1cd3('0xd27')];_0x340e95[_0x1cd3('0x3d4')]={'fields':_0x1cd3('0x2a2'),'limit':0xa,'page':0x1};_0x340e95[_0x1cd3('0xe08')]=_0x1565ce;_0x340e95[_0x1cd3('0xe0a')]=_0x41a05e;_0x340e95['success']=_0x44bf5d;_0x340e95[_0x1cd3('0x1c83')]=_0x3bd207;_0x340e95[_0x1cd3('0x1c84')]=_0xfb8e18;_0x340e95[_0x1cd3('0x1c85')]=_0x9761a;_0x340e95[_0x1cd3('0x1c86')]=_0x3f2416;_0x340e95['deleteSelectedMailAccountMailCannedAnswers']=_0xcca14e;function _0x1565ce(_0x19559e,_0x4a0780){_0x340e95[_0x1cd3('0xa7a')]=_0x19559e;_0x340e95[_0x1cd3('0xd27')]=typeof _0x4a0780!==_0x1cd3('0x491')?_0x4a0780:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x340e95['query'][_0x1cd3('0x1492')]=_0x340e95[_0x1cd3('0xa7a')]['id'];_0x340e95[_0x1cd3('0x3d4')]['id']=_0x340e95[_0x1cd3('0xa7a')]['id'];_0x3bd207();}function _0x41a05e(_0x3f7a37,_0x38fde6){var _0x2f4150=_0x264a11[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x1c87'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+(_0x3f7a37[_0x1cd3('0x98')]||_0x3f7a37['id']&&_['upperFirst']('mailCannedAnswer\x20#')+_0x3f7a37['id']||_0x1cd3('0x1c88'))+_0x1cd3('0xd52')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')]('delete\x20mailCannedAnswer')[_0x1cd3('0xd63')](_0x38fde6)['ok']('OK')['cancel'](_0x1cd3('0xd55'));_0x264a11[_0x1cd3('0x37e')](_0x2f4150)['then'](function(){_0x3f2416(_0x3f7a37);},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}function _0x44bf5d(_0x5ea279){_0x340e95[_0x1cd3('0x1c82')]=_0x5ea279||{'count':0x0,'rows':[]};}function _0x3bd207(){_0x340e95[_0x1cd3('0x3d4')]['offset']=(_0x340e95[_0x1cd3('0x3d4')]['page']-0x1)*_0x340e95[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];_0x340e95[_0x1cd3('0x539')]=_0x58a0d6[_0x1cd3('0xa7a')][_0x1cd3('0x1c21')](_0x340e95[_0x1cd3('0x3d4')],_0x44bf5d)[_0x1cd3('0x81')];}function _0xfb8e18(_0x41f1dc,_0x23e66a){_0x264a11['show']({'controller':_0x1cd3('0x1c89'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1c8a'),'parent':angular[_0x1cd3('0x37f')](_0x2bbfca['body']),'targetEvent':_0x41f1dc,'clickOutsideToClose':!![],'locals':{'mailAccount':_0x340e95['mailAccount'],'mailCannedAnswer':_0x23e66a,'mailCannedAnswers':_0x340e95['mailAccountMailCannedAnswers'][_0x1cd3('0xf6')],'license':null,'setting':null,'crudPermissions':_0x340e95['crudPermissions']}});}function _0x3f2416(_0x2c5f59){_0x58a0d6[_0x1cd3('0x12c1')][_0x1cd3('0xa1c')]({'id':_0x2c5f59['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_['remove'](_0x340e95[_0x1cd3('0x1c82')][_0x1cd3('0xf6')],{'id':_0x2c5f59['id']});_0x340e95[_0x1cd3('0x1c82')][_0x1cd3('0x466')]-=0x1;if(!_0x340e95[_0x1cd3('0x1c82')][_0x1cd3('0xf6')]['length']){_0x3bd207();}_0x526687[_0x1cd3('0x473')]({'title':'MailCannedAnswer\x20deleted!','msg':_0x2c5f59[_0x1cd3('0x98')]?_0x2c5f59[_0x1cd3('0x98')]+'\x20has\x20been\x20deleted!':''});})['catch'](function(_0x268ff2){if(_0x268ff2[_0x1cd3('0x439')]&&_0x268ff2[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x268ff2[_0x1cd3('0x439')]['errors']['length']){vm[_0x1cd3('0xd34')]=_0x268ff2[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x268ff2[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1c7e')}];for(var _0x5899f3=0x0;_0x5899f3<_0x268ff2[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0x5899f3++){_0x526687[_0x1cd3('0x434')]({'title':_0x268ff2['data'][_0x1cd3('0xd34')][_0x5899f3][_0x1cd3('0x424')],'msg':_0x268ff2['data'][_0x1cd3('0xd34')][_0x5899f3][_0x1cd3('0x43a')]});}}else{_0x526687['error']({'title':_0x268ff2['status']?_0x1cd3('0x435')+_0x268ff2['status']+_0x1cd3('0x436')+_0x268ff2['statusText']:_0x1cd3('0x1c7e'),'msg':_0x268ff2[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x268ff2[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x268ff2[_0x1cd3('0x43a')]||_0x268ff2[_0x1cd3('0x43b')]()});}});}function _0x9761a(){var _0x1e2a96=angular[_0x1cd3('0x429')](_0x340e95['selectedMailAccountMailCannedAnswers']);_0x340e95[_0x1cd3('0x1c8b')]=[];return _0x1e2a96;}function _0xcca14e(_0x193f71){var _0x1f7250=_0x264a11[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x1c8c'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x340e95[_0x1cd3('0x1c8b')][_0x1cd3('0x7a')]+'\x20selected</b>'+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')]('delete\x20mailCannedAnswers')[_0x1cd3('0xd63')](_0x193f71)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x264a11[_0x1cd3('0x37e')](_0x1f7250)[_0x1cd3('0x77')](function(){_0x340e95[_0x1cd3('0x1c8b')]['forEach'](function(_0x33f417){_0x3f2416(_0x33f417);});_0x340e95['selectedMailAccountMailCannedAnswers']=[];});}var _0xee468b=!![];var _0x25bcf3=0x1;_0x1b4092[_0x1cd3('0x4d6')]('vm_dc.query.filter',function(_0x305468,_0x3d8f8a){if(_0xee468b){_0x41e396(function(){_0xee468b=![];});}else{if(!_0x3d8f8a){_0x25bcf3=_0x340e95['query']['page'];}if(_0x305468!==_0x3d8f8a){_0x340e95[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}if(!_0x305468){_0x340e95[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0x25bcf3;}_0x3bd207();}});}}());(function(){'use strict';_0x3f7456[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x53e'),_0x1cd3('0xd24'),_0x1cd3('0x3c5'),'$q',_0x1cd3('0x3f7'),_0x1cd3('0x461'),_0x1cd3('0x1c8d'),'mailCannedAnswer',_0x1cd3('0x370'),'Auth',_0x1cd3('0x463'),'setting','crudPermissions'];angular['module']('app.mail')[_0x1cd3('0x39b')](_0x1cd3('0x1c89'),_0x3f7456);function _0x3f7456(_0x5ecc0b,_0x4b2d34,_0x199165,_0x2ab6bc,_0x4a9e47,_0x39c8ee,_0x218037,_0x4cae22,_0x273871,_0x4e36f2,_0x265b27,_0xa75c2a,_0xd7c0ce,_0x1cd82f){var _0x44931e=this;_0x44931e['currentUser']=_0x265b27[_0x1cd3('0x5d')]();_0x44931e[_0x1cd3('0xd34')]=[];_0x44931e[_0x1cd3('0xc49')]=_0xd7c0ce;_0x44931e[_0x1cd3('0x463')]=_0xa75c2a;_0x44931e['crudPermissions']=_0x1cd82f;_0x44931e['hasModulePermissions']={};_0x44931e[_0x1cd3('0xd29')]=_0x44931e['setting']&&_0x44931e[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x44931e[_0x1cd3('0x486')]=_0x1cd3('0x1c8e');_0x44931e[_0x1cd3('0x1c88')]=angular['copy'](_0x273871);_0x44931e['mailCannedAnswers']=_0x4cae22;_0x44931e[_0x1cd3('0x1c8f')]=![];if(!_0x44931e[_0x1cd3('0x1c88')]){_0x44931e[_0x1cd3('0x1c88')]={};_0x44931e['title']=_0x1cd3('0x1c90');_0x44931e[_0x1cd3('0x1c8f')]=!![];}if(_0x4b2d34[_0x1cd3('0x36a')]['id']){_0x44931e[_0x1cd3('0x1c88')][_0x1cd3('0x1492')]=_0x4b2d34[_0x1cd3('0x36a')]['id'];}_0x44931e['addNewMailCannedAnswer']=_0x2054e2;_0x44931e['saveMailCannedAnswer']=_0x20f700;_0x44931e[_0x1cd3('0x1c91')]=_0x5c3760;_0x44931e['getDateFromString']=_0x24a79a;_0x44931e[_0x1cd3('0x39c')]=_0x4615cb;function _0x2054e2(){_0x44931e['errors']=[];_0x4e36f2[_0x1cd3('0x12c1')]['save'](_0x44931e[_0x1cd3('0x1c88')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x150cf1){_0x44931e[_0x1cd3('0x1c8d')]['unshift'](_0x150cf1[_0x1cd3('0xd32')]());_0x218037[_0x1cd3('0x473')]({'title':_0x1cd3('0x1c92'),'msg':_0x44931e[_0x1cd3('0x1c88')][_0x1cd3('0x98')]?_0x44931e[_0x1cd3('0x1c88')][_0x1cd3('0x98')]+'\x20has\x20been\x20created!':''});_0x4615cb(_0x150cf1);})[_0x1cd3('0xfd')](function(_0x2f628e){if(_0x2f628e[_0x1cd3('0x439')]&&_0x2f628e['data']['errors']&&_0x2f628e[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length']){_0x44931e[_0x1cd3('0xd34')]=_0x2f628e[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x2f628e['toString'](),'type':'api.cannedAnswer.save'}];for(var _0x4f4199=0x0;_0x4f4199<_0x2f628e[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x4f4199+=0x1){_0x218037[_0x1cd3('0x434')]({'title':_0x2f628e[_0x1cd3('0x439')]['errors'][_0x4f4199][_0x1cd3('0x424')],'msg':_0x2f628e[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x4f4199]['message']});}}else{_0x218037[_0x1cd3('0x434')]({'title':_0x2f628e[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x2f628e[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x2f628e[_0x1cd3('0xd35')]:_0x1cd3('0x12cc'),'msg':_0x2f628e[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x2f628e[_0x1cd3('0x439')]['message']):_0x2f628e[_0x1cd3('0x43b')]()});}});}function _0x20f700(){_0x44931e[_0x1cd3('0xd34')]=[];_0x4e36f2[_0x1cd3('0x12c1')][_0x1cd3('0x378')]({'id':_0x44931e['mailCannedAnswer']['id']},_0x44931e[_0x1cd3('0x1c88')])['$promise'][_0x1cd3('0x77')](function(_0xafa8ac){var _0x3ca30f=_['find'](_0x44931e[_0x1cd3('0x1c8d')],{'id':_0xafa8ac['id']});if(_0x3ca30f){_['merge'](_0x3ca30f,_['pick'](_0xafa8ac['toJSON'](),_[_0x1cd3('0x80')](_0x3ca30f)));}_0x218037[_0x1cd3('0x473')]({'title':_0x1cd3('0x1c93'),'msg':_0x44931e['mailCannedAnswer']['name']?_0x44931e[_0x1cd3('0x1c88')][_0x1cd3('0x98')]+_0x1cd3('0xd37'):''});_0x4615cb(_0xafa8ac);})[_0x1cd3('0xfd')](function(_0x1bcdbe){if(_0x1bcdbe['data']&&_0x1bcdbe[_0x1cd3('0x439')]['errors']&&_0x1bcdbe[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')]){_0x44931e[_0x1cd3('0xd34')]=_0x1bcdbe['data']['errors']||[{'message':_0x1bcdbe[_0x1cd3('0x43b')](),'type':_0x1cd3('0x12ce')}];for(var _0x508004=0x0;_0x508004<_0x1bcdbe['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x508004++){_0x218037[_0x1cd3('0x434')]({'title':_0x1bcdbe[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x508004][_0x1cd3('0x424')],'msg':_0x1bcdbe[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x508004]['message']});}}else{_0x218037[_0x1cd3('0x434')]({'title':_0x1bcdbe[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x1bcdbe[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x1bcdbe[_0x1cd3('0xd35')]:_0x1cd3('0x12ce'),'msg':_0x1bcdbe['data']?JSON[_0x1cd3('0x438')](_0x1bcdbe[_0x1cd3('0x439')]['message']):_0x1bcdbe[_0x1cd3('0x43b')]()});}});}function _0x5c3760(_0x422cd7){_0x44931e[_0x1cd3('0xd34')]=[];var _0x3db7da=_0x2ab6bc[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xd3a'))[_0x1cd3('0xd3b')]('The\x20mailCannedAnswer\x20will\x20be\x20deleted.')['ariaLabel'](_0x1cd3('0x1c94'))['ok'](_0x1cd3('0xd3f'))[_0x1cd3('0x4d8')](_0x1cd3('0x674'))['targetEvent'](_0x422cd7);_0x2ab6bc[_0x1cd3('0x37e')](_0x3db7da)['then'](function(){_0x4e36f2[_0x1cd3('0x12c1')][_0x1cd3('0xa1c')]({'id':_0x44931e[_0x1cd3('0x1c88')]['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x44931e[_0x1cd3('0x1c8d')],{'id':_0x44931e[_0x1cd3('0x1c88')]['id']});_0x218037[_0x1cd3('0x473')]({'title':_0x1cd3('0x1c95'),'msg':(_0x44931e[_0x1cd3('0x1c88')][_0x1cd3('0x98')]||_0x1cd3('0x1c88'))+_0x1cd3('0xd41')});_0x4615cb(_0x44931e[_0x1cd3('0x1c88')]);})[_0x1cd3('0xfd')](function(_0x5a0207){if(_0x5a0207[_0x1cd3('0x439')]&&_0x5a0207[_0x1cd3('0x439')]['errors']&&_0x5a0207['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x44931e[_0x1cd3('0xd34')]=_0x5a0207['data']['errors']||[{'message':_0x5a0207[_0x1cd3('0x43b')](),'type':_0x1cd3('0x12d1')}];for(var _0x4c8093=0x0;_0x4c8093<_0x5a0207[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length'];_0x4c8093++){_0x218037[_0x1cd3('0x434')]({'title':_0x5a0207['data']['errors'][_0x4c8093][_0x1cd3('0x424')],'msg':_0x5a0207[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x4c8093]['message']});}}else{_0x218037[_0x1cd3('0x434')]({'title':_0x5a0207['status']?_0x1cd3('0x435')+_0x5a0207[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x5a0207[_0x1cd3('0xd35')]:_0x1cd3('0x12d1'),'msg':_0x5a0207[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x5a0207[_0x1cd3('0x439')]['message']):_0x5a0207[_0x1cd3('0x43a')]||_0x5a0207[_0x1cd3('0x43b')]()});}});},function(){});}function _0x24a79a(_0x956e55){return _0x956e55===null?undefined:new Date(_0x956e55);}function _0x4615cb(_0x49b409){_0x2ab6bc['hide'](_0x49b409);}}}());(function(){'use strict';_0x1a47a3['$inject']=[_0x1cd3('0x36f'),_0x1cd3('0x460'),_0x1cd3('0x53e'),'$q',_0x1cd3('0x3f7'),_0x1cd3('0x3e7'),_0x1cd3('0x3c5'),'$document',_0x1cd3('0x461'),_0x1cd3('0x370'),_0x1cd3('0x56')];angular[_0x1cd3('0x0')]('app.mail')[_0x1cd3('0x39b')](_0x1cd3('0x1c96'),_0x1a47a3);function _0x1a47a3(_0xf93805,_0x118fb7,_0x1b4705,_0x3df504,_0x38fdea,_0x5061b7,_0x1da10d,_0x9342c5,_0x24935b,_0x21aa82,_0x256b41){var _0x5896d4=this;_0x5896d4['currentUser']=_0x256b41[_0x1cd3('0x5d')]();_0x5896d4[_0x1cd3('0xa7a')]={};_0x5896d4[_0x1cd3('0x1c97')]={'count':0x0,'rows':[]};_0x5896d4['selectedMailAccountMailDispositions']=[];_0x5896d4[_0x1cd3('0xd27')];_0x5896d4[_0x1cd3('0x3d4')]={'fields':'createdAt,updatedAt,id,name','limit':0xa,'page':0x1};_0x5896d4[_0x1cd3('0xe08')]=_0x164672;_0x5896d4[_0x1cd3('0xe0a')]=_0x37ce18;_0x5896d4[_0x1cd3('0x473')]=_0xe57b20;_0x5896d4['getMailAccountMailDispositions']=_0x4e7ade;_0x5896d4[_0x1cd3('0x1c98')]=_0x2fa439;_0x5896d4[_0x1cd3('0x1c99')]=_0xdfa145;_0x5896d4[_0x1cd3('0x1c9a')]=_0x119a79;_0x5896d4[_0x1cd3('0x1c9b')]=_0x2d556c;function _0x164672(_0x513f5,_0x252e02){_0x5896d4['mailAccount']=_0x513f5;_0x5896d4[_0x1cd3('0xd27')]=typeof _0x252e02!==_0x1cd3('0x491')?_0x252e02:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x5896d4[_0x1cd3('0x3d4')][_0x1cd3('0x1492')]=_0x5896d4[_0x1cd3('0xa7a')]['id'];_0x5896d4[_0x1cd3('0x3d4')]['id']=_0x5896d4[_0x1cd3('0xa7a')]['id'];_0x4e7ade();}function _0x37ce18(_0x40fc67,_0xd6e4c4){var _0xfbe832=_0x1da10d['confirm']()['title'](_0x1cd3('0x1c9c'))[_0x1cd3('0xd60')]('<b>'+(_0x40fc67['name']||_0x40fc67['id']&&_['upperFirst'](_0x1cd3('0x1c9d'))+_0x40fc67['id']||'mailDisposition')+_0x1cd3('0xd52')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')]('delete\x20mailDisposition')[_0x1cd3('0xd63')](_0xd6e4c4)['ok']('OK')['cancel'](_0x1cd3('0xd55'));_0x1da10d[_0x1cd3('0x37e')](_0xfbe832)['then'](function(){_0x119a79(_0x40fc67);},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}function _0xe57b20(_0xaa8481){_0x5896d4['mailAccountMailDispositions']=_0xaa8481||{'count':0x0,'rows':[]};}function _0x4e7ade(){_0x5896d4[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0x5896d4[_0x1cd3('0x3d4')]['page']-0x1)*_0x5896d4['query']['limit'];_0x5896d4[_0x1cd3('0x539')]=_0x21aa82[_0x1cd3('0xa7a')][_0x1cd3('0x12db')](_0x5896d4[_0x1cd3('0x3d4')],_0xe57b20)['$promise'];}function _0x2fa439(_0x1eb389,_0x3b23bb){_0x1da10d[_0x1cd3('0x37e')]({'controller':'CreateOrEditMailDispositionDialogController','controllerAs':'vm','templateUrl':_0x1cd3('0x1c9e'),'parent':angular[_0x1cd3('0x37f')](_0x9342c5['body']),'targetEvent':_0x1eb389,'clickOutsideToClose':!![],'locals':{'mailAccount':_0x5896d4[_0x1cd3('0xa7a')],'mailDisposition':_0x3b23bb,'mailDispositions':_0x5896d4['mailAccountMailDispositions'][_0x1cd3('0xf6')],'license':null,'setting':null,'crudPermissions':_0x5896d4[_0x1cd3('0xd27')]}});}function _0x119a79(_0x5536ef){_0x21aa82['disposition'][_0x1cd3('0xa1c')]({'id':_0x5536ef['id']})[_0x1cd3('0x81')]['then'](function(){_[_0x1cd3('0x383')](_0x5896d4[_0x1cd3('0x1c97')]['rows'],{'id':_0x5536ef['id']});_0x5896d4[_0x1cd3('0x1c97')]['count']-=0x1;if(!_0x5896d4[_0x1cd3('0x1c97')]['rows'][_0x1cd3('0x7a')]){_0x4e7ade();}_0x24935b[_0x1cd3('0x473')]({'title':_0x1cd3('0x1c9f'),'msg':_0x5536ef[_0x1cd3('0x98')]?_0x5536ef[_0x1cd3('0x98')]+_0x1cd3('0xd41'):''});})[_0x1cd3('0xfd')](function(_0x2f62ef){if(_0x2f62ef[_0x1cd3('0x439')]&&_0x2f62ef[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x2f62ef[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')]){vm[_0x1cd3('0xd34')]=_0x2f62ef[_0x1cd3('0x439')]['errors']||[{'message':_0x2f62ef[_0x1cd3('0x43b')](),'type':'SYSTEM:GETmailAccount'}];for(var _0x20ec36=0x0;_0x20ec36<_0x2f62ef[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length'];_0x20ec36++){_0x24935b['error']({'title':_0x2f62ef['data']['errors'][_0x20ec36]['type'],'msg':_0x2f62ef['data']['errors'][_0x20ec36][_0x1cd3('0x43a')]});}}else{_0x24935b['error']({'title':_0x2f62ef['status']?_0x1cd3('0x435')+_0x2f62ef[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x2f62ef['statusText']:_0x1cd3('0x1c7e'),'msg':_0x2f62ef['data']?JSON[_0x1cd3('0x438')](_0x2f62ef[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x2f62ef[_0x1cd3('0x43a')]||_0x2f62ef[_0x1cd3('0x43b')]()});}});}function _0xdfa145(){var _0x3b34cb=angular['copy'](_0x5896d4['selectedMailAccountMailDispositions']);_0x5896d4[_0x1cd3('0x1ca0')]=[];return _0x3b34cb;}function _0x2d556c(_0x10cbfc){var _0x46a63d=_0x1da10d[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x1ca1'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x5896d4['selectedMailAccountMailDispositions'][_0x1cd3('0x7a')]+'\x20selected</b>'+'\x20will\x20be\x20deleted.')[_0x1cd3('0xd3d')](_0x1cd3('0x1ca2'))['targetEvent'](_0x10cbfc)['ok']('OK')[_0x1cd3('0x4d8')]('CANCEL');_0x1da10d[_0x1cd3('0x37e')](_0x46a63d)[_0x1cd3('0x77')](function(){_0x5896d4[_0x1cd3('0x1ca0')][_0x1cd3('0x394')](function(_0x246f00){_0x119a79(_0x246f00);});_0x5896d4[_0x1cd3('0x1ca0')]=[];});}var _0x3aa4b0=!![];var _0x3e7a01=0x1;_0x118fb7[_0x1cd3('0x4d6')](_0x1cd3('0x1340'),function(_0x1e1ec3,_0x4bc23a){if(_0x3aa4b0){_0x5061b7(function(){_0x3aa4b0=![];});}else{if(!_0x4bc23a){_0x3e7a01=_0x5896d4[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0x1e1ec3!==_0x4bc23a){_0x5896d4[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}if(!_0x1e1ec3){_0x5896d4[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0x3e7a01;}_0x4e7ade();}});}}());(function(){'use strict';_0x8e8b81[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x53e'),_0x1cd3('0xd24'),'$mdDialog','$q','$translate',_0x1cd3('0x461'),'mailDispositions',_0x1cd3('0x1ca3'),_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0x463'),_0x1cd3('0xc49'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x2f'))[_0x1cd3('0x39b')](_0x1cd3('0x1ca4'),_0x8e8b81);function _0x8e8b81(_0xbd774e,_0x434527,_0x1e7748,_0x973345,_0x391a17,_0x36a1c6,_0x1e621b,_0x4caa3d,_0x321f33,_0x3f78eb,_0x26a252,_0x30e275,_0x70f43b,_0x360f62){var _0x1553e7=this;_0x1553e7[_0x1cd3('0x3ca')]=_0x26a252[_0x1cd3('0x5d')]();_0x1553e7[_0x1cd3('0xd34')]=[];_0x1553e7[_0x1cd3('0xc49')]=_0x70f43b;_0x1553e7[_0x1cd3('0x463')]=_0x30e275;_0x1553e7[_0x1cd3('0xd27')]=_0x360f62;_0x1553e7[_0x1cd3('0xd28')]={};_0x1553e7[_0x1cd3('0xd29')]=_0x1553e7[_0x1cd3('0xc49')]&&_0x1553e7[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x1553e7[_0x1cd3('0x486')]='MAIL.EDIT_MAILDISPOSITION';_0x1553e7[_0x1cd3('0x1ca3')]=angular[_0x1cd3('0x429')](_0x321f33);_0x1553e7[_0x1cd3('0x1ca5')]=_0x4caa3d;_0x1553e7['newMailDisposition']=![];if(!_0x1553e7[_0x1cd3('0x1ca3')]){_0x1553e7[_0x1cd3('0x1ca3')]={};_0x1553e7[_0x1cd3('0x486')]='MAIL.NEW_MAILDISPOSITION';_0x1553e7[_0x1cd3('0x1ca6')]=!![];}if(_0x434527[_0x1cd3('0x36a')]['id']){_0x1553e7[_0x1cd3('0x1ca3')][_0x1cd3('0x1492')]=_0x434527[_0x1cd3('0x36a')]['id'];}_0x1553e7[_0x1cd3('0x1ca7')]=_0x238e2c;_0x1553e7['saveMailDisposition']=_0x34bed1;_0x1553e7[_0x1cd3('0x1ca8')]=_0x31ecf6;_0x1553e7[_0x1cd3('0xd31')]=_0x38d851;_0x1553e7[_0x1cd3('0x39c')]=_0x23279b;function _0x238e2c(){_0x1553e7[_0x1cd3('0xd34')]=[];_0x3f78eb[_0x1cd3('0xb63')][_0x1cd3('0xd6d')](_0x1553e7[_0x1cd3('0x1ca3')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x2bb7b4){_0x1553e7['mailDispositions'][_0x1cd3('0x621')](_0x2bb7b4[_0x1cd3('0xd32')]());_0x1e621b[_0x1cd3('0x473')]({'title':_0x1cd3('0x1ca9'),'msg':_0x1553e7[_0x1cd3('0x1ca3')][_0x1cd3('0x98')]?_0x1553e7[_0x1cd3('0x1ca3')][_0x1cd3('0x98')]+'\x20has\x20been\x20created!':''});_0x23279b(_0x2bb7b4);})[_0x1cd3('0xfd')](function(_0x3c08f8){if(_0x3c08f8[_0x1cd3('0x439')]&&_0x3c08f8['data'][_0x1cd3('0xd34')]&&_0x3c08f8['data']['errors']['length']){_0x1553e7[_0x1cd3('0xd34')]=_0x3c08f8[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x3c08f8[_0x1cd3('0x43b')](),'type':'api.disposition.save'}];for(var _0x4ffac8=0x0;_0x4ffac8<_0x3c08f8['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x4ffac8+=0x1){_0x1e621b[_0x1cd3('0x434')]({'title':_0x3c08f8[_0x1cd3('0x439')]['errors'][_0x4ffac8]['type'],'msg':_0x3c08f8[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x4ffac8][_0x1cd3('0x43a')]});}}else{_0x1e621b['error']({'title':_0x3c08f8[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x3c08f8['status']+_0x1cd3('0x436')+_0x3c08f8['statusText']:'api.disposition.save','msg':_0x3c08f8[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x3c08f8['data'][_0x1cd3('0x43a')]):_0x3c08f8[_0x1cd3('0x43b')]()});}});}function _0x34bed1(){_0x1553e7[_0x1cd3('0xd34')]=[];_0x3f78eb[_0x1cd3('0xb63')]['update']({'id':_0x1553e7[_0x1cd3('0x1ca3')]['id']},_0x1553e7[_0x1cd3('0x1ca3')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x57860e){var _0x4dbf7b=_['find'](_0x1553e7['mailDispositions'],{'id':_0x57860e['id']});if(_0x4dbf7b){_['merge'](_0x4dbf7b,_[_0x1cd3('0x5e8')](_0x57860e['toJSON'](),_[_0x1cd3('0x80')](_0x4dbf7b)));}_0x1e621b[_0x1cd3('0x473')]({'title':_0x1cd3('0x1caa'),'msg':_0x1553e7[_0x1cd3('0x1ca3')][_0x1cd3('0x98')]?_0x1553e7[_0x1cd3('0x1ca3')][_0x1cd3('0x98')]+_0x1cd3('0xd37'):''});_0x23279b(_0x57860e);})[_0x1cd3('0xfd')](function(_0x5b3443){if(_0x5b3443[_0x1cd3('0x439')]&&_0x5b3443[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x5b3443[_0x1cd3('0x439')]['errors']['length']){_0x1553e7[_0x1cd3('0xd34')]=_0x5b3443[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x5b3443['toString'](),'type':'api.disposition.update'}];for(var _0x52a120=0x0;_0x52a120<_0x5b3443[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0x52a120++){_0x1e621b['error']({'title':_0x5b3443[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x52a120][_0x1cd3('0x424')],'msg':_0x5b3443[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x52a120]['message']});}}else{_0x1e621b[_0x1cd3('0x434')]({'title':_0x5b3443['status']?_0x1cd3('0x435')+_0x5b3443[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x5b3443[_0x1cd3('0xd35')]:_0x1cd3('0x12ea'),'msg':_0x5b3443[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x5b3443[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x5b3443[_0x1cd3('0x43b')]()});}});}function _0x31ecf6(_0x17d26e){_0x1553e7[_0x1cd3('0xd34')]=[];var _0x2f9c96=_0x973345[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xd3a'))[_0x1cd3('0xd3b')](_0x1cd3('0x1cab'))[_0x1cd3('0xd3d')](_0x1cd3('0x1cac'))['ok']('Delete')[_0x1cd3('0x4d8')](_0x1cd3('0x674'))[_0x1cd3('0xd63')](_0x17d26e);_0x973345[_0x1cd3('0x37e')](_0x2f9c96)[_0x1cd3('0x77')](function(){_0x3f78eb[_0x1cd3('0xb63')]['delete']({'id':_0x1553e7[_0x1cd3('0x1ca3')]['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x1553e7['mailDispositions'],{'id':_0x1553e7[_0x1cd3('0x1ca3')]['id']});_0x1e621b[_0x1cd3('0x473')]({'title':_0x1cd3('0x1cad'),'msg':(_0x1553e7[_0x1cd3('0x1ca3')]['name']||_0x1cd3('0x1ca3'))+_0x1cd3('0xd41')});_0x23279b(_0x1553e7[_0x1cd3('0x1ca3')]);})['catch'](function(_0x4eed6e){if(_0x4eed6e[_0x1cd3('0x439')]&&_0x4eed6e[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x4eed6e[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')]){_0x1553e7[_0x1cd3('0xd34')]=_0x4eed6e['data'][_0x1cd3('0xd34')]||[{'message':_0x4eed6e[_0x1cd3('0x43b')](),'type':_0x1cd3('0x12ed')}];for(var _0x4f485a=0x0;_0x4f485a<_0x4eed6e[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length'];_0x4f485a++){_0x1e621b['error']({'title':_0x4eed6e[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x4f485a][_0x1cd3('0x424')],'msg':_0x4eed6e[_0x1cd3('0x439')]['errors'][_0x4f485a][_0x1cd3('0x43a')]});}}else{_0x1e621b[_0x1cd3('0x434')]({'title':_0x4eed6e[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x4eed6e['status']+_0x1cd3('0x436')+_0x4eed6e['statusText']:_0x1cd3('0x12ed'),'msg':_0x4eed6e[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x4eed6e['data'][_0x1cd3('0x43a')]):_0x4eed6e[_0x1cd3('0x43a')]||_0x4eed6e[_0x1cd3('0x43b')]()});}});},function(){});}function _0x38d851(_0x5087d5){return _0x5087d5===null?undefined:new Date(_0x5087d5);}function _0x23279b(_0x1682ce){_0x973345[_0x1cd3('0x39d')](_0x1682ce);}}}());(function(){'use strict';_0x3b3d34['$inject']=[_0x1cd3('0x53e'),_0x1cd3('0xd24'),_0x1cd3('0x3c5'),_0x1cd3('0x372'),_0x1cd3('0x3f7'),_0x1cd3('0x463'),_0x1cd3('0xc49'),'api',_0x1cd3('0x461'),_0x1cd3('0x56'),_0x1cd3('0xa7a'),_0x1cd3('0x390')];angular['module'](_0x1cd3('0x2f'))[_0x1cd3('0x39b')](_0x1cd3('0x1cae'),_0x3b3d34);function _0x3b3d34(_0x3da652,_0x10f318,_0x3a3dd1,_0x33727b,_0x162e93,_0x51190a,_0x2783fa,_0x2ed0e5,_0x7a2e9a,_0x38fc9a,_0x77f85b,_0x414d57){var _0x53cfb6=this;_0x53cfb6['currentUser']=_0x38fc9a[_0x1cd3('0x5d')]();_0x53cfb6[_0x1cd3('0x463')]=_0x51190a;_0x53cfb6[_0x1cd3('0xc49')]=_0x2783fa;_0x53cfb6[_0x1cd3('0xd29')]=_0x53cfb6['setting']['securePassword']?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x53cfb6[_0x1cd3('0xd22')]=_0x10f318[_0x1cd3('0x3b0')]()+_0x1cd3('0x11cf')+_0x10f318[_0x1cd3('0x3ac')]();_0x53cfb6[_0x1cd3('0xa7a')]=_0x77f85b||_0x3da652[_0x1cd3('0x36a')]['mailAccount']||{};_0x53cfb6[_0x1cd3('0x390')]=_0x414d57&&_0x414d57[_0x1cd3('0x466')]==0x1?_0x414d57[_0x1cd3('0xf6')][0x0]:null;_0x53cfb6[_0x1cd3('0xd27')]=_0x38fc9a[_0x1cd3('0xd44')](_0x53cfb6['userProfileSection']?_0x53cfb6[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);_0x53cfb6[_0x1cd3('0xd28')]={};_0x53cfb6[_0x1cd3('0xe5f')]=_0x3da652[_0x1cd3('0x36a')]['tab']||0x0;_0x53cfb6[_0x1cd3('0x1419')]=_0x199da8;_0x53cfb6[_0x1cd3('0x119b')]=_0x3130d8;_0x53cfb6['alert']=_0x7a2e9a[_0x1cd3('0x654')];_0x53cfb6[_0x1cd3('0x1caf')]=_0x3ce375;_0x53cfb6[_0x1cd3('0x1cb0')]=_0x2429cc;_0x38fc9a[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x2ed0e5[_0x1cd3('0xc8f')]['get']({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0xb5df10){_0x53cfb6[_0x1cd3('0xf5')]=_0xb5df10[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x1d32f1){_0x7a2e9a[_0x1cd3('0x434')]({'title':_0x1d32f1[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x1d32f1[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x1d32f1['statusText']:_0x1cd3('0x11f3'),'msg':_0x1d32f1[_0x1cd3('0x439')]?JSON['stringify'](_0x1d32f1['data']):_0x1d32f1['toString']()});}):_0x2ed0e5['cmList']['get']({'fields':'id,name','sort':_0x1cd3('0x98')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x140e14){_0x53cfb6[_0x1cd3('0xf5')]=_0x140e14[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x2ed0e5[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x53cfb6[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x12d})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x22848b){var _0x3cdd31=_0x22848b&&_0x22848b[_0x1cd3('0xf6')]?_0x22848b[_0x1cd3('0xf6')][0x0]:null;if(!_0x3cdd31){var _0x4c64a6=[];var _0x3411ab=null;if(_0x53cfb6[_0x1cd3('0xa7a')]){_0x3411ab=_[_0x1cd3('0x442')](_0x53cfb6[_0x1cd3('0xf5')],{'id':Number(_0x53cfb6[_0x1cd3('0xa7a')]['ListId'])});}for(var _0x369565=0x0;_0x369565<_0x53cfb6['lists'][_0x1cd3('0x7a')];_0x369565++){if(_0x3411ab&&_0x53cfb6['lists'][_0x369565]['id']===_0x3411ab['id']){_0x53cfb6[_0x1cd3('0xf5')][_0x369565][_0x1cd3('0xf4a')]=![];_0x4c64a6[_0x1cd3('0x7b')](_0x53cfb6['lists'][_0x369565]);}}_0x53cfb6['lists']=_0x4c64a6;}else{if(!_0x3cdd31[_0x1cd3('0x391')]){return _0x2ed0e5[_0x1cd3('0x392')]['get']({'sectionId':_0x3cdd31['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x510a5b){var _0x701951=_[_0x1cd3('0x3d9')](_0x510a5b['rows'],function(_0x543104){return _[_0x1cd3('0x442')](_0x53cfb6[_0x1cd3('0xf5')],{'id':_0x543104[_0x1cd3('0xe8e')]});});var _0x374e60=null;if(_0x53cfb6[_0x1cd3('0xa7a')]){_0x374e60=_[_0x1cd3('0x442')](_0x53cfb6[_0x1cd3('0xf5')],{'id':Number(_0x53cfb6['mailAccount'][_0x1cd3('0x106')])});}if(_0x374e60&&!_[_0x1cd3('0x38d')](_0x701951,['id',_0x374e60['id']])){var _0x1aa71b=_[_0x1cd3('0x442')](_0x53cfb6[_0x1cd3('0xf5')],{'id':_0x374e60['id']});_0x1aa71b[_0x1cd3('0xf4a')]=![];_0x701951[_0x1cd3('0x7b')](_0x1aa71b);}_0x53cfb6[_0x1cd3('0xf5')]=_0x701951;});}}})['catch'](function(_0x4228be){_0x7a2e9a[_0x1cd3('0x434')]({'title':_0x4228be[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x4228be[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x4228be[_0x1cd3('0xd35')]:_0x1cd3('0x137f'),'msg':_0x4228be[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x4228be[_0x1cd3('0x439')]):_0x4228be[_0x1cd3('0x43b')]()});});_0x38fc9a[_0x1cd3('0x57')]('admin')?_0x2ed0e5['pause'][_0x1cd3('0x361')]({'fields':_0x1cd3('0x1380'),'sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0xaa8703){_0x53cfb6[_0x1cd3('0x1381')]=_0xaa8703[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x3beb40){_0x7a2e9a[_0x1cd3('0x434')]({'title':_0x3beb40['status']?_0x1cd3('0x435')+_0x3beb40[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x3beb40[_0x1cd3('0xd35')]:_0x1cd3('0x1382'),'msg':_0x3beb40[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x3beb40['data']):_0x3beb40[_0x1cd3('0x43b')]()});}):_0x2ed0e5[_0x1cd3('0x63e')]['get']({'fields':_0x1cd3('0x1380'),'sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})['$promise'][_0x1cd3('0x77')](function(_0x1af88a){_0x53cfb6[_0x1cd3('0x1381')]=_0x1af88a[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x2ed0e5[_0x1cd3('0x390')]['get']({'userProfileId':_0x53cfb6[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x3ed})['$promise'];})['then'](function(_0x12827f){var _0x3bf310=_0x12827f&&_0x12827f['rows']?_0x12827f[_0x1cd3('0xf6')][0x0]:null;if(!_0x3bf310){_0x53cfb6[_0x1cd3('0x1381')]=[];}else{if(!_0x3bf310[_0x1cd3('0x391')]){return _0x2ed0e5[_0x1cd3('0x392')]['get']({'sectionId':_0x3bf310['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x3e50f0){var _0x1b36d6=_[_0x1cd3('0x3d9')](_0x3e50f0['rows'],function(_0x5e9b94){return _[_0x1cd3('0x442')](_0x53cfb6['pauses'],{'id':_0x5e9b94[_0x1cd3('0xe8e')]});});_0x53cfb6[_0x1cd3('0x1381')][_0x1cd3('0x394')](function(_0x4a3779){if(!_[_0x1cd3('0x38d')](_0x1b36d6,['id',_0x4a3779['id']])){_0x4a3779[_0x1cd3('0xf4a')]=![];}_0x1b36d6['push'](_0x4a3779);});_0x53cfb6[_0x1cd3('0x1381')]=_0x1b36d6;});}}})[_0x1cd3('0xfd')](function(_0x116c76){_0x7a2e9a[_0x1cd3('0x434')]({'title':_0x116c76[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x116c76[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x116c76[_0x1cd3('0xd35')]:_0x1cd3('0x1935'),'msg':_0x116c76[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x116c76[_0x1cd3('0x439')]):_0x116c76[_0x1cd3('0x43b')]()});});function _0x199da8(_0x127781,_0x23a911){if(_0x38fc9a[_0x1cd3('0x57')](_0x1cd3('0x5f'))){_0x3da652['go'](_0x1cd3('0x1eb'),{});}else{return _0x2ed0e5['userProfileSection'][_0x1cd3('0x361')]({'userProfileId':_0x38fc9a[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x262})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x27467e){var _0x3a3d9b=_0x27467e&&_0x27467e['rows']?_0x27467e[_0x1cd3('0xf6')][0x0]:null;if(_0x3a3d9b&&_0x3a3d9b[_0x1cd3('0x396')]){_0x3da652['go'](_0x1cd3('0x1eb'),{});}else{_0x7a2e9a[_0x1cd3('0x654')]({'title':_0x162e93['instant'](_0x1cd3('0x1164')),'msg':_0x162e93[_0x1cd3('0x44a')]('STAFF.PERMISSIONS_UNAUTHORIZED_REDIRECT_MESSAGE')});}})[_0x1cd3('0xfd')](function(_0xa0565f){_0x7a2e9a[_0x1cd3('0x434')]({'title':_0xa0565f[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0xa0565f[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0xa0565f[_0x1cd3('0xd35')]:_0x1cd3('0x11aa'),'msg':_0xa0565f[_0x1cd3('0x3a6')]?JSON[_0x1cd3('0x438')](_0xa0565f[_0x1cd3('0x439')]):_0xa0565f[_0x1cd3('0x43b')]()});});}}function _0x3130d8(_0x5ca27d,_0x568cee){_0x3a3dd1[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1c63'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1cb1'),'parent':angular[_0x1cd3('0x37f')](_0x33727b[_0x1cd3('0x380')]),'targetEvent':_0x568cee,'clickOutsideToClose':!![],'locals':{'mailAccount':_0x5ca27d,'mailAccounts':_0x53cfb6[_0x1cd3('0xefa')]?_0x53cfb6[_0x1cd3('0xefa')][_0x1cd3('0xf6')]:[],'crudPermissions':_0x53cfb6[_0x1cd3('0xd27')],'realtime':![]}});}function _0x3ce375(){_0x3da652['go'](_0x1cd3('0x1d7'),{},{'reload':_0x1cd3('0x1d7')});}function _0x2429cc(){_0x2ed0e5['mailAccount'][_0x1cd3('0x378')]({'id':_0x53cfb6['mailAccount']['id']},_0x53cfb6[_0x1cd3('0xa7a')])[_0x1cd3('0x81')]['then'](function(){_0x7a2e9a['success']({'title':_0x1cd3('0x1cb2'),'msg':_0x53cfb6[_0x1cd3('0xa7a')][_0x1cd3('0x98')]?_0x53cfb6[_0x1cd3('0xa7a')][_0x1cd3('0x98')]+_0x1cd3('0xe65'):''});})[_0x1cd3('0xfd')](function(_0x38ac23){_0x7a2e9a[_0x1cd3('0x434')]({'title':_0x38ac23[_0x1cd3('0x3a6')]?'API:'+_0x38ac23[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x38ac23[_0x1cd3('0xd35')]:_0x1cd3('0x1c7e'),'msg':_0x38ac23[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x38ac23['data']):_0x38ac23['toString']()});});}}}());(function(){'use strict';_0xa99739[_0x1cd3('0xc')]=[_0x1cd3('0x460'),'$window',_0x1cd3('0x53e'),_0x1cd3('0x969'),'$mdDialog','$document',_0x1cd3('0x3e7'),_0x1cd3('0x3f7'),_0x1cd3('0xefa'),_0x1cd3('0x38a'),_0x1cd3('0x390'),_0x1cd3('0x370'),_0x1cd3('0x2dd'),_0x1cd3('0x461'),_0x1cd3('0x56'),_0x1cd3('0x463'),_0x1cd3('0xc49')];angular[_0x1cd3('0x0')]('app.mail')[_0x1cd3('0x39b')](_0x1cd3('0x1cb3'),_0xa99739);function _0xa99739(_0x4c8b7a,_0xe1bfa,_0x282750,_0xad733d,_0xb7e80c,_0x142ae6,_0xa2e8c4,_0x51db9e,_0x33c4e5,_0x110915,_0x3c013c,_0x21ec4e,_0x19d3dd,_0x23dcda,_0x9ab395,_0x388b2b,_0x276f64){var _0x13dc43=this;_0x13dc43['license']=_0x388b2b;_0x13dc43[_0x1cd3('0xc49')]=_0x276f64;_0x13dc43[_0x1cd3('0x3ca')]=_0x9ab395['getCurrentUser']();_0x13dc43[_0x1cd3('0xefa')]=_0x33c4e5||{'count':0x0,'rows':[]};_0x13dc43['userProfile']=_0x110915;_0x13dc43[_0x1cd3('0x390')]=_0x3c013c&&_0x3c013c[_0x1cd3('0x466')]==0x1?_0x3c013c[_0x1cd3('0xf6')][0x0]:null;_0x13dc43[_0x1cd3('0xd27')]=_0x9ab395[_0x1cd3('0xd44')](_0x13dc43[_0x1cd3('0x390')]?_0x13dc43[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);_0x13dc43['table']=_0x1cd3('0xefa');_0x13dc43['listOrder']='';_0x13dc43['listOrderAsc']=null;_0x13dc43[_0x1cd3('0x1cb4')]=[];_0x13dc43[_0x1cd3('0x3d4')]={'fields':_0x1cd3('0x1de'),'sort':_0x1cd3('0x5b'),'limit':0xa,'page':0x1};_0x13dc43[_0x1cd3('0x1cb5')]=_['keyBy']([{'option':_0x1cd3('0x1cb6'),'value':'null'},{'option':_0x1cd3('0x1cb7'),'value':'\x27gmail\x27'},{'option':'Hotmail','value':_0x1cd3('0x1cb8')},{'option':_0x1cd3('0x1cb9'),'value':_0x1cd3('0x1cba')},{'option':_0x1cd3('0x1cbb'),'value':_0x1cd3('0x1cbc')}],function(_0x3b480b){return _[_0x1cd3('0x3f1')](_0x3b480b['value'],new RegExp('\x27','g'),'');});_0x13dc43['arrayImap.service']=_['keyBy']([{'option':_0x1cd3('0x1cb6'),'value':_0x1cd3('0x220')},{'option':_0x1cd3('0x1cb7'),'value':_0x1cd3('0x1cbd')},{'option':'Hotmail','value':_0x1cd3('0x1cb8')},{'option':_0x1cd3('0x1cb9'),'value':_0x1cd3('0x1cba')},{'option':_0x1cd3('0x1cbb'),'value':_0x1cd3('0x1cbc')}],function(_0x3fe886){return _[_0x1cd3('0x3f1')](_0x3fe886[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x13dc43[_0x1cd3('0x1cbe')]=_['keyBy']([{'option':_0x1cd3('0x1cb6'),'value':_0x1cd3('0x220')},{'option':_0x1cd3('0x1cb7'),'value':_0x1cd3('0x1cbd')},{'option':_0x1cd3('0x1cbf'),'value':_0x1cd3('0x1cb8')},{'option':_0x1cd3('0x1cb9'),'value':_0x1cd3('0x1cba')},{'option':_0x1cd3('0x1cbb'),'value':'\x27outlook365\x27'}],function(_0x29bca){return _['replace'](_0x29bca[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x13dc43['editstate']=_0x599146;_0x13dc43[_0x1cd3('0x1cc0')]=_0x4a9309;_0x13dc43[_0x1cd3('0x11eb')]=_0x4efa2f;_0x13dc43['gotorealtimegoto']=_0x27a70c;_0x13dc43['agentadddialog']=_0x3a2c17;_0x13dc43[_0x1cd3('0xecc')]=_0x5e352d;_0x13dc43['success']=_0x307fed;_0x13dc43[_0x1cd3('0x15f3')]=_0x1b3af;_0x13dc43[_0x1cd3('0x1cc1')]=_0x533d68;_0x13dc43[_0x1cd3('0x1c51')]=_0x3f8f72;_0x13dc43[_0x1cd3('0x1cc2')]=_0x2e041d;_0x13dc43[_0x1cd3('0x1cc3')]=_0x4480eb;_0x13dc43['deselectMailAccounts']=_0xe24586;_0x13dc43[_0x1cd3('0x1cc4')]=_0x36a96d;_0x9ab395[_0x1cd3('0x57')]('admin')?_0x21ec4e['cmList'][_0x1cd3('0x361')]({'fields':'id,name','sort':_0x1cd3('0x98')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x391a35){_0x13dc43[_0x1cd3('0xf5')]=_0x391a35[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x2ea12f){_0x23dcda[_0x1cd3('0x434')]({'title':_0x2ea12f[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x2ea12f['status']+_0x1cd3('0x436')+_0x2ea12f[_0x1cd3('0xd35')]:_0x1cd3('0x11f3'),'msg':_0x2ea12f[_0x1cd3('0x439')]?JSON['stringify'](_0x2ea12f[_0x1cd3('0x439')]):_0x2ea12f[_0x1cd3('0x43b')]()});}):_0x21ec4e[_0x1cd3('0xc8f')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x26fb91){_0x13dc43[_0x1cd3('0xf5')]=_0x26fb91['rows']||[];})[_0x1cd3('0x77')](function(){return _0x21ec4e[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x13dc43['currentUser'][_0x1cd3('0x5e')],'sectionId':0x12d})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x4b7196){var _0x31468b=_0x4b7196&&_0x4b7196['rows']?_0x4b7196[_0x1cd3('0xf6')][0x0]:null;if(!_0x31468b){var _0x46502b=[];var _0x405fb3=null;if(_0x13dc43[_0x1cd3('0xa7a')]){_0x405fb3=_[_0x1cd3('0x442')](_0x13dc43[_0x1cd3('0xf5')],{'id':Number(_0x13dc43[_0x1cd3('0xa7a')][_0x1cd3('0x106')])});}for(var _0x4aa4f9=0x0;_0x4aa4f9<_0x13dc43[_0x1cd3('0xf5')]['length'];_0x4aa4f9++){if(_0x405fb3&&_0x13dc43[_0x1cd3('0xf5')][_0x4aa4f9]['id']===_0x405fb3['id']){_0x13dc43[_0x1cd3('0xf5')][_0x4aa4f9][_0x1cd3('0xf4a')]=![];_0x46502b[_0x1cd3('0x7b')](_0x13dc43[_0x1cd3('0xf5')][_0x4aa4f9]);}}_0x13dc43[_0x1cd3('0xf5')]=_0x46502b;}else{if(!_0x31468b['autoAssociation']){return _0x21ec4e[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x31468b['id']})['$promise'][_0x1cd3('0x77')](function(_0x55c917){var _0x100115=_[_0x1cd3('0x3d9')](_0x55c917['rows'],function(_0x3b5fd7){return _[_0x1cd3('0x442')](_0x13dc43[_0x1cd3('0xf5')],{'id':_0x3b5fd7['resourceId']});});var _0x2264df=null;if(_0x13dc43['mailAccount']){_0x2264df=_[_0x1cd3('0x442')](_0x13dc43[_0x1cd3('0xf5')],{'id':Number(_0x13dc43[_0x1cd3('0xa7a')][_0x1cd3('0x106')])});}if(_0x2264df&&!_['some'](_0x100115,['id',_0x2264df['id']])){var _0x4cd1cf=_[_0x1cd3('0x442')](_0x13dc43[_0x1cd3('0xf5')],{'id':_0x2264df['id']});_0x4cd1cf[_0x1cd3('0xf4a')]=![];_0x100115[_0x1cd3('0x7b')](_0x4cd1cf);}_0x13dc43[_0x1cd3('0xf5')]=_0x100115;});}}})[_0x1cd3('0xfd')](function(_0x8a860f){_0x23dcda[_0x1cd3('0x434')]({'title':_0x8a860f[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x8a860f[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x8a860f[_0x1cd3('0xd35')]:_0x1cd3('0x137f'),'msg':_0x8a860f['data']?JSON[_0x1cd3('0x438')](_0x8a860f[_0x1cd3('0x439')]):_0x8a860f[_0x1cd3('0x43b')]()});});function _0x599146(_0x604e30,_0x14624c){_0x282750['go'](_0x1cd3('0x1db'),{'id':_0x604e30['id'],'mailAccount':_0x604e30,'crudPermissions':_0x13dc43[_0x1cd3('0xd27')]});}function _0x4a9309(_0x33c1f5,_0x15e83d){if(_0x33c1f5&&_0x33c1f5['id']){return _0x21ec4e['mailAccount'][_0x1cd3('0x182f')]({'id':_0x33c1f5['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x23dcda[_0x1cd3('0x473')]({'title':'Smtp\x20properly\x20verified','msg':_0x1cd3('0x1a28')});})[_0x1cd3('0xfd')](function(_0x5a6f74){_0x23dcda[_0x1cd3('0x434')]({'title':_0x1cd3('0x1cc5'),'msg':_0x5a6f74[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x5a6f74[_0x1cd3('0x439')]):_0x5a6f74[_0x1cd3('0x43b')]()});});}else{_0x23dcda[_0x1cd3('0x434')]({'title':'Smtp\x20properly\x20verified','msg':_0x1cd3('0x1cc6')});}}function _0x4efa2f(_0x23c378,_0x2ca639){_0x282750['go'](_0x1cd3('0x1db'),{'id':_0x23c378['id'],'tab':0x7});}function _0x27a70c(_0x2e1c03,_0x18aa81){if(_0x9ab395[_0x1cd3('0x57')](_0x1cd3('0x5f'))){_0x282750['go'](_0x1cd3('0x1eb'),{});}else{return _0x21ec4e[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x9ab395[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x262})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x366c25){var _0x4fc725=_0x366c25&&_0x366c25[_0x1cd3('0xf6')]?_0x366c25[_0x1cd3('0xf6')][0x0]:null;if(_0x4fc725&&_0x4fc725[_0x1cd3('0x396')]){_0x282750['go'](_0x1cd3('0x1eb'),{});}else{_0x23dcda[_0x1cd3('0x654')]({'title':_0x51db9e[_0x1cd3('0x44a')](_0x1cd3('0x1164')),'msg':_0x51db9e[_0x1cd3('0x44a')](_0x1cd3('0x11a9'))});}})[_0x1cd3('0xfd')](function(_0x48f646){_0x23dcda['error']({'title':_0x48f646[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x48f646[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x48f646[_0x1cd3('0xd35')]:_0x1cd3('0x11aa'),'msg':_0x48f646[_0x1cd3('0x3a6')]?JSON[_0x1cd3('0x438')](_0x48f646[_0x1cd3('0x439')]):_0x48f646[_0x1cd3('0x43b')]()});});}}function _0x3a2c17(_0x6c22c3,_0x1575ef){_0xb7e80c[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1c63'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1cb1'),'parent':angular[_0x1cd3('0x37f')](_0x142ae6[_0x1cd3('0x380')]),'targetEvent':_0x1575ef,'clickOutsideToClose':!![],'locals':{'mailAccount':_0x6c22c3,'mailAccounts':_0x13dc43[_0x1cd3('0xefa')]?_0x13dc43[_0x1cd3('0xefa')][_0x1cd3('0xf6')]:[],'crudPermissions':_0x13dc43[_0x1cd3('0xd27')],'realtime':![]}});}function _0x5e352d(_0x10d32b,_0x1644d8){var _0x21e9cc=_0xb7e80c[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xd4f')+_[_0x1cd3('0xd50')](_0x1cd3('0xa7a'))+'?')[_0x1cd3('0xd60')](_0x1cd3('0xd51')+(_0x10d32b['name']||_0x1cd3('0xa7a'))+_0x1cd3('0xd52')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')]('delete\x20mailAccount')['targetEvent'](_0x1644d8)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0xb7e80c[_0x1cd3('0x37e')](_0x21e9cc)[_0x1cd3('0x77')](function(){_0x3f8f72(_0x10d32b);},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}var _0x3efce1=!![];var _0x586a48=0x1;_0x4c8b7a[_0x1cd3('0x4d6')](_0x1cd3('0xd56'),function(_0x126122,_0x44c50d){if(_0x3efce1){_0xa2e8c4(function(){_0x3efce1=![];});}else{if(!_0x44c50d){_0x586a48=_0x13dc43[_0x1cd3('0x3d4')]['page'];}if(_0x126122!==_0x44c50d){_0x13dc43[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}if(!_0x126122){_0x13dc43[_0x1cd3('0x3d4')]['page']=_0x586a48;}_0x13dc43[_0x1cd3('0x15f3')]();}});function _0x307fed(_0x4f6605){_0x13dc43['mailAccounts']=_0x4f6605||{'count':0x0,'rows':[]};}function _0x1b3af(){_0x13dc43[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0x13dc43[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0x13dc43[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];if(_0x9ab395['hasRole'](_0x1cd3('0x5f'))){_0x13dc43['promise']=_0x21ec4e['mailAccount'][_0x1cd3('0x361')](_0x13dc43['query'],_0x307fed)['$promise'];}else{_0x13dc43[_0x1cd3('0x3d4')]['id']=_0x13dc43[_0x1cd3('0x38a')]['id'];_0x13dc43[_0x1cd3('0x3d4')][_0x1cd3('0xd58')]='MailAccounts';_0x13dc43[_0x1cd3('0x539')]=_0x21ec4e[_0x1cd3('0x38a')][_0x1cd3('0xd59')](_0x13dc43[_0x1cd3('0x3d4')],_0x307fed)['$promise'];}}function _0x533d68(_0x4a166e,_0x11d9c4){_0xb7e80c[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1c4e'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1cc7'),'parent':angular[_0x1cd3('0x37f')](_0x142ae6[_0x1cd3('0x380')]),'targetEvent':_0x4a166e,'clickOutsideToClose':!![],'locals':{'mailAccount':_0x11d9c4,'mailAccounts':_0x13dc43[_0x1cd3('0xefa')][_0x1cd3('0xf6')],'license':_0x13dc43[_0x1cd3('0x463')],'setting':_0x13dc43[_0x1cd3('0xc49')],'crudPermissions':_0x13dc43['crudPermissions']}});}function _0x3f8f72(_0x1ef10b){if(_0x1ef10b[_0x1cd3('0x1cc8')]){return _0x23dcda[_0x1cd3('0x434')]({'title':_0x1cd3('0x1c56'),'msg':_0x1cd3('0x1c57')});}_0x21ec4e['mailAccount'][_0x1cd3('0xa1c')]({'id':_0x1ef10b['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_['remove'](_0x13dc43['mailAccounts']['rows'],{'id':_0x1ef10b['id']});_0x13dc43['mailAccounts'][_0x1cd3('0x466')]-=0x1;if(!_0x13dc43[_0x1cd3('0xefa')]['rows'][_0x1cd3('0x7a')]){_0x13dc43['getMailAccounts']();}_0x23dcda[_0x1cd3('0x473')]({'title':_['startCase']('MailAccount')+_0x1cd3('0xd5c'),'msg':_0x1ef10b[_0x1cd3('0x98')]?_0x1ef10b[_0x1cd3('0x98')]+_0x1cd3('0xd41'):''});})[_0x1cd3('0xfd')](function(_0x41e9d7){if(_0x41e9d7[_0x1cd3('0x439')]&&_0x41e9d7['data']['errors']&&_0x41e9d7[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x13dc43[_0x1cd3('0xd34')]=_0x41e9d7[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x41e9d7[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1cc9')}];for(var _0x2209fc=0x0;_0x2209fc<_0x41e9d7['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x2209fc++){_0x23dcda['error']({'title':_0x41e9d7[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x2209fc]['type'],'msg':_0x41e9d7[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x2209fc][_0x1cd3('0x43a')]});}}else{_0x23dcda[_0x1cd3('0x434')]({'title':_0x41e9d7[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x41e9d7[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x41e9d7['statusText']:_0x1cd3('0x1cc9'),'msg':_0x41e9d7['data']?JSON[_0x1cd3('0x438')](_0x41e9d7[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x41e9d7[_0x1cd3('0x43a')]||_0x41e9d7[_0x1cd3('0x43b')]()});}});}function _0x2e041d(){var _0x21a0b2=angular[_0x1cd3('0x429')](_0x13dc43[_0x1cd3('0x1cb4')]);_0x13dc43[_0x1cd3('0x1cb4')]=[];return _0x21a0b2;}function _0x4480eb(_0x3e8698){var _0x44e705=_0xb7e80c[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x1cca'))[_0x1cd3('0xd60')]('<b>'+_0x13dc43[_0x1cd3('0x1cb4')][_0x1cd3('0x7a')]+'\x20selected</b>'+'\x20will\x20be\x20deleted.')[_0x1cd3('0xd3d')]('delete\x20MailAccounts')[_0x1cd3('0xd63')](_0x3e8698)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0xb7e80c['show'](_0x44e705)[_0x1cd3('0x77')](function(){_0x13dc43[_0x1cd3('0x1cb4')][_0x1cd3('0x394')](function(_0x562690){_0x3f8f72(_0x562690);});_0x13dc43[_0x1cd3('0x1cb4')]=[];});}function _0xe24586(){_0x13dc43[_0x1cd3('0x1cb4')]=[];}function _0x36a96d(){_0x13dc43[_0x1cd3('0x1cb4')]=_0x13dc43[_0x1cd3('0xefa')][_0x1cd3('0xf6')];}}}());(function(){'use strict';_0x55554d[_0x1cd3('0xc')]=[_0x1cd3('0x460'),'$state',_0x1cd3('0xd24'),_0x1cd3('0x3c5'),'$q',_0x1cd3('0x3f7'),'toasty',_0x1cd3('0x16df'),_0x1cd3('0xa85'),_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0x463'),_0x1cd3('0xc49'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x2f'))[_0x1cd3('0x39b')](_0x1cd3('0x1ccb'),_0x55554d);function _0x55554d(_0x1af579,_0x2e47f9,_0x18bed7,_0x32f588,_0x4f7a31,_0x37e43f,_0x4ba0f7,_0x583044,_0x5336ba,_0x516057,_0x4bc4ba,_0x4b28d2,_0x225170,_0x353d60){var _0x339919=this;_0x339919[_0x1cd3('0x3ca')]=_0x4bc4ba[_0x1cd3('0x5d')]();_0x339919[_0x1cd3('0xd34')]=[];_0x339919['setting']=_0x225170;_0x339919['license']=_0x4b28d2;_0x339919['crudPermissions']=_0x353d60;_0x339919[_0x1cd3('0xd28')]={};_0x339919['passwordPattern']=_0x339919[_0x1cd3('0xc49')]&&_0x339919[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x339919[_0x1cd3('0x486')]=_0x1cd3('0x1ccc');_0x339919[_0x1cd3('0xa85')]=angular['copy'](_0x5336ba);_0x339919[_0x1cd3('0x16df')]=_0x583044;_0x339919[_0x1cd3('0x1ccd')]=![];if(!_0x339919[_0x1cd3('0xa85')]){_0x339919[_0x1cd3('0xa85')]={'strategy':_0x1cd3('0x11b2'),'timeout':0xa};_0x339919['title']=_0x1cd3('0x1cce');_0x339919[_0x1cd3('0x1ccd')]=!![];}_0x339919['addNewMailQueue']=_0x198113;_0x339919[_0x1cd3('0x1ccf')]=_0x556d08;_0x339919[_0x1cd3('0x1cd0')]=_0x21f73a;_0x339919['getDateFromString']=_0x2d23f5;_0x339919[_0x1cd3('0x39c')]=_0x4ef300;function _0x198113(){_0x339919['errors']=[];_0x516057[_0x1cd3('0xa85')][_0x1cd3('0xd6d')](_0x339919[_0x1cd3('0xa85')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0xaf82c1){_0x339919[_0x1cd3('0x16df')]['unshift'](_0xaf82c1[_0x1cd3('0xd32')]());_0x4ba0f7[_0x1cd3('0x473')]({'title':_0x1cd3('0x1cd1'),'msg':_0x339919[_0x1cd3('0xa85')][_0x1cd3('0x98')]?_0x339919['mailQueue'][_0x1cd3('0x98')]+_0x1cd3('0xd33'):''});_0x4ef300(_0xaf82c1);})[_0x1cd3('0xfd')](function(_0x26b4f1){if(_0x26b4f1['data']&&_0x26b4f1[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x26b4f1[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x339919[_0x1cd3('0xd34')]=_0x26b4f1['data'][_0x1cd3('0xd34')]||[{'message':_0x26b4f1[_0x1cd3('0x43b')](),'type':'api.mailQueue.save'}];for(var _0x4d52cf=0x0;_0x4d52cf<_0x26b4f1[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0x4d52cf+=0x1){_0x4ba0f7[_0x1cd3('0x434')]({'title':_0x26b4f1['data'][_0x1cd3('0xd34')][_0x4d52cf][_0x1cd3('0x424')],'msg':_0x26b4f1[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x4d52cf]['message']});}}else{_0x4ba0f7[_0x1cd3('0x434')]({'title':_0x26b4f1[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x26b4f1[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x26b4f1[_0x1cd3('0xd35')]:_0x1cd3('0x1cd2'),'msg':_0x26b4f1['data']?JSON['stringify'](_0x26b4f1[_0x1cd3('0x439')]['message']):_0x26b4f1['toString']()});}});}function _0x556d08(){_0x339919[_0x1cd3('0xd34')]=[];_0x516057[_0x1cd3('0xa85')][_0x1cd3('0x378')]({'id':_0x339919[_0x1cd3('0xa85')]['id']},_0x339919[_0x1cd3('0xa85')])[_0x1cd3('0x81')]['then'](function(_0x54ec0a){var _0x543a11=_[_0x1cd3('0x442')](_0x339919[_0x1cd3('0x16df')],{'id':_0x54ec0a['id']});if(_0x543a11){_['merge'](_0x543a11,_[_0x1cd3('0x5e8')](_0x54ec0a[_0x1cd3('0xd32')](),_[_0x1cd3('0x80')](_0x543a11)));}_0x4ba0f7[_0x1cd3('0x473')]({'title':_0x1cd3('0x1cd3'),'msg':_0x339919[_0x1cd3('0xa85')][_0x1cd3('0x98')]?_0x339919[_0x1cd3('0xa85')]['name']+_0x1cd3('0xd37'):''});_0x4ef300(_0x54ec0a);})['catch'](function(_0x40a666){if(_0x40a666[_0x1cd3('0x439')]&&_0x40a666['data']['errors']&&_0x40a666[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x339919[_0x1cd3('0xd34')]=_0x40a666[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x40a666[_0x1cd3('0x43b')](),'type':'api.mailQueue.update'}];for(var _0x402227=0x0;_0x402227<_0x40a666['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x402227++){_0x4ba0f7['error']({'title':_0x40a666[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x402227][_0x1cd3('0x424')],'msg':_0x40a666['data'][_0x1cd3('0xd34')][_0x402227][_0x1cd3('0x43a')]});}}else{_0x4ba0f7[_0x1cd3('0x434')]({'title':_0x40a666[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x40a666['status']+_0x1cd3('0x436')+_0x40a666[_0x1cd3('0xd35')]:_0x1cd3('0x1cd4'),'msg':_0x40a666['data']?JSON['stringify'](_0x40a666[_0x1cd3('0x439')]['message']):_0x40a666[_0x1cd3('0x43b')]()});}});}function _0x21f73a(_0x3688e6){_0x339919[_0x1cd3('0xd34')]=[];var _0x3c44ac=_0x32f588[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xd3a'))[_0x1cd3('0xd3b')](_0x1cd3('0x1cd5'))[_0x1cd3('0xd3d')](_0x1cd3('0x1cd6'))['ok'](_0x1cd3('0xd3f'))[_0x1cd3('0x4d8')](_0x1cd3('0x674'))[_0x1cd3('0xd63')](_0x3688e6);_0x32f588[_0x1cd3('0x37e')](_0x3c44ac)['then'](function(){_0x516057['mailQueue'][_0x1cd3('0xa1c')]({'id':_0x339919[_0x1cd3('0xa85')]['id']})[_0x1cd3('0x81')]['then'](function(){_[_0x1cd3('0x383')](_0x339919[_0x1cd3('0x16df')],{'id':_0x339919['mailQueue']['id']});_0x4ba0f7['success']({'title':_0x1cd3('0x1cd7'),'msg':(_0x339919[_0x1cd3('0xa85')]['name']||_0x1cd3('0xa85'))+_0x1cd3('0xd41')});_0x4ef300(_0x339919['mailQueue']);})['catch'](function(_0x30b202){if(_0x30b202[_0x1cd3('0x439')]&&_0x30b202[_0x1cd3('0x439')]['errors']&&_0x30b202[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x339919[_0x1cd3('0xd34')]=_0x30b202[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x30b202['toString'](),'type':'api.mailQueue.delete'}];for(var _0x1c4755=0x0;_0x1c4755<_0x30b202[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x1c4755++){_0x4ba0f7[_0x1cd3('0x434')]({'title':_0x30b202[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1c4755][_0x1cd3('0x424')],'msg':_0x30b202[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1c4755][_0x1cd3('0x43a')]});}}else{_0x4ba0f7['error']({'title':_0x30b202[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x30b202[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x30b202['statusText']:_0x1cd3('0x1cd8'),'msg':_0x30b202[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x30b202[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x30b202['message']||_0x30b202[_0x1cd3('0x43b')]()});}});},function(){});}function _0x2d23f5(_0x1bb02b){return _0x1bb02b===null?undefined:new Date(_0x1bb02b);}function _0x4ef300(_0x42aff3){_0x32f588['hide'](_0x42aff3);}}}());(function(){'use strict';_0x55f78a['$inject']=[_0x1cd3('0x3c5'),'$q',_0x1cd3('0x461'),_0x1cd3('0x370'),_0x1cd3('0xa85'),_0x1cd3('0x16df'),_0x1cd3('0x11b9'),_0x1cd3('0x3f7'),'Auth','crudPermissions'];angular[_0x1cd3('0x0')](_0x1cd3('0x2f'))[_0x1cd3('0x39b')]('MailQueueagentaddController',_0x55f78a);function _0x55f78a(_0x2d5de2,_0x15564b,_0x16b7ff,_0x32ab0f,_0x40faf0,_0x89c109,_0x49f03,_0x450cee,_0x4c119e,_0x3af4ea){var _0x26e2d9=this;_0x26e2d9[_0x1cd3('0x3ca')]=_0x4c119e[_0x1cd3('0x5d')]();_0x26e2d9[_0x1cd3('0xa85')]=_0x40faf0;_0x26e2d9['crudPermissions']=_0x3af4ea;_0x26e2d9['realtime']=_0x49f03;_0x26e2d9[_0x1cd3('0x493')]=[];_0x26e2d9['allowedItems']=[];_0x26e2d9['selectedItems']=[];_0x26e2d9[_0x1cd3('0x11bb')]=[];_0x26e2d9[_0x1cd3('0x11be')]=[];_0x26e2d9[_0x1cd3('0x11c6')]=![];_0x26e2d9['onInit']=_0x1af8dc;_0x26e2d9['saveAgents']=_0x4596ea;_0x26e2d9[_0x1cd3('0x39c')]=_0x21c1a7;_0x26e2d9[_0x1cd3('0x1145')]={'readOnly':!_0x26e2d9[_0x1cd3('0xd27')][_0x1cd3('0xe3b')],'items':[],'selectedItems':[],'showSelectAndDeselectAll':!![],'orderBy':_0x1cd3('0x98'),'line1':_0x1cd3('0xd3'),'line2':[_0x1cd3('0x98'),'internal'],'line3':'','labelAll':_0x450cee['instant'](_0x1cd3('0x1c64')),'labelSelected':_0x450cee[_0x1cd3('0x44a')](_0x1cd3('0x1c65')),'transferCallback':function(_0x3802a9,_0x10bb19){var _0x2106b5=_[_0x1cd3('0x11c8')](_0x26e2d9[_0x1cd3('0x11be')],_0x26e2d9[_0x1cd3('0x492')],'id');_0x26e2d9['pendingChanges']=_[_0x1cd3('0x398')](_0x2106b5)?![]:!![];}};function _0x1af8dc(){return _0x4c119e['hasRole'](_0x1cd3('0x5f'))?_0x4c924e()['catch'](function(_0x4d56b6){_0x16b7ff[_0x1cd3('0x434')]({'title':_0x4d56b6[_0x1cd3('0x3a6')]?'API:'+_0x4d56b6['status']+'\x20-\x20'+_0x4d56b6[_0x1cd3('0xd35')]:'SYSTEM:GET_AGENTS','msg':_0x4d56b6[_0x1cd3('0x3a6')]?JSON[_0x1cd3('0x438')](_0x4d56b6[_0x1cd3('0x439')]):_0x4d56b6['toString']()});}):_0x38f96e()[_0x1cd3('0x77')](function(_0x4a7859){_0x26e2d9[_0x1cd3('0xd58')]=_0x4a7859;return _0x4c924e();})[_0x1cd3('0xfd')](function(_0x297246){_0x16b7ff[_0x1cd3('0x434')]({'title':_0x297246[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x297246['status']+_0x1cd3('0x436')+_0x297246[_0x1cd3('0xd35')]:_0x1cd3('0x11bf'),'msg':_0x297246[_0x1cd3('0x3a6')]?JSON[_0x1cd3('0x438')](_0x297246[_0x1cd3('0x439')]):_0x297246[_0x1cd3('0x43b')]()});});}function _0x38f96e(){return _0x15564b(function(_0x488644,_0x15ed9d){_0x32ab0f[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x26e2d9[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'name':_0x1cd3('0xd4')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x5de2e5){var _0x381093=_0x5de2e5&&_0x5de2e5[_0x1cd3('0xf6')]?_0x5de2e5['rows'][0x0]:null;_0x488644(_0x381093);})[_0x1cd3('0xfd')](function(_0x48a85b){_0x15ed9d(_0x48a85b);});});}function _0x4c924e(){return _0x15564b(function(_0x4dcdea,_0x3db0d4){return _0x4ff702()['then'](function(_0x48e2a2){_0x26e2d9[_0x1cd3('0x493')]=_0x48e2a2[_0x1cd3('0xf6')]?_0x48e2a2[_0x1cd3('0xf6')]:[];if(_0x4c119e['hasRole']('admin')){return _0x48e2a2;}else{if(_0x26e2d9[_0x1cd3('0xd58')]){return _0x26e2d9[_0x1cd3('0xd58')][_0x1cd3('0x391')]?_0x48e2a2:_0x1e620c();}else{return null;}}})['then'](function(_0x154a4a){var _0x53ea2f=_0x154a4a&&_0x154a4a[_0x1cd3('0xf6')]?_0x154a4a[_0x1cd3('0xf6')]:[];_0x26e2d9['allowedItems']=_['map'](_0x53ea2f,function(_0x399d8e){return _[_0x1cd3('0x442')](_0x26e2d9[_0x1cd3('0x493')],{'id':_0x4c119e['hasRole'](_0x1cd3('0x5f'))||_0x26e2d9['section'][_0x1cd3('0x391')]?_0x399d8e['id']:_0x399d8e['resourceId']});});_0x26e2d9[_0x1cd3('0x11bb')]=angular[_0x1cd3('0x429')](_0x26e2d9[_0x1cd3('0x11ba')]);_0x26e2d9['items']['forEach'](function(_0x4c50ad){var _0x551029=_[_0x1cd3('0x442')](_0x26e2d9[_0x1cd3('0x11ba')],{'id':_0x4c50ad['id']});if(_0x4c119e[_0x1cd3('0x57')]('admin')){_0x4c50ad[_0x1cd3('0x490')]=!![];}else{_0x4c50ad['isValid']=typeof _0x551029!==_0x1cd3('0x491')?!![]:![];}});return _0x3d1f07();})['then'](function(_0x376c72){var _0x4c18df=_0x376c72&&_0x376c72[_0x1cd3('0xf6')]?_0x376c72['rows']:[];_0x26e2d9['selectedItems']=_['map'](_0x4c18df,function(_0x1c03eb){var _0x550be7=_[_0x1cd3('0x442')](_0x26e2d9['items'],{'id':_0x1c03eb['id']});_0x550be7['penalty']=_0x1c03eb[_0x1cd3('0x1cd9')]?_0x1cd3('0x1503')+_0x1c03eb['UserMailQueue'][_0x1cd3('0x1146')]:'';_0x550be7[_0x1cd3('0x311')]=_0x1c03eb[_0x1cd3('0x3d0')]('internal')?'<'+_0x1c03eb[_0x1cd3('0x311')]+'>':'';return _0x550be7;});_0x26e2d9['startingSelectedItems']=angular[_0x1cd3('0x429')](_0x26e2d9[_0x1cd3('0x492')]);_0x26e2d9[_0x1cd3('0x1145')][_0x1cd3('0x492')]=_0x26e2d9[_0x1cd3('0x492')];_0x26e2d9[_0x1cd3('0x1145')][_0x1cd3('0x493')]=_[_0x1cd3('0x1152')](_0x26e2d9[_0x1cd3('0x11ba')],_0x26e2d9[_0x1cd3('0x1145')]['selectedItems'],'id');_0x4dcdea();})[_0x1cd3('0xfd')](function(_0x3dbe32){_0x3db0d4(_0x3dbe32);});});}function _0x1e620c(){return _0x15564b(function(_0x1e0e1a,_0x22470b){return _0x32ab0f[_0x1cd3('0x392')]['get']({'sectionId':_0x26e2d9['section']['id'],'nolimit':!![]})['$promise'][_0x1cd3('0x77')](function(_0x3fb3a5){_0x1e0e1a(_0x3fb3a5);})[_0x1cd3('0xfd')](function(_0x35cf83){_0x22470b(_0x35cf83);});});}function _0x3d1f07(){return _0x15564b(function(_0x27555c,_0xf72ca4){return _0x32ab0f['mailQueue']['getAgents']({'id':_0x26e2d9[_0x1cd3('0xa85')]['id'],'fields':'id,name,internal,fullname','nolimit':!![],'role':_0x1cd3('0xd2')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x4e179f){_0x27555c(_0x4e179f);})[_0x1cd3('0xfd')](function(_0x14c370){_0xf72ca4(_0x14c370);});});}function _0x4ff702(){return _0x15564b(function(_0x687f55,_0x2272b9){return _0x32ab0f[_0x1cd3('0x368')][_0x1cd3('0x361')]({'fields':_0x1cd3('0x11c1'),'nolimit':!![],'role':'agent'})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x1df0ec){_0x687f55(_0x1df0ec);})['catch'](function(_0x15be0c){_0x2272b9(_0x15be0c);});});}function _0xe96522(_0x71dee1){return _0x15564b(function(_0x39c49e,_0x3404db){if(_['isEmpty'](_0x71dee1)){_0x39c49e();}else{_0x32ab0f[_0x1cd3('0xa85')][_0x1cd3('0x11c2')]({'id':_0x26e2d9['mailQueue']['id'],'ids':_[_0x1cd3('0x3d9')](_0x71dee1,'id')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x39c49e();})[_0x1cd3('0xfd')](function(_0x3ea1cb){_0x3404db(_0x3ea1cb);});}});}function _0x36fbaf(_0x10d550){return _0x15564b(function(_0x52f892,_0x148c64){if(_[_0x1cd3('0x398')](_0x10d550)){_0x52f892();}else{_0x32ab0f[_0x1cd3('0xa85')][_0x1cd3('0x11c3')]({'id':_0x26e2d9['mailQueue']['id'],'ids':_[_0x1cd3('0x3d9')](_0x10d550,'id')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x52f892();})[_0x1cd3('0xfd')](function(_0x168a4a){_0x148c64(_0x168a4a);});}});}function _0x4596ea(){var _0x631731=_[_0x1cd3('0x1152')](_0x26e2d9[_0x1cd3('0x11be')],_0x26e2d9[_0x1cd3('0x492')],'id');var _0x39b673=_[_0x1cd3('0x1152')](_0x26e2d9['selectedItems'],_0x26e2d9[_0x1cd3('0x11be')],'id');return _0x36fbaf(_0x631731)[_0x1cd3('0x77')](function(){return _0xe96522(_0x39b673);})[_0x1cd3('0x77')](function(){_0x26e2d9[_0x1cd3('0x11c6')]=![];_0x26e2d9[_0x1cd3('0x11bb')]=angular[_0x1cd3('0x429')](_0x26e2d9[_0x1cd3('0x11ba')]);_0x26e2d9[_0x1cd3('0x11be')]=angular[_0x1cd3('0x429')](_0x26e2d9[_0x1cd3('0x492')]);_0x16b7ff[_0x1cd3('0x473')]({'title':'SUCCESS','msg':_0x1cd3('0x11c5')});})['catch'](function(_0x31c8ea){_0x16b7ff['error']({'title':_0x31c8ea[_0x1cd3('0x3a6')]?'API:'+_0x31c8ea[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x31c8ea[_0x1cd3('0xd35')]:'SYSTEM:LISTS_ASSOCIATION','msg':_0x31c8ea[_0x1cd3('0x3a6')]?JSON[_0x1cd3('0x438')](_0x31c8ea[_0x1cd3('0x439')]):_0x31c8ea['toString']()});});}function _0x21c1a7(){_0x2d5de2[_0x1cd3('0x39d')]();}}}());(function(){'use strict';_0x53b7f8[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),'$q',_0x1cd3('0x461'),_0x1cd3('0x370'),_0x1cd3('0xa85'),_0x1cd3('0x3f7'),_0x1cd3('0x56'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x2f'))['controller'](_0x1cd3('0x1cda'),_0x53b7f8);function _0x53b7f8(_0x247dda,_0xb6b948,_0x4db8e9,_0x26821f,_0x3c5bcf,_0x431b87,_0x28f0fa,_0x403ca7){var _0x35f683=this;_0x35f683[_0x1cd3('0x3ca')]=_0x28f0fa[_0x1cd3('0x5d')]();_0x35f683[_0x1cd3('0xa85')]=_0x3c5bcf;_0x35f683[_0x1cd3('0xd27')]=_0x403ca7;_0x35f683[_0x1cd3('0x493')]=[];_0x35f683['allowedItems']=[];_0x35f683[_0x1cd3('0x492')]=[];_0x35f683[_0x1cd3('0x11bb')]=[];_0x35f683[_0x1cd3('0x11be')]=[];_0x35f683[_0x1cd3('0x11c6')]=![];_0x35f683['dualMultiselectOptions']={'readOnly':!_0x35f683['crudPermissions'][_0x1cd3('0xe3b')],'allowedItems':[],'selectedItems':[],'showSelectAndDeselectAll':!![],'orderBy':_0x1cd3('0x98'),'line1':_0x1cd3('0x98'),'line2':'','line3':'','labelAll':_0x431b87['instant'](_0x1cd3('0x1cdb')),'labelSelected':_0x431b87[_0x1cd3('0x44a')](_0x1cd3('0x1cdc')),'transferCallback':function(_0x538395,_0x52be69){var _0x4ebaca=_['xorBy'](_0x35f683['startingSelectedItems'],_0x35f683[_0x1cd3('0x492')],'id');_0x35f683[_0x1cd3('0x11c6')]=_[_0x1cd3('0x398')](_0x4ebaca)?![]:!![];}};_0x35f683[_0x1cd3('0x703')]=_0x2b6419;_0x35f683[_0x1cd3('0x1968')]=_0x3d6c71;_0x35f683['closeDialog']=_0x396646;function _0x2b6419(){return _0x28f0fa[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x2cf9dc()[_0x1cd3('0xfd')](function(_0x40d736){_0x4db8e9['error']({'title':_0x40d736[_0x1cd3('0x3a6')]?'API:'+_0x40d736['status']+_0x1cd3('0x436')+_0x40d736[_0x1cd3('0xd35')]:_0x1cd3('0x11c9'),'msg':_0x40d736[_0x1cd3('0x3a6')]?JSON['stringify'](_0x40d736[_0x1cd3('0x439')]):_0x40d736[_0x1cd3('0x43b')]()});}):_0x5539a9()[_0x1cd3('0x77')](function(_0x19f2b1){_0x35f683['section']=_0x19f2b1;return _0x2cf9dc();})[_0x1cd3('0xfd')](function(_0xf699de){_0x4db8e9['error']({'title':_0xf699de['status']?_0x1cd3('0x435')+_0xf699de[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0xf699de[_0x1cd3('0xd35')]:'SYSTEM:GET_TEAMS','msg':_0xf699de[_0x1cd3('0x3a6')]?JSON[_0x1cd3('0x438')](_0xf699de['data']):_0xf699de[_0x1cd3('0x43b')]()});});}function _0x5539a9(){return _0xb6b948(function(_0x2ae7f7,_0x220013){_0x26821f[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x35f683[_0x1cd3('0x3ca')]['userProfileId'],'name':_0x1cd3('0x296')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x3fff89){var _0x2887a9=_0x3fff89&&_0x3fff89[_0x1cd3('0xf6')]?_0x3fff89['rows'][0x0]:null;_0x2ae7f7(_0x2887a9);})[_0x1cd3('0xfd')](function(_0x4f4194){_0x220013(_0x4f4194);});});}function _0x2cf9dc(){return _0xb6b948(function(_0x5ee4d6,_0x9d217){return _0x2756ae()[_0x1cd3('0x77')](function(_0x563c13){_0x35f683['items']=_0x563c13[_0x1cd3('0xf6')]?_0x563c13[_0x1cd3('0xf6')]:[];if(_0x28f0fa[_0x1cd3('0x57')]('admin')){return _0x563c13;}else{if(_0x35f683[_0x1cd3('0xd58')]){return _0x35f683[_0x1cd3('0xd58')][_0x1cd3('0x391')]?_0x563c13:_0x67bbbc();}else{return null;}}})[_0x1cd3('0x77')](function(_0x1c5abd){var _0x526215=_0x1c5abd&&_0x1c5abd[_0x1cd3('0xf6')]?_0x1c5abd[_0x1cd3('0xf6')]:[];_0x35f683[_0x1cd3('0x11ba')]=_[_0x1cd3('0x3d9')](_0x526215,function(_0x1d9627){return _[_0x1cd3('0x442')](_0x35f683[_0x1cd3('0x493')],{'id':_0x28f0fa[_0x1cd3('0x57')](_0x1cd3('0x5f'))||_0x35f683[_0x1cd3('0xd58')][_0x1cd3('0x391')]?_0x1d9627['id']:_0x1d9627['resourceId']});});_0x35f683['items'][_0x1cd3('0x394')](function(_0x350b8d){var _0x192ac9=_[_0x1cd3('0x442')](_0x35f683[_0x1cd3('0x11ba')],{'id':_0x350b8d['id']});if(_0x28f0fa[_0x1cd3('0x57')](_0x1cd3('0x5f'))){_0x350b8d[_0x1cd3('0x490')]=!![];}else{_0x350b8d[_0x1cd3('0x490')]=typeof _0x192ac9!==_0x1cd3('0x491')?!![]:![];}});return _0x56c54f();})['then'](function(_0x260a31){var _0x4b79cc=_0x260a31&&_0x260a31[_0x1cd3('0xf6')]?_0x260a31[_0x1cd3('0xf6')]:[];_0x35f683[_0x1cd3('0x492')]=_['map'](_0x4b79cc,function(_0x5d6baa){return _[_0x1cd3('0x442')](_0x35f683[_0x1cd3('0x493')],{'id':_0x5d6baa['id']});});_0x35f683['startingSelectedItems']=angular[_0x1cd3('0x429')](_0x35f683['selectedItems']);_0x35f683[_0x1cd3('0x1145')][_0x1cd3('0x492')]=_0x35f683[_0x1cd3('0x492')];_0x35f683[_0x1cd3('0x1145')]['items']=_[_0x1cd3('0x1152')](_0x35f683[_0x1cd3('0x11ba')],_0x35f683[_0x1cd3('0x1145')]['selectedItems'],'id');_0x5ee4d6();})['catch'](function(_0x1639e7){_0x9d217(_0x1639e7);});});}function _0x67bbbc(){return _0xb6b948(function(_0x1216a5,_0x1470fe){return _0x26821f['userProfileResource'][_0x1cd3('0x361')]({'sectionId':_0x35f683['section']['id'],'nolimit':!![]})['$promise']['then'](function(_0x2082f9){_0x1216a5(_0x2082f9);})[_0x1cd3('0xfd')](function(_0x58a6db){_0x1470fe(_0x58a6db);});});}function _0x56c54f(){return _0xb6b948(function(_0x28975f,_0x56f6aa){return _0x26821f[_0x1cd3('0xa85')][_0x1cd3('0x11ca')]({'id':_0x35f683[_0x1cd3('0xa85')]['id'],'fields':'id,name','nolimit':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x3ac94d){_0x28975f(_0x3ac94d);})[_0x1cd3('0xfd')](function(_0x31d59f){_0x56f6aa(_0x31d59f);});});}function _0x2756ae(){return _0xb6b948(function(_0x50862a,_0x5b37f3){return _0x26821f[_0x1cd3('0xc61')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'nolimit':!![]})[_0x1cd3('0x81')]['then'](function(_0x367f38){_0x50862a(_0x367f38);})[_0x1cd3('0xfd')](function(_0x6461f){_0x5b37f3(_0x6461f);});});}function _0x5793d1(_0x463730){return _0xb6b948(function(_0x17a18b,_0xb947ae){if(_['isEmpty'](_0x463730)){_0x17a18b();}else{_0x26821f[_0x1cd3('0xa85')][_0x1cd3('0x11cb')]({'id':_0x35f683[_0x1cd3('0xa85')]['id'],'ids':_[_0x1cd3('0x3d9')](_0x463730,'id')})['$promise']['then'](function(){_0x17a18b();})['catch'](function(_0x47e180){_0xb947ae(_0x47e180);});}});}function _0x778b3f(_0x4cfef7){return _0xb6b948(function(_0x2184fb,_0x5b54eb){if(_['isEmpty'](_0x4cfef7)){_0x2184fb();}else{_0x26821f[_0x1cd3('0xa85')][_0x1cd3('0x11cc')]({'id':_0x35f683[_0x1cd3('0xa85')]['id'],'ids':_[_0x1cd3('0x3d9')](_0x4cfef7,'id')})['$promise'][_0x1cd3('0x77')](function(){_0x2184fb();})[_0x1cd3('0xfd')](function(_0x4298a5){_0x5b54eb(_0x4298a5);});}});}function _0x3d6c71(){var _0x3367a8=_['differenceBy'](_0x35f683[_0x1cd3('0x11be')],_0x35f683['selectedItems'],'id');var _0x184822=_['differenceBy'](_0x35f683[_0x1cd3('0x492')],_0x35f683[_0x1cd3('0x11be')],'id');return _0x778b3f(_0x3367a8)[_0x1cd3('0x77')](function(){return _0x5793d1(_0x184822);})['then'](function(){_0x35f683[_0x1cd3('0x11c6')]=![];_0x35f683['startingAllowedItems']=angular[_0x1cd3('0x429')](_0x35f683[_0x1cd3('0x11ba')]);_0x35f683[_0x1cd3('0x11be')]=angular['copy'](_0x35f683[_0x1cd3('0x492')]);_0x4db8e9[_0x1cd3('0x473')]({'title':_0x1cd3('0x11c4'),'msg':_0x1cd3('0x11cd')});})[_0x1cd3('0xfd')](function(_0x4e7cd1){_0x4db8e9[_0x1cd3('0x434')]({'title':_0x4e7cd1[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x4e7cd1[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x4e7cd1[_0x1cd3('0xd35')]:_0x1cd3('0x11ce'),'msg':_0x4e7cd1[_0x1cd3('0x3a6')]?JSON[_0x1cd3('0x438')](_0x4e7cd1[_0x1cd3('0x439')]):_0x4e7cd1[_0x1cd3('0x43b')]()});});}function _0x396646(){_0x247dda[_0x1cd3('0x39d')]();}}}());(function(){'use strict';_0x22ec50['$inject']=[_0x1cd3('0x53e'),_0x1cd3('0xd24'),_0x1cd3('0x3c5'),'$document',_0x1cd3('0x3f7'),_0x1cd3('0x463'),'setting',_0x1cd3('0x370'),_0x1cd3('0x461'),_0x1cd3('0x56'),_0x1cd3('0xa85'),_0x1cd3('0x390')];angular[_0x1cd3('0x0')](_0x1cd3('0x2f'))[_0x1cd3('0x39b')]('MailQueueController',_0x22ec50);function _0x22ec50(_0x21a6e5,_0x3c74e2,_0x50dc47,_0xd692dd,_0x19b169,_0x548573,_0x509db0,_0x1954da,_0x1aa1e7,_0x56023c,_0x264357,_0x278367){var _0xeae9b3=this;_0xeae9b3[_0x1cd3('0x3ca')]=_0x56023c['getCurrentUser']();_0xeae9b3[_0x1cd3('0x463')]=_0x548573;_0xeae9b3[_0x1cd3('0xc49')]=_0x509db0;_0xeae9b3[_0x1cd3('0xd29')]=_0xeae9b3[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0xeae9b3[_0x1cd3('0xd22')]=_0x3c74e2[_0x1cd3('0x3b0')]()+'://'+_0x3c74e2[_0x1cd3('0x3ac')]();_0xeae9b3[_0x1cd3('0xa85')]=_0x264357||_0x21a6e5['params'][_0x1cd3('0xa85')]||{};_0xeae9b3[_0x1cd3('0x390')]=_0x278367&&_0x278367[_0x1cd3('0x466')]==0x1?_0x278367[_0x1cd3('0xf6')][0x0]:null;_0xeae9b3[_0x1cd3('0xd27')]=_0x56023c['parseCrudPermissions'](_0xeae9b3[_0x1cd3('0x390')]?_0xeae9b3[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);_0xeae9b3['hasModulePermissions']={};_0xeae9b3[_0x1cd3('0xe5f')]=_0x21a6e5['params']['tab']||0x0;_0xeae9b3[_0x1cd3('0x119a')]=_0xc16c9f;_0xeae9b3['agentadddialog']=_0x14cf18;_0xeae9b3['alert']=_0x1aa1e7['info'];_0xeae9b3[_0x1cd3('0x1cdd')]=_0x3a032d;_0xeae9b3['saveMailQueue']=_0x3a59df;function _0xc16c9f(_0xa73ce2,_0x109be8){_0x50dc47[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1cda'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1cde'),'parent':angular[_0x1cd3('0x37f')](_0xd692dd['body']),'targetEvent':_0x109be8,'clickOutsideToClose':!![],'locals':{'mailQueue':_0xa73ce2,'mailQueues':_0xeae9b3['mailQueues']?_0xeae9b3[_0x1cd3('0x16df')][_0x1cd3('0xf6')]:[],'crudPermissions':_0xeae9b3[_0x1cd3('0xd27')]}});}function _0x14cf18(_0x19cb62,_0x5be173){_0x50dc47[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1cdf'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1ce0'),'parent':angular[_0x1cd3('0x37f')](_0xd692dd[_0x1cd3('0x380')]),'targetEvent':_0x5be173,'clickOutsideToClose':!![],'locals':{'mailQueue':_0x19cb62,'mailQueues':_0xeae9b3['mailQueues']?_0xeae9b3[_0x1cd3('0x16df')][_0x1cd3('0xf6')]:[],'crudPermissions':_0xeae9b3[_0x1cd3('0xd27')],'realtime':![]}});}function _0x3a032d(){_0x21a6e5['go'](_0x1cd3('0x1cd'),{},{'reload':_0x1cd3('0x1cd')});}function _0x3a59df(){_0x1954da[_0x1cd3('0xa85')][_0x1cd3('0x378')]({'id':_0xeae9b3[_0x1cd3('0xa85')]['id']},_0xeae9b3[_0x1cd3('0xa85')])['$promise'][_0x1cd3('0x77')](function(){_0x1aa1e7[_0x1cd3('0x473')]({'title':_0x1cd3('0x1ce1'),'msg':_0xeae9b3['mailQueue'][_0x1cd3('0x98')]?_0xeae9b3['mailQueue'][_0x1cd3('0x98')]+_0x1cd3('0xe65'):''});})[_0x1cd3('0xfd')](function(_0x119c76){_0x1aa1e7['error']({'title':_0x119c76[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x119c76[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x119c76[_0x1cd3('0xd35')]:_0x1cd3('0x1ce2'),'msg':_0x119c76['data']?JSON[_0x1cd3('0x438')](_0x119c76[_0x1cd3('0x439')]):_0x119c76[_0x1cd3('0x43b')]()});});}}}());(function(){'use strict';_0x3b941e[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x371'),_0x1cd3('0x53e'),_0x1cd3('0x969'),'$mdDialog',_0x1cd3('0x372'),'$timeout','$translate','mailQueues','userProfile',_0x1cd3('0x390'),_0x1cd3('0x370'),'msUtils',_0x1cd3('0x461'),_0x1cd3('0x56'),'license','setting'];angular['module'](_0x1cd3('0x2f'))[_0x1cd3('0x39b')](_0x1cd3('0x1ce3'),_0x3b941e);function _0x3b941e(_0xc7d0a4,_0x4e7278,_0x590615,_0x1b80ad,_0x76f46d,_0x197d45,_0x3900b4,_0x256faa,_0x2e0298,_0x18ed71,_0x9e54d2,_0x44e627,_0x578c13,_0x53a22b,_0x323459,_0x189987,_0x2d9bb2){var _0x5aa88b=this;_0x5aa88b[_0x1cd3('0x463')]=_0x189987;_0x5aa88b[_0x1cd3('0xc49')]=_0x2d9bb2;_0x5aa88b[_0x1cd3('0x3ca')]=_0x323459['getCurrentUser']();_0x5aa88b[_0x1cd3('0x16df')]=_0x2e0298||{'count':0x0,'rows':[]};_0x5aa88b[_0x1cd3('0x38a')]=_0x18ed71;_0x5aa88b[_0x1cd3('0x390')]=_0x9e54d2&&_0x9e54d2['count']==0x1?_0x9e54d2[_0x1cd3('0xf6')][0x0]:null;_0x5aa88b['crudPermissions']=_0x323459[_0x1cd3('0xd44')](_0x5aa88b['userProfileSection']?_0x5aa88b[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);_0x5aa88b[_0x1cd3('0xd45')]='mailQueues';_0x5aa88b[_0x1cd3('0xd46')]='';_0x5aa88b[_0x1cd3('0xd47')]=null;_0x5aa88b[_0x1cd3('0x1ce4')]=[];_0x5aa88b[_0x1cd3('0x3d4')]={'fields':_0x1cd3('0xbb'),'sort':_0x1cd3('0x5b'),'channel':_0x1cd3('0x1d2'),'limit':0xa,'page':0x1};_0x5aa88b['arraystrategy']=_[_0x1cd3('0xe2d')]([{'option':_0x1cd3('0x1ce5'),'value':_0x1cd3('0x1199')},{'option':_0x1cd3('0x1970'),'value':_0x1cd3('0x1971')}],function(_0x2caac3){return _[_0x1cd3('0x3f1')](_0x2caac3['value'],new RegExp('\x27','g'),'');});_0x5aa88b[_0x1cd3('0x1171')]=_0x5e791c;_0x5aa88b[_0x1cd3('0x119a')]=_0x2ac622;_0x5aa88b['agentadddialog']=_0x2a1940;_0x5aa88b[_0x1cd3('0xecc')]=_0x367bcc;_0x5aa88b['gotorealtimegoto']=_0x315eff;_0x5aa88b[_0x1cd3('0x473')]=_0x4411cc;_0x5aa88b[_0x1cd3('0x16e2')]=_0x4d7a56;_0x5aa88b[_0x1cd3('0x1ce6')]=_0x5d7f8d;_0x5aa88b['deleteMailQueue']=_0x23d720;_0x5aa88b[_0x1cd3('0x1ce7')]=_0x1bb9d3;_0x5aa88b['deleteSelectedMailQueues']=_0x1249a3;_0x5aa88b[_0x1cd3('0x1ce8')]=_0x4fdabc;_0x5aa88b[_0x1cd3('0x1ce9')]=_0xe3f632;function _0x5e791c(_0x55f47d,_0x3eb6b7){_0x590615['go'](_0x1cd3('0x1d4'),{'id':_0x55f47d['id'],'mailQueue':_0x55f47d,'crudPermissions':_0x5aa88b[_0x1cd3('0xd27')]});}function _0x2ac622(_0xe983a1,_0x43afb4){_0x76f46d[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1cda'),'controllerAs':'vm','templateUrl':'app/main/apps/mail/views/mailQueues/edit/teamadd/teamadd.html','parent':angular[_0x1cd3('0x37f')](_0x197d45['body']),'targetEvent':_0x43afb4,'clickOutsideToClose':!![],'locals':{'mailQueue':_0xe983a1,'mailQueues':_0x5aa88b[_0x1cd3('0x16df')]?_0x5aa88b[_0x1cd3('0x16df')][_0x1cd3('0xf6')]:[],'crudPermissions':_0x5aa88b[_0x1cd3('0xd27')]}});}function _0x2a1940(_0x1950c7,_0x12bd06){_0x76f46d[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1cdf'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1ce0'),'parent':angular[_0x1cd3('0x37f')](_0x197d45[_0x1cd3('0x380')]),'targetEvent':_0x12bd06,'clickOutsideToClose':!![],'locals':{'mailQueue':_0x1950c7,'mailQueues':_0x5aa88b[_0x1cd3('0x16df')]?_0x5aa88b[_0x1cd3('0x16df')][_0x1cd3('0xf6')]:[],'crudPermissions':_0x5aa88b[_0x1cd3('0xd27')],'realtime':![]}});}function _0x367bcc(_0x4c5d94,_0x5b71f3){var _0x221f0a=_0x76f46d['confirm']()[_0x1cd3('0x486')](_0x1cd3('0xd4f')+_['startCase']('mailQueue')+'?')[_0x1cd3('0xd60')](_0x1cd3('0xd51')+(_0x4c5d94[_0x1cd3('0x98')]||_0x1cd3('0xa85'))+'</b>'+_0x1cd3('0xd53'))['ariaLabel'](_0x1cd3('0x1cea'))['targetEvent'](_0x5b71f3)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x76f46d[_0x1cd3('0x37e')](_0x221f0a)[_0x1cd3('0x77')](function(){_0x23d720(_0x4c5d94);},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}function _0x315eff(_0x529fa1,_0x193204){if(_0x323459[_0x1cd3('0x57')](_0x1cd3('0x5f'))){_0x590615['go'](_0x1cd3('0x1e7'),{});}else{return _0x44e627[_0x1cd3('0x390')]['get']({'userProfileId':_0x323459['getCurrentUser']()[_0x1cd3('0x5e')],'sectionId':0x262})['$promise']['then'](function(_0xb40e87){var _0x1e0347=_0xb40e87&&_0xb40e87['rows']?_0xb40e87[_0x1cd3('0xf6')][0x0]:null;if(_0x1e0347&&_0x1e0347[_0x1cd3('0x396')]){_0x590615['go'](_0x1cd3('0x1e7'),{});}else{_0x53a22b[_0x1cd3('0x654')]({'title':_0x256faa[_0x1cd3('0x44a')]('STAFF.PERMISSIONS_UNAUTHORIZED_REDIRECT_TITLE'),'msg':_0x256faa[_0x1cd3('0x44a')](_0x1cd3('0x11a9'))});}})[_0x1cd3('0xfd')](function(_0x446095){_0x53a22b[_0x1cd3('0x434')]({'title':_0x446095[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x446095['status']+'\x20-\x20'+_0x446095['statusText']:_0x1cd3('0x11aa'),'msg':_0x446095[_0x1cd3('0x3a6')]?JSON[_0x1cd3('0x438')](_0x446095[_0x1cd3('0x439')]):_0x446095[_0x1cd3('0x43b')]()});});}}var _0x2ae4cc=!![];var _0x24dfbd=0x1;_0xc7d0a4[_0x1cd3('0x4d6')]('vm.query.filter',function(_0x583263,_0x13ef85){if(_0x2ae4cc){_0x3900b4(function(){_0x2ae4cc=![];});}else{if(!_0x13ef85){_0x24dfbd=_0x5aa88b['query'][_0x1cd3('0x8fd')];}if(_0x583263!==_0x13ef85){_0x5aa88b[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}if(!_0x583263){_0x5aa88b[_0x1cd3('0x3d4')]['page']=_0x24dfbd;}_0x5aa88b['getMailQueues']();}});function _0x4411cc(_0x2863fa){_0x5aa88b['mailQueues']=_0x2863fa||{'count':0x0,'rows':[]};}function _0x4d7a56(){_0x5aa88b[_0x1cd3('0x3d4')]['offset']=(_0x5aa88b[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0x5aa88b[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];if(_0x323459['hasRole'](_0x1cd3('0x5f'))){_0x5aa88b['promise']=_0x44e627[_0x1cd3('0xa85')]['get'](_0x5aa88b[_0x1cd3('0x3d4')],_0x4411cc)['$promise'];}else{_0x5aa88b[_0x1cd3('0x3d4')]['id']=_0x5aa88b['userProfile']['id'];_0x5aa88b['query']['section']=_0x1cd3('0x1d3');_0x5aa88b[_0x1cd3('0x539')]=_0x44e627[_0x1cd3('0x38a')][_0x1cd3('0xd59')](_0x5aa88b['query'],_0x4411cc)[_0x1cd3('0x81')];}}function _0x5d7f8d(_0x5f5901,_0xc11f7e){_0x76f46d[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1ccb'),'controllerAs':'vm','templateUrl':'app/main/apps/mail/views/mailQueues/create/dialog.html','parent':angular[_0x1cd3('0x37f')](_0x197d45['body']),'targetEvent':_0x5f5901,'clickOutsideToClose':!![],'locals':{'mailQueue':_0xc11f7e,'mailQueues':_0x5aa88b[_0x1cd3('0x16df')][_0x1cd3('0xf6')],'license':_0x5aa88b[_0x1cd3('0x463')],'setting':_0x5aa88b['setting'],'crudPermissions':_0x5aa88b[_0x1cd3('0xd27')]}});}function _0x23d720(_0x2bb66b){_0x44e627['mailQueue'][_0x1cd3('0xa1c')]({'id':_0x2bb66b['id']})['$promise']['then'](function(){_['remove'](_0x5aa88b[_0x1cd3('0x16df')][_0x1cd3('0xf6')],{'id':_0x2bb66b['id']});_0x5aa88b[_0x1cd3('0x16df')][_0x1cd3('0x466')]-=0x1;if(!_0x5aa88b['mailQueues']['rows']['length']){_0x5aa88b['getMailQueues']();}_0x53a22b[_0x1cd3('0x473')]({'title':_[_0x1cd3('0xd50')]('MailQueue')+'\x20deleted!','msg':_0x2bb66b[_0x1cd3('0x98')]?_0x2bb66b['name']+_0x1cd3('0xd41'):''});})[_0x1cd3('0xfd')](function(_0x448271){if(_0x448271[_0x1cd3('0x439')]&&_0x448271[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x448271['data'][_0x1cd3('0xd34')]['length']){_0x5aa88b[_0x1cd3('0xd34')]=_0x448271['data'][_0x1cd3('0xd34')]||[{'message':_0x448271[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1ceb')}];for(var _0x133949=0x0;_0x133949<_0x448271[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x133949++){_0x53a22b['error']({'title':_0x448271['data']['errors'][_0x133949]['type'],'msg':_0x448271[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x133949]['message']});}}else{_0x53a22b[_0x1cd3('0x434')]({'title':_0x448271[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x448271[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x448271[_0x1cd3('0xd35')]:_0x1cd3('0x1ceb'),'msg':_0x448271[_0x1cd3('0x439')]?JSON['stringify'](_0x448271[_0x1cd3('0x439')]['message']):_0x448271[_0x1cd3('0x43a')]||_0x448271[_0x1cd3('0x43b')]()});}});}function _0x1bb9d3(){var _0xda16a=angular[_0x1cd3('0x429')](_0x5aa88b['selectedMailQueues']);_0x5aa88b[_0x1cd3('0x1ce4')]=[];return _0xda16a;}function _0x1249a3(_0x9f94d1){var _0x29c5fa=_0x76f46d[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x1cec'))[_0x1cd3('0xd60')]('<b>'+_0x5aa88b[_0x1cd3('0x1ce4')]['length']+'\x20selected</b>'+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')]('delete\x20MailQueues')[_0x1cd3('0xd63')](_0x9f94d1)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x76f46d[_0x1cd3('0x37e')](_0x29c5fa)[_0x1cd3('0x77')](function(){_0x5aa88b['selectedMailQueues'][_0x1cd3('0x394')](function(_0x38ad4b){_0x23d720(_0x38ad4b);});_0x5aa88b[_0x1cd3('0x1ce4')]=[];});}function _0x4fdabc(){_0x5aa88b[_0x1cd3('0x1ce4')]=[];}function _0xe3f632(){_0x5aa88b[_0x1cd3('0x1ce4')]=_0x5aa88b[_0x1cd3('0x16df')]['rows'];}}}());(function(){'use strict';_0x3301b6['$inject']=[_0x1cd3('0x460'),_0x1cd3('0x53e'),'$location',_0x1cd3('0x3c5'),'$q',_0x1cd3('0x3f7'),_0x1cd3('0x461'),_0x1cd3('0x1ced'),_0x1cd3('0x174c'),'api','Auth',_0x1cd3('0x463'),_0x1cd3('0xc49'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x2f'))['controller'](_0x1cd3('0x1cee'),_0x3301b6);function _0x3301b6(_0x36d6f8,_0x6c27d6,_0x450df6,_0x27fba6,_0xdee63f,_0x1451aa,_0x361727,_0x44108d,_0x1c5990,_0x5b91ec,_0x4c6645,_0x1e1517,_0x2e32b8,_0x42425c){var _0x283087=this;_0x283087[_0x1cd3('0x3ca')]=_0x4c6645['getCurrentUser']();_0x283087[_0x1cd3('0xd34')]=[];_0x283087[_0x1cd3('0xc49')]=_0x2e32b8;_0x283087[_0x1cd3('0x463')]=_0x1e1517;_0x283087[_0x1cd3('0xd27')]=_0x42425c;_0x283087[_0x1cd3('0xd28')]={};_0x283087[_0x1cd3('0xd29')]=_0x283087[_0x1cd3('0xc49')]&&_0x283087[_0x1cd3('0xc49')]['securePassword']?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x283087[_0x1cd3('0x486')]=_0x1cd3('0x1cef');_0x283087[_0x1cd3('0x174c')]=angular[_0x1cd3('0x429')](_0x1c5990);_0x283087[_0x1cd3('0x1ced')]=_0x44108d;_0x283087[_0x1cd3('0x1cf0')]=![];if(!_0x283087[_0x1cd3('0x174c')]){_0x283087[_0x1cd3('0x174c')]={};_0x283087['title']='MAIL.NEW_MAILSUBSTATUS';_0x283087[_0x1cd3('0x1cf0')]=!![];}_0x283087['addNewMailSubstatus']=_0x7e441b;_0x283087[_0x1cd3('0x1cf1')]=_0x2b1d50;_0x283087['deleteMailSubstatus']=_0xdb7c44;_0x283087[_0x1cd3('0xd31')]=_0x1dccca;_0x283087['closeDialog']=_0x4dc35c;function _0x7e441b(){_0x283087['errors']=[];_0x5b91ec[_0x1cd3('0x174c')][_0x1cd3('0xd6d')](_0x283087['mailSubstatus'])['$promise']['then'](function(_0x67733b){_0x283087[_0x1cd3('0x1ced')][_0x1cd3('0x621')](_0x67733b[_0x1cd3('0xd32')]());_0x361727[_0x1cd3('0x473')]({'title':_0x1cd3('0x1cf2'),'msg':_0x283087[_0x1cd3('0x174c')][_0x1cd3('0x98')]?_0x283087[_0x1cd3('0x174c')][_0x1cd3('0x98')]+_0x1cd3('0xd33'):''});_0x4dc35c(_0x67733b);})[_0x1cd3('0xfd')](function(_0x588499){if(_0x588499[_0x1cd3('0x439')]&&_0x588499[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x588499[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length']){_0x283087['errors']=_0x588499[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x588499['toString'](),'type':_0x1cd3('0x1cf3')}];for(var _0xd72428=0x0;_0xd72428<_0x588499['data']['errors'][_0x1cd3('0x7a')];_0xd72428+=0x1){_0x361727[_0x1cd3('0x434')]({'title':_0x588499['data'][_0x1cd3('0xd34')][_0xd72428][_0x1cd3('0x424')],'msg':_0x588499[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0xd72428][_0x1cd3('0x43a')]});}}else{_0x361727[_0x1cd3('0x434')]({'title':_0x588499[_0x1cd3('0x3a6')]?'API:'+_0x588499['status']+_0x1cd3('0x436')+_0x588499[_0x1cd3('0xd35')]:'api.mailSubstatus.save','msg':_0x588499['data']?JSON[_0x1cd3('0x438')](_0x588499[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x588499['toString']()});}});}function _0x2b1d50(){_0x283087[_0x1cd3('0xd34')]=[];_0x5b91ec[_0x1cd3('0x174c')][_0x1cd3('0x378')]({'id':_0x283087[_0x1cd3('0x174c')]['id']},_0x283087[_0x1cd3('0x174c')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x56d364){var _0x5381fa=_[_0x1cd3('0x442')](_0x283087[_0x1cd3('0x1ced')],{'id':_0x56d364['id']});if(_0x5381fa){_[_0x1cd3('0xf2')](_0x5381fa,_[_0x1cd3('0x5e8')](_0x56d364[_0x1cd3('0xd32')](),_['keys'](_0x5381fa)));}_0x361727['success']({'title':_0x1cd3('0x1cf4'),'msg':_0x283087[_0x1cd3('0x174c')][_0x1cd3('0x98')]?_0x283087[_0x1cd3('0x174c')][_0x1cd3('0x98')]+_0x1cd3('0xd37'):''});_0x4dc35c(_0x56d364);})['catch'](function(_0x5ad252){if(_0x5ad252['data']&&_0x5ad252[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x5ad252[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x283087[_0x1cd3('0xd34')]=_0x5ad252[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x5ad252[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1cf5')}];for(var _0x3e0d79=0x0;_0x3e0d79<_0x5ad252[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x3e0d79++){_0x361727[_0x1cd3('0x434')]({'title':_0x5ad252['data']['errors'][_0x3e0d79]['type'],'msg':_0x5ad252[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x3e0d79][_0x1cd3('0x43a')]});}}else{_0x361727[_0x1cd3('0x434')]({'title':_0x5ad252[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x5ad252[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x5ad252[_0x1cd3('0xd35')]:_0x1cd3('0x1cf5'),'msg':_0x5ad252[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x5ad252[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x5ad252[_0x1cd3('0x43b')]()});}});}function _0xdb7c44(_0x160d89){_0x283087['errors']=[];var _0x20b521=_0x27fba6[_0x1cd3('0xd39')]()[_0x1cd3('0x486')]('Are\x20you\x20sure?')[_0x1cd3('0xd3b')](_0x1cd3('0x1cf6'))['ariaLabel'](_0x1cd3('0x1cf7'))['ok'](_0x1cd3('0xd3f'))[_0x1cd3('0x4d8')](_0x1cd3('0x674'))['targetEvent'](_0x160d89);_0x27fba6[_0x1cd3('0x37e')](_0x20b521)['then'](function(){_0x5b91ec[_0x1cd3('0x174c')][_0x1cd3('0xa1c')]({'id':_0x283087[_0x1cd3('0x174c')]['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x283087['mailSubtatuses'],{'id':_0x283087[_0x1cd3('0x174c')]['id']});_0x361727[_0x1cd3('0x473')]({'title':_0x1cd3('0x1cf8'),'msg':(_0x283087[_0x1cd3('0x174c')]['name']||_0x1cd3('0x174c'))+_0x1cd3('0xd41')});_0x4dc35c(_0x283087[_0x1cd3('0x174c')]);})[_0x1cd3('0xfd')](function(_0x76dbb7){if(_0x76dbb7['data']&&_0x76dbb7[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x76dbb7[_0x1cd3('0x439')]['errors']['length']){_0x283087[_0x1cd3('0xd34')]=_0x76dbb7[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x76dbb7[_0x1cd3('0x43b')](),'type':'api.mailSubstatus.delete'}];for(var _0x5acc1a=0x0;_0x5acc1a<_0x76dbb7[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length'];_0x5acc1a++){_0x361727[_0x1cd3('0x434')]({'title':_0x76dbb7[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x5acc1a][_0x1cd3('0x424')],'msg':_0x76dbb7['data'][_0x1cd3('0xd34')][_0x5acc1a]['message']});}}else{_0x361727['error']({'title':_0x76dbb7['status']?_0x1cd3('0x435')+_0x76dbb7['status']+_0x1cd3('0x436')+_0x76dbb7[_0x1cd3('0xd35')]:_0x1cd3('0x1cf9'),'msg':_0x76dbb7[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x76dbb7[_0x1cd3('0x439')]['message']):_0x76dbb7[_0x1cd3('0x43a')]||_0x76dbb7['toString']()});}});},function(){});}function _0x1dccca(_0x1bb14b){return _0x1bb14b===null?undefined:new Date(_0x1bb14b);}function _0x4dc35c(_0x19081b){_0x27fba6[_0x1cd3('0x39d')](_0x19081b);}}}());(function(){'use strict';_0xcda27e[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x371'),_0x1cd3('0x53e'),_0x1cd3('0x969'),'$mdDialog',_0x1cd3('0x372'),_0x1cd3('0x3e7'),_0x1cd3('0x3f7'),_0x1cd3('0x1ced'),'userProfile','userProfileSection','api',_0x1cd3('0x2dd'),'toasty',_0x1cd3('0x56'),'license','setting'];angular[_0x1cd3('0x0')](_0x1cd3('0x2f'))[_0x1cd3('0x39b')](_0x1cd3('0x1cfa'),_0xcda27e);function _0xcda27e(_0x14c391,_0x38de2f,_0x567c58,_0x156052,_0x34cc42,_0x346dbd,_0x3b2917,_0x5dc642,_0xb51261,_0x1b1ab7,_0x291fa4,_0x5b7d62,_0x490740,_0x5560a8,_0x438397,_0x2ed707,_0x132940){var _0x5bc1ef=this;_0x5bc1ef[_0x1cd3('0x463')]=_0x2ed707;_0x5bc1ef[_0x1cd3('0xc49')]=_0x132940;_0x5bc1ef[_0x1cd3('0x3ca')]=_0x438397[_0x1cd3('0x5d')]();_0x5bc1ef[_0x1cd3('0x1ced')]=_0xb51261||{'count':0x0,'rows':[]};_0x5bc1ef['userProfile']=_0x1b1ab7;_0x5bc1ef[_0x1cd3('0x390')]=_0x291fa4&&_0x291fa4[_0x1cd3('0x466')]==0x1?_0x291fa4[_0x1cd3('0xf6')][0x0]:null;_0x5bc1ef[_0x1cd3('0xd27')]=_0x438397['parseCrudPermissions'](_0x5bc1ef[_0x1cd3('0x390')]?_0x5bc1ef[_0x1cd3('0x390')]['crudPermissions']:null);_0x5bc1ef['table']=_0x1cd3('0x1ced');_0x5bc1ef[_0x1cd3('0xd46')]='';_0x5bc1ef[_0x1cd3('0xd47')]=null;_0x5bc1ef[_0x1cd3('0x1cfb')]=[];_0x5bc1ef[_0x1cd3('0x3d4')]={'fields':_0x1cd3('0x295'),'sort':_0x1cd3('0x5b'),'limit':0xa,'page':0x1};_0x5bc1ef[_0x1cd3('0xd48')]=_0x21bcb7;_0x5bc1ef[_0x1cd3('0xecc')]=_0x1ffdbd;_0x5bc1ef[_0x1cd3('0x473')]=_0x2690dc;_0x5bc1ef['getMailSubstatuses']=_0x589db3;_0x5bc1ef['createOrEditMailSubstatus']=_0x1ed8e2;_0x5bc1ef[_0x1cd3('0x1cfc')]=_0x20bb8e;_0x5bc1ef[_0x1cd3('0x1cfd')]=_0x403625;_0x5bc1ef[_0x1cd3('0x1cfe')]=_0x45cb72;_0x5bc1ef[_0x1cd3('0x1cff')]=_0x2c22c0;_0x5bc1ef[_0x1cd3('0x1d00')]=_0x940337;function _0x21bcb7(_0x1f7e3b,_0x1ec578){_0x34cc42[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1cee'),'controllerAs':'vm','templateUrl':'app/main/apps/mail/views/mailSubtatuses/create/dialog.html','parent':angular['element'](_0x346dbd[_0x1cd3('0x380')]),'targetEvent':_0x1ec578,'clickOutsideToClose':!![],'locals':{'mailSubstatus':_0x1f7e3b,'mailSubtatuses':_0x5bc1ef[_0x1cd3('0x1ced')][_0x1cd3('0xf6')],'license':_0x5bc1ef['license'],'setting':null,'crudPermissions':_0x5bc1ef[_0x1cd3('0xd27')]}});}function _0x1ffdbd(_0x240954,_0x481250){var _0x566d7b=_0x34cc42[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xd4f')+_[_0x1cd3('0xd50')]('mailSubstatus')+'?')[_0x1cd3('0xd60')](_0x1cd3('0xd51')+(_0x240954[_0x1cd3('0x98')]||_0x1cd3('0x174c'))+_0x1cd3('0xd52')+'\x20will\x20be\x20deleted.')[_0x1cd3('0xd3d')](_0x1cd3('0x1d01'))[_0x1cd3('0xd63')](_0x481250)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x34cc42[_0x1cd3('0x37e')](_0x566d7b)[_0x1cd3('0x77')](function(){_0x20bb8e(_0x240954);},function(){console[_0x1cd3('0x7d')]('CANCEL');});}var _0x26299c=!![];var _0x204b24=0x1;_0x14c391[_0x1cd3('0x4d6')](_0x1cd3('0xd56'),function(_0xf7464b,_0x26cab1){if(_0x26299c){_0x3b2917(function(){_0x26299c=![];});}else{if(!_0x26cab1){_0x204b24=_0x5bc1ef['query']['page'];}if(_0xf7464b!==_0x26cab1){_0x5bc1ef[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}if(!_0xf7464b){_0x5bc1ef['query'][_0x1cd3('0x8fd')]=_0x204b24;}_0x5bc1ef[_0x1cd3('0x1d02')]();}});function _0x2690dc(_0x9512fc){_0x5bc1ef[_0x1cd3('0x1ced')]=_0x9512fc||{'count':0x0,'rows':[]};}function _0x589db3(){_0x5bc1ef[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0x5bc1ef[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0x5bc1ef[_0x1cd3('0x3d4')]['limit'];if(_0x438397['hasRole'](_0x1cd3('0x5f'))){_0x5bc1ef[_0x1cd3('0x539')]=_0x5b7d62[_0x1cd3('0x174c')]['get'](_0x5bc1ef[_0x1cd3('0x3d4')],_0x2690dc)[_0x1cd3('0x81')];}else{_0x5bc1ef[_0x1cd3('0x3d4')]['id']=_0x5bc1ef[_0x1cd3('0x38a')]['id'];_0x5bc1ef['query']['section']=_0x1cd3('0x1d03');_0x5bc1ef[_0x1cd3('0x539')]=_0x5b7d62['userProfile'][_0x1cd3('0xd59')](_0x5bc1ef[_0x1cd3('0x3d4')],_0x2690dc)[_0x1cd3('0x81')];}}function _0x1ed8e2(_0xa9548c,_0x12fe78){_0x34cc42[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1cee'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1d04'),'parent':angular['element'](_0x346dbd[_0x1cd3('0x380')]),'targetEvent':_0xa9548c,'clickOutsideToClose':!![],'locals':{'mailSubstatus':_0x12fe78,'mailSubtatuses':_0x5bc1ef[_0x1cd3('0x1ced')][_0x1cd3('0xf6')],'license':_0x5bc1ef[_0x1cd3('0x463')],'setting':_0x5bc1ef['setting'],'crudPermissions':_0x5bc1ef[_0x1cd3('0xd27')]}});}function _0x20bb8e(_0x450fdd){_0x5b7d62['mailSubstatus'][_0x1cd3('0xa1c')]({'id':_0x450fdd['id']})['$promise']['then'](function(){_['remove'](_0x5bc1ef[_0x1cd3('0x1ced')][_0x1cd3('0xf6')],{'id':_0x450fdd['id']});_0x5bc1ef[_0x1cd3('0x1ced')][_0x1cd3('0x466')]-=0x1;if(!_0x5bc1ef[_0x1cd3('0x1ced')][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){_0x5bc1ef[_0x1cd3('0x1d02')]();}_0x5560a8[_0x1cd3('0x473')]({'title':_[_0x1cd3('0xd50')](_0x1cd3('0x1d05'))+_0x1cd3('0xd5c'),'msg':_0x450fdd[_0x1cd3('0x98')]?_0x450fdd['name']+_0x1cd3('0xd41'):''});})[_0x1cd3('0xfd')](function(_0x5c3ae1){if(_0x5c3ae1[_0x1cd3('0x439')]&&_0x5c3ae1['data'][_0x1cd3('0xd34')]&&_0x5c3ae1['data']['errors'][_0x1cd3('0x7a')]){_0x5bc1ef[_0x1cd3('0xd34')]=_0x5c3ae1['data'][_0x1cd3('0xd34')]||[{'message':_0x5c3ae1['toString'](),'type':'SYSTEM:DELETEmailSubstatus'}];for(var _0x419e24=0x0;_0x419e24<_0x5c3ae1[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0x419e24++){_0x5560a8[_0x1cd3('0x434')]({'title':_0x5c3ae1[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x419e24][_0x1cd3('0x424')],'msg':_0x5c3ae1[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x419e24][_0x1cd3('0x43a')]});}}else{_0x5560a8[_0x1cd3('0x434')]({'title':_0x5c3ae1['status']?_0x1cd3('0x435')+_0x5c3ae1['status']+_0x1cd3('0x436')+_0x5c3ae1[_0x1cd3('0xd35')]:_0x1cd3('0x1d06'),'msg':_0x5c3ae1['data']?JSON[_0x1cd3('0x438')](_0x5c3ae1[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x5c3ae1[_0x1cd3('0x43a')]||_0x5c3ae1[_0x1cd3('0x43b')]()});}});}function _0x403625(){var _0x434825=angular[_0x1cd3('0x429')](_0x5bc1ef[_0x1cd3('0x1cfb')]);_0x5bc1ef['selectedMailSubstatuses']=[];return _0x434825;}function _0x45cb72(_0x1f5a44){var _0x23481c=_0x34cc42[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x1d07'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x5bc1ef[_0x1cd3('0x1cfb')]['length']+_0x1cd3('0xd61')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')]('delete\x20MailSubstatuss')[_0x1cd3('0xd63')](_0x1f5a44)['ok']('OK')['cancel'](_0x1cd3('0xd55'));_0x34cc42[_0x1cd3('0x37e')](_0x23481c)[_0x1cd3('0x77')](function(){_0x5bc1ef['selectedMailSubstatuses'][_0x1cd3('0x394')](function(_0x1111e0){_0x20bb8e(_0x1111e0);});_0x5bc1ef[_0x1cd3('0x1cfb')]=[];});}function _0x2c22c0(){_0x5bc1ef[_0x1cd3('0x1cfb')]=[];}function _0x940337(){_0x5bc1ef[_0x1cd3('0x1cfb')]=_0x5bc1ef[_0x1cd3('0x1ced')][_0x1cd3('0xf6')];}}}());(function(){'use strict';_0x4a8595[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x3e7'),_0x1cd3('0x3c5'),_0x1cd3('0x372'),_0x1cd3('0x53e'),_0x1cd3('0x370'),_0x1cd3('0xd18'),_0x1cd3('0x461'),_0x1cd3('0xefa'),_0x1cd3('0x1d08'),'userProfile',_0x1cd3('0x390'),_0x1cd3('0x56')];angular[_0x1cd3('0x0')](_0x1cd3('0x2f'))[_0x1cd3('0x39b')](_0x1cd3('0x1d09'),_0x4a8595);function _0x4a8595(_0x4ba61a,_0x380ee8,_0x5c224c,_0x551a78,_0x4ad18d,_0x19548a,_0x286092,_0x4bd270,_0xc30145,_0x2d674a,_0x16dc78,_0x12cba4,_0x1b790e){var _0x37aa31=this;_0x37aa31[_0x1cd3('0x3ca')]=_0x1b790e[_0x1cd3('0x5d')]();_0x37aa31[_0x1cd3('0x466')]=_0xc30145&&_0xc30145[_0x1cd3('0x466')]?_0xc30145[_0x1cd3('0x466')]:0x0;_0x37aa31[_0x1cd3('0xefa')]=_0xc30145?_[_0x1cd3('0xe2d')](_0xc30145[_0x1cd3('0xf6')]?_0xc30145[_0x1cd3('0xf6')]:[],'id'):{};_0x37aa31[_0x1cd3('0x1d08')]=_0x2d674a?_['keyBy'](_0x2d674a[_0x1cd3('0xf6')]?_0x2d674a[_0x1cd3('0xf6')]:[],'id'):{};_0x37aa31['userProfile']=_0x16dc78;_0x37aa31[_0x1cd3('0x390')]=_0x12cba4&&_0x12cba4[_0x1cd3('0x466')]==0x1?_0x12cba4['rows'][0x0]:null;_0x37aa31[_0x1cd3('0xd27')]=_0x1b790e[_0x1cd3('0xd44')](_0x37aa31[_0x1cd3('0x390')]?_0x37aa31[_0x1cd3('0x390')]['crudPermissions']:null);_0x37aa31[_0x1cd3('0x3d4')]={'sort':_0x1cd3('0x1980'),'limit':0xa,'page':0x1};_0x37aa31[_0x1cd3('0x473')]=_0xe72414;_0x37aa31[_0x1cd3('0x699')]=_0x1eb4ef;_0x37aa31[_0x1cd3('0x15f3')]=_0x2f5093;_0x37aa31[_0x1cd3('0x13b6')]=_0x1a334b;_0x37aa31['onMailMessageSave']=_0x1895d1;_0x37aa31[_0x1cd3('0x1d0a')]=_0x2805b9;_0x37aa31[_0x1cd3('0x182f')]=_0x4ff908;_0x37aa31[_0x1cd3('0x13ad')]=[];_['forIn'](_0x37aa31['mailAccounts'],function(_0x726f50,_0x140a2e){_0x37aa31[_0x1cd3('0x13ad')][_0x1cd3('0x7b')](_0x726f50['id']);});_0x286092['on'](_0x1cd3('0x1d0b'),_0x37aa31[_0x1cd3('0x13b6')]);_0x286092['on']('mailAccount:update',_0x37aa31['onSave']);_0x286092['on']('mailMessage:save',_0x37aa31['onMailMessageSave']);function _0x1eb4ef(){_['forIn'](_0x37aa31[_0x1cd3('0xefa')],function(_0x1ef52f,_0x3b6ee1){if(_0x37aa31[_0x1cd3('0x1d08')][_0x3b6ee1]){_['merge'](_0x1ef52f,_0x37aa31[_0x1cd3('0x1d08')][_0x3b6ee1]);}});_['forIn'](_0x37aa31[_0x1cd3('0xefa')],function(_0x587d7c,_0x2b3e1a){var _0x2a91af={'id':_0x2b3e1a,'sort':_0x1cd3('0x1479'),'direction':'in','limit':0x1,'offset':0x0,'$gte':_0x1cd3('0x1985')+moment()[_0x1cd3('0x12e')](_0x1cd3('0x138'))[_0x1cd3('0x130')](_0x1cd3('0x377'))};_0x19548a[_0x1cd3('0xa7a')]['getMessages'](_0x2a91af)[_0x1cd3('0x81')]['then'](function(_0x159f26){if(_0x159f26){_0x587d7c['in']=_0x159f26[_0x1cd3('0x466')]||0x0;_0x587d7c['lastIn']=_0x159f26[_0x1cd3('0xf6')]&&_0x159f26[_0x1cd3('0xf6')][_0x1cd3('0x7a')]?_0x159f26[_0x1cd3('0xf6')][0x0][_0x1cd3('0xe0d')]:undefined;}_0x2a91af[_0x1cd3('0x5e0')]=_0x1cd3('0x180e');return _0x19548a[_0x1cd3('0xa7a')]['getMessages'](_0x2a91af)[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x67534){if(_0x67534){_0x587d7c[_0x1cd3('0x180e')]=_0x67534['count']||0x0;_0x587d7c['lastOut']=_0x67534[_0x1cd3('0xf6')]&&_0x67534[_0x1cd3('0xf6')][_0x1cd3('0x7a')]?_0x67534[_0x1cd3('0xf6')][0x0][_0x1cd3('0xe0d')]:undefined;}})[_0x1cd3('0xfd')](function(_0x4be790){console[_0x1cd3('0x7d')](_0x4be790);});});}function _0x1a334b(_0x458c45){if(_0x37aa31[_0x1cd3('0xefa')][_0x458c45['id']]){_[_0x1cd3('0xf2')](_0x37aa31['mailAccounts'][_0x458c45['id']],_0x458c45);}}function _0x1895d1(_0x483244){if(_0x37aa31[_0x1cd3('0xefa')][_0x483244[_0x1cd3('0x1492')]]){if(_0x483244[_0x1cd3('0x5e0')]=='in'){_0x37aa31[_0x1cd3('0xefa')][_0x483244[_0x1cd3('0x1492')]]['in']+=0x1;_0x37aa31[_0x1cd3('0xefa')][_0x483244[_0x1cd3('0x1492')]][_0x1cd3('0x1986')]=_0x483244[_0x1cd3('0xe0d')];}else{_0x37aa31[_0x1cd3('0xefa')][_0x483244[_0x1cd3('0x1492')]][_0x1cd3('0x180e')]+=0x1;_0x37aa31['mailAccounts'][_0x483244[_0x1cd3('0x1492')]]['lastOut']=_0x483244[_0x1cd3('0xe0d')];}}}function _0x2805b9(_0x493630,_0x580dcb){_0x4ad18d['go'](_0x1cd3('0x1db'),{'id':_0x580dcb['id'],'mailAccount':_0x580dcb});}function _0x4ff908(_0x4c5548,_0x200aa1){if(_0x200aa1&&_0x200aa1['id']){return _0x19548a[_0x1cd3('0xa7a')][_0x1cd3('0x182f')]({'id':_0x200aa1['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x4bd270[_0x1cd3('0x473')]({'title':_0x1cd3('0x1cc5'),'msg':_0x1cd3('0x1a28')});})[_0x1cd3('0xfd')](function(_0x3c5ecc){_0x4bd270[_0x1cd3('0x434')]({'title':_0x1cd3('0x1cc5'),'msg':_0x3c5ecc['data']?JSON[_0x1cd3('0x438')](_0x3c5ecc['data']):_0x3c5ecc['toString']()});});}else{_0x4bd270[_0x1cd3('0x434')]({'title':_0x1cd3('0x1cc5'),'msg':_0x1cd3('0x1cc6')});}}var _0x172f08=!![];var _0x7750c1=0x1;_0x4ba61a[_0x1cd3('0x4d6')]('vm.query.filter',function(_0x1ca40a,_0x469799){if(_0x172f08){_0x380ee8(function(){_0x172f08=![];});}else{if(!_0x469799){_0x7750c1=_0x37aa31[_0x1cd3('0x3d4')]['page'];}if(_0x1ca40a!==_0x469799){_0x37aa31[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}if(!_0x1ca40a){_0x37aa31[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0x7750c1;}_0x37aa31['getMailAccounts']();}});function _0xe72414(_0x2b6e08){_0x37aa31['mailAccounts']=_0x2b6e08?_[_0x1cd3('0xe2d')](_0x2b6e08['rows']?_0x2b6e08[_0x1cd3('0xf6')]:[],'id'):{};if(_0x2b6e08['rows']){_0x37aa31[_0x1cd3('0x13ad')]=[];for(var _0x69406f=0x0;_0x69406f<_0x2b6e08[_0x1cd3('0xf6')][_0x1cd3('0x7a')];_0x69406f++){_0x37aa31[_0x1cd3('0x13ad')][_0x1cd3('0x7b')](_0x2b6e08[_0x1cd3('0xf6')][_0x69406f]['id']);}}_0x1eb4ef();}function _0x2f5093(){_0x37aa31['query'][_0x1cd3('0xd57')]=(_0x37aa31[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0x37aa31[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];if(_0x1b790e[_0x1cd3('0x57')](_0x1cd3('0x5f'))){_0x37aa31['promise']=_0x19548a[_0x1cd3('0xa7a')]['get'](_0x37aa31[_0x1cd3('0x3d4')],_0xe72414)['$promise'];}else{_0x37aa31['query']['id']=_0x37aa31[_0x1cd3('0x38a')]['id'];_0x37aa31[_0x1cd3('0x3d4')][_0x1cd3('0xd58')]='MailAccounts';_0x37aa31[_0x1cd3('0x539')]=_0x19548a[_0x1cd3('0x38a')][_0x1cd3('0xd59')](_0x37aa31['query'],_0xe72414)[_0x1cd3('0x81')];}}_0x4ba61a[_0x1cd3('0x4d3')](_0x1cd3('0x523'),function(){_0x286092[_0x1cd3('0x6a3')](_0x1cd3('0x1d0b'));_0x286092[_0x1cd3('0x6a3')](_0x1cd3('0x1d0c'));_0x286092[_0x1cd3('0x6a3')](_0x1cd3('0x1754'));});}}());(function(){'use strict';_0x2f1022[_0x1cd3('0xc')]=[_0x1cd3('0x460'),'$q','$timeout',_0x1cd3('0x3c5'),_0x1cd3('0x372'),'$filter','pauses','agents',_0x1cd3('0x1385'),_0x1cd3('0x370'),_0x1cd3('0xd18'),_0x1cd3('0x461'),_0x1cd3('0x1999'),_0x1cd3('0x38a'),_0x1cd3('0x390'),'Auth',_0x1cd3('0x463'),'$interval'];angular[_0x1cd3('0x0')]('app.voice')[_0x1cd3('0x39b')]('AgentsMailRealtimeController',_0x2f1022);function _0x2f1022(_0x2675c6,_0xe4966b,_0x38ed35,_0x429195,_0x4fc250,_0x1bb07e,_0x505c50,_0x200b10,_0x5d8803,_0x5e9791,_0x39a76f,_0x51f113,_0x23aff9,_0x210397,_0x289bd8,_0x499245,_0xed6f7d,_0x1c0f36){var _0xd37a36=this;var _0x5e74a9=[_0x1cd3('0x1386'),_0x1cd3('0x1387'),'lastLoginAt','lastPauseAt',_0x1cd3('0x13c5'),_0x1cd3('0x1389'),_0x1cd3('0x311'),_0x1cd3('0x138a'),_0x1cd3('0x138b'),_0x1cd3('0x138c'),'mailPause','smsPause',_0x1cd3('0x138e'),_0x1cd3('0x138f'),_0x1cd3('0x604'),_0x1cd3('0x1390'),_0x1cd3('0x1391'),_0x1cd3('0x1392'),_0x1cd3('0x1393'),_0x1cd3('0x1989'),'faxCapacity',_0x1cd3('0x198a'),'openchannelCurrentCapacity','mailCurrentCapacity','smsCurrentCapacity',_0x1cd3('0x1397'),_0x1cd3('0x1398'),_0x1cd3('0x1399'),_0x1cd3('0x139a'),_0x1cd3('0x139b'),_0x1cd3('0x198c'),_0x1cd3('0x139c'),_0x1cd3('0x139d'),'voiceStatus',_0x1cd3('0x139f'),'openchannelStatusTime','mailStatusTime','smsStatusTime',_0x1cd3('0x13d2'),_0x1cd3('0x13d3'),_0x1cd3('0x13a3'),_0x1cd3('0x1220'),'destconnectedlinenum',_0x1cd3('0x13a5'),_0x1cd3('0x13a6'),_0x1cd3('0x13a7')];var _0x5a067b=[_0x1cd3('0x138b'),_0x1cd3('0x138c'),'mailPause',_0x1cd3('0x138d'),_0x1cd3('0x138e'),'faxPause','voicePause',_0x1cd3('0x1387')];_0xd37a36[_0x1cd3('0x3ca')]=_0x499245[_0x1cd3('0x5d')]();_0xd37a36[_0x1cd3('0x198d')]=[_0x1cd3('0x5cd'),_0x1cd3('0x13a8'),_0x1cd3('0x13a9'),_0x1cd3('0x13aa'),_0x1cd3('0x13ab')];_0xd37a36[_0x1cd3('0x1381')]=_0x505c50||{'count':0x0,'rows':[]};_0xd37a36[_0x1cd3('0x463')]=_0xed6f7d;_0xd37a36[_0x1cd3('0x38a')]=_0x210397;_0xd37a36[_0x1cd3('0x390')]=_0x289bd8&&_0x289bd8[_0x1cd3('0x466')]==0x1?_0x289bd8[_0x1cd3('0xf6')][0x0]:null;_0xd37a36[_0x1cd3('0xd27')]=_0x499245[_0x1cd3('0xd44')](_0xd37a36[_0x1cd3('0x390')]?_0xd37a36['userProfileSection']['crudPermissions']:null);_0xd37a36[_0x1cd3('0x1228')]=_0x200b10?_[_0x1cd3('0xe2d')](_0x200b10[_0x1cd3('0xf6')]?_0x200b10[_0x1cd3('0xf6')]:[],'id'):{};_0xd37a36[_0x1cd3('0x1385')]=_0x5d8803?_[_0x1cd3('0xe2d')](_0x5d8803['rows']?_0x5d8803[_0x1cd3('0xf6')]:[],'id'):{};_0xd37a36[_0x1cd3('0x13ac')]={};_0xd37a36[_0x1cd3('0x5de')]=![];_0xd37a36[_0x1cd3('0x13ad')]=[];_0xd37a36['agentInternal']={};for(var _0x56c32c in _0xd37a36[_0x1cd3('0x1228')]){if(_0xd37a36[_0x1cd3('0x1228')][_0x1cd3('0x3d0')](_0x56c32c)){_0xd37a36[_0x1cd3('0x1228')][_0x56c32c]['init']=!![];}}_0xd37a36['query']={'limit':0xa,'page':0x1,'order':_0x1cd3('0xd3'),'globalStatusFilter':'','pauseTypeFilter':''};_0xd37a36[_0x1cd3('0x376')]=_0x363430;_0xd37a36[_0x1cd3('0x13af')]=_0x556197;_0xd37a36['pause']=_0x3b75f4;_0xd37a36[_0x1cd3('0x13b0')]=_0x204b2e;_0xd37a36[_0x1cd3('0x198e')]=_0x9744b4;_0xd37a36[_0x1cd3('0x13b1')]=_0x324b97;_0xd37a36['getAgentGlobalStatus']=_0x492662;_0xd37a36[_0x1cd3('0x13b3')]=_0x25323c;_0xd37a36[_0x1cd3('0x13b4')]=_0x54a6d7;_0xd37a36[_0x1cd3('0x13b5')]=_0x15ea46;_0xd37a36[_0x1cd3('0x13b6')]=_0x31868b;_0xd37a36[_0x1cd3('0x13bb')]=_0x36d2af;_0xd37a36[_0x1cd3('0x703')]=_0x8080ac;_0xd37a36[_0x1cd3('0x13bd')]=_0x410353;_0xd37a36[_0x1cd3('0x13b7')]=_0x216cbc;_0xd37a36[_0x1cd3('0x13b8')]=_0x52c178;_0x39a76f['on']('user:save',_0xd37a36[_0x1cd3('0x13b6')]);_0x39a76f['on'](_0x1cd3('0x13ba'),_0xd37a36[_0x1cd3('0x13bb')]);_0x39a76f['on'](_0x1cd3('0x13bc'),_0xd37a36[_0x1cd3('0x13bd')]);_0x39a76f['on']('user:agentcomplete',_0xd37a36['onComplete']);_0x8080ac();var _0x4698d2=_0x1c0f36(function(){if(_0xd37a36[_0x1cd3('0x5de')]){_0xd37a36[_0x1cd3('0x5de')]=![];_0x8080ac();}},0x3e7);function _0x8080ac(_0x4bf139){_0xd37a36['load']=![];var _0x2ffd66=_0xe4966b['defer']();_0xd37a36[_0x1cd3('0x539')]=_0x2ffd66[_0x1cd3('0x539')];_0xd37a36['filteredAgents']=[];_0xd37a36[_0x1cd3('0x13ad')]=[];_[_0x1cd3('0x13e5')](_0xd37a36['agents'],function(_0xdff33a,_0x380536){if(_0xd37a36[_0x1cd3('0x1385')][_0x380536]){_[_0x1cd3('0xf2')](_0xdff33a,_[_0x1cd3('0x5e8')](_[_0x1cd3('0x3e3')](_0xd37a36[_0x1cd3('0x1385')][_0x380536],_0x5a067b),_0x5e74a9));}_0x492662(_0xdff33a);if(_0xdff33a[_0x1cd3('0x1387')]){_0xd37a36[_0x1cd3('0x13bf')][_0x1cd3('0x7b')](_0xdff33a);_0xd37a36[_0x1cd3('0x13ae')][_0xdff33a[_0x1cd3('0x311')]]=_0x380536;}else{_0xdff33a[_0x1cd3('0x13c0')]=_['toNumber'](moment()[_0x1cd3('0x130')]('x'));}});if(_0xd37a36[_0x1cd3('0x3d4')]['globalStatusFilter']){_[_0x1cd3('0x383')](_0xd37a36[_0x1cd3('0x13bf')],function(_0x957ee6){return _0x957ee6['globalStatus']!==_0xd37a36[_0x1cd3('0x3d4')][_0x1cd3('0x13c3')];});}if(_0xd37a36[_0x1cd3('0x3d4')]['pauseTypeFilter']){_['remove'](_0xd37a36[_0x1cd3('0x13bf')],function(_0x2cab28){return _0x2cab28[_0x1cd3('0x13c5')]!==_0xd37a36[_0x1cd3('0x3d4')][_0x1cd3('0x13c4')];});}if(_0xd37a36[_0x1cd3('0x3d4')]['filter']){_[_0x1cd3('0x383')](_0xd37a36[_0x1cd3('0x13bf')],function(_0x348128){return _0x348128[_0x1cd3('0xd3')]['toLowerCase']()[_0x1cd3('0x45e')](_0xd37a36['query'][_0x1cd3('0x395')]['toLowerCase']())<0x0;});}_0xd37a36[_0x1cd3('0x13bf')]=_0x12fcc9(_0xd37a36[_0x1cd3('0x13bf')]);var _0xe7acd=(_0xd37a36[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0xd37a36[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];_0xd37a36['paginatedAgents']=_[_0x1cd3('0x16c2')](_0xd37a36[_0x1cd3('0x13bf')],_0xe7acd)[_0x1cd3('0x9a2')](0x0,_0xd37a36[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')]);for(var _0x2e97ac=0x0;_0x2e97ac<_0xd37a36['paginatedAgents'][_0x1cd3('0x7a')];_0x2e97ac+=0x1){_0xd37a36[_0x1cd3('0x13ad')][_0x1cd3('0x7b')](_0xd37a36[_0x1cd3('0x13ac')][_0x2e97ac]['id']);}_0x2ffd66['resolve']();_0xd37a36[_0x1cd3('0x5de')]=!![];}function _0x31868b(_0x4f1130){if(_0xd37a36[_0x1cd3('0x1228')][_0x4f1130['id']]){_[_0x1cd3('0xf2')](_0xd37a36[_0x1cd3('0x1228')][_0x4f1130['id']],_[_0x1cd3('0x5e8')](_[_0x1cd3('0x3e3')](_0x4f1130,_0x5a067b),_0x5e74a9));_[_0x1cd3('0xf2')](_0xd37a36[_0x1cd3('0x1385')][_0x4f1130['id']],_[_0x1cd3('0x5e8')](_[_0x1cd3('0x3e3')](_0x4f1130,_0x5a067b),_0x5e74a9));_0x492662(_0xd37a36['agents'][_0x4f1130['id']]);}}function _0x36d2af(_0x2d7bc2){if(_0xd37a36[_0x1cd3('0x1228')][_0x2d7bc2['id']]){_[_0x1cd3('0xf2')](_0xd37a36[_0x1cd3('0x1228')][_0x2d7bc2['id']],_[_0x1cd3('0x5e8')](_0x2d7bc2,_0x5e74a9));_[_0x1cd3('0xf2')](_0xd37a36[_0x1cd3('0x1385')][_0x2d7bc2['id']],_[_0x1cd3('0x5e8')](_0x2d7bc2,_0x5e74a9));if(_0x2d7bc2['lastPauseAt']){_0xd37a36[_0x1cd3('0x1228')][_0x2d7bc2['id']][_0x1cd3('0x13c0')]=_0x2d7bc2[_0x1cd3('0x1389')];_0xd37a36[_0x1cd3('0x1385')][_0x2d7bc2['id']]['globalStatusTime']=_0x2d7bc2[_0x1cd3('0x1389')];}_0x492662(_0xd37a36[_0x1cd3('0x1228')][_0x2d7bc2['id']]);}}function _0x410353(_0x99bdd){if(_0xd37a36[_0x1cd3('0x1228')][_0xd37a36[_0x1cd3('0x13ae')][_0x99bdd[_0x1cd3('0x13c6')]]]){_[_0x1cd3('0xf2')](_0xd37a36[_0x1cd3('0x1228')][_0xd37a36[_0x1cd3('0x13ae')][_0x99bdd['destaccountcode']]],_[_0x1cd3('0x5e8')](_0x99bdd,[_0x1cd3('0x1220'),_0x1cd3('0x13a4')]));_[_0x1cd3('0xf2')](_0xd37a36[_0x1cd3('0x1385')][_0xd37a36[_0x1cd3('0x13ae')][_0x99bdd[_0x1cd3('0x13c6')]]],_[_0x1cd3('0x5e8')](_0x99bdd,[_0x1cd3('0x1220'),_0x1cd3('0x13a4')]));}}function _0x216cbc(_0x25dddc){if(_0xd37a36[_0x1cd3('0x1228')][_0xd37a36[_0x1cd3('0x13ae')][_0x25dddc[_0x1cd3('0x13c6')]]]){_0xd37a36[_0x1cd3('0x1228')][_0xd37a36[_0x1cd3('0x13ae')][_0x25dddc[_0x1cd3('0x13c6')]]]=_[_0x1cd3('0x3e3')](_0xd37a36[_0x1cd3('0x1228')][_0xd37a36[_0x1cd3('0x13ae')][_0x25dddc[_0x1cd3('0x13c6')]]],[_0x1cd3('0x1220'),_0x1cd3('0x13a4')]);_0xd37a36[_0x1cd3('0x1385')][_0xd37a36[_0x1cd3('0x13ae')][_0x25dddc['destaccountcode']]]=_[_0x1cd3('0x3e3')](_0xd37a36[_0x1cd3('0x1385')][_0xd37a36['agentInternal'][_0x25dddc[_0x1cd3('0x13c6')]]],['queue',_0x1cd3('0x13a4')]);}}function _0x363430(_0x229809,_0x48a21e){return _0x5e9791['user'][_0x1cd3('0x376')]({'id':_0x229809['id'],'device':_0x1cd3('0x11b9'),'agent_id':_0x229809['id'],'agent_name':_0x229809[_0x1cd3('0x98')]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x51f113['success']({'title':_0x1cd3('0x13c7'),'msg':_0x229809[_0x1cd3('0xd3')]+_0x1cd3('0x13c8')});if(_0xd37a36[_0x1cd3('0x1228')][_0x229809['id']]){_0xd37a36['agents'][_0x229809['id']]['online']=![];}if(_0xd37a36['rpcAgents'][_0x229809['id']]){_0xd37a36[_0x1cd3('0x1385')][_0x229809['id']][_0x1cd3('0x1387')]=![];}_0x8080ac();})[_0x1cd3('0xfd')](function(_0x4d4baf){_0x51f113['error']({'title':_0x4d4baf[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x4d4baf[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x4d4baf[_0x1cd3('0xd35')]:_0x1cd3('0x13c9'),'msg':_0x4d4baf[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x4d4baf[_0x1cd3('0x439')]['message']):_0x4d4baf[_0x1cd3('0x43b')]()});});}function _0x3b75f4(_0x4b609f,_0x282a85){return _0x5e9791[_0x1cd3('0x368')][_0x1cd3('0x63e')]({'id':_0x4b609f['id'],'type':_0x282a85})['$promise'][_0x1cd3('0x77')](function(_0x56a8d3){if(_0xd37a36[_0x1cd3('0x1228')][_0x4b609f['id']]){_[_0x1cd3('0xf2')](_0xd37a36[_0x1cd3('0x1228')][_0x4b609f['id']],_[_0x1cd3('0x5e8')](_0x56a8d3,_0x5e74a9));}if(_0xd37a36['rpcAgents'][_0x4b609f['id']]){_[_0x1cd3('0xf2')](_0xd37a36[_0x1cd3('0x1385')][_0x4b609f['id']],_['pick'](_0x56a8d3,_0x5e74a9));}_0x492662(_0xd37a36[_0x1cd3('0x1228')][_0x4b609f['id']]);})[_0x1cd3('0xfd')](function(_0x97eb3b){_0x51f113[_0x1cd3('0x434')]({'title':_0x97eb3b[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x97eb3b[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x97eb3b[_0x1cd3('0xd35')]:'api.staff.save','msg':_0x97eb3b[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x97eb3b[_0x1cd3('0x439')]['message']):_0x97eb3b[_0x1cd3('0x43b')]()});});}function _0x204b2e(_0x129a6f){return _0x5e9791[_0x1cd3('0x368')][_0x1cd3('0x13ed')]({'id':_0x129a6f['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x33ff90){if(_0xd37a36[_0x1cd3('0x1228')][_0x129a6f['id']]){_['merge'](_0xd37a36['agents'][_0x129a6f['id']],_[_0x1cd3('0x5e8')](_0x33ff90,_0x5e74a9));}if(_0xd37a36[_0x1cd3('0x1385')][_0x129a6f['id']]){_[_0x1cd3('0xf2')](_0xd37a36[_0x1cd3('0x1385')][_0x129a6f['id']],_['pick'](_0x33ff90,_0x5e74a9));}_0x492662(_0xd37a36[_0x1cd3('0x1228')][_0x129a6f['id']]);})[_0x1cd3('0xfd')](function(_0x6a14eb){_0x51f113[_0x1cd3('0x434')]({'title':_0x6a14eb['status']?_0x1cd3('0x435')+_0x6a14eb[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x6a14eb[_0x1cd3('0xd35')]:_0x1cd3('0x13c9'),'msg':_0x6a14eb[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x6a14eb['data'][_0x1cd3('0x43a')]):_0x6a14eb[_0x1cd3('0x43b')]()});});}function _0x9744b4(_0x3770b9){_0x429195[_0x1cd3('0x37e')](_0x429195[_0x1cd3('0x11d0')]()[_0x1cd3('0x13ca')](!![])['title'](_0x1cd3('0x13cb'))[_0x1cd3('0xd60')](_0x1cd3('0x1d0d'))['ok']('Ok')[_0x1cd3('0xd63')](_0x3770b9));}function _0x556197(_0x6474e3,_0x410eb9){_0x429195['show']({'controller':_0x1cd3('0x198f'),'controllerAs':'vm','templateUrl':'app/main/apps/staff/views/agents/edit/queueadd/queueadd.html','parent':angular['element'](_0x4fc250[_0x1cd3('0x380')]),'targetEvent':_0x410eb9,'clickOutsideToClose':!![],'locals':{'agent':_0x6474e3,'agents':[],'channel':'mail','direction':_0x1cd3('0xa4'),'crudPermissions':_0xd37a36[_0x1cd3('0xd27')]}});}function _0x25323c(_0x4bf3b5){return _0x4bf3b5===_0x1cd3('0x63e')||_0x4bf3b5===_0x1cd3('0x13cd');}function _0x54a6d7(_0x1c1dad){return _0x1c1dad===_0x1cd3('0x63e');}function _0x15ea46(_0x4f04ee){return _0x4f04ee===_0x1cd3('0x13cd');}function _0x27b34b(_0x3e4866){return _0x3e4866==='idle'||_0x3e4866===_0x1cd3('0x1990')||_0x3e4866===_0x1cd3('0x13ce')||_0x3e4866===_0x1cd3('0x5cd')||_[_0x1cd3('0x472')](_0x3e4866);}function _0x324b97(_0x3379ef,_0x42ab50){if(_0x42ab50===_0x1cd3('0x121')){if(_0x3379ef[_0x42ab50+'Status']!==_0x1cd3('0x13cf')){return _0x3379ef[_0x42ab50+_0x1cd3('0x131b')];}if(_0x3379ef[_0x42ab50+_0x1cd3('0x13d0')]){_0x3379ef[_0x42ab50+_0x1cd3('0x131b')]='pause';return _0x1cd3('0x63e');}return _0x1cd3('0x13cf');}else{if(_0x3379ef[_0x42ab50+'Pause']){_0x3379ef[_0x42ab50+_0x1cd3('0x131b')]=_0x1cd3('0x63e');return _0x1cd3('0x63e');}return _0x3379ef[_0x42ab50+'Status'];}}function _0x492662(_0x33ed64){var _0x7cdad2=_0x1cd3('0x1990');if(_[_0x1cd3('0x920')]([_0x324b97(_0x33ed64,'voice'),_0x324b97(_0x33ed64,_0x1cd3('0xbf')),_0x324b97(_0x33ed64,'mail'),_0x324b97(_0x33ed64,_0x1cd3('0x22e')),_0x324b97(_0x33ed64,_0x1cd3('0x26b')),_0x324b97(_0x33ed64,_0x1cd3('0x34a')),_0x324b97(_0x33ed64,_0x1cd3('0x154'))],_0x25323c)){_0x7cdad2='pause';}else if(_['some']([_0x324b97(_0x33ed64,_0x1cd3('0x121')),_0x324b97(_0x33ed64,_0x1cd3('0xbf')),_0x324b97(_0x33ed64,_0x1cd3('0x1d2')),_0x324b97(_0x33ed64,_0x1cd3('0x22e')),_0x324b97(_0x33ed64,'sms'),_0x324b97(_0x33ed64,_0x1cd3('0x34a')),_0x324b97(_0x33ed64,_0x1cd3('0x154'))],_0x25323c)){_0x7cdad2=_0x1cd3('0x13cd');}else if(_[_0x1cd3('0x920')]([_0x324b97(_0x33ed64,'voice'),_0x324b97(_0x33ed64,'chat'),_0x324b97(_0x33ed64,_0x1cd3('0x1d2')),_0x324b97(_0x33ed64,_0x1cd3('0x22e')),_0x324b97(_0x33ed64,'sms'),_0x324b97(_0x33ed64,_0x1cd3('0x34a')),_0x324b97(_0x33ed64,'fax')],_0x27b34b)){_0x7cdad2=_0x1cd3('0x13cf');}else{_0x7cdad2='busy';}if(_0x33ed64[_0x1cd3('0x13c2')]!==_0x7cdad2){_0x33ed64[_0x1cd3('0x13c2')]=_0x7cdad2;if(_0x33ed64[_0x1cd3('0xe08')]){_0x33ed64[_0x1cd3('0xe08')]=![];_0x33ed64[_0x1cd3('0x13c0')]=_0x25323c(_0x7cdad2)?_[_0x1cd3('0x13c1')](moment(_0x33ed64[_0x1cd3('0x1389')])[_0x1cd3('0x130')]('x')):_['max']([_0x33ed64[_0x1cd3('0x13a3')],_0x33ed64[_0x1cd3('0x139f')],_0x33ed64[_0x1cd3('0x13a1')],_0x33ed64[_0x1cd3('0x13a2')],_0x33ed64[_0x1cd3('0x13d2')],_0x33ed64['openchannelStatusTime'],_0x33ed64['faxStatusTime']]);}else{_0x33ed64[_0x1cd3('0x13c0')]=_[_0x1cd3('0x13c1')](moment()[_0x1cd3('0x130')]('x'));}}}function _0x12fcc9(_0x30be3f){var _0x457e76=_[_0x1cd3('0x13d4')](_0xd37a36[_0x1cd3('0x3d4')][_0x1cd3('0x13ad')],'-')?'desc':_0x1cd3('0x13d6');return _[_0x1cd3('0xe31')](_0x30be3f,[_0xd37a36[_0x1cd3('0x3d4')][_0x1cd3('0x13ad')][_0x1cd3('0x3f1')]('-','')],[_0x457e76]);}function _0x56db40(){if(_0x4698d2){_0x1c0f36['cancel'](_0x4698d2);_0x4698d2=null;}}function _0x52c178(_0x17027a,_0x412b9c){return _0x5e9791[_0x1cd3('0x368')]['update']({'id':_0x17027a['id']},{'screenrecording':_0x412b9c})[_0x1cd3('0x81')]['catch'](function(_0x1a0175){_0x51f113[_0x1cd3('0x434')]({'title':_0x1a0175['status']?'API:'+_0x1a0175[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x1a0175[_0x1cd3('0xd35')]:_0x1cd3('0x13d7'),'msg':_0x1a0175[_0x1cd3('0x439')]?JSON['stringify'](_0x1a0175[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x1a0175['toString']()});});}_0x2675c6[_0x1cd3('0x4d3')](_0x1cd3('0x523'),function(){_0x39a76f[_0x1cd3('0x6a3')](_0x1cd3('0x13b9'));_0x39a76f['removeAllListeners']('user:update');_0x39a76f[_0x1cd3('0x6a3')](_0x1cd3('0x13bc'));_0x39a76f['removeAllListeners']('user:agentcomplete');_0x56db40();});}}());(function(){'use strict';_0x14881e[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x3e7'),_0x1cd3('0x3c5'),'$q',_0x1cd3('0x372'),_0x1cd3('0x585'),_0x1cd3('0x1155'),_0x1cd3('0x13d8'),_0x1cd3('0x370'),_0x1cd3('0xd18'),'toasty',_0x1cd3('0x38a'),'userProfileSection',_0x1cd3('0x56')];angular['module'](_0x1cd3('0x2f'))['controller'](_0x1cd3('0x1d0e'),_0x14881e);function _0x14881e(_0x44fb1d,_0x753bc,_0x11a945,_0x1a7768,_0x32b1ea,_0x389b5a,_0x364c7f,_0x4ae0a6,_0x23c73b,_0x37bc66,_0xabf4fc,_0x3ba83d,_0x16756e,_0x3871ee){var _0x9b0a86=this;var _0x4480e6=[_0x1cd3('0x13d9'),_0x1cd3('0x13da'),'waiting',_0x1cd3('0x10f'),_0x1cd3('0x13db'),_0x1cd3('0x13dc'),_0x1cd3('0x43a'),'dialActive',_0x1cd3('0x13dd'),_0x1cd3('0x13de'),_0x1cd3('0x13ea')];_0x9b0a86[_0x1cd3('0x3ca')]=_0x3871ee['getCurrentUser']();_0x9b0a86[_0x1cd3('0x466')]=_0x364c7f[_0x1cd3('0x466')]?_0x364c7f[_0x1cd3('0x466')]:0x0;_0x9b0a86[_0x1cd3('0x1155')]=_0x364c7f?_['keyBy'](_0x364c7f[_0x1cd3('0xf6')]?_0x364c7f[_0x1cd3('0xf6')]:[],'id'):{};_0x9b0a86[_0x1cd3('0x13d8')]=_0x4ae0a6?_[_0x1cd3('0xe2d')](_0x4ae0a6[_0x1cd3('0xf6')]?_0x4ae0a6[_0x1cd3('0xf6')]:[],'id'):{};_0x9b0a86['userProfile']=_0x3ba83d;_0x9b0a86['userProfileSection']=_0x16756e&&_0x16756e[_0x1cd3('0x466')]==0x1?_0x16756e[_0x1cd3('0xf6')][0x0]:null;_0x9b0a86[_0x1cd3('0xd27')]=_0x3871ee[_0x1cd3('0xd44')](_0x9b0a86[_0x1cd3('0x390')]?_0x9b0a86[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);if(_0x3871ee[_0x1cd3('0x57')](_0x1cd3('0x5f'))){_0x9b0a86[_0x1cd3('0x3d4')]={'type':_0x1cd3('0xa4'),'sort':_0x1cd3('0x5b'),'limit':0xa,'page':0x1};}else{_0x9b0a86[_0x1cd3('0x3d4')]={'id':_0x9b0a86[_0x1cd3('0x3ca')]['id'],'channel':'mail','type':_0x1cd3('0xa4'),'sort':_0x1cd3('0x5b'),'limit':0xa,'page':0x1};}_0x9b0a86[_0x1cd3('0x473')]=_0x24f25f;_0x9b0a86['getQueues']=_0x41fe62;_0x9b0a86[_0x1cd3('0x1ce6')]=_0x3c096b;_0x9b0a86['agentAdd']=_0x5d470f;_0x9b0a86[_0x1cd3('0x13e0')]=_0x4db01b;_0x9b0a86['onSave']=_0x3d5788;_0x9b0a86[_0x1cd3('0x13e1')]=_0x25714c;_0x9b0a86[_0x1cd3('0x13e2')]=_0x191135;_0x9b0a86[_0x1cd3('0x13e3')]=_0x3bc0fc;_0x9b0a86[_0x1cd3('0x13e9')]=_0x32cebd;_0x9b0a86[_0x1cd3('0x13e4')]=_0x24148f;_0x9b0a86[_0x1cd3('0x699')]=_0x25d05d;_0x9b0a86[_0x1cd3('0x13ad')]=[];_['forIn'](_0x9b0a86[_0x1cd3('0x1155')],function(_0x5ce785,_0x3dac7e){_0x9b0a86[_0x1cd3('0x13ad')][_0x1cd3('0x7b')](_0x5ce785['id']);});_0x37bc66['on'](_0x1cd3('0x16e7'),_0x9b0a86[_0x1cd3('0x13b6')]);_0x37bc66['on'](_0x1cd3('0x16ec'),_0x9b0a86['onSaveMember']);_0x37bc66['on'](_0x1cd3('0x16ed'),_0x9b0a86[_0x1cd3('0x13e2')]);_0x37bc66['on'](_0x1cd3('0x13ba'),_0x9b0a86[_0x1cd3('0x13e3')]);_0x37bc66['on'](_0x1cd3('0x16a1'),_0x9b0a86[_0x1cd3('0x13e4')]);_0x37bc66['on']('userVoiceQueue:save',_0x9b0a86[_0x1cd3('0x13e9')]);function _0x25d05d(){var _0x5eccf0=[];_['forIn'](_0x9b0a86[_0x1cd3('0x1155')],function(_0x1bcf85,_0x16316a){_0x1bcf85[_0x1cd3('0x13ea')]=0x0;_0x1bcf85[_0x1cd3('0x13eb')]=0x0;_0x9b0a86[_0x1cd3('0x1155')][_0x16316a]['agents']={};_0x5eccf0[_0x1cd3('0x7b')](_0x23c73b['mailQueue'][_0x1cd3('0x13ec')]({'id':_0x16316a})[_0x1cd3('0x81')]);if(_0x9b0a86['rpcQueues'][_0x16316a]){_[_0x1cd3('0xf2')](_0x1bcf85,_[_0x1cd3('0x5e8')](_0x9b0a86[_0x1cd3('0x13d8')][_0x16316a],_0x4480e6));}});return _0x1a7768['all'](_0x5eccf0)[_0x1cd3('0x77')](function(_0x498c72){for(var _0x306ac1=0x0;_0x306ac1<_0x498c72[_0x1cd3('0x7a')];_0x306ac1+=0x1){for(var _0x1809a7=0x0;_0x1809a7<_0x498c72[_0x306ac1][_0x1cd3('0xf6')][_0x1cd3('0x7a')];_0x1809a7++){if(_0x498c72[_0x306ac1][_0x1cd3('0xf6')][_0x1809a7][_0x1cd3('0x13ea')]){_0x9b0a86[_0x1cd3('0x1155')][_0x498c72[_0x306ac1][_0x1cd3('0xf6')][_0x1809a7]['MailQueueId']][_0x1cd3('0x13ea')]++;}_0x9b0a86[_0x1cd3('0x1155')][_0x498c72[_0x306ac1][_0x1cd3('0xf6')][_0x1809a7][_0x1cd3('0x1c5c')]][_0x1cd3('0x13eb')]++;_0x9b0a86[_0x1cd3('0x1155')][_0x498c72[_0x306ac1]['rows'][_0x1809a7][_0x1cd3('0x1c5c')]][_0x1cd3('0x1228')][_0x498c72[_0x306ac1][_0x1cd3('0xf6')][_0x1809a7]['UserId']]=_0x498c72[_0x306ac1]['rows'][_0x1809a7]['MailQueueId'];}}})[_0x1cd3('0xfd')](function(_0x4c6432){console[_0x1cd3('0x434')](_0x4c6432);});}function _0x3d5788(_0x42bf31){if(_0x9b0a86[_0x1cd3('0x1155')][_0x42bf31['id']]){_[_0x1cd3('0xf2')](_0x9b0a86[_0x1cd3('0x1155')][_0x42bf31['id']],_['pick'](_0x42bf31,_0x4480e6));}}function _0x25714c(_0x6f2efb){if(_0x9b0a86[_0x1cd3('0x1155')][_0x6f2efb['MailQueueId']]){_0x9b0a86[_0x1cd3('0x1155')][_0x6f2efb[_0x1cd3('0x1c5c')]]['loggedInDb']++;}}function _0x191135(_0x5cded1){if(_0x9b0a86['queues'][_0x5cded1[_0x1cd3('0x1c5c')]]){_0x9b0a86[_0x1cd3('0x1155')][_0x5cded1[_0x1cd3('0x1c5c')]][_0x1cd3('0x13eb')]--;}}function _0x3bc0fc(_0x54d4d2){console[_0x1cd3('0x7d')](_0x1cd3('0x13e3'),_0x54d4d2);if(_0x54d4d2[_0x1cd3('0x604')]){_[_0x1cd3('0x13e5')](_0x9b0a86[_0x1cd3('0x1155')],function(_0x48d201,_0x4940c1){if(_0x48d201['agents'][_0x54d4d2['id']]){_0x48d201['paused']+=0x1;console['log']('pause');}});}else if(!_0x54d4d2[_0x1cd3('0x604')]){_[_0x1cd3('0x13e5')](_0x9b0a86[_0x1cd3('0x1155')],function(_0x1ddb99,_0x3e6b1e){if(_0x1ddb99['agents'][_0x54d4d2['id']]){if(_0x1ddb99[_0x1cd3('0x13ea')]>0x0){_0x1ddb99['paused']-=0x1;console[_0x1cd3('0x7d')]('unpause');}}});}}function _0x32cebd(_0x43cb07){console[_0x1cd3('0x7d')](_0x1cd3('0x13ee'),_0x43cb07);if(_0x9b0a86['queues'][_0x43cb07[_0x1cd3('0x1c5c')]]){_0x9b0a86[_0x1cd3('0x1155')][_0x43cb07[_0x1cd3('0x1c5c')]]['loggedInDb']+=0x1;_0x9b0a86[_0x1cd3('0x1155')][_0x43cb07[_0x1cd3('0x1c5c')]][_0x1cd3('0x1228')][_0x43cb07[_0x1cd3('0x1226')]]=_0x43cb07['MailQueueId'];}}function _0x24148f(_0x10be85){console[_0x1cd3('0x7d')]('onLogout',_0x10be85);if(_0x9b0a86[_0x1cd3('0x1155')][_0x10be85['MailQueueId']]&&_0x9b0a86[_0x1cd3('0x1155')][_0x10be85[_0x1cd3('0x1c5c')]][_0x1cd3('0x13eb')]>0x0){_0x9b0a86[_0x1cd3('0x1155')][_0x10be85[_0x1cd3('0x1c5c')]][_0x1cd3('0x13eb')]-=0x1;delete _0x9b0a86['queues'][_0x10be85[_0x1cd3('0x1c5c')]][_0x1cd3('0x1228')][_0x10be85[_0x1cd3('0x1226')]];}}var _0x41c161=!![];var _0x3e11e3=0x1;_0x44fb1d['$watch'](_0x1cd3('0xd56'),function(_0x21baf0,_0x55e7b1){if(_0x41c161){_0x753bc(function(){_0x41c161=![];});}else{if(!_0x55e7b1){_0x3e11e3=_0x9b0a86[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0x21baf0!==_0x55e7b1){_0x9b0a86['query'][_0x1cd3('0x8fd')]=0x1;}if(!_0x21baf0){_0x9b0a86[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0x3e11e3;}_0x9b0a86[_0x1cd3('0x13df')]();}});function _0x24f25f(_0x1acde7){_0x9b0a86['count']=_0x1acde7['count'];_0x9b0a86['queues']=_0x1acde7?_[_0x1cd3('0xe2d')](_0x1acde7[_0x1cd3('0xf6')]?_0x1acde7['rows']:[],'id'):{};if(_0x1acde7[_0x1cd3('0xf6')]){_0x9b0a86[_0x1cd3('0x13ad')]=[];for(var _0x279b07=0x0;_0x279b07<_0x1acde7[_0x1cd3('0xf6')][_0x1cd3('0x7a')];_0x279b07++){_0x9b0a86[_0x1cd3('0x13ad')][_0x1cd3('0x7b')](_0x1acde7[_0x1cd3('0xf6')][_0x279b07]['id']);}}_0x25d05d();}function _0x41fe62(){_0x9b0a86[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0x9b0a86['query'][_0x1cd3('0x8fd')]-0x1)*_0x9b0a86[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];if(_0x3871ee[_0x1cd3('0x57')](_0x1cd3('0x5f'))){_0x9b0a86[_0x1cd3('0x539')]=_0x23c73b[_0x1cd3('0xa85')][_0x1cd3('0x361')](_0x9b0a86['query'],_0x24f25f)[_0x1cd3('0x81')];}else{_0x9b0a86[_0x1cd3('0x3d4')]['id']=_0x9b0a86[_0x1cd3('0x38a')]['id'];_0x9b0a86['query'][_0x1cd3('0xd58')]=_0x1cd3('0x1d3');_0x9b0a86[_0x1cd3('0x539')]=_0x23c73b['userProfile'][_0x1cd3('0xd59')](_0x9b0a86[_0x1cd3('0x3d4')],_0x24f25f)['$promise'];}}function _0x3c096b(_0x4ed790,_0x6a5dd8){_0x11a945['show']({'controller':_0x1cd3('0x1ccb'),'controllerAs':'vm','templateUrl':'app/main/apps/mail/views/mailQueues/create/dialog.html','parent':angular['element'](_0x32b1ea[_0x1cd3('0x380')]),'targetEvent':_0x4ed790,'clickOutsideToClose':!![],'locals':{'mailQueue':_0x6a5dd8,'mailQueues':_[_0x1cd3('0x42d')](_0x9b0a86[_0x1cd3('0x1155')]),'license':null,'setting':null,'crudPermissions':_0x9b0a86[_0x1cd3('0xd27')]}});}function _0x5d470f(_0x1bd14f,_0x2b7dba){_0x11a945['show']({'controller':'MailQueueagentaddController','controllerAs':'vm','templateUrl':_0x1cd3('0x1ce0'),'parent':angular[_0x1cd3('0x37f')](_0x32b1ea['body']),'targetEvent':_0x1bd14f,'clickOutsideToClose':!![],'locals':{'mailQueue':_0x2b7dba,'mailQueues':_0x9b0a86[_0x1cd3('0x1155')]?_0x9b0a86[_0x1cd3('0x1155')][_0x1cd3('0xf6')]:[],'realtime':![],'crudPermissions':_0x9b0a86['crudPermissions']}});}function _0x4db01b(_0x3ad799){return _0x23c73b[_0x1cd3('0xa85')]['update'](_0x3ad799)[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0xabf4fc[_0x1cd3('0x473')]({'title':_0x1cd3('0x13ef'),'msg':_0x3ad799[_0x1cd3('0x98')]?_0x3ad799[_0x1cd3('0x98')]+'\x20has\x20been\x20updated!':''});})[_0x1cd3('0xfd')](function(_0x5e1f55){_0xabf4fc[_0x1cd3('0x434')]({'title':_0x1cd3('0x1993'),'msg':_0x5e1f55[_0x1cd3('0x43a')]});});}_0x44fb1d[_0x1cd3('0x4d3')]('$destroy',function(){_0x37bc66[_0x1cd3('0x6a3')](_0x1cd3('0x16e7'));_0x37bc66[_0x1cd3('0x6a3')](_0x1cd3('0x16ed'));_0x37bc66['removeAllListeners'](_0x1cd3('0x16ec'));_0x37bc66['removeAllListeners'](_0x1cd3('0x13ba'));_0x37bc66['removeAllListeners'](_0x1cd3('0x16a1'));_0x37bc66[_0x1cd3('0x6a3')]('userVoiceQueue:save');});}}());(function(){'use strict';angular[_0x1cd3('0x0')](_0x1cd3('0x1'))['factory'](_0x1cd3('0x1999'),_0x5d3921);function _0x5d3921(){return{'status':{'registered':_0x1cd3('0x13f1'),'unregistered':'red-300-fg\x20icon-close-circle','lagged':_0x1cd3('0x13f2'),'reachable':_0x1cd3('0x13f1'),'unreachable':_0x1cd3('0x13f2'),'unknown':_0x1cd3('0x1994')},'state':{'unknown':_0x1cd3('0x13f3'),'not_inuse':'green-300-fg\x20icon-phone-hangup','inuse':'red-300-fg\x20icon-phone-in-talk','busy':'red-300-fg\x20icon-phone-locked','invalid':_0x1cd3('0x13f3'),'unavailable':_0x1cd3('0x13f3'),'ringing':_0x1cd3('0x13f6'),'ringinuse':_0x1cd3('0x13f6'),'onhold':_0x1cd3('0x13f7')},'channelStatus':{'ring':_0x1cd3('0x13f6'),'up':'green-300-fg\x20icon-phone-in-talk','hangup':_0x1cd3('0x13f9')},'channelStatusOut':{'ring':_0x1cd3('0x13fa'),'up':'green-300-fg\x20icon-phone-in-talk','hangup':_0x1cd3('0x13f9')}};}}());(function(){'use strict';_0x38e725[_0x1cd3('0xc')]=[_0x1cd3('0x460'),'$state',_0x1cd3('0xd18')];angular[_0x1cd3('0x0')](_0x1cd3('0x2f'))['controller'](_0x1cd3('0x1d0f'),_0x38e725);function _0x38e725(_0x3f3086,_0x4ab06f,_0x5b68f0){var _0x197870=this;_0x5b68f0['disconnect']();_0x5b68f0[_0x1cd3('0x664')]();_0x197870[_0x1cd3('0xe5f')]=0x0;switch(_0x4ab06f[_0x1cd3('0x530')][_0x1cd3('0x98')]){case _0x1cd3('0x1e4'):_0x197870[_0x1cd3('0xe5f')]=0x0;break;case'app.mail.realtime.queues':_0x197870[_0x1cd3('0xe5f')]=0x1;break;case _0x1cd3('0x1eb'):_0x197870[_0x1cd3('0xe5f')]=0x2;break;default:_0x197870[_0x1cd3('0xe5f')]=0x0;_0x4ab06f['go'](_0x1cd3('0x1e4'));}_0x3f3086[_0x1cd3('0x4d6')](_0x1cd3('0x13fc'),function(_0x28b27d,_0xb4208b){if(_0x28b27d!==_0xb4208b){switch(_0x28b27d){case 0x0:_0x4ab06f['go'](_0x1cd3('0x1e4'));break;case 0x1:_0x4ab06f['go'](_0x1cd3('0x1e7'));break;case 0x2:_0x4ab06f['go']('app.mail.realtime.accounts');break;default:_0x4ab06f['go'](_0x1cd3('0x1e4'));}}});}}());(function(){'use strict';_0x122aed['$inject']=[_0x1cd3('0x460'),_0x1cd3('0x53e'),_0x1cd3('0xd24'),_0x1cd3('0x3c5'),'$q','$translate',_0x1cd3('0x461'),'plugins',_0x1cd3('0xc78'),_0x1cd3('0x370'),'Auth','license',_0x1cd3('0xc49'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x1f0'))[_0x1cd3('0x39b')](_0x1cd3('0x1d10'),_0x122aed);function _0x122aed(_0x29de2c,_0x52d672,_0x5ea3df,_0x28cc0b,_0x2d4071,_0x476b9f,_0x28da40,_0x2880da,_0x2d1a0e,_0x5cca64,_0x41791f,_0xa85d82,_0x4da4c2,_0x62ce46){var _0x4f7691=this;_0x4f7691[_0x1cd3('0x3ca')]=_0x41791f[_0x1cd3('0x5d')]();_0x4f7691[_0x1cd3('0xd34')]=[];_0x4f7691[_0x1cd3('0xc49')]=_0x4da4c2;_0x4f7691[_0x1cd3('0x463')]=_0xa85d82;_0x4f7691[_0x1cd3('0xd27')]=_0x62ce46;_0x4f7691[_0x1cd3('0xd28')]={};_0x4f7691[_0x1cd3('0xd29')]=_0x4f7691[_0x1cd3('0xc49')]&&_0x4f7691[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x4f7691[_0x1cd3('0x486')]='MARKETPLACE.EDIT_PLUGIN';_0x4f7691[_0x1cd3('0xc78')]=angular['copy'](_0x2d1a0e);_0x4f7691[_0x1cd3('0x246')]=_0x2880da;_0x4f7691[_0x1cd3('0x1d11')]=![];if(!_0x4f7691[_0x1cd3('0xc78')]){_0x4f7691[_0x1cd3('0xc78')]={};_0x4f7691['title']='MARKETPLACE.NEW_PLUGIN';_0x4f7691[_0x1cd3('0x1d11')]=!![];}_0x4f7691[_0x1cd3('0x1d12')]=_0x3ac019;_0x4f7691[_0x1cd3('0x1d13')]=_0x29cac7;_0x4f7691[_0x1cd3('0x1d14')]=_0x5e37cd;_0x4f7691['getDateFromString']=_0x5f46b7;_0x4f7691['closeDialog']=_0x2d5367;function _0x3ac019(){_0x4f7691[_0x1cd3('0xd34')]=[];_0x5cca64[_0x1cd3('0xc78')][_0x1cd3('0xd6d')](_0x4f7691['plugin'])['$promise'][_0x1cd3('0x77')](function(_0x39d70e){_0x4f7691[_0x1cd3('0x246')][_0x1cd3('0x621')](_0x39d70e['toJSON']());_0x28da40[_0x1cd3('0x473')]({'title':_0x1cd3('0x1d15'),'msg':_0x4f7691['plugin'][_0x1cd3('0x98')]?_0x4f7691[_0x1cd3('0xc78')][_0x1cd3('0x98')]+_0x1cd3('0xd33'):''});_0x2d5367(_0x39d70e);})[_0x1cd3('0xfd')](function(_0x468627){if(_0x468627[_0x1cd3('0x439')]&&_0x468627[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x468627['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x4f7691[_0x1cd3('0xd34')]=_0x468627[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x468627[_0x1cd3('0x43b')](),'type':'api.plugin.save'}];for(var _0x474b95=0x0;_0x474b95<_0x468627[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x474b95+=0x1){_0x28da40[_0x1cd3('0x434')]({'title':_0x468627[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x474b95][_0x1cd3('0x424')],'msg':_0x468627['data']['errors'][_0x474b95]['message']});}}else{_0x28da40['error']({'title':_0x468627[_0x1cd3('0x3a6')]?'API:'+_0x468627[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x468627[_0x1cd3('0xd35')]:_0x1cd3('0x1d16'),'msg':_0x468627[_0x1cd3('0x439')]?JSON['stringify'](_0x468627[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x468627[_0x1cd3('0x43b')]()});}});}function _0x29cac7(){_0x4f7691[_0x1cd3('0xd34')]=[];_0x5cca64[_0x1cd3('0xc78')]['update']({'id':_0x4f7691[_0x1cd3('0xc78')]['id']},_0x4f7691[_0x1cd3('0xc78')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x2b7524){var _0x1b9c1b=_[_0x1cd3('0x442')](_0x4f7691[_0x1cd3('0x246')],{'id':_0x2b7524['id']});if(_0x1b9c1b){_[_0x1cd3('0xf2')](_0x1b9c1b,_[_0x1cd3('0x5e8')](_0x2b7524[_0x1cd3('0xd32')](),_[_0x1cd3('0x80')](_0x1b9c1b)));}_0x28da40[_0x1cd3('0x473')]({'title':_0x1cd3('0x1d17'),'msg':_0x4f7691[_0x1cd3('0xc78')]['name']?_0x4f7691['plugin'][_0x1cd3('0x98')]+_0x1cd3('0xd37'):''});_0x2d5367(_0x2b7524);})[_0x1cd3('0xfd')](function(_0x4aefac){if(_0x4aefac[_0x1cd3('0x439')]&&_0x4aefac[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x4aefac['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x4f7691[_0x1cd3('0xd34')]=_0x4aefac[_0x1cd3('0x439')]['errors']||[{'message':_0x4aefac[_0x1cd3('0x43b')](),'type':'api.plugin.update'}];for(var _0x2b9be7=0x0;_0x2b9be7<_0x4aefac[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length'];_0x2b9be7++){_0x28da40[_0x1cd3('0x434')]({'title':_0x4aefac[_0x1cd3('0x439')]['errors'][_0x2b9be7][_0x1cd3('0x424')],'msg':_0x4aefac[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x2b9be7][_0x1cd3('0x43a')]});}}else{_0x28da40[_0x1cd3('0x434')]({'title':_0x4aefac['status']?_0x1cd3('0x435')+_0x4aefac[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x4aefac[_0x1cd3('0xd35')]:'api.plugin.update','msg':_0x4aefac[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x4aefac[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x4aefac[_0x1cd3('0x43b')]()});}});}function _0x5e37cd(_0x1f6024){_0x4f7691['errors']=[];var _0x5535eb=_0x28cc0b['confirm']()[_0x1cd3('0x486')](_0x1cd3('0xd3a'))[_0x1cd3('0xd3b')]('The\x20plugin\x20will\x20be\x20deleted.')[_0x1cd3('0xd3d')](_0x1cd3('0x1d18'))['ok']('Delete')[_0x1cd3('0x4d8')](_0x1cd3('0x674'))[_0x1cd3('0xd63')](_0x1f6024);_0x28cc0b[_0x1cd3('0x37e')](_0x5535eb)[_0x1cd3('0x77')](function(){_0x5cca64[_0x1cd3('0xc78')]['delete']({'id':_0x4f7691[_0x1cd3('0xc78')]['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x4f7691['plugins'],{'id':_0x4f7691[_0x1cd3('0xc78')]['id']});_0x28da40[_0x1cd3('0x473')]({'title':_0x1cd3('0x1d19'),'msg':(_0x4f7691[_0x1cd3('0xc78')]['name']||'plugin')+_0x1cd3('0xd41')});_0x2d5367(_0x4f7691['plugin']);})[_0x1cd3('0xfd')](function(_0x2c2013){if(_0x2c2013['data']&&_0x2c2013['data'][_0x1cd3('0xd34')]&&_0x2c2013[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')]){_0x4f7691[_0x1cd3('0xd34')]=_0x2c2013[_0x1cd3('0x439')]['errors']||[{'message':_0x2c2013[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1d1a')}];for(var _0x21eec8=0x0;_0x21eec8<_0x2c2013[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x21eec8++){_0x28da40[_0x1cd3('0x434')]({'title':_0x2c2013[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x21eec8]['type'],'msg':_0x2c2013[_0x1cd3('0x439')]['errors'][_0x21eec8][_0x1cd3('0x43a')]});}}else{_0x28da40[_0x1cd3('0x434')]({'title':_0x2c2013[_0x1cd3('0x3a6')]?'API:'+_0x2c2013['status']+_0x1cd3('0x436')+_0x2c2013['statusText']:_0x1cd3('0x1d1a'),'msg':_0x2c2013[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x2c2013[_0x1cd3('0x439')]['message']):_0x2c2013[_0x1cd3('0x43a')]||_0x2c2013[_0x1cd3('0x43b')]()});}});},function(){});}function _0x5f46b7(_0x39f895){return _0x39f895===null?undefined:new Date(_0x39f895);}function _0x2d5367(_0x2569c4){_0x28cc0b[_0x1cd3('0x39d')](_0x2569c4);}}}());(function(){'use strict';_0x3792da[_0x1cd3('0xc')]=[_0x1cd3('0x53e'),_0x1cd3('0xd24'),_0x1cd3('0x3c5'),_0x1cd3('0x372'),_0x1cd3('0x3f7'),_0x1cd3('0x463'),'setting',_0x1cd3('0x370'),'toasty',_0x1cd3('0x56'),_0x1cd3('0xc78'),_0x1cd3('0x390')];angular[_0x1cd3('0x0')](_0x1cd3('0x1f0'))[_0x1cd3('0x39b')](_0x1cd3('0x1d1b'),_0x3792da);function _0x3792da(_0x4f91c9,_0x15a9a8,_0x5e3dee,_0x212f50,_0x14f81b,_0x5aa7d7,_0x164f06,_0x507cbc,_0xd990e9,_0x147e3d,_0x2c3825,_0x264e9c){var _0x1678ba=this;_0x1678ba['currentUser']=_0x147e3d[_0x1cd3('0x5d')]();_0x1678ba[_0x1cd3('0x463')]=_0x5aa7d7;_0x1678ba['setting']=_0x164f06;_0x1678ba['passwordPattern']=_0x1678ba['setting'][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x1678ba['location']=_0x15a9a8[_0x1cd3('0x3b0')]()+_0x1cd3('0x11cf')+_0x15a9a8[_0x1cd3('0x3ac')]();_0x1678ba[_0x1cd3('0xc78')]=_0x2c3825||_0x4f91c9[_0x1cd3('0x36a')][_0x1cd3('0xc78')]||{};_0x1678ba[_0x1cd3('0x390')]=_0x264e9c&&_0x264e9c['count']==0x1?_0x264e9c['rows'][0x0]:null;_0x1678ba[_0x1cd3('0xd27')]=_0x147e3d['parseCrudPermissions'](_0x1678ba[_0x1cd3('0x390')]?_0x1678ba[_0x1cd3('0x390')]['crudPermissions']:null);_0x1678ba[_0x1cd3('0xd28')]={};_0x1678ba[_0x1cd3('0xe5f')]=_0x4f91c9[_0x1cd3('0x36a')][_0x1cd3('0x1418')]||0x0;_0x1678ba[_0x1cd3('0x11d0')]=_0xd990e9[_0x1cd3('0x654')];_0x1678ba['gotoPlugins']=_0x43fbe6;_0x1678ba[_0x1cd3('0x1d13')]=_0x1029d2;function _0x43fbe6(){_0x4f91c9['go'](_0x1cd3('0x1f2'),{},{'reload':_0x1cd3('0x1f2')});}function _0x1029d2(){_0x507cbc[_0x1cd3('0xc78')][_0x1cd3('0x378')]({'id':_0x1678ba[_0x1cd3('0xc78')]['id']},_0x1678ba[_0x1cd3('0xc78')])['$promise']['then'](function(){_0xd990e9['success']({'title':_0x1cd3('0x1d1c'),'msg':_0x1678ba[_0x1cd3('0xc78')]['name']?_0x1678ba['plugin'][_0x1cd3('0x98')]+_0x1cd3('0xe65'):''});})['catch'](function(_0x5654dd){_0xd990e9['error']({'title':_0x5654dd['status']?_0x1cd3('0x435')+_0x5654dd['status']+_0x1cd3('0x436')+_0x5654dd['statusText']:_0x1cd3('0x1d1d'),'msg':_0x5654dd[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x5654dd['data']):_0x5654dd[_0x1cd3('0x43b')]()});});}}}());(function(){'use strict';_0x1c248a[_0x1cd3('0xc')]=['$scope',_0x1cd3('0x371'),'$state','$mdSidenav','$mdDialog',_0x1cd3('0x372'),'$timeout',_0x1cd3('0x3f7'),_0x1cd3('0x246'),'userProfile',_0x1cd3('0x390'),_0x1cd3('0x370'),_0x1cd3('0x2dd'),_0x1cd3('0x461'),_0x1cd3('0x56'),'license',_0x1cd3('0xc49')];angular[_0x1cd3('0x0')](_0x1cd3('0x1f0'))['controller'](_0x1cd3('0x1d1e'),_0x1c248a);function _0x1c248a(_0x2e3226,_0x1adfc1,_0xfed25e,_0x5b47db,_0x4d909d,_0xdda8a2,_0x576951,_0x5ba943,_0x591aa3,_0x419759,_0x19c06b,_0xf82bae,_0x3aa52e,_0x55d803,_0x4e90b9,_0x1fca53,_0x4ef50c){var _0x449c75=this;_0x449c75['license']=_0x1fca53;_0x449c75[_0x1cd3('0xc49')]=_0x4ef50c;_0x449c75[_0x1cd3('0x3ca')]=_0x4e90b9[_0x1cd3('0x5d')]();_0x449c75['plugins']=_0x591aa3||{'count':0x0,'rows':[]};_0x449c75[_0x1cd3('0x38a')]=_0x419759;_0x449c75[_0x1cd3('0x390')]=_0x19c06b&&_0x19c06b['count']==0x1?_0x19c06b[_0x1cd3('0xf6')][0x0]:null;_0x449c75[_0x1cd3('0xd27')]=_0x4e90b9['parseCrudPermissions'](_0x449c75[_0x1cd3('0x390')]?_0x449c75[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);_0x449c75[_0x1cd3('0xd45')]=_0x1cd3('0x246');_0x449c75[_0x1cd3('0xd46')]='';_0x449c75[_0x1cd3('0xd47')]=null;_0x449c75[_0x1cd3('0x1d1f')]=[];_0x449c75[_0x1cd3('0x3d4')]={'fields':_0x1cd3('0x1d20'),'sort':_0x1cd3('0x98'),'limit':0xa,'page':0x1};_0x449c75['installing']=![];_0x449c75[_0x1cd3('0x1d21')]=_[_0x1cd3('0xe2d')]([{'option':_0x1cd3('0x122e'),'value':_0x1cd3('0x1d22')},{'option':_0x1cd3('0x1d23'),'value':_0x1cd3('0x1d24')},{'option':_0x1cd3('0x1d25'),'value':_0x1cd3('0x1d26')},{'option':'Never','value':_0x1cd3('0x1d27')}],function(_0x11095c){return _[_0x1cd3('0x3f1')](_0x11095c[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x449c75[_0x1cd3('0x1d28')]=_0x2b7336;_0x449c75[_0x1cd3('0x1171')]=_0x9c9a88;_0x449c75[_0x1cd3('0x1d29')]=_0x284df9;_0x449c75[_0x1cd3('0x1d2a')]=_0x4fbf3e;_0x449c75[_0x1cd3('0x118c')]=_0x476ed7;_0x449c75[_0x1cd3('0x1d2b')]=_0x6065b3;_0x449c75[_0x1cd3('0xecc')]=_0x54de21;_0x449c75[_0x1cd3('0x473')]=_0x16c1f7;_0x449c75['getPlugins']=_0x2fb976;_0x449c75['createOrEditPlugin']=_0x59a49c;_0x449c75[_0x1cd3('0x1d14')]=_0x8b28c2;_0x449c75['exportSelectedPlugins']=_0x2dd870;_0x449c75[_0x1cd3('0x1d2c')]=_0x404f5d;_0x449c75[_0x1cd3('0x1d2d')]=_0x5872f7;_0x449c75[_0x1cd3('0x1d2e')]=_0x48dac4;_0x449c75[_0x1cd3('0x1d2f')]=_0x341f00;function _0x2b7336(_0x4a3bd6){if(_0x4a3bd6['type']===_0x1cd3('0x1d30')){_0x449c75[_0x1cd3('0x92c')]=!![];_0xf82bae[_0x1cd3('0xa16')][_0x1cd3('0xd6d')]({'name':_0x4a3bd6[_0x1cd3('0x1d31')],'script':_0x4a3bd6['path']+'/'+_0x4a3bd6[_0x1cd3('0x1d32')]})[_0x1cd3('0x81')]['then'](function(){_0x4a3bd6['active']=!![];return _0xf82bae[_0x1cd3('0xc78')][_0x1cd3('0x378')]({'id':_0x4a3bd6['id']},_0x4a3bd6)[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(){_0x449c75['installing']=![];_0x55d803[_0x1cd3('0x473')]({'title':_0x1cd3('0x1d33'),'msg':_0x4a3bd6['name']?_0x4a3bd6[_0x1cd3('0x98')]+_0x1cd3('0x1d34'):''});})['catch'](function(_0x8d43d){if(_0x8d43d[_0x1cd3('0x439')]&&_0x8d43d['data']['errors']&&_0x8d43d['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x449c75[_0x1cd3('0xd34')]=_0x8d43d[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x8d43d[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1d35')}];for(var _0x28a8b7=0x0;_0x28a8b7<_0x8d43d[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x28a8b7++){_0x55d803['error']({'title':_0x8d43d[_0x1cd3('0x439')]['errors'][_0x28a8b7][_0x1cd3('0x424')],'msg':_0x8d43d[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x28a8b7]['message']});}}else{_0x55d803[_0x1cd3('0x434')]({'title':_0x8d43d[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x8d43d[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x8d43d[_0x1cd3('0xd35')]:_0x1cd3('0x1d35'),'msg':_0x8d43d[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x8d43d['data'][_0x1cd3('0x43a')]):_0x8d43d['message']||_0x8d43d[_0x1cd3('0x43b')]()});}});}else{_0x4a3bd6[_0x1cd3('0x92d')]=!![];return _0xf82bae['plugin'][_0x1cd3('0x378')]({'id':_0x4a3bd6['id']},_0x4a3bd6)['$promise'][_0x1cd3('0x77')](function(){_0x55d803[_0x1cd3('0x473')]({'title':_0x1cd3('0x1d33'),'msg':_0x4a3bd6[_0x1cd3('0x98')]?_0x4a3bd6[_0x1cd3('0x98')]+'\x20has\x20been\x20installed!':''});})[_0x1cd3('0xfd')](function(_0x190f34){if(_0x190f34[_0x1cd3('0x439')]&&_0x190f34[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x190f34[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x449c75[_0x1cd3('0xd34')]=_0x190f34[_0x1cd3('0x439')]['errors']||[{'message':_0x190f34[_0x1cd3('0x43b')](),'type':'api.plugin.update'}];for(var _0x7c82a2=0x0;_0x7c82a2<_0x190f34[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x7c82a2++){_0x55d803['error']({'title':_0x190f34['data'][_0x1cd3('0xd34')][_0x7c82a2][_0x1cd3('0x424')],'msg':_0x190f34['data'][_0x1cd3('0xd34')][_0x7c82a2][_0x1cd3('0x43a')]});}}else{_0x55d803[_0x1cd3('0x434')]({'title':_0x190f34[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x190f34[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x190f34[_0x1cd3('0xd35')]:_0x1cd3('0x1d36'),'msg':_0x190f34[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x190f34['data']['message']):_0x190f34['message']||_0x190f34[_0x1cd3('0x43b')]()});}});}}function _0x9c9a88(_0x589b00,_0x2263b5){_0xfed25e['go'](_0x1cd3('0x1d37'),{'id':_0x589b00['id'],'plugin':_0x589b00,'crudPermissions':_0x449c75[_0x1cd3('0xd27')]});}function _0x284df9(_0x149352,_0x574624){var _0x8ff6ab=_0x4d909d[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x1d38'))['htmlContent'](_0x1cd3('0xd51')+(_0x149352[_0x1cd3('0x98')]||_0x1cd3('0xc78'))+'</b>'+_0x1cd3('0x1d39'))[_0x1cd3('0xd3d')](_0x1cd3('0x1d3a'))[_0x1cd3('0xd63')](_0x574624)['ok']('OK')['cancel'](_0x1cd3('0xd55'));_0x4d909d[_0x1cd3('0x37e')](_0x8ff6ab)[_0x1cd3('0x77')](function(){_0x21a757(_0x149352);},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}function _0x21a757(_0x45d91a){_0xf82bae['pm2'][_0x1cd3('0x361')]()['$promise'][_0x1cd3('0x77')](function(_0x51922a){if(!_0x51922a||!_0x51922a['rows']){throw new Error(_0x1cd3('0x1d3b'));}var _0x112400=_['find'](_0x51922a['rows'],{'name':_0x45d91a[_0x1cd3('0x1d31')]});if(!_0x112400){throw new Error(_0x1cd3('0x1d3c'));}_0xf82bae[_0x1cd3('0xa16')]['update']({'id':_0x112400[_0x1cd3('0x1d3d')],'status':_0x1cd3('0x1d3e')})[_0x1cd3('0x81')]['then'](function(){_0x55d803[_0x1cd3('0x473')]({'title':_0x1cd3('0x1d3f'),'msg':'Attached\x20pm2\x20process\x20successfully\x20stopped'});});})[_0x1cd3('0xfd')](function(_0x352172){if(_0x352172[_0x1cd3('0x439')]&&_0x352172[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x352172['data']['errors'][_0x1cd3('0x7a')]){_0x449c75['errors']=_0x352172['data'][_0x1cd3('0xd34')]||[{'message':_0x352172[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1d40')}];for(var _0x2afe12=0x0;_0x2afe12<_0x352172[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length'];_0x2afe12++){_0x55d803[_0x1cd3('0x434')]({'title':_0x352172[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x2afe12]['type'],'msg':_0x352172[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x2afe12][_0x1cd3('0x43a')]});}}else{_0x55d803[_0x1cd3('0x434')]({'title':_0x352172['status']?'API:'+_0x352172[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x352172[_0x1cd3('0xd35')]:_0x1cd3('0x1d40'),'msg':_0x352172['data']?JSON[_0x1cd3('0x438')](_0x352172['data'][_0x1cd3('0x43a')]):_0x352172[_0x1cd3('0x43a')]||_0x352172[_0x1cd3('0x43b')]()});}});}function _0x4fbf3e(_0x207687,_0x34d6fb){var _0x1d73a1=_0x4d909d[_0x1cd3('0xd39')]()[_0x1cd3('0x486')]('Are\x20you\x20sure\x20want\x20to\x20restart\x20the\x20plugin\x20attached\x20process?')[_0x1cd3('0xd60')](_0x1cd3('0xd51')+(_0x207687[_0x1cd3('0x98')]||_0x1cd3('0xc78'))+'</b>'+_0x1cd3('0x1d41'))[_0x1cd3('0xd3d')](_0x1cd3('0x1d42'))[_0x1cd3('0xd63')](_0x34d6fb)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x4d909d[_0x1cd3('0x37e')](_0x1d73a1)[_0x1cd3('0x77')](function(){_0x59721d(_0x207687);},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}function _0x59721d(_0x57562d){_0xf82bae[_0x1cd3('0xa16')][_0x1cd3('0x361')]()['$promise'][_0x1cd3('0x77')](function(_0x3c9b02){if(!_0x3c9b02||!_0x3c9b02[_0x1cd3('0xf6')]){throw new Error(_0x1cd3('0x1d3b'));}var _0x19bcf6=_['find'](_0x3c9b02[_0x1cd3('0xf6')],{'name':_0x57562d[_0x1cd3('0x1d31')]});if(!_0x19bcf6){throw new Error(_0x1cd3('0x1d3c'));}_0xf82bae[_0x1cd3('0xa16')][_0x1cd3('0x378')]({'id':_0x19bcf6[_0x1cd3('0x1d3d')],'status':_0x1cd3('0x1387')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x55d803[_0x1cd3('0x473')]({'title':_0x1cd3('0x1d43'),'msg':'Attached\x20pm2\x20process\x20successfully\x20restarted'});});})[_0x1cd3('0xfd')](function(_0x13d604){if(_0x13d604[_0x1cd3('0x439')]&&_0x13d604[_0x1cd3('0x439')]['errors']&&_0x13d604['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x449c75['errors']=_0x13d604['data'][_0x1cd3('0xd34')]||[{'message':_0x13d604[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1d40')}];for(var _0x224f00=0x0;_0x224f00<_0x13d604[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x224f00++){_0x55d803[_0x1cd3('0x434')]({'title':_0x13d604['data'][_0x1cd3('0xd34')][_0x224f00]['type'],'msg':_0x13d604['data']['errors'][_0x224f00]['message']});}}else{_0x55d803[_0x1cd3('0x434')]({'title':_0x13d604[_0x1cd3('0x3a6')]?'API:'+_0x13d604[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x13d604[_0x1cd3('0xd35')]:_0x1cd3('0x1d40'),'msg':_0x13d604[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x13d604[_0x1cd3('0x439')]['message']):_0x13d604['message']||_0x13d604[_0x1cd3('0x43b')]()});}});}function _0x476ed7(_0x3e3119,_0x1b13db){return _0xf82bae['plugin'][_0x1cd3('0x489')]({'id':_0x3e3119['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x2a3632){var _0x3fc5ed=[_0x2a3632[_0x1cd3('0x6ef')]];var _0x5f0422='download';var _0x1199e0=new Blob(_0x3fc5ed,{'type':_0x2a3632[_0x1cd3('0x424')]});_0x5f0422=_0x3e3119['name'][_0x1cd3('0x3f1')]('\x20','_')[_0x1cd3('0x433')]()+_0x1cd3('0x1334');var _0x59e84c=window['document'][_0x1cd3('0x3aa')]('a');_0x59e84c[_0x1cd3('0x481')](_0x1cd3('0x3ab'),URL[_0x1cd3('0x48a')](_0x1199e0));_0x59e84c['setAttribute'](_0x1cd3('0x489'),_0x5f0422);document[_0x1cd3('0x380')][_0x1cd3('0xd4e')](_0x59e84c);_0x59e84c['click']();})['catch'](function(_0x30e656){if(_0x30e656[_0x1cd3('0x439')]&&_0x30e656[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x30e656[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length']){for(var _0xda6fd0=0x0;_0xda6fd0<_0x30e656['data'][_0x1cd3('0xd34')]['length'];_0xda6fd0++){_0x55d803['error']({'title':_0x30e656[_0x1cd3('0x439')]['errors'][_0xda6fd0]['type'],'msg':_0x30e656['data'][_0x1cd3('0xd34')][_0xda6fd0][_0x1cd3('0x43a')]});}}else{_0x55d803[_0x1cd3('0x434')]({'title':_0x30e656['status']?'API:'+_0x30e656[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x30e656[_0x1cd3('0xd35')]:_0x1cd3('0x1d16'),'msg':_0x30e656[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x30e656['data'][_0x1cd3('0x43a')]):_0x30e656[_0x1cd3('0x43b')]()});}});}function _0x6065b3(_0x1b5af8,_0x1050fe){var _0x2a3e8d=_0x4d909d['confirm']()['title'](_0x1cd3('0x1d44'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+(_0x1b5af8['name']||'plugin')+_0x1cd3('0xd52')+_0x1cd3('0x1d45'))[_0x1cd3('0xd3d')]('uninstall\x20plugin')[_0x1cd3('0xd63')](_0x1050fe)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x4d909d['show'](_0x2a3e8d)[_0x1cd3('0x77')](function(){_0x3f35d8(_0x1b5af8);},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}function _0x3f35d8(_0x54a135){if(_0x54a135[_0x1cd3('0x424')]===_0x1cd3('0x1d30')){_0xf82bae['pm2'][_0x1cd3('0x361')]()[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x3a634f){if(!_0x3a634f||!_0x3a634f[_0x1cd3('0xf6')]){throw new Error(_0x1cd3('0x1d3b'));}var _0x5bfc33=_[_0x1cd3('0x442')](_0x3a634f['rows'],{'name':_0x54a135['scriptName']});if(!_0x5bfc33){throw new Error(_0x1cd3('0x1d3c'));}_0xf82bae[_0x1cd3('0xa16')]['delete']({'id':_0x5bfc33[_0x1cd3('0x1d3d')],'name':_0x54a135[_0x1cd3('0x1d31')]})['$promise'];})[_0x1cd3('0xfd')](function(_0x491e55){_0x55d803[_0x1cd3('0x434')]({'title':_0x491e55[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x491e55[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x491e55[_0x1cd3('0xd35')]:_0x1cd3('0x1d46'),'msg':_0x491e55[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x491e55[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x491e55[_0x1cd3('0x43a')]||_0x491e55[_0x1cd3('0x43b')]()});});}_0x54a135['active']=![];return _0xf82bae['plugin'][_0x1cd3('0x378')]({'id':_0x54a135['id']},_0x54a135)[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x55d803[_0x1cd3('0x473')]({'title':_0x1cd3('0x1d47'),'msg':_0x54a135[_0x1cd3('0x98')]?_0x54a135[_0x1cd3('0x98')]+_0x1cd3('0x1d48'):''});})[_0x1cd3('0xfd')](function(_0x484b9c){if(_0x484b9c['data']&&_0x484b9c[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x484b9c[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x449c75['errors']=_0x484b9c[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x484b9c[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1d36')}];for(var _0x5d4669=0x0;_0x5d4669<_0x484b9c[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0x5d4669++){_0x55d803['error']({'title':_0x484b9c[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x5d4669][_0x1cd3('0x424')],'msg':_0x484b9c['data'][_0x1cd3('0xd34')][_0x5d4669][_0x1cd3('0x43a')]});}}else{_0x55d803[_0x1cd3('0x434')]({'title':_0x484b9c[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x484b9c[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x484b9c['statusText']:_0x1cd3('0x1d36'),'msg':_0x484b9c[_0x1cd3('0x439')]?JSON['stringify'](_0x484b9c[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x484b9c[_0x1cd3('0x43a')]||_0x484b9c[_0x1cd3('0x43b')]()});}});}function _0x54de21(_0x31e958,_0x483d3f){var _0x39d01e=_0x4d909d[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xd4f')+_[_0x1cd3('0xd50')]('plugin')+'?')[_0x1cd3('0xd60')]('<b>'+(_0x31e958[_0x1cd3('0x98')]||_0x1cd3('0xc78'))+_0x1cd3('0xd52')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x1d49'))[_0x1cd3('0xd63')](_0x483d3f)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x4d909d['show'](_0x39d01e)['then'](function(){_0x8b28c2(_0x31e958);},function(){console[_0x1cd3('0x7d')]('CANCEL');});}var _0x4393ca=!![];var _0x5838e8=0x1;_0x2e3226[_0x1cd3('0x4d6')]('vm.query.filter',function(_0x367fd1,_0x2b5452){if(_0x4393ca){_0x576951(function(){_0x4393ca=![];});}else{if(!_0x2b5452){_0x5838e8=_0x449c75[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0x367fd1!==_0x2b5452){_0x449c75[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}if(!_0x367fd1){_0x449c75[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0x5838e8;}_0x449c75[_0x1cd3('0x1d4a')]();}});function _0x16c1f7(_0x3fa790){_0x449c75['plugins']=_0x3fa790||{'count':0x0,'rows':[]};}function _0x2fb976(){_0x449c75[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0x449c75['query']['page']-0x1)*_0x449c75['query']['limit'];if(_0x4e90b9[_0x1cd3('0x57')](_0x1cd3('0x5f'))){_0x449c75[_0x1cd3('0x539')]=_0xf82bae[_0x1cd3('0xc78')]['get'](_0x449c75[_0x1cd3('0x3d4')],_0x16c1f7)[_0x1cd3('0x81')];}else{_0x449c75[_0x1cd3('0x3d4')]['id']=_0x449c75[_0x1cd3('0x38a')]['id'];_0x449c75['query'][_0x1cd3('0xd58')]=_0x1cd3('0x1f6');_0x449c75[_0x1cd3('0x539')]=_0xf82bae[_0x1cd3('0x38a')]['getResources'](_0x449c75[_0x1cd3('0x3d4')],_0x16c1f7)[_0x1cd3('0x81')];}}function _0x59a49c(_0x1c34b6,_0x321e66){_0x4d909d['show']({'controller':_0x1cd3('0x1d10'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1d4b'),'parent':angular['element'](_0xdda8a2[_0x1cd3('0x380')]),'targetEvent':_0x1c34b6,'clickOutsideToClose':!![],'locals':{'plugin':_0x321e66,'plugins':_0x449c75[_0x1cd3('0x246')][_0x1cd3('0xf6')],'license':_0x449c75[_0x1cd3('0x463')],'setting':_0x449c75[_0x1cd3('0xc49')],'crudPermissions':_0x449c75['crudPermissions']}});}function _0x8b28c2(_0x4c7d12){if(_0x4c7d12[_0x1cd3('0x92d')]&&_0x4c7d12[_0x1cd3('0x424')]==_0x1cd3('0x1d30')){_0xf82bae[_0x1cd3('0xa16')][_0x1cd3('0x361')]()[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x45acf8){if(!_0x45acf8||!_0x45acf8['rows']){return _0x55d803[_0x1cd3('0x434')]({'title':'Plugin\x20not\x20deleted!','msg':_0x1cd3('0x1d3b')});}var _0x24df55=_['find'](_0x45acf8[_0x1cd3('0xf6')],{'name':_0x4c7d12[_0x1cd3('0x1d31')]});if(!_0x24df55){console[_0x1cd3('0x7d')](_0x1cd3('0x1d4c'),_0x4c7d12['scriptName']);return;}_0xf82bae[_0x1cd3('0xa16')][_0x1cd3('0xa1c')]({'id':_0x24df55[_0x1cd3('0x1d3d')],'name':_0x4c7d12[_0x1cd3('0x1d31')]})[_0x1cd3('0x81')];})[_0x1cd3('0xfd')](function(_0x1dbbbb){return _0x55d803['error']({'title':_0x1cd3('0x1d4d'),'msg':_0x1cd3('0x1d4e')});});}_0xf82bae[_0x1cd3('0xc78')][_0x1cd3('0xa1c')]({'id':_0x4c7d12['id']})['$promise']['then'](function(){_[_0x1cd3('0x383')](_0x449c75[_0x1cd3('0x246')][_0x1cd3('0xf6')],{'id':_0x4c7d12['id']});_0x449c75[_0x1cd3('0x246')][_0x1cd3('0x466')]-=0x1;if(!_0x449c75[_0x1cd3('0x246')][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){_0x449c75[_0x1cd3('0x1d4a')]();}_0x55d803[_0x1cd3('0x473')]({'title':_[_0x1cd3('0xd50')](_0x1cd3('0x1d4f'))+'\x20deleted!','msg':_0x4c7d12['name']?_0x4c7d12[_0x1cd3('0x98')]+_0x1cd3('0xd41'):''});})['catch'](function(_0x1c095d){if(_0x1c095d['data']&&_0x1c095d[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x1c095d['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x449c75[_0x1cd3('0xd34')]=_0x1c095d['data'][_0x1cd3('0xd34')]||[{'message':_0x1c095d['toString'](),'type':_0x1cd3('0x1d50')}];for(var _0x45ccb9=0x0;_0x45ccb9<_0x1c095d['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x45ccb9++){_0x55d803['error']({'title':_0x1c095d['data']['errors'][_0x45ccb9][_0x1cd3('0x424')],'msg':_0x1c095d[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x45ccb9][_0x1cd3('0x43a')]});}}else{_0x55d803[_0x1cd3('0x434')]({'title':_0x1c095d[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x1c095d[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x1c095d[_0x1cd3('0xd35')]:_0x1cd3('0x1d50'),'msg':_0x1c095d['data']?JSON[_0x1cd3('0x438')](_0x1c095d[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x1c095d['message']||_0x1c095d[_0x1cd3('0x43b')]()});}});}function _0x2dd870(){var _0x363ac3=angular[_0x1cd3('0x429')](_0x449c75[_0x1cd3('0x1d1f')]);_0x449c75[_0x1cd3('0x1d1f')]=[];return _0x363ac3;}function _0x404f5d(_0x28e900){var _0x4a3564=_0x4d909d[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x1d51'))[_0x1cd3('0xd60')]('<b>'+_0x449c75[_0x1cd3('0x1d1f')]['length']+'\x20selected</b>'+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x1d52'))[_0x1cd3('0xd63')](_0x28e900)['ok']('OK')['cancel'](_0x1cd3('0xd55'));_0x4d909d[_0x1cd3('0x37e')](_0x4a3564)[_0x1cd3('0x77')](function(){_0x449c75[_0x1cd3('0x1d1f')][_0x1cd3('0x394')](function(_0x90d2df){_0x8b28c2(_0x90d2df);});_0x449c75[_0x1cd3('0x1d1f')]=[];});}function _0x5872f7(){_0x449c75[_0x1cd3('0x1d1f')]=[];}function _0x48dac4(){_0x449c75['selectedPlugins']=_0x449c75[_0x1cd3('0x246')]['rows'];}function _0x341f00(_0x2b8307){_0x4d909d['show']({'controller':_0x1cd3('0x1d53'),'controllerAs':'vm','templateUrl':'app/main/apps/marketplace/views/plugins/upload/dialog.html','parent':angular[_0x1cd3('0x37f')](_0xdda8a2[_0x1cd3('0x380')]),'targetEvent':_0x2b8307,'clickOutsideToClose':!![],'locals':{'plugins':_0x449c75[_0x1cd3('0x246')]['rows']}});}}}());(function(){'use strict';_0x285e6a[_0x1cd3('0xc')]=['$cookies',_0x1cd3('0x3c5'),'toasty',_0x1cd3('0x246'),'api',_0x1cd3('0x56')];angular[_0x1cd3('0x0')](_0x1cd3('0x1f0'))[_0x1cd3('0x39b')](_0x1cd3('0x1d53'),_0x285e6a);function _0x285e6a(_0x1f5117,_0x4d4b26,_0x3c5272,_0x4ca88a,_0x5a6740,_0x332faa){var _0x47963f=this;var _0x431897=0x2;var _0x3e535c=_0x431897*0x400*0x400;_0x47963f['currentUser']=_0x332faa[_0x1cd3('0x5d')]();_0x47963f[_0x1cd3('0xd34')]=[];_0x47963f[_0x1cd3('0x486')]=_0x1cd3('0x1d54');_0x47963f['plugins']=_0x4ca88a;_0x47963f[_0x1cd3('0x1d55')]=[];_0x47963f[_0x1cd3('0x1d56')]=_0x1cd3('0x6ae');_0x47963f[_0x1cd3('0xc78')]={};_0x47963f[_0x1cd3('0x126a')]={'maxChunkRetries':0x1,'chunkSize':_0x3e535c,'simultaneousUploads':0x1,'testChunks':![],'progressCallbacksInterval':0x3e8,'allowDuplicateUploads':!![],'target':_0x1cd3('0x1d57')};_0x47963f[_0x1cd3('0x126b')]={'flow':{}};_0x47963f[_0x1cd3('0x126c')]=![];_0x47963f[_0x1cd3('0x113a')]=_0x7dfe4a;_0x47963f[_0x1cd3('0x126d')]=_0x57f8ff;_0x47963f[_0x1cd3('0x126e')]=_0x147a20;_0x47963f[_0x1cd3('0x1d58')]=_0x257e77;_0x47963f[_0x1cd3('0x1d59')]=_0x84dc70;_0x47963f['closeDialog']=_0x5a8cfd;function _0x7dfe4a(_0x9778d7){var _0x31c132=['zip'];if(!_[_0x1cd3('0x38f')](_0x31c132,_0x9778d7[_0x1cd3('0x113c')]())){_0x3c5272[_0x1cd3('0x434')]({'title':_0x1cd3('0x1274')+_0x9778d7['getExtension'](),'msg':_0x1cd3('0x1275')+_0x31c132[_0x1cd3('0x3de')]()});return![];}if(_0x9778d7[_0x1cd3('0x113e')]>_0x3e535c){_0x3c5272[_0x1cd3('0x434')]({'title':_0x1cd3('0x1276'),'msg':_0x1cd3('0x1277')+_0x431897+'MB'});return![];}_0x47963f[_0x1cd3('0xc78')]={'id':_0x9778d7[_0x1cd3('0x1278')],'file':_0x9778d7};_0x47963f[_0x1cd3('0x1d55')][_0x1cd3('0x621')](_0x47963f[_0x1cd3('0xc78')]);return!![];}function _0x57f8ff(){_0x47963f['uploadState']=_0x1cd3('0x1279');_0x47963f[_0x1cd3('0x126b')][_0x1cd3('0x46')][_0x1cd3('0x130a')][_0x1cd3('0x3a2')]={'X-Requested-With':_0x1cd3('0x130b'),'Authorization':'Bearer\x20'+_0x1f5117['get'](_0x1cd3('0x374'))};_0x47963f[_0x1cd3('0x126b')][_0x1cd3('0x46')][_0x1cd3('0x130a')][_0x1cd3('0x3d4')]={'role':_0x47963f[_0x1cd3('0x3ca')]['role'],'userProfileId':_0x47963f[_0x1cd3('0x3ca')]['userProfileId']};_0x47963f[_0x1cd3('0x126b')][_0x1cd3('0x46')]['upload']();}function _0x147a20(_0x52602c,_0x53ab41){_0x47963f[_0x1cd3('0x246')][_0x1cd3('0x621')](JSON[_0x1cd3('0x79')](_0x53ab41));angular[_0x1cd3('0x394')](_0x47963f[_0x1cd3('0x1d55')],function(_0x378adf,_0x338717){if(_0x378adf['id']===_0x52602c[_0x1cd3('0x1278')]){var _0x39a290=new FileReader();_0x39a290[_0x1cd3('0xe95')](_0x378adf[_0x1cd3('0xe96')][_0x1cd3('0xe96')]);_0x39a290[_0x1cd3('0xe8f')]=function(_0x453bef){_0x378adf['url']=_0x453bef[_0x1cd3('0x365')][_0x1cd3('0xe90')];};}});}function _0x257e77(_0x172c4a,_0xd43034){_0x47963f[_0x1cd3('0x126b')][_0x1cd3('0x46')][_0x1cd3('0x4d8')]();_0x3c5272[_0x1cd3('0x434')]({'title':_0x1cd3('0x1d5a'),'msg':_0x1cd3('0x1d5b')});_0x47963f[_0x1cd3('0x1d56')]=_0x1cd3('0x61b');}function _0x84dc70(){if(_0x47963f[_0x1cd3('0x1d56')]!==_0x1cd3('0x61b')){_0x47963f[_0x1cd3('0x1d56')]=_0x1cd3('0x1d5c');_0x3c5272['success']({'title':_0x1cd3('0x1d5d'),'msg':_0x47963f[_0x1cd3('0xc78')]['file']['name']+_0x1cd3('0x1d5e')});}}function _0x5a8cfd(){_0x4d4b26['hide']();}}}());(function(){'use strict';_0x42cfd5['$inject']=[_0x1cd3('0x460'),'$state',_0x1cd3('0xd24'),_0x1cd3('0x3c5'),'$q',_0x1cd3('0x3f7'),_0x1cd3('0x461'),_0x1cd3('0x1d5f'),_0x1cd3('0x1d60'),_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0x463'),'setting',_0x1cd3('0xd27')];angular[_0x1cd3('0x0')]('app.motiondialer')['controller'](_0x1cd3('0x1d61'),_0x42cfd5);function _0x42cfd5(_0x4de1d9,_0x45ecc0,_0x1e458e,_0x42f6bc,_0xfaf08f,_0x5233ea,_0x2cf227,_0x2a35f1,_0x418560,_0x2c7439,_0x1a2d1c,_0x16a06a,_0x20f077,_0xf4a43c){var _0xae3b65=this;_0xae3b65['currentUser']=_0x1a2d1c['getCurrentUser']();_0xae3b65['errors']=[];_0xae3b65[_0x1cd3('0xc49')]=_0x20f077;_0xae3b65[_0x1cd3('0x463')]=_0x16a06a;_0xae3b65['crudPermissions']=_0xf4a43c;_0xae3b65[_0x1cd3('0xd28')]={};_0xae3b65['passwordPattern']=_0xae3b65[_0x1cd3('0xc49')]&&_0xae3b65['setting'][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0xae3b65[_0x1cd3('0x486')]=_0x1cd3('0x1d62');_0xae3b65[_0x1cd3('0x1d60')]=angular[_0x1cd3('0x429')](_0x418560);_0xae3b65['ivrCampaigns']=_0x2a35f1;_0xae3b65[_0x1cd3('0x1d63')]=![];if(!_0xae3b65[_0x1cd3('0x1d60')]){_0xae3b65['ivrCampaign']={'active':!![],'type':_0x1cd3('0x208'),'dialCheckDuplicateType':_0x1cd3('0x1213'),'dialCutDigit':0x0,'limitCalls':0x1e,'dialRandomLastDigitCallerIdNumber':0x0,'dialOriginateTimeout':0x1e,'dialGlobalMaxRetry':0x4,'dialCongestionMaxRetry':0x3,'dialCongestionRetryFrequency':0x96,'dialBusyMaxRetry':0x3,'dialBusyRetryFrequency':0x96,'dialNoAnswerMaxRetry':0x3,'dialNoAnswerRetryFrequency':0x96,'dialNoSuchNumberMaxRetry':0x3,'dialNoSuchNumberRetryFrequency':0x96,'dialDropMaxRetry':0x3,'dialDropRetryFrequency':0x96,'dialAbandonedMaxRetry':0x3,'dialAbandonedRetryFrequency':0x96,'dialMachineMaxRetry':0x3,'dialMachineRetryFrequency':0x96,'dialAgentRejectMaxRetry':0x3,'dialAgentRejectRetryFrequency':0x96,'dialOrderByScheduledAt':_0x1cd3('0xe58'),'dialGlobalInterval':_0x1cd3('0x1d64'),'dialAMDInitialSilence':0x9c4,'dialAMDGreeting':0x5dc,'dialAMDAfterGreetingSilence':0x320,'dialAMDTotalAnalysisTime':0x1388,'dialAMDMinWordLength':0x64,'dialAMDBetweenWordsSilence':0x32,'dialAMDMaximumNumberOfWords':0x3,'dialAMDSilenceThreshold':0x100,'dialAMDMaximumWordLength':0x1388};_0xae3b65[_0x1cd3('0x486')]=_0x1cd3('0x1d65');_0xae3b65[_0x1cd3('0x1d63')]=!![];}_0xae3b65['addNewIvrCampaign']=_0x4888df;_0xae3b65[_0x1cd3('0x1d66')]=_0x4858f1;_0xae3b65[_0x1cd3('0x1d67')]=_0x2855f5;_0xae3b65[_0x1cd3('0xd31')]=_0x52db4a;_0xae3b65[_0x1cd3('0x39c')]=_0x25480f;_0x1a2d1c[_0x1cd3('0x57')]('admin')?_0x2c7439[_0x1cd3('0x18e7')][_0x1cd3('0x361')]({'fields':'id,name','sort':_0x1cd3('0x98'),'table':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x5f57aa){_0xae3b65['trunks']=_0x5f57aa['rows']||[];})[_0x1cd3('0xfd')](function(_0x59e9cd){_0x2cf227['error']({'title':_0x59e9cd['status']?'API:'+_0x59e9cd[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x59e9cd[_0x1cd3('0xd35')]:_0x1cd3('0x18e6'),'msg':_0x59e9cd[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x59e9cd[_0x1cd3('0x439')]):_0x59e9cd[_0x1cd3('0x43b')]()});}):_0x2c7439[_0x1cd3('0x18e7')][_0x1cd3('0x361')]({'fields':'id,name','sort':_0x1cd3('0x98'),'table':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x5d4e02){_0xae3b65['trunks']=_0x5d4e02[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x2c7439[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0xae3b65['currentUser']['userProfileId'],'sectionId':0x3f3})[_0x1cd3('0x81')];})['then'](function(_0x1168b5){var _0x51adf2=_0x1168b5&&_0x1168b5[_0x1cd3('0xf6')]?_0x1168b5['rows'][0x0]:null;if(!_0x51adf2){_0xae3b65[_0x1cd3('0xef5')]=[];}else{if(!_0x51adf2[_0x1cd3('0x391')]){return _0x2c7439[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x51adf2['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x1f81e8){var _0x2c74eb=_[_0x1cd3('0x3d9')](_0x1f81e8[_0x1cd3('0xf6')],function(_0x2bb934){return _['find'](_0xae3b65[_0x1cd3('0xef5')],{'id':_0x2bb934[_0x1cd3('0xe8e')]});});_0xae3b65[_0x1cd3('0xef5')][_0x1cd3('0x394')](function(_0x2368cf){if(!_[_0x1cd3('0x38d')](_0x2c74eb,['id',_0x2368cf['id']])){_0x2368cf[_0x1cd3('0xf4a')]=![];}_0x2c74eb[_0x1cd3('0x7b')](_0x2368cf);});_0xae3b65['trunks']=_0x2c74eb;});}}})['catch'](function(_0x1e56e2){_0x2cf227[_0x1cd3('0x434')]({'title':_0x1e56e2[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x1e56e2[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x1e56e2['statusText']:_0x1cd3('0x18e9'),'msg':_0x1e56e2['data']?JSON[_0x1cd3('0x438')](_0x1e56e2[_0x1cd3('0x439')]):_0x1e56e2[_0x1cd3('0x43b')]()});});_0x1a2d1c[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x2c7439[_0x1cd3('0xc55')][_0x1cd3('0x361')]({'fields':'id,name','sort':_0x1cd3('0x98')})['$promise'][_0x1cd3('0x77')](function(_0x3c1fbb){_0xae3b65[_0x1cd3('0xeda')]=_0x3c1fbb[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x17ed2f){_0x2cf227[_0x1cd3('0x434')]({'title':_0x17ed2f[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x17ed2f['status']+'\x20-\x20'+_0x17ed2f['statusText']:'SYSTEM:GET_PROJECTS','msg':_0x17ed2f[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x17ed2f[_0x1cd3('0x439')]):_0x17ed2f[_0x1cd3('0x43b')]()});}):_0x2c7439[_0x1cd3('0xc55')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x277ad3){_0xae3b65[_0x1cd3('0xeda')]=_0x277ad3[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x2c7439[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0xae3b65[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x44f})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x5ccab4){var _0xff2298=_0x5ccab4&&_0x5ccab4['rows']?_0x5ccab4['rows'][0x0]:null;if(!_0xff2298){var _0x5528e7=[];var _0x5a45bf=null;if(_0xae3b65[_0x1cd3('0x1d60')]){_0x5a45bf=_[_0x1cd3('0x442')](_0xae3b65[_0x1cd3('0xeda')],{'id':Number(_0xae3b65[_0x1cd3('0x1d60')][_0x1cd3('0x1d68')])});}for(var _0x23eebe=0x0;_0x23eebe<_0xae3b65[_0x1cd3('0xeda')][_0x1cd3('0x7a')];_0x23eebe++){if(_0x5a45bf&&_0xae3b65['projects'][_0x23eebe]['id']===_0x5a45bf['id']){_0xae3b65[_0x1cd3('0xeda')][_0x23eebe][_0x1cd3('0xf4a')]=![];_0x5528e7[_0x1cd3('0x7b')](_0xae3b65[_0x1cd3('0xeda')][_0x23eebe]);}}_0xae3b65['projects']=_0x5528e7;}else{if(!_0xff2298[_0x1cd3('0x391')]){return _0x2c7439[_0x1cd3('0x392')]['get']({'sectionId':_0xff2298['id']})[_0x1cd3('0x81')]['then'](function(_0x7fe05a){var _0x22a2ff=_['map'](_0x7fe05a['rows'],function(_0x59aa28){return _[_0x1cd3('0x442')](_0xae3b65[_0x1cd3('0xeda')],{'id':_0x59aa28[_0x1cd3('0xe8e')]});});var _0x5ab69a=null;if(_0xae3b65['ivrCampaign']){_0x5ab69a=_[_0x1cd3('0x442')](_0xae3b65[_0x1cd3('0xeda')],{'id':Number(_0xae3b65['ivrCampaign'][_0x1cd3('0x1d68')])});}if(_0x5ab69a&&!_[_0x1cd3('0x38d')](_0x22a2ff,['id',_0x5ab69a['id']])){var _0x553a57=_[_0x1cd3('0x442')](_0xae3b65['projects'],{'id':_0x5ab69a['id']});_0x553a57['canSelect']=![];_0x22a2ff[_0x1cd3('0x7b')](_0x553a57);}_0xae3b65['projects']=_0x22a2ff;});}}})[_0x1cd3('0xfd')](function(_0xbc0741){_0x2cf227[_0x1cd3('0x434')]({'title':_0xbc0741[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0xbc0741['status']+_0x1cd3('0x436')+_0xbc0741['statusText']:_0x1cd3('0x1d69'),'msg':_0xbc0741[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0xbc0741['data']):_0xbc0741[_0x1cd3('0x43b')]()});});_0x1a2d1c[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x2c7439['interval'][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'IntervalId':_0x1cd3('0x220')})[_0x1cd3('0x81')]['then'](function(_0x5bdced){_0xae3b65[_0x1cd3('0x77e')]=_0x5bdced['rows']||[];})[_0x1cd3('0xfd')](function(_0x2bd7f3){_0x2cf227[_0x1cd3('0x434')]({'title':_0x2bd7f3[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x2bd7f3['status']+_0x1cd3('0x436')+_0x2bd7f3[_0x1cd3('0xd35')]:_0x1cd3('0x11f4'),'msg':_0x2bd7f3[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x2bd7f3['data']):_0x2bd7f3['toString']()});}):_0x2c7439['interval'][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'IntervalId':_0x1cd3('0x220')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x4769fa){_0xae3b65[_0x1cd3('0x77e')]=_0x4769fa[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x2c7439[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0xae3b65[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x3ec})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x18f1e1){var _0x453a5b=_0x18f1e1&&_0x18f1e1['rows']?_0x18f1e1[_0x1cd3('0xf6')][0x0]:null;if(!_0x453a5b){var _0x18844e=[];var _0x1b4bb5=null;if(_0xae3b65[_0x1cd3('0x1d60')]){_0x1b4bb5=_['find'](_0xae3b65['interval'],{'id':Number(_0xae3b65[_0x1cd3('0x1d60')][_0x1cd3('0xf4b')])});}for(var _0x21b942=0x0;_0x21b942<_0xae3b65[_0x1cd3('0x77e')][_0x1cd3('0x7a')];_0x21b942++){if(_0x1b4bb5&&_0xae3b65[_0x1cd3('0x77e')][_0x21b942]['id']===_0x1b4bb5['id']){_0xae3b65['interval'][_0x21b942][_0x1cd3('0xf4a')]=![];_0x18844e['push'](_0xae3b65[_0x1cd3('0x77e')][_0x21b942]);}}_0xae3b65[_0x1cd3('0x77e')]=_0x18844e;}else{if(!_0x453a5b['autoAssociation']){return _0x2c7439[_0x1cd3('0x392')]['get']({'sectionId':_0x453a5b['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x275765){var _0x452724=_[_0x1cd3('0x3d9')](_0x275765['rows'],function(_0x249756){return _[_0x1cd3('0x442')](_0xae3b65[_0x1cd3('0x77e')],{'id':_0x249756[_0x1cd3('0xe8e')]});});var _0x3fb9a6=null;if(_0xae3b65[_0x1cd3('0x1d60')]){_0x3fb9a6=_[_0x1cd3('0x442')](_0xae3b65[_0x1cd3('0x77e')],{'id':Number(_0xae3b65[_0x1cd3('0x1d60')][_0x1cd3('0xf4b')])});}if(_0x3fb9a6&&!_[_0x1cd3('0x38d')](_0x452724,['id',_0x3fb9a6['id']])){var _0x59c3c8=_[_0x1cd3('0x442')](_0xae3b65[_0x1cd3('0x77e')],{'id':_0x3fb9a6['id']});_0x59c3c8[_0x1cd3('0xf4a')]=![];_0x452724[_0x1cd3('0x7b')](_0x59c3c8);}_0xae3b65[_0x1cd3('0x77e')]=_0x452724;});}}})[_0x1cd3('0xfd')](function(_0x293325){_0x2cf227[_0x1cd3('0x434')]({'title':_0x293325[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x293325[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x293325['statusText']:_0x1cd3('0x11f5'),'msg':_0x293325['data']?JSON[_0x1cd3('0x438')](_0x293325[_0x1cd3('0x439')]):_0x293325[_0x1cd3('0x43b')]()});});function _0x4888df(){_0xae3b65[_0x1cd3('0xd34')]=[];_0x2c7439['campaign'][_0x1cd3('0xd6d')](_0xae3b65[_0x1cd3('0x1d60')])['$promise'][_0x1cd3('0x77')](function(_0x4c7a5b){_0xae3b65[_0x1cd3('0x1d5f')][_0x1cd3('0x621')](_0x4c7a5b[_0x1cd3('0xd32')]());_0x2cf227[_0x1cd3('0x473')]({'title':_0x1cd3('0x1d6a'),'msg':_0xae3b65[_0x1cd3('0x1d60')][_0x1cd3('0x98')]?_0xae3b65[_0x1cd3('0x1d60')][_0x1cd3('0x98')]+_0x1cd3('0xd33'):''});_0x25480f(_0x4c7a5b);})['catch'](function(_0x23d98d){if(_0x23d98d[_0x1cd3('0x439')]&&_0x23d98d['data']['errors']&&_0x23d98d[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0xae3b65['errors']=_0x23d98d[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x23d98d[_0x1cd3('0x43b')](),'type':'api.campaign.save'}];for(var _0x3f57c2=0x0;_0x3f57c2<_0x23d98d[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x3f57c2+=0x1){_0x2cf227[_0x1cd3('0x434')]({'title':_0x23d98d[_0x1cd3('0x439')]['errors'][_0x3f57c2]['type'],'msg':_0x23d98d[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x3f57c2][_0x1cd3('0x43a')]});}}else{_0x2cf227[_0x1cd3('0x434')]({'title':_0x23d98d[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x23d98d[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x23d98d[_0x1cd3('0xd35')]:'api.campaign.save','msg':_0x23d98d[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x23d98d['data'][_0x1cd3('0x43a')]):_0x23d98d['toString']()});}});}function _0x4858f1(){_0xae3b65[_0x1cd3('0xd34')]=[];_0x2c7439[_0x1cd3('0xc69')][_0x1cd3('0x378')]({'id':_0xae3b65[_0x1cd3('0x1d60')]['id']},_0xae3b65[_0x1cd3('0x1d60')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x33c1ba){var _0x46e5af=_['find'](_0xae3b65[_0x1cd3('0x1d5f')],{'id':_0x33c1ba['id']});if(_0x46e5af){_[_0x1cd3('0xf2')](_0x46e5af,_['pick'](_0x33c1ba[_0x1cd3('0xd32')](),_[_0x1cd3('0x80')](_0x46e5af)));}_0x2cf227[_0x1cd3('0x473')]({'title':_0x1cd3('0x1d6b'),'msg':_0xae3b65['ivrCampaign'][_0x1cd3('0x98')]?_0xae3b65[_0x1cd3('0x1d60')]['name']+'\x20has\x20been\x20saved!':''});_0x25480f(_0x33c1ba);})[_0x1cd3('0xfd')](function(_0xd757a){if(_0xd757a['data']&&_0xd757a[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0xd757a[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0xae3b65[_0x1cd3('0xd34')]=_0xd757a[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0xd757a[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1d6c')}];for(var _0x4b5c64=0x0;_0x4b5c64<_0xd757a[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x4b5c64++){_0x2cf227[_0x1cd3('0x434')]({'title':_0xd757a[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x4b5c64][_0x1cd3('0x424')],'msg':_0xd757a[_0x1cd3('0x439')]['errors'][_0x4b5c64][_0x1cd3('0x43a')]});}}else{_0x2cf227[_0x1cd3('0x434')]({'title':_0xd757a[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0xd757a['status']+_0x1cd3('0x436')+_0xd757a[_0x1cd3('0xd35')]:_0x1cd3('0x1d6c'),'msg':_0xd757a[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0xd757a[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0xd757a['toString']()});}});}function _0x2855f5(_0x5a241e){_0xae3b65[_0x1cd3('0xd34')]=[];var _0x561570=_0x42f6bc[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xd3a'))[_0x1cd3('0xd3b')](_0x1cd3('0x1d6d'))[_0x1cd3('0xd3d')](_0x1cd3('0x1d6e'))['ok'](_0x1cd3('0xd3f'))[_0x1cd3('0x4d8')](_0x1cd3('0x674'))[_0x1cd3('0xd63')](_0x5a241e);_0x42f6bc[_0x1cd3('0x37e')](_0x561570)[_0x1cd3('0x77')](function(){_0x2c7439['campaign'][_0x1cd3('0xa1c')]({'id':_0xae3b65[_0x1cd3('0x1d60')]['id']})[_0x1cd3('0x81')]['then'](function(){_[_0x1cd3('0x383')](_0xae3b65['ivrCampaigns'],{'id':_0xae3b65[_0x1cd3('0x1d60')]['id']});_0x2cf227[_0x1cd3('0x473')]({'title':_0x1cd3('0x1d6f'),'msg':(_0xae3b65['ivrCampaign']['name']||_0x1cd3('0x1d60'))+'\x20has\x20been\x20deleted!'});_0x25480f(_0xae3b65[_0x1cd3('0x1d60')]);})['catch'](function(_0x1404cd){if(_0x1404cd['data']&&_0x1404cd[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x1404cd[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0xae3b65[_0x1cd3('0xd34')]=_0x1404cd['data']['errors']||[{'message':_0x1404cd[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1d70')}];for(var _0x3cf4f5=0x0;_0x3cf4f5<_0x1404cd[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x3cf4f5++){_0x2cf227[_0x1cd3('0x434')]({'title':_0x1404cd[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x3cf4f5]['type'],'msg':_0x1404cd[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x3cf4f5][_0x1cd3('0x43a')]});}}else{_0x2cf227[_0x1cd3('0x434')]({'title':_0x1404cd[_0x1cd3('0x3a6')]?'API:'+_0x1404cd[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x1404cd[_0x1cd3('0xd35')]:'api.campaign.delete','msg':_0x1404cd[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x1404cd[_0x1cd3('0x439')]['message']):_0x1404cd[_0x1cd3('0x43a')]||_0x1404cd['toString']()});}});},function(){});}function _0x52db4a(_0x42299f){return _0x42299f===null?undefined:new Date(_0x42299f);}function _0x25480f(_0x260e08){_0x42f6bc[_0x1cd3('0x39d')](_0x260e08);}}}());(function(){'use strict';_0xcaefce[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),'$q',_0x1cd3('0x461'),_0x1cd3('0x370'),_0x1cd3('0x1d60'),'$translate',_0x1cd3('0x3e7'),'Auth',_0x1cd3('0xd27')];angular['module'](_0x1cd3('0x36'))['controller']('IvrCampaignblacklistaddController',_0xcaefce);function _0xcaefce(_0x5e3a85,_0x377b70,_0x431089,_0x2b0bf1,_0x3b7aaf,_0x102c13,_0x528a24,_0x208624,_0x5a5168){var _0x4dbe31=this;_0x4dbe31[_0x1cd3('0x3ca')]=_0x208624[_0x1cd3('0x5d')]();_0x4dbe31[_0x1cd3('0x1d60')]=_0x3b7aaf;_0x4dbe31[_0x1cd3('0xd27')]=_0x5a5168;_0x4dbe31[_0x1cd3('0x1873')]=_0x1cd3('0xa48');_0x4dbe31[_0x1cd3('0x1d71')]=_0x1cd3('0x1632');_0x4dbe31['addApi']='addBlackLists';_0x4dbe31[_0x1cd3('0x1d72')]=_0x1cd3('0x1d73');_0x4dbe31['items']=[];_0x4dbe31[_0x1cd3('0x11ba')]=[];_0x4dbe31[_0x1cd3('0x492')]=[];_0x4dbe31[_0x1cd3('0x11bb')]=[];_0x4dbe31['startingSelectedItems']=[];_0x4dbe31[_0x1cd3('0x11c6')]=![];_0x4dbe31[_0x1cd3('0x1d74')]=![];_0x4dbe31[_0x1cd3('0x1145')]={'readOnly':!_0x4dbe31[_0x1cd3('0xd27')][_0x1cd3('0xe3b')],'allowedItems':[],'selectedItems':[],'showSelectAndDeselectAll':![],'orderBy':_0x1cd3('0x98'),'line1':_0x1cd3('0x98'),'line2':'','line3':'','labelAll':_0x102c13[_0x1cd3('0x44a')](_0x1cd3('0x1d75')),'labelSelected':_0x102c13[_0x1cd3('0x44a')](_0x1cd3('0x1d76')),'transferCallback':function(_0x2b3e08,_0x5fc0f4){var _0x5f5660=_[_0x1cd3('0x11c8')](_0x4dbe31['startingSelectedItems'],_0x4dbe31[_0x1cd3('0x492')],'id');_0x4dbe31['pendingChanges']=_[_0x1cd3('0x398')](_0x5f5660)?![]:!![];}};_0x4dbe31['onInit']=_0x4bc441;_0x4dbe31[_0x1cd3('0x1d77')]=_0xb75303;_0x4dbe31[_0x1cd3('0x39c')]=_0x58a6cc;function _0x4bc441(){return _0x208624[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x1decae()[_0x1cd3('0xfd')](function(_0x193af6){_0x431089['error']({'title':_0x193af6[_0x1cd3('0x3a6')]?'API:'+_0x193af6[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x193af6[_0x1cd3('0xd35')]:'SYSTEM:GETLISTS','msg':_0x193af6[_0x1cd3('0x3a6')]?JSON[_0x1cd3('0x438')](_0x193af6[_0x1cd3('0x439')]):_0x193af6['toString']()});}):_0x101376()[_0x1cd3('0x77')](function(_0x547db2){_0x4dbe31[_0x1cd3('0xd58')]=_0x547db2;return _0x1decae();})[_0x1cd3('0xfd')](function(_0xcf6587){_0x431089['error']({'title':_0xcf6587['status']?_0x1cd3('0x435')+_0xcf6587[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0xcf6587[_0x1cd3('0xd35')]:_0x1cd3('0x1d78'),'msg':_0xcf6587[_0x1cd3('0x3a6')]?JSON[_0x1cd3('0x438')](_0xcf6587[_0x1cd3('0x439')]):_0xcf6587['toString']()});});}function _0x101376(){return _0x377b70(function(_0x25a72f,_0x1e2d18){_0x2b0bf1[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x4dbe31[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'name':_0x1cd3('0xf4')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x36698c){var _0x557ccd=_0x36698c&&_0x36698c[_0x1cd3('0xf6')]?_0x36698c[_0x1cd3('0xf6')][0x0]:null;_0x25a72f(_0x557ccd);})['catch'](function(_0x2f296f){_0x1e2d18(_0x2f296f);});});}function _0x1decae(){return _0x377b70(function(_0x4cf31b,_0x4a53ab){return _0xaf2232()[_0x1cd3('0x77')](function(_0x3c47ec){_0x4dbe31[_0x1cd3('0x493')]=_0x3c47ec['rows']?_0x3c47ec['rows']:[];if(_0x208624['hasRole'](_0x1cd3('0x5f'))){return _0x3c47ec;}else{if(_0x4dbe31['section']){return _0x4dbe31['section'][_0x1cd3('0x391')]?_0x3c47ec:_0x4469de();}else{return null;}}})[_0x1cd3('0x77')](function(_0x2e9821){var _0x2976eb=_0x2e9821&&_0x2e9821[_0x1cd3('0xf6')]?_0x2e9821[_0x1cd3('0xf6')]:[];_0x4dbe31[_0x1cd3('0x11ba')]=_[_0x1cd3('0x3d9')](_0x2976eb,function(_0x4330b9){return _[_0x1cd3('0x442')](_0x4dbe31['items'],{'id':_0x208624[_0x1cd3('0x57')](_0x1cd3('0x5f'))||_0x4dbe31[_0x1cd3('0xd58')]['autoAssociation']?_0x4330b9['id']:_0x4330b9[_0x1cd3('0xe8e')]});});_0x4dbe31[_0x1cd3('0x11bb')]=angular['copy'](_0x4dbe31[_0x1cd3('0x11ba')]);_0x4dbe31['items'][_0x1cd3('0x394')](function(_0x112747){var _0xb0c899=_[_0x1cd3('0x442')](_0x4dbe31['allowedItems'],{'id':_0x112747['id']});if(_0x4dbe31['currentUser'][_0x1cd3('0x388')]==='admin'){_0x112747[_0x1cd3('0x490')]=!![];}else{_0x112747['isValid']=typeof _0xb0c899!==_0x1cd3('0x491')?!![]:![];}});return _0x4213ef();})[_0x1cd3('0x77')](function(_0x581f5e){var _0x5ea935=_0x581f5e&&_0x581f5e[_0x1cd3('0xf6')]?_0x581f5e[_0x1cd3('0xf6')]:[];_0x4dbe31[_0x1cd3('0x492')]=_[_0x1cd3('0x3d9')](_0x5ea935,function(_0x27d2fc){return _['find'](_0x4dbe31[_0x1cd3('0x493')],{'id':_0x27d2fc['id']});});_0x4dbe31[_0x1cd3('0x11be')]=angular[_0x1cd3('0x429')](_0x4dbe31[_0x1cd3('0x492')]);_0x4dbe31[_0x1cd3('0x1145')][_0x1cd3('0x492')]=_0x4dbe31[_0x1cd3('0x492')];_0x4dbe31['dualMultiselectOptions'][_0x1cd3('0x493')]=_[_0x1cd3('0x1152')](_0x4dbe31[_0x1cd3('0x11ba')],_0x4dbe31[_0x1cd3('0x1145')]['selectedItems'],'id');_0x4cf31b();})['catch'](function(_0x5be74b){_0x4a53ab(_0x5be74b);});});}function _0x4469de(){return _0x377b70(function(_0x599396,_0xb3958d){return _0x2b0bf1[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x4dbe31['section']['id'],'nolimit':!![]})['$promise']['then'](function(_0x2675de){_0x599396(_0x2675de);})[_0x1cd3('0xfd')](function(_0x4da216){_0xb3958d(_0x4da216);});});}function _0x4213ef(){return _0x377b70(function(_0x9571a1,_0x3bf550){return _0x2b0bf1[_0x4dbe31['apiRoute']][_0x4dbe31['getApi']]({'id':_0x4dbe31['ivrCampaign']['id'],'fields':_0x1cd3('0xa6'),'nolimit':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x22bf85){_0x9571a1(_0x22bf85);})['catch'](function(_0x5e5304){_0x3bf550(_0x5e5304);});});}function _0xaf2232(){return _0x377b70(function(_0x4dcc59,_0xc7cf24){return _0x2b0bf1[_0x1cd3('0xc8f')]['get']({'fields':_0x1cd3('0xa6'),'nolimit':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x4e38db){_0x4dcc59(_0x4e38db);})[_0x1cd3('0xfd')](function(_0x1a02f1){_0xc7cf24(_0x1a02f1);});});}function _0x1e7d1c(_0x422127){return _0x377b70(function(_0x5a4fb9,_0x5f4287){if(_[_0x1cd3('0x398')](_0x422127)){_0x5a4fb9();}else{_0x2b0bf1[_0x4dbe31[_0x1cd3('0x1873')]][_0x4dbe31[_0x1cd3('0x1d79')]]({'id':_0x4dbe31[_0x1cd3('0x1d60')]['id'],'ids':_[_0x1cd3('0x3d9')](_0x422127,'id')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x5a4fb9();})[_0x1cd3('0xfd')](function(_0x3328cf){_0x5f4287(_0x3328cf);});}});}function _0x5d77cd(_0x523f66){return _0x377b70(function(_0x44fe58,_0x37dba1){if(_[_0x1cd3('0x398')](_0x523f66)){_0x44fe58();}else{_0x2b0bf1[_0x4dbe31[_0x1cd3('0x1873')]][_0x4dbe31[_0x1cd3('0x1d72')]]({'id':_0x4dbe31[_0x1cd3('0x1d60')]['id'],'ids':_[_0x1cd3('0x3d9')](_0x523f66,'id')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x44fe58();})['catch'](function(_0x472c0b){_0x37dba1(_0x472c0b);});}});}function _0xb75303(){_0x4dbe31[_0x1cd3('0x1d74')]=!![];var _0x11848b=_[_0x1cd3('0x1152')](_0x4dbe31[_0x1cd3('0x11be')],_0x4dbe31[_0x1cd3('0x492')],'id');var _0xca5224=_[_0x1cd3('0x1152')](_0x4dbe31[_0x1cd3('0x492')],_0x4dbe31[_0x1cd3('0x11be')],'id');return _0x5d77cd(_0x11848b)[_0x1cd3('0x77')](function(){return _0x1e7d1c(_0xca5224);})[_0x1cd3('0x77')](function(){_0x4dbe31[_0x1cd3('0x11c6')]=![];_0x4dbe31['startingAllowedItems']=angular['copy'](_0x4dbe31[_0x1cd3('0x11ba')]);_0x4dbe31[_0x1cd3('0x11be')]=angular[_0x1cd3('0x429')](_0x4dbe31[_0x1cd3('0x492')]);_0x431089[_0x1cd3('0x473')]({'title':_0x1cd3('0x11c4'),'msg':_0x1cd3('0x1d7a')});})[_0x1cd3('0xfd')](function(_0x1b13f3){_0x431089[_0x1cd3('0x434')]({'title':_0x1b13f3[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x1b13f3[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x1b13f3[_0x1cd3('0xd35')]:_0x1cd3('0x11ce'),'msg':_0x1b13f3['status']?JSON[_0x1cd3('0x438')](_0x1b13f3[_0x1cd3('0x439')]):_0x1b13f3[_0x1cd3('0x43b')]()});})['finally'](function(){_0x4dbe31[_0x1cd3('0x1d74')]=![];});;}function _0x58a6cc(){_0x5e3a85[_0x1cd3('0x39d')]();}}}());(function(){'use strict';_0xf01eac[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),_0x1cd3('0x53e'),'toasty','api',_0x1cd3('0x1d60'),_0x1cd3('0x1d5f'),_0x1cd3('0x3f7')];angular[_0x1cd3('0x0')]('app.motiondialer')[_0x1cd3('0x39b')](_0x1cd3('0x1d7b'),_0xf01eac);function _0xf01eac(_0x2d0b1c,_0x133baa,_0x5e815e,_0xdda5d4,_0x5bf091,_0xf19ade,_0x104bd0){var _0x2b23cf=this;_0x2b23cf[_0x1cd3('0x1d63')]=!![];_0x2b23cf[_0x1cd3('0x1d60')]=angular['copy'](_0x5bf091);_0x2b23cf[_0x1cd3('0x1d5f')]=_0xf19ade;_0x2b23cf[_0x1cd3('0x486')]=_0x104bd0['instant'](_0x1cd3('0x1d7c'));if(_0x5bf091&&_0x5bf091['name']){_0x2b23cf[_0x1cd3('0x486')]+=':\x20'+_0x5bf091[_0x1cd3('0x98')];}_0x2b23cf[_0x1cd3('0x1d7d')]=_0x274458;_0x2b23cf['closeDialog']=_0x40bd6a;function _0x274458(){return _0xdda5d4[_0x1cd3('0xc69')]['clone']({'id':_0x5bf091['id']},_0x2b23cf[_0x1cd3('0x1d60')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x3e0cf4){_0x2b23cf[_0x1cd3('0x1d5f')][_0x1cd3('0x621')](_0x3e0cf4[_0x1cd3('0xd32')]());_0x5e815e[_0x1cd3('0x473')]({'title':_0x1cd3('0x1d7e'),'msg':_0x2b23cf[_0x1cd3('0x1d60')]['name']?_0x2b23cf[_0x1cd3('0x1d60')]['name']+_0x1cd3('0x1c30'):''});_0x133baa['go'](_0x1cd3('0x20a'),{'id':_0x3e0cf4['id']});_0x40bd6a(_0x3e0cf4);})[_0x1cd3('0xfd')](function(_0x2981b0){if(_0x2981b0[_0x1cd3('0x439')]&&_0x2981b0[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x2981b0['data'][_0x1cd3('0xd34')]['length']){_0x2b23cf[_0x1cd3('0xd34')]=_0x2981b0[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x2981b0[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1d7f')}];for(var _0x5a244b=0x0;_0x5a244b<_0x2981b0[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length'];_0x5a244b+=0x1){_0x5e815e['error']({'title':_0x2981b0[_0x1cd3('0x439')]['errors'][_0x5a244b][_0x1cd3('0x424')],'msg':_0x2981b0[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x5a244b][_0x1cd3('0x43a')]});}}else{_0x5e815e[_0x1cd3('0x434')]({'title':_0x2981b0['status']?_0x1cd3('0x435')+_0x2981b0[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x2981b0['statusText']:_0x1cd3('0x1d7f'),'msg':_0x2981b0[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x2981b0[_0x1cd3('0x439')]['message']):_0x2981b0['toString']()});}});}function _0x40bd6a(_0x597edf){_0x2d0b1c[_0x1cd3('0x39d')](_0x597edf);}}}());(function(){'use strict';_0x28f781[_0x1cd3('0xc')]=[_0x1cd3('0x36f'),_0x1cd3('0x460'),'$state','$q',_0x1cd3('0x3f7'),_0x1cd3('0x3e7'),_0x1cd3('0x3c5'),_0x1cd3('0x372'),_0x1cd3('0x461'),_0x1cd3('0x370'),_0x1cd3('0x56')];angular[_0x1cd3('0x0')]('app.motiondialer')[_0x1cd3('0x39b')](_0x1cd3('0x1d80'),_0x28f781);function _0x28f781(_0x5ceef7,_0xd1e4e0,_0xc92bba,_0x3bb34a,_0x5e99b8,_0x2cfdf8,_0x5a2cbd,_0x27731b,_0x2e237e,_0x2591a9,_0x17b54e){var _0x2adc0b=this;_0x2adc0b[_0x1cd3('0x3ca')]=_0x17b54e['getCurrentUser']();_0x2adc0b[_0x1cd3('0x1d60')]={};_0x2adc0b[_0x1cd3('0x1d81')]={'count':0x0,'rows':[]};_0x2adc0b[_0x1cd3('0x1d82')]=[];_0x2adc0b[_0x1cd3('0xd27')];_0x2adc0b[_0x1cd3('0x3d4')]={'fields':_0x1cd3('0x1d83'),'sort':_0x1cd3('0x1479'),'limit':0xa,'page':0x1};_0x2adc0b[_0x1cd3('0xe08')]=_0x36f174;_0x2adc0b[_0x1cd3('0xe0a')]=_0x1a51e4;_0x2adc0b[_0x1cd3('0x473')]=_0x4132cb;_0x2adc0b[_0x1cd3('0x1d84')]=_0x46ac92;_0x2adc0b['createOrEditIvrCampaignHopperBlack']=_0x2171a8;_0x2adc0b['exportSelectedIvrCampaignHopperBlacks']=_0x5e9541;_0x2adc0b[_0x1cd3('0x1d85')]=_0x565038;_0x2adc0b[_0x1cd3('0x1d86')]=_0x21ce3d;function _0x36f174(_0x5c253c,_0x21ac57){_0x2adc0b[_0x1cd3('0x1d60')]=_0x5c253c;_0x2adc0b[_0x1cd3('0xd27')]=typeof _0x21ac57!==_0x1cd3('0x491')?_0x21ac57:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x2adc0b[_0x1cd3('0x3d4')][_0x1cd3('0x1d87')]=_0x2adc0b[_0x1cd3('0x1d60')]['id'];_0x2adc0b[_0x1cd3('0x3d4')]['id']=_0x2adc0b[_0x1cd3('0x1d60')]['id'];_0x46ac92();}function _0x1a51e4(_0x4a4cfe,_0x16caed){var _0x1c42de=_0x5a2cbd[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x1d88'))['htmlContent'](_0x1cd3('0xd51')+(_0x4a4cfe['name']||_0x4a4cfe['id']&&_[_0x1cd3('0x12bc')](_0x1cd3('0x1d89'))+_0x4a4cfe['id']||_0x1cd3('0x1d8a'))+_0x1cd3('0xd52')+_0x1cd3('0xd53'))['ariaLabel']('delete\x20hopperBlack')[_0x1cd3('0xd63')](_0x16caed)['ok']('OK')[_0x1cd3('0x4d8')]('CANCEL');_0x5a2cbd[_0x1cd3('0x37e')](_0x1c42de)[_0x1cd3('0x77')](function(){_0x565038(_0x4a4cfe);},function(){console['log'](_0x1cd3('0xd55'));});}function _0x4132cb(_0x28e0e9){_0x2adc0b['ivrCampaignHopperBlacks']=_0x28e0e9||{'count':0x0,'rows':[]};}function _0x46ac92(){_0x2adc0b[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0x2adc0b['query'][_0x1cd3('0x8fd')]-0x1)*_0x2adc0b[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];_0x2adc0b['promise']=_0x2591a9[_0x1cd3('0xc69')][_0x1cd3('0x1d8b')](_0x2adc0b[_0x1cd3('0x3d4')],_0x4132cb)[_0x1cd3('0x81')];}function _0x2171a8(_0x11257a,_0x385661){_0x5a2cbd['show']({'controller':'CreateOrEditHopperBlackDialogController','controllerAs':'vm','templateUrl':_0x1cd3('0x1d8c'),'parent':angular[_0x1cd3('0x37f')](_0x27731b[_0x1cd3('0x380')]),'targetEvent':_0x11257a,'clickOutsideToClose':!![],'locals':{'ivrCampaign':_0x2adc0b['ivrCampaign'],'hopperBlack':_0x385661,'hopperBlacks':_0x2adc0b[_0x1cd3('0x1d81')]['rows'],'license':null,'setting':null,'crudPermissions':_0x2adc0b[_0x1cd3('0xd27')]}});}function _0x565038(_0x398f8b){_0x2591a9[_0x1cd3('0x1d8a')][_0x1cd3('0xa1c')]({'id':_0x398f8b['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x2adc0b['ivrCampaignHopperBlacks'][_0x1cd3('0xf6')],{'id':_0x398f8b['id']});_0x2adc0b[_0x1cd3('0x1d81')]['count']-=0x1;if(!_0x2adc0b['ivrCampaignHopperBlacks'][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){_0x46ac92();}_0x2e237e[_0x1cd3('0x473')]({'title':_0x1cd3('0x1d8d'),'msg':_0x398f8b['name']?_0x398f8b[_0x1cd3('0x98')]+_0x1cd3('0xd41'):''});})[_0x1cd3('0xfd')](function(_0x24ac9a){if(_0x24ac9a[_0x1cd3('0x439')]&&_0x24ac9a['data'][_0x1cd3('0xd34')]&&_0x24ac9a[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){vm[_0x1cd3('0xd34')]=_0x24ac9a[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x24ac9a[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1d8e')}];for(var _0x4b122c=0x0;_0x4b122c<_0x24ac9a[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x4b122c++){_0x2e237e[_0x1cd3('0x434')]({'title':_0x24ac9a[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x4b122c][_0x1cd3('0x424')],'msg':_0x24ac9a[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x4b122c][_0x1cd3('0x43a')]});}}else{_0x2e237e[_0x1cd3('0x434')]({'title':_0x24ac9a[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x24ac9a['status']+_0x1cd3('0x436')+_0x24ac9a[_0x1cd3('0xd35')]:_0x1cd3('0x1d8e'),'msg':_0x24ac9a[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x24ac9a[_0x1cd3('0x439')]['message']):_0x24ac9a[_0x1cd3('0x43a')]||_0x24ac9a[_0x1cd3('0x43b')]()});}});}function _0x5e9541(){var _0x38e903=angular[_0x1cd3('0x429')](_0x2adc0b[_0x1cd3('0x1d82')]);_0x2adc0b[_0x1cd3('0x1d82')]=[];return _0x38e903;}function _0x21ce3d(_0x224e31){var _0x31c6fe=_0x5a2cbd['confirm']()[_0x1cd3('0x486')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20hopperBlacks?')[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x2adc0b[_0x1cd3('0x1d82')][_0x1cd3('0x7a')]+'\x20selected</b>'+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x1d8f'))[_0x1cd3('0xd63')](_0x224e31)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x5a2cbd['show'](_0x31c6fe)[_0x1cd3('0x77')](function(){_0x2adc0b[_0x1cd3('0x1d82')][_0x1cd3('0x394')](function(_0x48ed70){_0x565038(_0x48ed70);});_0x2adc0b['selectedIvrCampaignHopperBlacks']=[];});}var _0x190cfa=!![];var _0x24f0ca=0x1;_0xd1e4e0['$watch']('vm_dc.query.filter',function(_0x2d0a1f,_0x5688fc){if(_0x190cfa){_0x2cfdf8(function(){_0x190cfa=![];});}else{if(!_0x5688fc){_0x24f0ca=_0x2adc0b[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0x2d0a1f!==_0x5688fc){_0x2adc0b['query'][_0x1cd3('0x8fd')]=0x1;}if(!_0x2d0a1f){_0x2adc0b[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0x24f0ca;}_0x46ac92();}});}}());(function(){'use strict';_0x2d7feb[_0x1cd3('0xc')]=[_0x1cd3('0x36f'),_0x1cd3('0x460'),_0x1cd3('0x53e'),'$q',_0x1cd3('0x3f7'),_0x1cd3('0x3e7'),'$mdDialog',_0x1cd3('0x372'),_0x1cd3('0x461'),'api',_0x1cd3('0x56')];angular['module']('app.motiondialer')[_0x1cd3('0x39b')](_0x1cd3('0x1d90'),_0x2d7feb);function _0x2d7feb(_0x3e8644,_0x2e6e66,_0x455afe,_0x15b4b5,_0x557657,_0x138fb6,_0x2119f0,_0x2982c8,_0x15ab55,_0x2b3e02,_0x4cfbf5){var _0x559e49=this;_0x559e49[_0x1cd3('0x3ca')]=_0x4cfbf5[_0x1cd3('0x5d')]();_0x559e49['contacts']={};_0x559e49[_0x1cd3('0x1d60')]={};_0x559e49[_0x1cd3('0x1d91')]={'count':0x0,'rows':[]};_0x559e49[_0x1cd3('0x1d92')]=[];_0x559e49['crudPermissions'];_0x559e49[_0x1cd3('0x3d4')]={'fields':'createdAt,updatedAt,uniqueid,ContactId,calleridnum,calleridname,statedesc,countcongestionretry,countbusyretry,countnoanswerretry,countnosuchnumberretry,countdropretry,countabandonedretry,countmachineretry,countagentrejectretry,countglobal,scheduledat,starttime,responsetime,endtime,disposition,ListId,UserId,VoiceQueueId,CampaignId,recallme,deleted,campaign','sort':_0x1cd3('0x1479'),'limit':0xa,'page':0x1};_0x559e49[_0x1cd3('0xe08')]=_0x3c69cb;_0x559e49[_0x1cd3('0xe0a')]=_0x17b634;_0x559e49[_0x1cd3('0x473')]=_0x74b7d0;_0x559e49['getIvrCampaignHopperFinals']=_0x29de69;_0x559e49['createOrEditIvrCampaignHopperFinal']=_0x1e6377;_0x559e49['exportSelectedIvrCampaignHopperFinals']=_0x217877;_0x559e49[_0x1cd3('0x1d93')]=_0x43a4d0;_0x559e49[_0x1cd3('0x1d94')]=_0x4e8f50;_0x559e49['moveIvrCampaignHopperFinal']=_0x283457;_0x559e49[_0x1cd3('0x1d95')]=_0x5e164d;_0x559e49[_0x1cd3('0x1d96')]=_0x3f604b;_0x559e49[_0x1cd3('0x1d97')]=_0x3f8a74;_0x559e49[_0x1cd3('0x1d98')]=_0x1cf763;function _0x3c69cb(_0x1cb139,_0x3dd40a){_0x559e49[_0x1cd3('0x1d60')]=_0x1cb139;_0x559e49[_0x1cd3('0xd27')]=typeof _0x3dd40a!==_0x1cd3('0x491')?_0x3dd40a:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x559e49[_0x1cd3('0x3d4')]['CampaignId']=_0x559e49[_0x1cd3('0x1d60')]['id'];_0x559e49[_0x1cd3('0x3d4')]['id']=_0x559e49[_0x1cd3('0x1d60')]['id'];_0x29de69();}function _0x17b634(_0x128c6a,_0x2e427e){var _0x31fb8b=_0x2119f0['confirm']()[_0x1cd3('0x486')](_0x1cd3('0x1d99'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+(_0x128c6a[_0x1cd3('0x98')]||_0x128c6a['id']&&_[_0x1cd3('0x12bc')]('hopperFinal\x20#')+_0x128c6a['id']||_0x1cd3('0x1d9a'))+_0x1cd3('0xd52')+'\x20will\x20be\x20deleted.')[_0x1cd3('0xd3d')](_0x1cd3('0x1d9b'))[_0x1cd3('0xd63')](_0x2e427e)['ok']('OK')['cancel'](_0x1cd3('0xd55'));_0x2119f0[_0x1cd3('0x37e')](_0x31fb8b)[_0x1cd3('0x77')](function(){_0x43a4d0(_0x128c6a);},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}function _0x74b7d0(_0x13525c){_0x559e49[_0x1cd3('0x1d91')]=_0x13525c||{'count':0x0,'rows':[]};}function _0x29de69(){_0x559e49[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0x559e49['query'][_0x1cd3('0x8fd')]-0x1)*_0x559e49[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];_0x559e49[_0x1cd3('0x539')]=_0x2b3e02[_0x1cd3('0xc69')][_0x1cd3('0x149c')](_0x559e49[_0x1cd3('0x3d4')],_0x74b7d0)[_0x1cd3('0x81')];}function _0x1e6377(_0x3aea0c,_0x1252b5){_0x2119f0[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1d9c'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1d9d'),'parent':angular[_0x1cd3('0x37f')](_0x2982c8[_0x1cd3('0x380')]),'targetEvent':_0x3aea0c,'clickOutsideToClose':!![],'locals':{'ivrCampaign':_0x559e49['ivrCampaign'],'hopperFinal':_0x1252b5,'hopperFinals':_0x559e49['ivrCampaignHopperFinals'][_0x1cd3('0xf6')],'license':null,'setting':null,'crudPermissions':_0x559e49['crudPermissions']}});}function _0x43a4d0(_0x473aee){_0x2b3e02[_0x1cd3('0x1d9a')][_0x1cd3('0xa1c')]({'id':_0x473aee['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x559e49[_0x1cd3('0x1d91')][_0x1cd3('0xf6')],{'id':_0x473aee['id']});_0x559e49[_0x1cd3('0x1d91')][_0x1cd3('0x466')]-=0x1;if(!_0x559e49[_0x1cd3('0x1d91')][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){_0x29de69();}_0x15ab55[_0x1cd3('0x473')]({'title':_0x1cd3('0x1d9e'),'msg':_0x473aee['name']?_0x473aee[_0x1cd3('0x98')]+'\x20has\x20been\x20deleted!':''});})[_0x1cd3('0xfd')](function(_0x45b376){if(_0x45b376['data']&&_0x45b376[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x45b376[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length']){vm['errors']=_0x45b376[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x45b376[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1d8e')}];for(var _0x2e37bc=0x0;_0x2e37bc<_0x45b376[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x2e37bc++){_0x15ab55[_0x1cd3('0x434')]({'title':_0x45b376['data']['errors'][_0x2e37bc][_0x1cd3('0x424')],'msg':_0x45b376[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x2e37bc][_0x1cd3('0x43a')]});}}else{_0x15ab55[_0x1cd3('0x434')]({'title':_0x45b376[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x45b376['status']+_0x1cd3('0x436')+_0x45b376['statusText']:_0x1cd3('0x1d8e'),'msg':_0x45b376[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x45b376[_0x1cd3('0x439')]['message']):_0x45b376['message']||_0x45b376[_0x1cd3('0x43b')]()});}});}function _0x217877(){var _0x4a606a=angular[_0x1cd3('0x429')](_0x559e49[_0x1cd3('0x1d92')]);_0x559e49[_0x1cd3('0x1d92')]=[];return _0x4a606a;}function _0x4e8f50(_0xdca07c){var _0x335c1b=_0x2119f0['confirm']()['title'](_0x1cd3('0x1d9f'))['htmlContent']('<b>'+_0x559e49[_0x1cd3('0x1d92')][_0x1cd3('0x7a')]+_0x1cd3('0xd61')+_0x1cd3('0xd53'))['ariaLabel'](_0x1cd3('0x1da0'))[_0x1cd3('0xd63')](_0xdca07c)['ok']('OK')[_0x1cd3('0x4d8')]('CANCEL');_0x2119f0[_0x1cd3('0x37e')](_0x335c1b)[_0x1cd3('0x77')](function(){_0x559e49[_0x1cd3('0x1d92')]['forEach'](function(_0x4fc3f7){_0x43a4d0(_0x4fc3f7);});_0x559e49['selectedIvrCampaignHopperFinals']=[];});}function _0x5e164d(_0x49f33a){_0x2b3e02[_0x1cd3('0xb4d')][_0x1cd3('0x1d95')]({'id':_0x559e49[_0x1cd3('0x3d4')]['id'],'state':_0x49f33a})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x29a125){if(_[_0x1cd3('0x472')](_0x29a125)&&_[_0x1cd3('0x472')](_0x29a125[0x0])){_0x15ab55[_0x1cd3('0x654')]({'title':_0x1cd3('0x1da1'),'msg':'0'});}else{_0x15ab55['info']({'title':_0x1cd3('0x1da1'),'msg':JSON[_0x1cd3('0x438')](_0x29a125[0x0][_0x1cd3('0x14bb')])});}})[_0x1cd3('0xfd')](function(_0xc01286){_0x15ab55['error']({'title':_0xc01286[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0xc01286['status']+_0x1cd3('0x436')+_0xc01286[_0x1cd3('0xd35')]:_0x1cd3('0x1da2'),'msg':_0xc01286[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0xc01286[_0x1cd3('0x439')]['message']):_0xc01286[_0x1cd3('0x43a')]||_0xc01286[_0x1cd3('0x43b')]()});});}function _0x3f604b(_0x1ce529){_0x2b3e02[_0x1cd3('0xb4d')]['countContactsIvrCampaignHopperFinal']({'id':_0x1ce529})[_0x1cd3('0x81')]['then'](function(_0x2b43e3){_[_0x1cd3('0xf2')](_0x559e49[_0x1cd3('0x141d')],_0x2b43e3[0x0]);})[_0x1cd3('0xfd')](function(_0x40d8df){_0x15ab55[_0x1cd3('0x434')]({'title':_0x40d8df[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x40d8df['status']+'\x20-\x20'+_0x40d8df[_0x1cd3('0xd35')]:'SYSTEM:GETcampaign','msg':_0x40d8df[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x40d8df[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x40d8df['message']||_0x40d8df[_0x1cd3('0x43b')]()});});}function _0x1cf763(_0x354860){var _0x10fba1=_0x2119f0[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x1da3'))['htmlContent']('<b>\x20Contacts\x20selected</b>'+'\x20will\x20be\x20restored.')[_0x1cd3('0xd3d')](_0x1cd3('0x1da4'))['targetEvent'](_0x354860)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x2119f0['show'](_0x10fba1)['then'](function(){_0x559e49[_0x1cd3('0x1d92')]['forEach'](function(_0x5e309b){_0x283457(_0x5e309b);});_0x559e49[_0x1cd3('0x1d92')]=[];});}function _0x3f8a74(_0x190996,_0x59a133){var _0x1f0dcb=_0x2119f0[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x1da5'))['htmlContent'](_0x1cd3('0xd51')+_0x1cd3('0x1323')+_0x1cd3('0xd52')+_0x1cd3('0x1da6'))[_0x1cd3('0xd3d')](_0x1cd3('0x1da7'))[_0x1cd3('0xd63')](_0x59a133)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x2119f0[_0x1cd3('0x37e')](_0x1f0dcb)[_0x1cd3('0x77')](function(){_0x283457(_0x190996);},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}function _0x50a995(_0x4feff7){var _0x3ab94a={};_0x3ab94a['phone']=_0x4feff7['calleridnum'];_0x3ab94a[_0x1cd3('0x14ad')]=moment()[_0x1cd3('0x130')](_0x1cd3('0x377'));_0x3ab94a[_0x1cd3('0x1da8')]=0x0;_0x3ab94a[_0x1cd3('0x1da9')]=0x0;_0x3ab94a[_0x1cd3('0x1daa')]=0x0;_0x3ab94a[_0x1cd3('0x1dab')]=0x0;_0x3ab94a[_0x1cd3('0x1615')]=_0x4feff7['ContactId'];_0x3ab94a[_0x1cd3('0x106')]=_0x4feff7['ListId'];_0x3ab94a[_0x1cd3('0x1226')]=_0x4feff7[_0x1cd3('0x1dac')]?null:_0x4feff7[_0x1cd3('0x1226')];_0x3ab94a[_0x1cd3('0x1798')]=_0x4feff7[_0x1cd3('0x1798')];_0x3ab94a['CampaignId']=_0x4feff7['CampaignId'];_0x3ab94a[_0x1cd3('0xf0c')]=_0x4feff7[_0x1cd3('0x162c')]?0x3:0x2;_0x3ab94a[_0x1cd3('0x162c')]=_0x4feff7[_0x1cd3('0x162c')]?!![]:![];return _0x3ab94a;}function _0x353e40(_0x54bf1d){var _0x2814cd={};_0x2814cd[_0x1cd3('0x15ae')]=_0x54bf1d[_0x1cd3('0x15ae')];_0x2814cd['calleridname']=_0x54bf1d[_0x1cd3('0x15ba')];_0x2814cd[_0x1cd3('0x14ad')]=moment()[_0x1cd3('0x130')](_0x1cd3('0x377'));_0x2814cd['countbusyretry']=_0x54bf1d['countbusyretry'];_0x2814cd[_0x1cd3('0x1da9')]=_0x54bf1d['countcongestionretry'];_0x2814cd[_0x1cd3('0x1daa')]=_0x54bf1d[_0x1cd3('0x1daa')];_0x2814cd['countglobal']=_0x54bf1d[_0x1cd3('0x1dab')];_0x2814cd[_0x1cd3('0x1615')]=_0x54bf1d[_0x1cd3('0x1615')];_0x2814cd['ListId']=_0x54bf1d['ListId'];_0x2814cd[_0x1cd3('0x1226')]=_0x4cfbf5[_0x1cd3('0x5d')]()['id'];_0x2814cd[_0x1cd3('0x1798')]=_0x54bf1d[_0x1cd3('0x1798')];_0x2814cd[_0x1cd3('0x1d87')]=_0x54bf1d[_0x1cd3('0x1d87')];_0x2814cd[_0x1cd3('0x1dad')]=moment()[_0x1cd3('0x130')](_0x1cd3('0x377'));_0x2814cd[_0x1cd3('0x1dae')]=!![];_0x2814cd[_0x1cd3('0x19')]=0x19;_0x2814cd[_0x1cd3('0x1daf')]=_0x1cd3('0x1db0');_0x2814cd['campaign']=_0x54bf1d['campaign'];_0x2814cd[_0x1cd3('0x1db1')]=_0x54bf1d[_0x1cd3('0x1798')]?_0x1cd3('0x1220'):_0x1cd3('0x208');return _0x2814cd;}function _0x283457(_0x3c626e){_0x2b3e02[_0x1cd3('0xb4d')][_0x1cd3('0x1db2')](_0x3c626e)[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x5b47cb){_0x15ab55[_0x1cd3('0x654')]({'title':_0x1cd3('0x1db3'),'msg':_0x1cd3('0x1db4')+_0x5b47cb['ContactId']});})[_0x1cd3('0xfd')](function(_0x43fb36){if(_0x43fb36[_0x1cd3('0x439')]==='Not\x20Found'){_0x2b3e02[_0x1cd3('0xb47')][_0x1cd3('0xd6d')](_0x50a995(_0x3c626e))[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x2493cc){_0x15ab55[_0x1cd3('0x654')]({'title':_0x1cd3('0x1db5'),'msg':_0x1cd3('0x1db4')+_0x2493cc[_0x1cd3('0x1615')]});if(_0x2493cc[_0x1cd3('0x1615')]){_0x2b3e02[_0x1cd3('0xe15')][_0x1cd3('0xd6d')](_0x353e40(_0x3c626e));}})['catch'](function(_0x2b8730){if(!_['isNil'](_0x2b8730[_0x1cd3('0x439')])&&_0x2b8730[_0x1cd3('0x439')][_0x1cd3('0x43a')]===_0x1cd3('0x1db6')){_0x15ab55[_0x1cd3('0x654')]({'title':'The\x20contact\x20is\x20in\x20the\x20hopper','msg':_0x1cd3('0x1db4')+_0x3c626e[_0x1cd3('0x1615')]});}else{_0x15ab55['error']({'title':_0x2b8730[_0x1cd3('0x3a6')]?'API:'+_0x2b8730['status']+'\x20-\x20'+_0x2b8730[_0x1cd3('0xd35')]:'SYSTEM:GETvoiceQueue','msg':_0x2b8730['data']?JSON[_0x1cd3('0x438')](_0x2b8730[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x2b8730[_0x1cd3('0x43a')]||_0x2b8730[_0x1cd3('0x43b')]()});}});}else{_0x15ab55[_0x1cd3('0x434')]({'title':_0x43fb36[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x43fb36[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x43fb36[_0x1cd3('0xd35')]:'SYSTEM:GETvoiceQueue','msg':_0x43fb36[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x43fb36[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x43fb36[_0x1cd3('0x43a')]||_0x43fb36[_0x1cd3('0x43b')]()});}});}var _0x47b661=!![];var _0x367323=0x1;_0x2e6e66['$watch'](_0x1cd3('0x1340'),function(_0x85a4f6,_0x160b1d){if(_0x47b661){_0x138fb6(function(){_0x47b661=![];});}else{if(!_0x160b1d){_0x367323=_0x559e49[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0x85a4f6!==_0x160b1d){_0x559e49[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}if(!_0x85a4f6){_0x559e49['query'][_0x1cd3('0x8fd')]=_0x367323;}_0x29de69();}});}}());(function(){'use strict';_0x319bad[_0x1cd3('0xc')]=[_0x1cd3('0x36f'),_0x1cd3('0x460'),_0x1cd3('0x53e'),'$q',_0x1cd3('0x3f7'),'$timeout',_0x1cd3('0x3c5'),_0x1cd3('0x372'),_0x1cd3('0x461'),_0x1cd3('0x370'),'Auth'];angular[_0x1cd3('0x0')](_0x1cd3('0x36'))[_0x1cd3('0x39b')](_0x1cd3('0x1db7'),_0x319bad);function _0x319bad(_0x49e41a,_0x5eda44,_0x222461,_0x2598af,_0x4ac030,_0x34b47a,_0x34dafb,_0xf57251,_0x2829ad,_0x36d571,_0x4d0c54){var _0x501ddc=this;_0x501ddc[_0x1cd3('0x3ca')]=_0x4d0c54[_0x1cd3('0x5d')]();_0x501ddc[_0x1cd3('0x1d60')]={};_0x501ddc[_0x1cd3('0x1db8')]={'count':0x0,'rows':[]};_0x501ddc[_0x1cd3('0x1db9')]=[];_0x501ddc[_0x1cd3('0xd27')];_0x501ddc[_0x1cd3('0x3d4')]={'fields':_0x1cd3('0x1dba'),'sort':_0x1cd3('0x1479'),'limit':0xa,'page':0x1};_0x501ddc[_0x1cd3('0xe08')]=_0x28670e;_0x501ddc[_0x1cd3('0xe0a')]=_0x4f0ce8;_0x501ddc[_0x1cd3('0x473')]=_0x9c4d9b;_0x501ddc[_0x1cd3('0x1dbb')]=_0x98ddb5;_0x501ddc[_0x1cd3('0x1dbc')]=_0x4a690d;_0x501ddc[_0x1cd3('0x1dbd')]=_0x8b3497;_0x501ddc[_0x1cd3('0x1dbe')]=_0x49c7ee;_0x501ddc['deleteSelectedIvrCampaignHopperHistories']=_0x22b204;function _0x28670e(_0xf58ef0,_0x309911){_0x501ddc['ivrCampaign']=_0xf58ef0;_0x501ddc[_0x1cd3('0xd27')]=typeof _0x309911!==_0x1cd3('0x491')?_0x309911:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x501ddc[_0x1cd3('0x3d4')][_0x1cd3('0x1d87')]=_0x501ddc[_0x1cd3('0x1d60')]['id'];_0x501ddc['query']['id']=_0x501ddc['ivrCampaign']['id'];_0x98ddb5();}function _0x4f0ce8(_0x3952c8,_0x3a1db4){var _0x5ba157=_0x34dafb['confirm']()[_0x1cd3('0x486')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20hopperHistory?')[_0x1cd3('0xd60')](_0x1cd3('0xd51')+(_0x3952c8['name']||_0x3952c8['id']&&_['upperFirst'](_0x1cd3('0x1dbf'))+_0x3952c8['id']||_0x1cd3('0x1dc0'))+_0x1cd3('0xd52')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x1dc1'))[_0x1cd3('0xd63')](_0x3a1db4)['ok']('OK')['cancel'](_0x1cd3('0xd55'));_0x34dafb[_0x1cd3('0x37e')](_0x5ba157)[_0x1cd3('0x77')](function(){_0x49c7ee(_0x3952c8);},function(){console['log'](_0x1cd3('0xd55'));});}function _0x9c4d9b(_0x2461cd){_0x501ddc[_0x1cd3('0x1db8')]=_0x2461cd||{'count':0x0,'rows':[]};}function _0x98ddb5(){_0x501ddc[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0x501ddc['query'][_0x1cd3('0x8fd')]-0x1)*_0x501ddc['query'][_0x1cd3('0x8fe')];_0x501ddc[_0x1cd3('0x539')]=_0x36d571[_0x1cd3('0xc69')][_0x1cd3('0x149d')](_0x501ddc[_0x1cd3('0x3d4')],_0x9c4d9b)[_0x1cd3('0x81')];}function _0x4a690d(_0x239eb8,_0x52bd52){_0x34dafb['show']({'controller':_0x1cd3('0x1dc2'),'controllerAs':'vm','templateUrl':'app/main/apps/motiondialer/views/ivrCampaigns/edit/hopperHistories/dialog.html','parent':angular[_0x1cd3('0x37f')](_0xf57251[_0x1cd3('0x380')]),'targetEvent':_0x239eb8,'clickOutsideToClose':!![],'locals':{'ivrCampaign':_0x501ddc[_0x1cd3('0x1d60')],'hopperHistory':_0x52bd52,'hopperHistories':_0x501ddc['ivrCampaignHopperHistories']['rows'],'license':null,'setting':null,'crudPermissions':_0x501ddc[_0x1cd3('0xd27')]}});}function _0x49c7ee(_0x3759af){_0x36d571[_0x1cd3('0x1dc0')][_0x1cd3('0xa1c')]({'id':_0x3759af['id']})['$promise']['then'](function(){_['remove'](_0x501ddc[_0x1cd3('0x1db8')]['rows'],{'id':_0x3759af['id']});_0x501ddc['ivrCampaignHopperHistories'][_0x1cd3('0x466')]-=0x1;if(!_0x501ddc[_0x1cd3('0x1db8')][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){_0x98ddb5();}_0x2829ad[_0x1cd3('0x473')]({'title':_0x1cd3('0x1dc3'),'msg':_0x3759af[_0x1cd3('0x98')]?_0x3759af[_0x1cd3('0x98')]+_0x1cd3('0xd41'):''});})[_0x1cd3('0xfd')](function(_0x2ca516){if(_0x2ca516['data']&&_0x2ca516['data'][_0x1cd3('0xd34')]&&_0x2ca516['data']['errors'][_0x1cd3('0x7a')]){vm['errors']=_0x2ca516[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x2ca516[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1d8e')}];for(var _0x18fece=0x0;_0x18fece<_0x2ca516[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x18fece++){_0x2829ad['error']({'title':_0x2ca516[_0x1cd3('0x439')]['errors'][_0x18fece]['type'],'msg':_0x2ca516['data'][_0x1cd3('0xd34')][_0x18fece][_0x1cd3('0x43a')]});}}else{_0x2829ad[_0x1cd3('0x434')]({'title':_0x2ca516['status']?_0x1cd3('0x435')+_0x2ca516[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x2ca516[_0x1cd3('0xd35')]:_0x1cd3('0x1d8e'),'msg':_0x2ca516[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x2ca516[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x2ca516[_0x1cd3('0x43a')]||_0x2ca516[_0x1cd3('0x43b')]()});}});}function _0x8b3497(){var _0xbd08bb=angular[_0x1cd3('0x429')](_0x501ddc['selectedIvrCampaignHopperHistories']);_0x501ddc[_0x1cd3('0x1db9')]=[];return _0xbd08bb;}function _0x22b204(_0x18b8ef){var _0x10d11e=_0x34dafb[_0x1cd3('0xd39')]()['title']('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20hopperHistories?')[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x501ddc[_0x1cd3('0x1db9')][_0x1cd3('0x7a')]+'\x20selected</b>'+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')]('delete\x20hopperHistories')[_0x1cd3('0xd63')](_0x18b8ef)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x34dafb[_0x1cd3('0x37e')](_0x10d11e)[_0x1cd3('0x77')](function(){_0x501ddc[_0x1cd3('0x1db9')][_0x1cd3('0x394')](function(_0x4632a5){_0x49c7ee(_0x4632a5);});_0x501ddc[_0x1cd3('0x1db9')]=[];});}var _0xe2b8b0=!![];var _0x9d9953=0x1;_0x5eda44[_0x1cd3('0x4d6')](_0x1cd3('0x1340'),function(_0x2b144b,_0x2db267){if(_0xe2b8b0){_0x34b47a(function(){_0xe2b8b0=![];});}else{if(!_0x2db267){_0x9d9953=_0x501ddc[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0x2b144b!==_0x2db267){_0x501ddc[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}if(!_0x2b144b){_0x501ddc[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0x9d9953;}_0x98ddb5();}});}}());(function(){'use strict';_0x387c09[_0x1cd3('0xc')]=[_0x1cd3('0x36f'),_0x1cd3('0x460'),_0x1cd3('0x53e'),'$q',_0x1cd3('0x3f7'),_0x1cd3('0x3e7'),'$mdDialog',_0x1cd3('0x372'),'toasty',_0x1cd3('0x370'),_0x1cd3('0x56')];angular[_0x1cd3('0x0')](_0x1cd3('0x36'))[_0x1cd3('0x39b')]('IvrCampaignHoppersController',_0x387c09);function _0x387c09(_0x22a13c,_0x4917c7,_0x583191,_0x13e5b9,_0x5489ae,_0x386d28,_0x21ea0e,_0x4206a2,_0x42b125,_0x5eae27,_0x48c152){var _0x49e39b=this;_0x49e39b[_0x1cd3('0x3ca')]=_0x48c152[_0x1cd3('0x5d')]();_0x49e39b['ivrCampaign']={};_0x49e39b[_0x1cd3('0x1dc4')]={'count':0x0,'rows':[]};_0x49e39b['selectedIvrCampaignHoppers']=[];_0x49e39b[_0x1cd3('0xd27')];_0x49e39b[_0x1cd3('0x3d4')]={'fields':'createdAt,updatedAt,id,ContactId,phone,countcongestionretry,countbusyretry,countnoanswerretry,countnosuchnumberretry,countdropretry,countabandonedretry,countmachineretry,countagentrejectretry,scheduledat,priority','sort':'-updatedAt','limit':0xa,'page':0x1};_0x49e39b[_0x1cd3('0x1474')]=_[_0x1cd3('0xe2d')]([{'option':_0x1cd3('0xf41'),'value':_0x1cd3('0x1475')},{'option':_0x1cd3('0xf42'),'value':_0x1cd3('0x1476')},{'option':_0x1cd3('0xf43'),'value':_0x1cd3('0x1477')},{'option':'Low','value':_0x1cd3('0x1478')},{'option':_0x1cd3('0xf45'),'value':_0x1cd3('0x1dc5')}],function(_0x1b4c45){return _[_0x1cd3('0x3f1')](_0x1b4c45[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x49e39b[_0x1cd3('0xe08')]=_0x18b3c7;_0x49e39b['deleteConfirm']=_0x423ad9;_0x49e39b[_0x1cd3('0x473')]=_0x3c029e;_0x49e39b['getIvrCampaignHoppers']=_0x4b3e9a;_0x49e39b['createOrEditIvrCampaignHopper']=_0x56e793;_0x49e39b[_0x1cd3('0x1dc6')]=_0x14ca69;_0x49e39b['deleteIvrCampaignHopper']=_0x516f85;_0x49e39b[_0x1cd3('0x1dc7')]=_0x50dd93;_0x48c152['hasRole'](_0x1cd3('0x5f'))?_0x5eae27[_0x1cd3('0x368')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'role':'agent','sort':_0x1cd3('0x98'),'nolimit':'true'})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x5a36a3){_0x49e39b[_0x1cd3('0x1228')]=_0x5a36a3[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x5459ae){_0x42b125['error']({'title':_0x5459ae[_0x1cd3('0x3a6')]?'API:'+_0x5459ae[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x5459ae[_0x1cd3('0xd35')]:_0x1cd3('0x11bf'),'msg':_0x5459ae[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x5459ae[_0x1cd3('0x439')]):_0x5459ae[_0x1cd3('0x43b')]()});}):_0x5eae27[_0x1cd3('0x368')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'role':_0x1cd3('0xd2'),'sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x2ba890){_0x49e39b[_0x1cd3('0x1228')]=_0x2ba890[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x5eae27[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x49e39b['currentUser'][_0x1cd3('0x5e')],'sectionId':0xca})[_0x1cd3('0x81')];})['then'](function(_0x118538){var _0x177c52=_0x118538&&_0x118538[_0x1cd3('0xf6')]?_0x118538[_0x1cd3('0xf6')][0x0]:null;if(!_0x177c52){_0x49e39b[_0x1cd3('0x1228')]=[];}else{if(!_0x177c52[_0x1cd3('0x391')]){return _0x5eae27[_0x1cd3('0x392')]['get']({'sectionId':_0x177c52['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x256d5b){var _0x35b42f=_[_0x1cd3('0x3d9')](_0x256d5b[_0x1cd3('0xf6')],function(_0x39aedc){return _[_0x1cd3('0x442')](_0x49e39b[_0x1cd3('0x1228')],{'id':_0x39aedc[_0x1cd3('0xe8e')]});});_0x49e39b[_0x1cd3('0x1228')][_0x1cd3('0x394')](function(_0x521edb){if(!_[_0x1cd3('0x38d')](_0x35b42f,['id',_0x521edb['id']])){_0x521edb[_0x1cd3('0xf4a')]=![];}_0x35b42f[_0x1cd3('0x7b')](_0x521edb);});_0x49e39b[_0x1cd3('0x1228')]=_0x35b42f;});}}})[_0x1cd3('0xfd')](function(_0x1fa9a5){_0x42b125[_0x1cd3('0x434')]({'title':_0x1fa9a5[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x1fa9a5['status']+_0x1cd3('0x436')+_0x1fa9a5[_0x1cd3('0xd35')]:_0x1cd3('0x1282'),'msg':_0x1fa9a5[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x1fa9a5[_0x1cd3('0x439')]):_0x1fa9a5[_0x1cd3('0x43b')]()});});function _0x18b3c7(_0x4c1fce,_0x255772){_0x49e39b[_0x1cd3('0x1d60')]=_0x4c1fce;_0x49e39b[_0x1cd3('0xd27')]=typeof _0x255772!==_0x1cd3('0x491')?_0x255772:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x49e39b[_0x1cd3('0x3d4')][_0x1cd3('0x1d87')]=_0x49e39b[_0x1cd3('0x1d60')]['id'];_0x49e39b[_0x1cd3('0x3d4')]['id']=_0x49e39b['ivrCampaign']['id'];_0x4b3e9a();}function _0x423ad9(_0x5023a6,_0x33c747){var _0x25fc1f=_0x21ea0e[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x1dc8'))['htmlContent'](_0x1cd3('0xd51')+(_0x5023a6[_0x1cd3('0x98')]||_0x5023a6['id']&&_[_0x1cd3('0x12bc')](_0x1cd3('0x1dc9'))+_0x5023a6['id']||_0x1cd3('0x1466'))+_0x1cd3('0xd52')+'\x20will\x20be\x20deleted.')['ariaLabel'](_0x1cd3('0x1dca'))[_0x1cd3('0xd63')](_0x33c747)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x21ea0e[_0x1cd3('0x37e')](_0x25fc1f)['then'](function(){_0x516f85(_0x5023a6);},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}function _0x3c029e(_0xc50d21){_0x49e39b[_0x1cd3('0x1dc4')]=_0xc50d21||{'count':0x0,'rows':[]};}function _0x4b3e9a(){_0x49e39b['query']['offset']=(_0x49e39b[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0x49e39b[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];_0x49e39b[_0x1cd3('0x539')]=_0x5eae27[_0x1cd3('0xc69')][_0x1cd3('0x1480')](_0x49e39b['query'],_0x3c029e)[_0x1cd3('0x81')];}function _0x56e793(_0x22b059,_0x897459){_0x21ea0e[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1498'),'controllerAs':'vm','templateUrl':'app/main/apps/motiondialer/views/ivrCampaigns/edit/hoppers/dialog.html','parent':angular[_0x1cd3('0x37f')](_0x4206a2[_0x1cd3('0x380')]),'targetEvent':_0x22b059,'clickOutsideToClose':!![],'locals':{'ivrCampaign':_0x49e39b[_0x1cd3('0x1d60')],'hopper':_0x897459,'hoppers':_0x49e39b[_0x1cd3('0x1dc4')]['rows'],'license':null,'setting':null,'crudPermissions':_0x49e39b[_0x1cd3('0xd27')]}});}function _0x516f85(_0x49d678){_0x5eae27[_0x1cd3('0xb47')]['delete']({'id':_0x49d678['id']})['$promise'][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x49e39b[_0x1cd3('0x1dc4')][_0x1cd3('0xf6')],{'id':_0x49d678['id']});_0x49e39b[_0x1cd3('0x1dc4')][_0x1cd3('0x466')]-=0x1;if(!_0x49e39b[_0x1cd3('0x1dc4')][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){_0x4b3e9a();}_0x42b125[_0x1cd3('0x473')]({'title':_0x1cd3('0x1dcb'),'msg':_0x49d678['name']?_0x49d678[_0x1cd3('0x98')]+_0x1cd3('0xd41'):''});})[_0x1cd3('0xfd')](function(_0x14c002){if(_0x14c002[_0x1cd3('0x439')]&&_0x14c002[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x14c002[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){vm[_0x1cd3('0xd34')]=_0x14c002[_0x1cd3('0x439')]['errors']||[{'message':_0x14c002[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1d8e')}];for(var _0x1de163=0x0;_0x1de163<_0x14c002[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x1de163++){_0x42b125[_0x1cd3('0x434')]({'title':_0x14c002[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1de163]['type'],'msg':_0x14c002[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1de163][_0x1cd3('0x43a')]});}}else{_0x42b125[_0x1cd3('0x434')]({'title':_0x14c002[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x14c002['status']+_0x1cd3('0x436')+_0x14c002[_0x1cd3('0xd35')]:_0x1cd3('0x1d8e'),'msg':_0x14c002[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x14c002[_0x1cd3('0x439')]['message']):_0x14c002[_0x1cd3('0x43a')]||_0x14c002['toString']()});}});}function _0x14ca69(){var _0x37a061=angular[_0x1cd3('0x429')](_0x49e39b['selectedIvrCampaignHoppers']);_0x49e39b[_0x1cd3('0x1dcc')]=[];return _0x37a061;}function _0x50dd93(_0x165b27){var _0x5a4a7c=_0x21ea0e[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x1dcd'))['htmlContent'](_0x1cd3('0xd51')+_0x49e39b[_0x1cd3('0x1dcc')][_0x1cd3('0x7a')]+_0x1cd3('0xd61')+_0x1cd3('0xd53'))['ariaLabel']('delete\x20hoppers')['targetEvent'](_0x165b27)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x21ea0e[_0x1cd3('0x37e')](_0x5a4a7c)['then'](function(){_0x49e39b['selectedIvrCampaignHoppers'][_0x1cd3('0x394')](function(_0xcb152){_0x516f85(_0xcb152);});_0x49e39b['selectedIvrCampaignHoppers']=[];});}var _0x37b88c=!![];var _0x583670=0x1;_0x4917c7[_0x1cd3('0x4d6')]('vm_dc.query.filter',function(_0x8a3cc5,_0x5bb8e5){if(_0x37b88c){_0x386d28(function(){_0x37b88c=![];});}else{if(!_0x5bb8e5){_0x583670=_0x49e39b['query'][_0x1cd3('0x8fd')];}if(_0x8a3cc5!==_0x5bb8e5){_0x49e39b['query'][_0x1cd3('0x8fd')]=0x1;}if(!_0x8a3cc5){_0x49e39b[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0x583670;}_0x4b3e9a();}});}}());(function(){'use strict';_0xd6f7f0[_0x1cd3('0xc')]=['$scope',_0x1cd3('0x53e'),_0x1cd3('0xd24'),_0x1cd3('0x3c5'),'$q','$translate','toasty','hoppers','hopper',_0x1cd3('0x370'),'Auth',_0x1cd3('0x463'),_0x1cd3('0xc49'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x36'))[_0x1cd3('0x39b')]('CreateOrEditHopperCampaignIdDialogController',_0xd6f7f0);function _0xd6f7f0(_0x1db379,_0x1cca63,_0x51ff7b,_0x5512f0,_0x58627b,_0x240abe,_0x3a2346,_0x334640,_0x304d5d,_0x412285,_0x174604,_0xf27803,_0x2c6dc9,_0x1cf21f){var _0x42376f=this;_0x42376f[_0x1cd3('0x3ca')]=_0x174604[_0x1cd3('0x5d')]();_0x42376f[_0x1cd3('0xd34')]=[];_0x42376f[_0x1cd3('0xc49')]=_0x2c6dc9;_0x42376f[_0x1cd3('0x463')]=_0xf27803;_0x42376f[_0x1cd3('0xd27')]=_0x1cf21f;_0x42376f[_0x1cd3('0xd28')]={};_0x42376f['passwordPattern']=_0x42376f['setting']&&_0x42376f['setting']['securePassword']?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x42376f[_0x1cd3('0x486')]='MOTIONDIALER.EDIT_HOPPER';_0x42376f[_0x1cd3('0x1466')]=angular['copy'](_0x304d5d);_0x42376f[_0x1cd3('0x1463')]=_0x334640;_0x42376f[_0x1cd3('0x1467')]=![];if(!_0x42376f[_0x1cd3('0x1466')]){_0x42376f[_0x1cd3('0x1466')]={};_0x42376f[_0x1cd3('0x486')]=_0x1cd3('0x1dce');_0x42376f[_0x1cd3('0x1467')]=!![];}if(_0x1cca63[_0x1cd3('0x36a')]['id']){_0x42376f['hopper'][_0x1cd3('0x1d87')]=_0x1cca63[_0x1cd3('0x36a')]['id'];}_0x42376f[_0x1cd3('0x1dcf')]=_0x3bf77a;_0x42376f[_0x1cd3('0x1468')]=_0x565235;_0x42376f['deleteHopper']=_0x2e9a00;_0x42376f[_0x1cd3('0xd31')]=_0x3e9a9c;_0x42376f[_0x1cd3('0x39c')]=_0x11dddd;_0x174604[_0x1cd3('0x57')]('admin')?_0x412285[_0x1cd3('0x368')][_0x1cd3('0x361')]({'fields':'id,name','role':'agent','sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x460291){_0x42376f['agents']=_0x460291[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x5f0aaa){_0x3a2346[_0x1cd3('0x434')]({'title':_0x5f0aaa[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x5f0aaa[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x5f0aaa['statusText']:_0x1cd3('0x11bf'),'msg':_0x5f0aaa[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x5f0aaa[_0x1cd3('0x439')]):_0x5f0aaa[_0x1cd3('0x43b')]()});}):_0x412285[_0x1cd3('0x368')]['get']({'fields':_0x1cd3('0xa6'),'role':_0x1cd3('0xd2'),'sort':'name','nolimit':_0x1cd3('0x2e0')})['$promise'][_0x1cd3('0x77')](function(_0xd1151c){_0x42376f[_0x1cd3('0x1228')]=_0xd1151c[_0x1cd3('0xf6')]||[];})['then'](function(){return _0x412285[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x42376f[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0xca})[_0x1cd3('0x81')];})['then'](function(_0xac19bb){var _0x11fe8e=_0xac19bb&&_0xac19bb[_0x1cd3('0xf6')]?_0xac19bb[_0x1cd3('0xf6')][0x0]:null;if(!_0x11fe8e){_0x42376f[_0x1cd3('0x1228')]=[];}else{if(!_0x11fe8e[_0x1cd3('0x391')]){return _0x412285[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x11fe8e['id']})['$promise'][_0x1cd3('0x77')](function(_0x23a59e){var _0x58f977=_[_0x1cd3('0x3d9')](_0x23a59e[_0x1cd3('0xf6')],function(_0x32591e){return _['find'](_0x42376f[_0x1cd3('0x1228')],{'id':_0x32591e[_0x1cd3('0xe8e')]});});_0x42376f[_0x1cd3('0x1228')][_0x1cd3('0x394')](function(_0x4fe442){if(!_[_0x1cd3('0x38d')](_0x58f977,['id',_0x4fe442['id']])){_0x4fe442[_0x1cd3('0xf4a')]=![];}_0x58f977[_0x1cd3('0x7b')](_0x4fe442);});_0x42376f[_0x1cd3('0x1228')]=_0x58f977;});}}})[_0x1cd3('0xfd')](function(_0x452d8c){_0x3a2346[_0x1cd3('0x434')]({'title':_0x452d8c[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x452d8c['status']+_0x1cd3('0x436')+_0x452d8c['statusText']:_0x1cd3('0x1282'),'msg':_0x452d8c[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x452d8c[_0x1cd3('0x439')]):_0x452d8c[_0x1cd3('0x43b')]()});});function _0x3bf77a(){_0x42376f['errors']=[];_0x412285['cmHopper'][_0x1cd3('0xd6d')](_0x42376f[_0x1cd3('0x1466')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x184a00){_0x42376f[_0x1cd3('0x1463')]['unshift'](_0x184a00['toJSON']());_0x3a2346['success']({'title':_0x1cd3('0x1dd0'),'msg':_0x42376f[_0x1cd3('0x1466')][_0x1cd3('0x98')]?_0x42376f['hopper']['name']+_0x1cd3('0xd33'):''});_0x11dddd(_0x184a00);})[_0x1cd3('0xfd')](function(_0x110276){if(_0x110276[_0x1cd3('0x439')]&&_0x110276[_0x1cd3('0x439')]['errors']&&_0x110276[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length']){_0x42376f[_0x1cd3('0xd34')]=_0x110276[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x110276[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1dd1')}];for(var _0x298555=0x0;_0x298555<_0x110276[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x298555+=0x1){_0x3a2346[_0x1cd3('0x434')]({'title':_0x110276[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x298555]['type'],'msg':_0x110276['data'][_0x1cd3('0xd34')][_0x298555][_0x1cd3('0x43a')]});}}else{_0x3a2346['error']({'title':_0x110276[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x110276[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x110276[_0x1cd3('0xd35')]:_0x1cd3('0x1dd1'),'msg':_0x110276[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x110276['data'][_0x1cd3('0x43a')]):_0x110276[_0x1cd3('0x43b')]()});}});}function _0x565235(){_0x42376f[_0x1cd3('0xd34')]=[];var _0x327de3;var _0x3ddf44;var _0x53e5db;var _0x3e2a47;_0x42376f[_0x1cd3('0x1466')][_0x1cd3('0x1226')]=_0x42376f[_0x1cd3('0x1466')][_0x1cd3('0x162c')]?_0x42376f[_0x1cd3('0x1466')][_0x1cd3('0x1226')]:null;_0x42376f[_0x1cd3('0x1466')][_0x1cd3('0x1dd2')]=_0x174604[_0x1cd3('0x5d')]()['id'];_0x412285['cmHopper'][_0x1cd3('0x361')]({'id':_0x42376f[_0x1cd3('0x1466')]['id'],'attributes':[_0x1cd3('0x14ad')]})[_0x1cd3('0x81')]['then'](function(_0x3401a7){if(_['isNil'](_0x3401a7)||_[_0x1cd3('0x398')](_0x3401a7)){_0x327de3=moment()[_0x1cd3('0x130')](_0x1cd3('0x377'));}else{_0x327de3=_0x3401a7[_0x1cd3('0x14ad')];}})[_0x1cd3('0x5dd')](function(){_0x412285[_0x1cd3('0xb47')][_0x1cd3('0x378')]({'id':_0x42376f[_0x1cd3('0x1466')]['id']},_[_0x1cd3('0x3e3')](_0x42376f['hopper'],[_0x1cd3('0x1798'),_0x1cd3('0x1d87'),_0x1cd3('0x1615'),_0x1cd3('0x106')]))['$promise'][_0x1cd3('0x77')](function(_0x4309cf){_0x3ddf44=_0x4309cf;_0x412285[_0x1cd3('0xb3d')]['get']({'id':_0x3ddf44[_0x1cd3('0x1615')],'attributes':[_0x1cd3('0x1447'),_0x1cd3('0x1324')]})['$promise'][_0x1cd3('0x77')](function(_0x4b9073){if(!_[_0x1cd3('0x472')](_0x4b9073)&&!_[_0x1cd3('0x472')](_0x4b9073[_0x1cd3('0x1447')])){_0x53e5db=_0x4b9073['firstName'];if(!_['isNil'](_0x4b9073[_0x1cd3('0x1324')])){_0x53e5db+='\x20'+_0x4b9073[_0x1cd3('0x1324')];}}})['catch'](function(){_0x53e5db=undefined;})['finally'](function(){_0x412285[_0x1cd3('0xc69')][_0x1cd3('0x361')]({'raw':![],'id':_0x3ddf44[_0x1cd3('0x1d87')],'attributes':['name']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x5d7911){_0x3e2a47=_0x5d7911[_0x1cd3('0x98')];})[_0x1cd3('0xfd')](function(_0x80f3b3){_0x3e2a47=undefined;})[_0x1cd3('0x5dd')](function(){_0x412285[_0x1cd3('0xe15')][_0x1cd3('0xd6d')]({'state':0x18,'statedesc':_0x1cd3('0x1dd3'),'scheduledat':_0x327de3,'calleridnum':_0x3ddf44[_0x1cd3('0xf09')],'calleridname':_0x53e5db,'campaigntype':_0x3ddf44[_0x1cd3('0x1798')]?_0x1cd3('0x1220'):_0x1cd3('0x208'),'campaign':_0x3e2a47,'editedat':moment()['format'](_0x1cd3('0x377')),'edited':!![],'ListId':_0x3ddf44['ListId'],'UserId':_0x174604['getCurrentUser']()['id'],'VoiceQueueId':_0x3ddf44['VoiceQueueId'],'CampaignId':_0x3ddf44[_0x1cd3('0x1d87')],'ContactId':_0x3ddf44[_0x1cd3('0x1615')],'callback':_0x3ddf44[_0x1cd3('0x1dd4')],'callbackuniqueid':_0x3ddf44[_0x1cd3('0x1dd5')],'countbusyretry':_0x3ddf44[_0x1cd3('0x1da8')],'countcongestionretry':_0x3ddf44[_0x1cd3('0x1da9')],'countglobal':_0x3ddf44[_0x1cd3('0x1dab')],'countnoanswerretry':_0x3ddf44[_0x1cd3('0x1daa')],'followuptime':_0x3ddf44['followuptime'],'recallme':_0x3ddf44[_0x1cd3('0x162c')]});});});var _0x259be7=_['find'](_0x42376f['hoppers'],{'id':_0x4309cf['id']});if(_0x259be7){_[_0x1cd3('0xf2')](_0x259be7,_['pick'](_0x4309cf[_0x1cd3('0xd32')](),_[_0x1cd3('0x80')](_0x259be7)));}_0x3a2346[_0x1cd3('0x473')]({'title':_0x1cd3('0x1469'),'msg':_0x42376f[_0x1cd3('0x1466')][_0x1cd3('0x98')]?_0x42376f[_0x1cd3('0x1466')][_0x1cd3('0x98')]+_0x1cd3('0xd37'):''});_0x11dddd(_0x4309cf);})[_0x1cd3('0xfd')](function(_0x16ec2d){if(_0x16ec2d['data']&&_0x16ec2d[_0x1cd3('0x439')]['errors']&&_0x16ec2d[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x42376f[_0x1cd3('0xd34')]=_0x16ec2d[_0x1cd3('0x439')]['errors']||[{'message':_0x16ec2d[_0x1cd3('0x43b')](),'type':_0x1cd3('0x146a')}];for(var _0x5c5175=0x0;_0x5c5175<_0x16ec2d['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x5c5175++){_0x3a2346['error']({'title':_0x16ec2d[_0x1cd3('0x439')]['errors'][_0x5c5175]['type'],'msg':_0x16ec2d['data']['errors'][_0x5c5175][_0x1cd3('0x43a')]});}}else{_0x3a2346['error']({'title':_0x16ec2d[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x16ec2d['status']+_0x1cd3('0x436')+_0x16ec2d[_0x1cd3('0xd35')]:'api.cmHopper.update','msg':_0x16ec2d[_0x1cd3('0x439')]?JSON['stringify'](_0x16ec2d[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x16ec2d[_0x1cd3('0x43b')]()});}});});}function _0x2e9a00(_0x158a25){_0x42376f[_0x1cd3('0xd34')]=[];var _0x5109b5=_0x5512f0[_0x1cd3('0xd39')]()['title'](_0x1cd3('0xd3a'))[_0x1cd3('0xd3b')]('The\x20hopper\x20will\x20be\x20deleted.')[_0x1cd3('0xd3d')](_0x1cd3('0x1dd6'))['ok'](_0x1cd3('0xd3f'))[_0x1cd3('0x4d8')](_0x1cd3('0x674'))[_0x1cd3('0xd63')](_0x158a25);_0x5512f0[_0x1cd3('0x37e')](_0x5109b5)['then'](function(){_0x412285[_0x1cd3('0xb47')]['delete']({'id':_0x42376f[_0x1cd3('0x1466')]['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x42376f[_0x1cd3('0x1463')],{'id':_0x42376f[_0x1cd3('0x1466')]['id']});_0x3a2346[_0x1cd3('0x473')]({'title':_0x1cd3('0x146c'),'msg':(_0x42376f[_0x1cd3('0x1466')][_0x1cd3('0x98')]||_0x1cd3('0x1466'))+_0x1cd3('0xd41')});_0x11dddd(_0x42376f[_0x1cd3('0x1466')]);})['catch'](function(_0x3b1d1d){if(_0x3b1d1d[_0x1cd3('0x439')]&&_0x3b1d1d[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x3b1d1d[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x42376f['errors']=_0x3b1d1d['data'][_0x1cd3('0xd34')]||[{'message':_0x3b1d1d[_0x1cd3('0x43b')](),'type':_0x1cd3('0x146d')}];for(var _0x432105=0x0;_0x432105<_0x3b1d1d[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0x432105++){_0x3a2346['error']({'title':_0x3b1d1d[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x432105][_0x1cd3('0x424')],'msg':_0x3b1d1d[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x432105][_0x1cd3('0x43a')]});}}else{_0x3a2346[_0x1cd3('0x434')]({'title':_0x3b1d1d[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x3b1d1d['status']+'\x20-\x20'+_0x3b1d1d['statusText']:_0x1cd3('0x146d'),'msg':_0x3b1d1d['data']?JSON['stringify'](_0x3b1d1d[_0x1cd3('0x439')]['message']):_0x3b1d1d['message']||_0x3b1d1d[_0x1cd3('0x43b')]()});}});},function(){});}function _0x3e9a9c(_0x57ea46){return _0x57ea46===null?undefined:new Date(_0x57ea46);}function _0x11dddd(_0x48ab5e){_0x5512f0[_0x1cd3('0x39d')](_0x48ab5e);}}}());(function(){'use strict';_0x2b57f9['$inject']=[_0x1cd3('0x370'),_0x1cd3('0x461')];angular[_0x1cd3('0x0')](_0x1cd3('0x36'))[_0x1cd3('0x39b')](_0x1cd3('0x1dd7'),_0x2b57f9);function _0x2b57f9(_0x4cef52,_0x185b40){var _0x476768=this;_0x476768[_0x1cd3('0x1d60')]={};_0x476768[_0x1cd3('0xe08')]=_0x2a0afb;function _0x2a0afb(_0x17c697){_0x476768[_0x1cd3('0x1d60')]=_0x17c697;_0x4cef52[_0x1cd3('0xb47')][_0x1cd3('0x361')]({'limit':0x0,'CampaignId':_0x17c697['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x411c82){_0x476768['total']=_0x411c82[_0x1cd3('0x466')]||0x0;return _0x4cef52[_0x1cd3('0xb47')]['get']({'limit':0x0,'CampaignId':_0x17c697['id'],'active':![],'countbusyretry':0x0,'countcongestionretry':0x0,'countnoanswerretry':0x0})['$promise'];})['then'](function(_0x5ca41e){_0x476768['fresh']=_0x5ca41e['count']||0x0;return _0x4cef52[_0x1cd3('0xb4d')][_0x1cd3('0x361')]({'limit':0x0,'CampaignId':_0x17c697['id']})['$promise'];})['then'](function(_0x3c9179){_0x476768[_0x1cd3('0x1586')]=_0x3c9179[_0x1cd3('0x466')]||0x0;})['catch'](function(_0x430426){_0x185b40[_0x1cd3('0x434')]({'title':_0x430426[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x430426[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x430426[_0x1cd3('0xd35')]:_0x1cd3('0x19cf'),'msg':_0x430426[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x430426[_0x1cd3('0x439')]):_0x430426[_0x1cd3('0x43b')]()});});}}}());(function(){'use strict';_0x45cc7e[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),'$q',_0x1cd3('0x461'),'api',_0x1cd3('0x1d60'),_0x1cd3('0x3f7'),_0x1cd3('0x3e7'),'Auth',_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x36'))[_0x1cd3('0x39b')](_0x1cd3('0x1dd8'),_0x45cc7e);function _0x45cc7e(_0x36aa4c,_0x302b52,_0xf14fbe,_0x3fe681,_0x2769ae,_0x1d443e,_0xaa2300,_0x1a5e88,_0x599bd9){var _0xd80133=this;_0xd80133['currentUser']=_0x1a5e88[_0x1cd3('0x5d')]();_0xd80133[_0x1cd3('0x1d60')]=_0x2769ae;_0xd80133[_0x1cd3('0xd27')]=_0x599bd9;_0xd80133[_0x1cd3('0x1873')]=_0x1cd3('0xc69');_0xd80133['getApi']='getLists';_0xd80133['addApi']=_0x1cd3('0x1dd9');_0xd80133[_0x1cd3('0x1d72')]='removeLists';_0xd80133[_0x1cd3('0x493')]=[];_0xd80133[_0x1cd3('0x11ba')]=[];_0xd80133['selectedItems']=[];_0xd80133[_0x1cd3('0x11bb')]=[];_0xd80133[_0x1cd3('0x11be')]=[];_0xd80133[_0x1cd3('0x11c6')]=![];_0xd80133[_0x1cd3('0x1d74')]=![];_0xd80133[_0x1cd3('0x1145')]={'readOnly':!_0xd80133[_0x1cd3('0xd27')]['canEdit'],'allowedItems':[],'selectedItems':[],'showSelectAndDeselectAll':![],'orderBy':_0x1cd3('0x98'),'line1':'name','line2':'','line3':'','labelAll':_0x1d443e['instant'](_0x1cd3('0x1d75')),'labelSelected':_0x1d443e[_0x1cd3('0x44a')](_0x1cd3('0x1d76')),'transferCallback':function(_0x535b2c,_0x47c378){var _0x2189bb=_[_0x1cd3('0x11c8')](_0xd80133['startingSelectedItems'],_0xd80133[_0x1cd3('0x492')],'id');_0xd80133[_0x1cd3('0x11c6')]=_['isEmpty'](_0x2189bb)?![]:!![];}};_0xd80133[_0x1cd3('0x703')]=_0xb26e9b;_0xd80133[_0x1cd3('0x1d77')]=_0x2d96d4;_0xd80133[_0x1cd3('0x39c')]=_0x529e14;function _0xb26e9b(){return _0x1a5e88[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x19e99a()['catch'](function(_0xd63b40){_0xf14fbe['error']({'title':_0xd63b40[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0xd63b40[_0x1cd3('0x3a6')]+'\x20-\x20'+_0xd63b40['statusText']:'SYSTEM:GETLISTS','msg':_0xd63b40[_0x1cd3('0x3a6')]?JSON[_0x1cd3('0x438')](_0xd63b40['data']):_0xd63b40[_0x1cd3('0x43b')]()});}):_0x2868a3()[_0x1cd3('0x77')](function(_0x48971b){_0xd80133[_0x1cd3('0xd58')]=_0x48971b;return _0x19e99a();})['catch'](function(_0x45ece5){_0xf14fbe[_0x1cd3('0x434')]({'title':_0x45ece5['status']?'API:'+_0x45ece5[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x45ece5[_0x1cd3('0xd35')]:_0x1cd3('0x1d78'),'msg':_0x45ece5[_0x1cd3('0x3a6')]?JSON[_0x1cd3('0x438')](_0x45ece5[_0x1cd3('0x439')]):_0x45ece5[_0x1cd3('0x43b')]()});});}function _0x2868a3(){return _0x302b52(function(_0x332dff,_0x177aad){_0x3fe681[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0xd80133[_0x1cd3('0x3ca')]['userProfileId'],'name':_0x1cd3('0xf4')})['$promise'][_0x1cd3('0x77')](function(_0x89a569){var _0x35347c=_0x89a569&&_0x89a569[_0x1cd3('0xf6')]?_0x89a569[_0x1cd3('0xf6')][0x0]:null;_0x332dff(_0x35347c);})['catch'](function(_0x32e1f6){_0x177aad(_0x32e1f6);});});}function _0x19e99a(){return _0x302b52(function(_0xc6931d,_0x4992d7){return _0xdbfc60()[_0x1cd3('0x77')](function(_0x26e756){_0xd80133['items']=_0x26e756[_0x1cd3('0xf6')]?_0x26e756[_0x1cd3('0xf6')]:[];if(_0x1a5e88[_0x1cd3('0x57')](_0x1cd3('0x5f'))){return _0x26e756;}else{if(_0xd80133[_0x1cd3('0xd58')]){return _0xd80133['section'][_0x1cd3('0x391')]?_0x26e756:_0x543c6e();}else{return null;}}})[_0x1cd3('0x77')](function(_0x5234d0){var _0x536d87=_0x5234d0&&_0x5234d0[_0x1cd3('0xf6')]?_0x5234d0[_0x1cd3('0xf6')]:[];_0xd80133[_0x1cd3('0x11ba')]=_[_0x1cd3('0x3d9')](_0x536d87,function(_0x55bfca){return _[_0x1cd3('0x442')](_0xd80133[_0x1cd3('0x493')],{'id':_0x1a5e88['hasRole'](_0x1cd3('0x5f'))||_0xd80133[_0x1cd3('0xd58')][_0x1cd3('0x391')]?_0x55bfca['id']:_0x55bfca[_0x1cd3('0xe8e')]});});_0xd80133[_0x1cd3('0x11bb')]=angular[_0x1cd3('0x429')](_0xd80133[_0x1cd3('0x11ba')]);_0xd80133[_0x1cd3('0x493')][_0x1cd3('0x394')](function(_0x341c3d){var _0x2b68bf=_['find'](_0xd80133[_0x1cd3('0x11ba')],{'id':_0x341c3d['id']});if(_0xd80133['currentUser'][_0x1cd3('0x388')]===_0x1cd3('0x5f')){_0x341c3d[_0x1cd3('0x490')]=!![];}else{_0x341c3d['isValid']=typeof _0x2b68bf!==_0x1cd3('0x491')?!![]:![];}});return _0x11d3b8();})[_0x1cd3('0x77')](function(_0x38763d){var _0x4211ef=_0x38763d&&_0x38763d[_0x1cd3('0xf6')]?_0x38763d['rows']:[];_0xd80133[_0x1cd3('0x492')]=_[_0x1cd3('0x3d9')](_0x4211ef,function(_0x343321){return _[_0x1cd3('0x442')](_0xd80133[_0x1cd3('0x493')],{'id':_0x343321['id']});});_0xd80133[_0x1cd3('0x11be')]=angular[_0x1cd3('0x429')](_0xd80133[_0x1cd3('0x492')]);_0xd80133[_0x1cd3('0x1145')][_0x1cd3('0x492')]=_0xd80133['selectedItems'];_0xd80133[_0x1cd3('0x1145')][_0x1cd3('0x493')]=_[_0x1cd3('0x1152')](_0xd80133[_0x1cd3('0x11ba')],_0xd80133[_0x1cd3('0x1145')][_0x1cd3('0x492')],'id');_0xc6931d();})[_0x1cd3('0xfd')](function(_0x5089db){_0x4992d7(_0x5089db);});});}function _0x543c6e(){return _0x302b52(function(_0x6d499b,_0x22d137){return _0x3fe681[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0xd80133[_0x1cd3('0xd58')]['id'],'nolimit':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x204862){_0x6d499b(_0x204862);})[_0x1cd3('0xfd')](function(_0x4205fb){_0x22d137(_0x4205fb);});});}function _0x11d3b8(){return _0x302b52(function(_0x363e32,_0x117729){return _0x3fe681[_0xd80133[_0x1cd3('0x1873')]][_0xd80133[_0x1cd3('0x1d71')]]({'id':_0xd80133[_0x1cd3('0x1d60')]['id'],'fields':_0x1cd3('0xa6'),'nolimit':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x437891){_0x363e32(_0x437891);})['catch'](function(_0x1e9be7){_0x117729(_0x1e9be7);});});}function _0xdbfc60(){return _0x302b52(function(_0x442e54,_0x569971){return _0x3fe681[_0x1cd3('0xc8f')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'nolimit':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x1c1567){_0x442e54(_0x1c1567);})[_0x1cd3('0xfd')](function(_0x1be25d){_0x569971(_0x1be25d);});});}function _0x528143(_0x36b9a2){return _0x302b52(function(_0x5d3c1b,_0x2f6ff4){if(_[_0x1cd3('0x398')](_0x36b9a2)){_0x5d3c1b();}else{_0x3fe681[_0xd80133['apiRoute']][_0xd80133[_0x1cd3('0x1d79')]]({'id':_0xd80133[_0x1cd3('0x1d60')]['id'],'ids':_['map'](_0x36b9a2,'id')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x5d3c1b();})[_0x1cd3('0xfd')](function(_0x12b971){_0x2f6ff4(_0x12b971);});}});}function _0x244de8(_0x5e47d7){return _0x302b52(function(_0x116c57,_0x240ca2){if(_[_0x1cd3('0x398')](_0x5e47d7)){_0x116c57();}else{_0x3fe681[_0xd80133['apiRoute']][_0xd80133[_0x1cd3('0x1d72')]]({'id':_0xd80133['ivrCampaign']['id'],'ids':_[_0x1cd3('0x3d9')](_0x5e47d7,'id')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x116c57();})[_0x1cd3('0xfd')](function(_0x3485c4){_0x240ca2(_0x3485c4);});}});}function _0x2d96d4(){_0xd80133[_0x1cd3('0x1d74')]=!![];var _0x5a6eee=_[_0x1cd3('0x1152')](_0xd80133[_0x1cd3('0x11be')],_0xd80133[_0x1cd3('0x492')],'id');var _0xf57109=_[_0x1cd3('0x1152')](_0xd80133[_0x1cd3('0x492')],_0xd80133[_0x1cd3('0x11be')],'id');return _0x244de8(_0x5a6eee)[_0x1cd3('0x77')](function(){return _0x528143(_0xf57109);})[_0x1cd3('0x77')](function(){_0xd80133[_0x1cd3('0x11c6')]=![];_0xd80133['startingAllowedItems']=angular[_0x1cd3('0x429')](_0xd80133[_0x1cd3('0x11ba')]);_0xd80133[_0x1cd3('0x11be')]=angular[_0x1cd3('0x429')](_0xd80133[_0x1cd3('0x492')]);_0xf14fbe[_0x1cd3('0x473')]({'title':'SUCCESS','msg':_0x1cd3('0x1d7a')});})['catch'](function(_0x1c899f){_0xf14fbe[_0x1cd3('0x434')]({'title':_0x1c899f['status']?_0x1cd3('0x435')+_0x1c899f['status']+_0x1cd3('0x436')+_0x1c899f[_0x1cd3('0xd35')]:_0x1cd3('0x11ce'),'msg':_0x1c899f[_0x1cd3('0x3a6')]?JSON['stringify'](_0x1c899f[_0x1cd3('0x439')]):_0x1c899f[_0x1cd3('0x43b')]()});})[_0x1cd3('0x5dd')](function(){_0xd80133[_0x1cd3('0x1d74')]=![];});;}function _0x529e14(){_0x36aa4c[_0x1cd3('0x39d')]();}}}());(function(){'use strict';_0x459ef3[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x3c5'),_0x1cd3('0x461'),_0x1cd3('0x370'),'ivrCampaign',_0x1cd3('0x1dda'),_0x1cd3('0x1ddb'),'$q'];angular[_0x1cd3('0x0')](_0x1cd3('0x36'))[_0x1cd3('0x39b')](_0x1cd3('0x1ddc'),_0x459ef3);function _0x459ef3(_0x4c0042,_0x1fd6c7,_0xb13cad,_0x763e45,_0x54007e,_0x141826,_0x4cd570,_0x48c75a){var _0x37c1ca=this;var _0x22e38c=[];_0x37c1ca[_0x1cd3('0x1ddd')]=[];_0x37c1ca[_0x1cd3('0x493')]=_0x141826?_0x141826:[];_0x37c1ca[_0x1cd3('0x1d74')]=![];_0x37c1ca[_0x1cd3('0x39c')]=_0x509886;_0x37c1ca[_0x1cd3('0x1dde')]=_0x30a1b5;_0x37c1ca[_0x1cd3('0x1ddf')]=_0x1fe829;_0x37c1ca[_0x1cd3('0x1de0')]=_0x3b6baf;_0x37c1ca[_0x1cd3('0x1de1')]=_0x531840;_0x37c1ca['toggleAll']=_0x466a76;_0x37c1ca['listSelected']=_0x2c7d23;function _0x1fe829(_0xe1a3f1,_0x28dc81){var _0x58d937=_0x28dc81[_0x1cd3('0x45e')](_0xe1a3f1);if(_0x58d937>-0x1){_0x28dc81[_0x1cd3('0x446')](_0x58d937,0x1);}else{_0x28dc81[_0x1cd3('0x7b')](_0xe1a3f1);}}function _0x30a1b5(_0x154b14,_0x38e965){return _0x38e965[_0x1cd3('0x45e')](_0x154b14)>-0x1;}function _0x3b6baf(){return _0x37c1ca['selected'][_0x1cd3('0x7a')]!==0x0&&_0x37c1ca[_0x1cd3('0x1ddd')][_0x1cd3('0x7a')]!==_0x37c1ca['items'][_0x1cd3('0x7a')];}function _0x531840(){return _0x37c1ca['selected'][_0x1cd3('0x7a')]===_0x37c1ca[_0x1cd3('0x493')][_0x1cd3('0x7a')];}function _0x466a76(){if(_0x37c1ca[_0x1cd3('0x1ddd')][_0x1cd3('0x7a')]===_0x37c1ca['items'][_0x1cd3('0x7a')]){_0x37c1ca[_0x1cd3('0x1ddd')]=[];}else if(_0x37c1ca['selected'][_0x1cd3('0x7a')]===0x0||_0x37c1ca[_0x1cd3('0x1ddd')][_0x1cd3('0x7a')]>0x0){_0x37c1ca[_0x1cd3('0x1ddd')]=_0x37c1ca[_0x1cd3('0x493')]['slice'](0x0);}}function _0x509886(){_0x1fd6c7[_0x1cd3('0x39d')]();}function _0x2c7d23(){_0x37c1ca[_0x1cd3('0x1d74')]=!![];var _0x11ca73=_0xc22cb8();_0x11ca73[_0x1cd3('0x5dd')](function(){_0x37c1ca[_0x1cd3('0x1d74')]=![];_0x509886();});}function _0xc22cb8(){return _0x48c75a(function(_0x3f777a,_0x15549f){for(var _0x36c781=0x0;_0x36c781<_0x37c1ca[_0x1cd3('0x1ddd')][_0x1cd3('0x7a')];_0x36c781+=0x1){_0x1dd2af(_0x54007e['id'],_0x37c1ca[_0x1cd3('0x1ddd')][_0x36c781]);}_0x76455e(_0x3f777a);});}function _0x1dd2af(_0x427009,_0x12163f){var _0x2232e1=_0x12163f['id'];_0x4cd570[_0x1cd3('0x1de2')](function(){return _0x763e45[_0x1cd3('0xc69')][_0x1cd3('0x1de3')]({'id':_0x427009,'ids':_0x2232e1})[_0x1cd3('0x81')]['then'](function(){return _0x763e45['campaign'][_0x1cd3('0x1dd9')]({'id':_0x427009,'ids':_0x2232e1,'dialCheckDuplicateType':_0x1cd3('0x1de4')})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(){_0xb13cad['success']({'title':'Reset\x20Succesfull','msg':'List\x20'+_0x12163f[_0x1cd3('0x98')]+_0x1cd3('0x1de5')});})[_0x1cd3('0xfd')](function(_0x212a45){_0xb13cad[_0x1cd3('0x434')]({'title':_0x212a45[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x212a45['status']+_0x1cd3('0x436')+_0x212a45[_0x1cd3('0xd35')]:_0x1cd3('0x1de6'),'msg':_0x212a45[_0x1cd3('0x3a6')]?JSON[_0x1cd3('0x438')](_0x212a45[_0x1cd3('0x439')]):_0x212a45[_0x1cd3('0x43b')]()});});});}function _0x76455e(_0x7539a9){_0x4cd570[_0x1cd3('0x1de2')](function(){return _0x7539a9();});}}}());(function(){'use strict';_0x5241f5[_0x1cd3('0xc')]=[_0x1cd3('0x53e'),'$location',_0x1cd3('0x3c5'),_0x1cd3('0x372'),_0x1cd3('0x3f7'),'license',_0x1cd3('0xc49'),_0x1cd3('0x370'),'toasty',_0x1cd3('0x56'),_0x1cd3('0x1d60'),_0x1cd3('0x390')];angular[_0x1cd3('0x0')](_0x1cd3('0x36'))[_0x1cd3('0x39b')](_0x1cd3('0x1de7'),_0x5241f5);function _0x5241f5(_0x38dae2,_0xaa7df,_0x25a119,_0x502050,_0x171eec,_0x4d79b8,_0x2d7613,_0x45f5f9,_0x344e3b,_0x4b9c00,_0x15ff9f,_0x32e227){var _0x46bfd7=this;_0x46bfd7[_0x1cd3('0x3ca')]=_0x4b9c00[_0x1cd3('0x5d')]();_0x46bfd7[_0x1cd3('0x463')]=_0x4d79b8;_0x46bfd7[_0x1cd3('0xc49')]=_0x2d7613;_0x46bfd7[_0x1cd3('0xd29')]=_0x46bfd7[_0x1cd3('0xc49')]['securePassword']?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x46bfd7[_0x1cd3('0xd22')]=_0xaa7df['protocol']()+'://'+_0xaa7df[_0x1cd3('0x3ac')]();_0x46bfd7[_0x1cd3('0x1d60')]=_0x15ff9f||_0x38dae2[_0x1cd3('0x36a')][_0x1cd3('0x1d60')]||{};_0x46bfd7[_0x1cd3('0x390')]=_0x32e227&&_0x32e227[_0x1cd3('0x466')]==0x1?_0x32e227[_0x1cd3('0xf6')][0x0]:null;_0x46bfd7[_0x1cd3('0xd27')]=_0x4b9c00['parseCrudPermissions'](_0x46bfd7[_0x1cd3('0x390')]?_0x46bfd7[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);_0x46bfd7[_0x1cd3('0xd28')]={};_0x46bfd7[_0x1cd3('0xe5f')]=_0x38dae2['params'][_0x1cd3('0x1418')]||0x0;_0x46bfd7[_0x1cd3('0x1c48')]=_0x2cfa9d;_0x46bfd7[_0x1cd3('0x1de8')]=_0x4d6371;_0x46bfd7[_0x1cd3('0x1de9')]=_0x59f8d3;_0x46bfd7[_0x1cd3('0x1dea')]=_0x3f01f2;_0x46bfd7[_0x1cd3('0x1419')]=_0x56cdb9;_0x46bfd7[_0x1cd3('0x11d0')]=_0x344e3b[_0x1cd3('0x654')];_0x46bfd7[_0x1cd3('0x1deb')]=_0x262b89;_0x46bfd7['saveIvrCampaign']=_0x2c288f;_0x4b9c00['hasRole'](_0x1cd3('0x5f'))?_0x45f5f9[_0x1cd3('0x18e7')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98')})[_0x1cd3('0x81')]['then'](function(_0x1212a9){_0x46bfd7[_0x1cd3('0xef5')]=_0x1212a9['rows']||[];})[_0x1cd3('0xfd')](function(_0x2b99ae){_0x344e3b[_0x1cd3('0x434')]({'title':_0x2b99ae['status']?_0x1cd3('0x435')+_0x2b99ae[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x2b99ae['statusText']:_0x1cd3('0x18e6'),'msg':_0x2b99ae[_0x1cd3('0x439')]?JSON['stringify'](_0x2b99ae[_0x1cd3('0x439')]):_0x2b99ae[_0x1cd3('0x43b')]()});}):_0x45f5f9[_0x1cd3('0x18e7')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98')})[_0x1cd3('0x81')]['then'](function(_0x1514d5){_0x46bfd7['trunks']=_0x1514d5['rows']||[];})['then'](function(){return _0x45f5f9['userProfileSection'][_0x1cd3('0x361')]({'userProfileId':_0x46bfd7[_0x1cd3('0x3ca')]['userProfileId'],'sectionId':0x3f3})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x19f681){var _0x299bcc=_0x19f681&&_0x19f681['rows']?_0x19f681['rows'][0x0]:null;if(!_0x299bcc){_0x46bfd7[_0x1cd3('0xef5')]=[];}else{if(!_0x299bcc[_0x1cd3('0x391')]){return _0x45f5f9[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x299bcc['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x386876){var _0xdf4ea6=_[_0x1cd3('0x3d9')](_0x386876['rows'],function(_0x1037da){return _[_0x1cd3('0x442')](_0x46bfd7[_0x1cd3('0xef5')],{'id':_0x1037da[_0x1cd3('0xe8e')]});});_0x46bfd7[_0x1cd3('0xef5')][_0x1cd3('0x394')](function(_0x1b5e67){if(!_[_0x1cd3('0x38d')](_0xdf4ea6,['id',_0x1b5e67['id']])){_0x1b5e67[_0x1cd3('0xf4a')]=![];}_0xdf4ea6[_0x1cd3('0x7b')](_0x1b5e67);});_0x46bfd7[_0x1cd3('0xef5')]=_0xdf4ea6;});}}})['catch'](function(_0x14254a){_0x344e3b['error']({'title':_0x14254a[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x14254a['status']+'\x20-\x20'+_0x14254a[_0x1cd3('0xd35')]:'SYSTEM:GETtrunks','msg':_0x14254a['data']?JSON[_0x1cd3('0x438')](_0x14254a['data']):_0x14254a[_0x1cd3('0x43b')]()});});_0x4b9c00['hasRole'](_0x1cd3('0x5f'))?_0x45f5f9[_0x1cd3('0xc55')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x371fe2){_0x46bfd7[_0x1cd3('0xeda')]=_0x371fe2['rows']||[];})['catch'](function(_0x5b08b3){_0x344e3b[_0x1cd3('0x434')]({'title':_0x5b08b3[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x5b08b3[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x5b08b3[_0x1cd3('0xd35')]:_0x1cd3('0x1dec'),'msg':_0x5b08b3[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x5b08b3[_0x1cd3('0x439')]):_0x5b08b3[_0x1cd3('0x43b')]()});}):_0x45f5f9[_0x1cd3('0xc55')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98')})['$promise'][_0x1cd3('0x77')](function(_0x588da8){_0x46bfd7[_0x1cd3('0xeda')]=_0x588da8[_0x1cd3('0xf6')]||[];})['then'](function(){return _0x45f5f9[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x46bfd7[_0x1cd3('0x3ca')]['userProfileId'],'sectionId':0x44f})['$promise'];})['then'](function(_0x5df07e){var _0x2d64bc=_0x5df07e&&_0x5df07e['rows']?_0x5df07e[_0x1cd3('0xf6')][0x0]:null;if(!_0x2d64bc){var _0x13ef83=[];var _0x40da09=null;if(_0x46bfd7[_0x1cd3('0x1d60')]){_0x40da09=_[_0x1cd3('0x442')](_0x46bfd7[_0x1cd3('0xeda')],{'id':Number(_0x46bfd7[_0x1cd3('0x1d60')][_0x1cd3('0x1d68')])});}for(var _0x19cb1e=0x0;_0x19cb1e<_0x46bfd7['projects'][_0x1cd3('0x7a')];_0x19cb1e++){if(_0x40da09&&_0x46bfd7[_0x1cd3('0xeda')][_0x19cb1e]['id']===_0x40da09['id']){_0x46bfd7[_0x1cd3('0xeda')][_0x19cb1e][_0x1cd3('0xf4a')]=![];_0x13ef83['push'](_0x46bfd7['projects'][_0x19cb1e]);}}_0x46bfd7[_0x1cd3('0xeda')]=_0x13ef83;}else{if(!_0x2d64bc[_0x1cd3('0x391')]){return _0x45f5f9[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x2d64bc['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x3a2701){var _0xb34ee2=_[_0x1cd3('0x3d9')](_0x3a2701['rows'],function(_0x1b1ba0){return _['find'](_0x46bfd7[_0x1cd3('0xeda')],{'id':_0x1b1ba0[_0x1cd3('0xe8e')]});});var _0x2ae134=null;if(_0x46bfd7['ivrCampaign']){_0x2ae134=_[_0x1cd3('0x442')](_0x46bfd7[_0x1cd3('0xeda')],{'id':Number(_0x46bfd7['ivrCampaign'][_0x1cd3('0x1d68')])});}if(_0x2ae134&&!_['some'](_0xb34ee2,['id',_0x2ae134['id']])){var _0x2769d7=_[_0x1cd3('0x442')](_0x46bfd7[_0x1cd3('0xeda')],{'id':_0x2ae134['id']});_0x2769d7[_0x1cd3('0xf4a')]=![];_0xb34ee2[_0x1cd3('0x7b')](_0x2769d7);}_0x46bfd7[_0x1cd3('0xeda')]=_0xb34ee2;});}}})[_0x1cd3('0xfd')](function(_0x35916f){_0x344e3b[_0x1cd3('0x434')]({'title':_0x35916f[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x35916f[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x35916f['statusText']:_0x1cd3('0x1d69'),'msg':_0x35916f['data']?JSON[_0x1cd3('0x438')](_0x35916f[_0x1cd3('0x439')]):_0x35916f[_0x1cd3('0x43b')]()});});_0x4b9c00[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x45f5f9[_0x1cd3('0x77e')][_0x1cd3('0x361')]({'fields':'id,name','sort':_0x1cd3('0x98'),'IntervalId':_0x1cd3('0x220')})['$promise']['then'](function(_0x42f46a){_0x46bfd7[_0x1cd3('0x77e')]=_0x42f46a[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x1fe2a8){_0x344e3b[_0x1cd3('0x434')]({'title':_0x1fe2a8[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x1fe2a8[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x1fe2a8[_0x1cd3('0xd35')]:_0x1cd3('0x11f4'),'msg':_0x1fe2a8[_0x1cd3('0x439')]?JSON['stringify'](_0x1fe2a8['data']):_0x1fe2a8[_0x1cd3('0x43b')]()});}):_0x45f5f9[_0x1cd3('0x77e')]['get']({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'IntervalId':_0x1cd3('0x220')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x393e10){_0x46bfd7['interval']=_0x393e10['rows']||[];})[_0x1cd3('0x77')](function(){return _0x45f5f9['userProfileSection'][_0x1cd3('0x361')]({'userProfileId':_0x46bfd7[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x3ec})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x17af9f){var _0x3e1dd3=_0x17af9f&&_0x17af9f[_0x1cd3('0xf6')]?_0x17af9f[_0x1cd3('0xf6')][0x0]:null;if(!_0x3e1dd3){var _0x2b4ea2=[];var _0x482ca2=null;if(_0x46bfd7[_0x1cd3('0x1d60')]){_0x482ca2=_[_0x1cd3('0x442')](_0x46bfd7['interval'],{'id':Number(_0x46bfd7[_0x1cd3('0x1d60')][_0x1cd3('0xf4b')])});}for(var _0x581a91=0x0;_0x581a91<_0x46bfd7[_0x1cd3('0x77e')][_0x1cd3('0x7a')];_0x581a91++){if(_0x482ca2&&_0x46bfd7['interval'][_0x581a91]['id']===_0x482ca2['id']){_0x46bfd7['interval'][_0x581a91][_0x1cd3('0xf4a')]=![];_0x2b4ea2[_0x1cd3('0x7b')](_0x46bfd7[_0x1cd3('0x77e')][_0x581a91]);}}_0x46bfd7[_0x1cd3('0x77e')]=_0x2b4ea2;}else{if(!_0x3e1dd3[_0x1cd3('0x391')]){return _0x45f5f9[_0x1cd3('0x392')]['get']({'sectionId':_0x3e1dd3['id']})['$promise'][_0x1cd3('0x77')](function(_0x21933f){var _0x46374f=_['map'](_0x21933f[_0x1cd3('0xf6')],function(_0x135952){return _[_0x1cd3('0x442')](_0x46bfd7[_0x1cd3('0x77e')],{'id':_0x135952[_0x1cd3('0xe8e')]});});var _0x338fe5=null;if(_0x46bfd7[_0x1cd3('0x1d60')]){_0x338fe5=_[_0x1cd3('0x442')](_0x46bfd7[_0x1cd3('0x77e')],{'id':Number(_0x46bfd7['ivrCampaign'][_0x1cd3('0xf4b')])});}if(_0x338fe5&&!_[_0x1cd3('0x38d')](_0x46374f,['id',_0x338fe5['id']])){var _0x4809d9=_[_0x1cd3('0x442')](_0x46bfd7[_0x1cd3('0x77e')],{'id':_0x338fe5['id']});_0x4809d9[_0x1cd3('0xf4a')]=![];_0x46374f[_0x1cd3('0x7b')](_0x4809d9);}_0x46bfd7[_0x1cd3('0x77e')]=_0x46374f;});}}})[_0x1cd3('0xfd')](function(_0x394c9d){_0x344e3b['error']({'title':_0x394c9d[_0x1cd3('0x3a6')]?'API:'+_0x394c9d[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x394c9d[_0x1cd3('0xd35')]:_0x1cd3('0x11f5'),'msg':_0x394c9d[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x394c9d[_0x1cd3('0x439')]):_0x394c9d['toString']()});});function _0x2cfa9d(_0x3bdfed,_0x4a3a7d){_0x25a119[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1d7b'),'controllerAs':'vm','templateUrl':'app/main/apps/motiondialer/views/ivrCampaigns/edit/clone/clone.html','parent':angular[_0x1cd3('0x37f')](_0x502050[_0x1cd3('0x380')]),'targetEvent':_0x4a3a7d,'clickOutsideToClose':!![],'locals':{'ivrCampaign':_0x3bdfed,'ivrCampaigns':_0x46bfd7['ivrCampaigns']?_0x46bfd7[_0x1cd3('0x1d5f')][_0x1cd3('0xf6')]:[],'crudPermissions':_0x46bfd7[_0x1cd3('0xd27')]}});}function _0x4d6371(_0x2b3c97,_0x19bb62){_0x25a119[_0x1cd3('0x37e')]({'controller':'IvrCampaignlistaddController','controllerAs':'vm','templateUrl':'app/main/apps/motiondialer/views/ivrCampaigns/edit/listadd/listadd.html','parent':angular[_0x1cd3('0x37f')](_0x502050['body']),'targetEvent':_0x19bb62,'clickOutsideToClose':!![],'locals':{'ivrCampaign':_0x2b3c97,'ivrCampaigns':_0x46bfd7['ivrCampaigns']?_0x46bfd7[_0x1cd3('0x1d5f')][_0x1cd3('0xf6')]:[],'crudPermissions':_0x46bfd7[_0x1cd3('0xd27')]}});}function _0x59f8d3(_0x4cac67,_0x1690e7){_0x25a119[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1ded'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1dee'),'parent':angular['element'](_0x502050['body']),'targetEvent':_0x1690e7,'clickOutsideToClose':!![],'locals':{'ivrCampaign':_0x4cac67,'ivrCampaigns':_0x46bfd7[_0x1cd3('0x1d5f')]?_0x46bfd7[_0x1cd3('0x1d5f')][_0x1cd3('0xf6')]:[],'crudPermissions':_0x46bfd7[_0x1cd3('0xd27')]}});}function _0x2b4939(_0x48cdfb,_0x4cf7fa){var _0x456b49=_0x4cf7fa['id'];_0x45f5f9[_0x1cd3('0xc69')][_0x1cd3('0x1de3')]({'id':_0x48cdfb,'ids':_0x456b49})[_0x1cd3('0x81')]['then'](function(){return _0x45f5f9[_0x1cd3('0xc69')]['addLists']({'id':_0x48cdfb,'ids':_0x456b49,'dialCheckDuplicateType':_0x1cd3('0x1de4')})[_0x1cd3('0x81')];})['then'](function(){_0x344e3b[_0x1cd3('0x473')]({'title':'Reset\x20Succesfull','msg':_0x1cd3('0x1def')+_0x4cf7fa[_0x1cd3('0x98')]+'\x20has\x20been\x20reset'});})[_0x1cd3('0xfd')](function(_0x134569){_0x344e3b[_0x1cd3('0x434')]({'title':_0x134569[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x134569[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x134569[_0x1cd3('0xd35')]:_0x1cd3('0x1df0'),'msg':_0x134569[_0x1cd3('0x3a6')]?JSON[_0x1cd3('0x438')](_0x134569[_0x1cd3('0x439')]):_0x134569[_0x1cd3('0x43b')]()});});}function _0x3f01f2(_0x2aaa5c,_0x3d05d9){_0x45f5f9[_0x1cd3('0xc69')]['getLists']({'id':_0x2aaa5c['id'],'fields':_0x1cd3('0xa6'),'nolimit':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x3e6d63){if(_[_0x1cd3('0x472')](_0x3e6d63[_0x1cd3('0xf6')])||_[_0x1cd3('0x398')](_0x3e6d63[_0x1cd3('0xf6')])){_0x344e3b[_0x1cd3('0x654')]({'title':_0x1cd3('0x1df1')});}else if(_0x3e6d63[_0x1cd3('0xf6')]['length']===0x1){var _0x44cf1a=_0x25a119[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x1df2')+_0x3e6d63[_0x1cd3('0xf6')][0x0][_0x1cd3('0x98')]+'\x20?')[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x3e6d63['rows'][0x0][_0x1cd3('0x98')]+'</b>'+'\x20will\x20be\x20reset.')[_0x1cd3('0xd3d')](_0x1cd3('0x1df3'))[_0x1cd3('0xd63')](_0x3d05d9)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x25a119['show'](_0x44cf1a)[_0x1cd3('0x77')](function(){_0x2b4939(_0x46bfd7[_0x1cd3('0x1d60')]['id'],_0x3e6d63['rows'][0x0]);});}else{_0x25a119[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1ddc'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1df4'),'parent':angular[_0x1cd3('0x37f')](_0x502050[_0x1cd3('0x380')]),'targetEvent':_0x3d05d9,'clickOutsideToClose':![],'locals':{'ivrCampaign':_0x2aaa5c,'listsCampaign':_0x3e6d63?_0x3e6d63[_0x1cd3('0xf6')]:[]}});}})[_0x1cd3('0xfd')](function(_0x4cc410){_0x344e3b[_0x1cd3('0x434')]({'title':_0x4cc410[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x4cc410[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x4cc410[_0x1cd3('0xd35')]:_0x1cd3('0x1df5'),'msg':_0x4cc410['status']?JSON['stringify'](_0x4cc410['data']):_0x4cc410[_0x1cd3('0x43b')]()});});}function _0x56cdb9(_0x560541,_0x41ded0){if(_0x4b9c00[_0x1cd3('0x57')]('admin')){_0x38dae2['go']('app.motiondialer.realtime.ivr_campaigns',{});}else{return _0x45f5f9['userProfileSection'][_0x1cd3('0x361')]({'userProfileId':_0x4b9c00[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x5e6})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0xf4656f){var _0x208079=_0xf4656f&&_0xf4656f[_0x1cd3('0xf6')]?_0xf4656f[_0x1cd3('0xf6')][0x0]:null;if(_0x208079&&_0x208079[_0x1cd3('0x396')]){_0x38dae2['go'](_0x1cd3('0x225'),{});}else{_0x344e3b['info']({'title':_0x171eec['instant']('STAFF.PERMISSIONS_UNAUTHORIZED_REDIRECT_TITLE'),'msg':_0x171eec[_0x1cd3('0x44a')]('STAFF.PERMISSIONS_UNAUTHORIZED_REDIRECT_MESSAGE')});}})['catch'](function(_0x5c8847){_0x344e3b['error']({'title':_0x5c8847[_0x1cd3('0x3a6')]?'API:'+_0x5c8847['status']+_0x1cd3('0x436')+_0x5c8847['statusText']:_0x1cd3('0x11aa'),'msg':_0x5c8847[_0x1cd3('0x3a6')]?JSON[_0x1cd3('0x438')](_0x5c8847[_0x1cd3('0x439')]):_0x5c8847[_0x1cd3('0x43b')]()});});}}function _0x262b89(){_0x38dae2['go'](_0x1cd3('0x203'),{},{'reload':_0x1cd3('0x203')});}function _0x2c288f(){_0x45f5f9[_0x1cd3('0xc69')][_0x1cd3('0x378')]({'id':_0x46bfd7[_0x1cd3('0x1d60')]['id']},_0x46bfd7['ivrCampaign'])[_0x1cd3('0x81')]['then'](function(){_0x344e3b[_0x1cd3('0x473')]({'title':_0x1cd3('0x1df6'),'msg':_0x46bfd7['ivrCampaign'][_0x1cd3('0x98')]?_0x46bfd7[_0x1cd3('0x1d60')][_0x1cd3('0x98')]+'\x20has\x20been\x20updated!':''});})[_0x1cd3('0xfd')](function(_0x2bfe9b){_0x344e3b[_0x1cd3('0x434')]({'title':_0x2bfe9b['status']?_0x1cd3('0x435')+_0x2bfe9b[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x2bfe9b[_0x1cd3('0xd35')]:_0x1cd3('0x1d8e'),'msg':_0x2bfe9b[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x2bfe9b['data']):_0x2bfe9b[_0x1cd3('0x43b')]()});});}}}());(function(){'use strict';_0xbe06e6['$inject']=[_0x1cd3('0x460'),'$window',_0x1cd3('0x53e'),_0x1cd3('0x969'),_0x1cd3('0x3c5'),_0x1cd3('0x372'),'$timeout',_0x1cd3('0x3f7'),'ivrCampaigns',_0x1cd3('0x38a'),_0x1cd3('0x390'),'api',_0x1cd3('0x2dd'),'toasty',_0x1cd3('0x56'),_0x1cd3('0x463'),'setting'];angular[_0x1cd3('0x0')]('app.motiondialer')[_0x1cd3('0x39b')](_0x1cd3('0x1df7'),_0xbe06e6);function _0xbe06e6(_0xc8f585,_0x243684,_0x56308c,_0x54055f,_0x502d70,_0x31559a,_0x27fae4,_0x24fcf9,_0x341e5b,_0x27d287,_0x46b80f,_0x5725bd,_0x14f86f,_0x16e460,_0x3bbb83,_0x34ea60,_0x45f93e){var _0x2109e5=this;_0x2109e5[_0x1cd3('0x463')]=_0x34ea60;_0x2109e5[_0x1cd3('0xc49')]=_0x45f93e;_0x2109e5['currentUser']=_0x3bbb83[_0x1cd3('0x5d')]();_0x2109e5[_0x1cd3('0x1d5f')]=_0x341e5b||{'count':0x0,'rows':[]};_0x2109e5[_0x1cd3('0x38a')]=_0x27d287;_0x2109e5[_0x1cd3('0x390')]=_0x46b80f&&_0x46b80f[_0x1cd3('0x466')]==0x1?_0x46b80f[_0x1cd3('0xf6')][0x0]:null;_0x2109e5[_0x1cd3('0xd27')]=_0x3bbb83[_0x1cd3('0xd44')](_0x2109e5[_0x1cd3('0x390')]?_0x2109e5['userProfileSection'][_0x1cd3('0xd27')]:null);_0x2109e5['table']=_0x1cd3('0x1d5f');_0x2109e5['listOrder']='';_0x2109e5['listOrderAsc']=null;_0x2109e5[_0x1cd3('0x1df8')]=[];_0x2109e5[_0x1cd3('0x3d4')]={'fields':_0x1cd3('0x207'),'type':_0x1cd3('0x208'),'sort':_0x1cd3('0x5b'),'limit':0xa,'page':0x1};_0x2109e5[_0x1cd3('0x1df9')]=_['keyBy']([{'option':'ALWAYS','value':_0x1cd3('0x1d22')},{'option':_0x1cd3('0x1dfa'),'value':'\x27never\x27'},{'option':_0x1cd3('0x1dfb'),'value':_0x1cd3('0x1dfc')}],function(_0x4a3df7){return _[_0x1cd3('0x3f1')](_0x4a3df7['value'],new RegExp('\x27','g'),'');});_0x2109e5[_0x1cd3('0x1dfd')]=_[_0x1cd3('0xe2d')]([{'option':_0x1cd3('0x1dfe'),'value':_0x1cd3('0x1dff')},{'option':_0x1cd3('0xe58'),'value':_0x1cd3('0x1e00')}],function(_0x21a7ae){return _[_0x1cd3('0x3f1')](_0x21a7ae['value'],new RegExp('\x27','g'),'');});_0x2109e5['editstate']=_0x5d1233;_0x2109e5['clonedialog']=_0x59ce11;_0x2109e5['listadddialog']=_0x5f7b64;_0x2109e5['blacklistadddialog']=_0x19f01b;_0x2109e5['deleteconfirm']=_0x287982;_0x2109e5[_0x1cd3('0x119c')]=_0x58b35b;_0x2109e5[_0x1cd3('0x473')]=_0x2c4bff;_0x2109e5['getIvrCampaigns']=_0x1ee2eb;_0x2109e5[_0x1cd3('0x1e01')]=_0x5102b4;_0x2109e5['deleteIvrCampaign']=_0xd01407;_0x2109e5[_0x1cd3('0x1e02')]=_0x1feb9c;_0x2109e5[_0x1cd3('0x1e03')]=_0x5ba389;_0x2109e5[_0x1cd3('0x1e04')]=_0x108544;_0x2109e5[_0x1cd3('0x1e05')]=_0x5be3ae;_0x3bbb83[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x5725bd[_0x1cd3('0x18e7')]['get']({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'table':_0x1cd3('0x2e0')})['$promise'][_0x1cd3('0x77')](function(_0xe189f7){_0x2109e5[_0x1cd3('0xef5')]=_0xe189f7[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x173552){_0x16e460['error']({'title':_0x173552['status']?_0x1cd3('0x435')+_0x173552[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x173552[_0x1cd3('0xd35')]:_0x1cd3('0x18e6'),'msg':_0x173552[_0x1cd3('0x439')]?JSON['stringify'](_0x173552[_0x1cd3('0x439')]):_0x173552[_0x1cd3('0x43b')]()});}):_0x5725bd[_0x1cd3('0x18e7')]['get']({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'table':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x1fa276){_0x2109e5[_0x1cd3('0xef5')]=_0x1fa276[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x5725bd[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x2109e5['currentUser'][_0x1cd3('0x5e')],'sectionId':0x3f3})['$promise'];})[_0x1cd3('0x77')](function(_0x22f4d7){var _0x38f67e=_0x22f4d7&&_0x22f4d7['rows']?_0x22f4d7[_0x1cd3('0xf6')][0x0]:null;if(!_0x38f67e){_0x2109e5[_0x1cd3('0xef5')]=[];}else{if(!_0x38f67e[_0x1cd3('0x391')]){return _0x5725bd[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x38f67e['id']})['$promise'][_0x1cd3('0x77')](function(_0x17eb40){var _0x54888f=_[_0x1cd3('0x3d9')](_0x17eb40[_0x1cd3('0xf6')],function(_0x14138c){return _['find'](_0x2109e5[_0x1cd3('0xef5')],{'id':_0x14138c[_0x1cd3('0xe8e')]});});_0x2109e5[_0x1cd3('0xef5')][_0x1cd3('0x394')](function(_0x3b2643){if(!_[_0x1cd3('0x38d')](_0x54888f,['id',_0x3b2643['id']])){_0x3b2643[_0x1cd3('0xf4a')]=![];}_0x54888f['push'](_0x3b2643);});_0x2109e5[_0x1cd3('0xef5')]=_0x54888f;});}}})[_0x1cd3('0xfd')](function(_0x1dba12){_0x16e460[_0x1cd3('0x434')]({'title':_0x1dba12[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x1dba12['status']+_0x1cd3('0x436')+_0x1dba12[_0x1cd3('0xd35')]:_0x1cd3('0x18e9'),'msg':_0x1dba12[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x1dba12['data']):_0x1dba12['toString']()});});_0x3bbb83[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x5725bd[_0x1cd3('0xc55')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':'name'})['$promise'][_0x1cd3('0x77')](function(_0x3209f9){_0x2109e5[_0x1cd3('0xeda')]=_0x3209f9[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x6d897){_0x16e460['error']({'title':_0x6d897['status']?_0x1cd3('0x435')+_0x6d897[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x6d897[_0x1cd3('0xd35')]:'SYSTEM:GET_PROJECTS','msg':_0x6d897[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x6d897['data']):_0x6d897[_0x1cd3('0x43b')]()});}):_0x5725bd[_0x1cd3('0xc55')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':'name'})['$promise'][_0x1cd3('0x77')](function(_0x2b8703){_0x2109e5[_0x1cd3('0xeda')]=_0x2b8703['rows']||[];})[_0x1cd3('0x77')](function(){return _0x5725bd[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x2109e5[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x44f})['$promise'];})[_0x1cd3('0x77')](function(_0x154fad){var _0x5c49b8=_0x154fad&&_0x154fad[_0x1cd3('0xf6')]?_0x154fad['rows'][0x0]:null;if(!_0x5c49b8){var _0x2689d8=[];var _0x54efa=[];_0x2109e5[_0x1cd3('0x1d5f')]['rows'][_0x1cd3('0x394')](function(_0x581570){var _0x329400=_[_0x1cd3('0x442')](_0x2109e5[_0x1cd3('0xeda')],{'id':Number(_0x581570[_0x1cd3('0x1d68')])});_0x54efa['push'](_0x329400);});for(var _0x34684e=0x0;_0x34684e<_0x2109e5['projects'][_0x1cd3('0x7a')];_0x34684e++){var _0x4ebef7=_[_0x1cd3('0x38d')](_0x54efa,{'id':_0x2109e5[_0x1cd3('0xeda')][_0x34684e]['id']});if(_0x4ebef7){_0x2109e5[_0x1cd3('0xeda')][_0x34684e]['canSelect']=![];_0x2689d8[_0x1cd3('0x7b')](_0x2109e5['projects'][_0x34684e]);}}_0x2109e5[_0x1cd3('0xeda')]=_0x2689d8;}else{if(!_0x5c49b8['autoAssociation']){return _0x5725bd['userProfileResource'][_0x1cd3('0x361')]({'sectionId':_0x5c49b8['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x11459e){var _0x29287a=_[_0x1cd3('0x3d9')](_0x11459e[_0x1cd3('0xf6')],function(_0x3898f1){return _[_0x1cd3('0x442')](_0x2109e5[_0x1cd3('0xeda')],{'id':_0x3898f1['resourceId']});});var _0xec20b5=null;_0xec20b5=[];_0x2109e5[_0x1cd3('0x1d5f')][_0x1cd3('0xf6')][_0x1cd3('0x394')](function(_0x3e7f6e){var _0x302fd7=_[_0x1cd3('0x442')](_0x2109e5['projects'],{'id':Number(_0x3e7f6e[_0x1cd3('0x1d68')])});_0xec20b5[_0x1cd3('0x7b')](_0x302fd7);});if(!_[_0x1cd3('0x398')](_0xec20b5)){_0xec20b5[_0x1cd3('0x394')](function(_0x5aa466){if(!_[_0x1cd3('0x38d')](_0x29287a,['id',_0x5aa466['id']])){var _0x3e0892=_[_0x1cd3('0x442')](_0x2109e5[_0x1cd3('0xeda')],{'id':_0x5aa466['id']});_0x3e0892[_0x1cd3('0xf4a')]=![];_0x29287a['push'](_0x3e0892);}});}_0x2109e5[_0x1cd3('0xeda')]=_0x29287a;});}}})[_0x1cd3('0xfd')](function(_0x2925f9){_0x16e460[_0x1cd3('0x434')]({'title':_0x2925f9[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x2925f9[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x2925f9[_0x1cd3('0xd35')]:_0x1cd3('0x1d69'),'msg':_0x2925f9[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x2925f9['data']):_0x2925f9[_0x1cd3('0x43b')]()});});_0x3bbb83[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x5725bd[_0x1cd3('0x77e')][_0x1cd3('0x361')]({'fields':'id,name','sort':_0x1cd3('0x98'),'IntervalId':'null'})[_0x1cd3('0x81')]['then'](function(_0x2d8786){_0x2109e5['interval']=_0x2d8786[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x15ea13){_0x16e460[_0x1cd3('0x434')]({'title':_0x15ea13[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x15ea13[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x15ea13['statusText']:_0x1cd3('0x11f4'),'msg':_0x15ea13[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x15ea13[_0x1cd3('0x439')]):_0x15ea13[_0x1cd3('0x43b')]()});}):_0x5725bd[_0x1cd3('0x77e')][_0x1cd3('0x361')]({'fields':'id,name','sort':_0x1cd3('0x98'),'IntervalId':'null'})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x3b71ab){_0x2109e5[_0x1cd3('0x77e')]=_0x3b71ab[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x5725bd['userProfileSection']['get']({'userProfileId':_0x2109e5[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x3ec})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x28517e){var _0xabbb32=_0x28517e&&_0x28517e['rows']?_0x28517e[_0x1cd3('0xf6')][0x0]:null;if(!_0xabbb32){var _0x338eed=[];var _0x2af20d=null;if(_0x2109e5[_0x1cd3('0x1d60')]){_0x2af20d=_['find'](_0x2109e5['interval'],{'id':Number(_0x2109e5[_0x1cd3('0x1d60')]['IntervalId'])});}for(var _0x32e985=0x0;_0x32e985<_0x2109e5['interval'][_0x1cd3('0x7a')];_0x32e985++){if(_0x2af20d&&_0x2109e5[_0x1cd3('0x77e')][_0x32e985]['id']===_0x2af20d['id']){_0x2109e5[_0x1cd3('0x77e')][_0x32e985][_0x1cd3('0xf4a')]=![];_0x338eed[_0x1cd3('0x7b')](_0x2109e5[_0x1cd3('0x77e')][_0x32e985]);}}_0x2109e5[_0x1cd3('0x77e')]=_0x338eed;}else{if(!_0xabbb32[_0x1cd3('0x391')]){return _0x5725bd[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0xabbb32['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x1f41d5){var _0x53fcc9=_['map'](_0x1f41d5[_0x1cd3('0xf6')],function(_0x409799){return _[_0x1cd3('0x442')](_0x2109e5[_0x1cd3('0x77e')],{'id':_0x409799[_0x1cd3('0xe8e')]});});var _0x2653e9=null;if(_0x2109e5[_0x1cd3('0x1d60')]){_0x2653e9=_[_0x1cd3('0x442')](_0x2109e5['interval'],{'id':Number(_0x2109e5[_0x1cd3('0x1d60')][_0x1cd3('0xf4b')])});}if(_0x2653e9&&!_[_0x1cd3('0x38d')](_0x53fcc9,['id',_0x2653e9['id']])){var _0x536873=_[_0x1cd3('0x442')](_0x2109e5['interval'],{'id':_0x2653e9['id']});_0x536873[_0x1cd3('0xf4a')]=![];_0x53fcc9['push'](_0x536873);}_0x2109e5['interval']=_0x53fcc9;});}}})[_0x1cd3('0xfd')](function(_0x2373d0){_0x16e460[_0x1cd3('0x434')]({'title':_0x2373d0[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x2373d0['status']+_0x1cd3('0x436')+_0x2373d0['statusText']:'SYSTEM:GETinterval','msg':_0x2373d0[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x2373d0[_0x1cd3('0x439')]):_0x2373d0[_0x1cd3('0x43b')]()});});function _0x5d1233(_0x232567,_0x3b5a81){_0x56308c['go'](_0x1cd3('0x20a'),{'id':_0x232567['id'],'ivrCampaign':_0x232567,'crudPermissions':_0x2109e5[_0x1cd3('0xd27')]});}function _0x59ce11(_0x228329,_0x365c8d){_0x502d70[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1d7b'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1e06'),'parent':angular[_0x1cd3('0x37f')](_0x31559a[_0x1cd3('0x380')]),'targetEvent':_0x365c8d,'clickOutsideToClose':!![],'locals':{'ivrCampaign':_0x228329,'ivrCampaigns':_0x2109e5[_0x1cd3('0x1d5f')]?_0x2109e5['ivrCampaigns'][_0x1cd3('0xf6')]:[],'crudPermissions':_0x2109e5['crudPermissions']}});}function _0x5f7b64(_0x315842,_0x284c93){_0x502d70[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1dd8'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1e07'),'parent':angular[_0x1cd3('0x37f')](_0x31559a['body']),'targetEvent':_0x284c93,'clickOutsideToClose':!![],'locals':{'ivrCampaign':_0x315842,'ivrCampaigns':_0x2109e5[_0x1cd3('0x1d5f')]?_0x2109e5[_0x1cd3('0x1d5f')]['rows']:[],'crudPermissions':_0x2109e5['crudPermissions']}});}function _0x19f01b(_0x47d4fa,_0x1a7642){_0x502d70[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1ded'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1dee'),'parent':angular[_0x1cd3('0x37f')](_0x31559a[_0x1cd3('0x380')]),'targetEvent':_0x1a7642,'clickOutsideToClose':!![],'locals':{'ivrCampaign':_0x47d4fa,'ivrCampaigns':_0x2109e5['ivrCampaigns']?_0x2109e5[_0x1cd3('0x1d5f')][_0x1cd3('0xf6')]:[],'crudPermissions':_0x2109e5['crudPermissions']}});}function _0x287982(_0x15595,_0x498b21){var _0x3e9e6b=_0x502d70['confirm']()[_0x1cd3('0x486')](_0x1cd3('0xd4f')+_['startCase'](_0x1cd3('0x1d60'))+'?')[_0x1cd3('0xd60')](_0x1cd3('0xd51')+(_0x15595[_0x1cd3('0x98')]||_0x1cd3('0x1d60'))+'</b>'+'\x20will\x20be\x20deleted.')['ariaLabel'](_0x1cd3('0x1e08'))[_0x1cd3('0xd63')](_0x498b21)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x502d70[_0x1cd3('0x37e')](_0x3e9e6b)[_0x1cd3('0x77')](function(){_0xd01407(_0x15595);},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}function _0x58b35b(_0x1f9677,_0x21421d){if(_0x3bbb83[_0x1cd3('0x57')](_0x1cd3('0x5f'))){_0x56308c['go'](_0x1cd3('0x225'),{});}else{return _0x5725bd[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x3bbb83[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x5e6})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0xc19f5a){var _0x242dc7=_0xc19f5a&&_0xc19f5a[_0x1cd3('0xf6')]?_0xc19f5a[_0x1cd3('0xf6')][0x0]:null;if(_0x242dc7&&_0x242dc7[_0x1cd3('0x396')]){_0x56308c['go'](_0x1cd3('0x225'),{});}else{_0x16e460[_0x1cd3('0x654')]({'title':_0x24fcf9[_0x1cd3('0x44a')](_0x1cd3('0x1164')),'msg':_0x24fcf9[_0x1cd3('0x44a')](_0x1cd3('0x11a9'))});}})[_0x1cd3('0xfd')](function(_0x3d5f9b){_0x16e460[_0x1cd3('0x434')]({'title':_0x3d5f9b[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x3d5f9b[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x3d5f9b['statusText']:_0x1cd3('0x11aa'),'msg':_0x3d5f9b['status']?JSON[_0x1cd3('0x438')](_0x3d5f9b[_0x1cd3('0x439')]):_0x3d5f9b[_0x1cd3('0x43b')]()});});}}var _0x5395b2=!![];var _0x4ad73e=0x1;_0xc8f585[_0x1cd3('0x4d6')]('vm.query.filter',function(_0x5896f3,_0x26f58a){if(_0x5395b2){_0x27fae4(function(){_0x5395b2=![];});}else{if(!_0x26f58a){_0x4ad73e=_0x2109e5['query']['page'];}if(_0x5896f3!==_0x26f58a){_0x2109e5[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}if(!_0x5896f3){_0x2109e5[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0x4ad73e;}_0x2109e5[_0x1cd3('0x1e09')]();}});function _0x2c4bff(_0x1fcee5){_0x2109e5[_0x1cd3('0x1d5f')]=_0x1fcee5||{'count':0x0,'rows':[]};}function _0x1ee2eb(){_0x2109e5[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0x2109e5['query']['page']-0x1)*_0x2109e5[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];if(_0x3bbb83['hasRole'](_0x1cd3('0x5f'))){_0x2109e5[_0x1cd3('0x539')]=_0x5725bd[_0x1cd3('0xc69')][_0x1cd3('0x361')](_0x2109e5[_0x1cd3('0x3d4')],_0x2c4bff)[_0x1cd3('0x81')];}else{_0x2109e5[_0x1cd3('0x3d4')]['id']=_0x2109e5[_0x1cd3('0x38a')]['id'];_0x2109e5[_0x1cd3('0x3d4')]['section']='IvrCampaigns';_0x2109e5[_0x1cd3('0x539')]=_0x5725bd['userProfile'][_0x1cd3('0xd59')](_0x2109e5[_0x1cd3('0x3d4')],_0x2c4bff)[_0x1cd3('0x81')];}}function _0x5102b4(_0x44aec2,_0xbbee8e){_0x502d70[_0x1cd3('0x37e')]({'controller':'CreateOrEditIvrCampaignDialogController','controllerAs':'vm','templateUrl':'app/main/apps/motiondialer/views/ivrCampaigns/create/dialog.html','parent':angular[_0x1cd3('0x37f')](_0x31559a[_0x1cd3('0x380')]),'targetEvent':_0x44aec2,'clickOutsideToClose':!![],'locals':{'ivrCampaign':_0xbbee8e,'ivrCampaigns':_0x2109e5[_0x1cd3('0x1d5f')]['rows'],'license':_0x2109e5['license'],'setting':_0x2109e5[_0x1cd3('0xc49')],'crudPermissions':_0x2109e5['crudPermissions']}});}function _0xd01407(_0x2a1e50){_0x5725bd[_0x1cd3('0xc69')]['delete']({'id':_0x2a1e50['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x2109e5['ivrCampaigns'][_0x1cd3('0xf6')],{'id':_0x2a1e50['id']});_0x2109e5[_0x1cd3('0x1d5f')][_0x1cd3('0x466')]-=0x1;if(!_0x2109e5['ivrCampaigns'][_0x1cd3('0xf6')]['length']){_0x2109e5[_0x1cd3('0x1e09')]();}_0x16e460[_0x1cd3('0x473')]({'title':_['startCase'](_0x1cd3('0x1e0a'))+_0x1cd3('0xd5c'),'msg':_0x2a1e50[_0x1cd3('0x98')]?_0x2a1e50[_0x1cd3('0x98')]+_0x1cd3('0xd41'):''});})['catch'](function(_0x46de02){if(_0x46de02[_0x1cd3('0x439')]&&_0x46de02[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x46de02['data']['errors'][_0x1cd3('0x7a')]){_0x2109e5[_0x1cd3('0xd34')]=_0x46de02['data'][_0x1cd3('0xd34')]||[{'message':_0x46de02['toString'](),'type':'SYSTEM:DELETEcampaign'}];for(var _0x139503=0x0;_0x139503<_0x46de02[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0x139503++){_0x16e460[_0x1cd3('0x434')]({'title':_0x46de02[_0x1cd3('0x439')]['errors'][_0x139503][_0x1cd3('0x424')],'msg':_0x46de02[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x139503]['message']});}}else{_0x16e460[_0x1cd3('0x434')]({'title':_0x46de02[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x46de02[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x46de02[_0x1cd3('0xd35')]:_0x1cd3('0x1e0b'),'msg':_0x46de02['data']?JSON[_0x1cd3('0x438')](_0x46de02['data']['message']):_0x46de02[_0x1cd3('0x43a')]||_0x46de02['toString']()});}});}function _0x1feb9c(){var _0xb34605=angular[_0x1cd3('0x429')](_0x2109e5[_0x1cd3('0x1df8')]);_0x2109e5[_0x1cd3('0x1df8')]=[];return _0xb34605;}function _0x5ba389(_0x2a5f0d){var _0x475598=_0x502d70['confirm']()[_0x1cd3('0x486')](_0x1cd3('0x1e0c'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x2109e5[_0x1cd3('0x1df8')][_0x1cd3('0x7a')]+'\x20selected</b>'+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')]('delete\x20IvrCampaigns')[_0x1cd3('0xd63')](_0x2a5f0d)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x502d70[_0x1cd3('0x37e')](_0x475598)['then'](function(){_0x2109e5[_0x1cd3('0x1df8')][_0x1cd3('0x394')](function(_0x335931){_0xd01407(_0x335931);});_0x2109e5[_0x1cd3('0x1df8')]=[];});}function _0x108544(){_0x2109e5[_0x1cd3('0x1df8')]=[];}function _0x5be3ae(){_0x2109e5[_0x1cd3('0x1df8')]=_0x2109e5['ivrCampaigns']['rows'];}}}());(function(){'use strict';_0x266eb4['$inject']=[_0x1cd3('0x460'),_0x1cd3('0x53e'),'$location',_0x1cd3('0x3c5'),'$q',_0x1cd3('0x3f7'),_0x1cd3('0x461'),'queueCampaigns',_0x1cd3('0x162d'),_0x1cd3('0x370'),'Auth',_0x1cd3('0x463'),_0x1cd3('0xc49'),'crudPermissions'];angular['module']('app.motiondialer')[_0x1cd3('0x39b')]('CreateOrEditQueueCampaignDialogController',_0x266eb4);function _0x266eb4(_0x761f38,_0x2205e9,_0x2ee311,_0x36e135,_0xdb408,_0x211ef4,_0x49c17e,_0xe55afd,_0x36c6a6,_0x26cd2c,_0x3e976e,_0x73361a,_0x54e800,_0x524c4c){var _0xa398e1=this;_0xa398e1['currentUser']=_0x3e976e[_0x1cd3('0x5d')]();_0xa398e1[_0x1cd3('0xd34')]=[];_0xa398e1['setting']=_0x54e800;_0xa398e1[_0x1cd3('0x463')]=_0x73361a;_0xa398e1['crudPermissions']=_0x524c4c;_0xa398e1[_0x1cd3('0xd28')]={};_0xa398e1[_0x1cd3('0xd29')]=_0xa398e1['setting']&&_0xa398e1[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0xa398e1[_0x1cd3('0x486')]=_0x1cd3('0x1e0d');_0xa398e1[_0x1cd3('0x162d')]=angular[_0x1cd3('0x429')](_0x36c6a6);_0xa398e1['queueCampaigns']=_0xe55afd;_0xa398e1[_0x1cd3('0x1e0e')]=![];if(!_0xa398e1[_0x1cd3('0x162d')]){_0xa398e1[_0x1cd3('0x162d')]={'dialActive':!![],'type':_0x1cd3('0x128'),'dialCheckDuplicateType':_0x1cd3('0x1213'),'dialCutDigit':0x0,'autopause':'no','ringinuse':'no','timeoutrestart':'no','setinterfacevar':'no','setqueuevar':'no','setqueueentryvar':'no','dialOrderByScheduledAt':_0x1cd3('0xe58'),'dialGlobalInterval':'07:00-22:00,*,*,*','dialAMDInitialSilence':0x9c4,'dialAMDGreeting':0x5dc,'dialAMDAfterGreetingSilence':0x320,'dialAMDTotalAnalysisTime':0x1388,'dialAMDMinWordLength':0x64,'dialAMDBetweenWordsSilence':0x32,'dialAMDMaximumNumberOfWords':0x3,'dialAMDSilenceThreshold':0x100,'dialAMDMaximumWordLength':0x1388,'dialMethod':_0x1cd3('0x1e0f'),'dialPowerLevel':0x1,'dialPredictiveOptimization':_0x1cd3('0x1e10'),'dialPredictiveOptimizationPercentage':0x3,'dialPredictiveInterval':0xa,'dialLimitQueue':0x0,'dialRandomLastDigitCallerIdNumber':0x0,'dialOriginateTimeout':0x1e,'dialQueueOptions':_0x1cd3('0x1e11'),'dialQueueTimeout':0x3,'strategy':_0x1cd3('0x1e12'),'timeout':0x3,'retry':0x3,'weight':0x1,'dialGlobalMaxRetry':0x4,'dialCongestionMaxRetry':0x3,'dialCongestionRetryFrequency':0x96,'dialBusyMaxRetry':0x3,'dialBusyRetryFrequency':0x96,'dialNoAnswerMaxRetry':0x3,'dialNoAnswerRetryFrequency':0x96,'dialNoSuchNumberMaxRetry':0x3,'dialNoSuchNumberRetryFrequency':0x96,'dialDropMaxRetry':0x3,'dialDropRetryFrequency':0x96,'dialAbandonedMaxRetry':0x3,'dialAbandonedRetryFrequency':0x96,'dialMachineMaxRetry':0x3,'dialMachineRetryFrequency':0x96,'dialAgentRejectMaxRetry':0x3,'dialAgentRejectRetryFrequency':0x96,'dialPredictiveIntervalMaxThreshold':0x14,'dialPredictiveIntervalMinThreshold':0xa};_0xa398e1[_0x1cd3('0x486')]='MOTIONDIALER.NEW_QUEUECAMPAIGN';_0xa398e1[_0x1cd3('0x1e0e')]=!![];}_0xa398e1[_0x1cd3('0x1e13')]=_0x25f5c;_0xa398e1['saveQueueCampaign']=_0x2ea460;_0xa398e1[_0x1cd3('0x1e14')]=_0xbac50c;_0xa398e1[_0x1cd3('0xd31')]=_0x4424fa;_0xa398e1[_0x1cd3('0x39c')]=_0x27b9fa;_0x3e976e[_0x1cd3('0x57')]('admin')?_0x26cd2c[_0x1cd3('0x18e7')]['get']({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x475f82){_0xa398e1[_0x1cd3('0xef5')]=_0x475f82[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x117c69){_0x49c17e[_0x1cd3('0x434')]({'title':_0x117c69[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x117c69[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x117c69[_0x1cd3('0xd35')]:_0x1cd3('0x18e6'),'msg':_0x117c69['data']?JSON['stringify'](_0x117c69[_0x1cd3('0x439')]):_0x117c69['toString']()});}):_0x26cd2c[_0x1cd3('0x18e7')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98')})[_0x1cd3('0x81')]['then'](function(_0xa0b3a){_0xa398e1[_0x1cd3('0xef5')]=_0xa0b3a[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x26cd2c[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0xa398e1[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x3f3})[_0x1cd3('0x81')];})['then'](function(_0x52f6ff){var _0x5175da=_0x52f6ff&&_0x52f6ff[_0x1cd3('0xf6')]?_0x52f6ff[_0x1cd3('0xf6')][0x0]:null;if(!_0x5175da){var _0x15d763=[];var _0x108b58=null;if(_0xa398e1[_0x1cd3('0x162d')]){_0x108b58=_[_0x1cd3('0x442')](_0xa398e1['trunks'],{'id':Number(_0xa398e1[_0x1cd3('0x162d')]['TrunkId'])});}for(var _0x4a02d3=0x0;_0x4a02d3<_0xa398e1[_0x1cd3('0xef5')][_0x1cd3('0x7a')];_0x4a02d3++){if(_0x108b58&&_0xa398e1[_0x1cd3('0xef5')][_0x4a02d3]['id']===_0x108b58['id']){_0xa398e1[_0x1cd3('0xef5')][_0x4a02d3][_0x1cd3('0xf4a')]=![];_0x15d763[_0x1cd3('0x7b')](_0xa398e1[_0x1cd3('0xef5')][_0x4a02d3]);}}_0xa398e1[_0x1cd3('0xef5')]=_0x15d763;}else{if(!_0x5175da[_0x1cd3('0x391')]){return _0x26cd2c[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x5175da['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x484129){var _0x44e73e=_[_0x1cd3('0x3d9')](_0x484129[_0x1cd3('0xf6')],function(_0x571a7a){return _['find'](_0xa398e1['trunks'],{'id':_0x571a7a['resourceId']});});var _0x8a268c=null;if(_0xa398e1['queueCampaign']){_0x8a268c=_[_0x1cd3('0x442')](_0xa398e1['trunks'],{'id':Number(_0xa398e1[_0x1cd3('0x162d')][_0x1cd3('0x18e8')])});}if(_0x8a268c&&!_[_0x1cd3('0x38d')](_0x44e73e,['id',_0x8a268c['id']])){var _0x3d0222=_['find'](_0xa398e1[_0x1cd3('0xef5')],{'id':_0x8a268c['id']});_0x3d0222[_0x1cd3('0xf4a')]=![];_0x44e73e[_0x1cd3('0x7b')](_0x3d0222);}_0xa398e1[_0x1cd3('0xef5')]=_0x44e73e;});}}})[_0x1cd3('0xfd')](function(_0x2a1973){_0x49c17e[_0x1cd3('0x434')]({'title':_0x2a1973[_0x1cd3('0x3a6')]?'API:'+_0x2a1973[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x2a1973[_0x1cd3('0xd35')]:_0x1cd3('0x18e9'),'msg':_0x2a1973[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x2a1973[_0x1cd3('0x439')]):_0x2a1973[_0x1cd3('0x43b')]()});});_0x3e976e[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x26cd2c[_0x1cd3('0x77e')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':'name','IntervalId':'null'})['$promise'][_0x1cd3('0x77')](function(_0xb64af0){_0xa398e1[_0x1cd3('0x77e')]=_0xb64af0[_0x1cd3('0xf6')]||[];})['catch'](function(_0x4d641b){_0x49c17e[_0x1cd3('0x434')]({'title':_0x4d641b['status']?_0x1cd3('0x435')+_0x4d641b[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x4d641b[_0x1cd3('0xd35')]:_0x1cd3('0x11f4'),'msg':_0x4d641b[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x4d641b[_0x1cd3('0x439')]):_0x4d641b[_0x1cd3('0x43b')]()});}):_0x26cd2c[_0x1cd3('0x77e')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'IntervalId':_0x1cd3('0x220')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x36481b){_0xa398e1[_0x1cd3('0x77e')]=_0x36481b[_0x1cd3('0xf6')]||[];})['then'](function(){return _0x26cd2c[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0xa398e1['currentUser']['userProfileId'],'sectionId':0x3ec})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x396cf3){var _0x1bd521=_0x396cf3&&_0x396cf3[_0x1cd3('0xf6')]?_0x396cf3['rows'][0x0]:null;if(!_0x1bd521){var _0x89eeba=[];var _0x71b766=null;if(_0xa398e1[_0x1cd3('0x162d')]){_0x71b766=_[_0x1cd3('0x442')](_0xa398e1[_0x1cd3('0x77e')],{'id':Number(_0xa398e1[_0x1cd3('0x162d')]['IntervalId'])});}for(var _0x5829fa=0x0;_0x5829fa<_0xa398e1['interval']['length'];_0x5829fa++){if(_0x71b766&&_0xa398e1[_0x1cd3('0x77e')][_0x5829fa]['id']===_0x71b766['id']){_0xa398e1[_0x1cd3('0x77e')][_0x5829fa][_0x1cd3('0xf4a')]=![];_0x89eeba[_0x1cd3('0x7b')](_0xa398e1[_0x1cd3('0x77e')][_0x5829fa]);}}_0xa398e1[_0x1cd3('0x77e')]=_0x89eeba;}else{if(!_0x1bd521['autoAssociation']){return _0x26cd2c['userProfileResource'][_0x1cd3('0x361')]({'sectionId':_0x1bd521['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x27d016){var _0x36eb03=_[_0x1cd3('0x3d9')](_0x27d016[_0x1cd3('0xf6')],function(_0xaddafa){return _[_0x1cd3('0x442')](_0xa398e1[_0x1cd3('0x77e')],{'id':_0xaddafa['resourceId']});});var _0x53a1d6=null;if(_0xa398e1[_0x1cd3('0x162d')]){_0x53a1d6=_[_0x1cd3('0x442')](_0xa398e1['interval'],{'id':Number(_0xa398e1[_0x1cd3('0x162d')][_0x1cd3('0xf4b')])});}if(_0x53a1d6&&!_[_0x1cd3('0x38d')](_0x36eb03,['id',_0x53a1d6['id']])){var _0x1f9930=_['find'](_0xa398e1[_0x1cd3('0x77e')],{'id':_0x53a1d6['id']});_0x1f9930[_0x1cd3('0xf4a')]=![];_0x36eb03[_0x1cd3('0x7b')](_0x1f9930);}_0xa398e1['interval']=_0x36eb03;});}}})[_0x1cd3('0xfd')](function(_0x269160){_0x49c17e['error']({'title':_0x269160['status']?_0x1cd3('0x435')+_0x269160['status']+_0x1cd3('0x436')+_0x269160[_0x1cd3('0xd35')]:'SYSTEM:GETinterval','msg':_0x269160[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x269160[_0x1cd3('0x439')]):_0x269160[_0x1cd3('0x43b')]()});});function _0x25f5c(){_0xa398e1[_0x1cd3('0xd34')]=[];_0x26cd2c[_0x1cd3('0xa48')][_0x1cd3('0xd6d')](_0xa398e1[_0x1cd3('0x162d')])['$promise'][_0x1cd3('0x77')](function(_0xd5e3e7){_0xa398e1['queueCampaigns'][_0x1cd3('0x621')](_0xd5e3e7[_0x1cd3('0xd32')]());_0x49c17e[_0x1cd3('0x473')]({'title':_0x1cd3('0x1e15'),'msg':_0xa398e1[_0x1cd3('0x162d')][_0x1cd3('0x98')]?_0xa398e1['queueCampaign'][_0x1cd3('0x98')]+_0x1cd3('0xd33'):''});_0x27b9fa(_0xd5e3e7);})[_0x1cd3('0xfd')](function(_0x427816){if(_0x427816['data']&&_0x427816[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x427816[_0x1cd3('0x439')]['errors']['length']){_0xa398e1[_0x1cd3('0xd34')]=_0x427816['data'][_0x1cd3('0xd34')]||[{'message':_0x427816['toString'](),'type':_0x1cd3('0x1e16')}];for(var _0x1d028f=0x0;_0x1d028f<_0x427816['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x1d028f+=0x1){_0x49c17e['error']({'title':_0x427816[_0x1cd3('0x439')]['errors'][_0x1d028f][_0x1cd3('0x424')],'msg':_0x427816[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1d028f]['message']});}}else{_0x49c17e[_0x1cd3('0x434')]({'title':_0x427816[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x427816[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x427816['statusText']:_0x1cd3('0x1e16'),'msg':_0x427816[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x427816[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x427816['toString']()});}});}function _0x2ea460(){_0xa398e1['errors']=[];_0x26cd2c[_0x1cd3('0xa48')]['update']({'id':_0xa398e1[_0x1cd3('0x162d')]['id']},_0xa398e1[_0x1cd3('0x162d')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x4c58ce){var _0x30d5c0=_[_0x1cd3('0x442')](_0xa398e1[_0x1cd3('0x1634')],{'id':_0x4c58ce['id']});if(_0x30d5c0){_[_0x1cd3('0xf2')](_0x30d5c0,_[_0x1cd3('0x5e8')](_0x4c58ce[_0x1cd3('0xd32')](),_[_0x1cd3('0x80')](_0x30d5c0)));}_0x49c17e['success']({'title':'QueueCampaign\x20properly\x20saved!','msg':_0xa398e1[_0x1cd3('0x162d')][_0x1cd3('0x98')]?_0xa398e1[_0x1cd3('0x162d')][_0x1cd3('0x98')]+_0x1cd3('0xd37'):''});_0x27b9fa(_0x4c58ce);})[_0x1cd3('0xfd')](function(_0x423dcb){if(_0x423dcb[_0x1cd3('0x439')]&&_0x423dcb[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x423dcb[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0xa398e1[_0x1cd3('0xd34')]=_0x423dcb['data'][_0x1cd3('0xd34')]||[{'message':_0x423dcb['toString'](),'type':'api.voiceQueue.update'}];for(var _0xe33f3c=0x0;_0xe33f3c<_0x423dcb[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0xe33f3c++){_0x49c17e[_0x1cd3('0x434')]({'title':_0x423dcb['data']['errors'][_0xe33f3c][_0x1cd3('0x424')],'msg':_0x423dcb[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0xe33f3c][_0x1cd3('0x43a')]});}}else{_0x49c17e[_0x1cd3('0x434')]({'title':_0x423dcb[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x423dcb[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x423dcb[_0x1cd3('0xd35')]:_0x1cd3('0x1e17'),'msg':_0x423dcb[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x423dcb[_0x1cd3('0x439')]['message']):_0x423dcb[_0x1cd3('0x43b')]()});}});}function _0xbac50c(_0x39bd41){_0xa398e1[_0x1cd3('0xd34')]=[];var _0x4f61f7=_0x36e135[_0x1cd3('0xd39')]()['title'](_0x1cd3('0xd3a'))['content'](_0x1cd3('0x1e18'))['ariaLabel'](_0x1cd3('0x1e19'))['ok'](_0x1cd3('0xd3f'))[_0x1cd3('0x4d8')](_0x1cd3('0x674'))['targetEvent'](_0x39bd41);_0x36e135[_0x1cd3('0x37e')](_0x4f61f7)[_0x1cd3('0x77')](function(){_0x26cd2c['voiceQueue'][_0x1cd3('0xa1c')]({'id':_0xa398e1[_0x1cd3('0x162d')]['id']})[_0x1cd3('0x81')]['then'](function(){_['remove'](_0xa398e1['queueCampaigns'],{'id':_0xa398e1[_0x1cd3('0x162d')]['id']});_0x49c17e['success']({'title':_0x1cd3('0x1e1a'),'msg':(_0xa398e1[_0x1cd3('0x162d')]['name']||_0x1cd3('0x162d'))+_0x1cd3('0xd41')});_0x27b9fa(_0xa398e1['queueCampaign']);})[_0x1cd3('0xfd')](function(_0x30bb6f){if(_0x30bb6f[_0x1cd3('0x439')]&&_0x30bb6f[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x30bb6f['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0xa398e1[_0x1cd3('0xd34')]=_0x30bb6f[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x30bb6f[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1e1b')}];for(var _0x3d22b1=0x0;_0x3d22b1<_0x30bb6f[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x3d22b1++){_0x49c17e[_0x1cd3('0x434')]({'title':_0x30bb6f['data'][_0x1cd3('0xd34')][_0x3d22b1][_0x1cd3('0x424')],'msg':_0x30bb6f[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x3d22b1][_0x1cd3('0x43a')]});}}else{_0x49c17e[_0x1cd3('0x434')]({'title':_0x30bb6f[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x30bb6f[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x30bb6f[_0x1cd3('0xd35')]:'api.voiceQueue.delete','msg':_0x30bb6f['data']?JSON[_0x1cd3('0x438')](_0x30bb6f['data']['message']):_0x30bb6f['message']||_0x30bb6f[_0x1cd3('0x43b')]()});}});},function(){});}function _0x4424fa(_0x5027f5){return _0x5027f5===null?undefined:new Date(_0x5027f5);}function _0x27b9fa(_0x416719){_0x36e135[_0x1cd3('0x39d')](_0x416719);}}}());(function(){'use strict';_0x150fdb[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),'$q',_0x1cd3('0x461'),_0x1cd3('0x370'),_0x1cd3('0x162d'),_0x1cd3('0x1634'),'realtime',_0x1cd3('0x3f7'),_0x1cd3('0x56'),'crudPermissions'];angular[_0x1cd3('0x0')](_0x1cd3('0x36'))[_0x1cd3('0x39b')](_0x1cd3('0x1e1c'),_0x150fdb);function _0x150fdb(_0x2924f2,_0x28ee63,_0x2a552b,_0xaa48c1,_0x201410,_0x3e1c0f,_0x3208f2,_0x2894fe,_0x378b6d,_0x115fc7){var _0x5b6453=this;_0x5b6453[_0x1cd3('0x3ca')]=_0x378b6d[_0x1cd3('0x5d')]();_0x5b6453['queueCampaign']=_0x201410;_0x5b6453[_0x1cd3('0xd27')]=_0x115fc7;_0x5b6453['penalty']=0x0;_0x5b6453[_0x1cd3('0x11b9')]=_0x3208f2;_0x5b6453[_0x1cd3('0x493')]=[];_0x5b6453[_0x1cd3('0x11ba')]=[];_0x5b6453[_0x1cd3('0x492')]=[];_0x5b6453[_0x1cd3('0x11bb')]=[];_0x5b6453['startingSelectedItems']=[];_0x5b6453[_0x1cd3('0x11c6')]=![];_0x5b6453[_0x1cd3('0x703')]=_0x5dffc6;_0x5b6453[_0x1cd3('0x11bc')]=_0x10f8ad;_0x5b6453[_0x1cd3('0x39c')]=_0x18a74f;_0x5b6453['dualMultiselectOptions']={'readOnly':!_0x5b6453[_0x1cd3('0xd27')]['canEdit'],'items':[],'selectedItems':[],'showSelectAndDeselectAll':!![],'orderBy':_0x1cd3('0x98'),'line1':_0x1cd3('0xd3'),'line2':[_0x1cd3('0x98'),'internal'],'line3':'penalty','labelAll':_0x2894fe[_0x1cd3('0x44a')](_0x1cd3('0x1e1d')),'labelSelected':_0x2894fe[_0x1cd3('0x44a')](_0x1cd3('0x1e1e')),'transferCallback':function(_0x3b113,_0x2d5ca3){if(_0x2d5ca3){_0x3b113['forEach'](function(_0x26c1a4){_0x26c1a4[_0x1cd3('0x1146')]=undefined;});}else{_0x3b113['forEach'](function(_0x4ecf1c){_0x4ecf1c[_0x1cd3('0x1146')]=_0x1cd3('0x1503')+_0x5b6453[_0x1cd3('0x1146')];});}var _0xb6d185=_[_0x1cd3('0x1e1f')](_0x5b6453[_0x1cd3('0x11be')],_0x5b6453[_0x1cd3('0x492')],function(_0x3a2569,_0x2019eb){return _0x3a2569['id']===_0x2019eb['id']&&_0x3a2569[_0x1cd3('0x1146')]===_0x2019eb[_0x1cd3('0x1146')];});_0x5b6453[_0x1cd3('0x11c6')]=_[_0x1cd3('0x398')](_0xb6d185)?![]:!![];}};function _0x5dffc6(){return _0x378b6d[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x5575b0()['catch'](function(_0x413cf9){_0x2a552b[_0x1cd3('0x434')]({'title':_0x413cf9['status']?_0x1cd3('0x435')+_0x413cf9[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x413cf9[_0x1cd3('0xd35')]:_0x1cd3('0x11bf'),'msg':_0x413cf9[_0x1cd3('0x3a6')]?JSON[_0x1cd3('0x438')](_0x413cf9[_0x1cd3('0x439')]):_0x413cf9[_0x1cd3('0x43b')]()});}):_0x3e50f9()[_0x1cd3('0x77')](function(_0x1a2258){_0x5b6453['section']=_0x1a2258;return _0x5575b0();})[_0x1cd3('0xfd')](function(_0x5078b1){_0x2a552b['error']({'title':_0x5078b1[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x5078b1[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x5078b1[_0x1cd3('0xd35')]:_0x1cd3('0x11bf'),'msg':_0x5078b1['status']?JSON[_0x1cd3('0x438')](_0x5078b1['data']):_0x5078b1[_0x1cd3('0x43b')]()});});}function _0x3e50f9(){return _0x28ee63(function(_0x4645de,_0x3d424d){_0xaa48c1[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x5b6453['currentUser'][_0x1cd3('0x5e')],'name':_0x1cd3('0xd4')})[_0x1cd3('0x81')]['then'](function(_0x8d87a0){var _0xc03571=_0x8d87a0&&_0x8d87a0[_0x1cd3('0xf6')]?_0x8d87a0[_0x1cd3('0xf6')][0x0]:null;_0x4645de(_0xc03571);})[_0x1cd3('0xfd')](function(_0x41fd74){_0x3d424d(_0x41fd74);});});}function _0x5575b0(){return _0x28ee63(function(_0x18bcfa,_0x3d007b){return _0x53205a()[_0x1cd3('0x77')](function(_0x2a0cb9){_0x5b6453[_0x1cd3('0x493')]=_0x2a0cb9[_0x1cd3('0xf6')]?_0x2a0cb9[_0x1cd3('0xf6')]:[];if(_0x378b6d[_0x1cd3('0x57')]('admin')){return _0x2a0cb9;}else{if(_0x5b6453['section']){return _0x5b6453['section'][_0x1cd3('0x391')]?_0x2a0cb9:_0x357c90();}else{return null;}}})['then'](function(_0x4c0163){var _0x30d77e=_0x4c0163&&_0x4c0163[_0x1cd3('0xf6')]?_0x4c0163[_0x1cd3('0xf6')]:[];_0x5b6453[_0x1cd3('0x11ba')]=_[_0x1cd3('0x3d9')](_0x30d77e,function(_0x1f59fd){return _['find'](_0x5b6453[_0x1cd3('0x493')],{'id':_0x378b6d[_0x1cd3('0x57')](_0x1cd3('0x5f'))||_0x5b6453[_0x1cd3('0xd58')][_0x1cd3('0x391')]?_0x1f59fd['id']:_0x1f59fd[_0x1cd3('0xe8e')]});});_0x5b6453[_0x1cd3('0x11bb')]=angular[_0x1cd3('0x429')](_0x5b6453[_0x1cd3('0x11ba')]);_0x5b6453[_0x1cd3('0x493')][_0x1cd3('0x394')](function(_0x13e80c){var _0x1c1526=_[_0x1cd3('0x442')](_0x5b6453[_0x1cd3('0x11ba')],{'id':_0x13e80c['id']});if(_0x378b6d[_0x1cd3('0x57')](_0x1cd3('0x5f'))){_0x13e80c[_0x1cd3('0x490')]=!![];}else{_0x13e80c['isValid']=typeof _0x1c1526!==_0x1cd3('0x491')?!![]:![];}});return _0x4956e5();})['then'](function(_0x39f616){var _0x261001=_0x39f616&&_0x39f616[_0x1cd3('0xf6')]?_0x39f616[_0x1cd3('0xf6')]:[];_0x5b6453[_0x1cd3('0x492')]=_[_0x1cd3('0x3d9')](_0x261001,function(_0x117958){var _0x471030=_[_0x1cd3('0x442')](_0x5b6453[_0x1cd3('0x493')],{'id':_0x117958['id']});_0x471030['penalty']=_0x117958[_0x1cd3('0x1e20')]?'penalty\x20'+_0x117958[_0x1cd3('0x1e20')][_0x1cd3('0x1146')]:'';_0x471030[_0x1cd3('0x311')]=_0x117958[_0x1cd3('0x3d0')](_0x1cd3('0x311'))?'<'+_0x117958[_0x1cd3('0x311')]+'>':'';return _0x471030;});_0x5b6453[_0x1cd3('0x11be')]=angular[_0x1cd3('0x429')](_0x5b6453[_0x1cd3('0x492')]);_0x5b6453[_0x1cd3('0x1145')][_0x1cd3('0x492')]=_0x5b6453[_0x1cd3('0x492')];_0x5b6453[_0x1cd3('0x1145')]['items']=_['differenceBy'](_0x5b6453[_0x1cd3('0x11ba')],_0x5b6453[_0x1cd3('0x1145')]['selectedItems'],'id');_0x18bcfa();})[_0x1cd3('0xfd')](function(_0x312622){_0x3d007b(_0x312622);});});}function _0x357c90(){return _0x28ee63(function(_0x21d454,_0x3405ac){return _0xaa48c1['userProfileResource'][_0x1cd3('0x361')]({'sectionId':_0x5b6453[_0x1cd3('0xd58')]['id'],'nolimit':!![]})['$promise'][_0x1cd3('0x77')](function(_0x449358){_0x21d454(_0x449358);})[_0x1cd3('0xfd')](function(_0x2c3966){_0x3405ac(_0x2c3966);});});}function _0x4956e5(){return _0x28ee63(function(_0x5dd0d3,_0x42d4c2){return _0xaa48c1['voiceQueue'][_0x1cd3('0x1269')]({'id':_0x5b6453[_0x1cd3('0x162d')]['id'],'fields':'id,name,internal,fullname','nolimit':!![],'role':'agent'})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x37a4a2){_0x5dd0d3(_0x37a4a2);})[_0x1cd3('0xfd')](function(_0x2badf8){_0x42d4c2(_0x2badf8);});});}function _0x53205a(){return _0x28ee63(function(_0xdb3b96,_0x11a345){return _0xaa48c1[_0x1cd3('0x368')][_0x1cd3('0x361')]({'fields':'id,name,internal,fullname','nolimit':!![],'role':_0x1cd3('0xd2')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x14e8bd){_0xdb3b96(_0x14e8bd);})['catch'](function(_0xdca15e){_0x11a345(_0xdca15e);});});}function _0x131b06(_0x598b46){return _0x28ee63(function(_0x1e07f7,_0x10c2ff){if(_[_0x1cd3('0x398')](_0x598b46)){_0x1e07f7();}else{var _0xe1a93a=[];var _0x307a90=_[_0x1cd3('0x3d6')](_0x598b46,_0x1cd3('0x1146'));for(var _0x44f068=0x0;_0x44f068<Object[_0x1cd3('0x80')](_0x307a90)[_0x1cd3('0x7a')];_0x44f068++){var _0x6d95a=Object['keys'](_0x307a90)[_0x44f068];var _0x2652a0=_[_0x1cd3('0x395')](_0x598b46,['penalty',_0x6d95a]);_0xe1a93a['push'](_0xaa48c1[_0x1cd3('0xa48')][_0x1cd3('0x11c2')]({'id':_0x5b6453[_0x1cd3('0x162d')]['id'],'ids':_['map'](_0x2652a0,'id'),'penalty':_[_0x1cd3('0x77b')](_0x6d95a,_0x1cd3('0x1503')),'realtime':_0x5b6453[_0x1cd3('0x11b9')]||![]})['$promise']);}_0x28ee63[_0x1cd3('0x7e')](_0xe1a93a)[_0x1cd3('0x77')](function(){_0x1e07f7();})[_0x1cd3('0xfd')](function(_0x2b375e){_0x10c2ff(_0x2b375e);});}});}function _0x2b78bd(_0x40c264){return _0x28ee63(function(_0x5ddd63,_0x2f979c){if(_[_0x1cd3('0x398')](_0x40c264)){_0x5ddd63();}else{_0xaa48c1['voiceQueue'][_0x1cd3('0x11c3')]({'id':_0x5b6453[_0x1cd3('0x162d')]['id'],'ids':_[_0x1cd3('0x3d9')](_0x40c264,'id')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x5ddd63();})[_0x1cd3('0xfd')](function(_0x172f1b){_0x2f979c(_0x172f1b);});}});}function _0x10f8ad(){var _0x20b950=_['differenceBy'](_0x5b6453[_0x1cd3('0x11be')],_0x5b6453[_0x1cd3('0x492')],'id');var _0x2487f7=_[_0x1cd3('0x1e21')](_0x5b6453[_0x1cd3('0x492')],_0x5b6453[_0x1cd3('0x11be')],function(_0x2f783c,_0x58dade){return _0x2f783c['id']===_0x58dade['id']&&_0x2f783c['penalty']===_0x58dade[_0x1cd3('0x1146')];});return _0x2b78bd(_0x20b950)['then'](function(){return _0x131b06(_0x2487f7);})['then'](function(){_0x5b6453[_0x1cd3('0x11c6')]=![];_0x5b6453[_0x1cd3('0x11bb')]=angular[_0x1cd3('0x429')](_0x5b6453[_0x1cd3('0x11ba')]);_0x5b6453[_0x1cd3('0x11be')]=angular[_0x1cd3('0x429')](_0x5b6453[_0x1cd3('0x492')]);_0x2a552b[_0x1cd3('0x473')]({'title':_0x1cd3('0x11c4'),'msg':_0x1cd3('0x11c5')});})[_0x1cd3('0xfd')](function(_0x2c78b4){_0x2a552b[_0x1cd3('0x434')]({'title':_0x2c78b4['status']?'API:'+_0x2c78b4[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x2c78b4[_0x1cd3('0xd35')]:'SYSTEM:LISTS_ASSOCIATION','msg':_0x2c78b4[_0x1cd3('0x3a6')]?JSON['stringify'](_0x2c78b4[_0x1cd3('0x439')]):_0x2c78b4[_0x1cd3('0x43b')]()});});}function _0x18a74f(){_0x2924f2[_0x1cd3('0x39d')]();}}}());(function(){'use strict';_0x542c09['$inject']=['$mdDialog','$q',_0x1cd3('0x461'),_0x1cd3('0x370'),'queueCampaign',_0x1cd3('0x3f7'),_0x1cd3('0x3e7'),_0x1cd3('0x56'),'crudPermissions'];angular['module'](_0x1cd3('0x36'))['controller'](_0x1cd3('0x1e22'),_0x542c09);function _0x542c09(_0x5b3117,_0x57f8c3,_0x143633,_0x3c3206,_0x1e4634,_0x12e678,_0x1be9a1,_0x11de38,_0x45a5de){var _0x4ba8b7=this;_0x4ba8b7[_0x1cd3('0x3ca')]=_0x11de38[_0x1cd3('0x5d')]();_0x4ba8b7[_0x1cd3('0x162d')]=_0x1e4634;_0x4ba8b7[_0x1cd3('0xd27')]=_0x45a5de;_0x4ba8b7['apiRoute']=_0x1cd3('0xa48');_0x4ba8b7[_0x1cd3('0x1d71')]=_0x1cd3('0x1632');_0x4ba8b7['addApi']=_0x1cd3('0x1e23');_0x4ba8b7[_0x1cd3('0x1d72')]='removeBlackLists';_0x4ba8b7['items']=[];_0x4ba8b7[_0x1cd3('0x11ba')]=[];_0x4ba8b7[_0x1cd3('0x492')]=[];_0x4ba8b7[_0x1cd3('0x11bb')]=[];_0x4ba8b7['startingSelectedItems']=[];_0x4ba8b7[_0x1cd3('0x11c6')]=![];_0x4ba8b7[_0x1cd3('0x1d74')]=![];_0x4ba8b7[_0x1cd3('0x1145')]={'readOnly':!_0x4ba8b7[_0x1cd3('0xd27')][_0x1cd3('0xe3b')],'allowedItems':[],'selectedItems':[],'showSelectAndDeselectAll':![],'orderBy':_0x1cd3('0x98'),'line1':_0x1cd3('0x98'),'line2':'','line3':'','labelAll':_0x12e678[_0x1cd3('0x44a')](_0x1cd3('0x1d75')),'labelSelected':_0x12e678['instant'](_0x1cd3('0x1d76')),'transferCallback':function(_0x3dd9e8,_0x4c13c2){var _0x298d27=_['xorBy'](_0x4ba8b7[_0x1cd3('0x11be')],_0x4ba8b7[_0x1cd3('0x492')],'id');_0x4ba8b7[_0x1cd3('0x11c6')]=_[_0x1cd3('0x398')](_0x298d27)?![]:!![];}};_0x4ba8b7['onInit']=_0x8cf303;_0x4ba8b7[_0x1cd3('0x1d77')]=_0x34242f;_0x4ba8b7[_0x1cd3('0x39c')]=_0x2a3b58;function _0x8cf303(){return _0x11de38[_0x1cd3('0x57')]('admin')?_0x252d55()['catch'](function(_0x581e23){_0x143633['error']({'title':_0x581e23[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x581e23[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x581e23[_0x1cd3('0xd35')]:_0x1cd3('0x1d78'),'msg':_0x581e23['status']?JSON['stringify'](_0x581e23['data']):_0x581e23[_0x1cd3('0x43b')]()});}):_0x3a05bb()[_0x1cd3('0x77')](function(_0x16f465){_0x4ba8b7[_0x1cd3('0xd58')]=_0x16f465;return _0x252d55();})[_0x1cd3('0xfd')](function(_0x577831){_0x143633['error']({'title':_0x577831[_0x1cd3('0x3a6')]?'API:'+_0x577831['status']+_0x1cd3('0x436')+_0x577831[_0x1cd3('0xd35')]:_0x1cd3('0x1d78'),'msg':_0x577831[_0x1cd3('0x3a6')]?JSON[_0x1cd3('0x438')](_0x577831['data']):_0x577831[_0x1cd3('0x43b')]()});});}function _0x3a05bb(){return _0x57f8c3(function(_0x5cbf2a,_0x3a8f15){_0x3c3206[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x4ba8b7[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'name':_0x1cd3('0xf4')})[_0x1cd3('0x81')]['then'](function(_0x4b937c){var _0x155376=_0x4b937c&&_0x4b937c[_0x1cd3('0xf6')]?_0x4b937c[_0x1cd3('0xf6')][0x0]:null;_0x5cbf2a(_0x155376);})[_0x1cd3('0xfd')](function(_0x38d984){_0x3a8f15(_0x38d984);});});}function _0x252d55(){return _0x57f8c3(function(_0xe498dd,_0x50a12d){return _0x42334d()[_0x1cd3('0x77')](function(_0x593aa0){_0x4ba8b7[_0x1cd3('0x493')]=_0x593aa0[_0x1cd3('0xf6')]?_0x593aa0['rows']:[];if(_0x11de38[_0x1cd3('0x57')]('admin')){return _0x593aa0;}else{if(_0x4ba8b7[_0x1cd3('0xd58')]){return _0x4ba8b7[_0x1cd3('0xd58')][_0x1cd3('0x391')]?_0x593aa0:_0x106288();}else{return null;}}})['then'](function(_0x25361b){var _0x2de948=_0x25361b&&_0x25361b[_0x1cd3('0xf6')]?_0x25361b[_0x1cd3('0xf6')]:[];_0x4ba8b7[_0x1cd3('0x11ba')]=_[_0x1cd3('0x3d9')](_0x2de948,function(_0x4a65d6){return _[_0x1cd3('0x442')](_0x4ba8b7['items'],{'id':_0x11de38[_0x1cd3('0x57')](_0x1cd3('0x5f'))||_0x4ba8b7[_0x1cd3('0xd58')]['autoAssociation']?_0x4a65d6['id']:_0x4a65d6[_0x1cd3('0xe8e')]});});_0x4ba8b7[_0x1cd3('0x11bb')]=angular[_0x1cd3('0x429')](_0x4ba8b7[_0x1cd3('0x11ba')]);_0x4ba8b7['items'][_0x1cd3('0x394')](function(_0x24b72b){var _0x2bf209=_['find'](_0x4ba8b7[_0x1cd3('0x11ba')],{'id':_0x24b72b['id']});if(_0x4ba8b7[_0x1cd3('0x3ca')]['role']===_0x1cd3('0x5f')){_0x24b72b[_0x1cd3('0x490')]=!![];}else{_0x24b72b[_0x1cd3('0x490')]=typeof _0x2bf209!==_0x1cd3('0x491')?!![]:![];}});return _0xde4345();})[_0x1cd3('0x77')](function(_0x560636){var _0x2994d5=_0x560636&&_0x560636[_0x1cd3('0xf6')]?_0x560636[_0x1cd3('0xf6')]:[];_0x4ba8b7[_0x1cd3('0x492')]=_[_0x1cd3('0x3d9')](_0x2994d5,function(_0x58124c){return _[_0x1cd3('0x442')](_0x4ba8b7[_0x1cd3('0x493')],{'id':_0x58124c['id']});});_0x4ba8b7['startingSelectedItems']=angular[_0x1cd3('0x429')](_0x4ba8b7[_0x1cd3('0x492')]);_0x4ba8b7[_0x1cd3('0x1145')]['selectedItems']=_0x4ba8b7[_0x1cd3('0x492')];_0x4ba8b7[_0x1cd3('0x1145')][_0x1cd3('0x493')]=_[_0x1cd3('0x1152')](_0x4ba8b7[_0x1cd3('0x11ba')],_0x4ba8b7[_0x1cd3('0x1145')][_0x1cd3('0x492')],'id');_0xe498dd();})[_0x1cd3('0xfd')](function(_0x2b4a2d){_0x50a12d(_0x2b4a2d);});});}function _0x106288(){return _0x57f8c3(function(_0x20dd7d,_0x2cd9c2){return _0x3c3206[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x4ba8b7[_0x1cd3('0xd58')]['id'],'nolimit':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x172a24){_0x20dd7d(_0x172a24);})[_0x1cd3('0xfd')](function(_0x3ac4be){_0x2cd9c2(_0x3ac4be);});});}function _0xde4345(){return _0x57f8c3(function(_0x3d0ef2,_0x56e80d){return _0x3c3206[_0x4ba8b7[_0x1cd3('0x1873')]][_0x4ba8b7['getApi']]({'id':_0x4ba8b7[_0x1cd3('0x162d')]['id'],'fields':_0x1cd3('0xa6'),'nolimit':!![]})['$promise'][_0x1cd3('0x77')](function(_0x597cab){_0x3d0ef2(_0x597cab);})[_0x1cd3('0xfd')](function(_0x4c682d){_0x56e80d(_0x4c682d);});});}function _0x42334d(){return _0x57f8c3(function(_0x299a8a,_0x48db3c){return _0x3c3206[_0x1cd3('0xc8f')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'nolimit':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x4f64f5){_0x299a8a(_0x4f64f5);})['catch'](function(_0x372510){_0x48db3c(_0x372510);});});}function _0x45ea33(_0x5ddd5a){return _0x57f8c3(function(_0x4c8d6b,_0x47c6b7){if(_[_0x1cd3('0x398')](_0x5ddd5a)){_0x4c8d6b();}else{_0x3c3206[_0x4ba8b7[_0x1cd3('0x1873')]][_0x4ba8b7[_0x1cd3('0x1d79')]]({'id':_0x4ba8b7[_0x1cd3('0x162d')]['id'],'ids':_[_0x1cd3('0x3d9')](_0x5ddd5a,'id')})[_0x1cd3('0x81')]['then'](function(){_0x4c8d6b();})[_0x1cd3('0xfd')](function(_0x542cf2){_0x47c6b7(_0x542cf2);});}});}function _0x29684f(_0x557d92){return _0x57f8c3(function(_0x511d12,_0x4222fe){if(_[_0x1cd3('0x398')](_0x557d92)){_0x511d12();}else{_0x3c3206[_0x4ba8b7[_0x1cd3('0x1873')]][_0x4ba8b7['removeApi']]({'id':_0x4ba8b7[_0x1cd3('0x162d')]['id'],'ids':_[_0x1cd3('0x3d9')](_0x557d92,'id')})['$promise'][_0x1cd3('0x77')](function(){_0x511d12();})[_0x1cd3('0xfd')](function(_0x295822){_0x4222fe(_0x295822);});}});}function _0x34242f(){_0x4ba8b7['loading']=!![];var _0xdd70a=_[_0x1cd3('0x1152')](_0x4ba8b7[_0x1cd3('0x11be')],_0x4ba8b7[_0x1cd3('0x492')],'id');var _0x358bef=_[_0x1cd3('0x1152')](_0x4ba8b7['selectedItems'],_0x4ba8b7[_0x1cd3('0x11be')],'id');return _0x29684f(_0xdd70a)[_0x1cd3('0x77')](function(){return _0x45ea33(_0x358bef);})[_0x1cd3('0x77')](function(){_0x4ba8b7['pendingChanges']=![];_0x4ba8b7[_0x1cd3('0x11bb')]=angular[_0x1cd3('0x429')](_0x4ba8b7[_0x1cd3('0x11ba')]);_0x4ba8b7[_0x1cd3('0x11be')]=angular[_0x1cd3('0x429')](_0x4ba8b7['selectedItems']);_0x143633['success']({'title':'SUCCESS','msg':_0x1cd3('0x1d7a')});})['catch'](function(_0x4645ab){_0x143633[_0x1cd3('0x434')]({'title':_0x4645ab[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x4645ab[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x4645ab[_0x1cd3('0xd35')]:_0x1cd3('0x11ce'),'msg':_0x4645ab['status']?JSON[_0x1cd3('0x438')](_0x4645ab[_0x1cd3('0x439')]):_0x4645ab['toString']()});})[_0x1cd3('0x5dd')](function(){_0x4ba8b7[_0x1cd3('0x1d74')]=![];});;}function _0x2a3b58(){_0x5b3117[_0x1cd3('0x39d')]();}}}());(function(){'use strict';_0x5693d4[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),_0x1cd3('0x53e'),_0x1cd3('0x461'),_0x1cd3('0x370'),_0x1cd3('0x162d'),'queueCampaigns',_0x1cd3('0x3f7')];angular[_0x1cd3('0x0')](_0x1cd3('0x36'))['controller']('QueueCampaigncloneController',_0x5693d4);function _0x5693d4(_0xb51d13,_0x129017,_0x776b5c,_0x5b8b50,_0x46557e,_0x568a85,_0x810bd2){var _0x2d4174=this;_0x2d4174[_0x1cd3('0x1e0e')]=!![];_0x2d4174[_0x1cd3('0x162d')]=angular['copy'](_0x46557e);_0x2d4174[_0x1cd3('0x1634')]=_0x568a85;_0x2d4174['title']=_0x810bd2[_0x1cd3('0x44a')](_0x1cd3('0x1e24'));if(_0x46557e&&_0x46557e[_0x1cd3('0x98')]){_0x2d4174['title']+=':\x20'+_0x46557e[_0x1cd3('0x98')];}_0x2d4174['cloneQueueCampaign']=_0x1caaf1;_0x2d4174[_0x1cd3('0x39c')]=_0x361e09;function _0x1caaf1(){return _0x5b8b50['voiceQueue'][_0x1cd3('0x1141')]({'id':_0x46557e['id']},_0x2d4174[_0x1cd3('0x162d')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x75df53){_0x2d4174[_0x1cd3('0x1634')][_0x1cd3('0x621')](_0x75df53[_0x1cd3('0xd32')]());_0x776b5c['success']({'title':'QueueCampaign\x20properly\x20cloned','msg':_0x2d4174[_0x1cd3('0x162d')][_0x1cd3('0x98')]?_0x2d4174['queueCampaign'][_0x1cd3('0x98')]+_0x1cd3('0x1c30'):''});_0x129017['go'](_0x1cd3('0x1e25'),{'id':_0x75df53['id']});_0x361e09(_0x75df53);})[_0x1cd3('0xfd')](function(_0x553287){if(_0x553287['data']&&_0x553287[_0x1cd3('0x439')]['errors']&&_0x553287['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x2d4174['errors']=_0x553287[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x553287[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1e26')}];for(var _0x4e35e7=0x0;_0x4e35e7<_0x553287['data']['errors']['length'];_0x4e35e7+=0x1){_0x776b5c['error']({'title':_0x553287[_0x1cd3('0x439')]['errors'][_0x4e35e7][_0x1cd3('0x424')],'msg':_0x553287['data'][_0x1cd3('0xd34')][_0x4e35e7][_0x1cd3('0x43a')]});}}else{_0x776b5c[_0x1cd3('0x434')]({'title':_0x553287[_0x1cd3('0x3a6')]?'API:'+_0x553287['status']+_0x1cd3('0x436')+_0x553287['statusText']:_0x1cd3('0x1e26'),'msg':_0x553287['data']?JSON[_0x1cd3('0x438')](_0x553287[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x553287[_0x1cd3('0x43b')]()});}});}function _0x361e09(_0x2f4c80){_0xb51d13[_0x1cd3('0x39d')](_0x2f4c80);}}}());(function(){'use strict';_0x583084[_0x1cd3('0xc')]=[_0x1cd3('0x36f'),_0x1cd3('0x460'),_0x1cd3('0x53e'),'$q',_0x1cd3('0x3f7'),'$timeout',_0x1cd3('0x3c5'),_0x1cd3('0x372'),_0x1cd3('0x461'),_0x1cd3('0x370'),'Auth'];angular[_0x1cd3('0x0')]('app.motiondialer')[_0x1cd3('0x39b')]('QueueCampaignHopperBlacksController',_0x583084);function _0x583084(_0x409216,_0x116652,_0x32ad4d,_0x10f94c,_0x12f1d5,_0x259fb6,_0x3e7540,_0x5853b6,_0x2293ab,_0x2f4915,_0x54008d){var _0x29667f=this;_0x29667f[_0x1cd3('0x3ca')]=_0x54008d['getCurrentUser']();_0x29667f[_0x1cd3('0x162d')]={};_0x29667f[_0x1cd3('0x1e27')]={'count':0x0,'rows':[]};_0x29667f['selectedQueueCampaignHopperBlacks']=[];_0x29667f[_0x1cd3('0xd27')];_0x29667f[_0x1cd3('0x3d4')]={'fields':_0x1cd3('0x1d83'),'sort':_0x1cd3('0x1479'),'limit':0xa,'page':0x1};_0x29667f[_0x1cd3('0xe08')]=_0x49fc15;_0x29667f['deleteConfirm']=_0xac3be1;_0x29667f['success']=_0x3eceec;_0x29667f['getQueueCampaignHopperBlacks']=_0x193a7c;_0x29667f[_0x1cd3('0x1e28')]=_0x3e665c;_0x29667f[_0x1cd3('0x1e29')]=_0x51fdc1;_0x29667f['deleteQueueCampaignHopperBlack']=_0x576ebb;_0x29667f[_0x1cd3('0x1e2a')]=_0x57ed00;function _0x49fc15(_0x267780,_0x14967d){_0x29667f[_0x1cd3('0x162d')]=_0x267780;_0x29667f[_0x1cd3('0xd27')]=typeof _0x14967d!==_0x1cd3('0x491')?_0x14967d:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x29667f[_0x1cd3('0x3d4')]['VoiceQueueId']=_0x29667f['queueCampaign']['id'];_0x29667f['query']['id']=_0x29667f['queueCampaign']['id'];_0x193a7c();}function _0xac3be1(_0x18179b,_0xed55f1){var _0xc2f6f6=_0x3e7540[_0x1cd3('0xd39')]()['title'](_0x1cd3('0x1d88'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+(_0x18179b[_0x1cd3('0x98')]||_0x18179b['id']&&_[_0x1cd3('0x12bc')](_0x1cd3('0x1d89'))+_0x18179b['id']||'hopperBlack')+_0x1cd3('0xd52')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x1e2b'))[_0x1cd3('0xd63')](_0xed55f1)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x3e7540[_0x1cd3('0x37e')](_0xc2f6f6)[_0x1cd3('0x77')](function(){_0x576ebb(_0x18179b);},function(){console[_0x1cd3('0x7d')]('CANCEL');});}function _0x3eceec(_0x1bb071){_0x29667f[_0x1cd3('0x1e27')]=_0x1bb071||{'count':0x0,'rows':[]};}function _0x193a7c(){_0x29667f[_0x1cd3('0x3d4')]['offset']=(_0x29667f['query'][_0x1cd3('0x8fd')]-0x1)*_0x29667f[_0x1cd3('0x3d4')]['limit'];_0x29667f['promise']=_0x2f4915[_0x1cd3('0xa48')][_0x1cd3('0x1d8b')](_0x29667f[_0x1cd3('0x3d4')],_0x3eceec)[_0x1cd3('0x81')];}function _0x3e665c(_0x41b2ac,_0x1c1651){_0x3e7540[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1e2c'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1e2d'),'parent':angular['element'](_0x5853b6['body']),'targetEvent':_0x41b2ac,'clickOutsideToClose':!![],'locals':{'queueCampaign':_0x29667f[_0x1cd3('0x162d')],'hopperBlack':_0x1c1651,'hopperBlacks':_0x29667f[_0x1cd3('0x1e27')][_0x1cd3('0xf6')],'license':null,'setting':null,'crudPermissions':_0x29667f[_0x1cd3('0xd27')]}});}function _0x576ebb(_0x556574){_0x2f4915[_0x1cd3('0x1d8a')][_0x1cd3('0xa1c')]({'id':_0x556574['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x29667f[_0x1cd3('0x1e27')][_0x1cd3('0xf6')],{'id':_0x556574['id']});_0x29667f[_0x1cd3('0x1e27')][_0x1cd3('0x466')]-=0x1;if(!_0x29667f['queueCampaignHopperBlacks'][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){_0x193a7c();}_0x2293ab[_0x1cd3('0x473')]({'title':_0x1cd3('0x1d8d'),'msg':_0x556574[_0x1cd3('0x98')]?_0x556574[_0x1cd3('0x98')]+_0x1cd3('0xd41'):''});})[_0x1cd3('0xfd')](function(_0x51d7b6){if(_0x51d7b6['data']&&_0x51d7b6['data']['errors']&&_0x51d7b6[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length']){vm[_0x1cd3('0xd34')]=_0x51d7b6[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x51d7b6['toString'](),'type':_0x1cd3('0x1da2')}];for(var _0x379117=0x0;_0x379117<_0x51d7b6['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x379117++){_0x2293ab['error']({'title':_0x51d7b6['data'][_0x1cd3('0xd34')][_0x379117][_0x1cd3('0x424')],'msg':_0x51d7b6['data'][_0x1cd3('0xd34')][_0x379117][_0x1cd3('0x43a')]});}}else{_0x2293ab[_0x1cd3('0x434')]({'title':_0x51d7b6[_0x1cd3('0x3a6')]?'API:'+_0x51d7b6[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x51d7b6[_0x1cd3('0xd35')]:_0x1cd3('0x1da2'),'msg':_0x51d7b6['data']?JSON['stringify'](_0x51d7b6[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x51d7b6[_0x1cd3('0x43a')]||_0x51d7b6[_0x1cd3('0x43b')]()});}});}function _0x51fdc1(){var _0x23f7f9=angular['copy'](_0x29667f[_0x1cd3('0x1e2e')]);_0x29667f[_0x1cd3('0x1e2e')]=[];return _0x23f7f9;}function _0x57ed00(_0x54da0c){var _0xe9eabb=_0x3e7540[_0x1cd3('0xd39')]()['title'](_0x1cd3('0x1e2f'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x29667f[_0x1cd3('0x1e2e')]['length']+_0x1cd3('0xd61')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x1d8f'))['targetEvent'](_0x54da0c)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x3e7540[_0x1cd3('0x37e')](_0xe9eabb)[_0x1cd3('0x77')](function(){_0x29667f[_0x1cd3('0x1e2e')][_0x1cd3('0x394')](function(_0x50e317){_0x576ebb(_0x50e317);});_0x29667f[_0x1cd3('0x1e2e')]=[];});}var _0x11fbc0=!![];var _0x22e4fc=0x1;_0x116652['$watch'](_0x1cd3('0x1340'),function(_0x329228,_0x1eb5ab){if(_0x11fbc0){_0x259fb6(function(){_0x11fbc0=![];});}else{if(!_0x1eb5ab){_0x22e4fc=_0x29667f[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0x329228!==_0x1eb5ab){_0x29667f[_0x1cd3('0x3d4')]['page']=0x1;}if(!_0x329228){_0x29667f[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0x22e4fc;}_0x193a7c();}});}}());(function(){'use strict';_0x4562c3[_0x1cd3('0xc')]=[_0x1cd3('0x36f'),_0x1cd3('0x460'),_0x1cd3('0x53e'),'$q',_0x1cd3('0x3f7'),_0x1cd3('0x3e7'),_0x1cd3('0x3c5'),_0x1cd3('0x372'),_0x1cd3('0x461'),_0x1cd3('0x370'),_0x1cd3('0x56')];angular[_0x1cd3('0x0')](_0x1cd3('0x36'))[_0x1cd3('0x39b')](_0x1cd3('0x1e30'),_0x4562c3);function _0x4562c3(_0x2bd8a4,_0x3343da,_0x1845ae,_0x11bbc0,_0x2c868a,_0x17954d,_0x40d89a,_0x131488,_0x140a5c,_0x749e6b,_0x5d07d3){var _0x53c8a2=this;_0x53c8a2[_0x1cd3('0x3ca')]=_0x5d07d3[_0x1cd3('0x5d')]();_0x53c8a2['contacts']={};_0x53c8a2['queueCampaign']={};_0x53c8a2[_0x1cd3('0x1e31')]={'count':0x0,'rows':[]};_0x53c8a2[_0x1cd3('0x1e32')]=[];_0x53c8a2[_0x1cd3('0xd27')];_0x53c8a2[_0x1cd3('0x3d4')]={'fields':'createdAt,updatedAt,uniqueid,ContactId,calleridnum,calleridname,statedesc,countcongestionretry,countbusyretry,countnoanswerretry,countnosuchnumberretry,countdropretry,countabandonedretry,countmachineretry,countagentrejectretry,countglobal,scheduledat,starttime,responsetime,endtime,disposition,ListId,UserId,VoiceQueueId,CampaignId,recallme,deleted,campaign','sort':'-id','limit':0xa,'page':0x1};_0x53c8a2[_0x1cd3('0xe08')]=_0x1768d7;_0x53c8a2[_0x1cd3('0xe0a')]=_0x6fcc80;_0x53c8a2[_0x1cd3('0x473')]=_0x39374d;_0x53c8a2[_0x1cd3('0x1e33')]=_0x325ee3;_0x53c8a2[_0x1cd3('0x1e34')]=_0x21595f;_0x53c8a2['exportSelectedQueueCampaignHopperFinals']=_0x56055e;_0x53c8a2[_0x1cd3('0x1e35')]=_0xa06786;_0x53c8a2[_0x1cd3('0x1e36')]=_0x1689b3;_0x53c8a2['moveQueueCampaignHopperFinal']=_0x552b54;_0x53c8a2[_0x1cd3('0x1e37')]=_0x102c64;_0x53c8a2[_0x1cd3('0x1e38')]=_0x58dd31;_0x53c8a2[_0x1cd3('0x1d97')]=_0x1ea103;_0x53c8a2[_0x1cd3('0x1e39')]=_0x3ad23b;function _0x1768d7(_0x11031f,_0xa91ebd){_0x53c8a2[_0x1cd3('0x162d')]=_0x11031f;_0x53c8a2[_0x1cd3('0xd27')]=typeof _0xa91ebd!==_0x1cd3('0x491')?_0xa91ebd:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x53c8a2['query'][_0x1cd3('0x1798')]=_0x53c8a2['queueCampaign']['id'];_0x53c8a2['query']['id']=_0x53c8a2['queueCampaign']['id'];_0x325ee3();}function _0x6fcc80(_0x288951,_0x14fb7b){var _0x5473b6=_0x40d89a[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x1d99'))['htmlContent']('<b>'+(_0x288951[_0x1cd3('0x98')]||_0x288951['id']&&_[_0x1cd3('0x12bc')](_0x1cd3('0x1e3a'))+_0x288951['id']||_0x1cd3('0x1d9a'))+_0x1cd3('0xd52')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x1d9b'))[_0x1cd3('0xd63')](_0x14fb7b)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x40d89a[_0x1cd3('0x37e')](_0x5473b6)[_0x1cd3('0x77')](function(){_0xa06786(_0x288951);},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}function _0x39374d(_0x5b5d9a){_0x53c8a2['queueCampaignHopperFinals']=_0x5b5d9a||{'count':0x0,'rows':[]};}function _0x325ee3(){_0x53c8a2[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0x53c8a2['query'][_0x1cd3('0x8fd')]-0x1)*_0x53c8a2[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];_0x53c8a2['promise']=_0x749e6b[_0x1cd3('0xa48')]['getHopperFinals'](_0x53c8a2['query'],_0x39374d)[_0x1cd3('0x81')];}function _0x21595f(_0x2fac81,_0x4d57c1){_0x40d89a[_0x1cd3('0x37e')]({'controller':'CreateOrEditHopperFinalDialogController','controllerAs':'vm','templateUrl':'app/main/apps/motiondialer/views/queueCampaigns/edit/hopperFinals/dialog.html','parent':angular[_0x1cd3('0x37f')](_0x131488['body']),'targetEvent':_0x2fac81,'clickOutsideToClose':!![],'locals':{'queueCampaign':_0x53c8a2[_0x1cd3('0x162d')],'hopperFinal':_0x4d57c1,'hopperFinals':_0x53c8a2[_0x1cd3('0x1e31')]['rows'],'license':null,'setting':null,'crudPermissions':_0x53c8a2[_0x1cd3('0xd27')]}});}function _0xa06786(_0x697dcb){_0x749e6b['hopperFinal'][_0x1cd3('0xa1c')]({'id':_0x697dcb['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x53c8a2[_0x1cd3('0x1e31')][_0x1cd3('0xf6')],{'id':_0x697dcb['id']});_0x53c8a2[_0x1cd3('0x1e31')][_0x1cd3('0x466')]-=0x1;if(!_0x53c8a2[_0x1cd3('0x1e31')][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){_0x325ee3();}_0x140a5c[_0x1cd3('0x473')]({'title':_0x1cd3('0x1d9e'),'msg':_0x697dcb[_0x1cd3('0x98')]?_0x697dcb[_0x1cd3('0x98')]+_0x1cd3('0xd41'):''});})[_0x1cd3('0xfd')](function(_0x5c0376){if(_0x5c0376[_0x1cd3('0x439')]&&_0x5c0376['data']['errors']&&_0x5c0376[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){vm['errors']=_0x5c0376[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x5c0376[_0x1cd3('0x43b')](),'type':'SYSTEM:GETvoiceQueue'}];for(var _0x24f7d9=0x0;_0x24f7d9<_0x5c0376['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x24f7d9++){_0x140a5c[_0x1cd3('0x434')]({'title':_0x5c0376[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x24f7d9][_0x1cd3('0x424')],'msg':_0x5c0376[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x24f7d9][_0x1cd3('0x43a')]});}}else{_0x140a5c[_0x1cd3('0x434')]({'title':_0x5c0376[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x5c0376[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x5c0376[_0x1cd3('0xd35')]:_0x1cd3('0x1da2'),'msg':_0x5c0376[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x5c0376[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x5c0376[_0x1cd3('0x43a')]||_0x5c0376['toString']()});}});}function _0x56055e(){var _0x2fdbfc=angular[_0x1cd3('0x429')](_0x53c8a2[_0x1cd3('0x1e32')]);_0x53c8a2[_0x1cd3('0x1e32')]=[];return _0x2fdbfc;}function _0x1689b3(_0x34a07d){var _0x36b69e=_0x40d89a[_0x1cd3('0xd39')]()[_0x1cd3('0x486')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20hopperFinals?')[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x53c8a2['selectedQueueCampaignHopperFinals'][_0x1cd3('0x7a')]+_0x1cd3('0xd61')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x1da0'))[_0x1cd3('0xd63')](_0x34a07d)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x40d89a['show'](_0x36b69e)[_0x1cd3('0x77')](function(){_0x53c8a2['selectedQueueCampaignHopperFinals'][_0x1cd3('0x394')](function(_0x477857){_0xa06786(_0x477857);});_0x53c8a2['selectedQueueCampaignHopperFinals']=[];});}function _0x102c64(_0x30a2fc){_0x749e6b[_0x1cd3('0xb4d')][_0x1cd3('0x1e37')]({'id':_0x53c8a2[_0x1cd3('0x3d4')]['id'],'state':_0x30a2fc})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x2ebb79){if(_[_0x1cd3('0x472')](_0x2ebb79)&&_[_0x1cd3('0x472')](_0x2ebb79[0x0])){_0x140a5c[_0x1cd3('0x654')]({'title':_0x1cd3('0x1da1'),'msg':'0'});}else{_0x140a5c['info']({'title':_0x1cd3('0x1da1'),'msg':JSON[_0x1cd3('0x438')](_0x2ebb79[0x0][_0x1cd3('0x14bb')])});}})[_0x1cd3('0xfd')](function(_0x573a9f){_0x140a5c[_0x1cd3('0x434')]({'title':_0x573a9f['status']?'API:'+_0x573a9f[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x573a9f[_0x1cd3('0xd35')]:_0x1cd3('0x1da2'),'msg':_0x573a9f[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x573a9f[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x573a9f[_0x1cd3('0x43a')]||_0x573a9f['toString']()});});}function _0x58dd31(_0x59792b){_0x749e6b[_0x1cd3('0xb4d')][_0x1cd3('0x1e38')]({'id':_0x59792b})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x16d76c){_[_0x1cd3('0xf2')](_0x53c8a2[_0x1cd3('0x141d')],_0x16d76c[0x0]);})[_0x1cd3('0xfd')](function(_0x3b260d){_0x140a5c['error']({'title':_0x3b260d['status']?_0x1cd3('0x435')+_0x3b260d[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x3b260d[_0x1cd3('0xd35')]:_0x1cd3('0x1da2'),'msg':_0x3b260d['data']?JSON['stringify'](_0x3b260d[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x3b260d[_0x1cd3('0x43a')]||_0x3b260d[_0x1cd3('0x43b')]()});});}function _0x3ad23b(_0xe84d1d){var _0x1e5488=_0x40d89a[_0x1cd3('0xd39')]()['title']('Are\x20you\x20sure\x20want\x20to\x20restore\x20the\x20selected\x20contacts?')[_0x1cd3('0xd60')](_0x1cd3('0x1e3b')+_0x1cd3('0x1da6'))[_0x1cd3('0xd3d')](_0x1cd3('0x1da4'))[_0x1cd3('0xd63')](_0xe84d1d)['ok']('OK')['cancel'](_0x1cd3('0xd55'));_0x40d89a[_0x1cd3('0x37e')](_0x1e5488)['then'](function(){_0x53c8a2['selectedQueueCampaignHopperFinals']['forEach'](function(_0x6228e6){_0x552b54(_0x6228e6);});_0x53c8a2[_0x1cd3('0x1e32')]=[];});}function _0x1ea103(_0x5165d3,_0x5bfb3b){var _0x3306db=_0x40d89a[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x1da5'))[_0x1cd3('0xd60')]('<b>'+'Contact'+_0x1cd3('0xd52')+_0x1cd3('0x1da6'))[_0x1cd3('0xd3d')](_0x1cd3('0x1da7'))['targetEvent'](_0x5bfb3b)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x40d89a[_0x1cd3('0x37e')](_0x3306db)[_0x1cd3('0x77')](function(){_0x552b54(_0x5165d3);},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}function _0x2d5025(_0x463316){var _0x29fef5={};_0x29fef5[_0x1cd3('0xf09')]=_0x463316[_0x1cd3('0x15ae')];_0x29fef5[_0x1cd3('0x14ad')]=moment()[_0x1cd3('0x130')](_0x1cd3('0x377'));_0x29fef5[_0x1cd3('0x1da8')]=0x0;_0x29fef5[_0x1cd3('0x1da9')]=0x0;_0x29fef5[_0x1cd3('0x1daa')]=0x0;_0x29fef5['countglobal']=0x0;_0x29fef5[_0x1cd3('0x1615')]=_0x463316[_0x1cd3('0x1615')];_0x29fef5[_0x1cd3('0x106')]=_0x463316[_0x1cd3('0x106')];_0x29fef5[_0x1cd3('0x1226')]=_0x463316[_0x1cd3('0x1dac')]?null:_0x463316[_0x1cd3('0x1226')];_0x29fef5[_0x1cd3('0x1798')]=_0x463316['VoiceQueueId'];_0x29fef5[_0x1cd3('0x1d87')]=_0x463316[_0x1cd3('0x1d87')];_0x29fef5[_0x1cd3('0xf0c')]=_0x463316[_0x1cd3('0x162c')]?0x3:0x2;_0x29fef5['recallme']=_0x463316[_0x1cd3('0x162c')]?!![]:![];return _0x29fef5;}function _0x19c3ae(_0x10c26c){var _0x1a0d86={};_0x1a0d86[_0x1cd3('0x15ae')]=_0x10c26c[_0x1cd3('0x15ae')];_0x1a0d86[_0x1cd3('0x15ba')]=_0x10c26c[_0x1cd3('0x15ba')];_0x1a0d86[_0x1cd3('0x14ad')]=moment()[_0x1cd3('0x130')](_0x1cd3('0x377'));_0x1a0d86['countbusyretry']=_0x10c26c[_0x1cd3('0x1da8')];_0x1a0d86['countcongestionretry']=_0x10c26c[_0x1cd3('0x1da9')];_0x1a0d86[_0x1cd3('0x1daa')]=_0x10c26c[_0x1cd3('0x1daa')];_0x1a0d86[_0x1cd3('0x1dab')]=_0x10c26c['countglobal'];_0x1a0d86['ContactId']=_0x10c26c[_0x1cd3('0x1615')];_0x1a0d86['ListId']=_0x10c26c[_0x1cd3('0x106')];_0x1a0d86['UserId']=_0x5d07d3['getCurrentUser']()['id'];_0x1a0d86[_0x1cd3('0x1798')]=_0x10c26c[_0x1cd3('0x1798')];_0x1a0d86[_0x1cd3('0x1d87')]=_0x10c26c['CampaignId'];_0x1a0d86[_0x1cd3('0x1dad')]=moment()[_0x1cd3('0x130')](_0x1cd3('0x377'));_0x1a0d86[_0x1cd3('0x1dae')]=!![];_0x1a0d86[_0x1cd3('0x19')]=0x19;_0x1a0d86[_0x1cd3('0x1daf')]=_0x1cd3('0x1db0');_0x1a0d86['campaign']=_0x10c26c[_0x1cd3('0xc69')];_0x1a0d86[_0x1cd3('0x1db1')]=_0x10c26c['VoiceQueueId']?_0x1cd3('0x1220'):_0x1cd3('0x208');return _0x1a0d86;}function _0x552b54(_0x47631a){_0x749e6b[_0x1cd3('0xb4d')][_0x1cd3('0x1db2')](_0x47631a)[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x50c8fc){_0x140a5c[_0x1cd3('0x654')]({'title':'The\x20contact\x20is\x20in\x20the\x20hopper','msg':_0x1cd3('0x1db4')+_0x50c8fc[_0x1cd3('0x1615')]});})['catch'](function(_0x55188f){if(_0x55188f[_0x1cd3('0x439')]===_0x1cd3('0x1e3c')){_0x749e6b[_0x1cd3('0xb47')]['save'](_0x2d5025(_0x47631a))[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x3a82c0){_0x140a5c[_0x1cd3('0x654')]({'title':_0x1cd3('0x1db5'),'msg':_0x1cd3('0x1db4')+_0x3a82c0[_0x1cd3('0x1615')]});if(_0x3a82c0[_0x1cd3('0x1615')]){_0x749e6b[_0x1cd3('0xe15')][_0x1cd3('0xd6d')](_0x19c3ae(_0x47631a));}})[_0x1cd3('0xfd')](function(_0x2f723e){if(!_['isNil'](_0x2f723e[_0x1cd3('0x439')])&&_0x2f723e[_0x1cd3('0x439')][_0x1cd3('0x43a')]===_0x1cd3('0x1db6')){_0x140a5c[_0x1cd3('0x654')]({'title':_0x1cd3('0x1db3'),'msg':'Contact\x20ID\x20'+_0x47631a[_0x1cd3('0x1615')]});}else{_0x140a5c['error']({'title':_0x2f723e[_0x1cd3('0x3a6')]?'API:'+_0x2f723e[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x2f723e[_0x1cd3('0xd35')]:_0x1cd3('0x1da2'),'msg':_0x2f723e['data']?JSON[_0x1cd3('0x438')](_0x2f723e[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x2f723e[_0x1cd3('0x43a')]||_0x2f723e[_0x1cd3('0x43b')]()});}});}else{_0x140a5c[_0x1cd3('0x434')]({'title':_0x55188f[_0x1cd3('0x3a6')]?'API:'+_0x55188f[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x55188f[_0x1cd3('0xd35')]:'SYSTEM:GETvoiceQueue','msg':_0x55188f[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x55188f['data'][_0x1cd3('0x43a')]):_0x55188f[_0x1cd3('0x43a')]||_0x55188f[_0x1cd3('0x43b')]()});}});}var _0x3e0fba=!![];var _0x15be32=0x1;_0x3343da['$watch'](_0x1cd3('0x1340'),function(_0x19cf96,_0x4ca321){if(_0x3e0fba){_0x17954d(function(){_0x3e0fba=![];});}else{if(!_0x4ca321){_0x15be32=_0x53c8a2['query'][_0x1cd3('0x8fd')];}if(_0x19cf96!==_0x4ca321){_0x53c8a2[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}if(!_0x19cf96){_0x53c8a2[_0x1cd3('0x3d4')]['page']=_0x15be32;}_0x325ee3();}});}}());(function(){'use strict';_0x10c7e6['$inject']=[_0x1cd3('0x36f'),'$scope',_0x1cd3('0x53e'),'$q',_0x1cd3('0x3f7'),_0x1cd3('0x3e7'),_0x1cd3('0x3c5'),_0x1cd3('0x372'),_0x1cd3('0x461'),'api','Auth'];angular[_0x1cd3('0x0')](_0x1cd3('0x36'))[_0x1cd3('0x39b')](_0x1cd3('0x1e3d'),_0x10c7e6);function _0x10c7e6(_0x3decd9,_0x3f2e9d,_0x209461,_0x16afb3,_0xf9215,_0x28c1d6,_0x368e43,_0x59d37c,_0x5894d5,_0x139159,_0x2f17d9){var _0x3d5dc9=this;_0x3d5dc9['currentUser']=_0x2f17d9[_0x1cd3('0x5d')]();_0x3d5dc9['queueCampaign']={};_0x3d5dc9[_0x1cd3('0x1e3e')]={'count':0x0,'rows':[]};_0x3d5dc9[_0x1cd3('0x1e3f')]=[];_0x3d5dc9[_0x1cd3('0xd27')];_0x3d5dc9[_0x1cd3('0x3d4')]={'fields':'createdAt,updatedAt,uniqueid,ContactId,calleridnum,calleridname,statedesc,scheduledat,starttime,responsetime,endtime','sort':'-id','limit':0xa,'page':0x1};_0x3d5dc9[_0x1cd3('0xe08')]=_0x46b454;_0x3d5dc9[_0x1cd3('0xe0a')]=_0x1d2b8e;_0x3d5dc9[_0x1cd3('0x473')]=_0x23a18f;_0x3d5dc9['getQueueCampaignHopperHistories']=_0x5b7814;_0x3d5dc9['createOrEditQueueCampaignHopperHistory']=_0x4cfc64;_0x3d5dc9[_0x1cd3('0x1e40')]=_0x1a8d5e;_0x3d5dc9[_0x1cd3('0x1e41')]=_0x25be7d;_0x3d5dc9[_0x1cd3('0x1e42')]=_0x36e525;function _0x46b454(_0x22fc15,_0x5d63d4){_0x3d5dc9['queueCampaign']=_0x22fc15;_0x3d5dc9['crudPermissions']=typeof _0x5d63d4!=='undefined'?_0x5d63d4:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x3d5dc9[_0x1cd3('0x3d4')][_0x1cd3('0x1798')]=_0x3d5dc9[_0x1cd3('0x162d')]['id'];_0x3d5dc9[_0x1cd3('0x3d4')]['id']=_0x3d5dc9[_0x1cd3('0x162d')]['id'];_0x5b7814();}function _0x1d2b8e(_0x1f7243,_0x4c46aa){var _0x4739d=_0x368e43[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x1e43'))[_0x1cd3('0xd60')]('<b>'+(_0x1f7243['name']||_0x1f7243['id']&&_[_0x1cd3('0x12bc')](_0x1cd3('0x1dbf'))+_0x1f7243['id']||_0x1cd3('0x1dc0'))+_0x1cd3('0xd52')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x1dc1'))['targetEvent'](_0x4c46aa)['ok']('OK')[_0x1cd3('0x4d8')]('CANCEL');_0x368e43[_0x1cd3('0x37e')](_0x4739d)[_0x1cd3('0x77')](function(){_0x25be7d(_0x1f7243);},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}function _0x23a18f(_0x57d6d2){_0x3d5dc9['queueCampaignHopperHistories']=_0x57d6d2||{'count':0x0,'rows':[]};}function _0x5b7814(){_0x3d5dc9[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0x3d5dc9['query'][_0x1cd3('0x8fd')]-0x1)*_0x3d5dc9[_0x1cd3('0x3d4')]['limit'];_0x3d5dc9[_0x1cd3('0x539')]=_0x139159[_0x1cd3('0xa48')]['getHopperHistories'](_0x3d5dc9[_0x1cd3('0x3d4')],_0x23a18f)[_0x1cd3('0x81')];}function _0x4cfc64(_0x3856d8,_0x4f23fa){_0x368e43['show']({'controller':_0x1cd3('0x1dc2'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1e44'),'parent':angular[_0x1cd3('0x37f')](_0x59d37c['body']),'targetEvent':_0x3856d8,'clickOutsideToClose':!![],'locals':{'queueCampaign':_0x3d5dc9[_0x1cd3('0x162d')],'hopperHistory':_0x4f23fa,'hopperHistories':_0x3d5dc9[_0x1cd3('0x1e3e')][_0x1cd3('0xf6')],'license':null,'setting':null,'crudPermissions':_0x3d5dc9[_0x1cd3('0xd27')]}});}function _0x25be7d(_0x48d511){_0x139159[_0x1cd3('0x1dc0')]['delete']({'id':_0x48d511['id']})['$promise']['then'](function(){_[_0x1cd3('0x383')](_0x3d5dc9[_0x1cd3('0x1e3e')][_0x1cd3('0xf6')],{'id':_0x48d511['id']});_0x3d5dc9[_0x1cd3('0x1e3e')][_0x1cd3('0x466')]-=0x1;if(!_0x3d5dc9[_0x1cd3('0x1e3e')][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){_0x5b7814();}_0x5894d5[_0x1cd3('0x473')]({'title':'HopperHistory\x20deleted!','msg':_0x48d511[_0x1cd3('0x98')]?_0x48d511[_0x1cd3('0x98')]+_0x1cd3('0xd41'):''});})[_0x1cd3('0xfd')](function(_0x2b56e5){if(_0x2b56e5[_0x1cd3('0x439')]&&_0x2b56e5['data']['errors']&&_0x2b56e5['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){vm['errors']=_0x2b56e5[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x2b56e5[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1da2')}];for(var _0x41dbc5=0x0;_0x41dbc5<_0x2b56e5[_0x1cd3('0x439')]['errors']['length'];_0x41dbc5++){_0x5894d5['error']({'title':_0x2b56e5['data'][_0x1cd3('0xd34')][_0x41dbc5]['type'],'msg':_0x2b56e5['data'][_0x1cd3('0xd34')][_0x41dbc5][_0x1cd3('0x43a')]});}}else{_0x5894d5[_0x1cd3('0x434')]({'title':_0x2b56e5[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x2b56e5[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x2b56e5[_0x1cd3('0xd35')]:'SYSTEM:GETvoiceQueue','msg':_0x2b56e5[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x2b56e5['data'][_0x1cd3('0x43a')]):_0x2b56e5[_0x1cd3('0x43a')]||_0x2b56e5[_0x1cd3('0x43b')]()});}});}function _0x1a8d5e(){var _0x112205=angular[_0x1cd3('0x429')](_0x3d5dc9[_0x1cd3('0x1e3f')]);_0x3d5dc9[_0x1cd3('0x1e3f')]=[];return _0x112205;}function _0x36e525(_0x32be56){var _0x97fd97=_0x368e43[_0x1cd3('0xd39')]()['title'](_0x1cd3('0x1e45'))[_0x1cd3('0xd60')]('<b>'+_0x3d5dc9[_0x1cd3('0x1e3f')][_0x1cd3('0x7a')]+_0x1cd3('0xd61')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x1e46'))[_0x1cd3('0xd63')](_0x32be56)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x368e43[_0x1cd3('0x37e')](_0x97fd97)['then'](function(){_0x3d5dc9[_0x1cd3('0x1e3f')][_0x1cd3('0x394')](function(_0x32a86e){_0x25be7d(_0x32a86e);});_0x3d5dc9['selectedQueueCampaignHopperHistories']=[];});}var _0x205f6a=!![];var _0xcc0b0=0x1;_0x3f2e9d[_0x1cd3('0x4d6')]('vm_dc.query.filter',function(_0x3e1a16,_0x28b92e){if(_0x205f6a){_0x28c1d6(function(){_0x205f6a=![];});}else{if(!_0x28b92e){_0xcc0b0=_0x3d5dc9[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0x3e1a16!==_0x28b92e){_0x3d5dc9[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}if(!_0x3e1a16){_0x3d5dc9[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0xcc0b0;}_0x5b7814();}});}}());(function(){'use strict';_0xe2de3e[_0x1cd3('0xc')]=[_0x1cd3('0x36f'),_0x1cd3('0x460'),_0x1cd3('0x53e'),'$q','$translate',_0x1cd3('0x3e7'),_0x1cd3('0x3c5'),_0x1cd3('0x372'),_0x1cd3('0x461'),_0x1cd3('0x370'),_0x1cd3('0x56')];angular['module'](_0x1cd3('0x36'))[_0x1cd3('0x39b')](_0x1cd3('0x1e47'),_0xe2de3e);function _0xe2de3e(_0x28ded4,_0x3e114a,_0x4f65fb,_0x4d7829,_0xa59adb,_0x3350a4,_0x24de16,_0x57732c,_0x1eb594,_0x3ead0f,_0x1170e0){var _0x4424c5=this;_0x4424c5[_0x1cd3('0x3ca')]=_0x1170e0[_0x1cd3('0x5d')]();_0x4424c5['queueCampaign']={};_0x4424c5['queueCampaignHoppers']={'count':0x0,'rows':[]};_0x4424c5['selectedQueueCampaignHoppers']=[];_0x4424c5['crudPermissions'];_0x4424c5['query']={'fields':'createdAt,updatedAt,id,ContactId,phone,countcongestionretry,countbusyretry,countnoanswerretry,countnosuchnumberretry,countdropretry,countabandonedretry,countmachineretry,countagentrejectretry,scheduledat,priority,recallme,UserId','sort':_0x1cd3('0x5b'),'limit':0xa,'page':0x1};_0x4424c5[_0x1cd3('0x1474')]=_[_0x1cd3('0xe2d')]([{'option':_0x1cd3('0xf41'),'value':'\x274\x27'},{'option':_0x1cd3('0xf42'),'value':_0x1cd3('0x1476')},{'option':_0x1cd3('0xf43'),'value':_0x1cd3('0x1477')},{'option':_0x1cd3('0xf44'),'value':_0x1cd3('0x1478')},{'option':_0x1cd3('0xf45'),'value':_0x1cd3('0x1dc5')}],function(_0x4879fc){return _[_0x1cd3('0x3f1')](_0x4879fc[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x4424c5['init']=_0xabf0eb;_0x4424c5[_0x1cd3('0xe0a')]=_0x2c88e3;_0x4424c5['success']=_0x49a8f1;_0x4424c5[_0x1cd3('0x1e48')]=_0x2f1e7d;_0x4424c5[_0x1cd3('0x1796')]=_0x53d103;_0x4424c5['exportSelectedQueueCampaignHoppers']=_0x511318;_0x4424c5['deleteQueueCampaignHopper']=_0x3bbff0;_0x4424c5['deleteSelectedQueueCampaignHoppers']=_0x3d59ed;_0x1170e0[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x3ead0f[_0x1cd3('0x368')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'role':_0x1cd3('0xd2'),'sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x43492e){_0x4424c5[_0x1cd3('0x1228')]=_0x43492e[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x486cbd){_0x1eb594[_0x1cd3('0x434')]({'title':_0x486cbd[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x486cbd[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x486cbd[_0x1cd3('0xd35')]:'SYSTEM:GET_AGENTS','msg':_0x486cbd[_0x1cd3('0x439')]?JSON['stringify'](_0x486cbd[_0x1cd3('0x439')]):_0x486cbd['toString']()});}):_0x3ead0f[_0x1cd3('0x368')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'role':_0x1cd3('0xd2'),'sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x24b9a7){_0x4424c5[_0x1cd3('0x1228')]=_0x24b9a7[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x3ead0f[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x4424c5[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0xca})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x3b8009){var _0x5018ea=_0x3b8009&&_0x3b8009[_0x1cd3('0xf6')]?_0x3b8009[_0x1cd3('0xf6')][0x0]:null;if(!_0x5018ea){var _0x58ead3=[];var _0x3138de=null;if(_0x4424c5[_0x1cd3('0x162d')]){_0x3138de=_[_0x1cd3('0x442')](_0x4424c5['agents'],{'id':Number(_0x4424c5[_0x1cd3('0x162d')][_0x1cd3('0x1226')])});}for(var _0x101944=0x0;_0x101944<_0x4424c5[_0x1cd3('0x1228')][_0x1cd3('0x7a')];_0x101944++){if(_0x3138de&&_0x4424c5['agents'][_0x101944]['id']===_0x3138de['id']){_0x4424c5[_0x1cd3('0x1228')][_0x101944]['canSelect']=![];_0x58ead3[_0x1cd3('0x7b')](_0x4424c5['agents'][_0x101944]);}}_0x4424c5[_0x1cd3('0x1228')]=_0x58ead3;}else{if(!_0x5018ea[_0x1cd3('0x391')]){return _0x3ead0f['userProfileResource'][_0x1cd3('0x361')]({'sectionId':_0x5018ea['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x5f4a53){var _0x188d06=_['map'](_0x5f4a53[_0x1cd3('0xf6')],function(_0x57cb0d){return _[_0x1cd3('0x442')](_0x4424c5[_0x1cd3('0x1228')],{'id':_0x57cb0d[_0x1cd3('0xe8e')]});});var _0x586e48=null;if(_0x4424c5[_0x1cd3('0x162d')]){_0x586e48=_['find'](_0x4424c5[_0x1cd3('0x1228')],{'id':Number(_0x4424c5['queueCampaign'][_0x1cd3('0x1226')])});}if(_0x586e48&&!_[_0x1cd3('0x38d')](_0x188d06,['id',_0x586e48['id']])){var _0x553fd7=_[_0x1cd3('0x442')](_0x4424c5[_0x1cd3('0x1228')],{'id':_0x586e48['id']});_0x553fd7['canSelect']=![];_0x188d06[_0x1cd3('0x7b')](_0x553fd7);}_0x4424c5[_0x1cd3('0x1228')]=_0x188d06;});}}})['catch'](function(_0xa74dc1){_0x1eb594[_0x1cd3('0x434')]({'title':_0xa74dc1[_0x1cd3('0x3a6')]?'API:'+_0xa74dc1[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0xa74dc1[_0x1cd3('0xd35')]:_0x1cd3('0x1282'),'msg':_0xa74dc1[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0xa74dc1[_0x1cd3('0x439')]):_0xa74dc1['toString']()});});function _0xabf0eb(_0x542314,_0x3c02e6){_0x4424c5[_0x1cd3('0x162d')]=_0x542314;_0x4424c5['crudPermissions']=typeof _0x3c02e6!==_0x1cd3('0x491')?_0x3c02e6:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x4424c5[_0x1cd3('0x3d4')][_0x1cd3('0x1798')]=_0x4424c5['queueCampaign']['id'];_0x4424c5[_0x1cd3('0x3d4')]['id']=_0x4424c5['queueCampaign']['id'];_0x2f1e7d();}function _0x2c88e3(_0x16c617,_0x9dfd24){var _0x3b6aea=_0x24de16['confirm']()[_0x1cd3('0x486')](_0x1cd3('0x1dc8'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+(_0x16c617[_0x1cd3('0x98')]||_0x16c617['id']&&_[_0x1cd3('0x12bc')]('hopper\x20#')+_0x16c617['id']||_0x1cd3('0x1466'))+_0x1cd3('0xd52')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')]('delete\x20hopper')[_0x1cd3('0xd63')](_0x9dfd24)['ok']('OK')['cancel'](_0x1cd3('0xd55'));_0x24de16['show'](_0x3b6aea)[_0x1cd3('0x77')](function(){_0x3bbff0(_0x16c617);},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}function _0x49a8f1(_0x10bfe7){_0x4424c5[_0x1cd3('0x1e49')]=_0x10bfe7||{'count':0x0,'rows':[]};}function _0x2f1e7d(){_0x4424c5['query'][_0x1cd3('0xd57')]=(_0x4424c5['query'][_0x1cd3('0x8fd')]-0x1)*_0x4424c5[_0x1cd3('0x3d4')]['limit'];_0x4424c5[_0x1cd3('0x539')]=_0x3ead0f[_0x1cd3('0xa48')][_0x1cd3('0x1480')](_0x4424c5[_0x1cd3('0x3d4')],_0x49a8f1)[_0x1cd3('0x81')];}function _0x53d103(_0x18d181,_0x4e9d36){_0x24de16[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1496'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1497'),'parent':angular[_0x1cd3('0x37f')](_0x57732c[_0x1cd3('0x380')]),'targetEvent':_0x18d181,'clickOutsideToClose':!![],'locals':{'queueCampaign':_0x4424c5[_0x1cd3('0x162d')],'hopper':_0x4e9d36,'hoppers':_0x4424c5[_0x1cd3('0x1e49')]['rows'],'license':null,'setting':null,'crudPermissions':_0x4424c5[_0x1cd3('0xd27')]}});}function _0x3bbff0(_0x235af7){_0x3ead0f[_0x1cd3('0xb47')][_0x1cd3('0xa1c')]({'id':_0x235af7['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x4424c5[_0x1cd3('0x1e49')]['rows'],{'id':_0x235af7['id']});_0x4424c5[_0x1cd3('0x1e49')][_0x1cd3('0x466')]-=0x1;if(!_0x4424c5[_0x1cd3('0x1e49')][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){_0x2f1e7d();}_0x1eb594[_0x1cd3('0x473')]({'title':_0x1cd3('0x1dcb'),'msg':_0x235af7[_0x1cd3('0x98')]?_0x235af7[_0x1cd3('0x98')]+_0x1cd3('0xd41'):''});})[_0x1cd3('0xfd')](function(_0x35cb6b){if(_0x35cb6b['data']&&_0x35cb6b[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x35cb6b[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')]){vm[_0x1cd3('0xd34')]=_0x35cb6b[_0x1cd3('0x439')]['errors']||[{'message':_0x35cb6b['toString'](),'type':_0x1cd3('0x1da2')}];for(var _0x5bb3d7=0x0;_0x5bb3d7<_0x35cb6b['data']['errors']['length'];_0x5bb3d7++){_0x1eb594[_0x1cd3('0x434')]({'title':_0x35cb6b[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x5bb3d7][_0x1cd3('0x424')],'msg':_0x35cb6b[_0x1cd3('0x439')]['errors'][_0x5bb3d7][_0x1cd3('0x43a')]});}}else{_0x1eb594[_0x1cd3('0x434')]({'title':_0x35cb6b[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x35cb6b[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x35cb6b[_0x1cd3('0xd35')]:_0x1cd3('0x1da2'),'msg':_0x35cb6b['data']?JSON[_0x1cd3('0x438')](_0x35cb6b[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x35cb6b[_0x1cd3('0x43a')]||_0x35cb6b[_0x1cd3('0x43b')]()});}});}function _0x511318(){var _0x36180c=angular[_0x1cd3('0x429')](_0x4424c5['selectedQueueCampaignHoppers']);_0x4424c5['selectedQueueCampaignHoppers']=[];return _0x36180c;}function _0x3d59ed(_0x59f425){var _0x503070=_0x24de16[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x1dcd'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x4424c5[_0x1cd3('0x1e4a')][_0x1cd3('0x7a')]+_0x1cd3('0xd61')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x1e4b'))[_0x1cd3('0xd63')](_0x59f425)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x24de16['show'](_0x503070)[_0x1cd3('0x77')](function(){_0x4424c5[_0x1cd3('0x1e4a')][_0x1cd3('0x394')](function(_0x451ea0){_0x3bbff0(_0x451ea0);});_0x4424c5[_0x1cd3('0x1e4a')]=[];});}var _0x4f6e01=!![];var _0x476f9f=0x1;_0x3e114a[_0x1cd3('0x4d6')](_0x1cd3('0x1340'),function(_0x25b966,_0x789d2f){if(_0x4f6e01){_0x3350a4(function(){_0x4f6e01=![];});}else{if(!_0x789d2f){_0x476f9f=_0x4424c5[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0x25b966!==_0x789d2f){_0x4424c5[_0x1cd3('0x3d4')]['page']=0x1;}if(!_0x25b966){_0x4424c5[_0x1cd3('0x3d4')]['page']=_0x476f9f;}_0x2f1e7d();}});}}());(function(){'use strict';_0x4de5bb['$inject']=[_0x1cd3('0x460'),_0x1cd3('0x53e'),_0x1cd3('0xd24'),_0x1cd3('0x3c5'),'$q',_0x1cd3('0x3f7'),_0x1cd3('0x461'),_0x1cd3('0x1463'),_0x1cd3('0x1466'),_0x1cd3('0x370'),_0x1cd3('0x56'),'license',_0x1cd3('0xc49'),'crudPermissions'];angular[_0x1cd3('0x0')](_0x1cd3('0x36'))[_0x1cd3('0x39b')](_0x1cd3('0x1496'),_0x4de5bb);function _0x4de5bb(_0x5c98fd,_0x5f5c6d,_0x27b679,_0x489b94,_0x23e352,_0x36ea36,_0x1d2c09,_0x47b79f,_0x1e59a4,_0x28cd59,_0x2ed5af,_0x362877,_0x595594,_0x24485d){var _0xcb69c1=this;_0xcb69c1[_0x1cd3('0x3ca')]=_0x2ed5af[_0x1cd3('0x5d')]();_0xcb69c1['errors']=[];_0xcb69c1['setting']=_0x595594;_0xcb69c1[_0x1cd3('0x463')]=_0x362877;_0xcb69c1[_0x1cd3('0xd27')]=_0x24485d;_0xcb69c1['hasModulePermissions']={};_0xcb69c1['passwordPattern']=_0xcb69c1[_0x1cd3('0xc49')]&&_0xcb69c1[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0xcb69c1[_0x1cd3('0x486')]='MOTIONDIALER.EDIT_HOPPER';_0xcb69c1['hopper']=angular[_0x1cd3('0x429')](_0x1e59a4);_0xcb69c1[_0x1cd3('0x1463')]=_0x47b79f;_0xcb69c1[_0x1cd3('0x1467')]=![];if(!_0xcb69c1[_0x1cd3('0x1466')]){_0xcb69c1['hopper']={};_0xcb69c1['title']=_0x1cd3('0x1dce');_0xcb69c1[_0x1cd3('0x1467')]=!![];}if(_0x5f5c6d[_0x1cd3('0x36a')]['id']){_0xcb69c1[_0x1cd3('0x1466')]['VoiceQueueId']=_0x5f5c6d['params']['id'];}_0xcb69c1[_0x1cd3('0x1dcf')]=_0xc0e389;_0xcb69c1[_0x1cd3('0x1468')]=_0x43740e;_0xcb69c1[_0x1cd3('0x1e4c')]=_0x26e0e9;_0xcb69c1[_0x1cd3('0xd31')]=_0xc846ea;_0xcb69c1[_0x1cd3('0x39c')]=_0x3be2fc;_0x2ed5af[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x28cd59['user'][_0x1cd3('0x361')]({'fields':'id,name','role':_0x1cd3('0xd2'),'sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')]['then'](function(_0x4e3ea3){_0xcb69c1[_0x1cd3('0x1228')]=_0x4e3ea3[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x234a08){_0x1d2c09['error']({'title':_0x234a08[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x234a08[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x234a08[_0x1cd3('0xd35')]:'SYSTEM:GET_AGENTS','msg':_0x234a08['data']?JSON[_0x1cd3('0x438')](_0x234a08[_0x1cd3('0x439')]):_0x234a08[_0x1cd3('0x43b')]()});}):_0x28cd59[_0x1cd3('0x368')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'role':_0x1cd3('0xd2'),'sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x2510b2){_0xcb69c1[_0x1cd3('0x1228')]=_0x2510b2['rows']||[];})['then'](function(){return _0x28cd59[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0xcb69c1['currentUser']['userProfileId'],'sectionId':0xca})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x5bc532){var _0x22800b=_0x5bc532&&_0x5bc532[_0x1cd3('0xf6')]?_0x5bc532[_0x1cd3('0xf6')][0x0]:null;if(!_0x22800b){var _0x11d6f5=[];var _0x1a7b8c=null;if(_0xcb69c1[_0x1cd3('0x1466')]){_0x1a7b8c=_[_0x1cd3('0x442')](_0xcb69c1['agents'],{'id':Number(_0xcb69c1[_0x1cd3('0x1466')][_0x1cd3('0x1226')])});}for(var _0x35ce51=0x0;_0x35ce51<_0xcb69c1[_0x1cd3('0x1228')][_0x1cd3('0x7a')];_0x35ce51++){if(_0x1a7b8c&&_0xcb69c1[_0x1cd3('0x1228')][_0x35ce51]['id']===_0x1a7b8c['id']){_0xcb69c1[_0x1cd3('0x1228')][_0x35ce51]['canSelect']=![];_0x11d6f5[_0x1cd3('0x7b')](_0xcb69c1[_0x1cd3('0x1228')][_0x35ce51]);}}_0xcb69c1[_0x1cd3('0x1228')]=_0x11d6f5;}else{if(!_0x22800b[_0x1cd3('0x391')]){return _0x28cd59[_0x1cd3('0x392')]['get']({'sectionId':_0x22800b['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x38be48){var _0x1e1ab3=_['map'](_0x38be48[_0x1cd3('0xf6')],function(_0x49444e){return _['find'](_0xcb69c1[_0x1cd3('0x1228')],{'id':_0x49444e[_0x1cd3('0xe8e')]});});var _0x208b93=null;if(_0xcb69c1[_0x1cd3('0x1466')]){_0x208b93=_[_0x1cd3('0x442')](_0xcb69c1[_0x1cd3('0x1228')],{'id':Number(_0xcb69c1[_0x1cd3('0x1466')][_0x1cd3('0x1226')])});}if(_0x208b93&&!_[_0x1cd3('0x38d')](_0x1e1ab3,['id',_0x208b93['id']])){var _0x16b555=_['find'](_0xcb69c1[_0x1cd3('0x1228')],{'id':_0x208b93['id']});_0x16b555['canSelect']=![];_0x1e1ab3[_0x1cd3('0x7b')](_0x16b555);}_0xcb69c1[_0x1cd3('0x1228')]=_0x1e1ab3;});}}})[_0x1cd3('0xfd')](function(_0x37bb9e){_0x1d2c09[_0x1cd3('0x434')]({'title':_0x37bb9e['status']?'API:'+_0x37bb9e[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x37bb9e[_0x1cd3('0xd35')]:'SYSTEM:GETagents','msg':_0x37bb9e[_0x1cd3('0x439')]?JSON['stringify'](_0x37bb9e[_0x1cd3('0x439')]):_0x37bb9e['toString']()});});function _0xc0e389(){_0xcb69c1[_0x1cd3('0xd34')]=[];_0x28cd59[_0x1cd3('0xb47')]['save'](_0xcb69c1[_0x1cd3('0x1466')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0xd657cb){_0xcb69c1['hoppers'][_0x1cd3('0x621')](_0xd657cb[_0x1cd3('0xd32')]());_0x1d2c09[_0x1cd3('0x473')]({'title':'Hopper\x20properly\x20created','msg':_0xcb69c1[_0x1cd3('0x1466')][_0x1cd3('0x98')]?_0xcb69c1['hopper'][_0x1cd3('0x98')]+_0x1cd3('0xd33'):''});_0x3be2fc(_0xd657cb);})[_0x1cd3('0xfd')](function(_0x2914f7){if(_0x2914f7[_0x1cd3('0x439')]&&_0x2914f7[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x2914f7['data'][_0x1cd3('0xd34')]['length']){_0xcb69c1[_0x1cd3('0xd34')]=_0x2914f7['data']['errors']||[{'message':_0x2914f7[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1dd1')}];for(var _0x568ddd=0x0;_0x568ddd<_0x2914f7[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0x568ddd+=0x1){_0x1d2c09[_0x1cd3('0x434')]({'title':_0x2914f7[_0x1cd3('0x439')]['errors'][_0x568ddd][_0x1cd3('0x424')],'msg':_0x2914f7[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x568ddd]['message']});}}else{_0x1d2c09['error']({'title':_0x2914f7[_0x1cd3('0x3a6')]?'API:'+_0x2914f7['status']+'\x20-\x20'+_0x2914f7[_0x1cd3('0xd35')]:_0x1cd3('0x1dd1'),'msg':_0x2914f7[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x2914f7[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x2914f7[_0x1cd3('0x43b')]()});}});}function _0x43740e(){_0xcb69c1[_0x1cd3('0xd34')]=[];var _0x12cac2;var _0x5d1bc1;var _0x4176a1;var _0x518014;_0xcb69c1[_0x1cd3('0x1466')][_0x1cd3('0x1226')]=_0xcb69c1[_0x1cd3('0x1466')][_0x1cd3('0x162c')]?_0xcb69c1[_0x1cd3('0x1466')][_0x1cd3('0x1226')]:null;_0xcb69c1[_0x1cd3('0x1466')][_0x1cd3('0x1dd2')]=_0x2ed5af[_0x1cd3('0x5d')]()['id'];_0x28cd59[_0x1cd3('0xb47')][_0x1cd3('0x361')]({'id':_0xcb69c1[_0x1cd3('0x1466')]['id'],'attributes':[_0x1cd3('0x14ad')]})['$promise'][_0x1cd3('0x77')](function(_0x327b8b){if(_[_0x1cd3('0x472')](_0x327b8b)||_['isEmpty'](_0x327b8b)){_0x12cac2=moment()['format']('YYYY-MM-DD\x20HH:mm:ss');}else{_0x12cac2=_0x327b8b[_0x1cd3('0x14ad')];}})[_0x1cd3('0x5dd')](function(){_0x28cd59[_0x1cd3('0xb47')]['update']({'id':_0xcb69c1[_0x1cd3('0x1466')]['id']},_[_0x1cd3('0x3e3')](_0xcb69c1[_0x1cd3('0x1466')],['VoiceQueueId',_0x1cd3('0x1d87'),_0x1cd3('0x1615'),_0x1cd3('0x106')]))[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x1efa39){_0x5d1bc1=_0x1efa39;_0x28cd59[_0x1cd3('0xb3d')][_0x1cd3('0x361')]({'id':_0x5d1bc1[_0x1cd3('0x1615')],'attributes':[_0x1cd3('0x1447'),'lastName']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0xd046a6){if(!_[_0x1cd3('0x472')](_0xd046a6)&&!_[_0x1cd3('0x472')](_0xd046a6['firstName'])){_0x4176a1=_0xd046a6['firstName'];if(!_[_0x1cd3('0x472')](_0xd046a6[_0x1cd3('0x1324')])){_0x4176a1+='\x20'+_0xd046a6[_0x1cd3('0x1324')];}}})[_0x1cd3('0xfd')](function(){_0x4176a1=undefined;})['finally'](function(){_0x28cd59[_0x1cd3('0xa48')][_0x1cd3('0x361')]({'raw':![],'id':_0x5d1bc1['VoiceQueueId'],'attributes':[_0x1cd3('0x98')]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x4a4924){_0x518014=_0x4a4924[_0x1cd3('0x98')];})[_0x1cd3('0xfd')](function(_0x180dac){_0x518014=undefined;})['finally'](function(){_0x28cd59[_0x1cd3('0xe15')]['save']({'state':0x18,'statedesc':_0x1cd3('0x1dd3'),'scheduledat':_0x12cac2,'calleridnum':_0x5d1bc1['phone'],'calleridname':_0x4176a1,'campaigntype':_0x5d1bc1[_0x1cd3('0x1798')]?_0x1cd3('0x1220'):_0x1cd3('0x208'),'campaign':_0x518014,'editedat':moment()[_0x1cd3('0x130')](_0x1cd3('0x377')),'edited':!![],'ListId':_0x5d1bc1[_0x1cd3('0x106')],'UserId':_0x2ed5af[_0x1cd3('0x5d')]()['id'],'VoiceQueueId':_0x5d1bc1[_0x1cd3('0x1798')],'CampaignId':_0x5d1bc1[_0x1cd3('0x1d87')],'ContactId':_0x5d1bc1[_0x1cd3('0x1615')],'callback':_0x5d1bc1[_0x1cd3('0x1dd4')],'callbackuniqueid':_0x5d1bc1[_0x1cd3('0x1dd5')],'countbusyretry':_0x5d1bc1[_0x1cd3('0x1da8')],'countcongestionretry':_0x5d1bc1[_0x1cd3('0x1da9')],'countglobal':_0x5d1bc1[_0x1cd3('0x1dab')],'countnoanswerretry':_0x5d1bc1['countnoanswerretry'],'followuptime':_0x5d1bc1[_0x1cd3('0x1e4d')],'recallme':_0x5d1bc1[_0x1cd3('0x162c')]});});});var _0x4cc05d=_['find'](_0xcb69c1[_0x1cd3('0x1463')],{'id':_0x1efa39['id']});if(_0x4cc05d){_['merge'](_0x4cc05d,_[_0x1cd3('0x5e8')](_0x1efa39[_0x1cd3('0xd32')](),_[_0x1cd3('0x80')](_0x4cc05d)));}_0x1d2c09[_0x1cd3('0x473')]({'title':_0x1cd3('0x1469'),'msg':_0xcb69c1['hopper'][_0x1cd3('0x98')]?_0xcb69c1[_0x1cd3('0x1466')][_0x1cd3('0x98')]+'\x20has\x20been\x20saved!':''});_0x3be2fc(_0x1efa39);})[_0x1cd3('0xfd')](function(_0x58ef5a){if(_0x58ef5a['data']&&_0x58ef5a[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x58ef5a[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0xcb69c1[_0x1cd3('0xd34')]=_0x58ef5a[_0x1cd3('0x439')]['errors']||[{'message':_0x58ef5a[_0x1cd3('0x43b')](),'type':_0x1cd3('0x146a')}];for(var _0x3963d4=0x0;_0x3963d4<_0x58ef5a[_0x1cd3('0x439')]['errors']['length'];_0x3963d4++){_0x1d2c09[_0x1cd3('0x434')]({'title':_0x58ef5a[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x3963d4][_0x1cd3('0x424')],'msg':_0x58ef5a[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x3963d4][_0x1cd3('0x43a')]});}}else{_0x1d2c09[_0x1cd3('0x434')]({'title':_0x58ef5a[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x58ef5a[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x58ef5a[_0x1cd3('0xd35')]:_0x1cd3('0x146a'),'msg':_0x58ef5a['data']?JSON[_0x1cd3('0x438')](_0x58ef5a[_0x1cd3('0x439')]['message']):_0x58ef5a['toString']()});}});});}function _0x26e0e9(_0x341994){_0xcb69c1[_0x1cd3('0xd34')]=[];var _0x299d72=_0x489b94['confirm']()[_0x1cd3('0x486')](_0x1cd3('0xd3a'))[_0x1cd3('0xd3b')](_0x1cd3('0x146b'))[_0x1cd3('0xd3d')](_0x1cd3('0x1dd6'))['ok']('Delete')['cancel'](_0x1cd3('0x674'))[_0x1cd3('0xd63')](_0x341994);_0x489b94[_0x1cd3('0x37e')](_0x299d72)[_0x1cd3('0x77')](function(){_0x28cd59[_0x1cd3('0xb47')][_0x1cd3('0xa1c')]({'id':_0xcb69c1[_0x1cd3('0x1466')]['id']})['$promise'][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0xcb69c1[_0x1cd3('0x1463')],{'id':_0xcb69c1[_0x1cd3('0x1466')]['id']});_0x1d2c09[_0x1cd3('0x473')]({'title':_0x1cd3('0x146c'),'msg':(_0xcb69c1[_0x1cd3('0x1466')]['name']||_0x1cd3('0x1466'))+'\x20has\x20been\x20deleted!'});_0x3be2fc(_0xcb69c1[_0x1cd3('0x1466')]);})[_0x1cd3('0xfd')](function(_0x56e692){if(_0x56e692['data']&&_0x56e692[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x56e692[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0xcb69c1['errors']=_0x56e692[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x56e692['toString'](),'type':_0x1cd3('0x146d')}];for(var _0x142293=0x0;_0x142293<_0x56e692[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0x142293++){_0x1d2c09[_0x1cd3('0x434')]({'title':_0x56e692[_0x1cd3('0x439')]['errors'][_0x142293][_0x1cd3('0x424')],'msg':_0x56e692[_0x1cd3('0x439')]['errors'][_0x142293]['message']});}}else{_0x1d2c09[_0x1cd3('0x434')]({'title':_0x56e692[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x56e692['status']+_0x1cd3('0x436')+_0x56e692['statusText']:_0x1cd3('0x146d'),'msg':_0x56e692[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x56e692['data']['message']):_0x56e692[_0x1cd3('0x43a')]||_0x56e692[_0x1cd3('0x43b')]()});}});},function(){});}function _0xc846ea(_0x8fd2ec){return _0x8fd2ec===null?undefined:new Date(_0x8fd2ec);}function _0x3be2fc(_0x8840c4){_0x489b94['hide'](_0x8840c4);}}}());(function(){'use strict';_0x5697be[_0x1cd3('0xc')]=[_0x1cd3('0x370'),'toasty'];angular[_0x1cd3('0x0')](_0x1cd3('0x36'))[_0x1cd3('0x39b')](_0x1cd3('0x1e4e'),_0x5697be);function _0x5697be(_0x41988b,_0x1f5451){var _0x421bb4=this;_0x421bb4[_0x1cd3('0x162d')]={};_0x421bb4[_0x1cd3('0xe08')]=_0x24c2f2;function _0x24c2f2(_0x415fcd){_0x421bb4['queueCampaign']=_0x415fcd;_0x41988b[_0x1cd3('0xb47')]['get']({'limit':0x0,'VoiceQueueId':_0x415fcd['id']})['$promise'][_0x1cd3('0x77')](function(_0x500b66){_0x421bb4['total']=_0x500b66[_0x1cd3('0x466')]||0x0;return _0x41988b[_0x1cd3('0xb47')][_0x1cd3('0x361')]({'limit':0x0,'VoiceQueueId':_0x415fcd['id'],'active':![],'countbusyretry':0x0,'countcongestionretry':0x0,'countnoanswerretry':0x0})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x560fba){_0x421bb4[_0x1cd3('0x1e4f')]=_0x560fba[_0x1cd3('0x466')]||0x0;return _0x41988b[_0x1cd3('0xb4d')][_0x1cd3('0x361')]({'limit':0x0,'VoiceQueueId':_0x415fcd['id']})['$promise'];})[_0x1cd3('0x77')](function(_0x406b4d){_0x421bb4[_0x1cd3('0x1586')]=_0x406b4d[_0x1cd3('0x466')]||0x0;})[_0x1cd3('0xfd')](function(_0x540f0d){_0x1f5451[_0x1cd3('0x434')]({'title':_0x540f0d['status']?_0x1cd3('0x435')+_0x540f0d[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x540f0d[_0x1cd3('0xd35')]:_0x1cd3('0x19cf'),'msg':_0x540f0d[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x540f0d['data']):_0x540f0d[_0x1cd3('0x43b')]()});});}}}());(function(){'use strict';_0x16e653[_0x1cd3('0xc')]=['$mdDialog','$q',_0x1cd3('0x461'),_0x1cd3('0x370'),'queueCampaign',_0x1cd3('0x3f7'),'$timeout','Auth',_0x1cd3('0xd27')];angular['module'](_0x1cd3('0x36'))[_0x1cd3('0x39b')](_0x1cd3('0x1e50'),_0x16e653);function _0x16e653(_0x501e90,_0x539cee,_0x5dc704,_0x2dbf70,_0x634b5a,_0x501fb8,_0x1aef58,_0x3f9989,_0x5dabab){var _0x529931=this;_0x529931[_0x1cd3('0x3ca')]=_0x3f9989[_0x1cd3('0x5d')]();_0x529931[_0x1cd3('0x162d')]=_0x634b5a;_0x529931[_0x1cd3('0xd27')]=_0x5dabab;_0x529931['apiRoute']='voiceQueue';_0x529931[_0x1cd3('0x1d71')]=_0x1cd3('0x1545');_0x529931[_0x1cd3('0x1d79')]=_0x1cd3('0x1dd9');_0x529931[_0x1cd3('0x1d72')]=_0x1cd3('0x1de3');_0x529931[_0x1cd3('0x493')]=[];_0x529931['allowedItems']=[];_0x529931['selectedItems']=[];_0x529931[_0x1cd3('0x11bb')]=[];_0x529931[_0x1cd3('0x11be')]=[];_0x529931[_0x1cd3('0x11c6')]=![];_0x529931[_0x1cd3('0x1d74')]=![];_0x529931[_0x1cd3('0x1145')]={'readOnly':!_0x529931['crudPermissions'][_0x1cd3('0xe3b')],'allowedItems':[],'selectedItems':[],'showSelectAndDeselectAll':![],'orderBy':'name','line1':'name','line2':'','line3':'','labelAll':_0x501fb8['instant'](_0x1cd3('0x1d75')),'labelSelected':_0x501fb8[_0x1cd3('0x44a')](_0x1cd3('0x1d76')),'transferCallback':function(_0xadc34d,_0x4d165c){var _0x1e9ec8=_[_0x1cd3('0x11c8')](_0x529931[_0x1cd3('0x11be')],_0x529931[_0x1cd3('0x492')],'id');_0x529931[_0x1cd3('0x11c6')]=_[_0x1cd3('0x398')](_0x1e9ec8)?![]:!![];}};_0x529931['onInit']=_0x30e7d8;_0x529931[_0x1cd3('0x1d77')]=_0x3ffa6a;_0x529931[_0x1cd3('0x39c')]=_0x199795;function _0x30e7d8(){return _0x3f9989['hasRole'](_0x1cd3('0x5f'))?_0x254c92()[_0x1cd3('0xfd')](function(_0x29a5b0){_0x5dc704['error']({'title':_0x29a5b0[_0x1cd3('0x3a6')]?'API:'+_0x29a5b0[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x29a5b0[_0x1cd3('0xd35')]:'SYSTEM:GETLISTS','msg':_0x29a5b0[_0x1cd3('0x3a6')]?JSON[_0x1cd3('0x438')](_0x29a5b0[_0x1cd3('0x439')]):_0x29a5b0['toString']()});}):_0x2ee957()[_0x1cd3('0x77')](function(_0x5558dd){_0x529931['section']=_0x5558dd;return _0x254c92();})['catch'](function(_0x52d90f){_0x5dc704['error']({'title':_0x52d90f[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x52d90f[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x52d90f[_0x1cd3('0xd35')]:_0x1cd3('0x1d78'),'msg':_0x52d90f[_0x1cd3('0x3a6')]?JSON[_0x1cd3('0x438')](_0x52d90f[_0x1cd3('0x439')]):_0x52d90f[_0x1cd3('0x43b')]()});});}function _0x2ee957(){return _0x539cee(function(_0x1b2c73,_0x40e81b){_0x2dbf70['userProfileSection'][_0x1cd3('0x361')]({'userProfileId':_0x529931[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'name':_0x1cd3('0xf4')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x14c7f6){var _0x2ff957=_0x14c7f6&&_0x14c7f6['rows']?_0x14c7f6['rows'][0x0]:null;_0x1b2c73(_0x2ff957);})[_0x1cd3('0xfd')](function(_0xb4d6c5){_0x40e81b(_0xb4d6c5);});});}function _0x254c92(){return _0x539cee(function(_0x54170d,_0x9ad5f0){return _0x49190c()[_0x1cd3('0x77')](function(_0x2a2805){_0x529931['items']=_0x2a2805['rows']?_0x2a2805[_0x1cd3('0xf6')]:[];if(_0x3f9989[_0x1cd3('0x57')](_0x1cd3('0x5f'))){return _0x2a2805;}else{if(_0x529931[_0x1cd3('0xd58')]){return _0x529931[_0x1cd3('0xd58')][_0x1cd3('0x391')]?_0x2a2805:_0x51fa00();}else{return null;}}})['then'](function(_0x34cadd){var _0x1bdbfc=_0x34cadd&&_0x34cadd[_0x1cd3('0xf6')]?_0x34cadd[_0x1cd3('0xf6')]:[];_0x529931[_0x1cd3('0x11ba')]=_[_0x1cd3('0x3d9')](_0x1bdbfc,function(_0x1bce15){return _[_0x1cd3('0x442')](_0x529931[_0x1cd3('0x493')],{'id':_0x3f9989['hasRole']('admin')||_0x529931[_0x1cd3('0xd58')]['autoAssociation']?_0x1bce15['id']:_0x1bce15[_0x1cd3('0xe8e')]});});_0x529931[_0x1cd3('0x11bb')]=angular[_0x1cd3('0x429')](_0x529931['allowedItems']);_0x529931[_0x1cd3('0x493')][_0x1cd3('0x394')](function(_0x3ce098){var _0x1d6e77=_['find'](_0x529931[_0x1cd3('0x11ba')],{'id':_0x3ce098['id']});if(_0x529931[_0x1cd3('0x3ca')][_0x1cd3('0x388')]===_0x1cd3('0x5f')){_0x3ce098[_0x1cd3('0x490')]=!![];}else{_0x3ce098[_0x1cd3('0x490')]=typeof _0x1d6e77!=='undefined'?!![]:![];}});return _0x1b1593();})[_0x1cd3('0x77')](function(_0x590444){var _0x462be4=_0x590444&&_0x590444[_0x1cd3('0xf6')]?_0x590444['rows']:[];_0x529931[_0x1cd3('0x492')]=_['map'](_0x462be4,function(_0x255f32){return _[_0x1cd3('0x442')](_0x529931[_0x1cd3('0x493')],{'id':_0x255f32['id']});});_0x529931[_0x1cd3('0x11be')]=angular[_0x1cd3('0x429')](_0x529931[_0x1cd3('0x492')]);_0x529931[_0x1cd3('0x1145')]['selectedItems']=_0x529931[_0x1cd3('0x492')];_0x529931[_0x1cd3('0x1145')][_0x1cd3('0x493')]=_[_0x1cd3('0x1152')](_0x529931['allowedItems'],_0x529931[_0x1cd3('0x1145')][_0x1cd3('0x492')],'id');_0x54170d();})['catch'](function(_0x254c99){_0x9ad5f0(_0x254c99);});});}function _0x51fa00(){return _0x539cee(function(_0x2f1f1d,_0x153979){return _0x2dbf70[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x529931[_0x1cd3('0xd58')]['id'],'nolimit':!![]})['$promise'][_0x1cd3('0x77')](function(_0x18d933){_0x2f1f1d(_0x18d933);})[_0x1cd3('0xfd')](function(_0x3035ab){_0x153979(_0x3035ab);});});}function _0x1b1593(){return _0x539cee(function(_0x4eca9a,_0x384543){return _0x2dbf70[_0x529931[_0x1cd3('0x1873')]][_0x529931[_0x1cd3('0x1d71')]]({'id':_0x529931['queueCampaign']['id'],'fields':_0x1cd3('0xa6'),'nolimit':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x2f34ab){_0x4eca9a(_0x2f34ab);})[_0x1cd3('0xfd')](function(_0x161054){_0x384543(_0x161054);});});}function _0x49190c(){return _0x539cee(function(_0x18c717,_0x30f727){return _0x2dbf70['cmList'][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'nolimit':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x71392e){_0x18c717(_0x71392e);})[_0x1cd3('0xfd')](function(_0x3104e1){_0x30f727(_0x3104e1);});});}function _0x29ff37(_0x3a3f01){return _0x539cee(function(_0x5f0b40,_0xf56600){if(_[_0x1cd3('0x398')](_0x3a3f01)){_0x5f0b40();}else{_0x2dbf70[_0x529931['apiRoute']][_0x529931[_0x1cd3('0x1d79')]]({'id':_0x529931['queueCampaign']['id'],'ids':_[_0x1cd3('0x3d9')](_0x3a3f01,'id')})['$promise'][_0x1cd3('0x77')](function(){_0x5f0b40();})[_0x1cd3('0xfd')](function(_0x4e5c8b){_0xf56600(_0x4e5c8b);});}});}function _0x2d22f1(_0x5c881f){return _0x539cee(function(_0x28b401,_0x3b89f7){if(_[_0x1cd3('0x398')](_0x5c881f)){_0x28b401();}else{_0x2dbf70[_0x529931[_0x1cd3('0x1873')]][_0x529931[_0x1cd3('0x1d72')]]({'id':_0x529931['queueCampaign']['id'],'ids':_[_0x1cd3('0x3d9')](_0x5c881f,'id')})[_0x1cd3('0x81')]['then'](function(){_0x28b401();})['catch'](function(_0x3ffdd3){_0x3b89f7(_0x3ffdd3);});}});}function _0x3ffa6a(){_0x529931[_0x1cd3('0x1d74')]=!![];var _0x1c96a0=_[_0x1cd3('0x1152')](_0x529931['startingSelectedItems'],_0x529931[_0x1cd3('0x492')],'id');var _0x1b8043=_[_0x1cd3('0x1152')](_0x529931[_0x1cd3('0x492')],_0x529931[_0x1cd3('0x11be')],'id');return _0x2d22f1(_0x1c96a0)[_0x1cd3('0x77')](function(){return _0x29ff37(_0x1b8043);})[_0x1cd3('0x77')](function(){_0x529931[_0x1cd3('0x11c6')]=![];_0x529931[_0x1cd3('0x11bb')]=angular[_0x1cd3('0x429')](_0x529931[_0x1cd3('0x11ba')]);_0x529931['startingSelectedItems']=angular[_0x1cd3('0x429')](_0x529931[_0x1cd3('0x492')]);_0x5dc704[_0x1cd3('0x473')]({'title':'SUCCESS','msg':_0x1cd3('0x1d7a')});})[_0x1cd3('0xfd')](function(_0x5cd4ef){_0x5dc704[_0x1cd3('0x434')]({'title':_0x5cd4ef[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x5cd4ef[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x5cd4ef[_0x1cd3('0xd35')]:_0x1cd3('0x11ce'),'msg':_0x5cd4ef[_0x1cd3('0x3a6')]?JSON[_0x1cd3('0x438')](_0x5cd4ef[_0x1cd3('0x439')]):_0x5cd4ef[_0x1cd3('0x43b')]()});})['finally'](function(){_0x529931[_0x1cd3('0x1d74')]=![];});;}function _0x199795(){_0x501e90['hide']();}}}());(function(){'use strict';_0x1ae4dd[_0x1cd3('0xc')]=['$scope',_0x1cd3('0x3c5'),_0x1cd3('0x461'),_0x1cd3('0x370'),_0x1cd3('0x162d'),_0x1cd3('0x1dda'),_0x1cd3('0x1ddb'),'$q'];angular[_0x1cd3('0x0')]('app.motiondialer')[_0x1cd3('0x39b')](_0x1cd3('0x1e51'),_0x1ae4dd);function _0x1ae4dd(_0x4e7522,_0x47a894,_0x2b22c9,_0x323a3d,_0x27eefc,_0x5e921f,_0xc2617,_0x29248b){var _0x5263b9=this;var _0x46f67d=[];_0x5263b9[_0x1cd3('0x1ddd')]=[];_0x5263b9[_0x1cd3('0x493')]=_0x5e921f?_0x5e921f:[];_0x5263b9[_0x1cd3('0x1d74')]=![];_0x5263b9['closeDialog']=_0x4911c3;_0x5263b9[_0x1cd3('0x1dde')]=_0x57b1b8;_0x5263b9[_0x1cd3('0x1ddf')]=_0x33ece8;_0x5263b9[_0x1cd3('0x1de0')]=_0x50c946;_0x5263b9[_0x1cd3('0x1de1')]=_0x4a5d37;_0x5263b9[_0x1cd3('0x1e52')]=_0x20a02b;_0x5263b9[_0x1cd3('0x1e53')]=_0xb43e08;function _0x33ece8(_0x17c326,_0x1d219b){var _0x4de3ce=_0x1d219b[_0x1cd3('0x45e')](_0x17c326);if(_0x4de3ce>-0x1){_0x1d219b[_0x1cd3('0x446')](_0x4de3ce,0x1);}else{_0x1d219b[_0x1cd3('0x7b')](_0x17c326);}}function _0x57b1b8(_0x2f904f,_0x5a47af){return _0x5a47af[_0x1cd3('0x45e')](_0x2f904f)>-0x1;}function _0x50c946(){return _0x5263b9[_0x1cd3('0x1ddd')]['length']!==0x0&&_0x5263b9['selected'][_0x1cd3('0x7a')]!==_0x5263b9[_0x1cd3('0x493')]['length'];}function _0x4a5d37(){return _0x5263b9['selected'][_0x1cd3('0x7a')]===_0x5263b9[_0x1cd3('0x493')]['length'];}function _0x20a02b(){if(_0x5263b9[_0x1cd3('0x1ddd')][_0x1cd3('0x7a')]===_0x5263b9[_0x1cd3('0x493')][_0x1cd3('0x7a')]){_0x5263b9[_0x1cd3('0x1ddd')]=[];}else if(_0x5263b9[_0x1cd3('0x1ddd')]['length']===0x0||_0x5263b9[_0x1cd3('0x1ddd')][_0x1cd3('0x7a')]>0x0){_0x5263b9[_0x1cd3('0x1ddd')]=_0x5263b9[_0x1cd3('0x493')]['slice'](0x0);}}function _0x4911c3(){_0x47a894['hide']();}function _0xb43e08(){_0x5263b9[_0x1cd3('0x1d74')]=!![];var _0x3efd6c=_0x2bef32();_0x3efd6c['finally'](function(){_0x5263b9['loading']=![];_0x4911c3();});}function _0x2bef32(){return _0x29248b(function(_0x3cef4f,_0x192990){for(var _0x1006c2=0x0;_0x1006c2<_0x5263b9[_0x1cd3('0x1ddd')][_0x1cd3('0x7a')];_0x1006c2+=0x1){_0x39b4b7(_0x27eefc['id'],_0x5263b9[_0x1cd3('0x1ddd')][_0x1006c2]);}_0x5fd366(_0x3cef4f);});}function _0x39b4b7(_0x5e566c,_0xa37f10){var _0x288f64=_0xa37f10['id'];_0xc2617[_0x1cd3('0x1de2')](function(){return _0x323a3d[_0x1cd3('0xa48')]['removeLists']({'id':_0x5e566c,'ids':_0x288f64})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){return _0x323a3d[_0x1cd3('0xa48')]['addLists']({'id':_0x5e566c,'ids':_0x288f64,'dialCheckDuplicateType':_0x1cd3('0x1de4')})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(){_0x2b22c9[_0x1cd3('0x473')]({'title':_0x1cd3('0x1e54'),'msg':_0x1cd3('0x1def')+_0xa37f10[_0x1cd3('0x98')]+_0x1cd3('0x1de5')});})['catch'](function(_0x2438ad){_0x2b22c9[_0x1cd3('0x434')]({'title':_0x2438ad[_0x1cd3('0x3a6')]?'API:'+_0x2438ad[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x2438ad[_0x1cd3('0xd35')]:'SYSTEM:queueCampaign.RESETLIST','msg':_0x2438ad[_0x1cd3('0x3a6')]?JSON[_0x1cd3('0x438')](_0x2438ad[_0x1cd3('0x439')]):_0x2438ad[_0x1cd3('0x43b')]()});});});}function _0x5fd366(_0x3ffba5){_0xc2617[_0x1cd3('0x1de2')](function(){return _0x3ffba5();});}}}());(function(){'use strict';_0x38525e[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),'$q',_0x1cd3('0x461'),_0x1cd3('0x370'),_0x1cd3('0x162d'),_0x1cd3('0x3f7'),_0x1cd3('0x56'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x36'))[_0x1cd3('0x39b')]('QueueCampaignteamaddController',_0x38525e);function _0x38525e(_0x4b28da,_0x378c4e,_0x1c62ad,_0x1c386e,_0x5d25a7,_0x4bed36,_0x1c3807,_0x4d878b){var _0x39b48e=this;_0x39b48e[_0x1cd3('0x3ca')]=_0x1c3807[_0x1cd3('0x5d')]();_0x39b48e[_0x1cd3('0x162d')]=_0x5d25a7;_0x39b48e[_0x1cd3('0xd27')]=_0x4d878b;_0x39b48e[_0x1cd3('0x1146')]=0x0;_0x39b48e[_0x1cd3('0x493')]=[];_0x39b48e[_0x1cd3('0x11ba')]=[];_0x39b48e[_0x1cd3('0x492')]=[];_0x39b48e[_0x1cd3('0x11bb')]=[];_0x39b48e[_0x1cd3('0x11be')]=[];_0x39b48e[_0x1cd3('0x11c6')]=![];_0x39b48e[_0x1cd3('0x1145')]={'readOnly':!_0x39b48e[_0x1cd3('0xd27')]['canEdit'],'allowedItems':[],'selectedItems':[],'showSelectAndDeselectAll':!![],'orderBy':_0x1cd3('0x98'),'line1':_0x1cd3('0x98'),'line2':'','line3':'','labelAll':_0x4bed36[_0x1cd3('0x44a')](_0x1cd3('0x1e55')),'labelSelected':_0x4bed36[_0x1cd3('0x44a')](_0x1cd3('0x1e56')),'transferCallback':function(_0x48cf02,_0x45aa28){if(_0x45aa28){_0x48cf02[_0x1cd3('0x394')](function(_0x3b0158){_0x3b0158[_0x1cd3('0x1146')]=undefined;});}else{_0x48cf02[_0x1cd3('0x394')](function(_0x48654a){_0x48654a[_0x1cd3('0x1146')]='penalty\x20'+_0x39b48e[_0x1cd3('0x1146')];});}var _0xcc2c00=_[_0x1cd3('0x11c8')](_0x39b48e[_0x1cd3('0x11be')],_0x39b48e[_0x1cd3('0x492')],'id');_0x39b48e['pendingChanges']=_[_0x1cd3('0x398')](_0xcc2c00)?![]:!![];}};_0x39b48e['onInit']=_0x563053;_0x39b48e[_0x1cd3('0x1968')]=_0x496b54;_0x39b48e['closeDialog']=_0x333ad9;function _0x563053(){return _0x1c3807[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x1fc7b6()[_0x1cd3('0xfd')](function(_0x583d5d){_0x1c62ad[_0x1cd3('0x434')]({'title':_0x583d5d[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x583d5d[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x583d5d[_0x1cd3('0xd35')]:'SYSTEM:GET_TEAMS','msg':_0x583d5d[_0x1cd3('0x3a6')]?JSON['stringify'](_0x583d5d[_0x1cd3('0x439')]):_0x583d5d[_0x1cd3('0x43b')]()});}):_0x4577e8()['then'](function(_0x271b6a){_0x39b48e[_0x1cd3('0xd58')]=_0x271b6a;return _0x1fc7b6();})[_0x1cd3('0xfd')](function(_0x225b50){_0x1c62ad[_0x1cd3('0x434')]({'title':_0x225b50[_0x1cd3('0x3a6')]?'API:'+_0x225b50['status']+_0x1cd3('0x436')+_0x225b50[_0x1cd3('0xd35')]:_0x1cd3('0x11c9'),'msg':_0x225b50[_0x1cd3('0x3a6')]?JSON[_0x1cd3('0x438')](_0x225b50[_0x1cd3('0x439')]):_0x225b50[_0x1cd3('0x43b')]()});});}function _0x4577e8(){return _0x378c4e(function(_0x18adce,_0x5ae8d5){_0x1c386e['userProfileSection'][_0x1cd3('0x361')]({'userProfileId':_0x39b48e[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'name':_0x1cd3('0x296')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x3fb526){var _0x11ec2f=_0x3fb526&&_0x3fb526['rows']?_0x3fb526[_0x1cd3('0xf6')][0x0]:null;_0x18adce(_0x11ec2f);})['catch'](function(_0x4c9293){_0x5ae8d5(_0x4c9293);});});}function _0x1fc7b6(){return _0x378c4e(function(_0x270a6a,_0x191051){return _0x21d177()[_0x1cd3('0x77')](function(_0x1425cb){_0x39b48e['items']=_0x1425cb[_0x1cd3('0xf6')]?_0x1425cb[_0x1cd3('0xf6')]:[];if(_0x1c3807[_0x1cd3('0x57')](_0x1cd3('0x5f'))){return _0x1425cb;}else{if(_0x39b48e['section']){return _0x39b48e[_0x1cd3('0xd58')][_0x1cd3('0x391')]?_0x1425cb:_0x1bb273();}else{return null;}}})['then'](function(_0x132c22){var _0x49d8b8=_0x132c22&&_0x132c22['rows']?_0x132c22['rows']:[];_0x39b48e[_0x1cd3('0x11ba')]=_['map'](_0x49d8b8,function(_0xff281){return _['find'](_0x39b48e[_0x1cd3('0x493')],{'id':_0x1c3807[_0x1cd3('0x57')]('admin')||_0x39b48e[_0x1cd3('0xd58')][_0x1cd3('0x391')]?_0xff281['id']:_0xff281[_0x1cd3('0xe8e')]});});_0x39b48e[_0x1cd3('0x493')][_0x1cd3('0x394')](function(_0x5c87e4){var _0x2f7f35=_[_0x1cd3('0x442')](_0x39b48e[_0x1cd3('0x11ba')],{'id':_0x5c87e4['id']});if(_0x1c3807[_0x1cd3('0x57')]('admin')){_0x5c87e4['isValid']=!![];}else{_0x5c87e4['isValid']=typeof _0x2f7f35!=='undefined'?!![]:![];}});return _0x401332();})[_0x1cd3('0x77')](function(_0x36ac8b){var _0x3badd0=_0x36ac8b&&_0x36ac8b[_0x1cd3('0xf6')]?_0x36ac8b[_0x1cd3('0xf6')]:[];_0x39b48e[_0x1cd3('0x492')]=_[_0x1cd3('0x3d9')](_0x3badd0,function(_0x2d9727){return _[_0x1cd3('0x442')](_0x39b48e[_0x1cd3('0x493')],{'id':_0x2d9727['id']});});_0x39b48e[_0x1cd3('0x11be')]=angular['copy'](_0x39b48e[_0x1cd3('0x492')]);_0x39b48e[_0x1cd3('0x1145')]['selectedItems']=_0x39b48e['selectedItems'];_0x39b48e[_0x1cd3('0x1145')][_0x1cd3('0x493')]=_['differenceBy'](_0x39b48e['allowedItems'],_0x39b48e['dualMultiselectOptions'][_0x1cd3('0x492')],'id');_0x270a6a();})[_0x1cd3('0xfd')](function(_0x2fd0da){_0x191051(_0x2fd0da);});});}function _0x1bb273(){return _0x378c4e(function(_0x3f8a65,_0x4e333d){return _0x1c386e[_0x1cd3('0x392')]['get']({'sectionId':_0x39b48e['section']['id'],'nolimit':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0xcc2a58){_0x3f8a65(_0xcc2a58);})[_0x1cd3('0xfd')](function(_0x46c919){_0x4e333d(_0x46c919);});});}function _0x401332(){return _0x378c4e(function(_0x19acfa,_0x6004e1){return _0x1c386e['voiceQueue'][_0x1cd3('0x11ca')]({'id':_0x39b48e['queueCampaign']['id'],'fields':'id,name','nolimit':!![]})[_0x1cd3('0x81')]['then'](function(_0x6293ea){_0x19acfa(_0x6293ea);})['catch'](function(_0x3a7784){_0x6004e1(_0x3a7784);});});}function _0x21d177(){return _0x378c4e(function(_0x4feb3e,_0x1b488f){return _0x1c386e[_0x1cd3('0xc61')]['get']({'fields':_0x1cd3('0xa6'),'nolimit':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x5d89fa){_0x4feb3e(_0x5d89fa);})['catch'](function(_0x5a4ec6){_0x1b488f(_0x5a4ec6);});});}function _0x1bbef7(_0x5720a1){return _0x378c4e(function(_0x47fddc,_0x982fdb){if(_[_0x1cd3('0x398')](_0x5720a1)){_0x47fddc();}else{var _0x44095d=_[_0x1cd3('0x3d9')](_0x5720a1,function(_0x5f32ec){return{'id':_0x5f32ec['id'],'penalty':_[_0x1cd3('0x77b')](_0x5f32ec[_0x1cd3('0x1146')],_0x1cd3('0x1503'))};});return _0x1c386e[_0x1cd3('0xa48')]['addTeams']({'id':_0x39b48e['queueCampaign']['id'],'teams':_0x44095d})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x47fddc();})['catch'](function(_0x50783a){_0x982fdb(_0x50783a);});}});}function _0x19f29c(_0x125209){return _0x378c4e(function(_0x21ffd1,_0x1a4df5){if(_[_0x1cd3('0x398')](_0x125209)){_0x21ffd1();}else{_0x1c386e[_0x1cd3('0xa48')]['removeTeams']({'id':_0x39b48e[_0x1cd3('0x162d')]['id'],'ids':_['map'](_0x125209,'id')})[_0x1cd3('0x81')]['then'](function(){_0x21ffd1();})[_0x1cd3('0xfd')](function(_0x2d839c){_0x1a4df5(_0x2d839c);});}});}function _0x496b54(){var _0x5c03d4=_[_0x1cd3('0x1152')](_0x39b48e[_0x1cd3('0x11be')],_0x39b48e['selectedItems'],'id');var _0x54a25d=_[_0x1cd3('0x1152')](_0x39b48e[_0x1cd3('0x492')],_0x39b48e[_0x1cd3('0x11be')],'id');return _0x19f29c(_0x5c03d4)['then'](function(){return _0x1bbef7(_0x54a25d);})['then'](function(){_0x39b48e['pendingChanges']=![];_0x39b48e[_0x1cd3('0x11bb')]=angular['copy'](_0x39b48e[_0x1cd3('0x11ba')]);_0x39b48e[_0x1cd3('0x11be')]=angular[_0x1cd3('0x429')](_0x39b48e[_0x1cd3('0x492')]);_0x1c62ad[_0x1cd3('0x473')]({'title':_0x1cd3('0x11c4'),'msg':'Teams\x20association\x20has\x20been\x20updated!'});})[_0x1cd3('0xfd')](function(_0x39e970){_0x1c62ad[_0x1cd3('0x434')]({'title':_0x39e970[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x39e970[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x39e970['statusText']:_0x1cd3('0x11ce'),'msg':_0x39e970[_0x1cd3('0x3a6')]?JSON[_0x1cd3('0x438')](_0x39e970[_0x1cd3('0x439')]):_0x39e970[_0x1cd3('0x43b')]()});});}function _0x333ad9(){_0x4b28da['hide']();}}}());(function(){'use strict';_0x585594[_0x1cd3('0xc')]=['$state','$location',_0x1cd3('0x3c5'),_0x1cd3('0x372'),'$translate',_0x1cd3('0x463'),_0x1cd3('0xc49'),'api',_0x1cd3('0x461'),'Auth','queueCampaign',_0x1cd3('0x390')];angular[_0x1cd3('0x0')]('app.motiondialer')['controller'](_0x1cd3('0x1e57'),_0x585594);function _0x585594(_0x564234,_0x13ad7e,_0x188abe,_0x3d9295,_0x8ceacf,_0x423d9f,_0x1200b4,_0x2dad42,_0x4835c9,_0x43acc1,_0x364678,_0x2bfa93){var _0xe08c6f=this;_0xe08c6f['currentUser']=_0x43acc1[_0x1cd3('0x5d')]();_0xe08c6f['license']=_0x423d9f;_0xe08c6f[_0x1cd3('0xc49')]=_0x1200b4;_0xe08c6f[_0x1cd3('0xd29')]=_0xe08c6f[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0xe08c6f[_0x1cd3('0xd22')]=_0x13ad7e['protocol']()+_0x1cd3('0x11cf')+_0x13ad7e[_0x1cd3('0x3ac')]();_0xe08c6f[_0x1cd3('0x162d')]=_0x364678||_0x564234[_0x1cd3('0x36a')][_0x1cd3('0x162d')]||{};_0xe08c6f[_0x1cd3('0x390')]=_0x2bfa93&&_0x2bfa93[_0x1cd3('0x466')]==0x1?_0x2bfa93[_0x1cd3('0xf6')][0x0]:null;_0xe08c6f[_0x1cd3('0xd27')]=_0x43acc1[_0x1cd3('0xd44')](_0xe08c6f[_0x1cd3('0x390')]?_0xe08c6f[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);_0xe08c6f[_0x1cd3('0xd28')]={};_0xe08c6f['selectedTab']=_0x564234[_0x1cd3('0x36a')][_0x1cd3('0x1418')]||0x0;_0xe08c6f[_0x1cd3('0x1c48')]=_0x5c7fa1;_0xe08c6f[_0x1cd3('0x1de8')]=_0x5822aa;_0xe08c6f[_0x1cd3('0x1de9')]=_0x5bd6cd;_0xe08c6f[_0x1cd3('0x119a')]=_0x1956ce;_0xe08c6f[_0x1cd3('0x119b')]=_0x4224ef;_0xe08c6f['resetlistdialog']=_0x6e28a1;_0xe08c6f[_0x1cd3('0x1419')]=_0x2b9d5e;_0xe08c6f[_0x1cd3('0x11d0')]=_0x4835c9[_0x1cd3('0x654')];_0xe08c6f[_0x1cd3('0x1e58')]=_0x3dd480;_0xe08c6f['saveQueueCampaign']=_0x29ac6a;_0x43acc1[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x2dad42[_0x1cd3('0xa44')][_0x1cd3('0x361')]({'fields':'id,name','nolimit':'true'})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0xdd439e){_0xe08c6f['musiconholds']=_0xdd439e[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x4ff042){_0x4835c9[_0x1cd3('0x434')]({'title':_0x4ff042[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x4ff042[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x4ff042[_0x1cd3('0xd35')]:_0x1cd3('0x1e59'),'msg':_0x4ff042[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x4ff042[_0x1cd3('0x439')]):_0x4ff042[_0x1cd3('0x43b')]()});}):_0x2dad42[_0x1cd3('0xa44')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')]['then'](function(_0x25321e){_0xe08c6f[_0x1cd3('0x1e5a')]=_0x25321e[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x2dad42['userProfileSection']['get']({'userProfileId':_0xe08c6f['currentUser'][_0x1cd3('0x5e')],'sectionId':0x197})[_0x1cd3('0x81')];})['then'](function(_0x20859a){var _0x280f1d=_0x20859a&&_0x20859a['rows']?_0x20859a[_0x1cd3('0xf6')][0x0]:null;if(!_0x280f1d){return _0x2dad42['voiceMusicOnHold'][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'nolimit':_0x1cd3('0x2e0'),'defaultEntry':0x1})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x33f438){_0xe08c6f[_0x1cd3('0x1e5a')]=_0x33f438[_0x1cd3('0xf6')]||[];});}else{if(!_0x280f1d[_0x1cd3('0x391')]){return _0x2dad42['userProfileResource']['get']({'sectionId':_0x280f1d['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x23c97a){var _0x118a1d=_[_0x1cd3('0x3d9')](_0x23c97a[_0x1cd3('0xf6')],function(_0x58c0ca){return _[_0x1cd3('0x442')](_0xe08c6f[_0x1cd3('0x1e5a')],{'id':_0x58c0ca['resourceId']});});var _0x1d150a=null;if(_0xe08c6f[_0x1cd3('0x162d')]){_0x1d150a=_[_0x1cd3('0x442')](_0xe08c6f['musiconholds'],{'name':_0xe08c6f[_0x1cd3('0x162d')][_0x1cd3('0x1e5b')]});}if(_0x1d150a&&!_[_0x1cd3('0x38d')](_0x118a1d,['id',_0x1d150a['id']])){var _0x1b1ab1=_[_0x1cd3('0x442')](_0xe08c6f[_0x1cd3('0x1e5a')],{'id':_0x1d150a['id']});_0x1b1ab1[_0x1cd3('0xf4a')]=![];_0x118a1d[_0x1cd3('0x7b')](_0x1b1ab1);}_0xe08c6f['musiconholds']=_0x118a1d;});}}})['catch'](function(_0x598517){_0x4835c9[_0x1cd3('0x434')]({'title':_0x598517[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x598517[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x598517[_0x1cd3('0xd35')]:'SYSTEM:GETmusiconholds','msg':_0x598517[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x598517[_0x1cd3('0x439')]):_0x598517['toString']()});});_0x43acc1[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x2dad42[_0x1cd3('0x18e7')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98')})['$promise'][_0x1cd3('0x77')](function(_0x4bd677){_0xe08c6f[_0x1cd3('0xef5')]=_0x4bd677[_0x1cd3('0xf6')]||[];})['catch'](function(_0x54c2d3){_0x4835c9[_0x1cd3('0x434')]({'title':_0x54c2d3[_0x1cd3('0x3a6')]?'API:'+_0x54c2d3[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x54c2d3[_0x1cd3('0xd35')]:_0x1cd3('0x18e6'),'msg':_0x54c2d3['data']?JSON[_0x1cd3('0x438')](_0x54c2d3[_0x1cd3('0x439')]):_0x54c2d3[_0x1cd3('0x43b')]()});}):_0x2dad42['trunk'][_0x1cd3('0x361')]({'fields':'id,name','sort':_0x1cd3('0x98')})['$promise']['then'](function(_0x340e46){_0xe08c6f[_0x1cd3('0xef5')]=_0x340e46[_0x1cd3('0xf6')]||[];})['then'](function(){return _0x2dad42[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0xe08c6f[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x3f3})['$promise'];})[_0x1cd3('0x77')](function(_0x2e5023){var _0x387ed6=_0x2e5023&&_0x2e5023[_0x1cd3('0xf6')]?_0x2e5023[_0x1cd3('0xf6')][0x0]:null;if(!_0x387ed6){var _0x3325d3=[];var _0x19f6a9=null;if(_0xe08c6f[_0x1cd3('0x162d')]){_0x19f6a9=_[_0x1cd3('0x442')](_0xe08c6f['trunks'],{'id':Number(_0xe08c6f[_0x1cd3('0x162d')]['TrunkId'])});}for(var _0x4aca40=0x0;_0x4aca40<_0xe08c6f[_0x1cd3('0xef5')][_0x1cd3('0x7a')];_0x4aca40++){if(_0x19f6a9&&_0xe08c6f[_0x1cd3('0xef5')][_0x4aca40]['id']===_0x19f6a9['id']){_0xe08c6f[_0x1cd3('0xef5')][_0x4aca40][_0x1cd3('0xf4a')]=![];_0x3325d3[_0x1cd3('0x7b')](_0xe08c6f[_0x1cd3('0xef5')][_0x4aca40]);}}_0xe08c6f[_0x1cd3('0xef5')]=_0x3325d3;}else{if(!_0x387ed6['autoAssociation']){return _0x2dad42['userProfileResource'][_0x1cd3('0x361')]({'sectionId':_0x387ed6['id']})[_0x1cd3('0x81')]['then'](function(_0x372694){var _0x2775b1=_[_0x1cd3('0x3d9')](_0x372694['rows'],function(_0x3b852e){return _['find'](_0xe08c6f[_0x1cd3('0xef5')],{'id':_0x3b852e[_0x1cd3('0xe8e')]});});var _0x3e97f8=null;if(_0xe08c6f[_0x1cd3('0x162d')]){_0x3e97f8=_['find'](_0xe08c6f[_0x1cd3('0xef5')],{'id':Number(_0xe08c6f[_0x1cd3('0x162d')][_0x1cd3('0x18e8')])});}if(_0x3e97f8&&!_[_0x1cd3('0x38d')](_0x2775b1,['id',_0x3e97f8['id']])){var _0x883631=_['find'](_0xe08c6f[_0x1cd3('0xef5')],{'id':_0x3e97f8['id']});_0x883631[_0x1cd3('0xf4a')]=![];_0x2775b1[_0x1cd3('0x7b')](_0x883631);}_0xe08c6f[_0x1cd3('0xef5')]=_0x2775b1;});}}})[_0x1cd3('0xfd')](function(_0x5ec502){_0x4835c9['error']({'title':_0x5ec502[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x5ec502['status']+_0x1cd3('0x436')+_0x5ec502[_0x1cd3('0xd35')]:_0x1cd3('0x18e9'),'msg':_0x5ec502[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x5ec502[_0x1cd3('0x439')]):_0x5ec502[_0x1cd3('0x43b')]()});});_0x43acc1[_0x1cd3('0x57')]('admin')?_0x2dad42['squareProject'][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98')})['$promise'][_0x1cd3('0x77')](function(_0x5ad2ed){_0xe08c6f[_0x1cd3('0xeda')]=_0x5ad2ed[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x939927){_0x4835c9[_0x1cd3('0x434')]({'title':_0x939927['status']?'API:'+_0x939927[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x939927[_0x1cd3('0xd35')]:_0x1cd3('0x1dec'),'msg':_0x939927['data']?JSON[_0x1cd3('0x438')](_0x939927[_0x1cd3('0x439')]):_0x939927[_0x1cd3('0x43b')]()});}):_0x2dad42['squareProject']['get']({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x3bfa17){_0xe08c6f[_0x1cd3('0xeda')]=_0x3bfa17['rows']||[];})['then'](function(){return _0x2dad42[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0xe08c6f[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x44f})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x398f4f){var _0x5b3637=_0x398f4f&&_0x398f4f[_0x1cd3('0xf6')]?_0x398f4f['rows'][0x0]:null;if(!_0x5b3637){var _0x2bc9bc=[];var _0x598065=null;if(_0xe08c6f[_0x1cd3('0x162d')]){_0x598065=_[_0x1cd3('0x442')](_0xe08c6f[_0x1cd3('0xeda')],{'name':_0xe08c6f[_0x1cd3('0x162d')][_0x1cd3('0x1e5c')]});}for(var _0x2b5c06=0x0;_0x2b5c06<_0xe08c6f[_0x1cd3('0xeda')][_0x1cd3('0x7a')];_0x2b5c06++){if(_0x598065&&_0xe08c6f[_0x1cd3('0xeda')][_0x2b5c06]['id']===_0x598065['id']){_0xe08c6f[_0x1cd3('0xeda')][_0x2b5c06][_0x1cd3('0xf4a')]=![];_0x2bc9bc[_0x1cd3('0x7b')](_0xe08c6f[_0x1cd3('0xeda')][_0x2b5c06]);}}_0xe08c6f[_0x1cd3('0xeda')]=_0x2bc9bc;}else{if(!_0x5b3637[_0x1cd3('0x391')]){return _0x2dad42[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x5b3637['id']})['$promise'][_0x1cd3('0x77')](function(_0x1cd57e){var _0x45fd22=_['map'](_0x1cd57e[_0x1cd3('0xf6')],function(_0x4b2ada){return _['find'](_0xe08c6f[_0x1cd3('0xeda')],{'id':_0x4b2ada['resourceId']});});var _0x2d93bb=null;if(_0xe08c6f[_0x1cd3('0x162d')]){_0x2d93bb=_[_0x1cd3('0x442')](_0xe08c6f['projects'],{'name':_0xe08c6f[_0x1cd3('0x162d')][_0x1cd3('0x1e5c')]});}if(_0x2d93bb&&!_[_0x1cd3('0x38d')](_0x45fd22,['id',_0x2d93bb['id']])){var _0x598b82=_[_0x1cd3('0x442')](_0xe08c6f['projects'],{'id':_0x2d93bb['id']});_0x598b82[_0x1cd3('0xf4a')]=![];_0x45fd22['push'](_0x598b82);}_0xe08c6f['projects']=_0x45fd22;});}}})[_0x1cd3('0xfd')](function(_0x280f61){_0x4835c9['error']({'title':_0x280f61[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x280f61['status']+'\x20-\x20'+_0x280f61[_0x1cd3('0xd35')]:_0x1cd3('0x1d69'),'msg':_0x280f61[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x280f61[_0x1cd3('0x439')]):_0x280f61['toString']()});});_0x43acc1[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x2dad42['interval']['get']({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'IntervalId':'null'})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x2bdbd){_0xe08c6f[_0x1cd3('0x77e')]=_0x2bdbd['rows']||[];})[_0x1cd3('0xfd')](function(_0xcd9fd2){_0x4835c9[_0x1cd3('0x434')]({'title':_0xcd9fd2[_0x1cd3('0x3a6')]?'API:'+_0xcd9fd2[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0xcd9fd2[_0x1cd3('0xd35')]:_0x1cd3('0x11f4'),'msg':_0xcd9fd2[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0xcd9fd2[_0x1cd3('0x439')]):_0xcd9fd2[_0x1cd3('0x43b')]()});}):_0x2dad42['interval'][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'IntervalId':_0x1cd3('0x220')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x4aa4a6){_0xe08c6f[_0x1cd3('0x77e')]=_0x4aa4a6[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x2dad42[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0xe08c6f[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x3ec})['$promise'];})[_0x1cd3('0x77')](function(_0x45168e){var _0x10a7ba=_0x45168e&&_0x45168e[_0x1cd3('0xf6')]?_0x45168e[_0x1cd3('0xf6')][0x0]:null;if(!_0x10a7ba){var _0x193b50=[];var _0x4354ff=null;if(_0xe08c6f[_0x1cd3('0x162d')]){_0x4354ff=_['find'](_0xe08c6f[_0x1cd3('0x77e')],{'id':Number(_0xe08c6f[_0x1cd3('0x162d')]['IntervalId'])});}for(var _0x13e40f=0x0;_0x13e40f<_0xe08c6f[_0x1cd3('0x77e')]['length'];_0x13e40f++){if(_0x4354ff&&_0xe08c6f['interval'][_0x13e40f]['id']===_0x4354ff['id']){_0xe08c6f[_0x1cd3('0x77e')][_0x13e40f][_0x1cd3('0xf4a')]=![];_0x193b50[_0x1cd3('0x7b')](_0xe08c6f[_0x1cd3('0x77e')][_0x13e40f]);}}_0xe08c6f['interval']=_0x193b50;}else{if(!_0x10a7ba[_0x1cd3('0x391')]){return _0x2dad42[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x10a7ba['id']})[_0x1cd3('0x81')]['then'](function(_0x35c11f){var _0xe183b0=_[_0x1cd3('0x3d9')](_0x35c11f[_0x1cd3('0xf6')],function(_0x3661d2){return _[_0x1cd3('0x442')](_0xe08c6f['interval'],{'id':_0x3661d2[_0x1cd3('0xe8e')]});});var _0x252e38=null;if(_0xe08c6f['queueCampaign']){_0x252e38=_['find'](_0xe08c6f[_0x1cd3('0x77e')],{'id':Number(_0xe08c6f[_0x1cd3('0x162d')][_0x1cd3('0xf4b')])});}if(_0x252e38&&!_['some'](_0xe183b0,['id',_0x252e38['id']])){var _0x3574e5=_[_0x1cd3('0x442')](_0xe08c6f[_0x1cd3('0x77e')],{'id':_0x252e38['id']});_0x3574e5[_0x1cd3('0xf4a')]=![];_0xe183b0[_0x1cd3('0x7b')](_0x3574e5);}_0xe08c6f['interval']=_0xe183b0;});}}})[_0x1cd3('0xfd')](function(_0x3bb905){_0x4835c9[_0x1cd3('0x434')]({'title':_0x3bb905[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x3bb905['status']+_0x1cd3('0x436')+_0x3bb905[_0x1cd3('0xd35')]:_0x1cd3('0x11f5'),'msg':_0x3bb905[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x3bb905[_0x1cd3('0x439')]):_0x3bb905[_0x1cd3('0x43b')]()});});_0x43acc1[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x2dad42['pause'][_0x1cd3('0x361')]({'fields':_0x1cd3('0x1380'),'sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x1b041d){_0xe08c6f[_0x1cd3('0x1381')]=_0x1b041d[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x1cb5e3){_0x4835c9[_0x1cd3('0x434')]({'title':_0x1cb5e3['status']?_0x1cd3('0x435')+_0x1cb5e3[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x1cb5e3[_0x1cd3('0xd35')]:_0x1cd3('0x1382'),'msg':_0x1cb5e3[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x1cb5e3['data']):_0x1cb5e3[_0x1cd3('0x43b')]()});}):_0x2dad42[_0x1cd3('0x63e')]['get']({'fields':_0x1cd3('0x1380'),'sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')]['then'](function(_0x522da3){_0xe08c6f[_0x1cd3('0x1381')]=_0x522da3[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x2dad42['userProfileSection'][_0x1cd3('0x361')]({'userProfileId':_0xe08c6f[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x3ed})['$promise'];})[_0x1cd3('0x77')](function(_0x3c48b2){var _0x3f07a1=_0x3c48b2&&_0x3c48b2['rows']?_0x3c48b2['rows'][0x0]:null;if(!_0x3f07a1){_0xe08c6f[_0x1cd3('0x1381')]=[];}else{if(!_0x3f07a1[_0x1cd3('0x391')]){return _0x2dad42[_0x1cd3('0x392')]['get']({'sectionId':_0x3f07a1['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x1a0194){var _0x57bb03=_['map'](_0x1a0194[_0x1cd3('0xf6')],function(_0xb4cc13){return _[_0x1cd3('0x442')](_0xe08c6f[_0x1cd3('0x1381')],{'id':_0xb4cc13[_0x1cd3('0xe8e')]});});_0xe08c6f[_0x1cd3('0x1381')][_0x1cd3('0x394')](function(_0x5ec16b){if(!_[_0x1cd3('0x38d')](_0x57bb03,['id',_0x5ec16b['id']])){_0x5ec16b[_0x1cd3('0xf4a')]=![];}_0x57bb03[_0x1cd3('0x7b')](_0x5ec16b);});_0xe08c6f[_0x1cd3('0x1381')]=_0x57bb03;});}}})[_0x1cd3('0xfd')](function(_0x2e90f5){_0x4835c9[_0x1cd3('0x434')]({'title':_0x2e90f5[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x2e90f5[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x2e90f5['statusText']:_0x1cd3('0x1935'),'msg':_0x2e90f5['data']?JSON[_0x1cd3('0x438')](_0x2e90f5[_0x1cd3('0x439')]):_0x2e90f5[_0x1cd3('0x43b')]()});});function _0x5c7fa1(_0x72cca,_0x447496){_0x188abe['show']({'controller':_0x1cd3('0x1e5d'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1e5e'),'parent':angular[_0x1cd3('0x37f')](_0x3d9295['body']),'targetEvent':_0x447496,'clickOutsideToClose':!![],'locals':{'queueCampaign':_0x72cca,'queueCampaigns':_0xe08c6f['queueCampaigns']?_0xe08c6f['queueCampaigns'][_0x1cd3('0xf6')]:[],'crudPermissions':_0xe08c6f['crudPermissions']}});}function _0x5822aa(_0xf5aa50,_0x4343d0){_0x188abe[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1e50'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1e5f'),'parent':angular[_0x1cd3('0x37f')](_0x3d9295[_0x1cd3('0x380')]),'targetEvent':_0x4343d0,'clickOutsideToClose':!![],'locals':{'queueCampaign':_0xf5aa50,'queueCampaigns':_0xe08c6f[_0x1cd3('0x1634')]?_0xe08c6f[_0x1cd3('0x1634')][_0x1cd3('0xf6')]:[],'crudPermissions':_0xe08c6f[_0x1cd3('0xd27')]}});}function _0x5bd6cd(_0x2c8326,_0x53ad5d){_0x188abe[_0x1cd3('0x37e')]({'controller':'QueueCampaignblacklistaddController','controllerAs':'vm','templateUrl':_0x1cd3('0x1e60'),'parent':angular[_0x1cd3('0x37f')](_0x3d9295['body']),'targetEvent':_0x53ad5d,'clickOutsideToClose':!![],'locals':{'queueCampaign':_0x2c8326,'queueCampaigns':_0xe08c6f[_0x1cd3('0x1634')]?_0xe08c6f['queueCampaigns'][_0x1cd3('0xf6')]:[],'crudPermissions':_0xe08c6f[_0x1cd3('0xd27')]}});}function _0x1956ce(_0x112e9c,_0x2e4299){_0x188abe[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1e61'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1e62'),'parent':angular[_0x1cd3('0x37f')](_0x3d9295[_0x1cd3('0x380')]),'targetEvent':_0x2e4299,'clickOutsideToClose':!![],'locals':{'queueCampaign':_0x112e9c,'queueCampaigns':_0xe08c6f[_0x1cd3('0x1634')]?_0xe08c6f[_0x1cd3('0x1634')][_0x1cd3('0xf6')]:[],'crudPermissions':_0xe08c6f[_0x1cd3('0xd27')]}});}function _0x4224ef(_0x3bd570,_0x52d353){_0x188abe['show']({'controller':_0x1cd3('0x1e1c'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1e63'),'parent':angular[_0x1cd3('0x37f')](_0x3d9295['body']),'targetEvent':_0x52d353,'clickOutsideToClose':!![],'locals':{'queueCampaign':_0x3bd570,'queueCampaigns':_0xe08c6f[_0x1cd3('0x1634')]?_0xe08c6f['queueCampaigns'][_0x1cd3('0xf6')]:[],'crudPermissions':_0xe08c6f[_0x1cd3('0xd27')],'realtime':![]}});}function _0x23b339(_0x206b0d,_0x42d553){var _0x64ca0b=_0x42d553['id'];_0x2dad42[_0x1cd3('0xa48')][_0x1cd3('0x1de3')]({'id':_0x206b0d,'ids':_0x64ca0b})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){return _0x2dad42[_0x1cd3('0xa48')][_0x1cd3('0x1dd9')]({'id':_0x206b0d,'ids':_0x64ca0b,'dialCheckDuplicateType':'never'})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(){_0x4835c9['success']({'title':_0x1cd3('0x1e54'),'msg':_0x1cd3('0x1def')+_0x42d553[_0x1cd3('0x98')]+'\x20has\x20been\x20reset'});})[_0x1cd3('0xfd')](function(_0x982590){_0x4835c9[_0x1cd3('0x434')]({'title':_0x982590[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x982590[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x982590[_0x1cd3('0xd35')]:_0x1cd3('0x1e64'),'msg':_0x982590[_0x1cd3('0x3a6')]?JSON[_0x1cd3('0x438')](_0x982590['data']):_0x982590['toString']()});});}function _0x6e28a1(_0x4da9f3,_0x198c67){_0x2dad42[_0x1cd3('0xa48')][_0x1cd3('0x1545')]({'id':_0x4da9f3['id'],'fields':_0x1cd3('0xa6'),'nolimit':!![]})[_0x1cd3('0x81')]['then'](function(_0x3321fb){if(_[_0x1cd3('0x472')](_0x3321fb['rows'])||_[_0x1cd3('0x398')](_0x3321fb[_0x1cd3('0xf6')])){_0x4835c9[_0x1cd3('0x654')]({'title':_0x1cd3('0x1df1')});}else if(_0x3321fb['rows'][_0x1cd3('0x7a')]===0x1){var _0x9bf00a=_0x188abe['confirm']()[_0x1cd3('0x486')](_0x1cd3('0x1df2')+_0x3321fb['rows'][0x0][_0x1cd3('0x98')]+'\x20?')['htmlContent'](_0x1cd3('0xd51')+_0x3321fb['rows'][0x0]['name']+_0x1cd3('0xd52')+_0x1cd3('0x1e65'))[_0x1cd3('0xd3d')](_0x1cd3('0x1df3'))[_0x1cd3('0xd63')](_0x198c67)['ok']('OK')[_0x1cd3('0x4d8')]('CANCEL');_0x188abe[_0x1cd3('0x37e')](_0x9bf00a)[_0x1cd3('0x77')](function(){_0x23b339(_0xe08c6f[_0x1cd3('0x162d')]['id'],_0x3321fb[_0x1cd3('0xf6')][0x0]);});}else{_0x188abe[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1e51'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1e66'),'parent':angular['element'](_0x3d9295['body']),'targetEvent':_0x198c67,'clickOutsideToClose':![],'locals':{'queueCampaign':_0x4da9f3,'listsCampaign':_0x3321fb?_0x3321fb[_0x1cd3('0xf6')]:[]}});}})['catch'](function(_0x55bd27){_0x4835c9[_0x1cd3('0x434')]({'title':_0x55bd27[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x55bd27[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x55bd27[_0x1cd3('0xd35')]:_0x1cd3('0x1df5'),'msg':_0x55bd27[_0x1cd3('0x3a6')]?JSON[_0x1cd3('0x438')](_0x55bd27['data']):_0x55bd27[_0x1cd3('0x43b')]()});});}function _0x2b9d5e(_0x5af03c,_0x2ec692){if(_0x43acc1['hasRole'](_0x1cd3('0x5f'))){_0x564234['go']('app.motiondialer.realtime.queues',{});}else{return _0x2dad42[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x43acc1['getCurrentUser']()[_0x1cd3('0x5e')],'sectionId':0x5e6})[_0x1cd3('0x81')]['then'](function(_0x48ca48){var _0x186cb0=_0x48ca48&&_0x48ca48[_0x1cd3('0xf6')]?_0x48ca48[_0x1cd3('0xf6')][0x0]:null;if(_0x186cb0&&_0x186cb0[_0x1cd3('0x396')]){_0x564234['go']('app.motiondialer.realtime.queues',{});}else{_0x4835c9['info']({'title':_0x8ceacf[_0x1cd3('0x44a')](_0x1cd3('0x1164')),'msg':_0x8ceacf[_0x1cd3('0x44a')](_0x1cd3('0x11a9'))});}})[_0x1cd3('0xfd')](function(_0x3b647c){_0x4835c9[_0x1cd3('0x434')]({'title':_0x3b647c[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x3b647c['status']+_0x1cd3('0x436')+_0x3b647c[_0x1cd3('0xd35')]:_0x1cd3('0x11aa'),'msg':_0x3b647c[_0x1cd3('0x3a6')]?JSON['stringify'](_0x3b647c[_0x1cd3('0x439')]):_0x3b647c[_0x1cd3('0x43b')]()});});}}function _0x3dd480(){_0x564234['go'](_0x1cd3('0x1fd'),{},{'reload':_0x1cd3('0x1fd')});}function _0x29ac6a(){_0x2dad42['voiceQueue'][_0x1cd3('0x378')]({'id':_0xe08c6f[_0x1cd3('0x162d')]['id']},_0xe08c6f['queueCampaign'])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x4835c9[_0x1cd3('0x473')]({'title':'QueueCampaign\x20updated!','msg':_0xe08c6f[_0x1cd3('0x162d')][_0x1cd3('0x98')]?_0xe08c6f[_0x1cd3('0x162d')][_0x1cd3('0x98')]+'\x20has\x20been\x20updated!':''});})[_0x1cd3('0xfd')](function(_0x24cf75){_0x4835c9[_0x1cd3('0x434')]({'title':_0x24cf75[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x24cf75[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x24cf75[_0x1cd3('0xd35')]:_0x1cd3('0x1da2'),'msg':_0x24cf75[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x24cf75['data']):_0x24cf75[_0x1cd3('0x43b')]()});});}}}());(function(){'use strict';_0x2ce74f[_0x1cd3('0xc')]=['$scope',_0x1cd3('0x371'),'$state',_0x1cd3('0x969'),'$mdDialog',_0x1cd3('0x372'),_0x1cd3('0x3e7'),_0x1cd3('0x3f7'),_0x1cd3('0x1634'),'userProfile','userProfileSection',_0x1cd3('0x370'),_0x1cd3('0x2dd'),'toasty',_0x1cd3('0x56'),_0x1cd3('0x463'),'setting'];angular['module'](_0x1cd3('0x36'))[_0x1cd3('0x39b')](_0x1cd3('0x1e67'),_0x2ce74f);function _0x2ce74f(_0x268367,_0x157e97,_0xb74fb3,_0x5b6d01,_0x214f90,_0x47de1f,_0x34323f,_0x104709,_0x363fd9,_0xa66940,_0x56d1db,_0x30a4a2,_0x398e47,_0x1ab6d2,_0x1960dc,_0x244de3,_0x9012e1){var _0x3a0ca2=this;_0x3a0ca2[_0x1cd3('0x463')]=_0x244de3;_0x3a0ca2[_0x1cd3('0xc49')]=_0x9012e1;_0x3a0ca2['currentUser']=_0x1960dc[_0x1cd3('0x5d')]();_0x3a0ca2['queueCampaigns']=_0x363fd9||{'count':0x0,'rows':[]};_0x3a0ca2['userProfile']=_0xa66940;_0x3a0ca2[_0x1cd3('0x390')]=_0x56d1db&&_0x56d1db[_0x1cd3('0x466')]==0x1?_0x56d1db['rows'][0x0]:null;_0x3a0ca2[_0x1cd3('0xd27')]=_0x1960dc['parseCrudPermissions'](_0x3a0ca2[_0x1cd3('0x390')]?_0x3a0ca2[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);_0x3a0ca2['table']='queueCampaigns';_0x3a0ca2[_0x1cd3('0xd46')]='';_0x3a0ca2[_0x1cd3('0xd47')]=null;_0x3a0ca2[_0x1cd3('0x1e68')]=[];_0x3a0ca2['query']={'fields':_0x1cd3('0x200'),'type':_0x1cd3('0x128'),'sort':_0x1cd3('0x5b'),'channel':_0x1cd3('0x121'),'limit':0xa,'page':0x1};_0x3a0ca2[_0x1cd3('0x1df9')]=_[_0x1cd3('0xe2d')]([{'option':_0x1cd3('0x1e69'),'value':_0x1cd3('0x1d22')},{'option':_0x1cd3('0x1dfa'),'value':_0x1cd3('0x1d27')},{'option':'ONLY_IF_OPEN','value':_0x1cd3('0x1dfc')}],function(_0x1bf41a){return _[_0x1cd3('0x3f1')](_0x1bf41a['value'],new RegExp('\x27','g'),'');});_0x3a0ca2[_0x1cd3('0x1e6a')]=_[_0x1cd3('0xe2d')]([{'option':_0x1cd3('0xf2c'),'value':_0x1cd3('0x1e6b')},{'option':'No','value':_0x1cd3('0x123c')}],function(_0x83e921){return _[_0x1cd3('0x3f1')](_0x83e921[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x3a0ca2[_0x1cd3('0x1e6c')]=_['keyBy']([{'option':_0x1cd3('0xf2c'),'value':_0x1cd3('0x1e6d')},{'option':'No','value':_0x1cd3('0x123c')}],function(_0x29400d){return _[_0x1cd3('0x3f1')](_0x29400d[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x3a0ca2[_0x1cd3('0x1e6e')]=_['keyBy']([{'option':_0x1cd3('0xf2c'),'value':'\x27yes\x27'},{'option':'No','value':_0x1cd3('0x123c')}],function(_0x2f4623){return _[_0x1cd3('0x3f1')](_0x2f4623[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x3a0ca2[_0x1cd3('0x1e6f')]=_[_0x1cd3('0xe2d')]([{'option':'Inactive','value':'\x27\x27'},{'option':_0x1cd3('0x6b5'),'value':_0x1cd3('0x1e70')},{'option':_0x1cd3('0x1e71'),'value':_0x1cd3('0x1e72')},{'option':_0x1cd3('0xf38'),'value':_0x1cd3('0x1e73')}],function(_0xb8c0f){return _[_0x1cd3('0x3f1')](_0xb8c0f['value'],new RegExp('\x27','g'),'');});_0x3a0ca2[_0x1cd3('0x1e74')]=_[_0x1cd3('0xe2d')]([{'option':_0x1cd3('0xf2c'),'value':'\x27yes\x27'},{'option':'No','value':_0x1cd3('0x123c')}],function(_0x44bf5c){return _[_0x1cd3('0x3f1')](_0x44bf5c[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x3a0ca2[_0x1cd3('0x1e75')]=_[_0x1cd3('0xe2d')]([{'option':'Yes','value':_0x1cd3('0x1e6d')},{'option':'No','value':'\x27no\x27'}],function(_0x19d567){return _[_0x1cd3('0x3f1')](_0x19d567[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x3a0ca2['arraysetqueueentryvar']=_[_0x1cd3('0xe2d')]([{'option':'Yes','value':_0x1cd3('0x1e6d')},{'option':'No','value':_0x1cd3('0x123c')}],function(_0x14dfbf){return _['replace'](_0x14dfbf['value'],new RegExp('\x27','g'),'');});_0x3a0ca2[_0x1cd3('0x1dfd')]=_['keyBy']([{'option':_0x1cd3('0x1dfe'),'value':_0x1cd3('0x1dff')},{'option':_0x1cd3('0xe58'),'value':_0x1cd3('0x1e00')}],function(_0xa820b1){return _[_0x1cd3('0x3f1')](_0xa820b1[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x3a0ca2['arraydialMethod']=_['keyBy']([{'option':_0x1cd3('0x1e76'),'value':_0x1cd3('0x1e77')},{'option':_0x1cd3('0x1e78'),'value':_0x1cd3('0x1e79')},{'option':_0x1cd3('0x1e7a'),'value':'\x27predictive\x27'},{'option':_0x1cd3('0x1e7b'),'value':'\x27preview\x27'},{'option':_0x1cd3('0x1e7c'),'value':'\x27booked\x27'}],function(_0x4f6eb9){return _[_0x1cd3('0x3f1')](_0x4f6eb9[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x3a0ca2[_0x1cd3('0x1e7d')]=_[_0x1cd3('0xe2d')]([{'option':_0x1cd3('0x1e7e'),'value':'\x27agentBusyFactor\x27'},{'option':_0x1cd3('0x1e7f'),'value':'\x27dropRate\x27'}],function(_0x3fb109){return _[_0x1cd3('0x3f1')](_0x3fb109[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x3a0ca2['arraystrategy']=_[_0x1cd3('0xe2d')]([{'option':'Round\x20Robin\x20Memory','value':_0x1cd3('0x1971')},{'option':_0x1cd3('0x1e80'),'value':_0x1cd3('0x1e81'),'ngIf':_0x1cd3('0x1e82')},{'option':_0x1cd3('0x1e83'),'value':_0x1cd3('0x1e84'),'ngIf':_0x1cd3('0x1e85')},{'option':_0x1cd3('0x1e86'),'value':'\x27fewestcalls\x27','ngIf':'vm.queueCampaign.dialMethod\x20!==\x20\x27booked\x27'},{'option':'Random','value':'\x27random\x27','ngIf':_0x1cd3('0x1e85')},{'option':_0x1cd3('0x1e87'),'value':'\x27linear\x27','ngIf':_0x1cd3('0x1e85')},{'option':_0x1cd3('0x1e88'),'value':_0x1cd3('0x1e89'),'ngIf':_0x1cd3('0x1e85')}],function(_0x4e0e33){return _[_0x1cd3('0x3f1')](_0x4e0e33[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x3a0ca2[_0x1cd3('0x1171')]=_0x4d1007;_0x3a0ca2[_0x1cd3('0x1c48')]=_0x30f7c4;_0x3a0ca2[_0x1cd3('0x1de8')]=_0x44a515;_0x3a0ca2['blacklistadddialog']=_0x2b28ef;_0x3a0ca2['teamadddialog']=_0x1a0d35;_0x3a0ca2[_0x1cd3('0x119b')]=_0x48c0bf;_0x3a0ca2[_0x1cd3('0xecc')]=_0x44c70b;_0x3a0ca2['gotorealtimegoto']=_0x19e9b1;_0x3a0ca2[_0x1cd3('0x473')]=_0x12e6ba;_0x3a0ca2[_0x1cd3('0x1e8a')]=_0xb72940;_0x3a0ca2[_0x1cd3('0x1e8b')]=_0x2e6a12;_0x3a0ca2['deleteQueueCampaign']=_0x2b9ef7;_0x3a0ca2[_0x1cd3('0x1e8c')]=_0x27d0cc;_0x3a0ca2[_0x1cd3('0x1e8d')]=_0x46aef0;_0x3a0ca2[_0x1cd3('0x1e8e')]=_0x1ec5c8;_0x3a0ca2[_0x1cd3('0x1e8f')]=_0x114a9c;_0x1960dc[_0x1cd3('0x57')]('admin')?_0x30a4a2[_0x1cd3('0x18e7')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98')})['$promise'][_0x1cd3('0x77')](function(_0x390553){_0x3a0ca2[_0x1cd3('0xef5')]=_0x390553[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x5996cf){_0x1ab6d2['error']({'title':_0x5996cf[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x5996cf[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x5996cf[_0x1cd3('0xd35')]:_0x1cd3('0x18e6'),'msg':_0x5996cf[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x5996cf[_0x1cd3('0x439')]):_0x5996cf[_0x1cd3('0x43b')]()});}):_0x30a4a2[_0x1cd3('0x18e7')][_0x1cd3('0x361')]({'fields':'id,name','sort':_0x1cd3('0x98')})[_0x1cd3('0x81')]['then'](function(_0x2a74b2){_0x3a0ca2[_0x1cd3('0xef5')]=_0x2a74b2[_0x1cd3('0xf6')]||[];})['then'](function(){return _0x30a4a2['userProfileSection'][_0x1cd3('0x361')]({'userProfileId':_0x3a0ca2[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x3f3})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x4a5e6a){var _0x45c5f0=_0x4a5e6a&&_0x4a5e6a[_0x1cd3('0xf6')]?_0x4a5e6a[_0x1cd3('0xf6')][0x0]:null;if(!_0x45c5f0){var _0x43c81e=[];var _0x1669e9=[];_0x3a0ca2[_0x1cd3('0x1634')][_0x1cd3('0xf6')][_0x1cd3('0x394')](function(_0x527cfa){var _0x1ec290=_[_0x1cd3('0x442')](_0x3a0ca2[_0x1cd3('0xef5')],{'id':Number(_0x527cfa['TrunkId'])});_0x1669e9['push'](_0x1ec290);});for(var _0x6a97e2=0x0;_0x6a97e2<_0x3a0ca2[_0x1cd3('0xef5')]['length'];_0x6a97e2++){var _0x277615=_[_0x1cd3('0x38d')](_0x1669e9,{'id':_0x3a0ca2['trunks'][_0x6a97e2]['id']});if(_0x277615){_0x3a0ca2['trunks'][_0x6a97e2][_0x1cd3('0xf4a')]=![];_0x43c81e[_0x1cd3('0x7b')](_0x3a0ca2[_0x1cd3('0xef5')][_0x6a97e2]);}}_0x3a0ca2[_0x1cd3('0xef5')]=_0x43c81e;}else{if(!_0x45c5f0[_0x1cd3('0x391')]){return _0x30a4a2[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x45c5f0['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x4e397c){var _0x1d4782=_['map'](_0x4e397c[_0x1cd3('0xf6')],function(_0x497ccd){return _[_0x1cd3('0x442')](_0x3a0ca2[_0x1cd3('0xef5')],{'id':_0x497ccd[_0x1cd3('0xe8e')]});});var _0x1a53d4=null;_0x1a53d4=[];_0x3a0ca2[_0x1cd3('0x1634')][_0x1cd3('0xf6')][_0x1cd3('0x394')](function(_0x1b7a39){var _0x503cbd=_[_0x1cd3('0x442')](_0x3a0ca2[_0x1cd3('0xef5')],{'id':Number(_0x1b7a39[_0x1cd3('0x18e8')])});_0x1a53d4[_0x1cd3('0x7b')](_0x503cbd);});if(!_[_0x1cd3('0x398')](_0x1a53d4)){_0x1a53d4[_0x1cd3('0x394')](function(_0x4b583e){if(!_['some'](_0x1d4782,['id',_0x4b583e['id']])){var _0x3ee5f5=_[_0x1cd3('0x442')](_0x3a0ca2[_0x1cd3('0xef5')],{'id':_0x4b583e['id']});_0x3ee5f5[_0x1cd3('0xf4a')]=![];_0x1d4782[_0x1cd3('0x7b')](_0x3ee5f5);}});}_0x3a0ca2[_0x1cd3('0xef5')]=_0x1d4782;});}}})[_0x1cd3('0xfd')](function(_0x10dbab){_0x1ab6d2[_0x1cd3('0x434')]({'title':_0x10dbab[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x10dbab['status']+_0x1cd3('0x436')+_0x10dbab[_0x1cd3('0xd35')]:_0x1cd3('0x18e9'),'msg':_0x10dbab['data']?JSON[_0x1cd3('0x438')](_0x10dbab['data']):_0x10dbab[_0x1cd3('0x43b')]()});});_0x1960dc['hasRole'](_0x1cd3('0x5f'))?_0x30a4a2[_0x1cd3('0x77e')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'IntervalId':_0x1cd3('0x220')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x399011){_0x3a0ca2[_0x1cd3('0x77e')]=_0x399011[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x4447e5){_0x1ab6d2[_0x1cd3('0x434')]({'title':_0x4447e5[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x4447e5['status']+_0x1cd3('0x436')+_0x4447e5['statusText']:_0x1cd3('0x11f4'),'msg':_0x4447e5[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x4447e5[_0x1cd3('0x439')]):_0x4447e5[_0x1cd3('0x43b')]()});}):_0x30a4a2[_0x1cd3('0x77e')][_0x1cd3('0x361')]({'fields':'id,name','sort':_0x1cd3('0x98'),'IntervalId':_0x1cd3('0x220')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x507fdc){_0x3a0ca2[_0x1cd3('0x77e')]=_0x507fdc[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x30a4a2[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x3a0ca2['currentUser'][_0x1cd3('0x5e')],'sectionId':0x3ec})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x365123){var _0x245097=_0x365123&&_0x365123[_0x1cd3('0xf6')]?_0x365123['rows'][0x0]:null;if(!_0x245097){var _0x4b3ae0=[];var _0x4da751=null;if(_0x3a0ca2[_0x1cd3('0x162d')]){_0x4da751=_[_0x1cd3('0x442')](_0x3a0ca2[_0x1cd3('0x77e')],{'id':Number(_0x3a0ca2[_0x1cd3('0x162d')][_0x1cd3('0xf4b')])});}for(var _0x53802d=0x0;_0x53802d<_0x3a0ca2[_0x1cd3('0x77e')][_0x1cd3('0x7a')];_0x53802d++){if(_0x4da751&&_0x3a0ca2[_0x1cd3('0x77e')][_0x53802d]['id']===_0x4da751['id']){_0x3a0ca2['interval'][_0x53802d]['canSelect']=![];_0x4b3ae0[_0x1cd3('0x7b')](_0x3a0ca2[_0x1cd3('0x77e')][_0x53802d]);}}_0x3a0ca2['interval']=_0x4b3ae0;}else{if(!_0x245097[_0x1cd3('0x391')]){return _0x30a4a2['userProfileResource']['get']({'sectionId':_0x245097['id']})['$promise']['then'](function(_0x1df38c){var _0x3c1579=_['map'](_0x1df38c['rows'],function(_0x534c93){return _[_0x1cd3('0x442')](_0x3a0ca2['interval'],{'id':_0x534c93[_0x1cd3('0xe8e')]});});var _0x34de74=null;if(_0x3a0ca2[_0x1cd3('0x162d')]){_0x34de74=_['find'](_0x3a0ca2[_0x1cd3('0x77e')],{'id':Number(_0x3a0ca2[_0x1cd3('0x162d')][_0x1cd3('0xf4b')])});}if(_0x34de74&&!_[_0x1cd3('0x38d')](_0x3c1579,['id',_0x34de74['id']])){var _0x30b740=_[_0x1cd3('0x442')](_0x3a0ca2[_0x1cd3('0x77e')],{'id':_0x34de74['id']});_0x30b740[_0x1cd3('0xf4a')]=![];_0x3c1579[_0x1cd3('0x7b')](_0x30b740);}_0x3a0ca2[_0x1cd3('0x77e')]=_0x3c1579;});}}})['catch'](function(_0x185c02){_0x1ab6d2[_0x1cd3('0x434')]({'title':_0x185c02['status']?_0x1cd3('0x435')+_0x185c02[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x185c02['statusText']:_0x1cd3('0x11f5'),'msg':_0x185c02[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x185c02[_0x1cd3('0x439')]):_0x185c02[_0x1cd3('0x43b')]()});});function _0x4d1007(_0x472ab3,_0x268fed){_0xb74fb3['go'](_0x1cd3('0x1e25'),{'id':_0x472ab3['id'],'queueCampaign':_0x472ab3,'crudPermissions':_0x3a0ca2[_0x1cd3('0xd27')]});}function _0x30f7c4(_0x53f8bc,_0x2e47fc){_0x214f90[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1e5d'),'controllerAs':'vm','templateUrl':'app/main/apps/motiondialer/views/queueCampaigns/edit/clone/clone.html','parent':angular[_0x1cd3('0x37f')](_0x47de1f[_0x1cd3('0x380')]),'targetEvent':_0x2e47fc,'clickOutsideToClose':!![],'locals':{'queueCampaign':_0x53f8bc,'queueCampaigns':_0x3a0ca2['queueCampaigns']?_0x3a0ca2[_0x1cd3('0x1634')][_0x1cd3('0xf6')]:[],'crudPermissions':_0x3a0ca2['crudPermissions']}});}function _0x44a515(_0x10df69,_0x59da47){_0x214f90[_0x1cd3('0x37e')]({'controller':'QueueCampaignlistaddController','controllerAs':'vm','templateUrl':_0x1cd3('0x1e5f'),'parent':angular[_0x1cd3('0x37f')](_0x47de1f[_0x1cd3('0x380')]),'targetEvent':_0x59da47,'clickOutsideToClose':!![],'locals':{'queueCampaign':_0x10df69,'queueCampaigns':_0x3a0ca2[_0x1cd3('0x1634')]?_0x3a0ca2['queueCampaigns'][_0x1cd3('0xf6')]:[],'crudPermissions':_0x3a0ca2[_0x1cd3('0xd27')]}});}function _0x2b28ef(_0x3af71a,_0x5e4873){_0x214f90['show']({'controller':_0x1cd3('0x1e22'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1e60'),'parent':angular[_0x1cd3('0x37f')](_0x47de1f[_0x1cd3('0x380')]),'targetEvent':_0x5e4873,'clickOutsideToClose':!![],'locals':{'queueCampaign':_0x3af71a,'queueCampaigns':_0x3a0ca2[_0x1cd3('0x1634')]?_0x3a0ca2[_0x1cd3('0x1634')][_0x1cd3('0xf6')]:[],'crudPermissions':_0x3a0ca2[_0x1cd3('0xd27')]}});}function _0x1a0d35(_0x1c5119,_0x1e8ba5){_0x214f90[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1e61'),'controllerAs':'vm','templateUrl':'app/main/apps/motiondialer/views/queueCampaigns/edit/teamadd/teamadd.html','parent':angular[_0x1cd3('0x37f')](_0x47de1f[_0x1cd3('0x380')]),'targetEvent':_0x1e8ba5,'clickOutsideToClose':!![],'locals':{'queueCampaign':_0x1c5119,'queueCampaigns':_0x3a0ca2[_0x1cd3('0x1634')]?_0x3a0ca2['queueCampaigns'][_0x1cd3('0xf6')]:[],'crudPermissions':_0x3a0ca2[_0x1cd3('0xd27')]}});}function _0x48c0bf(_0x1d312a,_0x3d7899){_0x214f90[_0x1cd3('0x37e')]({'controller':'QueueCampaignagentaddController','controllerAs':'vm','templateUrl':'app/main/apps/motiondialer/views/queueCampaigns/edit/agentadd/agentadd.html','parent':angular['element'](_0x47de1f[_0x1cd3('0x380')]),'targetEvent':_0x3d7899,'clickOutsideToClose':!![],'locals':{'queueCampaign':_0x1d312a,'queueCampaigns':_0x3a0ca2[_0x1cd3('0x1634')]?_0x3a0ca2['queueCampaigns'][_0x1cd3('0xf6')]:[],'crudPermissions':_0x3a0ca2['crudPermissions'],'realtime':![]}});}function _0x44c70b(_0x495da5,_0x3fb895){var _0xc3126d=_0x214f90[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xd4f')+_[_0x1cd3('0xd50')]('queueCampaign')+'?')['htmlContent'](_0x1cd3('0xd51')+(_0x495da5[_0x1cd3('0x98')]||'queueCampaign')+_0x1cd3('0xd52')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x1e90'))[_0x1cd3('0xd63')](_0x3fb895)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x214f90[_0x1cd3('0x37e')](_0xc3126d)[_0x1cd3('0x77')](function(){_0x2b9ef7(_0x495da5);},function(){console['log']('CANCEL');});}function _0x19e9b1(_0x4a5181,_0x5a93d2){if(_0x1960dc['hasRole'](_0x1cd3('0x5f'))){_0xb74fb3['go'](_0x1cd3('0x211'),{});}else{return _0x30a4a2[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x1960dc[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x5e6})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x51a8d3){var _0x2d5cc5=_0x51a8d3&&_0x51a8d3[_0x1cd3('0xf6')]?_0x51a8d3[_0x1cd3('0xf6')][0x0]:null;if(_0x2d5cc5&&_0x2d5cc5['enabled']){_0xb74fb3['go']('app.motiondialer.realtime.queues',{});}else{_0x1ab6d2['info']({'title':_0x104709[_0x1cd3('0x44a')](_0x1cd3('0x1164')),'msg':_0x104709[_0x1cd3('0x44a')]('STAFF.PERMISSIONS_UNAUTHORIZED_REDIRECT_MESSAGE')});}})[_0x1cd3('0xfd')](function(_0x36aac3){_0x1ab6d2['error']({'title':_0x36aac3[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x36aac3['status']+'\x20-\x20'+_0x36aac3[_0x1cd3('0xd35')]:'USERPROFILE:GET_SECTION','msg':_0x36aac3['status']?JSON[_0x1cd3('0x438')](_0x36aac3[_0x1cd3('0x439')]):_0x36aac3[_0x1cd3('0x43b')]()});});}}var _0x299af8=!![];var _0x32dd22=0x1;_0x268367['$watch'](_0x1cd3('0xd56'),function(_0x80d15f,_0x4a17f5){if(_0x299af8){_0x34323f(function(){_0x299af8=![];});}else{if(!_0x4a17f5){_0x32dd22=_0x3a0ca2[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0x80d15f!==_0x4a17f5){_0x3a0ca2['query']['page']=0x1;}if(!_0x80d15f){_0x3a0ca2[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0x32dd22;}_0x3a0ca2[_0x1cd3('0x1e8a')]();}});function _0x12e6ba(_0x5da4c7){_0x3a0ca2[_0x1cd3('0x1634')]=_0x5da4c7||{'count':0x0,'rows':[]};}function _0xb72940(){_0x3a0ca2['query'][_0x1cd3('0xd57')]=(_0x3a0ca2[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0x3a0ca2['query']['limit'];if(_0x1960dc[_0x1cd3('0x57')]('admin')){_0x3a0ca2[_0x1cd3('0x539')]=_0x30a4a2['voiceQueue'][_0x1cd3('0x361')](_0x3a0ca2[_0x1cd3('0x3d4')],_0x12e6ba)[_0x1cd3('0x81')];}else{_0x3a0ca2['query']['id']=_0x3a0ca2['userProfile']['id'];_0x3a0ca2['query']['section']='QueueCampaigns';_0x3a0ca2[_0x1cd3('0x539')]=_0x30a4a2[_0x1cd3('0x38a')][_0x1cd3('0xd59')](_0x3a0ca2[_0x1cd3('0x3d4')],_0x12e6ba)[_0x1cd3('0x81')];}}function _0x2e6a12(_0x5ed10e,_0x7f5c1){_0x214f90[_0x1cd3('0x37e')]({'controller':'CreateOrEditQueueCampaignDialogController','controllerAs':'vm','templateUrl':_0x1cd3('0x1e91'),'parent':angular[_0x1cd3('0x37f')](_0x47de1f[_0x1cd3('0x380')]),'targetEvent':_0x5ed10e,'clickOutsideToClose':!![],'locals':{'queueCampaign':_0x7f5c1,'queueCampaigns':_0x3a0ca2[_0x1cd3('0x1634')][_0x1cd3('0xf6')],'license':_0x3a0ca2[_0x1cd3('0x463')],'setting':_0x3a0ca2[_0x1cd3('0xc49')],'crudPermissions':_0x3a0ca2['crudPermissions']}});}function _0x2b9ef7(_0x31fe1f){_0x30a4a2[_0x1cd3('0xa48')][_0x1cd3('0xa1c')]({'id':_0x31fe1f['id']})[_0x1cd3('0x81')]['then'](function(){_[_0x1cd3('0x383')](_0x3a0ca2[_0x1cd3('0x1634')]['rows'],{'id':_0x31fe1f['id']});_0x3a0ca2['queueCampaigns'][_0x1cd3('0x466')]-=0x1;if(!_0x3a0ca2[_0x1cd3('0x1634')][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){_0x3a0ca2['getQueueCampaigns']();}_0x1ab6d2[_0x1cd3('0x473')]({'title':_[_0x1cd3('0xd50')]('QueueCampaign')+'\x20deleted!','msg':_0x31fe1f[_0x1cd3('0x98')]?_0x31fe1f[_0x1cd3('0x98')]+_0x1cd3('0xd41'):''});})[_0x1cd3('0xfd')](function(_0x21d872){if(_0x21d872[_0x1cd3('0x439')]&&_0x21d872[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x21d872[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x3a0ca2[_0x1cd3('0xd34')]=_0x21d872[_0x1cd3('0x439')]['errors']||[{'message':_0x21d872['toString'](),'type':'SYSTEM:DELETEvoiceQueue'}];for(var _0x491a19=0x0;_0x491a19<_0x21d872[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x491a19++){_0x1ab6d2[_0x1cd3('0x434')]({'title':_0x21d872[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x491a19][_0x1cd3('0x424')],'msg':_0x21d872[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x491a19]['message']});}}else{_0x1ab6d2[_0x1cd3('0x434')]({'title':_0x21d872[_0x1cd3('0x3a6')]?'API:'+_0x21d872[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x21d872[_0x1cd3('0xd35')]:_0x1cd3('0x1e92'),'msg':_0x21d872[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x21d872[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x21d872[_0x1cd3('0x43a')]||_0x21d872[_0x1cd3('0x43b')]()});}});}function _0x27d0cc(){var _0x441861=angular['copy'](_0x3a0ca2[_0x1cd3('0x1e68')]);_0x3a0ca2[_0x1cd3('0x1e68')]=[];return _0x441861;}function _0x46aef0(_0x4ae8f2){var _0x3fe09e=_0x214f90['confirm']()[_0x1cd3('0x486')](_0x1cd3('0x1e93'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x3a0ca2[_0x1cd3('0x1e68')][_0x1cd3('0x7a')]+'\x20selected</b>'+'\x20will\x20be\x20deleted.')[_0x1cd3('0xd3d')](_0x1cd3('0x1e94'))[_0x1cd3('0xd63')](_0x4ae8f2)['ok']('OK')[_0x1cd3('0x4d8')]('CANCEL');_0x214f90[_0x1cd3('0x37e')](_0x3fe09e)[_0x1cd3('0x77')](function(){_0x3a0ca2[_0x1cd3('0x1e68')][_0x1cd3('0x394')](function(_0x76508e){_0x2b9ef7(_0x76508e);});_0x3a0ca2[_0x1cd3('0x1e68')]=[];});}function _0x1ec5c8(){_0x3a0ca2['selectedQueueCampaigns']=[];}function _0x114a9c(){_0x3a0ca2[_0x1cd3('0x1e68')]=_0x3a0ca2[_0x1cd3('0x1634')]['rows'];}}}());(function(){'use strict';_0x1a4493['$inject']=['$scope',_0x1cd3('0x3e7'),_0x1cd3('0x3c5'),_0x1cd3('0x372'),_0x1cd3('0x371'),_0x1cd3('0x3f7'),_0x1cd3('0x370'),_0x1cd3('0x38a'),_0x1cd3('0x390'),_0x1cd3('0x56'),_0x1cd3('0xd18'),_0x1cd3('0x461'),_0x1cd3('0x1228'),_0x1cd3('0x15a5')];angular[_0x1cd3('0x0')](_0x1cd3('0x36'))[_0x1cd3('0x39b')](_0x1cd3('0x1e95'),_0x1a4493);function _0x1a4493(_0x1a3654,_0x4bcdb1,_0x8eba7a,_0x552b43,_0x2361f6,_0xd62bdb,_0x38c7be,_0x4c5822,_0x327728,_0x45351f,_0x3cfc7e,_0x1118f4,_0x329934,_0x64f9be){var _0x586a31=this;var _0x2c67ad=!![];_0x586a31['currentUser']=_0x45351f['getCurrentUser']();_0x586a31[_0x1cd3('0x1228')]=_0x329934?_0x329934:[];_0x586a31[_0x1cd3('0x15a5')]=_0x64f9be;_0x586a31[_0x1cd3('0x1659')]={'count':0x0,'rows':[]};_0x586a31[_0x1cd3('0x1647')]=![];_0x586a31[_0x1cd3('0x8fa')]=!![];_0x586a31['userProfile']=_0x4c5822;_0x586a31[_0x1cd3('0x390')]=_0x327728&&_0x327728[_0x1cd3('0x466')]==0x1?_0x327728[_0x1cd3('0xf6')][0x0]:null;_0x586a31[_0x1cd3('0xd27')]=_0x45351f[_0x1cd3('0xd44')](_0x586a31[_0x1cd3('0x390')]?_0x586a31[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);_0x586a31['query']={'fields':_0x1cd3('0x1648'),'type':_0x1cd3('0x128'),'queuecallerexitreason':_0x1cd3('0x1649')+','+'ABANDONED','sort':_0x1cd3('0x5b'),'limit':0xa,'page':0x1};_0x586a31[_0x1cd3('0x1655')]=_0xe17068;_0x586a31['refreshAbandonedCalls']=_0x87384d;_0x586a31['assignTo']=_0x11ef0e;_0x586a31[_0x1cd3('0x1e96')]=_0x565cba;_0x586a31['onSaveVoiceQueueReport']=_0x591bfe;_0x586a31[_0x1cd3('0x1e97')]=_0x931058;_0x3cfc7e[_0x1cd3('0x1555')](_0x1cd3('0x165d'),_0x586a31[_0x1cd3('0x1e98')]);_0x3cfc7e['on'](_0x1cd3('0x1651'),_0x586a31[_0x1cd3('0x1e97')]);_0x6af522();function _0x6af522(){var _0x2e0c51=_0x2361f6['localStorage']['getItem']('motion2.realtime.abandoned.bull.abandonedCalls:'+_0x586a31[_0x1cd3('0x3ca')]['id']);if(_0x2e0c51){_0x2e0c51=JSON[_0x1cd3('0x79')](_0x2e0c51);if(_0x2e0c51&&_0x2e0c51[_0x1cd3('0x3d4')]){_0x586a31[_0x1cd3('0x3d4')]=_[_0x1cd3('0xf2')](_0x2e0c51[_0x1cd3('0x3d4')],_['omit'](_0x586a31[_0x1cd3('0x3d4')],['sort',_0x1cd3('0x8fe'),_0x1cd3('0x8fd')]));_0x586a31['query']=_[_0x1cd3('0x3e3')](_0x586a31[_0x1cd3('0x3d4')],_0x1cd3('0x395'));}}else{var _0x1346d1={'$gte':moment()['startOf'](_0x1cd3('0x6e8'))[_0x1cd3('0x12f')](0x0,!![])[_0x1cd3('0x130')](),'$lte':moment()['endOf'](_0x1cd3('0x6e8'))[_0x1cd3('0x12f')](0x0,!![])[_0x1cd3('0x130')]()};_0x586a31[_0x1cd3('0x3d4')][_0x1cd3('0xe0d')]=_0x1346d1;}if(_0x45351f[_0x1cd3('0x57')](_0x1cd3('0x5f'))){_0x38c7be[_0x1cd3('0x368')]['getQueues']({'id':_0x45351f[_0x1cd3('0x5d')]()['id'],'fields':_0x1cd3('0xa6'),'channel':_0x1cd3('0x121'),'type':_0x1cd3('0x128'),'nolimit':!![]})['$promise']['then'](function(_0x542ebe){_0x586a31['queues']=_0x542ebe||{'count':0x0,'rows':[]};_0x586a31[_0x1cd3('0x1652')]=_[_0x1cd3('0x3d8')](_[_0x1cd3('0xe2d')](_0x586a31[_0x1cd3('0x1155')][_0x1cd3('0xf6')],'name'),_0x1cd3('0x98'));})['catch'](function(_0x4a8665){console['error'](_0x4a8665);})[_0x1cd3('0x5dd')](function(){_0x586a31[_0x1cd3('0x1315')]=_0x25c280();_0x586a31[_0x1cd3('0x1655')]();});}else{_0x38c7be['userProfile'][_0x1cd3('0xd59')]({'id':_0x586a31[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'section':'QueueCampaigns','channel':_0x1cd3('0x121'),'type':_0x1cd3('0x128'),'sort':_0x1cd3('0x5b'),'nolimit':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x3acae4){_0x586a31[_0x1cd3('0x1155')]=_0x3acae4||{'count':0x0,'rows':[]};_0x586a31[_0x1cd3('0x1652')]=_['mapValues'](_['keyBy'](_0x586a31[_0x1cd3('0x1155')][_0x1cd3('0xf6')],_0x1cd3('0x98')),_0x1cd3('0x98'));})[_0x1cd3('0xfd')](function(_0x1eb69b){console[_0x1cd3('0x434')](_0x1eb69b);})[_0x1cd3('0x5dd')](function(){_0x586a31[_0x1cd3('0x1315')]=_0x25c280();_0x586a31[_0x1cd3('0x1655')]();});}}function _0x25c280(){console[_0x1cd3('0x7d')](_0x1cd3('0x1e99'),_0x586a31['agents'][_0x1cd3('0xf6')]);return[{'name':_0x1cd3('0x132c'),'key':_0x1cd3('0xe0d'),'type':'date','label':_0x1cd3('0x1316')},{'name':'Agent','key':_0x1cd3('0x1e9a'),'type':_0x1cd3('0x44f'),'label':'DASHBOARDS.SELECT_AGENT','options':_0x586a31[_0x1cd3('0x1228')]['rows'],'customOptions':[{'value':_0x1cd3('0x1657'),'translate':_0x1cd3('0x1320')},{'value':undefined,'translate':'DASHBOARDS.ALL'}]},{'name':_0x1cd3('0x1e9b'),'key':_0x1cd3('0x1220'),'type':_0x1cd3('0x3fa'),'label':_0x1cd3('0x1658'),'options':_0x586a31['queues'][_0x1cd3('0xf6')]}];}function _0xe17068(){_0x586a31[_0x1cd3('0x8fa')]=![];if(_0x586a31['queues'][_0x1cd3('0x466')]>0x0){_0x586a31[_0x1cd3('0x3d4')][_0x1cd3('0x1220')]=_0x586a31[_0x1cd3('0x1155')]['count']===0x1?_0x586a31['queues'][_0x1cd3('0xf6')][0x0][_0x1cd3('0x98')]:_0x586a31[_0x1cd3('0x3d4')][_0x1cd3('0x1220')];_0x586a31[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0x586a31[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0x586a31[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];_0x2361f6['localStorage'][_0x1cd3('0x3e2')](_0x1cd3('0x1e9c')+_0x586a31['currentUser']['id'],JSON[_0x1cd3('0x438')]({'query':_[_0x1cd3('0x3e3')](_0x586a31[_0x1cd3('0x3d4')],_0x1cd3('0x1220'))}));_0x586a31[_0x1cd3('0x539')]=_0x38c7be['voiceQueueReport']['getVoiceQueuesReport'](_0x586a31[_0x1cd3('0x3d4')],_0xa9a07a)[_0x1cd3('0x81')];}else{_0xa9a07a(null);}}function _0xa9a07a(_0x5bb842){_0x586a31['abandonedCalls']=_0x5bb842||{'count':0x0,'rows':[]};_0x2c67ad=![];_0x586a31[_0x1cd3('0x8fa')]=!![];}function _0x87384d(){_0x586a31[_0x1cd3('0x1647')]=![];_0x586a31[_0x1cd3('0x1655')]();}function _0x591bfe(_0x316eb6){var _0x5dccb4=_0x1cd3('0x128');if(_0x316eb6&&_0x586a31['queuesMap']&&queue[_0x1cd3('0x424')]===_0x5dccb4&&_0x586a31[_0x1cd3('0x1652')][_0x316eb6['queue']]){_0x586a31['showTooltip']=!![];}}function _0x931058(_0x1ba007){if(_0x1ba007){var _0x28e9c6=_[_0x1cd3('0x445')](_0x586a31[_0x1cd3('0x1659')][_0x1cd3('0xf6')],['id',_0x1ba007['id']]);if(_0x28e9c6>=0x0){_['merge'](_0x586a31[_0x1cd3('0x1659')][_0x1cd3('0xf6')][_0x28e9c6],_0x1ba007);}}}function _0x11ef0e(_0x364835,_0x125e1c){if(_0x364835){_0x38c7be[_0x1cd3('0xa70')][_0x1cd3('0x378')]({'id':_0x364835['id'],'lastAssignedTo':_0x125e1c?_0x125e1c[_0x1cd3('0x98')]:null,'assigned':_0x125e1c?!![]:![]})[_0x1cd3('0x81')][_0x1cd3('0xfd')](function(_0x26797e){console[_0x1cd3('0x7d')](_0x26797e);});}}function _0x565cba(_0x1cbdac,_0x5b3d02){if(_0x1cbdac){_0x38c7be['voiceQueueReport'][_0x1cd3('0x378')]({'id':_0x1cbdac['id'],'disposition':_0x5b3d02?_0x5b3d02:null})[_0x1cd3('0x81')][_0x1cd3('0xfd')](function(_0x2f994a){console[_0x1cd3('0x7d')](_0x2f994a);});}}var _0x2eab5b=!![];var _0x24e0e1=0x1;_0x1a3654[_0x1cd3('0x4d6')](_0x1cd3('0xd56'),function(_0x353c6d,_0x5bb1bd){if(_0x2eab5b){_0x4bcdb1(function(){_0x2eab5b=![];});}else{if(!_0x5bb1bd){_0x24e0e1=_0x586a31[_0x1cd3('0x3d4')]['page'];}if(_0x353c6d!==_0x5bb1bd){_0x586a31[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}if(!_0x353c6d){_0x586a31[_0x1cd3('0x3d4')]['page']=_0x24e0e1;}_0x586a31[_0x1cd3('0x1655')]();}});_0x1a3654[_0x1cd3('0x4d3')](_0x1cd3('0x523'),function(){_0x3cfc7e['removeAllListeners'](_0x1cd3('0x165d'));_0x3cfc7e[_0x1cd3('0x6a3')](_0x1cd3('0x1651'));});}}());(function(){'use strict';_0xc592e6['$inject']=['$scope','$q',_0x1cd3('0x3e7'),'$mdDialog','$document',_0x1cd3('0x6c3'),_0x1cd3('0x1381'),_0x1cd3('0x1228'),_0x1cd3('0x1385'),_0x1cd3('0x370'),_0x1cd3('0xd18'),_0x1cd3('0x461'),_0x1cd3('0x1999'),_0x1cd3('0x38a'),_0x1cd3('0x390'),_0x1cd3('0x56'),_0x1cd3('0x463'),_0x1cd3('0x585')];angular['module'](_0x1cd3('0x2d'))[_0x1cd3('0x39b')](_0x1cd3('0x1e9d'),_0xc592e6);function _0xc592e6(_0x24b6c0,_0x200099,_0x238a0f,_0x588bc0,_0x54f67b,_0x3edd64,_0x31fd48,_0x53663b,_0x5c388f,_0x51ff07,_0x21e2b4,_0x2e1465,_0x5cd39f,_0x557b3c,_0x3fa43c,_0x2634b8,_0xdfacdc,_0x5db6b1){var _0x58841c=this;var _0x1a51de=[_0x1cd3('0x1386'),_0x1cd3('0x1387'),_0x1cd3('0x1388'),_0x1cd3('0x1389'),_0x1cd3('0x13c5'),_0x1cd3('0x1389'),_0x1cd3('0x311'),_0x1cd3('0x138a'),'chatPause',_0x1cd3('0x138c'),_0x1cd3('0x1590'),_0x1cd3('0x138d'),'whatsappPause','faxPause',_0x1cd3('0x604'),_0x1cd3('0x1390'),_0x1cd3('0x1391'),_0x1cd3('0x1392'),_0x1cd3('0x1393'),'whatsappCapacity',_0x1cd3('0x1394'),_0x1cd3('0x198a'),_0x1cd3('0x1395'),_0x1cd3('0x1396'),'smsCurrentCapacity','whatsappCurrentCapacity','faxCurrentCapacity','chatStatus',_0x1cd3('0x139a'),_0x1cd3('0x139b'),'smsStatus',_0x1cd3('0x139c'),'faxStatus',_0x1cd3('0x139e'),_0x1cd3('0x139f'),_0x1cd3('0x13a0'),_0x1cd3('0x13a1'),_0x1cd3('0x13a2'),_0x1cd3('0x13d2'),_0x1cd3('0x13d3'),_0x1cd3('0x13a3'),'queue','destconnectedlinenum',_0x1cd3('0x13a5'),'phoneBarEnableScreenRecordingByAgent',_0x1cd3('0x13a7')];var _0x24e50b=[_0x1cd3('0x138b'),_0x1cd3('0x138c'),'mailPause',_0x1cd3('0x138d'),_0x1cd3('0x138e'),_0x1cd3('0x138f'),_0x1cd3('0x604'),'online'];_0x58841c[_0x1cd3('0x3ca')]=_0x2634b8[_0x1cd3('0x5d')]();_0x58841c[_0x1cd3('0x198d')]=[_0x1cd3('0x5cd'),_0x1cd3('0x13a8'),_0x1cd3('0x13a9'),_0x1cd3('0x13aa'),_0x1cd3('0x13ab')];_0x58841c['pauses']=_0x31fd48||{'count':0x0,'rows':[]};_0x58841c[_0x1cd3('0x463')]=_0xdfacdc;_0x58841c['userProfile']=_0x557b3c;_0x58841c['userProfileSection']=_0x3fa43c&&_0x3fa43c[_0x1cd3('0x466')]==0x1?_0x3fa43c[_0x1cd3('0xf6')][0x0]:null;_0x58841c[_0x1cd3('0xd27')]=_0x2634b8['parseCrudPermissions'](_0x58841c[_0x1cd3('0x390')]?_0x58841c[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);_0x58841c['agents']=_0x53663b?_['keyBy'](_0x53663b[_0x1cd3('0xf6')]?_0x53663b[_0x1cd3('0xf6')]:[],'id'):{};_0x58841c[_0x1cd3('0x1385')]=_0x5c388f?_[_0x1cd3('0xe2d')](_0x5c388f[_0x1cd3('0xf6')]?_0x5c388f[_0x1cd3('0xf6')]:[],'id'):{};_0x58841c['paginatedAgents']={};_0x58841c[_0x1cd3('0x5de')]=![];_0x58841c[_0x1cd3('0x13ad')]=[];_0x58841c[_0x1cd3('0x13ae')]={};for(var _0x3d4cdd in _0x58841c[_0x1cd3('0x1228')]){if(_0x58841c[_0x1cd3('0x1228')][_0x1cd3('0x3d0')](_0x3d4cdd)){_0x58841c['agents'][_0x3d4cdd][_0x1cd3('0xe08')]=!![];}}_0x58841c[_0x1cd3('0x3d4')]={'limit':0xa,'page':0x1,'order':'fullname','globalStatusFilter':'','pauseTypeFilter':''};_0x58841c[_0x1cd3('0x376')]=_0x1a5361;_0x58841c[_0x1cd3('0x13af')]=_0x2d711a;_0x58841c['pause']=_0x33ef8f;_0x58841c[_0x1cd3('0x13b0')]=_0x5c3151;_0x58841c[_0x1cd3('0x198e')]=_0x945be4;_0x58841c[_0x1cd3('0x13b1')]=_0x171e42;_0x58841c['getAgentGlobalStatus']=_0x5515d2;_0x58841c[_0x1cd3('0x13b3')]=_0x55d4d7;_0x58841c[_0x1cd3('0x13b4')]=_0x6c6ba8;_0x58841c[_0x1cd3('0x13b5')]=_0xb1343c;_0x58841c[_0x1cd3('0x13b6')]=_0x2a07db;_0x58841c[_0x1cd3('0x13bb')]=_0x3cc3bc;_0x58841c[_0x1cd3('0x703')]=_0x20e47c;_0x58841c['onConnect']=_0x21562d;_0x58841c[_0x1cd3('0x13b7')]=_0x12c841;_0x58841c[_0x1cd3('0x13b8')]=_0x2661ef;_0x21e2b4['on']('user:save',_0x58841c[_0x1cd3('0x13b6')]);_0x21e2b4['on']('user:update',_0x58841c[_0x1cd3('0x13bb')]);_0x21e2b4['on'](_0x1cd3('0x13bc'),_0x58841c[_0x1cd3('0x13bd')]);_0x21e2b4['on'](_0x1cd3('0x13be'),_0x58841c[_0x1cd3('0x13b7')]);_0x20e47c();var _0x2c19fa=_0x5db6b1(function(){if(_0x58841c[_0x1cd3('0x5de')]){_0x58841c[_0x1cd3('0x5de')]=![];_0x20e47c();}},0x3e7);function _0x20e47c(_0xdd45d9){_0x58841c[_0x1cd3('0x5de')]=![];var _0x557e99=_0x200099[_0x1cd3('0x53a')]();_0x58841c[_0x1cd3('0x539')]=_0x557e99[_0x1cd3('0x539')];_0x58841c[_0x1cd3('0x13bf')]=[];_0x58841c['order']=[];_[_0x1cd3('0x13e5')](_0x58841c[_0x1cd3('0x1228')],function(_0x507068,_0x1112f1){if(_0x58841c[_0x1cd3('0x1385')][_0x1112f1]){_[_0x1cd3('0xf2')](_0x507068,_['pick'](_[_0x1cd3('0x3e3')](_0x58841c[_0x1cd3('0x1385')][_0x1112f1],_0x24e50b),_0x1a51de));}_0x5515d2(_0x507068);if(_0x507068[_0x1cd3('0x1387')]){_0x58841c[_0x1cd3('0x13bf')][_0x1cd3('0x7b')](_0x507068);_0x58841c[_0x1cd3('0x13ae')][_0x507068[_0x1cd3('0x311')]]=_0x1112f1;}else{_0x507068[_0x1cd3('0x13c0')]=_[_0x1cd3('0x13c1')](moment()[_0x1cd3('0x130')]('x'));}});if(_0x58841c[_0x1cd3('0x3d4')]['globalStatusFilter']){_[_0x1cd3('0x383')](_0x58841c[_0x1cd3('0x13bf')],function(_0x18035e){return _0x18035e['globalStatus']!==_0x58841c[_0x1cd3('0x3d4')]['globalStatusFilter'];});}if(_0x58841c[_0x1cd3('0x3d4')][_0x1cd3('0x13c4')]){_[_0x1cd3('0x383')](_0x58841c[_0x1cd3('0x13bf')],function(_0x270459){return _0x270459[_0x1cd3('0x13c5')]!==_0x58841c[_0x1cd3('0x3d4')]['pauseTypeFilter'];});}if(_0x58841c[_0x1cd3('0x3d4')]['filter']){_[_0x1cd3('0x383')](_0x58841c[_0x1cd3('0x13bf')],function(_0x30a0e1){return _0x30a0e1[_0x1cd3('0xd3')][_0x1cd3('0x433')]()[_0x1cd3('0x45e')](_0x58841c[_0x1cd3('0x3d4')][_0x1cd3('0x395')][_0x1cd3('0x433')]())<0x0;});}_0x58841c['filteredAgents']=_0x1b1c81(_0x58841c['filteredAgents']);var _0x594006=(_0x58841c[_0x1cd3('0x3d4')]['page']-0x1)*_0x58841c[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];_0x58841c[_0x1cd3('0x13ac')]=_[_0x1cd3('0x16c2')](_0x58841c[_0x1cd3('0x13bf')],_0x594006)[_0x1cd3('0x9a2')](0x0,_0x58841c[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')]);for(var _0x5de061=0x0;_0x5de061<_0x58841c[_0x1cd3('0x13ac')][_0x1cd3('0x7a')];_0x5de061+=0x1){_0x58841c['order'][_0x1cd3('0x7b')](_0x58841c[_0x1cd3('0x13ac')][_0x5de061]['id']);}_0x557e99['resolve']();_0x58841c[_0x1cd3('0x5de')]=!![];}function _0x2a07db(_0x66ab15){if(_0x58841c['agents'][_0x66ab15['id']]){_[_0x1cd3('0xf2')](_0x58841c['agents'][_0x66ab15['id']],_[_0x1cd3('0x5e8')](_[_0x1cd3('0x3e3')](_0x66ab15,_0x24e50b),_0x1a51de));_[_0x1cd3('0xf2')](_0x58841c['rpcAgents'][_0x66ab15['id']],_[_0x1cd3('0x5e8')](_[_0x1cd3('0x3e3')](_0x66ab15,_0x24e50b),_0x1a51de));_0x5515d2(_0x58841c[_0x1cd3('0x1228')][_0x66ab15['id']]);}}function _0x3cc3bc(_0xe143be){if(_0x58841c['agents'][_0xe143be['id']]){_[_0x1cd3('0xf2')](_0x58841c[_0x1cd3('0x1228')][_0xe143be['id']],_[_0x1cd3('0x5e8')](_0xe143be,_0x1a51de));_[_0x1cd3('0xf2')](_0x58841c[_0x1cd3('0x1385')][_0xe143be['id']],_[_0x1cd3('0x5e8')](_0xe143be,_0x1a51de));if(_0xe143be['lastPauseAt']){_0x58841c[_0x1cd3('0x1228')][_0xe143be['id']][_0x1cd3('0x13c0')]=_0xe143be[_0x1cd3('0x1389')];_0x58841c[_0x1cd3('0x1385')][_0xe143be['id']][_0x1cd3('0x13c0')]=_0xe143be[_0x1cd3('0x1389')];}_0x5515d2(_0x58841c[_0x1cd3('0x1228')][_0xe143be['id']]);}}function _0x21562d(_0x637be6){if(_0x58841c['agents'][_0x58841c[_0x1cd3('0x13ae')][_0x637be6['destaccountcode']]]){_[_0x1cd3('0xf2')](_0x58841c[_0x1cd3('0x1228')][_0x58841c[_0x1cd3('0x13ae')][_0x637be6[_0x1cd3('0x13c6')]]],_[_0x1cd3('0x5e8')](_0x637be6,[_0x1cd3('0x1220'),'destconnectedlinenum']));_[_0x1cd3('0xf2')](_0x58841c[_0x1cd3('0x1385')][_0x58841c[_0x1cd3('0x13ae')][_0x637be6['destaccountcode']]],_[_0x1cd3('0x5e8')](_0x637be6,['queue',_0x1cd3('0x13a4')]));}}function _0x12c841(_0x21d25a){if(_0x58841c[_0x1cd3('0x1228')][_0x58841c[_0x1cd3('0x13ae')][_0x21d25a[_0x1cd3('0x13c6')]]]){_0x58841c[_0x1cd3('0x1228')][_0x58841c[_0x1cd3('0x13ae')][_0x21d25a[_0x1cd3('0x13c6')]]]=_[_0x1cd3('0x3e3')](_0x58841c[_0x1cd3('0x1228')][_0x58841c[_0x1cd3('0x13ae')][_0x21d25a[_0x1cd3('0x13c6')]]],[_0x1cd3('0x1220'),_0x1cd3('0x13a4')]);_0x58841c[_0x1cd3('0x1385')][_0x58841c['agentInternal'][_0x21d25a[_0x1cd3('0x13c6')]]]=_['omit'](_0x58841c['rpcAgents'][_0x58841c[_0x1cd3('0x13ae')][_0x21d25a[_0x1cd3('0x13c6')]]],[_0x1cd3('0x1220'),_0x1cd3('0x13a4')]);}}function _0x1a5361(_0x2fc304,_0x1ded70){return _0x51ff07['user'][_0x1cd3('0x376')]({'id':_0x2fc304['id'],'device':_0x1cd3('0x11b9'),'agent_id':_0x2fc304['id'],'agent_name':_0x2fc304['name']})[_0x1cd3('0x81')]['then'](function(){_0x2e1465['success']({'title':_0x1cd3('0x13c7'),'msg':_0x2fc304['fullname']+_0x1cd3('0x13c8')});if(_0x58841c[_0x1cd3('0x1228')][_0x2fc304['id']]){_0x58841c[_0x1cd3('0x1228')][_0x2fc304['id']][_0x1cd3('0x1387')]=![];}if(_0x58841c['rpcAgents'][_0x2fc304['id']]){_0x58841c[_0x1cd3('0x1385')][_0x2fc304['id']][_0x1cd3('0x1387')]=![];}_0x20e47c();})[_0x1cd3('0xfd')](function(_0x6726a2){_0x2e1465[_0x1cd3('0x434')]({'title':_0x6726a2[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x6726a2[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x6726a2['statusText']:_0x1cd3('0x13c9'),'msg':_0x6726a2[_0x1cd3('0x439')]?JSON['stringify'](_0x6726a2[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x6726a2[_0x1cd3('0x43b')]()});});}function _0x33ef8f(_0x17d40a,_0x25319b){return _0x51ff07['user']['pause']({'id':_0x17d40a['id'],'type':_0x25319b})['$promise']['then'](function(_0x288bd7){if(_0x58841c[_0x1cd3('0x1228')][_0x17d40a['id']]){_[_0x1cd3('0xf2')](_0x58841c[_0x1cd3('0x1228')][_0x17d40a['id']],_[_0x1cd3('0x5e8')](_0x288bd7,_0x1a51de));}if(_0x58841c[_0x1cd3('0x1385')][_0x17d40a['id']]){_['merge'](_0x58841c['rpcAgents'][_0x17d40a['id']],_[_0x1cd3('0x5e8')](_0x288bd7,_0x1a51de));}_0x5515d2(_0x58841c[_0x1cd3('0x1228')][_0x17d40a['id']]);})[_0x1cd3('0xfd')](function(_0x5d96d3){_0x2e1465[_0x1cd3('0x434')]({'title':_0x5d96d3[_0x1cd3('0x3a6')]?'API:'+_0x5d96d3[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x5d96d3[_0x1cd3('0xd35')]:'api.staff.save','msg':_0x5d96d3['data']?JSON['stringify'](_0x5d96d3[_0x1cd3('0x439')]['message']):_0x5d96d3[_0x1cd3('0x43b')]()});});}function _0x5c3151(_0x5a3f13){return _0x51ff07[_0x1cd3('0x368')][_0x1cd3('0x13ed')]({'id':_0x5a3f13['id']})['$promise'][_0x1cd3('0x77')](function(_0x4715b9){if(_0x58841c[_0x1cd3('0x1228')][_0x5a3f13['id']]){_[_0x1cd3('0xf2')](_0x58841c[_0x1cd3('0x1228')][_0x5a3f13['id']],_[_0x1cd3('0x5e8')](_0x4715b9,_0x1a51de));}if(_0x58841c[_0x1cd3('0x1385')][_0x5a3f13['id']]){_['merge'](_0x58841c['rpcAgents'][_0x5a3f13['id']],_[_0x1cd3('0x5e8')](_0x4715b9,_0x1a51de));}_0x5515d2(_0x58841c[_0x1cd3('0x1228')][_0x5a3f13['id']]);})['catch'](function(_0x1f9521){_0x2e1465[_0x1cd3('0x434')]({'title':_0x1f9521['status']?'API:'+_0x1f9521[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x1f9521[_0x1cd3('0xd35')]:_0x1cd3('0x13c9'),'msg':_0x1f9521[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x1f9521[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x1f9521['toString']()});});}function _0x945be4(_0x10bd50){_0x588bc0[_0x1cd3('0x37e')](_0x588bc0[_0x1cd3('0x11d0')]()[_0x1cd3('0x13ca')](!![])[_0x1cd3('0x486')]('Legend')[_0x1cd3('0xd60')]('<div>TODO\x20legend\x20status\x20+\x20state</div>')['ok']('Ok')['targetEvent'](_0x10bd50));}function _0x2d711a(_0x34d220,_0x24319d){_0x588bc0['show']({'controller':'AgentqueueaddController','controllerAs':'vm','templateUrl':'app/main/apps/staff/views/agents/edit/queueadd/queueadd.html','parent':angular[_0x1cd3('0x37f')](_0x54f67b[_0x1cd3('0x380')]),'targetEvent':_0x24319d,'clickOutsideToClose':!![],'locals':{'agent':_0x34d220,'agents':[],'channel':_0x1cd3('0x121'),'direction':'outbound','crudPermissions':_0x58841c[_0x1cd3('0xd27')]}});}function _0x55d4d7(_0x47ca44){return _0x47ca44===_0x1cd3('0x63e')||_0x47ca44==='*pause';}function _0x6c6ba8(_0x322e33){return _0x322e33===_0x1cd3('0x63e');}function _0xb1343c(_0x17ab1e){return _0x17ab1e===_0x1cd3('0x13cd');}function _0x323727(_0x1375f7){return _0x1375f7===_0x1cd3('0x13cf')||_0x1375f7===_0x1cd3('0x1990')||_0x1375f7===_0x1cd3('0x13ce')||_0x1375f7===_0x1cd3('0x5cd')||_[_0x1cd3('0x472')](_0x1375f7);}function _0x171e42(_0x390169,_0x428a91){if(_0x428a91==='voice'){if(_0x390169[_0x428a91+_0x1cd3('0x131b')]!=='idle'){return _0x390169[_0x428a91+'Status'];}if(_0x390169[_0x428a91+_0x1cd3('0x13d0')]){_0x390169[_0x428a91+_0x1cd3('0x131b')]=_0x1cd3('0x63e');return'pause';}return _0x1cd3('0x13cf');}else{if(_0x390169[_0x428a91+'Pause']){_0x390169[_0x428a91+'Status']=_0x1cd3('0x63e');return _0x1cd3('0x63e');}return _0x390169[_0x428a91+_0x1cd3('0x131b')];}}function _0x5515d2(_0x225ad0){var _0x13f105=_0x1cd3('0x1990');if(_[_0x1cd3('0x920')]([_0x171e42(_0x225ad0,_0x1cd3('0x121')),_0x171e42(_0x225ad0,'chat'),_0x171e42(_0x225ad0,'mail'),_0x171e42(_0x225ad0,_0x1cd3('0x22e')),_0x171e42(_0x225ad0,_0x1cd3('0x26b')),_0x171e42(_0x225ad0,_0x1cd3('0x34a')),_0x171e42(_0x225ad0,_0x1cd3('0x154'))],_0x55d4d7)){_0x13f105=_0x1cd3('0x63e');}else if(_[_0x1cd3('0x38d')]([_0x171e42(_0x225ad0,_0x1cd3('0x121')),_0x171e42(_0x225ad0,_0x1cd3('0xbf')),_0x171e42(_0x225ad0,'mail'),_0x171e42(_0x225ad0,_0x1cd3('0x22e')),_0x171e42(_0x225ad0,_0x1cd3('0x26b')),_0x171e42(_0x225ad0,_0x1cd3('0x34a')),_0x171e42(_0x225ad0,_0x1cd3('0x154'))],_0x55d4d7)){_0x13f105=_0x1cd3('0x13cd');}else if(_[_0x1cd3('0x920')]([_0x171e42(_0x225ad0,'voice'),_0x171e42(_0x225ad0,_0x1cd3('0xbf')),_0x171e42(_0x225ad0,'mail'),_0x171e42(_0x225ad0,_0x1cd3('0x22e')),_0x171e42(_0x225ad0,_0x1cd3('0x26b')),_0x171e42(_0x225ad0,'whatsapp'),_0x171e42(_0x225ad0,_0x1cd3('0x154'))],_0x323727)){_0x13f105=_0x1cd3('0x13cf');}else{_0x13f105='busy';}if(_0x225ad0[_0x1cd3('0x13c2')]!==_0x13f105){_0x225ad0[_0x1cd3('0x13c2')]=_0x13f105;if(_0x225ad0['init']){_0x225ad0[_0x1cd3('0xe08')]=![];_0x225ad0[_0x1cd3('0x13c0')]=_0x55d4d7(_0x13f105)?_['toNumber'](moment(_0x225ad0['lastPauseAt'])[_0x1cd3('0x130')]('x')):_[_0x1cd3('0x13d1')]([_0x225ad0[_0x1cd3('0x13a3')],_0x225ad0[_0x1cd3('0x139f')],_0x225ad0[_0x1cd3('0x13a1')],_0x225ad0[_0x1cd3('0x13a2')],_0x225ad0[_0x1cd3('0x13d2')],_0x225ad0[_0x1cd3('0x13a0')],_0x225ad0[_0x1cd3('0x13d3')]]);}else{_0x225ad0[_0x1cd3('0x13c0')]=_[_0x1cd3('0x13c1')](moment()['format']('x'));}}}function _0x1b1c81(_0x5b473){var _0x3d0c22=_[_0x1cd3('0x13d4')](_0x58841c[_0x1cd3('0x3d4')][_0x1cd3('0x13ad')],'-')?_0x1cd3('0x13d5'):_0x1cd3('0x13d6');return _['orderBy'](_0x5b473,[_0x58841c[_0x1cd3('0x3d4')][_0x1cd3('0x13ad')][_0x1cd3('0x3f1')]('-','')],[_0x3d0c22]);}function _0x501fcf(){if(_0x2c19fa){_0x5db6b1['cancel'](_0x2c19fa);_0x2c19fa=null;}}function _0x2661ef(_0x6a5231,_0x952028){return _0x51ff07[_0x1cd3('0x368')][_0x1cd3('0x378')]({'id':_0x6a5231['id']},{'screenrecording':_0x952028})[_0x1cd3('0x81')][_0x1cd3('0xfd')](function(_0xf9d3ff){_0x2e1465[_0x1cd3('0x434')]({'title':_0xf9d3ff[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0xf9d3ff['status']+'\x20-\x20'+_0xf9d3ff[_0x1cd3('0xd35')]:_0x1cd3('0x13d7'),'msg':_0xf9d3ff[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0xf9d3ff[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0xf9d3ff['toString']()});});}_0x24b6c0[_0x1cd3('0x4d3')](_0x1cd3('0x523'),function(){_0x21e2b4[_0x1cd3('0x6a3')](_0x1cd3('0x13b9'));_0x21e2b4[_0x1cd3('0x6a3')](_0x1cd3('0x13ba'));_0x21e2b4[_0x1cd3('0x6a3')](_0x1cd3('0x13bc'));_0x21e2b4[_0x1cd3('0x6a3')](_0x1cd3('0x13be'));_0x501fcf();});}}());(function(){'use strict';_0x2b17a9['$inject']=[_0x1cd3('0x460'),_0x1cd3('0x3e7'),'$mdDialog','$document',_0x1cd3('0x585'),_0x1cd3('0x18c0'),_0x1cd3('0x1e9e'),_0x1cd3('0x370'),_0x1cd3('0xd18'),_0x1cd3('0x38a'),_0x1cd3('0x390'),_0x1cd3('0x56')];angular['module'](_0x1cd3('0x36'))['controller']('IvrCampaignsMotionDialerRealtimeController',_0x2b17a9);function _0x2b17a9(_0xc45004,_0x1b5783,_0x473013,_0x5874d7,_0x467cb1,_0x19c2da,_0xc8ea82,_0x3ebee9,_0x3332df,_0x550b8c,_0x28ec28,_0x285f23){var _0x3703c7=this;var _0x3d2e39=[_0x1cd3('0x98'),_0x1cd3('0x92d'),_0x1cd3('0x18d6'),_0x1cd3('0x43a'),'originated',_0x1cd3('0xf4b'),_0x1cd3('0x1d68'),'Trunk',_0x1cd3('0x18e8'),_0x1cd3('0x1e9f'),_0x1cd3('0x1e5c'),'ivrTotalCallsDays',_0x1cd3('0xde1')];_0x3703c7[_0x1cd3('0x3ca')]=_0x285f23[_0x1cd3('0x5d')]();_0x3703c7[_0x1cd3('0x466')]=_0xc8ea82[_0x1cd3('0x466')];_0x3703c7[_0x1cd3('0x1e9e')]=_0xc8ea82?_['keyBy'](_0xc8ea82['rows']?_0xc8ea82['rows']:[],'id'):{};_0x3703c7[_0x1cd3('0x18c0')]=_0x19c2da?_[_0x1cd3('0xe2d')](_0x19c2da['rows']?_0x19c2da[_0x1cd3('0xf6')]:[],'id'):{};_0x3703c7[_0x1cd3('0x38a')]=_0x550b8c;_0x3703c7[_0x1cd3('0x390')]=_0x28ec28&&_0x28ec28[_0x1cd3('0x466')]==0x1?_0x28ec28[_0x1cd3('0xf6')][0x0]:null;_0x3703c7['crudPermissions']=_0x285f23['parseCrudPermissions'](_0x3703c7[_0x1cd3('0x390')]?_0x3703c7['userProfileSection'][_0x1cd3('0xd27')]:null);_0x3703c7[_0x1cd3('0x3d4')]={'sort':_0x1cd3('0x5b'),'limit':0xa,'page':0x1};_0x3703c7[_0x1cd3('0x473')]=_0x2fe95d;_0x3703c7[_0x1cd3('0x1ea0')]=_0x52afa3;_0x3703c7[_0x1cd3('0x13b6')]=_0x1ed878;_0x3703c7[_0x1cd3('0x699')]=_0x4c0b11;_0x3703c7['createOrEditIvrCampaign']=_0xa66c79;_0x3332df[_0x1cd3('0x1555')](_0x1cd3('0x18c2'),_0x3703c7[_0x1cd3('0x13b6')]);_0x3703c7[_0x1cd3('0x77e')]=_0x467cb1(function(){},0x3e7);function _0x4c0b11(){_['forIn'](_0x3703c7[_0x1cd3('0x1e9e')],function(_0x120168,_0x1213bb){if(_0x3703c7[_0x1cd3('0x18c0')][_0x1213bb]){_[_0x1cd3('0xf2')](_0x120168,_[_0x1cd3('0x5e8')](_0x3703c7[_0x1cd3('0x18c0')][_0x1213bb],_0x3d2e39));}});}function _0x1ed878(_0x1d33bc){if(_0x3703c7[_0x1cd3('0x1e9e')][_0x1d33bc['id']]){_[_0x1cd3('0xf2')](_0x3703c7['campaigns'][_0x1d33bc['id']],_['pick'](_0x1d33bc,_0x3d2e39));_[_0x1cd3('0xf2')](_0x3703c7['rpcCampaigns'][_0x1d33bc['id']],_[_0x1cd3('0x5e8')](_0x1d33bc,_0x3d2e39));}}var _0x464d39=!![];var _0x25cde6=0x1;_0xc45004[_0x1cd3('0x4d6')](_0x1cd3('0xd56'),function(_0xa0da06,_0x410628){if(_0x464d39){_0x1b5783(function(){_0x464d39=![];});}else{if(!_0x410628){_0x25cde6=_0x3703c7[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0xa0da06!==_0x410628){_0x3703c7[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}if(!_0xa0da06){_0x3703c7['query']['page']=_0x25cde6;}_0x3703c7[_0x1cd3('0x1ea0')]();}});function _0x2fe95d(_0xa6f410){_0x3703c7[_0x1cd3('0x466')]=_0xa6f410[_0x1cd3('0x466')];_0x3703c7[_0x1cd3('0x1e9e')]=_0xa6f410?_[_0x1cd3('0xe2d')](_0xa6f410[_0x1cd3('0xf6')]?_0xa6f410[_0x1cd3('0xf6')]:[],'id'):{};_0x4c0b11();}function _0x52afa3(){_0x3703c7[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0x3703c7[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0x3703c7['query'][_0x1cd3('0x8fe')];if(_0x285f23['hasRole'](_0x1cd3('0x5f'))){_0x3703c7['promise']=_0x3ebee9[_0x1cd3('0xc69')][_0x1cd3('0x361')](_0x3703c7[_0x1cd3('0x3d4')],_0x2fe95d)['$promise'];}else{_0x3703c7['query']['id']=_0x3703c7['userProfile']['id'];_0x3703c7[_0x1cd3('0x3d4')][_0x1cd3('0xd58')]=_0x1cd3('0x209');_0x3703c7[_0x1cd3('0x539')]=_0x3ebee9[_0x1cd3('0x38a')][_0x1cd3('0xd59')](_0x3703c7[_0x1cd3('0x3d4')],_0x2fe95d)[_0x1cd3('0x81')];}}function _0xa66c79(_0x47e707,_0x44854c){_0x473013[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1d61'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1ea1'),'parent':angular[_0x1cd3('0x37f')](_0x5874d7[_0x1cd3('0x380')]),'targetEvent':_0x47e707,'clickOutsideToClose':!![],'locals':{'ivrCampaign':_0x44854c,'ivrCampaigns':_[_0x1cd3('0x42d')](_0x3703c7[_0x1cd3('0x1e9e')]),'license':null,'setting':null,'crudPermissions':_0x3703c7['crudPermissions']}});}_0xc45004['$on'](_0x1cd3('0x523'),function(){_0x3332df[_0x1cd3('0x6a3')]('campaign:save');_0x3703c7['interval']&&_0x467cb1[_0x1cd3('0x4d8')](_0x3703c7[_0x1cd3('0x77e')]);});}}());(function(){'use strict';_0x17d10c[_0x1cd3('0xc')]=['$scope',_0x1cd3('0x3e7'),_0x1cd3('0x3c5'),_0x1cd3('0x1228'),_0x1cd3('0x1155'),_0x1cd3('0x16a7'),_0x1cd3('0x370'),_0x1cd3('0xd18'),_0x1cd3('0x1999'),'toasty',_0x1cd3('0x38a'),'userProfileSection','Auth'];angular[_0x1cd3('0x0')](_0x1cd3('0x36'))[_0x1cd3('0x39b')]('QueueCallsMotionDialerRealtimeController',_0x17d10c);function _0x17d10c(_0xbd97e0,_0x3af4d9,_0x407fb5,_0x4b8bca,_0xaaeb3c,_0x72038c,_0x33d210,_0x2897c9,_0x2c07d0,_0x48996c,_0xc9dd3,_0x2b576f,_0x2b32ae){var _0x1e25d0=this;_0x1e25d0[_0x1cd3('0x3ca')]=_0x2b32ae['getCurrentUser']();_0x1e25d0[_0x1cd3('0x1228')]=_0x4b8bca||{'count':0x0,'rows':[]};_0x1e25d0['queues']=_0xaaeb3c?_[_0x1cd3('0xe2d')](_0xaaeb3c['rows']?_0xaaeb3c['rows']:[],_0x1cd3('0x98')):{};_0x1e25d0[_0x1cd3('0x1ea2')]=_0x72038c?_['keyBy'](_0x72038c['rows']?_[_0x1cd3('0x395')](_0x72038c[_0x1cd3('0xf6')],{'type':_0x1cd3('0x128')}):[],'uniqueid'):{};_0x1e25d0[_0x1cd3('0x16a7')]={};_0x1e25d0['userProfile']=_0xc9dd3;_0x1e25d0[_0x1cd3('0x390')]=_0x2b576f&&_0x2b576f[_0x1cd3('0x466')]==0x1?_0x2b576f[_0x1cd3('0xf6')][0x0]:null;_0x1e25d0['crudPermissions']=_0x2b32ae[_0x1cd3('0xd44')](_0x1e25d0[_0x1cd3('0x390')]?_0x1e25d0[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);_0x1e25d0['queryChannels']={'limit':0xa,'page':0x1};_0x1e25d0[_0x1cd3('0x169a')]=_0x286f08;_0x1e25d0[_0x1cd3('0x699')]=_0x87ce3b;_0x1e25d0[_0x1cd3('0x13b6')]=_0x47e578;_0x1e25d0[_0x1cd3('0x1ea3')]=_0x2493d0;_0x1e25d0['hangup']=_0x1043a7;_0x1e25d0['redirectToAgent']=_0xba7677;_0x1e25d0[_0x1cd3('0x1ea4')]=_0x4c8d97;_0x2897c9['on'](_0x1cd3('0x16a0'),_0x1e25d0['onSave']);_0x2897c9['on'](_0x1cd3('0x15ce'),_0x1e25d0[_0x1cd3('0x1ea3')]);function _0x286f08(_0x35f874){return _[_0x1cd3('0x113e')](_0x35f874);}function _0x87ce3b(){_[_0x1cd3('0x13e5')](_0x1e25d0[_0x1cd3('0x1ea2')],function(_0x59b637,_0x4efeec){if(_['find'](_0x1e25d0[_0x1cd3('0x1155')],{'name':_0x59b637['name']})){_0x1e25d0['rpcVoiceQueuesChannels'][_0x4efeec]=_0x59b637;}});}function _0x47e578(_0x1de8d4){if(_0x1de8d4[_0x1cd3('0x424')]===_0x1cd3('0x128')){if(_['find'](_0x1e25d0['queues'],{'name':_0x1de8d4[_0x1cd3('0x98')]})){_0x1e25d0[_0x1cd3('0x16a7')][_0x1de8d4[_0x1cd3('0x6b4')]]=_0x1de8d4;}}}function _0x2493d0(_0x3c0d22){if(_0x1e25d0[_0x1cd3('0x16a7')][_0x3c0d22['uniqueid']]){delete _0x1e25d0[_0x1cd3('0x16a7')][_0x3c0d22['uniqueid']];}}function _0x1043a7(_0x368d9e){return _0x33d210[_0x1cd3('0x633')][_0x1cd3('0x1ea5')]({'uniqueid':_0x368d9e})['$promise'][_0x1cd3('0x77')](function(_0x20729e){_0x48996c['success']({'title':_0x1cd3('0x1ea6')+_0x368d9e+_0x1cd3('0x1ea7'),'msg':_0x20729e[_0x1cd3('0x43a')]||''});})[_0x1cd3('0xfd')](function(_0x293262){_0x48996c[_0x1cd3('0x434')]({'title':_0x293262[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x293262[_0x1cd3('0xd35')],'msg':JSON[_0x1cd3('0x438')](_0x293262['data'])||_0x293262['message'][_0x1cd3('0x3de')]('\x20')});});}function _0xba7677(_0x429b64,_0x479838,_0x5e9c8d){return _0x33d210['rpc']['getVoiceQueuesChannelRedirect']({'uniqueid':_0x429b64,'exten':_0x479838,'context':_0x5e9c8d})[_0x1cd3('0x81')]['then'](function(_0x2e00f4){_0x48996c[_0x1cd3('0x473')]({'title':_0x1cd3('0x1ea6')+_0x429b64+_0x1cd3('0x1ea8'),'msg':_0x2e00f4[_0x1cd3('0x43a')]||''});})[_0x1cd3('0xfd')](function(_0xd67e9){_0x48996c[_0x1cd3('0x434')]({'title':_0xd67e9[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0xd67e9[_0x1cd3('0xd35')],'msg':JSON[_0x1cd3('0x438')](_0xd67e9['data'])||_0xd67e9[_0x1cd3('0x43a')]['join']('\x20')});});}function _0x4c8d97(_0x4c0933,_0x2ace89){var _0x1a6f44=_0x407fb5[_0x1cd3('0x671')]()['title'](_0x1cd3('0x1ea9'))['placeholder'](_0x1cd3('0x14e4'))[_0x1cd3('0xd63')](_0x4c0933)['ok']('Ok')[_0x1cd3('0x4d8')](_0x1cd3('0x674'));return _0x407fb5[_0x1cd3('0x37e')](_0x1a6f44)[_0x1cd3('0x77')](function(_0x206faf){return _0x33d210[_0x1cd3('0x633')][_0x1cd3('0x1eaa')]({'uniqueid':_0x2ace89,'exten':_0x206faf})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x52e165){_0x48996c[_0x1cd3('0x473')]({'title':_0x1cd3('0x1ea6')+_0x2ace89+_0x1cd3('0x1ea8'),'msg':_0x52e165[_0x1cd3('0x43a')]||''});})['catch'](function(_0x3f3aea){_0x48996c['error']({'title':_0x3f3aea[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x3f3aea['statusText'],'msg':JSON[_0x1cd3('0x438')](_0x3f3aea[_0x1cd3('0x439')])||_0x3f3aea['message'][_0x1cd3('0x3de')]('\x20')});});}_0xbd97e0[_0x1cd3('0x4d3')](_0x1cd3('0x523'),function(){_0x2897c9['removeAllListeners']('voice_queue_channel:save');_0x2897c9[_0x1cd3('0x6a3')]('voice_queue_channel:remove');});}}());(function(){'use strict';_0x28f403[_0x1cd3('0xc')]=[_0x1cd3('0x460'),'$timeout',_0x1cd3('0x585'),'queues',_0x1cd3('0x13d8'),_0x1cd3('0x370'),_0x1cd3('0xd18'),_0x1cd3('0x38a'),_0x1cd3('0x390'),_0x1cd3('0x56')];angular[_0x1cd3('0x0')](_0x1cd3('0x36'))[_0x1cd3('0x39b')](_0x1cd3('0x1eab'),_0x28f403);function _0x28f403(_0x29f3ef,_0x3454e3,_0x10a013,_0x19cc73,_0x7b28cd,_0x45fb83,_0x381ae2,_0x50da5f,_0x54e313,_0x4d46e9){var _0x2c0036=this;var _0x51a3db=[_0x1cd3('0x10e'),_0x1cd3('0x110'),_0x1cd3('0x18b8'),_0x1cd3('0x1eac'),_0x1cd3('0x18b4'),'outboundNoAnswerCallsDay',_0x1cd3('0x1ead'),_0x1cd3('0x1eae'),'outboundNoSuchCallsDay',_0x1cd3('0x1eaf'),_0x1cd3('0x18d0'),_0x1cd3('0x18cf'),_0x1cd3('0x1eb0'),'outboundOriginateFailureCallsDay',_0x1cd3('0x1eb1'),_0x1cd3('0x1eb2'),_0x1cd3('0x1eb3')];_0x2c0036[_0x1cd3('0x466')]=_0x19cc73['count'];_0x2c0036[_0x1cd3('0x1155')]=_0x19cc73?_[_0x1cd3('0xe2d')](_0x19cc73[_0x1cd3('0xf6')]?_0x19cc73[_0x1cd3('0xf6')]:[],'id'):{};_0x2c0036[_0x1cd3('0x13d8')]=_0x7b28cd?_['keyBy'](_0x7b28cd[_0x1cd3('0xf6')]?_0x7b28cd[_0x1cd3('0xf6')]:[],'id'):{};_0x2c0036[_0x1cd3('0x38a')]=_0x50da5f;_0x2c0036[_0x1cd3('0x390')]=_0x54e313&&_0x54e313[_0x1cd3('0x466')]==0x1?_0x54e313[_0x1cd3('0xf6')][0x0]:null;_0x2c0036[_0x1cd3('0xd27')]=_0x4d46e9['parseCrudPermissions'](_0x2c0036[_0x1cd3('0x390')]?_0x2c0036[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);if(_0x4d46e9[_0x1cd3('0x57')]('admin')){_0x2c0036['query']={'type':'outbound','fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x5b'),'limit':0xa,'page':0x1};}else{_0x2c0036[_0x1cd3('0x3d4')]={'id':_0x4d46e9[_0x1cd3('0x5d')]()['id'],'channel':_0x1cd3('0x121'),'type':_0x1cd3('0x128'),'fields':_0x1cd3('0xa6'),'sort':'-updatedAt','limit':0xa,'page':0x1};}_0x2c0036[_0x1cd3('0x473')]=_0x585baf;_0x2c0036[_0x1cd3('0x13df')]=_0x3f73de;_0x2c0036[_0x1cd3('0x13b6')]=_0x12c5d8;_0x2c0036['$onInit']=_0x4023b7;_0x381ae2[_0x1cd3('0x1555')](_0x1cd3('0x155e'),_0x2c0036[_0x1cd3('0x13b6')]);_0x2c0036[_0x1cd3('0x77e')]=_0x10a013(function(){},0x3e7);function _0x4023b7(){_[_0x1cd3('0x13e5')](_0x2c0036['queues'],function(_0x144442,_0x2d67f3){if(_0x2c0036[_0x1cd3('0x13d8')][_0x2d67f3]){_[_0x1cd3('0xf2')](_0x144442,_[_0x1cd3('0x5e8')](_0x2c0036['rpcQueues'][_0x2d67f3],_0x51a3db));}});}function _0x12c5d8(_0x306b0a){if(_0x2c0036[_0x1cd3('0x1155')][_0x306b0a['id']]){_[_0x1cd3('0xf2')](_0x2c0036[_0x1cd3('0x1155')][_0x306b0a['id']],_[_0x1cd3('0x5e8')](_0x306b0a,_0x51a3db));}}var _0x51ffd0=!![];var _0x3a0315=0x1;_0x29f3ef[_0x1cd3('0x4d6')](_0x1cd3('0xd56'),function(_0x47008f,_0x41a0f4){if(_0x51ffd0){_0x3454e3(function(){_0x51ffd0=![];});}else{if(!_0x41a0f4){_0x3a0315=_0x2c0036['query'][_0x1cd3('0x8fd')];}if(_0x47008f!==_0x41a0f4){_0x2c0036[_0x1cd3('0x3d4')]['page']=0x1;}if(!_0x47008f){_0x2c0036['query'][_0x1cd3('0x8fd')]=_0x3a0315;}_0x2c0036[_0x1cd3('0x13df')]();}});function _0x585baf(_0x4e2835){_0x2c0036[_0x1cd3('0x466')]=_0x4e2835[_0x1cd3('0x466')];_0x2c0036[_0x1cd3('0x1155')]=_0x4e2835?_[_0x1cd3('0xe2d')](_0x4e2835[_0x1cd3('0xf6')]?_0x4e2835['rows']:[],'id'):{};_0x4023b7();}function _0x3f73de(){_0x2c0036[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0x2c0036[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0x2c0036[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];if(_0x4d46e9[_0x1cd3('0x57')](_0x1cd3('0x5f'))){_0x2c0036[_0x1cd3('0x539')]=_0x45fb83[_0x1cd3('0xa48')][_0x1cd3('0x361')](_0x2c0036['query'],_0x585baf)[_0x1cd3('0x81')];}else{_0x2c0036[_0x1cd3('0x3d4')]['id']=_0x2c0036[_0x1cd3('0x38a')]['id'];_0x2c0036[_0x1cd3('0x3d4')][_0x1cd3('0xd58')]=_0x1cd3('0x129');_0x2c0036[_0x1cd3('0x539')]=_0x45fb83[_0x1cd3('0x38a')][_0x1cd3('0xd59')](_0x2c0036[_0x1cd3('0x3d4')],_0x585baf)['$promise'];}}_0x29f3ef[_0x1cd3('0x4d3')](_0x1cd3('0x523'),function(){_0x381ae2[_0x1cd3('0x6a3')]('voice_queue:save');_0x2c0036[_0x1cd3('0x77e')]&&_0x10a013['cancel'](_0x2c0036['interval']);});}}());(function(){'use strict';_0x218bc8['$inject']=[_0x1cd3('0x460'),'$timeout','$mdDialog','$q',_0x1cd3('0x372'),_0x1cd3('0x585'),'queues',_0x1cd3('0x13d8'),'api',_0x1cd3('0xd18'),'toasty',_0x1cd3('0x38a'),_0x1cd3('0x390'),_0x1cd3('0x56')];angular[_0x1cd3('0x0')](_0x1cd3('0x36'))[_0x1cd3('0x39b')](_0x1cd3('0x1eb4'),_0x218bc8);function _0x218bc8(_0x20c0c2,_0x2367b8,_0x4d4deb,_0x417c28,_0x2772da,_0x3429ed,_0x2dae4c,_0x27132e,_0x58d0a6,_0x13766f,_0x5f4af2,_0x11c9f5,_0x52d6cb,_0x403e7c){var _0x3610bd=this;var _0x4b207e=[_0x1cd3('0x13d9'),_0x1cd3('0x13da'),_0x1cd3('0x10d'),'talking',_0x1cd3('0x13db'),_0x1cd3('0x13dc'),'message',_0x1cd3('0x1693'),_0x1cd3('0x13dd'),_0x1cd3('0x13de'),_0x1cd3('0x13ea'),_0x1cd3('0x1eb5'),_0x1cd3('0x1eb6'),_0x1cd3('0x1eb7'),'erlangCallToSecond',_0x1cd3('0x1eb8'),_0x1cd3('0x1eb9'),_0x1cd3('0x1eba'),_0x1cd3('0x1ebb'),_0x1cd3('0x1ebc'),_0x1cd3('0x1ebd'),_0x1cd3('0x1ebe'),_0x1cd3('0x1ebf'),'predictiveIntervalDroppedCallsTimeout',_0x1cd3('0x1ec0'),'predictiveIntervalAvgHoldtime',_0x1cd3('0x1ec1')];_0x3610bd['currentUser']=_0x403e7c[_0x1cd3('0x5d')]();_0x3610bd[_0x1cd3('0x466')]=_0x2dae4c[_0x1cd3('0x466')]?_0x2dae4c['count']:0x0;_0x3610bd[_0x1cd3('0x1155')]=_0x2dae4c?_[_0x1cd3('0xe2d')](_0x2dae4c[_0x1cd3('0xf6')]?_0x2dae4c['rows']:[],'id'):{};_0x3610bd[_0x1cd3('0x13d8')]=_0x27132e?_[_0x1cd3('0xe2d')](_0x27132e[_0x1cd3('0xf6')]?_0x27132e['rows']:[],'id'):{};_0x3610bd[_0x1cd3('0x38a')]=_0x11c9f5;_0x3610bd['userProfileSection']=_0x52d6cb&&_0x52d6cb[_0x1cd3('0x466')]==0x1?_0x52d6cb[_0x1cd3('0xf6')][0x0]:null;_0x3610bd[_0x1cd3('0xd27')]=_0x403e7c[_0x1cd3('0xd44')](_0x3610bd[_0x1cd3('0x390')]?_0x3610bd[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);if(_0x403e7c[_0x1cd3('0x57')]('admin')){_0x3610bd['query']={'type':_0x1cd3('0x128'),'sort':_0x1cd3('0x5b'),'limit':0xa,'page':0x1};}else{_0x3610bd[_0x1cd3('0x3d4')]={'id':_0x3610bd[_0x1cd3('0x3ca')]['id'],'channel':_0x1cd3('0x121'),'type':_0x1cd3('0x128'),'sort':_0x1cd3('0x5b'),'limit':0xa,'page':0x1};}_0x3610bd[_0x1cd3('0x473')]=_0x162392;_0x3610bd[_0x1cd3('0x13df')]=_0xc7012c;_0x3610bd[_0x1cd3('0x1ec2')]=_0x4f82ef;_0x3610bd[_0x1cd3('0x1ec3')]=_0x35b05d;_0x3610bd['agentAdd']=_0x4a68af;_0x3610bd[_0x1cd3('0x13e0')]=_0x71920a;_0x3610bd[_0x1cd3('0x13b6')]=_0x230d02;_0x3610bd[_0x1cd3('0x13e1')]=_0x2386a5;_0x3610bd['onPause']=_0x52f2ed;_0x3610bd['onLogin']=_0x10e417;_0x3610bd[_0x1cd3('0x13e4')]=_0x5ccf19;_0x3610bd['$onInit']=_0x3536a5;_0x3610bd[_0x1cd3('0x13ad')]=[];_['forIn'](_0x3610bd[_0x1cd3('0x1155')],function(_0x9d4ae6,_0xabf74a){_0x3610bd[_0x1cd3('0x13ad')][_0x1cd3('0x7b')](_0x9d4ae6['id']);});_0x13766f['onWithoutApply'](_0x1cd3('0x155e'),_0x3610bd['onSave']);_0x3610bd[_0x1cd3('0x77e')]=_0x3429ed(function(){},0x3e7);_0x13766f['on'](_0x1cd3('0x1ec4'),_0x3610bd['onSaveMember']);_0x13766f['on'](_0x1cd3('0x13ba'),_0x3610bd[_0x1cd3('0x13e3')]);_0x13766f['on'](_0x1cd3('0x16a1'),_0x3610bd['onLogout']);_0x13766f['on']('userVoiceQueue:save',_0x3610bd['onLogin']);function _0x3536a5(){var _0x3457e9=[];_[_0x1cd3('0x13e5')](_0x3610bd[_0x1cd3('0x1155')],function(_0x1327c4,_0x4e9d8e){_0x1327c4[_0x1cd3('0x13ea')]=0x0;_0x1327c4['loggedInDb']=0x0;_0x3610bd['queues'][_0x4e9d8e]['agents']={};_0x3457e9['push'](_0x58d0a6[_0x1cd3('0xa48')][_0x1cd3('0x13ec')]({'id':_0x4e9d8e})[_0x1cd3('0x81')]);if(_0x3610bd[_0x1cd3('0x13d8')][_0x4e9d8e]){_['merge'](_0x1327c4,_[_0x1cd3('0x5e8')](_0x3610bd[_0x1cd3('0x13d8')][_0x4e9d8e],_0x4b207e));}});return _0x417c28[_0x1cd3('0x7e')](_0x3457e9)[_0x1cd3('0x77')](function(_0x423721){for(var _0x1c836b=0x0;_0x1c836b<_0x423721[_0x1cd3('0x7a')];_0x1c836b+=0x1){for(var _0x96c9e9=0x0;_0x96c9e9<_0x423721[_0x1c836b][_0x1cd3('0xf6')][_0x1cd3('0x7a')];_0x96c9e9++){if(_0x423721[_0x1c836b][_0x1cd3('0xf6')][_0x96c9e9]['paused']){_0x3610bd['queues'][_0x423721[_0x1c836b][_0x1cd3('0xf6')][_0x96c9e9][_0x1cd3('0x1798')]]['paused']++;}_0x3610bd[_0x1cd3('0x1155')][_0x423721[_0x1c836b][_0x1cd3('0xf6')][_0x96c9e9][_0x1cd3('0x1798')]][_0x1cd3('0x13eb')]++;_0x3610bd['queues'][_0x423721[_0x1c836b][_0x1cd3('0xf6')][_0x96c9e9][_0x1cd3('0x1798')]][_0x1cd3('0x1228')][_0x423721[_0x1c836b][_0x1cd3('0xf6')][_0x96c9e9][_0x1cd3('0x1226')]]=_0x423721[_0x1c836b][_0x1cd3('0xf6')][_0x96c9e9][_0x1cd3('0x1798')];}}})[_0x1cd3('0xfd')](function(_0x5927d7){console[_0x1cd3('0x434')](_0x5927d7);});}function _0x230d02(_0x467d31){if(_0x3610bd['queues'][_0x467d31['id']]){_[_0x1cd3('0xf2')](_0x3610bd[_0x1cd3('0x1155')][_0x467d31['id']],_['pick'](_0x467d31,_0x4b207e));if(_[_0x1cd3('0x472')](_0x467d31[_0x1cd3('0x1eb5')])){_0x3610bd['queues'][_0x467d31['id']]['startPredictive']=undefined;}}}function _0x2386a5(_0x1673f4){if(_0x3610bd['queues'][_0x1673f4[_0x1cd3('0x1ec5')]]){_0x3610bd[_0x1cd3('0x1155')][_0x1673f4['MotionDialerQueueId']][_0x1cd3('0x13eb')]++;}}function _0x52f2ed(_0x38967a){console[_0x1cd3('0x7d')](_0x1cd3('0x13e3'),_0x38967a);if(_0x38967a[_0x1cd3('0x604')]){_[_0x1cd3('0x13e5')](_0x3610bd['queues'],function(_0x23a348,_0x5f0dda){if(_0x23a348[_0x1cd3('0x1228')][_0x38967a['id']]){_0x23a348[_0x1cd3('0x13ea')]+=0x1;console[_0x1cd3('0x7d')](_0x1cd3('0x63e'));}});}else if(!_0x38967a['voicePause']){_[_0x1cd3('0x13e5')](_0x3610bd['queues'],function(_0x383688,_0x110451){if(_0x383688['agents'][_0x38967a['id']]){if(_0x383688[_0x1cd3('0x13ea')]>0x0){_0x383688['paused']-=0x1;console[_0x1cd3('0x7d')](_0x1cd3('0x13ed'));}}});}}function _0x10e417(_0x5f14eb){console[_0x1cd3('0x7d')](_0x1cd3('0x13ee'),_0x5f14eb);if(_0x3610bd[_0x1cd3('0x1155')][_0x5f14eb[_0x1cd3('0x1798')]]){_0x3610bd['queues'][_0x5f14eb[_0x1cd3('0x1798')]][_0x1cd3('0x13eb')]+=0x1;_0x3610bd[_0x1cd3('0x1155')][_0x5f14eb[_0x1cd3('0x1798')]][_0x1cd3('0x1228')][_0x5f14eb[_0x1cd3('0x1226')]]=_0x5f14eb[_0x1cd3('0x1798')];}}function _0x5ccf19(_0x3636ec){console[_0x1cd3('0x7d')]('onLogout',_0x3636ec);if(_0x3610bd['queues'][_0x3636ec[_0x1cd3('0x1798')]]&&_0x3610bd[_0x1cd3('0x1155')][_0x3636ec[_0x1cd3('0x1798')]][_0x1cd3('0x13eb')]>0x0){_0x3610bd[_0x1cd3('0x1155')][_0x3636ec[_0x1cd3('0x1798')]][_0x1cd3('0x13eb')]-=0x1;delete _0x3610bd[_0x1cd3('0x1155')][_0x3636ec['VoiceQueueId']][_0x1cd3('0x1228')][_0x3636ec[_0x1cd3('0x1226')]];}}var _0x23bcf0=!![];var _0x42fdc8=0x1;_0x20c0c2[_0x1cd3('0x4d6')](_0x1cd3('0xd56'),function(_0x13c294,_0x282975){if(_0x23bcf0){_0x2367b8(function(){_0x23bcf0=![];});}else{if(!_0x282975){_0x42fdc8=_0x3610bd[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0x13c294!==_0x282975){_0x3610bd['query'][_0x1cd3('0x8fd')]=0x1;}if(!_0x13c294){_0x3610bd[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0x42fdc8;}_0x3610bd['getQueues']();}});function _0x162392(_0x1a654a){_0x3610bd[_0x1cd3('0x466')]=_0x1a654a[_0x1cd3('0x466')];_0x3610bd[_0x1cd3('0x1155')]=_0x1a654a?_[_0x1cd3('0xe2d')](_0x1a654a[_0x1cd3('0xf6')]?_0x1a654a[_0x1cd3('0xf6')]:[],'id'):{};if(_0x1a654a[_0x1cd3('0xf6')]){_0x3610bd[_0x1cd3('0x13ad')]=[];for(var _0x6b21f2=0x0;_0x6b21f2<_0x1a654a[_0x1cd3('0xf6')]['length'];_0x6b21f2++){_0x3610bd['order']['push'](_0x1a654a[_0x1cd3('0xf6')][_0x6b21f2]['id']);}}_0x3536a5();}function _0xc7012c(){_0x3610bd[_0x1cd3('0x3d4')]['offset']=(_0x3610bd[_0x1cd3('0x3d4')]['page']-0x1)*_0x3610bd[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];if(_0x403e7c[_0x1cd3('0x57')]('admin')){_0x3610bd[_0x1cd3('0x539')]=_0x58d0a6['voiceQueue'][_0x1cd3('0x361')](_0x3610bd[_0x1cd3('0x3d4')],_0x162392)[_0x1cd3('0x81')];}else{_0x3610bd[_0x1cd3('0x3d4')]['id']=_0x3610bd[_0x1cd3('0x38a')]['id'];_0x3610bd[_0x1cd3('0x3d4')][_0x1cd3('0xd58')]=_0x1cd3('0x129');_0x3610bd[_0x1cd3('0x539')]=_0x58d0a6[_0x1cd3('0x38a')][_0x1cd3('0xd59')](_0x3610bd[_0x1cd3('0x3d4')],_0x162392)[_0x1cd3('0x81')];}}function _0x4f82ef(_0x484cb8,_0x4f45c2){_0x4d4deb[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1ec6'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1e91'),'parent':angular['element'](_0x2772da[_0x1cd3('0x380')]),'targetEvent':_0x484cb8,'clickOutsideToClose':!![],'locals':{'queueCampaign':_0x4f45c2,'queueCampaigns':_['values'](_0x3610bd[_0x1cd3('0x1155')]),'license':null,'setting':null,'crudPermissions':_0x3610bd['crudPermissions']}});}function _0x35b05d(_0x457134,_0x33e256){_0x4d4deb['show']({'controller':'PredictiveQueueCampaignDialogController','controllerAs':'vm','templateUrl':_0x1cd3('0x1ec7'),'parent':angular[_0x1cd3('0x37f')](_0x2772da[_0x1cd3('0x380')]),'targetEvent':_0x457134,'clickOutsideToClose':!![],'locals':{'queueCampaign':_0x33e256}});}function _0x4a68af(_0x56d84a,_0x5171ae){_0x4d4deb[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1e1c'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1e63'),'parent':angular[_0x1cd3('0x37f')](_0x2772da[_0x1cd3('0x380')]),'targetEvent':_0x56d84a,'clickOutsideToClose':!![],'locals':{'queueCampaign':_0x5171ae,'queueCampaigns':_0x3610bd[_0x1cd3('0x1155')]?_0x3610bd[_0x1cd3('0x1155')][_0x1cd3('0xf6')]:[],'realtime':!![],'crudPermissions':_0x3610bd[_0x1cd3('0xd27')]}});}function _0x71920a(_0x477653){return _0x58d0a6[_0x1cd3('0xa48')]['update'](_0x477653)[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x5f4af2['success']({'title':_0x1cd3('0x13ef'),'msg':_0x477653[_0x1cd3('0x98')]?_0x477653[_0x1cd3('0x98')]+_0x1cd3('0xe65'):''});})[_0x1cd3('0xfd')](function(_0x50352f){_0x5f4af2['error']({'title':_0x1cd3('0x1993'),'msg':_0x50352f[_0x1cd3('0x43a')]});});}_0x20c0c2[_0x1cd3('0x4d3')](_0x1cd3('0x523'),function(){_0x13766f[_0x1cd3('0x6a3')](_0x1cd3('0x155e'));_0x3610bd[_0x1cd3('0x77e')]&&_0x3429ed[_0x1cd3('0x4d8')](_0x3610bd[_0x1cd3('0x77e')]);_0x13766f['removeAllListeners'](_0x1cd3('0x1ec4'));_0x13766f[_0x1cd3('0x6a3')](_0x1cd3('0x13ba'));_0x13766f[_0x1cd3('0x6a3')](_0x1cd3('0x16a1'));_0x13766f[_0x1cd3('0x6a3')](_0x1cd3('0x13e8'));});}}());(function(){'use strict';_0x327aea[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),_0x1cd3('0x585'),_0x1cd3('0x162d')];angular[_0x1cd3('0x0')](_0x1cd3('0x36'))[_0x1cd3('0x39b')](_0x1cd3('0x1ec8'),_0x327aea);function _0x327aea(_0x47be3c,_0xb02e4b,_0x4eb8d5){var _0x1bcb99=this;_0x1bcb99['queueCampaign']=_0x4eb8d5;_0x1bcb99[_0x1cd3('0x1ec9')]=_0x22e99b;_0x1bcb99['setFormatTime']=_0x3e9ae4;_0x1bcb99['closeDialog']=_0x2c3630;function _0x22e99b(_0x3220da,_0x2e3f4e){return moment(_0x3220da)[_0x1cd3('0x425')]('m',_0x2e3f4e)[_0x1cd3('0x130')](_0x1cd3('0x1eca'));}function _0x3e9ae4(_0xe7c649){return moment(_0xe7c649)[_0x1cd3('0x130')]('HH:mm:ss');}function _0x2c3630(){_0x47be3c['hide']();}}}());(function(){'use strict';angular[_0x1cd3('0x0')]('app.auth')[_0x1cd3('0x373')]('helperClasses',_0x2af038);function _0x2af038(){return{'status':{'registered':'green-300-fg\x20icon-checkbox-marked-circle','unregistered':_0x1cd3('0x13f2'),'lagged':_0x1cd3('0x13f2'),'reachable':'green-300-fg\x20icon-checkbox-marked-circle','unreachable':_0x1cd3('0x13f2'),'unknown':_0x1cd3('0x1994')},'state':{'unknown':_0x1cd3('0x13f3'),'not_inuse':'green-300-fg\x20icon-phone-hangup','inuse':'red-300-fg\x20icon-phone-in-talk','busy':'red-300-fg\x20icon-phone-locked','invalid':_0x1cd3('0x13f3'),'unavailable':'grey-fg\x20icon-phone-hangup','ringing':_0x1cd3('0x13f6'),'ringinuse':_0x1cd3('0x13f6'),'onhold':_0x1cd3('0x13f7')},'channelStatus':{'ring':'blue-300-fg\x20icon-phone-incoming','up':_0x1cd3('0x13f8'),'hangup':'red-300-fg\x20icon-phone-hangup'},'channelStatusOut':{'ring':_0x1cd3('0x13fa'),'up':_0x1cd3('0x13f8'),'hangup':_0x1cd3('0x13f9')}};}}());(function(){'use strict';_0x24dbd8['$inject']=[_0x1cd3('0x460'),_0x1cd3('0x53e'),_0x1cd3('0xd18')];angular[_0x1cd3('0x0')]('app.motiondialer')[_0x1cd3('0x39b')]('MotionDialerRealtimeController',_0x24dbd8);function _0x24dbd8(_0x4f54be,_0x4fbb41,_0x26c85f){var _0x4ce564=this;_0x26c85f[_0x1cd3('0xd1c')]();_0x26c85f[_0x1cd3('0x664')]();_0x4ce564[_0x1cd3('0xe5f')]=0x0;switch(_0x4fbb41['current'][_0x1cd3('0x98')]){case _0x1cd3('0x20f'):_0x4ce564[_0x1cd3('0xe5f')]=0x0;break;case _0x1cd3('0x211'):_0x4ce564[_0x1cd3('0xe5f')]=0x1;break;case _0x1cd3('0x214'):_0x4ce564[_0x1cd3('0xe5f')]=0x2;break;case _0x1cd3('0x21a'):_0x4ce564[_0x1cd3('0xe5f')]=0x3;break;case _0x1cd3('0x222'):_0x4ce564[_0x1cd3('0xe5f')]=0x4;break;case _0x1cd3('0x225'):_0x4ce564[_0x1cd3('0xe5f')]=0x5;break;default:_0x4ce564['selectedTab']=0x0;_0x4fbb41['go'](_0x1cd3('0x20f'));}_0x4f54be[_0x1cd3('0x4d6')](_0x1cd3('0x13fc'),function(_0xd74296,_0x392f3e){if(_0xd74296!==_0x392f3e){switch(_0xd74296){case 0x0:_0x4fbb41['go']('app.motiondialer.realtime.agents');break;case 0x1:_0x4fbb41['go']('app.motiondialer.realtime.queues');break;case 0x2:_0x4fbb41['go']('app.motiondialer.realtime.queue_calls');break;case 0x3:_0x4fbb41['go'](_0x1cd3('0x21a'));break;case 0x4:_0x4fbb41['go'](_0x1cd3('0x222'));break;case 0x5:_0x4fbb41['go']('app.motiondialer.realtime.ivr_campaigns');break;default:_0x4fbb41['go'](_0x1cd3('0x20f'));}}});}}());(function(){'use strict';_0x2b24b9['$inject']=[_0x1cd3('0x460'),'$state',_0x1cd3('0xd24'),_0x1cd3('0x3c5'),'$q',_0x1cd3('0x3f7'),'toasty',_0x1cd3('0x15fb'),_0x1cd3('0xae5'),_0x1cd3('0x370'),'Auth',_0x1cd3('0x463'),_0x1cd3('0xc49'),'crudPermissions'];angular[_0x1cd3('0x0')]('app.openchannel')[_0x1cd3('0x39b')](_0x1cd3('0x1ecb'),_0x2b24b9);function _0x2b24b9(_0x10d46d,_0xe7eb9d,_0x17d2ba,_0x2f5ec4,_0x3a9d3f,_0x4ae773,_0x2bf8bc,_0x26250d,_0x4363d4,_0xe01a47,_0x372252,_0x50d11e,_0x5a6945,_0x1484db){var _0x5f462a=this;_0x5f462a[_0x1cd3('0x3ca')]=_0x372252[_0x1cd3('0x5d')]();_0x5f462a['errors']=[];_0x5f462a[_0x1cd3('0xc49')]=_0x5a6945;_0x5f462a[_0x1cd3('0x463')]=_0x50d11e;_0x5f462a['crudPermissions']=_0x1484db;_0x5f462a[_0x1cd3('0xd28')]={};_0x5f462a[_0x1cd3('0xd29')]=_0x5f462a[_0x1cd3('0xc49')]&&_0x5f462a[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x5f462a[_0x1cd3('0x486')]=_0x1cd3('0x1ecc');_0x5f462a[_0x1cd3('0xae5')]=angular[_0x1cd3('0x429')](_0x4363d4);_0x5f462a[_0x1cd3('0x15fb')]=_0x26250d;_0x5f462a['newOpenchannelAccount']=![];if(!_0x5f462a[_0x1cd3('0xae5')]){_0x5f462a[_0x1cd3('0xae5')]={'waitForTheAssignedAgent':0xa,'notificationSound':!![],'queueTransferTimeout':0x12c,'agentTransferTimeout':0x12c};_0x5f462a[_0x1cd3('0x486')]=_0x1cd3('0x1ecd');_0x5f462a['newOpenchannelAccount']=!![];}if(_0xe7eb9d[_0x1cd3('0x36a')]['id']){_0x5f462a[_0x1cd3('0xae5')][_0x1cd3('0x1490')]=_0xe7eb9d[_0x1cd3('0x36a')]['id'];}_0x5f462a[_0x1cd3('0x1ece')]=_0x4c12dc;_0x5f462a[_0x1cd3('0x1ecf')]=_0x5c3efe;_0x5f462a['deleteOpenchannelAccount']=_0x4f0211;_0x5f462a[_0x1cd3('0xd31')]=_0x3792f3;_0x5f462a[_0x1cd3('0x39c')]=_0xa535a9;_0x372252[_0x1cd3('0x57')]('admin')?_0xe01a47[_0x1cd3('0xc8f')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98')})['$promise'][_0x1cd3('0x77')](function(_0x121976){_0x5f462a[_0x1cd3('0xf5')]=_0x121976['rows']||[];})[_0x1cd3('0xfd')](function(_0x48ba23){_0x2bf8bc['error']({'title':_0x48ba23[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x48ba23[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x48ba23[_0x1cd3('0xd35')]:_0x1cd3('0x11f3'),'msg':_0x48ba23['data']?JSON['stringify'](_0x48ba23['data']):_0x48ba23['toString']()});}):_0xe01a47[_0x1cd3('0xc8f')]['get']({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x2f7bb1){_0x5f462a[_0x1cd3('0xf5')]=_0x2f7bb1[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0xe01a47[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x5f462a[_0x1cd3('0x3ca')]['userProfileId'],'sectionId':0x12d})['$promise'];})[_0x1cd3('0x77')](function(_0x24c3a1){var _0x1e0d90=_0x24c3a1&&_0x24c3a1[_0x1cd3('0xf6')]?_0x24c3a1['rows'][0x0]:null;if(!_0x1e0d90){var _0xa54c55=[];var _0x15d60b=null;if(_0x5f462a['openchannelAccount']){_0x15d60b=_[_0x1cd3('0x442')](_0x5f462a['lists'],{'id':Number(_0x5f462a[_0x1cd3('0xae5')][_0x1cd3('0x106')])});}for(var _0x3f6e61=0x0;_0x3f6e61<_0x5f462a[_0x1cd3('0xf5')][_0x1cd3('0x7a')];_0x3f6e61++){if(_0x15d60b&&_0x5f462a['lists'][_0x3f6e61]['id']===_0x15d60b['id']){_0x5f462a[_0x1cd3('0xf5')][_0x3f6e61]['canSelect']=![];_0xa54c55[_0x1cd3('0x7b')](_0x5f462a['lists'][_0x3f6e61]);}}_0x5f462a[_0x1cd3('0xf5')]=_0xa54c55;}else{if(!_0x1e0d90[_0x1cd3('0x391')]){return _0xe01a47['userProfileResource'][_0x1cd3('0x361')]({'sectionId':_0x1e0d90['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0xc2c076){var _0x376008=_[_0x1cd3('0x3d9')](_0xc2c076[_0x1cd3('0xf6')],function(_0x60e423){return _[_0x1cd3('0x442')](_0x5f462a['lists'],{'id':_0x60e423['resourceId']});});var _0x51f5e5=null;if(_0x5f462a['openchannelAccount']){_0x51f5e5=_[_0x1cd3('0x442')](_0x5f462a[_0x1cd3('0xf5')],{'id':Number(_0x5f462a['openchannelAccount'][_0x1cd3('0x106')])});}if(_0x51f5e5&&!_[_0x1cd3('0x38d')](_0x376008,['id',_0x51f5e5['id']])){var _0x2b45f8=_['find'](_0x5f462a['lists'],{'id':_0x51f5e5['id']});_0x2b45f8[_0x1cd3('0xf4a')]=![];_0x376008[_0x1cd3('0x7b')](_0x2b45f8);}_0x5f462a['lists']=_0x376008;});}}})[_0x1cd3('0xfd')](function(_0x2efa77){_0x2bf8bc[_0x1cd3('0x434')]({'title':_0x2efa77[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x2efa77[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x2efa77[_0x1cd3('0xd35')]:_0x1cd3('0x137f'),'msg':_0x2efa77[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x2efa77[_0x1cd3('0x439')]):_0x2efa77[_0x1cd3('0x43b')]()});});function _0x4c12dc(){_0x5f462a[_0x1cd3('0xd34')]=[];_0xe01a47[_0x1cd3('0xae5')][_0x1cd3('0xd6d')](_0x5f462a[_0x1cd3('0xae5')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0xaea1fa){_0x5f462a[_0x1cd3('0x15fb')]['unshift'](_0xaea1fa[_0x1cd3('0xd32')]());_0x2bf8bc['success']({'title':_0x1cd3('0x1ed0'),'msg':_0x5f462a[_0x1cd3('0xae5')][_0x1cd3('0x98')]?_0x5f462a[_0x1cd3('0xae5')][_0x1cd3('0x98')]+_0x1cd3('0xd33'):''});_0xa535a9(_0xaea1fa);})[_0x1cd3('0xfd')](function(_0xefbe82){if(_0xefbe82[_0x1cd3('0x439')]&&_0xefbe82[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0xefbe82[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length']){_0x5f462a[_0x1cd3('0xd34')]=_0xefbe82[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0xefbe82['toString'](),'type':_0x1cd3('0x1ed1')}];for(var _0x48ce9e=0x0;_0x48ce9e<_0xefbe82[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0x48ce9e+=0x1){_0x2bf8bc[_0x1cd3('0x434')]({'title':_0xefbe82[_0x1cd3('0x439')]['errors'][_0x48ce9e][_0x1cd3('0x424')],'msg':_0xefbe82[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x48ce9e]['message']});}}else{_0x2bf8bc[_0x1cd3('0x434')]({'title':_0xefbe82['status']?_0x1cd3('0x435')+_0xefbe82[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0xefbe82[_0x1cd3('0xd35')]:_0x1cd3('0x1ed1'),'msg':_0xefbe82[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0xefbe82[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0xefbe82['toString']()});}});}function _0x5c3efe(){_0x5f462a['errors']=[];_0xe01a47[_0x1cd3('0xae5')][_0x1cd3('0x378')]({'id':_0x5f462a[_0x1cd3('0xae5')]['id']},_0x5f462a[_0x1cd3('0xae5')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x3126ca){var _0x4f9c9b=_['find'](_0x5f462a['openchannelAccounts'],{'id':_0x3126ca['id']});if(_0x4f9c9b){_[_0x1cd3('0xf2')](_0x4f9c9b,_[_0x1cd3('0x5e8')](_0x3126ca[_0x1cd3('0xd32')](),_[_0x1cd3('0x80')](_0x4f9c9b)));}_0x2bf8bc['success']({'title':_0x1cd3('0x1ed2'),'msg':_0x5f462a[_0x1cd3('0xae5')][_0x1cd3('0x98')]?_0x5f462a['openchannelAccount'][_0x1cd3('0x98')]+_0x1cd3('0xd37'):''});_0xa535a9(_0x3126ca);})[_0x1cd3('0xfd')](function(_0x15fc87){if(_0x15fc87[_0x1cd3('0x439')]&&_0x15fc87['data'][_0x1cd3('0xd34')]&&_0x15fc87['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x5f462a[_0x1cd3('0xd34')]=_0x15fc87[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x15fc87[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1ed3')}];for(var _0x37c46b=0x0;_0x37c46b<_0x15fc87[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x37c46b++){_0x2bf8bc[_0x1cd3('0x434')]({'title':_0x15fc87['data'][_0x1cd3('0xd34')][_0x37c46b][_0x1cd3('0x424')],'msg':_0x15fc87[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x37c46b][_0x1cd3('0x43a')]});}}else{_0x2bf8bc['error']({'title':_0x15fc87[_0x1cd3('0x3a6')]?'API:'+_0x15fc87[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x15fc87[_0x1cd3('0xd35')]:_0x1cd3('0x1ed3'),'msg':_0x15fc87[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x15fc87[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x15fc87[_0x1cd3('0x43b')]()});}});}function _0x4f0211(_0x152e0a){_0x5f462a[_0x1cd3('0xd34')]=[];var _0x2c970b=_0x2f5ec4[_0x1cd3('0xd39')]()['title'](_0x1cd3('0xd3a'))[_0x1cd3('0xd3b')](_0x1cd3('0x1ed4'))[_0x1cd3('0xd3d')](_0x1cd3('0x1ed5'))['ok'](_0x1cd3('0xd3f'))[_0x1cd3('0x4d8')](_0x1cd3('0x674'))[_0x1cd3('0xd63')](_0x152e0a);_0x2f5ec4['show'](_0x2c970b)['then'](function(){_0xe01a47[_0x1cd3('0xae5')][_0x1cd3('0xa1c')]({'id':_0x5f462a[_0x1cd3('0xae5')]['id']})['$promise']['then'](function(){_[_0x1cd3('0x383')](_0x5f462a[_0x1cd3('0x15fb')],{'id':_0x5f462a[_0x1cd3('0xae5')]['id']});_0x2bf8bc['success']({'title':_0x1cd3('0x1ed6'),'msg':(_0x5f462a[_0x1cd3('0xae5')][_0x1cd3('0x98')]||_0x1cd3('0xae5'))+_0x1cd3('0xd41')});_0xa535a9(_0x5f462a[_0x1cd3('0xae5')]);})[_0x1cd3('0xfd')](function(_0x9b71bb){if(_0x9b71bb[_0x1cd3('0x439')]&&_0x9b71bb[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x9b71bb[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x5f462a['errors']=_0x9b71bb[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x9b71bb['toString'](),'type':_0x1cd3('0x1ed7')}];for(var _0x629528=0x0;_0x629528<_0x9b71bb[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x629528++){_0x2bf8bc['error']({'title':_0x9b71bb[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x629528][_0x1cd3('0x424')],'msg':_0x9b71bb['data']['errors'][_0x629528][_0x1cd3('0x43a')]});}}else{_0x2bf8bc[_0x1cd3('0x434')]({'title':_0x9b71bb[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x9b71bb[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x9b71bb[_0x1cd3('0xd35')]:_0x1cd3('0x1ed7'),'msg':_0x9b71bb[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x9b71bb[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x9b71bb['message']||_0x9b71bb['toString']()});}});},function(){});}function _0x3792f3(_0xefb89b){return _0xefb89b===null?undefined:new Date(_0xefb89b);}function _0xa535a9(_0x152f9a){_0x2f5ec4[_0x1cd3('0x39d')](_0x152f9a);}}}());(function(){'use strict';_0x504161[_0x1cd3('0xc')]=[_0x1cd3('0x370'),_0x1cd3('0x3c5'),_0x1cd3('0x372'),_0x1cd3('0x461'),_0x1cd3('0x56')];angular['module']('app.openchannel')[_0x1cd3('0x39b')](_0x1cd3('0x1ed8'),_0x504161);function _0x504161(_0x18d5b5,_0x37ff61,_0x2fc6a7,_0x4c433b,_0x79581f){var _0x3baa4f=this;_0x3baa4f[_0x1cd3('0x3ca')]=_0x79581f[_0x1cd3('0x5d')]();_0x3baa4f['openchannelAccount']={};_0x3baa4f[_0x1cd3('0x1ed9')]={'count':0x0,'rows':[]};_0x3baa4f['selectedOpenchannelAccountApps']=[];_0x3baa4f['crudPermissions'];_0x3baa4f['query']={'sort':_0x1cd3('0xf0c')};_0x3baa4f['apps']=_[_0x1cd3('0x3a7')](_[_0x1cd3('0x1211')]([{'app':_0x1cd3('0x1233'),'appType':_0x1cd3('0x1233'),'type':'dialogflow','icon':'icon-apps','interval':_0x1cd3('0x1216'),'isApp':!![],'fields':[{'title':_0x1cd3('0x1eda'),'name':'key','type':_0x1cd3('0x401'),'required':!![],'param':0x0},{'title':'language','name':'language','type':_0x1cd3('0x44f'),'defaultValue':_0x1cd3('0x1235'),'values':[{'option':_0x1cd3('0xfa8'),'value':_0x1cd3('0x1234')},{'option':_0x1cd3('0xf5e'),'value':_0x1cd3('0x1235')},{'option':_0x1cd3('0xf5f'),'value':'\x27de\x27'},{'option':_0x1cd3('0xf60'),'value':_0x1cd3('0x1edb')},{'option':_0x1cd3('0xf61'),'value':'\x27es\x27'},{'option':'French','value':_0x1cd3('0x1edc')},{'option':_0x1cd3('0xf63'),'value':_0x1cd3('0x1238')},{'option':'Japanese','value':'\x27ja\x27'},{'option':'Korean\x20(South\x20Korea)','value':'\x27ko\x27'},{'option':_0x1cd3('0xf65'),'value':_0x1cd3('0x123b')},{'option':_0x1cd3('0xf66'),'value':_0x1cd3('0x123c')},{'option':'Portuguese\x20(European)','value':'\x27pt\x27'},{'option':_0x1cd3('0xf69'),'value':_0x1cd3('0x123e')},{'option':_0x1cd3('0x123f'),'value':_0x1cd3('0x1240')},{'option':_0x1cd3('0x1241'),'value':_0x1cd3('0x1242')},{'option':_0x1cd3('0xfe9'),'value':'\x27th\x27'},{'option':_0x1cd3('0xf6a'),'value':_0x1cd3('0x1edd')},{'option':_0x1cd3('0x1ede'),'value':_0x1cd3('0x1243')},{'option':_0x1cd3('0x1244'),'value':_0x1cd3('0x1245')},{'option':_0x1cd3('0xf6d'),'value':_0x1cd3('0x1edf')}],'required':!![],'param':0x1},{'title':_0x1cd3('0x1246'),'name':'welcomemessage','type':_0x1cd3('0x122f'),'maxlength':0xff,'required':![],'param':0x2,'help':!![]}]},{'app':_0x1cd3('0x1247'),'appType':_0x1cd3('0x1247'),'type':_0x1cd3('0x1247'),'icon':_0x1cd3('0x1214'),'interval':_0x1cd3('0x1216'),'isApp':!![],'fields':[{'title':_0x1cd3('0x1248'),'name':_0x1cd3('0x1248'),'type':_0x1cd3('0x401'),'required':!![],'param':0x0},{'title':_0x1cd3('0x1249'),'name':_0x1cd3('0x1249'),'type':_0x1cd3('0x401'),'required':!![],'param':0x1},{'title':_0x1cd3('0x124a'),'name':_0x1cd3('0x124a'),'type':_0x1cd3('0x44f'),'defaultValue':'\x27us-east-1\x27','values':[{'option':_0x1cd3('0x1ee0'),'value':_0x1cd3('0x124b')},{'option':'US\x20West\x20(Oregon)','value':_0x1cd3('0x124c')},{'option':_0x1cd3('0x1125'),'value':_0x1cd3('0x124d')},{'option':_0x1cd3('0x1136'),'value':_0x1cd3('0x124e')}],'required':!![],'param':0x2},{'title':_0x1cd3('0x124f'),'name':_0x1cd3('0x124f'),'type':_0x1cd3('0x401'),'required':!![],'param':0x3},{'title':_0x1cd3('0x1246'),'name':_0x1cd3('0x1246'),'type':_0x1cd3('0x122f'),'maxlength':0xff,'required':![],'param':0x4,'help':!![]}]},{'app':'Interval','appType':_0x1cd3('0x77e'),'types':[_0x1cd3('0x1213'),_0x1cd3('0x8f6'),_0x1cd3('0x9d5')],'fields':[],'isApp':![]},{'app':_0x1cd3('0x3a9'),'appType':_0x1cd3('0x3a9'),'type':'noop','icon':_0x1cd3('0x1214'),'interval':'*,*,*,*','required':!![],'isApp':!![],'fields':[{'title':_0x1cd3('0x1215'),'name':_0x1cd3('0x3db'),'type':_0x1cd3('0x401'),'param':0x0}]},{'app':_0x1cd3('0xa13'),'appType':'system','type':_0x1cd3('0xa13'),'icon':_0x1cd3('0x1214'),'interval':'*,*,*,*','required':!![],'isApp':!![],'extraApi':[{'name':_0x1cd3('0xef7'),'field':{'name':'variable','key':_0x1cd3('0x98')},'route':'variable','filters':{'fields':_0x1cd3('0xa6'),'sort':'name','nolimit':!![]},'permissions':{'section':0x3f4}}],'fields':[{'title':_0x1cd3('0x18f5'),'name':_0x1cd3('0xf0d'),'type':'text','required':!![],'param':0x0},{'title':_0x1cd3('0x1217'),'name':'variable','type':_0x1cd3('0x1218'),'values':_0x1cd3('0xef7'),'value':_0x1cd3('0x1219'),'option':_0x1cd3('0x1219'),'defaultValues':[{'value':'\x27\x27','option':_0x1cd3('0x18f6')}],'defaultValue':'\x27\x27','param':0x1}]},{'app':_0x1cd3('0x121a'),'appType':'gotop','type':_0x1cd3('0x121b'),'icon':_0x1cd3('0x1214'),'interval':_0x1cd3('0x1216'),'isApp':!![],'fields':[{'title':_0x1cd3('0x18f7'),'name':_0x1cd3('0xf0c'),'type':_0x1cd3('0x407'),'required':!![],'min':0x0,'param':0x0}]},{'app':_0x1cd3('0x121c'),'appType':_0x1cd3('0x121c'),'type':_0x1cd3('0x121c'),'icon':'icon-apps','interval':'*,*,*,*','isApp':!![],'fields':[{'title':_0x1cd3('0x121d'),'name':_0x1cd3('0xb65'),'type':'text','required':!![],'param':0x0},{'title':_0x1cd3('0x121e'),'name':_0x1cd3('0x121e'),'type':_0x1cd3('0x407'),'min':0x1,'required':!![],'param':0x1},{'title':_0x1cd3('0x121f'),'name':_0x1cd3('0x121f'),'type':_0x1cd3('0x407'),'min':0x1,'required':!![],'param':0x2}]},{'app':'queue','appType':_0x1cd3('0x1220'),'foreignKey':_0x1cd3('0x1ee1'),'type':_0x1cd3('0x1220'),'icon':'icon-apps','interval':_0x1cd3('0x1216'),'isApp':!![],'extraApi':[{'name':_0x1cd3('0x1155'),'field':{'name':_0x1cd3('0x1220'),'key':_0x1cd3('0x98')},'route':_0x1cd3('0xafd'),'filters':{'fields':'id,name,type','sort':'name','nolimit':!![]},'permissions':{'section':0x321}}],'fields':[{'title':_0x1cd3('0x1223'),'name':_0x1cd3('0x1220'),'type':_0x1cd3('0x1218'),'values':_0x1cd3('0x1155'),'value':_0x1cd3('0x1224'),'option':'queue.name','defaultValue':0x12c,'required':!![],'param':0x0},{'title':_0x1cd3('0x1225'),'name':_0x1cd3('0x8fc'),'type':'number','max':0x20c49b,'min':0x0,'defaultValue':0x12c,'required':!![],'param':0x1}]},{'app':'agent','appType':_0x1cd3('0xd2'),'type':_0x1cd3('0xd2'),'foreignKey':_0x1cd3('0x1226'),'icon':_0x1cd3('0x1214'),'interval':_0x1cd3('0x1216'),'isApp':!![],'extraApi':[{'name':_0x1cd3('0x1228'),'field':{'name':'agent','key':'name'},'route':_0x1cd3('0x368'),'filters':{'fields':'id,name','sort':'name','role':_0x1cd3('0xd2'),'nolimit':!![]},'permissions':{'section':0xca}}],'fields':[{'title':_0x1cd3('0x1227'),'name':_0x1cd3('0xd2'),'type':'apiselect','values':_0x1cd3('0x1228'),'value':_0x1cd3('0x1229'),'option':_0x1cd3('0x1229'),'required':!![],'param':0x0},{'title':_0x1cd3('0x1225'),'name':'timeout','type':'number','max':0x20c49b,'min':0x0,'required':!![],'defaultValue':0x1e,'param':0x1}]},{'app':'autoreply','appType':_0x1cd3('0x122b'),'type':_0x1cd3('0x122b'),'icon':_0x1cd3('0x1214'),'interval':'*,*,*,*','isApp':!![],'fields':[{'title':'times','name':_0x1cd3('0x122c'),'type':'select','defaultValue':'1','values':[{'option':_0x1cd3('0x122d'),'value':'1'},{'option':_0x1cd3('0x122e'),'value':'0'}],'required':!![],'param':0x0},{'title':_0x1cd3('0xf3f'),'name':_0x1cd3('0x401'),'type':_0x1cd3('0x122f'),'required':!![],'param':0x1}]},{'app':_0x1cd3('0x3cf'),'appType':'close','type':'close','icon':'icon-apps','interval':_0x1cd3('0x1216'),'isApp':!![],'fields':[{'title':'Disposition','name':'disposition','type':_0x1cd3('0x401'),'required':!![],'param':0x0}]},{'app':_0x1cd3('0xb76'),'appType':_0x1cd3('0xb76'),'type':_0x1cd3('0xb76'),'foreignKey':'TagId','icon':'icon-apps','interval':_0x1cd3('0x1216'),'isApp':!![],'extraApi':[{'name':_0x1cd3('0x921'),'field':{'name':'tag','key':'name'},'route':'tag','filters':{'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'nolimit':!![]},'permissions':{'section':0x3f0}}],'fields':[{'title':_0x1cd3('0x1231'),'name':'tag','type':_0x1cd3('0x1218'),'values':_0x1cd3('0x921'),'value':_0x1cd3('0x1232'),'option':_0x1cd3('0x1232'),'required':!![],'param':0x0}]}],[_0x1cd3('0xd0a')]),{'isApp':![]});_0x3baa4f['list']={'group':{'name':'opt1','pull':_0x1cd3('0x1141')},'animation':0x64,'sort':![]};_0x3baa4f[_0x1cd3('0x18f9')]={'group':{'name':_0x1cd3('0x1c5d'),'put':_0x1cd3('0x1250')},'animation':0x64,'onAdd':function(_0x2b25ce){_0x3cf2e4(_0x2b25ce,_0x2b25ce['newIndex']);},'onSort':function(_0x804217){_0x475c93();}};_0x3baa4f['init']=_0x40853a;_0x3baa4f[_0x1cd3('0xe0a')]=_0x477ce3;_0x3baa4f['getOpenchannelAccountApps']=_0x410a88;_0x3baa4f[_0x1cd3('0x1ee2')]=_0x3cf2e4;_0x3baa4f[_0x1cd3('0x18fd')]=_0x1e6825;_0x3baa4f[_0x1cd3('0x1ee3')]=_0x879746;_0x3baa4f['deleteSelectedOpenchannelAccountApps']=_0x536507;_0x3baa4f['rewriteRouting']=_0x475c93;_0x3baa4f[_0x1cd3('0x1257')]=_0x3905cd;function _0x40853a(_0x2aa1c5,_0x53303e){_0x3baa4f[_0x1cd3('0xae5')]=_0x2aa1c5;_0x3baa4f['crudPermissions']=typeof _0x53303e!==_0x1cd3('0x491')?_0x53303e:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x3baa4f[_0x1cd3('0x18f9')][_0x1cd3('0x447')]=!_0x3baa4f['crudPermissions'][_0x1cd3('0xe3b')]?!![]:![];_0x3baa4f[_0x1cd3('0x3d4')]['id']=_0x2aa1c5['id'];_0x3baa4f[_0x1cd3('0x3d4')]['isApp']=!![];_0x3baa4f['query'][_0x1cd3('0x1256')]=!![];_0x3baa4f['getOpenchannelAccountApps']();_0x3baa4f[_0x1cd3('0x1257')]();}function _0x477ce3(_0x58730d,_0x4a4a36,_0x5d17ea){var _0x1f2383=_0x37ff61[_0x1cd3('0xd39')]()[_0x1cd3('0x486')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20application?')['htmlContent'](_0x1cd3('0xd51')+_0x58730d[_0x1cd3('0xd0a')]+_0x1cd3('0xd52')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x1259'))['targetEvent'](_0x5d17ea)['ok']('OK')[_0x1cd3('0x4d8')]('CANCEL');_0x37ff61[_0x1cd3('0x37e')](_0x1f2383)[_0x1cd3('0x77')](function(){_0x3baa4f[_0x1cd3('0x1ed9')][_0x1cd3('0xf6')][_0x1cd3('0x446')](_0x4a4a36,0x1);_0x475c93();},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}function _0x3cf2e4(_0x443a4a,_0x34cce5){if(_0x3baa4f[_0x1cd3('0x1ed9')]['rows']['length']){var _0x388737=_0x3baa4f[_0x1cd3('0x1ed9')][_0x1cd3('0xf6')][_0x34cce5]?_0x3baa4f[_0x1cd3('0x1ed9')]['rows'][_0x34cce5]:_0x3baa4f['openchannelAccountApps'][_0x1cd3('0xf6')][0x0];_0x37ff61[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1ee4')+(_0x388737[_0x1cd3('0x125b')]||_0x388737[_0x1cd3('0xd0a')])[_0x1cd3('0x433')]()+_0x1cd3('0x125c'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1ee5')+(_0x388737[_0x1cd3('0x125b')]||_0x388737[_0x1cd3('0xd0a')])[_0x1cd3('0x433')]()+_0x1cd3('0x125e'),'parent':angular[_0x1cd3('0x37f')](_0x2fc6a7[_0x1cd3('0x380')]),'targetEvent':_0x443a4a,'clickOutsideToClose':!![],'locals':{'openchannelAccountApp':_0x388737,'openchannelAccount':_0x3baa4f[_0x1cd3('0xae5')],'crudPermissions':_0x3baa4f[_0x1cd3('0xd27')]}})[_0x1cd3('0x77')](function(_0x1bf71e){if(_0x1bf71e){if(_0x1bf71e['id']){_0x3baa4f[_0x1cd3('0x1ed9')]['rows'][_0x34cce5]=_0x1bf71e;}else{_0x3baa4f[_0x1cd3('0x1ed9')][_0x1cd3('0xf6')]['splice'](_0x34cce5,0x0,_0x1bf71e);}_0x475c93();}})['catch'](function(_0x24cc03){if(_0x24cc03){_0x4c433b[_0x1cd3('0x434')]({'title':_0x24cc03[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x24cc03[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x24cc03[_0x1cd3('0xd35')]:'SYSTEM:EDITMODALSHOW','msg':_0x24cc03[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x24cc03['data']):_0x24cc03['toString']()});}});}}function _0x1e6825(_0x3c5640,_0x2fdff7){if(_0x3baa4f['openchannelAccountApps'][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){var _0x33a2c4=_0x3baa4f[_0x1cd3('0x1ed9')][_0x1cd3('0xf6')][_0x2fdff7]?_0x3baa4f[_0x1cd3('0x1ed9')]['rows'][_0x2fdff7]:_0x3baa4f[_0x1cd3('0x1ed9')][_0x1cd3('0xf6')][0x0];_0x37ff61['show']({'controller':'EditOpenchannelAccountAppintervalDialogController','controllerAs':'vm','templateUrl':_0x1cd3('0x1ee6'),'parent':angular[_0x1cd3('0x37f')](_0x2fc6a7[_0x1cd3('0x380')]),'targetEvent':_0x3c5640,'clickOutsideToClose':!![],'locals':{'interval':{'interval':_0x33a2c4['interval'],'IntervalId':_0x33a2c4[_0x1cd3('0xf4b')],'application':!![]},'intervals':[],'crudPermissions':_0x3baa4f[_0x1cd3('0xd27')]}})[_0x1cd3('0x77')](function(_0x3d2b86){if(_0x3d2b86){_0x33a2c4[_0x1cd3('0x77e')]=_0x3d2b86[_0x1cd3('0x77e')]||_0x1cd3('0x1216');_0x33a2c4[_0x1cd3('0xf4b')]=_0x3d2b86[_0x1cd3('0xf4b')]||null;_0x475c93();}});}}function _0x475c93(){var _0x18d8de=0x1;var _0x4cc714=[];for(var _0x315a2b=0x0,_0x1ca7b8=0x0;_0x315a2b<_0x3baa4f[_0x1cd3('0x1ed9')][_0x1cd3('0xf6')][_0x1cd3('0x7a')];_0x315a2b++,_0x1ca7b8=0x0){var _0x22fa74=_0x3baa4f['openchannelAccountApps'][_0x1cd3('0xf6')][_0x315a2b];var _0x1e9b1b=[];var _0x340882=[];_0x22fa74[_0x1cd3('0xef9')]=_0x22fa74[_0x1cd3('0x77e')]!==_0x1cd3('0x1216')?[_0x22fa74[_0x1cd3('0x77e')]]:_0x22fa74[_0x1cd3('0xf4b')]?_['map'](_['filter'](_0x3baa4f['intervals']['rows'],{'IntervalId':_0x22fa74[_0x1cd3('0xf4b')]}),_0x1cd3('0x77e')):[];_0x22fa74[_0x1cd3('0xf0a')]=_0x3baa4f[_0x1cd3('0xae5')]['context'];_0x22fa74[_0x1cd3('0x1261')]=_0x3baa4f['openchannelAccount'][_0x1cd3('0x1261')];if(_0x22fa74[_0x1cd3('0x424')]){_0x22fa74[_0x1cd3('0x424')]=_0x22fa74[_0x1cd3('0x424')][_0x1cd3('0x433')]();}_0x22fa74[_0x1cd3('0xf0c')]=_0x1e9b1b[_0x1cd3('0x7a')]?_[_0x1cd3('0x5df')](_0x1e9b1b)[_0x1cd3('0xf0c')]+0x1:_0x18d8de;_0x18d8de=(_0x340882[_0x1cd3('0x7a')]?_[_0x1cd3('0x5df')](_0x340882)[_0x1cd3('0xf0c')]:_0x22fa74[_0x1cd3('0xf0c')])+0x1;_0x4cc714=_[_0x1cd3('0x3ae')](_0x4cc714,_0x1e9b1b,[_0x22fa74],_0x340882);}_0x18d5b5[_0x1cd3('0xae5')][_0x1cd3('0x1262')]({'id':_0x3baa4f[_0x1cd3('0xae5')]['id']},_[_0x1cd3('0x1211')](_0x4cc714,_0x1cd3('0xf0c')))[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x186b86){_0x3baa4f[_0x1cd3('0x1ed9')][_0x1cd3('0xf6')]=_0x186b86['rows'];})[_0x1cd3('0xfd')](function(_0x2c04c6){console[_0x1cd3('0x434')](_0x2c04c6);});}function _0x3fd90a(_0x71224b){_0x3baa4f['openchannelAccountApps']=_0x71224b||{'count':0x0,'rows':[]};}function _0x3905cd(){return _0x18d5b5[_0x1cd3('0x77e')][_0x1cd3('0x361')]({'fields':_0x1cd3('0x1c61')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x37b96d){_0x3baa4f['intervals']=_0x37b96d;})[_0x1cd3('0xfd')](function(_0x3905b4){console[_0x1cd3('0x434')](_0x3905b4);});}function _0x410a88(){_0x3baa4f['promise']=_0x18d5b5[_0x1cd3('0xae5')][_0x1cd3('0x1263')](_0x3baa4f[_0x1cd3('0x3d4')],_0x3fd90a)[_0x1cd3('0x81')];}function _0x879746(_0x1e429e){_[_0x1cd3('0x383')](_0x3baa4f['openchannelAccountApps']['rows'],{'id':_0x1e429e['id']});_0x475c93();_0x4c433b['success']({'title':'App\x20deleted!','msg':_0x1e429e[_0x1cd3('0xd0a')]?_0x1e429e[_0x1cd3('0xd0a')]+_0x1cd3('0xd41'):''});}function _0x536507(_0x11a16e){var _0x381c94=_0x37ff61['confirm']()[_0x1cd3('0x486')](_0x1cd3('0x1265'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x3baa4f[_0x1cd3('0x1ee7')][_0x1cd3('0x7a')]+_0x1cd3('0xd61')+_0x1cd3('0xd53'))['ariaLabel']('delete\x20applications')[_0x1cd3('0xd63')](_0x11a16e)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x37ff61[_0x1cd3('0x37e')](_0x381c94)[_0x1cd3('0x77')](function(){_0x3baa4f['selectedOpenchannelAccountApps'][_0x1cd3('0x394')](function(_0x98c7ce){_[_0x1cd3('0x383')](_0x3baa4f[_0x1cd3('0x1ed9')][_0x1cd3('0xf6')],{'id':_0x98c7ce['id']});});_0x3baa4f['selectedOpenchannelAccountApps']=[];_0x475c93();});}}}());(function(){'use strict';_0x3144f4['$inject']=['$mdDialog','$q',_0x1cd3('0x461'),_0x1cd3('0x370'),'openchannelAccount',_0x1cd3('0x15fb'),_0x1cd3('0x11b9'),'$translate','Auth',_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x31'))[_0x1cd3('0x39b')](_0x1cd3('0x1ee8'),_0x3144f4);function _0x3144f4(_0x3973df,_0x5df02f,_0x2f3f2b,_0x101be8,_0x52c3aa,_0x30ec90,_0x10f3b5,_0x5189fb,_0x17cb4d,_0x37dadf){var _0x3412a7=this;_0x3412a7['currentUser']=_0x17cb4d[_0x1cd3('0x5d')]();_0x3412a7['openchannelAccount']=_0x52c3aa;_0x3412a7[_0x1cd3('0xd27')]=_0x37dadf;_0x3412a7[_0x1cd3('0x11b9')]=_0x10f3b5;_0x3412a7[_0x1cd3('0x493')]=[];_0x3412a7[_0x1cd3('0x11ba')]=[];_0x3412a7[_0x1cd3('0x492')]=[];_0x3412a7['startingAllowedItems']=[];_0x3412a7['startingSelectedItems']=[];_0x3412a7[_0x1cd3('0x11c6')]=![];_0x3412a7[_0x1cd3('0x703')]=_0x427007;_0x3412a7['saveAgents']=_0x4d8c9c;_0x3412a7[_0x1cd3('0x39c')]=_0x49738a;_0x3412a7[_0x1cd3('0x1145')]={'readOnly':!_0x3412a7[_0x1cd3('0xd27')][_0x1cd3('0xe3b')],'items':[],'selectedItems':[],'showSelectAndDeselectAll':!![],'orderBy':'name','line1':'fullname','line2':['name','internal'],'line3':'','labelAll':_0x5189fb['instant']('OPENCHANNEL.ALL_AGENTS'),'labelSelected':_0x5189fb[_0x1cd3('0x44a')](_0x1cd3('0x1ee9')),'transferCallback':function(_0x3aa5c6,_0x40c2df){var _0x29acab=_[_0x1cd3('0x11c8')](_0x3412a7[_0x1cd3('0x11be')],_0x3412a7[_0x1cd3('0x492')],'id');_0x3412a7[_0x1cd3('0x11c6')]=_[_0x1cd3('0x398')](_0x29acab)?![]:!![];}};function _0x427007(){return _0x17cb4d[_0x1cd3('0x57')]('admin')?_0x2d5039()['catch'](function(_0x15e9d3){_0x2f3f2b[_0x1cd3('0x434')]({'title':_0x15e9d3[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x15e9d3[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x15e9d3['statusText']:_0x1cd3('0x11bf'),'msg':_0x15e9d3[_0x1cd3('0x3a6')]?JSON[_0x1cd3('0x438')](_0x15e9d3[_0x1cd3('0x439')]):_0x15e9d3[_0x1cd3('0x43b')]()});}):_0x4946c6()['then'](function(_0x35b067){_0x3412a7[_0x1cd3('0xd58')]=_0x35b067;return _0x2d5039();})[_0x1cd3('0xfd')](function(_0x1c9b32){_0x2f3f2b[_0x1cd3('0x434')]({'title':_0x1c9b32[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x1c9b32[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x1c9b32[_0x1cd3('0xd35')]:'SYSTEM:GET_AGENTS','msg':_0x1c9b32[_0x1cd3('0x3a6')]?JSON['stringify'](_0x1c9b32['data']):_0x1c9b32[_0x1cd3('0x43b')]()});});}function _0x4946c6(){return _0x5df02f(function(_0x1efa84,_0x36d0f8){_0x101be8[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x3412a7[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'name':_0x1cd3('0xd4')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x404ba2){var _0x5ba694=_0x404ba2&&_0x404ba2['rows']?_0x404ba2['rows'][0x0]:null;_0x1efa84(_0x5ba694);})[_0x1cd3('0xfd')](function(_0x41831e){_0x36d0f8(_0x41831e);});});}function _0x2d5039(){return _0x5df02f(function(_0x54cfcb,_0x4b0513){return _0x2ccfe0()[_0x1cd3('0x77')](function(_0x1e87d3){_0x3412a7['items']=_0x1e87d3[_0x1cd3('0xf6')]?_0x1e87d3[_0x1cd3('0xf6')]:[];if(_0x17cb4d[_0x1cd3('0x57')](_0x1cd3('0x5f'))){return _0x1e87d3;}else{if(_0x3412a7[_0x1cd3('0xd58')]){return _0x3412a7[_0x1cd3('0xd58')][_0x1cd3('0x391')]?_0x1e87d3:_0x2a26d3();}else{return null;}}})['then'](function(_0x292143){var _0xcfd0b6=_0x292143&&_0x292143[_0x1cd3('0xf6')]?_0x292143['rows']:[];_0x3412a7['allowedItems']=_[_0x1cd3('0x3d9')](_0xcfd0b6,function(_0x502b34){return _['find'](_0x3412a7[_0x1cd3('0x493')],{'id':_0x17cb4d['hasRole'](_0x1cd3('0x5f'))||_0x3412a7[_0x1cd3('0xd58')][_0x1cd3('0x391')]?_0x502b34['id']:_0x502b34[_0x1cd3('0xe8e')]});});_0x3412a7[_0x1cd3('0x11bb')]=angular[_0x1cd3('0x429')](_0x3412a7[_0x1cd3('0x11ba')]);_0x3412a7[_0x1cd3('0x493')][_0x1cd3('0x394')](function(_0xa95bba){var _0x2415c1=_[_0x1cd3('0x442')](_0x3412a7[_0x1cd3('0x11ba')],{'id':_0xa95bba['id']});if(_0x17cb4d['hasRole'](_0x1cd3('0x5f'))){_0xa95bba[_0x1cd3('0x490')]=!![];}else{_0xa95bba[_0x1cd3('0x490')]=typeof _0x2415c1!==_0x1cd3('0x491')?!![]:![];}});return _0x654969();})[_0x1cd3('0x77')](function(_0x3a350d){var _0x3453b6=_0x3a350d&&_0x3a350d['rows']?_0x3a350d[_0x1cd3('0xf6')]:[];_0x3412a7[_0x1cd3('0x492')]=_[_0x1cd3('0x3d9')](_0x3453b6,function(_0x53d6d2){var _0x340f6a=_[_0x1cd3('0x442')](_0x3412a7[_0x1cd3('0x493')],{'id':_0x53d6d2['id']});_0x340f6a[_0x1cd3('0x1146')]=_0x53d6d2[_0x1cd3('0x1eea')]?'penalty\x20'+_0x53d6d2[_0x1cd3('0x1eea')][_0x1cd3('0x1146')]:'';_0x340f6a['internal']=_0x53d6d2[_0x1cd3('0x3d0')](_0x1cd3('0x311'))?'<'+_0x53d6d2['internal']+'>':'';return _0x340f6a;});_0x3412a7[_0x1cd3('0x11be')]=angular[_0x1cd3('0x429')](_0x3412a7[_0x1cd3('0x492')]);_0x3412a7[_0x1cd3('0x1145')][_0x1cd3('0x492')]=_0x3412a7[_0x1cd3('0x492')];_0x3412a7[_0x1cd3('0x1145')][_0x1cd3('0x493')]=_[_0x1cd3('0x1152')](_0x3412a7[_0x1cd3('0x11ba')],_0x3412a7[_0x1cd3('0x1145')][_0x1cd3('0x492')],'id');_0x54cfcb();})[_0x1cd3('0xfd')](function(_0x4f998b){_0x4b0513(_0x4f998b);});});}function _0x2a26d3(){return _0x5df02f(function(_0x2e2d1d,_0x53e3b0){return _0x101be8[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x3412a7['section']['id'],'nolimit':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x13850d){_0x2e2d1d(_0x13850d);})['catch'](function(_0x48fa46){_0x53e3b0(_0x48fa46);});});}function _0x654969(){return _0x5df02f(function(_0x3c9133,_0x4a20b0){return _0x101be8[_0x1cd3('0xae5')][_0x1cd3('0x1269')]({'id':_0x3412a7[_0x1cd3('0xae5')]['id'],'fields':'id,name,internal,fullname','nolimit':!![],'role':_0x1cd3('0xd2')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x47cbf4){_0x3c9133(_0x47cbf4);})[_0x1cd3('0xfd')](function(_0x4093c0){_0x4a20b0(_0x4093c0);});});}function _0x2ccfe0(){return _0x5df02f(function(_0x443f26,_0x3eb72e){return _0x101be8[_0x1cd3('0x368')][_0x1cd3('0x361')]({'fields':_0x1cd3('0x11c1'),'nolimit':!![],'role':_0x1cd3('0xd2')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x2ff071){_0x443f26(_0x2ff071);})[_0x1cd3('0xfd')](function(_0xabe07a){_0x3eb72e(_0xabe07a);});});}function _0x1f9e8c(_0x4718ed){return _0x5df02f(function(_0x51d4ac,_0x21069d){if(_[_0x1cd3('0x398')](_0x4718ed)){_0x51d4ac();}else{_0x101be8[_0x1cd3('0xae5')][_0x1cd3('0x11c2')]({'id':_0x3412a7[_0x1cd3('0xae5')]['id'],'ids':_[_0x1cd3('0x3d9')](_0x4718ed,'id')})['$promise'][_0x1cd3('0x77')](function(){_0x51d4ac();})[_0x1cd3('0xfd')](function(_0x43cb14){_0x21069d(_0x43cb14);});}});}function _0x2fba65(_0x70babb){return _0x5df02f(function(_0x5b92b9,_0x519332){if(_[_0x1cd3('0x398')](_0x70babb)){_0x5b92b9();}else{_0x101be8[_0x1cd3('0xae5')]['removeAgents']({'id':_0x3412a7[_0x1cd3('0xae5')]['id'],'ids':_['map'](_0x70babb,'id')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x5b92b9();})[_0x1cd3('0xfd')](function(_0x4d65d3){_0x519332(_0x4d65d3);});}});}function _0x4d8c9c(){var _0x2cf312=_[_0x1cd3('0x1152')](_0x3412a7[_0x1cd3('0x11be')],_0x3412a7['selectedItems'],'id');var _0x5a843b=_[_0x1cd3('0x1152')](_0x3412a7[_0x1cd3('0x492')],_0x3412a7['startingSelectedItems'],'id');return _0x2fba65(_0x2cf312)[_0x1cd3('0x77')](function(){return _0x1f9e8c(_0x5a843b);})[_0x1cd3('0x77')](function(){_0x3412a7[_0x1cd3('0x11c6')]=![];_0x3412a7['startingAllowedItems']=angular[_0x1cd3('0x429')](_0x3412a7[_0x1cd3('0x11ba')]);_0x3412a7['startingSelectedItems']=angular[_0x1cd3('0x429')](_0x3412a7[_0x1cd3('0x492')]);_0x2f3f2b[_0x1cd3('0x473')]({'title':_0x1cd3('0x11c4'),'msg':'Agents\x20association\x20has\x20been\x20updated!'});})[_0x1cd3('0xfd')](function(_0x56092a){_0x2f3f2b[_0x1cd3('0x434')]({'title':_0x56092a[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x56092a[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x56092a[_0x1cd3('0xd35')]:_0x1cd3('0x11ce'),'msg':_0x56092a[_0x1cd3('0x3a6')]?JSON[_0x1cd3('0x438')](_0x56092a[_0x1cd3('0x439')]):_0x56092a['toString']()});});}function _0x49738a(){_0x3973df[_0x1cd3('0x39d')]();}}}());(function(){'use strict';_0x3d3dfa[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),'$q',_0x1cd3('0x461'),_0x1cd3('0x1eeb'),'openchannelAccount','api',_0x1cd3('0x56'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')]('app.openchannel')['controller']('EditOpenchannelAccountAppagentDialogController',_0x3d3dfa);function _0x3d3dfa(_0x1d18d9,_0xc58887,_0x52299b,_0x354b4c,_0xdadc8e,_0x3ea8db,_0x35d282,_0x5b16a8){var _0x17af66=this;_0x17af66['currentUser']=_0x35d282[_0x1cd3('0x5d')]();_0x17af66['errors']=[];_0x17af66['title']=_0x1cd3('0x1eec')+(_0x354b4c[_0x1cd3('0x125b')]||_0x354b4c[_0x1cd3('0xd0a')])[_0x1cd3('0x437')]();_0x17af66['agent']=angular[_0x1cd3('0x429')](_0x354b4c);_0x17af66['crudPermissions']=_0x5b16a8;_0x17af66[_0x1cd3('0xd28')]={};if(_0x17af66['agent'][_0x1cd3('0x127d')]){switch(_0x17af66[_0x1cd3('0xd2')]['appType']?_0x17af66[_0x1cd3('0xd2')]['appType'][_0x1cd3('0x433')]():_0x17af66[_0x1cd3('0xd2')][_0x1cd3('0xd0a')]['toLowerCase']()){case _0x1cd3('0x8f6'):break;case _0x1cd3('0x1233'):var _0x197f06=_0x17af66['agent'][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x17af66['agent'][_0x1cd3('0x65c')]=_0x197f06[0x0];_0x17af66[_0x1cd3('0xd2')][_0x1cd3('0x3f3')]=_0x197f06[0x1];_0x17af66[_0x1cd3('0xd2')]['welcomemessage']=_0x197f06[_0x1cd3('0x9a2')](0x2,_0x197f06[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x1247'):var _0x197f06=_0x17af66['agent']['appdata'][_0x1cd3('0x3ef')](',');_0x17af66['agent']['accesskeyid']=_0x197f06[0x0];_0x17af66[_0x1cd3('0xd2')][_0x1cd3('0x1249')]=_0x197f06[0x1];_0x17af66[_0x1cd3('0xd2')]['lexregion']=_0x197f06[0x2];_0x17af66[_0x1cd3('0xd2')]['botname']=_0x197f06[0x3];_0x17af66['agent'][_0x1cd3('0x1246')]=_0x197f06['slice'](0x4,_0x197f06[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x122b'):var _0x197f06=_0x17af66['agent'][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x17af66[_0x1cd3('0xd2')][_0x1cd3('0x122c')]=isNaN(_0x197f06[0x0])?_0x197f06[0x0]:parseInt(_0x197f06[0x0],0xa);_0x17af66['agent'][_0x1cd3('0x401')]=_0x197f06[_0x1cd3('0x9a2')](0x1,_0x197f06[_0x1cd3('0x7a')])['join'](',');break;case _0x1cd3('0x43a'):_0x17af66[_0x1cd3('0xd2')][_0x1cd3('0x401')]=_0x17af66['agent'][_0x1cd3('0x127d')];break;case _0x1cd3('0x127e'):_0x17af66[_0x1cd3('0xd2')][_0x1cd3('0x98')]=_0x17af66[_0x1cd3('0xd2')]['appdata'][_0x1cd3('0x3ef')]('=')[0x0];_0x17af66[_0x1cd3('0xd2')][_0x1cd3('0x3db')]=_0x17af66[_0x1cd3('0xd2')][_0x1cd3('0x127d')]['split']('=')[0x1];break;case'agi':_0x17af66['agent'][_0x1cd3('0xedd')]=_0x17af66[_0x1cd3('0xd2')][_0x1cd3('0x127d')];break;default:var _0x5dd5a9=_0x17af66[_0x1cd3('0xd2')]['appdata'][_0x1cd3('0x3ef')](',');_0x17af66[_0x1cd3('0xd2')][_0x1cd3('0xd2')]=_[_0x1cd3('0x398')](_0x5dd5a9[0x0])?_0x5dd5a9[0x0]:isNaN(_0x5dd5a9[0x0])?_0x5dd5a9[0x0]:parseInt(_0x5dd5a9[0x0],0xa);_0x17af66['agent'][_0x1cd3('0x8fc')]=_[_0x1cd3('0x398')](_0x5dd5a9[0x1])?_0x5dd5a9[0x1]:isNaN(_0x5dd5a9[0x1])?_0x5dd5a9[0x1]:parseInt(_0x5dd5a9[0x1],0xa);}}else{_0x17af66[_0x1cd3('0xd2')][_0x1cd3('0x8fc')]=0x1e;}if(_0x17af66[_0x1cd3('0xd2')][_0x1cd3('0x424')]&&_0x17af66[_0x1cd3('0xd2')][_0x1cd3('0x424')]['toLowerCase']()===_0x1cd3('0x128')&&_0x17af66[_0x1cd3('0xd2')][_0x1cd3('0x125b')][_0x1cd3('0x433')]()==='outbounddial'){_0x17af66['agent']['prefix']=_0x17af66[_0x1cd3('0xd2')][_0x1cd3('0xf09')]?_0x17af66['agent'][_0x1cd3('0xf09')][_0x1cd3('0x3ef')]('$')[0x0]:undefined;_0x17af66[_0x1cd3('0xd2')][_0x1cd3('0x689')]=_0x17af66[_0x1cd3('0xd2')]['callerID']?_0x1cd3('0x1280')+_0x17af66['agent']['callerID']:undefined;}_0x17af66[_0x1cd3('0x1eed')]=_0x2b6345;_0x17af66[_0x1cd3('0x39c')]=_0x5126d5;_0x35d282['hasRole'](_0x1cd3('0x5f'))?_0x3ea8db[_0x1cd3('0x368')]['get']({'fields':_0x1cd3('0xa6'),'sort':'name','role':_0x1cd3('0xd2'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x58df88){_0x17af66[_0x1cd3('0x1228')]=_0x58df88[_0x1cd3('0xf6')]||[];})['catch'](function(_0x346bb8){_0x52299b[_0x1cd3('0x434')]({'title':_0x346bb8[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x346bb8[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x346bb8[_0x1cd3('0xd35')]:_0x1cd3('0x11bf'),'msg':_0x346bb8[_0x1cd3('0x439')]?JSON['stringify'](_0x346bb8['data']):_0x346bb8['toString']()});}):_0x3ea8db[_0x1cd3('0x368')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'role':'agent','nolimit':_0x1cd3('0x2e0')})['$promise']['then'](function(_0x525908){_0x17af66['agents']=_0x525908[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x3ea8db[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x17af66['currentUser'][_0x1cd3('0x5e')],'sectionId':0xca})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0xa1c8a0){var _0x5c1e50=_0xa1c8a0&&_0xa1c8a0['rows']?_0xa1c8a0[_0x1cd3('0xf6')][0x0]:null;if(!_0x5c1e50){var _0x47df15=[];var _0x454d00=null;if(_0x17af66[_0x1cd3('0xd2')]){_0x454d00=_['find'](_0x17af66['agents'],{'name':_0x17af66['agent']['agent']});}for(var _0x5b42ec=0x0;_0x5b42ec<_0x17af66[_0x1cd3('0x1228')][_0x1cd3('0x7a')];_0x5b42ec++){if(_0x454d00&&_0x17af66[_0x1cd3('0x1228')][_0x5b42ec]['id']===_0x454d00['id']){_0x17af66[_0x1cd3('0x1228')][_0x5b42ec][_0x1cd3('0xf4a')]=![];_0x47df15[_0x1cd3('0x7b')](_0x17af66[_0x1cd3('0x1228')][_0x5b42ec]);}}_0x17af66[_0x1cd3('0x1228')]=_0x47df15;}else{if(!_0x5c1e50[_0x1cd3('0x391')]){return _0x3ea8db[_0x1cd3('0x392')]['get']({'sectionId':_0x5c1e50['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x6b60bd){var _0x296079=_['map'](_0x6b60bd['rows'],function(_0x4238ed){return _[_0x1cd3('0x442')](_0x17af66[_0x1cd3('0x1228')],{'id':_0x4238ed[_0x1cd3('0xe8e')]});});var _0x38d670=null;if(_0x17af66[_0x1cd3('0xd2')]){_0x38d670=_[_0x1cd3('0x442')](_0x17af66['agents'],{'name':_0x17af66['agent']['agent']});}if(_0x38d670&&!_['some'](_0x296079,['id',_0x38d670['id']])){var _0x1da3fd=_[_0x1cd3('0x442')](_0x17af66[_0x1cd3('0x1228')],{'id':_0x38d670['id']});_0x1da3fd[_0x1cd3('0xf4a')]=![];_0x296079['push'](_0x1da3fd);}_0x17af66[_0x1cd3('0x1228')]=_0x296079;});}}})[_0x1cd3('0xfd')](function(_0x27fdab){_0x52299b['error']({'title':_0x27fdab[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x27fdab[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x27fdab['statusText']:_0x1cd3('0x1282'),'msg':_0x27fdab[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x27fdab[_0x1cd3('0x439')]):_0x27fdab['toString']()});});function _0x2b6345(){_0x17af66[_0x1cd3('0xd34')]=[];var _0x516d01=[];if(_0x17af66['agent'][_0x1cd3('0x424')]&&_0x17af66[_0x1cd3('0xd2')][_0x1cd3('0x424')]['toLowerCase']()===_0x1cd3('0x128')&&_0x17af66['agent']['appType']==='outboundDial'){_0x17af66['agent']['phone']=_0xdadc8e[_0x1cd3('0x128a')]?(_0x17af66['agent'][_0x1cd3('0x6aa')]||'')+'${EXTEN:'+_0xdadc8e['cutdigits']+'}':(_0x17af66[_0x1cd3('0xd2')]['prefix']||'')+_0x1cd3('0x128d');if(_0xdadc8e[_0x1cd3('0x1285')]!=='none'){if(_0x17af66[_0x1cd3('0xd2')][_0x1cd3('0x422')][_0x1cd3('0x45e')](_0x1cd3('0x1286'))<0x0){_0x17af66[_0x1cd3('0xd2')][_0x1cd3('0x422')]+=_0x1cd3('0x1286');}}else{_0x17af66[_0x1cd3('0xd2')][_0x1cd3('0x422')]=_0x17af66[_0x1cd3('0xd2')][_0x1cd3('0x422')][_0x1cd3('0x3f1')](_0x1cd3('0x1286'),'');}}var _0x15382f=_[_0x1cd3('0x442')](_0x17af66[_0x1cd3('0x1228')],{'name':_0x17af66[_0x1cd3('0xd2')][_0x1cd3('0xd2')]});if(_0x15382f){_0x17af66[_0x1cd3('0xd2')][_0x1cd3('0x1226')]=_0x15382f['id'];}if(_0x17af66['agent'][_0x1cd3('0x125b')]&&_0x17af66[_0x1cd3('0xd2')]['appType']===_0x1cd3('0x8f6')){}else{switch((_0x17af66[_0x1cd3('0xd2')]['app']||_0x17af66[_0x1cd3('0xd2')][_0x1cd3('0x125b')])[_0x1cd3('0x433')]()){case _0x1cd3('0x127e'):_0x17af66[_0x1cd3('0xd2')][_0x1cd3('0x127d')]=_0x17af66['agent'][_0x1cd3('0x98')]+'='+_0x17af66[_0x1cd3('0xd2')][_0x1cd3('0x3db')];break;case _0x1cd3('0x8f6'):break;default:_0x516d01[0x0]=_0x17af66[_0x1cd3('0xd2')][_0x1cd3('0xd2')];_0x516d01[0x1]=_0x17af66[_0x1cd3('0xd2')][_0x1cd3('0x8fc')];_0x17af66[_0x1cd3('0xd2')][_0x1cd3('0x127d')]=_0x516d01[_0x1cd3('0x3de')](',');}}_0x5126d5(_0x17af66[_0x1cd3('0xd2')]);}function _0x5126d5(_0x4ec57e){_0x1d18d9[_0x1cd3('0x39d')](_0x4ec57e);}}}());(function(){'use strict';_0xff62e1[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),'$q',_0x1cd3('0x461'),_0x1cd3('0x1eeb'),_0x1cd3('0xae5'),_0x1cd3('0x370'),'Auth',_0x1cd3('0xd27')];angular['module'](_0x1cd3('0x31'))['controller'](_0x1cd3('0x1eee'),_0xff62e1);function _0xff62e1(_0x143d20,_0x5603ff,_0x5afac9,_0x430192,_0x189319,_0x384c43,_0x520e8f,_0x1749f1){var _0x3f9629=this;_0x3f9629['currentUser']=_0x520e8f[_0x1cd3('0x5d')]();_0x3f9629[_0x1cd3('0xd34')]=[];_0x3f9629[_0x1cd3('0x486')]=_0x1cd3('0x1eec')+(_0x430192['appType']||_0x430192['app'])[_0x1cd3('0x437')]();_0x3f9629[_0x1cd3('0x1247')]=angular[_0x1cd3('0x429')](_0x430192);_0x3f9629[_0x1cd3('0xd27')]=_0x1749f1;_0x3f9629[_0x1cd3('0xd28')]={};if(_0x3f9629[_0x1cd3('0x1247')][_0x1cd3('0x127d')]){switch(_0x3f9629[_0x1cd3('0x1247')][_0x1cd3('0x125b')]?_0x3f9629[_0x1cd3('0x1247')]['appType'][_0x1cd3('0x433')]():_0x3f9629[_0x1cd3('0x1247')][_0x1cd3('0xd0a')][_0x1cd3('0x433')]()){case _0x1cd3('0x8f6'):break;case _0x1cd3('0x1233'):var _0x48c30a=_0x3f9629['amazonlex']['appdata'][_0x1cd3('0x3ef')](',');_0x3f9629['amazonlex']['key']=_0x48c30a[0x0];_0x3f9629['amazonlex']['language']=_0x48c30a[0x1];_0x3f9629[_0x1cd3('0x1247')][_0x1cd3('0x1246')]=_0x48c30a[_0x1cd3('0x9a2')](0x2,_0x48c30a[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x1247'):var _0x48c30a=_0x3f9629[_0x1cd3('0x1247')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x3f9629['amazonlex'][_0x1cd3('0x1248')]=_0x48c30a[0x0];_0x3f9629[_0x1cd3('0x1247')]['secretaccesskey']=_0x48c30a[0x1];_0x3f9629[_0x1cd3('0x1247')][_0x1cd3('0x124a')]=_0x48c30a[0x2];_0x3f9629[_0x1cd3('0x1247')]['botname']=_0x48c30a[0x3];_0x3f9629['amazonlex'][_0x1cd3('0x1246')]=_0x48c30a[_0x1cd3('0x9a2')](0x4,_0x48c30a[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x122b'):var _0x48c30a=_0x3f9629['amazonlex']['appdata'][_0x1cd3('0x3ef')](',');_0x3f9629[_0x1cd3('0x1247')][_0x1cd3('0x122c')]=isNaN(_0x48c30a[0x0])?_0x48c30a[0x0]:parseInt(_0x48c30a[0x0],0xa);_0x3f9629[_0x1cd3('0x1247')][_0x1cd3('0x401')]=_0x48c30a[_0x1cd3('0x9a2')](0x1,_0x48c30a[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x43a'):_0x3f9629[_0x1cd3('0x1247')]['text']=_0x3f9629['amazonlex'][_0x1cd3('0x127d')];break;case _0x1cd3('0x127e'):_0x3f9629[_0x1cd3('0x1247')][_0x1cd3('0x98')]=_0x3f9629[_0x1cd3('0x1247')]['appdata'][_0x1cd3('0x3ef')]('=')[0x0];_0x3f9629[_0x1cd3('0x1247')][_0x1cd3('0x3db')]=_0x3f9629['amazonlex'][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x1];break;case _0x1cd3('0x128c'):_0x3f9629[_0x1cd3('0x1247')][_0x1cd3('0xedd')]=_0x3f9629[_0x1cd3('0x1247')]['appdata'];break;default:var _0xf3c4d8=_0x3f9629[_0x1cd3('0x1247')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x3f9629[_0x1cd3('0x1247')][_0x1cd3('0x1248')]=_['isEmpty'](_0xf3c4d8[0x0])?_0xf3c4d8[0x0]:isNaN(_0xf3c4d8[0x0])?_0xf3c4d8[0x0]:parseInt(_0xf3c4d8[0x0],0xa);_0x3f9629[_0x1cd3('0x1247')][_0x1cd3('0x1249')]=_[_0x1cd3('0x398')](_0xf3c4d8[0x1])?_0xf3c4d8[0x1]:isNaN(_0xf3c4d8[0x1])?_0xf3c4d8[0x1]:parseInt(_0xf3c4d8[0x1],0xa);_0x3f9629[_0x1cd3('0x1247')][_0x1cd3('0x124a')]=_[_0x1cd3('0x398')](_0xf3c4d8[0x2])?_0xf3c4d8[0x2]:isNaN(_0xf3c4d8[0x2])?_0xf3c4d8[0x2]:parseInt(_0xf3c4d8[0x2],0xa);_0x3f9629[_0x1cd3('0x1247')][_0x1cd3('0x124f')]=_[_0x1cd3('0x398')](_0xf3c4d8[0x3])?_0xf3c4d8[0x3]:isNaN(_0xf3c4d8[0x3])?_0xf3c4d8[0x3]:parseInt(_0xf3c4d8[0x3],0xa);_0x3f9629['amazonlex'][_0x1cd3('0x1246')]=_[_0x1cd3('0x398')](_0xf3c4d8[0x4])?_0xf3c4d8[0x4]:isNaN(_0xf3c4d8[0x4])?_0xf3c4d8[0x4]:parseInt(_0xf3c4d8[0x4],0xa);}}else{_0x3f9629[_0x1cd3('0x1247')][_0x1cd3('0x124a')]='us-east-1';}if(_0x3f9629[_0x1cd3('0x1247')][_0x1cd3('0x424')]&&_0x3f9629[_0x1cd3('0x1247')][_0x1cd3('0x424')][_0x1cd3('0x433')]()==='outbound'&&_0x3f9629[_0x1cd3('0x1247')][_0x1cd3('0x125b')]['toLowerCase']()===_0x1cd3('0x1289')){_0x3f9629[_0x1cd3('0x1247')][_0x1cd3('0x6aa')]=_0x3f9629['amazonlex'][_0x1cd3('0xf09')]?_0x3f9629[_0x1cd3('0x1247')][_0x1cd3('0xf09')][_0x1cd3('0x3ef')]('$')[0x0]:undefined;_0x3f9629['amazonlex'][_0x1cd3('0x689')]=_0x3f9629[_0x1cd3('0x1247')][_0x1cd3('0x127f')]?_0x1cd3('0x1280')+_0x3f9629[_0x1cd3('0x1247')][_0x1cd3('0x127f')]:undefined;}_0x3f9629[_0x1cd3('0x1eed')]=_0x26abb4;_0x3f9629[_0x1cd3('0x39c')]=_0x7e5abf;function _0x26abb4(){_0x3f9629['errors']=[];var _0xc8604d=[];if(_0x3f9629[_0x1cd3('0x1247')]['type']&&_0x3f9629[_0x1cd3('0x1247')][_0x1cd3('0x424')][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x3f9629[_0x1cd3('0x1247')][_0x1cd3('0x125b')]===_0x1cd3('0x1283')){_0x3f9629[_0x1cd3('0x1247')][_0x1cd3('0xf09')]=_0x189319[_0x1cd3('0x128a')]?(_0x3f9629['amazonlex']['prefix']||'')+'${EXTEN:'+_0x189319['cutdigits']+'}':(_0x3f9629['amazonlex'][_0x1cd3('0x6aa')]||'')+'${EXTEN}';if(_0x189319[_0x1cd3('0x1285')]!==_0x1cd3('0x6ae')){if(_0x3f9629['amazonlex'][_0x1cd3('0x422')][_0x1cd3('0x45e')](_0x1cd3('0x1286'))<0x0){_0x3f9629[_0x1cd3('0x1247')][_0x1cd3('0x422')]+='U(xcally-mixmonitor-context)';}}else{_0x3f9629[_0x1cd3('0x1247')][_0x1cd3('0x422')]=_0x3f9629['amazonlex'][_0x1cd3('0x422')][_0x1cd3('0x3f1')]('U(xcally-mixmonitor-context)','');}}if(_0x3f9629['amazonlex'][_0x1cd3('0x125b')]&&_0x3f9629[_0x1cd3('0x1247')]['appType']===_0x1cd3('0x8f6')){}else{switch((_0x3f9629[_0x1cd3('0x1247')][_0x1cd3('0xd0a')]||_0x3f9629[_0x1cd3('0x1247')]['appType'])[_0x1cd3('0x433')]()){case _0x1cd3('0x127e'):_0x3f9629[_0x1cd3('0x1247')]['appdata']=_0x3f9629[_0x1cd3('0x1247')][_0x1cd3('0x98')]+'='+_0x3f9629[_0x1cd3('0x1247')]['value'];break;case _0x1cd3('0x8f6'):break;default:_0xc8604d[0x0]=_0x3f9629[_0x1cd3('0x1247')][_0x1cd3('0x1248')];_0xc8604d[0x1]=_0x3f9629[_0x1cd3('0x1247')][_0x1cd3('0x1249')];_0xc8604d[0x2]=_0x3f9629[_0x1cd3('0x1247')][_0x1cd3('0x124a')];_0xc8604d[0x3]=_0x3f9629[_0x1cd3('0x1247')][_0x1cd3('0x124f')];_0xc8604d[0x4]=_0x3f9629[_0x1cd3('0x1247')][_0x1cd3('0x1246')];_0x3f9629[_0x1cd3('0x1247')]['appdata']=_0xc8604d[_0x1cd3('0x3de')](',');}}_0x7e5abf(_0x3f9629[_0x1cd3('0x1247')]);}function _0x7e5abf(_0x2d84ac){_0x143d20['hide'](_0x2d84ac);}}}());(function(){'use strict';_0x1a0c10[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),'$q',_0x1cd3('0x461'),_0x1cd3('0x1eeb'),_0x1cd3('0xae5'),_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')]('app.openchannel')[_0x1cd3('0x39b')]('EditOpenchannelAccountAppautoreplyDialogController',_0x1a0c10);function _0x1a0c10(_0x2e1517,_0x49ab90,_0x5b02c0,_0x4454da,_0x17ae98,_0x26d48d,_0x1c68b1,_0x187889){var _0x53ba23=this;_0x53ba23[_0x1cd3('0x3ca')]=_0x1c68b1[_0x1cd3('0x5d')]();_0x53ba23['errors']=[];_0x53ba23[_0x1cd3('0x486')]=_0x1cd3('0x1eec')+(_0x4454da['appType']||_0x4454da[_0x1cd3('0xd0a')])[_0x1cd3('0x437')]();_0x53ba23['autoreply']=angular[_0x1cd3('0x429')](_0x4454da);_0x53ba23['crudPermissions']=_0x187889;_0x53ba23['hasModulePermissions']={};if(_0x53ba23['autoreply'][_0x1cd3('0x127d')]){switch(_0x53ba23[_0x1cd3('0x122b')]['appType']?_0x53ba23['autoreply']['appType'][_0x1cd3('0x433')]():_0x53ba23[_0x1cd3('0x122b')][_0x1cd3('0xd0a')]['toLowerCase']()){case'custom':break;case'dialogflow':var _0x218aa2=_0x53ba23[_0x1cd3('0x122b')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x53ba23[_0x1cd3('0x122b')][_0x1cd3('0x65c')]=_0x218aa2[0x0];_0x53ba23[_0x1cd3('0x122b')][_0x1cd3('0x3f3')]=_0x218aa2[0x1];_0x53ba23[_0x1cd3('0x122b')]['welcomemessage']=_0x218aa2['slice'](0x2,_0x218aa2[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x1247'):var _0x218aa2=_0x53ba23['autoreply']['appdata'][_0x1cd3('0x3ef')](',');_0x53ba23[_0x1cd3('0x122b')][_0x1cd3('0x1248')]=_0x218aa2[0x0];_0x53ba23['autoreply'][_0x1cd3('0x1249')]=_0x218aa2[0x1];_0x53ba23[_0x1cd3('0x122b')][_0x1cd3('0x124a')]=_0x218aa2[0x2];_0x53ba23[_0x1cd3('0x122b')][_0x1cd3('0x124f')]=_0x218aa2[0x3];_0x53ba23[_0x1cd3('0x122b')][_0x1cd3('0x1246')]=_0x218aa2[_0x1cd3('0x9a2')](0x4,_0x218aa2[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case'autoreply':var _0x218aa2=_0x53ba23[_0x1cd3('0x122b')]['appdata'][_0x1cd3('0x3ef')](',');_0x53ba23[_0x1cd3('0x122b')][_0x1cd3('0x122c')]=isNaN(_0x218aa2[0x0])?_0x218aa2[0x0]:parseInt(_0x218aa2[0x0],0xa);_0x53ba23[_0x1cd3('0x122b')]['text']=_0x218aa2[_0x1cd3('0x9a2')](0x1,_0x218aa2['length'])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x43a'):_0x53ba23[_0x1cd3('0x122b')]['text']=_0x53ba23[_0x1cd3('0x122b')]['appdata'];break;case _0x1cd3('0x127e'):_0x53ba23[_0x1cd3('0x122b')][_0x1cd3('0x98')]=_0x53ba23['autoreply'][_0x1cd3('0x127d')]['split']('=')[0x0];_0x53ba23['autoreply'][_0x1cd3('0x3db')]=_0x53ba23[_0x1cd3('0x122b')]['appdata'][_0x1cd3('0x3ef')]('=')[0x1];break;case _0x1cd3('0x128c'):_0x53ba23['autoreply'][_0x1cd3('0xedd')]=_0x53ba23[_0x1cd3('0x122b')][_0x1cd3('0x127d')];break;default:var _0x4aa336=_0x53ba23[_0x1cd3('0x122b')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x53ba23[_0x1cd3('0x122b')]['times']=_[_0x1cd3('0x398')](_0x4aa336[0x0])?_0x4aa336[0x0]:isNaN(_0x4aa336[0x0])?_0x4aa336[0x0]:parseInt(_0x4aa336[0x0],0xa);_0x53ba23[_0x1cd3('0x122b')][_0x1cd3('0x401')]=_[_0x1cd3('0x398')](_0x4aa336[0x1])?_0x4aa336[0x1]:isNaN(_0x4aa336[0x1])?_0x4aa336[0x1]:parseInt(_0x4aa336[0x1],0xa);}}else{_0x53ba23['autoreply'][_0x1cd3('0x122c')]=0x1;}if(_0x53ba23[_0x1cd3('0x122b')][_0x1cd3('0x424')]&&_0x53ba23[_0x1cd3('0x122b')][_0x1cd3('0x424')]['toLowerCase']()==='outbound'&&_0x53ba23[_0x1cd3('0x122b')][_0x1cd3('0x125b')]['toLowerCase']()===_0x1cd3('0x1289')){_0x53ba23['autoreply']['prefix']=_0x53ba23[_0x1cd3('0x122b')][_0x1cd3('0xf09')]?_0x53ba23['autoreply']['phone'][_0x1cd3('0x3ef')]('$')[0x0]:undefined;_0x53ba23[_0x1cd3('0x122b')][_0x1cd3('0x689')]=_0x53ba23['autoreply']['callerID']?_0x1cd3('0x1280')+_0x53ba23[_0x1cd3('0x122b')]['callerID']:undefined;}_0x53ba23['saveOpenchannelAccountApp']=_0x2ae0e7;_0x53ba23['closeDialog']=_0x1dcdcd;function _0x2ae0e7(){_0x53ba23[_0x1cd3('0xd34')]=[];var _0x522580=[];if(_0x53ba23[_0x1cd3('0x122b')][_0x1cd3('0x424')]&&_0x53ba23[_0x1cd3('0x122b')][_0x1cd3('0x424')][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x53ba23[_0x1cd3('0x122b')]['appType']===_0x1cd3('0x1283')){_0x53ba23['autoreply'][_0x1cd3('0xf09')]=_0x17ae98[_0x1cd3('0x128a')]?(_0x53ba23[_0x1cd3('0x122b')][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x1284')+_0x17ae98[_0x1cd3('0x128a')]+'}':(_0x53ba23['autoreply'][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x128d');if(_0x17ae98[_0x1cd3('0x1285')]!=='none'){if(_0x53ba23['autoreply'][_0x1cd3('0x422')][_0x1cd3('0x45e')](_0x1cd3('0x1286'))<0x0){_0x53ba23['autoreply'][_0x1cd3('0x422')]+=_0x1cd3('0x1286');}}else{_0x53ba23[_0x1cd3('0x122b')][_0x1cd3('0x422')]=_0x53ba23[_0x1cd3('0x122b')][_0x1cd3('0x422')][_0x1cd3('0x3f1')](_0x1cd3('0x1286'),'');}}if(_0x53ba23['autoreply'][_0x1cd3('0x125b')]&&_0x53ba23[_0x1cd3('0x122b')][_0x1cd3('0x125b')]===_0x1cd3('0x8f6')){}else{switch((_0x53ba23['autoreply'][_0x1cd3('0xd0a')]||_0x53ba23[_0x1cd3('0x122b')][_0x1cd3('0x125b')])['toLowerCase']()){case'set':_0x53ba23[_0x1cd3('0x122b')]['appdata']=_0x53ba23[_0x1cd3('0x122b')][_0x1cd3('0x98')]+'='+_0x53ba23[_0x1cd3('0x122b')][_0x1cd3('0x3db')];break;case'custom':break;default:_0x522580[0x0]=_0x53ba23[_0x1cd3('0x122b')][_0x1cd3('0x122c')];_0x522580[0x1]=_0x53ba23[_0x1cd3('0x122b')][_0x1cd3('0x401')];_0x53ba23[_0x1cd3('0x122b')]['appdata']=_0x522580[_0x1cd3('0x3de')](',');}}_0x1dcdcd(_0x53ba23[_0x1cd3('0x122b')]);}function _0x1dcdcd(_0x53de53){_0x2e1517[_0x1cd3('0x39d')](_0x53de53);}}}());(function(){'use strict';_0x167f41[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),'$q',_0x1cd3('0x461'),_0x1cd3('0x1eeb'),_0x1cd3('0xae5'),_0x1cd3('0x370'),'Auth','crudPermissions'];angular[_0x1cd3('0x0')](_0x1cd3('0x31'))[_0x1cd3('0x39b')]('EditOpenchannelAccountAppcloseDialogController',_0x167f41);function _0x167f41(_0x14ae80,_0x133706,_0x245036,_0x4c31d7,_0x1c1ab5,_0x35fee7,_0x4cb65b,_0x4d9429){var _0x4d0b6d=this;_0x4d0b6d[_0x1cd3('0x3ca')]=_0x4cb65b[_0x1cd3('0x5d')]();_0x4d0b6d[_0x1cd3('0xd34')]=[];_0x4d0b6d[_0x1cd3('0x486')]=_0x1cd3('0x1eec')+(_0x4c31d7[_0x1cd3('0x125b')]||_0x4c31d7[_0x1cd3('0xd0a')])[_0x1cd3('0x437')]();_0x4d0b6d['close']=angular['copy'](_0x4c31d7);_0x4d0b6d[_0x1cd3('0xd27')]=_0x4d9429;_0x4d0b6d[_0x1cd3('0xd28')]={};if(_0x4d0b6d['close'][_0x1cd3('0x127d')]){switch(_0x4d0b6d[_0x1cd3('0x3cf')][_0x1cd3('0x125b')]?_0x4d0b6d[_0x1cd3('0x3cf')][_0x1cd3('0x125b')][_0x1cd3('0x433')]():_0x4d0b6d[_0x1cd3('0x3cf')][_0x1cd3('0xd0a')][_0x1cd3('0x433')]()){case _0x1cd3('0x8f6'):break;case _0x1cd3('0x1233'):var _0x5478a6=_0x4d0b6d[_0x1cd3('0x3cf')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x4d0b6d[_0x1cd3('0x3cf')][_0x1cd3('0x65c')]=_0x5478a6[0x0];_0x4d0b6d[_0x1cd3('0x3cf')][_0x1cd3('0x3f3')]=_0x5478a6[0x1];_0x4d0b6d[_0x1cd3('0x3cf')][_0x1cd3('0x1246')]=_0x5478a6['slice'](0x2,_0x5478a6[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case'amazonlex':var _0x5478a6=_0x4d0b6d[_0x1cd3('0x3cf')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x4d0b6d[_0x1cd3('0x3cf')][_0x1cd3('0x1248')]=_0x5478a6[0x0];_0x4d0b6d[_0x1cd3('0x3cf')][_0x1cd3('0x1249')]=_0x5478a6[0x1];_0x4d0b6d[_0x1cd3('0x3cf')][_0x1cd3('0x124a')]=_0x5478a6[0x2];_0x4d0b6d[_0x1cd3('0x3cf')][_0x1cd3('0x124f')]=_0x5478a6[0x3];_0x4d0b6d[_0x1cd3('0x3cf')][_0x1cd3('0x1246')]=_0x5478a6[_0x1cd3('0x9a2')](0x4,_0x5478a6[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x122b'):var _0x5478a6=_0x4d0b6d['close'][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x4d0b6d[_0x1cd3('0x3cf')][_0x1cd3('0x122c')]=isNaN(_0x5478a6[0x0])?_0x5478a6[0x0]:parseInt(_0x5478a6[0x0],0xa);_0x4d0b6d['close'][_0x1cd3('0x401')]=_0x5478a6['slice'](0x1,_0x5478a6['length'])[_0x1cd3('0x3de')](',');break;case'message':_0x4d0b6d[_0x1cd3('0x3cf')]['text']=_0x4d0b6d[_0x1cd3('0x3cf')][_0x1cd3('0x127d')];break;case _0x1cd3('0x127e'):_0x4d0b6d[_0x1cd3('0x3cf')]['name']=_0x4d0b6d[_0x1cd3('0x3cf')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x0];_0x4d0b6d[_0x1cd3('0x3cf')][_0x1cd3('0x3db')]=_0x4d0b6d[_0x1cd3('0x3cf')]['appdata'][_0x1cd3('0x3ef')]('=')[0x1];break;case _0x1cd3('0x128c'):_0x4d0b6d[_0x1cd3('0x3cf')][_0x1cd3('0xedd')]=_0x4d0b6d['close']['appdata'];break;default:var _0x22d8c0=_0x4d0b6d[_0x1cd3('0x3cf')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x4d0b6d[_0x1cd3('0x3cf')]['disposition']=_[_0x1cd3('0x398')](_0x22d8c0[0x0])?_0x22d8c0[0x0]:isNaN(_0x22d8c0[0x0])?_0x22d8c0[0x0]:parseInt(_0x22d8c0[0x0],0xa);}}else{}if(_0x4d0b6d[_0x1cd3('0x3cf')][_0x1cd3('0x424')]&&_0x4d0b6d['close'][_0x1cd3('0x424')]['toLowerCase']()===_0x1cd3('0x128')&&_0x4d0b6d[_0x1cd3('0x3cf')][_0x1cd3('0x125b')][_0x1cd3('0x433')]()===_0x1cd3('0x1289')){_0x4d0b6d[_0x1cd3('0x3cf')][_0x1cd3('0x6aa')]=_0x4d0b6d[_0x1cd3('0x3cf')][_0x1cd3('0xf09')]?_0x4d0b6d[_0x1cd3('0x3cf')]['phone'][_0x1cd3('0x3ef')]('$')[0x0]:undefined;_0x4d0b6d[_0x1cd3('0x3cf')][_0x1cd3('0x689')]=_0x4d0b6d[_0x1cd3('0x3cf')]['callerID']?'CALLERID(all)='+_0x4d0b6d['close'][_0x1cd3('0x127f')]:undefined;}_0x4d0b6d[_0x1cd3('0x1eed')]=_0x4f298b;_0x4d0b6d['closeDialog']=_0x315b7c;function _0x4f298b(){_0x4d0b6d[_0x1cd3('0xd34')]=[];var _0x49ca19=[];if(_0x4d0b6d[_0x1cd3('0x3cf')]['type']&&_0x4d0b6d[_0x1cd3('0x3cf')][_0x1cd3('0x424')][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x4d0b6d[_0x1cd3('0x3cf')][_0x1cd3('0x125b')]===_0x1cd3('0x1283')){_0x4d0b6d[_0x1cd3('0x3cf')][_0x1cd3('0xf09')]=_0x1c1ab5[_0x1cd3('0x128a')]?(_0x4d0b6d[_0x1cd3('0x3cf')][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x1284')+_0x1c1ab5[_0x1cd3('0x128a')]+'}':(_0x4d0b6d[_0x1cd3('0x3cf')][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x128d');if(_0x1c1ab5['recordingFormat']!==_0x1cd3('0x6ae')){if(_0x4d0b6d[_0x1cd3('0x3cf')][_0x1cd3('0x422')][_0x1cd3('0x45e')](_0x1cd3('0x1286'))<0x0){_0x4d0b6d[_0x1cd3('0x3cf')][_0x1cd3('0x422')]+=_0x1cd3('0x1286');}}else{_0x4d0b6d['close'][_0x1cd3('0x422')]=_0x4d0b6d[_0x1cd3('0x3cf')][_0x1cd3('0x422')]['replace'](_0x1cd3('0x1286'),'');}}if(_0x4d0b6d[_0x1cd3('0x3cf')][_0x1cd3('0x125b')]&&_0x4d0b6d['close']['appType']===_0x1cd3('0x8f6')){}else{switch((_0x4d0b6d[_0x1cd3('0x3cf')][_0x1cd3('0xd0a')]||_0x4d0b6d[_0x1cd3('0x3cf')]['appType'])[_0x1cd3('0x433')]()){case _0x1cd3('0x127e'):_0x4d0b6d[_0x1cd3('0x3cf')]['appdata']=_0x4d0b6d[_0x1cd3('0x3cf')][_0x1cd3('0x98')]+'='+_0x4d0b6d[_0x1cd3('0x3cf')][_0x1cd3('0x3db')];break;case _0x1cd3('0x8f6'):break;default:_0x49ca19[0x0]=_0x4d0b6d['close'][_0x1cd3('0xb63')];_0x4d0b6d[_0x1cd3('0x3cf')][_0x1cd3('0x127d')]=_0x49ca19['join'](',');}}_0x315b7c(_0x4d0b6d[_0x1cd3('0x3cf')]);}function _0x315b7c(_0x25e5a2){_0x14ae80[_0x1cd3('0x39d')](_0x25e5a2);}}}());(function(){'use strict';_0x713267[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),'$q',_0x1cd3('0x461'),_0x1cd3('0x1eeb'),_0x1cd3('0xae5'),_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')]('app.openchannel')[_0x1cd3('0x39b')](_0x1cd3('0x1eef'),_0x713267);function _0x713267(_0x327ebe,_0x402438,_0x37b815,_0x3db850,_0x25939b,_0x16c5ad,_0x35082d,_0x5db06f){var _0x3cfc8e=this;_0x3cfc8e[_0x1cd3('0x3ca')]=_0x35082d[_0x1cd3('0x5d')]();_0x3cfc8e[_0x1cd3('0xd34')]=[];_0x3cfc8e[_0x1cd3('0x486')]='OPENCHANNEL.EDIT_'+(_0x3db850[_0x1cd3('0x125b')]||_0x3db850[_0x1cd3('0xd0a')])[_0x1cd3('0x437')]();_0x3cfc8e['dialogflow']=angular[_0x1cd3('0x429')](_0x3db850);_0x3cfc8e[_0x1cd3('0xd27')]=_0x5db06f;_0x3cfc8e['hasModulePermissions']={};if(_0x3cfc8e[_0x1cd3('0x1233')][_0x1cd3('0x127d')]){switch(_0x3cfc8e[_0x1cd3('0x1233')][_0x1cd3('0x125b')]?_0x3cfc8e[_0x1cd3('0x1233')][_0x1cd3('0x125b')][_0x1cd3('0x433')]():_0x3cfc8e[_0x1cd3('0x1233')][_0x1cd3('0xd0a')][_0x1cd3('0x433')]()){case _0x1cd3('0x8f6'):break;case _0x1cd3('0x1233'):var _0x543c3b=_0x3cfc8e['dialogflow'][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x3cfc8e[_0x1cd3('0x1233')][_0x1cd3('0x65c')]=_0x543c3b[0x0];_0x3cfc8e[_0x1cd3('0x1233')][_0x1cd3('0x3f3')]=_0x543c3b[0x1];_0x3cfc8e['dialogflow'][_0x1cd3('0x1246')]=_0x543c3b[_0x1cd3('0x9a2')](0x2,_0x543c3b['length'])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x1247'):var _0x543c3b=_0x3cfc8e['dialogflow'][_0x1cd3('0x127d')]['split'](',');_0x3cfc8e[_0x1cd3('0x1233')][_0x1cd3('0x1248')]=_0x543c3b[0x0];_0x3cfc8e[_0x1cd3('0x1233')][_0x1cd3('0x1249')]=_0x543c3b[0x1];_0x3cfc8e[_0x1cd3('0x1233')][_0x1cd3('0x124a')]=_0x543c3b[0x2];_0x3cfc8e[_0x1cd3('0x1233')][_0x1cd3('0x124f')]=_0x543c3b[0x3];_0x3cfc8e[_0x1cd3('0x1233')][_0x1cd3('0x1246')]=_0x543c3b['slice'](0x4,_0x543c3b[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case'autoreply':var _0x543c3b=_0x3cfc8e[_0x1cd3('0x1233')][_0x1cd3('0x127d')]['split'](',');_0x3cfc8e[_0x1cd3('0x1233')]['times']=isNaN(_0x543c3b[0x0])?_0x543c3b[0x0]:parseInt(_0x543c3b[0x0],0xa);_0x3cfc8e['dialogflow'][_0x1cd3('0x401')]=_0x543c3b[_0x1cd3('0x9a2')](0x1,_0x543c3b['length'])['join'](',');break;case _0x1cd3('0x43a'):_0x3cfc8e[_0x1cd3('0x1233')][_0x1cd3('0x401')]=_0x3cfc8e['dialogflow'][_0x1cd3('0x127d')];break;case _0x1cd3('0x127e'):_0x3cfc8e[_0x1cd3('0x1233')][_0x1cd3('0x98')]=_0x3cfc8e[_0x1cd3('0x1233')]['appdata'][_0x1cd3('0x3ef')]('=')[0x0];_0x3cfc8e[_0x1cd3('0x1233')][_0x1cd3('0x3db')]=_0x3cfc8e[_0x1cd3('0x1233')][_0x1cd3('0x127d')]['split']('=')[0x1];break;case _0x1cd3('0x128c'):_0x3cfc8e[_0x1cd3('0x1233')][_0x1cd3('0xedd')]=_0x3cfc8e['dialogflow']['appdata'];break;default:var _0x5e2e6e=_0x3cfc8e[_0x1cd3('0x1233')]['appdata'][_0x1cd3('0x3ef')](',');_0x3cfc8e[_0x1cd3('0x1233')]['key']=_[_0x1cd3('0x398')](_0x5e2e6e[0x0])?_0x5e2e6e[0x0]:isNaN(_0x5e2e6e[0x0])?_0x5e2e6e[0x0]:parseInt(_0x5e2e6e[0x0],0xa);_0x3cfc8e[_0x1cd3('0x1233')][_0x1cd3('0x3f3')]=_[_0x1cd3('0x398')](_0x5e2e6e[0x1])?_0x5e2e6e[0x1]:isNaN(_0x5e2e6e[0x1])?_0x5e2e6e[0x1]:parseInt(_0x5e2e6e[0x1],0xa);_0x3cfc8e[_0x1cd3('0x1233')]['welcomemessage']=_[_0x1cd3('0x398')](_0x5e2e6e[0x2])?_0x5e2e6e[0x2]:isNaN(_0x5e2e6e[0x2])?_0x5e2e6e[0x2]:parseInt(_0x5e2e6e[0x2],0xa);}}else{_0x3cfc8e[_0x1cd3('0x1233')][_0x1cd3('0x3f3')]='en';}if(_0x3cfc8e[_0x1cd3('0x1233')][_0x1cd3('0x424')]&&_0x3cfc8e[_0x1cd3('0x1233')][_0x1cd3('0x424')][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x3cfc8e[_0x1cd3('0x1233')][_0x1cd3('0x125b')]['toLowerCase']()==='outbounddial'){_0x3cfc8e[_0x1cd3('0x1233')][_0x1cd3('0x6aa')]=_0x3cfc8e[_0x1cd3('0x1233')][_0x1cd3('0xf09')]?_0x3cfc8e[_0x1cd3('0x1233')][_0x1cd3('0xf09')]['split']('$')[0x0]:undefined;_0x3cfc8e[_0x1cd3('0x1233')]['callerId']=_0x3cfc8e[_0x1cd3('0x1233')][_0x1cd3('0x127f')]?'CALLERID(all)='+_0x3cfc8e[_0x1cd3('0x1233')][_0x1cd3('0x127f')]:undefined;}_0x3cfc8e[_0x1cd3('0x1eed')]=_0xf1e2b0;_0x3cfc8e[_0x1cd3('0x39c')]=_0x1fd7bd;function _0xf1e2b0(){_0x3cfc8e[_0x1cd3('0xd34')]=[];var _0x307e0c=[];if(_0x3cfc8e[_0x1cd3('0x1233')]['type']&&_0x3cfc8e['dialogflow'][_0x1cd3('0x424')][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x3cfc8e[_0x1cd3('0x1233')]['appType']===_0x1cd3('0x1283')){_0x3cfc8e[_0x1cd3('0x1233')][_0x1cd3('0xf09')]=_0x25939b[_0x1cd3('0x128a')]?(_0x3cfc8e[_0x1cd3('0x1233')][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x1284')+_0x25939b[_0x1cd3('0x128a')]+'}':(_0x3cfc8e['dialogflow'][_0x1cd3('0x6aa')]||'')+'${EXTEN}';if(_0x25939b[_0x1cd3('0x1285')]!=='none'){if(_0x3cfc8e[_0x1cd3('0x1233')][_0x1cd3('0x422')][_0x1cd3('0x45e')](_0x1cd3('0x1286'))<0x0){_0x3cfc8e[_0x1cd3('0x1233')][_0x1cd3('0x422')]+=_0x1cd3('0x1286');}}else{_0x3cfc8e['dialogflow'][_0x1cd3('0x422')]=_0x3cfc8e[_0x1cd3('0x1233')][_0x1cd3('0x422')]['replace']('U(xcally-mixmonitor-context)','');}}if(_0x3cfc8e['dialogflow']['appType']&&_0x3cfc8e[_0x1cd3('0x1233')][_0x1cd3('0x125b')]===_0x1cd3('0x8f6')){}else{switch((_0x3cfc8e[_0x1cd3('0x1233')]['app']||_0x3cfc8e['dialogflow'][_0x1cd3('0x125b')])[_0x1cd3('0x433')]()){case _0x1cd3('0x127e'):_0x3cfc8e[_0x1cd3('0x1233')][_0x1cd3('0x127d')]=_0x3cfc8e[_0x1cd3('0x1233')][_0x1cd3('0x98')]+'='+_0x3cfc8e[_0x1cd3('0x1233')][_0x1cd3('0x3db')];break;case _0x1cd3('0x8f6'):break;default:_0x307e0c[0x0]=_0x3cfc8e[_0x1cd3('0x1233')][_0x1cd3('0x65c')];_0x307e0c[0x1]=_0x3cfc8e[_0x1cd3('0x1233')][_0x1cd3('0x3f3')];_0x307e0c[0x2]=_0x3cfc8e[_0x1cd3('0x1233')]['welcomemessage'];_0x3cfc8e[_0x1cd3('0x1233')]['appdata']=_0x307e0c[_0x1cd3('0x3de')](',');}}_0x1fd7bd(_0x3cfc8e[_0x1cd3('0x1233')]);}function _0x1fd7bd(_0x5c3700){_0x327ebe['hide'](_0x5c3700);}}}());(function(){'use strict';_0x39bfbd[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),'$q',_0x1cd3('0x461'),_0x1cd3('0x1eeb'),_0x1cd3('0xae5'),_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')]('app.openchannel')[_0x1cd3('0x39b')](_0x1cd3('0x1ef0'),_0x39bfbd);function _0x39bfbd(_0x467ad2,_0x3deed3,_0x58ce6c,_0x279b54,_0x240f2e,_0x2a62ca,_0x53541a,_0xcc78f2){var _0x2f51da=this;_0x2f51da[_0x1cd3('0x3ca')]=_0x53541a[_0x1cd3('0x5d')]();_0x2f51da[_0x1cd3('0xd34')]=[];_0x2f51da[_0x1cd3('0x486')]='OPENCHANNEL.EDIT_'+(_0x279b54[_0x1cd3('0x125b')]||_0x279b54[_0x1cd3('0xd0a')])[_0x1cd3('0x437')]();_0x2f51da[_0x1cd3('0x121c')]=angular['copy'](_0x279b54);_0x2f51da[_0x1cd3('0xd27')]=_0xcc78f2;_0x2f51da[_0x1cd3('0xd28')]={};if(_0x2f51da['gotoif'][_0x1cd3('0x127d')]){switch(_0x2f51da[_0x1cd3('0x121c')][_0x1cd3('0x125b')]?_0x2f51da[_0x1cd3('0x121c')]['appType'][_0x1cd3('0x433')]():_0x2f51da['gotoif']['app'][_0x1cd3('0x433')]()){case _0x1cd3('0x8f6'):break;case _0x1cd3('0x1233'):var _0x30032b=_0x2f51da[_0x1cd3('0x121c')][_0x1cd3('0x127d')]['split'](',');_0x2f51da[_0x1cd3('0x121c')][_0x1cd3('0x65c')]=_0x30032b[0x0];_0x2f51da[_0x1cd3('0x121c')][_0x1cd3('0x3f3')]=_0x30032b[0x1];_0x2f51da['gotoif'][_0x1cd3('0x1246')]=_0x30032b[_0x1cd3('0x9a2')](0x2,_0x30032b[_0x1cd3('0x7a')])['join'](',');break;case'amazonlex':var _0x30032b=_0x2f51da['gotoif'][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x2f51da[_0x1cd3('0x121c')][_0x1cd3('0x1248')]=_0x30032b[0x0];_0x2f51da['gotoif']['secretaccesskey']=_0x30032b[0x1];_0x2f51da[_0x1cd3('0x121c')][_0x1cd3('0x124a')]=_0x30032b[0x2];_0x2f51da[_0x1cd3('0x121c')][_0x1cd3('0x124f')]=_0x30032b[0x3];_0x2f51da['gotoif']['welcomemessage']=_0x30032b[_0x1cd3('0x9a2')](0x4,_0x30032b[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x122b'):var _0x30032b=_0x2f51da[_0x1cd3('0x121c')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x2f51da[_0x1cd3('0x121c')]['times']=isNaN(_0x30032b[0x0])?_0x30032b[0x0]:parseInt(_0x30032b[0x0],0xa);_0x2f51da[_0x1cd3('0x121c')][_0x1cd3('0x401')]=_0x30032b[_0x1cd3('0x9a2')](0x1,_0x30032b['length'])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x43a'):_0x2f51da[_0x1cd3('0x121c')][_0x1cd3('0x401')]=_0x2f51da[_0x1cd3('0x121c')][_0x1cd3('0x127d')];break;case _0x1cd3('0x127e'):_0x2f51da['gotoif'][_0x1cd3('0x98')]=_0x2f51da[_0x1cd3('0x121c')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x0];_0x2f51da[_0x1cd3('0x121c')][_0x1cd3('0x3db')]=_0x2f51da['gotoif'][_0x1cd3('0x127d')]['split']('=')[0x1];break;case _0x1cd3('0x128c'):_0x2f51da[_0x1cd3('0x121c')][_0x1cd3('0xedd')]=_0x2f51da[_0x1cd3('0x121c')]['appdata'];break;default:var _0x296ead=_0x2f51da[_0x1cd3('0x121c')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x2f51da['gotoif'][_0x1cd3('0xb65')]=_[_0x1cd3('0x398')](_0x296ead[0x0])?_0x296ead[0x0]:isNaN(_0x296ead[0x0])?_0x296ead[0x0]:parseInt(_0x296ead[0x0],0xa);_0x2f51da['gotoif'][_0x1cd3('0x121e')]=_[_0x1cd3('0x398')](_0x296ead[0x1])?_0x296ead[0x1]:isNaN(_0x296ead[0x1])?_0x296ead[0x1]:parseInt(_0x296ead[0x1],0xa);_0x2f51da[_0x1cd3('0x121c')][_0x1cd3('0x121f')]=_[_0x1cd3('0x398')](_0x296ead[0x2])?_0x296ead[0x2]:isNaN(_0x296ead[0x2])?_0x296ead[0x2]:parseInt(_0x296ead[0x2],0xa);}}else{}if(_0x2f51da[_0x1cd3('0x121c')][_0x1cd3('0x424')]&&_0x2f51da['gotoif'][_0x1cd3('0x424')]['toLowerCase']()===_0x1cd3('0x128')&&_0x2f51da[_0x1cd3('0x121c')][_0x1cd3('0x125b')]['toLowerCase']()===_0x1cd3('0x1289')){_0x2f51da[_0x1cd3('0x121c')]['prefix']=_0x2f51da[_0x1cd3('0x121c')][_0x1cd3('0xf09')]?_0x2f51da[_0x1cd3('0x121c')][_0x1cd3('0xf09')][_0x1cd3('0x3ef')]('$')[0x0]:undefined;_0x2f51da[_0x1cd3('0x121c')][_0x1cd3('0x689')]=_0x2f51da[_0x1cd3('0x121c')][_0x1cd3('0x127f')]?'CALLERID(all)='+_0x2f51da[_0x1cd3('0x121c')]['callerID']:undefined;}_0x2f51da[_0x1cd3('0x1eed')]=_0x2e100b;_0x2f51da[_0x1cd3('0x39c')]=_0x11afe1;function _0x2e100b(){_0x2f51da[_0x1cd3('0xd34')]=[];var _0x5b4048=[];if(_0x2f51da[_0x1cd3('0x121c')][_0x1cd3('0x424')]&&_0x2f51da['gotoif'][_0x1cd3('0x424')]['toLowerCase']()===_0x1cd3('0x128')&&_0x2f51da[_0x1cd3('0x121c')][_0x1cd3('0x125b')]==='outboundDial'){_0x2f51da[_0x1cd3('0x121c')]['phone']=_0x240f2e[_0x1cd3('0x128a')]?(_0x2f51da[_0x1cd3('0x121c')][_0x1cd3('0x6aa')]||'')+'${EXTEN:'+_0x240f2e['cutdigits']+'}':(_0x2f51da[_0x1cd3('0x121c')]['prefix']||'')+_0x1cd3('0x128d');if(_0x240f2e[_0x1cd3('0x1285')]!==_0x1cd3('0x6ae')){if(_0x2f51da[_0x1cd3('0x121c')][_0x1cd3('0x422')][_0x1cd3('0x45e')](_0x1cd3('0x1286'))<0x0){_0x2f51da[_0x1cd3('0x121c')][_0x1cd3('0x422')]+=_0x1cd3('0x1286');}}else{_0x2f51da[_0x1cd3('0x121c')][_0x1cd3('0x422')]=_0x2f51da[_0x1cd3('0x121c')][_0x1cd3('0x422')][_0x1cd3('0x3f1')](_0x1cd3('0x1286'),'');}}if(_0x2f51da[_0x1cd3('0x121c')]['appType']&&_0x2f51da[_0x1cd3('0x121c')][_0x1cd3('0x125b')]===_0x1cd3('0x8f6')){}else{switch((_0x2f51da[_0x1cd3('0x121c')][_0x1cd3('0xd0a')]||_0x2f51da[_0x1cd3('0x121c')]['appType'])[_0x1cd3('0x433')]()){case _0x1cd3('0x127e'):_0x2f51da[_0x1cd3('0x121c')]['appdata']=_0x2f51da[_0x1cd3('0x121c')]['name']+'='+_0x2f51da[_0x1cd3('0x121c')][_0x1cd3('0x3db')];break;case'custom':break;default:_0x5b4048[0x0]=_0x2f51da[_0x1cd3('0x121c')][_0x1cd3('0xb65')];_0x5b4048[0x1]=_0x2f51da[_0x1cd3('0x121c')][_0x1cd3('0x121e')];_0x5b4048[0x2]=_0x2f51da['gotoif'][_0x1cd3('0x121f')];_0x2f51da['gotoif'][_0x1cd3('0x127d')]=_0x5b4048[_0x1cd3('0x3de')](',');}}_0x11afe1(_0x2f51da['gotoif']);}function _0x11afe1(_0x1746f1){_0x467ad2['hide'](_0x1746f1);}}}());(function(){'use strict';_0x441bc4[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),'$q','toasty',_0x1cd3('0x1eeb'),_0x1cd3('0xae5'),_0x1cd3('0x370'),'Auth',_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x31'))[_0x1cd3('0x39b')]('EditOpenchannelAccountAppgotopDialogController',_0x441bc4);function _0x441bc4(_0x5a48b7,_0x541219,_0x25d35d,_0x2f1588,_0x3295a1,_0x5ebc86,_0x3f7d54,_0x2a3fb2){var _0x16a9e4=this;_0x16a9e4[_0x1cd3('0x3ca')]=_0x3f7d54[_0x1cd3('0x5d')]();_0x16a9e4['errors']=[];_0x16a9e4[_0x1cd3('0x486')]=_0x1cd3('0x1eec')+(_0x2f1588[_0x1cd3('0x125b')]||_0x2f1588['app'])[_0x1cd3('0x437')]();_0x16a9e4[_0x1cd3('0x121a')]=angular[_0x1cd3('0x429')](_0x2f1588);_0x16a9e4[_0x1cd3('0xd27')]=_0x2a3fb2;_0x16a9e4[_0x1cd3('0xd28')]={};if(_0x16a9e4[_0x1cd3('0x121a')][_0x1cd3('0x127d')]){switch(_0x16a9e4[_0x1cd3('0x121a')][_0x1cd3('0x125b')]?_0x16a9e4[_0x1cd3('0x121a')][_0x1cd3('0x125b')][_0x1cd3('0x433')]():_0x16a9e4[_0x1cd3('0x121a')]['app'][_0x1cd3('0x433')]()){case _0x1cd3('0x8f6'):break;case _0x1cd3('0x1233'):var _0x19c4ce=_0x16a9e4[_0x1cd3('0x121a')][_0x1cd3('0x127d')]['split'](',');_0x16a9e4[_0x1cd3('0x121a')][_0x1cd3('0x65c')]=_0x19c4ce[0x0];_0x16a9e4[_0x1cd3('0x121a')][_0x1cd3('0x3f3')]=_0x19c4ce[0x1];_0x16a9e4[_0x1cd3('0x121a')][_0x1cd3('0x1246')]=_0x19c4ce[_0x1cd3('0x9a2')](0x2,_0x19c4ce[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x1247'):var _0x19c4ce=_0x16a9e4['gotop']['appdata']['split'](',');_0x16a9e4[_0x1cd3('0x121a')]['accesskeyid']=_0x19c4ce[0x0];_0x16a9e4[_0x1cd3('0x121a')][_0x1cd3('0x1249')]=_0x19c4ce[0x1];_0x16a9e4[_0x1cd3('0x121a')]['lexregion']=_0x19c4ce[0x2];_0x16a9e4['gotop'][_0x1cd3('0x124f')]=_0x19c4ce[0x3];_0x16a9e4[_0x1cd3('0x121a')][_0x1cd3('0x1246')]=_0x19c4ce[_0x1cd3('0x9a2')](0x4,_0x19c4ce[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x122b'):var _0x19c4ce=_0x16a9e4[_0x1cd3('0x121a')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x16a9e4[_0x1cd3('0x121a')]['times']=isNaN(_0x19c4ce[0x0])?_0x19c4ce[0x0]:parseInt(_0x19c4ce[0x0],0xa);_0x16a9e4[_0x1cd3('0x121a')]['text']=_0x19c4ce[_0x1cd3('0x9a2')](0x1,_0x19c4ce['length'])[_0x1cd3('0x3de')](',');break;case'message':_0x16a9e4[_0x1cd3('0x121a')]['text']=_0x16a9e4[_0x1cd3('0x121a')][_0x1cd3('0x127d')];break;case _0x1cd3('0x127e'):_0x16a9e4[_0x1cd3('0x121a')][_0x1cd3('0x98')]=_0x16a9e4['gotop'][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x0];_0x16a9e4['gotop'][_0x1cd3('0x3db')]=_0x16a9e4[_0x1cd3('0x121a')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x1];break;case _0x1cd3('0x128c'):_0x16a9e4[_0x1cd3('0x121a')][_0x1cd3('0xedd')]=_0x16a9e4[_0x1cd3('0x121a')][_0x1cd3('0x127d')];break;default:var _0x4e058a=_0x16a9e4[_0x1cd3('0x121a')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x16a9e4[_0x1cd3('0x121a')][_0x1cd3('0xf0c')]=_[_0x1cd3('0x398')](_0x4e058a[0x0])?_0x4e058a[0x0]:isNaN(_0x4e058a[0x0])?_0x4e058a[0x0]:parseInt(_0x4e058a[0x0],0xa);}}else{}if(_0x16a9e4[_0x1cd3('0x121a')][_0x1cd3('0x424')]&&_0x16a9e4[_0x1cd3('0x121a')]['type'][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x16a9e4[_0x1cd3('0x121a')][_0x1cd3('0x125b')][_0x1cd3('0x433')]()==='outbounddial'){_0x16a9e4[_0x1cd3('0x121a')][_0x1cd3('0x6aa')]=_0x16a9e4[_0x1cd3('0x121a')][_0x1cd3('0xf09')]?_0x16a9e4[_0x1cd3('0x121a')]['phone'][_0x1cd3('0x3ef')]('$')[0x0]:undefined;_0x16a9e4[_0x1cd3('0x121a')][_0x1cd3('0x689')]=_0x16a9e4[_0x1cd3('0x121a')][_0x1cd3('0x127f')]?_0x1cd3('0x1280')+_0x16a9e4[_0x1cd3('0x121a')][_0x1cd3('0x127f')]:undefined;}_0x16a9e4[_0x1cd3('0x1eed')]=_0x50b1a6;_0x16a9e4['closeDialog']=_0x3f079e;function _0x50b1a6(){_0x16a9e4[_0x1cd3('0xd34')]=[];var _0x1598d1=[];if(_0x16a9e4[_0x1cd3('0x121a')]['type']&&_0x16a9e4[_0x1cd3('0x121a')][_0x1cd3('0x424')][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x16a9e4['gotop'][_0x1cd3('0x125b')]===_0x1cd3('0x1283')){_0x16a9e4[_0x1cd3('0x121a')][_0x1cd3('0xf09')]=_0x3295a1[_0x1cd3('0x128a')]?(_0x16a9e4['gotop']['prefix']||'')+_0x1cd3('0x1284')+_0x3295a1[_0x1cd3('0x128a')]+'}':(_0x16a9e4[_0x1cd3('0x121a')][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x128d');if(_0x3295a1[_0x1cd3('0x1285')]!==_0x1cd3('0x6ae')){if(_0x16a9e4[_0x1cd3('0x121a')][_0x1cd3('0x422')][_0x1cd3('0x45e')](_0x1cd3('0x1286'))<0x0){_0x16a9e4[_0x1cd3('0x121a')]['options']+=_0x1cd3('0x1286');}}else{_0x16a9e4[_0x1cd3('0x121a')][_0x1cd3('0x422')]=_0x16a9e4['gotop'][_0x1cd3('0x422')]['replace'](_0x1cd3('0x1286'),'');}}if(_0x16a9e4[_0x1cd3('0x121a')][_0x1cd3('0x125b')]&&_0x16a9e4[_0x1cd3('0x121a')]['appType']===_0x1cd3('0x8f6')){}else{switch((_0x16a9e4[_0x1cd3('0x121a')][_0x1cd3('0xd0a')]||_0x16a9e4[_0x1cd3('0x121a')][_0x1cd3('0x125b')])[_0x1cd3('0x433')]()){case _0x1cd3('0x127e'):_0x16a9e4[_0x1cd3('0x121a')][_0x1cd3('0x127d')]=_0x16a9e4[_0x1cd3('0x121a')][_0x1cd3('0x98')]+'='+_0x16a9e4[_0x1cd3('0x121a')][_0x1cd3('0x3db')];break;case _0x1cd3('0x8f6'):break;default:_0x1598d1[0x0]=_0x16a9e4[_0x1cd3('0x121a')][_0x1cd3('0xf0c')];_0x16a9e4['gotop'][_0x1cd3('0x127d')]=_0x1598d1[_0x1cd3('0x3de')](',');}}_0x3f079e(_0x16a9e4[_0x1cd3('0x121a')]);}function _0x3f079e(_0xcfe9d5){_0x5a48b7['hide'](_0xcfe9d5);}}}());(function(){'use strict';_0x34ea48['$inject']=[_0x1cd3('0x53e'),_0x1cd3('0x3c5'),'$mdToast','IndexFactory',_0x1cd3('0x77e'),_0x1cd3('0xef9'),_0x1cd3('0x461'),_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x2d'))[_0x1cd3('0x39b')](_0x1cd3('0x1ef1'),_0x34ea48);function _0x34ea48(_0xcb9d83,_0x453f23,_0x304950,_0x3fc7be,_0x557c1f,_0x3782b5,_0x526164,_0x2ad028,_0x55b4e1,_0x7a9210){var _0x3fba64=this;_0x3fba64['currentUser']=_0x55b4e1[_0x1cd3('0x5d')]();_0x3fba64[_0x1cd3('0xd34')]=[];_0x3fba64[_0x1cd3('0x486')]=_0x1cd3('0x1292');_0x3fba64[_0x1cd3('0x77e')]=angular['copy'](_0x557c1f);_0x3fba64[_0x1cd3('0xef9')]=_0x3782b5;_0x3fba64[_0x1cd3('0x1293')]=![];_0x3fba64['types']=[_0x1cd3('0x1213'),_0x1cd3('0x8f6'),'list'];_0x3fba64[_0x1cd3('0xd27')]=_0x7a9210;_0x3fba64['daysOfWeek']=_0x3fc7be[_0x1cd3('0x1908')]();_0x3fba64[_0x1cd3('0x1909')]=_0x3fc7be[_0x1cd3('0x1296')]();_0x3fba64[_0x1cd3('0x190a')]=_0x3fc7be['getMonthName']();_0x3fba64[_0x1cd3('0x1298')]=_0x3fc7be['getDaysOfMonth']();if(!_0x3fba64['interval']){_0x3fba64[_0x1cd3('0x77e')]={'interval':_0x1cd3('0x1216')};_0x3fba64[_0x1cd3('0x424')]=_0x1cd3('0x1213');_0x3fba64[_0x1cd3('0x486')]=_0x1cd3('0x1c70');_0x3fba64[_0x1cd3('0x1293')]=!![];}else{if(_0x3fba64[_0x1cd3('0x77e')][_0x1cd3('0x77e')]!==_0x1cd3('0x1216')){_0x3fba64[_0x1cd3('0x424')]=_0x1cd3('0x8f6');var _0x40fe0b=_0x3fba64[_0x1cd3('0x77e')][_0x1cd3('0x77e')]['split'](',');var _0x316f8e=_0x40fe0b[0x0];var _0x3a950c=_0x40fe0b[0x1];var _0x3734f8=_0x40fe0b[0x2];var _0x29abe1=_0x40fe0b[0x3];if(_0x316f8e!=='*'){var _0x4ac45f=_0x316f8e[_0x1cd3('0x3ef')]('-')[0x0];var _0x3a17fb=_0x316f8e['split']('-')[0x1];var _0x453a93;_0x453a93=new Date();_0x453a93[_0x1cd3('0x129a')](Number(_0x4ac45f[_0x1cd3('0x3ef')](':')[0x0]));_0x453a93[_0x1cd3('0x1299')](Number(_0x4ac45f[_0x1cd3('0x3ef')](':')[0x1]));_0x3fba64[_0x1cd3('0x12a5')]=_0x453a93;_0x453a93=new Date();_0x453a93[_0x1cd3('0x129a')](Number(_0x3a17fb[_0x1cd3('0x3ef')](':')[0x0]));_0x453a93[_0x1cd3('0x1299')](Number(_0x3a17fb[_0x1cd3('0x3ef')](':')[0x1]));_0x3fba64[_0x1cd3('0x129b')]=_0x453a93;}if(_0x3a950c!=='*'){_0x3fba64[_0x1cd3('0x129c')]=_0x3a950c['split']('-')[0x0];_0x3fba64['dayOfWeekTo']=_0x3a950c[_0x1cd3('0x3ef')]('-')[0x1];}if(_0x3734f8!=='*'){_0x3fba64[_0x1cd3('0x129d')]=_0x3734f8['split']('-')[0x0];_0x3fba64[_0x1cd3('0x129e')]=_0x3734f8[_0x1cd3('0x3ef')]('-')[0x1];}if(_0x29abe1!=='*'){_0x3fba64[_0x1cd3('0x129f')]=_0x29abe1[_0x1cd3('0x3ef')]('-')[0x0];_0x3fba64[_0x1cd3('0x12a0')]=_0x29abe1[_0x1cd3('0x3ef')]('-')[0x1];}}else{_0x3fba64[_0x1cd3('0x424')]=_0x1cd3('0x1213');}}if(_0xcb9d83[_0x1cd3('0x36a')]['id']&&!_0x3fba64[_0x1cd3('0x77e')][_0x1cd3('0x12a1')]){_0x3fba64['interval'][_0x1cd3('0xf4b')]=_0xcb9d83[_0x1cd3('0x36a')]['id'];}if(_0x3fba64[_0x1cd3('0x77e')][_0x1cd3('0xf4b')]&&_0x3fba64['interval'][_0x1cd3('0x12a1')]){_0x3fba64[_0x1cd3('0x424')]=_0x1cd3('0x9d5');}_0x3fba64[_0x1cd3('0x12a2')]=_0x5f4b57;_0x3fba64['saveInterval']=_0x428dc6;_0x3fba64[_0x1cd3('0x39c')]=_0x4f39a8;if(_0x3fba64[_0x1cd3('0x77e')]['application']){_0x55b4e1['hasRole'](_0x1cd3('0x5f'))?_0x2ad028[_0x1cd3('0x77e')][_0x1cd3('0x361')]({'fields':_0x1cd3('0x12a3'),'IntervalId':'null','nolimit':!![]})['$promise'][_0x1cd3('0x77')](function(_0x1beb87){_0x3fba64['intervals']=_0x1beb87[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x19087f){_0x526164[_0x1cd3('0x434')]({'title':_0x19087f[_0x1cd3('0x3a6')]?'API:'+_0x19087f['status']+_0x1cd3('0x436')+_0x19087f['statusText']:_0x1cd3('0x12a4'),'msg':_0x19087f[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x19087f[_0x1cd3('0x439')]):_0x19087f[_0x1cd3('0x43b')]()});}):_0x2ad028[_0x1cd3('0x77e')]['get']({'fields':'id,name,interval,IntervalId','IntervalId':_0x1cd3('0x220'),'nolimit':!![]})['$promise']['then'](function(_0x213263){_0x3fba64[_0x1cd3('0xef9')]=_0x213263[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x2ad028['userProfileSection'][_0x1cd3('0x361')]({'userProfileId':_0x3fba64[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x3ec})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x4d3313){var _0x2f0de4=_0x4d3313&&_0x4d3313[_0x1cd3('0xf6')]?_0x4d3313[_0x1cd3('0xf6')][0x0]:null;if(!_0x2f0de4){_0x3fba64[_0x1cd3('0xef9')]=[];}else{if(!_0x2f0de4['autoAssociation']){return _0x2ad028['userProfileResource'][_0x1cd3('0x361')]({'sectionId':_0x2f0de4['id']})[_0x1cd3('0x81')]['then'](function(_0x4454f4){var _0x3fce11=_0x4454f4&&_0x4454f4[_0x1cd3('0xf6')]?_0x4454f4[_0x1cd3('0xf6')]:[];var _0x50f6b9=[];var _0x16babb=null;if(_0x3fba64['interval']){_0x16babb=_['find'](_0x3fba64[_0x1cd3('0xef9')],{'name':_0x3fba64[_0x1cd3('0x77e')][_0x1cd3('0xf4b')]});}if(_0x16babb&&!_[_0x1cd3('0x38d')](_0x3fce11,[_0x1cd3('0xe8e'),_0x16babb['id']])){_0x3fba64[_0x1cd3('0xef9')]['forEach'](function(_0x2702ac){if(_0x2702ac['id']===_0x16babb['id']){_0x2702ac['canSelect']=![];_0x50f6b9['push'](_0x2702ac);}});}_0x3fba64[_0x1cd3('0xef9')]=_0x50f6b9;});}}})['catch'](function(_0x58510d){_0x526164[_0x1cd3('0x434')]({'title':_0x58510d[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x58510d[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x58510d[_0x1cd3('0xd35')]:_0x1cd3('0x12a4'),'msg':_0x58510d[_0x1cd3('0x439')]?JSON['stringify'](_0x58510d[_0x1cd3('0x439')]):_0x58510d['toString']()});});}function _0x36868e(){switch(_0x3fba64[_0x1cd3('0x424')]){case _0x1cd3('0x1213'):case _0x1cd3('0x9d5'):return _0x1cd3('0x1216');case _0x1cd3('0x8f6'):var _0xdf0a74=[];if(_0x3fba64['timeRangeFrom']!=='*'&&_0x3fba64[_0x1cd3('0x12a5')]&&_0x3fba64[_0x1cd3('0x129b')]){var _0x1e79a9=(_0x3fba64[_0x1cd3('0x12a5')][_0x1cd3('0x12a6')]()<0xa?'0':'')+_0x3fba64[_0x1cd3('0x12a5')][_0x1cd3('0x12a6')]()+':'+((_0x3fba64['timeRangeFrom'][_0x1cd3('0x12a7')]()<0xa?'0':'')+_0x3fba64[_0x1cd3('0x12a5')][_0x1cd3('0x12a7')]());var _0x3500e1=(_0x3fba64[_0x1cd3('0x129b')][_0x1cd3('0x12a6')]()<0xa?'0':'')+_0x3fba64[_0x1cd3('0x129b')][_0x1cd3('0x12a6')]()+':'+((_0x3fba64[_0x1cd3('0x129b')]['getMinutes']()<0xa?'0':'')+_0x3fba64[_0x1cd3('0x129b')][_0x1cd3('0x12a7')]());_0xdf0a74[_0x1cd3('0x7b')](_0x1e79a9+'-'+_0x3500e1);}else{_0xdf0a74[_0x1cd3('0x7b')]('*');}if(_0x3fba64[_0x1cd3('0x129c')]){if(_0x3fba64[_0x1cd3('0x12a8')]){_0xdf0a74['push'](_0x3fba64[_0x1cd3('0x129c')]+'-'+_0x3fba64[_0x1cd3('0x12a8')]);}else{_0xdf0a74['push'](_0x3fba64[_0x1cd3('0x129c')]);}}else{_0xdf0a74[_0x1cd3('0x7b')]('*');}if(_0x3fba64[_0x1cd3('0x129d')]){if(_0x3fba64['monthDayTo']){_0xdf0a74[_0x1cd3('0x7b')](_0x3fba64['monthDayFrom']+'-'+_0x3fba64[_0x1cd3('0x129e')]);}else{_0xdf0a74[_0x1cd3('0x7b')](_0x3fba64[_0x1cd3('0x129d')]);}}else{_0xdf0a74[_0x1cd3('0x7b')]('*');}if(_0x3fba64[_0x1cd3('0x129f')]){if(_0x3fba64['monthTo']){_0xdf0a74[_0x1cd3('0x7b')](_0x3fba64[_0x1cd3('0x129f')]+'-'+_0x3fba64[_0x1cd3('0x12a0')]);}else{_0xdf0a74[_0x1cd3('0x7b')](_0x3fba64[_0x1cd3('0x129f')]);}}else{_0xdf0a74[_0x1cd3('0x7b')]('*');}return _0xdf0a74[_0x1cd3('0x3de')]();}}function _0x5f4b57(){_0x3fba64[_0x1cd3('0xd34')]=[];_0x3fba64[_0x1cd3('0x77e')]['interval']=_0x36868e();_0x2ad028['interval'][_0x1cd3('0xd6d')](_0x3fba64['interval'])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x19724e){_0x3fba64[_0x1cd3('0xef9')][_0x1cd3('0x7b')](_0x19724e);_0x526164[_0x1cd3('0x473')]({'title':'Interval\x20properly\x20created','msg':_0x3fba64[_0x1cd3('0x77e')][_0x1cd3('0x98')]?_0x3fba64['interval']['name']+'\x20has\x20been\x20created!':''});_0x4f39a8();})['catch'](function(_0x21ce8f){console[_0x1cd3('0x434')](_0x21ce8f);_0x3fba64[_0x1cd3('0xd34')]=_0x21ce8f[_0x1cd3('0x439')]['errors']||[{'message':_0x21ce8f['toString'](),'type':_0x1cd3('0x12aa')}];});}function _0x428dc6(){_0x3fba64[_0x1cd3('0xd34')]=[];_0x3fba64['interval']['interval']=_0x36868e();if(_0x3fba64[_0x1cd3('0x77e')][_0x1cd3('0x12a1')]){_0x3fba64['type']!==_0x1cd3('0x9d5')&&(_0x3fba64[_0x1cd3('0x77e')][_0x1cd3('0xf4b')]=null);_0x4f39a8(_0x3fba64[_0x1cd3('0x77e')]);}else{_0x2ad028['interval'][_0x1cd3('0x378')]({'id':_0x3fba64['interval']['id']},_0x3fba64[_0x1cd3('0x77e')])['$promise'][_0x1cd3('0x77')](function(_0x93736c){var _0x493172=_[_0x1cd3('0x442')](_0x3fba64[_0x1cd3('0xef9')],{'id':_0x93736c['id']});if(_0x493172){_['merge'](_0x493172,_0x93736c);}_0x526164[_0x1cd3('0x473')]({'title':_0x1cd3('0x12ab'),'msg':_0x1cd3('0x12ac')});_0x4f39a8();})['catch'](function(_0x16150b){console[_0x1cd3('0x434')](_0x16150b);_0x3fba64[_0x1cd3('0xd34')]=_0x16150b[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x16150b[_0x1cd3('0x43b')](),'type':_0x1cd3('0x12ad')}];});}}function _0x4f39a8(_0x627868){_0x453f23[_0x1cd3('0x39d')](_0x627868);}}}());(function(){'use strict';_0x1627eb[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),'$q',_0x1cd3('0x461'),_0x1cd3('0x1eeb'),_0x1cd3('0xae5'),_0x1cd3('0x370'),'Auth',_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x31'))[_0x1cd3('0x39b')](_0x1cd3('0x1ef2'),_0x1627eb);function _0x1627eb(_0x2840db,_0x12fde3,_0xec501f,_0x21b259,_0x4de05c,_0x1d391d,_0x5526cc,_0xe20618){var _0x19221a=this;_0x19221a['currentUser']=_0x5526cc[_0x1cd3('0x5d')]();_0x19221a[_0x1cd3('0xd34')]=[];_0x19221a['title']=_0x1cd3('0x1eec')+(_0x21b259[_0x1cd3('0x125b')]||_0x21b259[_0x1cd3('0xd0a')])[_0x1cd3('0x437')]();_0x19221a[_0x1cd3('0x3a9')]=angular[_0x1cd3('0x429')](_0x21b259);_0x19221a[_0x1cd3('0xd27')]=_0xe20618;_0x19221a[_0x1cd3('0xd28')]={};if(_0x19221a[_0x1cd3('0x3a9')][_0x1cd3('0x127d')]){switch(_0x19221a[_0x1cd3('0x3a9')][_0x1cd3('0x125b')]?_0x19221a['noop'][_0x1cd3('0x125b')]['toLowerCase']():_0x19221a['noop'][_0x1cd3('0xd0a')][_0x1cd3('0x433')]()){case'custom':break;case'dialogflow':var _0x5019f1=_0x19221a[_0x1cd3('0x3a9')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x19221a['noop'][_0x1cd3('0x65c')]=_0x5019f1[0x0];_0x19221a[_0x1cd3('0x3a9')]['language']=_0x5019f1[0x1];_0x19221a[_0x1cd3('0x3a9')][_0x1cd3('0x1246')]=_0x5019f1[_0x1cd3('0x9a2')](0x2,_0x5019f1[_0x1cd3('0x7a')])['join'](',');break;case _0x1cd3('0x1247'):var _0x5019f1=_0x19221a[_0x1cd3('0x3a9')][_0x1cd3('0x127d')]['split'](',');_0x19221a['noop'][_0x1cd3('0x1248')]=_0x5019f1[0x0];_0x19221a[_0x1cd3('0x3a9')][_0x1cd3('0x1249')]=_0x5019f1[0x1];_0x19221a[_0x1cd3('0x3a9')]['lexregion']=_0x5019f1[0x2];_0x19221a['noop'][_0x1cd3('0x124f')]=_0x5019f1[0x3];_0x19221a['noop'][_0x1cd3('0x1246')]=_0x5019f1[_0x1cd3('0x9a2')](0x4,_0x5019f1[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case'autoreply':var _0x5019f1=_0x19221a[_0x1cd3('0x3a9')][_0x1cd3('0x127d')]['split'](',');_0x19221a['noop'][_0x1cd3('0x122c')]=isNaN(_0x5019f1[0x0])?_0x5019f1[0x0]:parseInt(_0x5019f1[0x0],0xa);_0x19221a[_0x1cd3('0x3a9')][_0x1cd3('0x401')]=_0x5019f1[_0x1cd3('0x9a2')](0x1,_0x5019f1[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x43a'):_0x19221a[_0x1cd3('0x3a9')][_0x1cd3('0x401')]=_0x19221a[_0x1cd3('0x3a9')]['appdata'];break;case _0x1cd3('0x127e'):_0x19221a[_0x1cd3('0x3a9')]['name']=_0x19221a['noop'][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x0];_0x19221a[_0x1cd3('0x3a9')][_0x1cd3('0x3db')]=_0x19221a[_0x1cd3('0x3a9')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x1];break;case _0x1cd3('0x128c'):_0x19221a[_0x1cd3('0x3a9')][_0x1cd3('0xedd')]=_0x19221a[_0x1cd3('0x3a9')][_0x1cd3('0x127d')];break;default:var _0x42640a=_0x19221a[_0x1cd3('0x3a9')][_0x1cd3('0x127d')]['split'](',');_0x19221a[_0x1cd3('0x3a9')][_0x1cd3('0x3db')]=_['isEmpty'](_0x42640a[0x0])?_0x42640a[0x0]:isNaN(_0x42640a[0x0])?_0x42640a[0x0]:parseInt(_0x42640a[0x0],0xa);}}else{}if(_0x19221a[_0x1cd3('0x3a9')][_0x1cd3('0x424')]&&_0x19221a['noop']['type'][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x19221a[_0x1cd3('0x3a9')][_0x1cd3('0x125b')][_0x1cd3('0x433')]()===_0x1cd3('0x1289')){_0x19221a[_0x1cd3('0x3a9')][_0x1cd3('0x6aa')]=_0x19221a[_0x1cd3('0x3a9')]['phone']?_0x19221a[_0x1cd3('0x3a9')]['phone'][_0x1cd3('0x3ef')]('$')[0x0]:undefined;_0x19221a[_0x1cd3('0x3a9')][_0x1cd3('0x689')]=_0x19221a['noop'][_0x1cd3('0x127f')]?_0x1cd3('0x1280')+_0x19221a['noop'][_0x1cd3('0x127f')]:undefined;}_0x19221a['saveOpenchannelAccountApp']=_0xd7bc2d;_0x19221a[_0x1cd3('0x39c')]=_0x5932af;function _0xd7bc2d(){_0x19221a[_0x1cd3('0xd34')]=[];var _0x24602c=[];if(_0x19221a['noop'][_0x1cd3('0x424')]&&_0x19221a[_0x1cd3('0x3a9')][_0x1cd3('0x424')][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x19221a[_0x1cd3('0x3a9')][_0x1cd3('0x125b')]===_0x1cd3('0x1283')){_0x19221a[_0x1cd3('0x3a9')][_0x1cd3('0xf09')]=_0x4de05c[_0x1cd3('0x128a')]?(_0x19221a['noop'][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x1284')+_0x4de05c[_0x1cd3('0x128a')]+'}':(_0x19221a[_0x1cd3('0x3a9')][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x128d');if(_0x4de05c[_0x1cd3('0x1285')]!==_0x1cd3('0x6ae')){if(_0x19221a[_0x1cd3('0x3a9')][_0x1cd3('0x422')]['indexOf'](_0x1cd3('0x1286'))<0x0){_0x19221a[_0x1cd3('0x3a9')][_0x1cd3('0x422')]+=_0x1cd3('0x1286');}}else{_0x19221a[_0x1cd3('0x3a9')][_0x1cd3('0x422')]=_0x19221a[_0x1cd3('0x3a9')][_0x1cd3('0x422')][_0x1cd3('0x3f1')](_0x1cd3('0x1286'),'');}}if(_0x19221a[_0x1cd3('0x3a9')][_0x1cd3('0x125b')]&&_0x19221a['noop'][_0x1cd3('0x125b')]===_0x1cd3('0x8f6')){}else{switch((_0x19221a[_0x1cd3('0x3a9')][_0x1cd3('0xd0a')]||_0x19221a[_0x1cd3('0x3a9')][_0x1cd3('0x125b')])[_0x1cd3('0x433')]()){case'set':_0x19221a[_0x1cd3('0x3a9')][_0x1cd3('0x127d')]=_0x19221a[_0x1cd3('0x3a9')][_0x1cd3('0x98')]+'='+_0x19221a[_0x1cd3('0x3a9')]['value'];break;case _0x1cd3('0x8f6'):break;default:_0x24602c[0x0]=_0x19221a[_0x1cd3('0x3a9')][_0x1cd3('0x3db')];_0x19221a[_0x1cd3('0x3a9')][_0x1cd3('0x127d')]=_0x24602c['join'](',');}}_0x5932af(_0x19221a[_0x1cd3('0x3a9')]);}function _0x5932af(_0xd07f1e){_0x2840db[_0x1cd3('0x39d')](_0xd07f1e);}}}());(function(){'use strict';_0x5e71b0[_0x1cd3('0xc')]=['$mdDialog','$q',_0x1cd3('0x461'),_0x1cd3('0x1eeb'),_0x1cd3('0xae5'),_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x31'))[_0x1cd3('0x39b')](_0x1cd3('0x1ef3'),_0x5e71b0);function _0x5e71b0(_0x31f085,_0x2f70e4,_0x4025e0,_0xfddacb,_0x3c9a13,_0x542e67,_0x1cb7ff,_0x4fbb6a){var _0x5455bb=this;_0x5455bb[_0x1cd3('0x3ca')]=_0x1cb7ff['getCurrentUser']();_0x5455bb[_0x1cd3('0xd34')]=[];_0x5455bb[_0x1cd3('0x486')]='OPENCHANNEL.EDIT_'+(_0xfddacb[_0x1cd3('0x125b')]||_0xfddacb[_0x1cd3('0xd0a')])[_0x1cd3('0x437')]();_0x5455bb[_0x1cd3('0x1220')]=angular['copy'](_0xfddacb);_0x5455bb[_0x1cd3('0xd27')]=_0x4fbb6a;_0x5455bb['hasModulePermissions']={};if(_0x5455bb[_0x1cd3('0x1220')][_0x1cd3('0x127d')]){switch(_0x5455bb[_0x1cd3('0x1220')][_0x1cd3('0x125b')]?_0x5455bb[_0x1cd3('0x1220')][_0x1cd3('0x125b')][_0x1cd3('0x433')]():_0x5455bb[_0x1cd3('0x1220')][_0x1cd3('0xd0a')][_0x1cd3('0x433')]()){case _0x1cd3('0x8f6'):break;case _0x1cd3('0x1233'):var _0x53a808=_0x5455bb[_0x1cd3('0x1220')][_0x1cd3('0x127d')]['split'](',');_0x5455bb[_0x1cd3('0x1220')]['key']=_0x53a808[0x0];_0x5455bb[_0x1cd3('0x1220')][_0x1cd3('0x3f3')]=_0x53a808[0x1];_0x5455bb['queue']['welcomemessage']=_0x53a808[_0x1cd3('0x9a2')](0x2,_0x53a808[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x1247'):var _0x53a808=_0x5455bb[_0x1cd3('0x1220')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x5455bb[_0x1cd3('0x1220')][_0x1cd3('0x1248')]=_0x53a808[0x0];_0x5455bb[_0x1cd3('0x1220')][_0x1cd3('0x1249')]=_0x53a808[0x1];_0x5455bb['queue']['lexregion']=_0x53a808[0x2];_0x5455bb[_0x1cd3('0x1220')][_0x1cd3('0x124f')]=_0x53a808[0x3];_0x5455bb[_0x1cd3('0x1220')][_0x1cd3('0x1246')]=_0x53a808[_0x1cd3('0x9a2')](0x4,_0x53a808[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x122b'):var _0x53a808=_0x5455bb[_0x1cd3('0x1220')]['appdata']['split'](',');_0x5455bb['queue'][_0x1cd3('0x122c')]=isNaN(_0x53a808[0x0])?_0x53a808[0x0]:parseInt(_0x53a808[0x0],0xa);_0x5455bb['queue'][_0x1cd3('0x401')]=_0x53a808[_0x1cd3('0x9a2')](0x1,_0x53a808['length'])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x43a'):_0x5455bb['queue']['text']=_0x5455bb['queue']['appdata'];break;case _0x1cd3('0x127e'):_0x5455bb['queue'][_0x1cd3('0x98')]=_0x5455bb[_0x1cd3('0x1220')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x0];_0x5455bb[_0x1cd3('0x1220')][_0x1cd3('0x3db')]=_0x5455bb[_0x1cd3('0x1220')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x1];break;case'agi':_0x5455bb['queue'][_0x1cd3('0xedd')]=_0x5455bb[_0x1cd3('0x1220')][_0x1cd3('0x127d')];break;default:var _0x73574f=_0x5455bb[_0x1cd3('0x1220')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x5455bb['queue'][_0x1cd3('0x1220')]=_[_0x1cd3('0x398')](_0x73574f[0x0])?_0x73574f[0x0]:isNaN(_0x73574f[0x0])?_0x73574f[0x0]:parseInt(_0x73574f[0x0],0xa);_0x5455bb[_0x1cd3('0x1220')][_0x1cd3('0x8fc')]=_[_0x1cd3('0x398')](_0x73574f[0x1])?_0x73574f[0x1]:isNaN(_0x73574f[0x1])?_0x73574f[0x1]:parseInt(_0x73574f[0x1],0xa);}}else{_0x5455bb[_0x1cd3('0x1220')][_0x1cd3('0x1220')]=0x12c;_0x5455bb['queue'][_0x1cd3('0x8fc')]=0x12c;}if(_0x5455bb[_0x1cd3('0x1220')]['type']&&_0x5455bb[_0x1cd3('0x1220')][_0x1cd3('0x424')][_0x1cd3('0x433')]()==='outbound'&&_0x5455bb[_0x1cd3('0x1220')][_0x1cd3('0x125b')][_0x1cd3('0x433')]()==='outbounddial'){_0x5455bb[_0x1cd3('0x1220')]['prefix']=_0x5455bb[_0x1cd3('0x1220')][_0x1cd3('0xf09')]?_0x5455bb[_0x1cd3('0x1220')][_0x1cd3('0xf09')]['split']('$')[0x0]:undefined;_0x5455bb['queue'][_0x1cd3('0x689')]=_0x5455bb[_0x1cd3('0x1220')]['callerID']?_0x1cd3('0x1280')+_0x5455bb[_0x1cd3('0x1220')][_0x1cd3('0x127f')]:undefined;}_0x5455bb[_0x1cd3('0x1eed')]=_0x102e2f;_0x5455bb[_0x1cd3('0x39c')]=_0x146384;_0x1cb7ff[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x542e67['openchannelQueue'][_0x1cd3('0x361')]({'fields':'id,name,type','sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x31a892){_0x5455bb[_0x1cd3('0x1155')]=_0x31a892['rows']||[];})[_0x1cd3('0xfd')](function(_0x107ff9){_0x4025e0[_0x1cd3('0x434')]({'title':_0x107ff9[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x107ff9['status']+_0x1cd3('0x436')+_0x107ff9[_0x1cd3('0xd35')]:_0x1cd3('0x12af'),'msg':_0x107ff9[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x107ff9['data']):_0x107ff9[_0x1cd3('0x43b')]()});}):_0x542e67['openchannelQueue'][_0x1cd3('0x361')]({'fields':_0x1cd3('0x1222'),'sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x2f3efa){_0x5455bb[_0x1cd3('0x1155')]=_0x2f3efa['rows']||[];})[_0x1cd3('0x77')](function(){return _0x542e67[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x5455bb[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x321})['$promise'];})[_0x1cd3('0x77')](function(_0x17c59d){var _0x5381e5=_0x17c59d&&_0x17c59d['rows']?_0x17c59d[_0x1cd3('0xf6')][0x0]:null;if(!_0x5381e5){var _0x543426=[];var _0xdb3286=null;if(_0x5455bb[_0x1cd3('0x1220')]){_0xdb3286=_[_0x1cd3('0x442')](_0x5455bb['queues'],{'name':_0x5455bb[_0x1cd3('0x1220')][_0x1cd3('0x1220')]});}for(var _0x516e44=0x0;_0x516e44<_0x5455bb[_0x1cd3('0x1155')]['length'];_0x516e44++){if(_0xdb3286&&_0x5455bb[_0x1cd3('0x1155')][_0x516e44]['id']===_0xdb3286['id']){_0x5455bb['queues'][_0x516e44][_0x1cd3('0xf4a')]=![];_0x543426['push'](_0x5455bb[_0x1cd3('0x1155')][_0x516e44]);}}_0x5455bb['queues']=_0x543426;}else{if(!_0x5381e5['autoAssociation']){return _0x542e67['userProfileResource'][_0x1cd3('0x361')]({'sectionId':_0x5381e5['id']})['$promise'][_0x1cd3('0x77')](function(_0x1ffcb9){var _0x1fd64c=_[_0x1cd3('0x3d9')](_0x1ffcb9['rows'],function(_0xf052e8){return _[_0x1cd3('0x442')](_0x5455bb[_0x1cd3('0x1155')],{'id':_0xf052e8[_0x1cd3('0xe8e')]});});var _0x913a26=null;if(_0x5455bb[_0x1cd3('0x1220')]){_0x913a26=_[_0x1cd3('0x442')](_0x5455bb[_0x1cd3('0x1155')],{'name':_0x5455bb['queue'][_0x1cd3('0x1220')]});}if(_0x913a26&&!_['some'](_0x1fd64c,['id',_0x913a26['id']])){var _0x245cff=_['find'](_0x5455bb[_0x1cd3('0x1155')],{'id':_0x913a26['id']});_0x245cff[_0x1cd3('0xf4a')]=![];_0x1fd64c[_0x1cd3('0x7b')](_0x245cff);}_0x5455bb[_0x1cd3('0x1155')]=_0x1fd64c;});}}})[_0x1cd3('0xfd')](function(_0x2ce2c1){_0x4025e0[_0x1cd3('0x434')]({'title':_0x2ce2c1[_0x1cd3('0x3a6')]?'API:'+_0x2ce2c1['status']+'\x20-\x20'+_0x2ce2c1[_0x1cd3('0xd35')]:'SYSTEM:GETqueues','msg':_0x2ce2c1[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x2ce2c1[_0x1cd3('0x439')]):_0x2ce2c1[_0x1cd3('0x43b')]()});});function _0x102e2f(){_0x5455bb['errors']=[];var _0x138814=[];if(_0x5455bb['queue'][_0x1cd3('0x424')]&&_0x5455bb[_0x1cd3('0x1220')]['type'][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x5455bb[_0x1cd3('0x1220')][_0x1cd3('0x125b')]==='outboundDial'){_0x5455bb['queue'][_0x1cd3('0xf09')]=_0x3c9a13[_0x1cd3('0x128a')]?(_0x5455bb[_0x1cd3('0x1220')][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x1284')+_0x3c9a13[_0x1cd3('0x128a')]+'}':(_0x5455bb[_0x1cd3('0x1220')]['prefix']||'')+_0x1cd3('0x128d');if(_0x3c9a13[_0x1cd3('0x1285')]!==_0x1cd3('0x6ae')){if(_0x5455bb[_0x1cd3('0x1220')]['options'][_0x1cd3('0x45e')](_0x1cd3('0x1286'))<0x0){_0x5455bb[_0x1cd3('0x1220')][_0x1cd3('0x422')]+=_0x1cd3('0x1286');}}else{_0x5455bb[_0x1cd3('0x1220')][_0x1cd3('0x422')]=_0x5455bb['queue']['options'][_0x1cd3('0x3f1')](_0x1cd3('0x1286'),'');}}var _0x1c8554=_[_0x1cd3('0x442')](_0x5455bb[_0x1cd3('0x1155')],{'name':_0x5455bb[_0x1cd3('0x1220')][_0x1cd3('0x1220')]});if(_0x1c8554){_0x5455bb[_0x1cd3('0x1220')][_['capitalize'](_0x1cd3('0x1ef4'))+'QueueId']=_0x1c8554['id'];}if(_0x5455bb[_0x1cd3('0x1220')][_0x1cd3('0x125b')]&&_0x5455bb[_0x1cd3('0x1220')][_0x1cd3('0x125b')]===_0x1cd3('0x8f6')){}else{switch((_0x5455bb[_0x1cd3('0x1220')]['app']||_0x5455bb[_0x1cd3('0x1220')]['appType'])[_0x1cd3('0x433')]()){case _0x1cd3('0x127e'):_0x5455bb['queue']['appdata']=_0x5455bb['queue'][_0x1cd3('0x98')]+'='+_0x5455bb[_0x1cd3('0x1220')][_0x1cd3('0x3db')];break;case _0x1cd3('0x8f6'):break;default:_0x138814[0x0]=_0x5455bb[_0x1cd3('0x1220')]['queue'];_0x138814[0x1]=_0x5455bb[_0x1cd3('0x1220')][_0x1cd3('0x8fc')];_0x5455bb[_0x1cd3('0x1220')]['appdata']=_0x138814[_0x1cd3('0x3de')](',');}}_0x146384(_0x5455bb[_0x1cd3('0x1220')]);}function _0x146384(_0x46ace0){_0x31f085[_0x1cd3('0x39d')](_0x46ace0);}}}());(function(){'use strict';_0x49c80e[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),'$q',_0x1cd3('0x461'),'openchannelAccountApp',_0x1cd3('0xae5'),_0x1cd3('0x370'),_0x1cd3('0x56'),'crudPermissions'];angular[_0x1cd3('0x0')](_0x1cd3('0x31'))['controller'](_0x1cd3('0x1ef5'),_0x49c80e);function _0x49c80e(_0x50a3ef,_0x4d9bce,_0x31a585,_0x1fba2c,_0x450629,_0x2872ca,_0xc002fd,_0x3e6619){var _0x52eca6=this;_0x52eca6[_0x1cd3('0x3ca')]=_0xc002fd['getCurrentUser']();_0x52eca6['errors']=[];_0x52eca6[_0x1cd3('0x486')]=_0x1cd3('0x1eec')+(_0x1fba2c['appType']||_0x1fba2c[_0x1cd3('0xd0a')])['toUpperCase']();_0x52eca6[_0x1cd3('0xa13')]=angular[_0x1cd3('0x429')](_0x1fba2c);_0x52eca6[_0x1cd3('0xd27')]=_0x3e6619;_0x52eca6['hasModulePermissions']={};if(_0x52eca6[_0x1cd3('0xa13')]['appdata']){switch(_0x52eca6['system'][_0x1cd3('0x125b')]?_0x52eca6['system']['appType']['toLowerCase']():_0x52eca6[_0x1cd3('0xa13')][_0x1cd3('0xd0a')]['toLowerCase']()){case _0x1cd3('0x8f6'):break;case _0x1cd3('0x1233'):var _0x319a47=_0x52eca6[_0x1cd3('0xa13')]['appdata']['split'](',');_0x52eca6[_0x1cd3('0xa13')][_0x1cd3('0x65c')]=_0x319a47[0x0];_0x52eca6[_0x1cd3('0xa13')]['language']=_0x319a47[0x1];_0x52eca6[_0x1cd3('0xa13')][_0x1cd3('0x1246')]=_0x319a47[_0x1cd3('0x9a2')](0x2,_0x319a47[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x1247'):var _0x319a47=_0x52eca6[_0x1cd3('0xa13')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x52eca6[_0x1cd3('0xa13')][_0x1cd3('0x1248')]=_0x319a47[0x0];_0x52eca6[_0x1cd3('0xa13')][_0x1cd3('0x1249')]=_0x319a47[0x1];_0x52eca6[_0x1cd3('0xa13')]['lexregion']=_0x319a47[0x2];_0x52eca6[_0x1cd3('0xa13')][_0x1cd3('0x124f')]=_0x319a47[0x3];_0x52eca6[_0x1cd3('0xa13')][_0x1cd3('0x1246')]=_0x319a47[_0x1cd3('0x9a2')](0x4,_0x319a47[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x122b'):var _0x319a47=_0x52eca6[_0x1cd3('0xa13')]['appdata']['split'](',');_0x52eca6[_0x1cd3('0xa13')][_0x1cd3('0x122c')]=isNaN(_0x319a47[0x0])?_0x319a47[0x0]:parseInt(_0x319a47[0x0],0xa);_0x52eca6[_0x1cd3('0xa13')][_0x1cd3('0x401')]=_0x319a47[_0x1cd3('0x9a2')](0x1,_0x319a47['length'])['join'](',');break;case _0x1cd3('0x43a'):_0x52eca6[_0x1cd3('0xa13')][_0x1cd3('0x401')]=_0x52eca6[_0x1cd3('0xa13')][_0x1cd3('0x127d')];break;case'set':_0x52eca6[_0x1cd3('0xa13')][_0x1cd3('0x98')]=_0x52eca6[_0x1cd3('0xa13')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x0];_0x52eca6[_0x1cd3('0xa13')][_0x1cd3('0x3db')]=_0x52eca6[_0x1cd3('0xa13')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x1];break;case _0x1cd3('0x128c'):_0x52eca6[_0x1cd3('0xa13')][_0x1cd3('0xedd')]=_0x52eca6['system'][_0x1cd3('0x127d')];break;default:var _0x2b435b=_0x52eca6[_0x1cd3('0xa13')]['appdata']['split'](',');_0x52eca6[_0x1cd3('0xa13')][_0x1cd3('0xf0d')]=_[_0x1cd3('0x398')](_0x2b435b[0x0])?_0x2b435b[0x0]:isNaN(_0x2b435b[0x0])?_0x2b435b[0x0]:parseInt(_0x2b435b[0x0],0xa);_0x52eca6[_0x1cd3('0xa13')][_0x1cd3('0xb84')]=_[_0x1cd3('0x398')](_0x2b435b[0x1])?_0x2b435b[0x1]:isNaN(_0x2b435b[0x1])?_0x2b435b[0x1]:parseInt(_0x2b435b[0x1],0xa);}}else{_0x52eca6[_0x1cd3('0xa13')]['variable']='';}if(_0x52eca6['system']['type']&&_0x52eca6['system'][_0x1cd3('0x424')][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x52eca6[_0x1cd3('0xa13')][_0x1cd3('0x125b')][_0x1cd3('0x433')]()===_0x1cd3('0x1289')){_0x52eca6[_0x1cd3('0xa13')][_0x1cd3('0x6aa')]=_0x52eca6['system'][_0x1cd3('0xf09')]?_0x52eca6[_0x1cd3('0xa13')][_0x1cd3('0xf09')][_0x1cd3('0x3ef')]('$')[0x0]:undefined;_0x52eca6[_0x1cd3('0xa13')][_0x1cd3('0x689')]=_0x52eca6[_0x1cd3('0xa13')]['callerID']?'CALLERID(all)='+_0x52eca6[_0x1cd3('0xa13')][_0x1cd3('0x127f')]:undefined;}_0x52eca6[_0x1cd3('0x1eed')]=_0x564590;_0x52eca6[_0x1cd3('0x39c')]=_0x1295e0;_0xc002fd['hasRole'](_0x1cd3('0x5f'))?_0x2872ca[_0x1cd3('0xb84')]['get']({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x1f4b9c){_0x52eca6[_0x1cd3('0xef7')]=_0x1f4b9c[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x47e2c1){_0x31a585[_0x1cd3('0x434')]({'title':_0x47e2c1[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x47e2c1[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x47e2c1[_0x1cd3('0xd35')]:_0x1cd3('0x12b3'),'msg':_0x47e2c1[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x47e2c1[_0x1cd3('0x439')]):_0x47e2c1[_0x1cd3('0x43b')]()});}):_0x2872ca[_0x1cd3('0xb84')]['get']({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})['$promise'][_0x1cd3('0x77')](function(_0x13d222){_0x52eca6[_0x1cd3('0xef7')]=_0x13d222[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x2872ca['userProfileSection'][_0x1cd3('0x361')]({'userProfileId':_0x52eca6[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x3f4})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0xb5968){var _0x237328=_0xb5968&&_0xb5968[_0x1cd3('0xf6')]?_0xb5968[_0x1cd3('0xf6')][0x0]:null;if(!_0x237328){var _0x191783=[];var _0x311ce2=null;if(_0x52eca6[_0x1cd3('0xa13')]){_0x311ce2=_[_0x1cd3('0x442')](_0x52eca6['variables'],{'name':_0x52eca6[_0x1cd3('0xa13')][_0x1cd3('0xb84')]});}for(var _0xa4dd69=0x0;_0xa4dd69<_0x52eca6['variables']['length'];_0xa4dd69++){if(_0x311ce2&&_0x52eca6[_0x1cd3('0xef7')][_0xa4dd69]['id']===_0x311ce2['id']){_0x52eca6[_0x1cd3('0xef7')][_0xa4dd69]['canSelect']=![];_0x191783[_0x1cd3('0x7b')](_0x52eca6[_0x1cd3('0xef7')][_0xa4dd69]);}}_0x52eca6['variables']=_0x191783;}else{if(!_0x237328[_0x1cd3('0x391')]){return _0x2872ca[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x237328['id']})['$promise'][_0x1cd3('0x77')](function(_0x2540df){var _0x15cb09=_[_0x1cd3('0x3d9')](_0x2540df['rows'],function(_0x3ec6c9){return _['find'](_0x52eca6[_0x1cd3('0xef7')],{'id':_0x3ec6c9[_0x1cd3('0xe8e')]});});var _0x186772=null;if(_0x52eca6[_0x1cd3('0xa13')]){_0x186772=_[_0x1cd3('0x442')](_0x52eca6[_0x1cd3('0xef7')],{'name':_0x52eca6[_0x1cd3('0xa13')][_0x1cd3('0xb84')]});}if(_0x186772&&!_['some'](_0x15cb09,['id',_0x186772['id']])){var _0x290c2e=_['find'](_0x52eca6[_0x1cd3('0xef7')],{'id':_0x186772['id']});_0x290c2e['canSelect']=![];_0x15cb09[_0x1cd3('0x7b')](_0x290c2e);}_0x52eca6[_0x1cd3('0xef7')]=_0x15cb09;});}}})[_0x1cd3('0xfd')](function(_0x1c7a8b){_0x31a585[_0x1cd3('0x434')]({'title':_0x1c7a8b['status']?_0x1cd3('0x435')+_0x1c7a8b[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x1c7a8b[_0x1cd3('0xd35')]:_0x1cd3('0x1c74'),'msg':_0x1c7a8b[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x1c7a8b['data']):_0x1c7a8b['toString']()});});function _0x564590(){_0x52eca6[_0x1cd3('0xd34')]=[];var _0x388658=[];if(_0x52eca6[_0x1cd3('0xa13')][_0x1cd3('0x424')]&&_0x52eca6[_0x1cd3('0xa13')][_0x1cd3('0x424')][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x52eca6[_0x1cd3('0xa13')][_0x1cd3('0x125b')]===_0x1cd3('0x1283')){_0x52eca6['system']['phone']=_0x450629[_0x1cd3('0x128a')]?(_0x52eca6[_0x1cd3('0xa13')][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x1284')+_0x450629['cutdigits']+'}':(_0x52eca6[_0x1cd3('0xa13')]['prefix']||'')+_0x1cd3('0x128d');if(_0x450629[_0x1cd3('0x1285')]!=='none'){if(_0x52eca6['system'][_0x1cd3('0x422')][_0x1cd3('0x45e')](_0x1cd3('0x1286'))<0x0){_0x52eca6[_0x1cd3('0xa13')][_0x1cd3('0x422')]+=_0x1cd3('0x1286');}}else{_0x52eca6[_0x1cd3('0xa13')][_0x1cd3('0x422')]=_0x52eca6[_0x1cd3('0xa13')][_0x1cd3('0x422')]['replace'](_0x1cd3('0x1286'),'');}}if(_0x52eca6['system']['appType']&&_0x52eca6['system'][_0x1cd3('0x125b')]===_0x1cd3('0x8f6')){}else{switch((_0x52eca6[_0x1cd3('0xa13')]['app']||_0x52eca6[_0x1cd3('0xa13')][_0x1cd3('0x125b')])[_0x1cd3('0x433')]()){case _0x1cd3('0x127e'):_0x52eca6[_0x1cd3('0xa13')][_0x1cd3('0x127d')]=_0x52eca6[_0x1cd3('0xa13')]['name']+'='+_0x52eca6[_0x1cd3('0xa13')]['value'];break;case _0x1cd3('0x8f6'):break;default:_0x388658[0x0]=_0x52eca6[_0x1cd3('0xa13')][_0x1cd3('0xf0d')];_0x388658[0x1]=_0x52eca6[_0x1cd3('0xa13')][_0x1cd3('0xb84')];_0x52eca6['system'][_0x1cd3('0x127d')]=_0x388658['join'](',');}}_0x1295e0(_0x52eca6[_0x1cd3('0xa13')]);}function _0x1295e0(_0x2c41e6){_0x50a3ef['hide'](_0x2c41e6);}}}());(function(){'use strict';_0x3b315a[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),'$q',_0x1cd3('0x461'),'openchannelAccountApp',_0x1cd3('0xae5'),'api',_0x1cd3('0x56'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')]('app.openchannel')[_0x1cd3('0x39b')](_0x1cd3('0x1ef6'),_0x3b315a);function _0x3b315a(_0x52d159,_0x553102,_0x1746c2,_0x38c26a,_0x4f3dc3,_0x4118d7,_0x44b1e1,_0xe46f7e){var _0x1fa259=this;_0x1fa259['currentUser']=_0x44b1e1['getCurrentUser']();_0x1fa259[_0x1cd3('0xd34')]=[];_0x1fa259[_0x1cd3('0x486')]=_0x1cd3('0x1eec')+(_0x38c26a['appType']||_0x38c26a[_0x1cd3('0xd0a')])[_0x1cd3('0x437')]();_0x1fa259[_0x1cd3('0xb76')]=angular[_0x1cd3('0x429')](_0x38c26a);_0x1fa259['crudPermissions']=_0xe46f7e;_0x1fa259[_0x1cd3('0xd28')]={};if(_0x1fa259[_0x1cd3('0xb76')][_0x1cd3('0x127d')]){switch(_0x1fa259['tag'][_0x1cd3('0x125b')]?_0x1fa259[_0x1cd3('0xb76')][_0x1cd3('0x125b')]['toLowerCase']():_0x1fa259[_0x1cd3('0xb76')][_0x1cd3('0xd0a')][_0x1cd3('0x433')]()){case'custom':break;case _0x1cd3('0x1233'):var _0x296e49=_0x1fa259[_0x1cd3('0xb76')]['appdata'][_0x1cd3('0x3ef')](',');_0x1fa259['tag']['key']=_0x296e49[0x0];_0x1fa259[_0x1cd3('0xb76')][_0x1cd3('0x3f3')]=_0x296e49[0x1];_0x1fa259[_0x1cd3('0xb76')][_0x1cd3('0x1246')]=_0x296e49['slice'](0x2,_0x296e49[_0x1cd3('0x7a')])['join'](',');break;case'amazonlex':var _0x296e49=_0x1fa259['tag']['appdata'][_0x1cd3('0x3ef')](',');_0x1fa259[_0x1cd3('0xb76')][_0x1cd3('0x1248')]=_0x296e49[0x0];_0x1fa259[_0x1cd3('0xb76')][_0x1cd3('0x1249')]=_0x296e49[0x1];_0x1fa259[_0x1cd3('0xb76')]['lexregion']=_0x296e49[0x2];_0x1fa259['tag'][_0x1cd3('0x124f')]=_0x296e49[0x3];_0x1fa259[_0x1cd3('0xb76')][_0x1cd3('0x1246')]=_0x296e49[_0x1cd3('0x9a2')](0x4,_0x296e49['length'])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x122b'):var _0x296e49=_0x1fa259['tag'][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x1fa259[_0x1cd3('0xb76')][_0x1cd3('0x122c')]=isNaN(_0x296e49[0x0])?_0x296e49[0x0]:parseInt(_0x296e49[0x0],0xa);_0x1fa259[_0x1cd3('0xb76')][_0x1cd3('0x401')]=_0x296e49['slice'](0x1,_0x296e49[_0x1cd3('0x7a')])['join'](',');break;case _0x1cd3('0x43a'):_0x1fa259[_0x1cd3('0xb76')][_0x1cd3('0x401')]=_0x1fa259[_0x1cd3('0xb76')]['appdata'];break;case _0x1cd3('0x127e'):_0x1fa259[_0x1cd3('0xb76')][_0x1cd3('0x98')]=_0x1fa259[_0x1cd3('0xb76')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x0];_0x1fa259[_0x1cd3('0xb76')][_0x1cd3('0x3db')]=_0x1fa259['tag'][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x1];break;case'agi':_0x1fa259[_0x1cd3('0xb76')][_0x1cd3('0xedd')]=_0x1fa259[_0x1cd3('0xb76')][_0x1cd3('0x127d')];break;default:var _0x7c46f9=_0x1fa259[_0x1cd3('0xb76')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x1fa259[_0x1cd3('0xb76')]['tag']=_[_0x1cd3('0x398')](_0x7c46f9[0x0])?_0x7c46f9[0x0]:isNaN(_0x7c46f9[0x0])?_0x7c46f9[0x0]:parseInt(_0x7c46f9[0x0],0xa);}}else{}if(_0x1fa259[_0x1cd3('0xb76')][_0x1cd3('0x424')]&&_0x1fa259[_0x1cd3('0xb76')][_0x1cd3('0x424')][_0x1cd3('0x433')]()==='outbound'&&_0x1fa259[_0x1cd3('0xb76')]['appType'][_0x1cd3('0x433')]()===_0x1cd3('0x1289')){_0x1fa259[_0x1cd3('0xb76')][_0x1cd3('0x6aa')]=_0x1fa259[_0x1cd3('0xb76')][_0x1cd3('0xf09')]?_0x1fa259[_0x1cd3('0xb76')][_0x1cd3('0xf09')][_0x1cd3('0x3ef')]('$')[0x0]:undefined;_0x1fa259['tag']['callerId']=_0x1fa259['tag'][_0x1cd3('0x127f')]?'CALLERID(all)='+_0x1fa259[_0x1cd3('0xb76')][_0x1cd3('0x127f')]:undefined;}_0x1fa259['saveOpenchannelAccountApp']=_0x3dd502;_0x1fa259[_0x1cd3('0x39c')]=_0xb2b910;_0x44b1e1[_0x1cd3('0x57')]('admin')?_0x4118d7[_0x1cd3('0xb76')][_0x1cd3('0x361')]({'fields':'id,name','sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})['$promise'][_0x1cd3('0x77')](function(_0x40ff7e){_0x1fa259[_0x1cd3('0x921')]=_0x40ff7e[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x33e6fd){_0x1746c2[_0x1cd3('0x434')]({'title':_0x33e6fd[_0x1cd3('0x3a6')]?'API:'+_0x33e6fd[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x33e6fd['statusText']:_0x1cd3('0x1ef7'),'msg':_0x33e6fd[_0x1cd3('0x439')]?JSON['stringify'](_0x33e6fd[_0x1cd3('0x439')]):_0x33e6fd[_0x1cd3('0x43b')]()});}):_0x4118d7['tag'][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'nolimit':'true'})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x1c0d61){_0x1fa259['tags']=_0x1c0d61[_0x1cd3('0xf6')]||[];})['then'](function(){return _0x4118d7[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x1fa259[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x3f0})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0xd9b2aa){var _0x1636d4=_0xd9b2aa&&_0xd9b2aa[_0x1cd3('0xf6')]?_0xd9b2aa[_0x1cd3('0xf6')][0x0]:null;if(!_0x1636d4){var _0x48ff76=[];var _0x37ad3a=null;if(_0x1fa259[_0x1cd3('0xb76')]){_0x37ad3a=_['find'](_0x1fa259[_0x1cd3('0x921')],{'name':_0x1fa259[_0x1cd3('0xb76')][_0x1cd3('0xb76')]});}for(var _0x4000ea=0x0;_0x4000ea<_0x1fa259['tags'][_0x1cd3('0x7a')];_0x4000ea++){if(_0x37ad3a&&_0x1fa259['tags'][_0x4000ea]['id']===_0x37ad3a['id']){_0x1fa259['tags'][_0x4000ea]['canSelect']=![];_0x48ff76[_0x1cd3('0x7b')](_0x1fa259['tags'][_0x4000ea]);}}_0x1fa259['tags']=_0x48ff76;}else{if(!_0x1636d4[_0x1cd3('0x391')]){return _0x4118d7[_0x1cd3('0x392')]['get']({'sectionId':_0x1636d4['id']})['$promise'][_0x1cd3('0x77')](function(_0x4ebd77){var _0xfbcb27=_[_0x1cd3('0x3d9')](_0x4ebd77[_0x1cd3('0xf6')],function(_0x2aa172){return _[_0x1cd3('0x442')](_0x1fa259['tags'],{'id':_0x2aa172[_0x1cd3('0xe8e')]});});var _0xba6005=null;if(_0x1fa259[_0x1cd3('0xb76')]){_0xba6005=_[_0x1cd3('0x442')](_0x1fa259[_0x1cd3('0x921')],{'name':_0x1fa259[_0x1cd3('0xb76')][_0x1cd3('0xb76')]});}if(_0xba6005&&!_[_0x1cd3('0x38d')](_0xfbcb27,['id',_0xba6005['id']])){var _0x37192c=_[_0x1cd3('0x442')](_0x1fa259[_0x1cd3('0x921')],{'id':_0xba6005['id']});_0x37192c[_0x1cd3('0xf4a')]=![];_0xfbcb27[_0x1cd3('0x7b')](_0x37192c);}_0x1fa259[_0x1cd3('0x921')]=_0xfbcb27;});}}})[_0x1cd3('0xfd')](function(_0x29267a){_0x1746c2[_0x1cd3('0x434')]({'title':_0x29267a[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x29267a[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x29267a[_0x1cd3('0xd35')]:_0x1cd3('0x12b5'),'msg':_0x29267a[_0x1cd3('0x439')]?JSON['stringify'](_0x29267a[_0x1cd3('0x439')]):_0x29267a[_0x1cd3('0x43b')]()});});function _0x3dd502(){_0x1fa259[_0x1cd3('0xd34')]=[];var _0x1c7b1a=[];if(_0x1fa259[_0x1cd3('0xb76')][_0x1cd3('0x424')]&&_0x1fa259[_0x1cd3('0xb76')]['type'][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x1fa259[_0x1cd3('0xb76')][_0x1cd3('0x125b')]==='outboundDial'){_0x1fa259[_0x1cd3('0xb76')][_0x1cd3('0xf09')]=_0x4f3dc3[_0x1cd3('0x128a')]?(_0x1fa259[_0x1cd3('0xb76')][_0x1cd3('0x6aa')]||'')+'${EXTEN:'+_0x4f3dc3[_0x1cd3('0x128a')]+'}':(_0x1fa259[_0x1cd3('0xb76')][_0x1cd3('0x6aa')]||'')+'${EXTEN}';if(_0x4f3dc3[_0x1cd3('0x1285')]!==_0x1cd3('0x6ae')){if(_0x1fa259[_0x1cd3('0xb76')][_0x1cd3('0x422')][_0x1cd3('0x45e')](_0x1cd3('0x1286'))<0x0){_0x1fa259[_0x1cd3('0xb76')][_0x1cd3('0x422')]+=_0x1cd3('0x1286');}}else{_0x1fa259[_0x1cd3('0xb76')][_0x1cd3('0x422')]=_0x1fa259[_0x1cd3('0xb76')][_0x1cd3('0x422')][_0x1cd3('0x3f1')](_0x1cd3('0x1286'),'');}}var _0x21b47a=_['find'](_0x1fa259['tags'],{'name':_0x1fa259[_0x1cd3('0xb76')][_0x1cd3('0xb76')]});if(_0x21b47a){_0x1fa259[_0x1cd3('0xb76')][_0x1cd3('0x1230')]=_0x21b47a['id'];}if(_0x1fa259[_0x1cd3('0xb76')][_0x1cd3('0x125b')]&&_0x1fa259[_0x1cd3('0xb76')][_0x1cd3('0x125b')]===_0x1cd3('0x8f6')){}else{switch((_0x1fa259[_0x1cd3('0xb76')][_0x1cd3('0xd0a')]||_0x1fa259[_0x1cd3('0xb76')][_0x1cd3('0x125b')])['toLowerCase']()){case _0x1cd3('0x127e'):_0x1fa259[_0x1cd3('0xb76')][_0x1cd3('0x127d')]=_0x1fa259[_0x1cd3('0xb76')]['name']+'='+_0x1fa259[_0x1cd3('0xb76')][_0x1cd3('0x3db')];break;case _0x1cd3('0x8f6'):break;default:_0x1c7b1a[0x0]=_0x1fa259[_0x1cd3('0xb76')][_0x1cd3('0xb76')];_0x1fa259['tag'][_0x1cd3('0x127d')]=_0x1c7b1a[_0x1cd3('0x3de')](',');}}_0xb2b910(_0x1fa259[_0x1cd3('0xb76')]);}function _0xb2b910(_0x66628b){_0x52d159[_0x1cd3('0x39d')](_0x66628b);}}}());(function(){'use strict';_0x2bf1a1['$inject']=[_0x1cd3('0x36f'),'$scope',_0x1cd3('0x53e'),'$q',_0x1cd3('0x3f7'),_0x1cd3('0x3e7'),_0x1cd3('0x3c5'),'$document',_0x1cd3('0x461'),_0x1cd3('0x370'),_0x1cd3('0x56')];angular[_0x1cd3('0x0')](_0x1cd3('0x31'))['controller'](_0x1cd3('0x1ef8'),_0x2bf1a1);function _0x2bf1a1(_0x3d17a1,_0x20ea4d,_0x5b319e,_0x88b938,_0x1e22ba,_0x4ced44,_0x1b321f,_0x1da6a8,_0x233cb1,_0x3756e9,_0x451170){var _0x3e8a2e=this;_0x3e8a2e[_0x1cd3('0x3ca')]=_0x451170['getCurrentUser']();_0x3e8a2e[_0x1cd3('0xae5')]={};_0x3e8a2e[_0x1cd3('0x1ef9')]={'count':0x0,'rows':[]};_0x3e8a2e[_0x1cd3('0x1efa')]=[];_0x3e8a2e['crudPermissions'];_0x3e8a2e['query']={'read':_0x1cd3('0x220'),'closed':_0x1cd3('0x220'),'sort':_0x1cd3('0x130e'),'includeAll':_0x1cd3('0x2e0'),'limit':0xa,'page':0x1};_0x3e8a2e[_0x1cd3('0xe08')]=_0x39227;_0x3e8a2e[_0x1cd3('0xe0a')]=_0x5718bd;_0x3e8a2e['openchannelInteractionDownload']=_0x349bef;_0x3e8a2e['success']=_0x40979c;_0x3e8a2e[_0x1cd3('0x1efb')]=_0x3ec0aa;_0x3e8a2e[_0x1cd3('0x1efc')]=_0x425e9e;_0x3e8a2e[_0x1cd3('0x1efd')]=_0x549875;_0x3e8a2e[_0x1cd3('0x1673')]=_0x2adabe;_0x3e8a2e[_0x1cd3('0x1efe')]=_0x3295a0;_0x3e8a2e['deleteOpenchannelAccountInteraction']=_0x35d7cd;_0x3e8a2e[_0x1cd3('0x1eff')]=_0x48a7eb;function _0x39227(_0xf5ff78,_0x55dd50){_0x3e8a2e[_0x1cd3('0xae5')]=_0xf5ff78;_0x3e8a2e[_0x1cd3('0xd27')]=typeof _0x55dd50!==_0x1cd3('0x491')?_0x55dd50:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x3e8a2e[_0x1cd3('0x3d4')][_0x1cd3('0x1490')]=_0x3e8a2e[_0x1cd3('0xae5')]['id'];_0x3e8a2e[_0x1cd3('0x3d1')]={'fields':_0x429af7()};_0x429ed6();}function _0x429ed6(){return _0x3756e9[_0x1cd3('0xb76')]['get']()['$promise']['then'](function(_0x1aa928){_0x3e8a2e[_0x1cd3('0x921')]=_0x1aa928||{'count':0x0,'rows':[]};})['then'](function(){_0x3e8a2e['quickFilters']=_0x492b7c();});}function _0x492b7c(){return[{'name':'Start\x20Date','key':_0x1cd3('0xe0d'),'type':_0x1cd3('0x406'),'label':_0x1cd3('0x1316')},{'name':_0x1cd3('0x1317'),'key':_0x1cd3('0x167e'),'type':_0x1cd3('0x44f'),'label':'DASHBOARDS.SELECT_READ_UNREAD','customOptions':[{'value':0x0,'translate':_0x1cd3('0x1319')},{'value':0x1,'translate':_0x1cd3('0x131a')},{'value':null,'translate':_0x1cd3('0x910')}]},{'name':_0x1cd3('0x131b'),'key':'closed','type':'select','label':_0x1cd3('0x131c'),'customOptions':[{'value':0x0,'translate':_0x1cd3('0x131d')},{'value':0x1,'translate':_0x1cd3('0x131e')},{'value':null,'translate':_0x1cd3('0x910')}]},{'name':_0x1cd3('0x1227'),'key':_0x1cd3('0x1226'),'type':_0x1cd3('0x44f'),'label':_0x1cd3('0x131f'),'customOptions':[{'value':_0x1cd3('0x220'),'translate':'DASHBOARDS.NOT_ASSIGNED'},{'value':undefined,'translate':_0x1cd3('0x910')}]},{'name':_0x1cd3('0x1231'),'key':_0x1cd3('0xb76'),'type':_0x1cd3('0x3fa'),'label':_0x1cd3('0x1321'),'options':_0x3e8a2e[_0x1cd3('0x921')]['rows'],'placeholder':_0x1cd3('0x1322')}];}function _0x429af7(){return[{'name':'Id','column':'id','type':_0x1cd3('0x407')},{'name':_0x1cd3('0x1323'),'column':'Contact','type':_0x1cd3('0x42b'),'options':{'searchFields':[_0x1cd3('0x1447'),_0x1cd3('0x1324'),'email'],'route':{'model':'cmContact','action':'get','params':{'fields':'id,firstName,lastName,email','Contact':'@autocomplete','nolimit':!![]}},'extraOperators':[_0x1cd3('0x3fd')],'excludedOperators':[_0x1cd3('0x3fb')]}},{'name':_0x1cd3('0x1326'),'column':_0x1cd3('0x1327'),'type':_0x1cd3('0x401'),'options':{'excludedOperators':['$eq',_0x1cd3('0x3fb')]}},{'name':'Body','column':'plainBody','type':_0x1cd3('0x401'),'options':{'excludedOperators':[_0x1cd3('0x44d'),'$ne']}},{'name':'Status','column':_0x1cd3('0x1586'),'type':_0x1cd3('0x44f'),'values':[{'id':0x0,'translate':_0x1cd3('0x131d')},{'id':0x1,'translate':'DASHBOARDS.CLOSED'}],'options':{'excludedOperators':[_0x1cd3('0x3fb')]}},{'name':_0x1cd3('0x1227'),'column':_0x1cd3('0x132a'),'type':'autocomplete','options':{'table':'i','route':{'model':_0x1cd3('0x368'),'action':_0x1cd3('0x361'),'params':{'role':_0x1cd3('0xd2'),'fields':_0x1cd3('0x132b'),'nolimit':!![]}},'searchFields':[_0x1cd3('0xd3'),_0x1cd3('0x98')],'extraOperators':[_0x1cd3('0x3fd')],'excludedOperators':[_0x1cd3('0x3fb')]}},{'name':_0x1cd3('0xf9'),'column':_0x1cd3('0x1231'),'type':'multiselect','options':{'route':{'model':_0x1cd3('0xb76'),'action':_0x1cd3('0x361'),'params':{'nolimit':!![]}},'excludedOperators':['$notIn']}},{'name':_0x1cd3('0x132c'),'column':_0x1cd3('0xe0d'),'type':'date','options':{'excludedOperators':[_0x1cd3('0x3fb')]}},{'name':'Read','column':'unreadMessages','type':_0x1cd3('0x44f'),'values':[{'id':0x1,'translate':_0x1cd3('0x131a')},{'id':0x0,'translate':_0x1cd3('0x1319')}],'options':{'excludedOperators':[_0x1cd3('0x3fb')]}}];}function _0x2adabe(){_0x1b321f[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x3c9'),'controllerAs':'vm','templateUrl':'app/core/dialogs/advanced-search/dialog.html','parent':angular[_0x1cd3('0x37f')](_0x1da6a8[_0x1cd3('0x380')]),'clickOutsideToClose':![],'locals':{'fields':_0x3e8a2e[_0x1cd3('0x3d1')][_0x1cd3('0x3c7')],'color':undefined,'storagePath':_0x1cd3('0x1f00')},'fullscreen':!![]})[_0x1cd3('0x77')](function(_0x1805f5){_0x3e8a2e['query'][_0x1cd3('0x3e4')]=_0x1805f5===![]?undefined:_0x1805f5;if(_0x3e8a2e['query'][_0x1cd3('0x3e4')]){_0x3ec0aa();}else if(_0x1805f5===![]){_0x3ec0aa();}})[_0x1cd3('0xfd')](function(_0x41ff0e){_0x233cb1['error']({'title':_0x1cd3('0x1331'),'msg':_0x41ff0e[_0x1cd3('0x439')]?JSON['stringify'](_0x41ff0e['data'][_0x1cd3('0x43a')]):_0x41ff0e[_0x1cd3('0x43b')]()});});}function _0x349bef(_0x1e4e91,_0x1c13e5,_0x854bef){return _0x3756e9['openchannelInteraction'][_0x1cd3('0x489')]({'id':_0x1e4e91['id'],'exists':!![],'attachments':_0x854bef})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x15384f){var _0x1665e4=[_0x15384f[_0x1cd3('0x6ef')]];var _0x13d3a8=_0x1cd3('0x1332')+_0x1e4e91['id'];var _0x5c3f0f=new Blob(_0x1665e4,{'type':_0x15384f[_0x1cd3('0x424')]});_0x13d3a8=_0x1cd3('0x1777')+_0x1e4e91['id']+_0x1cd3('0x1334');var _0x290428=window['document'][_0x1cd3('0x3aa')]('a');_0x290428['setAttribute'](_0x1cd3('0x3ab'),URL[_0x1cd3('0x48a')](_0x5c3f0f));_0x290428[_0x1cd3('0x481')](_0x1cd3('0x489'),_0x13d3a8);document[_0x1cd3('0x380')]['appendChild'](_0x290428);_0x290428[_0x1cd3('0x52d')]();})[_0x1cd3('0xfd')](function(_0x29f757){if(_0x29f757[_0x1cd3('0x439')]&&_0x29f757['data'][_0x1cd3('0xd34')]&&_0x29f757[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){for(var _0x55b51a=0x0;_0x55b51a<_0x29f757['data']['errors'][_0x1cd3('0x7a')];_0x55b51a+=0x1){_0x233cb1[_0x1cd3('0x434')]({'title':_0x29f757[_0x1cd3('0x439')]['errors'][_0x55b51a][_0x1cd3('0x424')],'msg':_0x29f757[_0x1cd3('0x439')]['errors'][_0x55b51a][_0x1cd3('0x43a')]});}}else{_0x233cb1[_0x1cd3('0x434')]({'title':_0x29f757[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x29f757['status']+_0x1cd3('0x436')+_0x29f757[_0x1cd3('0xd35')]:'api.openchannelAccount.save','msg':_0x29f757[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x29f757[_0x1cd3('0x439')]['message']):_0x29f757[_0x1cd3('0x43b')]()});}});}function _0x5718bd(_0x5799c8,_0xb40b03){var _0x1ae564=_0x1b321f['confirm']()['title']('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20interaction?')[_0x1cd3('0xd60')](_0x1cd3('0xd51')+(_0x5799c8['name']||_0x5799c8['id']&&_['upperFirst'](_0x1cd3('0x1336'))+_0x5799c8['id']||_0x1cd3('0x1332'))+_0x1cd3('0xd52')+'\x20will\x20be\x20deleted.')[_0x1cd3('0xd3d')](_0x1cd3('0x1337'))[_0x1cd3('0xd63')](_0xb40b03)['ok']('OK')[_0x1cd3('0x4d8')]('CANCEL');_0x1b321f[_0x1cd3('0x37e')](_0x1ae564)['then'](function(){_0x35d7cd(_0x5799c8);},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}function _0x40979c(_0x526731){_0x3e8a2e[_0x1cd3('0x1ef9')]=_0x526731||{'count':0x0,'rows':[]};for(var _0xb8537f=0x0;_0xb8537f<_0x3e8a2e[_0x1cd3('0x1ef9')][_0x1cd3('0xf6')][_0x1cd3('0x7a')];_0xb8537f+=0x1){var _0x33aded=_0x3e8a2e[_0x1cd3('0x1ef9')][_0x1cd3('0xf6')][_0xb8537f];_0x3653d4(_0x33aded);_0x33aded[_0x1cd3('0x1338')][_0x1cd3('0x98')]=_0x11f000(_0x33aded);}}function _0x3ec0aa(){_0x3e8a2e[_0x1cd3('0x3d4')]['offset']=(_0x3e8a2e[_0x1cd3('0x3d4')]['page']-0x1)*_0x3e8a2e[_0x1cd3('0x3d4')]['limit'];_0x3e8a2e['promise']=_0x3756e9[_0x1cd3('0xe17')][_0x1cd3('0x361')](_0x3e8a2e[_0x1cd3('0x3d4')],_0x40979c)[_0x1cd3('0x81')];}function _0x425e9e(_0x37b0b2,_0xab78de){_0x1b321f[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1339'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1f01'),'parent':angular[_0x1cd3('0x37f')](_0x1da6a8[_0x1cd3('0x380')]),'targetEvent':_0x37b0b2,'clickOutsideToClose':!![],'locals':{'openchannelAccount':_0x3e8a2e['openchannelAccount'],'interaction':_0xab78de,'interactions':_0x3e8a2e[_0x1cd3('0x1ef9')][_0x1cd3('0xf6')],'license':null,'setting':null,'crudPermissions':_0x3e8a2e[_0x1cd3('0xd27')]}});}function _0x549875(_0x59badf,_0x41be26){_0x1b321f[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x133a'),'controllerAs':'vm','templateUrl':_0x1cd3('0x133b'),'parent':angular['element'](_0x1da6a8[_0x1cd3('0x380')]),'targetEvent':_0x59badf,'clickOutsideToClose':!![],'onShowing':function(_0x245f77,_0x2b8139){_0x245f77['vm']['init']({'id':0x1,'channel':_0x1cd3('0x22e'),'interaction':_0x41be26,'spy':!![]},_0x20ea4d[_0x1cd3('0x70b')]['vm'][_0x1cd3('0xc49')]);}});}function _0x35d7cd(_0x5be0b5){_0x3756e9[_0x1cd3('0xe17')][_0x1cd3('0xa1c')]({'id':_0x5be0b5['id']})['$promise'][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x3e8a2e['openchannelAccountInteractions']['rows'],{'id':_0x5be0b5['id']});_0x3e8a2e['openchannelAccountInteractions'][_0x1cd3('0x466')]-=0x1;if(!_0x3e8a2e[_0x1cd3('0x1ef9')]['rows'][_0x1cd3('0x7a')]){_0x3ec0aa();}_0x233cb1[_0x1cd3('0x473')]({'title':_0x1cd3('0x133c'),'msg':_0x5be0b5['name']?_0x5be0b5['name']+'\x20has\x20been\x20deleted!':''});})[_0x1cd3('0xfd')](function(_0x11ba10){if(_0x11ba10[_0x1cd3('0x439')]&&_0x11ba10[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x11ba10['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){vm[_0x1cd3('0xd34')]=_0x11ba10[_0x1cd3('0x439')]['errors']||[{'message':_0x11ba10[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1f02')}];for(var _0xdeb91f=0x0;_0xdeb91f<_0x11ba10[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0xdeb91f++){_0x233cb1[_0x1cd3('0x434')]({'title':_0x11ba10['data']['errors'][_0xdeb91f][_0x1cd3('0x424')],'msg':_0x11ba10[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0xdeb91f][_0x1cd3('0x43a')]});}}else{_0x233cb1[_0x1cd3('0x434')]({'title':_0x11ba10[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x11ba10[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x11ba10['statusText']:_0x1cd3('0x1f02'),'msg':_0x11ba10[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x11ba10['data']['message']):_0x11ba10[_0x1cd3('0x43a')]||_0x11ba10['toString']()});}});}function _0x3295a0(){var _0x80908f=angular[_0x1cd3('0x429')](_0x3e8a2e[_0x1cd3('0x1efa')]);_0x3e8a2e[_0x1cd3('0x1efa')]=[];return _0x80908f;}function _0x48a7eb(_0x2cf70c){var _0xf86b50=_0x1b321f['confirm']()[_0x1cd3('0x486')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20interactions?')['htmlContent'](_0x1cd3('0xd51')+_0x3e8a2e['selectedOpenchannelAccountInteractions']['length']+_0x1cd3('0xd61')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x133d'))[_0x1cd3('0xd63')](_0x2cf70c)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x1b321f[_0x1cd3('0x37e')](_0xf86b50)[_0x1cd3('0x77')](function(){_0x3e8a2e[_0x1cd3('0x1efa')]['forEach'](function(_0xe6c255){_0x35d7cd(_0xe6c255);});_0x3e8a2e[_0x1cd3('0x1efa')]=[];});}function _0x3653d4(_0x31cf4a){if(_0x31cf4a[_0x1cd3('0x606')]){_0x31cf4a[_0x1cd3('0x133e')]=_0x31cf4a[_0x1cd3('0x606')];}else if(_0x31cf4a['Contact']){_0x31cf4a[_0x1cd3('0x133e')]=(_0x31cf4a[_0x1cd3('0x1323')][_0x1cd3('0x1447')]||'')+'\x20'+(_0x31cf4a['Contact'][_0x1cd3('0x1324')]||'');}else{_0x31cf4a[_0x1cd3('0x133e')]=_0x1e22ba[_0x1cd3('0x44a')]('OPENCHANNEL.UNKNOWN');}}function _0x11f000(_0x19ea43){if(_0x19ea43[_0x1cd3('0x1226')]){if(_0x19ea43[_0x1cd3('0x1226')]===_0x3e8a2e['currentUser']['id']){return _0x1e22ba[_0x1cd3('0x44a')](_0x1cd3('0x1656'));}else{return _0x19ea43['Owner'][_0x1cd3('0xd3')]+'\x20<'+_0x19ea43[_0x1cd3('0x1338')][_0x1cd3('0x311')]+'>';}}return _0x1e22ba[_0x1cd3('0x44a')]('DASHBOARDS.NOT_ASSIGNED');}var _0x1e50bc=!![];var _0x555873=0x1;_0x20ea4d[_0x1cd3('0x4d6')](_0x1cd3('0x1340'),function(_0x425272,_0x3b585a){if(_0x1e50bc){_0x4ced44(function(){_0x1e50bc=![];});}else{if(!_0x3b585a){_0x555873=_0x3e8a2e[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0x425272!==_0x3b585a){_0x3e8a2e['query']['page']=0x1;}if(!_0x425272){_0x3e8a2e['query'][_0x1cd3('0x8fd')]=_0x555873;}_0x3ec0aa();}});}}());(function(){'use strict';_0x130cb1[_0x1cd3('0xc')]=[_0x1cd3('0x36f'),_0x1cd3('0x460'),_0x1cd3('0x53e'),'$q',_0x1cd3('0x3f7'),_0x1cd3('0x3e7'),_0x1cd3('0x3c5'),_0x1cd3('0x372'),_0x1cd3('0x461'),_0x1cd3('0x370'),_0x1cd3('0x56')];angular[_0x1cd3('0x0')](_0x1cd3('0x31'))[_0x1cd3('0x39b')](_0x1cd3('0x1f03'),_0x130cb1);function _0x130cb1(_0x196564,_0x3ad7f9,_0xaabc6f,_0x2f7f0c,_0x2868ec,_0x5e9ea8,_0x4598a0,_0x196319,_0x38e218,_0x117d86,_0x4e31b8){var _0x2fe387=this;_0x2fe387['currentUser']=_0x4e31b8[_0x1cd3('0x5d')]();_0x2fe387['openchannelAccount']={};_0x2fe387[_0x1cd3('0x1f04')]={'count':0x0,'rows':[]};_0x2fe387[_0x1cd3('0x1f05')]=[];_0x2fe387[_0x1cd3('0xd27')];_0x2fe387[_0x1cd3('0x3d4')]={'fields':_0x1cd3('0x2a2'),'limit':0xa,'page':0x1};_0x2fe387[_0x1cd3('0xe08')]=_0x470a44;_0x2fe387[_0x1cd3('0xe0a')]=_0x4b4dfa;_0x2fe387['success']=_0x3611b4;_0x2fe387['getOpenchannelAccountOpenchannelCannedAnswers']=_0x555d39;_0x2fe387['createOrEditOpenchannelAccountOpenchannelCannedAnswer']=_0x53449a;_0x2fe387[_0x1cd3('0x1f06')]=_0x273df3;_0x2fe387['deleteOpenchannelAccountOpenchannelCannedAnswer']=_0x4d4b61;_0x2fe387[_0x1cd3('0x1f07')]=_0x13818e;function _0x470a44(_0x4ea302,_0x4a393a){_0x2fe387[_0x1cd3('0xae5')]=_0x4ea302;_0x2fe387[_0x1cd3('0xd27')]=typeof _0x4a393a!==_0x1cd3('0x491')?_0x4a393a:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x2fe387['query'][_0x1cd3('0x1490')]=_0x2fe387[_0x1cd3('0xae5')]['id'];_0x2fe387[_0x1cd3('0x3d4')]['id']=_0x2fe387[_0x1cd3('0xae5')]['id'];_0x555d39();}function _0x4b4dfa(_0x3a264b,_0x8cd5fa){var _0x16487e=_0x4598a0[_0x1cd3('0xd39')]()['title'](_0x1cd3('0x1f08'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+(_0x3a264b[_0x1cd3('0x98')]||_0x3a264b['id']&&_[_0x1cd3('0x12bc')]('openchannelCannedAnswer\x20#')+_0x3a264b['id']||'openchannelCannedAnswer')+_0x1cd3('0xd52')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x1f09'))[_0x1cd3('0xd63')](_0x8cd5fa)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x4598a0[_0x1cd3('0x37e')](_0x16487e)[_0x1cd3('0x77')](function(){_0x4d4b61(_0x3a264b);},function(){console['log'](_0x1cd3('0xd55'));});}function _0x3611b4(_0x363ee3){_0x2fe387[_0x1cd3('0x1f04')]=_0x363ee3||{'count':0x0,'rows':[]};}function _0x555d39(){_0x2fe387[_0x1cd3('0x3d4')]['offset']=(_0x2fe387[_0x1cd3('0x3d4')]['page']-0x1)*_0x2fe387[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];_0x2fe387['promise']=_0x117d86['openchannelAccount']['getAnswers'](_0x2fe387[_0x1cd3('0x3d4')],_0x3611b4)[_0x1cd3('0x81')];}function _0x53449a(_0x1f47bc,_0x19fd40){_0x4598a0['show']({'controller':_0x1cd3('0x1f0a'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1f0b'),'parent':angular['element'](_0x196319['body']),'targetEvent':_0x1f47bc,'clickOutsideToClose':!![],'locals':{'openchannelAccount':_0x2fe387[_0x1cd3('0xae5')],'openchannelCannedAnswer':_0x19fd40,'openchannelCannedAnswers':_0x2fe387[_0x1cd3('0x1f04')][_0x1cd3('0xf6')],'license':null,'setting':null,'crudPermissions':_0x2fe387['crudPermissions']}});}function _0x4d4b61(_0x45ca36){_0x117d86[_0x1cd3('0x12c1')]['delete']({'id':_0x45ca36['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_['remove'](_0x2fe387[_0x1cd3('0x1f04')][_0x1cd3('0xf6')],{'id':_0x45ca36['id']});_0x2fe387['openchannelAccountOpenchannelCannedAnswers'][_0x1cd3('0x466')]-=0x1;if(!_0x2fe387['openchannelAccountOpenchannelCannedAnswers'][_0x1cd3('0xf6')]['length']){_0x555d39();}_0x38e218[_0x1cd3('0x473')]({'title':_0x1cd3('0x1f0c'),'msg':_0x45ca36[_0x1cd3('0x98')]?_0x45ca36[_0x1cd3('0x98')]+_0x1cd3('0xd41'):''});})[_0x1cd3('0xfd')](function(_0x4f66b5){if(_0x4f66b5[_0x1cd3('0x439')]&&_0x4f66b5[_0x1cd3('0x439')]['errors']&&_0x4f66b5[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')]){vm[_0x1cd3('0xd34')]=_0x4f66b5['data'][_0x1cd3('0xd34')]||[{'message':_0x4f66b5[_0x1cd3('0x43b')](),'type':'SYSTEM:GETopenchannelAccount'}];for(var _0x529c6f=0x0;_0x529c6f<_0x4f66b5[_0x1cd3('0x439')]['errors']['length'];_0x529c6f++){_0x38e218[_0x1cd3('0x434')]({'title':_0x4f66b5['data'][_0x1cd3('0xd34')][_0x529c6f]['type'],'msg':_0x4f66b5[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x529c6f]['message']});}}else{_0x38e218['error']({'title':_0x4f66b5[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x4f66b5[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x4f66b5[_0x1cd3('0xd35')]:'SYSTEM:GETopenchannelAccount','msg':_0x4f66b5[_0x1cd3('0x439')]?JSON['stringify'](_0x4f66b5[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x4f66b5[_0x1cd3('0x43a')]||_0x4f66b5[_0x1cd3('0x43b')]()});}});}function _0x273df3(){var _0x1aa92a=angular[_0x1cd3('0x429')](_0x2fe387[_0x1cd3('0x1f05')]);_0x2fe387[_0x1cd3('0x1f05')]=[];return _0x1aa92a;}function _0x13818e(_0x3d3f68){var _0x11d66d=_0x4598a0[_0x1cd3('0xd39')]()[_0x1cd3('0x486')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20openchannelCannedAnswers?')[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x2fe387[_0x1cd3('0x1f05')][_0x1cd3('0x7a')]+'\x20selected</b>'+_0x1cd3('0xd53'))['ariaLabel'](_0x1cd3('0x1f0d'))['targetEvent'](_0x3d3f68)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x4598a0[_0x1cd3('0x37e')](_0x11d66d)[_0x1cd3('0x77')](function(){_0x2fe387['selectedOpenchannelAccountOpenchannelCannedAnswers'][_0x1cd3('0x394')](function(_0xb67749){_0x4d4b61(_0xb67749);});_0x2fe387['selectedOpenchannelAccountOpenchannelCannedAnswers']=[];});}var _0x12ecf9=!![];var _0x242e2b=0x1;_0x3ad7f9[_0x1cd3('0x4d6')](_0x1cd3('0x1340'),function(_0x53982f,_0x3416ec){if(_0x12ecf9){_0x5e9ea8(function(){_0x12ecf9=![];});}else{if(!_0x3416ec){_0x242e2b=_0x2fe387[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0x53982f!==_0x3416ec){_0x2fe387[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}if(!_0x53982f){_0x2fe387['query'][_0x1cd3('0x8fd')]=_0x242e2b;}_0x555d39();}});}}());(function(){'use strict';_0xe837bc[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x53e'),_0x1cd3('0xd24'),_0x1cd3('0x3c5'),'$q','$translate',_0x1cd3('0x461'),_0x1cd3('0x1f0e'),_0x1cd3('0x1f0f'),_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0x463'),_0x1cd3('0xc49'),_0x1cd3('0xd27')];angular['module'](_0x1cd3('0x31'))['controller']('CreateOrEditOpenchannelCannedAnswerDialogController',_0xe837bc);function _0xe837bc(_0x19a22c,_0x86161a,_0x55fca1,_0x336616,_0x144e70,_0x515b5f,_0x31b86d,_0x3be56d,_0x18ddd8,_0x191031,_0x46d4f3,_0x1b085c,_0x2c2dc4,_0x27108d){var _0xd24add=this;_0xd24add[_0x1cd3('0x3ca')]=_0x46d4f3[_0x1cd3('0x5d')]();_0xd24add[_0x1cd3('0xd34')]=[];_0xd24add[_0x1cd3('0xc49')]=_0x2c2dc4;_0xd24add[_0x1cd3('0x463')]=_0x1b085c;_0xd24add['crudPermissions']=_0x27108d;_0xd24add['hasModulePermissions']={};_0xd24add[_0x1cd3('0xd29')]=_0xd24add['setting']&&_0xd24add['setting']['securePassword']?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0xd24add['title']=_0x1cd3('0x1f10');_0xd24add[_0x1cd3('0x1f0f')]=angular[_0x1cd3('0x429')](_0x18ddd8);_0xd24add['openchannelCannedAnswers']=_0x3be56d;_0xd24add[_0x1cd3('0x1f11')]=![];if(!_0xd24add[_0x1cd3('0x1f0f')]){_0xd24add[_0x1cd3('0x1f0f')]={};_0xd24add[_0x1cd3('0x486')]=_0x1cd3('0x1f12');_0xd24add[_0x1cd3('0x1f11')]=!![];}if(_0x86161a[_0x1cd3('0x36a')]['id']){_0xd24add['openchannelCannedAnswer']['OpenchannelAccountId']=_0x86161a[_0x1cd3('0x36a')]['id'];}_0xd24add[_0x1cd3('0x1f13')]=_0x4c3056;_0xd24add['saveOpenchannelCannedAnswer']=_0x211be7;_0xd24add[_0x1cd3('0x1f14')]=_0x368f5d;_0xd24add[_0x1cd3('0xd31')]=_0xda3036;_0xd24add[_0x1cd3('0x39c')]=_0x52631b;function _0x4c3056(){_0xd24add['errors']=[];_0x191031[_0x1cd3('0x12c1')][_0x1cd3('0xd6d')](_0xd24add[_0x1cd3('0x1f0f')])['$promise']['then'](function(_0x2443da){_0xd24add[_0x1cd3('0x1f0e')]['unshift'](_0x2443da[_0x1cd3('0xd32')]());_0x31b86d[_0x1cd3('0x473')]({'title':_0x1cd3('0x1f15'),'msg':_0xd24add[_0x1cd3('0x1f0f')]['name']?_0xd24add[_0x1cd3('0x1f0f')][_0x1cd3('0x98')]+'\x20has\x20been\x20created!':''});_0x52631b(_0x2443da);})[_0x1cd3('0xfd')](function(_0x172138){if(_0x172138[_0x1cd3('0x439')]&&_0x172138[_0x1cd3('0x439')]['errors']&&_0x172138[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0xd24add[_0x1cd3('0xd34')]=_0x172138['data'][_0x1cd3('0xd34')]||[{'message':_0x172138[_0x1cd3('0x43b')](),'type':_0x1cd3('0x12cc')}];for(var _0x24a6ea=0x0;_0x24a6ea<_0x172138[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x24a6ea+=0x1){_0x31b86d[_0x1cd3('0x434')]({'title':_0x172138[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x24a6ea][_0x1cd3('0x424')],'msg':_0x172138[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x24a6ea][_0x1cd3('0x43a')]});}}else{_0x31b86d['error']({'title':_0x172138['status']?_0x1cd3('0x435')+_0x172138['status']+_0x1cd3('0x436')+_0x172138[_0x1cd3('0xd35')]:_0x1cd3('0x12cc'),'msg':_0x172138[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x172138[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x172138[_0x1cd3('0x43b')]()});}});}function _0x211be7(){_0xd24add['errors']=[];_0x191031[_0x1cd3('0x12c1')][_0x1cd3('0x378')]({'id':_0xd24add[_0x1cd3('0x1f0f')]['id']},_0xd24add[_0x1cd3('0x1f0f')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x771a5e){var _0xda8c9d=_[_0x1cd3('0x442')](_0xd24add[_0x1cd3('0x1f0e')],{'id':_0x771a5e['id']});if(_0xda8c9d){_['merge'](_0xda8c9d,_[_0x1cd3('0x5e8')](_0x771a5e['toJSON'](),_['keys'](_0xda8c9d)));}_0x31b86d[_0x1cd3('0x473')]({'title':_0x1cd3('0x1f16'),'msg':_0xd24add['openchannelCannedAnswer'][_0x1cd3('0x98')]?_0xd24add[_0x1cd3('0x1f0f')][_0x1cd3('0x98')]+'\x20has\x20been\x20saved!':''});_0x52631b(_0x771a5e);})[_0x1cd3('0xfd')](function(_0x4a924a){if(_0x4a924a[_0x1cd3('0x439')]&&_0x4a924a[_0x1cd3('0x439')]['errors']&&_0x4a924a[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length']){_0xd24add[_0x1cd3('0xd34')]=_0x4a924a['data'][_0x1cd3('0xd34')]||[{'message':_0x4a924a[_0x1cd3('0x43b')](),'type':_0x1cd3('0x12ce')}];for(var _0x48e1db=0x0;_0x48e1db<_0x4a924a[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length'];_0x48e1db++){_0x31b86d['error']({'title':_0x4a924a[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x48e1db][_0x1cd3('0x424')],'msg':_0x4a924a[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x48e1db][_0x1cd3('0x43a')]});}}else{_0x31b86d[_0x1cd3('0x434')]({'title':_0x4a924a[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x4a924a[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x4a924a[_0x1cd3('0xd35')]:'api.cannedAnswer.update','msg':_0x4a924a['data']?JSON[_0x1cd3('0x438')](_0x4a924a[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x4a924a[_0x1cd3('0x43b')]()});}});}function _0x368f5d(_0x1d7165){_0xd24add['errors']=[];var _0x3e5ef4=_0x336616['confirm']()['title'](_0x1cd3('0xd3a'))['content'](_0x1cd3('0x1f17'))['ariaLabel'](_0x1cd3('0x1f18'))['ok'](_0x1cd3('0xd3f'))[_0x1cd3('0x4d8')](_0x1cd3('0x674'))[_0x1cd3('0xd63')](_0x1d7165);_0x336616[_0x1cd3('0x37e')](_0x3e5ef4)[_0x1cd3('0x77')](function(){_0x191031[_0x1cd3('0x12c1')][_0x1cd3('0xa1c')]({'id':_0xd24add['openchannelCannedAnswer']['id']})['$promise'][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0xd24add['openchannelCannedAnswers'],{'id':_0xd24add[_0x1cd3('0x1f0f')]['id']});_0x31b86d[_0x1cd3('0x473')]({'title':_0x1cd3('0x1f19'),'msg':(_0xd24add[_0x1cd3('0x1f0f')][_0x1cd3('0x98')]||'openchannelCannedAnswer')+_0x1cd3('0xd41')});_0x52631b(_0xd24add[_0x1cd3('0x1f0f')]);})[_0x1cd3('0xfd')](function(_0x30ae29){if(_0x30ae29['data']&&_0x30ae29[_0x1cd3('0x439')]['errors']&&_0x30ae29[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0xd24add[_0x1cd3('0xd34')]=_0x30ae29['data'][_0x1cd3('0xd34')]||[{'message':_0x30ae29[_0x1cd3('0x43b')](),'type':_0x1cd3('0x12d1')}];for(var _0x50206d=0x0;_0x50206d<_0x30ae29[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x50206d++){_0x31b86d[_0x1cd3('0x434')]({'title':_0x30ae29[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x50206d]['type'],'msg':_0x30ae29[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x50206d][_0x1cd3('0x43a')]});}}else{_0x31b86d[_0x1cd3('0x434')]({'title':_0x30ae29['status']?'API:'+_0x30ae29['status']+_0x1cd3('0x436')+_0x30ae29['statusText']:_0x1cd3('0x12d1'),'msg':_0x30ae29[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x30ae29[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x30ae29['message']||_0x30ae29[_0x1cd3('0x43b')]()});}});},function(){});}function _0xda3036(_0x33067d){return _0x33067d===null?undefined:new Date(_0x33067d);}function _0x52631b(_0x4164df){_0x336616[_0x1cd3('0x39d')](_0x4164df);}}}());(function(){'use strict';_0x276df2[_0x1cd3('0xc')]=[_0x1cd3('0x36f'),_0x1cd3('0x460'),_0x1cd3('0x53e'),'$q',_0x1cd3('0x3f7'),_0x1cd3('0x3e7'),_0x1cd3('0x3c5'),_0x1cd3('0x372'),_0x1cd3('0x461'),'api','Auth'];angular[_0x1cd3('0x0')](_0x1cd3('0x31'))[_0x1cd3('0x39b')](_0x1cd3('0x1f1a'),_0x276df2);function _0x276df2(_0x2ddb7a,_0x469f78,_0x4d4cc4,_0x278941,_0x8508de,_0x3b515a,_0x20853a,_0x44a009,_0xe03a4b,_0x2e7432,_0x2477a6){var _0x12898c=this;_0x12898c[_0x1cd3('0x3ca')]=_0x2477a6[_0x1cd3('0x5d')]();_0x12898c[_0x1cd3('0xae5')]={};_0x12898c[_0x1cd3('0x1f1b')]={'count':0x0,'rows':[]};_0x12898c[_0x1cd3('0x1f1c')]=[];_0x12898c[_0x1cd3('0xd27')];_0x12898c[_0x1cd3('0x3d4')]={'fields':_0x1cd3('0x21f'),'limit':0xa,'page':0x1};_0x12898c[_0x1cd3('0xe08')]=_0x4eb22a;_0x12898c[_0x1cd3('0xe0a')]=_0x280df6;_0x12898c[_0x1cd3('0x473')]=_0x15b1cc;_0x12898c[_0x1cd3('0x1f1d')]=_0x3ed2c0;_0x12898c['createOrEditOpenchannelAccountOpenchannelDisposition']=_0x3a199e;_0x12898c['exportSelectedOpenchannelAccountOpenchannelDispositions']=_0x206641;_0x12898c[_0x1cd3('0x1f1e')]=_0x7933be;_0x12898c[_0x1cd3('0x1f1f')]=_0x4ad121;function _0x4eb22a(_0x44f101,_0x528b73){_0x12898c['openchannelAccount']=_0x44f101;_0x12898c[_0x1cd3('0xd27')]=typeof _0x528b73!==_0x1cd3('0x491')?_0x528b73:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x12898c[_0x1cd3('0x3d4')][_0x1cd3('0x1490')]=_0x12898c[_0x1cd3('0xae5')]['id'];_0x12898c[_0x1cd3('0x3d4')]['id']=_0x12898c['openchannelAccount']['id'];_0x3ed2c0();}function _0x280df6(_0x452acb,_0x48f178){var _0x10f01a=_0x20853a[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x1f20'))[_0x1cd3('0xd60')]('<b>'+(_0x452acb['name']||_0x452acb['id']&&_['upperFirst'](_0x1cd3('0x1f21'))+_0x452acb['id']||_0x1cd3('0x1f22'))+_0x1cd3('0xd52')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x1f23'))[_0x1cd3('0xd63')](_0x48f178)['ok']('OK')['cancel'](_0x1cd3('0xd55'));_0x20853a['show'](_0x10f01a)[_0x1cd3('0x77')](function(){_0x7933be(_0x452acb);},function(){console['log'](_0x1cd3('0xd55'));});}function _0x15b1cc(_0x1355df){_0x12898c[_0x1cd3('0x1f1b')]=_0x1355df||{'count':0x0,'rows':[]};}function _0x3ed2c0(){_0x12898c[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0x12898c[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0x12898c[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];_0x12898c[_0x1cd3('0x539')]=_0x2e7432[_0x1cd3('0xae5')][_0x1cd3('0x12db')](_0x12898c['query'],_0x15b1cc)[_0x1cd3('0x81')];}function _0x3a199e(_0x26c932,_0xab9990){_0x20853a[_0x1cd3('0x37e')]({'controller':'CreateOrEditOpenchannelDispositionDialogController','controllerAs':'vm','templateUrl':_0x1cd3('0x1f24'),'parent':angular[_0x1cd3('0x37f')](_0x44a009[_0x1cd3('0x380')]),'targetEvent':_0x26c932,'clickOutsideToClose':!![],'locals':{'openchannelAccount':_0x12898c['openchannelAccount'],'openchannelDisposition':_0xab9990,'openchannelDispositions':_0x12898c[_0x1cd3('0x1f1b')][_0x1cd3('0xf6')],'license':null,'setting':null,'crudPermissions':_0x12898c[_0x1cd3('0xd27')]}});}function _0x7933be(_0x17a822){_0x2e7432[_0x1cd3('0xb63')]['delete']({'id':_0x17a822['id']})['$promise'][_0x1cd3('0x77')](function(){_['remove'](_0x12898c['openchannelAccountOpenchannelDispositions'][_0x1cd3('0xf6')],{'id':_0x17a822['id']});_0x12898c['openchannelAccountOpenchannelDispositions'][_0x1cd3('0x466')]-=0x1;if(!_0x12898c[_0x1cd3('0x1f1b')][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){_0x3ed2c0();}_0xe03a4b[_0x1cd3('0x473')]({'title':_0x1cd3('0x1f25'),'msg':_0x17a822[_0x1cd3('0x98')]?_0x17a822[_0x1cd3('0x98')]+_0x1cd3('0xd41'):''});})[_0x1cd3('0xfd')](function(_0x19d296){if(_0x19d296[_0x1cd3('0x439')]&&_0x19d296[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x19d296[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){vm['errors']=_0x19d296[_0x1cd3('0x439')]['errors']||[{'message':_0x19d296['toString'](),'type':_0x1cd3('0x1f02')}];for(var _0x11a5e1=0x0;_0x11a5e1<_0x19d296['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x11a5e1++){_0xe03a4b[_0x1cd3('0x434')]({'title':_0x19d296[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x11a5e1][_0x1cd3('0x424')],'msg':_0x19d296['data'][_0x1cd3('0xd34')][_0x11a5e1]['message']});}}else{_0xe03a4b['error']({'title':_0x19d296[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x19d296[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x19d296[_0x1cd3('0xd35')]:'SYSTEM:GETopenchannelAccount','msg':_0x19d296[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x19d296['data'][_0x1cd3('0x43a')]):_0x19d296[_0x1cd3('0x43a')]||_0x19d296[_0x1cd3('0x43b')]()});}});}function _0x206641(){var _0x42243a=angular[_0x1cd3('0x429')](_0x12898c[_0x1cd3('0x1f1c')]);_0x12898c[_0x1cd3('0x1f1c')]=[];return _0x42243a;}function _0x4ad121(_0x452bd8){var _0x17da31=_0x20853a['confirm']()[_0x1cd3('0x486')](_0x1cd3('0x1f26'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x12898c['selectedOpenchannelAccountOpenchannelDispositions']['length']+_0x1cd3('0xd61')+_0x1cd3('0xd53'))['ariaLabel']('delete\x20openchannelDispositions')['targetEvent'](_0x452bd8)['ok']('OK')[_0x1cd3('0x4d8')]('CANCEL');_0x20853a['show'](_0x17da31)[_0x1cd3('0x77')](function(){_0x12898c['selectedOpenchannelAccountOpenchannelDispositions'][_0x1cd3('0x394')](function(_0x172a78){_0x7933be(_0x172a78);});_0x12898c[_0x1cd3('0x1f1c')]=[];});}var _0x36e3c8=!![];var _0x127982=0x1;_0x469f78[_0x1cd3('0x4d6')](_0x1cd3('0x1340'),function(_0x425097,_0x5e5fc5){if(_0x36e3c8){_0x3b515a(function(){_0x36e3c8=![];});}else{if(!_0x5e5fc5){_0x127982=_0x12898c[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0x425097!==_0x5e5fc5){_0x12898c[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}if(!_0x425097){_0x12898c[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0x127982;}_0x3ed2c0();}});}}());(function(){'use strict';_0x53f329[_0x1cd3('0xc')]=['$scope',_0x1cd3('0x53e'),_0x1cd3('0xd24'),_0x1cd3('0x3c5'),'$q',_0x1cd3('0x3f7'),_0x1cd3('0x461'),_0x1cd3('0x1f27'),_0x1cd3('0x1f22'),_0x1cd3('0x370'),'Auth',_0x1cd3('0x463'),'setting',_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x31'))['controller'](_0x1cd3('0x1f28'),_0x53f329);function _0x53f329(_0x8a2743,_0x27253f,_0x2f2d1a,_0x518314,_0x4c2182,_0x3219ba,_0x156574,_0x367dab,_0x4b5a4d,_0x2487da,_0x13d748,_0x37c58f,_0x7d0c9f,_0x531905){var _0x3b2858=this;_0x3b2858[_0x1cd3('0x3ca')]=_0x13d748[_0x1cd3('0x5d')]();_0x3b2858['errors']=[];_0x3b2858['setting']=_0x7d0c9f;_0x3b2858[_0x1cd3('0x463')]=_0x37c58f;_0x3b2858[_0x1cd3('0xd27')]=_0x531905;_0x3b2858[_0x1cd3('0xd28')]={};_0x3b2858[_0x1cd3('0xd29')]=_0x3b2858[_0x1cd3('0xc49')]&&_0x3b2858['setting'][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x3b2858['title']='OPENCHANNEL.EDIT_OPENCHANNELDISPOSITION';_0x3b2858[_0x1cd3('0x1f22')]=angular[_0x1cd3('0x429')](_0x4b5a4d);_0x3b2858[_0x1cd3('0x1f27')]=_0x367dab;_0x3b2858['newOpenchannelDisposition']=![];if(!_0x3b2858[_0x1cd3('0x1f22')]){_0x3b2858['openchannelDisposition']={};_0x3b2858[_0x1cd3('0x486')]=_0x1cd3('0x1f29');_0x3b2858['newOpenchannelDisposition']=!![];}if(_0x27253f[_0x1cd3('0x36a')]['id']){_0x3b2858[_0x1cd3('0x1f22')]['OpenchannelAccountId']=_0x27253f['params']['id'];}_0x3b2858[_0x1cd3('0x1f2a')]=_0x2c6526;_0x3b2858[_0x1cd3('0x1f2b')]=_0x4a4c58;_0x3b2858[_0x1cd3('0x1f2c')]=_0x4f5e6a;_0x3b2858['getDateFromString']=_0x350c16;_0x3b2858[_0x1cd3('0x39c')]=_0x13dc2a;function _0x2c6526(){_0x3b2858[_0x1cd3('0xd34')]=[];_0x2487da[_0x1cd3('0xb63')][_0x1cd3('0xd6d')](_0x3b2858[_0x1cd3('0x1f22')])['$promise']['then'](function(_0x2f0a24){_0x3b2858[_0x1cd3('0x1f27')][_0x1cd3('0x621')](_0x2f0a24[_0x1cd3('0xd32')]());_0x156574[_0x1cd3('0x473')]({'title':_0x1cd3('0x1f2d'),'msg':_0x3b2858['openchannelDisposition']['name']?_0x3b2858[_0x1cd3('0x1f22')][_0x1cd3('0x98')]+_0x1cd3('0xd33'):''});_0x13dc2a(_0x2f0a24);})[_0x1cd3('0xfd')](function(_0x246f7d){if(_0x246f7d[_0x1cd3('0x439')]&&_0x246f7d[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x246f7d['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x3b2858[_0x1cd3('0xd34')]=_0x246f7d[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x246f7d[_0x1cd3('0x43b')](),'type':_0x1cd3('0x12e8')}];for(var _0x1570b3=0x0;_0x1570b3<_0x246f7d[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0x1570b3+=0x1){_0x156574[_0x1cd3('0x434')]({'title':_0x246f7d[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1570b3][_0x1cd3('0x424')],'msg':_0x246f7d[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1570b3][_0x1cd3('0x43a')]});}}else{_0x156574['error']({'title':_0x246f7d[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x246f7d['status']+_0x1cd3('0x436')+_0x246f7d[_0x1cd3('0xd35')]:'api.disposition.save','msg':_0x246f7d['data']?JSON['stringify'](_0x246f7d['data'][_0x1cd3('0x43a')]):_0x246f7d[_0x1cd3('0x43b')]()});}});}function _0x4a4c58(){_0x3b2858['errors']=[];_0x2487da['disposition']['update']({'id':_0x3b2858[_0x1cd3('0x1f22')]['id']},_0x3b2858['openchannelDisposition'])[_0x1cd3('0x81')]['then'](function(_0x229636){var _0x1c7049=_[_0x1cd3('0x442')](_0x3b2858[_0x1cd3('0x1f27')],{'id':_0x229636['id']});if(_0x1c7049){_['merge'](_0x1c7049,_['pick'](_0x229636['toJSON'](),_['keys'](_0x1c7049)));}_0x156574[_0x1cd3('0x473')]({'title':_0x1cd3('0x1f2e'),'msg':_0x3b2858[_0x1cd3('0x1f22')][_0x1cd3('0x98')]?_0x3b2858[_0x1cd3('0x1f22')][_0x1cd3('0x98')]+_0x1cd3('0xd37'):''});_0x13dc2a(_0x229636);})[_0x1cd3('0xfd')](function(_0x28caca){if(_0x28caca['data']&&_0x28caca[_0x1cd3('0x439')]['errors']&&_0x28caca['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x3b2858[_0x1cd3('0xd34')]=_0x28caca['data'][_0x1cd3('0xd34')]||[{'message':_0x28caca[_0x1cd3('0x43b')](),'type':_0x1cd3('0x12ea')}];for(var _0x52613a=0x0;_0x52613a<_0x28caca[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x52613a++){_0x156574[_0x1cd3('0x434')]({'title':_0x28caca[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x52613a][_0x1cd3('0x424')],'msg':_0x28caca[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x52613a][_0x1cd3('0x43a')]});}}else{_0x156574[_0x1cd3('0x434')]({'title':_0x28caca['status']?_0x1cd3('0x435')+_0x28caca[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x28caca[_0x1cd3('0xd35')]:_0x1cd3('0x12ea'),'msg':_0x28caca['data']?JSON[_0x1cd3('0x438')](_0x28caca[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x28caca[_0x1cd3('0x43b')]()});}});}function _0x4f5e6a(_0x275a21){_0x3b2858[_0x1cd3('0xd34')]=[];var _0x55628c=_0x518314[_0x1cd3('0xd39')]()['title'](_0x1cd3('0xd3a'))[_0x1cd3('0xd3b')](_0x1cd3('0x1f2f'))[_0x1cd3('0xd3d')]('Delete\x20OpenchannelDisposition')['ok'](_0x1cd3('0xd3f'))[_0x1cd3('0x4d8')](_0x1cd3('0x674'))[_0x1cd3('0xd63')](_0x275a21);_0x518314[_0x1cd3('0x37e')](_0x55628c)[_0x1cd3('0x77')](function(){_0x2487da['disposition'][_0x1cd3('0xa1c')]({'id':_0x3b2858[_0x1cd3('0x1f22')]['id']})[_0x1cd3('0x81')]['then'](function(){_[_0x1cd3('0x383')](_0x3b2858['openchannelDispositions'],{'id':_0x3b2858[_0x1cd3('0x1f22')]['id']});_0x156574[_0x1cd3('0x473')]({'title':'OpenchannelDisposition\x20properly\x20deleted!','msg':(_0x3b2858[_0x1cd3('0x1f22')]['name']||_0x1cd3('0x1f22'))+_0x1cd3('0xd41')});_0x13dc2a(_0x3b2858[_0x1cd3('0x1f22')]);})[_0x1cd3('0xfd')](function(_0x2249ec){if(_0x2249ec[_0x1cd3('0x439')]&&_0x2249ec[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x2249ec['data']['errors'][_0x1cd3('0x7a')]){_0x3b2858[_0x1cd3('0xd34')]=_0x2249ec[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x2249ec[_0x1cd3('0x43b')](),'type':'api.disposition.delete'}];for(var _0x5f31d5=0x0;_0x5f31d5<_0x2249ec[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length'];_0x5f31d5++){_0x156574[_0x1cd3('0x434')]({'title':_0x2249ec['data'][_0x1cd3('0xd34')][_0x5f31d5][_0x1cd3('0x424')],'msg':_0x2249ec[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x5f31d5][_0x1cd3('0x43a')]});}}else{_0x156574[_0x1cd3('0x434')]({'title':_0x2249ec['status']?'API:'+_0x2249ec[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x2249ec['statusText']:'api.disposition.delete','msg':_0x2249ec['data']?JSON[_0x1cd3('0x438')](_0x2249ec[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x2249ec[_0x1cd3('0x43a')]||_0x2249ec[_0x1cd3('0x43b')]()});}});},function(){});}function _0x350c16(_0x3e5e51){return _0x3e5e51===null?undefined:new Date(_0x3e5e51);}function _0x13dc2a(_0x3fb258){_0x518314[_0x1cd3('0x39d')](_0x3fb258);}}}());(function(){'use strict';_0x5cbf1b['$inject']=['$state',_0x1cd3('0xd24'),'$mdDialog','$document',_0x1cd3('0x3f7'),'license',_0x1cd3('0xc49'),_0x1cd3('0x370'),_0x1cd3('0x461'),_0x1cd3('0x56'),_0x1cd3('0xae5'),_0x1cd3('0x390')];angular['module']('app.openchannel')[_0x1cd3('0x39b')](_0x1cd3('0x1f30'),_0x5cbf1b);function _0x5cbf1b(_0x5ed76d,_0x56d372,_0x5adcf6,_0x58ae5e,_0x314321,_0x4f25c5,_0x1f2434,_0x9749e7,_0x1f6f7f,_0x2cfaf0,_0x393a41,_0x5403b9){var _0x63204f=this;_0x63204f[_0x1cd3('0x3ca')]=_0x2cfaf0[_0x1cd3('0x5d')]();_0x63204f[_0x1cd3('0x463')]=_0x4f25c5;_0x63204f[_0x1cd3('0xc49')]=_0x1f2434;_0x63204f[_0x1cd3('0xd29')]=_0x63204f[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x63204f[_0x1cd3('0xd22')]=_0x56d372['protocol']()+_0x1cd3('0x11cf')+_0x56d372[_0x1cd3('0x3ac')]();_0x63204f[_0x1cd3('0xae5')]=_0x393a41||_0x5ed76d[_0x1cd3('0x36a')][_0x1cd3('0xae5')]||{};_0x63204f[_0x1cd3('0x390')]=_0x5403b9&&_0x5403b9['count']==0x1?_0x5403b9[_0x1cd3('0xf6')][0x0]:null;_0x63204f['crudPermissions']=_0x2cfaf0[_0x1cd3('0xd44')](_0x63204f[_0x1cd3('0x390')]?_0x63204f[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);_0x63204f[_0x1cd3('0xd28')]={};_0x63204f[_0x1cd3('0xe5f')]=_0x5ed76d[_0x1cd3('0x36a')][_0x1cd3('0x1418')]||0x0;_0x63204f[_0x1cd3('0x119b')]=_0x419b77;_0x63204f[_0x1cd3('0x11d0')]=_0x1f6f7f[_0x1cd3('0x654')];_0x63204f['gotoOpenchannelAccounts']=_0x3c12cf;_0x63204f[_0x1cd3('0x1ecf')]=_0x137465;_0x2cfaf0[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x9749e7[_0x1cd3('0xc8f')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x2b09bf){_0x63204f[_0x1cd3('0xf5')]=_0x2b09bf[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x254962){_0x1f6f7f[_0x1cd3('0x434')]({'title':_0x254962[_0x1cd3('0x3a6')]?'API:'+_0x254962[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x254962[_0x1cd3('0xd35')]:_0x1cd3('0x11f3'),'msg':_0x254962[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x254962['data']):_0x254962['toString']()});}):_0x9749e7[_0x1cd3('0xc8f')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x528c89){_0x63204f[_0x1cd3('0xf5')]=_0x528c89['rows']||[];})[_0x1cd3('0x77')](function(){return _0x9749e7[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x63204f[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x12d})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x1be7fb){var _0x159049=_0x1be7fb&&_0x1be7fb[_0x1cd3('0xf6')]?_0x1be7fb[_0x1cd3('0xf6')][0x0]:null;if(!_0x159049){var _0x42e338=[];var _0x4f9752=null;if(_0x63204f['openchannelAccount']){_0x4f9752=_[_0x1cd3('0x442')](_0x63204f[_0x1cd3('0xf5')],{'id':Number(_0x63204f[_0x1cd3('0xae5')][_0x1cd3('0x106')])});}for(var _0x429edd=0x0;_0x429edd<_0x63204f['lists']['length'];_0x429edd++){if(_0x4f9752&&_0x63204f[_0x1cd3('0xf5')][_0x429edd]['id']===_0x4f9752['id']){_0x63204f[_0x1cd3('0xf5')][_0x429edd][_0x1cd3('0xf4a')]=![];_0x42e338[_0x1cd3('0x7b')](_0x63204f['lists'][_0x429edd]);}}_0x63204f[_0x1cd3('0xf5')]=_0x42e338;}else{if(!_0x159049[_0x1cd3('0x391')]){return _0x9749e7['userProfileResource']['get']({'sectionId':_0x159049['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x41114d){var _0x38dae1=_[_0x1cd3('0x3d9')](_0x41114d[_0x1cd3('0xf6')],function(_0x4a6756){return _['find'](_0x63204f[_0x1cd3('0xf5')],{'id':_0x4a6756[_0x1cd3('0xe8e')]});});var _0x32fee9=null;if(_0x63204f[_0x1cd3('0xae5')]){_0x32fee9=_['find'](_0x63204f[_0x1cd3('0xf5')],{'id':Number(_0x63204f[_0x1cd3('0xae5')][_0x1cd3('0x106')])});}if(_0x32fee9&&!_[_0x1cd3('0x38d')](_0x38dae1,['id',_0x32fee9['id']])){var _0xf6e576=_[_0x1cd3('0x442')](_0x63204f['lists'],{'id':_0x32fee9['id']});_0xf6e576[_0x1cd3('0xf4a')]=![];_0x38dae1[_0x1cd3('0x7b')](_0xf6e576);}_0x63204f['lists']=_0x38dae1;});}}})[_0x1cd3('0xfd')](function(_0x451758){_0x1f6f7f[_0x1cd3('0x434')]({'title':_0x451758[_0x1cd3('0x3a6')]?'API:'+_0x451758[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x451758['statusText']:_0x1cd3('0x137f'),'msg':_0x451758[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x451758[_0x1cd3('0x439')]):_0x451758['toString']()});});_0x9749e7[_0x1cd3('0xb3d')]['describe']({'id':_0x63204f[_0x1cd3('0xae5')][_0x1cd3('0x106')]})['$promise'][_0x1cd3('0x77')](function(_0x22b7cb){_0x63204f[_0x1cd3('0x3c7')]=[];var _0x22b7cb=_['values'](_0x22b7cb[_0x1cd3('0xd32')]());var _0x1b4cbf=['id',_0x1cd3('0xe0d'),_0x1cd3('0x12fe'),_0x1cd3('0x1f31'),_0x1cd3('0x14ad'),'ListId',_0x1cd3('0x1430')];for(var _0x30c58a=0x0;_0x30c58a<_0x22b7cb['length'];_0x30c58a++){if(!_['includes'](_0x1b4cbf,_0x22b7cb[_0x30c58a][_0x1cd3('0x168e')])){_0x63204f[_0x1cd3('0x3c7')]['push'](_0x22b7cb[_0x30c58a]);}}})['catch'](function(_0x37ae42){_0x1f6f7f['error']({'title':_0x37ae42['status']?_0x1cd3('0x435')+_0x37ae42[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x37ae42[_0x1cd3('0xd35')]:_0x1cd3('0x1f32'),'msg':_0x37ae42['data']?JSON[_0x1cd3('0x438')](_0x37ae42[_0x1cd3('0x439')]):_0x37ae42[_0x1cd3('0x43b')]()});});_0x2cfaf0[_0x1cd3('0x57')]('admin')?_0x9749e7['pause'][_0x1cd3('0x361')]({'fields':_0x1cd3('0x1380'),'sort':'name','nolimit':'true'})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x3876b6){_0x63204f['pauses']=_0x3876b6[_0x1cd3('0xf6')]||[];})['catch'](function(_0x439ce6){_0x1f6f7f[_0x1cd3('0x434')]({'title':_0x439ce6[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x439ce6['status']+_0x1cd3('0x436')+_0x439ce6[_0x1cd3('0xd35')]:_0x1cd3('0x1382'),'msg':_0x439ce6[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x439ce6[_0x1cd3('0x439')]):_0x439ce6['toString']()});}):_0x9749e7['pause']['get']({'fields':_0x1cd3('0x1380'),'sort':_0x1cd3('0x98'),'nolimit':'true'})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x3f3b61){_0x63204f['pauses']=_0x3f3b61[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x9749e7[_0x1cd3('0x390')]['get']({'userProfileId':_0x63204f[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x3ed})['$promise'];})[_0x1cd3('0x77')](function(_0x162b3d){var _0x4175d2=_0x162b3d&&_0x162b3d[_0x1cd3('0xf6')]?_0x162b3d[_0x1cd3('0xf6')][0x0]:null;if(!_0x4175d2){_0x63204f[_0x1cd3('0x1381')]=[];}else{if(!_0x4175d2[_0x1cd3('0x391')]){return _0x9749e7['userProfileResource'][_0x1cd3('0x361')]({'sectionId':_0x4175d2['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x5522f7){var _0x5e17e2=_[_0x1cd3('0x3d9')](_0x5522f7[_0x1cd3('0xf6')],function(_0xeba03a){return _[_0x1cd3('0x442')](_0x63204f[_0x1cd3('0x1381')],{'id':_0xeba03a[_0x1cd3('0xe8e')]});});_0x63204f[_0x1cd3('0x1381')]['forEach'](function(_0x227443){if(!_[_0x1cd3('0x38d')](_0x5e17e2,['id',_0x227443['id']])){_0x227443['canSelect']=![];}_0x5e17e2[_0x1cd3('0x7b')](_0x227443);});_0x63204f[_0x1cd3('0x1381')]=_0x5e17e2;});}}})[_0x1cd3('0xfd')](function(_0x3e04d7){_0x1f6f7f['error']({'title':_0x3e04d7[_0x1cd3('0x3a6')]?'API:'+_0x3e04d7[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x3e04d7[_0x1cd3('0xd35')]:'SYSTEM:GETpauses','msg':_0x3e04d7[_0x1cd3('0x439')]?JSON['stringify'](_0x3e04d7[_0x1cd3('0x439')]):_0x3e04d7['toString']()});});function _0x419b77(_0x1303c0,_0x433d54){_0x5adcf6[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1ee8'),'controllerAs':'vm','templateUrl':'app/main/apps/openchannel/views/openchannelAccounts/edit/agentadd/agentadd.html','parent':angular[_0x1cd3('0x37f')](_0x58ae5e[_0x1cd3('0x380')]),'targetEvent':_0x433d54,'clickOutsideToClose':!![],'locals':{'openchannelAccount':_0x1303c0,'openchannelAccounts':_0x63204f['openchannelAccounts']?_0x63204f[_0x1cd3('0x15fb')][_0x1cd3('0xf6')]:[],'crudPermissions':_0x63204f[_0x1cd3('0xd27')],'realtime':![]}});}function _0x3c12cf(){_0x5ed76d['go'](_0x1cd3('0x1f33'),{},{'reload':'app.openchannel.openchannelAccounts'});}function _0x137465(){_0x9749e7[_0x1cd3('0xae5')][_0x1cd3('0x378')]({'id':_0x63204f[_0x1cd3('0xae5')]['id']},_0x63204f[_0x1cd3('0xae5')])[_0x1cd3('0x81')]['then'](function(){_0x1f6f7f[_0x1cd3('0x473')]({'title':_0x1cd3('0x1f34'),'msg':_0x63204f[_0x1cd3('0xae5')]['name']?_0x63204f[_0x1cd3('0xae5')][_0x1cd3('0x98')]+_0x1cd3('0xe65'):''});})[_0x1cd3('0xfd')](function(_0x1dbad6){_0x1f6f7f[_0x1cd3('0x434')]({'title':_0x1dbad6[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x1dbad6[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x1dbad6[_0x1cd3('0xd35')]:_0x1cd3('0x1f02'),'msg':_0x1dbad6['data']?JSON[_0x1cd3('0x438')](_0x1dbad6[_0x1cd3('0x439')]):_0x1dbad6[_0x1cd3('0x43b')]()});});}}}());(function(){'use strict';_0x471f8d[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x371'),_0x1cd3('0x53e'),_0x1cd3('0x969'),_0x1cd3('0x3c5'),'$document','$timeout',_0x1cd3('0x3f7'),_0x1cd3('0x15fb'),_0x1cd3('0x38a'),_0x1cd3('0x390'),_0x1cd3('0x370'),_0x1cd3('0x2dd'),_0x1cd3('0x461'),'Auth',_0x1cd3('0x463'),_0x1cd3('0xc49')];angular[_0x1cd3('0x0')]('app.openchannel')[_0x1cd3('0x39b')](_0x1cd3('0x1f35'),_0x471f8d);function _0x471f8d(_0x460907,_0x16a358,_0x4640ba,_0x2b914c,_0x3fbabf,_0x2ed9bb,_0x44748c,_0x152027,_0x50269a,_0x2b32fb,_0x128cfd,_0xa3dffb,_0xc1d0f1,_0x5ddfb1,_0x587084,_0x3deb0d,_0x343bdf){var _0x33f518=this;_0x33f518['license']=_0x3deb0d;_0x33f518['setting']=_0x343bdf;_0x33f518[_0x1cd3('0x3ca')]=_0x587084['getCurrentUser']();_0x33f518[_0x1cd3('0x15fb')]=_0x50269a||{'count':0x0,'rows':[]};_0x33f518['userProfile']=_0x2b32fb;_0x33f518[_0x1cd3('0x390')]=_0x128cfd&&_0x128cfd['count']==0x1?_0x128cfd[_0x1cd3('0xf6')][0x0]:null;_0x33f518[_0x1cd3('0xd27')]=_0x587084[_0x1cd3('0xd44')](_0x33f518['userProfileSection']?_0x33f518[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);_0x33f518[_0x1cd3('0xd45')]=_0x1cd3('0x15fb');_0x33f518[_0x1cd3('0xd46')]='';_0x33f518['listOrderAsc']=null;_0x33f518[_0x1cd3('0x1f36')]=[];_0x33f518[_0x1cd3('0x3d4')]={'fields':_0x1cd3('0x238'),'sort':'-updatedAt','limit':0xa,'page':0x1};_0x33f518[_0x1cd3('0x1171')]=_0x28696b;_0x33f518['interactionsgoto']=_0x5b1a55;_0x33f518['agentadddialog']=_0xc49ccb;_0x33f518[_0x1cd3('0xecc')]=_0x10c58e;_0x33f518[_0x1cd3('0x473')]=_0x4589ca;_0x33f518[_0x1cd3('0x15f7')]=_0x21797a;_0x33f518['createOrEditOpenchannelAccount']=_0x508eab;_0x33f518[_0x1cd3('0x1f37')]=_0x1b390b;_0x33f518[_0x1cd3('0x1f38')]=_0x32171c;_0x33f518[_0x1cd3('0x1f39')]=_0x29e083;_0x33f518[_0x1cd3('0x1f3a')]=_0x3f34d2;_0x33f518[_0x1cd3('0x1f3b')]=_0x166f7a;_0x587084[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0xa3dffb[_0x1cd3('0xc8f')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0xd3b822){_0x33f518[_0x1cd3('0xf5')]=_0xd3b822[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x253998){_0x5ddfb1[_0x1cd3('0x434')]({'title':_0x253998['status']?_0x1cd3('0x435')+_0x253998['status']+_0x1cd3('0x436')+_0x253998[_0x1cd3('0xd35')]:_0x1cd3('0x11f3'),'msg':_0x253998[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x253998[_0x1cd3('0x439')]):_0x253998[_0x1cd3('0x43b')]()});}):_0xa3dffb['cmList'][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x12bd87){_0x33f518[_0x1cd3('0xf5')]=_0x12bd87[_0x1cd3('0xf6')]||[];})['then'](function(){return _0xa3dffb[_0x1cd3('0x390')]['get']({'userProfileId':_0x33f518[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x12d})['$promise'];})[_0x1cd3('0x77')](function(_0x54fb8a){var _0x65a138=_0x54fb8a&&_0x54fb8a[_0x1cd3('0xf6')]?_0x54fb8a['rows'][0x0]:null;if(!_0x65a138){var _0x30c26d=[];var _0x15144e=null;if(_0x33f518[_0x1cd3('0xae5')]){_0x15144e=_['find'](_0x33f518[_0x1cd3('0xf5')],{'id':Number(_0x33f518['openchannelAccount'][_0x1cd3('0x106')])});}for(var _0x3675cb=0x0;_0x3675cb<_0x33f518[_0x1cd3('0xf5')][_0x1cd3('0x7a')];_0x3675cb++){if(_0x15144e&&_0x33f518[_0x1cd3('0xf5')][_0x3675cb]['id']===_0x15144e['id']){_0x33f518[_0x1cd3('0xf5')][_0x3675cb][_0x1cd3('0xf4a')]=![];_0x30c26d[_0x1cd3('0x7b')](_0x33f518[_0x1cd3('0xf5')][_0x3675cb]);}}_0x33f518[_0x1cd3('0xf5')]=_0x30c26d;}else{if(!_0x65a138['autoAssociation']){return _0xa3dffb[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x65a138['id']})[_0x1cd3('0x81')]['then'](function(_0x5a456e){var _0xb670f7=_[_0x1cd3('0x3d9')](_0x5a456e[_0x1cd3('0xf6')],function(_0x467227){return _[_0x1cd3('0x442')](_0x33f518[_0x1cd3('0xf5')],{'id':_0x467227['resourceId']});});var _0x30c82f=null;if(_0x33f518['openchannelAccount']){_0x30c82f=_[_0x1cd3('0x442')](_0x33f518[_0x1cd3('0xf5')],{'id':Number(_0x33f518[_0x1cd3('0xae5')][_0x1cd3('0x106')])});}if(_0x30c82f&&!_[_0x1cd3('0x38d')](_0xb670f7,['id',_0x30c82f['id']])){var _0x556f38=_[_0x1cd3('0x442')](_0x33f518[_0x1cd3('0xf5')],{'id':_0x30c82f['id']});_0x556f38['canSelect']=![];_0xb670f7['push'](_0x556f38);}_0x33f518['lists']=_0xb670f7;});}}})[_0x1cd3('0xfd')](function(_0x345393){_0x5ddfb1[_0x1cd3('0x434')]({'title':_0x345393[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x345393[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x345393[_0x1cd3('0xd35')]:'SYSTEM:GETlists','msg':_0x345393[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x345393[_0x1cd3('0x439')]):_0x345393[_0x1cd3('0x43b')]()});});function _0x28696b(_0x2c945a,_0x50eab2){_0x4640ba['go'](_0x1cd3('0x1f3c'),{'id':_0x2c945a['id'],'openchannelAccount':_0x2c945a,'crudPermissions':_0x33f518['crudPermissions']});}function _0x5b1a55(_0x314346,_0x18b07c){_0x4640ba['go'](_0x1cd3('0x1f3c'),{'id':_0x314346['id'],'tab':0x5});}function _0xc49ccb(_0x48eaa8,_0x4c67c4){_0x3fbabf[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1ee8'),'controllerAs':'vm','templateUrl':'app/main/apps/openchannel/views/openchannelAccounts/edit/agentadd/agentadd.html','parent':angular[_0x1cd3('0x37f')](_0x2ed9bb['body']),'targetEvent':_0x4c67c4,'clickOutsideToClose':!![],'locals':{'openchannelAccount':_0x48eaa8,'openchannelAccounts':_0x33f518[_0x1cd3('0x15fb')]?_0x33f518[_0x1cd3('0x15fb')][_0x1cd3('0xf6')]:[],'crudPermissions':_0x33f518[_0x1cd3('0xd27')],'realtime':![]}});}function _0x10c58e(_0x3b4a72,_0x2b39a8){var _0x404cf3=_0x3fbabf['confirm']()[_0x1cd3('0x486')](_0x1cd3('0xd4f')+_[_0x1cd3('0xd50')](_0x1cd3('0xae5'))+'?')[_0x1cd3('0xd60')]('<b>'+(_0x3b4a72[_0x1cd3('0x98')]||'openchannelAccount')+_0x1cd3('0xd52')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x1f3d'))[_0x1cd3('0xd63')](_0x2b39a8)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x3fbabf['show'](_0x404cf3)['then'](function(){_0x1b390b(_0x3b4a72);},function(){console['log']('CANCEL');});}var _0x1e9dc9=!![];var _0xfe8a7f=0x1;_0x460907[_0x1cd3('0x4d6')](_0x1cd3('0xd56'),function(_0x372a68,_0x353a53){if(_0x1e9dc9){_0x44748c(function(){_0x1e9dc9=![];});}else{if(!_0x353a53){_0xfe8a7f=_0x33f518[_0x1cd3('0x3d4')]['page'];}if(_0x372a68!==_0x353a53){_0x33f518['query'][_0x1cd3('0x8fd')]=0x1;}if(!_0x372a68){_0x33f518[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0xfe8a7f;}_0x33f518[_0x1cd3('0x15f7')]();}});function _0x4589ca(_0x5f3b97){_0x33f518['openchannelAccounts']=_0x5f3b97||{'count':0x0,'rows':[]};}function _0x21797a(){_0x33f518['query'][_0x1cd3('0xd57')]=(_0x33f518[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0x33f518[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];if(_0x587084['hasRole'](_0x1cd3('0x5f'))){_0x33f518['promise']=_0xa3dffb[_0x1cd3('0xae5')][_0x1cd3('0x361')](_0x33f518[_0x1cd3('0x3d4')],_0x4589ca)[_0x1cd3('0x81')];}else{_0x33f518[_0x1cd3('0x3d4')]['id']=_0x33f518[_0x1cd3('0x38a')]['id'];_0x33f518[_0x1cd3('0x3d4')][_0x1cd3('0xd58')]='OpenchannelAccounts';_0x33f518[_0x1cd3('0x539')]=_0xa3dffb['userProfile'][_0x1cd3('0xd59')](_0x33f518['query'],_0x4589ca)[_0x1cd3('0x81')];}}function _0x508eab(_0x2cf0fd,_0x28cece){_0x3fbabf[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1ecb'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1f3e'),'parent':angular[_0x1cd3('0x37f')](_0x2ed9bb[_0x1cd3('0x380')]),'targetEvent':_0x2cf0fd,'clickOutsideToClose':!![],'locals':{'openchannelAccount':_0x28cece,'openchannelAccounts':_0x33f518['openchannelAccounts'][_0x1cd3('0xf6')],'license':_0x33f518[_0x1cd3('0x463')],'setting':_0x33f518['setting'],'crudPermissions':_0x33f518['crudPermissions']}});}function _0x1b390b(_0x1f4ec8){_0xa3dffb[_0x1cd3('0xae5')][_0x1cd3('0xa1c')]({'id':_0x1f4ec8['id']})['$promise'][_0x1cd3('0x77')](function(){_['remove'](_0x33f518[_0x1cd3('0x15fb')][_0x1cd3('0xf6')],{'id':_0x1f4ec8['id']});_0x33f518[_0x1cd3('0x15fb')][_0x1cd3('0x466')]-=0x1;if(!_0x33f518['openchannelAccounts'][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){_0x33f518[_0x1cd3('0x15f7')]();}_0x5ddfb1[_0x1cd3('0x473')]({'title':_[_0x1cd3('0xd50')]('OpenchannelAccount')+_0x1cd3('0xd5c'),'msg':_0x1f4ec8[_0x1cd3('0x98')]?_0x1f4ec8['name']+_0x1cd3('0xd41'):''});})['catch'](function(_0x46e3f2){if(_0x46e3f2['data']&&_0x46e3f2['data'][_0x1cd3('0xd34')]&&_0x46e3f2[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x33f518[_0x1cd3('0xd34')]=_0x46e3f2[_0x1cd3('0x439')]['errors']||[{'message':_0x46e3f2[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1f3f')}];for(var _0x49519c=0x0;_0x49519c<_0x46e3f2[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x49519c++){_0x5ddfb1['error']({'title':_0x46e3f2[_0x1cd3('0x439')]['errors'][_0x49519c][_0x1cd3('0x424')],'msg':_0x46e3f2[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x49519c][_0x1cd3('0x43a')]});}}else{_0x5ddfb1[_0x1cd3('0x434')]({'title':_0x46e3f2['status']?_0x1cd3('0x435')+_0x46e3f2[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x46e3f2[_0x1cd3('0xd35')]:_0x1cd3('0x1f3f'),'msg':_0x46e3f2[_0x1cd3('0x439')]?JSON['stringify'](_0x46e3f2[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x46e3f2[_0x1cd3('0x43a')]||_0x46e3f2[_0x1cd3('0x43b')]()});}});}function _0x32171c(){var _0x42ce2a=angular['copy'](_0x33f518[_0x1cd3('0x1f36')]);_0x33f518[_0x1cd3('0x1f36')]=[];return _0x42ce2a;}function _0x29e083(_0x3fa2cb){var _0x80f27b=_0x3fbabf[_0x1cd3('0xd39')]()[_0x1cd3('0x486')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20openchannelAccounts?')[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x33f518[_0x1cd3('0x1f36')][_0x1cd3('0x7a')]+_0x1cd3('0xd61')+_0x1cd3('0xd53'))['ariaLabel'](_0x1cd3('0x1f40'))['targetEvent'](_0x3fa2cb)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x3fbabf[_0x1cd3('0x37e')](_0x80f27b)[_0x1cd3('0x77')](function(){_0x33f518[_0x1cd3('0x1f36')][_0x1cd3('0x394')](function(_0x5ab02c){_0x1b390b(_0x5ab02c);});_0x33f518[_0x1cd3('0x1f36')]=[];});}function _0x3f34d2(){_0x33f518[_0x1cd3('0x1f36')]=[];}function _0x166f7a(){_0x33f518['selectedOpenchannelAccounts']=_0x33f518['openchannelAccounts'][_0x1cd3('0xf6')];}}}());(function(){'use strict';_0x569653[_0x1cd3('0xc')]=['$scope','$state',_0x1cd3('0xd24'),_0x1cd3('0x3c5'),'$q',_0x1cd3('0x3f7'),_0x1cd3('0x461'),_0x1cd3('0x16f6'),_0x1cd3('0xafd'),_0x1cd3('0x370'),_0x1cd3('0x56'),'license',_0x1cd3('0xc49'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x31'))[_0x1cd3('0x39b')](_0x1cd3('0x1f41'),_0x569653);function _0x569653(_0x110f92,_0x2e7a74,_0x372774,_0x29dbc6,_0x57ddc2,_0x923b20,_0x10fbeb,_0x56015a,_0x53e379,_0x178aaf,_0x2c048a,_0x29c9ef,_0x2ef225,_0x125111){var _0x4a78a0=this;_0x4a78a0[_0x1cd3('0x3ca')]=_0x2c048a[_0x1cd3('0x5d')]();_0x4a78a0[_0x1cd3('0xd34')]=[];_0x4a78a0['setting']=_0x2ef225;_0x4a78a0[_0x1cd3('0x463')]=_0x29c9ef;_0x4a78a0['crudPermissions']=_0x125111;_0x4a78a0[_0x1cd3('0xd28')]={};_0x4a78a0[_0x1cd3('0xd29')]=_0x4a78a0[_0x1cd3('0xc49')]&&_0x4a78a0[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x4a78a0[_0x1cd3('0x486')]='OPENCHANNEL.EDIT_OPENCHANNELQUEUE';_0x4a78a0[_0x1cd3('0xafd')]=angular[_0x1cd3('0x429')](_0x53e379);_0x4a78a0[_0x1cd3('0x16f6')]=_0x56015a;_0x4a78a0[_0x1cd3('0x1f42')]=![];if(!_0x4a78a0[_0x1cd3('0xafd')]){_0x4a78a0[_0x1cd3('0xafd')]={'strategy':_0x1cd3('0x11b2'),'timeout':0xa};_0x4a78a0[_0x1cd3('0x486')]=_0x1cd3('0x1f43');_0x4a78a0['newOpenchannelQueue']=!![];}_0x4a78a0['addNewOpenchannelQueue']=_0x3aaca8;_0x4a78a0[_0x1cd3('0x1f44')]=_0x5065e3;_0x4a78a0['deleteOpenchannelQueue']=_0x4bdade;_0x4a78a0['getDateFromString']=_0x2326a5;_0x4a78a0[_0x1cd3('0x39c')]=_0x400581;function _0x3aaca8(){_0x4a78a0[_0x1cd3('0xd34')]=[];_0x178aaf[_0x1cd3('0xafd')]['save'](_0x4a78a0[_0x1cd3('0xafd')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x243879){_0x4a78a0[_0x1cd3('0x16f6')][_0x1cd3('0x621')](_0x243879['toJSON']());_0x10fbeb[_0x1cd3('0x473')]({'title':_0x1cd3('0x1f45'),'msg':_0x4a78a0[_0x1cd3('0xafd')][_0x1cd3('0x98')]?_0x4a78a0[_0x1cd3('0xafd')][_0x1cd3('0x98')]+_0x1cd3('0xd33'):''});_0x400581(_0x243879);})['catch'](function(_0x1f233f){if(_0x1f233f[_0x1cd3('0x439')]&&_0x1f233f['data']['errors']&&_0x1f233f[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x4a78a0['errors']=_0x1f233f['data'][_0x1cd3('0xd34')]||[{'message':_0x1f233f[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1f46')}];for(var _0x8872a3=0x0;_0x8872a3<_0x1f233f[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x8872a3+=0x1){_0x10fbeb['error']({'title':_0x1f233f[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x8872a3][_0x1cd3('0x424')],'msg':_0x1f233f[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x8872a3][_0x1cd3('0x43a')]});}}else{_0x10fbeb[_0x1cd3('0x434')]({'title':_0x1f233f[_0x1cd3('0x3a6')]?'API:'+_0x1f233f[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x1f233f[_0x1cd3('0xd35')]:_0x1cd3('0x1f46'),'msg':_0x1f233f['data']?JSON['stringify'](_0x1f233f[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x1f233f[_0x1cd3('0x43b')]()});}});}function _0x5065e3(){_0x4a78a0[_0x1cd3('0xd34')]=[];_0x178aaf[_0x1cd3('0xafd')][_0x1cd3('0x378')]({'id':_0x4a78a0[_0x1cd3('0xafd')]['id']},_0x4a78a0[_0x1cd3('0xafd')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x2dc6e9){var _0x3c7f04=_[_0x1cd3('0x442')](_0x4a78a0[_0x1cd3('0x16f6')],{'id':_0x2dc6e9['id']});if(_0x3c7f04){_['merge'](_0x3c7f04,_['pick'](_0x2dc6e9[_0x1cd3('0xd32')](),_[_0x1cd3('0x80')](_0x3c7f04)));}_0x10fbeb[_0x1cd3('0x473')]({'title':_0x1cd3('0x1f47'),'msg':_0x4a78a0[_0x1cd3('0xafd')][_0x1cd3('0x98')]?_0x4a78a0[_0x1cd3('0xafd')][_0x1cd3('0x98')]+_0x1cd3('0xd37'):''});_0x400581(_0x2dc6e9);})[_0x1cd3('0xfd')](function(_0x52aa90){if(_0x52aa90[_0x1cd3('0x439')]&&_0x52aa90[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x52aa90['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x4a78a0[_0x1cd3('0xd34')]=_0x52aa90['data'][_0x1cd3('0xd34')]||[{'message':_0x52aa90[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1f48')}];for(var _0x2dda8d=0x0;_0x2dda8d<_0x52aa90[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length'];_0x2dda8d++){_0x10fbeb[_0x1cd3('0x434')]({'title':_0x52aa90[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x2dda8d][_0x1cd3('0x424')],'msg':_0x52aa90[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x2dda8d][_0x1cd3('0x43a')]});}}else{_0x10fbeb[_0x1cd3('0x434')]({'title':_0x52aa90[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x52aa90['status']+_0x1cd3('0x436')+_0x52aa90['statusText']:'api.openchannelQueue.update','msg':_0x52aa90[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x52aa90[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x52aa90[_0x1cd3('0x43b')]()});}});}function _0x4bdade(_0x1f4ee3){_0x4a78a0[_0x1cd3('0xd34')]=[];var _0x205de2=_0x29dbc6[_0x1cd3('0xd39')]()['title']('Are\x20you\x20sure?')[_0x1cd3('0xd3b')]('The\x20openchannelQueue\x20will\x20be\x20deleted.')[_0x1cd3('0xd3d')](_0x1cd3('0x1f49'))['ok'](_0x1cd3('0xd3f'))[_0x1cd3('0x4d8')](_0x1cd3('0x674'))[_0x1cd3('0xd63')](_0x1f4ee3);_0x29dbc6[_0x1cd3('0x37e')](_0x205de2)['then'](function(){_0x178aaf[_0x1cd3('0xafd')][_0x1cd3('0xa1c')]({'id':_0x4a78a0[_0x1cd3('0xafd')]['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x4a78a0['openchannelQueues'],{'id':_0x4a78a0[_0x1cd3('0xafd')]['id']});_0x10fbeb[_0x1cd3('0x473')]({'title':'OpenchannelQueue\x20properly\x20deleted!','msg':(_0x4a78a0[_0x1cd3('0xafd')]['name']||_0x1cd3('0xafd'))+'\x20has\x20been\x20deleted!'});_0x400581(_0x4a78a0[_0x1cd3('0xafd')]);})[_0x1cd3('0xfd')](function(_0x1a71ce){if(_0x1a71ce[_0x1cd3('0x439')]&&_0x1a71ce['data'][_0x1cd3('0xd34')]&&_0x1a71ce[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x4a78a0['errors']=_0x1a71ce[_0x1cd3('0x439')]['errors']||[{'message':_0x1a71ce['toString'](),'type':'api.openchannelQueue.delete'}];for(var _0x412d9c=0x0;_0x412d9c<_0x1a71ce[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length'];_0x412d9c++){_0x10fbeb[_0x1cd3('0x434')]({'title':_0x1a71ce['data'][_0x1cd3('0xd34')][_0x412d9c][_0x1cd3('0x424')],'msg':_0x1a71ce[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x412d9c][_0x1cd3('0x43a')]});}}else{_0x10fbeb[_0x1cd3('0x434')]({'title':_0x1a71ce[_0x1cd3('0x3a6')]?'API:'+_0x1a71ce['status']+'\x20-\x20'+_0x1a71ce['statusText']:_0x1cd3('0x1f4a'),'msg':_0x1a71ce[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x1a71ce[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x1a71ce[_0x1cd3('0x43a')]||_0x1a71ce[_0x1cd3('0x43b')]()});}});},function(){});}function _0x2326a5(_0x405b3a){return _0x405b3a===null?undefined:new Date(_0x405b3a);}function _0x400581(_0x1e11f9){_0x29dbc6[_0x1cd3('0x39d')](_0x1e11f9);}}}());(function(){'use strict';_0x28d685[_0x1cd3('0xc')]=['$mdDialog','$q',_0x1cd3('0x461'),'api',_0x1cd3('0xafd'),_0x1cd3('0x16f6'),_0x1cd3('0x11b9'),_0x1cd3('0x3f7'),'Auth',_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x31'))[_0x1cd3('0x39b')](_0x1cd3('0x1f4b'),_0x28d685);function _0x28d685(_0x15b2f2,_0x2b1d29,_0x595167,_0x1c1fa6,_0x1fcdd7,_0x11f2da,_0x402b52,_0x1a377e,_0x32844b,_0x49caa3){var _0x58e092=this;_0x58e092[_0x1cd3('0x3ca')]=_0x32844b[_0x1cd3('0x5d')]();_0x58e092[_0x1cd3('0xafd')]=_0x1fcdd7;_0x58e092['crudPermissions']=_0x49caa3;_0x58e092[_0x1cd3('0x11b9')]=_0x402b52;_0x58e092[_0x1cd3('0x493')]=[];_0x58e092['allowedItems']=[];_0x58e092[_0x1cd3('0x492')]=[];_0x58e092[_0x1cd3('0x11bb')]=[];_0x58e092['startingSelectedItems']=[];_0x58e092['pendingChanges']=![];_0x58e092[_0x1cd3('0x703')]=_0x66281f;_0x58e092[_0x1cd3('0x11bc')]=_0x5eb345;_0x58e092[_0x1cd3('0x39c')]=_0x341518;_0x58e092['dualMultiselectOptions']={'readOnly':!_0x58e092['crudPermissions']['canEdit'],'items':[],'selectedItems':[],'showSelectAndDeselectAll':!![],'orderBy':_0x1cd3('0x98'),'line1':_0x1cd3('0xd3'),'line2':[_0x1cd3('0x98'),_0x1cd3('0x311')],'line3':'','labelAll':_0x1a377e[_0x1cd3('0x44a')](_0x1cd3('0x1f4c')),'labelSelected':_0x1a377e['instant'](_0x1cd3('0x1ee9')),'transferCallback':function(_0x56cde5,_0x302ef3){var _0x375e7f=_[_0x1cd3('0x11c8')](_0x58e092[_0x1cd3('0x11be')],_0x58e092[_0x1cd3('0x492')],'id');_0x58e092[_0x1cd3('0x11c6')]=_[_0x1cd3('0x398')](_0x375e7f)?![]:!![];}};function _0x66281f(){return _0x32844b['hasRole'](_0x1cd3('0x5f'))?_0x44922d()['catch'](function(_0x2b91d0){_0x595167[_0x1cd3('0x434')]({'title':_0x2b91d0[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x2b91d0[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x2b91d0[_0x1cd3('0xd35')]:_0x1cd3('0x11bf'),'msg':_0x2b91d0[_0x1cd3('0x3a6')]?JSON[_0x1cd3('0x438')](_0x2b91d0['data']):_0x2b91d0[_0x1cd3('0x43b')]()});}):_0x8def46()[_0x1cd3('0x77')](function(_0x4c385a){_0x58e092[_0x1cd3('0xd58')]=_0x4c385a;return _0x44922d();})[_0x1cd3('0xfd')](function(_0x388292){_0x595167['error']({'title':_0x388292['status']?_0x1cd3('0x435')+_0x388292['status']+_0x1cd3('0x436')+_0x388292[_0x1cd3('0xd35')]:'SYSTEM:GET_AGENTS','msg':_0x388292[_0x1cd3('0x3a6')]?JSON['stringify'](_0x388292[_0x1cd3('0x439')]):_0x388292[_0x1cd3('0x43b')]()});});}function _0x8def46(){return _0x2b1d29(function(_0x4b881b,_0x144522){_0x1c1fa6[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x58e092[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'name':_0x1cd3('0xd4')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x54c0fb){var _0x181539=_0x54c0fb&&_0x54c0fb[_0x1cd3('0xf6')]?_0x54c0fb[_0x1cd3('0xf6')][0x0]:null;_0x4b881b(_0x181539);})['catch'](function(_0x5ebee5){_0x144522(_0x5ebee5);});});}function _0x44922d(){return _0x2b1d29(function(_0x3ec681,_0x207364){return _0x233dba()[_0x1cd3('0x77')](function(_0x350dd9){_0x58e092[_0x1cd3('0x493')]=_0x350dd9[_0x1cd3('0xf6')]?_0x350dd9[_0x1cd3('0xf6')]:[];if(_0x32844b[_0x1cd3('0x57')](_0x1cd3('0x5f'))){return _0x350dd9;}else{if(_0x58e092[_0x1cd3('0xd58')]){return _0x58e092[_0x1cd3('0xd58')][_0x1cd3('0x391')]?_0x350dd9:_0x194640();}else{return null;}}})['then'](function(_0x645f53){var _0x153252=_0x645f53&&_0x645f53[_0x1cd3('0xf6')]?_0x645f53[_0x1cd3('0xf6')]:[];_0x58e092['allowedItems']=_[_0x1cd3('0x3d9')](_0x153252,function(_0x1440ed){return _[_0x1cd3('0x442')](_0x58e092[_0x1cd3('0x493')],{'id':_0x32844b[_0x1cd3('0x57')](_0x1cd3('0x5f'))||_0x58e092[_0x1cd3('0xd58')][_0x1cd3('0x391')]?_0x1440ed['id']:_0x1440ed['resourceId']});});_0x58e092[_0x1cd3('0x11bb')]=angular[_0x1cd3('0x429')](_0x58e092['allowedItems']);_0x58e092[_0x1cd3('0x493')][_0x1cd3('0x394')](function(_0x208702){var _0x1a773b=_[_0x1cd3('0x442')](_0x58e092[_0x1cd3('0x11ba')],{'id':_0x208702['id']});if(_0x32844b[_0x1cd3('0x57')](_0x1cd3('0x5f'))){_0x208702['isValid']=!![];}else{_0x208702['isValid']=typeof _0x1a773b!==_0x1cd3('0x491')?!![]:![];}});return _0x15b044();})[_0x1cd3('0x77')](function(_0x4e2b63){var _0x1c0a07=_0x4e2b63&&_0x4e2b63['rows']?_0x4e2b63['rows']:[];_0x58e092[_0x1cd3('0x492')]=_['map'](_0x1c0a07,function(_0x1ad674){var _0x26913c=_['find'](_0x58e092['items'],{'id':_0x1ad674['id']});_0x26913c[_0x1cd3('0x1146')]=_0x1ad674[_0x1cd3('0x1f4d')]?_0x1cd3('0x1503')+_0x1ad674[_0x1cd3('0x1f4d')]['penalty']:'';_0x26913c['internal']=_0x1ad674[_0x1cd3('0x3d0')](_0x1cd3('0x311'))?'<'+_0x1ad674[_0x1cd3('0x311')]+'>':'';return _0x26913c;});_0x58e092[_0x1cd3('0x11be')]=angular[_0x1cd3('0x429')](_0x58e092[_0x1cd3('0x492')]);_0x58e092[_0x1cd3('0x1145')][_0x1cd3('0x492')]=_0x58e092[_0x1cd3('0x492')];_0x58e092[_0x1cd3('0x1145')][_0x1cd3('0x493')]=_[_0x1cd3('0x1152')](_0x58e092[_0x1cd3('0x11ba')],_0x58e092['dualMultiselectOptions'][_0x1cd3('0x492')],'id');_0x3ec681();})[_0x1cd3('0xfd')](function(_0xdbc535){_0x207364(_0xdbc535);});});}function _0x194640(){return _0x2b1d29(function(_0x560910,_0x313e3f){return _0x1c1fa6[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x58e092[_0x1cd3('0xd58')]['id'],'nolimit':!![]})['$promise'][_0x1cd3('0x77')](function(_0x1bae85){_0x560910(_0x1bae85);})[_0x1cd3('0xfd')](function(_0xad1913){_0x313e3f(_0xad1913);});});}function _0x15b044(){return _0x2b1d29(function(_0x43451d,_0x10c503){return _0x1c1fa6[_0x1cd3('0xafd')][_0x1cd3('0x1269')]({'id':_0x58e092[_0x1cd3('0xafd')]['id'],'fields':_0x1cd3('0x11c1'),'nolimit':!![],'role':_0x1cd3('0xd2')})['$promise']['then'](function(_0x299e4c){_0x43451d(_0x299e4c);})['catch'](function(_0x33e468){_0x10c503(_0x33e468);});});}function _0x233dba(){return _0x2b1d29(function(_0x43024f,_0x578c9d){return _0x1c1fa6[_0x1cd3('0x368')][_0x1cd3('0x361')]({'fields':_0x1cd3('0x11c1'),'nolimit':!![],'role':'agent'})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x333ccb){_0x43024f(_0x333ccb);})['catch'](function(_0x232da4){_0x578c9d(_0x232da4);});});}function _0x3c0ae2(_0x124778){return _0x2b1d29(function(_0x128a06,_0x68d5ef){if(_['isEmpty'](_0x124778)){_0x128a06();}else{_0x1c1fa6[_0x1cd3('0xafd')][_0x1cd3('0x11c2')]({'id':_0x58e092[_0x1cd3('0xafd')]['id'],'ids':_[_0x1cd3('0x3d9')](_0x124778,'id')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x128a06();})[_0x1cd3('0xfd')](function(_0x30eb9c){_0x68d5ef(_0x30eb9c);});}});}function _0x540b34(_0x4dca52){return _0x2b1d29(function(_0x573025,_0x10a3d2){if(_[_0x1cd3('0x398')](_0x4dca52)){_0x573025();}else{_0x1c1fa6[_0x1cd3('0xafd')]['removeAgents']({'id':_0x58e092['openchannelQueue']['id'],'ids':_[_0x1cd3('0x3d9')](_0x4dca52,'id')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x573025();})[_0x1cd3('0xfd')](function(_0xa20eed){_0x10a3d2(_0xa20eed);});}});}function _0x5eb345(){var _0xb3e58b=_[_0x1cd3('0x1152')](_0x58e092[_0x1cd3('0x11be')],_0x58e092[_0x1cd3('0x492')],'id');var _0x4a7791=_['differenceBy'](_0x58e092[_0x1cd3('0x492')],_0x58e092[_0x1cd3('0x11be')],'id');return _0x540b34(_0xb3e58b)[_0x1cd3('0x77')](function(){return _0x3c0ae2(_0x4a7791);})[_0x1cd3('0x77')](function(){_0x58e092[_0x1cd3('0x11c6')]=![];_0x58e092[_0x1cd3('0x11bb')]=angular[_0x1cd3('0x429')](_0x58e092['allowedItems']);_0x58e092['startingSelectedItems']=angular[_0x1cd3('0x429')](_0x58e092[_0x1cd3('0x492')]);_0x595167['success']({'title':_0x1cd3('0x11c4'),'msg':_0x1cd3('0x11c5')});})[_0x1cd3('0xfd')](function(_0x40f423){_0x595167[_0x1cd3('0x434')]({'title':_0x40f423[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x40f423[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x40f423[_0x1cd3('0xd35')]:_0x1cd3('0x11ce'),'msg':_0x40f423['status']?JSON[_0x1cd3('0x438')](_0x40f423[_0x1cd3('0x439')]):_0x40f423['toString']()});});}function _0x341518(){_0x15b2f2['hide']();}}}());(function(){'use strict';_0x50d325['$inject']=['$mdDialog','$q',_0x1cd3('0x461'),_0x1cd3('0x370'),_0x1cd3('0xafd'),_0x1cd3('0x3f7'),_0x1cd3('0x56'),_0x1cd3('0xd27')];angular['module'](_0x1cd3('0x31'))[_0x1cd3('0x39b')]('OpenchannelQueueteamaddController',_0x50d325);function _0x50d325(_0x29c522,_0x59a6a9,_0x455985,_0x57bee0,_0x3182f4,_0xf837d4,_0x3668f5,_0x25130b){var _0x305439=this;_0x305439[_0x1cd3('0x3ca')]=_0x3668f5['getCurrentUser']();_0x305439[_0x1cd3('0xafd')]=_0x3182f4;_0x305439[_0x1cd3('0xd27')]=_0x25130b;_0x305439['items']=[];_0x305439[_0x1cd3('0x11ba')]=[];_0x305439['selectedItems']=[];_0x305439[_0x1cd3('0x11bb')]=[];_0x305439[_0x1cd3('0x11be')]=[];_0x305439[_0x1cd3('0x11c6')]=![];_0x305439[_0x1cd3('0x1145')]={'readOnly':!_0x305439[_0x1cd3('0xd27')][_0x1cd3('0xe3b')],'allowedItems':[],'selectedItems':[],'showSelectAndDeselectAll':!![],'orderBy':'name','line1':_0x1cd3('0x98'),'line2':'','line3':'','labelAll':_0xf837d4[_0x1cd3('0x44a')](_0x1cd3('0x1f4e')),'labelSelected':_0xf837d4[_0x1cd3('0x44a')](_0x1cd3('0x1f4f')),'transferCallback':function(_0x26baa0,_0x4f1c15){var _0x2182d1=_[_0x1cd3('0x11c8')](_0x305439[_0x1cd3('0x11be')],_0x305439['selectedItems'],'id');_0x305439[_0x1cd3('0x11c6')]=_['isEmpty'](_0x2182d1)?![]:!![];}};_0x305439['onInit']=_0x2d165d;_0x305439[_0x1cd3('0x1968')]=_0x266609;_0x305439[_0x1cd3('0x39c')]=_0x2945fb;function _0x2d165d(){return _0x3668f5['hasRole']('admin')?_0x46e5b4()[_0x1cd3('0xfd')](function(_0x5c5791){_0x455985[_0x1cd3('0x434')]({'title':_0x5c5791[_0x1cd3('0x3a6')]?'API:'+_0x5c5791[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x5c5791[_0x1cd3('0xd35')]:_0x1cd3('0x11c9'),'msg':_0x5c5791[_0x1cd3('0x3a6')]?JSON['stringify'](_0x5c5791[_0x1cd3('0x439')]):_0x5c5791[_0x1cd3('0x43b')]()});}):_0x3bcf3f()['then'](function(_0x108a5b){_0x305439[_0x1cd3('0xd58')]=_0x108a5b;return _0x46e5b4();})[_0x1cd3('0xfd')](function(_0x1d39aa){_0x455985[_0x1cd3('0x434')]({'title':_0x1d39aa['status']?_0x1cd3('0x435')+_0x1d39aa[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x1d39aa[_0x1cd3('0xd35')]:_0x1cd3('0x11c9'),'msg':_0x1d39aa[_0x1cd3('0x3a6')]?JSON['stringify'](_0x1d39aa[_0x1cd3('0x439')]):_0x1d39aa[_0x1cd3('0x43b')]()});});}function _0x3bcf3f(){return _0x59a6a9(function(_0x8c0636,_0x295592){_0x57bee0['userProfileSection']['get']({'userProfileId':_0x305439[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'name':_0x1cd3('0x296')})[_0x1cd3('0x81')]['then'](function(_0x2e4661){var _0x46722c=_0x2e4661&&_0x2e4661['rows']?_0x2e4661[_0x1cd3('0xf6')][0x0]:null;_0x8c0636(_0x46722c);})[_0x1cd3('0xfd')](function(_0x2bfcc5){_0x295592(_0x2bfcc5);});});}function _0x46e5b4(){return _0x59a6a9(function(_0x277a4c,_0x59a89c){return _0x32db93()[_0x1cd3('0x77')](function(_0x303772){_0x305439['items']=_0x303772[_0x1cd3('0xf6')]?_0x303772[_0x1cd3('0xf6')]:[];if(_0x3668f5[_0x1cd3('0x57')](_0x1cd3('0x5f'))){return _0x303772;}else{if(_0x305439[_0x1cd3('0xd58')]){return _0x305439[_0x1cd3('0xd58')]['autoAssociation']?_0x303772:_0x43c18e();}else{return null;}}})[_0x1cd3('0x77')](function(_0x47af08){var _0x5f2953=_0x47af08&&_0x47af08[_0x1cd3('0xf6')]?_0x47af08[_0x1cd3('0xf6')]:[];_0x305439[_0x1cd3('0x11ba')]=_[_0x1cd3('0x3d9')](_0x5f2953,function(_0x163d55){return _['find'](_0x305439[_0x1cd3('0x493')],{'id':_0x3668f5[_0x1cd3('0x57')](_0x1cd3('0x5f'))||_0x305439['section'][_0x1cd3('0x391')]?_0x163d55['id']:_0x163d55['resourceId']});});_0x305439['items'][_0x1cd3('0x394')](function(_0x4f5968){var _0x4a4888=_[_0x1cd3('0x442')](_0x305439[_0x1cd3('0x11ba')],{'id':_0x4f5968['id']});if(_0x3668f5['hasRole']('admin')){_0x4f5968['isValid']=!![];}else{_0x4f5968[_0x1cd3('0x490')]=typeof _0x4a4888!==_0x1cd3('0x491')?!![]:![];}});return _0x444ce3();})[_0x1cd3('0x77')](function(_0x27efb1){var _0x13461d=_0x27efb1&&_0x27efb1[_0x1cd3('0xf6')]?_0x27efb1[_0x1cd3('0xf6')]:[];_0x305439['selectedItems']=_[_0x1cd3('0x3d9')](_0x13461d,function(_0x2f6198){return _[_0x1cd3('0x442')](_0x305439[_0x1cd3('0x493')],{'id':_0x2f6198['id']});});_0x305439[_0x1cd3('0x11be')]=angular[_0x1cd3('0x429')](_0x305439[_0x1cd3('0x492')]);_0x305439[_0x1cd3('0x1145')][_0x1cd3('0x492')]=_0x305439[_0x1cd3('0x492')];_0x305439[_0x1cd3('0x1145')][_0x1cd3('0x493')]=_[_0x1cd3('0x1152')](_0x305439[_0x1cd3('0x11ba')],_0x305439[_0x1cd3('0x1145')]['selectedItems'],'id');_0x277a4c();})[_0x1cd3('0xfd')](function(_0x1539ea){_0x59a89c(_0x1539ea);});});}function _0x43c18e(){return _0x59a6a9(function(_0x566dca,_0x4d2e8c){return _0x57bee0['userProfileResource'][_0x1cd3('0x361')]({'sectionId':_0x305439[_0x1cd3('0xd58')]['id'],'nolimit':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x382c2d){_0x566dca(_0x382c2d);})[_0x1cd3('0xfd')](function(_0x15e6b8){_0x4d2e8c(_0x15e6b8);});});}function _0x444ce3(){return _0x59a6a9(function(_0x1eb53c,_0x2fda4b){return _0x57bee0[_0x1cd3('0xafd')][_0x1cd3('0x11ca')]({'id':_0x305439[_0x1cd3('0xafd')]['id'],'fields':_0x1cd3('0xa6'),'nolimit':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x1cade0){_0x1eb53c(_0x1cade0);})[_0x1cd3('0xfd')](function(_0x29aaec){_0x2fda4b(_0x29aaec);});});}function _0x32db93(){return _0x59a6a9(function(_0x3a8f83,_0x2de399){return _0x57bee0['team']['get']({'fields':'id,name','nolimit':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x147a60){_0x3a8f83(_0x147a60);})[_0x1cd3('0xfd')](function(_0x29f4bc){_0x2de399(_0x29f4bc);});});}function _0x5dbbfa(_0x38b9f1){return _0x59a6a9(function(_0x30b73f,_0x49b951){if(_[_0x1cd3('0x398')](_0x38b9f1)){_0x30b73f();}else{_0x57bee0[_0x1cd3('0xafd')][_0x1cd3('0x11cb')]({'id':_0x305439[_0x1cd3('0xafd')]['id'],'ids':_['map'](_0x38b9f1,'id')})[_0x1cd3('0x81')]['then'](function(){_0x30b73f();})[_0x1cd3('0xfd')](function(_0x5091c0){_0x49b951(_0x5091c0);});}});}function _0x46e280(_0x526091){return _0x59a6a9(function(_0x458d15,_0x1aaf40){if(_[_0x1cd3('0x398')](_0x526091)){_0x458d15();}else{_0x57bee0[_0x1cd3('0xafd')][_0x1cd3('0x11cc')]({'id':_0x305439['openchannelQueue']['id'],'ids':_[_0x1cd3('0x3d9')](_0x526091,'id')})[_0x1cd3('0x81')]['then'](function(){_0x458d15();})['catch'](function(_0x14141c){_0x1aaf40(_0x14141c);});}});}function _0x266609(){var _0x5e63f4=_[_0x1cd3('0x1152')](_0x305439[_0x1cd3('0x11be')],_0x305439[_0x1cd3('0x492')],'id');var _0x1ea05b=_['differenceBy'](_0x305439[_0x1cd3('0x492')],_0x305439['startingSelectedItems'],'id');return _0x46e280(_0x5e63f4)[_0x1cd3('0x77')](function(){return _0x5dbbfa(_0x1ea05b);})['then'](function(){_0x305439[_0x1cd3('0x11c6')]=![];_0x305439[_0x1cd3('0x11bb')]=angular[_0x1cd3('0x429')](_0x305439[_0x1cd3('0x11ba')]);_0x305439[_0x1cd3('0x11be')]=angular[_0x1cd3('0x429')](_0x305439[_0x1cd3('0x492')]);_0x455985[_0x1cd3('0x473')]({'title':_0x1cd3('0x11c4'),'msg':'Teams\x20association\x20has\x20been\x20updated!'});})[_0x1cd3('0xfd')](function(_0x5e5369){_0x455985['error']({'title':_0x5e5369['status']?_0x1cd3('0x435')+_0x5e5369[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x5e5369[_0x1cd3('0xd35')]:_0x1cd3('0x11ce'),'msg':_0x5e5369[_0x1cd3('0x3a6')]?JSON['stringify'](_0x5e5369[_0x1cd3('0x439')]):_0x5e5369['toString']()});});}function _0x2945fb(){_0x29c522[_0x1cd3('0x39d')]();}}}());(function(){'use strict';_0x529703[_0x1cd3('0xc')]=[_0x1cd3('0x53e'),_0x1cd3('0xd24'),_0x1cd3('0x3c5'),_0x1cd3('0x372'),_0x1cd3('0x3f7'),_0x1cd3('0x463'),_0x1cd3('0xc49'),_0x1cd3('0x370'),'toasty',_0x1cd3('0x56'),_0x1cd3('0xafd'),_0x1cd3('0x390')];angular['module'](_0x1cd3('0x31'))['controller'](_0x1cd3('0x1f50'),_0x529703);function _0x529703(_0x91efc3,_0x1f8a24,_0xd2ee31,_0x29d11f,_0x74a146,_0x120b5a,_0x1a3def,_0x3114d3,_0x530635,_0x850375,_0x352028,_0x4a6c2b){var _0x5e4925=this;_0x5e4925[_0x1cd3('0x3ca')]=_0x850375[_0x1cd3('0x5d')]();_0x5e4925['license']=_0x120b5a;_0x5e4925[_0x1cd3('0xc49')]=_0x1a3def;_0x5e4925[_0x1cd3('0xd29')]=_0x5e4925[_0x1cd3('0xc49')]['securePassword']?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x5e4925[_0x1cd3('0xd22')]=_0x1f8a24['protocol']()+_0x1cd3('0x11cf')+_0x1f8a24[_0x1cd3('0x3ac')]();_0x5e4925[_0x1cd3('0xafd')]=_0x352028||_0x91efc3[_0x1cd3('0x36a')][_0x1cd3('0xafd')]||{};_0x5e4925[_0x1cd3('0x390')]=_0x4a6c2b&&_0x4a6c2b[_0x1cd3('0x466')]==0x1?_0x4a6c2b[_0x1cd3('0xf6')][0x0]:null;_0x5e4925[_0x1cd3('0xd27')]=_0x850375[_0x1cd3('0xd44')](_0x5e4925['userProfileSection']?_0x5e4925[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);_0x5e4925[_0x1cd3('0xd28')]={};_0x5e4925[_0x1cd3('0xe5f')]=_0x91efc3[_0x1cd3('0x36a')][_0x1cd3('0x1418')]||0x0;_0x5e4925[_0x1cd3('0x119a')]=_0xe29ee2;_0x5e4925[_0x1cd3('0x119b')]=_0x5c0bef;_0x5e4925[_0x1cd3('0x11d0')]=_0x530635[_0x1cd3('0x654')];_0x5e4925[_0x1cd3('0x1f51')]=_0x50479c;_0x5e4925['saveOpenchannelQueue']=_0x235e7d;function _0xe29ee2(_0x3b3004,_0x1c592d){_0xd2ee31[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1f52'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1f53'),'parent':angular[_0x1cd3('0x37f')](_0x29d11f['body']),'targetEvent':_0x1c592d,'clickOutsideToClose':!![],'locals':{'openchannelQueue':_0x3b3004,'openchannelQueues':_0x5e4925[_0x1cd3('0x16f6')]?_0x5e4925[_0x1cd3('0x16f6')][_0x1cd3('0xf6')]:[],'crudPermissions':_0x5e4925[_0x1cd3('0xd27')]}});}function _0x5c0bef(_0x17adc4,_0x196f14){_0xd2ee31[_0x1cd3('0x37e')]({'controller':'OpenchannelQueueagentaddController','controllerAs':'vm','templateUrl':_0x1cd3('0x1f54'),'parent':angular['element'](_0x29d11f[_0x1cd3('0x380')]),'targetEvent':_0x196f14,'clickOutsideToClose':!![],'locals':{'openchannelQueue':_0x17adc4,'openchannelQueues':_0x5e4925[_0x1cd3('0x16f6')]?_0x5e4925[_0x1cd3('0x16f6')]['rows']:[],'crudPermissions':_0x5e4925[_0x1cd3('0xd27')],'realtime':![]}});}function _0x50479c(){_0x91efc3['go']('app.openchannel.openchannelQueues',{},{'reload':'app.openchannel.openchannelQueues'});}function _0x235e7d(){_0x3114d3[_0x1cd3('0xafd')][_0x1cd3('0x378')]({'id':_0x5e4925['openchannelQueue']['id']},_0x5e4925[_0x1cd3('0xafd')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x530635[_0x1cd3('0x473')]({'title':_0x1cd3('0x1f55'),'msg':_0x5e4925['openchannelQueue']['name']?_0x5e4925[_0x1cd3('0xafd')]['name']+_0x1cd3('0xe65'):''});})[_0x1cd3('0xfd')](function(_0x330c64){_0x530635[_0x1cd3('0x434')]({'title':_0x330c64[_0x1cd3('0x3a6')]?'API:'+_0x330c64['status']+_0x1cd3('0x436')+_0x330c64[_0x1cd3('0xd35')]:'SYSTEM:GETopenchannelQueue','msg':_0x330c64[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x330c64[_0x1cd3('0x439')]):_0x330c64[_0x1cd3('0x43b')]()});});}}}());(function(){'use strict';_0x52c863[_0x1cd3('0xc')]=['$scope',_0x1cd3('0x371'),_0x1cd3('0x53e'),'$mdSidenav',_0x1cd3('0x3c5'),'$document',_0x1cd3('0x3e7'),_0x1cd3('0x3f7'),_0x1cd3('0x16f6'),_0x1cd3('0x38a'),_0x1cd3('0x390'),'api','msUtils',_0x1cd3('0x461'),_0x1cd3('0x56'),_0x1cd3('0x463'),_0x1cd3('0xc49')];angular['module'](_0x1cd3('0x31'))['controller'](_0x1cd3('0x1f56'),_0x52c863);function _0x52c863(_0x51c119,_0x994623,_0x80fc61,_0x28e0ae,_0x10f082,_0x4f21db,_0x125d38,_0x4a7ad0,_0x3a8ec1,_0x10cecd,_0x3c98a7,_0x3d444e,_0x25483d,_0x40a9ff,_0x58d735,_0x4fc176,_0x205c38){var _0x29c19e=this;_0x29c19e[_0x1cd3('0x463')]=_0x4fc176;_0x29c19e[_0x1cd3('0xc49')]=_0x205c38;_0x29c19e[_0x1cd3('0x3ca')]=_0x58d735['getCurrentUser']();_0x29c19e['openchannelQueues']=_0x3a8ec1||{'count':0x0,'rows':[]};_0x29c19e[_0x1cd3('0x38a')]=_0x10cecd;_0x29c19e['userProfileSection']=_0x3c98a7&&_0x3c98a7['count']==0x1?_0x3c98a7['rows'][0x0]:null;_0x29c19e[_0x1cd3('0xd27')]=_0x58d735[_0x1cd3('0xd44')](_0x29c19e[_0x1cd3('0x390')]?_0x29c19e[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);_0x29c19e[_0x1cd3('0xd45')]='openchannelQueues';_0x29c19e[_0x1cd3('0xd46')]='';_0x29c19e[_0x1cd3('0xd47')]=null;_0x29c19e[_0x1cd3('0x1f57')]=[];_0x29c19e[_0x1cd3('0x3d4')]={'fields':'createdAt,updatedAt,id,name,strategy,timeout,description','sort':_0x1cd3('0x5b'),'channel':_0x1cd3('0x22e'),'limit':0xa,'page':0x1};_0x29c19e[_0x1cd3('0x1f58')]=_['keyBy']([{'option':_0x1cd3('0x1ce5'),'value':_0x1cd3('0x1199')},{'option':'RR\x20Memory','value':'\x27rrmemory\x27'}],function(_0x104e32){return _[_0x1cd3('0x3f1')](_0x104e32[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x29c19e['editstate']=_0x21de7a;_0x29c19e[_0x1cd3('0x119a')]=_0x1216aa;_0x29c19e[_0x1cd3('0x119b')]=_0x25990f;_0x29c19e[_0x1cd3('0xecc')]=_0x2f10d3;_0x29c19e[_0x1cd3('0x119c')]=_0x5979da;_0x29c19e[_0x1cd3('0x473')]=_0xa63ae5;_0x29c19e[_0x1cd3('0x16fb')]=_0x239b80;_0x29c19e[_0x1cd3('0x1f59')]=_0x120ab5;_0x29c19e[_0x1cd3('0x1f5a')]=_0x1ded68;_0x29c19e['exportSelectedOpenchannelQueues']=_0x379165;_0x29c19e['deleteSelectedOpenchannelQueues']=_0x386070;_0x29c19e['deselectOpenchannelQueues']=_0x4514b9;_0x29c19e['selectAllOpenchannelQueues']=_0x335f05;function _0x21de7a(_0x46acd1,_0x4c5612){_0x80fc61['go'](_0x1cd3('0x230'),{'id':_0x46acd1['id'],'openchannelQueue':_0x46acd1,'crudPermissions':_0x29c19e['crudPermissions']});}function _0x1216aa(_0x5f34d0,_0x5a76ea){_0x10f082[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1f52'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1f53'),'parent':angular[_0x1cd3('0x37f')](_0x4f21db[_0x1cd3('0x380')]),'targetEvent':_0x5a76ea,'clickOutsideToClose':!![],'locals':{'openchannelQueue':_0x5f34d0,'openchannelQueues':_0x29c19e[_0x1cd3('0x16f6')]?_0x29c19e[_0x1cd3('0x16f6')][_0x1cd3('0xf6')]:[],'crudPermissions':_0x29c19e['crudPermissions']}});}function _0x25990f(_0x168d58,_0x254b8d){_0x10f082[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1f4b'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1f54'),'parent':angular[_0x1cd3('0x37f')](_0x4f21db[_0x1cd3('0x380')]),'targetEvent':_0x254b8d,'clickOutsideToClose':!![],'locals':{'openchannelQueue':_0x168d58,'openchannelQueues':_0x29c19e['openchannelQueues']?_0x29c19e['openchannelQueues'][_0x1cd3('0xf6')]:[],'crudPermissions':_0x29c19e[_0x1cd3('0xd27')],'realtime':![]}});}function _0x2f10d3(_0x24db22,_0x50a2a0){var _0x3d14c4=_0x10f082[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xd4f')+_[_0x1cd3('0xd50')](_0x1cd3('0xafd'))+'?')[_0x1cd3('0xd60')]('<b>'+(_0x24db22['name']||_0x1cd3('0xafd'))+_0x1cd3('0xd52')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')]('delete\x20openchannelQueue')[_0x1cd3('0xd63')](_0x50a2a0)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x10f082[_0x1cd3('0x37e')](_0x3d14c4)[_0x1cd3('0x77')](function(){_0x1ded68(_0x24db22);},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}function _0x5979da(_0x25245,_0x3c92e2){if(_0x58d735[_0x1cd3('0x57')](_0x1cd3('0x5f'))){_0x80fc61['go'](_0x1cd3('0x1f5b'),{});}else{return _0x3d444e[_0x1cd3('0x390')]['get']({'userProfileId':_0x58d735[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x32a})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x27a960){var _0xcc8306=_0x27a960&&_0x27a960[_0x1cd3('0xf6')]?_0x27a960['rows'][0x0]:null;if(_0xcc8306&&_0xcc8306[_0x1cd3('0x396')]){_0x80fc61['go']('app.openchannel.realtime.queues',{});}else{_0x40a9ff['info']({'title':_0x4a7ad0[_0x1cd3('0x44a')](_0x1cd3('0x1164')),'msg':_0x4a7ad0[_0x1cd3('0x44a')](_0x1cd3('0x11a9'))});}})[_0x1cd3('0xfd')](function(_0xd09405){_0x40a9ff[_0x1cd3('0x434')]({'title':_0xd09405[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0xd09405[_0x1cd3('0x3a6')]+'\x20-\x20'+_0xd09405['statusText']:_0x1cd3('0x11aa'),'msg':_0xd09405[_0x1cd3('0x3a6')]?JSON[_0x1cd3('0x438')](_0xd09405[_0x1cd3('0x439')]):_0xd09405['toString']()});});}}var _0x409b27=!![];var _0x387c86=0x1;_0x51c119[_0x1cd3('0x4d6')](_0x1cd3('0xd56'),function(_0x25aad2,_0xeb69b){if(_0x409b27){_0x125d38(function(){_0x409b27=![];});}else{if(!_0xeb69b){_0x387c86=_0x29c19e[_0x1cd3('0x3d4')]['page'];}if(_0x25aad2!==_0xeb69b){_0x29c19e[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}if(!_0x25aad2){_0x29c19e[_0x1cd3('0x3d4')]['page']=_0x387c86;}_0x29c19e[_0x1cd3('0x16fb')]();}});function _0xa63ae5(_0x2cf6bd){_0x29c19e[_0x1cd3('0x16f6')]=_0x2cf6bd||{'count':0x0,'rows':[]};}function _0x239b80(){_0x29c19e[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0x29c19e[_0x1cd3('0x3d4')]['page']-0x1)*_0x29c19e[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];if(_0x58d735[_0x1cd3('0x57')](_0x1cd3('0x5f'))){_0x29c19e[_0x1cd3('0x539')]=_0x3d444e['openchannelQueue']['get'](_0x29c19e['query'],_0xa63ae5)[_0x1cd3('0x81')];}else{_0x29c19e[_0x1cd3('0x3d4')]['id']=_0x29c19e[_0x1cd3('0x38a')]['id'];_0x29c19e['query'][_0x1cd3('0xd58')]='OpenchannelQueues';_0x29c19e[_0x1cd3('0x539')]=_0x3d444e[_0x1cd3('0x38a')]['getResources'](_0x29c19e['query'],_0xa63ae5)[_0x1cd3('0x81')];}}function _0x120ab5(_0x8294ad,_0x569adb){_0x10f082['show']({'controller':_0x1cd3('0x1f41'),'controllerAs':'vm','templateUrl':'app/main/apps/openchannel/views/openchannelQueues/create/dialog.html','parent':angular['element'](_0x4f21db['body']),'targetEvent':_0x8294ad,'clickOutsideToClose':!![],'locals':{'openchannelQueue':_0x569adb,'openchannelQueues':_0x29c19e[_0x1cd3('0x16f6')][_0x1cd3('0xf6')],'license':_0x29c19e[_0x1cd3('0x463')],'setting':_0x29c19e[_0x1cd3('0xc49')],'crudPermissions':_0x29c19e[_0x1cd3('0xd27')]}});}function _0x1ded68(_0x2fb53c){_0x3d444e[_0x1cd3('0xafd')][_0x1cd3('0xa1c')]({'id':_0x2fb53c['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x29c19e['openchannelQueues'][_0x1cd3('0xf6')],{'id':_0x2fb53c['id']});_0x29c19e[_0x1cd3('0x16f6')][_0x1cd3('0x466')]-=0x1;if(!_0x29c19e[_0x1cd3('0x16f6')][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){_0x29c19e[_0x1cd3('0x16fb')]();}_0x40a9ff[_0x1cd3('0x473')]({'title':_['startCase'](_0x1cd3('0x1f5c'))+'\x20deleted!','msg':_0x2fb53c[_0x1cd3('0x98')]?_0x2fb53c[_0x1cd3('0x98')]+_0x1cd3('0xd41'):''});})[_0x1cd3('0xfd')](function(_0x1e441f){if(_0x1e441f[_0x1cd3('0x439')]&&_0x1e441f['data'][_0x1cd3('0xd34')]&&_0x1e441f[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')]){_0x29c19e[_0x1cd3('0xd34')]=_0x1e441f[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x1e441f[_0x1cd3('0x43b')](),'type':'SYSTEM:DELETEopenchannelQueue'}];for(var _0x3805c0=0x0;_0x3805c0<_0x1e441f['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x3805c0++){_0x40a9ff[_0x1cd3('0x434')]({'title':_0x1e441f[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x3805c0]['type'],'msg':_0x1e441f[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x3805c0]['message']});}}else{_0x40a9ff[_0x1cd3('0x434')]({'title':_0x1e441f[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x1e441f[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x1e441f['statusText']:_0x1cd3('0x1f5d'),'msg':_0x1e441f[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x1e441f[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x1e441f[_0x1cd3('0x43a')]||_0x1e441f[_0x1cd3('0x43b')]()});}});}function _0x379165(){var _0x5ec254=angular['copy'](_0x29c19e[_0x1cd3('0x1f57')]);_0x29c19e['selectedOpenchannelQueues']=[];return _0x5ec254;}function _0x386070(_0x114310){var _0x5ab396=_0x10f082[_0x1cd3('0xd39')]()['title'](_0x1cd3('0x1f5e'))['htmlContent']('<b>'+_0x29c19e[_0x1cd3('0x1f57')][_0x1cd3('0x7a')]+'\x20selected</b>'+_0x1cd3('0xd53'))['ariaLabel'](_0x1cd3('0x1f5f'))[_0x1cd3('0xd63')](_0x114310)['ok']('OK')['cancel'](_0x1cd3('0xd55'));_0x10f082['show'](_0x5ab396)[_0x1cd3('0x77')](function(){_0x29c19e['selectedOpenchannelQueues'][_0x1cd3('0x394')](function(_0x4e1c8d){_0x1ded68(_0x4e1c8d);});_0x29c19e[_0x1cd3('0x1f57')]=[];});}function _0x4514b9(){_0x29c19e[_0x1cd3('0x1f57')]=[];}function _0x335f05(){_0x29c19e[_0x1cd3('0x1f57')]=_0x29c19e['openchannelQueues']['rows'];}}}());(function(){'use strict';_0x11e032[_0x1cd3('0xc')]=[_0x1cd3('0x460'),'$q',_0x1cd3('0x3e7'),_0x1cd3('0x3c5'),_0x1cd3('0x372'),_0x1cd3('0x6c3'),_0x1cd3('0x1381'),'agents',_0x1cd3('0x1385'),_0x1cd3('0x370'),_0x1cd3('0xd18'),_0x1cd3('0x461'),'helperClasses',_0x1cd3('0x38a'),'userProfileSection',_0x1cd3('0x56'),_0x1cd3('0x463'),_0x1cd3('0x585')];angular[_0x1cd3('0x0')](_0x1cd3('0x2d'))[_0x1cd3('0x39b')]('AgentsOpenchannelRealtimeController',_0x11e032);function _0x11e032(_0x4fec03,_0x46c7ee,_0x164140,_0xa23838,_0x23ac83,_0x46afa9,_0x1144e8,_0x3b4a,_0x9df1d0,_0x2f59e5,_0x4d29fc,_0x5c79fa,_0x49f8d4,_0x482615,_0x3b4a70,_0x304ef6,_0x347069,_0x1adc09){var _0xa56ff=this;var _0x4f62c3=[_0x1cd3('0x1386'),_0x1cd3('0x1387'),_0x1cd3('0x1388'),'lastPauseAt',_0x1cd3('0x13c5'),_0x1cd3('0x1389'),_0x1cd3('0x311'),_0x1cd3('0x138a'),'chatPause',_0x1cd3('0x138c'),'mailPause','smsPause',_0x1cd3('0x138e'),_0x1cd3('0x138f'),_0x1cd3('0x604'),_0x1cd3('0x1390'),_0x1cd3('0x1391'),_0x1cd3('0x1392'),_0x1cd3('0x1393'),'whatsappCapacity',_0x1cd3('0x1394'),_0x1cd3('0x198a'),_0x1cd3('0x1395'),_0x1cd3('0x1396'),_0x1cd3('0x198b'),_0x1cd3('0x1397'),_0x1cd3('0x1398'),'chatStatus','openchannelStatus','mailStatus','smsStatus',_0x1cd3('0x139c'),_0x1cd3('0x139d'),_0x1cd3('0x139e'),'chatStatusTime',_0x1cd3('0x13a0'),'mailStatusTime',_0x1cd3('0x13a2'),'whatsappStatusTime','faxStatusTime','voiceStatusTime',_0x1cd3('0x1220'),_0x1cd3('0x13a4'),_0x1cd3('0x13a5'),_0x1cd3('0x13a6'),_0x1cd3('0x13a7')];var _0x224900=['chatPause',_0x1cd3('0x138c'),_0x1cd3('0x1590'),'smsPause',_0x1cd3('0x138e'),'faxPause','voicePause','online'];_0xa56ff[_0x1cd3('0x3ca')]=_0x304ef6[_0x1cd3('0x5d')]();_0xa56ff[_0x1cd3('0x198d')]=[_0x1cd3('0x5cd'),_0x1cd3('0x13a8'),'busy',_0x1cd3('0x13aa'),_0x1cd3('0x13ab')];_0xa56ff[_0x1cd3('0x1381')]=_0x1144e8||{'count':0x0,'rows':[]};_0xa56ff[_0x1cd3('0x463')]=_0x347069;_0xa56ff[_0x1cd3('0x38a')]=_0x482615;_0xa56ff[_0x1cd3('0x390')]=_0x3b4a70&&_0x3b4a70[_0x1cd3('0x466')]==0x1?_0x3b4a70[_0x1cd3('0xf6')][0x0]:null;_0xa56ff[_0x1cd3('0xd27')]=_0x304ef6[_0x1cd3('0xd44')](_0xa56ff[_0x1cd3('0x390')]?_0xa56ff['userProfileSection'][_0x1cd3('0xd27')]:null);_0xa56ff[_0x1cd3('0x1228')]=_0x3b4a?_[_0x1cd3('0xe2d')](_0x3b4a[_0x1cd3('0xf6')]?_0x3b4a[_0x1cd3('0xf6')]:[],'id'):{};_0xa56ff['rpcAgents']=_0x9df1d0?_['keyBy'](_0x9df1d0[_0x1cd3('0xf6')]?_0x9df1d0[_0x1cd3('0xf6')]:[],'id'):{};_0xa56ff[_0x1cd3('0x13ac')]={};_0xa56ff[_0x1cd3('0x5de')]=![];_0xa56ff[_0x1cd3('0x13ad')]=[];_0xa56ff[_0x1cd3('0x13ae')]={};for(var _0x39d15e in _0xa56ff[_0x1cd3('0x1228')]){if(_0xa56ff[_0x1cd3('0x1228')]['hasOwnProperty'](_0x39d15e)){_0xa56ff['agents'][_0x39d15e][_0x1cd3('0xe08')]=!![];}}_0xa56ff[_0x1cd3('0x3d4')]={'limit':0xa,'page':0x1,'order':_0x1cd3('0xd3'),'globalStatusFilter':'','pauseTypeFilter':''};_0xa56ff[_0x1cd3('0x376')]=_0x1f6e60;_0xa56ff[_0x1cd3('0x13af')]=_0x25a5fb;_0xa56ff['pause']=_0x4650ad;_0xa56ff[_0x1cd3('0x13b0')]=_0x2b7feb;_0xa56ff[_0x1cd3('0x198e')]=_0xfb3d77;_0xa56ff[_0x1cd3('0x13b1')]=_0x5c9bfa;_0xa56ff[_0x1cd3('0x13b2')]=_0x5bffec;_0xa56ff[_0x1cd3('0x13b3')]=_0xb95ff8;_0xa56ff[_0x1cd3('0x13b4')]=_0x2db6d5;_0xa56ff[_0x1cd3('0x13b5')]=_0x48db7d;_0xa56ff['onSave']=_0x3bb591;_0xa56ff[_0x1cd3('0x13bb')]=_0x30d453;_0xa56ff['onInit']=_0x40ca9e;_0xa56ff['onConnect']=_0x9e68fd;_0xa56ff[_0x1cd3('0x13b7')]=_0x2b3cf0;_0xa56ff[_0x1cd3('0x13b8')]=_0x688e64;_0x4d29fc['on'](_0x1cd3('0x13b9'),_0xa56ff[_0x1cd3('0x13b6')]);_0x4d29fc['on'](_0x1cd3('0x13ba'),_0xa56ff[_0x1cd3('0x13bb')]);_0x4d29fc['on']('user:agentconnect',_0xa56ff['onConnect']);_0x4d29fc['on'](_0x1cd3('0x13be'),_0xa56ff['onComplete']);_0x40ca9e();var _0xc62b9c=_0x1adc09(function(){if(_0xa56ff['load']){_0xa56ff[_0x1cd3('0x5de')]=![];_0x40ca9e();}},0x3e7);function _0x40ca9e(_0x329aa0){_0xa56ff['load']=![];var _0x48215a=_0x46c7ee[_0x1cd3('0x53a')]();_0xa56ff[_0x1cd3('0x539')]=_0x48215a[_0x1cd3('0x539')];_0xa56ff[_0x1cd3('0x13bf')]=[];_0xa56ff['order']=[];_['forIn'](_0xa56ff[_0x1cd3('0x1228')],function(_0x47ff59,_0x130a09){if(_0xa56ff['rpcAgents'][_0x130a09]){_['merge'](_0x47ff59,_['pick'](_[_0x1cd3('0x3e3')](_0xa56ff[_0x1cd3('0x1385')][_0x130a09],_0x224900),_0x4f62c3));}_0x5bffec(_0x47ff59);if(_0x47ff59[_0x1cd3('0x1387')]){_0xa56ff[_0x1cd3('0x13bf')][_0x1cd3('0x7b')](_0x47ff59);_0xa56ff['agentInternal'][_0x47ff59[_0x1cd3('0x311')]]=_0x130a09;}else{_0x47ff59[_0x1cd3('0x13c0')]=_[_0x1cd3('0x13c1')](moment()[_0x1cd3('0x130')]('x'));}});if(_0xa56ff[_0x1cd3('0x3d4')]['globalStatusFilter']){_[_0x1cd3('0x383')](_0xa56ff['filteredAgents'],function(_0x850e32){return _0x850e32[_0x1cd3('0x13c2')]!==_0xa56ff[_0x1cd3('0x3d4')][_0x1cd3('0x13c3')];});}if(_0xa56ff[_0x1cd3('0x3d4')][_0x1cd3('0x13c4')]){_[_0x1cd3('0x383')](_0xa56ff[_0x1cd3('0x13bf')],function(_0x5983f0){return _0x5983f0[_0x1cd3('0x13c5')]!==_0xa56ff[_0x1cd3('0x3d4')][_0x1cd3('0x13c4')];});}if(_0xa56ff[_0x1cd3('0x3d4')][_0x1cd3('0x395')]){_[_0x1cd3('0x383')](_0xa56ff[_0x1cd3('0x13bf')],function(_0x358515){return _0x358515[_0x1cd3('0xd3')][_0x1cd3('0x433')]()[_0x1cd3('0x45e')](_0xa56ff[_0x1cd3('0x3d4')][_0x1cd3('0x395')][_0x1cd3('0x433')]())<0x0;});}_0xa56ff[_0x1cd3('0x13bf')]=_0x23c81b(_0xa56ff[_0x1cd3('0x13bf')]);var _0x5a5cf3=(_0xa56ff[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0xa56ff[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];_0xa56ff[_0x1cd3('0x13ac')]=_['drop'](_0xa56ff[_0x1cd3('0x13bf')],_0x5a5cf3)[_0x1cd3('0x9a2')](0x0,_0xa56ff[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')]);for(var _0x4995ee=0x0;_0x4995ee<_0xa56ff[_0x1cd3('0x13ac')][_0x1cd3('0x7a')];_0x4995ee+=0x1){_0xa56ff['order'][_0x1cd3('0x7b')](_0xa56ff[_0x1cd3('0x13ac')][_0x4995ee]['id']);}_0x48215a[_0x1cd3('0x58')]();_0xa56ff[_0x1cd3('0x5de')]=!![];}function _0x3bb591(_0x4424ba){if(_0xa56ff[_0x1cd3('0x1228')][_0x4424ba['id']]){_[_0x1cd3('0xf2')](_0xa56ff[_0x1cd3('0x1228')][_0x4424ba['id']],_[_0x1cd3('0x5e8')](_['omit'](_0x4424ba,_0x224900),_0x4f62c3));_[_0x1cd3('0xf2')](_0xa56ff['rpcAgents'][_0x4424ba['id']],_['pick'](_[_0x1cd3('0x3e3')](_0x4424ba,_0x224900),_0x4f62c3));_0x5bffec(_0xa56ff[_0x1cd3('0x1228')][_0x4424ba['id']]);}}function _0x30d453(_0x50cf1d){if(_0xa56ff[_0x1cd3('0x1228')][_0x50cf1d['id']]){_[_0x1cd3('0xf2')](_0xa56ff[_0x1cd3('0x1228')][_0x50cf1d['id']],_[_0x1cd3('0x5e8')](_0x50cf1d,_0x4f62c3));_['merge'](_0xa56ff[_0x1cd3('0x1385')][_0x50cf1d['id']],_[_0x1cd3('0x5e8')](_0x50cf1d,_0x4f62c3));if(_0x50cf1d[_0x1cd3('0x1389')]){_0xa56ff['agents'][_0x50cf1d['id']]['globalStatusTime']=_0x50cf1d[_0x1cd3('0x1389')];_0xa56ff[_0x1cd3('0x1385')][_0x50cf1d['id']][_0x1cd3('0x13c0')]=_0x50cf1d[_0x1cd3('0x1389')];}_0x5bffec(_0xa56ff[_0x1cd3('0x1228')][_0x50cf1d['id']]);}}function _0x9e68fd(_0x367e36){if(_0xa56ff[_0x1cd3('0x1228')][_0xa56ff[_0x1cd3('0x13ae')][_0x367e36['destaccountcode']]]){_[_0x1cd3('0xf2')](_0xa56ff[_0x1cd3('0x1228')][_0xa56ff[_0x1cd3('0x13ae')][_0x367e36[_0x1cd3('0x13c6')]]],_['pick'](_0x367e36,[_0x1cd3('0x1220'),_0x1cd3('0x13a4')]));_[_0x1cd3('0xf2')](_0xa56ff[_0x1cd3('0x1385')][_0xa56ff[_0x1cd3('0x13ae')][_0x367e36[_0x1cd3('0x13c6')]]],_[_0x1cd3('0x5e8')](_0x367e36,[_0x1cd3('0x1220'),_0x1cd3('0x13a4')]));}}function _0x2b3cf0(_0x2287cd){if(_0xa56ff[_0x1cd3('0x1228')][_0xa56ff['agentInternal'][_0x2287cd[_0x1cd3('0x13c6')]]]){_0xa56ff[_0x1cd3('0x1228')][_0xa56ff[_0x1cd3('0x13ae')][_0x2287cd[_0x1cd3('0x13c6')]]]=_[_0x1cd3('0x3e3')](_0xa56ff[_0x1cd3('0x1228')][_0xa56ff[_0x1cd3('0x13ae')][_0x2287cd[_0x1cd3('0x13c6')]]],[_0x1cd3('0x1220'),_0x1cd3('0x13a4')]);_0xa56ff[_0x1cd3('0x1385')][_0xa56ff[_0x1cd3('0x13ae')][_0x2287cd[_0x1cd3('0x13c6')]]]=_[_0x1cd3('0x3e3')](_0xa56ff[_0x1cd3('0x1385')][_0xa56ff['agentInternal'][_0x2287cd[_0x1cd3('0x13c6')]]],[_0x1cd3('0x1220'),'destconnectedlinenum']);}}function _0x1f6e60(_0x2c50fd,_0x3a0927){return _0x2f59e5[_0x1cd3('0x368')][_0x1cd3('0x376')]({'id':_0x2c50fd['id'],'device':_0x1cd3('0x11b9'),'agent_id':_0x2c50fd['id'],'agent_name':_0x2c50fd[_0x1cd3('0x98')]})[_0x1cd3('0x81')]['then'](function(){_0x5c79fa[_0x1cd3('0x473')]({'title':_0x1cd3('0x13c7'),'msg':_0x2c50fd[_0x1cd3('0xd3')]+_0x1cd3('0x13c8')});if(_0xa56ff[_0x1cd3('0x1228')][_0x2c50fd['id']]){_0xa56ff[_0x1cd3('0x1228')][_0x2c50fd['id']][_0x1cd3('0x1387')]=![];}if(_0xa56ff[_0x1cd3('0x1385')][_0x2c50fd['id']]){_0xa56ff['rpcAgents'][_0x2c50fd['id']][_0x1cd3('0x1387')]=![];}_0x40ca9e();})['catch'](function(_0x147888){_0x5c79fa[_0x1cd3('0x434')]({'title':_0x147888[_0x1cd3('0x3a6')]?'API:'+_0x147888[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x147888[_0x1cd3('0xd35')]:'api.staff.save','msg':_0x147888['data']?JSON[_0x1cd3('0x438')](_0x147888['data'][_0x1cd3('0x43a')]):_0x147888[_0x1cd3('0x43b')]()});});}function _0x4650ad(_0x42a23d,_0x114c11){return _0x2f59e5[_0x1cd3('0x368')][_0x1cd3('0x63e')]({'id':_0x42a23d['id'],'type':_0x114c11})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x4dea49){if(_0xa56ff[_0x1cd3('0x1228')][_0x42a23d['id']]){_[_0x1cd3('0xf2')](_0xa56ff[_0x1cd3('0x1228')][_0x42a23d['id']],_[_0x1cd3('0x5e8')](_0x4dea49,_0x4f62c3));}if(_0xa56ff[_0x1cd3('0x1385')][_0x42a23d['id']]){_[_0x1cd3('0xf2')](_0xa56ff[_0x1cd3('0x1385')][_0x42a23d['id']],_[_0x1cd3('0x5e8')](_0x4dea49,_0x4f62c3));}_0x5bffec(_0xa56ff[_0x1cd3('0x1228')][_0x42a23d['id']]);})[_0x1cd3('0xfd')](function(_0x546d27){_0x5c79fa['error']({'title':_0x546d27[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x546d27[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x546d27['statusText']:_0x1cd3('0x13c9'),'msg':_0x546d27['data']?JSON[_0x1cd3('0x438')](_0x546d27['data'][_0x1cd3('0x43a')]):_0x546d27[_0x1cd3('0x43b')]()});});}function _0x2b7feb(_0x55c186){return _0x2f59e5[_0x1cd3('0x368')][_0x1cd3('0x13ed')]({'id':_0x55c186['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x867975){if(_0xa56ff['agents'][_0x55c186['id']]){_[_0x1cd3('0xf2')](_0xa56ff[_0x1cd3('0x1228')][_0x55c186['id']],_[_0x1cd3('0x5e8')](_0x867975,_0x4f62c3));}if(_0xa56ff[_0x1cd3('0x1385')][_0x55c186['id']]){_[_0x1cd3('0xf2')](_0xa56ff[_0x1cd3('0x1385')][_0x55c186['id']],_[_0x1cd3('0x5e8')](_0x867975,_0x4f62c3));}_0x5bffec(_0xa56ff[_0x1cd3('0x1228')][_0x55c186['id']]);})[_0x1cd3('0xfd')](function(_0xfed9c5){_0x5c79fa[_0x1cd3('0x434')]({'title':_0xfed9c5['status']?_0x1cd3('0x435')+_0xfed9c5['status']+_0x1cd3('0x436')+_0xfed9c5[_0x1cd3('0xd35')]:'api.staff.save','msg':_0xfed9c5[_0x1cd3('0x439')]?JSON['stringify'](_0xfed9c5[_0x1cd3('0x439')]['message']):_0xfed9c5[_0x1cd3('0x43b')]()});});}function _0xfb3d77(_0x3dd605){_0xa23838[_0x1cd3('0x37e')](_0xa23838['alert']()[_0x1cd3('0x13ca')](!![])[_0x1cd3('0x486')]('Legend')['htmlContent'](_0x1cd3('0x1d0d'))['ok']('Ok')[_0x1cd3('0xd63')](_0x3dd605));}function _0x25a5fb(_0x543fba,_0x4b5b40){_0xa23838[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x198f'),'controllerAs':'vm','templateUrl':_0x1cd3('0x13cc'),'parent':angular[_0x1cd3('0x37f')](_0x23ac83[_0x1cd3('0x380')]),'targetEvent':_0x4b5b40,'clickOutsideToClose':!![],'locals':{'agent':_0x543fba,'agents':[],'channel':_0x1cd3('0x22e'),'direction':'inbound','crudPermissions':_0xa56ff[_0x1cd3('0xd27')]}});}function _0xb95ff8(_0x6aeffb){return _0x6aeffb===_0x1cd3('0x63e')||_0x6aeffb===_0x1cd3('0x13cd');}function _0x2db6d5(_0xa91e08){return _0xa91e08===_0x1cd3('0x63e');}function _0x48db7d(_0x384c75){return _0x384c75===_0x1cd3('0x13cd');}function _0x5472d6(_0x3bc76c){return _0x3bc76c===_0x1cd3('0x13cf')||_0x3bc76c===_0x1cd3('0x1990')||_0x3bc76c==='unavailable'||_0x3bc76c===_0x1cd3('0x5cd')||_[_0x1cd3('0x472')](_0x3bc76c);}function _0x5c9bfa(_0x2d0ae3,_0x10ef32){if(_0x10ef32===_0x1cd3('0x121')){if(_0x2d0ae3[_0x10ef32+'Status']!==_0x1cd3('0x13cf')){return _0x2d0ae3[_0x10ef32+_0x1cd3('0x131b')];}if(_0x2d0ae3[_0x10ef32+_0x1cd3('0x13d0')]){_0x2d0ae3[_0x10ef32+_0x1cd3('0x131b')]=_0x1cd3('0x63e');return _0x1cd3('0x63e');}return _0x1cd3('0x13cf');}else{if(_0x2d0ae3[_0x10ef32+'Pause']){_0x2d0ae3[_0x10ef32+_0x1cd3('0x131b')]=_0x1cd3('0x63e');return _0x1cd3('0x63e');}return _0x2d0ae3[_0x10ef32+'Status'];}}function _0x5bffec(_0x24aad3){var _0x1faf8f=_0x1cd3('0x1990');if(_[_0x1cd3('0x920')]([_0x5c9bfa(_0x24aad3,_0x1cd3('0x121')),_0x5c9bfa(_0x24aad3,'chat'),_0x5c9bfa(_0x24aad3,_0x1cd3('0x1d2')),_0x5c9bfa(_0x24aad3,_0x1cd3('0x22e')),_0x5c9bfa(_0x24aad3,_0x1cd3('0x26b')),_0x5c9bfa(_0x24aad3,_0x1cd3('0x34a')),_0x5c9bfa(_0x24aad3,_0x1cd3('0x154'))],_0xb95ff8)){_0x1faf8f=_0x1cd3('0x63e');}else if(_[_0x1cd3('0x38d')]([_0x5c9bfa(_0x24aad3,_0x1cd3('0x121')),_0x5c9bfa(_0x24aad3,_0x1cd3('0xbf')),_0x5c9bfa(_0x24aad3,_0x1cd3('0x1d2')),_0x5c9bfa(_0x24aad3,_0x1cd3('0x22e')),_0x5c9bfa(_0x24aad3,_0x1cd3('0x26b')),_0x5c9bfa(_0x24aad3,_0x1cd3('0x34a')),_0x5c9bfa(_0x24aad3,'fax')],_0xb95ff8)){_0x1faf8f=_0x1cd3('0x13cd');}else if(_[_0x1cd3('0x920')]([_0x5c9bfa(_0x24aad3,_0x1cd3('0x121')),_0x5c9bfa(_0x24aad3,'chat'),_0x5c9bfa(_0x24aad3,_0x1cd3('0x1d2')),_0x5c9bfa(_0x24aad3,_0x1cd3('0x22e')),_0x5c9bfa(_0x24aad3,'sms'),_0x5c9bfa(_0x24aad3,_0x1cd3('0x34a')),_0x5c9bfa(_0x24aad3,'fax')],_0x5472d6)){_0x1faf8f='idle';}else{_0x1faf8f=_0x1cd3('0x13a9');}if(_0x24aad3[_0x1cd3('0x13c2')]!==_0x1faf8f){_0x24aad3[_0x1cd3('0x13c2')]=_0x1faf8f;if(_0x24aad3[_0x1cd3('0xe08')]){_0x24aad3[_0x1cd3('0xe08')]=![];_0x24aad3[_0x1cd3('0x13c0')]=_0xb95ff8(_0x1faf8f)?_[_0x1cd3('0x13c1')](moment(_0x24aad3[_0x1cd3('0x1389')])[_0x1cd3('0x130')]('x')):_[_0x1cd3('0x13d1')]([_0x24aad3[_0x1cd3('0x13a3')],_0x24aad3[_0x1cd3('0x139f')],_0x24aad3['mailStatusTime'],_0x24aad3[_0x1cd3('0x13a2')],_0x24aad3[_0x1cd3('0x13d2')],_0x24aad3[_0x1cd3('0x13a0')],_0x24aad3['faxStatusTime']]);}else{_0x24aad3[_0x1cd3('0x13c0')]=_[_0x1cd3('0x13c1')](moment()[_0x1cd3('0x130')]('x'));}}}function _0x23c81b(_0xe505f4){var _0x5561fc=_['startsWith'](_0xa56ff[_0x1cd3('0x3d4')][_0x1cd3('0x13ad')],'-')?_0x1cd3('0x13d5'):'asc';return _[_0x1cd3('0xe31')](_0xe505f4,[_0xa56ff[_0x1cd3('0x3d4')]['order'][_0x1cd3('0x3f1')]('-','')],[_0x5561fc]);}function _0xcba767(){if(_0xc62b9c){_0x1adc09['cancel'](_0xc62b9c);_0xc62b9c=null;}}function _0x688e64(_0x49c7c9,_0x39e4fc){return _0x2f59e5[_0x1cd3('0x368')][_0x1cd3('0x378')]({'id':_0x49c7c9['id']},{'screenrecording':_0x39e4fc})[_0x1cd3('0x81')][_0x1cd3('0xfd')](function(_0x5e6cb9){_0x5c79fa[_0x1cd3('0x434')]({'title':_0x5e6cb9['status']?_0x1cd3('0x435')+_0x5e6cb9[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x5e6cb9[_0x1cd3('0xd35')]:_0x1cd3('0x13d7'),'msg':_0x5e6cb9[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x5e6cb9[_0x1cd3('0x439')]['message']):_0x5e6cb9[_0x1cd3('0x43b')]()});});}_0x4fec03['$on'](_0x1cd3('0x523'),function(){_0x4d29fc[_0x1cd3('0x6a3')](_0x1cd3('0x13b9'));_0x4d29fc['removeAllListeners'](_0x1cd3('0x13ba'));_0x4d29fc['removeAllListeners']('user:agentconnect');_0x4d29fc['removeAllListeners'](_0x1cd3('0x13be'));_0xcba767();});}}());(function(){'use strict';_0x2be946['$inject']=[_0x1cd3('0x460'),_0x1cd3('0x3e7'),_0x1cd3('0x3c5'),'$q',_0x1cd3('0x372'),_0x1cd3('0x585'),_0x1cd3('0x1155'),'rpcQueues',_0x1cd3('0x370'),'socket',_0x1cd3('0x461'),_0x1cd3('0x38a'),_0x1cd3('0x390'),'Auth'];angular[_0x1cd3('0x0')](_0x1cd3('0x31'))[_0x1cd3('0x39b')](_0x1cd3('0x1f60'),_0x2be946);function _0x2be946(_0x426aa1,_0x48de48,_0x9f539a,_0x2e000b,_0x32145a,_0x51ec94,_0x541d68,_0x188d05,_0x177361,_0x4c3dab,_0x58720b,_0x31d9ef,_0x3147df,_0x49be16){var _0x2830e8=this;var _0x14b404=[_0x1cd3('0x13d9'),_0x1cd3('0x13da'),_0x1cd3('0x10d'),_0x1cd3('0x10f'),'pTalking',_0x1cd3('0x13dc'),_0x1cd3('0x43a'),'dialActive','dialMethod',_0x1cd3('0x13de'),_0x1cd3('0x13ea')];_0x2830e8['currentUser']=_0x49be16['getCurrentUser']();_0x2830e8[_0x1cd3('0x466')]=_0x541d68[_0x1cd3('0x466')]?_0x541d68[_0x1cd3('0x466')]:0x0;_0x2830e8['queues']=_0x541d68?_[_0x1cd3('0xe2d')](_0x541d68[_0x1cd3('0xf6')]?_0x541d68['rows']:[],'id'):{};_0x2830e8[_0x1cd3('0x13d8')]=_0x188d05?_[_0x1cd3('0xe2d')](_0x188d05[_0x1cd3('0xf6')]?_0x188d05[_0x1cd3('0xf6')]:[],'id'):{};_0x2830e8[_0x1cd3('0x38a')]=_0x31d9ef;_0x2830e8[_0x1cd3('0x390')]=_0x3147df&&_0x3147df[_0x1cd3('0x466')]==0x1?_0x3147df['rows'][0x0]:null;_0x2830e8[_0x1cd3('0xd27')]=_0x49be16[_0x1cd3('0xd44')](_0x2830e8['userProfileSection']?_0x2830e8[_0x1cd3('0x390')]['crudPermissions']:null);if(_0x49be16[_0x1cd3('0x57')]('admin')){_0x2830e8[_0x1cd3('0x3d4')]={'type':'inbound','sort':_0x1cd3('0x5b'),'limit':0xa,'page':0x1};}else{_0x2830e8[_0x1cd3('0x3d4')]={'id':_0x2830e8[_0x1cd3('0x3ca')]['id'],'channel':_0x1cd3('0x22e'),'type':_0x1cd3('0xa4'),'sort':_0x1cd3('0x5b'),'limit':0xa,'page':0x1};}_0x2830e8[_0x1cd3('0x473')]=_0x2ec998;_0x2830e8[_0x1cd3('0x13df')]=_0x38def0;_0x2830e8[_0x1cd3('0x1f59')]=_0x2eaf9b;_0x2830e8['agentAdd']=_0x47df89;_0x2830e8[_0x1cd3('0x13e0')]=_0x22273c;_0x2830e8[_0x1cd3('0x13b6')]=_0x5975c1;_0x2830e8[_0x1cd3('0x13e1')]=_0x5be047;_0x2830e8['onRemoveMember']=_0x15cc31;_0x2830e8[_0x1cd3('0x13e3')]=_0x3da39b;_0x2830e8[_0x1cd3('0x13e9')]=_0x5b8927;_0x2830e8[_0x1cd3('0x13e4')]=_0x145779;_0x2830e8[_0x1cd3('0x699')]=_0x3403d5;_0x2830e8[_0x1cd3('0x13ad')]=[];_['forIn'](_0x2830e8[_0x1cd3('0x1155')],function(_0x15dcf1,_0x30fc44){_0x2830e8[_0x1cd3('0x13ad')][_0x1cd3('0x7b')](_0x15dcf1['id']);});_0x4c3dab['on'](_0x1cd3('0x1702'),_0x2830e8[_0x1cd3('0x13b6')]);_0x4c3dab['on'](_0x1cd3('0x170b'),_0x2830e8[_0x1cd3('0x13e1')]);_0x4c3dab['on'](_0x1cd3('0x1705'),_0x2830e8[_0x1cd3('0x13e2')]);_0x4c3dab['on'](_0x1cd3('0x13ba'),_0x2830e8[_0x1cd3('0x13e3')]);_0x4c3dab['on'](_0x1cd3('0x16a1'),_0x2830e8[_0x1cd3('0x13e4')]);_0x4c3dab['on'](_0x1cd3('0x13e8'),_0x2830e8[_0x1cd3('0x13e9')]);function _0x3403d5(){var _0x2fe684=[];_['forIn'](_0x2830e8[_0x1cd3('0x1155')],function(_0x421c23,_0x1f0e1f){_0x421c23[_0x1cd3('0x13ea')]=0x0;_0x421c23[_0x1cd3('0x13eb')]=0x0;_0x2830e8[_0x1cd3('0x1155')][_0x1f0e1f][_0x1cd3('0x1228')]={};_0x2fe684[_0x1cd3('0x7b')](_0x177361[_0x1cd3('0xafd')][_0x1cd3('0x13ec')]({'id':_0x1f0e1f})[_0x1cd3('0x81')]);if(_0x2830e8[_0x1cd3('0x13d8')][_0x1f0e1f]){_[_0x1cd3('0xf2')](_0x421c23,_['pick'](_0x2830e8[_0x1cd3('0x13d8')][_0x1f0e1f],_0x14b404));}});return _0x2e000b['all'](_0x2fe684)['then'](function(_0x31b6b5){for(var _0x53d953=0x0;_0x53d953<_0x31b6b5[_0x1cd3('0x7a')];_0x53d953+=0x1){for(var _0x49c11d=0x0;_0x49c11d<_0x31b6b5[_0x53d953][_0x1cd3('0xf6')]['length'];_0x49c11d++){if(_0x31b6b5[_0x53d953]['rows'][_0x49c11d][_0x1cd3('0x13ea')]){_0x2830e8[_0x1cd3('0x1155')][_0x31b6b5[_0x53d953][_0x1cd3('0xf6')][_0x49c11d][_0x1cd3('0x1ee1')]]['paused']++;}_0x2830e8[_0x1cd3('0x1155')][_0x31b6b5[_0x53d953][_0x1cd3('0xf6')][_0x49c11d][_0x1cd3('0x1ee1')]]['loggedInDb']++;_0x2830e8[_0x1cd3('0x1155')][_0x31b6b5[_0x53d953][_0x1cd3('0xf6')][_0x49c11d]['OpenchannelQueueId']][_0x1cd3('0x1228')][_0x31b6b5[_0x53d953][_0x1cd3('0xf6')][_0x49c11d]['UserId']]=_0x31b6b5[_0x53d953][_0x1cd3('0xf6')][_0x49c11d][_0x1cd3('0x1ee1')];}}})[_0x1cd3('0xfd')](function(_0x1e34d3){console[_0x1cd3('0x434')](_0x1e34d3);});}function _0x5975c1(_0x44c4f2){if(_0x2830e8['queues'][_0x44c4f2['id']]){_['merge'](_0x2830e8[_0x1cd3('0x1155')][_0x44c4f2['id']],_[_0x1cd3('0x5e8')](_0x44c4f2,_0x14b404));}}function _0x5be047(_0x35d8c0){if(_0x2830e8['queues'][_0x35d8c0[_0x1cd3('0x1ee1')]]){_0x2830e8[_0x1cd3('0x1155')][_0x35d8c0[_0x1cd3('0x1ee1')]][_0x1cd3('0x13eb')]++;}}function _0x15cc31(_0x1eed96){if(_0x2830e8['queues'][_0x1eed96[_0x1cd3('0x1ee1')]]){_0x2830e8[_0x1cd3('0x1155')][_0x1eed96[_0x1cd3('0x1ee1')]][_0x1cd3('0x13eb')]--;}}function _0x3da39b(_0x5db707){console[_0x1cd3('0x7d')](_0x1cd3('0x13e3'),_0x5db707);if(_0x5db707['voicePause']){_[_0x1cd3('0x13e5')](_0x2830e8['queues'],function(_0x5a542e,_0x10ab78){if(_0x5a542e[_0x1cd3('0x1228')][_0x5db707['id']]){_0x5a542e[_0x1cd3('0x13ea')]+=0x1;console[_0x1cd3('0x7d')]('pause');}});}else if(!_0x5db707[_0x1cd3('0x604')]){_['forIn'](_0x2830e8['queues'],function(_0x51d7bd,_0x274c6e){if(_0x51d7bd[_0x1cd3('0x1228')][_0x5db707['id']]){if(_0x51d7bd[_0x1cd3('0x13ea')]>0x0){_0x51d7bd[_0x1cd3('0x13ea')]-=0x1;console[_0x1cd3('0x7d')]('unpause');}}});}}function _0x5b8927(_0x4a54ee){console[_0x1cd3('0x7d')](_0x1cd3('0x13ee'),_0x4a54ee);if(_0x2830e8[_0x1cd3('0x1155')][_0x4a54ee[_0x1cd3('0x1ee1')]]){_0x2830e8['queues'][_0x4a54ee['OpenchannelQueueId']]['loggedInDb']+=0x1;_0x2830e8[_0x1cd3('0x1155')][_0x4a54ee[_0x1cd3('0x1ee1')]]['agents'][_0x4a54ee[_0x1cd3('0x1226')]]=_0x4a54ee[_0x1cd3('0x1ee1')];}}function _0x145779(_0x4d1fa3){console['log'](_0x1cd3('0x13e4'),_0x4d1fa3);if(_0x2830e8[_0x1cd3('0x1155')][_0x4d1fa3[_0x1cd3('0x1ee1')]]&&_0x2830e8[_0x1cd3('0x1155')][_0x4d1fa3[_0x1cd3('0x1ee1')]][_0x1cd3('0x13eb')]>0x0){_0x2830e8[_0x1cd3('0x1155')][_0x4d1fa3[_0x1cd3('0x1ee1')]][_0x1cd3('0x13eb')]-=0x1;delete _0x2830e8[_0x1cd3('0x1155')][_0x4d1fa3[_0x1cd3('0x1ee1')]][_0x1cd3('0x1228')][_0x4d1fa3[_0x1cd3('0x1226')]];}}var _0x15dc60=!![];var _0x406637=0x1;_0x426aa1[_0x1cd3('0x4d6')](_0x1cd3('0xd56'),function(_0x35fcee,_0x15b88f){if(_0x15dc60){_0x48de48(function(){_0x15dc60=![];});}else{if(!_0x15b88f){_0x406637=_0x2830e8[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0x35fcee!==_0x15b88f){_0x2830e8[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}if(!_0x35fcee){_0x2830e8['query'][_0x1cd3('0x8fd')]=_0x406637;}_0x2830e8['getQueues']();}});function _0x2ec998(_0x2ba699){_0x2830e8[_0x1cd3('0x466')]=_0x2ba699['count'];_0x2830e8['queues']=_0x2ba699?_[_0x1cd3('0xe2d')](_0x2ba699[_0x1cd3('0xf6')]?_0x2ba699[_0x1cd3('0xf6')]:[],'id'):{};if(_0x2ba699[_0x1cd3('0xf6')]){_0x2830e8[_0x1cd3('0x13ad')]=[];for(var _0x234114=0x0;_0x234114<_0x2ba699['rows'][_0x1cd3('0x7a')];_0x234114++){_0x2830e8[_0x1cd3('0x13ad')][_0x1cd3('0x7b')](_0x2ba699[_0x1cd3('0xf6')][_0x234114]['id']);}}_0x3403d5();}function _0x38def0(){_0x2830e8['query'][_0x1cd3('0xd57')]=(_0x2830e8[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0x2830e8['query'][_0x1cd3('0x8fe')];if(_0x49be16[_0x1cd3('0x57')](_0x1cd3('0x5f'))){_0x2830e8[_0x1cd3('0x539')]=_0x177361[_0x1cd3('0xafd')][_0x1cd3('0x361')](_0x2830e8['query'],_0x2ec998)['$promise'];}else{_0x2830e8[_0x1cd3('0x3d4')]['id']=_0x2830e8[_0x1cd3('0x38a')]['id'];_0x2830e8[_0x1cd3('0x3d4')][_0x1cd3('0xd58')]=_0x1cd3('0x22f');_0x2830e8[_0x1cd3('0x539')]=_0x177361[_0x1cd3('0x38a')][_0x1cd3('0xd59')](_0x2830e8[_0x1cd3('0x3d4')],_0x2ec998)[_0x1cd3('0x81')];}}function _0x2eaf9b(_0x3d11fb,_0x514417){_0x9f539a[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1f41'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1f61'),'parent':angular[_0x1cd3('0x37f')](_0x32145a[_0x1cd3('0x380')]),'targetEvent':_0x3d11fb,'clickOutsideToClose':!![],'locals':{'openchannelQueue':_0x514417,'openchannelQueues':_[_0x1cd3('0x42d')](_0x2830e8[_0x1cd3('0x1155')]),'license':null,'setting':null,'crudPermissions':_0x2830e8[_0x1cd3('0xd27')]}});}function _0x47df89(_0x228209,_0x5d7267){_0x9f539a[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1f4b'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1f54'),'parent':angular[_0x1cd3('0x37f')](_0x32145a[_0x1cd3('0x380')]),'targetEvent':_0x228209,'clickOutsideToClose':!![],'locals':{'openchannelQueue':_0x5d7267,'openchannelQueues':_0x2830e8['queues']?_0x2830e8[_0x1cd3('0x1155')][_0x1cd3('0xf6')]:[],'realtime':![],'crudPermissions':_0x2830e8[_0x1cd3('0xd27')]}});}function _0x22273c(_0x1a6267){return _0x177361[_0x1cd3('0xafd')][_0x1cd3('0x378')](_0x1a6267)[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x58720b[_0x1cd3('0x473')]({'title':_0x1cd3('0x13ef'),'msg':_0x1a6267[_0x1cd3('0x98')]?_0x1a6267[_0x1cd3('0x98')]+_0x1cd3('0xe65'):''});})[_0x1cd3('0xfd')](function(_0xf32745){_0x58720b[_0x1cd3('0x434')]({'title':_0x1cd3('0x1993'),'msg':_0xf32745[_0x1cd3('0x43a')]});});}_0x426aa1[_0x1cd3('0x4d3')](_0x1cd3('0x523'),function(){_0x4c3dab['removeAllListeners'](_0x1cd3('0x1702'));_0x4c3dab[_0x1cd3('0x6a3')](_0x1cd3('0x1705'));_0x4c3dab[_0x1cd3('0x6a3')](_0x1cd3('0x170b'));_0x4c3dab[_0x1cd3('0x6a3')]('user:update');_0x4c3dab[_0x1cd3('0x6a3')](_0x1cd3('0x16a1'));_0x4c3dab[_0x1cd3('0x6a3')](_0x1cd3('0x13e8'));});}}());(function(){'use strict';angular[_0x1cd3('0x0')](_0x1cd3('0x1'))[_0x1cd3('0x373')](_0x1cd3('0x1999'),_0xb40ce5);function _0xb40ce5(){return{'status':{'registered':'green-300-fg\x20icon-checkbox-marked-circle','unregistered':_0x1cd3('0x13f2'),'lagged':_0x1cd3('0x13f2'),'reachable':'green-300-fg\x20icon-checkbox-marked-circle','unreachable':_0x1cd3('0x13f2'),'unknown':_0x1cd3('0x1994')},'state':{'unknown':_0x1cd3('0x13f3'),'not_inuse':_0x1cd3('0x13f4'),'inuse':_0x1cd3('0x13f5'),'busy':_0x1cd3('0x1995'),'invalid':_0x1cd3('0x13f3'),'unavailable':'grey-fg\x20icon-phone-hangup','ringing':_0x1cd3('0x13f6'),'ringinuse':_0x1cd3('0x13f6'),'onhold':_0x1cd3('0x13f7')},'channelStatus':{'ring':_0x1cd3('0x13f6'),'up':'green-300-fg\x20icon-phone-in-talk','hangup':_0x1cd3('0x13f9')},'channelStatusOut':{'ring':_0x1cd3('0x13fa'),'up':_0x1cd3('0x13f8'),'hangup':_0x1cd3('0x13f9')}};}}());(function(){'use strict';_0x259ff8[_0x1cd3('0xc')]=['$scope','$state',_0x1cd3('0xd18')];angular['module'](_0x1cd3('0x31'))[_0x1cd3('0x39b')](_0x1cd3('0x1f62'),_0x259ff8);function _0x259ff8(_0x459cf7,_0x595cc9,_0x5525c6){var _0x718967=this;_0x5525c6[_0x1cd3('0xd1c')]();_0x5525c6[_0x1cd3('0x664')]();_0x718967['selectedTab']=0x0;switch(_0x595cc9[_0x1cd3('0x530')][_0x1cd3('0x98')]){case'app.openchannel.realtime.agents':_0x718967[_0x1cd3('0xe5f')]=0x0;break;case _0x1cd3('0x1f5b'):_0x718967['selectedTab']=0x1;break;default:_0x718967[_0x1cd3('0xe5f')]=0x0;_0x595cc9['go'](_0x1cd3('0x23d'));}_0x459cf7[_0x1cd3('0x4d6')](_0x1cd3('0x13fc'),function(_0x4a6d15,_0x49aaa6){if(_0x4a6d15!==_0x49aaa6){switch(_0x4a6d15){case 0x0:_0x595cc9['go'](_0x1cd3('0x23d'));break;case 0x1:_0x595cc9['go']('app.openchannel.realtime.queues');break;default:_0x595cc9['go']('app.openchannel.realtime.agents');}}});}}());(function(){'use strict';_0xdcdca2[_0x1cd3('0xc')]=[_0x1cd3('0x53e'),_0x1cd3('0x460'),_0x1cd3('0x900'),_0x1cd3('0x370'),_0x1cd3('0xd18'),_0x1cd3('0x56')];angular[_0x1cd3('0x0')]('app.plugins.plugin')[_0x1cd3('0x39b')](_0x1cd3('0x1f63'),_0xdcdca2);function _0xdcdca2(_0xd9543,_0x4653e4,_0x52676e,_0x511d5f,_0x53b539,_0x53b11d){var _0x1acb5a=this;_0x1acb5a[_0x1cd3('0x3ca')]=_0x53b11d[_0x1cd3('0x5d')]();_0x1acb5a[_0x1cd3('0xc78')]={};_0x1acb5a['getTrustedURL']=_0x653a7f;_0x511d5f['plugin']['get']({'id':_0xd9543[_0x1cd3('0x36a')]['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x32e04b){if(_0x32e04b){_0x1acb5a[_0x1cd3('0xc78')]=_0x32e04b;return _0x511d5f[_0x1cd3('0xc78')][_0x1cd3('0x361')]({'id':_0x1acb5a[_0x1cd3('0xc78')]['id']})[_0x1cd3('0x81')];}})[_0x1cd3('0xfd')](function(_0x42b7a9){_0x1acb5a[_0x1cd3('0xc78')]=undefined;});function _0x653a7f(){return _0x52676e['trustAsResourceUrl'](_0x1acb5a[_0x1cd3('0xc78')][_0x1cd3('0x1f64')]);}}}());(function(){'use strict';_0x2b213f[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x371'),_0x1cd3('0x53e'),_0x1cd3('0x969'),_0x1cd3('0x3c5'),_0x1cd3('0x372'),'$timeout',_0x1cd3('0x3f7'),_0x1cd3('0x1f65'),_0x1cd3('0x370'),'msUtils',_0x1cd3('0x461'),_0x1cd3('0x56'),_0x1cd3('0x463'),_0x1cd3('0xc49')];angular['module'](_0x1cd3('0x247'))[_0x1cd3('0x39b')](_0x1cd3('0x1f66'),_0x2b213f);function _0x2b213f(_0x283c15,_0x550006,_0x35b7cc,_0x2f19a7,_0x1073ad,_0x311476,_0x2f2acf,_0x34af0d,_0x11fa8f,_0x2d1f46,_0x292827,_0x365142,_0x4c73d0,_0x16df80,_0x17bbf1){var _0x2d7fb8=this;_0x2d7fb8[_0x1cd3('0x463')]=_0x16df80;_0x2d7fb8[_0x1cd3('0xc49')]=_0x17bbf1;_0x2d7fb8[_0x1cd3('0x3ca')]=_0x4c73d0[_0x1cd3('0x5d')]();_0x2d7fb8[_0x1cd3('0x1f65')]=_0x11fa8f||{'count':0x0,'rows':[]};_0x2d7fb8[_0x1cd3('0xd45')]='cloudProviders';_0x2d7fb8[_0x1cd3('0xd46')]='';_0x2d7fb8[_0x1cd3('0xd47')]=null;_0x2d7fb8[_0x1cd3('0x1f67')]=[];_0x2d7fb8['query']={'fields':'createdAt,updatedAt,id,name,service,data2,data1','sort':'-updatedAt','limit':0xa,'page':0x1};_0x2d7fb8[_0x1cd3('0x1f68')]=_[_0x1cd3('0xe2d')]([{'option':_0x1cd3('0x1f69'),'value':_0x1cd3('0x1f6a')}],function(_0x3db777){return _['replace'](_0x3db777[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x2d7fb8[_0x1cd3('0xd48')]=_0x5f49db;_0x2d7fb8[_0x1cd3('0xecc')]=_0x55b66b;_0x2d7fb8[_0x1cd3('0x473')]=_0x2c750f;_0x2d7fb8[_0x1cd3('0x1f6b')]=_0x2563d9;_0x2d7fb8[_0x1cd3('0x1f6c')]=_0x24b671;_0x2d7fb8[_0x1cd3('0x1f6d')]=_0x55f875;_0x2d7fb8[_0x1cd3('0x1f6e')]=_0x1ac921;_0x2d7fb8[_0x1cd3('0x1f6f')]=_0x50d186;_0x2d7fb8[_0x1cd3('0x1f70')]=_0x3f88a5;_0x2d7fb8['selectAllAiTools']=_0x4cd368;function _0x5f49db(_0x33f0ec,_0x492417){_0x1073ad['show']({'controller':_0x1cd3('0x1f71'),'controllerAs':'vm','templateUrl':'app/main/apps/settings/views/cloudProviders/create/dialog.html','parent':angular[_0x1cd3('0x37f')](_0x311476[_0x1cd3('0x380')]),'targetEvent':_0x492417,'clickOutsideToClose':!![],'locals':{'cloudProvider':_0x33f0ec,'cloudProviders':_0x2d7fb8[_0x1cd3('0x1f65')][_0x1cd3('0xf6')],'license':_0x2d7fb8[_0x1cd3('0x463')],'setting':null,'crudPermissions':_0x2d7fb8[_0x1cd3('0xd27')]}});}function _0x55b66b(_0x4c6903,_0x36da0c){var _0x17f306=_0x1073ad[_0x1cd3('0xd39')]()[_0x1cd3('0x486')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20'+_[_0x1cd3('0xd50')](_0x1cd3('0xcc6'))+'?')[_0x1cd3('0xd60')](_0x1cd3('0xd51')+(_0x4c6903['name']||_0x1cd3('0xcc6'))+_0x1cd3('0xd52')+_0x1cd3('0xd53'))['ariaLabel']('delete\x20cloudProvider')['targetEvent'](_0x36da0c)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x1073ad[_0x1cd3('0x37e')](_0x17f306)[_0x1cd3('0x77')](function(){_0x55f875(_0x4c6903);},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}var _0x546829=!![];var _0x39369d=0x1;_0x283c15['$watch'](_0x1cd3('0xd56'),function(_0x2fc9aa,_0x1c78d5){if(_0x546829){_0x2f2acf(function(){_0x546829=![];});}else{if(!_0x1c78d5){_0x39369d=_0x2d7fb8['query']['page'];}if(_0x2fc9aa!==_0x1c78d5){_0x2d7fb8['query'][_0x1cd3('0x8fd')]=0x1;}if(!_0x2fc9aa){_0x2d7fb8['query']['page']=_0x39369d;}_0x2d7fb8[_0x1cd3('0x1f6b')]();}});function _0x2c750f(_0x907d75){_0x2d7fb8[_0x1cd3('0x1f65')]=_0x907d75||{'count':0x0,'rows':[]};}function _0x2563d9(){_0x2d7fb8['query'][_0x1cd3('0xd57')]=(_0x2d7fb8[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0x2d7fb8['query'][_0x1cd3('0x8fe')];if(_0x4c73d0['hasRole']('admin')){_0x2d7fb8['promise']=_0x2d1f46[_0x1cd3('0xcc6')][_0x1cd3('0x361')](_0x2d7fb8[_0x1cd3('0x3d4')],_0x2c750f)[_0x1cd3('0x81')];}else{_0x2d7fb8[_0x1cd3('0x3d4')]['id']=_0x2d7fb8['userProfile']['id'];_0x2d7fb8[_0x1cd3('0x3d4')][_0x1cd3('0xd58')]='AiTools';_0x2d7fb8[_0x1cd3('0x539')]=_0x2d1f46[_0x1cd3('0x38a')]['getResources'](_0x2d7fb8[_0x1cd3('0x3d4')],_0x2c750f)[_0x1cd3('0x81')];}}function _0x24b671(_0x48403b,_0x326e4c){_0x1073ad['show']({'controller':_0x1cd3('0x1f71'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1f72'),'parent':angular[_0x1cd3('0x37f')](_0x311476[_0x1cd3('0x380')]),'targetEvent':_0x48403b,'clickOutsideToClose':!![],'locals':{'cloudProvider':_0x326e4c,'cloudProviders':_0x2d7fb8['cloudProviders'][_0x1cd3('0xf6')],'license':_0x2d7fb8[_0x1cd3('0x463')],'setting':_0x2d7fb8[_0x1cd3('0xc49')],'crudPermissions':_0x2d7fb8['crudPermissions']}});}function _0x55f875(_0x440ceb){_0x2d1f46[_0x1cd3('0xcc6')]['delete']({'id':_0x440ceb['id']})[_0x1cd3('0x81')]['then'](function(){_[_0x1cd3('0x383')](_0x2d7fb8[_0x1cd3('0x1f65')][_0x1cd3('0xf6')],{'id':_0x440ceb['id']});_0x2d7fb8[_0x1cd3('0x1f65')][_0x1cd3('0x466')]-=0x1;if(!_0x2d7fb8[_0x1cd3('0x1f65')][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){_0x2d7fb8['getAiTools']();}_0x365142[_0x1cd3('0x473')]({'title':_[_0x1cd3('0xd50')](_0x1cd3('0x1f73'))+_0x1cd3('0xd5c'),'msg':_0x440ceb['name']?_0x440ceb[_0x1cd3('0x98')]+_0x1cd3('0xd41'):''});})[_0x1cd3('0xfd')](function(_0x38e985){if(_0x38e985['data']&&_0x38e985['data'][_0x1cd3('0xd34')]&&_0x38e985['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x2d7fb8[_0x1cd3('0xd34')]=_0x38e985[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x38e985['toString'](),'type':'SYSTEM:DELETEcloudProvider'}];for(var _0x2751a1=0x0;_0x2751a1<_0x38e985[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x2751a1++){_0x365142['error']({'title':_0x38e985[_0x1cd3('0x439')]['errors'][_0x2751a1][_0x1cd3('0x424')],'msg':_0x38e985['data'][_0x1cd3('0xd34')][_0x2751a1][_0x1cd3('0x43a')]});}}else{_0x365142[_0x1cd3('0x434')]({'title':_0x38e985['status']?_0x1cd3('0x435')+_0x38e985[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x38e985[_0x1cd3('0xd35')]:_0x1cd3('0x1f74'),'msg':_0x38e985[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x38e985[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x38e985[_0x1cd3('0x43a')]||_0x38e985['toString']()});}});}function _0x1ac921(){var _0x4d7c65=angular[_0x1cd3('0x429')](_0x2d7fb8[_0x1cd3('0x1f67')]);_0x2d7fb8['selectedAiTools']=[];return _0x4d7c65;}function _0x50d186(_0x4de45b){var _0x224599=_0x1073ad[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x1f75'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x2d7fb8[_0x1cd3('0x1f67')]['length']+'\x20selected</b>'+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x1f76'))['targetEvent'](_0x4de45b)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x1073ad[_0x1cd3('0x37e')](_0x224599)[_0x1cd3('0x77')](function(){_0x2d7fb8[_0x1cd3('0x1f67')]['forEach'](function(_0x6d0ac6){_0x55f875(_0x6d0ac6);});_0x2d7fb8[_0x1cd3('0x1f67')]=[];});}function _0x3f88a5(){_0x2d7fb8[_0x1cd3('0x1f67')]=[];}function _0x4cd368(){_0x2d7fb8['selectedAiTools']=_0x2d7fb8[_0x1cd3('0x1f65')][_0x1cd3('0xf6')];}}}());(function(){'use strict';_0x293143['$inject']=[_0x1cd3('0x460'),'$state','$location',_0x1cd3('0x3c5'),'$q',_0x1cd3('0x3f7'),_0x1cd3('0x461'),_0x1cd3('0x1f65'),_0x1cd3('0xcc6'),_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0x463'),_0x1cd3('0xc49')];angular[_0x1cd3('0x0')](_0x1cd3('0x247'))['controller']('CreateOrEditCloudProviderDialogController',_0x293143);function _0x293143(_0x4132db,_0x16e24b,_0x47bb2e,_0x3d3be3,_0xa35f43,_0x230280,_0x124edd,_0x33c970,_0x30486c,_0x77640a,_0x25033c,_0x56a3fe,_0x9d68d0){var _0x167988=this;_0x167988[_0x1cd3('0x3ca')]=_0x25033c[_0x1cd3('0x5d')]();_0x167988['errors']=[];_0x167988['setting']=_0x9d68d0;_0x167988[_0x1cd3('0x463')]=_0x56a3fe;_0x167988['hasModulePermissions']={};_0x167988['passwordPattern']=_0x167988['setting']&&_0x167988['setting'][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x167988[_0x1cd3('0x486')]=_0x1cd3('0x1f77');_0x167988[_0x1cd3('0xcc6')]=angular[_0x1cd3('0x429')](_0x30486c);_0x167988[_0x1cd3('0x1f65')]=_0x33c970;_0x167988[_0x1cd3('0x1f78')]=![];if(!_0x167988['cloudProvider']){_0x167988[_0x1cd3('0xcc6')]={};_0x167988[_0x1cd3('0x486')]=_0x1cd3('0x1f79');_0x167988['newCloudProvider']=!![];}_0x167988[_0x1cd3('0x1f7a')]=_0x3fd192;_0x167988[_0x1cd3('0x1f7b')]=_0x5ed7b2;_0x167988[_0x1cd3('0x1f6d')]=_0xebbf32;_0x167988[_0x1cd3('0xd31')]=_0x7b8781;_0x167988[_0x1cd3('0x39c')]=_0x59c0c0;function _0x3fd192(){_0x167988[_0x1cd3('0xd34')]=[];_0x77640a[_0x1cd3('0xcc6')][_0x1cd3('0xd6d')](_0x167988['cloudProvider'])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x58a8a2){_0x167988['cloudProviders'][_0x1cd3('0x621')](_0x58a8a2['toJSON']());_0x124edd[_0x1cd3('0x473')]({'title':_0x1cd3('0x1f7c'),'msg':_0x167988['cloudProvider'][_0x1cd3('0x98')]?_0x167988[_0x1cd3('0xcc6')][_0x1cd3('0x98')]+_0x1cd3('0xd33'):''});_0x59c0c0(_0x58a8a2);})['catch'](function(_0x4be2b1){if(_0x4be2b1[_0x1cd3('0x439')]&&_0x4be2b1[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x4be2b1['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x167988[_0x1cd3('0xd34')]=_0x4be2b1[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x4be2b1[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1f7d')}];for(var _0x4c6f69=0x0;_0x4c6f69<_0x4be2b1[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length'];_0x4c6f69+=0x1){_0x124edd[_0x1cd3('0x434')]({'title':_0x4be2b1[_0x1cd3('0x439')]['errors'][_0x4c6f69][_0x1cd3('0x424')],'msg':_0x4be2b1[_0x1cd3('0x439')]['errors'][_0x4c6f69][_0x1cd3('0x43a')]});}}else{_0x124edd[_0x1cd3('0x434')]({'title':_0x4be2b1[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x4be2b1[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x4be2b1['statusText']:'api.cloudProvider.save','msg':_0x4be2b1[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x4be2b1[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x4be2b1[_0x1cd3('0x43b')]()});}});}function _0x5ed7b2(){_0x167988[_0x1cd3('0xd34')]=[];_0x77640a[_0x1cd3('0xcc6')][_0x1cd3('0x378')]({'id':_0x167988['cloudProvider']['id']},_0x167988[_0x1cd3('0xcc6')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x14b0e9){var _0x4e44cc=_[_0x1cd3('0x442')](_0x167988[_0x1cd3('0x1f65')],{'id':_0x14b0e9['id']});if(_0x4e44cc){_[_0x1cd3('0xf2')](_0x4e44cc,_[_0x1cd3('0x5e8')](_0x14b0e9['toJSON'](),_[_0x1cd3('0x80')](_0x4e44cc)));}_0x124edd[_0x1cd3('0x473')]({'title':_0x1cd3('0x1f7e'),'msg':_0x167988[_0x1cd3('0xcc6')][_0x1cd3('0x98')]?_0x167988['cloudProvider']['name']+_0x1cd3('0xd37'):''});_0x59c0c0(_0x14b0e9);})[_0x1cd3('0xfd')](function(_0x350a0d){if(_0x350a0d[_0x1cd3('0x439')]&&_0x350a0d[_0x1cd3('0x439')]['errors']&&_0x350a0d['data']['errors']['length']){_0x167988[_0x1cd3('0xd34')]=_0x350a0d[_0x1cd3('0x439')]['errors']||[{'message':_0x350a0d[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1f7f')}];for(var _0x315fa=0x0;_0x315fa<_0x350a0d[_0x1cd3('0x439')]['errors']['length'];_0x315fa++){_0x124edd[_0x1cd3('0x434')]({'title':_0x350a0d[_0x1cd3('0x439')]['errors'][_0x315fa][_0x1cd3('0x424')],'msg':_0x350a0d['data'][_0x1cd3('0xd34')][_0x315fa][_0x1cd3('0x43a')]});}}else{_0x124edd[_0x1cd3('0x434')]({'title':_0x350a0d[_0x1cd3('0x3a6')]?'API:'+_0x350a0d[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x350a0d[_0x1cd3('0xd35')]:_0x1cd3('0x1f7f'),'msg':_0x350a0d[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x350a0d[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x350a0d[_0x1cd3('0x43b')]()});}});}function _0xebbf32(_0x4f7e79){_0x167988[_0x1cd3('0xd34')]=[];var _0x1058e4=_0x3d3be3['confirm']()[_0x1cd3('0x486')](_0x1cd3('0xd3a'))[_0x1cd3('0xd3b')](_0x1cd3('0x1f80'))[_0x1cd3('0xd3d')](_0x1cd3('0x1f81'))['ok']('Delete')[_0x1cd3('0x4d8')]('Cancel')[_0x1cd3('0xd63')](_0x4f7e79);_0x3d3be3[_0x1cd3('0x37e')](_0x1058e4)[_0x1cd3('0x77')](function(){_0x77640a['cloudProvider'][_0x1cd3('0xa1c')]({'id':_0x167988[_0x1cd3('0xcc6')]['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_['remove'](_0x167988[_0x1cd3('0x1f65')],{'id':_0x167988[_0x1cd3('0xcc6')]['id']});_0x124edd[_0x1cd3('0x473')]({'title':_0x1cd3('0x1f82'),'msg':(_0x167988[_0x1cd3('0xcc6')][_0x1cd3('0x98')]||_0x1cd3('0xcc6'))+_0x1cd3('0xd41')});_0x59c0c0(_0x167988[_0x1cd3('0xcc6')]);})[_0x1cd3('0xfd')](function(_0x58f4aa){if(_0x58f4aa['data']&&_0x58f4aa[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x58f4aa[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length']){_0x167988[_0x1cd3('0xd34')]=_0x58f4aa['data'][_0x1cd3('0xd34')]||[{'message':_0x58f4aa[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1f83')}];for(var _0x1b9f55=0x0;_0x1b9f55<_0x58f4aa[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x1b9f55++){_0x124edd[_0x1cd3('0x434')]({'title':_0x58f4aa[_0x1cd3('0x439')]['errors'][_0x1b9f55]['type'],'msg':_0x58f4aa[_0x1cd3('0x439')]['errors'][_0x1b9f55][_0x1cd3('0x43a')]});}}else{_0x124edd['error']({'title':_0x58f4aa[_0x1cd3('0x3a6')]?'API:'+_0x58f4aa[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x58f4aa[_0x1cd3('0xd35')]:'api.cloudProvider.delete','msg':_0x58f4aa['data']?JSON[_0x1cd3('0x438')](_0x58f4aa[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x58f4aa[_0x1cd3('0x43a')]||_0x58f4aa[_0x1cd3('0x43b')]()});}});},function(){});}function _0x7b8781(_0x5342f0){return _0x5342f0===null?undefined:new Date(_0x5342f0);}function _0x59c0c0(_0x30283a){_0x3d3be3[_0x1cd3('0x39d')](_0x30283a);}}}());(function(){'use strict';_0x5fbead[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x53e'),_0x1cd3('0xd24'),_0x1cd3('0x3c5'),'$q',_0x1cd3('0x3f7'),'toasty',_0x1cd3('0x1f84'),_0x1cd3('0x1f85'),_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0x463'),'setting',_0x1cd3('0xd27')];angular['module']('app.settings')[_0x1cd3('0x39b')](_0x1cd3('0x1f86'),_0x5fbead);function _0x5fbead(_0x39b267,_0x3c1abb,_0x226674,_0x290b3f,_0x3aa21b,_0x538bea,_0x4aa934,_0x199dfa,_0x503750,_0x43f05c,_0x43aaf0,_0x1392d4,_0x46a9ae,_0x52afb3){var _0x2522c6=this;_0x2522c6[_0x1cd3('0x3ca')]=_0x43aaf0[_0x1cd3('0x5d')]();_0x2522c6[_0x1cd3('0xd34')]=[];_0x2522c6[_0x1cd3('0xc49')]=_0x46a9ae;_0x2522c6[_0x1cd3('0x463')]=_0x1392d4;_0x2522c6[_0x1cd3('0xd27')]=_0x52afb3;_0x2522c6[_0x1cd3('0xd28')]={};_0x2522c6[_0x1cd3('0xd29')]=_0x2522c6[_0x1cd3('0xc49')]&&_0x2522c6[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x2522c6[_0x1cd3('0x486')]=_0x1cd3('0x1f87');_0x2522c6[_0x1cd3('0x1f85')]=angular['copy'](_0x503750);_0x2522c6['customizations']=_0x199dfa;_0x2522c6[_0x1cd3('0x1f88')]=![];if(!_0x2522c6['customization']){_0x2522c6[_0x1cd3('0x1f85')]={};_0x2522c6[_0x1cd3('0x486')]=_0x1cd3('0x1f89');_0x2522c6[_0x1cd3('0x1f88')]=!![];}_0x2522c6[_0x1cd3('0x1f8a')]=_0x5f25aa;_0x2522c6[_0x1cd3('0x1f8b')]=_0x1c1aca;_0x2522c6['deleteCustomization']=_0x1ab227;_0x2522c6[_0x1cd3('0xd31')]=_0x54e097;_0x2522c6[_0x1cd3('0x39c')]=_0x186bea;function _0x5f25aa(){_0x2522c6[_0x1cd3('0xd34')]=[];_0x43f05c[_0x1cd3('0xc49')][_0x1cd3('0xd6d')](_0x2522c6[_0x1cd3('0x1f85')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x494486){_0x2522c6[_0x1cd3('0x1f84')]['unshift'](_0x494486[_0x1cd3('0xd32')]());_0x4aa934[_0x1cd3('0x473')]({'title':'Customization\x20properly\x20created','msg':_0x2522c6[_0x1cd3('0x1f85')][_0x1cd3('0x98')]?_0x2522c6['customization']['name']+_0x1cd3('0xd33'):''});_0x186bea(_0x494486);})['catch'](function(_0x2298d8){if(_0x2298d8[_0x1cd3('0x439')]&&_0x2298d8[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x2298d8[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x2522c6['errors']=_0x2298d8[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x2298d8[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1f8c')}];for(var _0x346fdf=0x0;_0x346fdf<_0x2298d8['data'][_0x1cd3('0xd34')]['length'];_0x346fdf+=0x1){_0x4aa934[_0x1cd3('0x434')]({'title':_0x2298d8['data'][_0x1cd3('0xd34')][_0x346fdf][_0x1cd3('0x424')],'msg':_0x2298d8[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x346fdf][_0x1cd3('0x43a')]});}}else{_0x4aa934[_0x1cd3('0x434')]({'title':_0x2298d8[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x2298d8[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x2298d8[_0x1cd3('0xd35')]:_0x1cd3('0x1f8c'),'msg':_0x2298d8['data']?JSON[_0x1cd3('0x438')](_0x2298d8[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x2298d8[_0x1cd3('0x43b')]()});}});}function _0x1c1aca(){_0x2522c6[_0x1cd3('0xd34')]=[];_0x43f05c['setting'][_0x1cd3('0x378')]({'id':_0x2522c6['customization']['id']},_0x2522c6[_0x1cd3('0x1f85')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x5c460c){var _0x227656=_[_0x1cd3('0x442')](_0x2522c6[_0x1cd3('0x1f84')],{'id':_0x5c460c['id']});if(_0x227656){_['merge'](_0x227656,_[_0x1cd3('0x5e8')](_0x5c460c['toJSON'](),_['keys'](_0x227656)));}_0x4aa934[_0x1cd3('0x473')]({'title':_0x1cd3('0x1f8d'),'msg':_0x2522c6[_0x1cd3('0x1f85')]['name']?_0x2522c6[_0x1cd3('0x1f85')][_0x1cd3('0x98')]+_0x1cd3('0xd37'):''});_0x186bea(_0x5c460c);})[_0x1cd3('0xfd')](function(_0x213eea){if(_0x213eea['data']&&_0x213eea[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x213eea[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')]){_0x2522c6[_0x1cd3('0xd34')]=_0x213eea[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x213eea[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1f8e')}];for(var _0x2ec195=0x0;_0x2ec195<_0x213eea['data']['errors'][_0x1cd3('0x7a')];_0x2ec195++){_0x4aa934['error']({'title':_0x213eea[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x2ec195]['type'],'msg':_0x213eea[_0x1cd3('0x439')]['errors'][_0x2ec195][_0x1cd3('0x43a')]});}}else{_0x4aa934[_0x1cd3('0x434')]({'title':_0x213eea['status']?_0x1cd3('0x435')+_0x213eea[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x213eea[_0x1cd3('0xd35')]:_0x1cd3('0x1f8e'),'msg':_0x213eea['data']?JSON[_0x1cd3('0x438')](_0x213eea[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x213eea[_0x1cd3('0x43b')]()});}});}function _0x1ab227(_0x44daf5){_0x2522c6[_0x1cd3('0xd34')]=[];var _0x1e012e=_0x290b3f[_0x1cd3('0xd39')]()['title'](_0x1cd3('0xd3a'))[_0x1cd3('0xd3b')](_0x1cd3('0x1f8f'))['ariaLabel'](_0x1cd3('0x1f90'))['ok'](_0x1cd3('0xd3f'))[_0x1cd3('0x4d8')](_0x1cd3('0x674'))[_0x1cd3('0xd63')](_0x44daf5);_0x290b3f['show'](_0x1e012e)[_0x1cd3('0x77')](function(){_0x43f05c[_0x1cd3('0xc49')]['delete']({'id':_0x2522c6[_0x1cd3('0x1f85')]['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x2522c6['customizations'],{'id':_0x2522c6[_0x1cd3('0x1f85')]['id']});_0x4aa934[_0x1cd3('0x473')]({'title':_0x1cd3('0x1f91'),'msg':(_0x2522c6[_0x1cd3('0x1f85')][_0x1cd3('0x98')]||_0x1cd3('0x1f85'))+'\x20has\x20been\x20deleted!'});_0x186bea(_0x2522c6[_0x1cd3('0x1f85')]);})['catch'](function(_0xde9d64){if(_0xde9d64[_0x1cd3('0x439')]&&_0xde9d64[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0xde9d64['data']['errors'][_0x1cd3('0x7a')]){_0x2522c6[_0x1cd3('0xd34')]=_0xde9d64[_0x1cd3('0x439')]['errors']||[{'message':_0xde9d64[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1f92')}];for(var _0x22e69a=0x0;_0x22e69a<_0xde9d64[_0x1cd3('0x439')]['errors']['length'];_0x22e69a++){_0x4aa934[_0x1cd3('0x434')]({'title':_0xde9d64[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x22e69a][_0x1cd3('0x424')],'msg':_0xde9d64['data'][_0x1cd3('0xd34')][_0x22e69a]['message']});}}else{_0x4aa934['error']({'title':_0xde9d64['status']?_0x1cd3('0x435')+_0xde9d64['status']+'\x20-\x20'+_0xde9d64[_0x1cd3('0xd35')]:'api.setting.delete','msg':_0xde9d64[_0x1cd3('0x439')]?JSON['stringify'](_0xde9d64['data']['message']):_0xde9d64[_0x1cd3('0x43a')]||_0xde9d64['toString']()});}});},function(){});}function _0x54e097(_0x43328){return _0x43328===null?undefined:new Date(_0x43328);}function _0x186bea(_0x1a22c0){_0x290b3f[_0x1cd3('0x39d')](_0x1a22c0);}}}());(function(){'use strict';_0x1f139e[_0x1cd3('0xc')]=[_0x1cd3('0x1f84'),_0x1cd3('0x370'),'toasty',_0x1cd3('0x463'),_0x1cd3('0x56')];angular['module'](_0x1cd3('0x247'))[_0x1cd3('0x39b')](_0x1cd3('0x1f93'),_0x1f139e);function _0x1f139e(_0x41fc1e,_0x30d6c3,_0x52fdb0,_0x546c18,_0x3f349e){var _0x3b8bf8=this;_0x3b8bf8[_0x1cd3('0x3ca')]=_0x3f349e[_0x1cd3('0x5d')]();_0x3b8bf8[_0x1cd3('0x463')]=_0x546c18;_0x3b8bf8[_0x1cd3('0x1f84')]=_0x41fc1e;_0x3b8bf8['customization']={};if(_0x3b8bf8['customizations']&&_0x3b8bf8[_0x1cd3('0x1f84')][_0x1cd3('0xf6')]&&_0x3b8bf8[_0x1cd3('0x1f84')][_0x1cd3('0xf6')]['length']){_0x3b8bf8[_0x1cd3('0x1f85')]=_0x3b8bf8[_0x1cd3('0x1f84')]['rows'][0x0];}_0x3b8bf8[_0x1cd3('0x1f8b')]=_0x2e5a16;function _0x2e5a16(){if(_0x3b8bf8[_0x1cd3('0x1f85')]['id']){_0x30d6c3[_0x1cd3('0xc49')][_0x1cd3('0x378')]({'id':_0x3b8bf8['customization']['id']},_0x3b8bf8[_0x1cd3('0x1f85')])[_0x1cd3('0x81')]['then'](function(){_0x52fdb0[_0x1cd3('0x473')]({'title':'Customization\x20updated!','msg':_0x3b8bf8[_0x1cd3('0x1f85')][_0x1cd3('0x98')]?_0x3b8bf8[_0x1cd3('0x1f85')][_0x1cd3('0x98')]+_0x1cd3('0xe65'):''});})['catch'](function(_0x1b3780){_0x52fdb0['error']({'title':_0x1b3780[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x1b3780[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x1b3780[_0x1cd3('0xd35')]:_0x1cd3('0x1f94'),'msg':_0x1b3780[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x1b3780[_0x1cd3('0x439')]):_0x1b3780[_0x1cd3('0x43b')]()});});}else{_0x30d6c3[_0x1cd3('0xc49')][_0x1cd3('0xd6d')](_0x3b8bf8['customization'])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x486383){_['merge'](_0x3b8bf8['customization'],_0x486383);_0x52fdb0['success']({'title':_0x1cd3('0x1f95'),'msg':_0x3b8bf8['customization'][_0x1cd3('0x98')]?_0x3b8bf8[_0x1cd3('0x1f85')][_0x1cd3('0x98')]+_0x1cd3('0xe65'):''});})['catch'](function(_0x4ae3bb){_0x52fdb0['error']({'title':_0x4ae3bb[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x4ae3bb[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x4ae3bb['statusText']:_0x1cd3('0x1f94'),'msg':_0x4ae3bb['data']?JSON[_0x1cd3('0x438')](_0x4ae3bb[_0x1cd3('0x439')]):_0x4ae3bb[_0x1cd3('0x43b')]()});});}}}}());(function(){'use strict';_0x44fbf3[_0x1cd3('0xc')]=[_0x1cd3('0x36f'),_0x1cd3('0x461')];angular['module'](_0x1cd3('0x247'))['controller'](_0x1cd3('0x1f96'),_0x44fbf3);function _0x44fbf3(_0x2c6b00,_0x871c70){var _0x292b33=this;var _0x38363c=0x8;var _0xeda74b=_0x38363c*0x400*0x400;_0x292b33[_0x1cd3('0x1f85')]={};_0x292b33['ngFlowOptions']={'singleFile':!![],'maxChunkRetries':0x1,'chunkSize':_0xeda74b,'simultaneousUploads':0x1,'testChunks':![],'progressCallbacksInterval':0x3e8,'allowDuplicateUploads':!![]};_0x292b33[_0x1cd3('0x126b')]={'flow':{}};_0x292b33[_0x1cd3('0x126c')]=![];_0x292b33['fileAdded']=_0x3868aa;_0x292b33[_0x1cd3('0x126d')]=_0x93dadf;_0x292b33[_0x1cd3('0x126e')]=_0x13ba2e;_0x292b33['init']=_0x2cb4d7;function _0x2cb4d7(_0x317f38){_0x292b33[_0x1cd3('0x1f85')]=angular[_0x1cd3('0x429')](_0x317f38);_0x292b33[_0x1cd3('0x126a')][_0x1cd3('0x365')]=_0x1cd3('0x1f97')[_0x1cd3('0x3f1')](_0x1cd3('0x1270'),_0x292b33[_0x1cd3('0x1f85')]['id']);_0x292b33[_0x1cd3('0x1f85')][_0x1cd3('0x1271')]=[];}function _0x3868aa(_0x25b922){var _0x49043e=[_0x1cd3('0x1272'),'jpg',_0x1cd3('0x1f98')];if(!_[_0x1cd3('0x38f')](_0x49043e,_0x25b922['getExtension']())){_0x871c70[_0x1cd3('0x434')]({'title':_0x1cd3('0x1274')+_0x25b922[_0x1cd3('0x113c')](),'msg':_0x1cd3('0x1275')+_0x49043e[_0x1cd3('0x3de')]()});return![];}if(_0x25b922[_0x1cd3('0x113e')]>_0xeda74b){_0x871c70['error']({'title':_0x1cd3('0x1276'),'msg':'The\x20max\x20allowed\x20size\x20is\x20'+_0x38363c+'MB'});return![];}var _0x2f386a={'id':_0x25b922[_0x1cd3('0x1278')],'file':_0x25b922,'type':'uploading'};_0x292b33[_0x1cd3('0x1f85')][_0x1cd3('0x1271')][_0x1cd3('0x621')](_0x2f386a);return!![];}function _0x93dadf(){_0x292b33[_0x1cd3('0x126b')][_0x1cd3('0x46')][_0x1cd3('0x130a')]['headers']={'X-Requested-With':_0x1cd3('0x130b'),'Authorization':_0x1cd3('0x3a5')+_0x2c6b00[_0x1cd3('0x361')]('motion.token')};_0x292b33['ngFlow'][_0x1cd3('0x46')][_0x1cd3('0x126d')]();}function _0x13ba2e(_0x2f2a4a,_0x4be411){angular['forEach'](_0x292b33[_0x1cd3('0x1f85')][_0x1cd3('0x1271')],function(_0xc4c251,_0x161a60){if(_0xc4c251['id']===_0x2f2a4a['uniqueIdentifier']){var _0x4f2582=new FileReader();_0x4f2582[_0x1cd3('0xe95')](_0xc4c251[_0x1cd3('0xe96')][_0x1cd3('0xe96')]);_0x4f2582[_0x1cd3('0xe8f')]=function(_0x4c1876){_0xc4c251[_0x1cd3('0x3a4')]=_0x4c1876[_0x1cd3('0x365')][_0x1cd3('0xe90')];};_0xc4c251[_0x1cd3('0x424')]=_0x1cd3('0x127a');}});}}}());(function(){'use strict';_0x20c0a8[_0x1cd3('0xc')]=['$cookies',_0x1cd3('0x461')];angular[_0x1cd3('0x0')](_0x1cd3('0x247'))[_0x1cd3('0x39b')](_0x1cd3('0x1f99'),_0x20c0a8);function _0x20c0a8(_0x43618a,_0x5daabc){var _0x3e3d96=this;var _0x5496e4=0x8;var _0x217e55=_0x5496e4*0x400*0x400;_0x3e3d96[_0x1cd3('0x1f85')]={};_0x3e3d96[_0x1cd3('0x126a')]={'singleFile':!![],'maxChunkRetries':0x1,'chunkSize':_0x217e55,'simultaneousUploads':0x1,'testChunks':![],'progressCallbacksInterval':0x3e8,'allowDuplicateUploads':!![]};_0x3e3d96[_0x1cd3('0x126b')]={'flow':{}};_0x3e3d96[_0x1cd3('0x126c')]=![];_0x3e3d96[_0x1cd3('0x113a')]=_0x4882a5;_0x3e3d96['upload']=_0x414553;_0x3e3d96['fileSuccess']=_0x18b463;_0x3e3d96['init']=_0x4ba658;function _0x4ba658(_0x3729b7){_0x3e3d96[_0x1cd3('0x1f85')]=angular[_0x1cd3('0x429')](_0x3729b7);_0x3e3d96[_0x1cd3('0x126a')]['target']=_0x1cd3('0x1f9a')[_0x1cd3('0x3f1')](_0x1cd3('0x1270'),_0x3e3d96['customization']['id']);_0x3e3d96[_0x1cd3('0x1f85')][_0x1cd3('0x1271')]=[];}function _0x4882a5(_0x39319a){var _0x586ab8=[_0x1cd3('0x1272'),'jpg'];if(!_[_0x1cd3('0x38f')](_0x586ab8,_0x39319a[_0x1cd3('0x113c')]())){_0x5daabc[_0x1cd3('0x434')]({'title':_0x1cd3('0x1274')+_0x39319a[_0x1cd3('0x113c')](),'msg':_0x1cd3('0x1275')+_0x586ab8[_0x1cd3('0x3de')]()});return![];}if(_0x39319a[_0x1cd3('0x113e')]>_0x217e55){_0x5daabc[_0x1cd3('0x434')]({'title':_0x1cd3('0x1276'),'msg':'The\x20max\x20allowed\x20size\x20is\x20'+_0x5496e4+'MB'});return![];}var _0xc15d45={'id':_0x39319a['uniqueIdentifier'],'file':_0x39319a,'type':_0x1cd3('0x1279')};_0x3e3d96['customization']['images'][_0x1cd3('0x621')](_0xc15d45);return!![];}function _0x414553(){_0x3e3d96[_0x1cd3('0x126b')][_0x1cd3('0x46')][_0x1cd3('0x130a')][_0x1cd3('0x3a2')]={'X-Requested-With':_0x1cd3('0x130b'),'Authorization':'Bearer\x20'+_0x43618a[_0x1cd3('0x361')](_0x1cd3('0x374'))};_0x3e3d96[_0x1cd3('0x126b')]['flow'][_0x1cd3('0x126d')]();}function _0x18b463(_0x3d0d66,_0x10a7ab){angular[_0x1cd3('0x394')](_0x3e3d96[_0x1cd3('0x1f85')][_0x1cd3('0x1271')],function(_0x3f8cc6,_0x2b530d){if(_0x3f8cc6['id']===_0x3d0d66['uniqueIdentifier']){var _0xf0f503=new FileReader();_0xf0f503[_0x1cd3('0xe95')](_0x3f8cc6[_0x1cd3('0xe96')][_0x1cd3('0xe96')]);_0xf0f503[_0x1cd3('0xe8f')]=function(_0x432241){_0x3f8cc6[_0x1cd3('0x3a4')]=_0x432241[_0x1cd3('0x365')]['result'];};_0x3f8cc6[_0x1cd3('0x424')]=_0x1cd3('0x127a');}});}}}());(function(){'use strict';_0x50b3cc[_0x1cd3('0xc')]=['$cookies',_0x1cd3('0x461')];angular[_0x1cd3('0x0')](_0x1cd3('0x247'))['controller'](_0x1cd3('0x1f9b'),_0x50b3cc);function _0x50b3cc(_0x153dce,_0xb7dd70){var _0x60bf6d=this;var _0x4cdfe9=0x8;var _0x5a993a=_0x4cdfe9*0x400*0x400;_0x60bf6d['customization']={};_0x60bf6d[_0x1cd3('0x126a')]={'singleFile':!![],'maxChunkRetries':0x1,'chunkSize':_0x5a993a,'simultaneousUploads':0x1,'testChunks':![],'progressCallbacksInterval':0x3e8,'allowDuplicateUploads':!![]};_0x60bf6d[_0x1cd3('0x126b')]={'flow':{}};_0x60bf6d[_0x1cd3('0x126c')]=![];_0x60bf6d[_0x1cd3('0x113a')]=_0x4809f1;_0x60bf6d[_0x1cd3('0x126d')]=_0x2bb8b1;_0x60bf6d[_0x1cd3('0x126e')]=_0xb80e4f;_0x60bf6d[_0x1cd3('0xe08')]=_0x90a6c8;function _0x90a6c8(_0x3cd63a){_0x60bf6d['customization']=angular[_0x1cd3('0x429')](_0x3cd63a);_0x60bf6d[_0x1cd3('0x126a')]['target']=_0x1cd3('0x1f9c')[_0x1cd3('0x3f1')](_0x1cd3('0x1270'),_0x60bf6d[_0x1cd3('0x1f85')]['id']);_0x60bf6d[_0x1cd3('0x1f85')]['images']=[];}function _0x4809f1(_0xc44474){var _0xc153f8=['png',_0x1cd3('0x1273')];if(!_[_0x1cd3('0x38f')](_0xc153f8,_0xc44474['getExtension']())){_0xb7dd70[_0x1cd3('0x434')]({'title':_0x1cd3('0x1274')+_0xc44474[_0x1cd3('0x113c')](),'msg':_0x1cd3('0x1275')+_0xc153f8['join']()});return![];}if(_0xc44474['size']>_0x5a993a){_0xb7dd70[_0x1cd3('0x434')]({'title':_0x1cd3('0x1276'),'msg':_0x1cd3('0x1277')+_0x4cdfe9+'MB'});return![];}var _0x5ecc4f={'id':_0xc44474[_0x1cd3('0x1278')],'file':_0xc44474,'type':_0x1cd3('0x1279')};_0x60bf6d[_0x1cd3('0x1f85')]['images'][_0x1cd3('0x621')](_0x5ecc4f);return!![];}function _0x2bb8b1(){_0x60bf6d[_0x1cd3('0x126b')][_0x1cd3('0x46')][_0x1cd3('0x130a')][_0x1cd3('0x3a2')]={'X-Requested-With':_0x1cd3('0x130b'),'Authorization':_0x1cd3('0x3a5')+_0x153dce[_0x1cd3('0x361')](_0x1cd3('0x374'))};_0x60bf6d['ngFlow'][_0x1cd3('0x46')][_0x1cd3('0x126d')]();}function _0xb80e4f(_0x55943f,_0x1afcdf){angular[_0x1cd3('0x394')](_0x60bf6d[_0x1cd3('0x1f85')][_0x1cd3('0x1271')],function(_0x559698,_0x3fed8a){if(_0x559698['id']===_0x55943f[_0x1cd3('0x1278')]){var _0x7aae2e=new FileReader();_0x7aae2e[_0x1cd3('0xe95')](_0x559698[_0x1cd3('0xe96')][_0x1cd3('0xe96')]);_0x7aae2e[_0x1cd3('0xe8f')]=function(_0xbab101){_0x559698['url']=_0xbab101['target']['result'];};_0x559698[_0x1cd3('0x424')]=_0x1cd3('0x127a');}});}}}());(function(){'use strict';_0x294337['$inject']=[_0x1cd3('0x36f'),'toasty'];angular[_0x1cd3('0x0')](_0x1cd3('0x247'))[_0x1cd3('0x39b')](_0x1cd3('0x1f9d'),_0x294337);function _0x294337(_0x57f7eb,_0x4848c0){var _0x35beae=this;var _0x212a5b=0x8;var _0x53e721=_0x212a5b*0x400*0x400;_0x35beae[_0x1cd3('0x1f85')]={};_0x35beae[_0x1cd3('0x126a')]={'singleFile':!![],'maxChunkRetries':0x1,'chunkSize':_0x53e721,'simultaneousUploads':0x1,'testChunks':![],'progressCallbacksInterval':0x3e8,'allowDuplicateUploads':!![]};_0x35beae['ngFlow']={'flow':{}};_0x35beae[_0x1cd3('0x126c')]=![];_0x35beae['fileAdded']=_0x11a9a7;_0x35beae[_0x1cd3('0x126d')]=_0x3ccac2;_0x35beae[_0x1cd3('0x126e')]=_0x236dc0;_0x35beae[_0x1cd3('0xe08')]=_0x4cec67;function _0x4cec67(_0x1fd7de){_0x35beae[_0x1cd3('0x1f85')]=angular[_0x1cd3('0x429')](_0x1fd7de);_0x35beae[_0x1cd3('0x126a')][_0x1cd3('0x365')]=_0x1cd3('0x1f9e')[_0x1cd3('0x3f1')](_0x1cd3('0x1270'),_0x35beae[_0x1cd3('0x1f85')]['id']);_0x35beae[_0x1cd3('0x1f85')][_0x1cd3('0x1271')]=[];}function _0x11a9a7(_0x5868d1){var _0x3f0afd=['png',_0x1cd3('0x1273')];if(!_['includes'](_0x3f0afd,_0x5868d1[_0x1cd3('0x113c')]())){_0x4848c0[_0x1cd3('0x434')]({'title':_0x1cd3('0x1274')+_0x5868d1[_0x1cd3('0x113c')](),'msg':_0x1cd3('0x1275')+_0x3f0afd[_0x1cd3('0x3de')]()});return![];}if(_0x5868d1['size']>_0x53e721){_0x4848c0[_0x1cd3('0x434')]({'title':_0x1cd3('0x1276'),'msg':_0x1cd3('0x1277')+_0x212a5b+'MB'});return![];}var _0x4cbcab={'id':_0x5868d1[_0x1cd3('0x1278')],'file':_0x5868d1,'type':'uploading'};_0x35beae[_0x1cd3('0x1f85')][_0x1cd3('0x1271')][_0x1cd3('0x621')](_0x4cbcab);return!![];}function _0x3ccac2(){_0x35beae['ngFlow'][_0x1cd3('0x46')]['opts'][_0x1cd3('0x3a2')]={'X-Requested-With':'XMLHttpRequest','Authorization':'Bearer\x20'+_0x57f7eb[_0x1cd3('0x361')](_0x1cd3('0x374'))};_0x35beae[_0x1cd3('0x126b')]['flow'][_0x1cd3('0x126d')]();}function _0x236dc0(_0x40278a,_0x14a86b){angular[_0x1cd3('0x394')](_0x35beae[_0x1cd3('0x1f85')]['images'],function(_0xdda2c3,_0x14f625){if(_0xdda2c3['id']===_0x40278a[_0x1cd3('0x1278')]){var _0x4da8ad=new FileReader();_0x4da8ad['readAsDataURL'](_0xdda2c3[_0x1cd3('0xe96')][_0x1cd3('0xe96')]);_0x4da8ad[_0x1cd3('0xe8f')]=function(_0x3a7cd2){_0xdda2c3[_0x1cd3('0x3a4')]=_0x3a7cd2[_0x1cd3('0x365')][_0x1cd3('0xe90')];};_0xdda2c3[_0x1cd3('0x424')]=_0x1cd3('0x127a');}});}}}());(function(){'use strict';_0xdc60b0[_0x1cd3('0xc')]=[_0x1cd3('0x460'),'$state','$location',_0x1cd3('0x3c5'),'$q','$translate',_0x1cd3('0x461'),_0x1cd3('0x1f9f'),_0x1cd3('0x1fa0'),_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0x463'),_0x1cd3('0xc49'),'crudPermissions'];angular[_0x1cd3('0x0')](_0x1cd3('0x247'))[_0x1cd3('0x39b')](_0x1cd3('0x1fa1'),_0xdc60b0);function _0xdc60b0(_0x3437d4,_0x371cde,_0x1d1462,_0x29e731,_0x485560,_0x24763a,_0x551453,_0x33bc02,_0x48450f,_0x4e2661,_0x30478a,_0x1cc918,_0x537b12,_0x4868dc){var _0x2741c2=this;_0x2741c2[_0x1cd3('0x3ca')]=_0x30478a[_0x1cd3('0x5d')]();_0x2741c2[_0x1cd3('0xd34')]=[];_0x2741c2[_0x1cd3('0xc49')]=_0x537b12;_0x2741c2['license']=_0x1cc918;_0x2741c2[_0x1cd3('0xd27')]=_0x4868dc;_0x2741c2[_0x1cd3('0xd28')]={};_0x2741c2['passwordPattern']=_0x2741c2['setting']&&_0x2741c2[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x2741c2[_0x1cd3('0x486')]='SETTINGS.EDIT_GENERAL';_0x2741c2[_0x1cd3('0x1fa0')]=angular[_0x1cd3('0x429')](_0x48450f);_0x2741c2[_0x1cd3('0x1f9f')]=_0x33bc02;_0x2741c2[_0x1cd3('0x1fa2')]=![];if(!_0x2741c2[_0x1cd3('0x1fa0')]){_0x2741c2[_0x1cd3('0x1fa0')]={'min_internal':0x3e8,'chatTimeout':0x1e,'phoneBarAutoUpdater':!![],'phoneBarAutoUpdaterUrl':_0x1cd3('0x1fa3'),'splitSizeCsv':0x1388,'splitSizePdf':0x3e8,'splitSizeXlsx':0x1388,'messagesAlignment':_0x1cd3('0x11e4'),'phoneBarRememberMeEnabled':!![],'allowedLoginAttempts':0x5,'blockDuration':0xa,'loginMailFrequency':0xa};_0x2741c2['title']='SETTINGS.NEW_GENERAL';_0x2741c2[_0x1cd3('0x1fa2')]=!![];}_0x2741c2['addNewGeneral']=_0x20fa0d;_0x2741c2['saveGeneral']=_0x10caf9;_0x2741c2[_0x1cd3('0x1fa4')]=_0x7c2a15;_0x2741c2[_0x1cd3('0xd31')]=_0x8f49e5;_0x2741c2['closeDialog']=_0x56e074;_0x4e2661[_0x1cd3('0xcc6')]['get']({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})['$promise'][_0x1cd3('0x77')](function(_0x530b19){_0x2741c2[_0x1cd3('0x1f65')]=_0x530b19[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x5f5a45){_0x551453[_0x1cd3('0x434')]({'title':_0x5f5a45[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x5f5a45[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x5f5a45[_0x1cd3('0xd35')]:_0x1cd3('0x1fa5'),'msg':_0x5f5a45[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x5f5a45['data']):_0x5f5a45[_0x1cd3('0x43b')]()});});function _0x20fa0d(){_0x2741c2[_0x1cd3('0xd34')]=[];_0x4e2661[_0x1cd3('0xc49')][_0x1cd3('0xd6d')](_0x2741c2[_0x1cd3('0x1fa0')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0xebce00){_0x2741c2[_0x1cd3('0x1f9f')][_0x1cd3('0x621')](_0xebce00[_0x1cd3('0xd32')]());_0x551453[_0x1cd3('0x473')]({'title':'General\x20properly\x20created','msg':_0x2741c2[_0x1cd3('0x1fa0')][_0x1cd3('0x98')]?_0x2741c2['general'][_0x1cd3('0x98')]+_0x1cd3('0xd33'):''});_0x56e074(_0xebce00);})[_0x1cd3('0xfd')](function(_0x439845){if(_0x439845[_0x1cd3('0x439')]&&_0x439845[_0x1cd3('0x439')]['errors']&&_0x439845['data'][_0x1cd3('0xd34')]['length']){_0x2741c2[_0x1cd3('0xd34')]=_0x439845[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x439845[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1f8c')}];for(var _0x4d091c=0x0;_0x4d091c<_0x439845[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x4d091c+=0x1){_0x551453[_0x1cd3('0x434')]({'title':_0x439845[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x4d091c][_0x1cd3('0x424')],'msg':_0x439845[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x4d091c][_0x1cd3('0x43a')]});}}else{_0x551453['error']({'title':_0x439845[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x439845[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x439845[_0x1cd3('0xd35')]:_0x1cd3('0x1f8c'),'msg':_0x439845[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x439845[_0x1cd3('0x439')]['message']):_0x439845[_0x1cd3('0x43b')]()});}});}function _0x10caf9(){_0x2741c2[_0x1cd3('0xd34')]=[];_0x4e2661[_0x1cd3('0xc49')][_0x1cd3('0x378')]({'id':_0x2741c2[_0x1cd3('0x1fa0')]['id']},_0x2741c2[_0x1cd3('0x1fa0')])['$promise'][_0x1cd3('0x77')](function(_0x1d50d4){var _0x17b062=_[_0x1cd3('0x442')](_0x2741c2[_0x1cd3('0x1f9f')],{'id':_0x1d50d4['id']});if(_0x17b062){_[_0x1cd3('0xf2')](_0x17b062,_[_0x1cd3('0x5e8')](_0x1d50d4[_0x1cd3('0xd32')](),_[_0x1cd3('0x80')](_0x17b062)));}_0x551453[_0x1cd3('0x473')]({'title':_0x1cd3('0x1fa6'),'msg':_0x2741c2[_0x1cd3('0x1fa0')]['name']?_0x2741c2[_0x1cd3('0x1fa0')][_0x1cd3('0x98')]+_0x1cd3('0xd37'):''});_0x56e074(_0x1d50d4);})[_0x1cd3('0xfd')](function(_0x51d263){if(_0x51d263[_0x1cd3('0x439')]&&_0x51d263[_0x1cd3('0x439')]['errors']&&_0x51d263[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x2741c2['errors']=_0x51d263['data'][_0x1cd3('0xd34')]||[{'message':_0x51d263['toString'](),'type':_0x1cd3('0x1f8e')}];for(var _0x93b931=0x0;_0x93b931<_0x51d263['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x93b931++){_0x551453[_0x1cd3('0x434')]({'title':_0x51d263[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x93b931][_0x1cd3('0x424')],'msg':_0x51d263['data'][_0x1cd3('0xd34')][_0x93b931]['message']});}}else{_0x551453['error']({'title':_0x51d263[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x51d263[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x51d263[_0x1cd3('0xd35')]:_0x1cd3('0x1f8e'),'msg':_0x51d263['data']?JSON[_0x1cd3('0x438')](_0x51d263[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x51d263[_0x1cd3('0x43b')]()});}});}function _0x7c2a15(_0x3de058){_0x2741c2[_0x1cd3('0xd34')]=[];var _0x1f849d=_0x29e731[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xd3a'))[_0x1cd3('0xd3b')](_0x1cd3('0x1fa7'))[_0x1cd3('0xd3d')](_0x1cd3('0x1fa8'))['ok'](_0x1cd3('0xd3f'))[_0x1cd3('0x4d8')]('Cancel')['targetEvent'](_0x3de058);_0x29e731[_0x1cd3('0x37e')](_0x1f849d)[_0x1cd3('0x77')](function(){_0x4e2661[_0x1cd3('0xc49')][_0x1cd3('0xa1c')]({'id':_0x2741c2[_0x1cd3('0x1fa0')]['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x2741c2[_0x1cd3('0x1f9f')],{'id':_0x2741c2[_0x1cd3('0x1fa0')]['id']});_0x551453[_0x1cd3('0x473')]({'title':_0x1cd3('0x1fa9'),'msg':(_0x2741c2[_0x1cd3('0x1fa0')][_0x1cd3('0x98')]||'general')+_0x1cd3('0xd41')});_0x56e074(_0x2741c2[_0x1cd3('0x1fa0')]);})[_0x1cd3('0xfd')](function(_0x1c0f09){if(_0x1c0f09['data']&&_0x1c0f09[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x1c0f09['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x2741c2[_0x1cd3('0xd34')]=_0x1c0f09['data'][_0x1cd3('0xd34')]||[{'message':_0x1c0f09[_0x1cd3('0x43b')](),'type':'api.setting.delete'}];for(var _0x1316ae=0x0;_0x1316ae<_0x1c0f09[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x1316ae++){_0x551453[_0x1cd3('0x434')]({'title':_0x1c0f09['data'][_0x1cd3('0xd34')][_0x1316ae][_0x1cd3('0x424')],'msg':_0x1c0f09['data'][_0x1cd3('0xd34')][_0x1316ae][_0x1cd3('0x43a')]});}}else{_0x551453['error']({'title':_0x1c0f09[_0x1cd3('0x3a6')]?'API:'+_0x1c0f09[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x1c0f09[_0x1cd3('0xd35')]:'api.setting.delete','msg':_0x1c0f09[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x1c0f09['data'][_0x1cd3('0x43a')]):_0x1c0f09[_0x1cd3('0x43a')]||_0x1c0f09[_0x1cd3('0x43b')]()});}});},function(){});}function _0x8f49e5(_0x45c0a3){return _0x45c0a3===null?undefined:new Date(_0x45c0a3);}function _0x56e074(_0xb66a2c){_0x29e731[_0x1cd3('0x39d')](_0xb66a2c);}}}());(function(){'use strict';_0x4b18ca['$inject']=[_0x1cd3('0x1f9f'),'api',_0x1cd3('0x461'),_0x1cd3('0x463'),'Auth'];angular[_0x1cd3('0x0')](_0x1cd3('0x247'))['controller'](_0x1cd3('0x1faa'),_0x4b18ca);function _0x4b18ca(_0x105cdc,_0x1b1c2b,_0x4911f0,_0x4af1a9,_0x15a5b6){var _0x56af59=this;_0x56af59[_0x1cd3('0x3ca')]=_0x15a5b6['getCurrentUser']();_0x56af59['license']=_0x4af1a9;_0x56af59[_0x1cd3('0x1f9f')]=_0x105cdc;_0x56af59[_0x1cd3('0x1fa0')]={};if(_0x56af59[_0x1cd3('0x1f9f')]&&_0x56af59[_0x1cd3('0x1f9f')][_0x1cd3('0xf6')]&&_0x56af59[_0x1cd3('0x1f9f')][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){_0x56af59[_0x1cd3('0x1fa0')]=_0x56af59['generals']['rows'][0x0];}_0x1b1c2b[_0x1cd3('0xcc6')]['get']({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x2353bd){_0x56af59['cloudProviders']=_0x2353bd['rows']||[];})[_0x1cd3('0xfd')](function(_0x47dc67){_0x4911f0[_0x1cd3('0x434')]({'title':_0x47dc67[_0x1cd3('0x3a6')]?'API:'+_0x47dc67[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x47dc67['statusText']:'SYSTEM:GET_CLOUDPROVIDERS','msg':_0x47dc67['data']?JSON['stringify'](_0x47dc67['data']):_0x47dc67[_0x1cd3('0x43b')]()});});_0x56af59[_0x1cd3('0x1fab')]=_0x27a3ae;function _0x27a3ae(){if(_0x56af59[_0x1cd3('0x1fa0')]['id']){_0x1b1c2b['setting'][_0x1cd3('0x378')]({'id':_0x56af59[_0x1cd3('0x1fa0')]['id']},_0x56af59[_0x1cd3('0x1fa0')])[_0x1cd3('0x81')]['then'](function(){_0x4911f0[_0x1cd3('0x473')]({'title':_0x1cd3('0x1fac'),'msg':_0x56af59['general']['name']?_0x56af59['general'][_0x1cd3('0x98')]+'\x20has\x20been\x20updated!':''});})['catch'](function(_0x1973f6){_0x4911f0[_0x1cd3('0x434')]({'title':_0x1973f6[_0x1cd3('0x3a6')]?'API:'+_0x1973f6[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x1973f6[_0x1cd3('0xd35')]:_0x1cd3('0x1f94'),'msg':_0x1973f6[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x1973f6[_0x1cd3('0x439')]):_0x1973f6[_0x1cd3('0x43b')]()});});}else{_0x1b1c2b[_0x1cd3('0xc49')][_0x1cd3('0xd6d')](_0x56af59[_0x1cd3('0x1fa0')])['$promise'][_0x1cd3('0x77')](function(_0xa68c5f){_[_0x1cd3('0xf2')](_0x56af59[_0x1cd3('0x1fa0')],_0xa68c5f);_0x4911f0[_0x1cd3('0x473')]({'title':'General\x20updated!','msg':_0x56af59[_0x1cd3('0x1fa0')][_0x1cd3('0x98')]?_0x56af59[_0x1cd3('0x1fa0')][_0x1cd3('0x98')]+'\x20has\x20been\x20updated!':''});})[_0x1cd3('0xfd')](function(_0x224c02){_0x4911f0['error']({'title':_0x224c02['status']?_0x1cd3('0x435')+_0x224c02[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x224c02[_0x1cd3('0xd35')]:_0x1cd3('0x1f94'),'msg':_0x224c02[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x224c02['data']):_0x224c02[_0x1cd3('0x43b')]()});});}}}}());(function(){'use strict';_0x3b71a7[_0x1cd3('0xc')]=[_0x1cd3('0x372'),_0x1cd3('0x3c5'),_0x1cd3('0x53e'),_0x1cd3('0x463'),_0x1cd3('0x461'),_0x1cd3('0x370')];angular[_0x1cd3('0x0')](_0x1cd3('0x25d'))[_0x1cd3('0x39b')](_0x1cd3('0x1fad'),_0x3b71a7);function _0x3b71a7(_0x36a0df,_0x109340,_0x463ea2,_0x44dadd,_0x359ab0,_0x2b0d33){var _0x13b14a=this;_0x13b14a[_0x1cd3('0x463')]=_0x44dadd||{};_0x13b14a[_0x1cd3('0x1228')]=0x0;_0x13b14a[_0x1cd3('0xef4')]=0x0;_0x13b14a[_0x1cd3('0x39a')]=0x0;_0x13b14a[_0x1cd3('0x1fae')]=[{'name':_0x1cd3('0x121'),'icon':'icon-phone'},{'name':_0x1cd3('0xbf'),'icon':_0x1cd3('0x1597')},{'name':_0x1cd3('0x1d2'),'icon':_0x1cd3('0x1813')},{'name':'messaging','icon':_0x1cd3('0x1598')},{'name':'fax','icon':_0x1cd3('0x159a')},{'name':_0x1cd3('0x22e'),'icon':'icon-google-earth'},{'name':_0x1cd3('0x34a'),'icon':_0x1cd3('0x159b')}];_0x13b14a[_0x1cd3('0x1faf')]=[{'name':'cm','icon':_0x1cd3('0x1fb0')},{'name':'dialer','icon':_0x1cd3('0x1fb1')},{'name':_0x1cd3('0x1ca'),'icon':_0x1cd3('0x1fb2')}];_0x13b14a[_0x1cd3('0x1fb3')]=[{'name':'webrtc','icon':_0x1cd3('0x1fb4')},{'name':_0x1cd3('0x1fb5'),'icon':'icon-fish'},{'name':_0x1cd3('0x8f6'),'icon':_0x1cd3('0x1fb6')},{'name':_0x1cd3('0x13a5'),'icon':_0x1cd3('0x1fb7')},{'name':'ai','icon':_0x1cd3('0x1fb8')}];_0x13b14a['sessions']=[{'name':_0x1cd3('0x8c'),'icon':_0x1cd3('0x1fb9'),'restart':!![],'label':_0x1cd3('0x1fae'),'enabled':_0x1cd3('0x121')},{'name':_0x1cd3('0x1fba'),'icon':'icon-dots-horizontal','restart':![],'label':_0x1cd3('0x61d'),'enabled':_0x1cd3('0xbf')}];_0x13b14a['others']=[{'name':_0x1cd3('0x378'),'icon':_0x1cd3('0x1fbb')}];_0x13b14a[_0x1cd3('0x1fbc')]=_0x4e610c;_0x13b14a['updateLicense']=_0x4140a0;_0x13b14a[_0x1cd3('0x1fbd')]=_0x44498e;_0x2b0d33['user'][_0x1cd3('0x361')]({'fields':'id','role':_0x1cd3('0xd2'),'online':!![]})['$promise']['then'](function(_0x3c2d3e){_0x13b14a[_0x1cd3('0x1228')]=_0x3c2d3e&&_0x3c2d3e[_0x1cd3('0x466')]?_0x3c2d3e[_0x1cd3('0x466')]:0x0;return _0x2b0d33['user'][_0x1cd3('0x361')]({'fields':'id','role':_0x1cd3('0x1fbe')})[_0x1cd3('0x81')];})['then'](function(_0xcd0f8a){_0x13b14a['users']=_0xcd0f8a&&_0xcd0f8a[_0x1cd3('0x466')]?_0xcd0f8a[_0x1cd3('0x466')]:0x0;return _0x2b0d33[_0x1cd3('0x368')][_0x1cd3('0x361')]({'fields':'id','role':_0x1cd3('0x28e')})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x1cd0c7){_0x13b14a['telephones']=_0x1cd0c7&&_0x1cd0c7['count']?_0x1cd0c7[_0x1cd3('0x466')]:0x0;})['catch'](function(_0x17f76d){console[_0x1cd3('0x7d')](_0x17f76d);});function _0x4140a0(_0x36f51c){_0x109340[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1fbf'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1fc0'),'parent':angular[_0x1cd3('0x37f')](_0x36a0df[_0x1cd3('0x380')]),'targetEvent':_0x36f51c,'clickOutsideToClose':!![],'locals':{'license':_0x44dadd}});}function _0x4e610c(_0x26cc3a){_0x109340[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1fc1'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1fc2'),'parent':angular[_0x1cd3('0x37f')](_0x36a0df[_0x1cd3('0x380')]),'targetEvent':_0x26cc3a,'clickOutsideToClose':!![],'locals':{'license':_0x44dadd,'channels':_0x13b14a[_0x1cd3('0x1fae')],'modules':_0x13b14a[_0x1cd3('0x1faf')],'addons':_0x13b14a[_0x1cd3('0x1fb3')],'sessions':_0x13b14a['sessions'],'others':_0x13b14a['others']}});}function _0x44498e(_0x5ad634){_0x463ea2['go'](_0x1cd3('0x249'),{'tab':0x1});}}}());(function(){'use strict';_0x13f09e['$inject']=[_0x1cd3('0x3c5'),_0x1cd3('0x461'),'license','channels',_0x1cd3('0x1faf'),_0x1cd3('0x1fb3'),_0x1cd3('0x61d'),'others',_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0x3f7')];angular[_0x1cd3('0x0')](_0x1cd3('0x25d'))['controller'](_0x1cd3('0x1fc1'),_0x13f09e);function _0x13f09e(_0x3aaa0d,_0x2bcbe2,_0x7a2060,_0x47285b,_0x35ddda,_0x2451d9,_0xcce619,_0xf0af73,_0x382be9,_0xcfb6bb,_0x513624){var _0x2ba32d=this;_0x2ba32d['errors']=[];_0x2ba32d[_0x1cd3('0x368')]=_0xcfb6bb[_0x1cd3('0x5d')]();_0x2ba32d['license']=angular[_0x1cd3('0x429')](_0x7a2060);_0x2ba32d['channels']=_0x47285b;_0x2ba32d[_0x1cd3('0x1faf')]=_0x35ddda;_0x2ba32d['addons']=_0x2451d9;_0x2ba32d[_0x1cd3('0x61d')]=_0xcce619;_0x2ba32d['others']=_0xf0af73;_0x2ba32d[_0x1cd3('0x463')]['name']=_0x2ba32d[_0x1cd3('0x368')][_0x1cd3('0xd3')];_0x2ba32d[_0x1cd3('0x463')][_0x1cd3('0x1325')]=_0x2ba32d[_0x1cd3('0x368')][_0x1cd3('0x1325')];_0x2ba32d[_0x1cd3('0x1fc3')]=_0x130d98;_0x2ba32d['closeDialog']=_0x1dfd2d;function _0x130d98(){_0x2ba32d[_0x1cd3('0xd34')]=[];_0x2ba32d['table']=_0x1cd3('0x1fc4');for(var _0xc16b8e in _0x2ba32d[_0x1cd3('0x463')]){if(_0x2ba32d[_0x1cd3('0x463')][_0x1cd3('0x3d0')](_0xc16b8e)&&!_[_0x1cd3('0x38f')](['$promise',_0x1cd3('0xdfc')],_0xc16b8e)){if(_0x7a2060[_0xc16b8e]===_0x2ba32d[_0x1cd3('0x463')][_0xc16b8e]){_0x2ba32d['table']+='|'+_0xc16b8e+'|'+(_0x7a2060[_0xc16b8e]!==undefined?_0x7a2060[_0xc16b8e]:'')+'|'+_0x2ba32d[_0x1cd3('0x463')][_0xc16b8e]+'|\x0a';}else{_0x2ba32d[_0x1cd3('0xd45')]+='|'+_0xc16b8e+_0x1cd3('0x1fc5')+(_0x7a2060[_0xc16b8e]!==undefined?_0x7a2060[_0xc16b8e]:'')+'{color}|*'+_0x2ba32d[_0x1cd3('0x463')][_0xc16b8e]+_0x1cd3('0x1fc6');}}}_0x382be9[_0x1cd3('0x9ed')][_0x1cd3('0xd6d')]({'key':_0x1cd3('0x1fc7'),'summary':'Motion\x20License\x20Request','description':_0x2ba32d[_0x1cd3('0xd45')],'issuetype':'License\x20Request'})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x204e96){_0x2bcbe2[_0x1cd3('0x473')]({'title':'Request\x20sent!','msg':_0x513624[_0x1cd3('0x44a')](_0x1cd3('0x1fc8')),'timeout':0x3a98});_0x1dfd2d();})[_0x1cd3('0xfd')](function(_0x594153){console[_0x1cd3('0x434')](_0x594153);_0x2ba32d[_0x1cd3('0xd34')]=[{'message':_0x513624[_0x1cd3('0x44a')](_0x1cd3('0x1fc9')),'type':'api.jira'}];});}function _0x1dfd2d(){_0x3aaa0d['hide']();}}}());(function(){'use strict';_0x1a2820['$inject']=[_0x1cd3('0x3c5'),_0x1cd3('0x461'),_0x1cd3('0x463'),_0x1cd3('0x370'),_0x1cd3('0x3f7')];angular[_0x1cd3('0x0')](_0x1cd3('0x25d'))[_0x1cd3('0x39b')](_0x1cd3('0x1fbf'),_0x1a2820);function _0x1a2820(_0x257566,_0x3e2322,_0x34b3d8,_0x1748a3,_0x1f9d4d){var _0x5eb6ad=this;_0x5eb6ad['errors']=[];_0x5eb6ad['license']=angular[_0x1cd3('0x429')](_0x34b3d8);_0x5eb6ad['licenseKey'];_0x5eb6ad['updateLicense']=_0x32d058;_0x5eb6ad[_0x1cd3('0x39c')]=_0x73dee7;function _0x32d058(){return _0x1748a3['license'][_0x1cd3('0x378')]({'id':0x1,'key':_0x5eb6ad[_0x1cd3('0x1fca')]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x52a87f){if(_0x52a87f){if(_0x52a87f[_0x1cd3('0x1fcb')]){_0x3e2322[_0x1cd3('0x434')]({'title':_0x1cd3('0x1fcc'),'msg':'Invalid\x20license\x20key'});}else{_0x3e2322['success']({'title':_0x1cd3('0x1fcd'),'msg':_0x1cd3('0x1fce')});}}})['catch'](function(_0x39db40){_0x3e2322[_0x1cd3('0x434')]({'title':_0x39db40[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x39db40[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x39db40[_0x1cd3('0xd35')]:_0x1cd3('0x1fcf'),'msg':_0x39db40[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x39db40[_0x1cd3('0x439')]):_0x39db40[_0x1cd3('0x43b')]()});});}function _0x73dee7(){_0x257566['hide']();}}}());(function(){'use strict';_0x4025e8[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x53e'),_0x1cd3('0xd24'),_0x1cd3('0x3c5'),'$q','$translate',_0x1cd3('0x461'),_0x1cd3('0x1fd0'),_0x1cd3('0x5aa'),_0x1cd3('0x370'),_0x1cd3('0x56'),'license',_0x1cd3('0xc49')];angular[_0x1cd3('0x0')]('app.settings')['controller'](_0x1cd3('0x1fd1'),_0x4025e8);function _0x4025e8(_0x476f4c,_0x5733ff,_0x53f6bd,_0x2bdcae,_0x42ccb0,_0x4ddade,_0x53de0c,_0x276bb5,_0x2812e8,_0xb220f4,_0x24bf33,_0x5b4517,_0x48291e){var _0x4b310d=this;_0x4b310d[_0x1cd3('0x3ca')]=_0x24bf33[_0x1cd3('0x5d')]();_0x4b310d['errors']=[];_0x4b310d[_0x1cd3('0xc49')]=_0x48291e;_0x4b310d[_0x1cd3('0x463')]=_0x5b4517;_0x4b310d['hasModulePermissions']={};_0x4b310d[_0x1cd3('0xd29')]=_0x4b310d[_0x1cd3('0xc49')]&&_0x4b310d[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x4b310d[_0x1cd3('0x486')]='SETTINGS.EDIT_NETWORK';_0x4b310d['network']=angular['copy'](_0x2812e8);_0x4b310d[_0x1cd3('0x1fd0')]=_0x276bb5;_0x4b310d[_0x1cd3('0x1fd2')]=![];if(!_0x4b310d[_0x1cd3('0x5aa')]){_0x4b310d[_0x1cd3('0x5aa')]={'type':_0x1cd3('0x1fd3')};_0x4b310d['title']=_0x1cd3('0x1fd4');_0x4b310d['newNetwork']=!![];}_0x4b310d[_0x1cd3('0x1fd5')]=_0x2bbd92;_0x4b310d['saveNetwork']=_0x503304;_0x4b310d[_0x1cd3('0x1fd6')]=_0x468175;_0x4b310d[_0x1cd3('0xd31')]=_0x3e6cc5;_0x4b310d[_0x1cd3('0x39c')]=_0x1ef01e;function _0x2bbd92(){_0x4b310d[_0x1cd3('0xd34')]=[];_0xb220f4[_0x1cd3('0x5aa')][_0x1cd3('0xd6d')](_0x4b310d[_0x1cd3('0x5aa')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x23ff95){_0x4b310d[_0x1cd3('0x1fd0')][_0x1cd3('0x621')](_0x23ff95[_0x1cd3('0xd32')]());_0x53de0c[_0x1cd3('0x473')]({'title':_0x1cd3('0x1fd7'),'msg':_0x4b310d[_0x1cd3('0x5aa')][_0x1cd3('0x98')]?_0x4b310d['network'][_0x1cd3('0x98')]+_0x1cd3('0xd33'):''});_0x1ef01e(_0x23ff95);})[_0x1cd3('0xfd')](function(_0x2b47be){if(_0x2b47be[_0x1cd3('0x439')]&&_0x2b47be['data'][_0x1cd3('0xd34')]&&_0x2b47be['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x4b310d[_0x1cd3('0xd34')]=_0x2b47be['data'][_0x1cd3('0xd34')]||[{'message':_0x2b47be['toString'](),'type':_0x1cd3('0x1fd8')}];for(var _0x5bd074=0x0;_0x5bd074<_0x2b47be[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0x5bd074+=0x1){_0x53de0c[_0x1cd3('0x434')]({'title':_0x2b47be[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x5bd074][_0x1cd3('0x424')],'msg':_0x2b47be[_0x1cd3('0x439')]['errors'][_0x5bd074][_0x1cd3('0x43a')]});}}else{_0x53de0c['error']({'title':_0x2b47be[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x2b47be[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x2b47be[_0x1cd3('0xd35')]:_0x1cd3('0x1fd8'),'msg':_0x2b47be[_0x1cd3('0x439')]?JSON['stringify'](_0x2b47be[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x2b47be['toString']()});}});}function _0x503304(){_0x4b310d[_0x1cd3('0xd34')]=[];_0xb220f4[_0x1cd3('0x5aa')][_0x1cd3('0x378')]({'id':_0x4b310d['network']['id']},_0x4b310d[_0x1cd3('0x5aa')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x5eb4ca){var _0x3e53d6=_['find'](_0x4b310d[_0x1cd3('0x1fd0')],{'id':_0x5eb4ca['id']});if(_0x3e53d6){_[_0x1cd3('0xf2')](_0x3e53d6,_[_0x1cd3('0x5e8')](_0x5eb4ca[_0x1cd3('0xd32')](),_[_0x1cd3('0x80')](_0x3e53d6)));}_0x53de0c[_0x1cd3('0x473')]({'title':_0x1cd3('0x1fd9'),'msg':_0x4b310d[_0x1cd3('0x5aa')][_0x1cd3('0x98')]?_0x4b310d[_0x1cd3('0x5aa')]['name']+_0x1cd3('0xd37'):''});_0x1ef01e(_0x5eb4ca);})['catch'](function(_0x2e679f){if(_0x2e679f[_0x1cd3('0x439')]&&_0x2e679f['data'][_0x1cd3('0xd34')]&&_0x2e679f[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length']){_0x4b310d[_0x1cd3('0xd34')]=_0x2e679f[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x2e679f[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1fda')}];for(var _0x3613f9=0x0;_0x3613f9<_0x2e679f[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x3613f9++){_0x53de0c[_0x1cd3('0x434')]({'title':_0x2e679f[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x3613f9]['type'],'msg':_0x2e679f[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x3613f9]['message']});}}else{_0x53de0c[_0x1cd3('0x434')]({'title':_0x2e679f[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x2e679f[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x2e679f[_0x1cd3('0xd35')]:_0x1cd3('0x1fda'),'msg':_0x2e679f[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x2e679f['data'][_0x1cd3('0x43a')]):_0x2e679f['toString']()});}});}function _0x468175(_0x4fc5a1){_0x4b310d[_0x1cd3('0xd34')]=[];var _0x519d89=_0x2bdcae[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xd3a'))[_0x1cd3('0xd3b')](_0x1cd3('0x1fdb'))[_0x1cd3('0xd3d')](_0x1cd3('0x1fdc'))['ok'](_0x1cd3('0xd3f'))[_0x1cd3('0x4d8')]('Cancel')['targetEvent'](_0x4fc5a1);_0x2bdcae[_0x1cd3('0x37e')](_0x519d89)[_0x1cd3('0x77')](function(){_0xb220f4[_0x1cd3('0x5aa')]['delete']({'id':_0x4b310d[_0x1cd3('0x5aa')]['id']})[_0x1cd3('0x81')]['then'](function(){_[_0x1cd3('0x383')](_0x4b310d['networks'],{'id':_0x4b310d[_0x1cd3('0x5aa')]['id']});_0x53de0c[_0x1cd3('0x473')]({'title':_0x1cd3('0x1fdd'),'msg':(_0x4b310d[_0x1cd3('0x5aa')][_0x1cd3('0x98')]||_0x1cd3('0x5aa'))+_0x1cd3('0xd41')});_0x1ef01e(_0x4b310d[_0x1cd3('0x5aa')]);})[_0x1cd3('0xfd')](function(_0x4df423){if(_0x4df423[_0x1cd3('0x439')]&&_0x4df423[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x4df423['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x4b310d[_0x1cd3('0xd34')]=_0x4df423[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x4df423[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1fde')}];for(var _0x577a99=0x0;_0x577a99<_0x4df423[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0x577a99++){_0x53de0c['error']({'title':_0x4df423['data']['errors'][_0x577a99][_0x1cd3('0x424')],'msg':_0x4df423['data'][_0x1cd3('0xd34')][_0x577a99][_0x1cd3('0x43a')]});}}else{_0x53de0c[_0x1cd3('0x434')]({'title':_0x4df423[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x4df423[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x4df423['statusText']:'api.network.delete','msg':_0x4df423['data']?JSON[_0x1cd3('0x438')](_0x4df423['data'][_0x1cd3('0x43a')]):_0x4df423[_0x1cd3('0x43a')]||_0x4df423[_0x1cd3('0x43b')]()});}});},function(){});}function _0x3e6cc5(_0x4b40b2){return _0x4b40b2===null?undefined:new Date(_0x4b40b2);}function _0x1ef01e(_0x60f1a1){_0x2bdcae[_0x1cd3('0x39d')](_0x60f1a1);}}}());(function(){'use strict';_0x4e5a52[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x371'),'$state',_0x1cd3('0x969'),'$mdDialog',_0x1cd3('0x372'),_0x1cd3('0x3e7'),_0x1cd3('0x3f7'),_0x1cd3('0x1fd0'),_0x1cd3('0x370'),_0x1cd3('0x2dd'),_0x1cd3('0x461'),_0x1cd3('0x56'),_0x1cd3('0x463'),_0x1cd3('0xc49')];angular[_0x1cd3('0x0')](_0x1cd3('0x247'))['controller'](_0x1cd3('0x1fdf'),_0x4e5a52);function _0x4e5a52(_0x587ceb,_0x39f8ba,_0x341f65,_0x315d66,_0xab3f67,_0x9daf45,_0xff197e,_0x219b68,_0x4c48e8,_0x4c5197,_0x15807f,_0xe644a2,_0x18c89b,_0x313972,_0xf17c99){var _0x185fa1=this;_0x185fa1[_0x1cd3('0x463')]=_0x313972;_0x185fa1[_0x1cd3('0xc49')]=_0xf17c99;_0x185fa1[_0x1cd3('0x3ca')]=_0x18c89b[_0x1cd3('0x5d')]();_0x185fa1[_0x1cd3('0x1fd0')]=_0x4c48e8||{'count':0x0,'rows':[]};_0x185fa1[_0x1cd3('0xd45')]='networks';_0x185fa1[_0x1cd3('0xd46')]='';_0x185fa1['listOrderAsc']=null;_0x185fa1[_0x1cd3('0x1fe0')]=[];_0x185fa1[_0x1cd3('0x3d4')]={'fields':_0x1cd3('0x255'),'sort':'-updatedAt','limit':0xa,'page':0x1};_0x185fa1['arraytype']=_[_0x1cd3('0xe2d')]([{'option':_0x1cd3('0x1fe1'),'value':'\x27localnet\x27'},{'option':_0x1cd3('0x1fe2'),'value':'\x27externip\x27'},{'option':_0x1cd3('0x1fe3'),'value':_0x1cd3('0x1fe4')},{'option':_0x1cd3('0x1fe5'),'value':'\x27stun\x27'}],function(_0x1cb89e){return _[_0x1cd3('0x3f1')](_0x1cb89e[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x185fa1['editdialog']=_0x4a61bf;_0x185fa1[_0x1cd3('0xecc')]=_0x3c83ff;_0x185fa1['success']=_0x4d5215;_0x185fa1[_0x1cd3('0x1fe6')]=_0x48e390;_0x185fa1[_0x1cd3('0x1fe7')]=_0x570e00;_0x185fa1[_0x1cd3('0x1fd6')]=_0x7716ca;_0x185fa1['exportSelectedNetworks']=_0x1ae5f1;_0x185fa1[_0x1cd3('0x1fe8')]=_0x35af5c;_0x185fa1[_0x1cd3('0x1fe9')]=_0x5a2381;_0x185fa1[_0x1cd3('0x1fea')]=_0x13536b;function _0x4a61bf(_0x276dbc,_0x5b9fb6){_0xab3f67[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1fd1'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1feb'),'parent':angular[_0x1cd3('0x37f')](_0x9daf45[_0x1cd3('0x380')]),'targetEvent':_0x5b9fb6,'clickOutsideToClose':!![],'locals':{'network':_0x276dbc,'networks':_0x185fa1[_0x1cd3('0x1fd0')][_0x1cd3('0xf6')],'license':_0x185fa1[_0x1cd3('0x463')],'setting':null,'crudPermissions':_0x185fa1[_0x1cd3('0xd27')]}});}function _0x3c83ff(_0x5c4055,_0x2b9d34){var _0x178d52=_0xab3f67[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xd4f')+_[_0x1cd3('0xd50')](_0x1cd3('0x5aa'))+'?')[_0x1cd3('0xd60')](_0x1cd3('0xd51')+(_0x5c4055[_0x1cd3('0x98')]||_0x1cd3('0x5aa'))+_0x1cd3('0xd52')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x1fec'))['targetEvent'](_0x2b9d34)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0xab3f67[_0x1cd3('0x37e')](_0x178d52)[_0x1cd3('0x77')](function(){_0x7716ca(_0x5c4055);},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}var _0x7b82c6=!![];var _0x5a1774=0x1;_0x587ceb[_0x1cd3('0x4d6')](_0x1cd3('0xd56'),function(_0x3a2fa0,_0x2c1351){if(_0x7b82c6){_0xff197e(function(){_0x7b82c6=![];});}else{if(!_0x2c1351){_0x5a1774=_0x185fa1[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0x3a2fa0!==_0x2c1351){_0x185fa1['query']['page']=0x1;}if(!_0x3a2fa0){_0x185fa1[_0x1cd3('0x3d4')]['page']=_0x5a1774;}_0x185fa1[_0x1cd3('0x1fe6')]();}});function _0x4d5215(_0x1e8321){_0x185fa1['networks']=_0x1e8321||{'count':0x0,'rows':[]};}function _0x48e390(){_0x185fa1[_0x1cd3('0x3d4')]['offset']=(_0x185fa1['query'][_0x1cd3('0x8fd')]-0x1)*_0x185fa1[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];if(_0x18c89b[_0x1cd3('0x57')](_0x1cd3('0x5f'))){_0x185fa1[_0x1cd3('0x539')]=_0x4c5197[_0x1cd3('0x5aa')][_0x1cd3('0x361')](_0x185fa1[_0x1cd3('0x3d4')],_0x4d5215)[_0x1cd3('0x81')];}else{_0x185fa1[_0x1cd3('0x3d4')]['id']=_0x185fa1[_0x1cd3('0x38a')]['id'];_0x185fa1[_0x1cd3('0x3d4')][_0x1cd3('0xd58')]=_0x1cd3('0x1fed');_0x185fa1[_0x1cd3('0x539')]=_0x4c5197[_0x1cd3('0x38a')][_0x1cd3('0xd59')](_0x185fa1[_0x1cd3('0x3d4')],_0x4d5215)['$promise'];}}function _0x570e00(_0x1c548b,_0x1d49a0){_0xab3f67[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1fd1'),'controllerAs':'vm','templateUrl':_0x1cd3('0x1feb'),'parent':angular[_0x1cd3('0x37f')](_0x9daf45[_0x1cd3('0x380')]),'targetEvent':_0x1c548b,'clickOutsideToClose':!![],'locals':{'network':_0x1d49a0,'networks':_0x185fa1[_0x1cd3('0x1fd0')][_0x1cd3('0xf6')],'license':_0x185fa1[_0x1cd3('0x463')],'setting':_0x185fa1[_0x1cd3('0xc49')],'crudPermissions':_0x185fa1[_0x1cd3('0xd27')]}});}function _0x7716ca(_0x14512e){_0x4c5197[_0x1cd3('0x5aa')][_0x1cd3('0xa1c')]({'id':_0x14512e['id']})['$promise'][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x185fa1['networks'][_0x1cd3('0xf6')],{'id':_0x14512e['id']});_0x185fa1[_0x1cd3('0x1fd0')][_0x1cd3('0x466')]-=0x1;if(!_0x185fa1['networks'][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){_0x185fa1[_0x1cd3('0x1fe6')]();}_0xe644a2[_0x1cd3('0x473')]({'title':_[_0x1cd3('0xd50')](_0x1cd3('0x1fee'))+'\x20deleted!','msg':_0x14512e[_0x1cd3('0x98')]?_0x14512e[_0x1cd3('0x98')]+_0x1cd3('0xd41'):''});})[_0x1cd3('0xfd')](function(_0x3c6537){if(_0x3c6537[_0x1cd3('0x439')]&&_0x3c6537[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x3c6537['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x185fa1[_0x1cd3('0xd34')]=_0x3c6537[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x3c6537[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1fef')}];for(var _0x41faee=0x0;_0x41faee<_0x3c6537[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x41faee++){_0xe644a2[_0x1cd3('0x434')]({'title':_0x3c6537[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x41faee][_0x1cd3('0x424')],'msg':_0x3c6537[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x41faee][_0x1cd3('0x43a')]});}}else{_0xe644a2['error']({'title':_0x3c6537[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x3c6537[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x3c6537[_0x1cd3('0xd35')]:_0x1cd3('0x1fef'),'msg':_0x3c6537[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x3c6537[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x3c6537[_0x1cd3('0x43a')]||_0x3c6537[_0x1cd3('0x43b')]()});}});}function _0x1ae5f1(){var _0x1f2983=angular[_0x1cd3('0x429')](_0x185fa1['selectedNetworks']);_0x185fa1[_0x1cd3('0x1fe0')]=[];return _0x1f2983;}function _0x35af5c(_0x5546ef){var _0x2b4779=_0xab3f67[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x1ff0'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x185fa1[_0x1cd3('0x1fe0')]['length']+'\x20selected</b>'+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')]('delete\x20Networks')[_0x1cd3('0xd63')](_0x5546ef)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0xab3f67['show'](_0x2b4779)[_0x1cd3('0x77')](function(){_0x185fa1['selectedNetworks'][_0x1cd3('0x394')](function(_0x2ece59){_0x7716ca(_0x2ece59);});_0x185fa1['selectedNetworks']=[];});}function _0x5a2381(){_0x185fa1[_0x1cd3('0x1fe0')]=[];}function _0x13536b(){_0x185fa1[_0x1cd3('0x1fe0')]=_0x185fa1['networks']['rows'];}}}());(function(){'use strict';_0x4da382[_0x1cd3('0xc')]=[_0x1cd3('0x460'),'$state',_0x1cd3('0xd24'),_0x1cd3('0x3c5'),'$q',_0x1cd3('0x3f7'),'toasty',_0x1cd3('0x1ff1'),_0x1cd3('0x1ff2'),'api',_0x1cd3('0x56'),_0x1cd3('0x463'),'setting',_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x247'))[_0x1cd3('0x39b')](_0x1cd3('0x1ff3'),_0x4da382);function _0x4da382(_0x342938,_0x5b0642,_0x41282c,_0x407bbd,_0x1553de,_0x5a463d,_0x22089c,_0x96199d,_0x15ff8b,_0x426475,_0x101818,_0x6bef64,_0x40ad79,_0x2822c8){var _0x3164d5=this;_0x3164d5[_0x1cd3('0x3ca')]=_0x101818['getCurrentUser']();_0x3164d5[_0x1cd3('0xd34')]=[];_0x3164d5[_0x1cd3('0xc49')]=_0x40ad79;_0x3164d5[_0x1cd3('0x463')]=_0x6bef64;_0x3164d5[_0x1cd3('0xd27')]=_0x2822c8;_0x3164d5[_0x1cd3('0xd28')]={};_0x3164d5[_0x1cd3('0xd29')]=_0x3164d5['setting']&&_0x3164d5['setting']['securePassword']?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x3164d5[_0x1cd3('0x486')]=_0x1cd3('0x1ff4');_0x3164d5[_0x1cd3('0x1ff2')]=angular[_0x1cd3('0x429')](_0x15ff8b);_0x3164d5[_0x1cd3('0x1ff1')]=_0x96199d;_0x3164d5[_0x1cd3('0x1ff5')]=![];if(!_0x3164d5[_0x1cd3('0x1ff2')]){_0x3164d5[_0x1cd3('0x1ff2')]={'service':!![]};_0x3164d5['title']=_0x1cd3('0x1ff6');_0x3164d5[_0x1cd3('0x1ff5')]=!![];}_0x3164d5['addNewSmtp']=_0x38775b;_0x3164d5[_0x1cd3('0x1ff7')]=_0x50a8d1;_0x3164d5['deleteSmtp']=_0x58849c;_0x3164d5['getDateFromString']=_0x53461c;_0x3164d5[_0x1cd3('0x39c')]=_0x32fe99;function _0x38775b(){_0x3164d5[_0x1cd3('0xd34')]=[];_0x426475[_0x1cd3('0xa7a')][_0x1cd3('0xd6d')](_0x3164d5[_0x1cd3('0x1ff2')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x3026f8){_0x3164d5[_0x1cd3('0x1ff1')][_0x1cd3('0x621')](_0x3026f8[_0x1cd3('0xd32')]());_0x22089c[_0x1cd3('0x473')]({'title':'Smtp\x20properly\x20created','msg':_0x3164d5['smtp'][_0x1cd3('0x98')]?_0x3164d5[_0x1cd3('0x1ff2')]['name']+_0x1cd3('0xd33'):''});_0x32fe99(_0x3026f8);})[_0x1cd3('0xfd')](function(_0x375383){if(_0x375383[_0x1cd3('0x439')]&&_0x375383[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x375383[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')]){_0x3164d5[_0x1cd3('0xd34')]=_0x375383[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x375383[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1c53')}];for(var _0xa7e472=0x0;_0xa7e472<_0x375383[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0xa7e472+=0x1){_0x22089c[_0x1cd3('0x434')]({'title':_0x375383[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0xa7e472][_0x1cd3('0x424')],'msg':_0x375383[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0xa7e472]['message']});}}else{_0x22089c[_0x1cd3('0x434')]({'title':_0x375383[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x375383[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x375383['statusText']:_0x1cd3('0x1c53'),'msg':_0x375383['data']?JSON[_0x1cd3('0x438')](_0x375383[_0x1cd3('0x439')]['message']):_0x375383[_0x1cd3('0x43b')]()});}});}function _0x50a8d1(){_0x3164d5[_0x1cd3('0xd34')]=[];_0x426475[_0x1cd3('0xa7a')][_0x1cd3('0x378')]({'id':_0x3164d5[_0x1cd3('0x1ff2')]['id']},_0x3164d5[_0x1cd3('0x1ff2')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x43080c){var _0x4e1510=_[_0x1cd3('0x442')](_0x3164d5[_0x1cd3('0x1ff1')],{'id':_0x43080c['id']});if(_0x4e1510){_[_0x1cd3('0xf2')](_0x4e1510,_['pick'](_0x43080c['toJSON'](),_[_0x1cd3('0x80')](_0x4e1510)));}_0x22089c[_0x1cd3('0x473')]({'title':_0x1cd3('0x1ff8'),'msg':_0x3164d5[_0x1cd3('0x1ff2')][_0x1cd3('0x98')]?_0x3164d5[_0x1cd3('0x1ff2')][_0x1cd3('0x98')]+_0x1cd3('0xd37'):''});_0x32fe99(_0x43080c);})['catch'](function(_0xa02b9d){if(_0xa02b9d[_0x1cd3('0x439')]&&_0xa02b9d[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0xa02b9d[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length']){_0x3164d5['errors']=_0xa02b9d[_0x1cd3('0x439')]['errors']||[{'message':_0xa02b9d[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1c55')}];for(var _0x3e256b=0x0;_0x3e256b<_0xa02b9d[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x3e256b++){_0x22089c[_0x1cd3('0x434')]({'title':_0xa02b9d[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x3e256b]['type'],'msg':_0xa02b9d[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x3e256b][_0x1cd3('0x43a')]});}}else{_0x22089c[_0x1cd3('0x434')]({'title':_0xa02b9d[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0xa02b9d[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0xa02b9d[_0x1cd3('0xd35')]:_0x1cd3('0x1c55'),'msg':_0xa02b9d['data']?JSON['stringify'](_0xa02b9d['data'][_0x1cd3('0x43a')]):_0xa02b9d['toString']()});}});}function _0x58849c(_0x37799c){_0x3164d5[_0x1cd3('0xd34')]=[];var _0x43c104=_0x407bbd['confirm']()[_0x1cd3('0x486')](_0x1cd3('0xd3a'))[_0x1cd3('0xd3b')](_0x1cd3('0x1ff9'))['ariaLabel']('Delete\x20Smtp')['ok']('Delete')[_0x1cd3('0x4d8')](_0x1cd3('0x674'))[_0x1cd3('0xd63')](_0x37799c);_0x407bbd[_0x1cd3('0x37e')](_0x43c104)[_0x1cd3('0x77')](function(){_0x426475[_0x1cd3('0xa7a')]['delete']({'id':_0x3164d5['smtp']['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x3164d5['smtps'],{'id':_0x3164d5[_0x1cd3('0x1ff2')]['id']});_0x22089c[_0x1cd3('0x473')]({'title':_0x1cd3('0x1ffa'),'msg':(_0x3164d5[_0x1cd3('0x1ff2')]['name']||_0x1cd3('0x1ff2'))+_0x1cd3('0xd41')});_0x32fe99(_0x3164d5['smtp']);})[_0x1cd3('0xfd')](function(_0x5a324b){if(_0x5a324b[_0x1cd3('0x439')]&&_0x5a324b[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x5a324b['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x3164d5[_0x1cd3('0xd34')]=_0x5a324b[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x5a324b[_0x1cd3('0x43b')](),'type':'api.mailAccount.delete'}];for(var _0x20441f=0x0;_0x20441f<_0x5a324b[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0x20441f++){_0x22089c['error']({'title':_0x5a324b[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x20441f][_0x1cd3('0x424')],'msg':_0x5a324b[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x20441f][_0x1cd3('0x43a')]});}}else{_0x22089c[_0x1cd3('0x434')]({'title':_0x5a324b[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x5a324b['status']+'\x20-\x20'+_0x5a324b[_0x1cd3('0xd35')]:_0x1cd3('0x1ffb'),'msg':_0x5a324b[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x5a324b[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x5a324b[_0x1cd3('0x43a')]||_0x5a324b['toString']()});}});},function(){});}function _0x53461c(_0x5253d4){return _0x5253d4===null?undefined:new Date(_0x5253d4);}function _0x32fe99(_0x209e7b){_0x407bbd['hide'](_0x209e7b);}}}());(function(){'use strict';_0x3c3f9d[_0x1cd3('0xc')]=[_0x1cd3('0x1ff1'),'api','toasty',_0x1cd3('0x463'),_0x1cd3('0x56')];angular[_0x1cd3('0x0')](_0x1cd3('0x247'))[_0x1cd3('0x39b')](_0x1cd3('0x1ffc'),_0x3c3f9d);function _0x3c3f9d(_0x1032f5,_0x449734,_0x33c0f5,_0x219c2c,_0x19123f){var _0x4ad224=this;_0x4ad224['currentUser']=_0x19123f[_0x1cd3('0x5d')]();_0x4ad224[_0x1cd3('0x463')]=_0x219c2c;_0x4ad224[_0x1cd3('0x1ff1')]=_0x1032f5;_0x4ad224['smtp']={};if(_0x4ad224[_0x1cd3('0x1ff1')]&&_0x4ad224[_0x1cd3('0x1ff1')][_0x1cd3('0xf6')]&&_0x4ad224[_0x1cd3('0x1ff1')]['rows'][_0x1cd3('0x7a')]){_0x4ad224[_0x1cd3('0x1ff2')]=_0x4ad224[_0x1cd3('0x1ff1')][_0x1cd3('0xf6')][0x0];}else{_0x4ad224[_0x1cd3('0x1ff2')]={'service':!![],'Smtp':{'service':null}};}_0x4ad224['saveSmtp']=_0xbbeecb;_0x4ad224['verifySmtp']=_0xc06d64;function _0xc06d64(){if(_0x4ad224['smtp']['id']){_0x449734[_0x1cd3('0xa7a')]['verifySmtp']({'id':_0x4ad224[_0x1cd3('0x1ff2')]['id']})['$promise'][_0x1cd3('0x77')](function(){_0x33c0f5['success']({'title':_0x1cd3('0x1ffd'),'msg':_0x4ad224[_0x1cd3('0x1ff2')][_0x1cd3('0x98')]?_0x4ad224['smtp']['name']+_0x1cd3('0x1ffe'):''});})['catch'](function(_0x5cf72d){_0x33c0f5[_0x1cd3('0x434')]({'title':_0x1cd3('0x1fff'),'msg':_0x5cf72d['data']?JSON['stringify'](_0x5cf72d[_0x1cd3('0x439')]):_0x5cf72d[_0x1cd3('0x43b')](),'timeout':0x2710});});}}function _0xbbeecb(){if(_0x4ad224[_0x1cd3('0x1ff2')]['id']){_0x449734[_0x1cd3('0xa7a')][_0x1cd3('0x378')]({'id':_0x4ad224[_0x1cd3('0x1ff2')]['id']},_0x4ad224[_0x1cd3('0x1ff2')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x33c0f5[_0x1cd3('0x473')]({'title':_0x1cd3('0x2000'),'msg':_0x4ad224[_0x1cd3('0x1ff2')][_0x1cd3('0x98')]?_0x4ad224[_0x1cd3('0x1ff2')][_0x1cd3('0x98')]+_0x1cd3('0xe65'):''});})['catch'](function(_0x6acb14){_0x33c0f5[_0x1cd3('0x434')]({'title':_0x6acb14[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x6acb14['status']+_0x1cd3('0x436')+_0x6acb14[_0x1cd3('0xd35')]:_0x1cd3('0x1c7e'),'msg':_0x6acb14[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x6acb14[_0x1cd3('0x439')]):_0x6acb14[_0x1cd3('0x43b')]()});});}else{_0x449734[_0x1cd3('0xa7a')]['save'](_0x4ad224[_0x1cd3('0x1ff2')])[_0x1cd3('0x81')]['then'](function(_0x406dc7){_[_0x1cd3('0xf2')](_0x4ad224[_0x1cd3('0x1ff2')],_0x406dc7);_0x33c0f5[_0x1cd3('0x473')]({'title':'Smtp\x20updated!','msg':_0x4ad224['smtp'][_0x1cd3('0x98')]?_0x4ad224[_0x1cd3('0x1ff2')]['name']+_0x1cd3('0xe65'):''});})[_0x1cd3('0xfd')](function(_0x280f70){_0x33c0f5[_0x1cd3('0x434')]({'title':_0x280f70[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x280f70['status']+_0x1cd3('0x436')+_0x280f70['statusText']:_0x1cd3('0x1c7e'),'msg':_0x280f70[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x280f70['data']):_0x280f70[_0x1cd3('0x43b')]()});});}}}}());(function(){'use strict';_0x59698f[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x585'),_0x1cd3('0x3c5'),_0x1cd3('0x53e'),_0x1cd3('0xa13'),'processes',_0x1cd3('0x461'),'api'];angular[_0x1cd3('0x0')](_0x1cd3('0x249'))[_0x1cd3('0x39b')](_0x1cd3('0x2001'),_0x59698f);function _0x59698f(_0x449d8b,_0x1bf2a9,_0x296138,_0x23cc7d,_0x22bdde,_0x57efaf,_0x2151a1,_0x3430dd){var _0x135e60=this;var _0xcb3e41;_0x135e60[_0x1cd3('0xa13')]=_0x22bdde||{};_0x135e60['processes']=_0x57efaf?_0x57efaf[_0x1cd3('0xf6')]:[];_0x135e60[_0x1cd3('0x2002')]=0x7;_0x135e60['selectedTab']=_0x23cc7d[_0x1cd3('0x36a')][_0x1cd3('0x1418')]||0x0;_0x135e60[_0x1cd3('0x2003')]=_0x1522cd;_0x135e60[_0x1cd3('0x2004')]=_0x447a5b;_0x135e60[_0x1cd3('0x2005')]=_0x2d7673;_0x135e60[_0x1cd3('0x2006')]=_0x14022d;function _0x2d7673(_0x538eb8){_0x1bf2a9[_0x1cd3('0x4d8')](_0xcb3e41);}function _0x14022d(_0x3cbfb4,_0x2fa6e5,_0x260eba){var _0x49b0b6=_0x296138['confirm']()[_0x1cd3('0x486')](_0x1cd3('0x2007')+_0x2fa6e5+'?')[_0x1cd3('0x678')](_0x1cd3('0x2008')+_0x260eba[_0x1cd3('0x437')]())[_0x1cd3('0xd3d')](_0x1cd3('0x1308'))[_0x1cd3('0xd63')](_0x3cbfb4)['ok']('Ok')[_0x1cd3('0x4d8')](_0x1cd3('0x674'));_0x296138[_0x1cd3('0x37e')](_0x49b0b6)['then'](function(){return _0x3430dd['pm2'][_0x1cd3('0x378')]({'id':_0x2fa6e5,'status':_0x260eba});})['then'](function(){_0x1bf2a9(_0x135e60['getProcesses'],0x3e8,0x1);})[_0x1cd3('0x77')](function(){_0x2151a1[_0x1cd3('0x473')]({'title':'Process\x20updated!','msg':_0x1cd3('0x2009')+_0x260eba});});}function _0x1522cd(){return _0x3430dd[_0x1cd3('0xa13')][_0x1cd3('0x361')]()['$promise'][_0x1cd3('0x77')](function(_0x3ecbfa){_[_0x1cd3('0xf2')](_0x135e60[_0x1cd3('0xa13')],_0x3ecbfa);})[_0x1cd3('0xfd')](_0x135e60[_0x1cd3('0x2005')]);}function _0x447a5b(){return _0x3430dd[_0x1cd3('0xa16')][_0x1cd3('0x361')]()['$promise'][_0x1cd3('0x77')](function(_0x5cb7da){_[_0x1cd3('0xf2')](_0x135e60[_0x1cd3('0x200a')],_0x5cb7da?_0x5cb7da[_0x1cd3('0xf6')]:[]);})[_0x1cd3('0xfd')](_0x135e60['cancelInterval']);}_0xcb3e41=_0x1bf2a9(_0x135e60[_0x1cd3('0x2003')],0x1388);_0x449d8b['$on'](_0x1cd3('0x523'),function(){_0x135e60[_0x1cd3('0x2005')]();});}}());(function(){'use strict';_0x475446[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),_0x1cd3('0x585'),_0x1cd3('0x371'),_0x1cd3('0x3e7'),_0x1cd3('0x370')];angular[_0x1cd3('0x0')]('app.settings')[_0x1cd3('0x39b')]('UpdateDialogController',_0x475446);function _0x475446(_0x2a8d5e,_0xdf32ca,_0x5c0d3b,_0x5dd7cd,_0x5b93c4){var _0x397fc1=this;_0x397fc1[_0x1cd3('0x486')]=_0x1cd3('0x200b');_0x397fc1['progress']=0x0;_0x397fc1[_0x1cd3('0x200c')]=!![];_0x397fc1[_0x1cd3('0x200d')]='Waiting...';_0x397fc1[_0x1cd3('0x473')]=!![];_0x397fc1[_0x1cd3('0x77e')]=_0xdf32ca(function(){if(_0x397fc1[_0x1cd3('0x200e')]<0x5a){_0x397fc1['progress']+=0x1;}},0x3e8);_0x397fc1[_0x1cd3('0x39c')]=_0x51581d;_0x397fc1[_0x1cd3('0x985')]=_0x1c57ed;_0x397fc1[_0x1cd3('0x200f')]=_0x1fa682;_0x5b93c4[_0x1cd3('0x3c4')][_0x1cd3('0x2010')]()['$promise']['then'](function(_0x227802){_0x397fc1[_0x1cd3('0x200d')]=_0x227802[_0x1cd3('0x200d')]+_0x1cd3('0x2011');return _0x5b93c4[_0x1cd3('0x3c4')][_0x1cd3('0x358')]()[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x410f2b){_0x397fc1[_0x1cd3('0x200d')]=_0x410f2b['output']+_0x1cd3('0x2011');return _0x5b93c4[_0x1cd3('0x3c4')]['pull']()[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x45c280){_0x397fc1[_0x1cd3('0x200d')]=_0x45c280[_0x1cd3('0x200d')]+_0x1cd3('0x2011');return _0x5b93c4[_0x1cd3('0x3c4')][_0x1cd3('0x2012')]()[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x569d1c){_0x397fc1[_0x1cd3('0x200d')]=_0x569d1c['output']+'...';return _0x5b93c4[_0x1cd3('0x3c4')][_0x1cd3('0x2013')]()[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x4d83fa){_0x397fc1[_0x1cd3('0x200d')]=_0x1cd3('0x2014');_0x5dd7cd(function(){_0x397fc1['stopInterval']();},0x7530);})['catch'](function(_0x389721){_0x397fc1[_0x1cd3('0x473')]=![];_0x397fc1['stopInterval']();_0x397fc1['output']=JSON['stringify'](_0x389721);});function _0x1fa682(){if(angular['isDefined'](_0x397fc1[_0x1cd3('0x77e')])){_0xdf32ca[_0x1cd3('0x4d8')](_0x397fc1[_0x1cd3('0x77e')]);_0x397fc1[_0x1cd3('0x77e')]=undefined;}_0x397fc1['progress']=0x64;_0x397fc1['updating']=![];}function _0x1c57ed(){_0x5c0d3b[_0x1cd3('0xd22')]['reload']();}function _0x51581d(){_0x2a8d5e[_0x1cd3('0x39d')]();}}}());(function(){'use strict';_0x36221c[_0x1cd3('0xc')]=['$mdDialog',_0x1cd3('0x585'),'$document',_0x1cd3('0x3c4'),_0x1cd3('0x461')];angular[_0x1cd3('0x0')](_0x1cd3('0x247'))['controller']('UpdatesController',_0x36221c);function _0x36221c(_0x225d49,_0x4318c7,_0x4a4f3e,_0x416093,_0x4b5ed7){var _0x59ec27=this;_0x59ec27[_0x1cd3('0x3c4')]=_0x416093||{};_0x59ec27[_0x1cd3('0x2015')]=_0x4f53ac;function _0x4f53ac(_0x51fa05){var _0x3028a9=_0x225d49['confirm']()[_0x1cd3('0x486')](_0x1cd3('0x2016'))[_0x1cd3('0xd60')](_0x1cd3('0x2017'))[_0x1cd3('0xd3d')]('')[_0x1cd3('0xd63')](_0x51fa05)[_0x1cd3('0x13ca')](!![])['parent'](angular[_0x1cd3('0x37f')](_0x4a4f3e[_0x1cd3('0x380')]))['ok'](_0x1cd3('0x2018'))[_0x1cd3('0x4d8')](_0x1cd3('0x2019'));_0x225d49[_0x1cd3('0x37e')](_0x3028a9)[_0x1cd3('0x77')](function(){_0x225d49[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x201a'),'controllerAs':'vm','templateUrl':_0x1cd3('0x201b'),'parent':angular[_0x1cd3('0x37f')](_0x4a4f3e[_0x1cd3('0x380')]),'targetEvent':_0x51fa05,'clickOutsideToClose':![]});});}}}());(function(){'use strict';_0xaac25c[_0x1cd3('0xc')]=[_0x1cd3('0x460'),'$q',_0x1cd3('0x3e7'),_0x1cd3('0x3c5'),_0x1cd3('0x372'),'$filter',_0x1cd3('0x1381'),_0x1cd3('0x1228'),_0x1cd3('0x1385'),_0x1cd3('0x370'),_0x1cd3('0xd18'),_0x1cd3('0x461'),'helperClasses',_0x1cd3('0x38a'),_0x1cd3('0x390'),_0x1cd3('0x56'),'license',_0x1cd3('0x585')];angular['module']('app.voice')[_0x1cd3('0x39b')](_0x1cd3('0x201c'),_0xaac25c);function _0xaac25c(_0x8f92e3,_0x566abe,_0x47ea24,_0x1367a7,_0x25eab7,_0x4dd5dd,_0x714646,_0x571ec1,_0x8b41bd,_0x5148bf,_0x828eef,_0x518bf8,_0x3398de,_0x4e4d90,_0x246a94,_0x4bc144,_0x3dec4e,_0x2aad40){var _0x55c799=this;var _0x4455b3=[_0x1cd3('0x1386'),_0x1cd3('0x1387'),_0x1cd3('0x1388'),_0x1cd3('0x1389'),_0x1cd3('0x13c5'),_0x1cd3('0x1389'),'internal',_0x1cd3('0x138a'),'chatPause',_0x1cd3('0x138c'),_0x1cd3('0x1590'),_0x1cd3('0x138d'),_0x1cd3('0x138e'),_0x1cd3('0x138f'),_0x1cd3('0x604'),'chatCapacity',_0x1cd3('0x1391'),'mailCapacity',_0x1cd3('0x1393'),_0x1cd3('0x1989'),_0x1cd3('0x1394'),_0x1cd3('0x198a'),'openchannelCurrentCapacity',_0x1cd3('0x1396'),'smsCurrentCapacity','whatsappCurrentCapacity',_0x1cd3('0x1398'),_0x1cd3('0x1399'),_0x1cd3('0x139a'),'mailStatus',_0x1cd3('0x198c'),'whatsappStatus',_0x1cd3('0x139d'),'voiceStatus','chatStatusTime',_0x1cd3('0x13a0'),_0x1cd3('0x13a1'),_0x1cd3('0x13a2'),_0x1cd3('0x13d2'),_0x1cd3('0x13d3'),_0x1cd3('0x13a3'),_0x1cd3('0x1220'),_0x1cd3('0x13a4'),_0x1cd3('0x13a5'),_0x1cd3('0x13a6'),'phoneBarEnableAutomaticScreenRecording'];var _0x5ed2ac=[_0x1cd3('0x138b'),_0x1cd3('0x138c'),'mailPause',_0x1cd3('0x138d'),_0x1cd3('0x138e'),_0x1cd3('0x138f'),_0x1cd3('0x604'),_0x1cd3('0x1387')];_0x55c799[_0x1cd3('0x3ca')]=_0x4bc144['getCurrentUser']();_0x55c799[_0x1cd3('0x198d')]=[_0x1cd3('0x5cd'),_0x1cd3('0x13a8'),'busy',_0x1cd3('0x13aa'),_0x1cd3('0x13ab')];_0x55c799[_0x1cd3('0x1381')]=_0x714646||{'count':0x0,'rows':[]};_0x55c799[_0x1cd3('0x463')]=_0x3dec4e;_0x55c799[_0x1cd3('0x38a')]=_0x4e4d90;_0x55c799[_0x1cd3('0x390')]=_0x246a94&&_0x246a94[_0x1cd3('0x466')]==0x1?_0x246a94[_0x1cd3('0xf6')][0x0]:null;_0x55c799[_0x1cd3('0xd27')]=_0x4bc144[_0x1cd3('0xd44')](_0x55c799[_0x1cd3('0x390')]?_0x55c799[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);_0x55c799[_0x1cd3('0x1228')]=_0x571ec1?_['keyBy'](_0x571ec1[_0x1cd3('0xf6')]?_0x571ec1[_0x1cd3('0xf6')]:[],'id'):{};_0x55c799[_0x1cd3('0x1385')]=_0x8b41bd?_['keyBy'](_0x8b41bd['rows']?_0x8b41bd[_0x1cd3('0xf6')]:[],'id'):{};_0x55c799[_0x1cd3('0x13ac')]={};_0x55c799[_0x1cd3('0x5de')]=![];_0x55c799[_0x1cd3('0x13ad')]=[];_0x55c799['agentInternal']={};for(var _0x5ce1bc in _0x55c799['agents']){if(_0x55c799[_0x1cd3('0x1228')][_0x1cd3('0x3d0')](_0x5ce1bc)){_0x55c799[_0x1cd3('0x1228')][_0x5ce1bc][_0x1cd3('0xe08')]=!![];}}_0x55c799['query']={'limit':0xa,'page':0x1,'order':_0x1cd3('0xd3'),'globalStatusFilter':'','pauseTypeFilter':''};_0x55c799[_0x1cd3('0x376')]=_0x467b09;_0x55c799[_0x1cd3('0x13af')]=_0x38c0b8;_0x55c799['pause']=_0x11199a;_0x55c799[_0x1cd3('0x13b0')]=_0x37b175;_0x55c799[_0x1cd3('0x198e')]=_0x55c286;_0x55c799['getAgentStatus']=_0x224cc3;_0x55c799[_0x1cd3('0x13b2')]=_0x3e773f;_0x55c799[_0x1cd3('0x13b3')]=_0x4f4b23;_0x55c799[_0x1cd3('0x13b4')]=_0x5e4e28;_0x55c799['isPartialPause']=_0x1dc093;_0x55c799[_0x1cd3('0x13b6')]=_0x55ba5b;_0x55c799['onUpdate']=_0x3e9374;_0x55c799[_0x1cd3('0x703')]=_0x36f530;_0x55c799[_0x1cd3('0x13bd')]=_0x3faff3;_0x55c799[_0x1cd3('0x13b7')]=_0x448cfc;_0x55c799[_0x1cd3('0x13b8')]=_0x277127;_0x828eef['on'](_0x1cd3('0x13b9'),_0x55c799[_0x1cd3('0x13b6')]);_0x828eef['on']('user:update',_0x55c799['onUpdate']);_0x828eef['on'](_0x1cd3('0x13bc'),_0x55c799[_0x1cd3('0x13bd')]);_0x828eef['on']('user:agentcomplete',_0x55c799[_0x1cd3('0x13b7')]);_0x36f530();var _0x4ac8bb=_0x2aad40(function(){if(_0x55c799[_0x1cd3('0x5de')]){_0x55c799[_0x1cd3('0x5de')]=![];_0x36f530();}},0x3e7);function _0x36f530(_0x4e0d7c){_0x55c799[_0x1cd3('0x5de')]=![];var _0x3c5761=_0x566abe['defer']();_0x55c799[_0x1cd3('0x539')]=_0x3c5761[_0x1cd3('0x539')];_0x55c799[_0x1cd3('0x13bf')]=[];_0x55c799[_0x1cd3('0x13ad')]=[];_['forIn'](_0x55c799[_0x1cd3('0x1228')],function(_0x37ff1f,_0x2599d0){if(_0x55c799['rpcAgents'][_0x2599d0]){_[_0x1cd3('0xf2')](_0x37ff1f,_['pick'](_[_0x1cd3('0x3e3')](_0x55c799[_0x1cd3('0x1385')][_0x2599d0],_0x5ed2ac),_0x4455b3));}_0x3e773f(_0x37ff1f);if(_0x37ff1f[_0x1cd3('0x1387')]){_0x55c799[_0x1cd3('0x13bf')][_0x1cd3('0x7b')](_0x37ff1f);_0x55c799[_0x1cd3('0x13ae')][_0x37ff1f[_0x1cd3('0x311')]]=_0x2599d0;}else{_0x37ff1f[_0x1cd3('0x13c0')]=_[_0x1cd3('0x13c1')](moment()['format']('x'));}});if(_0x55c799[_0x1cd3('0x3d4')]['globalStatusFilter']){_['remove'](_0x55c799['filteredAgents'],function(_0x39576a){return _0x39576a[_0x1cd3('0x13c2')]!==_0x55c799['query']['globalStatusFilter'];});}if(_0x55c799[_0x1cd3('0x3d4')][_0x1cd3('0x13c4')]){_[_0x1cd3('0x383')](_0x55c799['filteredAgents'],function(_0x4fba1b){return _0x4fba1b['pauseType']!==_0x55c799[_0x1cd3('0x3d4')][_0x1cd3('0x13c4')];});}if(_0x55c799[_0x1cd3('0x3d4')]['filter']){_[_0x1cd3('0x383')](_0x55c799[_0x1cd3('0x13bf')],function(_0x168968){return _0x168968['fullname'][_0x1cd3('0x433')]()['indexOf'](_0x55c799[_0x1cd3('0x3d4')][_0x1cd3('0x395')]['toLowerCase']())<0x0;});}_0x55c799[_0x1cd3('0x13bf')]=_0x258f2b(_0x55c799['filteredAgents']);var _0x107797=(_0x55c799[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0x55c799['query'][_0x1cd3('0x8fe')];_0x55c799[_0x1cd3('0x13ac')]=_[_0x1cd3('0x16c2')](_0x55c799[_0x1cd3('0x13bf')],_0x107797)[_0x1cd3('0x9a2')](0x0,_0x55c799[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')]);for(var _0x409294=0x0;_0x409294<_0x55c799[_0x1cd3('0x13ac')][_0x1cd3('0x7a')];_0x409294+=0x1){_0x55c799['order'][_0x1cd3('0x7b')](_0x55c799[_0x1cd3('0x13ac')][_0x409294]['id']);}_0x3c5761[_0x1cd3('0x58')]();_0x55c799[_0x1cd3('0x5de')]=!![];}function _0x55ba5b(_0x259ee5){if(_0x55c799[_0x1cd3('0x1228')][_0x259ee5['id']]){_['merge'](_0x55c799[_0x1cd3('0x1228')][_0x259ee5['id']],_[_0x1cd3('0x5e8')](_[_0x1cd3('0x3e3')](_0x259ee5,_0x5ed2ac),_0x4455b3));_[_0x1cd3('0xf2')](_0x55c799[_0x1cd3('0x1385')][_0x259ee5['id']],_[_0x1cd3('0x5e8')](_['omit'](_0x259ee5,_0x5ed2ac),_0x4455b3));_0x3e773f(_0x55c799[_0x1cd3('0x1228')][_0x259ee5['id']]);}}function _0x3e9374(_0x24bd74){if(_0x55c799['agents'][_0x24bd74['id']]){_[_0x1cd3('0xf2')](_0x55c799['agents'][_0x24bd74['id']],_[_0x1cd3('0x5e8')](_0x24bd74,_0x4455b3));_[_0x1cd3('0xf2')](_0x55c799[_0x1cd3('0x1385')][_0x24bd74['id']],_[_0x1cd3('0x5e8')](_0x24bd74,_0x4455b3));if(_0x24bd74[_0x1cd3('0x1389')]){_0x55c799[_0x1cd3('0x1228')][_0x24bd74['id']][_0x1cd3('0x13c0')]=_0x24bd74[_0x1cd3('0x1389')];_0x55c799[_0x1cd3('0x1385')][_0x24bd74['id']]['globalStatusTime']=_0x24bd74[_0x1cd3('0x1389')];}_0x3e773f(_0x55c799[_0x1cd3('0x1228')][_0x24bd74['id']]);}}function _0x3faff3(_0x3a4d01){if(_0x55c799[_0x1cd3('0x1228')][_0x55c799['agentInternal'][_0x3a4d01[_0x1cd3('0x13c6')]]]){_[_0x1cd3('0xf2')](_0x55c799[_0x1cd3('0x1228')][_0x55c799[_0x1cd3('0x13ae')][_0x3a4d01[_0x1cd3('0x13c6')]]],_[_0x1cd3('0x5e8')](_0x3a4d01,[_0x1cd3('0x1220'),'destconnectedlinenum']));_[_0x1cd3('0xf2')](_0x55c799[_0x1cd3('0x1385')][_0x55c799[_0x1cd3('0x13ae')][_0x3a4d01[_0x1cd3('0x13c6')]]],_[_0x1cd3('0x5e8')](_0x3a4d01,['queue',_0x1cd3('0x13a4')]));}}function _0x448cfc(_0x2aeb80){if(_0x55c799[_0x1cd3('0x1228')][_0x55c799[_0x1cd3('0x13ae')][_0x2aeb80[_0x1cd3('0x13c6')]]]){_0x55c799[_0x1cd3('0x1228')][_0x55c799[_0x1cd3('0x13ae')][_0x2aeb80[_0x1cd3('0x13c6')]]]=_[_0x1cd3('0x3e3')](_0x55c799[_0x1cd3('0x1228')][_0x55c799[_0x1cd3('0x13ae')][_0x2aeb80[_0x1cd3('0x13c6')]]],[_0x1cd3('0x1220'),_0x1cd3('0x13a4')]);_0x55c799[_0x1cd3('0x1385')][_0x55c799[_0x1cd3('0x13ae')][_0x2aeb80[_0x1cd3('0x13c6')]]]=_[_0x1cd3('0x3e3')](_0x55c799['rpcAgents'][_0x55c799[_0x1cd3('0x13ae')][_0x2aeb80['destaccountcode']]],['queue',_0x1cd3('0x13a4')]);}}function _0x467b09(_0x1393f8,_0x312f26){return _0x5148bf[_0x1cd3('0x368')][_0x1cd3('0x376')]({'id':_0x1393f8['id'],'device':_0x1cd3('0x11b9'),'agent_id':_0x1393f8['id'],'agent_name':_0x1393f8[_0x1cd3('0x98')]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x518bf8[_0x1cd3('0x473')]({'title':_0x1cd3('0x13c7'),'msg':_0x1393f8[_0x1cd3('0xd3')]+_0x1cd3('0x13c8')});if(_0x55c799[_0x1cd3('0x1228')][_0x1393f8['id']]){_0x55c799[_0x1cd3('0x1228')][_0x1393f8['id']][_0x1cd3('0x1387')]=![];}if(_0x55c799[_0x1cd3('0x1385')][_0x1393f8['id']]){_0x55c799[_0x1cd3('0x1385')][_0x1393f8['id']][_0x1cd3('0x1387')]=![];}_0x36f530();})[_0x1cd3('0xfd')](function(_0x13bb61){_0x518bf8[_0x1cd3('0x434')]({'title':_0x13bb61['status']?_0x1cd3('0x435')+_0x13bb61[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x13bb61[_0x1cd3('0xd35')]:_0x1cd3('0x13c9'),'msg':_0x13bb61[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x13bb61[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x13bb61[_0x1cd3('0x43b')]()});});}function _0x11199a(_0x351c49,_0x57eff1){return _0x5148bf[_0x1cd3('0x368')][_0x1cd3('0x63e')]({'id':_0x351c49['id'],'type':_0x57eff1})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x37ac84){if(_0x55c799[_0x1cd3('0x1228')][_0x351c49['id']]){_[_0x1cd3('0xf2')](_0x55c799[_0x1cd3('0x1228')][_0x351c49['id']],_['pick'](_0x37ac84,_0x4455b3));}if(_0x55c799[_0x1cd3('0x1385')][_0x351c49['id']]){_[_0x1cd3('0xf2')](_0x55c799[_0x1cd3('0x1385')][_0x351c49['id']],_['pick'](_0x37ac84,_0x4455b3));}_0x3e773f(_0x55c799['agents'][_0x351c49['id']]);})['catch'](function(_0x454dba){_0x518bf8[_0x1cd3('0x434')]({'title':_0x454dba[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x454dba['status']+_0x1cd3('0x436')+_0x454dba[_0x1cd3('0xd35')]:'api.staff.save','msg':_0x454dba[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x454dba[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x454dba[_0x1cd3('0x43b')]()});});}function _0x37b175(_0x166850){return _0x5148bf[_0x1cd3('0x368')][_0x1cd3('0x13ed')]({'id':_0x166850['id']})[_0x1cd3('0x81')]['then'](function(_0x4b1fd9){if(_0x55c799[_0x1cd3('0x1228')][_0x166850['id']]){_['merge'](_0x55c799['agents'][_0x166850['id']],_[_0x1cd3('0x5e8')](_0x4b1fd9,_0x4455b3));}if(_0x55c799['rpcAgents'][_0x166850['id']]){_[_0x1cd3('0xf2')](_0x55c799[_0x1cd3('0x1385')][_0x166850['id']],_[_0x1cd3('0x5e8')](_0x4b1fd9,_0x4455b3));}_0x3e773f(_0x55c799[_0x1cd3('0x1228')][_0x166850['id']]);})[_0x1cd3('0xfd')](function(_0x1d3035){_0x518bf8[_0x1cd3('0x434')]({'title':_0x1d3035[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x1d3035[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x1d3035['statusText']:'api.staff.save','msg':_0x1d3035[_0x1cd3('0x439')]?JSON['stringify'](_0x1d3035[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x1d3035[_0x1cd3('0x43b')]()});});}function _0x55c286(_0x2156a4){_0x1367a7[_0x1cd3('0x37e')](_0x1367a7[_0x1cd3('0x11d0')]()['clickOutsideToClose'](!![])[_0x1cd3('0x486')](_0x1cd3('0x13cb'))[_0x1cd3('0xd60')]('<div>TODO\x20legend\x20status\x20+\x20state</div>')['ok']('Ok')['targetEvent'](_0x2156a4));}function _0x38c0b8(_0x2ed0a5,_0x21dc39){_0x1367a7[_0x1cd3('0x37e')]({'controller':'AgentqueueaddController','controllerAs':'vm','templateUrl':_0x1cd3('0x13cc'),'parent':angular[_0x1cd3('0x37f')](_0x25eab7[_0x1cd3('0x380')]),'targetEvent':_0x21dc39,'clickOutsideToClose':!![],'locals':{'agent':_0x2ed0a5,'agents':[],'channel':_0x1cd3('0x26b'),'direction':_0x1cd3('0xa4'),'crudPermissions':_0x55c799[_0x1cd3('0xd27')]}});}function _0x4f4b23(_0x113753){return _0x113753===_0x1cd3('0x63e')||_0x113753===_0x1cd3('0x13cd');}function _0x5e4e28(_0x5a1829){return _0x5a1829===_0x1cd3('0x63e');}function _0x1dc093(_0x4be23f){return _0x4be23f==='*pause';}function _0xea2a30(_0x42dff4){return _0x42dff4==='idle'||_0x42dff4===_0x1cd3('0x1990')||_0x42dff4===_0x1cd3('0x13ce')||_0x42dff4===_0x1cd3('0x5cd')||_[_0x1cd3('0x472')](_0x42dff4);}function _0x224cc3(_0x10c4a8,_0x4e9d7c){if(_0x4e9d7c===_0x1cd3('0x121')){if(_0x10c4a8[_0x4e9d7c+_0x1cd3('0x131b')]!==_0x1cd3('0x13cf')){return _0x10c4a8[_0x4e9d7c+_0x1cd3('0x131b')];}if(_0x10c4a8[_0x4e9d7c+'Pause']){_0x10c4a8[_0x4e9d7c+_0x1cd3('0x131b')]=_0x1cd3('0x63e');return'pause';}return _0x1cd3('0x13cf');}else{if(_0x10c4a8[_0x4e9d7c+_0x1cd3('0x13d0')]){_0x10c4a8[_0x4e9d7c+_0x1cd3('0x131b')]=_0x1cd3('0x63e');return'pause';}return _0x10c4a8[_0x4e9d7c+_0x1cd3('0x131b')];}}function _0x3e773f(_0x1bd31d){var _0x1fcad4=_0x1cd3('0x1990');if(_['every']([_0x224cc3(_0x1bd31d,'voice'),_0x224cc3(_0x1bd31d,_0x1cd3('0xbf')),_0x224cc3(_0x1bd31d,'mail'),_0x224cc3(_0x1bd31d,'openchannel'),_0x224cc3(_0x1bd31d,_0x1cd3('0x26b')),_0x224cc3(_0x1bd31d,_0x1cd3('0x34a')),_0x224cc3(_0x1bd31d,_0x1cd3('0x154'))],_0x4f4b23)){_0x1fcad4=_0x1cd3('0x63e');}else if(_[_0x1cd3('0x38d')]([_0x224cc3(_0x1bd31d,_0x1cd3('0x121')),_0x224cc3(_0x1bd31d,'chat'),_0x224cc3(_0x1bd31d,'mail'),_0x224cc3(_0x1bd31d,'openchannel'),_0x224cc3(_0x1bd31d,_0x1cd3('0x26b')),_0x224cc3(_0x1bd31d,_0x1cd3('0x34a')),_0x224cc3(_0x1bd31d,_0x1cd3('0x154'))],_0x4f4b23)){_0x1fcad4=_0x1cd3('0x13cd');}else if(_[_0x1cd3('0x920')]([_0x224cc3(_0x1bd31d,'voice'),_0x224cc3(_0x1bd31d,_0x1cd3('0xbf')),_0x224cc3(_0x1bd31d,_0x1cd3('0x1d2')),_0x224cc3(_0x1bd31d,_0x1cd3('0x22e')),_0x224cc3(_0x1bd31d,_0x1cd3('0x26b')),_0x224cc3(_0x1bd31d,_0x1cd3('0x34a')),_0x224cc3(_0x1bd31d,_0x1cd3('0x154'))],_0xea2a30)){_0x1fcad4=_0x1cd3('0x13cf');}else{_0x1fcad4='busy';}if(_0x1bd31d[_0x1cd3('0x13c2')]!==_0x1fcad4){_0x1bd31d[_0x1cd3('0x13c2')]=_0x1fcad4;if(_0x1bd31d[_0x1cd3('0xe08')]){_0x1bd31d['init']=![];_0x1bd31d['globalStatusTime']=_0x4f4b23(_0x1fcad4)?_[_0x1cd3('0x13c1')](moment(_0x1bd31d['lastPauseAt'])[_0x1cd3('0x130')]('x')):_['max']([_0x1bd31d['voiceStatusTime'],_0x1bd31d['chatStatusTime'],_0x1bd31d[_0x1cd3('0x13a1')],_0x1bd31d[_0x1cd3('0x13a2')],_0x1bd31d[_0x1cd3('0x13d2')],_0x1bd31d[_0x1cd3('0x13a0')],_0x1bd31d[_0x1cd3('0x13d3')]]);}else{_0x1bd31d[_0x1cd3('0x13c0')]=_['toNumber'](moment()[_0x1cd3('0x130')]('x'));}}}function _0x258f2b(_0x49cea5){var _0x7a6d92=_[_0x1cd3('0x13d4')](_0x55c799['query'][_0x1cd3('0x13ad')],'-')?'desc':_0x1cd3('0x13d6');return _[_0x1cd3('0xe31')](_0x49cea5,[_0x55c799[_0x1cd3('0x3d4')]['order'][_0x1cd3('0x3f1')]('-','')],[_0x7a6d92]);}function _0x561f39(){if(_0x4ac8bb){_0x2aad40[_0x1cd3('0x4d8')](_0x4ac8bb);_0x4ac8bb=null;}}function _0x277127(_0x368ce0,_0x185991){return _0x5148bf[_0x1cd3('0x368')][_0x1cd3('0x378')]({'id':_0x368ce0['id']},{'screenrecording':_0x185991})[_0x1cd3('0x81')][_0x1cd3('0xfd')](function(_0x6bf8d5){_0x518bf8[_0x1cd3('0x434')]({'title':_0x6bf8d5[_0x1cd3('0x3a6')]?'API:'+_0x6bf8d5['status']+_0x1cd3('0x436')+_0x6bf8d5[_0x1cd3('0xd35')]:_0x1cd3('0x13d7'),'msg':_0x6bf8d5[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x6bf8d5['data'][_0x1cd3('0x43a')]):_0x6bf8d5[_0x1cd3('0x43b')]()});});}_0x8f92e3[_0x1cd3('0x4d3')](_0x1cd3('0x523'),function(){_0x828eef[_0x1cd3('0x6a3')]('user:save');_0x828eef[_0x1cd3('0x6a3')](_0x1cd3('0x13ba'));_0x828eef[_0x1cd3('0x6a3')](_0x1cd3('0x13bc'));_0x828eef[_0x1cd3('0x6a3')]('user:agentcomplete');_0x561f39();});}}());(function(){'use strict';_0x5ec6df['$inject']=[_0x1cd3('0x460'),_0x1cd3('0x3e7'),_0x1cd3('0x3c5'),'$q',_0x1cd3('0x372'),_0x1cd3('0x585'),_0x1cd3('0x1155'),_0x1cd3('0x13d8'),_0x1cd3('0x370'),'socket',_0x1cd3('0x461'),_0x1cd3('0x38a'),_0x1cd3('0x390'),_0x1cd3('0x56')];angular[_0x1cd3('0x0')](_0x1cd3('0x30'))[_0x1cd3('0x39b')](_0x1cd3('0x201d'),_0x5ec6df);function _0x5ec6df(_0x149a6a,_0x4e1bf5,_0xe1c7ee,_0x33e02a,_0x10a86a,_0x5bef5c,_0x929788,_0x2126ed,_0x1e492c,_0x125350,_0x26e2a7,_0x6b0571,_0x551f37,_0x57c06a){var _0x5ddff6=this;var _0x59f662=['loggedIn',_0x1cd3('0x13da'),_0x1cd3('0x10d'),_0x1cd3('0x10f'),'pTalking','originated',_0x1cd3('0x43a'),_0x1cd3('0x1693'),_0x1cd3('0x13dd'),'Trunk',_0x1cd3('0x13ea')];_0x5ddff6[_0x1cd3('0x3ca')]=_0x57c06a[_0x1cd3('0x5d')]();_0x5ddff6[_0x1cd3('0x466')]=_0x929788['count']?_0x929788['count']:0x0;_0x5ddff6[_0x1cd3('0x1155')]=_0x929788?_['keyBy'](_0x929788[_0x1cd3('0xf6')]?_0x929788[_0x1cd3('0xf6')]:[],'id'):{};_0x5ddff6[_0x1cd3('0x13d8')]=_0x2126ed?_[_0x1cd3('0xe2d')](_0x2126ed[_0x1cd3('0xf6')]?_0x2126ed[_0x1cd3('0xf6')]:[],'id'):{};_0x5ddff6['userProfile']=_0x6b0571;_0x5ddff6['userProfileSection']=_0x551f37&&_0x551f37[_0x1cd3('0x466')]==0x1?_0x551f37[_0x1cd3('0xf6')][0x0]:null;_0x5ddff6[_0x1cd3('0xd27')]=_0x57c06a[_0x1cd3('0xd44')](_0x5ddff6[_0x1cd3('0x390')]?_0x5ddff6['userProfileSection']['crudPermissions']:null);if(_0x57c06a[_0x1cd3('0x57')](_0x1cd3('0x5f'))){_0x5ddff6[_0x1cd3('0x3d4')]={'type':_0x1cd3('0xa4'),'sort':_0x1cd3('0x5b'),'limit':0xa,'page':0x1};}else{_0x5ddff6['query']={'id':_0x5ddff6[_0x1cd3('0x3ca')]['id'],'channel':_0x1cd3('0x26b'),'type':_0x1cd3('0xa4'),'sort':_0x1cd3('0x5b'),'limit':0xa,'page':0x1};}_0x5ddff6['success']=_0x3e178d;_0x5ddff6[_0x1cd3('0x13df')]=_0x33610b;_0x5ddff6[_0x1cd3('0x201e')]=_0x56879d;_0x5ddff6['agentAdd']=_0x3c8d6f;_0x5ddff6[_0x1cd3('0x13e0')]=_0x4f326d;_0x5ddff6[_0x1cd3('0x13b6')]=_0x278ada;_0x5ddff6[_0x1cd3('0x13e1')]=_0x437fdc;_0x5ddff6[_0x1cd3('0x13e2')]=_0x4a6ff9;_0x5ddff6['onPause']=_0x2bd540;_0x5ddff6[_0x1cd3('0x13e9')]=_0x4db2f4;_0x5ddff6[_0x1cd3('0x13e4')]=_0x1f0f90;_0x5ddff6['$onInit']=_0x5757ce;_0x5ddff6['order']=[];_['forIn'](_0x5ddff6[_0x1cd3('0x1155')],function(_0x456229,_0x458607){_0x5ddff6[_0x1cd3('0x13ad')][_0x1cd3('0x7b')](_0x456229['id']);});_0x125350['on'](_0x1cd3('0x201f'),_0x5ddff6[_0x1cd3('0x13b6')]);_0x125350['on'](_0x1cd3('0x171c'),_0x5ddff6[_0x1cd3('0x13e1')]);_0x125350['on'](_0x1cd3('0x171d'),_0x5ddff6[_0x1cd3('0x13e2')]);_0x125350['on'](_0x1cd3('0x13ba'),_0x5ddff6[_0x1cd3('0x13e3')]);_0x125350['on'](_0x1cd3('0x16a1'),_0x5ddff6[_0x1cd3('0x13e4')]);_0x125350['on']('userVoiceQueue:save',_0x5ddff6[_0x1cd3('0x13e9')]);function _0x5757ce(){var _0x1c10ff=[];_[_0x1cd3('0x13e5')](_0x5ddff6[_0x1cd3('0x1155')],function(_0x508eef,_0x2e93b8){_0x508eef[_0x1cd3('0x13ea')]=0x0;_0x508eef['loggedInDb']=0x0;_0x5ddff6['queues'][_0x2e93b8][_0x1cd3('0x1228')]={};_0x1c10ff[_0x1cd3('0x7b')](_0x1e492c[_0x1cd3('0xade')][_0x1cd3('0x13ec')]({'id':_0x2e93b8})['$promise']);if(_0x5ddff6['rpcQueues'][_0x2e93b8]){_['merge'](_0x508eef,_['pick'](_0x5ddff6['rpcQueues'][_0x2e93b8],_0x59f662));}});return _0x33e02a[_0x1cd3('0x7e')](_0x1c10ff)[_0x1cd3('0x77')](function(_0x42b721){for(var _0x47e37a=0x0;_0x47e37a<_0x42b721['length'];_0x47e37a+=0x1){for(var _0x4af1ab=0x0;_0x4af1ab<_0x42b721[_0x47e37a][_0x1cd3('0xf6')][_0x1cd3('0x7a')];_0x4af1ab++){if(_0x42b721[_0x47e37a][_0x1cd3('0xf6')][_0x4af1ab][_0x1cd3('0x13ea')]){_0x5ddff6['queues'][_0x42b721[_0x47e37a][_0x1cd3('0xf6')][_0x4af1ab]['SmsQueueId']][_0x1cd3('0x13ea')]++;}_0x5ddff6[_0x1cd3('0x1155')][_0x42b721[_0x47e37a]['rows'][_0x4af1ab]['SmsQueueId']][_0x1cd3('0x13eb')]++;_0x5ddff6[_0x1cd3('0x1155')][_0x42b721[_0x47e37a][_0x1cd3('0xf6')][_0x4af1ab][_0x1cd3('0x2020')]][_0x1cd3('0x1228')][_0x42b721[_0x47e37a]['rows'][_0x4af1ab]['UserId']]=_0x42b721[_0x47e37a]['rows'][_0x4af1ab]['SmsQueueId'];}}})[_0x1cd3('0xfd')](function(_0x15cfaa){console[_0x1cd3('0x434')](_0x15cfaa);});}function _0x278ada(_0x40a73f){if(_0x5ddff6[_0x1cd3('0x1155')][_0x40a73f['id']]){_[_0x1cd3('0xf2')](_0x5ddff6[_0x1cd3('0x1155')][_0x40a73f['id']],_[_0x1cd3('0x5e8')](_0x40a73f,_0x59f662));}}function _0x437fdc(_0x4ef26c){if(_0x5ddff6[_0x1cd3('0x1155')][_0x4ef26c['SmsQueueId']]){_0x5ddff6['queues'][_0x4ef26c[_0x1cd3('0x2020')]]['loggedInDb']++;}}function _0x4a6ff9(_0x8314e1){if(_0x5ddff6[_0x1cd3('0x1155')][_0x8314e1[_0x1cd3('0x2020')]]){_0x5ddff6[_0x1cd3('0x1155')][_0x8314e1[_0x1cd3('0x2020')]][_0x1cd3('0x13eb')]--;}}function _0x2bd540(_0xbc90ca){console[_0x1cd3('0x7d')]('onPause',_0xbc90ca);if(_0xbc90ca['voicePause']){_[_0x1cd3('0x13e5')](_0x5ddff6[_0x1cd3('0x1155')],function(_0x1dcb91,_0x4eb5ff){if(_0x1dcb91[_0x1cd3('0x1228')][_0xbc90ca['id']]){_0x1dcb91['paused']+=0x1;console['log'](_0x1cd3('0x63e'));}});}else if(!_0xbc90ca[_0x1cd3('0x604')]){_[_0x1cd3('0x13e5')](_0x5ddff6[_0x1cd3('0x1155')],function(_0x4df51b,_0x53b6c5){if(_0x4df51b[_0x1cd3('0x1228')][_0xbc90ca['id']]){if(_0x4df51b[_0x1cd3('0x13ea')]>0x0){_0x4df51b[_0x1cd3('0x13ea')]-=0x1;console[_0x1cd3('0x7d')](_0x1cd3('0x13ed'));}}});}}function _0x4db2f4(_0x2e5b41){console[_0x1cd3('0x7d')]('onLogged',_0x2e5b41);if(_0x5ddff6[_0x1cd3('0x1155')][_0x2e5b41['SmsQueueId']]){_0x5ddff6[_0x1cd3('0x1155')][_0x2e5b41[_0x1cd3('0x2020')]][_0x1cd3('0x13eb')]+=0x1;_0x5ddff6['queues'][_0x2e5b41[_0x1cd3('0x2020')]]['agents'][_0x2e5b41[_0x1cd3('0x1226')]]=_0x2e5b41[_0x1cd3('0x2020')];}}function _0x1f0f90(_0x3e484d){console['log'](_0x1cd3('0x13e4'),_0x3e484d);if(_0x5ddff6[_0x1cd3('0x1155')][_0x3e484d[_0x1cd3('0x2020')]]&&_0x5ddff6[_0x1cd3('0x1155')][_0x3e484d[_0x1cd3('0x2020')]]['loggedInDb']>0x0){_0x5ddff6['queues'][_0x3e484d[_0x1cd3('0x2020')]][_0x1cd3('0x13eb')]-=0x1;delete _0x5ddff6[_0x1cd3('0x1155')][_0x3e484d[_0x1cd3('0x2020')]][_0x1cd3('0x1228')][_0x3e484d[_0x1cd3('0x1226')]];}}var _0x2a3189=!![];var _0x3fef5f=0x1;_0x149a6a[_0x1cd3('0x4d6')](_0x1cd3('0xd56'),function(_0x13dac4,_0x5ca37d){if(_0x2a3189){_0x4e1bf5(function(){_0x2a3189=![];});}else{if(!_0x5ca37d){_0x3fef5f=_0x5ddff6['query'][_0x1cd3('0x8fd')];}if(_0x13dac4!==_0x5ca37d){_0x5ddff6[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}if(!_0x13dac4){_0x5ddff6[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0x3fef5f;}_0x5ddff6[_0x1cd3('0x13df')]();}});function _0x3e178d(_0x5a9cf9){_0x5ddff6['count']=_0x5a9cf9[_0x1cd3('0x466')];_0x5ddff6['queues']=_0x5a9cf9?_[_0x1cd3('0xe2d')](_0x5a9cf9['rows']?_0x5a9cf9[_0x1cd3('0xf6')]:[],'id'):{};if(_0x5a9cf9[_0x1cd3('0xf6')]){_0x5ddff6[_0x1cd3('0x13ad')]=[];for(var _0x514cdb=0x0;_0x514cdb<_0x5a9cf9[_0x1cd3('0xf6')][_0x1cd3('0x7a')];_0x514cdb++){_0x5ddff6[_0x1cd3('0x13ad')][_0x1cd3('0x7b')](_0x5a9cf9[_0x1cd3('0xf6')][_0x514cdb]['id']);}}_0x5757ce();}function _0x33610b(){_0x5ddff6[_0x1cd3('0x3d4')]['offset']=(_0x5ddff6['query'][_0x1cd3('0x8fd')]-0x1)*_0x5ddff6[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];if(_0x57c06a['hasRole'](_0x1cd3('0x5f'))){_0x5ddff6['promise']=_0x1e492c[_0x1cd3('0xade')][_0x1cd3('0x361')](_0x5ddff6[_0x1cd3('0x3d4')],_0x3e178d)[_0x1cd3('0x81')];}else{_0x5ddff6[_0x1cd3('0x3d4')]['id']=_0x5ddff6['userProfile']['id'];_0x5ddff6[_0x1cd3('0x3d4')][_0x1cd3('0xd58')]=_0x1cd3('0x26a');_0x5ddff6[_0x1cd3('0x539')]=_0x1e492c[_0x1cd3('0x38a')][_0x1cd3('0xd59')](_0x5ddff6['query'],_0x3e178d)[_0x1cd3('0x81')];}}function _0x56879d(_0x24a355,_0x98fe37){_0xe1c7ee['show']({'controller':_0x1cd3('0x2021'),'controllerAs':'vm','templateUrl':'app/main/apps/sms/views/smsQueues/create/dialog.html','parent':angular[_0x1cd3('0x37f')](_0x10a86a['body']),'targetEvent':_0x24a355,'clickOutsideToClose':!![],'locals':{'smsQueue':_0x98fe37,'smsQueues':_['values'](_0x5ddff6['queues']),'license':null,'setting':null,'crudPermissions':_0x5ddff6['crudPermissions']}});}function _0x3c8d6f(_0x3960b4,_0x413dc0){_0xe1c7ee[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x2022'),'controllerAs':'vm','templateUrl':_0x1cd3('0x2023'),'parent':angular['element'](_0x10a86a['body']),'targetEvent':_0x3960b4,'clickOutsideToClose':!![],'locals':{'smsQueue':_0x413dc0,'smsQueues':_0x5ddff6[_0x1cd3('0x1155')]?_0x5ddff6[_0x1cd3('0x1155')][_0x1cd3('0xf6')]:[],'realtime':![],'crudPermissions':_0x5ddff6['crudPermissions']}});}function _0x4f326d(_0x38be9c){return _0x1e492c['smsQueue'][_0x1cd3('0x378')](_0x38be9c)[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x26e2a7[_0x1cd3('0x473')]({'title':'Queue\x20properly\x20updated!','msg':_0x38be9c[_0x1cd3('0x98')]?_0x38be9c[_0x1cd3('0x98')]+_0x1cd3('0xe65'):''});})[_0x1cd3('0xfd')](function(_0x1e598d){_0x26e2a7[_0x1cd3('0x434')]({'title':_0x1cd3('0x1993'),'msg':_0x1e598d[_0x1cd3('0x43a')]});});}_0x149a6a['$on']('$destroy',function(){_0x125350[_0x1cd3('0x6a3')](_0x1cd3('0x201f'));_0x125350['removeAllListeners'](_0x1cd3('0x171d'));_0x125350['removeAllListeners'](_0x1cd3('0x171c'));_0x125350[_0x1cd3('0x6a3')]('user:update');_0x125350[_0x1cd3('0x6a3')]('userVoiceQueue:remove');_0x125350[_0x1cd3('0x6a3')](_0x1cd3('0x13e8'));});}}());(function(){'use strict';angular['module'](_0x1cd3('0x1'))[_0x1cd3('0x373')](_0x1cd3('0x1999'),_0x357579);function _0x357579(){return{'status':{'registered':_0x1cd3('0x13f1'),'unregistered':'red-300-fg\x20icon-close-circle','lagged':_0x1cd3('0x13f2'),'reachable':_0x1cd3('0x13f1'),'unreachable':_0x1cd3('0x13f2'),'unknown':_0x1cd3('0x1994')},'state':{'unknown':'grey-fg\x20icon-phone-hangup','not_inuse':'green-300-fg\x20icon-phone-hangup','inuse':_0x1cd3('0x13f5'),'busy':_0x1cd3('0x1995'),'invalid':'grey-fg\x20icon-phone-hangup','unavailable':'grey-fg\x20icon-phone-hangup','ringing':_0x1cd3('0x13f6'),'ringinuse':_0x1cd3('0x13f6'),'onhold':'blue-300-fg\x20icon-phone-paused'},'channelStatus':{'ring':_0x1cd3('0x13f6'),'up':_0x1cd3('0x13f8'),'hangup':'red-300-fg\x20icon-phone-hangup'},'channelStatusOut':{'ring':_0x1cd3('0x13fa'),'up':'green-300-fg\x20icon-phone-in-talk','hangup':_0x1cd3('0x13f9')}};}}());(function(){'use strict';_0x4c99e5[_0x1cd3('0xc')]=[_0x1cd3('0x460'),'$state',_0x1cd3('0xd18')];angular[_0x1cd3('0x0')](_0x1cd3('0x30'))[_0x1cd3('0x39b')](_0x1cd3('0x2024'),_0x4c99e5);function _0x4c99e5(_0x16c220,_0x484693,_0xa86e5d){var _0x29e2ba=this;_0xa86e5d[_0x1cd3('0xd1c')]();_0xa86e5d[_0x1cd3('0x664')]();_0x29e2ba[_0x1cd3('0xe5f')]=0x0;switch(_0x484693[_0x1cd3('0x530')]['name']){case _0x1cd3('0x276'):_0x29e2ba['selectedTab']=0x0;break;case'app.sms.realtime.queues':_0x29e2ba[_0x1cd3('0xe5f')]=0x1;break;default:_0x29e2ba['selectedTab']=0x0;_0x484693['go'](_0x1cd3('0x276'));}_0x16c220['$watch'](_0x1cd3('0x13fc'),function(_0x21062e,_0x111464){if(_0x21062e!==_0x111464){switch(_0x21062e){case 0x0:_0x484693['go'](_0x1cd3('0x276'));break;case 0x1:_0x484693['go'](_0x1cd3('0x279'));break;default:_0x484693['go'](_0x1cd3('0x276'));}}});}}());(function(){'use strict';_0x3ddf53[_0x1cd3('0xc')]=[_0x1cd3('0x460'),'$state',_0x1cd3('0xd24'),_0x1cd3('0x3c5'),'$q',_0x1cd3('0x3f7'),_0x1cd3('0x461'),_0x1cd3('0xefe'),'smsAccount',_0x1cd3('0x370'),'Auth',_0x1cd3('0x463'),_0x1cd3('0xc49'),_0x1cd3('0xd27')];angular['module'](_0x1cd3('0x30'))[_0x1cd3('0x39b')](_0x1cd3('0x2025'),_0x3ddf53);function _0x3ddf53(_0x58c5e4,_0x25a39d,_0x10ecdb,_0x58e5bc,_0x58fc57,_0x7b05d1,_0x435366,_0x381523,_0x34a455,_0x4918c4,_0x5bf91d,_0x2aa9ea,_0x562d42,_0x214681){var _0x5c57ad=this;_0x5c57ad[_0x1cd3('0x3ca')]=_0x5bf91d[_0x1cd3('0x5d')]();_0x5c57ad[_0x1cd3('0xd34')]=[];_0x5c57ad[_0x1cd3('0xc49')]=_0x562d42;_0x5c57ad[_0x1cd3('0x463')]=_0x2aa9ea;_0x5c57ad[_0x1cd3('0xd27')]=_0x214681;_0x5c57ad[_0x1cd3('0xd28')]={};_0x5c57ad['passwordPattern']=_0x5c57ad[_0x1cd3('0xc49')]&&_0x5c57ad[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x5c57ad[_0x1cd3('0x486')]=_0x1cd3('0x2026');_0x5c57ad[_0x1cd3('0xac5')]=angular[_0x1cd3('0x429')](_0x34a455);_0x5c57ad[_0x1cd3('0xefe')]=_0x381523;_0x5c57ad[_0x1cd3('0x2027')]=![];if(!_0x5c57ad[_0x1cd3('0xac5')]){_0x5c57ad[_0x1cd3('0xac5')]={'remote':_0x10ecdb[_0x1cd3('0x3b0')]()+_0x1cd3('0x11cf')+_0x10ecdb[_0x1cd3('0x3ac')]()+(_0x10ecdb['port']()?':'+_0x10ecdb[_0x1cd3('0x3b1')]():''),'type':_0x1cd3('0x2028'),'waitForTheAssignedAgent':0xa,'notificationSound':!![],'queueTransferTimeout':0x12c,'agentTransferTimeout':0x12c};_0x5c57ad[_0x1cd3('0x486')]='SMS.NEW_SMSACCOUNT';_0x5c57ad[_0x1cd3('0x2027')]=!![];}if(_0x25a39d[_0x1cd3('0x36a')]['id']){_0x5c57ad[_0x1cd3('0xac5')]['SmsAccountId']=_0x25a39d[_0x1cd3('0x36a')]['id'];}_0x5c57ad[_0x1cd3('0x2029')]=_0x268638;_0x5c57ad[_0x1cd3('0x202a')]=_0x5386a4;_0x5c57ad['deleteSmsAccount']=_0x247fb7;_0x5c57ad[_0x1cd3('0xd31')]=_0x2da0af;_0x5c57ad['closeDialog']=_0x277671;_0x5bf91d[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x4918c4[_0x1cd3('0xc8f')]['get']({'fields':'id,name','sort':_0x1cd3('0x98')})['$promise'][_0x1cd3('0x77')](function(_0x26d253){_0x5c57ad[_0x1cd3('0xf5')]=_0x26d253['rows']||[];})[_0x1cd3('0xfd')](function(_0x505a6c){_0x435366[_0x1cd3('0x434')]({'title':_0x505a6c[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x505a6c[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x505a6c['statusText']:_0x1cd3('0x11f3'),'msg':_0x505a6c['data']?JSON[_0x1cd3('0x438')](_0x505a6c[_0x1cd3('0x439')]):_0x505a6c[_0x1cd3('0x43b')]()});}):_0x4918c4[_0x1cd3('0xc8f')]['get']({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x4d0754){_0x5c57ad[_0x1cd3('0xf5')]=_0x4d0754[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x4918c4[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x5c57ad[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x12d})[_0x1cd3('0x81')];})['then'](function(_0x2f0906){var _0x4275a7=_0x2f0906&&_0x2f0906[_0x1cd3('0xf6')]?_0x2f0906['rows'][0x0]:null;if(!_0x4275a7){var _0x3b091b=[];var _0x160bbf=null;if(_0x5c57ad[_0x1cd3('0xac5')]){_0x160bbf=_[_0x1cd3('0x442')](_0x5c57ad[_0x1cd3('0xf5')],{'id':Number(_0x5c57ad[_0x1cd3('0xac5')][_0x1cd3('0x106')])});}for(var _0x4b4c16=0x0;_0x4b4c16<_0x5c57ad['lists'][_0x1cd3('0x7a')];_0x4b4c16++){if(_0x160bbf&&_0x5c57ad[_0x1cd3('0xf5')][_0x4b4c16]['id']===_0x160bbf['id']){_0x5c57ad['lists'][_0x4b4c16]['canSelect']=![];_0x3b091b['push'](_0x5c57ad[_0x1cd3('0xf5')][_0x4b4c16]);}}_0x5c57ad[_0x1cd3('0xf5')]=_0x3b091b;}else{if(!_0x4275a7[_0x1cd3('0x391')]){return _0x4918c4[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x4275a7['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x263d96){var _0x151b6b=_[_0x1cd3('0x3d9')](_0x263d96[_0x1cd3('0xf6')],function(_0x2bcb31){return _[_0x1cd3('0x442')](_0x5c57ad[_0x1cd3('0xf5')],{'id':_0x2bcb31[_0x1cd3('0xe8e')]});});var _0x563859=null;if(_0x5c57ad[_0x1cd3('0xac5')]){_0x563859=_[_0x1cd3('0x442')](_0x5c57ad[_0x1cd3('0xf5')],{'id':Number(_0x5c57ad[_0x1cd3('0xac5')][_0x1cd3('0x106')])});}if(_0x563859&&!_['some'](_0x151b6b,['id',_0x563859['id']])){var _0x36c05d=_[_0x1cd3('0x442')](_0x5c57ad[_0x1cd3('0xf5')],{'id':_0x563859['id']});_0x36c05d[_0x1cd3('0xf4a')]=![];_0x151b6b['push'](_0x36c05d);}_0x5c57ad[_0x1cd3('0xf5')]=_0x151b6b;});}}})['catch'](function(_0x64ed50){_0x435366[_0x1cd3('0x434')]({'title':_0x64ed50[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x64ed50['status']+_0x1cd3('0x436')+_0x64ed50[_0x1cd3('0xd35')]:_0x1cd3('0x137f'),'msg':_0x64ed50[_0x1cd3('0x439')]?JSON['stringify'](_0x64ed50[_0x1cd3('0x439')]):_0x64ed50[_0x1cd3('0x43b')]()});});function _0x268638(){_0x5c57ad[_0x1cd3('0xd34')]=[];_0x4918c4[_0x1cd3('0xac5')][_0x1cd3('0xd6d')](_0x5c57ad[_0x1cd3('0xac5')])['$promise'][_0x1cd3('0x77')](function(_0x3f070e){_0x5c57ad[_0x1cd3('0xefe')][_0x1cd3('0x621')](_0x3f070e[_0x1cd3('0xd32')]());_0x435366['success']({'title':_0x1cd3('0x202b'),'msg':_0x5c57ad['smsAccount'][_0x1cd3('0x98')]?_0x5c57ad[_0x1cd3('0xac5')][_0x1cd3('0x98')]+_0x1cd3('0xd33'):''});_0x277671(_0x3f070e);})['catch'](function(_0x4ee95a){if(_0x4ee95a[_0x1cd3('0x439')]&&_0x4ee95a[_0x1cd3('0x439')]['errors']&&_0x4ee95a[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length']){_0x5c57ad[_0x1cd3('0xd34')]=_0x4ee95a[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x4ee95a['toString'](),'type':_0x1cd3('0x202c')}];for(var _0x48027a=0x0;_0x48027a<_0x4ee95a[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0x48027a+=0x1){_0x435366[_0x1cd3('0x434')]({'title':_0x4ee95a['data'][_0x1cd3('0xd34')][_0x48027a][_0x1cd3('0x424')],'msg':_0x4ee95a[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x48027a][_0x1cd3('0x43a')]});}}else{_0x435366[_0x1cd3('0x434')]({'title':_0x4ee95a[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x4ee95a['status']+_0x1cd3('0x436')+_0x4ee95a['statusText']:_0x1cd3('0x202c'),'msg':_0x4ee95a[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x4ee95a[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x4ee95a['toString']()});}});}function _0x5386a4(){_0x5c57ad[_0x1cd3('0xd34')]=[];_0x4918c4[_0x1cd3('0xac5')][_0x1cd3('0x378')]({'id':_0x5c57ad[_0x1cd3('0xac5')]['id']},_0x5c57ad[_0x1cd3('0xac5')])[_0x1cd3('0x81')]['then'](function(_0x4cffb1){var _0x5b302e=_['find'](_0x5c57ad['smsAccounts'],{'id':_0x4cffb1['id']});if(_0x5b302e){_[_0x1cd3('0xf2')](_0x5b302e,_[_0x1cd3('0x5e8')](_0x4cffb1['toJSON'](),_[_0x1cd3('0x80')](_0x5b302e)));}_0x435366['success']({'title':'SmsAccount\x20properly\x20saved!','msg':_0x5c57ad[_0x1cd3('0xac5')][_0x1cd3('0x98')]?_0x5c57ad[_0x1cd3('0xac5')][_0x1cd3('0x98')]+_0x1cd3('0xd37'):''});_0x277671(_0x4cffb1);})['catch'](function(_0x4b67c0){if(_0x4b67c0['data']&&_0x4b67c0[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x4b67c0[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x5c57ad[_0x1cd3('0xd34')]=_0x4b67c0[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x4b67c0[_0x1cd3('0x43b')](),'type':_0x1cd3('0x202d')}];for(var _0xc9d71c=0x0;_0xc9d71c<_0x4b67c0['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0xc9d71c++){_0x435366[_0x1cd3('0x434')]({'title':_0x4b67c0['data'][_0x1cd3('0xd34')][_0xc9d71c][_0x1cd3('0x424')],'msg':_0x4b67c0['data'][_0x1cd3('0xd34')][_0xc9d71c][_0x1cd3('0x43a')]});}}else{_0x435366[_0x1cd3('0x434')]({'title':_0x4b67c0[_0x1cd3('0x3a6')]?'API:'+_0x4b67c0[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x4b67c0[_0x1cd3('0xd35')]:'api.smsAccount.update','msg':_0x4b67c0[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x4b67c0[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x4b67c0['toString']()});}});}function _0x247fb7(_0x111b52){_0x5c57ad[_0x1cd3('0xd34')]=[];var _0x3d22f0=_0x58e5bc[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xd3a'))[_0x1cd3('0xd3b')](_0x1cd3('0x202e'))[_0x1cd3('0xd3d')](_0x1cd3('0x202f'))['ok'](_0x1cd3('0xd3f'))[_0x1cd3('0x4d8')](_0x1cd3('0x674'))[_0x1cd3('0xd63')](_0x111b52);_0x58e5bc[_0x1cd3('0x37e')](_0x3d22f0)['then'](function(){_0x4918c4['smsAccount']['delete']({'id':_0x5c57ad[_0x1cd3('0xac5')]['id']})[_0x1cd3('0x81')]['then'](function(){_[_0x1cd3('0x383')](_0x5c57ad[_0x1cd3('0xefe')],{'id':_0x5c57ad[_0x1cd3('0xac5')]['id']});_0x435366[_0x1cd3('0x473')]({'title':_0x1cd3('0x2030'),'msg':(_0x5c57ad[_0x1cd3('0xac5')][_0x1cd3('0x98')]||_0x1cd3('0xac5'))+_0x1cd3('0xd41')});_0x277671(_0x5c57ad['smsAccount']);})['catch'](function(_0x38d587){if(_0x38d587[_0x1cd3('0x439')]&&_0x38d587[_0x1cd3('0x439')]['errors']&&_0x38d587[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x5c57ad['errors']=_0x38d587[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x38d587['toString'](),'type':_0x1cd3('0x2031')}];for(var _0x2c0f1d=0x0;_0x2c0f1d<_0x38d587['data'][_0x1cd3('0xd34')]['length'];_0x2c0f1d++){_0x435366[_0x1cd3('0x434')]({'title':_0x38d587[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x2c0f1d]['type'],'msg':_0x38d587[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x2c0f1d][_0x1cd3('0x43a')]});}}else{_0x435366[_0x1cd3('0x434')]({'title':_0x38d587[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x38d587[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x38d587[_0x1cd3('0xd35')]:_0x1cd3('0x2031'),'msg':_0x38d587[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x38d587[_0x1cd3('0x439')]['message']):_0x38d587[_0x1cd3('0x43a')]||_0x38d587[_0x1cd3('0x43b')]()});}});},function(){});}function _0x2da0af(_0x29653a){return _0x29653a===null?undefined:new Date(_0x29653a);}function _0x277671(_0x315d2e){_0x58e5bc[_0x1cd3('0x39d')](_0x315d2e);}}}());(function(){'use strict';_0x464c6b['$inject']=[_0x1cd3('0x370'),'$mdDialog',_0x1cd3('0x372'),'toasty',_0x1cd3('0x56')];angular[_0x1cd3('0x0')](_0x1cd3('0x30'))[_0x1cd3('0x39b')](_0x1cd3('0x2032'),_0x464c6b);function _0x464c6b(_0x43afa8,_0x3ab0a4,_0xd3d51d,_0x48bfb7,_0x432dcd){var _0x5e89a3=this;_0x5e89a3[_0x1cd3('0x3ca')]=_0x432dcd['getCurrentUser']();_0x5e89a3[_0x1cd3('0xac5')]={};_0x5e89a3[_0x1cd3('0x2033')]={'count':0x0,'rows':[]};_0x5e89a3[_0x1cd3('0x2034')]=[];_0x5e89a3[_0x1cd3('0xd27')];_0x5e89a3[_0x1cd3('0x3d4')]={'sort':_0x1cd3('0xf0c')};_0x5e89a3[_0x1cd3('0x1210')]=_[_0x1cd3('0x3a7')](_[_0x1cd3('0x1211')]([{'app':_0x1cd3('0x1212'),'appType':'interval','types':[_0x1cd3('0x1213'),_0x1cd3('0x8f6'),_0x1cd3('0x9d5')],'fields':[],'isApp':![]},{'app':_0x1cd3('0x3a9'),'appType':_0x1cd3('0x3a9'),'type':_0x1cd3('0x3a9'),'icon':_0x1cd3('0x1214'),'interval':_0x1cd3('0x1216'),'required':!![],'isApp':!![],'fields':[{'title':_0x1cd3('0x1215'),'name':'value','type':_0x1cd3('0x401'),'param':0x0}]},{'app':_0x1cd3('0xa13'),'appType':_0x1cd3('0xa13'),'type':_0x1cd3('0xa13'),'icon':_0x1cd3('0x1214'),'interval':_0x1cd3('0x1216'),'required':!![],'isApp':!![],'extraApi':[{'name':_0x1cd3('0xef7'),'field':{'name':'variable','key':_0x1cd3('0x98')},'route':'variable','filters':{'fields':_0x1cd3('0xa6'),'sort':'name','nolimit':!![]},'permissions':{'section':0x3f4}}],'fields':[{'title':_0x1cd3('0x18f5'),'name':_0x1cd3('0xf0d'),'type':'text','required':!![],'param':0x0},{'title':_0x1cd3('0x1217'),'name':_0x1cd3('0xb84'),'type':_0x1cd3('0x1218'),'values':_0x1cd3('0xef7'),'value':_0x1cd3('0x1219'),'option':_0x1cd3('0x1219'),'defaultValues':[{'value':'\x27\x27','option':'None'}],'defaultValue':'\x27\x27','param':0x1}]},{'app':_0x1cd3('0x121a'),'appType':'gotop','type':'goto','icon':_0x1cd3('0x1214'),'interval':_0x1cd3('0x1216'),'isApp':!![],'fields':[{'title':'Priority','name':_0x1cd3('0xf0c'),'type':_0x1cd3('0x407'),'required':!![],'min':0x0,'param':0x0}]},{'app':_0x1cd3('0x121c'),'appType':'gotoif','type':'gotoif','icon':_0x1cd3('0x1214'),'interval':_0x1cd3('0x1216'),'isApp':!![],'fields':[{'title':_0x1cd3('0x121d'),'name':_0x1cd3('0xb65'),'type':_0x1cd3('0x401'),'required':!![],'param':0x0},{'title':'truepriority','name':_0x1cd3('0x121e'),'type':'number','min':0x1,'required':!![],'param':0x1},{'title':_0x1cd3('0x121f'),'name':_0x1cd3('0x121f'),'type':_0x1cd3('0x407'),'min':0x1,'required':!![],'param':0x2}]},{'app':_0x1cd3('0x1220'),'appType':_0x1cd3('0x1220'),'foreignKey':_0x1cd3('0x2020'),'type':_0x1cd3('0x1220'),'icon':_0x1cd3('0x1214'),'interval':_0x1cd3('0x1216'),'isApp':!![],'extraApi':[{'name':'queues','field':{'name':'queue','key':_0x1cd3('0x98')},'route':'smsQueue','filters':{'fields':_0x1cd3('0x1222'),'sort':_0x1cd3('0x98'),'nolimit':!![]},'permissions':{'section':0x2bd}}],'fields':[{'title':_0x1cd3('0x1223'),'name':'queue','type':_0x1cd3('0x1218'),'values':'queues','value':'queue.name','option':_0x1cd3('0x1224'),'defaultValue':0x12c,'required':!![],'param':0x0},{'title':_0x1cd3('0x1225'),'name':_0x1cd3('0x8fc'),'type':_0x1cd3('0x407'),'max':0x20c49b,'min':0x0,'required':!![],'defaultValue':0x12c,'param':0x1}]},{'app':_0x1cd3('0xd2'),'appType':'agent','type':'agent','foreignKey':'UserId','icon':_0x1cd3('0x1214'),'interval':_0x1cd3('0x1216'),'isApp':!![],'extraApi':[{'name':_0x1cd3('0x1228'),'field':{'name':_0x1cd3('0xd2'),'key':_0x1cd3('0x98')},'route':_0x1cd3('0x368'),'filters':{'fields':'id,name','sort':_0x1cd3('0x98'),'nolimit':!![],'role':_0x1cd3('0xd2')},'permissions':{'section':0xca}}],'fields':[{'title':'Agent','name':_0x1cd3('0xd2'),'type':'apiselect','values':_0x1cd3('0x1228'),'value':_0x1cd3('0x1229'),'option':'agent.name','required':!![],'param':0x0},{'title':_0x1cd3('0x1225'),'name':'timeout','type':_0x1cd3('0x407'),'max':0x20c49b,'min':0x0,'required':!![],'defaultValue':0x1e,'param':0x1}]},{'app':_0x1cd3('0x122b'),'appType':_0x1cd3('0x122b'),'type':'autoreply','icon':'icon-apps','interval':'*,*,*,*','isApp':!![],'fields':[{'title':_0x1cd3('0x122c'),'name':_0x1cd3('0x122c'),'type':_0x1cd3('0x44f'),'defaultValue':'1','values':[{'option':_0x1cd3('0x122d'),'value':'1'},{'option':'Always','value':'0'}],'required':!![],'param':0x0},{'title':_0x1cd3('0xf3f'),'name':_0x1cd3('0x401'),'type':_0x1cd3('0x122f'),'required':!![],'param':0x1}]},{'app':_0x1cd3('0x3cf'),'appType':_0x1cd3('0x3cf'),'type':_0x1cd3('0x3cf'),'icon':_0x1cd3('0x1214'),'interval':_0x1cd3('0x1216'),'isApp':!![],'fields':[{'title':_0x1cd3('0x122a'),'name':_0x1cd3('0xb63'),'type':_0x1cd3('0x401'),'required':!![],'param':0x0}]},{'app':'tag','appType':'tag','type':_0x1cd3('0xb76'),'foreignKey':_0x1cd3('0x1230'),'icon':_0x1cd3('0x1214'),'interval':_0x1cd3('0x1216'),'isApp':!![],'extraApi':[{'name':'tags','field':{'name':_0x1cd3('0xb76'),'key':'name'},'route':_0x1cd3('0xb76'),'filters':{'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'nolimit':!![]},'permissions':{'section':0x3f0}}],'fields':[{'title':'Tag','name':_0x1cd3('0xb76'),'type':_0x1cd3('0x1218'),'values':'tags','value':_0x1cd3('0x1232'),'option':'tag.name','required':!![],'param':0x0}]},{'app':_0x1cd3('0x1233'),'appType':_0x1cd3('0x1233'),'type':_0x1cd3('0x1233'),'icon':_0x1cd3('0x1214'),'interval':_0x1cd3('0x1216'),'isApp':!![],'fields':[{'title':_0x1cd3('0x1eda'),'name':_0x1cd3('0x65c'),'type':_0x1cd3('0x401'),'required':!![],'param':0x0},{'title':_0x1cd3('0x3f3'),'name':'language','type':'select','defaultValue':'\x27en\x27','values':[{'option':'Danish','value':_0x1cd3('0x1234')},{'option':_0x1cd3('0xf5e'),'value':_0x1cd3('0x1235')},{'option':_0x1cd3('0xf5f'),'value':_0x1cd3('0x1236')},{'option':_0x1cd3('0xf60'),'value':_0x1cd3('0x1edb')},{'option':_0x1cd3('0xf61'),'value':_0x1cd3('0x1237')},{'option':_0x1cd3('0xf62'),'value':_0x1cd3('0x1edc')},{'option':_0x1cd3('0xf63'),'value':_0x1cd3('0x1238')},{'option':_0x1cd3('0xf64'),'value':_0x1cd3('0x1239')},{'option':'Korean\x20(South\x20Korea)','value':_0x1cd3('0x123a')},{'option':_0x1cd3('0xf65'),'value':'\x27nl\x27'},{'option':_0x1cd3('0xf66'),'value':_0x1cd3('0x123c')},{'option':_0x1cd3('0xf67'),'value':_0x1cd3('0x123d')},{'option':_0x1cd3('0xf69'),'value':'\x27pt-br\x27'},{'option':_0x1cd3('0x123f'),'value':_0x1cd3('0x1240')},{'option':_0x1cd3('0x1241'),'value':'\x27sv\x27'},{'option':_0x1cd3('0xfe9'),'value':_0x1cd3('0x2035')},{'option':_0x1cd3('0xf6a'),'value':'\x27uk\x27'},{'option':_0x1cd3('0x1ede'),'value':_0x1cd3('0x1243')},{'option':'Chinese\x20(Hong\x20Kong)','value':_0x1cd3('0x1245')},{'option':_0x1cd3('0xf6d'),'value':_0x1cd3('0x1edf')}],'required':!![],'param':0x1},{'title':_0x1cd3('0x1246'),'name':'welcomemessage','type':'textarea','maxlength':0xff,'required':![],'param':0x2,'help':!![]}]},{'app':_0x1cd3('0x1247'),'appType':_0x1cd3('0x1247'),'type':'amazonlex','icon':_0x1cd3('0x1214'),'interval':_0x1cd3('0x1216'),'isApp':!![],'fields':[{'title':_0x1cd3('0x1248'),'name':_0x1cd3('0x1248'),'type':_0x1cd3('0x401'),'required':!![],'param':0x0},{'title':_0x1cd3('0x1249'),'name':_0x1cd3('0x1249'),'type':_0x1cd3('0x401'),'required':!![],'param':0x1},{'title':_0x1cd3('0x124a'),'name':_0x1cd3('0x124a'),'type':_0x1cd3('0x44f'),'defaultValue':_0x1cd3('0x124b'),'values':[{'option':'US\x20East\x20(N.\x20Virginia)','value':_0x1cd3('0x124b')},{'option':'US\x20West\x20(Oregon)','value':'\x27us-west-2\x27'},{'option':'EU\x20(Ireland)','value':_0x1cd3('0x124d')},{'option':_0x1cd3('0x1136'),'value':'\x27ap-southeast-2\x27'}],'required':!![],'param':0x2},{'title':'botname','name':'botname','type':_0x1cd3('0x401'),'required':!![],'param':0x3},{'title':_0x1cd3('0x1246'),'name':'welcomemessage','type':_0x1cd3('0x122f'),'maxlength':0xff,'required':![],'param':0x4,'help':!![]}]}],[_0x1cd3('0xd0a')]),{'isApp':![]});_0x5e89a3['list']={'group':{'name':'opt1','pull':_0x1cd3('0x1141')},'animation':0x64,'sort':![]};_0x5e89a3['applications']={'group':{'name':_0x1cd3('0x1c5d'),'put':'opt1'},'animation':0x64,'onAdd':function(_0x4930e9){_0x1066ae(_0x4930e9,_0x4930e9[_0x1cd3('0x18fa')]);},'onSort':function(_0x26653a){_0x3c6a6a();}};_0x5e89a3[_0x1cd3('0xe08')]=_0x775f5b;_0x5e89a3[_0x1cd3('0xe0a')]=_0x5e5c26;_0x5e89a3[_0x1cd3('0x2036')]=_0x32d82c;_0x5e89a3[_0x1cd3('0x2037')]=_0x1066ae;_0x5e89a3[_0x1cd3('0x18fd')]=_0x265bb4;_0x5e89a3['deleteSmsAccountApp']=_0x3680ab;_0x5e89a3[_0x1cd3('0x2038')]=_0x471bcd;_0x5e89a3[_0x1cd3('0x1254')]=_0x3c6a6a;_0x5e89a3[_0x1cd3('0x1257')]=_0x5ad85c;function _0x775f5b(_0x46bc1a,_0x23bc2b){_0x5e89a3['smsAccount']=_0x46bc1a;_0x5e89a3[_0x1cd3('0xd27')]=typeof _0x23bc2b!==_0x1cd3('0x491')?_0x23bc2b:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x5e89a3[_0x1cd3('0x18f9')][_0x1cd3('0x447')]=!_0x5e89a3[_0x1cd3('0xd27')]['canEdit']?!![]:![];_0x5e89a3[_0x1cd3('0x3d4')]['id']=_0x46bc1a['id'];_0x5e89a3['query'][_0x1cd3('0x1255')]=!![];_0x5e89a3[_0x1cd3('0x3d4')][_0x1cd3('0x1256')]=!![];_0x5e89a3['getSmsAccountApps']();_0x5e89a3[_0x1cd3('0x1257')]();}function _0x5e5c26(_0x3014dd,_0x7ffba6,_0x10c0f){var _0x528e33=_0x3ab0a4[_0x1cd3('0xd39')]()['title'](_0x1cd3('0x1258'))[_0x1cd3('0xd60')]('<b>'+_0x3014dd[_0x1cd3('0xd0a')]+_0x1cd3('0xd52')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x1259'))[_0x1cd3('0xd63')](_0x10c0f)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x3ab0a4['show'](_0x528e33)['then'](function(){_0x5e89a3[_0x1cd3('0x2033')][_0x1cd3('0xf6')][_0x1cd3('0x446')](_0x7ffba6,0x1);_0x3c6a6a();},function(){console[_0x1cd3('0x7d')]('CANCEL');});}function _0x1066ae(_0x43c5a1,_0x3487f3){if(_0x5e89a3[_0x1cd3('0x2033')][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){var _0x5a4c69=_0x5e89a3['smsAccountApps'][_0x1cd3('0xf6')][_0x3487f3]?_0x5e89a3[_0x1cd3('0x2033')][_0x1cd3('0xf6')][_0x3487f3]:_0x5e89a3[_0x1cd3('0x2033')][_0x1cd3('0xf6')][0x0];_0x3ab0a4[_0x1cd3('0x37e')]({'controller':'EditSmsAccountApp'+(_0x5a4c69[_0x1cd3('0x125b')]||_0x5a4c69[_0x1cd3('0xd0a')])[_0x1cd3('0x433')]()+_0x1cd3('0x125c'),'controllerAs':'vm','templateUrl':_0x1cd3('0x2039')+(_0x5a4c69[_0x1cd3('0x125b')]||_0x5a4c69[_0x1cd3('0xd0a')])[_0x1cd3('0x433')]()+'/dialog.html','parent':angular[_0x1cd3('0x37f')](_0xd3d51d[_0x1cd3('0x380')]),'targetEvent':_0x43c5a1,'clickOutsideToClose':!![],'locals':{'smsAccountApp':_0x5a4c69,'smsAccount':_0x5e89a3['smsAccount'],'crudPermissions':_0x5e89a3[_0x1cd3('0xd27')]}})['then'](function(_0x509b32){if(_0x509b32){if(_0x509b32['id']){_0x5e89a3[_0x1cd3('0x2033')][_0x1cd3('0xf6')][_0x3487f3]=_0x509b32;}else{_0x5e89a3[_0x1cd3('0x2033')][_0x1cd3('0xf6')][_0x1cd3('0x446')](_0x3487f3,0x0,_0x509b32);}_0x3c6a6a();}})['catch'](function(_0x1d88fd){if(_0x1d88fd){_0x48bfb7['error']({'title':_0x1d88fd[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x1d88fd[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x1d88fd[_0x1cd3('0xd35')]:'SYSTEM:EDITMODALSHOW','msg':_0x1d88fd['data']?JSON['stringify'](_0x1d88fd[_0x1cd3('0x439')]):_0x1d88fd[_0x1cd3('0x43b')]()});}});}}function _0x265bb4(_0x12c322,_0x3847e9){if(_0x5e89a3[_0x1cd3('0x2033')][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){var _0x39447d=_0x5e89a3[_0x1cd3('0x2033')][_0x1cd3('0xf6')][_0x3847e9]?_0x5e89a3[_0x1cd3('0x2033')]['rows'][_0x3847e9]:_0x5e89a3['smsAccountApps'][_0x1cd3('0xf6')][0x0];_0x3ab0a4['show']({'controller':_0x1cd3('0x203a'),'controllerAs':'vm','templateUrl':_0x1cd3('0x203b'),'parent':angular[_0x1cd3('0x37f')](_0xd3d51d['body']),'targetEvent':_0x12c322,'clickOutsideToClose':!![],'locals':{'interval':{'interval':_0x39447d['interval'],'IntervalId':_0x39447d[_0x1cd3('0xf4b')],'application':!![]},'intervals':[],'crudPermissions':_0x5e89a3[_0x1cd3('0xd27')]}})[_0x1cd3('0x77')](function(_0x8dbb37){if(_0x8dbb37){_0x39447d[_0x1cd3('0x77e')]=_0x8dbb37[_0x1cd3('0x77e')]||'*,*,*,*';_0x39447d[_0x1cd3('0xf4b')]=_0x8dbb37[_0x1cd3('0xf4b')]||null;_0x3c6a6a();}});}}function _0x3c6a6a(){var _0x3653b2=0x1;var _0x413c6b=[];for(var _0x2dcf19=0x0,_0x33a9f0=0x0;_0x2dcf19<_0x5e89a3[_0x1cd3('0x2033')]['rows'][_0x1cd3('0x7a')];_0x2dcf19++,_0x33a9f0=0x0){var _0x369e90=_0x5e89a3[_0x1cd3('0x2033')][_0x1cd3('0xf6')][_0x2dcf19];var _0x4d6ffb=[];var _0x139556=[];_0x369e90[_0x1cd3('0xef9')]=_0x369e90[_0x1cd3('0x77e')]!==_0x1cd3('0x1216')?[_0x369e90[_0x1cd3('0x77e')]]:_0x369e90[_0x1cd3('0xf4b')]?_['map'](_[_0x1cd3('0x395')](_0x5e89a3[_0x1cd3('0xef9')][_0x1cd3('0xf6')],{'IntervalId':_0x369e90[_0x1cd3('0xf4b')]}),_0x1cd3('0x77e')):[];_0x369e90[_0x1cd3('0xf0a')]=_0x5e89a3[_0x1cd3('0xac5')][_0x1cd3('0xf0a')];_0x369e90[_0x1cd3('0x1261')]=_0x5e89a3['smsAccount']['exten'];if(_0x369e90[_0x1cd3('0x424')]){_0x369e90[_0x1cd3('0x424')]=_0x369e90[_0x1cd3('0x424')]['toLowerCase']();}_0x369e90[_0x1cd3('0xf0c')]=_0x4d6ffb[_0x1cd3('0x7a')]?_['last'](_0x4d6ffb)['priority']+0x1:_0x3653b2;_0x3653b2=(_0x139556['length']?_['last'](_0x139556)[_0x1cd3('0xf0c')]:_0x369e90['priority'])+0x1;_0x413c6b=_[_0x1cd3('0x3ae')](_0x413c6b,_0x4d6ffb,[_0x369e90],_0x139556);}_0x43afa8[_0x1cd3('0xac5')]['addApplications']({'id':_0x5e89a3[_0x1cd3('0xac5')]['id']},_['sortBy'](_0x413c6b,_0x1cd3('0xf0c')))[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x132b80){_0x5e89a3[_0x1cd3('0x2033')][_0x1cd3('0xf6')]=_0x132b80[_0x1cd3('0xf6')];})[_0x1cd3('0xfd')](function(_0x5c79d1){console[_0x1cd3('0x434')](_0x5c79d1);});}function _0x2a485b(_0x599279){_0x5e89a3[_0x1cd3('0x2033')]=_0x599279||{'count':0x0,'rows':[]};}function _0x5ad85c(){return _0x43afa8[_0x1cd3('0x77e')][_0x1cd3('0x361')]({'fields':_0x1cd3('0x1c61')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x5cfa56){_0x5e89a3['intervals']=_0x5cfa56;})[_0x1cd3('0xfd')](function(_0x9e75fa){console[_0x1cd3('0x434')](_0x9e75fa);});}function _0x32d82c(){_0x5e89a3[_0x1cd3('0x539')]=_0x43afa8[_0x1cd3('0xac5')]['getApplications'](_0x5e89a3[_0x1cd3('0x3d4')],_0x2a485b)['$promise'];}function _0x3680ab(_0x56c478){_['remove'](_0x5e89a3[_0x1cd3('0x2033')][_0x1cd3('0xf6')],{'id':_0x56c478['id']});_0x3c6a6a();_0x48bfb7[_0x1cd3('0x473')]({'title':_0x1cd3('0x1264'),'msg':_0x56c478[_0x1cd3('0xd0a')]?_0x56c478[_0x1cd3('0xd0a')]+_0x1cd3('0xd41'):''});}function _0x471bcd(_0xf451c4){var _0x216370=_0x3ab0a4['confirm']()['title'](_0x1cd3('0x1265'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x5e89a3[_0x1cd3('0x2034')][_0x1cd3('0x7a')]+_0x1cd3('0xd61')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x1266'))[_0x1cd3('0xd63')](_0xf451c4)['ok']('OK')['cancel'](_0x1cd3('0xd55'));_0x3ab0a4[_0x1cd3('0x37e')](_0x216370)[_0x1cd3('0x77')](function(){_0x5e89a3[_0x1cd3('0x2034')][_0x1cd3('0x394')](function(_0x3348fc){_[_0x1cd3('0x383')](_0x5e89a3[_0x1cd3('0x2033')][_0x1cd3('0xf6')],{'id':_0x3348fc['id']});});_0x5e89a3[_0x1cd3('0x2034')]=[];_0x3c6a6a();});}}}());(function(){'use strict';_0x14c483[_0x1cd3('0xc')]=['$mdDialog','$q',_0x1cd3('0x461'),'api',_0x1cd3('0xac5'),_0x1cd3('0xefe'),_0x1cd3('0x11b9'),_0x1cd3('0x3f7'),_0x1cd3('0x56'),'crudPermissions'];angular[_0x1cd3('0x0')](_0x1cd3('0x30'))['controller']('SmsAccountagentaddController',_0x14c483);function _0x14c483(_0x2cdc5c,_0x44ef28,_0x4ed9b5,_0x336c8e,_0x37d07f,_0x567cb7,_0x169ac8,_0x108360,_0x2b0c83,_0x5d3b6){var _0x365b2c=this;_0x365b2c[_0x1cd3('0x3ca')]=_0x2b0c83[_0x1cd3('0x5d')]();_0x365b2c['smsAccount']=_0x37d07f;_0x365b2c[_0x1cd3('0xd27')]=_0x5d3b6;_0x365b2c[_0x1cd3('0x11b9')]=_0x169ac8;_0x365b2c[_0x1cd3('0x493')]=[];_0x365b2c[_0x1cd3('0x11ba')]=[];_0x365b2c[_0x1cd3('0x492')]=[];_0x365b2c[_0x1cd3('0x11bb')]=[];_0x365b2c[_0x1cd3('0x11be')]=[];_0x365b2c[_0x1cd3('0x11c6')]=![];_0x365b2c[_0x1cd3('0x703')]=_0x2d8e71;_0x365b2c['saveAgents']=_0x104b73;_0x365b2c['closeDialog']=_0x3c53d3;_0x365b2c[_0x1cd3('0x1145')]={'readOnly':!_0x365b2c[_0x1cd3('0xd27')][_0x1cd3('0xe3b')],'items':[],'selectedItems':[],'showSelectAndDeselectAll':!![],'orderBy':_0x1cd3('0x98'),'line1':_0x1cd3('0xd3'),'line2':[_0x1cd3('0x98'),_0x1cd3('0x311')],'line3':'','labelAll':_0x108360[_0x1cd3('0x44a')](_0x1cd3('0x203c')),'labelSelected':_0x108360['instant'](_0x1cd3('0x203d')),'transferCallback':function(_0x57d09b,_0x170181){var _0x23fa5f=_[_0x1cd3('0x11c8')](_0x365b2c[_0x1cd3('0x11be')],_0x365b2c['selectedItems'],'id');_0x365b2c[_0x1cd3('0x11c6')]=_[_0x1cd3('0x398')](_0x23fa5f)?![]:!![];}};function _0x2d8e71(){return _0x2b0c83[_0x1cd3('0x57')]('admin')?_0x1f29e5()[_0x1cd3('0xfd')](function(_0x9fc139){_0x4ed9b5[_0x1cd3('0x434')]({'title':_0x9fc139[_0x1cd3('0x3a6')]?'API:'+_0x9fc139[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x9fc139[_0x1cd3('0xd35')]:_0x1cd3('0x11bf'),'msg':_0x9fc139[_0x1cd3('0x3a6')]?JSON['stringify'](_0x9fc139['data']):_0x9fc139['toString']()});}):_0x36ef48()[_0x1cd3('0x77')](function(_0x29a41c){_0x365b2c[_0x1cd3('0xd58')]=_0x29a41c;return _0x1f29e5();})['catch'](function(_0x439d92){_0x4ed9b5['error']({'title':_0x439d92[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x439d92[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x439d92[_0x1cd3('0xd35')]:_0x1cd3('0x11bf'),'msg':_0x439d92['status']?JSON[_0x1cd3('0x438')](_0x439d92[_0x1cd3('0x439')]):_0x439d92['toString']()});});}function _0x36ef48(){return _0x44ef28(function(_0x567863,_0x4e5d1b){_0x336c8e[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x365b2c[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'name':_0x1cd3('0xd4')})['$promise'][_0x1cd3('0x77')](function(_0x3d6a3c){var _0x5aeb4a=_0x3d6a3c&&_0x3d6a3c[_0x1cd3('0xf6')]?_0x3d6a3c[_0x1cd3('0xf6')][0x0]:null;_0x567863(_0x5aeb4a);})[_0x1cd3('0xfd')](function(_0x5bcf1b){_0x4e5d1b(_0x5bcf1b);});});}function _0x1f29e5(){return _0x44ef28(function(_0x7307bd,_0x55eebc){return _0x2bbe81()[_0x1cd3('0x77')](function(_0x32dec9){_0x365b2c[_0x1cd3('0x493')]=_0x32dec9[_0x1cd3('0xf6')]?_0x32dec9[_0x1cd3('0xf6')]:[];if(_0x2b0c83[_0x1cd3('0x57')](_0x1cd3('0x5f'))){return _0x32dec9;}else{if(_0x365b2c[_0x1cd3('0xd58')]){return _0x365b2c['section'][_0x1cd3('0x391')]?_0x32dec9:_0x5a96c5();}else{return null;}}})['then'](function(_0x3a96ff){var _0x4692da=_0x3a96ff&&_0x3a96ff[_0x1cd3('0xf6')]?_0x3a96ff[_0x1cd3('0xf6')]:[];_0x365b2c['allowedItems']=_[_0x1cd3('0x3d9')](_0x4692da,function(_0x17c4ee){return _['find'](_0x365b2c[_0x1cd3('0x493')],{'id':_0x2b0c83[_0x1cd3('0x57')](_0x1cd3('0x5f'))||_0x365b2c[_0x1cd3('0xd58')][_0x1cd3('0x391')]?_0x17c4ee['id']:_0x17c4ee[_0x1cd3('0xe8e')]});});_0x365b2c[_0x1cd3('0x11bb')]=angular[_0x1cd3('0x429')](_0x365b2c[_0x1cd3('0x11ba')]);_0x365b2c[_0x1cd3('0x493')][_0x1cd3('0x394')](function(_0x3255d1){var _0x251929=_[_0x1cd3('0x442')](_0x365b2c['allowedItems'],{'id':_0x3255d1['id']});if(_0x2b0c83['hasRole']('admin')){_0x3255d1[_0x1cd3('0x490')]=!![];}else{_0x3255d1[_0x1cd3('0x490')]=typeof _0x251929!==_0x1cd3('0x491')?!![]:![];}});return _0x895e58();})[_0x1cd3('0x77')](function(_0x4caf67){var _0xf2ae43=_0x4caf67&&_0x4caf67[_0x1cd3('0xf6')]?_0x4caf67[_0x1cd3('0xf6')]:[];_0x365b2c[_0x1cd3('0x492')]=_[_0x1cd3('0x3d9')](_0xf2ae43,function(_0x1a42c6){var _0x3927a6=_[_0x1cd3('0x442')](_0x365b2c[_0x1cd3('0x493')],{'id':_0x1a42c6['id']});_0x3927a6[_0x1cd3('0x1146')]=_0x1a42c6[_0x1cd3('0x203e')]?_0x1cd3('0x1503')+_0x1a42c6[_0x1cd3('0x203e')][_0x1cd3('0x1146')]:'';_0x3927a6[_0x1cd3('0x311')]=_0x1a42c6[_0x1cd3('0x3d0')]('internal')?'<'+_0x1a42c6[_0x1cd3('0x311')]+'>':'';return _0x3927a6;});_0x365b2c[_0x1cd3('0x11be')]=angular[_0x1cd3('0x429')](_0x365b2c[_0x1cd3('0x492')]);_0x365b2c[_0x1cd3('0x1145')]['selectedItems']=_0x365b2c[_0x1cd3('0x492')];_0x365b2c[_0x1cd3('0x1145')][_0x1cd3('0x493')]=_['differenceBy'](_0x365b2c['allowedItems'],_0x365b2c[_0x1cd3('0x1145')][_0x1cd3('0x492')],'id');_0x7307bd();})[_0x1cd3('0xfd')](function(_0x27812e){_0x55eebc(_0x27812e);});});}function _0x5a96c5(){return _0x44ef28(function(_0x27cb4f,_0x37f461){return _0x336c8e[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x365b2c[_0x1cd3('0xd58')]['id'],'nolimit':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x59b950){_0x27cb4f(_0x59b950);})[_0x1cd3('0xfd')](function(_0x3ea1f8){_0x37f461(_0x3ea1f8);});});}function _0x895e58(){return _0x44ef28(function(_0x4cb488,_0xa0d38c){return _0x336c8e[_0x1cd3('0xac5')]['getAgents']({'id':_0x365b2c[_0x1cd3('0xac5')]['id'],'fields':'id,name,internal,fullname','nolimit':!![],'role':_0x1cd3('0xd2')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x543d98){_0x4cb488(_0x543d98);})[_0x1cd3('0xfd')](function(_0x526bb5){_0xa0d38c(_0x526bb5);});});}function _0x2bbe81(){return _0x44ef28(function(_0xe6b5d1,_0x2ba33f){return _0x336c8e['user'][_0x1cd3('0x361')]({'fields':_0x1cd3('0x11c1'),'nolimit':!![],'role':_0x1cd3('0xd2')})[_0x1cd3('0x81')]['then'](function(_0x469ffc){_0xe6b5d1(_0x469ffc);})[_0x1cd3('0xfd')](function(_0x55db7c){_0x2ba33f(_0x55db7c);});});}function _0xf4fc82(_0x4cadef){return _0x44ef28(function(_0xdc61c7,_0x5d1fc1){if(_[_0x1cd3('0x398')](_0x4cadef)){_0xdc61c7();}else{_0x336c8e[_0x1cd3('0xac5')][_0x1cd3('0x11c2')]({'id':_0x365b2c['smsAccount']['id'],'ids':_['map'](_0x4cadef,'id')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0xdc61c7();})[_0x1cd3('0xfd')](function(_0x463a71){_0x5d1fc1(_0x463a71);});}});}function _0x2ddd39(_0x56a1f8){return _0x44ef28(function(_0x145704,_0x3a2282){if(_[_0x1cd3('0x398')](_0x56a1f8)){_0x145704();}else{_0x336c8e[_0x1cd3('0xac5')]['removeAgents']({'id':_0x365b2c['smsAccount']['id'],'ids':_[_0x1cd3('0x3d9')](_0x56a1f8,'id')})[_0x1cd3('0x81')]['then'](function(){_0x145704();})[_0x1cd3('0xfd')](function(_0x364a36){_0x3a2282(_0x364a36);});}});}function _0x104b73(){var _0x1b9c59=_[_0x1cd3('0x1152')](_0x365b2c['startingSelectedItems'],_0x365b2c[_0x1cd3('0x492')],'id');var _0x46789b=_[_0x1cd3('0x1152')](_0x365b2c['selectedItems'],_0x365b2c['startingSelectedItems'],'id');return _0x2ddd39(_0x1b9c59)[_0x1cd3('0x77')](function(){return _0xf4fc82(_0x46789b);})['then'](function(){_0x365b2c[_0x1cd3('0x11c6')]=![];_0x365b2c[_0x1cd3('0x11bb')]=angular['copy'](_0x365b2c['allowedItems']);_0x365b2c['startingSelectedItems']=angular[_0x1cd3('0x429')](_0x365b2c[_0x1cd3('0x492')]);_0x4ed9b5['success']({'title':_0x1cd3('0x11c4'),'msg':_0x1cd3('0x11c5')});})[_0x1cd3('0xfd')](function(_0x587702){_0x4ed9b5[_0x1cd3('0x434')]({'title':_0x587702[_0x1cd3('0x3a6')]?'API:'+_0x587702['status']+_0x1cd3('0x436')+_0x587702[_0x1cd3('0xd35')]:'SYSTEM:LISTS_ASSOCIATION','msg':_0x587702[_0x1cd3('0x3a6')]?JSON[_0x1cd3('0x438')](_0x587702[_0x1cd3('0x439')]):_0x587702[_0x1cd3('0x43b')]()});});}function _0x3c53d3(){_0x2cdc5c[_0x1cd3('0x39d')]();}}}());(function(){'use strict';_0x365beb['$inject']=[_0x1cd3('0x3c5'),'$q',_0x1cd3('0x461'),_0x1cd3('0x203f'),_0x1cd3('0xac5'),_0x1cd3('0x370'),'Auth',_0x1cd3('0xd27')];angular[_0x1cd3('0x0')]('app.sms')[_0x1cd3('0x39b')](_0x1cd3('0x2040'),_0x365beb);function _0x365beb(_0x13ca07,_0x5b6c20,_0x4038b6,_0x3bf4ff,_0x1927a8,_0x536ca5,_0x25377d,_0x214f0a){var _0x2d354a=this;_0x2d354a[_0x1cd3('0x3ca')]=_0x25377d[_0x1cd3('0x5d')]();_0x2d354a[_0x1cd3('0xd34')]=[];_0x2d354a[_0x1cd3('0x486')]=_0x1cd3('0x2041')+(_0x3bf4ff[_0x1cd3('0x125b')]||_0x3bf4ff[_0x1cd3('0xd0a')])[_0x1cd3('0x437')]();_0x2d354a['agent']=angular[_0x1cd3('0x429')](_0x3bf4ff);_0x2d354a['crudPermissions']=_0x214f0a;_0x2d354a[_0x1cd3('0xd28')]={};if(_0x2d354a[_0x1cd3('0xd2')]['appdata']){switch(_0x2d354a[_0x1cd3('0xd2')]['appType']?_0x2d354a[_0x1cd3('0xd2')][_0x1cd3('0x125b')][_0x1cd3('0x433')]():_0x2d354a[_0x1cd3('0xd2')]['app']['toLowerCase']()){case _0x1cd3('0x8f6'):break;case _0x1cd3('0x1233'):var _0x1e7e57=_0x2d354a[_0x1cd3('0xd2')]['appdata'][_0x1cd3('0x3ef')](',');_0x2d354a[_0x1cd3('0xd2')][_0x1cd3('0x65c')]=_0x1e7e57[0x0];_0x2d354a['agent'][_0x1cd3('0x3f3')]=_0x1e7e57[0x1];_0x2d354a[_0x1cd3('0xd2')][_0x1cd3('0x1246')]=_0x1e7e57['slice'](0x2,_0x1e7e57[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case'amazonlex':var _0x1e7e57=_0x2d354a[_0x1cd3('0xd2')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x2d354a['agent'][_0x1cd3('0x1248')]=_0x1e7e57[0x0];_0x2d354a[_0x1cd3('0xd2')][_0x1cd3('0x1249')]=_0x1e7e57[0x1];_0x2d354a[_0x1cd3('0xd2')][_0x1cd3('0x124a')]=_0x1e7e57[0x2];_0x2d354a[_0x1cd3('0xd2')][_0x1cd3('0x124f')]=_0x1e7e57[0x3];_0x2d354a[_0x1cd3('0xd2')][_0x1cd3('0x1246')]=_0x1e7e57[_0x1cd3('0x9a2')](0x4,_0x1e7e57[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x122b'):var _0x1e7e57=_0x2d354a[_0x1cd3('0xd2')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x2d354a['agent'][_0x1cd3('0x122c')]=isNaN(_0x1e7e57[0x0])?_0x1e7e57[0x0]:parseInt(_0x1e7e57[0x0],0xa);_0x2d354a[_0x1cd3('0xd2')][_0x1cd3('0x401')]=_0x1e7e57[_0x1cd3('0x9a2')](0x1,_0x1e7e57[_0x1cd3('0x7a')])['join'](',');break;case _0x1cd3('0x43a'):_0x2d354a['agent']['text']=_0x2d354a[_0x1cd3('0xd2')]['appdata'];break;case _0x1cd3('0x127e'):_0x2d354a[_0x1cd3('0xd2')]['name']=_0x2d354a[_0x1cd3('0xd2')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x0];_0x2d354a[_0x1cd3('0xd2')][_0x1cd3('0x3db')]=_0x2d354a[_0x1cd3('0xd2')][_0x1cd3('0x127d')]['split']('=')[0x1];break;case _0x1cd3('0x128c'):_0x2d354a[_0x1cd3('0xd2')]['project']=_0x2d354a[_0x1cd3('0xd2')][_0x1cd3('0x127d')];break;default:var _0x5982c8=_0x2d354a[_0x1cd3('0xd2')]['appdata'][_0x1cd3('0x3ef')](',');_0x2d354a['agent'][_0x1cd3('0xd2')]=_[_0x1cd3('0x398')](_0x5982c8[0x0])?_0x5982c8[0x0]:isNaN(_0x5982c8[0x0])?_0x5982c8[0x0]:parseInt(_0x5982c8[0x0],0xa);_0x2d354a[_0x1cd3('0xd2')][_0x1cd3('0x8fc')]=_[_0x1cd3('0x398')](_0x5982c8[0x1])?_0x5982c8[0x1]:isNaN(_0x5982c8[0x1])?_0x5982c8[0x1]:parseInt(_0x5982c8[0x1],0xa);}}else{_0x2d354a[_0x1cd3('0xd2')]['timeout']=0x1e;}if(_0x2d354a[_0x1cd3('0xd2')][_0x1cd3('0x424')]&&_0x2d354a[_0x1cd3('0xd2')][_0x1cd3('0x424')][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x2d354a['agent'][_0x1cd3('0x125b')][_0x1cd3('0x433')]()==='outbounddial'){_0x2d354a[_0x1cd3('0xd2')][_0x1cd3('0x6aa')]=_0x2d354a['agent'][_0x1cd3('0xf09')]?_0x2d354a[_0x1cd3('0xd2')]['phone'][_0x1cd3('0x3ef')]('$')[0x0]:undefined;_0x2d354a['agent']['callerId']=_0x2d354a['agent'][_0x1cd3('0x127f')]?_0x1cd3('0x1280')+_0x2d354a['agent'][_0x1cd3('0x127f')]:undefined;}_0x2d354a[_0x1cd3('0x2042')]=_0x596350;_0x2d354a[_0x1cd3('0x39c')]=_0x28f2ef;_0x25377d['hasRole'](_0x1cd3('0x5f'))?_0x536ca5[_0x1cd3('0x368')]['get']({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0'),'role':'agent'})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x1d035f){_0x2d354a[_0x1cd3('0x1228')]=_0x1d035f[_0x1cd3('0xf6')]||[];})['catch'](function(_0xf43fb1){_0x4038b6['error']({'title':_0xf43fb1[_0x1cd3('0x3a6')]?'API:'+_0xf43fb1[_0x1cd3('0x3a6')]+'\x20-\x20'+_0xf43fb1[_0x1cd3('0xd35')]:_0x1cd3('0x11bf'),'msg':_0xf43fb1['data']?JSON[_0x1cd3('0x438')](_0xf43fb1[_0x1cd3('0x439')]):_0xf43fb1[_0x1cd3('0x43b')]()});}):_0x536ca5[_0x1cd3('0x368')][_0x1cd3('0x361')]({'fields':'id,name','sort':'name','nolimit':_0x1cd3('0x2e0'),'role':_0x1cd3('0xd2')})['$promise']['then'](function(_0x221691){_0x2d354a[_0x1cd3('0x1228')]=_0x221691['rows']||[];})['then'](function(){return _0x536ca5[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x2d354a['currentUser']['userProfileId'],'sectionId':0xca})[_0x1cd3('0x81')];})['then'](function(_0x28e1f0){var _0x303e23=_0x28e1f0&&_0x28e1f0[_0x1cd3('0xf6')]?_0x28e1f0[_0x1cd3('0xf6')][0x0]:null;if(!_0x303e23){var _0x5759f8=[];var _0x30bc5a=null;if(_0x2d354a[_0x1cd3('0xd2')]){_0x30bc5a=_['find'](_0x2d354a[_0x1cd3('0x1228')],{'name':_0x2d354a['agent'][_0x1cd3('0xd2')]});}for(var _0x2bc674=0x0;_0x2bc674<_0x2d354a[_0x1cd3('0x1228')]['length'];_0x2bc674++){if(_0x30bc5a&&_0x2d354a['agents'][_0x2bc674]['id']===_0x30bc5a['id']){_0x2d354a['agents'][_0x2bc674][_0x1cd3('0xf4a')]=![];_0x5759f8[_0x1cd3('0x7b')](_0x2d354a[_0x1cd3('0x1228')][_0x2bc674]);}}_0x2d354a[_0x1cd3('0x1228')]=_0x5759f8;}else{if(!_0x303e23[_0x1cd3('0x391')]){return _0x536ca5[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x303e23['id']})['$promise']['then'](function(_0x78d743){var _0x44cbdb=_[_0x1cd3('0x3d9')](_0x78d743[_0x1cd3('0xf6')],function(_0x274aba){return _[_0x1cd3('0x442')](_0x2d354a[_0x1cd3('0x1228')],{'id':_0x274aba[_0x1cd3('0xe8e')]});});var _0x44ce24=null;if(_0x2d354a[_0x1cd3('0xd2')]){_0x44ce24=_['find'](_0x2d354a[_0x1cd3('0x1228')],{'name':_0x2d354a[_0x1cd3('0xd2')]['agent']});}if(_0x44ce24&&!_['some'](_0x44cbdb,['id',_0x44ce24['id']])){var _0x320ef3=_[_0x1cd3('0x442')](_0x2d354a[_0x1cd3('0x1228')],{'id':_0x44ce24['id']});_0x320ef3[_0x1cd3('0xf4a')]=![];_0x44cbdb[_0x1cd3('0x7b')](_0x320ef3);}_0x2d354a[_0x1cd3('0x1228')]=_0x44cbdb;});}}})[_0x1cd3('0xfd')](function(_0x301f9c){_0x4038b6['error']({'title':_0x301f9c['status']?'API:'+_0x301f9c[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x301f9c['statusText']:'SYSTEM:GETagents','msg':_0x301f9c['data']?JSON[_0x1cd3('0x438')](_0x301f9c[_0x1cd3('0x439')]):_0x301f9c['toString']()});});function _0x596350(){_0x2d354a[_0x1cd3('0xd34')]=[];var _0x43607a=[];if(_0x2d354a['agent'][_0x1cd3('0x424')]&&_0x2d354a[_0x1cd3('0xd2')][_0x1cd3('0x424')][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x2d354a[_0x1cd3('0xd2')]['appType']===_0x1cd3('0x1283')){_0x2d354a[_0x1cd3('0xd2')]['phone']=_0x1927a8[_0x1cd3('0x128a')]?(_0x2d354a['agent']['prefix']||'')+'${EXTEN:'+_0x1927a8[_0x1cd3('0x128a')]+'}':(_0x2d354a[_0x1cd3('0xd2')][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x128d');if(_0x1927a8[_0x1cd3('0x1285')]!==_0x1cd3('0x6ae')){if(_0x2d354a[_0x1cd3('0xd2')]['options'][_0x1cd3('0x45e')](_0x1cd3('0x1286'))<0x0){_0x2d354a[_0x1cd3('0xd2')][_0x1cd3('0x422')]+='U(xcally-mixmonitor-context)';}}else{_0x2d354a['agent'][_0x1cd3('0x422')]=_0x2d354a['agent'][_0x1cd3('0x422')][_0x1cd3('0x3f1')](_0x1cd3('0x1286'),'');}}var _0x5e5a1a=_[_0x1cd3('0x442')](_0x2d354a[_0x1cd3('0x1228')],{'name':_0x2d354a[_0x1cd3('0xd2')]['agent']});if(_0x5e5a1a){_0x2d354a[_0x1cd3('0xd2')][_0x1cd3('0x1226')]=_0x5e5a1a['id'];}if(_0x2d354a[_0x1cd3('0xd2')][_0x1cd3('0x125b')]&&_0x2d354a[_0x1cd3('0xd2')][_0x1cd3('0x125b')]===_0x1cd3('0x8f6')){}else{switch((_0x2d354a[_0x1cd3('0xd2')][_0x1cd3('0xd0a')]||_0x2d354a[_0x1cd3('0xd2')][_0x1cd3('0x125b')])['toLowerCase']()){case _0x1cd3('0x127e'):_0x2d354a[_0x1cd3('0xd2')][_0x1cd3('0x127d')]=_0x2d354a[_0x1cd3('0xd2')]['name']+'='+_0x2d354a[_0x1cd3('0xd2')][_0x1cd3('0x3db')];break;case'custom':break;default:_0x43607a[0x0]=_0x2d354a[_0x1cd3('0xd2')][_0x1cd3('0xd2')];_0x43607a[0x1]=_0x2d354a[_0x1cd3('0xd2')][_0x1cd3('0x8fc')];_0x2d354a[_0x1cd3('0xd2')]['appdata']=_0x43607a[_0x1cd3('0x3de')](',');}}_0x28f2ef(_0x2d354a[_0x1cd3('0xd2')]);}function _0x28f2ef(_0x192868){_0x13ca07[_0x1cd3('0x39d')](_0x192868);}}}());(function(){'use strict';_0x564883[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),'$q',_0x1cd3('0x461'),'smsAccountApp',_0x1cd3('0xac5'),_0x1cd3('0x370'),'Auth',_0x1cd3('0xd27')];angular['module'](_0x1cd3('0x30'))['controller'](_0x1cd3('0x2043'),_0x564883);function _0x564883(_0xd148b7,_0x3b15c1,_0x1facda,_0x237ef9,_0x119ed2,_0x31a977,_0x5b803d,_0x51dec4){var _0x541842=this;_0x541842[_0x1cd3('0x3ca')]=_0x5b803d['getCurrentUser']();_0x541842[_0x1cd3('0xd34')]=[];_0x541842[_0x1cd3('0x486')]='SMS.EDIT_'+(_0x237ef9['appType']||_0x237ef9[_0x1cd3('0xd0a')])[_0x1cd3('0x437')]();_0x541842[_0x1cd3('0x1247')]=angular[_0x1cd3('0x429')](_0x237ef9);_0x541842[_0x1cd3('0xd27')]=_0x51dec4;_0x541842['hasModulePermissions']={};if(_0x541842[_0x1cd3('0x1247')][_0x1cd3('0x127d')]){switch(_0x541842[_0x1cd3('0x1247')][_0x1cd3('0x125b')]?_0x541842[_0x1cd3('0x1247')][_0x1cd3('0x125b')][_0x1cd3('0x433')]():_0x541842['amazonlex']['app']['toLowerCase']()){case _0x1cd3('0x8f6'):break;case _0x1cd3('0x1233'):var _0x3ac9a9=_0x541842[_0x1cd3('0x1247')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x541842[_0x1cd3('0x1247')]['key']=_0x3ac9a9[0x0];_0x541842[_0x1cd3('0x1247')][_0x1cd3('0x3f3')]=_0x3ac9a9[0x1];_0x541842[_0x1cd3('0x1247')][_0x1cd3('0x1246')]=_0x3ac9a9[_0x1cd3('0x9a2')](0x2,_0x3ac9a9[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x1247'):var _0x3ac9a9=_0x541842[_0x1cd3('0x1247')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x541842['amazonlex'][_0x1cd3('0x1248')]=_0x3ac9a9[0x0];_0x541842['amazonlex'][_0x1cd3('0x1249')]=_0x3ac9a9[0x1];_0x541842[_0x1cd3('0x1247')][_0x1cd3('0x124a')]=_0x3ac9a9[0x2];_0x541842[_0x1cd3('0x1247')]['botname']=_0x3ac9a9[0x3];_0x541842[_0x1cd3('0x1247')][_0x1cd3('0x1246')]=_0x3ac9a9[_0x1cd3('0x9a2')](0x4,_0x3ac9a9[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x122b'):var _0x3ac9a9=_0x541842[_0x1cd3('0x1247')]['appdata'][_0x1cd3('0x3ef')](',');_0x541842[_0x1cd3('0x1247')][_0x1cd3('0x122c')]=isNaN(_0x3ac9a9[0x0])?_0x3ac9a9[0x0]:parseInt(_0x3ac9a9[0x0],0xa);_0x541842['amazonlex'][_0x1cd3('0x401')]=_0x3ac9a9[_0x1cd3('0x9a2')](0x1,_0x3ac9a9[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case'message':_0x541842[_0x1cd3('0x1247')]['text']=_0x541842[_0x1cd3('0x1247')][_0x1cd3('0x127d')];break;case _0x1cd3('0x127e'):_0x541842[_0x1cd3('0x1247')][_0x1cd3('0x98')]=_0x541842[_0x1cd3('0x1247')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x0];_0x541842[_0x1cd3('0x1247')]['value']=_0x541842[_0x1cd3('0x1247')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x1];break;case _0x1cd3('0x128c'):_0x541842[_0x1cd3('0x1247')]['project']=_0x541842['amazonlex'][_0x1cd3('0x127d')];break;default:var _0x493192=_0x541842['amazonlex'][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x541842[_0x1cd3('0x1247')][_0x1cd3('0x1248')]=_[_0x1cd3('0x398')](_0x493192[0x0])?_0x493192[0x0]:isNaN(_0x493192[0x0])?_0x493192[0x0]:parseInt(_0x493192[0x0],0xa);_0x541842['amazonlex'][_0x1cd3('0x1249')]=_['isEmpty'](_0x493192[0x1])?_0x493192[0x1]:isNaN(_0x493192[0x1])?_0x493192[0x1]:parseInt(_0x493192[0x1],0xa);_0x541842['amazonlex'][_0x1cd3('0x124a')]=_[_0x1cd3('0x398')](_0x493192[0x2])?_0x493192[0x2]:isNaN(_0x493192[0x2])?_0x493192[0x2]:parseInt(_0x493192[0x2],0xa);_0x541842['amazonlex']['botname']=_[_0x1cd3('0x398')](_0x493192[0x3])?_0x493192[0x3]:isNaN(_0x493192[0x3])?_0x493192[0x3]:parseInt(_0x493192[0x3],0xa);_0x541842[_0x1cd3('0x1247')][_0x1cd3('0x1246')]=_[_0x1cd3('0x398')](_0x493192[0x4])?_0x493192[0x4]:isNaN(_0x493192[0x4])?_0x493192[0x4]:parseInt(_0x493192[0x4],0xa);}}else{_0x541842[_0x1cd3('0x1247')][_0x1cd3('0x124a')]=_0x1cd3('0x1133');}if(_0x541842[_0x1cd3('0x1247')][_0x1cd3('0x424')]&&_0x541842[_0x1cd3('0x1247')]['type'][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x541842['amazonlex'][_0x1cd3('0x125b')][_0x1cd3('0x433')]()===_0x1cd3('0x1289')){_0x541842['amazonlex'][_0x1cd3('0x6aa')]=_0x541842['amazonlex'][_0x1cd3('0xf09')]?_0x541842[_0x1cd3('0x1247')]['phone']['split']('$')[0x0]:undefined;_0x541842[_0x1cd3('0x1247')][_0x1cd3('0x689')]=_0x541842[_0x1cd3('0x1247')][_0x1cd3('0x127f')]?_0x1cd3('0x1280')+_0x541842[_0x1cd3('0x1247')][_0x1cd3('0x127f')]:undefined;}_0x541842[_0x1cd3('0x2042')]=_0x59d073;_0x541842[_0x1cd3('0x39c')]=_0x3800e6;function _0x59d073(){_0x541842['errors']=[];var _0x2ab887=[];if(_0x541842[_0x1cd3('0x1247')][_0x1cd3('0x424')]&&_0x541842[_0x1cd3('0x1247')][_0x1cd3('0x424')][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x541842['amazonlex'][_0x1cd3('0x125b')]===_0x1cd3('0x1283')){_0x541842[_0x1cd3('0x1247')]['phone']=_0x119ed2[_0x1cd3('0x128a')]?(_0x541842['amazonlex'][_0x1cd3('0x6aa')]||'')+'${EXTEN:'+_0x119ed2['cutdigits']+'}':(_0x541842[_0x1cd3('0x1247')][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x128d');if(_0x119ed2[_0x1cd3('0x1285')]!=='none'){if(_0x541842[_0x1cd3('0x1247')]['options'][_0x1cd3('0x45e')]('U(xcally-mixmonitor-context)')<0x0){_0x541842[_0x1cd3('0x1247')][_0x1cd3('0x422')]+=_0x1cd3('0x1286');}}else{_0x541842[_0x1cd3('0x1247')][_0x1cd3('0x422')]=_0x541842[_0x1cd3('0x1247')][_0x1cd3('0x422')][_0x1cd3('0x3f1')](_0x1cd3('0x1286'),'');}}if(_0x541842['amazonlex'][_0x1cd3('0x125b')]&&_0x541842[_0x1cd3('0x1247')][_0x1cd3('0x125b')]===_0x1cd3('0x8f6')){}else{switch((_0x541842[_0x1cd3('0x1247')][_0x1cd3('0xd0a')]||_0x541842[_0x1cd3('0x1247')][_0x1cd3('0x125b')])[_0x1cd3('0x433')]()){case _0x1cd3('0x127e'):_0x541842[_0x1cd3('0x1247')][_0x1cd3('0x127d')]=_0x541842[_0x1cd3('0x1247')][_0x1cd3('0x98')]+'='+_0x541842['amazonlex'][_0x1cd3('0x3db')];break;case _0x1cd3('0x8f6'):break;default:_0x2ab887[0x0]=_0x541842['amazonlex'][_0x1cd3('0x1248')];_0x2ab887[0x1]=_0x541842[_0x1cd3('0x1247')][_0x1cd3('0x1249')];_0x2ab887[0x2]=_0x541842[_0x1cd3('0x1247')]['lexregion'];_0x2ab887[0x3]=_0x541842[_0x1cd3('0x1247')][_0x1cd3('0x124f')];_0x2ab887[0x4]=_0x541842['amazonlex'][_0x1cd3('0x1246')];_0x541842[_0x1cd3('0x1247')]['appdata']=_0x2ab887[_0x1cd3('0x3de')](',');}}_0x3800e6(_0x541842[_0x1cd3('0x1247')]);}function _0x3800e6(_0x40bc35){_0xd148b7[_0x1cd3('0x39d')](_0x40bc35);}}}());(function(){'use strict';_0xf864e9[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),'$q',_0x1cd3('0x461'),'smsAccountApp',_0x1cd3('0xac5'),_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0xd27')];angular['module']('app.sms')[_0x1cd3('0x39b')](_0x1cd3('0x2044'),_0xf864e9);function _0xf864e9(_0xd890b8,_0x460d4f,_0xf4a75e,_0x225ccd,_0x55448a,_0x2b834c,_0x5b50df,_0x198b27){var _0xaccd08=this;_0xaccd08[_0x1cd3('0x3ca')]=_0x5b50df['getCurrentUser']();_0xaccd08['errors']=[];_0xaccd08[_0x1cd3('0x486')]='SMS.EDIT_'+(_0x225ccd[_0x1cd3('0x125b')]||_0x225ccd[_0x1cd3('0xd0a')])[_0x1cd3('0x437')]();_0xaccd08[_0x1cd3('0x122b')]=angular['copy'](_0x225ccd);_0xaccd08[_0x1cd3('0xd27')]=_0x198b27;_0xaccd08[_0x1cd3('0xd28')]={};if(_0xaccd08[_0x1cd3('0x122b')][_0x1cd3('0x127d')]){switch(_0xaccd08[_0x1cd3('0x122b')][_0x1cd3('0x125b')]?_0xaccd08[_0x1cd3('0x122b')][_0x1cd3('0x125b')]['toLowerCase']():_0xaccd08['autoreply'][_0x1cd3('0xd0a')]['toLowerCase']()){case'custom':break;case _0x1cd3('0x1233'):var _0x2a4a44=_0xaccd08['autoreply']['appdata'][_0x1cd3('0x3ef')](',');_0xaccd08['autoreply']['key']=_0x2a4a44[0x0];_0xaccd08['autoreply'][_0x1cd3('0x3f3')]=_0x2a4a44[0x1];_0xaccd08[_0x1cd3('0x122b')][_0x1cd3('0x1246')]=_0x2a4a44['slice'](0x2,_0x2a4a44[_0x1cd3('0x7a')])['join'](',');break;case _0x1cd3('0x1247'):var _0x2a4a44=_0xaccd08[_0x1cd3('0x122b')][_0x1cd3('0x127d')]['split'](',');_0xaccd08[_0x1cd3('0x122b')]['accesskeyid']=_0x2a4a44[0x0];_0xaccd08[_0x1cd3('0x122b')][_0x1cd3('0x1249')]=_0x2a4a44[0x1];_0xaccd08['autoreply'][_0x1cd3('0x124a')]=_0x2a4a44[0x2];_0xaccd08['autoreply'][_0x1cd3('0x124f')]=_0x2a4a44[0x3];_0xaccd08[_0x1cd3('0x122b')]['welcomemessage']=_0x2a4a44[_0x1cd3('0x9a2')](0x4,_0x2a4a44[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x122b'):var _0x2a4a44=_0xaccd08[_0x1cd3('0x122b')]['appdata'][_0x1cd3('0x3ef')](',');_0xaccd08[_0x1cd3('0x122b')]['times']=isNaN(_0x2a4a44[0x0])?_0x2a4a44[0x0]:parseInt(_0x2a4a44[0x0],0xa);_0xaccd08['autoreply'][_0x1cd3('0x401')]=_0x2a4a44[_0x1cd3('0x9a2')](0x1,_0x2a4a44[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case'message':_0xaccd08['autoreply']['text']=_0xaccd08[_0x1cd3('0x122b')][_0x1cd3('0x127d')];break;case'set':_0xaccd08[_0x1cd3('0x122b')][_0x1cd3('0x98')]=_0xaccd08[_0x1cd3('0x122b')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x0];_0xaccd08[_0x1cd3('0x122b')]['value']=_0xaccd08[_0x1cd3('0x122b')][_0x1cd3('0x127d')]['split']('=')[0x1];break;case _0x1cd3('0x128c'):_0xaccd08[_0x1cd3('0x122b')]['project']=_0xaccd08[_0x1cd3('0x122b')][_0x1cd3('0x127d')];break;default:var _0x4f5df4=_0xaccd08[_0x1cd3('0x122b')]['appdata'][_0x1cd3('0x3ef')](',');_0xaccd08[_0x1cd3('0x122b')][_0x1cd3('0x122c')]=_[_0x1cd3('0x398')](_0x4f5df4[0x0])?_0x4f5df4[0x0]:isNaN(_0x4f5df4[0x0])?_0x4f5df4[0x0]:parseInt(_0x4f5df4[0x0],0xa);_0xaccd08[_0x1cd3('0x122b')]['text']=_[_0x1cd3('0x398')](_0x4f5df4[0x1])?_0x4f5df4[0x1]:isNaN(_0x4f5df4[0x1])?_0x4f5df4[0x1]:parseInt(_0x4f5df4[0x1],0xa);}}else{_0xaccd08[_0x1cd3('0x122b')][_0x1cd3('0x122c')]=0x1;}if(_0xaccd08[_0x1cd3('0x122b')][_0x1cd3('0x424')]&&_0xaccd08['autoreply']['type'][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0xaccd08[_0x1cd3('0x122b')][_0x1cd3('0x125b')][_0x1cd3('0x433')]()==='outbounddial'){_0xaccd08['autoreply'][_0x1cd3('0x6aa')]=_0xaccd08[_0x1cd3('0x122b')][_0x1cd3('0xf09')]?_0xaccd08[_0x1cd3('0x122b')][_0x1cd3('0xf09')][_0x1cd3('0x3ef')]('$')[0x0]:undefined;_0xaccd08[_0x1cd3('0x122b')]['callerId']=_0xaccd08[_0x1cd3('0x122b')][_0x1cd3('0x127f')]?_0x1cd3('0x1280')+_0xaccd08[_0x1cd3('0x122b')]['callerID']:undefined;}_0xaccd08[_0x1cd3('0x2042')]=_0xb19fcd;_0xaccd08[_0x1cd3('0x39c')]=_0x23217d;function _0xb19fcd(){_0xaccd08['errors']=[];var _0x5c1d25=[];if(_0xaccd08[_0x1cd3('0x122b')][_0x1cd3('0x424')]&&_0xaccd08['autoreply']['type'][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0xaccd08[_0x1cd3('0x122b')][_0x1cd3('0x125b')]===_0x1cd3('0x1283')){_0xaccd08[_0x1cd3('0x122b')]['phone']=_0x55448a['cutdigits']?(_0xaccd08['autoreply'][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x1284')+_0x55448a['cutdigits']+'}':(_0xaccd08[_0x1cd3('0x122b')][_0x1cd3('0x6aa')]||'')+'${EXTEN}';if(_0x55448a[_0x1cd3('0x1285')]!==_0x1cd3('0x6ae')){if(_0xaccd08[_0x1cd3('0x122b')]['options']['indexOf']('U(xcally-mixmonitor-context)')<0x0){_0xaccd08[_0x1cd3('0x122b')][_0x1cd3('0x422')]+='U(xcally-mixmonitor-context)';}}else{_0xaccd08[_0x1cd3('0x122b')][_0x1cd3('0x422')]=_0xaccd08[_0x1cd3('0x122b')][_0x1cd3('0x422')][_0x1cd3('0x3f1')](_0x1cd3('0x1286'),'');}}if(_0xaccd08[_0x1cd3('0x122b')]['appType']&&_0xaccd08[_0x1cd3('0x122b')][_0x1cd3('0x125b')]===_0x1cd3('0x8f6')){}else{switch((_0xaccd08[_0x1cd3('0x122b')]['app']||_0xaccd08[_0x1cd3('0x122b')][_0x1cd3('0x125b')])['toLowerCase']()){case _0x1cd3('0x127e'):_0xaccd08[_0x1cd3('0x122b')]['appdata']=_0xaccd08[_0x1cd3('0x122b')][_0x1cd3('0x98')]+'='+_0xaccd08[_0x1cd3('0x122b')][_0x1cd3('0x3db')];break;case _0x1cd3('0x8f6'):break;default:_0x5c1d25[0x0]=_0xaccd08[_0x1cd3('0x122b')]['times'];_0x5c1d25[0x1]=_0xaccd08[_0x1cd3('0x122b')][_0x1cd3('0x401')];_0xaccd08[_0x1cd3('0x122b')][_0x1cd3('0x127d')]=_0x5c1d25[_0x1cd3('0x3de')](',');}}_0x23217d(_0xaccd08[_0x1cd3('0x122b')]);}function _0x23217d(_0x1d6919){_0xd890b8[_0x1cd3('0x39d')](_0x1d6919);}}}());(function(){'use strict';_0x1a367d[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),'$q',_0x1cd3('0x461'),_0x1cd3('0x203f'),_0x1cd3('0xac5'),_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')]('app.sms')[_0x1cd3('0x39b')]('EditSmsAccountAppcloseDialogController',_0x1a367d);function _0x1a367d(_0x563923,_0x138a03,_0x3cb3b0,_0x17ff7a,_0x553a54,_0x3b3c02,_0x24bcec,_0x22383b){var _0x3bf910=this;_0x3bf910[_0x1cd3('0x3ca')]=_0x24bcec[_0x1cd3('0x5d')]();_0x3bf910['errors']=[];_0x3bf910['title']='SMS.EDIT_'+(_0x17ff7a[_0x1cd3('0x125b')]||_0x17ff7a[_0x1cd3('0xd0a')])['toUpperCase']();_0x3bf910['close']=angular[_0x1cd3('0x429')](_0x17ff7a);_0x3bf910[_0x1cd3('0xd27')]=_0x22383b;_0x3bf910[_0x1cd3('0xd28')]={};if(_0x3bf910[_0x1cd3('0x3cf')][_0x1cd3('0x127d')]){switch(_0x3bf910[_0x1cd3('0x3cf')][_0x1cd3('0x125b')]?_0x3bf910[_0x1cd3('0x3cf')][_0x1cd3('0x125b')][_0x1cd3('0x433')]():_0x3bf910['close'][_0x1cd3('0xd0a')]['toLowerCase']()){case _0x1cd3('0x8f6'):break;case'dialogflow':var _0x338f41=_0x3bf910[_0x1cd3('0x3cf')]['appdata'][_0x1cd3('0x3ef')](',');_0x3bf910[_0x1cd3('0x3cf')]['key']=_0x338f41[0x0];_0x3bf910[_0x1cd3('0x3cf')][_0x1cd3('0x3f3')]=_0x338f41[0x1];_0x3bf910[_0x1cd3('0x3cf')][_0x1cd3('0x1246')]=_0x338f41['slice'](0x2,_0x338f41[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x1247'):var _0x338f41=_0x3bf910[_0x1cd3('0x3cf')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x3bf910[_0x1cd3('0x3cf')][_0x1cd3('0x1248')]=_0x338f41[0x0];_0x3bf910['close'][_0x1cd3('0x1249')]=_0x338f41[0x1];_0x3bf910[_0x1cd3('0x3cf')][_0x1cd3('0x124a')]=_0x338f41[0x2];_0x3bf910['close'][_0x1cd3('0x124f')]=_0x338f41[0x3];_0x3bf910['close']['welcomemessage']=_0x338f41[_0x1cd3('0x9a2')](0x4,_0x338f41['length'])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x122b'):var _0x338f41=_0x3bf910['close'][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x3bf910['close'][_0x1cd3('0x122c')]=isNaN(_0x338f41[0x0])?_0x338f41[0x0]:parseInt(_0x338f41[0x0],0xa);_0x3bf910[_0x1cd3('0x3cf')]['text']=_0x338f41[_0x1cd3('0x9a2')](0x1,_0x338f41['length'])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x43a'):_0x3bf910[_0x1cd3('0x3cf')][_0x1cd3('0x401')]=_0x3bf910[_0x1cd3('0x3cf')][_0x1cd3('0x127d')];break;case _0x1cd3('0x127e'):_0x3bf910[_0x1cd3('0x3cf')][_0x1cd3('0x98')]=_0x3bf910['close'][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x0];_0x3bf910[_0x1cd3('0x3cf')][_0x1cd3('0x3db')]=_0x3bf910[_0x1cd3('0x3cf')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x1];break;case'agi':_0x3bf910[_0x1cd3('0x3cf')][_0x1cd3('0xedd')]=_0x3bf910[_0x1cd3('0x3cf')]['appdata'];break;default:var _0x3a3b50=_0x3bf910[_0x1cd3('0x3cf')]['appdata']['split'](',');_0x3bf910[_0x1cd3('0x3cf')][_0x1cd3('0xb63')]=_[_0x1cd3('0x398')](_0x3a3b50[0x0])?_0x3a3b50[0x0]:isNaN(_0x3a3b50[0x0])?_0x3a3b50[0x0]:parseInt(_0x3a3b50[0x0],0xa);}}else{}if(_0x3bf910['close'][_0x1cd3('0x424')]&&_0x3bf910[_0x1cd3('0x3cf')][_0x1cd3('0x424')][_0x1cd3('0x433')]()==='outbound'&&_0x3bf910[_0x1cd3('0x3cf')][_0x1cd3('0x125b')][_0x1cd3('0x433')]()==='outbounddial'){_0x3bf910[_0x1cd3('0x3cf')][_0x1cd3('0x6aa')]=_0x3bf910['close'][_0x1cd3('0xf09')]?_0x3bf910[_0x1cd3('0x3cf')]['phone'][_0x1cd3('0x3ef')]('$')[0x0]:undefined;_0x3bf910[_0x1cd3('0x3cf')][_0x1cd3('0x689')]=_0x3bf910[_0x1cd3('0x3cf')][_0x1cd3('0x127f')]?'CALLERID(all)='+_0x3bf910['close'][_0x1cd3('0x127f')]:undefined;}_0x3bf910[_0x1cd3('0x2042')]=_0x22c43b;_0x3bf910[_0x1cd3('0x39c')]=_0x825d7d;function _0x22c43b(){_0x3bf910[_0x1cd3('0xd34')]=[];var _0xce1787=[];if(_0x3bf910[_0x1cd3('0x3cf')][_0x1cd3('0x424')]&&_0x3bf910['close']['type'][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x3bf910[_0x1cd3('0x3cf')][_0x1cd3('0x125b')]===_0x1cd3('0x1283')){_0x3bf910[_0x1cd3('0x3cf')]['phone']=_0x553a54[_0x1cd3('0x128a')]?(_0x3bf910[_0x1cd3('0x3cf')]['prefix']||'')+_0x1cd3('0x1284')+_0x553a54[_0x1cd3('0x128a')]+'}':(_0x3bf910[_0x1cd3('0x3cf')]['prefix']||'')+_0x1cd3('0x128d');if(_0x553a54[_0x1cd3('0x1285')]!==_0x1cd3('0x6ae')){if(_0x3bf910[_0x1cd3('0x3cf')][_0x1cd3('0x422')][_0x1cd3('0x45e')]('U(xcally-mixmonitor-context)')<0x0){_0x3bf910[_0x1cd3('0x3cf')][_0x1cd3('0x422')]+=_0x1cd3('0x1286');}}else{_0x3bf910[_0x1cd3('0x3cf')][_0x1cd3('0x422')]=_0x3bf910['close'][_0x1cd3('0x422')][_0x1cd3('0x3f1')](_0x1cd3('0x1286'),'');}}if(_0x3bf910[_0x1cd3('0x3cf')][_0x1cd3('0x125b')]&&_0x3bf910[_0x1cd3('0x3cf')][_0x1cd3('0x125b')]==='custom'){}else{switch((_0x3bf910[_0x1cd3('0x3cf')][_0x1cd3('0xd0a')]||_0x3bf910[_0x1cd3('0x3cf')][_0x1cd3('0x125b')])[_0x1cd3('0x433')]()){case _0x1cd3('0x127e'):_0x3bf910[_0x1cd3('0x3cf')][_0x1cd3('0x127d')]=_0x3bf910[_0x1cd3('0x3cf')][_0x1cd3('0x98')]+'='+_0x3bf910[_0x1cd3('0x3cf')][_0x1cd3('0x3db')];break;case'custom':break;default:_0xce1787[0x0]=_0x3bf910[_0x1cd3('0x3cf')][_0x1cd3('0xb63')];_0x3bf910[_0x1cd3('0x3cf')][_0x1cd3('0x127d')]=_0xce1787[_0x1cd3('0x3de')](',');}}_0x825d7d(_0x3bf910['close']);}function _0x825d7d(_0x42dd1b){_0x563923[_0x1cd3('0x39d')](_0x42dd1b);}}}());(function(){'use strict';_0x2f1d8a['$inject']=[_0x1cd3('0x3c5'),'$q','toasty',_0x1cd3('0x203f'),'smsAccount','api','Auth',_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x30'))[_0x1cd3('0x39b')](_0x1cd3('0x2045'),_0x2f1d8a);function _0x2f1d8a(_0x545117,_0x40b30b,_0x1adab9,_0x4446aa,_0x12ffb9,_0x57a2d3,_0x567a3a,_0x308534){var _0x4ede0d=this;_0x4ede0d[_0x1cd3('0x3ca')]=_0x567a3a[_0x1cd3('0x5d')]();_0x4ede0d[_0x1cd3('0xd34')]=[];_0x4ede0d[_0x1cd3('0x486')]='SMS.EDIT_'+(_0x4446aa[_0x1cd3('0x125b')]||_0x4446aa[_0x1cd3('0xd0a')])[_0x1cd3('0x437')]();_0x4ede0d['dialogflow']=angular[_0x1cd3('0x429')](_0x4446aa);_0x4ede0d[_0x1cd3('0xd27')]=_0x308534;_0x4ede0d['hasModulePermissions']={};if(_0x4ede0d[_0x1cd3('0x1233')][_0x1cd3('0x127d')]){switch(_0x4ede0d[_0x1cd3('0x1233')]['appType']?_0x4ede0d['dialogflow'][_0x1cd3('0x125b')][_0x1cd3('0x433')]():_0x4ede0d['dialogflow'][_0x1cd3('0xd0a')][_0x1cd3('0x433')]()){case _0x1cd3('0x8f6'):break;case _0x1cd3('0x1233'):var _0x47421a=_0x4ede0d[_0x1cd3('0x1233')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x4ede0d[_0x1cd3('0x1233')][_0x1cd3('0x65c')]=_0x47421a[0x0];_0x4ede0d[_0x1cd3('0x1233')][_0x1cd3('0x3f3')]=_0x47421a[0x1];_0x4ede0d[_0x1cd3('0x1233')][_0x1cd3('0x1246')]=_0x47421a[_0x1cd3('0x9a2')](0x2,_0x47421a['length'])[_0x1cd3('0x3de')](',');break;case'amazonlex':var _0x47421a=_0x4ede0d[_0x1cd3('0x1233')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x4ede0d[_0x1cd3('0x1233')][_0x1cd3('0x1248')]=_0x47421a[0x0];_0x4ede0d['dialogflow']['secretaccesskey']=_0x47421a[0x1];_0x4ede0d['dialogflow'][_0x1cd3('0x124a')]=_0x47421a[0x2];_0x4ede0d[_0x1cd3('0x1233')][_0x1cd3('0x124f')]=_0x47421a[0x3];_0x4ede0d[_0x1cd3('0x1233')][_0x1cd3('0x1246')]=_0x47421a['slice'](0x4,_0x47421a[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x122b'):var _0x47421a=_0x4ede0d[_0x1cd3('0x1233')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x4ede0d[_0x1cd3('0x1233')][_0x1cd3('0x122c')]=isNaN(_0x47421a[0x0])?_0x47421a[0x0]:parseInt(_0x47421a[0x0],0xa);_0x4ede0d[_0x1cd3('0x1233')][_0x1cd3('0x401')]=_0x47421a[_0x1cd3('0x9a2')](0x1,_0x47421a['length'])['join'](',');break;case _0x1cd3('0x43a'):_0x4ede0d['dialogflow'][_0x1cd3('0x401')]=_0x4ede0d[_0x1cd3('0x1233')][_0x1cd3('0x127d')];break;case _0x1cd3('0x127e'):_0x4ede0d['dialogflow'][_0x1cd3('0x98')]=_0x4ede0d[_0x1cd3('0x1233')]['appdata'][_0x1cd3('0x3ef')]('=')[0x0];_0x4ede0d['dialogflow'][_0x1cd3('0x3db')]=_0x4ede0d['dialogflow'][_0x1cd3('0x127d')]['split']('=')[0x1];break;case'agi':_0x4ede0d['dialogflow'][_0x1cd3('0xedd')]=_0x4ede0d[_0x1cd3('0x1233')][_0x1cd3('0x127d')];break;default:var _0x3c98b0=_0x4ede0d[_0x1cd3('0x1233')][_0x1cd3('0x127d')]['split'](',');_0x4ede0d[_0x1cd3('0x1233')][_0x1cd3('0x65c')]=_['isEmpty'](_0x3c98b0[0x0])?_0x3c98b0[0x0]:isNaN(_0x3c98b0[0x0])?_0x3c98b0[0x0]:parseInt(_0x3c98b0[0x0],0xa);_0x4ede0d[_0x1cd3('0x1233')][_0x1cd3('0x3f3')]=_['isEmpty'](_0x3c98b0[0x1])?_0x3c98b0[0x1]:isNaN(_0x3c98b0[0x1])?_0x3c98b0[0x1]:parseInt(_0x3c98b0[0x1],0xa);_0x4ede0d[_0x1cd3('0x1233')]['welcomemessage']=_[_0x1cd3('0x398')](_0x3c98b0[0x2])?_0x3c98b0[0x2]:isNaN(_0x3c98b0[0x2])?_0x3c98b0[0x2]:parseInt(_0x3c98b0[0x2],0xa);}}else{_0x4ede0d['dialogflow'][_0x1cd3('0x3f3')]='en';}if(_0x4ede0d['dialogflow']['type']&&_0x4ede0d[_0x1cd3('0x1233')]['type'][_0x1cd3('0x433')]()==='outbound'&&_0x4ede0d['dialogflow'][_0x1cd3('0x125b')][_0x1cd3('0x433')]()==='outbounddial'){_0x4ede0d['dialogflow']['prefix']=_0x4ede0d[_0x1cd3('0x1233')]['phone']?_0x4ede0d[_0x1cd3('0x1233')]['phone'][_0x1cd3('0x3ef')]('$')[0x0]:undefined;_0x4ede0d[_0x1cd3('0x1233')][_0x1cd3('0x689')]=_0x4ede0d[_0x1cd3('0x1233')]['callerID']?_0x1cd3('0x1280')+_0x4ede0d['dialogflow'][_0x1cd3('0x127f')]:undefined;}_0x4ede0d['saveSmsAccountApp']=_0x21cf63;_0x4ede0d['closeDialog']=_0x198dde;function _0x21cf63(){_0x4ede0d[_0x1cd3('0xd34')]=[];var _0x5f30fc=[];if(_0x4ede0d[_0x1cd3('0x1233')][_0x1cd3('0x424')]&&_0x4ede0d[_0x1cd3('0x1233')][_0x1cd3('0x424')]['toLowerCase']()===_0x1cd3('0x128')&&_0x4ede0d[_0x1cd3('0x1233')][_0x1cd3('0x125b')]===_0x1cd3('0x1283')){_0x4ede0d[_0x1cd3('0x1233')]['phone']=_0x12ffb9[_0x1cd3('0x128a')]?(_0x4ede0d[_0x1cd3('0x1233')][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x1284')+_0x12ffb9['cutdigits']+'}':(_0x4ede0d[_0x1cd3('0x1233')]['prefix']||'')+_0x1cd3('0x128d');if(_0x12ffb9[_0x1cd3('0x1285')]!==_0x1cd3('0x6ae')){if(_0x4ede0d[_0x1cd3('0x1233')][_0x1cd3('0x422')][_0x1cd3('0x45e')]('U(xcally-mixmonitor-context)')<0x0){_0x4ede0d[_0x1cd3('0x1233')][_0x1cd3('0x422')]+=_0x1cd3('0x1286');}}else{_0x4ede0d[_0x1cd3('0x1233')][_0x1cd3('0x422')]=_0x4ede0d[_0x1cd3('0x1233')][_0x1cd3('0x422')][_0x1cd3('0x3f1')](_0x1cd3('0x1286'),'');}}if(_0x4ede0d[_0x1cd3('0x1233')][_0x1cd3('0x125b')]&&_0x4ede0d[_0x1cd3('0x1233')]['appType']===_0x1cd3('0x8f6')){}else{switch((_0x4ede0d[_0x1cd3('0x1233')][_0x1cd3('0xd0a')]||_0x4ede0d[_0x1cd3('0x1233')][_0x1cd3('0x125b')])[_0x1cd3('0x433')]()){case _0x1cd3('0x127e'):_0x4ede0d[_0x1cd3('0x1233')][_0x1cd3('0x127d')]=_0x4ede0d['dialogflow'][_0x1cd3('0x98')]+'='+_0x4ede0d[_0x1cd3('0x1233')][_0x1cd3('0x3db')];break;case _0x1cd3('0x8f6'):break;default:_0x5f30fc[0x0]=_0x4ede0d[_0x1cd3('0x1233')][_0x1cd3('0x65c')];_0x5f30fc[0x1]=_0x4ede0d[_0x1cd3('0x1233')][_0x1cd3('0x3f3')];_0x5f30fc[0x2]=_0x4ede0d[_0x1cd3('0x1233')][_0x1cd3('0x1246')];_0x4ede0d[_0x1cd3('0x1233')][_0x1cd3('0x127d')]=_0x5f30fc['join'](',');}}_0x198dde(_0x4ede0d['dialogflow']);}function _0x198dde(_0x40de84){_0x545117[_0x1cd3('0x39d')](_0x40de84);}}}());(function(){'use strict';_0xcb7eb9[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),'$q',_0x1cd3('0x461'),_0x1cd3('0x203f'),_0x1cd3('0xac5'),_0x1cd3('0x370'),'Auth',_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x30'))[_0x1cd3('0x39b')](_0x1cd3('0x2046'),_0xcb7eb9);function _0xcb7eb9(_0x2afd43,_0x21345f,_0x4ea592,_0x3b77f6,_0x3fa3f,_0x34aebf,_0x5bee94,_0x1e1664){var _0x271b61=this;_0x271b61[_0x1cd3('0x3ca')]=_0x5bee94[_0x1cd3('0x5d')]();_0x271b61[_0x1cd3('0xd34')]=[];_0x271b61[_0x1cd3('0x486')]='SMS.EDIT_'+(_0x3b77f6[_0x1cd3('0x125b')]||_0x3b77f6[_0x1cd3('0xd0a')])[_0x1cd3('0x437')]();_0x271b61[_0x1cd3('0x121c')]=angular[_0x1cd3('0x429')](_0x3b77f6);_0x271b61[_0x1cd3('0xd27')]=_0x1e1664;_0x271b61[_0x1cd3('0xd28')]={};if(_0x271b61[_0x1cd3('0x121c')][_0x1cd3('0x127d')]){switch(_0x271b61['gotoif']['appType']?_0x271b61[_0x1cd3('0x121c')][_0x1cd3('0x125b')][_0x1cd3('0x433')]():_0x271b61[_0x1cd3('0x121c')][_0x1cd3('0xd0a')][_0x1cd3('0x433')]()){case _0x1cd3('0x8f6'):break;case _0x1cd3('0x1233'):var _0xdb84a0=_0x271b61[_0x1cd3('0x121c')]['appdata'][_0x1cd3('0x3ef')](',');_0x271b61['gotoif']['key']=_0xdb84a0[0x0];_0x271b61['gotoif'][_0x1cd3('0x3f3')]=_0xdb84a0[0x1];_0x271b61[_0x1cd3('0x121c')]['welcomemessage']=_0xdb84a0[_0x1cd3('0x9a2')](0x2,_0xdb84a0[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x1247'):var _0xdb84a0=_0x271b61[_0x1cd3('0x121c')]['appdata'][_0x1cd3('0x3ef')](',');_0x271b61['gotoif']['accesskeyid']=_0xdb84a0[0x0];_0x271b61['gotoif'][_0x1cd3('0x1249')]=_0xdb84a0[0x1];_0x271b61[_0x1cd3('0x121c')][_0x1cd3('0x124a')]=_0xdb84a0[0x2];_0x271b61[_0x1cd3('0x121c')]['botname']=_0xdb84a0[0x3];_0x271b61[_0x1cd3('0x121c')][_0x1cd3('0x1246')]=_0xdb84a0['slice'](0x4,_0xdb84a0[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x122b'):var _0xdb84a0=_0x271b61['gotoif']['appdata']['split'](',');_0x271b61['gotoif'][_0x1cd3('0x122c')]=isNaN(_0xdb84a0[0x0])?_0xdb84a0[0x0]:parseInt(_0xdb84a0[0x0],0xa);_0x271b61['gotoif'][_0x1cd3('0x401')]=_0xdb84a0['slice'](0x1,_0xdb84a0['length'])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x43a'):_0x271b61[_0x1cd3('0x121c')]['text']=_0x271b61[_0x1cd3('0x121c')]['appdata'];break;case _0x1cd3('0x127e'):_0x271b61[_0x1cd3('0x121c')][_0x1cd3('0x98')]=_0x271b61[_0x1cd3('0x121c')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x0];_0x271b61[_0x1cd3('0x121c')][_0x1cd3('0x3db')]=_0x271b61[_0x1cd3('0x121c')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x1];break;case _0x1cd3('0x128c'):_0x271b61[_0x1cd3('0x121c')]['project']=_0x271b61[_0x1cd3('0x121c')]['appdata'];break;default:var _0x28cb1f=_0x271b61[_0x1cd3('0x121c')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x271b61[_0x1cd3('0x121c')][_0x1cd3('0xb65')]=_['isEmpty'](_0x28cb1f[0x0])?_0x28cb1f[0x0]:isNaN(_0x28cb1f[0x0])?_0x28cb1f[0x0]:parseInt(_0x28cb1f[0x0],0xa);_0x271b61[_0x1cd3('0x121c')][_0x1cd3('0x121e')]=_[_0x1cd3('0x398')](_0x28cb1f[0x1])?_0x28cb1f[0x1]:isNaN(_0x28cb1f[0x1])?_0x28cb1f[0x1]:parseInt(_0x28cb1f[0x1],0xa);_0x271b61[_0x1cd3('0x121c')][_0x1cd3('0x121f')]=_['isEmpty'](_0x28cb1f[0x2])?_0x28cb1f[0x2]:isNaN(_0x28cb1f[0x2])?_0x28cb1f[0x2]:parseInt(_0x28cb1f[0x2],0xa);}}else{}if(_0x271b61[_0x1cd3('0x121c')][_0x1cd3('0x424')]&&_0x271b61[_0x1cd3('0x121c')][_0x1cd3('0x424')][_0x1cd3('0x433')]()==='outbound'&&_0x271b61[_0x1cd3('0x121c')][_0x1cd3('0x125b')]['toLowerCase']()===_0x1cd3('0x1289')){_0x271b61[_0x1cd3('0x121c')]['prefix']=_0x271b61['gotoif']['phone']?_0x271b61[_0x1cd3('0x121c')]['phone'][_0x1cd3('0x3ef')]('$')[0x0]:undefined;_0x271b61[_0x1cd3('0x121c')]['callerId']=_0x271b61[_0x1cd3('0x121c')][_0x1cd3('0x127f')]?'CALLERID(all)='+_0x271b61[_0x1cd3('0x121c')]['callerID']:undefined;}_0x271b61[_0x1cd3('0x2042')]=_0x1d2141;_0x271b61[_0x1cd3('0x39c')]=_0x34cd7d;function _0x1d2141(){_0x271b61[_0x1cd3('0xd34')]=[];var _0x468719=[];if(_0x271b61[_0x1cd3('0x121c')][_0x1cd3('0x424')]&&_0x271b61[_0x1cd3('0x121c')][_0x1cd3('0x424')][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x271b61[_0x1cd3('0x121c')][_0x1cd3('0x125b')]===_0x1cd3('0x1283')){_0x271b61['gotoif'][_0x1cd3('0xf09')]=_0x3fa3f[_0x1cd3('0x128a')]?(_0x271b61['gotoif']['prefix']||'')+_0x1cd3('0x1284')+_0x3fa3f[_0x1cd3('0x128a')]+'}':(_0x271b61[_0x1cd3('0x121c')][_0x1cd3('0x6aa')]||'')+'${EXTEN}';if(_0x3fa3f[_0x1cd3('0x1285')]!=='none'){if(_0x271b61[_0x1cd3('0x121c')][_0x1cd3('0x422')][_0x1cd3('0x45e')](_0x1cd3('0x1286'))<0x0){_0x271b61[_0x1cd3('0x121c')][_0x1cd3('0x422')]+=_0x1cd3('0x1286');}}else{_0x271b61[_0x1cd3('0x121c')][_0x1cd3('0x422')]=_0x271b61['gotoif'][_0x1cd3('0x422')]['replace'](_0x1cd3('0x1286'),'');}}if(_0x271b61[_0x1cd3('0x121c')][_0x1cd3('0x125b')]&&_0x271b61[_0x1cd3('0x121c')][_0x1cd3('0x125b')]===_0x1cd3('0x8f6')){}else{switch((_0x271b61[_0x1cd3('0x121c')]['app']||_0x271b61[_0x1cd3('0x121c')]['appType'])[_0x1cd3('0x433')]()){case'set':_0x271b61['gotoif']['appdata']=_0x271b61[_0x1cd3('0x121c')]['name']+'='+_0x271b61['gotoif'][_0x1cd3('0x3db')];break;case'custom':break;default:_0x468719[0x0]=_0x271b61['gotoif'][_0x1cd3('0xb65')];_0x468719[0x1]=_0x271b61['gotoif']['truepriority'];_0x468719[0x2]=_0x271b61[_0x1cd3('0x121c')][_0x1cd3('0x121f')];_0x271b61[_0x1cd3('0x121c')][_0x1cd3('0x127d')]=_0x468719['join'](',');}}_0x34cd7d(_0x271b61[_0x1cd3('0x121c')]);}function _0x34cd7d(_0x3f77e5){_0x2afd43[_0x1cd3('0x39d')](_0x3f77e5);}}}());(function(){'use strict';_0xb8ca50['$inject']=[_0x1cd3('0x3c5'),'$q','toasty','smsAccountApp',_0x1cd3('0xac5'),_0x1cd3('0x370'),'Auth',_0x1cd3('0xd27')];angular['module'](_0x1cd3('0x30'))[_0x1cd3('0x39b')](_0x1cd3('0x2047'),_0xb8ca50);function _0xb8ca50(_0x10057,_0x30fb5f,_0x34f07c,_0x2c2f61,_0x1f9330,_0x1d67ee,_0x5a1341,_0x1abcfd){var _0x28acb1=this;_0x28acb1[_0x1cd3('0x3ca')]=_0x5a1341[_0x1cd3('0x5d')]();_0x28acb1[_0x1cd3('0xd34')]=[];_0x28acb1[_0x1cd3('0x486')]=_0x1cd3('0x2041')+(_0x2c2f61['appType']||_0x2c2f61[_0x1cd3('0xd0a')])[_0x1cd3('0x437')]();_0x28acb1[_0x1cd3('0x121a')]=angular['copy'](_0x2c2f61);_0x28acb1['crudPermissions']=_0x1abcfd;_0x28acb1[_0x1cd3('0xd28')]={};if(_0x28acb1['gotop'][_0x1cd3('0x127d')]){switch(_0x28acb1[_0x1cd3('0x121a')]['appType']?_0x28acb1['gotop'][_0x1cd3('0x125b')][_0x1cd3('0x433')]():_0x28acb1[_0x1cd3('0x121a')][_0x1cd3('0xd0a')][_0x1cd3('0x433')]()){case _0x1cd3('0x8f6'):break;case'dialogflow':var _0x2a7baf=_0x28acb1[_0x1cd3('0x121a')][_0x1cd3('0x127d')]['split'](',');_0x28acb1[_0x1cd3('0x121a')][_0x1cd3('0x65c')]=_0x2a7baf[0x0];_0x28acb1[_0x1cd3('0x121a')][_0x1cd3('0x3f3')]=_0x2a7baf[0x1];_0x28acb1[_0x1cd3('0x121a')][_0x1cd3('0x1246')]=_0x2a7baf[_0x1cd3('0x9a2')](0x2,_0x2a7baf['length'])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x1247'):var _0x2a7baf=_0x28acb1[_0x1cd3('0x121a')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x28acb1[_0x1cd3('0x121a')][_0x1cd3('0x1248')]=_0x2a7baf[0x0];_0x28acb1[_0x1cd3('0x121a')][_0x1cd3('0x1249')]=_0x2a7baf[0x1];_0x28acb1[_0x1cd3('0x121a')][_0x1cd3('0x124a')]=_0x2a7baf[0x2];_0x28acb1['gotop'][_0x1cd3('0x124f')]=_0x2a7baf[0x3];_0x28acb1['gotop'][_0x1cd3('0x1246')]=_0x2a7baf[_0x1cd3('0x9a2')](0x4,_0x2a7baf[_0x1cd3('0x7a')])['join'](',');break;case _0x1cd3('0x122b'):var _0x2a7baf=_0x28acb1[_0x1cd3('0x121a')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x28acb1[_0x1cd3('0x121a')][_0x1cd3('0x122c')]=isNaN(_0x2a7baf[0x0])?_0x2a7baf[0x0]:parseInt(_0x2a7baf[0x0],0xa);_0x28acb1[_0x1cd3('0x121a')][_0x1cd3('0x401')]=_0x2a7baf[_0x1cd3('0x9a2')](0x1,_0x2a7baf[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case'message':_0x28acb1['gotop'][_0x1cd3('0x401')]=_0x28acb1['gotop'][_0x1cd3('0x127d')];break;case _0x1cd3('0x127e'):_0x28acb1[_0x1cd3('0x121a')]['name']=_0x28acb1[_0x1cd3('0x121a')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x0];_0x28acb1[_0x1cd3('0x121a')][_0x1cd3('0x3db')]=_0x28acb1[_0x1cd3('0x121a')][_0x1cd3('0x127d')]['split']('=')[0x1];break;case'agi':_0x28acb1[_0x1cd3('0x121a')]['project']=_0x28acb1['gotop'][_0x1cd3('0x127d')];break;default:var _0x5bc59d=_0x28acb1['gotop'][_0x1cd3('0x127d')]['split'](',');_0x28acb1[_0x1cd3('0x121a')][_0x1cd3('0xf0c')]=_['isEmpty'](_0x5bc59d[0x0])?_0x5bc59d[0x0]:isNaN(_0x5bc59d[0x0])?_0x5bc59d[0x0]:parseInt(_0x5bc59d[0x0],0xa);}}else{}if(_0x28acb1['gotop']['type']&&_0x28acb1[_0x1cd3('0x121a')][_0x1cd3('0x424')][_0x1cd3('0x433')]()==='outbound'&&_0x28acb1['gotop'][_0x1cd3('0x125b')]['toLowerCase']()===_0x1cd3('0x1289')){_0x28acb1[_0x1cd3('0x121a')][_0x1cd3('0x6aa')]=_0x28acb1[_0x1cd3('0x121a')]['phone']?_0x28acb1[_0x1cd3('0x121a')][_0x1cd3('0xf09')][_0x1cd3('0x3ef')]('$')[0x0]:undefined;_0x28acb1[_0x1cd3('0x121a')][_0x1cd3('0x689')]=_0x28acb1[_0x1cd3('0x121a')][_0x1cd3('0x127f')]?_0x1cd3('0x1280')+_0x28acb1['gotop'][_0x1cd3('0x127f')]:undefined;}_0x28acb1[_0x1cd3('0x2042')]=_0x5804c8;_0x28acb1[_0x1cd3('0x39c')]=_0x3d6841;function _0x5804c8(){_0x28acb1[_0x1cd3('0xd34')]=[];var _0x4e1a5a=[];if(_0x28acb1[_0x1cd3('0x121a')]['type']&&_0x28acb1[_0x1cd3('0x121a')][_0x1cd3('0x424')][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x28acb1['gotop'][_0x1cd3('0x125b')]===_0x1cd3('0x1283')){_0x28acb1['gotop']['phone']=_0x1f9330['cutdigits']?(_0x28acb1[_0x1cd3('0x121a')]['prefix']||'')+_0x1cd3('0x1284')+_0x1f9330[_0x1cd3('0x128a')]+'}':(_0x28acb1[_0x1cd3('0x121a')][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x128d');if(_0x1f9330[_0x1cd3('0x1285')]!==_0x1cd3('0x6ae')){if(_0x28acb1[_0x1cd3('0x121a')][_0x1cd3('0x422')]['indexOf']('U(xcally-mixmonitor-context)')<0x0){_0x28acb1[_0x1cd3('0x121a')][_0x1cd3('0x422')]+=_0x1cd3('0x1286');}}else{_0x28acb1[_0x1cd3('0x121a')]['options']=_0x28acb1[_0x1cd3('0x121a')][_0x1cd3('0x422')][_0x1cd3('0x3f1')](_0x1cd3('0x1286'),'');}}if(_0x28acb1[_0x1cd3('0x121a')][_0x1cd3('0x125b')]&&_0x28acb1[_0x1cd3('0x121a')][_0x1cd3('0x125b')]===_0x1cd3('0x8f6')){}else{switch((_0x28acb1[_0x1cd3('0x121a')]['app']||_0x28acb1[_0x1cd3('0x121a')][_0x1cd3('0x125b')])[_0x1cd3('0x433')]()){case _0x1cd3('0x127e'):_0x28acb1['gotop']['appdata']=_0x28acb1[_0x1cd3('0x121a')][_0x1cd3('0x98')]+'='+_0x28acb1[_0x1cd3('0x121a')][_0x1cd3('0x3db')];break;case _0x1cd3('0x8f6'):break;default:_0x4e1a5a[0x0]=_0x28acb1['gotop'][_0x1cd3('0xf0c')];_0x28acb1[_0x1cd3('0x121a')][_0x1cd3('0x127d')]=_0x4e1a5a[_0x1cd3('0x3de')](',');}}_0x3d6841(_0x28acb1[_0x1cd3('0x121a')]);}function _0x3d6841(_0x15135a){_0x10057[_0x1cd3('0x39d')](_0x15135a);}}}());(function(){'use strict';_0x49d0fc[_0x1cd3('0xc')]=['$state',_0x1cd3('0x3c5'),_0x1cd3('0x586'),_0x1cd3('0xcd4'),_0x1cd3('0x77e'),_0x1cd3('0xef9'),_0x1cd3('0x461'),_0x1cd3('0x370'),'Auth',_0x1cd3('0xd27')];angular['module'](_0x1cd3('0x2d'))[_0x1cd3('0x39b')](_0x1cd3('0x203a'),_0x49d0fc);function _0x49d0fc(_0x1a794b,_0x3ef73b,_0x4139d5,_0x3c1029,_0x31ee00,_0x142937,_0x43359d,_0x3e36a9,_0x5b30e7,_0x36fd9e){var _0x2bcb8a=this;_0x2bcb8a[_0x1cd3('0x3ca')]=_0x5b30e7['getCurrentUser']();_0x2bcb8a[_0x1cd3('0xd34')]=[];_0x2bcb8a[_0x1cd3('0x486')]='TOOLS.EDIT_INTERVAL';_0x2bcb8a[_0x1cd3('0x77e')]=angular['copy'](_0x31ee00);_0x2bcb8a[_0x1cd3('0xef9')]=_0x142937;_0x2bcb8a[_0x1cd3('0x1293')]=![];_0x2bcb8a['types']=[_0x1cd3('0x1213'),_0x1cd3('0x8f6'),_0x1cd3('0x9d5')];_0x2bcb8a['crudPermissions']=_0x36fd9e;_0x2bcb8a[_0x1cd3('0x1295')]=_0x3c1029['getDaysOfWeek']();_0x2bcb8a[_0x1cd3('0x1909')]=_0x3c1029['getMonthNumber']();_0x2bcb8a[_0x1cd3('0x190a')]=_0x3c1029[_0x1cd3('0x1297')]();_0x2bcb8a[_0x1cd3('0x1298')]=_0x3c1029[_0x1cd3('0x1c6f')]();if(!_0x2bcb8a['interval']){_0x2bcb8a[_0x1cd3('0x77e')]={'interval':_0x1cd3('0x1216')};_0x2bcb8a[_0x1cd3('0x424')]=_0x1cd3('0x1213');_0x2bcb8a['title']=_0x1cd3('0x1c70');_0x2bcb8a['newInterval']=!![];}else{if(_0x2bcb8a[_0x1cd3('0x77e')][_0x1cd3('0x77e')]!=='*,*,*,*'){_0x2bcb8a[_0x1cd3('0x424')]=_0x1cd3('0x8f6');var _0x592b08=_0x2bcb8a[_0x1cd3('0x77e')][_0x1cd3('0x77e')][_0x1cd3('0x3ef')](',');var _0x3aacbf=_0x592b08[0x0];var _0x468c1d=_0x592b08[0x1];var _0x1d4c30=_0x592b08[0x2];var _0x5ec8ef=_0x592b08[0x3];if(_0x3aacbf!=='*'){var _0x247643=_0x3aacbf[_0x1cd3('0x3ef')]('-')[0x0];var _0x22c818=_0x3aacbf['split']('-')[0x1];var _0x542ddc;_0x542ddc=new Date();_0x542ddc['setHours'](Number(_0x247643[_0x1cd3('0x3ef')](':')[0x0]));_0x542ddc[_0x1cd3('0x1299')](Number(_0x247643[_0x1cd3('0x3ef')](':')[0x1]));_0x2bcb8a[_0x1cd3('0x12a5')]=_0x542ddc;_0x542ddc=new Date();_0x542ddc[_0x1cd3('0x129a')](Number(_0x22c818['split'](':')[0x0]));_0x542ddc[_0x1cd3('0x1299')](Number(_0x22c818[_0x1cd3('0x3ef')](':')[0x1]));_0x2bcb8a[_0x1cd3('0x129b')]=_0x542ddc;}if(_0x468c1d!=='*'){_0x2bcb8a[_0x1cd3('0x129c')]=_0x468c1d[_0x1cd3('0x3ef')]('-')[0x0];_0x2bcb8a['dayOfWeekTo']=_0x468c1d['split']('-')[0x1];}if(_0x1d4c30!=='*'){_0x2bcb8a[_0x1cd3('0x129d')]=_0x1d4c30[_0x1cd3('0x3ef')]('-')[0x0];_0x2bcb8a['monthDayTo']=_0x1d4c30[_0x1cd3('0x3ef')]('-')[0x1];}if(_0x5ec8ef!=='*'){_0x2bcb8a[_0x1cd3('0x129f')]=_0x5ec8ef[_0x1cd3('0x3ef')]('-')[0x0];_0x2bcb8a[_0x1cd3('0x12a0')]=_0x5ec8ef['split']('-')[0x1];}}else{_0x2bcb8a[_0x1cd3('0x424')]=_0x1cd3('0x1213');}}if(_0x1a794b[_0x1cd3('0x36a')]['id']&&!_0x2bcb8a[_0x1cd3('0x77e')][_0x1cd3('0x12a1')]){_0x2bcb8a[_0x1cd3('0x77e')][_0x1cd3('0xf4b')]=_0x1a794b[_0x1cd3('0x36a')]['id'];}if(_0x2bcb8a[_0x1cd3('0x77e')][_0x1cd3('0xf4b')]&&_0x2bcb8a['interval']['application']){_0x2bcb8a[_0x1cd3('0x424')]=_0x1cd3('0x9d5');}_0x2bcb8a[_0x1cd3('0x12a2')]=_0x2a35f6;_0x2bcb8a[_0x1cd3('0x190b')]=_0x3843b8;_0x2bcb8a[_0x1cd3('0x39c')]=_0x434abb;if(_0x2bcb8a['interval'][_0x1cd3('0x12a1')]){_0x5b30e7[_0x1cd3('0x57')]('admin')?_0x3e36a9[_0x1cd3('0x77e')]['get']({'fields':_0x1cd3('0x12a3'),'IntervalId':_0x1cd3('0x220'),'nolimit':!![]})['$promise'][_0x1cd3('0x77')](function(_0x50f602){_0x2bcb8a[_0x1cd3('0xef9')]=_0x50f602[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x53ead4){_0x43359d[_0x1cd3('0x434')]({'title':_0x53ead4[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x53ead4[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x53ead4[_0x1cd3('0xd35')]:_0x1cd3('0x12a4'),'msg':_0x53ead4[_0x1cd3('0x439')]?JSON['stringify'](_0x53ead4['data']):_0x53ead4[_0x1cd3('0x43b')]()});}):_0x3e36a9[_0x1cd3('0x77e')]['get']({'fields':'id,name,interval,IntervalId','IntervalId':_0x1cd3('0x220'),'nolimit':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x7596b9){_0x2bcb8a[_0x1cd3('0xef9')]=_0x7596b9['rows']||[];})[_0x1cd3('0x77')](function(){return _0x3e36a9[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x2bcb8a[_0x1cd3('0x3ca')]['userProfileId'],'sectionId':0x3ec})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x1491ec){var _0x16b5d2=_0x1491ec&&_0x1491ec[_0x1cd3('0xf6')]?_0x1491ec[_0x1cd3('0xf6')][0x0]:null;if(!_0x16b5d2){_0x2bcb8a[_0x1cd3('0xef9')]=[];}else{if(!_0x16b5d2[_0x1cd3('0x391')]){return _0x3e36a9[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x16b5d2['id']})[_0x1cd3('0x81')]['then'](function(_0x4cbbae){var _0x126432=_0x4cbbae&&_0x4cbbae[_0x1cd3('0xf6')]?_0x4cbbae[_0x1cd3('0xf6')]:[];var _0xe5f4aa=[];var _0x44cdb8=null;if(_0x2bcb8a[_0x1cd3('0x77e')]){_0x44cdb8=_['find'](_0x2bcb8a['intervals'],{'name':_0x2bcb8a[_0x1cd3('0x77e')][_0x1cd3('0xf4b')]});}if(_0x44cdb8&&!_[_0x1cd3('0x38d')](_0x126432,[_0x1cd3('0xe8e'),_0x44cdb8['id']])){_0x2bcb8a[_0x1cd3('0xef9')]['forEach'](function(_0x1babd2){if(_0x1babd2['id']===_0x44cdb8['id']){_0x1babd2[_0x1cd3('0xf4a')]=![];_0xe5f4aa[_0x1cd3('0x7b')](_0x1babd2);}});}_0x2bcb8a[_0x1cd3('0xef9')]=_0xe5f4aa;});}}})[_0x1cd3('0xfd')](function(_0x337f44){_0x43359d[_0x1cd3('0x434')]({'title':_0x337f44['status']?'API:'+_0x337f44[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x337f44['statusText']:_0x1cd3('0x12a4'),'msg':_0x337f44[_0x1cd3('0x439')]?JSON['stringify'](_0x337f44[_0x1cd3('0x439')]):_0x337f44[_0x1cd3('0x43b')]()});});}function _0x2be07c(){switch(_0x2bcb8a[_0x1cd3('0x424')]){case _0x1cd3('0x1213'):case _0x1cd3('0x9d5'):return'*,*,*,*';case'custom':var _0x4f5f40=[];if(_0x2bcb8a[_0x1cd3('0x12a5')]!=='*'&&_0x2bcb8a['timeRangeFrom']&&_0x2bcb8a['timeRangeTo']){var _0x518233=(_0x2bcb8a[_0x1cd3('0x12a5')][_0x1cd3('0x12a6')]()<0xa?'0':'')+_0x2bcb8a[_0x1cd3('0x12a5')][_0x1cd3('0x12a6')]()+':'+((_0x2bcb8a[_0x1cd3('0x12a5')][_0x1cd3('0x12a7')]()<0xa?'0':'')+_0x2bcb8a[_0x1cd3('0x12a5')][_0x1cd3('0x12a7')]());var _0x145f28=(_0x2bcb8a[_0x1cd3('0x129b')][_0x1cd3('0x12a6')]()<0xa?'0':'')+_0x2bcb8a[_0x1cd3('0x129b')][_0x1cd3('0x12a6')]()+':'+((_0x2bcb8a['timeRangeTo'][_0x1cd3('0x12a7')]()<0xa?'0':'')+_0x2bcb8a[_0x1cd3('0x129b')]['getMinutes']());_0x4f5f40[_0x1cd3('0x7b')](_0x518233+'-'+_0x145f28);}else{_0x4f5f40[_0x1cd3('0x7b')]('*');}if(_0x2bcb8a['dayOfWeekFrom']){if(_0x2bcb8a[_0x1cd3('0x12a8')]){_0x4f5f40[_0x1cd3('0x7b')](_0x2bcb8a[_0x1cd3('0x129c')]+'-'+_0x2bcb8a['dayOfWeekTo']);}else{_0x4f5f40[_0x1cd3('0x7b')](_0x2bcb8a[_0x1cd3('0x129c')]);}}else{_0x4f5f40[_0x1cd3('0x7b')]('*');}if(_0x2bcb8a[_0x1cd3('0x129d')]){if(_0x2bcb8a[_0x1cd3('0x129e')]){_0x4f5f40[_0x1cd3('0x7b')](_0x2bcb8a[_0x1cd3('0x129d')]+'-'+_0x2bcb8a[_0x1cd3('0x129e')]);}else{_0x4f5f40['push'](_0x2bcb8a[_0x1cd3('0x129d')]);}}else{_0x4f5f40[_0x1cd3('0x7b')]('*');}if(_0x2bcb8a['monthFrom']){if(_0x2bcb8a[_0x1cd3('0x12a0')]){_0x4f5f40[_0x1cd3('0x7b')](_0x2bcb8a[_0x1cd3('0x129f')]+'-'+_0x2bcb8a[_0x1cd3('0x12a0')]);}else{_0x4f5f40['push'](_0x2bcb8a[_0x1cd3('0x129f')]);}}else{_0x4f5f40[_0x1cd3('0x7b')]('*');}return _0x4f5f40[_0x1cd3('0x3de')]();}}function _0x2a35f6(){_0x2bcb8a[_0x1cd3('0xd34')]=[];_0x2bcb8a[_0x1cd3('0x77e')][_0x1cd3('0x77e')]=_0x2be07c();_0x3e36a9[_0x1cd3('0x77e')][_0x1cd3('0xd6d')](_0x2bcb8a[_0x1cd3('0x77e')])['$promise']['then'](function(_0x50ceb2){_0x2bcb8a[_0x1cd3('0xef9')][_0x1cd3('0x7b')](_0x50ceb2);_0x43359d[_0x1cd3('0x473')]({'title':_0x1cd3('0x12a9'),'msg':_0x2bcb8a[_0x1cd3('0x77e')][_0x1cd3('0x98')]?_0x2bcb8a[_0x1cd3('0x77e')]['name']+'\x20has\x20been\x20created!':''});_0x434abb();})['catch'](function(_0x3fba28){console[_0x1cd3('0x434')](_0x3fba28);_0x2bcb8a[_0x1cd3('0xd34')]=_0x3fba28[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x3fba28[_0x1cd3('0x43b')](),'type':_0x1cd3('0x12aa')}];});}function _0x3843b8(){_0x2bcb8a['errors']=[];_0x2bcb8a['interval']['interval']=_0x2be07c();if(_0x2bcb8a['interval']['application']){_0x2bcb8a[_0x1cd3('0x424')]!==_0x1cd3('0x9d5')&&(_0x2bcb8a[_0x1cd3('0x77e')]['IntervalId']=null);_0x434abb(_0x2bcb8a[_0x1cd3('0x77e')]);}else{_0x3e36a9[_0x1cd3('0x77e')][_0x1cd3('0x378')]({'id':_0x2bcb8a[_0x1cd3('0x77e')]['id']},_0x2bcb8a['interval'])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x403de8){var _0x3cd89b=_[_0x1cd3('0x442')](_0x2bcb8a['intervals'],{'id':_0x403de8['id']});if(_0x3cd89b){_[_0x1cd3('0xf2')](_0x3cd89b,_0x403de8);}_0x43359d[_0x1cd3('0x473')]({'title':_0x1cd3('0x12ab'),'msg':'Interval\x20has\x20been\x20saved!'});_0x434abb();})[_0x1cd3('0xfd')](function(_0x81c0bb){console['error'](_0x81c0bb);_0x2bcb8a['errors']=_0x81c0bb[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x81c0bb['toString'](),'type':_0x1cd3('0x12ad')}];});}}function _0x434abb(_0x18161d){_0x3ef73b[_0x1cd3('0x39d')](_0x18161d);}}}());(function(){'use strict';_0x1cdc11[_0x1cd3('0xc')]=['$mdDialog','$q','toasty',_0x1cd3('0x203f'),'smsAccount',_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x30'))['controller'](_0x1cd3('0x2048'),_0x1cdc11);function _0x1cdc11(_0x222064,_0x5c9e94,_0x429674,_0x3781f1,_0x32cbc3,_0x10cf0f,_0x1f2157,_0x5439e4){var _0x401d38=this;_0x401d38[_0x1cd3('0x3ca')]=_0x1f2157['getCurrentUser']();_0x401d38[_0x1cd3('0xd34')]=[];_0x401d38['title']=_0x1cd3('0x2041')+(_0x3781f1[_0x1cd3('0x125b')]||_0x3781f1[_0x1cd3('0xd0a')])[_0x1cd3('0x437')]();_0x401d38['noop']=angular[_0x1cd3('0x429')](_0x3781f1);_0x401d38[_0x1cd3('0xd27')]=_0x5439e4;_0x401d38[_0x1cd3('0xd28')]={};if(_0x401d38[_0x1cd3('0x3a9')][_0x1cd3('0x127d')]){switch(_0x401d38[_0x1cd3('0x3a9')]['appType']?_0x401d38[_0x1cd3('0x3a9')][_0x1cd3('0x125b')][_0x1cd3('0x433')]():_0x401d38[_0x1cd3('0x3a9')]['app'][_0x1cd3('0x433')]()){case _0x1cd3('0x8f6'):break;case _0x1cd3('0x1233'):var _0x1906b5=_0x401d38['noop'][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x401d38[_0x1cd3('0x3a9')]['key']=_0x1906b5[0x0];_0x401d38['noop']['language']=_0x1906b5[0x1];_0x401d38[_0x1cd3('0x3a9')][_0x1cd3('0x1246')]=_0x1906b5[_0x1cd3('0x9a2')](0x2,_0x1906b5[_0x1cd3('0x7a')])['join'](',');break;case _0x1cd3('0x1247'):var _0x1906b5=_0x401d38[_0x1cd3('0x3a9')]['appdata'][_0x1cd3('0x3ef')](',');_0x401d38[_0x1cd3('0x3a9')][_0x1cd3('0x1248')]=_0x1906b5[0x0];_0x401d38['noop'][_0x1cd3('0x1249')]=_0x1906b5[0x1];_0x401d38[_0x1cd3('0x3a9')][_0x1cd3('0x124a')]=_0x1906b5[0x2];_0x401d38[_0x1cd3('0x3a9')][_0x1cd3('0x124f')]=_0x1906b5[0x3];_0x401d38['noop'][_0x1cd3('0x1246')]=_0x1906b5[_0x1cd3('0x9a2')](0x4,_0x1906b5[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x122b'):var _0x1906b5=_0x401d38['noop']['appdata'][_0x1cd3('0x3ef')](',');_0x401d38[_0x1cd3('0x3a9')]['times']=isNaN(_0x1906b5[0x0])?_0x1906b5[0x0]:parseInt(_0x1906b5[0x0],0xa);_0x401d38[_0x1cd3('0x3a9')][_0x1cd3('0x401')]=_0x1906b5[_0x1cd3('0x9a2')](0x1,_0x1906b5['length'])['join'](',');break;case _0x1cd3('0x43a'):_0x401d38[_0x1cd3('0x3a9')][_0x1cd3('0x401')]=_0x401d38[_0x1cd3('0x3a9')][_0x1cd3('0x127d')];break;case _0x1cd3('0x127e'):_0x401d38[_0x1cd3('0x3a9')]['name']=_0x401d38[_0x1cd3('0x3a9')][_0x1cd3('0x127d')]['split']('=')[0x0];_0x401d38[_0x1cd3('0x3a9')][_0x1cd3('0x3db')]=_0x401d38[_0x1cd3('0x3a9')][_0x1cd3('0x127d')]['split']('=')[0x1];break;case'agi':_0x401d38[_0x1cd3('0x3a9')][_0x1cd3('0xedd')]=_0x401d38['noop']['appdata'];break;default:var _0x1bb1e9=_0x401d38[_0x1cd3('0x3a9')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x401d38[_0x1cd3('0x3a9')][_0x1cd3('0x3db')]=_['isEmpty'](_0x1bb1e9[0x0])?_0x1bb1e9[0x0]:isNaN(_0x1bb1e9[0x0])?_0x1bb1e9[0x0]:parseInt(_0x1bb1e9[0x0],0xa);}}else{}if(_0x401d38[_0x1cd3('0x3a9')][_0x1cd3('0x424')]&&_0x401d38[_0x1cd3('0x3a9')][_0x1cd3('0x424')][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x401d38[_0x1cd3('0x3a9')][_0x1cd3('0x125b')]['toLowerCase']()===_0x1cd3('0x1289')){_0x401d38['noop'][_0x1cd3('0x6aa')]=_0x401d38['noop'][_0x1cd3('0xf09')]?_0x401d38[_0x1cd3('0x3a9')]['phone'][_0x1cd3('0x3ef')]('$')[0x0]:undefined;_0x401d38[_0x1cd3('0x3a9')][_0x1cd3('0x689')]=_0x401d38[_0x1cd3('0x3a9')]['callerID']?'CALLERID(all)='+_0x401d38[_0x1cd3('0x3a9')][_0x1cd3('0x127f')]:undefined;}_0x401d38[_0x1cd3('0x2042')]=_0x3be432;_0x401d38[_0x1cd3('0x39c')]=_0x561d2f;function _0x3be432(){_0x401d38['errors']=[];var _0x5161c9=[];if(_0x401d38['noop'][_0x1cd3('0x424')]&&_0x401d38[_0x1cd3('0x3a9')][_0x1cd3('0x424')][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x401d38['noop'][_0x1cd3('0x125b')]==='outboundDial'){_0x401d38[_0x1cd3('0x3a9')][_0x1cd3('0xf09')]=_0x32cbc3[_0x1cd3('0x128a')]?(_0x401d38[_0x1cd3('0x3a9')][_0x1cd3('0x6aa')]||'')+'${EXTEN:'+_0x32cbc3[_0x1cd3('0x128a')]+'}':(_0x401d38[_0x1cd3('0x3a9')][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x128d');if(_0x32cbc3['recordingFormat']!==_0x1cd3('0x6ae')){if(_0x401d38['noop']['options']['indexOf'](_0x1cd3('0x1286'))<0x0){_0x401d38[_0x1cd3('0x3a9')][_0x1cd3('0x422')]+=_0x1cd3('0x1286');}}else{_0x401d38[_0x1cd3('0x3a9')][_0x1cd3('0x422')]=_0x401d38[_0x1cd3('0x3a9')]['options'][_0x1cd3('0x3f1')]('U(xcally-mixmonitor-context)','');}}if(_0x401d38[_0x1cd3('0x3a9')][_0x1cd3('0x125b')]&&_0x401d38[_0x1cd3('0x3a9')][_0x1cd3('0x125b')]===_0x1cd3('0x8f6')){}else{switch((_0x401d38['noop'][_0x1cd3('0xd0a')]||_0x401d38[_0x1cd3('0x3a9')]['appType'])[_0x1cd3('0x433')]()){case _0x1cd3('0x127e'):_0x401d38[_0x1cd3('0x3a9')]['appdata']=_0x401d38[_0x1cd3('0x3a9')][_0x1cd3('0x98')]+'='+_0x401d38[_0x1cd3('0x3a9')][_0x1cd3('0x3db')];break;case _0x1cd3('0x8f6'):break;default:_0x5161c9[0x0]=_0x401d38['noop'][_0x1cd3('0x3db')];_0x401d38[_0x1cd3('0x3a9')][_0x1cd3('0x127d')]=_0x5161c9['join'](',');}}_0x561d2f(_0x401d38[_0x1cd3('0x3a9')]);}function _0x561d2f(_0x3e5b8d){_0x222064[_0x1cd3('0x39d')](_0x3e5b8d);}}}());(function(){'use strict';_0x402413[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),'$q',_0x1cd3('0x461'),_0x1cd3('0x203f'),_0x1cd3('0xac5'),_0x1cd3('0x370'),'Auth',_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x30'))[_0x1cd3('0x39b')](_0x1cd3('0x2049'),_0x402413);function _0x402413(_0x530900,_0x4d9f8f,_0x150bbf,_0x13f7eb,_0x1ae282,_0x491feb,_0xdb9eec,_0x2edd39){var _0x47f2d4=this;_0x47f2d4['currentUser']=_0xdb9eec[_0x1cd3('0x5d')]();_0x47f2d4[_0x1cd3('0xd34')]=[];_0x47f2d4[_0x1cd3('0x486')]=_0x1cd3('0x2041')+(_0x13f7eb['appType']||_0x13f7eb[_0x1cd3('0xd0a')])[_0x1cd3('0x437')]();_0x47f2d4[_0x1cd3('0x1220')]=angular[_0x1cd3('0x429')](_0x13f7eb);_0x47f2d4[_0x1cd3('0xd27')]=_0x2edd39;_0x47f2d4[_0x1cd3('0xd28')]={};if(_0x47f2d4['queue'][_0x1cd3('0x127d')]){switch(_0x47f2d4['queue'][_0x1cd3('0x125b')]?_0x47f2d4[_0x1cd3('0x1220')][_0x1cd3('0x125b')]['toLowerCase']():_0x47f2d4[_0x1cd3('0x1220')][_0x1cd3('0xd0a')][_0x1cd3('0x433')]()){case _0x1cd3('0x8f6'):break;case'dialogflow':var _0x26ed45=_0x47f2d4[_0x1cd3('0x1220')]['appdata']['split'](',');_0x47f2d4[_0x1cd3('0x1220')][_0x1cd3('0x65c')]=_0x26ed45[0x0];_0x47f2d4[_0x1cd3('0x1220')][_0x1cd3('0x3f3')]=_0x26ed45[0x1];_0x47f2d4[_0x1cd3('0x1220')][_0x1cd3('0x1246')]=_0x26ed45[_0x1cd3('0x9a2')](0x2,_0x26ed45[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x1247'):var _0x26ed45=_0x47f2d4['queue'][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x47f2d4[_0x1cd3('0x1220')]['accesskeyid']=_0x26ed45[0x0];_0x47f2d4[_0x1cd3('0x1220')][_0x1cd3('0x1249')]=_0x26ed45[0x1];_0x47f2d4[_0x1cd3('0x1220')]['lexregion']=_0x26ed45[0x2];_0x47f2d4['queue'][_0x1cd3('0x124f')]=_0x26ed45[0x3];_0x47f2d4[_0x1cd3('0x1220')][_0x1cd3('0x1246')]=_0x26ed45[_0x1cd3('0x9a2')](0x4,_0x26ed45[_0x1cd3('0x7a')])['join'](',');break;case _0x1cd3('0x122b'):var _0x26ed45=_0x47f2d4['queue'][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x47f2d4['queue'][_0x1cd3('0x122c')]=isNaN(_0x26ed45[0x0])?_0x26ed45[0x0]:parseInt(_0x26ed45[0x0],0xa);_0x47f2d4[_0x1cd3('0x1220')][_0x1cd3('0x401')]=_0x26ed45[_0x1cd3('0x9a2')](0x1,_0x26ed45[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x43a'):_0x47f2d4[_0x1cd3('0x1220')][_0x1cd3('0x401')]=_0x47f2d4['queue']['appdata'];break;case _0x1cd3('0x127e'):_0x47f2d4[_0x1cd3('0x1220')][_0x1cd3('0x98')]=_0x47f2d4['queue'][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x0];_0x47f2d4[_0x1cd3('0x1220')]['value']=_0x47f2d4[_0x1cd3('0x1220')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x1];break;case _0x1cd3('0x128c'):_0x47f2d4['queue'][_0x1cd3('0xedd')]=_0x47f2d4[_0x1cd3('0x1220')]['appdata'];break;default:var _0x2fd18e=_0x47f2d4[_0x1cd3('0x1220')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x47f2d4[_0x1cd3('0x1220')][_0x1cd3('0x1220')]=_[_0x1cd3('0x398')](_0x2fd18e[0x0])?_0x2fd18e[0x0]:isNaN(_0x2fd18e[0x0])?_0x2fd18e[0x0]:parseInt(_0x2fd18e[0x0],0xa);_0x47f2d4['queue'][_0x1cd3('0x8fc')]=_['isEmpty'](_0x2fd18e[0x1])?_0x2fd18e[0x1]:isNaN(_0x2fd18e[0x1])?_0x2fd18e[0x1]:parseInt(_0x2fd18e[0x1],0xa);}}else{_0x47f2d4[_0x1cd3('0x1220')][_0x1cd3('0x1220')]=0x12c;_0x47f2d4[_0x1cd3('0x1220')][_0x1cd3('0x8fc')]=0x12c;}if(_0x47f2d4[_0x1cd3('0x1220')][_0x1cd3('0x424')]&&_0x47f2d4[_0x1cd3('0x1220')]['type'][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x47f2d4['queue'][_0x1cd3('0x125b')]['toLowerCase']()==='outbounddial'){_0x47f2d4['queue'][_0x1cd3('0x6aa')]=_0x47f2d4[_0x1cd3('0x1220')][_0x1cd3('0xf09')]?_0x47f2d4[_0x1cd3('0x1220')][_0x1cd3('0xf09')][_0x1cd3('0x3ef')]('$')[0x0]:undefined;_0x47f2d4[_0x1cd3('0x1220')][_0x1cd3('0x689')]=_0x47f2d4[_0x1cd3('0x1220')][_0x1cd3('0x127f')]?'CALLERID(all)='+_0x47f2d4[_0x1cd3('0x1220')][_0x1cd3('0x127f')]:undefined;}_0x47f2d4[_0x1cd3('0x2042')]=_0x7cf636;_0x47f2d4[_0x1cd3('0x39c')]=_0xcba8a4;_0xdb9eec['hasRole'](_0x1cd3('0x5f'))?_0x491feb[_0x1cd3('0xade')][_0x1cd3('0x361')]({'fields':_0x1cd3('0x1222'),'sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x275a6f){_0x47f2d4[_0x1cd3('0x1155')]=_0x275a6f[_0x1cd3('0xf6')]||[];})['catch'](function(_0xef603d){_0x150bbf[_0x1cd3('0x434')]({'title':_0xef603d[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0xef603d[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0xef603d[_0x1cd3('0xd35')]:'SYSTEM:GET_QUEUES','msg':_0xef603d['data']?JSON[_0x1cd3('0x438')](_0xef603d[_0x1cd3('0x439')]):_0xef603d[_0x1cd3('0x43b')]()});}):_0x491feb[_0x1cd3('0xade')][_0x1cd3('0x361')]({'fields':'id,name,type','sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')]['then'](function(_0x4c3baa){_0x47f2d4['queues']=_0x4c3baa['rows']||[];})[_0x1cd3('0x77')](function(){return _0x491feb[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x47f2d4['currentUser'][_0x1cd3('0x5e')],'sectionId':0x2bd})['$promise'];})[_0x1cd3('0x77')](function(_0x24ddf9){var _0x36c200=_0x24ddf9&&_0x24ddf9[_0x1cd3('0xf6')]?_0x24ddf9[_0x1cd3('0xf6')][0x0]:null;if(!_0x36c200){var _0x28972d=[];var _0x3650a4=null;if(_0x47f2d4[_0x1cd3('0x1220')]){_0x3650a4=_['find'](_0x47f2d4[_0x1cd3('0x1155')],{'name':_0x47f2d4[_0x1cd3('0x1220')][_0x1cd3('0x1220')]});}for(var _0x46b41b=0x0;_0x46b41b<_0x47f2d4[_0x1cd3('0x1155')][_0x1cd3('0x7a')];_0x46b41b++){if(_0x3650a4&&_0x47f2d4[_0x1cd3('0x1155')][_0x46b41b]['id']===_0x3650a4['id']){_0x47f2d4['queues'][_0x46b41b]['canSelect']=![];_0x28972d['push'](_0x47f2d4[_0x1cd3('0x1155')][_0x46b41b]);}}_0x47f2d4[_0x1cd3('0x1155')]=_0x28972d;}else{if(!_0x36c200[_0x1cd3('0x391')]){return _0x491feb[_0x1cd3('0x392')]['get']({'sectionId':_0x36c200['id']})['$promise'][_0x1cd3('0x77')](function(_0x17fc6c){var _0x1b6cd7=_[_0x1cd3('0x3d9')](_0x17fc6c['rows'],function(_0x3de7e6){return _['find'](_0x47f2d4['queues'],{'id':_0x3de7e6['resourceId']});});var _0x23c8bd=null;if(_0x47f2d4[_0x1cd3('0x1220')]){_0x23c8bd=_[_0x1cd3('0x442')](_0x47f2d4[_0x1cd3('0x1155')],{'name':_0x47f2d4[_0x1cd3('0x1220')][_0x1cd3('0x1220')]});}if(_0x23c8bd&&!_['some'](_0x1b6cd7,['id',_0x23c8bd['id']])){var _0x34d946=_[_0x1cd3('0x442')](_0x47f2d4[_0x1cd3('0x1155')],{'id':_0x23c8bd['id']});_0x34d946[_0x1cd3('0xf4a')]=![];_0x1b6cd7[_0x1cd3('0x7b')](_0x34d946);}_0x47f2d4[_0x1cd3('0x1155')]=_0x1b6cd7;});}}})['catch'](function(_0xa4c14f){_0x150bbf['error']({'title':_0xa4c14f[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0xa4c14f[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0xa4c14f[_0x1cd3('0xd35')]:_0x1cd3('0x12b0'),'msg':_0xa4c14f[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0xa4c14f['data']):_0xa4c14f['toString']()});});function _0x7cf636(){_0x47f2d4[_0x1cd3('0xd34')]=[];var _0x23828c=[];if(_0x47f2d4[_0x1cd3('0x1220')][_0x1cd3('0x424')]&&_0x47f2d4[_0x1cd3('0x1220')][_0x1cd3('0x424')][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x47f2d4[_0x1cd3('0x1220')]['appType']===_0x1cd3('0x1283')){_0x47f2d4[_0x1cd3('0x1220')][_0x1cd3('0xf09')]=_0x1ae282[_0x1cd3('0x128a')]?(_0x47f2d4['queue']['prefix']||'')+'${EXTEN:'+_0x1ae282[_0x1cd3('0x128a')]+'}':(_0x47f2d4['queue'][_0x1cd3('0x6aa')]||'')+'${EXTEN}';if(_0x1ae282['recordingFormat']!==_0x1cd3('0x6ae')){if(_0x47f2d4[_0x1cd3('0x1220')][_0x1cd3('0x422')][_0x1cd3('0x45e')](_0x1cd3('0x1286'))<0x0){_0x47f2d4['queue']['options']+=_0x1cd3('0x1286');}}else{_0x47f2d4['queue']['options']=_0x47f2d4['queue'][_0x1cd3('0x422')][_0x1cd3('0x3f1')](_0x1cd3('0x1286'),'');}}var _0x586e70=_[_0x1cd3('0x442')](_0x47f2d4[_0x1cd3('0x1155')],{'name':_0x47f2d4[_0x1cd3('0x1220')][_0x1cd3('0x1220')]});if(_0x586e70){_0x47f2d4[_0x1cd3('0x1220')][_[_0x1cd3('0x12b1')]('sms')+_0x1cd3('0x190e')]=_0x586e70['id'];}if(_0x47f2d4[_0x1cd3('0x1220')][_0x1cd3('0x125b')]&&_0x47f2d4['queue'][_0x1cd3('0x125b')]===_0x1cd3('0x8f6')){}else{switch((_0x47f2d4[_0x1cd3('0x1220')][_0x1cd3('0xd0a')]||_0x47f2d4['queue'][_0x1cd3('0x125b')])[_0x1cd3('0x433')]()){case _0x1cd3('0x127e'):_0x47f2d4[_0x1cd3('0x1220')]['appdata']=_0x47f2d4[_0x1cd3('0x1220')][_0x1cd3('0x98')]+'='+_0x47f2d4['queue'][_0x1cd3('0x3db')];break;case _0x1cd3('0x8f6'):break;default:_0x23828c[0x0]=_0x47f2d4[_0x1cd3('0x1220')][_0x1cd3('0x1220')];_0x23828c[0x1]=_0x47f2d4[_0x1cd3('0x1220')][_0x1cd3('0x8fc')];_0x47f2d4[_0x1cd3('0x1220')]['appdata']=_0x23828c[_0x1cd3('0x3de')](',');}}_0xcba8a4(_0x47f2d4[_0x1cd3('0x1220')]);}function _0xcba8a4(_0x22ccd8){_0x530900[_0x1cd3('0x39d')](_0x22ccd8);}}}());(function(){'use strict';_0x20423e[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),'$q',_0x1cd3('0x461'),_0x1cd3('0x203f'),_0x1cd3('0xac5'),_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0xd27')];angular['module'](_0x1cd3('0x30'))[_0x1cd3('0x39b')](_0x1cd3('0x204a'),_0x20423e);function _0x20423e(_0x4b84ab,_0x5f0147,_0xdeb61,_0x3f5cd7,_0x49e7ae,_0x332ab2,_0x380c3e,_0x6000be){var _0x7cdb6e=this;_0x7cdb6e[_0x1cd3('0x3ca')]=_0x380c3e[_0x1cd3('0x5d')]();_0x7cdb6e['errors']=[];_0x7cdb6e[_0x1cd3('0x486')]=_0x1cd3('0x2041')+(_0x3f5cd7[_0x1cd3('0x125b')]||_0x3f5cd7['app'])['toUpperCase']();_0x7cdb6e[_0x1cd3('0xa13')]=angular['copy'](_0x3f5cd7);_0x7cdb6e[_0x1cd3('0xd27')]=_0x6000be;_0x7cdb6e[_0x1cd3('0xd28')]={};if(_0x7cdb6e[_0x1cd3('0xa13')]['appdata']){switch(_0x7cdb6e[_0x1cd3('0xa13')][_0x1cd3('0x125b')]?_0x7cdb6e[_0x1cd3('0xa13')]['appType'][_0x1cd3('0x433')]():_0x7cdb6e[_0x1cd3('0xa13')][_0x1cd3('0xd0a')][_0x1cd3('0x433')]()){case _0x1cd3('0x8f6'):break;case'dialogflow':var _0x4a8e71=_0x7cdb6e['system'][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x7cdb6e[_0x1cd3('0xa13')]['key']=_0x4a8e71[0x0];_0x7cdb6e['system'][_0x1cd3('0x3f3')]=_0x4a8e71[0x1];_0x7cdb6e['system'][_0x1cd3('0x1246')]=_0x4a8e71['slice'](0x2,_0x4a8e71[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x1247'):var _0x4a8e71=_0x7cdb6e[_0x1cd3('0xa13')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x7cdb6e[_0x1cd3('0xa13')]['accesskeyid']=_0x4a8e71[0x0];_0x7cdb6e[_0x1cd3('0xa13')][_0x1cd3('0x1249')]=_0x4a8e71[0x1];_0x7cdb6e['system'][_0x1cd3('0x124a')]=_0x4a8e71[0x2];_0x7cdb6e[_0x1cd3('0xa13')][_0x1cd3('0x124f')]=_0x4a8e71[0x3];_0x7cdb6e[_0x1cd3('0xa13')][_0x1cd3('0x1246')]=_0x4a8e71[_0x1cd3('0x9a2')](0x4,_0x4a8e71['length'])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x122b'):var _0x4a8e71=_0x7cdb6e[_0x1cd3('0xa13')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x7cdb6e[_0x1cd3('0xa13')][_0x1cd3('0x122c')]=isNaN(_0x4a8e71[0x0])?_0x4a8e71[0x0]:parseInt(_0x4a8e71[0x0],0xa);_0x7cdb6e['system'][_0x1cd3('0x401')]=_0x4a8e71['slice'](0x1,_0x4a8e71[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x43a'):_0x7cdb6e[_0x1cd3('0xa13')][_0x1cd3('0x401')]=_0x7cdb6e[_0x1cd3('0xa13')][_0x1cd3('0x127d')];break;case _0x1cd3('0x127e'):_0x7cdb6e[_0x1cd3('0xa13')][_0x1cd3('0x98')]=_0x7cdb6e['system']['appdata'][_0x1cd3('0x3ef')]('=')[0x0];_0x7cdb6e[_0x1cd3('0xa13')]['value']=_0x7cdb6e[_0x1cd3('0xa13')][_0x1cd3('0x127d')]['split']('=')[0x1];break;case _0x1cd3('0x128c'):_0x7cdb6e['system'][_0x1cd3('0xedd')]=_0x7cdb6e[_0x1cd3('0xa13')][_0x1cd3('0x127d')];break;default:var _0x2fddb7=_0x7cdb6e[_0x1cd3('0xa13')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x7cdb6e['system'][_0x1cd3('0xf0d')]=_[_0x1cd3('0x398')](_0x2fddb7[0x0])?_0x2fddb7[0x0]:isNaN(_0x2fddb7[0x0])?_0x2fddb7[0x0]:parseInt(_0x2fddb7[0x0],0xa);_0x7cdb6e[_0x1cd3('0xa13')][_0x1cd3('0xb84')]=_[_0x1cd3('0x398')](_0x2fddb7[0x1])?_0x2fddb7[0x1]:isNaN(_0x2fddb7[0x1])?_0x2fddb7[0x1]:parseInt(_0x2fddb7[0x1],0xa);}}else{_0x7cdb6e[_0x1cd3('0xa13')][_0x1cd3('0xb84')]='';}if(_0x7cdb6e[_0x1cd3('0xa13')][_0x1cd3('0x424')]&&_0x7cdb6e[_0x1cd3('0xa13')][_0x1cd3('0x424')][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x7cdb6e[_0x1cd3('0xa13')]['appType'][_0x1cd3('0x433')]()===_0x1cd3('0x1289')){_0x7cdb6e[_0x1cd3('0xa13')]['prefix']=_0x7cdb6e[_0x1cd3('0xa13')][_0x1cd3('0xf09')]?_0x7cdb6e[_0x1cd3('0xa13')][_0x1cd3('0xf09')][_0x1cd3('0x3ef')]('$')[0x0]:undefined;_0x7cdb6e[_0x1cd3('0xa13')]['callerId']=_0x7cdb6e[_0x1cd3('0xa13')]['callerID']?_0x1cd3('0x1280')+_0x7cdb6e[_0x1cd3('0xa13')][_0x1cd3('0x127f')]:undefined;}_0x7cdb6e[_0x1cd3('0x2042')]=_0x468b63;_0x7cdb6e['closeDialog']=_0x3923f9;_0x380c3e[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x332ab2[_0x1cd3('0xb84')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':'name','nolimit':'true'})[_0x1cd3('0x81')]['then'](function(_0x38138a){_0x7cdb6e[_0x1cd3('0xef7')]=_0x38138a[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x38a3ad){_0xdeb61[_0x1cd3('0x434')]({'title':_0x38a3ad[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x38a3ad[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x38a3ad['statusText']:'SYSTEM:GET_VARIABLES','msg':_0x38a3ad[_0x1cd3('0x439')]?JSON['stringify'](_0x38a3ad['data']):_0x38a3ad[_0x1cd3('0x43b')]()});}):_0x332ab2[_0x1cd3('0xb84')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'nolimit':'true'})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x20c53a){_0x7cdb6e[_0x1cd3('0xef7')]=_0x20c53a[_0x1cd3('0xf6')]||[];})['then'](function(){return _0x332ab2[_0x1cd3('0x390')]['get']({'userProfileId':_0x7cdb6e[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x3f4})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x57a327){var _0x245486=_0x57a327&&_0x57a327[_0x1cd3('0xf6')]?_0x57a327[_0x1cd3('0xf6')][0x0]:null;if(!_0x245486){var _0x51e74f=[];var _0x490570=null;if(_0x7cdb6e['system']){_0x490570=_[_0x1cd3('0x442')](_0x7cdb6e[_0x1cd3('0xef7')],{'name':_0x7cdb6e[_0x1cd3('0xa13')][_0x1cd3('0xb84')]});}for(var _0x1bd6b6=0x0;_0x1bd6b6<_0x7cdb6e[_0x1cd3('0xef7')]['length'];_0x1bd6b6++){if(_0x490570&&_0x7cdb6e[_0x1cd3('0xef7')][_0x1bd6b6]['id']===_0x490570['id']){_0x7cdb6e[_0x1cd3('0xef7')][_0x1bd6b6][_0x1cd3('0xf4a')]=![];_0x51e74f['push'](_0x7cdb6e[_0x1cd3('0xef7')][_0x1bd6b6]);}}_0x7cdb6e[_0x1cd3('0xef7')]=_0x51e74f;}else{if(!_0x245486['autoAssociation']){return _0x332ab2[_0x1cd3('0x392')]['get']({'sectionId':_0x245486['id']})[_0x1cd3('0x81')]['then'](function(_0xd4da2d){var _0x11b4a7=_['map'](_0xd4da2d[_0x1cd3('0xf6')],function(_0xfb676d){return _[_0x1cd3('0x442')](_0x7cdb6e[_0x1cd3('0xef7')],{'id':_0xfb676d[_0x1cd3('0xe8e')]});});var _0x2bcd8f=null;if(_0x7cdb6e['system']){_0x2bcd8f=_[_0x1cd3('0x442')](_0x7cdb6e[_0x1cd3('0xef7')],{'name':_0x7cdb6e[_0x1cd3('0xa13')][_0x1cd3('0xb84')]});}if(_0x2bcd8f&&!_[_0x1cd3('0x38d')](_0x11b4a7,['id',_0x2bcd8f['id']])){var _0x4109dc=_[_0x1cd3('0x442')](_0x7cdb6e[_0x1cd3('0xef7')],{'id':_0x2bcd8f['id']});_0x4109dc[_0x1cd3('0xf4a')]=![];_0x11b4a7[_0x1cd3('0x7b')](_0x4109dc);}_0x7cdb6e['variables']=_0x11b4a7;});}}})['catch'](function(_0x307826){_0xdeb61['error']({'title':_0x307826[_0x1cd3('0x3a6')]?'API:'+_0x307826['status']+'\x20-\x20'+_0x307826[_0x1cd3('0xd35')]:_0x1cd3('0x1c74'),'msg':_0x307826['data']?JSON['stringify'](_0x307826[_0x1cd3('0x439')]):_0x307826[_0x1cd3('0x43b')]()});});function _0x468b63(){_0x7cdb6e['errors']=[];var _0x4f2fd2=[];if(_0x7cdb6e[_0x1cd3('0xa13')][_0x1cd3('0x424')]&&_0x7cdb6e[_0x1cd3('0xa13')][_0x1cd3('0x424')][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x7cdb6e['system']['appType']===_0x1cd3('0x1283')){_0x7cdb6e[_0x1cd3('0xa13')]['phone']=_0x49e7ae[_0x1cd3('0x128a')]?(_0x7cdb6e['system']['prefix']||'')+'${EXTEN:'+_0x49e7ae[_0x1cd3('0x128a')]+'}':(_0x7cdb6e[_0x1cd3('0xa13')][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x128d');if(_0x49e7ae[_0x1cd3('0x1285')]!==_0x1cd3('0x6ae')){if(_0x7cdb6e[_0x1cd3('0xa13')][_0x1cd3('0x422')][_0x1cd3('0x45e')](_0x1cd3('0x1286'))<0x0){_0x7cdb6e[_0x1cd3('0xa13')]['options']+=_0x1cd3('0x1286');}}else{_0x7cdb6e[_0x1cd3('0xa13')][_0x1cd3('0x422')]=_0x7cdb6e['system']['options'][_0x1cd3('0x3f1')](_0x1cd3('0x1286'),'');}}if(_0x7cdb6e[_0x1cd3('0xa13')][_0x1cd3('0x125b')]&&_0x7cdb6e['system'][_0x1cd3('0x125b')]==='custom'){}else{switch((_0x7cdb6e[_0x1cd3('0xa13')][_0x1cd3('0xd0a')]||_0x7cdb6e['system']['appType'])[_0x1cd3('0x433')]()){case _0x1cd3('0x127e'):_0x7cdb6e[_0x1cd3('0xa13')][_0x1cd3('0x127d')]=_0x7cdb6e['system'][_0x1cd3('0x98')]+'='+_0x7cdb6e[_0x1cd3('0xa13')]['value'];break;case _0x1cd3('0x8f6'):break;default:_0x4f2fd2[0x0]=_0x7cdb6e['system'][_0x1cd3('0xf0d')];_0x4f2fd2[0x1]=_0x7cdb6e['system'][_0x1cd3('0xb84')];_0x7cdb6e[_0x1cd3('0xa13')]['appdata']=_0x4f2fd2['join'](',');}}_0x3923f9(_0x7cdb6e['system']);}function _0x3923f9(_0x257287){_0x4b84ab[_0x1cd3('0x39d')](_0x257287);}}}());(function(){'use strict';_0xd67428['$inject']=[_0x1cd3('0x3c5'),'$q',_0x1cd3('0x461'),'smsAccountApp',_0x1cd3('0xac5'),_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')]('app.sms')[_0x1cd3('0x39b')](_0x1cd3('0x204b'),_0xd67428);function _0xd67428(_0x5aad54,_0x260e16,_0x3a7efd,_0x156d3e,_0x19cb9e,_0x2ecb22,_0x55a006,_0x4e7a37){var _0x4ab1ba=this;_0x4ab1ba[_0x1cd3('0x3ca')]=_0x55a006[_0x1cd3('0x5d')]();_0x4ab1ba[_0x1cd3('0xd34')]=[];_0x4ab1ba[_0x1cd3('0x486')]=_0x1cd3('0x2041')+(_0x156d3e['appType']||_0x156d3e[_0x1cd3('0xd0a')])[_0x1cd3('0x437')]();_0x4ab1ba[_0x1cd3('0xb76')]=angular[_0x1cd3('0x429')](_0x156d3e);_0x4ab1ba['crudPermissions']=_0x4e7a37;_0x4ab1ba[_0x1cd3('0xd28')]={};if(_0x4ab1ba[_0x1cd3('0xb76')][_0x1cd3('0x127d')]){switch(_0x4ab1ba[_0x1cd3('0xb76')][_0x1cd3('0x125b')]?_0x4ab1ba[_0x1cd3('0xb76')]['appType'][_0x1cd3('0x433')]():_0x4ab1ba[_0x1cd3('0xb76')][_0x1cd3('0xd0a')][_0x1cd3('0x433')]()){case _0x1cd3('0x8f6'):break;case _0x1cd3('0x1233'):var _0x1abf10=_0x4ab1ba[_0x1cd3('0xb76')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x4ab1ba[_0x1cd3('0xb76')][_0x1cd3('0x65c')]=_0x1abf10[0x0];_0x4ab1ba['tag'][_0x1cd3('0x3f3')]=_0x1abf10[0x1];_0x4ab1ba['tag'][_0x1cd3('0x1246')]=_0x1abf10['slice'](0x2,_0x1abf10[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x1247'):var _0x1abf10=_0x4ab1ba[_0x1cd3('0xb76')]['appdata']['split'](',');_0x4ab1ba[_0x1cd3('0xb76')][_0x1cd3('0x1248')]=_0x1abf10[0x0];_0x4ab1ba['tag'][_0x1cd3('0x1249')]=_0x1abf10[0x1];_0x4ab1ba[_0x1cd3('0xb76')]['lexregion']=_0x1abf10[0x2];_0x4ab1ba[_0x1cd3('0xb76')][_0x1cd3('0x124f')]=_0x1abf10[0x3];_0x4ab1ba['tag'][_0x1cd3('0x1246')]=_0x1abf10[_0x1cd3('0x9a2')](0x4,_0x1abf10[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x122b'):var _0x1abf10=_0x4ab1ba[_0x1cd3('0xb76')]['appdata'][_0x1cd3('0x3ef')](',');_0x4ab1ba['tag'][_0x1cd3('0x122c')]=isNaN(_0x1abf10[0x0])?_0x1abf10[0x0]:parseInt(_0x1abf10[0x0],0xa);_0x4ab1ba[_0x1cd3('0xb76')][_0x1cd3('0x401')]=_0x1abf10[_0x1cd3('0x9a2')](0x1,_0x1abf10[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x43a'):_0x4ab1ba[_0x1cd3('0xb76')][_0x1cd3('0x401')]=_0x4ab1ba[_0x1cd3('0xb76')][_0x1cd3('0x127d')];break;case _0x1cd3('0x127e'):_0x4ab1ba[_0x1cd3('0xb76')][_0x1cd3('0x98')]=_0x4ab1ba[_0x1cd3('0xb76')]['appdata']['split']('=')[0x0];_0x4ab1ba['tag'][_0x1cd3('0x3db')]=_0x4ab1ba[_0x1cd3('0xb76')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x1];break;case _0x1cd3('0x128c'):_0x4ab1ba[_0x1cd3('0xb76')][_0x1cd3('0xedd')]=_0x4ab1ba[_0x1cd3('0xb76')][_0x1cd3('0x127d')];break;default:var _0x3fc7c0=_0x4ab1ba[_0x1cd3('0xb76')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x4ab1ba[_0x1cd3('0xb76')]['tag']=_[_0x1cd3('0x398')](_0x3fc7c0[0x0])?_0x3fc7c0[0x0]:isNaN(_0x3fc7c0[0x0])?_0x3fc7c0[0x0]:parseInt(_0x3fc7c0[0x0],0xa);}}else{}if(_0x4ab1ba[_0x1cd3('0xb76')][_0x1cd3('0x424')]&&_0x4ab1ba['tag'][_0x1cd3('0x424')][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x4ab1ba['tag'][_0x1cd3('0x125b')][_0x1cd3('0x433')]()===_0x1cd3('0x1289')){_0x4ab1ba[_0x1cd3('0xb76')][_0x1cd3('0x6aa')]=_0x4ab1ba['tag']['phone']?_0x4ab1ba[_0x1cd3('0xb76')]['phone'][_0x1cd3('0x3ef')]('$')[0x0]:undefined;_0x4ab1ba['tag']['callerId']=_0x4ab1ba['tag'][_0x1cd3('0x127f')]?_0x1cd3('0x1280')+_0x4ab1ba['tag']['callerID']:undefined;}_0x4ab1ba[_0x1cd3('0x2042')]=_0x728c28;_0x4ab1ba[_0x1cd3('0x39c')]=_0x5e38e0;_0x55a006[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x2ecb22['tag'][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':'name','nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x269cf9){_0x4ab1ba[_0x1cd3('0x921')]=_0x269cf9['rows']||[];})[_0x1cd3('0xfd')](function(_0x40a8c5){_0x3a7efd['error']({'title':_0x40a8c5['status']?'API:'+_0x40a8c5[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x40a8c5[_0x1cd3('0xd35')]:_0x1cd3('0x1ef7'),'msg':_0x40a8c5[_0x1cd3('0x439')]?JSON['stringify'](_0x40a8c5[_0x1cd3('0x439')]):_0x40a8c5['toString']()});}):_0x2ecb22[_0x1cd3('0xb76')][_0x1cd3('0x361')]({'fields':'id,name','sort':'name','nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')]['then'](function(_0x185ad6){_0x4ab1ba[_0x1cd3('0x921')]=_0x185ad6['rows']||[];})[_0x1cd3('0x77')](function(){return _0x2ecb22[_0x1cd3('0x390')]['get']({'userProfileId':_0x4ab1ba['currentUser'][_0x1cd3('0x5e')],'sectionId':0x3f0})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x461894){var _0x173dfa=_0x461894&&_0x461894['rows']?_0x461894[_0x1cd3('0xf6')][0x0]:null;if(!_0x173dfa){var _0x42addc=[];var _0x494b5b=null;if(_0x4ab1ba['tag']){_0x494b5b=_['find'](_0x4ab1ba[_0x1cd3('0x921')],{'name':_0x4ab1ba['tag']['tag']});}for(var _0x231e2a=0x0;_0x231e2a<_0x4ab1ba[_0x1cd3('0x921')][_0x1cd3('0x7a')];_0x231e2a++){if(_0x494b5b&&_0x4ab1ba[_0x1cd3('0x921')][_0x231e2a]['id']===_0x494b5b['id']){_0x4ab1ba['tags'][_0x231e2a][_0x1cd3('0xf4a')]=![];_0x42addc[_0x1cd3('0x7b')](_0x4ab1ba['tags'][_0x231e2a]);}}_0x4ab1ba[_0x1cd3('0x921')]=_0x42addc;}else{if(!_0x173dfa[_0x1cd3('0x391')]){return _0x2ecb22[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x173dfa['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x4d7f98){var _0x246364=_[_0x1cd3('0x3d9')](_0x4d7f98[_0x1cd3('0xf6')],function(_0x5f3fef){return _[_0x1cd3('0x442')](_0x4ab1ba[_0x1cd3('0x921')],{'id':_0x5f3fef[_0x1cd3('0xe8e')]});});var _0x4fc420=null;if(_0x4ab1ba[_0x1cd3('0xb76')]){_0x4fc420=_['find'](_0x4ab1ba[_0x1cd3('0x921')],{'name':_0x4ab1ba[_0x1cd3('0xb76')]['tag']});}if(_0x4fc420&&!_[_0x1cd3('0x38d')](_0x246364,['id',_0x4fc420['id']])){var _0x1c1d2a=_[_0x1cd3('0x442')](_0x4ab1ba['tags'],{'id':_0x4fc420['id']});_0x1c1d2a[_0x1cd3('0xf4a')]=![];_0x246364[_0x1cd3('0x7b')](_0x1c1d2a);}_0x4ab1ba['tags']=_0x246364;});}}})[_0x1cd3('0xfd')](function(_0x45cebe){_0x3a7efd[_0x1cd3('0x434')]({'title':_0x45cebe[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x45cebe[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x45cebe[_0x1cd3('0xd35')]:_0x1cd3('0x12b5'),'msg':_0x45cebe[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x45cebe[_0x1cd3('0x439')]):_0x45cebe['toString']()});});function _0x728c28(){_0x4ab1ba[_0x1cd3('0xd34')]=[];var _0x4bd8fb=[];if(_0x4ab1ba['tag']['type']&&_0x4ab1ba[_0x1cd3('0xb76')][_0x1cd3('0x424')]['toLowerCase']()===_0x1cd3('0x128')&&_0x4ab1ba[_0x1cd3('0xb76')][_0x1cd3('0x125b')]===_0x1cd3('0x1283')){_0x4ab1ba[_0x1cd3('0xb76')][_0x1cd3('0xf09')]=_0x19cb9e[_0x1cd3('0x128a')]?(_0x4ab1ba[_0x1cd3('0xb76')][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x1284')+_0x19cb9e['cutdigits']+'}':(_0x4ab1ba[_0x1cd3('0xb76')][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x128d');if(_0x19cb9e[_0x1cd3('0x1285')]!==_0x1cd3('0x6ae')){if(_0x4ab1ba[_0x1cd3('0xb76')][_0x1cd3('0x422')]['indexOf'](_0x1cd3('0x1286'))<0x0){_0x4ab1ba[_0x1cd3('0xb76')]['options']+=_0x1cd3('0x1286');}}else{_0x4ab1ba[_0x1cd3('0xb76')]['options']=_0x4ab1ba['tag'][_0x1cd3('0x422')][_0x1cd3('0x3f1')](_0x1cd3('0x1286'),'');}}var _0x18628f=_[_0x1cd3('0x442')](_0x4ab1ba['tags'],{'name':_0x4ab1ba[_0x1cd3('0xb76')]['tag']});if(_0x18628f){_0x4ab1ba['tag'][_0x1cd3('0x1230')]=_0x18628f['id'];}if(_0x4ab1ba[_0x1cd3('0xb76')][_0x1cd3('0x125b')]&&_0x4ab1ba[_0x1cd3('0xb76')]['appType']==='custom'){}else{switch((_0x4ab1ba[_0x1cd3('0xb76')][_0x1cd3('0xd0a')]||_0x4ab1ba['tag'][_0x1cd3('0x125b')])[_0x1cd3('0x433')]()){case _0x1cd3('0x127e'):_0x4ab1ba[_0x1cd3('0xb76')][_0x1cd3('0x127d')]=_0x4ab1ba['tag']['name']+'='+_0x4ab1ba[_0x1cd3('0xb76')][_0x1cd3('0x3db')];break;case _0x1cd3('0x8f6'):break;default:_0x4bd8fb[0x0]=_0x4ab1ba[_0x1cd3('0xb76')][_0x1cd3('0xb76')];_0x4ab1ba[_0x1cd3('0xb76')][_0x1cd3('0x127d')]=_0x4bd8fb[_0x1cd3('0x3de')](',');}}_0x5e38e0(_0x4ab1ba['tag']);}function _0x5e38e0(_0x545aea){_0x5aad54['hide'](_0x545aea);}}}());(function(){'use strict';_0x4ce4ff[_0x1cd3('0xc')]=[_0x1cd3('0x36f'),_0x1cd3('0x460'),_0x1cd3('0x53e'),'$q','$translate',_0x1cd3('0x3e7'),_0x1cd3('0x3c5'),'$document',_0x1cd3('0x461'),_0x1cd3('0x370'),_0x1cd3('0x56')];angular[_0x1cd3('0x0')](_0x1cd3('0x30'))[_0x1cd3('0x39b')](_0x1cd3('0x204c'),_0x4ce4ff);function _0x4ce4ff(_0x461d14,_0x11768c,_0x344660,_0x91a30a,_0x1c5cd1,_0x16d0ca,_0x500845,_0x5d0f7b,_0x3dbde5,_0x5a3934,_0x16e14b){var _0x5c37f2=this;_0x5c37f2[_0x1cd3('0x3ca')]=_0x16e14b[_0x1cd3('0x5d')]();_0x5c37f2['smsAccount']={};_0x5c37f2[_0x1cd3('0x204d')]={'count':0x0,'rows':[]};_0x5c37f2['selectedSmsAccountInteractions']=[];_0x5c37f2['crudPermissions'];_0x5c37f2['query']={'read':_0x1cd3('0x220'),'closed':'null','sort':_0x1cd3('0x130e'),'includeAll':'true','limit':0xa,'page':0x1};_0x5c37f2[_0x1cd3('0xe08')]=_0x1c2e93;_0x5c37f2[_0x1cd3('0xe0a')]=_0x263782;_0x5c37f2[_0x1cd3('0x204e')]=_0x1495c4;_0x5c37f2[_0x1cd3('0x473')]=_0x198ab4;_0x5c37f2['getSmsAccountInteractions']=_0x44ab24;_0x5c37f2[_0x1cd3('0x204f')]=_0x254300;_0x5c37f2[_0x1cd3('0x2050')]=_0x184a52;_0x5c37f2['openAdvancedSearch']=_0x2a3561;_0x5c37f2[_0x1cd3('0x2051')]=_0x26bcff;_0x5c37f2[_0x1cd3('0x2052')]=_0x289e1f;_0x5c37f2[_0x1cd3('0x2053')]=_0x35b004;function _0x1c2e93(_0x2257a0,_0x140f41){_0x5c37f2['smsAccount']=_0x2257a0;_0x5c37f2[_0x1cd3('0xd27')]=typeof _0x140f41!=='undefined'?_0x140f41:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x5c37f2[_0x1cd3('0x3d4')][_0x1cd3('0x1491')]=_0x5c37f2[_0x1cd3('0xac5')]['id'];_0x5c37f2[_0x1cd3('0x3d1')]={'fields':_0x6f52cd()};_0x833113();}function _0x833113(){return _0x5a3934['tag'][_0x1cd3('0x361')]()['$promise'][_0x1cd3('0x77')](function(_0x4bc804){_0x5c37f2[_0x1cd3('0x921')]=_0x4bc804||{'count':0x0,'rows':[]};})[_0x1cd3('0x77')](function(){_0x5c37f2[_0x1cd3('0x1315')]=_0x400217();});}function _0x400217(){return[{'name':_0x1cd3('0x132c'),'key':'createdAt','type':'date','label':_0x1cd3('0x1316')},{'name':_0x1cd3('0x1317'),'key':_0x1cd3('0x167e'),'type':'select','label':_0x1cd3('0x1318'),'customOptions':[{'value':0x0,'translate':_0x1cd3('0x1319')},{'value':0x1,'translate':_0x1cd3('0x131a')},{'value':null,'translate':_0x1cd3('0x910')}]},{'name':_0x1cd3('0x131b'),'key':_0x1cd3('0x1586'),'type':_0x1cd3('0x44f'),'label':'DASHBOARDS.SELECT_STATUS','customOptions':[{'value':0x0,'translate':_0x1cd3('0x131d')},{'value':0x1,'translate':_0x1cd3('0x131e')},{'value':null,'translate':_0x1cd3('0x910')}]},{'name':_0x1cd3('0x1227'),'key':_0x1cd3('0x1226'),'type':_0x1cd3('0x44f'),'label':_0x1cd3('0x131f'),'customOptions':[{'value':_0x1cd3('0x220'),'translate':_0x1cd3('0x1320')},{'value':undefined,'translate':_0x1cd3('0x910')}]},{'name':_0x1cd3('0x1231'),'key':_0x1cd3('0xb76'),'type':_0x1cd3('0x3fa'),'label':'DASHBOARDS.SELECT_TAG','options':_0x5c37f2[_0x1cd3('0x921')]['rows'],'placeholder':_0x1cd3('0x1322')}];}function _0x6f52cd(){return[{'name':'Id','column':'id','type':'number'},{'name':_0x1cd3('0x1323'),'column':'Contact','type':_0x1cd3('0x42b'),'options':{'searchFields':['firstName',_0x1cd3('0x1324'),_0x1cd3('0x1325')],'route':{'model':_0x1cd3('0xb3d'),'action':'get','params':{'fields':_0x1cd3('0x1668'),'Contact':'@autocomplete','nolimit':!![]}},'extraOperators':[_0x1cd3('0x3fd')],'excludedOperators':[_0x1cd3('0x3fb')]}},{'name':_0x1cd3('0x1326'),'column':_0x1cd3('0x1327'),'type':'text','options':{'excludedOperators':[_0x1cd3('0x44d'),_0x1cd3('0x3fb')]}},{'name':_0x1cd3('0x1328'),'column':_0x1cd3('0x1329'),'type':_0x1cd3('0x401'),'options':{'excludedOperators':['$eq','$ne']}},{'name':_0x1cd3('0x131b'),'column':_0x1cd3('0x1586'),'type':'select','values':[{'id':0x0,'translate':'DASHBOARDS.OPENED'},{'id':0x1,'translate':'DASHBOARDS.CLOSED'}],'options':{'excludedOperators':['$ne']}},{'name':'Agent','column':_0x1cd3('0x132a'),'type':_0x1cd3('0x42b'),'options':{'table':'i','route':{'model':'user','action':_0x1cd3('0x361'),'params':{'role':_0x1cd3('0xd2'),'fields':_0x1cd3('0x132b'),'nolimit':!![]}},'searchFields':[_0x1cd3('0xd3'),'name'],'extraOperators':[_0x1cd3('0x3fd')],'excludedOperators':['$ne']}},{'name':_0x1cd3('0xf9'),'column':_0x1cd3('0x1231'),'type':_0x1cd3('0x3fa'),'options':{'route':{'model':_0x1cd3('0xb76'),'action':'get','params':{'nolimit':!![]}},'excludedOperators':['$notIn']}},{'name':_0x1cd3('0x132c'),'column':'createdAt','type':_0x1cd3('0x406'),'options':{'excludedOperators':[_0x1cd3('0x3fb')]}},{'name':'Read','column':'unreadMessages','type':'select','values':[{'id':0x1,'translate':_0x1cd3('0x131a')},{'id':0x0,'translate':_0x1cd3('0x1319')}],'options':{'excludedOperators':[_0x1cd3('0x3fb')]}}];}function _0x2a3561(){_0x500845[_0x1cd3('0x37e')]({'controller':'AdvancedSearchController','controllerAs':'vm','templateUrl':_0x1cd3('0x132f'),'parent':angular[_0x1cd3('0x37f')](_0x5d0f7b[_0x1cd3('0x380')]),'clickOutsideToClose':![],'locals':{'fields':_0x5c37f2[_0x1cd3('0x3d1')][_0x1cd3('0x3c7')],'color':undefined,'storagePath':_0x1cd3('0x2054')},'fullscreen':!![]})[_0x1cd3('0x77')](function(_0x485953){_0x5c37f2[_0x1cd3('0x3d4')]['search']=_0x485953===![]?undefined:_0x485953;if(_0x5c37f2[_0x1cd3('0x3d4')][_0x1cd3('0x3e4')]){_0x44ab24();}else if(_0x485953===![]){_0x44ab24();}})[_0x1cd3('0xfd')](function(_0x284347){_0x3dbde5['error']({'title':'ERROR','msg':_0x284347['data']?JSON['stringify'](_0x284347['data'][_0x1cd3('0x43a')]):_0x284347[_0x1cd3('0x43b')]()});});}function _0x1495c4(_0x5a385e,_0x585c50,_0x460227){return _0x5a3934['smsInteraction'][_0x1cd3('0x489')]({'id':_0x5a385e['id'],'exists':!![],'attachments':_0x460227})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x5c602a){var _0x35f1bf=[_0x5c602a[_0x1cd3('0x6ef')]];var _0x3f4ea7=_0x1cd3('0x1332')+_0x5a385e['id'];var _0x5e43d3=new Blob(_0x35f1bf,{'type':_0x5c602a[_0x1cd3('0x424')]});_0x3f4ea7='sms-interaction'+_0x5a385e['id']+_0x1cd3('0x1334');var _0x2b196d=window[_0x1cd3('0x924')][_0x1cd3('0x3aa')]('a');_0x2b196d[_0x1cd3('0x481')](_0x1cd3('0x3ab'),URL[_0x1cd3('0x48a')](_0x5e43d3));_0x2b196d[_0x1cd3('0x481')](_0x1cd3('0x489'),_0x3f4ea7);document[_0x1cd3('0x380')]['appendChild'](_0x2b196d);_0x2b196d[_0x1cd3('0x52d')]();})[_0x1cd3('0xfd')](function(_0x14bf28){if(_0x14bf28[_0x1cd3('0x439')]&&_0x14bf28[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x14bf28[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){for(var _0x345805=0x0;_0x345805<_0x14bf28[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x345805+=0x1){_0x3dbde5[_0x1cd3('0x434')]({'title':_0x14bf28[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x345805]['type'],'msg':_0x14bf28['data']['errors'][_0x345805]['message']});}}else{_0x3dbde5['error']({'title':_0x14bf28['status']?_0x1cd3('0x435')+_0x14bf28[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x14bf28[_0x1cd3('0xd35')]:_0x1cd3('0x202c'),'msg':_0x14bf28[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x14bf28[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x14bf28[_0x1cd3('0x43b')]()});}});}function _0x263782(_0x1fe70e,_0x4ef6c0){var _0x2b93e4=_0x500845[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x1335'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+(_0x1fe70e['name']||_0x1fe70e['id']&&_[_0x1cd3('0x12bc')]('interaction\x20#')+_0x1fe70e['id']||_0x1cd3('0x1332'))+_0x1cd3('0xd52')+_0x1cd3('0xd53'))['ariaLabel'](_0x1cd3('0x1337'))['targetEvent'](_0x4ef6c0)['ok']('OK')['cancel'](_0x1cd3('0xd55'));_0x500845['show'](_0x2b93e4)[_0x1cd3('0x77')](function(){_0x289e1f(_0x1fe70e);},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}function _0x198ab4(_0x3cd721){_0x5c37f2['smsAccountInteractions']=_0x3cd721||{'count':0x0,'rows':[]};for(var _0xa8010b=0x0;_0xa8010b<_0x5c37f2['smsAccountInteractions'][_0x1cd3('0xf6')][_0x1cd3('0x7a')];_0xa8010b+=0x1){var _0xafac5c=_0x5c37f2[_0x1cd3('0x204d')][_0x1cd3('0xf6')][_0xa8010b];_0x131535(_0xafac5c);_0xafac5c[_0x1cd3('0x1338')]['name']=_0x395f15(_0xafac5c);}}function _0x44ab24(){_0x5c37f2[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0x5c37f2[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0x5c37f2[_0x1cd3('0x3d4')]['limit'];_0x5c37f2['promise']=_0x5a3934[_0x1cd3('0xad3')][_0x1cd3('0x361')](_0x5c37f2['query'],_0x198ab4)[_0x1cd3('0x81')];}function _0x254300(_0x42fa7f,_0x448e20){_0x500845[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1339'),'controllerAs':'vm','templateUrl':_0x1cd3('0x2055'),'parent':angular[_0x1cd3('0x37f')](_0x5d0f7b[_0x1cd3('0x380')]),'targetEvent':_0x42fa7f,'clickOutsideToClose':!![],'locals':{'smsAccount':_0x5c37f2[_0x1cd3('0xac5')],'interaction':_0x448e20,'interactions':_0x5c37f2['smsAccountInteractions'][_0x1cd3('0xf6')],'license':null,'setting':null,'crudPermissions':_0x5c37f2[_0x1cd3('0xd27')]}});}function _0x184a52(_0x542a4d,_0x24a813){_0x500845['show']({'controller':_0x1cd3('0x133a'),'controllerAs':'vm','templateUrl':'app/main/apps/dashboards/views/general/agent/interaction/agent.general.interaction.dialog.html','parent':angular['element'](_0x5d0f7b[_0x1cd3('0x380')]),'targetEvent':_0x542a4d,'clickOutsideToClose':!![],'onShowing':function(_0x235865,_0x1459b0){_0x235865['vm'][_0x1cd3('0xe08')]({'id':0x1,'channel':_0x1cd3('0x26b'),'interaction':_0x24a813,'spy':!![]},_0x11768c[_0x1cd3('0x70b')]['vm']['setting']);}});}function _0x289e1f(_0x437997){_0x5a3934['smsInteraction'][_0x1cd3('0xa1c')]({'id':_0x437997['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x5c37f2[_0x1cd3('0x204d')]['rows'],{'id':_0x437997['id']});_0x5c37f2[_0x1cd3('0x204d')][_0x1cd3('0x466')]-=0x1;if(!_0x5c37f2['smsAccountInteractions']['rows']['length']){_0x44ab24();}_0x3dbde5[_0x1cd3('0x473')]({'title':_0x1cd3('0x133c'),'msg':_0x437997[_0x1cd3('0x98')]?_0x437997[_0x1cd3('0x98')]+_0x1cd3('0xd41'):''});})[_0x1cd3('0xfd')](function(_0x352cd9){if(_0x352cd9[_0x1cd3('0x439')]&&_0x352cd9[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x352cd9[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){vm[_0x1cd3('0xd34')]=_0x352cd9['data']['errors']||[{'message':_0x352cd9[_0x1cd3('0x43b')](),'type':_0x1cd3('0x2056')}];for(var _0x553493=0x0;_0x553493<_0x352cd9[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0x553493++){_0x3dbde5[_0x1cd3('0x434')]({'title':_0x352cd9[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x553493][_0x1cd3('0x424')],'msg':_0x352cd9[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x553493]['message']});}}else{_0x3dbde5[_0x1cd3('0x434')]({'title':_0x352cd9[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x352cd9[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x352cd9[_0x1cd3('0xd35')]:_0x1cd3('0x2056'),'msg':_0x352cd9[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x352cd9['data']['message']):_0x352cd9[_0x1cd3('0x43a')]||_0x352cd9[_0x1cd3('0x43b')]()});}});}function _0x26bcff(){var _0x2fc407=angular[_0x1cd3('0x429')](_0x5c37f2['selectedSmsAccountInteractions']);_0x5c37f2[_0x1cd3('0x2057')]=[];return _0x2fc407;}function _0x35b004(_0x2dc20e){var _0x3d4d6c=_0x500845[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x1932'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x5c37f2[_0x1cd3('0x2057')][_0x1cd3('0x7a')]+_0x1cd3('0xd61')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x133d'))['targetEvent'](_0x2dc20e)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x500845[_0x1cd3('0x37e')](_0x3d4d6c)[_0x1cd3('0x77')](function(){_0x5c37f2[_0x1cd3('0x2057')]['forEach'](function(_0x2971b4){_0x289e1f(_0x2971b4);});_0x5c37f2[_0x1cd3('0x2057')]=[];});}function _0x131535(_0x1c7c6b){if(_0x1c7c6b['Contact']){_0x1c7c6b[_0x1cd3('0x133e')]=(_0x1c7c6b[_0x1cd3('0x1323')][_0x1cd3('0x1447')]||'')+'\x20'+(_0x1c7c6b['Contact']['lastName']||'');_0x1c7c6b[_0x1cd3('0x1742')]=_0x1c7c6b['Contact'][_0x1cd3('0x967')];}else{_0x1c7c6b[_0x1cd3('0x133e')]=_0x1c5cd1['instant'](_0x1cd3('0x133f'));}}function _0x395f15(_0x163bf3){if(_0x163bf3['UserId']){if(_0x163bf3[_0x1cd3('0x1226')]===_0x5c37f2['currentUser']['id']){return _0x1c5cd1[_0x1cd3('0x44a')](_0x1cd3('0x1656'));}else{return _0x163bf3[_0x1cd3('0x1338')][_0x1cd3('0xd3')]+'\x20<'+_0x163bf3[_0x1cd3('0x1338')][_0x1cd3('0x311')]+'>';}}return _0x1c5cd1['instant'](_0x1cd3('0x1320'));}var _0x431012=!![];var _0x470ee9=0x1;_0x11768c['$watch'](_0x1cd3('0x1340'),function(_0x56b0bc,_0x345a29){if(_0x431012){_0x16d0ca(function(){_0x431012=![];});}else{if(!_0x345a29){_0x470ee9=_0x5c37f2[_0x1cd3('0x3d4')]['page'];}if(_0x56b0bc!==_0x345a29){_0x5c37f2[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}if(!_0x56b0bc){_0x5c37f2[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0x470ee9;}_0x44ab24();}});}}());(function(){'use strict';_0x44d890['$inject']=[_0x1cd3('0x36f'),_0x1cd3('0x460'),_0x1cd3('0x53e'),'$q',_0x1cd3('0x3f7'),'$timeout',_0x1cd3('0x3c5'),_0x1cd3('0x372'),_0x1cd3('0x461'),_0x1cd3('0x370'),_0x1cd3('0x56')];angular['module'](_0x1cd3('0x30'))[_0x1cd3('0x39b')]('SmsAccountSmsCannedAnswersController',_0x44d890);function _0x44d890(_0x97e006,_0x202bed,_0x1af24b,_0xbf9909,_0x5c2fa1,_0x366dbf,_0x55cfe7,_0x142fe3,_0x5e88a1,_0x2fb031,_0x239f47){var _0x3edb3a=this;_0x3edb3a['currentUser']=_0x239f47['getCurrentUser']();_0x3edb3a[_0x1cd3('0xac5')]={};_0x3edb3a['smsAccountSmsCannedAnswers']={'count':0x0,'rows':[]};_0x3edb3a[_0x1cd3('0x2058')]=[];_0x3edb3a[_0x1cd3('0xd27')];_0x3edb3a[_0x1cd3('0x3d4')]={'fields':_0x1cd3('0x2a2'),'limit':0xa,'page':0x1};_0x3edb3a[_0x1cd3('0xe08')]=_0x2b9f31;_0x3edb3a['deleteConfirm']=_0xe85e3c;_0x3edb3a[_0x1cd3('0x473')]=_0x62766e;_0x3edb3a['getSmsAccountSmsCannedAnswers']=_0xe26220;_0x3edb3a[_0x1cd3('0x2059')]=_0x354058;_0x3edb3a['exportSelectedSmsAccountSmsCannedAnswers']=_0x34868c;_0x3edb3a[_0x1cd3('0x205a')]=_0x4bf009;_0x3edb3a[_0x1cd3('0x205b')]=_0x106783;function _0x2b9f31(_0x5a52f3,_0x4c5c0c){_0x3edb3a[_0x1cd3('0xac5')]=_0x5a52f3;_0x3edb3a[_0x1cd3('0xd27')]=typeof _0x4c5c0c!==_0x1cd3('0x491')?_0x4c5c0c:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x3edb3a[_0x1cd3('0x3d4')][_0x1cd3('0x1491')]=_0x3edb3a[_0x1cd3('0xac5')]['id'];_0x3edb3a[_0x1cd3('0x3d4')]['id']=_0x3edb3a['smsAccount']['id'];_0xe26220();}function _0xe85e3c(_0x5e4e0a,_0x5215e7){var _0x2ada49=_0x55cfe7['confirm']()['title'](_0x1cd3('0x205c'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+(_0x5e4e0a[_0x1cd3('0x98')]||_0x5e4e0a['id']&&_['upperFirst']('smsCannedAnswer\x20#')+_0x5e4e0a['id']||_0x1cd3('0x205d'))+_0x1cd3('0xd52')+_0x1cd3('0xd53'))['ariaLabel']('delete\x20smsCannedAnswer')['targetEvent'](_0x5215e7)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x55cfe7['show'](_0x2ada49)[_0x1cd3('0x77')](function(){_0x4bf009(_0x5e4e0a);},function(){console['log'](_0x1cd3('0xd55'));});}function _0x62766e(_0xc1b514){_0x3edb3a[_0x1cd3('0x205e')]=_0xc1b514||{'count':0x0,'rows':[]};}function _0xe26220(){_0x3edb3a[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0x3edb3a[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0x3edb3a['query'][_0x1cd3('0x8fe')];_0x3edb3a[_0x1cd3('0x539')]=_0x2fb031[_0x1cd3('0xac5')][_0x1cd3('0x1c21')](_0x3edb3a[_0x1cd3('0x3d4')],_0x62766e)[_0x1cd3('0x81')];}function _0x354058(_0x404bab,_0x1160d2){_0x55cfe7['show']({'controller':'CreateOrEditSmsCannedAnswerDialogController','controllerAs':'vm','templateUrl':'app/main/apps/sms/views/smsAccounts/edit/smsCannedAnswers/dialog.html','parent':angular[_0x1cd3('0x37f')](_0x142fe3['body']),'targetEvent':_0x404bab,'clickOutsideToClose':!![],'locals':{'smsAccount':_0x3edb3a[_0x1cd3('0xac5')],'smsCannedAnswer':_0x1160d2,'smsCannedAnswers':_0x3edb3a['smsAccountSmsCannedAnswers'][_0x1cd3('0xf6')],'license':null,'setting':null,'crudPermissions':_0x3edb3a[_0x1cd3('0xd27')]}});}function _0x4bf009(_0x5d8113){_0x2fb031[_0x1cd3('0x12c1')]['delete']({'id':_0x5d8113['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x3edb3a[_0x1cd3('0x205e')][_0x1cd3('0xf6')],{'id':_0x5d8113['id']});_0x3edb3a['smsAccountSmsCannedAnswers'][_0x1cd3('0x466')]-=0x1;if(!_0x3edb3a[_0x1cd3('0x205e')][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){_0xe26220();}_0x5e88a1['success']({'title':_0x1cd3('0x205f'),'msg':_0x5d8113[_0x1cd3('0x98')]?_0x5d8113[_0x1cd3('0x98')]+'\x20has\x20been\x20deleted!':''});})['catch'](function(_0x90f32a){if(_0x90f32a[_0x1cd3('0x439')]&&_0x90f32a[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x90f32a['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){vm[_0x1cd3('0xd34')]=_0x90f32a[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x90f32a[_0x1cd3('0x43b')](),'type':'SYSTEM:GETsmsAccount'}];for(var _0x33f011=0x0;_0x33f011<_0x90f32a[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0x33f011++){_0x5e88a1[_0x1cd3('0x434')]({'title':_0x90f32a[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x33f011][_0x1cd3('0x424')],'msg':_0x90f32a['data']['errors'][_0x33f011][_0x1cd3('0x43a')]});}}else{_0x5e88a1['error']({'title':_0x90f32a['status']?_0x1cd3('0x435')+_0x90f32a[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x90f32a['statusText']:'SYSTEM:GETsmsAccount','msg':_0x90f32a[_0x1cd3('0x439')]?JSON['stringify'](_0x90f32a[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x90f32a[_0x1cd3('0x43a')]||_0x90f32a[_0x1cd3('0x43b')]()});}});}function _0x34868c(){var _0x192f3d=angular[_0x1cd3('0x429')](_0x3edb3a[_0x1cd3('0x2058')]);_0x3edb3a[_0x1cd3('0x2058')]=[];return _0x192f3d;}function _0x106783(_0x3f1153){var _0x3b806b=_0x55cfe7['confirm']()[_0x1cd3('0x486')](_0x1cd3('0x2060'))[_0x1cd3('0xd60')]('<b>'+_0x3edb3a['selectedSmsAccountSmsCannedAnswers']['length']+_0x1cd3('0xd61')+_0x1cd3('0xd53'))['ariaLabel'](_0x1cd3('0x2061'))[_0x1cd3('0xd63')](_0x3f1153)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x55cfe7[_0x1cd3('0x37e')](_0x3b806b)[_0x1cd3('0x77')](function(){_0x3edb3a[_0x1cd3('0x2058')][_0x1cd3('0x394')](function(_0x45d59e){_0x4bf009(_0x45d59e);});_0x3edb3a[_0x1cd3('0x2058')]=[];});}var _0x3fa3d6=!![];var _0x3a322f=0x1;_0x202bed[_0x1cd3('0x4d6')](_0x1cd3('0x1340'),function(_0x51239f,_0x30ed32){if(_0x3fa3d6){_0x366dbf(function(){_0x3fa3d6=![];});}else{if(!_0x30ed32){_0x3a322f=_0x3edb3a[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0x51239f!==_0x30ed32){_0x3edb3a[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}if(!_0x51239f){_0x3edb3a[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0x3a322f;}_0xe26220();}});}}());(function(){'use strict';_0x40c0b1[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x53e'),_0x1cd3('0xd24'),_0x1cd3('0x3c5'),'$q',_0x1cd3('0x3f7'),_0x1cd3('0x461'),_0x1cd3('0x2062'),_0x1cd3('0x205d'),_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0x463'),_0x1cd3('0xc49'),_0x1cd3('0xd27')];angular['module'](_0x1cd3('0x30'))[_0x1cd3('0x39b')]('CreateOrEditSmsCannedAnswerDialogController',_0x40c0b1);function _0x40c0b1(_0x784ca5,_0x3f21f4,_0x52fe83,_0x5be58a,_0x20e69a,_0x3f4d81,_0x104428,_0xf42d47,_0x562cc5,_0x1ae4e9,_0x288595,_0x3084c2,_0x1c9a3a,_0x36b441){var _0x11186e=this;_0x11186e[_0x1cd3('0x3ca')]=_0x288595['getCurrentUser']();_0x11186e[_0x1cd3('0xd34')]=[];_0x11186e[_0x1cd3('0xc49')]=_0x1c9a3a;_0x11186e['license']=_0x3084c2;_0x11186e[_0x1cd3('0xd27')]=_0x36b441;_0x11186e[_0x1cd3('0xd28')]={};_0x11186e[_0x1cd3('0xd29')]=_0x11186e[_0x1cd3('0xc49')]&&_0x11186e[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x11186e['title']=_0x1cd3('0x2063');_0x11186e[_0x1cd3('0x205d')]=angular[_0x1cd3('0x429')](_0x562cc5);_0x11186e[_0x1cd3('0x2062')]=_0xf42d47;_0x11186e[_0x1cd3('0x2064')]=![];if(!_0x11186e[_0x1cd3('0x205d')]){_0x11186e[_0x1cd3('0x205d')]={};_0x11186e[_0x1cd3('0x486')]=_0x1cd3('0x2065');_0x11186e['newSmsCannedAnswer']=!![];}if(_0x3f21f4[_0x1cd3('0x36a')]['id']){_0x11186e['smsCannedAnswer']['SmsAccountId']=_0x3f21f4['params']['id'];}_0x11186e[_0x1cd3('0x2066')]=_0x1b467c;_0x11186e['saveSmsCannedAnswer']=_0x39b6e6;_0x11186e['deleteSmsCannedAnswer']=_0x3455ee;_0x11186e[_0x1cd3('0xd31')]=_0x3d8387;_0x11186e['closeDialog']=_0x924c75;function _0x1b467c(){_0x11186e[_0x1cd3('0xd34')]=[];_0x1ae4e9['cannedAnswer'][_0x1cd3('0xd6d')](_0x11186e[_0x1cd3('0x205d')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x155ae6){_0x11186e[_0x1cd3('0x2062')]['unshift'](_0x155ae6[_0x1cd3('0xd32')]());_0x104428[_0x1cd3('0x473')]({'title':_0x1cd3('0x2067'),'msg':_0x11186e[_0x1cd3('0x205d')][_0x1cd3('0x98')]?_0x11186e[_0x1cd3('0x205d')][_0x1cd3('0x98')]+'\x20has\x20been\x20created!':''});_0x924c75(_0x155ae6);})[_0x1cd3('0xfd')](function(_0x2e87ec){if(_0x2e87ec[_0x1cd3('0x439')]&&_0x2e87ec['data'][_0x1cd3('0xd34')]&&_0x2e87ec[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x11186e[_0x1cd3('0xd34')]=_0x2e87ec[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x2e87ec[_0x1cd3('0x43b')](),'type':_0x1cd3('0x12cc')}];for(var _0x4a6742=0x0;_0x4a6742<_0x2e87ec[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x4a6742+=0x1){_0x104428['error']({'title':_0x2e87ec[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x4a6742][_0x1cd3('0x424')],'msg':_0x2e87ec['data'][_0x1cd3('0xd34')][_0x4a6742][_0x1cd3('0x43a')]});}}else{_0x104428[_0x1cd3('0x434')]({'title':_0x2e87ec[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x2e87ec['status']+_0x1cd3('0x436')+_0x2e87ec[_0x1cd3('0xd35')]:'api.cannedAnswer.save','msg':_0x2e87ec[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x2e87ec[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x2e87ec['toString']()});}});}function _0x39b6e6(){_0x11186e['errors']=[];_0x1ae4e9['cannedAnswer'][_0x1cd3('0x378')]({'id':_0x11186e[_0x1cd3('0x205d')]['id']},_0x11186e[_0x1cd3('0x205d')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x43d049){var _0x3adc89=_[_0x1cd3('0x442')](_0x11186e[_0x1cd3('0x2062')],{'id':_0x43d049['id']});if(_0x3adc89){_['merge'](_0x3adc89,_[_0x1cd3('0x5e8')](_0x43d049['toJSON'](),_[_0x1cd3('0x80')](_0x3adc89)));}_0x104428[_0x1cd3('0x473')]({'title':_0x1cd3('0x2068'),'msg':_0x11186e[_0x1cd3('0x205d')]['name']?_0x11186e[_0x1cd3('0x205d')][_0x1cd3('0x98')]+'\x20has\x20been\x20saved!':''});_0x924c75(_0x43d049);})[_0x1cd3('0xfd')](function(_0xbcc023){if(_0xbcc023[_0x1cd3('0x439')]&&_0xbcc023['data'][_0x1cd3('0xd34')]&&_0xbcc023[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x11186e[_0x1cd3('0xd34')]=_0xbcc023[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0xbcc023[_0x1cd3('0x43b')](),'type':'api.cannedAnswer.update'}];for(var _0x490785=0x0;_0x490785<_0xbcc023[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length'];_0x490785++){_0x104428['error']({'title':_0xbcc023[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x490785][_0x1cd3('0x424')],'msg':_0xbcc023[_0x1cd3('0x439')]['errors'][_0x490785][_0x1cd3('0x43a')]});}}else{_0x104428[_0x1cd3('0x434')]({'title':_0xbcc023[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0xbcc023[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0xbcc023['statusText']:_0x1cd3('0x12ce'),'msg':_0xbcc023[_0x1cd3('0x439')]?JSON['stringify'](_0xbcc023['data'][_0x1cd3('0x43a')]):_0xbcc023['toString']()});}});}function _0x3455ee(_0x6221fb){_0x11186e['errors']=[];var _0x472cb2=_0x5be58a[_0x1cd3('0xd39')]()[_0x1cd3('0x486')]('Are\x20you\x20sure?')[_0x1cd3('0xd3b')](_0x1cd3('0x2069'))['ariaLabel'](_0x1cd3('0x206a'))['ok'](_0x1cd3('0xd3f'))[_0x1cd3('0x4d8')](_0x1cd3('0x674'))[_0x1cd3('0xd63')](_0x6221fb);_0x5be58a[_0x1cd3('0x37e')](_0x472cb2)[_0x1cd3('0x77')](function(){_0x1ae4e9['cannedAnswer'][_0x1cd3('0xa1c')]({'id':_0x11186e['smsCannedAnswer']['id']})[_0x1cd3('0x81')]['then'](function(){_[_0x1cd3('0x383')](_0x11186e[_0x1cd3('0x2062')],{'id':_0x11186e['smsCannedAnswer']['id']});_0x104428['success']({'title':_0x1cd3('0x206b'),'msg':(_0x11186e[_0x1cd3('0x205d')]['name']||_0x1cd3('0x205d'))+_0x1cd3('0xd41')});_0x924c75(_0x11186e[_0x1cd3('0x205d')]);})['catch'](function(_0x3c8c42){if(_0x3c8c42['data']&&_0x3c8c42[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x3c8c42['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x11186e[_0x1cd3('0xd34')]=_0x3c8c42[_0x1cd3('0x439')]['errors']||[{'message':_0x3c8c42['toString'](),'type':_0x1cd3('0x12d1')}];for(var _0x4fc508=0x0;_0x4fc508<_0x3c8c42['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x4fc508++){_0x104428[_0x1cd3('0x434')]({'title':_0x3c8c42[_0x1cd3('0x439')]['errors'][_0x4fc508][_0x1cd3('0x424')],'msg':_0x3c8c42['data'][_0x1cd3('0xd34')][_0x4fc508][_0x1cd3('0x43a')]});}}else{_0x104428[_0x1cd3('0x434')]({'title':_0x3c8c42[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x3c8c42[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x3c8c42['statusText']:_0x1cd3('0x12d1'),'msg':_0x3c8c42['data']?JSON[_0x1cd3('0x438')](_0x3c8c42[_0x1cd3('0x439')]['message']):_0x3c8c42['message']||_0x3c8c42[_0x1cd3('0x43b')]()});}});},function(){});}function _0x3d8387(_0x3cdb48){return _0x3cdb48===null?undefined:new Date(_0x3cdb48);}function _0x924c75(_0xa3cf2e){_0x5be58a[_0x1cd3('0x39d')](_0xa3cf2e);}}}());(function(){'use strict';_0x9486a8[_0x1cd3('0xc')]=['$cookies',_0x1cd3('0x460'),'$state','$q',_0x1cd3('0x3f7'),_0x1cd3('0x3e7'),'$mdDialog',_0x1cd3('0x372'),_0x1cd3('0x461'),_0x1cd3('0x370'),'Auth'];angular['module'](_0x1cd3('0x30'))[_0x1cd3('0x39b')]('SmsAccountSmsDispositionsController',_0x9486a8);function _0x9486a8(_0x5c3d6e,_0x8d5968,_0x2abd2b,_0x2f3070,_0xaa210c,_0x411dbe,_0x47f8c8,_0x476628,_0x5952c1,_0x328d52,_0x1c690d){var _0x296666=this;_0x296666['currentUser']=_0x1c690d[_0x1cd3('0x5d')]();_0x296666[_0x1cd3('0xac5')]={};_0x296666[_0x1cd3('0x206c')]={'count':0x0,'rows':[]};_0x296666[_0x1cd3('0x206d')]=[];_0x296666['crudPermissions'];_0x296666['query']={'fields':_0x1cd3('0x21f'),'limit':0xa,'page':0x1};_0x296666[_0x1cd3('0xe08')]=_0x3f61e9;_0x296666[_0x1cd3('0xe0a')]=_0x5ad47c;_0x296666[_0x1cd3('0x473')]=_0x39038c;_0x296666[_0x1cd3('0x206e')]=_0x404cf6;_0x296666[_0x1cd3('0x206f')]=_0x46292b;_0x296666[_0x1cd3('0x2070')]=_0x3587f6;_0x296666[_0x1cd3('0x2071')]=_0xa4a01c;_0x296666['deleteSelectedSmsAccountSmsDispositions']=_0x1003ad;function _0x3f61e9(_0x5daa3a,_0x320828){_0x296666[_0x1cd3('0xac5')]=_0x5daa3a;_0x296666['crudPermissions']=typeof _0x320828!==_0x1cd3('0x491')?_0x320828:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x296666[_0x1cd3('0x3d4')][_0x1cd3('0x1491')]=_0x296666[_0x1cd3('0xac5')]['id'];_0x296666[_0x1cd3('0x3d4')]['id']=_0x296666[_0x1cd3('0xac5')]['id'];_0x404cf6();}function _0x5ad47c(_0x230078,_0x360c27){var _0x22d3a0=_0x47f8c8[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x2072'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+(_0x230078[_0x1cd3('0x98')]||_0x230078['id']&&_[_0x1cd3('0x12bc')](_0x1cd3('0x2073'))+_0x230078['id']||_0x1cd3('0x2074'))+_0x1cd3('0xd52')+'\x20will\x20be\x20deleted.')[_0x1cd3('0xd3d')]('delete\x20smsDisposition')[_0x1cd3('0xd63')](_0x360c27)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x47f8c8[_0x1cd3('0x37e')](_0x22d3a0)[_0x1cd3('0x77')](function(){_0xa4a01c(_0x230078);},function(){console['log'](_0x1cd3('0xd55'));});}function _0x39038c(_0x294c6d){_0x296666[_0x1cd3('0x206c')]=_0x294c6d||{'count':0x0,'rows':[]};}function _0x404cf6(){_0x296666[_0x1cd3('0x3d4')]['offset']=(_0x296666[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0x296666['query'][_0x1cd3('0x8fe')];_0x296666['promise']=_0x328d52['smsAccount'][_0x1cd3('0x12db')](_0x296666[_0x1cd3('0x3d4')],_0x39038c)['$promise'];}function _0x46292b(_0x5f0623,_0x2a19a2){_0x47f8c8[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x2075'),'controllerAs':'vm','templateUrl':_0x1cd3('0x2076'),'parent':angular[_0x1cd3('0x37f')](_0x476628[_0x1cd3('0x380')]),'targetEvent':_0x5f0623,'clickOutsideToClose':!![],'locals':{'smsAccount':_0x296666['smsAccount'],'smsDisposition':_0x2a19a2,'smsDispositions':_0x296666[_0x1cd3('0x206c')][_0x1cd3('0xf6')],'license':null,'setting':null,'crudPermissions':_0x296666['crudPermissions']}});}function _0xa4a01c(_0x3fee64){_0x328d52[_0x1cd3('0xb63')]['delete']({'id':_0x3fee64['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x296666[_0x1cd3('0x206c')][_0x1cd3('0xf6')],{'id':_0x3fee64['id']});_0x296666[_0x1cd3('0x206c')][_0x1cd3('0x466')]-=0x1;if(!_0x296666[_0x1cd3('0x206c')][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){_0x404cf6();}_0x5952c1['success']({'title':_0x1cd3('0x2077'),'msg':_0x3fee64[_0x1cd3('0x98')]?_0x3fee64[_0x1cd3('0x98')]+_0x1cd3('0xd41'):''});})['catch'](function(_0x541a45){if(_0x541a45[_0x1cd3('0x439')]&&_0x541a45[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x541a45[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){vm['errors']=_0x541a45[_0x1cd3('0x439')]['errors']||[{'message':_0x541a45[_0x1cd3('0x43b')](),'type':_0x1cd3('0x2056')}];for(var _0x2185f3=0x0;_0x2185f3<_0x541a45['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x2185f3++){_0x5952c1[_0x1cd3('0x434')]({'title':_0x541a45['data']['errors'][_0x2185f3][_0x1cd3('0x424')],'msg':_0x541a45[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x2185f3][_0x1cd3('0x43a')]});}}else{_0x5952c1[_0x1cd3('0x434')]({'title':_0x541a45[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x541a45['status']+_0x1cd3('0x436')+_0x541a45[_0x1cd3('0xd35')]:'SYSTEM:GETsmsAccount','msg':_0x541a45[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x541a45[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x541a45[_0x1cd3('0x43a')]||_0x541a45[_0x1cd3('0x43b')]()});}});}function _0x3587f6(){var _0x1b7779=angular['copy'](_0x296666[_0x1cd3('0x206d')]);_0x296666[_0x1cd3('0x206d')]=[];return _0x1b7779;}function _0x1003ad(_0x374590){var _0x1c5d31=_0x47f8c8[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x2078'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x296666[_0x1cd3('0x206d')][_0x1cd3('0x7a')]+_0x1cd3('0xd61')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x2079'))['targetEvent'](_0x374590)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x47f8c8[_0x1cd3('0x37e')](_0x1c5d31)['then'](function(){_0x296666['selectedSmsAccountSmsDispositions'][_0x1cd3('0x394')](function(_0xe3d186){_0xa4a01c(_0xe3d186);});_0x296666[_0x1cd3('0x206d')]=[];});}var _0x54461e=!![];var _0x213723=0x1;_0x8d5968[_0x1cd3('0x4d6')](_0x1cd3('0x1340'),function(_0x27e774,_0x3c2e5b){if(_0x54461e){_0x411dbe(function(){_0x54461e=![];});}else{if(!_0x3c2e5b){_0x213723=_0x296666['query']['page'];}if(_0x27e774!==_0x3c2e5b){_0x296666[_0x1cd3('0x3d4')]['page']=0x1;}if(!_0x27e774){_0x296666[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0x213723;}_0x404cf6();}});}}());(function(){'use strict';_0x2ca385[_0x1cd3('0xc')]=['$scope','$state',_0x1cd3('0xd24'),_0x1cd3('0x3c5'),'$q',_0x1cd3('0x3f7'),'toasty',_0x1cd3('0x207a'),_0x1cd3('0x2074'),'api',_0x1cd3('0x56'),_0x1cd3('0x463'),_0x1cd3('0xc49'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x30'))[_0x1cd3('0x39b')]('CreateOrEditSmsDispositionDialogController',_0x2ca385);function _0x2ca385(_0x415fd8,_0x50d6a1,_0x1fa89e,_0x1f8f57,_0x1c9b2e,_0x33df36,_0x6c3350,_0x4ed05a,_0x3dde41,_0x3a859b,_0x4e0802,_0x5373c1,_0x2244ee,_0x190f2f){var _0x52f805=this;_0x52f805[_0x1cd3('0x3ca')]=_0x4e0802[_0x1cd3('0x5d')]();_0x52f805[_0x1cd3('0xd34')]=[];_0x52f805['setting']=_0x2244ee;_0x52f805[_0x1cd3('0x463')]=_0x5373c1;_0x52f805['crudPermissions']=_0x190f2f;_0x52f805[_0x1cd3('0xd28')]={};_0x52f805[_0x1cd3('0xd29')]=_0x52f805[_0x1cd3('0xc49')]&&_0x52f805[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x52f805[_0x1cd3('0x486')]=_0x1cd3('0x207b');_0x52f805['smsDisposition']=angular[_0x1cd3('0x429')](_0x3dde41);_0x52f805[_0x1cd3('0x207a')]=_0x4ed05a;_0x52f805[_0x1cd3('0x207c')]=![];if(!_0x52f805[_0x1cd3('0x2074')]){_0x52f805['smsDisposition']={};_0x52f805[_0x1cd3('0x486')]=_0x1cd3('0x207d');_0x52f805[_0x1cd3('0x207c')]=!![];}if(_0x50d6a1['params']['id']){_0x52f805[_0x1cd3('0x2074')][_0x1cd3('0x1491')]=_0x50d6a1[_0x1cd3('0x36a')]['id'];}_0x52f805[_0x1cd3('0x207e')]=_0x1022e7;_0x52f805[_0x1cd3('0x207f')]=_0x2fb9c2;_0x52f805[_0x1cd3('0x2080')]=_0x5bfd90;_0x52f805[_0x1cd3('0xd31')]=_0x4f7187;_0x52f805[_0x1cd3('0x39c')]=_0xe0db7e;function _0x1022e7(){_0x52f805[_0x1cd3('0xd34')]=[];_0x3a859b[_0x1cd3('0xb63')][_0x1cd3('0xd6d')](_0x52f805[_0x1cd3('0x2074')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x50d2c2){_0x52f805[_0x1cd3('0x207a')][_0x1cd3('0x621')](_0x50d2c2[_0x1cd3('0xd32')]());_0x6c3350[_0x1cd3('0x473')]({'title':'SmsDisposition\x20properly\x20created','msg':_0x52f805[_0x1cd3('0x2074')][_0x1cd3('0x98')]?_0x52f805[_0x1cd3('0x2074')][_0x1cd3('0x98')]+_0x1cd3('0xd33'):''});_0xe0db7e(_0x50d2c2);})[_0x1cd3('0xfd')](function(_0x4e335a){if(_0x4e335a['data']&&_0x4e335a[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x4e335a[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x52f805[_0x1cd3('0xd34')]=_0x4e335a[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x4e335a[_0x1cd3('0x43b')](),'type':_0x1cd3('0x12e8')}];for(var _0x302ecd=0x0;_0x302ecd<_0x4e335a[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length'];_0x302ecd+=0x1){_0x6c3350['error']({'title':_0x4e335a[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x302ecd][_0x1cd3('0x424')],'msg':_0x4e335a[_0x1cd3('0x439')]['errors'][_0x302ecd][_0x1cd3('0x43a')]});}}else{_0x6c3350[_0x1cd3('0x434')]({'title':_0x4e335a[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x4e335a[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x4e335a[_0x1cd3('0xd35')]:_0x1cd3('0x12e8'),'msg':_0x4e335a[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x4e335a[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x4e335a[_0x1cd3('0x43b')]()});}});}function _0x2fb9c2(){_0x52f805[_0x1cd3('0xd34')]=[];_0x3a859b[_0x1cd3('0xb63')][_0x1cd3('0x378')]({'id':_0x52f805[_0x1cd3('0x2074')]['id']},_0x52f805[_0x1cd3('0x2074')])['$promise'][_0x1cd3('0x77')](function(_0xe9668a){var _0x77d8ab=_[_0x1cd3('0x442')](_0x52f805[_0x1cd3('0x207a')],{'id':_0xe9668a['id']});if(_0x77d8ab){_[_0x1cd3('0xf2')](_0x77d8ab,_[_0x1cd3('0x5e8')](_0xe9668a[_0x1cd3('0xd32')](),_[_0x1cd3('0x80')](_0x77d8ab)));}_0x6c3350[_0x1cd3('0x473')]({'title':_0x1cd3('0x2081'),'msg':_0x52f805[_0x1cd3('0x2074')][_0x1cd3('0x98')]?_0x52f805[_0x1cd3('0x2074')][_0x1cd3('0x98')]+'\x20has\x20been\x20saved!':''});_0xe0db7e(_0xe9668a);})[_0x1cd3('0xfd')](function(_0x5ab8ed){if(_0x5ab8ed[_0x1cd3('0x439')]&&_0x5ab8ed[_0x1cd3('0x439')]['errors']&&_0x5ab8ed['data']['errors']['length']){_0x52f805[_0x1cd3('0xd34')]=_0x5ab8ed[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x5ab8ed['toString'](),'type':'api.disposition.update'}];for(var _0x1bce4b=0x0;_0x1bce4b<_0x5ab8ed[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length'];_0x1bce4b++){_0x6c3350[_0x1cd3('0x434')]({'title':_0x5ab8ed[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1bce4b][_0x1cd3('0x424')],'msg':_0x5ab8ed['data'][_0x1cd3('0xd34')][_0x1bce4b][_0x1cd3('0x43a')]});}}else{_0x6c3350['error']({'title':_0x5ab8ed[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x5ab8ed[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x5ab8ed[_0x1cd3('0xd35')]:_0x1cd3('0x12ea'),'msg':_0x5ab8ed[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x5ab8ed[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x5ab8ed[_0x1cd3('0x43b')]()});}});}function _0x5bfd90(_0x1f5e2d){_0x52f805['errors']=[];var _0x532d7a=_0x1f8f57[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xd3a'))[_0x1cd3('0xd3b')]('The\x20smsDisposition\x20will\x20be\x20deleted.')[_0x1cd3('0xd3d')]('Delete\x20SmsDisposition')['ok'](_0x1cd3('0xd3f'))[_0x1cd3('0x4d8')](_0x1cd3('0x674'))[_0x1cd3('0xd63')](_0x1f5e2d);_0x1f8f57[_0x1cd3('0x37e')](_0x532d7a)[_0x1cd3('0x77')](function(){_0x3a859b[_0x1cd3('0xb63')][_0x1cd3('0xa1c')]({'id':_0x52f805[_0x1cd3('0x2074')]['id']})['$promise']['then'](function(){_[_0x1cd3('0x383')](_0x52f805[_0x1cd3('0x207a')],{'id':_0x52f805[_0x1cd3('0x2074')]['id']});_0x6c3350['success']({'title':_0x1cd3('0x2082'),'msg':(_0x52f805[_0x1cd3('0x2074')]['name']||_0x1cd3('0x2074'))+_0x1cd3('0xd41')});_0xe0db7e(_0x52f805[_0x1cd3('0x2074')]);})[_0x1cd3('0xfd')](function(_0x3e1843){if(_0x3e1843[_0x1cd3('0x439')]&&_0x3e1843['data'][_0x1cd3('0xd34')]&&_0x3e1843[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')]){_0x52f805[_0x1cd3('0xd34')]=_0x3e1843['data']['errors']||[{'message':_0x3e1843[_0x1cd3('0x43b')](),'type':_0x1cd3('0x12ed')}];for(var _0x798b77=0x0;_0x798b77<_0x3e1843[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0x798b77++){_0x6c3350['error']({'title':_0x3e1843[_0x1cd3('0x439')]['errors'][_0x798b77][_0x1cd3('0x424')],'msg':_0x3e1843['data']['errors'][_0x798b77][_0x1cd3('0x43a')]});}}else{_0x6c3350['error']({'title':_0x3e1843[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x3e1843[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x3e1843[_0x1cd3('0xd35')]:_0x1cd3('0x12ed'),'msg':_0x3e1843['data']?JSON[_0x1cd3('0x438')](_0x3e1843[_0x1cd3('0x439')]['message']):_0x3e1843['message']||_0x3e1843[_0x1cd3('0x43b')]()});}});},function(){});}function _0x4f7187(_0x39ba74){return _0x39ba74===null?undefined:new Date(_0x39ba74);}function _0xe0db7e(_0x2c3e2a){_0x1f8f57['hide'](_0x2c3e2a);}}}());(function(){'use strict';_0x30ac7d[_0x1cd3('0xc')]=['$state',_0x1cd3('0xd24'),_0x1cd3('0x3c5'),'$document',_0x1cd3('0x3f7'),_0x1cd3('0x463'),_0x1cd3('0xc49'),_0x1cd3('0x370'),'toasty',_0x1cd3('0x56'),_0x1cd3('0xac5'),_0x1cd3('0x390')];angular[_0x1cd3('0x0')](_0x1cd3('0x30'))['controller'](_0x1cd3('0x2083'),_0x30ac7d);function _0x30ac7d(_0x3d1fb0,_0x98eabd,_0x4fcd2d,_0xe0745c,_0x141af5,_0x5599ff,_0x16a42a,_0x59f4f1,_0x437ee4,_0x5e9a11,_0x228f34,_0x4f812e){var _0x35258c=this;_0x35258c[_0x1cd3('0x3ca')]=_0x5e9a11[_0x1cd3('0x5d')]();_0x35258c['license']=_0x5599ff;_0x35258c['setting']=_0x16a42a;_0x35258c[_0x1cd3('0xd29')]=_0x35258c[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x35258c[_0x1cd3('0xd22')]=_0x98eabd[_0x1cd3('0x3b0')]()+_0x1cd3('0x11cf')+_0x98eabd[_0x1cd3('0x3ac')]();_0x35258c[_0x1cd3('0xac5')]=_0x228f34||_0x3d1fb0[_0x1cd3('0x36a')]['smsAccount']||{};_0x35258c[_0x1cd3('0x390')]=_0x4f812e&&_0x4f812e[_0x1cd3('0x466')]==0x1?_0x4f812e[_0x1cd3('0xf6')][0x0]:null;_0x35258c[_0x1cd3('0xd27')]=_0x5e9a11[_0x1cd3('0xd44')](_0x35258c[_0x1cd3('0x390')]?_0x35258c[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);_0x35258c[_0x1cd3('0xd28')]={};_0x35258c[_0x1cd3('0xe5f')]=_0x3d1fb0[_0x1cd3('0x36a')][_0x1cd3('0x1418')]||0x0;_0x35258c[_0x1cd3('0x119b')]=_0x378ab2;_0x35258c[_0x1cd3('0x11d0')]=_0x437ee4[_0x1cd3('0x654')];_0x35258c[_0x1cd3('0x2084')]=_0x16b5ea;_0x35258c[_0x1cd3('0x202a')]=_0x29bf07;_0x5e9a11[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x59f4f1[_0x1cd3('0xc8f')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x4bf01e){_0x35258c[_0x1cd3('0xf5')]=_0x4bf01e[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x31d318){_0x437ee4[_0x1cd3('0x434')]({'title':_0x31d318[_0x1cd3('0x3a6')]?'API:'+_0x31d318[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x31d318[_0x1cd3('0xd35')]:'SYSTEM:GET_LISTS','msg':_0x31d318[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x31d318['data']):_0x31d318[_0x1cd3('0x43b')]()});}):_0x59f4f1[_0x1cd3('0xc8f')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98')})[_0x1cd3('0x81')]['then'](function(_0xc73dfb){_0x35258c[_0x1cd3('0xf5')]=_0xc73dfb[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x59f4f1[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x35258c['currentUser'][_0x1cd3('0x5e')],'sectionId':0x12d})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x2d3a61){var _0x36a04e=_0x2d3a61&&_0x2d3a61[_0x1cd3('0xf6')]?_0x2d3a61[_0x1cd3('0xf6')][0x0]:null;if(!_0x36a04e){var _0x4f626c=[];var _0x71b850=null;if(_0x35258c[_0x1cd3('0xac5')]){_0x71b850=_['find'](_0x35258c['lists'],{'id':Number(_0x35258c[_0x1cd3('0xac5')][_0x1cd3('0x106')])});}for(var _0x390ac5=0x0;_0x390ac5<_0x35258c[_0x1cd3('0xf5')][_0x1cd3('0x7a')];_0x390ac5++){if(_0x71b850&&_0x35258c[_0x1cd3('0xf5')][_0x390ac5]['id']===_0x71b850['id']){_0x35258c[_0x1cd3('0xf5')][_0x390ac5][_0x1cd3('0xf4a')]=![];_0x4f626c['push'](_0x35258c[_0x1cd3('0xf5')][_0x390ac5]);}}_0x35258c[_0x1cd3('0xf5')]=_0x4f626c;}else{if(!_0x36a04e[_0x1cd3('0x391')]){return _0x59f4f1[_0x1cd3('0x392')]['get']({'sectionId':_0x36a04e['id']})[_0x1cd3('0x81')]['then'](function(_0x28b045){var _0x27bef4=_[_0x1cd3('0x3d9')](_0x28b045[_0x1cd3('0xf6')],function(_0xeafa8){return _[_0x1cd3('0x442')](_0x35258c['lists'],{'id':_0xeafa8[_0x1cd3('0xe8e')]});});var _0x284aac=null;if(_0x35258c[_0x1cd3('0xac5')]){_0x284aac=_[_0x1cd3('0x442')](_0x35258c[_0x1cd3('0xf5')],{'id':Number(_0x35258c[_0x1cd3('0xac5')][_0x1cd3('0x106')])});}if(_0x284aac&&!_[_0x1cd3('0x38d')](_0x27bef4,['id',_0x284aac['id']])){var _0x27dea5=_[_0x1cd3('0x442')](_0x35258c['lists'],{'id':_0x284aac['id']});_0x27dea5[_0x1cd3('0xf4a')]=![];_0x27bef4[_0x1cd3('0x7b')](_0x27dea5);}_0x35258c[_0x1cd3('0xf5')]=_0x27bef4;});}}})['catch'](function(_0xe65697){_0x437ee4['error']({'title':_0xe65697[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0xe65697['status']+_0x1cd3('0x436')+_0xe65697[_0x1cd3('0xd35')]:_0x1cd3('0x137f'),'msg':_0xe65697['data']?JSON[_0x1cd3('0x438')](_0xe65697[_0x1cd3('0x439')]):_0xe65697[_0x1cd3('0x43b')]()});});_0x5e9a11[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x59f4f1[_0x1cd3('0x63e')][_0x1cd3('0x361')]({'fields':'name,id','sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')]['then'](function(_0xb6b2d4){_0x35258c[_0x1cd3('0x1381')]=_0xb6b2d4[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x3499e7){_0x437ee4['error']({'title':_0x3499e7[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x3499e7[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x3499e7[_0x1cd3('0xd35')]:_0x1cd3('0x1382'),'msg':_0x3499e7[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x3499e7['data']):_0x3499e7[_0x1cd3('0x43b')]()});}):_0x59f4f1['pause'][_0x1cd3('0x361')]({'fields':'name,id','sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x84114e){_0x35258c[_0x1cd3('0x1381')]=_0x84114e[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x59f4f1[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x35258c['currentUser'][_0x1cd3('0x5e')],'sectionId':0x3ed})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x394877){var _0x1718db=_0x394877&&_0x394877[_0x1cd3('0xf6')]?_0x394877[_0x1cd3('0xf6')][0x0]:null;if(!_0x1718db){_0x35258c[_0x1cd3('0x1381')]=[];}else{if(!_0x1718db[_0x1cd3('0x391')]){return _0x59f4f1[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x1718db['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x11350c){var _0x849933=_[_0x1cd3('0x3d9')](_0x11350c[_0x1cd3('0xf6')],function(_0x276b10){return _[_0x1cd3('0x442')](_0x35258c[_0x1cd3('0x1381')],{'id':_0x276b10[_0x1cd3('0xe8e')]});});_0x35258c['pauses'][_0x1cd3('0x394')](function(_0x11c631){if(!_[_0x1cd3('0x38d')](_0x849933,['id',_0x11c631['id']])){_0x11c631[_0x1cd3('0xf4a')]=![];}_0x849933[_0x1cd3('0x7b')](_0x11c631);});_0x35258c['pauses']=_0x849933;});}}})[_0x1cd3('0xfd')](function(_0x3086ce){_0x437ee4[_0x1cd3('0x434')]({'title':_0x3086ce[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x3086ce[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x3086ce[_0x1cd3('0xd35')]:'SYSTEM:GETpauses','msg':_0x3086ce[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x3086ce[_0x1cd3('0x439')]):_0x3086ce['toString']()});});function _0x378ab2(_0x87c6e7,_0x677114){_0x4fcd2d['show']({'controller':_0x1cd3('0x2085'),'controllerAs':'vm','templateUrl':_0x1cd3('0x2086'),'parent':angular[_0x1cd3('0x37f')](_0xe0745c[_0x1cd3('0x380')]),'targetEvent':_0x677114,'clickOutsideToClose':!![],'locals':{'smsAccount':_0x87c6e7,'smsAccounts':_0x35258c['smsAccounts']?_0x35258c[_0x1cd3('0xefe')][_0x1cd3('0xf6')]:[],'crudPermissions':_0x35258c[_0x1cd3('0xd27')],'realtime':![]}});}function _0x16b5ea(){_0x3d1fb0['go'](_0x1cd3('0x2087'),{},{'reload':'app.sms.smsAccounts'});}function _0x29bf07(){_0x59f4f1[_0x1cd3('0xac5')][_0x1cd3('0x378')]({'id':_0x35258c[_0x1cd3('0xac5')]['id']},_0x35258c['smsAccount'])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x437ee4[_0x1cd3('0x473')]({'title':_0x1cd3('0x2088'),'msg':_0x35258c[_0x1cd3('0xac5')]['name']?_0x35258c['smsAccount'][_0x1cd3('0x98')]+'\x20has\x20been\x20updated!':''});})[_0x1cd3('0xfd')](function(_0x11ba0e){_0x437ee4[_0x1cd3('0x434')]({'title':_0x11ba0e['status']?_0x1cd3('0x435')+_0x11ba0e[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x11ba0e['statusText']:_0x1cd3('0x2056'),'msg':_0x11ba0e[_0x1cd3('0x439')]?JSON['stringify'](_0x11ba0e[_0x1cd3('0x439')]):_0x11ba0e['toString']()});});}}}());(function(){'use strict';_0x57125e['$inject']=['$scope',_0x1cd3('0x371'),'$state',_0x1cd3('0x969'),_0x1cd3('0x3c5'),_0x1cd3('0x372'),'$timeout',_0x1cd3('0x3f7'),'smsAccounts','userProfile',_0x1cd3('0x390'),'api',_0x1cd3('0x2dd'),_0x1cd3('0x461'),_0x1cd3('0x56'),_0x1cd3('0x463'),_0x1cd3('0xc49')];angular[_0x1cd3('0x0')](_0x1cd3('0x30'))['controller']('SmsAccountsController',_0x57125e);function _0x57125e(_0x14a44e,_0x3153c1,_0x2d1b55,_0x57d309,_0x489cc2,_0x458e03,_0x219e15,_0x2eb062,_0x4b6f8c,_0x526282,_0x100bdd,_0x183499,_0x3ecfce,_0x181e2c,_0x198c52,_0x16bd7b,_0x16e2e0){var _0x333a0e=this;_0x333a0e[_0x1cd3('0x463')]=_0x16bd7b;_0x333a0e[_0x1cd3('0xc49')]=_0x16e2e0;_0x333a0e[_0x1cd3('0x3ca')]=_0x198c52['getCurrentUser']();_0x333a0e[_0x1cd3('0xefe')]=_0x4b6f8c||{'count':0x0,'rows':[]};_0x333a0e[_0x1cd3('0x38a')]=_0x526282;_0x333a0e['userProfileSection']=_0x100bdd&&_0x100bdd[_0x1cd3('0x466')]==0x1?_0x100bdd[_0x1cd3('0xf6')][0x0]:null;_0x333a0e[_0x1cd3('0xd27')]=_0x198c52[_0x1cd3('0xd44')](_0x333a0e[_0x1cd3('0x390')]?_0x333a0e[_0x1cd3('0x390')]['crudPermissions']:null);_0x333a0e['table']=_0x1cd3('0xefe');_0x333a0e['listOrder']='';_0x333a0e[_0x1cd3('0xd47')]=null;_0x333a0e[_0x1cd3('0x2089')]=[];_0x333a0e[_0x1cd3('0x3d4')]={'fields':_0x1cd3('0x270'),'sort':_0x1cd3('0x5b'),'limit':0xa,'page':0x1};_0x333a0e[_0x1cd3('0x135a')]=_['keyBy']([{'option':_0x1cd3('0x208a'),'value':_0x1cd3('0x208b')},{'option':_0x1cd3('0x208c'),'value':_0x1cd3('0x208d')},{'option':_0x1cd3('0x208e'),'value':_0x1cd3('0x208f')},{'option':_0x1cd3('0x2090'),'value':_0x1cd3('0x2091')},{'option':'Plivo','value':_0x1cd3('0x2092')},{'option':'Infobip','value':_0x1cd3('0x2093')},{'option':_0x1cd3('0x2094'),'value':_0x1cd3('0x2095')},{'option':_0x1cd3('0x2096'),'value':_0x1cd3('0x2097')},{'option':'Intelepeer','value':_0x1cd3('0x2098')}],function(_0x31f5ee){return _[_0x1cd3('0x3f1')](_0x31f5ee['value'],new RegExp('\x27','g'),'');});_0x333a0e[_0x1cd3('0x2099')]=_[_0x1cd3('0xe2d')]([{'option':_0x1cd3('0x209a'),'value':_0x1cd3('0x209b')},{'option':'Classic','value':_0x1cd3('0x209c')},{'option':_0x1cd3('0x209d'),'value':_0x1cd3('0x209e')}],function(_0x80ca06){return _[_0x1cd3('0x3f1')](_0x80ca06[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x333a0e['editstate']=_0x704cc2;_0x333a0e['interactionsgoto']=_0x15571f;_0x333a0e['agentadddialog']=_0xd0dd01;_0x333a0e[_0x1cd3('0xecc')]=_0x5c055e;_0x333a0e[_0x1cd3('0x473')]=_0x3a058f;_0x333a0e['getSmsAccounts']=_0x210215;_0x333a0e[_0x1cd3('0x209f')]=_0x20ac6a;_0x333a0e[_0x1cd3('0x20a0')]=_0xb532e7;_0x333a0e[_0x1cd3('0x20a1')]=_0x3fc2ef;_0x333a0e['deleteSelectedSmsAccounts']=_0x3c41cd;_0x333a0e['deselectSmsAccounts']=_0x360936;_0x333a0e[_0x1cd3('0x20a2')]=_0x513d3b;_0x198c52[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x183499[_0x1cd3('0xc8f')]['get']({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x7cae21){_0x333a0e['lists']=_0x7cae21[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x2d4cd0){_0x181e2c[_0x1cd3('0x434')]({'title':_0x2d4cd0[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x2d4cd0[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x2d4cd0[_0x1cd3('0xd35')]:_0x1cd3('0x11f3'),'msg':_0x2d4cd0[_0x1cd3('0x439')]?JSON['stringify'](_0x2d4cd0[_0x1cd3('0x439')]):_0x2d4cd0[_0x1cd3('0x43b')]()});}):_0x183499[_0x1cd3('0xc8f')][_0x1cd3('0x361')]({'fields':'id,name','sort':_0x1cd3('0x98')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x3fcb96){_0x333a0e[_0x1cd3('0xf5')]=_0x3fcb96['rows']||[];})[_0x1cd3('0x77')](function(){return _0x183499[_0x1cd3('0x390')]['get']({'userProfileId':_0x333a0e['currentUser']['userProfileId'],'sectionId':0x12d})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x5b5594){var _0x445d44=_0x5b5594&&_0x5b5594[_0x1cd3('0xf6')]?_0x5b5594['rows'][0x0]:null;if(!_0x445d44){var _0x450482=[];var _0x43a23d=null;if(_0x333a0e[_0x1cd3('0xac5')]){_0x43a23d=_['find'](_0x333a0e[_0x1cd3('0xf5')],{'id':Number(_0x333a0e['smsAccount'][_0x1cd3('0x106')])});}for(var _0x2fffa6=0x0;_0x2fffa6<_0x333a0e[_0x1cd3('0xf5')][_0x1cd3('0x7a')];_0x2fffa6++){if(_0x43a23d&&_0x333a0e[_0x1cd3('0xf5')][_0x2fffa6]['id']===_0x43a23d['id']){_0x333a0e['lists'][_0x2fffa6][_0x1cd3('0xf4a')]=![];_0x450482['push'](_0x333a0e['lists'][_0x2fffa6]);}}_0x333a0e[_0x1cd3('0xf5')]=_0x450482;}else{if(!_0x445d44[_0x1cd3('0x391')]){return _0x183499['userProfileResource'][_0x1cd3('0x361')]({'sectionId':_0x445d44['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x56fa13){var _0x155473=_['map'](_0x56fa13['rows'],function(_0xf7f5f5){return _[_0x1cd3('0x442')](_0x333a0e[_0x1cd3('0xf5')],{'id':_0xf7f5f5[_0x1cd3('0xe8e')]});});var _0x5efa5f=null;if(_0x333a0e[_0x1cd3('0xac5')]){_0x5efa5f=_['find'](_0x333a0e[_0x1cd3('0xf5')],{'id':Number(_0x333a0e[_0x1cd3('0xac5')][_0x1cd3('0x106')])});}if(_0x5efa5f&&!_[_0x1cd3('0x38d')](_0x155473,['id',_0x5efa5f['id']])){var _0x1db117=_[_0x1cd3('0x442')](_0x333a0e[_0x1cd3('0xf5')],{'id':_0x5efa5f['id']});_0x1db117[_0x1cd3('0xf4a')]=![];_0x155473[_0x1cd3('0x7b')](_0x1db117);}_0x333a0e[_0x1cd3('0xf5')]=_0x155473;});}}})['catch'](function(_0xdc389){_0x181e2c['error']({'title':_0xdc389[_0x1cd3('0x3a6')]?'API:'+_0xdc389[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0xdc389[_0x1cd3('0xd35')]:'SYSTEM:GETlists','msg':_0xdc389[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0xdc389[_0x1cd3('0x439')]):_0xdc389['toString']()});});function _0x704cc2(_0x502bec,_0x25fdbf){_0x2d1b55['go']('app.sms.smsAccounts.edit',{'id':_0x502bec['id'],'smsAccount':_0x502bec,'crudPermissions':_0x333a0e[_0x1cd3('0xd27')]});}function _0x15571f(_0x32b5bc,_0x2f779d){_0x2d1b55['go'](_0x1cd3('0x271'),{'id':_0x32b5bc['id'],'tab':0x5});}function _0xd0dd01(_0x49e535,_0x2d368d){_0x489cc2[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x2085'),'controllerAs':'vm','templateUrl':_0x1cd3('0x2086'),'parent':angular[_0x1cd3('0x37f')](_0x458e03['body']),'targetEvent':_0x2d368d,'clickOutsideToClose':!![],'locals':{'smsAccount':_0x49e535,'smsAccounts':_0x333a0e[_0x1cd3('0xefe')]?_0x333a0e[_0x1cd3('0xefe')][_0x1cd3('0xf6')]:[],'crudPermissions':_0x333a0e[_0x1cd3('0xd27')],'realtime':![]}});}function _0x5c055e(_0x3790be,_0x50146e){var _0x3d5d2a=_0x489cc2[_0x1cd3('0xd39')]()[_0x1cd3('0x486')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20'+_[_0x1cd3('0xd50')](_0x1cd3('0xac5'))+'?')[_0x1cd3('0xd60')](_0x1cd3('0xd51')+(_0x3790be[_0x1cd3('0x98')]||_0x1cd3('0xac5'))+'</b>'+_0x1cd3('0xd53'))['ariaLabel']('delete\x20smsAccount')['targetEvent'](_0x50146e)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x489cc2[_0x1cd3('0x37e')](_0x3d5d2a)[_0x1cd3('0x77')](function(){_0xb532e7(_0x3790be);},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}var _0x1ae887=!![];var _0x376513=0x1;_0x14a44e[_0x1cd3('0x4d6')](_0x1cd3('0xd56'),function(_0x2dc9b5,_0x3c884f){if(_0x1ae887){_0x219e15(function(){_0x1ae887=![];});}else{if(!_0x3c884f){_0x376513=_0x333a0e[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0x2dc9b5!==_0x3c884f){_0x333a0e['query'][_0x1cd3('0x8fd')]=0x1;}if(!_0x2dc9b5){_0x333a0e['query'][_0x1cd3('0x8fd')]=_0x376513;}_0x333a0e[_0x1cd3('0x15f5')]();}});function _0x3a058f(_0x28ce32){_0x333a0e['smsAccounts']=_0x28ce32||{'count':0x0,'rows':[]};}function _0x210215(){_0x333a0e[_0x1cd3('0x3d4')]['offset']=(_0x333a0e['query'][_0x1cd3('0x8fd')]-0x1)*_0x333a0e[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];if(_0x198c52['hasRole']('admin')){_0x333a0e[_0x1cd3('0x539')]=_0x183499[_0x1cd3('0xac5')][_0x1cd3('0x361')](_0x333a0e['query'],_0x3a058f)[_0x1cd3('0x81')];}else{_0x333a0e[_0x1cd3('0x3d4')]['id']=_0x333a0e[_0x1cd3('0x38a')]['id'];_0x333a0e[_0x1cd3('0x3d4')][_0x1cd3('0xd58')]='SmsAccounts';_0x333a0e[_0x1cd3('0x539')]=_0x183499[_0x1cd3('0x38a')][_0x1cd3('0xd59')](_0x333a0e['query'],_0x3a058f)[_0x1cd3('0x81')];}}function _0x20ac6a(_0x111074,_0x4a6819){_0x489cc2[_0x1cd3('0x37e')]({'controller':'CreateOrEditSmsAccountDialogController','controllerAs':'vm','templateUrl':_0x1cd3('0x20a3'),'parent':angular['element'](_0x458e03[_0x1cd3('0x380')]),'targetEvent':_0x111074,'clickOutsideToClose':!![],'locals':{'smsAccount':_0x4a6819,'smsAccounts':_0x333a0e['smsAccounts'][_0x1cd3('0xf6')],'license':_0x333a0e[_0x1cd3('0x463')],'setting':_0x333a0e[_0x1cd3('0xc49')],'crudPermissions':_0x333a0e[_0x1cd3('0xd27')]}});}function _0xb532e7(_0x4e0fa9){_0x183499[_0x1cd3('0xac5')][_0x1cd3('0xa1c')]({'id':_0x4e0fa9['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_['remove'](_0x333a0e['smsAccounts']['rows'],{'id':_0x4e0fa9['id']});_0x333a0e[_0x1cd3('0xefe')][_0x1cd3('0x466')]-=0x1;if(!_0x333a0e[_0x1cd3('0xefe')][_0x1cd3('0xf6')]['length']){_0x333a0e['getSmsAccounts']();}_0x181e2c['success']({'title':_[_0x1cd3('0xd50')](_0x1cd3('0x20a4'))+_0x1cd3('0xd5c'),'msg':_0x4e0fa9['name']?_0x4e0fa9[_0x1cd3('0x98')]+_0x1cd3('0xd41'):''});})[_0x1cd3('0xfd')](function(_0x32592f){if(_0x32592f[_0x1cd3('0x439')]&&_0x32592f[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x32592f[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x333a0e[_0x1cd3('0xd34')]=_0x32592f[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x32592f[_0x1cd3('0x43b')](),'type':_0x1cd3('0x20a5')}];for(var _0x21aae2=0x0;_0x21aae2<_0x32592f[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0x21aae2++){_0x181e2c['error']({'title':_0x32592f['data']['errors'][_0x21aae2]['type'],'msg':_0x32592f[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x21aae2][_0x1cd3('0x43a')]});}}else{_0x181e2c[_0x1cd3('0x434')]({'title':_0x32592f[_0x1cd3('0x3a6')]?'API:'+_0x32592f[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x32592f[_0x1cd3('0xd35')]:_0x1cd3('0x20a5'),'msg':_0x32592f['data']?JSON[_0x1cd3('0x438')](_0x32592f[_0x1cd3('0x439')]['message']):_0x32592f[_0x1cd3('0x43a')]||_0x32592f['toString']()});}});}function _0x3fc2ef(){var _0x27b5e2=angular[_0x1cd3('0x429')](_0x333a0e[_0x1cd3('0x2089')]);_0x333a0e['selectedSmsAccounts']=[];return _0x27b5e2;}function _0x3c41cd(_0x2e6530){var _0x3b4a29=_0x489cc2[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x20a6'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x333a0e[_0x1cd3('0x2089')][_0x1cd3('0x7a')]+_0x1cd3('0xd61')+'\x20will\x20be\x20deleted.')[_0x1cd3('0xd3d')](_0x1cd3('0x20a7'))[_0x1cd3('0xd63')](_0x2e6530)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x489cc2[_0x1cd3('0x37e')](_0x3b4a29)[_0x1cd3('0x77')](function(){_0x333a0e[_0x1cd3('0x2089')]['forEach'](function(_0x21b303){_0xb532e7(_0x21b303);});_0x333a0e[_0x1cd3('0x2089')]=[];});}function _0x360936(){_0x333a0e[_0x1cd3('0x2089')]=[];}function _0x513d3b(){_0x333a0e[_0x1cd3('0x2089')]=_0x333a0e['smsAccounts'][_0x1cd3('0xf6')];}}}());(function(){'use strict';_0xca8ea5['$inject']=[_0x1cd3('0x460'),_0x1cd3('0x53e'),'$location','$mdDialog','$q',_0x1cd3('0x3f7'),_0x1cd3('0x461'),_0x1cd3('0x170d'),_0x1cd3('0xade'),_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0x463'),_0x1cd3('0xc49'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x30'))[_0x1cd3('0x39b')](_0x1cd3('0x2021'),_0xca8ea5);function _0xca8ea5(_0x26ac47,_0x5e9212,_0x1ada55,_0x1c63c9,_0x1e19da,_0x4bf593,_0x1053fb,_0x212b1c,_0x1cec6a,_0x407f54,_0x4d2264,_0x5c5084,_0x291b75,_0x396477){var _0x1606ba=this;_0x1606ba[_0x1cd3('0x3ca')]=_0x4d2264[_0x1cd3('0x5d')]();_0x1606ba['errors']=[];_0x1606ba[_0x1cd3('0xc49')]=_0x291b75;_0x1606ba['license']=_0x5c5084;_0x1606ba[_0x1cd3('0xd27')]=_0x396477;_0x1606ba[_0x1cd3('0xd28')]={};_0x1606ba['passwordPattern']=_0x1606ba['setting']&&_0x1606ba[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x1606ba[_0x1cd3('0x486')]=_0x1cd3('0x20a8');_0x1606ba[_0x1cd3('0xade')]=angular['copy'](_0x1cec6a);_0x1606ba[_0x1cd3('0x170d')]=_0x212b1c;_0x1606ba[_0x1cd3('0x20a9')]=![];if(!_0x1606ba['smsQueue']){_0x1606ba[_0x1cd3('0xade')]={'strategy':_0x1cd3('0x11b2'),'timeout':0xa};_0x1606ba['title']='SMS.NEW_SMSQUEUE';_0x1606ba['newSmsQueue']=!![];}_0x1606ba[_0x1cd3('0x20aa')]=_0x41e629;_0x1606ba[_0x1cd3('0x20ab')]=_0x5cd716;_0x1606ba['deleteSmsQueue']=_0x2ff9ee;_0x1606ba[_0x1cd3('0xd31')]=_0x179e3a;_0x1606ba[_0x1cd3('0x39c')]=_0xde6e11;function _0x41e629(){_0x1606ba['errors']=[];_0x407f54[_0x1cd3('0xade')][_0x1cd3('0xd6d')](_0x1606ba[_0x1cd3('0xade')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x1235c7){_0x1606ba[_0x1cd3('0x170d')][_0x1cd3('0x621')](_0x1235c7[_0x1cd3('0xd32')]());_0x1053fb['success']({'title':_0x1cd3('0x20ac'),'msg':_0x1606ba[_0x1cd3('0xade')][_0x1cd3('0x98')]?_0x1606ba[_0x1cd3('0xade')][_0x1cd3('0x98')]+'\x20has\x20been\x20created!':''});_0xde6e11(_0x1235c7);})[_0x1cd3('0xfd')](function(_0x135b01){if(_0x135b01[_0x1cd3('0x439')]&&_0x135b01[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x135b01['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x1606ba[_0x1cd3('0xd34')]=_0x135b01['data'][_0x1cd3('0xd34')]||[{'message':_0x135b01[_0x1cd3('0x43b')](),'type':_0x1cd3('0x20ad')}];for(var _0xc6bd0e=0x0;_0xc6bd0e<_0x135b01[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0xc6bd0e+=0x1){_0x1053fb['error']({'title':_0x135b01['data'][_0x1cd3('0xd34')][_0xc6bd0e][_0x1cd3('0x424')],'msg':_0x135b01['data'][_0x1cd3('0xd34')][_0xc6bd0e][_0x1cd3('0x43a')]});}}else{_0x1053fb[_0x1cd3('0x434')]({'title':_0x135b01['status']?'API:'+_0x135b01[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x135b01['statusText']:_0x1cd3('0x20ad'),'msg':_0x135b01['data']?JSON[_0x1cd3('0x438')](_0x135b01[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x135b01[_0x1cd3('0x43b')]()});}});}function _0x5cd716(){_0x1606ba['errors']=[];_0x407f54[_0x1cd3('0xade')][_0x1cd3('0x378')]({'id':_0x1606ba[_0x1cd3('0xade')]['id']},_0x1606ba['smsQueue'])[_0x1cd3('0x81')]['then'](function(_0x36a1a0){var _0x53f05f=_[_0x1cd3('0x442')](_0x1606ba[_0x1cd3('0x170d')],{'id':_0x36a1a0['id']});if(_0x53f05f){_['merge'](_0x53f05f,_[_0x1cd3('0x5e8')](_0x36a1a0['toJSON'](),_['keys'](_0x53f05f)));}_0x1053fb[_0x1cd3('0x473')]({'title':_0x1cd3('0x20ae'),'msg':_0x1606ba[_0x1cd3('0xade')][_0x1cd3('0x98')]?_0x1606ba['smsQueue'][_0x1cd3('0x98')]+'\x20has\x20been\x20saved!':''});_0xde6e11(_0x36a1a0);})[_0x1cd3('0xfd')](function(_0xeab68f){if(_0xeab68f[_0x1cd3('0x439')]&&_0xeab68f['data']['errors']&&_0xeab68f['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x1606ba[_0x1cd3('0xd34')]=_0xeab68f[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0xeab68f[_0x1cd3('0x43b')](),'type':_0x1cd3('0x20af')}];for(var _0x4e24ff=0x0;_0x4e24ff<_0xeab68f['data']['errors'][_0x1cd3('0x7a')];_0x4e24ff++){_0x1053fb[_0x1cd3('0x434')]({'title':_0xeab68f[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x4e24ff]['type'],'msg':_0xeab68f[_0x1cd3('0x439')]['errors'][_0x4e24ff][_0x1cd3('0x43a')]});}}else{_0x1053fb['error']({'title':_0xeab68f[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0xeab68f[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0xeab68f[_0x1cd3('0xd35')]:_0x1cd3('0x20af'),'msg':_0xeab68f['data']?JSON[_0x1cd3('0x438')](_0xeab68f[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0xeab68f['toString']()});}});}function _0x2ff9ee(_0x12ac14){_0x1606ba[_0x1cd3('0xd34')]=[];var _0x55c2ec=_0x1c63c9[_0x1cd3('0xd39')]()[_0x1cd3('0x486')]('Are\x20you\x20sure?')[_0x1cd3('0xd3b')]('The\x20smsQueue\x20will\x20be\x20deleted.')[_0x1cd3('0xd3d')](_0x1cd3('0x20b0'))['ok']('Delete')[_0x1cd3('0x4d8')](_0x1cd3('0x674'))[_0x1cd3('0xd63')](_0x12ac14);_0x1c63c9[_0x1cd3('0x37e')](_0x55c2ec)[_0x1cd3('0x77')](function(){_0x407f54['smsQueue'][_0x1cd3('0xa1c')]({'id':_0x1606ba['smsQueue']['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x1606ba[_0x1cd3('0x170d')],{'id':_0x1606ba[_0x1cd3('0xade')]['id']});_0x1053fb['success']({'title':'SmsQueue\x20properly\x20deleted!','msg':(_0x1606ba[_0x1cd3('0xade')]['name']||'smsQueue')+'\x20has\x20been\x20deleted!'});_0xde6e11(_0x1606ba[_0x1cd3('0xade')]);})[_0x1cd3('0xfd')](function(_0x15a49a){if(_0x15a49a[_0x1cd3('0x439')]&&_0x15a49a[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x15a49a[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')]){_0x1606ba['errors']=_0x15a49a[_0x1cd3('0x439')]['errors']||[{'message':_0x15a49a[_0x1cd3('0x43b')](),'type':_0x1cd3('0x20b1')}];for(var _0x140a61=0x0;_0x140a61<_0x15a49a[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x140a61++){_0x1053fb['error']({'title':_0x15a49a[_0x1cd3('0x439')]['errors'][_0x140a61][_0x1cd3('0x424')],'msg':_0x15a49a[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x140a61][_0x1cd3('0x43a')]});}}else{_0x1053fb['error']({'title':_0x15a49a['status']?_0x1cd3('0x435')+_0x15a49a['status']+_0x1cd3('0x436')+_0x15a49a['statusText']:_0x1cd3('0x20b1'),'msg':_0x15a49a[_0x1cd3('0x439')]?JSON['stringify'](_0x15a49a[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x15a49a['message']||_0x15a49a[_0x1cd3('0x43b')]()});}});},function(){});}function _0x179e3a(_0x26a182){return _0x26a182===null?undefined:new Date(_0x26a182);}function _0xde6e11(_0x559f05){_0x1c63c9[_0x1cd3('0x39d')](_0x559f05);}}}());(function(){'use strict';_0x309869[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),'$q',_0x1cd3('0x461'),'api','smsQueue',_0x1cd3('0x170d'),'realtime',_0x1cd3('0x3f7'),_0x1cd3('0x56'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')]('app.sms')['controller'](_0x1cd3('0x2022'),_0x309869);function _0x309869(_0x177370,_0x3c5aee,_0x24311e,_0x1212a2,_0x2d410e,_0x1ca7b0,_0x3dbeed,_0x3b174a,_0x4b5db6,_0x4f70a3){var _0x20b48c=this;_0x20b48c[_0x1cd3('0x3ca')]=_0x4b5db6['getCurrentUser']();_0x20b48c[_0x1cd3('0xade')]=_0x2d410e;_0x20b48c[_0x1cd3('0xd27')]=_0x4f70a3;_0x20b48c[_0x1cd3('0x11b9')]=_0x3dbeed;_0x20b48c[_0x1cd3('0x493')]=[];_0x20b48c[_0x1cd3('0x11ba')]=[];_0x20b48c[_0x1cd3('0x492')]=[];_0x20b48c[_0x1cd3('0x11bb')]=[];_0x20b48c[_0x1cd3('0x11be')]=[];_0x20b48c[_0x1cd3('0x11c6')]=![];_0x20b48c[_0x1cd3('0x703')]=_0x314972;_0x20b48c[_0x1cd3('0x11bc')]=_0x35d13b;_0x20b48c[_0x1cd3('0x39c')]=_0x5490d8;_0x20b48c[_0x1cd3('0x1145')]={'readOnly':!_0x20b48c['crudPermissions'][_0x1cd3('0xe3b')],'items':[],'selectedItems':[],'showSelectAndDeselectAll':!![],'orderBy':_0x1cd3('0x98'),'line1':_0x1cd3('0xd3'),'line2':[_0x1cd3('0x98'),'internal'],'line3':'','labelAll':_0x3b174a[_0x1cd3('0x44a')]('SMS.ALL_AGENTS'),'labelSelected':_0x3b174a[_0x1cd3('0x44a')](_0x1cd3('0x203d')),'transferCallback':function(_0x2d49cc,_0x40cf91){var _0x1f21c6=_[_0x1cd3('0x11c8')](_0x20b48c['startingSelectedItems'],_0x20b48c[_0x1cd3('0x492')],'id');_0x20b48c[_0x1cd3('0x11c6')]=_[_0x1cd3('0x398')](_0x1f21c6)?![]:!![];}};function _0x314972(){return _0x4b5db6[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x5f5c3c()['catch'](function(_0x19b529){_0x24311e['error']({'title':_0x19b529[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x19b529[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x19b529['statusText']:'SYSTEM:GET_AGENTS','msg':_0x19b529[_0x1cd3('0x3a6')]?JSON['stringify'](_0x19b529[_0x1cd3('0x439')]):_0x19b529[_0x1cd3('0x43b')]()});}):_0x109d90()[_0x1cd3('0x77')](function(_0x575c39){_0x20b48c[_0x1cd3('0xd58')]=_0x575c39;return _0x5f5c3c();})[_0x1cd3('0xfd')](function(_0x384178){_0x24311e[_0x1cd3('0x434')]({'title':_0x384178[_0x1cd3('0x3a6')]?'API:'+_0x384178[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x384178['statusText']:_0x1cd3('0x11bf'),'msg':_0x384178[_0x1cd3('0x3a6')]?JSON[_0x1cd3('0x438')](_0x384178['data']):_0x384178[_0x1cd3('0x43b')]()});});}function _0x109d90(){return _0x3c5aee(function(_0x455547,_0x15419e){_0x1212a2[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x20b48c[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'name':_0x1cd3('0xd4')})[_0x1cd3('0x81')]['then'](function(_0x5e5550){var _0x2a2989=_0x5e5550&&_0x5e5550[_0x1cd3('0xf6')]?_0x5e5550[_0x1cd3('0xf6')][0x0]:null;_0x455547(_0x2a2989);})[_0x1cd3('0xfd')](function(_0x5d9b72){_0x15419e(_0x5d9b72);});});}function _0x5f5c3c(){return _0x3c5aee(function(_0x2f8842,_0x23a4d9){return _0x11ad45()[_0x1cd3('0x77')](function(_0xd284b3){_0x20b48c[_0x1cd3('0x493')]=_0xd284b3[_0x1cd3('0xf6')]?_0xd284b3[_0x1cd3('0xf6')]:[];if(_0x4b5db6[_0x1cd3('0x57')]('admin')){return _0xd284b3;}else{if(_0x20b48c[_0x1cd3('0xd58')]){return _0x20b48c[_0x1cd3('0xd58')]['autoAssociation']?_0xd284b3:_0x4bcc0f();}else{return null;}}})[_0x1cd3('0x77')](function(_0x4dc156){var _0x3c63e0=_0x4dc156&&_0x4dc156[_0x1cd3('0xf6')]?_0x4dc156[_0x1cd3('0xf6')]:[];_0x20b48c[_0x1cd3('0x11ba')]=_[_0x1cd3('0x3d9')](_0x3c63e0,function(_0x4256eb){return _[_0x1cd3('0x442')](_0x20b48c[_0x1cd3('0x493')],{'id':_0x4b5db6[_0x1cd3('0x57')](_0x1cd3('0x5f'))||_0x20b48c[_0x1cd3('0xd58')]['autoAssociation']?_0x4256eb['id']:_0x4256eb['resourceId']});});_0x20b48c[_0x1cd3('0x11bb')]=angular[_0x1cd3('0x429')](_0x20b48c[_0x1cd3('0x11ba')]);_0x20b48c['items']['forEach'](function(_0x48caeb){var _0x17d468=_[_0x1cd3('0x442')](_0x20b48c[_0x1cd3('0x11ba')],{'id':_0x48caeb['id']});if(_0x4b5db6['hasRole'](_0x1cd3('0x5f'))){_0x48caeb[_0x1cd3('0x490')]=!![];}else{_0x48caeb[_0x1cd3('0x490')]=typeof _0x17d468!==_0x1cd3('0x491')?!![]:![];}});return _0x4a5aab();})['then'](function(_0x3458b0){var _0x38c1cf=_0x3458b0&&_0x3458b0[_0x1cd3('0xf6')]?_0x3458b0[_0x1cd3('0xf6')]:[];_0x20b48c[_0x1cd3('0x492')]=_['map'](_0x38c1cf,function(_0x2987a7){var _0x20acb2=_[_0x1cd3('0x442')](_0x20b48c['items'],{'id':_0x2987a7['id']});_0x20acb2[_0x1cd3('0x1146')]=_0x2987a7[_0x1cd3('0x20b2')]?_0x1cd3('0x1503')+_0x2987a7[_0x1cd3('0x20b2')]['penalty']:'';_0x20acb2[_0x1cd3('0x311')]=_0x2987a7[_0x1cd3('0x3d0')](_0x1cd3('0x311'))?'<'+_0x2987a7[_0x1cd3('0x311')]+'>':'';return _0x20acb2;});_0x20b48c[_0x1cd3('0x11be')]=angular['copy'](_0x20b48c[_0x1cd3('0x492')]);_0x20b48c[_0x1cd3('0x1145')][_0x1cd3('0x492')]=_0x20b48c[_0x1cd3('0x492')];_0x20b48c[_0x1cd3('0x1145')][_0x1cd3('0x493')]=_['differenceBy'](_0x20b48c[_0x1cd3('0x11ba')],_0x20b48c[_0x1cd3('0x1145')][_0x1cd3('0x492')],'id');_0x2f8842();})[_0x1cd3('0xfd')](function(_0x5d53ea){_0x23a4d9(_0x5d53ea);});});}function _0x4bcc0f(){return _0x3c5aee(function(_0x3a3825,_0x203bbd){return _0x1212a2['userProfileResource'][_0x1cd3('0x361')]({'sectionId':_0x20b48c['section']['id'],'nolimit':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x1f918e){_0x3a3825(_0x1f918e);})[_0x1cd3('0xfd')](function(_0x1f1b18){_0x203bbd(_0x1f1b18);});});}function _0x4a5aab(){return _0x3c5aee(function(_0x7a438c,_0x2a03bb){return _0x1212a2['smsQueue'][_0x1cd3('0x1269')]({'id':_0x20b48c['smsQueue']['id'],'fields':_0x1cd3('0x11c1'),'nolimit':!![],'role':_0x1cd3('0xd2')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0xb92ada){_0x7a438c(_0xb92ada);})[_0x1cd3('0xfd')](function(_0xa36b56){_0x2a03bb(_0xa36b56);});});}function _0x11ad45(){return _0x3c5aee(function(_0x116e0b,_0xe2012a){return _0x1212a2['user']['get']({'fields':'id,name,internal,fullname','nolimit':!![],'role':_0x1cd3('0xd2')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x380d45){_0x116e0b(_0x380d45);})[_0x1cd3('0xfd')](function(_0x2172fc){_0xe2012a(_0x2172fc);});});}function _0x3efe1d(_0x216ab9){return _0x3c5aee(function(_0x3d9293,_0x4c66ee){if(_[_0x1cd3('0x398')](_0x216ab9)){_0x3d9293();}else{_0x1212a2[_0x1cd3('0xade')]['addAgents']({'id':_0x20b48c[_0x1cd3('0xade')]['id'],'ids':_['map'](_0x216ab9,'id')})[_0x1cd3('0x81')]['then'](function(){_0x3d9293();})['catch'](function(_0x34f726){_0x4c66ee(_0x34f726);});}});}function _0x35920d(_0xf570e9){return _0x3c5aee(function(_0x3280d1,_0xa0f990){if(_[_0x1cd3('0x398')](_0xf570e9)){_0x3280d1();}else{_0x1212a2[_0x1cd3('0xade')][_0x1cd3('0x11c3')]({'id':_0x20b48c[_0x1cd3('0xade')]['id'],'ids':_[_0x1cd3('0x3d9')](_0xf570e9,'id')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x3280d1();})[_0x1cd3('0xfd')](function(_0x167b53){_0xa0f990(_0x167b53);});}});}function _0x35d13b(){var _0x3d1f67=_['differenceBy'](_0x20b48c[_0x1cd3('0x11be')],_0x20b48c[_0x1cd3('0x492')],'id');var _0x38fe25=_['differenceBy'](_0x20b48c['selectedItems'],_0x20b48c[_0x1cd3('0x11be')],'id');return _0x35920d(_0x3d1f67)['then'](function(){return _0x3efe1d(_0x38fe25);})['then'](function(){_0x20b48c[_0x1cd3('0x11c6')]=![];_0x20b48c[_0x1cd3('0x11bb')]=angular['copy'](_0x20b48c[_0x1cd3('0x11ba')]);_0x20b48c[_0x1cd3('0x11be')]=angular[_0x1cd3('0x429')](_0x20b48c[_0x1cd3('0x492')]);_0x24311e[_0x1cd3('0x473')]({'title':'SUCCESS','msg':_0x1cd3('0x11c5')});})[_0x1cd3('0xfd')](function(_0x425473){_0x24311e[_0x1cd3('0x434')]({'title':_0x425473[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x425473[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x425473[_0x1cd3('0xd35')]:_0x1cd3('0x11ce'),'msg':_0x425473[_0x1cd3('0x3a6')]?JSON[_0x1cd3('0x438')](_0x425473['data']):_0x425473['toString']()});});}function _0x5490d8(){_0x177370[_0x1cd3('0x39d')]();}}}());(function(){'use strict';_0x209b8d['$inject']=[_0x1cd3('0x3c5'),'$q',_0x1cd3('0x461'),_0x1cd3('0x370'),_0x1cd3('0xade'),_0x1cd3('0x3f7'),'Auth','crudPermissions'];angular[_0x1cd3('0x0')](_0x1cd3('0x30'))[_0x1cd3('0x39b')](_0x1cd3('0x20b3'),_0x209b8d);function _0x209b8d(_0x33f202,_0x50eb44,_0x524cd6,_0x1ff13e,_0x57e782,_0x25a3b9,_0x51d6cf,_0x394dc6){var _0x21a3e8=this;_0x21a3e8[_0x1cd3('0x3ca')]=_0x51d6cf[_0x1cd3('0x5d')]();_0x21a3e8[_0x1cd3('0xade')]=_0x57e782;_0x21a3e8[_0x1cd3('0xd27')]=_0x394dc6;_0x21a3e8['items']=[];_0x21a3e8['allowedItems']=[];_0x21a3e8[_0x1cd3('0x492')]=[];_0x21a3e8[_0x1cd3('0x11bb')]=[];_0x21a3e8[_0x1cd3('0x11be')]=[];_0x21a3e8[_0x1cd3('0x11c6')]=![];_0x21a3e8[_0x1cd3('0x1145')]={'readOnly':!_0x21a3e8[_0x1cd3('0xd27')][_0x1cd3('0xe3b')],'allowedItems':[],'selectedItems':[],'showSelectAndDeselectAll':!![],'orderBy':_0x1cd3('0x98'),'line1':_0x1cd3('0x98'),'line2':'','line3':'','labelAll':_0x25a3b9[_0x1cd3('0x44a')](_0x1cd3('0x20b4')),'labelSelected':_0x25a3b9[_0x1cd3('0x44a')](_0x1cd3('0x20b5')),'transferCallback':function(_0xdb8a33,_0x10ecf8){var _0x1719c1=_[_0x1cd3('0x11c8')](_0x21a3e8['startingSelectedItems'],_0x21a3e8[_0x1cd3('0x492')],'id');_0x21a3e8['pendingChanges']=_[_0x1cd3('0x398')](_0x1719c1)?![]:!![];}};_0x21a3e8[_0x1cd3('0x703')]=_0x4ee2b3;_0x21a3e8[_0x1cd3('0x1968')]=_0x5c43ed;_0x21a3e8[_0x1cd3('0x39c')]=_0x32df40;function _0x4ee2b3(){return _0x51d6cf[_0x1cd3('0x57')]('admin')?_0x3db292()[_0x1cd3('0xfd')](function(_0x3dde7b){_0x524cd6[_0x1cd3('0x434')]({'title':_0x3dde7b[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x3dde7b['status']+_0x1cd3('0x436')+_0x3dde7b['statusText']:'SYSTEM:GET_TEAMS','msg':_0x3dde7b['status']?JSON[_0x1cd3('0x438')](_0x3dde7b[_0x1cd3('0x439')]):_0x3dde7b[_0x1cd3('0x43b')]()});}):_0xb59ac3()[_0x1cd3('0x77')](function(_0x4febcd){_0x21a3e8['section']=_0x4febcd;return _0x3db292();})[_0x1cd3('0xfd')](function(_0x10ca25){_0x524cd6[_0x1cd3('0x434')]({'title':_0x10ca25[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x10ca25[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x10ca25[_0x1cd3('0xd35')]:_0x1cd3('0x11c9'),'msg':_0x10ca25[_0x1cd3('0x3a6')]?JSON[_0x1cd3('0x438')](_0x10ca25[_0x1cd3('0x439')]):_0x10ca25[_0x1cd3('0x43b')]()});});}function _0xb59ac3(){return _0x50eb44(function(_0x358bd6,_0x3b815c){_0x1ff13e[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x21a3e8['currentUser']['userProfileId'],'name':_0x1cd3('0x296')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x502458){var _0x6119f5=_0x502458&&_0x502458[_0x1cd3('0xf6')]?_0x502458[_0x1cd3('0xf6')][0x0]:null;_0x358bd6(_0x6119f5);})[_0x1cd3('0xfd')](function(_0x257336){_0x3b815c(_0x257336);});});}function _0x3db292(){return _0x50eb44(function(_0x57cf52,_0x55b8ab){return _0x350b77()['then'](function(_0x12bd3f){_0x21a3e8[_0x1cd3('0x493')]=_0x12bd3f[_0x1cd3('0xf6')]?_0x12bd3f[_0x1cd3('0xf6')]:[];if(_0x51d6cf['hasRole'](_0x1cd3('0x5f'))){return _0x12bd3f;}else{if(_0x21a3e8['section']){return _0x21a3e8['section'][_0x1cd3('0x391')]?_0x12bd3f:_0x209b06();}else{return null;}}})[_0x1cd3('0x77')](function(_0x3dcb2c){var _0x55ef0a=_0x3dcb2c&&_0x3dcb2c['rows']?_0x3dcb2c[_0x1cd3('0xf6')]:[];_0x21a3e8['allowedItems']=_[_0x1cd3('0x3d9')](_0x55ef0a,function(_0x379f9b){return _[_0x1cd3('0x442')](_0x21a3e8['items'],{'id':_0x51d6cf['hasRole'](_0x1cd3('0x5f'))||_0x21a3e8['section'][_0x1cd3('0x391')]?_0x379f9b['id']:_0x379f9b[_0x1cd3('0xe8e')]});});_0x21a3e8[_0x1cd3('0x493')][_0x1cd3('0x394')](function(_0x12dcd8){var _0x2f5c12=_[_0x1cd3('0x442')](_0x21a3e8[_0x1cd3('0x11ba')],{'id':_0x12dcd8['id']});if(_0x51d6cf[_0x1cd3('0x57')](_0x1cd3('0x5f'))){_0x12dcd8[_0x1cd3('0x490')]=!![];}else{_0x12dcd8[_0x1cd3('0x490')]=typeof _0x2f5c12!=='undefined'?!![]:![];}});return _0x150d43();})['then'](function(_0x296d53){var _0x2b55ca=_0x296d53&&_0x296d53[_0x1cd3('0xf6')]?_0x296d53['rows']:[];_0x21a3e8[_0x1cd3('0x492')]=_[_0x1cd3('0x3d9')](_0x2b55ca,function(_0x3b1c13){return _[_0x1cd3('0x442')](_0x21a3e8[_0x1cd3('0x493')],{'id':_0x3b1c13['id']});});_0x21a3e8[_0x1cd3('0x11be')]=angular[_0x1cd3('0x429')](_0x21a3e8[_0x1cd3('0x492')]);_0x21a3e8[_0x1cd3('0x1145')]['selectedItems']=_0x21a3e8[_0x1cd3('0x492')];_0x21a3e8[_0x1cd3('0x1145')]['items']=_[_0x1cd3('0x1152')](_0x21a3e8[_0x1cd3('0x11ba')],_0x21a3e8[_0x1cd3('0x1145')]['selectedItems'],'id');_0x57cf52();})[_0x1cd3('0xfd')](function(_0x402c92){_0x55b8ab(_0x402c92);});});}function _0x209b06(){return _0x50eb44(function(_0x602d41,_0x38f50b){return _0x1ff13e[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x21a3e8[_0x1cd3('0xd58')]['id'],'nolimit':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x195e1b){_0x602d41(_0x195e1b);})[_0x1cd3('0xfd')](function(_0x40ab70){_0x38f50b(_0x40ab70);});});}function _0x150d43(){return _0x50eb44(function(_0x3d5297,_0x5eeed7){return _0x1ff13e['smsQueue'][_0x1cd3('0x11ca')]({'id':_0x21a3e8['smsQueue']['id'],'fields':_0x1cd3('0xa6'),'nolimit':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x271093){_0x3d5297(_0x271093);})[_0x1cd3('0xfd')](function(_0x3c402b){_0x5eeed7(_0x3c402b);});});}function _0x350b77(){return _0x50eb44(function(_0x27c44d,_0x66d161){return _0x1ff13e[_0x1cd3('0xc61')]['get']({'fields':'id,name','nolimit':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x73e213){_0x27c44d(_0x73e213);})[_0x1cd3('0xfd')](function(_0x24dd95){_0x66d161(_0x24dd95);});});}function _0x157b52(_0xde0c2f){return _0x50eb44(function(_0x3c0f39,_0x17405e){if(_['isEmpty'](_0xde0c2f)){_0x3c0f39();}else{_0x1ff13e[_0x1cd3('0xade')][_0x1cd3('0x11cb')]({'id':_0x21a3e8[_0x1cd3('0xade')]['id'],'ids':_[_0x1cd3('0x3d9')](_0xde0c2f,'id')})[_0x1cd3('0x81')]['then'](function(){_0x3c0f39();})['catch'](function(_0x50e213){_0x17405e(_0x50e213);});}});}function _0x47dbc4(_0x45c727){return _0x50eb44(function(_0x1c25eb,_0x4996ea){if(_['isEmpty'](_0x45c727)){_0x1c25eb();}else{_0x1ff13e[_0x1cd3('0xade')][_0x1cd3('0x11cc')]({'id':_0x21a3e8['smsQueue']['id'],'ids':_[_0x1cd3('0x3d9')](_0x45c727,'id')})['$promise'][_0x1cd3('0x77')](function(){_0x1c25eb();})[_0x1cd3('0xfd')](function(_0x26865f){_0x4996ea(_0x26865f);});}});}function _0x5c43ed(){var _0x3d8f71=_['differenceBy'](_0x21a3e8['startingSelectedItems'],_0x21a3e8[_0x1cd3('0x492')],'id');var _0x1a19f3=_['differenceBy'](_0x21a3e8[_0x1cd3('0x492')],_0x21a3e8['startingSelectedItems'],'id');return _0x47dbc4(_0x3d8f71)[_0x1cd3('0x77')](function(){return _0x157b52(_0x1a19f3);})[_0x1cd3('0x77')](function(){_0x21a3e8[_0x1cd3('0x11c6')]=![];_0x21a3e8['startingAllowedItems']=angular[_0x1cd3('0x429')](_0x21a3e8['allowedItems']);_0x21a3e8[_0x1cd3('0x11be')]=angular['copy'](_0x21a3e8[_0x1cd3('0x492')]);_0x524cd6[_0x1cd3('0x473')]({'title':_0x1cd3('0x11c4'),'msg':_0x1cd3('0x11cd')});})[_0x1cd3('0xfd')](function(_0x143ac5){_0x524cd6[_0x1cd3('0x434')]({'title':_0x143ac5[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x143ac5[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x143ac5[_0x1cd3('0xd35')]:_0x1cd3('0x11ce'),'msg':_0x143ac5[_0x1cd3('0x3a6')]?JSON[_0x1cd3('0x438')](_0x143ac5[_0x1cd3('0x439')]):_0x143ac5['toString']()});});}function _0x32df40(){_0x33f202[_0x1cd3('0x39d')]();}}}());(function(){'use strict';_0x1b6ae0['$inject']=[_0x1cd3('0x53e'),_0x1cd3('0xd24'),_0x1cd3('0x3c5'),_0x1cd3('0x372'),_0x1cd3('0x3f7'),_0x1cd3('0x463'),_0x1cd3('0xc49'),_0x1cd3('0x370'),'toasty','Auth',_0x1cd3('0xade'),'userProfileSection'];angular['module'](_0x1cd3('0x30'))[_0x1cd3('0x39b')](_0x1cd3('0x20b6'),_0x1b6ae0);function _0x1b6ae0(_0x2bfe6a,_0x74f900,_0x94bb5c,_0x189e6b,_0x2b8161,_0x1d7118,_0xa6320c,_0xaa0f69,_0x190f00,_0x5f4787,_0x859ea9,_0x7b41a9){var _0x3cd3ab=this;_0x3cd3ab['currentUser']=_0x5f4787['getCurrentUser']();_0x3cd3ab[_0x1cd3('0x463')]=_0x1d7118;_0x3cd3ab['setting']=_0xa6320c;_0x3cd3ab[_0x1cd3('0xd29')]=_0x3cd3ab[_0x1cd3('0xc49')]['securePassword']?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x3cd3ab[_0x1cd3('0xd22')]=_0x74f900[_0x1cd3('0x3b0')]()+'://'+_0x74f900[_0x1cd3('0x3ac')]();_0x3cd3ab['smsQueue']=_0x859ea9||_0x2bfe6a['params']['smsQueue']||{};_0x3cd3ab[_0x1cd3('0x390')]=_0x7b41a9&&_0x7b41a9['count']==0x1?_0x7b41a9[_0x1cd3('0xf6')][0x0]:null;_0x3cd3ab[_0x1cd3('0xd27')]=_0x5f4787[_0x1cd3('0xd44')](_0x3cd3ab[_0x1cd3('0x390')]?_0x3cd3ab[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);_0x3cd3ab[_0x1cd3('0xd28')]={};_0x3cd3ab['selectedTab']=_0x2bfe6a[_0x1cd3('0x36a')][_0x1cd3('0x1418')]||0x0;_0x3cd3ab['teamadddialog']=_0x4877f2;_0x3cd3ab[_0x1cd3('0x119b')]=_0x184d8c;_0x3cd3ab[_0x1cd3('0x11d0')]=_0x190f00[_0x1cd3('0x654')];_0x3cd3ab[_0x1cd3('0x20b7')]=_0x4fba10;_0x3cd3ab[_0x1cd3('0x20ab')]=_0x245941;function _0x4877f2(_0x10b7b4,_0x4eb81c){_0x94bb5c[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x20b3'),'controllerAs':'vm','templateUrl':'app/main/apps/sms/views/smsQueues/edit/teamadd/teamadd.html','parent':angular[_0x1cd3('0x37f')](_0x189e6b[_0x1cd3('0x380')]),'targetEvent':_0x4eb81c,'clickOutsideToClose':!![],'locals':{'smsQueue':_0x10b7b4,'smsQueues':_0x3cd3ab[_0x1cd3('0x170d')]?_0x3cd3ab[_0x1cd3('0x170d')][_0x1cd3('0xf6')]:[],'crudPermissions':_0x3cd3ab[_0x1cd3('0xd27')]}});}function _0x184d8c(_0x342d13,_0x59b19d){_0x94bb5c[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x2022'),'controllerAs':'vm','templateUrl':'app/main/apps/sms/views/smsQueues/edit/agentadd/agentadd.html','parent':angular['element'](_0x189e6b[_0x1cd3('0x380')]),'targetEvent':_0x59b19d,'clickOutsideToClose':!![],'locals':{'smsQueue':_0x342d13,'smsQueues':_0x3cd3ab[_0x1cd3('0x170d')]?_0x3cd3ab[_0x1cd3('0x170d')][_0x1cd3('0xf6')]:[],'crudPermissions':_0x3cd3ab[_0x1cd3('0xd27')],'realtime':![]}});}function _0x4fba10(){_0x2bfe6a['go'](_0x1cd3('0x266'),{},{'reload':'app.sms.smsQueues'});}function _0x245941(){_0xaa0f69[_0x1cd3('0xade')][_0x1cd3('0x378')]({'id':_0x3cd3ab[_0x1cd3('0xade')]['id']},_0x3cd3ab[_0x1cd3('0xade')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x190f00['success']({'title':'SmsQueue\x20updated!','msg':_0x3cd3ab['smsQueue'][_0x1cd3('0x98')]?_0x3cd3ab[_0x1cd3('0xade')][_0x1cd3('0x98')]+_0x1cd3('0xe65'):''});})['catch'](function(_0x5e44a6){_0x190f00[_0x1cd3('0x434')]({'title':_0x5e44a6['status']?'API:'+_0x5e44a6[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x5e44a6['statusText']:_0x1cd3('0x20b8'),'msg':_0x5e44a6[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x5e44a6['data']):_0x5e44a6['toString']()});});}}}());(function(){'use strict';_0x56e054[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x371'),_0x1cd3('0x53e'),_0x1cd3('0x969'),_0x1cd3('0x3c5'),_0x1cd3('0x372'),_0x1cd3('0x3e7'),_0x1cd3('0x3f7'),_0x1cd3('0x170d'),_0x1cd3('0x38a'),_0x1cd3('0x390'),_0x1cd3('0x370'),_0x1cd3('0x2dd'),_0x1cd3('0x461'),_0x1cd3('0x56'),'license','setting'];angular['module']('app.sms')[_0x1cd3('0x39b')](_0x1cd3('0x20b9'),_0x56e054);function _0x56e054(_0x37f40e,_0xbd24,_0x352f2c,_0x43f25d,_0x570107,_0x231f71,_0x480a49,_0x53b339,_0x73800c,_0x336e2f,_0x4309b4,_0xc03583,_0x2df975,_0x3a7760,_0x20df39,_0x3eea43,_0x295143){var _0x569a8a=this;_0x569a8a[_0x1cd3('0x463')]=_0x3eea43;_0x569a8a['setting']=_0x295143;_0x569a8a[_0x1cd3('0x3ca')]=_0x20df39[_0x1cd3('0x5d')]();_0x569a8a[_0x1cd3('0x170d')]=_0x73800c||{'count':0x0,'rows':[]};_0x569a8a[_0x1cd3('0x38a')]=_0x336e2f;_0x569a8a[_0x1cd3('0x390')]=_0x4309b4&&_0x4309b4[_0x1cd3('0x466')]==0x1?_0x4309b4[_0x1cd3('0xf6')][0x0]:null;_0x569a8a['crudPermissions']=_0x20df39[_0x1cd3('0xd44')](_0x569a8a[_0x1cd3('0x390')]?_0x569a8a[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);_0x569a8a[_0x1cd3('0xd45')]=_0x1cd3('0x170d');_0x569a8a[_0x1cd3('0xd46')]='';_0x569a8a[_0x1cd3('0xd47')]=null;_0x569a8a[_0x1cd3('0x20ba')]=[];_0x569a8a[_0x1cd3('0x3d4')]={'fields':_0x1cd3('0xbb'),'sort':_0x1cd3('0x5b'),'channel':'sms','limit':0xa,'page':0x1};_0x569a8a[_0x1cd3('0x1f58')]=_[_0x1cd3('0xe2d')]([{'option':_0x1cd3('0x1ce5'),'value':'\x27beepall\x27'},{'option':_0x1cd3('0x1970'),'value':_0x1cd3('0x1971')}],function(_0xb23a58){return _['replace'](_0xb23a58[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x569a8a[_0x1cd3('0x1171')]=_0x380263;_0x569a8a['teamadddialog']=_0x30e72e;_0x569a8a[_0x1cd3('0x119b')]=_0x121e21;_0x569a8a['deleteconfirm']=_0x43d6fc;_0x569a8a['gotorealtimegoto']=_0x5cd2f8;_0x569a8a[_0x1cd3('0x473')]=_0x2eb4d1;_0x569a8a['getSmsQueues']=_0x411440;_0x569a8a['createOrEditSmsQueue']=_0x3d88e9;_0x569a8a[_0x1cd3('0x20bb')]=_0x1f7daf;_0x569a8a['exportSelectedSmsQueues']=_0x501efb;_0x569a8a['deleteSelectedSmsQueues']=_0x1df0a9;_0x569a8a[_0x1cd3('0x20bc')]=_0x1be141;_0x569a8a[_0x1cd3('0x20bd')]=_0x5dcd0b;function _0x380263(_0x46ed91,_0x4ca36e){_0x352f2c['go']('app.sms.smsQueues.edit',{'id':_0x46ed91['id'],'smsQueue':_0x46ed91,'crudPermissions':_0x569a8a['crudPermissions']});}function _0x30e72e(_0x55f938,_0x3aa99c){_0x570107[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x20b3'),'controllerAs':'vm','templateUrl':_0x1cd3('0x20be'),'parent':angular[_0x1cd3('0x37f')](_0x231f71[_0x1cd3('0x380')]),'targetEvent':_0x3aa99c,'clickOutsideToClose':!![],'locals':{'smsQueue':_0x55f938,'smsQueues':_0x569a8a[_0x1cd3('0x170d')]?_0x569a8a['smsQueues'][_0x1cd3('0xf6')]:[],'crudPermissions':_0x569a8a[_0x1cd3('0xd27')]}});}function _0x121e21(_0x32f0cb,_0x14a4f8){_0x570107['show']({'controller':_0x1cd3('0x2022'),'controllerAs':'vm','templateUrl':_0x1cd3('0x2023'),'parent':angular[_0x1cd3('0x37f')](_0x231f71['body']),'targetEvent':_0x14a4f8,'clickOutsideToClose':!![],'locals':{'smsQueue':_0x32f0cb,'smsQueues':_0x569a8a[_0x1cd3('0x170d')]?_0x569a8a[_0x1cd3('0x170d')]['rows']:[],'crudPermissions':_0x569a8a[_0x1cd3('0xd27')],'realtime':![]}});}function _0x43d6fc(_0x115dff,_0x2772b8){var _0x31a9cb=_0x570107[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xd4f')+_[_0x1cd3('0xd50')]('smsQueue')+'?')['htmlContent'](_0x1cd3('0xd51')+(_0x115dff['name']||_0x1cd3('0xade'))+_0x1cd3('0xd52')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x20bf'))['targetEvent'](_0x2772b8)['ok']('OK')[_0x1cd3('0x4d8')]('CANCEL');_0x570107[_0x1cd3('0x37e')](_0x31a9cb)[_0x1cd3('0x77')](function(){_0x1f7daf(_0x115dff);},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}function _0x5cd2f8(_0x42ea49,_0x1d41c5){if(_0x20df39['hasRole'](_0x1cd3('0x5f'))){_0x352f2c['go'](_0x1cd3('0x279'),{});}else{return _0xc03583[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x20df39[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x2c6})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0xac59a1){var _0x2cefbb=_0xac59a1&&_0xac59a1[_0x1cd3('0xf6')]?_0xac59a1[_0x1cd3('0xf6')][0x0]:null;if(_0x2cefbb&&_0x2cefbb[_0x1cd3('0x396')]){_0x352f2c['go'](_0x1cd3('0x279'),{});}else{_0x3a7760['info']({'title':_0x53b339[_0x1cd3('0x44a')](_0x1cd3('0x1164')),'msg':_0x53b339['instant']('STAFF.PERMISSIONS_UNAUTHORIZED_REDIRECT_MESSAGE')});}})['catch'](function(_0x4fc90d){_0x3a7760['error']({'title':_0x4fc90d['status']?_0x1cd3('0x435')+_0x4fc90d[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x4fc90d[_0x1cd3('0xd35')]:'USERPROFILE:GET_SECTION','msg':_0x4fc90d[_0x1cd3('0x3a6')]?JSON[_0x1cd3('0x438')](_0x4fc90d[_0x1cd3('0x439')]):_0x4fc90d[_0x1cd3('0x43b')]()});});}}var _0x55e59e=!![];var _0x5a7b3a=0x1;_0x37f40e[_0x1cd3('0x4d6')](_0x1cd3('0xd56'),function(_0x176b74,_0x3a4117){if(_0x55e59e){_0x480a49(function(){_0x55e59e=![];});}else{if(!_0x3a4117){_0x5a7b3a=_0x569a8a[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0x176b74!==_0x3a4117){_0x569a8a['query']['page']=0x1;}if(!_0x176b74){_0x569a8a[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0x5a7b3a;}_0x569a8a[_0x1cd3('0x1712')]();}});function _0x2eb4d1(_0x4be59e){_0x569a8a[_0x1cd3('0x170d')]=_0x4be59e||{'count':0x0,'rows':[]};}function _0x411440(){_0x569a8a[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0x569a8a['query'][_0x1cd3('0x8fd')]-0x1)*_0x569a8a[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];if(_0x20df39[_0x1cd3('0x57')](_0x1cd3('0x5f'))){_0x569a8a[_0x1cd3('0x539')]=_0xc03583['smsQueue'][_0x1cd3('0x361')](_0x569a8a[_0x1cd3('0x3d4')],_0x2eb4d1)[_0x1cd3('0x81')];}else{_0x569a8a[_0x1cd3('0x3d4')]['id']=_0x569a8a[_0x1cd3('0x38a')]['id'];_0x569a8a[_0x1cd3('0x3d4')][_0x1cd3('0xd58')]='SmsQueues';_0x569a8a[_0x1cd3('0x539')]=_0xc03583[_0x1cd3('0x38a')][_0x1cd3('0xd59')](_0x569a8a[_0x1cd3('0x3d4')],_0x2eb4d1)[_0x1cd3('0x81')];}}function _0x3d88e9(_0x4eb1d7,_0x27ff26){_0x570107[_0x1cd3('0x37e')]({'controller':'CreateOrEditSmsQueueDialogController','controllerAs':'vm','templateUrl':'app/main/apps/sms/views/smsQueues/create/dialog.html','parent':angular[_0x1cd3('0x37f')](_0x231f71[_0x1cd3('0x380')]),'targetEvent':_0x4eb1d7,'clickOutsideToClose':!![],'locals':{'smsQueue':_0x27ff26,'smsQueues':_0x569a8a[_0x1cd3('0x170d')]['rows'],'license':_0x569a8a['license'],'setting':_0x569a8a[_0x1cd3('0xc49')],'crudPermissions':_0x569a8a['crudPermissions']}});}function _0x1f7daf(_0x47eda6){_0xc03583[_0x1cd3('0xade')]['delete']({'id':_0x47eda6['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x569a8a[_0x1cd3('0x170d')]['rows'],{'id':_0x47eda6['id']});_0x569a8a['smsQueues'][_0x1cd3('0x466')]-=0x1;if(!_0x569a8a[_0x1cd3('0x170d')][_0x1cd3('0xf6')]['length']){_0x569a8a[_0x1cd3('0x1712')]();}_0x3a7760[_0x1cd3('0x473')]({'title':_['startCase'](_0x1cd3('0x20c0'))+_0x1cd3('0xd5c'),'msg':_0x47eda6[_0x1cd3('0x98')]?_0x47eda6['name']+_0x1cd3('0xd41'):''});})[_0x1cd3('0xfd')](function(_0x35ab78){if(_0x35ab78['data']&&_0x35ab78[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x35ab78[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length']){_0x569a8a[_0x1cd3('0xd34')]=_0x35ab78['data'][_0x1cd3('0xd34')]||[{'message':_0x35ab78[_0x1cd3('0x43b')](),'type':_0x1cd3('0x20c1')}];for(var _0x34088a=0x0;_0x34088a<_0x35ab78[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0x34088a++){_0x3a7760[_0x1cd3('0x434')]({'title':_0x35ab78[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x34088a][_0x1cd3('0x424')],'msg':_0x35ab78[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x34088a][_0x1cd3('0x43a')]});}}else{_0x3a7760[_0x1cd3('0x434')]({'title':_0x35ab78[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x35ab78[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x35ab78['statusText']:_0x1cd3('0x20c1'),'msg':_0x35ab78[_0x1cd3('0x439')]?JSON['stringify'](_0x35ab78[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x35ab78[_0x1cd3('0x43a')]||_0x35ab78[_0x1cd3('0x43b')]()});}});}function _0x501efb(){var _0x3c77cc=angular['copy'](_0x569a8a[_0x1cd3('0x20ba')]);_0x569a8a[_0x1cd3('0x20ba')]=[];return _0x3c77cc;}function _0x1df0a9(_0x95354c){var _0x3836db=_0x570107['confirm']()['title'](_0x1cd3('0x20c2'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x569a8a[_0x1cd3('0x20ba')][_0x1cd3('0x7a')]+'\x20selected</b>'+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')]('delete\x20SmsQueues')[_0x1cd3('0xd63')](_0x95354c)['ok']('OK')['cancel'](_0x1cd3('0xd55'));_0x570107[_0x1cd3('0x37e')](_0x3836db)[_0x1cd3('0x77')](function(){_0x569a8a[_0x1cd3('0x20ba')][_0x1cd3('0x394')](function(_0x5c160c){_0x1f7daf(_0x5c160c);});_0x569a8a['selectedSmsQueues']=[];});}function _0x1be141(){_0x569a8a[_0x1cd3('0x20ba')]=[];}function _0x5dcd0b(){_0x569a8a[_0x1cd3('0x20ba')]=_0x569a8a['smsQueues'][_0x1cd3('0xf6')];}}}());(function(){'use strict';_0x9310e6[_0x1cd3('0xc')]=['$scope',_0x1cd3('0x371'),_0x1cd3('0x53e'),_0x1cd3('0x969'),'$mdDialog',_0x1cd3('0x372'),_0x1cd3('0x3e7'),'$translate',_0x1cd3('0x1228'),_0x1cd3('0x38a'),_0x1cd3('0x390'),_0x1cd3('0x370'),_0x1cd3('0x2dd'),_0x1cd3('0x461'),_0x1cd3('0x56'),_0x1cd3('0x463'),_0x1cd3('0xc49')];angular[_0x1cd3('0x0')](_0x1cd3('0x2b'))[_0x1cd3('0x39b')](_0x1cd3('0x20c3'),_0x9310e6);function _0x9310e6(_0x25e07f,_0x3e0698,_0x2cd964,_0x33d65e,_0x77d9ad,_0xcbcc99,_0x364d57,_0x303a10,_0x190bc4,_0x4fe3f9,_0x10bb45,_0x4b2978,_0xe8961f,_0x2e59b1,_0x313c02,_0xc3c44f,_0x30c868){var _0x419efd=this;_0x419efd[_0x1cd3('0x463')]=_0xc3c44f;_0x419efd[_0x1cd3('0xc49')]=_0x30c868;_0x419efd[_0x1cd3('0x3ca')]=_0x313c02['getCurrentUser']();_0x419efd[_0x1cd3('0x1228')]=_0x190bc4||{'count':0x0,'rows':[]};_0x419efd[_0x1cd3('0x38a')]=_0x4fe3f9;_0x419efd[_0x1cd3('0x390')]=_0x10bb45&&_0x10bb45[_0x1cd3('0x466')]==0x1?_0x10bb45[_0x1cd3('0xf6')][0x0]:null;_0x419efd['crudPermissions']=_0x313c02[_0x1cd3('0xd44')](_0x419efd['userProfileSection']?_0x419efd['userProfileSection'][_0x1cd3('0xd27')]:null);_0x419efd[_0x1cd3('0xd45')]=_0x1cd3('0x1228');_0x419efd[_0x1cd3('0xd46')]='';_0x419efd['listOrderAsc']=null;_0x419efd[_0x1cd3('0x20c4')]=[];_0x419efd[_0x1cd3('0x3d4')]={'fields':_0x1cd3('0x287'),'role':_0x1cd3('0xd2'),'sort':_0x1cd3('0x5b'),'limit':0xa,'page':0x1};_0x419efd[_0x1cd3('0x20c5')]=_[_0x1cd3('0xe2d')]([{'option':_0x1cd3('0x20c6'),'value':'0'},{'option':_0x1cd3('0x20c7'),'value':'1'},{'option':_0x1cd3('0x20c8'),'value':'2'}],function(_0x31979f){return _[_0x1cd3('0x3f1')](_0x31979f[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x419efd['arraytransport']=_['keyBy']([{'option':_0x1cd3('0x20c9'),'value':_0x1cd3('0x20ca')},{'option':_0x1cd3('0x20cb'),'value':_0x1cd3('0x20cc')},{'option':'ws','value':_0x1cd3('0x20cd'),'ngIf':_0x1cd3('0x20ce')},{'option':_0x1cd3('0x20cf'),'value':_0x1cd3('0x20d0'),'ngIf':_0x1cd3('0x20ce')},{'option':_0x1cd3('0x20d1'),'value':_0x1cd3('0x20d2'),'ngIf':_0x1cd3('0x20ce')}],function(_0x1bc656){return _[_0x1cd3('0x3f1')](_0x1bc656['value'],new RegExp('\x27','g'),'');});_0x419efd['arraynat']=_['keyBy']([{'option':_0x1cd3('0x20d3'),'value':'\x27force_rport\x27'},{'option':_0x1cd3('0x20d4'),'value':_0x1cd3('0x20d5')},{'option':_0x1cd3('0xf2b'),'value':_0x1cd3('0x1e6d')},{'option':'no','value':'\x27no\x27'},{'option':'never','value':_0x1cd3('0x1d27')},{'option':'route','value':_0x1cd3('0x20d6')}],function(_0x456706){return _[_0x1cd3('0x3f1')](_0x456706[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x419efd[_0x1cd3('0x135a')]=_['keyBy']([{'option':_0x1cd3('0x20d7'),'value':_0x1cd3('0x20d8')},{'option':_0x1cd3('0x132a'),'value':'\x27user\x27'},{'option':_0x1cd3('0x20d9'),'value':'\x27peer\x27'}],function(_0x57892f){return _[_0x1cd3('0x3f1')](_0x57892f[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x419efd[_0x1cd3('0x20da')]=_[_0x1cd3('0xe2d')]([{'option':_0x1cd3('0x20db'),'value':_0x1cd3('0x20dc')},{'option':_0x1cd3('0x20dd'),'value':'\x27alaw\x27'},{'option':'gsm','value':_0x1cd3('0x1e73')},{'option':'g722','value':_0x1cd3('0x20de')},{'option':_0x1cd3('0x20df'),'value':'\x27g729\x27'},{'option':_0x1cd3('0x20e0'),'value':_0x1cd3('0x20e1')},{'option':'h264','value':'\x27h264\x27'}],function(_0xbcbff2){return _[_0x1cd3('0x3f1')](_0xbcbff2[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x419efd[_0x1cd3('0x20e2')]=_[_0x1cd3('0xe2d')]([{'option':'Yes','value':_0x1cd3('0x1e6d')},{'option':'No','value':_0x1cd3('0x123c')},{'option':_0x1cd3('0x122e'),'value':_0x1cd3('0x1d22')}],function(_0x19aecd){return _[_0x1cd3('0x3f1')](_0x19aecd['value'],new RegExp('\x27','g'),'');});_0x419efd[_0x1cd3('0x20e3')]=_[_0x1cd3('0xe2d')]([{'option':_0x1cd3('0x20e4'),'value':'\x27\x27'},{'option':'wav','value':_0x1cd3('0x1e70')},{'option':_0x1cd3('0x1e71'),'value':_0x1cd3('0x20e5')},{'option':'gsm','value':_0x1cd3('0x1e73')}],function(_0xe43245){return _[_0x1cd3('0x3f1')](_0xe43245[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x419efd['editstate']=_0x45d652;_0x419efd[_0x1cd3('0x119a')]=_0x51d01d;_0x419efd[_0x1cd3('0xecc')]=_0x44af6d;_0x419efd[_0x1cd3('0x473')]=_0x2d1ff3;_0x419efd[_0x1cd3('0x1269')]=_0x2e471f;_0x419efd[_0x1cd3('0x20e6')]=_0x3ee950;_0x419efd[_0x1cd3('0x20e7')]=_0x423904;_0x419efd[_0x1cd3('0x20e8')]=_0x67bb62;_0x419efd[_0x1cd3('0x20e9')]=_0x672a26;_0x419efd[_0x1cd3('0x20ea')]=_0x3745f0;_0x419efd[_0x1cd3('0x20eb')]=_0x4d4fea;function _0x45d652(_0x3a48a2,_0x3f310f){_0x2cd964['go'](_0x1cd3('0x288'),{'id':_0x3a48a2['id'],'agent':_0x3a48a2,'crudPermissions':_0x419efd['crudPermissions']});}function _0x51d01d(_0x2e9569,_0x410fc5){_0x77d9ad[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x20ec'),'controllerAs':'vm','templateUrl':_0x1cd3('0x20ed'),'parent':angular[_0x1cd3('0x37f')](_0xcbcc99[_0x1cd3('0x380')]),'targetEvent':_0x410fc5,'clickOutsideToClose':!![],'locals':{'agent':_0x2e9569,'agents':_0x419efd[_0x1cd3('0x1228')]?_0x419efd[_0x1cd3('0x1228')][_0x1cd3('0xf6')]:[],'crudPermissions':_0x419efd['crudPermissions']}});}function _0x44af6d(_0x23fdee,_0x5ec9f3){var _0x290928=_0x77d9ad[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xd4f')+_[_0x1cd3('0xd50')](_0x1cd3('0xd2'))+'?')[_0x1cd3('0xd60')]('<b>'+(_0x23fdee[_0x1cd3('0x98')]||_0x1cd3('0xd2'))+'</b>'+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x20ee'))['targetEvent'](_0x5ec9f3)['ok']('OK')['cancel'](_0x1cd3('0xd55'));_0x77d9ad['show'](_0x290928)[_0x1cd3('0x77')](function(){_0x423904(_0x23fdee);},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}var _0x1dce2a=!![];var _0x32f71e=0x1;_0x25e07f[_0x1cd3('0x4d6')](_0x1cd3('0xd56'),function(_0x7a9640,_0x5f4d71){if(_0x1dce2a){_0x364d57(function(){_0x1dce2a=![];});}else{if(!_0x5f4d71){_0x32f71e=_0x419efd[_0x1cd3('0x3d4')]['page'];}if(_0x7a9640!==_0x5f4d71){_0x419efd[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}if(!_0x7a9640){_0x419efd[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0x32f71e;}_0x419efd[_0x1cd3('0x1269')]();}});function _0x2d1ff3(_0x536b29){_0x419efd[_0x1cd3('0x1228')]=_0x536b29||{'count':0x0,'rows':[]};}function _0x2e471f(){_0x419efd['query']['offset']=(_0x419efd[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0x419efd[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];if(_0x313c02['hasRole'](_0x1cd3('0x5f'))){_0x419efd[_0x1cd3('0x539')]=_0x4b2978['user'][_0x1cd3('0x361')](_0x419efd[_0x1cd3('0x3d4')],_0x2d1ff3)['$promise'];}else{_0x419efd[_0x1cd3('0x3d4')]['id']=_0x419efd[_0x1cd3('0x38a')]['id'];_0x419efd['query'][_0x1cd3('0xd58')]='Agents';_0x419efd[_0x1cd3('0x539')]=_0x4b2978[_0x1cd3('0x38a')][_0x1cd3('0xd59')](_0x419efd[_0x1cd3('0x3d4')],_0x2d1ff3)[_0x1cd3('0x81')];}}function _0x3ee950(_0x3e0d50,_0xffea3d){_0x77d9ad[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x20ef'),'controllerAs':'vm','templateUrl':'app/main/apps/staff/views/agents/create/dialog.html','parent':angular[_0x1cd3('0x37f')](_0xcbcc99[_0x1cd3('0x380')]),'targetEvent':_0x3e0d50,'clickOutsideToClose':!![],'locals':{'agent':_0xffea3d,'agents':_0x419efd[_0x1cd3('0x1228')]['rows'],'license':_0x419efd[_0x1cd3('0x463')],'setting':_0x419efd[_0x1cd3('0xc49')],'crudPermissions':_0x419efd['crudPermissions']}});}function _0x423904(_0x482d3d){_0x4b2978['user'][_0x1cd3('0xa1c')]({'id':_0x482d3d['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x419efd['agents'][_0x1cd3('0xf6')],{'id':_0x482d3d['id']});_0x419efd[_0x1cd3('0x1228')][_0x1cd3('0x466')]-=0x1;if(!_0x419efd[_0x1cd3('0x1228')][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){_0x419efd[_0x1cd3('0x1269')]();}_0x2e59b1[_0x1cd3('0x473')]({'title':_[_0x1cd3('0xd50')](_0x1cd3('0x1227'))+_0x1cd3('0xd5c'),'msg':_0x482d3d[_0x1cd3('0x98')]?_0x482d3d[_0x1cd3('0x98')]+_0x1cd3('0xd41'):''});})[_0x1cd3('0xfd')](function(_0x12c0b0){if(_0x12c0b0[_0x1cd3('0x439')]&&_0x12c0b0[_0x1cd3('0x439')]['errors']&&_0x12c0b0[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x419efd[_0x1cd3('0xd34')]=_0x12c0b0[_0x1cd3('0x439')]['errors']||[{'message':_0x12c0b0[_0x1cd3('0x43b')](),'type':'SYSTEM:DELETEuser'}];for(var _0x239b39=0x0;_0x239b39<_0x12c0b0[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x239b39++){_0x2e59b1[_0x1cd3('0x434')]({'title':_0x12c0b0['data'][_0x1cd3('0xd34')][_0x239b39]['type'],'msg':_0x12c0b0['data'][_0x1cd3('0xd34')][_0x239b39]['message']});}}else{_0x2e59b1[_0x1cd3('0x434')]({'title':_0x12c0b0[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x12c0b0[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x12c0b0[_0x1cd3('0xd35')]:'SYSTEM:DELETEuser','msg':_0x12c0b0[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x12c0b0[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x12c0b0[_0x1cd3('0x43a')]||_0x12c0b0['toString']()});}});}function _0x67bb62(){var _0x203dc7=angular[_0x1cd3('0x429')](_0x419efd['selectedAgents']);_0x419efd['selectedAgents']=[];return _0x203dc7;}function _0x672a26(_0x2dd2dc){var _0x7ad7e=_0x77d9ad[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x20f0'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x419efd[_0x1cd3('0x20c4')]['length']+'\x20selected</b>'+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')]('delete\x20Agents')[_0x1cd3('0xd63')](_0x2dd2dc)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x77d9ad[_0x1cd3('0x37e')](_0x7ad7e)[_0x1cd3('0x77')](function(){_0x419efd['selectedAgents'][_0x1cd3('0x394')](function(_0x2459fc){_0x423904(_0x2459fc);});_0x419efd[_0x1cd3('0x20c4')]=[];});}function _0x3745f0(){_0x419efd[_0x1cd3('0x20c4')]=[];}function _0x4d4fea(){_0x419efd['selectedAgents']=_0x419efd['agents'][_0x1cd3('0xf6')];}}}());(function(){'use strict';_0x209010[_0x1cd3('0xc')]=[_0x1cd3('0x460'),'$state',_0x1cd3('0xd24'),_0x1cd3('0x3c5'),'$q',_0x1cd3('0x3f7'),_0x1cd3('0x461'),_0x1cd3('0x1228'),_0x1cd3('0xd2'),_0x1cd3('0x370'),'Auth',_0x1cd3('0x463'),_0x1cd3('0xc49'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')]('app.staff')[_0x1cd3('0x39b')]('CreateOrEditAgentDialogController',_0x209010);function _0x209010(_0x168804,_0x10190b,_0x5b9965,_0x146648,_0x4ee57d,_0xe3b9e4,_0x19509e,_0x22b357,_0x340ff8,_0x231ca7,_0x35cd94,_0x489f58,_0x119d47,_0xde0ab3){var _0x5c669a=this;_0x5c669a[_0x1cd3('0x3ca')]=_0x35cd94[_0x1cd3('0x5d')]();_0x5c669a[_0x1cd3('0xd34')]=[];_0x5c669a[_0x1cd3('0xc49')]=_0x119d47;_0x5c669a[_0x1cd3('0x463')]=_0x489f58;_0x5c669a[_0x1cd3('0xd27')]=_0xde0ab3;_0x5c669a['hasModulePermissions']={};_0x5c669a[_0x1cd3('0xd29')]=_0x5c669a['setting']&&_0x5c669a['setting']['securePassword']?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x5c669a['title']='STAFF.EDIT_AGENT';_0x5c669a[_0x1cd3('0xd2')]=angular[_0x1cd3('0x429')](_0x340ff8);_0x5c669a['agents']=_0x22b357;_0x5c669a['newAgent']=![];if(!_0x5c669a[_0x1cd3('0xd2')]){_0x5c669a['agent']={'role':_0x1cd3('0xd2'),'showWebBar':'0','autointernal':!![],'type':_0x1cd3('0x20f1'),'context':'from-sip','phoneBarRemoteControl':!![],'phoneBarRemoteControlPort':0x26a0,'allowmessenger':!![]};_0x5c669a[_0x1cd3('0x486')]=_0x1cd3('0x20f2');_0x5c669a['newAgent']=!![];}_0x5c669a[_0x1cd3('0x20f3')]=_0x5de1af;_0x5c669a[_0x1cd3('0x20f4')]=_0x2b070d;_0x5c669a[_0x1cd3('0x20e7')]=_0x1901aa;_0x5c669a['getDateFromString']=_0x4e0a24;_0x5c669a['closeDialog']=_0x26f164;function _0x5de1af(){_0x5c669a[_0x1cd3('0xd34')]=[];_0x231ca7[_0x1cd3('0x368')][_0x1cd3('0xd6d')](_0x5c669a[_0x1cd3('0xd2')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x1cd47e){_0x5c669a[_0x1cd3('0x1228')]['unshift'](_0x1cd47e[_0x1cd3('0xd32')]());_0x19509e['success']({'title':_0x1cd3('0x20f5'),'msg':_0x5c669a[_0x1cd3('0xd2')][_0x1cd3('0x98')]?_0x5c669a[_0x1cd3('0xd2')][_0x1cd3('0x98')]+_0x1cd3('0xd33'):''});_0x26f164(_0x1cd47e);})[_0x1cd3('0xfd')](function(_0x4fc9d8){if(_0x4fc9d8[_0x1cd3('0x439')]&&_0x4fc9d8[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x4fc9d8['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x5c669a[_0x1cd3('0xd34')]=_0x4fc9d8[_0x1cd3('0x439')]['errors']||[{'message':_0x4fc9d8[_0x1cd3('0x43b')](),'type':_0x1cd3('0x145c')}];for(var _0x4b68f2=0x0;_0x4b68f2<_0x4fc9d8[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length'];_0x4b68f2+=0x1){_0x19509e[_0x1cd3('0x434')]({'title':_0x4fc9d8[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x4b68f2][_0x1cd3('0x424')],'msg':_0x4fc9d8[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x4b68f2][_0x1cd3('0x43a')]});}}else{_0x19509e[_0x1cd3('0x434')]({'title':_0x4fc9d8[_0x1cd3('0x3a6')]?'API:'+_0x4fc9d8[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x4fc9d8[_0x1cd3('0xd35')]:'api.user.save','msg':_0x4fc9d8[_0x1cd3('0x439')]?JSON['stringify'](_0x4fc9d8[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x4fc9d8['toString']()});}});}function _0x2b070d(){_0x5c669a[_0x1cd3('0xd34')]=[];_0x231ca7[_0x1cd3('0x368')][_0x1cd3('0x378')]({'id':_0x5c669a['agent']['id']},_0x5c669a['agent'])['$promise'][_0x1cd3('0x77')](function(_0x19db6c){var _0x36c3ff=_[_0x1cd3('0x442')](_0x5c669a['agents'],{'id':_0x19db6c['id']});if(_0x36c3ff){_[_0x1cd3('0xf2')](_0x36c3ff,_[_0x1cd3('0x5e8')](_0x19db6c['toJSON'](),_[_0x1cd3('0x80')](_0x36c3ff)));}_0x19509e[_0x1cd3('0x473')]({'title':_0x1cd3('0x20f6'),'msg':_0x5c669a[_0x1cd3('0xd2')][_0x1cd3('0x98')]?_0x5c669a['agent'][_0x1cd3('0x98')]+'\x20has\x20been\x20saved!':''});_0x26f164(_0x19db6c);})[_0x1cd3('0xfd')](function(_0x31a468){if(_0x31a468[_0x1cd3('0x439')]&&_0x31a468[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x31a468[_0x1cd3('0x439')]['errors']['length']){_0x5c669a[_0x1cd3('0xd34')]=_0x31a468[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x31a468['toString'](),'type':_0x1cd3('0x13d7')}];for(var _0x13d94a=0x0;_0x13d94a<_0x31a468[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0x13d94a++){_0x19509e[_0x1cd3('0x434')]({'title':_0x31a468[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x13d94a][_0x1cd3('0x424')],'msg':_0x31a468['data'][_0x1cd3('0xd34')][_0x13d94a][_0x1cd3('0x43a')]});}}else{_0x19509e[_0x1cd3('0x434')]({'title':_0x31a468[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x31a468[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x31a468[_0x1cd3('0xd35')]:_0x1cd3('0x13d7'),'msg':_0x31a468['data']?JSON[_0x1cd3('0x438')](_0x31a468[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x31a468['toString']()});}});}function _0x1901aa(_0x1070fa){_0x5c669a[_0x1cd3('0xd34')]=[];var _0x559fe4=_0x146648[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xd3a'))[_0x1cd3('0xd3b')](_0x1cd3('0x20f7'))['ariaLabel'](_0x1cd3('0x20f8'))['ok']('Delete')[_0x1cd3('0x4d8')](_0x1cd3('0x674'))[_0x1cd3('0xd63')](_0x1070fa);_0x146648['show'](_0x559fe4)[_0x1cd3('0x77')](function(){_0x231ca7[_0x1cd3('0x368')]['delete']({'id':_0x5c669a[_0x1cd3('0xd2')]['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x5c669a[_0x1cd3('0x1228')],{'id':_0x5c669a[_0x1cd3('0xd2')]['id']});_0x19509e[_0x1cd3('0x473')]({'title':_0x1cd3('0x20f9'),'msg':(_0x5c669a[_0x1cd3('0xd2')][_0x1cd3('0x98')]||_0x1cd3('0xd2'))+'\x20has\x20been\x20deleted!'});_0x26f164(_0x5c669a[_0x1cd3('0xd2')]);})['catch'](function(_0x40053a){if(_0x40053a[_0x1cd3('0x439')]&&_0x40053a[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x40053a[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x5c669a['errors']=_0x40053a[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x40053a[_0x1cd3('0x43b')](),'type':_0x1cd3('0x20fa')}];for(var _0x57d98f=0x0;_0x57d98f<_0x40053a[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length'];_0x57d98f++){_0x19509e[_0x1cd3('0x434')]({'title':_0x40053a['data'][_0x1cd3('0xd34')][_0x57d98f][_0x1cd3('0x424')],'msg':_0x40053a[_0x1cd3('0x439')]['errors'][_0x57d98f][_0x1cd3('0x43a')]});}}else{_0x19509e[_0x1cd3('0x434')]({'title':_0x40053a['status']?_0x1cd3('0x435')+_0x40053a[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x40053a[_0x1cd3('0xd35')]:_0x1cd3('0x20fa'),'msg':_0x40053a[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x40053a['data'][_0x1cd3('0x43a')]):_0x40053a[_0x1cd3('0x43a')]||_0x40053a['toString']()});}});},function(){});}function _0x4e0a24(_0x3b1775){return _0x3b1775===null?undefined:new Date(_0x3b1775);}function _0x26f164(_0xddbec3){_0x146648['hide'](_0xddbec3);}}}());(function(){'use strict';_0x595133[_0x1cd3('0xc')]=[_0x1cd3('0x36f'),_0x1cd3('0x461')];angular[_0x1cd3('0x0')]('app.staff')['controller'](_0x1cd3('0x20fb'),_0x595133);function _0x595133(_0x2bff73,_0x1030c8){var _0x59605f=this;var _0x2e7c56=0x8;var _0x35572f=_0x2e7c56*0x400*0x400;_0x59605f[_0x1cd3('0xd2')]={};_0x59605f['crudPermissions'];_0x59605f['ngFlowOptions']={'singleFile':!![],'maxChunkRetries':0x1,'chunkSize':_0x35572f,'simultaneousUploads':0x1,'testChunks':![],'progressCallbacksInterval':0x3e8,'allowDuplicateUploads':!![]};_0x59605f[_0x1cd3('0x126b')]={'flow':{}};_0x59605f[_0x1cd3('0x126c')]=![];_0x59605f[_0x1cd3('0x113a')]=_0x5d8da5;_0x59605f['upload']=_0xf68825;_0x59605f[_0x1cd3('0x126e')]=_0x18b12f;_0x59605f['init']=_0x15daf4;function _0x15daf4(_0x2c50f5,_0x560c76){_0x59605f['agent']=angular[_0x1cd3('0x429')](_0x2c50f5);_0x59605f[_0x1cd3('0xd27')]=typeof _0x560c76!==_0x1cd3('0x491')?_0x560c76:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x59605f[_0x1cd3('0x126a')]['target']=_0x1cd3('0x20fc')+_0x59605f['agent']['id']+_0x1cd3('0x20fd');_0x59605f[_0x1cd3('0xd2')][_0x1cd3('0x1271')]=[];}function _0x5d8da5(_0x47b82c){var _0x464f6a=[_0x1cd3('0x1272'),_0x1cd3('0x1273')];if(!_['includes'](_0x464f6a,_0x47b82c[_0x1cd3('0x113c')]())){_0x1030c8[_0x1cd3('0x434')]({'title':_0x1cd3('0x1274')+_0x47b82c[_0x1cd3('0x113c')](),'msg':_0x1cd3('0x1275')+_0x464f6a[_0x1cd3('0x3de')]()});return![];}if(_0x47b82c[_0x1cd3('0x113e')]>_0x35572f){_0x1030c8[_0x1cd3('0x434')]({'title':_0x1cd3('0x1276'),'msg':_0x1cd3('0x1277')+_0x2e7c56+'MB'});return![];}var _0x5ec493={'id':_0x47b82c[_0x1cd3('0x1278')],'file':_0x47b82c,'type':'uploading'};_0x59605f[_0x1cd3('0xd2')]['images']['unshift'](_0x5ec493);return!![];}function _0xf68825(){_0x59605f[_0x1cd3('0x126b')][_0x1cd3('0x46')][_0x1cd3('0x130a')]['headers']={'X-Requested-With':_0x1cd3('0x130b'),'Authorization':_0x1cd3('0x3a5')+_0x2bff73['get'](_0x1cd3('0x374'))};_0x59605f['ngFlow'][_0x1cd3('0x46')][_0x1cd3('0x126d')]();}function _0x18b12f(_0x55471e,_0x15ccb1){angular[_0x1cd3('0x394')](_0x59605f[_0x1cd3('0xd2')]['images'],function(_0x228b0c,_0x40593d){if(_0x228b0c['id']===_0x55471e[_0x1cd3('0x1278')]){var _0x51b4f4=new FileReader();_0x51b4f4[_0x1cd3('0xe95')](_0x228b0c[_0x1cd3('0xe96')][_0x1cd3('0xe96')]);_0x51b4f4[_0x1cd3('0xe8f')]=function(_0x5bb9c5){_0x228b0c['url']=_0x5bb9c5['target'][_0x1cd3('0xe90')];};_0x228b0c[_0x1cd3('0x424')]=_0x1cd3('0x127a');}});}}}());(function(){'use strict';_0xe6e732['$inject']=[_0x1cd3('0x460'),'$mdDialog',_0x1cd3('0x461'),_0x1cd3('0x370'),'agent',_0x1cd3('0xc49'),_0x1cd3('0x56')];angular['module']('app.staff')['controller'](_0x1cd3('0x20fe'),_0xe6e732);function _0xe6e732(_0x48ea32,_0x38938e,_0x5e1180,_0x2b3d0e,_0x533531,_0x3ffa87,_0x5b4075){var _0x36e13f=this;_0x36e13f[_0x1cd3('0x3ca')]=_0x5b4075['getCurrentUser']();_0x36e13f[_0x1cd3('0xd34')]=[];_0x36e13f[_0x1cd3('0xc49')]=_0x3ffa87;_0x36e13f[_0x1cd3('0xd29')]=_0x36e13f[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x36e13f[_0x1cd3('0xd2')]=_0x533531;_0x36e13f['password']='';_0x36e13f[_0x1cd3('0x20ff')]='';_0x36e13f[_0x1cd3('0x2100')]=_0x5d3e94;_0x36e13f['closeDialog']=_0x3154ca;_0x48ea32[_0x1cd3('0x4d6')]('vm.password',function(_0x5f4616,_0x42af19){if(!_[_0x1cd3('0x472')](_0x36e13f[_0x1cd3('0x20ff')])){if(_0x5f4616===_0x36e13f[_0x1cd3('0x20ff')]){_0x48ea32[_0x1cd3('0x2101')]['password'][_0x1cd3('0x2102')](_0x1cd3('0x2103'),![]);}else{_0x48ea32[_0x1cd3('0x2101')][_0x1cd3('0x5ae')][_0x1cd3('0x2102')](_0x1cd3('0x2103'),!![]);}}});function _0x5d3e94(){_0x36e13f[_0x1cd3('0xd34')]=[];var _0x3960d1={'id':_0x36e13f['agent']['id'],'newPassword':_0x36e13f[_0x1cd3('0x5ae')]};if(_0x36e13f[_0x1cd3('0x3ca')]['id']==_0x36e13f[_0x1cd3('0xd2')]['id']){_0x3960d1[_0x1cd3('0x20ff')]=_0x36e13f[_0x1cd3('0x20ff')];}_0x2b3d0e['user'][_0x1cd3('0x2104')](_0x3960d1)[_0x1cd3('0x81')]['then'](function(){_0x5e1180['success']({'title':_0x1cd3('0x2105')});_0x3154ca();})[_0x1cd3('0xfd')](function(_0x4cc941){_0x5e1180['error']({'title':_0x4cc941[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x4cc941[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x4cc941[_0x1cd3('0xd35')]:_0x1cd3('0x2106'),'msg':_0x4cc941['data']?JSON[_0x1cd3('0x438')](_0x4cc941[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x4cc941['toString']()});_0x36e13f[_0x1cd3('0xd34')]=_0x4cc941['data'][_0x1cd3('0xd34')]||[{'message':_0x4cc941[_0x1cd3('0x43b')](),'type':_0x1cd3('0x2107')}];});}function _0x3154ca(){_0x38938e['hide']();}}}());(function(){'use strict';_0xe55422[_0x1cd3('0xc')]=[_0x1cd3('0x372'),_0x1cd3('0x3c5'),_0x1cd3('0x370'),_0x1cd3('0x1661'),_0x1cd3('0x461')];angular['module'](_0x1cd3('0x2b'))['controller'](_0x1cd3('0x2108'),_0xe55422);function _0xe55422(_0x470ab3,_0x2979cb,_0x5af009,_0x142b4b,_0x452268){var _0x458445=this;_0x458445['agent']={};_0x458445[_0x1cd3('0x522')]=_0x142b4b['getNavigation']();_0x458445[_0x1cd3('0xd27')];_0x458445[_0x1cd3('0xe08')]=_0x962d9d;_0x458445[_0x1cd3('0x2109')]=_0x600154;function _0x962d9d(_0x599530,_0x8f0cce){_0x458445[_0x1cd3('0xd2')]=_0x599530;_0x458445['crudPermissions']=typeof _0x8f0cce!==_0x1cd3('0x491')?_0x8f0cce:{'readOnly':!![],'canEdit':![],'canDelete':![]};}function _0x600154(_0x58f518,_0x1f0a98){var _0x3c5b65=_0x1f0a98||_0x58f518;if(_0x3c5b65[_0x1cd3('0x396')]){if(_0x1f0a98){_0x1f0a98[_0x1cd3('0x396')]=!![];_0x458445[_0x1cd3('0xd2')][_0x1cd3('0x38e')][_0x1cd3('0x7b')](_0x1f0a98['id']);}else{for(var _0x15c4e0=0x0;_0x15c4e0<_0x58f518[_0x1cd3('0x52b')]['length'];_0x15c4e0++){_0x58f518[_0x1cd3('0x52b')][_0x15c4e0][_0x1cd3('0x396')]=!![];_0x458445[_0x1cd3('0xd2')][_0x1cd3('0x38e')]['push'](_0x58f518[_0x1cd3('0x52b')][_0x15c4e0]['id']);}}_0x58f518[_0x1cd3('0x396')]=!![];_0x458445[_0x1cd3('0xd2')][_0x1cd3('0x38e')][_0x1cd3('0x7b')](_0x58f518['id']);}else{if(_0x1f0a98){_0x1f0a98[_0x1cd3('0x396')]=![];_[_0x1cd3('0x383')](_0x458445['agent']['permissions'],function(_0x48da25){return _0x1f0a98['id']===_0x48da25;});if(_['filter'](_0x58f518[_0x1cd3('0x52b')],{'enabled':![]})[_0x1cd3('0x7a')]===_0x58f518[_0x1cd3('0x52b')][_0x1cd3('0x7a')]){_0x58f518[_0x1cd3('0x396')]=![];_[_0x1cd3('0x383')](_0x458445[_0x1cd3('0xd2')]['permissions'],function(_0x57ac76){return _0x58f518['id']===_0x57ac76;});}}else{_0x58f518[_0x1cd3('0x396')]=![];_[_0x1cd3('0x383')](_0x458445[_0x1cd3('0xd2')]['permissions'],function(_0x2cc898){return _0x58f518['id']===_0x2cc898;});for(var _0x1fcf43=0x0;_0x1fcf43<_0x58f518[_0x1cd3('0x52b')]['length'];_0x1fcf43++){_0x58f518[_0x1cd3('0x52b')][_0x1fcf43]['enabled']=![];_['remove'](_0x458445[_0x1cd3('0xd2')][_0x1cd3('0x38e')],function(_0x118767){return _0x58f518[_0x1cd3('0x52b')][_0x1fcf43]['id']===_0x118767;});}}}return _0x5af009[_0x1cd3('0x368')][_0x1cd3('0x378')]({'id':_0x458445[_0x1cd3('0xd2')]['id'],'permissions':_['uniq'](_0x458445[_0x1cd3('0xd2')][_0x1cd3('0x38e')])})['$promise']['then'](function(){_0x452268[_0x1cd3('0x473')]({'title':_0x1cd3('0x210a'),'msg':_0x458445[_0x1cd3('0xd2')]['name']?_0x458445[_0x1cd3('0xd2')]['name']+'\x20has\x20been\x20updated!':''});})[_0x1cd3('0xfd')](function(_0x1e641f){console[_0x1cd3('0x434')](_0x1e641f);});}}}());(function(){'use strict';_0x4d6e20[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),'$q',_0x1cd3('0x461'),_0x1cd3('0x370'),_0x1cd3('0xd2'),'channel',_0x1cd3('0x5e0'),_0x1cd3('0x3f7'),_0x1cd3('0x56'),_0x1cd3('0xd27')];angular['module'](_0x1cd3('0x2b'))[_0x1cd3('0x39b')](_0x1cd3('0x198f'),_0x4d6e20);function _0x4d6e20(_0x4eaf7a,_0x5cef68,_0x2d527a,_0x4b01e1,_0x40da9d,_0x47662a,_0x212323,_0x4b0554,_0x2e85c4,_0x9c58ac){var _0x1ce22a=this;_0x1ce22a[_0x1cd3('0x3ca')]=_0x2e85c4[_0x1cd3('0x5d')]();_0x1ce22a['agent']=_0x40da9d;_0x1ce22a[_0x1cd3('0xd27')]=_0x9c58ac;_0x1ce22a[_0x1cd3('0x1146')]=0x0;_0x1ce22a[_0x1cd3('0x157f')]=_0x47662a;_0x1ce22a['direction']=_0x212323;_0x1ce22a['apiName']=_0x1ce22a[_0x1cd3('0x157f')]+_0x1cd3('0x1223');_0x1ce22a[_0x1cd3('0x486')]=_0x4b0554[_0x1cd3('0x44a')](_0x1cd3('0x210b')+_0x1ce22a[_0x1cd3('0x157f')][_0x1cd3('0x437')]()+'_'+_0x1ce22a[_0x1cd3('0x5e0')]['toUpperCase']());_0x1ce22a[_0x1cd3('0x493')]=[];_0x1ce22a['allowedItems']=[];_0x1ce22a[_0x1cd3('0x492')]=[];_0x1ce22a['startingAllowedItems']=[];_0x1ce22a[_0x1cd3('0x11be')]=[];_0x1ce22a['pendingChanges']=![];_0x1ce22a[_0x1cd3('0x1145')]={'readOnly':!_0x1ce22a[_0x1cd3('0xd27')][_0x1cd3('0xe3b')],'allowedItems':[],'selectedItems':[],'showSelectAndDeselectAll':!![],'orderBy':'name','line1':_0x1cd3('0x98'),'line2':_0x1cd3('0x424'),'line3':_0x1ce22a[_0x1cd3('0x157f')]==='voice'?_0x1cd3('0x1146'):'','labelAll':_0x4b0554[_0x1cd3('0x44a')](_0x1cd3('0x210c')+_0x1ce22a[_0x1cd3('0x157f')][_0x1cd3('0x437')]()+'_'+_0x1ce22a[_0x1cd3('0x5e0')][_0x1cd3('0x437')]()),'labelSelected':_0x4b0554[_0x1cd3('0x44a')](_0x1cd3('0x210d')+_0x1ce22a[_0x1cd3('0x157f')]['toUpperCase']()+'_'+_0x1ce22a[_0x1cd3('0x5e0')][_0x1cd3('0x437')]()),'transferCallback':function(_0xa7b0d3,_0x1660b4){if(_0x1660b4){_0xa7b0d3[_0x1cd3('0x394')](function(_0x159beb){_0x159beb[_0x1cd3('0x1146')]=undefined;});}else{_0xa7b0d3[_0x1cd3('0x394')](function(_0xeb9658){_0xeb9658[_0x1cd3('0x1146')]=_0x1cd3('0x1503')+_0x1ce22a[_0x1cd3('0x1146')];});}var _0x26fc4e=_['xorWith'](_0x1ce22a[_0x1cd3('0x11be')],_0x1ce22a['selectedItems'],function(_0x43ab14,_0x1fe252){return _0x43ab14['id']===_0x1fe252['id']&&_0x43ab14['penalty']===_0x1fe252[_0x1cd3('0x1146')];});_0x1ce22a[_0x1cd3('0x11c6')]=_['isEmpty'](_0x26fc4e)?![]:!![];}};_0x1ce22a[_0x1cd3('0x703')]=_0x4f1718;_0x1ce22a[_0x1cd3('0x210e')]=_0x5f09cb;_0x1ce22a['closeDialog']=_0x43e519;function _0x4f1718(){return _0x2e85c4[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x4a9c80()[_0x1cd3('0xfd')](function(_0x1fc4df){_0x2d527a['error']({'title':_0x1fc4df[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x1fc4df['status']+'\x20-\x20'+_0x1fc4df[_0x1cd3('0xd35')]:'SYSTEM:GET_QUEUES','msg':_0x1fc4df['status']?JSON[_0x1cd3('0x438')](_0x1fc4df[_0x1cd3('0x439')]):_0x1fc4df['toString']()});}):_0x1a637d()[_0x1cd3('0x77')](function(_0x4e73af){_0x1ce22a[_0x1cd3('0xd58')]=_0x4e73af;return _0x4a9c80();})['catch'](function(_0x3b4fd2){_0x2d527a[_0x1cd3('0x434')]({'title':_0x3b4fd2[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x3b4fd2['status']+'\x20-\x20'+_0x3b4fd2['statusText']:_0x1cd3('0x12af'),'msg':_0x3b4fd2['status']?JSON[_0x1cd3('0x438')](_0x3b4fd2[_0x1cd3('0x439')]):_0x3b4fd2[_0x1cd3('0x43b')]()});});}function _0x1a637d(){return _0x5cef68(function(_0x2a4ced,_0x832a15){var _0x539ca3;switch(_0x1ce22a['channel']){case _0x1cd3('0x121'):switch(_0x1ce22a[_0x1cd3('0x5e0')]){case'inbound':_0x539ca3=_0x1cd3('0xa5');break;case _0x1cd3('0x128'):_0x539ca3=_0x1cd3('0x129');break;}break;case _0x1cd3('0xbf'):_0x539ca3='ChatQueues';break;case _0x1cd3('0x1d2'):_0x539ca3=_0x1cd3('0x1d3');break;case _0x1cd3('0x26b'):_0x539ca3=_0x1cd3('0x26a');break;case _0x1cd3('0x22e'):_0x539ca3='OpenchannelQueues';break;case'fax':_0x539ca3='FaxQueues';break;}_0x4b01e1['userProfileSection'][_0x1cd3('0x361')]({'userProfileId':_0x1ce22a[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'name':_0x539ca3})['$promise'][_0x1cd3('0x77')](function(_0x297d2d){var _0x3241bb=_0x297d2d&&_0x297d2d['rows']?_0x297d2d[_0x1cd3('0xf6')][0x0]:null;_0x2a4ced(_0x3241bb);})[_0x1cd3('0xfd')](function(_0x3d4b8a){_0x832a15(_0x3d4b8a);});});}function _0x4a9c80(){return _0x5cef68(function(_0x49fa7a,_0x135765){return _0x1f1dd9()[_0x1cd3('0x77')](function(_0x65b197){_0x1ce22a[_0x1cd3('0x493')]=_0x65b197[_0x1cd3('0xf6')]?_0x65b197[_0x1cd3('0xf6')]:[];if(_0x2e85c4[_0x1cd3('0x57')](_0x1cd3('0x5f'))){return _0x65b197;}else{if(_0x1ce22a['section']){return _0x1ce22a[_0x1cd3('0xd58')]['autoAssociation']?_0x65b197:_0x28c5e4();}else{return null;}}})[_0x1cd3('0x77')](function(_0x555507){var _0x5d1384=_0x555507&&_0x555507[_0x1cd3('0xf6')]?_0x555507[_0x1cd3('0xf6')]:[];_0x1ce22a[_0x1cd3('0x11ba')]=_[_0x1cd3('0x3d9')](_0x5d1384,function(_0x191ff4){return _[_0x1cd3('0x442')](_0x1ce22a[_0x1cd3('0x493')],{'id':_0x2e85c4['hasRole'](_0x1cd3('0x5f'))||_0x1ce22a[_0x1cd3('0xd58')][_0x1cd3('0x391')]?_0x191ff4['id']:_0x191ff4[_0x1cd3('0xe8e')]});});_0x1ce22a[_0x1cd3('0x11bb')]=angular[_0x1cd3('0x429')](_0x1ce22a[_0x1cd3('0x11ba')]);_0x1ce22a[_0x1cd3('0x493')][_0x1cd3('0x394')](function(_0x43b51d){var _0x5c13ec=_['find'](_0x1ce22a['allowedItems'],{'id':_0x43b51d['id']});if(_0x2e85c4[_0x1cd3('0x57')](_0x1cd3('0x5f'))){_0x43b51d['isValid']=!![];}else{_0x43b51d[_0x1cd3('0x490')]=typeof _0x5c13ec!==_0x1cd3('0x491')?!![]:![];}});return _0x3176f0();})['then'](function(_0x494332){var _0x308ba0=_0x494332&&_0x494332[_0x1cd3('0xf6')]?_0x494332[_0x1cd3('0xf6')]:[];_0x1ce22a[_0x1cd3('0x492')]=_[_0x1cd3('0x3d9')](_0x308ba0,function(_0x2abe25){var _0x34d20e=_[_0x1cd3('0x442')](_0x1ce22a[_0x1cd3('0x493')],{'id':_0x2abe25['id']});if(_0x1ce22a[_0x1cd3('0x157f')]==='voice'){_0x34d20e[_0x1cd3('0x1146')]=typeof _0x34d20e!==_0x1cd3('0x491')&&typeof _0x2abe25[_0x1cd3('0x1e20')]!=='undefined'?'penalty\x20'+_0x2abe25[_0x1cd3('0x1e20')][_0x1cd3('0x1146')]:_0x1cd3('0x1503')+0x0;}return _0x34d20e;});_0x1ce22a['startingSelectedItems']=angular[_0x1cd3('0x429')](_0x1ce22a[_0x1cd3('0x492')]);_0x1ce22a[_0x1cd3('0x1145')][_0x1cd3('0x492')]=_0x1ce22a[_0x1cd3('0x492')];_0x1ce22a[_0x1cd3('0x1145')][_0x1cd3('0x493')]=_['differenceBy'](_0x1ce22a['allowedItems'],_0x1ce22a[_0x1cd3('0x1145')][_0x1cd3('0x492')],'id');_0x49fa7a();})[_0x1cd3('0xfd')](function(_0x48c036){_0x135765(_0x48c036);});});}function _0x28c5e4(){return _0x5cef68(function(_0x4dbcc3,_0x18e8e7){return _0x4b01e1['userProfileResource'][_0x1cd3('0x361')]({'sectionId':_0x1ce22a[_0x1cd3('0xd58')]['id'],'nolimit':!![]})[_0x1cd3('0x81')]['then'](function(_0x254d91){_0x4dbcc3(_0x254d91);})[_0x1cd3('0xfd')](function(_0x433823){_0x18e8e7(_0x433823);});});}function _0x3176f0(){return _0x5cef68(function(_0x1bf26a,_0x506575){return _0x4b01e1[_0x1cd3('0x368')][_0x1cd3('0x13df')]({'id':_0x1ce22a[_0x1cd3('0xd2')]['id'],'fields':_0x1cd3('0x210f'),'nolimit':!![],'type':_0x1ce22a[_0x1cd3('0x5e0')],'channel':_0x1ce22a['channel']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x14decc){_0x1bf26a(_0x14decc);})[_0x1cd3('0xfd')](function(_0x3a390c){_0x506575(_0x3a390c);});});}function _0x1f1dd9(){return _0x5cef68(function(_0x5809b1,_0x32b2f8){return _0x4b01e1[_0x1ce22a['apiName']][_0x1cd3('0x361')]({'fields':'id,name,strategy,type','channel':_0x1ce22a[_0x1cd3('0x157f')]===_0x1cd3('0x2110')?'voice':_0x1ce22a['channel'],'type':_0x1ce22a[_0x1cd3('0x5e0')],'nolimit':!![]})[_0x1cd3('0x81')]['then'](function(_0x56d6eb){_0x5809b1(_0x56d6eb);})[_0x1cd3('0xfd')](function(_0x39feca){_0x32b2f8(_0x39feca);});});}function _0x1e2504(_0x171d91){return _0x5cef68(function(_0x525c27,_0x805ec5){if(_[_0x1cd3('0x398')](_0x171d91)){_0x525c27();}else{if(_0x1ce22a[_0x1cd3('0x157f')]===_0x1cd3('0x121')){var _0x1bc073=[];var _0x408cf5=_[_0x1cd3('0x3d6')](_0x171d91,_0x1cd3('0x1146'));for(var _0x4dfce2=0x0;_0x4dfce2<Object[_0x1cd3('0x80')](_0x408cf5)[_0x1cd3('0x7a')];_0x4dfce2++){var _0x3a364a=Object[_0x1cd3('0x80')](_0x408cf5)[_0x4dfce2];var _0x5c6491=_['filter'](_0x171d91,['penalty',_0x3a364a]);_0x1bc073['push'](_0x4b01e1[_0x1cd3('0x368')][_0x1cd3('0x2111')]({'id':_0x1ce22a[_0x1cd3('0xd2')]['id'],'ids':_['map'](_0x5c6491,'id'),'channel':_0x1ce22a['channel'],'penalty':_[_0x1cd3('0x77b')](_0x3a364a,_0x1cd3('0x1503'))})['$promise']);}_0x5cef68['all'](_0x1bc073)[_0x1cd3('0x77')](function(){_0x525c27();})[_0x1cd3('0xfd')](function(_0x46fa70){_0x805ec5(_0x46fa70);});}else{_0x4b01e1[_0x1cd3('0x368')][_0x1cd3('0x2111')]({'id':_0x1ce22a[_0x1cd3('0xd2')]['id'],'ids':_[_0x1cd3('0x3d9')](_0x171d91,'id'),'channel':_0x1ce22a[_0x1cd3('0x157f')]})[_0x1cd3('0x81')]['then'](function(){_0x525c27();})[_0x1cd3('0xfd')](function(_0x5693cb){_0x805ec5(_0x5693cb);});}}});}function _0x1f3b91(_0x189ae2){return _0x5cef68(function(_0x56e773,_0x1c03c7){if(_[_0x1cd3('0x398')](_0x189ae2)){_0x56e773();}else{_0x4b01e1[_0x1cd3('0x368')][_0x1cd3('0x2112')]({'id':_0x1ce22a[_0x1cd3('0xd2')]['id'],'ids':_[_0x1cd3('0x3d9')](_0x189ae2,'id'),'channel':_0x1ce22a[_0x1cd3('0x157f')]})['$promise'][_0x1cd3('0x77')](function(){_0x56e773();})[_0x1cd3('0xfd')](function(_0x4d97b1){_0x1c03c7(_0x4d97b1);});}});}function _0x5f09cb(){var _0x18fc67=_[_0x1cd3('0x1152')](_0x1ce22a[_0x1cd3('0x11be')],_0x1ce22a[_0x1cd3('0x492')],'id');var _0x525338=_['differenceWith'](_0x1ce22a[_0x1cd3('0x492')],_0x1ce22a[_0x1cd3('0x11be')],function(_0x38ea57,_0x1a0467){return _0x38ea57['id']===_0x1a0467['id']&&_0x38ea57['penalty']===_0x1a0467[_0x1cd3('0x1146')];});return _0x1f3b91(_0x18fc67)[_0x1cd3('0x77')](function(){return _0x1e2504(_0x525338);})[_0x1cd3('0x77')](function(){_0x1ce22a[_0x1cd3('0x11c6')]=![];_0x1ce22a[_0x1cd3('0x11bb')]=angular[_0x1cd3('0x429')](_0x1ce22a[_0x1cd3('0x11ba')]);_0x1ce22a['startingSelectedItems']=angular[_0x1cd3('0x429')](_0x1ce22a[_0x1cd3('0x492')]);_0x2d527a[_0x1cd3('0x473')]({'title':_0x1cd3('0x11c4'),'msg':'Queues\x20association\x20has\x20been\x20updated!'});})[_0x1cd3('0xfd')](function(_0x1159b1){_0x2d527a[_0x1cd3('0x434')]({'title':_0x1159b1[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x1159b1['status']+_0x1cd3('0x436')+_0x1159b1[_0x1cd3('0xd35')]:_0x1cd3('0x2113'),'msg':_0x1159b1[_0x1cd3('0x3a6')]?JSON['stringify'](_0x1159b1[_0x1cd3('0x439')]):_0x1159b1['toString']()});});}function _0x43e519(){_0x4eaf7a[_0x1cd3('0x39d')]();}}}());(function(){'use strict';_0x45c2ef['$inject']=[_0x1cd3('0x3c5'),'$q',_0x1cd3('0x461'),_0x1cd3('0x370'),'agent',_0x1cd3('0x3f7'),'Auth',_0x1cd3('0xd27')];angular[_0x1cd3('0x0')]('app.staff')[_0x1cd3('0x39b')](_0x1cd3('0x20ec'),_0x45c2ef);function _0x45c2ef(_0x411840,_0x56033c,_0x14e345,_0x214f5a,_0x254670,_0x2eef16,_0xaa7a78,_0x2404ab){var _0x47e124=this;_0x47e124[_0x1cd3('0x3ca')]=_0xaa7a78['getCurrentUser']();_0x47e124[_0x1cd3('0xd2')]=_0x254670;_0x47e124[_0x1cd3('0xd27')]=_0x2404ab;_0x47e124[_0x1cd3('0x493')]=[];_0x47e124[_0x1cd3('0x11ba')]=[];_0x47e124[_0x1cd3('0x492')]=[];_0x47e124[_0x1cd3('0x11bb')]=[];_0x47e124['startingSelectedItems']=[];_0x47e124[_0x1cd3('0x11c6')]=![];_0x47e124[_0x1cd3('0x1145')]={'readOnly':!_0x47e124[_0x1cd3('0xd27')]['canEdit'],'allowedItems':[],'selectedItems':[],'showSelectAndDeselectAll':!![],'orderBy':_0x1cd3('0x98'),'line1':_0x1cd3('0x98'),'line2':'','line3':'','labelAll':_0x2eef16[_0x1cd3('0x44a')](_0x1cd3('0x2114')),'labelSelected':_0x2eef16[_0x1cd3('0x44a')](_0x1cd3('0x2115')),'transferCallback':function(_0x497795,_0x570f8a){var _0x25b259=_[_0x1cd3('0x11c8')](_0x47e124[_0x1cd3('0x11be')],_0x47e124[_0x1cd3('0x492')],'id');_0x47e124[_0x1cd3('0x11c6')]=_[_0x1cd3('0x398')](_0x25b259)?![]:!![];}};_0x47e124[_0x1cd3('0x703')]=_0x4d947f;_0x47e124[_0x1cd3('0x1968')]=_0x152f32;_0x47e124[_0x1cd3('0x39c')]=_0xab63ef;function _0x4d947f(){return _0xaa7a78['hasRole']('admin')?_0x10642f()[_0x1cd3('0xfd')](function(_0x50699e){_0x14e345['error']({'title':_0x50699e[_0x1cd3('0x3a6')]?'API:'+_0x50699e['status']+'\x20-\x20'+_0x50699e[_0x1cd3('0xd35')]:_0x1cd3('0x11c9'),'msg':_0x50699e['status']?JSON[_0x1cd3('0x438')](_0x50699e[_0x1cd3('0x439')]):_0x50699e[_0x1cd3('0x43b')]()});}):_0xa16be5()[_0x1cd3('0x77')](function(_0x4d83b5){_0x47e124['section']=_0x4d83b5;return _0x10642f();})[_0x1cd3('0xfd')](function(_0x27dd1b){_0x14e345[_0x1cd3('0x434')]({'title':_0x27dd1b[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x27dd1b[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x27dd1b[_0x1cd3('0xd35')]:'SYSTEM:GET_TEAMS','msg':_0x27dd1b[_0x1cd3('0x3a6')]?JSON['stringify'](_0x27dd1b['data']):_0x27dd1b[_0x1cd3('0x43b')]()});});}function _0xa16be5(){return _0x56033c(function(_0x183ea7,_0x341eef){_0x214f5a[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x47e124[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'name':_0x1cd3('0x296')})['$promise'][_0x1cd3('0x77')](function(_0x4c20d0){var _0x366558=_0x4c20d0&&_0x4c20d0['rows']?_0x4c20d0['rows'][0x0]:null;_0x183ea7(_0x366558);})[_0x1cd3('0xfd')](function(_0x433216){_0x341eef(_0x433216);});});}function _0x10642f(){return _0x56033c(function(_0x13fe0d,_0x7a40a8){return _0x21d113()[_0x1cd3('0x77')](function(_0x1dae38){_0x47e124[_0x1cd3('0x493')]=_0x1dae38[_0x1cd3('0xf6')]?_0x1dae38[_0x1cd3('0xf6')]:[];if(_0xaa7a78[_0x1cd3('0x57')](_0x1cd3('0x5f'))){return _0x1dae38;}else{if(_0x47e124['section']){return _0x47e124[_0x1cd3('0xd58')][_0x1cd3('0x391')]?_0x1dae38:_0x3039f9();}else{return null;}}})[_0x1cd3('0x77')](function(_0x2bc6e4){var _0x143f87=_0x2bc6e4&&_0x2bc6e4[_0x1cd3('0xf6')]?_0x2bc6e4[_0x1cd3('0xf6')]:[];_0x47e124[_0x1cd3('0x11ba')]=_[_0x1cd3('0x3d9')](_0x143f87,function(_0x286d19){return _[_0x1cd3('0x442')](_0x47e124[_0x1cd3('0x493')],{'id':_0xaa7a78[_0x1cd3('0x57')](_0x1cd3('0x5f'))||_0x47e124[_0x1cd3('0xd58')]['autoAssociation']?_0x286d19['id']:_0x286d19['resourceId']});});_0x47e124[_0x1cd3('0x493')][_0x1cd3('0x394')](function(_0x3d0a4f){var _0x345dc5=_[_0x1cd3('0x442')](_0x47e124['allowedItems'],{'id':_0x3d0a4f['id']});if(_0xaa7a78[_0x1cd3('0x57')](_0x1cd3('0x5f'))){_0x3d0a4f[_0x1cd3('0x490')]=!![];}else{_0x3d0a4f[_0x1cd3('0x490')]=typeof _0x345dc5!==_0x1cd3('0x491')?!![]:![];}});return _0x42e6d2();})[_0x1cd3('0x77')](function(_0x33d105){var _0xbb98d=_0x33d105&&_0x33d105[_0x1cd3('0xf6')]?_0x33d105[_0x1cd3('0xf6')]:[];_0x47e124[_0x1cd3('0x492')]=_[_0x1cd3('0x3d9')](_0xbb98d,function(_0x49823c){return _['find'](_0x47e124[_0x1cd3('0x493')],{'id':_0x49823c['id']});});_0x47e124[_0x1cd3('0x11be')]=angular[_0x1cd3('0x429')](_0x47e124[_0x1cd3('0x492')]);_0x47e124['dualMultiselectOptions'][_0x1cd3('0x492')]=_0x47e124['selectedItems'];_0x47e124[_0x1cd3('0x1145')]['items']=_['differenceBy'](_0x47e124[_0x1cd3('0x11ba')],_0x47e124[_0x1cd3('0x1145')][_0x1cd3('0x492')],'id');_0x13fe0d();})['catch'](function(_0x385a12){_0x7a40a8(_0x385a12);});});}function _0x3039f9(){return _0x56033c(function(_0xe26107,_0x285691){return _0x214f5a['userProfileResource'][_0x1cd3('0x361')]({'sectionId':_0x47e124[_0x1cd3('0xd58')]['id'],'nolimit':!![]})[_0x1cd3('0x81')]['then'](function(_0x15be2d){_0xe26107(_0x15be2d);})[_0x1cd3('0xfd')](function(_0x42348f){_0x285691(_0x42348f);});});}function _0x42e6d2(){return _0x56033c(function(_0x5a6608,_0x2724f6){return _0x214f5a[_0x1cd3('0x368')][_0x1cd3('0x11ca')]({'id':_0x47e124[_0x1cd3('0xd2')]['id'],'fields':_0x1cd3('0xa6'),'nolimit':!![]})[_0x1cd3('0x81')]['then'](function(_0x48f41a){_0x5a6608(_0x48f41a);})[_0x1cd3('0xfd')](function(_0x50de3b){_0x2724f6(_0x50de3b);});});}function _0x21d113(){return _0x56033c(function(_0x6a4569,_0x302e67){return _0x214f5a[_0x1cd3('0xc61')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'nolimit':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x3410ed){_0x6a4569(_0x3410ed);})['catch'](function(_0x15c216){_0x302e67(_0x15c216);});});}function _0x158525(_0x40a379){return _0x56033c(function(_0x4fba19,_0x2508ea){if(_[_0x1cd3('0x398')](_0x40a379)){_0x4fba19();}else{_0x214f5a[_0x1cd3('0x368')]['addTeams']({'id':_0x47e124[_0x1cd3('0xd2')]['id'],'ids':_[_0x1cd3('0x3d9')](_0x40a379,'id')})[_0x1cd3('0x81')]['then'](function(){_0x4fba19();})[_0x1cd3('0xfd')](function(_0x330b98){_0x2508ea(_0x330b98);});}});}function _0x35ffa7(_0x1d3a96){return _0x56033c(function(_0x585318,_0x47f35d){if(_[_0x1cd3('0x398')](_0x1d3a96)){_0x585318();}else{_0x214f5a[_0x1cd3('0x368')][_0x1cd3('0x11cc')]({'id':_0x47e124['agent']['id'],'ids':_[_0x1cd3('0x3d9')](_0x1d3a96,'id')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x585318();})[_0x1cd3('0xfd')](function(_0x1ac7ca){_0x47f35d(_0x1ac7ca);});}});}function _0x152f32(){var _0x200891=_[_0x1cd3('0x1152')](_0x47e124[_0x1cd3('0x11be')],_0x47e124[_0x1cd3('0x492')],'id');var _0x5090da=_[_0x1cd3('0x1152')](_0x47e124[_0x1cd3('0x492')],_0x47e124[_0x1cd3('0x11be')],'id');return _0x35ffa7(_0x200891)[_0x1cd3('0x77')](function(){return _0x158525(_0x5090da);})[_0x1cd3('0x77')](function(){_0x47e124[_0x1cd3('0x11c6')]=![];_0x47e124[_0x1cd3('0x11bb')]=angular[_0x1cd3('0x429')](_0x47e124[_0x1cd3('0x11ba')]);_0x47e124[_0x1cd3('0x11be')]=angular['copy'](_0x47e124[_0x1cd3('0x492')]);_0x14e345['success']({'title':_0x1cd3('0x11c4'),'msg':'Teams\x20association\x20has\x20been\x20updated!'});})[_0x1cd3('0xfd')](function(_0x203576){_0x14e345['error']({'title':_0x203576['status']?_0x1cd3('0x435')+_0x203576[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x203576[_0x1cd3('0xd35')]:_0x1cd3('0x11ce'),'msg':_0x203576['status']?JSON[_0x1cd3('0x438')](_0x203576[_0x1cd3('0x439')]):_0x203576[_0x1cd3('0x43b')]()});});}function _0xab63ef(){_0x411840['hide']();}}}());(function(){'use strict';_0x25a6b2[_0x1cd3('0xc')]=[_0x1cd3('0x53e'),'$location','$mdDialog',_0x1cd3('0x372'),_0x1cd3('0x3f7'),_0x1cd3('0x463'),_0x1cd3('0xc49'),_0x1cd3('0x370'),'toasty',_0x1cd3('0x56'),'agent',_0x1cd3('0x390')];angular[_0x1cd3('0x0')](_0x1cd3('0x2b'))[_0x1cd3('0x39b')](_0x1cd3('0x2116'),_0x25a6b2);function _0x25a6b2(_0x6e14bb,_0x43814e,_0x210e70,_0x561728,_0x2d021e,_0x335c31,_0x11b7bc,_0xb237bf,_0x39373c,_0x6eadd6,_0x49b7a8,_0x4910fb){var _0x4bffa5=this;_0x4bffa5[_0x1cd3('0x3ca')]=_0x6eadd6[_0x1cd3('0x5d')]();_0x4bffa5['license']=_0x335c31;_0x4bffa5[_0x1cd3('0xc49')]=_0x11b7bc;_0x4bffa5[_0x1cd3('0xd29')]=_0x4bffa5['setting'][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x4bffa5[_0x1cd3('0xd22')]=_0x43814e[_0x1cd3('0x3b0')]()+_0x1cd3('0x11cf')+_0x43814e[_0x1cd3('0x3ac')]();_0x4bffa5[_0x1cd3('0xd2')]=_0x49b7a8||_0x6e14bb[_0x1cd3('0x36a')]['agent']||{};_0x4bffa5[_0x1cd3('0x390')]=_0x4910fb&&_0x4910fb['count']==0x1?_0x4910fb[_0x1cd3('0xf6')][0x0]:null;_0x4bffa5[_0x1cd3('0xd27')]=_0x6eadd6[_0x1cd3('0xd44')](_0x4bffa5[_0x1cd3('0x390')]?_0x4bffa5[_0x1cd3('0x390')]['crudPermissions']:null);_0x4bffa5[_0x1cd3('0xd28')]={};_0x4bffa5['selectedTab']=_0x6e14bb['params']['tab']||0x0;_0x4bffa5['queueaddchannel']=_0x2db1b0;_0x4bffa5['teamadddialog']=_0x1c2535;_0x4bffa5[_0x1cd3('0x2117')]=_0x30ba67;_0x4bffa5[_0x1cd3('0x2118')]=_0x31d986;_0x4bffa5['onEnableAutomaticScreenRecordingSelection']=_0x3b1976;_0x4bffa5[_0x1cd3('0x11d0')]=_0x39373c[_0x1cd3('0x654')];_0x4bffa5['gotoAgents']=_0x52d730;_0x4bffa5['saveAgent']=_0x64c6ae;_0x6eadd6[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0xb237bf[_0x1cd3('0xa3e')]['get']({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x1fa265){_0x4bffa5[_0x1cd3('0x2119')]=_0x1fa265[_0x1cd3('0xf6')]||[];})['catch'](function(_0x27b6e4){_0x39373c[_0x1cd3('0x434')]({'title':_0x27b6e4[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x27b6e4[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x27b6e4[_0x1cd3('0xd35')]:_0x1cd3('0x211a'),'msg':_0x27b6e4[_0x1cd3('0x439')]?JSON['stringify'](_0x27b6e4['data']):_0x27b6e4[_0x1cd3('0x43b')]()});}):_0xb237bf['voiceContext'][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':'name'})[_0x1cd3('0x81')]['then'](function(_0x3462e0){_0x4bffa5[_0x1cd3('0x2119')]=_0x3462e0[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0xb237bf['userProfileSection'][_0x1cd3('0x361')]({'userProfileId':_0x4bffa5[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x195})[_0x1cd3('0x81')];})['then'](function(_0x2e1173){var _0x9db13f=_0x2e1173&&_0x2e1173['rows']?_0x2e1173[_0x1cd3('0xf6')][0x0]:null;if(!_0x9db13f){return _0xb237bf[_0x1cd3('0xa3e')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':'name','defaultEntry':0x1})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x1e049){_0x4bffa5[_0x1cd3('0x2119')]=_0x1e049['rows']||[];});}else{if(!_0x9db13f[_0x1cd3('0x391')]){return _0xb237bf[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x9db13f['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x5a2964){var _0x452aa6=_[_0x1cd3('0x3d9')](_0x5a2964[_0x1cd3('0xf6')],function(_0x2896df){return _[_0x1cd3('0x442')](_0x4bffa5[_0x1cd3('0x2119')],{'id':_0x2896df[_0x1cd3('0xe8e')]});});var _0x2c1cc5=null;if(_0x4bffa5['agent']){_0x2c1cc5=_['find'](_0x4bffa5[_0x1cd3('0x2119')],{'name':_0x4bffa5[_0x1cd3('0xd2')]['context']});}if(_0x2c1cc5&&!_['some'](_0x452aa6,['id',_0x2c1cc5['id']])){var _0x8a5d75=_[_0x1cd3('0x442')](_0x4bffa5[_0x1cd3('0x2119')],{'id':_0x2c1cc5['id']});_0x8a5d75[_0x1cd3('0xf4a')]=![];_0x452aa6['push'](_0x8a5d75);}_0x4bffa5[_0x1cd3('0x2119')]=_0x452aa6;});}}})[_0x1cd3('0xfd')](function(_0x1e33ff){_0x39373c[_0x1cd3('0x434')]({'title':_0x1e33ff[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x1e33ff['status']+_0x1cd3('0x436')+_0x1e33ff[_0x1cd3('0xd35')]:'SYSTEM:GETcontexts','msg':_0x1e33ff[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x1e33ff[_0x1cd3('0x439')]):_0x1e33ff[_0x1cd3('0x43b')]()});});function _0x2db1b0(_0x4679d4,_0x19f2c8,_0x5c5949,_0x3bb121){_0x210e70[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x198f'),'controllerAs':'vm','templateUrl':_0x1cd3('0x13cc'),'parent':angular[_0x1cd3('0x37f')](_0x561728['body']),'targetEvent':_0x5c5949,'clickOutsideToClose':!![],'locals':{'agent':_0x4679d4,'agents':_0x4bffa5[_0x1cd3('0x1228')]?_0x4bffa5[_0x1cd3('0x1228')][_0x1cd3('0xf6')]:[],'channel':_0x19f2c8,'direction':_0x3bb121||_0x1cd3('0xa4'),'crudPermissions':_0x4bffa5[_0x1cd3('0xd27')]}});}function _0x1c2535(_0x40a046,_0x55de2){_0x210e70[_0x1cd3('0x37e')]({'controller':'AgentteamaddController','controllerAs':'vm','templateUrl':_0x1cd3('0x20ed'),'parent':angular[_0x1cd3('0x37f')](_0x561728['body']),'targetEvent':_0x55de2,'clickOutsideToClose':!![],'locals':{'agent':_0x40a046,'agents':_0x4bffa5[_0x1cd3('0x1228')]?_0x4bffa5['agents'][_0x1cd3('0xf6')]:[],'crudPermissions':_0x4bffa5[_0x1cd3('0xd27')]}});}function _0x30ba67(_0x43c800,_0x584d8c){_0x210e70['show']({'controller':_0x1cd3('0x20fe'),'controllerAs':'vm','templateUrl':_0x1cd3('0x211b'),'parent':angular[_0x1cd3('0x37f')](_0x561728[_0x1cd3('0x380')]),'targetEvent':_0x584d8c,'clickOutsideToClose':!![],'locals':{'agent':_0x43c800,'setting':_0x11b7bc,'agents':_0x4bffa5[_0x1cd3('0x1228')]?_0x4bffa5[_0x1cd3('0x1228')][_0x1cd3('0xf6')]:[],'crudPermissions':_0x4bffa5[_0x1cd3('0xd27')]}});}function _0x52d730(){_0x6e14bb['go'](_0x1cd3('0x285'),{},{'reload':_0x1cd3('0x285')});}function _0x64c6ae(){_0x4bffa5['agent']=_[_0x1cd3('0x3e3')](_0x4bffa5['agent'],_0x1cd3('0x1386'));_0xb237bf[_0x1cd3('0x368')]['update']({'id':_0x4bffa5[_0x1cd3('0xd2')]['id']},_0x4bffa5[_0x1cd3('0xd2')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x39373c[_0x1cd3('0x473')]({'title':_0x1cd3('0x211c'),'msg':_0x4bffa5['agent'][_0x1cd3('0x98')]?_0x4bffa5[_0x1cd3('0xd2')][_0x1cd3('0x98')]+_0x1cd3('0xe65'):''});})['catch'](function(_0x450583){_0x39373c['error']({'title':_0x450583[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x450583['status']+_0x1cd3('0x436')+_0x450583[_0x1cd3('0xd35')]:_0x1cd3('0x211d'),'msg':_0x450583[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x450583['data']):_0x450583[_0x1cd3('0x43b')]()});});}function _0x31d986(){var _0x54c06e=['phoneBarEnableAutomaticScreenRecording'];_0x54c06e['forEach'](function(_0x54fbd5){if(_0x4bffa5[_0x1cd3('0xd2')]['phoneBarEnableScreenRecordingByAgent']){_0x4bffa5['agent'][_0x54fbd5]=!_0x4bffa5['agent'][_0x1cd3('0x13a6')];}});}function _0x3b1976(){var _0x5392b2=[_0x1cd3('0x13a6')];_0x5392b2['forEach'](function(_0x56f6bb){if(_0x4bffa5['agent']['phoneBarEnableAutomaticScreenRecording']){_0x4bffa5[_0x1cd3('0xd2')][_0x56f6bb]=!_0x4bffa5[_0x1cd3('0xd2')][_0x1cd3('0x13a7')];}});}}}());(function(){'use strict';_0x369c21[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x53e'),_0x1cd3('0xd24'),_0x1cd3('0x3c5'),'$q',_0x1cd3('0x3f7'),_0x1cd3('0x461'),'teams','team',_0x1cd3('0x370'),_0x1cd3('0x56'),'license',_0x1cd3('0xc49'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x2b'))[_0x1cd3('0x39b')](_0x1cd3('0x211e'),_0x369c21);function _0x369c21(_0x4c6896,_0x57f165,_0x33942d,_0x1d368e,_0x43c27c,_0x550d6e,_0x15a92d,_0x1d2e45,_0x281993,_0x172b64,_0x5765fe,_0x42eaad,_0x5d2749,_0x7efd2e){var _0x2c968d=this;_0x2c968d[_0x1cd3('0x3ca')]=_0x5765fe['getCurrentUser']();_0x2c968d[_0x1cd3('0xd34')]=[];_0x2c968d[_0x1cd3('0xc49')]=_0x5d2749;_0x2c968d['license']=_0x42eaad;_0x2c968d['crudPermissions']=_0x7efd2e;_0x2c968d['hasModulePermissions']={};_0x2c968d['passwordPattern']=_0x2c968d[_0x1cd3('0xc49')]&&_0x2c968d['setting'][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x2c968d[_0x1cd3('0x486')]=_0x1cd3('0x211f');_0x2c968d[_0x1cd3('0xc61')]=angular[_0x1cd3('0x429')](_0x281993);_0x2c968d[_0x1cd3('0x2120')]=_0x1d2e45;_0x2c968d[_0x1cd3('0x2121')]=![];if(!_0x2c968d['team']){_0x2c968d[_0x1cd3('0xc61')]={};_0x2c968d[_0x1cd3('0x486')]=_0x1cd3('0x2122');_0x2c968d[_0x1cd3('0x2121')]=!![];}_0x2c968d[_0x1cd3('0x2123')]=_0x55f1ba;_0x2c968d['saveTeam']=_0x4d0dbe;_0x2c968d[_0x1cd3('0x2124')]=_0x496f1c;_0x2c968d[_0x1cd3('0xd31')]=_0x109a5b;_0x2c968d[_0x1cd3('0x39c')]=_0x205d40;function _0x55f1ba(){_0x2c968d[_0x1cd3('0xd34')]=[];_0x172b64[_0x1cd3('0xc61')]['save'](_0x2c968d[_0x1cd3('0xc61')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x1bdcc8){_0x2c968d[_0x1cd3('0x2120')]['unshift'](_0x1bdcc8[_0x1cd3('0xd32')]());_0x15a92d[_0x1cd3('0x473')]({'title':_0x1cd3('0x2125'),'msg':_0x2c968d[_0x1cd3('0xc61')]['name']?_0x2c968d['team'][_0x1cd3('0x98')]+'\x20has\x20been\x20created!':''});_0x205d40(_0x1bdcc8);})['catch'](function(_0x49f56b){if(_0x49f56b['data']&&_0x49f56b[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x49f56b[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')]){_0x2c968d[_0x1cd3('0xd34')]=_0x49f56b[_0x1cd3('0x439')]['errors']||[{'message':_0x49f56b['toString'](),'type':_0x1cd3('0x2126')}];for(var _0xebafc6=0x0;_0xebafc6<_0x49f56b[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0xebafc6+=0x1){_0x15a92d[_0x1cd3('0x434')]({'title':_0x49f56b[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0xebafc6][_0x1cd3('0x424')],'msg':_0x49f56b[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0xebafc6][_0x1cd3('0x43a')]});}}else{_0x15a92d[_0x1cd3('0x434')]({'title':_0x49f56b[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x49f56b[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x49f56b['statusText']:'api.team.save','msg':_0x49f56b['data']?JSON[_0x1cd3('0x438')](_0x49f56b['data'][_0x1cd3('0x43a')]):_0x49f56b[_0x1cd3('0x43b')]()});}});}function _0x4d0dbe(){_0x2c968d['errors']=[];_0x172b64[_0x1cd3('0xc61')][_0x1cd3('0x378')]({'id':_0x2c968d[_0x1cd3('0xc61')]['id']},_0x2c968d[_0x1cd3('0xc61')])['$promise'][_0x1cd3('0x77')](function(_0x2d3559){var _0x5494be=_[_0x1cd3('0x442')](_0x2c968d[_0x1cd3('0x2120')],{'id':_0x2d3559['id']});if(_0x5494be){_[_0x1cd3('0xf2')](_0x5494be,_[_0x1cd3('0x5e8')](_0x2d3559['toJSON'](),_[_0x1cd3('0x80')](_0x5494be)));}_0x15a92d[_0x1cd3('0x473')]({'title':_0x1cd3('0x2127'),'msg':_0x2c968d[_0x1cd3('0xc61')][_0x1cd3('0x98')]?_0x2c968d[_0x1cd3('0xc61')][_0x1cd3('0x98')]+_0x1cd3('0xd37'):''});_0x205d40(_0x2d3559);})[_0x1cd3('0xfd')](function(_0x44dbc4){if(_0x44dbc4[_0x1cd3('0x439')]&&_0x44dbc4[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x44dbc4[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x2c968d[_0x1cd3('0xd34')]=_0x44dbc4[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x44dbc4[_0x1cd3('0x43b')](),'type':_0x1cd3('0x2128')}];for(var _0x7e996b=0x0;_0x7e996b<_0x44dbc4[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x7e996b++){_0x15a92d['error']({'title':_0x44dbc4['data']['errors'][_0x7e996b][_0x1cd3('0x424')],'msg':_0x44dbc4[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x7e996b][_0x1cd3('0x43a')]});}}else{_0x15a92d[_0x1cd3('0x434')]({'title':_0x44dbc4[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x44dbc4['status']+_0x1cd3('0x436')+_0x44dbc4[_0x1cd3('0xd35')]:_0x1cd3('0x2128'),'msg':_0x44dbc4['data']?JSON[_0x1cd3('0x438')](_0x44dbc4[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x44dbc4[_0x1cd3('0x43b')]()});}});}function _0x496f1c(_0x557b34){_0x2c968d[_0x1cd3('0xd34')]=[];var _0x430cde=_0x1d368e['confirm']()['title'](_0x1cd3('0xd3a'))[_0x1cd3('0xd3b')](_0x1cd3('0x2129'))[_0x1cd3('0xd3d')](_0x1cd3('0x212a'))['ok']('Delete')['cancel'](_0x1cd3('0x674'))['targetEvent'](_0x557b34);_0x1d368e[_0x1cd3('0x37e')](_0x430cde)[_0x1cd3('0x77')](function(){_0x172b64['team']['delete']({'id':_0x2c968d[_0x1cd3('0xc61')]['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x2c968d[_0x1cd3('0x2120')],{'id':_0x2c968d[_0x1cd3('0xc61')]['id']});_0x15a92d[_0x1cd3('0x473')]({'title':_0x1cd3('0x212b'),'msg':(_0x2c968d[_0x1cd3('0xc61')][_0x1cd3('0x98')]||_0x1cd3('0xc61'))+_0x1cd3('0xd41')});_0x205d40(_0x2c968d[_0x1cd3('0xc61')]);})['catch'](function(_0x38508f){if(_0x38508f['data']&&_0x38508f['data'][_0x1cd3('0xd34')]&&_0x38508f[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length']){_0x2c968d[_0x1cd3('0xd34')]=_0x38508f[_0x1cd3('0x439')]['errors']||[{'message':_0x38508f[_0x1cd3('0x43b')](),'type':_0x1cd3('0x212c')}];for(var _0x278c39=0x0;_0x278c39<_0x38508f[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x278c39++){_0x15a92d['error']({'title':_0x38508f[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x278c39][_0x1cd3('0x424')],'msg':_0x38508f[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x278c39]['message']});}}else{_0x15a92d[_0x1cd3('0x434')]({'title':_0x38508f['status']?_0x1cd3('0x435')+_0x38508f[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x38508f['statusText']:_0x1cd3('0x212c'),'msg':_0x38508f[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x38508f[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x38508f[_0x1cd3('0x43a')]||_0x38508f['toString']()});}});},function(){});}function _0x109a5b(_0x4d085d){return _0x4d085d===null?undefined:new Date(_0x4d085d);}function _0x205d40(_0x509f51){_0x1d368e['hide'](_0x509f51);}}}());(function(){'use strict';_0x3f79ec[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),'$q',_0x1cd3('0x461'),'api',_0x1cd3('0xc61'),_0x1cd3('0x2120'),_0x1cd3('0x11b9'),_0x1cd3('0x3f7'),_0x1cd3('0x56'),'crudPermissions'];angular['module']('app.staff')[_0x1cd3('0x39b')](_0x1cd3('0x212d'),_0x3f79ec);function _0x3f79ec(_0x1cabea,_0x5d14d4,_0x480cd5,_0x38c7d7,_0x2d412f,_0x41924c,_0x3ebd5b,_0x56aa0f,_0xfb2a3f,_0x48f10c){var _0x32bfce=this;_0x32bfce[_0x1cd3('0x3ca')]=_0xfb2a3f[_0x1cd3('0x5d')]();_0x32bfce[_0x1cd3('0xc61')]=_0x2d412f;_0x32bfce[_0x1cd3('0xd27')]=_0x48f10c;_0x32bfce['realtime']=_0x3ebd5b;_0x32bfce['items']=[];_0x32bfce[_0x1cd3('0x11ba')]=[];_0x32bfce['selectedItems']=[];_0x32bfce[_0x1cd3('0x11bb')]=[];_0x32bfce['startingSelectedItems']=[];_0x32bfce[_0x1cd3('0x11c6')]=![];_0x32bfce[_0x1cd3('0x703')]=_0x47ef64;_0x32bfce[_0x1cd3('0x11bc')]=_0x2d4132;_0x32bfce[_0x1cd3('0x39c')]=_0x5a737f;_0x32bfce['dualMultiselectOptions']={'readOnly':!_0x32bfce[_0x1cd3('0xd27')]['canEdit'],'items':[],'selectedItems':[],'showSelectAndDeselectAll':!![],'orderBy':_0x1cd3('0x98'),'line1':_0x1cd3('0xd3'),'line2':['name',_0x1cd3('0x311')],'line3':'','labelAll':_0x56aa0f[_0x1cd3('0x44a')](_0x1cd3('0x212e')),'labelSelected':_0x56aa0f['instant'](_0x1cd3('0x212f')),'transferCallback':function(_0x537127,_0x316108){var _0x449703=_[_0x1cd3('0x11c8')](_0x32bfce['startingSelectedItems'],_0x32bfce[_0x1cd3('0x492')],'id');_0x32bfce[_0x1cd3('0x11c6')]=_['isEmpty'](_0x449703)?![]:!![];}};function _0x47ef64(){return _0xfb2a3f[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x475a0f()[_0x1cd3('0xfd')](function(_0x3ad9cf){_0x480cd5['error']({'title':_0x3ad9cf[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x3ad9cf['status']+_0x1cd3('0x436')+_0x3ad9cf['statusText']:_0x1cd3('0x11bf'),'msg':_0x3ad9cf['status']?JSON[_0x1cd3('0x438')](_0x3ad9cf[_0x1cd3('0x439')]):_0x3ad9cf[_0x1cd3('0x43b')]()});}):_0x85391c()[_0x1cd3('0x77')](function(_0x5e0541){_0x32bfce['section']=_0x5e0541;return _0x475a0f();})[_0x1cd3('0xfd')](function(_0x58a9d7){_0x480cd5['error']({'title':_0x58a9d7[_0x1cd3('0x3a6')]?'API:'+_0x58a9d7[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x58a9d7[_0x1cd3('0xd35')]:_0x1cd3('0x11bf'),'msg':_0x58a9d7[_0x1cd3('0x3a6')]?JSON[_0x1cd3('0x438')](_0x58a9d7[_0x1cd3('0x439')]):_0x58a9d7[_0x1cd3('0x43b')]()});});}function _0x85391c(){return _0x5d14d4(function(_0x2b3d36,_0x6e059c){_0x38c7d7[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x32bfce[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'name':'Agents'})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x8c8059){var _0x4d3030=_0x8c8059&&_0x8c8059[_0x1cd3('0xf6')]?_0x8c8059[_0x1cd3('0xf6')][0x0]:null;_0x2b3d36(_0x4d3030);})[_0x1cd3('0xfd')](function(_0x4929cf){_0x6e059c(_0x4929cf);});});}function _0x475a0f(){return _0x5d14d4(function(_0x2e0444,_0x262483){return _0xa5902d()[_0x1cd3('0x77')](function(_0x57b667){_0x32bfce[_0x1cd3('0x493')]=_0x57b667['rows']?_0x57b667[_0x1cd3('0xf6')]:[];if(_0xfb2a3f[_0x1cd3('0x57')](_0x1cd3('0x5f'))){return _0x57b667;}else{if(_0x32bfce[_0x1cd3('0xd58')]){return _0x32bfce['section']['autoAssociation']?_0x57b667:_0xb9bd47();}else{return null;}}})['then'](function(_0x57e580){var _0x2f6ab9=_0x57e580&&_0x57e580['rows']?_0x57e580[_0x1cd3('0xf6')]:[];_0x32bfce[_0x1cd3('0x11ba')]=_['map'](_0x2f6ab9,function(_0x160136){return _[_0x1cd3('0x442')](_0x32bfce[_0x1cd3('0x493')],{'id':_0xfb2a3f['hasRole'](_0x1cd3('0x5f'))||_0x32bfce[_0x1cd3('0xd58')][_0x1cd3('0x391')]?_0x160136['id']:_0x160136[_0x1cd3('0xe8e')]});});_0x32bfce[_0x1cd3('0x11bb')]=angular['copy'](_0x32bfce['allowedItems']);_0x32bfce[_0x1cd3('0x493')][_0x1cd3('0x394')](function(_0x3e354a){var _0x194365=_[_0x1cd3('0x442')](_0x32bfce[_0x1cd3('0x11ba')],{'id':_0x3e354a['id']});if(_0xfb2a3f[_0x1cd3('0x57')](_0x1cd3('0x5f'))){_0x3e354a[_0x1cd3('0x490')]=!![];}else{_0x3e354a[_0x1cd3('0x490')]=typeof _0x194365!==_0x1cd3('0x491')?!![]:![];}});return _0x48cfe8();})['then'](function(_0x1cf6d3){var _0x30c52c=_0x1cf6d3&&_0x1cf6d3[_0x1cd3('0xf6')]?_0x1cf6d3['rows']:[];_0x32bfce[_0x1cd3('0x492')]=_[_0x1cd3('0x3d9')](_0x30c52c,function(_0x4e3c4c){var _0x32e8c9=_[_0x1cd3('0x442')](_0x32bfce['items'],{'id':_0x4e3c4c['id']});_0x32e8c9[_0x1cd3('0x1146')]=_0x4e3c4c['UserTeam']?_0x1cd3('0x1503')+_0x4e3c4c['UserTeam'][_0x1cd3('0x1146')]:'';_0x32e8c9['internal']=_0x4e3c4c[_0x1cd3('0x3d0')](_0x1cd3('0x311'))?'<'+_0x4e3c4c['internal']+'>':'';return _0x32e8c9;});_0x32bfce[_0x1cd3('0x11be')]=angular[_0x1cd3('0x429')](_0x32bfce[_0x1cd3('0x492')]);_0x32bfce[_0x1cd3('0x1145')]['selectedItems']=_0x32bfce[_0x1cd3('0x492')];_0x32bfce['dualMultiselectOptions'][_0x1cd3('0x493')]=_[_0x1cd3('0x1152')](_0x32bfce[_0x1cd3('0x11ba')],_0x32bfce[_0x1cd3('0x1145')]['selectedItems'],'id');_0x2e0444();})[_0x1cd3('0xfd')](function(_0x2ea6ff){_0x262483(_0x2ea6ff);});});}function _0xb9bd47(){return _0x5d14d4(function(_0x26b060,_0xc2dedf){return _0x38c7d7['userProfileResource'][_0x1cd3('0x361')]({'sectionId':_0x32bfce[_0x1cd3('0xd58')]['id'],'nolimit':!![]})[_0x1cd3('0x81')]['then'](function(_0x45b616){_0x26b060(_0x45b616);})[_0x1cd3('0xfd')](function(_0x5a399e){_0xc2dedf(_0x5a399e);});});}function _0x48cfe8(){return _0x5d14d4(function(_0x108792,_0x45a309){return _0x38c7d7[_0x1cd3('0xc61')][_0x1cd3('0x1269')]({'id':_0x32bfce[_0x1cd3('0xc61')]['id'],'fields':_0x1cd3('0x11c1'),'nolimit':!![],'role':'agent'})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x3f68a8){_0x108792(_0x3f68a8);})[_0x1cd3('0xfd')](function(_0x252366){_0x45a309(_0x252366);});});}function _0xa5902d(){return _0x5d14d4(function(_0x48b616,_0x21a00a){return _0x38c7d7[_0x1cd3('0x368')][_0x1cd3('0x361')]({'fields':'id,name,internal,fullname','nolimit':!![],'role':'agent'})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x31d044){_0x48b616(_0x31d044);})[_0x1cd3('0xfd')](function(_0x288beb){_0x21a00a(_0x288beb);});});}function _0x1e2f8f(_0x4cb8e7){return _0x5d14d4(function(_0x1ae82f,_0x208083){if(_[_0x1cd3('0x398')](_0x4cb8e7)){_0x1ae82f();}else{_0x38c7d7[_0x1cd3('0xc61')][_0x1cd3('0x11c2')]({'id':_0x32bfce['team']['id'],'ids':_['map'](_0x4cb8e7,'id')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x1ae82f();})['catch'](function(_0x2ea1c0){_0x208083(_0x2ea1c0);});}});}function _0x1add08(_0x56c5c0){return _0x5d14d4(function(_0x571287,_0x113795){if(_[_0x1cd3('0x398')](_0x56c5c0)){_0x571287();}else{_0x38c7d7[_0x1cd3('0xc61')]['removeAgents']({'id':_0x32bfce[_0x1cd3('0xc61')]['id'],'ids':_[_0x1cd3('0x3d9')](_0x56c5c0,'id')})['$promise'][_0x1cd3('0x77')](function(){_0x571287();})['catch'](function(_0x4e51de){_0x113795(_0x4e51de);});}});}function _0x2d4132(){var _0xd311d0=_[_0x1cd3('0x1152')](_0x32bfce['startingSelectedItems'],_0x32bfce[_0x1cd3('0x492')],'id');var _0x29f527=_[_0x1cd3('0x1152')](_0x32bfce['selectedItems'],_0x32bfce[_0x1cd3('0x11be')],'id');return _0x1add08(_0xd311d0)[_0x1cd3('0x77')](function(){return _0x1e2f8f(_0x29f527);})[_0x1cd3('0x77')](function(){_0x32bfce[_0x1cd3('0x11c6')]=![];_0x32bfce[_0x1cd3('0x11bb')]=angular[_0x1cd3('0x429')](_0x32bfce[_0x1cd3('0x11ba')]);_0x32bfce['startingSelectedItems']=angular[_0x1cd3('0x429')](_0x32bfce[_0x1cd3('0x492')]);_0x480cd5[_0x1cd3('0x473')]({'title':_0x1cd3('0x11c4'),'msg':'Agents\x20association\x20has\x20been\x20updated!'});})['catch'](function(_0x3a0b16){_0x480cd5[_0x1cd3('0x434')]({'title':_0x3a0b16[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x3a0b16[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x3a0b16[_0x1cd3('0xd35')]:_0x1cd3('0x11ce'),'msg':_0x3a0b16[_0x1cd3('0x3a6')]?JSON['stringify'](_0x3a0b16[_0x1cd3('0x439')]):_0x3a0b16[_0x1cd3('0x43b')]()});});}function _0x5a737f(){_0x1cabea[_0x1cd3('0x39d')]();}}}());(function(){'use strict';_0x13b6a6[_0x1cd3('0xc')]=['$scope',_0x1cd3('0x371'),'$state',_0x1cd3('0x969'),_0x1cd3('0x3c5'),'$document',_0x1cd3('0x3e7'),_0x1cd3('0x3f7'),_0x1cd3('0x2120'),_0x1cd3('0x38a'),_0x1cd3('0x390'),_0x1cd3('0x370'),_0x1cd3('0x2dd'),_0x1cd3('0x461'),_0x1cd3('0x56'),_0x1cd3('0x463'),'setting'];angular[_0x1cd3('0x0')](_0x1cd3('0x2b'))[_0x1cd3('0x39b')](_0x1cd3('0x2130'),_0x13b6a6);function _0x13b6a6(_0x51693f,_0x16df7e,_0x5359bf,_0x348fd4,_0x525e9c,_0x3dd648,_0xf7f7d7,_0x3a10ed,_0x76c363,_0x2abb83,_0x44aaf6,_0x46f6e7,_0x1e2ad5,_0x5d564f,_0x5104ac,_0x6de4a5,_0x15dc30){var _0x1fac3f=this;_0x1fac3f[_0x1cd3('0x463')]=_0x6de4a5;_0x1fac3f[_0x1cd3('0xc49')]=_0x15dc30;_0x1fac3f[_0x1cd3('0x3ca')]=_0x5104ac[_0x1cd3('0x5d')]();_0x1fac3f[_0x1cd3('0x2120')]=_0x76c363||{'count':0x0,'rows':[]};_0x1fac3f['userProfile']=_0x2abb83;_0x1fac3f['userProfileSection']=_0x44aaf6&&_0x44aaf6[_0x1cd3('0x466')]==0x1?_0x44aaf6[_0x1cd3('0xf6')][0x0]:null;_0x1fac3f['crudPermissions']=_0x5104ac[_0x1cd3('0xd44')](_0x1fac3f[_0x1cd3('0x390')]?_0x1fac3f[_0x1cd3('0x390')]['crudPermissions']:null);_0x1fac3f['table']=_0x1cd3('0x2120');_0x1fac3f[_0x1cd3('0xd46')]='';_0x1fac3f['listOrderAsc']=null;_0x1fac3f[_0x1cd3('0x2131')]=[];_0x1fac3f['query']={'fields':_0x1cd3('0x295'),'sort':'-updatedAt','limit':0xa,'page':0x1};_0x1fac3f[_0x1cd3('0xd48')]=_0x1f77d0;_0x1fac3f[_0x1cd3('0x119b')]=_0x5cf4d8;_0x1fac3f[_0x1cd3('0xecc')]=_0x17e1d1;_0x1fac3f[_0x1cd3('0x473')]=_0x11abe5;_0x1fac3f[_0x1cd3('0x11ca')]=_0x2062c7;_0x1fac3f[_0x1cd3('0x2132')]=_0x83c557;_0x1fac3f[_0x1cd3('0x2124')]=_0x1a2cb4;_0x1fac3f[_0x1cd3('0x2133')]=_0x2be8d2;_0x1fac3f[_0x1cd3('0x2134')]=_0x4475e2;_0x1fac3f['deselectTeams']=_0x4e04df;_0x1fac3f['selectAllTeams']=_0x2cafb2;function _0x1f77d0(_0xd3d41f,_0xce3359){_0x525e9c[_0x1cd3('0x37e')]({'controller':'CreateOrEditTeamDialogController','controllerAs':'vm','templateUrl':_0x1cd3('0x2135'),'parent':angular[_0x1cd3('0x37f')](_0x3dd648[_0x1cd3('0x380')]),'targetEvent':_0xce3359,'clickOutsideToClose':!![],'locals':{'team':_0xd3d41f,'teams':_0x1fac3f[_0x1cd3('0x2120')][_0x1cd3('0xf6')],'license':_0x1fac3f[_0x1cd3('0x463')],'setting':null,'crudPermissions':_0x1fac3f[_0x1cd3('0xd27')]}});}function _0x5cf4d8(_0x4c8d61,_0x93c1d1){_0x525e9c['show']({'controller':_0x1cd3('0x212d'),'controllerAs':'vm','templateUrl':_0x1cd3('0x2136'),'parent':angular[_0x1cd3('0x37f')](_0x3dd648[_0x1cd3('0x380')]),'targetEvent':_0x93c1d1,'clickOutsideToClose':!![],'locals':{'team':_0x4c8d61,'teams':_0x1fac3f[_0x1cd3('0x2120')]?_0x1fac3f[_0x1cd3('0x2120')][_0x1cd3('0xf6')]:[],'crudPermissions':_0x1fac3f[_0x1cd3('0xd27')],'realtime':![]}});}function _0x17e1d1(_0xc42d4a,_0x56bf3b){var _0x190f10=_0x525e9c[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xd4f')+_['startCase']('team')+'?')[_0x1cd3('0xd60')]('<b>'+(_0xc42d4a[_0x1cd3('0x98')]||_0x1cd3('0xc61'))+'</b>'+_0x1cd3('0xd53'))['ariaLabel'](_0x1cd3('0x2137'))[_0x1cd3('0xd63')](_0x56bf3b)['ok']('OK')['cancel'](_0x1cd3('0xd55'));_0x525e9c['show'](_0x190f10)[_0x1cd3('0x77')](function(){_0x1a2cb4(_0xc42d4a);},function(){console[_0x1cd3('0x7d')]('CANCEL');});}var _0x25d691=!![];var _0x49511c=0x1;_0x51693f[_0x1cd3('0x4d6')](_0x1cd3('0xd56'),function(_0x135bb3,_0x3265ed){if(_0x25d691){_0xf7f7d7(function(){_0x25d691=![];});}else{if(!_0x3265ed){_0x49511c=_0x1fac3f['query'][_0x1cd3('0x8fd')];}if(_0x135bb3!==_0x3265ed){_0x1fac3f['query'][_0x1cd3('0x8fd')]=0x1;}if(!_0x135bb3){_0x1fac3f[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0x49511c;}_0x1fac3f[_0x1cd3('0x11ca')]();}});function _0x11abe5(_0x18ceee){_0x1fac3f[_0x1cd3('0x2120')]=_0x18ceee||{'count':0x0,'rows':[]};}function _0x2062c7(){_0x1fac3f['query']['offset']=(_0x1fac3f[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0x1fac3f[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];if(_0x5104ac[_0x1cd3('0x57')](_0x1cd3('0x5f'))){_0x1fac3f[_0x1cd3('0x539')]=_0x46f6e7[_0x1cd3('0xc61')][_0x1cd3('0x361')](_0x1fac3f[_0x1cd3('0x3d4')],_0x11abe5)[_0x1cd3('0x81')];}else{_0x1fac3f[_0x1cd3('0x3d4')]['id']=_0x1fac3f[_0x1cd3('0x38a')]['id'];_0x1fac3f[_0x1cd3('0x3d4')][_0x1cd3('0xd58')]='Teams';_0x1fac3f['promise']=_0x46f6e7['userProfile'][_0x1cd3('0xd59')](_0x1fac3f[_0x1cd3('0x3d4')],_0x11abe5)['$promise'];}}function _0x83c557(_0x433af1,_0x52f245){_0x525e9c[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x211e'),'controllerAs':'vm','templateUrl':_0x1cd3('0x2135'),'parent':angular[_0x1cd3('0x37f')](_0x3dd648[_0x1cd3('0x380')]),'targetEvent':_0x433af1,'clickOutsideToClose':!![],'locals':{'team':_0x52f245,'teams':_0x1fac3f[_0x1cd3('0x2120')][_0x1cd3('0xf6')],'license':_0x1fac3f['license'],'setting':_0x1fac3f[_0x1cd3('0xc49')],'crudPermissions':_0x1fac3f[_0x1cd3('0xd27')]}});}function _0x1a2cb4(_0xa7c84e){_0x46f6e7[_0x1cd3('0xc61')][_0x1cd3('0xa1c')]({'id':_0xa7c84e['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_['remove'](_0x1fac3f[_0x1cd3('0x2120')]['rows'],{'id':_0xa7c84e['id']});_0x1fac3f['teams'][_0x1cd3('0x466')]-=0x1;if(!_0x1fac3f[_0x1cd3('0x2120')][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){_0x1fac3f[_0x1cd3('0x11ca')]();}_0x5d564f[_0x1cd3('0x473')]({'title':_[_0x1cd3('0xd50')](_0x1cd3('0x2138'))+_0x1cd3('0xd5c'),'msg':_0xa7c84e[_0x1cd3('0x98')]?_0xa7c84e['name']+_0x1cd3('0xd41'):''});})[_0x1cd3('0xfd')](function(_0x56a4f6){if(_0x56a4f6[_0x1cd3('0x439')]&&_0x56a4f6['data'][_0x1cd3('0xd34')]&&_0x56a4f6[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x1fac3f[_0x1cd3('0xd34')]=_0x56a4f6[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x56a4f6[_0x1cd3('0x43b')](),'type':_0x1cd3('0x2139')}];for(var _0x107911=0x0;_0x107911<_0x56a4f6[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x107911++){_0x5d564f[_0x1cd3('0x434')]({'title':_0x56a4f6[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x107911][_0x1cd3('0x424')],'msg':_0x56a4f6['data'][_0x1cd3('0xd34')][_0x107911][_0x1cd3('0x43a')]});}}else{_0x5d564f['error']({'title':_0x56a4f6['status']?'API:'+_0x56a4f6[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x56a4f6[_0x1cd3('0xd35')]:_0x1cd3('0x2139'),'msg':_0x56a4f6[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x56a4f6['data']['message']):_0x56a4f6[_0x1cd3('0x43a')]||_0x56a4f6[_0x1cd3('0x43b')]()});}});}function _0x2be8d2(){var _0x50606c=angular[_0x1cd3('0x429')](_0x1fac3f['selectedTeams']);_0x1fac3f[_0x1cd3('0x2131')]=[];return _0x50606c;}function _0x4475e2(_0x2377eb){var _0x5f722a=_0x525e9c[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x213a'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x1fac3f[_0x1cd3('0x2131')][_0x1cd3('0x7a')]+_0x1cd3('0xd61')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x213b'))[_0x1cd3('0xd63')](_0x2377eb)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x525e9c[_0x1cd3('0x37e')](_0x5f722a)[_0x1cd3('0x77')](function(){_0x1fac3f[_0x1cd3('0x2131')][_0x1cd3('0x394')](function(_0x4daafb){_0x1a2cb4(_0x4daafb);});_0x1fac3f[_0x1cd3('0x2131')]=[];});}function _0x4e04df(){_0x1fac3f[_0x1cd3('0x2131')]=[];}function _0x2cafb2(){_0x1fac3f[_0x1cd3('0x2131')]=_0x1fac3f[_0x1cd3('0x2120')][_0x1cd3('0xf6')];}}}());(function(){'use strict';_0x5a6b3a[_0x1cd3('0xc')]=[_0x1cd3('0x460'),'$state',_0x1cd3('0xd24'),'$mdDialog','$q',_0x1cd3('0x3f7'),_0x1cd3('0x461'),_0x1cd3('0x39a'),_0x1cd3('0x28e'),_0x1cd3('0x370'),_0x1cd3('0x56'),'license',_0x1cd3('0xc49'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x2b'))[_0x1cd3('0x39b')](_0x1cd3('0x213c'),_0x5a6b3a);function _0x5a6b3a(_0x5ad0d7,_0x1f1a3a,_0x416456,_0x1d5c98,_0x45fc5e,_0x717bed,_0x5de274,_0x3eeabd,_0x24284f,_0x591a5d,_0x16ebac,_0x4b4661,_0x2db192,_0x259090){var _0x376272=this;_0x376272['currentUser']=_0x16ebac[_0x1cd3('0x5d')]();_0x376272[_0x1cd3('0xd34')]=[];_0x376272[_0x1cd3('0xc49')]=_0x2db192;_0x376272[_0x1cd3('0x463')]=_0x4b4661;_0x376272[_0x1cd3('0xd27')]=_0x259090;_0x376272['hasModulePermissions']={};_0x376272[_0x1cd3('0xd29')]=_0x376272[_0x1cd3('0xc49')]&&_0x376272[_0x1cd3('0xc49')]['securePassword']?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x376272[_0x1cd3('0x486')]=_0x1cd3('0x213d');_0x376272['telephone']=angular[_0x1cd3('0x429')](_0x24284f);_0x376272[_0x1cd3('0x39a')]=_0x3eeabd;_0x376272['newTelephone']=![];if(!_0x376272[_0x1cd3('0x28e')]){_0x376272[_0x1cd3('0x28e')]={'role':_0x1cd3('0x28e'),'autointernal':!![],'context':_0x1cd3('0x213e')};_0x376272['title']=_0x1cd3('0x213f');_0x376272[_0x1cd3('0x2140')]=!![];}_0x376272['addNewTelephone']=_0x54e355;_0x376272[_0x1cd3('0x2141')]=_0x19c604;_0x376272[_0x1cd3('0x2142')]=_0x707b4d;_0x376272['getDateFromString']=_0x24a55b;_0x376272[_0x1cd3('0x39c')]=_0x307f3d;function _0x54e355(){_0x376272[_0x1cd3('0xd34')]=[];_0x591a5d[_0x1cd3('0x368')][_0x1cd3('0xd6d')](_0x376272[_0x1cd3('0x28e')])['$promise'][_0x1cd3('0x77')](function(_0x1d4354){_0x376272['telephones'][_0x1cd3('0x621')](_0x1d4354['toJSON']());_0x5de274[_0x1cd3('0x473')]({'title':_0x1cd3('0x2143'),'msg':_0x376272[_0x1cd3('0x28e')][_0x1cd3('0x98')]?_0x376272[_0x1cd3('0x28e')]['name']+_0x1cd3('0xd33'):''});_0x307f3d(_0x1d4354);})[_0x1cd3('0xfd')](function(_0x164c87){if(_0x164c87[_0x1cd3('0x439')]&&_0x164c87['data'][_0x1cd3('0xd34')]&&_0x164c87[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x376272[_0x1cd3('0xd34')]=_0x164c87[_0x1cd3('0x439')]['errors']||[{'message':_0x164c87['toString'](),'type':_0x1cd3('0x145c')}];for(var _0x46bc7b=0x0;_0x46bc7b<_0x164c87['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x46bc7b+=0x1){_0x5de274[_0x1cd3('0x434')]({'title':_0x164c87['data'][_0x1cd3('0xd34')][_0x46bc7b][_0x1cd3('0x424')],'msg':_0x164c87[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x46bc7b][_0x1cd3('0x43a')]});}}else{_0x5de274[_0x1cd3('0x434')]({'title':_0x164c87[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x164c87[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x164c87[_0x1cd3('0xd35')]:_0x1cd3('0x145c'),'msg':_0x164c87[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x164c87[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x164c87[_0x1cd3('0x43b')]()});}});}function _0x19c604(){_0x376272[_0x1cd3('0xd34')]=[];_0x591a5d['user'][_0x1cd3('0x378')]({'id':_0x376272[_0x1cd3('0x28e')]['id']},_0x376272[_0x1cd3('0x28e')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x310a09){var _0x173b9b=_['find'](_0x376272['telephones'],{'id':_0x310a09['id']});if(_0x173b9b){_[_0x1cd3('0xf2')](_0x173b9b,_['pick'](_0x310a09[_0x1cd3('0xd32')](),_[_0x1cd3('0x80')](_0x173b9b)));}_0x5de274[_0x1cd3('0x473')]({'title':_0x1cd3('0x2144'),'msg':_0x376272[_0x1cd3('0x28e')][_0x1cd3('0x98')]?_0x376272[_0x1cd3('0x28e')][_0x1cd3('0x98')]+_0x1cd3('0xd37'):''});_0x307f3d(_0x310a09);})[_0x1cd3('0xfd')](function(_0x1bb5b9){if(_0x1bb5b9[_0x1cd3('0x439')]&&_0x1bb5b9[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x1bb5b9[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x376272[_0x1cd3('0xd34')]=_0x1bb5b9['data']['errors']||[{'message':_0x1bb5b9[_0x1cd3('0x43b')](),'type':_0x1cd3('0x13d7')}];for(var _0x23a4ab=0x0;_0x23a4ab<_0x1bb5b9[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0x23a4ab++){_0x5de274[_0x1cd3('0x434')]({'title':_0x1bb5b9['data'][_0x1cd3('0xd34')][_0x23a4ab][_0x1cd3('0x424')],'msg':_0x1bb5b9[_0x1cd3('0x439')]['errors'][_0x23a4ab][_0x1cd3('0x43a')]});}}else{_0x5de274[_0x1cd3('0x434')]({'title':_0x1bb5b9[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x1bb5b9[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x1bb5b9[_0x1cd3('0xd35')]:_0x1cd3('0x13d7'),'msg':_0x1bb5b9['data']?JSON[_0x1cd3('0x438')](_0x1bb5b9[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x1bb5b9[_0x1cd3('0x43b')]()});}});}function _0x707b4d(_0x2a9179){_0x376272['errors']=[];var _0x2641e6=_0x1d5c98[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xd3a'))['content'](_0x1cd3('0x2145'))[_0x1cd3('0xd3d')]('Delete\x20Telephone')['ok'](_0x1cd3('0xd3f'))[_0x1cd3('0x4d8')]('Cancel')[_0x1cd3('0xd63')](_0x2a9179);_0x1d5c98[_0x1cd3('0x37e')](_0x2641e6)[_0x1cd3('0x77')](function(){_0x591a5d[_0x1cd3('0x368')][_0x1cd3('0xa1c')]({'id':_0x376272[_0x1cd3('0x28e')]['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x376272[_0x1cd3('0x39a')],{'id':_0x376272[_0x1cd3('0x28e')]['id']});_0x5de274[_0x1cd3('0x473')]({'title':_0x1cd3('0x2146'),'msg':(_0x376272['telephone']['name']||'telephone')+_0x1cd3('0xd41')});_0x307f3d(_0x376272[_0x1cd3('0x28e')]);})[_0x1cd3('0xfd')](function(_0x51e621){if(_0x51e621[_0x1cd3('0x439')]&&_0x51e621['data'][_0x1cd3('0xd34')]&&_0x51e621[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length']){_0x376272[_0x1cd3('0xd34')]=_0x51e621[_0x1cd3('0x439')]['errors']||[{'message':_0x51e621[_0x1cd3('0x43b')](),'type':'api.user.delete'}];for(var _0x3efe15=0x0;_0x3efe15<_0x51e621[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x3efe15++){_0x5de274['error']({'title':_0x51e621[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x3efe15][_0x1cd3('0x424')],'msg':_0x51e621['data'][_0x1cd3('0xd34')][_0x3efe15][_0x1cd3('0x43a')]});}}else{_0x5de274[_0x1cd3('0x434')]({'title':_0x51e621['status']?_0x1cd3('0x435')+_0x51e621[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x51e621[_0x1cd3('0xd35')]:_0x1cd3('0x20fa'),'msg':_0x51e621[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x51e621[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x51e621[_0x1cd3('0x43a')]||_0x51e621[_0x1cd3('0x43b')]()});}});},function(){});}function _0x24a55b(_0x33bc8a){return _0x33bc8a===null?undefined:new Date(_0x33bc8a);}function _0x307f3d(_0x267da0){_0x1d5c98['hide'](_0x267da0);}}}());(function(){'use strict';_0x442d77[_0x1cd3('0xc')]=['$scope',_0x1cd3('0x3c5'),'toasty',_0x1cd3('0x370'),_0x1cd3('0x28e'),_0x1cd3('0xc49'),_0x1cd3('0x56')];angular['module'](_0x1cd3('0x2b'))[_0x1cd3('0x39b')](_0x1cd3('0x2147'),_0x442d77);function _0x442d77(_0x5b7041,_0x501bea,_0x1207ab,_0x227d84,_0x11469f,_0x465330,_0x4e1809){var _0x17705d=this;_0x17705d['currentUser']=_0x4e1809[_0x1cd3('0x5d')]();_0x17705d[_0x1cd3('0xd34')]=[];_0x17705d[_0x1cd3('0xc49')]=_0x465330;_0x17705d['passwordPattern']=_0x17705d[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x17705d[_0x1cd3('0x28e')]=_0x11469f;_0x17705d[_0x1cd3('0x5ae')]='';_0x17705d[_0x1cd3('0x20ff')]='';_0x17705d[_0x1cd3('0x2100')]=_0x543d83;_0x17705d[_0x1cd3('0x39c')]=_0x4de0a7;_0x5b7041[_0x1cd3('0x4d6')]('vm.password',function(_0x50338d,_0x213dbe){if(!_[_0x1cd3('0x472')](_0x17705d[_0x1cd3('0x20ff')])){if(_0x50338d===_0x17705d[_0x1cd3('0x20ff')]){_0x5b7041[_0x1cd3('0x2148')]['password']['$setValidity'](_0x1cd3('0x2103'),![]);}else{_0x5b7041['telephoneForm'][_0x1cd3('0x5ae')][_0x1cd3('0x2102')](_0x1cd3('0x2103'),!![]);}}});function _0x543d83(){_0x17705d['errors']=[];var _0x41190a={'id':_0x17705d['telephone']['id'],'newPassword':_0x17705d['password']};if(_0x17705d['currentUser']['id']==_0x17705d[_0x1cd3('0x28e')]['id']){_0x41190a[_0x1cd3('0x20ff')]=_0x17705d[_0x1cd3('0x20ff')];}_0x227d84[_0x1cd3('0x368')][_0x1cd3('0x2104')](_0x41190a)[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x1207ab[_0x1cd3('0x473')]({'title':'Telephone\x20password\x20properly\x20updated!'});_0x4de0a7();})['catch'](function(_0x4b1ef8){_0x1207ab['error']({'title':_0x4b1ef8[_0x1cd3('0x3a6')]?'API:'+_0x4b1ef8[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x4b1ef8['statusText']:'api.telephone.save','msg':_0x4b1ef8[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x4b1ef8['data'][_0x1cd3('0x43a')]):_0x4b1ef8[_0x1cd3('0x43b')]()});_0x17705d[_0x1cd3('0xd34')]=_0x4b1ef8[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x4b1ef8[_0x1cd3('0x43b')](),'type':_0x1cd3('0x2149')}];});}function _0x4de0a7(){_0x501bea[_0x1cd3('0x39d')]();}}}());(function(){'use strict';_0x56794a['$inject']=[_0x1cd3('0x53e'),_0x1cd3('0xd24'),'$mdDialog','$document','$translate',_0x1cd3('0x463'),_0x1cd3('0xc49'),'api',_0x1cd3('0x461'),_0x1cd3('0x56'),_0x1cd3('0x28e'),_0x1cd3('0x390')];angular[_0x1cd3('0x0')](_0x1cd3('0x2b'))['controller'](_0x1cd3('0x214a'),_0x56794a);function _0x56794a(_0x534eb4,_0x5af766,_0x55c70b,_0x52b29d,_0x5ab9b9,_0x570e72,_0x54789d,_0x5ecda8,_0x21d290,_0x53aa6e,_0x41ca16,_0x17d3b4){var _0x464c27=this;_0x464c27[_0x1cd3('0x3ca')]=_0x53aa6e[_0x1cd3('0x5d')]();_0x464c27[_0x1cd3('0x463')]=_0x570e72;_0x464c27[_0x1cd3('0xc49')]=_0x54789d;_0x464c27['passwordPattern']=_0x464c27[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x464c27['location']=_0x5af766['protocol']()+'://'+_0x5af766[_0x1cd3('0x3ac')]();_0x464c27[_0x1cd3('0x28e')]=_0x41ca16||_0x534eb4[_0x1cd3('0x36a')]['telephone']||{};_0x464c27['userProfileSection']=_0x17d3b4&&_0x17d3b4['count']==0x1?_0x17d3b4[_0x1cd3('0xf6')][0x0]:null;_0x464c27[_0x1cd3('0xd27')]=_0x53aa6e[_0x1cd3('0xd44')](_0x464c27['userProfileSection']?_0x464c27[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);_0x464c27['hasModulePermissions']={};_0x464c27[_0x1cd3('0xe5f')]=_0x534eb4['params']['tab']||0x0;_0x464c27['changepassworddialog']=_0x3d6468;_0x464c27['alert']=_0x21d290['info'];_0x464c27[_0x1cd3('0x214b')]=_0x209966;_0x464c27[_0x1cd3('0x2141')]=_0x3dd88b;_0x53aa6e['hasRole']('admin')?_0x5ecda8[_0x1cd3('0xa3e')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98')})[_0x1cd3('0x81')]['then'](function(_0x2068e0){_0x464c27[_0x1cd3('0x2119')]=_0x2068e0[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x3cac4b){_0x21d290[_0x1cd3('0x434')]({'title':_0x3cac4b[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x3cac4b[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x3cac4b[_0x1cd3('0xd35')]:_0x1cd3('0x211a'),'msg':_0x3cac4b[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x3cac4b['data']):_0x3cac4b[_0x1cd3('0x43b')]()});}):_0x5ecda8[_0x1cd3('0xa3e')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x401052){_0x464c27['contexts']=_0x401052[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x5ecda8[_0x1cd3('0x390')]['get']({'userProfileId':_0x464c27[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x195})['$promise'];})[_0x1cd3('0x77')](function(_0x34c967){var _0x4dd362=_0x34c967&&_0x34c967['rows']?_0x34c967['rows'][0x0]:null;if(!_0x4dd362){return _0x5ecda8[_0x1cd3('0xa3e')][_0x1cd3('0x361')]({'fields':'id,name','sort':'name','defaultEntry':0x1})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x40e718){_0x464c27[_0x1cd3('0x2119')]=_0x40e718[_0x1cd3('0xf6')]||[];});}else{if(!_0x4dd362[_0x1cd3('0x391')]){return _0x5ecda8['userProfileResource']['get']({'sectionId':_0x4dd362['id']})['$promise'][_0x1cd3('0x77')](function(_0x51eda2){var _0x2a9ffc=_[_0x1cd3('0x3d9')](_0x51eda2[_0x1cd3('0xf6')],function(_0x400910){return _['find'](_0x464c27[_0x1cd3('0x2119')],{'id':_0x400910[_0x1cd3('0xe8e')]});});var _0x28e841=null;if(_0x464c27[_0x1cd3('0x28e')]){_0x28e841=_['find'](_0x464c27[_0x1cd3('0x2119')],{'name':_0x464c27[_0x1cd3('0x28e')]['context']});}if(_0x28e841&&!_[_0x1cd3('0x38d')](_0x2a9ffc,['id',_0x28e841['id']])){var _0x409834=_[_0x1cd3('0x442')](_0x464c27[_0x1cd3('0x2119')],{'id':_0x28e841['id']});_0x409834['canSelect']=![];_0x2a9ffc['push'](_0x409834);}_0x464c27[_0x1cd3('0x2119')]=_0x2a9ffc;});}}})[_0x1cd3('0xfd')](function(_0x4335e6){_0x21d290[_0x1cd3('0x434')]({'title':_0x4335e6[_0x1cd3('0x3a6')]?'API:'+_0x4335e6[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x4335e6[_0x1cd3('0xd35')]:_0x1cd3('0x214c'),'msg':_0x4335e6[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x4335e6[_0x1cd3('0x439')]):_0x4335e6[_0x1cd3('0x43b')]()});});function _0x3d6468(_0x4ff9ee,_0x352ced){_0x55c70b['show']({'controller':_0x1cd3('0x2147'),'controllerAs':'vm','templateUrl':'app/main/apps/staff/views/telephones/edit/changepassword/changepassword.html','parent':angular[_0x1cd3('0x37f')](_0x52b29d[_0x1cd3('0x380')]),'targetEvent':_0x352ced,'clickOutsideToClose':!![],'locals':{'telephone':_0x4ff9ee,'setting':_0x54789d,'telephones':_0x464c27[_0x1cd3('0x39a')]?_0x464c27['telephones'][_0x1cd3('0xf6')]:[],'crudPermissions':_0x464c27[_0x1cd3('0xd27')]}});}function _0x209966(){_0x534eb4['go']('app.staff.telephones',{},{'reload':_0x1cd3('0x214d')});}function _0x3dd88b(){_0x5ecda8[_0x1cd3('0x368')][_0x1cd3('0x378')]({'id':_0x464c27['telephone']['id']},_0x464c27[_0x1cd3('0x28e')])['$promise']['then'](function(){_0x21d290[_0x1cd3('0x473')]({'title':_0x1cd3('0x214e'),'msg':_0x464c27['telephone'][_0x1cd3('0x98')]?_0x464c27[_0x1cd3('0x28e')]['name']+_0x1cd3('0xe65'):''});})[_0x1cd3('0xfd')](function(_0x2cbe6f){_0x21d290[_0x1cd3('0x434')]({'title':_0x2cbe6f['status']?'API:'+_0x2cbe6f['status']+_0x1cd3('0x436')+_0x2cbe6f[_0x1cd3('0xd35')]:'SYSTEM:GETuser','msg':_0x2cbe6f[_0x1cd3('0x439')]?JSON['stringify'](_0x2cbe6f[_0x1cd3('0x439')]):_0x2cbe6f[_0x1cd3('0x43b')]()});});}}}());(function(){'use strict';_0x4ea6cb[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x371'),_0x1cd3('0x53e'),'$mdSidenav',_0x1cd3('0x3c5'),_0x1cd3('0x372'),_0x1cd3('0x3e7'),_0x1cd3('0x3f7'),_0x1cd3('0x39a'),_0x1cd3('0x38a'),_0x1cd3('0x390'),_0x1cd3('0x370'),_0x1cd3('0x2dd'),'toasty',_0x1cd3('0x56'),'license',_0x1cd3('0xc49')];angular[_0x1cd3('0x0')](_0x1cd3('0x2b'))[_0x1cd3('0x39b')]('TelephonesController',_0x4ea6cb);function _0x4ea6cb(_0x2a2fb6,_0x4b4cee,_0xd5c0fc,_0x3a5324,_0x4c705d,_0x3de421,_0x5f16c4,_0x42038a,_0x49fe75,_0x4078da,_0x132552,_0x5174c8,_0x2eb357,_0x918b84,_0x29efee,_0x33393d,_0x532b95){var _0x1291af=this;_0x1291af[_0x1cd3('0x463')]=_0x33393d;_0x1291af[_0x1cd3('0xc49')]=_0x532b95;_0x1291af[_0x1cd3('0x3ca')]=_0x29efee['getCurrentUser']();_0x1291af['telephones']=_0x49fe75||{'count':0x0,'rows':[]};_0x1291af['userProfile']=_0x4078da;_0x1291af[_0x1cd3('0x390')]=_0x132552&&_0x132552[_0x1cd3('0x466')]==0x1?_0x132552[_0x1cd3('0xf6')][0x0]:null;_0x1291af[_0x1cd3('0xd27')]=_0x29efee['parseCrudPermissions'](_0x1291af[_0x1cd3('0x390')]?_0x1291af[_0x1cd3('0x390')]['crudPermissions']:null);_0x1291af[_0x1cd3('0xd45')]=_0x1cd3('0x39a');_0x1291af[_0x1cd3('0xd46')]='';_0x1291af[_0x1cd3('0xd47')]=null;_0x1291af[_0x1cd3('0x214f')]=[];_0x1291af[_0x1cd3('0x3d4')]={'fields':_0x1cd3('0x28d'),'role':'telephone','sort':'-updatedAt','limit':0xa,'page':0x1};_0x1291af[_0x1cd3('0x2150')]=_[_0x1cd3('0xe2d')]([{'option':_0x1cd3('0x20c9'),'value':_0x1cd3('0x20ca')},{'option':_0x1cd3('0x20cb'),'value':_0x1cd3('0x20cc')},{'option':'ws','value':_0x1cd3('0x20cd')},{'option':_0x1cd3('0x20cf'),'value':_0x1cd3('0x20d0')},{'option':_0x1cd3('0x20d1'),'value':_0x1cd3('0x20d2')}],function(_0x1e39f7){return _[_0x1cd3('0x3f1')](_0x1e39f7[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x1291af[_0x1cd3('0x2151')]=_['keyBy']([{'option':_0x1cd3('0x20d3'),'value':_0x1cd3('0x2152')},{'option':_0x1cd3('0x20d4'),'value':'\x27comedia\x27'},{'option':_0x1cd3('0xf2b'),'value':_0x1cd3('0x1e6d')},{'option':'no','value':_0x1cd3('0x123c')},{'option':_0x1cd3('0x1de4'),'value':'\x27never\x27'},{'option':_0x1cd3('0x42a'),'value':_0x1cd3('0x20d6')}],function(_0xa02126){return _[_0x1cd3('0x3f1')](_0xa02126[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x1291af[_0x1cd3('0x20da')]=_[_0x1cd3('0xe2d')]([{'option':_0x1cd3('0x20db'),'value':_0x1cd3('0x20dc')},{'option':_0x1cd3('0x20dd'),'value':_0x1cd3('0x2153')},{'option':'gsm','value':_0x1cd3('0x1e73')},{'option':_0x1cd3('0x2154'),'value':_0x1cd3('0x20de')},{'option':_0x1cd3('0x20df'),'value':_0x1cd3('0x2155')},{'option':_0x1cd3('0x20e0'),'value':_0x1cd3('0x20e1')},{'option':_0x1cd3('0x2156'),'value':'\x27h264\x27'}],function(_0x305401){return _['replace'](_0x305401[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x1291af[_0x1cd3('0x20e2')]=_[_0x1cd3('0xe2d')]([{'option':_0x1cd3('0xf2c'),'value':_0x1cd3('0x1e6d')},{'option':'No','value':_0x1cd3('0x123c')},{'option':_0x1cd3('0x122e'),'value':'\x27always\x27'}],function(_0x53a135){return _[_0x1cd3('0x3f1')](_0x53a135[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x1291af['arrayencryption']=_[_0x1cd3('0xe2d')]([{'option':_0x1cd3('0xf2b'),'value':_0x1cd3('0x1e6d')},{'option':'no','value':_0x1cd3('0x123c')}],function(_0x5c2194){return _[_0x1cd3('0x3f1')](_0x5c2194[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x1291af[_0x1cd3('0x1171')]=_0x4d196b;_0x1291af[_0x1cd3('0xecc')]=_0x40f3c2;_0x1291af['success']=_0x2f24e5;_0x1291af[_0x1cd3('0x2157')]=_0x1b33e1;_0x1291af['createOrEditTelephone']=_0x29ca81;_0x1291af['deleteTelephone']=_0x3ef6b4;_0x1291af['exportSelectedTelephones']=_0x468ec2;_0x1291af[_0x1cd3('0x2158')]=_0x18cc32;_0x1291af['deselectTelephones']=_0x4d6755;_0x1291af[_0x1cd3('0x2159')]=_0x103397;function _0x4d196b(_0x320710,_0x5a2160){_0xd5c0fc['go'](_0x1cd3('0x215a'),{'id':_0x320710['id'],'telephone':_0x320710,'crudPermissions':_0x1291af[_0x1cd3('0xd27')]});}function _0x40f3c2(_0x207fdb,_0x182f67){var _0x13ad89=_0x4c705d[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xd4f')+_['startCase'](_0x1cd3('0x28e'))+'?')[_0x1cd3('0xd60')](_0x1cd3('0xd51')+(_0x207fdb['name']||'telephone')+'</b>'+'\x20will\x20be\x20deleted.')[_0x1cd3('0xd3d')]('delete\x20telephone')['targetEvent'](_0x182f67)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x4c705d[_0x1cd3('0x37e')](_0x13ad89)['then'](function(){_0x3ef6b4(_0x207fdb);},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}var _0x22e624=!![];var _0x4a22c9=0x1;_0x2a2fb6[_0x1cd3('0x4d6')](_0x1cd3('0xd56'),function(_0x342513,_0x555df9){if(_0x22e624){_0x5f16c4(function(){_0x22e624=![];});}else{if(!_0x555df9){_0x4a22c9=_0x1291af[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0x342513!==_0x555df9){_0x1291af[_0x1cd3('0x3d4')]['page']=0x1;}if(!_0x342513){_0x1291af[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0x4a22c9;}_0x1291af[_0x1cd3('0x2157')]();}});function _0x2f24e5(_0x55f7e6){_0x1291af[_0x1cd3('0x39a')]=_0x55f7e6||{'count':0x0,'rows':[]};}function _0x1b33e1(){_0x1291af[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0x1291af['query'][_0x1cd3('0x8fd')]-0x1)*_0x1291af[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];if(_0x29efee['hasRole'](_0x1cd3('0x5f'))){_0x1291af['promise']=_0x5174c8[_0x1cd3('0x368')]['get'](_0x1291af[_0x1cd3('0x3d4')],_0x2f24e5)['$promise'];}else{_0x1291af['query']['id']=_0x1291af[_0x1cd3('0x38a')]['id'];_0x1291af[_0x1cd3('0x3d4')][_0x1cd3('0xd58')]=_0x1cd3('0x28f');_0x1291af[_0x1cd3('0x539')]=_0x5174c8[_0x1cd3('0x38a')][_0x1cd3('0xd59')](_0x1291af[_0x1cd3('0x3d4')],_0x2f24e5)[_0x1cd3('0x81')];}}function _0x29ca81(_0x271292,_0x46f240){_0x4c705d['show']({'controller':'CreateOrEditTelephoneDialogController','controllerAs':'vm','templateUrl':_0x1cd3('0x215b'),'parent':angular[_0x1cd3('0x37f')](_0x3de421[_0x1cd3('0x380')]),'targetEvent':_0x271292,'clickOutsideToClose':!![],'locals':{'telephone':_0x46f240,'telephones':_0x1291af['telephones'][_0x1cd3('0xf6')],'license':_0x1291af[_0x1cd3('0x463')],'setting':_0x1291af[_0x1cd3('0xc49')],'crudPermissions':_0x1291af['crudPermissions']}});}function _0x3ef6b4(_0x3e4fe){_0x5174c8[_0x1cd3('0x368')][_0x1cd3('0xa1c')]({'id':_0x3e4fe['id']})['$promise'][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x1291af[_0x1cd3('0x39a')][_0x1cd3('0xf6')],{'id':_0x3e4fe['id']});_0x1291af[_0x1cd3('0x39a')][_0x1cd3('0x466')]-=0x1;if(!_0x1291af[_0x1cd3('0x39a')][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){_0x1291af[_0x1cd3('0x2157')]();}_0x918b84[_0x1cd3('0x473')]({'title':_[_0x1cd3('0xd50')](_0x1cd3('0x215c'))+_0x1cd3('0xd5c'),'msg':_0x3e4fe[_0x1cd3('0x98')]?_0x3e4fe[_0x1cd3('0x98')]+_0x1cd3('0xd41'):''});})[_0x1cd3('0xfd')](function(_0x1a81f2){if(_0x1a81f2[_0x1cd3('0x439')]&&_0x1a81f2['data'][_0x1cd3('0xd34')]&&_0x1a81f2[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x1291af[_0x1cd3('0xd34')]=_0x1a81f2[_0x1cd3('0x439')]['errors']||[{'message':_0x1a81f2['toString'](),'type':'SYSTEM:DELETEuser'}];for(var _0x5ba193=0x0;_0x5ba193<_0x1a81f2['data'][_0x1cd3('0xd34')]['length'];_0x5ba193++){_0x918b84[_0x1cd3('0x434')]({'title':_0x1a81f2[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x5ba193][_0x1cd3('0x424')],'msg':_0x1a81f2[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x5ba193][_0x1cd3('0x43a')]});}}else{_0x918b84[_0x1cd3('0x434')]({'title':_0x1a81f2[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x1a81f2[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x1a81f2[_0x1cd3('0xd35')]:'SYSTEM:DELETEuser','msg':_0x1a81f2[_0x1cd3('0x439')]?JSON['stringify'](_0x1a81f2['data']['message']):_0x1a81f2['message']||_0x1a81f2[_0x1cd3('0x43b')]()});}});}function _0x468ec2(){var _0x35cf69=angular[_0x1cd3('0x429')](_0x1291af['selectedTelephones']);_0x1291af['selectedTelephones']=[];return _0x35cf69;}function _0x18cc32(_0x2c9a47){var _0x43bb81=_0x4c705d[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x215d'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x1291af[_0x1cd3('0x214f')][_0x1cd3('0x7a')]+_0x1cd3('0xd61')+'\x20will\x20be\x20deleted.')['ariaLabel'](_0x1cd3('0x215e'))[_0x1cd3('0xd63')](_0x2c9a47)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x4c705d['show'](_0x43bb81)['then'](function(){_0x1291af[_0x1cd3('0x214f')][_0x1cd3('0x394')](function(_0x1b9fe9){_0x3ef6b4(_0x1b9fe9);});_0x1291af[_0x1cd3('0x214f')]=[];});}function _0x4d6755(){_0x1291af[_0x1cd3('0x214f')]=[];}function _0x103397(){_0x1291af[_0x1cd3('0x214f')]=_0x1291af[_0x1cd3('0x39a')][_0x1cd3('0xf6')];}}}());(function(){'use strict';_0xbc62b2[_0x1cd3('0xc')]=[_0x1cd3('0x460'),'$state',_0x1cd3('0xd24'),_0x1cd3('0x3c5'),'$q',_0x1cd3('0x3f7'),_0x1cd3('0x461'),_0x1cd3('0x215f'),_0x1cd3('0x38a'),_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0x463'),_0x1cd3('0xc49'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')]('app.staff')[_0x1cd3('0x39b')](_0x1cd3('0x2160'),_0xbc62b2);function _0xbc62b2(_0x275745,_0x17e3d8,_0x46b2d1,_0x4ebb3a,_0x6b9f0e,_0x57f83e,_0x4e1cdb,_0x3a7b4f,_0x1f4532,_0x12b490,_0x4d6b0c,_0x5a31e9,_0x15226a,_0x2931d2){var _0x17b39b=this;_0x17b39b['currentUser']=_0x4d6b0c[_0x1cd3('0x5d')]();_0x17b39b[_0x1cd3('0xd34')]=[];_0x17b39b[_0x1cd3('0xc49')]=_0x15226a;_0x17b39b[_0x1cd3('0x463')]=_0x5a31e9;_0x17b39b['crudPermissions']=_0x2931d2;_0x17b39b[_0x1cd3('0xd28')]={};_0x17b39b[_0x1cd3('0xd29')]=_0x17b39b[_0x1cd3('0xc49')]&&_0x17b39b[_0x1cd3('0xc49')]['securePassword']?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x17b39b['title']=_0x1cd3('0x2161');_0x17b39b[_0x1cd3('0x38a')]=angular[_0x1cd3('0x429')](_0x1f4532);_0x17b39b[_0x1cd3('0x215f')]=_0x3a7b4f;_0x17b39b[_0x1cd3('0x2162')]=![];if(!_0x17b39b[_0x1cd3('0x38a')]){_0x17b39b[_0x1cd3('0x38a')]={'crudPermissions':['r']};_0x17b39b['title']=_0x1cd3('0x2163');_0x17b39b[_0x1cd3('0x2162')]=!![];}_0x17b39b['addNewUserProfile']=_0xcd0cd0;_0x17b39b['saveUserProfile']=_0x56f348;_0x17b39b[_0x1cd3('0x2164')]=_0x758109;_0x17b39b[_0x1cd3('0xd31')]=_0x5e560c;_0x17b39b[_0x1cd3('0x39c')]=_0x38b006;function _0xcd0cd0(){_0x17b39b[_0x1cd3('0xd34')]=[];_0x12b490[_0x1cd3('0x38a')]['save'](_0x17b39b['userProfile'])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x4ef7fb){_0x59e092(_0x4ef7fb);_0x17b39b['userProfiles'][_0x1cd3('0x621')](_0x4ef7fb[_0x1cd3('0xd32')]());_0x4e1cdb[_0x1cd3('0x473')]({'title':_0x1cd3('0x2165'),'msg':_0x17b39b[_0x1cd3('0x38a')][_0x1cd3('0x98')]?_0x17b39b[_0x1cd3('0x38a')][_0x1cd3('0x98')]+_0x1cd3('0xd33'):''});_0x38b006(_0x4ef7fb);})[_0x1cd3('0xfd')](function(_0x2b9e2f){if(_0x2b9e2f[_0x1cd3('0x439')]&&_0x2b9e2f[_0x1cd3('0x439')]['errors']&&_0x2b9e2f[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length']){_0x17b39b[_0x1cd3('0xd34')]=_0x2b9e2f[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x2b9e2f[_0x1cd3('0x43b')](),'type':_0x1cd3('0x2166')}];for(var _0x2221c6=0x0;_0x2221c6<_0x2b9e2f['data'][_0x1cd3('0xd34')]['length'];_0x2221c6+=0x1){_0x4e1cdb[_0x1cd3('0x434')]({'title':_0x2b9e2f[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x2221c6][_0x1cd3('0x424')],'msg':_0x2b9e2f[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x2221c6]['message']});}}else{_0x4e1cdb[_0x1cd3('0x434')]({'title':_0x2b9e2f[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x2b9e2f['status']+'\x20-\x20'+_0x2b9e2f['statusText']:_0x1cd3('0x2166'),'msg':_0x2b9e2f[_0x1cd3('0x439')]?JSON['stringify'](_0x2b9e2f[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x2b9e2f['toString']()});}});}function _0x56f348(){_0x17b39b[_0x1cd3('0xd34')]=[];_0x12b490[_0x1cd3('0x38a')][_0x1cd3('0x378')]({'id':_0x17b39b[_0x1cd3('0x38a')]['id']},_0x17b39b[_0x1cd3('0x38a')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0xc4c924){var _0x14e70f=_['find'](_0x17b39b[_0x1cd3('0x215f')],{'id':_0xc4c924['id']});if(_0x14e70f){_[_0x1cd3('0xf2')](_0x14e70f,_[_0x1cd3('0x5e8')](_0xc4c924[_0x1cd3('0xd32')](),_['keys'](_0x14e70f)));}_0x4e1cdb[_0x1cd3('0x473')]({'title':_0x1cd3('0x2167'),'msg':_0x17b39b['userProfile'][_0x1cd3('0x98')]?_0x17b39b['userProfile']['name']+_0x1cd3('0xd37'):''});_0x38b006(_0xc4c924);})['catch'](function(_0x4ecd77){if(_0x4ecd77[_0x1cd3('0x439')]&&_0x4ecd77['data']['errors']&&_0x4ecd77[_0x1cd3('0x439')]['errors']['length']){_0x17b39b[_0x1cd3('0xd34')]=_0x4ecd77['data'][_0x1cd3('0xd34')]||[{'message':_0x4ecd77[_0x1cd3('0x43b')](),'type':_0x1cd3('0x2168')}];for(var _0x1ef554=0x0;_0x1ef554<_0x4ecd77[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x1ef554++){_0x4e1cdb[_0x1cd3('0x434')]({'title':_0x4ecd77[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1ef554][_0x1cd3('0x424')],'msg':_0x4ecd77[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1ef554][_0x1cd3('0x43a')]});}}else{_0x4e1cdb['error']({'title':_0x4ecd77[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x4ecd77[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x4ecd77[_0x1cd3('0xd35')]:'api.userProfile.update','msg':_0x4ecd77[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x4ecd77['data']['message']):_0x4ecd77[_0x1cd3('0x43b')]()});}});}function _0x758109(_0x54cc12){_0x17b39b[_0x1cd3('0xd34')]=[];var _0x4c3f49=_0x4ebb3a[_0x1cd3('0xd39')]()[_0x1cd3('0x486')]('Are\x20you\x20sure?')[_0x1cd3('0xd3b')](_0x1cd3('0x2169'))['ariaLabel']('Delete\x20UserProfile')['ok'](_0x1cd3('0xd3f'))[_0x1cd3('0x4d8')]('Cancel')[_0x1cd3('0xd63')](_0x54cc12);_0x4ebb3a[_0x1cd3('0x37e')](_0x4c3f49)[_0x1cd3('0x77')](function(){_0x12b490[_0x1cd3('0x38a')][_0x1cd3('0xa1c')]({'id':_0x17b39b[_0x1cd3('0x38a')]['id']})['$promise']['then'](function(){_[_0x1cd3('0x383')](_0x17b39b[_0x1cd3('0x215f')],{'id':_0x17b39b['userProfile']['id']});_0x4e1cdb['success']({'title':'UserProfile\x20properly\x20deleted!','msg':(_0x17b39b[_0x1cd3('0x38a')][_0x1cd3('0x98')]||_0x1cd3('0x38a'))+'\x20has\x20been\x20deleted!'});_0x38b006(_0x17b39b[_0x1cd3('0x38a')]);})[_0x1cd3('0xfd')](function(_0x576bf9){if(_0x576bf9[_0x1cd3('0x439')]&&_0x576bf9[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x576bf9[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length']){_0x17b39b[_0x1cd3('0xd34')]=_0x576bf9['data'][_0x1cd3('0xd34')]||[{'message':_0x576bf9[_0x1cd3('0x43b')](),'type':'api.userProfile.delete'}];for(var _0x11be4c=0x0;_0x11be4c<_0x576bf9[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x11be4c++){_0x4e1cdb['error']({'title':_0x576bf9[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x11be4c][_0x1cd3('0x424')],'msg':_0x576bf9[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x11be4c][_0x1cd3('0x43a')]});}}else{_0x4e1cdb['error']({'title':_0x576bf9[_0x1cd3('0x3a6')]?'API:'+_0x576bf9[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x576bf9['statusText']:_0x1cd3('0x216a'),'msg':_0x576bf9['data']?JSON[_0x1cd3('0x438')](_0x576bf9['data']['message']):_0x576bf9[_0x1cd3('0x43a')]||_0x576bf9['toString']()});}});},function(){});}function _0x59e092(_0x1888e9){var _0x92845a=[];_0x1888e9[_0x1cd3('0xd27')][_0x1cd3('0x394')](function(_0x45f3c1){var _0x210254;switch(_0x45f3c1){case'r':_0x210254='READ_PERMISSION';break;case'e':_0x210254='EDIT_PERMISSION';break;case'd':_0x210254=_0x1cd3('0x216b');break;}_0x92845a[_0x1cd3('0x7b')](_0x57f83e[_0x1cd3('0x44a')]('STAFF.'+_0x210254));});_0x1888e9[_0x1cd3('0x216c')]=_0x92845a['join'](',\x20');}function _0x5e560c(_0x46f2ad){return _0x46f2ad===null?undefined:new Date(_0x46f2ad);}function _0x38b006(_0xb63bbe){_0x4ebb3a['hide'](_0xb63bbe);}}}());(function(){'use strict';_0x377a89[_0x1cd3('0xc')]=['$mdDialog',_0x1cd3('0x53e'),_0x1cd3('0x461'),_0x1cd3('0x370'),_0x1cd3('0x38a'),_0x1cd3('0x215f'),_0x1cd3('0x3f7')];angular['module'](_0x1cd3('0x2b'))['controller'](_0x1cd3('0x216d'),_0x377a89);function _0x377a89(_0x52fed3,_0x5120be,_0x4a420c,_0x287c91,_0x25f3de,_0x53be24,_0x3b6735){var _0x18fd54=this;_0x18fd54[_0x1cd3('0x2162')]=!![];_0x18fd54[_0x1cd3('0x38a')]=angular[_0x1cd3('0x429')](_0x25f3de);_0x18fd54['userProfiles']=_0x53be24;_0x18fd54[_0x1cd3('0x486')]=_0x3b6735[_0x1cd3('0x44a')](_0x1cd3('0x216e'));if(_0x25f3de&&_0x25f3de['name']){_0x18fd54[_0x1cd3('0x486')]+=':\x20'+_0x25f3de[_0x1cd3('0x98')];}_0x18fd54[_0x1cd3('0x216f')]=_0x53a2b9;_0x18fd54['closeDialog']=_0x5cd4d6;function _0x53a2b9(){return _0x287c91['userProfile'][_0x1cd3('0x1141')]({'id':_0x25f3de['id']},_0x18fd54['userProfile'])['$promise'][_0x1cd3('0x77')](function(_0x29342a){_0x2a323e(_0x29342a);_0x18fd54[_0x1cd3('0x215f')][_0x1cd3('0x621')](_0x29342a[_0x1cd3('0xd32')]());_0x4a420c['success']({'title':_0x1cd3('0x2170'),'msg':_0x18fd54['userProfile'][_0x1cd3('0x98')]?_0x18fd54['userProfile'][_0x1cd3('0x98')]+_0x1cd3('0x1c30'):''});_0x5120be['go']('app.staff.userProfiles.edit',{'id':_0x29342a['id']});_0x5cd4d6(_0x29342a);})['catch'](function(_0x5d5f3f){if(_0x5d5f3f[_0x1cd3('0x439')]&&_0x5d5f3f[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x5d5f3f[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x18fd54[_0x1cd3('0xd34')]=_0x5d5f3f[_0x1cd3('0x439')]['errors']||[{'message':_0x5d5f3f[_0x1cd3('0x43b')](),'type':_0x1cd3('0x2171')}];for(var _0x2e62b3=0x0;_0x2e62b3<_0x5d5f3f[_0x1cd3('0x439')]['errors']['length'];_0x2e62b3+=0x1){_0x4a420c[_0x1cd3('0x434')]({'title':_0x5d5f3f[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x2e62b3][_0x1cd3('0x424')],'msg':_0x5d5f3f[_0x1cd3('0x439')]['errors'][_0x2e62b3][_0x1cd3('0x43a')]});}}else{_0x4a420c['error']({'title':_0x5d5f3f[_0x1cd3('0x3a6')]?'API:'+_0x5d5f3f[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x5d5f3f[_0x1cd3('0xd35')]:'api.userProfile.clone','msg':_0x5d5f3f['data']?JSON['stringify'](_0x5d5f3f[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x5d5f3f[_0x1cd3('0x43b')]()});}});}function _0x2a323e(_0x185123){var _0x663cef=[];_0x185123[_0x1cd3('0xd27')][_0x1cd3('0x394')](function(_0x26fe2c){var _0x4bf14;switch(_0x26fe2c){case'r':_0x4bf14=_0x1cd3('0x2172');break;case'e':_0x4bf14='EDIT_PERMISSION';break;case'd':_0x4bf14='DELETE_PERMISSION';break;}_0x663cef[_0x1cd3('0x7b')](_0x3b6735[_0x1cd3('0x44a')]('STAFF.'+_0x4bf14));});_0x185123[_0x1cd3('0x216c')]=_0x663cef[_0x1cd3('0x3de')](',\x20');}function _0x5cd4d6(_0x59a8e7){_0x52fed3[_0x1cd3('0x39d')](_0x59a8e7);}}}());(function(){'use strict';_0x161e8e[_0x1cd3('0xc')]=[_0x1cd3('0x372'),_0x1cd3('0x3c5'),'$translate','$q',_0x1cd3('0x370'),_0x1cd3('0x53c'),_0x1cd3('0x56'),_0x1cd3('0x461')];angular[_0x1cd3('0x0')](_0x1cd3('0x2b'))[_0x1cd3('0x39b')](_0x1cd3('0x2173'),_0x161e8e);function _0x161e8e(_0x143c86,_0x548980,_0x3ebe39,_0x9e860c,_0x1db7a4,_0x328aaf,_0x73c13b,_0xe80ebe){var _0x31a44e=this;_0x31a44e[_0x1cd3('0x38a')]={};_0x31a44e[_0x1cd3('0x463')]={};_0x31a44e[_0x1cd3('0x522')]=_0x328aaf[_0x1cd3('0x555')]();_0x31a44e['modules']=_0x31a44e[_0x1cd3('0x522')][0x0][_0x1cd3('0x52b')];_0x31a44e[_0x1cd3('0x2174')]=[{'id':0x0,'name':'Fully\x20Enabled','color':_0x1cd3('0x16dc'),'info':'All\x20resources\x20enabled','tag':_0x1cd3('0x2175')},{'id':0x1,'name':_0x1cd3('0x2176'),'color':_0x1cd3('0x2177'),'info':_0x1cd3('0x2178'),'tag':_0x1cd3('0x2179')},{'id':0x2,'name':_0x1cd3('0x217a'),'color':_0x1cd3('0x217b'),'info':'No\x20resources\x20enabled','tag':_0x1cd3('0x447')},{'id':0x3,'name':'Unlicensed','color':_0x1cd3('0x217c'),'info':_0x1cd3('0x217d'),'tag':'unlicensed'},{'id':0x4,'name':_0x1cd3('0x217e'),'color':_0x1cd3('0x217f'),'info':_0x1cd3('0x2180'),'tag':_0x1cd3('0x1990')}];_0x31a44e[_0x1cd3('0x2181')]=[{'title':_0x1cd3('0x2182'),'translate':_0x1cd3('0x2183'),'id':0x64}];_0x31a44e[_0x1cd3('0xe08')]=_0x32ab5f;_0x31a44e[_0x1cd3('0x2184')]=_0x1abdfe;_0x31a44e[_0x1cd3('0x2185')]=_0x3bf173;_0x31a44e[_0x1cd3('0x2186')]=_0x42efbb;function _0x32ab5f(_0x21e641,_0x26dfc3){_0x31a44e[_0x1cd3('0x38a')]=_0x21e641;_0x31a44e[_0x1cd3('0x463')]=_0x26dfc3;}function _0x1abdfe(_0x178c4a){var _0x4cadb8=typeof _0x178c4a['permissions']!==_0x1cd3('0x491')&&!_0x178c4a['permissions'][_0x1cd3('0x2187')]?!![]:![];var _0x572182=_0x178c4a[_0x1cd3('0x486')]===_0x1cd3('0x2188')?_0x1cd3('0x2189'):_0x178c4a[_0x1cd3('0x486')];if(_0x178c4a[_0x1cd3('0x3a6')][_0x1cd3('0x98')]!==_0x1cd3('0x218a')){var _0x540c17=[];if(!_0x4cadb8){var _0x26e9c1=_0x548980[_0x1cd3('0xd39')]({'skipHide':!![]})[_0x1cd3('0x486')]('Warning')[_0x1cd3('0x678')](_0x3ebe39[_0x1cd3('0x44a')](_0x1cd3('0x218b'),{'sectionName':_0x3ebe39['instant'](_0x178c4a[_0x1cd3('0x43c')])}))[_0x1cd3('0xd3d')](_0x1cd3('0x158d'))['ok'](_0x3ebe39[_0x1cd3('0x44a')](_0x1cd3('0x218c')))[_0x1cd3('0x4d8')](_0x3ebe39[_0x1cd3('0x44a')](_0x1cd3('0x218d')));_0x548980[_0x1cd3('0x37e')](_0x26e9c1)[_0x1cd3('0x77')](function(){switch(_0x572182){case _0x1cd3('0x2182'):_['map'](_0x31a44e[_0x1cd3('0x2181')],function(_0x10b1d2){_0x540c17[_0x1cd3('0x7b')]({'category':_0x572182,'sectionId':_0x10b1d2['id'],'name':_0x10b1d2['title'],'enabled':!![],'autoAssociation':!![],'crudPermissions':_[_0x1cd3('0x3d9')](_0x31a44e[_0x1cd3('0x38a')][_0x1cd3('0xd27')])[_0x1cd3('0x3de')]('')});});break;default:_[_0x1cd3('0x3d9')](_0x178c4a[_0x1cd3('0x52b')],function(_0x3313d4){var _0x5ef2d4=typeof _0x3313d4[_0x1cd3('0x38e')]!=_0x1cd3('0x491')&&_0x3313d4['permissions']['hidden']?!![]:![];if(!_0x5ef2d4){var _0x511bff=_0x3313d4[_0x1cd3('0x486')];switch(_0x572182){case _0x1cd3('0x218e'):_0x511bff=_0x511bff===_0x1cd3('0x1c7')?_0x1cd3('0x99'):_0x511bff;break;}_0x540c17[_0x1cd3('0x7b')]({'category':_0x572182,'sectionId':_0x3313d4['id'],'name':_0x511bff,'enabled':!![],'autoAssociation':!![],'crudPermissions':_[_0x1cd3('0x3d9')](_0x31a44e[_0x1cd3('0x38a')][_0x1cd3('0xd27')])[_0x1cd3('0x3de')]('')});}});break;}return _0x1db7a4[_0x1cd3('0x38a')][_0x1cd3('0x218f')]({'id':_0x31a44e['userProfile']['id']},_0x540c17)[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x178c4a['status']=_0x412c28(_0x178c4a,'full');_0xe80ebe[_0x1cd3('0x473')]({'title':_0x3ebe39[_0x1cd3('0x44a')](_0x1cd3('0x2190'),{'sectionName':_0x3ebe39[_0x1cd3('0x44a')](_0x178c4a[_0x1cd3('0x43c')]),'userProfileName':_0x31a44e['userProfile']['name']}),'msg':_0x3ebe39[_0x1cd3('0x44a')](_0x1cd3('0x2191'),{'sectionName':_0x3ebe39['instant'](_0x178c4a[_0x1cd3('0x43c')]),'userProfileName':_0x31a44e[_0x1cd3('0x38a')]['name']})});});})['catch'](function(_0x323457){if(_0x323457){_0xe80ebe['error']({'title':_0x323457[_0x1cd3('0x3a6')]?'API:'+_0x323457[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x323457['statusText']:_0x1cd3('0x2192'),'msg':_0x323457[_0x1cd3('0x3a6')]?JSON[_0x1cd3('0x438')](_0x323457[_0x1cd3('0x439')]):_0x323457[_0x1cd3('0x43b')]()});}else{_0x178c4a['status']=_0x412c28(_0x178c4a,_0x178c4a['status'][_0x1cd3('0xb76')]);}});}else{_0x540c17[_0x1cd3('0x7b')]({'category':_0x572182,'sectionId':_0x178c4a['id'],'name':_0x572182,'enabled':!![],'crudPermissions':_0x1cd3('0x1687')});return _0x1db7a4[_0x1cd3('0x38a')][_0x1cd3('0x218f')]({'id':_0x31a44e[_0x1cd3('0x38a')]['id']},_0x540c17)[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x178c4a[_0x1cd3('0x3a6')]=_0x412c28(_0x178c4a,_0x1cd3('0x2175'));_0xe80ebe[_0x1cd3('0x473')]({'title':_0x3ebe39['instant']('STAFF.NOTIFICATIONS.PERMISSIONS_ENABLED_ALL_SUCCESS_TITLE',{'sectionName':_0x3ebe39[_0x1cd3('0x44a')](_0x178c4a[_0x1cd3('0x43c')]),'userProfileName':_0x31a44e[_0x1cd3('0x38a')][_0x1cd3('0x98')]}),'msg':_0x3ebe39[_0x1cd3('0x44a')](_0x1cd3('0x2193'),{'sectionName':_0x3ebe39[_0x1cd3('0x44a')](_0x178c4a[_0x1cd3('0x43c')]),'userProfileName':_0x31a44e[_0x1cd3('0x38a')][_0x1cd3('0x98')]})});})[_0x1cd3('0xfd')](function(_0x20f948){_0xe80ebe['error']({'title':_0x20f948[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x20f948[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x20f948[_0x1cd3('0xd35')]:'SYSTEM:USERPROFILE.ADDSECTIONS','msg':_0x20f948[_0x1cd3('0x3a6')]?JSON['stringify'](_0x20f948[_0x1cd3('0x439')]):_0x20f948[_0x1cd3('0x43b')]()});});}}else if(_0x178c4a[_0x1cd3('0x3a6')][_0x1cd3('0x98')]===_0x1cd3('0x218a')){_0x178c4a[_0x1cd3('0x3a6')]=_0x412c28(_0x178c4a,_0x1cd3('0x447'));var _0x339a80=[];switch(_0x572182){case _0x1cd3('0x2194'):case'Help':_0x339a80=[_0x178c4a['id']];break;case'Dashboards':_0x339a80=_[_0x1cd3('0x3d9')](_0x31a44e[_0x1cd3('0x2181')],function(_0x4df96b){return _0x4df96b['id'];});break;default:_0x339a80=_[_0x1cd3('0x3d9')](_0x178c4a[_0x1cd3('0x52b')],function(_0x49f4da){return _0x49f4da['id'];});break;}return _0x1db7a4[_0x1cd3('0x38a')]['removeSections']({'id':_0x31a44e[_0x1cd3('0x38a')]['id'],'ids':_0x339a80})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0xe80ebe[_0x1cd3('0x473')]({'title':_0x3ebe39['instant'](_0x1cd3('0x2195'),{'sectionName':_0x3ebe39[_0x1cd3('0x44a')](_0x178c4a['translate']),'userProfileName':_0x31a44e['userProfile'][_0x1cd3('0x98')]}),'msg':_0x3ebe39['instant'](_0x1cd3('0x2196'),{'sectionName':_0x3ebe39[_0x1cd3('0x44a')](_0x178c4a[_0x1cd3('0x43c')]),'userProfileName':_0x31a44e[_0x1cd3('0x38a')][_0x1cd3('0x98')]})});})['catch'](function(_0x260610){_0xe80ebe[_0x1cd3('0x434')]({'title':_0x260610[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x260610[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x260610[_0x1cd3('0xd35')]:_0x1cd3('0x2197'),'msg':_0x260610[_0x1cd3('0x3a6')]?JSON[_0x1cd3('0x438')](_0x260610[_0x1cd3('0x439')]):_0x260610[_0x1cd3('0x43b')]()});});}}function _0x3bf173(_0x1b6d50,_0x444892){var _0x520588=_0x548980[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x2198'),'controllerAs':'vm','templateUrl':'app/main/apps/staff/views/userProfiles/edit/permissionsmanage/permissionsmanage.html','parent':angular[_0x1cd3('0x37f')](_0x143c86[_0x1cd3('0x380')]),'targetEvent':_0x444892,'clickOutsideToClose':![],'locals':{'userProfile':_0x31a44e[_0x1cd3('0x38a')],'userProfiles':[],'section':_0x1b6d50}});_0x520588[_0x1cd3('0x77')](function(){_0x42efbb(_0x1b6d50);});}function _0x412c28(_0xd300b3,_0x2c0933){_0xd300b3[_0x1cd3('0x2199')]=_0x58dbd6(_0x2c0933);switch(_0x2c0933){case _0x1cd3('0x2175'):return _[_0x1cd3('0x442')](_0x31a44e[_0x1cd3('0x2174')],[_0x1cd3('0xb76'),_0x1cd3('0x2175')]);case'partial':return _[_0x1cd3('0x442')](_0x31a44e[_0x1cd3('0x2174')],[_0x1cd3('0xb76'),'partial']);case _0x1cd3('0x447'):return _[_0x1cd3('0x442')](_0x31a44e[_0x1cd3('0x2174')],['tag',_0x1cd3('0x447')]);case'unlicensed':return _[_0x1cd3('0x442')](_0x31a44e[_0x1cd3('0x2174')],[_0x1cd3('0xb76'),_0x1cd3('0x219a')]);case _0x1cd3('0x1990'):return _['find'](_0x31a44e[_0x1cd3('0x2174')],[_0x1cd3('0xb76'),_0x1cd3('0x1990')]);default:return _[_0x1cd3('0x442')](_0x31a44e['statusList'],[_0x1cd3('0xb76'),_0x1cd3('0x1990')]);}}function _0x3652ac(_0x1d3e27){return _0x9e860c(function(_0x5aaef7,_0x459107){var _0x4b8a3a=typeof _0x1d3e27[_0x1cd3('0x157f')]!==_0x1cd3('0x491')&&_['includes'](_0x1d3e27['route'],'Queue');if(_0x4b8a3a){_0x149e77(_0x1d3e27)[_0x1cd3('0x77')](function(_0x2589d3){_0x5aaef7(_0x2589d3);})[_0x1cd3('0xfd')](function(_0x274012){_0x459107(_0x274012);});}else{_0x26a676(_0x1d3e27)[_0x1cd3('0x77')](function(_0x114dd9){_0x5aaef7(_0x114dd9);})[_0x1cd3('0xfd')](function(_0x3e1a5b){_0x459107(_0x3e1a5b);});}});}function _0x149e77(_0x39f0c7){return _0x9e860c(function(_0x4aa845,_0x265389){var _0x22a7f0=typeof _0x39f0c7[_0x1cd3('0x157f')]!==_0x1cd3('0x491')&&_0x39f0c7[_0x1cd3('0x157f')]===_0x1cd3('0x2110')?'outbound':'inbound';return _0x1db7a4[_0x39f0c7[_0x1cd3('0x42a')]][_0x1cd3('0x361')]({'fields':_0x1cd3('0x219b'),'channel':_0x39f0c7[_0x1cd3('0x157f')]===_0x1cd3('0x2110')?_0x1cd3('0x121'):_0x39f0c7[_0x1cd3('0x157f')],'type':_0x22a7f0,'nolimit':!![]})['$promise'][_0x1cd3('0x77')](function(_0x44f009){_0x4aa845(_0x44f009);})['catch'](function(_0x4d1dc0){_0x265389(_0x4d1dc0);});});}function _0x26a676(_0x38b389){return _0x9e860c(function(_0x4775ce,_0x5cfd9c){switch(_0x38b389[_0x1cd3('0x42a')]){case _0x1cd3('0xa40'):var _0x2387f4;switch(_0x38b389[_0x1cd3('0x486')]){case _0x1cd3('0x219c'):_0x2387f4=_0x1cd3('0xa4');break;case _0x1cd3('0x30b'):_0x2387f4=_0x1cd3('0x128');break;case _0x1cd3('0x312'):_0x2387f4=_0x1cd3('0x311');break;}break;case _0x1cd3('0x368'):var _0xcd4bc8;switch(_0x38b389[_0x1cd3('0x486')]){case _0x1cd3('0xd4'):_0xcd4bc8=_0x1cd3('0xd2');break;case _0x1cd3('0x28f'):_0xcd4bc8=_0x1cd3('0x28e');break;case _0x1cd3('0xa0'):_0xcd4bc8=_0x1cd3('0x368');break;}break;}if(_0x38b389['title']==='Reports'){if(_0x38b389[_0x1cd3('0x219d')]){switch(_0x38b389[_0x1cd3('0x219d')]){case'default':_0x38b389[_0x1cd3('0x42a')]=_0x1cd3('0x8f7');break;case'custom':_0x38b389[_0x1cd3('0x42a')]=_0x1cd3('0x8f9');break;}}else{return _0x1db7a4['analyticDefaultReport']['get']({'nolimit':!![]})['$promise'][_0x1cd3('0x77')](function(_0x23e26a){_0x1db7a4['analyticCustomReport'][_0x1cd3('0x361')]({'nolimit':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x5e37df){var _0x24efae=_['union'](_0x23e26a[_0x1cd3('0xf6')],_0x5e37df[_0x1cd3('0xf6')]);_0x4775ce({'count':_0x24efae[_0x1cd3('0x7a')],'rows':_0x24efae['rows']});});})[_0x1cd3('0xfd')](function(_0x6c9761){_0x5cfd9c(_0x6c9761);});}}return _0x1db7a4[_0x38b389[_0x1cd3('0x42a')]][_0x1cd3('0x361')]({'role':_0xcd4bc8?_0xcd4bc8:undefined,'type':_0x2387f4?_0x2387f4:undefined,'VoiceExtensionId':_0x2387f4?_0x1cd3('0x220'):undefined,'nolimit':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x47a18a){_0x4775ce(_0x47a18a);})[_0x1cd3('0xfd')](function(_0x34b5fb){_0x5cfd9c(_0x34b5fb);});});}function _0x102eed(_0x2364e7,_0x41e9e1){return _0x9e860c(function(_0x1717d9,_0x533d22){_0x1db7a4[_0x1cd3('0x392')]['get']({'sectionId':_0x41e9e1})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x3ae577){return _0x3652ac(_0x2364e7)[_0x1cd3('0x77')](function(_0x380a70){return _[_0x1cd3('0x1152')](_0x3ae577[_0x1cd3('0xf6')],_0x380a70[_0x1cd3('0xf6')],'id');});})[_0x1cd3('0x77')](function(_0x55bd1a){_[_0x1cd3('0x398')](_0x55bd1a)?_0x1717d9():_0x533d22();})['catch'](function(_0x36bd22){_0x533d22(_0x36bd22);});});}function _0x483863(_0x58aaf3,_0x26166d,_0x2aec4a){var _0x71c54=_0x58aaf3&&_0x58aaf3[_0x1cd3('0x7a')]>0x0?_0x58aaf3[0x0]:null;if(!_0x71c54)return _0x2aec4a;var _0x8fa2f9=_[_0x1cd3('0x442')](_0x26166d,[_0x1cd3('0x38b'),_0x71c54['id']]);if(_0x8fa2f9){_0x26166d=_[_0x1cd3('0x383')](_0x26166d,[_0x1cd3('0x38b'),_0x71c54['id']]);return _0x102eed(_0x71c54,_0x8fa2f9['id'])[_0x1cd3('0x77')](function(){_0x2aec4a=_0x1cd3('0x2175');return _0x483863(_0x58aaf3['shift'](),_0x26166d,_0x2aec4a);})[_0x1cd3('0xfd')](function(_0x1875e1){return _0x9e860c['reject'](_0x1875e1);});}}function _0x42efbb(_0x5aa6fb){var _0x22599c=_0x5aa6fb[_0x1cd3('0x486')]===_0x1cd3('0x2188')?_0x1cd3('0x2189'):_0x5aa6fb[_0x1cd3('0x486')];if(!_0x31a44e[_0x1cd3('0x463')]){_0x5aa6fb[_0x1cd3('0x3a6')]=_0x412c28(_0x5aa6fb,_0x1cd3('0x1990'));return;}if(typeof _0x5aa6fb['permissions']!==_0x1cd3('0x491')&&!_0x5aa6fb[_0x1cd3('0x38e')][_0x1cd3('0x2187')]){_0x1db7a4[_0x1cd3('0x390')]['get']({'userProfileId':_0x31a44e[_0x1cd3('0x38a')]['id'],'sectionId':_0x5aa6fb['id']})['$promise'][_0x1cd3('0x77')](function(_0x452600){var _0x30c0c8=_0x452600&&_0x452600[_0x1cd3('0xf6')][_0x1cd3('0x7a')]===0x1?_0x452600[_0x1cd3('0xf6')][0x0]:null;var _0x2ef0a3=_0x30c0c8?'full':_0x1cd3('0x447');_0x5aa6fb[_0x1cd3('0x3a6')]=_0x412c28(_0x5aa6fb,_0x2ef0a3);});}else{if(typeof _0x5aa6fb[_0x1cd3('0x463')]!==_0x1cd3('0x491')&&!_0x31a44e[_0x1cd3('0x463')][_0x5aa6fb[_0x1cd3('0x463')]]){_0x5aa6fb[_0x1cd3('0x3a6')]=_0x412c28(_0x5aa6fb,'unlicensed');}else{_0x1db7a4[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x31a44e[_0x1cd3('0x38a')]['id'],'category':_0x22599c})['$promise'][_0x1cd3('0x77')](function(_0x2a712b){var _0x32e6f9=_0x2a712b&&_0x2a712b[_0x1cd3('0xf6')]&&_0x2a712b[_0x1cd3('0xf6')]['length']>0x0?_0x2a712b['rows']:[];if(_0x5aa6fb[_0x1cd3('0x486')]==='Dashboards'){if(_[_0x1cd3('0x398')](_0x32e6f9)){return _0x1cd3('0x447');}else{if(_0x32e6f9[0x0]['autoAssociation']){return _0x1cd3('0x2175');}else{return _0x1db7a4['userProfileResource'][_0x1cd3('0x361')]({'sectionId':_0x32e6f9[0x0]['id'],'resourceId':0x65})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0xcdcb3){var _0x3389df=_0xcdcb3&&_0xcdcb3['rows']?_0xcdcb3[_0x1cd3('0xf6')][0x0]:null;return _0x3389df?'full':'partial';});}}}else{var _0x2adec4=_[_0x1cd3('0x395')](_0x5aa6fb['children'],function(_0x509c8f){return typeof _0x509c8f['permissions']!==_0x1cd3('0x491')&&_0x509c8f[_0x1cd3('0x38e')][_0x1cd3('0x533')]?undefined:_0x509c8f;});if(_0x32e6f9[_0x1cd3('0x7a')]===_0x2adec4['length']){if(_[_0x1cd3('0x920')](_0x32e6f9,[_0x1cd3('0x391'),!![]])){return _0x1cd3('0x2175');}else{var _0x5630ea=_[_0x1cd3('0x395')](_0x2adec4,function(_0x19f4bd){return typeof _0x19f4bd['permissions']!=='undefined'&&!_0x19f4bd[_0x1cd3('0x38e')][_0x1cd3('0x2187')]?undefined:_0x19f4bd;});return _0x483863(_0x5630ea,_0x32e6f9,_0x1cd3('0x2179'));}}else{return _0x32e6f9[_0x1cd3('0x7a')]===0x0?_0x1cd3('0x447'):_0x1cd3('0x2179');}}})['then'](function(_0x536add){_0x5aa6fb[_0x1cd3('0x3a6')]=_0x412c28(_0x5aa6fb,_0x536add);})[_0x1cd3('0xfd')](function(_0x128e33){var _0x9172c6=_0x128e33?_0x1cd3('0x1990'):_0x1cd3('0x2179');_0x5aa6fb[_0x1cd3('0x3a6')]=_0x412c28(_0x5aa6fb,_0x9172c6);if(_0x128e33){_0xe80ebe['error']({'title':_0x128e33[_0x1cd3('0x3a6')]?'API:'+_0x128e33['status']+_0x1cd3('0x436')+_0x128e33[_0x1cd3('0xd35')]:_0x1cd3('0x219e')+_0x22599c['toUpperCase']()+')','msg':_0x128e33[_0x1cd3('0x3a6')]?JSON[_0x1cd3('0x438')](_0x128e33[_0x1cd3('0x439')]):_0x128e33[_0x1cd3('0x43b')]()});}});}}}function _0x58dbd6(_0x11e6e4){return _0x11e6e4==='full'?!![]:![];}}}());(function(){'use strict';_0x16e629[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x3c5'),'$q','toasty','api',_0x1cd3('0x38a'),_0x1cd3('0x215f'),'$translate',_0x1cd3('0x56'),'section'];angular[_0x1cd3('0x0')](_0x1cd3('0x2b'))[_0x1cd3('0x39b')](_0x1cd3('0x2198'),_0x16e629);function _0x16e629(_0x24a134,_0x4939aa,_0x13520d,_0x9b0485,_0x2ecbe3,_0x26eaaa,_0x4c1696,_0x2f2452,_0x36a684,_0x895e33){var _0x3b5d5d=this;_0x3b5d5d['userProfile']=_0x26eaaa;_0x3b5d5d[_0x1cd3('0x1146')]=0x0;_0x3b5d5d[_0x1cd3('0xd58')]=angular[_0x1cd3('0x429')](_0x895e33);_0x3b5d5d['title']=_0x2f2452['instant'](_0x1cd3('0x219f'),{'sectionName':_0x2f2452['instant'](_0x3b5d5d['section']['translate'])});_0x3b5d5d['items']=[];_0x3b5d5d[_0x1cd3('0x492')]=[];_0x3b5d5d['subsections']=_['filter'](_0x3b5d5d[_0x1cd3('0xd58')]['children'],function(_0x45fa9b){return typeof _0x45fa9b['permissions']!=_0x1cd3('0x491')&&_0x45fa9b[_0x1cd3('0x38e')][_0x1cd3('0x533')]?undefined:_0x45fa9b;});_0x3b5d5d[_0x1cd3('0x2181')]=[{'title':_0x1cd3('0x2182'),'translate':_0x1cd3('0x2183'),'id':0x64}];_0x3b5d5d[_0x1cd3('0x21a0')]=[];if(_0x3b5d5d[_0x1cd3('0xd58')]['title']===_0x1cd3('0x2182')){_0x3b5d5d['dashboardItems']=_0x3b5d5d['subsections'];_0x3b5d5d[_0x1cd3('0x38c')]=_0x3b5d5d[_0x1cd3('0x2181')];}_0x3b5d5d[_0x1cd3('0x21a1')]=null;_0x3b5d5d[_0x1cd3('0x21a2')]=null;_0x3b5d5d['allReportsSelected']=[];_0x3b5d5d[_0x1cd3('0x39c')]=_0x53043c;_0x3b5d5d[_0x1cd3('0x21a3')]=_0x1190c8;_0x3b5d5d[_0x1cd3('0x21a4')]=_0x39e1aa;_0x3b5d5d[_0x1cd3('0x21a5')]=_0x5b8a80;_0x3b5d5d[_0x1cd3('0x21a6')]=_0x1babc7;_0x3b5d5d[_0x1cd3('0x21a7')]=_0x597a61;_0x3b5d5d[_0x1cd3('0x21a8')]=_0x53ae9e;_0x3b5d5d[_0x1cd3('0x1145')]={'readOnly':![],'items':[],'selectedItems':[],'showSelectAndDeselectAll':!![],'orderBy':_0x1cd3('0x98'),'line1':_0x1cd3('0x98'),'line2':'','line3':'','line4':_0x1cd3('0x21a9'),'labelAll':_0x2f2452[_0x1cd3('0x44a')]('STAFF.PERMISSIONS_ALL_RESOURCES'),'labelSelected':_0x2f2452[_0x1cd3('0x44a')](_0x1cd3('0x21aa')),'labelSearch':_0x2f2452[_0x1cd3('0x44a')](_0x1cd3('0x21ab')),'transferCallback':function(_0x35ae02,_0x3d729f){_0x33fb0a(!![]);if(_0x3d729f){_0x3b5d5d[_0x1cd3('0x21a1')][_0x1cd3('0x492')]=_[_0x1cd3('0x21ac')](_0x3b5d5d[_0x1cd3('0x21a1')][_0x1cd3('0x492')],_0x35ae02,'id');_0x3b5d5d[_0x1cd3('0x21a1')][_0x1cd3('0x391')]=![];}else{_0x3b5d5d[_0x1cd3('0x21a1')][_0x1cd3('0x492')]=_[_0x1cd3('0x21ad')](_0x3b5d5d[_0x1cd3('0x21a1')][_0x1cd3('0x492')],_0x35ae02,'id');}if(_0x3b5d5d[_0x1cd3('0x21a1')][_0x1cd3('0x486')]===_0x1cd3('0x21ae')){_0x5f16fc();}}};function _0x2325a9(){return _0x13520d(function(_0x1e30ee,_0x5c0890){var _0x59467f=typeof _0x3b5d5d[_0x1cd3('0x21a1')]['channel']!==_0x1cd3('0x491')&&_0x3b5d5d['selectedSection'][_0x1cd3('0x157f')]===_0x1cd3('0x2110')?'outbound':'inbound';return _0x2ecbe3[_0x3b5d5d[_0x1cd3('0x21a1')][_0x1cd3('0x42a')]]['get']({'fields':'id,name,strategy,type','channel':_0x3b5d5d[_0x1cd3('0x21a1')][_0x1cd3('0x157f')]===_0x1cd3('0x2110')?_0x1cd3('0x121'):_0x3b5d5d[_0x1cd3('0x21a1')][_0x1cd3('0x157f')],'type':_0x59467f,'nolimit':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x2b428a){_0x1e30ee(_0x2b428a);})[_0x1cd3('0xfd')](function(_0x459540){_0x5c0890(_0x459540);});});}function _0x17baed(){return _0x13520d(function(_0x506c6c,_0x38268a){if(_0x3b5d5d[_0x1cd3('0x21a1')][_0x1cd3('0x42a')]===_0x1cd3('0xa40')){var _0x597d57;switch(_0x3b5d5d[_0x1cd3('0x21a1')]['title']){case _0x1cd3('0x219c'):_0x597d57=_0x1cd3('0xa4');break;case _0x1cd3('0x30b'):_0x597d57=_0x1cd3('0x128');break;case _0x1cd3('0x312'):_0x597d57='internal';break;}}if(_0x3b5d5d[_0x1cd3('0x21a1')]['route']===_0x1cd3('0x368')){var _0x483528;switch(_0x3b5d5d['selectedSection'][_0x1cd3('0x486')]){case _0x1cd3('0xd4'):_0x483528=_0x1cd3('0xd2');break;case'Telephones':_0x483528=_0x1cd3('0x28e');break;case _0x1cd3('0xa0'):_0x483528=_0x1cd3('0x368');break;}}if(_0x3b5d5d[_0x1cd3('0x21a1')]['route']===_0x1cd3('0x77e')){var _0x3b79c1=!![];}if(_0x3b5d5d['selectedSection'][_0x1cd3('0x486')]==='Reports'){_0x3b5d5d[_0x1cd3('0x21a1')][_0x1cd3('0x42a')]=_0x3b5d5d[_0x1cd3('0x21a1')][_0x1cd3('0x219d')]==='default'?_0x1cd3('0x8f7'):_0x1cd3('0x8f9');}if(_0x3b5d5d['selectedSection'][_0x1cd3('0x486')]===_0x1cd3('0x2182')){_0x506c6c({'count':0x1,'rows':[{'id':0x65,'name':_0x2f2452[_0x1cd3('0x44a')](_0x1cd3('0x21af'))}]});}else{return _0x2ecbe3[_0x3b5d5d['selectedSection'][_0x1cd3('0x42a')]][_0x1cd3('0x361')]({'role':_0x483528?_0x483528:undefined,'type':_0x597d57?_0x597d57:undefined,'VoiceExtensionId':_0x597d57?_0x1cd3('0x220'):undefined,'IntervalId':_0x3b79c1?_0x1cd3('0x220'):undefined,'nolimit':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x1f6db6){_0x506c6c(_0x1f6db6);})['catch'](function(_0x4064ba){_0x38268a(_0x4064ba);});}});}function _0x5c3295(){var _0x33ecc0=typeof _0x3b5d5d[_0x1cd3('0x21a1')][_0x1cd3('0x21b0')]!='undefined'?_0x3b5d5d[_0x1cd3('0x21a1')][_0x1cd3('0x21b0')]:![];return _0x13520d(function(_0x3555de,_0x3f7e70){_0x2ecbe3['userProfileSection'][_0x1cd3('0x361')]({'userProfileId':_0x3b5d5d[_0x1cd3('0x38a')]['id'],'sectionId':_0x3b5d5d[_0x1cd3('0x21a1')]['id']})['$promise'][_0x1cd3('0x77')](function(_0x15b49b){var _0x895e33=_0x15b49b&&_0x15b49b[_0x1cd3('0xf6')]?_0x15b49b[_0x1cd3('0xf6')][0x0]:null;if(!_0x33ecc0){_0x3b5d5d['selectedSection'][_0x1cd3('0x396')]=_0x895e33?!!_0x895e33['enabled']:![];_0x3b5d5d[_0x1cd3('0x21a1')]['autoAssociation']=_0x895e33?!!_0x895e33[_0x1cd3('0x391')]:![];_0x3b5d5d[_0x1cd3('0x21a1')][_0x1cd3('0xd27')]=_0x895e33?_0x3f8adf(_0x895e33[_0x1cd3('0xd27')]):_0x3f8adf(_0x3b5d5d[_0x1cd3('0x38a')][_0x1cd3('0xd27')]);}_0x3555de(_0x895e33);})[_0x1cd3('0xfd')](function(_0x1d1bf6){_0x3f7e70(_0x1d1bf6);});});}function _0x2a2747(){return _0x13520d(function(_0x3bf938,_0x376cf3){if(!_0x3b5d5d[_0x1cd3('0x21a2')]){_0x3bf938(null);}else{_0x2ecbe3[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x3b5d5d[_0x1cd3('0x21a2')]['id'],'nolimit':!![]})[_0x1cd3('0x81')]['then'](function(_0x19f2fd){_0x3bf938(_0x19f2fd);})[_0x1cd3('0xfd')](function(_0x4cce39){_0x376cf3(_0x4cce39);});}});}function _0x29b2ef(){return _0x13520d(function(_0x865024,_0x59f0b7){var _0x48104e=typeof _0x3b5d5d['selectedSection'][_0x1cd3('0x157f')]!=='undefined'&&_['includes'](_0x3b5d5d[_0x1cd3('0x21a1')][_0x1cd3('0x42a')],_0x1cd3('0x1223'));if(_0x48104e){_0x2325a9()[_0x1cd3('0x77')](function(_0x19028c){_0x865024(_0x19028c);})[_0x1cd3('0xfd')](function(_0x1ca396){_0x59f0b7(_0x1ca396);});}else{_0x17baed()[_0x1cd3('0x77')](function(_0x4103b9){_0x865024(_0x4103b9);})[_0x1cd3('0xfd')](function(_0x3152dc){_0x59f0b7(_0x3152dc);});}});}function _0xf7e4e8(){var _0x4a82c8=typeof _0x3b5d5d['selectedSection'][_0x1cd3('0x21b0')]!=_0x1cd3('0x491')?_0x3b5d5d[_0x1cd3('0x21a1')][_0x1cd3('0x21b0')]:![];var _0x5ddd32=[];return _0x2a2747()[_0x1cd3('0x77')](function(_0x471dd1){_0x5ddd32=_0x471dd1&&_0x471dd1[_0x1cd3('0xf6')]?_0x471dd1[_0x1cd3('0xf6')]:[];if(_0x3b5d5d['selectedSection'][_0x1cd3('0x486')]===_0x1cd3('0x21ae')){_0x3b5d5d[_0x1cd3('0x21b1')]=!_0x3b5d5d[_0x1cd3('0x21b1')]?_0x5ddd32:_0x3b5d5d[_0x1cd3('0x21b1')];_0x5ddd32=_0x5e3821(_0x3b5d5d['associatedReports']);}if(typeof _0x3b5d5d[_0x1cd3('0x21a1')][_0x1cd3('0x38e')]!=='undefined'&&!_0x3b5d5d[_0x1cd3('0x21a1')][_0x1cd3('0x38e')]['association']){return{'rows':[]};}else{return _0x29b2ef();}})[_0x1cd3('0x77')](function(_0x5217ad){_0x3b5d5d[_0x1cd3('0x493')]=_0x5217ad['rows']?_['map'](_0x5217ad[_0x1cd3('0xf6')],function(_0x1fae73){if(_0x3b5d5d[_0x1cd3('0x21a1')][_0x1cd3('0x486')]===_0x1cd3('0x21ae')){_0x1fae73[_0x1cd3('0x21a9')]=_0x33cab9(_0x1fae73[_0x1cd3('0x36c')])[_0x1cd3('0x3f1')]('\x20','_');}_0x1fae73[_0x1cd3('0x490')]=!![];return _0x1fae73;}):[];if(!_0x4a82c8){_0x3b5d5d[_0x1cd3('0x21a1')][_0x1cd3('0x492')]=_[_0x1cd3('0x3d9')](_0x5ddd32,function(_0x1e41f5){return _[_0x1cd3('0x442')](_0x3b5d5d['items'],{'id':_0x1e41f5['resourceId']});});}var _0x151777=_[_0x1cd3('0x1152')](_0x3b5d5d['selectedSection'][_0x1cd3('0x492')],_0x3b5d5d['items'],'id');if(!_[_0x1cd3('0x398')](_0x151777)){_0x3b5d5d[_0x1cd3('0x21a1')][_0x1cd3('0x492')]=_[_0x1cd3('0x21ac')](_0x3b5d5d['selectedSection'][_0x1cd3('0x492')],_0x151777,'id');}switch(_0x3b5d5d[_0x1cd3('0x21a1')][_0x1cd3('0x486')]){case'Contexts':_0x3b5d5d[_0x1cd3('0x21a1')][_0x1cd3('0x492')]=_[_0x1cd3('0x395')](_0x3b5d5d[_0x1cd3('0x493')],function(_0x24e5fe){if(_0x24e5fe[_0x1cd3('0x21b2')]){_0x24e5fe[_0x1cd3('0x490')]=![];return _0x24e5fe;}else{var _0x1bb59a=_[_0x1cd3('0x442')](_0x5ddd32,{'resourceId':_0x24e5fe['id']});if(typeof _0x1bb59a!==_0x1cd3('0x491')){_0x24e5fe[_0x1cd3('0x490')]=!![];return _0x24e5fe;}}});break;case _0x1cd3('0x325'):_0x3b5d5d[_0x1cd3('0x21a1')][_0x1cd3('0x492')]=_[_0x1cd3('0x395')](_0x3b5d5d[_0x1cd3('0x493')],function(_0x35d16a){if(_0x35d16a['defaultEntry']){_0x35d16a['isValid']=![];return _0x35d16a;}else{var _0x6ff6b8=_[_0x1cd3('0x442')](_0x5ddd32,{'resourceId':_0x35d16a['id']});if(typeof _0x6ff6b8!==_0x1cd3('0x491')){_0x35d16a['isValid']=!![];return _0x35d16a;}}});break;case _0x1cd3('0x21ae'):var _0x3a3145=_0x37be06(_0x3b5d5d[_0x1cd3('0x21b3')]);_0x3b5d5d[_0x1cd3('0x21a1')][_0x1cd3('0x492')]=_0x314bca(_0x3b5d5d[_0x1cd3('0x21a1')]['selectedItems']);_0x3b5d5d[_0x1cd3('0x21a1')][_0x1cd3('0x492')]=_[_0x1cd3('0x21ad')](_0x3b5d5d[_0x1cd3('0x21a1')][_0x1cd3('0x492')],_0x3a3145,'id');break;}_0x3b5d5d[_0x1cd3('0x1145')][_0x1cd3('0x492')]=_0x3b5d5d[_0x1cd3('0x21a1')][_0x1cd3('0x492')];_0x3b5d5d[_0x1cd3('0x1145')][_0x1cd3('0x493')]=_[_0x1cd3('0x1152')](_0x3b5d5d[_0x1cd3('0x493')],_0x3b5d5d[_0x1cd3('0x1145')][_0x1cd3('0x492')],'id');})[_0x1cd3('0xfd')](function(_0x311b93){_0x9b0485[_0x1cd3('0x434')]({'title':_0x311b93[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x311b93['status']+_0x1cd3('0x436')+_0x311b93[_0x1cd3('0xd35')]:'SYSTEM:GET'+_0x3b5d5d[_0x1cd3('0x21a1')][_0x1cd3('0x486')][_0x1cd3('0x437')](),'msg':_0x311b93['status']?JSON[_0x1cd3('0x438')](_0x311b93[_0x1cd3('0x439')]):_0x311b93[_0x1cd3('0x43b')]()});});}function _0x1190c8(){return _0x5c3295()['then'](function(_0x7b4552){_0x3b5d5d[_0x1cd3('0x21a2')]=_0x7b4552;if(_0x3b5d5d[_0x1cd3('0x21a1')][_0x1cd3('0x486')]===_0x1cd3('0x21ae')){return _0x2d4b6c()[_0x1cd3('0x77')](function(){if(!_0x3b5d5d[_0x1cd3('0x21a1')][_0x1cd3('0x219d')]){return _0x2a2747()[_0x1cd3('0x77')](function(_0x68546a){_0x3b5d5d[_0x1cd3('0x21b3')]=_0x68546a?_[_0x1cd3('0x3d9')](_0x68546a[_0x1cd3('0xf6')],function(_0x37d122){return{'id':_0x37d122[_0x1cd3('0xe8e')],'name':_0x37d122[_0x1cd3('0x98')],'type':_0x37d122[_0x1cd3('0x424')]};}):[];});}})[_0x1cd3('0xfd')](function(_0x1645d7){_0x9b0485[_0x1cd3('0x434')]({'title':_0x1645d7['status']?'API:'+_0x1645d7['status']+_0x1cd3('0x436')+_0x1645d7[_0x1cd3('0xd35')]:_0x1cd3('0x21b4'),'msg':_0x1645d7[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x1645d7[_0x1cd3('0x439')]):_0x1645d7[_0x1cd3('0x43b')]()});});}else{_0xf7e4e8();}})[_0x1cd3('0xfd')](function(_0x33a597){_0x9b0485[_0x1cd3('0x434')]({'title':_0x33a597[_0x1cd3('0x3a6')]?'API:'+_0x33a597[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x33a597['statusText']:'SYSTEM:GET'+_0x3b5d5d['selectedSection'][_0x1cd3('0x486')][_0x1cd3('0x437')](),'msg':_0x33a597[_0x1cd3('0x3a6')]?JSON[_0x1cd3('0x438')](_0x33a597[_0x1cd3('0x439')]):_0x33a597[_0x1cd3('0x43b')]()});});}function _0x3f8adf(_0x1c5192){if(_0x1c5192){_0x3b5d5d[_0x1cd3('0x21a1')][_0x1cd3('0x21b5')]=_[_0x1cd3('0x38f')](_0x1c5192,'e')?!![]:![];_0x3b5d5d['selectedSection'][_0x1cd3('0x21b6')]=_['includes'](_0x1c5192,'d')?!![]:![];}return _0x4cbd78();}function _0x4cbd78(){var _0x34cf02=['r'];if(_0x3b5d5d['selectedSection'][_0x1cd3('0x21b5')]){_0x34cf02['push']('e');}else{var _0x121967=_[_0x1cd3('0x45e')](_0x34cf02,['e']);if(_0x121967>0x0){_0x3b5d5d[_0x1cd3('0x21a1')][_0x1cd3('0xd27')][_0x1cd3('0x3f1')]('e','');}}if(_0x3b5d5d['selectedSection'][_0x1cd3('0x21b6')]){_0x34cf02[_0x1cd3('0x7b')]('d');}else{var _0x121967=_[_0x1cd3('0x45e')](_0x34cf02,['d']);if(_0x121967>0x0){_0x3b5d5d['selectedSection'][_0x1cd3('0xd27')][_0x1cd3('0x3f1')]('d','');}}return _0x34cf02;}function _0x39e1aa(){_0x3b5d5d[_0x1cd3('0x21a1')][_0x1cd3('0x396')]=!_0x3b5d5d[_0x1cd3('0x21a1')][_0x1cd3('0x396')];_0x33fb0a(!![]);}function _0x5b8a80(){if(!_0x3b5d5d[_0x1cd3('0x21a1')][_0x1cd3('0x391')]){var _0x2fd18d=[];for(var _0x4de9e4=0x0;_0x4de9e4<_0x3b5d5d[_0x1cd3('0x1145')][_0x1cd3('0x493')][_0x1cd3('0x7a')];_0x4de9e4++){_0x2fd18d[_0x1cd3('0x7b')](_0x3b5d5d[_0x1cd3('0x1145')][_0x1cd3('0x493')][_0x4de9e4]);_0x3b5d5d[_0x1cd3('0x1145')][_0x1cd3('0x492')]['push'](_0x3b5d5d['dualMultiselectOptions'][_0x1cd3('0x493')][_0x4de9e4]);}_0x3b5d5d[_0x1cd3('0x1145')][_0x1cd3('0x493')]=[];_0x3b5d5d['dualMultiselectOptions'][_0x1cd3('0x494')](_0x2fd18d,![]);}_0x33fb0a(!![]);}function _0x1babc7(){_0x3b5d5d['treeStructure']=_0x16ccae();if(_0x3b5d5d[_0x1cd3('0x21a1')]['selectedItems']){_0x3b5d5d[_0x1cd3('0x21b3')]=_0x314bca(_0x3b5d5d[_0x1cd3('0x21b3')]);_0x5f16fc();}_0xf7e4e8();}function _0x597a61(_0x9ab63f){if(_0x9ab63f===_0x1cd3('0xea4')){_0x3b5d5d[_0x1cd3('0x21a1')][_0x1cd3('0x21b5')]=!_0x3b5d5d['selectedSection'][_0x1cd3('0x21b5')];}else if(_0x9ab63f==='delete'){_0x3b5d5d[_0x1cd3('0x21a1')][_0x1cd3('0x21b6')]=!_0x3b5d5d['selectedSection'][_0x1cd3('0x21b6')];}_0x3b5d5d['selectedSection'][_0x1cd3('0xd27')]=_0x3f8adf();_0x33fb0a(!![]);}function _0x53ae9e(){var _0x612a6c=_0x3b5d5d[_0x1cd3('0xd58')]['title']===_0x1cd3('0x2188')?'AppZone':_0x3b5d5d[_0x1cd3('0xd58')]['title'];var _0x43d360=_(_0x3b5d5d[_0x1cd3('0x38c')])['filter']({'pending':!![]})[_0x1cd3('0x3d9')](function(_0x2c9bd5){var _0x57bc64=_0x612a6c===_0x1cd3('0x218e')&&_0x2c9bd5['title']===_0x1cd3('0x1c7')?_0x1cd3('0x99'):_0x2c9bd5[_0x1cd3('0x486')];var _0x594ce1=_0x57bc64==='Reports'?_0x3b5d5d[_0x1cd3('0x21b3')]:_0x2c9bd5[_0x1cd3('0x492')];if(_0x612a6c===_0x1cd3('0x21b7')){_0x2c9bd5[_0x1cd3('0x391')]=!![];}return{'category':_0x612a6c,'sectionId':_0x2c9bd5['id'],'name':_0x57bc64,'enabled':_0x2c9bd5[_0x1cd3('0x396')],'autoAssociation':_0x2c9bd5[_0x1cd3('0x391')],'crudPermissions':_[_0x1cd3('0x3d9')](_0x2c9bd5['crudPermissions'])[_0x1cd3('0x3de')](''),'Resources':_[_0x1cd3('0x3d9')](_0x594ce1,function(_0x1977c6){return{'name':_0x1977c6[_0x1cd3('0x98')],'resourceId':_0x1977c6['id'],'type':_0x4febc7(_0x57bc64,_0x1977c6)};})};})[_0x1cd3('0x3db')]();return _0x2ecbe3[_0x1cd3('0x38a')][_0x1cd3('0x218f')]({'id':_0x3b5d5d[_0x1cd3('0x38a')]['id']},_0x43d360)['$promise'][_0x1cd3('0x77')](function(){_0x3b5d5d[_0x1cd3('0x38c')][_0x1cd3('0x394')](function(_0x570702){_0x570702[_0x1cd3('0x21b0')]=undefined;});_0x3b5d5d[_0x1cd3('0x21b1')]=null;_0x26646d();if(_0x3b5d5d[_0x1cd3('0x21a1')][_0x1cd3('0x486')]===_0x1cd3('0x21ae')&&!_0x3b5d5d[_0x1cd3('0x21a1')][_0x1cd3('0x219d')]){_0x24a134['userProfileForm'][_0x1cd3('0x4c1')]();}_0x9b0485['success']({'title':_0x2f2452[_0x1cd3('0x44a')](_0x1cd3('0x21b8'),{'sectionName':_0x2f2452[_0x1cd3('0x44a')](_0x612a6c[_0x1cd3('0x43c')])}),'msg':_0x2f2452[_0x1cd3('0x44a')](_0x1cd3('0x21b9'))});})[_0x1cd3('0x77')](function(){return _0x5c3295()[_0x1cd3('0x77')](function(_0x3697fa){_0x3b5d5d['loadedSection']=_0x3697fa;});})[_0x1cd3('0xfd')](function(_0x844ede){_0x9b0485[_0x1cd3('0x434')]({'title':_0x844ede['status']?_0x1cd3('0x435')+_0x844ede[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x844ede[_0x1cd3('0xd35')]:_0x1cd3('0x2192'),'msg':_0x844ede[_0x1cd3('0x3a6')]?JSON['stringify'](_0x844ede['data']):_0x844ede['toString']()});});}function _0x33fb0a(_0x24f5b8){var _0x1d212c=_[_0x1cd3('0x445')](_0x3b5d5d[_0x1cd3('0x38c')],function(_0x3249ae){return _0x3249ae['id']==_0x3b5d5d[_0x1cd3('0x21a1')]['id'];});_0x3b5d5d[_0x1cd3('0x38c')][_0x1d212c][_0x1cd3('0x21b0')]=_0x24f5b8;_0x26646d();}function _0x26646d(){return _0x3b5d5d[_0x1cd3('0x11c6')]=_[_0x1cd3('0x38d')](_0x3b5d5d[_0x1cd3('0x38c')],[_0x1cd3('0x21b0'),!![]]);}function _0x16ccae(){var _0x493409={};if(_0x3b5d5d[_0x1cd3('0x21a1')]['reportType']==='default'){_0x493409=_0x3b5d5d[_0x1cd3('0xe6e')][0x0]?angular['fromJson'](_0x3b5d5d[_0x1cd3('0xe6e')][0x0][_0x1cd3('0xe7c')]):[];}else{_0x493409=_0x3b5d5d[_0x1cd3('0xe6e')][0x1]?angular[_0x1cd3('0x4ec')](_0x3b5d5d[_0x1cd3('0xe6e')][0x1][_0x1cd3('0xe7c')]):[];}return _0x493409;}function _0x2d4b6c(){return _0x13520d(function(_0x795376,_0x43e97e){_0x2ecbe3[_0x1cd3('0xe9e')]['get']({})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x5d856a){_0x3b5d5d[_0x1cd3('0xe6e')]=_0x5d856a[_0x1cd3('0xf6')]||[];_0x795376(_0x3b5d5d[_0x1cd3('0xe6e')]);})[_0x1cd3('0xfd')](function(_0xbdcc74){_0x43e97e(_0xbdcc74);});});}function _0x33cab9(_0x15c9bf){var _0x5a51cd=_0x3b5d5d[_0x1cd3('0x21ba')][0x0][_0x1cd3('0x401')];_0x5a51cd=_0xfe4177(_0x5a51cd,_0x15c9bf,_0x3b5d5d[_0x1cd3('0x21ba')][0x0]);return _0x5a51cd;}function _0xfe4177(_0x34e38c,_0x161166,_0x57c99d){if(_0x57c99d&&!_[_0x1cd3('0x398')](_0x57c99d['children'])){var _0x57c99d=_['find'](_0x57c99d[_0x1cd3('0x52b')],function(_0x293b56){return _['includes'](_0x161166,_0x293b56['id'])?_0x293b56:undefined;});_0x34e38c+=_0x57c99d?'/'+_0x57c99d['text']:'';}else{return _0x34e38c;}return _0xfe4177(_0x34e38c,_0x161166,_0x57c99d);}function _0x5e3821(_0x280d49){return _['filter'](_0x280d49,{'type':_0x3b5d5d[_0x1cd3('0x21a1')][_0x1cd3('0x219d')]===_0x1cd3('0x5bd')?_0x1cd3('0xe8c'):_0x1cd3('0xe8d')});}function _0x37be06(_0x197c35){return _[_0x1cd3('0x395')](_0x197c35,function(_0xdcbd25){return _[_0x1cd3('0x13d4')](_0xdcbd25[_0x1cd3('0x36c')],_0x3b5d5d[_0x1cd3('0x21a1')]['reportType']==='default'?'motion':_0x1cd3('0x8f6'));});}function _0x314bca(_0x1dbded){return _[_0x1cd3('0x383')](_0x1dbded,function(_0x32c89f){return _[_0x1cd3('0x13d4')](_0x32c89f[_0x1cd3('0x36c')],_0x3b5d5d[_0x1cd3('0x21a1')][_0x1cd3('0x219d')]===_0x1cd3('0x5bd')?_0x1cd3('0x25'):_0x1cd3('0x8f6'));});}function _0x5f16fc(){if(_[_0x1cd3('0x398')](_0x3b5d5d[_0x1cd3('0x21a1')][_0x1cd3('0x492')])){_0x3b5d5d[_0x1cd3('0x21b3')]=_[_0x1cd3('0x383')](_0x3b5d5d[_0x1cd3('0x21b3')],function(_0xfb7210){return _0xfb7210[_0x1cd3('0x424')]===(_0x3b5d5d['selectedSection']['reportType']===_0x1cd3('0x5bd')?'CustomReports':_0x1cd3('0xe8c'));});}else{_0x3b5d5d[_0x1cd3('0x21a1')][_0x1cd3('0x492')]['forEach'](function(_0x51e2c7){var _0x1facd3=_[_0x1cd3('0x38d')](_0x3b5d5d['allReportsSelected'],{'id':_0x51e2c7['id'],'parent':_0x51e2c7['parent']});if(!_0x1facd3){_0x3b5d5d[_0x1cd3('0x21b3')][_0x1cd3('0x7b')](_0x51e2c7);}});}}function _0x4febc7(_0x60f1aa,_0x34b88a){if(_0x60f1aa===_0x1cd3('0x21ae')){if(_0x34b88a[_0x1cd3('0x36c')]){var _0x4ad71c=_[_0x1cd3('0x13d4')](_0x34b88a[_0x1cd3('0x36c')],_0x1cd3('0x25'))?'Default':_0x1cd3('0x1cb6');return _0x4ad71c+_0x60f1aa;}else{return _0x34b88a['type'];}}return _0x60f1aa;}function _0x53043c(_0x1d6a9f){if(_0x3b5d5d[_0x1cd3('0x11c6')]){var _0x4f89f7=_0x4939aa[_0x1cd3('0xd39')]({'skipHide':!![]})[_0x1cd3('0x486')]('Warning')[_0x1cd3('0x678')](_0x2f2452[_0x1cd3('0x44a')](_0x1cd3('0x21bb')))['ariaLabel']('Warning')['targetEvent'](_0x1d6a9f)['ok'](_0x2f2452[_0x1cd3('0x44a')](_0x1cd3('0x21bc')))[_0x1cd3('0x4d8')](_0x2f2452[_0x1cd3('0x44a')](_0x1cd3('0x218d')));_0x4939aa[_0x1cd3('0x37e')](_0x4f89f7)[_0x1cd3('0x77')](function(){_0x4939aa[_0x1cd3('0x39d')]();});}else{_0x4939aa[_0x1cd3('0x39d')]();}}}}());(function(){'use strict';_0x1be81e[_0x1cd3('0xc')]=['$state',_0x1cd3('0xd24'),_0x1cd3('0x3c5'),_0x1cd3('0x372'),_0x1cd3('0x3f7'),'license',_0x1cd3('0xc49'),_0x1cd3('0x370'),_0x1cd3('0x461'),'Auth',_0x1cd3('0x38a'),'userProfileSection'];angular['module'](_0x1cd3('0x2b'))[_0x1cd3('0x39b')]('UserProfileController',_0x1be81e);function _0x1be81e(_0x57f5d0,_0x587a77,_0x5c0d2c,_0x3e8f1a,_0x32a602,_0x10632d,_0x51b246,_0x5d8eac,_0x54631a,_0x4e3a83,_0x817823,_0x4a79d2){var _0x3385dc=this;_0x3385dc[_0x1cd3('0x3ca')]=_0x4e3a83[_0x1cd3('0x5d')]();_0x3385dc[_0x1cd3('0x463')]=_0x10632d;_0x3385dc[_0x1cd3('0xc49')]=_0x51b246;_0x3385dc[_0x1cd3('0xd29')]=_0x3385dc['setting'][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x3385dc[_0x1cd3('0xd22')]=_0x587a77[_0x1cd3('0x3b0')]()+_0x1cd3('0x11cf')+_0x587a77[_0x1cd3('0x3ac')]();_0x3385dc['userProfile']=_0x817823||_0x57f5d0[_0x1cd3('0x36a')]['userProfile']||{};_0x3385dc['userProfileSection']=_0x4a79d2&&_0x4a79d2[_0x1cd3('0x466')]==0x1?_0x4a79d2[_0x1cd3('0xf6')][0x0]:null;_0x3385dc[_0x1cd3('0xd27')]=_0x4e3a83[_0x1cd3('0xd44')](_0x3385dc[_0x1cd3('0x390')]?_0x3385dc[_0x1cd3('0x390')]['crudPermissions']:null);_0x3385dc[_0x1cd3('0xd28')]={};_0x3385dc[_0x1cd3('0xe5f')]=_0x57f5d0['params']['tab']||0x0;_0x3385dc['permissionsmanagedialog']=_0x1d83d1;_0x3385dc[_0x1cd3('0x1c48')]=_0x4a46e9;_0x3385dc[_0x1cd3('0x11d0')]=_0x54631a['info'];_0x3385dc[_0x1cd3('0x21bd')]=_0x40ab96;_0x3385dc[_0x1cd3('0x21be')]=_0x1ea455;function _0x1d83d1(_0x7d58bd,_0x1d4d42){_0x5c0d2c['show']({'controller':_0x1cd3('0x2198'),'controllerAs':'vm','templateUrl':_0x1cd3('0x21bf'),'parent':angular[_0x1cd3('0x37f')](_0x3e8f1a['body']),'targetEvent':_0x1d4d42,'clickOutsideToClose':!![],'locals':{'userProfile':_0x7d58bd,'userProfiles':_0x3385dc[_0x1cd3('0x215f')]?_0x3385dc[_0x1cd3('0x215f')]['rows']:[],'crudPermissions':_0x3385dc['crudPermissions']}});}function _0x4a46e9(_0x2c405a,_0xb21450){_0x5c0d2c[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x216d'),'controllerAs':'vm','templateUrl':_0x1cd3('0x21c0'),'parent':angular['element'](_0x3e8f1a[_0x1cd3('0x380')]),'targetEvent':_0xb21450,'clickOutsideToClose':!![],'locals':{'userProfile':_0x2c405a,'userProfiles':_0x3385dc[_0x1cd3('0x215f')]?_0x3385dc['userProfiles'][_0x1cd3('0xf6')]:[],'crudPermissions':_0x3385dc['crudPermissions']}});}function _0x40ab96(){_0x57f5d0['go'](_0x1cd3('0x297'),{},{'reload':_0x1cd3('0x297')});}function _0x1ea455(){_0x5d8eac[_0x1cd3('0x38a')][_0x1cd3('0x378')]({'id':_0x3385dc['userProfile']['id']},_0x3385dc[_0x1cd3('0x38a')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x54631a[_0x1cd3('0x473')]({'title':_0x1cd3('0x21c1'),'msg':_0x3385dc['userProfile'][_0x1cd3('0x98')]?_0x3385dc['userProfile'][_0x1cd3('0x98')]+'\x20has\x20been\x20updated!':''});})['catch'](function(_0x4823e4){_0x54631a[_0x1cd3('0x434')]({'title':_0x4823e4[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x4823e4[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x4823e4[_0x1cd3('0xd35')]:_0x1cd3('0x21c2'),'msg':_0x4823e4[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x4823e4[_0x1cd3('0x439')]):_0x4823e4[_0x1cd3('0x43b')]()});});}}}());(function(){'use strict';_0xf64969[_0x1cd3('0xc')]=['$scope',_0x1cd3('0x371'),_0x1cd3('0x53e'),'$mdSidenav',_0x1cd3('0x3c5'),_0x1cd3('0x372'),'$timeout','$translate',_0x1cd3('0x215f'),_0x1cd3('0x38a'),_0x1cd3('0x390'),_0x1cd3('0x370'),_0x1cd3('0x2dd'),_0x1cd3('0x461'),_0x1cd3('0x56'),_0x1cd3('0x463'),_0x1cd3('0xc49')];angular[_0x1cd3('0x0')](_0x1cd3('0x2b'))[_0x1cd3('0x39b')](_0x1cd3('0x21c3'),_0xf64969);function _0xf64969(_0x551a3e,_0x1babc5,_0xc4e4a8,_0x502a63,_0x390a29,_0x1a8e75,_0x27d82c,_0x3db693,_0x38cb3f,_0x47f49e,_0x9dfd80,_0x1c768c,_0x1424fd,_0x4dcf8a,_0x3258cb,_0xf6cb3a,_0x5363ce){var _0x472465=this;_0x472465[_0x1cd3('0x463')]=_0xf6cb3a;_0x472465[_0x1cd3('0xc49')]=_0x5363ce;_0x472465[_0x1cd3('0x3ca')]=_0x3258cb[_0x1cd3('0x5d')]();_0x472465['userProfiles']=_0x38cb3f||{'count':0x0,'rows':[]};_0x472465['userProfile']=_0x47f49e;_0x472465[_0x1cd3('0x390')]=_0x9dfd80&&_0x9dfd80['count']==0x1?_0x9dfd80[_0x1cd3('0xf6')][0x0]:null;_0x472465['crudPermissions']=_0x3258cb[_0x1cd3('0xd44')](_0x472465[_0x1cd3('0x390')]?_0x472465['userProfileSection']['crudPermissions']:null);_0x472465[_0x1cd3('0xd45')]=_0x1cd3('0x215f');_0x472465['listOrder']='';_0x472465[_0x1cd3('0xd47')]=null;_0x472465['selectedUserProfiles']=[];_0x472465[_0x1cd3('0x3d4')]={'fields':_0x1cd3('0x29a'),'sort':'-updatedAt','limit':0xa,'page':0x1};_0x472465[_0x1cd3('0x21c4')]=_['keyBy']([{'option':_0x1cd3('0x21c5'),'value':_0x1cd3('0x21c6'),'disabled':!![]},{'option':_0x1cd3('0x21c7'),'value':_0x1cd3('0x21c8')},{'option':'Delete_permission','value':'\x27d\x27'}],function(_0x46374e){return _[_0x1cd3('0x3f1')](_0x46374e[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});if(_0x472465['userProfiles']&&_0x472465[_0x1cd3('0x215f')][_0x1cd3('0x466')]>0x0){_0x472465[_0x1cd3('0x215f')][_0x1cd3('0xf6')][_0x1cd3('0x394')](function(_0x223d06){var _0x4746bb=[];_0x223d06[_0x1cd3('0xd27')][_0x1cd3('0x394')](function(_0x494639){_0x4746bb['push'](_0x472465[_0x1cd3('0x21c4')][_0x494639][_0x1cd3('0x21c9')]);});var _0x3b3bf9=[];_0x4746bb['forEach'](function(_0xa1b4bb){_0x3b3bf9['push'](_0x3db693[_0x1cd3('0x44a')]('STAFF.'+_0xa1b4bb[_0x1cd3('0x437')]()));});_0x223d06[_0x1cd3('0x216c')]=_0x3b3bf9['join'](',\x20');});}_0x472465[_0x1cd3('0x1171')]=_0x4969df;_0x472465[_0x1cd3('0x1c48')]=_0x5e12a7;_0x472465['deleteconfirm']=_0x555c9c;_0x472465['success']=_0x3d95d9;_0x472465['getUserProfiles']=_0x39221e;_0x472465[_0x1cd3('0x21ca')]=_0xa427c6;_0x472465['deleteUserProfile']=_0x2c677f;_0x472465[_0x1cd3('0x21cb')]=_0x57b5dd;_0x472465[_0x1cd3('0x21cc')]=_0x3e0289;_0x472465['deselectUserProfiles']=_0x5bc608;_0x472465[_0x1cd3('0x21cd')]=_0x32be04;function _0x4969df(_0x307fcd,_0x5cf111){_0xc4e4a8['go'](_0x1cd3('0x21ce'),{'id':_0x307fcd['id'],'userProfile':_0x307fcd,'crudPermissions':_0x472465[_0x1cd3('0xd27')]});}function _0x5e12a7(_0x1c398a,_0x94784d){_0x390a29[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x216d'),'controllerAs':'vm','templateUrl':_0x1cd3('0x21c0'),'parent':angular[_0x1cd3('0x37f')](_0x1a8e75['body']),'targetEvent':_0x94784d,'clickOutsideToClose':!![],'locals':{'userProfile':_0x1c398a,'userProfiles':_0x472465[_0x1cd3('0x215f')]?_0x472465[_0x1cd3('0x215f')][_0x1cd3('0xf6')]:[],'crudPermissions':_0x472465['crudPermissions']}});}function _0x555c9c(_0x98955c,_0x421ff1){var _0x17b560=_0x390a29['confirm']()[_0x1cd3('0x486')](_0x1cd3('0xd4f')+_[_0x1cd3('0xd50')](_0x1cd3('0x38a'))+'?')[_0x1cd3('0xd60')](_0x1cd3('0xd51')+(_0x98955c[_0x1cd3('0x98')]||_0x1cd3('0x38a'))+_0x1cd3('0xd52')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x21cf'))[_0x1cd3('0xd63')](_0x421ff1)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x390a29[_0x1cd3('0x37e')](_0x17b560)[_0x1cd3('0x77')](function(){_0x2c677f(_0x98955c);},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}var _0x194eed=!![];var _0x3a50a6=0x1;_0x551a3e[_0x1cd3('0x4d6')](_0x1cd3('0xd56'),function(_0xe96119,_0x1d1eed){if(_0x194eed){_0x27d82c(function(){_0x194eed=![];});}else{if(!_0x1d1eed){_0x3a50a6=_0x472465[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0xe96119!==_0x1d1eed){_0x472465[_0x1cd3('0x3d4')]['page']=0x1;}if(!_0xe96119){_0x472465[_0x1cd3('0x3d4')]['page']=_0x3a50a6;}_0x472465[_0x1cd3('0x21d0')]();}});function _0x3d95d9(_0x1e8e5e){_0x472465['userProfiles']=_0x1e8e5e||{'count':0x0,'rows':[]};}function _0x39221e(){_0x472465[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0x472465['query'][_0x1cd3('0x8fd')]-0x1)*_0x472465[_0x1cd3('0x3d4')]['limit'];if(_0x3258cb['hasRole'](_0x1cd3('0x5f'))){_0x472465[_0x1cd3('0x539')]=_0x1c768c['userProfile'][_0x1cd3('0x361')](_0x472465['query'],_0x3d95d9)[_0x1cd3('0x81')];}else{_0x472465['query']['id']=_0x472465['userProfile']['id'];_0x472465[_0x1cd3('0x3d4')][_0x1cd3('0xd58')]=_0x1cd3('0x21d1');_0x472465[_0x1cd3('0x539')]=_0x1c768c[_0x1cd3('0x38a')][_0x1cd3('0xd59')](_0x472465['query'],_0x3d95d9)[_0x1cd3('0x81')];}}function _0xa427c6(_0x1c66ff,_0x169929){_0x390a29[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x2160'),'controllerAs':'vm','templateUrl':'app/main/apps/staff/views/userProfiles/create/dialog.html','parent':angular[_0x1cd3('0x37f')](_0x1a8e75[_0x1cd3('0x380')]),'targetEvent':_0x1c66ff,'clickOutsideToClose':!![],'locals':{'userProfile':_0x169929,'userProfiles':_0x472465['userProfiles']['rows'],'license':_0x472465['license'],'setting':_0x472465[_0x1cd3('0xc49')],'crudPermissions':_0x472465['crudPermissions']}});}function _0x2c677f(_0x1adc7b){_0x1c768c[_0x1cd3('0x38a')][_0x1cd3('0xa1c')]({'id':_0x1adc7b['id']})['$promise']['then'](function(){_[_0x1cd3('0x383')](_0x472465[_0x1cd3('0x215f')][_0x1cd3('0xf6')],{'id':_0x1adc7b['id']});_0x472465[_0x1cd3('0x215f')]['count']-=0x1;if(!_0x472465[_0x1cd3('0x215f')][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){_0x472465['getUserProfiles']();}_0x4dcf8a[_0x1cd3('0x473')]({'title':_['startCase'](_0x1cd3('0x21d2'))+_0x1cd3('0xd5c'),'msg':_0x1adc7b[_0x1cd3('0x98')]?_0x1adc7b[_0x1cd3('0x98')]+'\x20has\x20been\x20deleted!':''});})['catch'](function(_0x3886cc){if(_0x3886cc['data']&&_0x3886cc['data']['errors']&&_0x3886cc[_0x1cd3('0x439')]['errors']['length']){_0x472465[_0x1cd3('0xd34')]=_0x3886cc['data'][_0x1cd3('0xd34')]||[{'message':_0x3886cc[_0x1cd3('0x43b')](),'type':_0x1cd3('0x21d3')}];for(var _0x1832b6=0x0;_0x1832b6<_0x3886cc[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length'];_0x1832b6++){_0x4dcf8a[_0x1cd3('0x434')]({'title':_0x3886cc[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1832b6][_0x1cd3('0x424')],'msg':_0x3886cc[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1832b6]['message']});}}else{_0x4dcf8a[_0x1cd3('0x434')]({'title':_0x3886cc[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x3886cc['status']+_0x1cd3('0x436')+_0x3886cc['statusText']:'SYSTEM:DELETEuserProfile','msg':_0x3886cc[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x3886cc[_0x1cd3('0x439')]['message']):_0x3886cc[_0x1cd3('0x43a')]||_0x3886cc[_0x1cd3('0x43b')]()});}});}function _0x57b5dd(){var _0x1673a9=angular['copy'](_0x472465[_0x1cd3('0x21d4')]);_0x472465[_0x1cd3('0x21d4')]=[];return _0x1673a9;}function _0x3e0289(_0x192fc8){var _0x36337f=_0x390a29[_0x1cd3('0xd39')]()['title'](_0x1cd3('0x21d5'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x472465[_0x1cd3('0x21d4')][_0x1cd3('0x7a')]+_0x1cd3('0xd61')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x21d6'))[_0x1cd3('0xd63')](_0x192fc8)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x390a29[_0x1cd3('0x37e')](_0x36337f)[_0x1cd3('0x77')](function(){_0x472465[_0x1cd3('0x21d4')][_0x1cd3('0x394')](function(_0x12662f){_0x2c677f(_0x12662f);});_0x472465[_0x1cd3('0x21d4')]=[];});}function _0x5bc608(){_0x472465[_0x1cd3('0x21d4')]=[];}function _0x32be04(){_0x472465[_0x1cd3('0x21d4')]=_0x472465[_0x1cd3('0x215f')][_0x1cd3('0xf6')];}}}());(function(){'use strict';_0xc4789f[_0x1cd3('0xc')]=['$scope',_0x1cd3('0x53e'),_0x1cd3('0xd24'),'$mdDialog','$q','$translate',_0x1cd3('0x461'),'users','user',_0x1cd3('0x370'),_0x1cd3('0x56'),'license','setting',_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x2b'))[_0x1cd3('0x39b')]('CreateOrEditUserDialogController',_0xc4789f);function _0xc4789f(_0x825721,_0x488540,_0x2a51fd,_0x531698,_0x3213a3,_0x553ea1,_0x7485fd,_0x38fe16,_0x341895,_0x24657a,_0x2e8f19,_0x1151ad,_0x1eec6f,_0x1f49ee){var _0x5841da=this;_0x5841da[_0x1cd3('0x3ca')]=_0x2e8f19[_0x1cd3('0x5d')]();_0x5841da[_0x1cd3('0xd34')]=[];_0x5841da[_0x1cd3('0xc49')]=_0x1eec6f;_0x5841da[_0x1cd3('0x463')]=_0x1151ad;_0x5841da[_0x1cd3('0xd27')]=_0x1f49ee;_0x5841da[_0x1cd3('0xd28')]={};_0x5841da['passwordPattern']=_0x5841da[_0x1cd3('0xc49')]&&_0x5841da[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x5841da[_0x1cd3('0x486')]=_0x1cd3('0x21d7');_0x5841da['user']=angular[_0x1cd3('0x429')](_0x341895);_0x5841da[_0x1cd3('0xef4')]=_0x38fe16;_0x5841da[_0x1cd3('0x21d8')]=![];if(!_0x5841da[_0x1cd3('0x368')]){_0x5841da['user']={'role':_0x1cd3('0x368'),'autointernal':!![],'context':_0x1cd3('0x213e')};_0x5841da[_0x1cd3('0x486')]=_0x1cd3('0x21d9');_0x5841da[_0x1cd3('0x21d8')]=!![];}_0x5841da[_0x1cd3('0x21da')]=_0x3ca1f7;_0x5841da['saveUser']=_0x240f9a;_0x5841da[_0x1cd3('0x21db')]=_0x211388;_0x5841da[_0x1cd3('0xd31')]=_0x42a4cb;_0x5841da[_0x1cd3('0x39c')]=_0x59ace9;_0x24657a[_0x1cd3('0x38a')][_0x1cd3('0x361')]({'fields':'id,name','sort':_0x1cd3('0x98')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x25a917){_0x5841da[_0x1cd3('0x215f')]=_0x25a917['rows']||[];})[_0x1cd3('0xfd')](function(_0x5a6455){_0x7485fd['error']({'title':_0x5a6455[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x5a6455['status']+_0x1cd3('0x436')+_0x5a6455[_0x1cd3('0xd35')]:_0x1cd3('0x21dc'),'msg':_0x5a6455[_0x1cd3('0x439')]?JSON['stringify'](_0x5a6455[_0x1cd3('0x439')]):_0x5a6455[_0x1cd3('0x43b')]()});});function _0x3ca1f7(){_0x5841da[_0x1cd3('0xd34')]=[];_0x24657a[_0x1cd3('0x368')][_0x1cd3('0xd6d')](_0x5841da[_0x1cd3('0x368')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x4e6a2d){_0x5841da[_0x1cd3('0xef4')][_0x1cd3('0x621')](_0x4e6a2d[_0x1cd3('0xd32')]());_0x7485fd[_0x1cd3('0x473')]({'title':'User\x20properly\x20created','msg':_0x5841da[_0x1cd3('0x368')][_0x1cd3('0x98')]?_0x5841da[_0x1cd3('0x368')][_0x1cd3('0x98')]+'\x20has\x20been\x20created!':''});_0x59ace9(_0x4e6a2d);})[_0x1cd3('0xfd')](function(_0x5c7ef5){if(_0x5c7ef5[_0x1cd3('0x439')]&&_0x5c7ef5[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x5c7ef5[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x5841da[_0x1cd3('0xd34')]=_0x5c7ef5[_0x1cd3('0x439')]['errors']||[{'message':_0x5c7ef5[_0x1cd3('0x43b')](),'type':_0x1cd3('0x145c')}];for(var _0x247333=0x0;_0x247333<_0x5c7ef5[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0x247333+=0x1){_0x7485fd[_0x1cd3('0x434')]({'title':_0x5c7ef5[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x247333][_0x1cd3('0x424')],'msg':_0x5c7ef5['data']['errors'][_0x247333][_0x1cd3('0x43a')]});}}else{_0x7485fd['error']({'title':_0x5c7ef5['status']?_0x1cd3('0x435')+_0x5c7ef5['status']+_0x1cd3('0x436')+_0x5c7ef5['statusText']:'api.user.save','msg':_0x5c7ef5[_0x1cd3('0x439')]?JSON['stringify'](_0x5c7ef5['data']['message']):_0x5c7ef5['toString']()});}});}function _0x240f9a(){_0x5841da[_0x1cd3('0xd34')]=[];_0x24657a[_0x1cd3('0x368')]['update']({'id':_0x5841da['user']['id']},_0x5841da[_0x1cd3('0x368')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0xa3284d){var _0x148ff0=_['find'](_0x5841da['users'],{'id':_0xa3284d['id']});if(_0x148ff0){_[_0x1cd3('0xf2')](_0x148ff0,_[_0x1cd3('0x5e8')](_0xa3284d[_0x1cd3('0xd32')](),_[_0x1cd3('0x80')](_0x148ff0)));}_0x7485fd['success']({'title':_0x1cd3('0x21dd'),'msg':_0x5841da[_0x1cd3('0x368')][_0x1cd3('0x98')]?_0x5841da[_0x1cd3('0x368')][_0x1cd3('0x98')]+_0x1cd3('0xd37'):''});_0x59ace9(_0xa3284d);})[_0x1cd3('0xfd')](function(_0x582247){if(_0x582247[_0x1cd3('0x439')]&&_0x582247[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x582247[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x5841da[_0x1cd3('0xd34')]=_0x582247[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x582247[_0x1cd3('0x43b')](),'type':'api.user.update'}];for(var _0x359a99=0x0;_0x359a99<_0x582247[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length'];_0x359a99++){_0x7485fd[_0x1cd3('0x434')]({'title':_0x582247[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x359a99][_0x1cd3('0x424')],'msg':_0x582247[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x359a99]['message']});}}else{_0x7485fd[_0x1cd3('0x434')]({'title':_0x582247['status']?'API:'+_0x582247[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x582247[_0x1cd3('0xd35')]:_0x1cd3('0x13d7'),'msg':_0x582247[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x582247['data']['message']):_0x582247['toString']()});}});}function _0x211388(_0x50fb68){var _0x1c8b1e=_0x2e8f19[_0x1cd3('0x5d')]();if(_0x1c8b1e['id']===_0x5841da['user']['id']){return _0x7485fd['error']({'title':_0x1cd3('0x21de'),'msg':_0x1cd3('0x21df')});}_0x5841da[_0x1cd3('0xd34')]=[];var _0x217d8b=_0x531698[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xd3a'))['content']('The\x20user\x20will\x20be\x20deleted.')[_0x1cd3('0xd3d')]('Delete\x20User')['ok'](_0x1cd3('0xd3f'))[_0x1cd3('0x4d8')]('Cancel')[_0x1cd3('0xd63')](_0x50fb68);_0x531698['show'](_0x217d8b)[_0x1cd3('0x77')](function(){_0x24657a[_0x1cd3('0x368')][_0x1cd3('0xa1c')]({'id':_0x5841da['user']['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_['remove'](_0x5841da['users'],{'id':_0x5841da[_0x1cd3('0x368')]['id']});_0x7485fd[_0x1cd3('0x473')]({'title':_0x1cd3('0x21e0'),'msg':(_0x5841da[_0x1cd3('0x368')]['name']||_0x1cd3('0x368'))+'\x20has\x20been\x20deleted!'});_0x59ace9(_0x5841da[_0x1cd3('0x368')]);})[_0x1cd3('0xfd')](function(_0xabd907){if(_0xabd907['data']&&_0xabd907[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0xabd907[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')]){_0x5841da['errors']=_0xabd907['data']['errors']||[{'message':_0xabd907[_0x1cd3('0x43b')](),'type':_0x1cd3('0x20fa')}];for(var _0x5e242d=0x0;_0x5e242d<_0xabd907[_0x1cd3('0x439')]['errors']['length'];_0x5e242d++){_0x7485fd[_0x1cd3('0x434')]({'title':_0xabd907[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x5e242d]['type'],'msg':_0xabd907[_0x1cd3('0x439')]['errors'][_0x5e242d][_0x1cd3('0x43a')]});}}else{_0x7485fd[_0x1cd3('0x434')]({'title':_0xabd907['status']?_0x1cd3('0x435')+_0xabd907[_0x1cd3('0x3a6')]+'\x20-\x20'+_0xabd907['statusText']:'api.user.delete','msg':_0xabd907[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0xabd907[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0xabd907[_0x1cd3('0x43a')]||_0xabd907['toString']()});}});},function(){});}function _0x42a4cb(_0x5c726d){return _0x5c726d===null?undefined:new Date(_0x5c726d);}function _0x59ace9(_0x2e5e82){_0x531698[_0x1cd3('0x39d')](_0x2e5e82);}}}());(function(){'use strict';_0x2abca2[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),'toasty','api','user',_0x1cd3('0x56')];angular['module'](_0x1cd3('0x2b'))[_0x1cd3('0x39b')]('UserapikeymanagerController',_0x2abca2);function _0x2abca2(_0x43a770,_0x3698b4,_0x291f6c,_0xa81bbe,_0x1e64cc){var _0x202f36=this;_0x202f36[_0x1cd3('0x3ca')]=_0x1e64cc[_0x1cd3('0x5d')]();_0x202f36[_0x1cd3('0xd34')]=[];_0x202f36[_0x1cd3('0x368')]=_0xa81bbe;_0x202f36[_0x1cd3('0x21e1')]=_0x1b83f8;_0x202f36[_0x1cd3('0x21e2')]=_0x4f931c;_0x202f36[_0x1cd3('0x39c')]=_0x32adcc;function _0x1b83f8(){_0x202f36[_0x1cd3('0xd34')]=[];_0x291f6c[_0x1cd3('0x368')][_0x1cd3('0x21e3')]({'id':_0x202f36['user']['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x1365a1){_0x202f36['user'][_0x1cd3('0xf18')]=_0x1365a1['api_key']||'N/A';_0x3698b4['success']({'title':_0x1cd3('0x21e4')});_0x32adcc();})[_0x1cd3('0xfd')](function(_0x17a533){_0x3698b4['error']({'title':_0x17a533[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x17a533['status']+'\x20-\x20'+_0x17a533['statusText']:_0x1cd3('0x21e5'),'msg':_0x17a533[_0x1cd3('0x439')]?JSON['stringify'](_0x17a533[_0x1cd3('0x439')]['message']):_0x17a533[_0x1cd3('0x43b')]()});_0x202f36[_0x1cd3('0xd34')]=_0x17a533[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x17a533[_0x1cd3('0x43b')](),'type':'api.user.createApiKey'}];});}function _0x4f931c(){_0x202f36[_0x1cd3('0xd34')]=[];_0x291f6c[_0x1cd3('0x368')][_0x1cd3('0x21e2')]({'id':_0x202f36[_0x1cd3('0x368')]['id']})[_0x1cd3('0x81')]['then'](function(){_0x202f36[_0x1cd3('0x368')]['apiKey']='N/A';_0x3698b4['success']({'title':_0x1cd3('0x21e6')});_0x32adcc();})[_0x1cd3('0xfd')](function(_0x3f6604){_0x3698b4[_0x1cd3('0x434')]({'title':_0x3f6604[_0x1cd3('0x3a6')]?'API:'+_0x3f6604[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x3f6604[_0x1cd3('0xd35')]:_0x1cd3('0x21e7'),'msg':_0x3f6604['data']?JSON[_0x1cd3('0x438')](_0x3f6604[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x3f6604[_0x1cd3('0x43b')]()});_0x202f36[_0x1cd3('0xd34')]=_0x3f6604[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x3f6604[_0x1cd3('0x43b')](),'type':'api.user.removeApiKey'}];});}function _0x32adcc(){_0x43a770['hide']();}}}());(function(){'use strict';_0x54484c[_0x1cd3('0xc')]=[_0x1cd3('0x36f'),'toasty'];angular[_0x1cd3('0x0')](_0x1cd3('0x2b'))[_0x1cd3('0x39b')](_0x1cd3('0x21e8'),_0x54484c);function _0x54484c(_0x14427b,_0x39f31e){var _0x13d3b7=this;var _0x20acb5=0x8;var _0x17fdd0=_0x20acb5*0x400*0x400;_0x13d3b7['user']={};_0x13d3b7[_0x1cd3('0xd27')];_0x13d3b7[_0x1cd3('0x126a')]={'singleFile':!![],'maxChunkRetries':0x1,'chunkSize':_0x17fdd0,'simultaneousUploads':0x1,'testChunks':![],'progressCallbacksInterval':0x3e8,'allowDuplicateUploads':!![]};_0x13d3b7['ngFlow']={'flow':{}};_0x13d3b7[_0x1cd3('0x126c')]=![];_0x13d3b7[_0x1cd3('0x113a')]=_0x2e7677;_0x13d3b7[_0x1cd3('0x126d')]=_0x1fb787;_0x13d3b7['fileSuccess']=_0xa2f49a;_0x13d3b7[_0x1cd3('0xe08')]=_0x233fa8;function _0x233fa8(_0x73369e,_0x2b1756){_0x13d3b7['user']=angular[_0x1cd3('0x429')](_0x73369e);_0x13d3b7[_0x1cd3('0xd27')]=typeof _0x2b1756!==_0x1cd3('0x491')?_0x2b1756:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x13d3b7[_0x1cd3('0x126a')][_0x1cd3('0x365')]='api/users/'+_0x13d3b7[_0x1cd3('0x368')]['id']+_0x1cd3('0x20fd');_0x13d3b7[_0x1cd3('0x368')][_0x1cd3('0x1271')]=[];}function _0x2e7677(_0x4dd96e){var _0x5e7682=['png','jpg'];if(!_['includes'](_0x5e7682,_0x4dd96e[_0x1cd3('0x113c')]())){_0x39f31e[_0x1cd3('0x434')]({'title':_0x1cd3('0x1274')+_0x4dd96e['getExtension'](),'msg':_0x1cd3('0x1275')+_0x5e7682['join']()});return![];}if(_0x4dd96e[_0x1cd3('0x113e')]>_0x17fdd0){_0x39f31e['error']({'title':_0x1cd3('0x1276'),'msg':_0x1cd3('0x1277')+_0x20acb5+'MB'});return![];}var _0x5485c1={'id':_0x4dd96e[_0x1cd3('0x1278')],'file':_0x4dd96e,'type':_0x1cd3('0x1279')};_0x13d3b7[_0x1cd3('0x368')][_0x1cd3('0x1271')][_0x1cd3('0x621')](_0x5485c1);return!![];}function _0x1fb787(){_0x13d3b7[_0x1cd3('0x126b')][_0x1cd3('0x46')][_0x1cd3('0x130a')][_0x1cd3('0x3a2')]={'X-Requested-With':'XMLHttpRequest','Authorization':_0x1cd3('0x3a5')+_0x14427b[_0x1cd3('0x361')]('motion.token')};_0x13d3b7['ngFlow'][_0x1cd3('0x46')][_0x1cd3('0x126d')]();}function _0xa2f49a(_0x488020,_0x30e7b9){angular[_0x1cd3('0x394')](_0x13d3b7[_0x1cd3('0x368')][_0x1cd3('0x1271')],function(_0x2ef846,_0x2338ac){if(_0x2ef846['id']===_0x488020['uniqueIdentifier']){var _0x33f651=new FileReader();_0x33f651['readAsDataURL'](_0x2ef846[_0x1cd3('0xe96')][_0x1cd3('0xe96')]);_0x33f651[_0x1cd3('0xe8f')]=function(_0x13ab9){_0x2ef846['url']=_0x13ab9[_0x1cd3('0x365')][_0x1cd3('0xe90')];};_0x2ef846[_0x1cd3('0x424')]=_0x1cd3('0x127a');}});}}}());(function(){'use strict';_0x1e36dc[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x3c5'),_0x1cd3('0x461'),_0x1cd3('0x370'),_0x1cd3('0x368'),_0x1cd3('0xc49'),'Auth'];angular['module'](_0x1cd3('0x2b'))[_0x1cd3('0x39b')]('UserchangepasswordController',_0x1e36dc);function _0x1e36dc(_0x1fc583,_0x3748d7,_0x4be455,_0x44d7db,_0x26d6c0,_0x4000b6,_0x59fe6b){var _0x19075d=this;_0x19075d[_0x1cd3('0x3ca')]=_0x59fe6b[_0x1cd3('0x5d')]();_0x19075d[_0x1cd3('0xd34')]=[];_0x19075d[_0x1cd3('0xc49')]=_0x4000b6;_0x19075d[_0x1cd3('0xd29')]=_0x19075d[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x19075d[_0x1cd3('0x368')]=_0x26d6c0;_0x19075d['password']='';_0x19075d[_0x1cd3('0x20ff')]='';_0x19075d['savePassword']=_0x3c4f1d;_0x19075d['closeDialog']=_0x27f33b;_0x1fc583['$watch']('vm.password',function(_0x458e4a,_0x1085a6){if(!_[_0x1cd3('0x472')](_0x19075d['oldPassword'])){if(_0x458e4a===_0x19075d['oldPassword']){_0x1fc583[_0x1cd3('0x21e9')]['password'][_0x1cd3('0x2102')]('oldPasswordMatch',![]);}else{_0x1fc583[_0x1cd3('0x21e9')][_0x1cd3('0x5ae')][_0x1cd3('0x2102')](_0x1cd3('0x2103'),!![]);}}});function _0x3c4f1d(){_0x19075d[_0x1cd3('0xd34')]=[];var _0x45afb2={'id':_0x19075d[_0x1cd3('0x368')]['id'],'newPassword':_0x19075d[_0x1cd3('0x5ae')]};if(_0x19075d[_0x1cd3('0x3ca')]['id']==_0x19075d[_0x1cd3('0x368')]['id']){_0x45afb2[_0x1cd3('0x20ff')]=_0x19075d[_0x1cd3('0x20ff')];}_0x44d7db[_0x1cd3('0x368')][_0x1cd3('0x2104')](_0x45afb2)[_0x1cd3('0x81')]['then'](function(){_0x4be455[_0x1cd3('0x473')]({'title':_0x1cd3('0x21ea')});_0x27f33b();})['catch'](function(_0x4156b7){_0x4be455[_0x1cd3('0x434')]({'title':_0x4156b7[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x4156b7[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x4156b7[_0x1cd3('0xd35')]:_0x1cd3('0x145c'),'msg':_0x4156b7[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x4156b7['data']['message']):_0x4156b7[_0x1cd3('0x43b')]()});_0x19075d[_0x1cd3('0xd34')]=_0x4156b7[_0x1cd3('0x439')]['errors']||[{'message':_0x4156b7[_0x1cd3('0x43b')](),'type':_0x1cd3('0x21eb')}];});}function _0x27f33b(){_0x3748d7[_0x1cd3('0x39d')]();}}}());(function(){'use strict';_0x271adc[_0x1cd3('0xc')]=[_0x1cd3('0x53e'),'$location',_0x1cd3('0x3c5'),_0x1cd3('0x372'),_0x1cd3('0x3f7'),_0x1cd3('0x463'),_0x1cd3('0xc49'),'api',_0x1cd3('0x461'),_0x1cd3('0x56'),_0x1cd3('0x368'),_0x1cd3('0x390')];angular[_0x1cd3('0x0')]('app.staff')['controller'](_0x1cd3('0x21ec'),_0x271adc);function _0x271adc(_0x5d7b3e,_0x37fc88,_0x907698,_0x4743dd,_0x4d68c5,_0x5b242f,_0x281f9d,_0x16c02f,_0x23392b,_0x4b5573,_0x1ec13e,_0x20b21e){var _0xa88180=this;_0xa88180['currentUser']=_0x4b5573[_0x1cd3('0x5d')]();_0xa88180[_0x1cd3('0x463')]=_0x5b242f;_0xa88180[_0x1cd3('0xc49')]=_0x281f9d;_0xa88180[_0x1cd3('0xd29')]=_0xa88180[_0x1cd3('0xc49')]['securePassword']?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0xa88180[_0x1cd3('0xd22')]=_0x37fc88[_0x1cd3('0x3b0')]()+'://'+_0x37fc88[_0x1cd3('0x3ac')]();_0xa88180[_0x1cd3('0x368')]=_0x1ec13e||_0x5d7b3e[_0x1cd3('0x36a')][_0x1cd3('0x368')]||{};_0xa88180[_0x1cd3('0x390')]=_0x20b21e&&_0x20b21e[_0x1cd3('0x466')]==0x1?_0x20b21e[_0x1cd3('0xf6')][0x0]:null;_0xa88180[_0x1cd3('0xd27')]=_0x4b5573[_0x1cd3('0xd44')](_0xa88180['userProfileSection']?_0xa88180[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);_0xa88180[_0x1cd3('0xd28')]={};_0xa88180[_0x1cd3('0xe5f')]=_0x5d7b3e[_0x1cd3('0x36a')][_0x1cd3('0x1418')]||0x0;_0xa88180[_0x1cd3('0x21ed')]=_0x5ac181;_0xa88180[_0x1cd3('0x2117')]=_0x2c540a;_0xa88180[_0x1cd3('0x11d0')]=_0x23392b['info'];_0xa88180[_0x1cd3('0x21ee')]=_0x333e5c;_0xa88180[_0x1cd3('0x21ef')]=_0x53fbbf;_0x16c02f[_0x1cd3('0xa3e')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98')})[_0x1cd3('0x81')]['then'](function(_0x5cf12b){_0xa88180[_0x1cd3('0x2119')]=_0x5cf12b[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x405a71){_0x23392b['error']({'title':_0x405a71['status']?_0x1cd3('0x435')+_0x405a71[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x405a71[_0x1cd3('0xd35')]:_0x1cd3('0x211a'),'msg':_0x405a71[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x405a71[_0x1cd3('0x439')]):_0x405a71['toString']()});});_0x16c02f['userProfile'][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98')})[_0x1cd3('0x81')]['then'](function(_0xebc95c){_0xa88180[_0x1cd3('0x215f')]=_0xebc95c[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0xd2f3df){_0x23392b[_0x1cd3('0x434')]({'title':_0xd2f3df[_0x1cd3('0x3a6')]?'API:'+_0xd2f3df[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0xd2f3df['statusText']:_0x1cd3('0x21dc'),'msg':_0xd2f3df['data']?JSON['stringify'](_0xd2f3df[_0x1cd3('0x439')]):_0xd2f3df[_0x1cd3('0x43b')]()});});_0x16c02f['user']['getApiKey']({'id':_0xa88180[_0x1cd3('0x368')]['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x4653f){_0xa88180[_0x1cd3('0x368')]['apiKey']=_0x4653f[_0x1cd3('0x21f0')]?_0x4653f[_0x1cd3('0x21f0')]:_0x1cd3('0x21f1');})[_0x1cd3('0xfd')](function(_0x11984c){_0x23392b['error']({'title':_0x11984c[_0x1cd3('0x3a6')]?'API:'+_0x11984c[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x11984c[_0x1cd3('0xd35')]:_0x1cd3('0x21f2'),'msg':_0x11984c[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x11984c[_0x1cd3('0x439')]):_0x11984c[_0x1cd3('0x43b')]()});});function _0x5ac181(_0x51560d,_0x457247){_0x907698['show']({'controller':_0x1cd3('0x21f3'),'controllerAs':'vm','templateUrl':_0x1cd3('0x21f4'),'parent':angular[_0x1cd3('0x37f')](_0x4743dd[_0x1cd3('0x380')]),'targetEvent':_0x457247,'clickOutsideToClose':!![],'locals':{'user':_0x51560d,'users':_0xa88180[_0x1cd3('0xef4')]?_0xa88180[_0x1cd3('0xef4')][_0x1cd3('0xf6')]:[],'crudPermissions':_0xa88180[_0x1cd3('0xd27')]}});}function _0x2c540a(_0x241949,_0x373250){_0x907698[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x21f5'),'controllerAs':'vm','templateUrl':'app/main/apps/staff/views/users/edit/changepassword/changepassword.html','parent':angular[_0x1cd3('0x37f')](_0x4743dd[_0x1cd3('0x380')]),'targetEvent':_0x373250,'clickOutsideToClose':!![],'locals':{'user':_0x241949,'setting':_0x281f9d,'users':_0xa88180[_0x1cd3('0xef4')]?_0xa88180['users'][_0x1cd3('0xf6')]:[],'crudPermissions':_0xa88180[_0x1cd3('0xd27')]}});}function _0x333e5c(){_0x5d7b3e['go'](_0x1cd3('0x27c'),{},{'reload':_0x1cd3('0x27c')});}function _0x53fbbf(){_0xa88180['user']=_[_0x1cd3('0x3e3')](_0xa88180[_0x1cd3('0x368')],_0x1cd3('0x1386'));_0x16c02f['user']['update']({'id':_0xa88180[_0x1cd3('0x368')]['id']},_0xa88180['user'])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x23392b['success']({'title':_0x1cd3('0x21f6'),'msg':_0xa88180[_0x1cd3('0x368')]['name']?_0xa88180[_0x1cd3('0x368')][_0x1cd3('0x98')]+_0x1cd3('0xe65'):''});})['catch'](function(_0x1017a4){_0x23392b[_0x1cd3('0x434')]({'title':_0x1017a4['status']?'API:'+_0x1017a4['status']+_0x1cd3('0x436')+_0x1017a4[_0x1cd3('0xd35')]:_0x1cd3('0x211d'),'msg':_0x1017a4[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x1017a4[_0x1cd3('0x439')]):_0x1017a4[_0x1cd3('0x43b')]()});});}}}());(function(){'use strict';_0x2efdf4[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x371'),'$state',_0x1cd3('0x969'),_0x1cd3('0x3c5'),_0x1cd3('0x372'),_0x1cd3('0x3e7'),_0x1cd3('0x3f7'),_0x1cd3('0xef4'),'userProfile',_0x1cd3('0x390'),_0x1cd3('0x370'),_0x1cd3('0x2dd'),'toasty',_0x1cd3('0x56'),_0x1cd3('0x463'),'setting'];angular[_0x1cd3('0x0')](_0x1cd3('0x2b'))[_0x1cd3('0x39b')](_0x1cd3('0x21f7'),_0x2efdf4);function _0x2efdf4(_0x27017e,_0x4d359e,_0x140302,_0x5d0840,_0x48da36,_0x193d91,_0x52d7e9,_0x419247,_0x2b0320,_0x1880a2,_0x5d0918,_0x4999a2,_0x23a0e9,_0x22df26,_0x3bcc2c,_0x2b8e10,_0x2ec53d){var _0x473f61=this;_0x473f61[_0x1cd3('0x463')]=_0x2b8e10;_0x473f61[_0x1cd3('0xc49')]=_0x2ec53d;_0x473f61[_0x1cd3('0x3ca')]=_0x3bcc2c[_0x1cd3('0x5d')]();_0x473f61[_0x1cd3('0xef4')]=_0x2b0320||{'count':0x0,'rows':[]};_0x473f61[_0x1cd3('0x38a')]=_0x1880a2;_0x473f61[_0x1cd3('0x390')]=_0x5d0918&&_0x5d0918[_0x1cd3('0x466')]==0x1?_0x5d0918[_0x1cd3('0xf6')][0x0]:null;_0x473f61[_0x1cd3('0xd27')]=_0x3bcc2c['parseCrudPermissions'](_0x473f61[_0x1cd3('0x390')]?_0x473f61[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);_0x473f61['table']='users';_0x473f61[_0x1cd3('0xd46')]='';_0x473f61[_0x1cd3('0xd47')]=null;_0x473f61[_0x1cd3('0x21f8')]=[];_0x473f61[_0x1cd3('0x3d4')]={'fields':_0x1cd3('0x27f'),'role':_0x1cd3('0x280'),'sort':_0x1cd3('0x5b'),'limit':0xa,'page':0x1};_0x473f61[_0x1cd3('0x21f9')]=_[_0x1cd3('0xe2d')]([{'option':_0x1cd3('0x21fa'),'value':_0x1cd3('0x21fb')},{'option':_0x1cd3('0x132a'),'value':_0x1cd3('0x21fc')}],function(_0x2ae554){return _[_0x1cd3('0x3f1')](_0x2ae554[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x473f61[_0x1cd3('0x2150')]=_[_0x1cd3('0xe2d')]([{'option':_0x1cd3('0x20c9'),'value':'\x27udp\x27'},{'option':_0x1cd3('0x20cb'),'value':_0x1cd3('0x20cc')},{'option':'ws','value':'\x27ws\x27'},{'option':_0x1cd3('0x20cf'),'value':_0x1cd3('0x20d0')},{'option':'tls','value':_0x1cd3('0x20d2')}],function(_0x5e6175){return _['replace'](_0x5e6175[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x473f61[_0x1cd3('0x2151')]=_[_0x1cd3('0xe2d')]([{'option':_0x1cd3('0x20d3'),'value':_0x1cd3('0x2152')},{'option':_0x1cd3('0x20d4'),'value':'\x27comedia\x27'},{'option':_0x1cd3('0xf2b'),'value':'\x27yes\x27'},{'option':'no','value':_0x1cd3('0x123c')},{'option':_0x1cd3('0x1de4'),'value':_0x1cd3('0x1d27')},{'option':_0x1cd3('0x42a'),'value':_0x1cd3('0x20d6')}],function(_0xe7aa60){return _[_0x1cd3('0x3f1')](_0xe7aa60[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x473f61[_0x1cd3('0x20da')]=_['keyBy']([{'option':_0x1cd3('0x20db'),'value':_0x1cd3('0x20dc')},{'option':_0x1cd3('0x20dd'),'value':'\x27alaw\x27'},{'option':_0x1cd3('0xf38'),'value':_0x1cd3('0x1e73')},{'option':_0x1cd3('0x2154'),'value':'\x27g722\x27'},{'option':_0x1cd3('0x20df'),'value':_0x1cd3('0x2155')},{'option':_0x1cd3('0x20e0'),'value':'\x27opus\x27'},{'option':_0x1cd3('0x2156'),'value':_0x1cd3('0x21fd')}],function(_0x1c4df6){return _[_0x1cd3('0x3f1')](_0x1c4df6[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x473f61[_0x1cd3('0x20e2')]=_['keyBy']([{'option':_0x1cd3('0xf2c'),'value':'\x27yes\x27'},{'option':'No','value':_0x1cd3('0x123c')},{'option':_0x1cd3('0x122e'),'value':_0x1cd3('0x1d22')}],function(_0x16f10c){return _[_0x1cd3('0x3f1')](_0x16f10c[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x473f61[_0x1cd3('0x1171')]=_0x24c553;_0x473f61['deleteconfirm']=_0x4830c2;_0x473f61[_0x1cd3('0x473')]=_0x3b5577;_0x473f61['getUsers']=_0x4efe2a;_0x473f61[_0x1cd3('0x21fe')]=_0x2abeb6;_0x473f61[_0x1cd3('0x21db')]=_0x16e551;_0x473f61[_0x1cd3('0x21ff')]=_0x4c81e7;_0x473f61[_0x1cd3('0x2200')]=_0x5f17bc;_0x473f61[_0x1cd3('0x2201')]=_0x59e344;_0x473f61['selectAllUsers']=_0x5578a1;_0x4999a2[_0x1cd3('0x38a')]['get']({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98')})[_0x1cd3('0x81')]['then'](function(_0xd831df){_0x473f61['userProfiles']=_0xd831df[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x4068a6){_0x22df26[_0x1cd3('0x434')]({'title':_0x4068a6[_0x1cd3('0x3a6')]?'API:'+_0x4068a6[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x4068a6[_0x1cd3('0xd35')]:_0x1cd3('0x21dc'),'msg':_0x4068a6[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x4068a6['data']):_0x4068a6[_0x1cd3('0x43b')]()});});function _0x24c553(_0x240fc8,_0x38984c){_0x140302['go'](_0x1cd3('0x282'),{'id':_0x240fc8['id'],'user':_0x240fc8,'crudPermissions':_0x473f61['crudPermissions']});}function _0x4830c2(_0x561985,_0x561645){var _0x2a2e18=_0x48da36[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xd4f')+_[_0x1cd3('0xd50')]('user')+'?')[_0x1cd3('0xd60')](_0x1cd3('0xd51')+(_0x561985['name']||_0x1cd3('0x368'))+'</b>'+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x2202'))[_0x1cd3('0xd63')](_0x561645)['ok']('OK')[_0x1cd3('0x4d8')]('CANCEL');_0x48da36[_0x1cd3('0x37e')](_0x2a2e18)['then'](function(){_0x16e551(_0x561985);},function(){console['log'](_0x1cd3('0xd55'));});}var _0x420efe=!![];var _0x59138e=0x1;_0x27017e[_0x1cd3('0x4d6')](_0x1cd3('0xd56'),function(_0xdfe36b,_0xd702ef){if(_0x420efe){_0x52d7e9(function(){_0x420efe=![];});}else{if(!_0xd702ef){_0x59138e=_0x473f61['query'][_0x1cd3('0x8fd')];}if(_0xdfe36b!==_0xd702ef){_0x473f61[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}if(!_0xdfe36b){_0x473f61['query'][_0x1cd3('0x8fd')]=_0x59138e;}_0x473f61[_0x1cd3('0xeec')]();}});function _0x3b5577(_0x95cada){_0x473f61[_0x1cd3('0xef4')]=_0x95cada||{'count':0x0,'rows':[]};}function _0x4efe2a(){_0x473f61['query'][_0x1cd3('0xd57')]=(_0x473f61[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0x473f61[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];if(_0x3bcc2c[_0x1cd3('0x57')](_0x1cd3('0x5f'))){_0x473f61[_0x1cd3('0x539')]=_0x4999a2[_0x1cd3('0x368')][_0x1cd3('0x361')](_0x473f61[_0x1cd3('0x3d4')],_0x3b5577)[_0x1cd3('0x81')];}else{_0x473f61[_0x1cd3('0x3d4')]['id']=_0x473f61['userProfile']['id'];_0x473f61[_0x1cd3('0x3d4')][_0x1cd3('0xd58')]=_0x1cd3('0xa0');_0x473f61[_0x1cd3('0x539')]=_0x4999a2[_0x1cd3('0x38a')][_0x1cd3('0xd59')](_0x473f61[_0x1cd3('0x3d4')],_0x3b5577)[_0x1cd3('0x81')];}}function _0x2abeb6(_0x4cb029,_0x988749){_0x48da36[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x2203'),'controllerAs':'vm','templateUrl':_0x1cd3('0x2204'),'parent':angular[_0x1cd3('0x37f')](_0x193d91[_0x1cd3('0x380')]),'targetEvent':_0x4cb029,'clickOutsideToClose':!![],'locals':{'user':_0x988749,'users':_0x473f61['users'][_0x1cd3('0xf6')],'license':_0x473f61[_0x1cd3('0x463')],'setting':_0x473f61[_0x1cd3('0xc49')],'crudPermissions':_0x473f61[_0x1cd3('0xd27')]}});}function _0x16e551(_0x220c9e){_0x4999a2[_0x1cd3('0x368')]['delete']({'id':_0x220c9e['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x473f61[_0x1cd3('0xef4')]['rows'],{'id':_0x220c9e['id']});_0x473f61[_0x1cd3('0xef4')][_0x1cd3('0x466')]-=0x1;if(!_0x473f61[_0x1cd3('0xef4')][_0x1cd3('0xf6')]['length']){_0x473f61[_0x1cd3('0xeec')]();}_0x22df26['success']({'title':_['startCase'](_0x1cd3('0x132a'))+_0x1cd3('0xd5c'),'msg':_0x220c9e['name']?_0x220c9e[_0x1cd3('0x98')]+'\x20has\x20been\x20deleted!':''});})[_0x1cd3('0xfd')](function(_0x1e9d40){if(_0x1e9d40[_0x1cd3('0x439')]&&_0x1e9d40[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x1e9d40[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x473f61[_0x1cd3('0xd34')]=_0x1e9d40[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x1e9d40[_0x1cd3('0x43b')](),'type':_0x1cd3('0x2205')}];for(var _0x669b52=0x0;_0x669b52<_0x1e9d40[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x669b52++){_0x22df26['error']({'title':_0x1e9d40[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x669b52][_0x1cd3('0x424')],'msg':_0x1e9d40[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x669b52]['message']});}}else{_0x22df26[_0x1cd3('0x434')]({'title':_0x1e9d40[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x1e9d40[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x1e9d40['statusText']:_0x1cd3('0x2205'),'msg':_0x1e9d40[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x1e9d40[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x1e9d40[_0x1cd3('0x43a')]||_0x1e9d40[_0x1cd3('0x43b')]()});}});}function _0x4c81e7(){var _0x17b712=angular[_0x1cd3('0x429')](_0x473f61['selectedUsers']);_0x473f61[_0x1cd3('0x21f8')]=[];return _0x17b712;}function _0x5f17bc(_0x1f7a5e){var _0x424fe3=_0x48da36[_0x1cd3('0xd39')]()[_0x1cd3('0x486')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20users?')['htmlContent'](_0x1cd3('0xd51')+_0x473f61[_0x1cd3('0x21f8')][_0x1cd3('0x7a')]+_0x1cd3('0xd61')+'\x20will\x20be\x20deleted.')[_0x1cd3('0xd3d')](_0x1cd3('0x2206'))[_0x1cd3('0xd63')](_0x1f7a5e)['ok']('OK')['cancel'](_0x1cd3('0xd55'));_0x48da36['show'](_0x424fe3)[_0x1cd3('0x77')](function(){_0x473f61[_0x1cd3('0x21f8')][_0x1cd3('0x394')](function(_0x5c809c){_0x16e551(_0x5c809c);});_0x473f61['selectedUsers']=[];});}function _0x59e344(){_0x473f61['selectedUsers']=[];}function _0x5578a1(){_0x473f61[_0x1cd3('0x21f8')]=_0x473f61[_0x1cd3('0xef4')][_0x1cd3('0xf6')];}}}());(function(){'use strict';_0x2c1a14['$inject']=['$scope',_0x1cd3('0x371'),_0x1cd3('0x53e'),_0x1cd3('0x969'),'$mdDialog',_0x1cd3('0x372'),_0x1cd3('0x3e7'),_0x1cd3('0x3f7'),_0x1cd3('0x2207'),_0x1cd3('0x38a'),'userProfileSection','api',_0x1cd3('0x2dd'),_0x1cd3('0x461'),_0x1cd3('0x56'),_0x1cd3('0x463'),_0x1cd3('0xc49')];angular[_0x1cd3('0x0')](_0x1cd3('0x33'))[_0x1cd3('0x39b')]('CannedAnswersController',_0x2c1a14);function _0x2c1a14(_0x2b709f,_0x2d6b9e,_0x42b38d,_0x2a795a,_0x30578d,_0xbd1aa8,_0x2f3e9b,_0xc6e327,_0x2b9910,_0x21740c,_0x252305,_0x5ca559,_0x50c7bc,_0x165c7a,_0x505fbf,_0x46b524,_0x9c842){var _0x2057c1=this;_0x2057c1[_0x1cd3('0x463')]=_0x46b524;_0x2057c1[_0x1cd3('0xc49')]=_0x9c842;_0x2057c1[_0x1cd3('0x3ca')]=_0x505fbf[_0x1cd3('0x5d')]();_0x2057c1[_0x1cd3('0x2207')]=_0x2b9910||{'count':0x0,'rows':[]};_0x2057c1[_0x1cd3('0x38a')]=_0x21740c;_0x2057c1[_0x1cd3('0x390')]=_0x252305&&_0x252305[_0x1cd3('0x466')]==0x1?_0x252305[_0x1cd3('0xf6')][0x0]:null;_0x2057c1[_0x1cd3('0xd27')]=_0x505fbf[_0x1cd3('0xd44')](_0x2057c1[_0x1cd3('0x390')]?_0x2057c1[_0x1cd3('0x390')]['crudPermissions']:null);_0x2057c1[_0x1cd3('0xd45')]=_0x1cd3('0x2207');_0x2057c1[_0x1cd3('0xd46')]='';_0x2057c1[_0x1cd3('0xd47')]=null;_0x2057c1['selectedCannedAnswers']=[];_0x2057c1[_0x1cd3('0x3d4')]={'fields':'createdAt,updatedAt,id,key,value,description','sort':_0x1cd3('0x5b'),'MailAccountId':_0x1cd3('0x220'),'FaxAccountId':'null','SmsAccountId':'null','OpenchannelAccountId':'null','ChatWebsiteId':_0x1cd3('0x220'),'limit':0xa,'page':0x1};_0x2057c1['editdialog']=_0x203771;_0x2057c1[_0x1cd3('0xecc')]=_0x3e91ea;_0x2057c1[_0x1cd3('0x473')]=_0x30d327;_0x2057c1[_0x1cd3('0x2208')]=_0x863181;_0x2057c1[_0x1cd3('0x2209')]=_0x4abe38;_0x2057c1['deleteCannedAnswer']=_0x1de140;_0x2057c1[_0x1cd3('0x220a')]=_0x255295;_0x2057c1['deleteSelectedCannedAnswers']=_0x2cd2e2;_0x2057c1[_0x1cd3('0x220b')]=_0x2c97ce;_0x2057c1['selectAllCannedAnswers']=_0x3c4594;function _0x203771(_0x59cbc0,_0x223ada){_0x30578d['show']({'controller':_0x1cd3('0x220c'),'controllerAs':'vm','templateUrl':'app/main/apps/tools/views/cannedAnswers/create/dialog.html','parent':angular[_0x1cd3('0x37f')](_0xbd1aa8[_0x1cd3('0x380')]),'targetEvent':_0x223ada,'clickOutsideToClose':!![],'locals':{'cannedAnswer':_0x59cbc0,'cannedAnswers':_0x2057c1[_0x1cd3('0x2207')]['rows'],'license':_0x2057c1[_0x1cd3('0x463')],'setting':null,'crudPermissions':_0x2057c1[_0x1cd3('0xd27')]}});}function _0x3e91ea(_0x46b8bd,_0x40f12f){var _0x51dd41=_0x30578d[_0x1cd3('0xd39')]()['title'](_0x1cd3('0xd4f')+_[_0x1cd3('0xd50')](_0x1cd3('0x12c1'))+'?')[_0x1cd3('0xd60')](_0x1cd3('0xd51')+(_0x46b8bd[_0x1cd3('0x98')]||_0x1cd3('0x12c1'))+_0x1cd3('0xd52')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x220d'))[_0x1cd3('0xd63')](_0x40f12f)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x30578d['show'](_0x51dd41)[_0x1cd3('0x77')](function(){_0x1de140(_0x46b8bd);},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}var _0x398cce=!![];var _0x211001=0x1;_0x2b709f['$watch']('vm.query.filter',function(_0x45f4f4,_0x4a43d3){if(_0x398cce){_0x2f3e9b(function(){_0x398cce=![];});}else{if(!_0x4a43d3){_0x211001=_0x2057c1[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0x45f4f4!==_0x4a43d3){_0x2057c1[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}if(!_0x45f4f4){_0x2057c1['query'][_0x1cd3('0x8fd')]=_0x211001;}_0x2057c1[_0x1cd3('0x2208')]();}});function _0x30d327(_0x5efc23){_0x2057c1[_0x1cd3('0x2207')]=_0x5efc23||{'count':0x0,'rows':[]};}function _0x863181(){_0x2057c1[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0x2057c1[_0x1cd3('0x3d4')]['page']-0x1)*_0x2057c1[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];if(_0x505fbf[_0x1cd3('0x57')](_0x1cd3('0x5f'))){_0x2057c1[_0x1cd3('0x539')]=_0x5ca559[_0x1cd3('0x12c1')][_0x1cd3('0x361')](_0x2057c1[_0x1cd3('0x3d4')],_0x30d327)[_0x1cd3('0x81')];}else{_0x2057c1['query']['id']=_0x2057c1[_0x1cd3('0x38a')]['id'];_0x2057c1[_0x1cd3('0x3d4')]['section']=_0x1cd3('0x220e');_0x2057c1['promise']=_0x5ca559[_0x1cd3('0x38a')][_0x1cd3('0xd59')](_0x2057c1[_0x1cd3('0x3d4')],_0x30d327)[_0x1cd3('0x81')];}}function _0x4abe38(_0x5d3893,_0x4a631a){_0x30578d[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x220c'),'controllerAs':'vm','templateUrl':_0x1cd3('0x220f'),'parent':angular['element'](_0xbd1aa8[_0x1cd3('0x380')]),'targetEvent':_0x5d3893,'clickOutsideToClose':!![],'locals':{'cannedAnswer':_0x4a631a,'cannedAnswers':_0x2057c1['cannedAnswers'][_0x1cd3('0xf6')],'license':_0x2057c1[_0x1cd3('0x463')],'setting':_0x2057c1[_0x1cd3('0xc49')],'crudPermissions':_0x2057c1['crudPermissions']}});}function _0x1de140(_0x5b4f16){_0x5ca559[_0x1cd3('0x12c1')][_0x1cd3('0xa1c')]({'id':_0x5b4f16['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x2057c1[_0x1cd3('0x2207')][_0x1cd3('0xf6')],{'id':_0x5b4f16['id']});_0x2057c1[_0x1cd3('0x2207')]['count']-=0x1;if(!_0x2057c1[_0x1cd3('0x2207')][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){_0x2057c1[_0x1cd3('0x2208')]();}_0x165c7a[_0x1cd3('0x473')]({'title':_['startCase'](_0x1cd3('0x2210'))+'\x20deleted!','msg':_0x5b4f16['name']?_0x5b4f16[_0x1cd3('0x98')]+_0x1cd3('0xd41'):''});})[_0x1cd3('0xfd')](function(_0x85d1f9){if(_0x85d1f9[_0x1cd3('0x439')]&&_0x85d1f9['data']['errors']&&_0x85d1f9['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x2057c1[_0x1cd3('0xd34')]=_0x85d1f9['data'][_0x1cd3('0xd34')]||[{'message':_0x85d1f9['toString'](),'type':'SYSTEM:DELETEcannedAnswer'}];for(var _0xd5c3be=0x0;_0xd5c3be<_0x85d1f9[_0x1cd3('0x439')]['errors']['length'];_0xd5c3be++){_0x165c7a[_0x1cd3('0x434')]({'title':_0x85d1f9[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0xd5c3be][_0x1cd3('0x424')],'msg':_0x85d1f9[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0xd5c3be][_0x1cd3('0x43a')]});}}else{_0x165c7a[_0x1cd3('0x434')]({'title':_0x85d1f9['status']?_0x1cd3('0x435')+_0x85d1f9[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x85d1f9[_0x1cd3('0xd35')]:'SYSTEM:DELETEcannedAnswer','msg':_0x85d1f9['data']?JSON['stringify'](_0x85d1f9[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x85d1f9['message']||_0x85d1f9['toString']()});}});}function _0x255295(){var _0x28c41c=angular[_0x1cd3('0x429')](_0x2057c1[_0x1cd3('0x2211')]);_0x2057c1['selectedCannedAnswers']=[];return _0x28c41c;}function _0x2cd2e2(_0x455dfb){var _0x3ed0b1=_0x30578d[_0x1cd3('0xd39')]()[_0x1cd3('0x486')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20cannedAnswers?')['htmlContent']('<b>'+_0x2057c1[_0x1cd3('0x2211')][_0x1cd3('0x7a')]+'\x20selected</b>'+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')]('delete\x20CannedAnswers')[_0x1cd3('0xd63')](_0x455dfb)['ok']('OK')[_0x1cd3('0x4d8')]('CANCEL');_0x30578d[_0x1cd3('0x37e')](_0x3ed0b1)[_0x1cd3('0x77')](function(){_0x2057c1[_0x1cd3('0x2211')]['forEach'](function(_0x18b6c5){_0x1de140(_0x18b6c5);});_0x2057c1['selectedCannedAnswers']=[];});}function _0x2c97ce(){_0x2057c1[_0x1cd3('0x2211')]=[];}function _0x3c4594(){_0x2057c1['selectedCannedAnswers']=_0x2057c1[_0x1cd3('0x2207')][_0x1cd3('0xf6')];}}}());(function(){'use strict';_0x5cc82a['$inject']=[_0x1cd3('0x460'),_0x1cd3('0x53e'),_0x1cd3('0xd24'),_0x1cd3('0x3c5'),'$q',_0x1cd3('0x3f7'),_0x1cd3('0x461'),_0x1cd3('0x2207'),_0x1cd3('0x12c1'),'api','Auth',_0x1cd3('0x463'),_0x1cd3('0xc49'),'crudPermissions'];angular[_0x1cd3('0x0')]('app.tools')['controller'](_0x1cd3('0x220c'),_0x5cc82a);function _0x5cc82a(_0x459c1b,_0x5dfd8a,_0x98cb9b,_0x17e542,_0x393501,_0x46c1d6,_0x433b44,_0x1a153a,_0x3895ab,_0x3db885,_0x1914ec,_0x39ffbc,_0x2bc5f9,_0x18a114){var _0xefcd26=this;_0xefcd26[_0x1cd3('0x3ca')]=_0x1914ec['getCurrentUser']();_0xefcd26[_0x1cd3('0xd34')]=[];_0xefcd26['setting']=_0x2bc5f9;_0xefcd26[_0x1cd3('0x463')]=_0x39ffbc;_0xefcd26[_0x1cd3('0xd27')]=_0x18a114;_0xefcd26[_0x1cd3('0xd28')]={};_0xefcd26[_0x1cd3('0xd29')]=_0xefcd26[_0x1cd3('0xc49')]&&_0xefcd26['setting'][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0xefcd26[_0x1cd3('0x486')]='TOOLS.EDIT_CANNEDANSWER';_0xefcd26['cannedAnswer']=angular['copy'](_0x3895ab);_0xefcd26[_0x1cd3('0x2207')]=_0x1a153a;_0xefcd26[_0x1cd3('0x2212')]=![];if(!_0xefcd26[_0x1cd3('0x12c1')]){_0xefcd26['cannedAnswer']={};_0xefcd26['title']=_0x1cd3('0x2213');_0xefcd26[_0x1cd3('0x2212')]=!![];}_0xefcd26[_0x1cd3('0x2214')]=_0x3be87d;_0xefcd26[_0x1cd3('0x2215')]=_0x2c4133;_0xefcd26[_0x1cd3('0x2216')]=_0x24b606;_0xefcd26[_0x1cd3('0xd31')]=_0x1edcbd;_0xefcd26[_0x1cd3('0x39c')]=_0x52d1de;function _0x3be87d(){_0xefcd26['errors']=[];_0x3db885[_0x1cd3('0x12c1')][_0x1cd3('0xd6d')](_0xefcd26[_0x1cd3('0x12c1')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x333bda){_0xefcd26['cannedAnswers'][_0x1cd3('0x621')](_0x333bda[_0x1cd3('0xd32')]());_0x433b44['success']({'title':_0x1cd3('0x2217'),'msg':_0xefcd26[_0x1cd3('0x12c1')][_0x1cd3('0x98')]?_0xefcd26['cannedAnswer'][_0x1cd3('0x98')]+_0x1cd3('0xd33'):''});_0x52d1de(_0x333bda);})[_0x1cd3('0xfd')](function(_0x20ba36){if(_0x20ba36[_0x1cd3('0x439')]&&_0x20ba36[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x20ba36[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0xefcd26[_0x1cd3('0xd34')]=_0x20ba36[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x20ba36['toString'](),'type':_0x1cd3('0x12cc')}];for(var _0x24c604=0x0;_0x24c604<_0x20ba36['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x24c604+=0x1){_0x433b44['error']({'title':_0x20ba36['data'][_0x1cd3('0xd34')][_0x24c604][_0x1cd3('0x424')],'msg':_0x20ba36['data'][_0x1cd3('0xd34')][_0x24c604][_0x1cd3('0x43a')]});}}else{_0x433b44[_0x1cd3('0x434')]({'title':_0x20ba36[_0x1cd3('0x3a6')]?'API:'+_0x20ba36[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x20ba36[_0x1cd3('0xd35')]:'api.cannedAnswer.save','msg':_0x20ba36[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x20ba36['data']['message']):_0x20ba36[_0x1cd3('0x43b')]()});}});}function _0x2c4133(){_0xefcd26[_0x1cd3('0xd34')]=[];_0x3db885[_0x1cd3('0x12c1')][_0x1cd3('0x378')]({'id':_0xefcd26[_0x1cd3('0x12c1')]['id']},_0xefcd26[_0x1cd3('0x12c1')])['$promise'][_0x1cd3('0x77')](function(_0x26e424){var _0x3244fb=_[_0x1cd3('0x442')](_0xefcd26[_0x1cd3('0x2207')],{'id':_0x26e424['id']});if(_0x3244fb){_['merge'](_0x3244fb,_[_0x1cd3('0x5e8')](_0x26e424[_0x1cd3('0xd32')](),_[_0x1cd3('0x80')](_0x3244fb)));}_0x433b44[_0x1cd3('0x473')]({'title':_0x1cd3('0x2218'),'msg':_0xefcd26[_0x1cd3('0x12c1')][_0x1cd3('0x98')]?_0xefcd26[_0x1cd3('0x12c1')][_0x1cd3('0x98')]+_0x1cd3('0xd37'):''});_0x52d1de(_0x26e424);})[_0x1cd3('0xfd')](function(_0x3ca246){if(_0x3ca246[_0x1cd3('0x439')]&&_0x3ca246[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x3ca246[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0xefcd26[_0x1cd3('0xd34')]=_0x3ca246[_0x1cd3('0x439')]['errors']||[{'message':_0x3ca246[_0x1cd3('0x43b')](),'type':_0x1cd3('0x12ce')}];for(var _0x345e07=0x0;_0x345e07<_0x3ca246[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0x345e07++){_0x433b44[_0x1cd3('0x434')]({'title':_0x3ca246[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x345e07]['type'],'msg':_0x3ca246['data'][_0x1cd3('0xd34')][_0x345e07][_0x1cd3('0x43a')]});}}else{_0x433b44[_0x1cd3('0x434')]({'title':_0x3ca246[_0x1cd3('0x3a6')]?'API:'+_0x3ca246[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x3ca246[_0x1cd3('0xd35')]:_0x1cd3('0x12ce'),'msg':_0x3ca246[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x3ca246[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x3ca246[_0x1cd3('0x43b')]()});}});}function _0x24b606(_0x51d2e5){_0xefcd26[_0x1cd3('0xd34')]=[];var _0x3ebbd4=_0x17e542[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xd3a'))[_0x1cd3('0xd3b')](_0x1cd3('0x2219'))[_0x1cd3('0xd3d')](_0x1cd3('0x221a'))['ok'](_0x1cd3('0xd3f'))[_0x1cd3('0x4d8')](_0x1cd3('0x674'))[_0x1cd3('0xd63')](_0x51d2e5);_0x17e542[_0x1cd3('0x37e')](_0x3ebbd4)[_0x1cd3('0x77')](function(){_0x3db885[_0x1cd3('0x12c1')][_0x1cd3('0xa1c')]({'id':_0xefcd26[_0x1cd3('0x12c1')]['id']})['$promise'][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0xefcd26[_0x1cd3('0x2207')],{'id':_0xefcd26[_0x1cd3('0x12c1')]['id']});_0x433b44['success']({'title':_0x1cd3('0x221b'),'msg':(_0xefcd26['cannedAnswer']['name']||_0x1cd3('0x12c1'))+_0x1cd3('0xd41')});_0x52d1de(_0xefcd26[_0x1cd3('0x12c1')]);})['catch'](function(_0x5f55c5){if(_0x5f55c5[_0x1cd3('0x439')]&&_0x5f55c5['data'][_0x1cd3('0xd34')]&&_0x5f55c5['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0xefcd26['errors']=_0x5f55c5['data'][_0x1cd3('0xd34')]||[{'message':_0x5f55c5[_0x1cd3('0x43b')](),'type':_0x1cd3('0x12d1')}];for(var _0x227378=0x0;_0x227378<_0x5f55c5[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x227378++){_0x433b44[_0x1cd3('0x434')]({'title':_0x5f55c5[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x227378][_0x1cd3('0x424')],'msg':_0x5f55c5[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x227378][_0x1cd3('0x43a')]});}}else{_0x433b44['error']({'title':_0x5f55c5[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x5f55c5[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x5f55c5[_0x1cd3('0xd35')]:_0x1cd3('0x12d1'),'msg':_0x5f55c5['data']?JSON['stringify'](_0x5f55c5['data'][_0x1cd3('0x43a')]):_0x5f55c5[_0x1cd3('0x43a')]||_0x5f55c5[_0x1cd3('0x43b')]()});}});},function(){});}function _0x1edcbd(_0x5cefc2){return _0x5cefc2===null?undefined:new Date(_0x5cefc2);}function _0x52d1de(_0x208afa){_0x17e542[_0x1cd3('0x39d')](_0x208afa);}}}());(function(){'use strict';_0x130ea1[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x53e'),_0x1cd3('0xd24'),'$mdDialog','$q',_0x1cd3('0x3f7'),'toasty',_0x1cd3('0x221c'),'customDashboard',_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0x463'),_0x1cd3('0xc49'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')]('app.tools')['controller']('CreateOrEditCustomDashboardDialogController',_0x130ea1);function _0x130ea1(_0x356e68,_0x3fe023,_0xb3af73,_0xc70efb,_0x5f1b2d,_0x3c8808,_0xd8cefb,_0x5cf53e,_0x193e83,_0x4b130a,_0x4e204d,_0x353350,_0x503044,_0x45f571){var _0x23c765=this;_0x23c765['currentUser']=_0x4e204d[_0x1cd3('0x5d')]();_0x23c765[_0x1cd3('0xd34')]=[];_0x23c765[_0x1cd3('0xc49')]=_0x503044;_0x23c765[_0x1cd3('0x463')]=_0x353350;_0x23c765['crudPermissions']=_0x45f571;_0x23c765[_0x1cd3('0xd28')]={};_0x23c765[_0x1cd3('0xd29')]=_0x23c765[_0x1cd3('0xc49')]&&_0x23c765[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x23c765[_0x1cd3('0x486')]=_0x1cd3('0x221d');_0x23c765[_0x1cd3('0x1554')]=angular[_0x1cd3('0x429')](_0x193e83);_0x23c765[_0x1cd3('0x221c')]=_0x5cf53e;_0x23c765[_0x1cd3('0x221e')]=![];if(!_0x23c765[_0x1cd3('0x1554')]){_0x23c765[_0x1cd3('0x1554')]={};_0x23c765[_0x1cd3('0x486')]=_0x1cd3('0x221f');_0x23c765[_0x1cd3('0x221e')]=!![];}_0x23c765['addNewCustomDashboard']=_0x196228;_0x23c765[_0x1cd3('0x2220')]=_0x17f974;_0x23c765[_0x1cd3('0x2221')]=_0x4c720c;_0x23c765[_0x1cd3('0xd31')]=_0x1e0080;_0x23c765[_0x1cd3('0x39c')]=_0x5a4090;function _0x196228(){_0x23c765['errors']=[];_0x4b130a[_0x1cd3('0xa9e')][_0x1cd3('0xd6d')](_0x23c765[_0x1cd3('0x1554')])['$promise']['then'](function(_0x35c056){_0x23c765[_0x1cd3('0x221c')][_0x1cd3('0x621')](_0x35c056[_0x1cd3('0xd32')]());_0xd8cefb[_0x1cd3('0x473')]({'title':_0x1cd3('0x2222'),'msg':_0x23c765[_0x1cd3('0x1554')]['name']?_0x23c765[_0x1cd3('0x1554')][_0x1cd3('0x98')]+_0x1cd3('0xd33'):''});_0x5a4090(_0x35c056);})['catch'](function(_0x1a556f){if(_0x1a556f[_0x1cd3('0x439')]&&_0x1a556f[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x1a556f[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x23c765[_0x1cd3('0xd34')]=_0x1a556f[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x1a556f[_0x1cd3('0x43b')](),'type':'api.dashboard.save'}];for(var _0x350a10=0x0;_0x350a10<_0x1a556f[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x350a10+=0x1){_0xd8cefb['error']({'title':_0x1a556f[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x350a10][_0x1cd3('0x424')],'msg':_0x1a556f[_0x1cd3('0x439')]['errors'][_0x350a10][_0x1cd3('0x43a')]});}}else{_0xd8cefb[_0x1cd3('0x434')]({'title':_0x1a556f[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x1a556f[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x1a556f[_0x1cd3('0xd35')]:_0x1cd3('0x2223'),'msg':_0x1a556f['data']?JSON[_0x1cd3('0x438')](_0x1a556f[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x1a556f[_0x1cd3('0x43b')]()});}});}function _0x17f974(){_0x23c765[_0x1cd3('0xd34')]=[];_0x4b130a[_0x1cd3('0xa9e')][_0x1cd3('0x378')]({'id':_0x23c765['customDashboard']['id']},_0x23c765[_0x1cd3('0x1554')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x371809){var _0x26b8a0=_[_0x1cd3('0x442')](_0x23c765[_0x1cd3('0x221c')],{'id':_0x371809['id']});if(_0x26b8a0){_[_0x1cd3('0xf2')](_0x26b8a0,_[_0x1cd3('0x5e8')](_0x371809[_0x1cd3('0xd32')](),_[_0x1cd3('0x80')](_0x26b8a0)));}_0xd8cefb[_0x1cd3('0x473')]({'title':_0x1cd3('0x2224'),'msg':_0x23c765[_0x1cd3('0x1554')][_0x1cd3('0x98')]?_0x23c765['customDashboard'][_0x1cd3('0x98')]+_0x1cd3('0xd37'):''});_0x5a4090(_0x371809);})[_0x1cd3('0xfd')](function(_0x4ced34){if(_0x4ced34['data']&&_0x4ced34[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x4ced34[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x23c765[_0x1cd3('0xd34')]=_0x4ced34[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x4ced34[_0x1cd3('0x43b')](),'type':_0x1cd3('0x2225')}];for(var _0x21e1ec=0x0;_0x21e1ec<_0x4ced34['data']['errors'][_0x1cd3('0x7a')];_0x21e1ec++){_0xd8cefb[_0x1cd3('0x434')]({'title':_0x4ced34[_0x1cd3('0x439')]['errors'][_0x21e1ec]['type'],'msg':_0x4ced34[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x21e1ec]['message']});}}else{_0xd8cefb[_0x1cd3('0x434')]({'title':_0x4ced34[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x4ced34[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x4ced34[_0x1cd3('0xd35')]:_0x1cd3('0x2225'),'msg':_0x4ced34[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x4ced34[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x4ced34[_0x1cd3('0x43b')]()});}});}function _0x4c720c(_0x12ab05){_0x23c765[_0x1cd3('0xd34')]=[];var _0x38c19a=_0xc70efb[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xd3a'))[_0x1cd3('0xd3b')](_0x1cd3('0x2226'))[_0x1cd3('0xd3d')]('Delete\x20CustomDashboard')['ok'](_0x1cd3('0xd3f'))[_0x1cd3('0x4d8')](_0x1cd3('0x674'))['targetEvent'](_0x12ab05);_0xc70efb[_0x1cd3('0x37e')](_0x38c19a)['then'](function(){_0x4b130a[_0x1cd3('0xa9e')][_0x1cd3('0xa1c')]({'id':_0x23c765['customDashboard']['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x23c765[_0x1cd3('0x221c')],{'id':_0x23c765[_0x1cd3('0x1554')]['id']});_0xd8cefb[_0x1cd3('0x473')]({'title':_0x1cd3('0x2227'),'msg':(_0x23c765[_0x1cd3('0x1554')][_0x1cd3('0x98')]||_0x1cd3('0x1554'))+_0x1cd3('0xd41')});_0x5a4090(_0x23c765[_0x1cd3('0x1554')]);})[_0x1cd3('0xfd')](function(_0x138e49){if(_0x138e49[_0x1cd3('0x439')]&&_0x138e49['data'][_0x1cd3('0xd34')]&&_0x138e49[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x23c765[_0x1cd3('0xd34')]=_0x138e49[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x138e49[_0x1cd3('0x43b')](),'type':_0x1cd3('0x2228')}];for(var _0x257856=0x0;_0x257856<_0x138e49[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x257856++){_0xd8cefb['error']({'title':_0x138e49[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x257856][_0x1cd3('0x424')],'msg':_0x138e49[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x257856][_0x1cd3('0x43a')]});}}else{_0xd8cefb[_0x1cd3('0x434')]({'title':_0x138e49[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x138e49['status']+_0x1cd3('0x436')+_0x138e49[_0x1cd3('0xd35')]:'api.dashboard.delete','msg':_0x138e49[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x138e49['data'][_0x1cd3('0x43a')]):_0x138e49['message']||_0x138e49[_0x1cd3('0x43b')]()});}});},function(){});}function _0x1e0080(_0x4f1c50){return _0x4f1c50===null?undefined:new Date(_0x4f1c50);}function _0x5a4090(_0x4c84cf){_0xc70efb[_0x1cd3('0x39d')](_0x4c84cf);}}}());(function(){'use strict';_0x41a453['$inject']=['$scope',_0x1cd3('0x371'),_0x1cd3('0x53e'),'$mdSidenav','$mdDialog',_0x1cd3('0x372'),_0x1cd3('0x3e7'),_0x1cd3('0x3f7'),'customDashboards',_0x1cd3('0x38a'),_0x1cd3('0x390'),_0x1cd3('0x370'),_0x1cd3('0x2dd'),'toasty',_0x1cd3('0x56'),_0x1cd3('0x463'),_0x1cd3('0xc49')];angular[_0x1cd3('0x0')](_0x1cd3('0x33'))[_0x1cd3('0x39b')](_0x1cd3('0x2229'),_0x41a453);function _0x41a453(_0x4db64e,_0x29d95f,_0x2f79a4,_0x4c2bf2,_0x2b622a,_0x5dc34b,_0x46495e,_0x24a03f,_0x5747fa,_0x5efc91,_0x32c761,_0x30e1d8,_0x32138e,_0x1cdbd0,_0x47945d,_0x252c0f,_0x99e263){var _0x20d569=this;_0x20d569[_0x1cd3('0x463')]=_0x252c0f;_0x20d569[_0x1cd3('0xc49')]=_0x99e263;_0x20d569['currentUser']=_0x47945d[_0x1cd3('0x5d')]();_0x20d569['customDashboards']=_0x5747fa||{'count':0x0,'rows':[]};_0x20d569[_0x1cd3('0x38a')]=_0x5efc91;_0x20d569[_0x1cd3('0x390')]=_0x32c761&&_0x32c761[_0x1cd3('0x466')]==0x1?_0x32c761[_0x1cd3('0xf6')][0x0]:null;_0x20d569[_0x1cd3('0xd27')]=_0x47945d[_0x1cd3('0xd44')](_0x20d569[_0x1cd3('0x390')]?_0x20d569[_0x1cd3('0x390')]['crudPermissions']:null);_0x20d569[_0x1cd3('0xd45')]='customDashboards';_0x20d569['listOrder']='';_0x20d569[_0x1cd3('0xd47')]=null;_0x20d569[_0x1cd3('0x222a')]=[];_0x20d569[_0x1cd3('0x3d4')]={'fields':'createdAt,updatedAt,id,name,description','sort':_0x1cd3('0x5b'),'limit':0xa,'page':0x1};_0x20d569[_0x1cd3('0x1171')]=_0x72babb;_0x20d569['clonedialog']=_0x1fe664;_0x20d569[_0x1cd3('0x222b')]=_0x3a90c0;_0x20d569[_0x1cd3('0xecc')]=_0x4d39c2;_0x20d569[_0x1cd3('0x473')]=_0x25c9f7;_0x20d569['getCustomDashboards']=_0x1d087f;_0x20d569[_0x1cd3('0x222c')]=_0x55ca3c;_0x20d569[_0x1cd3('0x2221')]=_0xff996c;_0x20d569[_0x1cd3('0x222d')]=_0x30867f;_0x20d569[_0x1cd3('0x222e')]=_0x534ee3;_0x20d569[_0x1cd3('0x222f')]=_0x408e96;_0x20d569[_0x1cd3('0x2230')]=_0x1f0285;function _0x72babb(_0x4d15bf,_0x29e357){_0x2f79a4['go'](_0x1cd3('0x2aa'),{'id':_0x4d15bf['id'],'customDashboard':_0x4d15bf,'crudPermissions':_0x20d569[_0x1cd3('0xd27')]});}function _0x1fe664(_0x1e62ca,_0x549046){_0x2b622a[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x2231'),'controllerAs':'vm','templateUrl':_0x1cd3('0x2232'),'parent':angular[_0x1cd3('0x37f')](_0x5dc34b['body']),'targetEvent':_0x549046,'clickOutsideToClose':!![],'locals':{'customDashboard':_0x1e62ca,'customDashboards':_0x20d569[_0x1cd3('0x221c')]?_0x20d569[_0x1cd3('0x221c')][_0x1cd3('0xf6')]:[],'crudPermissions':_0x20d569[_0x1cd3('0xd27')]}});}function _0x3a90c0(_0x3854a3,_0x1f8819){_0x2f79a4['go'](_0x1cd3('0x107'),{'id':_0x3854a3['id']});}function _0x4d39c2(_0x4ffb0b,_0xbbf5db){var _0x2e4b7e=_0x2b622a['confirm']()[_0x1cd3('0x486')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20'+_[_0x1cd3('0xd50')](_0x1cd3('0x1554'))+'?')['htmlContent'](_0x1cd3('0xd51')+(_0x4ffb0b[_0x1cd3('0x98')]||'customDashboard')+_0x1cd3('0xd52')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x2233'))[_0x1cd3('0xd63')](_0xbbf5db)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x2b622a[_0x1cd3('0x37e')](_0x2e4b7e)['then'](function(){_0xff996c(_0x4ffb0b);},function(){console[_0x1cd3('0x7d')]('CANCEL');});}var _0x1c1bb4=!![];var _0x338051=0x1;_0x4db64e['$watch']('vm.query.filter',function(_0x4cba5c,_0xbe9e54){if(_0x1c1bb4){_0x46495e(function(){_0x1c1bb4=![];});}else{if(!_0xbe9e54){_0x338051=_0x20d569['query']['page'];}if(_0x4cba5c!==_0xbe9e54){_0x20d569[_0x1cd3('0x3d4')]['page']=0x1;}if(!_0x4cba5c){_0x20d569[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0x338051;}_0x20d569[_0x1cd3('0x2234')]();}});function _0x25c9f7(_0x5a5aaf){_0x20d569[_0x1cd3('0x221c')]=_0x5a5aaf||{'count':0x0,'rows':[]};}function _0x1d087f(){_0x20d569[_0x1cd3('0x3d4')]['offset']=(_0x20d569[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0x20d569[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];if(_0x47945d[_0x1cd3('0x57')]('admin')){_0x20d569[_0x1cd3('0x539')]=_0x30e1d8['dashboard'][_0x1cd3('0x361')](_0x20d569[_0x1cd3('0x3d4')],_0x25c9f7)['$promise'];}else{_0x20d569[_0x1cd3('0x3d4')]['id']=_0x20d569[_0x1cd3('0x38a')]['id'];_0x20d569['query'][_0x1cd3('0xd58')]=_0x1cd3('0x2a9');_0x20d569['promise']=_0x30e1d8[_0x1cd3('0x38a')][_0x1cd3('0xd59')](_0x20d569[_0x1cd3('0x3d4')],_0x25c9f7)[_0x1cd3('0x81')];}}function _0x55ca3c(_0x5f40e1,_0x3fcf4e){_0x2b622a[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x2235'),'controllerAs':'vm','templateUrl':_0x1cd3('0x2236'),'parent':angular[_0x1cd3('0x37f')](_0x5dc34b[_0x1cd3('0x380')]),'targetEvent':_0x5f40e1,'clickOutsideToClose':!![],'locals':{'customDashboard':_0x3fcf4e,'customDashboards':_0x20d569[_0x1cd3('0x221c')]['rows'],'license':_0x20d569[_0x1cd3('0x463')],'setting':_0x20d569[_0x1cd3('0xc49')],'crudPermissions':_0x20d569[_0x1cd3('0xd27')]}});}function _0xff996c(_0x5d22a4){_0x30e1d8['dashboard']['delete']({'id':_0x5d22a4['id']})[_0x1cd3('0x81')]['then'](function(){_[_0x1cd3('0x383')](_0x20d569[_0x1cd3('0x221c')][_0x1cd3('0xf6')],{'id':_0x5d22a4['id']});_0x20d569[_0x1cd3('0x221c')][_0x1cd3('0x466')]-=0x1;if(!_0x20d569[_0x1cd3('0x221c')][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){_0x20d569[_0x1cd3('0x2234')]();}_0x1cdbd0['success']({'title':_[_0x1cd3('0xd50')](_0x1cd3('0x2237'))+_0x1cd3('0xd5c'),'msg':_0x5d22a4[_0x1cd3('0x98')]?_0x5d22a4[_0x1cd3('0x98')]+_0x1cd3('0xd41'):''});})[_0x1cd3('0xfd')](function(_0x127fe4){if(_0x127fe4['data']&&_0x127fe4[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x127fe4[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')]){_0x20d569[_0x1cd3('0xd34')]=_0x127fe4[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x127fe4[_0x1cd3('0x43b')](),'type':'SYSTEM:DELETEdashboard'}];for(var _0x2737b1=0x0;_0x2737b1<_0x127fe4['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x2737b1++){_0x1cdbd0[_0x1cd3('0x434')]({'title':_0x127fe4[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x2737b1][_0x1cd3('0x424')],'msg':_0x127fe4[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x2737b1][_0x1cd3('0x43a')]});}}else{_0x1cdbd0[_0x1cd3('0x434')]({'title':_0x127fe4['status']?_0x1cd3('0x435')+_0x127fe4[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x127fe4[_0x1cd3('0xd35')]:_0x1cd3('0x2238'),'msg':_0x127fe4[_0x1cd3('0x439')]?JSON['stringify'](_0x127fe4[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x127fe4[_0x1cd3('0x43a')]||_0x127fe4[_0x1cd3('0x43b')]()});}});}function _0x30867f(){var _0x2084c5=angular[_0x1cd3('0x429')](_0x20d569[_0x1cd3('0x222a')]);_0x20d569[_0x1cd3('0x222a')]=[];return _0x2084c5;}function _0x534ee3(_0x4ee1e0){var _0x5039b6=_0x2b622a['confirm']()[_0x1cd3('0x486')](_0x1cd3('0x2239'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x20d569[_0x1cd3('0x222a')]['length']+'\x20selected</b>'+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x223a'))[_0x1cd3('0xd63')](_0x4ee1e0)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x2b622a[_0x1cd3('0x37e')](_0x5039b6)[_0x1cd3('0x77')](function(){_0x20d569[_0x1cd3('0x222a')][_0x1cd3('0x394')](function(_0x93b634){_0xff996c(_0x93b634);});_0x20d569[_0x1cd3('0x222a')]=[];});}function _0x408e96(){_0x20d569[_0x1cd3('0x222a')]=[];}function _0x1f0285(){_0x20d569[_0x1cd3('0x222a')]=_0x20d569[_0x1cd3('0x221c')][_0x1cd3('0xf6')];}}}());(function(){'use strict';_0x4b2c0d['$inject']=[_0x1cd3('0x3c5'),_0x1cd3('0x53e'),'toasty','api',_0x1cd3('0x1554'),_0x1cd3('0x221c'),'$translate'];angular[_0x1cd3('0x0')](_0x1cd3('0x33'))[_0x1cd3('0x39b')](_0x1cd3('0x2231'),_0x4b2c0d);function _0x4b2c0d(_0x481233,_0x568ed9,_0x266692,_0xbe5697,_0x45b586,_0x5c4862,_0x27bfba){var _0x464914=this;_0x464914[_0x1cd3('0x221e')]=!![];_0x464914['customDashboard']=angular[_0x1cd3('0x429')](_0x45b586);_0x464914[_0x1cd3('0x221c')]=_0x5c4862;_0x464914[_0x1cd3('0x486')]=_0x27bfba['instant']('TOOLS.CLONE_CUSTOMDASHBOARD');if(_0x45b586&&_0x45b586['name']){_0x464914[_0x1cd3('0x486')]+=':\x20'+_0x45b586['name'];}_0x464914[_0x1cd3('0x223b')]=_0x22832c;_0x464914[_0x1cd3('0x39c')]=_0x5d3a63;function _0x22832c(){return _0xbe5697[_0x1cd3('0xa9e')][_0x1cd3('0x1141')]({'id':_0x45b586['id'],'includeAll':!![]},_0x464914[_0x1cd3('0x1554')])[_0x1cd3('0x81')]['then'](function(_0x13d3db){_0x464914[_0x1cd3('0x221c')][_0x1cd3('0x621')](_0x13d3db[_0x1cd3('0xd32')]());_0x266692[_0x1cd3('0x473')]({'title':_0x1cd3('0x223c'),'msg':_0x464914[_0x1cd3('0x1554')][_0x1cd3('0x98')]?_0x464914[_0x1cd3('0x1554')]['name']+_0x1cd3('0x1c30'):''});_0x568ed9['go']('app.tools.customDashboards.edit',{'id':_0x13d3db['id']});_0x5d3a63(_0x13d3db);})[_0x1cd3('0xfd')](function(_0x28e135){if(_0x28e135[_0x1cd3('0x439')]&&_0x28e135[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x28e135[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')]){_0x464914['errors']=_0x28e135[_0x1cd3('0x439')]['errors']||[{'message':_0x28e135[_0x1cd3('0x43b')](),'type':_0x1cd3('0x223d')}];for(var _0x13f5c8=0x0;_0x13f5c8<_0x28e135['data'][_0x1cd3('0xd34')]['length'];_0x13f5c8+=0x1){_0x266692[_0x1cd3('0x434')]({'title':_0x28e135[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x13f5c8][_0x1cd3('0x424')],'msg':_0x28e135[_0x1cd3('0x439')]['errors'][_0x13f5c8][_0x1cd3('0x43a')]});}}else{_0x266692[_0x1cd3('0x434')]({'title':_0x28e135[_0x1cd3('0x3a6')]?'API:'+_0x28e135[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x28e135[_0x1cd3('0xd35')]:_0x1cd3('0x223d'),'msg':_0x28e135[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x28e135['data'][_0x1cd3('0x43a')]):_0x28e135[_0x1cd3('0x43b')]()});}});}function _0x5d3a63(_0x229d50){_0x481233[_0x1cd3('0x39d')](_0x229d50);}}}());(function(){'use strict';_0x52fdf8[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),_0x1cd3('0x372'),'socket',_0x1cd3('0x461'),'api'];angular[_0x1cd3('0x0')](_0x1cd3('0x33'))[_0x1cd3('0x39b')](_0x1cd3('0x223e'),_0x52fdf8);function _0x52fdf8(_0x1b5e3f,_0x1e7463,_0x3f9c96,_0x2aaf6c,_0x431a6d){var _0x127186=this;_0x127186[_0x1cd3('0x1554')]={};_0x127186[_0x1cd3('0x8d9')]=_0x431a6d[_0x1cd3('0x633')][_0x1cd3('0x1696')]({'fields':_0x1cd3('0xa6')});_0x127186[_0x1cd3('0xe08')]=_0x5594bf;_0x127186[_0x1cd3('0x223f')]=_0x2a0f2d;_0x127186[_0x1cd3('0x2240')]=_0x2c668a;function _0x5594bf(_0x11468c,_0x2ad68f){_0x127186[_0x1cd3('0xd27')]=typeof _0x2ad68f!==_0x1cd3('0x491')?_0x2ad68f:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x127186[_0x1cd3('0x1554')]=_0x11468c;_0x127186[_0x1cd3('0x1554')][_0x1cd3('0x1556')]={'enabled':!![],'handle':_0x1cd3('0x2241'),'stop':_0x2f6f81};_0x127186[_0x1cd3('0x1554')]['resizable']={'enabled':!![],'handle':_0x1cd3('0x2242'),'stop':_0x2f6f81};_0x127186['customDashboard'][_0x1cd3('0x155d')]=[];return _0x431a6d[_0x1cd3('0xa9e')]['getItems']({'id':_0x11468c['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x38b94d){if(_0x38b94d&&_0x38b94d[_0x1cd3('0x466')]&&_0x38b94d[_0x1cd3('0xf6')]){for(var _0x1236a5=0x0;_0x1236a5<_0x38b94d['rows']['length'];_0x1236a5+=0x1){_0x38b94d['rows'][_0x1236a5][_0x1cd3('0x8d9')]=_0x127186[_0x1cd3('0x8d9')];_0x38b94d[_0x1cd3('0xf6')][_0x1236a5]['voiceQueuesSelected']=_[_0x1cd3('0x3d9')](_0x127186[_0x1cd3('0x8d9')][_0x1cd3('0xf6')],'id');_0x38b94d[_0x1cd3('0xf6')][_0x1236a5][_0x1cd3('0x1559')]='app/core/directives/ms-widget-engine/ms-widget-engine-'+_0x38b94d['rows'][_0x1236a5][_0x1cd3('0x424')]+_0x1cd3('0x155b')+_0x38b94d[_0x1cd3('0xf6')][_0x1236a5][_0x1cd3('0x424')]+_0x1cd3('0x155c');_0x127186[_0x1cd3('0x1554')][_0x1cd3('0x155d')][_0x1cd3('0x7b')](_0x38b94d[_0x1cd3('0xf6')][_0x1236a5]);}}})['catch'](function(_0x27727c){console[_0x1cd3('0x434')](_0x27727c);});}function _0x2a0f2d(_0x112c56){if(_0x112c56&&_0x112c56['attrs']){for(var _0x3d6b5f=0x0;_0x3d6b5f<_0x112c56[_0x1cd3('0x8d7')][_0x1cd3('0x7a')];_0x3d6b5f+=0x1){if(_0x112c56[_0x1cd3('0x8d7')][_0x3d6b5f]['name']===_0x1cd3('0x2243')){_0x112c56['reportType']=_0x112c56['attrs'][_0x3d6b5f]['type'];}_0x112c56[_0x112c56[_0x1cd3('0x8d7')][_0x3d6b5f][_0x1cd3('0x98')]]=_0x112c56[_0x1cd3('0x8d7')][_0x3d6b5f]['value'];}}_0x1b5e3f['show']({'controller':_0x1cd3('0x2244'),'controllerAs':'vm','templateUrl':_0x1cd3('0x2245'),'parent':angular[_0x1cd3('0x37f')](_0x1e7463['body']),'clickOutsideToClose':!![],'locals':{'dashboarditem':_0x112c56,'dashboard':_0x127186['customDashboard'][_0x1cd3('0x155d')],'license':null,'setting':null,'crudPermissions':_0x127186['crudPermissions']}})[_0x1cd3('0x77')](function(_0x20c6be){if(_0x20c6be){for(var _0x145b27=0x0;_0x145b27<_0x127186['customDashboard']['widgets']['length'];_0x145b27+=0x1){if(_0x127186[_0x1cd3('0x1554')][_0x1cd3('0x155d')][_0x145b27]['id']===_0x20c6be['id']){_0x127186[_0x1cd3('0x1554')]['widgets'][_0x145b27]['attrs']=_0x20c6be['attrs'];_0x127186[_0x1cd3('0x1554')][_0x1cd3('0x155d')][_0x145b27][_0x1cd3('0x8d9')]=_0x127186[_0x1cd3('0x8d9')];_0x127186[_0x1cd3('0x1554')][_0x1cd3('0x155d')][_0x145b27][_0x1cd3('0x8d8')]=_[_0x1cd3('0x3d9')](_0x127186['voiceQueues']['rows'],'id');_0x127186['customDashboard'][_0x1cd3('0x155d')][_0x145b27]['templateUrl']='app/core/directives/ms-widget-engine/ms-widget-engine-'+_0x127186[_0x1cd3('0x1554')][_0x1cd3('0x155d')][_0x145b27][_0x1cd3('0x424')]+_0x1cd3('0x155b')+_0x127186[_0x1cd3('0x1554')]['widgets'][_0x145b27][_0x1cd3('0x424')]+_0x1cd3('0x155c');}}}});}function _0x2c668a(_0x59f6c3){var _0x2dc6b6=_0x1b5e3f[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x2246')+_0x59f6c3[_0x1cd3('0x486')]+'?')[_0x1cd3('0x678')]('')[_0x1cd3('0xd3d')]('Delete\x20Widget')['ok'](_0x1cd3('0x158b'))[_0x1cd3('0x4d8')]('NO');_0x1b5e3f[_0x1cd3('0x37e')](_0x2dc6b6)[_0x1cd3('0x77')](function(){return _0x431a6d[_0x1cd3('0x2247')]['delete']({'id':_0x59f6c3['id']})[_0x1cd3('0x81')]['then'](function(_0x280531){_['remove'](_0x127186[_0x1cd3('0x1554')][_0x1cd3('0x155d')],{'id':_0x59f6c3['id']});_0x2aaf6c[_0x1cd3('0x473')]({'title':'Widget\x20deleted!','msg':_0x59f6c3['name']?_0x59f6c3[_0x1cd3('0x98')]+_0x1cd3('0xd41'):_0x1cd3('0x2248')});})['catch'](function(_0x3f92ad){if(_0x3f92ad[_0x1cd3('0x439')]&&_0x3f92ad[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x3f92ad[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x127186[_0x1cd3('0xd34')]=_0x3f92ad[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x3f92ad[_0x1cd3('0x43b')](),'type':_0x1cd3('0x2249')}];for(var _0x43a083=0x0;_0x43a083<_0x3f92ad[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0x43a083++){_0x2aaf6c[_0x1cd3('0x434')]({'title':_0x3f92ad['data']['errors'][_0x43a083][_0x1cd3('0x424')],'msg':_0x3f92ad[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x43a083][_0x1cd3('0x43a')]});}}else{_0x2aaf6c['error']({'title':_0x3f92ad[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x3f92ad[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x3f92ad[_0x1cd3('0xd35')]:_0x1cd3('0x2238'),'msg':_0x3f92ad[_0x1cd3('0x439')]?JSON['stringify'](_0x3f92ad[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x3f92ad['message']||_0x3f92ad['toString']()});}console[_0x1cd3('0x434')](_0x3f92ad);});});}function _0x2f6f81(_0x41c1ac,_0x5859a2,_0x4603cc){return _0x431a6d[_0x1cd3('0x2247')][_0x1cd3('0x378')](_0x4603cc)[_0x1cd3('0x81')]['catch'](function(_0x5de3f7){console['error'](_0x5de3f7);});}}}());(function(){'use strict';_0x3b7a30[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x53e'),_0x1cd3('0xd24'),'$mdDialog','$q','$translate','toasty',_0x1cd3('0xa9e'),_0x1cd3('0x224a'),'api',_0x1cd3('0x56'),_0x1cd3('0x463'),_0x1cd3('0xc49'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x33'))[_0x1cd3('0x39b')]('CreateOrEditDashboardItemDialogController',_0x3b7a30);function _0x3b7a30(_0xad1e22,_0x128005,_0x27a50b,_0x1effc0,_0x433708,_0x1a4cb9,_0x215592,_0x418dbf,_0x2f83a4,_0x5935af,_0x590ed1,_0xcc63b8,_0x230437,_0x4b029c){var _0x7bfe44=this;_0x7bfe44[_0x1cd3('0x3ca')]=_0x590ed1[_0x1cd3('0x5d')]();_0x7bfe44[_0x1cd3('0xd34')]=[];_0x7bfe44['setting']=_0x230437;_0x7bfe44[_0x1cd3('0x463')]=_0xcc63b8;_0x7bfe44['crudPermissions']=_0x4b029c;_0x7bfe44[_0x1cd3('0xd28')]={};_0x7bfe44[_0x1cd3('0xd29')]=_0x7bfe44[_0x1cd3('0xc49')]&&_0x7bfe44['setting'][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x7bfe44[_0x1cd3('0x486')]=_0x1cd3('0x224b');_0x7bfe44['dashboarditem']=angular['copy'](_0x2f83a4);_0x7bfe44[_0x1cd3('0xa9e')]=_0x418dbf;_0x7bfe44[_0x1cd3('0x224c')]=![];_0x7bfe44['selectedReport']=[];_0x7bfe44[_0x1cd3('0x3d4')]={'fields':'createdAt,updatedAt,id,name,description,table,parent,conditions,joins','limit':0xa,'page':0x1,'sort':_0x1cd3('0x5b')};if(!_0x7bfe44['dashboarditem']){_0x7bfe44['dashboarditem']={'type':_0x1cd3('0x224d'),'attrUrl':_0x1cd3('0x224e'),'attrHourFormat':_0x1cd3('0x1eca'),'attrTimezone':_0x1cd3('0x224f'),'attrMetric':_0x1cd3('0x10e'),'attrSerie1':_0x1cd3('0x10e'),'attrSerie2':_0x1cd3('0x220'),'attrSerie3':'null','attrRefresh':0xa,'attrFontSize':0x14,'foreground':_0x1cd3('0x8de'),'background':'#ffffff'};_0x7bfe44['title']=_0x1cd3('0x2250');_0x7bfe44[_0x1cd3('0x224c')]=!![];}else{if(_0x7bfe44['dashboarditem'][_0x1cd3('0x424')]=='web-report'){_0x7bfe44[_0x1cd3('0xde9')]=_0x7bfe44[_0x1cd3('0x224a')][_0x1cd3('0x219d')]===_0x1cd3('0x8f6')?_0x1cd3('0x8f9'):_0x1cd3('0x8f7');_0x5935af[_0x7bfe44[_0x1cd3('0xde9')]]['get']({'fields':_0x1cd3('0x2251')})['$promise'][_0x1cd3('0x77')](function(_0x267f01){_0x7bfe44[_0x1cd3('0x2252')]=_['find'](_0x267f01['rows'],{'id':_0x7bfe44['dashboarditem'][_0x1cd3('0x2243')]});_0x7bfe44[_0x1cd3('0x224a')][_0x1cd3('0xdda')]=_0x7bfe44[_0x1cd3('0x2252')][_0x1cd3('0x98')];_0x7bfe44[_0x1cd3('0x3d4')]['parent']=_0x7bfe44['currentReport'][_0x1cd3('0x36c')];});}}_0x7bfe44[_0x1cd3('0x2253')]=_0x29e6c9;_0x7bfe44[_0x1cd3('0x2254')]=_0x3bab69;_0x7bfe44['deleteDashboardItem']=_0x5423d4;_0x7bfe44[_0x1cd3('0xd31')]=_0x2533ce;_0x7bfe44['getReports']=_0x24b64c;_0x7bfe44[_0x1cd3('0x2255')]=_0x273dfc;_0x7bfe44['closeReportDialog']=_0x3fa842;_0x7bfe44[_0x1cd3('0x2256')]=_0xc81f49;_0x7bfe44[_0x1cd3('0x39c')]=_0x46bfaf;_0x5935af[_0x1cd3('0xe9e')][_0x1cd3('0x361')]({})['$promise'][_0x1cd3('0x77')](function(_0x2c5b5d){_0x7bfe44[_0x1cd3('0xe6e')]=_0x2c5b5d[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x2d26b7){_0x215592[_0x1cd3('0x434')]({'title':_0x2d26b7['status']?'API:'+_0x2d26b7[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x2d26b7[_0x1cd3('0xd35')]:_0x1cd3('0x2257'),'msg':_0x2d26b7['data']?JSON[_0x1cd3('0x438')](_0x2d26b7[_0x1cd3('0x439')]):_0x2d26b7['toString']()});});var _0x49f2bd=[{'id':0x191,'type':_0x1cd3('0xa4')},{'id':0x5dd,'type':'outbound'}];var _0x149c79=null;_0x590ed1['hasRole'](_0x1cd3('0x5f'))?_0x5935af[_0x1cd3('0xa48')]['get']({'fields':'id,name,type','sort':_0x1cd3('0x98'),'nolimit':'true'})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x3984b5){_0x7bfe44['voiceQueues']=_0x3984b5[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x54b6f7){_0x215592[_0x1cd3('0x434')]({'title':_0x54b6f7[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x54b6f7['status']+_0x1cd3('0x436')+_0x54b6f7[_0x1cd3('0xd35')]:_0x1cd3('0x2258'),'msg':_0x54b6f7[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x54b6f7[_0x1cd3('0x439')]):_0x54b6f7['toString']()});}):_0x5935af[_0x1cd3('0xa48')][_0x1cd3('0x361')]({'fields':_0x1cd3('0x1222'),'sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')]['then'](function(_0x37a461){_0x149c79=_0x37a461['rows']||[];})[_0x1cd3('0x77')](function(){var _0xcbd2e5=[];for(var _0x5c647f=0x0;_0x5c647f<_0x49f2bd[_0x1cd3('0x7a')];_0x5c647f++){_0xcbd2e5[_0x1cd3('0x7b')](_0x5935af[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x7bfe44[_0x1cd3('0x3ca')]['userProfileId'],'sectionId':_0x49f2bd[_0x5c647f]['id']})[_0x1cd3('0x81')]);}return _0x433708['all'](_0xcbd2e5);})[_0x1cd3('0x77')](function(_0x5d872c){var _0x2a27e5=_[_0x1cd3('0x3d9')](_0x5d872c,function(_0x4fa543){return _0x4fa543&&_0x4fa543[_0x1cd3('0xf6')]?_0x4fa543[_0x1cd3('0xf6')][0x0]:null;});var _0x1d9901=[];for(var _0x34d22a=0x0;_0x34d22a<_0x49f2bd[_0x1cd3('0x7a')];_0x34d22a++){var _0x4e008e=_[_0x1cd3('0x442')](_0x2a27e5,[_0x1cd3('0x38b'),_0x49f2bd[_0x34d22a]['id']]);if(_0x4e008e){if(!_0x4e008e[_0x1cd3('0x391')]){_0x1d9901[_0x1cd3('0x7b')](_0x5935af[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x4e008e['id']})['$promise']);}else{var _0x17c281=[];_0x149c79[_0x1cd3('0x394')](function(_0x4272bb){if(_0x4272bb[_0x1cd3('0x424')]===_0x49f2bd[_0x34d22a][_0x1cd3('0x424')]){_0x17c281['push'](_0x4272bb);}});_0x1d9901[_0x1cd3('0x7b')]({'rows':_0x17c281,'count':_0x17c281['length']});}}}return _0x433708[_0x1cd3('0x7e')](_0x1d9901);})[_0x1cd3('0x77')](function(_0x4cb391){var _0x3c53b6=[];var _0x233100=null;if(_0x7bfe44[_0x1cd3('0x224a')]){_0x233100=_[_0x1cd3('0x442')](_0x149c79,{'id':Number(_0x7bfe44[_0x1cd3('0x224a')]['attrVoiceQueues'])});}for(var _0x7fd4aa=0x0;_0x7fd4aa<_0x4cb391[_0x1cd3('0x7a')];_0x7fd4aa++){var _0x2aff0d=_0x4cb391[_0x7fd4aa][_0x1cd3('0xf6')]||[];_0x2aff0d[_0x1cd3('0x394')](function(_0x166f43){_0x3c53b6['push'](_0x166f43);});}if(_0x233100&&!_[_0x1cd3('0x38d')](_0x3c53b6,[_0x1cd3('0xe8e'),_0x233100['id']])){_0x149c79[_0x1cd3('0x394')](function(_0x514523){if(_0x514523['id']===_0x233100['id']){_0x514523['canSelect']=![];_0x3c53b6['push'](_0x514523);}});}_0x7bfe44['voiceQueues']=_0x3c53b6;})[_0x1cd3('0xfd')](function(_0x40a2b3){_0x215592[_0x1cd3('0x434')]({'title':_0x40a2b3[_0x1cd3('0x3a6')]?'API:'+_0x40a2b3['status']+_0x1cd3('0x436')+_0x40a2b3[_0x1cd3('0xd35')]:_0x1cd3('0x2259'),'msg':_0x40a2b3[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x40a2b3[_0x1cd3('0x439')]):_0x40a2b3['toString']()});});function _0x29e6c9(){_0x7bfe44['errors']=[];_0x5935af[_0x1cd3('0xa9e')][_0x1cd3('0x14d7')]({'id':_0x128005[_0x1cd3('0x36a')]['id']},_0x7bfe44[_0x1cd3('0x224a')])['$promise'][_0x1cd3('0x77')](function(_0x2f6fe6){_0x7bfe44[_0x1cd3('0xa9e')][_0x1cd3('0x621')](_0x2f6fe6[_0x1cd3('0xd32')]());_0x215592[_0x1cd3('0x473')]({'title':_0x1cd3('0x225a'),'msg':_0x7bfe44['dashboarditem'][_0x1cd3('0x98')]?_0x7bfe44[_0x1cd3('0x224a')]['name']+_0x1cd3('0xd33'):''});_0x46bfaf(_0x2f6fe6);})[_0x1cd3('0xfd')](function(_0x26df81){if(_0x26df81[_0x1cd3('0x439')]&&_0x26df81[_0x1cd3('0x439')]['errors']&&_0x26df81[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length']){_0x7bfe44[_0x1cd3('0xd34')]=_0x26df81[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x26df81['toString'](),'type':_0x1cd3('0x225b')}];for(var _0x1c4579=0x0;_0x1c4579<_0x26df81['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x1c4579+=0x1){_0x215592[_0x1cd3('0x434')]({'title':_0x26df81[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1c4579][_0x1cd3('0x424')],'msg':_0x26df81[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1c4579]['message']});}}else{_0x215592[_0x1cd3('0x434')]({'title':_0x26df81[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x26df81[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x26df81[_0x1cd3('0xd35')]:'api.dashboardItem.save','msg':_0x26df81['data']?JSON[_0x1cd3('0x438')](_0x26df81[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x26df81[_0x1cd3('0x43b')]()});}});}function _0x3bab69(){_0x7bfe44[_0x1cd3('0xd34')]=[];_0x5935af[_0x1cd3('0x2247')][_0x1cd3('0x378')]({'id':_0x7bfe44['dashboarditem']['id']},_0x7bfe44[_0x1cd3('0x224a')])['$promise'][_0x1cd3('0x77')](function(_0x1c3830){var _0x46a848=_[_0x1cd3('0x442')](_0x7bfe44['dashboard'],{'id':_0x1c3830['id']});if(_0x46a848){_[_0x1cd3('0xf2')](_0x46a848,_[_0x1cd3('0x5e8')](_0x1c3830['toJSON'](),_['keys'](_0x46a848)));}_0x215592[_0x1cd3('0x473')]({'title':'DashboardItem\x20properly\x20saved!','msg':_0x7bfe44[_0x1cd3('0x224a')]['name']?_0x7bfe44[_0x1cd3('0x224a')][_0x1cd3('0x98')]+_0x1cd3('0xd37'):''});_0x46bfaf(_0x1c3830);})[_0x1cd3('0xfd')](function(_0x4ee6e1){if(_0x4ee6e1[_0x1cd3('0x439')]&&_0x4ee6e1[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x4ee6e1[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')]){_0x7bfe44['errors']=_0x4ee6e1['data'][_0x1cd3('0xd34')]||[{'message':_0x4ee6e1[_0x1cd3('0x43b')](),'type':_0x1cd3('0x225c')}];for(var _0x4d2b4f=0x0;_0x4d2b4f<_0x4ee6e1[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0x4d2b4f++){_0x215592[_0x1cd3('0x434')]({'title':_0x4ee6e1[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x4d2b4f]['type'],'msg':_0x4ee6e1[_0x1cd3('0x439')]['errors'][_0x4d2b4f][_0x1cd3('0x43a')]});}}else{_0x215592['error']({'title':_0x4ee6e1[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x4ee6e1[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x4ee6e1[_0x1cd3('0xd35')]:_0x1cd3('0x225c'),'msg':_0x4ee6e1[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x4ee6e1[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x4ee6e1[_0x1cd3('0x43b')]()});}});}function _0x5423d4(_0x39d8fe){_0x7bfe44[_0x1cd3('0xd34')]=[];var _0x28b740=_0x1effc0['confirm']()[_0x1cd3('0x486')]('Are\x20you\x20sure?')['content'](_0x1cd3('0x225d'))['ariaLabel'](_0x1cd3('0x225e'))['ok'](_0x1cd3('0xd3f'))[_0x1cd3('0x4d8')](_0x1cd3('0x674'))[_0x1cd3('0xd63')](_0x39d8fe);_0x1effc0[_0x1cd3('0x37e')](_0x28b740)[_0x1cd3('0x77')](function(){_0x5935af[_0x1cd3('0x2247')]['delete']({'id':_0x7bfe44[_0x1cd3('0x224a')]['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x7bfe44[_0x1cd3('0xa9e')],{'id':_0x7bfe44[_0x1cd3('0x224a')]['id']});_0x215592[_0x1cd3('0x473')]({'title':_0x1cd3('0x225f'),'msg':(_0x7bfe44[_0x1cd3('0x224a')][_0x1cd3('0x98')]||'dashboarditem')+_0x1cd3('0xd41')});_0x46bfaf(_0x7bfe44[_0x1cd3('0x224a')]);})[_0x1cd3('0xfd')](function(_0x14eb49){if(_0x14eb49[_0x1cd3('0x439')]&&_0x14eb49[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x14eb49[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x7bfe44[_0x1cd3('0xd34')]=_0x14eb49[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x14eb49[_0x1cd3('0x43b')](),'type':_0x1cd3('0x2260')}];for(var _0x18c6ad=0x0;_0x18c6ad<_0x14eb49[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x18c6ad++){_0x215592[_0x1cd3('0x434')]({'title':_0x14eb49[_0x1cd3('0x439')]['errors'][_0x18c6ad]['type'],'msg':_0x14eb49['data'][_0x1cd3('0xd34')][_0x18c6ad][_0x1cd3('0x43a')]});}}else{_0x215592[_0x1cd3('0x434')]({'title':_0x14eb49[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x14eb49[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x14eb49[_0x1cd3('0xd35')]:'api.dashboardItem.delete','msg':_0x14eb49[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x14eb49[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x14eb49[_0x1cd3('0x43a')]||_0x14eb49[_0x1cd3('0x43b')]()});}});},function(){});}function _0x580d54(){var _0x20dfb1={'core':{'multiple':![],'animation':!![],'error':function(_0xf2b351){console[_0x1cd3('0x434')](_0x1cd3('0xddf')+angular[_0x1cd3('0x552')](_0xf2b351));},'check_callback':!![],'worker':!![]},'version':0x1,'plugins':['wholerow']};if(_0x7bfe44['currentUser']['role']!==_0x1cd3('0x5f')){return _0x5935af[_0x1cd3('0x390')]['get']({'fields':_0x1cd3('0x82'),'userProfileId':_0x7bfe44[_0x1cd3('0x3ca')]['userProfileId'],'sectionId':0x4b3})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x1e90fd){_0x7bfe44[_0x1cd3('0x390')]=_0x1e90fd&&_0x1e90fd[_0x1cd3('0x466')]==0x1?_0x1e90fd[_0x1cd3('0xf6')][0x0]:null;return _0x20dfb1;})['catch'](function(_0x4e7c3f){_0x215592[_0x1cd3('0x434')]({'title':_0x1cd3('0x1331'),'msg':_0x4e7c3f[_0x1cd3('0x43a')]});});}else{return _0x20dfb1;}}function _0x662861(_0x1899da){return _0x1899da?{'loaded':_0x689149,'select_node':_0x59e29a}:{'loaded':_0xf980fe,'select_node':_0x5b7164};}function _0x59e29a(_0x156f66,_0x2bbeaf){_0x7bfe44['treeDefaultInstance'][_0x1cd3('0xe80')](!![])['deselect_all']();_0x7bfe44['treeDefaultInstance'][_0x1cd3('0xe80')](!![])[_0x1cd3('0xe9a')]();_0x7bfe44[_0x1cd3('0xde8')]=_0x2bbeaf[_0x1cd3('0x56e')];_0x7bfe44[_0x1cd3('0xde8')][_0x1cd3('0x8f6')]=!![];_0x7bfe44[_0x1cd3('0xe71')]=_0x7bfe44[_0x1cd3('0xe7f')][_0x1cd3('0xe80')](!![])[_0x1cd3('0xe9b')](_0x7bfe44[_0x1cd3('0xde8')])[_0x1cd3('0x3de')]('/\x20');_0x7bfe44['apiName']=_0x1cd3('0x8f9');_0x7bfe44[_0x1cd3('0x3d4')][_0x1cd3('0x36c')]=_0x2bbeaf[_0x1cd3('0x56e')]['id'];_0x24b64c();}function _0x5b7164(_0x262850,_0x4810ae){_0x7bfe44[_0x1cd3('0xe7f')][_0x1cd3('0xe80')](!![])[_0x1cd3('0xe9c')]();_0x7bfe44[_0x1cd3('0xe7f')][_0x1cd3('0xe80')](!![])['close_all']();_0x7bfe44[_0x1cd3('0xde8')]=_0x4810ae[_0x1cd3('0x56e')];_0x7bfe44[_0x1cd3('0xde8')]['custom']=![];_0x7bfe44[_0x1cd3('0xe71')]=_0x7bfe44[_0x1cd3('0xe8b')][_0x1cd3('0xe80')](!![])['get_path'](_0x7bfe44[_0x1cd3('0xde8')])['join']('/\x20');_0x7bfe44[_0x1cd3('0xde9')]='analyticDefaultReport';_0x7bfe44[_0x1cd3('0x3d4')][_0x1cd3('0x36c')]=_0x4810ae[_0x1cd3('0x56e')]['id'];_0x24b64c();}function _0x689149(){if(!_0x7bfe44['newDashboardItem']&&_0x7bfe44[_0x1cd3('0xde9')]===_0x1cd3('0x8f9')){var _0x2118f2=_0x7bfe44[_0x1cd3('0xe7f')][_0x1cd3('0xe80')](!![])[_0x1cd3('0xeac')](_0x7bfe44[_0x1cd3('0x3d4')][_0x1cd3('0x36c')]);_0x59e29a(null,{'node':_0x2118f2,'selected':_0x2118f2['id']});}}function _0xf980fe(){if(!_0x7bfe44['newDashboardItem']&&_0x7bfe44[_0x1cd3('0xde9')]==='analyticDefaultReport'){var _0x3d2543=_0x7bfe44[_0x1cd3('0xe8b')][_0x1cd3('0xe80')](!![])[_0x1cd3('0xeac')](_0x7bfe44[_0x1cd3('0x3d4')]['parent']);_0x5b7164(null,{'node':_0x3d2543,'selected':_0x3d2543['id']});}}function _0x24b64c(){_0x7bfe44[_0x1cd3('0x3d4')]['offset']=(_0x7bfe44[_0x1cd3('0x3d4')]['page']-0x1)*_0x7bfe44['query'][_0x1cd3('0x8fe')];if(_0x7bfe44[_0x1cd3('0xde9')]){if(_0x7bfe44[_0x1cd3('0x3ca')][_0x1cd3('0x388')]===_0x1cd3('0x5f')){_0x7bfe44[_0x1cd3('0x539')]=_0x5935af[_0x7bfe44['apiName']][_0x1cd3('0x361')](_0x7bfe44['query'],_0x3a3b02)[_0x1cd3('0x81')];}else{if(!_0x7bfe44[_0x1cd3('0x390')]){return _0x3a3b02(null);}else{if(_0x7bfe44[_0x1cd3('0x390')][_0x1cd3('0x391')]){_0x7bfe44[_0x1cd3('0x539')]=_0x5935af[_0x7bfe44[_0x1cd3('0xde9')]][_0x1cd3('0x361')](_0x7bfe44[_0x1cd3('0x3d4')],_0x3a3b02)['$promise'];}else{var _0x286272=[];_0x7bfe44[_0x1cd3('0x539')]=_0x5935af[_0x7bfe44[_0x1cd3('0xde9')]][_0x1cd3('0x361')](_0x7bfe44[_0x1cd3('0x3d4')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x473207){_0x286272=_0x473207&&_0x473207[_0x1cd3('0xf6')]?_0x473207[_0x1cd3('0xf6')]:[];if(_0x286272[_0x1cd3('0x7a')]>0x0){return _0x5935af[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x7bfe44[_0x1cd3('0x390')]['id'],'type':_0x7bfe44[_0x1cd3('0xde9')]==='analyticDefaultReport'?_0x1cd3('0xe8c'):_0x1cd3('0xe8d')})['$promise'][_0x1cd3('0x77')](function(_0x5c2700){var _0x55de70=_0x5c2700&&_0x5c2700[_0x1cd3('0xf6')]?_0x5c2700['rows']:[];if(_0x55de70[_0x1cd3('0x7a')]>0x0){var _0x2afe3c=[];_0x286272[_0x1cd3('0x394')](function(_0x36b2c1){var _0x380110=_[_0x1cd3('0x442')](_0x55de70,[_0x1cd3('0xe8e'),_0x36b2c1['id']]);if(_0x380110)_0x2afe3c[_0x1cd3('0x7b')](_0x36b2c1);});return _0x3a3b02({'count':_0x2afe3c[_0x1cd3('0x7a')],'rows':_0x2afe3c});}else{return _0x3a3b02(null);}});}else{return _0x3a3b02(null);}})['catch'](function(_0x49f41a){_0x215592[_0x1cd3('0x434')]({'title':_0x49f41a['status']?_0x1cd3('0x435')+_0x49f41a[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x49f41a[_0x1cd3('0xd35')]:_0x1cd3('0x2261'),'msg':_0x49f41a[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x49f41a['data']):_0x49f41a[_0x1cd3('0x43b')]()});});}}}}}function _0x3a3b02(_0x20d7e2){_0x7bfe44[_0x1cd3('0xdee')]=_0x20d7e2||{'count':0x0,'rows':[]};if(!_0x7bfe44[_0x1cd3('0x224c')]){_0x7bfe44[_0x1cd3('0x2262')][_0x1cd3('0x7b')](_['find'](_0x7bfe44['reports'][_0x1cd3('0xf6')],{'id':_0x7bfe44[_0x1cd3('0x2252')]['id']}));}}function _0xc81f49(){_0x7bfe44['treeDefaultData']=_0x7bfe44[_0x1cd3('0xe6e')][0x0]?angular[_0x1cd3('0x4ec')](_0x7bfe44[_0x1cd3('0xe6e')][0x0][_0x1cd3('0xe7c')]):[];_0x7bfe44['treeCustomData']=_0x7bfe44[_0x1cd3('0xe6e')][0x1]?angular['fromJson'](_0x7bfe44[_0x1cd3('0xe6e')][0x1][_0x1cd3('0xe7c')]):[];_0x7bfe44[_0x1cd3('0x2263')]=_0x580d54();_0x7bfe44['treeDefaultEvents']=_0x662861(![]);_0x7bfe44[_0x1cd3('0x2264')]=_0x662861(!![]);_0x1effc0['show']({'controller':function(){return _0x7bfe44;},'controllerAs':'vm','templateUrl':_0x1cd3('0x2265'),'autoWrap':!![],'skipHide':!![]});}function _0x273dfc(){_0x7bfe44[_0x1cd3('0x224a')][_0x1cd3('0xdda')]=_0x7bfe44[_0x1cd3('0x2262')][0x0]['name'];_0x7bfe44[_0x1cd3('0x224a')][_0x1cd3('0x2243')]=_0x7bfe44[_0x1cd3('0x2262')][0x0]['id'];_0x7bfe44['dashboarditem'][_0x1cd3('0x219d')]=_0x7bfe44['currentNode'][_0x1cd3('0x8f6')]?_0x1cd3('0x8f6'):'default';if(!_0x7bfe44[_0x1cd3('0x224c')]){var _0x20b746={'name':_0x1cd3('0x2243'),'type':_0x7bfe44['dashboarditem']['reportType'],'value':_0x7bfe44[_0x1cd3('0x2262')][0x0]['id']};_0x7bfe44['dashboarditem'][_0x1cd3('0x8d7')][_0x1cd3('0x446')](_['findIndex'](_0x7bfe44[_0x1cd3('0x224a')]['attrs'],0x1,_0x20b746));}_0xad1e22[_0x1cd3('0x2266')][_0x1cd3('0xdda')][_0x1cd3('0x2267')]();_0x1effc0['hide']();}function _0x3fa842(){_0x1effc0[_0x1cd3('0x39d')]();}function _0x2533ce(_0x52186e){return _0x52186e===null?undefined:new Date(_0x52186e);}function _0x46bfaf(_0x49ddd0){_0x1effc0['hide'](_0x49ddd0);}}}());(function(){'use strict';_0x337618[_0x1cd3('0xc')]=[_0x1cd3('0x53e'),_0x1cd3('0xd24'),'$mdDialog',_0x1cd3('0x372'),_0x1cd3('0x3f7'),_0x1cd3('0x463'),'setting',_0x1cd3('0x370'),_0x1cd3('0x461'),_0x1cd3('0x56'),_0x1cd3('0x1554'),'userProfileSection'];angular[_0x1cd3('0x0')](_0x1cd3('0x33'))[_0x1cd3('0x39b')](_0x1cd3('0x2268'),_0x337618);function _0x337618(_0x5a0d1b,_0x2a7449,_0xa98b00,_0x1915ea,_0x28f5c3,_0x538612,_0x34012a,_0x31685c,_0x2b6fc1,_0x329661,_0x4cee2b,_0x2815f0){var _0x326283=this;_0x326283['currentUser']=_0x329661['getCurrentUser']();_0x326283[_0x1cd3('0x463')]=_0x538612;_0x326283[_0x1cd3('0xc49')]=_0x34012a;_0x326283[_0x1cd3('0xd29')]=_0x326283[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x326283[_0x1cd3('0xd22')]=_0x2a7449[_0x1cd3('0x3b0')]()+_0x1cd3('0x11cf')+_0x2a7449[_0x1cd3('0x3ac')]();_0x326283[_0x1cd3('0x1554')]=_0x4cee2b||_0x5a0d1b[_0x1cd3('0x36a')][_0x1cd3('0x1554')]||{};_0x326283[_0x1cd3('0x390')]=_0x2815f0&&_0x2815f0[_0x1cd3('0x466')]==0x1?_0x2815f0[_0x1cd3('0xf6')][0x0]:null;_0x326283['crudPermissions']=_0x329661['parseCrudPermissions'](_0x326283['userProfileSection']?_0x326283['userProfileSection']['crudPermissions']:null);_0x326283[_0x1cd3('0xd28')]={};_0x326283['selectedTab']=_0x5a0d1b['params'][_0x1cd3('0x1418')]||0x0;_0x326283[_0x1cd3('0x1c48')]=_0x2b558e;_0x326283['gotogoto']=_0x499f04;_0x326283[_0x1cd3('0x11d0')]=_0x2b6fc1[_0x1cd3('0x654')];_0x326283[_0x1cd3('0x2269')]=_0x24d740;_0x326283['saveCustomDashboard']=_0xa4a237;function _0x2b558e(_0x5a31f5,_0xd0e04a){_0xa98b00['show']({'controller':'CustomDashboardcloneController','controllerAs':'vm','templateUrl':_0x1cd3('0x2232'),'parent':angular[_0x1cd3('0x37f')](_0x1915ea['body']),'targetEvent':_0xd0e04a,'clickOutsideToClose':!![],'locals':{'customDashboard':_0x5a31f5,'customDashboards':_0x326283[_0x1cd3('0x221c')]?_0x326283['customDashboards']['rows']:[],'crudPermissions':_0x326283['crudPermissions']}});}function _0x499f04(_0x1c2d45,_0x1721b0){_0x5a0d1b['go'](_0x1cd3('0x107'),{'id':_0x1c2d45['id']});}function _0x24d740(){_0x5a0d1b['go'](_0x1cd3('0x2a5'),{},{'reload':'app.tools.customDashboards'});}function _0xa4a237(){_0x31685c['dashboard'][_0x1cd3('0x378')]({'id':_0x326283[_0x1cd3('0x1554')]['id']},_0x326283[_0x1cd3('0x1554')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x2b6fc1['success']({'title':_0x1cd3('0x226a'),'msg':_0x326283[_0x1cd3('0x1554')]['name']?_0x326283[_0x1cd3('0x1554')][_0x1cd3('0x98')]+_0x1cd3('0xe65'):''});})[_0x1cd3('0xfd')](function(_0x229c7e){_0x2b6fc1[_0x1cd3('0x434')]({'title':_0x229c7e[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x229c7e[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x229c7e[_0x1cd3('0xd35')]:_0x1cd3('0x226b'),'msg':_0x229c7e['data']?JSON[_0x1cd3('0x438')](_0x229c7e[_0x1cd3('0x439')]):_0x229c7e[_0x1cd3('0x43b')]()});});}}}());(function(){'use strict';_0x24bccf['$inject']=[_0x1cd3('0x460'),_0x1cd3('0x53e'),_0x1cd3('0xd24'),_0x1cd3('0x3c5'),'$q','$translate',_0x1cd3('0x461'),'dispositions','disposition',_0x1cd3('0x370'),'Auth',_0x1cd3('0x463'),_0x1cd3('0xc49'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x33'))[_0x1cd3('0x39b')](_0x1cd3('0x226c'),_0x24bccf);function _0x24bccf(_0x58ca16,_0x10b176,_0x1b9d0e,_0x33f164,_0x35d0f7,_0x24e850,_0x4ebb96,_0x8a3ada,_0xa01a7a,_0x16eaa7,_0x522871,_0x3b3e20,_0x56bf5b,_0x1edc67){var _0xba9237=this;_0xba9237['currentUser']=_0x522871['getCurrentUser']();_0xba9237['errors']=[];_0xba9237[_0x1cd3('0xc49')]=_0x56bf5b;_0xba9237[_0x1cd3('0x463')]=_0x3b3e20;_0xba9237[_0x1cd3('0xd27')]=_0x1edc67;_0xba9237[_0x1cd3('0xd28')]={};_0xba9237[_0x1cd3('0xd29')]=_0xba9237['setting']&&_0xba9237[_0x1cd3('0xc49')]['securePassword']?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0xba9237[_0x1cd3('0x486')]=_0x1cd3('0x226d');_0xba9237['disposition']=angular[_0x1cd3('0x429')](_0xa01a7a);_0xba9237[_0x1cd3('0x15a5')]=_0x8a3ada;_0xba9237[_0x1cd3('0x226e')]=![];if(!_0xba9237['disposition']){_0xba9237['disposition']={};_0xba9237['title']='TOOLS.NEW_DISPOSITION';_0xba9237[_0x1cd3('0x226e')]=!![];}_0xba9237[_0x1cd3('0x226f')]=_0x19a85e;_0xba9237['saveDisposition']=_0xba77c5;_0xba9237['deleteDisposition']=_0x3c58ef;_0xba9237[_0x1cd3('0xd31')]=_0x5ce3c3;_0xba9237['closeDialog']=_0x4e738d;function _0x19a85e(){_0xba9237[_0x1cd3('0xd34')]=[];_0x16eaa7[_0x1cd3('0xb63')][_0x1cd3('0xd6d')](_0xba9237[_0x1cd3('0xb63')])[_0x1cd3('0x81')]['then'](function(_0x537f32){_0xba9237['dispositions']['unshift'](_0x537f32[_0x1cd3('0xd32')]());_0x4ebb96[_0x1cd3('0x473')]({'title':_0x1cd3('0x2270'),'msg':_0xba9237[_0x1cd3('0xb63')][_0x1cd3('0x98')]?_0xba9237[_0x1cd3('0xb63')][_0x1cd3('0x98')]+_0x1cd3('0xd33'):''});_0x4e738d(_0x537f32);})['catch'](function(_0x1c36f9){if(_0x1c36f9[_0x1cd3('0x439')]&&_0x1c36f9[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x1c36f9[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')]){_0xba9237[_0x1cd3('0xd34')]=_0x1c36f9[_0x1cd3('0x439')]['errors']||[{'message':_0x1c36f9[_0x1cd3('0x43b')](),'type':_0x1cd3('0x12e8')}];for(var _0x145610=0x0;_0x145610<_0x1c36f9[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x145610+=0x1){_0x4ebb96['error']({'title':_0x1c36f9[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x145610][_0x1cd3('0x424')],'msg':_0x1c36f9[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x145610]['message']});}}else{_0x4ebb96[_0x1cd3('0x434')]({'title':_0x1c36f9[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x1c36f9['status']+'\x20-\x20'+_0x1c36f9['statusText']:_0x1cd3('0x12e8'),'msg':_0x1c36f9[_0x1cd3('0x439')]?JSON['stringify'](_0x1c36f9['data'][_0x1cd3('0x43a')]):_0x1c36f9['toString']()});}});}function _0xba77c5(){_0xba9237['errors']=[];_0x16eaa7[_0x1cd3('0xb63')][_0x1cd3('0x378')]({'id':_0xba9237[_0x1cd3('0xb63')]['id']},_0xba9237[_0x1cd3('0xb63')])['$promise'][_0x1cd3('0x77')](function(_0x302349){var _0x5811fe=_[_0x1cd3('0x442')](_0xba9237['dispositions'],{'id':_0x302349['id']});if(_0x5811fe){_[_0x1cd3('0xf2')](_0x5811fe,_['pick'](_0x302349[_0x1cd3('0xd32')](),_[_0x1cd3('0x80')](_0x5811fe)));}_0x4ebb96[_0x1cd3('0x473')]({'title':_0x1cd3('0x2271'),'msg':_0xba9237[_0x1cd3('0xb63')]['name']?_0xba9237[_0x1cd3('0xb63')][_0x1cd3('0x98')]+_0x1cd3('0xd37'):''});_0x4e738d(_0x302349);})[_0x1cd3('0xfd')](function(_0xe07761){if(_0xe07761[_0x1cd3('0x439')]&&_0xe07761[_0x1cd3('0x439')]['errors']&&_0xe07761['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0xba9237[_0x1cd3('0xd34')]=_0xe07761[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0xe07761[_0x1cd3('0x43b')](),'type':_0x1cd3('0x12ea')}];for(var _0x182530=0x0;_0x182530<_0xe07761[_0x1cd3('0x439')]['errors']['length'];_0x182530++){_0x4ebb96[_0x1cd3('0x434')]({'title':_0xe07761[_0x1cd3('0x439')]['errors'][_0x182530][_0x1cd3('0x424')],'msg':_0xe07761['data'][_0x1cd3('0xd34')][_0x182530]['message']});}}else{_0x4ebb96['error']({'title':_0xe07761[_0x1cd3('0x3a6')]?'API:'+_0xe07761[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0xe07761[_0x1cd3('0xd35')]:_0x1cd3('0x12ea'),'msg':_0xe07761['data']?JSON[_0x1cd3('0x438')](_0xe07761[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0xe07761[_0x1cd3('0x43b')]()});}});}function _0x3c58ef(_0x4a920d){_0xba9237['errors']=[];var _0x23c200=_0x33f164[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xd3a'))[_0x1cd3('0xd3b')](_0x1cd3('0x2272'))[_0x1cd3('0xd3d')](_0x1cd3('0x2273'))['ok'](_0x1cd3('0xd3f'))['cancel'](_0x1cd3('0x674'))[_0x1cd3('0xd63')](_0x4a920d);_0x33f164[_0x1cd3('0x37e')](_0x23c200)[_0x1cd3('0x77')](function(){_0x16eaa7[_0x1cd3('0xb63')][_0x1cd3('0xa1c')]({'id':_0xba9237[_0x1cd3('0xb63')]['id']})[_0x1cd3('0x81')]['then'](function(){_[_0x1cd3('0x383')](_0xba9237[_0x1cd3('0x15a5')],{'id':_0xba9237['disposition']['id']});_0x4ebb96['success']({'title':_0x1cd3('0x2274'),'msg':(_0xba9237['disposition'][_0x1cd3('0x98')]||'disposition')+_0x1cd3('0xd41')});_0x4e738d(_0xba9237[_0x1cd3('0xb63')]);})[_0x1cd3('0xfd')](function(_0x51a875){if(_0x51a875[_0x1cd3('0x439')]&&_0x51a875[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x51a875[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')]){_0xba9237[_0x1cd3('0xd34')]=_0x51a875[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x51a875['toString'](),'type':_0x1cd3('0x12ed')}];for(var _0x3c5ec0=0x0;_0x3c5ec0<_0x51a875[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x3c5ec0++){_0x4ebb96[_0x1cd3('0x434')]({'title':_0x51a875[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x3c5ec0][_0x1cd3('0x424')],'msg':_0x51a875[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x3c5ec0][_0x1cd3('0x43a')]});}}else{_0x4ebb96['error']({'title':_0x51a875[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x51a875[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x51a875[_0x1cd3('0xd35')]:_0x1cd3('0x12ed'),'msg':_0x51a875['data']?JSON[_0x1cd3('0x438')](_0x51a875[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x51a875['message']||_0x51a875[_0x1cd3('0x43b')]()});}});},function(){});}function _0x5ce3c3(_0x34dd55){return _0x34dd55===null?undefined:new Date(_0x34dd55);}function _0x4e738d(_0x3c9421){_0x33f164[_0x1cd3('0x39d')](_0x3c9421);}}}());(function(){'use strict';_0x121032[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x371'),'$state',_0x1cd3('0x969'),_0x1cd3('0x3c5'),_0x1cd3('0x372'),_0x1cd3('0x3e7'),'$translate',_0x1cd3('0x15a5'),'userProfile',_0x1cd3('0x390'),_0x1cd3('0x370'),_0x1cd3('0x2dd'),_0x1cd3('0x461'),'Auth',_0x1cd3('0x463'),_0x1cd3('0xc49')];angular[_0x1cd3('0x0')]('app.tools')[_0x1cd3('0x39b')](_0x1cd3('0x2275'),_0x121032);function _0x121032(_0x248756,_0x2cfe52,_0x5f008a,_0x36a946,_0x1b70d7,_0x27069e,_0x5dab0b,_0x3eb0e0,_0x373261,_0xc67056,_0x16abd1,_0x3ae26c,_0x47f53a,_0x3334f9,_0x1267bb,_0x504786,_0x250ce8){var _0x40cc7d=this;_0x40cc7d[_0x1cd3('0x463')]=_0x504786;_0x40cc7d['setting']=_0x250ce8;_0x40cc7d[_0x1cd3('0x3ca')]=_0x1267bb[_0x1cd3('0x5d')]();_0x40cc7d[_0x1cd3('0x15a5')]=_0x373261||{'count':0x0,'rows':[]};_0x40cc7d['userProfile']=_0xc67056;_0x40cc7d['userProfileSection']=_0x16abd1&&_0x16abd1['count']==0x1?_0x16abd1['rows'][0x0]:null;_0x40cc7d[_0x1cd3('0xd27')]=_0x1267bb['parseCrudPermissions'](_0x40cc7d[_0x1cd3('0x390')]?_0x40cc7d['userProfileSection'][_0x1cd3('0xd27')]:null);_0x40cc7d[_0x1cd3('0xd45')]=_0x1cd3('0x15a5');_0x40cc7d[_0x1cd3('0xd46')]='';_0x40cc7d['listOrderAsc']=null;_0x40cc7d[_0x1cd3('0x2276')]=[];_0x40cc7d[_0x1cd3('0x3d4')]={'fields':'createdAt,updatedAt,id,name','sort':_0x1cd3('0x5b'),'MailAccountId':_0x1cd3('0x220'),'FaxAccountId':_0x1cd3('0x220'),'SmsAccountId':_0x1cd3('0x220'),'OpenchannelAccountId':_0x1cd3('0x220'),'ChatWebsiteId':_0x1cd3('0x220'),'ListId':_0x1cd3('0x220'),'limit':0xa,'page':0x1};_0x40cc7d[_0x1cd3('0xd48')]=_0x27b03a;_0x40cc7d['deleteconfirm']=_0x23fc2a;_0x40cc7d[_0x1cd3('0x473')]=_0x318959;_0x40cc7d[_0x1cd3('0x12db')]=_0x4778db;_0x40cc7d[_0x1cd3('0x2277')]=_0x1ddf3e;_0x40cc7d[_0x1cd3('0x2278')]=_0x4d7ec1;_0x40cc7d[_0x1cd3('0x2279')]=_0x26d9f4;_0x40cc7d[_0x1cd3('0x227a')]=_0x2b071d;_0x40cc7d[_0x1cd3('0x227b')]=_0x4e3df8;_0x40cc7d[_0x1cd3('0x227c')]=_0x3d9c13;function _0x27b03a(_0x48c2b6,_0x47b500){_0x1b70d7[_0x1cd3('0x37e')]({'controller':'CreateOrEditDispositionDialogController','controllerAs':'vm','templateUrl':'app/main/apps/tools/views/dispositions/create/dialog.html','parent':angular[_0x1cd3('0x37f')](_0x27069e['body']),'targetEvent':_0x47b500,'clickOutsideToClose':!![],'locals':{'disposition':_0x48c2b6,'dispositions':_0x40cc7d[_0x1cd3('0x15a5')]['rows'],'license':_0x40cc7d['license'],'setting':null,'crudPermissions':_0x40cc7d[_0x1cd3('0xd27')]}});}function _0x23fc2a(_0xabd0b,_0x225dc7){var _0x3c6fd6=_0x1b70d7[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xd4f')+_[_0x1cd3('0xd50')](_0x1cd3('0xb63'))+'?')[_0x1cd3('0xd60')](_0x1cd3('0xd51')+(_0xabd0b['name']||_0x1cd3('0xb63'))+_0x1cd3('0xd52')+'\x20will\x20be\x20deleted.')['ariaLabel'](_0x1cd3('0x227d'))['targetEvent'](_0x225dc7)['ok']('OK')['cancel']('CANCEL');_0x1b70d7[_0x1cd3('0x37e')](_0x3c6fd6)['then'](function(){_0x4d7ec1(_0xabd0b);},function(){console['log'](_0x1cd3('0xd55'));});}var _0x1f1b40=!![];var _0x55b1f5=0x1;_0x248756[_0x1cd3('0x4d6')]('vm.query.filter',function(_0x5cba1a,_0x330571){if(_0x1f1b40){_0x5dab0b(function(){_0x1f1b40=![];});}else{if(!_0x330571){_0x55b1f5=_0x40cc7d[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0x5cba1a!==_0x330571){_0x40cc7d[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}if(!_0x5cba1a){_0x40cc7d[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0x55b1f5;}_0x40cc7d[_0x1cd3('0x12db')]();}});function _0x318959(_0x15d9d7){_0x40cc7d[_0x1cd3('0x15a5')]=_0x15d9d7||{'count':0x0,'rows':[]};}function _0x4778db(){_0x40cc7d[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0x40cc7d[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0x40cc7d[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];if(_0x1267bb[_0x1cd3('0x57')](_0x1cd3('0x5f'))){_0x40cc7d[_0x1cd3('0x539')]=_0x3ae26c[_0x1cd3('0xb63')][_0x1cd3('0x361')](_0x40cc7d[_0x1cd3('0x3d4')],_0x318959)[_0x1cd3('0x81')];}else{_0x40cc7d[_0x1cd3('0x3d4')]['id']=_0x40cc7d['userProfile']['id'];_0x40cc7d[_0x1cd3('0x3d4')][_0x1cd3('0xd58')]=_0x1cd3('0x221');_0x40cc7d[_0x1cd3('0x539')]=_0x3ae26c[_0x1cd3('0x38a')]['getResources'](_0x40cc7d[_0x1cd3('0x3d4')],_0x318959)[_0x1cd3('0x81')];}}function _0x1ddf3e(_0x111458,_0x170332){_0x1b70d7['show']({'controller':_0x1cd3('0x226c'),'controllerAs':'vm','templateUrl':_0x1cd3('0x227e'),'parent':angular[_0x1cd3('0x37f')](_0x27069e['body']),'targetEvent':_0x111458,'clickOutsideToClose':!![],'locals':{'disposition':_0x170332,'dispositions':_0x40cc7d[_0x1cd3('0x15a5')][_0x1cd3('0xf6')],'license':_0x40cc7d[_0x1cd3('0x463')],'setting':_0x40cc7d[_0x1cd3('0xc49')],'crudPermissions':_0x40cc7d['crudPermissions']}});}function _0x4d7ec1(_0x1debdc){_0x3ae26c[_0x1cd3('0xb63')]['delete']({'id':_0x1debdc['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x40cc7d[_0x1cd3('0x15a5')][_0x1cd3('0xf6')],{'id':_0x1debdc['id']});_0x40cc7d[_0x1cd3('0x15a5')]['count']-=0x1;if(!_0x40cc7d[_0x1cd3('0x15a5')][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){_0x40cc7d[_0x1cd3('0x12db')]();}_0x3334f9[_0x1cd3('0x473')]({'title':_['startCase'](_0x1cd3('0x122a'))+_0x1cd3('0xd5c'),'msg':_0x1debdc[_0x1cd3('0x98')]?_0x1debdc[_0x1cd3('0x98')]+_0x1cd3('0xd41'):''});})[_0x1cd3('0xfd')](function(_0x2ced21){if(_0x2ced21[_0x1cd3('0x439')]&&_0x2ced21[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x2ced21[_0x1cd3('0x439')]['errors']['length']){_0x40cc7d[_0x1cd3('0xd34')]=_0x2ced21['data'][_0x1cd3('0xd34')]||[{'message':_0x2ced21[_0x1cd3('0x43b')](),'type':_0x1cd3('0x227f')}];for(var _0x3f0fdd=0x0;_0x3f0fdd<_0x2ced21[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x3f0fdd++){_0x3334f9[_0x1cd3('0x434')]({'title':_0x2ced21[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x3f0fdd][_0x1cd3('0x424')],'msg':_0x2ced21[_0x1cd3('0x439')]['errors'][_0x3f0fdd]['message']});}}else{_0x3334f9[_0x1cd3('0x434')]({'title':_0x2ced21[_0x1cd3('0x3a6')]?'API:'+_0x2ced21['status']+_0x1cd3('0x436')+_0x2ced21[_0x1cd3('0xd35')]:_0x1cd3('0x227f'),'msg':_0x2ced21[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x2ced21[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x2ced21[_0x1cd3('0x43a')]||_0x2ced21[_0x1cd3('0x43b')]()});}});}function _0x26d9f4(){var _0x1b01c9=angular['copy'](_0x40cc7d['selectedDispositions']);_0x40cc7d[_0x1cd3('0x2276')]=[];return _0x1b01c9;}function _0x2b071d(_0x326c02){var _0x16d3c0=_0x1b70d7['confirm']()['title'](_0x1cd3('0x2280'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x40cc7d[_0x1cd3('0x2276')][_0x1cd3('0x7a')]+'\x20selected</b>'+_0x1cd3('0xd53'))['ariaLabel'](_0x1cd3('0x2281'))['targetEvent'](_0x326c02)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x1b70d7[_0x1cd3('0x37e')](_0x16d3c0)[_0x1cd3('0x77')](function(){_0x40cc7d['selectedDispositions'][_0x1cd3('0x394')](function(_0x5ef868){_0x4d7ec1(_0x5ef868);});_0x40cc7d['selectedDispositions']=[];});}function _0x4e3df8(){_0x40cc7d['selectedDispositions']=[];}function _0x3d9c13(){_0x40cc7d[_0x1cd3('0x2276')]=_0x40cc7d[_0x1cd3('0x15a5')][_0x1cd3('0xf6')];}}}());(function(){'use strict';_0x1356c3['$inject']=[_0x1cd3('0x460'),_0x1cd3('0x53e'),_0x1cd3('0xd24'),'$mdDialog','$q',_0x1cd3('0x3f7'),_0x1cd3('0x461'),_0x1cd3('0xef9'),_0x1cd3('0x77e'),'api',_0x1cd3('0x56'),'license',_0x1cd3('0xc49'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x33'))[_0x1cd3('0x39b')](_0x1cd3('0x2282'),_0x1356c3);function _0x1356c3(_0x5ba5e6,_0x189c50,_0x515306,_0x28fb9a,_0x535d72,_0x2f291b,_0x52094b,_0xff2207,_0x12d118,_0x3a648b,_0x5304dd,_0x35ee6a,_0xf890b1,_0x4ea2e9){var _0xc35558=this;_0xc35558[_0x1cd3('0x3ca')]=_0x5304dd[_0x1cd3('0x5d')]();_0xc35558['errors']=[];_0xc35558['setting']=_0xf890b1;_0xc35558['license']=_0x35ee6a;_0xc35558[_0x1cd3('0xd27')]=_0x4ea2e9;_0xc35558[_0x1cd3('0xd28')]={};_0xc35558[_0x1cd3('0xd29')]=_0xc35558[_0x1cd3('0xc49')]&&_0xc35558['setting'][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0xc35558[_0x1cd3('0x486')]=_0x1cd3('0x1292');_0xc35558[_0x1cd3('0x77e')]=angular[_0x1cd3('0x429')](_0x12d118);_0xc35558[_0x1cd3('0xef9')]=_0xff2207;_0xc35558[_0x1cd3('0x1293')]=![];if(!_0xc35558[_0x1cd3('0x77e')]){_0xc35558[_0x1cd3('0x77e')]={};_0xc35558[_0x1cd3('0x486')]='TOOLS.NEW_INTERVAL';_0xc35558[_0x1cd3('0x1293')]=!![];}_0xc35558[_0x1cd3('0x12a2')]=_0x5048be;_0xc35558[_0x1cd3('0x190b')]=_0x5c55bf;_0xc35558['deleteInterval']=_0x274bfe;_0xc35558[_0x1cd3('0xd31')]=_0x5955af;_0xc35558['closeDialog']=_0x15967c;function _0x5048be(){_0xc35558[_0x1cd3('0xd34')]=[];_0x3a648b[_0x1cd3('0x77e')]['save'](_0xc35558['interval'])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x181b32){_0xc35558[_0x1cd3('0xef9')]['unshift'](_0x181b32[_0x1cd3('0xd32')]());_0x52094b[_0x1cd3('0x473')]({'title':_0x1cd3('0x12a9'),'msg':_0xc35558[_0x1cd3('0x77e')][_0x1cd3('0x98')]?_0xc35558[_0x1cd3('0x77e')][_0x1cd3('0x98')]+_0x1cd3('0xd33'):''});_0x15967c(_0x181b32);})[_0x1cd3('0xfd')](function(_0xc20c5b){if(_0xc20c5b[_0x1cd3('0x439')]&&_0xc20c5b[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0xc20c5b[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length']){_0xc35558['errors']=_0xc20c5b[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0xc20c5b[_0x1cd3('0x43b')](),'type':_0x1cd3('0x12aa')}];for(var _0x548b0e=0x0;_0x548b0e<_0xc20c5b[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x548b0e+=0x1){_0x52094b['error']({'title':_0xc20c5b[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x548b0e][_0x1cd3('0x424')],'msg':_0xc20c5b[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x548b0e][_0x1cd3('0x43a')]});}}else{_0x52094b[_0x1cd3('0x434')]({'title':_0xc20c5b[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0xc20c5b[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0xc20c5b[_0x1cd3('0xd35')]:_0x1cd3('0x12aa'),'msg':_0xc20c5b[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0xc20c5b[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0xc20c5b[_0x1cd3('0x43b')]()});}});}function _0x5c55bf(){_0xc35558[_0x1cd3('0xd34')]=[];_0x3a648b[_0x1cd3('0x77e')]['update']({'id':_0xc35558['interval']['id']},_0xc35558['interval'])[_0x1cd3('0x81')]['then'](function(_0x3eefeb){var _0x2728a9=_[_0x1cd3('0x442')](_0xc35558[_0x1cd3('0xef9')],{'id':_0x3eefeb['id']});if(_0x2728a9){_[_0x1cd3('0xf2')](_0x2728a9,_[_0x1cd3('0x5e8')](_0x3eefeb['toJSON'](),_['keys'](_0x2728a9)));}_0x52094b[_0x1cd3('0x473')]({'title':_0x1cd3('0x12ab'),'msg':_0xc35558[_0x1cd3('0x77e')][_0x1cd3('0x98')]?_0xc35558['interval'][_0x1cd3('0x98')]+_0x1cd3('0xd37'):''});_0x15967c(_0x3eefeb);})['catch'](function(_0x48e103){if(_0x48e103[_0x1cd3('0x439')]&&_0x48e103[_0x1cd3('0x439')]['errors']&&_0x48e103[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0xc35558[_0x1cd3('0xd34')]=_0x48e103[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x48e103[_0x1cd3('0x43b')](),'type':'api.interval.update'}];for(var _0x34417b=0x0;_0x34417b<_0x48e103[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x34417b++){_0x52094b['error']({'title':_0x48e103[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x34417b][_0x1cd3('0x424')],'msg':_0x48e103[_0x1cd3('0x439')]['errors'][_0x34417b][_0x1cd3('0x43a')]});}}else{_0x52094b[_0x1cd3('0x434')]({'title':_0x48e103[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x48e103[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x48e103[_0x1cd3('0xd35')]:_0x1cd3('0x12ad'),'msg':_0x48e103[_0x1cd3('0x439')]?JSON['stringify'](_0x48e103[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x48e103[_0x1cd3('0x43b')]()});}});}function _0x274bfe(_0x1054ef){_0xc35558[_0x1cd3('0xd34')]=[];var _0x4502e2=_0x28fb9a[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xd3a'))['content']('The\x20interval\x20will\x20be\x20deleted.')['ariaLabel']('Delete\x20Interval')['ok'](_0x1cd3('0xd3f'))[_0x1cd3('0x4d8')](_0x1cd3('0x674'))[_0x1cd3('0xd63')](_0x1054ef);_0x28fb9a[_0x1cd3('0x37e')](_0x4502e2)[_0x1cd3('0x77')](function(){_0x3a648b[_0x1cd3('0x77e')][_0x1cd3('0xa1c')]({'id':_0xc35558[_0x1cd3('0x77e')]['id']})[_0x1cd3('0x81')]['then'](function(){_[_0x1cd3('0x383')](_0xc35558[_0x1cd3('0xef9')],{'id':_0xc35558['interval']['id']});_0x52094b[_0x1cd3('0x473')]({'title':_0x1cd3('0x2283'),'msg':(_0xc35558[_0x1cd3('0x77e')][_0x1cd3('0x98')]||'interval')+_0x1cd3('0xd41')});_0x15967c(_0xc35558[_0x1cd3('0x77e')]);})[_0x1cd3('0xfd')](function(_0x4f357f){if(_0x4f357f[_0x1cd3('0x439')]&&_0x4f357f[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x4f357f[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')]){_0xc35558['errors']=_0x4f357f[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x4f357f[_0x1cd3('0x43b')](),'type':_0x1cd3('0x2284')}];for(var _0x95522c=0x0;_0x95522c<_0x4f357f['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x95522c++){_0x52094b[_0x1cd3('0x434')]({'title':_0x4f357f[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x95522c][_0x1cd3('0x424')],'msg':_0x4f357f[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x95522c]['message']});}}else{_0x52094b[_0x1cd3('0x434')]({'title':_0x4f357f[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x4f357f[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x4f357f[_0x1cd3('0xd35')]:_0x1cd3('0x2284'),'msg':_0x4f357f[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x4f357f[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x4f357f['message']||_0x4f357f[_0x1cd3('0x43b')]()});}});},function(){});}function _0x5955af(_0x1b55f7){return _0x1b55f7===null?undefined:new Date(_0x1b55f7);}function _0x15967c(_0x144ba6){_0x28fb9a[_0x1cd3('0x39d')](_0x144ba6);}}}());(function(){'use strict';_0xb4fa9b[_0x1cd3('0xc')]=['$state','$mdDialog',_0x1cd3('0x586'),'IndexFactory',_0x1cd3('0x77e'),_0x1cd3('0xef9'),_0x1cd3('0x461'),_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')]('app.voice')[_0x1cd3('0x39b')](_0x1cd3('0x2285'),_0xb4fa9b);function _0xb4fa9b(_0x18807c,_0x36b0de,_0x20cfd1,_0x5e43d4,_0x1fab6a,_0xaad085,_0x35e77f,_0x160fc2,_0x145843,_0x2ae761){var _0x426823=this;_0x426823[_0x1cd3('0x3ca')]=_0x145843[_0x1cd3('0x5d')]();_0x426823['errors']=[];_0x426823[_0x1cd3('0x486')]='TOOLS.EDIT_INTERVAL';_0x426823[_0x1cd3('0x77e')]=angular[_0x1cd3('0x429')](_0x1fab6a);_0x426823[_0x1cd3('0xef9')]=_0xaad085;_0x426823['newInterval']=![];_0x426823['types']=[_0x1cd3('0x1213'),_0x1cd3('0x8f6')];_0x426823[_0x1cd3('0xd27')]=_0x2ae761;_0x426823[_0x1cd3('0x1295')]=_0x5e43d4['getDaysOfWeek']();_0x426823[_0x1cd3('0x1909')]=_0x5e43d4[_0x1cd3('0x1296')]();_0x426823['monthName']=_0x5e43d4[_0x1cd3('0x1297')]();_0x426823['daysOfMonth']=_0x5e43d4[_0x1cd3('0x1c6f')]();if(!_0x426823[_0x1cd3('0x77e')]){_0x426823[_0x1cd3('0x77e')]={'interval':'*,*,*,*'};_0x426823['type']=_0x1cd3('0x1213');_0x426823['title']='TOOLS.NEW_INTERVAL';_0x426823['newInterval']=!![];}else{if(_0x426823[_0x1cd3('0x77e')][_0x1cd3('0x77e')]!==_0x1cd3('0x1216')){_0x426823['type']=_0x1cd3('0x8f6');var _0x41304b=_0x426823[_0x1cd3('0x77e')]['interval'][_0x1cd3('0x3ef')](',');var _0x5caeb9=_0x41304b[0x0];var _0x32d821=_0x41304b[0x1];var _0x4ddad0=_0x41304b[0x2];var _0x47d026=_0x41304b[0x3];if(_0x5caeb9!=='*'){var _0x58606d=_0x5caeb9['split']('-')[0x0];var _0x2230dc=_0x5caeb9[_0x1cd3('0x3ef')]('-')[0x1];var _0xf0b01d;_0xf0b01d=new Date();_0xf0b01d['setHours'](Number(_0x58606d[_0x1cd3('0x3ef')](':')[0x0]));_0xf0b01d['setMinutes'](Number(_0x58606d[_0x1cd3('0x3ef')](':')[0x1]));_0x426823[_0x1cd3('0x12a5')]=_0xf0b01d;_0xf0b01d=new Date();_0xf0b01d['setHours'](Number(_0x2230dc[_0x1cd3('0x3ef')](':')[0x0]));_0xf0b01d[_0x1cd3('0x1299')](Number(_0x2230dc[_0x1cd3('0x3ef')](':')[0x1]));_0x426823[_0x1cd3('0x129b')]=_0xf0b01d;}if(_0x32d821!=='*'){_0x426823[_0x1cd3('0x129c')]=_0x32d821['split']('-')[0x0];_0x426823['dayOfWeekTo']=_0x32d821['split']('-')[0x1];}if(_0x4ddad0!=='*'){_0x426823[_0x1cd3('0x129d')]=_0x4ddad0[_0x1cd3('0x3ef')]('-')[0x0];_0x426823['monthDayTo']=_0x4ddad0['split']('-')[0x1];}if(_0x47d026!=='*'){_0x426823[_0x1cd3('0x129f')]=_0x47d026['split']('-')[0x0];_0x426823[_0x1cd3('0x12a0')]=_0x47d026[_0x1cd3('0x3ef')]('-')[0x1];}}else{_0x426823[_0x1cd3('0x424')]=_0x1cd3('0x1213');}}if(_0x18807c['params']['id']&&!_0x426823['interval']['application']){_0x426823[_0x1cd3('0x77e')][_0x1cd3('0xf4b')]=_0x18807c[_0x1cd3('0x36a')]['id'];}if(_0x426823[_0x1cd3('0x77e')]['IntervalId']&&_0x426823['interval'][_0x1cd3('0x12a1')]){_0x426823[_0x1cd3('0x424')]=_0x1cd3('0x9d5');}_0x426823[_0x1cd3('0x12a2')]=_0x5411ee;_0x426823[_0x1cd3('0x190b')]=_0x1f5406;_0x426823[_0x1cd3('0x39c')]=_0x11c040;if(_0x426823[_0x1cd3('0x77e')][_0x1cd3('0x12a1')]){_0x145843['hasRole']('admin')?_0x160fc2['interval']['get']({'fields':_0x1cd3('0x12a3'),'IntervalId':_0x1cd3('0x220'),'nolimit':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x569aca){_0x426823[_0x1cd3('0xef9')]=_0x569aca[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0xdad84d){_0x35e77f[_0x1cd3('0x434')]({'title':_0xdad84d[_0x1cd3('0x3a6')]?'API:'+_0xdad84d[_0x1cd3('0x3a6')]+'\x20-\x20'+_0xdad84d[_0x1cd3('0xd35')]:_0x1cd3('0x12a4'),'msg':_0xdad84d[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0xdad84d[_0x1cd3('0x439')]):_0xdad84d['toString']()});}):_0x160fc2['interval'][_0x1cd3('0x361')]({'fields':_0x1cd3('0x12a3'),'IntervalId':_0x1cd3('0x220'),'nolimit':!![]})['$promise'][_0x1cd3('0x77')](function(_0x56e8c2){_0x426823[_0x1cd3('0xef9')]=_0x56e8c2[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x160fc2[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x426823['currentUser'][_0x1cd3('0x5e')],'sectionId':0x3ec})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x1c3ed1){var _0xf2e6d3=_0x1c3ed1&&_0x1c3ed1['rows']?_0x1c3ed1[_0x1cd3('0xf6')][0x0]:null;if(!_0xf2e6d3){_0x426823[_0x1cd3('0xef9')]=[];}else{if(!_0xf2e6d3[_0x1cd3('0x391')]){return _0x160fc2[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0xf2e6d3['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x464647){var _0x3d7c73=_0x464647&&_0x464647[_0x1cd3('0xf6')]?_0x464647['rows']:[];var _0x5388f3=[];var _0x473db5=null;if(_0x426823['interval']){_0x473db5=_[_0x1cd3('0x442')](_0x426823[_0x1cd3('0xef9')],{'name':_0x426823[_0x1cd3('0x77e')]['IntervalId']});}if(_0x473db5&&!_['some'](_0x3d7c73,[_0x1cd3('0xe8e'),_0x473db5['id']])){_0x426823['intervals'][_0x1cd3('0x394')](function(_0x6e337c){if(_0x6e337c['id']===_0x473db5['id']){_0x6e337c[_0x1cd3('0xf4a')]=![];_0x5388f3[_0x1cd3('0x7b')](_0x6e337c);}});}_0x426823[_0x1cd3('0xef9')]=_0x5388f3;});}}})[_0x1cd3('0xfd')](function(_0x168358){_0x35e77f[_0x1cd3('0x434')]({'title':_0x168358[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x168358[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x168358[_0x1cd3('0xd35')]:_0x1cd3('0x12a4'),'msg':_0x168358['data']?JSON[_0x1cd3('0x438')](_0x168358[_0x1cd3('0x439')]):_0x168358[_0x1cd3('0x43b')]()});});}function _0x560013(){switch(_0x426823[_0x1cd3('0x424')]){case _0x1cd3('0x1213'):case'list':return _0x1cd3('0x1216');case _0x1cd3('0x8f6'):var _0x3ca9ba=[];if(_0x426823[_0x1cd3('0x12a5')]!=='*'&&_0x426823[_0x1cd3('0x12a5')]&&_0x426823[_0x1cd3('0x129b')]){var _0x12dd84=(_0x426823[_0x1cd3('0x12a5')][_0x1cd3('0x12a6')]()<0xa?'0':'')+_0x426823[_0x1cd3('0x12a5')][_0x1cd3('0x12a6')]()+':'+((_0x426823['timeRangeFrom'][_0x1cd3('0x12a7')]()<0xa?'0':'')+_0x426823['timeRangeFrom'][_0x1cd3('0x12a7')]());var _0x3846ea=(_0x426823[_0x1cd3('0x129b')][_0x1cd3('0x12a6')]()<0xa?'0':'')+_0x426823[_0x1cd3('0x129b')][_0x1cd3('0x12a6')]()+':'+((_0x426823[_0x1cd3('0x129b')][_0x1cd3('0x12a7')]()<0xa?'0':'')+_0x426823['timeRangeTo'][_0x1cd3('0x12a7')]());_0x3ca9ba['push'](_0x12dd84+'-'+_0x3846ea);}else{_0x3ca9ba['push']('*');}if(_0x426823['dayOfWeekFrom']){if(_0x426823[_0x1cd3('0x12a8')]){_0x3ca9ba[_0x1cd3('0x7b')](_0x426823['dayOfWeekFrom']+'-'+_0x426823[_0x1cd3('0x12a8')]);}else{_0x3ca9ba[_0x1cd3('0x7b')](_0x426823[_0x1cd3('0x129c')]);}}else{_0x3ca9ba[_0x1cd3('0x7b')]('*');}if(_0x426823[_0x1cd3('0x129d')]){if(_0x426823['monthDayTo']){_0x3ca9ba[_0x1cd3('0x7b')](_0x426823['monthDayFrom']+'-'+_0x426823[_0x1cd3('0x129e')]);}else{_0x3ca9ba[_0x1cd3('0x7b')](_0x426823['monthDayFrom']);}}else{_0x3ca9ba['push']('*');}if(_0x426823[_0x1cd3('0x129f')]){if(_0x426823[_0x1cd3('0x12a0')]){_0x3ca9ba[_0x1cd3('0x7b')](_0x426823[_0x1cd3('0x129f')]+'-'+_0x426823[_0x1cd3('0x12a0')]);}else{_0x3ca9ba['push'](_0x426823[_0x1cd3('0x129f')]);}}else{_0x3ca9ba[_0x1cd3('0x7b')]('*');}return _0x3ca9ba['join']();}}function _0x5411ee(){_0x426823[_0x1cd3('0xd34')]=[];_0x426823[_0x1cd3('0x77e')]['interval']=_0x560013();_0x160fc2[_0x1cd3('0x77e')][_0x1cd3('0xd6d')](_0x426823['interval'])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x5cd928){_0x426823[_0x1cd3('0xef9')]['push'](_0x5cd928);_0x35e77f[_0x1cd3('0x473')]({'title':'Interval\x20properly\x20created','msg':_0x426823[_0x1cd3('0x77e')][_0x1cd3('0x98')]?_0x426823[_0x1cd3('0x77e')][_0x1cd3('0x98')]+'\x20has\x20been\x20created!':''});_0x11c040();})[_0x1cd3('0xfd')](function(_0x45d9da){console[_0x1cd3('0x434')](_0x45d9da);_0x426823[_0x1cd3('0xd34')]=_0x45d9da['data'][_0x1cd3('0xd34')]||[{'message':_0x45d9da['toString'](),'type':_0x1cd3('0x12aa')}];});}function _0x1f5406(){_0x426823[_0x1cd3('0xd34')]=[];_0x426823[_0x1cd3('0x77e')][_0x1cd3('0x77e')]=_0x560013();if(_0x426823[_0x1cd3('0x77e')][_0x1cd3('0x12a1')]){_0x426823[_0x1cd3('0x424')]!==_0x1cd3('0x9d5')&&(_0x426823[_0x1cd3('0x77e')]['IntervalId']=null);_0x11c040(_0x426823[_0x1cd3('0x77e')]);}else{_0x160fc2[_0x1cd3('0x77e')][_0x1cd3('0x378')]({'id':_0x426823[_0x1cd3('0x77e')]['id']},_0x426823[_0x1cd3('0x77e')])['$promise'][_0x1cd3('0x77')](function(_0x46e410){var _0x3992d0=_['find'](_0x426823['intervals'],{'id':_0x46e410['id']});if(_0x3992d0){_[_0x1cd3('0xf2')](_0x3992d0,_0x46e410);}_0x35e77f[_0x1cd3('0x473')]({'title':_0x1cd3('0x12ab'),'msg':'Interval\x20has\x20been\x20saved!'});_0x11c040();})['catch'](function(_0x4081e3){console[_0x1cd3('0x434')](_0x4081e3);_0x426823[_0x1cd3('0xd34')]=_0x4081e3[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x4081e3[_0x1cd3('0x43b')](),'type':_0x1cd3('0x12ad')}];});}}function _0x11c040(_0x41dcc1){_0x36b0de[_0x1cd3('0x39d')](_0x41dcc1);}}}());(function(){'use strict';_0xa791a5['$inject']=[_0x1cd3('0x36f'),'$scope','$state','$q',_0x1cd3('0x3f7'),_0x1cd3('0x3e7'),'$mdDialog',_0x1cd3('0x372'),_0x1cd3('0x461'),_0x1cd3('0x370'),_0x1cd3('0x56')];angular['module'](_0x1cd3('0x33'))[_0x1cd3('0x39b')](_0x1cd3('0x2286'),_0xa791a5);function _0xa791a5(_0x2b1e0a,_0x11936a,_0x1946bb,_0x377748,_0x1a5c49,_0x735f6,_0x37126d,_0x15ae0e,_0x19a86c,_0x492d2c,_0x4f491b){var _0x432485=this;_0x432485[_0x1cd3('0x3ca')]=_0x4f491b[_0x1cd3('0x5d')]();_0x432485[_0x1cd3('0x77e')]={};_0x432485[_0x1cd3('0x2287')]={'count':0x0,'rows':[]};_0x432485[_0x1cd3('0x2288')]=[];_0x432485[_0x1cd3('0xd27')];_0x432485[_0x1cd3('0xe35')]={'animation':0x64,'onSort':function(_0x3880a7){_0x492d2c['interval'][_0x1cd3('0x2289')]({'id':_0x432485[_0x1cd3('0x77e')]['id']},_0x3880a7[_0x1cd3('0x228a')])[_0x1cd3('0x81')]['then'](function(_0x1b5798){_0x432485[_0x1cd3('0x2287')]['rows']=_0x1b5798;})[_0x1cd3('0xfd')](function(_0x34b463){_0x19a86c['error']({'title':_0x34b463[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x34b463[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x34b463[_0x1cd3('0xd35')]:_0x1cd3('0x228b'),'msg':_0x34b463['data']?JSON[_0x1cd3('0x438')](_0x34b463[_0x1cd3('0x439')]):_0x34b463[_0x1cd3('0x43b')]()});});}};_0x432485[_0x1cd3('0x3d4')]={'fields':_0x1cd3('0x228c'),'nolimit':_0x1cd3('0x2e0'),'limit':0xa,'page':0x1};_0x432485[_0x1cd3('0xe08')]=_0x54be87;_0x432485[_0x1cd3('0xe0a')]=_0x3fdf83;_0x432485['success']=_0x23f37a;_0x432485[_0x1cd3('0x228d')]=_0x17e7fa;_0x432485[_0x1cd3('0x228e')]=_0x1d2ab1;_0x432485[_0x1cd3('0x228f')]=_0x4f1f2e;_0x432485[_0x1cd3('0x2290')]=_0x470c85;_0x432485[_0x1cd3('0x2291')]=_0x2cdf5a;function _0x54be87(_0x59c7e5,_0x44525b){_0x432485['interval']=_0x59c7e5;_0x432485[_0x1cd3('0xd27')]=typeof _0x44525b!=='undefined'?_0x44525b:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x432485[_0x1cd3('0xe35')]['disabled']=!_0x432485[_0x1cd3('0xd27')][_0x1cd3('0xe3b')]?!![]:![];_0x432485[_0x1cd3('0x3d4')]['id']=_0x432485[_0x1cd3('0x77e')]['id'];_0x17e7fa();}function _0x3fdf83(_0x5f4fbb,_0x10d5d6){var _0x590868=_0x37126d['confirm']()[_0x1cd3('0x486')](_0x1cd3('0x2292'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+(_0x5f4fbb['name']||_0x5f4fbb['id']&&_[_0x1cd3('0x12bc')]('interval\x20#')+_0x5f4fbb['id']||'interval')+_0x1cd3('0xd52')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x2293'))['targetEvent'](_0x10d5d6)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x37126d[_0x1cd3('0x37e')](_0x590868)[_0x1cd3('0x77')](function(){_0x470c85(_0x5f4fbb);},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}function _0x23f37a(_0x3eae74){_0x432485[_0x1cd3('0x2287')]=_0x3eae74||{'count':0x0,'rows':[]};}function _0x17e7fa(){_0x432485[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0x432485['query'][_0x1cd3('0x8fd')]-0x1)*_0x432485[_0x1cd3('0x3d4')]['limit'];_0x432485[_0x1cd3('0x539')]=_0x492d2c[_0x1cd3('0x77e')][_0x1cd3('0x1257')](_0x432485[_0x1cd3('0x3d4')],_0x23f37a)['$promise'];}function _0x1d2ab1(_0x511a80,_0x5a1ab6){_0x37126d[_0x1cd3('0x37e')]({'controller':'EditAppintervalDialogController','controllerAs':'vm','templateUrl':'app/main/apps/tools/views/intervals/edit/apps/interval/dialog.html','parent':angular[_0x1cd3('0x37f')](_0x15ae0e[_0x1cd3('0x380')]),'targetEvent':_0x511a80,'clickOutsideToClose':!![],'locals':{'interval':_0x432485['interval'],'interval':_0x5a1ab6,'intervals':_0x432485[_0x1cd3('0x2287')][_0x1cd3('0xf6')],'license':null,'setting':null,'crudPermissions':_0x432485[_0x1cd3('0xd27')]}});}function _0x470c85(_0xa21c3e){_0x492d2c[_0x1cd3('0x77e')]['delete']({'id':_0xa21c3e['id']})['$promise']['then'](function(){_['remove'](_0x432485['intervalIntervals'][_0x1cd3('0xf6')],{'id':_0xa21c3e['id']});_0x432485[_0x1cd3('0x2287')][_0x1cd3('0x466')]-=0x1;if(!_0x432485[_0x1cd3('0x2287')][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){_0x17e7fa();}_0x19a86c[_0x1cd3('0x473')]({'title':_0x1cd3('0x2294'),'msg':_0xa21c3e[_0x1cd3('0x98')]?_0xa21c3e[_0x1cd3('0x98')]+_0x1cd3('0xd41'):''});})[_0x1cd3('0xfd')](function(_0x18c05a){if(_0x18c05a['data']&&_0x18c05a[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x18c05a[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){vm['errors']=_0x18c05a['data'][_0x1cd3('0xd34')]||[{'message':_0x18c05a[_0x1cd3('0x43b')](),'type':_0x1cd3('0x11f5')}];for(var _0xed4fdf=0x0;_0xed4fdf<_0x18c05a[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0xed4fdf++){_0x19a86c[_0x1cd3('0x434')]({'title':_0x18c05a[_0x1cd3('0x439')]['errors'][_0xed4fdf][_0x1cd3('0x424')],'msg':_0x18c05a[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0xed4fdf][_0x1cd3('0x43a')]});}}else{_0x19a86c[_0x1cd3('0x434')]({'title':_0x18c05a['status']?_0x1cd3('0x435')+_0x18c05a[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x18c05a[_0x1cd3('0xd35')]:_0x1cd3('0x11f5'),'msg':_0x18c05a[_0x1cd3('0x439')]?JSON['stringify'](_0x18c05a[_0x1cd3('0x439')]['message']):_0x18c05a[_0x1cd3('0x43a')]||_0x18c05a[_0x1cd3('0x43b')]()});}});}function _0x4f1f2e(){var _0x987c0=angular['copy'](_0x432485[_0x1cd3('0x2288')]);_0x432485['selectedIntervalIntervals']=[];return _0x987c0;}function _0x2cdf5a(_0x641dbe){var _0x2d1db8=_0x37126d[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x2295'))['htmlContent'](_0x1cd3('0xd51')+_0x432485[_0x1cd3('0x2288')]['length']+_0x1cd3('0xd61')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x2296'))[_0x1cd3('0xd63')](_0x641dbe)['ok']('OK')['cancel'](_0x1cd3('0xd55'));_0x37126d[_0x1cd3('0x37e')](_0x2d1db8)[_0x1cd3('0x77')](function(){_0x432485['selectedIntervalIntervals'][_0x1cd3('0x394')](function(_0x2e7546){_0x470c85(_0x2e7546);});_0x432485[_0x1cd3('0x2288')]=[];});}var _0x2710f0=!![];var _0x398ca4=0x1;_0x11936a[_0x1cd3('0x4d6')](_0x1cd3('0x1340'),function(_0x468802,_0x3a5a5f){if(_0x2710f0){_0x735f6(function(){_0x2710f0=![];});}else{if(!_0x3a5a5f){_0x398ca4=_0x432485['query']['page'];}if(_0x468802!==_0x3a5a5f){_0x432485['query'][_0x1cd3('0x8fd')]=0x1;}if(!_0x468802){_0x432485['query']['page']=_0x398ca4;}_0x17e7fa();}});}}());(function(){'use strict';_0x1d1a4e[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x53e'),'$location',_0x1cd3('0x3c5'),'$q',_0x1cd3('0x3f7'),_0x1cd3('0x461'),'intervals','interval','api',_0x1cd3('0x56'),_0x1cd3('0x463'),_0x1cd3('0xc49'),'crudPermissions'];angular['module'](_0x1cd3('0x33'))[_0x1cd3('0x39b')]('CreateOrEditIntervalDialogController',_0x1d1a4e);function _0x1d1a4e(_0x1643ee,_0x1a3e5e,_0x374dd8,_0x511d8f,_0x14ec5d,_0x1d5667,_0x2e896e,_0x497d99,_0xed195c,_0x4d6d88,_0x882eeb,_0x414782,_0x1015a9,_0x321c60){var _0x37819e=this;_0x37819e[_0x1cd3('0x3ca')]=_0x882eeb[_0x1cd3('0x5d')]();_0x37819e[_0x1cd3('0xd34')]=[];_0x37819e[_0x1cd3('0xc49')]=_0x1015a9;_0x37819e[_0x1cd3('0x463')]=_0x414782;_0x37819e['crudPermissions']=_0x321c60;_0x37819e['hasModulePermissions']={};_0x37819e[_0x1cd3('0xd29')]=_0x37819e[_0x1cd3('0xc49')]&&_0x37819e[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x37819e[_0x1cd3('0x486')]=_0x1cd3('0x1292');_0x37819e[_0x1cd3('0x77e')]=angular[_0x1cd3('0x429')](_0xed195c);_0x37819e[_0x1cd3('0xef9')]=_0x497d99;_0x37819e[_0x1cd3('0x1293')]=![];if(!_0x37819e['interval']){_0x37819e[_0x1cd3('0x77e')]={};_0x37819e[_0x1cd3('0x486')]=_0x1cd3('0x1c70');_0x37819e[_0x1cd3('0x1293')]=!![];}_0x37819e[_0x1cd3('0x12a2')]=_0x23b01c;_0x37819e[_0x1cd3('0x190b')]=_0x2e9249;_0x37819e[_0x1cd3('0x2297')]=_0x68853f;_0x37819e['getDateFromString']=_0x28872f;_0x37819e['closeDialog']=_0x12ee0b;function _0x23b01c(){_0x37819e[_0x1cd3('0xd34')]=[];_0x4d6d88[_0x1cd3('0x77e')][_0x1cd3('0xd6d')](_0x37819e[_0x1cd3('0x77e')])[_0x1cd3('0x81')]['then'](function(_0x1accc0){_0x37819e['intervals'][_0x1cd3('0x621')](_0x1accc0[_0x1cd3('0xd32')]());_0x2e896e[_0x1cd3('0x473')]({'title':'Interval\x20properly\x20created','msg':_0x37819e[_0x1cd3('0x77e')]['name']?_0x37819e['interval'][_0x1cd3('0x98')]+'\x20has\x20been\x20created!':''});_0x12ee0b(_0x1accc0);})['catch'](function(_0x3e4e31){if(_0x3e4e31[_0x1cd3('0x439')]&&_0x3e4e31[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x3e4e31[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x37819e[_0x1cd3('0xd34')]=_0x3e4e31[_0x1cd3('0x439')]['errors']||[{'message':_0x3e4e31[_0x1cd3('0x43b')](),'type':_0x1cd3('0x12aa')}];for(var _0x19f75f=0x0;_0x19f75f<_0x3e4e31['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x19f75f+=0x1){_0x2e896e[_0x1cd3('0x434')]({'title':_0x3e4e31[_0x1cd3('0x439')]['errors'][_0x19f75f][_0x1cd3('0x424')],'msg':_0x3e4e31[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x19f75f][_0x1cd3('0x43a')]});}}else{_0x2e896e[_0x1cd3('0x434')]({'title':_0x3e4e31[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x3e4e31['status']+_0x1cd3('0x436')+_0x3e4e31[_0x1cd3('0xd35')]:_0x1cd3('0x12aa'),'msg':_0x3e4e31['data']?JSON['stringify'](_0x3e4e31[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x3e4e31[_0x1cd3('0x43b')]()});}});}function _0x2e9249(){_0x37819e[_0x1cd3('0xd34')]=[];_0x4d6d88['interval'][_0x1cd3('0x378')]({'id':_0x37819e[_0x1cd3('0x77e')]['id']},_0x37819e[_0x1cd3('0x77e')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0xadccd7){var _0x436c5b=_[_0x1cd3('0x442')](_0x37819e[_0x1cd3('0xef9')],{'id':_0xadccd7['id']});if(_0x436c5b){_[_0x1cd3('0xf2')](_0x436c5b,_[_0x1cd3('0x5e8')](_0xadccd7[_0x1cd3('0xd32')](),_['keys'](_0x436c5b)));}_0x2e896e[_0x1cd3('0x473')]({'title':_0x1cd3('0x12ab'),'msg':_0x37819e['interval'][_0x1cd3('0x98')]?_0x37819e[_0x1cd3('0x77e')]['name']+'\x20has\x20been\x20saved!':''});_0x12ee0b(_0xadccd7);})[_0x1cd3('0xfd')](function(_0x3e7b5b){if(_0x3e7b5b['data']&&_0x3e7b5b[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x3e7b5b[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x37819e[_0x1cd3('0xd34')]=_0x3e7b5b[_0x1cd3('0x439')]['errors']||[{'message':_0x3e7b5b[_0x1cd3('0x43b')](),'type':_0x1cd3('0x12ad')}];for(var _0x447d1f=0x0;_0x447d1f<_0x3e7b5b[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x447d1f++){_0x2e896e[_0x1cd3('0x434')]({'title':_0x3e7b5b['data'][_0x1cd3('0xd34')][_0x447d1f][_0x1cd3('0x424')],'msg':_0x3e7b5b['data'][_0x1cd3('0xd34')][_0x447d1f][_0x1cd3('0x43a')]});}}else{_0x2e896e['error']({'title':_0x3e7b5b[_0x1cd3('0x3a6')]?'API:'+_0x3e7b5b['status']+_0x1cd3('0x436')+_0x3e7b5b[_0x1cd3('0xd35')]:_0x1cd3('0x12ad'),'msg':_0x3e7b5b[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x3e7b5b[_0x1cd3('0x439')]['message']):_0x3e7b5b['toString']()});}});}function _0x68853f(_0x38ed0c){_0x37819e[_0x1cd3('0xd34')]=[];var _0x5aabf5=_0x511d8f[_0x1cd3('0xd39')]()['title'](_0x1cd3('0xd3a'))[_0x1cd3('0xd3b')](_0x1cd3('0x2298'))[_0x1cd3('0xd3d')](_0x1cd3('0x2299'))['ok']('Delete')['cancel'](_0x1cd3('0x674'))[_0x1cd3('0xd63')](_0x38ed0c);_0x511d8f[_0x1cd3('0x37e')](_0x5aabf5)['then'](function(){_0x4d6d88[_0x1cd3('0x77e')][_0x1cd3('0xa1c')]({'id':_0x37819e['interval']['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_['remove'](_0x37819e[_0x1cd3('0xef9')],{'id':_0x37819e[_0x1cd3('0x77e')]['id']});_0x2e896e[_0x1cd3('0x473')]({'title':_0x1cd3('0x2283'),'msg':(_0x37819e['interval'][_0x1cd3('0x98')]||_0x1cd3('0x77e'))+'\x20has\x20been\x20deleted!'});_0x12ee0b(_0x37819e['interval']);})['catch'](function(_0x669c28){if(_0x669c28[_0x1cd3('0x439')]&&_0x669c28[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x669c28[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length']){_0x37819e['errors']=_0x669c28['data'][_0x1cd3('0xd34')]||[{'message':_0x669c28[_0x1cd3('0x43b')](),'type':_0x1cd3('0x2284')}];for(var _0x5ef9a9=0x0;_0x5ef9a9<_0x669c28[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0x5ef9a9++){_0x2e896e[_0x1cd3('0x434')]({'title':_0x669c28[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x5ef9a9][_0x1cd3('0x424')],'msg':_0x669c28[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x5ef9a9][_0x1cd3('0x43a')]});}}else{_0x2e896e['error']({'title':_0x669c28['status']?_0x1cd3('0x435')+_0x669c28[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x669c28[_0x1cd3('0xd35')]:'api.interval.delete','msg':_0x669c28['data']?JSON[_0x1cd3('0x438')](_0x669c28[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x669c28[_0x1cd3('0x43a')]||_0x669c28[_0x1cd3('0x43b')]()});}});},function(){});}function _0x28872f(_0x4ed7a0){return _0x4ed7a0===null?undefined:new Date(_0x4ed7a0);}function _0x12ee0b(_0x4f50f5){_0x511d8f[_0x1cd3('0x39d')](_0x4f50f5);}}}());(function(){'use strict';_0x2716f0[_0x1cd3('0xc')]=['$state',_0x1cd3('0xd24'),'$mdDialog','$document','$translate',_0x1cd3('0x463'),_0x1cd3('0xc49'),'api','toasty',_0x1cd3('0x56'),'interval',_0x1cd3('0x390')];angular['module'](_0x1cd3('0x33'))[_0x1cd3('0x39b')]('IntervalController',_0x2716f0);function _0x2716f0(_0x1660a2,_0x7781e2,_0xc06ce5,_0x4d6bb0,_0x599993,_0x4f8a04,_0x4c9ea3,_0x402bfc,_0x123915,_0x3e99e2,_0x42b8f5,_0x2e1329){var _0x3f04f0=this;_0x3f04f0[_0x1cd3('0x3ca')]=_0x3e99e2['getCurrentUser']();_0x3f04f0['license']=_0x4f8a04;_0x3f04f0['setting']=_0x4c9ea3;_0x3f04f0['passwordPattern']=_0x3f04f0[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x3f04f0[_0x1cd3('0xd22')]=_0x7781e2[_0x1cd3('0x3b0')]()+_0x1cd3('0x11cf')+_0x7781e2['host']();_0x3f04f0[_0x1cd3('0x77e')]=_0x42b8f5||_0x1660a2[_0x1cd3('0x36a')][_0x1cd3('0x77e')]||{};_0x3f04f0['userProfileSection']=_0x2e1329&&_0x2e1329[_0x1cd3('0x466')]==0x1?_0x2e1329[_0x1cd3('0xf6')][0x0]:null;_0x3f04f0[_0x1cd3('0xd27')]=_0x3e99e2[_0x1cd3('0xd44')](_0x3f04f0['userProfileSection']?_0x3f04f0[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);_0x3f04f0[_0x1cd3('0xd28')]={};_0x3f04f0['selectedTab']=_0x1660a2[_0x1cd3('0x36a')][_0x1cd3('0x1418')]||0x0;_0x3f04f0[_0x1cd3('0x11d0')]=_0x123915['info'];_0x3f04f0[_0x1cd3('0x229a')]=_0x103cf0;_0x3f04f0[_0x1cd3('0x190b')]=_0x13412f;function _0x103cf0(){_0x1660a2['go']('app.tools.intervals',{},{'reload':'app.tools.intervals'});}function _0x13412f(){_0x402bfc[_0x1cd3('0x77e')][_0x1cd3('0x378')]({'id':_0x3f04f0[_0x1cd3('0x77e')]['id']},_0x3f04f0[_0x1cd3('0x77e')])[_0x1cd3('0x81')]['then'](function(){_0x123915[_0x1cd3('0x473')]({'title':'Interval\x20updated!','msg':_0x3f04f0[_0x1cd3('0x77e')][_0x1cd3('0x98')]?_0x3f04f0[_0x1cd3('0x77e')][_0x1cd3('0x98')]+'\x20has\x20been\x20updated!':''});})[_0x1cd3('0xfd')](function(_0x379070){_0x123915[_0x1cd3('0x434')]({'title':_0x379070[_0x1cd3('0x3a6')]?'API:'+_0x379070['status']+'\x20-\x20'+_0x379070[_0x1cd3('0xd35')]:_0x1cd3('0x11f5'),'msg':_0x379070[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x379070['data']):_0x379070[_0x1cd3('0x43b')]()});});}}}());(function(){'use strict';_0x38efd7['$inject']=['$scope',_0x1cd3('0x371'),_0x1cd3('0x53e'),'$mdSidenav','$mdDialog',_0x1cd3('0x372'),_0x1cd3('0x3e7'),_0x1cd3('0x3f7'),_0x1cd3('0xef9'),_0x1cd3('0x38a'),'userProfileSection',_0x1cd3('0x370'),'msUtils',_0x1cd3('0x461'),_0x1cd3('0x56'),_0x1cd3('0x463'),'setting'];angular['module'](_0x1cd3('0x33'))[_0x1cd3('0x39b')]('IntervalsController',_0x38efd7);function _0x38efd7(_0x22d7d0,_0x124fbf,_0x2e54b6,_0x5917c8,_0x1f170d,_0x4eb55a,_0x18214d,_0x4139e2,_0x2d7161,_0x3a6c43,_0xb849ac,_0x4ca684,_0x219cca,_0x7c9a41,_0x334a82,_0x5c40f3,_0x574e7f){var _0x5b7730=this;_0x5b7730[_0x1cd3('0x463')]=_0x5c40f3;_0x5b7730[_0x1cd3('0xc49')]=_0x574e7f;_0x5b7730[_0x1cd3('0x3ca')]=_0x334a82[_0x1cd3('0x5d')]();_0x5b7730['intervals']=_0x2d7161||{'count':0x0,'rows':[]};_0x5b7730[_0x1cd3('0x38a')]=_0x3a6c43;_0x5b7730[_0x1cd3('0x390')]=_0xb849ac&&_0xb849ac[_0x1cd3('0x466')]==0x1?_0xb849ac[_0x1cd3('0xf6')][0x0]:null;_0x5b7730[_0x1cd3('0xd27')]=_0x334a82[_0x1cd3('0xd44')](_0x5b7730[_0x1cd3('0x390')]?_0x5b7730['userProfileSection'][_0x1cd3('0xd27')]:null);_0x5b7730['table']=_0x1cd3('0xef9');_0x5b7730[_0x1cd3('0xd46')]='';_0x5b7730[_0x1cd3('0xd47')]=null;_0x5b7730[_0x1cd3('0x229b')]=[];_0x5b7730[_0x1cd3('0x3d4')]={'fields':_0x1cd3('0x295'),'sort':_0x1cd3('0x5b'),'IntervalId':_0x1cd3('0x220'),'limit':0xa,'page':0x1};_0x5b7730['editstate']=_0x1ad35c;_0x5b7730[_0x1cd3('0xecc')]=_0x28687b;_0x5b7730[_0x1cd3('0x473')]=_0x557d10;_0x5b7730[_0x1cd3('0x1257')]=_0x36e1fd;_0x5b7730[_0x1cd3('0x229c')]=_0x9c7745;_0x5b7730[_0x1cd3('0x2297')]=_0x287456;_0x5b7730[_0x1cd3('0x229d')]=_0x4dde60;_0x5b7730['deleteSelectedIntervals']=_0x20c84c;_0x5b7730['deselectIntervals']=_0x2524a9;_0x5b7730['selectAllIntervals']=_0x10f632;function _0x1ad35c(_0xb71e3b,_0x3da286){_0x2e54b6['go']('app.tools.intervals.edit',{'id':_0xb71e3b['id'],'interval':_0xb71e3b,'crudPermissions':_0x5b7730[_0x1cd3('0xd27')]});}function _0x28687b(_0x2159f3,_0x3979f1){var _0x4b1713=_0x1f170d['confirm']()[_0x1cd3('0x486')](_0x1cd3('0xd4f')+_[_0x1cd3('0xd50')]('interval')+'?')[_0x1cd3('0xd60')](_0x1cd3('0xd51')+(_0x2159f3[_0x1cd3('0x98')]||_0x1cd3('0x77e'))+'</b>'+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')]('delete\x20interval')[_0x1cd3('0xd63')](_0x3979f1)['ok']('OK')[_0x1cd3('0x4d8')]('CANCEL');_0x1f170d[_0x1cd3('0x37e')](_0x4b1713)[_0x1cd3('0x77')](function(){_0x287456(_0x2159f3);},function(){console[_0x1cd3('0x7d')]('CANCEL');});}var _0x3c2c3c=!![];var _0x1b656f=0x1;_0x22d7d0[_0x1cd3('0x4d6')](_0x1cd3('0xd56'),function(_0x2277e0,_0x46aaf7){if(_0x3c2c3c){_0x18214d(function(){_0x3c2c3c=![];});}else{if(!_0x46aaf7){_0x1b656f=_0x5b7730[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0x2277e0!==_0x46aaf7){_0x5b7730[_0x1cd3('0x3d4')]['page']=0x1;}if(!_0x2277e0){_0x5b7730[_0x1cd3('0x3d4')]['page']=_0x1b656f;}_0x5b7730[_0x1cd3('0x1257')]();}});function _0x557d10(_0x27e2e8){_0x5b7730['intervals']=_0x27e2e8||{'count':0x0,'rows':[]};}function _0x36e1fd(){_0x5b7730['query'][_0x1cd3('0xd57')]=(_0x5b7730[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0x5b7730['query'][_0x1cd3('0x8fe')];if(_0x334a82['hasRole'](_0x1cd3('0x5f'))){_0x5b7730['promise']=_0x4ca684[_0x1cd3('0x77e')][_0x1cd3('0x361')](_0x5b7730[_0x1cd3('0x3d4')],_0x557d10)[_0x1cd3('0x81')];}else{_0x5b7730['query']['id']=_0x5b7730[_0x1cd3('0x38a')]['id'];_0x5b7730[_0x1cd3('0x3d4')][_0x1cd3('0xd58')]='Intervals';_0x5b7730[_0x1cd3('0x539')]=_0x4ca684[_0x1cd3('0x38a')][_0x1cd3('0xd59')](_0x5b7730['query'],_0x557d10)['$promise'];}}function _0x9c7745(_0xbc2411,_0x5e1a00){_0x1f170d[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x2282'),'controllerAs':'vm','templateUrl':_0x1cd3('0x229e'),'parent':angular['element'](_0x4eb55a['body']),'targetEvent':_0xbc2411,'clickOutsideToClose':!![],'locals':{'interval':_0x5e1a00,'intervals':_0x5b7730[_0x1cd3('0xef9')][_0x1cd3('0xf6')],'license':_0x5b7730['license'],'setting':_0x5b7730[_0x1cd3('0xc49')],'crudPermissions':_0x5b7730[_0x1cd3('0xd27')]}});}function _0x287456(_0x3fafcd){_0x4ca684[_0x1cd3('0x77e')][_0x1cd3('0xa1c')]({'id':_0x3fafcd['id']})[_0x1cd3('0x81')]['then'](function(){_[_0x1cd3('0x383')](_0x5b7730[_0x1cd3('0xef9')]['rows'],{'id':_0x3fafcd['id']});_0x5b7730[_0x1cd3('0xef9')][_0x1cd3('0x466')]-=0x1;if(!_0x5b7730[_0x1cd3('0xef9')][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){_0x5b7730[_0x1cd3('0x1257')]();}_0x7c9a41[_0x1cd3('0x473')]({'title':_[_0x1cd3('0xd50')](_0x1cd3('0x1212'))+_0x1cd3('0xd5c'),'msg':_0x3fafcd[_0x1cd3('0x98')]?_0x3fafcd['name']+_0x1cd3('0xd41'):''});})[_0x1cd3('0xfd')](function(_0x185e60){if(_0x185e60[_0x1cd3('0x439')]&&_0x185e60[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x185e60[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')]){_0x5b7730['errors']=_0x185e60[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x185e60[_0x1cd3('0x43b')](),'type':'SYSTEM:DELETEinterval'}];for(var _0x4097e4=0x0;_0x4097e4<_0x185e60[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0x4097e4++){_0x7c9a41[_0x1cd3('0x434')]({'title':_0x185e60[_0x1cd3('0x439')]['errors'][_0x4097e4][_0x1cd3('0x424')],'msg':_0x185e60[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x4097e4][_0x1cd3('0x43a')]});}}else{_0x7c9a41['error']({'title':_0x185e60[_0x1cd3('0x3a6')]?'API:'+_0x185e60['status']+'\x20-\x20'+_0x185e60[_0x1cd3('0xd35')]:_0x1cd3('0x229f'),'msg':_0x185e60[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x185e60[_0x1cd3('0x439')]['message']):_0x185e60['message']||_0x185e60['toString']()});}});}function _0x4dde60(){var _0xf422c6=angular[_0x1cd3('0x429')](_0x5b7730[_0x1cd3('0x229b')]);_0x5b7730[_0x1cd3('0x229b')]=[];return _0xf422c6;}function _0x20c84c(_0x19ee19){var _0x3def06=_0x1f170d[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x2295'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x5b7730[_0x1cd3('0x229b')][_0x1cd3('0x7a')]+'\x20selected</b>'+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x22a0'))[_0x1cd3('0xd63')](_0x19ee19)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x1f170d['show'](_0x3def06)[_0x1cd3('0x77')](function(){_0x5b7730[_0x1cd3('0x229b')]['forEach'](function(_0x346a9e){_0x287456(_0x346a9e);});_0x5b7730[_0x1cd3('0x229b')]=[];});}function _0x2524a9(){_0x5b7730[_0x1cd3('0x229b')]=[];}function _0x10f632(){_0x5b7730['selectedIntervals']=_0x5b7730['intervals'][_0x1cd3('0xf6')];}}}());(function(){'use strict';_0x19fae6[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x53e'),_0x1cd3('0xd24'),_0x1cd3('0x3c5'),'$q',_0x1cd3('0x3f7'),'toasty',_0x1cd3('0x1381'),_0x1cd3('0x63e'),'api',_0x1cd3('0x56'),_0x1cd3('0x463'),_0x1cd3('0xc49'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x33'))[_0x1cd3('0x39b')](_0x1cd3('0x22a1'),_0x19fae6);function _0x19fae6(_0x2d4d50,_0x35505f,_0x48ad76,_0x23c9ef,_0x3a2a9,_0x4a8f78,_0x57da6c,_0x59dbcc,_0x4714b8,_0x243bec,_0x2cd890,_0x1348b5,_0x1a3ea6,_0x1a6222){var _0x544c8d=this;_0x544c8d['currentUser']=_0x2cd890[_0x1cd3('0x5d')]();_0x544c8d[_0x1cd3('0xd34')]=[];_0x544c8d[_0x1cd3('0xc49')]=_0x1a3ea6;_0x544c8d[_0x1cd3('0x463')]=_0x1348b5;_0x544c8d[_0x1cd3('0xd27')]=_0x1a6222;_0x544c8d['hasModulePermissions']={};_0x544c8d['passwordPattern']=_0x544c8d['setting']&&_0x544c8d['setting']['securePassword']?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x544c8d[_0x1cd3('0x486')]=_0x1cd3('0x22a2');_0x544c8d[_0x1cd3('0x63e')]=angular[_0x1cd3('0x429')](_0x4714b8);_0x544c8d[_0x1cd3('0x1381')]=_0x59dbcc;_0x544c8d[_0x1cd3('0x22a3')]=![];if(!_0x544c8d[_0x1cd3('0x63e')]){_0x544c8d[_0x1cd3('0x63e')]={};_0x544c8d[_0x1cd3('0x486')]=_0x1cd3('0x22a4');_0x544c8d['newPause']=!![];}_0x544c8d[_0x1cd3('0x22a5')]=_0x6c1ac4;_0x544c8d[_0x1cd3('0x22a6')]=_0x1f4863;_0x544c8d['deletePause']=_0x5e40e3;_0x544c8d['getDateFromString']=_0x4cbf06;_0x544c8d[_0x1cd3('0x39c')]=_0x13e18a;function _0x6c1ac4(){_0x544c8d[_0x1cd3('0xd34')]=[];_0x243bec[_0x1cd3('0x63e')][_0x1cd3('0xd6d')](_0x544c8d[_0x1cd3('0x63e')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0xa9f145){_0x544c8d[_0x1cd3('0x1381')][_0x1cd3('0x621')](_0xa9f145[_0x1cd3('0xd32')]());_0x57da6c['success']({'title':_0x1cd3('0x22a7'),'msg':_0x544c8d[_0x1cd3('0x63e')][_0x1cd3('0x98')]?_0x544c8d[_0x1cd3('0x63e')]['name']+'\x20has\x20been\x20created!':''});_0x13e18a(_0xa9f145);})['catch'](function(_0x2d8208){if(_0x2d8208[_0x1cd3('0x439')]&&_0x2d8208[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x2d8208['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x544c8d[_0x1cd3('0xd34')]=_0x2d8208[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x2d8208['toString'](),'type':_0x1cd3('0x22a8')}];for(var _0x41b925=0x0;_0x41b925<_0x2d8208['data']['errors'][_0x1cd3('0x7a')];_0x41b925+=0x1){_0x57da6c[_0x1cd3('0x434')]({'title':_0x2d8208[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x41b925][_0x1cd3('0x424')],'msg':_0x2d8208[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x41b925][_0x1cd3('0x43a')]});}}else{_0x57da6c[_0x1cd3('0x434')]({'title':_0x2d8208[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x2d8208[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x2d8208[_0x1cd3('0xd35')]:'api.pause.save','msg':_0x2d8208[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x2d8208['data'][_0x1cd3('0x43a')]):_0x2d8208[_0x1cd3('0x43b')]()});}});}function _0x1f4863(){_0x544c8d[_0x1cd3('0xd34')]=[];_0x243bec['pause']['update']({'id':_0x544c8d[_0x1cd3('0x63e')]['id']},_0x544c8d[_0x1cd3('0x63e')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x307998){var _0x5d8c42=_[_0x1cd3('0x442')](_0x544c8d[_0x1cd3('0x1381')],{'id':_0x307998['id']});if(_0x5d8c42){_[_0x1cd3('0xf2')](_0x5d8c42,_[_0x1cd3('0x5e8')](_0x307998[_0x1cd3('0xd32')](),_[_0x1cd3('0x80')](_0x5d8c42)));}_0x57da6c['success']({'title':_0x1cd3('0x22a9'),'msg':_0x544c8d[_0x1cd3('0x63e')]['name']?_0x544c8d['pause']['name']+_0x1cd3('0xd37'):''});_0x13e18a(_0x307998);})[_0x1cd3('0xfd')](function(_0x529a53){if(_0x529a53['data']&&_0x529a53[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x529a53[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')]){_0x544c8d['errors']=_0x529a53[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x529a53[_0x1cd3('0x43b')](),'type':'api.pause.update'}];for(var _0x1a9a54=0x0;_0x1a9a54<_0x529a53[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x1a9a54++){_0x57da6c[_0x1cd3('0x434')]({'title':_0x529a53[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1a9a54][_0x1cd3('0x424')],'msg':_0x529a53['data'][_0x1cd3('0xd34')][_0x1a9a54][_0x1cd3('0x43a')]});}}else{_0x57da6c[_0x1cd3('0x434')]({'title':_0x529a53[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x529a53[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x529a53[_0x1cd3('0xd35')]:_0x1cd3('0x22aa'),'msg':_0x529a53[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x529a53[_0x1cd3('0x439')]['message']):_0x529a53['toString']()});}});}function _0x5e40e3(_0xa4e9c7){_0x544c8d[_0x1cd3('0xd34')]=[];var _0x25f427=_0x23c9ef[_0x1cd3('0xd39')]()['title']('Are\x20you\x20sure?')['content'](_0x1cd3('0x22ab'))[_0x1cd3('0xd3d')]('Delete\x20Pause')['ok'](_0x1cd3('0xd3f'))[_0x1cd3('0x4d8')](_0x1cd3('0x674'))['targetEvent'](_0xa4e9c7);_0x23c9ef[_0x1cd3('0x37e')](_0x25f427)[_0x1cd3('0x77')](function(){_0x243bec[_0x1cd3('0x63e')][_0x1cd3('0xa1c')]({'id':_0x544c8d[_0x1cd3('0x63e')]['id']})[_0x1cd3('0x81')]['then'](function(){_['remove'](_0x544c8d[_0x1cd3('0x1381')],{'id':_0x544c8d[_0x1cd3('0x63e')]['id']});_0x57da6c[_0x1cd3('0x473')]({'title':'Pause\x20properly\x20deleted!','msg':(_0x544c8d['pause'][_0x1cd3('0x98')]||_0x1cd3('0x63e'))+_0x1cd3('0xd41')});_0x13e18a(_0x544c8d[_0x1cd3('0x63e')]);})[_0x1cd3('0xfd')](function(_0x340fcc){if(_0x340fcc['data']&&_0x340fcc['data'][_0x1cd3('0xd34')]&&_0x340fcc[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x544c8d[_0x1cd3('0xd34')]=_0x340fcc[_0x1cd3('0x439')]['errors']||[{'message':_0x340fcc[_0x1cd3('0x43b')](),'type':'api.pause.delete'}];for(var _0xb59308=0x0;_0xb59308<_0x340fcc[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0xb59308++){_0x57da6c[_0x1cd3('0x434')]({'title':_0x340fcc[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0xb59308][_0x1cd3('0x424')],'msg':_0x340fcc[_0x1cd3('0x439')]['errors'][_0xb59308][_0x1cd3('0x43a')]});}}else{_0x57da6c[_0x1cd3('0x434')]({'title':_0x340fcc[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x340fcc[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x340fcc[_0x1cd3('0xd35')]:_0x1cd3('0x22ac'),'msg':_0x340fcc[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x340fcc[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x340fcc['message']||_0x340fcc['toString']()});}});},function(){});}function _0x4cbf06(_0x402253){return _0x402253===null?undefined:new Date(_0x402253);}function _0x13e18a(_0x54ed49){_0x23c9ef['hide'](_0x54ed49);}}}());(function(){'use strict';_0x5cb23f[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x371'),_0x1cd3('0x53e'),_0x1cd3('0x969'),_0x1cd3('0x3c5'),_0x1cd3('0x372'),_0x1cd3('0x3e7'),_0x1cd3('0x3f7'),_0x1cd3('0x1381'),_0x1cd3('0x38a'),_0x1cd3('0x390'),_0x1cd3('0x370'),_0x1cd3('0x2dd'),'toasty','Auth',_0x1cd3('0x463'),_0x1cd3('0xc49')];angular[_0x1cd3('0x0')]('app.tools')[_0x1cd3('0x39b')](_0x1cd3('0x22ad'),_0x5cb23f);function _0x5cb23f(_0x2423dc,_0x1df515,_0x26d96a,_0x53d727,_0xa8a3a5,_0x24e0a1,_0xc49f82,_0x1aa302,_0x56cbcd,_0x5ef0d1,_0x3cc2e5,_0x2680eb,_0x1afa4c,_0x2d8fde,_0x19897f,_0x43b019,_0x264a48){var _0x5c01b0=this;_0x5c01b0[_0x1cd3('0x463')]=_0x43b019;_0x5c01b0[_0x1cd3('0xc49')]=_0x264a48;_0x5c01b0[_0x1cd3('0x3ca')]=_0x19897f[_0x1cd3('0x5d')]();_0x5c01b0['pauses']=_0x56cbcd||{'count':0x0,'rows':[]};_0x5c01b0[_0x1cd3('0x38a')]=_0x5ef0d1;_0x5c01b0['userProfileSection']=_0x3cc2e5&&_0x3cc2e5[_0x1cd3('0x466')]==0x1?_0x3cc2e5[_0x1cd3('0xf6')][0x0]:null;_0x5c01b0[_0x1cd3('0xd27')]=_0x19897f[_0x1cd3('0xd44')](_0x5c01b0[_0x1cd3('0x390')]?_0x5c01b0[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);_0x5c01b0[_0x1cd3('0xd45')]='pauses';_0x5c01b0['listOrder']='';_0x5c01b0[_0x1cd3('0xd47')]=null;_0x5c01b0[_0x1cd3('0x22ae')]=[];_0x5c01b0[_0x1cd3('0x3d4')]={'fields':_0x1cd3('0x295'),'sort':_0x1cd3('0x5b'),'limit':0xa,'page':0x1};_0x5c01b0[_0x1cd3('0xd48')]=_0x16f23b;_0x5c01b0['deleteconfirm']=_0x3cd81e;_0x5c01b0['success']=_0x2f8449;_0x5c01b0[_0x1cd3('0x22af')]=_0x1b8c9e;_0x5c01b0['createOrEditPause']=_0x331964;_0x5c01b0[_0x1cd3('0x22b0')]=_0x77575b;_0x5c01b0[_0x1cd3('0x22b1')]=_0x1b3e59;_0x5c01b0['deleteSelectedPauses']=_0x5e468e;_0x5c01b0[_0x1cd3('0x22b2')]=_0x54937a;_0x5c01b0['selectAllPauses']=_0x5eba88;function _0x16f23b(_0x3d5687,_0x26f3d2){_0xa8a3a5[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x22a1'),'controllerAs':'vm','templateUrl':_0x1cd3('0x22b3'),'parent':angular['element'](_0x24e0a1['body']),'targetEvent':_0x26f3d2,'clickOutsideToClose':!![],'locals':{'pause':_0x3d5687,'pauses':_0x5c01b0[_0x1cd3('0x1381')]['rows'],'license':_0x5c01b0['license'],'setting':null,'crudPermissions':_0x5c01b0[_0x1cd3('0xd27')]}});}function _0x3cd81e(_0x25efe8,_0x7e54e0){var _0xa96f73=_0xa8a3a5[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xd4f')+_['startCase'](_0x1cd3('0x63e'))+'?')[_0x1cd3('0xd60')](_0x1cd3('0xd51')+(_0x25efe8[_0x1cd3('0x98')]||'pause')+'</b>'+_0x1cd3('0xd53'))['ariaLabel'](_0x1cd3('0x22b4'))['targetEvent'](_0x7e54e0)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0xa8a3a5[_0x1cd3('0x37e')](_0xa96f73)[_0x1cd3('0x77')](function(){_0x77575b(_0x25efe8);},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}var _0x5ef54f=!![];var _0x210d5f=0x1;_0x2423dc[_0x1cd3('0x4d6')](_0x1cd3('0xd56'),function(_0x26b47f,_0x34c57b){if(_0x5ef54f){_0xc49f82(function(){_0x5ef54f=![];});}else{if(!_0x34c57b){_0x210d5f=_0x5c01b0['query']['page'];}if(_0x26b47f!==_0x34c57b){_0x5c01b0[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}if(!_0x26b47f){_0x5c01b0[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0x210d5f;}_0x5c01b0[_0x1cd3('0x22af')]();}});function _0x2f8449(_0x7c54d4){_0x5c01b0[_0x1cd3('0x1381')]=_0x7c54d4||{'count':0x0,'rows':[]};}function _0x1b8c9e(){_0x5c01b0[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0x5c01b0[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0x5c01b0[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];if(_0x19897f[_0x1cd3('0x57')](_0x1cd3('0x5f'))){_0x5c01b0[_0x1cd3('0x539')]=_0x2680eb[_0x1cd3('0x63e')][_0x1cd3('0x361')](_0x5c01b0[_0x1cd3('0x3d4')],_0x2f8449)[_0x1cd3('0x81')];}else{_0x5c01b0[_0x1cd3('0x3d4')]['id']=_0x5c01b0[_0x1cd3('0x38a')]['id'];_0x5c01b0[_0x1cd3('0x3d4')]['section']=_0x1cd3('0xb3');_0x5c01b0[_0x1cd3('0x539')]=_0x2680eb[_0x1cd3('0x38a')][_0x1cd3('0xd59')](_0x5c01b0[_0x1cd3('0x3d4')],_0x2f8449)[_0x1cd3('0x81')];}}function _0x331964(_0x3cc582,_0x2886c5){_0xa8a3a5['show']({'controller':_0x1cd3('0x22a1'),'controllerAs':'vm','templateUrl':_0x1cd3('0x22b3'),'parent':angular[_0x1cd3('0x37f')](_0x24e0a1[_0x1cd3('0x380')]),'targetEvent':_0x3cc582,'clickOutsideToClose':!![],'locals':{'pause':_0x2886c5,'pauses':_0x5c01b0[_0x1cd3('0x1381')][_0x1cd3('0xf6')],'license':_0x5c01b0['license'],'setting':_0x5c01b0[_0x1cd3('0xc49')],'crudPermissions':_0x5c01b0['crudPermissions']}});}function _0x77575b(_0xa4d581){_0x2680eb[_0x1cd3('0x63e')][_0x1cd3('0xa1c')]({'id':_0xa4d581['id']})[_0x1cd3('0x81')]['then'](function(){_['remove'](_0x5c01b0[_0x1cd3('0x1381')][_0x1cd3('0xf6')],{'id':_0xa4d581['id']});_0x5c01b0[_0x1cd3('0x1381')][_0x1cd3('0x466')]-=0x1;if(!_0x5c01b0[_0x1cd3('0x1381')][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){_0x5c01b0[_0x1cd3('0x22af')]();}_0x2d8fde[_0x1cd3('0x473')]({'title':_['startCase'](_0x1cd3('0x13d0'))+_0x1cd3('0xd5c'),'msg':_0xa4d581[_0x1cd3('0x98')]?_0xa4d581[_0x1cd3('0x98')]+_0x1cd3('0xd41'):''});})['catch'](function(_0x4ec00f){if(_0x4ec00f[_0x1cd3('0x439')]&&_0x4ec00f[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x4ec00f[_0x1cd3('0x439')]['errors']['length']){_0x5c01b0['errors']=_0x4ec00f[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x4ec00f[_0x1cd3('0x43b')](),'type':_0x1cd3('0x22b5')}];for(var _0xd84479=0x0;_0xd84479<_0x4ec00f[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0xd84479++){_0x2d8fde[_0x1cd3('0x434')]({'title':_0x4ec00f[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0xd84479][_0x1cd3('0x424')],'msg':_0x4ec00f[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0xd84479][_0x1cd3('0x43a')]});}}else{_0x2d8fde['error']({'title':_0x4ec00f[_0x1cd3('0x3a6')]?'API:'+_0x4ec00f[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x4ec00f[_0x1cd3('0xd35')]:_0x1cd3('0x22b5'),'msg':_0x4ec00f[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x4ec00f[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x4ec00f[_0x1cd3('0x43a')]||_0x4ec00f[_0x1cd3('0x43b')]()});}});}function _0x1b3e59(){var _0x3499a3=angular[_0x1cd3('0x429')](_0x5c01b0[_0x1cd3('0x22ae')]);_0x5c01b0['selectedPauses']=[];return _0x3499a3;}function _0x5e468e(_0x17f281){var _0x2ffed9=_0xa8a3a5[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x22b6'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x5c01b0['selectedPauses'][_0x1cd3('0x7a')]+'\x20selected</b>'+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x22b7'))[_0x1cd3('0xd63')](_0x17f281)['ok']('OK')['cancel'](_0x1cd3('0xd55'));_0xa8a3a5[_0x1cd3('0x37e')](_0x2ffed9)[_0x1cd3('0x77')](function(){_0x5c01b0[_0x1cd3('0x22ae')]['forEach'](function(_0x3f8d1d){_0x77575b(_0x3f8d1d);});_0x5c01b0[_0x1cd3('0x22ae')]=[];});}function _0x54937a(){_0x5c01b0['selectedPauses']=[];}function _0x5eba88(){_0x5c01b0[_0x1cd3('0x22ae')]=_0x5c01b0['pauses'][_0x1cd3('0xf6')];}}}());(function(){'use strict';_0x20b9a3['$inject']=[_0x1cd3('0x460'),_0x1cd3('0x53e'),_0x1cd3('0xd24'),'$mdDialog','$q','$translate','toasty','schedules',_0x1cd3('0xb70'),_0x1cd3('0x370'),_0x1cd3('0x56'),'license',_0x1cd3('0xc49'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x33'))[_0x1cd3('0x39b')]('CreateOrEditScheduleDialogController',_0x20b9a3);function _0x20b9a3(_0x32f962,_0x2a9b3a,_0x21bc7a,_0x5e1025,_0x1a7017,_0x4aa024,_0x8c665e,_0x33425c,_0x142121,_0x3d0b92,_0x142762,_0x2b5a02,_0x1136c6,_0x436245){var _0x3f9f21=this;_0x3f9f21[_0x1cd3('0x3ca')]=_0x142762[_0x1cd3('0x5d')]();_0x3f9f21['errors']=[];_0x3f9f21['setting']=_0x1136c6;_0x3f9f21[_0x1cd3('0x463')]=_0x2b5a02;_0x3f9f21[_0x1cd3('0xd27')]=_0x436245;_0x3f9f21[_0x1cd3('0xd28')]={};_0x3f9f21['passwordPattern']=_0x3f9f21[_0x1cd3('0xc49')]&&_0x3f9f21[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x3f9f21['title']='TOOLS.EDIT_SCHEDULE';_0x3f9f21[_0x1cd3('0xb70')]=angular['copy'](_0x142121);_0x3f9f21['schedules']=_0x33425c;_0x3f9f21[_0x1cd3('0x22b8')]=![];_0x3f9f21[_0x1cd3('0x2262')]=[];_0x3f9f21[_0x1cd3('0x3d4')]={'fields':'createdAt,updatedAt,id,name,description,table,parent,conditions,joins','limit':0xa,'page':0x1,'sort':_0x1cd3('0x5b')};if(!_0x3f9f21[_0x1cd3('0xb70')]){_0x3f9f21[_0x1cd3('0xb70')]={'output':_0x1cd3('0xeb1'),'active':!![],'startAt':new Date(),'endAt':new Date(Date[_0x1cd3('0x912')]()+0x1e*0x18*0x3c*0x3c*0x3e8),'cron':_0x1cd3('0x22b9'),'subtractNumber':0x1,'subtractUnit':_0x1cd3('0x78f'),'sendMail':![],'sendIfEmpty':!![]};_0x3f9f21[_0x1cd3('0x486')]='TOOLS.NEW_SCHEDULE';_0x3f9f21[_0x1cd3('0x22b8')]=!![];}else{_0x3f9f21[_0x1cd3('0xde9')]=_0x3f9f21[_0x1cd3('0xb70')][_0x1cd3('0xde5')]?_0x1cd3('0x8f7'):_0x1cd3('0x8f9');var _0x15e00e=_0x3f9f21[_0x1cd3('0xb70')][_0x1cd3('0xde5')]?_0x3f9f21[_0x1cd3('0xb70')][_0x1cd3('0xde5')]:_0x3f9f21['schedule'][_0x1cd3('0xe27')];_0x3d0b92[_0x3f9f21[_0x1cd3('0xde9')]][_0x1cd3('0x361')]({'fields':'id,name,parent'})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x117796){_0x3f9f21[_0x1cd3('0x2252')]=_[_0x1cd3('0x442')](_0x117796[_0x1cd3('0xf6')],{'id':_0x15e00e});_0x3f9f21[_0x1cd3('0xb70')][_0x1cd3('0xdda')]=_0x3f9f21[_0x1cd3('0x2252')]['name'];_0x3f9f21[_0x1cd3('0x3d4')][_0x1cd3('0x36c')]=_0x3f9f21[_0x1cd3('0x2252')][_0x1cd3('0x36c')];});}_0x3f9f21['addNewSchedule']=_0x12e99f;_0x3f9f21['saveSchedule']=_0x225bd0;_0x3f9f21[_0x1cd3('0x22ba')]=_0x1d8b3a;_0x3f9f21['getDateFromString']=_0x141c6f;_0x3f9f21[_0x1cd3('0xe76')]=_0x56f85a;_0x3f9f21[_0x1cd3('0x2255')]=_0x1826b8;_0x3f9f21[_0x1cd3('0x22bb')]=_0x421bab;_0x3f9f21['searchReport']=_0x144b0e;_0x3f9f21[_0x1cd3('0x39c')]=_0x50f25e;_0x3d0b92[_0x1cd3('0xe9e')][_0x1cd3('0x361')]({})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x11da6d){_0x3f9f21[_0x1cd3('0xe6e')]=_0x11da6d['rows']||[];})[_0x1cd3('0xfd')](function(_0x543f5a){_0x8c665e['error']({'title':_0x543f5a[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x543f5a[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x543f5a[_0x1cd3('0xd35')]:_0x1cd3('0x2257'),'msg':_0x543f5a[_0x1cd3('0x439')]?JSON['stringify'](_0x543f5a['data']):_0x543f5a['toString']()});});_0x142762[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x3d0b92['mailAccount'][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x1d3aee){_0x3f9f21['mailAccounts']=_0x1d3aee['rows']||[];})['catch'](function(_0x5724a1){_0x8c665e[_0x1cd3('0x434')]({'title':_0x5724a1['status']?'API:'+_0x5724a1[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x5724a1[_0x1cd3('0xd35')]:'SYSTEM:GET_MAILACCOUNTS','msg':_0x5724a1[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x5724a1[_0x1cd3('0x439')]):_0x5724a1['toString']()});}):_0x3d0b92[_0x1cd3('0xa7a')][_0x1cd3('0x361')]({'fields':'id,name','sort':_0x1cd3('0x98')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x52e4d1){_0x3f9f21[_0x1cd3('0xefa')]=_0x52e4d1[_0x1cd3('0xf6')]||[];})['then'](function(){return _0x3d0b92[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x3f9f21[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x25a})[_0x1cd3('0x81')];})['then'](function(_0x4b2421){var _0x581013=_0x4b2421&&_0x4b2421['rows']?_0x4b2421[_0x1cd3('0xf6')][0x0]:null;if(!_0x581013){var _0x19aab5=[];var _0x4592ae=null;if(_0x3f9f21[_0x1cd3('0xb70')]){_0x4592ae=_[_0x1cd3('0x442')](_0x3f9f21['mailAccounts'],{'id':Number(_0x3f9f21[_0x1cd3('0xb70')]['MailAccountId'])});}for(var _0x55f36d=0x0;_0x55f36d<_0x3f9f21[_0x1cd3('0xefa')][_0x1cd3('0x7a')];_0x55f36d++){if(_0x4592ae&&_0x3f9f21[_0x1cd3('0xefa')][_0x55f36d]['id']===_0x4592ae['id']){_0x3f9f21['mailAccounts'][_0x55f36d][_0x1cd3('0xf4a')]=![];_0x19aab5[_0x1cd3('0x7b')](_0x3f9f21[_0x1cd3('0xefa')][_0x55f36d]);}}_0x3f9f21[_0x1cd3('0xefa')]=_0x19aab5;}else{if(!_0x581013[_0x1cd3('0x391')]){return _0x3d0b92[_0x1cd3('0x392')]['get']({'sectionId':_0x581013['id']})['$promise'][_0x1cd3('0x77')](function(_0x40627d){var _0x2dc4ae=_[_0x1cd3('0x3d9')](_0x40627d[_0x1cd3('0xf6')],function(_0x2cc696){return _[_0x1cd3('0x442')](_0x3f9f21[_0x1cd3('0xefa')],{'id':_0x2cc696[_0x1cd3('0xe8e')]});});var _0x337b74=null;if(_0x3f9f21[_0x1cd3('0xb70')]){_0x337b74=_['find'](_0x3f9f21[_0x1cd3('0xefa')],{'id':Number(_0x3f9f21['schedule'][_0x1cd3('0x1492')])});}if(_0x337b74&&!_['some'](_0x2dc4ae,['id',_0x337b74['id']])){var _0xd12a51=_['find'](_0x3f9f21[_0x1cd3('0xefa')],{'id':_0x337b74['id']});_0xd12a51[_0x1cd3('0xf4a')]=![];_0x2dc4ae['push'](_0xd12a51);}_0x3f9f21[_0x1cd3('0xefa')]=_0x2dc4ae;});}}})[_0x1cd3('0xfd')](function(_0x32892b){_0x8c665e[_0x1cd3('0x434')]({'title':_0x32892b['status']?_0x1cd3('0x435')+_0x32892b[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x32892b[_0x1cd3('0xd35')]:_0x1cd3('0x22bc'),'msg':_0x32892b['data']?JSON[_0x1cd3('0x438')](_0x32892b[_0x1cd3('0x439')]):_0x32892b[_0x1cd3('0x43b')]()});});function _0x12e99f(){_0x3f9f21['errors']=[];_0x3d0b92[_0x1cd3('0xb70')][_0x1cd3('0xd6d')](_0x3f9f21['schedule'])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0xb2790f){_0x3f9f21[_0x1cd3('0x22bd')]['unshift'](_0xb2790f[_0x1cd3('0xd32')]());_0x8c665e[_0x1cd3('0x473')]({'title':_0x1cd3('0x22be'),'msg':_0x3f9f21[_0x1cd3('0xb70')]['name']?_0x3f9f21['schedule'][_0x1cd3('0x98')]+'\x20has\x20been\x20created!':''});_0x50f25e(_0xb2790f);})['catch'](function(_0x138a3b){if(_0x138a3b['data']&&_0x138a3b[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x138a3b[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length']){_0x3f9f21[_0x1cd3('0xd34')]=_0x138a3b['data']['errors']||[{'message':_0x138a3b[_0x1cd3('0x43b')](),'type':'api.schedule.save'}];for(var _0x435512=0x0;_0x435512<_0x138a3b[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x435512+=0x1){_0x8c665e[_0x1cd3('0x434')]({'title':_0x138a3b[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x435512]['type'],'msg':_0x138a3b[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x435512][_0x1cd3('0x43a')]});}}else{_0x8c665e[_0x1cd3('0x434')]({'title':_0x138a3b[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x138a3b['status']+_0x1cd3('0x436')+_0x138a3b[_0x1cd3('0xd35')]:_0x1cd3('0x22bf'),'msg':_0x138a3b['data']?JSON[_0x1cd3('0x438')](_0x138a3b[_0x1cd3('0x439')]['message']):_0x138a3b[_0x1cd3('0x43b')]()});}});}function _0x225bd0(){_0x3f9f21[_0x1cd3('0xd34')]=[];_0x3d0b92['schedule'][_0x1cd3('0x378')]({'id':_0x3f9f21[_0x1cd3('0xb70')]['id']},_0x3f9f21[_0x1cd3('0xb70')])['$promise'][_0x1cd3('0x77')](function(_0x5d8a37){var _0x3a5dd0=_['find'](_0x3f9f21[_0x1cd3('0x22bd')],{'id':_0x5d8a37['id']});if(_0x3a5dd0){_[_0x1cd3('0xf2')](_0x3a5dd0,_[_0x1cd3('0x5e8')](_0x5d8a37['toJSON'](),_[_0x1cd3('0x80')](_0x3a5dd0)));}_0x8c665e[_0x1cd3('0x473')]({'title':'Schedule\x20properly\x20saved!','msg':_0x3f9f21[_0x1cd3('0xb70')][_0x1cd3('0x98')]?_0x3f9f21[_0x1cd3('0xb70')][_0x1cd3('0x98')]+'\x20has\x20been\x20saved!':''});_0x50f25e(_0x5d8a37);})[_0x1cd3('0xfd')](function(_0x163de0){if(_0x163de0['data']&&_0x163de0['data']['errors']&&_0x163de0[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x3f9f21[_0x1cd3('0xd34')]=_0x163de0[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x163de0[_0x1cd3('0x43b')](),'type':_0x1cd3('0x22c0')}];for(var _0x23f5db=0x0;_0x23f5db<_0x163de0[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0x23f5db++){_0x8c665e['error']({'title':_0x163de0[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x23f5db][_0x1cd3('0x424')],'msg':_0x163de0[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x23f5db][_0x1cd3('0x43a')]});}}else{_0x8c665e[_0x1cd3('0x434')]({'title':_0x163de0[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x163de0['status']+_0x1cd3('0x436')+_0x163de0[_0x1cd3('0xd35')]:_0x1cd3('0x22c0'),'msg':_0x163de0[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x163de0[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x163de0[_0x1cd3('0x43b')]()});}});}function _0x1d8b3a(_0x4376de){_0x3f9f21[_0x1cd3('0xd34')]=[];var _0x13fe75=_0x5e1025[_0x1cd3('0xd39')]()['title'](_0x1cd3('0xd3a'))[_0x1cd3('0xd3b')](_0x1cd3('0x22c1'))['ariaLabel'](_0x1cd3('0x22c2'))['ok'](_0x1cd3('0xd3f'))[_0x1cd3('0x4d8')](_0x1cd3('0x674'))[_0x1cd3('0xd63')](_0x4376de);_0x5e1025[_0x1cd3('0x37e')](_0x13fe75)[_0x1cd3('0x77')](function(){_0x3d0b92[_0x1cd3('0xb70')][_0x1cd3('0xa1c')]({'id':_0x3f9f21[_0x1cd3('0xb70')]['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x3f9f21[_0x1cd3('0x22bd')],{'id':_0x3f9f21[_0x1cd3('0xb70')]['id']});_0x8c665e[_0x1cd3('0x473')]({'title':_0x1cd3('0x22c3'),'msg':(_0x3f9f21['schedule'][_0x1cd3('0x98')]||_0x1cd3('0xb70'))+'\x20has\x20been\x20deleted!'});_0x50f25e(_0x3f9f21[_0x1cd3('0xb70')]);})[_0x1cd3('0xfd')](function(_0x49b1c9){if(_0x49b1c9[_0x1cd3('0x439')]&&_0x49b1c9['data']['errors']&&_0x49b1c9[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x3f9f21[_0x1cd3('0xd34')]=_0x49b1c9[_0x1cd3('0x439')]['errors']||[{'message':_0x49b1c9[_0x1cd3('0x43b')](),'type':_0x1cd3('0x22c4')}];for(var _0x3238df=0x0;_0x3238df<_0x49b1c9['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x3238df++){_0x8c665e[_0x1cd3('0x434')]({'title':_0x49b1c9[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x3238df][_0x1cd3('0x424')],'msg':_0x49b1c9['data']['errors'][_0x3238df]['message']});}}else{_0x8c665e['error']({'title':_0x49b1c9[_0x1cd3('0x3a6')]?'API:'+_0x49b1c9['status']+'\x20-\x20'+_0x49b1c9[_0x1cd3('0xd35')]:_0x1cd3('0x22c4'),'msg':_0x49b1c9[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x49b1c9[_0x1cd3('0x439')]['message']):_0x49b1c9[_0x1cd3('0x43a')]||_0x49b1c9['toString']()});}});},function(){});}function _0x2b279e(){var _0x21f113={'core':{'multiple':![],'animation':!![],'error':function(_0x306957){console[_0x1cd3('0x434')](_0x1cd3('0xddf')+angular[_0x1cd3('0x552')](_0x306957));},'check_callback':!![],'worker':!![]},'version':0x1,'plugins':[_0x1cd3('0xea2')]};if(_0x3f9f21[_0x1cd3('0x3ca')][_0x1cd3('0x388')]!==_0x1cd3('0x5f')){return _0x3d0b92[_0x1cd3('0x390')][_0x1cd3('0x361')]({'fields':'id,name,enabled,includeAll,autoAssociation,crudPermissions','userProfileId':_0x3f9f21[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x4b3})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x435438){_0x3f9f21[_0x1cd3('0x390')]=_0x435438&&_0x435438[_0x1cd3('0x466')]==0x1?_0x435438[_0x1cd3('0xf6')][0x0]:null;return _0x21f113;})[_0x1cd3('0xfd')](function(_0x4ee62c){_0x8c665e[_0x1cd3('0x434')]({'title':_0x1cd3('0x1331'),'msg':_0x4ee62c['message']});});}else{return _0x21f113;}}function _0x2bc080(_0x147e66){return _0x147e66?{'loaded':_0x47ce2f,'select_node':_0xc4585a}:{'loaded':_0x446b27,'select_node':_0x30b93a};}function _0xc4585a(_0x49e606,_0x53e89b){_0x3f9f21['treeDefaultInstance'][_0x1cd3('0xe80')](!![])['deselect_all']();_0x3f9f21[_0x1cd3('0xe8b')]['jstree'](!![])['close_all']();_0x3f9f21[_0x1cd3('0xde8')]=_0x53e89b[_0x1cd3('0x56e')];_0x3f9f21[_0x1cd3('0xde8')][_0x1cd3('0x8f6')]=!![];_0x3f9f21['currentPath']=_0x3f9f21['treeCustomInstance']['jstree'](!![])[_0x1cd3('0xe9b')](_0x3f9f21[_0x1cd3('0xde8')])['join']('/\x20');_0x3f9f21[_0x1cd3('0xde9')]=_0x1cd3('0x8f9');_0x3f9f21[_0x1cd3('0x3d4')]['parent']=_0x53e89b[_0x1cd3('0x56e')]['id'];_0x56f85a();}function _0x30b93a(_0x46bb29,_0x5626ef){_0x3f9f21[_0x1cd3('0xe7f')][_0x1cd3('0xe80')](!![])[_0x1cd3('0xe9c')]();_0x3f9f21[_0x1cd3('0xe7f')][_0x1cd3('0xe80')](!![])[_0x1cd3('0xe9a')]();_0x3f9f21['currentNode']=_0x5626ef['node'];_0x3f9f21[_0x1cd3('0xde8')]['custom']=![];_0x3f9f21[_0x1cd3('0xe71')]=_0x3f9f21[_0x1cd3('0xe8b')][_0x1cd3('0xe80')](!![])[_0x1cd3('0xe9b')](_0x3f9f21[_0x1cd3('0xde8')])[_0x1cd3('0x3de')]('/\x20');_0x3f9f21[_0x1cd3('0xde9')]=_0x1cd3('0x8f7');_0x3f9f21[_0x1cd3('0x3d4')][_0x1cd3('0x36c')]=_0x5626ef[_0x1cd3('0x56e')]['id'];_0x56f85a();}function _0x47ce2f(){if(!_0x3f9f21['newSchedule']&&_0x3f9f21[_0x1cd3('0xde9')]===_0x1cd3('0x8f9')){var _0x889e9f=_0x3f9f21['treeCustomInstance'][_0x1cd3('0xe80')](!![])[_0x1cd3('0xeac')](_0x3f9f21['query'][_0x1cd3('0x36c')]);_0xc4585a(null,{'node':_0x889e9f,'selected':_0x889e9f['id']});}}function _0x446b27(){if(!_0x3f9f21[_0x1cd3('0x22b8')]&&_0x3f9f21[_0x1cd3('0xde9')]===_0x1cd3('0x8f7')){var _0x1bb05e=_0x3f9f21['treeDefaultInstance'][_0x1cd3('0xe80')](!![])[_0x1cd3('0xeac')](_0x3f9f21[_0x1cd3('0x3d4')][_0x1cd3('0x36c')]);_0x30b93a(null,{'node':_0x1bb05e,'selected':_0x1bb05e['id']});}}function _0x56f85a(){_0x3f9f21[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0x3f9f21[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0x3f9f21[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];if(_0x3f9f21[_0x1cd3('0xde9')]){if(_0x3f9f21[_0x1cd3('0x3ca')][_0x1cd3('0x388')]===_0x1cd3('0x5f')){_0x3f9f21[_0x1cd3('0x539')]=_0x3d0b92[_0x3f9f21[_0x1cd3('0xde9')]][_0x1cd3('0x361')](_0x3f9f21['query'],_0x29eb52)[_0x1cd3('0x81')];}else{if(!_0x3f9f21[_0x1cd3('0x390')]){return _0x29eb52(null);}else{if(_0x3f9f21[_0x1cd3('0x390')][_0x1cd3('0x391')]){_0x3f9f21['promise']=_0x3d0b92[_0x3f9f21['apiName']]['get'](_0x3f9f21[_0x1cd3('0x3d4')],_0x29eb52)[_0x1cd3('0x81')];}else{var _0x2a610d=[];_0x3f9f21['promise']=_0x3d0b92[_0x3f9f21[_0x1cd3('0xde9')]]['get'](_0x3f9f21[_0x1cd3('0x3d4')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x5f8ae3){_0x2a610d=_0x5f8ae3&&_0x5f8ae3['rows']?_0x5f8ae3[_0x1cd3('0xf6')]:[];if(_0x2a610d[_0x1cd3('0x7a')]>0x0){return _0x3d0b92[_0x1cd3('0x392')]['get']({'sectionId':_0x3f9f21['userProfileSection']['id'],'type':_0x3f9f21['apiName']===_0x1cd3('0x8f7')?_0x1cd3('0xe8c'):_0x1cd3('0xe8d')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x140b4c){var _0x378184=_0x140b4c&&_0x140b4c[_0x1cd3('0xf6')]?_0x140b4c['rows']:[];if(_0x378184['length']>0x0){var _0x308359=[];_0x2a610d['forEach'](function(_0x170520){var _0x3deb91=_[_0x1cd3('0x442')](_0x378184,[_0x1cd3('0xe8e'),_0x170520['id']]);if(_0x3deb91)_0x308359['push'](_0x170520);});return _0x29eb52({'count':_0x308359[_0x1cd3('0x7a')],'rows':_0x308359});}else{return _0x29eb52(null);}});}else{return _0x29eb52(null);}})[_0x1cd3('0xfd')](function(_0x3ed9d5){_0x8c665e[_0x1cd3('0x434')]({'title':_0x3ed9d5[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x3ed9d5['status']+_0x1cd3('0x436')+_0x3ed9d5['statusText']:_0x1cd3('0x2261'),'msg':_0x3ed9d5[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x3ed9d5['data']):_0x3ed9d5[_0x1cd3('0x43b')]()});});}}}}}function _0x29eb52(_0x3cbb78){_0x3f9f21[_0x1cd3('0xdee')]=_0x3cbb78||{'count':0x0,'rows':[]};if(!_0x3f9f21[_0x1cd3('0x22b8')]){_0x3f9f21[_0x1cd3('0x2262')][_0x1cd3('0x7b')](_[_0x1cd3('0x442')](_0x3f9f21[_0x1cd3('0xdee')][_0x1cd3('0xf6')],{'id':_0x3f9f21[_0x1cd3('0x2252')]['id']}));}}function _0x144b0e(){_0x3f9f21[_0x1cd3('0x22c5')]=_0x3f9f21[_0x1cd3('0xe6e')][0x0]?angular[_0x1cd3('0x4ec')](_0x3f9f21[_0x1cd3('0xe6e')][0x0]['tree']):[];_0x3f9f21['treeCustomData']=_0x3f9f21[_0x1cd3('0xe6e')][0x1]?angular[_0x1cd3('0x4ec')](_0x3f9f21['treeReports'][0x1]['tree']):[];_0x3f9f21[_0x1cd3('0x2263')]=_0x2b279e();_0x3f9f21[_0x1cd3('0xe7e')]=_0x2bc080(![]);_0x3f9f21['treeCustomEvents']=_0x2bc080(!![]);_0x5e1025[_0x1cd3('0x37e')]({'controller':function(){return _0x3f9f21;},'controllerAs':'vm','templateUrl':_0x1cd3('0x22c6'),'autoWrap':!![],'skipHide':!![]});}function _0x1826b8(){_0x3f9f21[_0x1cd3('0xb70')][_0x1cd3('0xdda')]=_0x3f9f21['selectedReport'][0x0][_0x1cd3('0x98')];if(_0x3f9f21[_0x1cd3('0xde8')][_0x1cd3('0x8f6')]){_0x3f9f21[_0x1cd3('0xb70')]['CustomReportId']=_0x3f9f21[_0x1cd3('0x2262')][0x0]['id'];delete _0x3f9f21[_0x1cd3('0xb70')][_0x1cd3('0xde5')];}else{_0x3f9f21[_0x1cd3('0xb70')][_0x1cd3('0xde5')]=_0x3f9f21[_0x1cd3('0x2262')][0x0]['id'];delete _0x3f9f21[_0x1cd3('0xb70')][_0x1cd3('0xe27')];}_0x32f962[_0x1cd3('0x22c7')][_0x1cd3('0xdda')]['$setDirty']();_0x5e1025[_0x1cd3('0x39d')]();}function _0x421bab(){_0x5e1025[_0x1cd3('0x39d')]();}function _0x141c6f(_0x4626eb){return _0x4626eb===null?undefined:new Date(_0x4626eb);}function _0x50f25e(_0x580b9c){_0x5e1025[_0x1cd3('0x39d')](_0x580b9c);}}}());(function(){'use strict';_0x5900d8[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x371'),'$state','$mdSidenav','$mdDialog',_0x1cd3('0x372'),'$timeout',_0x1cd3('0x3f7'),_0x1cd3('0x22bd'),'userProfile','userProfileSection','api','msUtils',_0x1cd3('0x461'),'Auth',_0x1cd3('0x463'),_0x1cd3('0xc49')];angular[_0x1cd3('0x0')](_0x1cd3('0x33'))[_0x1cd3('0x39b')]('SchedulesController',_0x5900d8);function _0x5900d8(_0x28e9f7,_0x1bc742,_0x43a22d,_0x271b5c,_0x9c91ef,_0x3bff67,_0x3e822b,_0x281973,_0x5d096c,_0x4bb407,_0x205a8a,_0x978f70,_0x200e18,_0x1fc18b,_0x51b8cc,_0xf28768,_0x2e684b){var _0x3ee6e3=this;_0x3ee6e3[_0x1cd3('0x463')]=_0xf28768;_0x3ee6e3[_0x1cd3('0xc49')]=_0x2e684b;_0x3ee6e3[_0x1cd3('0x3ca')]=_0x51b8cc[_0x1cd3('0x5d')]();_0x3ee6e3[_0x1cd3('0x22bd')]=_0x5d096c||{'count':0x0,'rows':[]};_0x3ee6e3[_0x1cd3('0x38a')]=_0x4bb407;_0x3ee6e3[_0x1cd3('0x390')]=_0x205a8a&&_0x205a8a[_0x1cd3('0x466')]==0x1?_0x205a8a['rows'][0x0]:null;_0x3ee6e3[_0x1cd3('0xd27')]=_0x51b8cc[_0x1cd3('0xd44')](_0x3ee6e3[_0x1cd3('0x390')]?_0x3ee6e3[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);_0x3ee6e3[_0x1cd3('0xd45')]='schedules';_0x3ee6e3['listOrder']='';_0x3ee6e3[_0x1cd3('0xd47')]=null;_0x3ee6e3['selectedScheduler']=[];_0x3ee6e3[_0x1cd3('0x3d4')]={'fields':_0x1cd3('0x2b7'),'sort':_0x1cd3('0x5b'),'limit':0xa,'page':0x1};_0x3ee6e3[_0x1cd3('0x22c8')]=_[_0x1cd3('0xe2d')]([{'option':_0x1cd3('0x22c9'),'value':_0x1cd3('0x22ca')},{'option':_0x1cd3('0x22cb'),'value':_0x1cd3('0x22cc')},{'option':_0x1cd3('0x22cd'),'value':_0x1cd3('0x22ce')}],function(_0x1f37de){return _[_0x1cd3('0x3f1')](_0x1f37de[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x3ee6e3[_0x1cd3('0x22cf')]=_['keyBy']([{'option':_0x1cd3('0x22d0'),'value':_0x1cd3('0x22d1')},{'option':_0x1cd3('0x22d2'),'value':_0x1cd3('0x22d3')},{'option':_0x1cd3('0x22d4'),'value':_0x1cd3('0x22d5')},{'option':_0x1cd3('0x22d6'),'value':_0x1cd3('0x22d7')},{'option':_0x1cd3('0x22d8'),'value':_0x1cd3('0x22d9')},{'option':_0x1cd3('0x22da'),'value':_0x1cd3('0x22db')},{'option':'Years','value':'\x27years\x27'}],function(_0x3b352b){return _[_0x1cd3('0x3f1')](_0x3b352b['value'],new RegExp('\x27','g'),'');});_0x3ee6e3[_0x1cd3('0xd48')]=_0x5ecf56;_0x3ee6e3[_0x1cd3('0x22dc')]=_0x1b5070;_0x3ee6e3[_0x1cd3('0xecc')]=_0x1d896f;_0x3ee6e3['success']=_0x47750b;_0x3ee6e3[_0x1cd3('0x22dd')]=_0x55acbd;_0x3ee6e3[_0x1cd3('0x22de')]=_0x1d6fdf;_0x3ee6e3[_0x1cd3('0x22ba')]=_0xa5c38;_0x3ee6e3[_0x1cd3('0x22df')]=_0x7e1f6d;_0x3ee6e3[_0x1cd3('0x22e0')]=_0x17ee03;_0x3ee6e3[_0x1cd3('0x22e1')]=_0x435852;_0x3ee6e3[_0x1cd3('0x22e2')]=_0x3e4890;_0x978f70[_0x1cd3('0xe9e')][_0x1cd3('0x361')]({})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x594333){_0x3ee6e3[_0x1cd3('0xe6e')]=_0x594333[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x1a96cc){_0x1fc18b[_0x1cd3('0x434')]({'title':_0x1a96cc[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x1a96cc[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x1a96cc[_0x1cd3('0xd35')]:'SYSTEM:GET_TREEREPORTS','msg':_0x1a96cc['data']?JSON[_0x1cd3('0x438')](_0x1a96cc['data']):_0x1a96cc['toString']()});});_0x51b8cc['hasRole'](_0x1cd3('0x5f'))?_0x978f70[_0x1cd3('0xa7a')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98')})[_0x1cd3('0x81')]['then'](function(_0x3355b4){_0x3ee6e3[_0x1cd3('0xefa')]=_0x3355b4[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x186630){_0x1fc18b['error']({'title':_0x186630['status']?_0x1cd3('0x435')+_0x186630[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x186630[_0x1cd3('0xd35')]:_0x1cd3('0x22e3'),'msg':_0x186630[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x186630[_0x1cd3('0x439')]):_0x186630[_0x1cd3('0x43b')]()});}):_0x978f70[_0x1cd3('0xa7a')][_0x1cd3('0x361')]({'fields':'id,name','sort':'name'})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x3d4f33){_0x3ee6e3[_0x1cd3('0xefa')]=_0x3d4f33['rows']||[];})['then'](function(){return _0x978f70['userProfileSection'][_0x1cd3('0x361')]({'userProfileId':_0x3ee6e3[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x25a})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x547394){var _0x3c5ef0=_0x547394&&_0x547394[_0x1cd3('0xf6')]?_0x547394[_0x1cd3('0xf6')][0x0]:null;if(!_0x3c5ef0){var _0x4e1c39=[];var _0x44bd1b=null;if(_0x3ee6e3[_0x1cd3('0xb70')]){_0x44bd1b=_[_0x1cd3('0x442')](_0x3ee6e3[_0x1cd3('0xefa')],{'id':Number(_0x3ee6e3[_0x1cd3('0xb70')]['MailAccountId'])});}for(var _0xbdd7b8=0x0;_0xbdd7b8<_0x3ee6e3[_0x1cd3('0xefa')]['length'];_0xbdd7b8++){if(_0x44bd1b&&_0x3ee6e3[_0x1cd3('0xefa')][_0xbdd7b8]['id']===_0x44bd1b['id']){_0x3ee6e3[_0x1cd3('0xefa')][_0xbdd7b8]['canSelect']=![];_0x4e1c39['push'](_0x3ee6e3[_0x1cd3('0xefa')][_0xbdd7b8]);}}_0x3ee6e3[_0x1cd3('0xefa')]=_0x4e1c39;}else{if(!_0x3c5ef0[_0x1cd3('0x391')]){return _0x978f70[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x3c5ef0['id']})['$promise'][_0x1cd3('0x77')](function(_0xaf4257){var _0x3633ad=_[_0x1cd3('0x3d9')](_0xaf4257[_0x1cd3('0xf6')],function(_0x47a81a){return _[_0x1cd3('0x442')](_0x3ee6e3[_0x1cd3('0xefa')],{'id':_0x47a81a[_0x1cd3('0xe8e')]});});var _0x101172=null;if(_0x3ee6e3['schedule']){_0x101172=_[_0x1cd3('0x442')](_0x3ee6e3['mailAccounts'],{'id':Number(_0x3ee6e3[_0x1cd3('0xb70')][_0x1cd3('0x1492')])});}if(_0x101172&&!_[_0x1cd3('0x38d')](_0x3633ad,['id',_0x101172['id']])){var _0x184751=_[_0x1cd3('0x442')](_0x3ee6e3[_0x1cd3('0xefa')],{'id':_0x101172['id']});_0x184751[_0x1cd3('0xf4a')]=![];_0x3633ad[_0x1cd3('0x7b')](_0x184751);}_0x3ee6e3['mailAccounts']=_0x3633ad;});}}})[_0x1cd3('0xfd')](function(_0x357b40){_0x1fc18b[_0x1cd3('0x434')]({'title':_0x357b40[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x357b40[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x357b40['statusText']:_0x1cd3('0x22bc'),'msg':_0x357b40[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x357b40[_0x1cd3('0x439')]):_0x357b40[_0x1cd3('0x43b')]()});});function _0x5ecf56(_0x2b21f4,_0x2ac720){_0x9c91ef[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x22e4'),'controllerAs':'vm','templateUrl':'app/main/apps/tools/views/schedules/create/dialog.html','parent':angular['element'](_0x3bff67['body']),'targetEvent':_0x2ac720,'clickOutsideToClose':!![],'locals':{'schedule':_0x2b21f4,'schedules':_0x3ee6e3[_0x1cd3('0x22bd')]['rows'],'license':_0x3ee6e3['license'],'setting':null,'crudPermissions':_0x3ee6e3['crudPermissions']}});}function _0x1b5070(_0x1edfe0,_0x48614c){var _0x39701c=_0x9c91ef[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x22e5'))[_0x1cd3('0xd60')]('<b>'+(_0x1edfe0[_0x1cd3('0x98')]||_0x1cd3('0xb70'))+_0x1cd3('0xd52')+_0x1cd3('0x22e6'))[_0x1cd3('0xd3d')](_0x1cd3('0x22e7'))['targetEvent'](_0x48614c)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x9c91ef[_0x1cd3('0x37e')](_0x39701c)['then'](function(){return _0x978f70['schedule'][_0x1cd3('0x35d')]({'id':_0x1edfe0['id']})['$promise'];},function(){console[_0x1cd3('0x7d')]('CANCEL');});}function _0x1d896f(_0x109462,_0x397b82){var _0x195141=_0x9c91ef[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xd4f')+_[_0x1cd3('0xd50')]('schedule')+'?')[_0x1cd3('0xd60')](_0x1cd3('0xd51')+(_0x109462[_0x1cd3('0x98')]||_0x1cd3('0xb70'))+_0x1cd3('0xd52')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x22e7'))[_0x1cd3('0xd63')](_0x397b82)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x9c91ef['show'](_0x195141)[_0x1cd3('0x77')](function(){_0xa5c38(_0x109462);},function(){console[_0x1cd3('0x7d')]('CANCEL');});}var _0x54c081=!![];var _0x1f87e2=0x1;_0x28e9f7[_0x1cd3('0x4d6')](_0x1cd3('0xd56'),function(_0x9644dc,_0x429cf7){if(_0x54c081){_0x3e822b(function(){_0x54c081=![];});}else{if(!_0x429cf7){_0x1f87e2=_0x3ee6e3[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0x9644dc!==_0x429cf7){_0x3ee6e3[_0x1cd3('0x3d4')]['page']=0x1;}if(!_0x9644dc){_0x3ee6e3[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0x1f87e2;}_0x3ee6e3[_0x1cd3('0x22dd')]();}});function _0x47750b(_0x5f4282){_0x3ee6e3[_0x1cd3('0x22bd')]=_0x5f4282||{'count':0x0,'rows':[]};}function _0x55acbd(){_0x3ee6e3[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0x3ee6e3[_0x1cd3('0x3d4')]['page']-0x1)*_0x3ee6e3[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];if(_0x51b8cc[_0x1cd3('0x57')](_0x1cd3('0x5f'))){_0x3ee6e3[_0x1cd3('0x539')]=_0x978f70[_0x1cd3('0xb70')][_0x1cd3('0x361')](_0x3ee6e3[_0x1cd3('0x3d4')],_0x47750b)[_0x1cd3('0x81')];}else{_0x3ee6e3['query']['id']=_0x3ee6e3[_0x1cd3('0x38a')]['id'];_0x3ee6e3['query'][_0x1cd3('0xd58')]=_0x1cd3('0x2b8');_0x3ee6e3[_0x1cd3('0x539')]=_0x978f70[_0x1cd3('0x38a')][_0x1cd3('0xd59')](_0x3ee6e3['query'],_0x47750b)[_0x1cd3('0x81')];}}function _0x1d6fdf(_0x7d8da6,_0x7c5b2d){_0x9c91ef['show']({'controller':_0x1cd3('0x22e4'),'controllerAs':'vm','templateUrl':_0x1cd3('0x22e8'),'parent':angular[_0x1cd3('0x37f')](_0x3bff67[_0x1cd3('0x380')]),'targetEvent':_0x7d8da6,'clickOutsideToClose':!![],'locals':{'schedule':_0x7c5b2d,'schedules':_0x3ee6e3[_0x1cd3('0x22bd')][_0x1cd3('0xf6')],'license':_0x3ee6e3[_0x1cd3('0x463')],'setting':_0x3ee6e3[_0x1cd3('0xc49')],'crudPermissions':_0x3ee6e3['crudPermissions']}});}function _0xa5c38(_0x5dbefd){_0x978f70[_0x1cd3('0xb70')][_0x1cd3('0xa1c')]({'id':_0x5dbefd['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x3ee6e3[_0x1cd3('0x22bd')][_0x1cd3('0xf6')],{'id':_0x5dbefd['id']});_0x3ee6e3[_0x1cd3('0x22bd')][_0x1cd3('0x466')]-=0x1;if(!_0x3ee6e3[_0x1cd3('0x22bd')][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){_0x3ee6e3['getScheduler']();}_0x1fc18b[_0x1cd3('0x473')]({'title':_['startCase'](_0x1cd3('0x22e9'))+_0x1cd3('0xd5c'),'msg':_0x5dbefd['name']?_0x5dbefd['name']+_0x1cd3('0xd41'):''});})['catch'](function(_0x912b8){if(_0x912b8[_0x1cd3('0x439')]&&_0x912b8['data']['errors']&&_0x912b8[_0x1cd3('0x439')]['errors']['length']){_0x3ee6e3[_0x1cd3('0xd34')]=_0x912b8[_0x1cd3('0x439')]['errors']||[{'message':_0x912b8[_0x1cd3('0x43b')](),'type':_0x1cd3('0x22ea')}];for(var _0x53f64a=0x0;_0x53f64a<_0x912b8[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x53f64a++){_0x1fc18b[_0x1cd3('0x434')]({'title':_0x912b8[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x53f64a][_0x1cd3('0x424')],'msg':_0x912b8[_0x1cd3('0x439')]['errors'][_0x53f64a][_0x1cd3('0x43a')]});}}else{_0x1fc18b[_0x1cd3('0x434')]({'title':_0x912b8['status']?_0x1cd3('0x435')+_0x912b8[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x912b8[_0x1cd3('0xd35')]:_0x1cd3('0x22ea'),'msg':_0x912b8['data']?JSON[_0x1cd3('0x438')](_0x912b8['data'][_0x1cd3('0x43a')]):_0x912b8[_0x1cd3('0x43a')]||_0x912b8[_0x1cd3('0x43b')]()});}});}function _0x7e1f6d(){var _0x32d43b=angular[_0x1cd3('0x429')](_0x3ee6e3['selectedScheduler']);_0x3ee6e3[_0x1cd3('0x22eb')]=[];return _0x32d43b;}function _0x17ee03(_0x565d2e){var _0x1c1e6b=_0x9c91ef['confirm']()['title'](_0x1cd3('0x22ec'))[_0x1cd3('0xd60')]('<b>'+_0x3ee6e3['selectedScheduler'][_0x1cd3('0x7a')]+_0x1cd3('0xd61')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')]('delete\x20Schedules')[_0x1cd3('0xd63')](_0x565d2e)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x9c91ef[_0x1cd3('0x37e')](_0x1c1e6b)[_0x1cd3('0x77')](function(){_0x3ee6e3[_0x1cd3('0x22eb')][_0x1cd3('0x394')](function(_0x38bd91){_0xa5c38(_0x38bd91);});_0x3ee6e3[_0x1cd3('0x22eb')]=[];});}function _0x435852(){_0x3ee6e3[_0x1cd3('0x22eb')]=[];}function _0x3e4890(){_0x3ee6e3['selectedScheduler']=_0x3ee6e3['schedules'][_0x1cd3('0xf6')];}}}());(function(){'use strict';_0x1e8314['$inject']=['$scope',_0x1cd3('0x53e'),'$location',_0x1cd3('0x3c5'),'$q','$translate','toasty',_0x1cd3('0xef6'),_0x1cd3('0xf53'),'api',_0x1cd3('0x56'),_0x1cd3('0x463'),_0x1cd3('0xc49'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x33'))[_0x1cd3('0x39b')]('CreateOrEditSoundDialogController',_0x1e8314);function _0x1e8314(_0x33730f,_0x32446c,_0x556b30,_0x115ded,_0x394ebc,_0x4ada24,_0x3b42fe,_0x23e88a,_0x2a4d42,_0x46bbfc,_0x4691ea,_0x12e673,_0x3d3fd1,_0x2682d8){var _0x19929f=this;_0x19929f[_0x1cd3('0x3ca')]=_0x4691ea['getCurrentUser']();_0x19929f[_0x1cd3('0xd34')]=[];_0x19929f['setting']=_0x3d3fd1;_0x19929f['license']=_0x12e673;_0x19929f[_0x1cd3('0xd27')]=_0x2682d8;_0x19929f[_0x1cd3('0xd28')]={};_0x19929f[_0x1cd3('0xd29')]=_0x19929f['setting']&&_0x19929f['setting']['securePassword']?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x19929f[_0x1cd3('0x486')]=_0x1cd3('0x22ed');_0x19929f[_0x1cd3('0xf53')]=angular[_0x1cd3('0x429')](_0x2a4d42);_0x19929f[_0x1cd3('0xef6')]=_0x23e88a;_0x19929f[_0x1cd3('0x22ee')]=![];if(!_0x19929f['sound']){_0x19929f[_0x1cd3('0xf53')]={};_0x19929f[_0x1cd3('0x486')]=_0x1cd3('0x22ef');_0x19929f['newSound']=!![];}_0x19929f[_0x1cd3('0x22f0')]=_0x2a9d85;_0x19929f[_0x1cd3('0x22f1')]=_0x1eca06;_0x19929f[_0x1cd3('0x22f2')]=_0x4bfd85;_0x19929f['getDateFromString']=_0x2740c4;_0x19929f[_0x1cd3('0x39c')]=_0x113e38;function _0x2a9d85(){_0x19929f[_0x1cd3('0xd34')]=[];_0x46bbfc[_0x1cd3('0xf53')][_0x1cd3('0xd6d')](_0x19929f['sound'])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x5e88f0){_0x19929f[_0x1cd3('0xef6')][_0x1cd3('0x621')](_0x5e88f0[_0x1cd3('0xd32')]());_0x3b42fe[_0x1cd3('0x473')]({'title':_0x1cd3('0x22f3'),'msg':_0x19929f[_0x1cd3('0xf53')][_0x1cd3('0x98')]?_0x19929f[_0x1cd3('0xf53')][_0x1cd3('0x98')]+_0x1cd3('0xd33'):''});_0x113e38(_0x5e88f0);})[_0x1cd3('0xfd')](function(_0x455e12){if(_0x455e12[_0x1cd3('0x439')]&&_0x455e12[_0x1cd3('0x439')]['errors']&&_0x455e12[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x19929f[_0x1cd3('0xd34')]=_0x455e12[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x455e12[_0x1cd3('0x43b')](),'type':_0x1cd3('0x22f4')}];for(var _0x120329=0x0;_0x120329<_0x455e12['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x120329+=0x1){_0x3b42fe['error']({'title':_0x455e12[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x120329][_0x1cd3('0x424')],'msg':_0x455e12['data'][_0x1cd3('0xd34')][_0x120329][_0x1cd3('0x43a')]});}}else{_0x3b42fe[_0x1cd3('0x434')]({'title':_0x455e12[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x455e12[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x455e12[_0x1cd3('0xd35')]:_0x1cd3('0x22f4'),'msg':_0x455e12[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x455e12[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x455e12[_0x1cd3('0x43b')]()});}});}function _0x1eca06(){_0x19929f[_0x1cd3('0xd34')]=[];_0x46bbfc[_0x1cd3('0xf53')][_0x1cd3('0x378')]({'id':_0x19929f[_0x1cd3('0xf53')]['id']},_0x19929f[_0x1cd3('0xf53')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x27457b){var _0x3709cc=_[_0x1cd3('0x442')](_0x19929f[_0x1cd3('0xef6')],{'id':_0x27457b['id']});if(_0x3709cc){_['merge'](_0x3709cc,_[_0x1cd3('0x5e8')](_0x27457b[_0x1cd3('0xd32')](),_[_0x1cd3('0x80')](_0x3709cc)));}_0x3b42fe[_0x1cd3('0x473')]({'title':_0x1cd3('0x22f5'),'msg':_0x19929f[_0x1cd3('0xf53')][_0x1cd3('0x98')]?_0x19929f['sound']['name']+_0x1cd3('0xd37'):''});_0x113e38(_0x27457b);})[_0x1cd3('0xfd')](function(_0x1863ea){if(_0x1863ea['data']&&_0x1863ea[_0x1cd3('0x439')]['errors']&&_0x1863ea[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x19929f[_0x1cd3('0xd34')]=_0x1863ea[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x1863ea[_0x1cd3('0x43b')](),'type':_0x1cd3('0x22f6')}];for(var _0x4f9254=0x0;_0x4f9254<_0x1863ea[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x4f9254++){_0x3b42fe[_0x1cd3('0x434')]({'title':_0x1863ea['data'][_0x1cd3('0xd34')][_0x4f9254][_0x1cd3('0x424')],'msg':_0x1863ea[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x4f9254][_0x1cd3('0x43a')]});}}else{_0x3b42fe[_0x1cd3('0x434')]({'title':_0x1863ea[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x1863ea[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x1863ea[_0x1cd3('0xd35')]:_0x1cd3('0x22f6'),'msg':_0x1863ea['data']?JSON['stringify'](_0x1863ea['data'][_0x1cd3('0x43a')]):_0x1863ea[_0x1cd3('0x43b')]()});}});}function _0x4bfd85(_0x204acd){_0x19929f[_0x1cd3('0xd34')]=[];var _0x49fb86=_0x115ded[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xd3a'))[_0x1cd3('0xd3b')](_0x1cd3('0x22f7'))[_0x1cd3('0xd3d')](_0x1cd3('0x22f8'))['ok'](_0x1cd3('0xd3f'))['cancel'](_0x1cd3('0x674'))[_0x1cd3('0xd63')](_0x204acd);_0x115ded[_0x1cd3('0x37e')](_0x49fb86)[_0x1cd3('0x77')](function(){_0x46bbfc[_0x1cd3('0xf53')][_0x1cd3('0xa1c')]({'id':_0x19929f[_0x1cd3('0xf53')]['id']})['$promise'][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x19929f[_0x1cd3('0xef6')],{'id':_0x19929f['sound']['id']});_0x3b42fe[_0x1cd3('0x473')]({'title':'Sound\x20properly\x20deleted!','msg':(_0x19929f[_0x1cd3('0xf53')][_0x1cd3('0x98')]||_0x1cd3('0xf53'))+'\x20has\x20been\x20deleted!'});_0x113e38(_0x19929f[_0x1cd3('0xf53')]);})['catch'](function(_0x2e241c){if(_0x2e241c[_0x1cd3('0x439')]&&_0x2e241c[_0x1cd3('0x439')]['errors']&&_0x2e241c[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length']){_0x19929f[_0x1cd3('0xd34')]=_0x2e241c['data']['errors']||[{'message':_0x2e241c[_0x1cd3('0x43b')](),'type':_0x1cd3('0x22f9')}];for(var _0x1cd9f0=0x0;_0x1cd9f0<_0x2e241c[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x1cd9f0++){_0x3b42fe[_0x1cd3('0x434')]({'title':_0x2e241c[_0x1cd3('0x439')]['errors'][_0x1cd9f0]['type'],'msg':_0x2e241c[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd9f0][_0x1cd3('0x43a')]});}}else{_0x3b42fe[_0x1cd3('0x434')]({'title':_0x2e241c['status']?_0x1cd3('0x435')+_0x2e241c[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x2e241c['statusText']:_0x1cd3('0x22f9'),'msg':_0x2e241c[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x2e241c[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x2e241c[_0x1cd3('0x43a')]||_0x2e241c[_0x1cd3('0x43b')]()});}});},function(){});}function _0x2740c4(_0x30484b){return _0x30484b===null?undefined:new Date(_0x30484b);}function _0x113e38(_0x5efc5f){_0x115ded[_0x1cd3('0x39d')](_0x5efc5f);}}}());(function(){'use strict';_0x340722[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x371'),_0x1cd3('0x53e'),_0x1cd3('0x969'),_0x1cd3('0x3c5'),_0x1cd3('0x372'),_0x1cd3('0x3e7'),_0x1cd3('0x3f7'),'sounds',_0x1cd3('0x38a'),_0x1cd3('0x390'),'api',_0x1cd3('0x2dd'),_0x1cd3('0x461'),'Auth','license','setting'];angular[_0x1cd3('0x0')]('app.tools')[_0x1cd3('0x39b')](_0x1cd3('0x22fa'),_0x340722);function _0x340722(_0x4726e0,_0x57e59d,_0x432920,_0x57cb81,_0xbce25b,_0x4cf4fd,_0x1f719c,_0x1a7ff3,_0x18cdf8,_0x4eec62,_0x20f691,_0x5b0dd4,_0x16faa5,_0x576b96,_0x8a8e6e,_0x305f03,_0x5a6aaa){var _0x7aa47b=this;_0x7aa47b['license']=_0x305f03;_0x7aa47b['setting']=_0x5a6aaa;_0x7aa47b[_0x1cd3('0x3ca')]=_0x8a8e6e[_0x1cd3('0x5d')]();_0x7aa47b[_0x1cd3('0xef6')]=_0x18cdf8||{'count':0x0,'rows':[]};_0x7aa47b[_0x1cd3('0x38a')]=_0x4eec62;_0x7aa47b['userProfileSection']=_0x20f691&&_0x20f691['count']==0x1?_0x20f691[_0x1cd3('0xf6')][0x0]:null;_0x7aa47b[_0x1cd3('0xd27')]=_0x8a8e6e['parseCrudPermissions'](_0x7aa47b['userProfileSection']?_0x7aa47b['userProfileSection']['crudPermissions']:null);_0x7aa47b[_0x1cd3('0xd45')]=_0x1cd3('0xef6');_0x7aa47b[_0x1cd3('0xd46')]='';_0x7aa47b[_0x1cd3('0xd47')]=null;_0x7aa47b[_0x1cd3('0x22fb')]=[];_0x7aa47b[_0x1cd3('0x3d4')]={'fields':_0x1cd3('0x2bc'),'sort':_0x1cd3('0x5b'),'limit':0xa,'page':0x1};_0x7aa47b[_0x1cd3('0xd48')]=_0x5b12e8;_0x7aa47b[_0x1cd3('0x118c')]=_0x4891c0;_0x7aa47b['deleteconfirm']=_0x450ecb;_0x7aa47b[_0x1cd3('0x473')]=_0x430706;_0x7aa47b['getSounds']=_0x2adbe9;_0x7aa47b[_0x1cd3('0x22fc')]=_0x421b24;_0x7aa47b[_0x1cd3('0x22f2')]=_0x3951c1;_0x7aa47b[_0x1cd3('0x22fd')]=_0xd625fa;_0x7aa47b[_0x1cd3('0x22fe')]=_0x3c20e3;_0x7aa47b['deselectSounds']=_0x16fd91;_0x7aa47b['selectAllSounds']=_0xaa4cef;_0x7aa47b[_0x1cd3('0x22ff')]=_0x30bb14;function _0x5b12e8(_0x3f193d,_0x4895f0){_0xbce25b[_0x1cd3('0x37e')]({'controller':'CreateOrEditSoundDialogController','controllerAs':'vm','templateUrl':_0x1cd3('0x2300'),'parent':angular[_0x1cd3('0x37f')](_0x4cf4fd[_0x1cd3('0x380')]),'targetEvent':_0x4895f0,'clickOutsideToClose':!![],'locals':{'sound':_0x3f193d,'sounds':_0x7aa47b[_0x1cd3('0xef6')][_0x1cd3('0xf6')],'license':_0x7aa47b['license'],'setting':null,'crudPermissions':_0x7aa47b[_0x1cd3('0xd27')]}});}function _0x4891c0(_0x44e53d,_0x2f0561){return _0x5b0dd4[_0x1cd3('0xf53')][_0x1cd3('0x489')]({'id':_0x44e53d['id']})['$promise']['then'](function(_0x325554){var _0x2afd51=[_0x325554[_0x1cd3('0x6ef')]];var _0x58944d=_0x1cd3('0x489');var _0x30155=new Blob(_0x2afd51,{'type':_0x325554['type']});_0x58944d=_0x44e53d[_0x1cd3('0x2301')]?_0x44e53d['save_name']+'.'+_0x44e53d['converted_format']:_0x44e53d[_0x1cd3('0x2302')];var _0x699fd6=window[_0x1cd3('0x924')][_0x1cd3('0x3aa')]('a');_0x699fd6[_0x1cd3('0x481')](_0x1cd3('0x3ab'),URL[_0x1cd3('0x48a')](_0x30155));_0x699fd6[_0x1cd3('0x481')](_0x1cd3('0x489'),_0x58944d);document['body'][_0x1cd3('0xd4e')](_0x699fd6);_0x699fd6[_0x1cd3('0x52d')]();})['catch'](function(_0x1b85a5){if(_0x1b85a5[_0x1cd3('0x439')]&&_0x1b85a5[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x1b85a5[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){for(var _0x112541=0x0;_0x112541<_0x1b85a5['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x112541++){_0x576b96[_0x1cd3('0x434')]({'title':_0x1b85a5[_0x1cd3('0x439')]['errors'][_0x112541][_0x1cd3('0x424')],'msg':_0x1b85a5[_0x1cd3('0x439')]['errors'][_0x112541]['message']});}}else{_0x576b96[_0x1cd3('0x434')]({'title':_0x1b85a5[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x1b85a5[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x1b85a5['statusText']:_0x1cd3('0x22f4'),'msg':_0x1b85a5['data']?JSON['stringify'](_0x1b85a5[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x1b85a5[_0x1cd3('0x43b')]()});}});}function _0x450ecb(_0x49631a,_0x2d9fb5){var _0x382824=_0xbce25b[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xd4f')+_[_0x1cd3('0xd50')](_0x1cd3('0xf53'))+'?')[_0x1cd3('0xd60')](_0x1cd3('0xd51')+(_0x49631a[_0x1cd3('0x98')]||_0x1cd3('0xf53'))+_0x1cd3('0xd52')+'\x20will\x20be\x20deleted.')[_0x1cd3('0xd3d')](_0x1cd3('0x2303'))['targetEvent'](_0x2d9fb5)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0xbce25b[_0x1cd3('0x37e')](_0x382824)[_0x1cd3('0x77')](function(){_0x3951c1(_0x49631a);},function(){console[_0x1cd3('0x7d')]('CANCEL');});}var _0x290535=!![];var _0x2f1f4d=0x1;_0x4726e0[_0x1cd3('0x4d6')](_0x1cd3('0xd56'),function(_0x548bc3,_0x21998e){if(_0x290535){_0x1f719c(function(){_0x290535=![];});}else{if(!_0x21998e){_0x2f1f4d=_0x7aa47b[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0x548bc3!==_0x21998e){_0x7aa47b['query']['page']=0x1;}if(!_0x548bc3){_0x7aa47b['query'][_0x1cd3('0x8fd')]=_0x2f1f4d;}_0x7aa47b['getSounds']();}});function _0x430706(_0x5bb240){_0x7aa47b[_0x1cd3('0xef6')]=_0x5bb240||{'count':0x0,'rows':[]};}function _0x2adbe9(){_0x7aa47b[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0x7aa47b[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0x7aa47b['query']['limit'];if(_0x8a8e6e[_0x1cd3('0x57')](_0x1cd3('0x5f'))){_0x7aa47b['promise']=_0x5b0dd4['sound'][_0x1cd3('0x361')](_0x7aa47b[_0x1cd3('0x3d4')],_0x430706)[_0x1cd3('0x81')];}else{_0x7aa47b[_0x1cd3('0x3d4')]['id']=_0x7aa47b[_0x1cd3('0x38a')]['id'];_0x7aa47b['query'][_0x1cd3('0xd58')]=_0x1cd3('0xa7');_0x7aa47b[_0x1cd3('0x539')]=_0x5b0dd4[_0x1cd3('0x38a')][_0x1cd3('0xd59')](_0x7aa47b['query'],_0x430706)[_0x1cd3('0x81')];}}function _0x421b24(_0xcc9c05,_0x1ef475){_0xbce25b[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x2304'),'controllerAs':'vm','templateUrl':_0x1cd3('0x2300'),'parent':angular[_0x1cd3('0x37f')](_0x4cf4fd['body']),'targetEvent':_0xcc9c05,'clickOutsideToClose':!![],'locals':{'sound':_0x1ef475,'sounds':_0x7aa47b['sounds']['rows'],'license':_0x7aa47b[_0x1cd3('0x463')],'setting':_0x7aa47b[_0x1cd3('0xc49')],'crudPermissions':_0x7aa47b['crudPermissions']}});}function _0x3951c1(_0x1ff098){_0x5b0dd4[_0x1cd3('0xf53')][_0x1cd3('0xa1c')]({'id':_0x1ff098['id']})[_0x1cd3('0x81')]['then'](function(){_[_0x1cd3('0x383')](_0x7aa47b[_0x1cd3('0xef6')][_0x1cd3('0xf6')],{'id':_0x1ff098['id']});_0x7aa47b[_0x1cd3('0xef6')][_0x1cd3('0x466')]-=0x1;if(!_0x7aa47b['sounds'][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){_0x7aa47b['getSounds']();}_0x576b96['success']({'title':_['startCase'](_0x1cd3('0x2305'))+_0x1cd3('0xd5c'),'msg':_0x1ff098[_0x1cd3('0x98')]?_0x1ff098[_0x1cd3('0x98')]+_0x1cd3('0xd41'):''});})[_0x1cd3('0xfd')](function(_0x420e9e){if(_0x420e9e[_0x1cd3('0x439')]&&_0x420e9e[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x420e9e[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x7aa47b['errors']=_0x420e9e[_0x1cd3('0x439')]['errors']||[{'message':_0x420e9e[_0x1cd3('0x43b')](),'type':_0x1cd3('0x2306')}];for(var _0x53971e=0x0;_0x53971e<_0x420e9e[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x53971e++){_0x576b96['error']({'title':_0x420e9e[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x53971e][_0x1cd3('0x424')],'msg':_0x420e9e['data'][_0x1cd3('0xd34')][_0x53971e]['message']});}}else{_0x576b96[_0x1cd3('0x434')]({'title':_0x420e9e[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x420e9e[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x420e9e[_0x1cd3('0xd35')]:_0x1cd3('0x2306'),'msg':_0x420e9e['data']?JSON[_0x1cd3('0x438')](_0x420e9e[_0x1cd3('0x439')]['message']):_0x420e9e['message']||_0x420e9e['toString']()});}});}function _0xd625fa(){var _0xf6482d=angular[_0x1cd3('0x429')](_0x7aa47b['selectedSounds']);_0x7aa47b[_0x1cd3('0x22fb')]=[];return _0xf6482d;}function _0x3c20e3(_0x404b0f){var _0x37eb33=_0xbce25b[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x2307'))[_0x1cd3('0xd60')]('<b>'+_0x7aa47b[_0x1cd3('0x22fb')][_0x1cd3('0x7a')]+_0x1cd3('0xd61')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x2308'))[_0x1cd3('0xd63')](_0x404b0f)['ok']('OK')['cancel'](_0x1cd3('0xd55'));_0xbce25b[_0x1cd3('0x37e')](_0x37eb33)[_0x1cd3('0x77')](function(){_0x7aa47b[_0x1cd3('0x22fb')][_0x1cd3('0x394')](function(_0x46fa8b){_0x3951c1(_0x46fa8b);});_0x7aa47b['selectedSounds']=[];});}function _0x16fd91(){_0x7aa47b[_0x1cd3('0x22fb')]=[];}function _0xaa4cef(){_0x7aa47b[_0x1cd3('0x22fb')]=_0x7aa47b[_0x1cd3('0xef6')][_0x1cd3('0xf6')];}function _0x30bb14(_0x14a345){_0xbce25b[_0x1cd3('0x37e')]({'controller':'UploadSoundDialogController','controllerAs':'vm','templateUrl':_0x1cd3('0x2309'),'parent':angular[_0x1cd3('0x37f')](_0x4cf4fd[_0x1cd3('0x380')]),'targetEvent':_0x14a345,'clickOutsideToClose':!![],'locals':{'sounds':_0x7aa47b['sounds'][_0x1cd3('0xf6')]}});}}}());(function(){'use strict';_0x377c11[_0x1cd3('0xc')]=['$cookies',_0x1cd3('0x3c5'),_0x1cd3('0x461'),_0x1cd3('0xef6'),'api',_0x1cd3('0x56')];angular[_0x1cd3('0x0')]('app.tools')['controller'](_0x1cd3('0x230a'),_0x377c11);function _0x377c11(_0x406599,_0x58bed7,_0x43eb38,_0x575a68,_0x1f93cf,_0x4a54b3){var _0xcba681=this;var _0x2f5209=0xf;var _0x184414=_0x2f5209*0x400*0x400;_0xcba681[_0x1cd3('0x3ca')]=_0x4a54b3[_0x1cd3('0x5d')]();_0xcba681[_0x1cd3('0xd34')]=[];_0xcba681[_0x1cd3('0x486')]=_0x1cd3('0x230b');_0xcba681[_0x1cd3('0xef6')]=_0x575a68;_0xcba681[_0x1cd3('0x230c')]=[];_0xcba681[_0x1cd3('0x1d56')]='none';_0xcba681['sound']={};_0xcba681[_0x1cd3('0x126a')]={'maxChunkRetries':0x1,'chunkSize':_0x184414,'simultaneousUploads':0x1,'testChunks':![],'progressCallbacksInterval':0x3e8,'allowDuplicateUploads':!![],'target':_0x1cd3('0x230d')};_0xcba681[_0x1cd3('0x126b')]={'flow':{}};_0xcba681[_0x1cd3('0x126c')]=![];_0xcba681[_0x1cd3('0x113a')]=_0x24c550;_0xcba681['upload']=_0x4482cb;_0xcba681['fileSuccess']=_0x2da88f;_0xcba681[_0x1cd3('0x1d58')]=_0x118bac;_0xcba681['uploadComplete']=_0x44e37a;_0xcba681[_0x1cd3('0x39c')]=_0x5ca752;function _0x24c550(_0x14e4a1){var _0x5d44aa=[_0x1cd3('0x6b5'),_0x1cd3('0x230e'),_0x1cd3('0xf38')];if(!_[_0x1cd3('0x38f')](_0x5d44aa,_0x14e4a1[_0x1cd3('0x113c')]())){_0x43eb38[_0x1cd3('0x434')]({'title':_0x1cd3('0x1274')+_0x14e4a1['getExtension'](),'msg':_0x1cd3('0x1275')+_0x5d44aa[_0x1cd3('0x3de')]()});return![];}if(_0x14e4a1[_0x1cd3('0x113e')]>_0x184414){_0x43eb38['error']({'title':'File\x20too\x20big','msg':'The\x20max\x20allowed\x20size\x20is\x20'+_0x2f5209+'MB'});return![];}_0xcba681[_0x1cd3('0xf53')]={'id':_0x14e4a1[_0x1cd3('0x1278')],'file':_0x14e4a1};_0xcba681[_0x1cd3('0x230c')][_0x1cd3('0x621')](_0xcba681[_0x1cd3('0xf53')]);return!![];}function _0x4482cb(){_0xcba681[_0x1cd3('0x1d56')]=_0x1cd3('0x1279');_0xcba681[_0x1cd3('0x126b')]['flow'][_0x1cd3('0x130a')]['headers']={'X-Requested-With':_0x1cd3('0x130b'),'Authorization':_0x1cd3('0x3a5')+_0x406599[_0x1cd3('0x361')](_0x1cd3('0x374'))};_0xcba681[_0x1cd3('0x126b')][_0x1cd3('0x46')][_0x1cd3('0x130a')][_0x1cd3('0x3d4')]={'role':_0xcba681[_0x1cd3('0x3ca')][_0x1cd3('0x388')],'userProfileId':_0xcba681[_0x1cd3('0x3ca')]['userProfileId']};_0xcba681[_0x1cd3('0x126b')][_0x1cd3('0x46')][_0x1cd3('0x126d')]();}function _0x2da88f(_0x36cf8a,_0x2410a6){_0xcba681['sounds'][_0x1cd3('0x621')](JSON[_0x1cd3('0x79')](_0x2410a6));angular[_0x1cd3('0x394')](_0xcba681[_0x1cd3('0x230c')],function(_0x11b5ff,_0x18fba0){if(_0x11b5ff['id']===_0x36cf8a[_0x1cd3('0x1278')]){var _0x5603eb=new FileReader();_0x5603eb[_0x1cd3('0xe95')](_0x11b5ff[_0x1cd3('0xe96')][_0x1cd3('0xe96')]);_0x5603eb[_0x1cd3('0xe8f')]=function(_0x314d10){_0x11b5ff[_0x1cd3('0x3a4')]=_0x314d10['target'][_0x1cd3('0xe90')];};}});}function _0x118bac(_0x1df117,_0x1470d8){_0xcba681[_0x1cd3('0x126b')][_0x1cd3('0x46')][_0x1cd3('0x4d8')]();_0x43eb38[_0x1cd3('0x434')]({'title':'Upload\x20error','msg':_0x1cd3('0x230f')});_0xcba681[_0x1cd3('0x1d56')]=_0x1cd3('0x61b');}function _0x44e37a(){if(_0xcba681[_0x1cd3('0x1d56')]!=='failed'){_0xcba681[_0x1cd3('0x1d56')]='completed';_0x43eb38[_0x1cd3('0x473')]({'title':_0x1cd3('0x1d5d'),'msg':_0xcba681[_0x1cd3('0xf53')][_0x1cd3('0xe96')]['name']+_0x1cd3('0x1d5e')});}}function _0x5ca752(){_0x58bed7['hide']();}}}());(function(){'use strict';_0x3041de[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x53e'),_0x1cd3('0xd24'),_0x1cd3('0x3c5'),'$q','$translate',_0x1cd3('0x461'),_0x1cd3('0x921'),_0x1cd3('0xb76'),_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0x463'),_0x1cd3('0xc49'),'crudPermissions'];angular[_0x1cd3('0x0')](_0x1cd3('0x33'))[_0x1cd3('0x39b')](_0x1cd3('0x2310'),_0x3041de);function _0x3041de(_0x5d906a,_0x2a0d36,_0x24a769,_0x1b5dc9,_0x443c76,_0xe1d9c1,_0x6e2f5d,_0x10020d,_0x378a54,_0x14679d,_0xe41db7,_0x4fcafc,_0x36809a,_0x4b8812){var _0x3eed05=this;_0x3eed05[_0x1cd3('0x3ca')]=_0xe41db7['getCurrentUser']();_0x3eed05['errors']=[];_0x3eed05[_0x1cd3('0xc49')]=_0x36809a;_0x3eed05[_0x1cd3('0x463')]=_0x4fcafc;_0x3eed05[_0x1cd3('0xd27')]=_0x4b8812;_0x3eed05['hasModulePermissions']={};_0x3eed05[_0x1cd3('0xd29')]=_0x3eed05[_0x1cd3('0xc49')]&&_0x3eed05['setting'][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x3eed05['title']=_0x1cd3('0x2311');_0x3eed05[_0x1cd3('0xb76')]=angular[_0x1cd3('0x429')](_0x378a54);_0x3eed05['tags']=_0x10020d;_0x3eed05[_0x1cd3('0x2312')]=![];if(!_0x3eed05['tag']){_0x3eed05[_0x1cd3('0xb76')]={};_0x3eed05[_0x1cd3('0x486')]=_0x1cd3('0x2313');_0x3eed05[_0x1cd3('0x2312')]=!![];}_0x3eed05[_0x1cd3('0x2314')]=_0x8881e2;_0x3eed05[_0x1cd3('0x2315')]=_0x4526d2;_0x3eed05['deleteTag']=_0x5d1a14;_0x3eed05['getDateFromString']=_0x37a7a9;_0x3eed05[_0x1cd3('0x39c')]=_0x1c6cbd;function _0x8881e2(){_0x3eed05[_0x1cd3('0xd34')]=[];_0x14679d[_0x1cd3('0xb76')][_0x1cd3('0xd6d')](_0x3eed05[_0x1cd3('0xb76')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x1b3956){_0x3eed05[_0x1cd3('0x921')][_0x1cd3('0x621')](_0x1b3956[_0x1cd3('0xd32')]());_0x6e2f5d[_0x1cd3('0x473')]({'title':_0x1cd3('0x2316'),'msg':_0x3eed05['tag'][_0x1cd3('0x98')]?_0x3eed05[_0x1cd3('0xb76')][_0x1cd3('0x98')]+_0x1cd3('0xd33'):''});_0x1c6cbd(_0x1b3956);})[_0x1cd3('0xfd')](function(_0x19a7f3){if(_0x19a7f3[_0x1cd3('0x439')]&&_0x19a7f3[_0x1cd3('0x439')]['errors']&&_0x19a7f3[_0x1cd3('0x439')]['errors']['length']){_0x3eed05[_0x1cd3('0xd34')]=_0x19a7f3[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x19a7f3['toString'](),'type':_0x1cd3('0x2317')}];for(var _0x18e981=0x0;_0x18e981<_0x19a7f3[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x18e981+=0x1){_0x6e2f5d['error']({'title':_0x19a7f3[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x18e981][_0x1cd3('0x424')],'msg':_0x19a7f3['data'][_0x1cd3('0xd34')][_0x18e981]['message']});}}else{_0x6e2f5d[_0x1cd3('0x434')]({'title':_0x19a7f3['status']?_0x1cd3('0x435')+_0x19a7f3[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x19a7f3['statusText']:_0x1cd3('0x2317'),'msg':_0x19a7f3[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x19a7f3[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x19a7f3[_0x1cd3('0x43b')]()});}});}function _0x4526d2(){_0x3eed05[_0x1cd3('0xd34')]=[];_0x14679d[_0x1cd3('0xb76')][_0x1cd3('0x378')]({'id':_0x3eed05['tag']['id']},_0x3eed05[_0x1cd3('0xb76')])[_0x1cd3('0x81')]['then'](function(_0x148eac){var _0x2ae2d8=_[_0x1cd3('0x442')](_0x3eed05['tags'],{'id':_0x148eac['id']});if(_0x2ae2d8){_['merge'](_0x2ae2d8,_[_0x1cd3('0x5e8')](_0x148eac['toJSON'](),_['keys'](_0x2ae2d8)));}_0x6e2f5d[_0x1cd3('0x473')]({'title':_0x1cd3('0x2318'),'msg':_0x3eed05[_0x1cd3('0xb76')][_0x1cd3('0x98')]?_0x3eed05[_0x1cd3('0xb76')][_0x1cd3('0x98')]+_0x1cd3('0xd37'):''});_0x1c6cbd(_0x148eac);})[_0x1cd3('0xfd')](function(_0x2f59de){if(_0x2f59de[_0x1cd3('0x439')]&&_0x2f59de[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x2f59de[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length']){_0x3eed05[_0x1cd3('0xd34')]=_0x2f59de[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x2f59de[_0x1cd3('0x43b')](),'type':_0x1cd3('0x2319')}];for(var _0x4eccf6=0x0;_0x4eccf6<_0x2f59de[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0x4eccf6++){_0x6e2f5d[_0x1cd3('0x434')]({'title':_0x2f59de[_0x1cd3('0x439')]['errors'][_0x4eccf6]['type'],'msg':_0x2f59de[_0x1cd3('0x439')]['errors'][_0x4eccf6][_0x1cd3('0x43a')]});}}else{_0x6e2f5d[_0x1cd3('0x434')]({'title':_0x2f59de['status']?'API:'+_0x2f59de[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x2f59de[_0x1cd3('0xd35')]:'api.tag.update','msg':_0x2f59de[_0x1cd3('0x439')]?JSON['stringify'](_0x2f59de[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x2f59de[_0x1cd3('0x43b')]()});}});}function _0x5d1a14(_0x24f7d2){_0x3eed05[_0x1cd3('0xd34')]=[];var _0x2931ea=_0x1b5dc9[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xd3a'))[_0x1cd3('0xd3b')](_0x1cd3('0x231a'))[_0x1cd3('0xd3d')](_0x1cd3('0x231b'))['ok'](_0x1cd3('0xd3f'))[_0x1cd3('0x4d8')](_0x1cd3('0x674'))[_0x1cd3('0xd63')](_0x24f7d2);_0x1b5dc9[_0x1cd3('0x37e')](_0x2931ea)[_0x1cd3('0x77')](function(){_0x14679d['tag'][_0x1cd3('0xa1c')]({'id':_0x3eed05[_0x1cd3('0xb76')]['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x3eed05[_0x1cd3('0x921')],{'id':_0x3eed05[_0x1cd3('0xb76')]['id']});_0x6e2f5d['success']({'title':_0x1cd3('0x231c'),'msg':(_0x3eed05[_0x1cd3('0xb76')][_0x1cd3('0x98')]||_0x1cd3('0xb76'))+_0x1cd3('0xd41')});_0x1c6cbd(_0x3eed05[_0x1cd3('0xb76')]);})[_0x1cd3('0xfd')](function(_0x2f0b8b){if(_0x2f0b8b[_0x1cd3('0x439')]&&_0x2f0b8b[_0x1cd3('0x439')]['errors']&&_0x2f0b8b['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x3eed05[_0x1cd3('0xd34')]=_0x2f0b8b[_0x1cd3('0x439')]['errors']||[{'message':_0x2f0b8b[_0x1cd3('0x43b')](),'type':_0x1cd3('0x231d')}];for(var _0x4a9c60=0x0;_0x4a9c60<_0x2f0b8b['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x4a9c60++){_0x6e2f5d[_0x1cd3('0x434')]({'title':_0x2f0b8b[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x4a9c60][_0x1cd3('0x424')],'msg':_0x2f0b8b[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x4a9c60][_0x1cd3('0x43a')]});}}else{_0x6e2f5d['error']({'title':_0x2f0b8b[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x2f0b8b[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x2f0b8b[_0x1cd3('0xd35')]:_0x1cd3('0x231d'),'msg':_0x2f0b8b[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x2f0b8b[_0x1cd3('0x439')]['message']):_0x2f0b8b[_0x1cd3('0x43a')]||_0x2f0b8b[_0x1cd3('0x43b')]()});}});},function(){});}function _0x37a7a9(_0x5d0b85){return _0x5d0b85===null?undefined:new Date(_0x5d0b85);}function _0x1c6cbd(_0xaee52f){_0x1b5dc9['hide'](_0xaee52f);}}}());(function(){'use strict';_0x2e899e[_0x1cd3('0xc')]=[_0x1cd3('0x460'),'$window',_0x1cd3('0x53e'),_0x1cd3('0x969'),_0x1cd3('0x3c5'),_0x1cd3('0x372'),_0x1cd3('0x3e7'),_0x1cd3('0x3f7'),'tags',_0x1cd3('0x38a'),_0x1cd3('0x390'),_0x1cd3('0x370'),_0x1cd3('0x2dd'),_0x1cd3('0x461'),_0x1cd3('0x56'),_0x1cd3('0x463'),_0x1cd3('0xc49')];angular[_0x1cd3('0x0')]('app.tools')['controller'](_0x1cd3('0x231e'),_0x2e899e);function _0x2e899e(_0x289edf,_0x7dc2f9,_0x24b120,_0x3617d7,_0x3c60d8,_0x57f683,_0x2f4585,_0x27f9f4,_0x1581d4,_0x3d1e84,_0x31470a,_0x3abcb3,_0x3e556b,_0x2013c2,_0x2916d3,_0x258a2c,_0x147985){var _0x572bc6=this;_0x572bc6[_0x1cd3('0x463')]=_0x258a2c;_0x572bc6[_0x1cd3('0xc49')]=_0x147985;_0x572bc6[_0x1cd3('0x3ca')]=_0x2916d3[_0x1cd3('0x5d')]();_0x572bc6[_0x1cd3('0x921')]=_0x1581d4||{'count':0x0,'rows':[]};_0x572bc6[_0x1cd3('0x38a')]=_0x3d1e84;_0x572bc6[_0x1cd3('0x390')]=_0x31470a&&_0x31470a[_0x1cd3('0x466')]==0x1?_0x31470a['rows'][0x0]:null;_0x572bc6[_0x1cd3('0xd27')]=_0x2916d3[_0x1cd3('0xd44')](_0x572bc6[_0x1cd3('0x390')]?_0x572bc6[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);_0x572bc6['table']=_0x1cd3('0x921');_0x572bc6[_0x1cd3('0xd46')]='';_0x572bc6[_0x1cd3('0xd47')]=null;_0x572bc6[_0x1cd3('0x1423')]=[];_0x572bc6['query']={'fields':'createdAt,updatedAt,id,name,description,color','sort':_0x1cd3('0x5b'),'limit':0xa,'page':0x1};_0x572bc6[_0x1cd3('0xd48')]=_0x2f5c87;_0x572bc6[_0x1cd3('0xecc')]=_0x29783a;_0x572bc6[_0x1cd3('0x473')]=_0x34a014;_0x572bc6['getTags']=_0x5516e4;_0x572bc6[_0x1cd3('0x231f')]=_0x4407f4;_0x572bc6[_0x1cd3('0x2320')]=_0x10d617;_0x572bc6[_0x1cd3('0x2321')]=_0xf0c35;_0x572bc6[_0x1cd3('0x2322')]=_0x364357;_0x572bc6['deselectTags']=_0x26033c;_0x572bc6[_0x1cd3('0x2323')]=_0x3fdd8b;function _0x2f5c87(_0x25560e,_0x46e3dd){_0x3c60d8['show']({'controller':_0x1cd3('0x2310'),'controllerAs':'vm','templateUrl':_0x1cd3('0x2324'),'parent':angular['element'](_0x57f683[_0x1cd3('0x380')]),'targetEvent':_0x46e3dd,'clickOutsideToClose':!![],'locals':{'tag':_0x25560e,'tags':_0x572bc6[_0x1cd3('0x921')]['rows'],'license':_0x572bc6[_0x1cd3('0x463')],'setting':null,'crudPermissions':_0x572bc6[_0x1cd3('0xd27')]}});}function _0x29783a(_0x49dff0,_0xe4e062){var _0x3fb6dc=_0x3c60d8[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xd4f')+_[_0x1cd3('0xd50')]('tag')+'?')['htmlContent'](_0x1cd3('0xd51')+(_0x49dff0[_0x1cd3('0x98')]||'tag')+'</b>'+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x2325'))[_0x1cd3('0xd63')](_0xe4e062)['ok']('OK')[_0x1cd3('0x4d8')]('CANCEL');_0x3c60d8[_0x1cd3('0x37e')](_0x3fb6dc)[_0x1cd3('0x77')](function(){_0x10d617(_0x49dff0);},function(){console[_0x1cd3('0x7d')]('CANCEL');});}var _0x42994f=!![];var _0x23bb48=0x1;_0x289edf[_0x1cd3('0x4d6')](_0x1cd3('0xd56'),function(_0x7c2680,_0x4146d2){if(_0x42994f){_0x2f4585(function(){_0x42994f=![];});}else{if(!_0x4146d2){_0x23bb48=_0x572bc6[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0x7c2680!==_0x4146d2){_0x572bc6['query']['page']=0x1;}if(!_0x7c2680){_0x572bc6['query'][_0x1cd3('0x8fd')]=_0x23bb48;}_0x572bc6[_0x1cd3('0x1607')]();}});function _0x34a014(_0x215fc6){_0x572bc6[_0x1cd3('0x921')]=_0x215fc6||{'count':0x0,'rows':[]};}function _0x5516e4(){_0x572bc6['query'][_0x1cd3('0xd57')]=(_0x572bc6[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0x572bc6[_0x1cd3('0x3d4')]['limit'];if(_0x2916d3[_0x1cd3('0x57')](_0x1cd3('0x5f'))){_0x572bc6[_0x1cd3('0x539')]=_0x3abcb3['tag']['get'](_0x572bc6['query'],_0x34a014)[_0x1cd3('0x81')];}else{_0x572bc6[_0x1cd3('0x3d4')]['id']=_0x572bc6[_0x1cd3('0x38a')]['id'];_0x572bc6['query'][_0x1cd3('0xd58')]=_0x1cd3('0xf9');_0x572bc6[_0x1cd3('0x539')]=_0x3abcb3['userProfile']['getResources'](_0x572bc6[_0x1cd3('0x3d4')],_0x34a014)[_0x1cd3('0x81')];}}function _0x4407f4(_0x51c9bd,_0x45df29){_0x3c60d8[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x2310'),'controllerAs':'vm','templateUrl':_0x1cd3('0x2324'),'parent':angular[_0x1cd3('0x37f')](_0x57f683[_0x1cd3('0x380')]),'targetEvent':_0x51c9bd,'clickOutsideToClose':!![],'locals':{'tag':_0x45df29,'tags':_0x572bc6[_0x1cd3('0x921')][_0x1cd3('0xf6')],'license':_0x572bc6[_0x1cd3('0x463')],'setting':_0x572bc6[_0x1cd3('0xc49')],'crudPermissions':_0x572bc6[_0x1cd3('0xd27')]}});}function _0x10d617(_0x1e6d58){_0x3abcb3[_0x1cd3('0xb76')][_0x1cd3('0xa1c')]({'id':_0x1e6d58['id']})[_0x1cd3('0x81')]['then'](function(){_[_0x1cd3('0x383')](_0x572bc6['tags'][_0x1cd3('0xf6')],{'id':_0x1e6d58['id']});_0x572bc6['tags']['count']-=0x1;if(!_0x572bc6['tags'][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){_0x572bc6[_0x1cd3('0x1607')]();}_0x2013c2['success']({'title':_['startCase'](_0x1cd3('0x1231'))+_0x1cd3('0xd5c'),'msg':_0x1e6d58[_0x1cd3('0x98')]?_0x1e6d58['name']+_0x1cd3('0xd41'):''});})[_0x1cd3('0xfd')](function(_0x4e1e65){if(_0x4e1e65[_0x1cd3('0x439')]&&_0x4e1e65[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x4e1e65['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x572bc6[_0x1cd3('0xd34')]=_0x4e1e65['data'][_0x1cd3('0xd34')]||[{'message':_0x4e1e65[_0x1cd3('0x43b')](),'type':_0x1cd3('0x2326')}];for(var _0x2ab0de=0x0;_0x2ab0de<_0x4e1e65['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x2ab0de++){_0x2013c2[_0x1cd3('0x434')]({'title':_0x4e1e65['data'][_0x1cd3('0xd34')][_0x2ab0de]['type'],'msg':_0x4e1e65[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x2ab0de][_0x1cd3('0x43a')]});}}else{_0x2013c2[_0x1cd3('0x434')]({'title':_0x4e1e65[_0x1cd3('0x3a6')]?'API:'+_0x4e1e65[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x4e1e65[_0x1cd3('0xd35')]:_0x1cd3('0x2326'),'msg':_0x4e1e65['data']?JSON[_0x1cd3('0x438')](_0x4e1e65[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x4e1e65[_0x1cd3('0x43a')]||_0x4e1e65[_0x1cd3('0x43b')]()});}});}function _0xf0c35(){var _0x68796a=angular[_0x1cd3('0x429')](_0x572bc6[_0x1cd3('0x1423')]);_0x572bc6[_0x1cd3('0x1423')]=[];return _0x68796a;}function _0x364357(_0x2af458){var _0x472d89=_0x3c60d8[_0x1cd3('0xd39')]()['title'](_0x1cd3('0x2327'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x572bc6['selectedTags']['length']+'\x20selected</b>'+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x2328'))[_0x1cd3('0xd63')](_0x2af458)['ok']('OK')[_0x1cd3('0x4d8')]('CANCEL');_0x3c60d8['show'](_0x472d89)[_0x1cd3('0x77')](function(){_0x572bc6['selectedTags']['forEach'](function(_0x4cf9ca){_0x10d617(_0x4cf9ca);});_0x572bc6['selectedTags']=[];});}function _0x26033c(){_0x572bc6[_0x1cd3('0x1423')]=[];}function _0x3fdd8b(){_0x572bc6[_0x1cd3('0x1423')]=_0x572bc6[_0x1cd3('0x921')][_0x1cd3('0xf6')];}}}());(function(){'use strict';_0x5d9335[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x53e'),_0x1cd3('0xd24'),_0x1cd3('0x3c5'),'$q','$translate',_0x1cd3('0x461'),'templates','template','api','Auth',_0x1cd3('0x463'),'setting',_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x33'))['controller'](_0x1cd3('0x2329'),_0x5d9335);function _0x5d9335(_0x4fa919,_0x406ae2,_0x4b2859,_0x4d145a,_0x3c9046,_0x34cf6d,_0x6434b8,_0x9fa721,_0x3c530c,_0x1b87ec,_0x19fa63,_0xa32c28,_0x549094,_0x541abd){var _0x3efc91=this;_0x3efc91[_0x1cd3('0x3ca')]=_0x19fa63['getCurrentUser']();_0x3efc91[_0x1cd3('0xd34')]=[];_0x3efc91['setting']=_0x549094;_0x3efc91['license']=_0xa32c28;_0x3efc91['crudPermissions']=_0x541abd;_0x3efc91[_0x1cd3('0xd28')]={};_0x3efc91[_0x1cd3('0xd29')]=_0x3efc91[_0x1cd3('0xc49')]&&_0x3efc91[_0x1cd3('0xc49')]['securePassword']?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x3efc91[_0x1cd3('0x486')]='TOOLS.EDIT_TEMPLATE';_0x3efc91[_0x1cd3('0xb7a')]=angular[_0x1cd3('0x429')](_0x3c530c);_0x3efc91[_0x1cd3('0x1156')]=_0x9fa721;_0x3efc91[_0x1cd3('0x232a')]=![];if(!_0x3efc91[_0x1cd3('0xb7a')]){_0x3efc91[_0x1cd3('0xb7a')]={};_0x3efc91[_0x1cd3('0x486')]=_0x1cd3('0x232b');_0x3efc91[_0x1cd3('0x232a')]=!![];}_0x3efc91['addNewTemplate']=_0x4d79a3;_0x3efc91['saveTemplate']=_0x132cf1;_0x3efc91[_0x1cd3('0x232c')]=_0x57d446;_0x3efc91['getDateFromString']=_0xfaecc2;_0x3efc91[_0x1cd3('0x39c')]=_0x346a04;function _0x4d79a3(){_0x3efc91[_0x1cd3('0xd34')]=[];_0x1b87ec[_0x1cd3('0xb7a')][_0x1cd3('0xd6d')](_0x3efc91[_0x1cd3('0xb7a')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x15b80a){_0x3efc91[_0x1cd3('0x1156')][_0x1cd3('0x621')](_0x15b80a[_0x1cd3('0xd32')]());_0x6434b8[_0x1cd3('0x473')]({'title':'Template\x20properly\x20created','msg':_0x3efc91['template'][_0x1cd3('0x98')]?_0x3efc91[_0x1cd3('0xb7a')]['name']+_0x1cd3('0xd33'):''});_0x346a04(_0x15b80a);})[_0x1cd3('0xfd')](function(_0x4a6256){if(_0x4a6256['data']&&_0x4a6256['data'][_0x1cd3('0xd34')]&&_0x4a6256[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x3efc91[_0x1cd3('0xd34')]=_0x4a6256['data'][_0x1cd3('0xd34')]||[{'message':_0x4a6256[_0x1cd3('0x43b')](),'type':'api.template.save'}];for(var _0x42dad3=0x0;_0x42dad3<_0x4a6256[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x42dad3+=0x1){_0x6434b8['error']({'title':_0x4a6256[_0x1cd3('0x439')]['errors'][_0x42dad3][_0x1cd3('0x424')],'msg':_0x4a6256[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x42dad3]['message']});}}else{_0x6434b8[_0x1cd3('0x434')]({'title':_0x4a6256[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x4a6256[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x4a6256[_0x1cd3('0xd35')]:_0x1cd3('0x232d'),'msg':_0x4a6256[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x4a6256[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x4a6256[_0x1cd3('0x43b')]()});}});}function _0x132cf1(){_0x3efc91['errors']=[];_0x1b87ec['template'][_0x1cd3('0x378')]({'id':_0x3efc91[_0x1cd3('0xb7a')]['id']},_0x3efc91['template'])['$promise'][_0x1cd3('0x77')](function(_0x5b6fe2){var _0x15b1f9=_[_0x1cd3('0x442')](_0x3efc91[_0x1cd3('0x1156')],{'id':_0x5b6fe2['id']});if(_0x15b1f9){_[_0x1cd3('0xf2')](_0x15b1f9,_['pick'](_0x5b6fe2['toJSON'](),_[_0x1cd3('0x80')](_0x15b1f9)));}_0x6434b8[_0x1cd3('0x473')]({'title':'Template\x20properly\x20saved!','msg':_0x3efc91[_0x1cd3('0xb7a')][_0x1cd3('0x98')]?_0x3efc91[_0x1cd3('0xb7a')]['name']+_0x1cd3('0xd37'):''});_0x346a04(_0x5b6fe2);})[_0x1cd3('0xfd')](function(_0x1dea5e){if(_0x1dea5e[_0x1cd3('0x439')]&&_0x1dea5e[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x1dea5e['data'][_0x1cd3('0xd34')]['length']){_0x3efc91[_0x1cd3('0xd34')]=_0x1dea5e[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x1dea5e[_0x1cd3('0x43b')](),'type':_0x1cd3('0x232e')}];for(var _0x554a07=0x0;_0x554a07<_0x1dea5e[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0x554a07++){_0x6434b8[_0x1cd3('0x434')]({'title':_0x1dea5e['data'][_0x1cd3('0xd34')][_0x554a07]['type'],'msg':_0x1dea5e[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x554a07][_0x1cd3('0x43a')]});}}else{_0x6434b8['error']({'title':_0x1dea5e[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x1dea5e[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x1dea5e['statusText']:_0x1cd3('0x232e'),'msg':_0x1dea5e[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x1dea5e[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x1dea5e[_0x1cd3('0x43b')]()});}});}function _0x57d446(_0x15c92d){_0x3efc91['errors']=[];var _0x5bf14c=_0x4d145a[_0x1cd3('0xd39')]()['title']('Are\x20you\x20sure?')[_0x1cd3('0xd3b')](_0x1cd3('0x232f'))[_0x1cd3('0xd3d')](_0x1cd3('0x2330'))['ok'](_0x1cd3('0xd3f'))['cancel'](_0x1cd3('0x674'))[_0x1cd3('0xd63')](_0x15c92d);_0x4d145a[_0x1cd3('0x37e')](_0x5bf14c)[_0x1cd3('0x77')](function(){_0x1b87ec[_0x1cd3('0xb7a')][_0x1cd3('0xa1c')]({'id':_0x3efc91[_0x1cd3('0xb7a')]['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x3efc91[_0x1cd3('0x1156')],{'id':_0x3efc91[_0x1cd3('0xb7a')]['id']});_0x6434b8[_0x1cd3('0x473')]({'title':_0x1cd3('0x2331'),'msg':(_0x3efc91[_0x1cd3('0xb7a')][_0x1cd3('0x98')]||_0x1cd3('0xb7a'))+_0x1cd3('0xd41')});_0x346a04(_0x3efc91[_0x1cd3('0xb7a')]);})['catch'](function(_0x38c763){if(_0x38c763[_0x1cd3('0x439')]&&_0x38c763[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x38c763['data']['errors'][_0x1cd3('0x7a')]){_0x3efc91[_0x1cd3('0xd34')]=_0x38c763[_0x1cd3('0x439')]['errors']||[{'message':_0x38c763[_0x1cd3('0x43b')](),'type':'api.template.delete'}];for(var _0xeb679=0x0;_0xeb679<_0x38c763[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0xeb679++){_0x6434b8[_0x1cd3('0x434')]({'title':_0x38c763[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0xeb679][_0x1cd3('0x424')],'msg':_0x38c763[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0xeb679]['message']});}}else{_0x6434b8[_0x1cd3('0x434')]({'title':_0x38c763[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x38c763[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x38c763['statusText']:_0x1cd3('0x2332'),'msg':_0x38c763[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x38c763['data'][_0x1cd3('0x43a')]):_0x38c763[_0x1cd3('0x43a')]||_0x38c763[_0x1cd3('0x43b')]()});}});},function(){});}function _0xfaecc2(_0x1f7d01){return _0x1f7d01===null?undefined:new Date(_0x1f7d01);}function _0x346a04(_0x5ed9a7){_0x4d145a['hide'](_0x5ed9a7);}}}());(function(){'use strict';_0x8c7cf0[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x371'),_0x1cd3('0x53e'),'$mdSidenav','$mdDialog',_0x1cd3('0x372'),'$timeout',_0x1cd3('0x3f7'),'templates',_0x1cd3('0x38a'),_0x1cd3('0x390'),'api','msUtils','toasty',_0x1cd3('0x56'),_0x1cd3('0x463'),'setting'];angular[_0x1cd3('0x0')]('app.tools')[_0x1cd3('0x39b')](_0x1cd3('0x2333'),_0x8c7cf0);function _0x8c7cf0(_0x1edfb6,_0x4db5fa,_0x4269cc,_0x58e722,_0x2b2945,_0x35a745,_0x284f20,_0x41a5db,_0x3503c7,_0x2229de,_0x594b8b,_0x17e44f,_0x4b465f,_0x295d3b,_0x432f36,_0x184bf7,_0x5c627c){var _0x46b3b2=this;_0x46b3b2[_0x1cd3('0x463')]=_0x184bf7;_0x46b3b2[_0x1cd3('0xc49')]=_0x5c627c;_0x46b3b2[_0x1cd3('0x3ca')]=_0x432f36[_0x1cd3('0x5d')]();_0x46b3b2['templates']=_0x3503c7||{'count':0x0,'rows':[]};_0x46b3b2['userProfile']=_0x2229de;_0x46b3b2[_0x1cd3('0x390')]=_0x594b8b&&_0x594b8b[_0x1cd3('0x466')]==0x1?_0x594b8b[_0x1cd3('0xf6')][0x0]:null;_0x46b3b2[_0x1cd3('0xd27')]=_0x432f36[_0x1cd3('0xd44')](_0x46b3b2[_0x1cd3('0x390')]?_0x46b3b2[_0x1cd3('0x390')]['crudPermissions']:null);_0x46b3b2[_0x1cd3('0xd45')]='templates';_0x46b3b2[_0x1cd3('0xd46')]='';_0x46b3b2[_0x1cd3('0xd47')]=null;_0x46b3b2[_0x1cd3('0x2334')]=[];_0x46b3b2['query']={'fields':_0x1cd3('0x2c4'),'sort':'-updatedAt','limit':0xa,'page':0x1};_0x46b3b2[_0x1cd3('0xd48')]=_0x4e68f1;_0x46b3b2[_0x1cd3('0xecc')]=_0xc33d99;_0x46b3b2[_0x1cd3('0x473')]=_0x685c2c;_0x46b3b2[_0x1cd3('0x2335')]=_0x24c02c;_0x46b3b2['createOrEditTemplate']=_0x4e87bf;_0x46b3b2['deleteTemplate']=_0x4ea843;_0x46b3b2[_0x1cd3('0x2336')]=_0x2c6392;_0x46b3b2['deleteSelectedTemplates']=_0x3e74f5;_0x46b3b2[_0x1cd3('0x2337')]=_0x57ad34;_0x46b3b2[_0x1cd3('0x2338')]=_0x2ff447;function _0x4e68f1(_0x32f812,_0x28b26a){_0x2b2945['show']({'controller':'CreateOrEditTemplateDialogController','controllerAs':'vm','templateUrl':_0x1cd3('0x2339'),'parent':angular[_0x1cd3('0x37f')](_0x35a745[_0x1cd3('0x380')]),'targetEvent':_0x28b26a,'clickOutsideToClose':!![],'locals':{'template':_0x32f812,'templates':_0x46b3b2[_0x1cd3('0x1156')][_0x1cd3('0xf6')],'license':_0x46b3b2[_0x1cd3('0x463')],'setting':null,'crudPermissions':_0x46b3b2[_0x1cd3('0xd27')]}});}function _0xc33d99(_0x392756,_0x658a8f){var _0x18ae2a=_0x2b2945['confirm']()[_0x1cd3('0x486')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20'+_[_0x1cd3('0xd50')](_0x1cd3('0xb7a'))+'?')[_0x1cd3('0xd60')]('<b>'+(_0x392756[_0x1cd3('0x98')]||_0x1cd3('0xb7a'))+_0x1cd3('0xd52')+_0x1cd3('0xd53'))['ariaLabel'](_0x1cd3('0x233a'))[_0x1cd3('0xd63')](_0x658a8f)['ok']('OK')['cancel'](_0x1cd3('0xd55'));_0x2b2945[_0x1cd3('0x37e')](_0x18ae2a)['then'](function(){_0x4ea843(_0x392756);},function(){console['log'](_0x1cd3('0xd55'));});}var _0x31cf70=!![];var _0x36750c=0x1;_0x1edfb6[_0x1cd3('0x4d6')](_0x1cd3('0xd56'),function(_0x54966e,_0x85b9ee){if(_0x31cf70){_0x284f20(function(){_0x31cf70=![];});}else{if(!_0x85b9ee){_0x36750c=_0x46b3b2[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0x54966e!==_0x85b9ee){_0x46b3b2[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}if(!_0x54966e){_0x46b3b2[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0x36750c;}_0x46b3b2[_0x1cd3('0x2335')]();}});function _0x685c2c(_0x31afc2){_0x46b3b2[_0x1cd3('0x1156')]=_0x31afc2||{'count':0x0,'rows':[]};}function _0x24c02c(){_0x46b3b2['query'][_0x1cd3('0xd57')]=(_0x46b3b2[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0x46b3b2[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];if(_0x432f36[_0x1cd3('0x57')](_0x1cd3('0x5f'))){_0x46b3b2[_0x1cd3('0x539')]=_0x17e44f[_0x1cd3('0xb7a')]['get'](_0x46b3b2['query'],_0x685c2c)[_0x1cd3('0x81')];}else{_0x46b3b2[_0x1cd3('0x3d4')]['id']=_0x46b3b2[_0x1cd3('0x38a')]['id'];_0x46b3b2[_0x1cd3('0x3d4')][_0x1cd3('0xd58')]=_0x1cd3('0xb1');_0x46b3b2[_0x1cd3('0x539')]=_0x17e44f[_0x1cd3('0x38a')][_0x1cd3('0xd59')](_0x46b3b2[_0x1cd3('0x3d4')],_0x685c2c)['$promise'];}}function _0x4e87bf(_0x5b51c1,_0x48fc52){_0x2b2945[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x2329'),'controllerAs':'vm','templateUrl':_0x1cd3('0x2339'),'parent':angular[_0x1cd3('0x37f')](_0x35a745[_0x1cd3('0x380')]),'targetEvent':_0x5b51c1,'clickOutsideToClose':!![],'locals':{'template':_0x48fc52,'templates':_0x46b3b2[_0x1cd3('0x1156')]['rows'],'license':_0x46b3b2['license'],'setting':_0x46b3b2[_0x1cd3('0xc49')],'crudPermissions':_0x46b3b2['crudPermissions']}});}function _0x4ea843(_0xaa3708){_0x17e44f[_0x1cd3('0xb7a')][_0x1cd3('0xa1c')]({'id':_0xaa3708['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x46b3b2[_0x1cd3('0x1156')][_0x1cd3('0xf6')],{'id':_0xaa3708['id']});_0x46b3b2[_0x1cd3('0x1156')][_0x1cd3('0x466')]-=0x1;if(!_0x46b3b2[_0x1cd3('0x1156')][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){_0x46b3b2[_0x1cd3('0x2335')]();}_0x295d3b[_0x1cd3('0x473')]({'title':_[_0x1cd3('0xd50')](_0x1cd3('0x233b'))+_0x1cd3('0xd5c'),'msg':_0xaa3708[_0x1cd3('0x98')]?_0xaa3708[_0x1cd3('0x98')]+_0x1cd3('0xd41'):''});})[_0x1cd3('0xfd')](function(_0x526019){if(_0x526019['data']&&_0x526019[_0x1cd3('0x439')]['errors']&&_0x526019[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x46b3b2['errors']=_0x526019['data'][_0x1cd3('0xd34')]||[{'message':_0x526019[_0x1cd3('0x43b')](),'type':'SYSTEM:DELETEtemplate'}];for(var _0x449dd2=0x0;_0x449dd2<_0x526019[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0x449dd2++){_0x295d3b['error']({'title':_0x526019['data'][_0x1cd3('0xd34')][_0x449dd2]['type'],'msg':_0x526019[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x449dd2][_0x1cd3('0x43a')]});}}else{_0x295d3b[_0x1cd3('0x434')]({'title':_0x526019[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x526019[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x526019[_0x1cd3('0xd35')]:_0x1cd3('0x233c'),'msg':_0x526019[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x526019['data'][_0x1cd3('0x43a')]):_0x526019['message']||_0x526019['toString']()});}});}function _0x2c6392(){var _0x8226f2=angular[_0x1cd3('0x429')](_0x46b3b2[_0x1cd3('0x2334')]);_0x46b3b2['selectedTemplates']=[];return _0x8226f2;}function _0x3e74f5(_0x399b6b){var _0x44656a=_0x2b2945['confirm']()[_0x1cd3('0x486')](_0x1cd3('0x233d'))[_0x1cd3('0xd60')]('<b>'+_0x46b3b2[_0x1cd3('0x2334')][_0x1cd3('0x7a')]+_0x1cd3('0xd61')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x233e'))['targetEvent'](_0x399b6b)['ok']('OK')[_0x1cd3('0x4d8')]('CANCEL');_0x2b2945[_0x1cd3('0x37e')](_0x44656a)[_0x1cd3('0x77')](function(){_0x46b3b2[_0x1cd3('0x2334')][_0x1cd3('0x394')](function(_0x5d442c){_0x4ea843(_0x5d442c);});_0x46b3b2['selectedTemplates']=[];});}function _0x57ad34(){_0x46b3b2[_0x1cd3('0x2334')]=[];}function _0x2ff447(){_0x46b3b2['selectedTemplates']=_0x46b3b2[_0x1cd3('0x1156')][_0x1cd3('0xf6')];}}}());(function(){'use strict';_0x281c6e[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x53e'),'$location',_0x1cd3('0x3c5'),'$q',_0x1cd3('0x3f7'),_0x1cd3('0x461'),_0x1cd3('0x233f'),_0x1cd3('0xb7e'),_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0x463'),_0x1cd3('0xc49'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')]('app.tools')[_0x1cd3('0x39b')](_0x1cd3('0x2340'),_0x281c6e);function _0x281c6e(_0x991c6a,_0x4893b4,_0x3d8bd1,_0x245462,_0x39a4ec,_0x1c5219,_0x39fb44,_0x3b8c82,_0x4617fc,_0x15f394,_0x580f1b,_0x127f6b,_0x2cef78,_0xa1f3b1){var _0x61dfe0=this;_0x61dfe0[_0x1cd3('0x3ca')]=_0x580f1b[_0x1cd3('0x5d')]();_0x61dfe0['errors']=[];_0x61dfe0['setting']=_0x2cef78;_0x61dfe0['license']=_0x127f6b;_0x61dfe0['crudPermissions']=_0xa1f3b1;_0x61dfe0[_0x1cd3('0xd28')]={};_0x61dfe0[_0x1cd3('0xd29')]=_0x61dfe0[_0x1cd3('0xc49')]&&_0x61dfe0[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x61dfe0['title']=_0x1cd3('0x2341');_0x61dfe0[_0x1cd3('0xb7e')]=angular[_0x1cd3('0x429')](_0x4617fc);_0x61dfe0[_0x1cd3('0x233f')]=_0x3b8c82;_0x61dfe0[_0x1cd3('0x2342')]=![];if(!_0x61dfe0[_0x1cd3('0xb7e')]){_0x61dfe0[_0x1cd3('0xb7e')]={'channel':_0x1cd3('0x121')};_0x61dfe0[_0x1cd3('0x486')]=_0x1cd3('0x2343');_0x61dfe0[_0x1cd3('0x2342')]=!![];}_0x61dfe0['addNewTrigger']=_0x455954;_0x61dfe0[_0x1cd3('0x2344')]=_0xd7e615;_0x61dfe0[_0x1cd3('0x2345')]=_0x33b2a0;_0x61dfe0['getDateFromString']=_0x5b1233;_0x61dfe0[_0x1cd3('0x39c')]=_0x8ab727;function _0x455954(){_0x61dfe0[_0x1cd3('0xd34')]=[];_0x15f394[_0x1cd3('0xb7e')][_0x1cd3('0xd6d')](_0x61dfe0['trigger'])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x4fc1ed){_0x61dfe0['triggers'][_0x1cd3('0x621')](_0x4fc1ed[_0x1cd3('0xd32')]());_0x39fb44['success']({'title':'Trigger\x20properly\x20created','msg':_0x61dfe0[_0x1cd3('0xb7e')][_0x1cd3('0x98')]?_0x61dfe0[_0x1cd3('0xb7e')]['name']+'\x20has\x20been\x20created!':''});_0x8ab727(_0x4fc1ed);})[_0x1cd3('0xfd')](function(_0x4a1b37){if(_0x4a1b37[_0x1cd3('0x439')]&&_0x4a1b37['data']['errors']&&_0x4a1b37[_0x1cd3('0x439')]['errors']['length']){_0x61dfe0[_0x1cd3('0xd34')]=_0x4a1b37[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x4a1b37[_0x1cd3('0x43b')](),'type':_0x1cd3('0x2346')}];for(var _0x3e596b=0x0;_0x3e596b<_0x4a1b37[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x3e596b+=0x1){_0x39fb44[_0x1cd3('0x434')]({'title':_0x4a1b37[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x3e596b][_0x1cd3('0x424')],'msg':_0x4a1b37['data'][_0x1cd3('0xd34')][_0x3e596b]['message']});}}else{_0x39fb44['error']({'title':_0x4a1b37[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x4a1b37[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x4a1b37['statusText']:_0x1cd3('0x2346'),'msg':_0x4a1b37[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x4a1b37['data']['message']):_0x4a1b37['toString']()});}});}function _0xd7e615(){_0x61dfe0['errors']=[];_0x15f394[_0x1cd3('0xb7e')][_0x1cd3('0x378')]({'id':_0x61dfe0[_0x1cd3('0xb7e')]['id']},_0x61dfe0[_0x1cd3('0xb7e')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x326b97){var _0x3d9f33=_[_0x1cd3('0x442')](_0x61dfe0[_0x1cd3('0x233f')],{'id':_0x326b97['id']});if(_0x3d9f33){_[_0x1cd3('0xf2')](_0x3d9f33,_['pick'](_0x326b97['toJSON'](),_[_0x1cd3('0x80')](_0x3d9f33)));}_0x39fb44[_0x1cd3('0x473')]({'title':_0x1cd3('0x2347'),'msg':_0x61dfe0[_0x1cd3('0xb7e')][_0x1cd3('0x98')]?_0x61dfe0['trigger'][_0x1cd3('0x98')]+_0x1cd3('0xd37'):''});_0x8ab727(_0x326b97);})[_0x1cd3('0xfd')](function(_0x17f377){if(_0x17f377[_0x1cd3('0x439')]&&_0x17f377[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x17f377[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x61dfe0[_0x1cd3('0xd34')]=_0x17f377[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x17f377['toString'](),'type':_0x1cd3('0x2348')}];for(var _0x43ffac=0x0;_0x43ffac<_0x17f377[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length'];_0x43ffac++){_0x39fb44['error']({'title':_0x17f377['data'][_0x1cd3('0xd34')][_0x43ffac][_0x1cd3('0x424')],'msg':_0x17f377[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x43ffac][_0x1cd3('0x43a')]});}}else{_0x39fb44[_0x1cd3('0x434')]({'title':_0x17f377[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x17f377[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x17f377[_0x1cd3('0xd35')]:_0x1cd3('0x2348'),'msg':_0x17f377['data']?JSON['stringify'](_0x17f377[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x17f377[_0x1cd3('0x43b')]()});}});}function _0x33b2a0(_0x22e053){_0x61dfe0[_0x1cd3('0xd34')]=[];var _0x57e099=_0x245462['confirm']()[_0x1cd3('0x486')]('Are\x20you\x20sure?')[_0x1cd3('0xd3b')]('The\x20trigger\x20will\x20be\x20deleted.')[_0x1cd3('0xd3d')](_0x1cd3('0x2349'))['ok'](_0x1cd3('0xd3f'))['cancel'](_0x1cd3('0x674'))['targetEvent'](_0x22e053);_0x245462['show'](_0x57e099)['then'](function(){_0x15f394[_0x1cd3('0xb7e')][_0x1cd3('0xa1c')]({'id':_0x61dfe0['trigger']['id']})['$promise']['then'](function(){_['remove'](_0x61dfe0[_0x1cd3('0x233f')],{'id':_0x61dfe0[_0x1cd3('0xb7e')]['id']});_0x39fb44[_0x1cd3('0x473')]({'title':_0x1cd3('0x234a'),'msg':(_0x61dfe0[_0x1cd3('0xb7e')][_0x1cd3('0x98')]||_0x1cd3('0xb7e'))+'\x20has\x20been\x20deleted!'});_0x8ab727(_0x61dfe0[_0x1cd3('0xb7e')]);})[_0x1cd3('0xfd')](function(_0x377b4e){if(_0x377b4e['data']&&_0x377b4e[_0x1cd3('0x439')]['errors']&&_0x377b4e[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x61dfe0['errors']=_0x377b4e['data'][_0x1cd3('0xd34')]||[{'message':_0x377b4e[_0x1cd3('0x43b')](),'type':_0x1cd3('0x234b')}];for(var _0xeeb190=0x0;_0xeeb190<_0x377b4e[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length'];_0xeeb190++){_0x39fb44[_0x1cd3('0x434')]({'title':_0x377b4e[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0xeeb190]['type'],'msg':_0x377b4e[_0x1cd3('0x439')]['errors'][_0xeeb190][_0x1cd3('0x43a')]});}}else{_0x39fb44[_0x1cd3('0x434')]({'title':_0x377b4e[_0x1cd3('0x3a6')]?'API:'+_0x377b4e['status']+_0x1cd3('0x436')+_0x377b4e[_0x1cd3('0xd35')]:_0x1cd3('0x234b'),'msg':_0x377b4e[_0x1cd3('0x439')]?JSON['stringify'](_0x377b4e[_0x1cd3('0x439')]['message']):_0x377b4e['message']||_0x377b4e[_0x1cd3('0x43b')]()});}});},function(){});}function _0x5b1233(_0x250751){return _0x250751===null?undefined:new Date(_0x250751);}function _0x8ab727(_0x3d38dd){_0x245462[_0x1cd3('0x39d')](_0x3d38dd);}}}());(function(){'use strict';_0x530303['$inject']=[_0x1cd3('0x36f'),_0x1cd3('0x460'),_0x1cd3('0x53e'),'$q',_0x1cd3('0x3f7'),'$timeout','$mdDialog',_0x1cd3('0x372'),'toasty',_0x1cd3('0x370'),_0x1cd3('0x56')];angular['module']('app.tools')[_0x1cd3('0x39b')](_0x1cd3('0x234c'),_0x530303);function _0x530303(_0xe44528,_0x341071,_0x264b13,_0x356f93,_0x37f275,_0x105ad2,_0x2dd9c5,_0x217656,_0x3d954c,_0x4c4a7e,_0x23a64e){var _0x14b0a6=this;_0x14b0a6['currentUser']=_0x23a64e['getCurrentUser']();_0x14b0a6['trigger']={};_0x14b0a6['triggerActions']={'count':0x0,'rows':[]};_0x14b0a6[_0x1cd3('0x234d')]=[];_0x14b0a6['crudPermissions'];_0x14b0a6['query']={'fields':'createdAt,updatedAt,id,action,data1,data2,data5,data6,data7,data3,data4','limit':0xa,'page':0x1};_0x14b0a6[_0x1cd3('0x234e')]=_['keyBy']([{'option':_0x1cd3('0x234f'),'value':'\x27contactManager\x27','ngIf':_0x1cd3('0x2350')},{'option':_0x1cd3('0x2351'),'value':'\x27integration\x27','ngIf':_0x1cd3('0x2352')},{'option':_0x1cd3('0x2353'),'value':_0x1cd3('0x2354')},{'option':_0x1cd3('0x2355'),'value':'\x27jscripty\x27'},{'option':'URL_FORWARD','value':_0x1cd3('0x2356')},{'option':_0x1cd3('0x2357'),'value':_0x1cd3('0x2358')},{'option':_0x1cd3('0x2359'),'value':_0x1cd3('0x235a'),'ngIf':_0x1cd3('0x2350')},{'option':_0x1cd3('0x235b'),'value':_0x1cd3('0x235c')}],function(_0x4529f8){return _[_0x1cd3('0x3f1')](_0x4529f8[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x14b0a6[_0x1cd3('0x235d')]=_[_0x1cd3('0xe2d')]([{'option':_0x1cd3('0x235e'),'value':_0x1cd3('0x1dc5')},{'option':'CTI\x20URL','value':_0x1cd3('0x1478')}],function(_0x75d61c){return _[_0x1cd3('0x3f1')](_0x75d61c[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x14b0a6[_0x1cd3('0x235f')]=_[_0x1cd3('0xe2d')]([{'option':_0x1cd3('0xf2b'),'value':_0x1cd3('0x1478')},{'option':'no','value':'\x270\x27'}],function(_0x56452b){return _[_0x1cd3('0x3f1')](_0x56452b['value'],new RegExp('\x27','g'),'');});_0x14b0a6[_0x1cd3('0x2360')]=_[_0x1cd3('0xe2d')]([{'option':_0x1cd3('0xf47'),'value':_0x1cd3('0x2361')},{'option':'POST','value':_0x1cd3('0x2362')},{'option':_0x1cd3('0xf48'),'value':_0x1cd3('0x2363')},{'option':_0x1cd3('0x2364'),'value':_0x1cd3('0x2365')}],function(_0x51562e){return _[_0x1cd3('0x3f1')](_0x51562e[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x14b0a6['integrationValues']=_[_0x1cd3('0xe2d')]([{'option':'Zendesk','value':_0x1cd3('0x2366'),'ngIf':_0x1cd3('0x2367'),'disabled':_0x1cd3('0x2368')},{'option':_0x1cd3('0x2369'),'value':'\x27salesforce\x27','ngIf':_0x1cd3('0x236a'),'disabled':'(!vm.newAction\x20&&\x20!vm.hasSectionPermissions[1302])'},{'option':_0x1cd3('0x236b'),'value':'\x27sugarcrm\x27','ngIf':'(vm.newAction\x20&&\x20vm.hasSectionPermissions[1305])\x20||\x20!vm.newAction','disabled':_0x1cd3('0x236c')},{'option':_0x1cd3('0x236d'),'value':_0x1cd3('0x236e'),'ngIf':_0x1cd3('0x236f'),'disabled':_0x1cd3('0x2370')},{'option':_0x1cd3('0x2371'),'value':_0x1cd3('0x2372'),'ngIf':_0x1cd3('0x2373'),'disabled':_0x1cd3('0x2374')},{'option':'Zoho','value':_0x1cd3('0x2375'),'ngIf':_0x1cd3('0x2376'),'disabled':_0x1cd3('0x2377')},{'option':_0x1cd3('0x2378'),'value':_0x1cd3('0x2379'),'ngIf':_0x1cd3('0x237a'),'disabled':_0x1cd3('0x237b')},{'option':_0x1cd3('0x237c'),'value':_0x1cd3('0x237d'),'ngIf':_0x1cd3('0x237e'),'disabled':_0x1cd3('0x237f')},{'option':'ServiceNow','value':_0x1cd3('0x2380'),'ngIf':_0x1cd3('0x2381'),'disabled':_0x1cd3('0x2382')},{'option':_0x1cd3('0x2383'),'value':'\x27freshsales\x27','ngIf':_0x1cd3('0x2384'),'disabled':_0x1cd3('0x2385')}],function(_0x554903){return _[_0x1cd3('0x3f1')](_0x554903[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x14b0a6[_0x1cd3('0x2386')]=_[_0x1cd3('0xe2d')]([{'option':_0x1cd3('0x235e'),'value':'\x270\x27'},{'option':'CTI\x20URL','value':_0x1cd3('0x1478')},{'option':'Windows\x20App','value':_0x1cd3('0x1477')}],function(_0x9cfcc6){return _['replace'](_0x9cfcc6[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x14b0a6[_0x1cd3('0x2387')]=_[_0x1cd3('0xe2d')]([{'option':_0x1cd3('0xf2b'),'value':'\x271\x27'},{'option':'no','value':_0x1cd3('0x1dc5')}],function(_0x1aab28){return _[_0x1cd3('0x3f1')](_0x1aab28[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x14b0a6[_0x1cd3('0xd22')]=_[_0x1cd3('0xe2d')]([{'option':_0x1cd3('0x2388'),'value':_0x1cd3('0x1dc5')},{'option':_0x1cd3('0x2389'),'value':_0x1cd3('0x1478')},{'option':'MOTION_TAB','value':'\x272\x27'}],function(_0x16a992){return _[_0x1cd3('0x3f1')](_0x16a992[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x14b0a6[_0x1cd3('0xe08')]=_0x707671;_0x14b0a6[_0x1cd3('0xe0a')]=_0x145dc6;_0x14b0a6[_0x1cd3('0x473')]=_0x43369d;_0x14b0a6[_0x1cd3('0x238a')]=_0x21cead;_0x14b0a6[_0x1cd3('0x238b')]=_0x3b5c9f;_0x14b0a6[_0x1cd3('0x238c')]=_0x24bcbd;_0x14b0a6[_0x1cd3('0x238d')]=_0x12509b;_0x14b0a6[_0x1cd3('0x238e')]=_0x234d17;_0x23a64e[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x4c4a7e[_0x1cd3('0xc8f')][_0x1cd3('0x361')]({'fields':'id,name','sort':'name','nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x1d0dd5){_0x14b0a6[_0x1cd3('0xf5')]=_0x1d0dd5[_0x1cd3('0xf6')]||[];})['catch'](function(_0x28fb97){_0x3d954c[_0x1cd3('0x434')]({'title':_0x28fb97[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x28fb97['status']+'\x20-\x20'+_0x28fb97[_0x1cd3('0xd35')]:'SYSTEM:GET_LISTS','msg':_0x28fb97[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x28fb97[_0x1cd3('0x439')]):_0x28fb97[_0x1cd3('0x43b')]()});}):_0x4c4a7e['cmList'][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':'name','nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x46f284){_0x14b0a6['lists']=_0x46f284[_0x1cd3('0xf6')]||[];})['then'](function(){return _0x4c4a7e['userProfileSection']['get']({'userProfileId':_0x14b0a6[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x12d})[_0x1cd3('0x81')];})['then'](function(_0x14b2fa){var _0x405024=_0x14b2fa&&_0x14b2fa[_0x1cd3('0xf6')]?_0x14b2fa[_0x1cd3('0xf6')][0x0]:null;if(!_0x405024){var _0x347b3f=[];var _0xf11a56=[];_0x14b0a6[_0x1cd3('0x238f')][_0x1cd3('0xf6')][_0x1cd3('0x394')](function(_0x479a01){if(_0x479a01[_0x1cd3('0x931')]===_0x1cd3('0x2390')){var _0x471d2e=_['find'](_0x14b0a6[_0x1cd3('0xf5')],{'id':Number(_0x479a01['data1'])});_0xf11a56[_0x1cd3('0x7b')](_0x471d2e);}});for(var _0x43af15=0x0;_0x43af15<_0x14b0a6[_0x1cd3('0xf5')][_0x1cd3('0x7a')];_0x43af15++){var _0x394fe2=_[_0x1cd3('0x38d')](_0xf11a56,{'id':_0x14b0a6[_0x1cd3('0xf5')][_0x43af15]['id']});if(_0x394fe2){_0x14b0a6[_0x1cd3('0xf5')][_0x43af15][_0x1cd3('0xf4a')]=![];_0x347b3f[_0x1cd3('0x7b')](_0x14b0a6[_0x1cd3('0xf5')][_0x43af15]);}}_0x14b0a6[_0x1cd3('0xf5')]=_0x347b3f;}else{if(!_0x405024[_0x1cd3('0x391')]){return _0x4c4a7e[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x405024['id']})[_0x1cd3('0x81')]['then'](function(_0x5394c3){var _0x2e73cc=_[_0x1cd3('0x3d9')](_0x5394c3['rows'],function(_0x1201d7){return _['find'](_0x14b0a6[_0x1cd3('0xf5')],{'id':_0x1201d7['resourceId']});});var _0x58acec=null;_0x58acec=[];_0x14b0a6[_0x1cd3('0x238f')]['rows']['forEach'](function(_0xbbb3bb){if(_0xbbb3bb[_0x1cd3('0x931')]===_0x1cd3('0x2390')){var _0x36d67c=_[_0x1cd3('0x442')](_0x14b0a6[_0x1cd3('0xf5')],{'id':Number(_0xbbb3bb['data1'])});_0x58acec[_0x1cd3('0x7b')](_0x36d67c);}});if(!_['isEmpty'](_0x58acec)){_0x58acec[_0x1cd3('0x394')](function(_0x5df69a){if(!_[_0x1cd3('0x38d')](_0x2e73cc,['id',_0x5df69a['id']])){var _0x5ecf38=_['find'](_0x14b0a6[_0x1cd3('0xf5')],{'id':_0x5df69a['id']});_0x5ecf38['canSelect']=![];_0x2e73cc[_0x1cd3('0x7b')](_0x5ecf38);}});}_0x14b0a6[_0x1cd3('0xf5')]=_0x2e73cc;});}}})[_0x1cd3('0xfd')](function(_0x592b9b){_0x3d954c[_0x1cd3('0x434')]({'title':_0x592b9b[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x592b9b[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x592b9b['statusText']:_0x1cd3('0x137f'),'msg':_0x592b9b[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x592b9b[_0x1cd3('0x439')]):_0x592b9b['toString']()});});_0x23a64e[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x4c4a7e[_0x1cd3('0xc42')]['get']({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'nolimit':'true'})[_0x1cd3('0x81')]['then'](function(_0x40b10c){_0x14b0a6['projects']=_0x40b10c['rows']||[];})[_0x1cd3('0xfd')](function(_0x45c622){_0x3d954c[_0x1cd3('0x434')]({'title':_0x45c622[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x45c622[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x45c622[_0x1cd3('0xd35')]:'SYSTEM:GET_PROJECTS','msg':_0x45c622[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x45c622[_0x1cd3('0x439')]):_0x45c622[_0x1cd3('0x43b')]()});}):_0x4c4a7e[_0x1cd3('0xc42')][_0x1cd3('0x361')]({'fields':'id,name','sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')]['then'](function(_0x387f5c){_0x14b0a6[_0x1cd3('0xeda')]=_0x387f5c[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x4c4a7e[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x14b0a6['currentUser']['userProfileId'],'sectionId':0x6a5})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x2f50c8){var _0x4a6ee5=_0x2f50c8&&_0x2f50c8[_0x1cd3('0xf6')]?_0x2f50c8[_0x1cd3('0xf6')][0x0]:null;if(!_0x4a6ee5){var _0x5497cb=[];var _0x21ec2d=[];_0x14b0a6[_0x1cd3('0x238f')]['rows'][_0x1cd3('0x394')](function(_0xb7538e){if(_0xb7538e[_0x1cd3('0x931')]===_0x1cd3('0x1ca')){var _0xf60e4c=_['find'](_0x14b0a6[_0x1cd3('0xeda')],{'id':Number(_0xb7538e['data1'])});_0x21ec2d[_0x1cd3('0x7b')](_0xf60e4c);}});for(var _0x5d48c2=0x0;_0x5d48c2<_0x14b0a6[_0x1cd3('0xeda')][_0x1cd3('0x7a')];_0x5d48c2++){var _0x44e6aa=_['some'](_0x21ec2d,{'id':_0x14b0a6[_0x1cd3('0xeda')][_0x5d48c2]['id']});if(_0x44e6aa){_0x14b0a6[_0x1cd3('0xeda')][_0x5d48c2]['canSelect']=![];_0x5497cb['push'](_0x14b0a6[_0x1cd3('0xeda')][_0x5d48c2]);}}_0x14b0a6[_0x1cd3('0xeda')]=_0x5497cb;}else{if(!_0x4a6ee5['autoAssociation']){return _0x4c4a7e[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x4a6ee5['id']})['$promise'][_0x1cd3('0x77')](function(_0xc7895a){var _0x48c461=_[_0x1cd3('0x3d9')](_0xc7895a['rows'],function(_0xf35c68){return _['find'](_0x14b0a6[_0x1cd3('0xeda')],{'id':_0xf35c68['resourceId']});});var _0x563bd3=null;_0x563bd3=[];_0x14b0a6[_0x1cd3('0x238f')][_0x1cd3('0xf6')][_0x1cd3('0x394')](function(_0x27d4f0){if(_0x27d4f0[_0x1cd3('0x931')]===_0x1cd3('0x1ca')){var _0x29080d=_[_0x1cd3('0x442')](_0x14b0a6[_0x1cd3('0xeda')],{'id':Number(_0x27d4f0[_0x1cd3('0x2391')])});_0x563bd3['push'](_0x29080d);}});if(!_[_0x1cd3('0x398')](_0x563bd3)){_0x563bd3[_0x1cd3('0x394')](function(_0x3897fe){if(!_[_0x1cd3('0x38d')](_0x48c461,['id',_0x3897fe['id']])){var _0x1552ae=_['find'](_0x14b0a6[_0x1cd3('0xeda')],{'id':_0x3897fe['id']});_0x1552ae[_0x1cd3('0xf4a')]=![];_0x48c461[_0x1cd3('0x7b')](_0x1552ae);}});}_0x14b0a6[_0x1cd3('0xeda')]=_0x48c461;});}}})[_0x1cd3('0xfd')](function(_0x374c70){_0x3d954c[_0x1cd3('0x434')]({'title':_0x374c70[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x374c70[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x374c70[_0x1cd3('0xd35')]:'SYSTEM:GETprojects','msg':_0x374c70[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x374c70[_0x1cd3('0x439')]):_0x374c70[_0x1cd3('0x43b')]()});});_0x4c4a7e[_0x1cd3('0x1b9f')]['get']({'fields':_0x1cd3('0xa6'),'sort':'id','nolimit':'true'})['$promise'][_0x1cd3('0x77')](function(_0x30a851){_0x14b0a6[_0x1cd3('0x1b96')]=_0x30a851[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x579978){_0x3d954c[_0x1cd3('0x434')]({'title':_0x579978['status']?_0x1cd3('0x435')+_0x579978[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x579978[_0x1cd3('0xd35')]:_0x1cd3('0x2392'),'msg':_0x579978[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x579978[_0x1cd3('0x439')]):_0x579978[_0x1cd3('0x43b')]()});});_0x4c4a7e[_0x1cd3('0xbc4')][_0x1cd3('0x361')]({'fields':'id,name','sort':'id','nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x2f946e){_0x14b0a6[_0x1cd3('0x19a2')]=_0x2f946e[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x4cda2c){_0x3d954c[_0x1cd3('0x434')]({'title':_0x4cda2c[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x4cda2c[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x4cda2c[_0x1cd3('0xd35')]:_0x1cd3('0x2393'),'msg':_0x4cda2c[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x4cda2c['data']):_0x4cda2c[_0x1cd3('0x43b')]()});});_0x4c4a7e['intZohoAccount']['get']({'fields':_0x1cd3('0xa6'),'sort':'id','nolimit':_0x1cd3('0x2e0')})['$promise'][_0x1cd3('0x77')](function(_0x256753){_0x14b0a6['zohoAccounts']=_0x256753[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0xe32783){_0x3d954c[_0x1cd3('0x434')]({'title':_0xe32783[_0x1cd3('0x3a6')]?'API:'+_0xe32783['status']+'\x20-\x20'+_0xe32783['statusText']:_0x1cd3('0x2394'),'msg':_0xe32783[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0xe32783['data']):_0xe32783[_0x1cd3('0x43b')]()});});_0x4c4a7e['intSalesforceAccount']['get']({'fields':_0x1cd3('0xa6'),'sort':'id','nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x53ebf7){_0x14b0a6['salesforceAccounts']=_0x53ebf7['rows']||[];})[_0x1cd3('0xfd')](function(_0x59fb1c){_0x3d954c[_0x1cd3('0x434')]({'title':_0x59fb1c[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x59fb1c[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x59fb1c['statusText']:_0x1cd3('0x2395'),'msg':_0x59fb1c[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x59fb1c[_0x1cd3('0x439')]):_0x59fb1c[_0x1cd3('0x43b')]()});});_0x4c4a7e[_0x1cd3('0xbb5')]['get']({'fields':'id,name','sort':'id','nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')]['then'](function(_0x1e4026){_0x14b0a6[_0x1cd3('0x1b30')]=_0x1e4026['rows']||[];})[_0x1cd3('0xfd')](function(_0x481367){_0x3d954c[_0x1cd3('0x434')]({'title':_0x481367[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x481367[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x481367[_0x1cd3('0xd35')]:_0x1cd3('0x2396'),'msg':_0x481367['data']?JSON[_0x1cd3('0x438')](_0x481367[_0x1cd3('0x439')]):_0x481367[_0x1cd3('0x43b')]()});});_0x4c4a7e[_0x1cd3('0x1a5b')]['get']({'fields':_0x1cd3('0xa6'),'sort':'id','nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x361c58){_0x14b0a6['freshdeskAccounts']=_0x361c58[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x1f1470){_0x3d954c[_0x1cd3('0x434')]({'title':_0x1f1470[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x1f1470[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x1f1470[_0x1cd3('0xd35')]:_0x1cd3('0x2397'),'msg':_0x1f1470[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x1f1470[_0x1cd3('0x439')]):_0x1f1470[_0x1cd3('0x43b')]()});});_0x4c4a7e[_0x1cd3('0xbf6')][_0x1cd3('0x361')]({'fields':'id,name','sort':'id','nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0xf3882f){_0x14b0a6[_0x1cd3('0x1b61')]=_0xf3882f['rows']||[];})[_0x1cd3('0xfd')](function(_0x1cd631){_0x3d954c[_0x1cd3('0x434')]({'title':_0x1cd631[_0x1cd3('0x3a6')]?'API:'+_0x1cd631[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x1cd631[_0x1cd3('0xd35')]:_0x1cd3('0x2398'),'msg':_0x1cd631[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x1cd631[_0x1cd3('0x439')]):_0x1cd631['toString']()});});_0x4c4a7e[_0x1cd3('0xc0f')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':'id','nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x4b0369){_0x14b0a6[_0x1cd3('0x1a14')]=_0x4b0369[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x9fd828){_0x3d954c[_0x1cd3('0x434')]({'title':_0x9fd828['status']?_0x1cd3('0x435')+_0x9fd828[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x9fd828[_0x1cd3('0xd35')]:_0x1cd3('0x2399'),'msg':_0x9fd828[_0x1cd3('0x439')]?JSON['stringify'](_0x9fd828[_0x1cd3('0x439')]):_0x9fd828[_0x1cd3('0x43b')]()});});_0x4c4a7e['intServicenowAccount'][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':'id','nolimit':'true'})['$promise']['then'](function(_0x324748){_0x14b0a6[_0x1cd3('0x1afc')]=_0x324748[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x33d25a){_0x3d954c[_0x1cd3('0x434')]({'title':_0x33d25a['status']?'API:'+_0x33d25a[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x33d25a['statusText']:_0x1cd3('0x239a'),'msg':_0x33d25a['data']?JSON[_0x1cd3('0x438')](_0x33d25a[_0x1cd3('0x439')]):_0x33d25a[_0x1cd3('0x43b')]()});});_0x4c4a7e[_0x1cd3('0xc1d')]['get']({'fields':'id,name','sort':'id','nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')]['then'](function(_0x2a6987){_0x14b0a6[_0x1cd3('0x1a88')]=_0x2a6987[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x5c6819){_0x3d954c[_0x1cd3('0x434')]({'title':_0x5c6819['status']?_0x1cd3('0x435')+_0x5c6819[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x5c6819['statusText']:_0x1cd3('0x239b'),'msg':_0x5c6819[_0x1cd3('0x439')]?JSON['stringify'](_0x5c6819[_0x1cd3('0x439')]):_0x5c6819[_0x1cd3('0x43b')]()});});_0x4c4a7e[_0x1cd3('0xbde')][_0x1cd3('0x361')]({'fields':'id,name,AccountId','sort':'id','nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')]['then'](function(_0x4b415d){_0x14b0a6[_0x1cd3('0x1bb2')]=_0x4b415d[_0x1cd3('0xf6')]||[];})['catch'](function(_0x3b95fb){_0x3d954c[_0x1cd3('0x434')]({'title':_0x3b95fb[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x3b95fb[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x3b95fb[_0x1cd3('0xd35')]:_0x1cd3('0x239c'),'msg':_0x3b95fb[_0x1cd3('0x439')]?JSON['stringify'](_0x3b95fb[_0x1cd3('0x439')]):_0x3b95fb[_0x1cd3('0x43b')]()});});_0x4c4a7e['intDeskConfiguration'][_0x1cd3('0x361')]({'fields':'id,name,AccountId','sort':'id','nolimit':'true'})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x2fbd30){_0x14b0a6['deskConfigurations']=_0x2fbd30['rows']||[];})[_0x1cd3('0xfd')](function(_0x151733){_0x3d954c[_0x1cd3('0x434')]({'title':_0x151733[_0x1cd3('0x3a6')]?'API:'+_0x151733[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x151733[_0x1cd3('0xd35')]:_0x1cd3('0x239d'),'msg':_0x151733[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x151733[_0x1cd3('0x439')]):_0x151733[_0x1cd3('0x43b')]()});});_0x4c4a7e[_0x1cd3('0xbd4')]['get']({'fields':_0x1cd3('0x239e'),'sort':'id','nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x106c95){_0x14b0a6[_0x1cd3('0x239f')]=_0x106c95[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x592227){_0x3d954c['error']({'title':_0x592227[_0x1cd3('0x3a6')]?'API:'+_0x592227['status']+_0x1cd3('0x436')+_0x592227[_0x1cd3('0xd35')]:_0x1cd3('0x23a0'),'msg':_0x592227[_0x1cd3('0x439')]?JSON['stringify'](_0x592227[_0x1cd3('0x439')]):_0x592227[_0x1cd3('0x43b')]()});});_0x4c4a7e[_0x1cd3('0xbab')]['get']({'fields':'id,name,AccountId','sort':'id','nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')]['then'](function(_0x45b935){_0x14b0a6[_0x1cd3('0x23a1')]=_0x45b935[_0x1cd3('0xf6')]||[];})['catch'](function(_0x2c0992){_0x3d954c[_0x1cd3('0x434')]({'title':_0x2c0992[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x2c0992['status']+_0x1cd3('0x436')+_0x2c0992[_0x1cd3('0xd35')]:_0x1cd3('0x23a2'),'msg':_0x2c0992['data']?JSON[_0x1cd3('0x438')](_0x2c0992['data']):_0x2c0992[_0x1cd3('0x43b')]()});});_0x4c4a7e[_0x1cd3('0xbbb')][_0x1cd3('0x361')]({'fields':_0x1cd3('0x239e'),'sort':'id','nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')]['then'](function(_0x2e6628){_0x14b0a6['sugarcrmConfigurations']=_0x2e6628[_0x1cd3('0xf6')]||[];})['catch'](function(_0x162148){_0x3d954c[_0x1cd3('0x434')]({'title':_0x162148[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x162148[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x162148[_0x1cd3('0xd35')]:_0x1cd3('0x23a3'),'msg':_0x162148[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x162148[_0x1cd3('0x439')]):_0x162148[_0x1cd3('0x43b')]()});});_0x4c4a7e[_0x1cd3('0xbea')][_0x1cd3('0x361')]({'fields':_0x1cd3('0x239e'),'sort':'id','nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x373759){_0x14b0a6[_0x1cd3('0x23a4')]=_0x373759['rows']||[];})['catch'](function(_0x4689fd){_0x3d954c['error']({'title':_0x4689fd[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x4689fd[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x4689fd[_0x1cd3('0xd35')]:_0x1cd3('0x23a5'),'msg':_0x4689fd[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x4689fd['data']):_0x4689fd[_0x1cd3('0x43b')]()});});_0x4c4a7e[_0x1cd3('0xbf9')]['get']({'fields':_0x1cd3('0x239e'),'sort':'id','nolimit':'true'})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x52da4d){_0x14b0a6['vtigerConfigurations']=_0x52da4d[_0x1cd3('0xf6')]||[];})['catch'](function(_0x5bc4c0){_0x3d954c[_0x1cd3('0x434')]({'title':_0x5bc4c0[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x5bc4c0[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x5bc4c0['statusText']:_0x1cd3('0x23a6'),'msg':_0x5bc4c0[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x5bc4c0[_0x1cd3('0x439')]):_0x5bc4c0[_0x1cd3('0x43b')]()});});_0x4c4a7e[_0x1cd3('0xc13')][_0x1cd3('0x361')]({'fields':_0x1cd3('0x239e'),'sort':'id','nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x21ad33){_0x14b0a6['dynamics365Configurations']=_0x21ad33[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x11a423){_0x3d954c[_0x1cd3('0x434')]({'title':_0x11a423[_0x1cd3('0x3a6')]?'API:'+_0x11a423[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x11a423[_0x1cd3('0xd35')]:_0x1cd3('0x23a7'),'msg':_0x11a423[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x11a423[_0x1cd3('0x439')]):_0x11a423[_0x1cd3('0x43b')]()});});_0x4c4a7e[_0x1cd3('0xc07')]['get']({'fields':'id,name,AccountId','sort':'id','nolimit':_0x1cd3('0x2e0')})['$promise'][_0x1cd3('0x77')](function(_0xdf1c69){_0x14b0a6[_0x1cd3('0x23a8')]=_0xdf1c69[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x32e396){_0x3d954c[_0x1cd3('0x434')]({'title':_0x32e396[_0x1cd3('0x3a6')]?'API:'+_0x32e396['status']+_0x1cd3('0x436')+_0x32e396['statusText']:_0x1cd3('0x23a9'),'msg':_0x32e396['data']?JSON[_0x1cd3('0x438')](_0x32e396['data']):_0x32e396[_0x1cd3('0x43b')]()});});_0x4c4a7e[_0x1cd3('0xc22')][_0x1cd3('0x361')]({'fields':_0x1cd3('0x239e'),'sort':'id','nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x2f4ad8){_0x14b0a6[_0x1cd3('0x23aa')]=_0x2f4ad8[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x5b552a){_0x3d954c[_0x1cd3('0x434')]({'title':_0x5b552a[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x5b552a['status']+_0x1cd3('0x436')+_0x5b552a['statusText']:_0x1cd3('0x23ab'),'msg':_0x5b552a[_0x1cd3('0x439')]?JSON['stringify'](_0x5b552a[_0x1cd3('0x439')]):_0x5b552a['toString']()});});_0x23a64e['hasRole'](_0x1cd3('0x5f'))?_0x4c4a7e[_0x1cd3('0xb7a')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':'id','nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x4e633e){_0x14b0a6[_0x1cd3('0x1156')]=_0x4e633e[_0x1cd3('0xf6')]||[];})['catch'](function(_0x47cd8f){_0x3d954c[_0x1cd3('0x434')]({'title':_0x47cd8f[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x47cd8f[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x47cd8f[_0x1cd3('0xd35')]:_0x1cd3('0x23ac'),'msg':_0x47cd8f['data']?JSON['stringify'](_0x47cd8f[_0x1cd3('0x439')]):_0x47cd8f['toString']()});}):_0x4c4a7e[_0x1cd3('0xb7a')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':'id','nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x4159ed){_0x14b0a6['templates']=_0x4159ed[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x4c4a7e['userProfileSection'][_0x1cd3('0x361')]({'userProfileId':_0x14b0a6['currentUser']['userProfileId'],'sectionId':0x3f1})[_0x1cd3('0x81')];})['then'](function(_0x45c586){var _0x1f3dc4=_0x45c586&&_0x45c586[_0x1cd3('0xf6')]?_0x45c586[_0x1cd3('0xf6')][0x0]:null;if(!_0x1f3dc4){var _0x3db443=[];var _0x2e1cec=[];_0x14b0a6[_0x1cd3('0x238f')][_0x1cd3('0xf6')]['forEach'](function(_0x4ba30e){if(_0x4ba30e[_0x1cd3('0x931')]===_0x1cd3('0x23ad')){var _0x13f1d6=_[_0x1cd3('0x442')](_0x14b0a6[_0x1cd3('0x1156')],{'id':Number(_0x4ba30e[_0x1cd3('0x23ae')])});_0x2e1cec[_0x1cd3('0x7b')](_0x13f1d6);}});for(var _0x48bfad=0x0;_0x48bfad<_0x14b0a6[_0x1cd3('0x1156')][_0x1cd3('0x7a')];_0x48bfad++){var _0x551d29=_[_0x1cd3('0x38d')](_0x2e1cec,{'id':_0x14b0a6[_0x1cd3('0x1156')][_0x48bfad]['id']});if(_0x551d29){_0x14b0a6[_0x1cd3('0x1156')][_0x48bfad][_0x1cd3('0xf4a')]=![];_0x3db443[_0x1cd3('0x7b')](_0x14b0a6['templates'][_0x48bfad]);}}_0x14b0a6[_0x1cd3('0x1156')]=_0x3db443;}else{if(!_0x1f3dc4[_0x1cd3('0x391')]){return _0x4c4a7e[_0x1cd3('0x392')]['get']({'sectionId':_0x1f3dc4['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x41460d){var _0x32a3b5=_['map'](_0x41460d[_0x1cd3('0xf6')],function(_0x5053cc){return _[_0x1cd3('0x442')](_0x14b0a6[_0x1cd3('0x1156')],{'id':_0x5053cc['resourceId']});});var _0x2694fa=null;_0x2694fa=[];_0x14b0a6[_0x1cd3('0x238f')]['rows'][_0x1cd3('0x394')](function(_0x51f80d){if(_0x51f80d[_0x1cd3('0x931')]===_0x1cd3('0x23ad')){var _0x316c60=_[_0x1cd3('0x442')](_0x14b0a6['templates'],{'id':Number(_0x51f80d[_0x1cd3('0x23ae')])});_0x2694fa[_0x1cd3('0x7b')](_0x316c60);}});if(!_[_0x1cd3('0x398')](_0x2694fa)){_0x2694fa['forEach'](function(_0x4ee6d5){if(!_['some'](_0x32a3b5,['id',_0x4ee6d5['id']])){var _0x15347a=_[_0x1cd3('0x442')](_0x14b0a6['templates'],{'id':_0x4ee6d5['id']});_0x15347a[_0x1cd3('0xf4a')]=![];_0x32a3b5[_0x1cd3('0x7b')](_0x15347a);}});}_0x14b0a6['templates']=_0x32a3b5;});}}})['catch'](function(_0x1e6647){_0x3d954c['error']({'title':_0x1e6647[_0x1cd3('0x3a6')]?'API:'+_0x1e6647[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x1e6647['statusText']:'SYSTEM:GETtemplates','msg':_0x1e6647[_0x1cd3('0x439')]?JSON['stringify'](_0x1e6647['data']):_0x1e6647['toString']()});});function _0x707671(_0x32ea76,_0x5582a7){_0x14b0a6[_0x1cd3('0xb7e')]=_0x32ea76;_0x14b0a6['crudPermissions']=typeof _0x5582a7!==_0x1cd3('0x491')?_0x5582a7:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x14b0a6['query']['ActionId']=_0x14b0a6[_0x1cd3('0xb7e')]['id'];_0x14b0a6['query']['id']=_0x14b0a6[_0x1cd3('0xb7e')]['id'];_0x21cead();_0x44e8fa();}function _0x44e8fa(){var _0x27e849=[_0x1cd3('0x21b7')];var _0x4123da=[0x515,0x516,0x517,0x519,0x51a,0x51b,0x51c];_0x23a64e['hasModulesPermissions'](_0x27e849)[_0x1cd3('0x77')](function(_0x3c3672){_0x14b0a6[_0x1cd3('0xd28')]=_[_0x1cd3('0xf2')](_0x14b0a6['hasModulePermissions'],_0x3c3672);})[_0x1cd3('0x77')](function(){_0x23a64e['hasSectionsPermissions'](_0x4123da)[_0x1cd3('0x77')](function(_0x153ec2){_0x14b0a6[_0x1cd3('0x23af')]=_[_0x1cd3('0xf2')](_0x14b0a6[_0x1cd3('0x23af')],_0x153ec2);});})['catch'](function(_0x59479f){_0x3d954c[_0x1cd3('0x434')]({'title':_0x59479f[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x59479f['status']+_0x1cd3('0x436')+_0x59479f[_0x1cd3('0xd35')]:_0x1cd3('0x23b0'),'msg':_0x59479f[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x59479f['data']):_0x59479f['toString']()});});}function _0x145dc6(_0x1ae4ec,_0x4ba83e){var _0x13fe13=_0x2dd9c5[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x23b1'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+(_0x1ae4ec['name']||_0x1ae4ec['id']&&_[_0x1cd3('0x12bc')](_0x1cd3('0x23b2'))+_0x1ae4ec['id']||'action')+_0x1cd3('0xd52')+_0x1cd3('0xd53'))['ariaLabel']('delete\x20action')[_0x1cd3('0xd63')](_0x4ba83e)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x2dd9c5[_0x1cd3('0x37e')](_0x13fe13)[_0x1cd3('0x77')](function(){_0x12509b(_0x1ae4ec);},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}function _0x43369d(_0x625426){_0x14b0a6[_0x1cd3('0x238f')]=_0x625426||{'count':0x0,'rows':[]};}function _0x21cead(){_0x14b0a6[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0x14b0a6[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0x14b0a6[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];_0x14b0a6[_0x1cd3('0x539')]=_0x4c4a7e[_0x1cd3('0xb7e')]['getActions'](_0x14b0a6[_0x1cd3('0x3d4')],_0x43369d)[_0x1cd3('0x81')];}function _0x3b5c9f(_0x49d95f,_0x398c09){_0x2dd9c5['show']({'controller':_0x1cd3('0x23b3'),'controllerAs':'vm','templateUrl':_0x1cd3('0x23b4'),'parent':angular[_0x1cd3('0x37f')](_0x217656[_0x1cd3('0x380')]),'targetEvent':_0x49d95f,'clickOutsideToClose':!![],'locals':{'trigger':_0x14b0a6[_0x1cd3('0xb7e')],'action':_0x398c09,'actions':_0x14b0a6['triggerActions'][_0x1cd3('0xf6')],'license':null,'setting':null,'crudPermissions':_0x14b0a6[_0x1cd3('0xd27')]}});}function _0x12509b(_0x2342d2){_0x4c4a7e[_0x1cd3('0x931')][_0x1cd3('0xa1c')]({'id':_0x2342d2['id']})['$promise'][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x14b0a6[_0x1cd3('0x238f')][_0x1cd3('0xf6')],{'id':_0x2342d2['id']});_0x14b0a6[_0x1cd3('0x238f')][_0x1cd3('0x466')]-=0x1;if(!_0x14b0a6[_0x1cd3('0x238f')][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){_0x21cead();}_0x3d954c['success']({'title':_0x1cd3('0x23b5'),'msg':_0x2342d2['name']?_0x2342d2[_0x1cd3('0x98')]+'\x20has\x20been\x20deleted!':''});})['catch'](function(_0x2945ec){if(_0x2945ec['data']&&_0x2945ec[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x2945ec['data']['errors']['length']){vm[_0x1cd3('0xd34')]=_0x2945ec[_0x1cd3('0x439')]['errors']||[{'message':_0x2945ec[_0x1cd3('0x43b')](),'type':'SYSTEM:GETtrigger'}];for(var _0x533863=0x0;_0x533863<_0x2945ec['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x533863++){_0x3d954c[_0x1cd3('0x434')]({'title':_0x2945ec[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x533863][_0x1cd3('0x424')],'msg':_0x2945ec[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x533863][_0x1cd3('0x43a')]});}}else{_0x3d954c[_0x1cd3('0x434')]({'title':_0x2945ec[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x2945ec[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x2945ec[_0x1cd3('0xd35')]:_0x1cd3('0x23b6'),'msg':_0x2945ec['data']?JSON[_0x1cd3('0x438')](_0x2945ec[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x2945ec[_0x1cd3('0x43a')]||_0x2945ec[_0x1cd3('0x43b')]()});}});}function _0x24bcbd(){var _0x1f5a74=angular['copy'](_0x14b0a6[_0x1cd3('0x234d')]);_0x14b0a6['selectedTriggerActions']=[];return _0x1f5a74;}function _0x234d17(_0x550e51){var _0x54f8fa=_0x2dd9c5['confirm']()[_0x1cd3('0x486')](_0x1cd3('0x23b7'))['htmlContent'](_0x1cd3('0xd51')+_0x14b0a6[_0x1cd3('0x234d')][_0x1cd3('0x7a')]+'\x20selected</b>'+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x23b8'))[_0x1cd3('0xd63')](_0x550e51)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x2dd9c5[_0x1cd3('0x37e')](_0x54f8fa)[_0x1cd3('0x77')](function(){_0x14b0a6[_0x1cd3('0x234d')][_0x1cd3('0x394')](function(_0x38855e){_0x12509b(_0x38855e);});_0x14b0a6['selectedTriggerActions']=[];});}var _0x38d3e2=!![];var _0x2f38e1=0x1;_0x341071[_0x1cd3('0x4d6')]('vm_dc.query.filter',function(_0x3ff883,_0x238e60){if(_0x38d3e2){_0x105ad2(function(){_0x38d3e2=![];});}else{if(!_0x238e60){_0x2f38e1=_0x14b0a6[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0x3ff883!==_0x238e60){_0x14b0a6[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}if(!_0x3ff883){_0x14b0a6[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0x2f38e1;}_0x21cead();}});}}());(function(){'use strict';_0x23e18f['$inject']=[_0x1cd3('0x460'),_0x1cd3('0x53e'),_0x1cd3('0xd24'),_0x1cd3('0x3c5'),'$q',_0x1cd3('0x3f7'),_0x1cd3('0x461'),_0x1cd3('0x947'),_0x1cd3('0x931'),_0x1cd3('0xb7e'),_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0x463'),_0x1cd3('0xc49'),_0x1cd3('0xd27')];angular['module'](_0x1cd3('0x33'))[_0x1cd3('0x39b')]('CreateOrEditActionDialogController',_0x23e18f);function _0x23e18f(_0x205f45,_0x54954f,_0x1f2b59,_0x37178e,_0x51faa0,_0xabff53,_0x1bf648,_0x22e158,_0x16d034,_0xf65ecd,_0x1b42fc,_0xbc544f,_0x1896b7,_0x53eb1e,_0x378115){var _0x5dd253=this;_0x5dd253[_0x1cd3('0x3ca')]=_0xbc544f[_0x1cd3('0x5d')]();_0x5dd253[_0x1cd3('0xd34')]=[];_0x5dd253[_0x1cd3('0xc49')]=_0x53eb1e;_0x5dd253[_0x1cd3('0x463')]=_0x1896b7;_0x5dd253[_0x1cd3('0xd27')]=_0x378115;_0x5dd253[_0x1cd3('0xd28')]={};_0x5dd253[_0x1cd3('0xd29')]=_0x5dd253['setting']&&_0x5dd253[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x5dd253['title']=_0x1cd3('0x23b9');_0x5dd253[_0x1cd3('0x931')]=angular[_0x1cd3('0x429')](_0x16d034);_0x5dd253['actions']=_0x22e158;_0x5dd253['newAction']=![];_0x5dd253[_0x1cd3('0xb7e')]=angular[_0x1cd3('0x429')](_0xf65ecd);if(!_0x5dd253[_0x1cd3('0x931')]){_0x5dd253['action']={'data5':0x5,'data3':'0','data4':'0'};_0x5dd253['title']=_0x1cd3('0x23ba');_0x5dd253['newAction']=!![];}if(_0x54954f[_0x1cd3('0x36a')]['id']){_0x5dd253[_0x1cd3('0x931')][_0x1cd3('0x23bb')]=_0x54954f[_0x1cd3('0x36a')]['id'];}_0x5dd253[_0x1cd3('0x23bc')]=_0x3f0e34;_0x5dd253[_0x1cd3('0x23bd')]=_0x30c6bc;_0x5dd253['deleteAction']=_0x2aeaea;_0x5dd253[_0x1cd3('0xd31')]=_0x1362d6;_0x5dd253[_0x1cd3('0x23be')]=_0x5481bb;_0x5dd253[_0x1cd3('0x23bf')]=_0x4bff85;_0x5dd253[_0x1cd3('0x39c')]=_0x56e236;_0xbc544f['hasRole'](_0x1cd3('0x5f'))?_0x1b42fc[_0x1cd3('0xc8f')]['get']({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0xb58cf4){_0x5dd253[_0x1cd3('0xf5')]=_0xb58cf4[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x48e153){_0x1bf648['error']({'title':_0x48e153['status']?_0x1cd3('0x435')+_0x48e153[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x48e153[_0x1cd3('0xd35')]:_0x1cd3('0x11f3'),'msg':_0x48e153['data']?JSON['stringify'](_0x48e153[_0x1cd3('0x439')]):_0x48e153['toString']()});}):_0x1b42fc['cmList'][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x4cca50){_0x5dd253[_0x1cd3('0xf5')]=_0x4cca50[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x1b42fc[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x5dd253[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x12d})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x225953){var _0xfd81e1=_0x225953&&_0x225953[_0x1cd3('0xf6')]?_0x225953[_0x1cd3('0xf6')][0x0]:null;if(!_0xfd81e1){var _0x476755=[];var _0x44845b=null;if(_0x5dd253[_0x1cd3('0x931')]){_0x44845b=_[_0x1cd3('0x442')](_0x5dd253[_0x1cd3('0xf5')],{'id':Number(_0x5dd253['action']['data1'])});}for(var _0x350070=0x0;_0x350070<_0x5dd253[_0x1cd3('0xf5')][_0x1cd3('0x7a')];_0x350070++){if(_0x44845b&&_0x5dd253[_0x1cd3('0xf5')][_0x350070]['id']===_0x44845b['id']){_0x5dd253[_0x1cd3('0xf5')][_0x350070]['canSelect']=![];_0x476755[_0x1cd3('0x7b')](_0x5dd253['lists'][_0x350070]);}}_0x5dd253[_0x1cd3('0xf5')]=_0x476755;}else{if(!_0xfd81e1['autoAssociation']){return _0x1b42fc['userProfileResource']['get']({'sectionId':_0xfd81e1['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x403d76){var _0x1f1e22=_[_0x1cd3('0x3d9')](_0x403d76[_0x1cd3('0xf6')],function(_0x589d01){return _[_0x1cd3('0x442')](_0x5dd253[_0x1cd3('0xf5')],{'id':_0x589d01[_0x1cd3('0xe8e')]});});var _0x21749=null;if(_0x5dd253[_0x1cd3('0x931')]){_0x21749=_[_0x1cd3('0x442')](_0x5dd253[_0x1cd3('0xf5')],{'id':Number(_0x5dd253[_0x1cd3('0x931')][_0x1cd3('0x2391')])});}if(_0x21749&&!_['some'](_0x1f1e22,['id',_0x21749['id']])){var _0x3bedd8=_[_0x1cd3('0x442')](_0x5dd253['lists'],{'id':_0x21749['id']});_0x3bedd8['canSelect']=![];_0x1f1e22[_0x1cd3('0x7b')](_0x3bedd8);}_0x5dd253[_0x1cd3('0xf5')]=_0x1f1e22;});}}})[_0x1cd3('0xfd')](function(_0x41bf8e){_0x1bf648[_0x1cd3('0x434')]({'title':_0x41bf8e[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x41bf8e[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x41bf8e[_0x1cd3('0xd35')]:'SYSTEM:GETlists','msg':_0x41bf8e[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x41bf8e[_0x1cd3('0x439')]):_0x41bf8e[_0x1cd3('0x43b')]()});});_0xbc544f['hasRole'](_0x1cd3('0x5f'))?_0x1b42fc['jscriptyProject'][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':'name','nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x512f3c){_0x5dd253[_0x1cd3('0xeda')]=_0x512f3c[_0x1cd3('0xf6')]||[];})['catch'](function(_0x262758){_0x1bf648[_0x1cd3('0x434')]({'title':_0x262758[_0x1cd3('0x3a6')]?'API:'+_0x262758[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x262758[_0x1cd3('0xd35')]:'SYSTEM:GET_PROJECTS','msg':_0x262758[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x262758[_0x1cd3('0x439')]):_0x262758[_0x1cd3('0x43b')]()});}):_0x1b42fc['jscriptyProject'][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':'name','nolimit':'true'})['$promise'][_0x1cd3('0x77')](function(_0x17723a){_0x5dd253['projects']=_0x17723a[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x1b42fc[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x5dd253[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x6a5})['$promise'];})[_0x1cd3('0x77')](function(_0x3be652){var _0x3e18bc=_0x3be652&&_0x3be652[_0x1cd3('0xf6')]?_0x3be652['rows'][0x0]:null;if(!_0x3e18bc){var _0x1b9d57=[];var _0x1fc934=null;if(_0x5dd253[_0x1cd3('0x931')]){_0x1fc934=_['find'](_0x5dd253[_0x1cd3('0xeda')],{'id':Number(_0x5dd253[_0x1cd3('0x931')][_0x1cd3('0x2391')])});}for(var _0x516f12=0x0;_0x516f12<_0x5dd253[_0x1cd3('0xeda')]['length'];_0x516f12++){if(_0x1fc934&&_0x5dd253[_0x1cd3('0xeda')][_0x516f12]['id']===_0x1fc934['id']){_0x5dd253['projects'][_0x516f12][_0x1cd3('0xf4a')]=![];_0x1b9d57['push'](_0x5dd253[_0x1cd3('0xeda')][_0x516f12]);}}_0x5dd253[_0x1cd3('0xeda')]=_0x1b9d57;}else{if(!_0x3e18bc[_0x1cd3('0x391')]){return _0x1b42fc['userProfileResource'][_0x1cd3('0x361')]({'sectionId':_0x3e18bc['id']})['$promise'][_0x1cd3('0x77')](function(_0x38df8d){var _0x471b4=_[_0x1cd3('0x3d9')](_0x38df8d[_0x1cd3('0xf6')],function(_0x3594ff){return _['find'](_0x5dd253[_0x1cd3('0xeda')],{'id':_0x3594ff[_0x1cd3('0xe8e')]});});var _0x4151d9=null;if(_0x5dd253['action']){_0x4151d9=_[_0x1cd3('0x442')](_0x5dd253['projects'],{'id':Number(_0x5dd253[_0x1cd3('0x931')][_0x1cd3('0x2391')])});}if(_0x4151d9&&!_[_0x1cd3('0x38d')](_0x471b4,['id',_0x4151d9['id']])){var _0x202f0e=_['find'](_0x5dd253['projects'],{'id':_0x4151d9['id']});_0x202f0e[_0x1cd3('0xf4a')]=![];_0x471b4[_0x1cd3('0x7b')](_0x202f0e);}_0x5dd253[_0x1cd3('0xeda')]=_0x471b4;});}}})['catch'](function(_0x1ce0e1){_0x1bf648['error']({'title':_0x1ce0e1['status']?'API:'+_0x1ce0e1[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x1ce0e1[_0x1cd3('0xd35')]:_0x1cd3('0x1d69'),'msg':_0x1ce0e1[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x1ce0e1[_0x1cd3('0x439')]):_0x1ce0e1[_0x1cd3('0x43b')]()});});_0x1b42fc[_0x1cd3('0x1b9f')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':'id','nolimit':'true'})['$promise'][_0x1cd3('0x77')](function(_0x18ac99){_0x5dd253['zendeskAccounts']=_0x18ac99[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x54c13a){_0x1bf648['error']({'title':_0x54c13a[_0x1cd3('0x3a6')]?'API:'+_0x54c13a[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x54c13a[_0x1cd3('0xd35')]:_0x1cd3('0x2392'),'msg':_0x54c13a[_0x1cd3('0x439')]?JSON['stringify'](_0x54c13a[_0x1cd3('0x439')]):_0x54c13a[_0x1cd3('0x43b')]()});});_0x1b42fc[_0x1cd3('0xbc4')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':'id','nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x5ed53c){_0x5dd253[_0x1cd3('0x19a2')]=_0x5ed53c[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x3ba97c){_0x1bf648[_0x1cd3('0x434')]({'title':_0x3ba97c[_0x1cd3('0x3a6')]?'API:'+_0x3ba97c[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x3ba97c[_0x1cd3('0xd35')]:_0x1cd3('0x2393'),'msg':_0x3ba97c['data']?JSON[_0x1cd3('0x438')](_0x3ba97c[_0x1cd3('0x439')]):_0x3ba97c['toString']()});});_0x1b42fc[_0x1cd3('0x1be0')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':'id','nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x154abe){_0x5dd253[_0x1cd3('0x1bd8')]=_0x154abe[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x1b3b5b){_0x1bf648['error']({'title':_0x1b3b5b['status']?_0x1cd3('0x435')+_0x1b3b5b['status']+'\x20-\x20'+_0x1b3b5b[_0x1cd3('0xd35')]:'SYSTEM:GET_ZOHOACCOUNTS','msg':_0x1b3b5b['data']?JSON[_0x1cd3('0x438')](_0x1b3b5b['data']):_0x1b3b5b[_0x1cd3('0x43b')]()});});_0x1b42fc['intSalesforceAccount']['get']({'fields':_0x1cd3('0xa6'),'sort':'id','nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x579d1f){_0x5dd253[_0x1cd3('0x1ac0')]=_0x579d1f[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x11c32f){_0x1bf648['error']({'title':_0x11c32f[_0x1cd3('0x3a6')]?'API:'+_0x11c32f[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x11c32f[_0x1cd3('0xd35')]:'SYSTEM:GET_SALESFORCEACCOUNTS','msg':_0x11c32f['data']?JSON[_0x1cd3('0x438')](_0x11c32f[_0x1cd3('0x439')]):_0x11c32f[_0x1cd3('0x43b')]()});});_0x1b42fc[_0x1cd3('0xbb5')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':'id','nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x465808){_0x5dd253[_0x1cd3('0x1b30')]=_0x465808[_0x1cd3('0xf6')]||[];})['catch'](function(_0x5881ca){_0x1bf648[_0x1cd3('0x434')]({'title':_0x5881ca[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x5881ca[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x5881ca[_0x1cd3('0xd35')]:_0x1cd3('0x2396'),'msg':_0x5881ca[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x5881ca[_0x1cd3('0x439')]):_0x5881ca['toString']()});});_0x1b42fc['intFreshdeskAccount'][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':'id','nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x6f0769){_0x5dd253[_0x1cd3('0x1a55')]=_0x6f0769[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x1bde75){_0x1bf648[_0x1cd3('0x434')]({'title':_0x1bde75[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x1bde75['status']+_0x1cd3('0x436')+_0x1bde75[_0x1cd3('0xd35')]:_0x1cd3('0x2397'),'msg':_0x1bde75['data']?JSON[_0x1cd3('0x438')](_0x1bde75['data']):_0x1bde75[_0x1cd3('0x43b')]()});});_0x1b42fc[_0x1cd3('0xbf6')][_0x1cd3('0x361')]({'fields':'id,name','sort':'id','nolimit':_0x1cd3('0x2e0')})['$promise'][_0x1cd3('0x77')](function(_0x34964c){_0x5dd253[_0x1cd3('0x1b61')]=_0x34964c[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x202f9b){_0x1bf648[_0x1cd3('0x434')]({'title':_0x202f9b[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x202f9b['status']+_0x1cd3('0x436')+_0x202f9b[_0x1cd3('0xd35')]:_0x1cd3('0x2398'),'msg':_0x202f9b[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x202f9b[_0x1cd3('0x439')]):_0x202f9b[_0x1cd3('0x43b')]()});});_0x1b42fc[_0x1cd3('0xc0f')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':'id','nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x1458fb){_0x5dd253[_0x1cd3('0x1a14')]=_0x1458fb[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x1fcdff){_0x1bf648[_0x1cd3('0x434')]({'title':_0x1fcdff[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x1fcdff['status']+'\x20-\x20'+_0x1fcdff['statusText']:_0x1cd3('0x2399'),'msg':_0x1fcdff[_0x1cd3('0x439')]?JSON['stringify'](_0x1fcdff[_0x1cd3('0x439')]):_0x1fcdff[_0x1cd3('0x43b')]()});});_0x1b42fc[_0x1cd3('0xc01')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':'id','nolimit':'true'})[_0x1cd3('0x81')]['then'](function(_0x16b8d5){_0x5dd253[_0x1cd3('0x1afc')]=_0x16b8d5[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x9262ff){_0x1bf648[_0x1cd3('0x434')]({'title':_0x9262ff[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x9262ff['status']+_0x1cd3('0x436')+_0x9262ff['statusText']:_0x1cd3('0x239a'),'msg':_0x9262ff[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x9262ff['data']):_0x9262ff[_0x1cd3('0x43b')]()});});_0x1b42fc[_0x1cd3('0xc1d')]['get']({'fields':_0x1cd3('0xa6'),'sort':'id','nolimit':_0x1cd3('0x2e0')})['$promise'][_0x1cd3('0x77')](function(_0x4c8b4b){_0x5dd253['freshsalesAccounts']=_0x4c8b4b[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x378272){_0x1bf648[_0x1cd3('0x434')]({'title':_0x378272[_0x1cd3('0x3a6')]?'API:'+_0x378272[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x378272[_0x1cd3('0xd35')]:'SYSTEM:GET_FRESHSALESACCOUNTS','msg':_0x378272['data']?JSON[_0x1cd3('0x438')](_0x378272[_0x1cd3('0x439')]):_0x378272[_0x1cd3('0x43b')]()});});_0x1b42fc[_0x1cd3('0xbde')][_0x1cd3('0x361')]({'fields':'id,name,AccountId','sort':'id','nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x27c0b3){_0x5dd253[_0x1cd3('0x1bb2')]=_0x27c0b3[_0x1cd3('0xf6')]||[];})['catch'](function(_0x5b9f19){_0x1bf648[_0x1cd3('0x434')]({'title':_0x5b9f19[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x5b9f19['status']+_0x1cd3('0x436')+_0x5b9f19['statusText']:_0x1cd3('0x239c'),'msg':_0x5b9f19[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x5b9f19[_0x1cd3('0x439')]):_0x5b9f19[_0x1cd3('0x43b')]()});});_0x1b42fc[_0x1cd3('0xbc9')][_0x1cd3('0x361')]({'fields':'id,name,AccountId','sort':'id','nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x2fec01){_0x5dd253['deskConfigurations']=_0x2fec01[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x2cfddf){_0x1bf648[_0x1cd3('0x434')]({'title':_0x2cfddf[_0x1cd3('0x3a6')]?'API:'+_0x2cfddf[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x2cfddf[_0x1cd3('0xd35')]:_0x1cd3('0x239d'),'msg':_0x2cfddf[_0x1cd3('0x439')]?JSON['stringify'](_0x2cfddf[_0x1cd3('0x439')]):_0x2cfddf[_0x1cd3('0x43b')]()});});_0x1b42fc['intZohoConfiguration'][_0x1cd3('0x361')]({'fields':'id,name,AccountId','sort':'id','nolimit':'true'})['$promise'][_0x1cd3('0x77')](function(_0x1028e9){_0x5dd253[_0x1cd3('0x239f')]=_0x1028e9[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x449d6f){_0x1bf648[_0x1cd3('0x434')]({'title':_0x449d6f[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x449d6f['status']+'\x20-\x20'+_0x449d6f[_0x1cd3('0xd35')]:'SYSTEM:GET_ZOHOCONFIGURATIONS','msg':_0x449d6f[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x449d6f[_0x1cd3('0x439')]):_0x449d6f['toString']()});});_0x1b42fc[_0x1cd3('0xbab')]['get']({'fields':_0x1cd3('0x239e'),'sort':'id','nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')]['then'](function(_0x479b02){_0x5dd253[_0x1cd3('0x23a1')]=_0x479b02['rows']||[];})[_0x1cd3('0xfd')](function(_0x2b382b){_0x1bf648[_0x1cd3('0x434')]({'title':_0x2b382b['status']?_0x1cd3('0x435')+_0x2b382b['status']+_0x1cd3('0x436')+_0x2b382b[_0x1cd3('0xd35')]:_0x1cd3('0x23a2'),'msg':_0x2b382b[_0x1cd3('0x439')]?JSON['stringify'](_0x2b382b[_0x1cd3('0x439')]):_0x2b382b[_0x1cd3('0x43b')]()});});_0x1b42fc[_0x1cd3('0xbbb')]['get']({'fields':'id,name,AccountId','sort':'id','nolimit':_0x1cd3('0x2e0')})['$promise'][_0x1cd3('0x77')](function(_0x1e9083){_0x5dd253[_0x1cd3('0x23c0')]=_0x1e9083[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x252376){_0x1bf648[_0x1cd3('0x434')]({'title':_0x252376[_0x1cd3('0x3a6')]?'API:'+_0x252376[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x252376[_0x1cd3('0xd35')]:_0x1cd3('0x23a3'),'msg':_0x252376[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x252376[_0x1cd3('0x439')]):_0x252376['toString']()});});_0x1b42fc[_0x1cd3('0xbea')][_0x1cd3('0x361')]({'fields':_0x1cd3('0x239e'),'sort':'id','nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x3ec63d){_0x5dd253[_0x1cd3('0x23a4')]=_0x3ec63d[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x3fc8ae){_0x1bf648[_0x1cd3('0x434')]({'title':_0x3fc8ae[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x3fc8ae['status']+_0x1cd3('0x436')+_0x3fc8ae[_0x1cd3('0xd35')]:_0x1cd3('0x23a5'),'msg':_0x3fc8ae[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x3fc8ae[_0x1cd3('0x439')]):_0x3fc8ae['toString']()});});_0x1b42fc[_0x1cd3('0xbf9')][_0x1cd3('0x361')]({'fields':'id,name,AccountId','sort':'id','nolimit':'true'})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x5ce5de){_0x5dd253[_0x1cd3('0x23c1')]=_0x5ce5de[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x31a03d){_0x1bf648[_0x1cd3('0x434')]({'title':_0x31a03d[_0x1cd3('0x3a6')]?'API:'+_0x31a03d[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x31a03d[_0x1cd3('0xd35')]:'SYSTEM:GET_VTIGERCONFIGURATIONS','msg':_0x31a03d['data']?JSON['stringify'](_0x31a03d[_0x1cd3('0x439')]):_0x31a03d['toString']()});});_0x1b42fc['intDynamics365Configuration']['get']({'fields':'id,name,AccountId','sort':'id','nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x384a33){_0x5dd253[_0x1cd3('0x23c2')]=_0x384a33[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x11160e){_0x1bf648[_0x1cd3('0x434')]({'title':_0x11160e['status']?'API:'+_0x11160e[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x11160e[_0x1cd3('0xd35')]:'SYSTEM:GET_DYNAMICS365CONFIGURATIONS','msg':_0x11160e['data']?JSON[_0x1cd3('0x438')](_0x11160e['data']):_0x11160e['toString']()});});_0x1b42fc[_0x1cd3('0xc07')]['get']({'fields':_0x1cd3('0x239e'),'sort':'id','nolimit':_0x1cd3('0x2e0')})['$promise'][_0x1cd3('0x77')](function(_0x4b4e10){_0x5dd253['servicenowConfigurations']=_0x4b4e10[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x2a9ff7){_0x1bf648['error']({'title':_0x2a9ff7['status']?_0x1cd3('0x435')+_0x2a9ff7[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x2a9ff7[_0x1cd3('0xd35')]:_0x1cd3('0x23a9'),'msg':_0x2a9ff7['data']?JSON[_0x1cd3('0x438')](_0x2a9ff7[_0x1cd3('0x439')]):_0x2a9ff7['toString']()});});_0x1b42fc['intFreshsalesConfiguration'][_0x1cd3('0x361')]({'fields':'id,name,AccountId','sort':'id','nolimit':'true'})[_0x1cd3('0x81')]['then'](function(_0x38600e){_0x5dd253[_0x1cd3('0x23aa')]=_0x38600e[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x4baf4f){_0x1bf648[_0x1cd3('0x434')]({'title':_0x4baf4f['status']?_0x1cd3('0x435')+_0x4baf4f[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x4baf4f['statusText']:_0x1cd3('0x23ab'),'msg':_0x4baf4f[_0x1cd3('0x439')]?JSON['stringify'](_0x4baf4f[_0x1cd3('0x439')]):_0x4baf4f[_0x1cd3('0x43b')]()});});_0xbc544f[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x1b42fc[_0x1cd3('0xb7a')][_0x1cd3('0x361')]({'fields':'id,name','sort':'id','nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x2fc1e4){_0x5dd253[_0x1cd3('0x1156')]=_0x2fc1e4['rows']||[];})[_0x1cd3('0xfd')](function(_0xb5c9f5){_0x1bf648[_0x1cd3('0x434')]({'title':_0xb5c9f5['status']?'API:'+_0xb5c9f5[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0xb5c9f5[_0x1cd3('0xd35')]:_0x1cd3('0x23ac'),'msg':_0xb5c9f5['data']?JSON[_0x1cd3('0x438')](_0xb5c9f5['data']):_0xb5c9f5[_0x1cd3('0x43b')]()});}):_0x1b42fc['template']['get']({'fields':_0x1cd3('0xa6'),'sort':'id','nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x4d341a){_0x5dd253['templates']=_0x4d341a[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x1b42fc[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x5dd253[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x3f1})[_0x1cd3('0x81')];})['then'](function(_0xadb12c){var _0x2ff2f2=_0xadb12c&&_0xadb12c['rows']?_0xadb12c[_0x1cd3('0xf6')][0x0]:null;if(!_0x2ff2f2){var _0x1ae061=[];var _0x5ac524=null;if(_0x5dd253['action']){_0x5ac524=_[_0x1cd3('0x442')](_0x5dd253[_0x1cd3('0x1156')],{'id':Number(_0x5dd253['action'][_0x1cd3('0x23ae')])});}for(var _0x2fe6bd=0x0;_0x2fe6bd<_0x5dd253[_0x1cd3('0x1156')]['length'];_0x2fe6bd++){if(_0x5ac524&&_0x5dd253[_0x1cd3('0x1156')][_0x2fe6bd]['id']===_0x5ac524['id']){_0x5dd253['templates'][_0x2fe6bd][_0x1cd3('0xf4a')]=![];_0x1ae061[_0x1cd3('0x7b')](_0x5dd253['templates'][_0x2fe6bd]);}}_0x5dd253[_0x1cd3('0x1156')]=_0x1ae061;}else{if(!_0x2ff2f2[_0x1cd3('0x391')]){return _0x1b42fc[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x2ff2f2['id']})[_0x1cd3('0x81')]['then'](function(_0x2da391){var _0x2a1084=_[_0x1cd3('0x3d9')](_0x2da391[_0x1cd3('0xf6')],function(_0x444b4d){return _[_0x1cd3('0x442')](_0x5dd253[_0x1cd3('0x1156')],{'id':_0x444b4d[_0x1cd3('0xe8e')]});});var _0x1d407b=null;if(_0x5dd253[_0x1cd3('0x931')]){_0x1d407b=_[_0x1cd3('0x442')](_0x5dd253[_0x1cd3('0x1156')],{'id':Number(_0x5dd253['action'][_0x1cd3('0x23ae')])});}if(_0x1d407b&&!_[_0x1cd3('0x38d')](_0x2a1084,['id',_0x1d407b['id']])){var _0x3360ad=_['find'](_0x5dd253['templates'],{'id':_0x1d407b['id']});_0x3360ad[_0x1cd3('0xf4a')]=![];_0x2a1084[_0x1cd3('0x7b')](_0x3360ad);}_0x5dd253['templates']=_0x2a1084;});}}})['catch'](function(_0x2cb076){_0x1bf648[_0x1cd3('0x434')]({'title':_0x2cb076['status']?_0x1cd3('0x435')+_0x2cb076[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x2cb076['statusText']:'SYSTEM:GETtemplates','msg':_0x2cb076['data']?JSON[_0x1cd3('0x438')](_0x2cb076[_0x1cd3('0x439')]):_0x2cb076[_0x1cd3('0x43b')]()});});function _0x5481bb(){var _0x20c55a=['Integrations'];_0xbc544f['hasModulesPermissions'](_0x20c55a)[_0x1cd3('0x77')](function(_0xdfc6fe){_0x5dd253['hasModulePermissions']=_['merge'](_0x5dd253['hasModulePermissions'],_0xdfc6fe);})[_0x1cd3('0xfd')](function(_0x35f424){_0x1bf648[_0x1cd3('0x434')]({'title':_0x35f424['status']?_0x1cd3('0x435')+_0x35f424[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x35f424['statusText']:_0x1cd3('0x23c3'),'msg':_0x35f424[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x35f424[_0x1cd3('0x439')]):_0x35f424[_0x1cd3('0x43b')]()});});}function _0x4bff85(){var _0x277db5=[0x515,0x516,0x517,0x519,0x51a,0x51b,0x51c,0x51d,0x51e,0x51f];_0xbc544f[_0x1cd3('0x23c4')](_0x277db5)[_0x1cd3('0x77')](function(_0x7d9d49){_0x5dd253[_0x1cd3('0x23af')]=_[_0x1cd3('0xf2')](_0x5dd253[_0x1cd3('0x23af')],_0x7d9d49);})[_0x1cd3('0xfd')](function(_0x16a67d){_0x1bf648['error']({'title':_0x16a67d[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x16a67d[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x16a67d[_0x1cd3('0xd35')]:_0x1cd3('0x23c5'),'msg':_0x16a67d[_0x1cd3('0x439')]?JSON['stringify'](_0x16a67d[_0x1cd3('0x439')]):_0x16a67d[_0x1cd3('0x43b')]()});});}function _0x3f0e34(){_0x5dd253[_0x1cd3('0xd34')]=[];_0x1b42fc[_0x1cd3('0xb7e')][_0x1cd3('0x23c6')]({'id':_0x54954f[_0x1cd3('0x36a')]['id']},_0x5dd253[_0x1cd3('0x931')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x25e700){_0x5dd253['actions']['unshift'](_0x25e700[_0x1cd3('0xd32')]());_0x1bf648[_0x1cd3('0x473')]({'title':_0x1cd3('0x23c7'),'msg':_0x5dd253[_0x1cd3('0x931')]['name']?_0x5dd253['action'][_0x1cd3('0x98')]+'\x20has\x20been\x20created!':''});_0x56e236(_0x25e700);})[_0x1cd3('0xfd')](function(_0x2cba87){if(_0x2cba87[_0x1cd3('0x439')]&&_0x2cba87['data'][_0x1cd3('0xd34')]&&_0x2cba87['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x5dd253[_0x1cd3('0xd34')]=_0x2cba87[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x2cba87[_0x1cd3('0x43b')](),'type':_0x1cd3('0x23c8')}];for(var _0x2aebfa=0x0;_0x2aebfa<_0x2cba87[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0x2aebfa+=0x1){_0x1bf648['error']({'title':_0x2cba87[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x2aebfa]['type'],'msg':_0x2cba87['data'][_0x1cd3('0xd34')][_0x2aebfa][_0x1cd3('0x43a')]});}}else{_0x1bf648[_0x1cd3('0x434')]({'title':_0x2cba87['status']?_0x1cd3('0x435')+_0x2cba87[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x2cba87['statusText']:'api.action.save','msg':_0x2cba87[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x2cba87[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x2cba87[_0x1cd3('0x43b')]()});}});}function _0x30c6bc(){_0x5dd253[_0x1cd3('0xd34')]=[];_0x1b42fc['action'][_0x1cd3('0x378')]({'id':_0x5dd253[_0x1cd3('0x931')]['id']},_0x5dd253[_0x1cd3('0x931')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x2121ad){var _0x177679=_[_0x1cd3('0x442')](_0x5dd253['actions'],{'id':_0x2121ad['id']});if(_0x177679){_[_0x1cd3('0xf2')](_0x177679,_[_0x1cd3('0x5e8')](_0x2121ad[_0x1cd3('0xd32')](),_[_0x1cd3('0x80')](_0x177679)));}_0x1bf648[_0x1cd3('0x473')]({'title':'Action\x20properly\x20saved!','msg':_0x5dd253[_0x1cd3('0x931')][_0x1cd3('0x98')]?_0x5dd253['action'][_0x1cd3('0x98')]+_0x1cd3('0xd37'):''});_0x56e236(_0x2121ad);})[_0x1cd3('0xfd')](function(_0x434072){if(_0x434072[_0x1cd3('0x439')]&&_0x434072[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x434072[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x5dd253[_0x1cd3('0xd34')]=_0x434072[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x434072['toString'](),'type':'api.action.update'}];for(var _0x39767a=0x0;_0x39767a<_0x434072[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x39767a++){_0x1bf648['error']({'title':_0x434072[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x39767a]['type'],'msg':_0x434072['data']['errors'][_0x39767a][_0x1cd3('0x43a')]});}}else{_0x1bf648[_0x1cd3('0x434')]({'title':_0x434072[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x434072[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x434072[_0x1cd3('0xd35')]:'api.action.update','msg':_0x434072[_0x1cd3('0x439')]?JSON['stringify'](_0x434072[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x434072['toString']()});}});}function _0x2aeaea(_0x4ecd4f){_0x5dd253[_0x1cd3('0xd34')]=[];var _0xb0ad51=_0x37178e[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xd3a'))[_0x1cd3('0xd3b')]('The\x20action\x20will\x20be\x20deleted.')[_0x1cd3('0xd3d')](_0x1cd3('0x23c9'))['ok'](_0x1cd3('0xd3f'))['cancel'](_0x1cd3('0x674'))[_0x1cd3('0xd63')](_0x4ecd4f);_0x37178e[_0x1cd3('0x37e')](_0xb0ad51)[_0x1cd3('0x77')](function(){_0x1b42fc[_0x1cd3('0x931')][_0x1cd3('0xa1c')]({'id':_0x5dd253[_0x1cd3('0x931')]['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x5dd253['actions'],{'id':_0x5dd253['action']['id']});_0x1bf648[_0x1cd3('0x473')]({'title':_0x1cd3('0x23ca'),'msg':(_0x5dd253[_0x1cd3('0x931')][_0x1cd3('0x98')]||_0x1cd3('0x931'))+'\x20has\x20been\x20deleted!'});_0x56e236(_0x5dd253['action']);})['catch'](function(_0x60bd1c){if(_0x60bd1c['data']&&_0x60bd1c['data']['errors']&&_0x60bd1c['data'][_0x1cd3('0xd34')]['length']){_0x5dd253[_0x1cd3('0xd34')]=_0x60bd1c[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x60bd1c[_0x1cd3('0x43b')](),'type':'api.action.delete'}];for(var _0x12b092=0x0;_0x12b092<_0x60bd1c[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x12b092++){_0x1bf648[_0x1cd3('0x434')]({'title':_0x60bd1c[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x12b092][_0x1cd3('0x424')],'msg':_0x60bd1c[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x12b092][_0x1cd3('0x43a')]});}}else{_0x1bf648[_0x1cd3('0x434')]({'title':_0x60bd1c['status']?_0x1cd3('0x435')+_0x60bd1c['status']+_0x1cd3('0x436')+_0x60bd1c[_0x1cd3('0xd35')]:_0x1cd3('0x23cb'),'msg':_0x60bd1c[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x60bd1c[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x60bd1c[_0x1cd3('0x43a')]||_0x60bd1c[_0x1cd3('0x43b')]()});}});},function(){});}function _0x1362d6(_0x5e2cd0){return _0x5e2cd0===null?undefined:new Date(_0x5e2cd0);}function _0x56e236(_0x2ce86a){_0x37178e['hide'](_0x2ce86a);}}}());(function(){'use strict';_0x14ad7f[_0x1cd3('0xc')]=[_0x1cd3('0x36f'),'$scope',_0x1cd3('0x53e'),'$q',_0x1cd3('0x3f7'),'$timeout',_0x1cd3('0x3c5'),'$document',_0x1cd3('0x461'),_0x1cd3('0x370'),_0x1cd3('0x56')];angular[_0x1cd3('0x0')](_0x1cd3('0x33'))[_0x1cd3('0x39b')](_0x1cd3('0x23cc'),_0x14ad7f);function _0x14ad7f(_0x38d97c,_0x45bf40,_0x2b248f,_0x315a18,_0x4285ad,_0x18f920,_0x3a36e7,_0x1396ad,_0x2290d3,_0x16eaf5,_0x11be36){var _0x17adc9=this;_0x17adc9[_0x1cd3('0x3ca')]=_0x11be36[_0x1cd3('0x5d')]();_0x17adc9[_0x1cd3('0xb7e')]={};_0x17adc9[_0x1cd3('0x23cd')]={'count':0x0,'rows':[]};_0x17adc9[_0x1cd3('0x23ce')]=[];_0x17adc9['crudPermissions'];_0x17adc9[_0x1cd3('0x3d4')]={'fields':_0x1cd3('0x23cf'),'limit':0xa,'page':0x1};_0x17adc9[_0x1cd3('0x23d0')]=_[_0x1cd3('0xe2d')]([{'option':_0x1cd3('0x1223'),'value':_0x1cd3('0x23d1'),'ngIf':_0x1cd3('0x2350')},{'option':_0x1cd3('0x23d2'),'value':'\x27lastevent\x27','ngIf':_0x1cd3('0x2350')},{'option':_0x1cd3('0x23d3'),'value':'\x27routeId\x27','ngIf':'vm.trigger.channel\x20==\x20\x27voice\x27'},{'option':_0x1cd3('0x1227'),'value':'\x27agent\x27','ngIf':_0x1cd3('0x2350')},{'option':_0x1cd3('0x1591'),'value':_0x1cd3('0x23d4'),'ngIf':_0x1cd3('0x23d5')},{'option':_0x1cd3('0x1495'),'value':_0x1cd3('0x23d6'),'ngIf':_0x1cd3('0x23d5')},{'option':'Message','value':_0x1cd3('0x23d7'),'ngIf':_0x1cd3('0x23d5')}],function(_0x30023f){return _[_0x1cd3('0x3f1')](_0x30023f[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x17adc9['arrayoperator']=_[_0x1cd3('0xe2d')]([{'option':_0x1cd3('0x23d8'),'value':_0x1cd3('0x23d9')},{'option':_0x1cd3('0x23da'),'value':_0x1cd3('0x23db')}],function(_0x5adac9){return _[_0x1cd3('0x3f1')](_0x5adac9[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x17adc9[_0x1cd3('0x23dc')]=_['keyBy']([{'option':_0x1cd3('0x23dd'),'value':_0x1cd3('0x23de')},{'option':'Timeout','value':_0x1cd3('0x135d')},{'option':'Hangup','value':_0x1cd3('0x23df')},{'option':_0x1cd3('0x937'),'value':_0x1cd3('0x23e0')},{'option':_0x1cd3('0x23e1'),'value':_0x1cd3('0x23e2')},{'option':_0x1cd3('0x23e3'),'value':_0x1cd3('0x23e4')}],function(_0x3ce1d9){return _[_0x1cd3('0x3f1')](_0x3ce1d9['value'],new RegExp('\x27','g'),'');});_0x17adc9[_0x1cd3('0x23e5')]=_[_0x1cd3('0xe2d')]([{'option':_0x1cd3('0x23e6'),'value':_0x1cd3('0x23e7')},{'option':_0x1cd3('0x23e8'),'value':_0x1cd3('0x23e9')}],function(_0x24fca1){return _[_0x1cd3('0x3f1')](_0x24fca1['value'],new RegExp('\x27','g'),'');});_0x17adc9[_0x1cd3('0x23ea')]=_[_0x1cd3('0xe2d')]([{'option':_0x1cd3('0x23eb'),'value':_0x1cd3('0x23ec')},{'option':_0x1cd3('0x23ed'),'value':'\x27out\x27'},{'option':'Accepted','value':_0x1cd3('0x23ee')},{'option':'Rejected','value':_0x1cd3('0x23ef')}],function(_0x554d02){return _[_0x1cd3('0x3f1')](_0x554d02[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x17adc9[_0x1cd3('0xe08')]=_0x363362;_0x17adc9['deleteConfirm']=_0x31074a;_0x17adc9[_0x1cd3('0x473')]=_0x4608c5;_0x17adc9[_0x1cd3('0x23f0')]=_0x304956;_0x17adc9['createOrEditTriggerAllCondition']=_0x19901c;_0x17adc9[_0x1cd3('0x23f1')]=_0x3926b3;_0x17adc9[_0x1cd3('0x23f2')]=_0x2ac58f;_0x17adc9['deleteSelectedTriggerAllConditions']=_0x3c34a2;_0x11be36[_0x1cd3('0x57')]('admin')?_0x16eaf5['chatWebsite'][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':'id','nolimit':'true'})[_0x1cd3('0x81')]['then'](function(_0x3c66b3){_0x17adc9[_0x1cd3('0x15fd')]=_0x3c66b3[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x15be68){_0x2290d3['error']({'title':_0x15be68['status']?'API:'+_0x15be68[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x15be68['statusText']:_0x1cd3('0x23f3'),'msg':_0x15be68['data']?JSON[_0x1cd3('0x438')](_0x15be68['data']):_0x15be68[_0x1cd3('0x43b')]()});}):_0x16eaf5['chatWebsite'][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':'id','nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x5682f1){_0x17adc9[_0x1cd3('0x15fd')]=_0x5682f1[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x16eaf5[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x17adc9[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x1f6})['$promise'];})[_0x1cd3('0x77')](function(_0x430d22){var _0x168108=_0x430d22&&_0x430d22[_0x1cd3('0xf6')]?_0x430d22[_0x1cd3('0xf6')][0x0]:null;if(!_0x168108){var _0x5f0097=[];var _0xc08e61=[];_0x17adc9[_0x1cd3('0x23cd')][_0x1cd3('0xf6')]['forEach'](function(_0x12a0c5){if(_0x12a0c5[_0x1cd3('0x450')]===_0x1cd3('0x15d3')){var _0x1cacf7=_[_0x1cd3('0x442')](_0x17adc9['chatAccounts'],{'id':Number(_0x12a0c5[_0x1cd3('0x3db')])});_0xc08e61[_0x1cd3('0x7b')](_0x1cacf7);}});for(var _0x421e98=0x0;_0x421e98<_0x17adc9['chatAccounts'][_0x1cd3('0x7a')];_0x421e98++){var _0x19ba6b=_[_0x1cd3('0x38d')](_0xc08e61,{'id':_0x17adc9[_0x1cd3('0x15fd')][_0x421e98]['id']});if(_0x19ba6b){_0x17adc9[_0x1cd3('0x15fd')][_0x421e98][_0x1cd3('0xf4a')]=![];_0x5f0097['push'](_0x17adc9[_0x1cd3('0x15fd')][_0x421e98]);}}_0x17adc9['chatAccounts']=_0x5f0097;}else{if(!_0x168108[_0x1cd3('0x391')]){return _0x16eaf5[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x168108['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x4bcb2f){var _0x2f9d89=_['map'](_0x4bcb2f['rows'],function(_0x44cec3){return _[_0x1cd3('0x442')](_0x17adc9[_0x1cd3('0x15fd')],{'id':_0x44cec3[_0x1cd3('0xe8e')]});});var _0x339589=null;_0x339589=[];_0x17adc9[_0x1cd3('0x23cd')]['rows']['forEach'](function(_0x1906a8){if(_0x1906a8[_0x1cd3('0x450')]==='account'){var _0xab99b4=_[_0x1cd3('0x442')](_0x17adc9['chatAccounts'],{'id':Number(_0x1906a8['value'])});_0x339589[_0x1cd3('0x7b')](_0xab99b4);}});if(!_[_0x1cd3('0x398')](_0x339589)){_0x339589[_0x1cd3('0x394')](function(_0x22a433){if(!_['some'](_0x2f9d89,['id',_0x22a433['id']])){var _0x36ebb2=_['find'](_0x17adc9[_0x1cd3('0x15fd')],{'id':_0x22a433['id']});_0x36ebb2[_0x1cd3('0xf4a')]=![];_0x2f9d89[_0x1cd3('0x7b')](_0x36ebb2);}});}_0x17adc9[_0x1cd3('0x15fd')]=_0x2f9d89;});}}})[_0x1cd3('0xfd')](function(_0x5ee836){_0x2290d3['error']({'title':_0x5ee836['status']?_0x1cd3('0x435')+_0x5ee836['status']+_0x1cd3('0x436')+_0x5ee836[_0x1cd3('0xd35')]:'SYSTEM:GETchatAccounts','msg':_0x5ee836[_0x1cd3('0x439')]?JSON['stringify'](_0x5ee836[_0x1cd3('0x439')]):_0x5ee836[_0x1cd3('0x43b')]()});});_0x11be36[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x16eaf5[_0x1cd3('0xa7a')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':'id','nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x1ae585){_0x17adc9['mailAccounts']=_0x1ae585['rows']||[];})[_0x1cd3('0xfd')](function(_0x2b2c84){_0x2290d3[_0x1cd3('0x434')]({'title':_0x2b2c84['status']?_0x1cd3('0x435')+_0x2b2c84[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x2b2c84['statusText']:'SYSTEM:GET_MAILACCOUNTS','msg':_0x2b2c84[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x2b2c84[_0x1cd3('0x439')]):_0x2b2c84[_0x1cd3('0x43b')]()});}):_0x16eaf5[_0x1cd3('0xa7a')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':'id','nolimit':_0x1cd3('0x2e0')})['$promise'][_0x1cd3('0x77')](function(_0xe20dfe){_0x17adc9['mailAccounts']=_0xe20dfe[_0x1cd3('0xf6')]||[];})['then'](function(){return _0x16eaf5[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x17adc9[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x25a})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x4cae32){var _0x2217d3=_0x4cae32&&_0x4cae32[_0x1cd3('0xf6')]?_0x4cae32['rows'][0x0]:null;if(!_0x2217d3){var _0x5d1d5e=[];var _0x2c2713=[];_0x17adc9[_0x1cd3('0x23cd')][_0x1cd3('0xf6')][_0x1cd3('0x394')](function(_0x31d4ef){if(_0x31d4ef[_0x1cd3('0x450')]==='account'){var _0x56b2c3=_[_0x1cd3('0x442')](_0x17adc9[_0x1cd3('0xefa')],{'id':Number(_0x31d4ef[_0x1cd3('0x3db')])});_0x2c2713[_0x1cd3('0x7b')](_0x56b2c3);}});for(var _0xde8d56=0x0;_0xde8d56<_0x17adc9[_0x1cd3('0xefa')][_0x1cd3('0x7a')];_0xde8d56++){var _0x1da322=_['some'](_0x2c2713,{'id':_0x17adc9[_0x1cd3('0xefa')][_0xde8d56]['id']});if(_0x1da322){_0x17adc9['mailAccounts'][_0xde8d56][_0x1cd3('0xf4a')]=![];_0x5d1d5e[_0x1cd3('0x7b')](_0x17adc9[_0x1cd3('0xefa')][_0xde8d56]);}}_0x17adc9[_0x1cd3('0xefa')]=_0x5d1d5e;}else{if(!_0x2217d3['autoAssociation']){return _0x16eaf5['userProfileResource'][_0x1cd3('0x361')]({'sectionId':_0x2217d3['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x30466e){var _0x54bc79=_['map'](_0x30466e[_0x1cd3('0xf6')],function(_0x525733){return _[_0x1cd3('0x442')](_0x17adc9[_0x1cd3('0xefa')],{'id':_0x525733[_0x1cd3('0xe8e')]});});var _0x12cce8=null;_0x12cce8=[];_0x17adc9[_0x1cd3('0x23cd')][_0x1cd3('0xf6')][_0x1cd3('0x394')](function(_0x165a9e){if(_0x165a9e['field']==='account'){var _0x5a20a6=_[_0x1cd3('0x442')](_0x17adc9[_0x1cd3('0xefa')],{'id':Number(_0x165a9e[_0x1cd3('0x3db')])});_0x12cce8[_0x1cd3('0x7b')](_0x5a20a6);}});if(!_[_0x1cd3('0x398')](_0x12cce8)){_0x12cce8['forEach'](function(_0xdac6a){if(!_['some'](_0x54bc79,['id',_0xdac6a['id']])){var _0x136f60=_['find'](_0x17adc9[_0x1cd3('0xefa')],{'id':_0xdac6a['id']});_0x136f60['canSelect']=![];_0x54bc79[_0x1cd3('0x7b')](_0x136f60);}});}_0x17adc9[_0x1cd3('0xefa')]=_0x54bc79;});}}})[_0x1cd3('0xfd')](function(_0x20cd97){_0x2290d3[_0x1cd3('0x434')]({'title':_0x20cd97['status']?_0x1cd3('0x435')+_0x20cd97[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x20cd97['statusText']:_0x1cd3('0x22bc'),'msg':_0x20cd97[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x20cd97[_0x1cd3('0x439')]):_0x20cd97[_0x1cd3('0x43b')]()});});_0x11be36['hasRole'](_0x1cd3('0x5f'))?_0x16eaf5['smsAccount']['get']({'fields':_0x1cd3('0xa6'),'sort':'id','nolimit':'true'})['$promise']['then'](function(_0x545306){_0x17adc9[_0x1cd3('0xefe')]=_0x545306[_0x1cd3('0xf6')]||[];})['catch'](function(_0x1922fc){_0x2290d3[_0x1cd3('0x434')]({'title':_0x1922fc[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x1922fc[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x1922fc[_0x1cd3('0xd35')]:_0x1cd3('0x23f4'),'msg':_0x1922fc[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x1922fc[_0x1cd3('0x439')]):_0x1922fc[_0x1cd3('0x43b')]()});}):_0x16eaf5[_0x1cd3('0xac5')][_0x1cd3('0x361')]({'fields':'id,name','sort':'id','nolimit':_0x1cd3('0x2e0')})['$promise'][_0x1cd3('0x77')](function(_0x596a71){_0x17adc9[_0x1cd3('0xefe')]=_0x596a71['rows']||[];})[_0x1cd3('0x77')](function(){return _0x16eaf5[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x17adc9[_0x1cd3('0x3ca')]['userProfileId'],'sectionId':0x2be})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x24be1c){var _0x54626a=_0x24be1c&&_0x24be1c[_0x1cd3('0xf6')]?_0x24be1c[_0x1cd3('0xf6')][0x0]:null;if(!_0x54626a){var _0x39df8a=[];var _0x4f8110=[];_0x17adc9['triggerAllConditions'][_0x1cd3('0xf6')][_0x1cd3('0x394')](function(_0x36425c){if(_0x36425c[_0x1cd3('0x450')]===_0x1cd3('0x15d3')){var _0x56d39a=_['find'](_0x17adc9[_0x1cd3('0xefe')],{'id':Number(_0x36425c[_0x1cd3('0x3db')])});_0x4f8110[_0x1cd3('0x7b')](_0x56d39a);}});for(var _0x23e659=0x0;_0x23e659<_0x17adc9['smsAccounts'][_0x1cd3('0x7a')];_0x23e659++){var _0x58a7e5=_[_0x1cd3('0x38d')](_0x4f8110,{'id':_0x17adc9[_0x1cd3('0xefe')][_0x23e659]['id']});if(_0x58a7e5){_0x17adc9['smsAccounts'][_0x23e659]['canSelect']=![];_0x39df8a[_0x1cd3('0x7b')](_0x17adc9['smsAccounts'][_0x23e659]);}}_0x17adc9[_0x1cd3('0xefe')]=_0x39df8a;}else{if(!_0x54626a[_0x1cd3('0x391')]){return _0x16eaf5[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x54626a['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x4d25c4){var _0x1d1165=_['map'](_0x4d25c4[_0x1cd3('0xf6')],function(_0x831e0b){return _[_0x1cd3('0x442')](_0x17adc9[_0x1cd3('0xefe')],{'id':_0x831e0b[_0x1cd3('0xe8e')]});});var _0x2319c6=null;_0x2319c6=[];_0x17adc9[_0x1cd3('0x23cd')][_0x1cd3('0xf6')]['forEach'](function(_0x599d7a){if(_0x599d7a[_0x1cd3('0x450')]===_0x1cd3('0x15d3')){var _0x5d053a=_[_0x1cd3('0x442')](_0x17adc9[_0x1cd3('0xefe')],{'id':Number(_0x599d7a[_0x1cd3('0x3db')])});_0x2319c6[_0x1cd3('0x7b')](_0x5d053a);}});if(!_[_0x1cd3('0x398')](_0x2319c6)){_0x2319c6[_0x1cd3('0x394')](function(_0x4f7f44){if(!_[_0x1cd3('0x38d')](_0x1d1165,['id',_0x4f7f44['id']])){var _0xbd94ef=_['find'](_0x17adc9['smsAccounts'],{'id':_0x4f7f44['id']});_0xbd94ef[_0x1cd3('0xf4a')]=![];_0x1d1165[_0x1cd3('0x7b')](_0xbd94ef);}});}_0x17adc9['smsAccounts']=_0x1d1165;});}}})[_0x1cd3('0xfd')](function(_0x234738){_0x2290d3[_0x1cd3('0x434')]({'title':_0x234738[_0x1cd3('0x3a6')]?'API:'+_0x234738[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x234738[_0x1cd3('0xd35')]:'SYSTEM:GETsmsAccounts','msg':_0x234738[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x234738['data']):_0x234738[_0x1cd3('0x43b')]()});});_0x11be36[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x16eaf5['whatsappAccount'][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':'id','nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x4da05f){_0x17adc9[_0x1cd3('0x15fc')]=_0x4da05f[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x555b65){_0x2290d3[_0x1cd3('0x434')]({'title':_0x555b65[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x555b65[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x555b65[_0x1cd3('0xd35')]:_0x1cd3('0x23f5'),'msg':_0x555b65['data']?JSON[_0x1cd3('0x438')](_0x555b65[_0x1cd3('0x439')]):_0x555b65['toString']()});}):_0x16eaf5[_0x1cd3('0xca3')][_0x1cd3('0x361')]({'fields':'id,name','sort':'id','nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x2697a9){_0x17adc9['whatsappAccounts']=_0x2697a9[_0x1cd3('0xf6')]||[];})['then'](function(){return _0x16eaf5[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x17adc9[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x836})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x589572){var _0x33ed2d=_0x589572&&_0x589572['rows']?_0x589572[_0x1cd3('0xf6')][0x0]:null;if(!_0x33ed2d){var _0x17fe01=[];var _0x2f5925=[];_0x17adc9[_0x1cd3('0x23cd')][_0x1cd3('0xf6')]['forEach'](function(_0x3fc082){if(_0x3fc082[_0x1cd3('0x450')]===_0x1cd3('0x15d3')){var _0x15612b=_[_0x1cd3('0x442')](_0x17adc9['whatsappAccounts'],{'id':Number(_0x3fc082[_0x1cd3('0x3db')])});_0x2f5925[_0x1cd3('0x7b')](_0x15612b);}});for(var _0x1879f1=0x0;_0x1879f1<_0x17adc9[_0x1cd3('0x15fc')][_0x1cd3('0x7a')];_0x1879f1++){var _0xe577bd=_[_0x1cd3('0x38d')](_0x2f5925,{'id':_0x17adc9[_0x1cd3('0x15fc')][_0x1879f1]['id']});if(_0xe577bd){_0x17adc9[_0x1cd3('0x15fc')][_0x1879f1]['canSelect']=![];_0x17fe01[_0x1cd3('0x7b')](_0x17adc9['whatsappAccounts'][_0x1879f1]);}}_0x17adc9[_0x1cd3('0x15fc')]=_0x17fe01;}else{if(!_0x33ed2d[_0x1cd3('0x391')]){return _0x16eaf5[_0x1cd3('0x392')]['get']({'sectionId':_0x33ed2d['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x401ed6){var _0x1409b5=_[_0x1cd3('0x3d9')](_0x401ed6[_0x1cd3('0xf6')],function(_0x5b70f2){return _['find'](_0x17adc9[_0x1cd3('0x15fc')],{'id':_0x5b70f2[_0x1cd3('0xe8e')]});});var _0x5895cb=null;_0x5895cb=[];_0x17adc9[_0x1cd3('0x23cd')][_0x1cd3('0xf6')]['forEach'](function(_0x539fad){if(_0x539fad[_0x1cd3('0x450')]===_0x1cd3('0x15d3')){var _0x2fa93c=_[_0x1cd3('0x442')](_0x17adc9[_0x1cd3('0x15fc')],{'id':Number(_0x539fad[_0x1cd3('0x3db')])});_0x5895cb['push'](_0x2fa93c);}});if(!_[_0x1cd3('0x398')](_0x5895cb)){_0x5895cb['forEach'](function(_0x2393f0){if(!_[_0x1cd3('0x38d')](_0x1409b5,['id',_0x2393f0['id']])){var _0x5ec549=_[_0x1cd3('0x442')](_0x17adc9[_0x1cd3('0x15fc')],{'id':_0x2393f0['id']});_0x5ec549['canSelect']=![];_0x1409b5['push'](_0x5ec549);}});}_0x17adc9['whatsappAccounts']=_0x1409b5;});}}})[_0x1cd3('0xfd')](function(_0x47b35b){_0x2290d3[_0x1cd3('0x434')]({'title':_0x47b35b[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x47b35b['status']+'\x20-\x20'+_0x47b35b['statusText']:'SYSTEM:GETwhatsappAccounts','msg':_0x47b35b[_0x1cd3('0x439')]?JSON['stringify'](_0x47b35b[_0x1cd3('0x439')]):_0x47b35b['toString']()});});_0x11be36[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x16eaf5[_0x1cd3('0xaa4')]['get']({'fields':_0x1cd3('0xa6'),'sort':'id','nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x560e10){_0x17adc9[_0x1cd3('0x15fa')]=_0x560e10[_0x1cd3('0xf6')]||[];})['catch'](function(_0xc46524){_0x2290d3[_0x1cd3('0x434')]({'title':_0xc46524[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0xc46524[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0xc46524[_0x1cd3('0xd35')]:_0x1cd3('0x23f6'),'msg':_0xc46524[_0x1cd3('0x439')]?JSON['stringify'](_0xc46524[_0x1cd3('0x439')]):_0xc46524['toString']()});}):_0x16eaf5['faxAccount'][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':'id','nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')]['then'](function(_0x907840){_0x17adc9[_0x1cd3('0x15fa')]=_0x907840['rows']||[];})[_0x1cd3('0x77')](function(){return _0x16eaf5[_0x1cd3('0x390')]['get']({'userProfileId':_0x17adc9['currentUser'][_0x1cd3('0x5e')],'sectionId':0x386})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x5943b7){var _0x2616f8=_0x5943b7&&_0x5943b7[_0x1cd3('0xf6')]?_0x5943b7[_0x1cd3('0xf6')][0x0]:null;if(!_0x2616f8){var _0x2b04c8=[];var _0x3253c5=[];_0x17adc9['triggerAllConditions'][_0x1cd3('0xf6')][_0x1cd3('0x394')](function(_0x1b5475){if(_0x1b5475[_0x1cd3('0x450')]===_0x1cd3('0x15d3')){var _0xed3816=_[_0x1cd3('0x442')](_0x17adc9[_0x1cd3('0x15fa')],{'id':Number(_0x1b5475[_0x1cd3('0x3db')])});_0x3253c5[_0x1cd3('0x7b')](_0xed3816);}});for(var _0x42981a=0x0;_0x42981a<_0x17adc9[_0x1cd3('0x15fa')][_0x1cd3('0x7a')];_0x42981a++){var _0x3e1385=_[_0x1cd3('0x38d')](_0x3253c5,{'id':_0x17adc9[_0x1cd3('0x15fa')][_0x42981a]['id']});if(_0x3e1385){_0x17adc9[_0x1cd3('0x15fa')][_0x42981a]['canSelect']=![];_0x2b04c8[_0x1cd3('0x7b')](_0x17adc9[_0x1cd3('0x15fa')][_0x42981a]);}}_0x17adc9[_0x1cd3('0x15fa')]=_0x2b04c8;}else{if(!_0x2616f8[_0x1cd3('0x391')]){return _0x16eaf5[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x2616f8['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x3bd2a7){var _0x4aa9b8=_[_0x1cd3('0x3d9')](_0x3bd2a7[_0x1cd3('0xf6')],function(_0x415936){return _[_0x1cd3('0x442')](_0x17adc9['faxAccounts'],{'id':_0x415936[_0x1cd3('0xe8e')]});});var _0x2bd56e=null;_0x2bd56e=[];_0x17adc9[_0x1cd3('0x23cd')]['rows']['forEach'](function(_0x4a8d0e){if(_0x4a8d0e[_0x1cd3('0x450')]==='account'){var _0x62596a=_['find'](_0x17adc9[_0x1cd3('0x15fa')],{'id':Number(_0x4a8d0e['value'])});_0x2bd56e[_0x1cd3('0x7b')](_0x62596a);}});if(!_[_0x1cd3('0x398')](_0x2bd56e)){_0x2bd56e[_0x1cd3('0x394')](function(_0x28f10e){if(!_[_0x1cd3('0x38d')](_0x4aa9b8,['id',_0x28f10e['id']])){var _0x4ddfda=_['find'](_0x17adc9[_0x1cd3('0x15fa')],{'id':_0x28f10e['id']});_0x4ddfda[_0x1cd3('0xf4a')]=![];_0x4aa9b8[_0x1cd3('0x7b')](_0x4ddfda);}});}_0x17adc9[_0x1cd3('0x15fa')]=_0x4aa9b8;});}}})[_0x1cd3('0xfd')](function(_0x541185){_0x2290d3[_0x1cd3('0x434')]({'title':_0x541185[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x541185[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x541185[_0x1cd3('0xd35')]:_0x1cd3('0x23f7'),'msg':_0x541185[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x541185[_0x1cd3('0x439')]):_0x541185[_0x1cd3('0x43b')]()});});_0x11be36[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x16eaf5['openchannelAccount']['get']({'fields':_0x1cd3('0xa6'),'sort':'id','nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x3e7592){_0x17adc9[_0x1cd3('0x15fb')]=_0x3e7592['rows']||[];})['catch'](function(_0x2b1e5d){_0x2290d3[_0x1cd3('0x434')]({'title':_0x2b1e5d['status']?_0x1cd3('0x435')+_0x2b1e5d[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x2b1e5d[_0x1cd3('0xd35')]:_0x1cd3('0x23f8'),'msg':_0x2b1e5d['data']?JSON[_0x1cd3('0x438')](_0x2b1e5d[_0x1cd3('0x439')]):_0x2b1e5d[_0x1cd3('0x43b')]()});}):_0x16eaf5[_0x1cd3('0xae5')]['get']({'fields':_0x1cd3('0xa6'),'sort':'id','nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')]['then'](function(_0x14adde){_0x17adc9[_0x1cd3('0x15fb')]=_0x14adde[_0x1cd3('0xf6')]||[];})['then'](function(){return _0x16eaf5['userProfileSection']['get']({'userProfileId':_0x17adc9[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x322})[_0x1cd3('0x81')];})['then'](function(_0x4326ef){var _0xa9de0a=_0x4326ef&&_0x4326ef['rows']?_0x4326ef['rows'][0x0]:null;if(!_0xa9de0a){var _0x232649=[];var _0x5b191d=[];_0x17adc9[_0x1cd3('0x23cd')][_0x1cd3('0xf6')][_0x1cd3('0x394')](function(_0x3e793f){if(_0x3e793f[_0x1cd3('0x450')]===_0x1cd3('0x15d3')){var _0x31b64c=_[_0x1cd3('0x442')](_0x17adc9[_0x1cd3('0x15fb')],{'id':Number(_0x3e793f['value'])});_0x5b191d['push'](_0x31b64c);}});for(var _0x2efc21=0x0;_0x2efc21<_0x17adc9['openchannelAccounts'][_0x1cd3('0x7a')];_0x2efc21++){var _0x2cbbda=_['some'](_0x5b191d,{'id':_0x17adc9[_0x1cd3('0x15fb')][_0x2efc21]['id']});if(_0x2cbbda){_0x17adc9[_0x1cd3('0x15fb')][_0x2efc21][_0x1cd3('0xf4a')]=![];_0x232649[_0x1cd3('0x7b')](_0x17adc9[_0x1cd3('0x15fb')][_0x2efc21]);}}_0x17adc9[_0x1cd3('0x15fb')]=_0x232649;}else{if(!_0xa9de0a[_0x1cd3('0x391')]){return _0x16eaf5[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0xa9de0a['id']})[_0x1cd3('0x81')]['then'](function(_0x3fe313){var _0x1640fe=_[_0x1cd3('0x3d9')](_0x3fe313[_0x1cd3('0xf6')],function(_0xa5b8a3){return _[_0x1cd3('0x442')](_0x17adc9[_0x1cd3('0x15fb')],{'id':_0xa5b8a3[_0x1cd3('0xe8e')]});});var _0x555c1c=null;_0x555c1c=[];_0x17adc9[_0x1cd3('0x23cd')][_0x1cd3('0xf6')][_0x1cd3('0x394')](function(_0xcf12a1){if(_0xcf12a1['field']===_0x1cd3('0x15d3')){var _0xaa3609=_[_0x1cd3('0x442')](_0x17adc9[_0x1cd3('0x15fb')],{'id':Number(_0xcf12a1[_0x1cd3('0x3db')])});_0x555c1c[_0x1cd3('0x7b')](_0xaa3609);}});if(!_[_0x1cd3('0x398')](_0x555c1c)){_0x555c1c['forEach'](function(_0x1535e6){if(!_[_0x1cd3('0x38d')](_0x1640fe,['id',_0x1535e6['id']])){var _0x3d5a43=_[_0x1cd3('0x442')](_0x17adc9['openchannelAccounts'],{'id':_0x1535e6['id']});_0x3d5a43[_0x1cd3('0xf4a')]=![];_0x1640fe[_0x1cd3('0x7b')](_0x3d5a43);}});}_0x17adc9[_0x1cd3('0x15fb')]=_0x1640fe;});}}})[_0x1cd3('0xfd')](function(_0x1b2fa1){_0x2290d3[_0x1cd3('0x434')]({'title':_0x1b2fa1['status']?_0x1cd3('0x435')+_0x1b2fa1[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x1b2fa1[_0x1cd3('0xd35')]:_0x1cd3('0x23f9'),'msg':_0x1b2fa1[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x1b2fa1[_0x1cd3('0x439')]):_0x1b2fa1[_0x1cd3('0x43b')]()});});var _0x353191=[{'id':0x191,'type':_0x1cd3('0xa4')},{'id':0x5dd,'type':_0x1cd3('0x128')}];var _0xf494a4=null;_0x11be36[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x16eaf5[_0x1cd3('0xa48')]['get']({'fields':'id,name,type','sort':'name','nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x4b2aae){_0x17adc9['queues']=_0x4b2aae[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x56ca17){_0x2290d3[_0x1cd3('0x434')]({'title':_0x56ca17[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x56ca17[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x56ca17[_0x1cd3('0xd35')]:_0x1cd3('0x12af'),'msg':_0x56ca17[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x56ca17['data']):_0x56ca17[_0x1cd3('0x43b')]()});}):_0x16eaf5['voiceQueue'][_0x1cd3('0x361')]({'fields':_0x1cd3('0x1222'),'sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')]['then'](function(_0x17fbd8){_0xf494a4=_0x17fbd8['rows']||[];})['then'](function(){var _0x4eb71a=[];for(var _0x325903=0x0;_0x325903<_0x353191[_0x1cd3('0x7a')];_0x325903++){_0x4eb71a['push'](_0x16eaf5[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x17adc9[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':_0x353191[_0x325903]['id']})[_0x1cd3('0x81')]);}return _0x315a18['all'](_0x4eb71a);})[_0x1cd3('0x77')](function(_0xcc540a){var _0x4adb5d=_['map'](_0xcc540a,function(_0x20d74f){return _0x20d74f&&_0x20d74f[_0x1cd3('0xf6')]?_0x20d74f[_0x1cd3('0xf6')][0x0]:null;});var _0x544dd2=[];for(var _0x308dd6=0x0;_0x308dd6<_0x353191[_0x1cd3('0x7a')];_0x308dd6++){var _0x4d180a=_[_0x1cd3('0x442')](_0x4adb5d,[_0x1cd3('0x38b'),_0x353191[_0x308dd6]['id']]);if(_0x4d180a){if(!_0x4d180a[_0x1cd3('0x391')]){_0x544dd2[_0x1cd3('0x7b')](_0x16eaf5[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x4d180a['id']})[_0x1cd3('0x81')]);}else{var _0x10126b=[];_0xf494a4['forEach'](function(_0xc0d931){if(_0xc0d931[_0x1cd3('0x424')]===_0x353191[_0x308dd6][_0x1cd3('0x424')]){_0x10126b['push'](_0xc0d931);}});_0x544dd2[_0x1cd3('0x7b')]({'rows':_0x10126b,'count':_0x10126b[_0x1cd3('0x7a')]});}}}return _0x315a18[_0x1cd3('0x7e')](_0x544dd2);})[_0x1cd3('0x77')](function(_0x9585a8){var _0x218e8f=[];var _0xfca59b=[];_0x17adc9[_0x1cd3('0x23cd')][_0x1cd3('0xf6')][_0x1cd3('0x394')](function(_0x31aa62){if(_0x31aa62['field']==='queue'){var _0x1c5bef=_['find'](_0xf494a4,{'name':_0x31aa62[_0x1cd3('0x3db')]});_0xfca59b['push'](_0x1c5bef);}});for(var _0x4525d7=0x0;_0x4525d7<_0x9585a8[_0x1cd3('0x7a')];_0x4525d7++){var _0x216d58=_0x9585a8[_0x4525d7][_0x1cd3('0xf6')]||[];_0x216d58[_0x1cd3('0x394')](function(_0x564f05){_0x218e8f[_0x1cd3('0x7b')](_0x564f05);});}if(!_[_0x1cd3('0x398')](_0xfca59b)){_0xfca59b[_0x1cd3('0x394')](function(_0x252f94){if(!_[_0x1cd3('0x38d')](_0x218e8f,['resourceId',_0x252f94['id']])){var _0x46d4f8=_[_0x1cd3('0x442')](_0xf494a4,{'id':_0x252f94['id']});_0x46d4f8['canSelect']=![];_0x218e8f[_0x1cd3('0x7b')](_0x46d4f8);}});}_0x17adc9[_0x1cd3('0x1155')]=_0x218e8f;})[_0x1cd3('0xfd')](function(_0x1e5bab){_0x2290d3[_0x1cd3('0x434')]({'title':_0x1e5bab['status']?_0x1cd3('0x435')+_0x1e5bab[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x1e5bab[_0x1cd3('0xd35')]:_0x1cd3('0x12b0'),'msg':_0x1e5bab[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x1e5bab[_0x1cd3('0x439')]):_0x1e5bab[_0x1cd3('0x43b')]()});});_0x11be36['hasRole'](_0x1cd3('0x5f'))?_0x16eaf5[_0x1cd3('0xa40')]['get']({'fields':_0x1cd3('0x23fa'),'type':_0x1cd3('0x128'),'VoiceExtensionId':'null','nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')]['then'](function(_0x5ab625){_0x17adc9[_0x1cd3('0x23fb')]=_0x5ab625[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x26258c){_0x2290d3[_0x1cd3('0x434')]({'title':_0x26258c[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x26258c[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x26258c[_0x1cd3('0xd35')]:'SYSTEM:GET_OUTBOUNDROUTES','msg':_0x26258c[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x26258c[_0x1cd3('0x439')]):_0x26258c[_0x1cd3('0x43b')]()});}):_0x16eaf5[_0x1cd3('0xa40')][_0x1cd3('0x361')]({'fields':_0x1cd3('0x23fa'),'type':_0x1cd3('0x128'),'VoiceExtensionId':_0x1cd3('0x220'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x4baabf){_0x17adc9[_0x1cd3('0x23fb')]=_0x4baabf[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x16eaf5[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x17adc9['currentUser'][_0x1cd3('0x5e')],'sectionId':0x193})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x569cf4){var _0x289076=_0x569cf4&&_0x569cf4[_0x1cd3('0xf6')]?_0x569cf4[_0x1cd3('0xf6')][0x0]:null;if(!_0x289076){var _0x2b601c=[];var _0x5168a5=[];_0x17adc9[_0x1cd3('0x23cd')][_0x1cd3('0xf6')][_0x1cd3('0x394')](function(_0x5c8148){if(_0x5c8148[_0x1cd3('0x450')]==='routeId'){var _0x3387c8=_[_0x1cd3('0x442')](_0x17adc9[_0x1cd3('0x23fb')],{'id':Number(_0x5c8148['value'])});_0x5168a5[_0x1cd3('0x7b')](_0x3387c8);}});for(var _0x2b7419=0x0;_0x2b7419<_0x17adc9['outboundRoutes'][_0x1cd3('0x7a')];_0x2b7419++){var _0x5a0638=_[_0x1cd3('0x38d')](_0x5168a5,{'id':_0x17adc9[_0x1cd3('0x23fb')][_0x2b7419]['id']});if(_0x5a0638){_0x17adc9[_0x1cd3('0x23fb')][_0x2b7419]['canSelect']=![];_0x2b601c['push'](_0x17adc9[_0x1cd3('0x23fb')][_0x2b7419]);}}_0x17adc9['outboundRoutes']=_0x2b601c;}else{if(!_0x289076[_0x1cd3('0x391')]){return _0x16eaf5[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x289076['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0xfa4f78){var _0x1fd5ec=_['map'](_0xfa4f78[_0x1cd3('0xf6')],function(_0x203c1a){return _[_0x1cd3('0x442')](_0x17adc9[_0x1cd3('0x23fb')],{'id':_0x203c1a[_0x1cd3('0xe8e')]});});var _0xb23b9d=null;_0xb23b9d=[];_0x17adc9[_0x1cd3('0x23cd')][_0x1cd3('0xf6')]['forEach'](function(_0x468504){if(_0x468504['field']===_0x1cd3('0x15be')){var _0x3d4dcb=_[_0x1cd3('0x442')](_0x17adc9[_0x1cd3('0x23fb')],{'id':Number(_0x468504[_0x1cd3('0x3db')])});_0xb23b9d[_0x1cd3('0x7b')](_0x3d4dcb);}});if(!_[_0x1cd3('0x398')](_0xb23b9d)){_0xb23b9d[_0x1cd3('0x394')](function(_0x7143b5){if(!_[_0x1cd3('0x38d')](_0x1fd5ec,['id',_0x7143b5['id']])){var _0x2be294=_[_0x1cd3('0x442')](_0x17adc9['outboundRoutes'],{'id':_0x7143b5['id']});_0x2be294[_0x1cd3('0xf4a')]=![];_0x1fd5ec['push'](_0x2be294);}});}_0x17adc9[_0x1cd3('0x23fb')]=_0x1fd5ec;});}}})['catch'](function(_0x3c7c76){_0x2290d3['error']({'title':_0x3c7c76[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x3c7c76['status']+_0x1cd3('0x436')+_0x3c7c76[_0x1cd3('0xd35')]:_0x1cd3('0x23fc'),'msg':_0x3c7c76[_0x1cd3('0x439')]?JSON['stringify'](_0x3c7c76[_0x1cd3('0x439')]):_0x3c7c76[_0x1cd3('0x43b')]()});});_0x11be36['hasRole']('admin')?_0x16eaf5[_0x1cd3('0x368')][_0x1cd3('0x361')]({'fields':_0x1cd3('0x132b'),'sort':_0x1cd3('0x98'),'role':_0x1cd3('0xd2'),'nolimit':_0x1cd3('0x2e0')})['$promise']['then'](function(_0x34faeb){_0x17adc9[_0x1cd3('0x1228')]=_0x34faeb[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x46297a){_0x2290d3[_0x1cd3('0x434')]({'title':_0x46297a[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x46297a[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x46297a['statusText']:_0x1cd3('0x11bf'),'msg':_0x46297a[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x46297a[_0x1cd3('0x439')]):_0x46297a[_0x1cd3('0x43b')]()});}):_0x16eaf5[_0x1cd3('0x368')][_0x1cd3('0x361')]({'fields':_0x1cd3('0x132b'),'sort':_0x1cd3('0x98'),'role':_0x1cd3('0xd2'),'nolimit':_0x1cd3('0x2e0')})['$promise'][_0x1cd3('0x77')](function(_0x59805e){_0x17adc9[_0x1cd3('0x1228')]=_0x59805e[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x16eaf5[_0x1cd3('0x390')]['get']({'userProfileId':_0x17adc9[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0xca})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x2f6ea4){var _0x48b4bf=_0x2f6ea4&&_0x2f6ea4['rows']?_0x2f6ea4[_0x1cd3('0xf6')][0x0]:null;if(!_0x48b4bf){var _0x19a9d4=[];var _0x4c0fdd=[];_0x17adc9[_0x1cd3('0x23cd')][_0x1cd3('0xf6')][_0x1cd3('0x394')](function(_0x12fb20){if(_0x12fb20[_0x1cd3('0x450')]===_0x1cd3('0xd2')){var _0x397799=_[_0x1cd3('0x442')](_0x17adc9['agents'],{'name':_0x12fb20['value']});_0x4c0fdd[_0x1cd3('0x7b')](_0x397799);}});for(var _0x1ef4f6=0x0;_0x1ef4f6<_0x17adc9[_0x1cd3('0x1228')][_0x1cd3('0x7a')];_0x1ef4f6++){var _0x215643=_[_0x1cd3('0x38d')](_0x4c0fdd,{'id':_0x17adc9['agents'][_0x1ef4f6]['id']});if(_0x215643){_0x17adc9[_0x1cd3('0x1228')][_0x1ef4f6]['canSelect']=![];_0x19a9d4['push'](_0x17adc9[_0x1cd3('0x1228')][_0x1ef4f6]);}}_0x17adc9[_0x1cd3('0x1228')]=_0x19a9d4;}else{if(!_0x48b4bf[_0x1cd3('0x391')]){return _0x16eaf5[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x48b4bf['id']})['$promise'][_0x1cd3('0x77')](function(_0x255595){var _0x1b53b3=_[_0x1cd3('0x3d9')](_0x255595[_0x1cd3('0xf6')],function(_0x26e967){return _[_0x1cd3('0x442')](_0x17adc9[_0x1cd3('0x1228')],{'id':_0x26e967[_0x1cd3('0xe8e')]});});var _0xff06c9=null;_0xff06c9=[];_0x17adc9[_0x1cd3('0x23cd')]['rows']['forEach'](function(_0x401cea){if(_0x401cea['field']==='agent'){var _0x301c50=_[_0x1cd3('0x442')](_0x17adc9[_0x1cd3('0x1228')],{'name':_0x401cea['value']});_0xff06c9[_0x1cd3('0x7b')](_0x301c50);}});if(!_[_0x1cd3('0x398')](_0xff06c9)){_0xff06c9['forEach'](function(_0x3dbce3){if(!_[_0x1cd3('0x38d')](_0x1b53b3,['id',_0x3dbce3['id']])){var _0x13d52a=_[_0x1cd3('0x442')](_0x17adc9[_0x1cd3('0x1228')],{'id':_0x3dbce3['id']});_0x13d52a[_0x1cd3('0xf4a')]=![];_0x1b53b3[_0x1cd3('0x7b')](_0x13d52a);}});}_0x17adc9[_0x1cd3('0x1228')]=_0x1b53b3;});}}})[_0x1cd3('0xfd')](function(_0x26ba97){_0x2290d3[_0x1cd3('0x434')]({'title':_0x26ba97['status']?_0x1cd3('0x435')+_0x26ba97['status']+'\x20-\x20'+_0x26ba97[_0x1cd3('0xd35')]:_0x1cd3('0x1282'),'msg':_0x26ba97[_0x1cd3('0x439')]?JSON['stringify'](_0x26ba97[_0x1cd3('0x439')]):_0x26ba97['toString']()});});function _0x363362(_0x238c8b,_0x65197a){_0x17adc9[_0x1cd3('0xb7e')]=_0x238c8b;_0x17adc9[_0x1cd3('0xd27')]=typeof _0x65197a!==_0x1cd3('0x491')?_0x65197a:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x17adc9[_0x1cd3('0x3d4')][_0x1cd3('0x23fd')]=_0x17adc9[_0x1cd3('0xb7e')]['id'];_0x17adc9[_0x1cd3('0x3d4')]['id']=_0x17adc9[_0x1cd3('0xb7e')]['id'];_0x304956();}function _0x31074a(_0x31aee2,_0x599dd6){var _0x4f2255=_0x3a36e7['confirm']()['title']('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20allCondition?')[_0x1cd3('0xd60')](_0x1cd3('0xd51')+(_0x31aee2[_0x1cd3('0x98')]||_0x31aee2['id']&&_['upperFirst'](_0x1cd3('0x23fe'))+_0x31aee2['id']||_0x1cd3('0x23ff'))+_0x1cd3('0xd52')+'\x20will\x20be\x20deleted.')[_0x1cd3('0xd3d')]('delete\x20allCondition')[_0x1cd3('0xd63')](_0x599dd6)['ok']('OK')[_0x1cd3('0x4d8')]('CANCEL');_0x3a36e7['show'](_0x4f2255)[_0x1cd3('0x77')](function(){_0x2ac58f(_0x31aee2);},function(){console[_0x1cd3('0x7d')]('CANCEL');});}function _0x4608c5(_0x44a229){_0x17adc9[_0x1cd3('0x23cd')]=_0x44a229||{'count':0x0,'rows':[]};}function _0x304956(){_0x17adc9[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0x17adc9[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0x17adc9['query'][_0x1cd3('0x8fe')];_0x17adc9[_0x1cd3('0x539')]=_0x16eaf5[_0x1cd3('0xb7e')]['getAllConditions'](_0x17adc9['query'],_0x4608c5)[_0x1cd3('0x81')];}function _0x19901c(_0x15bd3d,_0x1c417b){_0x3a36e7[_0x1cd3('0x37e')]({'controller':'CreateOrEditAllConditionDialogController','controllerAs':'vm','templateUrl':_0x1cd3('0x2400'),'parent':angular[_0x1cd3('0x37f')](_0x1396ad[_0x1cd3('0x380')]),'targetEvent':_0x15bd3d,'clickOutsideToClose':!![],'locals':{'trigger':_0x17adc9['trigger'],'allCondition':_0x1c417b,'allconditions':_0x17adc9[_0x1cd3('0x23cd')][_0x1cd3('0xf6')],'license':null,'setting':null,'crudPermissions':_0x17adc9[_0x1cd3('0xd27')]}});}function _0x2ac58f(_0x36e1da){_0x16eaf5[_0x1cd3('0xb65')][_0x1cd3('0xa1c')]({'id':_0x36e1da['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_['remove'](_0x17adc9[_0x1cd3('0x23cd')][_0x1cd3('0xf6')],{'id':_0x36e1da['id']});_0x17adc9[_0x1cd3('0x23cd')][_0x1cd3('0x466')]-=0x1;if(!_0x17adc9['triggerAllConditions']['rows']['length']){_0x304956();}_0x2290d3['success']({'title':_0x1cd3('0x2401'),'msg':_0x36e1da[_0x1cd3('0x98')]?_0x36e1da['name']+'\x20has\x20been\x20deleted!':''});})[_0x1cd3('0xfd')](function(_0x393bbf){if(_0x393bbf[_0x1cd3('0x439')]&&_0x393bbf[_0x1cd3('0x439')]['errors']&&_0x393bbf[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')]){vm['errors']=_0x393bbf[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x393bbf[_0x1cd3('0x43b')](),'type':_0x1cd3('0x23b6')}];for(var _0x2546a9=0x0;_0x2546a9<_0x393bbf['data'][_0x1cd3('0xd34')]['length'];_0x2546a9++){_0x2290d3[_0x1cd3('0x434')]({'title':_0x393bbf[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x2546a9]['type'],'msg':_0x393bbf['data']['errors'][_0x2546a9]['message']});}}else{_0x2290d3['error']({'title':_0x393bbf[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x393bbf[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x393bbf[_0x1cd3('0xd35')]:_0x1cd3('0x23b6'),'msg':_0x393bbf[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x393bbf['data'][_0x1cd3('0x43a')]):_0x393bbf[_0x1cd3('0x43a')]||_0x393bbf[_0x1cd3('0x43b')]()});}});}function _0x3926b3(){var _0x12fde7=angular['copy'](_0x17adc9[_0x1cd3('0x23ce')]);_0x17adc9[_0x1cd3('0x23ce')]=[];return _0x12fde7;}function _0x3c34a2(_0xc21c74){var _0x3aee20=_0x3a36e7[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x2402'))['htmlContent'](_0x1cd3('0xd51')+_0x17adc9['selectedTriggerAllConditions'][_0x1cd3('0x7a')]+_0x1cd3('0xd61')+'\x20will\x20be\x20deleted.')[_0x1cd3('0xd3d')](_0x1cd3('0x2403'))[_0x1cd3('0xd63')](_0xc21c74)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x3a36e7[_0x1cd3('0x37e')](_0x3aee20)[_0x1cd3('0x77')](function(){_0x17adc9[_0x1cd3('0x23ce')][_0x1cd3('0x394')](function(_0x398b23){_0x2ac58f(_0x398b23);});_0x17adc9[_0x1cd3('0x23ce')]=[];});}var _0x27d461=!![];var _0x3a565e=0x1;_0x45bf40[_0x1cd3('0x4d6')](_0x1cd3('0x1340'),function(_0x584836,_0x2581c5){if(_0x27d461){_0x18f920(function(){_0x27d461=![];});}else{if(!_0x2581c5){_0x3a565e=_0x17adc9[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0x584836!==_0x2581c5){_0x17adc9[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}if(!_0x584836){_0x17adc9[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0x3a565e;}_0x304956();}});}}());(function(){'use strict';_0x263eec[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x53e'),_0x1cd3('0xd24'),_0x1cd3('0x3c5'),'$q',_0x1cd3('0x3f7'),_0x1cd3('0x461'),_0x1cd3('0x2404'),_0x1cd3('0x23ff'),_0x1cd3('0xb7e'),_0x1cd3('0x370'),'Auth',_0x1cd3('0x463'),_0x1cd3('0xc49'),'crudPermissions'];angular[_0x1cd3('0x0')]('app.tools')[_0x1cd3('0x39b')](_0x1cd3('0x2405'),_0x263eec);function _0x263eec(_0x893d80,_0x1cd927,_0x129086,_0xd50f3c,_0x46f073,_0x519655,_0x198520,_0x213b9c,_0x2396d6,_0x105519,_0x5e58ac,_0x4a5637,_0x325bde,_0x11ee97,_0x40c46e){var _0x50fcd5=this;_0x50fcd5[_0x1cd3('0x3ca')]=_0x4a5637[_0x1cd3('0x5d')]();_0x50fcd5[_0x1cd3('0xd34')]=[];_0x50fcd5[_0x1cd3('0xc49')]=_0x11ee97;_0x50fcd5[_0x1cd3('0x463')]=_0x325bde;_0x50fcd5[_0x1cd3('0xd27')]=_0x40c46e;_0x50fcd5[_0x1cd3('0xd28')]={};_0x50fcd5['passwordPattern']=_0x50fcd5['setting']&&_0x50fcd5[_0x1cd3('0xc49')]['securePassword']?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x50fcd5['title']='TOOLS.EDIT_ALLCONDITION';_0x50fcd5['allCondition']=angular[_0x1cd3('0x429')](_0x2396d6);_0x50fcd5['allconditions']=_0x213b9c;_0x50fcd5[_0x1cd3('0x2406')]=![];_0x50fcd5[_0x1cd3('0xb7e')]=angular['copy'](_0x105519);if(!_0x50fcd5[_0x1cd3('0x23ff')]){_0x50fcd5[_0x1cd3('0x23ff')]={'field':'queue','operator':'equals','value':_0x1cd3('0x112'),'value':_0x1cd3('0x2407'),'value':'in'};_0x50fcd5[_0x1cd3('0x486')]='TOOLS.NEW_ALLCONDITION';_0x50fcd5[_0x1cd3('0x2406')]=!![];}if(_0x1cd927[_0x1cd3('0x36a')]['id']){_0x50fcd5[_0x1cd3('0x23ff')][_0x1cd3('0x23fd')]=_0x1cd927[_0x1cd3('0x36a')]['id'];}_0x50fcd5[_0x1cd3('0x2408')]=_0x5c88b4;_0x50fcd5[_0x1cd3('0x2409')]=_0x366b0f;_0x50fcd5[_0x1cd3('0x240a')]=_0x3b001f;_0x50fcd5[_0x1cd3('0xd31')]=_0x46fd98;_0x50fcd5[_0x1cd3('0x39c')]=_0x34f8fa;_0x4a5637['hasRole']('admin')?_0x5e58ac[_0x1cd3('0xb02')][_0x1cd3('0x361')]({'fields':'id,name','sort':'id','nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x26203f){_0x50fcd5[_0x1cd3('0x15fd')]=_0x26203f['rows']||[];})[_0x1cd3('0xfd')](function(_0xe13609){_0x198520[_0x1cd3('0x434')]({'title':_0xe13609[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0xe13609['status']+'\x20-\x20'+_0xe13609[_0x1cd3('0xd35')]:_0x1cd3('0x23f3'),'msg':_0xe13609[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0xe13609[_0x1cd3('0x439')]):_0xe13609[_0x1cd3('0x43b')]()});}):_0x5e58ac[_0x1cd3('0xb02')][_0x1cd3('0x361')]({'fields':'id,name','sort':'id','nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x1d202a){_0x50fcd5['chatAccounts']=_0x1d202a[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x5e58ac[_0x1cd3('0x390')]['get']({'userProfileId':_0x50fcd5[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x1f6})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x4dfae9){var _0x362471=_0x4dfae9&&_0x4dfae9[_0x1cd3('0xf6')]?_0x4dfae9[_0x1cd3('0xf6')][0x0]:null;if(!_0x362471){var _0x1ed7ff=[];var _0x224e4e=null;if(_0x50fcd5[_0x1cd3('0x23ff')]){_0x224e4e=_[_0x1cd3('0x442')](_0x50fcd5[_0x1cd3('0x15fd')],{'id':Number(_0x50fcd5[_0x1cd3('0x23ff')][_0x1cd3('0x3db')])});}for(var _0x4a26a5=0x0;_0x4a26a5<_0x50fcd5[_0x1cd3('0x15fd')][_0x1cd3('0x7a')];_0x4a26a5++){if(_0x224e4e&&_0x50fcd5[_0x1cd3('0x15fd')][_0x4a26a5]['id']===_0x224e4e['id']){_0x50fcd5['chatAccounts'][_0x4a26a5][_0x1cd3('0xf4a')]=![];_0x1ed7ff['push'](_0x50fcd5['chatAccounts'][_0x4a26a5]);}}_0x50fcd5[_0x1cd3('0x15fd')]=_0x1ed7ff;}else{if(!_0x362471[_0x1cd3('0x391')]){return _0x5e58ac[_0x1cd3('0x392')]['get']({'sectionId':_0x362471['id']})['$promise'][_0x1cd3('0x77')](function(_0x41b20c){var _0x3a927b=_['map'](_0x41b20c['rows'],function(_0x610e33){return _[_0x1cd3('0x442')](_0x50fcd5[_0x1cd3('0x15fd')],{'id':_0x610e33[_0x1cd3('0xe8e')]});});var _0x164438=null;if(_0x50fcd5['allCondition']){_0x164438=_[_0x1cd3('0x442')](_0x50fcd5['chatAccounts'],{'id':Number(_0x50fcd5[_0x1cd3('0x23ff')][_0x1cd3('0x3db')])});}if(_0x164438&&!_[_0x1cd3('0x38d')](_0x3a927b,['id',_0x164438['id']])){var _0x22a585=_[_0x1cd3('0x442')](_0x50fcd5['chatAccounts'],{'id':_0x164438['id']});_0x22a585[_0x1cd3('0xf4a')]=![];_0x3a927b[_0x1cd3('0x7b')](_0x22a585);}_0x50fcd5[_0x1cd3('0x15fd')]=_0x3a927b;});}}})[_0x1cd3('0xfd')](function(_0x23356a){_0x198520[_0x1cd3('0x434')]({'title':_0x23356a[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x23356a['status']+_0x1cd3('0x436')+_0x23356a[_0x1cd3('0xd35')]:_0x1cd3('0x240b'),'msg':_0x23356a[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x23356a['data']):_0x23356a[_0x1cd3('0x43b')]()});});_0x4a5637['hasRole']('admin')?_0x5e58ac[_0x1cd3('0xa7a')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':'id','nolimit':_0x1cd3('0x2e0')})['$promise'][_0x1cd3('0x77')](function(_0x448ded){_0x50fcd5['mailAccounts']=_0x448ded[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x2b5b2d){_0x198520[_0x1cd3('0x434')]({'title':_0x2b5b2d['status']?_0x1cd3('0x435')+_0x2b5b2d['status']+_0x1cd3('0x436')+_0x2b5b2d[_0x1cd3('0xd35')]:_0x1cd3('0x22e3'),'msg':_0x2b5b2d[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x2b5b2d['data']):_0x2b5b2d[_0x1cd3('0x43b')]()});}):_0x5e58ac[_0x1cd3('0xa7a')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':'id','nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x2cf4bb){_0x50fcd5[_0x1cd3('0xefa')]=_0x2cf4bb[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x5e58ac[_0x1cd3('0x390')]['get']({'userProfileId':_0x50fcd5[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x25a})['$promise'];})['then'](function(_0x3e886a){var _0x455c3c=_0x3e886a&&_0x3e886a[_0x1cd3('0xf6')]?_0x3e886a[_0x1cd3('0xf6')][0x0]:null;if(!_0x455c3c){var _0x5981ac=[];var _0xc7b156=null;if(_0x50fcd5[_0x1cd3('0x23ff')]){_0xc7b156=_['find'](_0x50fcd5['mailAccounts'],{'id':Number(_0x50fcd5[_0x1cd3('0x23ff')][_0x1cd3('0x3db')])});}for(var _0x954a93=0x0;_0x954a93<_0x50fcd5[_0x1cd3('0xefa')][_0x1cd3('0x7a')];_0x954a93++){if(_0xc7b156&&_0x50fcd5[_0x1cd3('0xefa')][_0x954a93]['id']===_0xc7b156['id']){_0x50fcd5['mailAccounts'][_0x954a93][_0x1cd3('0xf4a')]=![];_0x5981ac[_0x1cd3('0x7b')](_0x50fcd5[_0x1cd3('0xefa')][_0x954a93]);}}_0x50fcd5[_0x1cd3('0xefa')]=_0x5981ac;}else{if(!_0x455c3c[_0x1cd3('0x391')]){return _0x5e58ac[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x455c3c['id']})[_0x1cd3('0x81')]['then'](function(_0x1be274){var _0x27116c=_[_0x1cd3('0x3d9')](_0x1be274['rows'],function(_0x2b377b){return _[_0x1cd3('0x442')](_0x50fcd5[_0x1cd3('0xefa')],{'id':_0x2b377b[_0x1cd3('0xe8e')]});});var _0xc33c6c=null;if(_0x50fcd5['allCondition']){_0xc33c6c=_['find'](_0x50fcd5[_0x1cd3('0xefa')],{'id':Number(_0x50fcd5[_0x1cd3('0x23ff')][_0x1cd3('0x3db')])});}if(_0xc33c6c&&!_[_0x1cd3('0x38d')](_0x27116c,['id',_0xc33c6c['id']])){var _0x4676f7=_['find'](_0x50fcd5[_0x1cd3('0xefa')],{'id':_0xc33c6c['id']});_0x4676f7['canSelect']=![];_0x27116c[_0x1cd3('0x7b')](_0x4676f7);}_0x50fcd5['mailAccounts']=_0x27116c;});}}})[_0x1cd3('0xfd')](function(_0x19813b){_0x198520[_0x1cd3('0x434')]({'title':_0x19813b[_0x1cd3('0x3a6')]?'API:'+_0x19813b[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x19813b[_0x1cd3('0xd35')]:'SYSTEM:GETmailAccounts','msg':_0x19813b['data']?JSON[_0x1cd3('0x438')](_0x19813b['data']):_0x19813b[_0x1cd3('0x43b')]()});});_0x4a5637[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x5e58ac[_0x1cd3('0xac5')][_0x1cd3('0x361')]({'fields':'id,name','sort':'id','nolimit':_0x1cd3('0x2e0')})['$promise']['then'](function(_0x1ac59f){_0x50fcd5[_0x1cd3('0xefe')]=_0x1ac59f['rows']||[];})[_0x1cd3('0xfd')](function(_0x372521){_0x198520[_0x1cd3('0x434')]({'title':_0x372521[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x372521[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x372521[_0x1cd3('0xd35')]:_0x1cd3('0x23f4'),'msg':_0x372521[_0x1cd3('0x439')]?JSON['stringify'](_0x372521[_0x1cd3('0x439')]):_0x372521[_0x1cd3('0x43b')]()});}):_0x5e58ac[_0x1cd3('0xac5')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':'id','nolimit':_0x1cd3('0x2e0')})['$promise'][_0x1cd3('0x77')](function(_0x28a58e){_0x50fcd5[_0x1cd3('0xefe')]=_0x28a58e[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x5e58ac[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x50fcd5[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x2be})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x53cc74){var _0x11925b=_0x53cc74&&_0x53cc74[_0x1cd3('0xf6')]?_0x53cc74['rows'][0x0]:null;if(!_0x11925b){var _0x220cf0=[];var _0x46d8bc=null;if(_0x50fcd5['allCondition']){_0x46d8bc=_[_0x1cd3('0x442')](_0x50fcd5[_0x1cd3('0xefe')],{'id':Number(_0x50fcd5[_0x1cd3('0x23ff')][_0x1cd3('0x3db')])});}for(var _0xf67221=0x0;_0xf67221<_0x50fcd5[_0x1cd3('0xefe')][_0x1cd3('0x7a')];_0xf67221++){if(_0x46d8bc&&_0x50fcd5[_0x1cd3('0xefe')][_0xf67221]['id']===_0x46d8bc['id']){_0x50fcd5[_0x1cd3('0xefe')][_0xf67221]['canSelect']=![];_0x220cf0['push'](_0x50fcd5[_0x1cd3('0xefe')][_0xf67221]);}}_0x50fcd5[_0x1cd3('0xefe')]=_0x220cf0;}else{if(!_0x11925b[_0x1cd3('0x391')]){return _0x5e58ac['userProfileResource'][_0x1cd3('0x361')]({'sectionId':_0x11925b['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x2c048b){var _0x1bf65c=_[_0x1cd3('0x3d9')](_0x2c048b[_0x1cd3('0xf6')],function(_0x270f23){return _[_0x1cd3('0x442')](_0x50fcd5[_0x1cd3('0xefe')],{'id':_0x270f23[_0x1cd3('0xe8e')]});});var _0x29faf9=null;if(_0x50fcd5['allCondition']){_0x29faf9=_[_0x1cd3('0x442')](_0x50fcd5[_0x1cd3('0xefe')],{'id':Number(_0x50fcd5[_0x1cd3('0x23ff')][_0x1cd3('0x3db')])});}if(_0x29faf9&&!_[_0x1cd3('0x38d')](_0x1bf65c,['id',_0x29faf9['id']])){var _0x1167eb=_[_0x1cd3('0x442')](_0x50fcd5[_0x1cd3('0xefe')],{'id':_0x29faf9['id']});_0x1167eb['canSelect']=![];_0x1bf65c[_0x1cd3('0x7b')](_0x1167eb);}_0x50fcd5[_0x1cd3('0xefe')]=_0x1bf65c;});}}})[_0x1cd3('0xfd')](function(_0x55764a){_0x198520[_0x1cd3('0x434')]({'title':_0x55764a[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x55764a[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x55764a['statusText']:_0x1cd3('0x240c'),'msg':_0x55764a[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x55764a[_0x1cd3('0x439')]):_0x55764a['toString']()});});_0x4a5637['hasRole']('admin')?_0x5e58ac[_0x1cd3('0xca3')]['get']({'fields':_0x1cd3('0xa6'),'sort':'id','nolimit':'true'})['$promise'][_0x1cd3('0x77')](function(_0x7f67ee){_0x50fcd5[_0x1cd3('0x15fc')]=_0x7f67ee[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x3c0567){_0x198520[_0x1cd3('0x434')]({'title':_0x3c0567[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x3c0567['status']+_0x1cd3('0x436')+_0x3c0567['statusText']:_0x1cd3('0x23f5'),'msg':_0x3c0567['data']?JSON[_0x1cd3('0x438')](_0x3c0567[_0x1cd3('0x439')]):_0x3c0567['toString']()});}):_0x5e58ac[_0x1cd3('0xca3')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':'id','nolimit':'true'})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x38624a){_0x50fcd5[_0x1cd3('0x15fc')]=_0x38624a[_0x1cd3('0xf6')]||[];})['then'](function(){return _0x5e58ac[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x50fcd5[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x836})[_0x1cd3('0x81')];})['then'](function(_0x44db0e){var _0x44302e=_0x44db0e&&_0x44db0e[_0x1cd3('0xf6')]?_0x44db0e[_0x1cd3('0xf6')][0x0]:null;if(!_0x44302e){var _0x50f93e=[];var _0x2b5a8e=null;if(_0x50fcd5['allCondition']){_0x2b5a8e=_[_0x1cd3('0x442')](_0x50fcd5[_0x1cd3('0x15fc')],{'id':Number(_0x50fcd5[_0x1cd3('0x23ff')][_0x1cd3('0x3db')])});}for(var _0x32e347=0x0;_0x32e347<_0x50fcd5['whatsappAccounts']['length'];_0x32e347++){if(_0x2b5a8e&&_0x50fcd5[_0x1cd3('0x15fc')][_0x32e347]['id']===_0x2b5a8e['id']){_0x50fcd5[_0x1cd3('0x15fc')][_0x32e347]['canSelect']=![];_0x50f93e[_0x1cd3('0x7b')](_0x50fcd5[_0x1cd3('0x15fc')][_0x32e347]);}}_0x50fcd5['whatsappAccounts']=_0x50f93e;}else{if(!_0x44302e[_0x1cd3('0x391')]){return _0x5e58ac[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x44302e['id']})[_0x1cd3('0x81')]['then'](function(_0xfac23a){var _0xb2c14b=_[_0x1cd3('0x3d9')](_0xfac23a[_0x1cd3('0xf6')],function(_0x57cd33){return _['find'](_0x50fcd5[_0x1cd3('0x15fc')],{'id':_0x57cd33[_0x1cd3('0xe8e')]});});var _0x557633=null;if(_0x50fcd5[_0x1cd3('0x23ff')]){_0x557633=_['find'](_0x50fcd5['whatsappAccounts'],{'id':Number(_0x50fcd5[_0x1cd3('0x23ff')][_0x1cd3('0x3db')])});}if(_0x557633&&!_[_0x1cd3('0x38d')](_0xb2c14b,['id',_0x557633['id']])){var _0x186fb2=_['find'](_0x50fcd5[_0x1cd3('0x15fc')],{'id':_0x557633['id']});_0x186fb2[_0x1cd3('0xf4a')]=![];_0xb2c14b['push'](_0x186fb2);}_0x50fcd5['whatsappAccounts']=_0xb2c14b;});}}})[_0x1cd3('0xfd')](function(_0x51d69a){_0x198520[_0x1cd3('0x434')]({'title':_0x51d69a['status']?'API:'+_0x51d69a['status']+'\x20-\x20'+_0x51d69a['statusText']:_0x1cd3('0x240d'),'msg':_0x51d69a[_0x1cd3('0x439')]?JSON['stringify'](_0x51d69a[_0x1cd3('0x439')]):_0x51d69a[_0x1cd3('0x43b')]()});});_0x4a5637[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x5e58ac[_0x1cd3('0xaa4')]['get']({'fields':_0x1cd3('0xa6'),'sort':'id','nolimit':_0x1cd3('0x2e0')})['$promise']['then'](function(_0x54d467){_0x50fcd5['faxAccounts']=_0x54d467[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x336c4c){_0x198520[_0x1cd3('0x434')]({'title':_0x336c4c[_0x1cd3('0x3a6')]?'API:'+_0x336c4c[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x336c4c[_0x1cd3('0xd35')]:_0x1cd3('0x23f6'),'msg':_0x336c4c[_0x1cd3('0x439')]?JSON['stringify'](_0x336c4c[_0x1cd3('0x439')]):_0x336c4c[_0x1cd3('0x43b')]()});}):_0x5e58ac['faxAccount'][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':'id','nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x30523a){_0x50fcd5['faxAccounts']=_0x30523a['rows']||[];})[_0x1cd3('0x77')](function(){return _0x5e58ac[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x50fcd5[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x386})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x1f708d){var _0x4e444e=_0x1f708d&&_0x1f708d[_0x1cd3('0xf6')]?_0x1f708d[_0x1cd3('0xf6')][0x0]:null;if(!_0x4e444e){var _0x17a545=[];var _0x265f60=null;if(_0x50fcd5[_0x1cd3('0x23ff')]){_0x265f60=_[_0x1cd3('0x442')](_0x50fcd5[_0x1cd3('0x15fa')],{'id':Number(_0x50fcd5[_0x1cd3('0x23ff')][_0x1cd3('0x3db')])});}for(var _0x16577f=0x0;_0x16577f<_0x50fcd5[_0x1cd3('0x15fa')][_0x1cd3('0x7a')];_0x16577f++){if(_0x265f60&&_0x50fcd5[_0x1cd3('0x15fa')][_0x16577f]['id']===_0x265f60['id']){_0x50fcd5[_0x1cd3('0x15fa')][_0x16577f][_0x1cd3('0xf4a')]=![];_0x17a545[_0x1cd3('0x7b')](_0x50fcd5['faxAccounts'][_0x16577f]);}}_0x50fcd5[_0x1cd3('0x15fa')]=_0x17a545;}else{if(!_0x4e444e[_0x1cd3('0x391')]){return _0x5e58ac[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x4e444e['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x419f42){var _0x537868=_[_0x1cd3('0x3d9')](_0x419f42['rows'],function(_0x295761){return _[_0x1cd3('0x442')](_0x50fcd5[_0x1cd3('0x15fa')],{'id':_0x295761[_0x1cd3('0xe8e')]});});var _0x2cf502=null;if(_0x50fcd5[_0x1cd3('0x23ff')]){_0x2cf502=_['find'](_0x50fcd5[_0x1cd3('0x15fa')],{'id':Number(_0x50fcd5[_0x1cd3('0x23ff')][_0x1cd3('0x3db')])});}if(_0x2cf502&&!_[_0x1cd3('0x38d')](_0x537868,['id',_0x2cf502['id']])){var _0x1c33c4=_[_0x1cd3('0x442')](_0x50fcd5[_0x1cd3('0x15fa')],{'id':_0x2cf502['id']});_0x1c33c4[_0x1cd3('0xf4a')]=![];_0x537868[_0x1cd3('0x7b')](_0x1c33c4);}_0x50fcd5[_0x1cd3('0x15fa')]=_0x537868;});}}})[_0x1cd3('0xfd')](function(_0xc6b020){_0x198520[_0x1cd3('0x434')]({'title':_0xc6b020[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0xc6b020[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0xc6b020[_0x1cd3('0xd35')]:'SYSTEM:GETfaxAccounts','msg':_0xc6b020[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0xc6b020[_0x1cd3('0x439')]):_0xc6b020['toString']()});});_0x4a5637[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x5e58ac['openchannelAccount'][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':'id','nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x3aef46){_0x50fcd5[_0x1cd3('0x15fb')]=_0x3aef46[_0x1cd3('0xf6')]||[];})['catch'](function(_0x334fba){_0x198520[_0x1cd3('0x434')]({'title':_0x334fba[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x334fba['status']+_0x1cd3('0x436')+_0x334fba[_0x1cd3('0xd35')]:_0x1cd3('0x23f8'),'msg':_0x334fba['data']?JSON[_0x1cd3('0x438')](_0x334fba['data']):_0x334fba['toString']()});}):_0x5e58ac[_0x1cd3('0xae5')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':'id','nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x5cc6a8){_0x50fcd5[_0x1cd3('0x15fb')]=_0x5cc6a8['rows']||[];})[_0x1cd3('0x77')](function(){return _0x5e58ac[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x50fcd5[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x322})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x4cf191){var _0x1e6b5b=_0x4cf191&&_0x4cf191[_0x1cd3('0xf6')]?_0x4cf191[_0x1cd3('0xf6')][0x0]:null;if(!_0x1e6b5b){var _0x562a3e=[];var _0x18941d=null;if(_0x50fcd5[_0x1cd3('0x23ff')]){_0x18941d=_[_0x1cd3('0x442')](_0x50fcd5[_0x1cd3('0x15fb')],{'id':Number(_0x50fcd5[_0x1cd3('0x23ff')][_0x1cd3('0x3db')])});}for(var _0x2a9abf=0x0;_0x2a9abf<_0x50fcd5['openchannelAccounts'][_0x1cd3('0x7a')];_0x2a9abf++){if(_0x18941d&&_0x50fcd5['openchannelAccounts'][_0x2a9abf]['id']===_0x18941d['id']){_0x50fcd5['openchannelAccounts'][_0x2a9abf][_0x1cd3('0xf4a')]=![];_0x562a3e['push'](_0x50fcd5['openchannelAccounts'][_0x2a9abf]);}}_0x50fcd5[_0x1cd3('0x15fb')]=_0x562a3e;}else{if(!_0x1e6b5b[_0x1cd3('0x391')]){return _0x5e58ac['userProfileResource']['get']({'sectionId':_0x1e6b5b['id']})[_0x1cd3('0x81')]['then'](function(_0x59e4ae){var _0x2c0715=_[_0x1cd3('0x3d9')](_0x59e4ae[_0x1cd3('0xf6')],function(_0x4c90da){return _[_0x1cd3('0x442')](_0x50fcd5[_0x1cd3('0x15fb')],{'id':_0x4c90da[_0x1cd3('0xe8e')]});});var _0x237635=null;if(_0x50fcd5[_0x1cd3('0x23ff')]){_0x237635=_[_0x1cd3('0x442')](_0x50fcd5['openchannelAccounts'],{'id':Number(_0x50fcd5[_0x1cd3('0x23ff')][_0x1cd3('0x3db')])});}if(_0x237635&&!_[_0x1cd3('0x38d')](_0x2c0715,['id',_0x237635['id']])){var _0x5a8756=_['find'](_0x50fcd5[_0x1cd3('0x15fb')],{'id':_0x237635['id']});_0x5a8756['canSelect']=![];_0x2c0715[_0x1cd3('0x7b')](_0x5a8756);}_0x50fcd5[_0x1cd3('0x15fb')]=_0x2c0715;});}}})[_0x1cd3('0xfd')](function(_0x24d226){_0x198520['error']({'title':_0x24d226[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x24d226[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x24d226[_0x1cd3('0xd35')]:_0x1cd3('0x23f9'),'msg':_0x24d226[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x24d226[_0x1cd3('0x439')]):_0x24d226[_0x1cd3('0x43b')]()});});var _0xaab72f=[{'id':0x191,'type':_0x1cd3('0xa4')},{'id':0x5dd,'type':'outbound'}];var _0xe514ee=null;_0x4a5637[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x5e58ac[_0x1cd3('0xa48')]['get']({'fields':_0x1cd3('0x1222'),'sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x2d9858){_0x50fcd5[_0x1cd3('0x1155')]=_0x2d9858[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0xd32f7a){_0x198520['error']({'title':_0xd32f7a[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0xd32f7a[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0xd32f7a['statusText']:_0x1cd3('0x12af'),'msg':_0xd32f7a[_0x1cd3('0x439')]?JSON['stringify'](_0xd32f7a[_0x1cd3('0x439')]):_0xd32f7a[_0x1cd3('0x43b')]()});}):_0x5e58ac[_0x1cd3('0xa48')][_0x1cd3('0x361')]({'fields':'id,name,type','sort':_0x1cd3('0x98'),'nolimit':'true'})[_0x1cd3('0x81')]['then'](function(_0x34dead){_0xe514ee=_0x34dead[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){var _0x596bf2=[];for(var _0x1148d0=0x0;_0x1148d0<_0xaab72f['length'];_0x1148d0++){_0x596bf2[_0x1cd3('0x7b')](_0x5e58ac[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x50fcd5['currentUser'][_0x1cd3('0x5e')],'sectionId':_0xaab72f[_0x1148d0]['id']})['$promise']);}return _0x46f073['all'](_0x596bf2);})[_0x1cd3('0x77')](function(_0x20cbaf){var _0x2e68e6=_[_0x1cd3('0x3d9')](_0x20cbaf,function(_0xbee297){return _0xbee297&&_0xbee297[_0x1cd3('0xf6')]?_0xbee297[_0x1cd3('0xf6')][0x0]:null;});var _0xec3ca6=[];for(var _0x357e57=0x0;_0x357e57<_0xaab72f[_0x1cd3('0x7a')];_0x357e57++){var _0x14ccc4=_['find'](_0x2e68e6,[_0x1cd3('0x38b'),_0xaab72f[_0x357e57]['id']]);if(_0x14ccc4){if(!_0x14ccc4['autoAssociation']){_0xec3ca6[_0x1cd3('0x7b')](_0x5e58ac[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x14ccc4['id']})[_0x1cd3('0x81')]);}else{var _0x454919=[];_0xe514ee['forEach'](function(_0x315689){if(_0x315689[_0x1cd3('0x424')]===_0xaab72f[_0x357e57]['type']){_0x454919[_0x1cd3('0x7b')](_0x315689);}});_0xec3ca6[_0x1cd3('0x7b')]({'rows':_0x454919,'count':_0x454919[_0x1cd3('0x7a')]});}}}return _0x46f073[_0x1cd3('0x7e')](_0xec3ca6);})[_0x1cd3('0x77')](function(_0x227df6){var _0x521cb9=[];var _0x253ad6=null;if(_0x50fcd5[_0x1cd3('0x23ff')]){_0x253ad6=_[_0x1cd3('0x442')](_0xe514ee,{'name':_0x50fcd5[_0x1cd3('0x23ff')][_0x1cd3('0x3db')]});}for(var _0x290949=0x0;_0x290949<_0x227df6[_0x1cd3('0x7a')];_0x290949++){var _0x5ef48a=_0x227df6[_0x290949]['rows']||[];_0x5ef48a[_0x1cd3('0x394')](function(_0x108f50){_0x521cb9[_0x1cd3('0x7b')](_0x108f50);});}if(_0x253ad6&&!_[_0x1cd3('0x38d')](_0x521cb9,[_0x1cd3('0xe8e'),_0x253ad6['id']])){_0xe514ee[_0x1cd3('0x394')](function(_0x42b05e){if(_0x42b05e['id']===_0x253ad6['id']){_0x42b05e[_0x1cd3('0xf4a')]=![];_0x521cb9[_0x1cd3('0x7b')](_0x42b05e);}});}_0x50fcd5['queues']=_0x521cb9;})[_0x1cd3('0xfd')](function(_0xb4939f){_0x198520[_0x1cd3('0x434')]({'title':_0xb4939f['status']?_0x1cd3('0x435')+_0xb4939f[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0xb4939f[_0x1cd3('0xd35')]:_0x1cd3('0x12b0'),'msg':_0xb4939f[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0xb4939f[_0x1cd3('0x439')]):_0xb4939f['toString']()});});_0x4a5637[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x5e58ac[_0x1cd3('0xa40')]['get']({'fields':_0x1cd3('0x23fa'),'type':_0x1cd3('0x128'),'VoiceExtensionId':_0x1cd3('0x220'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x370095){_0x50fcd5['outboundRoutes']=_0x370095[_0x1cd3('0xf6')]||[];})['catch'](function(_0x579485){_0x198520[_0x1cd3('0x434')]({'title':_0x579485[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x579485[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x579485[_0x1cd3('0xd35')]:_0x1cd3('0x240e'),'msg':_0x579485[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x579485[_0x1cd3('0x439')]):_0x579485[_0x1cd3('0x43b')]()});}):_0x5e58ac[_0x1cd3('0xa40')]['get']({'fields':'id,exten','type':_0x1cd3('0x128'),'VoiceExtensionId':_0x1cd3('0x220'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')]['then'](function(_0x3d823c){_0x50fcd5[_0x1cd3('0x23fb')]=_0x3d823c[_0x1cd3('0xf6')]||[];})['then'](function(){return _0x5e58ac[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x50fcd5[_0x1cd3('0x3ca')]['userProfileId'],'sectionId':0x193})[_0x1cd3('0x81')];})['then'](function(_0x3f1f83){var _0xb9992e=_0x3f1f83&&_0x3f1f83[_0x1cd3('0xf6')]?_0x3f1f83[_0x1cd3('0xf6')][0x0]:null;if(!_0xb9992e){var _0x4de929=[];var _0x24b70c=null;if(_0x50fcd5[_0x1cd3('0x23ff')]){_0x24b70c=_['find'](_0x50fcd5[_0x1cd3('0x23fb')],{'id':Number(_0x50fcd5['allCondition']['value'])});}for(var _0x17b9a3=0x0;_0x17b9a3<_0x50fcd5[_0x1cd3('0x23fb')][_0x1cd3('0x7a')];_0x17b9a3++){if(_0x24b70c&&_0x50fcd5[_0x1cd3('0x23fb')][_0x17b9a3]['id']===_0x24b70c['id']){_0x50fcd5[_0x1cd3('0x23fb')][_0x17b9a3][_0x1cd3('0xf4a')]=![];_0x4de929[_0x1cd3('0x7b')](_0x50fcd5['outboundRoutes'][_0x17b9a3]);}}_0x50fcd5[_0x1cd3('0x23fb')]=_0x4de929;}else{if(!_0xb9992e[_0x1cd3('0x391')]){return _0x5e58ac['userProfileResource']['get']({'sectionId':_0xb9992e['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x2510e7){var _0xcbe13f=_[_0x1cd3('0x3d9')](_0x2510e7['rows'],function(_0x30cb62){return _['find'](_0x50fcd5['outboundRoutes'],{'id':_0x30cb62[_0x1cd3('0xe8e')]});});var _0x17c463=null;if(_0x50fcd5[_0x1cd3('0x23ff')]){_0x17c463=_[_0x1cd3('0x442')](_0x50fcd5['outboundRoutes'],{'id':Number(_0x50fcd5[_0x1cd3('0x23ff')]['value'])});}if(_0x17c463&&!_[_0x1cd3('0x38d')](_0xcbe13f,['id',_0x17c463['id']])){var _0x3521d6=_['find'](_0x50fcd5[_0x1cd3('0x23fb')],{'id':_0x17c463['id']});_0x3521d6[_0x1cd3('0xf4a')]=![];_0xcbe13f[_0x1cd3('0x7b')](_0x3521d6);}_0x50fcd5[_0x1cd3('0x23fb')]=_0xcbe13f;});}}})[_0x1cd3('0xfd')](function(_0x356754){_0x198520['error']({'title':_0x356754[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x356754[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x356754[_0x1cd3('0xd35')]:_0x1cd3('0x23fc'),'msg':_0x356754[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x356754[_0x1cd3('0x439')]):_0x356754[_0x1cd3('0x43b')]()});});_0x4a5637[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x5e58ac[_0x1cd3('0x368')]['get']({'fields':'id,name,fullname','sort':_0x1cd3('0x98'),'role':_0x1cd3('0xd2'),'nolimit':'true'})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x4498d8){_0x50fcd5[_0x1cd3('0x1228')]=_0x4498d8[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x4dc9bb){_0x198520[_0x1cd3('0x434')]({'title':_0x4dc9bb[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x4dc9bb[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x4dc9bb[_0x1cd3('0xd35')]:_0x1cd3('0x11bf'),'msg':_0x4dc9bb[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x4dc9bb[_0x1cd3('0x439')]):_0x4dc9bb[_0x1cd3('0x43b')]()});}):_0x5e58ac['user'][_0x1cd3('0x361')]({'fields':_0x1cd3('0x132b'),'sort':_0x1cd3('0x98'),'role':_0x1cd3('0xd2'),'nolimit':'true'})[_0x1cd3('0x81')]['then'](function(_0x1b68b5){_0x50fcd5['agents']=_0x1b68b5[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x5e58ac[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x50fcd5[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0xca})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x323873){var _0x444c94=_0x323873&&_0x323873[_0x1cd3('0xf6')]?_0x323873['rows'][0x0]:null;if(!_0x444c94){var _0x1d975e=[];var _0x4c12be=null;if(_0x50fcd5[_0x1cd3('0x23ff')]){_0x4c12be=_['find'](_0x50fcd5[_0x1cd3('0x1228')],{'name':_0x50fcd5[_0x1cd3('0x23ff')][_0x1cd3('0x3db')]});}for(var _0x23f2a1=0x0;_0x23f2a1<_0x50fcd5[_0x1cd3('0x1228')]['length'];_0x23f2a1++){if(_0x4c12be&&_0x50fcd5[_0x1cd3('0x1228')][_0x23f2a1]['id']===_0x4c12be['id']){_0x50fcd5[_0x1cd3('0x1228')][_0x23f2a1][_0x1cd3('0xf4a')]=![];_0x1d975e[_0x1cd3('0x7b')](_0x50fcd5[_0x1cd3('0x1228')][_0x23f2a1]);}}_0x50fcd5[_0x1cd3('0x1228')]=_0x1d975e;}else{if(!_0x444c94[_0x1cd3('0x391')]){return _0x5e58ac[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x444c94['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x1c26a3){var _0x20511c=_['map'](_0x1c26a3[_0x1cd3('0xf6')],function(_0x409087){return _[_0x1cd3('0x442')](_0x50fcd5['agents'],{'id':_0x409087[_0x1cd3('0xe8e')]});});var _0x1897c3=null;if(_0x50fcd5[_0x1cd3('0x23ff')]){_0x1897c3=_[_0x1cd3('0x442')](_0x50fcd5[_0x1cd3('0x1228')],{'name':_0x50fcd5['allCondition'][_0x1cd3('0x3db')]});}if(_0x1897c3&&!_[_0x1cd3('0x38d')](_0x20511c,['id',_0x1897c3['id']])){var _0x47811a=_[_0x1cd3('0x442')](_0x50fcd5[_0x1cd3('0x1228')],{'id':_0x1897c3['id']});_0x47811a['canSelect']=![];_0x20511c['push'](_0x47811a);}_0x50fcd5[_0x1cd3('0x1228')]=_0x20511c;});}}})[_0x1cd3('0xfd')](function(_0x15817b){_0x198520[_0x1cd3('0x434')]({'title':_0x15817b[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x15817b[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x15817b[_0x1cd3('0xd35')]:'SYSTEM:GETagents','msg':_0x15817b[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x15817b[_0x1cd3('0x439')]):_0x15817b['toString']()});});function _0x5c88b4(){_0x50fcd5[_0x1cd3('0xd34')]=[];_0x5e58ac[_0x1cd3('0xb7e')][_0x1cd3('0x240f')]({'id':_0x1cd927[_0x1cd3('0x36a')]['id']},_0x50fcd5['allCondition'])['$promise']['then'](function(_0x36dfd8){_0x50fcd5[_0x1cd3('0x2404')][_0x1cd3('0x621')](_0x36dfd8[_0x1cd3('0xd32')]());_0x198520['success']({'title':'AllCondition\x20properly\x20created','msg':_0x50fcd5['allCondition'][_0x1cd3('0x98')]?_0x50fcd5['allCondition'][_0x1cd3('0x98')]+_0x1cd3('0xd33'):''});_0x34f8fa(_0x36dfd8);})['catch'](function(_0x5896ae){if(_0x5896ae[_0x1cd3('0x439')]&&_0x5896ae[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x5896ae[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x50fcd5[_0x1cd3('0xd34')]=_0x5896ae[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x5896ae[_0x1cd3('0x43b')](),'type':_0x1cd3('0x2410')}];for(var _0x423e45=0x0;_0x423e45<_0x5896ae[_0x1cd3('0x439')]['errors']['length'];_0x423e45+=0x1){_0x198520[_0x1cd3('0x434')]({'title':_0x5896ae[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x423e45][_0x1cd3('0x424')],'msg':_0x5896ae[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x423e45][_0x1cd3('0x43a')]});}}else{_0x198520[_0x1cd3('0x434')]({'title':_0x5896ae[_0x1cd3('0x3a6')]?'API:'+_0x5896ae[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x5896ae[_0x1cd3('0xd35')]:_0x1cd3('0x2410'),'msg':_0x5896ae[_0x1cd3('0x439')]?JSON['stringify'](_0x5896ae['data'][_0x1cd3('0x43a')]):_0x5896ae['toString']()});}});}function _0x366b0f(){_0x50fcd5[_0x1cd3('0xd34')]=[];_0x5e58ac[_0x1cd3('0xb65')][_0x1cd3('0x378')]({'id':_0x50fcd5[_0x1cd3('0x23ff')]['id']},_0x50fcd5['allCondition'])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x13a811){var _0x5227a9=_['find'](_0x50fcd5[_0x1cd3('0x2404')],{'id':_0x13a811['id']});if(_0x5227a9){_['merge'](_0x5227a9,_[_0x1cd3('0x5e8')](_0x13a811[_0x1cd3('0xd32')](),_['keys'](_0x5227a9)));}_0x198520['success']({'title':'AllCondition\x20properly\x20saved!','msg':_0x50fcd5[_0x1cd3('0x23ff')]['name']?_0x50fcd5['allCondition']['name']+_0x1cd3('0xd37'):''});_0x34f8fa(_0x13a811);})[_0x1cd3('0xfd')](function(_0x38abdb){if(_0x38abdb[_0x1cd3('0x439')]&&_0x38abdb['data'][_0x1cd3('0xd34')]&&_0x38abdb[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x50fcd5[_0x1cd3('0xd34')]=_0x38abdb[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x38abdb[_0x1cd3('0x43b')](),'type':_0x1cd3('0x2411')}];for(var _0x26442b=0x0;_0x26442b<_0x38abdb['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x26442b++){_0x198520[_0x1cd3('0x434')]({'title':_0x38abdb[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x26442b]['type'],'msg':_0x38abdb[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x26442b][_0x1cd3('0x43a')]});}}else{_0x198520[_0x1cd3('0x434')]({'title':_0x38abdb[_0x1cd3('0x3a6')]?'API:'+_0x38abdb[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x38abdb[_0x1cd3('0xd35')]:_0x1cd3('0x2411'),'msg':_0x38abdb['data']?JSON[_0x1cd3('0x438')](_0x38abdb['data'][_0x1cd3('0x43a')]):_0x38abdb[_0x1cd3('0x43b')]()});}});}function _0x3b001f(_0x91437f){_0x50fcd5[_0x1cd3('0xd34')]=[];var _0x3c45c7=_0xd50f3c[_0x1cd3('0xd39')]()['title'](_0x1cd3('0xd3a'))[_0x1cd3('0xd3b')](_0x1cd3('0x2412'))[_0x1cd3('0xd3d')](_0x1cd3('0x2413'))['ok'](_0x1cd3('0xd3f'))['cancel']('Cancel')['targetEvent'](_0x91437f);_0xd50f3c['show'](_0x3c45c7)['then'](function(){_0x5e58ac[_0x1cd3('0xb65')][_0x1cd3('0xa1c')]({'id':_0x50fcd5[_0x1cd3('0x23ff')]['id']})['$promise']['then'](function(){_[_0x1cd3('0x383')](_0x50fcd5['allconditions'],{'id':_0x50fcd5[_0x1cd3('0x23ff')]['id']});_0x198520[_0x1cd3('0x473')]({'title':_0x1cd3('0x2414'),'msg':(_0x50fcd5[_0x1cd3('0x23ff')][_0x1cd3('0x98')]||_0x1cd3('0x23ff'))+_0x1cd3('0xd41')});_0x34f8fa(_0x50fcd5['allCondition']);})[_0x1cd3('0xfd')](function(_0x3ab339){if(_0x3ab339['data']&&_0x3ab339[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x3ab339[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x50fcd5[_0x1cd3('0xd34')]=_0x3ab339[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x3ab339[_0x1cd3('0x43b')](),'type':'api.condition.delete'}];for(var _0x4ba454=0x0;_0x4ba454<_0x3ab339[_0x1cd3('0x439')]['errors']['length'];_0x4ba454++){_0x198520['error']({'title':_0x3ab339[_0x1cd3('0x439')]['errors'][_0x4ba454]['type'],'msg':_0x3ab339[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x4ba454][_0x1cd3('0x43a')]});}}else{_0x198520['error']({'title':_0x3ab339[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x3ab339['status']+_0x1cd3('0x436')+_0x3ab339[_0x1cd3('0xd35')]:'api.condition.delete','msg':_0x3ab339[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x3ab339[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x3ab339['message']||_0x3ab339[_0x1cd3('0x43b')]()});}});},function(){});}function _0x46fd98(_0x34dee3){return _0x34dee3===null?undefined:new Date(_0x34dee3);}function _0x34f8fa(_0x4378f3){_0xd50f3c[_0x1cd3('0x39d')](_0x4378f3);}}}());(function(){'use strict';_0x4b6597[_0x1cd3('0xc')]=[_0x1cd3('0x36f'),_0x1cd3('0x460'),_0x1cd3('0x53e'),'$q',_0x1cd3('0x3f7'),_0x1cd3('0x3e7'),_0x1cd3('0x3c5'),'$document',_0x1cd3('0x461'),_0x1cd3('0x370'),_0x1cd3('0x56')];angular['module'](_0x1cd3('0x33'))[_0x1cd3('0x39b')](_0x1cd3('0x2415'),_0x4b6597);function _0x4b6597(_0xbfbdbd,_0x5ba17c,_0x213575,_0x323397,_0x2cc1fe,_0x39d9ce,_0x166159,_0x1a89de,_0x3e6b66,_0x337fd3,_0x5d7ab3){var _0x4365b9=this;_0x4365b9[_0x1cd3('0x3ca')]=_0x5d7ab3[_0x1cd3('0x5d')]();_0x4365b9[_0x1cd3('0xb7e')]={};_0x4365b9['triggerAnyConditions']={'count':0x0,'rows':[]};_0x4365b9[_0x1cd3('0x2416')]=[];_0x4365b9['crudPermissions'];_0x4365b9[_0x1cd3('0x3d4')]={'fields':_0x1cd3('0x23cf'),'limit':0xa,'page':0x1};_0x4365b9[_0x1cd3('0x23d0')]=_[_0x1cd3('0xe2d')]([{'option':_0x1cd3('0x1223'),'value':_0x1cd3('0x23d1'),'ngIf':_0x1cd3('0x2350')},{'option':_0x1cd3('0x23d2'),'value':_0x1cd3('0x2417'),'ngIf':_0x1cd3('0x2350')},{'option':_0x1cd3('0x23d3'),'value':_0x1cd3('0x2418'),'ngIf':_0x1cd3('0x2350')},{'option':'Agent','value':'\x27agent\x27','ngIf':_0x1cd3('0x2350')},{'option':_0x1cd3('0x1591'),'value':_0x1cd3('0x23d4'),'ngIf':'vm.trigger.channel\x20!=\x20\x27voice\x27'},{'option':_0x1cd3('0x1495'),'value':_0x1cd3('0x23d6'),'ngIf':_0x1cd3('0x23d5')},{'option':_0x1cd3('0xf2d'),'value':_0x1cd3('0x23d7'),'ngIf':_0x1cd3('0x23d5')}],function(_0x180b93){return _['replace'](_0x180b93[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x4365b9[_0x1cd3('0x2419')]=_[_0x1cd3('0xe2d')]([{'option':'Equals','value':'\x27equals\x27'},{'option':'Not_Equals','value':'\x27not_equals\x27'}],function(_0xf893f5){return _[_0x1cd3('0x3f1')](_0xf893f5['value'],new RegExp('\x27','g'),'');});_0x4365b9[_0x1cd3('0x23dc')]=_[_0x1cd3('0xe2d')]([{'option':_0x1cd3('0x23dd'),'value':'\x27abandoned\x27'},{'option':_0x1cd3('0x1225'),'value':'\x27timeout\x27'},{'option':'Hangup','value':_0x1cd3('0x23df')},{'option':'Reject','value':_0x1cd3('0x23e0')},{'option':_0x1cd3('0x23e1'),'value':_0x1cd3('0x23e2')},{'option':'Answer','value':_0x1cd3('0x23e4')}],function(_0x52f65a){return _[_0x1cd3('0x3f1')](_0x52f65a[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x4365b9['interactionStatusValues']=_[_0x1cd3('0xe2d')]([{'option':'Opened','value':_0x1cd3('0x23e7')},{'option':_0x1cd3('0x23e8'),'value':_0x1cd3('0x23e9')}],function(_0x34af2c){return _[_0x1cd3('0x3f1')](_0x34af2c[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x4365b9['messageStatusValues']=_[_0x1cd3('0xe2d')]([{'option':_0x1cd3('0x23eb'),'value':'\x27in\x27'},{'option':_0x1cd3('0x23ed'),'value':'\x27out\x27'},{'option':_0x1cd3('0x241a'),'value':'\x27accept\x27'},{'option':'Rejected','value':'\x27reject\x27'}],function(_0x5a2d5d){return _[_0x1cd3('0x3f1')](_0x5a2d5d[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x4365b9[_0x1cd3('0xe08')]=_0x26b605;_0x4365b9[_0x1cd3('0xe0a')]=_0x211f03;_0x4365b9[_0x1cd3('0x473')]=_0x30fba1;_0x4365b9[_0x1cd3('0x241b')]=_0x24106b;_0x4365b9['createOrEditTriggerAnyCondition']=_0x240cb6;_0x4365b9[_0x1cd3('0x241c')]=_0x1dbf38;_0x4365b9['deleteTriggerAnyCondition']=_0x20752e;_0x4365b9[_0x1cd3('0x241d')]=_0x3b72d9;_0x5d7ab3[_0x1cd3('0x57')]('admin')?_0x337fd3[_0x1cd3('0xb02')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':'id','nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x537435){_0x4365b9[_0x1cd3('0x15fd')]=_0x537435[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x37dab3){_0x3e6b66[_0x1cd3('0x434')]({'title':_0x37dab3['status']?_0x1cd3('0x435')+_0x37dab3[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x37dab3[_0x1cd3('0xd35')]:'SYSTEM:GET_CHATACCOUNTS','msg':_0x37dab3[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x37dab3['data']):_0x37dab3['toString']()});}):_0x337fd3['chatWebsite']['get']({'fields':_0x1cd3('0xa6'),'sort':'id','nolimit':'true'})['$promise']['then'](function(_0x458d0f){_0x4365b9[_0x1cd3('0x15fd')]=_0x458d0f[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x337fd3['userProfileSection'][_0x1cd3('0x361')]({'userProfileId':_0x4365b9['currentUser'][_0x1cd3('0x5e')],'sectionId':0x1f6})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x28a282){var _0x468ae8=_0x28a282&&_0x28a282['rows']?_0x28a282[_0x1cd3('0xf6')][0x0]:null;if(!_0x468ae8){var _0x1c6cd1=[];var _0x57fda7=[];_0x4365b9[_0x1cd3('0x241e')][_0x1cd3('0xf6')][_0x1cd3('0x394')](function(_0xb387d2){if(_0xb387d2[_0x1cd3('0x450')]===_0x1cd3('0x15d3')){var _0x411c10=_[_0x1cd3('0x442')](_0x4365b9['chatAccounts'],{'id':Number(_0xb387d2['value'])});_0x57fda7[_0x1cd3('0x7b')](_0x411c10);}});for(var _0x9fbe0d=0x0;_0x9fbe0d<_0x4365b9[_0x1cd3('0x15fd')][_0x1cd3('0x7a')];_0x9fbe0d++){var _0xa3185c=_[_0x1cd3('0x38d')](_0x57fda7,{'id':_0x4365b9[_0x1cd3('0x15fd')][_0x9fbe0d]['id']});if(_0xa3185c){_0x4365b9[_0x1cd3('0x15fd')][_0x9fbe0d][_0x1cd3('0xf4a')]=![];_0x1c6cd1[_0x1cd3('0x7b')](_0x4365b9[_0x1cd3('0x15fd')][_0x9fbe0d]);}}_0x4365b9['chatAccounts']=_0x1c6cd1;}else{if(!_0x468ae8[_0x1cd3('0x391')]){return _0x337fd3[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x468ae8['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x527c27){var _0x5a3faa=_[_0x1cd3('0x3d9')](_0x527c27[_0x1cd3('0xf6')],function(_0x4542a0){return _[_0x1cd3('0x442')](_0x4365b9[_0x1cd3('0x15fd')],{'id':_0x4542a0['resourceId']});});var _0x2cc8d1=null;_0x2cc8d1=[];_0x4365b9['triggerAnyConditions'][_0x1cd3('0xf6')][_0x1cd3('0x394')](function(_0x5efe96){if(_0x5efe96[_0x1cd3('0x450')]==='account'){var _0x33896d=_[_0x1cd3('0x442')](_0x4365b9[_0x1cd3('0x15fd')],{'id':Number(_0x5efe96[_0x1cd3('0x3db')])});_0x2cc8d1['push'](_0x33896d);}});if(!_[_0x1cd3('0x398')](_0x2cc8d1)){_0x2cc8d1[_0x1cd3('0x394')](function(_0x3e0a66){if(!_[_0x1cd3('0x38d')](_0x5a3faa,['id',_0x3e0a66['id']])){var _0x1d1236=_[_0x1cd3('0x442')](_0x4365b9[_0x1cd3('0x15fd')],{'id':_0x3e0a66['id']});_0x1d1236[_0x1cd3('0xf4a')]=![];_0x5a3faa[_0x1cd3('0x7b')](_0x1d1236);}});}_0x4365b9[_0x1cd3('0x15fd')]=_0x5a3faa;});}}})[_0x1cd3('0xfd')](function(_0x5e8ac7){_0x3e6b66['error']({'title':_0x5e8ac7['status']?'API:'+_0x5e8ac7[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x5e8ac7['statusText']:_0x1cd3('0x240b'),'msg':_0x5e8ac7[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x5e8ac7[_0x1cd3('0x439')]):_0x5e8ac7[_0x1cd3('0x43b')]()});});_0x5d7ab3['hasRole'](_0x1cd3('0x5f'))?_0x337fd3[_0x1cd3('0xa7a')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':'id','nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x2a0a90){_0x4365b9[_0x1cd3('0xefa')]=_0x2a0a90[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x18e977){_0x3e6b66['error']({'title':_0x18e977[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x18e977[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x18e977[_0x1cd3('0xd35')]:_0x1cd3('0x22e3'),'msg':_0x18e977[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x18e977[_0x1cd3('0x439')]):_0x18e977[_0x1cd3('0x43b')]()});}):_0x337fd3[_0x1cd3('0xa7a')]['get']({'fields':_0x1cd3('0xa6'),'sort':'id','nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x58833a){_0x4365b9['mailAccounts']=_0x58833a[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x337fd3[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x4365b9[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x25a})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x20dece){var _0x4518f6=_0x20dece&&_0x20dece[_0x1cd3('0xf6')]?_0x20dece['rows'][0x0]:null;if(!_0x4518f6){var _0x364d09=[];var _0x368e87=[];_0x4365b9[_0x1cd3('0x241e')][_0x1cd3('0xf6')][_0x1cd3('0x394')](function(_0x4f5942){if(_0x4f5942[_0x1cd3('0x450')]===_0x1cd3('0x15d3')){var _0x779862=_[_0x1cd3('0x442')](_0x4365b9[_0x1cd3('0xefa')],{'id':Number(_0x4f5942['value'])});_0x368e87[_0x1cd3('0x7b')](_0x779862);}});for(var _0x5a7a90=0x0;_0x5a7a90<_0x4365b9[_0x1cd3('0xefa')]['length'];_0x5a7a90++){var _0x27fc53=_[_0x1cd3('0x38d')](_0x368e87,{'id':_0x4365b9[_0x1cd3('0xefa')][_0x5a7a90]['id']});if(_0x27fc53){_0x4365b9[_0x1cd3('0xefa')][_0x5a7a90][_0x1cd3('0xf4a')]=![];_0x364d09[_0x1cd3('0x7b')](_0x4365b9[_0x1cd3('0xefa')][_0x5a7a90]);}}_0x4365b9['mailAccounts']=_0x364d09;}else{if(!_0x4518f6['autoAssociation']){return _0x337fd3[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x4518f6['id']})[_0x1cd3('0x81')]['then'](function(_0x41ed3f){var _0x21ec42=_[_0x1cd3('0x3d9')](_0x41ed3f['rows'],function(_0x1ca79e){return _['find'](_0x4365b9[_0x1cd3('0xefa')],{'id':_0x1ca79e[_0x1cd3('0xe8e')]});});var _0x461519=null;_0x461519=[];_0x4365b9[_0x1cd3('0x241e')][_0x1cd3('0xf6')]['forEach'](function(_0x310823){if(_0x310823[_0x1cd3('0x450')]===_0x1cd3('0x15d3')){var _0x468934=_[_0x1cd3('0x442')](_0x4365b9['mailAccounts'],{'id':Number(_0x310823[_0x1cd3('0x3db')])});_0x461519[_0x1cd3('0x7b')](_0x468934);}});if(!_['isEmpty'](_0x461519)){_0x461519[_0x1cd3('0x394')](function(_0x630b0c){if(!_[_0x1cd3('0x38d')](_0x21ec42,['id',_0x630b0c['id']])){var _0x1bace6=_[_0x1cd3('0x442')](_0x4365b9[_0x1cd3('0xefa')],{'id':_0x630b0c['id']});_0x1bace6[_0x1cd3('0xf4a')]=![];_0x21ec42[_0x1cd3('0x7b')](_0x1bace6);}});}_0x4365b9['mailAccounts']=_0x21ec42;});}}})[_0x1cd3('0xfd')](function(_0x32fc39){_0x3e6b66[_0x1cd3('0x434')]({'title':_0x32fc39[_0x1cd3('0x3a6')]?'API:'+_0x32fc39[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x32fc39['statusText']:_0x1cd3('0x22bc'),'msg':_0x32fc39['data']?JSON[_0x1cd3('0x438')](_0x32fc39[_0x1cd3('0x439')]):_0x32fc39[_0x1cd3('0x43b')]()});});_0x5d7ab3[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x337fd3[_0x1cd3('0xac5')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':'id','nolimit':'true'})[_0x1cd3('0x81')]['then'](function(_0x55ba8c){_0x4365b9[_0x1cd3('0xefe')]=_0x55ba8c[_0x1cd3('0xf6')]||[];})['catch'](function(_0x56ffef){_0x3e6b66[_0x1cd3('0x434')]({'title':_0x56ffef['status']?_0x1cd3('0x435')+_0x56ffef[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x56ffef[_0x1cd3('0xd35')]:_0x1cd3('0x23f4'),'msg':_0x56ffef['data']?JSON['stringify'](_0x56ffef[_0x1cd3('0x439')]):_0x56ffef[_0x1cd3('0x43b')]()});}):_0x337fd3[_0x1cd3('0xac5')][_0x1cd3('0x361')]({'fields':'id,name','sort':'id','nolimit':_0x1cd3('0x2e0')})['$promise'][_0x1cd3('0x77')](function(_0x267682){_0x4365b9[_0x1cd3('0xefe')]=_0x267682[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x337fd3[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x4365b9['currentUser'][_0x1cd3('0x5e')],'sectionId':0x2be})[_0x1cd3('0x81')];})['then'](function(_0x1281d6){var _0x110c84=_0x1281d6&&_0x1281d6[_0x1cd3('0xf6')]?_0x1281d6[_0x1cd3('0xf6')][0x0]:null;if(!_0x110c84){var _0x51e761=[];var _0x2649d2=[];_0x4365b9[_0x1cd3('0x241e')][_0x1cd3('0xf6')][_0x1cd3('0x394')](function(_0x1c66f7){if(_0x1c66f7[_0x1cd3('0x450')]===_0x1cd3('0x15d3')){var _0x50bac9=_[_0x1cd3('0x442')](_0x4365b9[_0x1cd3('0xefe')],{'id':Number(_0x1c66f7[_0x1cd3('0x3db')])});_0x2649d2[_0x1cd3('0x7b')](_0x50bac9);}});for(var _0x43ce90=0x0;_0x43ce90<_0x4365b9['smsAccounts']['length'];_0x43ce90++){var _0x2315e8=_[_0x1cd3('0x38d')](_0x2649d2,{'id':_0x4365b9[_0x1cd3('0xefe')][_0x43ce90]['id']});if(_0x2315e8){_0x4365b9[_0x1cd3('0xefe')][_0x43ce90]['canSelect']=![];_0x51e761[_0x1cd3('0x7b')](_0x4365b9[_0x1cd3('0xefe')][_0x43ce90]);}}_0x4365b9[_0x1cd3('0xefe')]=_0x51e761;}else{if(!_0x110c84[_0x1cd3('0x391')]){return _0x337fd3[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x110c84['id']})['$promise'][_0x1cd3('0x77')](function(_0x153067){var _0x21b589=_[_0x1cd3('0x3d9')](_0x153067[_0x1cd3('0xf6')],function(_0x48c324){return _['find'](_0x4365b9['smsAccounts'],{'id':_0x48c324[_0x1cd3('0xe8e')]});});var _0x543ec4=null;_0x543ec4=[];_0x4365b9[_0x1cd3('0x241e')][_0x1cd3('0xf6')]['forEach'](function(_0x5adc16){if(_0x5adc16[_0x1cd3('0x450')]===_0x1cd3('0x15d3')){var _0x449dc0=_['find'](_0x4365b9[_0x1cd3('0xefe')],{'id':Number(_0x5adc16[_0x1cd3('0x3db')])});_0x543ec4[_0x1cd3('0x7b')](_0x449dc0);}});if(!_[_0x1cd3('0x398')](_0x543ec4)){_0x543ec4[_0x1cd3('0x394')](function(_0x505aa3){if(!_[_0x1cd3('0x38d')](_0x21b589,['id',_0x505aa3['id']])){var _0x350246=_[_0x1cd3('0x442')](_0x4365b9['smsAccounts'],{'id':_0x505aa3['id']});_0x350246['canSelect']=![];_0x21b589[_0x1cd3('0x7b')](_0x350246);}});}_0x4365b9['smsAccounts']=_0x21b589;});}}})[_0x1cd3('0xfd')](function(_0x5bd122){_0x3e6b66['error']({'title':_0x5bd122['status']?_0x1cd3('0x435')+_0x5bd122[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x5bd122[_0x1cd3('0xd35')]:'SYSTEM:GETsmsAccounts','msg':_0x5bd122[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x5bd122[_0x1cd3('0x439')]):_0x5bd122[_0x1cd3('0x43b')]()});});_0x5d7ab3[_0x1cd3('0x57')]('admin')?_0x337fd3['faxAccount']['get']({'fields':_0x1cd3('0xa6'),'sort':'id','nolimit':'true'})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x721c34){_0x4365b9[_0x1cd3('0x15fa')]=_0x721c34[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x7b3262){_0x3e6b66['error']({'title':_0x7b3262[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x7b3262['status']+'\x20-\x20'+_0x7b3262['statusText']:_0x1cd3('0x23f6'),'msg':_0x7b3262[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x7b3262[_0x1cd3('0x439')]):_0x7b3262[_0x1cd3('0x43b')]()});}):_0x337fd3['faxAccount'][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':'id','nolimit':_0x1cd3('0x2e0')})['$promise']['then'](function(_0x54db55){_0x4365b9[_0x1cd3('0x15fa')]=_0x54db55[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x337fd3[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x4365b9[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x386})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x49e0e1){var _0x586594=_0x49e0e1&&_0x49e0e1[_0x1cd3('0xf6')]?_0x49e0e1[_0x1cd3('0xf6')][0x0]:null;if(!_0x586594){var _0x568d56=[];var _0xf5bc2e=[];_0x4365b9[_0x1cd3('0x241e')]['rows'][_0x1cd3('0x394')](function(_0x523d29){if(_0x523d29['field']===_0x1cd3('0x15d3')){var _0x13399a=_[_0x1cd3('0x442')](_0x4365b9[_0x1cd3('0x15fa')],{'id':Number(_0x523d29[_0x1cd3('0x3db')])});_0xf5bc2e['push'](_0x13399a);}});for(var _0x5e7ff6=0x0;_0x5e7ff6<_0x4365b9[_0x1cd3('0x15fa')][_0x1cd3('0x7a')];_0x5e7ff6++){var _0x27f874=_[_0x1cd3('0x38d')](_0xf5bc2e,{'id':_0x4365b9[_0x1cd3('0x15fa')][_0x5e7ff6]['id']});if(_0x27f874){_0x4365b9['faxAccounts'][_0x5e7ff6][_0x1cd3('0xf4a')]=![];_0x568d56['push'](_0x4365b9[_0x1cd3('0x15fa')][_0x5e7ff6]);}}_0x4365b9['faxAccounts']=_0x568d56;}else{if(!_0x586594[_0x1cd3('0x391')]){return _0x337fd3['userProfileResource'][_0x1cd3('0x361')]({'sectionId':_0x586594['id']})['$promise'][_0x1cd3('0x77')](function(_0x92047){var _0x38f496=_[_0x1cd3('0x3d9')](_0x92047[_0x1cd3('0xf6')],function(_0x1ed233){return _[_0x1cd3('0x442')](_0x4365b9['faxAccounts'],{'id':_0x1ed233[_0x1cd3('0xe8e')]});});var _0x177c00=null;_0x177c00=[];_0x4365b9[_0x1cd3('0x241e')]['rows'][_0x1cd3('0x394')](function(_0x3c90fc){if(_0x3c90fc[_0x1cd3('0x450')]===_0x1cd3('0x15d3')){var _0x1e4488=_['find'](_0x4365b9[_0x1cd3('0x15fa')],{'id':Number(_0x3c90fc['value'])});_0x177c00[_0x1cd3('0x7b')](_0x1e4488);}});if(!_[_0x1cd3('0x398')](_0x177c00)){_0x177c00[_0x1cd3('0x394')](function(_0x2035e8){if(!_[_0x1cd3('0x38d')](_0x38f496,['id',_0x2035e8['id']])){var _0x32cbfa=_[_0x1cd3('0x442')](_0x4365b9['faxAccounts'],{'id':_0x2035e8['id']});_0x32cbfa[_0x1cd3('0xf4a')]=![];_0x38f496[_0x1cd3('0x7b')](_0x32cbfa);}});}_0x4365b9[_0x1cd3('0x15fa')]=_0x38f496;});}}})['catch'](function(_0x7e6ea9){_0x3e6b66[_0x1cd3('0x434')]({'title':_0x7e6ea9[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x7e6ea9[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x7e6ea9[_0x1cd3('0xd35')]:'SYSTEM:GETfaxAccounts','msg':_0x7e6ea9[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x7e6ea9['data']):_0x7e6ea9[_0x1cd3('0x43b')]()});});_0x5d7ab3['hasRole']('admin')?_0x337fd3['openchannelAccount'][_0x1cd3('0x361')]({'fields':'id,name','sort':'id','nolimit':'true'})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x1bda27){_0x4365b9['openchannelAccounts']=_0x1bda27[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x26bda3){_0x3e6b66[_0x1cd3('0x434')]({'title':_0x26bda3[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x26bda3[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x26bda3['statusText']:_0x1cd3('0x23f8'),'msg':_0x26bda3[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x26bda3[_0x1cd3('0x439')]):_0x26bda3[_0x1cd3('0x43b')]()});}):_0x337fd3[_0x1cd3('0xae5')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':'id','nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x14f106){_0x4365b9[_0x1cd3('0x15fb')]=_0x14f106[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x337fd3['userProfileSection'][_0x1cd3('0x361')]({'userProfileId':_0x4365b9[_0x1cd3('0x3ca')]['userProfileId'],'sectionId':0x322})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x5133d8){var _0x1bad84=_0x5133d8&&_0x5133d8[_0x1cd3('0xf6')]?_0x5133d8[_0x1cd3('0xf6')][0x0]:null;if(!_0x1bad84){var _0x4f47ed=[];var _0xf1d07f=[];_0x4365b9[_0x1cd3('0x241e')][_0x1cd3('0xf6')][_0x1cd3('0x394')](function(_0x56b329){if(_0x56b329[_0x1cd3('0x450')]===_0x1cd3('0x15d3')){var _0x2d9e09=_[_0x1cd3('0x442')](_0x4365b9['openchannelAccounts'],{'id':Number(_0x56b329[_0x1cd3('0x3db')])});_0xf1d07f[_0x1cd3('0x7b')](_0x2d9e09);}});for(var _0x3fb40c=0x0;_0x3fb40c<_0x4365b9[_0x1cd3('0x15fb')]['length'];_0x3fb40c++){var _0xed67b2=_['some'](_0xf1d07f,{'id':_0x4365b9[_0x1cd3('0x15fb')][_0x3fb40c]['id']});if(_0xed67b2){_0x4365b9[_0x1cd3('0x15fb')][_0x3fb40c]['canSelect']=![];_0x4f47ed['push'](_0x4365b9[_0x1cd3('0x15fb')][_0x3fb40c]);}}_0x4365b9[_0x1cd3('0x15fb')]=_0x4f47ed;}else{if(!_0x1bad84[_0x1cd3('0x391')]){return _0x337fd3[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x1bad84['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x3edaec){var _0x1e6ba1=_[_0x1cd3('0x3d9')](_0x3edaec[_0x1cd3('0xf6')],function(_0x20fc5e){return _[_0x1cd3('0x442')](_0x4365b9[_0x1cd3('0x15fb')],{'id':_0x20fc5e[_0x1cd3('0xe8e')]});});var _0x186745=null;_0x186745=[];_0x4365b9['triggerAnyConditions'][_0x1cd3('0xf6')][_0x1cd3('0x394')](function(_0x1534de){if(_0x1534de[_0x1cd3('0x450')]===_0x1cd3('0x15d3')){var _0xd16dfd=_[_0x1cd3('0x442')](_0x4365b9[_0x1cd3('0x15fb')],{'id':Number(_0x1534de[_0x1cd3('0x3db')])});_0x186745['push'](_0xd16dfd);}});if(!_['isEmpty'](_0x186745)){_0x186745['forEach'](function(_0x147b46){if(!_['some'](_0x1e6ba1,['id',_0x147b46['id']])){var _0x330444=_['find'](_0x4365b9['openchannelAccounts'],{'id':_0x147b46['id']});_0x330444[_0x1cd3('0xf4a')]=![];_0x1e6ba1[_0x1cd3('0x7b')](_0x330444);}});}_0x4365b9[_0x1cd3('0x15fb')]=_0x1e6ba1;});}}})[_0x1cd3('0xfd')](function(_0x523f38){_0x3e6b66[_0x1cd3('0x434')]({'title':_0x523f38['status']?_0x1cd3('0x435')+_0x523f38[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x523f38['statusText']:_0x1cd3('0x23f9'),'msg':_0x523f38[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x523f38[_0x1cd3('0x439')]):_0x523f38['toString']()});});var _0x34ee33=[{'id':0x191,'type':_0x1cd3('0xa4')},{'id':0x5dd,'type':_0x1cd3('0x128')}];var _0x3bd4aa=null;_0x5d7ab3[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x337fd3[_0x1cd3('0xa48')][_0x1cd3('0x361')]({'fields':_0x1cd3('0x1222'),'sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x45c9a7){_0x4365b9[_0x1cd3('0x1155')]=_0x45c9a7[_0x1cd3('0xf6')]||[];})['catch'](function(_0x50c7cb){_0x3e6b66[_0x1cd3('0x434')]({'title':_0x50c7cb['status']?'API:'+_0x50c7cb[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x50c7cb[_0x1cd3('0xd35')]:_0x1cd3('0x12af'),'msg':_0x50c7cb[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x50c7cb[_0x1cd3('0x439')]):_0x50c7cb[_0x1cd3('0x43b')]()});}):_0x337fd3[_0x1cd3('0xa48')][_0x1cd3('0x361')]({'fields':_0x1cd3('0x1222'),'sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x38dede){_0x3bd4aa=_0x38dede[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){var _0x5427f8=[];for(var _0x210faa=0x0;_0x210faa<_0x34ee33[_0x1cd3('0x7a')];_0x210faa++){_0x5427f8[_0x1cd3('0x7b')](_0x337fd3[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x4365b9[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':_0x34ee33[_0x210faa]['id']})[_0x1cd3('0x81')]);}return _0x323397[_0x1cd3('0x7e')](_0x5427f8);})[_0x1cd3('0x77')](function(_0x2eb776){var _0x34055f=_[_0x1cd3('0x3d9')](_0x2eb776,function(_0x56c50d){return _0x56c50d&&_0x56c50d[_0x1cd3('0xf6')]?_0x56c50d[_0x1cd3('0xf6')][0x0]:null;});var _0x1b96d3=[];for(var _0xd8a1d0=0x0;_0xd8a1d0<_0x34ee33[_0x1cd3('0x7a')];_0xd8a1d0++){var _0x21d51f=_[_0x1cd3('0x442')](_0x34055f,[_0x1cd3('0x38b'),_0x34ee33[_0xd8a1d0]['id']]);if(_0x21d51f){if(!_0x21d51f[_0x1cd3('0x391')]){_0x1b96d3['push'](_0x337fd3[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x21d51f['id']})[_0x1cd3('0x81')]);}else{var _0x21cdf6=[];_0x3bd4aa[_0x1cd3('0x394')](function(_0x29e77d){if(_0x29e77d[_0x1cd3('0x424')]===_0x34ee33[_0xd8a1d0][_0x1cd3('0x424')]){_0x21cdf6[_0x1cd3('0x7b')](_0x29e77d);}});_0x1b96d3[_0x1cd3('0x7b')]({'rows':_0x21cdf6,'count':_0x21cdf6[_0x1cd3('0x7a')]});}}}return _0x323397[_0x1cd3('0x7e')](_0x1b96d3);})[_0x1cd3('0x77')](function(_0x48a560){var _0x5f44c8=[];var _0x211e25=[];_0x4365b9[_0x1cd3('0x241e')][_0x1cd3('0xf6')][_0x1cd3('0x394')](function(_0x519193){if(_0x519193[_0x1cd3('0x450')]==='queue'){var _0x4f1122=_[_0x1cd3('0x442')](_0x3bd4aa,{'name':_0x519193[_0x1cd3('0x3db')]});_0x211e25['push'](_0x4f1122);}});for(var _0x6a763=0x0;_0x6a763<_0x48a560[_0x1cd3('0x7a')];_0x6a763++){var _0x51e2f4=_0x48a560[_0x6a763][_0x1cd3('0xf6')]||[];_0x51e2f4['forEach'](function(_0x1b0b5e){_0x5f44c8[_0x1cd3('0x7b')](_0x1b0b5e);});}if(!_[_0x1cd3('0x398')](_0x211e25)){_0x211e25[_0x1cd3('0x394')](function(_0x391b6c){if(!_['some'](_0x5f44c8,[_0x1cd3('0xe8e'),_0x391b6c['id']])){var _0x189c23=_[_0x1cd3('0x442')](_0x3bd4aa,{'id':_0x391b6c['id']});_0x189c23[_0x1cd3('0xf4a')]=![];_0x5f44c8[_0x1cd3('0x7b')](_0x189c23);}});}_0x4365b9[_0x1cd3('0x1155')]=_0x5f44c8;})['catch'](function(_0x5637e2){_0x3e6b66[_0x1cd3('0x434')]({'title':_0x5637e2[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x5637e2[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x5637e2[_0x1cd3('0xd35')]:_0x1cd3('0x12b0'),'msg':_0x5637e2[_0x1cd3('0x439')]?JSON['stringify'](_0x5637e2[_0x1cd3('0x439')]):_0x5637e2[_0x1cd3('0x43b')]()});});_0x5d7ab3['hasRole'](_0x1cd3('0x5f'))?_0x337fd3[_0x1cd3('0xa40')]['get']({'fields':_0x1cd3('0x23fa'),'type':_0x1cd3('0x128'),'VoiceExtensionId':_0x1cd3('0x220'),'nolimit':'true'})['$promise'][_0x1cd3('0x77')](function(_0xa56a1f){_0x4365b9[_0x1cd3('0x23fb')]=_0xa56a1f[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x457915){_0x3e6b66[_0x1cd3('0x434')]({'title':_0x457915[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x457915[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x457915[_0x1cd3('0xd35')]:_0x1cd3('0x240e'),'msg':_0x457915[_0x1cd3('0x439')]?JSON['stringify'](_0x457915[_0x1cd3('0x439')]):_0x457915[_0x1cd3('0x43b')]()});}):_0x337fd3[_0x1cd3('0xa40')][_0x1cd3('0x361')]({'fields':'id,exten','type':_0x1cd3('0x128'),'VoiceExtensionId':_0x1cd3('0x220'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')]['then'](function(_0x3dba08){_0x4365b9[_0x1cd3('0x23fb')]=_0x3dba08['rows']||[];})[_0x1cd3('0x77')](function(){return _0x337fd3[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x4365b9['currentUser'][_0x1cd3('0x5e')],'sectionId':0x193})[_0x1cd3('0x81')];})['then'](function(_0x64270d){var _0x52b070=_0x64270d&&_0x64270d[_0x1cd3('0xf6')]?_0x64270d[_0x1cd3('0xf6')][0x0]:null;if(!_0x52b070){var _0x4f419e=[];var _0x3f1546=[];_0x4365b9['triggerAnyConditions'][_0x1cd3('0xf6')][_0x1cd3('0x394')](function(_0x1fbd7a){if(_0x1fbd7a['field']==='routeId'){var _0x40fb5a=_['find'](_0x4365b9['outboundRoutes'],{'id':Number(_0x1fbd7a[_0x1cd3('0x3db')])});_0x3f1546[_0x1cd3('0x7b')](_0x40fb5a);}});for(var _0x336bc6=0x0;_0x336bc6<_0x4365b9[_0x1cd3('0x23fb')][_0x1cd3('0x7a')];_0x336bc6++){var _0x55b462=_[_0x1cd3('0x38d')](_0x3f1546,{'id':_0x4365b9['outboundRoutes'][_0x336bc6]['id']});if(_0x55b462){_0x4365b9[_0x1cd3('0x23fb')][_0x336bc6][_0x1cd3('0xf4a')]=![];_0x4f419e[_0x1cd3('0x7b')](_0x4365b9[_0x1cd3('0x23fb')][_0x336bc6]);}}_0x4365b9[_0x1cd3('0x23fb')]=_0x4f419e;}else{if(!_0x52b070[_0x1cd3('0x391')]){return _0x337fd3['userProfileResource']['get']({'sectionId':_0x52b070['id']})['$promise']['then'](function(_0xecaa62){var _0x10af2e=_['map'](_0xecaa62[_0x1cd3('0xf6')],function(_0x1074e8){return _['find'](_0x4365b9[_0x1cd3('0x23fb')],{'id':_0x1074e8['resourceId']});});var _0x580174=null;_0x580174=[];_0x4365b9[_0x1cd3('0x241e')][_0x1cd3('0xf6')][_0x1cd3('0x394')](function(_0x1b0f08){if(_0x1b0f08[_0x1cd3('0x450')]===_0x1cd3('0x15be')){var _0x2fb870=_[_0x1cd3('0x442')](_0x4365b9[_0x1cd3('0x23fb')],{'id':Number(_0x1b0f08[_0x1cd3('0x3db')])});_0x580174[_0x1cd3('0x7b')](_0x2fb870);}});if(!_[_0x1cd3('0x398')](_0x580174)){_0x580174[_0x1cd3('0x394')](function(_0x509f71){if(!_[_0x1cd3('0x38d')](_0x10af2e,['id',_0x509f71['id']])){var _0x2b27fb=_[_0x1cd3('0x442')](_0x4365b9['outboundRoutes'],{'id':_0x509f71['id']});_0x2b27fb['canSelect']=![];_0x10af2e['push'](_0x2b27fb);}});}_0x4365b9['outboundRoutes']=_0x10af2e;});}}})['catch'](function(_0x3a831b){_0x3e6b66[_0x1cd3('0x434')]({'title':_0x3a831b['status']?'API:'+_0x3a831b[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x3a831b[_0x1cd3('0xd35')]:'SYSTEM:GEToutboundRoutes','msg':_0x3a831b['data']?JSON[_0x1cd3('0x438')](_0x3a831b[_0x1cd3('0x439')]):_0x3a831b[_0x1cd3('0x43b')]()});});_0x5d7ab3[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x337fd3[_0x1cd3('0x368')]['get']({'fields':_0x1cd3('0x132b'),'sort':_0x1cd3('0x98'),'role':_0x1cd3('0xd2'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x340d3b){_0x4365b9[_0x1cd3('0x1228')]=_0x340d3b[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x1ee473){_0x3e6b66['error']({'title':_0x1ee473[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x1ee473['status']+'\x20-\x20'+_0x1ee473[_0x1cd3('0xd35')]:_0x1cd3('0x11bf'),'msg':_0x1ee473[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x1ee473[_0x1cd3('0x439')]):_0x1ee473[_0x1cd3('0x43b')]()});}):_0x337fd3[_0x1cd3('0x368')]['get']({'fields':_0x1cd3('0x132b'),'sort':_0x1cd3('0x98'),'role':_0x1cd3('0xd2'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x155682){_0x4365b9['agents']=_0x155682[_0x1cd3('0xf6')]||[];})['then'](function(){return _0x337fd3[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x4365b9[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0xca})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x3cd045){var _0x109882=_0x3cd045&&_0x3cd045[_0x1cd3('0xf6')]?_0x3cd045[_0x1cd3('0xf6')][0x0]:null;if(!_0x109882){var _0x4f10d6=[];var _0xc183fa=[];_0x4365b9[_0x1cd3('0x241e')][_0x1cd3('0xf6')][_0x1cd3('0x394')](function(_0x18330c){if(_0x18330c['field']===_0x1cd3('0xd2')){var _0x3e2ba5=_[_0x1cd3('0x442')](_0x4365b9[_0x1cd3('0x1228')],{'name':_0x18330c[_0x1cd3('0x3db')]});_0xc183fa[_0x1cd3('0x7b')](_0x3e2ba5);}});for(var _0x1ec576=0x0;_0x1ec576<_0x4365b9[_0x1cd3('0x1228')]['length'];_0x1ec576++){var _0x1a722e=_[_0x1cd3('0x38d')](_0xc183fa,{'id':_0x4365b9[_0x1cd3('0x1228')][_0x1ec576]['id']});if(_0x1a722e){_0x4365b9[_0x1cd3('0x1228')][_0x1ec576][_0x1cd3('0xf4a')]=![];_0x4f10d6['push'](_0x4365b9[_0x1cd3('0x1228')][_0x1ec576]);}}_0x4365b9[_0x1cd3('0x1228')]=_0x4f10d6;}else{if(!_0x109882[_0x1cd3('0x391')]){return _0x337fd3['userProfileResource'][_0x1cd3('0x361')]({'sectionId':_0x109882['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x17b58c){var _0x19f916=_[_0x1cd3('0x3d9')](_0x17b58c[_0x1cd3('0xf6')],function(_0x31d757){return _[_0x1cd3('0x442')](_0x4365b9[_0x1cd3('0x1228')],{'id':_0x31d757[_0x1cd3('0xe8e')]});});var _0xa81c3b=null;_0xa81c3b=[];_0x4365b9['triggerAnyConditions'][_0x1cd3('0xf6')][_0x1cd3('0x394')](function(_0x546502){if(_0x546502['field']===_0x1cd3('0xd2')){var _0x36c1a9=_[_0x1cd3('0x442')](_0x4365b9[_0x1cd3('0x1228')],{'name':_0x546502['value']});_0xa81c3b['push'](_0x36c1a9);}});if(!_[_0x1cd3('0x398')](_0xa81c3b)){_0xa81c3b[_0x1cd3('0x394')](function(_0x5337ab){if(!_[_0x1cd3('0x38d')](_0x19f916,['id',_0x5337ab['id']])){var _0x3e728e=_[_0x1cd3('0x442')](_0x4365b9[_0x1cd3('0x1228')],{'id':_0x5337ab['id']});_0x3e728e['canSelect']=![];_0x19f916[_0x1cd3('0x7b')](_0x3e728e);}});}_0x4365b9[_0x1cd3('0x1228')]=_0x19f916;});}}})[_0x1cd3('0xfd')](function(_0x4f40c3){_0x3e6b66['error']({'title':_0x4f40c3['status']?'API:'+_0x4f40c3[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x4f40c3[_0x1cd3('0xd35')]:_0x1cd3('0x1282'),'msg':_0x4f40c3['data']?JSON[_0x1cd3('0x438')](_0x4f40c3[_0x1cd3('0x439')]):_0x4f40c3['toString']()});});function _0x26b605(_0x178970,_0x3b33fd){_0x4365b9[_0x1cd3('0xb7e')]=_0x178970;_0x4365b9[_0x1cd3('0xd27')]=typeof _0x3b33fd!==_0x1cd3('0x491')?_0x3b33fd:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x4365b9[_0x1cd3('0x3d4')][_0x1cd3('0x241f')]=_0x4365b9[_0x1cd3('0xb7e')]['id'];_0x4365b9['query']['id']=_0x4365b9['trigger']['id'];_0x24106b();}function _0x211f03(_0x9e9747,_0x56d0a3){var _0x1fa034=_0x166159[_0x1cd3('0xd39')]()['title'](_0x1cd3('0x2420'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+(_0x9e9747[_0x1cd3('0x98')]||_0x9e9747['id']&&_['upperFirst']('anyCondition\x20#')+_0x9e9747['id']||_0x1cd3('0x2421'))+_0x1cd3('0xd52')+'\x20will\x20be\x20deleted.')[_0x1cd3('0xd3d')](_0x1cd3('0x2422'))[_0x1cd3('0xd63')](_0x56d0a3)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x166159[_0x1cd3('0x37e')](_0x1fa034)[_0x1cd3('0x77')](function(){_0x20752e(_0x9e9747);},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}function _0x30fba1(_0x42eaf0){_0x4365b9['triggerAnyConditions']=_0x42eaf0||{'count':0x0,'rows':[]};}function _0x24106b(){_0x4365b9[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0x4365b9['query'][_0x1cd3('0x8fd')]-0x1)*_0x4365b9['query'][_0x1cd3('0x8fe')];_0x4365b9['promise']=_0x337fd3[_0x1cd3('0xb7e')]['getAnyConditions'](_0x4365b9[_0x1cd3('0x3d4')],_0x30fba1)[_0x1cd3('0x81')];}function _0x240cb6(_0x8b1f2d,_0x4be879){_0x166159[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x2423'),'controllerAs':'vm','templateUrl':_0x1cd3('0x2424'),'parent':angular[_0x1cd3('0x37f')](_0x1a89de[_0x1cd3('0x380')]),'targetEvent':_0x8b1f2d,'clickOutsideToClose':!![],'locals':{'trigger':_0x4365b9[_0x1cd3('0xb7e')],'anyCondition':_0x4be879,'anyconditions':_0x4365b9[_0x1cd3('0x241e')][_0x1cd3('0xf6')],'license':null,'setting':null,'crudPermissions':_0x4365b9[_0x1cd3('0xd27')]}});}function _0x20752e(_0x25cc18){_0x337fd3[_0x1cd3('0xb65')][_0x1cd3('0xa1c')]({'id':_0x25cc18['id']})['$promise'][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x4365b9[_0x1cd3('0x241e')][_0x1cd3('0xf6')],{'id':_0x25cc18['id']});_0x4365b9[_0x1cd3('0x241e')][_0x1cd3('0x466')]-=0x1;if(!_0x4365b9[_0x1cd3('0x241e')][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){_0x24106b();}_0x3e6b66[_0x1cd3('0x473')]({'title':_0x1cd3('0x2425'),'msg':_0x25cc18['name']?_0x25cc18[_0x1cd3('0x98')]+_0x1cd3('0xd41'):''});})[_0x1cd3('0xfd')](function(_0x1c2cc8){if(_0x1c2cc8[_0x1cd3('0x439')]&&_0x1c2cc8[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x1c2cc8[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){vm[_0x1cd3('0xd34')]=_0x1c2cc8[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x1c2cc8['toString'](),'type':_0x1cd3('0x23b6')}];for(var _0x4e8032=0x0;_0x4e8032<_0x1c2cc8[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x4e8032++){_0x3e6b66[_0x1cd3('0x434')]({'title':_0x1c2cc8[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x4e8032][_0x1cd3('0x424')],'msg':_0x1c2cc8[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x4e8032][_0x1cd3('0x43a')]});}}else{_0x3e6b66[_0x1cd3('0x434')]({'title':_0x1c2cc8['status']?_0x1cd3('0x435')+_0x1c2cc8[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x1c2cc8['statusText']:_0x1cd3('0x23b6'),'msg':_0x1c2cc8[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x1c2cc8['data'][_0x1cd3('0x43a')]):_0x1c2cc8[_0x1cd3('0x43a')]||_0x1c2cc8[_0x1cd3('0x43b')]()});}});}function _0x1dbf38(){var _0x381243=angular[_0x1cd3('0x429')](_0x4365b9[_0x1cd3('0x2416')]);_0x4365b9[_0x1cd3('0x2416')]=[];return _0x381243;}function _0x3b72d9(_0x4b24b3){var _0x149966=_0x166159[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x2426'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x4365b9[_0x1cd3('0x2416')]['length']+_0x1cd3('0xd61')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')]('delete\x20anyconditions')[_0x1cd3('0xd63')](_0x4b24b3)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x166159[_0x1cd3('0x37e')](_0x149966)['then'](function(){_0x4365b9[_0x1cd3('0x2416')][_0x1cd3('0x394')](function(_0x2429c6){_0x20752e(_0x2429c6);});_0x4365b9[_0x1cd3('0x2416')]=[];});}var _0x204da3=!![];var _0x4ac6d6=0x1;_0x5ba17c[_0x1cd3('0x4d6')](_0x1cd3('0x1340'),function(_0x18e140,_0x1012df){if(_0x204da3){_0x39d9ce(function(){_0x204da3=![];});}else{if(!_0x1012df){_0x4ac6d6=_0x4365b9['query'][_0x1cd3('0x8fd')];}if(_0x18e140!==_0x1012df){_0x4365b9[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}if(!_0x18e140){_0x4365b9[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0x4ac6d6;}_0x24106b();}});}}());(function(){'use strict';_0xd39fc6[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x53e'),_0x1cd3('0xd24'),'$mdDialog','$q',_0x1cd3('0x3f7'),_0x1cd3('0x461'),_0x1cd3('0x2427'),_0x1cd3('0x2421'),'trigger',_0x1cd3('0x370'),'Auth','license',_0x1cd3('0xc49'),_0x1cd3('0xd27')];angular['module'](_0x1cd3('0x33'))[_0x1cd3('0x39b')](_0x1cd3('0x2423'),_0xd39fc6);function _0xd39fc6(_0x1f8c6a,_0x1315a5,_0x18b002,_0x6f7e05,_0x303940,_0x30db3f,_0xf70847,_0x5afa52,_0x14e37c,_0x1ccc1e,_0x185e85,_0x1701c9,_0x1cab5b,_0x379c84,_0xcca17b){var _0x250490=this;_0x250490[_0x1cd3('0x3ca')]=_0x1701c9[_0x1cd3('0x5d')]();_0x250490[_0x1cd3('0xd34')]=[];_0x250490['setting']=_0x379c84;_0x250490[_0x1cd3('0x463')]=_0x1cab5b;_0x250490[_0x1cd3('0xd27')]=_0xcca17b;_0x250490[_0x1cd3('0xd28')]={};_0x250490[_0x1cd3('0xd29')]=_0x250490[_0x1cd3('0xc49')]&&_0x250490[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x250490[_0x1cd3('0x486')]=_0x1cd3('0x2428');_0x250490[_0x1cd3('0x2421')]=angular[_0x1cd3('0x429')](_0x14e37c);_0x250490[_0x1cd3('0x2427')]=_0x5afa52;_0x250490[_0x1cd3('0x2429')]=![];_0x250490[_0x1cd3('0xb7e')]=angular[_0x1cd3('0x429')](_0x1ccc1e);if(!_0x250490[_0x1cd3('0x2421')]){_0x250490[_0x1cd3('0x2421')]={'field':_0x1cd3('0x1220'),'operator':_0x1cd3('0x501'),'value':_0x1cd3('0x112'),'value':_0x1cd3('0x2407'),'value':'in'};_0x250490['title']='TOOLS.NEW_ANYCONDITION';_0x250490[_0x1cd3('0x2429')]=!![];}if(_0x1315a5[_0x1cd3('0x36a')]['id']){_0x250490[_0x1cd3('0x2421')][_0x1cd3('0x241f')]=_0x1315a5[_0x1cd3('0x36a')]['id'];}_0x250490[_0x1cd3('0x242a')]=_0x59a6c7;_0x250490[_0x1cd3('0x242b')]=_0x573e6f;_0x250490['deleteAnyCondition']=_0x45dd47;_0x250490['getDateFromString']=_0x5c9cc3;_0x250490[_0x1cd3('0x39c')]=_0x5872b1;_0x1701c9[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x185e85[_0x1cd3('0xb02')]['get']({'fields':'id,name','sort':'id','nolimit':_0x1cd3('0x2e0')})['$promise'][_0x1cd3('0x77')](function(_0x11af51){_0x250490[_0x1cd3('0x15fd')]=_0x11af51[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x3da154){_0xf70847[_0x1cd3('0x434')]({'title':_0x3da154['status']?_0x1cd3('0x435')+_0x3da154[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x3da154[_0x1cd3('0xd35')]:_0x1cd3('0x23f3'),'msg':_0x3da154[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x3da154[_0x1cd3('0x439')]):_0x3da154['toString']()});}):_0x185e85[_0x1cd3('0xb02')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':'id','nolimit':'true'})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x175e05){_0x250490[_0x1cd3('0x15fd')]=_0x175e05[_0x1cd3('0xf6')]||[];})['then'](function(){return _0x185e85[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x250490['currentUser']['userProfileId'],'sectionId':0x1f6})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x192e67){var _0x360338=_0x192e67&&_0x192e67[_0x1cd3('0xf6')]?_0x192e67[_0x1cd3('0xf6')][0x0]:null;if(!_0x360338){var _0x424e5c=[];var _0x12abbe=null;if(_0x250490[_0x1cd3('0x2421')]){_0x12abbe=_[_0x1cd3('0x442')](_0x250490[_0x1cd3('0x15fd')],{'id':Number(_0x250490[_0x1cd3('0x2421')][_0x1cd3('0x3db')])});}for(var _0x253afb=0x0;_0x253afb<_0x250490[_0x1cd3('0x15fd')]['length'];_0x253afb++){if(_0x12abbe&&_0x250490['chatAccounts'][_0x253afb]['id']===_0x12abbe['id']){_0x250490[_0x1cd3('0x15fd')][_0x253afb][_0x1cd3('0xf4a')]=![];_0x424e5c['push'](_0x250490['chatAccounts'][_0x253afb]);}}_0x250490[_0x1cd3('0x15fd')]=_0x424e5c;}else{if(!_0x360338[_0x1cd3('0x391')]){return _0x185e85[_0x1cd3('0x392')]['get']({'sectionId':_0x360338['id']})['$promise'][_0x1cd3('0x77')](function(_0x3635b6){var _0x27db72=_[_0x1cd3('0x3d9')](_0x3635b6['rows'],function(_0x291d43){return _[_0x1cd3('0x442')](_0x250490['chatAccounts'],{'id':_0x291d43[_0x1cd3('0xe8e')]});});var _0x37e9d4=null;if(_0x250490[_0x1cd3('0x2421')]){_0x37e9d4=_[_0x1cd3('0x442')](_0x250490[_0x1cd3('0x15fd')],{'id':Number(_0x250490[_0x1cd3('0x2421')][_0x1cd3('0x3db')])});}if(_0x37e9d4&&!_[_0x1cd3('0x38d')](_0x27db72,['id',_0x37e9d4['id']])){var _0x3837dc=_[_0x1cd3('0x442')](_0x250490[_0x1cd3('0x15fd')],{'id':_0x37e9d4['id']});_0x3837dc[_0x1cd3('0xf4a')]=![];_0x27db72[_0x1cd3('0x7b')](_0x3837dc);}_0x250490['chatAccounts']=_0x27db72;});}}})[_0x1cd3('0xfd')](function(_0x236afe){_0xf70847[_0x1cd3('0x434')]({'title':_0x236afe[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x236afe[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x236afe[_0x1cd3('0xd35')]:'SYSTEM:GETchatAccounts','msg':_0x236afe['data']?JSON['stringify'](_0x236afe[_0x1cd3('0x439')]):_0x236afe[_0x1cd3('0x43b')]()});});_0x1701c9[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x185e85[_0x1cd3('0xa7a')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':'id','nolimit':'true'})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x38925c){_0x250490[_0x1cd3('0xefa')]=_0x38925c[_0x1cd3('0xf6')]||[];})['catch'](function(_0x5e5415){_0xf70847['error']({'title':_0x5e5415['status']?_0x1cd3('0x435')+_0x5e5415[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x5e5415['statusText']:_0x1cd3('0x22e3'),'msg':_0x5e5415[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x5e5415[_0x1cd3('0x439')]):_0x5e5415[_0x1cd3('0x43b')]()});}):_0x185e85[_0x1cd3('0xa7a')]['get']({'fields':_0x1cd3('0xa6'),'sort':'id','nolimit':'true'})['$promise'][_0x1cd3('0x77')](function(_0x5e9dfe){_0x250490[_0x1cd3('0xefa')]=_0x5e9dfe[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x185e85[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x250490[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x25a})[_0x1cd3('0x81')];})['then'](function(_0x3232ef){var _0x1636ca=_0x3232ef&&_0x3232ef['rows']?_0x3232ef[_0x1cd3('0xf6')][0x0]:null;if(!_0x1636ca){var _0x39bcb0=[];var _0x4e3002=null;if(_0x250490[_0x1cd3('0x2421')]){_0x4e3002=_[_0x1cd3('0x442')](_0x250490[_0x1cd3('0xefa')],{'id':Number(_0x250490[_0x1cd3('0x2421')][_0x1cd3('0x3db')])});}for(var _0x284844=0x0;_0x284844<_0x250490[_0x1cd3('0xefa')][_0x1cd3('0x7a')];_0x284844++){if(_0x4e3002&&_0x250490[_0x1cd3('0xefa')][_0x284844]['id']===_0x4e3002['id']){_0x250490[_0x1cd3('0xefa')][_0x284844][_0x1cd3('0xf4a')]=![];_0x39bcb0[_0x1cd3('0x7b')](_0x250490[_0x1cd3('0xefa')][_0x284844]);}}_0x250490[_0x1cd3('0xefa')]=_0x39bcb0;}else{if(!_0x1636ca[_0x1cd3('0x391')]){return _0x185e85['userProfileResource'][_0x1cd3('0x361')]({'sectionId':_0x1636ca['id']})['$promise']['then'](function(_0x49f8fb){var _0x5af5be=_[_0x1cd3('0x3d9')](_0x49f8fb[_0x1cd3('0xf6')],function(_0x432c6e){return _[_0x1cd3('0x442')](_0x250490[_0x1cd3('0xefa')],{'id':_0x432c6e['resourceId']});});var _0x458a12=null;if(_0x250490[_0x1cd3('0x2421')]){_0x458a12=_['find'](_0x250490[_0x1cd3('0xefa')],{'id':Number(_0x250490[_0x1cd3('0x2421')]['value'])});}if(_0x458a12&&!_[_0x1cd3('0x38d')](_0x5af5be,['id',_0x458a12['id']])){var _0x2e8fb9=_[_0x1cd3('0x442')](_0x250490[_0x1cd3('0xefa')],{'id':_0x458a12['id']});_0x2e8fb9['canSelect']=![];_0x5af5be[_0x1cd3('0x7b')](_0x2e8fb9);}_0x250490[_0x1cd3('0xefa')]=_0x5af5be;});}}})[_0x1cd3('0xfd')](function(_0x17b72f){_0xf70847[_0x1cd3('0x434')]({'title':_0x17b72f[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x17b72f[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x17b72f['statusText']:'SYSTEM:GETmailAccounts','msg':_0x17b72f['data']?JSON[_0x1cd3('0x438')](_0x17b72f[_0x1cd3('0x439')]):_0x17b72f['toString']()});});_0x1701c9[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x185e85[_0x1cd3('0xac5')][_0x1cd3('0x361')]({'fields':'id,name','sort':'id','nolimit':_0x1cd3('0x2e0')})['$promise'][_0x1cd3('0x77')](function(_0x38eb24){_0x250490[_0x1cd3('0xefe')]=_0x38eb24[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x13358d){_0xf70847[_0x1cd3('0x434')]({'title':_0x13358d[_0x1cd3('0x3a6')]?'API:'+_0x13358d[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x13358d[_0x1cd3('0xd35')]:_0x1cd3('0x23f4'),'msg':_0x13358d[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x13358d[_0x1cd3('0x439')]):_0x13358d['toString']()});}):_0x185e85['smsAccount'][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':'id','nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x2424b0){_0x250490[_0x1cd3('0xefe')]=_0x2424b0[_0x1cd3('0xf6')]||[];})['then'](function(){return _0x185e85[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x250490[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x2be})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x4eb111){var _0x26a1f0=_0x4eb111&&_0x4eb111['rows']?_0x4eb111['rows'][0x0]:null;if(!_0x26a1f0){var _0x547b2a=[];var _0x5ee0b8=null;if(_0x250490[_0x1cd3('0x2421')]){_0x5ee0b8=_[_0x1cd3('0x442')](_0x250490['smsAccounts'],{'id':Number(_0x250490[_0x1cd3('0x2421')]['value'])});}for(var _0x3bbcc0=0x0;_0x3bbcc0<_0x250490['smsAccounts']['length'];_0x3bbcc0++){if(_0x5ee0b8&&_0x250490[_0x1cd3('0xefe')][_0x3bbcc0]['id']===_0x5ee0b8['id']){_0x250490[_0x1cd3('0xefe')][_0x3bbcc0][_0x1cd3('0xf4a')]=![];_0x547b2a['push'](_0x250490[_0x1cd3('0xefe')][_0x3bbcc0]);}}_0x250490[_0x1cd3('0xefe')]=_0x547b2a;}else{if(!_0x26a1f0[_0x1cd3('0x391')]){return _0x185e85['userProfileResource'][_0x1cd3('0x361')]({'sectionId':_0x26a1f0['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x495b77){var _0x329fdb=_['map'](_0x495b77['rows'],function(_0x3b53a3){return _[_0x1cd3('0x442')](_0x250490[_0x1cd3('0xefe')],{'id':_0x3b53a3['resourceId']});});var _0x4f94f7=null;if(_0x250490[_0x1cd3('0x2421')]){_0x4f94f7=_['find'](_0x250490[_0x1cd3('0xefe')],{'id':Number(_0x250490[_0x1cd3('0x2421')][_0x1cd3('0x3db')])});}if(_0x4f94f7&&!_[_0x1cd3('0x38d')](_0x329fdb,['id',_0x4f94f7['id']])){var _0x371edb=_[_0x1cd3('0x442')](_0x250490[_0x1cd3('0xefe')],{'id':_0x4f94f7['id']});_0x371edb[_0x1cd3('0xf4a')]=![];_0x329fdb['push'](_0x371edb);}_0x250490[_0x1cd3('0xefe')]=_0x329fdb;});}}})[_0x1cd3('0xfd')](function(_0x37a560){_0xf70847[_0x1cd3('0x434')]({'title':_0x37a560['status']?_0x1cd3('0x435')+_0x37a560['status']+_0x1cd3('0x436')+_0x37a560[_0x1cd3('0xd35')]:_0x1cd3('0x240c'),'msg':_0x37a560[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x37a560[_0x1cd3('0x439')]):_0x37a560[_0x1cd3('0x43b')]()});});_0x1701c9[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x185e85[_0x1cd3('0xaa4')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':'id','nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x80b12a){_0x250490['faxAccounts']=_0x80b12a[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x200256){_0xf70847[_0x1cd3('0x434')]({'title':_0x200256[_0x1cd3('0x3a6')]?'API:'+_0x200256[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x200256[_0x1cd3('0xd35')]:'SYSTEM:GET_FAXACCOUNTS','msg':_0x200256[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x200256[_0x1cd3('0x439')]):_0x200256[_0x1cd3('0x43b')]()});}):_0x185e85[_0x1cd3('0xaa4')]['get']({'fields':_0x1cd3('0xa6'),'sort':'id','nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')]['then'](function(_0x4afd97){_0x250490[_0x1cd3('0x15fa')]=_0x4afd97[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x185e85[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x250490['currentUser'][_0x1cd3('0x5e')],'sectionId':0x386})['$promise'];})[_0x1cd3('0x77')](function(_0x50938e){var _0x331c4a=_0x50938e&&_0x50938e[_0x1cd3('0xf6')]?_0x50938e[_0x1cd3('0xf6')][0x0]:null;if(!_0x331c4a){var _0x4642df=[];var _0x4abd30=null;if(_0x250490[_0x1cd3('0x2421')]){_0x4abd30=_[_0x1cd3('0x442')](_0x250490[_0x1cd3('0x15fa')],{'id':Number(_0x250490['anyCondition'][_0x1cd3('0x3db')])});}for(var _0x3e1361=0x0;_0x3e1361<_0x250490[_0x1cd3('0x15fa')][_0x1cd3('0x7a')];_0x3e1361++){if(_0x4abd30&&_0x250490[_0x1cd3('0x15fa')][_0x3e1361]['id']===_0x4abd30['id']){_0x250490[_0x1cd3('0x15fa')][_0x3e1361][_0x1cd3('0xf4a')]=![];_0x4642df[_0x1cd3('0x7b')](_0x250490[_0x1cd3('0x15fa')][_0x3e1361]);}}_0x250490['faxAccounts']=_0x4642df;}else{if(!_0x331c4a[_0x1cd3('0x391')]){return _0x185e85[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x331c4a['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x2d7965){var _0x1f5e18=_[_0x1cd3('0x3d9')](_0x2d7965[_0x1cd3('0xf6')],function(_0x286520){return _[_0x1cd3('0x442')](_0x250490['faxAccounts'],{'id':_0x286520['resourceId']});});var _0x2a916c=null;if(_0x250490[_0x1cd3('0x2421')]){_0x2a916c=_['find'](_0x250490[_0x1cd3('0x15fa')],{'id':Number(_0x250490['anyCondition']['value'])});}if(_0x2a916c&&!_[_0x1cd3('0x38d')](_0x1f5e18,['id',_0x2a916c['id']])){var _0x5551ac=_['find'](_0x250490[_0x1cd3('0x15fa')],{'id':_0x2a916c['id']});_0x5551ac[_0x1cd3('0xf4a')]=![];_0x1f5e18['push'](_0x5551ac);}_0x250490[_0x1cd3('0x15fa')]=_0x1f5e18;});}}})[_0x1cd3('0xfd')](function(_0x4839da){_0xf70847[_0x1cd3('0x434')]({'title':_0x4839da[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x4839da['status']+_0x1cd3('0x436')+_0x4839da[_0x1cd3('0xd35')]:'SYSTEM:GETfaxAccounts','msg':_0x4839da[_0x1cd3('0x439')]?JSON['stringify'](_0x4839da[_0x1cd3('0x439')]):_0x4839da['toString']()});});_0x1701c9['hasRole'](_0x1cd3('0x5f'))?_0x185e85['openchannelAccount'][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':'id','nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x4be794){_0x250490[_0x1cd3('0x15fb')]=_0x4be794['rows']||[];})[_0x1cd3('0xfd')](function(_0x2929bb){_0xf70847[_0x1cd3('0x434')]({'title':_0x2929bb[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x2929bb[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x2929bb['statusText']:_0x1cd3('0x23f8'),'msg':_0x2929bb['data']?JSON[_0x1cd3('0x438')](_0x2929bb[_0x1cd3('0x439')]):_0x2929bb[_0x1cd3('0x43b')]()});}):_0x185e85[_0x1cd3('0xae5')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':'id','nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x1e4dd6){_0x250490[_0x1cd3('0x15fb')]=_0x1e4dd6[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x185e85[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x250490[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x322})['$promise'];})['then'](function(_0x51fbae){var _0xe140cf=_0x51fbae&&_0x51fbae[_0x1cd3('0xf6')]?_0x51fbae[_0x1cd3('0xf6')][0x0]:null;if(!_0xe140cf){var _0x355ab9=[];var _0x44051b=null;if(_0x250490[_0x1cd3('0x2421')]){_0x44051b=_[_0x1cd3('0x442')](_0x250490[_0x1cd3('0x15fb')],{'id':Number(_0x250490[_0x1cd3('0x2421')]['value'])});}for(var _0xab8034=0x0;_0xab8034<_0x250490['openchannelAccounts'][_0x1cd3('0x7a')];_0xab8034++){if(_0x44051b&&_0x250490[_0x1cd3('0x15fb')][_0xab8034]['id']===_0x44051b['id']){_0x250490[_0x1cd3('0x15fb')][_0xab8034][_0x1cd3('0xf4a')]=![];_0x355ab9['push'](_0x250490[_0x1cd3('0x15fb')][_0xab8034]);}}_0x250490[_0x1cd3('0x15fb')]=_0x355ab9;}else{if(!_0xe140cf['autoAssociation']){return _0x185e85[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0xe140cf['id']})['$promise'][_0x1cd3('0x77')](function(_0x84ac7b){var _0x434ca5=_[_0x1cd3('0x3d9')](_0x84ac7b[_0x1cd3('0xf6')],function(_0x45509d){return _[_0x1cd3('0x442')](_0x250490[_0x1cd3('0x15fb')],{'id':_0x45509d[_0x1cd3('0xe8e')]});});var _0x576b59=null;if(_0x250490[_0x1cd3('0x2421')]){_0x576b59=_[_0x1cd3('0x442')](_0x250490[_0x1cd3('0x15fb')],{'id':Number(_0x250490[_0x1cd3('0x2421')][_0x1cd3('0x3db')])});}if(_0x576b59&&!_[_0x1cd3('0x38d')](_0x434ca5,['id',_0x576b59['id']])){var _0x5314d9=_[_0x1cd3('0x442')](_0x250490[_0x1cd3('0x15fb')],{'id':_0x576b59['id']});_0x5314d9['canSelect']=![];_0x434ca5[_0x1cd3('0x7b')](_0x5314d9);}_0x250490[_0x1cd3('0x15fb')]=_0x434ca5;});}}})[_0x1cd3('0xfd')](function(_0x4f88c5){_0xf70847[_0x1cd3('0x434')]({'title':_0x4f88c5[_0x1cd3('0x3a6')]?'API:'+_0x4f88c5[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x4f88c5[_0x1cd3('0xd35')]:_0x1cd3('0x23f9'),'msg':_0x4f88c5[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x4f88c5[_0x1cd3('0x439')]):_0x4f88c5[_0x1cd3('0x43b')]()});});var _0x5bfe03=[{'id':0x191,'type':_0x1cd3('0xa4')},{'id':0x5dd,'type':_0x1cd3('0x128')}];var _0x381558=null;_0x1701c9[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x185e85[_0x1cd3('0xa48')][_0x1cd3('0x361')]({'fields':_0x1cd3('0x1222'),'sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x5e029a){_0x250490[_0x1cd3('0x1155')]=_0x5e029a[_0x1cd3('0xf6')]||[];})['catch'](function(_0x5edd89){_0xf70847['error']({'title':_0x5edd89['status']?_0x1cd3('0x435')+_0x5edd89[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x5edd89[_0x1cd3('0xd35')]:'SYSTEM:GET_QUEUES','msg':_0x5edd89[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x5edd89[_0x1cd3('0x439')]):_0x5edd89[_0x1cd3('0x43b')]()});}):_0x185e85[_0x1cd3('0xa48')]['get']({'fields':_0x1cd3('0x1222'),'sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x16c0c4){_0x381558=_0x16c0c4[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){var _0x272850=[];for(var _0x315971=0x0;_0x315971<_0x5bfe03[_0x1cd3('0x7a')];_0x315971++){_0x272850[_0x1cd3('0x7b')](_0x185e85[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x250490[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':_0x5bfe03[_0x315971]['id']})[_0x1cd3('0x81')]);}return _0x303940[_0x1cd3('0x7e')](_0x272850);})['then'](function(_0x25801f){var _0x479ead=_[_0x1cd3('0x3d9')](_0x25801f,function(_0x3ce3c6){return _0x3ce3c6&&_0x3ce3c6[_0x1cd3('0xf6')]?_0x3ce3c6[_0x1cd3('0xf6')][0x0]:null;});var _0x453018=[];for(var _0x18421a=0x0;_0x18421a<_0x5bfe03[_0x1cd3('0x7a')];_0x18421a++){var _0x33a805=_['find'](_0x479ead,['sectionId',_0x5bfe03[_0x18421a]['id']]);if(_0x33a805){if(!_0x33a805[_0x1cd3('0x391')]){_0x453018['push'](_0x185e85['userProfileResource'][_0x1cd3('0x361')]({'sectionId':_0x33a805['id']})['$promise']);}else{var _0xf645ee=[];_0x381558[_0x1cd3('0x394')](function(_0x5eb248){if(_0x5eb248[_0x1cd3('0x424')]===_0x5bfe03[_0x18421a][_0x1cd3('0x424')]){_0xf645ee['push'](_0x5eb248);}});_0x453018[_0x1cd3('0x7b')]({'rows':_0xf645ee,'count':_0xf645ee[_0x1cd3('0x7a')]});}}}return _0x303940[_0x1cd3('0x7e')](_0x453018);})[_0x1cd3('0x77')](function(_0x117c81){var _0x249451=[];var _0x475eb6=null;if(_0x250490['anyCondition']){_0x475eb6=_[_0x1cd3('0x442')](_0x381558,{'name':_0x250490['anyCondition']['value']});}for(var _0x5c0487=0x0;_0x5c0487<_0x117c81['length'];_0x5c0487++){var _0x4359cc=_0x117c81[_0x5c0487][_0x1cd3('0xf6')]||[];_0x4359cc['forEach'](function(_0xe988a1){_0x249451[_0x1cd3('0x7b')](_0xe988a1);});}if(_0x475eb6&&!_[_0x1cd3('0x38d')](_0x249451,[_0x1cd3('0xe8e'),_0x475eb6['id']])){_0x381558['forEach'](function(_0x509853){if(_0x509853['id']===_0x475eb6['id']){_0x509853[_0x1cd3('0xf4a')]=![];_0x249451[_0x1cd3('0x7b')](_0x509853);}});}_0x250490[_0x1cd3('0x1155')]=_0x249451;})[_0x1cd3('0xfd')](function(_0x223d93){_0xf70847['error']({'title':_0x223d93[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x223d93['status']+_0x1cd3('0x436')+_0x223d93[_0x1cd3('0xd35')]:_0x1cd3('0x12b0'),'msg':_0x223d93[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x223d93[_0x1cd3('0x439')]):_0x223d93[_0x1cd3('0x43b')]()});});_0x1701c9[_0x1cd3('0x57')]('admin')?_0x185e85[_0x1cd3('0xa40')]['get']({'fields':'id,exten','type':_0x1cd3('0x128'),'VoiceExtensionId':_0x1cd3('0x220'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x97f767){_0x250490[_0x1cd3('0x23fb')]=_0x97f767[_0x1cd3('0xf6')]||[];})['catch'](function(_0x10a42e){_0xf70847['error']({'title':_0x10a42e['status']?_0x1cd3('0x435')+_0x10a42e[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x10a42e[_0x1cd3('0xd35')]:'SYSTEM:GET_OUTBOUNDROUTES','msg':_0x10a42e[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x10a42e[_0x1cd3('0x439')]):_0x10a42e[_0x1cd3('0x43b')]()});}):_0x185e85[_0x1cd3('0xa40')][_0x1cd3('0x361')]({'fields':'id,exten','type':'outbound','VoiceExtensionId':'null','nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')]['then'](function(_0x56b9bc){_0x250490['outboundRoutes']=_0x56b9bc[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x185e85['userProfileSection'][_0x1cd3('0x361')]({'userProfileId':_0x250490[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x193})['$promise'];})[_0x1cd3('0x77')](function(_0x44a623){var _0x541552=_0x44a623&&_0x44a623[_0x1cd3('0xf6')]?_0x44a623[_0x1cd3('0xf6')][0x0]:null;if(!_0x541552){var _0x47567c=[];var _0x26ee21=null;if(_0x250490['anyCondition']){_0x26ee21=_['find'](_0x250490['outboundRoutes'],{'id':Number(_0x250490['anyCondition']['value'])});}for(var _0xf90f8c=0x0;_0xf90f8c<_0x250490[_0x1cd3('0x23fb')]['length'];_0xf90f8c++){if(_0x26ee21&&_0x250490[_0x1cd3('0x23fb')][_0xf90f8c]['id']===_0x26ee21['id']){_0x250490[_0x1cd3('0x23fb')][_0xf90f8c][_0x1cd3('0xf4a')]=![];_0x47567c[_0x1cd3('0x7b')](_0x250490[_0x1cd3('0x23fb')][_0xf90f8c]);}}_0x250490['outboundRoutes']=_0x47567c;}else{if(!_0x541552['autoAssociation']){return _0x185e85[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x541552['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x319e14){var _0x366db3=_['map'](_0x319e14[_0x1cd3('0xf6')],function(_0x1faae9){return _[_0x1cd3('0x442')](_0x250490['outboundRoutes'],{'id':_0x1faae9[_0x1cd3('0xe8e')]});});var _0x4f6cbd=null;if(_0x250490[_0x1cd3('0x2421')]){_0x4f6cbd=_['find'](_0x250490[_0x1cd3('0x23fb')],{'id':Number(_0x250490['anyCondition'][_0x1cd3('0x3db')])});}if(_0x4f6cbd&&!_[_0x1cd3('0x38d')](_0x366db3,['id',_0x4f6cbd['id']])){var _0x348939=_['find'](_0x250490['outboundRoutes'],{'id':_0x4f6cbd['id']});_0x348939[_0x1cd3('0xf4a')]=![];_0x366db3[_0x1cd3('0x7b')](_0x348939);}_0x250490['outboundRoutes']=_0x366db3;});}}})[_0x1cd3('0xfd')](function(_0x585956){_0xf70847['error']({'title':_0x585956[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x585956[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x585956[_0x1cd3('0xd35')]:'SYSTEM:GEToutboundRoutes','msg':_0x585956[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x585956[_0x1cd3('0x439')]):_0x585956[_0x1cd3('0x43b')]()});});_0x1701c9[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x185e85[_0x1cd3('0x368')][_0x1cd3('0x361')]({'fields':_0x1cd3('0x132b'),'sort':_0x1cd3('0x98'),'role':'agent','nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x211195){_0x250490[_0x1cd3('0x1228')]=_0x211195['rows']||[];})[_0x1cd3('0xfd')](function(_0x46d0dc){_0xf70847[_0x1cd3('0x434')]({'title':_0x46d0dc['status']?_0x1cd3('0x435')+_0x46d0dc[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x46d0dc['statusText']:_0x1cd3('0x11bf'),'msg':_0x46d0dc[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x46d0dc['data']):_0x46d0dc[_0x1cd3('0x43b')]()});}):_0x185e85[_0x1cd3('0x368')]['get']({'fields':'id,name,fullname','sort':_0x1cd3('0x98'),'role':'agent','nolimit':_0x1cd3('0x2e0')})['$promise']['then'](function(_0x1f8539){_0x250490[_0x1cd3('0x1228')]=_0x1f8539['rows']||[];})['then'](function(){return _0x185e85[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x250490[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0xca})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x49f158){var _0x59df56=_0x49f158&&_0x49f158['rows']?_0x49f158['rows'][0x0]:null;if(!_0x59df56){var _0x1ee60f=[];var _0x3b4fa1=null;if(_0x250490[_0x1cd3('0x2421')]){_0x3b4fa1=_[_0x1cd3('0x442')](_0x250490[_0x1cd3('0x1228')],{'name':_0x250490['anyCondition'][_0x1cd3('0x3db')]});}for(var _0x3ef16f=0x0;_0x3ef16f<_0x250490[_0x1cd3('0x1228')][_0x1cd3('0x7a')];_0x3ef16f++){if(_0x3b4fa1&&_0x250490[_0x1cd3('0x1228')][_0x3ef16f]['id']===_0x3b4fa1['id']){_0x250490[_0x1cd3('0x1228')][_0x3ef16f]['canSelect']=![];_0x1ee60f[_0x1cd3('0x7b')](_0x250490[_0x1cd3('0x1228')][_0x3ef16f]);}}_0x250490[_0x1cd3('0x1228')]=_0x1ee60f;}else{if(!_0x59df56[_0x1cd3('0x391')]){return _0x185e85[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x59df56['id']})['$promise'][_0x1cd3('0x77')](function(_0x7cb82){var _0x504a4f=_[_0x1cd3('0x3d9')](_0x7cb82[_0x1cd3('0xf6')],function(_0x5cb035){return _[_0x1cd3('0x442')](_0x250490[_0x1cd3('0x1228')],{'id':_0x5cb035[_0x1cd3('0xe8e')]});});var _0x2f937a=null;if(_0x250490[_0x1cd3('0x2421')]){_0x2f937a=_[_0x1cd3('0x442')](_0x250490[_0x1cd3('0x1228')],{'name':_0x250490[_0x1cd3('0x2421')][_0x1cd3('0x3db')]});}if(_0x2f937a&&!_[_0x1cd3('0x38d')](_0x504a4f,['id',_0x2f937a['id']])){var _0x272502=_[_0x1cd3('0x442')](_0x250490[_0x1cd3('0x1228')],{'id':_0x2f937a['id']});_0x272502[_0x1cd3('0xf4a')]=![];_0x504a4f['push'](_0x272502);}_0x250490[_0x1cd3('0x1228')]=_0x504a4f;});}}})[_0x1cd3('0xfd')](function(_0x1537ec){_0xf70847[_0x1cd3('0x434')]({'title':_0x1537ec[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x1537ec[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x1537ec[_0x1cd3('0xd35')]:_0x1cd3('0x1282'),'msg':_0x1537ec[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x1537ec[_0x1cd3('0x439')]):_0x1537ec[_0x1cd3('0x43b')]()});});function _0x59a6c7(){_0x250490[_0x1cd3('0xd34')]=[];_0x185e85[_0x1cd3('0xb7e')][_0x1cd3('0x242c')]({'id':_0x1315a5['params']['id']},_0x250490[_0x1cd3('0x2421')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x4e4546){_0x250490[_0x1cd3('0x2427')][_0x1cd3('0x621')](_0x4e4546['toJSON']());_0xf70847[_0x1cd3('0x473')]({'title':_0x1cd3('0x242d'),'msg':_0x250490['anyCondition'][_0x1cd3('0x98')]?_0x250490[_0x1cd3('0x2421')][_0x1cd3('0x98')]+_0x1cd3('0xd33'):''});_0x5872b1(_0x4e4546);})['catch'](function(_0x3a7687){if(_0x3a7687[_0x1cd3('0x439')]&&_0x3a7687[_0x1cd3('0x439')]['errors']&&_0x3a7687[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x250490['errors']=_0x3a7687[_0x1cd3('0x439')]['errors']||[{'message':_0x3a7687[_0x1cd3('0x43b')](),'type':_0x1cd3('0x2410')}];for(var _0x120013=0x0;_0x120013<_0x3a7687[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x120013+=0x1){_0xf70847['error']({'title':_0x3a7687[_0x1cd3('0x439')]['errors'][_0x120013]['type'],'msg':_0x3a7687[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x120013]['message']});}}else{_0xf70847[_0x1cd3('0x434')]({'title':_0x3a7687['status']?_0x1cd3('0x435')+_0x3a7687['status']+_0x1cd3('0x436')+_0x3a7687[_0x1cd3('0xd35')]:_0x1cd3('0x2410'),'msg':_0x3a7687[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x3a7687[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x3a7687[_0x1cd3('0x43b')]()});}});}function _0x573e6f(){_0x250490['errors']=[];_0x185e85[_0x1cd3('0xb65')]['update']({'id':_0x250490['anyCondition']['id']},_0x250490[_0x1cd3('0x2421')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x464044){var _0x5647de=_[_0x1cd3('0x442')](_0x250490[_0x1cd3('0x2427')],{'id':_0x464044['id']});if(_0x5647de){_[_0x1cd3('0xf2')](_0x5647de,_[_0x1cd3('0x5e8')](_0x464044[_0x1cd3('0xd32')](),_[_0x1cd3('0x80')](_0x5647de)));}_0xf70847['success']({'title':_0x1cd3('0x242e'),'msg':_0x250490[_0x1cd3('0x2421')][_0x1cd3('0x98')]?_0x250490[_0x1cd3('0x2421')][_0x1cd3('0x98')]+_0x1cd3('0xd37'):''});_0x5872b1(_0x464044);})[_0x1cd3('0xfd')](function(_0x53b219){if(_0x53b219[_0x1cd3('0x439')]&&_0x53b219[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x53b219[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x250490['errors']=_0x53b219[_0x1cd3('0x439')]['errors']||[{'message':_0x53b219[_0x1cd3('0x43b')](),'type':'api.condition.update'}];for(var _0x47c802=0x0;_0x47c802<_0x53b219[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x47c802++){_0xf70847['error']({'title':_0x53b219[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x47c802][_0x1cd3('0x424')],'msg':_0x53b219[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x47c802][_0x1cd3('0x43a')]});}}else{_0xf70847[_0x1cd3('0x434')]({'title':_0x53b219[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x53b219[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x53b219[_0x1cd3('0xd35')]:_0x1cd3('0x2411'),'msg':_0x53b219[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x53b219[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x53b219[_0x1cd3('0x43b')]()});}});}function _0x45dd47(_0x2d2f6a){_0x250490[_0x1cd3('0xd34')]=[];var _0x3288ba=_0x6f7e05[_0x1cd3('0xd39')]()[_0x1cd3('0x486')]('Are\x20you\x20sure?')[_0x1cd3('0xd3b')](_0x1cd3('0x242f'))['ariaLabel'](_0x1cd3('0x2430'))['ok'](_0x1cd3('0xd3f'))[_0x1cd3('0x4d8')](_0x1cd3('0x674'))[_0x1cd3('0xd63')](_0x2d2f6a);_0x6f7e05[_0x1cd3('0x37e')](_0x3288ba)[_0x1cd3('0x77')](function(){_0x185e85[_0x1cd3('0xb65')][_0x1cd3('0xa1c')]({'id':_0x250490[_0x1cd3('0x2421')]['id']})['$promise'][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x250490[_0x1cd3('0x2427')],{'id':_0x250490[_0x1cd3('0x2421')]['id']});_0xf70847[_0x1cd3('0x473')]({'title':_0x1cd3('0x2431'),'msg':(_0x250490['anyCondition'][_0x1cd3('0x98')]||_0x1cd3('0x2421'))+_0x1cd3('0xd41')});_0x5872b1(_0x250490[_0x1cd3('0x2421')]);})['catch'](function(_0x5671f5){if(_0x5671f5['data']&&_0x5671f5[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x5671f5[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x250490[_0x1cd3('0xd34')]=_0x5671f5[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x5671f5[_0x1cd3('0x43b')](),'type':'api.condition.delete'}];for(var _0x2375a7=0x0;_0x2375a7<_0x5671f5['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x2375a7++){_0xf70847['error']({'title':_0x5671f5[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x2375a7][_0x1cd3('0x424')],'msg':_0x5671f5['data'][_0x1cd3('0xd34')][_0x2375a7][_0x1cd3('0x43a')]});}}else{_0xf70847[_0x1cd3('0x434')]({'title':_0x5671f5[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x5671f5[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x5671f5[_0x1cd3('0xd35')]:_0x1cd3('0x2432'),'msg':_0x5671f5[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x5671f5[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x5671f5[_0x1cd3('0x43a')]||_0x5671f5['toString']()});}});},function(){});}function _0x5c9cc3(_0x2a652e){return _0x2a652e===null?undefined:new Date(_0x2a652e);}function _0x5872b1(_0x2ce82d){_0x6f7e05[_0x1cd3('0x39d')](_0x2ce82d);}}}());(function(){'use strict';_0x1df700[_0x1cd3('0xc')]=[_0x1cd3('0x53e'),_0x1cd3('0xd24'),'$mdDialog',_0x1cd3('0x372'),'$translate','license',_0x1cd3('0xc49'),_0x1cd3('0x370'),_0x1cd3('0x461'),_0x1cd3('0x56'),'trigger',_0x1cd3('0x390')];angular[_0x1cd3('0x0')](_0x1cd3('0x33'))[_0x1cd3('0x39b')]('TriggerController',_0x1df700);function _0x1df700(_0x3994e7,_0x16442d,_0x3c7060,_0x3fce32,_0x124279,_0x1e9178,_0x17d09c,_0x237718,_0x449d45,_0x59e4c6,_0x4b9f1f,_0x2ea0f7){var _0x1e7cdd=this;_0x1e7cdd[_0x1cd3('0x3ca')]=_0x59e4c6[_0x1cd3('0x5d')]();_0x1e7cdd[_0x1cd3('0x463')]=_0x1e9178;_0x1e7cdd['setting']=_0x17d09c;_0x1e7cdd[_0x1cd3('0xd29')]=_0x1e7cdd[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x1e7cdd[_0x1cd3('0xd22')]=_0x16442d[_0x1cd3('0x3b0')]()+_0x1cd3('0x11cf')+_0x16442d[_0x1cd3('0x3ac')]();_0x1e7cdd[_0x1cd3('0xb7e')]=_0x4b9f1f||_0x3994e7[_0x1cd3('0x36a')][_0x1cd3('0xb7e')]||{};_0x1e7cdd[_0x1cd3('0x390')]=_0x2ea0f7&&_0x2ea0f7[_0x1cd3('0x466')]==0x1?_0x2ea0f7[_0x1cd3('0xf6')][0x0]:null;_0x1e7cdd[_0x1cd3('0xd27')]=_0x59e4c6['parseCrudPermissions'](_0x1e7cdd['userProfileSection']?_0x1e7cdd[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);_0x1e7cdd['hasModulePermissions']={};_0x1e7cdd[_0x1cd3('0xe5f')]=_0x3994e7[_0x1cd3('0x36a')][_0x1cd3('0x1418')]||0x0;_0x1e7cdd[_0x1cd3('0x11d0')]=_0x449d45[_0x1cd3('0x654')];_0x1e7cdd['gotoTriggers']=_0x1c5270;_0x1e7cdd[_0x1cd3('0x2344')]=_0x256a69;function _0x1c5270(){_0x3994e7['go'](_0x1cd3('0x2c5'),{},{'reload':'app.tools.triggers'});}function _0x256a69(){_0x237718[_0x1cd3('0xb7e')][_0x1cd3('0x378')]({'id':_0x1e7cdd[_0x1cd3('0xb7e')]['id']},_0x1e7cdd[_0x1cd3('0xb7e')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x449d45[_0x1cd3('0x473')]({'title':_0x1cd3('0x2433'),'msg':_0x1e7cdd[_0x1cd3('0xb7e')][_0x1cd3('0x98')]?_0x1e7cdd[_0x1cd3('0xb7e')][_0x1cd3('0x98')]+_0x1cd3('0xe65'):''});})[_0x1cd3('0xfd')](function(_0x37b0f6){_0x449d45[_0x1cd3('0x434')]({'title':_0x37b0f6['status']?'API:'+_0x37b0f6[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x37b0f6[_0x1cd3('0xd35')]:'SYSTEM:GETtrigger','msg':_0x37b0f6[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x37b0f6[_0x1cd3('0x439')]):_0x37b0f6[_0x1cd3('0x43b')]()});});}}}());(function(){'use strict';_0x6bdb9c[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x371'),_0x1cd3('0x53e'),_0x1cd3('0x969'),'$mdDialog','$document',_0x1cd3('0x3e7'),_0x1cd3('0x3f7'),'triggers',_0x1cd3('0x38a'),_0x1cd3('0x390'),_0x1cd3('0x370'),_0x1cd3('0x2dd'),_0x1cd3('0x461'),_0x1cd3('0x56'),_0x1cd3('0x463'),_0x1cd3('0xc49')];angular[_0x1cd3('0x0')](_0x1cd3('0x33'))[_0x1cd3('0x39b')]('TriggersController',_0x6bdb9c);function _0x6bdb9c(_0x2abedc,_0x17965e,_0x13dd1a,_0x5e125d,_0x3b505f,_0x23b753,_0x226e55,_0x4d8412,_0x5648b8,_0x5f18ce,_0x25f125,_0x1067ed,_0xfa156a,_0x483d9a,_0x4ae216,_0x252dce,_0x4418d6){var _0x48f218=this;_0x48f218['license']=_0x252dce;_0x48f218[_0x1cd3('0xc49')]=_0x4418d6;_0x48f218[_0x1cd3('0x3ca')]=_0x4ae216[_0x1cd3('0x5d')]();_0x48f218[_0x1cd3('0x233f')]=_0x5648b8||{'count':0x0,'rows':[]};_0x48f218[_0x1cd3('0x38a')]=_0x5f18ce;_0x48f218[_0x1cd3('0x390')]=_0x25f125&&_0x25f125[_0x1cd3('0x466')]==0x1?_0x25f125['rows'][0x0]:null;_0x48f218['crudPermissions']=_0x4ae216['parseCrudPermissions'](_0x48f218[_0x1cd3('0x390')]?_0x48f218[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);_0x48f218['table']=_0x1cd3('0x233f');_0x48f218['listOrder']='';_0x48f218[_0x1cd3('0xd47')]=null;_0x48f218[_0x1cd3('0x2434')]=[];_0x48f218[_0x1cd3('0x3d4')]={'fields':_0x1cd3('0x2c9'),'sort':_0x1cd3('0x5b'),'limit':0xa,'page':0x1};_0x48f218[_0x1cd3('0x2435')]=_[_0x1cd3('0xe2d')]([{'option':_0x1cd3('0x2436'),'value':'\x27voice\x27'},{'option':_0x1cd3('0x2437'),'value':_0x1cd3('0x2438'),'ngIf':'vm.license.openchannel'},{'option':_0x1cd3('0x2439'),'value':_0x1cd3('0x243a'),'ngIf':_0x1cd3('0x243b')},{'option':_0x1cd3('0x160b'),'value':_0x1cd3('0x243c'),'ngIf':'vm.license.mail'},{'option':_0x1cd3('0x243d'),'value':_0x1cd3('0x243e'),'ngIf':'vm.license.messaging'},{'option':_0x1cd3('0x243f'),'value':_0x1cd3('0x2440'),'ngIf':_0x1cd3('0x2441')},{'option':_0x1cd3('0x2442'),'value':_0x1cd3('0x2443'),'ngIf':_0x1cd3('0x2444')}],function(_0x568b0b){return _[_0x1cd3('0x3f1')](_0x568b0b[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x48f218[_0x1cd3('0x1171')]=_0x19a93b;_0x48f218[_0x1cd3('0xecc')]=_0x349f46;_0x48f218[_0x1cd3('0x473')]=_0x30628b;_0x48f218[_0x1cd3('0x2445')]=_0x1e7675;_0x48f218[_0x1cd3('0x2446')]=_0x4e0825;_0x48f218[_0x1cd3('0x2345')]=_0x1d41b1;_0x48f218[_0x1cd3('0x2447')]=_0x315ce6;_0x48f218[_0x1cd3('0x2448')]=_0x2f7773;_0x48f218[_0x1cd3('0x2449')]=_0x48d062;_0x48f218['selectAllTriggers']=_0x39aa3f;function _0x19a93b(_0x4a503d,_0x25ec10){_0x13dd1a['go'](_0x1cd3('0x2ca'),{'id':_0x4a503d['id'],'trigger':_0x4a503d,'crudPermissions':_0x48f218[_0x1cd3('0xd27')]});}function _0x349f46(_0x49671e,_0x3aa56e){var _0x1da04d=_0x3b505f[_0x1cd3('0xd39')]()['title']('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20'+_[_0x1cd3('0xd50')](_0x1cd3('0xb7e'))+'?')[_0x1cd3('0xd60')](_0x1cd3('0xd51')+(_0x49671e[_0x1cd3('0x98')]||'trigger')+_0x1cd3('0xd52')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x244a'))[_0x1cd3('0xd63')](_0x3aa56e)['ok']('OK')[_0x1cd3('0x4d8')]('CANCEL');_0x3b505f[_0x1cd3('0x37e')](_0x1da04d)[_0x1cd3('0x77')](function(){_0x1d41b1(_0x49671e);},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}var _0x2f9a51=!![];var _0x297cc8=0x1;_0x2abedc[_0x1cd3('0x4d6')]('vm.query.filter',function(_0x588a2,_0x4f391e){if(_0x2f9a51){_0x226e55(function(){_0x2f9a51=![];});}else{if(!_0x4f391e){_0x297cc8=_0x48f218[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0x588a2!==_0x4f391e){_0x48f218[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}if(!_0x588a2){_0x48f218[_0x1cd3('0x3d4')]['page']=_0x297cc8;}_0x48f218[_0x1cd3('0x2445')]();}});function _0x30628b(_0x50744e){_0x48f218[_0x1cd3('0x233f')]=_0x50744e||{'count':0x0,'rows':[]};}function _0x1e7675(){_0x48f218[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0x48f218['query'][_0x1cd3('0x8fd')]-0x1)*_0x48f218[_0x1cd3('0x3d4')]['limit'];if(_0x4ae216[_0x1cd3('0x57')](_0x1cd3('0x5f'))){_0x48f218['promise']=_0x1067ed[_0x1cd3('0xb7e')][_0x1cd3('0x361')](_0x48f218[_0x1cd3('0x3d4')],_0x30628b)[_0x1cd3('0x81')];}else{_0x48f218[_0x1cd3('0x3d4')]['id']=_0x48f218[_0x1cd3('0x38a')]['id'];_0x48f218['query']['section']=_0x1cd3('0x244b');_0x48f218['promise']=_0x1067ed['userProfile']['getResources'](_0x48f218['query'],_0x30628b)[_0x1cd3('0x81')];}}function _0x4e0825(_0x36ac3c,_0x534b6e){_0x3b505f['show']({'controller':'CreateOrEditTriggerDialogController','controllerAs':'vm','templateUrl':_0x1cd3('0x244c'),'parent':angular[_0x1cd3('0x37f')](_0x23b753[_0x1cd3('0x380')]),'targetEvent':_0x36ac3c,'clickOutsideToClose':!![],'locals':{'trigger':_0x534b6e,'triggers':_0x48f218[_0x1cd3('0x233f')][_0x1cd3('0xf6')],'license':_0x48f218[_0x1cd3('0x463')],'setting':_0x48f218[_0x1cd3('0xc49')],'crudPermissions':_0x48f218[_0x1cd3('0xd27')]}});}function _0x1d41b1(_0x3e4462){_0x1067ed[_0x1cd3('0xb7e')][_0x1cd3('0xa1c')]({'id':_0x3e4462['id']})['$promise']['then'](function(){_[_0x1cd3('0x383')](_0x48f218[_0x1cd3('0x233f')]['rows'],{'id':_0x3e4462['id']});_0x48f218[_0x1cd3('0x233f')]['count']-=0x1;if(!_0x48f218['triggers'][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){_0x48f218['getTriggers']();}_0x483d9a[_0x1cd3('0x473')]({'title':_[_0x1cd3('0xd50')](_0x1cd3('0x244d'))+_0x1cd3('0xd5c'),'msg':_0x3e4462[_0x1cd3('0x98')]?_0x3e4462[_0x1cd3('0x98')]+'\x20has\x20been\x20deleted!':''});})[_0x1cd3('0xfd')](function(_0x5d6b29){if(_0x5d6b29[_0x1cd3('0x439')]&&_0x5d6b29[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x5d6b29[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x48f218[_0x1cd3('0xd34')]=_0x5d6b29['data'][_0x1cd3('0xd34')]||[{'message':_0x5d6b29[_0x1cd3('0x43b')](),'type':_0x1cd3('0x244e')}];for(var _0x408802=0x0;_0x408802<_0x5d6b29[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x408802++){_0x483d9a[_0x1cd3('0x434')]({'title':_0x5d6b29['data'][_0x1cd3('0xd34')][_0x408802]['type'],'msg':_0x5d6b29['data']['errors'][_0x408802][_0x1cd3('0x43a')]});}}else{_0x483d9a[_0x1cd3('0x434')]({'title':_0x5d6b29[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x5d6b29[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x5d6b29[_0x1cd3('0xd35')]:'SYSTEM:DELETEtrigger','msg':_0x5d6b29[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x5d6b29['data'][_0x1cd3('0x43a')]):_0x5d6b29[_0x1cd3('0x43a')]||_0x5d6b29[_0x1cd3('0x43b')]()});}});}function _0x315ce6(){var _0x44f500=angular[_0x1cd3('0x429')](_0x48f218['selectedTriggers']);_0x48f218['selectedTriggers']=[];return _0x44f500;}function _0x2f7773(_0x4cf090){var _0x517d4b=_0x3b505f[_0x1cd3('0xd39')]()['title'](_0x1cd3('0x244f'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x48f218[_0x1cd3('0x2434')][_0x1cd3('0x7a')]+_0x1cd3('0xd61')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')]('delete\x20Triggers')['targetEvent'](_0x4cf090)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x3b505f[_0x1cd3('0x37e')](_0x517d4b)[_0x1cd3('0x77')](function(){_0x48f218[_0x1cd3('0x2434')]['forEach'](function(_0x4c4e85){_0x1d41b1(_0x4c4e85);});_0x48f218[_0x1cd3('0x2434')]=[];});}function _0x48d062(){_0x48f218[_0x1cd3('0x2434')]=[];}function _0x39aa3f(){_0x48f218[_0x1cd3('0x2434')]=_0x48f218[_0x1cd3('0x233f')][_0x1cd3('0xf6')];}}}());(function(){'use strict';_0x9a79e9['$inject']=[_0x1cd3('0x460'),_0x1cd3('0x53e'),_0x1cd3('0xd24'),_0x1cd3('0x3c5'),'$q',_0x1cd3('0x3f7'),_0x1cd3('0x461'),_0x1cd3('0xef5'),_0x1cd3('0x18e7'),_0x1cd3('0x370'),'Auth',_0x1cd3('0x463'),_0x1cd3('0xc49'),'crudPermissions'];angular[_0x1cd3('0x0')]('app.tools')[_0x1cd3('0x39b')](_0x1cd3('0x2450'),_0x9a79e9);function _0x9a79e9(_0x5861be,_0x312cfa,_0x54dc22,_0x1e3397,_0x4002fc,_0x5e80b6,_0x1b68ae,_0x115741,_0x461b64,_0x3f64d7,_0x546974,_0x173dcc,_0x3f763f,_0x7589ab){var _0x1e04e4=this;_0x1e04e4[_0x1cd3('0x3ca')]=_0x546974['getCurrentUser']();_0x1e04e4[_0x1cd3('0xd34')]=[];_0x1e04e4[_0x1cd3('0xc49')]=_0x3f763f;_0x1e04e4[_0x1cd3('0x463')]=_0x173dcc;_0x1e04e4[_0x1cd3('0xd27')]=_0x7589ab;_0x1e04e4[_0x1cd3('0xd28')]={};_0x1e04e4[_0x1cd3('0xd29')]=_0x1e04e4[_0x1cd3('0xc49')]&&_0x1e04e4[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x1e04e4['title']='TOOLS.EDIT_TRUNK';_0x1e04e4[_0x1cd3('0x18e7')]=angular[_0x1cd3('0x429')](_0x461b64);_0x1e04e4['trunks']=_0x115741;_0x1e04e4['newTrunk']=![];if(!_0x1e04e4['trunk']){_0x1e04e4[_0x1cd3('0x18e7')]={'active':!![],'type':_0x1cd3('0x20f1'),'dtmfmode':_0x1cd3('0x2451'),'qualify':_0x1cd3('0xf2b'),'t38pt_udptl':'no'};_0x1e04e4['title']=_0x1cd3('0x2452');_0x1e04e4[_0x1cd3('0x2453')]=!![];}_0x1e04e4[_0x1cd3('0x2454')]=_0x260ffe;_0x1e04e4[_0x1cd3('0x2455')]=_0x5c9cae;_0x1e04e4[_0x1cd3('0x2456')]=_0x464813;_0x1e04e4[_0x1cd3('0xd31')]=_0xcf4db;_0x1e04e4[_0x1cd3('0x39c')]=_0x568b2e;function _0x260ffe(){_0x1e04e4['errors']=[];_0x3f64d7[_0x1cd3('0x18e7')][_0x1cd3('0xd6d')](_0x1e04e4[_0x1cd3('0x18e7')])['$promise'][_0x1cd3('0x77')](function(_0xd2542){_0x1e04e4[_0x1cd3('0xef5')][_0x1cd3('0x621')](_0xd2542[_0x1cd3('0xd32')]());_0x1b68ae[_0x1cd3('0x473')]({'title':'Trunk\x20properly\x20created','msg':_0x1e04e4['trunk']['name']?_0x1e04e4[_0x1cd3('0x18e7')][_0x1cd3('0x98')]+_0x1cd3('0xd33'):''});_0x568b2e(_0xd2542);})[_0x1cd3('0xfd')](function(_0x50120c){if(_0x50120c[_0x1cd3('0x439')]&&_0x50120c[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x50120c[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x1e04e4[_0x1cd3('0xd34')]=_0x50120c[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x50120c[_0x1cd3('0x43b')](),'type':_0x1cd3('0x2457')}];for(var _0x3d7dfd=0x0;_0x3d7dfd<_0x50120c['data'][_0x1cd3('0xd34')]['length'];_0x3d7dfd+=0x1){_0x1b68ae['error']({'title':_0x50120c[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x3d7dfd][_0x1cd3('0x424')],'msg':_0x50120c[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x3d7dfd][_0x1cd3('0x43a')]});}}else{_0x1b68ae[_0x1cd3('0x434')]({'title':_0x50120c[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x50120c[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x50120c['statusText']:_0x1cd3('0x2457'),'msg':_0x50120c[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x50120c[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x50120c[_0x1cd3('0x43b')]()});}});}function _0x5c9cae(){_0x1e04e4[_0x1cd3('0xd34')]=[];_0x3f64d7[_0x1cd3('0x18e7')]['update']({'id':_0x1e04e4[_0x1cd3('0x18e7')]['id']},_0x1e04e4[_0x1cd3('0x18e7')])['$promise'][_0x1cd3('0x77')](function(_0x57cb5f){var _0x5501ec=_[_0x1cd3('0x442')](_0x1e04e4[_0x1cd3('0xef5')],{'id':_0x57cb5f['id']});if(_0x5501ec){_[_0x1cd3('0xf2')](_0x5501ec,_['pick'](_0x57cb5f[_0x1cd3('0xd32')](),_['keys'](_0x5501ec)));}_0x1b68ae[_0x1cd3('0x473')]({'title':_0x1cd3('0x2458'),'msg':_0x1e04e4[_0x1cd3('0x18e7')][_0x1cd3('0x98')]?_0x1e04e4['trunk'][_0x1cd3('0x98')]+_0x1cd3('0xd37'):''});_0x568b2e(_0x57cb5f);})[_0x1cd3('0xfd')](function(_0x699e71){if(_0x699e71['data']&&_0x699e71['data'][_0x1cd3('0xd34')]&&_0x699e71[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x1e04e4[_0x1cd3('0xd34')]=_0x699e71[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x699e71[_0x1cd3('0x43b')](),'type':_0x1cd3('0x2459')}];for(var _0x13843f=0x0;_0x13843f<_0x699e71[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length'];_0x13843f++){_0x1b68ae[_0x1cd3('0x434')]({'title':_0x699e71[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x13843f]['type'],'msg':_0x699e71[_0x1cd3('0x439')]['errors'][_0x13843f]['message']});}}else{_0x1b68ae[_0x1cd3('0x434')]({'title':_0x699e71[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x699e71['status']+'\x20-\x20'+_0x699e71[_0x1cd3('0xd35')]:_0x1cd3('0x2459'),'msg':_0x699e71['data']?JSON[_0x1cd3('0x438')](_0x699e71[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x699e71['toString']()});}});}function _0x464813(_0x4dd9c1){_0x1e04e4[_0x1cd3('0xd34')]=[];var _0x28e9ff=_0x1e3397[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xd3a'))[_0x1cd3('0xd3b')]('The\x20trunk\x20will\x20be\x20deleted.')[_0x1cd3('0xd3d')]('Delete\x20Trunk')['ok']('Delete')[_0x1cd3('0x4d8')]('Cancel')[_0x1cd3('0xd63')](_0x4dd9c1);_0x1e3397['show'](_0x28e9ff)[_0x1cd3('0x77')](function(){_0x3f64d7[_0x1cd3('0x18e7')][_0x1cd3('0xa1c')]({'id':_0x1e04e4[_0x1cd3('0x18e7')]['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x1e04e4['trunks'],{'id':_0x1e04e4['trunk']['id']});_0x1b68ae[_0x1cd3('0x473')]({'title':'Trunk\x20properly\x20deleted!','msg':(_0x1e04e4[_0x1cd3('0x18e7')][_0x1cd3('0x98')]||_0x1cd3('0x18e7'))+_0x1cd3('0xd41')});_0x568b2e(_0x1e04e4[_0x1cd3('0x18e7')]);})['catch'](function(_0x2aebe5){if(_0x2aebe5[_0x1cd3('0x439')]&&_0x2aebe5[_0x1cd3('0x439')]['errors']&&_0x2aebe5[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length']){_0x1e04e4['errors']=_0x2aebe5[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x2aebe5['toString'](),'type':_0x1cd3('0x245a')}];for(var _0x1adc8d=0x0;_0x1adc8d<_0x2aebe5[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x1adc8d++){_0x1b68ae[_0x1cd3('0x434')]({'title':_0x2aebe5['data'][_0x1cd3('0xd34')][_0x1adc8d][_0x1cd3('0x424')],'msg':_0x2aebe5['data'][_0x1cd3('0xd34')][_0x1adc8d][_0x1cd3('0x43a')]});}}else{_0x1b68ae['error']({'title':_0x2aebe5['status']?_0x1cd3('0x435')+_0x2aebe5['status']+_0x1cd3('0x436')+_0x2aebe5[_0x1cd3('0xd35')]:_0x1cd3('0x245a'),'msg':_0x2aebe5[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x2aebe5[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x2aebe5[_0x1cd3('0x43a')]||_0x2aebe5['toString']()});}});},function(){});}function _0xcf4db(_0x4fb632){return _0x4fb632===null?undefined:new Date(_0x4fb632);}function _0x568b2e(_0x840013){_0x1e3397['hide'](_0x840013);}}}());(function(){'use strict';_0x199524[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),_0x1cd3('0x53e'),_0x1cd3('0x461'),'api',_0x1cd3('0x18e7'),_0x1cd3('0xef5'),_0x1cd3('0x3f7')];angular[_0x1cd3('0x0')](_0x1cd3('0x33'))[_0x1cd3('0x39b')](_0x1cd3('0x245b'),_0x199524);function _0x199524(_0x5920fd,_0x56cc12,_0x47ed2a,_0x43f5be,_0x5d18db,_0x56a816,_0x471f40){var _0x450ba4=this;_0x450ba4[_0x1cd3('0x2453')]=!![];_0x450ba4[_0x1cd3('0x18e7')]=angular[_0x1cd3('0x429')](_0x5d18db);_0x450ba4[_0x1cd3('0xef5')]=_0x56a816;_0x450ba4[_0x1cd3('0x486')]=_0x471f40[_0x1cd3('0x44a')](_0x1cd3('0x245c'));if(_0x5d18db&&_0x5d18db['name']){_0x450ba4[_0x1cd3('0x486')]+=':\x20'+_0x5d18db[_0x1cd3('0x98')];}_0x450ba4['cloneTrunk']=_0x3c6a59;_0x450ba4[_0x1cd3('0x39c')]=_0x46fb4c;function _0x3c6a59(){return _0x43f5be[_0x1cd3('0x18e7')][_0x1cd3('0x1141')]({'id':_0x5d18db['id']},_0x450ba4[_0x1cd3('0x18e7')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x3bf610){_0x450ba4[_0x1cd3('0xef5')][_0x1cd3('0x621')](_0x3bf610[_0x1cd3('0xd32')]());_0x47ed2a[_0x1cd3('0x473')]({'title':_0x1cd3('0x245d'),'msg':_0x450ba4['trunk'][_0x1cd3('0x98')]?_0x450ba4[_0x1cd3('0x18e7')][_0x1cd3('0x98')]+_0x1cd3('0x1c30'):''});_0x56cc12['go'](_0x1cd3('0x2d3'),{'id':_0x3bf610['id']});_0x46fb4c(_0x3bf610);})['catch'](function(_0x235bee){if(_0x235bee[_0x1cd3('0x439')]&&_0x235bee[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x235bee[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x450ba4['errors']=_0x235bee[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x235bee['toString'](),'type':_0x1cd3('0x245e')}];for(var _0x583c92=0x0;_0x583c92<_0x235bee['data'][_0x1cd3('0xd34')]['length'];_0x583c92+=0x1){_0x47ed2a['error']({'title':_0x235bee[_0x1cd3('0x439')]['errors'][_0x583c92][_0x1cd3('0x424')],'msg':_0x235bee[_0x1cd3('0x439')]['errors'][_0x583c92][_0x1cd3('0x43a')]});}}else{_0x47ed2a['error']({'title':_0x235bee[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x235bee['status']+_0x1cd3('0x436')+_0x235bee[_0x1cd3('0xd35')]:_0x1cd3('0x245e'),'msg':_0x235bee[_0x1cd3('0x439')]?JSON['stringify'](_0x235bee[_0x1cd3('0x439')]['message']):_0x235bee[_0x1cd3('0x43b')]()});}});}function _0x46fb4c(_0x399455){_0x5920fd[_0x1cd3('0x39d')](_0x399455);}}}());(function(){'use strict';_0x229e57[_0x1cd3('0xc')]=[_0x1cd3('0x53e'),_0x1cd3('0xd24'),_0x1cd3('0x3c5'),_0x1cd3('0x372'),_0x1cd3('0x3f7'),_0x1cd3('0x463'),_0x1cd3('0xc49'),_0x1cd3('0x370'),_0x1cd3('0x461'),_0x1cd3('0x56'),'trunk',_0x1cd3('0x390')];angular[_0x1cd3('0x0')](_0x1cd3('0x33'))[_0x1cd3('0x39b')](_0x1cd3('0x245f'),_0x229e57);function _0x229e57(_0x53e06c,_0x238d47,_0x2a0bdd,_0x5234c3,_0x1af7fe,_0x2a4a1a,_0x5e44d9,_0x2ea1df,_0x1c2168,_0x203709,_0x49dd63,_0xc5d2f5){var _0x45aae4=this;_0x45aae4['currentUser']=_0x203709[_0x1cd3('0x5d')]();_0x45aae4[_0x1cd3('0x463')]=_0x2a4a1a;_0x45aae4[_0x1cd3('0xc49')]=_0x5e44d9;_0x45aae4[_0x1cd3('0xd29')]=_0x45aae4[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x45aae4[_0x1cd3('0xd22')]=_0x238d47['protocol']()+_0x1cd3('0x11cf')+_0x238d47[_0x1cd3('0x3ac')]();_0x45aae4[_0x1cd3('0x18e7')]=_0x49dd63||_0x53e06c[_0x1cd3('0x36a')]['trunk']||{};_0x45aae4[_0x1cd3('0x390')]=_0xc5d2f5&&_0xc5d2f5['count']==0x1?_0xc5d2f5[_0x1cd3('0xf6')][0x0]:null;_0x45aae4['crudPermissions']=_0x203709[_0x1cd3('0xd44')](_0x45aae4[_0x1cd3('0x390')]?_0x45aae4[_0x1cd3('0x390')]['crudPermissions']:null);_0x45aae4[_0x1cd3('0xd28')]={};_0x45aae4['selectedTab']=_0x53e06c[_0x1cd3('0x36a')]['tab']||0x0;_0x45aae4['gotogoto']=_0x595f61;_0x45aae4[_0x1cd3('0x1c48')]=_0x370eb2;_0x45aae4['alert']=_0x1c2168[_0x1cd3('0x654')];_0x45aae4[_0x1cd3('0x2460')]=_0x62f087;_0x45aae4[_0x1cd3('0x2455')]=_0x4b739c;_0x203709[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x2ea1df[_0x1cd3('0xa3e')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x22f210){_0x45aae4[_0x1cd3('0x2119')]=_0x22f210[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x534528){_0x1c2168[_0x1cd3('0x434')]({'title':_0x534528['status']?'API:'+_0x534528[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x534528['statusText']:_0x1cd3('0x211a'),'msg':_0x534528[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x534528[_0x1cd3('0x439')]):_0x534528[_0x1cd3('0x43b')]()});}):_0x2ea1df[_0x1cd3('0xa3e')][_0x1cd3('0x361')]({'fields':'id,name','sort':'name'})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x375f2e){_0x45aae4[_0x1cd3('0x2119')]=_0x375f2e[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x2ea1df['userProfileSection'][_0x1cd3('0x361')]({'userProfileId':_0x45aae4[_0x1cd3('0x3ca')]['userProfileId'],'sectionId':0x195})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x3c8c11){var _0x10208d=_0x3c8c11&&_0x3c8c11[_0x1cd3('0xf6')]?_0x3c8c11[_0x1cd3('0xf6')][0x0]:null;if(!_0x10208d){return _0x2ea1df[_0x1cd3('0xa3e')][_0x1cd3('0x361')]({'fields':'id,name','sort':_0x1cd3('0x98'),'defaultEntry':0x1})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x1909f3){_0x45aae4[_0x1cd3('0x2119')]=_0x1909f3[_0x1cd3('0xf6')]||[];});}else{if(!_0x10208d[_0x1cd3('0x391')]){return _0x2ea1df['userProfileResource']['get']({'sectionId':_0x10208d['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x137405){var _0x45a762=_['map'](_0x137405[_0x1cd3('0xf6')],function(_0xce71cc){return _[_0x1cd3('0x442')](_0x45aae4['contexts'],{'id':_0xce71cc[_0x1cd3('0xe8e')]});});var _0x12072b=null;if(_0x45aae4[_0x1cd3('0x18e7')]){_0x12072b=_[_0x1cd3('0x442')](_0x45aae4[_0x1cd3('0x2119')],{'name':_0x45aae4[_0x1cd3('0x18e7')]['context']});}if(_0x12072b&&!_[_0x1cd3('0x38d')](_0x45a762,['id',_0x12072b['id']])){var _0x5cd1a3=_[_0x1cd3('0x442')](_0x45aae4[_0x1cd3('0x2119')],{'id':_0x12072b['id']});_0x5cd1a3['canSelect']=![];_0x45a762['push'](_0x5cd1a3);}_0x45aae4[_0x1cd3('0x2119')]=_0x45a762;});}}})['catch'](function(_0x204bb5){_0x1c2168['error']({'title':_0x204bb5[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x204bb5[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x204bb5['statusText']:_0x1cd3('0x214c'),'msg':_0x204bb5['data']?JSON[_0x1cd3('0x438')](_0x204bb5[_0x1cd3('0x439')]):_0x204bb5[_0x1cd3('0x43b')]()});});function _0x595f61(_0x297a5d,_0xd3759b){if(_0x203709[_0x1cd3('0x57')](_0x1cd3('0x5f'))){_0x53e06c['go'](_0x1cd3('0x2ee'),{});}else{return _0x2ea1df['userProfileSection'][_0x1cd3('0x361')]({'userProfileId':_0x203709[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x19b})['$promise'][_0x1cd3('0x77')](function(_0x159d2e){var _0x96fa61=_0x159d2e&&_0x159d2e['rows']?_0x159d2e[_0x1cd3('0xf6')][0x0]:null;if(_0x96fa61&&_0x96fa61[_0x1cd3('0x396')]){_0x53e06c['go'](_0x1cd3('0x2ee'),{});}else{_0x1c2168[_0x1cd3('0x654')]({'title':_0x1af7fe[_0x1cd3('0x44a')](_0x1cd3('0x1164')),'msg':_0x1af7fe[_0x1cd3('0x44a')](_0x1cd3('0x11a9'))});}})[_0x1cd3('0xfd')](function(_0x40fc8b){_0x1c2168[_0x1cd3('0x434')]({'title':_0x40fc8b[_0x1cd3('0x3a6')]?'API:'+_0x40fc8b[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x40fc8b['statusText']:_0x1cd3('0x11aa'),'msg':_0x40fc8b['status']?JSON[_0x1cd3('0x438')](_0x40fc8b[_0x1cd3('0x439')]):_0x40fc8b['toString']()});});}}function _0x370eb2(_0x43e533,_0x1939b5){_0x2a0bdd[_0x1cd3('0x37e')]({'controller':'TrunkcloneController','controllerAs':'vm','templateUrl':'app/main/apps/tools/views/trunks/edit/clone/clone.html','parent':angular[_0x1cd3('0x37f')](_0x5234c3['body']),'targetEvent':_0x1939b5,'clickOutsideToClose':!![],'locals':{'trunk':_0x43e533,'trunks':_0x45aae4[_0x1cd3('0xef5')]?_0x45aae4[_0x1cd3('0xef5')][_0x1cd3('0xf6')]:[],'crudPermissions':_0x45aae4[_0x1cd3('0xd27')]}});}function _0x62f087(){_0x53e06c['go']('app.tools.trunks',{},{'reload':_0x1cd3('0x2ce')});}function _0x4b739c(){_0x2ea1df[_0x1cd3('0x18e7')][_0x1cd3('0x378')]({'id':_0x45aae4[_0x1cd3('0x18e7')]['id']},_0x45aae4['trunk'])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x1c2168[_0x1cd3('0x473')]({'title':_0x1cd3('0x2461'),'msg':_0x45aae4['trunk'][_0x1cd3('0x98')]?_0x45aae4[_0x1cd3('0x18e7')][_0x1cd3('0x98')]+_0x1cd3('0xe65'):''});})[_0x1cd3('0xfd')](function(_0x5ce8b2){_0x1c2168[_0x1cd3('0x434')]({'title':_0x5ce8b2[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x5ce8b2[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x5ce8b2[_0x1cd3('0xd35')]:_0x1cd3('0x2462'),'msg':_0x5ce8b2['data']?JSON['stringify'](_0x5ce8b2['data']):_0x5ce8b2['toString']()});});}}}());(function(){'use strict';_0x436496[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x371'),_0x1cd3('0x53e'),'$mdSidenav','$mdDialog',_0x1cd3('0x372'),'$timeout',_0x1cd3('0x3f7'),'trunks',_0x1cd3('0x38a'),'userProfileSection',_0x1cd3('0x370'),_0x1cd3('0x2dd'),_0x1cd3('0x461'),_0x1cd3('0x56'),'license',_0x1cd3('0xc49')];angular[_0x1cd3('0x0')](_0x1cd3('0x33'))[_0x1cd3('0x39b')](_0x1cd3('0x2463'),_0x436496);function _0x436496(_0x28ec39,_0x52954e,_0x5d56f1,_0x5c22c5,_0x2db9cf,_0x171730,_0x2ee6d9,_0x319baf,_0x3a9019,_0x335f1d,_0x472d8c,_0x2d8389,_0x3d9508,_0xa24b0,_0x11a96a,_0xf7f580,_0x27c70f){var _0x640009=this;_0x640009[_0x1cd3('0x463')]=_0xf7f580;_0x640009[_0x1cd3('0xc49')]=_0x27c70f;_0x640009[_0x1cd3('0x3ca')]=_0x11a96a[_0x1cd3('0x5d')]();_0x640009[_0x1cd3('0xef5')]=_0x3a9019||{'count':0x0,'rows':[]};_0x640009['userProfile']=_0x335f1d;_0x640009[_0x1cd3('0x390')]=_0x472d8c&&_0x472d8c[_0x1cd3('0x466')]==0x1?_0x472d8c[_0x1cd3('0xf6')][0x0]:null;_0x640009[_0x1cd3('0xd27')]=_0x11a96a['parseCrudPermissions'](_0x640009[_0x1cd3('0x390')]?_0x640009['userProfileSection'][_0x1cd3('0xd27')]:null);_0x640009[_0x1cd3('0xd45')]=_0x1cd3('0xef5');_0x640009['listOrder']='';_0x640009[_0x1cd3('0xd47')]=null;_0x640009[_0x1cd3('0x2464')]=[];_0x640009[_0x1cd3('0x3d4')]={'fields':_0x1cd3('0x2d2'),'sort':'-updatedAt','limit':0xa,'page':0x1};_0x640009[_0x1cd3('0x135a')]=_['keyBy']([{'option':_0x1cd3('0x20d7'),'value':_0x1cd3('0x20d8')},{'option':_0x1cd3('0x132a'),'value':_0x1cd3('0x21fc')},{'option':_0x1cd3('0x20d9'),'value':'\x27peer\x27'}],function(_0x54adab){return _[_0x1cd3('0x3f1')](_0x54adab[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x640009[_0x1cd3('0x2465')]=_[_0x1cd3('0xe2d')]([{'option':_0x1cd3('0x2451'),'value':'\x27rfc2833\x27'},{'option':_0x1cd3('0x654'),'value':_0x1cd3('0x2466')},{'option':_0x1cd3('0x2467'),'value':_0x1cd3('0x2468')},{'option':_0x1cd3('0x2469'),'value':'\x27inband\x27'},{'option':_0x1cd3('0x534'),'value':_0x1cd3('0x246a')}],function(_0x34f667){return _[_0x1cd3('0x3f1')](_0x34f667['value'],new RegExp('\x27','g'),'');});_0x640009[_0x1cd3('0x2151')]=_['keyBy']([{'option':_0x1cd3('0x20d3'),'value':'\x27force_rport\x27'},{'option':'comedia','value':_0x1cd3('0x20d5')},{'option':_0x1cd3('0xf2b'),'value':_0x1cd3('0x1e6d')},{'option':'no','value':'\x27no\x27'},{'option':_0x1cd3('0x1de4'),'value':_0x1cd3('0x1d27')},{'option':_0x1cd3('0x42a'),'value':_0x1cd3('0x20d6')}],function(_0x14b811){return _[_0x1cd3('0x3f1')](_0x14b811[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x640009['arrayqualify']=_[_0x1cd3('0xe2d')]([{'option':_0x1cd3('0xf2b'),'value':_0x1cd3('0x1e6d')},{'option':'no','value':_0x1cd3('0x123c')}],function(_0x1e8191){return _['replace'](_0x1e8191[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x640009[_0x1cd3('0x20da')]=_[_0x1cd3('0xe2d')]([{'option':'ulaw','value':_0x1cd3('0x20dc')},{'option':_0x1cd3('0x20dd'),'value':_0x1cd3('0x2153')},{'option':_0x1cd3('0xf38'),'value':_0x1cd3('0x1e73')},{'option':_0x1cd3('0x246b'),'value':_0x1cd3('0x246c')},{'option':_0x1cd3('0x246d'),'value':'\x27g726\x27'},{'option':_0x1cd3('0x2154'),'value':_0x1cd3('0x20de')},{'option':_0x1cd3('0x20df'),'value':'\x27g729\x27'},{'option':_0x1cd3('0x246e'),'value':_0x1cd3('0x246f')},{'option':_0x1cd3('0x20e0'),'value':_0x1cd3('0x20e1')},{'option':'h264','value':_0x1cd3('0x21fd')}],function(_0x2bf4ad){return _[_0x1cd3('0x3f1')](_0x2bf4ad[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x640009[_0x1cd3('0x2470')]=_[_0x1cd3('0xe2d')]([{'option':'port','value':_0x1cd3('0x2471')},{'option':_0x1cd3('0x5a0'),'value':'\x27invite\x27'},{'option':_0x1cd3('0x2472'),'value':_0x1cd3('0x2473')}],function(_0x4b8790){return _['replace'](_0x4b8790[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x640009[_0x1cd3('0x2474')]=_[_0x1cd3('0xe2d')]([{'option':_0x1cd3('0xf2b'),'value':_0x1cd3('0x1e6d')},{'option':'no','value':_0x1cd3('0x123c')},{'option':_0x1cd3('0x2475'),'value':_0x1cd3('0x2476')},{'option':'update','value':_0x1cd3('0x2477')}],function(_0x15b46a){return _[_0x1cd3('0x3f1')](_0x15b46a[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x640009['arraycallcounter']=_['keyBy']([{'option':_0x1cd3('0xf2b'),'value':_0x1cd3('0x1e6d')},{'option':'no','value':_0x1cd3('0x123c')}],function(_0x927f1d){return _['replace'](_0x927f1d['value'],new RegExp('\x27','g'),'');});_0x640009[_0x1cd3('0x2478')]=_['keyBy']([{'option':'yes','value':_0x1cd3('0x1e6d')},{'option':'no','value':_0x1cd3('0x123c')}],function(_0x1944b1){return _[_0x1cd3('0x3f1')](_0x1944b1[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x640009['arraytrustrpid']=_[_0x1cd3('0xe2d')]([{'option':_0x1cd3('0xf2b'),'value':'\x27yes\x27'},{'option':'no','value':_0x1cd3('0x123c')}],function(_0x28ecd2){return _['replace'](_0x28ecd2[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x640009[_0x1cd3('0x2479')]=_[_0x1cd3('0xe2d')]([{'option':_0x1cd3('0xf2b'),'value':'\x27yes\x27'},{'option':'no','value':_0x1cd3('0x123c')},{'option':_0x1cd3('0x247a'),'value':_0x1cd3('0x247b')}],function(_0x213556){return _['replace'](_0x213556[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x640009[_0x1cd3('0x247c')]=_[_0x1cd3('0xe2d')]([{'option':_0x1cd3('0xf2b'),'value':_0x1cd3('0x1e6d')},{'option':'no','value':_0x1cd3('0x123c')}],function(_0x4d0c3a){return _[_0x1cd3('0x3f1')](_0x4d0c3a['value'],new RegExp('\x27','g'),'');});_0x640009[_0x1cd3('0x2150')]=_['keyBy']([{'option':_0x1cd3('0x20c9'),'value':'\x27udp\x27'},{'option':_0x1cd3('0x20cb'),'value':_0x1cd3('0x20cc')},{'option':'ws','value':_0x1cd3('0x20cd')},{'option':_0x1cd3('0x20cf'),'value':'\x27wss\x27'},{'option':_0x1cd3('0x20d1'),'value':_0x1cd3('0x20d2')}],function(_0x4220f5){return _['replace'](_0x4220f5[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x640009['arrayvideosupport']=_[_0x1cd3('0xe2d')]([{'option':'Yes','value':_0x1cd3('0x1e6d')},{'option':'No','value':'\x27no\x27'},{'option':_0x1cd3('0x122e'),'value':_0x1cd3('0x1d22')}],function(_0x4a2e9d){return _['replace'](_0x4a2e9d['value'],new RegExp('\x27','g'),'');});_0x640009[_0x1cd3('0x1171')]=_0x1c353a;_0x640009[_0x1cd3('0x1c48')]=_0x4583b9;_0x640009[_0x1cd3('0x119c')]=_0x55c209;_0x640009[_0x1cd3('0xecc')]=_0x31e805;_0x640009[_0x1cd3('0x473')]=_0x5c4681;_0x640009[_0x1cd3('0x199f')]=_0x374d63;_0x640009['createOrEditTrunk']=_0x1e1c42;_0x640009[_0x1cd3('0x2456')]=_0x406ae5;_0x640009['exportSelectedTrunks']=_0x33235e;_0x640009[_0x1cd3('0x247d')]=_0xa33db3;_0x640009[_0x1cd3('0x247e')]=_0x54b796;_0x640009[_0x1cd3('0x247f')]=_0xd9925a;function _0x1c353a(_0x522290,_0x5484f7){_0x5d56f1['go'](_0x1cd3('0x2d3'),{'id':_0x522290['id'],'trunk':_0x522290,'crudPermissions':_0x640009['crudPermissions']});}function _0x4583b9(_0x2d736f,_0x2630d2){_0x2db9cf[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x245b'),'controllerAs':'vm','templateUrl':'app/main/apps/tools/views/trunks/edit/clone/clone.html','parent':angular[_0x1cd3('0x37f')](_0x171730[_0x1cd3('0x380')]),'targetEvent':_0x2630d2,'clickOutsideToClose':!![],'locals':{'trunk':_0x2d736f,'trunks':_0x640009[_0x1cd3('0xef5')]?_0x640009[_0x1cd3('0xef5')][_0x1cd3('0xf6')]:[],'crudPermissions':_0x640009[_0x1cd3('0xd27')]}});}function _0x55c209(_0x7d6f5f,_0x5d524e){if(_0x11a96a[_0x1cd3('0x57')](_0x1cd3('0x5f'))){_0x5d56f1['go'](_0x1cd3('0x2ee'),{});}else{return _0x2d8389[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x11a96a[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x19b})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x12df6b){var _0x3c2ad5=_0x12df6b&&_0x12df6b[_0x1cd3('0xf6')]?_0x12df6b[_0x1cd3('0xf6')][0x0]:null;if(_0x3c2ad5&&_0x3c2ad5[_0x1cd3('0x396')]){_0x5d56f1['go'](_0x1cd3('0x2ee'),{});}else{_0xa24b0['info']({'title':_0x319baf[_0x1cd3('0x44a')](_0x1cd3('0x1164')),'msg':_0x319baf['instant']('STAFF.PERMISSIONS_UNAUTHORIZED_REDIRECT_MESSAGE')});}})['catch'](function(_0x3822fe){_0xa24b0[_0x1cd3('0x434')]({'title':_0x3822fe[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x3822fe[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x3822fe[_0x1cd3('0xd35')]:_0x1cd3('0x11aa'),'msg':_0x3822fe['status']?JSON['stringify'](_0x3822fe[_0x1cd3('0x439')]):_0x3822fe[_0x1cd3('0x43b')]()});});}}function _0x31e805(_0x1bdafe,_0xd6df94){var _0x3d1c2d=_0x2db9cf[_0x1cd3('0xd39')]()['title'](_0x1cd3('0xd4f')+_[_0x1cd3('0xd50')](_0x1cd3('0x18e7'))+'?')['htmlContent']('<b>'+(_0x1bdafe[_0x1cd3('0x98')]||_0x1cd3('0x18e7'))+'</b>'+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x2480'))[_0x1cd3('0xd63')](_0xd6df94)['ok']('OK')['cancel'](_0x1cd3('0xd55'));_0x2db9cf[_0x1cd3('0x37e')](_0x3d1c2d)[_0x1cd3('0x77')](function(){_0x406ae5(_0x1bdafe);},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}var _0x57d982=!![];var _0x438061=0x1;_0x28ec39[_0x1cd3('0x4d6')](_0x1cd3('0xd56'),function(_0x5c6a18,_0x2c91b4){if(_0x57d982){_0x2ee6d9(function(){_0x57d982=![];});}else{if(!_0x2c91b4){_0x438061=_0x640009[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0x5c6a18!==_0x2c91b4){_0x640009[_0x1cd3('0x3d4')]['page']=0x1;}if(!_0x5c6a18){_0x640009[_0x1cd3('0x3d4')]['page']=_0x438061;}_0x640009['getTrunks']();}});function _0x5c4681(_0x115c05){_0x640009[_0x1cd3('0xef5')]=_0x115c05||{'count':0x0,'rows':[]};}function _0x374d63(){_0x640009['query'][_0x1cd3('0xd57')]=(_0x640009['query']['page']-0x1)*_0x640009['query'][_0x1cd3('0x8fe')];if(_0x11a96a['hasRole']('admin')){_0x640009[_0x1cd3('0x539')]=_0x2d8389[_0x1cd3('0x18e7')][_0x1cd3('0x361')](_0x640009[_0x1cd3('0x3d4')],_0x5c4681)['$promise'];}else{_0x640009['query']['id']=_0x640009['userProfile']['id'];_0x640009['query'][_0x1cd3('0xd58')]=_0x1cd3('0xa2');_0x640009[_0x1cd3('0x539')]=_0x2d8389[_0x1cd3('0x38a')][_0x1cd3('0xd59')](_0x640009[_0x1cd3('0x3d4')],_0x5c4681)[_0x1cd3('0x81')];}}function _0x1e1c42(_0x3e2e2c,_0x1dcd7d){_0x2db9cf[_0x1cd3('0x37e')]({'controller':'CreateOrEditTrunkDialogController','controllerAs':'vm','templateUrl':_0x1cd3('0x2481'),'parent':angular[_0x1cd3('0x37f')](_0x171730[_0x1cd3('0x380')]),'targetEvent':_0x3e2e2c,'clickOutsideToClose':!![],'locals':{'trunk':_0x1dcd7d,'trunks':_0x640009[_0x1cd3('0xef5')][_0x1cd3('0xf6')],'license':_0x640009[_0x1cd3('0x463')],'setting':_0x640009['setting'],'crudPermissions':_0x640009['crudPermissions']}});}function _0x406ae5(_0xf6b68e){_0x2d8389[_0x1cd3('0x18e7')][_0x1cd3('0xa1c')]({'id':_0xf6b68e['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x640009[_0x1cd3('0xef5')][_0x1cd3('0xf6')],{'id':_0xf6b68e['id']});_0x640009[_0x1cd3('0xef5')]['count']-=0x1;if(!_0x640009['trunks'][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){_0x640009[_0x1cd3('0x199f')]();}_0xa24b0[_0x1cd3('0x473')]({'title':_[_0x1cd3('0xd50')](_0x1cd3('0x13de'))+'\x20deleted!','msg':_0xf6b68e[_0x1cd3('0x98')]?_0xf6b68e[_0x1cd3('0x98')]+_0x1cd3('0xd41'):''});})['catch'](function(_0x4ff9d6){if(_0x4ff9d6[_0x1cd3('0x439')]&&_0x4ff9d6[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x4ff9d6['data']['errors'][_0x1cd3('0x7a')]){_0x640009[_0x1cd3('0xd34')]=_0x4ff9d6[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x4ff9d6[_0x1cd3('0x43b')](),'type':_0x1cd3('0x2482')}];for(var _0x504b42=0x0;_0x504b42<_0x4ff9d6[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length'];_0x504b42++){_0xa24b0[_0x1cd3('0x434')]({'title':_0x4ff9d6[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x504b42][_0x1cd3('0x424')],'msg':_0x4ff9d6[_0x1cd3('0x439')]['errors'][_0x504b42]['message']});}}else{_0xa24b0[_0x1cd3('0x434')]({'title':_0x4ff9d6['status']?_0x1cd3('0x435')+_0x4ff9d6['status']+_0x1cd3('0x436')+_0x4ff9d6[_0x1cd3('0xd35')]:_0x1cd3('0x2482'),'msg':_0x4ff9d6[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x4ff9d6[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x4ff9d6[_0x1cd3('0x43a')]||_0x4ff9d6[_0x1cd3('0x43b')]()});}});}function _0x33235e(){var _0x4f15d2=angular['copy'](_0x640009[_0x1cd3('0x2464')]);_0x640009['selectedTrunks']=[];return _0x4f15d2;}function _0xa33db3(_0x53daa5){var _0x416a57=_0x2db9cf[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x2483'))['htmlContent'](_0x1cd3('0xd51')+_0x640009[_0x1cd3('0x2464')][_0x1cd3('0x7a')]+'\x20selected</b>'+'\x20will\x20be\x20deleted.')[_0x1cd3('0xd3d')](_0x1cd3('0x2484'))[_0x1cd3('0xd63')](_0x53daa5)['ok']('OK')['cancel']('CANCEL');_0x2db9cf[_0x1cd3('0x37e')](_0x416a57)[_0x1cd3('0x77')](function(){_0x640009[_0x1cd3('0x2464')][_0x1cd3('0x394')](function(_0xe1db06){_0x406ae5(_0xe1db06);});_0x640009['selectedTrunks']=[];});}function _0x54b796(){_0x640009[_0x1cd3('0x2464')]=[];}function _0xd9925a(){_0x640009[_0x1cd3('0x2464')]=_0x640009['trunks'][_0x1cd3('0xf6')];}}}());(function(){'use strict';_0x1ef9d2[_0x1cd3('0xc')]=['$scope',_0x1cd3('0x53e'),_0x1cd3('0xd24'),_0x1cd3('0x3c5'),'$q','$translate','toasty',_0x1cd3('0xef7'),_0x1cd3('0xb84'),_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0x463'),'setting',_0x1cd3('0xd27')];angular['module'](_0x1cd3('0x33'))[_0x1cd3('0x39b')](_0x1cd3('0x1163'),_0x1ef9d2);function _0x1ef9d2(_0x337063,_0x284710,_0x288925,_0x519c34,_0x4f17ec,_0x1807d7,_0x2ce433,_0xaf9909,_0x2703d2,_0x42d111,_0x2c23b3,_0x3e8e33,_0x482e1f,_0x2eaebe){var _0x4dc2d0=this;_0x4dc2d0['currentUser']=_0x2c23b3[_0x1cd3('0x5d')]();_0x4dc2d0[_0x1cd3('0xd34')]=[];_0x4dc2d0['setting']=_0x482e1f;_0x4dc2d0[_0x1cd3('0x463')]=_0x3e8e33;_0x4dc2d0[_0x1cd3('0xd27')]=_0x2eaebe;_0x4dc2d0[_0x1cd3('0xd28')]={};_0x4dc2d0[_0x1cd3('0xd29')]=_0x4dc2d0[_0x1cd3('0xc49')]&&_0x4dc2d0['setting']['securePassword']?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x4dc2d0[_0x1cd3('0x486')]='TOOLS.EDIT_VARIABLE';_0x4dc2d0[_0x1cd3('0xb84')]=angular[_0x1cd3('0x429')](_0x2703d2);_0x4dc2d0[_0x1cd3('0xef7')]=_0xaf9909;_0x4dc2d0[_0x1cd3('0x2485')]=![];if(!_0x4dc2d0[_0x1cd3('0xb84')]){_0x4dc2d0[_0x1cd3('0xb84')]={};_0x4dc2d0['title']='TOOLS.NEW_VARIABLE';_0x4dc2d0[_0x1cd3('0x2485')]=!![];}_0x4dc2d0[_0x1cd3('0x2486')]=_0x1b4d93;_0x4dc2d0['saveVariable']=_0x21f9b7;_0x4dc2d0[_0x1cd3('0x2487')]=_0x4fa3f9;_0x4dc2d0[_0x1cd3('0xd31')]=_0x3a1602;_0x4dc2d0[_0x1cd3('0x39c')]=_0x5b2589;function _0x1b4d93(){_0x4dc2d0[_0x1cd3('0xd34')]=[];_0x42d111[_0x1cd3('0xb84')][_0x1cd3('0xd6d')](_0x4dc2d0[_0x1cd3('0xb84')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x304483){_0x4dc2d0['variables'][_0x1cd3('0x621')](_0x304483[_0x1cd3('0xd32')]());_0x2ce433['success']({'title':_0x1cd3('0x2488'),'msg':_0x4dc2d0[_0x1cd3('0xb84')]['name']?_0x4dc2d0[_0x1cd3('0xb84')][_0x1cd3('0x98')]+_0x1cd3('0xd33'):''});_0x5b2589(_0x304483);})[_0x1cd3('0xfd')](function(_0x1a53f1){if(_0x1a53f1[_0x1cd3('0x439')]&&_0x1a53f1[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x1a53f1[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x4dc2d0[_0x1cd3('0xd34')]=_0x1a53f1[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x1a53f1[_0x1cd3('0x43b')](),'type':_0x1cd3('0x2489')}];for(var _0x1a115b=0x0;_0x1a115b<_0x1a53f1[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x1a115b+=0x1){_0x2ce433[_0x1cd3('0x434')]({'title':_0x1a53f1[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1a115b]['type'],'msg':_0x1a53f1[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1a115b]['message']});}}else{_0x2ce433[_0x1cd3('0x434')]({'title':_0x1a53f1[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x1a53f1['status']+_0x1cd3('0x436')+_0x1a53f1[_0x1cd3('0xd35')]:_0x1cd3('0x2489'),'msg':_0x1a53f1['data']?JSON[_0x1cd3('0x438')](_0x1a53f1[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x1a53f1[_0x1cd3('0x43b')]()});}});}function _0x21f9b7(){_0x4dc2d0['errors']=[];_0x42d111[_0x1cd3('0xb84')][_0x1cd3('0x378')]({'id':_0x4dc2d0[_0x1cd3('0xb84')]['id']},_0x4dc2d0[_0x1cd3('0xb84')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x429a99){var _0x4ba17e=_['find'](_0x4dc2d0[_0x1cd3('0xef7')],{'id':_0x429a99['id']});if(_0x4ba17e){_[_0x1cd3('0xf2')](_0x4ba17e,_[_0x1cd3('0x5e8')](_0x429a99[_0x1cd3('0xd32')](),_['keys'](_0x4ba17e)));}_0x2ce433[_0x1cd3('0x473')]({'title':_0x1cd3('0x248a'),'msg':_0x4dc2d0['variable'][_0x1cd3('0x98')]?_0x4dc2d0[_0x1cd3('0xb84')][_0x1cd3('0x98')]+'\x20has\x20been\x20saved!':''});_0x5b2589(_0x429a99);})['catch'](function(_0x4fd56a){if(_0x4fd56a[_0x1cd3('0x439')]&&_0x4fd56a[_0x1cd3('0x439')]['errors']&&_0x4fd56a[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x4dc2d0[_0x1cd3('0xd34')]=_0x4fd56a[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x4fd56a[_0x1cd3('0x43b')](),'type':_0x1cd3('0x187a')}];for(var _0x151650=0x0;_0x151650<_0x4fd56a[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length'];_0x151650++){_0x2ce433[_0x1cd3('0x434')]({'title':_0x4fd56a[_0x1cd3('0x439')]['errors'][_0x151650]['type'],'msg':_0x4fd56a[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x151650][_0x1cd3('0x43a')]});}}else{_0x2ce433['error']({'title':_0x4fd56a['status']?_0x1cd3('0x435')+_0x4fd56a[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x4fd56a['statusText']:_0x1cd3('0x187a'),'msg':_0x4fd56a['data']?JSON[_0x1cd3('0x438')](_0x4fd56a['data'][_0x1cd3('0x43a')]):_0x4fd56a[_0x1cd3('0x43b')]()});}});}function _0x4fa3f9(_0x229377){_0x4dc2d0[_0x1cd3('0xd34')]=[];var _0x2713a8=_0x519c34[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xd3a'))[_0x1cd3('0xd3b')](_0x1cd3('0x248b'))[_0x1cd3('0xd3d')](_0x1cd3('0x248c'))['ok']('Delete')[_0x1cd3('0x4d8')](_0x1cd3('0x674'))[_0x1cd3('0xd63')](_0x229377);_0x519c34[_0x1cd3('0x37e')](_0x2713a8)['then'](function(){_0x42d111[_0x1cd3('0xb84')]['delete']({'id':_0x4dc2d0[_0x1cd3('0xb84')]['id']})['$promise'][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x4dc2d0[_0x1cd3('0xef7')],{'id':_0x4dc2d0[_0x1cd3('0xb84')]['id']});_0x2ce433[_0x1cd3('0x473')]({'title':_0x1cd3('0x248d'),'msg':(_0x4dc2d0['variable'][_0x1cd3('0x98')]||_0x1cd3('0xb84'))+_0x1cd3('0xd41')});_0x5b2589(_0x4dc2d0[_0x1cd3('0xb84')]);})[_0x1cd3('0xfd')](function(_0x585d1a){if(_0x585d1a['data']&&_0x585d1a[_0x1cd3('0x439')]['errors']&&_0x585d1a['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x4dc2d0[_0x1cd3('0xd34')]=_0x585d1a['data'][_0x1cd3('0xd34')]||[{'message':_0x585d1a[_0x1cd3('0x43b')](),'type':_0x1cd3('0x248e')}];for(var _0x25a79c=0x0;_0x25a79c<_0x585d1a[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0x25a79c++){_0x2ce433[_0x1cd3('0x434')]({'title':_0x585d1a[_0x1cd3('0x439')]['errors'][_0x25a79c][_0x1cd3('0x424')],'msg':_0x585d1a['data'][_0x1cd3('0xd34')][_0x25a79c][_0x1cd3('0x43a')]});}}else{_0x2ce433[_0x1cd3('0x434')]({'title':_0x585d1a['status']?_0x1cd3('0x435')+_0x585d1a['status']+'\x20-\x20'+_0x585d1a[_0x1cd3('0xd35')]:_0x1cd3('0x248e'),'msg':_0x585d1a[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x585d1a['data'][_0x1cd3('0x43a')]):_0x585d1a[_0x1cd3('0x43a')]||_0x585d1a[_0x1cd3('0x43b')]()});}});},function(){});}function _0x3a1602(_0x8e24e1){return _0x8e24e1===null?undefined:new Date(_0x8e24e1);}function _0x5b2589(_0x33b809){_0x519c34[_0x1cd3('0x39d')](_0x33b809);}}}());(function(){'use strict';_0x15b4f2['$inject']=[_0x1cd3('0x460'),_0x1cd3('0x371'),_0x1cd3('0x53e'),_0x1cd3('0x969'),'$mdDialog','$document','$timeout','$translate',_0x1cd3('0xef7'),_0x1cd3('0x38a'),'userProfileSection',_0x1cd3('0x370'),_0x1cd3('0x2dd'),_0x1cd3('0x461'),_0x1cd3('0x56'),_0x1cd3('0x463'),_0x1cd3('0xc49')];angular['module']('app.tools')[_0x1cd3('0x39b')](_0x1cd3('0x248f'),_0x15b4f2);function _0x15b4f2(_0x577734,_0x19133f,_0x5cdf2a,_0x38dddb,_0x19b470,_0x4dc465,_0x344a6a,_0x1ed669,_0x3b82f7,_0x42bbfd,_0x2b0363,_0x3014ce,_0x10ad25,_0x53cec7,_0x5128f0,_0x4b51ac,_0x2d811f){var _0x5ed09d=this;_0x5ed09d[_0x1cd3('0x463')]=_0x4b51ac;_0x5ed09d[_0x1cd3('0xc49')]=_0x2d811f;_0x5ed09d[_0x1cd3('0x3ca')]=_0x5128f0[_0x1cd3('0x5d')]();_0x5ed09d['variables']=_0x3b82f7||{'count':0x0,'rows':[]};_0x5ed09d[_0x1cd3('0x38a')]=_0x42bbfd;_0x5ed09d[_0x1cd3('0x390')]=_0x2b0363&&_0x2b0363[_0x1cd3('0x466')]==0x1?_0x2b0363[_0x1cd3('0xf6')][0x0]:null;_0x5ed09d['crudPermissions']=_0x5128f0[_0x1cd3('0xd44')](_0x5ed09d[_0x1cd3('0x390')]?_0x5ed09d['userProfileSection'][_0x1cd3('0xd27')]:null);_0x5ed09d[_0x1cd3('0xd45')]='variables';_0x5ed09d[_0x1cd3('0xd46')]='';_0x5ed09d[_0x1cd3('0xd47')]=null;_0x5ed09d['selectedVariables']=[];_0x5ed09d[_0x1cd3('0x3d4')]={'fields':'createdAt,updatedAt,id,name,description','sort':_0x1cd3('0x5b'),'limit':0xa,'page':0x1};_0x5ed09d[_0x1cd3('0xd48')]=_0x47aa90;_0x5ed09d[_0x1cd3('0xecc')]=_0x502792;_0x5ed09d['success']=_0x28b549;_0x5ed09d[_0x1cd3('0x2490')]=_0x1150d8;_0x5ed09d['createOrEditVariable']=_0x457cb5;_0x5ed09d[_0x1cd3('0x2487')]=_0x153a6f;_0x5ed09d[_0x1cd3('0x2491')]=_0x153f22;_0x5ed09d['deleteSelectedVariables']=_0x395654;_0x5ed09d[_0x1cd3('0x2492')]=_0x5f7a0c;_0x5ed09d[_0x1cd3('0x2493')]=_0x28d5e4;function _0x47aa90(_0x3795c4,_0x334e1a){_0x19b470['show']({'controller':_0x1cd3('0x1163'),'controllerAs':'vm','templateUrl':'app/main/apps/tools/views/variables/create/dialog.html','parent':angular[_0x1cd3('0x37f')](_0x4dc465[_0x1cd3('0x380')]),'targetEvent':_0x334e1a,'clickOutsideToClose':!![],'locals':{'variable':_0x3795c4,'variables':_0x5ed09d[_0x1cd3('0xef7')][_0x1cd3('0xf6')],'license':_0x5ed09d[_0x1cd3('0x463')],'setting':null,'crudPermissions':_0x5ed09d[_0x1cd3('0xd27')]}});}function _0x502792(_0x47a7fc,_0x37dcad){var _0x55297b=_0x19b470['confirm']()[_0x1cd3('0x486')](_0x1cd3('0xd4f')+_[_0x1cd3('0xd50')]('variable')+'?')[_0x1cd3('0xd60')](_0x1cd3('0xd51')+(_0x47a7fc[_0x1cd3('0x98')]||_0x1cd3('0xb84'))+_0x1cd3('0xd52')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x2494'))['targetEvent'](_0x37dcad)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x19b470[_0x1cd3('0x37e')](_0x55297b)[_0x1cd3('0x77')](function(){_0x153a6f(_0x47a7fc);},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}var _0x5beaf2=!![];var _0x186559=0x1;_0x577734[_0x1cd3('0x4d6')](_0x1cd3('0xd56'),function(_0x1882f5,_0x187039){if(_0x5beaf2){_0x344a6a(function(){_0x5beaf2=![];});}else{if(!_0x187039){_0x186559=_0x5ed09d[_0x1cd3('0x3d4')]['page'];}if(_0x1882f5!==_0x187039){_0x5ed09d[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}if(!_0x1882f5){_0x5ed09d[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0x186559;}_0x5ed09d[_0x1cd3('0x2490')]();}});function _0x28b549(_0x48fd67){_0x5ed09d[_0x1cd3('0xef7')]=_0x48fd67||{'count':0x0,'rows':[]};}function _0x1150d8(){_0x5ed09d[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0x5ed09d[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0x5ed09d[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];if(_0x5128f0[_0x1cd3('0x57')](_0x1cd3('0x5f'))){_0x5ed09d[_0x1cd3('0x539')]=_0x3014ce[_0x1cd3('0xb84')][_0x1cd3('0x361')](_0x5ed09d[_0x1cd3('0x3d4')],_0x28b549)['$promise'];}else{_0x5ed09d[_0x1cd3('0x3d4')]['id']=_0x5ed09d[_0x1cd3('0x38a')]['id'];_0x5ed09d[_0x1cd3('0x3d4')][_0x1cd3('0xd58')]=_0x1cd3('0xa9');_0x5ed09d[_0x1cd3('0x539')]=_0x3014ce[_0x1cd3('0x38a')][_0x1cd3('0xd59')](_0x5ed09d[_0x1cd3('0x3d4')],_0x28b549)['$promise'];}}function _0x457cb5(_0x38f309,_0x48634d){_0x19b470[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1163'),'controllerAs':'vm','templateUrl':_0x1cd3('0x2495'),'parent':angular[_0x1cd3('0x37f')](_0x4dc465['body']),'targetEvent':_0x38f309,'clickOutsideToClose':!![],'locals':{'variable':_0x48634d,'variables':_0x5ed09d['variables'][_0x1cd3('0xf6')],'license':_0x5ed09d['license'],'setting':_0x5ed09d[_0x1cd3('0xc49')],'crudPermissions':_0x5ed09d[_0x1cd3('0xd27')]}});}function _0x153a6f(_0x137ebd){_0x3014ce[_0x1cd3('0xb84')][_0x1cd3('0xa1c')]({'id':_0x137ebd['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_['remove'](_0x5ed09d[_0x1cd3('0xef7')]['rows'],{'id':_0x137ebd['id']});_0x5ed09d[_0x1cd3('0xef7')][_0x1cd3('0x466')]-=0x1;if(!_0x5ed09d['variables']['rows']['length']){_0x5ed09d[_0x1cd3('0x2490')]();}_0x53cec7['success']({'title':_['startCase'](_0x1cd3('0x1217'))+_0x1cd3('0xd5c'),'msg':_0x137ebd[_0x1cd3('0x98')]?_0x137ebd[_0x1cd3('0x98')]+'\x20has\x20been\x20deleted!':''});})['catch'](function(_0x38244e){if(_0x38244e['data']&&_0x38244e['data'][_0x1cd3('0xd34')]&&_0x38244e[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length']){_0x5ed09d['errors']=_0x38244e[_0x1cd3('0x439')]['errors']||[{'message':_0x38244e['toString'](),'type':_0x1cd3('0x2496')}];for(var _0x152f70=0x0;_0x152f70<_0x38244e['data'][_0x1cd3('0xd34')]['length'];_0x152f70++){_0x53cec7[_0x1cd3('0x434')]({'title':_0x38244e['data'][_0x1cd3('0xd34')][_0x152f70]['type'],'msg':_0x38244e[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x152f70]['message']});}}else{_0x53cec7[_0x1cd3('0x434')]({'title':_0x38244e[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x38244e[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x38244e[_0x1cd3('0xd35')]:_0x1cd3('0x2496'),'msg':_0x38244e[_0x1cd3('0x439')]?JSON['stringify'](_0x38244e['data'][_0x1cd3('0x43a')]):_0x38244e['message']||_0x38244e[_0x1cd3('0x43b')]()});}});}function _0x153f22(){var _0x5e669b=angular['copy'](_0x5ed09d[_0x1cd3('0x2497')]);_0x5ed09d[_0x1cd3('0x2497')]=[];return _0x5e669b;}function _0x395654(_0x3a8eb6){var _0x136746=_0x19b470['confirm']()[_0x1cd3('0x486')](_0x1cd3('0x2498'))['htmlContent'](_0x1cd3('0xd51')+_0x5ed09d[_0x1cd3('0x2497')][_0x1cd3('0x7a')]+'\x20selected</b>'+'\x20will\x20be\x20deleted.')[_0x1cd3('0xd3d')](_0x1cd3('0x2499'))[_0x1cd3('0xd63')](_0x3a8eb6)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x19b470[_0x1cd3('0x37e')](_0x136746)['then'](function(){_0x5ed09d[_0x1cd3('0x2497')][_0x1cd3('0x394')](function(_0x49b4f3){_0x153a6f(_0x49b4f3);});_0x5ed09d[_0x1cd3('0x2497')]=[];});}function _0x5f7a0c(){_0x5ed09d[_0x1cd3('0x2497')]=[];}function _0x28d5e4(){_0x5ed09d[_0x1cd3('0x2497')]=_0x5ed09d[_0x1cd3('0xef7')][_0x1cd3('0xf6')];}}}());(function(){'use strict';_0x33fc61[_0x1cd3('0xc')]=[_0x1cd3('0x460'),'$state','$location',_0x1cd3('0x3c5'),'$q','$translate',_0x1cd3('0x461'),'screenRecordings','screenRecording',_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0x463'),_0x1cd3('0xc49'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x39'))[_0x1cd3('0x39b')](_0x1cd3('0x249a'),_0x33fc61);function _0x33fc61(_0x2f122a,_0x13a867,_0x3fd357,_0x2c360b,_0x472424,_0x1dfe8a,_0x1e94c1,_0x213345,_0x2ba100,_0x804f41,_0x1dd1d3,_0x1a485e,_0x307f9e,_0x260d6f){var _0x34bb11=this;_0x34bb11[_0x1cd3('0x3ca')]=_0x1dd1d3['getCurrentUser']();_0x34bb11['errors']=[];_0x34bb11[_0x1cd3('0xc49')]=_0x307f9e;_0x34bb11[_0x1cd3('0x463')]=_0x1a485e;_0x34bb11['crudPermissions']=_0x260d6f;_0x34bb11['hasModulePermissions']={};_0x34bb11['passwordPattern']=_0x34bb11[_0x1cd3('0xc49')]&&_0x34bb11[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x34bb11['title']='VIDEO.EDIT_SCREENRECORDING';_0x34bb11[_0x1cd3('0x13b8')]=angular['copy'](_0x2ba100);_0x34bb11['screenRecordings']=_0x213345;_0x34bb11[_0x1cd3('0x249b')]=![];if(!_0x34bb11[_0x1cd3('0x13b8')]){_0x34bb11[_0x1cd3('0x13b8')]={};_0x34bb11[_0x1cd3('0x486')]='VIDEO.NEW_SCREENRECORDING';_0x34bb11[_0x1cd3('0x249b')]=!![];}_0x34bb11['addNewscreenRecording']=_0x3e0d45;_0x34bb11[_0x1cd3('0x249c')]=_0x404e28;_0x34bb11['deletescreenRecording']=_0x1bed26;_0x34bb11[_0x1cd3('0xd31')]=_0x1d1506;_0x34bb11[_0x1cd3('0x39c')]=_0x351058;_0x804f41[_0x1cd3('0x368')][_0x1cd3('0x361')]({'fields':_0x1cd3('0x132b'),'sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x44883b){_0x34bb11['users']=_0x44883b[_0x1cd3('0xf6')]||[];})['catch'](function(_0x10d8fd){_0x1e94c1['error']({'title':_0x10d8fd['status']?'API:'+_0x10d8fd['status']+_0x1cd3('0x436')+_0x10d8fd[_0x1cd3('0xd35')]:_0x1cd3('0x249d'),'msg':_0x10d8fd['data']?JSON['stringify'](_0x10d8fd[_0x1cd3('0x439')]):_0x10d8fd['toString']()});});function _0x3e0d45(){_0x34bb11['errors']=[];_0x804f41[_0x1cd3('0x13b8')][_0x1cd3('0xd6d')](_0x34bb11[_0x1cd3('0x13b8')])['$promise'][_0x1cd3('0x77')](function(_0x5b0086){_0x34bb11[_0x1cd3('0x249e')][_0x1cd3('0x621')](_0x5b0086['toJSON']());_0x1e94c1[_0x1cd3('0x473')]({'title':_0x1cd3('0x249f'),'msg':_0x34bb11[_0x1cd3('0x13b8')][_0x1cd3('0x98')]?_0x34bb11[_0x1cd3('0x13b8')]['name']+_0x1cd3('0xd33'):''});_0x351058(_0x5b0086);})['catch'](function(_0x52dd2c){if(_0x52dd2c[_0x1cd3('0x439')]&&_0x52dd2c[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x52dd2c['data']['errors'][_0x1cd3('0x7a')]){_0x34bb11['errors']=_0x52dd2c[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x52dd2c[_0x1cd3('0x43b')](),'type':_0x1cd3('0x24a0')}];for(var _0x3986b7=0x0;_0x3986b7<_0x52dd2c[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x3986b7+=0x1){_0x1e94c1['error']({'title':_0x52dd2c['data'][_0x1cd3('0xd34')][_0x3986b7][_0x1cd3('0x424')],'msg':_0x52dd2c[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x3986b7][_0x1cd3('0x43a')]});}}else{_0x1e94c1[_0x1cd3('0x434')]({'title':_0x52dd2c['status']?_0x1cd3('0x435')+_0x52dd2c[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x52dd2c[_0x1cd3('0xd35')]:_0x1cd3('0x24a0'),'msg':_0x52dd2c[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x52dd2c[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x52dd2c['toString']()});}});}function _0x404e28(){_0x34bb11[_0x1cd3('0xd34')]=[];_0x804f41['screenRecording'][_0x1cd3('0x378')]({'id':_0x34bb11[_0x1cd3('0x13b8')]['id']},_0x34bb11[_0x1cd3('0x13b8')])['$promise'][_0x1cd3('0x77')](function(_0x1d637c){var _0x4d603d=_[_0x1cd3('0x442')](_0x34bb11[_0x1cd3('0x249e')],{'id':_0x1d637c['id']});if(_0x4d603d){_[_0x1cd3('0xf2')](_0x4d603d,_[_0x1cd3('0x5e8')](_0x1d637c[_0x1cd3('0xd32')](),_[_0x1cd3('0x80')](_0x4d603d)));}_0x1e94c1[_0x1cd3('0x473')]({'title':_0x1cd3('0x24a1'),'msg':_0x34bb11[_0x1cd3('0x13b8')][_0x1cd3('0x98')]?_0x34bb11[_0x1cd3('0x13b8')][_0x1cd3('0x98')]+_0x1cd3('0xd37'):''});_0x351058(_0x1d637c);})[_0x1cd3('0xfd')](function(_0x3c1d79){if(_0x3c1d79[_0x1cd3('0x439')]&&_0x3c1d79['data'][_0x1cd3('0xd34')]&&_0x3c1d79['data']['errors'][_0x1cd3('0x7a')]){_0x34bb11['errors']=_0x3c1d79['data'][_0x1cd3('0xd34')]||[{'message':_0x3c1d79[_0x1cd3('0x43b')](),'type':_0x1cd3('0x24a2')}];for(var _0x18f51b=0x0;_0x18f51b<_0x3c1d79[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0x18f51b++){_0x1e94c1[_0x1cd3('0x434')]({'title':_0x3c1d79[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x18f51b][_0x1cd3('0x424')],'msg':_0x3c1d79[_0x1cd3('0x439')]['errors'][_0x18f51b][_0x1cd3('0x43a')]});}}else{_0x1e94c1['error']({'title':_0x3c1d79['status']?'API:'+_0x3c1d79['status']+_0x1cd3('0x436')+_0x3c1d79[_0x1cd3('0xd35')]:'api.screenRecording.update','msg':_0x3c1d79[_0x1cd3('0x439')]?JSON['stringify'](_0x3c1d79['data']['message']):_0x3c1d79[_0x1cd3('0x43b')]()});}});}function _0x1bed26(_0x24c8e2){_0x34bb11[_0x1cd3('0xd34')]=[];var _0x1cae38=_0x2c360b[_0x1cd3('0xd39')]()['title'](_0x1cd3('0xd3a'))['content'](_0x1cd3('0x24a3'))[_0x1cd3('0xd3d')](_0x1cd3('0x24a4'))['ok'](_0x1cd3('0xd3f'))[_0x1cd3('0x4d8')](_0x1cd3('0x674'))[_0x1cd3('0xd63')](_0x24c8e2);_0x2c360b[_0x1cd3('0x37e')](_0x1cae38)[_0x1cd3('0x77')](function(){_0x804f41['screenRecording'][_0x1cd3('0xa1c')]({'id':_0x34bb11[_0x1cd3('0x13b8')]['id']})['$promise'][_0x1cd3('0x77')](function(){_['remove'](_0x34bb11[_0x1cd3('0x249e')],{'id':_0x34bb11[_0x1cd3('0x13b8')]['id']});_0x1e94c1['success']({'title':'screenRecording\x20properly\x20deleted!','msg':(_0x34bb11[_0x1cd3('0x13b8')][_0x1cd3('0x98')]||_0x1cd3('0x13b8'))+'\x20has\x20been\x20deleted!'});_0x351058(_0x34bb11[_0x1cd3('0x13b8')]);})[_0x1cd3('0xfd')](function(_0x18fa1e){if(_0x18fa1e['data']&&_0x18fa1e['data']['errors']&&_0x18fa1e['data'][_0x1cd3('0xd34')]['length']){_0x34bb11['errors']=_0x18fa1e[_0x1cd3('0x439')]['errors']||[{'message':_0x18fa1e[_0x1cd3('0x43b')](),'type':_0x1cd3('0x24a5')}];for(var _0x2bc534=0x0;_0x2bc534<_0x18fa1e[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x2bc534++){_0x1e94c1['error']({'title':_0x18fa1e[_0x1cd3('0x439')]['errors'][_0x2bc534][_0x1cd3('0x424')],'msg':_0x18fa1e['data'][_0x1cd3('0xd34')][_0x2bc534]['message']});}}else{_0x1e94c1[_0x1cd3('0x434')]({'title':_0x18fa1e[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x18fa1e[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x18fa1e[_0x1cd3('0xd35')]:_0x1cd3('0x24a5'),'msg':_0x18fa1e['data']?JSON['stringify'](_0x18fa1e[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x18fa1e[_0x1cd3('0x43a')]||_0x18fa1e[_0x1cd3('0x43b')]()});}});},function(){});}function _0x1d1506(_0x2297db){return _0x2297db===null?undefined:new Date(_0x2297db);}function _0x351058(_0x400f9a){_0x2c360b[_0x1cd3('0x39d')](_0x400f9a);}}}());(function(){'use strict';_0x46f116[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x3c5'),_0x1cd3('0x461'),_0x1cd3('0x370'),_0x1cd3('0x24a6'),_0x1cd3('0x24a7'),_0x1cd3('0x91b'),'varPath',_0x1cd3('0x24a8'),'$q'];angular[_0x1cd3('0x0')](_0x1cd3('0x39'))[_0x1cd3('0x39b')](_0x1cd3('0x24a9'),_0x46f116);function _0x46f116(_0x1e526f,_0x573b91,_0x5d7459,_0x5a76a5,_0x32bea4,_0x3e4a96,_0x523a81,_0x3138d0,_0x18c168,_0x31428a){var _0x46c4ce=this;_0x46c4ce['loading']=![];_0x46c4ce['recording']=Object[_0x1cd3('0x382')]({},_0x32bea4);_0x46c4ce[_0x1cd3('0x42a')]='screenRecording';_0x46c4ce[_0x1cd3('0x37f')]=_0x18c168;_0x46c4ce['actionOptions']=Object[_0x1cd3('0x382')]({},_0x3e4a96);_0x46c4ce['path']=_0x3138d0;_0x46c4ce['label']=_0x523a81;_0x46c4ce[_0x1cd3('0xd0a')]=_0x1cd3('0x2e3');_0x46c4ce['model']=_0x1cd3('0x13b8');console[_0x1cd3('0x7d')](_0x1cd3('0x24aa'),_0x46c4ce[_0x1cd3('0x480')]);console[_0x1cd3('0x7d')](_0x1cd3('0x24ab'),_0x46c4ce[_0x1cd3('0x24a6')][_0x46c4ce[_0x1cd3('0x480')]]);_0x46c4ce['filename']=_0x46c4ce[_0x1cd3('0x24a6')][_0x46c4ce[_0x1cd3('0x480')]]['indexOf']('/')>-0x1?_0x46c4ce[_0x1cd3('0x24a6')][_0x46c4ce[_0x1cd3('0x480')]][_0x1cd3('0x922')](_0x46c4ce['recording'][_0x46c4ce[_0x1cd3('0x480')]][_0x1cd3('0x24ac')]('/')+0x1):_0x46c4ce[_0x1cd3('0x24a6')][_0x46c4ce[_0x1cd3('0x480')]][_0x1cd3('0x45e')]('\x5c')>-0x1?_0x46c4ce[_0x1cd3('0x24a6')][_0x46c4ce[_0x1cd3('0x480')]][_0x1cd3('0x922')](_0x46c4ce[_0x1cd3('0x24a6')][_0x46c4ce['path']][_0x1cd3('0x24ac')]('\x5c')+0x1):_0x46c4ce['recording'][_0x46c4ce[_0x1cd3('0x480')]];_0x46c4ce['format']=![];if(_[_0x1cd3('0x472')](_0x46c4ce['recording'][_0x1cd3('0x130')])){_0x46c4ce['recording'][_0x1cd3('0x130')]=_0x46c4ce[_0x1cd3('0x6b6')]['slice'](_0x46c4ce[_0x1cd3('0x6b6')][_0x1cd3('0x24ac')]('.'));}if(_0x46c4ce[_0x1cd3('0x24a6')]['format']===_0x1cd3('0x6b7')&&_0x46c4ce[_0x1cd3('0x37f')]===_0x1cd3('0x484')||_0x46c4ce[_0x1cd3('0x24a6')][_0x1cd3('0x130')]===_0x1cd3('0x24ad')&&_0x46c4ce['element']===_0x1cd3('0x2e3')){_0x46c4ce[_0x1cd3('0x130')]=!![];}_0x46c4ce[_0x1cd3('0x24ae')]=!![];if(_0x46c4ce['format']){_0x117b1d();}function _0x117b1d(){var _0x29a2f9=_0x31428a['defer']();_0x5a76a5['screenRecording'][_0x1cd3('0x489')]({'id':_0x46c4ce[_0x1cd3('0x24a6')]['id'],'path':String(_0x46c4ce[_0x1cd3('0x480')])})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x4e5a80){_0x46c4ce[_0x1cd3('0x130')]=!![];_0x46c4ce[_0x1cd3('0x24ae')]=!![];_0x29a2f9[_0x1cd3('0x58')]();})[_0x1cd3('0xfd')](function(_0x57c077){console[_0x1cd3('0x7d')](_0x1cd3('0x18a0'));_0x46c4ce[_0x1cd3('0x130')]=![];_0x46c4ce[_0x1cd3('0x24ae')]=![];_0x29a2f9[_0x1cd3('0x58')]();});return _0x29a2f9[_0x1cd3('0x539')];}if(!_[_0x1cd3('0x472')](_0x3e4a96[_0x1cd3('0x8e2')])&&_0x3e4a96[_0x1cd3('0x8e2')]){_0x46c4ce[_0x1cd3('0x8e2')]=Object[_0x1cd3('0x382')]({},_0x32bea4);var _0x3eb4a7=Object[_0x1cd3('0x80')](_0x32bea4);_0x3eb4a7['forEach'](function(_0x4846c0){if(String(_0x4846c0[0x0][_0x1cd3('0x437')]())===String(_0x4846c0[0x0])){delete _0x46c4ce[_0x1cd3('0x8e2')][_0x4846c0];}});_0x46c4ce['propertiesDefault']={};if(!_['isNil'](_0x3e4a96[_0x1cd3('0x24af')])&&_0x3e4a96[_0x1cd3('0x24af')]['length']>0x0){_0x46c4ce[_0x1cd3('0x24b0')]=Object['assign']({},_0x32bea4);var _0x33e1f9=_0x3e4a96['propertiesList'];var _0xca58ed=Object['keys'](_0x32bea4);var _0x55bd28=!![];_0xca58ed[_0x1cd3('0x394')](function(_0x12d518){_0x55bd28=!![];_0x33e1f9[_0x1cd3('0x394')](function(_0xce1ea2){if(String(_0x12d518)===String(_0xce1ea2)){_0x55bd28=![];}});if(_0x55bd28){delete _0x46c4ce[_0x1cd3('0x24b0')][_0x12d518];}});_0x46c4ce[_0x1cd3('0x8e2')]=_0x46c4ce['propertiesDefault'];}if(!_[_0x1cd3('0x472')](_0x3e4a96['extraData'])&&_0x3e4a96['extraData'][_0x1cd3('0x7a')]>0x0){_0x46c4ce[_0x1cd3('0x24b1')]={};var _0x23648f=_0x3e4a96[_0x1cd3('0x24b2')];for(var _0x6fb141=0x0;_0x6fb141<_0x23648f['length'];_0x6fb141++){var _0x53d598=_0x23648f[_0x6fb141]['values'];var _0x252591=_0x23648f[_0x6fb141]['model'];for(var _0x2f3f5f=0x0;_0x2f3f5f<_0x53d598[_0x1cd3('0x7a')];_0x2f3f5f++){_0x46c4ce[_0x1cd3('0x24b1')][_0x53d598[_0x2f3f5f][_0x1cd3('0x401')]]=_0x32bea4[_0x252591][_0x53d598[_0x2f3f5f][_0x1cd3('0x65c')]];}}_0x46c4ce[_0x1cd3('0x8e2')]=Object[_0x1cd3('0x382')]({},_0x46c4ce[_0x1cd3('0x24b0')],_0x46c4ce[_0x1cd3('0x24b1')]);}}_0x46c4ce[_0x1cd3('0x39c')]=_0x2a8228;function _0x2a8228(){_0x573b91['hide']();}}}());(function(){'use strict';_0x574291[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x371'),'$state','$mdSidenav',_0x1cd3('0x3c5'),_0x1cd3('0x372'),'$timeout',_0x1cd3('0x3f7'),_0x1cd3('0x249e'),'userProfile','userProfileSection','api',_0x1cd3('0x2dd'),_0x1cd3('0x461'),_0x1cd3('0x56'),_0x1cd3('0x463'),'setting'];angular['module'](_0x1cd3('0x39'))['controller'](_0x1cd3('0x24b3'),_0x574291);function _0x574291(_0x24342e,_0x1d692e,_0x279869,_0x117287,_0x540339,_0x8eeacd,_0x36e165,_0x2875ec,_0x32903c,_0x5114a8,_0x31f5ea,_0x1aa189,_0x2063eb,_0x164387,_0x4c5b8b,_0x2d0606,_0x5384ac){var _0x321bb6=this;_0x321bb6[_0x1cd3('0x463')]=_0x2d0606;_0x321bb6[_0x1cd3('0xc49')]=_0x5384ac;_0x321bb6[_0x1cd3('0x3ca')]=_0x4c5b8b['getCurrentUser']();_0x321bb6[_0x1cd3('0x249e')]=_0x32903c||{'count':0x0,'rows':[]};_0x321bb6[_0x1cd3('0x38a')]=_0x5114a8;_0x321bb6[_0x1cd3('0x390')]=_0x31f5ea&&_0x31f5ea['count']==0x1?_0x31f5ea['rows'][0x0]:null;_0x321bb6['crudPermissions']=_0x4c5b8b[_0x1cd3('0xd44')](_0x321bb6[_0x1cd3('0x390')]?_0x321bb6['userProfileSection'][_0x1cd3('0xd27')]:null);_0x321bb6[_0x1cd3('0xd45')]=_0x1cd3('0x249e');_0x321bb6['listOrder']='';_0x321bb6[_0x1cd3('0xd47')]=null;_0x321bb6[_0x1cd3('0x24b4')]=[];_0x321bb6[_0x1cd3('0x3d4')]={'fields':_0x1cd3('0x2df'),'createdAt':_0x1cd3('0x24b5'),'includeAll':_0x1cd3('0x2e0'),'sort':_0x1cd3('0x5b'),'limit':0xa,'page':0x1};_0x321bb6['query'][_0x1cd3('0xe0d')]=_0x2063eb[_0x1cd3('0x2e2')]();_0x321bb6[_0x1cd3('0x1315')]=_0x17d091();function _0x17d091(){return[{'name':_0x1cd3('0x132c'),'key':'createdAt','type':_0x1cd3('0x406'),'label':_0x1cd3('0x24b6')}];}_0x321bb6[_0x1cd3('0x24b7')]=_0x1b677f;_0x321bb6['downloadfile2']=_0x1a06e1;_0x321bb6[_0x1cd3('0xecc')]=_0x30869f;_0x321bb6[_0x1cd3('0x473')]=_0x280cff;_0x321bb6[_0x1cd3('0x24b8')]=_0x1f0463;_0x321bb6[_0x1cd3('0x24b9')]=_0x50f85f;_0x321bb6[_0x1cd3('0x24ba')]=_0x499aa2;_0x321bb6['exportSelectedScreenRecordings']=_0x1bee93;_0x321bb6[_0x1cd3('0x24bb')]=_0xc0541;_0x321bb6[_0x1cd3('0x24bc')]=_0x329205;_0x321bb6['selectAllScreenRecordings']=_0x489f70;_0x321bb6[_0x1cd3('0x24bd')]=_0x4bcb4e;_0x1aa189['user'][_0x1cd3('0x361')]({'fields':_0x1cd3('0x132b'),'sort':'name','nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')]['then'](function(_0x1a39cb){_0x321bb6[_0x1cd3('0xef4')]=_0x1a39cb[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x4f534d){_0x164387['error']({'title':_0x4f534d['status']?_0x1cd3('0x435')+_0x4f534d['status']+'\x20-\x20'+_0x4f534d[_0x1cd3('0xd35')]:_0x1cd3('0x249d'),'msg':_0x4f534d[_0x1cd3('0x439')]?JSON['stringify'](_0x4f534d[_0x1cd3('0x439')]):_0x4f534d[_0x1cd3('0x43b')]()});});function _0x1b677f(_0x14bd10,_0xf56643,_0x3ed857,_0x81b5c7,_0x119fea){var _0x33a08d={'upperTitle':![],'lowerTitle':!![],'properties':!![],'propertiesIcon':_0x1cd3('0x1fb7'),'propertiesList':['format',_0x1cd3('0x24be'),_0x1cd3('0x15e1'),_0x1cd3('0x24bf'),'closedAt',_0x1cd3('0xe0d')],'extraData':[{'model':_0x1cd3('0x132a'),'values':[{'key':'name','text':'agentname'}]}]};var _0x535080={};_0x535080['route']=_0x1cd3('0x13b8');_0x535080[_0x1cd3('0x98')]='screenRecordings';_0x535080[_0x1cd3('0x42e')]='screenRecording';_0x535080[_0x1cd3('0x24c0')]=_0x1cd3('0x13b8');var _0x81b5c7=String(_0x81b5c7);var _0x40a7be=String(_0x3ed857);console[_0x1cd3('0x7d')](_0x1cd3('0x24c1'),String(_0x3ed857));_0x540339[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x24a9'),'controllerAs':'vm','templateUrl':_0x1cd3('0x24c2'),'parent':angular['element'](_0x8eeacd['body']),'targetEvent':_0xf56643,'clickOutsideToClose':!![],'locals':{'recording':_0x14bd10,'recordings':_0x321bb6['screenRecordings'][_0x1cd3('0xf6')],'license':_0x321bb6[_0x1cd3('0x463')],'setting':null,'item':_0x535080,'actionOptions':_0x33a08d,'label':_0x81b5c7,'varPath':_0x40a7be,'elementTag':String(_0x119fea)}});}function _0x1a06e1(_0x512e5e,_0x19c42f){var _0x21226c=![];var _0x3a2f6d=!_[_0x1cd3('0x472')](_0x512e5e[_0x1cd3('0x130')])?_0x512e5e['format']:_0x512e5e['value']['substring'](_0x512e5e['value'][_0x1cd3('0x24ac')]('.'));_0x21226c=_0x3a2f6d===_0x1cd3('0x24ad')?!![]:![];var _0x15d991=_0x512e5e[_0x1cd3('0x3db')][_0x1cd3('0x24ac')]('/')>-0x1?_0x512e5e[_0x1cd3('0x3db')][_0x1cd3('0x922')](_0x512e5e[_0x1cd3('0x3db')][_0x1cd3('0x24ac')]('/')+0x1):_0x512e5e[_0x1cd3('0x3db')][_0x1cd3('0x24ac')]('\x5c')>-0x1?_0x512e5e[_0x1cd3('0x3db')][_0x1cd3('0x922')](_0x512e5e[_0x1cd3('0x3db')][_0x1cd3('0x24ac')]('\x5c')+0x1):_0x512e5e[_0x1cd3('0x3db')];return _0x1aa189[_0x1cd3('0x13b8')]['download']({'id':_0x512e5e['id']})['$promise'][_0x1cd3('0x77')](function(_0x492247){var _0x324b47=[_0x492247[_0x1cd3('0x6ef')]];var _0x1514d4='download';var _0x163be0=new Blob(_0x324b47,{'type':_0x492247[_0x1cd3('0x424')]});_0x1514d4=_0x15d991;var _0x37446e=window[_0x1cd3('0x924')][_0x1cd3('0x3aa')]('a');_0x37446e[_0x1cd3('0x481')]('href',URL['createObjectURL'](_0x163be0));_0x37446e[_0x1cd3('0x481')](_0x1cd3('0x489'),_0x1514d4);document[_0x1cd3('0x380')][_0x1cd3('0xd4e')](_0x37446e);_0x37446e[_0x1cd3('0x52d')]();})['catch'](function(_0x4b673e){if(_0x4b673e[_0x1cd3('0x439')]&&_0x4b673e[_0x1cd3('0x439')]['errors']&&_0x4b673e['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){for(var _0x437478=0x0;_0x437478<_0x4b673e[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x437478++){_0x164387[_0x1cd3('0x434')]({'title':_0x4b673e[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x437478][_0x1cd3('0x424')],'msg':_0x4b673e['data'][_0x1cd3('0xd34')][_0x437478][_0x1cd3('0x43a')]});}}else{if(String(_0x4b673e[_0x1cd3('0x3a6')])===_0x1cd3('0x24c3')&&_0x21226c===![]){_0x164387[_0x1cd3('0x654')]({'title':_0x2875ec[_0x1cd3('0x44a')]('VIDEO.CANT_DOWNLOAD_THIS_FILE'),'msg':_0x2875ec[_0x1cd3('0x44a')]('VIDEO.WRONG_EXTENSION')});}else if(String(_0x4b673e[_0x1cd3('0x3a6')])===_0x1cd3('0x24c3')){_0x164387[_0x1cd3('0x654')]({'title':_0x2875ec[_0x1cd3('0x44a')](_0x1cd3('0x24c4')),'msg':_0x2875ec[_0x1cd3('0x44a')](_0x1cd3('0x24c5'))});}else{_0x164387['error']({'title':_0x4b673e[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x4b673e[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x4b673e['statusText']:_0x1cd3('0x24a0'),'msg':_0x4b673e[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x4b673e['data'][_0x1cd3('0x43a')]):_0x4b673e[_0x1cd3('0x43b')]()});}}});}function _0x30869f(_0x1321b2,_0x445f49){var _0x44049e=_0x540339['confirm']()[_0x1cd3('0x486')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20'+_[_0x1cd3('0xd50')](_0x1cd3('0x13b8'))+'?')['htmlContent'](_0x1cd3('0xd51')+(_0x1321b2[_0x1cd3('0x98')]||_0x1cd3('0x13b8'))+_0x1cd3('0xd52')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')]('delete\x20screenRecording')[_0x1cd3('0xd63')](_0x445f49)['ok']('OK')[_0x1cd3('0x4d8')]('CANCEL');_0x540339[_0x1cd3('0x37e')](_0x44049e)['then'](function(){_0x499aa2(_0x1321b2);},function(){console['log']('CANCEL');});}var _0x4796b3=!![];var _0x5f063c=0x1;_0x24342e[_0x1cd3('0x4d6')](_0x1cd3('0xd56'),function(_0x57725f,_0xd5c166){if(_0x4796b3){_0x36e165(function(){_0x4796b3=![];});}else{if(!_0xd5c166){_0x5f063c=_0x321bb6[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0x57725f!==_0xd5c166){_0x321bb6[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}if(!_0x57725f){_0x321bb6[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0x5f063c;}_0x321bb6['getScreenRecordings']();}});function _0x4bcb4e(_0x261810){var _0x2e4062=Math['floor'](_0x261810/0x3e8%0x3c);var _0x1230ba=Math['floor'](_0x261810/(0x3e8*0x3c)%0x3c);var _0xaad1d=Math['floor'](_0x261810/(0x3e8*0x3c*0x3c)%0x18);var _0x44c1fc=_0xaad1d<0xa?'0'+String(_0xaad1d):String(_0xaad1d);var _0x307197=_0x1230ba<0xa?'0'+String(_0x1230ba):String(_0x1230ba);var _0xeac1d7=_0x2e4062<0xa?'0'+String(_0x2e4062):String(_0x2e4062);return _0x44c1fc+':'+_0x307197+':'+_0xeac1d7;}function _0x280cff(_0x3feaf6){_0x321bb6['screenRecordings']=_0x3feaf6||{'count':0x0,'rows':[]};}function _0x1f0463(){_0x321bb6[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0x321bb6[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0x321bb6[_0x1cd3('0x3d4')]['limit'];if(_0x4c5b8b[_0x1cd3('0x57')](_0x1cd3('0x5f'))){_0x321bb6[_0x1cd3('0x539')]=_0x1aa189[_0x1cd3('0x13b8')][_0x1cd3('0x361')](_0x321bb6['query'],_0x280cff)['$promise'];}else{_0x321bb6[_0x1cd3('0x3d4')]['id']=_0x321bb6[_0x1cd3('0x38a')]['id'];_0x321bb6[_0x1cd3('0x3d4')][_0x1cd3('0xd58')]=_0x1cd3('0x2e1');_0x321bb6[_0x1cd3('0x539')]=_0x1aa189[_0x1cd3('0x38a')][_0x1cd3('0xd59')](_0x321bb6[_0x1cd3('0x3d4')],_0x280cff)['$promise'];}}function _0x50f85f(_0x1d5bbc,_0x58d0e8){_0x540339[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x249a'),'controllerAs':'vm','templateUrl':_0x1cd3('0x24c6'),'parent':angular[_0x1cd3('0x37f')](_0x8eeacd['body']),'targetEvent':_0x1d5bbc,'clickOutsideToClose':!![],'locals':{'screenRecording':_0x58d0e8,'screenRecordings':_0x321bb6[_0x1cd3('0x249e')][_0x1cd3('0xf6')],'license':_0x321bb6['license'],'setting':_0x321bb6['setting'],'crudPermissions':_0x321bb6['crudPermissions']}});}function _0x499aa2(_0x3c19f6){_0x1aa189[_0x1cd3('0x13b8')][_0x1cd3('0xa1c')]({'id':_0x3c19f6['id']})[_0x1cd3('0x81')]['then'](function(){_[_0x1cd3('0x383')](_0x321bb6[_0x1cd3('0x249e')][_0x1cd3('0xf6')],{'id':_0x3c19f6['id']});_0x321bb6['screenRecordings'][_0x1cd3('0x466')]-=0x1;if(!_0x321bb6[_0x1cd3('0x249e')]['rows'][_0x1cd3('0x7a')]){_0x321bb6[_0x1cd3('0x24b8')]();}_0x164387['success']({'title':_[_0x1cd3('0xd50')](_0x1cd3('0x13b8'))+'\x20deleted!','msg':_0x3c19f6[_0x1cd3('0x98')]?_0x3c19f6[_0x1cd3('0x98')]+_0x1cd3('0xd41'):''});})[_0x1cd3('0xfd')](function(_0x170ca7){if(_0x170ca7[_0x1cd3('0x439')]&&_0x170ca7[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x170ca7['data']['errors'][_0x1cd3('0x7a')]){_0x321bb6['errors']=_0x170ca7[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x170ca7[_0x1cd3('0x43b')](),'type':'SYSTEM:DELETEscreenRecording'}];for(var _0x1902cc=0x0;_0x1902cc<_0x170ca7[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0x1902cc++){_0x164387[_0x1cd3('0x434')]({'title':_0x170ca7[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1902cc]['type'],'msg':_0x170ca7['data']['errors'][_0x1902cc][_0x1cd3('0x43a')]});}}else{_0x164387[_0x1cd3('0x434')]({'title':_0x170ca7[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x170ca7[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x170ca7[_0x1cd3('0xd35')]:_0x1cd3('0x24c7'),'msg':_0x170ca7[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x170ca7[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x170ca7[_0x1cd3('0x43a')]||_0x170ca7['toString']()});}});}function _0x1bee93(){var _0x828648=angular['copy'](_0x321bb6[_0x1cd3('0x24b4')]);_0x321bb6['selectedScreenRecordings']=[];return _0x828648;}function _0xc0541(_0x21a1ad){var _0x5d4c16=_0x540339[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x24c8'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x321bb6[_0x1cd3('0x24b4')][_0x1cd3('0x7a')]+_0x1cd3('0xd61')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x24c9'))['targetEvent'](_0x21a1ad)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x540339[_0x1cd3('0x37e')](_0x5d4c16)['then'](function(){_0x321bb6[_0x1cd3('0x24b4')]['forEach'](function(_0x4b526d){_0x499aa2(_0x4b526d);});_0x321bb6['selectedScreenRecordings']=[];});}function _0x329205(){_0x321bb6[_0x1cd3('0x24b4')]=[];}function _0x489f70(){_0x321bb6['selectedScreenRecordings']=_0x321bb6['screenRecordings'][_0x1cd3('0xf6')];}}}());(function(){'use strict';_0x147922[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x371'),_0x1cd3('0x53e'),_0x1cd3('0x969'),_0x1cd3('0x3c5'),_0x1cd3('0x372'),_0x1cd3('0x3e7'),'$translate',_0x1cd3('0x24ca'),_0x1cd3('0x38a'),_0x1cd3('0x390'),_0x1cd3('0x370'),'msUtils',_0x1cd3('0x461'),'Auth',_0x1cd3('0x463'),_0x1cd3('0xc49')];angular[_0x1cd3('0x0')](_0x1cd3('0x2d'))[_0x1cd3('0x39b')](_0x1cd3('0x24cb'),_0x147922);function _0x147922(_0x37d5cc,_0x1e0438,_0x4dca28,_0x5329e0,_0x41927f,_0x361e2f,_0x2e85a9,_0x53d70b,_0x22f5e4,_0x313ec7,_0x4efc6d,_0x2127d2,_0x2edfaf,_0x483fd1,_0x148827,_0x5f1faf,_0x22ab9d){var _0x40f1de=this;_0x40f1de[_0x1cd3('0x463')]=_0x5f1faf;_0x40f1de[_0x1cd3('0xc49')]=_0x22ab9d;_0x40f1de[_0x1cd3('0x3ca')]=_0x148827[_0x1cd3('0x5d')]();_0x40f1de[_0x1cd3('0x24ca')]=_0x22f5e4||{'count':0x0,'rows':[]};_0x40f1de['userProfile']=_0x313ec7;_0x40f1de[_0x1cd3('0x390')]=_0x4efc6d&&_0x4efc6d[_0x1cd3('0x466')]==0x1?_0x4efc6d[_0x1cd3('0xf6')][0x0]:null;_0x40f1de['crudPermissions']=_0x148827['parseCrudPermissions'](_0x40f1de[_0x1cd3('0x390')]?_0x40f1de[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);_0x40f1de[_0x1cd3('0xd45')]=_0x1cd3('0x24ca');_0x40f1de[_0x1cd3('0xd46')]='';_0x40f1de[_0x1cd3('0xd47')]=null;_0x40f1de[_0x1cd3('0x24cc')]=[];_0x40f1de[_0x1cd3('0x3d4')]={'fields':_0x1cd3('0x336'),'sort':_0x1cd3('0x5b'),'limit':0xa,'page':0x1};_0x40f1de[_0x1cd3('0x24cd')]=_[_0x1cd3('0xe2d')]([{'option':_0x1cd3('0x24ce'),'value':_0x1cd3('0x24cf')},{'option':'B:\x20Instead\x20of\x20whispering\x20on\x20a\x20single\x20channel\x20barge\x20in\x20on\x20both\x20channels\x20involved\x20in\x20the\x20call.','value':_0x1cd3('0x24d0')},{'option':_0x1cd3('0x24d1'),'value':'\x27E\x27'},{'option':_0x1cd3('0x24d2'),'value':_0x1cd3('0x24d3')},{'option':_0x1cd3('0x24d4'),'value':'\x27q\x27'},{'option':_0x1cd3('0x24d5'),'value':_0x1cd3('0x24d6')},{'option':_0x1cd3('0x24d7'),'value':'\x27S\x27'},{'option':_0x1cd3('0x24d8'),'value':_0x1cd3('0x24d9')},{'option':'W:\x20Enable\x20private\x20whisper\x20mode,\x20so\x20the\x20spying\x20channel\x20can\x20talk\x20to\x20the\x20spied-on\x20channel\x20but\x20cannot\x20listen\x20to\x20that\x20channel.','value':_0x1cd3('0x24da')}],function(_0x185552){return _[_0x1cd3('0x3f1')](_0x185552[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x40f1de['arrayrecordingFormat']=_['keyBy']([{'option':_0x1cd3('0x6b5'),'value':'\x27wav\x27'},{'option':_0x1cd3('0xf38'),'value':'\x27gsm\x27'},{'option':_0x1cd3('0x1e71'),'value':_0x1cd3('0x20e5')}],function(_0x3b2c3e){return _['replace'](_0x3b2c3e[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x40f1de[_0x1cd3('0xd48')]=_0x3c14f9;_0x40f1de[_0x1cd3('0xecc')]=_0x140137;_0x40f1de[_0x1cd3('0x473')]=_0xade75b;_0x40f1de['getChanSpies']=_0x16bd5f;_0x40f1de[_0x1cd3('0x24db')]=_0x35bf4a;_0x40f1de['deletechanSpy']=_0x203fb6;_0x40f1de[_0x1cd3('0x24dc')]=_0x12f795;_0x40f1de[_0x1cd3('0x24dd')]=_0x2874c4;_0x40f1de[_0x1cd3('0x24de')]=_0x46e2af;_0x40f1de[_0x1cd3('0x24df')]=_0x3a3941;function _0x3c14f9(_0x174b29,_0x3d141e){_0x41927f[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x24e0'),'controllerAs':'vm','templateUrl':'app/main/apps/voice/views/chanSpies/create/dialog.html','parent':angular[_0x1cd3('0x37f')](_0x361e2f[_0x1cd3('0x380')]),'targetEvent':_0x3d141e,'clickOutsideToClose':!![],'locals':{'chanSpy':_0x174b29,'chanSpies':_0x40f1de['chanSpies'][_0x1cd3('0xf6')],'license':_0x40f1de['license'],'setting':null,'crudPermissions':_0x40f1de[_0x1cd3('0xd27')]}});}function _0x140137(_0x1484ee,_0x599c4c){var _0x224a72=_0x41927f[_0x1cd3('0xd39')]()[_0x1cd3('0x486')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20'+_[_0x1cd3('0xd50')]('chanSpy')+'?')['htmlContent']('<b>'+(_0x1484ee[_0x1cd3('0x98')]||_0x1cd3('0x24e1'))+'</b>'+'\x20will\x20be\x20deleted.')[_0x1cd3('0xd3d')](_0x1cd3('0x24e2'))['targetEvent'](_0x599c4c)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x41927f[_0x1cd3('0x37e')](_0x224a72)['then'](function(){_0x203fb6(_0x1484ee);},function(){console[_0x1cd3('0x7d')]('CANCEL');});}var _0xc788d7=!![];var _0x44524d=0x1;_0x37d5cc[_0x1cd3('0x4d6')](_0x1cd3('0xd56'),function(_0x1b6b30,_0x5ce8fe){if(_0xc788d7){_0x2e85a9(function(){_0xc788d7=![];});}else{if(!_0x5ce8fe){_0x44524d=_0x40f1de['query'][_0x1cd3('0x8fd')];}if(_0x1b6b30!==_0x5ce8fe){_0x40f1de[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}if(!_0x1b6b30){_0x40f1de[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0x44524d;}_0x40f1de[_0x1cd3('0x24e3')]();}});function _0xade75b(_0x1de30e){_0x40f1de[_0x1cd3('0x24ca')]=_0x1de30e||{'count':0x0,'rows':[]};}function _0x16bd5f(){_0x40f1de[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0x40f1de[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0x40f1de[_0x1cd3('0x3d4')]['limit'];if(_0x148827[_0x1cd3('0x57')](_0x1cd3('0x5f'))){_0x40f1de[_0x1cd3('0x539')]=_0x2127d2[_0x1cd3('0x24e4')][_0x1cd3('0x361')](_0x40f1de[_0x1cd3('0x3d4')],_0xade75b)['$promise'];}else{_0x40f1de[_0x1cd3('0x3d4')]['id']=_0x40f1de[_0x1cd3('0x38a')]['id'];_0x40f1de[_0x1cd3('0x3d4')][_0x1cd3('0xd58')]=_0x1cd3('0x337');_0x40f1de['promise']=_0x2127d2[_0x1cd3('0x38a')][_0x1cd3('0xd59')](_0x40f1de['query'],_0xade75b)[_0x1cd3('0x81')];}}function _0x35bf4a(_0x3d1aee,_0x4aeff7){_0x41927f['show']({'controller':_0x1cd3('0x24e0'),'controllerAs':'vm','templateUrl':_0x1cd3('0x24e5'),'parent':angular[_0x1cd3('0x37f')](_0x361e2f['body']),'targetEvent':_0x3d1aee,'clickOutsideToClose':!![],'locals':{'chanSpy':_0x4aeff7,'chanSpies':_0x40f1de[_0x1cd3('0x24ca')]['rows'],'license':_0x40f1de[_0x1cd3('0x463')],'setting':_0x40f1de['setting'],'crudPermissions':_0x40f1de['crudPermissions']}});}function _0x203fb6(_0x46f9c1){_0x2127d2[_0x1cd3('0x24e4')][_0x1cd3('0xa1c')]({'id':_0x46f9c1['id']})['$promise'][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x40f1de[_0x1cd3('0x24ca')][_0x1cd3('0xf6')],{'id':_0x46f9c1['id']});_0x40f1de[_0x1cd3('0x24ca')][_0x1cd3('0x466')]-=0x1;if(!_0x40f1de['chanSpies'][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){_0x40f1de[_0x1cd3('0x24e3')]();}_0x483fd1['success']({'title':_[_0x1cd3('0xd50')](_0x1cd3('0x24e1'))+_0x1cd3('0xd5c'),'msg':_0x46f9c1[_0x1cd3('0x98')]?_0x46f9c1[_0x1cd3('0x98')]+'\x20has\x20been\x20deleted!':''});})[_0x1cd3('0xfd')](function(_0x5be9cb){if(_0x5be9cb[_0x1cd3('0x439')]&&_0x5be9cb[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x5be9cb[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x40f1de[_0x1cd3('0xd34')]=_0x5be9cb['data'][_0x1cd3('0xd34')]||[{'message':_0x5be9cb['toString'](),'type':_0x1cd3('0x24e6')}];for(var _0x2bb1da=0x0;_0x2bb1da<_0x5be9cb[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0x2bb1da++){_0x483fd1[_0x1cd3('0x434')]({'title':_0x5be9cb[_0x1cd3('0x439')]['errors'][_0x2bb1da][_0x1cd3('0x424')],'msg':_0x5be9cb[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x2bb1da][_0x1cd3('0x43a')]});}}else{_0x483fd1['error']({'title':_0x5be9cb['status']?'API:'+_0x5be9cb[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x5be9cb[_0x1cd3('0xd35')]:'SYSTEM:DELETEvoiceChanSpy','msg':_0x5be9cb['data']?JSON[_0x1cd3('0x438')](_0x5be9cb[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x5be9cb[_0x1cd3('0x43a')]||_0x5be9cb[_0x1cd3('0x43b')]()});}});}function _0x12f795(){var _0x3655c5=angular[_0x1cd3('0x429')](_0x40f1de['selectedChanSpies']);_0x40f1de[_0x1cd3('0x24cc')]=[];return _0x3655c5;}function _0x2874c4(_0x3dce2a){var _0x56ce40=_0x41927f[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x24e7'))['htmlContent'](_0x1cd3('0xd51')+_0x40f1de['selectedChanSpies'][_0x1cd3('0x7a')]+'\x20selected</b>'+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x24e8'))[_0x1cd3('0xd63')](_0x3dce2a)['ok']('OK')[_0x1cd3('0x4d8')]('CANCEL');_0x41927f['show'](_0x56ce40)[_0x1cd3('0x77')](function(){_0x40f1de['selectedChanSpies']['forEach'](function(_0x6f0fb3){_0x203fb6(_0x6f0fb3);});_0x40f1de[_0x1cd3('0x24cc')]=[];});}function _0x46e2af(){_0x40f1de[_0x1cd3('0x24cc')]=[];}function _0x3a3941(){_0x40f1de[_0x1cd3('0x24cc')]=_0x40f1de[_0x1cd3('0x24ca')][_0x1cd3('0xf6')];}}}());(function(){'use strict';_0x54050d['$inject']=[_0x1cd3('0x460'),_0x1cd3('0x53e'),'$location',_0x1cd3('0x3c5'),'$q','$translate','toasty',_0x1cd3('0x24ca'),_0x1cd3('0x24e1'),_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0x463'),_0x1cd3('0xc49'),_0x1cd3('0xd27')];angular['module'](_0x1cd3('0x2d'))[_0x1cd3('0x39b')]('CreateOrEditchanSpyDialogController',_0x54050d);function _0x54050d(_0x55f4a8,_0x29d1a8,_0x14981f,_0x36e8fa,_0x4a5029,_0x304a83,_0x46fb80,_0x1bcd71,_0x2b8fdb,_0x489a6c,_0x5684ee,_0x4512d0,_0x522bb8,_0x77d38b){var _0x1b29f5=this;_0x1b29f5[_0x1cd3('0x3ca')]=_0x5684ee[_0x1cd3('0x5d')]();_0x1b29f5['errors']=[];_0x1b29f5[_0x1cd3('0xc49')]=_0x522bb8;_0x1b29f5[_0x1cd3('0x463')]=_0x4512d0;_0x1b29f5['crudPermissions']=_0x77d38b;_0x1b29f5[_0x1cd3('0xd28')]={};_0x1b29f5[_0x1cd3('0xd29')]=_0x1b29f5[_0x1cd3('0xc49')]&&_0x1b29f5[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x1b29f5[_0x1cd3('0x486')]=_0x1cd3('0x24e9');_0x1b29f5['chanSpy']=angular['copy'](_0x2b8fdb);_0x1b29f5[_0x1cd3('0x24ca')]=_0x1bcd71;_0x1b29f5[_0x1cd3('0x24ea')]=![];if(!_0x1b29f5['chanSpy']){_0x1b29f5[_0x1cd3('0x24e1')]={'recordingFormat':_0x1cd3('0x6b5')};_0x1b29f5['title']=_0x1cd3('0x24eb');_0x1b29f5['newchanSpy']=!![];}_0x1b29f5[_0x1cd3('0x24ec')]=_0x31ba94;_0x1b29f5['savechanSpy']=_0x105936;_0x1b29f5[_0x1cd3('0x24ed')]=_0x28f721;_0x1b29f5[_0x1cd3('0xd31')]=_0xc91e60;_0x1b29f5[_0x1cd3('0x39c')]=_0x5aefcc;function _0x31ba94(){_0x1b29f5['errors']=[];_0x489a6c['voiceChanSpy'][_0x1cd3('0xd6d')](_0x1b29f5[_0x1cd3('0x24e1')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x21eaea){_0x1b29f5[_0x1cd3('0x24ca')][_0x1cd3('0x621')](_0x21eaea[_0x1cd3('0xd32')]());_0x46fb80[_0x1cd3('0x473')]({'title':_0x1cd3('0x24ee'),'msg':_0x1b29f5['chanSpy'][_0x1cd3('0x98')]?_0x1b29f5[_0x1cd3('0x24e1')]['name']+_0x1cd3('0xd33'):''});_0x5aefcc(_0x21eaea);})[_0x1cd3('0xfd')](function(_0x5722f3){if(_0x5722f3['data']&&_0x5722f3[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x5722f3[_0x1cd3('0x439')]['errors']['length']){_0x1b29f5[_0x1cd3('0xd34')]=_0x5722f3['data'][_0x1cd3('0xd34')]||[{'message':_0x5722f3['toString'](),'type':_0x1cd3('0x24ef')}];for(var _0x19ddff=0x0;_0x19ddff<_0x5722f3['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x19ddff+=0x1){_0x46fb80['error']({'title':_0x5722f3[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x19ddff][_0x1cd3('0x424')],'msg':_0x5722f3[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x19ddff]['message']});}}else{_0x46fb80[_0x1cd3('0x434')]({'title':_0x5722f3[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x5722f3[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x5722f3[_0x1cd3('0xd35')]:_0x1cd3('0x24ef'),'msg':_0x5722f3[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x5722f3[_0x1cd3('0x439')]['message']):_0x5722f3[_0x1cd3('0x43b')]()});}});}function _0x105936(){_0x1b29f5[_0x1cd3('0xd34')]=[];_0x489a6c[_0x1cd3('0x24e4')]['update']({'id':_0x1b29f5[_0x1cd3('0x24e1')]['id']},_0x1b29f5[_0x1cd3('0x24e1')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x53cf54){var _0x52f50d=_[_0x1cd3('0x442')](_0x1b29f5[_0x1cd3('0x24ca')],{'id':_0x53cf54['id']});if(_0x52f50d){_[_0x1cd3('0xf2')](_0x52f50d,_[_0x1cd3('0x5e8')](_0x53cf54[_0x1cd3('0xd32')](),_['keys'](_0x52f50d)));}_0x46fb80[_0x1cd3('0x473')]({'title':'chanSpy\x20properly\x20saved!','msg':_0x1b29f5['chanSpy'][_0x1cd3('0x98')]?_0x1b29f5[_0x1cd3('0x24e1')][_0x1cd3('0x98')]+_0x1cd3('0xd37'):''});_0x5aefcc(_0x53cf54);})['catch'](function(_0x495357){if(_0x495357[_0x1cd3('0x439')]&&_0x495357[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x495357[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')]){_0x1b29f5['errors']=_0x495357[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x495357['toString'](),'type':_0x1cd3('0x24f0')}];for(var _0x168beb=0x0;_0x168beb<_0x495357['data']['errors']['length'];_0x168beb++){_0x46fb80['error']({'title':_0x495357[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x168beb]['type'],'msg':_0x495357[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x168beb][_0x1cd3('0x43a')]});}}else{_0x46fb80[_0x1cd3('0x434')]({'title':_0x495357[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x495357[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x495357[_0x1cd3('0xd35')]:_0x1cd3('0x24f0'),'msg':_0x495357['data']?JSON['stringify'](_0x495357[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x495357[_0x1cd3('0x43b')]()});}});}function _0x28f721(_0x415f96){_0x1b29f5['errors']=[];var _0x21665c=_0x36e8fa[_0x1cd3('0xd39')]()['title'](_0x1cd3('0xd3a'))['content'](_0x1cd3('0x24f1'))[_0x1cd3('0xd3d')](_0x1cd3('0x24f2'))['ok'](_0x1cd3('0xd3f'))[_0x1cd3('0x4d8')](_0x1cd3('0x674'))[_0x1cd3('0xd63')](_0x415f96);_0x36e8fa[_0x1cd3('0x37e')](_0x21665c)[_0x1cd3('0x77')](function(){_0x489a6c[_0x1cd3('0x24e4')]['delete']({'id':_0x1b29f5['chanSpy']['id']})[_0x1cd3('0x81')]['then'](function(){_[_0x1cd3('0x383')](_0x1b29f5['chanSpies'],{'id':_0x1b29f5['chanSpy']['id']});_0x46fb80[_0x1cd3('0x473')]({'title':_0x1cd3('0x24f3'),'msg':(_0x1b29f5[_0x1cd3('0x24e1')][_0x1cd3('0x98')]||_0x1cd3('0x24e1'))+_0x1cd3('0xd41')});_0x5aefcc(_0x1b29f5[_0x1cd3('0x24e1')]);})[_0x1cd3('0xfd')](function(_0x555c5a){if(_0x555c5a[_0x1cd3('0x439')]&&_0x555c5a[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x555c5a[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x1b29f5[_0x1cd3('0xd34')]=_0x555c5a[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x555c5a['toString'](),'type':_0x1cd3('0x24f4')}];for(var _0xab8987=0x0;_0xab8987<_0x555c5a['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0xab8987++){_0x46fb80[_0x1cd3('0x434')]({'title':_0x555c5a[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0xab8987][_0x1cd3('0x424')],'msg':_0x555c5a[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0xab8987]['message']});}}else{_0x46fb80[_0x1cd3('0x434')]({'title':_0x555c5a[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x555c5a['status']+'\x20-\x20'+_0x555c5a['statusText']:_0x1cd3('0x24f4'),'msg':_0x555c5a[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x555c5a[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x555c5a[_0x1cd3('0x43a')]||_0x555c5a[_0x1cd3('0x43b')]()});}});},function(){});}function _0xc91e60(_0x2e94cf){return _0x2e94cf===null?undefined:new Date(_0x2e94cf);}function _0x5aefcc(_0x535c1a){_0x36e8fa['hide'](_0x535c1a);}}}());(function(){'use strict';_0xbaaca2[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x371'),_0x1cd3('0x53e'),_0x1cd3('0x969'),_0x1cd3('0x3c5'),_0x1cd3('0x372'),_0x1cd3('0x3e7'),'$translate',_0x1cd3('0x2119'),_0x1cd3('0x38a'),_0x1cd3('0x390'),'api',_0x1cd3('0x2dd'),_0x1cd3('0x461'),_0x1cd3('0x56'),_0x1cd3('0x463'),_0x1cd3('0xc49')];angular[_0x1cd3('0x0')]('app.voice')[_0x1cd3('0x39b')]('ContextsController',_0xbaaca2);function _0xbaaca2(_0x1441fd,_0x20d421,_0x5e91d4,_0x4dd9f7,_0x1ec65e,_0x489581,_0x879f83,_0x309870,_0x4ce94e,_0x49920d,_0x54ca3c,_0x10959b,_0x35bb21,_0x2bb555,_0x483630,_0x471dc3,_0x3c2e35){var _0x53ac59=this;_0x53ac59[_0x1cd3('0x463')]=_0x471dc3;_0x53ac59[_0x1cd3('0xc49')]=_0x3c2e35;_0x53ac59['currentUser']=_0x483630[_0x1cd3('0x5d')]();_0x53ac59[_0x1cd3('0x2119')]=_0x4ce94e||{'count':0x0,'rows':[]};_0x53ac59[_0x1cd3('0x38a')]=_0x49920d;_0x53ac59[_0x1cd3('0x390')]=_0x54ca3c&&_0x54ca3c['count']==0x1?_0x54ca3c[_0x1cd3('0xf6')][0x0]:null;_0x53ac59[_0x1cd3('0xd27')]=_0x483630['parseCrudPermissions'](_0x53ac59['userProfileSection']?_0x53ac59['userProfileSection'][_0x1cd3('0xd27')]:null);_0x53ac59[_0x1cd3('0xd45')]=_0x1cd3('0x2119');_0x53ac59[_0x1cd3('0xd46')]='';_0x53ac59[_0x1cd3('0xd47')]=null;_0x53ac59[_0x1cd3('0x24f5')]=[];_0x53ac59[_0x1cd3('0x3d4')]={'fields':_0x1cd3('0x295'),'sort':_0x1cd3('0x5b'),'defaultEntry':_0x1cd3('0x31a'),'limit':0xa,'page':0x1};_0x53ac59[_0x1cd3('0xd48')]=_0x579483;_0x53ac59[_0x1cd3('0xecc')]=_0x8810b1;_0x53ac59[_0x1cd3('0x473')]=_0x8e2772;_0x53ac59['getContexts']=_0x35c058;_0x53ac59[_0x1cd3('0x24f6')]=_0x1cb9da;_0x53ac59[_0x1cd3('0x24f7')]=_0x1c663c;_0x53ac59[_0x1cd3('0x24f8')]=_0x41c664;_0x53ac59[_0x1cd3('0x24f9')]=_0x465005;_0x53ac59[_0x1cd3('0x24fa')]=_0x338e1a;_0x53ac59[_0x1cd3('0x24fb')]=_0x76eb4;function _0x579483(_0x5170fa,_0x32f9ad){_0x1ec65e[_0x1cd3('0x37e')]({'controller':'CreateOrEditContextDialogController','controllerAs':'vm','templateUrl':_0x1cd3('0x24fc'),'parent':angular[_0x1cd3('0x37f')](_0x489581['body']),'targetEvent':_0x32f9ad,'clickOutsideToClose':!![],'locals':{'context':_0x5170fa,'contexts':_0x53ac59[_0x1cd3('0x2119')][_0x1cd3('0xf6')],'license':_0x53ac59[_0x1cd3('0x463')],'setting':null,'crudPermissions':_0x53ac59[_0x1cd3('0xd27')]}});}function _0x8810b1(_0x522a45,_0xa0eb28){var _0x5a134c=_0x1ec65e[_0x1cd3('0xd39')]()['title'](_0x1cd3('0xd4f')+_[_0x1cd3('0xd50')](_0x1cd3('0xf0a'))+'?')[_0x1cd3('0xd60')](_0x1cd3('0xd51')+(_0x522a45[_0x1cd3('0x98')]||_0x1cd3('0xf0a'))+_0x1cd3('0xd52')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')]('delete\x20context')['targetEvent'](_0xa0eb28)['ok']('OK')['cancel'](_0x1cd3('0xd55'));_0x1ec65e[_0x1cd3('0x37e')](_0x5a134c)[_0x1cd3('0x77')](function(){_0x1c663c(_0x522a45);},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}var _0x39ee34=!![];var _0x5f2561=0x1;_0x1441fd[_0x1cd3('0x4d6')](_0x1cd3('0xd56'),function(_0x421676,_0x482d2a){if(_0x39ee34){_0x879f83(function(){_0x39ee34=![];});}else{if(!_0x482d2a){_0x5f2561=_0x53ac59[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0x421676!==_0x482d2a){_0x53ac59[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}if(!_0x421676){_0x53ac59['query'][_0x1cd3('0x8fd')]=_0x5f2561;}_0x53ac59[_0x1cd3('0x24fd')]();}});function _0x8e2772(_0x1c6c6d){_0x53ac59[_0x1cd3('0x2119')]=_0x1c6c6d||{'count':0x0,'rows':[]};}function _0x35c058(){_0x53ac59['query'][_0x1cd3('0xd57')]=(_0x53ac59[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0x53ac59[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];if(_0x483630[_0x1cd3('0x57')](_0x1cd3('0x5f'))){_0x53ac59['promise']=_0x10959b['voiceContext'][_0x1cd3('0x361')](_0x53ac59[_0x1cd3('0x3d4')],_0x8e2772)['$promise'];}else{_0x53ac59[_0x1cd3('0x3d4')]['id']=_0x53ac59[_0x1cd3('0x38a')]['id'];_0x53ac59[_0x1cd3('0x3d4')][_0x1cd3('0xd58')]=_0x1cd3('0xab');_0x53ac59[_0x1cd3('0x539')]=_0x10959b['userProfile']['getResources'](_0x53ac59[_0x1cd3('0x3d4')],_0x8e2772)[_0x1cd3('0x81')];}}function _0x1cb9da(_0x4cc1e5,_0x470919){_0x1ec65e['show']({'controller':_0x1cd3('0x24fe'),'controllerAs':'vm','templateUrl':'app/main/apps/voice/views/contexts/create/dialog.html','parent':angular['element'](_0x489581[_0x1cd3('0x380')]),'targetEvent':_0x4cc1e5,'clickOutsideToClose':!![],'locals':{'context':_0x470919,'contexts':_0x53ac59[_0x1cd3('0x2119')]['rows'],'license':_0x53ac59[_0x1cd3('0x463')],'setting':_0x53ac59[_0x1cd3('0xc49')],'crudPermissions':_0x53ac59[_0x1cd3('0xd27')]}});}function _0x1c663c(_0x5b7c0b){_0x10959b['voiceContext'][_0x1cd3('0xa1c')]({'id':_0x5b7c0b['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x53ac59[_0x1cd3('0x2119')][_0x1cd3('0xf6')],{'id':_0x5b7c0b['id']});_0x53ac59[_0x1cd3('0x2119')][_0x1cd3('0x466')]-=0x1;if(!_0x53ac59['contexts']['rows'][_0x1cd3('0x7a')]){_0x53ac59[_0x1cd3('0x24fd')]();}_0x2bb555[_0x1cd3('0x473')]({'title':_['startCase'](_0x1cd3('0x24ff'))+_0x1cd3('0xd5c'),'msg':_0x5b7c0b[_0x1cd3('0x98')]?_0x5b7c0b['name']+_0x1cd3('0xd41'):''});})['catch'](function(_0x1e58df){if(_0x1e58df[_0x1cd3('0x439')]&&_0x1e58df[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x1e58df[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x53ac59[_0x1cd3('0xd34')]=_0x1e58df['data']['errors']||[{'message':_0x1e58df['toString'](),'type':_0x1cd3('0x2500')}];for(var _0x576b80=0x0;_0x576b80<_0x1e58df['data']['errors']['length'];_0x576b80++){_0x2bb555[_0x1cd3('0x434')]({'title':_0x1e58df[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x576b80][_0x1cd3('0x424')],'msg':_0x1e58df['data']['errors'][_0x576b80][_0x1cd3('0x43a')]});}}else{_0x2bb555[_0x1cd3('0x434')]({'title':_0x1e58df[_0x1cd3('0x3a6')]?'API:'+_0x1e58df[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x1e58df['statusText']:_0x1cd3('0x2500'),'msg':_0x1e58df['data']?JSON[_0x1cd3('0x438')](_0x1e58df[_0x1cd3('0x439')]['message']):_0x1e58df['message']||_0x1e58df[_0x1cd3('0x43b')]()});}});}function _0x41c664(){var _0x47da78=angular[_0x1cd3('0x429')](_0x53ac59['selectedContexts']);_0x53ac59['selectedContexts']=[];return _0x47da78;}function _0x465005(_0x559df0){var _0x322907=_0x1ec65e[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x2501'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x53ac59[_0x1cd3('0x24f5')][_0x1cd3('0x7a')]+'\x20selected</b>'+'\x20will\x20be\x20deleted.')[_0x1cd3('0xd3d')](_0x1cd3('0x2502'))[_0x1cd3('0xd63')](_0x559df0)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x1ec65e['show'](_0x322907)[_0x1cd3('0x77')](function(){_0x53ac59[_0x1cd3('0x24f5')][_0x1cd3('0x394')](function(_0x373c26){_0x1c663c(_0x373c26);});_0x53ac59[_0x1cd3('0x24f5')]=[];});}function _0x338e1a(){_0x53ac59[_0x1cd3('0x24f5')]=[];}function _0x76eb4(){_0x53ac59[_0x1cd3('0x24f5')]=_0x53ac59[_0x1cd3('0x2119')][_0x1cd3('0xf6')];}}}());(function(){'use strict';_0x3189e8['$inject']=['$scope',_0x1cd3('0x53e'),_0x1cd3('0xd24'),_0x1cd3('0x3c5'),'$q',_0x1cd3('0x3f7'),_0x1cd3('0x461'),'contexts',_0x1cd3('0xf0a'),_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0x463'),_0x1cd3('0xc49'),_0x1cd3('0xd27')];angular['module']('app.voice')[_0x1cd3('0x39b')](_0x1cd3('0x24fe'),_0x3189e8);function _0x3189e8(_0x2c6b3b,_0x298bbf,_0x557869,_0x2acfde,_0x39454e,_0x123ead,_0x31461a,_0x4b52a8,_0x405aeb,_0x4a26fb,_0x2dc35a,_0x49629f,_0x44a5cc,_0x28e568){var _0x12f902=this;_0x12f902[_0x1cd3('0x3ca')]=_0x2dc35a['getCurrentUser']();_0x12f902[_0x1cd3('0xd34')]=[];_0x12f902[_0x1cd3('0xc49')]=_0x44a5cc;_0x12f902[_0x1cd3('0x463')]=_0x49629f;_0x12f902[_0x1cd3('0xd27')]=_0x28e568;_0x12f902[_0x1cd3('0xd28')]={};_0x12f902[_0x1cd3('0xd29')]=_0x12f902['setting']&&_0x12f902[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x12f902[_0x1cd3('0x486')]=_0x1cd3('0x2503');_0x12f902['context']=angular[_0x1cd3('0x429')](_0x405aeb);_0x12f902[_0x1cd3('0x2119')]=_0x4b52a8;_0x12f902[_0x1cd3('0x2504')]=![];if(!_0x12f902[_0x1cd3('0xf0a')]){_0x12f902[_0x1cd3('0xf0a')]={};_0x12f902[_0x1cd3('0x486')]=_0x1cd3('0x2505');_0x12f902[_0x1cd3('0x2504')]=!![];}_0x12f902[_0x1cd3('0x2506')]=_0x3aa7d6;_0x12f902[_0x1cd3('0x2507')]=_0x51627d;_0x12f902[_0x1cd3('0x24f7')]=_0x359131;_0x12f902[_0x1cd3('0xd31')]=_0x45f09f;_0x12f902[_0x1cd3('0x39c')]=_0xfb9458;function _0x3aa7d6(){_0x12f902[_0x1cd3('0xd34')]=[];_0x4a26fb[_0x1cd3('0xa3e')][_0x1cd3('0xd6d')](_0x12f902[_0x1cd3('0xf0a')])['$promise'][_0x1cd3('0x77')](function(_0x30e9d5){_0x12f902[_0x1cd3('0x2119')]['unshift'](_0x30e9d5[_0x1cd3('0xd32')]());_0x31461a[_0x1cd3('0x473')]({'title':_0x1cd3('0x2508'),'msg':_0x12f902[_0x1cd3('0xf0a')][_0x1cd3('0x98')]?_0x12f902['context'][_0x1cd3('0x98')]+_0x1cd3('0xd33'):''});_0xfb9458(_0x30e9d5);})['catch'](function(_0x359819){if(_0x359819[_0x1cd3('0x439')]&&_0x359819[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x359819['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x12f902[_0x1cd3('0xd34')]=_0x359819['data'][_0x1cd3('0xd34')]||[{'message':_0x359819[_0x1cd3('0x43b')](),'type':_0x1cd3('0x2509')}];for(var _0x25ca1f=0x0;_0x25ca1f<_0x359819[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0x25ca1f+=0x1){_0x31461a[_0x1cd3('0x434')]({'title':_0x359819[_0x1cd3('0x439')]['errors'][_0x25ca1f][_0x1cd3('0x424')],'msg':_0x359819['data'][_0x1cd3('0xd34')][_0x25ca1f][_0x1cd3('0x43a')]});}}else{_0x31461a[_0x1cd3('0x434')]({'title':_0x359819[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x359819[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x359819[_0x1cd3('0xd35')]:'api.voiceContext.save','msg':_0x359819[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x359819['data']['message']):_0x359819['toString']()});}});}function _0x51627d(){_0x12f902['errors']=[];_0x4a26fb['voiceContext'][_0x1cd3('0x378')]({'id':_0x12f902[_0x1cd3('0xf0a')]['id']},_0x12f902[_0x1cd3('0xf0a')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x2ce949){var _0x303fd4=_[_0x1cd3('0x442')](_0x12f902[_0x1cd3('0x2119')],{'id':_0x2ce949['id']});if(_0x303fd4){_[_0x1cd3('0xf2')](_0x303fd4,_['pick'](_0x2ce949[_0x1cd3('0xd32')](),_[_0x1cd3('0x80')](_0x303fd4)));}_0x31461a['success']({'title':'Context\x20properly\x20saved!','msg':_0x12f902[_0x1cd3('0xf0a')][_0x1cd3('0x98')]?_0x12f902[_0x1cd3('0xf0a')][_0x1cd3('0x98')]+_0x1cd3('0xd37'):''});_0xfb9458(_0x2ce949);})[_0x1cd3('0xfd')](function(_0x5e3718){if(_0x5e3718[_0x1cd3('0x439')]&&_0x5e3718[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x5e3718[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')]){_0x12f902[_0x1cd3('0xd34')]=_0x5e3718[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x5e3718['toString'](),'type':_0x1cd3('0x250a')}];for(var _0x442e9a=0x0;_0x442e9a<_0x5e3718['data']['errors'][_0x1cd3('0x7a')];_0x442e9a++){_0x31461a[_0x1cd3('0x434')]({'title':_0x5e3718[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x442e9a][_0x1cd3('0x424')],'msg':_0x5e3718[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x442e9a][_0x1cd3('0x43a')]});}}else{_0x31461a['error']({'title':_0x5e3718[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x5e3718[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x5e3718[_0x1cd3('0xd35')]:_0x1cd3('0x250a'),'msg':_0x5e3718[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x5e3718['data'][_0x1cd3('0x43a')]):_0x5e3718[_0x1cd3('0x43b')]()});}});}function _0x359131(_0x3cd308){_0x12f902[_0x1cd3('0xd34')]=[];var _0x1ba0bc=_0x2acfde['confirm']()[_0x1cd3('0x486')](_0x1cd3('0xd3a'))[_0x1cd3('0xd3b')](_0x1cd3('0x250b'))['ariaLabel'](_0x1cd3('0x250c'))['ok']('Delete')[_0x1cd3('0x4d8')]('Cancel')[_0x1cd3('0xd63')](_0x3cd308);_0x2acfde[_0x1cd3('0x37e')](_0x1ba0bc)[_0x1cd3('0x77')](function(){_0x4a26fb['voiceContext'][_0x1cd3('0xa1c')]({'id':_0x12f902[_0x1cd3('0xf0a')]['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_['remove'](_0x12f902[_0x1cd3('0x2119')],{'id':_0x12f902[_0x1cd3('0xf0a')]['id']});_0x31461a[_0x1cd3('0x473')]({'title':_0x1cd3('0x250d'),'msg':(_0x12f902[_0x1cd3('0xf0a')]['name']||_0x1cd3('0xf0a'))+'\x20has\x20been\x20deleted!'});_0xfb9458(_0x12f902[_0x1cd3('0xf0a')]);})[_0x1cd3('0xfd')](function(_0x34f751){if(_0x34f751[_0x1cd3('0x439')]&&_0x34f751['data'][_0x1cd3('0xd34')]&&_0x34f751['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x12f902[_0x1cd3('0xd34')]=_0x34f751[_0x1cd3('0x439')]['errors']||[{'message':_0x34f751[_0x1cd3('0x43b')](),'type':_0x1cd3('0x250e')}];for(var _0x46d162=0x0;_0x46d162<_0x34f751['data']['errors']['length'];_0x46d162++){_0x31461a[_0x1cd3('0x434')]({'title':_0x34f751[_0x1cd3('0x439')]['errors'][_0x46d162][_0x1cd3('0x424')],'msg':_0x34f751[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x46d162]['message']});}}else{_0x31461a[_0x1cd3('0x434')]({'title':_0x34f751[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x34f751[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x34f751[_0x1cd3('0xd35')]:_0x1cd3('0x250e'),'msg':_0x34f751[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x34f751[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x34f751[_0x1cd3('0x43a')]||_0x34f751[_0x1cd3('0x43b')]()});}});},function(){});}function _0x45f09f(_0x3734a0){return _0x3734a0===null?undefined:new Date(_0x3734a0);}function _0xfb9458(_0x1de57b){_0x2acfde[_0x1cd3('0x39d')](_0x1de57b);}}}());(function(){'use strict';_0x9ca8b2['$inject']=[_0x1cd3('0x460'),_0x1cd3('0x53e'),_0x1cd3('0xd24'),_0x1cd3('0x3c5'),'$q','$translate',_0x1cd3('0x461'),_0x1cd3('0x250f'),'inboundroute',_0x1cd3('0x370'),_0x1cd3('0x56'),'license','setting','crudPermissions'];angular[_0x1cd3('0x0')](_0x1cd3('0x2d'))[_0x1cd3('0x39b')](_0x1cd3('0x2510'),_0x9ca8b2);function _0x9ca8b2(_0x30d115,_0xba667d,_0x116478,_0x4acb71,_0x23d7bb,_0x22caad,_0x3b1b67,_0x15a372,_0x4a307e,_0x53b206,_0x41c532,_0x3c656c,_0xdd5e21,_0x26657a){var _0x5736a4=this;_0x5736a4[_0x1cd3('0x3ca')]=_0x41c532['getCurrentUser']();_0x5736a4[_0x1cd3('0xd34')]=[];_0x5736a4['setting']=_0xdd5e21;_0x5736a4[_0x1cd3('0x463')]=_0x3c656c;_0x5736a4[_0x1cd3('0xd27')]=_0x26657a;_0x5736a4[_0x1cd3('0xd28')]={};_0x5736a4[_0x1cd3('0xd29')]=_0x5736a4[_0x1cd3('0xc49')]&&_0x5736a4[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x5736a4['title']=_0x1cd3('0x2511');_0x5736a4[_0x1cd3('0x2512')]=angular[_0x1cd3('0x429')](_0x4a307e);_0x5736a4[_0x1cd3('0x250f')]=_0x15a372;_0x5736a4[_0x1cd3('0x2513')]=![];if(!_0x5736a4[_0x1cd3('0x2512')]){_0x5736a4[_0x1cd3('0x2512')]={'appdata':_0x1cd3('0x2514'),'type':_0x1cd3('0xa4'),'context':_0x1cd3('0x2515')};_0x5736a4['title']='VOICE.NEW_INBOUNDROUTE';_0x5736a4[_0x1cd3('0x2513')]=!![];}_0x5736a4[_0x1cd3('0x2516')]=_0x402ae5;_0x5736a4[_0x1cd3('0x2517')]=_0x35a710;_0x5736a4[_0x1cd3('0x2518')]=_0x563dde;_0x5736a4[_0x1cd3('0xd31')]=_0x31e9e6;_0x5736a4[_0x1cd3('0x39c')]=_0x52bdad;_0x41c532[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x53b206[_0x1cd3('0xa3e')][_0x1cd3('0x361')]({'fields':'id,name','sort':_0x1cd3('0x98'),'nolimit':'true'})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x5d75d0){_0x5736a4[_0x1cd3('0x2119')]=_0x5d75d0[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x14a76d){_0x3b1b67[_0x1cd3('0x434')]({'title':_0x14a76d[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x14a76d[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x14a76d['statusText']:_0x1cd3('0x211a'),'msg':_0x14a76d[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x14a76d[_0x1cd3('0x439')]):_0x14a76d[_0x1cd3('0x43b')]()});}):_0x53b206[_0x1cd3('0xa3e')]['get']({'fields':_0x1cd3('0xa6'),'sort':'name','nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')]['then'](function(_0x227c42){_0x5736a4['contexts']=_0x227c42[_0x1cd3('0xf6')]||[];})['then'](function(){return _0x53b206['userProfileSection']['get']({'userProfileId':_0x5736a4[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x195})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x1b0456){var _0x2ed70d=_0x1b0456&&_0x1b0456[_0x1cd3('0xf6')]?_0x1b0456[_0x1cd3('0xf6')][0x0]:null;if(!_0x2ed70d){return _0x53b206[_0x1cd3('0xa3e')]['get']({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0'),'defaultEntry':0x1})['$promise'][_0x1cd3('0x77')](function(_0x442908){_0x5736a4[_0x1cd3('0x2119')]=_0x442908[_0x1cd3('0xf6')]||[];});}else{if(!_0x2ed70d[_0x1cd3('0x391')]){return _0x53b206[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x2ed70d['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x328842){var _0x1a69ea=_['map'](_0x328842[_0x1cd3('0xf6')],function(_0x3e5c03){return _[_0x1cd3('0x442')](_0x5736a4[_0x1cd3('0x2119')],{'id':_0x3e5c03[_0x1cd3('0xe8e')]});});var _0x24784a=null;if(_0x5736a4[_0x1cd3('0x2512')]){_0x24784a=_[_0x1cd3('0x442')](_0x5736a4[_0x1cd3('0x2119')],{'name':_0x5736a4[_0x1cd3('0x2512')]['context']});}if(_0x24784a&&!_['some'](_0x1a69ea,['id',_0x24784a['id']])){var _0x3ea712=_[_0x1cd3('0x442')](_0x5736a4[_0x1cd3('0x2119')],{'id':_0x24784a['id']});_0x3ea712[_0x1cd3('0xf4a')]=![];_0x1a69ea[_0x1cd3('0x7b')](_0x3ea712);}_0x5736a4[_0x1cd3('0x2119')]=_0x1a69ea;});}}})['catch'](function(_0x46d0be){_0x3b1b67[_0x1cd3('0x434')]({'title':_0x46d0be[_0x1cd3('0x3a6')]?'API:'+_0x46d0be[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x46d0be[_0x1cd3('0xd35')]:_0x1cd3('0x214c'),'msg':_0x46d0be[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x46d0be['data']):_0x46d0be[_0x1cd3('0x43b')]()});});function _0x402ae5(){_0x5736a4[_0x1cd3('0xd34')]=[];_0x53b206['voiceExtension'][_0x1cd3('0xd6d')](_0x5736a4[_0x1cd3('0x2512')])[_0x1cd3('0x81')]['then'](function(_0xeee756){_0x5736a4['inboundroutes'][_0x1cd3('0x621')](_0xeee756[_0x1cd3('0xd32')]());_0x3b1b67['success']({'title':_0x1cd3('0x2519'),'msg':_0x5736a4[_0x1cd3('0x2512')][_0x1cd3('0x98')]?_0x5736a4['inboundroute'][_0x1cd3('0x98')]+'\x20has\x20been\x20created!':''});_0x52bdad(_0xeee756);})[_0x1cd3('0xfd')](function(_0x3b658a){if(_0x3b658a[_0x1cd3('0x439')]&&_0x3b658a['data']['errors']&&_0x3b658a[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length']){_0x5736a4[_0x1cd3('0xd34')]=_0x3b658a[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x3b658a[_0x1cd3('0x43b')](),'type':_0x1cd3('0x251a')}];for(var _0x586f3b=0x0;_0x586f3b<_0x3b658a[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x586f3b+=0x1){_0x3b1b67[_0x1cd3('0x434')]({'title':_0x3b658a[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x586f3b][_0x1cd3('0x424')],'msg':_0x3b658a[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x586f3b]['message']});}}else{_0x3b1b67['error']({'title':_0x3b658a[_0x1cd3('0x3a6')]?'API:'+_0x3b658a[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x3b658a[_0x1cd3('0xd35')]:_0x1cd3('0x251a'),'msg':_0x3b658a[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x3b658a[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x3b658a[_0x1cd3('0x43b')]()});}});}function _0x35a710(){_0x5736a4['errors']=[];_0x53b206['voiceExtension'][_0x1cd3('0x378')]({'id':_0x5736a4[_0x1cd3('0x2512')]['id']},_0x5736a4[_0x1cd3('0x2512')])['$promise'][_0x1cd3('0x77')](function(_0x503a96){var _0x33216c=_[_0x1cd3('0x442')](_0x5736a4['inboundroutes'],{'id':_0x503a96['id']});if(_0x33216c){_['merge'](_0x33216c,_[_0x1cd3('0x5e8')](_0x503a96[_0x1cd3('0xd32')](),_['keys'](_0x33216c)));}_0x3b1b67[_0x1cd3('0x473')]({'title':'InboundRoute\x20properly\x20saved!','msg':_0x5736a4[_0x1cd3('0x2512')]['name']?_0x5736a4['inboundroute'][_0x1cd3('0x98')]+_0x1cd3('0xd37'):''});_0x52bdad(_0x503a96);})[_0x1cd3('0xfd')](function(_0x1bcb16){if(_0x1bcb16[_0x1cd3('0x439')]&&_0x1bcb16[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x1bcb16[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x5736a4['errors']=_0x1bcb16['data'][_0x1cd3('0xd34')]||[{'message':_0x1bcb16[_0x1cd3('0x43b')](),'type':_0x1cd3('0x251b')}];for(var _0x584b3d=0x0;_0x584b3d<_0x1bcb16[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0x584b3d++){_0x3b1b67['error']({'title':_0x1bcb16['data'][_0x1cd3('0xd34')][_0x584b3d][_0x1cd3('0x424')],'msg':_0x1bcb16[_0x1cd3('0x439')]['errors'][_0x584b3d][_0x1cd3('0x43a')]});}}else{_0x3b1b67[_0x1cd3('0x434')]({'title':_0x1bcb16[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x1bcb16['status']+_0x1cd3('0x436')+_0x1bcb16[_0x1cd3('0xd35')]:_0x1cd3('0x251b'),'msg':_0x1bcb16[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x1bcb16[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x1bcb16['toString']()});}});}function _0x563dde(_0x80891e){_0x5736a4[_0x1cd3('0xd34')]=[];var _0x4e63e2=_0x4acb71[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xd3a'))[_0x1cd3('0xd3b')](_0x1cd3('0x251c'))[_0x1cd3('0xd3d')]('Delete\x20InboundRoute')['ok'](_0x1cd3('0xd3f'))['cancel']('Cancel')[_0x1cd3('0xd63')](_0x80891e);_0x4acb71[_0x1cd3('0x37e')](_0x4e63e2)[_0x1cd3('0x77')](function(){_0x53b206[_0x1cd3('0xa40')][_0x1cd3('0xa1c')]({'id':_0x5736a4[_0x1cd3('0x2512')]['id']})['$promise'][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x5736a4[_0x1cd3('0x250f')],{'id':_0x5736a4[_0x1cd3('0x2512')]['id']});_0x3b1b67[_0x1cd3('0x473')]({'title':_0x1cd3('0x251d'),'msg':(_0x5736a4[_0x1cd3('0x2512')][_0x1cd3('0x98')]||_0x1cd3('0x2512'))+_0x1cd3('0xd41')});_0x52bdad(_0x5736a4['inboundroute']);})[_0x1cd3('0xfd')](function(_0x48ce1c){if(_0x48ce1c[_0x1cd3('0x439')]&&_0x48ce1c[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x48ce1c[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x5736a4[_0x1cd3('0xd34')]=_0x48ce1c[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x48ce1c[_0x1cd3('0x43b')](),'type':_0x1cd3('0x251e')}];for(var _0x3d56e6=0x0;_0x3d56e6<_0x48ce1c['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x3d56e6++){_0x3b1b67[_0x1cd3('0x434')]({'title':_0x48ce1c['data'][_0x1cd3('0xd34')][_0x3d56e6][_0x1cd3('0x424')],'msg':_0x48ce1c['data'][_0x1cd3('0xd34')][_0x3d56e6]['message']});}}else{_0x3b1b67[_0x1cd3('0x434')]({'title':_0x48ce1c[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x48ce1c['status']+'\x20-\x20'+_0x48ce1c[_0x1cd3('0xd35')]:_0x1cd3('0x251e'),'msg':_0x48ce1c[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x48ce1c['data']['message']):_0x48ce1c[_0x1cd3('0x43a')]||_0x48ce1c[_0x1cd3('0x43b')]()});}});},function(){});}function _0x31e9e6(_0x26802d){return _0x26802d===null?undefined:new Date(_0x26802d);}function _0x52bdad(_0x487c26){_0x4acb71[_0x1cd3('0x39d')](_0x487c26);}}}());(function(){'use strict';_0x29b41a[_0x1cd3('0xc')]=[_0x1cd3('0x370'),'$mdDialog',_0x1cd3('0x372'),_0x1cd3('0x461'),_0x1cd3('0x56')];angular['module'](_0x1cd3('0x2d'))[_0x1cd3('0x39b')]('InboundRouteActionsController',_0x29b41a);function _0x29b41a(_0x301f9e,_0x178a0d,_0x34e61a,_0x5d2ab9,_0x58e9e6){var _0x121f58=this;_0x121f58['currentUser']=_0x58e9e6[_0x1cd3('0x5d')]();_0x121f58[_0x1cd3('0x2512')]={};_0x121f58[_0x1cd3('0x251f')]={'count':0x0,'rows':[]};_0x121f58[_0x1cd3('0x2520')]=[];_0x121f58['crudPermissions'];_0x121f58[_0x1cd3('0x3d4')]={'sort':'priority'};_0x121f58['apps']=_[_0x1cd3('0x3a7')](_[_0x1cd3('0x1211')]([{'app':'Interval','appType':_0x1cd3('0x77e'),'types':[_0x1cd3('0x1213'),_0x1cd3('0x8f6'),'list'],'fields':[],'isApp':![]},{'app':_0x1cd3('0x1223'),'appType':_0x1cd3('0x1220'),'context':_0x1cd3('0x2515'),'type':_0x1cd3('0x2521'),'appdata':_0x1cd3('0x2522'),'icon':_0x1cd3('0x1214'),'options':'xX','interval':'*,*,*,*','answer':!![],'isApp':!![],'extraApi':[{'name':'sounds','field':{'name':_0x1cd3('0xf53'),'key':_0x1cd3('0x2302'),'prefix':_0x1cd3('0x2523')},'route':'sound','filters':{'fields':_0x1cd3('0x2524'),'sort':_0x1cd3('0x98'),'nolimit':!![]},'permissions':{'section':0x3ef}},{'name':_0x1cd3('0x1155'),'field':{'name':'queue','key':'name'},'route':'voiceQueue','filters':{'type':_0x1cd3('0xa4'),'fields':_0x1cd3('0x1222'),'sort':_0x1cd3('0x98'),'nolimit':!![]},'permissions':{'section':0x191}}],'fields':[{'title':_0x1cd3('0x1223'),'name':_0x1cd3('0x1220'),'type':_0x1cd3('0x1218'),'values':_0x1cd3('0x1155'),'value':_0x1cd3('0x1224'),'option':_0x1cd3('0x1224'),'required':!![],'param':0x0},{'title':_0x1cd3('0x2525'),'name':_0x1cd3('0x422'),'type':_0x1cd3('0x401'),'param':0x1},{'title':_0x1cd3('0x2526'),'name':'URL','type':_0x1cd3('0x401'),'param':0x2},{'title':_0x1cd3('0x2527'),'name':_0x1cd3('0xf53'),'type':'apiselect','values':'sounds','value':_0x1cd3('0x2528'),'option':_0x1cd3('0x2529'),'defaultValues':[{'value':'\x27\x27','option':_0x1cd3('0x18f6')}],'param':0x3},{'title':_0x1cd3('0x1225'),'name':_0x1cd3('0x8fc'),'type':_0x1cd3('0x407'),'min':0x0,'param':0x4},{'title':_0x1cd3('0x252a'),'name':_0x1cd3('0x128c'),'type':'text','param':0x5},{'title':_0x1cd3('0x252b'),'name':_0x1cd3('0x252c'),'type':_0x1cd3('0x401'),'param':0x6},{'title':'GoSub','name':'gosub','type':_0x1cd3('0x401'),'param':0x7},{'title':_0x1cd3('0x252d'),'name':_0x1cd3('0x252e'),'type':_0x1cd3('0x401'),'param':0x8},{'title':_0x1cd3('0x252f'),'name':_0x1cd3('0x679'),'type':_0x1cd3('0x407'),'min':0x0,'param':0x9},{'title':_0x1cd3('0x23e3'),'name':_0x1cd3('0x5e2'),'type':_0x1cd3('0x168f'),'general':!![]}]},{'app':_0x1cd3('0x2530'),'appType':_0x1cd3('0x2531'),'context':'from-voip-provider','type':_0x1cd3('0x2521'),'icon':'icon-apps','interval':_0x1cd3('0x1216'),'answer':!![],'isApp':!![],'extraApi':[{'name':_0x1cd3('0xef6'),'field':{'name':'sound','key':'save_name','prefix':_0x1cd3('0x2523')},'route':_0x1cd3('0xf53'),'filters':{'fields':_0x1cd3('0x2524'),'sort':'name','nolimit':!![]},'permissions':{'section':0x3ef}}],'fields':[{'title':_0x1cd3('0x2532'),'name':_0x1cd3('0x127d'),'type':_0x1cd3('0x1218'),'values':_0x1cd3('0xef6'),'value':_0x1cd3('0x2533'),'option':_0x1cd3('0x2534'),'required':!![],'param':0x0},{'title':_0x1cd3('0x2525'),'name':_0x1cd3('0x422'),'type':_0x1cd3('0x401'),'param':0x1},{'title':_0x1cd3('0x23e3'),'name':_0x1cd3('0x5e2'),'type':'switch','general':!![]}]},{'app':_0x1cd3('0x2535'),'appType':_0x1cd3('0x2536'),'context':_0x1cd3('0x2515'),'type':_0x1cd3('0x2521'),'icon':'icon-apps','interval':_0x1cd3('0x1216'),'options':'xX','isApp':!![],'fields':[{'title':_0x1cd3('0x2537'),'name':'tech','type':'text','required':!![],'param':0x0},{'title':_0x1cd3('0x1225'),'name':_0x1cd3('0x8fc'),'type':_0x1cd3('0x407'),'min':0x0,'param':0x1},{'title':_0x1cd3('0x2525'),'name':_0x1cd3('0x422'),'type':_0x1cd3('0x401'),'param':0x2},{'title':_0x1cd3('0x2526'),'name':_0x1cd3('0x3a4'),'type':_0x1cd3('0x401'),'param':0x3}]},{'app':'Dial','appType':_0x1cd3('0x2538'),'context':_0x1cd3('0x2515'),'type':_0x1cd3('0x2521'),'icon':_0x1cd3('0x1214'),'interval':_0x1cd3('0x1216'),'options':'xX','isApp':!![],'extraApi':[{'name':'users','field':{'name':'user','key':_0x1cd3('0x98'),'prefix':'SIP/'},'route':_0x1cd3('0x368'),'filters':{'fields':_0x1cd3('0x2539'),'sort':_0x1cd3('0x98'),'nolimit':!![]},'permissions':{'sections':[{'id':0xca,'role':_0x1cd3('0xd2')},{'id':0xcb,'role':_0x1cd3('0x28e')}]}}],'fields':[{'title':_0x1cd3('0x132a'),'name':_0x1cd3('0x368'),'type':_0x1cd3('0x1218'),'values':_0x1cd3('0xef4'),'value':'\x27SIP/{{user.name}}\x27','option':'user.name','required':!![],'param':0x0},{'title':_0x1cd3('0x1225'),'name':_0x1cd3('0x8fc'),'type':_0x1cd3('0x407'),'min':0x0,'param':0x1},{'title':_0x1cd3('0x2525'),'name':'options','type':'text','param':0x2},{'title':_0x1cd3('0x2526'),'name':'url','type':_0x1cd3('0x401'),'param':0x3}]},{'app':'Dial','appType':_0x1cd3('0x253a'),'context':_0x1cd3('0x2515'),'type':'inbound','icon':'icon-apps','interval':_0x1cd3('0x1216'),'options':'xX','isApp':!![],'extraApi':[{'name':_0x1cd3('0xef5'),'field':{'name':_0x1cd3('0x18e7'),'key':_0x1cd3('0x98')},'route':'trunk','filters':{'fields':'id,name','sort':_0x1cd3('0x98'),'nolimit':!![]},'permissions':{'section':0x3f3}}],'fields':[{'title':_0x1cd3('0x13de'),'name':_0x1cd3('0x18e7'),'type':_0x1cd3('0x1218'),'values':'trunks','value':_0x1cd3('0x253b'),'option':_0x1cd3('0x253b'),'required':!![],'param':0x0},{'title':'Phone','name':_0x1cd3('0xf09'),'required':!![],'type':_0x1cd3('0x401')},{'title':_0x1cd3('0x1225'),'name':_0x1cd3('0x8fc'),'type':'number','min':0x0,'param':0x1},{'title':'Options','name':'options','type':_0x1cd3('0x401'),'param':0x2},{'title':_0x1cd3('0x2526'),'name':'url','type':'text','param':0x3}]},{'app':_0x1cd3('0x2535'),'appType':_0x1cd3('0x253c'),'context':_0x1cd3('0x2515'),'type':'inbound','icon':_0x1cd3('0x1214'),'interval':_0x1cd3('0x1216'),'options':'xX','isApp':!![],'extraApi':[{'name':_0x1cd3('0xef4'),'field':{'name':_0x1cd3('0x253d'),'key':_0x1cd3('0x98'),'prefix':'SIP/'},'route':_0x1cd3('0x368'),'filters':{'fields':_0x1cd3('0x2539'),'sort':_0x1cd3('0x98'),'nolimit':!![]},'permissions':{'sections':[{'id':0xca,'role':_0x1cd3('0xd2')},{'id':0xcb,'role':'telephone'}]}}],'fields':[{'title':_0x1cd3('0x132a'),'name':'multipleUsers','type':_0x1cd3('0x1218'),'multiple':!![],'values':'users','value':_0x1cd3('0x253e'),'option':'multipleUsers.name','required':!![],'param':0x0},{'title':_0x1cd3('0x1225'),'name':_0x1cd3('0x8fc'),'type':'number','min':0x0,'param':0x1},{'title':'Options','name':_0x1cd3('0x422'),'type':_0x1cd3('0x401'),'param':0x2},{'title':_0x1cd3('0x2526'),'name':_0x1cd3('0x3a4'),'type':'text','param':0x3}]},{'app':'AGI','alias':_0x1cd3('0x218e'),'appType':_0x1cd3('0x128c'),'context':_0x1cd3('0x2515'),'type':_0x1cd3('0xa4'),'icon':_0x1cd3('0x1214'),'interval':'*,*,*,*','isApp':!![],'extraApi':[{'name':'projects','field':{'name':_0x1cd3('0xedd'),'key':_0x1cd3('0x98'),'prefix':'agi://127.0.0.1/square,'},'route':_0x1cd3('0xc55'),'filters':{'fields':_0x1cd3('0xa6'),'sort':'name','nolimit':!![]},'permissions':{'section':0x44f}}],'fields':[{'title':_0x1cd3('0x1c4c'),'name':_0x1cd3('0xedd'),'type':_0x1cd3('0x1218'),'values':_0x1cd3('0xeda'),'value':_0x1cd3('0x253f'),'option':'project.name','required':!![],'param':0x0}]},{'app':'goto','appType':'goTo','context':_0x1cd3('0x2515'),'type':_0x1cd3('0x2521'),'icon':'icon-apps','interval':_0x1cd3('0x1216'),'isApp':!![],'extraApi':[{'name':_0x1cd3('0x2119'),'field':{'name':_0x1cd3('0xf0a'),'key':_0x1cd3('0x98')},'route':_0x1cd3('0xa3e'),'filters':{'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'nolimit':!![]},'permissions':{'section':0x195}}],'fields':[{'title':_0x1cd3('0x24ff'),'name':_0x1cd3('0xf0a'),'type':_0x1cd3('0x1218'),'values':'contexts','value':'context.name','option':_0x1cd3('0x2540'),'required':!![],'param':0x0},{'title':_0x1cd3('0x2541'),'name':_0x1cd3('0xf0b'),'type':'text','required':!![],'param':0x1},{'title':_0x1cd3('0x18f7'),'name':_0x1cd3('0xf0c'),'type':'text','required':!![],'param':0x2}]},{'app':_0x1cd3('0x2542'),'appType':'hangup','context':_0x1cd3('0x2515'),'type':'Inbound','icon':'icon-apps','interval':_0x1cd3('0x1216'),'isApp':!![],'fields':[{'title':_0x1cd3('0x2543'),'name':_0x1cd3('0x127d'),'type':'select','param':0x0,'values':[{'option':_0x1cd3('0x2544'),'value':_0x1cd3('0x1478')},{'option':_0x1cd3('0x2545'),'value':'\x2716\x27'},{'option':_0x1cd3('0x2546'),'value':'\x2717\x27'},{'option':'HANGUPCAUSE_18','value':_0x1cd3('0x2547')},{'option':'HANGUPCAUSE_21','value':'\x2721\x27'},{'option':_0x1cd3('0x2548'),'value':_0x1cd3('0x2549')},{'option':_0x1cd3('0x254a'),'value':_0x1cd3('0x254b')},{'option':_0x1cd3('0x254c'),'value':'\x2738\x27'},{'option':_0x1cd3('0x254d'),'value':'\x2741\x27'}],'translate':!![],'required':!![],'general':!![]}]},{'app':_0x1cd3('0x254e'),'appType':_0x1cd3('0x127e'),'context':_0x1cd3('0x2515'),'type':_0x1cd3('0x2521'),'separator':'=','icon':_0x1cd3('0x1214'),'interval':_0x1cd3('0x1216'),'extraApi':[{'name':_0x1cd3('0xef7'),'field':{'name':_0x1cd3('0x98'),'key':'name'},'route':_0x1cd3('0xb84'),'filters':{'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'nolimit':!![]},'permissions':{'section':0x3f4}}],'isApp':!![],'fields':[{'title':_0x1cd3('0x1217'),'name':_0x1cd3('0x98'),'type':_0x1cd3('0x1218'),'values':_0x1cd3('0xef7'),'value':'name.name','option':_0x1cd3('0x254f'),'required':!![],'param':0x0},{'title':_0x1cd3('0x1215'),'name':_0x1cd3('0x3db'),'type':_0x1cd3('0x401'),'required':!![],'param':0x1}]},{'app':null,'appType':_0x1cd3('0x8f6'),'icon':_0x1cd3('0x1214'),'type':_0x1cd3('0x2521'),'interval':'*,*,*,*','isApp':!![],'fields':[{'title':_0x1cd3('0x2550'),'name':_0x1cd3('0xd0a'),'type':_0x1cd3('0x401'),'required':!![],'param':0x0},{'title':_0x1cd3('0x2551'),'name':_0x1cd3('0x127d'),'type':'text','param':0x1}]},{'app':_0x1cd3('0x2552'),'appType':_0x1cd3('0x2553'),'context':_0x1cd3('0x2515'),'icon':_0x1cd3('0x1214'),'type':'Inbound','interval':_0x1cd3('0x1216'),'isApp':!![],'extraApi':[{'name':_0x1cd3('0x2554'),'field':{'name':_0x1cd3('0xa5e'),'key':_0x1cd3('0xf13'),'suffix':_0x1cd3('0x2555')},'route':_0x1cd3('0xa5e'),'filters':{'fields':_0x1cd3('0x2556'),'sort':'mailbox','nolimit':!![]},'permissions':{'section':0x196}}],'fields':[{'title':'Mailbox@Context','name':_0x1cd3('0xa5e'),'type':_0x1cd3('0x1218'),'values':'voiceMails','value':_0x1cd3('0x2557'),'option':_0x1cd3('0x2558'),'required':!![],'param':0x0},{'title':_0x1cd3('0x2525'),'name':_0x1cd3('0x422'),'type':'text','param':0x1}]}],[_0x1cd3('0xd0a')]),{'isApp':![]});_0x121f58[_0x1cd3('0x9d5')]={'group':{'name':_0x1cd3('0x1250'),'pull':'clone'},'animation':0x64,'sort':![]};_0x121f58[_0x1cd3('0x18f9')]={'group':{'name':'opt2','put':_0x1cd3('0x1250')},'animation':0x64,'onAdd':function(_0x5eaf39){_0x321680(_0x5eaf39,_0x5eaf39[_0x1cd3('0x18fa')]);},'onSort':function(_0x28936f){_0x2e74f4();}};_0x121f58[_0x1cd3('0xe08')]=_0x15745d;_0x121f58[_0x1cd3('0xe0a')]=_0x1e4ebd;_0x121f58[_0x1cd3('0x2559')]=_0x29d173;_0x121f58[_0x1cd3('0x255a')]=_0x321680;_0x121f58['editInterval']=_0x5c465b;_0x121f58[_0x1cd3('0x255b')]=_0x347ede;_0x121f58['deleteSelectedInboundRouteApps']=_0x30088d;_0x121f58['rewriteRouting']=_0x2e74f4;_0x121f58[_0x1cd3('0x1257')]=_0x3eee31;function _0x15745d(_0x2ac7ed,_0x4e20cb){_0x121f58[_0x1cd3('0x2512')]=_0x2ac7ed;_0x121f58[_0x1cd3('0xd27')]=typeof _0x4e20cb!==_0x1cd3('0x491')?_0x4e20cb:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x121f58[_0x1cd3('0x18f9')][_0x1cd3('0x447')]=!_0x121f58[_0x1cd3('0xd27')][_0x1cd3('0xe3b')]?!![]:![];_0x121f58['query'][_0x1cd3('0x255c')]=_0x2ac7ed['id'];_0x121f58['query']['isApp']=!![];_0x121f58[_0x1cd3('0x3d4')][_0x1cd3('0x1256')]=!![];_0x121f58[_0x1cd3('0x2559')]();_0x121f58[_0x1cd3('0x1257')]();}function _0x1e4ebd(_0x46f013,_0x772cc0,_0xe22725){var _0x4191b6=_0x178a0d['confirm']()[_0x1cd3('0x486')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20application?')[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x46f013[_0x1cd3('0xd0a')]+_0x1cd3('0xd52')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')]('delete\x20application')[_0x1cd3('0xd63')](_0xe22725)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x178a0d[_0x1cd3('0x37e')](_0x4191b6)[_0x1cd3('0x77')](function(){_0x121f58[_0x1cd3('0x251f')][_0x1cd3('0xf6')]['splice'](_0x772cc0,0x1);_0x2e74f4();},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}function _0x321680(_0x285ba0,_0x9f9fbf){if(_0x121f58[_0x1cd3('0x251f')][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){var _0x176fa3=_0x121f58[_0x1cd3('0x251f')][_0x1cd3('0xf6')][_0x9f9fbf]?_0x121f58['inboundrouteApps'][_0x1cd3('0xf6')][_0x9f9fbf]:_0x121f58['inboundrouteApps'][_0x1cd3('0xf6')][0x0];_0x178a0d[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x255d')+(_0x176fa3[_0x1cd3('0x125b')]||_0x176fa3['app'])[_0x1cd3('0x433')]()+_0x1cd3('0x125c'),'controllerAs':'vm','templateUrl':_0x1cd3('0x255e')+(_0x176fa3[_0x1cd3('0x125b')]||_0x176fa3[_0x1cd3('0xd0a')])[_0x1cd3('0x433')]()+_0x1cd3('0x125e'),'parent':angular[_0x1cd3('0x37f')](_0x34e61a[_0x1cd3('0x380')]),'targetEvent':_0x285ba0,'clickOutsideToClose':!![],'locals':{'inboundrouteApp':_0x176fa3,'inboundroute':_0x121f58[_0x1cd3('0x2512')],'crudPermissions':_0x121f58[_0x1cd3('0xd27')]}})['then'](function(_0x17528a){if(_0x17528a){if(_0x17528a['id']){_0x121f58[_0x1cd3('0x251f')][_0x1cd3('0xf6')][_0x9f9fbf]=_0x17528a;}else{_0x121f58['inboundrouteApps']['rows']['splice'](_0x9f9fbf,0x0,_0x17528a);}_0x2e74f4();}})[_0x1cd3('0xfd')](function(_0x2efcd1){if(_0x2efcd1){_0x5d2ab9['error']({'title':_0x2efcd1[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x2efcd1[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x2efcd1[_0x1cd3('0xd35')]:'SYSTEM:EDITMODALSHOW','msg':_0x2efcd1['data']?JSON[_0x1cd3('0x438')](_0x2efcd1[_0x1cd3('0x439')]):_0x2efcd1[_0x1cd3('0x43b')]()});}});}}function _0x5c465b(_0x38b943,_0x3b0037){if(_0x121f58['inboundrouteApps'][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){var _0x4b9142=_0x121f58[_0x1cd3('0x251f')][_0x1cd3('0xf6')][_0x3b0037]?_0x121f58[_0x1cd3('0x251f')][_0x1cd3('0xf6')][_0x3b0037]:_0x121f58[_0x1cd3('0x251f')]['rows'][0x0];_0x178a0d['show']({'controller':_0x1cd3('0x255f'),'controllerAs':'vm','templateUrl':_0x1cd3('0x2560'),'parent':angular[_0x1cd3('0x37f')](_0x34e61a['body']),'targetEvent':_0x38b943,'clickOutsideToClose':!![],'locals':{'interval':{'interval':_0x4b9142['interval'],'IntervalId':_0x4b9142[_0x1cd3('0xf4b')],'application':!![]},'intervals':[],'crudPermissions':_0x121f58[_0x1cd3('0xd27')]}})[_0x1cd3('0x77')](function(_0x462a){if(_0x462a){_0x4b9142['interval']=_0x462a[_0x1cd3('0x77e')]||'*,*,*,*';_0x4b9142[_0x1cd3('0xf4b')]=_0x462a[_0x1cd3('0xf4b')]||null;_0x2e74f4();}});}}function _0x2e74f4(){var _0x548f45=[_0x1cd3('0x1220'),_0x1cd3('0x2531')];var _0x2c59d8=0x2;var _0x3ca085=[];_0x3ca085['push']({'type':'inbound','app':_0x1cd3('0x254e'),'appdata':'CDR(type)=inbound','context':_0x121f58[_0x1cd3('0x2512')][_0x1cd3('0xf0a')],'exten':_0x121f58[_0x1cd3('0x2512')][_0x1cd3('0x1261')],'priority':_0x2c59d8++,'VoiceExtensionId':_0x121f58[_0x1cd3('0x2512')]['id']});_0x3ca085[_0x1cd3('0x7b')]({'type':'inbound','app':_0x1cd3('0x254e'),'appdata':_0x1cd3('0x2561'),'context':_0x121f58['inboundroute']['context'],'exten':_0x121f58[_0x1cd3('0x2512')][_0x1cd3('0x1261')],'priority':_0x2c59d8++,'VoiceExtensionId':_0x121f58['inboundroute']['id']});_0x3ca085[_0x1cd3('0x7b')]({'type':'inbound','app':'Set','appdata':_0x1cd3('0x2562'),'context':_0x121f58[_0x1cd3('0x2512')][_0x1cd3('0xf0a')],'exten':_0x121f58[_0x1cd3('0x2512')]['exten'],'priority':_0x2c59d8++,'VoiceExtensionId':_0x121f58[_0x1cd3('0x2512')]['id']});_0x3ca085['push']({'type':_0x1cd3('0xa4'),'app':'Set','appdata':_0x1cd3('0x2563'),'context':_0x121f58[_0x1cd3('0x2512')][_0x1cd3('0xf0a')],'exten':_0x121f58[_0x1cd3('0x2512')]['exten'],'priority':_0x2c59d8++,'VoiceExtensionId':_0x121f58[_0x1cd3('0x2512')]['id']});for(var _0x2d180c=0x0,_0x203468=0x0;_0x2d180c<_0x121f58[_0x1cd3('0x251f')][_0x1cd3('0xf6')][_0x1cd3('0x7a')];_0x2d180c++,_0x203468=0x0){var _0x15f06f=_0x121f58[_0x1cd3('0x251f')][_0x1cd3('0xf6')][_0x2d180c];var _0xb11ce1=[];var _0x10d619=[];_0x15f06f['intervals']=_0x15f06f[_0x1cd3('0x77e')]!=='*,*,*,*'?[_0x15f06f[_0x1cd3('0x77e')]]:_0x15f06f[_0x1cd3('0xf4b')]?_['map'](_['filter'](_0x121f58[_0x1cd3('0xef9')][_0x1cd3('0xf6')],{'IntervalId':_0x15f06f[_0x1cd3('0xf4b')]}),_0x1cd3('0x77e')):[];_0x15f06f[_0x1cd3('0xf0a')]=_0x121f58[_0x1cd3('0x2512')]['context'];_0x15f06f['exten']=_0x121f58[_0x1cd3('0x2512')][_0x1cd3('0x1261')];if(_0x15f06f[_0x1cd3('0x424')]){_0x15f06f[_0x1cd3('0x424')]=_0x15f06f[_0x1cd3('0x424')][_0x1cd3('0x433')]();}if(_0x15f06f['hasOwnProperty'](_0x1cd3('0x5e2'))){if(_0x548f45[_0x1cd3('0x38f')](_0x15f06f[_0x1cd3('0xd0a')][_0x1cd3('0x433')]())&&_0x15f06f[_0x1cd3('0x125b')]!=='custom'){if(_0x15f06f[_0x1cd3('0x5e2')]){_0xb11ce1[_0x1cd3('0x7b')]({'type':_0x15f06f['type'][_0x1cd3('0x433')](),'app':_0x1cd3('0x2564'),'appdata':'$[${XCALLY-MOTION-ANSWER}=0]?Answer','context':_0x121f58[_0x1cd3('0x2512')]['context'],'exten':_0x121f58[_0x1cd3('0x2512')][_0x1cd3('0x1261')],'priority':_0x15f06f[_0x1cd3('0xef9')][_0x1cd3('0x7a')]+_0x2c59d8+_0x203468++,'VoiceExtensionId':_0x121f58[_0x1cd3('0x2512')]['id']});_0xb11ce1[_0x1cd3('0x7b')]({'type':_0x15f06f[_0x1cd3('0x424')]['toLowerCase'](),'app':_0x1cd3('0x254e'),'appdata':_0x1cd3('0x2565'),'context':_0x121f58['inboundroute'][_0x1cd3('0xf0a')],'exten':_0x121f58[_0x1cd3('0x2512')][_0x1cd3('0x1261')],'priority':_0x15f06f[_0x1cd3('0xef9')][_0x1cd3('0x7a')]+_0x2c59d8+_0x203468++,'VoiceExtensionId':_0x121f58[_0x1cd3('0x2512')]['id']});}else{_0xb11ce1[_0x1cd3('0x7b')]({'type':_0x15f06f['type'][_0x1cd3('0x433')](),'app':'ExecIf','appdata':'$[${XCALLY-MOTION-PROGRESS}=0]?Progress','context':_0x121f58['inboundroute'][_0x1cd3('0xf0a')],'exten':_0x121f58[_0x1cd3('0x2512')][_0x1cd3('0x1261')],'priority':_0x15f06f[_0x1cd3('0xef9')][_0x1cd3('0x7a')]+_0x2c59d8+_0x203468++,'VoiceExtensionId':_0x121f58[_0x1cd3('0x2512')]['id']});_0xb11ce1[_0x1cd3('0x7b')]({'type':_0x15f06f['type'][_0x1cd3('0x433')](),'app':'Set','appdata':_0x1cd3('0x2566'),'context':_0x121f58[_0x1cd3('0x2512')][_0x1cd3('0xf0a')],'exten':_0x121f58[_0x1cd3('0x2512')]['exten'],'priority':_0x15f06f[_0x1cd3('0xef9')]['length']+_0x2c59d8+_0x203468++,'VoiceExtensionId':_0x121f58[_0x1cd3('0x2512')]['id']});}}}for(var _0x2f2705=0x0;_0x2f2705<_0x15f06f['intervals']['length'];_0x2f2705++){var _0x3ffed9=_0x2c59d8+_0x15f06f[_0x1cd3('0xef9')][_0x1cd3('0x7a')];var _0x47e56f=_0x2f2705===_0x15f06f[_0x1cd3('0xef9')][_0x1cd3('0x7a')]-0x1?_0x2c59d8+_0xb11ce1['length']+_0x10d619[_0x1cd3('0x7a')]+0x2:_0x2c59d8+_0x2f2705+0x1;_0xb11ce1[_0x1cd3('0x446')](_0x2f2705,0x0,{'type':'inbound','app':_0x1cd3('0x2567'),'appdata':_0x15f06f[_0x1cd3('0xef9')][_0x2f2705]+'?'+_0x121f58[_0x1cd3('0x2512')][_0x1cd3('0xf0a')]+',${EXTEN},'+_0x3ffed9+':'+_0x121f58['inboundroute'][_0x1cd3('0xf0a')]+_0x1cd3('0x2568')+_0x47e56f,'exten':_0x121f58[_0x1cd3('0x2512')]['exten'],'context':_0x121f58[_0x1cd3('0x2512')][_0x1cd3('0xf0a')],'priority':_0x2c59d8+_0x2f2705,'VoiceExtensionId':_0x121f58['inboundroute']['id']});}_0x15f06f[_0x1cd3('0xf0c')]=_0xb11ce1[_0x1cd3('0x7a')]?_[_0x1cd3('0x5df')](_0xb11ce1)[_0x1cd3('0xf0c')]+0x1:_0x2c59d8;_0x2c59d8=(_0x10d619[_0x1cd3('0x7a')]?_[_0x1cd3('0x5df')](_0x10d619)[_0x1cd3('0xf0c')]:_0x15f06f['priority'])+0x1;_0x3ca085=_[_0x1cd3('0x3ae')](_0x3ca085,_0xb11ce1,[_0x15f06f],_0x10d619);}_0x3ca085[_0x1cd3('0x7b')]({'type':'inbound','app':_0x1cd3('0x2569'),'exten':_0x121f58['inboundroute'][_0x1cd3('0x1261')],'context':_0x121f58[_0x1cd3('0x2512')][_0x1cd3('0xf0a')],'priority':_0x2c59d8,'VoiceExtensionId':_0x121f58[_0x1cd3('0x2512')]['id']});_0x301f9e[_0x1cd3('0xa40')][_0x1cd3('0x1262')]({'id':_0x121f58[_0x1cd3('0x2512')]['id']},_[_0x1cd3('0x1211')](_0x3ca085,_0x1cd3('0xf0c')))[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x136ee9){_0x121f58['inboundrouteApps'][_0x1cd3('0xf6')]=_0x136ee9[_0x1cd3('0xf6')];})['catch'](function(_0x215899){console[_0x1cd3('0x434')](_0x215899);});}function _0x29b1f9(_0x589165){_0x121f58[_0x1cd3('0x251f')]=_0x589165||{'count':0x0,'rows':[]};}function _0x3eee31(){return _0x301f9e['interval'][_0x1cd3('0x361')]({'fields':'id,interval,IntervalId'})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x1d6420){_0x121f58[_0x1cd3('0xef9')]=_0x1d6420;})[_0x1cd3('0xfd')](function(_0x1160bf){console['error'](_0x1160bf);});}function _0x29d173(){_0x121f58[_0x1cd3('0x539')]=_0x301f9e[_0x1cd3('0xa40')][_0x1cd3('0x361')](_0x121f58[_0x1cd3('0x3d4')],_0x29b1f9)[_0x1cd3('0x81')];}function _0x347ede(_0x58efbd){_['remove'](_0x121f58[_0x1cd3('0x251f')][_0x1cd3('0xf6')],{'id':_0x58efbd['id']});_0x2e74f4();_0x5d2ab9['success']({'title':_0x1cd3('0x1264'),'msg':_0x58efbd[_0x1cd3('0xd0a')]?_0x58efbd[_0x1cd3('0xd0a')]+_0x1cd3('0xd41'):''});}function _0x30088d(_0x17f7ae){var _0x44cc1c=_0x178a0d[_0x1cd3('0xd39')]()['title'](_0x1cd3('0x1265'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x121f58['selectedInboundRouteApps'][_0x1cd3('0x7a')]+_0x1cd3('0xd61')+'\x20will\x20be\x20deleted.')['ariaLabel'](_0x1cd3('0x1266'))[_0x1cd3('0xd63')](_0x17f7ae)['ok']('OK')['cancel'](_0x1cd3('0xd55'));_0x178a0d[_0x1cd3('0x37e')](_0x44cc1c)[_0x1cd3('0x77')](function(){_0x121f58[_0x1cd3('0x2520')][_0x1cd3('0x394')](function(_0x4acb7b){_['remove'](_0x121f58[_0x1cd3('0x251f')][_0x1cd3('0xf6')],{'id':_0x4acb7b['id']});});_0x121f58[_0x1cd3('0x2520')]=[];_0x2e74f4();});}}}());(function(){'use strict';_0x2a4266['$inject']=['$mdDialog','$q',_0x1cd3('0x461'),_0x1cd3('0x256a'),_0x1cd3('0x2512'),_0x1cd3('0x370'),_0x1cd3('0x56'),'crudPermissions'];angular[_0x1cd3('0x0')]('app.voice')[_0x1cd3('0x39b')]('EditInboundAppagiDialogController',_0x2a4266);function _0x2a4266(_0x3cf595,_0x15491c,_0x58f8eb,_0x3d1ee1,_0x5d436f,_0x134f13,_0x2cf424,_0x1d4f54){var _0xf8dbdc=this;_0xf8dbdc[_0x1cd3('0x3ca')]=_0x2cf424['getCurrentUser']();_0xf8dbdc[_0x1cd3('0xd34')]=[];_0xf8dbdc['title']=_0x1cd3('0x256b')+(_0x3d1ee1['appType']||_0x3d1ee1[_0x1cd3('0xd0a')])[_0x1cd3('0x437')]();_0xf8dbdc[_0x1cd3('0x128c')]=angular[_0x1cd3('0x429')](_0x3d1ee1);_0xf8dbdc['crudPermissions']=_0x1d4f54;_0xf8dbdc[_0x1cd3('0xd28')]={};if(_0xf8dbdc['agi'][_0x1cd3('0x127d')]){switch(_0xf8dbdc[_0x1cd3('0x128c')][_0x1cd3('0x125b')]?_0xf8dbdc['agi'][_0x1cd3('0x125b')][_0x1cd3('0x433')]():_0xf8dbdc[_0x1cd3('0x128c')][_0x1cd3('0xd0a')]['toLowerCase']()){case _0x1cd3('0x8f6'):break;case _0x1cd3('0x1233'):var _0x1139f6=_0xf8dbdc[_0x1cd3('0x128c')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0xf8dbdc[_0x1cd3('0x128c')]['key']=_0x1139f6[0x0];_0xf8dbdc[_0x1cd3('0x128c')][_0x1cd3('0x3f3')]=_0x1139f6[0x1];_0xf8dbdc[_0x1cd3('0x128c')]['welcomemessage']=_0x1139f6[_0x1cd3('0x9a2')](0x2,_0x1139f6[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x1247'):var _0x1139f6=_0xf8dbdc[_0x1cd3('0x128c')]['appdata'][_0x1cd3('0x3ef')](',');_0xf8dbdc['agi'][_0x1cd3('0x1248')]=_0x1139f6[0x0];_0xf8dbdc[_0x1cd3('0x128c')][_0x1cd3('0x1249')]=_0x1139f6[0x1];_0xf8dbdc[_0x1cd3('0x128c')][_0x1cd3('0x124a')]=_0x1139f6[0x2];_0xf8dbdc[_0x1cd3('0x128c')][_0x1cd3('0x124f')]=_0x1139f6[0x3];_0xf8dbdc[_0x1cd3('0x128c')]['welcomemessage']=_0x1139f6['slice'](0x4,_0x1139f6[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x122b'):var _0x1139f6=_0xf8dbdc[_0x1cd3('0x128c')]['appdata'][_0x1cd3('0x3ef')](',');_0xf8dbdc['agi'][_0x1cd3('0x122c')]=isNaN(_0x1139f6[0x0])?_0x1139f6[0x0]:parseInt(_0x1139f6[0x0],0xa);_0xf8dbdc[_0x1cd3('0x128c')][_0x1cd3('0x401')]=_0x1139f6[_0x1cd3('0x9a2')](0x1,_0x1139f6['length'])[_0x1cd3('0x3de')](',');break;case'message':_0xf8dbdc[_0x1cd3('0x128c')][_0x1cd3('0x401')]=_0xf8dbdc[_0x1cd3('0x128c')][_0x1cd3('0x127d')];break;case'set':_0xf8dbdc['agi'][_0x1cd3('0x98')]=_0xf8dbdc[_0x1cd3('0x128c')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x0];_0xf8dbdc['agi'][_0x1cd3('0x3db')]=_0xf8dbdc[_0x1cd3('0x128c')][_0x1cd3('0x127d')]['split']('=')[0x1];break;case'agi':_0xf8dbdc[_0x1cd3('0x128c')][_0x1cd3('0xedd')]=_0xf8dbdc[_0x1cd3('0x128c')]['appdata'];break;default:var _0x59994e=_0xf8dbdc[_0x1cd3('0x128c')]['appdata'][_0x1cd3('0x3ef')](',');_0xf8dbdc[_0x1cd3('0x128c')][_0x1cd3('0xedd')]=_[_0x1cd3('0x398')](_0x59994e[0x0])?_0x59994e[0x0]:isNaN(_0x59994e[0x0])?_0x59994e[0x0]:parseInt(_0x59994e[0x0],0xa);}}else{}if(_0xf8dbdc['agi']['type']&&_0xf8dbdc['agi'][_0x1cd3('0x424')][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0xf8dbdc['agi'][_0x1cd3('0x125b')][_0x1cd3('0x433')]()===_0x1cd3('0x1289')){_0xf8dbdc[_0x1cd3('0x128c')][_0x1cd3('0x6aa')]=_0xf8dbdc['agi'][_0x1cd3('0xf09')]?_0xf8dbdc['agi'][_0x1cd3('0xf09')][_0x1cd3('0x3ef')]('$')[0x0]:undefined;_0xf8dbdc[_0x1cd3('0x128c')]['callerId']=_0xf8dbdc['agi']['callerID']?_0x1cd3('0x1280')+_0xf8dbdc['agi'][_0x1cd3('0x127f')]:undefined;}_0xf8dbdc[_0x1cd3('0x256c')]=_0x4b8737;_0xf8dbdc['closeDialog']=_0x258a60;_0x2cf424[_0x1cd3('0x57')]('admin')?_0x134f13[_0x1cd3('0xc55')][_0x1cd3('0x361')]({'fields':'id,name','sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')]['then'](function(_0x2f3f57){_0xf8dbdc[_0x1cd3('0xeda')]=_0x2f3f57[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x49b350){_0x58f8eb[_0x1cd3('0x434')]({'title':_0x49b350['status']?_0x1cd3('0x435')+_0x49b350[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x49b350[_0x1cd3('0xd35')]:_0x1cd3('0x1dec'),'msg':_0x49b350[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x49b350[_0x1cd3('0x439')]):_0x49b350[_0x1cd3('0x43b')]()});}):_0x134f13[_0x1cd3('0xc55')][_0x1cd3('0x361')]({'fields':'id,name','sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')]['then'](function(_0x51e01c){_0xf8dbdc[_0x1cd3('0xeda')]=_0x51e01c['rows']||[];})['then'](function(){return _0x134f13['userProfileSection'][_0x1cd3('0x361')]({'userProfileId':_0xf8dbdc[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x44f})['$promise'];})[_0x1cd3('0x77')](function(_0x3f8a29){var _0x3949e5=_0x3f8a29&&_0x3f8a29[_0x1cd3('0xf6')]?_0x3f8a29[_0x1cd3('0xf6')][0x0]:null;if(!_0x3949e5){var _0x129805=[];var _0x1a1055=null;if(_0xf8dbdc[_0x1cd3('0x128c')]){_0x1a1055=_['find'](_0xf8dbdc[_0x1cd3('0xeda')],{'name':_0xf8dbdc[_0x1cd3('0x128c')][_0x1cd3('0xedd')]});}for(var _0x1defe1=0x0;_0x1defe1<_0xf8dbdc[_0x1cd3('0xeda')][_0x1cd3('0x7a')];_0x1defe1++){if(_0x1a1055&&_0xf8dbdc[_0x1cd3('0xeda')][_0x1defe1]['id']===_0x1a1055['id']){_0xf8dbdc['projects'][_0x1defe1][_0x1cd3('0xf4a')]=![];_0x129805[_0x1cd3('0x7b')](_0xf8dbdc['projects'][_0x1defe1]);}}_0xf8dbdc[_0x1cd3('0xeda')]=_0x129805;}else{if(!_0x3949e5[_0x1cd3('0x391')]){return _0x134f13['userProfileResource'][_0x1cd3('0x361')]({'sectionId':_0x3949e5['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x306dfb){var _0x283f8b=_[_0x1cd3('0x3d9')](_0x306dfb[_0x1cd3('0xf6')],function(_0x333541){return _[_0x1cd3('0x442')](_0xf8dbdc[_0x1cd3('0xeda')],{'id':_0x333541['resourceId']});});var _0x4b6c3f=null;if(_0xf8dbdc[_0x1cd3('0x128c')]){_0x4b6c3f=_[_0x1cd3('0x442')](_0xf8dbdc[_0x1cd3('0xeda')],{'name':_0xf8dbdc[_0x1cd3('0x128c')][_0x1cd3('0xedd')]});}if(_0x4b6c3f&&!_[_0x1cd3('0x38d')](_0x283f8b,['id',_0x4b6c3f['id']])){var _0x370af1=_[_0x1cd3('0x442')](_0xf8dbdc[_0x1cd3('0xeda')],{'id':_0x4b6c3f['id']});_0x370af1[_0x1cd3('0xf4a')]=![];_0x283f8b[_0x1cd3('0x7b')](_0x370af1);}_0xf8dbdc[_0x1cd3('0xeda')]=_0x283f8b;});}}})[_0x1cd3('0xfd')](function(_0x41c576){_0x58f8eb[_0x1cd3('0x434')]({'title':_0x41c576[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x41c576['status']+_0x1cd3('0x436')+_0x41c576['statusText']:_0x1cd3('0x1d69'),'msg':_0x41c576[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x41c576['data']):_0x41c576[_0x1cd3('0x43b')]()});});function _0x4b8737(){_0xf8dbdc[_0x1cd3('0xd34')]=[];var _0x3ada79=[];if(_0xf8dbdc[_0x1cd3('0x128c')][_0x1cd3('0x424')]&&_0xf8dbdc[_0x1cd3('0x128c')]['type']['toLowerCase']()===_0x1cd3('0x128')&&_0xf8dbdc['agi'][_0x1cd3('0x125b')]===_0x1cd3('0x1283')){_0xf8dbdc[_0x1cd3('0x128c')]['phone']=_0x5d436f['cutdigits']?(_0xf8dbdc[_0x1cd3('0x128c')][_0x1cd3('0x6aa')]||'')+'${EXTEN:'+_0x5d436f['cutdigits']+'}':(_0xf8dbdc[_0x1cd3('0x128c')]['prefix']||'')+_0x1cd3('0x128d');if(_0x5d436f['recordingFormat']!==_0x1cd3('0x6ae')){if(_0xf8dbdc[_0x1cd3('0x128c')][_0x1cd3('0x422')][_0x1cd3('0x45e')]('U(xcally-mixmonitor-context)')<0x0){_0xf8dbdc[_0x1cd3('0x128c')][_0x1cd3('0x422')]+=_0x1cd3('0x1286');}}else{_0xf8dbdc['agi'][_0x1cd3('0x422')]=_0xf8dbdc[_0x1cd3('0x128c')]['options']['replace'](_0x1cd3('0x1286'),'');}}if(_0xf8dbdc[_0x1cd3('0x128c')][_0x1cd3('0x125b')]&&_0xf8dbdc[_0x1cd3('0x128c')][_0x1cd3('0x125b')]===_0x1cd3('0x8f6')){}else{switch((_0xf8dbdc[_0x1cd3('0x128c')][_0x1cd3('0xd0a')]||_0xf8dbdc['agi'][_0x1cd3('0x125b')])[_0x1cd3('0x433')]()){case _0x1cd3('0x127e'):_0xf8dbdc[_0x1cd3('0x128c')][_0x1cd3('0x127d')]=_0xf8dbdc[_0x1cd3('0x128c')][_0x1cd3('0x98')]+'='+_0xf8dbdc[_0x1cd3('0x128c')][_0x1cd3('0x3db')];break;case _0x1cd3('0x8f6'):break;default:_0x3ada79[0x0]=_0xf8dbdc[_0x1cd3('0x128c')]['project'];_0xf8dbdc[_0x1cd3('0x128c')][_0x1cd3('0x127d')]=_0x3ada79['join'](',');}}_0x258a60(_0xf8dbdc[_0x1cd3('0x128c')]);}function _0x258a60(_0x306b64){_0x3cf595[_0x1cd3('0x39d')](_0x306b64);}}}());(function(){'use strict';_0x36f2cd[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),'$q',_0x1cd3('0x461'),_0x1cd3('0x256a'),_0x1cd3('0x2512'),_0x1cd3('0x370'),_0x1cd3('0x56'),'crudPermissions'];angular['module'](_0x1cd3('0x2d'))[_0x1cd3('0x39b')]('EditInboundAppcustomDialogController',_0x36f2cd);function _0x36f2cd(_0x820ccb,_0xd23dfa,_0x34644b,_0xc87cc5,_0x20cdad,_0x17f8ab,_0x362fb6,_0x153f16){var _0x5cc09f=this;_0x5cc09f[_0x1cd3('0x3ca')]=_0x362fb6[_0x1cd3('0x5d')]();_0x5cc09f[_0x1cd3('0xd34')]=[];_0x5cc09f['title']=_0x1cd3('0x256b')+(_0xc87cc5[_0x1cd3('0x125b')]||_0xc87cc5[_0x1cd3('0xd0a')])['toUpperCase']();_0x5cc09f[_0x1cd3('0x8f6')]=angular[_0x1cd3('0x429')](_0xc87cc5);_0x5cc09f[_0x1cd3('0xd27')]=_0x153f16;_0x5cc09f[_0x1cd3('0xd28')]={};if(_0x5cc09f[_0x1cd3('0x8f6')][_0x1cd3('0x127d')]){switch(_0x5cc09f['custom'][_0x1cd3('0x125b')]?_0x5cc09f['custom'][_0x1cd3('0x125b')][_0x1cd3('0x433')]():_0x5cc09f[_0x1cd3('0x8f6')]['app'][_0x1cd3('0x433')]()){case _0x1cd3('0x8f6'):break;case _0x1cd3('0x1233'):var _0x53479a=_0x5cc09f[_0x1cd3('0x8f6')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x5cc09f['custom']['key']=_0x53479a[0x0];_0x5cc09f[_0x1cd3('0x8f6')][_0x1cd3('0x3f3')]=_0x53479a[0x1];_0x5cc09f[_0x1cd3('0x8f6')][_0x1cd3('0x1246')]=_0x53479a[_0x1cd3('0x9a2')](0x2,_0x53479a[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x1247'):var _0x53479a=_0x5cc09f[_0x1cd3('0x8f6')][_0x1cd3('0x127d')]['split'](',');_0x5cc09f[_0x1cd3('0x8f6')][_0x1cd3('0x1248')]=_0x53479a[0x0];_0x5cc09f[_0x1cd3('0x8f6')][_0x1cd3('0x1249')]=_0x53479a[0x1];_0x5cc09f[_0x1cd3('0x8f6')][_0x1cd3('0x124a')]=_0x53479a[0x2];_0x5cc09f[_0x1cd3('0x8f6')][_0x1cd3('0x124f')]=_0x53479a[0x3];_0x5cc09f['custom'][_0x1cd3('0x1246')]=_0x53479a[_0x1cd3('0x9a2')](0x4,_0x53479a['length'])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x122b'):var _0x53479a=_0x5cc09f[_0x1cd3('0x8f6')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x5cc09f[_0x1cd3('0x8f6')][_0x1cd3('0x122c')]=isNaN(_0x53479a[0x0])?_0x53479a[0x0]:parseInt(_0x53479a[0x0],0xa);_0x5cc09f[_0x1cd3('0x8f6')][_0x1cd3('0x401')]=_0x53479a[_0x1cd3('0x9a2')](0x1,_0x53479a[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case'message':_0x5cc09f[_0x1cd3('0x8f6')]['text']=_0x5cc09f[_0x1cd3('0x8f6')][_0x1cd3('0x127d')];break;case'set':_0x5cc09f[_0x1cd3('0x8f6')][_0x1cd3('0x98')]=_0x5cc09f[_0x1cd3('0x8f6')]['appdata']['split']('=')[0x0];_0x5cc09f[_0x1cd3('0x8f6')]['value']=_0x5cc09f[_0x1cd3('0x8f6')][_0x1cd3('0x127d')]['split']('=')[0x1];break;case'agi':_0x5cc09f[_0x1cd3('0x8f6')][_0x1cd3('0xedd')]=_0x5cc09f[_0x1cd3('0x8f6')][_0x1cd3('0x127d')];break;default:var _0x25afe3=_0x5cc09f['custom'][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x5cc09f[_0x1cd3('0x8f6')]['app']=_[_0x1cd3('0x398')](_0x25afe3[0x0])?_0x25afe3[0x0]:isNaN(_0x25afe3[0x0])?_0x25afe3[0x0]:parseInt(_0x25afe3[0x0],0xa);_0x5cc09f[_0x1cd3('0x8f6')]['appdata']=_[_0x1cd3('0x398')](_0x25afe3[0x1])?_0x25afe3[0x1]:isNaN(_0x25afe3[0x1])?_0x25afe3[0x1]:parseInt(_0x25afe3[0x1],0xa);}}else{}if(_0x5cc09f[_0x1cd3('0x8f6')][_0x1cd3('0x424')]&&_0x5cc09f[_0x1cd3('0x8f6')][_0x1cd3('0x424')][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x5cc09f[_0x1cd3('0x8f6')]['appType'][_0x1cd3('0x433')]()===_0x1cd3('0x1289')){_0x5cc09f[_0x1cd3('0x8f6')][_0x1cd3('0x6aa')]=_0x5cc09f[_0x1cd3('0x8f6')]['phone']?_0x5cc09f[_0x1cd3('0x8f6')]['phone'][_0x1cd3('0x3ef')]('$')[0x0]:undefined;_0x5cc09f[_0x1cd3('0x8f6')][_0x1cd3('0x689')]=_0x5cc09f['custom'][_0x1cd3('0x127f')]?'CALLERID(all)='+_0x5cc09f[_0x1cd3('0x8f6')][_0x1cd3('0x127f')]:undefined;}_0x5cc09f[_0x1cd3('0x256c')]=_0x9fd3d9;_0x5cc09f[_0x1cd3('0x39c')]=_0x10998b;function _0x9fd3d9(){_0x5cc09f[_0x1cd3('0xd34')]=[];var _0x166258=[];if(_0x5cc09f[_0x1cd3('0x8f6')][_0x1cd3('0x424')]&&_0x5cc09f[_0x1cd3('0x8f6')][_0x1cd3('0x424')][_0x1cd3('0x433')]()==='outbound'&&_0x5cc09f[_0x1cd3('0x8f6')][_0x1cd3('0x125b')]===_0x1cd3('0x1283')){_0x5cc09f[_0x1cd3('0x8f6')]['phone']=_0x20cdad[_0x1cd3('0x128a')]?(_0x5cc09f[_0x1cd3('0x8f6')][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x1284')+_0x20cdad[_0x1cd3('0x128a')]+'}':(_0x5cc09f[_0x1cd3('0x8f6')][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x128d');if(_0x20cdad['recordingFormat']!==_0x1cd3('0x6ae')){if(_0x5cc09f[_0x1cd3('0x8f6')][_0x1cd3('0x422')][_0x1cd3('0x45e')](_0x1cd3('0x1286'))<0x0){_0x5cc09f['custom'][_0x1cd3('0x422')]+=_0x1cd3('0x1286');}}else{_0x5cc09f['custom'][_0x1cd3('0x422')]=_0x5cc09f[_0x1cd3('0x8f6')][_0x1cd3('0x422')][_0x1cd3('0x3f1')](_0x1cd3('0x1286'),'');}}if(_0x5cc09f[_0x1cd3('0x8f6')][_0x1cd3('0x125b')]&&_0x5cc09f['custom'][_0x1cd3('0x125b')]==='custom'){}else{switch((_0x5cc09f[_0x1cd3('0x8f6')]['app']||_0x5cc09f[_0x1cd3('0x8f6')][_0x1cd3('0x125b')])[_0x1cd3('0x433')]()){case _0x1cd3('0x127e'):_0x5cc09f[_0x1cd3('0x8f6')][_0x1cd3('0x127d')]=_0x5cc09f[_0x1cd3('0x8f6')][_0x1cd3('0x98')]+'='+_0x5cc09f[_0x1cd3('0x8f6')][_0x1cd3('0x3db')];break;case _0x1cd3('0x8f6'):break;default:_0x166258[0x0]=_0x5cc09f[_0x1cd3('0x8f6')][_0x1cd3('0xd0a')];_0x166258[0x1]=_0x5cc09f[_0x1cd3('0x8f6')]['appdata'];_0x5cc09f[_0x1cd3('0x8f6')][_0x1cd3('0x127d')]=_0x166258[_0x1cd3('0x3de')](',');}}_0x10998b(_0x5cc09f[_0x1cd3('0x8f6')]);}function _0x10998b(_0x4f231a){_0x820ccb[_0x1cd3('0x39d')](_0x4f231a);}}}());(function(){'use strict';_0x2d8243[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),'$q',_0x1cd3('0x461'),_0x1cd3('0x256a'),_0x1cd3('0x2512'),_0x1cd3('0x370'),_0x1cd3('0x56'),'crudPermissions'];angular[_0x1cd3('0x0')]('app.voice')[_0x1cd3('0x39b')](_0x1cd3('0x256d'),_0x2d8243);function _0x2d8243(_0x169500,_0x6dd3b,_0x4a6314,_0x471757,_0x428a4b,_0x534d6e,_0x5edb38,_0x59fd3f){var _0x44cb9c=this;_0x44cb9c[_0x1cd3('0x3ca')]=_0x5edb38[_0x1cd3('0x5d')]();_0x44cb9c[_0x1cd3('0xd34')]=[];_0x44cb9c[_0x1cd3('0x486')]=_0x1cd3('0x256b')+(_0x471757[_0x1cd3('0x125b')]||_0x471757[_0x1cd3('0xd0a')])[_0x1cd3('0x437')]();_0x44cb9c[_0x1cd3('0x2536')]=angular[_0x1cd3('0x429')](_0x471757);_0x44cb9c['crudPermissions']=_0x59fd3f;_0x44cb9c['hasModulePermissions']={};if(_0x44cb9c[_0x1cd3('0x2536')][_0x1cd3('0x127d')]){switch(_0x44cb9c[_0x1cd3('0x2536')][_0x1cd3('0x125b')]?_0x44cb9c['dial'][_0x1cd3('0x125b')][_0x1cd3('0x433')]():_0x44cb9c[_0x1cd3('0x2536')]['app'][_0x1cd3('0x433')]()){case _0x1cd3('0x8f6'):break;case _0x1cd3('0x1233'):var _0x4055f9=_0x44cb9c[_0x1cd3('0x2536')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x44cb9c['dial'][_0x1cd3('0x65c')]=_0x4055f9[0x0];_0x44cb9c[_0x1cd3('0x2536')]['language']=_0x4055f9[0x1];_0x44cb9c[_0x1cd3('0x2536')][_0x1cd3('0x1246')]=_0x4055f9[_0x1cd3('0x9a2')](0x2,_0x4055f9[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case'amazonlex':var _0x4055f9=_0x44cb9c[_0x1cd3('0x2536')]['appdata'][_0x1cd3('0x3ef')](',');_0x44cb9c['dial'][_0x1cd3('0x1248')]=_0x4055f9[0x0];_0x44cb9c[_0x1cd3('0x2536')][_0x1cd3('0x1249')]=_0x4055f9[0x1];_0x44cb9c[_0x1cd3('0x2536')][_0x1cd3('0x124a')]=_0x4055f9[0x2];_0x44cb9c['dial']['botname']=_0x4055f9[0x3];_0x44cb9c[_0x1cd3('0x2536')]['welcomemessage']=_0x4055f9[_0x1cd3('0x9a2')](0x4,_0x4055f9[_0x1cd3('0x7a')])['join'](',');break;case _0x1cd3('0x122b'):var _0x4055f9=_0x44cb9c[_0x1cd3('0x2536')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x44cb9c[_0x1cd3('0x2536')][_0x1cd3('0x122c')]=isNaN(_0x4055f9[0x0])?_0x4055f9[0x0]:parseInt(_0x4055f9[0x0],0xa);_0x44cb9c['dial']['text']=_0x4055f9[_0x1cd3('0x9a2')](0x1,_0x4055f9['length'])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x43a'):_0x44cb9c[_0x1cd3('0x2536')][_0x1cd3('0x401')]=_0x44cb9c[_0x1cd3('0x2536')][_0x1cd3('0x127d')];break;case _0x1cd3('0x127e'):_0x44cb9c[_0x1cd3('0x2536')][_0x1cd3('0x98')]=_0x44cb9c[_0x1cd3('0x2536')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x0];_0x44cb9c[_0x1cd3('0x2536')][_0x1cd3('0x3db')]=_0x44cb9c[_0x1cd3('0x2536')]['appdata'][_0x1cd3('0x3ef')]('=')[0x1];break;case _0x1cd3('0x128c'):_0x44cb9c[_0x1cd3('0x2536')][_0x1cd3('0xedd')]=_0x44cb9c['dial']['appdata'];break;default:var _0x36a355=_0x44cb9c[_0x1cd3('0x2536')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x44cb9c[_0x1cd3('0x2536')][_0x1cd3('0x256e')]=_[_0x1cd3('0x398')](_0x36a355[0x0])?_0x36a355[0x0]:isNaN(_0x36a355[0x0])?_0x36a355[0x0]:parseInt(_0x36a355[0x0],0xa);_0x44cb9c[_0x1cd3('0x2536')]['timeout']=_[_0x1cd3('0x398')](_0x36a355[0x1])?_0x36a355[0x1]:isNaN(_0x36a355[0x1])?_0x36a355[0x1]:parseInt(_0x36a355[0x1],0xa);_0x44cb9c[_0x1cd3('0x2536')]['options']=_[_0x1cd3('0x398')](_0x36a355[0x2])?_0x36a355[0x2]:isNaN(_0x36a355[0x2])?_0x36a355[0x2]:parseInt(_0x36a355[0x2],0xa);_0x44cb9c[_0x1cd3('0x2536')][_0x1cd3('0x3a4')]=_[_0x1cd3('0x398')](_0x36a355[0x3])?_0x36a355[0x3]:isNaN(_0x36a355[0x3])?_0x36a355[0x3]:parseInt(_0x36a355[0x3],0xa);}}else{}if(_0x44cb9c['dial']['type']&&_0x44cb9c[_0x1cd3('0x2536')][_0x1cd3('0x424')][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x44cb9c[_0x1cd3('0x2536')][_0x1cd3('0x125b')]['toLowerCase']()===_0x1cd3('0x1289')){_0x44cb9c['dial'][_0x1cd3('0x6aa')]=_0x44cb9c[_0x1cd3('0x2536')][_0x1cd3('0xf09')]?_0x44cb9c[_0x1cd3('0x2536')][_0x1cd3('0xf09')]['split']('$')[0x0]:undefined;_0x44cb9c[_0x1cd3('0x2536')][_0x1cd3('0x689')]=_0x44cb9c[_0x1cd3('0x2536')][_0x1cd3('0x127f')]?_0x1cd3('0x1280')+_0x44cb9c['dial'][_0x1cd3('0x127f')]:undefined;}_0x44cb9c[_0x1cd3('0x256c')]=_0x1afbaa;_0x44cb9c[_0x1cd3('0x39c')]=_0x11c987;function _0x1afbaa(){_0x44cb9c[_0x1cd3('0xd34')]=[];var _0x20eb29=[];if(_0x44cb9c['dial']['type']&&_0x44cb9c['dial']['type'][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x44cb9c[_0x1cd3('0x2536')][_0x1cd3('0x125b')]===_0x1cd3('0x1283')){_0x44cb9c[_0x1cd3('0x2536')][_0x1cd3('0xf09')]=_0x428a4b[_0x1cd3('0x128a')]?(_0x44cb9c[_0x1cd3('0x2536')][_0x1cd3('0x6aa')]||'')+'${EXTEN:'+_0x428a4b[_0x1cd3('0x128a')]+'}':(_0x44cb9c['dial']['prefix']||'')+_0x1cd3('0x128d');if(_0x428a4b[_0x1cd3('0x1285')]!==_0x1cd3('0x6ae')){if(_0x44cb9c['dial'][_0x1cd3('0x422')][_0x1cd3('0x45e')](_0x1cd3('0x1286'))<0x0){_0x44cb9c['dial'][_0x1cd3('0x422')]+=_0x1cd3('0x1286');}}else{_0x44cb9c[_0x1cd3('0x2536')][_0x1cd3('0x422')]=_0x44cb9c['dial']['options'][_0x1cd3('0x3f1')](_0x1cd3('0x1286'),'');}}if(_0x44cb9c['dial']['appType']&&_0x44cb9c['dial']['appType']===_0x1cd3('0x8f6')){}else{switch((_0x44cb9c[_0x1cd3('0x2536')]['app']||_0x44cb9c[_0x1cd3('0x2536')]['appType'])['toLowerCase']()){case _0x1cd3('0x127e'):_0x44cb9c[_0x1cd3('0x2536')][_0x1cd3('0x127d')]=_0x44cb9c[_0x1cd3('0x2536')][_0x1cd3('0x98')]+'='+_0x44cb9c[_0x1cd3('0x2536')]['value'];break;case _0x1cd3('0x8f6'):break;default:_0x20eb29[0x0]=_0x44cb9c[_0x1cd3('0x2536')]['tech'];_0x20eb29[0x1]=_0x44cb9c['dial'][_0x1cd3('0x8fc')];_0x20eb29[0x2]=_0x44cb9c[_0x1cd3('0x2536')][_0x1cd3('0x422')];_0x20eb29[0x3]=_0x44cb9c[_0x1cd3('0x2536')][_0x1cd3('0x3a4')];_0x44cb9c[_0x1cd3('0x2536')]['appdata']=_0x20eb29[_0x1cd3('0x3de')](',');}}_0x11c987(_0x44cb9c[_0x1cd3('0x2536')]);}function _0x11c987(_0x59c24e){_0x169500[_0x1cd3('0x39d')](_0x59c24e);}}}());(function(){'use strict';_0x40cc77['$inject']=[_0x1cd3('0x3c5'),'$q',_0x1cd3('0x461'),_0x1cd3('0x256a'),_0x1cd3('0x2512'),_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x2d'))[_0x1cd3('0x39b')](_0x1cd3('0x256f'),_0x40cc77);function _0x40cc77(_0x5336af,_0x1335fb,_0x434457,_0xa87940,_0x13384c,_0x2012ca,_0x86288,_0x308b81){var _0x54ad52=this;_0x54ad52[_0x1cd3('0x3ca')]=_0x86288['getCurrentUser']();_0x54ad52[_0x1cd3('0xd34')]=[];_0x54ad52[_0x1cd3('0x486')]=_0x1cd3('0x256b')+(_0xa87940[_0x1cd3('0x125b')]||_0xa87940[_0x1cd3('0xd0a')])[_0x1cd3('0x437')]();_0x54ad52[_0x1cd3('0x2570')]=angular['copy'](_0xa87940);_0x54ad52['crudPermissions']=_0x308b81;_0x54ad52[_0x1cd3('0xd28')]={};if(_0x54ad52['externaldial'][_0x1cd3('0x127d')]){switch(_0x54ad52[_0x1cd3('0x2570')]['appType']?_0x54ad52['externaldial'][_0x1cd3('0x125b')][_0x1cd3('0x433')]():_0x54ad52[_0x1cd3('0x2570')][_0x1cd3('0xd0a')][_0x1cd3('0x433')]()){case'custom':break;case _0x1cd3('0x1233'):var _0x1c02dc=_0x54ad52[_0x1cd3('0x2570')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x54ad52[_0x1cd3('0x2570')][_0x1cd3('0x65c')]=_0x1c02dc[0x0];_0x54ad52[_0x1cd3('0x2570')][_0x1cd3('0x3f3')]=_0x1c02dc[0x1];_0x54ad52[_0x1cd3('0x2570')][_0x1cd3('0x1246')]=_0x1c02dc[_0x1cd3('0x9a2')](0x2,_0x1c02dc[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x1247'):var _0x1c02dc=_0x54ad52[_0x1cd3('0x2570')][_0x1cd3('0x127d')]['split'](',');_0x54ad52[_0x1cd3('0x2570')][_0x1cd3('0x1248')]=_0x1c02dc[0x0];_0x54ad52[_0x1cd3('0x2570')]['secretaccesskey']=_0x1c02dc[0x1];_0x54ad52['externaldial'][_0x1cd3('0x124a')]=_0x1c02dc[0x2];_0x54ad52[_0x1cd3('0x2570')][_0x1cd3('0x124f')]=_0x1c02dc[0x3];_0x54ad52[_0x1cd3('0x2570')][_0x1cd3('0x1246')]=_0x1c02dc[_0x1cd3('0x9a2')](0x4,_0x1c02dc[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case'autoreply':var _0x1c02dc=_0x54ad52[_0x1cd3('0x2570')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x54ad52[_0x1cd3('0x2570')][_0x1cd3('0x122c')]=isNaN(_0x1c02dc[0x0])?_0x1c02dc[0x0]:parseInt(_0x1c02dc[0x0],0xa);_0x54ad52['externaldial'][_0x1cd3('0x401')]=_0x1c02dc[_0x1cd3('0x9a2')](0x1,_0x1c02dc[_0x1cd3('0x7a')])['join'](',');break;case _0x1cd3('0x43a'):_0x54ad52[_0x1cd3('0x2570')][_0x1cd3('0x401')]=_0x54ad52[_0x1cd3('0x2570')]['appdata'];break;case'set':_0x54ad52[_0x1cd3('0x2570')][_0x1cd3('0x98')]=_0x54ad52[_0x1cd3('0x2570')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x0];_0x54ad52[_0x1cd3('0x2570')][_0x1cd3('0x3db')]=_0x54ad52['externaldial'][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x1];break;case _0x1cd3('0x128c'):_0x54ad52[_0x1cd3('0x2570')][_0x1cd3('0xedd')]=_0x54ad52[_0x1cd3('0x2570')][_0x1cd3('0x127d')];break;default:var _0x14bb99=_0x54ad52[_0x1cd3('0x2570')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x54ad52[_0x1cd3('0x2570')][_0x1cd3('0x18e7')]=_0x14bb99[0x0][_0x1cd3('0x3ef')]('/')[0x1];_0x54ad52[_0x1cd3('0x2570')]['phone']=_0x14bb99[0x0][_0x1cd3('0x3ef')]('/')[0x2];_0x54ad52[_0x1cd3('0x2570')][_0x1cd3('0x8fc')]=_[_0x1cd3('0x398')](_0x14bb99[0x1])?_0x14bb99[0x1]:isNaN(_0x14bb99[0x1])?_0x14bb99[0x1]:parseInt(_0x14bb99[0x1],0xa);_0x54ad52['externaldial']['options']=_[_0x1cd3('0x398')](_0x14bb99[0x2])?_0x14bb99[0x2]:isNaN(_0x14bb99[0x2])?_0x14bb99[0x2]:parseInt(_0x14bb99[0x2],0xa);_0x54ad52[_0x1cd3('0x2570')][_0x1cd3('0x3a4')]=_[_0x1cd3('0x398')](_0x14bb99[0x3])?_0x14bb99[0x3]:isNaN(_0x14bb99[0x3])?_0x14bb99[0x3]:parseInt(_0x14bb99[0x3],0xa);}}else{}if(_0x54ad52['externaldial']['type']&&_0x54ad52[_0x1cd3('0x2570')]['type']['toLowerCase']()===_0x1cd3('0x128')&&_0x54ad52[_0x1cd3('0x2570')][_0x1cd3('0x125b')][_0x1cd3('0x433')]()==='outbounddial'){_0x54ad52[_0x1cd3('0x2570')][_0x1cd3('0x6aa')]=_0x54ad52[_0x1cd3('0x2570')][_0x1cd3('0xf09')]?_0x54ad52[_0x1cd3('0x2570')][_0x1cd3('0xf09')]['split']('$')[0x0]:undefined;_0x54ad52[_0x1cd3('0x2570')][_0x1cd3('0x689')]=_0x54ad52[_0x1cd3('0x2570')]['callerID']?'CALLERID(all)='+_0x54ad52[_0x1cd3('0x2570')]['callerID']:undefined;}_0x54ad52['saveInboundRouteApp']=_0x9e3743;_0x54ad52[_0x1cd3('0x39c')]=_0x1e447b;_0x86288[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x2012ca[_0x1cd3('0x18e7')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})['$promise'][_0x1cd3('0x77')](function(_0xdc6bfb){_0x54ad52[_0x1cd3('0xef5')]=_0xdc6bfb[_0x1cd3('0xf6')]||[];})['catch'](function(_0x4b383a){_0x434457[_0x1cd3('0x434')]({'title':_0x4b383a[_0x1cd3('0x3a6')]?'API:'+_0x4b383a[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x4b383a[_0x1cd3('0xd35')]:_0x1cd3('0x18e6'),'msg':_0x4b383a[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x4b383a['data']):_0x4b383a[_0x1cd3('0x43b')]()});}):_0x2012ca[_0x1cd3('0x18e7')][_0x1cd3('0x361')]({'fields':'id,name','sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')]['then'](function(_0x42c42f){_0x54ad52[_0x1cd3('0xef5')]=_0x42c42f[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x2012ca['userProfileSection']['get']({'userProfileId':_0x54ad52[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x3f3})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x3ebad3){var _0x15594a=_0x3ebad3&&_0x3ebad3[_0x1cd3('0xf6')]?_0x3ebad3[_0x1cd3('0xf6')][0x0]:null;if(!_0x15594a){var _0x20836a=[];var _0x176023=null;if(_0x54ad52['externaldial']){_0x176023=_[_0x1cd3('0x442')](_0x54ad52[_0x1cd3('0xef5')],{'name':_0x54ad52[_0x1cd3('0x2570')][_0x1cd3('0x18e7')]});}for(var _0x1ad367=0x0;_0x1ad367<_0x54ad52['trunks'][_0x1cd3('0x7a')];_0x1ad367++){if(_0x176023&&_0x54ad52['trunks'][_0x1ad367]['id']===_0x176023['id']){_0x54ad52[_0x1cd3('0xef5')][_0x1ad367][_0x1cd3('0xf4a')]=![];_0x20836a['push'](_0x54ad52['trunks'][_0x1ad367]);}}_0x54ad52[_0x1cd3('0xef5')]=_0x20836a;}else{if(!_0x15594a[_0x1cd3('0x391')]){return _0x2012ca[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x15594a['id']})['$promise'][_0x1cd3('0x77')](function(_0x3a2d47){var _0x157f11=_[_0x1cd3('0x3d9')](_0x3a2d47['rows'],function(_0x3ea410){return _[_0x1cd3('0x442')](_0x54ad52['trunks'],{'id':_0x3ea410[_0x1cd3('0xe8e')]});});var _0x23de60=null;if(_0x54ad52[_0x1cd3('0x2570')]){_0x23de60=_[_0x1cd3('0x442')](_0x54ad52['trunks'],{'name':_0x54ad52[_0x1cd3('0x2570')][_0x1cd3('0x18e7')]});}if(_0x23de60&&!_['some'](_0x157f11,['id',_0x23de60['id']])){var _0x41c638=_[_0x1cd3('0x442')](_0x54ad52[_0x1cd3('0xef5')],{'id':_0x23de60['id']});_0x41c638[_0x1cd3('0xf4a')]=![];_0x157f11[_0x1cd3('0x7b')](_0x41c638);}_0x54ad52[_0x1cd3('0xef5')]=_0x157f11;});}}})[_0x1cd3('0xfd')](function(_0x4b2f4b){_0x434457[_0x1cd3('0x434')]({'title':_0x4b2f4b[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x4b2f4b[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x4b2f4b[_0x1cd3('0xd35')]:_0x1cd3('0x18e9'),'msg':_0x4b2f4b[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x4b2f4b[_0x1cd3('0x439')]):_0x4b2f4b[_0x1cd3('0x43b')]()});});function _0x9e3743(){_0x54ad52[_0x1cd3('0xd34')]=[];var _0x44de15=[];if(_0x54ad52[_0x1cd3('0x2570')][_0x1cd3('0x424')]&&_0x54ad52['externaldial'][_0x1cd3('0x424')][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x54ad52[_0x1cd3('0x2570')][_0x1cd3('0x125b')]==='outboundDial'){_0x54ad52['externaldial'][_0x1cd3('0xf09')]=_0x13384c[_0x1cd3('0x128a')]?(_0x54ad52[_0x1cd3('0x2570')][_0x1cd3('0x6aa')]||'')+'${EXTEN:'+_0x13384c[_0x1cd3('0x128a')]+'}':(_0x54ad52['externaldial'][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x128d');if(_0x13384c[_0x1cd3('0x1285')]!==_0x1cd3('0x6ae')){if(_0x54ad52[_0x1cd3('0x2570')][_0x1cd3('0x422')][_0x1cd3('0x45e')](_0x1cd3('0x1286'))<0x0){_0x54ad52[_0x1cd3('0x2570')][_0x1cd3('0x422')]+=_0x1cd3('0x1286');}}else{_0x54ad52[_0x1cd3('0x2570')]['options']=_0x54ad52['externaldial']['options'][_0x1cd3('0x3f1')]('U(xcally-mixmonitor-context)','');}}if(_0x54ad52[_0x1cd3('0x2570')][_0x1cd3('0x125b')]&&_0x54ad52['externaldial'][_0x1cd3('0x125b')]===_0x1cd3('0x8f6')){}else{switch((_0x54ad52[_0x1cd3('0x2570')][_0x1cd3('0xd0a')]||_0x54ad52[_0x1cd3('0x2570')][_0x1cd3('0x125b')])['toLowerCase']()){case'set':_0x54ad52[_0x1cd3('0x2570')][_0x1cd3('0x127d')]=_0x54ad52[_0x1cd3('0x2570')]['name']+'='+_0x54ad52['externaldial'][_0x1cd3('0x3db')];break;case _0x1cd3('0x8f6'):break;default:_0x44de15[0x0]=[_0x1cd3('0x1949'),_0x54ad52[_0x1cd3('0x2570')][_0x1cd3('0x18e7')],_0x54ad52[_0x1cd3('0x2570')][_0x1cd3('0xf09')]][_0x1cd3('0x3de')]('/');_0x44de15[0x1]=_0x54ad52[_0x1cd3('0x2570')]['timeout'];_0x44de15[0x2]=_0x54ad52['externaldial']['options'];_0x44de15[0x3]=_0x54ad52[_0x1cd3('0x2570')][_0x1cd3('0x3a4')];_0x54ad52[_0x1cd3('0x2570')]['appdata']=_0x44de15[_0x1cd3('0x3de')](',');}}_0x1e447b(_0x54ad52['externaldial']);}function _0x1e447b(_0x4aeb16){_0x5336af[_0x1cd3('0x39d')](_0x4aeb16);}}}());(function(){'use strict';_0x9140c[_0x1cd3('0xc')]=['$mdDialog','$q','toasty',_0x1cd3('0x256a'),_0x1cd3('0x2512'),'api',_0x1cd3('0x56'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x2d'))[_0x1cd3('0x39b')](_0x1cd3('0x2571'),_0x9140c);function _0x9140c(_0x1f080f,_0x85fa45,_0x3bf928,_0x4b0f3c,_0x2aaa02,_0x540b39,_0x5eb68f,_0x37c886){var _0x379c49=this;_0x379c49['currentUser']=_0x5eb68f[_0x1cd3('0x5d')]();_0x379c49[_0x1cd3('0xd34')]=[];_0x379c49[_0x1cd3('0x486')]=_0x1cd3('0x256b')+(_0x4b0f3c[_0x1cd3('0x125b')]||_0x4b0f3c[_0x1cd3('0xd0a')])[_0x1cd3('0x437')]();_0x379c49[_0x1cd3('0x121b')]=angular['copy'](_0x4b0f3c);_0x379c49[_0x1cd3('0xd27')]=_0x37c886;_0x379c49[_0x1cd3('0xd28')]={};if(_0x379c49[_0x1cd3('0x121b')]['appdata']){switch(_0x379c49['goto'][_0x1cd3('0x125b')]?_0x379c49['goto'][_0x1cd3('0x125b')][_0x1cd3('0x433')]():_0x379c49['goto'][_0x1cd3('0xd0a')][_0x1cd3('0x433')]()){case _0x1cd3('0x8f6'):break;case'dialogflow':var _0x4d826d=_0x379c49[_0x1cd3('0x121b')]['appdata']['split'](',');_0x379c49[_0x1cd3('0x121b')]['key']=_0x4d826d[0x0];_0x379c49['goto']['language']=_0x4d826d[0x1];_0x379c49['goto'][_0x1cd3('0x1246')]=_0x4d826d[_0x1cd3('0x9a2')](0x2,_0x4d826d[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x1247'):var _0x4d826d=_0x379c49[_0x1cd3('0x121b')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x379c49[_0x1cd3('0x121b')][_0x1cd3('0x1248')]=_0x4d826d[0x0];_0x379c49[_0x1cd3('0x121b')]['secretaccesskey']=_0x4d826d[0x1];_0x379c49['goto'][_0x1cd3('0x124a')]=_0x4d826d[0x2];_0x379c49[_0x1cd3('0x121b')][_0x1cd3('0x124f')]=_0x4d826d[0x3];_0x379c49[_0x1cd3('0x121b')][_0x1cd3('0x1246')]=_0x4d826d['slice'](0x4,_0x4d826d[_0x1cd3('0x7a')])['join'](',');break;case _0x1cd3('0x122b'):var _0x4d826d=_0x379c49[_0x1cd3('0x121b')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x379c49['goto']['times']=isNaN(_0x4d826d[0x0])?_0x4d826d[0x0]:parseInt(_0x4d826d[0x0],0xa);_0x379c49[_0x1cd3('0x121b')]['text']=_0x4d826d[_0x1cd3('0x9a2')](0x1,_0x4d826d[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case'message':_0x379c49[_0x1cd3('0x121b')][_0x1cd3('0x401')]=_0x379c49[_0x1cd3('0x121b')][_0x1cd3('0x127d')];break;case _0x1cd3('0x127e'):_0x379c49[_0x1cd3('0x121b')][_0x1cd3('0x98')]=_0x379c49[_0x1cd3('0x121b')][_0x1cd3('0x127d')]['split']('=')[0x0];_0x379c49['goto'][_0x1cd3('0x3db')]=_0x379c49[_0x1cd3('0x121b')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x1];break;case _0x1cd3('0x128c'):_0x379c49[_0x1cd3('0x121b')][_0x1cd3('0xedd')]=_0x379c49[_0x1cd3('0x121b')][_0x1cd3('0x127d')];break;default:var _0x3c0270=_0x379c49[_0x1cd3('0x121b')]['appdata'][_0x1cd3('0x3ef')](',');_0x379c49['goto'][_0x1cd3('0xf0a')]=_[_0x1cd3('0x398')](_0x3c0270[0x0])?_0x3c0270[0x0]:isNaN(_0x3c0270[0x0])?_0x3c0270[0x0]:parseInt(_0x3c0270[0x0],0xa);_0x379c49[_0x1cd3('0x121b')]['extension']=_[_0x1cd3('0x398')](_0x3c0270[0x1])?_0x3c0270[0x1]:isNaN(_0x3c0270[0x1])?_0x3c0270[0x1]:parseInt(_0x3c0270[0x1],0xa);_0x379c49[_0x1cd3('0x121b')][_0x1cd3('0xf0c')]=_['isEmpty'](_0x3c0270[0x2])?_0x3c0270[0x2]:isNaN(_0x3c0270[0x2])?_0x3c0270[0x2]:parseInt(_0x3c0270[0x2],0xa);}}else{}if(_0x379c49[_0x1cd3('0x121b')][_0x1cd3('0x424')]&&_0x379c49[_0x1cd3('0x121b')]['type'][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x379c49[_0x1cd3('0x121b')][_0x1cd3('0x125b')]['toLowerCase']()===_0x1cd3('0x1289')){_0x379c49[_0x1cd3('0x121b')]['prefix']=_0x379c49['goto']['phone']?_0x379c49['goto'][_0x1cd3('0xf09')][_0x1cd3('0x3ef')]('$')[0x0]:undefined;_0x379c49[_0x1cd3('0x121b')][_0x1cd3('0x689')]=_0x379c49['goto'][_0x1cd3('0x127f')]?_0x1cd3('0x1280')+_0x379c49['goto'][_0x1cd3('0x127f')]:undefined;}_0x379c49[_0x1cd3('0x256c')]=_0x32295a;_0x379c49[_0x1cd3('0x39c')]=_0x2aaebb;_0x5eb68f[_0x1cd3('0x57')]('admin')?_0x540b39['voiceContext'][_0x1cd3('0x361')]({'fields':'id,name','sort':_0x1cd3('0x98'),'nolimit':'true'})[_0x1cd3('0x81')]['then'](function(_0x517a82){_0x379c49[_0x1cd3('0x2119')]=_0x517a82['rows']||[];})[_0x1cd3('0xfd')](function(_0x3b0d24){_0x3bf928['error']({'title':_0x3b0d24[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x3b0d24[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x3b0d24['statusText']:_0x1cd3('0x211a'),'msg':_0x3b0d24[_0x1cd3('0x439')]?JSON['stringify'](_0x3b0d24[_0x1cd3('0x439')]):_0x3b0d24[_0x1cd3('0x43b')]()});}):_0x540b39['voiceContext'][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'nolimit':'true'})['$promise'][_0x1cd3('0x77')](function(_0x16ffab){_0x379c49[_0x1cd3('0x2119')]=_0x16ffab[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x540b39['userProfileSection'][_0x1cd3('0x361')]({'userProfileId':_0x379c49[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x195})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0xf71cc8){var _0x370db2=_0xf71cc8&&_0xf71cc8[_0x1cd3('0xf6')]?_0xf71cc8['rows'][0x0]:null;if(!_0x370db2){return _0x540b39[_0x1cd3('0xa3e')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0'),'defaultEntry':0x1})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x20dec2){_0x379c49[_0x1cd3('0x2119')]=_0x20dec2['rows']||[];});}else{if(!_0x370db2[_0x1cd3('0x391')]){return _0x540b39['userProfileResource'][_0x1cd3('0x361')]({'sectionId':_0x370db2['id']})['$promise'][_0x1cd3('0x77')](function(_0x623469){var _0x29f337=_[_0x1cd3('0x3d9')](_0x623469[_0x1cd3('0xf6')],function(_0x5c334d){return _[_0x1cd3('0x442')](_0x379c49[_0x1cd3('0x2119')],{'id':_0x5c334d[_0x1cd3('0xe8e')]});});var _0x20ce9d=null;if(_0x379c49[_0x1cd3('0x121b')]){_0x20ce9d=_[_0x1cd3('0x442')](_0x379c49[_0x1cd3('0x2119')],{'name':_0x379c49[_0x1cd3('0x121b')][_0x1cd3('0xf0a')]});}if(_0x20ce9d&&!_[_0x1cd3('0x38d')](_0x29f337,['id',_0x20ce9d['id']])){var _0x4b00b6=_[_0x1cd3('0x442')](_0x379c49[_0x1cd3('0x2119')],{'id':_0x20ce9d['id']});_0x4b00b6[_0x1cd3('0xf4a')]=![];_0x29f337[_0x1cd3('0x7b')](_0x4b00b6);}_0x379c49[_0x1cd3('0x2119')]=_0x29f337;});}}})[_0x1cd3('0xfd')](function(_0x52b4dd){_0x3bf928['error']({'title':_0x52b4dd[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x52b4dd['status']+_0x1cd3('0x436')+_0x52b4dd[_0x1cd3('0xd35')]:_0x1cd3('0x214c'),'msg':_0x52b4dd[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x52b4dd['data']):_0x52b4dd[_0x1cd3('0x43b')]()});});function _0x32295a(){_0x379c49['errors']=[];var _0x2a55e6=[];if(_0x379c49['goto'][_0x1cd3('0x424')]&&_0x379c49[_0x1cd3('0x121b')][_0x1cd3('0x424')]['toLowerCase']()===_0x1cd3('0x128')&&_0x379c49[_0x1cd3('0x121b')]['appType']===_0x1cd3('0x1283')){_0x379c49[_0x1cd3('0x121b')][_0x1cd3('0xf09')]=_0x2aaa02[_0x1cd3('0x128a')]?(_0x379c49[_0x1cd3('0x121b')]['prefix']||'')+'${EXTEN:'+_0x2aaa02[_0x1cd3('0x128a')]+'}':(_0x379c49[_0x1cd3('0x121b')][_0x1cd3('0x6aa')]||'')+'${EXTEN}';if(_0x2aaa02['recordingFormat']!==_0x1cd3('0x6ae')){if(_0x379c49[_0x1cd3('0x121b')][_0x1cd3('0x422')][_0x1cd3('0x45e')](_0x1cd3('0x1286'))<0x0){_0x379c49[_0x1cd3('0x121b')][_0x1cd3('0x422')]+=_0x1cd3('0x1286');}}else{_0x379c49[_0x1cd3('0x121b')][_0x1cd3('0x422')]=_0x379c49[_0x1cd3('0x121b')]['options']['replace'](_0x1cd3('0x1286'),'');}}if(_0x379c49['goto']['appType']&&_0x379c49[_0x1cd3('0x121b')][_0x1cd3('0x125b')]==='custom'){}else{switch((_0x379c49[_0x1cd3('0x121b')][_0x1cd3('0xd0a')]||_0x379c49[_0x1cd3('0x121b')][_0x1cd3('0x125b')])['toLowerCase']()){case'set':_0x379c49['goto'][_0x1cd3('0x127d')]=_0x379c49['goto'][_0x1cd3('0x98')]+'='+_0x379c49[_0x1cd3('0x121b')]['value'];break;case _0x1cd3('0x8f6'):break;default:_0x2a55e6[0x0]=_0x379c49[_0x1cd3('0x121b')][_0x1cd3('0xf0a')];_0x2a55e6[0x1]=_0x379c49[_0x1cd3('0x121b')][_0x1cd3('0xf0b')];_0x2a55e6[0x2]=_0x379c49['goto'][_0x1cd3('0xf0c')];_0x379c49[_0x1cd3('0x121b')][_0x1cd3('0x127d')]=_0x2a55e6[_0x1cd3('0x3de')](',');}}_0x2aaebb(_0x379c49[_0x1cd3('0x121b')]);}function _0x2aaebb(_0x2af68c){_0x1f080f[_0x1cd3('0x39d')](_0x2af68c);}}}());(function(){'use strict';_0x175836[_0x1cd3('0xc')]=['$mdDialog','$q',_0x1cd3('0x461'),_0x1cd3('0x256a'),_0x1cd3('0x2512'),_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x2d'))[_0x1cd3('0x39b')]('EditInboundApphangupDialogController',_0x175836);function _0x175836(_0x2c0cf1,_0x52043a,_0x3fdb00,_0x191153,_0xac9e6d,_0x2ab444,_0x5b593d,_0x1d94fa){var _0x5f339f=this;_0x5f339f[_0x1cd3('0x3ca')]=_0x5b593d[_0x1cd3('0x5d')]();_0x5f339f['errors']=[];_0x5f339f[_0x1cd3('0x486')]='VOICE.EDIT_'+(_0x191153[_0x1cd3('0x125b')]||_0x191153[_0x1cd3('0xd0a')])['toUpperCase']();_0x5f339f[_0x1cd3('0x2542')]=angular[_0x1cd3('0x429')](_0x191153);_0x5f339f[_0x1cd3('0xd27')]=_0x1d94fa;_0x5f339f[_0x1cd3('0xd28')]={};if(_0x5f339f[_0x1cd3('0x2542')][_0x1cd3('0x127d')]){switch(_0x5f339f[_0x1cd3('0x2542')][_0x1cd3('0x125b')]?_0x5f339f['hangup']['appType'][_0x1cd3('0x433')]():_0x5f339f[_0x1cd3('0x2542')][_0x1cd3('0xd0a')][_0x1cd3('0x433')]()){case'custom':break;case _0x1cd3('0x1233'):var _0x4423a7=_0x5f339f[_0x1cd3('0x2542')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x5f339f[_0x1cd3('0x2542')][_0x1cd3('0x65c')]=_0x4423a7[0x0];_0x5f339f[_0x1cd3('0x2542')][_0x1cd3('0x3f3')]=_0x4423a7[0x1];_0x5f339f[_0x1cd3('0x2542')]['welcomemessage']=_0x4423a7[_0x1cd3('0x9a2')](0x2,_0x4423a7[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x1247'):var _0x4423a7=_0x5f339f[_0x1cd3('0x2542')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x5f339f[_0x1cd3('0x2542')][_0x1cd3('0x1248')]=_0x4423a7[0x0];_0x5f339f[_0x1cd3('0x2542')]['secretaccesskey']=_0x4423a7[0x1];_0x5f339f[_0x1cd3('0x2542')][_0x1cd3('0x124a')]=_0x4423a7[0x2];_0x5f339f[_0x1cd3('0x2542')][_0x1cd3('0x124f')]=_0x4423a7[0x3];_0x5f339f[_0x1cd3('0x2542')][_0x1cd3('0x1246')]=_0x4423a7[_0x1cd3('0x9a2')](0x4,_0x4423a7[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x122b'):var _0x4423a7=_0x5f339f[_0x1cd3('0x2542')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x5f339f[_0x1cd3('0x2542')][_0x1cd3('0x122c')]=isNaN(_0x4423a7[0x0])?_0x4423a7[0x0]:parseInt(_0x4423a7[0x0],0xa);_0x5f339f[_0x1cd3('0x2542')][_0x1cd3('0x401')]=_0x4423a7[_0x1cd3('0x9a2')](0x1,_0x4423a7[_0x1cd3('0x7a')])['join'](',');break;case'message':_0x5f339f[_0x1cd3('0x2542')][_0x1cd3('0x401')]=_0x5f339f['hangup']['appdata'];break;case'set':_0x5f339f[_0x1cd3('0x2542')]['name']=_0x5f339f[_0x1cd3('0x2542')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x0];_0x5f339f[_0x1cd3('0x2542')][_0x1cd3('0x3db')]=_0x5f339f[_0x1cd3('0x2542')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x1];break;case _0x1cd3('0x128c'):_0x5f339f[_0x1cd3('0x2542')][_0x1cd3('0xedd')]=_0x5f339f['hangup'][_0x1cd3('0x127d')];break;default:var _0x444b65=_0x5f339f[_0x1cd3('0x2542')]['appdata'][_0x1cd3('0x3ef')](',');_0x5f339f['hangup'][_0x1cd3('0x127d')]=_['isEmpty'](_0x444b65[0x0])?_0x444b65[0x0]:isNaN(_0x444b65[0x0])?_0x444b65[0x0]:parseInt(_0x444b65[0x0],0xa);}}else{}if(_0x5f339f[_0x1cd3('0x2542')][_0x1cd3('0x424')]&&_0x5f339f[_0x1cd3('0x2542')][_0x1cd3('0x424')][_0x1cd3('0x433')]()==='outbound'&&_0x5f339f[_0x1cd3('0x2542')][_0x1cd3('0x125b')][_0x1cd3('0x433')]()===_0x1cd3('0x1289')){_0x5f339f[_0x1cd3('0x2542')]['prefix']=_0x5f339f[_0x1cd3('0x2542')]['phone']?_0x5f339f[_0x1cd3('0x2542')][_0x1cd3('0xf09')][_0x1cd3('0x3ef')]('$')[0x0]:undefined;_0x5f339f[_0x1cd3('0x2542')][_0x1cd3('0x689')]=_0x5f339f[_0x1cd3('0x2542')][_0x1cd3('0x127f')]?_0x1cd3('0x1280')+_0x5f339f[_0x1cd3('0x2542')][_0x1cd3('0x127f')]:undefined;}_0x5f339f[_0x1cd3('0x256c')]=_0x15fc0d;_0x5f339f[_0x1cd3('0x39c')]=_0x3ff6f4;function _0x15fc0d(){_0x5f339f['errors']=[];var _0x16da9b=[];if(_0x5f339f[_0x1cd3('0x2542')][_0x1cd3('0x424')]&&_0x5f339f[_0x1cd3('0x2542')][_0x1cd3('0x424')][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x5f339f[_0x1cd3('0x2542')]['appType']===_0x1cd3('0x1283')){_0x5f339f[_0x1cd3('0x2542')][_0x1cd3('0xf09')]=_0xac9e6d[_0x1cd3('0x128a')]?(_0x5f339f[_0x1cd3('0x2542')]['prefix']||'')+_0x1cd3('0x1284')+_0xac9e6d[_0x1cd3('0x128a')]+'}':(_0x5f339f['hangup'][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x128d');if(_0xac9e6d[_0x1cd3('0x1285')]!=='none'){if(_0x5f339f[_0x1cd3('0x2542')][_0x1cd3('0x422')][_0x1cd3('0x45e')]('U(xcally-mixmonitor-context)')<0x0){_0x5f339f['hangup'][_0x1cd3('0x422')]+=_0x1cd3('0x1286');}}else{_0x5f339f[_0x1cd3('0x2542')][_0x1cd3('0x422')]=_0x5f339f[_0x1cd3('0x2542')][_0x1cd3('0x422')][_0x1cd3('0x3f1')](_0x1cd3('0x1286'),'');}}if(_0x5f339f[_0x1cd3('0x2542')]['appType']&&_0x5f339f[_0x1cd3('0x2542')][_0x1cd3('0x125b')]==='custom'){}else{switch((_0x5f339f[_0x1cd3('0x2542')][_0x1cd3('0xd0a')]||_0x5f339f[_0x1cd3('0x2542')][_0x1cd3('0x125b')])['toLowerCase']()){case _0x1cd3('0x127e'):_0x5f339f[_0x1cd3('0x2542')]['appdata']=_0x5f339f[_0x1cd3('0x2542')][_0x1cd3('0x98')]+'='+_0x5f339f[_0x1cd3('0x2542')][_0x1cd3('0x3db')];break;case _0x1cd3('0x8f6'):break;default:_0x16da9b[0x0]=_0x5f339f['hangup'][_0x1cd3('0x127d')];_0x5f339f['hangup']['appdata']=_0x16da9b[_0x1cd3('0x3de')](',');}}_0x3ff6f4(_0x5f339f['hangup']);}function _0x3ff6f4(_0x30daf8){_0x2c0cf1[_0x1cd3('0x39d')](_0x30daf8);}}}());(function(){'use strict';_0xaf1290[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),'$q',_0x1cd3('0x461'),_0x1cd3('0x256a'),_0x1cd3('0x2512'),_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x2d'))[_0x1cd3('0x39b')](_0x1cd3('0x2572'),_0xaf1290);function _0xaf1290(_0x2c17e3,_0x994cbd,_0x3a9997,_0x49e51b,_0x5a9a1e,_0x39b10e,_0xc4951e,_0x484539){var _0x9d7d32=this;_0x9d7d32['currentUser']=_0xc4951e['getCurrentUser']();_0x9d7d32[_0x1cd3('0xd34')]=[];_0x9d7d32['title']=_0x1cd3('0x256b')+(_0x49e51b[_0x1cd3('0x125b')]||_0x49e51b[_0x1cd3('0xd0a')])[_0x1cd3('0x437')]();_0x9d7d32[_0x1cd3('0x2573')]=angular[_0x1cd3('0x429')](_0x49e51b);_0x9d7d32[_0x1cd3('0xd27')]=_0x484539;_0x9d7d32[_0x1cd3('0xd28')]={};if(_0x9d7d32[_0x1cd3('0x2573')][_0x1cd3('0x127d')]){switch(_0x9d7d32[_0x1cd3('0x2573')][_0x1cd3('0x125b')]?_0x9d7d32[_0x1cd3('0x2573')][_0x1cd3('0x125b')][_0x1cd3('0x433')]():_0x9d7d32['internaldial'][_0x1cd3('0xd0a')][_0x1cd3('0x433')]()){case _0x1cd3('0x8f6'):break;case'dialogflow':var _0x58b131=_0x9d7d32[_0x1cd3('0x2573')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x9d7d32[_0x1cd3('0x2573')][_0x1cd3('0x65c')]=_0x58b131[0x0];_0x9d7d32[_0x1cd3('0x2573')][_0x1cd3('0x3f3')]=_0x58b131[0x1];_0x9d7d32['internaldial'][_0x1cd3('0x1246')]=_0x58b131['slice'](0x2,_0x58b131[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case'amazonlex':var _0x58b131=_0x9d7d32['internaldial']['appdata'][_0x1cd3('0x3ef')](',');_0x9d7d32[_0x1cd3('0x2573')][_0x1cd3('0x1248')]=_0x58b131[0x0];_0x9d7d32[_0x1cd3('0x2573')]['secretaccesskey']=_0x58b131[0x1];_0x9d7d32[_0x1cd3('0x2573')][_0x1cd3('0x124a')]=_0x58b131[0x2];_0x9d7d32[_0x1cd3('0x2573')][_0x1cd3('0x124f')]=_0x58b131[0x3];_0x9d7d32[_0x1cd3('0x2573')]['welcomemessage']=_0x58b131[_0x1cd3('0x9a2')](0x4,_0x58b131[_0x1cd3('0x7a')])['join'](',');break;case _0x1cd3('0x122b'):var _0x58b131=_0x9d7d32[_0x1cd3('0x2573')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x9d7d32['internaldial'][_0x1cd3('0x122c')]=isNaN(_0x58b131[0x0])?_0x58b131[0x0]:parseInt(_0x58b131[0x0],0xa);_0x9d7d32[_0x1cd3('0x2573')]['text']=_0x58b131[_0x1cd3('0x9a2')](0x1,_0x58b131['length'])['join'](',');break;case _0x1cd3('0x43a'):_0x9d7d32[_0x1cd3('0x2573')][_0x1cd3('0x401')]=_0x9d7d32[_0x1cd3('0x2573')][_0x1cd3('0x127d')];break;case'set':_0x9d7d32[_0x1cd3('0x2573')][_0x1cd3('0x98')]=_0x9d7d32[_0x1cd3('0x2573')][_0x1cd3('0x127d')]['split']('=')[0x0];_0x9d7d32[_0x1cd3('0x2573')][_0x1cd3('0x3db')]=_0x9d7d32[_0x1cd3('0x2573')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x1];break;case _0x1cd3('0x128c'):_0x9d7d32[_0x1cd3('0x2573')]['project']=_0x9d7d32[_0x1cd3('0x2573')][_0x1cd3('0x127d')];break;default:var _0x2184d6=_0x9d7d32[_0x1cd3('0x2573')][_0x1cd3('0x127d')]['split'](',');_0x9d7d32['internaldial'][_0x1cd3('0x368')]=_[_0x1cd3('0x398')](_0x2184d6[0x0])?_0x2184d6[0x0]:isNaN(_0x2184d6[0x0])?_0x2184d6[0x0]:parseInt(_0x2184d6[0x0],0xa);_0x9d7d32[_0x1cd3('0x2573')][_0x1cd3('0x8fc')]=_[_0x1cd3('0x398')](_0x2184d6[0x1])?_0x2184d6[0x1]:isNaN(_0x2184d6[0x1])?_0x2184d6[0x1]:parseInt(_0x2184d6[0x1],0xa);_0x9d7d32[_0x1cd3('0x2573')]['options']=_[_0x1cd3('0x398')](_0x2184d6[0x2])?_0x2184d6[0x2]:isNaN(_0x2184d6[0x2])?_0x2184d6[0x2]:parseInt(_0x2184d6[0x2],0xa);_0x9d7d32[_0x1cd3('0x2573')]['url']=_['isEmpty'](_0x2184d6[0x3])?_0x2184d6[0x3]:isNaN(_0x2184d6[0x3])?_0x2184d6[0x3]:parseInt(_0x2184d6[0x3],0xa);}}else{}if(_0x9d7d32[_0x1cd3('0x2573')][_0x1cd3('0x424')]&&_0x9d7d32[_0x1cd3('0x2573')][_0x1cd3('0x424')][_0x1cd3('0x433')]()==='outbound'&&_0x9d7d32['internaldial'][_0x1cd3('0x125b')]['toLowerCase']()===_0x1cd3('0x1289')){_0x9d7d32[_0x1cd3('0x2573')][_0x1cd3('0x6aa')]=_0x9d7d32[_0x1cd3('0x2573')][_0x1cd3('0xf09')]?_0x9d7d32['internaldial']['phone'][_0x1cd3('0x3ef')]('$')[0x0]:undefined;_0x9d7d32[_0x1cd3('0x2573')]['callerId']=_0x9d7d32[_0x1cd3('0x2573')][_0x1cd3('0x127f')]?'CALLERID(all)='+_0x9d7d32['internaldial'][_0x1cd3('0x127f')]:undefined;}_0x9d7d32[_0x1cd3('0x256c')]=_0xb99987;_0x9d7d32[_0x1cd3('0x39c')]=_0xcc2b75;var _0x4eff82=[{'id':0xca,'role':_0x1cd3('0xd2')},{'id':0xcb,'role':'telephone'}];var _0x40a4d6=null;_0xc4951e[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x39b10e[_0x1cd3('0x368')][_0x1cd3('0x361')]({'fields':'id,name,role','sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x50e944){_0x9d7d32['users']=_0x50e944[_0x1cd3('0xf6')]||[];})['catch'](function(_0x3c11f0){_0x3a9997[_0x1cd3('0x434')]({'title':_0x3c11f0[_0x1cd3('0x3a6')]?'API:'+_0x3c11f0[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x3c11f0[_0x1cd3('0xd35')]:_0x1cd3('0x249d'),'msg':_0x3c11f0[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x3c11f0[_0x1cd3('0x439')]):_0x3c11f0['toString']()});}):_0x39b10e[_0x1cd3('0x368')][_0x1cd3('0x361')]({'fields':'id,name,role','sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})['$promise']['then'](function(_0x5b4215){_0x40a4d6=_0x5b4215['rows']||[];})[_0x1cd3('0x77')](function(){var _0x576fb0=[];for(var _0x17b00d=0x0;_0x17b00d<_0x4eff82['length'];_0x17b00d++){_0x576fb0['push'](_0x39b10e[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x9d7d32[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':_0x4eff82[_0x17b00d]['id']})['$promise']);}return _0x994cbd[_0x1cd3('0x7e')](_0x576fb0);})['then'](function(_0x5694d6){var _0x49d85c=_[_0x1cd3('0x3d9')](_0x5694d6,function(_0x5ca50e){return _0x5ca50e&&_0x5ca50e[_0x1cd3('0xf6')]?_0x5ca50e[_0x1cd3('0xf6')][0x0]:null;});var _0x443c02=[];for(var _0x1ee27d=0x0;_0x1ee27d<_0x4eff82[_0x1cd3('0x7a')];_0x1ee27d++){var _0x1a8b1b=_[_0x1cd3('0x442')](_0x49d85c,[_0x1cd3('0x38b'),_0x4eff82[_0x1ee27d]['id']]);if(_0x1a8b1b){if(!_0x1a8b1b[_0x1cd3('0x391')]){_0x443c02[_0x1cd3('0x7b')](_0x39b10e[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x1a8b1b['id']})[_0x1cd3('0x81')]);}else{var _0x16f3d2=[];_0x40a4d6[_0x1cd3('0x394')](function(_0x4f7015){if(_0x4f7015[_0x1cd3('0x388')]===_0x4eff82[_0x1ee27d]['role']){_0x16f3d2['push'](_0x4f7015);}});_0x443c02['push']({'rows':_0x16f3d2,'count':_0x16f3d2[_0x1cd3('0x7a')]});}}}return _0x994cbd[_0x1cd3('0x7e')](_0x443c02);})[_0x1cd3('0x77')](function(_0x4a797c){var _0xbac1d9=[];var _0x1ba607=null;if(_0x9d7d32[_0x1cd3('0x2573')]){_0x1ba607=_[_0x1cd3('0x442')](_0x40a4d6,{'name':_0x9d7d32['internaldial']['user']});}for(var _0x37a70=0x0;_0x37a70<_0x4a797c[_0x1cd3('0x7a')];_0x37a70++){var _0x4238d9=_0x4a797c[_0x37a70]['rows']||[];_0x4238d9['forEach'](function(_0x1c7d50){_0xbac1d9[_0x1cd3('0x7b')](_0x1c7d50);});}if(_0x1ba607&&!_[_0x1cd3('0x38d')](_0xbac1d9,['resourceId',_0x1ba607['id']])){_0x40a4d6[_0x1cd3('0x394')](function(_0x1148e8){if(_0x1148e8['id']===_0x1ba607['id']){_0x1148e8['canSelect']=![];_0xbac1d9[_0x1cd3('0x7b')](_0x1148e8);}});}_0x9d7d32[_0x1cd3('0xef4')]=_0xbac1d9;})[_0x1cd3('0xfd')](function(_0x2dde94){_0x3a9997[_0x1cd3('0x434')]({'title':_0x2dde94[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x2dde94[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x2dde94[_0x1cd3('0xd35')]:_0x1cd3('0x2574'),'msg':_0x2dde94[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x2dde94[_0x1cd3('0x439')]):_0x2dde94['toString']()});});function _0xb99987(){_0x9d7d32['errors']=[];var _0x2cfe33=[];if(_0x9d7d32[_0x1cd3('0x2573')][_0x1cd3('0x424')]&&_0x9d7d32[_0x1cd3('0x2573')][_0x1cd3('0x424')][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x9d7d32[_0x1cd3('0x2573')][_0x1cd3('0x125b')]===_0x1cd3('0x1283')){_0x9d7d32[_0x1cd3('0x2573')][_0x1cd3('0xf09')]=_0x5a9a1e['cutdigits']?(_0x9d7d32[_0x1cd3('0x2573')][_0x1cd3('0x6aa')]||'')+'${EXTEN:'+_0x5a9a1e[_0x1cd3('0x128a')]+'}':(_0x9d7d32['internaldial'][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x128d');if(_0x5a9a1e['recordingFormat']!==_0x1cd3('0x6ae')){if(_0x9d7d32[_0x1cd3('0x2573')][_0x1cd3('0x422')][_0x1cd3('0x45e')]('U(xcally-mixmonitor-context)')<0x0){_0x9d7d32[_0x1cd3('0x2573')][_0x1cd3('0x422')]+='U(xcally-mixmonitor-context)';}}else{_0x9d7d32[_0x1cd3('0x2573')][_0x1cd3('0x422')]=_0x9d7d32[_0x1cd3('0x2573')]['options']['replace'](_0x1cd3('0x1286'),'');}}if(_0x9d7d32[_0x1cd3('0x2573')][_0x1cd3('0x125b')]&&_0x9d7d32['internaldial'][_0x1cd3('0x125b')]==='custom'){}else{switch((_0x9d7d32[_0x1cd3('0x2573')]['app']||_0x9d7d32[_0x1cd3('0x2573')][_0x1cd3('0x125b')])[_0x1cd3('0x433')]()){case _0x1cd3('0x127e'):_0x9d7d32[_0x1cd3('0x2573')]['appdata']=_0x9d7d32[_0x1cd3('0x2573')][_0x1cd3('0x98')]+'='+_0x9d7d32[_0x1cd3('0x2573')][_0x1cd3('0x3db')];break;case'custom':break;default:_0x2cfe33[0x0]=_0x9d7d32[_0x1cd3('0x2573')]['user'];_0x2cfe33[0x1]=_0x9d7d32[_0x1cd3('0x2573')][_0x1cd3('0x8fc')];_0x2cfe33[0x2]=_0x9d7d32['internaldial'][_0x1cd3('0x422')];_0x2cfe33[0x3]=_0x9d7d32[_0x1cd3('0x2573')][_0x1cd3('0x3a4')];_0x9d7d32[_0x1cd3('0x2573')][_0x1cd3('0x127d')]=_0x2cfe33[_0x1cd3('0x3de')](',');}}_0xcc2b75(_0x9d7d32[_0x1cd3('0x2573')]);}function _0xcc2b75(_0x3bc9d9){_0x2c17e3[_0x1cd3('0x39d')](_0x3bc9d9);}}}());(function(){'use strict';_0x4c6363[_0x1cd3('0xc')]=[_0x1cd3('0x53e'),_0x1cd3('0x3c5'),_0x1cd3('0x586'),_0x1cd3('0xcd4'),_0x1cd3('0x77e'),_0x1cd3('0xef9'),_0x1cd3('0x461'),_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x2d'))[_0x1cd3('0x39b')]('EditInboundAppintervalDialogController',_0x4c6363);function _0x4c6363(_0x506960,_0x5577d0,_0x512221,_0x4637bb,_0x1d28b3,_0x487416,_0x340d35,_0x40f121,_0x5f27fa,_0x3773ca){var _0x1545ba=this;_0x1545ba[_0x1cd3('0x3ca')]=_0x5f27fa[_0x1cd3('0x5d')]();_0x1545ba[_0x1cd3('0xd34')]=[];_0x1545ba[_0x1cd3('0x486')]=_0x1cd3('0x1292');_0x1545ba['interval']=angular[_0x1cd3('0x429')](_0x1d28b3);_0x1545ba['intervals']=_0x487416;_0x1545ba[_0x1cd3('0x1293')]=![];_0x1545ba[_0x1cd3('0x1294')]=[_0x1cd3('0x1213'),_0x1cd3('0x8f6'),_0x1cd3('0x9d5')];_0x1545ba[_0x1cd3('0xd27')]=_0x3773ca;_0x1545ba['daysOfWeek']=_0x4637bb['getDaysOfWeek']();_0x1545ba['monthNumber']=_0x4637bb[_0x1cd3('0x1296')]();_0x1545ba[_0x1cd3('0x190a')]=_0x4637bb[_0x1cd3('0x1297')]();_0x1545ba[_0x1cd3('0x1298')]=_0x4637bb[_0x1cd3('0x1c6f')]();if(!_0x1545ba['interval']){_0x1545ba[_0x1cd3('0x77e')]={'interval':_0x1cd3('0x1216')};_0x1545ba[_0x1cd3('0x424')]=_0x1cd3('0x1213');_0x1545ba['title']=_0x1cd3('0x1c70');_0x1545ba[_0x1cd3('0x1293')]=!![];}else{if(_0x1545ba[_0x1cd3('0x77e')]['interval']!==_0x1cd3('0x1216')){_0x1545ba[_0x1cd3('0x424')]=_0x1cd3('0x8f6');var _0xa98d6b=_0x1545ba[_0x1cd3('0x77e')][_0x1cd3('0x77e')][_0x1cd3('0x3ef')](',');var _0x16d06e=_0xa98d6b[0x0];var _0x415d44=_0xa98d6b[0x1];var _0x40b074=_0xa98d6b[0x2];var _0x240dc1=_0xa98d6b[0x3];if(_0x16d06e!=='*'){var _0x515e51=_0x16d06e[_0x1cd3('0x3ef')]('-')[0x0];var _0x62f870=_0x16d06e[_0x1cd3('0x3ef')]('-')[0x1];var _0x29a608;_0x29a608=new Date();_0x29a608[_0x1cd3('0x129a')](Number(_0x515e51[_0x1cd3('0x3ef')](':')[0x0]));_0x29a608[_0x1cd3('0x1299')](Number(_0x515e51[_0x1cd3('0x3ef')](':')[0x1]));_0x1545ba['timeRangeFrom']=_0x29a608;_0x29a608=new Date();_0x29a608[_0x1cd3('0x129a')](Number(_0x62f870['split'](':')[0x0]));_0x29a608[_0x1cd3('0x1299')](Number(_0x62f870[_0x1cd3('0x3ef')](':')[0x1]));_0x1545ba[_0x1cd3('0x129b')]=_0x29a608;}if(_0x415d44!=='*'){_0x1545ba[_0x1cd3('0x129c')]=_0x415d44[_0x1cd3('0x3ef')]('-')[0x0];_0x1545ba['dayOfWeekTo']=_0x415d44[_0x1cd3('0x3ef')]('-')[0x1];}if(_0x40b074!=='*'){_0x1545ba[_0x1cd3('0x129d')]=_0x40b074['split']('-')[0x0];_0x1545ba[_0x1cd3('0x129e')]=_0x40b074[_0x1cd3('0x3ef')]('-')[0x1];}if(_0x240dc1!=='*'){_0x1545ba[_0x1cd3('0x129f')]=_0x240dc1[_0x1cd3('0x3ef')]('-')[0x0];_0x1545ba[_0x1cd3('0x12a0')]=_0x240dc1[_0x1cd3('0x3ef')]('-')[0x1];}}else{_0x1545ba['type']='always';}}if(_0x506960[_0x1cd3('0x36a')]['id']&&!_0x1545ba['interval'][_0x1cd3('0x12a1')]){_0x1545ba[_0x1cd3('0x77e')][_0x1cd3('0xf4b')]=_0x506960[_0x1cd3('0x36a')]['id'];}if(_0x1545ba['interval'][_0x1cd3('0xf4b')]&&_0x1545ba[_0x1cd3('0x77e')][_0x1cd3('0x12a1')]){_0x1545ba['type']=_0x1cd3('0x9d5');}_0x1545ba[_0x1cd3('0x12a2')]=_0x447bb7;_0x1545ba[_0x1cd3('0x190b')]=_0x314053;_0x1545ba[_0x1cd3('0x39c')]=_0x1be2de;if(_0x1545ba[_0x1cd3('0x77e')][_0x1cd3('0x12a1')]){_0x5f27fa[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x40f121['interval'][_0x1cd3('0x361')]({'fields':_0x1cd3('0x12a3'),'IntervalId':'null','nolimit':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x247e33){_0x1545ba[_0x1cd3('0xef9')]=_0x247e33[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x3efb8c){_0x340d35[_0x1cd3('0x434')]({'title':_0x3efb8c[_0x1cd3('0x3a6')]?'API:'+_0x3efb8c[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x3efb8c[_0x1cd3('0xd35')]:_0x1cd3('0x12a4'),'msg':_0x3efb8c[_0x1cd3('0x439')]?JSON['stringify'](_0x3efb8c[_0x1cd3('0x439')]):_0x3efb8c[_0x1cd3('0x43b')]()});}):_0x40f121['interval'][_0x1cd3('0x361')]({'fields':_0x1cd3('0x12a3'),'IntervalId':_0x1cd3('0x220'),'nolimit':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x457006){_0x1545ba[_0x1cd3('0xef9')]=_0x457006['rows']||[];})[_0x1cd3('0x77')](function(){return _0x40f121[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x1545ba['currentUser'][_0x1cd3('0x5e')],'sectionId':0x3ec})['$promise'];})[_0x1cd3('0x77')](function(_0x51d41a){var _0x29b4a7=_0x51d41a&&_0x51d41a[_0x1cd3('0xf6')]?_0x51d41a[_0x1cd3('0xf6')][0x0]:null;if(!_0x29b4a7){_0x1545ba[_0x1cd3('0xef9')]=[];}else{if(!_0x29b4a7[_0x1cd3('0x391')]){return _0x40f121[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x29b4a7['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0xa4c824){var _0x314553=_0xa4c824&&_0xa4c824[_0x1cd3('0xf6')]?_0xa4c824[_0x1cd3('0xf6')]:[];var _0x56507a=[];var _0xd3ca26=null;if(_0x1545ba[_0x1cd3('0x77e')]){_0xd3ca26=_[_0x1cd3('0x442')](_0x1545ba[_0x1cd3('0xef9')],{'name':_0x1545ba[_0x1cd3('0x77e')]['IntervalId']});}if(_0xd3ca26&&!_[_0x1cd3('0x38d')](_0x314553,['resourceId',_0xd3ca26['id']])){_0x1545ba[_0x1cd3('0xef9')][_0x1cd3('0x394')](function(_0x4714af){if(_0x4714af['id']===_0xd3ca26['id']){_0x4714af[_0x1cd3('0xf4a')]=![];_0x56507a[_0x1cd3('0x7b')](_0x4714af);}});}_0x1545ba[_0x1cd3('0xef9')]=_0x56507a;});}}})['catch'](function(_0x107b21){_0x340d35[_0x1cd3('0x434')]({'title':_0x107b21[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x107b21[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x107b21[_0x1cd3('0xd35')]:_0x1cd3('0x12a4'),'msg':_0x107b21['data']?JSON[_0x1cd3('0x438')](_0x107b21[_0x1cd3('0x439')]):_0x107b21[_0x1cd3('0x43b')]()});});}function _0x431586(){switch(_0x1545ba['type']){case _0x1cd3('0x1213'):case _0x1cd3('0x9d5'):return'*,*,*,*';case _0x1cd3('0x8f6'):var _0x50e5f3=[];if(_0x1545ba[_0x1cd3('0x12a5')]!=='*'&&_0x1545ba[_0x1cd3('0x12a5')]&&_0x1545ba[_0x1cd3('0x129b')]){var _0x5965e6=(_0x1545ba[_0x1cd3('0x12a5')][_0x1cd3('0x12a6')]()<0xa?'0':'')+_0x1545ba[_0x1cd3('0x12a5')][_0x1cd3('0x12a6')]()+':'+((_0x1545ba[_0x1cd3('0x12a5')][_0x1cd3('0x12a7')]()<0xa?'0':'')+_0x1545ba[_0x1cd3('0x12a5')]['getMinutes']());var _0x3e344c=(_0x1545ba[_0x1cd3('0x129b')]['getHours']()<0xa?'0':'')+_0x1545ba[_0x1cd3('0x129b')]['getHours']()+':'+((_0x1545ba[_0x1cd3('0x129b')][_0x1cd3('0x12a7')]()<0xa?'0':'')+_0x1545ba[_0x1cd3('0x129b')]['getMinutes']());_0x50e5f3[_0x1cd3('0x7b')](_0x5965e6+'-'+_0x3e344c);}else{_0x50e5f3[_0x1cd3('0x7b')]('*');}if(_0x1545ba[_0x1cd3('0x129c')]){if(_0x1545ba[_0x1cd3('0x12a8')]){_0x50e5f3[_0x1cd3('0x7b')](_0x1545ba[_0x1cd3('0x129c')]+'-'+_0x1545ba[_0x1cd3('0x12a8')]);}else{_0x50e5f3[_0x1cd3('0x7b')](_0x1545ba[_0x1cd3('0x129c')]);}}else{_0x50e5f3[_0x1cd3('0x7b')]('*');}if(_0x1545ba[_0x1cd3('0x129d')]){if(_0x1545ba[_0x1cd3('0x129e')]){_0x50e5f3[_0x1cd3('0x7b')](_0x1545ba['monthDayFrom']+'-'+_0x1545ba[_0x1cd3('0x129e')]);}else{_0x50e5f3[_0x1cd3('0x7b')](_0x1545ba['monthDayFrom']);}}else{_0x50e5f3[_0x1cd3('0x7b')]('*');}if(_0x1545ba[_0x1cd3('0x129f')]){if(_0x1545ba[_0x1cd3('0x12a0')]){_0x50e5f3[_0x1cd3('0x7b')](_0x1545ba[_0x1cd3('0x129f')]+'-'+_0x1545ba['monthTo']);}else{_0x50e5f3[_0x1cd3('0x7b')](_0x1545ba[_0x1cd3('0x129f')]);}}else{_0x50e5f3['push']('*');}return _0x50e5f3['join']();}}function _0x447bb7(){_0x1545ba['errors']=[];_0x1545ba[_0x1cd3('0x77e')][_0x1cd3('0x77e')]=_0x431586();_0x40f121['interval'][_0x1cd3('0xd6d')](_0x1545ba[_0x1cd3('0x77e')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x3234e5){_0x1545ba[_0x1cd3('0xef9')][_0x1cd3('0x7b')](_0x3234e5);_0x340d35[_0x1cd3('0x473')]({'title':_0x1cd3('0x12a9'),'msg':_0x1545ba['interval'][_0x1cd3('0x98')]?_0x1545ba[_0x1cd3('0x77e')][_0x1cd3('0x98')]+'\x20has\x20been\x20created!':''});_0x1be2de();})[_0x1cd3('0xfd')](function(_0x41dd5a){console[_0x1cd3('0x434')](_0x41dd5a);_0x1545ba['errors']=_0x41dd5a[_0x1cd3('0x439')]['errors']||[{'message':_0x41dd5a[_0x1cd3('0x43b')](),'type':'api.interval.save'}];});}function _0x314053(){_0x1545ba['errors']=[];_0x1545ba['interval'][_0x1cd3('0x77e')]=_0x431586();if(_0x1545ba[_0x1cd3('0x77e')][_0x1cd3('0x12a1')]){_0x1545ba[_0x1cd3('0x424')]!=='list'&&(_0x1545ba[_0x1cd3('0x77e')][_0x1cd3('0xf4b')]=null);_0x1be2de(_0x1545ba['interval']);}else{_0x40f121[_0x1cd3('0x77e')]['update']({'id':_0x1545ba[_0x1cd3('0x77e')]['id']},_0x1545ba['interval'])['$promise'][_0x1cd3('0x77')](function(_0x4ffb7c){var _0x4dd230=_['find'](_0x1545ba[_0x1cd3('0xef9')],{'id':_0x4ffb7c['id']});if(_0x4dd230){_[_0x1cd3('0xf2')](_0x4dd230,_0x4ffb7c);}_0x340d35[_0x1cd3('0x473')]({'title':_0x1cd3('0x12ab'),'msg':_0x1cd3('0x12ac')});_0x1be2de();})[_0x1cd3('0xfd')](function(_0x54d668){console[_0x1cd3('0x434')](_0x54d668);_0x1545ba['errors']=_0x54d668[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x54d668[_0x1cd3('0x43b')](),'type':_0x1cd3('0x12ad')}];});}}function _0x1be2de(_0x1cb722){_0x5577d0[_0x1cd3('0x39d')](_0x1cb722);}}}());(function(){'use strict';_0x22875e['$inject']=['$mdDialog','$q',_0x1cd3('0x461'),_0x1cd3('0x256a'),_0x1cd3('0x2512'),_0x1cd3('0x370'),_0x1cd3('0x56'),'crudPermissions'];angular['module'](_0x1cd3('0x2d'))[_0x1cd3('0x39b')](_0x1cd3('0x2575'),_0x22875e);function _0x22875e(_0x1c8697,_0x27cb60,_0x3c673b,_0x4dd134,_0x5dbe39,_0x4c8c39,_0x3d7a4a,_0x4e1136){var _0x9f19d6=this;_0x9f19d6[_0x1cd3('0x3ca')]=_0x3d7a4a['getCurrentUser']();_0x9f19d6['errors']=[];_0x9f19d6[_0x1cd3('0x486')]=_0x1cd3('0x256b')+(_0x4dd134['appType']||_0x4dd134[_0x1cd3('0xd0a')])[_0x1cd3('0x437')]();_0x9f19d6[_0x1cd3('0x2531')]=angular[_0x1cd3('0x429')](_0x4dd134);_0x9f19d6[_0x1cd3('0xd27')]=_0x4e1136;_0x9f19d6[_0x1cd3('0xd28')]={};if(_0x9f19d6[_0x1cd3('0x2531')][_0x1cd3('0x127d')]){switch(_0x9f19d6[_0x1cd3('0x2531')]['appType']?_0x9f19d6[_0x1cd3('0x2531')][_0x1cd3('0x125b')][_0x1cd3('0x433')]():_0x9f19d6[_0x1cd3('0x2531')][_0x1cd3('0xd0a')]['toLowerCase']()){case'custom':break;case _0x1cd3('0x1233'):var _0x28c621=_0x9f19d6['playback'][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x9f19d6[_0x1cd3('0x2531')]['key']=_0x28c621[0x0];_0x9f19d6['playback'][_0x1cd3('0x3f3')]=_0x28c621[0x1];_0x9f19d6['playback'][_0x1cd3('0x1246')]=_0x28c621[_0x1cd3('0x9a2')](0x2,_0x28c621[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x1247'):var _0x28c621=_0x9f19d6[_0x1cd3('0x2531')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x9f19d6[_0x1cd3('0x2531')]['accesskeyid']=_0x28c621[0x0];_0x9f19d6['playback'][_0x1cd3('0x1249')]=_0x28c621[0x1];_0x9f19d6[_0x1cd3('0x2531')]['lexregion']=_0x28c621[0x2];_0x9f19d6['playback'][_0x1cd3('0x124f')]=_0x28c621[0x3];_0x9f19d6[_0x1cd3('0x2531')][_0x1cd3('0x1246')]=_0x28c621[_0x1cd3('0x9a2')](0x4,_0x28c621[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x122b'):var _0x28c621=_0x9f19d6[_0x1cd3('0x2531')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x9f19d6[_0x1cd3('0x2531')][_0x1cd3('0x122c')]=isNaN(_0x28c621[0x0])?_0x28c621[0x0]:parseInt(_0x28c621[0x0],0xa);_0x9f19d6[_0x1cd3('0x2531')]['text']=_0x28c621['slice'](0x1,_0x28c621[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x43a'):_0x9f19d6[_0x1cd3('0x2531')][_0x1cd3('0x401')]=_0x9f19d6['playback'][_0x1cd3('0x127d')];break;case _0x1cd3('0x127e'):_0x9f19d6['playback'][_0x1cd3('0x98')]=_0x9f19d6[_0x1cd3('0x2531')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x0];_0x9f19d6[_0x1cd3('0x2531')][_0x1cd3('0x3db')]=_0x9f19d6[_0x1cd3('0x2531')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x1];break;case _0x1cd3('0x128c'):_0x9f19d6[_0x1cd3('0x2531')]['project']=_0x9f19d6['playback']['appdata'];break;default:var _0x11874c=_0x9f19d6[_0x1cd3('0x2531')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x9f19d6['playback']['appdata']=_[_0x1cd3('0x398')](_0x11874c[0x0])?_0x11874c[0x0]:isNaN(_0x11874c[0x0])?_0x11874c[0x0]:parseInt(_0x11874c[0x0],0xa);_0x9f19d6[_0x1cd3('0x2531')][_0x1cd3('0x422')]=_[_0x1cd3('0x398')](_0x11874c[0x1])?_0x11874c[0x1]:isNaN(_0x11874c[0x1])?_0x11874c[0x1]:parseInt(_0x11874c[0x1],0xa);}}else{}if(_0x9f19d6[_0x1cd3('0x2531')]['type']&&_0x9f19d6['playback']['type'][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x9f19d6['playback'][_0x1cd3('0x125b')][_0x1cd3('0x433')]()===_0x1cd3('0x1289')){_0x9f19d6['playback']['prefix']=_0x9f19d6['playback'][_0x1cd3('0xf09')]?_0x9f19d6[_0x1cd3('0x2531')]['phone'][_0x1cd3('0x3ef')]('$')[0x0]:undefined;_0x9f19d6[_0x1cd3('0x2531')][_0x1cd3('0x689')]=_0x9f19d6[_0x1cd3('0x2531')]['callerID']?_0x1cd3('0x1280')+_0x9f19d6[_0x1cd3('0x2531')][_0x1cd3('0x127f')]:undefined;}_0x9f19d6['saveInboundRouteApp']=_0x16fc8f;_0x9f19d6[_0x1cd3('0x39c')]=_0x250ae4;_0x3d7a4a['hasRole'](_0x1cd3('0x5f'))?_0x4c8c39[_0x1cd3('0xf53')][_0x1cd3('0x361')]({'fields':_0x1cd3('0x2524'),'sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})['$promise'][_0x1cd3('0x77')](function(_0x52b871){_0x9f19d6[_0x1cd3('0xef6')]=_0x52b871[_0x1cd3('0xf6')]||[];})['catch'](function(_0x38ff55){_0x3c673b[_0x1cd3('0x434')]({'title':_0x38ff55[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x38ff55[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x38ff55[_0x1cd3('0xd35')]:'SYSTEM:GET_SOUNDS','msg':_0x38ff55[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x38ff55[_0x1cd3('0x439')]):_0x38ff55[_0x1cd3('0x43b')]()});}):_0x4c8c39['sound'][_0x1cd3('0x361')]({'fields':_0x1cd3('0x2524'),'sort':'name','nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x48fe46){_0x9f19d6[_0x1cd3('0xef6')]=_0x48fe46[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x4c8c39[_0x1cd3('0x390')]['get']({'userProfileId':_0x9f19d6[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x3ef})[_0x1cd3('0x81')];})['then'](function(_0x178c69){var _0x707796=_0x178c69&&_0x178c69[_0x1cd3('0xf6')]?_0x178c69[_0x1cd3('0xf6')][0x0]:null;if(!_0x707796){var _0x5d2a55=[];var _0x78c01c=null;if(_0x9f19d6[_0x1cd3('0x2531')]){_0x78c01c=_['find'](_0x9f19d6[_0x1cd3('0xef6')],{'save_name':_0x9f19d6[_0x1cd3('0x2531')][_0x1cd3('0xf53')]});}for(var _0x227a75=0x0;_0x227a75<_0x9f19d6[_0x1cd3('0xef6')][_0x1cd3('0x7a')];_0x227a75++){if(_0x78c01c&&_0x9f19d6['sounds'][_0x227a75]['id']===_0x78c01c['id']){_0x9f19d6[_0x1cd3('0xef6')][_0x227a75][_0x1cd3('0xf4a')]=![];_0x5d2a55['push'](_0x9f19d6['sounds'][_0x227a75]);}}_0x9f19d6[_0x1cd3('0xef6')]=_0x5d2a55;}else{if(!_0x707796[_0x1cd3('0x391')]){return _0x4c8c39[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x707796['id']})['$promise'][_0x1cd3('0x77')](function(_0x32cc93){var _0x2bf287=_[_0x1cd3('0x3d9')](_0x32cc93[_0x1cd3('0xf6')],function(_0x30a22a){return _[_0x1cd3('0x442')](_0x9f19d6[_0x1cd3('0xef6')],{'id':_0x30a22a[_0x1cd3('0xe8e')]});});var _0x3f36aa=null;if(_0x9f19d6['playback']){_0x3f36aa=_[_0x1cd3('0x442')](_0x9f19d6[_0x1cd3('0xef6')],{'save_name':_0x9f19d6[_0x1cd3('0x2531')][_0x1cd3('0xf53')]});}if(_0x3f36aa&&!_[_0x1cd3('0x38d')](_0x2bf287,['id',_0x3f36aa['id']])){var _0x540cae=_[_0x1cd3('0x442')](_0x9f19d6[_0x1cd3('0xef6')],{'id':_0x3f36aa['id']});_0x540cae[_0x1cd3('0xf4a')]=![];_0x2bf287['push'](_0x540cae);}_0x9f19d6[_0x1cd3('0xef6')]=_0x2bf287;});}}})[_0x1cd3('0xfd')](function(_0x597bbe){_0x3c673b[_0x1cd3('0x434')]({'title':_0x597bbe[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x597bbe[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x597bbe[_0x1cd3('0xd35')]:'SYSTEM:GETsounds','msg':_0x597bbe[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x597bbe[_0x1cd3('0x439')]):_0x597bbe[_0x1cd3('0x43b')]()});});function _0x16fc8f(){_0x9f19d6[_0x1cd3('0xd34')]=[];var _0x93c050=[];if(_0x9f19d6[_0x1cd3('0x2531')]['type']&&_0x9f19d6[_0x1cd3('0x2531')]['type']['toLowerCase']()===_0x1cd3('0x128')&&_0x9f19d6[_0x1cd3('0x2531')]['appType']===_0x1cd3('0x1283')){_0x9f19d6[_0x1cd3('0x2531')][_0x1cd3('0xf09')]=_0x5dbe39[_0x1cd3('0x128a')]?(_0x9f19d6[_0x1cd3('0x2531')][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x1284')+_0x5dbe39['cutdigits']+'}':(_0x9f19d6[_0x1cd3('0x2531')][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x128d');if(_0x5dbe39[_0x1cd3('0x1285')]!=='none'){if(_0x9f19d6[_0x1cd3('0x2531')][_0x1cd3('0x422')][_0x1cd3('0x45e')]('U(xcally-mixmonitor-context)')<0x0){_0x9f19d6[_0x1cd3('0x2531')][_0x1cd3('0x422')]+=_0x1cd3('0x1286');}}else{_0x9f19d6['playback'][_0x1cd3('0x422')]=_0x9f19d6[_0x1cd3('0x2531')]['options'][_0x1cd3('0x3f1')](_0x1cd3('0x1286'),'');}}if(_0x9f19d6[_0x1cd3('0x2531')][_0x1cd3('0x125b')]&&_0x9f19d6[_0x1cd3('0x2531')]['appType']===_0x1cd3('0x8f6')){}else{switch((_0x9f19d6[_0x1cd3('0x2531')][_0x1cd3('0xd0a')]||_0x9f19d6['playback'][_0x1cd3('0x125b')])['toLowerCase']()){case'set':_0x9f19d6['playback'][_0x1cd3('0x127d')]=_0x9f19d6[_0x1cd3('0x2531')][_0x1cd3('0x98')]+'='+_0x9f19d6[_0x1cd3('0x2531')][_0x1cd3('0x3db')];break;case _0x1cd3('0x8f6'):break;default:_0x93c050[0x0]=_0x9f19d6[_0x1cd3('0x2531')][_0x1cd3('0x127d')];_0x93c050[0x1]=_0x9f19d6[_0x1cd3('0x2531')][_0x1cd3('0x422')];_0x9f19d6[_0x1cd3('0x2531')][_0x1cd3('0x127d')]=_0x93c050['join'](',');}}_0x250ae4(_0x9f19d6[_0x1cd3('0x2531')]);}function _0x250ae4(_0x598853){_0x1c8697[_0x1cd3('0x39d')](_0x598853);}}}());(function(){'use strict';_0x1b0c06['$inject']=[_0x1cd3('0x3c5'),'$q',_0x1cd3('0x461'),_0x1cd3('0x256a'),_0x1cd3('0x2512'),_0x1cd3('0x370'),'Auth',_0x1cd3('0xd27')];angular['module']('app.voice')['controller']('EditInboundAppqueueDialogController',_0x1b0c06);function _0x1b0c06(_0x387acb,_0x473d8d,_0x2929b4,_0x518854,_0x1ad3ba,_0x285ed4,_0x390a53,_0x1e6ecf){var _0x1e2dec=this;_0x1e2dec[_0x1cd3('0x3ca')]=_0x390a53[_0x1cd3('0x5d')]();_0x1e2dec[_0x1cd3('0xd34')]=[];_0x1e2dec[_0x1cd3('0x486')]=_0x1cd3('0x256b')+(_0x518854[_0x1cd3('0x125b')]||_0x518854[_0x1cd3('0xd0a')])['toUpperCase']();_0x1e2dec[_0x1cd3('0x1220')]=angular[_0x1cd3('0x429')](_0x518854);_0x1e2dec['crudPermissions']=_0x1e6ecf;_0x1e2dec[_0x1cd3('0xd28')]={};if(_0x1e2dec[_0x1cd3('0x1220')][_0x1cd3('0x127d')]){switch(_0x1e2dec[_0x1cd3('0x1220')][_0x1cd3('0x125b')]?_0x1e2dec[_0x1cd3('0x1220')][_0x1cd3('0x125b')][_0x1cd3('0x433')]():_0x1e2dec['queue'][_0x1cd3('0xd0a')][_0x1cd3('0x433')]()){case'custom':break;case _0x1cd3('0x1233'):var _0x364edb=_0x1e2dec[_0x1cd3('0x1220')]['appdata'][_0x1cd3('0x3ef')](',');_0x1e2dec[_0x1cd3('0x1220')][_0x1cd3('0x65c')]=_0x364edb[0x0];_0x1e2dec[_0x1cd3('0x1220')][_0x1cd3('0x3f3')]=_0x364edb[0x1];_0x1e2dec[_0x1cd3('0x1220')][_0x1cd3('0x1246')]=_0x364edb['slice'](0x2,_0x364edb[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x1247'):var _0x364edb=_0x1e2dec[_0x1cd3('0x1220')]['appdata'][_0x1cd3('0x3ef')](',');_0x1e2dec['queue'][_0x1cd3('0x1248')]=_0x364edb[0x0];_0x1e2dec[_0x1cd3('0x1220')][_0x1cd3('0x1249')]=_0x364edb[0x1];_0x1e2dec[_0x1cd3('0x1220')][_0x1cd3('0x124a')]=_0x364edb[0x2];_0x1e2dec[_0x1cd3('0x1220')][_0x1cd3('0x124f')]=_0x364edb[0x3];_0x1e2dec[_0x1cd3('0x1220')][_0x1cd3('0x1246')]=_0x364edb['slice'](0x4,_0x364edb[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x122b'):var _0x364edb=_0x1e2dec[_0x1cd3('0x1220')]['appdata']['split'](',');_0x1e2dec['queue'][_0x1cd3('0x122c')]=isNaN(_0x364edb[0x0])?_0x364edb[0x0]:parseInt(_0x364edb[0x0],0xa);_0x1e2dec[_0x1cd3('0x1220')]['text']=_0x364edb[_0x1cd3('0x9a2')](0x1,_0x364edb[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case'message':_0x1e2dec[_0x1cd3('0x1220')][_0x1cd3('0x401')]=_0x1e2dec[_0x1cd3('0x1220')]['appdata'];break;case _0x1cd3('0x127e'):_0x1e2dec['queue'][_0x1cd3('0x98')]=_0x1e2dec[_0x1cd3('0x1220')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x0];_0x1e2dec[_0x1cd3('0x1220')][_0x1cd3('0x3db')]=_0x1e2dec['queue'][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x1];break;case'agi':_0x1e2dec[_0x1cd3('0x1220')]['project']=_0x1e2dec['queue']['appdata'];break;default:var _0x4048fb=_0x1e2dec[_0x1cd3('0x1220')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x1e2dec['queue'][_0x1cd3('0x1220')]=_[_0x1cd3('0x398')](_0x4048fb[0x0])?_0x4048fb[0x0]:isNaN(_0x4048fb[0x0])?_0x4048fb[0x0]:parseInt(_0x4048fb[0x0],0xa);_0x1e2dec[_0x1cd3('0x1220')][_0x1cd3('0x422')]=_['isEmpty'](_0x4048fb[0x1])?_0x4048fb[0x1]:isNaN(_0x4048fb[0x1])?_0x4048fb[0x1]:parseInt(_0x4048fb[0x1],0xa);_0x1e2dec['queue'][_0x1cd3('0x1815')]=_[_0x1cd3('0x398')](_0x4048fb[0x2])?_0x4048fb[0x2]:isNaN(_0x4048fb[0x2])?_0x4048fb[0x2]:parseInt(_0x4048fb[0x2],0xa);_0x1e2dec[_0x1cd3('0x1220')][_0x1cd3('0xf53')]=_[_0x1cd3('0x398')](_0x4048fb[0x3])?_0x4048fb[0x3]:isNaN(_0x4048fb[0x3])?_0x4048fb[0x3]:parseInt(_0x4048fb[0x3],0xa);_0x1e2dec[_0x1cd3('0x1220')][_0x1cd3('0x8fc')]=_[_0x1cd3('0x398')](_0x4048fb[0x4])?_0x4048fb[0x4]:isNaN(_0x4048fb[0x4])?_0x4048fb[0x4]:parseInt(_0x4048fb[0x4],0xa);_0x1e2dec[_0x1cd3('0x1220')][_0x1cd3('0x128c')]=_[_0x1cd3('0x398')](_0x4048fb[0x5])?_0x4048fb[0x5]:isNaN(_0x4048fb[0x5])?_0x4048fb[0x5]:parseInt(_0x4048fb[0x5],0xa);_0x1e2dec['queue'][_0x1cd3('0x252c')]=_[_0x1cd3('0x398')](_0x4048fb[0x6])?_0x4048fb[0x6]:isNaN(_0x4048fb[0x6])?_0x4048fb[0x6]:parseInt(_0x4048fb[0x6],0xa);_0x1e2dec[_0x1cd3('0x1220')][_0x1cd3('0x2576')]=_[_0x1cd3('0x398')](_0x4048fb[0x7])?_0x4048fb[0x7]:isNaN(_0x4048fb[0x7])?_0x4048fb[0x7]:parseInt(_0x4048fb[0x7],0xa);_0x1e2dec[_0x1cd3('0x1220')]['rule']=_[_0x1cd3('0x398')](_0x4048fb[0x8])?_0x4048fb[0x8]:isNaN(_0x4048fb[0x8])?_0x4048fb[0x8]:parseInt(_0x4048fb[0x8],0xa);_0x1e2dec[_0x1cd3('0x1220')][_0x1cd3('0x679')]=_[_0x1cd3('0x398')](_0x4048fb[0x9])?_0x4048fb[0x9]:isNaN(_0x4048fb[0x9])?_0x4048fb[0x9]:parseInt(_0x4048fb[0x9],0xa);}}else{}if(_0x1e2dec[_0x1cd3('0x1220')][_0x1cd3('0x424')]&&_0x1e2dec[_0x1cd3('0x1220')][_0x1cd3('0x424')][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x1e2dec[_0x1cd3('0x1220')][_0x1cd3('0x125b')][_0x1cd3('0x433')]()===_0x1cd3('0x1289')){_0x1e2dec[_0x1cd3('0x1220')][_0x1cd3('0x6aa')]=_0x1e2dec[_0x1cd3('0x1220')][_0x1cd3('0xf09')]?_0x1e2dec[_0x1cd3('0x1220')][_0x1cd3('0xf09')][_0x1cd3('0x3ef')]('$')[0x0]:undefined;_0x1e2dec[_0x1cd3('0x1220')]['callerId']=_0x1e2dec['queue'][_0x1cd3('0x127f')]?_0x1cd3('0x1280')+_0x1e2dec['queue'][_0x1cd3('0x127f')]:undefined;}_0x1e2dec[_0x1cd3('0x256c')]=_0x5172fb;_0x1e2dec[_0x1cd3('0x39c')]=_0x385ad4;_0x390a53[_0x1cd3('0x57')]('admin')?_0x285ed4[_0x1cd3('0xf53')]['get']({'fields':_0x1cd3('0x2524'),'sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x488dba){_0x1e2dec[_0x1cd3('0xef6')]=_0x488dba[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0xc87fe8){_0x2929b4[_0x1cd3('0x434')]({'title':_0xc87fe8['status']?_0x1cd3('0x435')+_0xc87fe8[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0xc87fe8[_0x1cd3('0xd35')]:_0x1cd3('0x2577'),'msg':_0xc87fe8[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0xc87fe8[_0x1cd3('0x439')]):_0xc87fe8[_0x1cd3('0x43b')]()});}):_0x285ed4[_0x1cd3('0xf53')][_0x1cd3('0x361')]({'fields':_0x1cd3('0x2524'),'sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})['$promise']['then'](function(_0x544c31){_0x1e2dec['sounds']=_0x544c31[_0x1cd3('0xf6')]||[];})['then'](function(){return _0x285ed4[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x1e2dec[_0x1cd3('0x3ca')]['userProfileId'],'sectionId':0x3ef})[_0x1cd3('0x81')];})['then'](function(_0x17133e){var _0xb0777e=_0x17133e&&_0x17133e[_0x1cd3('0xf6')]?_0x17133e['rows'][0x0]:null;if(!_0xb0777e){var _0x59e083=[];var _0x3c3ac8=null;if(_0x1e2dec[_0x1cd3('0x1220')]){_0x3c3ac8=_[_0x1cd3('0x442')](_0x1e2dec[_0x1cd3('0xef6')],{'save_name':_0x1e2dec[_0x1cd3('0x1220')][_0x1cd3('0xf53')]});}for(var _0x25f94e=0x0;_0x25f94e<_0x1e2dec['sounds']['length'];_0x25f94e++){if(_0x3c3ac8&&_0x1e2dec[_0x1cd3('0xef6')][_0x25f94e]['id']===_0x3c3ac8['id']){_0x1e2dec['sounds'][_0x25f94e][_0x1cd3('0xf4a')]=![];_0x59e083[_0x1cd3('0x7b')](_0x1e2dec['sounds'][_0x25f94e]);}}_0x1e2dec['sounds']=_0x59e083;}else{if(!_0xb0777e[_0x1cd3('0x391')]){return _0x285ed4['userProfileResource'][_0x1cd3('0x361')]({'sectionId':_0xb0777e['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x4fa14f){var _0x1f2c62=_[_0x1cd3('0x3d9')](_0x4fa14f['rows'],function(_0x33fb36){return _[_0x1cd3('0x442')](_0x1e2dec[_0x1cd3('0xef6')],{'id':_0x33fb36[_0x1cd3('0xe8e')]});});var _0x43ec79=null;if(_0x1e2dec['queue']){_0x43ec79=_[_0x1cd3('0x442')](_0x1e2dec[_0x1cd3('0xef6')],{'save_name':_0x1e2dec[_0x1cd3('0x1220')][_0x1cd3('0xf53')]});}if(_0x43ec79&&!_[_0x1cd3('0x38d')](_0x1f2c62,['id',_0x43ec79['id']])){var _0x28256d=_['find'](_0x1e2dec[_0x1cd3('0xef6')],{'id':_0x43ec79['id']});_0x28256d['canSelect']=![];_0x1f2c62['push'](_0x28256d);}_0x1e2dec['sounds']=_0x1f2c62;});}}})[_0x1cd3('0xfd')](function(_0xfc2821){_0x2929b4[_0x1cd3('0x434')]({'title':_0xfc2821[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0xfc2821['status']+'\x20-\x20'+_0xfc2821[_0x1cd3('0xd35')]:'SYSTEM:GETsounds','msg':_0xfc2821[_0x1cd3('0x439')]?JSON['stringify'](_0xfc2821[_0x1cd3('0x439')]):_0xfc2821['toString']()});});_0x390a53['hasRole'](_0x1cd3('0x5f'))?_0x285ed4['voiceQueue'][_0x1cd3('0x361')]({'type':_0x1cd3('0xa4'),'fields':_0x1cd3('0x1222'),'sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})['$promise'][_0x1cd3('0x77')](function(_0x334133){_0x1e2dec[_0x1cd3('0x1155')]=_0x334133[_0x1cd3('0xf6')]||[];})['catch'](function(_0x2151a7){_0x2929b4[_0x1cd3('0x434')]({'title':_0x2151a7[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x2151a7[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x2151a7[_0x1cd3('0xd35')]:'SYSTEM:GET_QUEUES','msg':_0x2151a7[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x2151a7[_0x1cd3('0x439')]):_0x2151a7[_0x1cd3('0x43b')]()});}):_0x285ed4[_0x1cd3('0xa48')]['get']({'type':_0x1cd3('0xa4'),'fields':'id,name,type','sort':_0x1cd3('0x98'),'nolimit':'true'})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x5ae82a){_0x1e2dec[_0x1cd3('0x1155')]=_0x5ae82a[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x285ed4['userProfileSection'][_0x1cd3('0x361')]({'userProfileId':_0x1e2dec[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x191})['$promise'];})[_0x1cd3('0x77')](function(_0x404dbb){var _0x2b8e5a=_0x404dbb&&_0x404dbb[_0x1cd3('0xf6')]?_0x404dbb[_0x1cd3('0xf6')][0x0]:null;if(!_0x2b8e5a){var _0x2c50f1=[];var _0x300744=null;if(_0x1e2dec[_0x1cd3('0x1220')]){_0x300744=_[_0x1cd3('0x442')](_0x1e2dec[_0x1cd3('0x1155')],{'name':_0x1e2dec[_0x1cd3('0x1220')][_0x1cd3('0x1220')]});}for(var _0x53be7d=0x0;_0x53be7d<_0x1e2dec[_0x1cd3('0x1155')][_0x1cd3('0x7a')];_0x53be7d++){if(_0x300744&&_0x1e2dec[_0x1cd3('0x1155')][_0x53be7d]['id']===_0x300744['id']){_0x1e2dec[_0x1cd3('0x1155')][_0x53be7d][_0x1cd3('0xf4a')]=![];_0x2c50f1['push'](_0x1e2dec[_0x1cd3('0x1155')][_0x53be7d]);}}_0x1e2dec[_0x1cd3('0x1155')]=_0x2c50f1;}else{if(!_0x2b8e5a[_0x1cd3('0x391')]){return _0x285ed4[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x2b8e5a['id']})['$promise'][_0x1cd3('0x77')](function(_0x499b30){var _0x2be922=_['map'](_0x499b30[_0x1cd3('0xf6')],function(_0x463f16){return _[_0x1cd3('0x442')](_0x1e2dec[_0x1cd3('0x1155')],{'id':_0x463f16[_0x1cd3('0xe8e')]});});var _0x368bd1=null;if(_0x1e2dec[_0x1cd3('0x1220')]){_0x368bd1=_['find'](_0x1e2dec[_0x1cd3('0x1155')],{'name':_0x1e2dec['queue'][_0x1cd3('0x1220')]});}if(_0x368bd1&&!_[_0x1cd3('0x38d')](_0x2be922,['id',_0x368bd1['id']])){var _0x575b9b=_[_0x1cd3('0x442')](_0x1e2dec[_0x1cd3('0x1155')],{'id':_0x368bd1['id']});_0x575b9b[_0x1cd3('0xf4a')]=![];_0x2be922[_0x1cd3('0x7b')](_0x575b9b);}_0x1e2dec[_0x1cd3('0x1155')]=_0x2be922;});}}})['catch'](function(_0x1e609a){_0x2929b4[_0x1cd3('0x434')]({'title':_0x1e609a[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x1e609a['status']+_0x1cd3('0x436')+_0x1e609a[_0x1cd3('0xd35')]:_0x1cd3('0x12b0'),'msg':_0x1e609a[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x1e609a[_0x1cd3('0x439')]):_0x1e609a[_0x1cd3('0x43b')]()});});function _0x5172fb(){_0x1e2dec[_0x1cd3('0xd34')]=[];var _0x4c7dc8=[];if(_0x1e2dec['queue'][_0x1cd3('0x424')]&&_0x1e2dec[_0x1cd3('0x1220')][_0x1cd3('0x424')][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x1e2dec[_0x1cd3('0x1220')][_0x1cd3('0x125b')]===_0x1cd3('0x1283')){_0x1e2dec[_0x1cd3('0x1220')][_0x1cd3('0xf09')]=_0x1ad3ba['cutdigits']?(_0x1e2dec['queue']['prefix']||'')+'${EXTEN:'+_0x1ad3ba['cutdigits']+'}':(_0x1e2dec[_0x1cd3('0x1220')][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x128d');if(_0x1ad3ba[_0x1cd3('0x1285')]!=='none'){if(_0x1e2dec[_0x1cd3('0x1220')]['options'][_0x1cd3('0x45e')](_0x1cd3('0x1286'))<0x0){_0x1e2dec[_0x1cd3('0x1220')][_0x1cd3('0x422')]+=_0x1cd3('0x1286');}}else{_0x1e2dec['queue'][_0x1cd3('0x422')]=_0x1e2dec[_0x1cd3('0x1220')][_0x1cd3('0x422')]['replace'](_0x1cd3('0x1286'),'');}}if(_0x1e2dec[_0x1cd3('0x1220')]['appType']&&_0x1e2dec[_0x1cd3('0x1220')][_0x1cd3('0x125b')]==='custom'){}else{switch((_0x1e2dec['queue'][_0x1cd3('0xd0a')]||_0x1e2dec[_0x1cd3('0x1220')]['appType'])[_0x1cd3('0x433')]()){case _0x1cd3('0x127e'):_0x1e2dec[_0x1cd3('0x1220')][_0x1cd3('0x127d')]=_0x1e2dec[_0x1cd3('0x1220')]['name']+'='+_0x1e2dec[_0x1cd3('0x1220')]['value'];break;case _0x1cd3('0x8f6'):break;default:_0x4c7dc8[0x0]=_0x1e2dec['queue'][_0x1cd3('0x1220')];_0x4c7dc8[0x1]=_0x1e2dec[_0x1cd3('0x1220')]['options'];_0x4c7dc8[0x2]=_0x1e2dec['queue'][_0x1cd3('0x1815')];_0x4c7dc8[0x3]=_0x1e2dec[_0x1cd3('0x1220')]['sound'];_0x4c7dc8[0x4]=_0x1e2dec[_0x1cd3('0x1220')][_0x1cd3('0x8fc')];_0x4c7dc8[0x5]=_0x1e2dec['queue'][_0x1cd3('0x128c')];_0x4c7dc8[0x6]=_0x1e2dec['queue'][_0x1cd3('0x252c')];_0x4c7dc8[0x7]=_0x1e2dec[_0x1cd3('0x1220')][_0x1cd3('0x2576')];_0x4c7dc8[0x8]=_0x1e2dec[_0x1cd3('0x1220')][_0x1cd3('0x252e')];_0x4c7dc8[0x9]=_0x1e2dec[_0x1cd3('0x1220')][_0x1cd3('0x679')];_0x1e2dec[_0x1cd3('0x1220')]['appdata']=_0x4c7dc8[_0x1cd3('0x3de')](',');}}_0x385ad4(_0x1e2dec['queue']);}function _0x385ad4(_0x4587bf){_0x387acb[_0x1cd3('0x39d')](_0x4587bf);}}}());(function(){'use strict';_0x52b8df['$inject']=['$mdDialog','$q',_0x1cd3('0x461'),_0x1cd3('0x256a'),_0x1cd3('0x2512'),_0x1cd3('0x370'),'Auth',_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x2d'))[_0x1cd3('0x39b')]('EditInboundAppringgroupDialogController',_0x52b8df);function _0x52b8df(_0x40d6e7,_0x818337,_0x617b07,_0x2a202b,_0x1872e5,_0x7bbdd9,_0x5a744a,_0xd6a0c0){var _0x208340=this;_0x208340['currentUser']=_0x5a744a[_0x1cd3('0x5d')]();_0x208340[_0x1cd3('0xd34')]=[];_0x208340[_0x1cd3('0x486')]=_0x1cd3('0x256b')+(_0x2a202b[_0x1cd3('0x125b')]||_0x2a202b['app'])[_0x1cd3('0x437')]();_0x208340['ringgroup']=angular[_0x1cd3('0x429')](_0x2a202b);_0x208340[_0x1cd3('0xd27')]=_0xd6a0c0;_0x208340[_0x1cd3('0xd28')]={};if(_0x208340[_0x1cd3('0x2578')]['appdata']){switch(_0x208340[_0x1cd3('0x2578')]['appType']?_0x208340[_0x1cd3('0x2578')]['appType'][_0x1cd3('0x433')]():_0x208340[_0x1cd3('0x2578')][_0x1cd3('0xd0a')][_0x1cd3('0x433')]()){case _0x1cd3('0x8f6'):break;case'dialogflow':var _0x472b3d=_0x208340[_0x1cd3('0x2578')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x208340['ringgroup'][_0x1cd3('0x65c')]=_0x472b3d[0x0];_0x208340[_0x1cd3('0x2578')]['language']=_0x472b3d[0x1];_0x208340['ringgroup'][_0x1cd3('0x1246')]=_0x472b3d[_0x1cd3('0x9a2')](0x2,_0x472b3d[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x1247'):var _0x472b3d=_0x208340[_0x1cd3('0x2578')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x208340['ringgroup']['accesskeyid']=_0x472b3d[0x0];_0x208340[_0x1cd3('0x2578')][_0x1cd3('0x1249')]=_0x472b3d[0x1];_0x208340[_0x1cd3('0x2578')]['lexregion']=_0x472b3d[0x2];_0x208340[_0x1cd3('0x2578')][_0x1cd3('0x124f')]=_0x472b3d[0x3];_0x208340[_0x1cd3('0x2578')][_0x1cd3('0x1246')]=_0x472b3d[_0x1cd3('0x9a2')](0x4,_0x472b3d['length'])[_0x1cd3('0x3de')](',');break;case'autoreply':var _0x472b3d=_0x208340[_0x1cd3('0x2578')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x208340[_0x1cd3('0x2578')]['times']=isNaN(_0x472b3d[0x0])?_0x472b3d[0x0]:parseInt(_0x472b3d[0x0],0xa);_0x208340['ringgroup'][_0x1cd3('0x401')]=_0x472b3d[_0x1cd3('0x9a2')](0x1,_0x472b3d[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x43a'):_0x208340[_0x1cd3('0x2578')]['text']=_0x208340[_0x1cd3('0x2578')][_0x1cd3('0x127d')];break;case'set':_0x208340[_0x1cd3('0x2578')][_0x1cd3('0x98')]=_0x208340['ringgroup'][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x0];_0x208340['ringgroup'][_0x1cd3('0x3db')]=_0x208340[_0x1cd3('0x2578')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x1];break;case _0x1cd3('0x128c'):_0x208340['ringgroup'][_0x1cd3('0xedd')]=_0x208340[_0x1cd3('0x2578')]['appdata'];break;default:var _0x4732ee=_0x208340[_0x1cd3('0x2578')][_0x1cd3('0x127d')]['split'](',');_0x208340[_0x1cd3('0x2578')][_0x1cd3('0x253d')]=_0x4732ee[0x0][_0x1cd3('0x3ef')]('&');_0x208340[_0x1cd3('0x2578')][_0x1cd3('0x8fc')]=_[_0x1cd3('0x398')](_0x4732ee[0x1])?_0x4732ee[0x1]:isNaN(_0x4732ee[0x1])?_0x4732ee[0x1]:parseInt(_0x4732ee[0x1],0xa);_0x208340[_0x1cd3('0x2578')]['options']=_['isEmpty'](_0x4732ee[0x2])?_0x4732ee[0x2]:isNaN(_0x4732ee[0x2])?_0x4732ee[0x2]:parseInt(_0x4732ee[0x2],0xa);_0x208340[_0x1cd3('0x2578')][_0x1cd3('0x3a4')]=_[_0x1cd3('0x398')](_0x4732ee[0x3])?_0x4732ee[0x3]:isNaN(_0x4732ee[0x3])?_0x4732ee[0x3]:parseInt(_0x4732ee[0x3],0xa);}}else{}if(_0x208340['ringgroup'][_0x1cd3('0x424')]&&_0x208340['ringgroup'][_0x1cd3('0x424')][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x208340[_0x1cd3('0x2578')]['appType'][_0x1cd3('0x433')]()===_0x1cd3('0x1289')){_0x208340[_0x1cd3('0x2578')]['prefix']=_0x208340['ringgroup'][_0x1cd3('0xf09')]?_0x208340[_0x1cd3('0x2578')]['phone']['split']('$')[0x0]:undefined;_0x208340[_0x1cd3('0x2578')][_0x1cd3('0x689')]=_0x208340[_0x1cd3('0x2578')]['callerID']?_0x1cd3('0x1280')+_0x208340[_0x1cd3('0x2578')][_0x1cd3('0x127f')]:undefined;}_0x208340['saveInboundRouteApp']=_0x22aa43;_0x208340[_0x1cd3('0x39c')]=_0x4e88c6;var _0xb3bbd7=[{'id':0xca,'role':_0x1cd3('0xd2')},{'id':0xcb,'role':_0x1cd3('0x28e')}];var _0x2f9842=null;_0x5a744a[_0x1cd3('0x57')]('admin')?_0x7bbdd9[_0x1cd3('0x368')][_0x1cd3('0x361')]({'fields':_0x1cd3('0x2539'),'sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')]['then'](function(_0x593f88){_0x208340[_0x1cd3('0xef4')]=_0x593f88[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0xc84b57){_0x617b07['error']({'title':_0xc84b57[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0xc84b57['status']+_0x1cd3('0x436')+_0xc84b57[_0x1cd3('0xd35')]:_0x1cd3('0x249d'),'msg':_0xc84b57['data']?JSON[_0x1cd3('0x438')](_0xc84b57[_0x1cd3('0x439')]):_0xc84b57['toString']()});}):_0x7bbdd9[_0x1cd3('0x368')]['get']({'fields':_0x1cd3('0x2539'),'sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x46f772){_0x2f9842=_0x46f772['rows']||[];})[_0x1cd3('0x77')](function(){var _0x3721e3=[];for(var _0x381e60=0x0;_0x381e60<_0xb3bbd7[_0x1cd3('0x7a')];_0x381e60++){_0x3721e3['push'](_0x7bbdd9['userProfileSection'][_0x1cd3('0x361')]({'userProfileId':_0x208340[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':_0xb3bbd7[_0x381e60]['id']})[_0x1cd3('0x81')]);}return _0x818337[_0x1cd3('0x7e')](_0x3721e3);})[_0x1cd3('0x77')](function(_0x2b898d){var _0x533049=_['map'](_0x2b898d,function(_0x16413d){return _0x16413d&&_0x16413d[_0x1cd3('0xf6')]?_0x16413d['rows'][0x0]:null;});var _0x3cf071=[];for(var _0x2a2f6e=0x0;_0x2a2f6e<_0xb3bbd7['length'];_0x2a2f6e++){var _0x1d1cb6=_[_0x1cd3('0x442')](_0x533049,[_0x1cd3('0x38b'),_0xb3bbd7[_0x2a2f6e]['id']]);if(_0x1d1cb6){if(!_0x1d1cb6[_0x1cd3('0x391')]){_0x3cf071[_0x1cd3('0x7b')](_0x7bbdd9[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x1d1cb6['id']})['$promise']);}else{var _0x360177=[];_0x2f9842['forEach'](function(_0x413246){if(_0x413246[_0x1cd3('0x388')]===_0xb3bbd7[_0x2a2f6e][_0x1cd3('0x388')]){_0x360177[_0x1cd3('0x7b')](_0x413246);}});_0x3cf071[_0x1cd3('0x7b')]({'rows':_0x360177,'count':_0x360177[_0x1cd3('0x7a')]});}}}return _0x818337['all'](_0x3cf071);})[_0x1cd3('0x77')](function(_0x51b477){var _0x29f0a1=[];var _0x288742=null;if(_0x208340[_0x1cd3('0x2578')]){_0x288742=_['find'](_0x2f9842,{'name':_0x208340['ringgroup'][_0x1cd3('0x253d')]});}for(var _0x10e17f=0x0;_0x10e17f<_0x51b477[_0x1cd3('0x7a')];_0x10e17f++){var _0x9c2c72=_0x51b477[_0x10e17f][_0x1cd3('0xf6')]||[];_0x9c2c72['forEach'](function(_0x397b44){_0x29f0a1[_0x1cd3('0x7b')](_0x397b44);});}if(_0x288742&&!_['some'](_0x29f0a1,[_0x1cd3('0xe8e'),_0x288742['id']])){_0x2f9842['forEach'](function(_0x42db01){if(_0x42db01['id']===_0x288742['id']){_0x42db01[_0x1cd3('0xf4a')]=![];_0x29f0a1['push'](_0x42db01);}});}_0x208340['users']=_0x29f0a1;})[_0x1cd3('0xfd')](function(_0x7eaf12){_0x617b07[_0x1cd3('0x434')]({'title':_0x7eaf12['status']?_0x1cd3('0x435')+_0x7eaf12['status']+_0x1cd3('0x436')+_0x7eaf12['statusText']:_0x1cd3('0x2574'),'msg':_0x7eaf12[_0x1cd3('0x439')]?JSON['stringify'](_0x7eaf12[_0x1cd3('0x439')]):_0x7eaf12[_0x1cd3('0x43b')]()});});function _0x22aa43(){_0x208340['errors']=[];var _0x3d5abb=[];if(_0x208340[_0x1cd3('0x2578')][_0x1cd3('0x424')]&&_0x208340['ringgroup'][_0x1cd3('0x424')][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x208340['ringgroup']['appType']===_0x1cd3('0x1283')){_0x208340[_0x1cd3('0x2578')][_0x1cd3('0xf09')]=_0x1872e5[_0x1cd3('0x128a')]?(_0x208340[_0x1cd3('0x2578')][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x1284')+_0x1872e5[_0x1cd3('0x128a')]+'}':(_0x208340[_0x1cd3('0x2578')]['prefix']||'')+_0x1cd3('0x128d');if(_0x1872e5[_0x1cd3('0x1285')]!=='none'){if(_0x208340[_0x1cd3('0x2578')]['options'][_0x1cd3('0x45e')](_0x1cd3('0x1286'))<0x0){_0x208340[_0x1cd3('0x2578')][_0x1cd3('0x422')]+=_0x1cd3('0x1286');}}else{_0x208340[_0x1cd3('0x2578')]['options']=_0x208340[_0x1cd3('0x2578')][_0x1cd3('0x422')][_0x1cd3('0x3f1')](_0x1cd3('0x1286'),'');}}if(_0x208340[_0x1cd3('0x2578')][_0x1cd3('0x125b')]&&_0x208340[_0x1cd3('0x2578')][_0x1cd3('0x125b')]===_0x1cd3('0x8f6')){}else{switch((_0x208340[_0x1cd3('0x2578')]['app']||_0x208340[_0x1cd3('0x2578')]['appType'])[_0x1cd3('0x433')]()){case'set':_0x208340['ringgroup'][_0x1cd3('0x127d')]=_0x208340[_0x1cd3('0x2578')]['name']+'='+_0x208340[_0x1cd3('0x2578')][_0x1cd3('0x3db')];break;case _0x1cd3('0x8f6'):break;default:_0x3d5abb[0x0]=_0x208340[_0x1cd3('0x2578')][_0x1cd3('0x253d')][_0x1cd3('0x3de')]('&');_0x3d5abb[0x1]=_0x208340[_0x1cd3('0x2578')][_0x1cd3('0x8fc')];_0x3d5abb[0x2]=_0x208340[_0x1cd3('0x2578')][_0x1cd3('0x422')];_0x3d5abb[0x3]=_0x208340[_0x1cd3('0x2578')][_0x1cd3('0x3a4')];_0x208340[_0x1cd3('0x2578')]['appdata']=_0x3d5abb[_0x1cd3('0x3de')](',');}}_0x4e88c6(_0x208340[_0x1cd3('0x2578')]);}function _0x4e88c6(_0x20a120){_0x40d6e7[_0x1cd3('0x39d')](_0x20a120);}}}());(function(){'use strict';_0x45d286[_0x1cd3('0xc')]=['$mdDialog','$q',_0x1cd3('0x461'),_0x1cd3('0x256a'),'inboundroute',_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')]('app.voice')[_0x1cd3('0x39b')]('EditInboundAppsetDialogController',_0x45d286);function _0x45d286(_0x2dfca0,_0x1fc270,_0x5e503f,_0x569292,_0x50410f,_0x542449,_0x908478,_0x2c5a25){var _0x48c0ce=this;_0x48c0ce['currentUser']=_0x908478['getCurrentUser']();_0x48c0ce[_0x1cd3('0xd34')]=[];_0x48c0ce['title']=_0x1cd3('0x256b')+(_0x569292[_0x1cd3('0x125b')]||_0x569292[_0x1cd3('0xd0a')])[_0x1cd3('0x437')]();_0x48c0ce['set']=angular[_0x1cd3('0x429')](_0x569292);_0x48c0ce[_0x1cd3('0xd27')]=_0x2c5a25;_0x48c0ce[_0x1cd3('0xd28')]={};if(_0x48c0ce[_0x1cd3('0x127e')][_0x1cd3('0x127d')]){switch(_0x48c0ce[_0x1cd3('0x127e')][_0x1cd3('0x125b')]?_0x48c0ce[_0x1cd3('0x127e')][_0x1cd3('0x125b')]['toLowerCase']():_0x48c0ce['set'][_0x1cd3('0xd0a')]['toLowerCase']()){case _0x1cd3('0x8f6'):break;case _0x1cd3('0x1233'):var _0xd056eb=_0x48c0ce[_0x1cd3('0x127e')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x48c0ce[_0x1cd3('0x127e')][_0x1cd3('0x65c')]=_0xd056eb[0x0];_0x48c0ce[_0x1cd3('0x127e')]['language']=_0xd056eb[0x1];_0x48c0ce['set'][_0x1cd3('0x1246')]=_0xd056eb[_0x1cd3('0x9a2')](0x2,_0xd056eb[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case'amazonlex':var _0xd056eb=_0x48c0ce['set']['appdata'][_0x1cd3('0x3ef')](',');_0x48c0ce[_0x1cd3('0x127e')]['accesskeyid']=_0xd056eb[0x0];_0x48c0ce[_0x1cd3('0x127e')][_0x1cd3('0x1249')]=_0xd056eb[0x1];_0x48c0ce[_0x1cd3('0x127e')]['lexregion']=_0xd056eb[0x2];_0x48c0ce[_0x1cd3('0x127e')][_0x1cd3('0x124f')]=_0xd056eb[0x3];_0x48c0ce[_0x1cd3('0x127e')][_0x1cd3('0x1246')]=_0xd056eb[_0x1cd3('0x9a2')](0x4,_0xd056eb[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x122b'):var _0xd056eb=_0x48c0ce[_0x1cd3('0x127e')]['appdata'][_0x1cd3('0x3ef')](',');_0x48c0ce[_0x1cd3('0x127e')][_0x1cd3('0x122c')]=isNaN(_0xd056eb[0x0])?_0xd056eb[0x0]:parseInt(_0xd056eb[0x0],0xa);_0x48c0ce[_0x1cd3('0x127e')][_0x1cd3('0x401')]=_0xd056eb[_0x1cd3('0x9a2')](0x1,_0xd056eb['length'])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x43a'):_0x48c0ce[_0x1cd3('0x127e')][_0x1cd3('0x401')]=_0x48c0ce[_0x1cd3('0x127e')]['appdata'];break;case'set':_0x48c0ce['set'][_0x1cd3('0x98')]=_0x48c0ce[_0x1cd3('0x127e')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x0];_0x48c0ce['set'][_0x1cd3('0x3db')]=_0x48c0ce[_0x1cd3('0x127e')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x1];break;case _0x1cd3('0x128c'):_0x48c0ce[_0x1cd3('0x127e')][_0x1cd3('0xedd')]=_0x48c0ce[_0x1cd3('0x127e')][_0x1cd3('0x127d')];break;default:var _0x3a2a63=_0x48c0ce[_0x1cd3('0x127e')]['appdata'][_0x1cd3('0x3ef')]('=');_0x48c0ce['set'][_0x1cd3('0x98')]=_[_0x1cd3('0x398')](_0x3a2a63[0x0])?_0x3a2a63[0x0]:isNaN(_0x3a2a63[0x0])?_0x3a2a63[0x0]:parseInt(_0x3a2a63[0x0],0xa);_0x48c0ce[_0x1cd3('0x127e')][_0x1cd3('0x3db')]=_[_0x1cd3('0x398')](_0x3a2a63[0x1])?_0x3a2a63[0x1]:isNaN(_0x3a2a63[0x1])?_0x3a2a63[0x1]:parseInt(_0x3a2a63[0x1],0xa);}}else{}if(_0x48c0ce['set'][_0x1cd3('0x424')]&&_0x48c0ce[_0x1cd3('0x127e')]['type'][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x48c0ce[_0x1cd3('0x127e')][_0x1cd3('0x125b')][_0x1cd3('0x433')]()===_0x1cd3('0x1289')){_0x48c0ce[_0x1cd3('0x127e')][_0x1cd3('0x6aa')]=_0x48c0ce[_0x1cd3('0x127e')][_0x1cd3('0xf09')]?_0x48c0ce['set'][_0x1cd3('0xf09')][_0x1cd3('0x3ef')]('$')[0x0]:undefined;_0x48c0ce[_0x1cd3('0x127e')]['callerId']=_0x48c0ce['set'][_0x1cd3('0x127f')]?_0x1cd3('0x1280')+_0x48c0ce[_0x1cd3('0x127e')]['callerID']:undefined;}_0x48c0ce[_0x1cd3('0x256c')]=_0x1ac1c9;_0x48c0ce[_0x1cd3('0x39c')]=_0x810a4e;_0x908478[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x542449[_0x1cd3('0xb84')][_0x1cd3('0x361')]({'fields':'id,name','sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x3e1aed){_0x48c0ce[_0x1cd3('0xef7')]=_0x3e1aed[_0x1cd3('0xf6')]||[];})['catch'](function(_0x4e0872){_0x5e503f['error']({'title':_0x4e0872[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x4e0872[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x4e0872[_0x1cd3('0xd35')]:_0x1cd3('0x12b3'),'msg':_0x4e0872[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x4e0872['data']):_0x4e0872[_0x1cd3('0x43b')]()});}):_0x542449['variable'][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x2de0f8){_0x48c0ce[_0x1cd3('0xef7')]=_0x2de0f8['rows']||[];})['then'](function(){return _0x542449[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x48c0ce[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x3f4})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x5c42b1){var _0x5e9480=_0x5c42b1&&_0x5c42b1[_0x1cd3('0xf6')]?_0x5c42b1['rows'][0x0]:null;if(!_0x5e9480){var _0x28bf45=[];var _0x21c915=null;if(_0x48c0ce[_0x1cd3('0x127e')]){_0x21c915=_[_0x1cd3('0x442')](_0x48c0ce[_0x1cd3('0xef7')],{'name':_0x48c0ce['set'][_0x1cd3('0x98')]});}for(var _0x34a35d=0x0;_0x34a35d<_0x48c0ce[_0x1cd3('0xef7')][_0x1cd3('0x7a')];_0x34a35d++){if(_0x21c915&&_0x48c0ce[_0x1cd3('0xef7')][_0x34a35d]['id']===_0x21c915['id']){_0x48c0ce[_0x1cd3('0xef7')][_0x34a35d][_0x1cd3('0xf4a')]=![];_0x28bf45[_0x1cd3('0x7b')](_0x48c0ce[_0x1cd3('0xef7')][_0x34a35d]);}}_0x48c0ce[_0x1cd3('0xef7')]=_0x28bf45;}else{if(!_0x5e9480[_0x1cd3('0x391')]){return _0x542449['userProfileResource'][_0x1cd3('0x361')]({'sectionId':_0x5e9480['id']})['$promise'][_0x1cd3('0x77')](function(_0x4499a2){var _0x4b6cd6=_[_0x1cd3('0x3d9')](_0x4499a2['rows'],function(_0xb70858){return _[_0x1cd3('0x442')](_0x48c0ce['variables'],{'id':_0xb70858[_0x1cd3('0xe8e')]});});var _0x26b99d=null;if(_0x48c0ce[_0x1cd3('0x127e')]){_0x26b99d=_['find'](_0x48c0ce[_0x1cd3('0xef7')],{'name':_0x48c0ce['set']['name']});}if(_0x26b99d&&!_[_0x1cd3('0x38d')](_0x4b6cd6,['id',_0x26b99d['id']])){var _0x36a4e8=_[_0x1cd3('0x442')](_0x48c0ce[_0x1cd3('0xef7')],{'id':_0x26b99d['id']});_0x36a4e8[_0x1cd3('0xf4a')]=![];_0x4b6cd6[_0x1cd3('0x7b')](_0x36a4e8);}_0x48c0ce[_0x1cd3('0xef7')]=_0x4b6cd6;});}}})[_0x1cd3('0xfd')](function(_0x7e1f2){_0x5e503f[_0x1cd3('0x434')]({'title':_0x7e1f2[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x7e1f2[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x7e1f2[_0x1cd3('0xd35')]:_0x1cd3('0x1c74'),'msg':_0x7e1f2[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x7e1f2['data']):_0x7e1f2[_0x1cd3('0x43b')]()});});function _0x1ac1c9(){_0x48c0ce[_0x1cd3('0xd34')]=[];var _0x231c55=[];if(_0x48c0ce[_0x1cd3('0x127e')][_0x1cd3('0x424')]&&_0x48c0ce[_0x1cd3('0x127e')][_0x1cd3('0x424')][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x48c0ce['set'][_0x1cd3('0x125b')]==='outboundDial'){_0x48c0ce[_0x1cd3('0x127e')][_0x1cd3('0xf09')]=_0x50410f[_0x1cd3('0x128a')]?(_0x48c0ce['set'][_0x1cd3('0x6aa')]||'')+'${EXTEN:'+_0x50410f[_0x1cd3('0x128a')]+'}':(_0x48c0ce['set']['prefix']||'')+_0x1cd3('0x128d');if(_0x50410f[_0x1cd3('0x1285')]!=='none'){if(_0x48c0ce[_0x1cd3('0x127e')]['options'][_0x1cd3('0x45e')](_0x1cd3('0x1286'))<0x0){_0x48c0ce['set'][_0x1cd3('0x422')]+=_0x1cd3('0x1286');}}else{_0x48c0ce[_0x1cd3('0x127e')]['options']=_0x48c0ce['set']['options'][_0x1cd3('0x3f1')](_0x1cd3('0x1286'),'');}}if(_0x48c0ce[_0x1cd3('0x127e')][_0x1cd3('0x125b')]&&_0x48c0ce[_0x1cd3('0x127e')][_0x1cd3('0x125b')]==='custom'){}else{switch((_0x48c0ce[_0x1cd3('0x127e')][_0x1cd3('0xd0a')]||_0x48c0ce[_0x1cd3('0x127e')]['appType'])[_0x1cd3('0x433')]()){case _0x1cd3('0x127e'):_0x48c0ce[_0x1cd3('0x127e')][_0x1cd3('0x127d')]=_0x48c0ce[_0x1cd3('0x127e')][_0x1cd3('0x98')]+'='+_0x48c0ce[_0x1cd3('0x127e')][_0x1cd3('0x3db')];break;case _0x1cd3('0x8f6'):break;default:_0x231c55[0x0]=_0x48c0ce[_0x1cd3('0x127e')]['name'];_0x231c55[0x1]=_0x48c0ce['set'][_0x1cd3('0x3db')];_0x48c0ce['set'][_0x1cd3('0x127d')]=_0x231c55['join']('=');}}_0x810a4e(_0x48c0ce[_0x1cd3('0x127e')]);}function _0x810a4e(_0x50216a){_0x2dfca0[_0x1cd3('0x39d')](_0x50216a);}}}());(function(){'use strict';_0x5b1cd2[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),'$q',_0x1cd3('0x461'),_0x1cd3('0x256a'),_0x1cd3('0x2512'),_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x2d'))['controller'](_0x1cd3('0x2579'),_0x5b1cd2);function _0x5b1cd2(_0x78fff0,_0x443f1d,_0xd7a4d8,_0x5534d5,_0x590d76,_0x2033cd,_0x132289,_0x4bb5c2){var _0x2f139e=this;_0x2f139e[_0x1cd3('0x3ca')]=_0x132289['getCurrentUser']();_0x2f139e[_0x1cd3('0xd34')]=[];_0x2f139e['title']='VOICE.EDIT_'+(_0x5534d5['appType']||_0x5534d5['app'])[_0x1cd3('0x437')]();_0x2f139e[_0x1cd3('0x2553')]=angular[_0x1cd3('0x429')](_0x5534d5);_0x2f139e[_0x1cd3('0xd27')]=_0x4bb5c2;_0x2f139e['hasModulePermissions']={};if(_0x2f139e[_0x1cd3('0x2553')][_0x1cd3('0x127d')]){switch(_0x2f139e['voicemail'][_0x1cd3('0x125b')]?_0x2f139e[_0x1cd3('0x2553')]['appType'][_0x1cd3('0x433')]():_0x2f139e[_0x1cd3('0x2553')]['app'][_0x1cd3('0x433')]()){case'custom':break;case _0x1cd3('0x1233'):var _0x5731af=_0x2f139e[_0x1cd3('0x2553')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x2f139e['voicemail']['key']=_0x5731af[0x0];_0x2f139e[_0x1cd3('0x2553')][_0x1cd3('0x3f3')]=_0x5731af[0x1];_0x2f139e[_0x1cd3('0x2553')]['welcomemessage']=_0x5731af[_0x1cd3('0x9a2')](0x2,_0x5731af['length'])[_0x1cd3('0x3de')](',');break;case'amazonlex':var _0x5731af=_0x2f139e['voicemail'][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x2f139e[_0x1cd3('0x2553')][_0x1cd3('0x1248')]=_0x5731af[0x0];_0x2f139e[_0x1cd3('0x2553')][_0x1cd3('0x1249')]=_0x5731af[0x1];_0x2f139e[_0x1cd3('0x2553')][_0x1cd3('0x124a')]=_0x5731af[0x2];_0x2f139e['voicemail'][_0x1cd3('0x124f')]=_0x5731af[0x3];_0x2f139e['voicemail']['welcomemessage']=_0x5731af[_0x1cd3('0x9a2')](0x4,_0x5731af['length'])[_0x1cd3('0x3de')](',');break;case'autoreply':var _0x5731af=_0x2f139e[_0x1cd3('0x2553')]['appdata'][_0x1cd3('0x3ef')](',');_0x2f139e[_0x1cd3('0x2553')]['times']=isNaN(_0x5731af[0x0])?_0x5731af[0x0]:parseInt(_0x5731af[0x0],0xa);_0x2f139e[_0x1cd3('0x2553')][_0x1cd3('0x401')]=_0x5731af['slice'](0x1,_0x5731af[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x43a'):_0x2f139e[_0x1cd3('0x2553')][_0x1cd3('0x401')]=_0x2f139e[_0x1cd3('0x2553')][_0x1cd3('0x127d')];break;case _0x1cd3('0x127e'):_0x2f139e[_0x1cd3('0x2553')][_0x1cd3('0x98')]=_0x2f139e[_0x1cd3('0x2553')]['appdata']['split']('=')[0x0];_0x2f139e[_0x1cd3('0x2553')]['value']=_0x2f139e[_0x1cd3('0x2553')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x1];break;case'agi':_0x2f139e['voicemail'][_0x1cd3('0xedd')]=_0x2f139e[_0x1cd3('0x2553')][_0x1cd3('0x127d')];break;default:var _0x5e2c73=_0x2f139e[_0x1cd3('0x2553')]['appdata'][_0x1cd3('0x3ef')](',');_0x2f139e[_0x1cd3('0x2553')][_0x1cd3('0xa5e')]=_['isEmpty'](_0x5e2c73[0x0])?_0x5e2c73[0x0]:isNaN(_0x5e2c73[0x0])?_0x5e2c73[0x0]:parseInt(_0x5e2c73[0x0],0xa);_0x2f139e[_0x1cd3('0x2553')][_0x1cd3('0x422')]=_[_0x1cd3('0x398')](_0x5e2c73[0x1])?_0x5e2c73[0x1]:isNaN(_0x5e2c73[0x1])?_0x5e2c73[0x1]:parseInt(_0x5e2c73[0x1],0xa);}}else{}if(_0x2f139e[_0x1cd3('0x2553')][_0x1cd3('0x424')]&&_0x2f139e[_0x1cd3('0x2553')][_0x1cd3('0x424')][_0x1cd3('0x433')]()==='outbound'&&_0x2f139e[_0x1cd3('0x2553')][_0x1cd3('0x125b')]['toLowerCase']()===_0x1cd3('0x1289')){_0x2f139e[_0x1cd3('0x2553')]['prefix']=_0x2f139e[_0x1cd3('0x2553')][_0x1cd3('0xf09')]?_0x2f139e['voicemail'][_0x1cd3('0xf09')][_0x1cd3('0x3ef')]('$')[0x0]:undefined;_0x2f139e[_0x1cd3('0x2553')][_0x1cd3('0x689')]=_0x2f139e[_0x1cd3('0x2553')]['callerID']?_0x1cd3('0x1280')+_0x2f139e[_0x1cd3('0x2553')][_0x1cd3('0x127f')]:undefined;}_0x2f139e[_0x1cd3('0x256c')]=_0x1f02da;_0x2f139e['closeDialog']=_0x2bc477;_0x132289[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x2033cd[_0x1cd3('0xa5e')][_0x1cd3('0x361')]({'fields':_0x1cd3('0x2556'),'sort':_0x1cd3('0xf13'),'nolimit':'true'})[_0x1cd3('0x81')]['then'](function(_0x5be749){_0x2f139e['voiceMails']=_0x5be749[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x4fc2a0){_0xd7a4d8['error']({'title':_0x4fc2a0[_0x1cd3('0x3a6')]?'API:'+_0x4fc2a0['status']+_0x1cd3('0x436')+_0x4fc2a0[_0x1cd3('0xd35')]:_0x1cd3('0x257a'),'msg':_0x4fc2a0[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x4fc2a0[_0x1cd3('0x439')]):_0x4fc2a0[_0x1cd3('0x43b')]()});}):_0x2033cd['voiceMail'][_0x1cd3('0x361')]({'fields':'id,mailbox','sort':_0x1cd3('0xf13'),'nolimit':'true'})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x32acb1){_0x2f139e[_0x1cd3('0x2554')]=_0x32acb1[_0x1cd3('0xf6')]||[];})['then'](function(){return _0x2033cd['userProfileSection'][_0x1cd3('0x361')]({'userProfileId':_0x2f139e[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x196})[_0x1cd3('0x81')];})['then'](function(_0x2d1a40){var _0x17463d=_0x2d1a40&&_0x2d1a40[_0x1cd3('0xf6')]?_0x2d1a40[_0x1cd3('0xf6')][0x0]:null;if(!_0x17463d){var _0x451ec2=[];var _0x558495=null;if(_0x2f139e['voicemail']){_0x558495=_['find'](_0x2f139e[_0x1cd3('0x2554')],{'mailbox':_0x2f139e[_0x1cd3('0x2553')][_0x1cd3('0xa5e')]});}for(var _0x2480eb=0x0;_0x2480eb<_0x2f139e[_0x1cd3('0x2554')]['length'];_0x2480eb++){if(_0x558495&&_0x2f139e[_0x1cd3('0x2554')][_0x2480eb]['id']===_0x558495['id']){_0x2f139e[_0x1cd3('0x2554')][_0x2480eb][_0x1cd3('0xf4a')]=![];_0x451ec2[_0x1cd3('0x7b')](_0x2f139e[_0x1cd3('0x2554')][_0x2480eb]);}}_0x2f139e[_0x1cd3('0x2554')]=_0x451ec2;}else{if(!_0x17463d[_0x1cd3('0x391')]){return _0x2033cd[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x17463d['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x3d0672){var _0x3e0129=_['map'](_0x3d0672[_0x1cd3('0xf6')],function(_0x468a02){return _[_0x1cd3('0x442')](_0x2f139e['voiceMails'],{'id':_0x468a02[_0x1cd3('0xe8e')]});});var _0x42b3ca=null;if(_0x2f139e[_0x1cd3('0x2553')]){_0x42b3ca=_[_0x1cd3('0x442')](_0x2f139e[_0x1cd3('0x2554')],{'mailbox':_0x2f139e['voicemail']['voiceMail']});}if(_0x42b3ca&&!_[_0x1cd3('0x38d')](_0x3e0129,['id',_0x42b3ca['id']])){var _0x13b049=_[_0x1cd3('0x442')](_0x2f139e[_0x1cd3('0x2554')],{'id':_0x42b3ca['id']});_0x13b049[_0x1cd3('0xf4a')]=![];_0x3e0129['push'](_0x13b049);}_0x2f139e[_0x1cd3('0x2554')]=_0x3e0129;});}}})[_0x1cd3('0xfd')](function(_0x479e68){_0xd7a4d8[_0x1cd3('0x434')]({'title':_0x479e68[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x479e68[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x479e68[_0x1cd3('0xd35')]:_0x1cd3('0x257b'),'msg':_0x479e68[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x479e68[_0x1cd3('0x439')]):_0x479e68[_0x1cd3('0x43b')]()});});function _0x1f02da(){_0x2f139e[_0x1cd3('0xd34')]=[];var _0x1f53ea=[];if(_0x2f139e['voicemail'][_0x1cd3('0x424')]&&_0x2f139e[_0x1cd3('0x2553')][_0x1cd3('0x424')][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x2f139e[_0x1cd3('0x2553')][_0x1cd3('0x125b')]===_0x1cd3('0x1283')){_0x2f139e['voicemail'][_0x1cd3('0xf09')]=_0x590d76[_0x1cd3('0x128a')]?(_0x2f139e[_0x1cd3('0x2553')]['prefix']||'')+_0x1cd3('0x1284')+_0x590d76['cutdigits']+'}':(_0x2f139e[_0x1cd3('0x2553')]['prefix']||'')+'${EXTEN}';if(_0x590d76['recordingFormat']!=='none'){if(_0x2f139e[_0x1cd3('0x2553')]['options'][_0x1cd3('0x45e')](_0x1cd3('0x1286'))<0x0){_0x2f139e['voicemail'][_0x1cd3('0x422')]+=_0x1cd3('0x1286');}}else{_0x2f139e['voicemail'][_0x1cd3('0x422')]=_0x2f139e['voicemail'][_0x1cd3('0x422')][_0x1cd3('0x3f1')](_0x1cd3('0x1286'),'');}}if(_0x2f139e['voicemail'][_0x1cd3('0x125b')]&&_0x2f139e[_0x1cd3('0x2553')]['appType']===_0x1cd3('0x8f6')){}else{switch((_0x2f139e['voicemail'][_0x1cd3('0xd0a')]||_0x2f139e[_0x1cd3('0x2553')][_0x1cd3('0x125b')])[_0x1cd3('0x433')]()){case'set':_0x2f139e[_0x1cd3('0x2553')][_0x1cd3('0x127d')]=_0x2f139e[_0x1cd3('0x2553')]['name']+'='+_0x2f139e[_0x1cd3('0x2553')][_0x1cd3('0x3db')];break;case'custom':break;default:_0x1f53ea[0x0]=_0x2f139e[_0x1cd3('0x2553')][_0x1cd3('0xa5e')];_0x1f53ea[0x1]=_0x2f139e['voicemail'][_0x1cd3('0x422')];_0x2f139e[_0x1cd3('0x2553')][_0x1cd3('0x127d')]=_0x1f53ea['join'](',');}}_0x2bc477(_0x2f139e[_0x1cd3('0x2553')]);}function _0x2bc477(_0x2b446a){_0x78fff0['hide'](_0x2b446a);}}}());(function(){'use strict';_0x871e32[_0x1cd3('0xc')]=[_0x1cd3('0x53e'),_0x1cd3('0xd24'),'$mdDialog',_0x1cd3('0x372'),_0x1cd3('0x3f7'),_0x1cd3('0x463'),_0x1cd3('0xc49'),'api',_0x1cd3('0x461'),_0x1cd3('0x56'),_0x1cd3('0x2512'),_0x1cd3('0x390')];angular[_0x1cd3('0x0')](_0x1cd3('0x2d'))[_0x1cd3('0x39b')](_0x1cd3('0x257c'),_0x871e32);function _0x871e32(_0x567a65,_0x2b4ad2,_0x504ffb,_0x52e245,_0x387200,_0x4f4282,_0x3f115b,_0x64ff4b,_0x50426e,_0x3266ae,_0x312c64,_0x171782){var _0xcdc23b=this;_0xcdc23b[_0x1cd3('0x3ca')]=_0x3266ae[_0x1cd3('0x5d')]();_0xcdc23b[_0x1cd3('0x463')]=_0x4f4282;_0xcdc23b[_0x1cd3('0xc49')]=_0x3f115b;_0xcdc23b[_0x1cd3('0xd29')]=_0xcdc23b[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0xcdc23b[_0x1cd3('0xd22')]=_0x2b4ad2[_0x1cd3('0x3b0')]()+_0x1cd3('0x11cf')+_0x2b4ad2[_0x1cd3('0x3ac')]();_0xcdc23b[_0x1cd3('0x2512')]=_0x312c64||_0x567a65['params']['inboundroute']||{};_0xcdc23b[_0x1cd3('0x390')]=_0x171782&&_0x171782[_0x1cd3('0x466')]==0x1?_0x171782[_0x1cd3('0xf6')][0x0]:null;_0xcdc23b['crudPermissions']=_0x3266ae[_0x1cd3('0xd44')](_0xcdc23b[_0x1cd3('0x390')]?_0xcdc23b[_0x1cd3('0x390')]['crudPermissions']:null);_0xcdc23b[_0x1cd3('0xd28')]={};_0xcdc23b['selectedTab']=_0x567a65[_0x1cd3('0x36a')]['tab']||0x0;_0xcdc23b['alert']=_0x50426e['info'];_0xcdc23b[_0x1cd3('0x257d')]=_0x2d61fc;_0xcdc23b['saveInboundRoute']=_0x291a16;_0x3266ae['hasRole']('admin')?_0x64ff4b[_0x1cd3('0xa3e')][_0x1cd3('0x361')]({'fields':'id,name','sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')]['then'](function(_0x407702){_0xcdc23b[_0x1cd3('0x2119')]=_0x407702[_0x1cd3('0xf6')]||[];})['catch'](function(_0x251eb1){_0x50426e[_0x1cd3('0x434')]({'title':_0x251eb1['status']?_0x1cd3('0x435')+_0x251eb1['status']+_0x1cd3('0x436')+_0x251eb1[_0x1cd3('0xd35')]:_0x1cd3('0x211a'),'msg':_0x251eb1[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x251eb1[_0x1cd3('0x439')]):_0x251eb1[_0x1cd3('0x43b')]()});}):_0x64ff4b['voiceContext'][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':'name','nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x527fa0){_0xcdc23b[_0x1cd3('0x2119')]=_0x527fa0['rows']||[];})['then'](function(){return _0x64ff4b['userProfileSection']['get']({'userProfileId':_0xcdc23b[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x195})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x90823a){var _0x11adee=_0x90823a&&_0x90823a[_0x1cd3('0xf6')]?_0x90823a[_0x1cd3('0xf6')][0x0]:null;if(!_0x11adee){return _0x64ff4b['voiceContext'][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0'),'defaultEntry':0x1})['$promise']['then'](function(_0x2db758){_0xcdc23b[_0x1cd3('0x2119')]=_0x2db758[_0x1cd3('0xf6')]||[];});}else{if(!_0x11adee['autoAssociation']){return _0x64ff4b[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x11adee['id']})[_0x1cd3('0x81')]['then'](function(_0x371c87){var _0xa4b60f=_[_0x1cd3('0x3d9')](_0x371c87[_0x1cd3('0xf6')],function(_0x48c41c){return _[_0x1cd3('0x442')](_0xcdc23b['contexts'],{'id':_0x48c41c[_0x1cd3('0xe8e')]});});var _0x32f45f=null;if(_0xcdc23b[_0x1cd3('0x2512')]){_0x32f45f=_[_0x1cd3('0x442')](_0xcdc23b[_0x1cd3('0x2119')],{'name':_0xcdc23b[_0x1cd3('0x2512')][_0x1cd3('0xf0a')]});}if(_0x32f45f&&!_['some'](_0xa4b60f,['id',_0x32f45f['id']])){var _0x5e9edd=_[_0x1cd3('0x442')](_0xcdc23b[_0x1cd3('0x2119')],{'id':_0x32f45f['id']});_0x5e9edd['canSelect']=![];_0xa4b60f[_0x1cd3('0x7b')](_0x5e9edd);}_0xcdc23b[_0x1cd3('0x2119')]=_0xa4b60f;});}}})[_0x1cd3('0xfd')](function(_0x289e3f){_0x50426e[_0x1cd3('0x434')]({'title':_0x289e3f[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x289e3f[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x289e3f[_0x1cd3('0xd35')]:_0x1cd3('0x214c'),'msg':_0x289e3f[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x289e3f[_0x1cd3('0x439')]):_0x289e3f[_0x1cd3('0x43b')]()});});function _0x2d61fc(){_0x567a65['go'](_0x1cd3('0x257e'),{},{'reload':_0x1cd3('0x257e')});}function _0x291a16(){_0x64ff4b[_0x1cd3('0xa40')][_0x1cd3('0x378')]({'id':_0xcdc23b[_0x1cd3('0x2512')]['id']},_0xcdc23b['inboundroute'])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x50426e[_0x1cd3('0x473')]({'title':_0x1cd3('0x257f'),'msg':_0xcdc23b['inboundroute'][_0x1cd3('0x98')]?_0xcdc23b[_0x1cd3('0x2512')]['name']+_0x1cd3('0xe65'):''});})[_0x1cd3('0xfd')](function(_0x35c57d){_0x50426e['error']({'title':_0x35c57d[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x35c57d[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x35c57d[_0x1cd3('0xd35')]:_0x1cd3('0x2580'),'msg':_0x35c57d[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x35c57d[_0x1cd3('0x439')]):_0x35c57d[_0x1cd3('0x43b')]()});});}}}());(function(){'use strict';_0x224a1f['$inject']=[_0x1cd3('0x460'),_0x1cd3('0x371'),_0x1cd3('0x53e'),_0x1cd3('0x969'),_0x1cd3('0x3c5'),'$document',_0x1cd3('0x3e7'),'$translate',_0x1cd3('0x250f'),_0x1cd3('0x38a'),_0x1cd3('0x390'),'api',_0x1cd3('0x2dd'),_0x1cd3('0x461'),_0x1cd3('0x56'),'license',_0x1cd3('0xc49')];angular[_0x1cd3('0x0')]('app.voice')[_0x1cd3('0x39b')](_0x1cd3('0x2581'),_0x224a1f);function _0x224a1f(_0x57de80,_0x24361a,_0x3d5029,_0x2e56b8,_0x52ff34,_0x37d669,_0xfb84a7,_0x40888b,_0x307675,_0x372f7b,_0x1b5d2e,_0x3406f6,_0x136dd7,_0x5979e3,_0x103ea2,_0x25c032,_0x48b66e){var _0x2f29d6=this;_0x2f29d6[_0x1cd3('0x463')]=_0x25c032;_0x2f29d6[_0x1cd3('0xc49')]=_0x48b66e;_0x2f29d6['currentUser']=_0x103ea2[_0x1cd3('0x5d')]();_0x2f29d6[_0x1cd3('0x250f')]=_0x307675||{'count':0x0,'rows':[]};_0x2f29d6[_0x1cd3('0x38a')]=_0x372f7b;_0x2f29d6[_0x1cd3('0x390')]=_0x1b5d2e&&_0x1b5d2e[_0x1cd3('0x466')]==0x1?_0x1b5d2e[_0x1cd3('0xf6')][0x0]:null;_0x2f29d6[_0x1cd3('0xd27')]=_0x103ea2['parseCrudPermissions'](_0x2f29d6[_0x1cd3('0x390')]?_0x2f29d6[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);_0x2f29d6[_0x1cd3('0xd45')]=_0x1cd3('0x250f');_0x2f29d6[_0x1cd3('0xd46')]='';_0x2f29d6[_0x1cd3('0xd47')]=null;_0x2f29d6[_0x1cd3('0x2582')]=[];_0x2f29d6[_0x1cd3('0x3d4')]={'fields':'createdAt,updatedAt,id,appdata,type,exten,context,description','type':_0x1cd3('0xa4'),'sort':'-updatedAt','VoiceExtensionId':_0x1cd3('0x220'),'limit':0xa,'page':0x1};_0x2f29d6[_0x1cd3('0x1171')]=_0x56d85d;_0x2f29d6['deleteconfirm']=_0x38f598;_0x2f29d6[_0x1cd3('0x473')]=_0x6addf;_0x2f29d6[_0x1cd3('0x2583')]=_0x3e5f79;_0x2f29d6[_0x1cd3('0x2584')]=_0x562b3a;_0x2f29d6[_0x1cd3('0x2518')]=_0x2725a6;_0x2f29d6[_0x1cd3('0x2585')]=_0x3d2392;_0x2f29d6[_0x1cd3('0x2586')]=_0x4ef77e;_0x2f29d6[_0x1cd3('0x2587')]=_0x3f141e;_0x2f29d6[_0x1cd3('0x2588')]=_0x4c4d7a;_0x103ea2[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x3406f6['voiceContext']['get']({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'nolimit':'true'})[_0x1cd3('0x81')]['then'](function(_0x18c6aa){_0x2f29d6['contexts']=_0x18c6aa[_0x1cd3('0xf6')]||[];})['catch'](function(_0x443ae){_0x5979e3['error']({'title':_0x443ae['status']?_0x1cd3('0x435')+_0x443ae[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x443ae[_0x1cd3('0xd35')]:_0x1cd3('0x211a'),'msg':_0x443ae[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x443ae['data']):_0x443ae[_0x1cd3('0x43b')]()});}):_0x3406f6['voiceContext'][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'nolimit':'true'})[_0x1cd3('0x81')]['then'](function(_0x1302c0){_0x2f29d6[_0x1cd3('0x2119')]=_0x1302c0[_0x1cd3('0xf6')]||[];})['then'](function(){return _0x3406f6[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x2f29d6[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x195})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x3bad67){var _0x1994aa=_0x3bad67&&_0x3bad67['rows']?_0x3bad67[_0x1cd3('0xf6')][0x0]:null;if(!_0x1994aa){return _0x3406f6[_0x1cd3('0xa3e')]['get']({'fields':_0x1cd3('0xa6'),'sort':'name','nolimit':_0x1cd3('0x2e0'),'defaultEntry':0x1})[_0x1cd3('0x81')]['then'](function(_0x3b1968){_0x2f29d6[_0x1cd3('0x2119')]=_0x3b1968[_0x1cd3('0xf6')]||[];});}else{if(!_0x1994aa[_0x1cd3('0x391')]){return _0x3406f6[_0x1cd3('0x392')]['get']({'sectionId':_0x1994aa['id']})['$promise']['then'](function(_0x6630f4){var _0x4aee65=_[_0x1cd3('0x3d9')](_0x6630f4[_0x1cd3('0xf6')],function(_0x59f736){return _['find'](_0x2f29d6[_0x1cd3('0x2119')],{'id':_0x59f736[_0x1cd3('0xe8e')]});});var _0x4da7af=null;if(_0x2f29d6[_0x1cd3('0x2512')]){_0x4da7af=_[_0x1cd3('0x442')](_0x2f29d6[_0x1cd3('0x2119')],{'name':_0x2f29d6['inboundroute'][_0x1cd3('0xf0a')]});}if(_0x4da7af&&!_['some'](_0x4aee65,['id',_0x4da7af['id']])){var _0x14484c=_[_0x1cd3('0x442')](_0x2f29d6[_0x1cd3('0x2119')],{'id':_0x4da7af['id']});_0x14484c['canSelect']=![];_0x4aee65[_0x1cd3('0x7b')](_0x14484c);}_0x2f29d6['contexts']=_0x4aee65;});}}})['catch'](function(_0x26866d){_0x5979e3['error']({'title':_0x26866d[_0x1cd3('0x3a6')]?'API:'+_0x26866d[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x26866d[_0x1cd3('0xd35')]:_0x1cd3('0x214c'),'msg':_0x26866d['data']?JSON[_0x1cd3('0x438')](_0x26866d['data']):_0x26866d[_0x1cd3('0x43b')]()});});function _0x56d85d(_0x299106,_0x403433){_0x3d5029['go'](_0x1cd3('0x306'),{'id':_0x299106['id'],'inboundroute':_0x299106,'crudPermissions':_0x2f29d6[_0x1cd3('0xd27')]});}function _0x38f598(_0x3accc9,_0x2905fd){var _0x57df89=_0x52ff34[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xd4f')+_[_0x1cd3('0xd50')](_0x1cd3('0x2512'))+'?')[_0x1cd3('0xd60')](_0x1cd3('0xd51')+(_0x3accc9['name']||'inboundroute')+_0x1cd3('0xd52')+_0x1cd3('0xd53'))['ariaLabel'](_0x1cd3('0x2589'))['targetEvent'](_0x2905fd)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x52ff34[_0x1cd3('0x37e')](_0x57df89)[_0x1cd3('0x77')](function(){_0x2725a6(_0x3accc9);},function(){console['log'](_0x1cd3('0xd55'));});}var _0x23fde6=!![];var _0x38efbf=0x1;_0x57de80[_0x1cd3('0x4d6')]('vm.query.filter',function(_0x5d8e46,_0x227a81){if(_0x23fde6){_0xfb84a7(function(){_0x23fde6=![];});}else{if(!_0x227a81){_0x38efbf=_0x2f29d6[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0x5d8e46!==_0x227a81){_0x2f29d6[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}if(!_0x5d8e46){_0x2f29d6[_0x1cd3('0x3d4')]['page']=_0x38efbf;}_0x2f29d6[_0x1cd3('0x2583')]();}});function _0x6addf(_0x3d2db0){_0x2f29d6['inboundroutes']=_0x3d2db0||{'count':0x0,'rows':[]};}function _0x3e5f79(){_0x2f29d6[_0x1cd3('0x3d4')]['offset']=(_0x2f29d6[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0x2f29d6['query']['limit'];if(_0x103ea2['hasRole'](_0x1cd3('0x5f'))){_0x2f29d6[_0x1cd3('0x539')]=_0x3406f6['voiceExtension'][_0x1cd3('0x361')](_0x2f29d6[_0x1cd3('0x3d4')],_0x6addf)[_0x1cd3('0x81')];}else{_0x2f29d6['query']['id']=_0x2f29d6['userProfile']['id'];_0x2f29d6[_0x1cd3('0x3d4')][_0x1cd3('0xd58')]='InboundRoutes';_0x2f29d6[_0x1cd3('0x539')]=_0x3406f6['userProfile'][_0x1cd3('0xd59')](_0x2f29d6[_0x1cd3('0x3d4')],_0x6addf)['$promise'];}}function _0x562b3a(_0x280873,_0x41ce94){_0x52ff34['show']({'controller':'CreateOrEditInboundRouteDialogController','controllerAs':'vm','templateUrl':_0x1cd3('0x258a'),'parent':angular[_0x1cd3('0x37f')](_0x37d669[_0x1cd3('0x380')]),'targetEvent':_0x280873,'clickOutsideToClose':!![],'locals':{'inboundroute':_0x41ce94,'inboundroutes':_0x2f29d6[_0x1cd3('0x250f')][_0x1cd3('0xf6')],'license':_0x2f29d6[_0x1cd3('0x463')],'setting':_0x2f29d6[_0x1cd3('0xc49')],'crudPermissions':_0x2f29d6[_0x1cd3('0xd27')]}});}function _0x2725a6(_0x39b9f4){_0x3406f6[_0x1cd3('0xa40')][_0x1cd3('0xa1c')]({'id':_0x39b9f4['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_['remove'](_0x2f29d6[_0x1cd3('0x250f')][_0x1cd3('0xf6')],{'id':_0x39b9f4['id']});_0x2f29d6[_0x1cd3('0x250f')][_0x1cd3('0x466')]-=0x1;if(!_0x2f29d6[_0x1cd3('0x250f')]['rows'][_0x1cd3('0x7a')]){_0x2f29d6[_0x1cd3('0x2583')]();}_0x5979e3[_0x1cd3('0x473')]({'title':_['startCase'](_0x1cd3('0x258b'))+_0x1cd3('0xd5c'),'msg':_0x39b9f4[_0x1cd3('0x98')]?_0x39b9f4[_0x1cd3('0x98')]+_0x1cd3('0xd41'):''});})[_0x1cd3('0xfd')](function(_0x40313f){if(_0x40313f[_0x1cd3('0x439')]&&_0x40313f[_0x1cd3('0x439')]['errors']&&_0x40313f[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x2f29d6[_0x1cd3('0xd34')]=_0x40313f[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x40313f[_0x1cd3('0x43b')](),'type':_0x1cd3('0x258c')}];for(var _0x536e5f=0x0;_0x536e5f<_0x40313f[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0x536e5f++){_0x5979e3[_0x1cd3('0x434')]({'title':_0x40313f[_0x1cd3('0x439')]['errors'][_0x536e5f]['type'],'msg':_0x40313f[_0x1cd3('0x439')]['errors'][_0x536e5f]['message']});}}else{_0x5979e3[_0x1cd3('0x434')]({'title':_0x40313f[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x40313f[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x40313f[_0x1cd3('0xd35')]:'SYSTEM:DELETEvoiceExtension','msg':_0x40313f['data']?JSON[_0x1cd3('0x438')](_0x40313f[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x40313f['message']||_0x40313f[_0x1cd3('0x43b')]()});}});}function _0x3d2392(){var _0x373e9f=angular[_0x1cd3('0x429')](_0x2f29d6[_0x1cd3('0x2582')]);_0x2f29d6[_0x1cd3('0x2582')]=[];return _0x373e9f;}function _0x4ef77e(_0x8d64c8){var _0x5e902c=_0x52ff34['confirm']()['title']('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20inboundroutes?')[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x2f29d6[_0x1cd3('0x2582')][_0x1cd3('0x7a')]+_0x1cd3('0xd61')+'\x20will\x20be\x20deleted.')[_0x1cd3('0xd3d')](_0x1cd3('0x258d'))[_0x1cd3('0xd63')](_0x8d64c8)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x52ff34['show'](_0x5e902c)['then'](function(){_0x2f29d6['selectedInboundRoutes'][_0x1cd3('0x394')](function(_0x3a0c30){_0x2725a6(_0x3a0c30);});_0x2f29d6[_0x1cd3('0x2582')]=[];});}function _0x3f141e(){_0x2f29d6[_0x1cd3('0x2582')]=[];}function _0x4c4d7a(){_0x2f29d6[_0x1cd3('0x2582')]=_0x2f29d6['inboundroutes'][_0x1cd3('0xf6')];}}}());(function(){'use strict';_0x2e4d8f[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x53e'),_0x1cd3('0xd24'),_0x1cd3('0x3c5'),'$q',_0x1cd3('0x3f7'),'toasty',_0x1cd3('0x258e'),_0x1cd3('0x258f'),'api',_0x1cd3('0x56'),'license',_0x1cd3('0xc49'),_0x1cd3('0xd27')];angular['module'](_0x1cd3('0x2d'))[_0x1cd3('0x39b')]('CreateOrEditInternalRouteDialogController',_0x2e4d8f);function _0x2e4d8f(_0x1fc9cf,_0x127a90,_0x2fb6c3,_0x34c691,_0x59ff48,_0x35104b,_0x17f0b4,_0x202718,_0x589e90,_0x367c85,_0x307d0d,_0x545f77,_0x11f98c,_0x2223b3){var _0x5ecbbc=this;_0x5ecbbc[_0x1cd3('0x3ca')]=_0x307d0d[_0x1cd3('0x5d')]();_0x5ecbbc[_0x1cd3('0xd34')]=[];_0x5ecbbc[_0x1cd3('0xc49')]=_0x11f98c;_0x5ecbbc[_0x1cd3('0x463')]=_0x545f77;_0x5ecbbc['crudPermissions']=_0x2223b3;_0x5ecbbc[_0x1cd3('0xd28')]={};_0x5ecbbc[_0x1cd3('0xd29')]=_0x5ecbbc[_0x1cd3('0xc49')]&&_0x5ecbbc[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x5ecbbc[_0x1cd3('0x486')]=_0x1cd3('0x2590');_0x5ecbbc[_0x1cd3('0x258f')]=angular[_0x1cd3('0x429')](_0x589e90);_0x5ecbbc['internalroutes']=_0x202718;_0x5ecbbc[_0x1cd3('0x2591')]=![];if(!_0x5ecbbc[_0x1cd3('0x258f')]){_0x5ecbbc['internalroute']={'appdata':'Internal\x20Call','type':_0x1cd3('0x311'),'context':'from-sip'};_0x5ecbbc[_0x1cd3('0x486')]=_0x1cd3('0x2592');_0x5ecbbc[_0x1cd3('0x2591')]=!![];}_0x5ecbbc['addNewInternalRoute']=_0x23e3d5;_0x5ecbbc[_0x1cd3('0x2593')]=_0x4334d0;_0x5ecbbc['deleteInternalRoute']=_0x3ba548;_0x5ecbbc['getDateFromString']=_0x9d85ed;_0x5ecbbc[_0x1cd3('0x39c')]=_0x587ed8;_0x307d0d['hasRole']('admin')?_0x367c85[_0x1cd3('0xa3e')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')]['then'](function(_0x3dd0f9){_0x5ecbbc[_0x1cd3('0x2119')]=_0x3dd0f9['rows']||[];})[_0x1cd3('0xfd')](function(_0x1b9755){_0x17f0b4['error']({'title':_0x1b9755[_0x1cd3('0x3a6')]?'API:'+_0x1b9755['status']+_0x1cd3('0x436')+_0x1b9755['statusText']:_0x1cd3('0x211a'),'msg':_0x1b9755[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x1b9755['data']):_0x1b9755[_0x1cd3('0x43b')]()});}):_0x367c85[_0x1cd3('0xa3e')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':'name','nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x2fb679){_0x5ecbbc[_0x1cd3('0x2119')]=_0x2fb679[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x367c85['userProfileSection'][_0x1cd3('0x361')]({'userProfileId':_0x5ecbbc[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x195})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x3630a0){var _0x359bd9=_0x3630a0&&_0x3630a0[_0x1cd3('0xf6')]?_0x3630a0[_0x1cd3('0xf6')][0x0]:null;if(!_0x359bd9){return _0x367c85[_0x1cd3('0xa3e')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0'),'defaultEntry':0x1})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x3a2d97){_0x5ecbbc['contexts']=_0x3a2d97[_0x1cd3('0xf6')]||[];});}else{if(!_0x359bd9[_0x1cd3('0x391')]){return _0x367c85[_0x1cd3('0x392')]['get']({'sectionId':_0x359bd9['id']})['$promise'][_0x1cd3('0x77')](function(_0x58df8c){var _0x2475de=_[_0x1cd3('0x3d9')](_0x58df8c[_0x1cd3('0xf6')],function(_0x119598){return _['find'](_0x5ecbbc[_0x1cd3('0x2119')],{'id':_0x119598['resourceId']});});var _0x15e80b=null;if(_0x5ecbbc[_0x1cd3('0x258f')]){_0x15e80b=_[_0x1cd3('0x442')](_0x5ecbbc[_0x1cd3('0x2119')],{'name':_0x5ecbbc[_0x1cd3('0x258f')][_0x1cd3('0xf0a')]});}if(_0x15e80b&&!_[_0x1cd3('0x38d')](_0x2475de,['id',_0x15e80b['id']])){var _0x30477b=_[_0x1cd3('0x442')](_0x5ecbbc[_0x1cd3('0x2119')],{'id':_0x15e80b['id']});_0x30477b[_0x1cd3('0xf4a')]=![];_0x2475de[_0x1cd3('0x7b')](_0x30477b);}_0x5ecbbc[_0x1cd3('0x2119')]=_0x2475de;});}}})[_0x1cd3('0xfd')](function(_0x41e3bd){_0x17f0b4['error']({'title':_0x41e3bd[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x41e3bd[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x41e3bd[_0x1cd3('0xd35')]:_0x1cd3('0x214c'),'msg':_0x41e3bd[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x41e3bd[_0x1cd3('0x439')]):_0x41e3bd[_0x1cd3('0x43b')]()});});function _0x23e3d5(){_0x5ecbbc[_0x1cd3('0xd34')]=[];_0x367c85[_0x1cd3('0xa40')][_0x1cd3('0xd6d')](_0x5ecbbc['internalroute'])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x1b76a9){_0x5ecbbc[_0x1cd3('0x258e')][_0x1cd3('0x621')](_0x1b76a9[_0x1cd3('0xd32')]());_0x17f0b4[_0x1cd3('0x473')]({'title':_0x1cd3('0x2594'),'msg':_0x5ecbbc[_0x1cd3('0x258f')]['name']?_0x5ecbbc['internalroute'][_0x1cd3('0x98')]+_0x1cd3('0xd33'):''});_0x587ed8(_0x1b76a9);})[_0x1cd3('0xfd')](function(_0x4f45be){if(_0x4f45be[_0x1cd3('0x439')]&&_0x4f45be['data'][_0x1cd3('0xd34')]&&_0x4f45be[_0x1cd3('0x439')]['errors']['length']){_0x5ecbbc['errors']=_0x4f45be['data']['errors']||[{'message':_0x4f45be['toString'](),'type':_0x1cd3('0x251a')}];for(var _0x29b0f4=0x0;_0x29b0f4<_0x4f45be[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x29b0f4+=0x1){_0x17f0b4[_0x1cd3('0x434')]({'title':_0x4f45be[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x29b0f4]['type'],'msg':_0x4f45be[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x29b0f4]['message']});}}else{_0x17f0b4[_0x1cd3('0x434')]({'title':_0x4f45be[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x4f45be[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x4f45be[_0x1cd3('0xd35')]:_0x1cd3('0x251a'),'msg':_0x4f45be[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x4f45be[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x4f45be[_0x1cd3('0x43b')]()});}});}function _0x4334d0(){_0x5ecbbc[_0x1cd3('0xd34')]=[];_0x367c85[_0x1cd3('0xa40')][_0x1cd3('0x378')]({'id':_0x5ecbbc[_0x1cd3('0x258f')]['id']},_0x5ecbbc[_0x1cd3('0x258f')])[_0x1cd3('0x81')]['then'](function(_0x2b1650){var _0x1f84ae=_[_0x1cd3('0x442')](_0x5ecbbc[_0x1cd3('0x258e')],{'id':_0x2b1650['id']});if(_0x1f84ae){_[_0x1cd3('0xf2')](_0x1f84ae,_[_0x1cd3('0x5e8')](_0x2b1650['toJSON'](),_['keys'](_0x1f84ae)));}_0x17f0b4['success']({'title':_0x1cd3('0x2595'),'msg':_0x5ecbbc[_0x1cd3('0x258f')][_0x1cd3('0x98')]?_0x5ecbbc[_0x1cd3('0x258f')]['name']+_0x1cd3('0xd37'):''});_0x587ed8(_0x2b1650);})['catch'](function(_0x4edf85){if(_0x4edf85[_0x1cd3('0x439')]&&_0x4edf85[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x4edf85[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x5ecbbc[_0x1cd3('0xd34')]=_0x4edf85['data']['errors']||[{'message':_0x4edf85['toString'](),'type':_0x1cd3('0x251b')}];for(var _0x54b35b=0x0;_0x54b35b<_0x4edf85[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x54b35b++){_0x17f0b4[_0x1cd3('0x434')]({'title':_0x4edf85[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x54b35b][_0x1cd3('0x424')],'msg':_0x4edf85[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x54b35b][_0x1cd3('0x43a')]});}}else{_0x17f0b4[_0x1cd3('0x434')]({'title':_0x4edf85['status']?'API:'+_0x4edf85[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x4edf85[_0x1cd3('0xd35')]:_0x1cd3('0x251b'),'msg':_0x4edf85[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x4edf85[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x4edf85[_0x1cd3('0x43b')]()});}});}function _0x3ba548(_0x22d318){_0x5ecbbc['errors']=[];var _0x5c8c98=_0x34c691[_0x1cd3('0xd39')]()[_0x1cd3('0x486')]('Are\x20you\x20sure?')[_0x1cd3('0xd3b')]('The\x20internalroute\x20will\x20be\x20deleted.')[_0x1cd3('0xd3d')](_0x1cd3('0x2596'))['ok'](_0x1cd3('0xd3f'))[_0x1cd3('0x4d8')](_0x1cd3('0x674'))[_0x1cd3('0xd63')](_0x22d318);_0x34c691[_0x1cd3('0x37e')](_0x5c8c98)[_0x1cd3('0x77')](function(){_0x367c85[_0x1cd3('0xa40')]['delete']({'id':_0x5ecbbc['internalroute']['id']})[_0x1cd3('0x81')]['then'](function(){_[_0x1cd3('0x383')](_0x5ecbbc[_0x1cd3('0x258e')],{'id':_0x5ecbbc[_0x1cd3('0x258f')]['id']});_0x17f0b4[_0x1cd3('0x473')]({'title':_0x1cd3('0x2597'),'msg':(_0x5ecbbc[_0x1cd3('0x258f')][_0x1cd3('0x98')]||'internalroute')+'\x20has\x20been\x20deleted!'});_0x587ed8(_0x5ecbbc['internalroute']);})[_0x1cd3('0xfd')](function(_0x4d782d){if(_0x4d782d['data']&&_0x4d782d[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x4d782d['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x5ecbbc[_0x1cd3('0xd34')]=_0x4d782d[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x4d782d['toString'](),'type':_0x1cd3('0x251e')}];for(var _0x3b952a=0x0;_0x3b952a<_0x4d782d[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x3b952a++){_0x17f0b4[_0x1cd3('0x434')]({'title':_0x4d782d[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x3b952a]['type'],'msg':_0x4d782d['data'][_0x1cd3('0xd34')][_0x3b952a]['message']});}}else{_0x17f0b4['error']({'title':_0x4d782d[_0x1cd3('0x3a6')]?'API:'+_0x4d782d[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x4d782d[_0x1cd3('0xd35')]:_0x1cd3('0x251e'),'msg':_0x4d782d[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x4d782d[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x4d782d[_0x1cd3('0x43a')]||_0x4d782d[_0x1cd3('0x43b')]()});}});},function(){});}function _0x9d85ed(_0x3adb2d){return _0x3adb2d===null?undefined:new Date(_0x3adb2d);}function _0x587ed8(_0x5829bf){_0x34c691[_0x1cd3('0x39d')](_0x5829bf);}}}());(function(){'use strict';_0x318158[_0x1cd3('0xc')]=[_0x1cd3('0x370'),_0x1cd3('0x3c5'),_0x1cd3('0x372'),_0x1cd3('0x461'),_0x1cd3('0x56')];angular[_0x1cd3('0x0')](_0x1cd3('0x2d'))[_0x1cd3('0x39b')](_0x1cd3('0x2598'),_0x318158);function _0x318158(_0x53d314,_0x18f489,_0x5d2c93,_0x50ad47,_0xd2271c){var _0x52cc69=this;_0x52cc69['currentUser']=_0xd2271c[_0x1cd3('0x5d')]();_0x52cc69['internalroute']={};_0x52cc69['internalrouteApps']={'count':0x0,'rows':[]};_0x52cc69[_0x1cd3('0x2599')]=[];_0x52cc69['crudPermissions'];_0x52cc69['query']={'sort':_0x1cd3('0xf0c')};_0x52cc69[_0x1cd3('0x1210')]=_[_0x1cd3('0x3a7')](_[_0x1cd3('0x1211')]([{'app':_0x1cd3('0x1212'),'appType':_0x1cd3('0x77e'),'type':'Internal','types':[_0x1cd3('0x1213'),_0x1cd3('0x8f6'),_0x1cd3('0x9d5')],'fields':[],'isApp':![]},{'app':'Queue','appType':_0x1cd3('0x1220'),'context':_0x1cd3('0x213e'),'type':_0x1cd3('0x259a'),'options':'xX','appdata':',xX,,,300,,,,,','icon':_0x1cd3('0x1214'),'interval':_0x1cd3('0x1216'),'answer':!![],'isApp':!![],'extraApi':[{'name':_0x1cd3('0xef6'),'field':{'name':_0x1cd3('0xf53'),'key':_0x1cd3('0x2302'),'prefix':_0x1cd3('0x2523')},'route':_0x1cd3('0xf53'),'filters':{'fields':_0x1cd3('0x2524'),'sort':_0x1cd3('0x98'),'nolimit':!![]},'permissions':{'section':0x3ef}},{'name':_0x1cd3('0x1155'),'field':{'name':_0x1cd3('0x1220'),'key':'name'},'route':_0x1cd3('0xa48'),'filters':{'type':_0x1cd3('0xa4'),'fields':'id,name,type','sort':_0x1cd3('0x98'),'nolimit':!![]},'permissions':{'section':0x191}}],'fields':[{'title':'Queue','name':'queue','type':_0x1cd3('0x1218'),'values':_0x1cd3('0x1155'),'value':_0x1cd3('0x1224'),'option':_0x1cd3('0x1224'),'required':!![],'param':0x0},{'title':_0x1cd3('0x2525'),'name':_0x1cd3('0x422'),'type':'text','param':0x1},{'title':_0x1cd3('0x2526'),'name':'URL','type':'text','param':0x2},{'title':_0x1cd3('0x2527'),'name':_0x1cd3('0xf53'),'type':'apiselect','values':_0x1cd3('0xef6'),'value':_0x1cd3('0x2528'),'option':_0x1cd3('0x2529'),'defaultValues':[{'value':'\x27\x27','option':'None'}],'param':0x3},{'title':'Timeout','name':_0x1cd3('0x8fc'),'type':'number','min':0x0,'param':0x4},{'title':_0x1cd3('0x252a'),'name':_0x1cd3('0x128c'),'type':_0x1cd3('0x401'),'param':0x5},{'title':_0x1cd3('0x252b'),'name':_0x1cd3('0x252c'),'type':_0x1cd3('0x401'),'param':0x6},{'title':_0x1cd3('0x259b'),'name':'gosub','type':'text','param':0x7},{'title':_0x1cd3('0x252d'),'name':_0x1cd3('0x252e'),'type':_0x1cd3('0x401'),'param':0x8},{'title':_0x1cd3('0x252f'),'name':_0x1cd3('0x679'),'type':_0x1cd3('0x407'),'min':0x0,'param':0x9},{'title':_0x1cd3('0x23e3'),'name':_0x1cd3('0x5e2'),'type':'switch','general':!![]}]},{'app':'Playback','appType':_0x1cd3('0x2531'),'context':'from-sip','type':_0x1cd3('0x259a'),'icon':_0x1cd3('0x1214'),'interval':_0x1cd3('0x1216'),'answer':!![],'isApp':!![],'extraApi':[{'name':_0x1cd3('0xef6'),'field':{'name':_0x1cd3('0x127d'),'key':_0x1cd3('0x2302'),'prefix':_0x1cd3('0x2523')},'route':_0x1cd3('0xf53'),'filters':{'fields':_0x1cd3('0x2524'),'sort':_0x1cd3('0x98'),'nolimit':!![]},'permissions':{'section':0x3ef}}],'fields':[{'title':'Audio_Files','name':_0x1cd3('0x127d'),'type':_0x1cd3('0x1218'),'values':_0x1cd3('0xef6'),'value':_0x1cd3('0x2533'),'option':_0x1cd3('0x2534'),'required':!![],'param':0x0},{'title':_0x1cd3('0x2525'),'name':_0x1cd3('0x422'),'type':_0x1cd3('0x401'),'param':0x1},{'title':_0x1cd3('0x23e3'),'name':_0x1cd3('0x5e2'),'type':'switch','general':!![]}]},{'app':_0x1cd3('0x2535'),'appType':_0x1cd3('0x2536'),'context':'from-sip','type':'Internal','icon':'icon-apps','options':'xX','interval':_0x1cd3('0x1216'),'isApp':!![],'fields':[{'title':_0x1cd3('0x2537'),'name':_0x1cd3('0x256e'),'type':_0x1cd3('0x401'),'required':!![],'param':0x0},{'title':_0x1cd3('0x1225'),'name':_0x1cd3('0x8fc'),'type':'number','min':0x0,'param':0x1},{'title':_0x1cd3('0x2525'),'name':_0x1cd3('0x422'),'type':_0x1cd3('0x401'),'param':0x2},{'title':'Url','name':_0x1cd3('0x3a4'),'type':_0x1cd3('0x401'),'param':0x3}]},{'app':_0x1cd3('0x2535'),'appType':_0x1cd3('0x2538'),'context':_0x1cd3('0x213e'),'type':_0x1cd3('0x259a'),'icon':_0x1cd3('0x1214'),'options':'xX','interval':_0x1cd3('0x1216'),'isApp':!![],'extraApi':[{'name':_0x1cd3('0xef4'),'field':{'name':_0x1cd3('0x368'),'key':_0x1cd3('0x98'),'prefix':_0x1cd3('0x259c')},'route':_0x1cd3('0x368'),'filters':{'fields':_0x1cd3('0x2539'),'sort':_0x1cd3('0x98'),'nolimit':!![]},'permissions':{'sections':[{'id':0xca,'role':_0x1cd3('0xd2')},{'id':0xcb,'role':_0x1cd3('0x28e')}]}}],'fields':[{'title':_0x1cd3('0x132a'),'name':_0x1cd3('0x368'),'type':'apiselect','values':_0x1cd3('0xef4'),'value':'\x27SIP/{{user.name}}\x27','option':_0x1cd3('0x259d'),'required':!![],'param':0x0},{'title':_0x1cd3('0x1225'),'name':_0x1cd3('0x8fc'),'type':'number','min':0x0,'param':0x1},{'title':_0x1cd3('0x2525'),'name':_0x1cd3('0x422'),'type':_0x1cd3('0x401'),'param':0x2},{'title':_0x1cd3('0x2526'),'name':_0x1cd3('0x3a4'),'type':_0x1cd3('0x401'),'param':0x3}]},{'app':_0x1cd3('0x2535'),'appType':_0x1cd3('0x253a'),'context':_0x1cd3('0x213e'),'type':_0x1cd3('0x259a'),'icon':_0x1cd3('0x1214'),'interval':'*,*,*,*','options':'xX','isApp':!![],'extraApi':[{'name':'trunks','field':{'name':_0x1cd3('0x18e7'),'key':'name'},'route':_0x1cd3('0x18e7'),'filters':{'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'nolimit':!![]},'permissions':{'section':0x3f3}}],'fields':[{'title':_0x1cd3('0x13de'),'name':_0x1cd3('0x18e7'),'type':_0x1cd3('0x1218'),'values':'trunks','value':_0x1cd3('0x253b'),'option':'trunk.name','required':!![],'param':0x0},{'title':_0x1cd3('0x259e'),'name':'phone','type':_0x1cd3('0x401')},{'title':_0x1cd3('0x1225'),'name':'timeout','type':_0x1cd3('0x407'),'min':0x0,'param':0x1},{'title':_0x1cd3('0x2525'),'name':_0x1cd3('0x422'),'type':_0x1cd3('0x401'),'param':0x2},{'title':_0x1cd3('0x2526'),'name':_0x1cd3('0x3a4'),'type':_0x1cd3('0x401'),'param':0x3}]},{'app':_0x1cd3('0x2535'),'appType':_0x1cd3('0x253c'),'context':_0x1cd3('0x213e'),'type':_0x1cd3('0x259a'),'icon':_0x1cd3('0x1214'),'interval':_0x1cd3('0x1216'),'options':'xX','isApp':!![],'extraApi':[{'name':_0x1cd3('0xef4'),'field':{'name':_0x1cd3('0x253d'),'key':'name','prefix':_0x1cd3('0x259c')},'route':'user','filters':{'fields':_0x1cd3('0x2539'),'sort':_0x1cd3('0x98'),'nolimit':!![]},'permissions':{'sections':[{'id':0xca,'role':'agent'},{'id':0xcb,'role':'telephone'}]}}],'fields':[{'title':_0x1cd3('0x132a'),'name':_0x1cd3('0x253d'),'type':_0x1cd3('0x1218'),'multiple':!![],'values':_0x1cd3('0xef4'),'value':_0x1cd3('0x253e'),'option':_0x1cd3('0x259f'),'required':!![],'param':0x0},{'title':_0x1cd3('0x1225'),'name':_0x1cd3('0x8fc'),'type':_0x1cd3('0x407'),'min':0x0,'param':0x1},{'title':_0x1cd3('0x2525'),'name':_0x1cd3('0x422'),'type':_0x1cd3('0x401'),'param':0x2},{'title':_0x1cd3('0x2526'),'name':'url','type':_0x1cd3('0x401'),'param':0x3}]},{'app':_0x1cd3('0x25a0'),'alias':_0x1cd3('0x218e'),'appType':'agi','context':'from-sip','type':_0x1cd3('0x259a'),'icon':_0x1cd3('0x1214'),'interval':'*,*,*,*','isApp':!![],'extraApi':[{'name':_0x1cd3('0xeda'),'field':{'name':_0x1cd3('0xedd'),'key':_0x1cd3('0x98'),'prefix':_0x1cd3('0x25a1')},'route':_0x1cd3('0xc55'),'filters':{'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'nolimit':!![]},'permissions':{'section':0x44f}}],'fields':[{'title':_0x1cd3('0x1c4c'),'name':_0x1cd3('0xedd'),'type':_0x1cd3('0x1218'),'values':_0x1cd3('0xeda'),'value':_0x1cd3('0x253f'),'option':_0x1cd3('0x25a2'),'required':!![],'param':0x0}]},{'app':_0x1cd3('0x121b'),'appType':_0x1cd3('0x25a3'),'context':'from-sip','type':_0x1cd3('0x259a'),'icon':'icon-apps','interval':_0x1cd3('0x1216'),'isApp':!![],'extraApi':[{'name':_0x1cd3('0x2119'),'field':{'name':_0x1cd3('0xf0a'),'key':_0x1cd3('0x98')},'route':_0x1cd3('0xa3e'),'filters':{'fields':_0x1cd3('0xa6'),'sort':'name','nolimit':!![]},'permissions':{'section':0x195}}],'fields':[{'title':_0x1cd3('0x24ff'),'name':_0x1cd3('0xf0a'),'type':_0x1cd3('0x1218'),'values':_0x1cd3('0x2119'),'value':_0x1cd3('0x2540'),'option':_0x1cd3('0x2540'),'required':!![],'param':0x0},{'title':_0x1cd3('0x2541'),'name':'extension','type':_0x1cd3('0x401'),'required':!![],'param':0x1},{'title':_0x1cd3('0x18f7'),'name':_0x1cd3('0xf0c'),'type':'text','required':!![],'param':0x2}]},{'app':_0x1cd3('0x2542'),'appType':'hangup','context':_0x1cd3('0x213e'),'type':_0x1cd3('0x259a'),'icon':_0x1cd3('0x1214'),'interval':_0x1cd3('0x1216'),'isApp':!![],'fields':[{'title':_0x1cd3('0x2543'),'name':_0x1cd3('0x127d'),'type':_0x1cd3('0x44f'),'param':0x0,'values':[{'option':_0x1cd3('0x2544'),'value':_0x1cd3('0x1478')},{'option':'HANGUPCAUSE_16','value':_0x1cd3('0x25a4')},{'option':_0x1cd3('0x2546'),'value':_0x1cd3('0x25a5')},{'option':_0x1cd3('0x25a6'),'value':'\x2718\x27'},{'option':_0x1cd3('0x25a7'),'value':'\x2721\x27'},{'option':_0x1cd3('0x2548'),'value':_0x1cd3('0x2549')},{'option':_0x1cd3('0x254a'),'value':'\x2727\x27'},{'option':_0x1cd3('0x254c'),'value':_0x1cd3('0x25a8')},{'option':_0x1cd3('0x254d'),'value':_0x1cd3('0x25a9')}],'translate':!![],'required':!![],'general':!![]}]},{'app':_0x1cd3('0x254e'),'appType':_0x1cd3('0x127e'),'context':_0x1cd3('0x213e'),'type':'Internal','separator':'=','icon':_0x1cd3('0x1214'),'interval':_0x1cd3('0x1216'),'extraApi':[{'name':_0x1cd3('0xef7'),'field':{'name':_0x1cd3('0x98'),'key':'name'},'route':_0x1cd3('0xb84'),'filters':{'fields':'id,name','sort':_0x1cd3('0x98'),'nolimit':!![]},'permissions':{'section':0x3f4}}],'isApp':!![],'fields':[{'title':_0x1cd3('0x1217'),'name':'name','type':_0x1cd3('0x1218'),'values':_0x1cd3('0xef7'),'value':_0x1cd3('0x254f'),'option':_0x1cd3('0x254f'),'required':!![],'param':0x0},{'title':'Value','name':_0x1cd3('0x3db'),'type':_0x1cd3('0x401'),'required':!![],'param':0x1}]},{'app':null,'appType':'custom','icon':_0x1cd3('0x1214'),'type':_0x1cd3('0x259a'),'interval':_0x1cd3('0x1216'),'isApp':!![],'fields':[{'title':_0x1cd3('0x2550'),'name':_0x1cd3('0xd0a'),'type':'text','required':!![],'param':0x0},{'title':'Arguments','name':_0x1cd3('0x127d'),'type':'text','param':0x1}]},{'app':'Voicemail','appType':_0x1cd3('0x2553'),'context':'from-sip','icon':_0x1cd3('0x1214'),'type':_0x1cd3('0x259a'),'interval':_0x1cd3('0x1216'),'isApp':!![],'extraApi':[{'name':_0x1cd3('0x2554'),'field':{'name':_0x1cd3('0xa5e'),'key':_0x1cd3('0xf13'),'suffix':_0x1cd3('0x2555')},'route':_0x1cd3('0xa5e'),'filters':{'fields':_0x1cd3('0x2556'),'sort':_0x1cd3('0xf13'),'nolimit':!![]},'permissions':{'section':0x196}}],'fields':[{'title':_0x1cd3('0x25aa'),'name':_0x1cd3('0xa5e'),'type':'apiselect','values':_0x1cd3('0x2554'),'value':'\x27{{voiceMail.mailbox}}@from-voicemail\x27','option':_0x1cd3('0x2558'),'required':!![],'param':0x0},{'title':_0x1cd3('0x2525'),'name':_0x1cd3('0x422'),'type':'text','param':0x1}]}],[_0x1cd3('0xd0a')]),{'isApp':![]});_0x52cc69[_0x1cd3('0x9d5')]={'group':{'name':_0x1cd3('0x1250'),'pull':_0x1cd3('0x1141')},'animation':0x64,'sort':![]};_0x52cc69[_0x1cd3('0x18f9')]={'group':{'name':'opt2','put':_0x1cd3('0x1250')},'animation':0x64,'onAdd':function(_0x2c61c7){_0x1d4871(_0x2c61c7,_0x2c61c7[_0x1cd3('0x18fa')]);},'onSort':function(_0x5639eb){_0x369879();}};_0x52cc69[_0x1cd3('0xe08')]=_0x48ba3e;_0x52cc69[_0x1cd3('0xe0a')]=_0x2041f3;_0x52cc69[_0x1cd3('0x25ab')]=_0x1b354d;_0x52cc69[_0x1cd3('0x25ac')]=_0x1d4871;_0x52cc69['editInterval']=_0x411a64;_0x52cc69[_0x1cd3('0x25ad')]=_0x494974;_0x52cc69['deleteSelectedInternalRouteApps']=_0xb64fe5;_0x52cc69[_0x1cd3('0x1254')]=_0x369879;_0x52cc69[_0x1cd3('0x1257')]=_0x505bed;function _0x48ba3e(_0x1ae85f,_0x3e04af){_0x52cc69[_0x1cd3('0x258f')]=_0x1ae85f;_0x52cc69[_0x1cd3('0xd27')]=typeof _0x3e04af!=='undefined'?_0x3e04af:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x52cc69[_0x1cd3('0x18f9')][_0x1cd3('0x447')]=!_0x52cc69[_0x1cd3('0xd27')][_0x1cd3('0xe3b')]?!![]:![];_0x52cc69[_0x1cd3('0x3d4')][_0x1cd3('0x255c')]=_0x1ae85f['id'];_0x52cc69[_0x1cd3('0x3d4')]['isApp']=!![];_0x52cc69[_0x1cd3('0x3d4')]['nolimit']=!![];_0x52cc69[_0x1cd3('0x25ab')]();_0x52cc69['getIntervals']();}function _0x2041f3(_0x114450,_0x3bd065,_0x31cc4b){var _0xaead81=_0x18f489[_0x1cd3('0xd39')]()['title'](_0x1cd3('0x1258'))[_0x1cd3('0xd60')]('<b>'+_0x114450[_0x1cd3('0xd0a')]+_0x1cd3('0xd52')+_0x1cd3('0xd53'))['ariaLabel'](_0x1cd3('0x1259'))['targetEvent'](_0x31cc4b)['ok']('OK')['cancel'](_0x1cd3('0xd55'));_0x18f489[_0x1cd3('0x37e')](_0xaead81)[_0x1cd3('0x77')](function(){_0x52cc69[_0x1cd3('0x25ae')][_0x1cd3('0xf6')][_0x1cd3('0x446')](_0x3bd065,0x1);_0x369879();},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}function _0x1d4871(_0x159a1f,_0x2e011d){if(_0x52cc69[_0x1cd3('0x25ae')]['rows'][_0x1cd3('0x7a')]){var _0x3ebbe6=_0x52cc69[_0x1cd3('0x25ae')][_0x1cd3('0xf6')][_0x2e011d]?_0x52cc69[_0x1cd3('0x25ae')][_0x1cd3('0xf6')][_0x2e011d]:_0x52cc69[_0x1cd3('0x25ae')][_0x1cd3('0xf6')][0x0];_0x18f489[_0x1cd3('0x37e')]({'controller':'EditInternalApp'+(_0x3ebbe6['appType']||_0x3ebbe6['app'])['toLowerCase']()+_0x1cd3('0x125c'),'controllerAs':'vm','templateUrl':_0x1cd3('0x25af')+(_0x3ebbe6[_0x1cd3('0x125b')]||_0x3ebbe6['app'])[_0x1cd3('0x433')]()+_0x1cd3('0x125e'),'parent':angular[_0x1cd3('0x37f')](_0x5d2c93[_0x1cd3('0x380')]),'targetEvent':_0x159a1f,'clickOutsideToClose':!![],'locals':{'internalrouteApp':_0x3ebbe6,'internalroute':_0x52cc69[_0x1cd3('0x258f')],'crudPermissions':_0x52cc69[_0x1cd3('0xd27')]}})['then'](function(_0x493077){if(_0x493077){if(_0x493077['id']){_0x52cc69['internalrouteApps']['rows'][_0x2e011d]=_0x493077;}else{_0x52cc69[_0x1cd3('0x25ae')][_0x1cd3('0xf6')][_0x1cd3('0x446')](_0x2e011d,0x0,_0x493077);}_0x369879();}})['catch'](function(_0x1ee771){if(_0x1ee771){_0x50ad47[_0x1cd3('0x434')]({'title':_0x1ee771['status']?_0x1cd3('0x435')+_0x1ee771[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x1ee771['statusText']:_0x1cd3('0x125f'),'msg':_0x1ee771[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x1ee771[_0x1cd3('0x439')]):_0x1ee771[_0x1cd3('0x43b')]()});}});}}function _0x411a64(_0x4ba40b,_0x7a9814){if(_0x52cc69[_0x1cd3('0x25ae')]['rows'][_0x1cd3('0x7a')]){var _0x1b4ef6=_0x52cc69['internalrouteApps'][_0x1cd3('0xf6')][_0x7a9814]?_0x52cc69[_0x1cd3('0x25ae')][_0x1cd3('0xf6')][_0x7a9814]:_0x52cc69[_0x1cd3('0x25ae')][_0x1cd3('0xf6')][0x0];_0x18f489['show']({'controller':_0x1cd3('0x25b0'),'controllerAs':'vm','templateUrl':_0x1cd3('0x25b1'),'parent':angular[_0x1cd3('0x37f')](_0x5d2c93[_0x1cd3('0x380')]),'targetEvent':_0x4ba40b,'clickOutsideToClose':!![],'locals':{'interval':{'interval':_0x1b4ef6[_0x1cd3('0x77e')],'IntervalId':_0x1b4ef6[_0x1cd3('0xf4b')],'application':!![]},'intervals':[],'crudPermissions':_0x52cc69[_0x1cd3('0xd27')]}})[_0x1cd3('0x77')](function(_0x4d860a){if(_0x4d860a){_0x1b4ef6[_0x1cd3('0x77e')]=_0x4d860a[_0x1cd3('0x77e')]||_0x1cd3('0x1216');_0x1b4ef6[_0x1cd3('0xf4b')]=_0x4d860a[_0x1cd3('0xf4b')]||null;_0x369879();}});}}function _0x369879(){var _0x9dfc72=[_0x1cd3('0x1220'),_0x1cd3('0x2531')];var _0x2effd2=0x2;var _0x10c690=[];_0x10c690[_0x1cd3('0x7b')]({'type':_0x1cd3('0x311'),'app':'Set','appdata':_0x1cd3('0x25b2'),'context':_0x52cc69[_0x1cd3('0x258f')]['context'],'exten':_0x52cc69[_0x1cd3('0x258f')][_0x1cd3('0x1261')],'priority':_0x2effd2++,'VoiceExtensionId':_0x52cc69[_0x1cd3('0x258f')]['id']});_0x10c690[_0x1cd3('0x7b')]({'type':_0x1cd3('0x311'),'app':_0x1cd3('0x254e'),'appdata':_0x1cd3('0x2561'),'context':_0x52cc69[_0x1cd3('0x258f')][_0x1cd3('0xf0a')],'exten':_0x52cc69[_0x1cd3('0x258f')]['exten'],'priority':_0x2effd2++,'VoiceExtensionId':_0x52cc69[_0x1cd3('0x258f')]['id']});_0x10c690[_0x1cd3('0x7b')]({'type':_0x1cd3('0x311'),'app':_0x1cd3('0x254e'),'appdata':_0x1cd3('0x2562'),'context':_0x52cc69[_0x1cd3('0x258f')][_0x1cd3('0xf0a')],'exten':_0x52cc69['internalroute'][_0x1cd3('0x1261')],'priority':_0x2effd2++,'VoiceExtensionId':_0x52cc69[_0x1cd3('0x258f')]['id']});_0x10c690['push']({'type':_0x1cd3('0x311'),'app':_0x1cd3('0x254e'),'appdata':_0x1cd3('0x2563'),'context':_0x52cc69['internalroute']['context'],'exten':_0x52cc69[_0x1cd3('0x258f')]['exten'],'priority':_0x2effd2++,'VoiceExtensionId':_0x52cc69[_0x1cd3('0x258f')]['id']});for(var _0x3611e7=0x0,_0x4f8ff8=0x0;_0x3611e7<_0x52cc69[_0x1cd3('0x25ae')][_0x1cd3('0xf6')]['length'];_0x3611e7++,_0x4f8ff8=0x0){var _0x5bb3db=_0x52cc69['internalrouteApps'][_0x1cd3('0xf6')][_0x3611e7];var _0xd10b=[];var _0x32cda8=[];_0x5bb3db['intervals']=_0x5bb3db[_0x1cd3('0x77e')]!==_0x1cd3('0x1216')?[_0x5bb3db[_0x1cd3('0x77e')]]:_0x5bb3db[_0x1cd3('0xf4b')]?_['map'](_[_0x1cd3('0x395')](_0x52cc69[_0x1cd3('0xef9')]['rows'],{'IntervalId':_0x5bb3db['IntervalId']}),_0x1cd3('0x77e')):[];_0x5bb3db[_0x1cd3('0xf0a')]=_0x52cc69[_0x1cd3('0x258f')][_0x1cd3('0xf0a')];_0x5bb3db['exten']=_0x52cc69['internalroute'][_0x1cd3('0x1261')];if(_0x5bb3db['type']){_0x5bb3db[_0x1cd3('0x424')]=_0x5bb3db[_0x1cd3('0x424')][_0x1cd3('0x433')]();}if(_0x5bb3db['hasOwnProperty'](_0x1cd3('0x5e2'))){if(_0x9dfc72[_0x1cd3('0x38f')](_0x5bb3db[_0x1cd3('0xd0a')][_0x1cd3('0x433')]())&&_0x5bb3db[_0x1cd3('0x125b')]!==_0x1cd3('0x8f6')){if(_0x5bb3db[_0x1cd3('0x5e2')]){_0xd10b[_0x1cd3('0x7b')]({'type':_0x5bb3db[_0x1cd3('0x424')][_0x1cd3('0x433')](),'app':'ExecIf','appdata':_0x1cd3('0x25b3'),'context':_0x52cc69[_0x1cd3('0x258f')][_0x1cd3('0xf0a')],'exten':_0x52cc69[_0x1cd3('0x258f')][_0x1cd3('0x1261')],'priority':_0x5bb3db[_0x1cd3('0xef9')][_0x1cd3('0x7a')]+_0x2effd2+_0x4f8ff8++,'VoiceExtensionId':_0x52cc69['internalroute']['id']});_0xd10b[_0x1cd3('0x7b')]({'type':_0x5bb3db[_0x1cd3('0x424')][_0x1cd3('0x433')](),'app':'Set','appdata':_0x1cd3('0x2565'),'context':_0x52cc69[_0x1cd3('0x258f')][_0x1cd3('0xf0a')],'exten':_0x52cc69[_0x1cd3('0x258f')][_0x1cd3('0x1261')],'priority':_0x5bb3db[_0x1cd3('0xef9')][_0x1cd3('0x7a')]+_0x2effd2+_0x4f8ff8++,'VoiceExtensionId':_0x52cc69['internalroute']['id']});}else{_0xd10b['push']({'type':_0x5bb3db[_0x1cd3('0x424')][_0x1cd3('0x433')](),'app':_0x1cd3('0x2564'),'appdata':'$[${XCALLY-MOTION-PROGRESS}=0]?Progress','context':_0x52cc69['internalroute'][_0x1cd3('0xf0a')],'exten':_0x52cc69[_0x1cd3('0x258f')][_0x1cd3('0x1261')],'priority':_0x5bb3db['intervals'][_0x1cd3('0x7a')]+_0x2effd2+_0x4f8ff8++,'VoiceExtensionId':_0x52cc69[_0x1cd3('0x258f')]['id']});_0xd10b[_0x1cd3('0x7b')]({'type':_0x5bb3db['type'][_0x1cd3('0x433')](),'app':_0x1cd3('0x254e'),'appdata':'XCALLY-MOTION-PROGRESS=1','context':_0x52cc69[_0x1cd3('0x258f')][_0x1cd3('0xf0a')],'exten':_0x52cc69[_0x1cd3('0x258f')]['exten'],'priority':_0x5bb3db[_0x1cd3('0xef9')][_0x1cd3('0x7a')]+_0x2effd2+_0x4f8ff8++,'VoiceExtensionId':_0x52cc69[_0x1cd3('0x258f')]['id']});}}}for(var _0xb78a80=0x0;_0xb78a80<_0x5bb3db[_0x1cd3('0xef9')][_0x1cd3('0x7a')];_0xb78a80++){var _0x4759d9=_0x2effd2+_0x5bb3db[_0x1cd3('0xef9')][_0x1cd3('0x7a')];var _0x3b4a67=_0xb78a80===_0x5bb3db[_0x1cd3('0xef9')][_0x1cd3('0x7a')]-0x1?_0x2effd2+_0xd10b['length']+_0x32cda8['length']+0x2:_0x2effd2+_0xb78a80+0x1;_0xd10b['splice'](_0xb78a80,0x0,{'type':'internal','app':_0x1cd3('0x2567'),'appdata':_0x5bb3db[_0x1cd3('0xef9')][_0xb78a80]+'?'+_0x52cc69[_0x1cd3('0x258f')][_0x1cd3('0xf0a')]+_0x1cd3('0x2568')+_0x4759d9+':'+_0x52cc69['internalroute'][_0x1cd3('0xf0a')]+_0x1cd3('0x2568')+_0x3b4a67,'exten':_0x52cc69[_0x1cd3('0x258f')][_0x1cd3('0x1261')],'context':_0x52cc69[_0x1cd3('0x258f')][_0x1cd3('0xf0a')],'priority':_0x2effd2+_0xb78a80,'VoiceExtensionId':_0x52cc69[_0x1cd3('0x258f')]['id']});}_0x5bb3db[_0x1cd3('0xf0c')]=_0xd10b[_0x1cd3('0x7a')]?_[_0x1cd3('0x5df')](_0xd10b)[_0x1cd3('0xf0c')]+0x1:_0x2effd2;_0x2effd2=(_0x32cda8[_0x1cd3('0x7a')]?_['last'](_0x32cda8)[_0x1cd3('0xf0c')]:_0x5bb3db[_0x1cd3('0xf0c')])+0x1;_0x10c690=_['concat'](_0x10c690,_0xd10b,[_0x5bb3db],_0x32cda8);}_0x10c690[_0x1cd3('0x7b')]({'type':_0x1cd3('0x311'),'app':_0x1cd3('0x2569'),'exten':_0x52cc69[_0x1cd3('0x258f')][_0x1cd3('0x1261')],'context':_0x52cc69['internalroute'][_0x1cd3('0xf0a')],'priority':_0x2effd2,'VoiceExtensionId':_0x52cc69[_0x1cd3('0x258f')]['id']});_0x53d314[_0x1cd3('0xa40')][_0x1cd3('0x1262')]({'id':_0x52cc69[_0x1cd3('0x258f')]['id']},_['sortBy'](_0x10c690,'priority'))[_0x1cd3('0x81')]['then'](function(_0x10bbdc){_0x52cc69[_0x1cd3('0x25ae')][_0x1cd3('0xf6')]=_0x10bbdc[_0x1cd3('0xf6')];})[_0x1cd3('0xfd')](function(_0x2ceb6d){console[_0x1cd3('0x434')](_0x2ceb6d);});}function _0xbd07fc(_0x3efad1){_0x52cc69[_0x1cd3('0x25ae')]=_0x3efad1||{'count':0x0,'rows':[]};}function _0x505bed(){return _0x53d314[_0x1cd3('0x77e')][_0x1cd3('0x361')]({'fields':_0x1cd3('0x1c61')})[_0x1cd3('0x81')]['then'](function(_0x46250b){_0x52cc69[_0x1cd3('0xef9')]=_0x46250b;})['catch'](function(_0x2df2a7){console[_0x1cd3('0x434')](_0x2df2a7);});}function _0x1b354d(){_0x52cc69['promise']=_0x53d314[_0x1cd3('0xa40')]['get'](_0x52cc69['query'],_0xbd07fc)['$promise'];}function _0x494974(_0x2f90a7){_[_0x1cd3('0x383')](_0x52cc69[_0x1cd3('0x25ae')][_0x1cd3('0xf6')],{'id':_0x2f90a7['id']});_0x369879();_0x50ad47['success']({'title':_0x1cd3('0x1264'),'msg':_0x2f90a7['app']?_0x2f90a7[_0x1cd3('0xd0a')]+_0x1cd3('0xd41'):''});}function _0xb64fe5(_0x1ec2e6){var _0x9c13d6=_0x18f489['confirm']()[_0x1cd3('0x486')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20applications?')['htmlContent'](_0x1cd3('0xd51')+_0x52cc69[_0x1cd3('0x2599')][_0x1cd3('0x7a')]+'\x20selected</b>'+'\x20will\x20be\x20deleted.')['ariaLabel'](_0x1cd3('0x1266'))[_0x1cd3('0xd63')](_0x1ec2e6)['ok']('OK')[_0x1cd3('0x4d8')]('CANCEL');_0x18f489[_0x1cd3('0x37e')](_0x9c13d6)[_0x1cd3('0x77')](function(){_0x52cc69['selectedInternalRouteApps'][_0x1cd3('0x394')](function(_0x54d169){_['remove'](_0x52cc69[_0x1cd3('0x25ae')][_0x1cd3('0xf6')],{'id':_0x54d169['id']});});_0x52cc69[_0x1cd3('0x2599')]=[];_0x369879();});}}}());(function(){'use strict';_0x2d155b[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),'$q',_0x1cd3('0x461'),'internalrouteApp',_0x1cd3('0x258f'),'api',_0x1cd3('0x56'),_0x1cd3('0xd27')];angular['module'](_0x1cd3('0x2d'))[_0x1cd3('0x39b')](_0x1cd3('0x25b4'),_0x2d155b);function _0x2d155b(_0x185486,_0x4a3119,_0x589413,_0x18a504,_0x43cc23,_0x532720,_0x4ef1f4,_0x3fd761){var _0x5c0baa=this;_0x5c0baa[_0x1cd3('0x3ca')]=_0x4ef1f4['getCurrentUser']();_0x5c0baa[_0x1cd3('0xd34')]=[];_0x5c0baa[_0x1cd3('0x486')]='VOICE.EDIT_'+(_0x18a504[_0x1cd3('0x125b')]||_0x18a504[_0x1cd3('0xd0a')])[_0x1cd3('0x437')]();_0x5c0baa['agi']=angular['copy'](_0x18a504);_0x5c0baa['crudPermissions']=_0x3fd761;_0x5c0baa[_0x1cd3('0xd28')]={};if(_0x5c0baa['agi'][_0x1cd3('0x127d')]){switch(_0x5c0baa[_0x1cd3('0x128c')]['appType']?_0x5c0baa[_0x1cd3('0x128c')]['appType'][_0x1cd3('0x433')]():_0x5c0baa[_0x1cd3('0x128c')]['app'][_0x1cd3('0x433')]()){case'custom':break;case _0x1cd3('0x1233'):var _0x5626bb=_0x5c0baa[_0x1cd3('0x128c')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x5c0baa[_0x1cd3('0x128c')][_0x1cd3('0x65c')]=_0x5626bb[0x0];_0x5c0baa['agi']['language']=_0x5626bb[0x1];_0x5c0baa[_0x1cd3('0x128c')][_0x1cd3('0x1246')]=_0x5626bb[_0x1cd3('0x9a2')](0x2,_0x5626bb[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x1247'):var _0x5626bb=_0x5c0baa[_0x1cd3('0x128c')]['appdata'][_0x1cd3('0x3ef')](',');_0x5c0baa['agi'][_0x1cd3('0x1248')]=_0x5626bb[0x0];_0x5c0baa[_0x1cd3('0x128c')][_0x1cd3('0x1249')]=_0x5626bb[0x1];_0x5c0baa[_0x1cd3('0x128c')][_0x1cd3('0x124a')]=_0x5626bb[0x2];_0x5c0baa[_0x1cd3('0x128c')]['botname']=_0x5626bb[0x3];_0x5c0baa[_0x1cd3('0x128c')][_0x1cd3('0x1246')]=_0x5626bb['slice'](0x4,_0x5626bb[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x122b'):var _0x5626bb=_0x5c0baa[_0x1cd3('0x128c')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x5c0baa[_0x1cd3('0x128c')]['times']=isNaN(_0x5626bb[0x0])?_0x5626bb[0x0]:parseInt(_0x5626bb[0x0],0xa);_0x5c0baa[_0x1cd3('0x128c')][_0x1cd3('0x401')]=_0x5626bb[_0x1cd3('0x9a2')](0x1,_0x5626bb[_0x1cd3('0x7a')])['join'](',');break;case _0x1cd3('0x43a'):_0x5c0baa[_0x1cd3('0x128c')][_0x1cd3('0x401')]=_0x5c0baa[_0x1cd3('0x128c')][_0x1cd3('0x127d')];break;case _0x1cd3('0x127e'):_0x5c0baa[_0x1cd3('0x128c')][_0x1cd3('0x98')]=_0x5c0baa[_0x1cd3('0x128c')]['appdata']['split']('=')[0x0];_0x5c0baa[_0x1cd3('0x128c')]['value']=_0x5c0baa[_0x1cd3('0x128c')]['appdata'][_0x1cd3('0x3ef')]('=')[0x1];break;case _0x1cd3('0x128c'):_0x5c0baa['agi'][_0x1cd3('0xedd')]=_0x5c0baa[_0x1cd3('0x128c')][_0x1cd3('0x127d')];break;default:var _0x55477a=_0x5c0baa[_0x1cd3('0x128c')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x5c0baa[_0x1cd3('0x128c')][_0x1cd3('0xedd')]=_[_0x1cd3('0x398')](_0x55477a[0x0])?_0x55477a[0x0]:isNaN(_0x55477a[0x0])?_0x55477a[0x0]:parseInt(_0x55477a[0x0],0xa);}}else{}if(_0x5c0baa[_0x1cd3('0x128c')]['type']&&_0x5c0baa[_0x1cd3('0x128c')][_0x1cd3('0x424')]['toLowerCase']()===_0x1cd3('0x128')&&_0x5c0baa['agi']['appType'][_0x1cd3('0x433')]()==='outbounddial'){_0x5c0baa[_0x1cd3('0x128c')][_0x1cd3('0x6aa')]=_0x5c0baa[_0x1cd3('0x128c')][_0x1cd3('0xf09')]?_0x5c0baa[_0x1cd3('0x128c')][_0x1cd3('0xf09')][_0x1cd3('0x3ef')]('$')[0x0]:undefined;_0x5c0baa[_0x1cd3('0x128c')][_0x1cd3('0x689')]=_0x5c0baa['agi'][_0x1cd3('0x127f')]?_0x1cd3('0x1280')+_0x5c0baa['agi']['callerID']:undefined;}_0x5c0baa[_0x1cd3('0x25b5')]=_0x4fa801;_0x5c0baa['closeDialog']=_0x2c1b66;_0x4ef1f4['hasRole']('admin')?_0x532720[_0x1cd3('0xc55')][_0x1cd3('0x361')]({'fields':'id,name','sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x43fe80){_0x5c0baa[_0x1cd3('0xeda')]=_0x43fe80[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x41b073){_0x589413[_0x1cd3('0x434')]({'title':_0x41b073[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x41b073[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x41b073['statusText']:_0x1cd3('0x1dec'),'msg':_0x41b073['data']?JSON[_0x1cd3('0x438')](_0x41b073[_0x1cd3('0x439')]):_0x41b073[_0x1cd3('0x43b')]()});}):_0x532720['squareProject']['get']({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x42f360){_0x5c0baa[_0x1cd3('0xeda')]=_0x42f360[_0x1cd3('0xf6')]||[];})['then'](function(){return _0x532720['userProfileSection'][_0x1cd3('0x361')]({'userProfileId':_0x5c0baa['currentUser'][_0x1cd3('0x5e')],'sectionId':0x44f})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x2b14b2){var _0x2c2df6=_0x2b14b2&&_0x2b14b2[_0x1cd3('0xf6')]?_0x2b14b2[_0x1cd3('0xf6')][0x0]:null;if(!_0x2c2df6){var _0xa2fd14=[];var _0x1ea233=null;if(_0x5c0baa[_0x1cd3('0x128c')]){_0x1ea233=_[_0x1cd3('0x442')](_0x5c0baa[_0x1cd3('0xeda')],{'name':_0x5c0baa[_0x1cd3('0x128c')][_0x1cd3('0xedd')]});}for(var _0x38d0a5=0x0;_0x38d0a5<_0x5c0baa['projects'][_0x1cd3('0x7a')];_0x38d0a5++){if(_0x1ea233&&_0x5c0baa[_0x1cd3('0xeda')][_0x38d0a5]['id']===_0x1ea233['id']){_0x5c0baa[_0x1cd3('0xeda')][_0x38d0a5][_0x1cd3('0xf4a')]=![];_0xa2fd14[_0x1cd3('0x7b')](_0x5c0baa['projects'][_0x38d0a5]);}}_0x5c0baa[_0x1cd3('0xeda')]=_0xa2fd14;}else{if(!_0x2c2df6[_0x1cd3('0x391')]){return _0x532720[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x2c2df6['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x16ef33){var _0x3e164e=_[_0x1cd3('0x3d9')](_0x16ef33['rows'],function(_0x23dcc1){return _[_0x1cd3('0x442')](_0x5c0baa[_0x1cd3('0xeda')],{'id':_0x23dcc1['resourceId']});});var _0x4cfbfd=null;if(_0x5c0baa[_0x1cd3('0x128c')]){_0x4cfbfd=_[_0x1cd3('0x442')](_0x5c0baa['projects'],{'name':_0x5c0baa[_0x1cd3('0x128c')][_0x1cd3('0xedd')]});}if(_0x4cfbfd&&!_[_0x1cd3('0x38d')](_0x3e164e,['id',_0x4cfbfd['id']])){var _0x3f0ee5=_[_0x1cd3('0x442')](_0x5c0baa[_0x1cd3('0xeda')],{'id':_0x4cfbfd['id']});_0x3f0ee5[_0x1cd3('0xf4a')]=![];_0x3e164e[_0x1cd3('0x7b')](_0x3f0ee5);}_0x5c0baa[_0x1cd3('0xeda')]=_0x3e164e;});}}})['catch'](function(_0x5d3801){_0x589413[_0x1cd3('0x434')]({'title':_0x5d3801[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x5d3801[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x5d3801[_0x1cd3('0xd35')]:_0x1cd3('0x1d69'),'msg':_0x5d3801['data']?JSON[_0x1cd3('0x438')](_0x5d3801[_0x1cd3('0x439')]):_0x5d3801[_0x1cd3('0x43b')]()});});function _0x4fa801(){_0x5c0baa['errors']=[];var _0x25f5a7=[];if(_0x5c0baa['agi'][_0x1cd3('0x424')]&&_0x5c0baa['agi'][_0x1cd3('0x424')][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x5c0baa[_0x1cd3('0x128c')]['appType']===_0x1cd3('0x1283')){_0x5c0baa['agi'][_0x1cd3('0xf09')]=_0x43cc23['cutdigits']?(_0x5c0baa['agi'][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x1284')+_0x43cc23[_0x1cd3('0x128a')]+'}':(_0x5c0baa[_0x1cd3('0x128c')][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x128d');if(_0x43cc23[_0x1cd3('0x1285')]!==_0x1cd3('0x6ae')){if(_0x5c0baa[_0x1cd3('0x128c')][_0x1cd3('0x422')][_0x1cd3('0x45e')](_0x1cd3('0x1286'))<0x0){_0x5c0baa[_0x1cd3('0x128c')]['options']+=_0x1cd3('0x1286');}}else{_0x5c0baa[_0x1cd3('0x128c')][_0x1cd3('0x422')]=_0x5c0baa[_0x1cd3('0x128c')]['options'][_0x1cd3('0x3f1')](_0x1cd3('0x1286'),'');}}if(_0x5c0baa[_0x1cd3('0x128c')][_0x1cd3('0x125b')]&&_0x5c0baa[_0x1cd3('0x128c')][_0x1cd3('0x125b')]===_0x1cd3('0x8f6')){}else{switch((_0x5c0baa[_0x1cd3('0x128c')][_0x1cd3('0xd0a')]||_0x5c0baa[_0x1cd3('0x128c')][_0x1cd3('0x125b')])[_0x1cd3('0x433')]()){case _0x1cd3('0x127e'):_0x5c0baa[_0x1cd3('0x128c')][_0x1cd3('0x127d')]=_0x5c0baa['agi'][_0x1cd3('0x98')]+'='+_0x5c0baa[_0x1cd3('0x128c')][_0x1cd3('0x3db')];break;case _0x1cd3('0x8f6'):break;default:_0x25f5a7[0x0]=_0x5c0baa['agi'][_0x1cd3('0xedd')];_0x5c0baa[_0x1cd3('0x128c')][_0x1cd3('0x127d')]=_0x25f5a7['join'](',');}}_0x2c1b66(_0x5c0baa['agi']);}function _0x2c1b66(_0x2baf0e){_0x185486[_0x1cd3('0x39d')](_0x2baf0e);}}}());(function(){'use strict';_0x59c99b[_0x1cd3('0xc')]=['$mdDialog','$q',_0x1cd3('0x461'),_0x1cd3('0x25b6'),_0x1cd3('0x258f'),'api',_0x1cd3('0x56'),_0x1cd3('0xd27')];angular['module']('app.voice')['controller'](_0x1cd3('0x25b7'),_0x59c99b);function _0x59c99b(_0x5b75fd,_0x476a79,_0x1554f3,_0x281d60,_0x53edc1,_0x5cbb7b,_0x15cf4a,_0x1738a1){var _0x2d8d7c=this;_0x2d8d7c['currentUser']=_0x15cf4a[_0x1cd3('0x5d')]();_0x2d8d7c[_0x1cd3('0xd34')]=[];_0x2d8d7c[_0x1cd3('0x486')]=_0x1cd3('0x256b')+(_0x281d60['appType']||_0x281d60[_0x1cd3('0xd0a')])[_0x1cd3('0x437')]();_0x2d8d7c[_0x1cd3('0x8f6')]=angular[_0x1cd3('0x429')](_0x281d60);_0x2d8d7c[_0x1cd3('0xd27')]=_0x1738a1;_0x2d8d7c[_0x1cd3('0xd28')]={};if(_0x2d8d7c['custom'][_0x1cd3('0x127d')]){switch(_0x2d8d7c['custom'][_0x1cd3('0x125b')]?_0x2d8d7c[_0x1cd3('0x8f6')][_0x1cd3('0x125b')]['toLowerCase']():_0x2d8d7c['custom'][_0x1cd3('0xd0a')][_0x1cd3('0x433')]()){case _0x1cd3('0x8f6'):break;case'dialogflow':var _0x51b3c4=_0x2d8d7c['custom'][_0x1cd3('0x127d')]['split'](',');_0x2d8d7c['custom']['key']=_0x51b3c4[0x0];_0x2d8d7c[_0x1cd3('0x8f6')][_0x1cd3('0x3f3')]=_0x51b3c4[0x1];_0x2d8d7c[_0x1cd3('0x8f6')][_0x1cd3('0x1246')]=_0x51b3c4[_0x1cd3('0x9a2')](0x2,_0x51b3c4[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case'amazonlex':var _0x51b3c4=_0x2d8d7c[_0x1cd3('0x8f6')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x2d8d7c[_0x1cd3('0x8f6')][_0x1cd3('0x1248')]=_0x51b3c4[0x0];_0x2d8d7c[_0x1cd3('0x8f6')][_0x1cd3('0x1249')]=_0x51b3c4[0x1];_0x2d8d7c[_0x1cd3('0x8f6')][_0x1cd3('0x124a')]=_0x51b3c4[0x2];_0x2d8d7c[_0x1cd3('0x8f6')]['botname']=_0x51b3c4[0x3];_0x2d8d7c[_0x1cd3('0x8f6')][_0x1cd3('0x1246')]=_0x51b3c4['slice'](0x4,_0x51b3c4[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x122b'):var _0x51b3c4=_0x2d8d7c[_0x1cd3('0x8f6')][_0x1cd3('0x127d')]['split'](',');_0x2d8d7c[_0x1cd3('0x8f6')][_0x1cd3('0x122c')]=isNaN(_0x51b3c4[0x0])?_0x51b3c4[0x0]:parseInt(_0x51b3c4[0x0],0xa);_0x2d8d7c[_0x1cd3('0x8f6')]['text']=_0x51b3c4[_0x1cd3('0x9a2')](0x1,_0x51b3c4[_0x1cd3('0x7a')])['join'](',');break;case'message':_0x2d8d7c[_0x1cd3('0x8f6')][_0x1cd3('0x401')]=_0x2d8d7c['custom']['appdata'];break;case'set':_0x2d8d7c[_0x1cd3('0x8f6')]['name']=_0x2d8d7c[_0x1cd3('0x8f6')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x0];_0x2d8d7c[_0x1cd3('0x8f6')][_0x1cd3('0x3db')]=_0x2d8d7c[_0x1cd3('0x8f6')]['appdata'][_0x1cd3('0x3ef')]('=')[0x1];break;case _0x1cd3('0x128c'):_0x2d8d7c[_0x1cd3('0x8f6')][_0x1cd3('0xedd')]=_0x2d8d7c[_0x1cd3('0x8f6')]['appdata'];break;default:var _0x36e57b=_0x2d8d7c[_0x1cd3('0x8f6')]['appdata']['split'](',');_0x2d8d7c[_0x1cd3('0x8f6')][_0x1cd3('0xd0a')]=_[_0x1cd3('0x398')](_0x36e57b[0x0])?_0x36e57b[0x0]:isNaN(_0x36e57b[0x0])?_0x36e57b[0x0]:parseInt(_0x36e57b[0x0],0xa);_0x2d8d7c[_0x1cd3('0x8f6')][_0x1cd3('0x127d')]=_[_0x1cd3('0x398')](_0x36e57b[0x1])?_0x36e57b[0x1]:isNaN(_0x36e57b[0x1])?_0x36e57b[0x1]:parseInt(_0x36e57b[0x1],0xa);}}else{}if(_0x2d8d7c[_0x1cd3('0x8f6')][_0x1cd3('0x424')]&&_0x2d8d7c['custom'][_0x1cd3('0x424')][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x2d8d7c[_0x1cd3('0x8f6')][_0x1cd3('0x125b')][_0x1cd3('0x433')]()===_0x1cd3('0x1289')){_0x2d8d7c[_0x1cd3('0x8f6')]['prefix']=_0x2d8d7c[_0x1cd3('0x8f6')][_0x1cd3('0xf09')]?_0x2d8d7c[_0x1cd3('0x8f6')][_0x1cd3('0xf09')][_0x1cd3('0x3ef')]('$')[0x0]:undefined;_0x2d8d7c[_0x1cd3('0x8f6')]['callerId']=_0x2d8d7c[_0x1cd3('0x8f6')][_0x1cd3('0x127f')]?_0x1cd3('0x1280')+_0x2d8d7c[_0x1cd3('0x8f6')][_0x1cd3('0x127f')]:undefined;}_0x2d8d7c[_0x1cd3('0x25b5')]=_0x3ba921;_0x2d8d7c[_0x1cd3('0x39c')]=_0x1b33d0;function _0x3ba921(){_0x2d8d7c[_0x1cd3('0xd34')]=[];var _0x14d90f=[];if(_0x2d8d7c['custom'][_0x1cd3('0x424')]&&_0x2d8d7c[_0x1cd3('0x8f6')][_0x1cd3('0x424')][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x2d8d7c[_0x1cd3('0x8f6')][_0x1cd3('0x125b')]===_0x1cd3('0x1283')){_0x2d8d7c[_0x1cd3('0x8f6')][_0x1cd3('0xf09')]=_0x53edc1[_0x1cd3('0x128a')]?(_0x2d8d7c[_0x1cd3('0x8f6')][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x1284')+_0x53edc1[_0x1cd3('0x128a')]+'}':(_0x2d8d7c[_0x1cd3('0x8f6')][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x128d');if(_0x53edc1[_0x1cd3('0x1285')]!==_0x1cd3('0x6ae')){if(_0x2d8d7c[_0x1cd3('0x8f6')][_0x1cd3('0x422')][_0x1cd3('0x45e')](_0x1cd3('0x1286'))<0x0){_0x2d8d7c[_0x1cd3('0x8f6')][_0x1cd3('0x422')]+=_0x1cd3('0x1286');}}else{_0x2d8d7c[_0x1cd3('0x8f6')][_0x1cd3('0x422')]=_0x2d8d7c[_0x1cd3('0x8f6')][_0x1cd3('0x422')][_0x1cd3('0x3f1')]('U(xcally-mixmonitor-context)','');}}if(_0x2d8d7c[_0x1cd3('0x8f6')]['appType']&&_0x2d8d7c[_0x1cd3('0x8f6')][_0x1cd3('0x125b')]===_0x1cd3('0x8f6')){}else{switch((_0x2d8d7c[_0x1cd3('0x8f6')][_0x1cd3('0xd0a')]||_0x2d8d7c[_0x1cd3('0x8f6')][_0x1cd3('0x125b')])[_0x1cd3('0x433')]()){case _0x1cd3('0x127e'):_0x2d8d7c['custom']['appdata']=_0x2d8d7c[_0x1cd3('0x8f6')][_0x1cd3('0x98')]+'='+_0x2d8d7c[_0x1cd3('0x8f6')][_0x1cd3('0x3db')];break;case _0x1cd3('0x8f6'):break;default:_0x14d90f[0x0]=_0x2d8d7c[_0x1cd3('0x8f6')][_0x1cd3('0xd0a')];_0x14d90f[0x1]=_0x2d8d7c[_0x1cd3('0x8f6')]['appdata'];_0x2d8d7c[_0x1cd3('0x8f6')][_0x1cd3('0x127d')]=_0x14d90f['join'](',');}}_0x1b33d0(_0x2d8d7c[_0x1cd3('0x8f6')]);}function _0x1b33d0(_0x23a41f){_0x5b75fd[_0x1cd3('0x39d')](_0x23a41f);}}}());(function(){'use strict';_0x412fa5[_0x1cd3('0xc')]=['$mdDialog','$q',_0x1cd3('0x461'),'internalrouteApp',_0x1cd3('0x258f'),_0x1cd3('0x370'),'Auth',_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x2d'))['controller'](_0x1cd3('0x25b8'),_0x412fa5);function _0x412fa5(_0x4d6738,_0x42e3ac,_0x428663,_0x331fd1,_0x5de2b9,_0x2b6e44,_0x35d07f,_0x43819b){var _0x1fa817=this;_0x1fa817[_0x1cd3('0x3ca')]=_0x35d07f['getCurrentUser']();_0x1fa817[_0x1cd3('0xd34')]=[];_0x1fa817[_0x1cd3('0x486')]=_0x1cd3('0x256b')+(_0x331fd1['appType']||_0x331fd1['app'])['toUpperCase']();_0x1fa817[_0x1cd3('0x2536')]=angular[_0x1cd3('0x429')](_0x331fd1);_0x1fa817[_0x1cd3('0xd27')]=_0x43819b;_0x1fa817['hasModulePermissions']={};if(_0x1fa817[_0x1cd3('0x2536')][_0x1cd3('0x127d')]){switch(_0x1fa817[_0x1cd3('0x2536')][_0x1cd3('0x125b')]?_0x1fa817[_0x1cd3('0x2536')][_0x1cd3('0x125b')]['toLowerCase']():_0x1fa817[_0x1cd3('0x2536')]['app'][_0x1cd3('0x433')]()){case _0x1cd3('0x8f6'):break;case'dialogflow':var _0x3b7114=_0x1fa817[_0x1cd3('0x2536')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x1fa817['dial']['key']=_0x3b7114[0x0];_0x1fa817['dial'][_0x1cd3('0x3f3')]=_0x3b7114[0x1];_0x1fa817[_0x1cd3('0x2536')][_0x1cd3('0x1246')]=_0x3b7114['slice'](0x2,_0x3b7114[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x1247'):var _0x3b7114=_0x1fa817[_0x1cd3('0x2536')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x1fa817[_0x1cd3('0x2536')][_0x1cd3('0x1248')]=_0x3b7114[0x0];_0x1fa817[_0x1cd3('0x2536')][_0x1cd3('0x1249')]=_0x3b7114[0x1];_0x1fa817[_0x1cd3('0x2536')][_0x1cd3('0x124a')]=_0x3b7114[0x2];_0x1fa817[_0x1cd3('0x2536')][_0x1cd3('0x124f')]=_0x3b7114[0x3];_0x1fa817[_0x1cd3('0x2536')][_0x1cd3('0x1246')]=_0x3b7114[_0x1cd3('0x9a2')](0x4,_0x3b7114[_0x1cd3('0x7a')])['join'](',');break;case _0x1cd3('0x122b'):var _0x3b7114=_0x1fa817[_0x1cd3('0x2536')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x1fa817[_0x1cd3('0x2536')]['times']=isNaN(_0x3b7114[0x0])?_0x3b7114[0x0]:parseInt(_0x3b7114[0x0],0xa);_0x1fa817[_0x1cd3('0x2536')][_0x1cd3('0x401')]=_0x3b7114['slice'](0x1,_0x3b7114['length'])['join'](',');break;case _0x1cd3('0x43a'):_0x1fa817[_0x1cd3('0x2536')][_0x1cd3('0x401')]=_0x1fa817[_0x1cd3('0x2536')]['appdata'];break;case _0x1cd3('0x127e'):_0x1fa817[_0x1cd3('0x2536')][_0x1cd3('0x98')]=_0x1fa817[_0x1cd3('0x2536')]['appdata'][_0x1cd3('0x3ef')]('=')[0x0];_0x1fa817[_0x1cd3('0x2536')][_0x1cd3('0x3db')]=_0x1fa817[_0x1cd3('0x2536')][_0x1cd3('0x127d')]['split']('=')[0x1];break;case _0x1cd3('0x128c'):_0x1fa817[_0x1cd3('0x2536')][_0x1cd3('0xedd')]=_0x1fa817[_0x1cd3('0x2536')][_0x1cd3('0x127d')];break;default:var _0x4bf7e5=_0x1fa817['dial']['appdata'][_0x1cd3('0x3ef')](',');_0x1fa817[_0x1cd3('0x2536')][_0x1cd3('0x256e')]=_[_0x1cd3('0x398')](_0x4bf7e5[0x0])?_0x4bf7e5[0x0]:isNaN(_0x4bf7e5[0x0])?_0x4bf7e5[0x0]:parseInt(_0x4bf7e5[0x0],0xa);_0x1fa817[_0x1cd3('0x2536')][_0x1cd3('0x8fc')]=_[_0x1cd3('0x398')](_0x4bf7e5[0x1])?_0x4bf7e5[0x1]:isNaN(_0x4bf7e5[0x1])?_0x4bf7e5[0x1]:parseInt(_0x4bf7e5[0x1],0xa);_0x1fa817['dial'][_0x1cd3('0x422')]=_[_0x1cd3('0x398')](_0x4bf7e5[0x2])?_0x4bf7e5[0x2]:isNaN(_0x4bf7e5[0x2])?_0x4bf7e5[0x2]:parseInt(_0x4bf7e5[0x2],0xa);_0x1fa817[_0x1cd3('0x2536')]['url']=_['isEmpty'](_0x4bf7e5[0x3])?_0x4bf7e5[0x3]:isNaN(_0x4bf7e5[0x3])?_0x4bf7e5[0x3]:parseInt(_0x4bf7e5[0x3],0xa);}}else{}if(_0x1fa817[_0x1cd3('0x2536')]['type']&&_0x1fa817[_0x1cd3('0x2536')][_0x1cd3('0x424')][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x1fa817[_0x1cd3('0x2536')][_0x1cd3('0x125b')][_0x1cd3('0x433')]()===_0x1cd3('0x1289')){_0x1fa817[_0x1cd3('0x2536')][_0x1cd3('0x6aa')]=_0x1fa817[_0x1cd3('0x2536')][_0x1cd3('0xf09')]?_0x1fa817['dial'][_0x1cd3('0xf09')][_0x1cd3('0x3ef')]('$')[0x0]:undefined;_0x1fa817['dial'][_0x1cd3('0x689')]=_0x1fa817[_0x1cd3('0x2536')][_0x1cd3('0x127f')]?_0x1cd3('0x1280')+_0x1fa817[_0x1cd3('0x2536')][_0x1cd3('0x127f')]:undefined;}_0x1fa817[_0x1cd3('0x25b5')]=_0x207fe0;_0x1fa817[_0x1cd3('0x39c')]=_0x13ad67;function _0x207fe0(){_0x1fa817['errors']=[];var _0x39fdb4=[];if(_0x1fa817['dial'][_0x1cd3('0x424')]&&_0x1fa817['dial']['type'][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x1fa817[_0x1cd3('0x2536')][_0x1cd3('0x125b')]===_0x1cd3('0x1283')){_0x1fa817[_0x1cd3('0x2536')][_0x1cd3('0xf09')]=_0x5de2b9[_0x1cd3('0x128a')]?(_0x1fa817[_0x1cd3('0x2536')]['prefix']||'')+_0x1cd3('0x1284')+_0x5de2b9[_0x1cd3('0x128a')]+'}':(_0x1fa817[_0x1cd3('0x2536')]['prefix']||'')+_0x1cd3('0x128d');if(_0x5de2b9[_0x1cd3('0x1285')]!=='none'){if(_0x1fa817['dial'][_0x1cd3('0x422')][_0x1cd3('0x45e')]('U(xcally-mixmonitor-context)')<0x0){_0x1fa817[_0x1cd3('0x2536')][_0x1cd3('0x422')]+=_0x1cd3('0x1286');}}else{_0x1fa817[_0x1cd3('0x2536')][_0x1cd3('0x422')]=_0x1fa817[_0x1cd3('0x2536')][_0x1cd3('0x422')]['replace']('U(xcally-mixmonitor-context)','');}}if(_0x1fa817[_0x1cd3('0x2536')][_0x1cd3('0x125b')]&&_0x1fa817[_0x1cd3('0x2536')]['appType']==='custom'){}else{switch((_0x1fa817[_0x1cd3('0x2536')][_0x1cd3('0xd0a')]||_0x1fa817[_0x1cd3('0x2536')][_0x1cd3('0x125b')])[_0x1cd3('0x433')]()){case'set':_0x1fa817[_0x1cd3('0x2536')][_0x1cd3('0x127d')]=_0x1fa817[_0x1cd3('0x2536')][_0x1cd3('0x98')]+'='+_0x1fa817[_0x1cd3('0x2536')][_0x1cd3('0x3db')];break;case'custom':break;default:_0x39fdb4[0x0]=_0x1fa817[_0x1cd3('0x2536')]['tech'];_0x39fdb4[0x1]=_0x1fa817[_0x1cd3('0x2536')][_0x1cd3('0x8fc')];_0x39fdb4[0x2]=_0x1fa817[_0x1cd3('0x2536')][_0x1cd3('0x422')];_0x39fdb4[0x3]=_0x1fa817[_0x1cd3('0x2536')]['url'];_0x1fa817[_0x1cd3('0x2536')][_0x1cd3('0x127d')]=_0x39fdb4[_0x1cd3('0x3de')](',');}}_0x13ad67(_0x1fa817['dial']);}function _0x13ad67(_0x477423){_0x4d6738[_0x1cd3('0x39d')](_0x477423);}}}());(function(){'use strict';_0x3e13ae[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),'$q',_0x1cd3('0x461'),_0x1cd3('0x25b6'),_0x1cd3('0x258f'),_0x1cd3('0x370'),'Auth',_0x1cd3('0xd27')];angular[_0x1cd3('0x0')]('app.voice')[_0x1cd3('0x39b')](_0x1cd3('0x25b9'),_0x3e13ae);function _0x3e13ae(_0x49aaa5,_0x42d619,_0x1abb03,_0x4f4780,_0x4b1fff,_0x254674,_0x42bf7a,_0x30e064){var _0x33bcdf=this;_0x33bcdf[_0x1cd3('0x3ca')]=_0x42bf7a[_0x1cd3('0x5d')]();_0x33bcdf['errors']=[];_0x33bcdf[_0x1cd3('0x486')]=_0x1cd3('0x256b')+(_0x4f4780[_0x1cd3('0x125b')]||_0x4f4780[_0x1cd3('0xd0a')])[_0x1cd3('0x437')]();_0x33bcdf[_0x1cd3('0x2570')]=angular[_0x1cd3('0x429')](_0x4f4780);_0x33bcdf[_0x1cd3('0xd27')]=_0x30e064;_0x33bcdf[_0x1cd3('0xd28')]={};if(_0x33bcdf[_0x1cd3('0x2570')][_0x1cd3('0x127d')]){switch(_0x33bcdf['externaldial']['appType']?_0x33bcdf['externaldial'][_0x1cd3('0x125b')][_0x1cd3('0x433')]():_0x33bcdf[_0x1cd3('0x2570')]['app'][_0x1cd3('0x433')]()){case _0x1cd3('0x8f6'):break;case _0x1cd3('0x1233'):var _0x3c0ebb=_0x33bcdf[_0x1cd3('0x2570')]['appdata'][_0x1cd3('0x3ef')](',');_0x33bcdf['externaldial'][_0x1cd3('0x65c')]=_0x3c0ebb[0x0];_0x33bcdf[_0x1cd3('0x2570')]['language']=_0x3c0ebb[0x1];_0x33bcdf['externaldial'][_0x1cd3('0x1246')]=_0x3c0ebb[_0x1cd3('0x9a2')](0x2,_0x3c0ebb[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x1247'):var _0x3c0ebb=_0x33bcdf[_0x1cd3('0x2570')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x33bcdf[_0x1cd3('0x2570')][_0x1cd3('0x1248')]=_0x3c0ebb[0x0];_0x33bcdf[_0x1cd3('0x2570')][_0x1cd3('0x1249')]=_0x3c0ebb[0x1];_0x33bcdf[_0x1cd3('0x2570')][_0x1cd3('0x124a')]=_0x3c0ebb[0x2];_0x33bcdf[_0x1cd3('0x2570')][_0x1cd3('0x124f')]=_0x3c0ebb[0x3];_0x33bcdf[_0x1cd3('0x2570')]['welcomemessage']=_0x3c0ebb[_0x1cd3('0x9a2')](0x4,_0x3c0ebb[_0x1cd3('0x7a')])['join'](',');break;case _0x1cd3('0x122b'):var _0x3c0ebb=_0x33bcdf['externaldial'][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x33bcdf[_0x1cd3('0x2570')][_0x1cd3('0x122c')]=isNaN(_0x3c0ebb[0x0])?_0x3c0ebb[0x0]:parseInt(_0x3c0ebb[0x0],0xa);_0x33bcdf['externaldial']['text']=_0x3c0ebb[_0x1cd3('0x9a2')](0x1,_0x3c0ebb[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x43a'):_0x33bcdf[_0x1cd3('0x2570')][_0x1cd3('0x401')]=_0x33bcdf[_0x1cd3('0x2570')]['appdata'];break;case _0x1cd3('0x127e'):_0x33bcdf[_0x1cd3('0x2570')][_0x1cd3('0x98')]=_0x33bcdf[_0x1cd3('0x2570')]['appdata'][_0x1cd3('0x3ef')]('=')[0x0];_0x33bcdf['externaldial'][_0x1cd3('0x3db')]=_0x33bcdf['externaldial'][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x1];break;case _0x1cd3('0x128c'):_0x33bcdf[_0x1cd3('0x2570')][_0x1cd3('0xedd')]=_0x33bcdf[_0x1cd3('0x2570')]['appdata'];break;default:var _0x4580d0=_0x33bcdf[_0x1cd3('0x2570')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x33bcdf[_0x1cd3('0x2570')][_0x1cd3('0x18e7')]=_0x4580d0[0x0]['split']('/')[0x1];_0x33bcdf['externaldial']['phone']=_0x4580d0[0x0][_0x1cd3('0x3ef')]('/')[0x2];_0x33bcdf[_0x1cd3('0x2570')][_0x1cd3('0x8fc')]=_['isEmpty'](_0x4580d0[0x1])?_0x4580d0[0x1]:isNaN(_0x4580d0[0x1])?_0x4580d0[0x1]:parseInt(_0x4580d0[0x1],0xa);_0x33bcdf[_0x1cd3('0x2570')][_0x1cd3('0x422')]=_[_0x1cd3('0x398')](_0x4580d0[0x2])?_0x4580d0[0x2]:isNaN(_0x4580d0[0x2])?_0x4580d0[0x2]:parseInt(_0x4580d0[0x2],0xa);_0x33bcdf[_0x1cd3('0x2570')][_0x1cd3('0x3a4')]=_[_0x1cd3('0x398')](_0x4580d0[0x3])?_0x4580d0[0x3]:isNaN(_0x4580d0[0x3])?_0x4580d0[0x3]:parseInt(_0x4580d0[0x3],0xa);}}else{}if(_0x33bcdf['externaldial'][_0x1cd3('0x424')]&&_0x33bcdf[_0x1cd3('0x2570')][_0x1cd3('0x424')]['toLowerCase']()===_0x1cd3('0x128')&&_0x33bcdf['externaldial']['appType'][_0x1cd3('0x433')]()===_0x1cd3('0x1289')){_0x33bcdf[_0x1cd3('0x2570')][_0x1cd3('0x6aa')]=_0x33bcdf[_0x1cd3('0x2570')][_0x1cd3('0xf09')]?_0x33bcdf['externaldial']['phone'][_0x1cd3('0x3ef')]('$')[0x0]:undefined;_0x33bcdf['externaldial']['callerId']=_0x33bcdf['externaldial'][_0x1cd3('0x127f')]?_0x1cd3('0x1280')+_0x33bcdf[_0x1cd3('0x2570')][_0x1cd3('0x127f')]:undefined;}_0x33bcdf[_0x1cd3('0x25b5')]=_0x5651ca;_0x33bcdf[_0x1cd3('0x39c')]=_0x468ff3;_0x42bf7a[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x254674[_0x1cd3('0x18e7')][_0x1cd3('0x361')]({'fields':'id,name','sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x447e99){_0x33bcdf[_0x1cd3('0xef5')]=_0x447e99[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0xbdb1b8){_0x1abb03[_0x1cd3('0x434')]({'title':_0xbdb1b8[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0xbdb1b8[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0xbdb1b8[_0x1cd3('0xd35')]:'SYSTEM:GET_TRUNKS','msg':_0xbdb1b8['data']?JSON[_0x1cd3('0x438')](_0xbdb1b8[_0x1cd3('0x439')]):_0xbdb1b8['toString']()});}):_0x254674[_0x1cd3('0x18e7')]['get']({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'nolimit':'true'})[_0x1cd3('0x81')]['then'](function(_0x55ad50){_0x33bcdf[_0x1cd3('0xef5')]=_0x55ad50['rows']||[];})['then'](function(){return _0x254674[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x33bcdf[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x3f3})['$promise'];})[_0x1cd3('0x77')](function(_0x60cda4){var _0x33d03e=_0x60cda4&&_0x60cda4[_0x1cd3('0xf6')]?_0x60cda4[_0x1cd3('0xf6')][0x0]:null;if(!_0x33d03e){var _0x3458b6=[];var _0x2e8380=null;if(_0x33bcdf[_0x1cd3('0x2570')]){_0x2e8380=_['find'](_0x33bcdf[_0x1cd3('0xef5')],{'name':_0x33bcdf['externaldial'][_0x1cd3('0x18e7')]});}for(var _0x8635f8=0x0;_0x8635f8<_0x33bcdf[_0x1cd3('0xef5')][_0x1cd3('0x7a')];_0x8635f8++){if(_0x2e8380&&_0x33bcdf[_0x1cd3('0xef5')][_0x8635f8]['id']===_0x2e8380['id']){_0x33bcdf[_0x1cd3('0xef5')][_0x8635f8][_0x1cd3('0xf4a')]=![];_0x3458b6[_0x1cd3('0x7b')](_0x33bcdf[_0x1cd3('0xef5')][_0x8635f8]);}}_0x33bcdf['trunks']=_0x3458b6;}else{if(!_0x33d03e['autoAssociation']){return _0x254674[_0x1cd3('0x392')]['get']({'sectionId':_0x33d03e['id']})[_0x1cd3('0x81')]['then'](function(_0x3a084){var _0x8691ee=_[_0x1cd3('0x3d9')](_0x3a084['rows'],function(_0x57b619){return _[_0x1cd3('0x442')](_0x33bcdf['trunks'],{'id':_0x57b619[_0x1cd3('0xe8e')]});});var _0x7d79ca=null;if(_0x33bcdf[_0x1cd3('0x2570')]){_0x7d79ca=_[_0x1cd3('0x442')](_0x33bcdf[_0x1cd3('0xef5')],{'name':_0x33bcdf[_0x1cd3('0x2570')]['trunk']});}if(_0x7d79ca&&!_[_0x1cd3('0x38d')](_0x8691ee,['id',_0x7d79ca['id']])){var _0x549ac8=_['find'](_0x33bcdf[_0x1cd3('0xef5')],{'id':_0x7d79ca['id']});_0x549ac8[_0x1cd3('0xf4a')]=![];_0x8691ee[_0x1cd3('0x7b')](_0x549ac8);}_0x33bcdf[_0x1cd3('0xef5')]=_0x8691ee;});}}})['catch'](function(_0xa1d141){_0x1abb03['error']({'title':_0xa1d141[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0xa1d141['status']+_0x1cd3('0x436')+_0xa1d141[_0x1cd3('0xd35')]:_0x1cd3('0x18e9'),'msg':_0xa1d141[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0xa1d141[_0x1cd3('0x439')]):_0xa1d141['toString']()});});function _0x5651ca(){_0x33bcdf['errors']=[];var _0x288f49=[];if(_0x33bcdf[_0x1cd3('0x2570')]['type']&&_0x33bcdf[_0x1cd3('0x2570')]['type'][_0x1cd3('0x433')]()==='outbound'&&_0x33bcdf['externaldial'][_0x1cd3('0x125b')]==='outboundDial'){_0x33bcdf['externaldial'][_0x1cd3('0xf09')]=_0x4b1fff[_0x1cd3('0x128a')]?(_0x33bcdf[_0x1cd3('0x2570')][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x1284')+_0x4b1fff['cutdigits']+'}':(_0x33bcdf[_0x1cd3('0x2570')][_0x1cd3('0x6aa')]||'')+'${EXTEN}';if(_0x4b1fff[_0x1cd3('0x1285')]!==_0x1cd3('0x6ae')){if(_0x33bcdf['externaldial'][_0x1cd3('0x422')][_0x1cd3('0x45e')]('U(xcally-mixmonitor-context)')<0x0){_0x33bcdf[_0x1cd3('0x2570')][_0x1cd3('0x422')]+=_0x1cd3('0x1286');}}else{_0x33bcdf[_0x1cd3('0x2570')][_0x1cd3('0x422')]=_0x33bcdf[_0x1cd3('0x2570')][_0x1cd3('0x422')]['replace'](_0x1cd3('0x1286'),'');}}if(_0x33bcdf[_0x1cd3('0x2570')][_0x1cd3('0x125b')]&&_0x33bcdf['externaldial'][_0x1cd3('0x125b')]===_0x1cd3('0x8f6')){}else{switch((_0x33bcdf['externaldial']['app']||_0x33bcdf['externaldial'][_0x1cd3('0x125b')])[_0x1cd3('0x433')]()){case _0x1cd3('0x127e'):_0x33bcdf[_0x1cd3('0x2570')]['appdata']=_0x33bcdf[_0x1cd3('0x2570')][_0x1cd3('0x98')]+'='+_0x33bcdf[_0x1cd3('0x2570')]['value'];break;case _0x1cd3('0x8f6'):break;default:_0x288f49[0x0]=[_0x1cd3('0x1949'),_0x33bcdf[_0x1cd3('0x2570')][_0x1cd3('0x18e7')],_0x33bcdf[_0x1cd3('0x2570')][_0x1cd3('0xf09')]][_0x1cd3('0x3de')]('/');_0x288f49[0x1]=_0x33bcdf[_0x1cd3('0x2570')][_0x1cd3('0x8fc')];_0x288f49[0x2]=_0x33bcdf['externaldial']['options'];_0x288f49[0x3]=_0x33bcdf[_0x1cd3('0x2570')]['url'];_0x33bcdf[_0x1cd3('0x2570')][_0x1cd3('0x127d')]=_0x288f49[_0x1cd3('0x3de')](',');}}_0x468ff3(_0x33bcdf[_0x1cd3('0x2570')]);}function _0x468ff3(_0x1f71aa){_0x49aaa5[_0x1cd3('0x39d')](_0x1f71aa);}}}());(function(){'use strict';_0x1103d1[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),'$q',_0x1cd3('0x461'),_0x1cd3('0x25b6'),'internalroute',_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')]('app.voice')[_0x1cd3('0x39b')](_0x1cd3('0x25ba'),_0x1103d1);function _0x1103d1(_0x306f1b,_0x20d765,_0x298877,_0x5478ba,_0xa05b9d,_0x266b4e,_0x31a4a7,_0x338ab4){var _0x54b83a=this;_0x54b83a[_0x1cd3('0x3ca')]=_0x31a4a7[_0x1cd3('0x5d')]();_0x54b83a['errors']=[];_0x54b83a[_0x1cd3('0x486')]=_0x1cd3('0x256b')+(_0x5478ba[_0x1cd3('0x125b')]||_0x5478ba['app'])['toUpperCase']();_0x54b83a[_0x1cd3('0x121b')]=angular[_0x1cd3('0x429')](_0x5478ba);_0x54b83a['crudPermissions']=_0x338ab4;_0x54b83a[_0x1cd3('0xd28')]={};if(_0x54b83a[_0x1cd3('0x121b')]['appdata']){switch(_0x54b83a['goto'][_0x1cd3('0x125b')]?_0x54b83a[_0x1cd3('0x121b')]['appType'][_0x1cd3('0x433')]():_0x54b83a[_0x1cd3('0x121b')][_0x1cd3('0xd0a')][_0x1cd3('0x433')]()){case _0x1cd3('0x8f6'):break;case _0x1cd3('0x1233'):var _0x3ac7e5=_0x54b83a[_0x1cd3('0x121b')]['appdata'][_0x1cd3('0x3ef')](',');_0x54b83a['goto']['key']=_0x3ac7e5[0x0];_0x54b83a[_0x1cd3('0x121b')][_0x1cd3('0x3f3')]=_0x3ac7e5[0x1];_0x54b83a[_0x1cd3('0x121b')][_0x1cd3('0x1246')]=_0x3ac7e5[_0x1cd3('0x9a2')](0x2,_0x3ac7e5[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x1247'):var _0x3ac7e5=_0x54b83a[_0x1cd3('0x121b')]['appdata'][_0x1cd3('0x3ef')](',');_0x54b83a['goto']['accesskeyid']=_0x3ac7e5[0x0];_0x54b83a[_0x1cd3('0x121b')][_0x1cd3('0x1249')]=_0x3ac7e5[0x1];_0x54b83a[_0x1cd3('0x121b')][_0x1cd3('0x124a')]=_0x3ac7e5[0x2];_0x54b83a[_0x1cd3('0x121b')][_0x1cd3('0x124f')]=_0x3ac7e5[0x3];_0x54b83a[_0x1cd3('0x121b')][_0x1cd3('0x1246')]=_0x3ac7e5[_0x1cd3('0x9a2')](0x4,_0x3ac7e5[_0x1cd3('0x7a')])['join'](',');break;case _0x1cd3('0x122b'):var _0x3ac7e5=_0x54b83a['goto'][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x54b83a[_0x1cd3('0x121b')][_0x1cd3('0x122c')]=isNaN(_0x3ac7e5[0x0])?_0x3ac7e5[0x0]:parseInt(_0x3ac7e5[0x0],0xa);_0x54b83a[_0x1cd3('0x121b')]['text']=_0x3ac7e5['slice'](0x1,_0x3ac7e5[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x43a'):_0x54b83a[_0x1cd3('0x121b')]['text']=_0x54b83a[_0x1cd3('0x121b')][_0x1cd3('0x127d')];break;case _0x1cd3('0x127e'):_0x54b83a[_0x1cd3('0x121b')]['name']=_0x54b83a[_0x1cd3('0x121b')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x0];_0x54b83a[_0x1cd3('0x121b')]['value']=_0x54b83a['goto'][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x1];break;case _0x1cd3('0x128c'):_0x54b83a[_0x1cd3('0x121b')][_0x1cd3('0xedd')]=_0x54b83a[_0x1cd3('0x121b')][_0x1cd3('0x127d')];break;default:var _0xf0beb1=_0x54b83a[_0x1cd3('0x121b')][_0x1cd3('0x127d')]['split'](',');_0x54b83a[_0x1cd3('0x121b')][_0x1cd3('0xf0a')]=_[_0x1cd3('0x398')](_0xf0beb1[0x0])?_0xf0beb1[0x0]:isNaN(_0xf0beb1[0x0])?_0xf0beb1[0x0]:parseInt(_0xf0beb1[0x0],0xa);_0x54b83a[_0x1cd3('0x121b')][_0x1cd3('0xf0b')]=_[_0x1cd3('0x398')](_0xf0beb1[0x1])?_0xf0beb1[0x1]:isNaN(_0xf0beb1[0x1])?_0xf0beb1[0x1]:parseInt(_0xf0beb1[0x1],0xa);_0x54b83a[_0x1cd3('0x121b')][_0x1cd3('0xf0c')]=_[_0x1cd3('0x398')](_0xf0beb1[0x2])?_0xf0beb1[0x2]:isNaN(_0xf0beb1[0x2])?_0xf0beb1[0x2]:parseInt(_0xf0beb1[0x2],0xa);}}else{}if(_0x54b83a[_0x1cd3('0x121b')]['type']&&_0x54b83a['goto'][_0x1cd3('0x424')][_0x1cd3('0x433')]()==='outbound'&&_0x54b83a['goto'][_0x1cd3('0x125b')]['toLowerCase']()===_0x1cd3('0x1289')){_0x54b83a[_0x1cd3('0x121b')][_0x1cd3('0x6aa')]=_0x54b83a['goto'][_0x1cd3('0xf09')]?_0x54b83a[_0x1cd3('0x121b')][_0x1cd3('0xf09')][_0x1cd3('0x3ef')]('$')[0x0]:undefined;_0x54b83a['goto']['callerId']=_0x54b83a[_0x1cd3('0x121b')]['callerID']?'CALLERID(all)='+_0x54b83a['goto'][_0x1cd3('0x127f')]:undefined;}_0x54b83a['saveInternalRouteApp']=_0x5ae915;_0x54b83a[_0x1cd3('0x39c')]=_0x4c7445;_0x31a4a7[_0x1cd3('0x57')]('admin')?_0x266b4e[_0x1cd3('0xa3e')]['get']({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0xad8187){_0x54b83a[_0x1cd3('0x2119')]=_0xad8187[_0x1cd3('0xf6')]||[];})['catch'](function(_0x411961){_0x298877[_0x1cd3('0x434')]({'title':_0x411961[_0x1cd3('0x3a6')]?'API:'+_0x411961[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x411961['statusText']:_0x1cd3('0x211a'),'msg':_0x411961['data']?JSON[_0x1cd3('0x438')](_0x411961[_0x1cd3('0x439')]):_0x411961['toString']()});}):_0x266b4e[_0x1cd3('0xa3e')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'nolimit':'true'})['$promise'][_0x1cd3('0x77')](function(_0x1665b6){_0x54b83a['contexts']=_0x1665b6[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x266b4e[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x54b83a[_0x1cd3('0x3ca')]['userProfileId'],'sectionId':0x195})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x2bef98){var _0x1e504f=_0x2bef98&&_0x2bef98[_0x1cd3('0xf6')]?_0x2bef98['rows'][0x0]:null;if(!_0x1e504f){return _0x266b4e[_0x1cd3('0xa3e')]['get']({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0'),'defaultEntry':0x1})[_0x1cd3('0x81')]['then'](function(_0x493fa0){_0x54b83a[_0x1cd3('0x2119')]=_0x493fa0[_0x1cd3('0xf6')]||[];});}else{if(!_0x1e504f[_0x1cd3('0x391')]){return _0x266b4e[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x1e504f['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x2c550d){var _0x42de11=_['map'](_0x2c550d[_0x1cd3('0xf6')],function(_0x4bfd23){return _[_0x1cd3('0x442')](_0x54b83a[_0x1cd3('0x2119')],{'id':_0x4bfd23[_0x1cd3('0xe8e')]});});var _0x442c32=null;if(_0x54b83a[_0x1cd3('0x121b')]){_0x442c32=_[_0x1cd3('0x442')](_0x54b83a[_0x1cd3('0x2119')],{'name':_0x54b83a[_0x1cd3('0x121b')][_0x1cd3('0xf0a')]});}if(_0x442c32&&!_['some'](_0x42de11,['id',_0x442c32['id']])){var _0xc60029=_[_0x1cd3('0x442')](_0x54b83a['contexts'],{'id':_0x442c32['id']});_0xc60029[_0x1cd3('0xf4a')]=![];_0x42de11[_0x1cd3('0x7b')](_0xc60029);}_0x54b83a['contexts']=_0x42de11;});}}})['catch'](function(_0x25ee2e){_0x298877['error']({'title':_0x25ee2e[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x25ee2e[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x25ee2e['statusText']:'SYSTEM:GETcontexts','msg':_0x25ee2e[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x25ee2e[_0x1cd3('0x439')]):_0x25ee2e[_0x1cd3('0x43b')]()});});function _0x5ae915(){_0x54b83a[_0x1cd3('0xd34')]=[];var _0x1e109c=[];if(_0x54b83a[_0x1cd3('0x121b')][_0x1cd3('0x424')]&&_0x54b83a[_0x1cd3('0x121b')][_0x1cd3('0x424')][_0x1cd3('0x433')]()==='outbound'&&_0x54b83a[_0x1cd3('0x121b')]['appType']==='outboundDial'){_0x54b83a[_0x1cd3('0x121b')][_0x1cd3('0xf09')]=_0xa05b9d[_0x1cd3('0x128a')]?(_0x54b83a[_0x1cd3('0x121b')][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x1284')+_0xa05b9d[_0x1cd3('0x128a')]+'}':(_0x54b83a[_0x1cd3('0x121b')][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x128d');if(_0xa05b9d[_0x1cd3('0x1285')]!==_0x1cd3('0x6ae')){if(_0x54b83a[_0x1cd3('0x121b')][_0x1cd3('0x422')][_0x1cd3('0x45e')]('U(xcally-mixmonitor-context)')<0x0){_0x54b83a[_0x1cd3('0x121b')]['options']+=_0x1cd3('0x1286');}}else{_0x54b83a[_0x1cd3('0x121b')][_0x1cd3('0x422')]=_0x54b83a['goto'][_0x1cd3('0x422')][_0x1cd3('0x3f1')](_0x1cd3('0x1286'),'');}}if(_0x54b83a[_0x1cd3('0x121b')][_0x1cd3('0x125b')]&&_0x54b83a['goto'][_0x1cd3('0x125b')]===_0x1cd3('0x8f6')){}else{switch((_0x54b83a['goto'][_0x1cd3('0xd0a')]||_0x54b83a[_0x1cd3('0x121b')][_0x1cd3('0x125b')])[_0x1cd3('0x433')]()){case _0x1cd3('0x127e'):_0x54b83a[_0x1cd3('0x121b')][_0x1cd3('0x127d')]=_0x54b83a[_0x1cd3('0x121b')][_0x1cd3('0x98')]+'='+_0x54b83a[_0x1cd3('0x121b')][_0x1cd3('0x3db')];break;case'custom':break;default:_0x1e109c[0x0]=_0x54b83a['goto']['context'];_0x1e109c[0x1]=_0x54b83a[_0x1cd3('0x121b')][_0x1cd3('0xf0b')];_0x1e109c[0x2]=_0x54b83a[_0x1cd3('0x121b')][_0x1cd3('0xf0c')];_0x54b83a[_0x1cd3('0x121b')]['appdata']=_0x1e109c[_0x1cd3('0x3de')](',');}}_0x4c7445(_0x54b83a[_0x1cd3('0x121b')]);}function _0x4c7445(_0x3e2f2c){_0x306f1b[_0x1cd3('0x39d')](_0x3e2f2c);}}}());(function(){'use strict';_0x2dbdfb[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),'$q',_0x1cd3('0x461'),'internalrouteApp',_0x1cd3('0x258f'),_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x2d'))[_0x1cd3('0x39b')](_0x1cd3('0x25bb'),_0x2dbdfb);function _0x2dbdfb(_0x1ca140,_0x24dc55,_0x100ee2,_0x59c15e,_0x217b98,_0x28e63a,_0x131b1b,_0x482a02){var _0x29ef16=this;_0x29ef16[_0x1cd3('0x3ca')]=_0x131b1b[_0x1cd3('0x5d')]();_0x29ef16['errors']=[];_0x29ef16[_0x1cd3('0x486')]=_0x1cd3('0x256b')+(_0x59c15e['appType']||_0x59c15e[_0x1cd3('0xd0a')])['toUpperCase']();_0x29ef16[_0x1cd3('0x2542')]=angular[_0x1cd3('0x429')](_0x59c15e);_0x29ef16[_0x1cd3('0xd27')]=_0x482a02;_0x29ef16[_0x1cd3('0xd28')]={};if(_0x29ef16[_0x1cd3('0x2542')][_0x1cd3('0x127d')]){switch(_0x29ef16[_0x1cd3('0x2542')][_0x1cd3('0x125b')]?_0x29ef16[_0x1cd3('0x2542')][_0x1cd3('0x125b')][_0x1cd3('0x433')]():_0x29ef16[_0x1cd3('0x2542')][_0x1cd3('0xd0a')]['toLowerCase']()){case _0x1cd3('0x8f6'):break;case _0x1cd3('0x1233'):var _0x1b719c=_0x29ef16[_0x1cd3('0x2542')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x29ef16[_0x1cd3('0x2542')]['key']=_0x1b719c[0x0];_0x29ef16[_0x1cd3('0x2542')][_0x1cd3('0x3f3')]=_0x1b719c[0x1];_0x29ef16[_0x1cd3('0x2542')]['welcomemessage']=_0x1b719c[_0x1cd3('0x9a2')](0x2,_0x1b719c[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case'amazonlex':var _0x1b719c=_0x29ef16[_0x1cd3('0x2542')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x29ef16[_0x1cd3('0x2542')]['accesskeyid']=_0x1b719c[0x0];_0x29ef16['hangup'][_0x1cd3('0x1249')]=_0x1b719c[0x1];_0x29ef16[_0x1cd3('0x2542')][_0x1cd3('0x124a')]=_0x1b719c[0x2];_0x29ef16[_0x1cd3('0x2542')][_0x1cd3('0x124f')]=_0x1b719c[0x3];_0x29ef16[_0x1cd3('0x2542')][_0x1cd3('0x1246')]=_0x1b719c[_0x1cd3('0x9a2')](0x4,_0x1b719c[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x122b'):var _0x1b719c=_0x29ef16[_0x1cd3('0x2542')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x29ef16['hangup']['times']=isNaN(_0x1b719c[0x0])?_0x1b719c[0x0]:parseInt(_0x1b719c[0x0],0xa);_0x29ef16[_0x1cd3('0x2542')][_0x1cd3('0x401')]=_0x1b719c[_0x1cd3('0x9a2')](0x1,_0x1b719c[_0x1cd3('0x7a')])['join'](',');break;case'message':_0x29ef16[_0x1cd3('0x2542')][_0x1cd3('0x401')]=_0x29ef16[_0x1cd3('0x2542')][_0x1cd3('0x127d')];break;case _0x1cd3('0x127e'):_0x29ef16[_0x1cd3('0x2542')]['name']=_0x29ef16[_0x1cd3('0x2542')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x0];_0x29ef16[_0x1cd3('0x2542')][_0x1cd3('0x3db')]=_0x29ef16['hangup']['appdata']['split']('=')[0x1];break;case _0x1cd3('0x128c'):_0x29ef16[_0x1cd3('0x2542')][_0x1cd3('0xedd')]=_0x29ef16[_0x1cd3('0x2542')][_0x1cd3('0x127d')];break;default:var _0x4bc31f=_0x29ef16[_0x1cd3('0x2542')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x29ef16[_0x1cd3('0x2542')][_0x1cd3('0x127d')]=_['isEmpty'](_0x4bc31f[0x0])?_0x4bc31f[0x0]:isNaN(_0x4bc31f[0x0])?_0x4bc31f[0x0]:parseInt(_0x4bc31f[0x0],0xa);}}else{}if(_0x29ef16[_0x1cd3('0x2542')][_0x1cd3('0x424')]&&_0x29ef16['hangup']['type']['toLowerCase']()===_0x1cd3('0x128')&&_0x29ef16[_0x1cd3('0x2542')][_0x1cd3('0x125b')][_0x1cd3('0x433')]()===_0x1cd3('0x1289')){_0x29ef16['hangup'][_0x1cd3('0x6aa')]=_0x29ef16[_0x1cd3('0x2542')]['phone']?_0x29ef16[_0x1cd3('0x2542')][_0x1cd3('0xf09')][_0x1cd3('0x3ef')]('$')[0x0]:undefined;_0x29ef16[_0x1cd3('0x2542')][_0x1cd3('0x689')]=_0x29ef16[_0x1cd3('0x2542')][_0x1cd3('0x127f')]?'CALLERID(all)='+_0x29ef16[_0x1cd3('0x2542')][_0x1cd3('0x127f')]:undefined;}_0x29ef16[_0x1cd3('0x25b5')]=_0x325da5;_0x29ef16[_0x1cd3('0x39c')]=_0x6fa1a8;function _0x325da5(){_0x29ef16[_0x1cd3('0xd34')]=[];var _0x1d8c74=[];if(_0x29ef16['hangup'][_0x1cd3('0x424')]&&_0x29ef16[_0x1cd3('0x2542')]['type'][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x29ef16['hangup']['appType']===_0x1cd3('0x1283')){_0x29ef16[_0x1cd3('0x2542')]['phone']=_0x217b98[_0x1cd3('0x128a')]?(_0x29ef16[_0x1cd3('0x2542')][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x1284')+_0x217b98[_0x1cd3('0x128a')]+'}':(_0x29ef16['hangup'][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x128d');if(_0x217b98[_0x1cd3('0x1285')]!==_0x1cd3('0x6ae')){if(_0x29ef16[_0x1cd3('0x2542')][_0x1cd3('0x422')]['indexOf'](_0x1cd3('0x1286'))<0x0){_0x29ef16['hangup']['options']+='U(xcally-mixmonitor-context)';}}else{_0x29ef16[_0x1cd3('0x2542')][_0x1cd3('0x422')]=_0x29ef16[_0x1cd3('0x2542')][_0x1cd3('0x422')][_0x1cd3('0x3f1')](_0x1cd3('0x1286'),'');}}if(_0x29ef16['hangup'][_0x1cd3('0x125b')]&&_0x29ef16[_0x1cd3('0x2542')]['appType']===_0x1cd3('0x8f6')){}else{switch((_0x29ef16[_0x1cd3('0x2542')][_0x1cd3('0xd0a')]||_0x29ef16[_0x1cd3('0x2542')][_0x1cd3('0x125b')])[_0x1cd3('0x433')]()){case'set':_0x29ef16[_0x1cd3('0x2542')]['appdata']=_0x29ef16[_0x1cd3('0x2542')][_0x1cd3('0x98')]+'='+_0x29ef16[_0x1cd3('0x2542')][_0x1cd3('0x3db')];break;case _0x1cd3('0x8f6'):break;default:_0x1d8c74[0x0]=_0x29ef16['hangup'][_0x1cd3('0x127d')];_0x29ef16[_0x1cd3('0x2542')][_0x1cd3('0x127d')]=_0x1d8c74[_0x1cd3('0x3de')](',');}}_0x6fa1a8(_0x29ef16[_0x1cd3('0x2542')]);}function _0x6fa1a8(_0x1eecd3){_0x1ca140[_0x1cd3('0x39d')](_0x1eecd3);}}}());(function(){'use strict';_0x546add[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),'$q',_0x1cd3('0x461'),_0x1cd3('0x25b6'),_0x1cd3('0x258f'),_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0xd27')];angular['module'](_0x1cd3('0x2d'))[_0x1cd3('0x39b')](_0x1cd3('0x25bc'),_0x546add);function _0x546add(_0x578b2f,_0x5cf437,_0x5a8fcc,_0x18e827,_0x481bd2,_0x398303,_0x2843d8,_0x46829f){var _0x4d68c9=this;_0x4d68c9[_0x1cd3('0x3ca')]=_0x2843d8[_0x1cd3('0x5d')]();_0x4d68c9['errors']=[];_0x4d68c9[_0x1cd3('0x486')]=_0x1cd3('0x256b')+(_0x18e827[_0x1cd3('0x125b')]||_0x18e827[_0x1cd3('0xd0a')])['toUpperCase']();_0x4d68c9['internaldial']=angular[_0x1cd3('0x429')](_0x18e827);_0x4d68c9[_0x1cd3('0xd27')]=_0x46829f;_0x4d68c9['hasModulePermissions']={};if(_0x4d68c9[_0x1cd3('0x2573')][_0x1cd3('0x127d')]){switch(_0x4d68c9['internaldial'][_0x1cd3('0x125b')]?_0x4d68c9[_0x1cd3('0x2573')][_0x1cd3('0x125b')][_0x1cd3('0x433')]():_0x4d68c9[_0x1cd3('0x2573')][_0x1cd3('0xd0a')][_0x1cd3('0x433')]()){case _0x1cd3('0x8f6'):break;case _0x1cd3('0x1233'):var _0x60b9cd=_0x4d68c9[_0x1cd3('0x2573')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x4d68c9['internaldial']['key']=_0x60b9cd[0x0];_0x4d68c9[_0x1cd3('0x2573')][_0x1cd3('0x3f3')]=_0x60b9cd[0x1];_0x4d68c9[_0x1cd3('0x2573')]['welcomemessage']=_0x60b9cd[_0x1cd3('0x9a2')](0x2,_0x60b9cd[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x1247'):var _0x60b9cd=_0x4d68c9['internaldial'][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x4d68c9[_0x1cd3('0x2573')][_0x1cd3('0x1248')]=_0x60b9cd[0x0];_0x4d68c9[_0x1cd3('0x2573')][_0x1cd3('0x1249')]=_0x60b9cd[0x1];_0x4d68c9[_0x1cd3('0x2573')][_0x1cd3('0x124a')]=_0x60b9cd[0x2];_0x4d68c9[_0x1cd3('0x2573')][_0x1cd3('0x124f')]=_0x60b9cd[0x3];_0x4d68c9[_0x1cd3('0x2573')]['welcomemessage']=_0x60b9cd[_0x1cd3('0x9a2')](0x4,_0x60b9cd[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x122b'):var _0x60b9cd=_0x4d68c9[_0x1cd3('0x2573')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x4d68c9[_0x1cd3('0x2573')][_0x1cd3('0x122c')]=isNaN(_0x60b9cd[0x0])?_0x60b9cd[0x0]:parseInt(_0x60b9cd[0x0],0xa);_0x4d68c9[_0x1cd3('0x2573')][_0x1cd3('0x401')]=_0x60b9cd[_0x1cd3('0x9a2')](0x1,_0x60b9cd[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x43a'):_0x4d68c9[_0x1cd3('0x2573')][_0x1cd3('0x401')]=_0x4d68c9[_0x1cd3('0x2573')][_0x1cd3('0x127d')];break;case _0x1cd3('0x127e'):_0x4d68c9[_0x1cd3('0x2573')]['name']=_0x4d68c9[_0x1cd3('0x2573')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x0];_0x4d68c9[_0x1cd3('0x2573')][_0x1cd3('0x3db')]=_0x4d68c9['internaldial'][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x1];break;case _0x1cd3('0x128c'):_0x4d68c9[_0x1cd3('0x2573')]['project']=_0x4d68c9[_0x1cd3('0x2573')][_0x1cd3('0x127d')];break;default:var _0x22c443=_0x4d68c9[_0x1cd3('0x2573')]['appdata'][_0x1cd3('0x3ef')](',');_0x4d68c9[_0x1cd3('0x2573')]['user']=_[_0x1cd3('0x398')](_0x22c443[0x0])?_0x22c443[0x0]:isNaN(_0x22c443[0x0])?_0x22c443[0x0]:parseInt(_0x22c443[0x0],0xa);_0x4d68c9[_0x1cd3('0x2573')][_0x1cd3('0x8fc')]=_[_0x1cd3('0x398')](_0x22c443[0x1])?_0x22c443[0x1]:isNaN(_0x22c443[0x1])?_0x22c443[0x1]:parseInt(_0x22c443[0x1],0xa);_0x4d68c9[_0x1cd3('0x2573')][_0x1cd3('0x422')]=_['isEmpty'](_0x22c443[0x2])?_0x22c443[0x2]:isNaN(_0x22c443[0x2])?_0x22c443[0x2]:parseInt(_0x22c443[0x2],0xa);_0x4d68c9[_0x1cd3('0x2573')][_0x1cd3('0x3a4')]=_['isEmpty'](_0x22c443[0x3])?_0x22c443[0x3]:isNaN(_0x22c443[0x3])?_0x22c443[0x3]:parseInt(_0x22c443[0x3],0xa);}}else{}if(_0x4d68c9[_0x1cd3('0x2573')][_0x1cd3('0x424')]&&_0x4d68c9[_0x1cd3('0x2573')][_0x1cd3('0x424')][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x4d68c9[_0x1cd3('0x2573')]['appType']['toLowerCase']()===_0x1cd3('0x1289')){_0x4d68c9[_0x1cd3('0x2573')][_0x1cd3('0x6aa')]=_0x4d68c9[_0x1cd3('0x2573')][_0x1cd3('0xf09')]?_0x4d68c9['internaldial'][_0x1cd3('0xf09')][_0x1cd3('0x3ef')]('$')[0x0]:undefined;_0x4d68c9[_0x1cd3('0x2573')][_0x1cd3('0x689')]=_0x4d68c9[_0x1cd3('0x2573')][_0x1cd3('0x127f')]?_0x1cd3('0x1280')+_0x4d68c9['internaldial'][_0x1cd3('0x127f')]:undefined;}_0x4d68c9[_0x1cd3('0x25b5')]=_0x41bc43;_0x4d68c9[_0x1cd3('0x39c')]=_0x4b0249;var _0x1b1ebf=[{'id':0xca,'role':_0x1cd3('0xd2')},{'id':0xcb,'role':'telephone'}];var _0x145fda=null;_0x2843d8['hasRole']('admin')?_0x398303[_0x1cd3('0x368')][_0x1cd3('0x361')]({'fields':_0x1cd3('0x2539'),'sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x920c87){_0x4d68c9['users']=_0x920c87[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x31170f){_0x5a8fcc['error']({'title':_0x31170f[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x31170f['status']+_0x1cd3('0x436')+_0x31170f['statusText']:_0x1cd3('0x249d'),'msg':_0x31170f['data']?JSON[_0x1cd3('0x438')](_0x31170f['data']):_0x31170f[_0x1cd3('0x43b')]()});}):_0x398303[_0x1cd3('0x368')]['get']({'fields':_0x1cd3('0x2539'),'sort':'name','nolimit':_0x1cd3('0x2e0')})['$promise']['then'](function(_0x24bbe2){_0x145fda=_0x24bbe2[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){var _0x5e3cb8=[];for(var _0x44a562=0x0;_0x44a562<_0x1b1ebf[_0x1cd3('0x7a')];_0x44a562++){_0x5e3cb8[_0x1cd3('0x7b')](_0x398303['userProfileSection'][_0x1cd3('0x361')]({'userProfileId':_0x4d68c9[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':_0x1b1ebf[_0x44a562]['id']})[_0x1cd3('0x81')]);}return _0x5cf437[_0x1cd3('0x7e')](_0x5e3cb8);})['then'](function(_0x39cadf){var _0x109fda=_[_0x1cd3('0x3d9')](_0x39cadf,function(_0x58dc6e){return _0x58dc6e&&_0x58dc6e[_0x1cd3('0xf6')]?_0x58dc6e[_0x1cd3('0xf6')][0x0]:null;});var _0x5e0fab=[];for(var _0x3f67bc=0x0;_0x3f67bc<_0x1b1ebf['length'];_0x3f67bc++){var _0x72ba05=_['find'](_0x109fda,[_0x1cd3('0x38b'),_0x1b1ebf[_0x3f67bc]['id']]);if(_0x72ba05){if(!_0x72ba05[_0x1cd3('0x391')]){_0x5e0fab[_0x1cd3('0x7b')](_0x398303['userProfileResource']['get']({'sectionId':_0x72ba05['id']})[_0x1cd3('0x81')]);}else{var _0x31cd22=[];_0x145fda[_0x1cd3('0x394')](function(_0x13509a){if(_0x13509a['role']===_0x1b1ebf[_0x3f67bc][_0x1cd3('0x388')]){_0x31cd22[_0x1cd3('0x7b')](_0x13509a);}});_0x5e0fab[_0x1cd3('0x7b')]({'rows':_0x31cd22,'count':_0x31cd22[_0x1cd3('0x7a')]});}}}return _0x5cf437[_0x1cd3('0x7e')](_0x5e0fab);})['then'](function(_0x1678d1){var _0x5f41cc=[];var _0x3237f4=null;if(_0x4d68c9['internaldial']){_0x3237f4=_[_0x1cd3('0x442')](_0x145fda,{'name':_0x4d68c9[_0x1cd3('0x2573')][_0x1cd3('0x368')]});}for(var _0x5c7930=0x0;_0x5c7930<_0x1678d1['length'];_0x5c7930++){var _0x252e68=_0x1678d1[_0x5c7930]['rows']||[];_0x252e68['forEach'](function(_0x2c12a1){_0x5f41cc['push'](_0x2c12a1);});}if(_0x3237f4&&!_[_0x1cd3('0x38d')](_0x5f41cc,['resourceId',_0x3237f4['id']])){_0x145fda[_0x1cd3('0x394')](function(_0x1b45f5){if(_0x1b45f5['id']===_0x3237f4['id']){_0x1b45f5['canSelect']=![];_0x5f41cc[_0x1cd3('0x7b')](_0x1b45f5);}});}_0x4d68c9[_0x1cd3('0xef4')]=_0x5f41cc;})[_0x1cd3('0xfd')](function(_0x31d702){_0x5a8fcc[_0x1cd3('0x434')]({'title':_0x31d702[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x31d702['status']+_0x1cd3('0x436')+_0x31d702[_0x1cd3('0xd35')]:_0x1cd3('0x2574'),'msg':_0x31d702['data']?JSON[_0x1cd3('0x438')](_0x31d702[_0x1cd3('0x439')]):_0x31d702[_0x1cd3('0x43b')]()});});function _0x41bc43(){_0x4d68c9['errors']=[];var _0x48ca6f=[];if(_0x4d68c9[_0x1cd3('0x2573')][_0x1cd3('0x424')]&&_0x4d68c9[_0x1cd3('0x2573')][_0x1cd3('0x424')]['toLowerCase']()==='outbound'&&_0x4d68c9[_0x1cd3('0x2573')][_0x1cd3('0x125b')]==='outboundDial'){_0x4d68c9['internaldial'][_0x1cd3('0xf09')]=_0x481bd2[_0x1cd3('0x128a')]?(_0x4d68c9[_0x1cd3('0x2573')][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x1284')+_0x481bd2[_0x1cd3('0x128a')]+'}':(_0x4d68c9['internaldial'][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x128d');if(_0x481bd2['recordingFormat']!==_0x1cd3('0x6ae')){if(_0x4d68c9['internaldial'][_0x1cd3('0x422')][_0x1cd3('0x45e')](_0x1cd3('0x1286'))<0x0){_0x4d68c9[_0x1cd3('0x2573')]['options']+=_0x1cd3('0x1286');}}else{_0x4d68c9[_0x1cd3('0x2573')]['options']=_0x4d68c9['internaldial'][_0x1cd3('0x422')][_0x1cd3('0x3f1')](_0x1cd3('0x1286'),'');}}if(_0x4d68c9[_0x1cd3('0x2573')][_0x1cd3('0x125b')]&&_0x4d68c9[_0x1cd3('0x2573')][_0x1cd3('0x125b')]===_0x1cd3('0x8f6')){}else{switch((_0x4d68c9[_0x1cd3('0x2573')][_0x1cd3('0xd0a')]||_0x4d68c9[_0x1cd3('0x2573')][_0x1cd3('0x125b')])[_0x1cd3('0x433')]()){case'set':_0x4d68c9[_0x1cd3('0x2573')][_0x1cd3('0x127d')]=_0x4d68c9[_0x1cd3('0x2573')][_0x1cd3('0x98')]+'='+_0x4d68c9['internaldial']['value'];break;case _0x1cd3('0x8f6'):break;default:_0x48ca6f[0x0]=_0x4d68c9[_0x1cd3('0x2573')][_0x1cd3('0x368')];_0x48ca6f[0x1]=_0x4d68c9['internaldial']['timeout'];_0x48ca6f[0x2]=_0x4d68c9['internaldial'][_0x1cd3('0x422')];_0x48ca6f[0x3]=_0x4d68c9['internaldial'][_0x1cd3('0x3a4')];_0x4d68c9[_0x1cd3('0x2573')][_0x1cd3('0x127d')]=_0x48ca6f[_0x1cd3('0x3de')](',');}}_0x4b0249(_0x4d68c9['internaldial']);}function _0x4b0249(_0x111792){_0x578b2f[_0x1cd3('0x39d')](_0x111792);}}}());(function(){'use strict';_0x513a65[_0x1cd3('0xc')]=[_0x1cd3('0x53e'),_0x1cd3('0x3c5'),_0x1cd3('0x586'),_0x1cd3('0xcd4'),'interval',_0x1cd3('0xef9'),_0x1cd3('0x461'),_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x2d'))[_0x1cd3('0x39b')](_0x1cd3('0x25b0'),_0x513a65);function _0x513a65(_0x4e7b1e,_0x48cebc,_0x30ec56,_0x3f2e3c,_0x255bc3,_0x4c8ee8,_0x3ab2f1,_0x52d62a,_0x38930d,_0x3cbaca){var _0x5cf88e=this;_0x5cf88e[_0x1cd3('0x3ca')]=_0x38930d['getCurrentUser']();_0x5cf88e['errors']=[];_0x5cf88e['title']=_0x1cd3('0x1292');_0x5cf88e[_0x1cd3('0x77e')]=angular['copy'](_0x255bc3);_0x5cf88e[_0x1cd3('0xef9')]=_0x4c8ee8;_0x5cf88e[_0x1cd3('0x1293')]=![];_0x5cf88e[_0x1cd3('0x1294')]=['always',_0x1cd3('0x8f6'),'list'];_0x5cf88e['crudPermissions']=_0x3cbaca;_0x5cf88e[_0x1cd3('0x1295')]=_0x3f2e3c[_0x1cd3('0x1908')]();_0x5cf88e[_0x1cd3('0x1909')]=_0x3f2e3c[_0x1cd3('0x1296')]();_0x5cf88e['monthName']=_0x3f2e3c[_0x1cd3('0x1297')]();_0x5cf88e[_0x1cd3('0x1298')]=_0x3f2e3c[_0x1cd3('0x1c6f')]();if(!_0x5cf88e[_0x1cd3('0x77e')]){_0x5cf88e[_0x1cd3('0x77e')]={'interval':_0x1cd3('0x1216')};_0x5cf88e[_0x1cd3('0x424')]=_0x1cd3('0x1213');_0x5cf88e[_0x1cd3('0x486')]=_0x1cd3('0x1c70');_0x5cf88e[_0x1cd3('0x1293')]=!![];}else{if(_0x5cf88e[_0x1cd3('0x77e')][_0x1cd3('0x77e')]!==_0x1cd3('0x1216')){_0x5cf88e[_0x1cd3('0x424')]=_0x1cd3('0x8f6');var _0x1b8766=_0x5cf88e[_0x1cd3('0x77e')]['interval'][_0x1cd3('0x3ef')](',');var _0xdd43d6=_0x1b8766[0x0];var _0xcf702d=_0x1b8766[0x1];var _0x721c89=_0x1b8766[0x2];var _0x189b38=_0x1b8766[0x3];if(_0xdd43d6!=='*'){var _0x2dfb38=_0xdd43d6['split']('-')[0x0];var _0x4342d7=_0xdd43d6[_0x1cd3('0x3ef')]('-')[0x1];var _0x17bd17;_0x17bd17=new Date();_0x17bd17['setHours'](Number(_0x2dfb38[_0x1cd3('0x3ef')](':')[0x0]));_0x17bd17[_0x1cd3('0x1299')](Number(_0x2dfb38[_0x1cd3('0x3ef')](':')[0x1]));_0x5cf88e['timeRangeFrom']=_0x17bd17;_0x17bd17=new Date();_0x17bd17[_0x1cd3('0x129a')](Number(_0x4342d7['split'](':')[0x0]));_0x17bd17[_0x1cd3('0x1299')](Number(_0x4342d7[_0x1cd3('0x3ef')](':')[0x1]));_0x5cf88e[_0x1cd3('0x129b')]=_0x17bd17;}if(_0xcf702d!=='*'){_0x5cf88e['dayOfWeekFrom']=_0xcf702d[_0x1cd3('0x3ef')]('-')[0x0];_0x5cf88e[_0x1cd3('0x12a8')]=_0xcf702d[_0x1cd3('0x3ef')]('-')[0x1];}if(_0x721c89!=='*'){_0x5cf88e[_0x1cd3('0x129d')]=_0x721c89[_0x1cd3('0x3ef')]('-')[0x0];_0x5cf88e[_0x1cd3('0x129e')]=_0x721c89[_0x1cd3('0x3ef')]('-')[0x1];}if(_0x189b38!=='*'){_0x5cf88e[_0x1cd3('0x129f')]=_0x189b38[_0x1cd3('0x3ef')]('-')[0x0];_0x5cf88e[_0x1cd3('0x12a0')]=_0x189b38[_0x1cd3('0x3ef')]('-')[0x1];}}else{_0x5cf88e['type']='always';}}if(_0x4e7b1e['params']['id']&&!_0x5cf88e[_0x1cd3('0x77e')]['application']){_0x5cf88e[_0x1cd3('0x77e')][_0x1cd3('0xf4b')]=_0x4e7b1e[_0x1cd3('0x36a')]['id'];}if(_0x5cf88e[_0x1cd3('0x77e')][_0x1cd3('0xf4b')]&&_0x5cf88e['interval']['application']){_0x5cf88e[_0x1cd3('0x424')]='list';}_0x5cf88e[_0x1cd3('0x12a2')]=_0x307e4e;_0x5cf88e[_0x1cd3('0x190b')]=_0x31642f;_0x5cf88e['closeDialog']=_0x40db82;if(_0x5cf88e[_0x1cd3('0x77e')][_0x1cd3('0x12a1')]){_0x38930d[_0x1cd3('0x57')]('admin')?_0x52d62a[_0x1cd3('0x77e')][_0x1cd3('0x361')]({'fields':_0x1cd3('0x12a3'),'IntervalId':'null','nolimit':!![]})['$promise'][_0x1cd3('0x77')](function(_0x34ad34){_0x5cf88e['intervals']=_0x34ad34[_0x1cd3('0xf6')]||[];})['catch'](function(_0x2e2643){_0x3ab2f1['error']({'title':_0x2e2643[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x2e2643[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x2e2643[_0x1cd3('0xd35')]:_0x1cd3('0x12a4'),'msg':_0x2e2643[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x2e2643[_0x1cd3('0x439')]):_0x2e2643[_0x1cd3('0x43b')]()});}):_0x52d62a[_0x1cd3('0x77e')][_0x1cd3('0x361')]({'fields':_0x1cd3('0x12a3'),'IntervalId':_0x1cd3('0x220'),'nolimit':!![]})[_0x1cd3('0x81')]['then'](function(_0x530b75){_0x5cf88e[_0x1cd3('0xef9')]=_0x530b75[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x52d62a[_0x1cd3('0x390')]['get']({'userProfileId':_0x5cf88e[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x3ec})['$promise'];})[_0x1cd3('0x77')](function(_0x46f1c1){var _0x4f7eea=_0x46f1c1&&_0x46f1c1[_0x1cd3('0xf6')]?_0x46f1c1[_0x1cd3('0xf6')][0x0]:null;if(!_0x4f7eea){_0x5cf88e['intervals']=[];}else{if(!_0x4f7eea['autoAssociation']){return _0x52d62a[_0x1cd3('0x392')]['get']({'sectionId':_0x4f7eea['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x424395){var _0x2d69c4=_0x424395&&_0x424395[_0x1cd3('0xf6')]?_0x424395[_0x1cd3('0xf6')]:[];var _0x2be7a6=[];var _0x46a467=null;if(_0x5cf88e[_0x1cd3('0x77e')]){_0x46a467=_[_0x1cd3('0x442')](_0x5cf88e[_0x1cd3('0xef9')],{'name':_0x5cf88e[_0x1cd3('0x77e')][_0x1cd3('0xf4b')]});}if(_0x46a467&&!_[_0x1cd3('0x38d')](_0x2d69c4,['resourceId',_0x46a467['id']])){_0x5cf88e[_0x1cd3('0xef9')][_0x1cd3('0x394')](function(_0x1ce047){if(_0x1ce047['id']===_0x46a467['id']){_0x1ce047[_0x1cd3('0xf4a')]=![];_0x2be7a6[_0x1cd3('0x7b')](_0x1ce047);}});}_0x5cf88e[_0x1cd3('0xef9')]=_0x2be7a6;});}}})[_0x1cd3('0xfd')](function(_0x195674){_0x3ab2f1[_0x1cd3('0x434')]({'title':_0x195674[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x195674[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x195674[_0x1cd3('0xd35')]:_0x1cd3('0x12a4'),'msg':_0x195674[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x195674[_0x1cd3('0x439')]):_0x195674[_0x1cd3('0x43b')]()});});}function _0x57187d(){switch(_0x5cf88e[_0x1cd3('0x424')]){case'always':case _0x1cd3('0x9d5'):return _0x1cd3('0x1216');case _0x1cd3('0x8f6'):var _0x5c5fdc=[];if(_0x5cf88e['timeRangeFrom']!=='*'&&_0x5cf88e[_0x1cd3('0x12a5')]&&_0x5cf88e['timeRangeTo']){var _0xb6581d=(_0x5cf88e[_0x1cd3('0x12a5')]['getHours']()<0xa?'0':'')+_0x5cf88e['timeRangeFrom'][_0x1cd3('0x12a6')]()+':'+((_0x5cf88e[_0x1cd3('0x12a5')][_0x1cd3('0x12a7')]()<0xa?'0':'')+_0x5cf88e['timeRangeFrom'][_0x1cd3('0x12a7')]());var _0x2cd864=(_0x5cf88e[_0x1cd3('0x129b')][_0x1cd3('0x12a6')]()<0xa?'0':'')+_0x5cf88e[_0x1cd3('0x129b')][_0x1cd3('0x12a6')]()+':'+((_0x5cf88e[_0x1cd3('0x129b')][_0x1cd3('0x12a7')]()<0xa?'0':'')+_0x5cf88e['timeRangeTo']['getMinutes']());_0x5c5fdc[_0x1cd3('0x7b')](_0xb6581d+'-'+_0x2cd864);}else{_0x5c5fdc[_0x1cd3('0x7b')]('*');}if(_0x5cf88e[_0x1cd3('0x129c')]){if(_0x5cf88e['dayOfWeekTo']){_0x5c5fdc['push'](_0x5cf88e['dayOfWeekFrom']+'-'+_0x5cf88e[_0x1cd3('0x12a8')]);}else{_0x5c5fdc[_0x1cd3('0x7b')](_0x5cf88e[_0x1cd3('0x129c')]);}}else{_0x5c5fdc[_0x1cd3('0x7b')]('*');}if(_0x5cf88e[_0x1cd3('0x129d')]){if(_0x5cf88e[_0x1cd3('0x129e')]){_0x5c5fdc[_0x1cd3('0x7b')](_0x5cf88e[_0x1cd3('0x129d')]+'-'+_0x5cf88e['monthDayTo']);}else{_0x5c5fdc['push'](_0x5cf88e[_0x1cd3('0x129d')]);}}else{_0x5c5fdc['push']('*');}if(_0x5cf88e[_0x1cd3('0x129f')]){if(_0x5cf88e[_0x1cd3('0x12a0')]){_0x5c5fdc[_0x1cd3('0x7b')](_0x5cf88e[_0x1cd3('0x129f')]+'-'+_0x5cf88e['monthTo']);}else{_0x5c5fdc[_0x1cd3('0x7b')](_0x5cf88e[_0x1cd3('0x129f')]);}}else{_0x5c5fdc[_0x1cd3('0x7b')]('*');}return _0x5c5fdc[_0x1cd3('0x3de')]();}}function _0x307e4e(){_0x5cf88e[_0x1cd3('0xd34')]=[];_0x5cf88e[_0x1cd3('0x77e')][_0x1cd3('0x77e')]=_0x57187d();_0x52d62a[_0x1cd3('0x77e')][_0x1cd3('0xd6d')](_0x5cf88e['interval'])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x2e8ec1){_0x5cf88e[_0x1cd3('0xef9')][_0x1cd3('0x7b')](_0x2e8ec1);_0x3ab2f1[_0x1cd3('0x473')]({'title':'Interval\x20properly\x20created','msg':_0x5cf88e[_0x1cd3('0x77e')][_0x1cd3('0x98')]?_0x5cf88e['interval'][_0x1cd3('0x98')]+_0x1cd3('0xd33'):''});_0x40db82();})[_0x1cd3('0xfd')](function(_0x229edf){console[_0x1cd3('0x434')](_0x229edf);_0x5cf88e['errors']=_0x229edf[_0x1cd3('0x439')]['errors']||[{'message':_0x229edf[_0x1cd3('0x43b')](),'type':'api.interval.save'}];});}function _0x31642f(){_0x5cf88e[_0x1cd3('0xd34')]=[];_0x5cf88e[_0x1cd3('0x77e')][_0x1cd3('0x77e')]=_0x57187d();if(_0x5cf88e[_0x1cd3('0x77e')][_0x1cd3('0x12a1')]){_0x5cf88e[_0x1cd3('0x424')]!==_0x1cd3('0x9d5')&&(_0x5cf88e[_0x1cd3('0x77e')][_0x1cd3('0xf4b')]=null);_0x40db82(_0x5cf88e[_0x1cd3('0x77e')]);}else{_0x52d62a[_0x1cd3('0x77e')][_0x1cd3('0x378')]({'id':_0x5cf88e[_0x1cd3('0x77e')]['id']},_0x5cf88e[_0x1cd3('0x77e')])[_0x1cd3('0x81')]['then'](function(_0x32aa16){var _0x1d5bd7=_[_0x1cd3('0x442')](_0x5cf88e[_0x1cd3('0xef9')],{'id':_0x32aa16['id']});if(_0x1d5bd7){_[_0x1cd3('0xf2')](_0x1d5bd7,_0x32aa16);}_0x3ab2f1['success']({'title':_0x1cd3('0x12ab'),'msg':_0x1cd3('0x12ac')});_0x40db82();})[_0x1cd3('0xfd')](function(_0x3a3c0e){console['error'](_0x3a3c0e);_0x5cf88e[_0x1cd3('0xd34')]=_0x3a3c0e[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x3a3c0e[_0x1cd3('0x43b')](),'type':_0x1cd3('0x12ad')}];});}}function _0x40db82(_0x172e12){_0x48cebc['hide'](_0x172e12);}}}());(function(){'use strict';_0x464239[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),'$q',_0x1cd3('0x461'),_0x1cd3('0x25b6'),'internalroute',_0x1cd3('0x370'),'Auth',_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x2d'))[_0x1cd3('0x39b')](_0x1cd3('0x25bd'),_0x464239);function _0x464239(_0x58772f,_0x14b4e1,_0x2993f8,_0x50918a,_0x778c19,_0x1321ea,_0x2b4171,_0x58b077){var _0x12129f=this;_0x12129f[_0x1cd3('0x3ca')]=_0x2b4171[_0x1cd3('0x5d')]();_0x12129f[_0x1cd3('0xd34')]=[];_0x12129f[_0x1cd3('0x486')]=_0x1cd3('0x256b')+(_0x50918a[_0x1cd3('0x125b')]||_0x50918a[_0x1cd3('0xd0a')])[_0x1cd3('0x437')]();_0x12129f[_0x1cd3('0x2531')]=angular['copy'](_0x50918a);_0x12129f[_0x1cd3('0xd27')]=_0x58b077;_0x12129f[_0x1cd3('0xd28')]={};if(_0x12129f[_0x1cd3('0x2531')][_0x1cd3('0x127d')]){switch(_0x12129f['playback'][_0x1cd3('0x125b')]?_0x12129f[_0x1cd3('0x2531')][_0x1cd3('0x125b')][_0x1cd3('0x433')]():_0x12129f[_0x1cd3('0x2531')][_0x1cd3('0xd0a')][_0x1cd3('0x433')]()){case _0x1cd3('0x8f6'):break;case _0x1cd3('0x1233'):var _0x2f7937=_0x12129f[_0x1cd3('0x2531')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x12129f['playback'][_0x1cd3('0x65c')]=_0x2f7937[0x0];_0x12129f[_0x1cd3('0x2531')][_0x1cd3('0x3f3')]=_0x2f7937[0x1];_0x12129f['playback']['welcomemessage']=_0x2f7937[_0x1cd3('0x9a2')](0x2,_0x2f7937[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x1247'):var _0x2f7937=_0x12129f[_0x1cd3('0x2531')][_0x1cd3('0x127d')]['split'](',');_0x12129f[_0x1cd3('0x2531')][_0x1cd3('0x1248')]=_0x2f7937[0x0];_0x12129f['playback'][_0x1cd3('0x1249')]=_0x2f7937[0x1];_0x12129f['playback'][_0x1cd3('0x124a')]=_0x2f7937[0x2];_0x12129f['playback'][_0x1cd3('0x124f')]=_0x2f7937[0x3];_0x12129f['playback'][_0x1cd3('0x1246')]=_0x2f7937['slice'](0x4,_0x2f7937[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case'autoreply':var _0x2f7937=_0x12129f[_0x1cd3('0x2531')]['appdata'][_0x1cd3('0x3ef')](',');_0x12129f[_0x1cd3('0x2531')][_0x1cd3('0x122c')]=isNaN(_0x2f7937[0x0])?_0x2f7937[0x0]:parseInt(_0x2f7937[0x0],0xa);_0x12129f[_0x1cd3('0x2531')]['text']=_0x2f7937[_0x1cd3('0x9a2')](0x1,_0x2f7937['length'])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x43a'):_0x12129f[_0x1cd3('0x2531')][_0x1cd3('0x401')]=_0x12129f[_0x1cd3('0x2531')][_0x1cd3('0x127d')];break;case'set':_0x12129f['playback']['name']=_0x12129f[_0x1cd3('0x2531')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x0];_0x12129f['playback']['value']=_0x12129f[_0x1cd3('0x2531')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x1];break;case _0x1cd3('0x128c'):_0x12129f[_0x1cd3('0x2531')]['project']=_0x12129f[_0x1cd3('0x2531')]['appdata'];break;default:var _0xcb2a11=_0x12129f[_0x1cd3('0x2531')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x12129f[_0x1cd3('0x2531')][_0x1cd3('0x127d')]=_['isEmpty'](_0xcb2a11[0x0])?_0xcb2a11[0x0]:isNaN(_0xcb2a11[0x0])?_0xcb2a11[0x0]:parseInt(_0xcb2a11[0x0],0xa);_0x12129f[_0x1cd3('0x2531')][_0x1cd3('0x422')]=_[_0x1cd3('0x398')](_0xcb2a11[0x1])?_0xcb2a11[0x1]:isNaN(_0xcb2a11[0x1])?_0xcb2a11[0x1]:parseInt(_0xcb2a11[0x1],0xa);}}else{}if(_0x12129f[_0x1cd3('0x2531')]['type']&&_0x12129f[_0x1cd3('0x2531')][_0x1cd3('0x424')][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x12129f[_0x1cd3('0x2531')][_0x1cd3('0x125b')][_0x1cd3('0x433')]()==='outbounddial'){_0x12129f[_0x1cd3('0x2531')][_0x1cd3('0x6aa')]=_0x12129f[_0x1cd3('0x2531')][_0x1cd3('0xf09')]?_0x12129f[_0x1cd3('0x2531')]['phone']['split']('$')[0x0]:undefined;_0x12129f['playback'][_0x1cd3('0x689')]=_0x12129f['playback'][_0x1cd3('0x127f')]?_0x1cd3('0x1280')+_0x12129f[_0x1cd3('0x2531')]['callerID']:undefined;}_0x12129f[_0x1cd3('0x25b5')]=_0x2d7995;_0x12129f[_0x1cd3('0x39c')]=_0x262ba1;_0x2b4171[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x1321ea['sound'][_0x1cd3('0x361')]({'fields':'id,name,save_name','sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x2ae755){_0x12129f[_0x1cd3('0xef6')]=_0x2ae755[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x21568f){_0x2993f8['error']({'title':_0x21568f['status']?_0x1cd3('0x435')+_0x21568f[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x21568f[_0x1cd3('0xd35')]:_0x1cd3('0x2577'),'msg':_0x21568f[_0x1cd3('0x439')]?JSON['stringify'](_0x21568f['data']):_0x21568f[_0x1cd3('0x43b')]()});}):_0x1321ea[_0x1cd3('0xf53')][_0x1cd3('0x361')]({'fields':_0x1cd3('0x2524'),'sort':'name','nolimit':'true'})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x37162f){_0x12129f[_0x1cd3('0xef6')]=_0x37162f[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x1321ea[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x12129f[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x3ef})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x5be415){var _0x2095bd=_0x5be415&&_0x5be415['rows']?_0x5be415[_0x1cd3('0xf6')][0x0]:null;if(!_0x2095bd){var _0x47731c=[];var _0x1eca78=null;if(_0x12129f[_0x1cd3('0x2531')]){_0x1eca78=_['find'](_0x12129f[_0x1cd3('0xef6')],{'save_name':_0x12129f[_0x1cd3('0x2531')][_0x1cd3('0x127d')]});}for(var _0x1d3f89=0x0;_0x1d3f89<_0x12129f[_0x1cd3('0xef6')][_0x1cd3('0x7a')];_0x1d3f89++){if(_0x1eca78&&_0x12129f[_0x1cd3('0xef6')][_0x1d3f89]['id']===_0x1eca78['id']){_0x12129f[_0x1cd3('0xef6')][_0x1d3f89][_0x1cd3('0xf4a')]=![];_0x47731c[_0x1cd3('0x7b')](_0x12129f[_0x1cd3('0xef6')][_0x1d3f89]);}}_0x12129f[_0x1cd3('0xef6')]=_0x47731c;}else{if(!_0x2095bd[_0x1cd3('0x391')]){return _0x1321ea[_0x1cd3('0x392')]['get']({'sectionId':_0x2095bd['id']})['$promise'][_0x1cd3('0x77')](function(_0x4832de){var _0x3395ac=_[_0x1cd3('0x3d9')](_0x4832de['rows'],function(_0x3d57ab){return _[_0x1cd3('0x442')](_0x12129f[_0x1cd3('0xef6')],{'id':_0x3d57ab['resourceId']});});var _0x4d7460=null;if(_0x12129f[_0x1cd3('0x2531')]){_0x4d7460=_['find'](_0x12129f[_0x1cd3('0xef6')],{'save_name':_0x12129f[_0x1cd3('0x2531')]['appdata']});}if(_0x4d7460&&!_['some'](_0x3395ac,['id',_0x4d7460['id']])){var _0x413b07=_[_0x1cd3('0x442')](_0x12129f[_0x1cd3('0xef6')],{'id':_0x4d7460['id']});_0x413b07[_0x1cd3('0xf4a')]=![];_0x3395ac[_0x1cd3('0x7b')](_0x413b07);}_0x12129f['sounds']=_0x3395ac;});}}})[_0x1cd3('0xfd')](function(_0x5d121c){_0x2993f8[_0x1cd3('0x434')]({'title':_0x5d121c[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x5d121c['status']+'\x20-\x20'+_0x5d121c[_0x1cd3('0xd35')]:'SYSTEM:GETsounds','msg':_0x5d121c[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x5d121c[_0x1cd3('0x439')]):_0x5d121c['toString']()});});function _0x2d7995(){_0x12129f[_0x1cd3('0xd34')]=[];var _0x58488e=[];if(_0x12129f[_0x1cd3('0x2531')][_0x1cd3('0x424')]&&_0x12129f['playback'][_0x1cd3('0x424')][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x12129f[_0x1cd3('0x2531')][_0x1cd3('0x125b')]===_0x1cd3('0x1283')){_0x12129f[_0x1cd3('0x2531')][_0x1cd3('0xf09')]=_0x778c19['cutdigits']?(_0x12129f[_0x1cd3('0x2531')][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x1284')+_0x778c19[_0x1cd3('0x128a')]+'}':(_0x12129f['playback'][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x128d');if(_0x778c19[_0x1cd3('0x1285')]!==_0x1cd3('0x6ae')){if(_0x12129f[_0x1cd3('0x2531')][_0x1cd3('0x422')][_0x1cd3('0x45e')]('U(xcally-mixmonitor-context)')<0x0){_0x12129f['playback']['options']+=_0x1cd3('0x1286');}}else{_0x12129f[_0x1cd3('0x2531')]['options']=_0x12129f['playback']['options'][_0x1cd3('0x3f1')](_0x1cd3('0x1286'),'');}}if(_0x12129f[_0x1cd3('0x2531')]['appType']&&_0x12129f[_0x1cd3('0x2531')][_0x1cd3('0x125b')]===_0x1cd3('0x8f6')){}else{switch((_0x12129f[_0x1cd3('0x2531')][_0x1cd3('0xd0a')]||_0x12129f[_0x1cd3('0x2531')]['appType'])[_0x1cd3('0x433')]()){case _0x1cd3('0x127e'):_0x12129f['playback'][_0x1cd3('0x127d')]=_0x12129f[_0x1cd3('0x2531')][_0x1cd3('0x98')]+'='+_0x12129f[_0x1cd3('0x2531')][_0x1cd3('0x3db')];break;case _0x1cd3('0x8f6'):break;default:_0x58488e[0x0]=_0x12129f[_0x1cd3('0x2531')]['appdata'];_0x58488e[0x1]=_0x12129f[_0x1cd3('0x2531')][_0x1cd3('0x422')];_0x12129f[_0x1cd3('0x2531')][_0x1cd3('0x127d')]=_0x58488e[_0x1cd3('0x3de')](',');}}_0x262ba1(_0x12129f['playback']);}function _0x262ba1(_0x157d03){_0x58772f['hide'](_0x157d03);}}}());(function(){'use strict';_0x475d64['$inject']=[_0x1cd3('0x3c5'),'$q',_0x1cd3('0x461'),_0x1cd3('0x25b6'),_0x1cd3('0x258f'),'api',_0x1cd3('0x56'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')]('app.voice')['controller'](_0x1cd3('0x25be'),_0x475d64);function _0x475d64(_0x43f637,_0xdc6cb6,_0x43004a,_0xe5f533,_0x20333d,_0x2ab813,_0x119ee3,_0x12dc95){var _0x589d0d=this;_0x589d0d[_0x1cd3('0x3ca')]=_0x119ee3[_0x1cd3('0x5d')]();_0x589d0d['errors']=[];_0x589d0d[_0x1cd3('0x486')]=_0x1cd3('0x256b')+(_0xe5f533['appType']||_0xe5f533['app'])['toUpperCase']();_0x589d0d[_0x1cd3('0x1220')]=angular[_0x1cd3('0x429')](_0xe5f533);_0x589d0d[_0x1cd3('0xd27')]=_0x12dc95;_0x589d0d['hasModulePermissions']={};if(_0x589d0d['queue'][_0x1cd3('0x127d')]){switch(_0x589d0d['queue'][_0x1cd3('0x125b')]?_0x589d0d[_0x1cd3('0x1220')]['appType'][_0x1cd3('0x433')]():_0x589d0d[_0x1cd3('0x1220')]['app'][_0x1cd3('0x433')]()){case _0x1cd3('0x8f6'):break;case _0x1cd3('0x1233'):var _0x555ba4=_0x589d0d[_0x1cd3('0x1220')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x589d0d[_0x1cd3('0x1220')][_0x1cd3('0x65c')]=_0x555ba4[0x0];_0x589d0d['queue'][_0x1cd3('0x3f3')]=_0x555ba4[0x1];_0x589d0d[_0x1cd3('0x1220')][_0x1cd3('0x1246')]=_0x555ba4[_0x1cd3('0x9a2')](0x2,_0x555ba4[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x1247'):var _0x555ba4=_0x589d0d['queue'][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x589d0d['queue'][_0x1cd3('0x1248')]=_0x555ba4[0x0];_0x589d0d['queue'][_0x1cd3('0x1249')]=_0x555ba4[0x1];_0x589d0d[_0x1cd3('0x1220')][_0x1cd3('0x124a')]=_0x555ba4[0x2];_0x589d0d[_0x1cd3('0x1220')]['botname']=_0x555ba4[0x3];_0x589d0d[_0x1cd3('0x1220')][_0x1cd3('0x1246')]=_0x555ba4[_0x1cd3('0x9a2')](0x4,_0x555ba4['length'])[_0x1cd3('0x3de')](',');break;case'autoreply':var _0x555ba4=_0x589d0d[_0x1cd3('0x1220')]['appdata'][_0x1cd3('0x3ef')](',');_0x589d0d[_0x1cd3('0x1220')]['times']=isNaN(_0x555ba4[0x0])?_0x555ba4[0x0]:parseInt(_0x555ba4[0x0],0xa);_0x589d0d[_0x1cd3('0x1220')]['text']=_0x555ba4[_0x1cd3('0x9a2')](0x1,_0x555ba4[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case'message':_0x589d0d['queue'][_0x1cd3('0x401')]=_0x589d0d['queue'][_0x1cd3('0x127d')];break;case'set':_0x589d0d[_0x1cd3('0x1220')][_0x1cd3('0x98')]=_0x589d0d[_0x1cd3('0x1220')][_0x1cd3('0x127d')]['split']('=')[0x0];_0x589d0d['queue']['value']=_0x589d0d[_0x1cd3('0x1220')][_0x1cd3('0x127d')]['split']('=')[0x1];break;case'agi':_0x589d0d['queue']['project']=_0x589d0d[_0x1cd3('0x1220')][_0x1cd3('0x127d')];break;default:var _0x445e1e=_0x589d0d[_0x1cd3('0x1220')]['appdata']['split'](',');_0x589d0d[_0x1cd3('0x1220')][_0x1cd3('0x1220')]=_[_0x1cd3('0x398')](_0x445e1e[0x0])?_0x445e1e[0x0]:isNaN(_0x445e1e[0x0])?_0x445e1e[0x0]:parseInt(_0x445e1e[0x0],0xa);_0x589d0d[_0x1cd3('0x1220')]['options']=_[_0x1cd3('0x398')](_0x445e1e[0x1])?_0x445e1e[0x1]:isNaN(_0x445e1e[0x1])?_0x445e1e[0x1]:parseInt(_0x445e1e[0x1],0xa);_0x589d0d[_0x1cd3('0x1220')][_0x1cd3('0x1815')]=_[_0x1cd3('0x398')](_0x445e1e[0x2])?_0x445e1e[0x2]:isNaN(_0x445e1e[0x2])?_0x445e1e[0x2]:parseInt(_0x445e1e[0x2],0xa);_0x589d0d[_0x1cd3('0x1220')][_0x1cd3('0xf53')]=_[_0x1cd3('0x398')](_0x445e1e[0x3])?_0x445e1e[0x3]:isNaN(_0x445e1e[0x3])?_0x445e1e[0x3]:parseInt(_0x445e1e[0x3],0xa);_0x589d0d[_0x1cd3('0x1220')]['timeout']=_[_0x1cd3('0x398')](_0x445e1e[0x4])?_0x445e1e[0x4]:isNaN(_0x445e1e[0x4])?_0x445e1e[0x4]:parseInt(_0x445e1e[0x4],0xa);_0x589d0d['queue']['agi']=_[_0x1cd3('0x398')](_0x445e1e[0x5])?_0x445e1e[0x5]:isNaN(_0x445e1e[0x5])?_0x445e1e[0x5]:parseInt(_0x445e1e[0x5],0xa);_0x589d0d['queue'][_0x1cd3('0x252c')]=_[_0x1cd3('0x398')](_0x445e1e[0x6])?_0x445e1e[0x6]:isNaN(_0x445e1e[0x6])?_0x445e1e[0x6]:parseInt(_0x445e1e[0x6],0xa);_0x589d0d[_0x1cd3('0x1220')]['gosub']=_[_0x1cd3('0x398')](_0x445e1e[0x7])?_0x445e1e[0x7]:isNaN(_0x445e1e[0x7])?_0x445e1e[0x7]:parseInt(_0x445e1e[0x7],0xa);_0x589d0d[_0x1cd3('0x1220')][_0x1cd3('0x252e')]=_[_0x1cd3('0x398')](_0x445e1e[0x8])?_0x445e1e[0x8]:isNaN(_0x445e1e[0x8])?_0x445e1e[0x8]:parseInt(_0x445e1e[0x8],0xa);_0x589d0d[_0x1cd3('0x1220')]['position']=_[_0x1cd3('0x398')](_0x445e1e[0x9])?_0x445e1e[0x9]:isNaN(_0x445e1e[0x9])?_0x445e1e[0x9]:parseInt(_0x445e1e[0x9],0xa);}}else{}if(_0x589d0d[_0x1cd3('0x1220')][_0x1cd3('0x424')]&&_0x589d0d[_0x1cd3('0x1220')]['type']['toLowerCase']()==='outbound'&&_0x589d0d['queue'][_0x1cd3('0x125b')][_0x1cd3('0x433')]()===_0x1cd3('0x1289')){_0x589d0d[_0x1cd3('0x1220')][_0x1cd3('0x6aa')]=_0x589d0d[_0x1cd3('0x1220')][_0x1cd3('0xf09')]?_0x589d0d['queue'][_0x1cd3('0xf09')]['split']('$')[0x0]:undefined;_0x589d0d[_0x1cd3('0x1220')][_0x1cd3('0x689')]=_0x589d0d['queue'][_0x1cd3('0x127f')]?'CALLERID(all)='+_0x589d0d[_0x1cd3('0x1220')][_0x1cd3('0x127f')]:undefined;}_0x589d0d[_0x1cd3('0x25b5')]=_0x38d82b;_0x589d0d['closeDialog']=_0x76b2a;_0x119ee3[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x2ab813[_0x1cd3('0xf53')][_0x1cd3('0x361')]({'fields':_0x1cd3('0x2524'),'sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x4a00c2){_0x589d0d[_0x1cd3('0xef6')]=_0x4a00c2['rows']||[];})[_0x1cd3('0xfd')](function(_0x3b498a){_0x43004a['error']({'title':_0x3b498a[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x3b498a['status']+_0x1cd3('0x436')+_0x3b498a[_0x1cd3('0xd35')]:'SYSTEM:GET_SOUNDS','msg':_0x3b498a[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x3b498a[_0x1cd3('0x439')]):_0x3b498a[_0x1cd3('0x43b')]()});}):_0x2ab813[_0x1cd3('0xf53')][_0x1cd3('0x361')]({'fields':'id,name,save_name','sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})['$promise']['then'](function(_0x2968cc){_0x589d0d[_0x1cd3('0xef6')]=_0x2968cc[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x2ab813[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x589d0d['currentUser'][_0x1cd3('0x5e')],'sectionId':0x3ef})['$promise'];})['then'](function(_0x372a66){var _0x4c78e=_0x372a66&&_0x372a66[_0x1cd3('0xf6')]?_0x372a66[_0x1cd3('0xf6')][0x0]:null;if(!_0x4c78e){var _0x26a5ef=[];var _0x5d316a=null;if(_0x589d0d['queue']){_0x5d316a=_[_0x1cd3('0x442')](_0x589d0d[_0x1cd3('0xef6')],{'save_name':_0x589d0d[_0x1cd3('0x1220')]['sound']});}for(var _0x12f426=0x0;_0x12f426<_0x589d0d[_0x1cd3('0xef6')][_0x1cd3('0x7a')];_0x12f426++){if(_0x5d316a&&_0x589d0d['sounds'][_0x12f426]['id']===_0x5d316a['id']){_0x589d0d[_0x1cd3('0xef6')][_0x12f426][_0x1cd3('0xf4a')]=![];_0x26a5ef[_0x1cd3('0x7b')](_0x589d0d[_0x1cd3('0xef6')][_0x12f426]);}}_0x589d0d['sounds']=_0x26a5ef;}else{if(!_0x4c78e[_0x1cd3('0x391')]){return _0x2ab813['userProfileResource'][_0x1cd3('0x361')]({'sectionId':_0x4c78e['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x4b271b){var _0x3307cf=_[_0x1cd3('0x3d9')](_0x4b271b[_0x1cd3('0xf6')],function(_0x551bf6){return _[_0x1cd3('0x442')](_0x589d0d[_0x1cd3('0xef6')],{'id':_0x551bf6[_0x1cd3('0xe8e')]});});var _0x5e45f6=null;if(_0x589d0d['queue']){_0x5e45f6=_[_0x1cd3('0x442')](_0x589d0d[_0x1cd3('0xef6')],{'save_name':_0x589d0d[_0x1cd3('0x1220')][_0x1cd3('0xf53')]});}if(_0x5e45f6&&!_[_0x1cd3('0x38d')](_0x3307cf,['id',_0x5e45f6['id']])){var _0x30ec06=_[_0x1cd3('0x442')](_0x589d0d[_0x1cd3('0xef6')],{'id':_0x5e45f6['id']});_0x30ec06[_0x1cd3('0xf4a')]=![];_0x3307cf[_0x1cd3('0x7b')](_0x30ec06);}_0x589d0d[_0x1cd3('0xef6')]=_0x3307cf;});}}})[_0x1cd3('0xfd')](function(_0x386402){_0x43004a[_0x1cd3('0x434')]({'title':_0x386402['status']?_0x1cd3('0x435')+_0x386402[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x386402['statusText']:_0x1cd3('0x25bf'),'msg':_0x386402['data']?JSON['stringify'](_0x386402[_0x1cd3('0x439')]):_0x386402[_0x1cd3('0x43b')]()});});_0x119ee3[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x2ab813[_0x1cd3('0xa48')]['get']({'type':'inbound','fields':_0x1cd3('0x1222'),'sort':'name','nolimit':_0x1cd3('0x2e0')})['$promise']['then'](function(_0x12ab99){_0x589d0d[_0x1cd3('0x1155')]=_0x12ab99['rows']||[];})[_0x1cd3('0xfd')](function(_0x4652e4){_0x43004a[_0x1cd3('0x434')]({'title':_0x4652e4[_0x1cd3('0x3a6')]?'API:'+_0x4652e4[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x4652e4[_0x1cd3('0xd35')]:_0x1cd3('0x12af'),'msg':_0x4652e4['data']?JSON[_0x1cd3('0x438')](_0x4652e4[_0x1cd3('0x439')]):_0x4652e4[_0x1cd3('0x43b')]()});}):_0x2ab813[_0x1cd3('0xa48')][_0x1cd3('0x361')]({'type':'inbound','fields':_0x1cd3('0x1222'),'sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x461308){_0x589d0d[_0x1cd3('0x1155')]=_0x461308[_0x1cd3('0xf6')]||[];})['then'](function(){return _0x2ab813[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x589d0d[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x191})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x5dc5b9){var _0x2da05f=_0x5dc5b9&&_0x5dc5b9[_0x1cd3('0xf6')]?_0x5dc5b9[_0x1cd3('0xf6')][0x0]:null;if(!_0x2da05f){var _0x67e49f=[];var _0x56dfd8=null;if(_0x589d0d[_0x1cd3('0x1220')]){_0x56dfd8=_['find'](_0x589d0d[_0x1cd3('0x1155')],{'name':_0x589d0d[_0x1cd3('0x1220')]['queue']});}for(var _0x3b69d7=0x0;_0x3b69d7<_0x589d0d['queues'][_0x1cd3('0x7a')];_0x3b69d7++){if(_0x56dfd8&&_0x589d0d[_0x1cd3('0x1155')][_0x3b69d7]['id']===_0x56dfd8['id']){_0x589d0d[_0x1cd3('0x1155')][_0x3b69d7]['canSelect']=![];_0x67e49f[_0x1cd3('0x7b')](_0x589d0d[_0x1cd3('0x1155')][_0x3b69d7]);}}_0x589d0d[_0x1cd3('0x1155')]=_0x67e49f;}else{if(!_0x2da05f['autoAssociation']){return _0x2ab813[_0x1cd3('0x392')]['get']({'sectionId':_0x2da05f['id']})['$promise'][_0x1cd3('0x77')](function(_0xa10f41){var _0x2ad8c4=_['map'](_0xa10f41['rows'],function(_0x1a35da){return _[_0x1cd3('0x442')](_0x589d0d[_0x1cd3('0x1155')],{'id':_0x1a35da[_0x1cd3('0xe8e')]});});var _0x161e6b=null;if(_0x589d0d[_0x1cd3('0x1220')]){_0x161e6b=_[_0x1cd3('0x442')](_0x589d0d[_0x1cd3('0x1155')],{'name':_0x589d0d[_0x1cd3('0x1220')][_0x1cd3('0x1220')]});}if(_0x161e6b&&!_[_0x1cd3('0x38d')](_0x2ad8c4,['id',_0x161e6b['id']])){var _0x479a6a=_[_0x1cd3('0x442')](_0x589d0d['queues'],{'id':_0x161e6b['id']});_0x479a6a[_0x1cd3('0xf4a')]=![];_0x2ad8c4[_0x1cd3('0x7b')](_0x479a6a);}_0x589d0d[_0x1cd3('0x1155')]=_0x2ad8c4;});}}})['catch'](function(_0x4e21e3){_0x43004a[_0x1cd3('0x434')]({'title':_0x4e21e3[_0x1cd3('0x3a6')]?'API:'+_0x4e21e3['status']+'\x20-\x20'+_0x4e21e3['statusText']:_0x1cd3('0x12b0'),'msg':_0x4e21e3[_0x1cd3('0x439')]?JSON['stringify'](_0x4e21e3[_0x1cd3('0x439')]):_0x4e21e3[_0x1cd3('0x43b')]()});});function _0x38d82b(){_0x589d0d[_0x1cd3('0xd34')]=[];var _0x2e58c2=[];if(_0x589d0d[_0x1cd3('0x1220')]['type']&&_0x589d0d[_0x1cd3('0x1220')][_0x1cd3('0x424')][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x589d0d[_0x1cd3('0x1220')][_0x1cd3('0x125b')]===_0x1cd3('0x1283')){_0x589d0d[_0x1cd3('0x1220')][_0x1cd3('0xf09')]=_0x20333d[_0x1cd3('0x128a')]?(_0x589d0d['queue'][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x1284')+_0x20333d[_0x1cd3('0x128a')]+'}':(_0x589d0d['queue'][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x128d');if(_0x20333d[_0x1cd3('0x1285')]!==_0x1cd3('0x6ae')){if(_0x589d0d[_0x1cd3('0x1220')][_0x1cd3('0x422')][_0x1cd3('0x45e')](_0x1cd3('0x1286'))<0x0){_0x589d0d[_0x1cd3('0x1220')][_0x1cd3('0x422')]+=_0x1cd3('0x1286');}}else{_0x589d0d[_0x1cd3('0x1220')][_0x1cd3('0x422')]=_0x589d0d[_0x1cd3('0x1220')][_0x1cd3('0x422')]['replace'](_0x1cd3('0x1286'),'');}}if(_0x589d0d[_0x1cd3('0x1220')]['appType']&&_0x589d0d[_0x1cd3('0x1220')][_0x1cd3('0x125b')]===_0x1cd3('0x8f6')){}else{switch((_0x589d0d['queue']['app']||_0x589d0d[_0x1cd3('0x1220')]['appType'])[_0x1cd3('0x433')]()){case'set':_0x589d0d[_0x1cd3('0x1220')]['appdata']=_0x589d0d[_0x1cd3('0x1220')][_0x1cd3('0x98')]+'='+_0x589d0d[_0x1cd3('0x1220')][_0x1cd3('0x3db')];break;case _0x1cd3('0x8f6'):break;default:_0x2e58c2[0x0]=_0x589d0d[_0x1cd3('0x1220')][_0x1cd3('0x1220')];_0x2e58c2[0x1]=_0x589d0d['queue'][_0x1cd3('0x422')];_0x2e58c2[0x2]=_0x589d0d[_0x1cd3('0x1220')]['URL'];_0x2e58c2[0x3]=_0x589d0d[_0x1cd3('0x1220')]['sound'];_0x2e58c2[0x4]=_0x589d0d[_0x1cd3('0x1220')][_0x1cd3('0x8fc')];_0x2e58c2[0x5]=_0x589d0d[_0x1cd3('0x1220')]['agi'];_0x2e58c2[0x6]=_0x589d0d[_0x1cd3('0x1220')][_0x1cd3('0x252c')];_0x2e58c2[0x7]=_0x589d0d[_0x1cd3('0x1220')]['gosub'];_0x2e58c2[0x8]=_0x589d0d[_0x1cd3('0x1220')][_0x1cd3('0x252e')];_0x2e58c2[0x9]=_0x589d0d['queue'][_0x1cd3('0x679')];_0x589d0d[_0x1cd3('0x1220')][_0x1cd3('0x127d')]=_0x2e58c2[_0x1cd3('0x3de')](',');}}_0x76b2a(_0x589d0d[_0x1cd3('0x1220')]);}function _0x76b2a(_0x816def){_0x43f637[_0x1cd3('0x39d')](_0x816def);}}}());(function(){'use strict';_0x26a6b2[_0x1cd3('0xc')]=['$mdDialog','$q',_0x1cd3('0x461'),_0x1cd3('0x25b6'),'internalroute',_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')]('app.voice')[_0x1cd3('0x39b')]('EditInternalAppringgroupDialogController',_0x26a6b2);function _0x26a6b2(_0x57b546,_0x5757d4,_0x4fc0d5,_0x1e15b9,_0x194a0d,_0x844f58,_0x4bbb1b,_0x379e3b){var _0x253409=this;_0x253409[_0x1cd3('0x3ca')]=_0x4bbb1b['getCurrentUser']();_0x253409[_0x1cd3('0xd34')]=[];_0x253409['title']=_0x1cd3('0x256b')+(_0x1e15b9[_0x1cd3('0x125b')]||_0x1e15b9['app'])[_0x1cd3('0x437')]();_0x253409[_0x1cd3('0x2578')]=angular['copy'](_0x1e15b9);_0x253409[_0x1cd3('0xd27')]=_0x379e3b;_0x253409['hasModulePermissions']={};if(_0x253409['ringgroup'][_0x1cd3('0x127d')]){switch(_0x253409[_0x1cd3('0x2578')][_0x1cd3('0x125b')]?_0x253409[_0x1cd3('0x2578')][_0x1cd3('0x125b')][_0x1cd3('0x433')]():_0x253409[_0x1cd3('0x2578')][_0x1cd3('0xd0a')][_0x1cd3('0x433')]()){case _0x1cd3('0x8f6'):break;case _0x1cd3('0x1233'):var _0x3ec6b1=_0x253409[_0x1cd3('0x2578')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x253409[_0x1cd3('0x2578')]['key']=_0x3ec6b1[0x0];_0x253409['ringgroup'][_0x1cd3('0x3f3')]=_0x3ec6b1[0x1];_0x253409['ringgroup'][_0x1cd3('0x1246')]=_0x3ec6b1[_0x1cd3('0x9a2')](0x2,_0x3ec6b1['length'])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x1247'):var _0x3ec6b1=_0x253409['ringgroup'][_0x1cd3('0x127d')]['split'](',');_0x253409[_0x1cd3('0x2578')][_0x1cd3('0x1248')]=_0x3ec6b1[0x0];_0x253409['ringgroup'][_0x1cd3('0x1249')]=_0x3ec6b1[0x1];_0x253409[_0x1cd3('0x2578')][_0x1cd3('0x124a')]=_0x3ec6b1[0x2];_0x253409[_0x1cd3('0x2578')][_0x1cd3('0x124f')]=_0x3ec6b1[0x3];_0x253409['ringgroup'][_0x1cd3('0x1246')]=_0x3ec6b1['slice'](0x4,_0x3ec6b1[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x122b'):var _0x3ec6b1=_0x253409[_0x1cd3('0x2578')]['appdata']['split'](',');_0x253409[_0x1cd3('0x2578')]['times']=isNaN(_0x3ec6b1[0x0])?_0x3ec6b1[0x0]:parseInt(_0x3ec6b1[0x0],0xa);_0x253409[_0x1cd3('0x2578')][_0x1cd3('0x401')]=_0x3ec6b1[_0x1cd3('0x9a2')](0x1,_0x3ec6b1['length'])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x43a'):_0x253409[_0x1cd3('0x2578')][_0x1cd3('0x401')]=_0x253409['ringgroup'][_0x1cd3('0x127d')];break;case _0x1cd3('0x127e'):_0x253409['ringgroup']['name']=_0x253409[_0x1cd3('0x2578')][_0x1cd3('0x127d')]['split']('=')[0x0];_0x253409['ringgroup'][_0x1cd3('0x3db')]=_0x253409['ringgroup'][_0x1cd3('0x127d')]['split']('=')[0x1];break;case _0x1cd3('0x128c'):_0x253409[_0x1cd3('0x2578')][_0x1cd3('0xedd')]=_0x253409[_0x1cd3('0x2578')][_0x1cd3('0x127d')];break;default:var _0xd87e3=_0x253409[_0x1cd3('0x2578')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x253409[_0x1cd3('0x2578')][_0x1cd3('0x253d')]=_0xd87e3[0x0]['split']('&');_0x253409[_0x1cd3('0x2578')][_0x1cd3('0x8fc')]=_[_0x1cd3('0x398')](_0xd87e3[0x1])?_0xd87e3[0x1]:isNaN(_0xd87e3[0x1])?_0xd87e3[0x1]:parseInt(_0xd87e3[0x1],0xa);_0x253409[_0x1cd3('0x2578')][_0x1cd3('0x422')]=_[_0x1cd3('0x398')](_0xd87e3[0x2])?_0xd87e3[0x2]:isNaN(_0xd87e3[0x2])?_0xd87e3[0x2]:parseInt(_0xd87e3[0x2],0xa);_0x253409['ringgroup'][_0x1cd3('0x3a4')]=_['isEmpty'](_0xd87e3[0x3])?_0xd87e3[0x3]:isNaN(_0xd87e3[0x3])?_0xd87e3[0x3]:parseInt(_0xd87e3[0x3],0xa);}}else{}if(_0x253409[_0x1cd3('0x2578')][_0x1cd3('0x424')]&&_0x253409[_0x1cd3('0x2578')][_0x1cd3('0x424')]['toLowerCase']()===_0x1cd3('0x128')&&_0x253409[_0x1cd3('0x2578')][_0x1cd3('0x125b')][_0x1cd3('0x433')]()===_0x1cd3('0x1289')){_0x253409[_0x1cd3('0x2578')][_0x1cd3('0x6aa')]=_0x253409['ringgroup']['phone']?_0x253409['ringgroup'][_0x1cd3('0xf09')][_0x1cd3('0x3ef')]('$')[0x0]:undefined;_0x253409[_0x1cd3('0x2578')][_0x1cd3('0x689')]=_0x253409[_0x1cd3('0x2578')]['callerID']?_0x1cd3('0x1280')+_0x253409[_0x1cd3('0x2578')][_0x1cd3('0x127f')]:undefined;}_0x253409[_0x1cd3('0x25b5')]=_0x19f329;_0x253409[_0x1cd3('0x39c')]=_0xfcc45c;var _0x2f47ea=[{'id':0xca,'role':_0x1cd3('0xd2')},{'id':0xcb,'role':_0x1cd3('0x28e')}];var _0x563d2b=null;_0x4bbb1b['hasRole'](_0x1cd3('0x5f'))?_0x844f58[_0x1cd3('0x368')][_0x1cd3('0x361')]({'fields':_0x1cd3('0x2539'),'sort':_0x1cd3('0x98'),'nolimit':'true'})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x79c67b){_0x253409[_0x1cd3('0xef4')]=_0x79c67b[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x240460){_0x4fc0d5[_0x1cd3('0x434')]({'title':_0x240460[_0x1cd3('0x3a6')]?'API:'+_0x240460[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x240460[_0x1cd3('0xd35')]:_0x1cd3('0x249d'),'msg':_0x240460[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x240460[_0x1cd3('0x439')]):_0x240460[_0x1cd3('0x43b')]()});}):_0x844f58['user'][_0x1cd3('0x361')]({'fields':_0x1cd3('0x2539'),'sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x5323ba){_0x563d2b=_0x5323ba[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){var _0x38a7a2=[];for(var _0x463cf9=0x0;_0x463cf9<_0x2f47ea[_0x1cd3('0x7a')];_0x463cf9++){_0x38a7a2[_0x1cd3('0x7b')](_0x844f58[_0x1cd3('0x390')]['get']({'userProfileId':_0x253409[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':_0x2f47ea[_0x463cf9]['id']})[_0x1cd3('0x81')]);}return _0x5757d4[_0x1cd3('0x7e')](_0x38a7a2);})[_0x1cd3('0x77')](function(_0x162d4a){var _0x2c3100=_[_0x1cd3('0x3d9')](_0x162d4a,function(_0x4c6f16){return _0x4c6f16&&_0x4c6f16[_0x1cd3('0xf6')]?_0x4c6f16[_0x1cd3('0xf6')][0x0]:null;});var _0x2158ff=[];for(var _0xbdc52=0x0;_0xbdc52<_0x2f47ea[_0x1cd3('0x7a')];_0xbdc52++){var _0x3ceeb4=_[_0x1cd3('0x442')](_0x2c3100,['sectionId',_0x2f47ea[_0xbdc52]['id']]);if(_0x3ceeb4){if(!_0x3ceeb4[_0x1cd3('0x391')]){_0x2158ff[_0x1cd3('0x7b')](_0x844f58['userProfileResource'][_0x1cd3('0x361')]({'sectionId':_0x3ceeb4['id']})[_0x1cd3('0x81')]);}else{var _0x551fbc=[];_0x563d2b['forEach'](function(_0x50b4c6){if(_0x50b4c6[_0x1cd3('0x388')]===_0x2f47ea[_0xbdc52][_0x1cd3('0x388')]){_0x551fbc[_0x1cd3('0x7b')](_0x50b4c6);}});_0x2158ff[_0x1cd3('0x7b')]({'rows':_0x551fbc,'count':_0x551fbc[_0x1cd3('0x7a')]});}}}return _0x5757d4[_0x1cd3('0x7e')](_0x2158ff);})[_0x1cd3('0x77')](function(_0x15f059){var _0x20aae7=[];var _0x43b1df=null;if(_0x253409['ringgroup']){_0x43b1df=_[_0x1cd3('0x442')](_0x563d2b,{'name':_0x253409[_0x1cd3('0x2578')][_0x1cd3('0x253d')]});}for(var _0x1b18e6=0x0;_0x1b18e6<_0x15f059['length'];_0x1b18e6++){var _0x35f0aa=_0x15f059[_0x1b18e6][_0x1cd3('0xf6')]||[];_0x35f0aa[_0x1cd3('0x394')](function(_0x54d012){_0x20aae7[_0x1cd3('0x7b')](_0x54d012);});}if(_0x43b1df&&!_[_0x1cd3('0x38d')](_0x20aae7,[_0x1cd3('0xe8e'),_0x43b1df['id']])){_0x563d2b[_0x1cd3('0x394')](function(_0x55e379){if(_0x55e379['id']===_0x43b1df['id']){_0x55e379[_0x1cd3('0xf4a')]=![];_0x20aae7['push'](_0x55e379);}});}_0x253409[_0x1cd3('0xef4')]=_0x20aae7;})[_0x1cd3('0xfd')](function(_0x46fb72){_0x4fc0d5['error']({'title':_0x46fb72[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x46fb72[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x46fb72[_0x1cd3('0xd35')]:'SYSTEM:GETusers','msg':_0x46fb72[_0x1cd3('0x439')]?JSON['stringify'](_0x46fb72[_0x1cd3('0x439')]):_0x46fb72[_0x1cd3('0x43b')]()});});function _0x19f329(){_0x253409[_0x1cd3('0xd34')]=[];var _0x14324b=[];if(_0x253409[_0x1cd3('0x2578')][_0x1cd3('0x424')]&&_0x253409['ringgroup'][_0x1cd3('0x424')]['toLowerCase']()===_0x1cd3('0x128')&&_0x253409[_0x1cd3('0x2578')][_0x1cd3('0x125b')]===_0x1cd3('0x1283')){_0x253409[_0x1cd3('0x2578')][_0x1cd3('0xf09')]=_0x194a0d[_0x1cd3('0x128a')]?(_0x253409[_0x1cd3('0x2578')][_0x1cd3('0x6aa')]||'')+'${EXTEN:'+_0x194a0d['cutdigits']+'}':(_0x253409[_0x1cd3('0x2578')][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x128d');if(_0x194a0d[_0x1cd3('0x1285')]!=='none'){if(_0x253409[_0x1cd3('0x2578')]['options'][_0x1cd3('0x45e')]('U(xcally-mixmonitor-context)')<0x0){_0x253409[_0x1cd3('0x2578')][_0x1cd3('0x422')]+=_0x1cd3('0x1286');}}else{_0x253409[_0x1cd3('0x2578')][_0x1cd3('0x422')]=_0x253409[_0x1cd3('0x2578')][_0x1cd3('0x422')][_0x1cd3('0x3f1')](_0x1cd3('0x1286'),'');}}if(_0x253409[_0x1cd3('0x2578')][_0x1cd3('0x125b')]&&_0x253409['ringgroup']['appType']==='custom'){}else{switch((_0x253409[_0x1cd3('0x2578')]['app']||_0x253409[_0x1cd3('0x2578')][_0x1cd3('0x125b')])[_0x1cd3('0x433')]()){case _0x1cd3('0x127e'):_0x253409[_0x1cd3('0x2578')][_0x1cd3('0x127d')]=_0x253409[_0x1cd3('0x2578')][_0x1cd3('0x98')]+'='+_0x253409['ringgroup']['value'];break;case _0x1cd3('0x8f6'):break;default:_0x14324b[0x0]=_0x253409[_0x1cd3('0x2578')][_0x1cd3('0x253d')]['join']('&');_0x14324b[0x1]=_0x253409[_0x1cd3('0x2578')][_0x1cd3('0x8fc')];_0x14324b[0x2]=_0x253409['ringgroup'][_0x1cd3('0x422')];_0x14324b[0x3]=_0x253409[_0x1cd3('0x2578')][_0x1cd3('0x3a4')];_0x253409[_0x1cd3('0x2578')]['appdata']=_0x14324b[_0x1cd3('0x3de')](',');}}_0xfcc45c(_0x253409['ringgroup']);}function _0xfcc45c(_0x4a5a9f){_0x57b546[_0x1cd3('0x39d')](_0x4a5a9f);}}}());(function(){'use strict';_0x460966[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),'$q',_0x1cd3('0x461'),_0x1cd3('0x25b6'),_0x1cd3('0x258f'),_0x1cd3('0x370'),_0x1cd3('0x56'),'crudPermissions'];angular[_0x1cd3('0x0')](_0x1cd3('0x2d'))[_0x1cd3('0x39b')]('EditInternalAppsetDialogController',_0x460966);function _0x460966(_0x1def47,_0x474b70,_0x45c1e8,_0x1dab8c,_0x45e2eb,_0x756325,_0x232e14,_0x370e61){var _0x34f9bf=this;_0x34f9bf[_0x1cd3('0x3ca')]=_0x232e14[_0x1cd3('0x5d')]();_0x34f9bf[_0x1cd3('0xd34')]=[];_0x34f9bf[_0x1cd3('0x486')]=_0x1cd3('0x256b')+(_0x1dab8c[_0x1cd3('0x125b')]||_0x1dab8c[_0x1cd3('0xd0a')])[_0x1cd3('0x437')]();_0x34f9bf[_0x1cd3('0x127e')]=angular['copy'](_0x1dab8c);_0x34f9bf[_0x1cd3('0xd27')]=_0x370e61;_0x34f9bf['hasModulePermissions']={};if(_0x34f9bf[_0x1cd3('0x127e')][_0x1cd3('0x127d')]){switch(_0x34f9bf[_0x1cd3('0x127e')][_0x1cd3('0x125b')]?_0x34f9bf[_0x1cd3('0x127e')][_0x1cd3('0x125b')][_0x1cd3('0x433')]():_0x34f9bf[_0x1cd3('0x127e')][_0x1cd3('0xd0a')]['toLowerCase']()){case _0x1cd3('0x8f6'):break;case _0x1cd3('0x1233'):var _0x4456c5=_0x34f9bf[_0x1cd3('0x127e')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x34f9bf[_0x1cd3('0x127e')][_0x1cd3('0x65c')]=_0x4456c5[0x0];_0x34f9bf['set']['language']=_0x4456c5[0x1];_0x34f9bf['set']['welcomemessage']=_0x4456c5['slice'](0x2,_0x4456c5['length'])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x1247'):var _0x4456c5=_0x34f9bf[_0x1cd3('0x127e')]['appdata']['split'](',');_0x34f9bf[_0x1cd3('0x127e')]['accesskeyid']=_0x4456c5[0x0];_0x34f9bf[_0x1cd3('0x127e')]['secretaccesskey']=_0x4456c5[0x1];_0x34f9bf[_0x1cd3('0x127e')][_0x1cd3('0x124a')]=_0x4456c5[0x2];_0x34f9bf['set'][_0x1cd3('0x124f')]=_0x4456c5[0x3];_0x34f9bf['set'][_0x1cd3('0x1246')]=_0x4456c5['slice'](0x4,_0x4456c5[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case'autoreply':var _0x4456c5=_0x34f9bf[_0x1cd3('0x127e')][_0x1cd3('0x127d')]['split'](',');_0x34f9bf[_0x1cd3('0x127e')][_0x1cd3('0x122c')]=isNaN(_0x4456c5[0x0])?_0x4456c5[0x0]:parseInt(_0x4456c5[0x0],0xa);_0x34f9bf['set']['text']=_0x4456c5[_0x1cd3('0x9a2')](0x1,_0x4456c5[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x43a'):_0x34f9bf[_0x1cd3('0x127e')]['text']=_0x34f9bf[_0x1cd3('0x127e')][_0x1cd3('0x127d')];break;case _0x1cd3('0x127e'):_0x34f9bf['set'][_0x1cd3('0x98')]=_0x34f9bf[_0x1cd3('0x127e')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x0];_0x34f9bf[_0x1cd3('0x127e')][_0x1cd3('0x3db')]=_0x34f9bf['set'][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x1];break;case _0x1cd3('0x128c'):_0x34f9bf['set'][_0x1cd3('0xedd')]=_0x34f9bf['set']['appdata'];break;default:var _0x1a03c8=_0x34f9bf['set'][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=');_0x34f9bf['set'][_0x1cd3('0x98')]=_[_0x1cd3('0x398')](_0x1a03c8[0x0])?_0x1a03c8[0x0]:isNaN(_0x1a03c8[0x0])?_0x1a03c8[0x0]:parseInt(_0x1a03c8[0x0],0xa);_0x34f9bf[_0x1cd3('0x127e')][_0x1cd3('0x3db')]=_[_0x1cd3('0x398')](_0x1a03c8[0x1])?_0x1a03c8[0x1]:isNaN(_0x1a03c8[0x1])?_0x1a03c8[0x1]:parseInt(_0x1a03c8[0x1],0xa);}}else{}if(_0x34f9bf[_0x1cd3('0x127e')]['type']&&_0x34f9bf[_0x1cd3('0x127e')]['type'][_0x1cd3('0x433')]()==='outbound'&&_0x34f9bf['set']['appType'][_0x1cd3('0x433')]()===_0x1cd3('0x1289')){_0x34f9bf[_0x1cd3('0x127e')][_0x1cd3('0x6aa')]=_0x34f9bf[_0x1cd3('0x127e')][_0x1cd3('0xf09')]?_0x34f9bf['set']['phone']['split']('$')[0x0]:undefined;_0x34f9bf[_0x1cd3('0x127e')]['callerId']=_0x34f9bf[_0x1cd3('0x127e')][_0x1cd3('0x127f')]?_0x1cd3('0x1280')+_0x34f9bf[_0x1cd3('0x127e')][_0x1cd3('0x127f')]:undefined;}_0x34f9bf[_0x1cd3('0x25b5')]=_0x16023a;_0x34f9bf['closeDialog']=_0x2c15ba;_0x232e14[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x756325['variable']['get']({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'nolimit':'true'})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x1b221a){_0x34f9bf['variables']=_0x1b221a[_0x1cd3('0xf6')]||[];})['catch'](function(_0x1d6b6c){_0x45c1e8['error']({'title':_0x1d6b6c[_0x1cd3('0x3a6')]?'API:'+_0x1d6b6c[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x1d6b6c[_0x1cd3('0xd35')]:'SYSTEM:GET_VARIABLES','msg':_0x1d6b6c[_0x1cd3('0x439')]?JSON['stringify'](_0x1d6b6c[_0x1cd3('0x439')]):_0x1d6b6c[_0x1cd3('0x43b')]()});}):_0x756325[_0x1cd3('0xb84')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'nolimit':'true'})[_0x1cd3('0x81')]['then'](function(_0x47d5cc){_0x34f9bf['variables']=_0x47d5cc[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x756325[_0x1cd3('0x390')]['get']({'userProfileId':_0x34f9bf[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x3f4})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x45e60c){var _0x25b2ab=_0x45e60c&&_0x45e60c[_0x1cd3('0xf6')]?_0x45e60c['rows'][0x0]:null;if(!_0x25b2ab){var _0x4264e3=[];var _0x522e9f=null;if(_0x34f9bf[_0x1cd3('0x127e')]){_0x522e9f=_[_0x1cd3('0x442')](_0x34f9bf[_0x1cd3('0xef7')],{'name':_0x34f9bf[_0x1cd3('0x127e')][_0x1cd3('0x98')]});}for(var _0x21a1b9=0x0;_0x21a1b9<_0x34f9bf[_0x1cd3('0xef7')][_0x1cd3('0x7a')];_0x21a1b9++){if(_0x522e9f&&_0x34f9bf[_0x1cd3('0xef7')][_0x21a1b9]['id']===_0x522e9f['id']){_0x34f9bf[_0x1cd3('0xef7')][_0x21a1b9][_0x1cd3('0xf4a')]=![];_0x4264e3[_0x1cd3('0x7b')](_0x34f9bf[_0x1cd3('0xef7')][_0x21a1b9]);}}_0x34f9bf[_0x1cd3('0xef7')]=_0x4264e3;}else{if(!_0x25b2ab[_0x1cd3('0x391')]){return _0x756325[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x25b2ab['id']})['$promise'][_0x1cd3('0x77')](function(_0x21aebc){var _0x46aeeb=_[_0x1cd3('0x3d9')](_0x21aebc[_0x1cd3('0xf6')],function(_0x4b79d5){return _['find'](_0x34f9bf[_0x1cd3('0xef7')],{'id':_0x4b79d5['resourceId']});});var _0x559661=null;if(_0x34f9bf['set']){_0x559661=_[_0x1cd3('0x442')](_0x34f9bf[_0x1cd3('0xef7')],{'name':_0x34f9bf['set']['name']});}if(_0x559661&&!_[_0x1cd3('0x38d')](_0x46aeeb,['id',_0x559661['id']])){var _0x3627e4=_[_0x1cd3('0x442')](_0x34f9bf[_0x1cd3('0xef7')],{'id':_0x559661['id']});_0x3627e4['canSelect']=![];_0x46aeeb['push'](_0x3627e4);}_0x34f9bf[_0x1cd3('0xef7')]=_0x46aeeb;});}}})[_0x1cd3('0xfd')](function(_0x39d4db){_0x45c1e8['error']({'title':_0x39d4db[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x39d4db[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x39d4db[_0x1cd3('0xd35')]:_0x1cd3('0x1c74'),'msg':_0x39d4db[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x39d4db[_0x1cd3('0x439')]):_0x39d4db[_0x1cd3('0x43b')]()});});function _0x16023a(){_0x34f9bf[_0x1cd3('0xd34')]=[];var _0x368e49=[];if(_0x34f9bf[_0x1cd3('0x127e')][_0x1cd3('0x424')]&&_0x34f9bf[_0x1cd3('0x127e')]['type'][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x34f9bf[_0x1cd3('0x127e')]['appType']===_0x1cd3('0x1283')){_0x34f9bf['set'][_0x1cd3('0xf09')]=_0x45e2eb[_0x1cd3('0x128a')]?(_0x34f9bf[_0x1cd3('0x127e')]['prefix']||'')+_0x1cd3('0x1284')+_0x45e2eb[_0x1cd3('0x128a')]+'}':(_0x34f9bf[_0x1cd3('0x127e')][_0x1cd3('0x6aa')]||'')+'${EXTEN}';if(_0x45e2eb[_0x1cd3('0x1285')]!==_0x1cd3('0x6ae')){if(_0x34f9bf[_0x1cd3('0x127e')][_0x1cd3('0x422')][_0x1cd3('0x45e')]('U(xcally-mixmonitor-context)')<0x0){_0x34f9bf[_0x1cd3('0x127e')]['options']+=_0x1cd3('0x1286');}}else{_0x34f9bf[_0x1cd3('0x127e')][_0x1cd3('0x422')]=_0x34f9bf[_0x1cd3('0x127e')][_0x1cd3('0x422')][_0x1cd3('0x3f1')]('U(xcally-mixmonitor-context)','');}}if(_0x34f9bf[_0x1cd3('0x127e')][_0x1cd3('0x125b')]&&_0x34f9bf['set'][_0x1cd3('0x125b')]===_0x1cd3('0x8f6')){}else{switch((_0x34f9bf['set'][_0x1cd3('0xd0a')]||_0x34f9bf[_0x1cd3('0x127e')][_0x1cd3('0x125b')])['toLowerCase']()){case _0x1cd3('0x127e'):_0x34f9bf['set'][_0x1cd3('0x127d')]=_0x34f9bf[_0x1cd3('0x127e')][_0x1cd3('0x98')]+'='+_0x34f9bf[_0x1cd3('0x127e')][_0x1cd3('0x3db')];break;case'custom':break;default:_0x368e49[0x0]=_0x34f9bf['set'][_0x1cd3('0x98')];_0x368e49[0x1]=_0x34f9bf[_0x1cd3('0x127e')]['value'];_0x34f9bf['set']['appdata']=_0x368e49[_0x1cd3('0x3de')]('=');}}_0x2c15ba(_0x34f9bf[_0x1cd3('0x127e')]);}function _0x2c15ba(_0x3acbf3){_0x1def47[_0x1cd3('0x39d')](_0x3acbf3);}}}());(function(){'use strict';_0x4fe40c[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),'$q',_0x1cd3('0x461'),'internalrouteApp','internalroute',_0x1cd3('0x370'),'Auth',_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x2d'))['controller']('EditInternalAppvoicemailDialogController',_0x4fe40c);function _0x4fe40c(_0x580e67,_0x20eb4a,_0x1fb2bd,_0x229307,_0x24d49d,_0xf2ad26,_0x58ffc8,_0xb0f426){var _0x3d82dd=this;_0x3d82dd[_0x1cd3('0x3ca')]=_0x58ffc8['getCurrentUser']();_0x3d82dd['errors']=[];_0x3d82dd[_0x1cd3('0x486')]=_0x1cd3('0x256b')+(_0x229307['appType']||_0x229307[_0x1cd3('0xd0a')])[_0x1cd3('0x437')]();_0x3d82dd[_0x1cd3('0x2553')]=angular[_0x1cd3('0x429')](_0x229307);_0x3d82dd[_0x1cd3('0xd27')]=_0xb0f426;_0x3d82dd[_0x1cd3('0xd28')]={};if(_0x3d82dd[_0x1cd3('0x2553')][_0x1cd3('0x127d')]){switch(_0x3d82dd[_0x1cd3('0x2553')]['appType']?_0x3d82dd[_0x1cd3('0x2553')][_0x1cd3('0x125b')][_0x1cd3('0x433')]():_0x3d82dd[_0x1cd3('0x2553')][_0x1cd3('0xd0a')][_0x1cd3('0x433')]()){case _0x1cd3('0x8f6'):break;case'dialogflow':var _0xf18dca=_0x3d82dd['voicemail']['appdata'][_0x1cd3('0x3ef')](',');_0x3d82dd[_0x1cd3('0x2553')][_0x1cd3('0x65c')]=_0xf18dca[0x0];_0x3d82dd[_0x1cd3('0x2553')][_0x1cd3('0x3f3')]=_0xf18dca[0x1];_0x3d82dd[_0x1cd3('0x2553')][_0x1cd3('0x1246')]=_0xf18dca[_0x1cd3('0x9a2')](0x2,_0xf18dca[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x1247'):var _0xf18dca=_0x3d82dd[_0x1cd3('0x2553')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x3d82dd[_0x1cd3('0x2553')][_0x1cd3('0x1248')]=_0xf18dca[0x0];_0x3d82dd[_0x1cd3('0x2553')][_0x1cd3('0x1249')]=_0xf18dca[0x1];_0x3d82dd[_0x1cd3('0x2553')][_0x1cd3('0x124a')]=_0xf18dca[0x2];_0x3d82dd[_0x1cd3('0x2553')][_0x1cd3('0x124f')]=_0xf18dca[0x3];_0x3d82dd[_0x1cd3('0x2553')]['welcomemessage']=_0xf18dca[_0x1cd3('0x9a2')](0x4,_0xf18dca[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case'autoreply':var _0xf18dca=_0x3d82dd[_0x1cd3('0x2553')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x3d82dd[_0x1cd3('0x2553')][_0x1cd3('0x122c')]=isNaN(_0xf18dca[0x0])?_0xf18dca[0x0]:parseInt(_0xf18dca[0x0],0xa);_0x3d82dd[_0x1cd3('0x2553')]['text']=_0xf18dca['slice'](0x1,_0xf18dca[_0x1cd3('0x7a')])['join'](',');break;case _0x1cd3('0x43a'):_0x3d82dd[_0x1cd3('0x2553')]['text']=_0x3d82dd[_0x1cd3('0x2553')][_0x1cd3('0x127d')];break;case'set':_0x3d82dd[_0x1cd3('0x2553')][_0x1cd3('0x98')]=_0x3d82dd[_0x1cd3('0x2553')]['appdata'][_0x1cd3('0x3ef')]('=')[0x0];_0x3d82dd[_0x1cd3('0x2553')][_0x1cd3('0x3db')]=_0x3d82dd['voicemail'][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x1];break;case _0x1cd3('0x128c'):_0x3d82dd[_0x1cd3('0x2553')]['project']=_0x3d82dd[_0x1cd3('0x2553')]['appdata'];break;default:var _0x403725=_0x3d82dd[_0x1cd3('0x2553')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x3d82dd[_0x1cd3('0x2553')][_0x1cd3('0xa5e')]=_['isEmpty'](_0x403725[0x0])?_0x403725[0x0]:isNaN(_0x403725[0x0])?_0x403725[0x0]:parseInt(_0x403725[0x0],0xa);_0x3d82dd[_0x1cd3('0x2553')][_0x1cd3('0x422')]=_[_0x1cd3('0x398')](_0x403725[0x1])?_0x403725[0x1]:isNaN(_0x403725[0x1])?_0x403725[0x1]:parseInt(_0x403725[0x1],0xa);}}else{}if(_0x3d82dd[_0x1cd3('0x2553')][_0x1cd3('0x424')]&&_0x3d82dd[_0x1cd3('0x2553')]['type'][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x3d82dd[_0x1cd3('0x2553')][_0x1cd3('0x125b')][_0x1cd3('0x433')]()===_0x1cd3('0x1289')){_0x3d82dd[_0x1cd3('0x2553')][_0x1cd3('0x6aa')]=_0x3d82dd[_0x1cd3('0x2553')][_0x1cd3('0xf09')]?_0x3d82dd[_0x1cd3('0x2553')][_0x1cd3('0xf09')][_0x1cd3('0x3ef')]('$')[0x0]:undefined;_0x3d82dd['voicemail'][_0x1cd3('0x689')]=_0x3d82dd['voicemail'][_0x1cd3('0x127f')]?_0x1cd3('0x1280')+_0x3d82dd[_0x1cd3('0x2553')][_0x1cd3('0x127f')]:undefined;}_0x3d82dd[_0x1cd3('0x25b5')]=_0x3c8297;_0x3d82dd[_0x1cd3('0x39c')]=_0x55feb9;_0x58ffc8[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0xf2ad26[_0x1cd3('0xa5e')][_0x1cd3('0x361')]({'fields':_0x1cd3('0x2556'),'sort':_0x1cd3('0xf13'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x44ebc2){_0x3d82dd[_0x1cd3('0x2554')]=_0x44ebc2[_0x1cd3('0xf6')]||[];})['catch'](function(_0x39f29f){_0x1fb2bd[_0x1cd3('0x434')]({'title':_0x39f29f['status']?_0x1cd3('0x435')+_0x39f29f[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x39f29f[_0x1cd3('0xd35')]:'SYSTEM:GET_VOICEMAILS','msg':_0x39f29f[_0x1cd3('0x439')]?JSON['stringify'](_0x39f29f[_0x1cd3('0x439')]):_0x39f29f['toString']()});}):_0xf2ad26['voiceMail'][_0x1cd3('0x361')]({'fields':_0x1cd3('0x2556'),'sort':_0x1cd3('0xf13'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x5df9d7){_0x3d82dd[_0x1cd3('0x2554')]=_0x5df9d7['rows']||[];})[_0x1cd3('0x77')](function(){return _0xf2ad26[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x3d82dd[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x196})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x26dcd6){var _0x103533=_0x26dcd6&&_0x26dcd6[_0x1cd3('0xf6')]?_0x26dcd6['rows'][0x0]:null;if(!_0x103533){var _0x3572bb=[];var _0x351c37=null;if(_0x3d82dd[_0x1cd3('0x2553')]){_0x351c37=_[_0x1cd3('0x442')](_0x3d82dd[_0x1cd3('0x2554')],{'mailbox':_0x3d82dd[_0x1cd3('0x2553')][_0x1cd3('0xa5e')]});}for(var _0x439dd9=0x0;_0x439dd9<_0x3d82dd[_0x1cd3('0x2554')]['length'];_0x439dd9++){if(_0x351c37&&_0x3d82dd[_0x1cd3('0x2554')][_0x439dd9]['id']===_0x351c37['id']){_0x3d82dd[_0x1cd3('0x2554')][_0x439dd9]['canSelect']=![];_0x3572bb[_0x1cd3('0x7b')](_0x3d82dd[_0x1cd3('0x2554')][_0x439dd9]);}}_0x3d82dd['voiceMails']=_0x3572bb;}else{if(!_0x103533['autoAssociation']){return _0xf2ad26[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x103533['id']})['$promise'][_0x1cd3('0x77')](function(_0x46e3ec){var _0x36c39f=_[_0x1cd3('0x3d9')](_0x46e3ec[_0x1cd3('0xf6')],function(_0x4df85e){return _[_0x1cd3('0x442')](_0x3d82dd[_0x1cd3('0x2554')],{'id':_0x4df85e[_0x1cd3('0xe8e')]});});var _0x1b28c2=null;if(_0x3d82dd['voicemail']){_0x1b28c2=_['find'](_0x3d82dd[_0x1cd3('0x2554')],{'mailbox':_0x3d82dd[_0x1cd3('0x2553')]['voiceMail']});}if(_0x1b28c2&&!_['some'](_0x36c39f,['id',_0x1b28c2['id']])){var _0x28c37c=_[_0x1cd3('0x442')](_0x3d82dd[_0x1cd3('0x2554')],{'id':_0x1b28c2['id']});_0x28c37c['canSelect']=![];_0x36c39f[_0x1cd3('0x7b')](_0x28c37c);}_0x3d82dd[_0x1cd3('0x2554')]=_0x36c39f;});}}})[_0x1cd3('0xfd')](function(_0x1ef7dd){_0x1fb2bd[_0x1cd3('0x434')]({'title':_0x1ef7dd['status']?_0x1cd3('0x435')+_0x1ef7dd[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x1ef7dd[_0x1cd3('0xd35')]:_0x1cd3('0x257b'),'msg':_0x1ef7dd[_0x1cd3('0x439')]?JSON['stringify'](_0x1ef7dd[_0x1cd3('0x439')]):_0x1ef7dd[_0x1cd3('0x43b')]()});});function _0x3c8297(){_0x3d82dd[_0x1cd3('0xd34')]=[];var _0x2c3476=[];if(_0x3d82dd[_0x1cd3('0x2553')][_0x1cd3('0x424')]&&_0x3d82dd['voicemail'][_0x1cd3('0x424')][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x3d82dd[_0x1cd3('0x2553')][_0x1cd3('0x125b')]===_0x1cd3('0x1283')){_0x3d82dd[_0x1cd3('0x2553')][_0x1cd3('0xf09')]=_0x24d49d['cutdigits']?(_0x3d82dd[_0x1cd3('0x2553')][_0x1cd3('0x6aa')]||'')+'${EXTEN:'+_0x24d49d['cutdigits']+'}':(_0x3d82dd[_0x1cd3('0x2553')][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x128d');if(_0x24d49d['recordingFormat']!==_0x1cd3('0x6ae')){if(_0x3d82dd[_0x1cd3('0x2553')]['options'][_0x1cd3('0x45e')](_0x1cd3('0x1286'))<0x0){_0x3d82dd[_0x1cd3('0x2553')][_0x1cd3('0x422')]+=_0x1cd3('0x1286');}}else{_0x3d82dd[_0x1cd3('0x2553')][_0x1cd3('0x422')]=_0x3d82dd[_0x1cd3('0x2553')][_0x1cd3('0x422')][_0x1cd3('0x3f1')](_0x1cd3('0x1286'),'');}}if(_0x3d82dd['voicemail'][_0x1cd3('0x125b')]&&_0x3d82dd[_0x1cd3('0x2553')][_0x1cd3('0x125b')]===_0x1cd3('0x8f6')){}else{switch((_0x3d82dd['voicemail'][_0x1cd3('0xd0a')]||_0x3d82dd[_0x1cd3('0x2553')][_0x1cd3('0x125b')])[_0x1cd3('0x433')]()){case _0x1cd3('0x127e'):_0x3d82dd[_0x1cd3('0x2553')]['appdata']=_0x3d82dd[_0x1cd3('0x2553')]['name']+'='+_0x3d82dd[_0x1cd3('0x2553')][_0x1cd3('0x3db')];break;case _0x1cd3('0x8f6'):break;default:_0x2c3476[0x0]=_0x3d82dd[_0x1cd3('0x2553')][_0x1cd3('0xa5e')];_0x2c3476[0x1]=_0x3d82dd[_0x1cd3('0x2553')][_0x1cd3('0x422')];_0x3d82dd[_0x1cd3('0x2553')]['appdata']=_0x2c3476[_0x1cd3('0x3de')](',');}}_0x55feb9(_0x3d82dd[_0x1cd3('0x2553')]);}function _0x55feb9(_0x5a68fb){_0x580e67[_0x1cd3('0x39d')](_0x5a68fb);}}}());(function(){'use strict';_0x41256b[_0x1cd3('0xc')]=[_0x1cd3('0x53e'),_0x1cd3('0xd24'),_0x1cd3('0x3c5'),'$document',_0x1cd3('0x3f7'),_0x1cd3('0x463'),_0x1cd3('0xc49'),'api','toasty','Auth',_0x1cd3('0x258f'),_0x1cd3('0x390')];angular[_0x1cd3('0x0')]('app.voice')[_0x1cd3('0x39b')]('InternalRouteController',_0x41256b);function _0x41256b(_0x376fbf,_0x55c9f6,_0x1aeef5,_0x2b2267,_0x162fcb,_0x23f821,_0x3babc2,_0x13aa95,_0xd901c4,_0x53c129,_0x4b3f52,_0x34aacd){var _0x2e55a4=this;_0x2e55a4[_0x1cd3('0x3ca')]=_0x53c129[_0x1cd3('0x5d')]();_0x2e55a4['license']=_0x23f821;_0x2e55a4[_0x1cd3('0xc49')]=_0x3babc2;_0x2e55a4[_0x1cd3('0xd29')]=_0x2e55a4[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x2e55a4['location']=_0x55c9f6[_0x1cd3('0x3b0')]()+'://'+_0x55c9f6[_0x1cd3('0x3ac')]();_0x2e55a4[_0x1cd3('0x258f')]=_0x4b3f52||_0x376fbf[_0x1cd3('0x36a')][_0x1cd3('0x258f')]||{};_0x2e55a4['userProfileSection']=_0x34aacd&&_0x34aacd[_0x1cd3('0x466')]==0x1?_0x34aacd[_0x1cd3('0xf6')][0x0]:null;_0x2e55a4[_0x1cd3('0xd27')]=_0x53c129[_0x1cd3('0xd44')](_0x2e55a4[_0x1cd3('0x390')]?_0x2e55a4['userProfileSection'][_0x1cd3('0xd27')]:null);_0x2e55a4[_0x1cd3('0xd28')]={};_0x2e55a4[_0x1cd3('0xe5f')]=_0x376fbf['params']['tab']||0x0;_0x2e55a4[_0x1cd3('0x11d0')]=_0xd901c4[_0x1cd3('0x654')];_0x2e55a4[_0x1cd3('0x25c0')]=_0x5091e4;_0x2e55a4['saveInternalRoute']=_0x345e4e;_0x53c129[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x13aa95[_0x1cd3('0xa3e')][_0x1cd3('0x361')]({'fields':'id,name','sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x3d4fc1){_0x2e55a4[_0x1cd3('0x2119')]=_0x3d4fc1[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x63fe4e){_0xd901c4[_0x1cd3('0x434')]({'title':_0x63fe4e[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x63fe4e[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x63fe4e[_0x1cd3('0xd35')]:_0x1cd3('0x211a'),'msg':_0x63fe4e[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x63fe4e[_0x1cd3('0x439')]):_0x63fe4e[_0x1cd3('0x43b')]()});}):_0x13aa95[_0x1cd3('0xa3e')]['get']({'fields':'id,name','sort':'name','nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')]['then'](function(_0x2bed25){_0x2e55a4[_0x1cd3('0x2119')]=_0x2bed25[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x13aa95[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x2e55a4[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x195})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x3c6718){var _0x18c75e=_0x3c6718&&_0x3c6718[_0x1cd3('0xf6')]?_0x3c6718['rows'][0x0]:null;if(!_0x18c75e){return _0x13aa95[_0x1cd3('0xa3e')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0'),'defaultEntry':0x1})[_0x1cd3('0x81')]['then'](function(_0x2bd17f){_0x2e55a4['contexts']=_0x2bd17f[_0x1cd3('0xf6')]||[];});}else{if(!_0x18c75e[_0x1cd3('0x391')]){return _0x13aa95['userProfileResource'][_0x1cd3('0x361')]({'sectionId':_0x18c75e['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x3dfb42){var _0x40929a=_[_0x1cd3('0x3d9')](_0x3dfb42[_0x1cd3('0xf6')],function(_0x542526){return _[_0x1cd3('0x442')](_0x2e55a4[_0x1cd3('0x2119')],{'id':_0x542526['resourceId']});});var _0x59e0f4=null;if(_0x2e55a4['internalroute']){_0x59e0f4=_[_0x1cd3('0x442')](_0x2e55a4[_0x1cd3('0x2119')],{'name':_0x2e55a4[_0x1cd3('0x258f')][_0x1cd3('0xf0a')]});}if(_0x59e0f4&&!_['some'](_0x40929a,['id',_0x59e0f4['id']])){var _0x411738=_[_0x1cd3('0x442')](_0x2e55a4[_0x1cd3('0x2119')],{'id':_0x59e0f4['id']});_0x411738['canSelect']=![];_0x40929a[_0x1cd3('0x7b')](_0x411738);}_0x2e55a4['contexts']=_0x40929a;});}}})[_0x1cd3('0xfd')](function(_0x1fb5a6){_0xd901c4[_0x1cd3('0x434')]({'title':_0x1fb5a6[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x1fb5a6[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x1fb5a6['statusText']:_0x1cd3('0x214c'),'msg':_0x1fb5a6[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x1fb5a6[_0x1cd3('0x439')]):_0x1fb5a6[_0x1cd3('0x43b')]()});});function _0x5091e4(){_0x376fbf['go'](_0x1cd3('0x30f'),{},{'reload':_0x1cd3('0x30f')});}function _0x345e4e(){_0x13aa95[_0x1cd3('0xa40')][_0x1cd3('0x378')]({'id':_0x2e55a4[_0x1cd3('0x258f')]['id']},_0x2e55a4[_0x1cd3('0x258f')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0xd901c4[_0x1cd3('0x473')]({'title':'InternalRoute\x20updated!','msg':_0x2e55a4[_0x1cd3('0x258f')][_0x1cd3('0x98')]?_0x2e55a4['internalroute'][_0x1cd3('0x98')]+'\x20has\x20been\x20updated!':''});})[_0x1cd3('0xfd')](function(_0x4ba397){_0xd901c4[_0x1cd3('0x434')]({'title':_0x4ba397['status']?_0x1cd3('0x435')+_0x4ba397[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x4ba397[_0x1cd3('0xd35')]:_0x1cd3('0x2580'),'msg':_0x4ba397[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x4ba397[_0x1cd3('0x439')]):_0x4ba397['toString']()});});}}}());(function(){'use strict';_0x2170ad[_0x1cd3('0xc')]=[_0x1cd3('0x460'),'$window','$state',_0x1cd3('0x969'),'$mdDialog',_0x1cd3('0x372'),_0x1cd3('0x3e7'),_0x1cd3('0x3f7'),_0x1cd3('0x258e'),_0x1cd3('0x38a'),_0x1cd3('0x390'),_0x1cd3('0x370'),_0x1cd3('0x2dd'),_0x1cd3('0x461'),'Auth','license','setting'];angular[_0x1cd3('0x0')](_0x1cd3('0x2d'))[_0x1cd3('0x39b')](_0x1cd3('0x25c1'),_0x2170ad);function _0x2170ad(_0x5461c9,_0x415db3,_0x5220a0,_0x300d4c,_0x39021e,_0x25794d,_0x4c6c85,_0x58006d,_0x13108b,_0x27deb8,_0x3fa14c,_0x3d3734,_0x4f515b,_0x46958a,_0x20d26e,_0x2e8b86,_0x2aca02){var _0x3b0b7c=this;_0x3b0b7c[_0x1cd3('0x463')]=_0x2e8b86;_0x3b0b7c[_0x1cd3('0xc49')]=_0x2aca02;_0x3b0b7c[_0x1cd3('0x3ca')]=_0x20d26e[_0x1cd3('0x5d')]();_0x3b0b7c[_0x1cd3('0x258e')]=_0x13108b||{'count':0x0,'rows':[]};_0x3b0b7c[_0x1cd3('0x38a')]=_0x27deb8;_0x3b0b7c[_0x1cd3('0x390')]=_0x3fa14c&&_0x3fa14c[_0x1cd3('0x466')]==0x1?_0x3fa14c['rows'][0x0]:null;_0x3b0b7c['crudPermissions']=_0x20d26e[_0x1cd3('0xd44')](_0x3b0b7c[_0x1cd3('0x390')]?_0x3b0b7c[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);_0x3b0b7c[_0x1cd3('0xd45')]=_0x1cd3('0x258e');_0x3b0b7c['listOrder']='';_0x3b0b7c['listOrderAsc']=null;_0x3b0b7c['selectedInternalRoutes']=[];_0x3b0b7c[_0x1cd3('0x3d4')]={'fields':_0x1cd3('0x305'),'type':_0x1cd3('0x311'),'sort':_0x1cd3('0x5b'),'VoiceExtensionId':'null','limit':0xa,'page':0x1};_0x3b0b7c[_0x1cd3('0x1171')]=_0x59b3ff;_0x3b0b7c['deleteconfirm']=_0x24f260;_0x3b0b7c['success']=_0x2e8910;_0x3b0b7c[_0x1cd3('0x25c2')]=_0x460f9b;_0x3b0b7c[_0x1cd3('0x25c3')]=_0xffc4f9;_0x3b0b7c[_0x1cd3('0x25c4')]=_0x16667d;_0x3b0b7c[_0x1cd3('0x25c5')]=_0x4a1a9a;_0x3b0b7c['deleteSelectedInternalRoutes']=_0x4cd7be;_0x3b0b7c[_0x1cd3('0x25c6')]=_0x55d942;_0x3b0b7c['selectAllInternalRoutes']=_0x4667d2;_0x20d26e[_0x1cd3('0x57')]('admin')?_0x3d3734[_0x1cd3('0xa3e')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')]['then'](function(_0x4024c5){_0x3b0b7c['contexts']=_0x4024c5[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x5d90fc){_0x46958a[_0x1cd3('0x434')]({'title':_0x5d90fc[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x5d90fc[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x5d90fc[_0x1cd3('0xd35')]:_0x1cd3('0x211a'),'msg':_0x5d90fc[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x5d90fc['data']):_0x5d90fc[_0x1cd3('0x43b')]()});}):_0x3d3734[_0x1cd3('0xa3e')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':'name','nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0xd0975d){_0x3b0b7c[_0x1cd3('0x2119')]=_0xd0975d[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x3d3734[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x3b0b7c[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x195})['$promise'];})[_0x1cd3('0x77')](function(_0x26aa2e){var _0x29259b=_0x26aa2e&&_0x26aa2e[_0x1cd3('0xf6')]?_0x26aa2e['rows'][0x0]:null;if(!_0x29259b){return _0x3d3734[_0x1cd3('0xa3e')]['get']({'fields':_0x1cd3('0xa6'),'sort':'name','nolimit':_0x1cd3('0x2e0'),'defaultEntry':0x1})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x18f452){_0x3b0b7c[_0x1cd3('0x2119')]=_0x18f452[_0x1cd3('0xf6')]||[];});}else{if(!_0x29259b[_0x1cd3('0x391')]){return _0x3d3734[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x29259b['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0xcc7caf){var _0x214f0e=_['map'](_0xcc7caf[_0x1cd3('0xf6')],function(_0xa3a5fc){return _[_0x1cd3('0x442')](_0x3b0b7c['contexts'],{'id':_0xa3a5fc[_0x1cd3('0xe8e')]});});var _0x195535=null;if(_0x3b0b7c['internalroute']){_0x195535=_[_0x1cd3('0x442')](_0x3b0b7c[_0x1cd3('0x2119')],{'name':_0x3b0b7c[_0x1cd3('0x258f')]['context']});}if(_0x195535&&!_['some'](_0x214f0e,['id',_0x195535['id']])){var _0x437c19=_[_0x1cd3('0x442')](_0x3b0b7c[_0x1cd3('0x2119')],{'id':_0x195535['id']});_0x437c19[_0x1cd3('0xf4a')]=![];_0x214f0e['push'](_0x437c19);}_0x3b0b7c[_0x1cd3('0x2119')]=_0x214f0e;});}}})[_0x1cd3('0xfd')](function(_0x495a9c){_0x46958a[_0x1cd3('0x434')]({'title':_0x495a9c['status']?'API:'+_0x495a9c[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x495a9c[_0x1cd3('0xd35')]:_0x1cd3('0x214c'),'msg':_0x495a9c[_0x1cd3('0x439')]?JSON['stringify'](_0x495a9c[_0x1cd3('0x439')]):_0x495a9c[_0x1cd3('0x43b')]()});});function _0x59b3ff(_0x1a0b09,_0x22a191){_0x5220a0['go'](_0x1cd3('0x313'),{'id':_0x1a0b09['id'],'internalroute':_0x1a0b09,'crudPermissions':_0x3b0b7c[_0x1cd3('0xd27')]});}function _0x24f260(_0x1be1cb,_0xa0289f){var _0x3beda4=_0x39021e[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xd4f')+_[_0x1cd3('0xd50')](_0x1cd3('0x258f'))+'?')[_0x1cd3('0xd60')](_0x1cd3('0xd51')+(_0x1be1cb[_0x1cd3('0x98')]||_0x1cd3('0x258f'))+'</b>'+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x25c7'))[_0x1cd3('0xd63')](_0xa0289f)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x39021e['show'](_0x3beda4)[_0x1cd3('0x77')](function(){_0x16667d(_0x1be1cb);},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}var _0x17908a=!![];var _0x194d37=0x1;_0x5461c9[_0x1cd3('0x4d6')]('vm.query.filter',function(_0x3db875,_0x4e03a2){if(_0x17908a){_0x4c6c85(function(){_0x17908a=![];});}else{if(!_0x4e03a2){_0x194d37=_0x3b0b7c[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0x3db875!==_0x4e03a2){_0x3b0b7c[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}if(!_0x3db875){_0x3b0b7c['query']['page']=_0x194d37;}_0x3b0b7c[_0x1cd3('0x25c2')]();}});function _0x2e8910(_0xda8390){_0x3b0b7c[_0x1cd3('0x258e')]=_0xda8390||{'count':0x0,'rows':[]};}function _0x460f9b(){_0x3b0b7c[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0x3b0b7c[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0x3b0b7c['query'][_0x1cd3('0x8fe')];if(_0x20d26e[_0x1cd3('0x57')](_0x1cd3('0x5f'))){_0x3b0b7c[_0x1cd3('0x539')]=_0x3d3734[_0x1cd3('0xa40')][_0x1cd3('0x361')](_0x3b0b7c[_0x1cd3('0x3d4')],_0x2e8910)['$promise'];}else{_0x3b0b7c[_0x1cd3('0x3d4')]['id']=_0x3b0b7c[_0x1cd3('0x38a')]['id'];_0x3b0b7c[_0x1cd3('0x3d4')][_0x1cd3('0xd58')]=_0x1cd3('0x312');_0x3b0b7c['promise']=_0x3d3734[_0x1cd3('0x38a')][_0x1cd3('0xd59')](_0x3b0b7c[_0x1cd3('0x3d4')],_0x2e8910)[_0x1cd3('0x81')];}}function _0xffc4f9(_0x3a6d44,_0x12c783){_0x39021e[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x25c8'),'controllerAs':'vm','templateUrl':_0x1cd3('0x25c9'),'parent':angular['element'](_0x25794d['body']),'targetEvent':_0x3a6d44,'clickOutsideToClose':!![],'locals':{'internalroute':_0x12c783,'internalroutes':_0x3b0b7c[_0x1cd3('0x258e')][_0x1cd3('0xf6')],'license':_0x3b0b7c['license'],'setting':_0x3b0b7c[_0x1cd3('0xc49')],'crudPermissions':_0x3b0b7c[_0x1cd3('0xd27')]}});}function _0x16667d(_0x49a2d8){_0x3d3734[_0x1cd3('0xa40')][_0x1cd3('0xa1c')]({'id':_0x49a2d8['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x3b0b7c['internalroutes']['rows'],{'id':_0x49a2d8['id']});_0x3b0b7c[_0x1cd3('0x258e')]['count']-=0x1;if(!_0x3b0b7c[_0x1cd3('0x258e')]['rows'][_0x1cd3('0x7a')]){_0x3b0b7c[_0x1cd3('0x25c2')]();}_0x46958a['success']({'title':_[_0x1cd3('0xd50')]('InternalRoute')+_0x1cd3('0xd5c'),'msg':_0x49a2d8['name']?_0x49a2d8[_0x1cd3('0x98')]+'\x20has\x20been\x20deleted!':''});})[_0x1cd3('0xfd')](function(_0x2db23e){if(_0x2db23e[_0x1cd3('0x439')]&&_0x2db23e[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x2db23e['data']['errors']['length']){_0x3b0b7c[_0x1cd3('0xd34')]=_0x2db23e[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x2db23e[_0x1cd3('0x43b')](),'type':'SYSTEM:DELETEvoiceExtension'}];for(var _0x1e1443=0x0;_0x1e1443<_0x2db23e[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length'];_0x1e1443++){_0x46958a[_0x1cd3('0x434')]({'title':_0x2db23e[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1e1443][_0x1cd3('0x424')],'msg':_0x2db23e['data'][_0x1cd3('0xd34')][_0x1e1443][_0x1cd3('0x43a')]});}}else{_0x46958a[_0x1cd3('0x434')]({'title':_0x2db23e['status']?'API:'+_0x2db23e['status']+_0x1cd3('0x436')+_0x2db23e[_0x1cd3('0xd35')]:_0x1cd3('0x258c'),'msg':_0x2db23e[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x2db23e['data'][_0x1cd3('0x43a')]):_0x2db23e[_0x1cd3('0x43a')]||_0x2db23e[_0x1cd3('0x43b')]()});}});}function _0x4a1a9a(){var _0x4f9725=angular[_0x1cd3('0x429')](_0x3b0b7c['selectedInternalRoutes']);_0x3b0b7c[_0x1cd3('0x25ca')]=[];return _0x4f9725;}function _0x4cd7be(_0x45c56f){var _0x5c4f49=_0x39021e[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x25cb'))['htmlContent'](_0x1cd3('0xd51')+_0x3b0b7c['selectedInternalRoutes'][_0x1cd3('0x7a')]+_0x1cd3('0xd61')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')]('delete\x20InternalRoutes')[_0x1cd3('0xd63')](_0x45c56f)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x39021e[_0x1cd3('0x37e')](_0x5c4f49)['then'](function(){_0x3b0b7c[_0x1cd3('0x25ca')][_0x1cd3('0x394')](function(_0x5b2175){_0x16667d(_0x5b2175);});_0x3b0b7c[_0x1cd3('0x25ca')]=[];});}function _0x55d942(){_0x3b0b7c[_0x1cd3('0x25ca')]=[];}function _0x4667d2(){_0x3b0b7c[_0x1cd3('0x25ca')]=_0x3b0b7c[_0x1cd3('0x258e')][_0x1cd3('0xf6')];}}}());(function(){'use strict';_0x182a33[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x53e'),_0x1cd3('0xd24'),_0x1cd3('0x3c5'),'$q',_0x1cd3('0x3f7'),_0x1cd3('0x461'),'musiconholds','musiconhold','api','Auth',_0x1cd3('0x463'),_0x1cd3('0xc49'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')]('app.voice')['controller'](_0x1cd3('0x25cc'),_0x182a33);function _0x182a33(_0x5e6584,_0x28e5cf,_0x4777ed,_0x439aa4,_0x1763c1,_0x1f4a2a,_0x17c4ba,_0x3a0702,_0x129138,_0x44268a,_0x163313,_0x4356da,_0x3a65cf,_0x586c08){var _0x5da9d1=this;_0x5da9d1[_0x1cd3('0x3ca')]=_0x163313['getCurrentUser']();_0x5da9d1[_0x1cd3('0xd34')]=[];_0x5da9d1['setting']=_0x3a65cf;_0x5da9d1[_0x1cd3('0x463')]=_0x4356da;_0x5da9d1[_0x1cd3('0xd27')]=_0x586c08;_0x5da9d1['hasModulePermissions']={};_0x5da9d1[_0x1cd3('0xd29')]=_0x5da9d1[_0x1cd3('0xc49')]&&_0x5da9d1[_0x1cd3('0xc49')]['securePassword']?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x5da9d1[_0x1cd3('0x486')]=_0x1cd3('0x25cd');_0x5da9d1[_0x1cd3('0x1e5b')]=angular[_0x1cd3('0x429')](_0x129138);_0x5da9d1[_0x1cd3('0x1e5a')]=_0x3a0702;_0x5da9d1['newMusicOnHold']=![];if(!_0x5da9d1[_0x1cd3('0x1e5b')]){_0x5da9d1['musiconhold']={'mode':'files'};_0x5da9d1['title']=_0x1cd3('0x25ce');_0x5da9d1[_0x1cd3('0x25cf')]=!![];}_0x5da9d1['addNewMusicOnHold']=_0x199aab;_0x5da9d1[_0x1cd3('0x25d0')]=_0x4e7324;_0x5da9d1['deleteMusicOnHold']=_0x11ed86;_0x5da9d1[_0x1cd3('0xd31')]=_0x18d32a;_0x5da9d1[_0x1cd3('0x39c')]=_0x4c306e;function _0x199aab(){_0x5da9d1[_0x1cd3('0xd34')]=[];_0x44268a[_0x1cd3('0xa44')]['save'](_0x5da9d1[_0x1cd3('0x1e5b')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0xcf19ae){_0x5da9d1['musiconholds'][_0x1cd3('0x621')](_0xcf19ae[_0x1cd3('0xd32')]());_0x17c4ba[_0x1cd3('0x473')]({'title':_0x1cd3('0x25d1'),'msg':_0x5da9d1['musiconhold']['name']?_0x5da9d1[_0x1cd3('0x1e5b')][_0x1cd3('0x98')]+_0x1cd3('0xd33'):''});_0x4c306e(_0xcf19ae);})[_0x1cd3('0xfd')](function(_0x24b13a){if(_0x24b13a['data']&&_0x24b13a[_0x1cd3('0x439')]['errors']&&_0x24b13a[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')]){_0x5da9d1[_0x1cd3('0xd34')]=_0x24b13a[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x24b13a[_0x1cd3('0x43b')](),'type':_0x1cd3('0x25d2')}];for(var _0xb1e2e5=0x0;_0xb1e2e5<_0x24b13a[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length'];_0xb1e2e5+=0x1){_0x17c4ba[_0x1cd3('0x434')]({'title':_0x24b13a[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0xb1e2e5]['type'],'msg':_0x24b13a['data'][_0x1cd3('0xd34')][_0xb1e2e5][_0x1cd3('0x43a')]});}}else{_0x17c4ba[_0x1cd3('0x434')]({'title':_0x24b13a['status']?_0x1cd3('0x435')+_0x24b13a['status']+_0x1cd3('0x436')+_0x24b13a[_0x1cd3('0xd35')]:_0x1cd3('0x25d2'),'msg':_0x24b13a[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x24b13a['data'][_0x1cd3('0x43a')]):_0x24b13a[_0x1cd3('0x43b')]()});}});}function _0x4e7324(){_0x5da9d1[_0x1cd3('0xd34')]=[];_0x44268a[_0x1cd3('0xa44')]['update']({'id':_0x5da9d1[_0x1cd3('0x1e5b')]['id']},_0x5da9d1['musiconhold'])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0xfb7c0e){var _0x3a2463=_[_0x1cd3('0x442')](_0x5da9d1[_0x1cd3('0x1e5a')],{'id':_0xfb7c0e['id']});if(_0x3a2463){_[_0x1cd3('0xf2')](_0x3a2463,_[_0x1cd3('0x5e8')](_0xfb7c0e[_0x1cd3('0xd32')](),_[_0x1cd3('0x80')](_0x3a2463)));}_0x17c4ba[_0x1cd3('0x473')]({'title':_0x1cd3('0x25d3'),'msg':_0x5da9d1['musiconhold']['name']?_0x5da9d1[_0x1cd3('0x1e5b')]['name']+_0x1cd3('0xd37'):''});_0x4c306e(_0xfb7c0e);})[_0x1cd3('0xfd')](function(_0x5e6e1f){if(_0x5e6e1f[_0x1cd3('0x439')]&&_0x5e6e1f['data']['errors']&&_0x5e6e1f['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x5da9d1[_0x1cd3('0xd34')]=_0x5e6e1f[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x5e6e1f[_0x1cd3('0x43b')](),'type':'api.voiceMusicOnHold.update'}];for(var _0x490c20=0x0;_0x490c20<_0x5e6e1f[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x490c20++){_0x17c4ba[_0x1cd3('0x434')]({'title':_0x5e6e1f[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x490c20][_0x1cd3('0x424')],'msg':_0x5e6e1f[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x490c20][_0x1cd3('0x43a')]});}}else{_0x17c4ba[_0x1cd3('0x434')]({'title':_0x5e6e1f[_0x1cd3('0x3a6')]?'API:'+_0x5e6e1f[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x5e6e1f[_0x1cd3('0xd35')]:'api.voiceMusicOnHold.update','msg':_0x5e6e1f[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x5e6e1f[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x5e6e1f[_0x1cd3('0x43b')]()});}});}function _0x11ed86(_0x4bd40b){_0x5da9d1[_0x1cd3('0xd34')]=[];var _0x18d691=_0x439aa4[_0x1cd3('0xd39')]()[_0x1cd3('0x486')]('Are\x20you\x20sure?')[_0x1cd3('0xd3b')](_0x1cd3('0x25d4'))['ariaLabel']('Delete\x20MusicOnHold')['ok'](_0x1cd3('0xd3f'))['cancel'](_0x1cd3('0x674'))['targetEvent'](_0x4bd40b);_0x439aa4[_0x1cd3('0x37e')](_0x18d691)[_0x1cd3('0x77')](function(){_0x44268a['voiceMusicOnHold'][_0x1cd3('0xa1c')]({'id':_0x5da9d1[_0x1cd3('0x1e5b')]['id']})['$promise'][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x5da9d1['musiconholds'],{'id':_0x5da9d1[_0x1cd3('0x1e5b')]['id']});_0x17c4ba[_0x1cd3('0x473')]({'title':'MusicOnHold\x20properly\x20deleted!','msg':(_0x5da9d1['musiconhold'][_0x1cd3('0x98')]||_0x1cd3('0x1e5b'))+'\x20has\x20been\x20deleted!'});_0x4c306e(_0x5da9d1[_0x1cd3('0x1e5b')]);})[_0x1cd3('0xfd')](function(_0x406bf2){if(_0x406bf2[_0x1cd3('0x439')]&&_0x406bf2[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x406bf2['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x5da9d1['errors']=_0x406bf2[_0x1cd3('0x439')]['errors']||[{'message':_0x406bf2[_0x1cd3('0x43b')](),'type':_0x1cd3('0x25d5')}];for(var _0x31ecee=0x0;_0x31ecee<_0x406bf2['data'][_0x1cd3('0xd34')]['length'];_0x31ecee++){_0x17c4ba[_0x1cd3('0x434')]({'title':_0x406bf2[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x31ecee][_0x1cd3('0x424')],'msg':_0x406bf2[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x31ecee][_0x1cd3('0x43a')]});}}else{_0x17c4ba[_0x1cd3('0x434')]({'title':_0x406bf2['status']?_0x1cd3('0x435')+_0x406bf2[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x406bf2[_0x1cd3('0xd35')]:_0x1cd3('0x25d5'),'msg':_0x406bf2['data']?JSON[_0x1cd3('0x438')](_0x406bf2[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x406bf2['message']||_0x406bf2[_0x1cd3('0x43b')]()});}});},function(){});}function _0x18d32a(_0x1c8e0e){return _0x1c8e0e===null?undefined:new Date(_0x1c8e0e);}function _0x4c306e(_0x1a9900){_0x439aa4[_0x1cd3('0x39d')](_0x1a9900);}}}());(function(){'use strict';_0x46f866[_0x1cd3('0xc')]=[_0x1cd3('0x36f'),_0x1cd3('0x460'),_0x1cd3('0x53e'),'$q',_0x1cd3('0x3f7'),'$timeout',_0x1cd3('0x3c5'),_0x1cd3('0x372'),_0x1cd3('0x461'),'api','Auth'];angular['module'](_0x1cd3('0x2d'))['controller']('MusicOnHoldMohSoundsController',_0x46f866);function _0x46f866(_0xd570d9,_0x274c82,_0x23a839,_0x26c334,_0x1420a4,_0x8e8882,_0x55b43a,_0x50bdce,_0x46d9e6,_0x125c6a,_0x4de4e2){var _0x4fdcad=this;_0x4fdcad[_0x1cd3('0x3ca')]=_0x4de4e2[_0x1cd3('0x5d')]();_0x4fdcad[_0x1cd3('0x1e5b')]={};_0x4fdcad[_0x1cd3('0x25d6')]={'count':0x0,'rows':[]};_0x4fdcad[_0x1cd3('0x25d7')]=[];_0x4fdcad[_0x1cd3('0xd27')];_0x4fdcad['query']={'fields':_0x1cd3('0x25d8'),'limit':0xa,'page':0x1};_0x4fdcad[_0x1cd3('0xe08')]=_0x3e4051;_0x4fdcad[_0x1cd3('0xe0a')]=_0x2ef8d2;_0x4fdcad[_0x1cd3('0x25d9')]=_0x375b6d;_0x4fdcad[_0x1cd3('0x473')]=_0x2d81ab;_0x4fdcad['getMusicOnHoldMohSounds']=_0x51e305;_0x4fdcad[_0x1cd3('0x25da')]=_0x5bb997;_0x4fdcad['exportSelectedMusicOnHoldMohSounds']=_0x4027c4;_0x4fdcad[_0x1cd3('0x25db')]=_0x1bc3d6;_0x4fdcad[_0x1cd3('0x25dc')]=_0x18082a;_0x4de4e2[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x125c6a['sound'][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98')})['$promise']['then'](function(_0x1789a7){_0x4fdcad['sounds']=_0x1789a7[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x342478){_0x46d9e6[_0x1cd3('0x434')]({'title':_0x342478[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x342478[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x342478[_0x1cd3('0xd35')]:_0x1cd3('0x2577'),'msg':_0x342478[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x342478[_0x1cd3('0x439')]):_0x342478[_0x1cd3('0x43b')]()});}):_0x125c6a['sound'][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':'name'})['$promise'][_0x1cd3('0x77')](function(_0x2c57f8){_0x4fdcad['sounds']=_0x2c57f8[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x125c6a[_0x1cd3('0x390')]['get']({'userProfileId':_0x4fdcad[_0x1cd3('0x3ca')]['userProfileId'],'sectionId':0x3ef})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x2a2d8d){var _0x38a71a=_0x2a2d8d&&_0x2a2d8d['rows']?_0x2a2d8d[_0x1cd3('0xf6')][0x0]:null;if(!_0x38a71a){var _0x52e6a8=[];var _0x5067ad=null;if(_0x4fdcad[_0x1cd3('0x1e5b')]){_0x5067ad=_[_0x1cd3('0x442')](_0x4fdcad['sounds'],{'id':Number(_0x4fdcad[_0x1cd3('0x1e5b')]['id'])});}for(var _0x435ddf=0x0;_0x435ddf<_0x4fdcad[_0x1cd3('0xef6')][_0x1cd3('0x7a')];_0x435ddf++){if(_0x5067ad&&_0x4fdcad[_0x1cd3('0xef6')][_0x435ddf]['id']===_0x5067ad['id']){_0x4fdcad[_0x1cd3('0xef6')][_0x435ddf][_0x1cd3('0xf4a')]=![];_0x52e6a8[_0x1cd3('0x7b')](_0x4fdcad[_0x1cd3('0xef6')][_0x435ddf]);}}_0x4fdcad[_0x1cd3('0xef6')]=_0x52e6a8;}else{if(!_0x38a71a['autoAssociation']){return _0x125c6a[_0x1cd3('0x392')]['get']({'sectionId':_0x38a71a['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x2f8c9a){var _0x11a056=_[_0x1cd3('0x3d9')](_0x2f8c9a['rows'],function(_0x513f32){return _[_0x1cd3('0x442')](_0x4fdcad[_0x1cd3('0xef6')],{'id':_0x513f32[_0x1cd3('0xe8e')]});});var _0x287020=null;if(_0x4fdcad['musiconhold']){_0x287020=_[_0x1cd3('0x442')](_0x4fdcad[_0x1cd3('0xef6')],{'id':Number(_0x4fdcad[_0x1cd3('0x1e5b')]['id'])});}if(_0x287020&&!_[_0x1cd3('0x38d')](_0x11a056,['id',_0x287020['id']])){var _0x458e4b=_[_0x1cd3('0x442')](_0x4fdcad[_0x1cd3('0xef6')],{'id':_0x287020['id']});_0x458e4b[_0x1cd3('0xf4a')]=![];_0x11a056['push'](_0x458e4b);}_0x4fdcad['sounds']=_0x11a056;});}}})[_0x1cd3('0xfd')](function(_0x81e20c){_0x46d9e6[_0x1cd3('0x434')]({'title':_0x81e20c[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x81e20c['status']+_0x1cd3('0x436')+_0x81e20c['statusText']:'SYSTEM:GETsounds','msg':_0x81e20c[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x81e20c[_0x1cd3('0x439')]):_0x81e20c['toString']()});});function _0x3e4051(_0x27b3b4,_0x360e41){_0x4fdcad[_0x1cd3('0x1e5b')]=_0x27b3b4;_0x4fdcad[_0x1cd3('0xd27')]=typeof _0x360e41!==_0x1cd3('0x491')?_0x360e41:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x4fdcad['query'][_0x1cd3('0x25dd')]=_0x4fdcad[_0x1cd3('0x1e5b')]['id'];_0x4fdcad['query']['id']=_0x4fdcad[_0x1cd3('0x1e5b')]['id'];_0x51e305();}function _0x375b6d(_0x341058,_0x323e24,_0x5c8f3e){return _0x125c6a[_0x1cd3('0xf53')][_0x1cd3('0x489')]({'id':_0x341058['id'],'exists':!![],'attachments':_0x5c8f3e})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0xc147c2){var _0x593668=[_0xc147c2[_0x1cd3('0x6ef')]];var _0x51e0a4='mohSound'+_0x341058['id'];var _0x12f86a=new Blob(_0x593668,{'type':_0xc147c2[_0x1cd3('0x424')]});_0x51e0a4=_0x341058[_0x1cd3('0x2301')]?_0x341058[_0x1cd3('0x2302')]+'.'+_0x341058[_0x1cd3('0x2301')]:_0x341058['save_name'];var _0x2ea4dc=window[_0x1cd3('0x924')][_0x1cd3('0x3aa')]('a');_0x2ea4dc[_0x1cd3('0x481')](_0x1cd3('0x3ab'),URL['createObjectURL'](_0x12f86a));_0x2ea4dc[_0x1cd3('0x481')](_0x1cd3('0x489'),_0x51e0a4);document[_0x1cd3('0x380')]['appendChild'](_0x2ea4dc);_0x2ea4dc[_0x1cd3('0x52d')]();})[_0x1cd3('0xfd')](function(_0x3db1cb){if(_0x3db1cb[_0x1cd3('0x439')]&&_0x3db1cb[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x3db1cb['data'][_0x1cd3('0xd34')]['length']){for(var _0x2fddde=0x0;_0x2fddde<_0x3db1cb[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x2fddde+=0x1){_0x46d9e6['error']({'title':_0x3db1cb[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x2fddde]['type'],'msg':_0x3db1cb[_0x1cd3('0x439')]['errors'][_0x2fddde][_0x1cd3('0x43a')]});}}else{_0x46d9e6[_0x1cd3('0x434')]({'title':_0x3db1cb['status']?_0x1cd3('0x435')+_0x3db1cb[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x3db1cb['statusText']:_0x1cd3('0x25d2'),'msg':_0x3db1cb[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x3db1cb[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x3db1cb[_0x1cd3('0x43b')]()});}});}function _0x2ef8d2(_0x113537,_0x185278){var _0x2425ea=_0x55b43a[_0x1cd3('0xd39')]()['title']('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20mohSound?')[_0x1cd3('0xd60')](_0x1cd3('0xd51')+(_0x113537['name']||_0x113537['id']&&_[_0x1cd3('0x12bc')](_0x1cd3('0x25de'))+_0x113537['id']||'mohSound')+_0x1cd3('0xd52')+_0x1cd3('0xd53'))['ariaLabel']('delete\x20mohSound')[_0x1cd3('0xd63')](_0x185278)['ok']('OK')['cancel'](_0x1cd3('0xd55'));_0x55b43a[_0x1cd3('0x37e')](_0x2425ea)[_0x1cd3('0x77')](function(){_0x1bc3d6(_0x113537);},function(){console['log'](_0x1cd3('0xd55'));});}function _0x2d81ab(_0x8e6d84){_0x4fdcad[_0x1cd3('0x25d6')]=_0x8e6d84||{'count':0x0,'rows':[]};}function _0x51e305(){_0x4fdcad[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0x4fdcad[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0x4fdcad[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];_0x4fdcad[_0x1cd3('0x539')]=_0x125c6a['voiceMusicOnHold']['getSounds'](_0x4fdcad[_0x1cd3('0x3d4')],_0x2d81ab)['$promise'];}function _0x5bb997(_0x37d61d,_0x44af62){_0x55b43a[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x25df'),'controllerAs':'vm','templateUrl':'app/main/apps/voice/views/musiconholds/edit/mohSounds/dialog.html','parent':angular['element'](_0x50bdce[_0x1cd3('0x380')]),'targetEvent':_0x37d61d,'clickOutsideToClose':!![],'locals':{'musiconhold':_0x4fdcad[_0x1cd3('0x1e5b')],'mohSound':_0x44af62,'mohSounds':_0x4fdcad['musiconholdMohSounds'][_0x1cd3('0xf6')],'license':null,'setting':null,'crudPermissions':_0x4fdcad[_0x1cd3('0xd27')]}});}function _0x1bc3d6(_0x3bffe7){_0x125c6a[_0x1cd3('0xa44')]['removeSound']({'id':_0x23a839[_0x1cd3('0x36a')]['id'],'id2':_0x3bffe7['id']})['$promise'][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x4fdcad[_0x1cd3('0x25d6')]['rows'],{'id':_0x3bffe7['id']});_0x4fdcad[_0x1cd3('0x25d6')][_0x1cd3('0x466')]-=0x1;if(!_0x4fdcad[_0x1cd3('0x25d6')][_0x1cd3('0xf6')]['length']){_0x51e305();}_0x46d9e6[_0x1cd3('0x473')]({'title':_0x1cd3('0x25e0'),'msg':_0x3bffe7['name']?_0x3bffe7['name']+'\x20has\x20been\x20deleted!':''});})[_0x1cd3('0xfd')](function(_0x98fd78){if(_0x98fd78[_0x1cd3('0x439')]&&_0x98fd78[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x98fd78[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){vm[_0x1cd3('0xd34')]=_0x98fd78['data'][_0x1cd3('0xd34')]||[{'message':_0x98fd78[_0x1cd3('0x43b')](),'type':'SYSTEM:GETvoiceMusicOnHold'}];for(var _0x56c194=0x0;_0x56c194<_0x98fd78[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length'];_0x56c194++){_0x46d9e6[_0x1cd3('0x434')]({'title':_0x98fd78[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x56c194][_0x1cd3('0x424')],'msg':_0x98fd78[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x56c194][_0x1cd3('0x43a')]});}}else{_0x46d9e6[_0x1cd3('0x434')]({'title':_0x98fd78['status']?_0x1cd3('0x435')+_0x98fd78['status']+'\x20-\x20'+_0x98fd78['statusText']:_0x1cd3('0x25e1'),'msg':_0x98fd78[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x98fd78[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x98fd78[_0x1cd3('0x43a')]||_0x98fd78['toString']()});}});}function _0x4027c4(){var _0x156952=angular[_0x1cd3('0x429')](_0x4fdcad[_0x1cd3('0x25d7')]);_0x4fdcad[_0x1cd3('0x25d7')]=[];return _0x156952;}function _0x18082a(_0x594970){var _0xf88dce=_0x55b43a[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x25e2'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x4fdcad[_0x1cd3('0x25d7')]['length']+_0x1cd3('0xd61')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')]('delete\x20mohSounds')[_0x1cd3('0xd63')](_0x594970)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x55b43a[_0x1cd3('0x37e')](_0xf88dce)[_0x1cd3('0x77')](function(){_0x4fdcad[_0x1cd3('0x25d7')]['forEach'](function(_0x362868){_0x1bc3d6(_0x362868);});_0x4fdcad['selectedMusicOnHoldMohSounds']=[];});}var _0x35b21a=!![];var _0xca41c8=0x1;_0x274c82[_0x1cd3('0x4d6')]('vm_dc.query.filter',function(_0x3b0542,_0x2ed0e4){if(_0x35b21a){_0x8e8882(function(){_0x35b21a=![];});}else{if(!_0x2ed0e4){_0xca41c8=_0x4fdcad['query'][_0x1cd3('0x8fd')];}if(_0x3b0542!==_0x2ed0e4){_0x4fdcad[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}if(!_0x3b0542){_0x4fdcad[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0xca41c8;}_0x51e305();}});}}());(function(){'use strict';_0x3b2441[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x53e'),_0x1cd3('0xd24'),'$mdDialog','$q',_0x1cd3('0x3f7'),_0x1cd3('0x461'),_0x1cd3('0x25e3'),_0x1cd3('0x25e4'),_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0x463'),'setting',_0x1cd3('0xd27')];angular['module']('app.voice')[_0x1cd3('0x39b')]('CreateOrEditMohSoundDialogController',_0x3b2441);function _0x3b2441(_0x13d3d7,_0x3a8cf1,_0x3cbbbc,_0x12ee99,_0x53a596,_0x5620b5,_0xc9dce,_0x54a3ec,_0x524ef4,_0x201862,_0x25dc82,_0x42eff2,_0x50173a,_0x549f6f){var _0x52e1f6=this;_0x52e1f6[_0x1cd3('0x3ca')]=_0x25dc82[_0x1cd3('0x5d')]();_0x52e1f6['errors']=[];_0x52e1f6[_0x1cd3('0xc49')]=_0x50173a;_0x52e1f6[_0x1cd3('0x463')]=_0x42eff2;_0x52e1f6[_0x1cd3('0xd27')]=_0x549f6f;_0x52e1f6['hasModulePermissions']={};_0x52e1f6['passwordPattern']=_0x52e1f6[_0x1cd3('0xc49')]&&_0x52e1f6[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x52e1f6['title']='VOICE.EDIT_MOHSOUND';_0x52e1f6[_0x1cd3('0x25e4')]=angular['copy'](_0x524ef4);_0x52e1f6[_0x1cd3('0x25e3')]=_0x54a3ec;_0x52e1f6[_0x1cd3('0x25e5')]=![];if(!_0x52e1f6[_0x1cd3('0x25e4')]){_0x52e1f6['mohSound']={};_0x52e1f6[_0x1cd3('0x486')]=_0x1cd3('0x25e6');_0x52e1f6[_0x1cd3('0x25e5')]=!![];}if(_0x3a8cf1[_0x1cd3('0x36a')]['id']){_0x52e1f6[_0x1cd3('0x25e4')][_0x1cd3('0x25dd')]=_0x3a8cf1['params']['id'];}_0x52e1f6[_0x1cd3('0x25e7')]=_0x5e647f;_0x52e1f6[_0x1cd3('0x25e8')]=_0x2fc1c1;_0x52e1f6[_0x1cd3('0x25e9')]=_0x17d38a;_0x52e1f6[_0x1cd3('0xd31')]=_0x23920c;_0x52e1f6[_0x1cd3('0x39c')]=_0x458bd8;_0x25dc82[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x201862[_0x1cd3('0xf53')]['get']({'fields':'id,name','sort':_0x1cd3('0x98')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x205283){_0x52e1f6[_0x1cd3('0xef6')]=_0x205283[_0x1cd3('0xf6')]||[];})['catch'](function(_0x57c7c8){_0xc9dce[_0x1cd3('0x434')]({'title':_0x57c7c8['status']?'API:'+_0x57c7c8[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x57c7c8[_0x1cd3('0xd35')]:'SYSTEM:GET_SOUNDS','msg':_0x57c7c8[_0x1cd3('0x439')]?JSON['stringify'](_0x57c7c8[_0x1cd3('0x439')]):_0x57c7c8[_0x1cd3('0x43b')]()});}):_0x201862['sound'][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':'name'})[_0x1cd3('0x81')]['then'](function(_0x56c1d4){_0x52e1f6['sounds']=_0x56c1d4[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x201862['userProfileSection'][_0x1cd3('0x361')]({'userProfileId':_0x52e1f6[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x3ef})['$promise'];})[_0x1cd3('0x77')](function(_0x17c2c0){var _0x2884e2=_0x17c2c0&&_0x17c2c0[_0x1cd3('0xf6')]?_0x17c2c0[_0x1cd3('0xf6')][0x0]:null;if(!_0x2884e2){var _0x40c4ed=[];var _0x1b0bde=null;if(_0x52e1f6[_0x1cd3('0x25e4')]){_0x1b0bde=_[_0x1cd3('0x442')](_0x52e1f6[_0x1cd3('0xef6')],{'id':Number(_0x52e1f6[_0x1cd3('0x25e4')]['id'])});}for(var _0x3ac443=0x0;_0x3ac443<_0x52e1f6[_0x1cd3('0xef6')][_0x1cd3('0x7a')];_0x3ac443++){if(_0x1b0bde&&_0x52e1f6[_0x1cd3('0xef6')][_0x3ac443]['id']===_0x1b0bde['id']){_0x52e1f6['sounds'][_0x3ac443][_0x1cd3('0xf4a')]=![];_0x40c4ed[_0x1cd3('0x7b')](_0x52e1f6[_0x1cd3('0xef6')][_0x3ac443]);}}_0x52e1f6[_0x1cd3('0xef6')]=_0x40c4ed;}else{if(!_0x2884e2['autoAssociation']){return _0x201862[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x2884e2['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0xc853c7){var _0x1a2a35=_['map'](_0xc853c7[_0x1cd3('0xf6')],function(_0x4e21af){return _[_0x1cd3('0x442')](_0x52e1f6[_0x1cd3('0xef6')],{'id':_0x4e21af[_0x1cd3('0xe8e')]});});var _0x427e40=null;if(_0x52e1f6['mohSound']){_0x427e40=_['find'](_0x52e1f6[_0x1cd3('0xef6')],{'id':Number(_0x52e1f6[_0x1cd3('0x25e4')]['id'])});}if(_0x427e40&&!_[_0x1cd3('0x38d')](_0x1a2a35,['id',_0x427e40['id']])){var _0x3a3a4d=_[_0x1cd3('0x442')](_0x52e1f6[_0x1cd3('0xef6')],{'id':_0x427e40['id']});_0x3a3a4d[_0x1cd3('0xf4a')]=![];_0x1a2a35[_0x1cd3('0x7b')](_0x3a3a4d);}_0x52e1f6[_0x1cd3('0xef6')]=_0x1a2a35;});}}})[_0x1cd3('0xfd')](function(_0x25571a){_0xc9dce['error']({'title':_0x25571a[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x25571a['status']+_0x1cd3('0x436')+_0x25571a['statusText']:_0x1cd3('0x25bf'),'msg':_0x25571a['data']?JSON['stringify'](_0x25571a[_0x1cd3('0x439')]):_0x25571a['toString']()});});function _0x5e647f(){_0x52e1f6[_0x1cd3('0xd34')]=[];_0x201862[_0x1cd3('0xa44')][_0x1cd3('0x25ea')]({'id':_0x3a8cf1[_0x1cd3('0x36a')]['id']},_0x52e1f6[_0x1cd3('0x25e4')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x4a981b){_0x52e1f6[_0x1cd3('0x25e3')]['unshift'](_0x4a981b[_0x1cd3('0xd32')]());_0xc9dce['success']({'title':_0x1cd3('0x25eb'),'msg':_0x52e1f6[_0x1cd3('0x25e4')][_0x1cd3('0x98')]?_0x52e1f6[_0x1cd3('0x25e4')][_0x1cd3('0x98')]+_0x1cd3('0xd33'):''});_0x458bd8(_0x4a981b);})[_0x1cd3('0xfd')](function(_0xfcae7c){if(_0xfcae7c[_0x1cd3('0x439')]&&_0xfcae7c['data'][_0x1cd3('0xd34')]&&_0xfcae7c[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x52e1f6[_0x1cd3('0xd34')]=_0xfcae7c[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0xfcae7c[_0x1cd3('0x43b')](),'type':_0x1cd3('0x25d2')}];for(var _0x2fc016=0x0;_0x2fc016<_0xfcae7c['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x2fc016+=0x1){_0xc9dce['error']({'title':_0xfcae7c[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x2fc016][_0x1cd3('0x424')],'msg':_0xfcae7c['data']['errors'][_0x2fc016]['message']});}}else{_0xc9dce['error']({'title':_0xfcae7c[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0xfcae7c[_0x1cd3('0x3a6')]+'\x20-\x20'+_0xfcae7c[_0x1cd3('0xd35')]:_0x1cd3('0x25d2'),'msg':_0xfcae7c[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0xfcae7c[_0x1cd3('0x439')]['message']):_0xfcae7c[_0x1cd3('0x43b')]()});}});}function _0x2fc1c1(){_0x52e1f6['errors']=[];_0x201862[_0x1cd3('0xa44')][_0x1cd3('0x378')]({'id':_0x52e1f6['mohSound']['id']},_0x52e1f6[_0x1cd3('0x25e4')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x4a70d3){var _0x61e628=_[_0x1cd3('0x442')](_0x52e1f6[_0x1cd3('0x25e3')],{'id':_0x4a70d3['id']});if(_0x61e628){_['merge'](_0x61e628,_[_0x1cd3('0x5e8')](_0x4a70d3[_0x1cd3('0xd32')](),_[_0x1cd3('0x80')](_0x61e628)));}_0xc9dce['success']({'title':_0x1cd3('0x25ec'),'msg':_0x52e1f6[_0x1cd3('0x25e4')][_0x1cd3('0x98')]?_0x52e1f6[_0x1cd3('0x25e4')][_0x1cd3('0x98')]+_0x1cd3('0xd37'):''});_0x458bd8(_0x4a70d3);})[_0x1cd3('0xfd')](function(_0x322f46){if(_0x322f46[_0x1cd3('0x439')]&&_0x322f46[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x322f46[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')]){_0x52e1f6[_0x1cd3('0xd34')]=_0x322f46[_0x1cd3('0x439')]['errors']||[{'message':_0x322f46[_0x1cd3('0x43b')](),'type':_0x1cd3('0x25ed')}];for(var _0x43d583=0x0;_0x43d583<_0x322f46[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x43d583++){_0xc9dce[_0x1cd3('0x434')]({'title':_0x322f46[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x43d583][_0x1cd3('0x424')],'msg':_0x322f46['data'][_0x1cd3('0xd34')][_0x43d583][_0x1cd3('0x43a')]});}}else{_0xc9dce[_0x1cd3('0x434')]({'title':_0x322f46[_0x1cd3('0x3a6')]?'API:'+_0x322f46[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x322f46['statusText']:_0x1cd3('0x25ed'),'msg':_0x322f46[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x322f46[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x322f46['toString']()});}});}function _0x17d38a(_0x1e1318){_0x52e1f6[_0x1cd3('0xd34')]=[];var _0x47e848=_0x12ee99[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xd3a'))[_0x1cd3('0xd3b')](_0x1cd3('0x25ee'))['ariaLabel'](_0x1cd3('0x25ef'))['ok']('Delete')[_0x1cd3('0x4d8')]('Cancel')[_0x1cd3('0xd63')](_0x1e1318);_0x12ee99['show'](_0x47e848)[_0x1cd3('0x77')](function(){_0x201862['voiceMusicOnHold'][_0x1cd3('0xa1c')]({'id':_0x52e1f6[_0x1cd3('0x25e4')]['id']})['$promise'][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x52e1f6[_0x1cd3('0x25e3')],{'id':_0x52e1f6[_0x1cd3('0x25e4')]['id']});_0xc9dce[_0x1cd3('0x473')]({'title':_0x1cd3('0x25f0'),'msg':(_0x52e1f6[_0x1cd3('0x25e4')]['name']||_0x1cd3('0x25e4'))+_0x1cd3('0xd41')});_0x458bd8(_0x52e1f6[_0x1cd3('0x25e4')]);})[_0x1cd3('0xfd')](function(_0xebaf35){if(_0xebaf35[_0x1cd3('0x439')]&&_0xebaf35[_0x1cd3('0x439')]['errors']&&_0xebaf35['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x52e1f6[_0x1cd3('0xd34')]=_0xebaf35[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0xebaf35[_0x1cd3('0x43b')](),'type':_0x1cd3('0x25d5')}];for(var _0x4f56b9=0x0;_0x4f56b9<_0xebaf35['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x4f56b9++){_0xc9dce[_0x1cd3('0x434')]({'title':_0xebaf35['data'][_0x1cd3('0xd34')][_0x4f56b9]['type'],'msg':_0xebaf35[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x4f56b9][_0x1cd3('0x43a')]});}}else{_0xc9dce['error']({'title':_0xebaf35[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0xebaf35['status']+_0x1cd3('0x436')+_0xebaf35[_0x1cd3('0xd35')]:'api.voiceMusicOnHold.delete','msg':_0xebaf35['data']?JSON[_0x1cd3('0x438')](_0xebaf35['data']['message']):_0xebaf35[_0x1cd3('0x43a')]||_0xebaf35[_0x1cd3('0x43b')]()});}});},function(){});}function _0x23920c(_0x1b01bf){return _0x1b01bf===null?undefined:new Date(_0x1b01bf);}function _0x458bd8(_0x25d4e0){_0x12ee99[_0x1cd3('0x39d')](_0x25d4e0);}}}());(function(){'use strict';_0xff2d7[_0x1cd3('0xc')]=[_0x1cd3('0x53e'),_0x1cd3('0xd24'),_0x1cd3('0x3c5'),_0x1cd3('0x372'),'$translate','license',_0x1cd3('0xc49'),_0x1cd3('0x370'),'toasty',_0x1cd3('0x56'),_0x1cd3('0x1e5b'),_0x1cd3('0x390')];angular['module']('app.voice')[_0x1cd3('0x39b')]('MusicOnHoldController',_0xff2d7);function _0xff2d7(_0x502616,_0x27047b,_0x3f4b9b,_0x4ecda1,_0x50071f,_0x5f2a85,_0x1434ca,_0x46ef03,_0x383695,_0xa9aa90,_0x1a4c05,_0x36fb52){var _0x38da08=this;_0x38da08[_0x1cd3('0x3ca')]=_0xa9aa90[_0x1cd3('0x5d')]();_0x38da08['license']=_0x5f2a85;_0x38da08[_0x1cd3('0xc49')]=_0x1434ca;_0x38da08[_0x1cd3('0xd29')]=_0x38da08[_0x1cd3('0xc49')]['securePassword']?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x38da08['location']=_0x27047b[_0x1cd3('0x3b0')]()+_0x1cd3('0x11cf')+_0x27047b['host']();_0x38da08[_0x1cd3('0x1e5b')]=_0x1a4c05||_0x502616[_0x1cd3('0x36a')][_0x1cd3('0x1e5b')]||{};_0x38da08[_0x1cd3('0x390')]=_0x36fb52&&_0x36fb52['count']==0x1?_0x36fb52[_0x1cd3('0xf6')][0x0]:null;_0x38da08[_0x1cd3('0xd27')]=_0xa9aa90[_0x1cd3('0xd44')](_0x38da08[_0x1cd3('0x390')]?_0x38da08[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);_0x38da08['hasModulePermissions']={};_0x38da08[_0x1cd3('0xe5f')]=_0x502616[_0x1cd3('0x36a')][_0x1cd3('0x1418')]||0x0;_0x38da08[_0x1cd3('0x11d0')]=_0x383695['info'];_0x38da08['gotoMusicOnHolds']=_0x2fe9f5;_0x38da08[_0x1cd3('0x25d0')]=_0x4fe743;function _0x2fe9f5(){_0x502616['go']('app.voice.musiconholds',{},{'reload':_0x1cd3('0x25f1')});}function _0x4fe743(){_0x46ef03[_0x1cd3('0xa44')]['update']({'id':_0x38da08[_0x1cd3('0x1e5b')]['id']},_0x38da08[_0x1cd3('0x1e5b')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x383695['success']({'title':_0x1cd3('0x25f2'),'msg':_0x38da08['musiconhold'][_0x1cd3('0x98')]?_0x38da08[_0x1cd3('0x1e5b')][_0x1cd3('0x98')]+_0x1cd3('0xe65'):''});})[_0x1cd3('0xfd')](function(_0x496dcd){_0x383695[_0x1cd3('0x434')]({'title':_0x496dcd[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x496dcd['status']+_0x1cd3('0x436')+_0x496dcd['statusText']:_0x1cd3('0x25e1'),'msg':_0x496dcd[_0x1cd3('0x439')]?JSON['stringify'](_0x496dcd[_0x1cd3('0x439')]):_0x496dcd[_0x1cd3('0x43b')]()});});}}}());(function(){'use strict';_0x2d5d7d[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x371'),_0x1cd3('0x53e'),_0x1cd3('0x969'),_0x1cd3('0x3c5'),_0x1cd3('0x372'),_0x1cd3('0x3e7'),_0x1cd3('0x3f7'),_0x1cd3('0x1e5a'),_0x1cd3('0x38a'),'userProfileSection',_0x1cd3('0x370'),_0x1cd3('0x2dd'),_0x1cd3('0x461'),_0x1cd3('0x56'),_0x1cd3('0x463'),_0x1cd3('0xc49')];angular['module']('app.voice')[_0x1cd3('0x39b')](_0x1cd3('0x25f3'),_0x2d5d7d);function _0x2d5d7d(_0x129506,_0x3cc45b,_0x87c67c,_0x50e763,_0x50c9e8,_0x1d097c,_0x5cf21d,_0x321b10,_0x3e9230,_0x11ca47,_0x3a77ec,_0x44775e,_0x13a13e,_0x1b9d37,_0x59a6c3,_0x1fb0d3,_0x1aadcf){var _0xfa398e=this;_0xfa398e[_0x1cd3('0x463')]=_0x1fb0d3;_0xfa398e[_0x1cd3('0xc49')]=_0x1aadcf;_0xfa398e[_0x1cd3('0x3ca')]=_0x59a6c3[_0x1cd3('0x5d')]();_0xfa398e[_0x1cd3('0x1e5a')]=_0x3e9230||{'count':0x0,'rows':[]};_0xfa398e[_0x1cd3('0x38a')]=_0x11ca47;_0xfa398e[_0x1cd3('0x390')]=_0x3a77ec&&_0x3a77ec[_0x1cd3('0x466')]==0x1?_0x3a77ec[_0x1cd3('0xf6')][0x0]:null;_0xfa398e[_0x1cd3('0xd27')]=_0x59a6c3[_0x1cd3('0xd44')](_0xfa398e[_0x1cd3('0x390')]?_0xfa398e[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);_0xfa398e['table']=_0x1cd3('0x1e5a');_0xfa398e[_0x1cd3('0xd46')]='';_0xfa398e[_0x1cd3('0xd47')]=null;_0xfa398e['selectedMusicOnHolds']=[];_0xfa398e[_0x1cd3('0x3d4')]={'fields':'createdAt,updatedAt,id,name,mode,directory,application,format,sort','defaultEntry':_0x1cd3('0x31a'),'limit':0xa,'page':0x1};_0xfa398e['arraymode']=_[_0x1cd3('0xe2d')]([{'option':'Files','value':_0x1cd3('0x25f4')},{'option':_0x1cd3('0x1cb6'),'value':'\x27custom\x27'}],function(_0x5b71ec){return _['replace'](_0x5b71ec[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0xfa398e[_0x1cd3('0x25f5')]=_[_0x1cd3('0xe2d')]([{'option':'Random','value':_0x1cd3('0x25f6')},{'option':_0x1cd3('0x25f7'),'value':_0x1cd3('0x25f8')}],function(_0x143c0f){return _['replace'](_0x143c0f[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0xfa398e['editstate']=_0xed709b;_0xfa398e['deleteconfirm']=_0x4cb9f8;_0xfa398e[_0x1cd3('0x473')]=_0x470df0;_0xfa398e[_0x1cd3('0x25f9')]=_0x3d7eab;_0xfa398e['createOrEditMusicOnHold']=_0x29f5ee;_0xfa398e['deleteMusicOnHold']=_0x2b2bb1;_0xfa398e[_0x1cd3('0x25fa')]=_0x150590;_0xfa398e[_0x1cd3('0x25fb')]=_0x272aa8;_0xfa398e[_0x1cd3('0x25fc')]=_0x5e72c1;_0xfa398e[_0x1cd3('0x25fd')]=_0x551aa4;function _0xed709b(_0x48c7b8,_0x36cf8b){_0x87c67c['go']('app.voice.musiconholds.edit',{'id':_0x48c7b8['id'],'musiconhold':_0x48c7b8,'crudPermissions':_0xfa398e['crudPermissions']});}function _0x4cb9f8(_0x3c4802,_0x1f5e56){var _0x23b98e=_0x50c9e8[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xd4f')+_['startCase'](_0x1cd3('0x1e5b'))+'?')[_0x1cd3('0xd60')](_0x1cd3('0xd51')+(_0x3c4802[_0x1cd3('0x98')]||_0x1cd3('0x1e5b'))+_0x1cd3('0xd52')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x25fe'))[_0x1cd3('0xd63')](_0x1f5e56)['ok']('OK')[_0x1cd3('0x4d8')]('CANCEL');_0x50c9e8[_0x1cd3('0x37e')](_0x23b98e)[_0x1cd3('0x77')](function(){_0x2b2bb1(_0x3c4802);},function(){console['log'](_0x1cd3('0xd55'));});}var _0x45f417=!![];var _0x34515c=0x1;_0x129506[_0x1cd3('0x4d6')]('vm.query.filter',function(_0x126a83,_0x29c1c0){if(_0x45f417){_0x5cf21d(function(){_0x45f417=![];});}else{if(!_0x29c1c0){_0x34515c=_0xfa398e[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0x126a83!==_0x29c1c0){_0xfa398e[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}if(!_0x126a83){_0xfa398e[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0x34515c;}_0xfa398e[_0x1cd3('0x25f9')]();}});function _0x470df0(_0xb24e3a){_0xfa398e[_0x1cd3('0x1e5a')]=_0xb24e3a||{'count':0x0,'rows':[]};}function _0x3d7eab(){_0xfa398e['query'][_0x1cd3('0xd57')]=(_0xfa398e[_0x1cd3('0x3d4')]['page']-0x1)*_0xfa398e[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];if(_0x59a6c3[_0x1cd3('0x57')]('admin')){_0xfa398e[_0x1cd3('0x539')]=_0x44775e[_0x1cd3('0xa44')][_0x1cd3('0x361')](_0xfa398e[_0x1cd3('0x3d4')],_0x470df0)[_0x1cd3('0x81')];}else{_0xfa398e[_0x1cd3('0x3d4')]['id']=_0xfa398e['userProfile']['id'];_0xfa398e[_0x1cd3('0x3d4')][_0x1cd3('0xd58')]=_0x1cd3('0x325');_0xfa398e[_0x1cd3('0x539')]=_0x44775e[_0x1cd3('0x38a')]['getResources'](_0xfa398e['query'],_0x470df0)[_0x1cd3('0x81')];}}function _0x29f5ee(_0x14ea0c,_0x2c1cf5){_0x50c9e8[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x25cc'),'controllerAs':'vm','templateUrl':_0x1cd3('0x25ff'),'parent':angular[_0x1cd3('0x37f')](_0x1d097c[_0x1cd3('0x380')]),'targetEvent':_0x14ea0c,'clickOutsideToClose':!![],'locals':{'musiconhold':_0x2c1cf5,'musiconholds':_0xfa398e[_0x1cd3('0x1e5a')]['rows'],'license':_0xfa398e[_0x1cd3('0x463')],'setting':_0xfa398e[_0x1cd3('0xc49')],'crudPermissions':_0xfa398e[_0x1cd3('0xd27')]}});}function _0x2b2bb1(_0x2e2979){_0x44775e[_0x1cd3('0xa44')][_0x1cd3('0xa1c')]({'id':_0x2e2979['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_['remove'](_0xfa398e[_0x1cd3('0x1e5a')][_0x1cd3('0xf6')],{'id':_0x2e2979['id']});_0xfa398e[_0x1cd3('0x1e5a')][_0x1cd3('0x466')]-=0x1;if(!_0xfa398e[_0x1cd3('0x1e5a')][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){_0xfa398e[_0x1cd3('0x25f9')]();}_0x1b9d37[_0x1cd3('0x473')]({'title':_[_0x1cd3('0xd50')](_0x1cd3('0x2600'))+_0x1cd3('0xd5c'),'msg':_0x2e2979[_0x1cd3('0x98')]?_0x2e2979['name']+_0x1cd3('0xd41'):''});})[_0x1cd3('0xfd')](function(_0x55b075){if(_0x55b075['data']&&_0x55b075[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x55b075['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0xfa398e[_0x1cd3('0xd34')]=_0x55b075['data'][_0x1cd3('0xd34')]||[{'message':_0x55b075['toString'](),'type':'SYSTEM:DELETEvoiceMusicOnHold'}];for(var _0x2d8a69=0x0;_0x2d8a69<_0x55b075['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x2d8a69++){_0x1b9d37[_0x1cd3('0x434')]({'title':_0x55b075[_0x1cd3('0x439')]['errors'][_0x2d8a69][_0x1cd3('0x424')],'msg':_0x55b075[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x2d8a69]['message']});}}else{_0x1b9d37['error']({'title':_0x55b075['status']?_0x1cd3('0x435')+_0x55b075[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x55b075[_0x1cd3('0xd35')]:'SYSTEM:DELETEvoiceMusicOnHold','msg':_0x55b075['data']?JSON[_0x1cd3('0x438')](_0x55b075[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x55b075[_0x1cd3('0x43a')]||_0x55b075[_0x1cd3('0x43b')]()});}});}function _0x150590(){var _0x2f46b5=angular['copy'](_0xfa398e[_0x1cd3('0x2601')]);_0xfa398e[_0x1cd3('0x2601')]=[];return _0x2f46b5;}function _0x272aa8(_0x47fc18){var _0x1ec5c4=_0x50c9e8[_0x1cd3('0xd39')]()['title']('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20musiconholds?')[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0xfa398e[_0x1cd3('0x2601')][_0x1cd3('0x7a')]+_0x1cd3('0xd61')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x2602'))[_0x1cd3('0xd63')](_0x47fc18)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x50c9e8[_0x1cd3('0x37e')](_0x1ec5c4)[_0x1cd3('0x77')](function(){_0xfa398e[_0x1cd3('0x2601')][_0x1cd3('0x394')](function(_0x439b5a){_0x2b2bb1(_0x439b5a);});_0xfa398e[_0x1cd3('0x2601')]=[];});}function _0x5e72c1(){_0xfa398e[_0x1cd3('0x2601')]=[];}function _0x551aa4(){_0xfa398e[_0x1cd3('0x2601')]=_0xfa398e[_0x1cd3('0x1e5a')][_0x1cd3('0xf6')];}}}());(function(){'use strict';_0x4d2c91[_0x1cd3('0xc')]=['$scope','$state',_0x1cd3('0xd24'),'$mdDialog','$q','$translate',_0x1cd3('0x461'),_0x1cd3('0x2603'),_0x1cd3('0x2604'),_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0x463'),_0x1cd3('0xc49'),_0x1cd3('0xd27')];angular['module'](_0x1cd3('0x2d'))[_0x1cd3('0x39b')](_0x1cd3('0x2605'),_0x4d2c91);function _0x4d2c91(_0x7dda02,_0x49d7d0,_0x1418de,_0x1d50c4,_0x18c624,_0x5378ca,_0x4d4070,_0x455459,_0x5c5b30,_0x2b1f7d,_0x476706,_0x483f11,_0x576679,_0x4d0fb2){var _0xca840f=this;_0xca840f[_0x1cd3('0x3ca')]=_0x476706[_0x1cd3('0x5d')]();_0xca840f[_0x1cd3('0xd34')]=[];_0xca840f[_0x1cd3('0xc49')]=_0x576679;_0xca840f[_0x1cd3('0x463')]=_0x483f11;_0xca840f[_0x1cd3('0xd27')]=_0x4d0fb2;_0xca840f[_0x1cd3('0xd28')]={};_0xca840f['passwordPattern']=_0xca840f[_0x1cd3('0xc49')]&&_0xca840f[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0xca840f[_0x1cd3('0x486')]=_0x1cd3('0x2606');_0xca840f[_0x1cd3('0x2604')]=angular[_0x1cd3('0x429')](_0x5c5b30);_0xca840f['outboundroutes']=_0x455459;_0xca840f['newOutboundRoute']=![];_0xca840f['outboundrouteApps']={'count':0x0,'rows':[]};_0xca840f[_0x1cd3('0x1210')]=_[_0x1cd3('0x3a7')](_[_0x1cd3('0x1211')]([{'app':_0x1cd3('0x1212'),'appType':_0x1cd3('0x77e'),'type':'Outbound','types':[_0x1cd3('0x1213'),_0x1cd3('0x8f6'),'list'],'fields':[],'isApp':![]},{'app':_0x1cd3('0x2535'),'appType':_0x1cd3('0x1283'),'context':'from-sip','type':_0x1cd3('0x2607'),'icon':'icon-apps','interval':_0x1cd3('0x1216'),'options':'xX','isApp':!![],'extraApi':[{'name':_0x1cd3('0xef5'),'route':_0x1cd3('0x18e7'),'filters':{'fields':'name','sort':_0x1cd3('0x98')}},{'name':'tags','route':_0x1cd3('0xb76'),'filters':{'fields':_0x1cd3('0x98'),'sort':'name','nolimit':!![]}}],'fields':[{'title':'Trunk','name':_0x1cd3('0x18e7'),'type':_0x1cd3('0x1218'),'values':_0x1cd3('0xef5'),'value':_0x1cd3('0x253b'),'option':'trunk.name','required':!![],'param':0x0},{'title':_0x1cd3('0x2608'),'name':_0x1cd3('0x127f'),'type':_0x1cd3('0x401'),'ngPattern':_0x1cd3('0x2609'),'help':!![]},{'title':_0x1cd3('0x260a'),'name':_0x1cd3('0x6aa'),'type':_0x1cd3('0x401')},{'title':_0x1cd3('0xf9'),'name':'tag','type':_0x1cd3('0x1218'),'values':'tags','value':_0x1cd3('0x1232'),'option':_0x1cd3('0x1232'),'defaultValues':[{'value':_0x1cd3('0x260b'),'option':'None'}]},{'title':_0x1cd3('0x1225'),'name':_0x1cd3('0x8fc'),'type':_0x1cd3('0x407'),'min':0x0,'param':0x1},{'title':_0x1cd3('0x2525'),'name':'options','type':_0x1cd3('0x401'),'param':0x2},{'title':'Url','name':_0x1cd3('0x3a4'),'type':_0x1cd3('0x401'),'param':0x3}]},{'app':null,'type':_0x1cd3('0x2607'),'appType':'custom','icon':_0x1cd3('0x1214'),'interval':_0x1cd3('0x1216'),'isApp':!![],'fields':[{'title':_0x1cd3('0x2550'),'name':_0x1cd3('0xd0a'),'type':_0x1cd3('0x401'),'required':!![],'param':0x0},{'title':_0x1cd3('0x2551'),'name':'appdata','type':_0x1cd3('0x401'),'param':0x1}]}],[_0x1cd3('0xd0a')]),{'isApp':![]});if(!_0xca840f[_0x1cd3('0x2604')]){_0xca840f[_0x1cd3('0x2604')]={'appdata':'Outbound\x20Call','type':_0x1cd3('0x128'),'context':'from-sip','recordingFormat':_0x1cd3('0x6ae')};_0xca840f[_0x1cd3('0x486')]=_0x1cd3('0x260c');_0xca840f[_0x1cd3('0x260d')]=!![];}_0xca840f[_0x1cd3('0x260e')]=_0xccae48;_0xca840f[_0x1cd3('0x260f')]=_0x1d054d;_0xca840f['deleteOutboundRoute']=_0x323ccb;_0xca840f['getDateFromString']=_0x3a25c4;_0xca840f[_0x1cd3('0x1254')]=_0x2677b7;_0xca840f['closeDialog']=_0x516dd8;_0x476706[_0x1cd3('0x57')]('admin')?_0x2b1f7d[_0x1cd3('0xa3e')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':'name','nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x2f7904){_0xca840f[_0x1cd3('0x2119')]=_0x2f7904[_0x1cd3('0xf6')]||[];})['catch'](function(_0x4b7aab){_0x4d4070[_0x1cd3('0x434')]({'title':_0x4b7aab[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x4b7aab[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x4b7aab[_0x1cd3('0xd35')]:_0x1cd3('0x211a'),'msg':_0x4b7aab[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x4b7aab[_0x1cd3('0x439')]):_0x4b7aab[_0x1cd3('0x43b')]()});}):_0x2b1f7d[_0x1cd3('0xa3e')][_0x1cd3('0x361')]({'fields':'id,name','sort':_0x1cd3('0x98'),'nolimit':'true'})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x53d2ac){_0xca840f['contexts']=_0x53d2ac[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x2b1f7d[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0xca840f[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x195})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x321494){var _0x23d81e=_0x321494&&_0x321494[_0x1cd3('0xf6')]?_0x321494['rows'][0x0]:null;if(!_0x23d81e){return _0x2b1f7d[_0x1cd3('0xa3e')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0'),'defaultEntry':0x1})[_0x1cd3('0x81')]['then'](function(_0x39d880){_0xca840f[_0x1cd3('0x2119')]=_0x39d880[_0x1cd3('0xf6')]||[];});}else{if(!_0x23d81e[_0x1cd3('0x391')]){return _0x2b1f7d[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x23d81e['id']})['$promise'][_0x1cd3('0x77')](function(_0xb7e8ba){var _0x100c3b=_[_0x1cd3('0x3d9')](_0xb7e8ba[_0x1cd3('0xf6')],function(_0x572c52){return _[_0x1cd3('0x442')](_0xca840f[_0x1cd3('0x2119')],{'id':_0x572c52[_0x1cd3('0xe8e')]});});var _0x23e00f=null;if(_0xca840f['outboundroute']){_0x23e00f=_[_0x1cd3('0x442')](_0xca840f[_0x1cd3('0x2119')],{'name':_0xca840f[_0x1cd3('0x2604')][_0x1cd3('0xf0a')]});}if(_0x23e00f&&!_[_0x1cd3('0x38d')](_0x100c3b,['id',_0x23e00f['id']])){var _0x356165=_[_0x1cd3('0x442')](_0xca840f['contexts'],{'id':_0x23e00f['id']});_0x356165['canSelect']=![];_0x100c3b[_0x1cd3('0x7b')](_0x356165);}_0xca840f[_0x1cd3('0x2119')]=_0x100c3b;});}}})[_0x1cd3('0xfd')](function(_0x49121e){_0x4d4070[_0x1cd3('0x434')]({'title':_0x49121e['status']?_0x1cd3('0x435')+_0x49121e[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x49121e[_0x1cd3('0xd35')]:_0x1cd3('0x214c'),'msg':_0x49121e[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x49121e['data']):_0x49121e[_0x1cd3('0x43b')]()});});function _0xccae48(){_0xca840f[_0x1cd3('0xd34')]=[];_0x2b1f7d['voiceExtension'][_0x1cd3('0xd6d')](_0xca840f[_0x1cd3('0x2604')])['$promise'][_0x1cd3('0x77')](function(_0x2b45b6){_0xca840f[_0x1cd3('0x2603')][_0x1cd3('0x621')](_0x2b45b6[_0x1cd3('0xd32')]());_0x4d4070[_0x1cd3('0x473')]({'title':_0x1cd3('0x2610'),'msg':_0xca840f[_0x1cd3('0x2604')][_0x1cd3('0x98')]?_0xca840f[_0x1cd3('0x2604')][_0x1cd3('0x98')]+_0x1cd3('0xd33'):''});_0x516dd8(_0x2b45b6);})[_0x1cd3('0xfd')](function(_0x12d10c){if(_0x12d10c[_0x1cd3('0x439')]&&_0x12d10c[_0x1cd3('0x439')]['errors']&&_0x12d10c['data'][_0x1cd3('0xd34')]['length']){_0xca840f[_0x1cd3('0xd34')]=_0x12d10c[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x12d10c[_0x1cd3('0x43b')](),'type':_0x1cd3('0x251a')}];for(var _0x1d4b5b=0x0;_0x1d4b5b<_0x12d10c[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0x1d4b5b+=0x1){_0x4d4070[_0x1cd3('0x434')]({'title':_0x12d10c[_0x1cd3('0x439')]['errors'][_0x1d4b5b]['type'],'msg':_0x12d10c[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1d4b5b][_0x1cd3('0x43a')]});}}else{_0x4d4070[_0x1cd3('0x434')]({'title':_0x12d10c[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x12d10c[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x12d10c[_0x1cd3('0xd35')]:_0x1cd3('0x251a'),'msg':_0x12d10c[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x12d10c[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x12d10c[_0x1cd3('0x43b')]()});}});}function _0x1d054d(){_0xca840f[_0x1cd3('0xd34')]=[];_0x2b1f7d[_0x1cd3('0xa40')]['update']({'id':_0xca840f['outboundroute']['id']},_0xca840f[_0x1cd3('0x2604')])['$promise']['then'](function(_0x5f43f6){var _0x4d55bc=_['find'](_0xca840f['outboundroutes'],{'id':_0x5f43f6['id']});if(_0x4d55bc){_[_0x1cd3('0xf2')](_0x4d55bc,_[_0x1cd3('0x5e8')](_0x5f43f6[_0x1cd3('0xd32')](),_[_0x1cd3('0x80')](_0x4d55bc)));_0x2b1f7d[_0x1cd3('0xa40')][_0x1cd3('0x361')]({'sort':'priority','VoiceExtensionId':_0x4d55bc['id'],'isApp':!![],'nolimit':!![]})[_0x1cd3('0x81')]['then'](function(_0x5871f5){_0xca840f[_0x1cd3('0x2611')]=_0x5871f5;_0x2677b7();});}_0x4d4070[_0x1cd3('0x473')]({'title':_0x1cd3('0x2612'),'msg':_0xca840f[_0x1cd3('0x2604')][_0x1cd3('0x98')]?_0xca840f[_0x1cd3('0x2604')][_0x1cd3('0x98')]+_0x1cd3('0xd37'):''});_0x516dd8(_0x5f43f6);})['catch'](function(_0x46be7d){if(_0x46be7d['data']&&_0x46be7d[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x46be7d[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0xca840f[_0x1cd3('0xd34')]=_0x46be7d[_0x1cd3('0x439')]['errors']||[{'message':_0x46be7d[_0x1cd3('0x43b')](),'type':'api.voiceExtension.update'}];for(var _0x4aec05=0x0;_0x4aec05<_0x46be7d[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0x4aec05++){_0x4d4070[_0x1cd3('0x434')]({'title':_0x46be7d[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x4aec05]['type'],'msg':_0x46be7d[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x4aec05][_0x1cd3('0x43a')]});}}else{_0x4d4070['error']({'title':_0x46be7d[_0x1cd3('0x3a6')]?'API:'+_0x46be7d['status']+_0x1cd3('0x436')+_0x46be7d[_0x1cd3('0xd35')]:_0x1cd3('0x251b'),'msg':_0x46be7d[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x46be7d[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x46be7d[_0x1cd3('0x43b')]()});}});}function _0x323ccb(_0x597e79){_0x2b1f7d[_0x1cd3('0xc95')]['get']({'VoiceExtensionId':_0x5c5b30['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x2731a1){if(_0x2731a1&&_0x2731a1[_0x1cd3('0xf6')]&&_0x2731a1[_0x1cd3('0xf6')]['length']>0x0){return _0x4d4070[_0x1cd3('0x434')]({'title':_0x1cd3('0x2613'),'msg':_0x1cd3('0x2614')});}else{_0xca840f['errors']=[];var _0x2a81d0=_0x1d50c4[_0x1cd3('0xd39')]()['title']('Are\x20you\x20sure?')[_0x1cd3('0xd3b')](_0x1cd3('0x2615'))[_0x1cd3('0xd3d')](_0x1cd3('0x2616'))['ok'](_0x1cd3('0xd3f'))[_0x1cd3('0x4d8')](_0x1cd3('0x674'))[_0x1cd3('0xd63')](_0x597e79);_0x1d50c4[_0x1cd3('0x37e')](_0x2a81d0)[_0x1cd3('0x77')](function(){_0x2b1f7d[_0x1cd3('0xa40')][_0x1cd3('0xa1c')]({'id':_0xca840f['outboundroute']['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0xca840f[_0x1cd3('0x2603')],{'id':_0xca840f['outboundroute']['id']});_0x4d4070[_0x1cd3('0x473')]({'title':_0x1cd3('0x2617'),'msg':(_0xca840f[_0x1cd3('0x2604')][_0x1cd3('0x98')]||_0x1cd3('0x2604'))+_0x1cd3('0xd41')});_0x516dd8(_0xca840f['outboundroute']);})[_0x1cd3('0xfd')](function(_0x5388db){if(_0x5388db[_0x1cd3('0x439')]&&_0x5388db[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x5388db[_0x1cd3('0x439')]['errors']['length']){_0xca840f[_0x1cd3('0xd34')]=_0x5388db[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x5388db['toString'](),'type':_0x1cd3('0x251e')}];for(var _0x2dd07f=0x0;_0x2dd07f<_0x5388db[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length'];_0x2dd07f++){_0x4d4070[_0x1cd3('0x434')]({'title':_0x5388db[_0x1cd3('0x439')]['errors'][_0x2dd07f][_0x1cd3('0x424')],'msg':_0x5388db[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x2dd07f]['message']});}}else{_0x4d4070[_0x1cd3('0x434')]({'title':_0x5388db[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x5388db['status']+'\x20-\x20'+_0x5388db['statusText']:_0x1cd3('0x251e'),'msg':_0x5388db['data']?JSON[_0x1cd3('0x438')](_0x5388db['data']['message']):_0x5388db[_0x1cd3('0x43a')]||_0x5388db[_0x1cd3('0x43b')]()});}});},function(){});}});}function _0x2677b7(){var _0x4a04bf=0x2;var _0x180b13=[];_0x180b13[_0x1cd3('0x7b')]({'type':_0x1cd3('0x128'),'app':_0x1cd3('0x254e'),'appdata':'CDR(type)=outbound','context':_0xca840f[_0x1cd3('0x2604')]['context'],'exten':_0xca840f[_0x1cd3('0x2604')][_0x1cd3('0x1261')],'priority':_0x4a04bf++,'VoiceExtensionId':_0xca840f[_0x1cd3('0x2604')]['id']});_0x180b13[_0x1cd3('0x7b')]({'type':_0x1cd3('0x128'),'app':'Set','appdata':_0x1cd3('0x2618')+(_0xca840f[_0x1cd3('0x2604')][_0x1cd3('0x128a')]?_0x1cd3('0x1284')+_0xca840f[_0x1cd3('0x2604')][_0x1cd3('0x128a')]+'}':_0x1cd3('0x128d')),'context':_0xca840f[_0x1cd3('0x2604')][_0x1cd3('0xf0a')],'exten':_0xca840f[_0x1cd3('0x2604')][_0x1cd3('0x1261')],'priority':_0x4a04bf++,'VoiceExtensionId':_0xca840f[_0x1cd3('0x2604')]['id']});_0x180b13['push']({'type':'outbound','app':'Set','appdata':_0x1cd3('0x2561'),'context':_0xca840f[_0x1cd3('0x2604')][_0x1cd3('0xf0a')],'exten':_0xca840f[_0x1cd3('0x2604')][_0x1cd3('0x1261')],'priority':_0x4a04bf++,'VoiceExtensionId':_0xca840f['outboundroute']['id']});_0x180b13[_0x1cd3('0x7b')]({'type':_0x1cd3('0x128'),'app':_0x1cd3('0x254e'),'appdata':_0x1cd3('0x2562'),'context':_0xca840f[_0x1cd3('0x2604')][_0x1cd3('0xf0a')],'exten':_0xca840f[_0x1cd3('0x2604')][_0x1cd3('0x1261')],'priority':_0x4a04bf++,'VoiceExtensionId':_0xca840f[_0x1cd3('0x2604')]['id']});_0x180b13['push']({'type':_0x1cd3('0x128'),'app':_0x1cd3('0x254e'),'appdata':'MONITOR_OPTIONS=ab','context':_0xca840f[_0x1cd3('0x2604')][_0x1cd3('0xf0a')],'exten':_0xca840f['outboundroute'][_0x1cd3('0x1261')],'priority':_0x4a04bf++,'VoiceExtensionId':_0xca840f['outboundroute']['id']});_0x180b13['push']({'type':_0x1cd3('0x128'),'app':_0x1cd3('0x254e'),'appdata':_0x1cd3('0x2619')+_0xca840f[_0x1cd3('0x2604')]['id'],'context':_0xca840f[_0x1cd3('0x2604')][_0x1cd3('0xf0a')],'exten':_0xca840f[_0x1cd3('0x2604')]['exten'],'priority':_0x4a04bf++,'VoiceExtensionId':_0xca840f[_0x1cd3('0x2604')]['id']});if(_0xca840f[_0x1cd3('0x2604')][_0x1cd3('0x3d0')](_0x1cd3('0x1285'))&&_0xca840f[_0x1cd3('0x2604')][_0x1cd3('0x1285')]!==_0x1cd3('0x6ae')){_0x180b13[_0x1cd3('0x7b')]({'type':_0x1cd3('0x128'),'app':_0x1cd3('0x254e'),'appdata':_0x1cd3('0x261a'),'context':_0xca840f[_0x1cd3('0x2604')][_0x1cd3('0xf0a')],'exten':_0xca840f[_0x1cd3('0x2604')][_0x1cd3('0x1261')],'priority':_0x4a04bf++,'VoiceExtensionId':_0xca840f[_0x1cd3('0x2604')]['id']});_0x180b13[_0x1cd3('0x7b')]({'type':_0x1cd3('0x128'),'app':_0x1cd3('0x254e'),'appdata':_0x1cd3('0x261b')+_0xca840f[_0x1cd3('0x2604')][_0x1cd3('0x1285')]||'wav','context':_0xca840f[_0x1cd3('0x2604')][_0x1cd3('0xf0a')],'exten':_0xca840f['outboundroute'][_0x1cd3('0x1261')],'priority':_0x4a04bf++,'VoiceExtensionId':_0xca840f['outboundroute']['id']});}for(var _0x1add32=0x0,_0x6c88c3=0x0;_0x1add32<_0xca840f[_0x1cd3('0x2611')]['rows'][_0x1cd3('0x7a')];_0x1add32++,_0x6c88c3=0x0){var _0x2d47ba=_0xca840f[_0x1cd3('0x2611')]['rows'][_0x1add32];var _0x5c6797=[];var _0x5c1951=[];_0x2d47ba[_0x1cd3('0xef9')]=_0x2d47ba[_0x1cd3('0x77e')]!=='*,*,*,*'?[_0x2d47ba[_0x1cd3('0x77e')]]:_0x2d47ba[_0x1cd3('0xf4b')]?_['map'](_[_0x1cd3('0x395')](_0xca840f[_0x1cd3('0xef9')][_0x1cd3('0xf6')],{'IntervalId':_0x2d47ba[_0x1cd3('0xf4b')]}),_0x1cd3('0x77e')):[];_0x2d47ba[_0x1cd3('0xf0a')]=_0xca840f[_0x1cd3('0x2604')][_0x1cd3('0xf0a')];_0x2d47ba[_0x1cd3('0x1261')]=_0xca840f[_0x1cd3('0x2604')][_0x1cd3('0x1261')];if(_0x2d47ba[_0x1cd3('0x424')]){_0x2d47ba['type']=_0x2d47ba[_0x1cd3('0x424')]['toLowerCase']();}if(_0x2d47ba['hasOwnProperty'](_0x1cd3('0xb76'))){if(_0x2d47ba[_0x1cd3('0xb76')]&&_0x2d47ba[_0x1cd3('0xb76')]!=='--'){_0x5c6797['push']({'type':_0x2d47ba[_0x1cd3('0x424')][_0x1cd3('0x433')](),'app':_0x1cd3('0x254e'),'appdata':'CDR(tag)='+_0x2d47ba[_0x1cd3('0xb76')],'context':_0xca840f[_0x1cd3('0x2604')][_0x1cd3('0xf0a')],'exten':_0xca840f[_0x1cd3('0x2604')][_0x1cd3('0x1261')],'priority':_0x2d47ba[_0x1cd3('0xef9')]['length']+_0x4a04bf+_0x6c88c3++,'VoiceExtensionId':_0xca840f[_0x1cd3('0x2604')]['id']});}}if(_0x2d47ba[_0x1cd3('0x127f')]){_0x5c6797['push']({'type':_0x2d47ba[_0x1cd3('0x424')][_0x1cd3('0x433')](),'app':_0x1cd3('0x2564'),'appdata':_0x1cd3('0x261c')+_0x2d47ba['callerID']+')','context':_0xca840f[_0x1cd3('0x2604')][_0x1cd3('0xf0a')],'exten':_0xca840f['outboundroute'][_0x1cd3('0x1261')],'priority':_0x2d47ba['intervals'][_0x1cd3('0x7a')]+_0x4a04bf+_0x6c88c3++,'VoiceExtensionId':_0xca840f[_0x1cd3('0x2604')]['id']});}else{_0x5c6797[_0x1cd3('0x7b')]({'type':_0x2d47ba[_0x1cd3('0x424')]['toLowerCase'](),'app':_0x1cd3('0x2564'),'appdata':_0x1cd3('0x261d'),'context':_0xca840f[_0x1cd3('0x2604')][_0x1cd3('0xf0a')],'exten':_0xca840f[_0x1cd3('0x2604')][_0x1cd3('0x1261')],'priority':_0x2d47ba[_0x1cd3('0xef9')][_0x1cd3('0x7a')]+_0x4a04bf+_0x6c88c3++,'VoiceExtensionId':_0xca840f[_0x1cd3('0x2604')]['id']});}for(var _0x3deb2b=0x0;_0x3deb2b<_0x2d47ba[_0x1cd3('0xef9')]['length'];_0x3deb2b++){var _0x5ab7ae=_0x4a04bf+_0x2d47ba[_0x1cd3('0xef9')][_0x1cd3('0x7a')];var _0x15f0ab=_0x3deb2b===_0x2d47ba['intervals'][_0x1cd3('0x7a')]-0x1?_0x4a04bf+_0x5c6797['length']+_0x5c1951[_0x1cd3('0x7a')]+0x2:_0x4a04bf+_0x3deb2b+0x1;_0x5c6797['splice'](_0x3deb2b,0x0,{'type':_0x1cd3('0x128'),'app':_0x1cd3('0x2567'),'appdata':_0x2d47ba[_0x1cd3('0xef9')][_0x3deb2b]+'?'+_0xca840f['outboundroute'][_0x1cd3('0xf0a')]+_0x1cd3('0x2568')+_0x5ab7ae+':'+_0xca840f[_0x1cd3('0x2604')][_0x1cd3('0xf0a')]+_0x1cd3('0x2568')+_0x15f0ab,'exten':_0xca840f['outboundroute'][_0x1cd3('0x1261')],'context':_0xca840f['outboundroute'][_0x1cd3('0xf0a')],'priority':_0x4a04bf+_0x3deb2b,'VoiceExtensionId':_0xca840f[_0x1cd3('0x2604')]['id']});}if(_0x2d47ba[_0x1cd3('0x125b')]===_0x1cd3('0x1283')){var _0x3a6d61=_[_0x1cd3('0x442')](_0xca840f[_0x1cd3('0x1210')],{'appType':_0x1cd3('0x1283')});if(_0x3a6d61&&_0x3a6d61[_0x1cd3('0x3c7')]){var _0x1da7e0={};var _0x2ae767=_0x2d47ba[_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');var _0x1525f6=[];for(var _0x106829=0x0,_0xf93843=_0x3a6d61['fields'][_0x1cd3('0x7a')];_0x106829<_0xf93843;_0x106829++){if(_0x3a6d61[_0x1cd3('0x3c7')][_0x106829][_0x1cd3('0x3d0')]('param')){switch(_0x3a6d61['fields'][_0x106829]['name']){case'trunk':_0x1da7e0[_0x1cd3('0x18e7')]=_0x2ae767[_0x3a6d61[_0x1cd3('0x3c7')][_0x106829][_0x1cd3('0x90e')]][_0x1cd3('0x3ef')]('/')[0x1];_0x1da7e0[_0x1cd3('0xf09')]=_0x2ae767[_0x3a6d61[_0x1cd3('0x3c7')][_0x106829][_0x1cd3('0x90e')]][_0x1cd3('0x3ef')]('/')[0x2];_0x1da7e0['prefix']=_0x1da7e0[_0x1cd3('0xf09')]?_0x1da7e0[_0x1cd3('0xf09')][_0x1cd3('0x3ef')]('$')[0x0]:undefined;_0x1da7e0[_0x1cd3('0xf09')]=_0xca840f[_0x1cd3('0x2604')]['cutdigits']?(_0x1da7e0[_0x1cd3('0x6aa')]||'')+'${EXTEN:'+_0xca840f[_0x1cd3('0x2604')][_0x1cd3('0x128a')]+'}':(_0x1da7e0[_0x1cd3('0x6aa')]||'')+_0x1cd3('0x128d');_0x1525f6[_0x3a6d61[_0x1cd3('0x3c7')][_0x106829][_0x1cd3('0x90e')]]=[_0x1cd3('0x1949'),_0x1da7e0[_0x1cd3('0x18e7')],_0x1da7e0['phone']]['join']('/');break;case _0x1cd3('0x422'):_0x1da7e0[_0x1cd3('0x422')]=_0x2ae767[_0x3a6d61[_0x1cd3('0x3c7')][_0x106829][_0x1cd3('0x90e')]];if(_0xca840f[_0x1cd3('0x2604')][_0x1cd3('0x1285')]!==_0x1cd3('0x6ae')){if(_0x1da7e0[_0x1cd3('0x422')][_0x1cd3('0x45e')](_0x1cd3('0x1286'))<0x0){_0x1da7e0[_0x1cd3('0x422')]+=_0x1cd3('0x1286');}}else{_0x1da7e0[_0x1cd3('0x422')]=_0x1da7e0['options'][_0x1cd3('0x3f1')]('U(xcally-mixmonitor-context)','');}_0x1525f6[_0x3a6d61[_0x1cd3('0x3c7')][_0x106829][_0x1cd3('0x90e')]]=_0x1da7e0['options'];break;default:_0x1525f6[_0x3a6d61['fields'][_0x106829][_0x1cd3('0x90e')]]=_0x2ae767[_0x3a6d61[_0x1cd3('0x3c7')][_0x106829]['param']];}}}_0x2d47ba['appdata']=_0x1525f6[_0x1cd3('0x3de')](',');}}_0x2d47ba[_0x1cd3('0xf0c')]=_0x5c6797[_0x1cd3('0x7a')]?_[_0x1cd3('0x5df')](_0x5c6797)[_0x1cd3('0xf0c')]+0x1:_0x4a04bf;_0x4a04bf=(_0x5c1951['length']?_['last'](_0x5c1951)['priority']:_0x2d47ba[_0x1cd3('0xf0c')])+0x1;_0x180b13=_['concat'](_0x180b13,_0x5c6797,[_0x2d47ba],_0x5c1951);}_0x180b13[_0x1cd3('0x7b')]({'type':_0x1cd3('0x128'),'app':'Hangup','exten':_0xca840f[_0x1cd3('0x2604')][_0x1cd3('0x1261')],'context':_0xca840f[_0x1cd3('0x2604')][_0x1cd3('0xf0a')],'priority':_0x4a04bf,'VoiceExtensionId':_0xca840f['outboundroute']['id']});_0x2b1f7d[_0x1cd3('0xa40')]['addApplications']({'id':_0xca840f['outboundroute']['id']},_[_0x1cd3('0x1211')](_0x180b13,_0x1cd3('0xf0c')))['$promise'][_0x1cd3('0x77')](function(_0x217f5d){_0xca840f['outboundrouteApps'][_0x1cd3('0xf6')]=_0x217f5d[_0x1cd3('0xf6')];})[_0x1cd3('0xfd')](function(_0x3b5638){console[_0x1cd3('0x434')](_0x3b5638);});}function _0x3a25c4(_0x34a38){return _0x34a38===null?undefined:new Date(_0x34a38);}function _0x516dd8(_0x56ce83){_0x1d50c4[_0x1cd3('0x39d')](_0x56ce83);}}}());(function(){'use strict';_0x4e9208[_0x1cd3('0xc')]=[_0x1cd3('0x370'),_0x1cd3('0x3c5'),_0x1cd3('0x372'),_0x1cd3('0x461'),_0x1cd3('0xd18'),_0x1cd3('0x460'),_0x1cd3('0x56')];angular[_0x1cd3('0x0')](_0x1cd3('0x2d'))[_0x1cd3('0x39b')](_0x1cd3('0x261e'),_0x4e9208);function _0x4e9208(_0x3ce3a4,_0x398426,_0x448725,_0x36388c,_0x2a6880,_0x520433,_0x5f1027){var _0x3a7716=this;_0x3a7716[_0x1cd3('0x3ca')]=_0x5f1027['getCurrentUser']();_0x3a7716[_0x1cd3('0x2604')]={};_0x3a7716[_0x1cd3('0x2611')]={'count':0x0,'rows':[]};_0x3a7716[_0x1cd3('0x261f')]=[];_0x3a7716['crudPermissions'];_0x3a7716[_0x1cd3('0x3d4')]={'sort':'priority'};_0x3a7716['apps']=_['reject'](_[_0x1cd3('0x1211')]([{'app':_0x1cd3('0x1212'),'appType':_0x1cd3('0x77e'),'type':'Outbound','types':['always',_0x1cd3('0x8f6'),_0x1cd3('0x9d5')],'fields':[],'isApp':![]},{'app':_0x1cd3('0x2535'),'appType':_0x1cd3('0x1283'),'context':'from-sip','type':_0x1cd3('0x2607'),'icon':'icon-apps','interval':_0x1cd3('0x1216'),'options':'xX','isApp':!![],'extraApi':[{'name':_0x1cd3('0xef5'),'field':{'name':_0x1cd3('0x18e7'),'key':'name'},'route':_0x1cd3('0x18e7'),'filters':{'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'nolimit':!![]},'permissions':{'section':0x3f3}},{'name':_0x1cd3('0x921'),'field':{'name':_0x1cd3('0xb76'),'key':_0x1cd3('0x98')},'route':_0x1cd3('0xb76'),'filters':{'fields':'id,name','sort':_0x1cd3('0x98'),'nolimit':!![]},'permissions':{'section':0x3f0}}],'fields':[{'title':_0x1cd3('0x13de'),'name':_0x1cd3('0x18e7'),'type':_0x1cd3('0x1218'),'values':_0x1cd3('0xef5'),'value':_0x1cd3('0x253b'),'option':_0x1cd3('0x253b'),'required':!![],'param':0x0},{'title':_0x1cd3('0x2608'),'name':'callerID','type':'text','help':!![]},{'title':_0x1cd3('0x260a'),'name':_0x1cd3('0x6aa'),'type':'text'},{'title':'Tags','name':_0x1cd3('0xb76'),'type':_0x1cd3('0x1218'),'values':_0x1cd3('0x921'),'value':_0x1cd3('0x1232'),'option':_0x1cd3('0x1232'),'defaultValues':[{'value':_0x1cd3('0x260b'),'option':_0x1cd3('0x18f6')}]},{'title':_0x1cd3('0x1225'),'name':'timeout','type':'number','min':0x0,'param':0x1},{'title':_0x1cd3('0x2525'),'name':_0x1cd3('0x422'),'type':_0x1cd3('0x401'),'param':0x2},{'title':_0x1cd3('0x2526'),'name':'url','type':_0x1cd3('0x401'),'param':0x3}]},{'app':null,'type':'Outbound','appType':_0x1cd3('0x8f6'),'icon':_0x1cd3('0x1214'),'interval':_0x1cd3('0x1216'),'isApp':!![],'fields':[{'title':_0x1cd3('0x2550'),'name':_0x1cd3('0xd0a'),'type':_0x1cd3('0x401'),'required':!![],'param':0x0},{'title':_0x1cd3('0x2551'),'name':_0x1cd3('0x127d'),'type':'text','param':0x1}]}],[_0x1cd3('0xd0a')]),{'isApp':![]});_0x3a7716[_0x1cd3('0x9d5')]={'group':{'name':_0x1cd3('0x1250'),'pull':_0x1cd3('0x1141')},'animation':0x64,'sort':![]};_0x3a7716['applications']={'group':{'name':_0x1cd3('0x1c5d'),'put':'opt1'},'animation':0x64,'onAdd':function(_0x172141){_0x39ec89(_0x172141,_0x172141[_0x1cd3('0x18fa')]);},'onSort':function(_0x3e2683){_0x4af190();}};_0x3a7716[_0x1cd3('0xe08')]=_0x1766db;_0x3a7716[_0x1cd3('0xe0a')]=_0x5449cc;_0x3a7716[_0x1cd3('0x2620')]=_0x590f30;_0x3a7716[_0x1cd3('0x2621')]=_0x39ec89;_0x3a7716['editInterval']=_0x68c5f7;_0x3a7716['deleteOutboundRouteApp']=_0x2eb310;_0x3a7716[_0x1cd3('0x2622')]=_0x3c8fc7;_0x3a7716[_0x1cd3('0x1254')]=_0x4af190;_0x3a7716[_0x1cd3('0x1257')]=_0x5a93f4;_0x3a7716[_0x1cd3('0x2623')]=_0x225f2f;function _0x1766db(_0x7c1d7f,_0x465f2e){_0x3a7716[_0x1cd3('0x2604')]=_0x7c1d7f;_0x3a7716[_0x1cd3('0xd27')]=typeof _0x465f2e!==_0x1cd3('0x491')?_0x465f2e:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x3a7716[_0x1cd3('0x18f9')][_0x1cd3('0x447')]=!_0x3a7716[_0x1cd3('0xd27')]['canEdit']?!![]:![];_0x2a6880['on'](_0x1cd3('0x2624'),_0x3a7716[_0x1cd3('0x2623')]);_0x3a7716['query'][_0x1cd3('0x255c')]=_0x7c1d7f['id'];_0x3a7716['query'][_0x1cd3('0x1255')]=!![];_0x3a7716[_0x1cd3('0x3d4')][_0x1cd3('0x1256')]=!![];_0x3a7716[_0x1cd3('0x2620')]();_0x3a7716[_0x1cd3('0x1257')]();}function _0x225f2f(_0x3c3ce4){if(_0x3c3ce4[_0x1cd3('0x255c')]===_0x3a7716[_0x1cd3('0x2604')]['id']){_0x4af190(!![]);}}function _0x5449cc(_0x3228de,_0x1e2284,_0x43e5d9){var _0x3fc49b=_0x398426[_0x1cd3('0xd39')]()['title']('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20application?')[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x3228de[_0x1cd3('0xd0a')]+'</b>'+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x1259'))[_0x1cd3('0xd63')](_0x43e5d9)['ok']('OK')[_0x1cd3('0x4d8')]('CANCEL');_0x398426['show'](_0x3fc49b)[_0x1cd3('0x77')](function(){_0x3a7716[_0x1cd3('0x2611')][_0x1cd3('0xf6')][_0x1cd3('0x446')](_0x1e2284,0x1);_0x4af190();},function(){console[_0x1cd3('0x7d')]('CANCEL');});}function _0x39ec89(_0x34793d,_0x35433a){if(_0x3a7716['outboundrouteApps'][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){var _0xdefba=_0x3a7716['outboundrouteApps'][_0x1cd3('0xf6')][_0x35433a]?_0x3a7716[_0x1cd3('0x2611')][_0x1cd3('0xf6')][_0x35433a]:_0x3a7716[_0x1cd3('0x2611')][_0x1cd3('0xf6')][0x0];_0x398426[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x2625')+(_0xdefba['appType']||_0xdefba[_0x1cd3('0xd0a')])[_0x1cd3('0x433')]()+_0x1cd3('0x125c'),'controllerAs':'vm','templateUrl':_0x1cd3('0x2626')+(_0xdefba['appType']||_0xdefba[_0x1cd3('0xd0a')])[_0x1cd3('0x433')]()+_0x1cd3('0x125e'),'parent':angular['element'](_0x448725[_0x1cd3('0x380')]),'targetEvent':_0x34793d,'clickOutsideToClose':!![],'locals':{'outboundrouteApp':_0xdefba,'outboundroute':_0x3a7716[_0x1cd3('0x2604')],'crudPermissions':_0x3a7716['crudPermissions']}})['then'](function(_0x4874b5){if(_0x4874b5){if(_0x4874b5['id']){_0x3a7716[_0x1cd3('0x2611')]['rows'][_0x35433a]=_0x4874b5;}else{_0x3a7716['outboundrouteApps'][_0x1cd3('0xf6')][_0x1cd3('0x446')](_0x35433a,0x0,_0x4874b5);}_0x4af190();}})['catch'](function(_0x33ac38){if(_0x33ac38){_0x36388c[_0x1cd3('0x434')]({'title':_0x33ac38['status']?_0x1cd3('0x435')+_0x33ac38['status']+'\x20-\x20'+_0x33ac38[_0x1cd3('0xd35')]:_0x1cd3('0x125f'),'msg':_0x33ac38['data']?JSON[_0x1cd3('0x438')](_0x33ac38['data']):_0x33ac38['toString']()});}});}}function _0x68c5f7(_0xcd3f86,_0xa9907e){if(_0x3a7716['outboundrouteApps'][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){var _0x547a37=_0x3a7716['outboundrouteApps'][_0x1cd3('0xf6')][_0xa9907e]?_0x3a7716[_0x1cd3('0x2611')][_0x1cd3('0xf6')][_0xa9907e]:_0x3a7716[_0x1cd3('0x2611')]['rows'][0x0];_0x398426['show']({'controller':_0x1cd3('0x2627'),'controllerAs':'vm','templateUrl':_0x1cd3('0x2628'),'parent':angular[_0x1cd3('0x37f')](_0x448725[_0x1cd3('0x380')]),'targetEvent':_0xcd3f86,'clickOutsideToClose':!![],'locals':{'interval':{'interval':_0x547a37[_0x1cd3('0x77e')],'IntervalId':_0x547a37[_0x1cd3('0xf4b')],'application':!![]},'intervals':[],'crudPermissions':_0x3a7716['crudPermissions']}})[_0x1cd3('0x77')](function(_0x5dd363){if(_0x5dd363){_0x547a37[_0x1cd3('0x77e')]=_0x5dd363[_0x1cd3('0x77e')]||'*,*,*,*';_0x547a37[_0x1cd3('0xf4b')]=_0x5dd363[_0x1cd3('0xf4b')]||null;_0x4af190();}});}}function _0x4af190(_0x245607){var _0x282cec=[_0x1cd3('0x1220'),_0x1cd3('0x2531')];var _0x21b930=0x2;var _0x454f4e=[];_0x454f4e[_0x1cd3('0x7b')]({'type':_0x1cd3('0x128'),'app':'Set','appdata':_0x1cd3('0x2629'),'context':_0x3a7716['outboundroute'][_0x1cd3('0xf0a')],'exten':_0x3a7716['outboundroute'][_0x1cd3('0x1261')],'priority':_0x21b930++,'VoiceExtensionId':_0x3a7716[_0x1cd3('0x2604')]['id']});_0x454f4e[_0x1cd3('0x7b')]({'type':_0x1cd3('0x128'),'app':_0x1cd3('0x254e'),'appdata':'CDR(destination)='+(_0x3a7716[_0x1cd3('0x2604')][_0x1cd3('0x128a')]?_0x1cd3('0x1284')+_0x3a7716['outboundroute'][_0x1cd3('0x128a')]+'}':_0x1cd3('0x128d')),'context':_0x3a7716[_0x1cd3('0x2604')][_0x1cd3('0xf0a')],'exten':_0x3a7716[_0x1cd3('0x2604')][_0x1cd3('0x1261')],'priority':_0x21b930++,'VoiceExtensionId':_0x3a7716['outboundroute']['id']});_0x454f4e[_0x1cd3('0x7b')]({'type':_0x1cd3('0x128'),'app':_0x1cd3('0x254e'),'appdata':'CDR(routeid)='+_0x3a7716['outboundroute']['id'],'context':_0x3a7716[_0x1cd3('0x2604')]['context'],'exten':_0x3a7716['outboundroute'][_0x1cd3('0x1261')],'priority':_0x21b930++,'VoiceExtensionId':_0x3a7716[_0x1cd3('0x2604')]['id']});var _0x53bbb9=_0x21b930++;_0x454f4e[_0x1cd3('0x7b')]({'type':'outbound','app':'ExecIf','appdata':_0x1cd3('0x262a')+(_0x53bbb9+0x2)+'):Goto('+(_0x53bbb9+0x1)+')','context':_0x3a7716[_0x1cd3('0x2604')]['context'],'exten':_0x3a7716[_0x1cd3('0x2604')]['exten'],'priority':_0x53bbb9,'VoiceExtensionId':_0x3a7716[_0x1cd3('0x2604')]['id']});_0x454f4e['push']({'type':'outbound','app':_0x1cd3('0x254e'),'appdata':_0x3a7716[_0x1cd3('0x2604')]['cutdigits']?_0x1cd3('0x262b')+_0x3a7716[_0x1cd3('0x2604')][_0x1cd3('0x128a')]+'}':_0x1cd3('0x262c'),'context':_0x3a7716['outboundroute'][_0x1cd3('0xf0a')],'exten':_0x3a7716[_0x1cd3('0x2604')][_0x1cd3('0x1261')],'priority':_0x21b930++,'VoiceExtensionId':_0x3a7716[_0x1cd3('0x2604')]['id']});_0x454f4e[_0x1cd3('0x7b')]({'type':_0x1cd3('0x128'),'app':'Set','appdata':_0x1cd3('0x2561'),'context':_0x3a7716['outboundroute'][_0x1cd3('0xf0a')],'exten':_0x3a7716[_0x1cd3('0x2604')]['exten'],'priority':_0x21b930++,'VoiceExtensionId':_0x3a7716[_0x1cd3('0x2604')]['id']});_0x454f4e[_0x1cd3('0x7b')]({'type':_0x1cd3('0x128'),'app':_0x1cd3('0x254e'),'appdata':'XCALLY-MOTION-PROGRESS=0','context':_0x3a7716[_0x1cd3('0x2604')][_0x1cd3('0xf0a')],'exten':_0x3a7716[_0x1cd3('0x2604')][_0x1cd3('0x1261')],'priority':_0x21b930++,'VoiceExtensionId':_0x3a7716[_0x1cd3('0x2604')]['id']});_0x454f4e[_0x1cd3('0x7b')]({'type':'outbound','app':_0x1cd3('0x254e'),'appdata':_0x1cd3('0x2563'),'context':_0x3a7716[_0x1cd3('0x2604')][_0x1cd3('0xf0a')],'exten':_0x3a7716['outboundroute']['exten'],'priority':_0x21b930++,'VoiceExtensionId':_0x3a7716[_0x1cd3('0x2604')]['id']});_0x454f4e[_0x1cd3('0x7b')]({'type':_0x1cd3('0x128'),'app':_0x1cd3('0x254e'),'appdata':'outboundrouteid='+_0x3a7716[_0x1cd3('0x2604')]['id'],'context':_0x3a7716[_0x1cd3('0x2604')][_0x1cd3('0xf0a')],'exten':_0x3a7716[_0x1cd3('0x2604')][_0x1cd3('0x1261')],'priority':_0x21b930++,'VoiceExtensionId':_0x3a7716[_0x1cd3('0x2604')]['id']});if(_0x3a7716['outboundroute'][_0x1cd3('0x3d0')](_0x1cd3('0x1285'))&&_0x3a7716[_0x1cd3('0x2604')]['recordingFormat']!=='none'){_0x454f4e[_0x1cd3('0x7b')]({'type':_0x1cd3('0x128'),'app':'Set','appdata':_0x1cd3('0x261a'),'context':_0x3a7716[_0x1cd3('0x2604')][_0x1cd3('0xf0a')],'exten':_0x3a7716[_0x1cd3('0x2604')][_0x1cd3('0x1261')],'priority':_0x21b930++,'VoiceExtensionId':_0x3a7716[_0x1cd3('0x2604')]['id']});_0x454f4e[_0x1cd3('0x7b')]({'type':_0x1cd3('0x128'),'app':'Set','appdata':_0x1cd3('0x261b')+_0x3a7716[_0x1cd3('0x2604')][_0x1cd3('0x1285')]||_0x1cd3('0x6b5'),'context':_0x3a7716[_0x1cd3('0x2604')][_0x1cd3('0xf0a')],'exten':_0x3a7716[_0x1cd3('0x2604')][_0x1cd3('0x1261')],'priority':_0x21b930++,'VoiceExtensionId':_0x3a7716[_0x1cd3('0x2604')]['id']});}for(var _0x49c20b=0x0,_0x5731a6=0x0;_0x49c20b<_0x3a7716['outboundrouteApps'][_0x1cd3('0xf6')][_0x1cd3('0x7a')];_0x49c20b++,_0x5731a6=0x0){var _0x60a2f7=_0x3a7716[_0x1cd3('0x2611')][_0x1cd3('0xf6')][_0x49c20b];var _0x4fc535=[];var _0x3a48a0=[];_0x60a2f7['intervals']=_0x60a2f7['interval']!=='*,*,*,*'?[_0x60a2f7['interval']]:_0x60a2f7[_0x1cd3('0xf4b')]?_['map'](_[_0x1cd3('0x395')](_0x3a7716[_0x1cd3('0xef9')][_0x1cd3('0xf6')],{'IntervalId':_0x60a2f7[_0x1cd3('0xf4b')]}),_0x1cd3('0x77e')):[];_0x60a2f7[_0x1cd3('0xf0a')]=_0x3a7716[_0x1cd3('0x2604')][_0x1cd3('0xf0a')];_0x60a2f7['exten']=_0x3a7716[_0x1cd3('0x2604')]['exten'];if(_0x60a2f7['type']){_0x60a2f7[_0x1cd3('0x424')]=_0x60a2f7['type']['toLowerCase']();}if(_0x60a2f7[_0x1cd3('0x3d0')](_0x1cd3('0xb76'))){if(_0x60a2f7['tag']&&_0x60a2f7[_0x1cd3('0xb76')]!=='--'){_0x4fc535[_0x1cd3('0x7b')]({'type':_0x60a2f7[_0x1cd3('0x424')]['toLowerCase'](),'app':'Set','appdata':_0x1cd3('0x262d')+_0x60a2f7[_0x1cd3('0xb76')],'context':_0x3a7716[_0x1cd3('0x2604')]['context'],'exten':_0x3a7716[_0x1cd3('0x2604')][_0x1cd3('0x1261')],'priority':_0x60a2f7['intervals']['length']+_0x21b930+_0x5731a6++,'VoiceExtensionId':_0x3a7716['outboundroute']['id']});}}if(_0x60a2f7['callerID']){_0x4fc535[_0x1cd3('0x7b')]({'type':_0x60a2f7[_0x1cd3('0x424')][_0x1cd3('0x433')](),'app':_0x1cd3('0x2564'),'appdata':_0x1cd3('0x261c')+_0x60a2f7['callerID']+')','context':_0x3a7716[_0x1cd3('0x2604')][_0x1cd3('0xf0a')],'exten':_0x3a7716['outboundroute'][_0x1cd3('0x1261')],'priority':_0x60a2f7[_0x1cd3('0xef9')][_0x1cd3('0x7a')]+_0x21b930+_0x5731a6++,'VoiceExtensionId':_0x3a7716[_0x1cd3('0x2604')]['id']});}else{_0x4fc535['push']({'type':_0x60a2f7[_0x1cd3('0x424')][_0x1cd3('0x433')](),'app':_0x1cd3('0x2564'),'appdata':_0x1cd3('0x261d'),'context':_0x3a7716['outboundroute'][_0x1cd3('0xf0a')],'exten':_0x3a7716[_0x1cd3('0x2604')]['exten'],'priority':_0x60a2f7[_0x1cd3('0xef9')][_0x1cd3('0x7a')]+_0x21b930+_0x5731a6++,'VoiceExtensionId':_0x3a7716[_0x1cd3('0x2604')]['id']});}for(var _0xd9e25e=0x0;_0xd9e25e<_0x60a2f7['intervals'][_0x1cd3('0x7a')];_0xd9e25e++){var _0xff8f9e=_0x21b930+_0x60a2f7[_0x1cd3('0xef9')][_0x1cd3('0x7a')];var _0x27b765=_0xd9e25e===_0x60a2f7['intervals'][_0x1cd3('0x7a')]-0x1?_0x21b930+_0x4fc535[_0x1cd3('0x7a')]+_0x3a48a0[_0x1cd3('0x7a')]+0x2:_0x21b930+_0xd9e25e+0x1;_0x4fc535[_0x1cd3('0x446')](_0xd9e25e,0x0,{'type':_0x1cd3('0x128'),'app':_0x1cd3('0x2567'),'appdata':_0x60a2f7['intervals'][_0xd9e25e]+'?'+_0x3a7716['outboundroute'][_0x1cd3('0xf0a')]+_0x1cd3('0x2568')+_0xff8f9e+':'+_0x3a7716['outboundroute'][_0x1cd3('0xf0a')]+_0x1cd3('0x2568')+_0x27b765,'exten':_0x3a7716[_0x1cd3('0x2604')][_0x1cd3('0x1261')],'context':_0x3a7716['outboundroute'][_0x1cd3('0xf0a')],'priority':_0x21b930+_0xd9e25e,'VoiceExtensionId':_0x3a7716[_0x1cd3('0x2604')]['id']});}if(_0x245607&&_0x60a2f7[_0x1cd3('0x125b')]===_0x1cd3('0x1283')){var _0x488b0c=_[_0x1cd3('0x442')](_0x3a7716[_0x1cd3('0x1210')],{'appType':_0x1cd3('0x1283')});if(_0x488b0c&&_0x488b0c[_0x1cd3('0x3c7')]){var _0x255220={};var _0x4dbd38=_0x60a2f7[_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');var _0x324dfe=[];for(var _0x28cb58=0x0,_0x5d60c9=_0x488b0c['fields'][_0x1cd3('0x7a')];_0x28cb58<_0x5d60c9;_0x28cb58++){if(_0x488b0c[_0x1cd3('0x3c7')][_0x28cb58][_0x1cd3('0x3d0')](_0x1cd3('0x90e'))){switch(_0x488b0c['fields'][_0x28cb58]['name']){case _0x1cd3('0x18e7'):_0x255220['trunk']=_0x4dbd38[_0x488b0c[_0x1cd3('0x3c7')][_0x28cb58][_0x1cd3('0x90e')]][_0x1cd3('0x3ef')]('/')[0x1];_0x255220['phone']=_0x4dbd38[_0x488b0c[_0x1cd3('0x3c7')][_0x28cb58][_0x1cd3('0x90e')]][_0x1cd3('0x3ef')]('/')[0x2];_0x255220['prefix']=_0x255220[_0x1cd3('0xf09')]?_0x255220[_0x1cd3('0xf09')][_0x1cd3('0x3ef')]('$')[0x0]:undefined;_0x255220[_0x1cd3('0xf09')]=_0x3a7716['outboundroute'][_0x1cd3('0x128a')]?(_0x255220[_0x1cd3('0x6aa')]||'')+_0x1cd3('0x1284')+_0x3a7716[_0x1cd3('0x2604')][_0x1cd3('0x128a')]+'}':(_0x255220[_0x1cd3('0x6aa')]||'')+_0x1cd3('0x128d');_0x324dfe[_0x488b0c[_0x1cd3('0x3c7')][_0x28cb58][_0x1cd3('0x90e')]]=[_0x1cd3('0x1949'),_0x255220[_0x1cd3('0x18e7')],_0x255220[_0x1cd3('0xf09')]][_0x1cd3('0x3de')]('/');break;case'options':_0x255220[_0x1cd3('0x422')]=_0x4dbd38[_0x488b0c[_0x1cd3('0x3c7')][_0x28cb58][_0x1cd3('0x90e')]];if(_0x3a7716[_0x1cd3('0x2604')][_0x1cd3('0x1285')]!=='none'){if(_0x255220[_0x1cd3('0x422')][_0x1cd3('0x45e')](_0x1cd3('0x1286'))<0x0){_0x255220[_0x1cd3('0x422')]+=_0x1cd3('0x1286');}}else{_0x255220[_0x1cd3('0x422')]=_0x255220[_0x1cd3('0x422')]['replace'](_0x1cd3('0x1286'),'');}_0x324dfe[_0x488b0c[_0x1cd3('0x3c7')][_0x28cb58][_0x1cd3('0x90e')]]=_0x255220['options'];break;default:_0x324dfe[_0x488b0c['fields'][_0x28cb58]['param']]=_0x4dbd38[_0x488b0c['fields'][_0x28cb58][_0x1cd3('0x90e')]];}}}_0x60a2f7['appdata']=_0x324dfe[_0x1cd3('0x3de')](',');}}_0x60a2f7[_0x1cd3('0xf0c')]=_0x4fc535[_0x1cd3('0x7a')]?_[_0x1cd3('0x5df')](_0x4fc535)[_0x1cd3('0xf0c')]+0x1:_0x21b930;_0x21b930=(_0x3a48a0[_0x1cd3('0x7a')]?_[_0x1cd3('0x5df')](_0x3a48a0)[_0x1cd3('0xf0c')]:_0x60a2f7['priority'])+0x1;_0x454f4e=_[_0x1cd3('0x3ae')](_0x454f4e,_0x4fc535,[_0x60a2f7],_0x3a48a0);}_0x454f4e[_0x1cd3('0x7b')]({'type':_0x1cd3('0x128'),'app':_0x1cd3('0x2569'),'exten':_0x3a7716['outboundroute']['exten'],'context':_0x3a7716[_0x1cd3('0x2604')]['context'],'priority':_0x21b930,'VoiceExtensionId':_0x3a7716[_0x1cd3('0x2604')]['id']});_0x3ce3a4[_0x1cd3('0xa40')][_0x1cd3('0x1262')]({'id':_0x3a7716[_0x1cd3('0x2604')]['id']},_[_0x1cd3('0x1211')](_0x454f4e,_0x1cd3('0xf0c')))['$promise'][_0x1cd3('0x77')](function(_0x49c8e1){_0x3a7716[_0x1cd3('0x2611')]['rows']=_0x49c8e1[_0x1cd3('0xf6')];})[_0x1cd3('0xfd')](function(_0x413a9a){console[_0x1cd3('0x434')](_0x413a9a);});}function _0x1cb4e4(_0xddcfc8){_0x3a7716['outboundrouteApps']=_0xddcfc8||{'count':0x0,'rows':[]};}function _0x5a93f4(){return _0x3ce3a4[_0x1cd3('0x77e')][_0x1cd3('0x361')]({'fields':_0x1cd3('0x1c61')})['$promise'][_0x1cd3('0x77')](function(_0x44b6e8){_0x3a7716[_0x1cd3('0xef9')]=_0x44b6e8;})[_0x1cd3('0xfd')](function(_0x48bdab){console[_0x1cd3('0x434')](_0x48bdab);});}function _0x590f30(){_0x3a7716['promise']=_0x3ce3a4[_0x1cd3('0xa40')]['get'](_0x3a7716[_0x1cd3('0x3d4')],_0x1cb4e4)['$promise'];}function _0x2eb310(_0x2c7491){_[_0x1cd3('0x383')](_0x3a7716[_0x1cd3('0x2611')]['rows'],{'id':_0x2c7491['id']});_0x4af190();_0x36388c[_0x1cd3('0x473')]({'title':_0x1cd3('0x1264'),'msg':_0x2c7491['app']?_0x2c7491['app']+_0x1cd3('0xd41'):''});}function _0x3c8fc7(_0x51b756){var _0x440375=_0x398426['confirm']()[_0x1cd3('0x486')](_0x1cd3('0x1265'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x3a7716[_0x1cd3('0x261f')][_0x1cd3('0x7a')]+_0x1cd3('0xd61')+'\x20will\x20be\x20deleted.')[_0x1cd3('0xd3d')](_0x1cd3('0x1266'))['targetEvent'](_0x51b756)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x398426['show'](_0x440375)[_0x1cd3('0x77')](function(){_0x3a7716[_0x1cd3('0x261f')][_0x1cd3('0x394')](function(_0x2bf899){_['remove'](_0x3a7716[_0x1cd3('0x2611')][_0x1cd3('0xf6')],{'id':_0x2bf899['id']});});_0x3a7716[_0x1cd3('0x261f')]=[];_0x4af190();});}_0x520433[_0x1cd3('0x4d3')]('$destroy',function(){_0x2a6880[_0x1cd3('0x6a3')](_0x1cd3('0x2624'));});}}());(function(){'use strict';_0x260292[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),'$q','toasty',_0x1cd3('0x262e'),'outboundroute','api','Auth',_0x1cd3('0xd27')];angular[_0x1cd3('0x0')]('app.voice')['controller'](_0x1cd3('0x262f'),_0x260292);function _0x260292(_0x18c7a6,_0x3655e2,_0x3db2db,_0x2b0b75,_0x5b51b6,_0x2d9f86,_0x26a58f,_0x4c78a3){var _0x1deec8=this;_0x1deec8[_0x1cd3('0x3ca')]=_0x26a58f[_0x1cd3('0x5d')]();_0x1deec8['errors']=[];_0x1deec8['title']='VOICE.EDIT_'+(_0x2b0b75[_0x1cd3('0x125b')]||_0x2b0b75[_0x1cd3('0xd0a')])[_0x1cd3('0x437')]();_0x1deec8[_0x1cd3('0x8f6')]=angular[_0x1cd3('0x429')](_0x2b0b75);_0x1deec8[_0x1cd3('0xd27')]=_0x4c78a3;_0x1deec8['hasModulePermissions']={};if(_0x1deec8[_0x1cd3('0x8f6')][_0x1cd3('0x127d')]){switch(_0x1deec8[_0x1cd3('0x8f6')][_0x1cd3('0x125b')]?_0x1deec8[_0x1cd3('0x8f6')][_0x1cd3('0x125b')]['toLowerCase']():_0x1deec8[_0x1cd3('0x8f6')]['app'][_0x1cd3('0x433')]()){case _0x1cd3('0x8f6'):break;case'dialogflow':var _0x21f04e=_0x1deec8[_0x1cd3('0x8f6')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x1deec8[_0x1cd3('0x8f6')][_0x1cd3('0x65c')]=_0x21f04e[0x0];_0x1deec8['custom'][_0x1cd3('0x3f3')]=_0x21f04e[0x1];_0x1deec8['custom'][_0x1cd3('0x1246')]=_0x21f04e[_0x1cd3('0x9a2')](0x2,_0x21f04e[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case'amazonlex':var _0x21f04e=_0x1deec8[_0x1cd3('0x8f6')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x1deec8[_0x1cd3('0x8f6')]['accesskeyid']=_0x21f04e[0x0];_0x1deec8[_0x1cd3('0x8f6')]['secretaccesskey']=_0x21f04e[0x1];_0x1deec8[_0x1cd3('0x8f6')][_0x1cd3('0x124a')]=_0x21f04e[0x2];_0x1deec8[_0x1cd3('0x8f6')][_0x1cd3('0x124f')]=_0x21f04e[0x3];_0x1deec8[_0x1cd3('0x8f6')][_0x1cd3('0x1246')]=_0x21f04e[_0x1cd3('0x9a2')](0x4,_0x21f04e['length'])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x122b'):var _0x21f04e=_0x1deec8['custom'][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x1deec8[_0x1cd3('0x8f6')][_0x1cd3('0x122c')]=isNaN(_0x21f04e[0x0])?_0x21f04e[0x0]:parseInt(_0x21f04e[0x0],0xa);_0x1deec8[_0x1cd3('0x8f6')]['text']=_0x21f04e[_0x1cd3('0x9a2')](0x1,_0x21f04e['length'])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x43a'):_0x1deec8[_0x1cd3('0x8f6')][_0x1cd3('0x401')]=_0x1deec8[_0x1cd3('0x8f6')]['appdata'];break;case _0x1cd3('0x127e'):_0x1deec8['custom'][_0x1cd3('0x98')]=_0x1deec8[_0x1cd3('0x8f6')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x0];_0x1deec8['custom'][_0x1cd3('0x3db')]=_0x1deec8[_0x1cd3('0x8f6')]['appdata']['split']('=')[0x1];break;case _0x1cd3('0x128c'):_0x1deec8['custom']['project']=_0x1deec8[_0x1cd3('0x8f6')][_0x1cd3('0x127d')];break;default:var _0xccf0ed=_0x1deec8[_0x1cd3('0x8f6')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x1deec8[_0x1cd3('0x8f6')][_0x1cd3('0xd0a')]=_[_0x1cd3('0x398')](_0xccf0ed[0x0])?_0xccf0ed[0x0]:isNaN(_0xccf0ed[0x0])?_0xccf0ed[0x0]:parseInt(_0xccf0ed[0x0],0xa);_0x1deec8[_0x1cd3('0x8f6')]['appdata']=_[_0x1cd3('0x398')](_0xccf0ed[0x1])?_0xccf0ed[0x1]:isNaN(_0xccf0ed[0x1])?_0xccf0ed[0x1]:parseInt(_0xccf0ed[0x1],0xa);}}else{}if(_0x1deec8[_0x1cd3('0x8f6')]['type']&&_0x1deec8[_0x1cd3('0x8f6')]['type'][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x1deec8['custom'][_0x1cd3('0x125b')][_0x1cd3('0x433')]()==='outbounddial'){_0x1deec8[_0x1cd3('0x8f6')]['prefix']=_0x1deec8[_0x1cd3('0x8f6')][_0x1cd3('0xf09')]?_0x1deec8[_0x1cd3('0x8f6')][_0x1cd3('0xf09')][_0x1cd3('0x3ef')]('$')[0x0]:undefined;_0x1deec8[_0x1cd3('0x8f6')]['callerId']=_0x1deec8[_0x1cd3('0x8f6')][_0x1cd3('0x127f')]?'CALLERID(all)='+_0x1deec8[_0x1cd3('0x8f6')][_0x1cd3('0x127f')]:undefined;}_0x1deec8[_0x1cd3('0x2630')]=_0x4ba197;_0x1deec8[_0x1cd3('0x39c')]=_0x4b63f3;function _0x4ba197(){_0x1deec8[_0x1cd3('0xd34')]=[];var _0xff0cc5=[];if(_0x1deec8[_0x1cd3('0x8f6')][_0x1cd3('0x424')]&&_0x1deec8[_0x1cd3('0x8f6')][_0x1cd3('0x424')][_0x1cd3('0x433')]()==='outbound'&&_0x1deec8[_0x1cd3('0x8f6')][_0x1cd3('0x125b')]==='outboundDial'){_0x1deec8[_0x1cd3('0x8f6')]['phone']=_0x5b51b6[_0x1cd3('0x128a')]?(_0x1deec8[_0x1cd3('0x8f6')][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x1284')+_0x5b51b6['cutdigits']+'}':(_0x1deec8[_0x1cd3('0x8f6')][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x128d');if(_0x5b51b6[_0x1cd3('0x1285')]!==_0x1cd3('0x6ae')){if(_0x1deec8[_0x1cd3('0x8f6')][_0x1cd3('0x422')][_0x1cd3('0x45e')](_0x1cd3('0x1286'))<0x0){_0x1deec8[_0x1cd3('0x8f6')][_0x1cd3('0x422')]+=_0x1cd3('0x1286');}}else{_0x1deec8['custom']['options']=_0x1deec8['custom'][_0x1cd3('0x422')][_0x1cd3('0x3f1')](_0x1cd3('0x1286'),'');}}if(_0x1deec8[_0x1cd3('0x8f6')][_0x1cd3('0x125b')]&&_0x1deec8[_0x1cd3('0x8f6')]['appType']===_0x1cd3('0x8f6')){}else{switch((_0x1deec8['custom'][_0x1cd3('0xd0a')]||_0x1deec8['custom'][_0x1cd3('0x125b')])[_0x1cd3('0x433')]()){case'set':_0x1deec8[_0x1cd3('0x8f6')][_0x1cd3('0x127d')]=_0x1deec8[_0x1cd3('0x8f6')][_0x1cd3('0x98')]+'='+_0x1deec8[_0x1cd3('0x8f6')]['value'];break;case _0x1cd3('0x8f6'):break;default:_0xff0cc5[0x0]=_0x1deec8[_0x1cd3('0x8f6')][_0x1cd3('0xd0a')];_0xff0cc5[0x1]=_0x1deec8['custom'][_0x1cd3('0x127d')];_0x1deec8[_0x1cd3('0x8f6')][_0x1cd3('0x127d')]=_0xff0cc5['join'](',');}}_0x4b63f3(_0x1deec8[_0x1cd3('0x8f6')]);}function _0x4b63f3(_0x23420f){_0x18c7a6[_0x1cd3('0x39d')](_0x23420f);}}}());(function(){'use strict';_0x5dc83c['$inject']=[_0x1cd3('0x53e'),_0x1cd3('0x3c5'),'$mdToast',_0x1cd3('0xcd4'),'interval',_0x1cd3('0xef9'),'toasty','api',_0x1cd3('0x56'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x2d'))[_0x1cd3('0x39b')](_0x1cd3('0x2627'),_0x5dc83c);function _0x5dc83c(_0x6fefe,_0x3544cd,_0x17d6d1,_0x2a3261,_0xd49883,_0x143125,_0x4d721e,_0x10a987,_0x2dc7ef,_0x1994f8){var _0x1ed058=this;_0x1ed058[_0x1cd3('0x3ca')]=_0x2dc7ef[_0x1cd3('0x5d')]();_0x1ed058['errors']=[];_0x1ed058[_0x1cd3('0x486')]=_0x1cd3('0x1292');_0x1ed058[_0x1cd3('0x77e')]=angular['copy'](_0xd49883);_0x1ed058[_0x1cd3('0xef9')]=_0x143125;_0x1ed058['newInterval']=![];_0x1ed058[_0x1cd3('0x1294')]=[_0x1cd3('0x1213'),'custom',_0x1cd3('0x9d5')];_0x1ed058[_0x1cd3('0xd27')]=_0x1994f8;_0x1ed058[_0x1cd3('0x1295')]=_0x2a3261[_0x1cd3('0x1908')]();_0x1ed058[_0x1cd3('0x1909')]=_0x2a3261[_0x1cd3('0x1296')]();_0x1ed058[_0x1cd3('0x190a')]=_0x2a3261['getMonthName']();_0x1ed058['daysOfMonth']=_0x2a3261[_0x1cd3('0x1c6f')]();if(!_0x1ed058[_0x1cd3('0x77e')]){_0x1ed058['interval']={'interval':_0x1cd3('0x1216')};_0x1ed058[_0x1cd3('0x424')]=_0x1cd3('0x1213');_0x1ed058['title']=_0x1cd3('0x1c70');_0x1ed058['newInterval']=!![];}else{if(_0x1ed058[_0x1cd3('0x77e')]['interval']!=='*,*,*,*'){_0x1ed058[_0x1cd3('0x424')]='custom';var _0x59d09f=_0x1ed058[_0x1cd3('0x77e')][_0x1cd3('0x77e')][_0x1cd3('0x3ef')](',');var _0x53db37=_0x59d09f[0x0];var _0x574c8d=_0x59d09f[0x1];var _0x4d9799=_0x59d09f[0x2];var _0x440385=_0x59d09f[0x3];if(_0x53db37!=='*'){var _0x5275f2=_0x53db37[_0x1cd3('0x3ef')]('-')[0x0];var _0x278aba=_0x53db37[_0x1cd3('0x3ef')]('-')[0x1];var _0x347c4b;_0x347c4b=new Date();_0x347c4b[_0x1cd3('0x129a')](Number(_0x5275f2[_0x1cd3('0x3ef')](':')[0x0]));_0x347c4b[_0x1cd3('0x1299')](Number(_0x5275f2[_0x1cd3('0x3ef')](':')[0x1]));_0x1ed058['timeRangeFrom']=_0x347c4b;_0x347c4b=new Date();_0x347c4b[_0x1cd3('0x129a')](Number(_0x278aba['split'](':')[0x0]));_0x347c4b[_0x1cd3('0x1299')](Number(_0x278aba[_0x1cd3('0x3ef')](':')[0x1]));_0x1ed058[_0x1cd3('0x129b')]=_0x347c4b;}if(_0x574c8d!=='*'){_0x1ed058['dayOfWeekFrom']=_0x574c8d[_0x1cd3('0x3ef')]('-')[0x0];_0x1ed058[_0x1cd3('0x12a8')]=_0x574c8d['split']('-')[0x1];}if(_0x4d9799!=='*'){_0x1ed058['monthDayFrom']=_0x4d9799[_0x1cd3('0x3ef')]('-')[0x0];_0x1ed058[_0x1cd3('0x129e')]=_0x4d9799[_0x1cd3('0x3ef')]('-')[0x1];}if(_0x440385!=='*'){_0x1ed058[_0x1cd3('0x129f')]=_0x440385[_0x1cd3('0x3ef')]('-')[0x0];_0x1ed058['monthTo']=_0x440385['split']('-')[0x1];}}else{_0x1ed058[_0x1cd3('0x424')]=_0x1cd3('0x1213');}}if(_0x6fefe[_0x1cd3('0x36a')]['id']&&!_0x1ed058[_0x1cd3('0x77e')]['application']){_0x1ed058[_0x1cd3('0x77e')][_0x1cd3('0xf4b')]=_0x6fefe['params']['id'];}if(_0x1ed058[_0x1cd3('0x77e')][_0x1cd3('0xf4b')]&&_0x1ed058[_0x1cd3('0x77e')]['application']){_0x1ed058['type']='list';}_0x1ed058['addNewInterval']=_0x5991fa;_0x1ed058['saveInterval']=_0x9193e0;_0x1ed058['closeDialog']=_0x253849;if(_0x1ed058['interval'][_0x1cd3('0x12a1')]){_0x2dc7ef[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x10a987[_0x1cd3('0x77e')][_0x1cd3('0x361')]({'fields':_0x1cd3('0x12a3'),'IntervalId':_0x1cd3('0x220'),'nolimit':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x1f2ed2){_0x1ed058[_0x1cd3('0xef9')]=_0x1f2ed2['rows']||[];})[_0x1cd3('0xfd')](function(_0x50a504){_0x4d721e['error']({'title':_0x50a504[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x50a504['status']+_0x1cd3('0x436')+_0x50a504[_0x1cd3('0xd35')]:'SYSTEM:GET_INTERVALS','msg':_0x50a504[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x50a504['data']):_0x50a504[_0x1cd3('0x43b')]()});}):_0x10a987[_0x1cd3('0x77e')]['get']({'fields':'id,name,interval,IntervalId','IntervalId':_0x1cd3('0x220'),'nolimit':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x11f9e3){_0x1ed058[_0x1cd3('0xef9')]=_0x11f9e3[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x10a987[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x1ed058[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x3ec})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0xfec4d3){var _0x3dca94=_0xfec4d3&&_0xfec4d3[_0x1cd3('0xf6')]?_0xfec4d3[_0x1cd3('0xf6')][0x0]:null;if(!_0x3dca94){_0x1ed058[_0x1cd3('0xef9')]=[];}else{if(!_0x3dca94[_0x1cd3('0x391')]){return _0x10a987[_0x1cd3('0x392')]['get']({'sectionId':_0x3dca94['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x33e97a){var _0x539c0e=_0x33e97a&&_0x33e97a[_0x1cd3('0xf6')]?_0x33e97a[_0x1cd3('0xf6')]:[];var _0x2f6ef1=[];var _0x3dde67=null;if(_0x1ed058['interval']){_0x3dde67=_[_0x1cd3('0x442')](_0x1ed058['intervals'],{'name':_0x1ed058[_0x1cd3('0x77e')][_0x1cd3('0xf4b')]});}if(_0x3dde67&&!_[_0x1cd3('0x38d')](_0x539c0e,[_0x1cd3('0xe8e'),_0x3dde67['id']])){_0x1ed058['intervals'][_0x1cd3('0x394')](function(_0x415da4){if(_0x415da4['id']===_0x3dde67['id']){_0x415da4[_0x1cd3('0xf4a')]=![];_0x2f6ef1[_0x1cd3('0x7b')](_0x415da4);}});}_0x1ed058[_0x1cd3('0xef9')]=_0x2f6ef1;});}}})[_0x1cd3('0xfd')](function(_0x2660f3){_0x4d721e['error']({'title':_0x2660f3[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x2660f3[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x2660f3['statusText']:'SYSTEM:GET_INTERVALS','msg':_0x2660f3[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x2660f3[_0x1cd3('0x439')]):_0x2660f3['toString']()});});}function _0x4bd723(){switch(_0x1ed058['type']){case _0x1cd3('0x1213'):case _0x1cd3('0x9d5'):return _0x1cd3('0x1216');case _0x1cd3('0x8f6'):var _0xe164a7=[];if(_0x1ed058[_0x1cd3('0x12a5')]!=='*'&&_0x1ed058[_0x1cd3('0x12a5')]&&_0x1ed058['timeRangeTo']){var _0x51437f=(_0x1ed058[_0x1cd3('0x12a5')][_0x1cd3('0x12a6')]()<0xa?'0':'')+_0x1ed058[_0x1cd3('0x12a5')][_0x1cd3('0x12a6')]()+':'+((_0x1ed058[_0x1cd3('0x12a5')][_0x1cd3('0x12a7')]()<0xa?'0':'')+_0x1ed058[_0x1cd3('0x12a5')][_0x1cd3('0x12a7')]());var _0xacffe1=(_0x1ed058[_0x1cd3('0x129b')][_0x1cd3('0x12a6')]()<0xa?'0':'')+_0x1ed058[_0x1cd3('0x129b')][_0x1cd3('0x12a6')]()+':'+((_0x1ed058[_0x1cd3('0x129b')][_0x1cd3('0x12a7')]()<0xa?'0':'')+_0x1ed058[_0x1cd3('0x129b')][_0x1cd3('0x12a7')]());_0xe164a7['push'](_0x51437f+'-'+_0xacffe1);}else{_0xe164a7[_0x1cd3('0x7b')]('*');}if(_0x1ed058[_0x1cd3('0x129c')]){if(_0x1ed058['dayOfWeekTo']){_0xe164a7[_0x1cd3('0x7b')](_0x1ed058['dayOfWeekFrom']+'-'+_0x1ed058[_0x1cd3('0x12a8')]);}else{_0xe164a7[_0x1cd3('0x7b')](_0x1ed058['dayOfWeekFrom']);}}else{_0xe164a7['push']('*');}if(_0x1ed058[_0x1cd3('0x129d')]){if(_0x1ed058[_0x1cd3('0x129e')]){_0xe164a7[_0x1cd3('0x7b')](_0x1ed058[_0x1cd3('0x129d')]+'-'+_0x1ed058[_0x1cd3('0x129e')]);}else{_0xe164a7[_0x1cd3('0x7b')](_0x1ed058[_0x1cd3('0x129d')]);}}else{_0xe164a7['push']('*');}if(_0x1ed058[_0x1cd3('0x129f')]){if(_0x1ed058[_0x1cd3('0x12a0')]){_0xe164a7[_0x1cd3('0x7b')](_0x1ed058[_0x1cd3('0x129f')]+'-'+_0x1ed058[_0x1cd3('0x12a0')]);}else{_0xe164a7['push'](_0x1ed058[_0x1cd3('0x129f')]);}}else{_0xe164a7[_0x1cd3('0x7b')]('*');}return _0xe164a7[_0x1cd3('0x3de')]();}}function _0x5991fa(){_0x1ed058['errors']=[];_0x1ed058[_0x1cd3('0x77e')]['interval']=_0x4bd723();_0x10a987[_0x1cd3('0x77e')][_0x1cd3('0xd6d')](_0x1ed058[_0x1cd3('0x77e')])['$promise'][_0x1cd3('0x77')](function(_0x1cbb25){_0x1ed058[_0x1cd3('0xef9')][_0x1cd3('0x7b')](_0x1cbb25);_0x4d721e[_0x1cd3('0x473')]({'title':_0x1cd3('0x12a9'),'msg':_0x1ed058[_0x1cd3('0x77e')]['name']?_0x1ed058['interval'][_0x1cd3('0x98')]+_0x1cd3('0xd33'):''});_0x253849();})[_0x1cd3('0xfd')](function(_0x3dd3a0){console['error'](_0x3dd3a0);_0x1ed058[_0x1cd3('0xd34')]=_0x3dd3a0[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x3dd3a0['toString'](),'type':_0x1cd3('0x12aa')}];});}function _0x9193e0(){_0x1ed058[_0x1cd3('0xd34')]=[];_0x1ed058[_0x1cd3('0x77e')][_0x1cd3('0x77e')]=_0x4bd723();if(_0x1ed058[_0x1cd3('0x77e')][_0x1cd3('0x12a1')]){_0x1ed058[_0x1cd3('0x424')]!==_0x1cd3('0x9d5')&&(_0x1ed058[_0x1cd3('0x77e')][_0x1cd3('0xf4b')]=null);_0x253849(_0x1ed058[_0x1cd3('0x77e')]);}else{_0x10a987[_0x1cd3('0x77e')][_0x1cd3('0x378')]({'id':_0x1ed058['interval']['id']},_0x1ed058[_0x1cd3('0x77e')])[_0x1cd3('0x81')]['then'](function(_0x49892f){var _0x42a90c=_['find'](_0x1ed058[_0x1cd3('0xef9')],{'id':_0x49892f['id']});if(_0x42a90c){_[_0x1cd3('0xf2')](_0x42a90c,_0x49892f);}_0x4d721e[_0x1cd3('0x473')]({'title':_0x1cd3('0x12ab'),'msg':_0x1cd3('0x12ac')});_0x253849();})[_0x1cd3('0xfd')](function(_0x9d6959){console['error'](_0x9d6959);_0x1ed058[_0x1cd3('0xd34')]=_0x9d6959['data'][_0x1cd3('0xd34')]||[{'message':_0x9d6959[_0x1cd3('0x43b')](),'type':_0x1cd3('0x12ad')}];});}}function _0x253849(_0xe2491){_0x3544cd['hide'](_0xe2491);}}}());(function(){'use strict';_0xaccd4b[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),'$q',_0x1cd3('0x461'),_0x1cd3('0x262e'),_0x1cd3('0x2604'),_0x1cd3('0x370'),'Auth',_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x2d'))[_0x1cd3('0x39b')](_0x1cd3('0x2631'),_0xaccd4b);function _0xaccd4b(_0x387c5e,_0x1d95e5,_0x467ada,_0x5b7fb7,_0x3064fa,_0x4a1b6f,_0x5c0464,_0x3f6dfa){var _0xed18d3=this;_0xed18d3[_0x1cd3('0x3ca')]=_0x5c0464['getCurrentUser']();_0xed18d3[_0x1cd3('0xd34')]=[];_0xed18d3[_0x1cd3('0x486')]=_0x1cd3('0x256b')+(_0x5b7fb7['appType']||_0x5b7fb7['app'])['toUpperCase']();_0xed18d3['outbounddial']=angular[_0x1cd3('0x429')](_0x5b7fb7);_0xed18d3['crudPermissions']=_0x3f6dfa;_0xed18d3[_0x1cd3('0xd28')]={};if(_0xed18d3[_0x1cd3('0x1289')][_0x1cd3('0x127d')]){switch(_0xed18d3['outbounddial'][_0x1cd3('0x125b')]?_0xed18d3[_0x1cd3('0x1289')][_0x1cd3('0x125b')][_0x1cd3('0x433')]():_0xed18d3['outbounddial'][_0x1cd3('0xd0a')]['toLowerCase']()){case _0x1cd3('0x8f6'):break;case'dialogflow':var _0x424f20=_0xed18d3['outbounddial']['appdata'][_0x1cd3('0x3ef')](',');_0xed18d3['outbounddial'][_0x1cd3('0x65c')]=_0x424f20[0x0];_0xed18d3['outbounddial'][_0x1cd3('0x3f3')]=_0x424f20[0x1];_0xed18d3[_0x1cd3('0x1289')]['welcomemessage']=_0x424f20[_0x1cd3('0x9a2')](0x2,_0x424f20[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x1247'):var _0x424f20=_0xed18d3[_0x1cd3('0x1289')]['appdata']['split'](',');_0xed18d3[_0x1cd3('0x1289')][_0x1cd3('0x1248')]=_0x424f20[0x0];_0xed18d3[_0x1cd3('0x1289')][_0x1cd3('0x1249')]=_0x424f20[0x1];_0xed18d3['outbounddial'][_0x1cd3('0x124a')]=_0x424f20[0x2];_0xed18d3[_0x1cd3('0x1289')][_0x1cd3('0x124f')]=_0x424f20[0x3];_0xed18d3[_0x1cd3('0x1289')][_0x1cd3('0x1246')]=_0x424f20[_0x1cd3('0x9a2')](0x4,_0x424f20[_0x1cd3('0x7a')])['join'](',');break;case _0x1cd3('0x122b'):var _0x424f20=_0xed18d3[_0x1cd3('0x1289')]['appdata'][_0x1cd3('0x3ef')](',');_0xed18d3['outbounddial'][_0x1cd3('0x122c')]=isNaN(_0x424f20[0x0])?_0x424f20[0x0]:parseInt(_0x424f20[0x0],0xa);_0xed18d3[_0x1cd3('0x1289')]['text']=_0x424f20['slice'](0x1,_0x424f20[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x43a'):_0xed18d3['outbounddial'][_0x1cd3('0x401')]=_0xed18d3['outbounddial'][_0x1cd3('0x127d')];break;case _0x1cd3('0x127e'):_0xed18d3[_0x1cd3('0x1289')][_0x1cd3('0x98')]=_0xed18d3[_0x1cd3('0x1289')]['appdata'][_0x1cd3('0x3ef')]('=')[0x0];_0xed18d3[_0x1cd3('0x1289')][_0x1cd3('0x3db')]=_0xed18d3[_0x1cd3('0x1289')]['appdata'][_0x1cd3('0x3ef')]('=')[0x1];break;case _0x1cd3('0x128c'):_0xed18d3[_0x1cd3('0x1289')][_0x1cd3('0xedd')]=_0xed18d3[_0x1cd3('0x1289')][_0x1cd3('0x127d')];break;default:var _0x5b429e=_0xed18d3[_0x1cd3('0x1289')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0xed18d3[_0x1cd3('0x1289')][_0x1cd3('0x18e7')]=_0x5b429e[0x0][_0x1cd3('0x3ef')]('/')[0x1];_0xed18d3[_0x1cd3('0x1289')][_0x1cd3('0xf09')]=_0x5b429e[0x0][_0x1cd3('0x3ef')]('/')[0x2];_0xed18d3[_0x1cd3('0x1289')][_0x1cd3('0x8fc')]=_[_0x1cd3('0x398')](_0x5b429e[0x1])?_0x5b429e[0x1]:isNaN(_0x5b429e[0x1])?_0x5b429e[0x1]:parseInt(_0x5b429e[0x1],0xa);_0xed18d3[_0x1cd3('0x1289')][_0x1cd3('0x422')]=_[_0x1cd3('0x398')](_0x5b429e[0x2])?_0x5b429e[0x2]:isNaN(_0x5b429e[0x2])?_0x5b429e[0x2]:parseInt(_0x5b429e[0x2],0xa);_0xed18d3[_0x1cd3('0x1289')][_0x1cd3('0x3a4')]=_[_0x1cd3('0x398')](_0x5b429e[0x3])?_0x5b429e[0x3]:isNaN(_0x5b429e[0x3])?_0x5b429e[0x3]:parseInt(_0x5b429e[0x3],0xa);}}else{}if(_0xed18d3[_0x1cd3('0x1289')][_0x1cd3('0x424')]&&_0xed18d3[_0x1cd3('0x1289')][_0x1cd3('0x424')][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0xed18d3[_0x1cd3('0x1289')]['appType']['toLowerCase']()===_0x1cd3('0x1289')){_0xed18d3[_0x1cd3('0x1289')][_0x1cd3('0x6aa')]=_0xed18d3['outbounddial'][_0x1cd3('0xf09')]?_0xed18d3[_0x1cd3('0x1289')][_0x1cd3('0xf09')][_0x1cd3('0x3ef')]('$')[0x0]:undefined;_0xed18d3[_0x1cd3('0x1289')][_0x1cd3('0x689')]=_0xed18d3[_0x1cd3('0x1289')][_0x1cd3('0x127f')]?_0x1cd3('0x1280')+_0xed18d3['outbounddial'][_0x1cd3('0x127f')]:undefined;}_0xed18d3[_0x1cd3('0x2630')]=_0x3960df;_0xed18d3[_0x1cd3('0x39c')]=_0x385083;_0x5c0464['hasRole'](_0x1cd3('0x5f'))?_0x4a1b6f[_0x1cd3('0x18e7')]['get']({'fields':'id,name','sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x561477){_0xed18d3[_0x1cd3('0xef5')]=_0x561477[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x27afd0){_0x467ada[_0x1cd3('0x434')]({'title':_0x27afd0[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x27afd0[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x27afd0[_0x1cd3('0xd35')]:'SYSTEM:GET_TRUNKS','msg':_0x27afd0[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x27afd0[_0x1cd3('0x439')]):_0x27afd0[_0x1cd3('0x43b')]()});}):_0x4a1b6f[_0x1cd3('0x18e7')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})['$promise'][_0x1cd3('0x77')](function(_0x4fe44c){_0xed18d3['trunks']=_0x4fe44c[_0x1cd3('0xf6')]||[];})['then'](function(){return _0x4a1b6f[_0x1cd3('0x390')]['get']({'userProfileId':_0xed18d3[_0x1cd3('0x3ca')]['userProfileId'],'sectionId':0x3f3})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x2a06ea){var _0x4ea4d7=_0x2a06ea&&_0x2a06ea[_0x1cd3('0xf6')]?_0x2a06ea[_0x1cd3('0xf6')][0x0]:null;if(!_0x4ea4d7){var _0x27b8fb=[];var _0x51fd8f=null;if(_0xed18d3[_0x1cd3('0x1289')]){_0x51fd8f=_[_0x1cd3('0x442')](_0xed18d3[_0x1cd3('0xef5')],{'name':_0xed18d3[_0x1cd3('0x1289')][_0x1cd3('0x18e7')]});}for(var _0x3ca80b=0x0;_0x3ca80b<_0xed18d3['trunks'][_0x1cd3('0x7a')];_0x3ca80b++){if(_0x51fd8f&&_0xed18d3['trunks'][_0x3ca80b]['id']===_0x51fd8f['id']){_0xed18d3[_0x1cd3('0xef5')][_0x3ca80b]['canSelect']=![];_0x27b8fb[_0x1cd3('0x7b')](_0xed18d3[_0x1cd3('0xef5')][_0x3ca80b]);}}_0xed18d3[_0x1cd3('0xef5')]=_0x27b8fb;}else{if(!_0x4ea4d7['autoAssociation']){return _0x4a1b6f[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x4ea4d7['id']})[_0x1cd3('0x81')]['then'](function(_0xbfee86){var _0x24408c=_[_0x1cd3('0x3d9')](_0xbfee86[_0x1cd3('0xf6')],function(_0x5425d5){return _[_0x1cd3('0x442')](_0xed18d3[_0x1cd3('0xef5')],{'id':_0x5425d5[_0x1cd3('0xe8e')]});});var _0x202bfb=null;if(_0xed18d3['outbounddial']){_0x202bfb=_['find'](_0xed18d3['trunks'],{'name':_0xed18d3[_0x1cd3('0x1289')][_0x1cd3('0x18e7')]});}if(_0x202bfb&&!_[_0x1cd3('0x38d')](_0x24408c,['id',_0x202bfb['id']])){var _0x585c6e=_[_0x1cd3('0x442')](_0xed18d3[_0x1cd3('0xef5')],{'id':_0x202bfb['id']});_0x585c6e[_0x1cd3('0xf4a')]=![];_0x24408c[_0x1cd3('0x7b')](_0x585c6e);}_0xed18d3['trunks']=_0x24408c;});}}})['catch'](function(_0x23cd7b){_0x467ada[_0x1cd3('0x434')]({'title':_0x23cd7b[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x23cd7b[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x23cd7b[_0x1cd3('0xd35')]:'SYSTEM:GETtrunks','msg':_0x23cd7b[_0x1cd3('0x439')]?JSON['stringify'](_0x23cd7b[_0x1cd3('0x439')]):_0x23cd7b[_0x1cd3('0x43b')]()});});_0x5c0464['hasRole'](_0x1cd3('0x5f'))?_0x4a1b6f[_0x1cd3('0xb76')][_0x1cd3('0x361')]({'fields':'id,name','sort':'name','nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')]['then'](function(_0x1ae02c){_0xed18d3['tags']=_0x1ae02c[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x759e00){_0x467ada[_0x1cd3('0x434')]({'title':_0x759e00[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x759e00[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x759e00[_0x1cd3('0xd35')]:_0x1cd3('0x1ef7'),'msg':_0x759e00['data']?JSON[_0x1cd3('0x438')](_0x759e00[_0x1cd3('0x439')]):_0x759e00[_0x1cd3('0x43b')]()});}):_0x4a1b6f[_0x1cd3('0xb76')][_0x1cd3('0x361')]({'fields':'id,name','sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0xaf37d4){_0xed18d3[_0x1cd3('0x921')]=_0xaf37d4[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x4a1b6f[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0xed18d3['currentUser'][_0x1cd3('0x5e')],'sectionId':0x3f0})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x184062){var _0x37b07f=_0x184062&&_0x184062[_0x1cd3('0xf6')]?_0x184062['rows'][0x0]:null;if(!_0x37b07f){var _0x79785c=[];var _0x2f11be=null;if(_0xed18d3[_0x1cd3('0x1289')]){_0x2f11be=_[_0x1cd3('0x442')](_0xed18d3[_0x1cd3('0x921')],{'name':_0xed18d3[_0x1cd3('0x1289')]['tag']});}for(var _0x3a18ab=0x0;_0x3a18ab<_0xed18d3[_0x1cd3('0x921')]['length'];_0x3a18ab++){if(_0x2f11be&&_0xed18d3[_0x1cd3('0x921')][_0x3a18ab]['id']===_0x2f11be['id']){_0xed18d3[_0x1cd3('0x921')][_0x3a18ab][_0x1cd3('0xf4a')]=![];_0x79785c[_0x1cd3('0x7b')](_0xed18d3['tags'][_0x3a18ab]);}}_0xed18d3[_0x1cd3('0x921')]=_0x79785c;}else{if(!_0x37b07f[_0x1cd3('0x391')]){return _0x4a1b6f[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x37b07f['id']})['$promise']['then'](function(_0x1a063a){var _0x304143=_[_0x1cd3('0x3d9')](_0x1a063a[_0x1cd3('0xf6')],function(_0x27d68c){return _[_0x1cd3('0x442')](_0xed18d3[_0x1cd3('0x921')],{'id':_0x27d68c[_0x1cd3('0xe8e')]});});var _0x354352=null;if(_0xed18d3[_0x1cd3('0x1289')]){_0x354352=_['find'](_0xed18d3[_0x1cd3('0x921')],{'name':_0xed18d3[_0x1cd3('0x1289')]['tag']});}if(_0x354352&&!_[_0x1cd3('0x38d')](_0x304143,['id',_0x354352['id']])){var _0x574aaa=_[_0x1cd3('0x442')](_0xed18d3['tags'],{'id':_0x354352['id']});_0x574aaa[_0x1cd3('0xf4a')]=![];_0x304143[_0x1cd3('0x7b')](_0x574aaa);}_0xed18d3[_0x1cd3('0x921')]=_0x304143;});}}})['catch'](function(_0x366066){_0x467ada['error']({'title':_0x366066['status']?_0x1cd3('0x435')+_0x366066['status']+'\x20-\x20'+_0x366066[_0x1cd3('0xd35')]:_0x1cd3('0x12b5'),'msg':_0x366066[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x366066[_0x1cd3('0x439')]):_0x366066['toString']()});});function _0x3960df(){_0xed18d3[_0x1cd3('0xd34')]=[];var _0x48f2ae=[];if(_0xed18d3[_0x1cd3('0x1289')]['type']&&_0xed18d3[_0x1cd3('0x1289')][_0x1cd3('0x424')]['toLowerCase']()===_0x1cd3('0x128')&&_0xed18d3[_0x1cd3('0x1289')][_0x1cd3('0x125b')]===_0x1cd3('0x1283')){_0xed18d3[_0x1cd3('0x1289')][_0x1cd3('0xf09')]=_0x3064fa[_0x1cd3('0x128a')]?(_0xed18d3[_0x1cd3('0x1289')]['prefix']||'')+'${EXTEN:'+_0x3064fa[_0x1cd3('0x128a')]+'}':(_0xed18d3[_0x1cd3('0x1289')]['prefix']||'')+_0x1cd3('0x128d');if(_0x3064fa[_0x1cd3('0x1285')]!==_0x1cd3('0x6ae')){if(_0xed18d3[_0x1cd3('0x1289')]['options'][_0x1cd3('0x45e')](_0x1cd3('0x1286'))<0x0){_0xed18d3[_0x1cd3('0x1289')][_0x1cd3('0x422')]+='U(xcally-mixmonitor-context)';}}else{_0xed18d3[_0x1cd3('0x1289')]['options']=_0xed18d3[_0x1cd3('0x1289')][_0x1cd3('0x422')][_0x1cd3('0x3f1')](_0x1cd3('0x1286'),'');}}if(_0xed18d3[_0x1cd3('0x1289')][_0x1cd3('0x125b')]&&_0xed18d3[_0x1cd3('0x1289')]['appType']===_0x1cd3('0x8f6')){}else{switch((_0xed18d3['outbounddial'][_0x1cd3('0xd0a')]||_0xed18d3[_0x1cd3('0x1289')][_0x1cd3('0x125b')])[_0x1cd3('0x433')]()){case'set':_0xed18d3['outbounddial'][_0x1cd3('0x127d')]=_0xed18d3['outbounddial']['name']+'='+_0xed18d3[_0x1cd3('0x1289')][_0x1cd3('0x3db')];break;case'custom':break;default:_0x48f2ae[0x0]=[_0x1cd3('0x1949'),_0xed18d3[_0x1cd3('0x1289')][_0x1cd3('0x18e7')],_0xed18d3[_0x1cd3('0x1289')]['phone']][_0x1cd3('0x3de')]('/');_0x48f2ae[0x1]=_0xed18d3[_0x1cd3('0x1289')][_0x1cd3('0x8fc')];_0x48f2ae[0x2]=_0xed18d3[_0x1cd3('0x1289')][_0x1cd3('0x422')];_0x48f2ae[0x3]=_0xed18d3[_0x1cd3('0x1289')][_0x1cd3('0x3a4')];_0xed18d3[_0x1cd3('0x1289')]['appdata']=_0x48f2ae['join'](',');}}_0x385083(_0xed18d3[_0x1cd3('0x1289')]);}function _0x385083(_0x51aa12){_0x387c5e[_0x1cd3('0x39d')](_0x51aa12);}}}());(function(){'use strict';_0x2c5020[_0x1cd3('0xc')]=[_0x1cd3('0x53e'),_0x1cd3('0xd24'),_0x1cd3('0x3c5'),_0x1cd3('0x372'),_0x1cd3('0x3f7'),_0x1cd3('0x463'),_0x1cd3('0xc49'),_0x1cd3('0x370'),_0x1cd3('0x461'),_0x1cd3('0x56'),'outboundroute',_0x1cd3('0x390')];angular[_0x1cd3('0x0')](_0x1cd3('0x2d'))[_0x1cd3('0x39b')](_0x1cd3('0x2632'),_0x2c5020);function _0x2c5020(_0x20e332,_0x1382ff,_0x51b202,_0x1f20f4,_0x13153d,_0x4c52eb,_0x550ec7,_0x2c8926,_0x5f0362,_0x17fa04,_0x49c3e2,_0x59c8e6){var _0x3e98d8=this;_0x3e98d8[_0x1cd3('0x3ca')]=_0x17fa04[_0x1cd3('0x5d')]();_0x3e98d8[_0x1cd3('0x463')]=_0x4c52eb;_0x3e98d8[_0x1cd3('0xc49')]=_0x550ec7;_0x3e98d8[_0x1cd3('0xd29')]=_0x3e98d8['setting'][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x3e98d8[_0x1cd3('0xd22')]=_0x1382ff[_0x1cd3('0x3b0')]()+_0x1cd3('0x11cf')+_0x1382ff[_0x1cd3('0x3ac')]();_0x3e98d8[_0x1cd3('0x2604')]=_0x49c3e2||_0x20e332['params'][_0x1cd3('0x2604')]||{};_0x3e98d8[_0x1cd3('0x390')]=_0x59c8e6&&_0x59c8e6['count']==0x1?_0x59c8e6[_0x1cd3('0xf6')][0x0]:null;_0x3e98d8[_0x1cd3('0xd27')]=_0x17fa04[_0x1cd3('0xd44')](_0x3e98d8[_0x1cd3('0x390')]?_0x3e98d8[_0x1cd3('0x390')]['crudPermissions']:null);_0x3e98d8[_0x1cd3('0xd28')]={};_0x3e98d8[_0x1cd3('0xe5f')]=_0x20e332[_0x1cd3('0x36a')][_0x1cd3('0x1418')]||0x0;_0x3e98d8[_0x1cd3('0x11d0')]=_0x5f0362[_0x1cd3('0x654')];_0x3e98d8[_0x1cd3('0x2633')]=_0x47ce7f;_0x3e98d8[_0x1cd3('0x260f')]=_0x5ba8e9;_0x17fa04[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x2c8926[_0x1cd3('0xa3e')]['get']({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x5d0b2b){_0x3e98d8[_0x1cd3('0x2119')]=_0x5d0b2b[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x2219e1){_0x5f0362['error']({'title':_0x2219e1[_0x1cd3('0x3a6')]?'API:'+_0x2219e1[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x2219e1[_0x1cd3('0xd35')]:_0x1cd3('0x211a'),'msg':_0x2219e1[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x2219e1[_0x1cd3('0x439')]):_0x2219e1[_0x1cd3('0x43b')]()});}):_0x2c8926[_0x1cd3('0xa3e')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':'name','nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x22f88f){_0x3e98d8['contexts']=_0x22f88f[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x2c8926[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x3e98d8['currentUser'][_0x1cd3('0x5e')],'sectionId':0x195})['$promise'];})[_0x1cd3('0x77')](function(_0x335e77){var _0x7c60e1=_0x335e77&&_0x335e77[_0x1cd3('0xf6')]?_0x335e77[_0x1cd3('0xf6')][0x0]:null;if(!_0x7c60e1){return _0x2c8926[_0x1cd3('0xa3e')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0'),'defaultEntry':0x1})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x3b0164){_0x3e98d8[_0x1cd3('0x2119')]=_0x3b0164[_0x1cd3('0xf6')]||[];});}else{if(!_0x7c60e1[_0x1cd3('0x391')]){return _0x2c8926[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x7c60e1['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x2240b3){var _0x43773c=_[_0x1cd3('0x3d9')](_0x2240b3[_0x1cd3('0xf6')],function(_0x503556){return _['find'](_0x3e98d8[_0x1cd3('0x2119')],{'id':_0x503556['resourceId']});});var _0x1450bb=null;if(_0x3e98d8[_0x1cd3('0x2604')]){_0x1450bb=_[_0x1cd3('0x442')](_0x3e98d8[_0x1cd3('0x2119')],{'name':_0x3e98d8[_0x1cd3('0x2604')][_0x1cd3('0xf0a')]});}if(_0x1450bb&&!_[_0x1cd3('0x38d')](_0x43773c,['id',_0x1450bb['id']])){var _0x564431=_[_0x1cd3('0x442')](_0x3e98d8['contexts'],{'id':_0x1450bb['id']});_0x564431[_0x1cd3('0xf4a')]=![];_0x43773c[_0x1cd3('0x7b')](_0x564431);}_0x3e98d8[_0x1cd3('0x2119')]=_0x43773c;});}}})[_0x1cd3('0xfd')](function(_0x1836b5){_0x5f0362[_0x1cd3('0x434')]({'title':_0x1836b5['status']?_0x1cd3('0x435')+_0x1836b5[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x1836b5[_0x1cd3('0xd35')]:_0x1cd3('0x214c'),'msg':_0x1836b5['data']?JSON[_0x1cd3('0x438')](_0x1836b5[_0x1cd3('0x439')]):_0x1836b5['toString']()});});function _0x47ce7f(){_0x20e332['go'](_0x1cd3('0x2634'),{},{'reload':_0x1cd3('0x2634')});}function _0x5ba8e9(){_0x2c8926['voiceExtension'][_0x1cd3('0x378')]({'id':_0x3e98d8[_0x1cd3('0x2604')]['id']},_0x3e98d8['outboundroute'])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x5f0362[_0x1cd3('0x473')]({'title':_0x1cd3('0x2635'),'msg':_0x3e98d8['outboundroute']['name']?_0x3e98d8[_0x1cd3('0x2604')][_0x1cd3('0x98')]+_0x1cd3('0xe65'):''});})[_0x1cd3('0xfd')](function(_0x26e38e){_0x5f0362[_0x1cd3('0x434')]({'title':_0x26e38e[_0x1cd3('0x3a6')]?'API:'+_0x26e38e[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x26e38e[_0x1cd3('0xd35')]:_0x1cd3('0x2580'),'msg':_0x26e38e[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x26e38e[_0x1cd3('0x439')]):_0x26e38e[_0x1cd3('0x43b')]()});});}}}());(function(){'use strict';_0x4ef110[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x371'),'$state',_0x1cd3('0x969'),_0x1cd3('0x3c5'),_0x1cd3('0x372'),_0x1cd3('0x3e7'),_0x1cd3('0x3f7'),_0x1cd3('0x2603'),_0x1cd3('0x38a'),'userProfileSection',_0x1cd3('0x370'),_0x1cd3('0x2dd'),_0x1cd3('0x461'),_0x1cd3('0x56'),_0x1cd3('0x463'),_0x1cd3('0xc49')];angular[_0x1cd3('0x0')](_0x1cd3('0x2d'))[_0x1cd3('0x39b')](_0x1cd3('0x2636'),_0x4ef110);function _0x4ef110(_0x5de7d7,_0x150e8f,_0x52c148,_0x4849c7,_0x11fb91,_0x1955e5,_0x4936fd,_0x1e6d56,_0x5836e7,_0x34e55a,_0x2ce34c,_0x3bbf03,_0x1681c3,_0x18a7fd,_0x2b782d,_0x595f75,_0x3506a3){var _0xff7203=this;_0xff7203[_0x1cd3('0x463')]=_0x595f75;_0xff7203[_0x1cd3('0xc49')]=_0x3506a3;_0xff7203[_0x1cd3('0x3ca')]=_0x2b782d['getCurrentUser']();_0xff7203[_0x1cd3('0x2603')]=_0x5836e7||{'count':0x0,'rows':[]};_0xff7203['userProfile']=_0x34e55a;_0xff7203['userProfileSection']=_0x2ce34c&&_0x2ce34c[_0x1cd3('0x466')]==0x1?_0x2ce34c[_0x1cd3('0xf6')][0x0]:null;_0xff7203['crudPermissions']=_0x2b782d['parseCrudPermissions'](_0xff7203[_0x1cd3('0x390')]?_0xff7203[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);_0xff7203['table']=_0x1cd3('0x2603');_0xff7203[_0x1cd3('0xd46')]='';_0xff7203[_0x1cd3('0xd47')]=null;_0xff7203[_0x1cd3('0x2637')]=[];_0xff7203[_0x1cd3('0x3d4')]={'fields':_0x1cd3('0x30a'),'type':_0x1cd3('0x128'),'sort':_0x1cd3('0x5b'),'VoiceExtensionId':_0x1cd3('0x220'),'limit':0xa,'page':0x1};_0xff7203[_0x1cd3('0x2638')]=_[_0x1cd3('0xe2d')]([{'option':_0x1cd3('0x6ae'),'value':_0x1cd3('0x2639')},{'option':_0x1cd3('0x6b5'),'value':_0x1cd3('0x1e70')},{'option':_0x1cd3('0x1e71'),'value':_0x1cd3('0x20e5')},{'option':_0x1cd3('0xf38'),'value':_0x1cd3('0x1e73')}],function(_0x5221c0){return _['replace'](_0x5221c0[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0xff7203[_0x1cd3('0x1171')]=_0x35c017;_0xff7203['deleteconfirm']=_0x3e3be1;_0xff7203[_0x1cd3('0x473')]=_0x50c761;_0xff7203['getOutboundRoutes']=_0x55a47b;_0xff7203[_0x1cd3('0x263a')]=_0x1c8320;_0xff7203[_0x1cd3('0x263b')]=_0x16d8a;_0xff7203[_0x1cd3('0x263c')]=_0x452ee4;_0xff7203[_0x1cd3('0x263d')]=_0x130fef;_0xff7203[_0x1cd3('0x263e')]=_0xb45114;_0xff7203[_0x1cd3('0x263f')]=_0x341d5e;_0x2b782d['hasRole'](_0x1cd3('0x5f'))?_0x3bbf03[_0x1cd3('0xa3e')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':'name','nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x404e10){_0xff7203['contexts']=_0x404e10[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x5836e9){_0x18a7fd['error']({'title':_0x5836e9[_0x1cd3('0x3a6')]?'API:'+_0x5836e9['status']+'\x20-\x20'+_0x5836e9[_0x1cd3('0xd35')]:_0x1cd3('0x211a'),'msg':_0x5836e9[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x5836e9[_0x1cd3('0x439')]):_0x5836e9[_0x1cd3('0x43b')]()});}):_0x3bbf03[_0x1cd3('0xa3e')]['get']({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')]['then'](function(_0x10712f){_0xff7203[_0x1cd3('0x2119')]=_0x10712f[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x3bbf03['userProfileSection'][_0x1cd3('0x361')]({'userProfileId':_0xff7203[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x195})['$promise'];})['then'](function(_0x3b381){var _0x258e97=_0x3b381&&_0x3b381[_0x1cd3('0xf6')]?_0x3b381[_0x1cd3('0xf6')][0x0]:null;if(!_0x258e97){return _0x3bbf03[_0x1cd3('0xa3e')]['get']({'fields':'id,name','sort':'name','nolimit':_0x1cd3('0x2e0'),'defaultEntry':0x1})['$promise'][_0x1cd3('0x77')](function(_0x37cfbf){_0xff7203[_0x1cd3('0x2119')]=_0x37cfbf[_0x1cd3('0xf6')]||[];});}else{if(!_0x258e97['autoAssociation']){return _0x3bbf03[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x258e97['id']})[_0x1cd3('0x81')]['then'](function(_0xf476cd){var _0x5cd6c6=_[_0x1cd3('0x3d9')](_0xf476cd[_0x1cd3('0xf6')],function(_0x24e4cf){return _['find'](_0xff7203[_0x1cd3('0x2119')],{'id':_0x24e4cf[_0x1cd3('0xe8e')]});});var _0x16d4a2=null;if(_0xff7203[_0x1cd3('0x2604')]){_0x16d4a2=_[_0x1cd3('0x442')](_0xff7203[_0x1cd3('0x2119')],{'name':_0xff7203[_0x1cd3('0x2604')]['context']});}if(_0x16d4a2&&!_[_0x1cd3('0x38d')](_0x5cd6c6,['id',_0x16d4a2['id']])){var _0x19a922=_[_0x1cd3('0x442')](_0xff7203[_0x1cd3('0x2119')],{'id':_0x16d4a2['id']});_0x19a922[_0x1cd3('0xf4a')]=![];_0x5cd6c6['push'](_0x19a922);}_0xff7203[_0x1cd3('0x2119')]=_0x5cd6c6;});}}})[_0x1cd3('0xfd')](function(_0x27bb50){_0x18a7fd['error']({'title':_0x27bb50['status']?'API:'+_0x27bb50[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x27bb50['statusText']:_0x1cd3('0x214c'),'msg':_0x27bb50['data']?JSON[_0x1cd3('0x438')](_0x27bb50[_0x1cd3('0x439')]):_0x27bb50[_0x1cd3('0x43b')]()});});function _0x35c017(_0xd302ca,_0x291f27){_0x52c148['go'](_0x1cd3('0x30c'),{'id':_0xd302ca['id'],'outboundroute':_0xd302ca,'crudPermissions':_0xff7203[_0x1cd3('0xd27')]});}function _0x3e3be1(_0x492478,_0x712528){var _0x318aa3=_0x11fb91[_0x1cd3('0xd39')]()[_0x1cd3('0x486')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20'+_[_0x1cd3('0xd50')](_0x1cd3('0x2604'))+'?')[_0x1cd3('0xd60')](_0x1cd3('0xd51')+(_0x492478[_0x1cd3('0x98')]||_0x1cd3('0x2604'))+_0x1cd3('0xd52')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x2640'))['targetEvent'](_0x712528)['ok']('OK')['cancel'](_0x1cd3('0xd55'));_0x11fb91[_0x1cd3('0x37e')](_0x318aa3)[_0x1cd3('0x77')](function(){_0x16d8a(_0x492478);},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}var _0x1f0132=!![];var _0x51141a=0x1;_0x5de7d7['$watch']('vm.query.filter',function(_0x177d8c,_0x2d951f){if(_0x1f0132){_0x4936fd(function(){_0x1f0132=![];});}else{if(!_0x2d951f){_0x51141a=_0xff7203[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0x177d8c!==_0x2d951f){_0xff7203[_0x1cd3('0x3d4')]['page']=0x1;}if(!_0x177d8c){_0xff7203[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0x51141a;}_0xff7203[_0x1cd3('0x2641')]();}});function _0x50c761(_0x1f6b1d){_0xff7203['outboundroutes']=_0x1f6b1d||{'count':0x0,'rows':[]};}function _0x55a47b(){_0xff7203['query']['offset']=(_0xff7203['query']['page']-0x1)*_0xff7203[_0x1cd3('0x3d4')]['limit'];if(_0x2b782d['hasRole']('admin')){_0xff7203[_0x1cd3('0x539')]=_0x3bbf03[_0x1cd3('0xa40')][_0x1cd3('0x361')](_0xff7203[_0x1cd3('0x3d4')],_0x50c761)['$promise'];}else{_0xff7203['query']['id']=_0xff7203[_0x1cd3('0x38a')]['id'];_0xff7203['query'][_0x1cd3('0xd58')]=_0x1cd3('0x30b');_0xff7203[_0x1cd3('0x539')]=_0x3bbf03[_0x1cd3('0x38a')][_0x1cd3('0xd59')](_0xff7203['query'],_0x50c761)[_0x1cd3('0x81')];}}function _0x1c8320(_0x5dc525,_0x4c5b16){_0x11fb91[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x2605'),'controllerAs':'vm','templateUrl':_0x1cd3('0x2642'),'parent':angular['element'](_0x1955e5[_0x1cd3('0x380')]),'targetEvent':_0x5dc525,'clickOutsideToClose':!![],'locals':{'outboundroute':_0x4c5b16,'outboundroutes':_0xff7203[_0x1cd3('0x2603')]['rows'],'license':_0xff7203[_0x1cd3('0x463')],'setting':_0xff7203['setting'],'crudPermissions':_0xff7203[_0x1cd3('0xd27')]}});}function _0x16d8a(_0x313c5f){_0x3bbf03[_0x1cd3('0xc95')][_0x1cd3('0x361')]({'VoiceExtensionId':_0x313c5f['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0xa5e67c){if(_0xa5e67c&&_0xa5e67c[_0x1cd3('0xf6')]&&_0xa5e67c[_0x1cd3('0xf6')][_0x1cd3('0x7a')]>0x0){return _0x18a7fd[_0x1cd3('0x434')]({'title':'Outbound\x20route\x20not\x20deleted!','msg':'You\x20can\x27t\x20remove\x20an\x20outbound\x20route\x20associated\x20to\x20an\x20out\x20prefix'});}else{_0x3bbf03[_0x1cd3('0xa40')][_0x1cd3('0xa1c')]({'id':_0x313c5f['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0xff7203['outboundroutes'][_0x1cd3('0xf6')],{'id':_0x313c5f['id']});_0xff7203['outboundroutes'][_0x1cd3('0x466')]-=0x1;if(!_0xff7203[_0x1cd3('0x2603')][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){_0xff7203[_0x1cd3('0x2641')]();}_0x18a7fd[_0x1cd3('0x473')]({'title':_[_0x1cd3('0xd50')](_0x1cd3('0x23d3'))+_0x1cd3('0xd5c'),'msg':_0x313c5f['name']?_0x313c5f['name']+_0x1cd3('0xd41'):''});})[_0x1cd3('0xfd')](function(_0x2bb07e){if(_0x2bb07e[_0x1cd3('0x439')]&&_0x2bb07e[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x2bb07e[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length']){_0xff7203[_0x1cd3('0xd34')]=_0x2bb07e['data'][_0x1cd3('0xd34')]||[{'message':_0x2bb07e[_0x1cd3('0x43b')](),'type':'SYSTEM:DELETEvoiceExtension'}];for(var _0x58ee30=0x0;_0x58ee30<_0x2bb07e[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length'];_0x58ee30++){_0x18a7fd[_0x1cd3('0x434')]({'title':_0x2bb07e[_0x1cd3('0x439')]['errors'][_0x58ee30][_0x1cd3('0x424')],'msg':_0x2bb07e['data'][_0x1cd3('0xd34')][_0x58ee30]['message']});}}else{_0x18a7fd[_0x1cd3('0x434')]({'title':_0x2bb07e[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x2bb07e[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x2bb07e['statusText']:_0x1cd3('0x258c'),'msg':_0x2bb07e['data']?JSON[_0x1cd3('0x438')](_0x2bb07e[_0x1cd3('0x439')]['message']):_0x2bb07e['message']||_0x2bb07e['toString']()});}});}});}function _0x452ee4(){var _0x4c82fe=angular[_0x1cd3('0x429')](_0xff7203[_0x1cd3('0x2637')]);_0xff7203[_0x1cd3('0x2637')]=[];return _0x4c82fe;}function _0x130fef(_0x374321){var _0x400138=_0x11fb91[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x2643'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0xff7203['selectedOutboundRoutes'][_0x1cd3('0x7a')]+_0x1cd3('0xd61')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x2644'))[_0x1cd3('0xd63')](_0x374321)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x11fb91[_0x1cd3('0x37e')](_0x400138)['then'](function(){_0xff7203[_0x1cd3('0x2637')][_0x1cd3('0x394')](function(_0x1ef0d2){_0x16d8a(_0x1ef0d2);});_0xff7203['selectedOutboundRoutes']=[];});}function _0xb45114(){_0xff7203[_0x1cd3('0x2637')]=[];}function _0x341d5e(){_0xff7203[_0x1cd3('0x2637')]=_0xff7203[_0x1cd3('0x2603')][_0x1cd3('0xf6')];}}}());(function(){'use strict';_0x1f9adf[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x3e7'),_0x1cd3('0x3c5'),_0x1cd3('0x372'),_0x1cd3('0x371'),_0x1cd3('0x3f7'),_0x1cd3('0x370'),_0x1cd3('0x38a'),_0x1cd3('0x390'),_0x1cd3('0x56'),_0x1cd3('0xd18'),_0x1cd3('0x461'),_0x1cd3('0x1228'),_0x1cd3('0x15a5')];angular[_0x1cd3('0x0')]('app.voice')['controller']('AbandonedCallsVoiceRealtimeController',_0x1f9adf);function _0x1f9adf(_0x178cd4,_0x2254bf,_0x42248d,_0x2580a5,_0x296641,_0x47f309,_0xa5da85,_0xc4ad5d,_0xfb53ac,_0x586631,_0x54d89a,_0x396cde,_0x499c1e,_0x4d3dcf){var _0x448472=this;var _0xf4178c=!![];_0x448472[_0x1cd3('0x3ca')]=_0x586631[_0x1cd3('0x5d')]();_0x448472[_0x1cd3('0x1228')]=_0x499c1e?_0x499c1e:[];_0x448472[_0x1cd3('0x15a5')]=_0x4d3dcf;_0x448472[_0x1cd3('0x1659')]={'count':0x0,'rows':[]};_0x448472[_0x1cd3('0x1647')]=![];_0x448472['refresh']=!![];_0x448472[_0x1cd3('0x38a')]=_0xc4ad5d;_0x448472[_0x1cd3('0x390')]=_0xfb53ac&&_0xfb53ac['count']==0x1?_0xfb53ac[_0x1cd3('0xf6')][0x0]:null;_0x448472[_0x1cd3('0xd27')]=_0x586631[_0x1cd3('0xd44')](_0x448472[_0x1cd3('0x390')]?_0x448472[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);_0x448472[_0x1cd3('0x3d4')]={'fields':_0x1cd3('0x1648'),'type':_0x1cd3('0xa4'),'queuecallerexitreason':_0x1cd3('0x1649')+','+_0x1cd3('0x164a'),'sort':'-updatedAt','limit':0xa,'page':0x1};_0x448472[_0x1cd3('0x1655')]=_0x462a67;_0x448472[_0x1cd3('0x164b')]=_0x4a303d;_0x448472[_0x1cd3('0x2645')]=_0x106983;_0x448472['dispose']=_0x38ae3b;_0x448472['onSaveVoiceQueueReport']=_0x2857c4;_0x448472[_0x1cd3('0x1e97')]=_0x258448;_0x54d89a[_0x1cd3('0x1555')](_0x1cd3('0x165d'),_0x448472[_0x1cd3('0x1e98')]);_0x54d89a['on'](_0x1cd3('0x1651'),_0x448472[_0x1cd3('0x1e97')]);_0x41348b();function _0x41348b(){var _0x127dcd=_0x296641[_0x1cd3('0x385')][_0x1cd3('0x3e0')](_0x1cd3('0x2646')+_0x448472[_0x1cd3('0x3ca')]['id']);if(_0x127dcd){_0x127dcd=JSON[_0x1cd3('0x79')](_0x127dcd);if(_0x127dcd&&_0x127dcd['query']){_0x448472['query']=_[_0x1cd3('0xf2')](_0x127dcd[_0x1cd3('0x3d4')],_[_0x1cd3('0x3e3')](_0x448472[_0x1cd3('0x3d4')],[_0x1cd3('0x550'),_0x1cd3('0x8fe'),_0x1cd3('0x8fd')]));_0x448472[_0x1cd3('0x3d4')]=_['omit'](_0x448472['query'],_0x1cd3('0x395'));}}else{var _0x4f0765={'$gte':moment()[_0x1cd3('0x12e')](_0x1cd3('0x6e8'))[_0x1cd3('0x12f')](0x0,!![])['format'](),'$lte':moment()[_0x1cd3('0x131')](_0x1cd3('0x6e8'))[_0x1cd3('0x12f')](0x0,!![])[_0x1cd3('0x130')]()};_0x448472[_0x1cd3('0x3d4')][_0x1cd3('0xe0d')]=_0x4f0765;}if(_0x586631[_0x1cd3('0x57')](_0x1cd3('0x5f'))){_0xa5da85[_0x1cd3('0x368')][_0x1cd3('0x13df')]({'id':_0x586631[_0x1cd3('0x5d')]()['id'],'fields':_0x1cd3('0xa6'),'channel':_0x1cd3('0x121'),'type':_0x1cd3('0xa4'),'nolimit':!![]})['$promise'][_0x1cd3('0x77')](function(_0x14db60){_0x448472[_0x1cd3('0x1155')]=_0x14db60||{'count':0x0,'rows':[]};_0x448472[_0x1cd3('0x1652')]=_[_0x1cd3('0x3d8')](_[_0x1cd3('0xe2d')](_0x448472[_0x1cd3('0x1155')][_0x1cd3('0xf6')],_0x1cd3('0x98')),_0x1cd3('0x98'));})[_0x1cd3('0xfd')](function(_0x13ea67){console[_0x1cd3('0x434')](_0x13ea67);})['finally'](function(){_0x448472['quickFilters']=_0x57a117();_0x448472[_0x1cd3('0x1655')]();});}else{_0xa5da85['userProfile'][_0x1cd3('0xd59')]({'id':_0x448472[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'section':'VoiceQueues','channel':_0x1cd3('0x121'),'type':'inbound','sort':'-updatedAt','nolimit':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0xb97a95){_0x448472[_0x1cd3('0x1155')]=_0xb97a95||{'count':0x0,'rows':[]};_0x448472[_0x1cd3('0x1652')]=_[_0x1cd3('0x3d8')](_['keyBy'](_0x448472[_0x1cd3('0x1155')][_0x1cd3('0xf6')],_0x1cd3('0x98')),_0x1cd3('0x98'));})[_0x1cd3('0xfd')](function(_0x557a86){console[_0x1cd3('0x434')](_0x557a86);})['finally'](function(){_0x448472['quickFilters']=_0x57a117();_0x448472[_0x1cd3('0x1655')]();});}}function _0x57a117(){console[_0x1cd3('0x7d')](_0x1cd3('0x1e99'),_0x448472[_0x1cd3('0x1228')]['rows']);return[{'name':'Start\x20Date','key':_0x1cd3('0xe0d'),'type':_0x1cd3('0x406'),'label':'DASHBOARDS.SELECT_DATE'},{'name':_0x1cd3('0x1227'),'key':_0x1cd3('0x1e9a'),'type':_0x1cd3('0x44f'),'label':_0x1cd3('0x131f'),'options':_0x448472[_0x1cd3('0x1228')][_0x1cd3('0xf6')],'customOptions':[{'value':_0x1cd3('0x1657'),'translate':'DASHBOARDS.NOT_ASSIGNED'},{'value':undefined,'translate':_0x1cd3('0x910')}]},{'name':'Campaign','key':_0x1cd3('0x1220'),'type':_0x1cd3('0x3fa'),'label':'DASHBOARDS.SELECT_CAMPAIGN','options':_0x448472['queues'][_0x1cd3('0xf6')]}];}function _0x462a67(){_0x448472[_0x1cd3('0x8fa')]=![];if(_0x448472['queues'][_0x1cd3('0x466')]>0x0){_0x448472[_0x1cd3('0x3d4')][_0x1cd3('0x1220')]=_0x448472[_0x1cd3('0x1155')][_0x1cd3('0x466')]===0x1?_0x448472[_0x1cd3('0x1155')]['rows'][0x0][_0x1cd3('0x98')]:_0x448472[_0x1cd3('0x3d4')][_0x1cd3('0x1220')];_0x448472[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0x448472[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0x448472[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];_0x296641[_0x1cd3('0x385')][_0x1cd3('0x3e2')]('motion2.realtime.abandoned.voice.abandonedCalls:'+_0x448472[_0x1cd3('0x3ca')]['id'],JSON[_0x1cd3('0x438')]({'query':_[_0x1cd3('0x3e3')](_0x448472['query'],_0x1cd3('0x1220'))}));_0x448472[_0x1cd3('0x539')]=_0xa5da85['voiceQueueReport'][_0x1cd3('0x2647')](_0x448472[_0x1cd3('0x3d4')],_0x3e0fd9)[_0x1cd3('0x81')];}else{_0x3e0fd9(null);}}function _0x3e0fd9(_0x21b638){_0x448472[_0x1cd3('0x1659')]=_0x21b638||{'count':0x0,'rows':[]};_0xf4178c=![];_0x448472[_0x1cd3('0x8fa')]=!![];}function _0x4a303d(){_0x448472[_0x1cd3('0x1647')]=![];_0x448472['getAbandonedCalls']();}function _0x2857c4(_0x3c8806){var _0x46253f=_0x1cd3('0xa4');if(_0x3c8806&&_0x448472[_0x1cd3('0x1652')]&&queue[_0x1cd3('0x424')]===_0x46253f&&_0x448472[_0x1cd3('0x1652')][_0x3c8806[_0x1cd3('0x1220')]]){_0x448472[_0x1cd3('0x1647')]=!![];}}function _0x258448(_0x1d0b18){if(_0x1d0b18){var _0x41176e=_['findIndex'](_0x448472[_0x1cd3('0x1659')][_0x1cd3('0xf6')],['id',_0x1d0b18['id']]);if(_0x41176e>=0x0){_['merge'](_0x448472[_0x1cd3('0x1659')][_0x1cd3('0xf6')][_0x41176e],_0x1d0b18);}}}function _0x106983(_0x35cead,_0x5edf81){if(_0x35cead){_0xa5da85[_0x1cd3('0xa70')][_0x1cd3('0x378')]({'id':_0x35cead['id'],'lastAssignedTo':_0x5edf81?_0x5edf81['name']:null,'assigned':_0x5edf81?!![]:![]})['$promise'][_0x1cd3('0xfd')](function(_0x5e11b8){console[_0x1cd3('0x7d')](_0x5e11b8);});}}function _0x38ae3b(_0x2d5661,_0x1802f1){if(_0x2d5661){_0xa5da85['voiceQueueReport'][_0x1cd3('0x378')]({'id':_0x2d5661['id'],'disposition':_0x1802f1?_0x1802f1:null})['$promise'][_0x1cd3('0xfd')](function(_0x18d1b2){console['log'](_0x18d1b2);});}}var _0x1cdd4a=!![];var _0x1130df=0x1;_0x178cd4[_0x1cd3('0x4d6')](_0x1cd3('0xd56'),function(_0x279d5d,_0x3402fe){if(_0x1cdd4a){_0x2254bf(function(){_0x1cdd4a=![];});}else{if(!_0x3402fe){_0x1130df=_0x448472[_0x1cd3('0x3d4')]['page'];}if(_0x279d5d!==_0x3402fe){_0x448472['query'][_0x1cd3('0x8fd')]=0x1;}if(!_0x279d5d){_0x448472[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0x1130df;}_0x448472['getAbandonedCalls']();}});_0x178cd4['$on']('$destroy',function(){_0x54d89a['removeAllListeners'](_0x1cd3('0x165d'));_0x54d89a[_0x1cd3('0x6a3')](_0x1cd3('0x1651'));});}}());(function(){'use strict';_0x259c96[_0x1cd3('0xc')]=[_0x1cd3('0x460'),'$q',_0x1cd3('0x3e7'),_0x1cd3('0x3c5'),_0x1cd3('0x372'),'$filter',_0x1cd3('0x1381'),_0x1cd3('0x1228'),_0x1cd3('0x1385'),_0x1cd3('0x370'),_0x1cd3('0xd18'),'toasty','helperClasses',_0x1cd3('0x38a'),_0x1cd3('0x390'),'Auth','license','$interval'];angular['module'](_0x1cd3('0x2d'))['controller']('AgentsVoiceRealtimeController',_0x259c96);function _0x259c96(_0x529935,_0x570320,_0x2ccf99,_0x21b49f,_0x4c1b37,_0x5988e7,_0x7ad804,_0x55b2ab,_0x5d50bf,_0x202fbc,_0x1c4b25,_0xa05fed,_0x5c5b2e,_0x230e60,_0x4a38da,_0x2f965e,_0x23613c,_0xe366cb){var _0x1d11cf=this;var _0x1c8448=[_0x1cd3('0x1386'),_0x1cd3('0x1387'),_0x1cd3('0x1388'),_0x1cd3('0x1389'),'pauseType',_0x1cd3('0x1389'),_0x1cd3('0x311'),_0x1cd3('0x138a'),_0x1cd3('0x138b'),'openchannelPause',_0x1cd3('0x1590'),_0x1cd3('0x138d'),_0x1cd3('0x138e'),'faxPause',_0x1cd3('0x604'),'chatCapacity','openchannelCapacity',_0x1cd3('0x1392'),_0x1cd3('0x1393'),_0x1cd3('0x1989'),_0x1cd3('0x1394'),_0x1cd3('0x198a'),'openchannelCurrentCapacity','mailCurrentCapacity',_0x1cd3('0x198b'),_0x1cd3('0x1397'),_0x1cd3('0x1398'),_0x1cd3('0x1399'),_0x1cd3('0x139a'),_0x1cd3('0x139b'),_0x1cd3('0x198c'),_0x1cd3('0x139c'),_0x1cd3('0x139d'),_0x1cd3('0x139e'),_0x1cd3('0x139f'),_0x1cd3('0x13a0'),_0x1cd3('0x13a1'),_0x1cd3('0x13a2'),'whatsappStatusTime','faxStatusTime',_0x1cd3('0x13a3'),_0x1cd3('0x1220'),_0x1cd3('0x13a4'),_0x1cd3('0x13a5'),_0x1cd3('0x13a6'),_0x1cd3('0x13a7')];var _0xcf7874=[_0x1cd3('0x138b'),_0x1cd3('0x138c'),_0x1cd3('0x1590'),_0x1cd3('0x138d'),'whatsappPause',_0x1cd3('0x138f'),_0x1cd3('0x604'),'online'];_0x1d11cf[_0x1cd3('0x3ca')]=_0x2f965e['getCurrentUser']();_0x1d11cf[_0x1cd3('0x198d')]=['ringing','inuse',_0x1cd3('0x13a9'),_0x1cd3('0x13aa'),_0x1cd3('0x13ab')];_0x1d11cf[_0x1cd3('0x1381')]=_0x7ad804||{'count':0x0,'rows':[]};_0x1d11cf[_0x1cd3('0x463')]=_0x23613c;_0x1d11cf[_0x1cd3('0x38a')]=_0x230e60;_0x1d11cf[_0x1cd3('0x390')]=_0x4a38da&&_0x4a38da[_0x1cd3('0x466')]==0x1?_0x4a38da[_0x1cd3('0xf6')][0x0]:null;_0x1d11cf[_0x1cd3('0xd27')]=_0x2f965e[_0x1cd3('0xd44')](_0x1d11cf[_0x1cd3('0x390')]?_0x1d11cf[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);_0x1d11cf[_0x1cd3('0x1228')]=_0x55b2ab?_[_0x1cd3('0xe2d')](_0x55b2ab[_0x1cd3('0xf6')]?_0x55b2ab[_0x1cd3('0xf6')]:[],'id'):{};_0x1d11cf['rpcAgents']=_0x5d50bf?_['keyBy'](_0x5d50bf[_0x1cd3('0xf6')]?_0x5d50bf[_0x1cd3('0xf6')]:[],'id'):{};_0x1d11cf[_0x1cd3('0x13ac')]={};_0x1d11cf[_0x1cd3('0x5de')]=![];_0x1d11cf[_0x1cd3('0x13ad')]=[];_0x1d11cf[_0x1cd3('0x13ae')]={};for(var _0x4af33b in _0x1d11cf[_0x1cd3('0x1228')]){if(_0x1d11cf[_0x1cd3('0x1228')]['hasOwnProperty'](_0x4af33b)){_0x1d11cf[_0x1cd3('0x1228')][_0x4af33b][_0x1cd3('0xe08')]=!![];}}_0x1d11cf[_0x1cd3('0x3d4')]={'limit':0xa,'page':0x1,'order':'fullname','globalStatusFilter':'','pauseTypeFilter':''};_0x1d11cf[_0x1cd3('0x376')]=_0x44b270;_0x1d11cf['queueAdd']=_0x339c45;_0x1d11cf[_0x1cd3('0x63e')]=_0x45d431;_0x1d11cf['unPause']=_0x18a12a;_0x1d11cf[_0x1cd3('0x198e')]=_0x30a0dd;_0x1d11cf[_0x1cd3('0x13b1')]=_0xaf1901;_0x1d11cf[_0x1cd3('0x13b2')]=_0x386738;_0x1d11cf[_0x1cd3('0x13b3')]=_0x12f56a;_0x1d11cf['checkPause']=_0x5ce9ea;_0x1d11cf[_0x1cd3('0x13b5')]=_0x54e588;_0x1d11cf[_0x1cd3('0x13b6')]=_0x55ad67;_0x1d11cf[_0x1cd3('0x13bb')]=_0xcd92ad;_0x1d11cf[_0x1cd3('0x703')]=_0x12c56a;_0x1d11cf[_0x1cd3('0x13bd')]=_0x548bbb;_0x1d11cf[_0x1cd3('0x13b7')]=_0x43ef04;_0x1d11cf[_0x1cd3('0x13b8')]=_0x5498e6;_0x1c4b25['on'](_0x1cd3('0x13b9'),_0x1d11cf[_0x1cd3('0x13b6')]);_0x1c4b25['on'](_0x1cd3('0x13ba'),_0x1d11cf[_0x1cd3('0x13bb')]);_0x1c4b25['on']('user:agentconnect',_0x1d11cf[_0x1cd3('0x13bd')]);_0x1c4b25['on'](_0x1cd3('0x13be'),_0x1d11cf['onComplete']);_0x12c56a();var _0xe7844=_0xe366cb(function(){if(_0x1d11cf['load']){_0x1d11cf[_0x1cd3('0x5de')]=![];_0x12c56a();}},0x3e7);function _0x12c56a(_0x132e02){_0x1d11cf[_0x1cd3('0x5de')]=![];var _0x2320de=_0x570320[_0x1cd3('0x53a')]();_0x1d11cf[_0x1cd3('0x539')]=_0x2320de[_0x1cd3('0x539')];_0x1d11cf[_0x1cd3('0x13bf')]=[];_0x1d11cf['order']=[];_['forIn'](_0x1d11cf['agents'],function(_0x30ab94,_0x3ba24c){if(_0x1d11cf['rpcAgents'][_0x3ba24c]){_[_0x1cd3('0xf2')](_0x30ab94,_[_0x1cd3('0x5e8')](_[_0x1cd3('0x3e3')](_0x1d11cf[_0x1cd3('0x1385')][_0x3ba24c],_0xcf7874),_0x1c8448));}_0x386738(_0x30ab94);if(_0x30ab94[_0x1cd3('0x1387')]){_0x1d11cf[_0x1cd3('0x13bf')][_0x1cd3('0x7b')](_0x30ab94);_0x1d11cf[_0x1cd3('0x13ae')][_0x30ab94['internal']]=_0x3ba24c;}else{_0x30ab94[_0x1cd3('0x13c0')]=_[_0x1cd3('0x13c1')](moment()[_0x1cd3('0x130')]('x'));}});if(_0x1d11cf['query'][_0x1cd3('0x13c3')]){_[_0x1cd3('0x383')](_0x1d11cf[_0x1cd3('0x13bf')],function(_0x88adc6){return _0x88adc6[_0x1cd3('0x13c2')]!==_0x1d11cf[_0x1cd3('0x3d4')][_0x1cd3('0x13c3')];});}if(_0x1d11cf['query'][_0x1cd3('0x13c4')]){_['remove'](_0x1d11cf['filteredAgents'],function(_0x81a972){return _0x81a972[_0x1cd3('0x13c5')]!==_0x1d11cf[_0x1cd3('0x3d4')][_0x1cd3('0x13c4')];});}if(_0x1d11cf['query']['filter']){_[_0x1cd3('0x383')](_0x1d11cf[_0x1cd3('0x13bf')],function(_0x301b9a){return _0x301b9a['fullname'][_0x1cd3('0x433')]()[_0x1cd3('0x45e')](_0x1d11cf['query'][_0x1cd3('0x395')]['toLowerCase']())<0x0;});}_0x1d11cf[_0x1cd3('0x13bf')]=_0x48c1cb(_0x1d11cf[_0x1cd3('0x13bf')]);var _0x49e114=(_0x1d11cf['query']['page']-0x1)*_0x1d11cf[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];_0x1d11cf[_0x1cd3('0x13ac')]=_[_0x1cd3('0x16c2')](_0x1d11cf[_0x1cd3('0x13bf')],_0x49e114)[_0x1cd3('0x9a2')](0x0,_0x1d11cf[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')]);for(var _0x2bc713=0x0;_0x2bc713<_0x1d11cf[_0x1cd3('0x13ac')]['length'];_0x2bc713+=0x1){_0x1d11cf['order'][_0x1cd3('0x7b')](_0x1d11cf['paginatedAgents'][_0x2bc713]['id']);}_0x2320de[_0x1cd3('0x58')]();_0x1d11cf[_0x1cd3('0x5de')]=!![];}function _0x55ad67(_0x55a836){if(_0x1d11cf[_0x1cd3('0x1228')][_0x55a836['id']]){_[_0x1cd3('0xf2')](_0x1d11cf['agents'][_0x55a836['id']],_[_0x1cd3('0x5e8')](_[_0x1cd3('0x3e3')](_0x55a836,_0xcf7874),_0x1c8448));_[_0x1cd3('0xf2')](_0x1d11cf['rpcAgents'][_0x55a836['id']],_[_0x1cd3('0x5e8')](_['omit'](_0x55a836,_0xcf7874),_0x1c8448));_0x386738(_0x1d11cf['agents'][_0x55a836['id']]);}}function _0xcd92ad(_0x193bbd){if(_0x1d11cf['agents'][_0x193bbd['id']]){_[_0x1cd3('0xf2')](_0x1d11cf[_0x1cd3('0x1228')][_0x193bbd['id']],_['pick'](_0x193bbd,_0x1c8448));_['merge'](_0x1d11cf[_0x1cd3('0x1385')][_0x193bbd['id']],_[_0x1cd3('0x5e8')](_0x193bbd,_0x1c8448));if(_0x193bbd[_0x1cd3('0x1389')]){_0x1d11cf[_0x1cd3('0x1228')][_0x193bbd['id']][_0x1cd3('0x13c0')]=_0x193bbd[_0x1cd3('0x1389')];_0x1d11cf[_0x1cd3('0x1385')][_0x193bbd['id']][_0x1cd3('0x13c0')]=_0x193bbd[_0x1cd3('0x1389')];}_0x386738(_0x1d11cf[_0x1cd3('0x1228')][_0x193bbd['id']]);}}function _0x548bbb(_0x16d2f2){if(_0x1d11cf[_0x1cd3('0x1228')][_0x1d11cf['agentInternal'][_0x16d2f2[_0x1cd3('0x13c6')]]]){_[_0x1cd3('0xf2')](_0x1d11cf[_0x1cd3('0x1228')][_0x1d11cf[_0x1cd3('0x13ae')][_0x16d2f2[_0x1cd3('0x13c6')]]],_[_0x1cd3('0x5e8')](_0x16d2f2,['queue',_0x1cd3('0x13a4')]));_[_0x1cd3('0xf2')](_0x1d11cf['rpcAgents'][_0x1d11cf[_0x1cd3('0x13ae')][_0x16d2f2['destaccountcode']]],_[_0x1cd3('0x5e8')](_0x16d2f2,['queue',_0x1cd3('0x13a4')]));}}function _0x43ef04(_0x3c3ab9){if(_0x1d11cf[_0x1cd3('0x1228')][_0x1d11cf[_0x1cd3('0x13ae')][_0x3c3ab9['destaccountcode']]]){_0x1d11cf[_0x1cd3('0x1228')][_0x1d11cf[_0x1cd3('0x13ae')][_0x3c3ab9[_0x1cd3('0x13c6')]]]=_[_0x1cd3('0x3e3')](_0x1d11cf[_0x1cd3('0x1228')][_0x1d11cf[_0x1cd3('0x13ae')][_0x3c3ab9[_0x1cd3('0x13c6')]]],[_0x1cd3('0x1220'),_0x1cd3('0x13a4')]);_0x1d11cf[_0x1cd3('0x1385')][_0x1d11cf[_0x1cd3('0x13ae')][_0x3c3ab9[_0x1cd3('0x13c6')]]]=_[_0x1cd3('0x3e3')](_0x1d11cf[_0x1cd3('0x1385')][_0x1d11cf[_0x1cd3('0x13ae')][_0x3c3ab9['destaccountcode']]],[_0x1cd3('0x1220'),_0x1cd3('0x13a4')]);}}function _0x44b270(_0x5279b7,_0x58705f){return _0x202fbc[_0x1cd3('0x368')][_0x1cd3('0x376')]({'id':_0x5279b7['id'],'device':'realtime','agent_id':_0x5279b7['id'],'agent_name':_0x5279b7[_0x1cd3('0x98')]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0xa05fed[_0x1cd3('0x473')]({'title':_0x1cd3('0x13c7'),'msg':_0x5279b7[_0x1cd3('0xd3')]+_0x1cd3('0x13c8')});if(_0x1d11cf[_0x1cd3('0x1228')][_0x5279b7['id']]){_0x1d11cf[_0x1cd3('0x1228')][_0x5279b7['id']][_0x1cd3('0x1387')]=![];}if(_0x1d11cf[_0x1cd3('0x1385')][_0x5279b7['id']]){_0x1d11cf['rpcAgents'][_0x5279b7['id']][_0x1cd3('0x1387')]=![];}_0x12c56a();})[_0x1cd3('0xfd')](function(_0x89877a){_0xa05fed[_0x1cd3('0x434')]({'title':_0x89877a[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x89877a[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x89877a[_0x1cd3('0xd35')]:_0x1cd3('0x13c9'),'msg':_0x89877a['data']?JSON[_0x1cd3('0x438')](_0x89877a[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x89877a[_0x1cd3('0x43b')]()});});}function _0x45d431(_0x302803,_0x107069){return _0x202fbc[_0x1cd3('0x368')]['pause']({'id':_0x302803['id'],'type':_0x107069})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x419f7e){if(_0x1d11cf[_0x1cd3('0x1228')][_0x302803['id']]){_['merge'](_0x1d11cf['agents'][_0x302803['id']],_['pick'](_0x419f7e,_0x1c8448));}if(_0x1d11cf[_0x1cd3('0x1385')][_0x302803['id']]){_['merge'](_0x1d11cf[_0x1cd3('0x1385')][_0x302803['id']],_[_0x1cd3('0x5e8')](_0x419f7e,_0x1c8448));}_0x386738(_0x1d11cf[_0x1cd3('0x1228')][_0x302803['id']]);})[_0x1cd3('0xfd')](function(_0x43aaa5){_0xa05fed[_0x1cd3('0x434')]({'title':_0x43aaa5[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x43aaa5[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x43aaa5[_0x1cd3('0xd35')]:_0x1cd3('0x13c9'),'msg':_0x43aaa5[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x43aaa5[_0x1cd3('0x439')]['message']):_0x43aaa5[_0x1cd3('0x43b')]()});});}function _0x18a12a(_0x39eb42){return _0x202fbc['user'][_0x1cd3('0x13ed')]({'id':_0x39eb42['id']})[_0x1cd3('0x81')]['then'](function(_0x5c62b4){if(_0x1d11cf[_0x1cd3('0x1228')][_0x39eb42['id']]){_[_0x1cd3('0xf2')](_0x1d11cf[_0x1cd3('0x1228')][_0x39eb42['id']],_['pick'](_0x5c62b4,_0x1c8448));}if(_0x1d11cf[_0x1cd3('0x1385')][_0x39eb42['id']]){_[_0x1cd3('0xf2')](_0x1d11cf[_0x1cd3('0x1385')][_0x39eb42['id']],_[_0x1cd3('0x5e8')](_0x5c62b4,_0x1c8448));}_0x386738(_0x1d11cf[_0x1cd3('0x1228')][_0x39eb42['id']]);})[_0x1cd3('0xfd')](function(_0x1c0415){_0xa05fed['error']({'title':_0x1c0415[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x1c0415[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x1c0415[_0x1cd3('0xd35')]:_0x1cd3('0x13c9'),'msg':_0x1c0415[_0x1cd3('0x439')]?JSON['stringify'](_0x1c0415[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x1c0415['toString']()});});}function _0x30a0dd(_0x3be3f1){_0x21b49f[_0x1cd3('0x37e')](_0x21b49f[_0x1cd3('0x11d0')]()[_0x1cd3('0x13ca')](!![])[_0x1cd3('0x486')]('Legend')[_0x1cd3('0xd60')]('<div>TODO\x20legend\x20status\x20+\x20state</div>')['ok']('Ok')['targetEvent'](_0x3be3f1));}function _0x339c45(_0x505bdd,_0x3d1300){_0x21b49f[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x198f'),'controllerAs':'vm','templateUrl':_0x1cd3('0x13cc'),'parent':angular[_0x1cd3('0x37f')](_0x4c1b37[_0x1cd3('0x380')]),'targetEvent':_0x3d1300,'clickOutsideToClose':!![],'locals':{'agent':_0x505bdd,'agents':[],'channel':'voice','direction':_0x1cd3('0xa4'),'crudPermissions':_0x1d11cf[_0x1cd3('0xd27')]}});}function _0x12f56a(_0x23043f){return _0x23043f==='pause'||_0x23043f==='*pause';}function _0x5ce9ea(_0x3b972b){return _0x3b972b===_0x1cd3('0x63e');}function _0x54e588(_0x307371){return _0x307371===_0x1cd3('0x13cd');}function _0x454f85(_0x1c10f0){return _0x1c10f0===_0x1cd3('0x13cf')||_0x1c10f0==='unknown'||_0x1c10f0===_0x1cd3('0x13ce')||_0x1c10f0===_0x1cd3('0x5cd')||_[_0x1cd3('0x472')](_0x1c10f0);}function _0xaf1901(_0x3ddb97,_0x41e794){if(_0x41e794===_0x1cd3('0x121')){if(_0x3ddb97[_0x41e794+'Status']!=='idle'){return _0x3ddb97[_0x41e794+_0x1cd3('0x131b')];}if(_0x3ddb97[_0x41e794+_0x1cd3('0x13d0')]){_0x3ddb97[_0x41e794+_0x1cd3('0x131b')]=_0x1cd3('0x63e');return'pause';}return _0x1cd3('0x13cf');}else{if(_0x3ddb97[_0x41e794+_0x1cd3('0x13d0')]){_0x3ddb97[_0x41e794+_0x1cd3('0x131b')]=_0x1cd3('0x63e');return _0x1cd3('0x63e');}return _0x3ddb97[_0x41e794+_0x1cd3('0x131b')];}}function _0x386738(_0x3a87d1){var _0x2a9743=_0x1cd3('0x1990');if(_[_0x1cd3('0x920')]([_0xaf1901(_0x3a87d1,_0x1cd3('0x121')),_0xaf1901(_0x3a87d1,'chat'),_0xaf1901(_0x3a87d1,_0x1cd3('0x1d2')),_0xaf1901(_0x3a87d1,_0x1cd3('0x22e')),_0xaf1901(_0x3a87d1,'sms'),_0xaf1901(_0x3a87d1,_0x1cd3('0x34a')),_0xaf1901(_0x3a87d1,_0x1cd3('0x154'))],_0x12f56a)){_0x2a9743=_0x1cd3('0x63e');}else if(_[_0x1cd3('0x38d')]([_0xaf1901(_0x3a87d1,'voice'),_0xaf1901(_0x3a87d1,_0x1cd3('0xbf')),_0xaf1901(_0x3a87d1,_0x1cd3('0x1d2')),_0xaf1901(_0x3a87d1,_0x1cd3('0x22e')),_0xaf1901(_0x3a87d1,_0x1cd3('0x26b')),_0xaf1901(_0x3a87d1,_0x1cd3('0x34a')),_0xaf1901(_0x3a87d1,_0x1cd3('0x154'))],_0x12f56a)){_0x2a9743=_0x1cd3('0x13cd');}else if(_[_0x1cd3('0x920')]([_0xaf1901(_0x3a87d1,'voice'),_0xaf1901(_0x3a87d1,_0x1cd3('0xbf')),_0xaf1901(_0x3a87d1,_0x1cd3('0x1d2')),_0xaf1901(_0x3a87d1,'openchannel'),_0xaf1901(_0x3a87d1,'sms'),_0xaf1901(_0x3a87d1,'whatsapp'),_0xaf1901(_0x3a87d1,_0x1cd3('0x154'))],_0x454f85)){_0x2a9743=_0x1cd3('0x13cf');}else{_0x2a9743='busy';}if(_0x3a87d1[_0x1cd3('0x13c2')]!==_0x2a9743){_0x3a87d1[_0x1cd3('0x13c2')]=_0x2a9743;if(_0x3a87d1[_0x1cd3('0xe08')]){_0x3a87d1[_0x1cd3('0xe08')]=![];_0x3a87d1[_0x1cd3('0x13c0')]=_0x12f56a(_0x2a9743)?_[_0x1cd3('0x13c1')](moment(_0x3a87d1[_0x1cd3('0x1389')])[_0x1cd3('0x130')]('x')):_[_0x1cd3('0x13d1')]([_0x3a87d1[_0x1cd3('0x13a3')],_0x3a87d1[_0x1cd3('0x139f')],_0x3a87d1[_0x1cd3('0x13a1')],_0x3a87d1[_0x1cd3('0x13a2')],_0x3a87d1[_0x1cd3('0x13d2')],_0x3a87d1[_0x1cd3('0x13a0')],_0x3a87d1[_0x1cd3('0x13d3')]]);}else{_0x3a87d1[_0x1cd3('0x13c0')]=_[_0x1cd3('0x13c1')](moment()[_0x1cd3('0x130')]('x'));}}}function _0x48c1cb(_0x54d206){var _0x28c835=_['startsWith'](_0x1d11cf[_0x1cd3('0x3d4')][_0x1cd3('0x13ad')],'-')?_0x1cd3('0x13d5'):_0x1cd3('0x13d6');return _[_0x1cd3('0xe31')](_0x54d206,[_0x1d11cf['query'][_0x1cd3('0x13ad')]['replace']('-','')],[_0x28c835]);}function _0x511c1d(){if(_0xe7844){_0xe366cb[_0x1cd3('0x4d8')](_0xe7844);_0xe7844=null;}}function _0x5498e6(_0x5e7424,_0x1bf697){return _0x202fbc['user'][_0x1cd3('0x378')]({'id':_0x5e7424['id']},{'screenrecording':_0x1bf697})[_0x1cd3('0x81')][_0x1cd3('0xfd')](function(_0x22d871){_0xa05fed[_0x1cd3('0x434')]({'title':_0x22d871['status']?_0x1cd3('0x435')+_0x22d871[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x22d871[_0x1cd3('0xd35')]:_0x1cd3('0x13d7'),'msg':_0x22d871['data']?JSON[_0x1cd3('0x438')](_0x22d871[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x22d871[_0x1cd3('0x43b')]()});});}_0x529935[_0x1cd3('0x4d3')](_0x1cd3('0x523'),function(){_0x1c4b25[_0x1cd3('0x6a3')]('user:save');_0x1c4b25[_0x1cd3('0x6a3')]('user:update');_0x1c4b25[_0x1cd3('0x6a3')](_0x1cd3('0x13bc'));_0x1c4b25[_0x1cd3('0x6a3')](_0x1cd3('0x13be'));_0x511c1d();});}}());(function(){'use strict';_0x43e2e2[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x3e7'),'api',_0x1cd3('0xd18'),_0x1cd3('0x2648'),_0x1cd3('0x1999')];angular[_0x1cd3('0x0')]('app.voice')[_0x1cd3('0x39b')](_0x1cd3('0x2649'),_0x43e2e2);function _0x43e2e2(_0x338923,_0x16a2bd,_0x48afb3,_0x5b2462,_0x49e59a,_0x1e9c4b){var _0x5c1413=this;_0x5c1413[_0x1cd3('0x597')]=_0x49e59a||{'rows':[],'count':0x0};_0x5c1413['query']={'limit':0xa,'page':0x1};_0x5c1413[_0x1cd3('0x264a')]=_0x1e9c4b[_0x1cd3('0x264b')];_0x5c1413[_0x1cd3('0x13b6')]=_0x28dc79;_0x5c1413[_0x1cd3('0x1ea3')]=_0x177caa;_0x5b2462['on']('voice_outbound_channel:save',_0x5c1413[_0x1cd3('0x13b6')]);_0x5b2462['on']('voice_outbound_channel:remove',_0x5c1413[_0x1cd3('0x1ea3')]);function _0x28dc79(_0x356421){var _0x44ca0d=_['find'](_0x5c1413[_0x1cd3('0x597')][_0x1cd3('0xf6')],{'channel':_0x356421[_0x1cd3('0x157f')]});_0x356421[_0x1cd3('0x264c')]=_0x356421[_0x1cd3('0x264d')]?'up':_0x1cd3('0x60c');if(_0x44ca0d){_[_0x1cd3('0xf2')](_0x44ca0d,_0x356421);}else if(_0x356421[_0x1cd3('0x157f')]){_0x5c1413[_0x1cd3('0x597')][_0x1cd3('0xf6')][_0x1cd3('0x7b')](_0x356421);}}function _0x177caa(_0x44ca30){var _0x317b09=_['findIndex'](_0x5c1413['calls']['rows'],{'channel':_0x44ca30[_0x1cd3('0x157f')]});if(_0x317b09>=0x0){_0x5c1413['calls'][_0x1cd3('0xf6')][_0x317b09]['status']=_0x1cd3('0x2542');}_0x16a2bd(function(){_0x5c1413[_0x1cd3('0x597')]['rows']['splice'](_0x317b09,0x1);},0x1388);}_0x338923[_0x1cd3('0x4d3')](_0x1cd3('0x523'),function(){_0x5b2462[_0x1cd3('0x6a3')](_0x1cd3('0x264e'));_0x5b2462[_0x1cd3('0x6a3')](_0x1cd3('0x157e'));});}}());(function(){'use strict';_0x1f3a06[_0x1cd3('0xc')]=[_0x1cd3('0x460'),'$timeout',_0x1cd3('0x3c5'),_0x1cd3('0x1228'),_0x1cd3('0x1155'),_0x1cd3('0x16a7'),_0x1cd3('0x370'),_0x1cd3('0xd18'),_0x1cd3('0x1999'),_0x1cd3('0x461'),_0x1cd3('0x38a'),_0x1cd3('0x390'),_0x1cd3('0x56')];angular[_0x1cd3('0x0')](_0x1cd3('0x2d'))[_0x1cd3('0x39b')](_0x1cd3('0x264f'),_0x1f3a06);function _0x1f3a06(_0xf75dc3,_0x3ab805,_0x4d2f3b,_0x800af,_0x594bd0,_0x5030fe,_0x2b4b13,_0x20921d,_0x1ba050,_0x569398,_0x20c3e2,_0x11b2fb,_0x207f76){var _0x1899b2=this;_0x1899b2[_0x1cd3('0x3ca')]=_0x207f76[_0x1cd3('0x5d')]();_0x1899b2[_0x1cd3('0x1228')]=_0x800af||{'count':0x0,'rows':[]};_0x1899b2['queues']=_0x594bd0?_['keyBy'](_0x594bd0['rows']?_0x594bd0[_0x1cd3('0xf6')]:[],_0x1cd3('0x98')):{};_0x1899b2['rpcVoiceQueuesChannelsTmp']=_0x5030fe?_[_0x1cd3('0xe2d')](_0x5030fe['rows']?_[_0x1cd3('0x395')](_0x5030fe[_0x1cd3('0xf6')],{'type':'inbound'}):[],_0x1cd3('0x6b4')):{};_0x1899b2[_0x1cd3('0x16a7')]={};_0x1899b2[_0x1cd3('0x38a')]=_0x20c3e2;_0x1899b2[_0x1cd3('0x390')]=_0x11b2fb&&_0x11b2fb[_0x1cd3('0x466')]==0x1?_0x11b2fb['rows'][0x0]:null;_0x1899b2[_0x1cd3('0xd27')]=_0x207f76[_0x1cd3('0xd44')](_0x1899b2[_0x1cd3('0x390')]?_0x1899b2[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);_0x1899b2[_0x1cd3('0x1699')]={'limit':0xa,'page':0x1};_0x1899b2[_0x1cd3('0x169a')]=_0x58589e;_0x1899b2[_0x1cd3('0x699')]=_0x5ec2a9;_0x1899b2[_0x1cd3('0x13b6')]=_0x3d769a;_0x1899b2[_0x1cd3('0x1ea3')]=_0x4dc0f7;_0x1899b2['hangup']=_0x3ef5e1;_0x1899b2[_0x1cd3('0x2650')]=_0x532c2e;_0x1899b2[_0x1cd3('0x1ea4')]=_0x4ac41b;_0x20921d['on']('voice_queue_channel:save',_0x1899b2[_0x1cd3('0x13b6')]);_0x20921d['on']('voice_queue_channel:remove',_0x1899b2['onRemove']);function _0x58589e(_0x1bc2cf){return _[_0x1cd3('0x113e')](_0x1bc2cf);}function _0x5ec2a9(){_[_0x1cd3('0x13e5')](_0x1899b2[_0x1cd3('0x1ea2')],function(_0x4d182b,_0x15dc4e){if(_[_0x1cd3('0x442')](_0x1899b2[_0x1cd3('0x1155')],{'name':_0x4d182b[_0x1cd3('0x98')]})){_0x1899b2['rpcVoiceQueuesChannels'][_0x15dc4e]=_0x4d182b;}});}function _0x3d769a(_0x4bc236){if(_0x4bc236['type']===_0x1cd3('0xa4')){if(_[_0x1cd3('0x442')](_0x1899b2[_0x1cd3('0x1155')],{'name':_0x4bc236['name']})){_0x1899b2[_0x1cd3('0x16a7')][_0x4bc236[_0x1cd3('0x6b4')]]=_0x4bc236;}}}function _0x4dc0f7(_0x23a524){if(_0x1899b2[_0x1cd3('0x16a7')][_0x23a524['uniqueid']]){delete _0x1899b2['rpcVoiceQueuesChannels'][_0x23a524[_0x1cd3('0x6b4')]];}}function _0x3ef5e1(_0x1f52f7){return _0x2b4b13['rpc'][_0x1cd3('0x1ea5')]({'uniqueid':_0x1f52f7})[_0x1cd3('0x81')]['then'](function(_0x2348d9){_0x569398[_0x1cd3('0x473')]({'title':_0x1cd3('0x1ea6')+_0x1f52f7+_0x1cd3('0x1ea7'),'msg':_0x2348d9['message']||''});})[_0x1cd3('0xfd')](function(_0x190870){_0x569398[_0x1cd3('0x434')]({'title':_0x190870[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x190870[_0x1cd3('0xd35')],'msg':JSON['stringify'](_0x190870[_0x1cd3('0x439')])||_0x190870[_0x1cd3('0x43a')][_0x1cd3('0x3de')]('\x20')});});}function _0x532c2e(_0x2b6888,_0x5be12a,_0x23cbcd){return _0x2b4b13[_0x1cd3('0x633')][_0x1cd3('0x1eaa')]({'uniqueid':_0x2b6888,'exten':_0x5be12a,'context':_0x23cbcd})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x374b7a){_0x569398[_0x1cd3('0x473')]({'title':_0x1cd3('0x1ea6')+_0x2b6888+_0x1cd3('0x1ea8'),'msg':_0x374b7a[_0x1cd3('0x43a')]||''});})[_0x1cd3('0xfd')](function(_0x45587b){_0x569398[_0x1cd3('0x434')]({'title':_0x45587b['status']+_0x1cd3('0x436')+_0x45587b[_0x1cd3('0xd35')],'msg':JSON[_0x1cd3('0x438')](_0x45587b[_0x1cd3('0x439')])||_0x45587b[_0x1cd3('0x43a')][_0x1cd3('0x3de')]('\x20')});});}function _0x4ac41b(_0x1b4634,_0x53e290){var _0xb1027=_0x4d2f3b[_0x1cd3('0x671')]()[_0x1cd3('0x486')](_0x1cd3('0x1ea9'))[_0x1cd3('0x499')](_0x1cd3('0x14e4'))[_0x1cd3('0xd63')](_0x1b4634)['ok']('Ok')[_0x1cd3('0x4d8')](_0x1cd3('0x674'));return _0x4d2f3b[_0x1cd3('0x37e')](_0xb1027)[_0x1cd3('0x77')](function(_0x1938fa){return _0x2b4b13[_0x1cd3('0x633')][_0x1cd3('0x1eaa')]({'uniqueid':_0x53e290,'exten':_0x1938fa})[_0x1cd3('0x81')];})['then'](function(_0x546114){_0x569398[_0x1cd3('0x473')]({'title':_0x1cd3('0x1ea6')+_0x53e290+'\x20properly\x20redirect!','msg':_0x546114[_0x1cd3('0x43a')]||''});})[_0x1cd3('0xfd')](function(_0x27f5f){_0x569398[_0x1cd3('0x434')]({'title':_0x27f5f[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x27f5f[_0x1cd3('0xd35')],'msg':JSON[_0x1cd3('0x438')](_0x27f5f['data'])||_0x27f5f[_0x1cd3('0x43a')]['join']('\x20')});});}_0xf75dc3['$on'](_0x1cd3('0x523'),function(){_0x20921d[_0x1cd3('0x6a3')](_0x1cd3('0x16a0'));_0x20921d[_0x1cd3('0x6a3')](_0x1cd3('0x15ce'));});}}());(function(){'use strict';_0x5f33ee[_0x1cd3('0xc')]=['$scope','$timeout','$interval','queues',_0x1cd3('0x13d8'),'api','socket',_0x1cd3('0x38a'),_0x1cd3('0x390'),_0x1cd3('0x56')];angular[_0x1cd3('0x0')](_0x1cd3('0x2d'))[_0x1cd3('0x39b')](_0x1cd3('0x2651'),_0x5f33ee);function _0x5f33ee(_0x496504,_0x1ebbee,_0x33de12,_0x1965e4,_0x582d08,_0x4c2476,_0x35c40e,_0x1a292d,_0xa4e6a1,_0x33f2a0){var _0xcc164e=this;var _0xd1cf8a=[_0x1cd3('0x10e'),_0x1cd3('0x110'),_0x1cd3('0x111'),'abandoned','sumHoldTime','sumDuration',_0x1cd3('0x18b4')];_0xcc164e[_0x1cd3('0x466')]=_0x1965e4[_0x1cd3('0x466')];_0xcc164e[_0x1cd3('0x1155')]=_0x1965e4?_[_0x1cd3('0xe2d')](_0x1965e4[_0x1cd3('0xf6')]?_0x1965e4['rows']:[],'id'):{};_0xcc164e[_0x1cd3('0x13d8')]=_0x582d08?_[_0x1cd3('0xe2d')](_0x582d08[_0x1cd3('0xf6')]?_0x582d08['rows']:[],'id'):{};_0xcc164e[_0x1cd3('0x38a')]=_0x1a292d;_0xcc164e['userProfileSection']=_0xa4e6a1&&_0xa4e6a1[_0x1cd3('0x466')]==0x1?_0xa4e6a1[_0x1cd3('0xf6')][0x0]:null;_0xcc164e['crudPermissions']=_0x33f2a0['parseCrudPermissions'](_0xcc164e[_0x1cd3('0x390')]?_0xcc164e[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);if(_0x33f2a0[_0x1cd3('0x57')](_0x1cd3('0x5f'))){_0xcc164e[_0x1cd3('0x3d4')]={'type':'inbound','fields':'id,name','sort':'-updatedAt','limit':0xa,'page':0x1};}else{_0xcc164e[_0x1cd3('0x3d4')]={'id':_0x33f2a0[_0x1cd3('0x5d')]()['id'],'channel':_0x1cd3('0x121'),'type':_0x1cd3('0xa4'),'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x5b'),'limit':0xa,'page':0x1};}_0xcc164e['success']=_0x2fe93f;_0xcc164e['getQueues']=_0xc40d3f;_0xcc164e[_0x1cd3('0x13b6')]=_0x57f305;_0xcc164e[_0x1cd3('0x699')]=_0x4daba6;_0x35c40e[_0x1cd3('0x1555')](_0x1cd3('0x155e'),_0xcc164e['onSave']);_0xcc164e[_0x1cd3('0x77e')]=_0x33de12(function(){},0x3e7);function _0x4daba6(){_[_0x1cd3('0x13e5')](_0xcc164e[_0x1cd3('0x1155')],function(_0x1b6898,_0x33922b){if(_0xcc164e[_0x1cd3('0x13d8')][_0x33922b]){_['merge'](_0x1b6898,_['pick'](_0xcc164e['rpcQueues'][_0x33922b],_0xd1cf8a));}});}function _0x57f305(_0x1c0dee){if(_0xcc164e[_0x1cd3('0x1155')][_0x1c0dee['id']]){_[_0x1cd3('0xf2')](_0xcc164e[_0x1cd3('0x1155')][_0x1c0dee['id']],_[_0x1cd3('0x5e8')](_0x1c0dee,_0xd1cf8a));}}var _0x403472=!![];var _0x59813b=0x1;_0x496504['$watch'](_0x1cd3('0xd56'),function(_0x2127a5,_0x2246e6){if(_0x403472){_0x1ebbee(function(){_0x403472=![];});}else{if(!_0x2246e6){_0x59813b=_0xcc164e['query'][_0x1cd3('0x8fd')];}if(_0x2127a5!==_0x2246e6){_0xcc164e[_0x1cd3('0x3d4')]['page']=0x1;}if(!_0x2127a5){_0xcc164e['query'][_0x1cd3('0x8fd')]=_0x59813b;}_0xcc164e[_0x1cd3('0x13df')]();}});function _0x2fe93f(_0x22a394){_0xcc164e[_0x1cd3('0x466')]=_0x22a394['count'];_0xcc164e['queues']=_0x22a394?_['keyBy'](_0x22a394[_0x1cd3('0xf6')]?_0x22a394[_0x1cd3('0xf6')]:[],'id'):{};_0x4daba6();}function _0xc40d3f(){_0xcc164e['query'][_0x1cd3('0xd57')]=(_0xcc164e[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0xcc164e['query'][_0x1cd3('0x8fe')];if(_0x33f2a0[_0x1cd3('0x57')]('admin')){_0xcc164e[_0x1cd3('0x539')]=_0x4c2476['voiceQueue'][_0x1cd3('0x361')](_0xcc164e[_0x1cd3('0x3d4')],_0x2fe93f)['$promise'];}else{_0xcc164e[_0x1cd3('0x3d4')]['id']=_0xcc164e['userProfile']['id'];_0xcc164e['query'][_0x1cd3('0xd58')]=_0x1cd3('0xa5');_0xcc164e[_0x1cd3('0x539')]=_0x4c2476[_0x1cd3('0x38a')][_0x1cd3('0xd59')](_0xcc164e[_0x1cd3('0x3d4')],_0x2fe93f)['$promise'];}}_0x496504[_0x1cd3('0x4d3')](_0x1cd3('0x523'),function(){_0x35c40e[_0x1cd3('0x6a3')](_0x1cd3('0x155e'));_0xcc164e[_0x1cd3('0x77e')]&&_0x33de12['cancel'](_0xcc164e[_0x1cd3('0x77e')]);});}}());(function(){'use strict';_0x1ed52a[_0x1cd3('0xc')]=[_0x1cd3('0x460'),'$timeout',_0x1cd3('0x3c5'),'$q','$document',_0x1cd3('0x585'),_0x1cd3('0x1155'),_0x1cd3('0x13d8'),_0x1cd3('0x370'),'socket',_0x1cd3('0x461'),_0x1cd3('0x38a'),_0x1cd3('0x390'),_0x1cd3('0x56')];angular[_0x1cd3('0x0')](_0x1cd3('0x2d'))[_0x1cd3('0x39b')](_0x1cd3('0x2652'),_0x1ed52a);function _0x1ed52a(_0x296f25,_0x12be73,_0x4b819a,_0x2a1739,_0x548087,_0x4e7d94,_0x4e26c0,_0xbb2b89,_0x372c12,_0x13d699,_0x59c676,_0x24826d,_0x481d44,_0x4308b8){var _0x732995=this;var _0x428fcc=[_0x1cd3('0x13d9'),_0x1cd3('0x13da'),_0x1cd3('0x10d'),_0x1cd3('0x10f'),_0x1cd3('0x13db'),'originated',_0x1cd3('0x43a'),_0x1cd3('0x1693'),_0x1cd3('0x13dd'),_0x1cd3('0x13de'),'paused'];_0x732995[_0x1cd3('0x3ca')]=_0x4308b8['getCurrentUser']();_0x732995[_0x1cd3('0x466')]=_0x4e26c0[_0x1cd3('0x466')]?_0x4e26c0['count']:0x0;_0x732995[_0x1cd3('0x1155')]=_0x4e26c0?_[_0x1cd3('0xe2d')](_0x4e26c0[_0x1cd3('0xf6')]?_0x4e26c0[_0x1cd3('0xf6')]:[],'id'):{};_0x732995[_0x1cd3('0x13d8')]=_0xbb2b89?_[_0x1cd3('0xe2d')](_0xbb2b89[_0x1cd3('0xf6')]?_0xbb2b89['rows']:[],'id'):{};_0x732995[_0x1cd3('0x38a')]=_0x24826d;_0x732995[_0x1cd3('0x390')]=_0x481d44&&_0x481d44[_0x1cd3('0x466')]==0x1?_0x481d44[_0x1cd3('0xf6')][0x0]:null;_0x732995[_0x1cd3('0xd27')]=_0x4308b8['parseCrudPermissions'](_0x732995['userProfileSection']?_0x732995[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);if(_0x4308b8[_0x1cd3('0x57')](_0x1cd3('0x5f'))){_0x732995['query']={'type':_0x1cd3('0xa4'),'sort':_0x1cd3('0x5b'),'limit':0xa,'page':0x1};}else{_0x732995[_0x1cd3('0x3d4')]={'id':_0x732995[_0x1cd3('0x3ca')]['id'],'channel':_0x1cd3('0x121'),'type':_0x1cd3('0xa4'),'sort':'-updatedAt','limit':0xa,'page':0x1};}_0x732995['success']=_0x9a365;_0x732995[_0x1cd3('0x13df')]=_0x33410f;_0x732995[_0x1cd3('0x2653')]=_0x21621d;_0x732995[_0x1cd3('0x1992')]=_0xdb6aaa;_0x732995[_0x1cd3('0x13e0')]=_0x4acc12;_0x732995[_0x1cd3('0x13b6')]=_0x575c70;_0x732995[_0x1cd3('0x13e3')]=_0x47cb61;_0x732995[_0x1cd3('0x13e9')]=_0x37c991;_0x732995[_0x1cd3('0x13e4')]=_0x2d74bc;_0x732995[_0x1cd3('0x699')]=_0x165ed4;_0x732995[_0x1cd3('0x13ad')]=[];_[_0x1cd3('0x13e5')](_0x732995[_0x1cd3('0x1155')],function(_0x38e3f2,_0x5df6a8){_0x732995[_0x1cd3('0x13ad')][_0x1cd3('0x7b')](_0x38e3f2['id']);});_0x13d699['onWithoutApply'](_0x1cd3('0x155e'),_0x732995[_0x1cd3('0x13b6')]);_0x732995[_0x1cd3('0x77e')]=_0x4e7d94(function(){},0x3e7);_0x13d699['on'](_0x1cd3('0x13ba'),_0x732995[_0x1cd3('0x13e3')]);_0x13d699['on'](_0x1cd3('0x16a1'),_0x732995[_0x1cd3('0x13e4')]);_0x13d699['on'](_0x1cd3('0x13e8'),_0x732995[_0x1cd3('0x13e9')]);function _0x165ed4(){var _0x40f0f5=[];_['forIn'](_0x732995[_0x1cd3('0x1155')],function(_0x51977,_0x443e2a){_0x51977[_0x1cd3('0x13ea')]=0x0;_0x51977[_0x1cd3('0x13eb')]=0x0;_0x732995['queues'][_0x443e2a]['agents']={};_0x40f0f5[_0x1cd3('0x7b')](_0x372c12['voiceQueue']['getMembers']({'id':_0x443e2a})[_0x1cd3('0x81')]);if(_0x732995[_0x1cd3('0x13d8')][_0x443e2a]){_['merge'](_0x51977,_[_0x1cd3('0x5e8')](_0x732995[_0x1cd3('0x13d8')][_0x443e2a],_0x428fcc));}});return _0x2a1739[_0x1cd3('0x7e')](_0x40f0f5)[_0x1cd3('0x77')](function(_0x272847){for(var _0x499689=0x0;_0x499689<_0x272847[_0x1cd3('0x7a')];_0x499689+=0x1){for(var _0x552587=0x0;_0x552587<_0x272847[_0x499689][_0x1cd3('0xf6')][_0x1cd3('0x7a')];_0x552587++){if(_0x272847[_0x499689][_0x1cd3('0xf6')][_0x552587]['paused']){_0x732995[_0x1cd3('0x1155')][_0x272847[_0x499689][_0x1cd3('0xf6')][_0x552587][_0x1cd3('0x1798')]][_0x1cd3('0x13ea')]++;}_0x732995[_0x1cd3('0x1155')][_0x272847[_0x499689][_0x1cd3('0xf6')][_0x552587]['VoiceQueueId']][_0x1cd3('0x13eb')]++;_0x732995['queues'][_0x272847[_0x499689][_0x1cd3('0xf6')][_0x552587][_0x1cd3('0x1798')]]['agents'][_0x272847[_0x499689][_0x1cd3('0xf6')][_0x552587][_0x1cd3('0x1226')]]=_0x272847[_0x499689][_0x1cd3('0xf6')][_0x552587][_0x1cd3('0x1798')];}}})[_0x1cd3('0xfd')](function(_0x4ba67b){console['error'](_0x4ba67b);});}function _0x575c70(_0x6c7769){if(_0x732995[_0x1cd3('0x1155')][_0x6c7769['id']]){_[_0x1cd3('0xf2')](_0x732995[_0x1cd3('0x1155')][_0x6c7769['id']],_[_0x1cd3('0x5e8')](_0x6c7769,_0x428fcc));}}function _0x47cb61(_0x4878f3){console[_0x1cd3('0x7d')]('onPause',_0x4878f3);if(_0x4878f3[_0x1cd3('0x604')]){_[_0x1cd3('0x13e5')](_0x732995[_0x1cd3('0x1155')],function(_0x14400d,_0xad0a33){if(_0x14400d[_0x1cd3('0x1228')][_0x4878f3['id']]){_0x14400d['paused']+=0x1;console['log'](_0x1cd3('0x63e'));}});}else if(!_0x4878f3[_0x1cd3('0x604')]){_[_0x1cd3('0x13e5')](_0x732995[_0x1cd3('0x1155')],function(_0x2c37cf,_0x8a12bf){if(_0x2c37cf[_0x1cd3('0x1228')][_0x4878f3['id']]){if(_0x2c37cf['paused']>0x0){_0x2c37cf[_0x1cd3('0x13ea')]-=0x1;console[_0x1cd3('0x7d')](_0x1cd3('0x13ed'));}}});}}function _0x37c991(_0x2f3f35){console[_0x1cd3('0x7d')](_0x1cd3('0x13ee'),_0x2f3f35);if(_0x732995[_0x1cd3('0x1155')][_0x2f3f35[_0x1cd3('0x1798')]]){_0x732995[_0x1cd3('0x1155')][_0x2f3f35[_0x1cd3('0x1798')]]['loggedInDb']+=0x1;_0x732995['queues'][_0x2f3f35[_0x1cd3('0x1798')]][_0x1cd3('0x1228')][_0x2f3f35[_0x1cd3('0x1226')]]=_0x2f3f35[_0x1cd3('0x1798')];}}function _0x2d74bc(_0x1c49fb){console[_0x1cd3('0x7d')]('onLogout',_0x1c49fb);if(_0x732995[_0x1cd3('0x1155')][_0x1c49fb[_0x1cd3('0x1798')]]&&_0x732995[_0x1cd3('0x1155')][_0x1c49fb['VoiceQueueId']][_0x1cd3('0x13eb')]>0x0){_0x732995[_0x1cd3('0x1155')][_0x1c49fb['VoiceQueueId']][_0x1cd3('0x13eb')]-=0x1;delete _0x732995['queues'][_0x1c49fb[_0x1cd3('0x1798')]][_0x1cd3('0x1228')][_0x1c49fb[_0x1cd3('0x1226')]];}}var _0x5aaa76=!![];var _0x998bc1=0x1;_0x296f25['$watch'](_0x1cd3('0xd56'),function(_0x3af7f4,_0xcceb32){if(_0x5aaa76){_0x12be73(function(){_0x5aaa76=![];});}else{if(!_0xcceb32){_0x998bc1=_0x732995['query'][_0x1cd3('0x8fd')];}if(_0x3af7f4!==_0xcceb32){_0x732995[_0x1cd3('0x3d4')]['page']=0x1;}if(!_0x3af7f4){_0x732995[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0x998bc1;}_0x732995[_0x1cd3('0x13df')]();}});function _0x9a365(_0x4c3196){_0x732995[_0x1cd3('0x466')]=_0x4c3196[_0x1cd3('0x466')];_0x732995[_0x1cd3('0x1155')]=_0x4c3196?_[_0x1cd3('0xe2d')](_0x4c3196[_0x1cd3('0xf6')]?_0x4c3196[_0x1cd3('0xf6')]:[],'id'):{};if(_0x4c3196['rows']){_0x732995['order']=[];for(var _0x649d23=0x0;_0x649d23<_0x4c3196['rows'][_0x1cd3('0x7a')];_0x649d23++){_0x732995['order']['push'](_0x4c3196[_0x1cd3('0xf6')][_0x649d23]['id']);}}_0x165ed4();}function _0x33410f(){_0x732995[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0x732995['query'][_0x1cd3('0x8fd')]-0x1)*_0x732995[_0x1cd3('0x3d4')]['limit'];if(_0x4308b8[_0x1cd3('0x57')]('admin')){_0x732995[_0x1cd3('0x539')]=_0x372c12[_0x1cd3('0xa48')][_0x1cd3('0x361')](_0x732995[_0x1cd3('0x3d4')],_0x9a365)[_0x1cd3('0x81')];}else{_0x732995['query']['id']=_0x732995[_0x1cd3('0x38a')]['id'];_0x732995[_0x1cd3('0x3d4')][_0x1cd3('0xd58')]=_0x1cd3('0xa5');_0x732995[_0x1cd3('0x539')]=_0x372c12[_0x1cd3('0x38a')][_0x1cd3('0xd59')](_0x732995[_0x1cd3('0x3d4')],_0x9a365)['$promise'];}}function _0x21621d(_0x2b9297,_0x36a805){_0x4b819a['show']({'controller':_0x1cd3('0x2654'),'controllerAs':'vm','templateUrl':_0x1cd3('0x2655'),'parent':angular['element'](_0x548087['body']),'targetEvent':_0x2b9297,'clickOutsideToClose':!![],'locals':{'voiceQueue':_0x36a805,'voiceQueues':_[_0x1cd3('0x42d')](_0x732995[_0x1cd3('0x1155')]),'license':null,'setting':null,'crudPermissions':_0x732995[_0x1cd3('0xd27')]}});}function _0xdb6aaa(_0x403986,_0x503f17){_0x4b819a[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x2656'),'controllerAs':'vm','templateUrl':_0x1cd3('0x2657'),'parent':angular[_0x1cd3('0x37f')](_0x548087['body']),'targetEvent':_0x403986,'clickOutsideToClose':!![],'locals':{'voiceQueue':_0x503f17,'voiceQueues':_0x732995[_0x1cd3('0x1155')]?_0x732995[_0x1cd3('0x1155')][_0x1cd3('0xf6')]:[],'realtime':!![],'crudPermissions':_0x732995[_0x1cd3('0xd27')]}});}function _0x4acc12(_0x5243f2){return _0x372c12[_0x1cd3('0xa48')][_0x1cd3('0x378')](_0x5243f2)[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x59c676[_0x1cd3('0x473')]({'title':_0x1cd3('0x13ef'),'msg':_0x5243f2['name']?_0x5243f2[_0x1cd3('0x98')]+'\x20has\x20been\x20updated!':''});})[_0x1cd3('0xfd')](function(_0x288671){_0x59c676[_0x1cd3('0x434')]({'title':_0x1cd3('0x1993'),'msg':_0x288671['message']});});}_0x296f25[_0x1cd3('0x4d3')]('$destroy',function(){_0x13d699[_0x1cd3('0x6a3')]('voice_queue:save');_0x732995[_0x1cd3('0x77e')]&&_0x4e7d94['cancel'](_0x732995[_0x1cd3('0x77e')]);_0x13d699['removeAllListeners']('user:update');_0x13d699[_0x1cd3('0x6a3')](_0x1cd3('0x16a1'));_0x13d699[_0x1cd3('0x6a3')](_0x1cd3('0x13e8'));});}}());(function(){'use strict';angular[_0x1cd3('0x0')](_0x1cd3('0x1'))[_0x1cd3('0x373')](_0x1cd3('0x1999'),_0x4f5900);function _0x4f5900(){return{'status':{'registered':'green-300-fg\x20icon-checkbox-marked-circle','unregistered':'red-300-fg\x20icon-close-circle','lagged':_0x1cd3('0x13f2'),'reachable':_0x1cd3('0x13f1'),'unreachable':_0x1cd3('0x13f2'),'unknown':'grey-fg\x20icon-minus-circle'},'state':{'unknown':_0x1cd3('0x13f3'),'not_inuse':'green-300-fg\x20icon-phone-hangup','inuse':_0x1cd3('0x13f5'),'busy':_0x1cd3('0x1995'),'invalid':_0x1cd3('0x13f3'),'unavailable':_0x1cd3('0x13f3'),'ringing':_0x1cd3('0x13f6'),'ringinuse':_0x1cd3('0x13f6'),'onhold':'blue-300-fg\x20icon-phone-paused'},'channelStatus':{'ring':_0x1cd3('0x13f6'),'up':'green-300-fg\x20icon-phone-in-talk','hangup':_0x1cd3('0x13f9')},'channelStatusOut':{'ring':_0x1cd3('0x13fa'),'up':_0x1cd3('0x13f8'),'hangup':_0x1cd3('0x13f9')}};}}());(function(){'use strict';_0x446bde[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x53e'),_0x1cd3('0xd18')];angular['module'](_0x1cd3('0x2d'))[_0x1cd3('0x39b')](_0x1cd3('0x2658'),_0x446bde);function _0x446bde(_0x5a2f32,_0x4c9caa,_0x58407b){var _0x291dc0=this;_0x58407b[_0x1cd3('0xd1c')]();_0x58407b['connect']();_0x291dc0[_0x1cd3('0xe5f')]=0x0;switch(_0x4c9caa[_0x1cd3('0x530')][_0x1cd3('0x98')]){case _0x1cd3('0x2e6'):_0x291dc0[_0x1cd3('0xe5f')]=0x0;break;case _0x1cd3('0x2e9'):_0x291dc0[_0x1cd3('0xe5f')]=0x1;break;case _0x1cd3('0x2ee'):_0x291dc0[_0x1cd3('0xe5f')]=0x2;break;case'app.voice.realtime.queues':_0x291dc0[_0x1cd3('0xe5f')]=0x3;break;case _0x1cd3('0x2f4'):_0x291dc0[_0x1cd3('0xe5f')]=0x4;break;case _0x1cd3('0x2659'):_0x291dc0[_0x1cd3('0xe5f')]=0x5;break;case _0x1cd3('0x2f6'):_0x291dc0[_0x1cd3('0xe5f')]=0x6;break;case _0x1cd3('0x265a'):_0x291dc0[_0x1cd3('0xe5f')]=0x7;break;default:_0x291dc0[_0x1cd3('0xe5f')]=0x0;_0x4c9caa['go']('app.voice.realtime.agents');}_0x5a2f32[_0x1cd3('0x4d6')](_0x1cd3('0x13fc'),function(_0xe8251a,_0x138e90){if(_0xe8251a!==_0x138e90){switch(_0xe8251a){case 0x0:_0x4c9caa['go'](_0x1cd3('0x2e6'));break;case 0x1:_0x4c9caa['go']('app.voice.realtime.telephones');break;case 0x2:_0x4c9caa['go'](_0x1cd3('0x2ee'));break;case 0x3:_0x4c9caa['go'](_0x1cd3('0x2f1'));break;case 0x4:_0x4c9caa['go'](_0x1cd3('0x2f4'));break;case 0x5:_0x4c9caa['go'](_0x1cd3('0x2659'));break;case 0x6:_0x4c9caa['go'](_0x1cd3('0x2f6'));break;case 0x7:_0x4c9caa['go'](_0x1cd3('0x265a'));break;default:_0x4c9caa['go'](_0x1cd3('0x2e6'));}}});}}());(function(){'use strict';_0x3b8cf0[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x3e7'),_0x1cd3('0x3c5'),_0x1cd3('0x39a'),_0x1cd3('0x265b'),_0x1cd3('0x370'),_0x1cd3('0xd18'),_0x1cd3('0x1999'),'userProfile',_0x1cd3('0x390'),'Auth'];angular[_0x1cd3('0x0')](_0x1cd3('0x2d'))[_0x1cd3('0x39b')](_0x1cd3('0x265c'),_0x3b8cf0);function _0x3b8cf0(_0x2f987c,_0x1e1ff6,_0x44cbd8,_0x33a8af,_0x5a1953,_0x102815,_0x36b608,_0x3f6df4,_0x43522d,_0x36c5dd,_0x3a72ef){var _0x35a98e=this;var _0x908565=[_0x1cd3('0xd3'),_0x1cd3('0x311'),_0x1cd3('0x19'),'status'];_0x35a98e['count']=_0x33a8af[_0x1cd3('0x466')];_0x35a98e[_0x1cd3('0xf29')]=[_0x1cd3('0xd3'),_0x1cd3('0x311'),_0x1cd3('0x19'),_0x1cd3('0x3a6'),_0x1cd3('0x138a')];_0x35a98e['telephones']=_0x33a8af?_[_0x1cd3('0xe2d')](_0x33a8af[_0x1cd3('0xf6')]?_0x33a8af[_0x1cd3('0xf6')]:[],'id'):{};_0x35a98e[_0x1cd3('0x265b')]=_0x5a1953?_[_0x1cd3('0xe2d')](_0x5a1953[_0x1cd3('0xf6')]?_0x5a1953[_0x1cd3('0xf6')]:[],'id'):{};_0x35a98e[_0x1cd3('0x38a')]=_0x43522d;_0x35a98e[_0x1cd3('0x390')]=_0x36c5dd&&_0x36c5dd[_0x1cd3('0x466')]==0x1?_0x36c5dd[_0x1cd3('0xf6')][0x0]:null;_0x35a98e[_0x1cd3('0xd27')]=_0x3a72ef['parseCrudPermissions'](_0x35a98e['userProfileSection']?_0x35a98e['userProfileSection']['crudPermissions']:null);_0x35a98e[_0x1cd3('0x3d4')]={'fields':'id,fullname,internal','role':_0x1cd3('0x28e'),'sort':'-updatedAt','limit':0xa,'page':0x1};_0x35a98e['statusClass']=_0x3f6df4[_0x1cd3('0x3a6')];_0x35a98e[_0x1cd3('0x199e')]=_0x3f6df4[_0x1cd3('0x19')];_0x35a98e[_0x1cd3('0x473')]=_0x4aab4a;_0x35a98e[_0x1cd3('0x699')]=_0x4a950a;_0x35a98e[_0x1cd3('0x198e')]=_0x1ceb18;_0x35a98e[_0x1cd3('0x2157')]=_0x19aa82;_0x35a98e[_0x1cd3('0x13b6')]=_0x1d70e3;_0x36b608['on'](_0x1cd3('0x265d'),_0x35a98e[_0x1cd3('0x13b6')]);function _0x4a950a(){_['forIn'](_0x35a98e[_0x1cd3('0x39a')],function(_0x3c261b,_0x39e9a4){if(_0x35a98e['rpcTelephones'][_0x39e9a4]){_[_0x1cd3('0xf2')](_0x3c261b,_[_0x1cd3('0x5e8')](_0x35a98e[_0x1cd3('0x265b')][_0x39e9a4],_0x908565));}});}function _0x1ceb18(_0x536b62){_0x44cbd8[_0x1cd3('0x37e')](_0x44cbd8[_0x1cd3('0x11d0')]()['clickOutsideToClose'](!![])[_0x1cd3('0x486')](_0x1cd3('0x13cb'))['htmlContent'](_0x1cd3('0x1d0d'))['ok']('Ok')[_0x1cd3('0xd63')](_0x536b62));}function _0x1d70e3(_0x2bd4c8){if(_0x35a98e[_0x1cd3('0x39a')][_0x2bd4c8['id']]){_[_0x1cd3('0xf2')](_0x35a98e[_0x1cd3('0x39a')][_0x2bd4c8['id']],_[_0x1cd3('0x5e8')](_0x2bd4c8,_0x908565));}}var _0x209704=!![];var _0x42c80d=0x1;_0x2f987c[_0x1cd3('0x4d6')]('vm.query.filter',function(_0x511592,_0x447fb9){if(_0x209704){_0x1e1ff6(function(){_0x209704=![];});}else{if(!_0x447fb9){_0x42c80d=_0x35a98e[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0x511592!==_0x447fb9){_0x35a98e[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}if(!_0x511592){_0x35a98e[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0x42c80d;}_0x35a98e[_0x1cd3('0x2157')]();}});function _0x4aab4a(_0x306755){_0x35a98e[_0x1cd3('0x39a')]=_0x306755?_[_0x1cd3('0xe2d')](_0x306755[_0x1cd3('0xf6')]?_0x306755['rows']:[],'id'):{};_0x4a950a();}function _0x19aa82(){_0x35a98e[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0x35a98e[_0x1cd3('0x3d4')]['page']-0x1)*_0x35a98e['query']['limit'];if(_0x3a72ef[_0x1cd3('0x57')]('admin')){_0x35a98e[_0x1cd3('0x539')]=_0x102815['user'][_0x1cd3('0x361')](_0x35a98e[_0x1cd3('0x3d4')],_0x4aab4a)[_0x1cd3('0x81')];}else{_0x35a98e['query']['id']=_0x35a98e[_0x1cd3('0x38a')]['id'];_0x35a98e[_0x1cd3('0x3d4')]['section']='Telephones';_0x35a98e['promise']=_0x102815['userProfile']['getResources'](_0x35a98e['query'],_0x4aab4a)[_0x1cd3('0x81')];}}_0x2f987c[_0x1cd3('0x4d3')](_0x1cd3('0x523'),function(){_0x36b608[_0x1cd3('0x6a3')](_0x1cd3('0x265d'));});}}());(function(){'use strict';_0x481ee5[_0x1cd3('0xc')]=[_0x1cd3('0x460'),'$timeout','$mdDialog','trunks',_0x1cd3('0x1998'),'api','socket',_0x1cd3('0x1999'),'$state',_0x1cd3('0x38a'),'userProfileSection',_0x1cd3('0x56')];angular[_0x1cd3('0x0')]('app.voice')[_0x1cd3('0x39b')]('TrunksVoiceRealtimeController',_0x481ee5);function _0x481ee5(_0x1f3962,_0x4d8dc8,_0x2504fe,_0x52c14b,_0x3e3bf7,_0x2ed20f,_0x3af83a,_0x9d6ed2,_0x4ef67d,_0x30b0b2,_0x5dd03f,_0x5d97b0){var _0x4b7374=this;var _0x39440c=[_0x1cd3('0x3a6'),'stateRegistry',_0x1cd3('0x199c'),_0x1cd3('0x3ac'),_0x1cd3('0x3b1'),_0x1cd3('0x311'),_0x1cd3('0x19'),'status'];_0x4b7374[_0x1cd3('0x3ca')]=_0x5d97b0[_0x1cd3('0x5d')]();_0x4b7374[_0x1cd3('0x466')]=_0x52c14b[_0x1cd3('0x466')];_0x4b7374['trunks']=_0x52c14b?_0x52c14b[_0x1cd3('0xf6')]:[];_0x4b7374['rpcTrunks']=_0x3e3bf7?_0x3e3bf7[_0x1cd3('0xf6')]?_0x3e3bf7[_0x1cd3('0xf6')]:[]:[];_0x4b7374['query']={'fields':_0x1cd3('0xa6'),'active':!![],'sort':'-updatedAt','limit':0xa,'page':0x1};_0x4b7374['statusClass']=_0x9d6ed2['status'];_0x4b7374[_0x1cd3('0x199e')]=_0x9d6ed2[_0x1cd3('0x19')];_0x4b7374[_0x1cd3('0x38a')]=_0x30b0b2;_0x4b7374['userProfileSection']=_0x5dd03f&&_0x5dd03f[_0x1cd3('0x466')]==0x1?_0x5dd03f['rows'][0x0]:null;_0x4b7374[_0x1cd3('0xd27')]=_0x5d97b0[_0x1cd3('0xd44')](_0x4b7374['userProfileSection']?_0x4b7374[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);_0x4b7374[_0x1cd3('0x473')]=_0x365479;_0x4b7374[_0x1cd3('0x699')]=_0x307d3d;_0x4b7374['showInfo']=_0xed188d;_0x4b7374[_0x1cd3('0x199f')]=_0x2ef15b;_0x4b7374[_0x1cd3('0x19a0')]=_0x23381e;_0x4b7374[_0x1cd3('0x13b6')]=_0x1a53b4;_0x3af83a['on'](_0x1cd3('0x19a1'),_0x4b7374[_0x1cd3('0x13b6')]);function _0x307d3d(){var _0x2999c0;for(var _0x1be2d4=0x0;_0x1be2d4<_0x4b7374[_0x1cd3('0xef5')][_0x1cd3('0x7a')];_0x1be2d4+=0x1){_0x2999c0=_['findIndex'](_0x4b7374['rpcTrunks'],['id',_0x4b7374[_0x1cd3('0xef5')][_0x1be2d4]['id']]);if(_0x2999c0>=0x0){_[_0x1cd3('0xf2')](_0x4b7374['trunks'][_0x1be2d4],_['pick'](_0x4b7374[_0x1cd3('0x1998')][_0x2999c0],_0x39440c));}}}function _0xed188d(_0x5ad90f){_0x2504fe[_0x1cd3('0x37e')](_0x2504fe['alert']()[_0x1cd3('0x13ca')](!![])['title'](_0x1cd3('0x13cb'))[_0x1cd3('0xd60')](_0x1cd3('0x1d0d'))['ok']('Ok')[_0x1cd3('0xd63')](_0x5ad90f));}function _0x2d700a(_0x340b72,_0x42dafa,_0x38c1c6){if(_0x42dafa>=0x0){_[_0x1cd3('0xf2')](_0x340b72[_0x42dafa],_['pick'](_0x38c1c6,_0x39440c));}}function _0x1a53b4(_0x39f96b){var _0x318c20=_[_0x1cd3('0x445')](_0x4b7374[_0x1cd3('0xef5')],['id',_0x39f96b['id']]);var _0x26300c=_[_0x1cd3('0x445')](_0x4b7374[_0x1cd3('0x1998')],['id',_0x39f96b['id']]);_0x2d700a(_0x4b7374[_0x1cd3('0xef5')],_0x318c20,_0x39f96b);_0x2d700a(_0x4b7374['rpcTrunks'],_0x26300c,_0x39f96b);}var _0x348372=!![];var _0x2ebd91=0x1;_0x1f3962[_0x1cd3('0x4d6')](_0x1cd3('0xd56'),function(_0x62b268,_0x596a41){if(_0x348372){_0x4d8dc8(function(){_0x348372=![];});}else{if(!_0x596a41){_0x2ebd91=_0x4b7374[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0x62b268!==_0x596a41){_0x4b7374[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}if(!_0x62b268){_0x4b7374[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0x2ebd91;}_0x4b7374['getTrunks']();}});function _0x365479(_0x1a7850){_0x4b7374[_0x1cd3('0x466')]=_0x1a7850[_0x1cd3('0x466')];_0x4b7374['trunks']=_0x1a7850?_0x1a7850[_0x1cd3('0xf6')]?_0x1a7850[_0x1cd3('0xf6')]:[]:[];_0x307d3d();}function _0x2ef15b(){_0x4b7374[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0x4b7374[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0x4b7374[_0x1cd3('0x3d4')]['limit'];if(_0x5d97b0[_0x1cd3('0x57')](_0x1cd3('0x5f'))){_0x4b7374[_0x1cd3('0x539')]=_0x2ed20f['trunk'][_0x1cd3('0x361')](_0x4b7374[_0x1cd3('0x3d4')],_0x365479)[_0x1cd3('0x81')];}else{_0x4b7374[_0x1cd3('0x3d4')]['id']=_0x4b7374[_0x1cd3('0x38a')]['id'];_0x4b7374[_0x1cd3('0x3d4')][_0x1cd3('0xd58')]='Trunks';_0x4b7374['promise']=_0x2ed20f[_0x1cd3('0x38a')][_0x1cd3('0xd59')](_0x4b7374[_0x1cd3('0x3d4')],_0x365479)['$promise'];}}_0x1f3962[_0x1cd3('0x4d3')](_0x1cd3('0x523'),function(){_0x3af83a[_0x1cd3('0x6a3')](_0x1cd3('0x19a1'));});function _0x23381e(_0x4e4c63,_0x3db05f){_0x4ef67d['go'](_0x1cd3('0x2d3'),{'id':_0x3db05f['id']});}}}());(function(){'use strict';_0x4014d9[_0x1cd3('0xc')]=['$scope',_0x1cd3('0x53e'),'$location','$mdDialog','$q',_0x1cd3('0x3f7'),_0x1cd3('0x461'),_0x1cd3('0x265e'),'voicemail',_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0x463'),_0x1cd3('0xc49'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x2d'))[_0x1cd3('0x39b')](_0x1cd3('0x265f'),_0x4014d9);function _0x4014d9(_0x6fd56a,_0x10b71e,_0x5d01a1,_0xed63bb,_0x10a0b2,_0x316c20,_0x35671f,_0x151d4d,_0x43b9e4,_0x4add16,_0xc2397a,_0x3e07cb,_0x6aa62c,_0x139306){var _0x202b2c=this;_0x202b2c['currentUser']=_0xc2397a[_0x1cd3('0x5d')]();_0x202b2c[_0x1cd3('0xd34')]=[];_0x202b2c[_0x1cd3('0xc49')]=_0x6aa62c;_0x202b2c[_0x1cd3('0x463')]=_0x3e07cb;_0x202b2c[_0x1cd3('0xd27')]=_0x139306;_0x202b2c[_0x1cd3('0xd28')]={};_0x202b2c['passwordPattern']=_0x202b2c[_0x1cd3('0xc49')]&&_0x202b2c[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x202b2c[_0x1cd3('0x486')]='VOICE.EDIT_VOICEMAIL';_0x202b2c['voicemail']=angular[_0x1cd3('0x429')](_0x43b9e4);_0x202b2c['voicemails']=_0x151d4d;_0x202b2c['newVoicemail']=![];if(!_0x202b2c[_0x1cd3('0x2553')]){_0x202b2c[_0x1cd3('0x2553')]={'attach':'no'};_0x202b2c['title']='VOICE.NEW_VOICEMAIL';_0x202b2c[_0x1cd3('0x2660')]=!![];}_0x202b2c[_0x1cd3('0x2661')]=_0x206be2;_0x202b2c['saveVoicemail']=_0x1379aa;_0x202b2c[_0x1cd3('0x2662')]=_0x2dd087;_0x202b2c[_0x1cd3('0xd31')]=_0x47c38f;_0x202b2c[_0x1cd3('0x39c')]=_0x3d3fdd;function _0x206be2(){_0x202b2c[_0x1cd3('0xd34')]=[];_0x4add16['voiceMail']['save'](_0x202b2c[_0x1cd3('0x2553')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x303520){_0x202b2c[_0x1cd3('0x265e')][_0x1cd3('0x621')](_0x303520[_0x1cd3('0xd32')]());_0x35671f['success']({'title':_0x1cd3('0x2663'),'msg':_0x202b2c[_0x1cd3('0x2553')][_0x1cd3('0x98')]?_0x202b2c[_0x1cd3('0x2553')][_0x1cd3('0x98')]+_0x1cd3('0xd33'):''});_0x3d3fdd(_0x303520);})[_0x1cd3('0xfd')](function(_0x3a389a){if(_0x3a389a[_0x1cd3('0x439')]&&_0x3a389a[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x3a389a[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')]){_0x202b2c[_0x1cd3('0xd34')]=_0x3a389a[_0x1cd3('0x439')]['errors']||[{'message':_0x3a389a['toString'](),'type':_0x1cd3('0x2664')}];for(var _0xc41665=0x0;_0xc41665<_0x3a389a['data']['errors'][_0x1cd3('0x7a')];_0xc41665+=0x1){_0x35671f[_0x1cd3('0x434')]({'title':_0x3a389a[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0xc41665][_0x1cd3('0x424')],'msg':_0x3a389a['data'][_0x1cd3('0xd34')][_0xc41665][_0x1cd3('0x43a')]});}}else{_0x35671f[_0x1cd3('0x434')]({'title':_0x3a389a['status']?_0x1cd3('0x435')+_0x3a389a[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x3a389a[_0x1cd3('0xd35')]:_0x1cd3('0x2664'),'msg':_0x3a389a[_0x1cd3('0x439')]?JSON['stringify'](_0x3a389a['data'][_0x1cd3('0x43a')]):_0x3a389a[_0x1cd3('0x43b')]()});}});}function _0x1379aa(){_0x202b2c[_0x1cd3('0xd34')]=[];_0x4add16[_0x1cd3('0xa5e')]['update']({'id':_0x202b2c['voicemail']['id']},_0x202b2c['voicemail'])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x20a81d){var _0x2301cd=_['find'](_0x202b2c[_0x1cd3('0x265e')],{'id':_0x20a81d['id']});if(_0x2301cd){_[_0x1cd3('0xf2')](_0x2301cd,_[_0x1cd3('0x5e8')](_0x20a81d[_0x1cd3('0xd32')](),_['keys'](_0x2301cd)));}_0x35671f[_0x1cd3('0x473')]({'title':_0x1cd3('0x2665'),'msg':_0x202b2c[_0x1cd3('0x2553')][_0x1cd3('0x98')]?_0x202b2c[_0x1cd3('0x2553')]['name']+_0x1cd3('0xd37'):''});_0x3d3fdd(_0x20a81d);})['catch'](function(_0x3567f4){if(_0x3567f4[_0x1cd3('0x439')]&&_0x3567f4[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x3567f4[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')]){_0x202b2c[_0x1cd3('0xd34')]=_0x3567f4[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x3567f4['toString'](),'type':_0x1cd3('0x2666')}];for(var _0x4c0241=0x0;_0x4c0241<_0x3567f4[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x4c0241++){_0x35671f[_0x1cd3('0x434')]({'title':_0x3567f4[_0x1cd3('0x439')]['errors'][_0x4c0241]['type'],'msg':_0x3567f4[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x4c0241][_0x1cd3('0x43a')]});}}else{_0x35671f[_0x1cd3('0x434')]({'title':_0x3567f4['status']?'API:'+_0x3567f4[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x3567f4[_0x1cd3('0xd35')]:'api.voiceMail.update','msg':_0x3567f4['data']?JSON[_0x1cd3('0x438')](_0x3567f4[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x3567f4[_0x1cd3('0x43b')]()});}});}function _0x2dd087(_0x4d68bb){_0x202b2c[_0x1cd3('0xd34')]=[];var _0x5db356=_0xed63bb['confirm']()[_0x1cd3('0x486')](_0x1cd3('0xd3a'))[_0x1cd3('0xd3b')]('The\x20voicemail\x20will\x20be\x20deleted.')['ariaLabel'](_0x1cd3('0x2667'))['ok'](_0x1cd3('0xd3f'))['cancel']('Cancel')[_0x1cd3('0xd63')](_0x4d68bb);_0xed63bb['show'](_0x5db356)[_0x1cd3('0x77')](function(){_0x4add16[_0x1cd3('0xa5e')][_0x1cd3('0xa1c')]({'id':_0x202b2c['voicemail']['id']})['$promise']['then'](function(){_[_0x1cd3('0x383')](_0x202b2c[_0x1cd3('0x265e')],{'id':_0x202b2c[_0x1cd3('0x2553')]['id']});_0x35671f[_0x1cd3('0x473')]({'title':'Voicemail\x20properly\x20deleted!','msg':(_0x202b2c['voicemail'][_0x1cd3('0x98')]||_0x1cd3('0x2553'))+_0x1cd3('0xd41')});_0x3d3fdd(_0x202b2c[_0x1cd3('0x2553')]);})[_0x1cd3('0xfd')](function(_0x3b80a6){if(_0x3b80a6['data']&&_0x3b80a6[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x3b80a6[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')]){_0x202b2c[_0x1cd3('0xd34')]=_0x3b80a6[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x3b80a6[_0x1cd3('0x43b')](),'type':_0x1cd3('0x2668')}];for(var _0x18caab=0x0;_0x18caab<_0x3b80a6[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x18caab++){_0x35671f[_0x1cd3('0x434')]({'title':_0x3b80a6['data'][_0x1cd3('0xd34')][_0x18caab][_0x1cd3('0x424')],'msg':_0x3b80a6[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x18caab][_0x1cd3('0x43a')]});}}else{_0x35671f[_0x1cd3('0x434')]({'title':_0x3b80a6[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x3b80a6[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x3b80a6[_0x1cd3('0xd35')]:'api.voiceMail.delete','msg':_0x3b80a6[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x3b80a6['data'][_0x1cd3('0x43a')]):_0x3b80a6[_0x1cd3('0x43a')]||_0x3b80a6[_0x1cd3('0x43b')]()});}});},function(){});}function _0x47c38f(_0x485f7b){return _0x485f7b===null?undefined:new Date(_0x485f7b);}function _0x3d3fdd(_0x85a6c3){_0xed63bb[_0x1cd3('0x39d')](_0x85a6c3);}}}());(function(){'use strict';_0x5a98dc[_0x1cd3('0xc')]=['$cookies',_0x1cd3('0x460'),_0x1cd3('0x53e'),'$q',_0x1cd3('0x3f7'),_0x1cd3('0x3e7'),_0x1cd3('0x3c5'),_0x1cd3('0x372'),'toasty',_0x1cd3('0x370'),_0x1cd3('0x56')];angular['module'](_0x1cd3('0x2d'))[_0x1cd3('0x39b')](_0x1cd3('0x2669'),_0x5a98dc);function _0x5a98dc(_0x5c4047,_0x598003,_0x3baed2,_0x463cff,_0x9e9563,_0x459c8c,_0x165a78,_0x2fcfea,_0x384534,_0x28bebc,_0x1e94a5){var _0x52eaee=this;_0x52eaee[_0x1cd3('0x3ca')]=_0x1e94a5[_0x1cd3('0x5d')]();_0x52eaee['voicemail']={};_0x52eaee['voicemailMessages']={'count':0x0,'rows':[]};_0x52eaee[_0x1cd3('0x266a')]=[];_0x52eaee[_0x1cd3('0xd27')];_0x52eaee[_0x1cd3('0x3d4')]={'fields':'createdAt,updatedAt,id,callerid,duration,audio,stamp,msg_id','sort':'-stamp','limit':0xa,'page':0x1};_0x52eaee['init']=_0x2e7608;_0x52eaee[_0x1cd3('0xe0a')]=_0x3db0ae;_0x52eaee['voiceMailMessageDownload']=_0x2be033;_0x52eaee[_0x1cd3('0x473')]=_0x1d1e4b;_0x52eaee[_0x1cd3('0x266b')]=_0x448b75;_0x52eaee['createOrEditVoicemailMessage']=_0x1a4805;_0x52eaee[_0x1cd3('0x266c')]=_0x3d8553;_0x52eaee[_0x1cd3('0x266d')]=_0x14ef6a;_0x52eaee[_0x1cd3('0x266e')]=_0x32883a;function _0x2e7608(_0x1a59f4,_0xabb98f){_0x52eaee['voicemail']=_0x1a59f4;_0x52eaee[_0x1cd3('0xd27')]=typeof _0xabb98f!==_0x1cd3('0x491')?_0xabb98f:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x52eaee['query']['id']=_0x52eaee['voicemail']['id'];_0x448b75();}function _0x2be033(_0x27ba43,_0x26c62f,_0xeec389){return _0x28bebc['voiceMailMessage']['download']({'id':_0x27ba43['id'],'exists':!![],'attachments':_0xeec389})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0xb4d575){var _0x30f95e=[_0xb4d575[_0x1cd3('0x6ef')]];var _0x487731=_0x1cd3('0x43a')+_0x27ba43['id'];var _0x4f99f9=new Blob(_0x30f95e,{'type':_0xb4d575[_0x1cd3('0x424')]});_0x487731=_0x27ba43['msg_id']+_0x1cd3('0x6b7');var _0x929b73=window[_0x1cd3('0x924')][_0x1cd3('0x3aa')]('a');_0x929b73[_0x1cd3('0x481')](_0x1cd3('0x3ab'),URL[_0x1cd3('0x48a')](_0x4f99f9));_0x929b73[_0x1cd3('0x481')](_0x1cd3('0x489'),_0x487731);document[_0x1cd3('0x380')]['appendChild'](_0x929b73);_0x929b73[_0x1cd3('0x52d')]();})[_0x1cd3('0xfd')](function(_0x779b5b){if(_0x779b5b[_0x1cd3('0x439')]&&_0x779b5b['data'][_0x1cd3('0xd34')]&&_0x779b5b['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){for(var _0x8c4c7d=0x0;_0x8c4c7d<_0x779b5b[_0x1cd3('0x439')]['errors']['length'];_0x8c4c7d+=0x1){_0x384534[_0x1cd3('0x434')]({'title':_0x779b5b[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x8c4c7d][_0x1cd3('0x424')],'msg':_0x779b5b[_0x1cd3('0x439')]['errors'][_0x8c4c7d][_0x1cd3('0x43a')]});}}else{_0x384534['error']({'title':_0x779b5b['status']?_0x1cd3('0x435')+_0x779b5b[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x779b5b[_0x1cd3('0xd35')]:_0x1cd3('0x2664'),'msg':_0x779b5b[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x779b5b[_0x1cd3('0x439')]['message']):_0x779b5b[_0x1cd3('0x43b')]()});}});}function _0x3db0ae(_0x1a5dba,_0x350d71){var _0x276180=_0x165a78[_0x1cd3('0xd39')]()['title']('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20message?')[_0x1cd3('0xd60')](_0x1cd3('0xd51')+(_0x1a5dba[_0x1cd3('0x98')]||_0x1a5dba['id']&&_[_0x1cd3('0x12bc')](_0x1cd3('0x266f'))+_0x1a5dba['id']||_0x1cd3('0x43a'))+'</b>'+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x2670'))['targetEvent'](_0x350d71)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x165a78[_0x1cd3('0x37e')](_0x276180)[_0x1cd3('0x77')](function(){_0x14ef6a(_0x1a5dba);},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}function _0x1d1e4b(_0x1648e5){_0x52eaee[_0x1cd3('0x2671')]=_0x1648e5||{'count':0x0,'rows':[]};}function _0x448b75(){_0x52eaee[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0x52eaee['query'][_0x1cd3('0x8fd')]-0x1)*_0x52eaee['query'][_0x1cd3('0x8fe')];_0x52eaee['promise']=_0x28bebc[_0x1cd3('0xa5e')][_0x1cd3('0x17eb')](_0x52eaee['query'],_0x1d1e4b)[_0x1cd3('0x81')];}function _0x1a4805(_0x3fc17a,_0x5316cc){_0x165a78[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x2672'),'controllerAs':'vm','templateUrl':_0x1cd3('0x2673'),'parent':angular[_0x1cd3('0x37f')](_0x2fcfea[_0x1cd3('0x380')]),'targetEvent':_0x3fc17a,'clickOutsideToClose':!![],'locals':{'voicemail':_0x52eaee[_0x1cd3('0x2553')],'message':_0x5316cc,'messages':_0x52eaee[_0x1cd3('0x2671')]['rows'],'license':null,'setting':null,'crudPermissions':_0x52eaee['crudPermissions']}});}function _0x14ef6a(_0x40d323){_0x28bebc[_0x1cd3('0x2674')][_0x1cd3('0xa1c')]({'id':_0x40d323['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x52eaee[_0x1cd3('0x2671')][_0x1cd3('0xf6')],{'id':_0x40d323['id']});_0x52eaee[_0x1cd3('0x2671')][_0x1cd3('0x466')]-=0x1;if(!_0x52eaee[_0x1cd3('0x2671')][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){_0x448b75();}_0x384534[_0x1cd3('0x473')]({'title':_0x1cd3('0x2675'),'msg':_0x40d323[_0x1cd3('0x98')]?_0x40d323[_0x1cd3('0x98')]+_0x1cd3('0xd41'):''});})[_0x1cd3('0xfd')](function(_0x29ca3f){if(_0x29ca3f[_0x1cd3('0x439')]&&_0x29ca3f[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x29ca3f[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){vm[_0x1cd3('0xd34')]=_0x29ca3f['data'][_0x1cd3('0xd34')]||[{'message':_0x29ca3f[_0x1cd3('0x43b')](),'type':_0x1cd3('0x2676')}];for(var _0x3ace0a=0x0;_0x3ace0a<_0x29ca3f['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x3ace0a++){_0x384534['error']({'title':_0x29ca3f['data'][_0x1cd3('0xd34')][_0x3ace0a][_0x1cd3('0x424')],'msg':_0x29ca3f[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x3ace0a]['message']});}}else{_0x384534['error']({'title':_0x29ca3f[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x29ca3f['status']+_0x1cd3('0x436')+_0x29ca3f[_0x1cd3('0xd35')]:_0x1cd3('0x2676'),'msg':_0x29ca3f[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x29ca3f[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x29ca3f['message']||_0x29ca3f[_0x1cd3('0x43b')]()});}});}function _0x3d8553(){var _0x1c29d0=angular[_0x1cd3('0x429')](_0x52eaee[_0x1cd3('0x266a')]);_0x52eaee[_0x1cd3('0x266a')]=[];return _0x1c29d0;}function _0x32883a(_0x2eaffc){var _0x4784d5=_0x165a78[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x2677'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x52eaee['selectedVoicemailMessages'][_0x1cd3('0x7a')]+_0x1cd3('0xd61')+'\x20will\x20be\x20deleted.')[_0x1cd3('0xd3d')](_0x1cd3('0x2678'))[_0x1cd3('0xd63')](_0x2eaffc)['ok']('OK')['cancel'](_0x1cd3('0xd55'));_0x165a78[_0x1cd3('0x37e')](_0x4784d5)['then'](function(){_0x52eaee['selectedVoicemailMessages']['forEach'](function(_0x192e46){_0x14ef6a(_0x192e46);});_0x52eaee['selectedVoicemailMessages']=[];});}var _0x424ee9=!![];var _0x19ae65=0x1;_0x598003[_0x1cd3('0x4d6')]('vm_dc.query.filter',function(_0x179764,_0xa81e83){if(_0x424ee9){_0x459c8c(function(){_0x424ee9=![];});}else{if(!_0xa81e83){_0x19ae65=_0x52eaee[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0x179764!==_0xa81e83){_0x52eaee[_0x1cd3('0x3d4')]['page']=0x1;}if(!_0x179764){_0x52eaee[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0x19ae65;}_0x448b75();}});}}());(function(){'use strict';_0x5458fd[_0x1cd3('0xc')]=[_0x1cd3('0x53e'),_0x1cd3('0xd24'),'$mdDialog',_0x1cd3('0x372'),_0x1cd3('0x3f7'),_0x1cd3('0x463'),'setting',_0x1cd3('0x370'),_0x1cd3('0x461'),_0x1cd3('0x56'),_0x1cd3('0x2553'),_0x1cd3('0x390')];angular[_0x1cd3('0x0')](_0x1cd3('0x2d'))[_0x1cd3('0x39b')]('VoicemailController',_0x5458fd);function _0x5458fd(_0x34d85b,_0x1d4894,_0x24497e,_0x3c2af9,_0x52b576,_0x4b4d33,_0x4d9cf2,_0x5f1476,_0x1ee1c1,_0x27da8d,_0x435d38,_0x48bf03){var _0x1ffff4=this;_0x1ffff4['currentUser']=_0x27da8d[_0x1cd3('0x5d')]();_0x1ffff4[_0x1cd3('0x463')]=_0x4b4d33;_0x1ffff4['setting']=_0x4d9cf2;_0x1ffff4[_0x1cd3('0xd29')]=_0x1ffff4[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x1ffff4[_0x1cd3('0xd22')]=_0x1d4894[_0x1cd3('0x3b0')]()+_0x1cd3('0x11cf')+_0x1d4894[_0x1cd3('0x3ac')]();_0x1ffff4[_0x1cd3('0x2553')]=_0x435d38||_0x34d85b[_0x1cd3('0x36a')]['voicemail']||{};_0x1ffff4['userProfileSection']=_0x48bf03&&_0x48bf03['count']==0x1?_0x48bf03[_0x1cd3('0xf6')][0x0]:null;_0x1ffff4[_0x1cd3('0xd27')]=_0x27da8d['parseCrudPermissions'](_0x1ffff4[_0x1cd3('0x390')]?_0x1ffff4[_0x1cd3('0x390')]['crudPermissions']:null);_0x1ffff4['hasModulePermissions']={};_0x1ffff4[_0x1cd3('0xe5f')]=_0x34d85b[_0x1cd3('0x36a')][_0x1cd3('0x1418')]||0x0;_0x1ffff4['alert']=_0x1ee1c1[_0x1cd3('0x654')];_0x1ffff4[_0x1cd3('0x2679')]=_0x3b2a43;_0x1ffff4[_0x1cd3('0x267a')]=_0x4ad05e;_0x27da8d[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x5f1476[_0x1cd3('0xa3e')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':'name'})[_0x1cd3('0x81')]['then'](function(_0x4ecacd){_0x1ffff4[_0x1cd3('0x2119')]=_0x4ecacd[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x5e9a73){_0x1ee1c1[_0x1cd3('0x434')]({'title':_0x5e9a73['status']?_0x1cd3('0x435')+_0x5e9a73[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x5e9a73['statusText']:_0x1cd3('0x211a'),'msg':_0x5e9a73[_0x1cd3('0x439')]?JSON['stringify'](_0x5e9a73[_0x1cd3('0x439')]):_0x5e9a73[_0x1cd3('0x43b')]()});}):_0x5f1476[_0x1cd3('0xa3e')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98')})['$promise'][_0x1cd3('0x77')](function(_0x21943e){_0x1ffff4[_0x1cd3('0x2119')]=_0x21943e['rows']||[];})[_0x1cd3('0x77')](function(){return _0x5f1476[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x1ffff4[_0x1cd3('0x3ca')]['userProfileId'],'sectionId':0x195})['$promise'];})[_0x1cd3('0x77')](function(_0x315174){var _0x3137f9=_0x315174&&_0x315174['rows']?_0x315174['rows'][0x0]:null;if(!_0x3137f9){return _0x5f1476[_0x1cd3('0xa3e')]['get']({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'defaultEntry':0x1})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x230011){_0x1ffff4['contexts']=_0x230011[_0x1cd3('0xf6')]||[];});}else{if(!_0x3137f9[_0x1cd3('0x391')]){return _0x5f1476['userProfileResource'][_0x1cd3('0x361')]({'sectionId':_0x3137f9['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x3e54d8){var _0x2c7152=_[_0x1cd3('0x3d9')](_0x3e54d8[_0x1cd3('0xf6')],function(_0x181c89){return _[_0x1cd3('0x442')](_0x1ffff4[_0x1cd3('0x2119')],{'id':_0x181c89[_0x1cd3('0xe8e')]});});var _0x5dee7c=null;if(_0x1ffff4[_0x1cd3('0x2553')]){_0x5dee7c=_[_0x1cd3('0x442')](_0x1ffff4[_0x1cd3('0x2119')],{'name':_0x1ffff4['voicemail']['context']});}if(_0x5dee7c&&!_[_0x1cd3('0x38d')](_0x2c7152,['id',_0x5dee7c['id']])){var _0x479cfb=_[_0x1cd3('0x442')](_0x1ffff4['contexts'],{'id':_0x5dee7c['id']});_0x479cfb[_0x1cd3('0xf4a')]=![];_0x2c7152[_0x1cd3('0x7b')](_0x479cfb);}_0x1ffff4['contexts']=_0x2c7152;});}}})[_0x1cd3('0xfd')](function(_0x544851){_0x1ee1c1['error']({'title':_0x544851[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x544851[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x544851['statusText']:_0x1cd3('0x214c'),'msg':_0x544851['data']?JSON['stringify'](_0x544851['data']):_0x544851[_0x1cd3('0x43b')]()});});function _0x3b2a43(){_0x34d85b['go'](_0x1cd3('0x31b'),{},{'reload':_0x1cd3('0x31b')});}function _0x4ad05e(){_0x5f1476[_0x1cd3('0xa5e')][_0x1cd3('0x378')]({'id':_0x1ffff4[_0x1cd3('0x2553')]['id']},_0x1ffff4[_0x1cd3('0x2553')])[_0x1cd3('0x81')]['then'](function(){_0x1ee1c1[_0x1cd3('0x473')]({'title':_0x1cd3('0x267b'),'msg':_0x1ffff4[_0x1cd3('0x2553')][_0x1cd3('0x98')]?_0x1ffff4['voicemail'][_0x1cd3('0x98')]+_0x1cd3('0xe65'):''});})['catch'](function(_0x52763b){_0x1ee1c1[_0x1cd3('0x434')]({'title':_0x52763b['status']?'API:'+_0x52763b['status']+'\x20-\x20'+_0x52763b[_0x1cd3('0xd35')]:_0x1cd3('0x2676'),'msg':_0x52763b[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x52763b[_0x1cd3('0x439')]):_0x52763b[_0x1cd3('0x43b')]()});});}}}());(function(){'use strict';_0x152932[_0x1cd3('0xc')]=['$scope','$window','$state',_0x1cd3('0x969'),_0x1cd3('0x3c5'),_0x1cd3('0x372'),_0x1cd3('0x3e7'),_0x1cd3('0x3f7'),_0x1cd3('0x265e'),'userProfile','userProfileSection',_0x1cd3('0x370'),_0x1cd3('0x2dd'),_0x1cd3('0x461'),_0x1cd3('0x56'),'license','setting'];angular[_0x1cd3('0x0')](_0x1cd3('0x2d'))['controller']('VoicemailsController',_0x152932);function _0x152932(_0x9b9cb,_0x3a3cf2,_0x23d519,_0x79cf81,_0x2ee7a2,_0x2bf6fd,_0x1b482e,_0x1f6043,_0x5281c3,_0x4ec13f,_0x5693e1,_0x3e5725,_0x3344de,_0x4a60ab,_0x71a1b0,_0x53f354,_0x5961e1){var _0x381fa3=this;_0x381fa3['license']=_0x53f354;_0x381fa3[_0x1cd3('0xc49')]=_0x5961e1;_0x381fa3[_0x1cd3('0x3ca')]=_0x71a1b0['getCurrentUser']();_0x381fa3['voicemails']=_0x5281c3||{'count':0x0,'rows':[]};_0x381fa3[_0x1cd3('0x38a')]=_0x4ec13f;_0x381fa3[_0x1cd3('0x390')]=_0x5693e1&&_0x5693e1[_0x1cd3('0x466')]==0x1?_0x5693e1['rows'][0x0]:null;_0x381fa3[_0x1cd3('0xd27')]=_0x71a1b0[_0x1cd3('0xd44')](_0x381fa3['userProfileSection']?_0x381fa3[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);_0x381fa3[_0x1cd3('0xd45')]='voicemails';_0x381fa3[_0x1cd3('0xd46')]='';_0x381fa3[_0x1cd3('0xd47')]=null;_0x381fa3[_0x1cd3('0x267c')]=[];_0x381fa3['query']={'fields':'createdAt,updatedAt,id,customer_id,fullname,email,password,mailbox,context,tz,attach,envelope,delete,emailbody,emailsubject,maxsecs,maxmsg','sort':'-updatedAt','limit':0xa,'page':0x1};_0x381fa3[_0x1cd3('0x267d')]=_['keyBy']([{'option':_0x1cd3('0xf2c'),'value':'\x27yes\x27'},{'option':'No','value':_0x1cd3('0x123c')}],function(_0x105d61){return _['replace'](_0x105d61['value'],new RegExp('\x27','g'),'');});_0x381fa3[_0x1cd3('0x267e')]=_[_0x1cd3('0xe2d')]([{'option':'Yes','value':_0x1cd3('0x1e6d')},{'option':'No','value':_0x1cd3('0x123c')}],function(_0x26ecf9){return _['replace'](_0x26ecf9['value'],new RegExp('\x27','g'),'');});_0x381fa3[_0x1cd3('0x267f')]=_[_0x1cd3('0xe2d')]([{'option':_0x1cd3('0xf2c'),'value':_0x1cd3('0x1e6d')},{'option':'No','value':_0x1cd3('0x123c')}],function(_0x9b549e){return _[_0x1cd3('0x3f1')](_0x9b549e[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x381fa3['editstate']=_0x55e4a0;_0x381fa3[_0x1cd3('0xecc')]=_0x46d233;_0x381fa3[_0x1cd3('0x473')]=_0x2ecb75;_0x381fa3['getVoicemails']=_0x5cdbd0;_0x381fa3[_0x1cd3('0x2680')]=_0x45d3ec;_0x381fa3['deleteVoicemail']=_0x210c65;_0x381fa3[_0x1cd3('0x2681')]=_0x1815d1;_0x381fa3[_0x1cd3('0x2682')]=_0x17a113;_0x381fa3[_0x1cd3('0x2683')]=_0xd78a03;_0x381fa3[_0x1cd3('0x2684')]=_0x2e53aa;function _0x55e4a0(_0x1b4584,_0x50a524){_0x23d519['go'](_0x1cd3('0x320'),{'id':_0x1b4584['id'],'voicemail':_0x1b4584,'crudPermissions':_0x381fa3[_0x1cd3('0xd27')]});}function _0x46d233(_0xecd8e2,_0x52c14c){var _0x132760=_0x2ee7a2[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xd4f')+_[_0x1cd3('0xd50')](_0x1cd3('0x2553'))+'?')[_0x1cd3('0xd60')]('<b>'+(_0xecd8e2[_0x1cd3('0x98')]||_0x1cd3('0x2553'))+_0x1cd3('0xd52')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x2685'))['targetEvent'](_0x52c14c)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x2ee7a2[_0x1cd3('0x37e')](_0x132760)[_0x1cd3('0x77')](function(){_0x210c65(_0xecd8e2);},function(){console[_0x1cd3('0x7d')]('CANCEL');});}var _0x3977dd=!![];var _0xebf78f=0x1;_0x9b9cb[_0x1cd3('0x4d6')](_0x1cd3('0xd56'),function(_0x3b104e,_0x39395b){if(_0x3977dd){_0x1b482e(function(){_0x3977dd=![];});}else{if(!_0x39395b){_0xebf78f=_0x381fa3[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0x3b104e!==_0x39395b){_0x381fa3[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}if(!_0x3b104e){_0x381fa3[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0xebf78f;}_0x381fa3['getVoicemails']();}});function _0x2ecb75(_0x23a433){_0x381fa3['voicemails']=_0x23a433||{'count':0x0,'rows':[]};}function _0x5cdbd0(){_0x381fa3[_0x1cd3('0x3d4')]['offset']=(_0x381fa3[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0x381fa3['query'][_0x1cd3('0x8fe')];if(_0x71a1b0['hasRole'](_0x1cd3('0x5f'))){_0x381fa3[_0x1cd3('0x539')]=_0x3e5725[_0x1cd3('0xa5e')][_0x1cd3('0x361')](_0x381fa3[_0x1cd3('0x3d4')],_0x2ecb75)[_0x1cd3('0x81')];}else{_0x381fa3[_0x1cd3('0x3d4')]['id']=_0x381fa3[_0x1cd3('0x38a')]['id'];_0x381fa3[_0x1cd3('0x3d4')][_0x1cd3('0xd58')]=_0x1cd3('0x2686');_0x381fa3[_0x1cd3('0x539')]=_0x3e5725[_0x1cd3('0x38a')][_0x1cd3('0xd59')](_0x381fa3[_0x1cd3('0x3d4')],_0x2ecb75)['$promise'];}}function _0x45d3ec(_0x4fa29c,_0x5015e5){_0x2ee7a2[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x265f'),'controllerAs':'vm','templateUrl':'app/main/apps/voice/views/voicemails/create/dialog.html','parent':angular[_0x1cd3('0x37f')](_0x2bf6fd['body']),'targetEvent':_0x4fa29c,'clickOutsideToClose':!![],'locals':{'voicemail':_0x5015e5,'voicemails':_0x381fa3[_0x1cd3('0x265e')]['rows'],'license':_0x381fa3[_0x1cd3('0x463')],'setting':_0x381fa3['setting'],'crudPermissions':_0x381fa3[_0x1cd3('0xd27')]}});}function _0x210c65(_0xc07e7f){_0x3e5725[_0x1cd3('0xa5e')][_0x1cd3('0xa1c')]({'id':_0xc07e7f['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_['remove'](_0x381fa3[_0x1cd3('0x265e')][_0x1cd3('0xf6')],{'id':_0xc07e7f['id']});_0x381fa3[_0x1cd3('0x265e')]['count']-=0x1;if(!_0x381fa3[_0x1cd3('0x265e')]['rows']['length']){_0x381fa3['getVoicemails']();}_0x4a60ab['success']({'title':_[_0x1cd3('0xd50')](_0x1cd3('0x2552'))+_0x1cd3('0xd5c'),'msg':_0xc07e7f['name']?_0xc07e7f[_0x1cd3('0x98')]+_0x1cd3('0xd41'):''});})[_0x1cd3('0xfd')](function(_0x3fb3e2){if(_0x3fb3e2[_0x1cd3('0x439')]&&_0x3fb3e2[_0x1cd3('0x439')]['errors']&&_0x3fb3e2[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x381fa3[_0x1cd3('0xd34')]=_0x3fb3e2[_0x1cd3('0x439')]['errors']||[{'message':_0x3fb3e2[_0x1cd3('0x43b')](),'type':'SYSTEM:DELETEvoiceMail'}];for(var _0x1ac6e3=0x0;_0x1ac6e3<_0x3fb3e2[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x1ac6e3++){_0x4a60ab[_0x1cd3('0x434')]({'title':_0x3fb3e2[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1ac6e3][_0x1cd3('0x424')],'msg':_0x3fb3e2[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1ac6e3][_0x1cd3('0x43a')]});}}else{_0x4a60ab[_0x1cd3('0x434')]({'title':_0x3fb3e2['status']?'API:'+_0x3fb3e2[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x3fb3e2[_0x1cd3('0xd35')]:_0x1cd3('0x2687'),'msg':_0x3fb3e2['data']?JSON['stringify'](_0x3fb3e2[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x3fb3e2['message']||_0x3fb3e2['toString']()});}});}function _0x1815d1(){var _0xd95d8=angular[_0x1cd3('0x429')](_0x381fa3[_0x1cd3('0x267c')]);_0x381fa3[_0x1cd3('0x267c')]=[];return _0xd95d8;}function _0x17a113(_0x35ac85){var _0x1f79b4=_0x2ee7a2[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x2688'))['htmlContent'](_0x1cd3('0xd51')+_0x381fa3['selectedVoicemails'][_0x1cd3('0x7a')]+_0x1cd3('0xd61')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x2689'))[_0x1cd3('0xd63')](_0x35ac85)['ok']('OK')[_0x1cd3('0x4d8')]('CANCEL');_0x2ee7a2['show'](_0x1f79b4)[_0x1cd3('0x77')](function(){_0x381fa3[_0x1cd3('0x267c')][_0x1cd3('0x394')](function(_0x4220c1){_0x210c65(_0x4220c1);});_0x381fa3[_0x1cd3('0x267c')]=[];});}function _0xd78a03(){_0x381fa3['selectedVoicemails']=[];}function _0x2e53aa(){_0x381fa3[_0x1cd3('0x267c')]=_0x381fa3[_0x1cd3('0x265e')][_0x1cd3('0xf6')];}}}());(function(){'use strict';_0xa8841d[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x53e'),'$location',_0x1cd3('0x3c5'),'$q',_0x1cd3('0x3f7'),_0x1cd3('0x461'),_0x1cd3('0x268a'),_0x1cd3('0xc95'),'api',_0x1cd3('0x56'),_0x1cd3('0x463'),_0x1cd3('0xc49'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')]('app.voice')[_0x1cd3('0x39b')](_0x1cd3('0x268b'),_0xa8841d);function _0xa8841d(_0x389287,_0x2af659,_0x1593ac,_0x3aeb43,_0x353e31,_0x1684bc,_0xbb026,_0x4fd07c,_0xd1787f,_0xf7540d,_0x301b77,_0x40545d,_0x3f1966,_0xbe7c6d){var _0x3c21d9=this;_0x3c21d9[_0x1cd3('0x3ca')]=_0x301b77[_0x1cd3('0x5d')]();_0x3c21d9[_0x1cd3('0xd34')]=[];_0x3c21d9[_0x1cd3('0xc49')]=_0x3f1966;_0x3c21d9[_0x1cd3('0x463')]=_0x40545d;_0x3c21d9[_0x1cd3('0xd27')]=_0xbe7c6d;_0x3c21d9[_0x1cd3('0xd28')]={};_0x3c21d9['passwordPattern']=_0x3c21d9[_0x1cd3('0xc49')]&&_0x3c21d9[_0x1cd3('0xc49')]['securePassword']?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x3c21d9['title']=_0x1cd3('0x268c');_0x3c21d9['voicePrefix']=angular[_0x1cd3('0x429')](_0xd1787f);_0x3c21d9[_0x1cd3('0x268a')]=_0x4fd07c;_0x3c21d9[_0x1cd3('0x268d')]=![];if(!_0x3c21d9[_0x1cd3('0xc95')]){_0x3c21d9[_0x1cd3('0xc95')]={};_0x3c21d9[_0x1cd3('0x486')]=_0x1cd3('0x268e');_0x3c21d9['newvoicePrefix']=!![];}_0x3c21d9[_0x1cd3('0x268f')]=_0x3a6d0c;_0x3c21d9['savevoicePrefix']=_0x3dc5fc;_0x3c21d9[_0x1cd3('0x2690')]=_0x241497;_0x3c21d9[_0x1cd3('0xd31')]=_0xcdd0a2;_0x3c21d9[_0x1cd3('0x39c')]=_0x3739cb;_0x301b77[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0xf7540d[_0x1cd3('0xa40')]['get']({'fields':_0x1cd3('0x23fa'),'type':_0x1cd3('0x128'),'VoiceExtensionId':_0x1cd3('0x220'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x352de6){_0x3c21d9['outboundRoutes']=_0x352de6[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x29879d){_0xbb026[_0x1cd3('0x434')]({'title':_0x29879d['status']?_0x1cd3('0x435')+_0x29879d['status']+_0x1cd3('0x436')+_0x29879d[_0x1cd3('0xd35')]:'SYSTEM:GET_OUTBOUNDROUTES','msg':_0x29879d[_0x1cd3('0x439')]?JSON['stringify'](_0x29879d[_0x1cd3('0x439')]):_0x29879d['toString']()});}):_0xf7540d[_0x1cd3('0xa40')][_0x1cd3('0x361')]({'fields':_0x1cd3('0x23fa'),'type':'outbound','VoiceExtensionId':_0x1cd3('0x220'),'nolimit':'true'})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x327649){_0x3c21d9['outboundRoutes']=_0x327649[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0xf7540d[_0x1cd3('0x390')]['get']({'userProfileId':_0x3c21d9['currentUser'][_0x1cd3('0x5e')],'sectionId':0x193})['$promise'];})[_0x1cd3('0x77')](function(_0x25ea1e){var _0x41c047=_0x25ea1e&&_0x25ea1e['rows']?_0x25ea1e[_0x1cd3('0xf6')][0x0]:null;if(!_0x41c047){var _0x2df8dc=[];var _0x5b9de5=null;if(_0x3c21d9[_0x1cd3('0xc95')]){_0x5b9de5=_[_0x1cd3('0x442')](_0x3c21d9['outboundRoutes'],{'id':Number(_0x3c21d9[_0x1cd3('0xc95')][_0x1cd3('0x255c')])});}for(var _0x3a0c83=0x0;_0x3a0c83<_0x3c21d9[_0x1cd3('0x23fb')][_0x1cd3('0x7a')];_0x3a0c83++){if(_0x5b9de5&&_0x3c21d9['outboundRoutes'][_0x3a0c83]['id']===_0x5b9de5['id']){_0x3c21d9[_0x1cd3('0x23fb')][_0x3a0c83][_0x1cd3('0xf4a')]=![];_0x2df8dc[_0x1cd3('0x7b')](_0x3c21d9['outboundRoutes'][_0x3a0c83]);}}_0x3c21d9[_0x1cd3('0x23fb')]=_0x2df8dc;}else{if(!_0x41c047[_0x1cd3('0x391')]){return _0xf7540d['userProfileResource']['get']({'sectionId':_0x41c047['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x1f1be8){var _0x3382d6=_[_0x1cd3('0x3d9')](_0x1f1be8['rows'],function(_0x5eabe4){return _[_0x1cd3('0x442')](_0x3c21d9[_0x1cd3('0x23fb')],{'id':_0x5eabe4[_0x1cd3('0xe8e')]});});var _0x1e88ac=null;if(_0x3c21d9['voicePrefix']){_0x1e88ac=_[_0x1cd3('0x442')](_0x3c21d9[_0x1cd3('0x23fb')],{'id':Number(_0x3c21d9[_0x1cd3('0xc95')][_0x1cd3('0x255c')])});}if(_0x1e88ac&&!_[_0x1cd3('0x38d')](_0x3382d6,['id',_0x1e88ac['id']])){var _0xc611a2=_[_0x1cd3('0x442')](_0x3c21d9[_0x1cd3('0x23fb')],{'id':_0x1e88ac['id']});_0xc611a2['canSelect']=![];_0x3382d6['push'](_0xc611a2);}_0x3c21d9[_0x1cd3('0x23fb')]=_0x3382d6;});}}})[_0x1cd3('0xfd')](function(_0x5c8f70){_0xbb026[_0x1cd3('0x434')]({'title':_0x5c8f70[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x5c8f70[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x5c8f70[_0x1cd3('0xd35')]:_0x1cd3('0x23fc'),'msg':_0x5c8f70['data']?JSON['stringify'](_0x5c8f70[_0x1cd3('0x439')]):_0x5c8f70['toString']()});});function _0x3a6d0c(){_0x3c21d9['errors']=[];_0xf7540d['voicePrefix'][_0x1cd3('0xd6d')](_0x3c21d9[_0x1cd3('0xc95')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x2fded1){_0x3c21d9['voicePrefixes'][_0x1cd3('0x621')](_0x2fded1[_0x1cd3('0xd32')]());_0xbb026[_0x1cd3('0x473')]({'title':_0x1cd3('0x2691'),'msg':_0x3c21d9[_0x1cd3('0xc95')]['name']?_0x3c21d9[_0x1cd3('0xc95')][_0x1cd3('0x98')]+'\x20has\x20been\x20created!':''});_0x3739cb(_0x2fded1);})[_0x1cd3('0xfd')](function(_0x41f29f){if(_0x41f29f[_0x1cd3('0x439')]&&_0x41f29f[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x41f29f[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')]){_0x3c21d9[_0x1cd3('0xd34')]=_0x41f29f[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x41f29f[_0x1cd3('0x43b')](),'type':_0x1cd3('0x2692')}];for(var _0x1e73a9=0x0;_0x1e73a9<_0x41f29f['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x1e73a9+=0x1){_0xbb026[_0x1cd3('0x434')]({'title':_0x41f29f[_0x1cd3('0x439')]['errors'][_0x1e73a9]['type'],'msg':_0x41f29f['data'][_0x1cd3('0xd34')][_0x1e73a9][_0x1cd3('0x43a')]});}}else{_0xbb026[_0x1cd3('0x434')]({'title':_0x41f29f[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x41f29f[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x41f29f[_0x1cd3('0xd35')]:_0x1cd3('0x2692'),'msg':_0x41f29f['data']?JSON['stringify'](_0x41f29f['data'][_0x1cd3('0x43a')]):_0x41f29f[_0x1cd3('0x43b')]()});}});}function _0x3dc5fc(){_0x3c21d9[_0x1cd3('0xd34')]=[];_0xf7540d[_0x1cd3('0xc95')]['update']({'id':_0x3c21d9['voicePrefix']['id']},_0x3c21d9[_0x1cd3('0xc95')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x37e24e){var _0x84faff=_[_0x1cd3('0x442')](_0x3c21d9[_0x1cd3('0x268a')],{'id':_0x37e24e['id']});if(_0x84faff){_[_0x1cd3('0xf2')](_0x84faff,_[_0x1cd3('0x5e8')](_0x37e24e[_0x1cd3('0xd32')](),_['keys'](_0x84faff)));}_0xbb026[_0x1cd3('0x473')]({'title':_0x1cd3('0x2693'),'msg':_0x3c21d9[_0x1cd3('0xc95')][_0x1cd3('0x98')]?_0x3c21d9['voicePrefix'][_0x1cd3('0x98')]+'\x20has\x20been\x20saved!':''});_0x3739cb(_0x37e24e);})[_0x1cd3('0xfd')](function(_0x59b10a){if(_0x59b10a[_0x1cd3('0x439')]&&_0x59b10a['data']['errors']&&_0x59b10a[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length']){_0x3c21d9[_0x1cd3('0xd34')]=_0x59b10a['data'][_0x1cd3('0xd34')]||[{'message':_0x59b10a[_0x1cd3('0x43b')](),'type':_0x1cd3('0x2694')}];for(var _0x5aa597=0x0;_0x5aa597<_0x59b10a[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x5aa597++){_0xbb026[_0x1cd3('0x434')]({'title':_0x59b10a[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x5aa597][_0x1cd3('0x424')],'msg':_0x59b10a[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x5aa597]['message']});}}else{_0xbb026[_0x1cd3('0x434')]({'title':_0x59b10a[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x59b10a[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x59b10a['statusText']:_0x1cd3('0x2694'),'msg':_0x59b10a[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x59b10a[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x59b10a['toString']()});}});}function _0x241497(_0x5667b3){_0x3c21d9['errors']=[];var _0x13166f=_0x3aeb43['confirm']()['title'](_0x1cd3('0xd3a'))[_0x1cd3('0xd3b')](_0x1cd3('0x2695'))[_0x1cd3('0xd3d')](_0x1cd3('0x2696'))['ok'](_0x1cd3('0xd3f'))[_0x1cd3('0x4d8')](_0x1cd3('0x674'))[_0x1cd3('0xd63')](_0x5667b3);_0x3aeb43[_0x1cd3('0x37e')](_0x13166f)[_0x1cd3('0x77')](function(){_0xf7540d[_0x1cd3('0xc95')][_0x1cd3('0xa1c')]({'id':_0x3c21d9[_0x1cd3('0xc95')]['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x3c21d9[_0x1cd3('0x268a')],{'id':_0x3c21d9['voicePrefix']['id']});_0xbb026[_0x1cd3('0x473')]({'title':'voicePrefix\x20properly\x20deleted!','msg':(_0x3c21d9[_0x1cd3('0xc95')][_0x1cd3('0x98')]||_0x1cd3('0xc95'))+_0x1cd3('0xd41')});_0x3739cb(_0x3c21d9['voicePrefix']);})['catch'](function(_0x33a32c){if(_0x33a32c[_0x1cd3('0x439')]&&_0x33a32c[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x33a32c[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')]){_0x3c21d9[_0x1cd3('0xd34')]=_0x33a32c[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x33a32c[_0x1cd3('0x43b')](),'type':_0x1cd3('0x2697')}];for(var _0x58a5b6=0x0;_0x58a5b6<_0x33a32c['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x58a5b6++){_0xbb026[_0x1cd3('0x434')]({'title':_0x33a32c[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x58a5b6]['type'],'msg':_0x33a32c[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x58a5b6][_0x1cd3('0x43a')]});}}else{_0xbb026[_0x1cd3('0x434')]({'title':_0x33a32c['status']?_0x1cd3('0x435')+_0x33a32c[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x33a32c[_0x1cd3('0xd35')]:'api.voicePrefix.delete','msg':_0x33a32c[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x33a32c['data'][_0x1cd3('0x43a')]):_0x33a32c[_0x1cd3('0x43a')]||_0x33a32c[_0x1cd3('0x43b')]()});}});},function(){});}function _0xcdd0a2(_0x55e559){return _0x55e559===null?undefined:new Date(_0x55e559);}function _0x3739cb(_0xa1dddc){_0x3aeb43[_0x1cd3('0x39d')](_0xa1dddc);}}}());(function(){'use strict';_0x1ae4b3[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),'$q','toasty',_0x1cd3('0x370'),'voicePrefix',_0x1cd3('0x268a'),_0x1cd3('0x11b9'),_0x1cd3('0x3f7'),_0x1cd3('0x56'),_0x1cd3('0xd27')];angular['module'](_0x1cd3('0x2d'))['controller'](_0x1cd3('0x2698'),_0x1ae4b3);function _0x1ae4b3(_0x49e22c,_0xb22413,_0x58a36f,_0x181192,_0x236e26,_0x13b489,_0x4d33ad,_0x278b85,_0x287529,_0x122d33){var _0x1b1913=this;_0x1b1913[_0x1cd3('0x3ca')]=_0x287529['getCurrentUser']();_0x1b1913[_0x1cd3('0xc95')]=_0x236e26;_0x1b1913[_0x1cd3('0xd27')]=_0x122d33;_0x1b1913[_0x1cd3('0x11b9')]=_0x4d33ad;_0x1b1913['items']=[];_0x1b1913[_0x1cd3('0x11ba')]=[];_0x1b1913[_0x1cd3('0x492')]=[];_0x1b1913['startingAllowedItems']=[];_0x1b1913[_0x1cd3('0x11be')]=[];_0x1b1913[_0x1cd3('0x11c6')]=![];_0x1b1913[_0x1cd3('0x703')]=_0x551add;_0x1b1913[_0x1cd3('0x11bc')]=_0x3c62ef;_0x1b1913[_0x1cd3('0x39c')]=_0x1184ee;_0x1b1913[_0x1cd3('0x1145')]={'readOnly':!_0x1b1913[_0x1cd3('0xd27')][_0x1cd3('0xe3b')],'items':[],'selectedItems':[],'showSelectAndDeselectAll':!![],'orderBy':_0x1cd3('0x98'),'line1':'fullname','line2':[_0x1cd3('0x98'),_0x1cd3('0x311')],'line3':'','labelAll':_0x278b85[_0x1cd3('0x44a')]('VOICE.ALL_AGENTS'),'labelSelected':_0x278b85[_0x1cd3('0x44a')]('VOICE.SELECTED_AGENTS'),'transferCallback':function(_0x30d1f2,_0x422b7c){var _0x3d041c=_['xorBy'](_0x1b1913[_0x1cd3('0x11be')],_0x1b1913[_0x1cd3('0x492')],'id');_0x1b1913['pendingChanges']=_[_0x1cd3('0x398')](_0x3d041c)?![]:!![];}};function _0x551add(){return _0x287529[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x270079()['catch'](function(_0x4947c9){_0x58a36f[_0x1cd3('0x434')]({'title':_0x4947c9['status']?'API:'+_0x4947c9['status']+_0x1cd3('0x436')+_0x4947c9['statusText']:_0x1cd3('0x11bf'),'msg':_0x4947c9['status']?JSON['stringify'](_0x4947c9[_0x1cd3('0x439')]):_0x4947c9[_0x1cd3('0x43b')]()});}):_0x47fb35()['then'](function(_0x285081){_0x1b1913[_0x1cd3('0xd58')]=_0x285081;return _0x270079();})[_0x1cd3('0xfd')](function(_0x292d77){_0x58a36f[_0x1cd3('0x434')]({'title':_0x292d77[_0x1cd3('0x3a6')]?'API:'+_0x292d77['status']+_0x1cd3('0x436')+_0x292d77[_0x1cd3('0xd35')]:_0x1cd3('0x11bf'),'msg':_0x292d77[_0x1cd3('0x3a6')]?JSON[_0x1cd3('0x438')](_0x292d77[_0x1cd3('0x439')]):_0x292d77['toString']()});});}function _0x47fb35(){return _0xb22413(function(_0x20b7cd,_0x30b475){_0x181192[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x1b1913[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'name':_0x1cd3('0xd4')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x39dbd1){var _0x15889e=_0x39dbd1&&_0x39dbd1[_0x1cd3('0xf6')]?_0x39dbd1[_0x1cd3('0xf6')][0x0]:null;_0x20b7cd(_0x15889e);})[_0x1cd3('0xfd')](function(_0x2cbc2b){_0x30b475(_0x2cbc2b);});});}function _0x270079(){return _0xb22413(function(_0x39a712,_0xde0ad2){return _0x2b29d0()['then'](function(_0x50da6e){_0x1b1913[_0x1cd3('0x493')]=_0x50da6e[_0x1cd3('0xf6')]?_0x50da6e[_0x1cd3('0xf6')]:[];if(_0x287529['hasRole'](_0x1cd3('0x5f'))){return _0x50da6e;}else{if(_0x1b1913['section']){return _0x1b1913['section'][_0x1cd3('0x391')]?_0x50da6e:_0x1ec917();}else{return null;}}})[_0x1cd3('0x77')](function(_0x2f9013){var _0x327fe0=_0x2f9013&&_0x2f9013[_0x1cd3('0xf6')]?_0x2f9013[_0x1cd3('0xf6')]:[];_0x1b1913[_0x1cd3('0x11ba')]=_[_0x1cd3('0x3d9')](_0x327fe0,function(_0x30794b){return _[_0x1cd3('0x442')](_0x1b1913[_0x1cd3('0x493')],{'id':_0x287529[_0x1cd3('0x57')](_0x1cd3('0x5f'))||_0x1b1913['section']['autoAssociation']?_0x30794b['id']:_0x30794b[_0x1cd3('0xe8e')]});});_0x1b1913[_0x1cd3('0x11bb')]=angular[_0x1cd3('0x429')](_0x1b1913[_0x1cd3('0x11ba')]);_0x1b1913['items'][_0x1cd3('0x394')](function(_0x591abd){var _0x3c0292=_[_0x1cd3('0x442')](_0x1b1913[_0x1cd3('0x11ba')],{'id':_0x591abd['id']});if(_0x287529[_0x1cd3('0x57')](_0x1cd3('0x5f'))){_0x591abd[_0x1cd3('0x490')]=!![];}else{_0x591abd[_0x1cd3('0x490')]=typeof _0x3c0292!==_0x1cd3('0x491')?!![]:![];}});return _0x29e316();})['then'](function(_0x55b93f){var _0x12b34f=_0x55b93f&&_0x55b93f[_0x1cd3('0xf6')]?_0x55b93f[_0x1cd3('0xf6')]:[];_0x1b1913[_0x1cd3('0x492')]=_['map'](_0x12b34f,function(_0x5c7e18){var _0x50085a=_[_0x1cd3('0x442')](_0x1b1913[_0x1cd3('0x493')],{'id':_0x5c7e18['id']});_0x50085a[_0x1cd3('0x1146')]=_0x5c7e18['UservoicePrefix']?_0x1cd3('0x1503')+_0x5c7e18[_0x1cd3('0x2699')][_0x1cd3('0x1146')]:'';_0x50085a[_0x1cd3('0x311')]=_0x5c7e18[_0x1cd3('0x3d0')](_0x1cd3('0x311'))?'<'+_0x5c7e18[_0x1cd3('0x311')]+'>':'';return _0x50085a;});_0x1b1913[_0x1cd3('0x11be')]=angular[_0x1cd3('0x429')](_0x1b1913['selectedItems']);_0x1b1913[_0x1cd3('0x1145')][_0x1cd3('0x492')]=_0x1b1913[_0x1cd3('0x492')];_0x1b1913['dualMultiselectOptions'][_0x1cd3('0x493')]=_[_0x1cd3('0x1152')](_0x1b1913[_0x1cd3('0x11ba')],_0x1b1913[_0x1cd3('0x1145')][_0x1cd3('0x492')],'id');_0x39a712();})[_0x1cd3('0xfd')](function(_0x3e6ac2){_0xde0ad2(_0x3e6ac2);});});}function _0x1ec917(){return _0xb22413(function(_0x5453a8,_0x8b3f3c){return _0x181192[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x1b1913[_0x1cd3('0xd58')]['id'],'nolimit':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x322390){_0x5453a8(_0x322390);})['catch'](function(_0x122941){_0x8b3f3c(_0x122941);});});}function _0x29e316(){return _0xb22413(function(_0x285890,_0x216d8f){return _0x181192[_0x1cd3('0xc95')][_0x1cd3('0x1269')]({'id':_0x1b1913[_0x1cd3('0xc95')]['id'],'fields':_0x1cd3('0x11c1'),'nolimit':!![],'role':_0x1cd3('0xd2')})[_0x1cd3('0x81')]['then'](function(_0x4f487d){_0x285890(_0x4f487d);})[_0x1cd3('0xfd')](function(_0x1eb9ef){_0x216d8f(_0x1eb9ef);});});}function _0x2b29d0(){return _0xb22413(function(_0x985683,_0x2b2eca){return _0x181192['user'][_0x1cd3('0x361')]({'fields':_0x1cd3('0x11c1'),'nolimit':!![],'role':'agent'})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x2c8133){_0x985683(_0x2c8133);})[_0x1cd3('0xfd')](function(_0x3f3f59){_0x2b2eca(_0x3f3f59);});});}function _0x51cdb4(_0x46759a){return _0xb22413(function(_0x424782,_0x3c6436){if(_['isEmpty'](_0x46759a)){_0x424782();}else{_0x181192[_0x1cd3('0xc95')][_0x1cd3('0x11c2')]({'id':_0x1b1913[_0x1cd3('0xc95')]['id'],'ids':_['map'](_0x46759a,'id')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x424782();})['catch'](function(_0x513a68){_0x3c6436(_0x513a68);});}});}function _0x44bded(_0x368d50){return _0xb22413(function(_0x258b66,_0x531995){if(_[_0x1cd3('0x398')](_0x368d50)){_0x258b66();}else{_0x181192[_0x1cd3('0xc95')][_0x1cd3('0x11c3')]({'id':_0x1b1913[_0x1cd3('0xc95')]['id'],'ids':_[_0x1cd3('0x3d9')](_0x368d50,'id')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x258b66();})[_0x1cd3('0xfd')](function(_0x3b20b2){_0x531995(_0x3b20b2);});}});}function _0x3c62ef(){var _0x54c855=_[_0x1cd3('0x1152')](_0x1b1913[_0x1cd3('0x11be')],_0x1b1913[_0x1cd3('0x492')],'id');var _0x2c0336=_['differenceBy'](_0x1b1913['selectedItems'],_0x1b1913[_0x1cd3('0x11be')],'id');return _0x44bded(_0x54c855)[_0x1cd3('0x77')](function(){return _0x51cdb4(_0x2c0336);})['then'](function(){_0x1b1913['pendingChanges']=![];_0x1b1913[_0x1cd3('0x11bb')]=angular[_0x1cd3('0x429')](_0x1b1913['allowedItems']);_0x1b1913[_0x1cd3('0x11be')]=angular[_0x1cd3('0x429')](_0x1b1913['selectedItems']);_0x58a36f[_0x1cd3('0x473')]({'title':_0x1cd3('0x11c4'),'msg':_0x1cd3('0x11c5')});})[_0x1cd3('0xfd')](function(_0x4f2b87){_0x58a36f['error']({'title':_0x4f2b87[_0x1cd3('0x3a6')]?'API:'+_0x4f2b87[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x4f2b87[_0x1cd3('0xd35')]:_0x1cd3('0x11ce'),'msg':_0x4f2b87[_0x1cd3('0x3a6')]?JSON[_0x1cd3('0x438')](_0x4f2b87[_0x1cd3('0x439')]):_0x4f2b87[_0x1cd3('0x43b')]()});});}function _0x1184ee(){_0x49e22c['hide']();}}}());(function(){'use strict';_0x32c6fb['$inject']=[_0x1cd3('0x460'),_0x1cd3('0x371'),_0x1cd3('0x53e'),'$mdSidenav','$mdDialog',_0x1cd3('0x372'),'$timeout','$translate','voicePrefixes',_0x1cd3('0x38a'),'userProfileSection',_0x1cd3('0x370'),_0x1cd3('0x2dd'),_0x1cd3('0x461'),_0x1cd3('0x56'),_0x1cd3('0x463'),_0x1cd3('0xc49')];angular[_0x1cd3('0x0')](_0x1cd3('0x2d'))[_0x1cd3('0x39b')](_0x1cd3('0x269a'),_0x32c6fb);function _0x32c6fb(_0x4ddde0,_0x3edaa8,_0x208101,_0xdb97a2,_0x45d4a3,_0x42d58d,_0x3b445e,_0x509714,_0x4f71ea,_0x2cfd94,_0x1796e2,_0x19a0d0,_0x90e855,_0xdf8c48,_0x372716,_0x174ae3,_0xb2aaf8){var _0x11415c=this;_0x11415c[_0x1cd3('0x463')]=_0x174ae3;_0x11415c['setting']=_0xb2aaf8;_0x11415c[_0x1cd3('0x3ca')]=_0x372716[_0x1cd3('0x5d')]();_0x11415c[_0x1cd3('0x268a')]=_0x4f71ea||{'count':0x0,'rows':[]};_0x11415c[_0x1cd3('0x38a')]=_0x2cfd94;_0x11415c['userProfileSection']=_0x1796e2&&_0x1796e2[_0x1cd3('0x466')]==0x1?_0x1796e2[_0x1cd3('0xf6')][0x0]:null;_0x11415c[_0x1cd3('0xd27')]=_0x372716[_0x1cd3('0xd44')](_0x11415c[_0x1cd3('0x390')]?_0x11415c['userProfileSection']['crudPermissions']:null);_0x11415c[_0x1cd3('0xd45')]='voicePrefixes';_0x11415c[_0x1cd3('0xd46')]='';_0x11415c[_0x1cd3('0xd47')]=null;_0x11415c['selectedVoicePrefixes']=[];_0x11415c[_0x1cd3('0x3d4')]={'fields':_0x1cd3('0x269b'),'limit':0xa,'page':0x1};_0x11415c[_0x1cd3('0xd48')]=_0x3307f4;_0x11415c['agentadddialog']=_0x4468d7;_0x11415c[_0x1cd3('0xecc')]=_0x180e62;_0x11415c['success']=_0xb6741d;_0x11415c[_0x1cd3('0x465')]=_0x522716;_0x11415c[_0x1cd3('0x269c')]=_0x1e5dd5;_0x11415c['deletevoicePrefix']=_0x2c835f;_0x11415c[_0x1cd3('0x269d')]=_0x39aa0f;_0x11415c[_0x1cd3('0x269e')]=_0x5c5409;_0x11415c[_0x1cd3('0x269f')]=_0x49e01a;_0x11415c[_0x1cd3('0x26a0')]=_0x8ab9d1;_0x372716[_0x1cd3('0x57')]('admin')?_0x19a0d0[_0x1cd3('0xa40')][_0x1cd3('0x361')]({'fields':_0x1cd3('0x23fa'),'type':'outbound','VoiceExtensionId':_0x1cd3('0x220'),'nolimit':'true'})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x303773){_0x11415c[_0x1cd3('0x23fb')]=_0x303773[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x5c72a5){_0xdf8c48[_0x1cd3('0x434')]({'title':_0x5c72a5[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x5c72a5[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x5c72a5[_0x1cd3('0xd35')]:_0x1cd3('0x240e'),'msg':_0x5c72a5[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x5c72a5['data']):_0x5c72a5['toString']()});}):_0x19a0d0[_0x1cd3('0xa40')][_0x1cd3('0x361')]({'fields':_0x1cd3('0x23fa'),'type':_0x1cd3('0x128'),'VoiceExtensionId':_0x1cd3('0x220'),'nolimit':'true'})['$promise'][_0x1cd3('0x77')](function(_0xf8e6c2){_0x11415c[_0x1cd3('0x23fb')]=_0xf8e6c2[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x19a0d0[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x11415c[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x193})[_0x1cd3('0x81')];})['then'](function(_0xbb9208){var _0xba7e28=_0xbb9208&&_0xbb9208[_0x1cd3('0xf6')]?_0xbb9208[_0x1cd3('0xf6')][0x0]:null;if(!_0xba7e28){var _0x4b880a=[];var _0x8a2237=null;if(_0x11415c[_0x1cd3('0xc95')]){_0x8a2237=_[_0x1cd3('0x442')](_0x11415c[_0x1cd3('0x23fb')],{'id':Number(_0x11415c[_0x1cd3('0xc95')]['VoiceExtensionId'])});}for(var _0x466263=0x0;_0x466263<_0x11415c[_0x1cd3('0x23fb')][_0x1cd3('0x7a')];_0x466263++){if(_0x8a2237&&_0x11415c['outboundRoutes'][_0x466263]['id']===_0x8a2237['id']){_0x11415c[_0x1cd3('0x23fb')][_0x466263][_0x1cd3('0xf4a')]=![];_0x4b880a[_0x1cd3('0x7b')](_0x11415c[_0x1cd3('0x23fb')][_0x466263]);}}_0x11415c[_0x1cd3('0x23fb')]=_0x4b880a;}else{if(!_0xba7e28[_0x1cd3('0x391')]){return _0x19a0d0[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0xba7e28['id']})[_0x1cd3('0x81')]['then'](function(_0x50044d){var _0x307f31=_[_0x1cd3('0x3d9')](_0x50044d[_0x1cd3('0xf6')],function(_0x1624ae){return _[_0x1cd3('0x442')](_0x11415c['outboundRoutes'],{'id':_0x1624ae[_0x1cd3('0xe8e')]});});var _0x29327f=null;if(_0x11415c[_0x1cd3('0xc95')]){_0x29327f=_[_0x1cd3('0x442')](_0x11415c[_0x1cd3('0x23fb')],{'id':Number(_0x11415c[_0x1cd3('0xc95')][_0x1cd3('0x255c')])});}if(_0x29327f&&!_[_0x1cd3('0x38d')](_0x307f31,['id',_0x29327f['id']])){var _0x18d448=_[_0x1cd3('0x442')](_0x11415c[_0x1cd3('0x23fb')],{'id':_0x29327f['id']});_0x18d448['canSelect']=![];_0x307f31[_0x1cd3('0x7b')](_0x18d448);}_0x11415c['outboundRoutes']=_0x307f31;});}}})[_0x1cd3('0xfd')](function(_0xbd9fc7){_0xdf8c48[_0x1cd3('0x434')]({'title':_0xbd9fc7[_0x1cd3('0x3a6')]?'API:'+_0xbd9fc7[_0x1cd3('0x3a6')]+'\x20-\x20'+_0xbd9fc7[_0x1cd3('0xd35')]:_0x1cd3('0x23fc'),'msg':_0xbd9fc7['data']?JSON['stringify'](_0xbd9fc7[_0x1cd3('0x439')]):_0xbd9fc7[_0x1cd3('0x43b')]()});});function _0x3307f4(_0x551abe,_0x23a12c){_0x45d4a3['show']({'controller':_0x1cd3('0x268b'),'controllerAs':'vm','templateUrl':_0x1cd3('0x26a1'),'parent':angular[_0x1cd3('0x37f')](_0x42d58d[_0x1cd3('0x380')]),'targetEvent':_0x23a12c,'clickOutsideToClose':!![],'locals':{'voicePrefix':_0x551abe,'voicePrefixes':_0x11415c[_0x1cd3('0x268a')]['rows'],'license':_0x11415c[_0x1cd3('0x463')],'setting':null,'crudPermissions':_0x11415c[_0x1cd3('0xd27')]}});}function _0x4468d7(_0x1ed302,_0x304e13){_0x45d4a3[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x2698'),'controllerAs':'vm','templateUrl':_0x1cd3('0x26a2'),'parent':angular[_0x1cd3('0x37f')](_0x42d58d[_0x1cd3('0x380')]),'targetEvent':_0x304e13,'clickOutsideToClose':!![],'locals':{'voicePrefix':_0x1ed302,'voicePrefixes':_0x11415c[_0x1cd3('0x268a')]?_0x11415c[_0x1cd3('0x268a')]['rows']:[],'crudPermissions':_0x11415c[_0x1cd3('0xd27')],'realtime':![]}});}function _0x180e62(_0x373a41,_0x5e4cdb){var _0x48e434=_0x45d4a3[_0x1cd3('0xd39')]()['title'](_0x1cd3('0xd4f')+_['startCase'](_0x1cd3('0xc95'))+'?')[_0x1cd3('0xd60')](_0x1cd3('0xd51')+(_0x373a41[_0x1cd3('0x98')]||_0x1cd3('0xc95'))+_0x1cd3('0xd52')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x26a3'))[_0x1cd3('0xd63')](_0x5e4cdb)['ok']('OK')[_0x1cd3('0x4d8')]('CANCEL');_0x45d4a3[_0x1cd3('0x37e')](_0x48e434)[_0x1cd3('0x77')](function(){_0x2c835f(_0x373a41);},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}var _0x57b656=!![];var _0x1cf604=0x1;_0x4ddde0[_0x1cd3('0x4d6')](_0x1cd3('0xd56'),function(_0x24b6da,_0x9788d2){if(_0x57b656){_0x3b445e(function(){_0x57b656=![];});}else{if(!_0x9788d2){_0x1cf604=_0x11415c[_0x1cd3('0x3d4')]['page'];}if(_0x24b6da!==_0x9788d2){_0x11415c[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}if(!_0x24b6da){_0x11415c[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0x1cf604;}_0x11415c[_0x1cd3('0x465')]();}});function _0xb6741d(_0x5b09aa){_0x11415c['voicePrefixes']=_0x5b09aa||{'count':0x0,'rows':[]};}function _0x522716(){_0x11415c[_0x1cd3('0x3d4')]['offset']=(_0x11415c[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0x11415c[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];if(_0x372716[_0x1cd3('0x57')](_0x1cd3('0x5f'))){_0x11415c['promise']=_0x19a0d0[_0x1cd3('0xc95')][_0x1cd3('0x361')](_0x11415c['query'],_0xb6741d)['$promise'];}else{_0x11415c[_0x1cd3('0x3d4')]['id']=_0x11415c[_0x1cd3('0x38a')]['id'];_0x11415c[_0x1cd3('0x3d4')]['section']=_0x1cd3('0x33c');_0x11415c[_0x1cd3('0x539')]=_0x19a0d0['userProfile'][_0x1cd3('0xd59')](_0x11415c[_0x1cd3('0x3d4')],_0xb6741d)[_0x1cd3('0x81')];}}function _0x1e5dd5(_0x19579a,_0x430f23){_0x45d4a3[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x268b'),'controllerAs':'vm','templateUrl':'app/main/apps/voice/views/voicePrefixes/create/dialog.html','parent':angular['element'](_0x42d58d[_0x1cd3('0x380')]),'targetEvent':_0x19579a,'clickOutsideToClose':!![],'locals':{'voicePrefix':_0x430f23,'voicePrefixes':_0x11415c[_0x1cd3('0x268a')][_0x1cd3('0xf6')],'license':_0x11415c['license'],'setting':_0x11415c[_0x1cd3('0xc49')],'crudPermissions':_0x11415c[_0x1cd3('0xd27')]}});}function _0x2c835f(_0x34b7f7){_0x19a0d0[_0x1cd3('0xc95')][_0x1cd3('0xa1c')]({'id':_0x34b7f7['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x11415c['voicePrefixes']['rows'],{'id':_0x34b7f7['id']});_0x11415c[_0x1cd3('0x268a')][_0x1cd3('0x466')]-=0x1;if(!_0x11415c[_0x1cd3('0x268a')][_0x1cd3('0xf6')]['length']){_0x11415c['getVoicePrefixes']();}_0xdf8c48[_0x1cd3('0x473')]({'title':_[_0x1cd3('0xd50')]('voicePrefix')+_0x1cd3('0xd5c'),'msg':_0x34b7f7[_0x1cd3('0x98')]?_0x34b7f7['name']+_0x1cd3('0xd41'):''});})['catch'](function(_0x496cb8){if(_0x496cb8['data']&&_0x496cb8[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x496cb8['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x11415c[_0x1cd3('0xd34')]=_0x496cb8['data']['errors']||[{'message':_0x496cb8[_0x1cd3('0x43b')](),'type':_0x1cd3('0x26a4')}];for(var _0x46912b=0x0;_0x46912b<_0x496cb8[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x46912b++){_0xdf8c48[_0x1cd3('0x434')]({'title':_0x496cb8[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x46912b][_0x1cd3('0x424')],'msg':_0x496cb8[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x46912b][_0x1cd3('0x43a')]});}}else{_0xdf8c48[_0x1cd3('0x434')]({'title':_0x496cb8['status']?_0x1cd3('0x435')+_0x496cb8[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x496cb8['statusText']:'SYSTEM:DELETEvoicePrefix','msg':_0x496cb8[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x496cb8['data'][_0x1cd3('0x43a')]):_0x496cb8['message']||_0x496cb8[_0x1cd3('0x43b')]()});}});}function _0x39aa0f(){var _0x3e5da9=angular[_0x1cd3('0x429')](_0x11415c[_0x1cd3('0x26a5')]);_0x11415c[_0x1cd3('0x26a5')]=[];return _0x3e5da9;}function _0x5c5409(_0x12e038){var _0x630366=_0x45d4a3['confirm']()[_0x1cd3('0x486')](_0x1cd3('0x26a6'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x11415c[_0x1cd3('0x26a5')]['length']+'\x20selected</b>'+_0x1cd3('0xd53'))['ariaLabel'](_0x1cd3('0x26a7'))[_0x1cd3('0xd63')](_0x12e038)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x45d4a3[_0x1cd3('0x37e')](_0x630366)['then'](function(){_0x11415c[_0x1cd3('0x26a5')][_0x1cd3('0x394')](function(_0x5912d5){_0x2c835f(_0x5912d5);});_0x11415c[_0x1cd3('0x26a5')]=[];});}function _0x49e01a(){_0x11415c[_0x1cd3('0x26a5')]=[];}function _0x8ab9d1(){_0x11415c[_0x1cd3('0x26a5')]=_0x11415c[_0x1cd3('0x268a')][_0x1cd3('0xf6')];}}}());(function(){'use strict';_0x1e8c2e[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x53e'),'$location','$mdDialog','$q',_0x1cd3('0x3f7'),_0x1cd3('0x461'),_0x1cd3('0x8d9'),_0x1cd3('0xa48'),_0x1cd3('0x370'),_0x1cd3('0x56'),'license','setting',_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x2d'))[_0x1cd3('0x39b')](_0x1cd3('0x2654'),_0x1e8c2e);function _0x1e8c2e(_0x5e4a1b,_0xe08770,_0x46c4b4,_0x43ab93,_0x5b63a7,_0x5b33ff,_0x47ae4e,_0x3b7737,_0xb972a2,_0x372df0,_0x44b8c4,_0x6f2a5,_0x473670,_0x33d949){var _0x4dfb49=this;_0x4dfb49[_0x1cd3('0x3ca')]=_0x44b8c4[_0x1cd3('0x5d')]();_0x4dfb49[_0x1cd3('0xd34')]=[];_0x4dfb49['setting']=_0x473670;_0x4dfb49[_0x1cd3('0x463')]=_0x6f2a5;_0x4dfb49['crudPermissions']=_0x33d949;_0x4dfb49[_0x1cd3('0xd28')]={};_0x4dfb49['passwordPattern']=_0x4dfb49['setting']&&_0x4dfb49['setting'][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x4dfb49[_0x1cd3('0x486')]=_0x1cd3('0x26a8');_0x4dfb49[_0x1cd3('0xa48')]=angular[_0x1cd3('0x429')](_0xb972a2);_0x4dfb49[_0x1cd3('0x8d9')]=_0x3b7737;_0x4dfb49[_0x1cd3('0x26a9')]=![];if(!_0x4dfb49['voiceQueue']){_0x4dfb49[_0x1cd3('0xa48')]={'type':'inbound','strategy':_0x1cd3('0x26aa'),'timeout':0xf,'retry':0x2,'random_periodic_announce':'no','announce_holdtime':'no','announce_position':'no','reportholdtime':'no','autopause':'no','ringinuse':'no','timeoutrestart':'no','setinterfacevar':'no','setqueuevar':'no','setqueueentryvar':'no'};_0x4dfb49[_0x1cd3('0x486')]='VOICE.NEW_VOICEQUEUE';_0x4dfb49[_0x1cd3('0x26a9')]=!![];}_0x4dfb49['addNewVoiceQueue']=_0x5436ae;_0x4dfb49['saveVoiceQueue']=_0x32f161;_0x4dfb49[_0x1cd3('0x26ab')]=_0x447fe1;_0x4dfb49['getDateFromString']=_0x1103f7;_0x4dfb49[_0x1cd3('0x39c')]=_0x5a7815;function _0x5436ae(){_0x4dfb49['errors']=[];_0x372df0[_0x1cd3('0xa48')][_0x1cd3('0xd6d')](_0x4dfb49[_0x1cd3('0xa48')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x4fe43f){_0x4dfb49[_0x1cd3('0x8d9')]['unshift'](_0x4fe43f[_0x1cd3('0xd32')]());_0x47ae4e[_0x1cd3('0x473')]({'title':_0x1cd3('0x26ac'),'msg':_0x4dfb49[_0x1cd3('0xa48')][_0x1cd3('0x98')]?_0x4dfb49[_0x1cd3('0xa48')]['name']+'\x20has\x20been\x20created!':''});_0x5a7815(_0x4fe43f);})['catch'](function(_0x2c99b0){if(_0x2c99b0[_0x1cd3('0x439')]&&_0x2c99b0[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x2c99b0[_0x1cd3('0x439')]['errors']['length']){_0x4dfb49['errors']=_0x2c99b0[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x2c99b0[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1e16')}];for(var _0x363078=0x0;_0x363078<_0x2c99b0[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0x363078+=0x1){_0x47ae4e['error']({'title':_0x2c99b0[_0x1cd3('0x439')]['errors'][_0x363078][_0x1cd3('0x424')],'msg':_0x2c99b0[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x363078][_0x1cd3('0x43a')]});}}else{_0x47ae4e[_0x1cd3('0x434')]({'title':_0x2c99b0[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x2c99b0['status']+_0x1cd3('0x436')+_0x2c99b0[_0x1cd3('0xd35')]:_0x1cd3('0x1e16'),'msg':_0x2c99b0[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x2c99b0[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x2c99b0[_0x1cd3('0x43b')]()});}});}function _0x32f161(){_0x4dfb49[_0x1cd3('0xd34')]=[];_0x372df0['voiceQueue'][_0x1cd3('0x378')]({'id':_0x4dfb49[_0x1cd3('0xa48')]['id']},_0x4dfb49[_0x1cd3('0xa48')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x400548){var _0x14f26e=_[_0x1cd3('0x442')](_0x4dfb49['voiceQueues'],{'id':_0x400548['id']});if(_0x14f26e){_['merge'](_0x14f26e,_[_0x1cd3('0x5e8')](_0x400548[_0x1cd3('0xd32')](),_[_0x1cd3('0x80')](_0x14f26e)));}_0x47ae4e['success']({'title':'VoiceQueue\x20properly\x20saved!','msg':_0x4dfb49['voiceQueue']['name']?_0x4dfb49[_0x1cd3('0xa48')]['name']+_0x1cd3('0xd37'):''});_0x5a7815(_0x400548);})['catch'](function(_0x50314c){if(_0x50314c[_0x1cd3('0x439')]&&_0x50314c[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x50314c[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')]){_0x4dfb49['errors']=_0x50314c[_0x1cd3('0x439')]['errors']||[{'message':_0x50314c[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1e17')}];for(var _0x7324b6=0x0;_0x7324b6<_0x50314c[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length'];_0x7324b6++){_0x47ae4e[_0x1cd3('0x434')]({'title':_0x50314c[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x7324b6][_0x1cd3('0x424')],'msg':_0x50314c[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x7324b6][_0x1cd3('0x43a')]});}}else{_0x47ae4e[_0x1cd3('0x434')]({'title':_0x50314c[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x50314c['status']+_0x1cd3('0x436')+_0x50314c['statusText']:_0x1cd3('0x1e17'),'msg':_0x50314c['data']?JSON[_0x1cd3('0x438')](_0x50314c[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x50314c[_0x1cd3('0x43b')]()});}});}function _0x447fe1(_0xd42fc){_0x4dfb49[_0x1cd3('0xd34')]=[];var _0x4bc01f=_0x43ab93[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xd3a'))['content'](_0x1cd3('0x26ad'))[_0x1cd3('0xd3d')](_0x1cd3('0x26ae'))['ok'](_0x1cd3('0xd3f'))[_0x1cd3('0x4d8')]('Cancel')[_0x1cd3('0xd63')](_0xd42fc);_0x43ab93[_0x1cd3('0x37e')](_0x4bc01f)['then'](function(){_0x372df0[_0x1cd3('0xa48')][_0x1cd3('0xa1c')]({'id':_0x4dfb49[_0x1cd3('0xa48')]['id']})['$promise'][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x4dfb49[_0x1cd3('0x8d9')],{'id':_0x4dfb49[_0x1cd3('0xa48')]['id']});_0x47ae4e[_0x1cd3('0x473')]({'title':_0x1cd3('0x26af'),'msg':(_0x4dfb49[_0x1cd3('0xa48')][_0x1cd3('0x98')]||_0x1cd3('0xa48'))+_0x1cd3('0xd41')});_0x5a7815(_0x4dfb49['voiceQueue']);})[_0x1cd3('0xfd')](function(_0x537adc){if(_0x537adc['data']&&_0x537adc['data'][_0x1cd3('0xd34')]&&_0x537adc[_0x1cd3('0x439')]['errors']['length']){_0x4dfb49[_0x1cd3('0xd34')]=_0x537adc[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x537adc['toString'](),'type':_0x1cd3('0x1e1b')}];for(var _0x2e6abc=0x0;_0x2e6abc<_0x537adc[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x2e6abc++){_0x47ae4e[_0x1cd3('0x434')]({'title':_0x537adc[_0x1cd3('0x439')]['errors'][_0x2e6abc][_0x1cd3('0x424')],'msg':_0x537adc[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x2e6abc]['message']});}}else{_0x47ae4e[_0x1cd3('0x434')]({'title':_0x537adc[_0x1cd3('0x3a6')]?'API:'+_0x537adc['status']+'\x20-\x20'+_0x537adc[_0x1cd3('0xd35')]:'api.voiceQueue.delete','msg':_0x537adc['data']?JSON[_0x1cd3('0x438')](_0x537adc[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x537adc[_0x1cd3('0x43a')]||_0x537adc[_0x1cd3('0x43b')]()});}});},function(){});}function _0x1103f7(_0x39e001){return _0x39e001===null?undefined:new Date(_0x39e001);}function _0x5a7815(_0x2787c3){_0x43ab93[_0x1cd3('0x39d')](_0x2787c3);}}}());(function(){'use strict';_0x23cd0c[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),'$q','toasty',_0x1cd3('0x370'),'voiceQueue',_0x1cd3('0x8d9'),_0x1cd3('0x11b9'),_0x1cd3('0x3f7'),_0x1cd3('0x56'),'crudPermissions'];angular['module'](_0x1cd3('0x2d'))[_0x1cd3('0x39b')](_0x1cd3('0x2656'),_0x23cd0c);function _0x23cd0c(_0x1dfa25,_0x59ddb3,_0x577416,_0x3e01a9,_0x3bd0a0,_0x48da8d,_0x5c5a3c,_0x43adfb,_0x5293d9,_0x47349c){var _0x3d045e=this;_0x3d045e[_0x1cd3('0x3ca')]=_0x5293d9['getCurrentUser']();_0x3d045e[_0x1cd3('0xa48')]=_0x3bd0a0;_0x3d045e[_0x1cd3('0xd27')]=_0x47349c;_0x3d045e['penalty']=0x0;_0x3d045e[_0x1cd3('0x11b9')]=_0x5c5a3c;_0x3d045e['items']=[];_0x3d045e[_0x1cd3('0x11ba')]=[];_0x3d045e[_0x1cd3('0x492')]=[];_0x3d045e[_0x1cd3('0x11bb')]=[];_0x3d045e[_0x1cd3('0x11be')]=[];_0x3d045e['pendingChanges']=![];_0x3d045e[_0x1cd3('0x703')]=_0x981a7e;_0x3d045e[_0x1cd3('0x11bc')]=_0x1fbb78;_0x3d045e[_0x1cd3('0x39c')]=_0x6798a9;_0x3d045e[_0x1cd3('0x1145')]={'readOnly':!_0x3d045e['crudPermissions'][_0x1cd3('0xe3b')],'items':[],'selectedItems':[],'showSelectAndDeselectAll':!![],'orderBy':_0x1cd3('0x98'),'line1':_0x1cd3('0xd3'),'line2':[_0x1cd3('0x98'),_0x1cd3('0x311')],'line3':_0x1cd3('0x1146'),'labelAll':_0x43adfb[_0x1cd3('0x44a')](_0x1cd3('0x26b0')),'labelSelected':_0x43adfb[_0x1cd3('0x44a')]('VOICE.SELECTED_AGENTS'),'transferCallback':function(_0x415e01,_0x17ed8f){if(_0x17ed8f){_0x415e01['forEach'](function(_0x494ed3){_0x494ed3[_0x1cd3('0x1146')]=undefined;});}else{_0x415e01[_0x1cd3('0x394')](function(_0x42cdcb){_0x42cdcb[_0x1cd3('0x1146')]=_0x1cd3('0x1503')+_0x3d045e[_0x1cd3('0x1146')];});}var _0x7c9d55=_[_0x1cd3('0x1e1f')](_0x3d045e[_0x1cd3('0x11be')],_0x3d045e[_0x1cd3('0x492')],function(_0x129f32,_0x156be2){return _0x129f32['id']===_0x156be2['id']&&_0x129f32[_0x1cd3('0x1146')]===_0x156be2[_0x1cd3('0x1146')];});_0x3d045e[_0x1cd3('0x11c6')]=_[_0x1cd3('0x398')](_0x7c9d55)?![]:!![];}};function _0x981a7e(){return _0x5293d9[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x3ff607()['catch'](function(_0x5d4588){_0x577416['error']({'title':_0x5d4588[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x5d4588[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x5d4588[_0x1cd3('0xd35')]:_0x1cd3('0x11bf'),'msg':_0x5d4588[_0x1cd3('0x3a6')]?JSON[_0x1cd3('0x438')](_0x5d4588[_0x1cd3('0x439')]):_0x5d4588[_0x1cd3('0x43b')]()});}):_0x45e4da()['then'](function(_0x1217aa){_0x3d045e[_0x1cd3('0xd58')]=_0x1217aa;return _0x3ff607();})[_0x1cd3('0xfd')](function(_0x4f6036){_0x577416[_0x1cd3('0x434')]({'title':_0x4f6036[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x4f6036[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x4f6036[_0x1cd3('0xd35')]:_0x1cd3('0x11bf'),'msg':_0x4f6036[_0x1cd3('0x3a6')]?JSON['stringify'](_0x4f6036[_0x1cd3('0x439')]):_0x4f6036[_0x1cd3('0x43b')]()});});}function _0x45e4da(){return _0x59ddb3(function(_0x5c814f,_0x3e1285){_0x3e01a9[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x3d045e[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'name':_0x1cd3('0xd4')})[_0x1cd3('0x81')]['then'](function(_0x418488){var _0x3981ba=_0x418488&&_0x418488['rows']?_0x418488[_0x1cd3('0xf6')][0x0]:null;_0x5c814f(_0x3981ba);})[_0x1cd3('0xfd')](function(_0x359d2e){_0x3e1285(_0x359d2e);});});}function _0x3ff607(){return _0x59ddb3(function(_0x37958c,_0x35ed10){return _0x5c7cb8()[_0x1cd3('0x77')](function(_0x90a673){_0x3d045e[_0x1cd3('0x493')]=_0x90a673[_0x1cd3('0xf6')]?_0x90a673['rows']:[];if(_0x5293d9[_0x1cd3('0x57')](_0x1cd3('0x5f'))){return _0x90a673;}else{if(_0x3d045e[_0x1cd3('0xd58')]){return _0x3d045e[_0x1cd3('0xd58')]['autoAssociation']?_0x90a673:_0x3dd1ee();}else{return null;}}})[_0x1cd3('0x77')](function(_0x1c6361){var _0x30ee86=_0x1c6361&&_0x1c6361['rows']?_0x1c6361[_0x1cd3('0xf6')]:[];_0x3d045e['allowedItems']=_['map'](_0x30ee86,function(_0x5b490d){return _[_0x1cd3('0x442')](_0x3d045e[_0x1cd3('0x493')],{'id':_0x5293d9[_0x1cd3('0x57')]('admin')||_0x3d045e[_0x1cd3('0xd58')][_0x1cd3('0x391')]?_0x5b490d['id']:_0x5b490d[_0x1cd3('0xe8e')]});});_0x3d045e[_0x1cd3('0x11bb')]=angular[_0x1cd3('0x429')](_0x3d045e[_0x1cd3('0x11ba')]);_0x3d045e['items'][_0x1cd3('0x394')](function(_0x741d1b){var _0x2feee7=_[_0x1cd3('0x442')](_0x3d045e[_0x1cd3('0x11ba')],{'id':_0x741d1b['id']});if(_0x5293d9['hasRole'](_0x1cd3('0x5f'))){_0x741d1b[_0x1cd3('0x490')]=!![];}else{_0x741d1b[_0x1cd3('0x490')]=typeof _0x2feee7!==_0x1cd3('0x491')?!![]:![];}});return _0x45208c();})['then'](function(_0x32f373){var _0x43a1b9=_0x32f373&&_0x32f373[_0x1cd3('0xf6')]?_0x32f373[_0x1cd3('0xf6')]:[];_0x3d045e['selectedItems']=_[_0x1cd3('0x3d9')](_0x43a1b9,function(_0x13fa1a){var _0x4342e4=_[_0x1cd3('0x442')](_0x3d045e[_0x1cd3('0x493')],{'id':_0x13fa1a['id']});_0x4342e4['penalty']=_0x13fa1a['UserVoiceQueue']?_0x1cd3('0x1503')+_0x13fa1a[_0x1cd3('0x1e20')]['penalty']:'';_0x4342e4['internal']=_0x13fa1a[_0x1cd3('0x3d0')](_0x1cd3('0x311'))?'<'+_0x13fa1a[_0x1cd3('0x311')]+'>':'';return _0x4342e4;});_0x3d045e[_0x1cd3('0x11be')]=angular[_0x1cd3('0x429')](_0x3d045e[_0x1cd3('0x492')]);_0x3d045e['dualMultiselectOptions']['selectedItems']=_0x3d045e[_0x1cd3('0x492')];_0x3d045e['dualMultiselectOptions'][_0x1cd3('0x493')]=_['differenceBy'](_0x3d045e[_0x1cd3('0x11ba')],_0x3d045e['dualMultiselectOptions'][_0x1cd3('0x492')],'id');_0x37958c();})[_0x1cd3('0xfd')](function(_0x2df448){_0x35ed10(_0x2df448);});});}function _0x3dd1ee(){return _0x59ddb3(function(_0x2305a8,_0x128e19){return _0x3e01a9['userProfileResource'][_0x1cd3('0x361')]({'sectionId':_0x3d045e['section']['id'],'nolimit':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x324899){_0x2305a8(_0x324899);})[_0x1cd3('0xfd')](function(_0x14d2ef){_0x128e19(_0x14d2ef);});});}function _0x45208c(){return _0x59ddb3(function(_0x89bd1d,_0xf4a71f){return _0x3e01a9[_0x1cd3('0xa48')][_0x1cd3('0x1269')]({'id':_0x3d045e[_0x1cd3('0xa48')]['id'],'fields':_0x1cd3('0x11c1'),'nolimit':!![],'role':_0x1cd3('0xd2')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0xc1fcb5){_0x89bd1d(_0xc1fcb5);})[_0x1cd3('0xfd')](function(_0x44d0a3){_0xf4a71f(_0x44d0a3);});});}function _0x5c7cb8(){return _0x59ddb3(function(_0x4c6fbd,_0x597957){return _0x3e01a9[_0x1cd3('0x368')][_0x1cd3('0x361')]({'fields':_0x1cd3('0x11c1'),'nolimit':!![],'role':_0x1cd3('0xd2')})['$promise']['then'](function(_0x5ecce2){_0x4c6fbd(_0x5ecce2);})['catch'](function(_0x7618f9){_0x597957(_0x7618f9);});});}function _0x1b0278(_0x5ee19f){return _0x59ddb3(function(_0x31b0ec,_0x20d637){if(_[_0x1cd3('0x398')](_0x5ee19f)){_0x31b0ec();}else{var _0x1e40ca=[];var _0x4a99c5=_['groupBy'](_0x5ee19f,_0x1cd3('0x1146'));for(var _0x1ddb71=0x0;_0x1ddb71<Object[_0x1cd3('0x80')](_0x4a99c5)[_0x1cd3('0x7a')];_0x1ddb71++){var _0x12d7a6=Object[_0x1cd3('0x80')](_0x4a99c5)[_0x1ddb71];var _0x432c5f=_['filter'](_0x5ee19f,[_0x1cd3('0x1146'),_0x12d7a6]);_0x1e40ca[_0x1cd3('0x7b')](_0x3e01a9[_0x1cd3('0xa48')][_0x1cd3('0x11c2')]({'id':_0x3d045e[_0x1cd3('0xa48')]['id'],'ids':_[_0x1cd3('0x3d9')](_0x432c5f,'id'),'penalty':_[_0x1cd3('0x77b')](_0x12d7a6,_0x1cd3('0x1503')),'realtime':_0x3d045e[_0x1cd3('0x11b9')]||![]})[_0x1cd3('0x81')]);}_0x59ddb3[_0x1cd3('0x7e')](_0x1e40ca)[_0x1cd3('0x77')](function(){_0x31b0ec();})[_0x1cd3('0xfd')](function(_0x1d8fbf){_0x20d637(_0x1d8fbf);});}});}function _0x3381cb(_0x13c7e2){return _0x59ddb3(function(_0x30cbea,_0x2112a9){if(_[_0x1cd3('0x398')](_0x13c7e2)){_0x30cbea();}else{_0x3e01a9['voiceQueue'][_0x1cd3('0x11c3')]({'id':_0x3d045e[_0x1cd3('0xa48')]['id'],'ids':_[_0x1cd3('0x3d9')](_0x13c7e2,'id')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x30cbea();})[_0x1cd3('0xfd')](function(_0x124c1c){_0x2112a9(_0x124c1c);});}});}function _0x1fbb78(){var _0x46b628=_['differenceBy'](_0x3d045e[_0x1cd3('0x11be')],_0x3d045e['selectedItems'],'id');var _0xeaa9fb=_['differenceWith'](_0x3d045e[_0x1cd3('0x492')],_0x3d045e['startingSelectedItems'],function(_0x30d281,_0x22570b){return _0x30d281['id']===_0x22570b['id']&&_0x30d281[_0x1cd3('0x1146')]===_0x22570b[_0x1cd3('0x1146')];});return _0x3381cb(_0x46b628)[_0x1cd3('0x77')](function(){return _0x1b0278(_0xeaa9fb);})['then'](function(){_0x3d045e[_0x1cd3('0x11c6')]=![];_0x3d045e['startingAllowedItems']=angular[_0x1cd3('0x429')](_0x3d045e['allowedItems']);_0x3d045e[_0x1cd3('0x11be')]=angular[_0x1cd3('0x429')](_0x3d045e[_0x1cd3('0x492')]);_0x577416[_0x1cd3('0x473')]({'title':_0x1cd3('0x11c4'),'msg':_0x1cd3('0x11c5')});})[_0x1cd3('0xfd')](function(_0x4d75c1){_0x577416['error']({'title':_0x4d75c1['status']?_0x1cd3('0x435')+_0x4d75c1[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x4d75c1['statusText']:'SYSTEM:LISTS_ASSOCIATION','msg':_0x4d75c1[_0x1cd3('0x3a6')]?JSON['stringify'](_0x4d75c1['data']):_0x4d75c1[_0x1cd3('0x43b')]()});});}function _0x6798a9(){_0x1dfa25[_0x1cd3('0x39d')]();}}}());(function(){'use strict';_0x1c6e8c[_0x1cd3('0xc')]=['$mdDialog','$q',_0x1cd3('0x461'),'api','voiceQueue',_0x1cd3('0x3f7'),'Auth','crudPermissions'];angular[_0x1cd3('0x0')](_0x1cd3('0x2d'))[_0x1cd3('0x39b')]('VoiceQueueteamaddController',_0x1c6e8c);function _0x1c6e8c(_0x6eca4c,_0xcb4b98,_0x1a9351,_0x3dfb2f,_0x4c1097,_0x2cd0d9,_0x2f84f5,_0x1b5b8e){var _0x27f61b=this;_0x27f61b[_0x1cd3('0x3ca')]=_0x2f84f5[_0x1cd3('0x5d')]();_0x27f61b[_0x1cd3('0xa48')]=_0x4c1097;_0x27f61b['crudPermissions']=_0x1b5b8e;_0x27f61b[_0x1cd3('0x1146')]=0x0;_0x27f61b[_0x1cd3('0x493')]=[];_0x27f61b[_0x1cd3('0x11ba')]=[];_0x27f61b[_0x1cd3('0x492')]=[];_0x27f61b['startingAllowedItems']=[];_0x27f61b[_0x1cd3('0x11be')]=[];_0x27f61b[_0x1cd3('0x11c6')]=![];_0x27f61b[_0x1cd3('0x1145')]={'readOnly':!_0x27f61b[_0x1cd3('0xd27')][_0x1cd3('0xe3b')],'allowedItems':[],'selectedItems':[],'showSelectAndDeselectAll':!![],'orderBy':'name','line1':'name','line2':'','line3':'','labelAll':_0x2cd0d9['instant']('VOICE.ALL_TEAMS'),'labelSelected':_0x2cd0d9[_0x1cd3('0x44a')]('VOICE.SELECTED_TEAMS'),'transferCallback':function(_0x5e5f04,_0x14af70){if(_0x14af70){_0x5e5f04['forEach'](function(_0x1849db){_0x1849db[_0x1cd3('0x1146')]=undefined;});}else{_0x5e5f04[_0x1cd3('0x394')](function(_0x1d2b29){_0x1d2b29[_0x1cd3('0x1146')]='penalty\x20'+_0x27f61b[_0x1cd3('0x1146')];});}var _0x13c183=_[_0x1cd3('0x11c8')](_0x27f61b[_0x1cd3('0x11be')],_0x27f61b[_0x1cd3('0x492')],'id');_0x27f61b[_0x1cd3('0x11c6')]=_[_0x1cd3('0x398')](_0x13c183)?![]:!![];}};_0x27f61b[_0x1cd3('0x703')]=_0x4166eb;_0x27f61b[_0x1cd3('0x1968')]=_0x287459;_0x27f61b[_0x1cd3('0x39c')]=_0x9c8e1a;function _0x4166eb(){return _0x2f84f5[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x3e62cf()[_0x1cd3('0xfd')](function(_0x5ac9f9){_0x1a9351[_0x1cd3('0x434')]({'title':_0x5ac9f9[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x5ac9f9['status']+'\x20-\x20'+_0x5ac9f9[_0x1cd3('0xd35')]:_0x1cd3('0x11c9'),'msg':_0x5ac9f9[_0x1cd3('0x3a6')]?JSON[_0x1cd3('0x438')](_0x5ac9f9[_0x1cd3('0x439')]):_0x5ac9f9[_0x1cd3('0x43b')]()});}):_0x5b906c()[_0x1cd3('0x77')](function(_0x34b67d){_0x27f61b['section']=_0x34b67d;return _0x3e62cf();})['catch'](function(_0x36f213){_0x1a9351['error']({'title':_0x36f213['status']?_0x1cd3('0x435')+_0x36f213['status']+_0x1cd3('0x436')+_0x36f213[_0x1cd3('0xd35')]:_0x1cd3('0x11c9'),'msg':_0x36f213['status']?JSON['stringify'](_0x36f213[_0x1cd3('0x439')]):_0x36f213['toString']()});});}function _0x5b906c(){return _0xcb4b98(function(_0x58b697,_0x53da37){_0x3dfb2f[_0x1cd3('0x390')]['get']({'userProfileId':_0x27f61b['currentUser'][_0x1cd3('0x5e')],'name':_0x1cd3('0x296')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x4d2e7d){var _0x212d9e=_0x4d2e7d&&_0x4d2e7d[_0x1cd3('0xf6')]?_0x4d2e7d['rows'][0x0]:null;_0x58b697(_0x212d9e);})[_0x1cd3('0xfd')](function(_0x59180e){_0x53da37(_0x59180e);});});}function _0x3e62cf(){return _0xcb4b98(function(_0x17f426,_0x23eac3){return _0x31d720()['then'](function(_0x4b3182){_0x27f61b[_0x1cd3('0x493')]=_0x4b3182[_0x1cd3('0xf6')]?_0x4b3182[_0x1cd3('0xf6')]:[];if(_0x2f84f5[_0x1cd3('0x57')]('admin')){return _0x4b3182;}else{if(_0x27f61b[_0x1cd3('0xd58')]){return _0x27f61b[_0x1cd3('0xd58')]['autoAssociation']?_0x4b3182:_0x1a1a7e();}else{return null;}}})[_0x1cd3('0x77')](function(_0x11b094){var _0x1e27ae=_0x11b094&&_0x11b094[_0x1cd3('0xf6')]?_0x11b094[_0x1cd3('0xf6')]:[];_0x27f61b[_0x1cd3('0x11ba')]=_[_0x1cd3('0x3d9')](_0x1e27ae,function(_0x72e0e1){return _[_0x1cd3('0x442')](_0x27f61b[_0x1cd3('0x493')],{'id':_0x2f84f5['hasRole'](_0x1cd3('0x5f'))||_0x27f61b[_0x1cd3('0xd58')][_0x1cd3('0x391')]?_0x72e0e1['id']:_0x72e0e1[_0x1cd3('0xe8e')]});});_0x27f61b[_0x1cd3('0x493')][_0x1cd3('0x394')](function(_0x548568){var _0x4634ef=_[_0x1cd3('0x442')](_0x27f61b[_0x1cd3('0x11ba')],{'id':_0x548568['id']});if(_0x2f84f5[_0x1cd3('0x57')](_0x1cd3('0x5f'))){_0x548568[_0x1cd3('0x490')]=!![];}else{_0x548568[_0x1cd3('0x490')]=typeof _0x4634ef!=='undefined'?!![]:![];}});return _0x2fdd47();})[_0x1cd3('0x77')](function(_0x591a7a){var _0x5b21d3=_0x591a7a&&_0x591a7a[_0x1cd3('0xf6')]?_0x591a7a['rows']:[];_0x27f61b[_0x1cd3('0x492')]=_[_0x1cd3('0x3d9')](_0x5b21d3,function(_0x352ae7){return _[_0x1cd3('0x442')](_0x27f61b[_0x1cd3('0x493')],{'id':_0x352ae7['id']});});_0x27f61b[_0x1cd3('0x11be')]=angular[_0x1cd3('0x429')](_0x27f61b[_0x1cd3('0x492')]);_0x27f61b[_0x1cd3('0x1145')][_0x1cd3('0x492')]=_0x27f61b[_0x1cd3('0x492')];_0x27f61b[_0x1cd3('0x1145')][_0x1cd3('0x493')]=_[_0x1cd3('0x1152')](_0x27f61b[_0x1cd3('0x11ba')],_0x27f61b['dualMultiselectOptions']['selectedItems'],'id');_0x17f426();})[_0x1cd3('0xfd')](function(_0x7ef59b){_0x23eac3(_0x7ef59b);});});}function _0x1a1a7e(){return _0xcb4b98(function(_0x14c5cf,_0x337a36){return _0x3dfb2f['userProfileResource'][_0x1cd3('0x361')]({'sectionId':_0x27f61b[_0x1cd3('0xd58')]['id'],'nolimit':!![]})['$promise'][_0x1cd3('0x77')](function(_0x28486a){_0x14c5cf(_0x28486a);})[_0x1cd3('0xfd')](function(_0x264951){_0x337a36(_0x264951);});});}function _0x2fdd47(){return _0xcb4b98(function(_0x3595cc,_0x4e93da){return _0x3dfb2f[_0x1cd3('0xa48')][_0x1cd3('0x11ca')]({'id':_0x27f61b[_0x1cd3('0xa48')]['id'],'fields':_0x1cd3('0xa6'),'nolimit':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x58bea6){_0x3595cc(_0x58bea6);})[_0x1cd3('0xfd')](function(_0x380bc3){_0x4e93da(_0x380bc3);});});}function _0x31d720(){return _0xcb4b98(function(_0x2d16c8,_0x10fb8a){return _0x3dfb2f[_0x1cd3('0xc61')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'nolimit':!![]})['$promise'][_0x1cd3('0x77')](function(_0x2184c4){_0x2d16c8(_0x2184c4);})['catch'](function(_0x597627){_0x10fb8a(_0x597627);});});}function _0x25c0ec(_0x30a472){return _0xcb4b98(function(_0x30e90e,_0x1a772d){if(_[_0x1cd3('0x398')](_0x30a472)){_0x30e90e();}else{var _0x3652e4=_[_0x1cd3('0x3d9')](_0x30a472,function(_0x1ee394){return{'id':_0x1ee394['id'],'penalty':_[_0x1cd3('0x77b')](_0x1ee394[_0x1cd3('0x1146')],'penalty\x20')};});return _0x3dfb2f['voiceQueue'][_0x1cd3('0x11cb')]({'id':_0x27f61b[_0x1cd3('0xa48')]['id'],'teams':_0x3652e4})['$promise'][_0x1cd3('0x77')](function(){_0x30e90e();})[_0x1cd3('0xfd')](function(_0x347bfd){_0x1a772d(_0x347bfd);});}});}function _0x196692(_0x569b73){return _0xcb4b98(function(_0x93e409,_0x27be5b){if(_[_0x1cd3('0x398')](_0x569b73)){_0x93e409();}else{_0x3dfb2f['voiceQueue']['removeTeams']({'id':_0x27f61b['voiceQueue']['id'],'ids':_[_0x1cd3('0x3d9')](_0x569b73,'id')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x93e409();})['catch'](function(_0x410899){_0x27be5b(_0x410899);});}});}function _0x287459(){var _0x1aa801=_[_0x1cd3('0x1152')](_0x27f61b[_0x1cd3('0x11be')],_0x27f61b[_0x1cd3('0x492')],'id');var _0x20936e=_[_0x1cd3('0x1152')](_0x27f61b[_0x1cd3('0x492')],_0x27f61b[_0x1cd3('0x11be')],'id');return _0x196692(_0x1aa801)[_0x1cd3('0x77')](function(){return _0x25c0ec(_0x20936e);})['then'](function(){_0x27f61b['pendingChanges']=![];_0x27f61b[_0x1cd3('0x11bb')]=angular[_0x1cd3('0x429')](_0x27f61b['allowedItems']);_0x27f61b['startingSelectedItems']=angular[_0x1cd3('0x429')](_0x27f61b[_0x1cd3('0x492')]);_0x1a9351['success']({'title':_0x1cd3('0x11c4'),'msg':_0x1cd3('0x11cd')});})[_0x1cd3('0xfd')](function(_0x2d9fe5){_0x1a9351['error']({'title':_0x2d9fe5[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x2d9fe5[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x2d9fe5[_0x1cd3('0xd35')]:_0x1cd3('0x11ce'),'msg':_0x2d9fe5[_0x1cd3('0x3a6')]?JSON[_0x1cd3('0x438')](_0x2d9fe5['data']):_0x2d9fe5[_0x1cd3('0x43b')]()});});}function _0x9c8e1a(){_0x6eca4c[_0x1cd3('0x39d')]();}}}());(function(){'use strict';_0xb8cb1d['$inject']=['$state',_0x1cd3('0xd24'),'$mdDialog',_0x1cd3('0x372'),_0x1cd3('0x3f7'),_0x1cd3('0x463'),_0x1cd3('0xc49'),_0x1cd3('0x370'),_0x1cd3('0x461'),'Auth',_0x1cd3('0xa48'),'userProfileSection'];angular[_0x1cd3('0x0')](_0x1cd3('0x2d'))[_0x1cd3('0x39b')]('VoiceQueueController',_0xb8cb1d);function _0xb8cb1d(_0x35fcb1,_0xc5e423,_0x2fcddb,_0x259e42,_0x950040,_0x46b30a,_0x4f83bd,_0x38df50,_0x5dbc56,_0x4038c9,_0x2c7ede,_0x285de1){var _0x3b6c76=this;_0x3b6c76[_0x1cd3('0x3ca')]=_0x4038c9['getCurrentUser']();_0x3b6c76[_0x1cd3('0x463')]=_0x46b30a;_0x3b6c76[_0x1cd3('0xc49')]=_0x4f83bd;_0x3b6c76[_0x1cd3('0xd29')]=_0x3b6c76[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x3b6c76[_0x1cd3('0xd22')]=_0xc5e423[_0x1cd3('0x3b0')]()+'://'+_0xc5e423[_0x1cd3('0x3ac')]();_0x3b6c76[_0x1cd3('0xa48')]=_0x2c7ede||_0x35fcb1[_0x1cd3('0x36a')][_0x1cd3('0xa48')]||{};_0x3b6c76[_0x1cd3('0x390')]=_0x285de1&&_0x285de1['count']==0x1?_0x285de1[_0x1cd3('0xf6')][0x0]:null;_0x3b6c76[_0x1cd3('0xd27')]=_0x4038c9['parseCrudPermissions'](_0x3b6c76['userProfileSection']?_0x3b6c76[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);_0x3b6c76[_0x1cd3('0xd28')]={};_0x3b6c76[_0x1cd3('0xe5f')]=_0x35fcb1['params'][_0x1cd3('0x1418')]||0x0;_0x3b6c76[_0x1cd3('0x119a')]=_0x4b89cc;_0x3b6c76[_0x1cd3('0x119b')]=_0xd237bd;_0x3b6c76[_0x1cd3('0x1419')]=_0x13fd8e;_0x3b6c76[_0x1cd3('0x11d0')]=_0x5dbc56[_0x1cd3('0x654')];_0x3b6c76[_0x1cd3('0x26b1')]=_0x3bf6a1;_0x3b6c76['saveVoiceQueue']=_0x15c8b2;_0x4038c9[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x38df50[_0x1cd3('0xa44')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'nolimit':'true'})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x49140b){_0x3b6c76['musiconholds']=_0x49140b[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x25fe89){_0x5dbc56['error']({'title':_0x25fe89[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x25fe89[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x25fe89[_0x1cd3('0xd35')]:_0x1cd3('0x1e59'),'msg':_0x25fe89[_0x1cd3('0x439')]?JSON['stringify'](_0x25fe89[_0x1cd3('0x439')]):_0x25fe89['toString']()});}):_0x38df50[_0x1cd3('0xa44')][_0x1cd3('0x361')]({'fields':'id,name','nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x3786d8){_0x3b6c76[_0x1cd3('0x1e5a')]=_0x3786d8['rows']||[];})[_0x1cd3('0x77')](function(){return _0x38df50[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x3b6c76[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x197})[_0x1cd3('0x81')];})['then'](function(_0x37db26){var _0x52d30e=_0x37db26&&_0x37db26[_0x1cd3('0xf6')]?_0x37db26['rows'][0x0]:null;if(!_0x52d30e){return _0x38df50[_0x1cd3('0xa44')][_0x1cd3('0x361')]({'fields':'id,name','nolimit':'true','defaultEntry':0x1})[_0x1cd3('0x81')]['then'](function(_0x4b51cb){_0x3b6c76[_0x1cd3('0x1e5a')]=_0x4b51cb[_0x1cd3('0xf6')]||[];});}else{if(!_0x52d30e['autoAssociation']){return _0x38df50[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x52d30e['id']})['$promise'][_0x1cd3('0x77')](function(_0x26928b){var _0x2e4a32=_['map'](_0x26928b[_0x1cd3('0xf6')],function(_0x23ccb1){return _[_0x1cd3('0x442')](_0x3b6c76[_0x1cd3('0x1e5a')],{'id':_0x23ccb1[_0x1cd3('0xe8e')]});});var _0x155083=null;if(_0x3b6c76[_0x1cd3('0xa48')]){_0x155083=_[_0x1cd3('0x442')](_0x3b6c76['musiconholds'],{'name':_0x3b6c76['voiceQueue'][_0x1cd3('0x1e5b')]});}if(_0x155083&&!_['some'](_0x2e4a32,['id',_0x155083['id']])){var _0x15f1ba=_[_0x1cd3('0x442')](_0x3b6c76[_0x1cd3('0x1e5a')],{'id':_0x155083['id']});_0x15f1ba[_0x1cd3('0xf4a')]=![];_0x2e4a32[_0x1cd3('0x7b')](_0x15f1ba);}_0x3b6c76['musiconholds']=_0x2e4a32;});}}})['catch'](function(_0x341fb7){_0x5dbc56[_0x1cd3('0x434')]({'title':_0x341fb7[_0x1cd3('0x3a6')]?'API:'+_0x341fb7[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x341fb7[_0x1cd3('0xd35')]:_0x1cd3('0x26b2'),'msg':_0x341fb7[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x341fb7[_0x1cd3('0x439')]):_0x341fb7[_0x1cd3('0x43b')]()});});_0x4038c9[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x38df50[_0x1cd3('0xf53')]['get']({'fields':_0x1cd3('0x2524'),'sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0xa74247){_0x3b6c76[_0x1cd3('0xef6')]=_0xa74247['rows']||[];})[_0x1cd3('0xfd')](function(_0x5a158b){_0x5dbc56['error']({'title':_0x5a158b['status']?'API:'+_0x5a158b[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x5a158b[_0x1cd3('0xd35')]:_0x1cd3('0x2577'),'msg':_0x5a158b[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x5a158b[_0x1cd3('0x439')]):_0x5a158b[_0x1cd3('0x43b')]()});}):_0x38df50[_0x1cd3('0xf53')][_0x1cd3('0x361')]({'fields':_0x1cd3('0x2524'),'sort':'name','nolimit':'true'})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x19c810){_0x3b6c76['sounds']=_0x19c810['rows']||[];})[_0x1cd3('0x77')](function(){return _0x38df50[_0x1cd3('0x390')]['get']({'userProfileId':_0x3b6c76['currentUser']['userProfileId'],'sectionId':0x3ef})['$promise'];})[_0x1cd3('0x77')](function(_0x36f7b2){var _0x5d1231=_0x36f7b2&&_0x36f7b2[_0x1cd3('0xf6')]?_0x36f7b2[_0x1cd3('0xf6')][0x0]:null;if(!_0x5d1231){_0x3b6c76['sounds']=[];}else{if(!_0x5d1231['autoAssociation']){return _0x38df50['userProfileResource'][_0x1cd3('0x361')]({'sectionId':_0x5d1231['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x36402f){var _0x155261=_[_0x1cd3('0x3d9')](_0x36402f['rows'],function(_0x4df35c){return _[_0x1cd3('0x442')](_0x3b6c76[_0x1cd3('0xef6')],{'id':_0x4df35c[_0x1cd3('0xe8e')]});});_0x3b6c76[_0x1cd3('0xef6')][_0x1cd3('0x394')](function(_0x1318c7){if(!_[_0x1cd3('0x38d')](_0x155261,['id',_0x1318c7['id']])){_0x1318c7['canSelect']=![];}_0x155261[_0x1cd3('0x7b')](_0x1318c7);});_0x3b6c76[_0x1cd3('0xef6')]=_0x155261;});}}})[_0x1cd3('0xfd')](function(_0x3f5f93){_0x5dbc56[_0x1cd3('0x434')]({'title':_0x3f5f93[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x3f5f93[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x3f5f93[_0x1cd3('0xd35')]:_0x1cd3('0x25bf'),'msg':_0x3f5f93[_0x1cd3('0x439')]?JSON['stringify'](_0x3f5f93[_0x1cd3('0x439')]):_0x3f5f93[_0x1cd3('0x43b')]()});});_0x4038c9[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x38df50['pause'][_0x1cd3('0x361')]({'fields':_0x1cd3('0x1380'),'sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})['$promise'][_0x1cd3('0x77')](function(_0x3e1d90){_0x3b6c76[_0x1cd3('0x1381')]=_0x3e1d90[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x967aa3){_0x5dbc56[_0x1cd3('0x434')]({'title':_0x967aa3[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x967aa3['status']+_0x1cd3('0x436')+_0x967aa3[_0x1cd3('0xd35')]:_0x1cd3('0x1382'),'msg':_0x967aa3[_0x1cd3('0x439')]?JSON['stringify'](_0x967aa3[_0x1cd3('0x439')]):_0x967aa3[_0x1cd3('0x43b')]()});}):_0x38df50[_0x1cd3('0x63e')]['get']({'fields':_0x1cd3('0x1380'),'sort':_0x1cd3('0x98'),'nolimit':'true'})['$promise']['then'](function(_0x31ff3d){_0x3b6c76[_0x1cd3('0x1381')]=_0x31ff3d['rows']||[];})[_0x1cd3('0x77')](function(){return _0x38df50[_0x1cd3('0x390')]['get']({'userProfileId':_0x3b6c76[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x3ed})['$promise'];})['then'](function(_0x11f08a){var _0x4f03a6=_0x11f08a&&_0x11f08a[_0x1cd3('0xf6')]?_0x11f08a[_0x1cd3('0xf6')][0x0]:null;if(!_0x4f03a6){_0x3b6c76[_0x1cd3('0x1381')]=[];}else{if(!_0x4f03a6[_0x1cd3('0x391')]){return _0x38df50[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x4f03a6['id']})[_0x1cd3('0x81')]['then'](function(_0x916715){var _0x42b269=_['map'](_0x916715[_0x1cd3('0xf6')],function(_0xfd5098){return _[_0x1cd3('0x442')](_0x3b6c76[_0x1cd3('0x1381')],{'id':_0xfd5098[_0x1cd3('0xe8e')]});});_0x3b6c76[_0x1cd3('0x1381')][_0x1cd3('0x394')](function(_0x2fab83){if(!_['some'](_0x42b269,['id',_0x2fab83['id']])){_0x2fab83[_0x1cd3('0xf4a')]=![];}_0x42b269[_0x1cd3('0x7b')](_0x2fab83);});_0x3b6c76['pauses']=_0x42b269;});}}})[_0x1cd3('0xfd')](function(_0x2b9386){_0x5dbc56[_0x1cd3('0x434')]({'title':_0x2b9386['status']?_0x1cd3('0x435')+_0x2b9386[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x2b9386[_0x1cd3('0xd35')]:'SYSTEM:GETpauses','msg':_0x2b9386[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x2b9386[_0x1cd3('0x439')]):_0x2b9386[_0x1cd3('0x43b')]()});});function _0x4b89cc(_0x1c99a8,_0x3a1a56){_0x2fcddb[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x26b3'),'controllerAs':'vm','templateUrl':_0x1cd3('0x26b4'),'parent':angular['element'](_0x259e42['body']),'targetEvent':_0x3a1a56,'clickOutsideToClose':!![],'locals':{'voiceQueue':_0x1c99a8,'voiceQueues':_0x3b6c76[_0x1cd3('0x8d9')]?_0x3b6c76['voiceQueues'][_0x1cd3('0xf6')]:[],'crudPermissions':_0x3b6c76['crudPermissions']}});}function _0xd237bd(_0xc5970f,_0x1c2178){_0x2fcddb[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x2656'),'controllerAs':'vm','templateUrl':_0x1cd3('0x2657'),'parent':angular['element'](_0x259e42[_0x1cd3('0x380')]),'targetEvent':_0x1c2178,'clickOutsideToClose':!![],'locals':{'voiceQueue':_0xc5970f,'voiceQueues':_0x3b6c76['voiceQueues']?_0x3b6c76[_0x1cd3('0x8d9')][_0x1cd3('0xf6')]:[],'crudPermissions':_0x3b6c76['crudPermissions'],'realtime':![]}});}function _0x13fd8e(_0x1d1639,_0x19a0a2){if(_0x4038c9['hasRole']('admin')){_0x35fcb1['go'](_0x1cd3('0x2f1'),{});}else{return _0x38df50[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x4038c9[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'sectionId':0x19b})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x294dad){var _0x13f33b=_0x294dad&&_0x294dad[_0x1cd3('0xf6')]?_0x294dad[_0x1cd3('0xf6')][0x0]:null;if(_0x13f33b&&_0x13f33b[_0x1cd3('0x396')]){_0x35fcb1['go'](_0x1cd3('0x2f1'),{});}else{_0x5dbc56[_0x1cd3('0x654')]({'title':_0x950040[_0x1cd3('0x44a')](_0x1cd3('0x1164')),'msg':_0x950040[_0x1cd3('0x44a')](_0x1cd3('0x11a9'))});}})[_0x1cd3('0xfd')](function(_0x476172){_0x5dbc56[_0x1cd3('0x434')]({'title':_0x476172[_0x1cd3('0x3a6')]?'API:'+_0x476172[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x476172[_0x1cd3('0xd35')]:_0x1cd3('0x11aa'),'msg':_0x476172[_0x1cd3('0x3a6')]?JSON[_0x1cd3('0x438')](_0x476172[_0x1cd3('0x439')]):_0x476172[_0x1cd3('0x43b')]()});});}}function _0x3bf6a1(){_0x35fcb1['go']('app.voice.voiceQueues',{},{'reload':'app.voice.voiceQueues'});}function _0x15c8b2(){_0x38df50[_0x1cd3('0xa48')]['update']({'id':_0x3b6c76['voiceQueue']['id']},_0x3b6c76['voiceQueue'])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x5dbc56['success']({'title':'VoiceQueue\x20updated!','msg':_0x3b6c76[_0x1cd3('0xa48')][_0x1cd3('0x98')]?_0x3b6c76['voiceQueue'][_0x1cd3('0x98')]+'\x20has\x20been\x20updated!':''});})[_0x1cd3('0xfd')](function(_0x94b044){_0x5dbc56['error']({'title':_0x94b044['status']?_0x1cd3('0x435')+_0x94b044[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x94b044[_0x1cd3('0xd35')]:_0x1cd3('0x1da2'),'msg':_0x94b044[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x94b044[_0x1cd3('0x439')]):_0x94b044[_0x1cd3('0x43b')]()});});}}}());(function(){'use strict';_0x36fe19[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x371'),_0x1cd3('0x53e'),_0x1cd3('0x969'),_0x1cd3('0x3c5'),_0x1cd3('0x372'),_0x1cd3('0x3e7'),'$translate',_0x1cd3('0x8d9'),_0x1cd3('0x38a'),_0x1cd3('0x390'),_0x1cd3('0x370'),_0x1cd3('0x2dd'),_0x1cd3('0x461'),'Auth',_0x1cd3('0x463'),_0x1cd3('0xc49')];angular[_0x1cd3('0x0')](_0x1cd3('0x2d'))[_0x1cd3('0x39b')]('VoiceQueuesController',_0x36fe19);function _0x36fe19(_0x1c2f7d,_0x3c985d,_0x811593,_0x1f5a04,_0x533b59,_0x1a613d,_0x5a0312,_0x23a490,_0x316dee,_0x1a3ec8,_0xebfc87,_0x4cb308,_0x405922,_0x4addcf,_0x4490c6,_0x44dc0d,_0x5f3b73){var _0x10b871=this;_0x10b871['license']=_0x44dc0d;_0x10b871[_0x1cd3('0xc49')]=_0x5f3b73;_0x10b871['currentUser']=_0x4490c6[_0x1cd3('0x5d')]();_0x10b871[_0x1cd3('0x8d9')]=_0x316dee||{'count':0x0,'rows':[]};_0x10b871[_0x1cd3('0x38a')]=_0x1a3ec8;_0x10b871[_0x1cd3('0x390')]=_0xebfc87&&_0xebfc87[_0x1cd3('0x466')]==0x1?_0xebfc87[_0x1cd3('0xf6')][0x0]:null;_0x10b871[_0x1cd3('0xd27')]=_0x4490c6['parseCrudPermissions'](_0x10b871[_0x1cd3('0x390')]?_0x10b871[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);_0x10b871[_0x1cd3('0xd45')]=_0x1cd3('0x8d9');_0x10b871['listOrder']='';_0x10b871[_0x1cd3('0xd47')]=null;_0x10b871[_0x1cd3('0x26b5')]=[];_0x10b871[_0x1cd3('0x3d4')]={'fields':_0x1cd3('0x301'),'type':_0x1cd3('0xa4'),'sort':'-updatedAt','channel':_0x1cd3('0x121'),'limit':0xa,'page':0x1};_0x10b871[_0x1cd3('0x1f58')]=_['keyBy']([{'option':_0x1cd3('0x26b6'),'value':'\x27ringall\x27'},{'option':'Round\x20Robin\x20Memory','value':_0x1cd3('0x1971')},{'option':_0x1cd3('0x1e83'),'value':_0x1cd3('0x1e84')},{'option':'Fewest\x20Calls','value':_0x1cd3('0x26b7')},{'option':'Random','value':_0x1cd3('0x25f6')},{'option':_0x1cd3('0x1e87'),'value':'\x27linear\x27'},{'option':_0x1cd3('0x1e88'),'value':_0x1cd3('0x1e89')}],function(_0x4241f7){return _['replace'](_0x4241f7[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x10b871[_0x1cd3('0x26b8')]=_[_0x1cd3('0xe2d')]([{'option':'no','value':'\x27no\x27','disabled':_0x1cd3('0x26b9')},{'option':'yes','value':_0x1cd3('0x1e6d'),'disabled':'vm.voiceQueue.joinempty.length\x20===\x201\x20&&\x20vm.voiceQueue.joinempty[0]\x20===\x20\x27yes\x27'},{'option':_0x1cd3('0x26ba'),'value':'\x27strict\x27','disabled':'vm.voiceQueue.joinempty.length\x20===\x201\x20&&\x20vm.voiceQueue.joinempty[0]\x20===\x20\x27strict\x27'},{'option':_0x1cd3('0x26bb'),'value':_0x1cd3('0x26bc'),'disabled':_0x1cd3('0x26bd')},{'option':_0x1cd3('0x13ea'),'value':_0x1cd3('0x26be'),'disabled':'vm.voiceQueue.joinempty.length\x20===\x201\x20&&\x20vm.voiceQueue.joinempty[0]\x20===\x20\x27paused\x27'},{'option':_0x1cd3('0x1146'),'value':_0x1cd3('0x26bf'),'disabled':_0x1cd3('0x26c0')},{'option':_0x1cd3('0x13a8'),'value':_0x1cd3('0x26c1'),'disabled':'vm.voiceQueue.joinempty.length\x20===\x201\x20&&\x20vm.voiceQueue.joinempty[0]\x20===\x20\x27inuse\x27'},{'option':'ringing','value':_0x1cd3('0x26c2'),'disabled':_0x1cd3('0x26c3')},{'option':_0x1cd3('0x13ce'),'value':_0x1cd3('0x26c4'),'disabled':_0x1cd3('0x26c5')},{'option':_0x1cd3('0x26c6'),'value':_0x1cd3('0x26c7'),'disabled':_0x1cd3('0x26c8')},{'option':_0x1cd3('0x1990'),'value':_0x1cd3('0x26c9'),'disabled':_0x1cd3('0x26ca')},{'option':'wrapup','value':_0x1cd3('0x26cb'),'disabled':_0x1cd3('0x26cc')}],function(_0x43df8c){return _['replace'](_0x43df8c[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x10b871['arrayleavewhenempty']=_[_0x1cd3('0xe2d')]([{'option':'no','value':_0x1cd3('0x123c'),'disabled':_0x1cd3('0x26cd')},{'option':_0x1cd3('0xf2b'),'value':_0x1cd3('0x1e6d'),'disabled':_0x1cd3('0x26ce')},{'option':_0x1cd3('0x26ba'),'value':_0x1cd3('0x26cf'),'disabled':'vm.voiceQueue.leavewhenempty.length\x20===\x201\x20&&\x20vm.voiceQueue.leavewhenempty[0]\x20===\x20\x27strict\x27'},{'option':'loose','value':_0x1cd3('0x26bc'),'disabled':_0x1cd3('0x26d0')},{'option':'paused','value':_0x1cd3('0x26be'),'disabled':_0x1cd3('0x26d1')},{'option':_0x1cd3('0x1146'),'value':'\x27penalty\x27','disabled':_0x1cd3('0x26d2')},{'option':_0x1cd3('0x13a8'),'value':'\x27inuse\x27','disabled':_0x1cd3('0x26d3')},{'option':'ringing','value':_0x1cd3('0x26c2'),'disabled':_0x1cd3('0x26d4')},{'option':_0x1cd3('0x13ce'),'value':'\x27unavailable\x27','disabled':'vm.voiceQueue.leavewhenempty.length\x20===\x201\x20&&\x20vm.voiceQueue.leavewhenempty[0]\x20===\x20\x27unavailable\x27'},{'option':_0x1cd3('0x26c6'),'value':'\x27invalid\x27','disabled':_0x1cd3('0x26d5')},{'option':_0x1cd3('0x1990'),'value':'\x27unknown\x27','disabled':'vm.voiceQueue.leavewhenempty.length\x20===\x201\x20&&\x20vm.voiceQueue.leavewhenempty[0]\x20===\x20\x27unknown\x27'},{'option':'wrapup','value':'\x27wrapup\x27','disabled':'vm.voiceQueue.leavewhenempty.length\x20===\x201\x20&&\x20vm.voiceQueue.leavewhenempty[0]\x20===\x20\x27wrapup\x27'}],function(_0x3873f7){return _[_0x1cd3('0x3f1')](_0x3873f7[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x10b871[_0x1cd3('0x26d6')]=_['keyBy']([{'option':_0x1cd3('0xf2c'),'value':'\x27yes\x27'},{'option':'No','value':_0x1cd3('0x123c')}],function(_0x24a804){return _['replace'](_0x24a804[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x10b871[_0x1cd3('0x26d7')]=_[_0x1cd3('0xe2d')]([{'option':_0x1cd3('0xf2c'),'value':_0x1cd3('0x1e6d')},{'option':'No','value':_0x1cd3('0x123c')},{'option':_0x1cd3('0x26d8'),'value':'\x27once\x27'}],function(_0x8eb280){return _[_0x1cd3('0x3f1')](_0x8eb280[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x10b871[_0x1cd3('0x26d9')]=_['keyBy']([{'option':'Yes','value':_0x1cd3('0x1e6d')},{'option':'No','value':_0x1cd3('0x123c')},{'option':_0x1cd3('0x26da'),'value':_0x1cd3('0x26db')},{'option':_0x1cd3('0x26dc'),'value':_0x1cd3('0x26dd')}],function(_0x3ab499){return _[_0x1cd3('0x3f1')](_0x3ab499[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x10b871[_0x1cd3('0x26de')]=_[_0x1cd3('0xe2d')]([{'option':_0x1cd3('0xf2c'),'value':'\x27yes\x27'},{'option':'No','value':_0x1cd3('0x123c')}],function(_0x137f4c){return _[_0x1cd3('0x3f1')](_0x137f4c[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x10b871[_0x1cd3('0x1e6a')]=_['keyBy']([{'option':_0x1cd3('0xf2c'),'value':_0x1cd3('0x1e6b')},{'option':'No','value':_0x1cd3('0x123c')}],function(_0x5e7af6){return _[_0x1cd3('0x3f1')](_0x5e7af6[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x10b871[_0x1cd3('0x1e6c')]=_[_0x1cd3('0xe2d')]([{'option':'Yes','value':_0x1cd3('0x1e6d')},{'option':'No','value':'\x27no\x27'}],function(_0x489c1e){return _[_0x1cd3('0x3f1')](_0x489c1e[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x10b871[_0x1cd3('0x1e6e')]=_['keyBy']([{'option':'Yes','value':_0x1cd3('0x1e6d')},{'option':'No','value':_0x1cd3('0x123c')}],function(_0x159e05){return _[_0x1cd3('0x3f1')](_0x159e05[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x10b871[_0x1cd3('0x1e6f')]=_[_0x1cd3('0xe2d')]([{'option':_0x1cd3('0x20e4'),'value':'\x27\x27'},{'option':_0x1cd3('0x6b5'),'value':'\x27wav\x27'},{'option':_0x1cd3('0x1e71'),'value':'\x27wav49\x27'},{'option':_0x1cd3('0xf38'),'value':_0x1cd3('0x1e73')}],function(_0x5cb87a){return _[_0x1cd3('0x3f1')](_0x5cb87a[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x10b871[_0x1cd3('0x1e74')]=_[_0x1cd3('0xe2d')]([{'option':_0x1cd3('0xf2c'),'value':_0x1cd3('0x1e6d')},{'option':'No','value':_0x1cd3('0x123c')}],function(_0x2f660a){return _['replace'](_0x2f660a['value'],new RegExp('\x27','g'),'');});_0x10b871[_0x1cd3('0x1e75')]=_['keyBy']([{'option':'Yes','value':_0x1cd3('0x1e6d')},{'option':'No','value':'\x27no\x27'}],function(_0x5ec29c){return _[_0x1cd3('0x3f1')](_0x5ec29c[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x10b871[_0x1cd3('0x26df')]=_['keyBy']([{'option':'Yes','value':_0x1cd3('0x1e6d')},{'option':'No','value':_0x1cd3('0x123c')}],function(_0x27a4ab){return _[_0x1cd3('0x3f1')](_0x27a4ab[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x10b871[_0x1cd3('0x1171')]=_0x2b923b;_0x10b871[_0x1cd3('0x119a')]=_0x234f90;_0x10b871[_0x1cd3('0x119b')]=_0x17f5d2;_0x10b871[_0x1cd3('0xecc')]=_0x2f331a;_0x10b871[_0x1cd3('0x119c')]=_0x49a409;_0x10b871[_0x1cd3('0x473')]=_0x1ec888;_0x10b871['getVoiceQueues']=_0x455ddc;_0x10b871[_0x1cd3('0x2653')]=_0x84a741;_0x10b871[_0x1cd3('0x26ab')]=_0x11c369;_0x10b871[_0x1cd3('0x26e0')]=_0x3c413f;_0x10b871[_0x1cd3('0x26e1')]=_0x70de7c;_0x10b871[_0x1cd3('0x26e2')]=_0x25e709;_0x10b871[_0x1cd3('0x26e3')]=_0x1c28ae;function _0x2b923b(_0x57d367,_0x26fa89){_0x811593['go'](_0x1cd3('0x2fe'),{'id':_0x57d367['id'],'voiceQueue':_0x57d367,'crudPermissions':_0x10b871[_0x1cd3('0xd27')]});}function _0x234f90(_0x4dffaf,_0x5f0257){_0x533b59[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x26b3'),'controllerAs':'vm','templateUrl':'app/main/apps/voice/views/voiceQueues/edit/teamadd/teamadd.html','parent':angular[_0x1cd3('0x37f')](_0x1a613d[_0x1cd3('0x380')]),'targetEvent':_0x5f0257,'clickOutsideToClose':!![],'locals':{'voiceQueue':_0x4dffaf,'voiceQueues':_0x10b871[_0x1cd3('0x8d9')]?_0x10b871[_0x1cd3('0x8d9')][_0x1cd3('0xf6')]:[],'crudPermissions':_0x10b871['crudPermissions']}});}function _0x17f5d2(_0x451d83,_0x4fee0c){_0x533b59[_0x1cd3('0x37e')]({'controller':'VoiceQueueagentaddController','controllerAs':'vm','templateUrl':_0x1cd3('0x2657'),'parent':angular[_0x1cd3('0x37f')](_0x1a613d[_0x1cd3('0x380')]),'targetEvent':_0x4fee0c,'clickOutsideToClose':!![],'locals':{'voiceQueue':_0x451d83,'voiceQueues':_0x10b871[_0x1cd3('0x8d9')]?_0x10b871[_0x1cd3('0x8d9')][_0x1cd3('0xf6')]:[],'crudPermissions':_0x10b871['crudPermissions'],'realtime':![]}});}function _0x2f331a(_0x330526,_0x2ca64c){var _0xab4334=_0x533b59[_0x1cd3('0xd39')]()['title']('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20'+_['startCase'](_0x1cd3('0xa48'))+'?')['htmlContent'](_0x1cd3('0xd51')+(_0x330526[_0x1cd3('0x98')]||_0x1cd3('0xa48'))+_0x1cd3('0xd52')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')]('delete\x20voiceQueue')['targetEvent'](_0x2ca64c)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x533b59[_0x1cd3('0x37e')](_0xab4334)['then'](function(){_0x11c369(_0x330526);},function(){console[_0x1cd3('0x7d')]('CANCEL');});}function _0x49a409(_0xb35e55,_0x6f6ca6){if(_0x4490c6[_0x1cd3('0x57')]('admin')){_0x811593['go'](_0x1cd3('0x2f1'),{});}else{return _0x4cb308[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x4490c6['getCurrentUser']()[_0x1cd3('0x5e')],'sectionId':0x19b})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x4a136e){var _0xb767b9=_0x4a136e&&_0x4a136e[_0x1cd3('0xf6')]?_0x4a136e[_0x1cd3('0xf6')][0x0]:null;if(_0xb767b9&&_0xb767b9[_0x1cd3('0x396')]){_0x811593['go'](_0x1cd3('0x2f1'),{});}else{_0x4addcf[_0x1cd3('0x654')]({'title':_0x23a490['instant']('STAFF.PERMISSIONS_UNAUTHORIZED_REDIRECT_TITLE'),'msg':_0x23a490[_0x1cd3('0x44a')]('STAFF.PERMISSIONS_UNAUTHORIZED_REDIRECT_MESSAGE')});}})['catch'](function(_0x6c95bd){_0x4addcf['error']({'title':_0x6c95bd['status']?'API:'+_0x6c95bd[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x6c95bd[_0x1cd3('0xd35')]:'USERPROFILE:GET_SECTION','msg':_0x6c95bd[_0x1cd3('0x3a6')]?JSON[_0x1cd3('0x438')](_0x6c95bd[_0x1cd3('0x439')]):_0x6c95bd[_0x1cd3('0x43b')]()});});}}var _0x150413=!![];var _0x334327=0x1;_0x1c2f7d[_0x1cd3('0x4d6')](_0x1cd3('0xd56'),function(_0x2b83a1,_0x53dbcf){if(_0x150413){_0x5a0312(function(){_0x150413=![];});}else{if(!_0x53dbcf){_0x334327=_0x10b871[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0x2b83a1!==_0x53dbcf){_0x10b871[_0x1cd3('0x3d4')]['page']=0x1;}if(!_0x2b83a1){_0x10b871[_0x1cd3('0x3d4')]['page']=_0x334327;}_0x10b871[_0x1cd3('0x1696')]();}});function _0x1ec888(_0xd0d2e){_0x10b871[_0x1cd3('0x8d9')]=_0xd0d2e||{'count':0x0,'rows':[]};}function _0x455ddc(){_0x10b871[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0x10b871['query'][_0x1cd3('0x8fd')]-0x1)*_0x10b871['query'][_0x1cd3('0x8fe')];if(_0x4490c6['hasRole'](_0x1cd3('0x5f'))){_0x10b871['promise']=_0x4cb308[_0x1cd3('0xa48')]['get'](_0x10b871['query'],_0x1ec888)[_0x1cd3('0x81')];}else{_0x10b871[_0x1cd3('0x3d4')]['id']=_0x10b871['userProfile']['id'];_0x10b871[_0x1cd3('0x3d4')]['section']=_0x1cd3('0xa5');_0x10b871['promise']=_0x4cb308[_0x1cd3('0x38a')][_0x1cd3('0xd59')](_0x10b871[_0x1cd3('0x3d4')],_0x1ec888)[_0x1cd3('0x81')];}}function _0x84a741(_0x35c14b,_0x5b113a){_0x533b59[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x2654'),'controllerAs':'vm','templateUrl':_0x1cd3('0x2655'),'parent':angular['element'](_0x1a613d[_0x1cd3('0x380')]),'targetEvent':_0x35c14b,'clickOutsideToClose':!![],'locals':{'voiceQueue':_0x5b113a,'voiceQueues':_0x10b871[_0x1cd3('0x8d9')]['rows'],'license':_0x10b871[_0x1cd3('0x463')],'setting':_0x10b871[_0x1cd3('0xc49')],'crudPermissions':_0x10b871[_0x1cd3('0xd27')]}});}function _0x11c369(_0x16ca2a){_0x4cb308[_0x1cd3('0xa48')]['delete']({'id':_0x16ca2a['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_['remove'](_0x10b871['voiceQueues'][_0x1cd3('0xf6')],{'id':_0x16ca2a['id']});_0x10b871[_0x1cd3('0x8d9')][_0x1cd3('0x466')]-=0x1;if(!_0x10b871['voiceQueues'][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){_0x10b871[_0x1cd3('0x1696')]();}_0x4addcf['success']({'title':_[_0x1cd3('0xd50')](_0x1cd3('0x26e4'))+_0x1cd3('0xd5c'),'msg':_0x16ca2a[_0x1cd3('0x98')]?_0x16ca2a[_0x1cd3('0x98')]+'\x20has\x20been\x20deleted!':''});})['catch'](function(_0x325ffb){if(_0x325ffb[_0x1cd3('0x439')]&&_0x325ffb[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x325ffb[_0x1cd3('0x439')]['errors']['length']){_0x10b871[_0x1cd3('0xd34')]=_0x325ffb['data'][_0x1cd3('0xd34')]||[{'message':_0x325ffb[_0x1cd3('0x43b')](),'type':_0x1cd3('0x1e92')}];for(var _0x518f6f=0x0;_0x518f6f<_0x325ffb[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x518f6f++){_0x4addcf[_0x1cd3('0x434')]({'title':_0x325ffb[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x518f6f][_0x1cd3('0x424')],'msg':_0x325ffb[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x518f6f][_0x1cd3('0x43a')]});}}else{_0x4addcf[_0x1cd3('0x434')]({'title':_0x325ffb[_0x1cd3('0x3a6')]?'API:'+_0x325ffb[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x325ffb['statusText']:_0x1cd3('0x1e92'),'msg':_0x325ffb[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x325ffb[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x325ffb[_0x1cd3('0x43a')]||_0x325ffb[_0x1cd3('0x43b')]()});}});}function _0x3c413f(){var _0x35f7fc=angular[_0x1cd3('0x429')](_0x10b871[_0x1cd3('0x26b5')]);_0x10b871[_0x1cd3('0x26b5')]=[];return _0x35f7fc;}function _0x70de7c(_0x57ffbb){var _0x5ad633=_0x533b59[_0x1cd3('0xd39')]()['title'](_0x1cd3('0x26e5'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x10b871['selectedVoiceQueues'][_0x1cd3('0x7a')]+_0x1cd3('0xd61')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x26e6'))['targetEvent'](_0x57ffbb)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x533b59[_0x1cd3('0x37e')](_0x5ad633)[_0x1cd3('0x77')](function(){_0x10b871[_0x1cd3('0x26b5')][_0x1cd3('0x394')](function(_0x28b85b){_0x11c369(_0x28b85b);});_0x10b871[_0x1cd3('0x26b5')]=[];});}function _0x25e709(){_0x10b871['selectedVoiceQueues']=[];}function _0x1c28ae(){_0x10b871[_0x1cd3('0x26b5')]=_0x10b871[_0x1cd3('0x8d9')][_0x1cd3('0xf6')];}}}());(function(){'use strict';_0x2404a1[_0x1cd3('0xc')]=['$scope',_0x1cd3('0x53e'),_0x1cd3('0xd24'),'$mdDialog','$q',_0x1cd3('0x3f7'),'toasty',_0x1cd3('0x1784'),_0x1cd3('0x6ee'),_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0x463'),'setting',_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x2d'))['controller'](_0x1cd3('0x26e7'),_0x2404a1);function _0x2404a1(_0x203b51,_0x33234b,_0x3960dc,_0x51a766,_0x5b795a,_0x4aeba3,_0x38b0d0,_0x401073,_0x3f2380,_0x27ca98,_0x7bdf76,_0x2af64,_0x1d5554,_0x421894){var _0x4bf643=this;_0x4bf643[_0x1cd3('0x3ca')]=_0x7bdf76[_0x1cd3('0x5d')]();_0x4bf643['errors']=[];_0x4bf643[_0x1cd3('0xc49')]=_0x1d5554;_0x4bf643[_0x1cd3('0x463')]=_0x2af64;_0x4bf643[_0x1cd3('0xd27')]=_0x421894;_0x4bf643['hasModulePermissions']={};_0x4bf643[_0x1cd3('0xd29')]=_0x4bf643[_0x1cd3('0xc49')]&&_0x4bf643[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x4bf643[_0x1cd3('0x486')]=_0x1cd3('0x26e8');_0x4bf643[_0x1cd3('0x6ee')]=angular[_0x1cd3('0x429')](_0x3f2380);_0x4bf643[_0x1cd3('0x1784')]=_0x401073;_0x4bf643[_0x1cd3('0x26e9')]=![];if(!_0x4bf643[_0x1cd3('0x6ee')]){_0x4bf643[_0x1cd3('0x6ee')]={};_0x4bf643['title']=_0x1cd3('0x26ea');_0x4bf643[_0x1cd3('0x26e9')]=!![];}_0x4bf643[_0x1cd3('0x26eb')]=_0x52a2ed;_0x4bf643[_0x1cd3('0x26ec')]=_0x2b1320;_0x4bf643[_0x1cd3('0x26ed')]=_0x240c4a;_0x4bf643[_0x1cd3('0xd31')]=_0x30105c;_0x4bf643[_0x1cd3('0x39c')]=_0x4bc689;function _0x52a2ed(){_0x4bf643[_0x1cd3('0xd34')]=[];_0x27ca98['voiceRecording'][_0x1cd3('0xd6d')](_0x4bf643[_0x1cd3('0x6ee')])['$promise']['then'](function(_0x57fc35){_0x4bf643[_0x1cd3('0x1784')][_0x1cd3('0x621')](_0x57fc35[_0x1cd3('0xd32')]());_0x38b0d0[_0x1cd3('0x473')]({'title':'VoiceRecording\x20properly\x20created','msg':_0x4bf643[_0x1cd3('0x6ee')]['name']?_0x4bf643['voiceRecording'][_0x1cd3('0x98')]+_0x1cd3('0xd33'):''});_0x4bc689(_0x57fc35);})[_0x1cd3('0xfd')](function(_0x3bf1c9){if(_0x3bf1c9[_0x1cd3('0x439')]&&_0x3bf1c9['data'][_0x1cd3('0xd34')]&&_0x3bf1c9[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x4bf643[_0x1cd3('0xd34')]=_0x3bf1c9[_0x1cd3('0x439')]['errors']||[{'message':_0x3bf1c9[_0x1cd3('0x43b')](),'type':_0x1cd3('0x26ee')}];for(var _0x5b5dae=0x0;_0x5b5dae<_0x3bf1c9[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x5b5dae+=0x1){_0x38b0d0['error']({'title':_0x3bf1c9['data']['errors'][_0x5b5dae][_0x1cd3('0x424')],'msg':_0x3bf1c9['data'][_0x1cd3('0xd34')][_0x5b5dae][_0x1cd3('0x43a')]});}}else{_0x38b0d0[_0x1cd3('0x434')]({'title':_0x3bf1c9[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x3bf1c9[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x3bf1c9[_0x1cd3('0xd35')]:_0x1cd3('0x26ee'),'msg':_0x3bf1c9[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x3bf1c9[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x3bf1c9[_0x1cd3('0x43b')]()});}});}function _0x2b1320(){_0x4bf643[_0x1cd3('0xd34')]=[];_0x27ca98[_0x1cd3('0x6ee')][_0x1cd3('0x378')]({'id':_0x4bf643[_0x1cd3('0x6ee')]['id']},_0x4bf643[_0x1cd3('0x6ee')])['$promise']['then'](function(_0x4a2f27){var _0x20d082=_['find'](_0x4bf643['voiceRecordings'],{'id':_0x4a2f27['id']});if(_0x20d082){_['merge'](_0x20d082,_['pick'](_0x4a2f27[_0x1cd3('0xd32')](),_['keys'](_0x20d082)));}_0x38b0d0[_0x1cd3('0x473')]({'title':_0x1cd3('0x26ef'),'msg':_0x4bf643[_0x1cd3('0x6ee')][_0x1cd3('0x98')]?_0x4bf643[_0x1cd3('0x6ee')][_0x1cd3('0x98')]+_0x1cd3('0xd37'):''});_0x4bc689(_0x4a2f27);})['catch'](function(_0xec0a4d){if(_0xec0a4d[_0x1cd3('0x439')]&&_0xec0a4d[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0xec0a4d[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x4bf643[_0x1cd3('0xd34')]=_0xec0a4d[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0xec0a4d[_0x1cd3('0x43b')](),'type':_0x1cd3('0x26f0')}];for(var _0x5f498b=0x0;_0x5f498b<_0xec0a4d['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x5f498b++){_0x38b0d0[_0x1cd3('0x434')]({'title':_0xec0a4d[_0x1cd3('0x439')]['errors'][_0x5f498b][_0x1cd3('0x424')],'msg':_0xec0a4d[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x5f498b]['message']});}}else{_0x38b0d0['error']({'title':_0xec0a4d[_0x1cd3('0x3a6')]?'API:'+_0xec0a4d[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0xec0a4d[_0x1cd3('0xd35')]:_0x1cd3('0x26f0'),'msg':_0xec0a4d[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0xec0a4d[_0x1cd3('0x439')]['message']):_0xec0a4d[_0x1cd3('0x43b')]()});}});}function _0x240c4a(_0x3d2b06){_0x4bf643['errors']=[];var _0x1f10ce=_0x51a766[_0x1cd3('0xd39')]()['title']('Are\x20you\x20sure?')[_0x1cd3('0xd3b')](_0x1cd3('0x26f1'))[_0x1cd3('0xd3d')](_0x1cd3('0x26f2'))['ok'](_0x1cd3('0xd3f'))[_0x1cd3('0x4d8')](_0x1cd3('0x674'))[_0x1cd3('0xd63')](_0x3d2b06);_0x51a766[_0x1cd3('0x37e')](_0x1f10ce)[_0x1cd3('0x77')](function(){_0x27ca98['voiceRecording'][_0x1cd3('0xa1c')]({'id':_0x4bf643['voiceRecording']['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x4bf643[_0x1cd3('0x1784')],{'id':_0x4bf643[_0x1cd3('0x6ee')]['id']});_0x38b0d0['success']({'title':_0x1cd3('0x26f3'),'msg':(_0x4bf643[_0x1cd3('0x6ee')][_0x1cd3('0x98')]||_0x1cd3('0x6ee'))+_0x1cd3('0xd41')});_0x4bc689(_0x4bf643['voiceRecording']);})[_0x1cd3('0xfd')](function(_0x2f23c7){if(_0x2f23c7[_0x1cd3('0x439')]&&_0x2f23c7[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x2f23c7['data'][_0x1cd3('0xd34')]['length']){_0x4bf643[_0x1cd3('0xd34')]=_0x2f23c7[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x2f23c7['toString'](),'type':_0x1cd3('0x26f4')}];for(var _0x467b15=0x0;_0x467b15<_0x2f23c7['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x467b15++){_0x38b0d0[_0x1cd3('0x434')]({'title':_0x2f23c7[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x467b15]['type'],'msg':_0x2f23c7[_0x1cd3('0x439')]['errors'][_0x467b15][_0x1cd3('0x43a')]});}}else{_0x38b0d0['error']({'title':_0x2f23c7[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x2f23c7[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x2f23c7[_0x1cd3('0xd35')]:_0x1cd3('0x26f4'),'msg':_0x2f23c7[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x2f23c7[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x2f23c7[_0x1cd3('0x43a')]||_0x2f23c7[_0x1cd3('0x43b')]()});}});},function(){});}function _0x30105c(_0x5a36ef){return _0x5a36ef===null?undefined:new Date(_0x5a36ef);}function _0x4bc689(_0x3845d1){_0x51a766[_0x1cd3('0x39d')](_0x3845d1);}}}());(function(){'use strict';_0x205be2[_0x1cd3('0xc')]=[_0x1cd3('0x370'),'toasty'];angular['module'](_0x1cd3('0x2d'))['controller'](_0x1cd3('0x26f5'),_0x205be2);function _0x205be2(_0x3749c2,_0x1c37a3){var _0x206ac4=this;_0x206ac4[_0x1cd3('0x6ee')]={};_0x206ac4[_0x1cd3('0xe08')]=_0x5af6e4;function _0x5af6e4(_0x557eab){_0x206ac4['voiceRecording']=_0x557eab;}}}());(function(){'use strict';_0x168ee2[_0x1cd3('0xc')]=['$state',_0x1cd3('0xd24'),_0x1cd3('0x3c5'),'$document',_0x1cd3('0x3f7'),_0x1cd3('0x463'),'setting',_0x1cd3('0x370'),_0x1cd3('0x461'),_0x1cd3('0x56'),'voiceRecording',_0x1cd3('0x390')];angular[_0x1cd3('0x0')](_0x1cd3('0x2d'))[_0x1cd3('0x39b')](_0x1cd3('0x26f6'),_0x168ee2);function _0x168ee2(_0x2b4af4,_0x3a5a84,_0x91e56c,_0x25f333,_0x33064e,_0x20b139,_0x18bce6,_0x530d2d,_0x24b433,_0x52ac90,_0x52002c,_0x5bcd08){var _0xeffa8b=this;_0xeffa8b[_0x1cd3('0x3ca')]=_0x52ac90[_0x1cd3('0x5d')]();_0xeffa8b[_0x1cd3('0x463')]=_0x20b139;_0xeffa8b[_0x1cd3('0xc49')]=_0x18bce6;_0xeffa8b[_0x1cd3('0xd29')]=_0xeffa8b[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0xeffa8b[_0x1cd3('0xd22')]=_0x3a5a84[_0x1cd3('0x3b0')]()+_0x1cd3('0x11cf')+_0x3a5a84[_0x1cd3('0x3ac')]();_0xeffa8b[_0x1cd3('0x6ee')]=_0x52002c||_0x2b4af4[_0x1cd3('0x36a')][_0x1cd3('0x6ee')]||{};_0xeffa8b[_0x1cd3('0x390')]=_0x5bcd08&&_0x5bcd08[_0x1cd3('0x466')]==0x1?_0x5bcd08['rows'][0x0]:null;_0xeffa8b[_0x1cd3('0xd27')]=_0x52ac90[_0x1cd3('0xd44')](_0xeffa8b['userProfileSection']?_0xeffa8b[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);_0xeffa8b[_0x1cd3('0xd28')]={};_0xeffa8b[_0x1cd3('0xe5f')]=_0x2b4af4[_0x1cd3('0x36a')][_0x1cd3('0x1418')]||0x0;_0xeffa8b[_0x1cd3('0x11d0')]=_0x24b433[_0x1cd3('0x654')];_0xeffa8b[_0x1cd3('0x26f7')]=_0x17371a;_0xeffa8b[_0x1cd3('0x26ec')]=_0x4ee43a;function _0x17371a(){_0x2b4af4['go'](_0x1cd3('0x328'),{},{'reload':_0x1cd3('0x328')});}function _0x4ee43a(){_0x530d2d[_0x1cd3('0x6ee')]['update']({'id':_0xeffa8b[_0x1cd3('0x6ee')]['id']},_0xeffa8b['voiceRecording'])[_0x1cd3('0x81')]['then'](function(){_0x24b433['success']({'title':_0x1cd3('0x26f8'),'msg':_0xeffa8b[_0x1cd3('0x6ee')][_0x1cd3('0x98')]?_0xeffa8b[_0x1cd3('0x6ee')][_0x1cd3('0x98')]+_0x1cd3('0xe65'):''});})[_0x1cd3('0xfd')](function(_0x3fbadb){_0x24b433[_0x1cd3('0x434')]({'title':_0x3fbadb[_0x1cd3('0x3a6')]?'API:'+_0x3fbadb[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x3fbadb[_0x1cd3('0xd35')]:'SYSTEM:GETvoiceRecording','msg':_0x3fbadb[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x3fbadb[_0x1cd3('0x439')]):_0x3fbadb['toString']()});});}}}());(function(){'use strict';_0x497ccc[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x371'),'$state','$mdSidenav',_0x1cd3('0x3c5'),_0x1cd3('0x372'),_0x1cd3('0x3e7'),_0x1cd3('0x3f7'),_0x1cd3('0x1784'),'userProfile','userProfileSection',_0x1cd3('0x370'),'msUtils','toasty',_0x1cd3('0x56'),_0x1cd3('0x463'),'setting'];angular[_0x1cd3('0x0')](_0x1cd3('0x2d'))[_0x1cd3('0x39b')]('VoiceRecordingsController',_0x497ccc);function _0x497ccc(_0x451049,_0x487f92,_0x337dfa,_0xdd5234,_0x75edb5,_0x435d0e,_0x3eff08,_0x1675a3,_0xbcb78,_0x64d715,_0x32a195,_0x5cb085,_0xf44392,_0x2ba5ac,_0x3eb764,_0x17137d,_0x4180b4){var _0x144005=this;_0x144005[_0x1cd3('0x463')]=_0x17137d;_0x144005[_0x1cd3('0xc49')]=_0x4180b4;_0x144005[_0x1cd3('0x3ca')]=_0x3eb764[_0x1cd3('0x5d')]();_0x144005[_0x1cd3('0x1784')]=_0xbcb78||{'count':0x0,'rows':[]};_0x144005[_0x1cd3('0x38a')]=_0x64d715;_0x144005[_0x1cd3('0x390')]=_0x32a195&&_0x32a195['count']==0x1?_0x32a195[_0x1cd3('0xf6')][0x0]:null;_0x144005['crudPermissions']=_0x3eb764['parseCrudPermissions'](_0x144005[_0x1cd3('0x390')]?_0x144005[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);_0x144005[_0x1cd3('0xd45')]='voiceRecordings';_0x144005[_0x1cd3('0xd46')]='';_0x144005['listOrderAsc']=null;_0x144005[_0x1cd3('0x26f9')]=[];_0x144005[_0x1cd3('0x3d4')]={'fields':'createdAt,updatedAt,id,format,value,type,uniqueid,calleridnum,exten,connectedlinenum,queue,membername,rating,audio,userDisposition,transcribeStatus,fileText,failureReason,sentiment,sPositive,sNegative,sNeutral,sMixed','sort':_0x1cd3('0x5b'),'createdAt':_0x1cd3('0x24b5'),'limit':0xa,'page':0x1};_0x144005[_0x1cd3('0x3d4')][_0x1cd3('0xe0d')]=_0xf44392[_0x1cd3('0x2e2')]();_0x144005[_0x1cd3('0x1315')]=_0x4d19a6();function _0x4d19a6(){return[{'name':'Start\x20Date','key':'createdAt','type':'date','label':_0x1cd3('0x24b6')}];}_0x144005[_0x1cd3('0x1171')]=_0x38a697;_0x144005[_0x1cd3('0x26fa')]=_0x513f70;_0x144005[_0x1cd3('0x26fb')]=_0x4fb54f;_0x144005[_0x1cd3('0x26fc')]=_0x49db62;_0x144005['downloadtranscribefile2']=_0x37c5bb;_0x144005['downloadfile2']=_0x2a1125;_0x144005['deleteconfirm']=_0x16fe65;_0x144005[_0x1cd3('0x473')]=_0x2cdb3a;_0x144005[_0x1cd3('0x1787')]=_0x2101e6;_0x144005[_0x1cd3('0x26fd')]=_0xda12b3;_0x144005[_0x1cd3('0x26ed')]=_0x1ed5f3;_0x144005[_0x1cd3('0x26fe')]=_0x57b26f;_0x144005['deleteSelectedVoiceRecordings']=_0x3aa293;_0x144005['deselectVoiceRecordings']=_0x520d2f;_0x144005[_0x1cd3('0x26ff')]=_0xd37e54;function _0x38a697(_0x2477db,_0x31e7db){_0x337dfa['go'](_0x1cd3('0x32f'),{'id':_0x2477db['id'],'voiceRecording':_0x2477db,'crudPermissions':_0x144005[_0x1cd3('0xd27')]});}_0x144005[_0x1cd3('0x2700')]=_0x5aa048;function _0x513f70(_0x4eabbb,_0x189949){return _0x5cb085['voiceRecording'][_0x1cd3('0x2701')]({'id':_0x4eabbb['id'],'runSentiment':![]})[_0x1cd3('0x81')]['then'](function(_0x3ebc3f){_0x2ba5ac[_0x1cd3('0x473')]({'title':_0x1675a3[_0x1cd3('0x44a')](_0x1cd3('0x2702')),'msg':_0x1675a3['instant'](_0x1cd3('0x2702'))+_0x1cd3('0x2703')});_0x4eabbb[_0x1cd3('0x2704')]=_0x3ebc3f[_0x1cd3('0x2704')];})[_0x1cd3('0xfd')](function(_0x53ad8e){_0x2ba5ac['error']({'title':_0x1675a3[_0x1cd3('0x44a')](_0x1cd3('0x2702')),'msg':_0x53ad8e['data']?_0x53ad8e[_0x1cd3('0x439')][_0x1cd3('0x43a')]?_0x53ad8e[_0x1cd3('0x439')][_0x1cd3('0x43a')]:JSON['stringify'](_0x53ad8e[_0x1cd3('0x439')]):_0x53ad8e[_0x1cd3('0x43b')]()});});}function _0x5aa048(_0x21d126){_0x144005[_0x1cd3('0x26f9')][_0x1cd3('0x394')](function(_0x2c7f65){_0x513f70(_0x2c7f65,_0x21d126);});_0x144005[_0x1cd3('0x26f9')]=[];}_0x144005[_0x1cd3('0x2705')]=_0x1246d1;function _0x4fb54f(_0x28fbd8,_0x1fc430){return _0x5cb085[_0x1cd3('0x6ee')]['runTranscribe']({'id':_0x28fbd8['id'],'runSentiment':!![]})[_0x1cd3('0x81')]['then'](function(_0x1e386f){_0x2ba5ac['success']({'title':_0x1675a3[_0x1cd3('0x44a')]('VOICE.RUNTRANSCRIBESENTIMENT_VOICERECORDING'),'msg':_0x1675a3['instant'](_0x1cd3('0x2706'))+'\x20succeded!'});_0x28fbd8[_0x1cd3('0x2704')]=_0x1e386f[_0x1cd3('0x2704')];})[_0x1cd3('0xfd')](function(_0x6f6776){_0x2ba5ac[_0x1cd3('0x434')]({'title':_0x1675a3[_0x1cd3('0x44a')](_0x1cd3('0x2706')),'msg':_0x6f6776[_0x1cd3('0x439')]?_0x6f6776['data'][_0x1cd3('0x43a')]?_0x6f6776[_0x1cd3('0x439')][_0x1cd3('0x43a')]:JSON['stringify'](_0x6f6776[_0x1cd3('0x439')]):_0x6f6776[_0x1cd3('0x43b')]()});});}function _0x1246d1(_0x951ae){_0x144005[_0x1cd3('0x26f9')][_0x1cd3('0x394')](function(_0x5bc912){_0x4fb54f(_0x5bc912,_0x951ae);});_0x144005[_0x1cd3('0x26f9')]=[];}_0x144005[_0x1cd3('0x2707')]=_0x2a3bc4;function _0x49db62(_0x5e2af0,_0x3b99b7){return _0x5cb085['voiceRecording'][_0x1cd3('0x2701')]({'id':_0x5e2af0['id'],'runSentiment':!![]})[_0x1cd3('0x81')]['then'](function(_0x2bf1c5){_0x2ba5ac[_0x1cd3('0x473')]({'title':_0x1675a3[_0x1cd3('0x44a')]('VOICE.RUNSENTIMENT_VOICERECORDING'),'msg':_0x1675a3['instant']('VOICE.RUNSENTIMENT_VOICERECORDING')+_0x1cd3('0x2703')});})[_0x1cd3('0xfd')](function(_0x2b3b3c){_0x2ba5ac[_0x1cd3('0x434')]({'title':_0x1675a3['instant'](_0x1cd3('0x2708')),'msg':_0x2b3b3c['data']?_0x2b3b3c['data']['message']?_0x2b3b3c[_0x1cd3('0x439')][_0x1cd3('0x43a')]:JSON[_0x1cd3('0x438')](_0x2b3b3c[_0x1cd3('0x439')]):_0x2b3b3c[_0x1cd3('0x43b')]()});});}function _0x2a3bc4(_0x3941b4){_0x144005[_0x1cd3('0x26f9')][_0x1cd3('0x394')](function(_0x2c0a49){_0x49db62(_0x2c0a49,_0x3941b4);});_0x144005[_0x1cd3('0x26f9')]=[];}function _0x37c5bb(_0x19544a,_0x415083){var _0xe01611=![];var _0x35e93f=!_[_0x1cd3('0x472')](_0x19544a[_0x1cd3('0x130')])?_0x19544a[_0x1cd3('0x130')]:_0x19544a['value'][_0x1cd3('0x922')](_0x19544a[_0x1cd3('0x3db')]['lastIndexOf']('.'));_0xe01611=_0x35e93f===_0x1cd3('0x24ad')?!![]:![];var _0x34a7ea=_0x19544a[_0x1cd3('0x3db')][_0x1cd3('0x24ac')]('/')>-0x1?_0x19544a['value']['substring'](_0x19544a[_0x1cd3('0x3db')][_0x1cd3('0x24ac')]('/')+0x1):_0x19544a[_0x1cd3('0x3db')]['lastIndexOf']('\x5c')>-0x1?_0x19544a[_0x1cd3('0x3db')][_0x1cd3('0x922')](_0x19544a[_0x1cd3('0x3db')][_0x1cd3('0x24ac')]('\x5c')+0x1):_0x19544a[_0x1cd3('0x3db')];return _0x5cb085[_0x1cd3('0x6ee')][_0x1cd3('0x178b')]({'id':_0x19544a['id']})[_0x1cd3('0x81')]['then'](function(_0x43de1f){var _0x1ac411=[_0x43de1f[_0x1cd3('0x6ef')]];var _0x38d079=_0x1cd3('0x489');var _0x64e661=new Blob(_0x1ac411,{'type':_0x43de1f[_0x1cd3('0x424')]});_0x38d079=_0x19544a['uniqueid']+_0x1cd3('0x2709');var _0x420037=window[_0x1cd3('0x924')][_0x1cd3('0x3aa')]('a');_0x420037['setAttribute'](_0x1cd3('0x3ab'),URL[_0x1cd3('0x48a')](_0x64e661));_0x420037[_0x1cd3('0x481')](_0x1cd3('0x489'),_0x38d079);document[_0x1cd3('0x380')][_0x1cd3('0xd4e')](_0x420037);_0x420037[_0x1cd3('0x52d')]();})[_0x1cd3('0xfd')](function(_0x190a86){if(_0x190a86[_0x1cd3('0x439')]&&_0x190a86[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x190a86['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){for(var _0x213fd7=0x0;_0x213fd7<_0x190a86[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0x213fd7++){_0x2ba5ac[_0x1cd3('0x434')]({'title':_0x190a86[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x213fd7][_0x1cd3('0x424')],'msg':_0x190a86[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x213fd7]['message']});}}else{if(String(_0x190a86[_0x1cd3('0x3a6')])===_0x1cd3('0x24c3')&&_0xe01611===![]){_0x2ba5ac['info']({'title':_0x1675a3[_0x1cd3('0x44a')](_0x1cd3('0x270a')),'msg':_0x1675a3[_0x1cd3('0x44a')](_0x1cd3('0x270b'))});}else if(String(_0x190a86[_0x1cd3('0x3a6')])===_0x1cd3('0x24c3')){_0x2ba5ac[_0x1cd3('0x654')]({'title':_0x1675a3['instant'](_0x1cd3('0x270a')),'msg':_0x1675a3[_0x1cd3('0x44a')]('VOICE.FILE_NOT_FOUND')});}else{_0x2ba5ac[_0x1cd3('0x434')]({'title':_0x190a86['status']?_0x1cd3('0x435')+_0x190a86[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x190a86[_0x1cd3('0xd35')]:_0x1cd3('0x26ee'),'msg':_0x190a86['data']?JSON['stringify'](_0x190a86[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x190a86[_0x1cd3('0x43b')]()});}}});}function _0x4b3fdf(_0xfbafe1){var _0x294ecc=_0xfbafe1['lastIndexOf']('/')>-0x1?_0xfbafe1[_0x1cd3('0x922')](_0xfbafe1[_0x1cd3('0x24ac')]('/')+0x1):_0xfbafe1[_0x1cd3('0x24ac')]('\x5c')>-0x1?_0xfbafe1['substring'](_0xfbafe1['lastIndexOf']('\x5c')+0x1):_0xfbafe1;_0x294ecc=_0x294ecc['substring'](0x0,_0x294ecc[_0x1cd3('0x24ac')]('.'));return _0x294ecc;}function _0x2a1125(_0x1adde2,_0x16d0a2){var _0x26f3f9=![];var _0x39ca7b=!_[_0x1cd3('0x472')](_0x1adde2['format'])?_0x1adde2['format']:_0x1adde2[_0x1cd3('0x3db')]['substring'](_0x1adde2[_0x1cd3('0x3db')]['lastIndexOf']('.'));_0x26f3f9=_0x39ca7b===_0x1cd3('0x24ad')?!![]:![];var _0x175d8e=_0x1adde2['value']['lastIndexOf']('/')>-0x1?_0x1adde2[_0x1cd3('0x3db')]['substring'](_0x1adde2[_0x1cd3('0x3db')][_0x1cd3('0x24ac')]('/')+0x1):_0x1adde2[_0x1cd3('0x3db')]['lastIndexOf']('\x5c')>-0x1?_0x1adde2[_0x1cd3('0x3db')][_0x1cd3('0x922')](_0x1adde2[_0x1cd3('0x3db')][_0x1cd3('0x24ac')]('\x5c')+0x1):_0x1adde2['value'];return _0x5cb085['voiceRecording'][_0x1cd3('0x489')]({'id':_0x1adde2['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x1e8395){var _0x1f501b=[_0x1e8395['buffer']];var _0x14ea59=_0x1cd3('0x489');var _0x215bdc=new Blob(_0x1f501b,{'type':_0x1e8395[_0x1cd3('0x424')]});_0x14ea59=_0x4b3fdf(_0x1adde2[_0x1cd3('0x3db')])+_0x1adde2[_0x1cd3('0x130')];var _0x33bbc8=window[_0x1cd3('0x924')]['createElement']('a');_0x33bbc8[_0x1cd3('0x481')](_0x1cd3('0x3ab'),URL['createObjectURL'](_0x215bdc));_0x33bbc8['setAttribute'](_0x1cd3('0x489'),_0x14ea59);document[_0x1cd3('0x380')][_0x1cd3('0xd4e')](_0x33bbc8);_0x33bbc8[_0x1cd3('0x52d')]();})['catch'](function(_0x895669){if(_0x895669[_0x1cd3('0x439')]&&_0x895669[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x895669[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')]){for(var _0x1a26d9=0x0;_0x1a26d9<_0x895669[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x1a26d9++){_0x2ba5ac[_0x1cd3('0x434')]({'title':_0x895669['data'][_0x1cd3('0xd34')][_0x1a26d9][_0x1cd3('0x424')],'msg':_0x895669[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1a26d9]['message']});}}else{if(String(_0x895669['status'])==='404'&&_0x26f3f9===![]){_0x2ba5ac[_0x1cd3('0x654')]({'title':_0x1675a3[_0x1cd3('0x44a')](_0x1cd3('0x270a')),'msg':_0x1675a3['instant'](_0x1cd3('0x270b'))});}else if(String(_0x895669['status'])===_0x1cd3('0x24c3')){_0x2ba5ac[_0x1cd3('0x654')]({'title':_0x1675a3[_0x1cd3('0x44a')](_0x1cd3('0x270a')),'msg':_0x1675a3[_0x1cd3('0x44a')](_0x1cd3('0x270c'))});}else{_0x2ba5ac[_0x1cd3('0x434')]({'title':_0x895669['status']?'API:'+_0x895669[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x895669[_0x1cd3('0xd35')]:_0x1cd3('0x26ee'),'msg':_0x895669[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x895669[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x895669['toString']()});}}});}function _0x4b3fdf(_0x2d7bc7){var _0x51e9bd=_0x2d7bc7[_0x1cd3('0x24ac')]('/')>-0x1?_0x2d7bc7[_0x1cd3('0x922')](_0x2d7bc7['lastIndexOf']('/')+0x1):_0x2d7bc7['lastIndexOf']('\x5c')>-0x1?_0x2d7bc7['substring'](_0x2d7bc7[_0x1cd3('0x24ac')]('\x5c')+0x1):_0x2d7bc7;_0x51e9bd=_0x51e9bd[_0x1cd3('0x922')](0x0,_0x51e9bd[_0x1cd3('0x24ac')]('.'));return _0x51e9bd;}function _0x16fe65(_0x1e0fda,_0x3561f9){var _0x423414=_0x75edb5[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xd4f')+_[_0x1cd3('0xd50')](_0x1cd3('0x6ee'))+'?')[_0x1cd3('0xd60')](_0x1cd3('0xd51')+(_0x1e0fda['name']||'voiceRecording')+'</b>'+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x270d'))[_0x1cd3('0xd63')](_0x3561f9)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x75edb5[_0x1cd3('0x37e')](_0x423414)['then'](function(){_0x1ed5f3(_0x1e0fda);},function(){console['log'](_0x1cd3('0xd55'));});}var _0x3e1b31=!![];var _0x17c3f9=0x1;_0x451049[_0x1cd3('0x4d6')](_0x1cd3('0xd56'),function(_0x124e01,_0x5e3236){if(_0x3e1b31){_0x3eff08(function(){_0x3e1b31=![];});}else{if(!_0x5e3236){_0x17c3f9=_0x144005['query'][_0x1cd3('0x8fd')];}if(_0x124e01!==_0x5e3236){_0x144005[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}if(!_0x124e01){_0x144005[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0x17c3f9;}_0x144005['getVoiceRecordings']();}});function _0x2cdb3a(_0x1916cc){_0x144005[_0x1cd3('0x1784')]=_0x1916cc||{'count':0x0,'rows':[]};}function _0x2101e6(){_0x144005[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0x144005[_0x1cd3('0x3d4')]['page']-0x1)*_0x144005[_0x1cd3('0x3d4')]['limit'];if(_0x3eb764[_0x1cd3('0x57')](_0x1cd3('0x5f'))){_0x144005['promise']=_0x5cb085[_0x1cd3('0x6ee')][_0x1cd3('0x361')](_0x144005['query'],_0x2cdb3a)[_0x1cd3('0x81')];}else{_0x144005['query']['id']=_0x144005['userProfile']['id'];_0x144005[_0x1cd3('0x3d4')][_0x1cd3('0xd58')]=_0x1cd3('0x32e');_0x144005[_0x1cd3('0x539')]=_0x5cb085[_0x1cd3('0x38a')][_0x1cd3('0xd59')](_0x144005[_0x1cd3('0x3d4')],_0x2cdb3a)['$promise'];}}function _0xda12b3(_0x1e9f97,_0x64dca9){_0x75edb5['show']({'controller':_0x1cd3('0x26e7'),'controllerAs':'vm','templateUrl':_0x1cd3('0x270e'),'parent':angular[_0x1cd3('0x37f')](_0x435d0e[_0x1cd3('0x380')]),'targetEvent':_0x1e9f97,'clickOutsideToClose':!![],'locals':{'voiceRecording':_0x64dca9,'voiceRecordings':_0x144005[_0x1cd3('0x1784')][_0x1cd3('0xf6')],'license':_0x144005[_0x1cd3('0x463')],'setting':_0x144005[_0x1cd3('0xc49')],'crudPermissions':_0x144005[_0x1cd3('0xd27')]}});}function _0x1ed5f3(_0x4441be){_0x5cb085[_0x1cd3('0x6ee')]['delete']({'id':_0x4441be['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_['remove'](_0x144005[_0x1cd3('0x1784')]['rows'],{'id':_0x4441be['id']});_0x144005[_0x1cd3('0x1784')][_0x1cd3('0x466')]-=0x1;if(!_0x144005[_0x1cd3('0x1784')]['rows'][_0x1cd3('0x7a')]){_0x144005['getVoiceRecordings']();}_0x2ba5ac['success']({'title':_[_0x1cd3('0xd50')](_0x1cd3('0x270f'))+_0x1cd3('0xd5c'),'msg':_0x4441be[_0x1cd3('0x98')]?_0x4441be['name']+_0x1cd3('0xd41'):''});})[_0x1cd3('0xfd')](function(_0x304b46){if(_0x304b46[_0x1cd3('0x439')]&&_0x304b46[_0x1cd3('0x439')]['errors']&&_0x304b46[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x144005[_0x1cd3('0xd34')]=_0x304b46[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x304b46[_0x1cd3('0x43b')](),'type':_0x1cd3('0x2710')}];for(var _0x1f5cbf=0x0;_0x1f5cbf<_0x304b46[_0x1cd3('0x439')]['errors']['length'];_0x1f5cbf++){_0x2ba5ac[_0x1cd3('0x434')]({'title':_0x304b46[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1f5cbf][_0x1cd3('0x424')],'msg':_0x304b46[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1f5cbf][_0x1cd3('0x43a')]});}}else{_0x2ba5ac['error']({'title':_0x304b46[_0x1cd3('0x3a6')]?'API:'+_0x304b46[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x304b46['statusText']:_0x1cd3('0x2710'),'msg':_0x304b46[_0x1cd3('0x439')]?JSON['stringify'](_0x304b46['data'][_0x1cd3('0x43a')]):_0x304b46['message']||_0x304b46['toString']()});}});}function _0x57b26f(){var _0x74de40=angular[_0x1cd3('0x429')](_0x144005['selectedVoiceRecordings']);_0x144005['selectedVoiceRecordings']=[];return _0x74de40;}function _0x3aa293(_0xa833ac){var _0x3796d1=_0x75edb5[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x2711'))['htmlContent'](_0x1cd3('0xd51')+_0x144005[_0x1cd3('0x26f9')]['length']+_0x1cd3('0xd61')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x2712'))[_0x1cd3('0xd63')](_0xa833ac)['ok']('OK')[_0x1cd3('0x4d8')]('CANCEL');_0x75edb5['show'](_0x3796d1)[_0x1cd3('0x77')](function(){_0x144005[_0x1cd3('0x26f9')][_0x1cd3('0x394')](function(_0x4dfa63){_0x1ed5f3(_0x4dfa63);});_0x144005[_0x1cd3('0x26f9')]=[];});}function _0x520d2f(){_0x144005[_0x1cd3('0x26f9')]=[];}function _0xd37e54(){_0x144005['selectedVoiceRecordings']=_0x144005[_0x1cd3('0x1784')][_0x1cd3('0xf6')];}}}());(function(){'use strict';_0x2fa812['$inject']=['$scope','$q','$timeout',_0x1cd3('0x3c5'),'$document',_0x1cd3('0x6c3'),_0x1cd3('0x1381'),_0x1cd3('0x1228'),'rpcAgents',_0x1cd3('0x370'),'socket',_0x1cd3('0x461'),'helperClasses',_0x1cd3('0x38a'),_0x1cd3('0x390'),_0x1cd3('0x56'),'license','$interval'];angular[_0x1cd3('0x0')](_0x1cd3('0x2d'))[_0x1cd3('0x39b')]('AgentsWhatsappRealtimeController',_0x2fa812);function _0x2fa812(_0x3dfc8a,_0x21f1c3,_0x46b488,_0x3fcee9,_0x2c61ba,_0x1f7c25,_0x5b7477,_0x4bfcea,_0x1ddb82,_0x4c77af,_0x1bbd22,_0x3505d6,_0x35e20b,_0x2658ba,_0x5571d6,_0x408b23,_0x1e973d,_0x3d59bc){var _0x14f2a2=this;var _0x124479=['userpic',_0x1cd3('0x1387'),_0x1cd3('0x1388'),_0x1cd3('0x1389'),_0x1cd3('0x13c5'),_0x1cd3('0x1389'),_0x1cd3('0x311'),'address','chatPause','openchannelPause',_0x1cd3('0x1590'),'smsPause','whatsappPause',_0x1cd3('0x138f'),_0x1cd3('0x604'),_0x1cd3('0x1390'),'openchannelCapacity',_0x1cd3('0x1392'),'smsCapacity',_0x1cd3('0x1989'),'faxCapacity','chatCurrentCapacity',_0x1cd3('0x1395'),_0x1cd3('0x1396'),_0x1cd3('0x198b'),'whatsappCurrentCapacity',_0x1cd3('0x1398'),'chatStatus',_0x1cd3('0x139a'),_0x1cd3('0x139b'),'smsStatus',_0x1cd3('0x139c'),_0x1cd3('0x139d'),_0x1cd3('0x139e'),'chatStatusTime',_0x1cd3('0x13a0'),'mailStatusTime',_0x1cd3('0x13a2'),_0x1cd3('0x13d2'),'faxStatusTime','voiceStatusTime',_0x1cd3('0x1220'),_0x1cd3('0x13a4'),_0x1cd3('0x13a5'),_0x1cd3('0x13a6'),_0x1cd3('0x13a7')];var _0x5c1f04=[_0x1cd3('0x138b'),_0x1cd3('0x138c'),_0x1cd3('0x1590'),'smsPause',_0x1cd3('0x138e'),_0x1cd3('0x138f'),_0x1cd3('0x604'),_0x1cd3('0x1387')];_0x14f2a2[_0x1cd3('0x3ca')]=_0x408b23[_0x1cd3('0x5d')]();_0x14f2a2['availableStates']=[_0x1cd3('0x5cd'),_0x1cd3('0x13a8'),'busy',_0x1cd3('0x13aa'),'not_inuse'];_0x14f2a2[_0x1cd3('0x1381')]=_0x5b7477||{'count':0x0,'rows':[]};_0x14f2a2[_0x1cd3('0x463')]=_0x1e973d;_0x14f2a2[_0x1cd3('0x38a')]=_0x2658ba;_0x14f2a2[_0x1cd3('0x390')]=_0x5571d6&&_0x5571d6[_0x1cd3('0x466')]==0x1?_0x5571d6[_0x1cd3('0xf6')][0x0]:null;_0x14f2a2[_0x1cd3('0xd27')]=_0x408b23[_0x1cd3('0xd44')](_0x14f2a2['userProfileSection']?_0x14f2a2[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);_0x14f2a2[_0x1cd3('0x1228')]=_0x4bfcea?_[_0x1cd3('0xe2d')](_0x4bfcea[_0x1cd3('0xf6')]?_0x4bfcea[_0x1cd3('0xf6')]:[],'id'):{};_0x14f2a2[_0x1cd3('0x1385')]=_0x1ddb82?_['keyBy'](_0x1ddb82['rows']?_0x1ddb82['rows']:[],'id'):{};_0x14f2a2[_0x1cd3('0x13ac')]={};_0x14f2a2[_0x1cd3('0x5de')]=![];_0x14f2a2[_0x1cd3('0x13ad')]=[];_0x14f2a2[_0x1cd3('0x13ae')]={};for(var _0x5b1225 in _0x14f2a2[_0x1cd3('0x1228')]){if(_0x14f2a2[_0x1cd3('0x1228')][_0x1cd3('0x3d0')](_0x5b1225)){_0x14f2a2[_0x1cd3('0x1228')][_0x5b1225][_0x1cd3('0xe08')]=!![];}}_0x14f2a2[_0x1cd3('0x3d4')]={'limit':0xa,'page':0x1,'order':'fullname','globalStatusFilter':'','pauseTypeFilter':''};_0x14f2a2[_0x1cd3('0x376')]=_0x5855ef;_0x14f2a2[_0x1cd3('0x13af')]=_0x151d17;_0x14f2a2[_0x1cd3('0x63e')]=_0x34b062;_0x14f2a2[_0x1cd3('0x13b0')]=_0x1168b3;_0x14f2a2['showInfo']=_0x2e5ab9;_0x14f2a2['getAgentStatus']=_0x19228a;_0x14f2a2['getAgentGlobalStatus']=_0x2b74fb;_0x14f2a2[_0x1cd3('0x13b3')]=_0x455789;_0x14f2a2['checkPause']=_0x250fb0;_0x14f2a2['isPartialPause']=_0x3f5f13;_0x14f2a2['onSave']=_0x56085b;_0x14f2a2[_0x1cd3('0x13bb')]=_0x5f25fc;_0x14f2a2['onInit']=_0x16480f;_0x14f2a2[_0x1cd3('0x13bd')]=_0x283f5a;_0x14f2a2[_0x1cd3('0x13b7')]=_0xf27801;_0x14f2a2[_0x1cd3('0x13b8')]=_0xebca6b;_0x1bbd22['on'](_0x1cd3('0x13b9'),_0x14f2a2['onSave']);_0x1bbd22['on'](_0x1cd3('0x13ba'),_0x14f2a2[_0x1cd3('0x13bb')]);_0x1bbd22['on'](_0x1cd3('0x13bc'),_0x14f2a2[_0x1cd3('0x13bd')]);_0x1bbd22['on'](_0x1cd3('0x13be'),_0x14f2a2[_0x1cd3('0x13b7')]);_0x16480f();var _0x3309cc=_0x3d59bc(function(){if(_0x14f2a2[_0x1cd3('0x5de')]){_0x14f2a2[_0x1cd3('0x5de')]=![];_0x16480f();}},0x3e7);function _0x16480f(_0x423193){_0x14f2a2['load']=![];var _0x3824eb=_0x21f1c3[_0x1cd3('0x53a')]();_0x14f2a2[_0x1cd3('0x539')]=_0x3824eb[_0x1cd3('0x539')];_0x14f2a2[_0x1cd3('0x13bf')]=[];_0x14f2a2[_0x1cd3('0x13ad')]=[];_['forIn'](_0x14f2a2[_0x1cd3('0x1228')],function(_0x2bd630,_0x540a32){if(_0x14f2a2[_0x1cd3('0x1385')][_0x540a32]){_[_0x1cd3('0xf2')](_0x2bd630,_[_0x1cd3('0x5e8')](_[_0x1cd3('0x3e3')](_0x14f2a2[_0x1cd3('0x1385')][_0x540a32],_0x5c1f04),_0x124479));}_0x2b74fb(_0x2bd630);if(_0x2bd630[_0x1cd3('0x1387')]){_0x14f2a2['filteredAgents'][_0x1cd3('0x7b')](_0x2bd630);_0x14f2a2[_0x1cd3('0x13ae')][_0x2bd630['internal']]=_0x540a32;}else{_0x2bd630[_0x1cd3('0x13c0')]=_[_0x1cd3('0x13c1')](moment()[_0x1cd3('0x130')]('x'));}});if(_0x14f2a2[_0x1cd3('0x3d4')][_0x1cd3('0x13c3')]){_[_0x1cd3('0x383')](_0x14f2a2['filteredAgents'],function(_0x339985){return _0x339985[_0x1cd3('0x13c2')]!==_0x14f2a2[_0x1cd3('0x3d4')][_0x1cd3('0x13c3')];});}if(_0x14f2a2[_0x1cd3('0x3d4')]['pauseTypeFilter']){_[_0x1cd3('0x383')](_0x14f2a2[_0x1cd3('0x13bf')],function(_0x2f4484){return _0x2f4484['pauseType']!==_0x14f2a2['query'][_0x1cd3('0x13c4')];});}if(_0x14f2a2[_0x1cd3('0x3d4')][_0x1cd3('0x395')]){_[_0x1cd3('0x383')](_0x14f2a2[_0x1cd3('0x13bf')],function(_0x37ab4c){return _0x37ab4c['fullname'][_0x1cd3('0x433')]()[_0x1cd3('0x45e')](_0x14f2a2['query'][_0x1cd3('0x395')]['toLowerCase']())<0x0;});}_0x14f2a2[_0x1cd3('0x13bf')]=_0x352635(_0x14f2a2[_0x1cd3('0x13bf')]);var _0x4f9926=(_0x14f2a2[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0x14f2a2[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];_0x14f2a2[_0x1cd3('0x13ac')]=_['drop'](_0x14f2a2['filteredAgents'],_0x4f9926)['slice'](0x0,_0x14f2a2[_0x1cd3('0x3d4')]['limit']);for(var _0x5ae577=0x0;_0x5ae577<_0x14f2a2[_0x1cd3('0x13ac')]['length'];_0x5ae577+=0x1){_0x14f2a2[_0x1cd3('0x13ad')][_0x1cd3('0x7b')](_0x14f2a2[_0x1cd3('0x13ac')][_0x5ae577]['id']);}_0x3824eb[_0x1cd3('0x58')]();_0x14f2a2[_0x1cd3('0x5de')]=!![];}function _0x56085b(_0xf7b635){if(_0x14f2a2['agents'][_0xf7b635['id']]){_[_0x1cd3('0xf2')](_0x14f2a2[_0x1cd3('0x1228')][_0xf7b635['id']],_[_0x1cd3('0x5e8')](_[_0x1cd3('0x3e3')](_0xf7b635,_0x5c1f04),_0x124479));_[_0x1cd3('0xf2')](_0x14f2a2[_0x1cd3('0x1385')][_0xf7b635['id']],_[_0x1cd3('0x5e8')](_['omit'](_0xf7b635,_0x5c1f04),_0x124479));_0x2b74fb(_0x14f2a2[_0x1cd3('0x1228')][_0xf7b635['id']]);}}function _0x5f25fc(_0x3c3797){if(_0x14f2a2[_0x1cd3('0x1228')][_0x3c3797['id']]){_[_0x1cd3('0xf2')](_0x14f2a2['agents'][_0x3c3797['id']],_[_0x1cd3('0x5e8')](_0x3c3797,_0x124479));_['merge'](_0x14f2a2[_0x1cd3('0x1385')][_0x3c3797['id']],_[_0x1cd3('0x5e8')](_0x3c3797,_0x124479));if(_0x3c3797[_0x1cd3('0x1389')]){_0x14f2a2['agents'][_0x3c3797['id']][_0x1cd3('0x13c0')]=_0x3c3797[_0x1cd3('0x1389')];_0x14f2a2['rpcAgents'][_0x3c3797['id']][_0x1cd3('0x13c0')]=_0x3c3797[_0x1cd3('0x1389')];}_0x2b74fb(_0x14f2a2[_0x1cd3('0x1228')][_0x3c3797['id']]);}}function _0x283f5a(_0x5ef1ac){if(_0x14f2a2[_0x1cd3('0x1228')][_0x14f2a2[_0x1cd3('0x13ae')][_0x5ef1ac['destaccountcode']]]){_[_0x1cd3('0xf2')](_0x14f2a2[_0x1cd3('0x1228')][_0x14f2a2[_0x1cd3('0x13ae')][_0x5ef1ac[_0x1cd3('0x13c6')]]],_[_0x1cd3('0x5e8')](_0x5ef1ac,[_0x1cd3('0x1220'),_0x1cd3('0x13a4')]));_[_0x1cd3('0xf2')](_0x14f2a2[_0x1cd3('0x1385')][_0x14f2a2[_0x1cd3('0x13ae')][_0x5ef1ac[_0x1cd3('0x13c6')]]],_[_0x1cd3('0x5e8')](_0x5ef1ac,[_0x1cd3('0x1220'),_0x1cd3('0x13a4')]));}}function _0xf27801(_0x5bbe43){if(_0x14f2a2[_0x1cd3('0x1228')][_0x14f2a2[_0x1cd3('0x13ae')][_0x5bbe43[_0x1cd3('0x13c6')]]]){_0x14f2a2[_0x1cd3('0x1228')][_0x14f2a2['agentInternal'][_0x5bbe43[_0x1cd3('0x13c6')]]]=_[_0x1cd3('0x3e3')](_0x14f2a2['agents'][_0x14f2a2['agentInternal'][_0x5bbe43[_0x1cd3('0x13c6')]]],['queue',_0x1cd3('0x13a4')]);_0x14f2a2['rpcAgents'][_0x14f2a2[_0x1cd3('0x13ae')][_0x5bbe43[_0x1cd3('0x13c6')]]]=_['omit'](_0x14f2a2[_0x1cd3('0x1385')][_0x14f2a2[_0x1cd3('0x13ae')][_0x5bbe43['destaccountcode']]],[_0x1cd3('0x1220'),'destconnectedlinenum']);}}function _0x5855ef(_0x40127d,_0x3cfeb4){return _0x4c77af[_0x1cd3('0x368')][_0x1cd3('0x376')]({'id':_0x40127d['id'],'device':'realtime','agent_id':_0x40127d['id'],'agent_name':_0x40127d[_0x1cd3('0x98')]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x3505d6[_0x1cd3('0x473')]({'title':_0x1cd3('0x13c7'),'msg':_0x40127d[_0x1cd3('0xd3')]+_0x1cd3('0x13c8')});if(_0x14f2a2['agents'][_0x40127d['id']]){_0x14f2a2[_0x1cd3('0x1228')][_0x40127d['id']][_0x1cd3('0x1387')]=![];}if(_0x14f2a2[_0x1cd3('0x1385')][_0x40127d['id']]){_0x14f2a2[_0x1cd3('0x1385')][_0x40127d['id']][_0x1cd3('0x1387')]=![];}_0x16480f();})['catch'](function(_0x1cf9b5){_0x3505d6[_0x1cd3('0x434')]({'title':_0x1cf9b5[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x1cf9b5['status']+_0x1cd3('0x436')+_0x1cf9b5[_0x1cd3('0xd35')]:_0x1cd3('0x13c9'),'msg':_0x1cf9b5[_0x1cd3('0x439')]?JSON['stringify'](_0x1cf9b5[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x1cf9b5[_0x1cd3('0x43b')]()});});}function _0x34b062(_0x448636,_0x2bab21){return _0x4c77af['user'][_0x1cd3('0x63e')]({'id':_0x448636['id'],'type':_0x2bab21})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x1679a8){if(_0x14f2a2[_0x1cd3('0x1228')][_0x448636['id']]){_[_0x1cd3('0xf2')](_0x14f2a2[_0x1cd3('0x1228')][_0x448636['id']],_[_0x1cd3('0x5e8')](_0x1679a8,_0x124479));}if(_0x14f2a2[_0x1cd3('0x1385')][_0x448636['id']]){_[_0x1cd3('0xf2')](_0x14f2a2['rpcAgents'][_0x448636['id']],_[_0x1cd3('0x5e8')](_0x1679a8,_0x124479));}_0x2b74fb(_0x14f2a2[_0x1cd3('0x1228')][_0x448636['id']]);})[_0x1cd3('0xfd')](function(_0x324815){_0x3505d6[_0x1cd3('0x434')]({'title':_0x324815['status']?_0x1cd3('0x435')+_0x324815[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x324815[_0x1cd3('0xd35')]:_0x1cd3('0x13c9'),'msg':_0x324815[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x324815[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x324815['toString']()});});}function _0x1168b3(_0x3fcabd){return _0x4c77af['user'][_0x1cd3('0x13ed')]({'id':_0x3fcabd['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0xf93dab){if(_0x14f2a2[_0x1cd3('0x1228')][_0x3fcabd['id']]){_[_0x1cd3('0xf2')](_0x14f2a2['agents'][_0x3fcabd['id']],_['pick'](_0xf93dab,_0x124479));}if(_0x14f2a2[_0x1cd3('0x1385')][_0x3fcabd['id']]){_[_0x1cd3('0xf2')](_0x14f2a2[_0x1cd3('0x1385')][_0x3fcabd['id']],_[_0x1cd3('0x5e8')](_0xf93dab,_0x124479));}_0x2b74fb(_0x14f2a2[_0x1cd3('0x1228')][_0x3fcabd['id']]);})[_0x1cd3('0xfd')](function(_0x594252){_0x3505d6[_0x1cd3('0x434')]({'title':_0x594252['status']?_0x1cd3('0x435')+_0x594252[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x594252['statusText']:_0x1cd3('0x13c9'),'msg':_0x594252['data']?JSON[_0x1cd3('0x438')](_0x594252[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x594252[_0x1cd3('0x43b')]()});});}function _0x2e5ab9(_0x1f240f){_0x3fcee9['show'](_0x3fcee9[_0x1cd3('0x11d0')]()[_0x1cd3('0x13ca')](!![])['title'](_0x1cd3('0x13cb'))[_0x1cd3('0xd60')]('<div>TODO\x20legend\x20status\x20+\x20state</div>')['ok']('Ok')[_0x1cd3('0xd63')](_0x1f240f));}function _0x151d17(_0x450024,_0x2dc30f){_0x3fcee9[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x198f'),'controllerAs':'vm','templateUrl':_0x1cd3('0x13cc'),'parent':angular[_0x1cd3('0x37f')](_0x2c61ba[_0x1cd3('0x380')]),'targetEvent':_0x2dc30f,'clickOutsideToClose':!![],'locals':{'agent':_0x450024,'agents':[],'channel':'whatsapp','direction':_0x1cd3('0xa4'),'crudPermissions':_0x14f2a2[_0x1cd3('0xd27')]}});}function _0x455789(_0x4596f8){return _0x4596f8===_0x1cd3('0x63e')||_0x4596f8===_0x1cd3('0x13cd');}function _0x250fb0(_0x30217d){return _0x30217d===_0x1cd3('0x63e');}function _0x3f5f13(_0x5c50fe){return _0x5c50fe===_0x1cd3('0x13cd');}function _0x3076b2(_0x153c4f){return _0x153c4f==='idle'||_0x153c4f===_0x1cd3('0x1990')||_0x153c4f===_0x1cd3('0x13ce')||_0x153c4f===_0x1cd3('0x5cd')||_['isNil'](_0x153c4f);}function _0x19228a(_0x2b64c5,_0x4a4396){if(_0x4a4396==='voice'){if(_0x2b64c5[_0x4a4396+'Status']!==_0x1cd3('0x13cf')){return _0x2b64c5[_0x4a4396+_0x1cd3('0x131b')];}if(_0x2b64c5[_0x4a4396+_0x1cd3('0x13d0')]){_0x2b64c5[_0x4a4396+'Status']=_0x1cd3('0x63e');return _0x1cd3('0x63e');}return'idle';}else{if(_0x2b64c5[_0x4a4396+_0x1cd3('0x13d0')]){_0x2b64c5[_0x4a4396+'Status']=_0x1cd3('0x63e');return _0x1cd3('0x63e');}return _0x2b64c5[_0x4a4396+_0x1cd3('0x131b')];}}function _0x2b74fb(_0x6190e3){var _0x4b825e=_0x1cd3('0x1990');if(_[_0x1cd3('0x920')]([_0x19228a(_0x6190e3,_0x1cd3('0x121')),_0x19228a(_0x6190e3,_0x1cd3('0xbf')),_0x19228a(_0x6190e3,_0x1cd3('0x1d2')),_0x19228a(_0x6190e3,_0x1cd3('0x22e')),_0x19228a(_0x6190e3,_0x1cd3('0x26b')),_0x19228a(_0x6190e3,_0x1cd3('0x34a')),_0x19228a(_0x6190e3,_0x1cd3('0x154'))],_0x455789)){_0x4b825e='pause';}else if(_[_0x1cd3('0x38d')]([_0x19228a(_0x6190e3,'voice'),_0x19228a(_0x6190e3,_0x1cd3('0xbf')),_0x19228a(_0x6190e3,_0x1cd3('0x1d2')),_0x19228a(_0x6190e3,_0x1cd3('0x22e')),_0x19228a(_0x6190e3,_0x1cd3('0x26b')),_0x19228a(_0x6190e3,'whatsapp'),_0x19228a(_0x6190e3,_0x1cd3('0x154'))],_0x455789)){_0x4b825e='*pause';}else if(_[_0x1cd3('0x920')]([_0x19228a(_0x6190e3,_0x1cd3('0x121')),_0x19228a(_0x6190e3,_0x1cd3('0xbf')),_0x19228a(_0x6190e3,_0x1cd3('0x1d2')),_0x19228a(_0x6190e3,'openchannel'),_0x19228a(_0x6190e3,_0x1cd3('0x26b')),_0x19228a(_0x6190e3,_0x1cd3('0x34a')),_0x19228a(_0x6190e3,_0x1cd3('0x154'))],_0x3076b2)){_0x4b825e=_0x1cd3('0x13cf');}else{_0x4b825e=_0x1cd3('0x13a9');}if(_0x6190e3['globalStatus']!==_0x4b825e){_0x6190e3[_0x1cd3('0x13c2')]=_0x4b825e;if(_0x6190e3[_0x1cd3('0xe08')]){_0x6190e3['init']=![];_0x6190e3['globalStatusTime']=_0x455789(_0x4b825e)?_['toNumber'](moment(_0x6190e3['lastPauseAt'])[_0x1cd3('0x130')]('x')):_[_0x1cd3('0x13d1')]([_0x6190e3[_0x1cd3('0x13a3')],_0x6190e3[_0x1cd3('0x139f')],_0x6190e3[_0x1cd3('0x13a1')],_0x6190e3[_0x1cd3('0x13a2')],_0x6190e3['whatsappStatusTime'],_0x6190e3[_0x1cd3('0x13a0')],_0x6190e3[_0x1cd3('0x13d3')]]);}else{_0x6190e3[_0x1cd3('0x13c0')]=_['toNumber'](moment()[_0x1cd3('0x130')]('x'));}}}function _0x352635(_0x57e65b){var _0x2aa049=_['startsWith'](_0x14f2a2[_0x1cd3('0x3d4')][_0x1cd3('0x13ad')],'-')?'desc':_0x1cd3('0x13d6');return _[_0x1cd3('0xe31')](_0x57e65b,[_0x14f2a2[_0x1cd3('0x3d4')][_0x1cd3('0x13ad')][_0x1cd3('0x3f1')]('-','')],[_0x2aa049]);}function _0x3e0e8b(){if(_0x3309cc){_0x3d59bc['cancel'](_0x3309cc);_0x3309cc=null;}}function _0xebca6b(_0x4d04dd,_0x2086fb){return _0x4c77af[_0x1cd3('0x368')][_0x1cd3('0x378')]({'id':_0x4d04dd['id']},{'screenrecording':_0x2086fb})['$promise'][_0x1cd3('0xfd')](function(_0x16429f){_0x3505d6[_0x1cd3('0x434')]({'title':_0x16429f['status']?_0x1cd3('0x435')+_0x16429f['status']+'\x20-\x20'+_0x16429f[_0x1cd3('0xd35')]:_0x1cd3('0x13d7'),'msg':_0x16429f[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x16429f[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x16429f[_0x1cd3('0x43b')]()});});}_0x3dfc8a['$on'](_0x1cd3('0x523'),function(){_0x1bbd22[_0x1cd3('0x6a3')](_0x1cd3('0x13b9'));_0x1bbd22[_0x1cd3('0x6a3')](_0x1cd3('0x13ba'));_0x1bbd22['removeAllListeners'](_0x1cd3('0x13bc'));_0x1bbd22['removeAllListeners'](_0x1cd3('0x13be'));_0x3e0e8b();});}}());(function(){'use strict';_0x33ca2f[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x3e7'),_0x1cd3('0x3c5'),'$q',_0x1cd3('0x372'),_0x1cd3('0x585'),_0x1cd3('0x1155'),'rpcQueues',_0x1cd3('0x370'),'socket',_0x1cd3('0x461'),_0x1cd3('0x38a'),_0x1cd3('0x390'),'Auth'];angular[_0x1cd3('0x0')](_0x1cd3('0x3a'))['controller']('QueuesWhatsappRealtimeController',_0x33ca2f);function _0x33ca2f(_0x2975b0,_0x1d601e,_0x17001a,_0x20a2d7,_0x41ab69,_0x17d9b2,_0x249ee4,_0x483965,_0x950f32,_0x1dc65c,_0x4f2e77,_0x4398e1,_0x2f8795,_0xfb1ae3){var _0x2b71f0=this;var _0xaa80a2=['loggedIn',_0x1cd3('0x13da'),'waiting',_0x1cd3('0x10f'),'pTalking',_0x1cd3('0x13dc'),_0x1cd3('0x43a'),'dialActive',_0x1cd3('0x13dd'),_0x1cd3('0x13de'),_0x1cd3('0x13ea')];_0x2b71f0[_0x1cd3('0x3ca')]=_0xfb1ae3[_0x1cd3('0x5d')]();_0x2b71f0['count']=_0x249ee4[_0x1cd3('0x466')]?_0x249ee4[_0x1cd3('0x466')]:0x0;_0x2b71f0['queues']=_0x249ee4?_[_0x1cd3('0xe2d')](_0x249ee4[_0x1cd3('0xf6')]?_0x249ee4['rows']:[],'id'):{};_0x2b71f0['rpcQueues']=_0x483965?_[_0x1cd3('0xe2d')](_0x483965['rows']?_0x483965['rows']:[],'id'):{};_0x2b71f0[_0x1cd3('0x38a')]=_0x4398e1;_0x2b71f0[_0x1cd3('0x390')]=_0x2f8795&&_0x2f8795[_0x1cd3('0x466')]==0x1?_0x2f8795['rows'][0x0]:null;_0x2b71f0['crudPermissions']=_0xfb1ae3['parseCrudPermissions'](_0x2b71f0['userProfileSection']?_0x2b71f0[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);if(_0xfb1ae3['hasRole'](_0x1cd3('0x5f'))){_0x2b71f0[_0x1cd3('0x3d4')]={'type':'inbound','sort':'-updatedAt','limit':0xa,'page':0x1};}else{_0x2b71f0[_0x1cd3('0x3d4')]={'id':_0x2b71f0['currentUser']['id'],'channel':_0x1cd3('0x34a'),'type':_0x1cd3('0xa4'),'sort':_0x1cd3('0x5b'),'limit':0xa,'page':0x1};}_0x2b71f0[_0x1cd3('0x473')]=_0x962112;_0x2b71f0[_0x1cd3('0x13df')]=_0x52cc84;_0x2b71f0[_0x1cd3('0x2713')]=_0x573afb;_0x2b71f0[_0x1cd3('0x1992')]=_0x23a21b;_0x2b71f0[_0x1cd3('0x13e0')]=_0x304069;_0x2b71f0[_0x1cd3('0x13b6')]=_0x4fb10d;_0x2b71f0[_0x1cd3('0x13e1')]=_0xdd81dd;_0x2b71f0[_0x1cd3('0x13e2')]=_0x249876;_0x2b71f0[_0x1cd3('0x13e3')]=_0x23c725;_0x2b71f0[_0x1cd3('0x13e9')]=_0x2aab5b;_0x2b71f0[_0x1cd3('0x13e4')]=_0x50befd;_0x2b71f0[_0x1cd3('0x699')]=_0x164bf8;_0x2b71f0[_0x1cd3('0x13ad')]=[];_[_0x1cd3('0x13e5')](_0x2b71f0['queues'],function(_0x20cab6,_0x1b5848){_0x2b71f0['order'][_0x1cd3('0x7b')](_0x20cab6['id']);});_0x1dc65c['on'](_0x1cd3('0x1732'),_0x2b71f0['onSave']);_0x1dc65c['on']('userWhatsappQueue:save',_0x2b71f0[_0x1cd3('0x13e1')]);_0x1dc65c['on']('userWhatsappQueue:remove',_0x2b71f0[_0x1cd3('0x13e2')]);_0x1dc65c['on']('user:update',_0x2b71f0[_0x1cd3('0x13e3')]);_0x1dc65c['on'](_0x1cd3('0x16a1'),_0x2b71f0[_0x1cd3('0x13e4')]);_0x1dc65c['on']('userVoiceQueue:save',_0x2b71f0[_0x1cd3('0x13e9')]);function _0x164bf8(){var _0x379fa8=[];_[_0x1cd3('0x13e5')](_0x2b71f0[_0x1cd3('0x1155')],function(_0x5e28bd,_0x282c2d){_0x5e28bd[_0x1cd3('0x13ea')]=0x0;_0x5e28bd[_0x1cd3('0x13eb')]=0x0;_0x2b71f0[_0x1cd3('0x1155')][_0x282c2d]['agents']={};_0x379fa8[_0x1cd3('0x7b')](_0x950f32[_0x1cd3('0xcbf')]['getMembers']({'id':_0x282c2d})[_0x1cd3('0x81')]);if(_0x2b71f0[_0x1cd3('0x13d8')][_0x282c2d]){_[_0x1cd3('0xf2')](_0x5e28bd,_[_0x1cd3('0x5e8')](_0x2b71f0[_0x1cd3('0x13d8')][_0x282c2d],_0xaa80a2));}});return _0x20a2d7['all'](_0x379fa8)[_0x1cd3('0x77')](function(_0xb99e07){for(var _0x12393d=0x0;_0x12393d<_0xb99e07[_0x1cd3('0x7a')];_0x12393d+=0x1){for(var _0x8a93c2=0x0;_0x8a93c2<_0xb99e07[_0x12393d]['rows'][_0x1cd3('0x7a')];_0x8a93c2++){if(_0xb99e07[_0x12393d][_0x1cd3('0xf6')][_0x8a93c2][_0x1cd3('0x13ea')]){_0x2b71f0[_0x1cd3('0x1155')][_0xb99e07[_0x12393d][_0x1cd3('0xf6')][_0x8a93c2]['WhatsappQueueId']][_0x1cd3('0x13ea')]++;}_0x2b71f0[_0x1cd3('0x1155')][_0xb99e07[_0x12393d][_0x1cd3('0xf6')][_0x8a93c2]['WhatsappQueueId']]['loggedInDb']++;_0x2b71f0[_0x1cd3('0x1155')][_0xb99e07[_0x12393d][_0x1cd3('0xf6')][_0x8a93c2]['WhatsappQueueId']]['agents'][_0xb99e07[_0x12393d][_0x1cd3('0xf6')][_0x8a93c2][_0x1cd3('0x1226')]]=_0xb99e07[_0x12393d][_0x1cd3('0xf6')][_0x8a93c2][_0x1cd3('0x2714')];}}})[_0x1cd3('0xfd')](function(_0x53374a){console[_0x1cd3('0x434')](_0x53374a);});}function _0x4fb10d(_0x1e50a5){if(_0x2b71f0[_0x1cd3('0x1155')][_0x1e50a5['id']]){_[_0x1cd3('0xf2')](_0x2b71f0[_0x1cd3('0x1155')][_0x1e50a5['id']],_[_0x1cd3('0x5e8')](_0x1e50a5,_0xaa80a2));}}function _0xdd81dd(_0x4d5507){if(_0x2b71f0[_0x1cd3('0x1155')][_0x4d5507[_0x1cd3('0x2714')]]){_0x2b71f0[_0x1cd3('0x1155')][_0x4d5507[_0x1cd3('0x2714')]][_0x1cd3('0x13eb')]++;}}function _0x249876(_0x41b41a){if(_0x2b71f0['queues'][_0x41b41a[_0x1cd3('0x2714')]]){_0x2b71f0[_0x1cd3('0x1155')][_0x41b41a[_0x1cd3('0x2714')]]['loggedInDb']--;}}function _0x23c725(_0xc5d152){console[_0x1cd3('0x7d')](_0x1cd3('0x13e3'),_0xc5d152);if(_0xc5d152[_0x1cd3('0x604')]){_[_0x1cd3('0x13e5')](_0x2b71f0[_0x1cd3('0x1155')],function(_0x3967b1,_0x8c9c1e){if(_0x3967b1['agents'][_0xc5d152['id']]){_0x3967b1['paused']+=0x1;console[_0x1cd3('0x7d')](_0x1cd3('0x63e'));}});}else if(!_0xc5d152[_0x1cd3('0x604')]){_[_0x1cd3('0x13e5')](_0x2b71f0['queues'],function(_0x31815f,_0xa2f54f){if(_0x31815f[_0x1cd3('0x1228')][_0xc5d152['id']]){if(_0x31815f[_0x1cd3('0x13ea')]>0x0){_0x31815f[_0x1cd3('0x13ea')]-=0x1;console[_0x1cd3('0x7d')](_0x1cd3('0x13ed'));}}});}}function _0x2aab5b(_0x4976a0){console[_0x1cd3('0x7d')]('onLogged',_0x4976a0);if(_0x2b71f0[_0x1cd3('0x1155')][_0x4976a0[_0x1cd3('0x2714')]]){_0x2b71f0['queues'][_0x4976a0[_0x1cd3('0x2714')]][_0x1cd3('0x13eb')]+=0x1;_0x2b71f0['queues'][_0x4976a0[_0x1cd3('0x2714')]][_0x1cd3('0x1228')][_0x4976a0['UserId']]=_0x4976a0[_0x1cd3('0x2714')];}}function _0x50befd(_0x4b5d27){console[_0x1cd3('0x7d')](_0x1cd3('0x13e4'),_0x4b5d27);if(_0x2b71f0[_0x1cd3('0x1155')][_0x4b5d27[_0x1cd3('0x2714')]]&&_0x2b71f0['queues'][_0x4b5d27['WhatsappQueueId']][_0x1cd3('0x13eb')]>0x0){_0x2b71f0[_0x1cd3('0x1155')][_0x4b5d27['WhatsappQueueId']]['loggedInDb']-=0x1;delete _0x2b71f0[_0x1cd3('0x1155')][_0x4b5d27[_0x1cd3('0x2714')]][_0x1cd3('0x1228')][_0x4b5d27[_0x1cd3('0x1226')]];}}var _0x22e0f8=!![];var _0x5e0371=0x1;_0x2975b0['$watch'](_0x1cd3('0xd56'),function(_0x42a2c0,_0x3dba17){if(_0x22e0f8){_0x1d601e(function(){_0x22e0f8=![];});}else{if(!_0x3dba17){_0x5e0371=_0x2b71f0[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0x42a2c0!==_0x3dba17){_0x2b71f0[_0x1cd3('0x3d4')]['page']=0x1;}if(!_0x42a2c0){_0x2b71f0[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0x5e0371;}_0x2b71f0[_0x1cd3('0x13df')]();}});function _0x962112(_0x45b973){_0x2b71f0[_0x1cd3('0x466')]=_0x45b973[_0x1cd3('0x466')];_0x2b71f0[_0x1cd3('0x1155')]=_0x45b973?_['keyBy'](_0x45b973['rows']?_0x45b973[_0x1cd3('0xf6')]:[],'id'):{};if(_0x45b973['rows']){_0x2b71f0[_0x1cd3('0x13ad')]=[];for(var _0x5bb6d8=0x0;_0x5bb6d8<_0x45b973['rows'][_0x1cd3('0x7a')];_0x5bb6d8++){_0x2b71f0['order'][_0x1cd3('0x7b')](_0x45b973[_0x1cd3('0xf6')][_0x5bb6d8]['id']);}}_0x164bf8();}function _0x52cc84(){_0x2b71f0[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0x2b71f0[_0x1cd3('0x3d4')]['page']-0x1)*_0x2b71f0[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];if(_0xfb1ae3[_0x1cd3('0x57')](_0x1cd3('0x5f'))){_0x2b71f0[_0x1cd3('0x539')]=_0x950f32[_0x1cd3('0xcbf')]['get'](_0x2b71f0[_0x1cd3('0x3d4')],_0x962112)[_0x1cd3('0x81')];}else{_0x2b71f0[_0x1cd3('0x3d4')]['id']=_0x2b71f0[_0x1cd3('0x38a')]['id'];_0x2b71f0['query'][_0x1cd3('0xd58')]=_0x1cd3('0x344');_0x2b71f0[_0x1cd3('0x539')]=_0x950f32[_0x1cd3('0x38a')]['getResources'](_0x2b71f0[_0x1cd3('0x3d4')],_0x962112)[_0x1cd3('0x81')];}}function _0x573afb(_0x5d1e98,_0x648cb3){_0x17001a[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x2715'),'controllerAs':'vm','templateUrl':_0x1cd3('0x2716'),'parent':angular[_0x1cd3('0x37f')](_0x41ab69[_0x1cd3('0x380')]),'targetEvent':_0x5d1e98,'clickOutsideToClose':!![],'locals':{'whatsappQueue':_0x648cb3,'whatsappQueues':_[_0x1cd3('0x42d')](_0x2b71f0[_0x1cd3('0x1155')]),'license':null,'setting':null,'crudPermissions':_0x2b71f0[_0x1cd3('0xd27')]}});}function _0x23a21b(_0x53ac0d,_0x25f1d0){_0x17001a['show']({'controller':_0x1cd3('0x2717'),'controllerAs':'vm','templateUrl':_0x1cd3('0x2718'),'parent':angular[_0x1cd3('0x37f')](_0x41ab69[_0x1cd3('0x380')]),'targetEvent':_0x53ac0d,'clickOutsideToClose':!![],'locals':{'whatsappQueue':_0x25f1d0,'whatsappQueues':_0x2b71f0[_0x1cd3('0x1155')]?_0x2b71f0['queues'][_0x1cd3('0xf6')]:[],'realtime':![],'crudPermissions':_0x2b71f0[_0x1cd3('0xd27')]}});}function _0x304069(_0x2571de){return _0x950f32[_0x1cd3('0xcbf')]['update'](_0x2571de)[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x4f2e77[_0x1cd3('0x473')]({'title':'Queue\x20properly\x20updated!','msg':_0x2571de[_0x1cd3('0x98')]?_0x2571de[_0x1cd3('0x98')]+_0x1cd3('0xe65'):''});})[_0x1cd3('0xfd')](function(_0x23edff){_0x4f2e77[_0x1cd3('0x434')]({'title':_0x1cd3('0x1993'),'msg':_0x23edff[_0x1cd3('0x43a')]});});}_0x2975b0[_0x1cd3('0x4d3')](_0x1cd3('0x523'),function(){_0x1dc65c[_0x1cd3('0x6a3')](_0x1cd3('0x1732'));_0x1dc65c[_0x1cd3('0x6a3')](_0x1cd3('0x172a'));_0x1dc65c['removeAllListeners']('userWhatsappQueue:save');_0x1dc65c[_0x1cd3('0x6a3')](_0x1cd3('0x13ba'));_0x1dc65c[_0x1cd3('0x6a3')]('userVoiceQueue:remove');_0x1dc65c[_0x1cd3('0x6a3')]('userVoiceQueue:save');});}}());(function(){'use strict';angular[_0x1cd3('0x0')](_0x1cd3('0x1'))[_0x1cd3('0x373')](_0x1cd3('0x1999'),_0x22dab6);function _0x22dab6(){return{'status':{'registered':_0x1cd3('0x13f1'),'unregistered':'red-300-fg\x20icon-close-circle','lagged':'red-300-fg\x20icon-close-circle','reachable':_0x1cd3('0x13f1'),'unreachable':'red-300-fg\x20icon-close-circle','unknown':_0x1cd3('0x1994')},'state':{'unknown':_0x1cd3('0x13f3'),'not_inuse':_0x1cd3('0x13f4'),'inuse':_0x1cd3('0x13f5'),'busy':_0x1cd3('0x1995'),'invalid':_0x1cd3('0x13f3'),'unavailable':'grey-fg\x20icon-phone-hangup','ringing':'blue-300-fg\x20icon-phone-incoming','ringinuse':_0x1cd3('0x13f6'),'onhold':_0x1cd3('0x13f7')},'channelStatus':{'ring':_0x1cd3('0x13f6'),'up':_0x1cd3('0x13f8'),'hangup':'red-300-fg\x20icon-phone-hangup'},'channelStatusOut':{'ring':_0x1cd3('0x13fa'),'up':_0x1cd3('0x13f8'),'hangup':_0x1cd3('0x13f9')}};}}());(function(){'use strict';_0x313d57['$inject']=[_0x1cd3('0x460'),_0x1cd3('0x53e'),_0x1cd3('0xd18')];angular['module'](_0x1cd3('0x3a'))[_0x1cd3('0x39b')](_0x1cd3('0x2719'),_0x313d57);function _0x313d57(_0x2cf5a0,_0x5a0073,_0x5e637b){var _0x1bba68=this;_0x5e637b[_0x1cd3('0xd1c')]();_0x5e637b[_0x1cd3('0x664')]();_0x1bba68['selectedTab']=0x0;switch(_0x5a0073['current']['name']){case'app.whatsapp.realtime.agents':_0x1bba68['selectedTab']=0x0;break;case _0x1cd3('0x342'):_0x1bba68[_0x1cd3('0xe5f')]=0x1;break;default:_0x1bba68[_0x1cd3('0xe5f')]=0x0;_0x5a0073['go'](_0x1cd3('0x340'));}_0x2cf5a0['$watch']('vm.selectedTab',function(_0x2531e7,_0x19d643){if(_0x2531e7!==_0x19d643){switch(_0x2531e7){case 0x0:_0x5a0073['go'](_0x1cd3('0x340'));break;case 0x1:_0x5a0073['go']('app.whatsapp.realtime.queues');break;default:_0x5a0073['go'](_0x1cd3('0x340'));}}});}}());(function(){'use strict';_0x19ace6['$inject']=[_0x1cd3('0x460'),_0x1cd3('0x53e'),_0x1cd3('0xd24'),_0x1cd3('0x3c5'),'$q',_0x1cd3('0x3f7'),'toasty',_0x1cd3('0x15fc'),_0x1cd3('0xca3'),_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0x463'),_0x1cd3('0xc49'),_0x1cd3('0xd27')];angular['module'](_0x1cd3('0x3a'))[_0x1cd3('0x39b')]('CreateOrEditWhatsappAccountDialogController',_0x19ace6);function _0x19ace6(_0x132e73,_0x2ee195,_0x21fd63,_0x14f317,_0x296055,_0x3a55a6,_0xe1bdf6,_0x54872f,_0x2dc53d,_0x4c2ef1,_0x32581b,_0xcaa43c,_0x2744d7,_0x49c65a){var _0xa69724=this;_0xa69724[_0x1cd3('0x3ca')]=_0x32581b['getCurrentUser']();_0xa69724[_0x1cd3('0xd34')]=[];_0xa69724[_0x1cd3('0xc49')]=_0x2744d7;_0xa69724['license']=_0xcaa43c;_0xa69724[_0x1cd3('0xd27')]=_0x49c65a;_0xa69724['hasModulePermissions']={};_0xa69724[_0x1cd3('0xd29')]=_0xa69724[_0x1cd3('0xc49')]&&_0xa69724[_0x1cd3('0xc49')]['securePassword']?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0xa69724[_0x1cd3('0x486')]=_0x1cd3('0x271a');_0xa69724[_0x1cd3('0xca3')]=angular[_0x1cd3('0x429')](_0x2dc53d);_0xa69724[_0x1cd3('0x15fc')]=_0x54872f;_0xa69724[_0x1cd3('0x271b')]=![];if(!_0xa69724[_0x1cd3('0xca3')]){_0xa69724[_0x1cd3('0xca3')]={'remote':_0x21fd63[_0x1cd3('0x3b0')]()+_0x1cd3('0x11cf')+_0x21fd63[_0x1cd3('0x3ac')]()+(_0x21fd63[_0x1cd3('0x3b1')]()?':'+_0x21fd63[_0x1cd3('0x3b1')]():''),'type':'twilio','notificationSound':!![],'queueTransferTimeout':0x12c,'waitForTheAssignedAgent':0xa,'agentTransferTimeout':0x12c};_0xa69724[_0x1cd3('0x486')]=_0x1cd3('0x271c');_0xa69724[_0x1cd3('0x271b')]=!![];}if(_0x2ee195['params']['id']){_0xa69724[_0x1cd3('0xca3')][_0x1cd3('0x1583')]=_0x2ee195['params']['id'];}_0xa69724[_0x1cd3('0x271d')]=_0x4dc694;_0xa69724[_0x1cd3('0x271e')]=_0x239c4b;_0xa69724[_0x1cd3('0x271f')]=_0x66275b;_0xa69724[_0x1cd3('0xd31')]=_0x53b42b;_0xa69724[_0x1cd3('0x39c')]=_0x372f8b;_0x32581b['hasRole'](_0x1cd3('0x5f'))?_0x4c2ef1[_0x1cd3('0xc8f')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x8d9a4){_0xa69724['lists']=_0x8d9a4[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x51b50c){_0xe1bdf6[_0x1cd3('0x434')]({'title':_0x51b50c[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x51b50c['status']+'\x20-\x20'+_0x51b50c[_0x1cd3('0xd35')]:'SYSTEM:GET_LISTS','msg':_0x51b50c[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x51b50c[_0x1cd3('0x439')]):_0x51b50c['toString']()});}):_0x4c2ef1[_0x1cd3('0xc8f')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x38a1ff){_0xa69724['lists']=_0x38a1ff[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x4c2ef1[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0xa69724['currentUser'][_0x1cd3('0x5e')],'sectionId':0x12d})[_0x1cd3('0x81')];})['then'](function(_0x4b0f01){var _0x1c5de8=_0x4b0f01&&_0x4b0f01[_0x1cd3('0xf6')]?_0x4b0f01[_0x1cd3('0xf6')][0x0]:null;if(!_0x1c5de8){var _0x3d82b7=[];var _0xae5e55=null;if(_0xa69724[_0x1cd3('0xca3')]){_0xae5e55=_[_0x1cd3('0x442')](_0xa69724['lists'],{'id':Number(_0xa69724[_0x1cd3('0xca3')][_0x1cd3('0x106')])});}for(var _0x5532a0=0x0;_0x5532a0<_0xa69724[_0x1cd3('0xf5')][_0x1cd3('0x7a')];_0x5532a0++){if(_0xae5e55&&_0xa69724[_0x1cd3('0xf5')][_0x5532a0]['id']===_0xae5e55['id']){_0xa69724[_0x1cd3('0xf5')][_0x5532a0][_0x1cd3('0xf4a')]=![];_0x3d82b7[_0x1cd3('0x7b')](_0xa69724[_0x1cd3('0xf5')][_0x5532a0]);}}_0xa69724[_0x1cd3('0xf5')]=_0x3d82b7;}else{if(!_0x1c5de8[_0x1cd3('0x391')]){return _0x4c2ef1['userProfileResource']['get']({'sectionId':_0x1c5de8['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x532a6a){var _0x315f94=_[_0x1cd3('0x3d9')](_0x532a6a['rows'],function(_0x12f16b){return _[_0x1cd3('0x442')](_0xa69724[_0x1cd3('0xf5')],{'id':_0x12f16b['resourceId']});});var _0x52347b=null;if(_0xa69724[_0x1cd3('0xca3')]){_0x52347b=_[_0x1cd3('0x442')](_0xa69724['lists'],{'id':Number(_0xa69724[_0x1cd3('0xca3')]['ListId'])});}if(_0x52347b&&!_[_0x1cd3('0x38d')](_0x315f94,['id',_0x52347b['id']])){var _0x2ed121=_[_0x1cd3('0x442')](_0xa69724[_0x1cd3('0xf5')],{'id':_0x52347b['id']});_0x2ed121['canSelect']=![];_0x315f94['push'](_0x2ed121);}_0xa69724[_0x1cd3('0xf5')]=_0x315f94;});}}})[_0x1cd3('0xfd')](function(_0x18be88){_0xe1bdf6[_0x1cd3('0x434')]({'title':_0x18be88[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x18be88[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x18be88[_0x1cd3('0xd35')]:_0x1cd3('0x137f'),'msg':_0x18be88[_0x1cd3('0x439')]?JSON['stringify'](_0x18be88['data']):_0x18be88['toString']()});});_0x32581b['hasRole'](_0x1cd3('0x5f'))?_0x4c2ef1['pause']['get']({'fields':_0x1cd3('0x1380'),'sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')]['then'](function(_0xb2a388){_0xa69724[_0x1cd3('0x1381')]=_0xb2a388[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x5c6b4e){_0xe1bdf6[_0x1cd3('0x434')]({'title':_0x5c6b4e[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x5c6b4e[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x5c6b4e[_0x1cd3('0xd35')]:_0x1cd3('0x1382'),'msg':_0x5c6b4e[_0x1cd3('0x439')]?JSON['stringify'](_0x5c6b4e[_0x1cd3('0x439')]):_0x5c6b4e[_0x1cd3('0x43b')]()});}):_0x4c2ef1[_0x1cd3('0x63e')][_0x1cd3('0x361')]({'fields':_0x1cd3('0x1380'),'sort':'name','nolimit':_0x1cd3('0x2e0')})['$promise']['then'](function(_0x8cd09d){_0xa69724[_0x1cd3('0x1381')]=_0x8cd09d[_0x1cd3('0xf6')]||[];})['then'](function(){return _0x4c2ef1[_0x1cd3('0x390')]['get']({'userProfileId':_0xa69724[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x3ed})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x53f759){var _0xdc74d6=_0x53f759&&_0x53f759[_0x1cd3('0xf6')]?_0x53f759[_0x1cd3('0xf6')][0x0]:null;if(!_0xdc74d6){_0xa69724[_0x1cd3('0x1381')]=[];}else{if(!_0xdc74d6[_0x1cd3('0x391')]){return _0x4c2ef1[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0xdc74d6['id']})['$promise'][_0x1cd3('0x77')](function(_0x361b64){var _0x4db29b=_[_0x1cd3('0x3d9')](_0x361b64[_0x1cd3('0xf6')],function(_0x336a73){return _[_0x1cd3('0x442')](_0xa69724[_0x1cd3('0x1381')],{'id':_0x336a73['resourceId']});});_0xa69724['pauses']['forEach'](function(_0x2d19c1){if(!_[_0x1cd3('0x38d')](_0x4db29b,['id',_0x2d19c1['id']])){_0x2d19c1[_0x1cd3('0xf4a')]=![];}_0x4db29b[_0x1cd3('0x7b')](_0x2d19c1);});_0xa69724[_0x1cd3('0x1381')]=_0x4db29b;});}}})[_0x1cd3('0xfd')](function(_0x308f64){_0xe1bdf6[_0x1cd3('0x434')]({'title':_0x308f64['status']?_0x1cd3('0x435')+_0x308f64[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x308f64[_0x1cd3('0xd35')]:_0x1cd3('0x1935'),'msg':_0x308f64[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x308f64['data']):_0x308f64[_0x1cd3('0x43b')]()});});function _0x4dc694(){_0xa69724[_0x1cd3('0xd34')]=[];_0x4c2ef1[_0x1cd3('0xca3')]['save'](_0xa69724['whatsappAccount'])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x401ed8){_0xa69724[_0x1cd3('0x15fc')]['unshift'](_0x401ed8['toJSON']());_0xe1bdf6[_0x1cd3('0x473')]({'title':_0x1cd3('0x2720'),'msg':_0xa69724['whatsappAccount'][_0x1cd3('0x98')]?_0xa69724[_0x1cd3('0xca3')]['name']+'\x20has\x20been\x20created!':''});_0x372f8b(_0x401ed8);})[_0x1cd3('0xfd')](function(_0x269bc0){if(_0x269bc0[_0x1cd3('0x439')]&&_0x269bc0[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x269bc0[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0xa69724[_0x1cd3('0xd34')]=_0x269bc0[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x269bc0['toString'](),'type':'api.whatsappAccount.save'}];for(var _0x58d25a=0x0;_0x58d25a<_0x269bc0[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length'];_0x58d25a+=0x1){_0xe1bdf6[_0x1cd3('0x434')]({'title':_0x269bc0[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x58d25a][_0x1cd3('0x424')],'msg':_0x269bc0['data'][_0x1cd3('0xd34')][_0x58d25a][_0x1cd3('0x43a')]});}}else{_0xe1bdf6[_0x1cd3('0x434')]({'title':_0x269bc0[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x269bc0['status']+'\x20-\x20'+_0x269bc0[_0x1cd3('0xd35')]:_0x1cd3('0x2721'),'msg':_0x269bc0['data']?JSON['stringify'](_0x269bc0[_0x1cd3('0x439')]['message']):_0x269bc0['toString']()});}});}function _0x239c4b(){_0xa69724[_0x1cd3('0xd34')]=[];_0x4c2ef1[_0x1cd3('0xca3')][_0x1cd3('0x378')]({'id':_0xa69724[_0x1cd3('0xca3')]['id']},_0xa69724['whatsappAccount'])[_0x1cd3('0x81')]['then'](function(_0x66de0e){var _0xe0d668=_[_0x1cd3('0x442')](_0xa69724[_0x1cd3('0x15fc')],{'id':_0x66de0e['id']});if(_0xe0d668){_[_0x1cd3('0xf2')](_0xe0d668,_[_0x1cd3('0x5e8')](_0x66de0e[_0x1cd3('0xd32')](),_[_0x1cd3('0x80')](_0xe0d668)));}_0xe1bdf6[_0x1cd3('0x473')]({'title':_0x1cd3('0x2722'),'msg':_0xa69724['whatsappAccount'][_0x1cd3('0x98')]?_0xa69724[_0x1cd3('0xca3')][_0x1cd3('0x98')]+'\x20has\x20been\x20saved!':''});_0x372f8b(_0x66de0e);})[_0x1cd3('0xfd')](function(_0x24d3d1){if(_0x24d3d1['data']&&_0x24d3d1['data'][_0x1cd3('0xd34')]&&_0x24d3d1[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0xa69724['errors']=_0x24d3d1[_0x1cd3('0x439')]['errors']||[{'message':_0x24d3d1[_0x1cd3('0x43b')](),'type':_0x1cd3('0x2723')}];for(var _0x18a4b1=0x0;_0x18a4b1<_0x24d3d1[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length'];_0x18a4b1++){_0xe1bdf6['error']({'title':_0x24d3d1[_0x1cd3('0x439')]['errors'][_0x18a4b1]['type'],'msg':_0x24d3d1['data'][_0x1cd3('0xd34')][_0x18a4b1][_0x1cd3('0x43a')]});}}else{_0xe1bdf6[_0x1cd3('0x434')]({'title':_0x24d3d1[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x24d3d1[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x24d3d1[_0x1cd3('0xd35')]:_0x1cd3('0x2723'),'msg':_0x24d3d1[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x24d3d1[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x24d3d1[_0x1cd3('0x43b')]()});}});}function _0x66275b(_0x1fedc4){_0xa69724[_0x1cd3('0xd34')]=[];var _0x5bc352=_0x14f317[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xd3a'))[_0x1cd3('0xd3b')](_0x1cd3('0x2724'))['ariaLabel'](_0x1cd3('0x2725'))['ok'](_0x1cd3('0xd3f'))['cancel']('Cancel')[_0x1cd3('0xd63')](_0x1fedc4);_0x14f317[_0x1cd3('0x37e')](_0x5bc352)[_0x1cd3('0x77')](function(){_0x4c2ef1[_0x1cd3('0xca3')][_0x1cd3('0xa1c')]({'id':_0xa69724['whatsappAccount']['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0xa69724[_0x1cd3('0x15fc')],{'id':_0xa69724['whatsappAccount']['id']});_0xe1bdf6[_0x1cd3('0x473')]({'title':'WhatsappAccount\x20properly\x20deleted!','msg':(_0xa69724['whatsappAccount'][_0x1cd3('0x98')]||_0x1cd3('0xca3'))+_0x1cd3('0xd41')});_0x372f8b(_0xa69724[_0x1cd3('0xca3')]);})[_0x1cd3('0xfd')](function(_0x1aa532){if(_0x1aa532[_0x1cd3('0x439')]&&_0x1aa532[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x1aa532[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length']){_0xa69724[_0x1cd3('0xd34')]=_0x1aa532[_0x1cd3('0x439')]['errors']||[{'message':_0x1aa532[_0x1cd3('0x43b')](),'type':_0x1cd3('0x2726')}];for(var _0x49f879=0x0;_0x49f879<_0x1aa532[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x49f879++){_0xe1bdf6[_0x1cd3('0x434')]({'title':_0x1aa532[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x49f879][_0x1cd3('0x424')],'msg':_0x1aa532[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x49f879][_0x1cd3('0x43a')]});}}else{_0xe1bdf6[_0x1cd3('0x434')]({'title':_0x1aa532[_0x1cd3('0x3a6')]?'API:'+_0x1aa532[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x1aa532[_0x1cd3('0xd35')]:_0x1cd3('0x2726'),'msg':_0x1aa532['data']?JSON[_0x1cd3('0x438')](_0x1aa532['data']['message']):_0x1aa532['message']||_0x1aa532['toString']()});}});},function(){});}function _0x53b42b(_0x4525d9){return _0x4525d9===null?undefined:new Date(_0x4525d9);}function _0x372f8b(_0x4c6c21){_0x14f317[_0x1cd3('0x39d')](_0x4c6c21);}}}());(function(){'use strict';_0x3d262b[_0x1cd3('0xc')]=[_0x1cd3('0x370'),'$mdDialog',_0x1cd3('0x372'),_0x1cd3('0x461'),'Auth'];angular[_0x1cd3('0x0')](_0x1cd3('0x3a'))['controller'](_0x1cd3('0x2727'),_0x3d262b);function _0x3d262b(_0x586b2b,_0x316151,_0x2eec8d,_0xc8746f,_0x4a8f29){var _0x3ae2c2=this;_0x3ae2c2[_0x1cd3('0x3ca')]=_0x4a8f29[_0x1cd3('0x5d')]();_0x3ae2c2[_0x1cd3('0xca3')]={};_0x3ae2c2[_0x1cd3('0x2728')]={'count':0x0,'rows':[]};_0x3ae2c2['selectedWhatsappAccountApps']=[];_0x3ae2c2['crudPermissions'];_0x3ae2c2[_0x1cd3('0x3d4')]={'sort':'priority'};_0x3ae2c2[_0x1cd3('0x1210')]=_[_0x1cd3('0x3a7')](_[_0x1cd3('0x1211')]([{'app':_0x1cd3('0x1212'),'appType':'interval','types':[_0x1cd3('0x1213'),_0x1cd3('0x8f6'),_0x1cd3('0x9d5')],'fields':[],'isApp':![]},{'app':_0x1cd3('0x3a9'),'appType':_0x1cd3('0x3a9'),'type':_0x1cd3('0x3a9'),'icon':_0x1cd3('0x1214'),'interval':_0x1cd3('0x1216'),'required':!![],'isApp':!![],'fields':[{'title':_0x1cd3('0x1215'),'name':_0x1cd3('0x3db'),'type':_0x1cd3('0x401'),'param':0x0}]},{'app':_0x1cd3('0xa13'),'appType':'system','type':_0x1cd3('0xa13'),'icon':_0x1cd3('0x1214'),'interval':_0x1cd3('0x1216'),'required':!![],'isApp':!![],'extraApi':[{'name':'variables','field':{'name':_0x1cd3('0xb84'),'key':_0x1cd3('0x98')},'route':_0x1cd3('0xb84'),'filters':{'fields':'id,name','sort':'name','nolimit':!![]},'permissions':{'section':0x3f4}}],'fields':[{'title':_0x1cd3('0x18f5'),'name':_0x1cd3('0xf0d'),'type':_0x1cd3('0x401'),'required':!![],'param':0x0},{'title':'Variable','name':_0x1cd3('0xb84'),'type':_0x1cd3('0x1218'),'values':_0x1cd3('0xef7'),'value':'variable.name','option':_0x1cd3('0x1219'),'defaultValues':[{'value':'\x27\x27','option':_0x1cd3('0x18f6')}],'defaultValue':'\x27\x27','param':0x1}]},{'app':'gotop','appType':_0x1cd3('0x121a'),'type':_0x1cd3('0x121b'),'icon':'icon-apps','interval':'*,*,*,*','isApp':!![],'fields':[{'title':'Priority','name':_0x1cd3('0xf0c'),'type':_0x1cd3('0x407'),'required':!![],'min':0x0,'param':0x0}]},{'app':_0x1cd3('0x121c'),'appType':_0x1cd3('0x121c'),'type':_0x1cd3('0x121c'),'icon':_0x1cd3('0x1214'),'interval':_0x1cd3('0x1216'),'isApp':!![],'fields':[{'title':_0x1cd3('0x121d'),'name':_0x1cd3('0xb65'),'type':_0x1cd3('0x401'),'required':!![],'param':0x0},{'title':_0x1cd3('0x121e'),'name':'truepriority','type':_0x1cd3('0x407'),'min':0x1,'required':!![],'param':0x1},{'title':_0x1cd3('0x121f'),'name':_0x1cd3('0x121f'),'type':_0x1cd3('0x407'),'min':0x1,'required':!![],'param':0x2}]},{'app':'queue','appType':_0x1cd3('0x1220'),'foreignKey':_0x1cd3('0x2714'),'type':_0x1cd3('0x1220'),'icon':_0x1cd3('0x1214'),'interval':_0x1cd3('0x1216'),'isApp':!![],'extraApi':[{'name':_0x1cd3('0x1155'),'field':{'name':_0x1cd3('0x1220'),'key':_0x1cd3('0x98')},'route':_0x1cd3('0xcbf'),'filters':{'fields':_0x1cd3('0x1222'),'sort':'name','nolimit':!![]},'permissions':{'section':0x836}}],'fields':[{'title':_0x1cd3('0x1223'),'name':_0x1cd3('0x1220'),'type':_0x1cd3('0x1218'),'values':_0x1cd3('0x1155'),'value':_0x1cd3('0x1224'),'option':'queue.name','defaultValue':0x12c,'required':!![],'param':0x0},{'title':'Timeout','name':_0x1cd3('0x8fc'),'type':'number','max':0x20c49b,'min':0x0,'required':!![],'defaultValue':0x12c,'param':0x1}]},{'app':_0x1cd3('0xd2'),'appType':_0x1cd3('0xd2'),'type':_0x1cd3('0xd2'),'foreignKey':'UserId','icon':_0x1cd3('0x1214'),'interval':'*,*,*,*','isApp':!![],'extraApi':[{'name':_0x1cd3('0x1228'),'field':{'name':'agent','key':'name'},'route':_0x1cd3('0x368'),'filters':{'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'nolimit':!![],'role':'agent'},'permissions':{'section':0xca}}],'fields':[{'title':'Agent','name':_0x1cd3('0xd2'),'type':_0x1cd3('0x1218'),'values':_0x1cd3('0x1228'),'value':_0x1cd3('0x1229'),'option':'agent.name','required':!![],'param':0x0},{'title':'Timeout','name':_0x1cd3('0x8fc'),'type':_0x1cd3('0x407'),'max':0x20c49b,'min':0x0,'required':!![],'defaultValue':0x1e,'param':0x1}]},{'app':'autoreply','appType':_0x1cd3('0x122b'),'type':_0x1cd3('0x122b'),'icon':_0x1cd3('0x1214'),'interval':_0x1cd3('0x1216'),'isApp':!![],'fields':[{'title':_0x1cd3('0x122c'),'name':_0x1cd3('0x122c'),'type':_0x1cd3('0x44f'),'defaultValue':'1','values':[{'option':_0x1cd3('0x122d'),'value':'1'},{'option':_0x1cd3('0x122e'),'value':'0'}],'required':!![],'param':0x0},{'title':_0x1cd3('0xf3f'),'name':_0x1cd3('0x401'),'type':_0x1cd3('0x122f'),'required':!![],'param':0x1}]},{'app':'close','appType':_0x1cd3('0x3cf'),'type':_0x1cd3('0x3cf'),'icon':_0x1cd3('0x1214'),'interval':_0x1cd3('0x1216'),'isApp':!![],'fields':[{'title':'Disposition','name':_0x1cd3('0xb63'),'type':_0x1cd3('0x401'),'required':!![],'param':0x0}]},{'app':_0x1cd3('0xb76'),'appType':_0x1cd3('0xb76'),'type':_0x1cd3('0xb76'),'foreignKey':_0x1cd3('0x1230'),'icon':'icon-apps','interval':_0x1cd3('0x1216'),'isApp':!![],'extraApi':[{'name':_0x1cd3('0x921'),'field':{'name':'tag','key':_0x1cd3('0x98')},'route':'tag','filters':{'fields':'id,name','sort':'name','nolimit':!![]},'permissions':{'section':0x3f0}}],'fields':[{'title':_0x1cd3('0x1231'),'name':'tag','type':_0x1cd3('0x1218'),'values':_0x1cd3('0x921'),'value':_0x1cd3('0x1232'),'option':_0x1cd3('0x1232'),'required':!![],'param':0x0}]},{'app':_0x1cd3('0x1233'),'appType':'dialogflow','type':_0x1cd3('0x1233'),'icon':'icon-apps','interval':_0x1cd3('0x1216'),'isApp':!![],'fields':[{'title':_0x1cd3('0x1eda'),'name':_0x1cd3('0x65c'),'type':_0x1cd3('0x401'),'required':!![],'param':0x0},{'title':_0x1cd3('0x3f3'),'name':'language','type':'select','defaultValue':_0x1cd3('0x1235'),'values':[{'option':'Danish','value':_0x1cd3('0x1234')},{'option':'English','value':_0x1cd3('0x1235')},{'option':_0x1cd3('0xf5f'),'value':'\x27de\x27'},{'option':_0x1cd3('0xf60'),'value':_0x1cd3('0x1edb')},{'option':_0x1cd3('0xf61'),'value':_0x1cd3('0x1237')},{'option':_0x1cd3('0xf62'),'value':_0x1cd3('0x1edc')},{'option':_0x1cd3('0xf63'),'value':_0x1cd3('0x1238')},{'option':_0x1cd3('0xf64'),'value':_0x1cd3('0x1239')},{'option':_0x1cd3('0x1080'),'value':_0x1cd3('0x123a')},{'option':_0x1cd3('0xf65'),'value':_0x1cd3('0x123b')},{'option':_0x1cd3('0xf66'),'value':_0x1cd3('0x123c')},{'option':_0x1cd3('0xf67'),'value':_0x1cd3('0x123d')},{'option':_0x1cd3('0xf69'),'value':'\x27pt-br\x27'},{'option':_0x1cd3('0x123f'),'value':_0x1cd3('0x1240')},{'option':_0x1cd3('0x1241'),'value':'\x27sv\x27'},{'option':_0x1cd3('0xfe9'),'value':_0x1cd3('0x2035')},{'option':_0x1cd3('0xf6a'),'value':_0x1cd3('0x1edd')},{'option':_0x1cd3('0x1ede'),'value':_0x1cd3('0x1243')},{'option':'Chinese\x20(Hong\x20Kong)','value':_0x1cd3('0x1245')},{'option':_0x1cd3('0xf6d'),'value':_0x1cd3('0x1edf')}],'required':!![],'param':0x1},{'title':'welcomemessage','name':_0x1cd3('0x1246'),'type':'textarea','maxlength':0xff,'required':![],'param':0x2,'help':!![]}]},{'app':_0x1cd3('0x1247'),'appType':'amazonlex','type':_0x1cd3('0x1247'),'icon':'icon-apps','interval':'*,*,*,*','isApp':!![],'fields':[{'title':_0x1cd3('0x1248'),'name':_0x1cd3('0x1248'),'type':_0x1cd3('0x401'),'required':!![],'param':0x0},{'title':_0x1cd3('0x1249'),'name':_0x1cd3('0x1249'),'type':'text','required':!![],'param':0x1},{'title':_0x1cd3('0x124a'),'name':_0x1cd3('0x124a'),'type':'select','defaultValue':_0x1cd3('0x124b'),'values':[{'option':'US\x20East\x20(N.\x20Virginia)','value':_0x1cd3('0x124b')},{'option':_0x1cd3('0x1122'),'value':_0x1cd3('0x124c')},{'option':'EU\x20(Ireland)','value':_0x1cd3('0x124d')},{'option':_0x1cd3('0x1136'),'value':_0x1cd3('0x124e')}],'required':!![],'param':0x2},{'title':_0x1cd3('0x124f'),'name':_0x1cd3('0x124f'),'type':_0x1cd3('0x401'),'required':!![],'param':0x3},{'title':_0x1cd3('0x1246'),'name':_0x1cd3('0x1246'),'type':_0x1cd3('0x122f'),'maxlength':0xff,'required':![],'param':0x4,'help':!![]}]}],[_0x1cd3('0xd0a')]),{'isApp':![]});_0x3ae2c2[_0x1cd3('0x9d5')]={'group':{'name':'opt1','pull':_0x1cd3('0x1141')},'animation':0x64,'sort':![]};_0x3ae2c2[_0x1cd3('0x18f9')]={'group':{'name':'opt2','put':_0x1cd3('0x1250')},'animation':0x64,'onAdd':function(_0x766430){_0x174547(_0x766430,_0x766430[_0x1cd3('0x18fa')]);},'onSort':function(_0x390246){_0x2e0e89();}};_0x3ae2c2[_0x1cd3('0xe08')]=_0x35b85d;_0x3ae2c2[_0x1cd3('0xe0a')]=_0x58d509;_0x3ae2c2[_0x1cd3('0x2729')]=_0x45a082;_0x3ae2c2['editWhatsappAccountApp']=_0x174547;_0x3ae2c2[_0x1cd3('0x18fd')]=_0x37de24;_0x3ae2c2[_0x1cd3('0x272a')]=_0x321bdc;_0x3ae2c2[_0x1cd3('0x272b')]=_0x52856c;_0x3ae2c2[_0x1cd3('0x1254')]=_0x2e0e89;_0x3ae2c2[_0x1cd3('0x1257')]=_0x3b3634;function _0x35b85d(_0x51b74c,_0xdab921){_0x3ae2c2[_0x1cd3('0xca3')]=_0x51b74c;_0x3ae2c2['crudPermissions']=typeof _0xdab921!==_0x1cd3('0x491')?_0xdab921:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x3ae2c2[_0x1cd3('0x18f9')][_0x1cd3('0x447')]=!_0x3ae2c2[_0x1cd3('0xd27')]['canEdit']?!![]:![];_0x3ae2c2[_0x1cd3('0x3d4')]['id']=_0x51b74c['id'];_0x3ae2c2[_0x1cd3('0x3d4')][_0x1cd3('0x1255')]=!![];_0x3ae2c2['query'][_0x1cd3('0x1256')]=!![];_0x3ae2c2[_0x1cd3('0x2729')]();_0x3ae2c2[_0x1cd3('0x1257')]();}function _0x58d509(_0x95cf0,_0x47efd9,_0x16989c){var _0x375b6f=_0x316151[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x1258'))['htmlContent'](_0x1cd3('0xd51')+_0x95cf0[_0x1cd3('0xd0a')]+_0x1cd3('0xd52')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x1259'))[_0x1cd3('0xd63')](_0x16989c)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x316151['show'](_0x375b6f)[_0x1cd3('0x77')](function(){_0x3ae2c2[_0x1cd3('0x2728')][_0x1cd3('0xf6')]['splice'](_0x47efd9,0x1);_0x2e0e89();},function(){console['log'](_0x1cd3('0xd55'));});}function _0x174547(_0x5c8dbd,_0x30271f){if(_0x3ae2c2[_0x1cd3('0x2728')][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){var _0x264488=_0x3ae2c2[_0x1cd3('0x2728')][_0x1cd3('0xf6')][_0x30271f]?_0x3ae2c2[_0x1cd3('0x2728')]['rows'][_0x30271f]:_0x3ae2c2[_0x1cd3('0x2728')][_0x1cd3('0xf6')][0x0];_0x316151[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x272c')+(_0x264488[_0x1cd3('0x125b')]||_0x264488[_0x1cd3('0xd0a')])[_0x1cd3('0x433')]()+'DialogController','controllerAs':'vm','templateUrl':_0x1cd3('0x272d')+(_0x264488[_0x1cd3('0x125b')]||_0x264488[_0x1cd3('0xd0a')])[_0x1cd3('0x433')]()+_0x1cd3('0x125e'),'parent':angular['element'](_0x2eec8d['body']),'targetEvent':_0x5c8dbd,'clickOutsideToClose':!![],'locals':{'whatsappAccountApp':_0x264488,'whatsappAccount':_0x3ae2c2[_0x1cd3('0xca3')],'crudPermissions':_0x3ae2c2['crudPermissions']}})['then'](function(_0x6d31c3){if(_0x6d31c3){if(_0x6d31c3['id']){_0x3ae2c2[_0x1cd3('0x2728')][_0x1cd3('0xf6')][_0x30271f]=_0x6d31c3;}else{_0x3ae2c2[_0x1cd3('0x2728')][_0x1cd3('0xf6')]['splice'](_0x30271f,0x0,_0x6d31c3);}_0x2e0e89();}})['catch'](function(_0x35da37){if(_0x35da37){_0xc8746f[_0x1cd3('0x434')]({'title':_0x35da37[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x35da37[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x35da37[_0x1cd3('0xd35')]:'SYSTEM:EDITMODALSHOW','msg':_0x35da37[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x35da37[_0x1cd3('0x439')]):_0x35da37[_0x1cd3('0x43b')]()});}});}}function _0x37de24(_0x5164b4,_0x9d50a0){if(_0x3ae2c2[_0x1cd3('0x2728')][_0x1cd3('0xf6')]['length']){var _0x20c136=_0x3ae2c2['whatsappAccountApps'][_0x1cd3('0xf6')][_0x9d50a0]?_0x3ae2c2[_0x1cd3('0x2728')]['rows'][_0x9d50a0]:_0x3ae2c2['whatsappAccountApps'][_0x1cd3('0xf6')][0x0];_0x316151[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x272e'),'controllerAs':'vm','templateUrl':_0x1cd3('0x272f'),'parent':angular[_0x1cd3('0x37f')](_0x2eec8d[_0x1cd3('0x380')]),'targetEvent':_0x5164b4,'clickOutsideToClose':!![],'locals':{'interval':{'interval':_0x20c136[_0x1cd3('0x77e')],'IntervalId':_0x20c136[_0x1cd3('0xf4b')],'application':!![]},'intervals':[],'crudPermissions':_0x3ae2c2[_0x1cd3('0xd27')]}})[_0x1cd3('0x77')](function(_0x5e6139){if(_0x5e6139){_0x20c136[_0x1cd3('0x77e')]=_0x5e6139[_0x1cd3('0x77e')]||_0x1cd3('0x1216');_0x20c136[_0x1cd3('0xf4b')]=_0x5e6139[_0x1cd3('0xf4b')]||null;_0x2e0e89();}});}}function _0x2e0e89(){var _0x5937cd=0x1;var _0x28914d=[];for(var _0xd41991=0x0,_0x34fed6=0x0;_0xd41991<_0x3ae2c2['whatsappAccountApps'][_0x1cd3('0xf6')][_0x1cd3('0x7a')];_0xd41991++,_0x34fed6=0x0){var _0xc0b347=_0x3ae2c2['whatsappAccountApps'][_0x1cd3('0xf6')][_0xd41991];var _0x7ed510=[];var _0x25a6c8=[];_0xc0b347['intervals']=_0xc0b347[_0x1cd3('0x77e')]!=='*,*,*,*'?[_0xc0b347['interval']]:_0xc0b347[_0x1cd3('0xf4b')]?_[_0x1cd3('0x3d9')](_[_0x1cd3('0x395')](_0x3ae2c2[_0x1cd3('0xef9')][_0x1cd3('0xf6')],{'IntervalId':_0xc0b347[_0x1cd3('0xf4b')]}),_0x1cd3('0x77e')):[];_0xc0b347['context']=_0x3ae2c2[_0x1cd3('0xca3')][_0x1cd3('0xf0a')];_0xc0b347['exten']=_0x3ae2c2[_0x1cd3('0xca3')][_0x1cd3('0x1261')];if(_0xc0b347[_0x1cd3('0x424')]){_0xc0b347[_0x1cd3('0x424')]=_0xc0b347[_0x1cd3('0x424')][_0x1cd3('0x433')]();}_0xc0b347[_0x1cd3('0xf0c')]=_0x7ed510[_0x1cd3('0x7a')]?_['last'](_0x7ed510)[_0x1cd3('0xf0c')]+0x1:_0x5937cd;_0x5937cd=(_0x25a6c8[_0x1cd3('0x7a')]?_[_0x1cd3('0x5df')](_0x25a6c8)[_0x1cd3('0xf0c')]:_0xc0b347[_0x1cd3('0xf0c')])+0x1;_0x28914d=_[_0x1cd3('0x3ae')](_0x28914d,_0x7ed510,[_0xc0b347],_0x25a6c8);}_0x586b2b[_0x1cd3('0xca3')][_0x1cd3('0x1262')]({'id':_0x3ae2c2[_0x1cd3('0xca3')]['id']},_['sortBy'](_0x28914d,_0x1cd3('0xf0c')))[_0x1cd3('0x81')]['then'](function(_0x282168){_0x3ae2c2[_0x1cd3('0x2728')][_0x1cd3('0xf6')]=_0x282168[_0x1cd3('0xf6')];})['catch'](function(_0x48bd16){console['error'](_0x48bd16);});}function _0x479fda(_0x1b8c21){_0x3ae2c2['whatsappAccountApps']=_0x1b8c21||{'count':0x0,'rows':[]};}function _0x3b3634(){return _0x586b2b[_0x1cd3('0x77e')][_0x1cd3('0x361')]({'fields':_0x1cd3('0x1c61')})['$promise'][_0x1cd3('0x77')](function(_0x10e172){_0x3ae2c2[_0x1cd3('0xef9')]=_0x10e172;})[_0x1cd3('0xfd')](function(_0x40961f){console[_0x1cd3('0x434')](_0x40961f);});}function _0x45a082(){_0x3ae2c2['promise']=_0x586b2b[_0x1cd3('0xca3')][_0x1cd3('0x1263')](_0x3ae2c2[_0x1cd3('0x3d4')],_0x479fda)[_0x1cd3('0x81')];}function _0x321bdc(_0x2f37bc){_[_0x1cd3('0x383')](_0x3ae2c2[_0x1cd3('0x2728')]['rows'],{'id':_0x2f37bc['id']});_0x2e0e89();_0xc8746f[_0x1cd3('0x473')]({'title':_0x1cd3('0x1264'),'msg':_0x2f37bc[_0x1cd3('0xd0a')]?_0x2f37bc[_0x1cd3('0xd0a')]+_0x1cd3('0xd41'):''});}function _0x52856c(_0xb3f0fc){var _0xf56553=_0x316151[_0x1cd3('0xd39')]()[_0x1cd3('0x486')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20applications?')['htmlContent'](_0x1cd3('0xd51')+_0x3ae2c2[_0x1cd3('0x2730')]['length']+_0x1cd3('0xd61')+'\x20will\x20be\x20deleted.')[_0x1cd3('0xd3d')](_0x1cd3('0x1266'))[_0x1cd3('0xd63')](_0xb3f0fc)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x316151['show'](_0xf56553)[_0x1cd3('0x77')](function(){_0x3ae2c2[_0x1cd3('0x2730')]['forEach'](function(_0x1b3edf){_['remove'](_0x3ae2c2[_0x1cd3('0x2728')]['rows'],{'id':_0x1b3edf['id']});});_0x3ae2c2[_0x1cd3('0x2730')]=[];_0x2e0e89();});}}}());(function(){'use strict';_0x240413[_0x1cd3('0xc')]=['$mdDialog','$q',_0x1cd3('0x461'),_0x1cd3('0x370'),'whatsappAccount',_0x1cd3('0x15fc'),_0x1cd3('0x11b9'),'$translate',_0x1cd3('0x56'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x3a'))[_0x1cd3('0x39b')](_0x1cd3('0x2731'),_0x240413);function _0x240413(_0x2325c2,_0x201037,_0x3e7267,_0xc775c3,_0x525553,_0x1ff37e,_0x4ac12d,_0x980736,_0xe19d3,_0xc9900d){var _0x39792f=this;_0x39792f[_0x1cd3('0x3ca')]=_0xe19d3[_0x1cd3('0x5d')]();_0x39792f['whatsappAccount']=_0x525553;_0x39792f[_0x1cd3('0xd27')]=_0xc9900d;_0x39792f['realtime']=_0x4ac12d;_0x39792f[_0x1cd3('0x493')]=[];_0x39792f[_0x1cd3('0x11ba')]=[];_0x39792f[_0x1cd3('0x492')]=[];_0x39792f[_0x1cd3('0x11bb')]=[];_0x39792f[_0x1cd3('0x11be')]=[];_0x39792f[_0x1cd3('0x11c6')]=![];_0x39792f['onInit']=_0x238651;_0x39792f[_0x1cd3('0x11bc')]=_0x1490f9;_0x39792f[_0x1cd3('0x39c')]=_0x2dd9f;_0x39792f['dualMultiselectOptions']={'readOnly':!_0x39792f[_0x1cd3('0xd27')][_0x1cd3('0xe3b')],'items':[],'selectedItems':[],'showSelectAndDeselectAll':!![],'orderBy':'name','line1':'fullname','line2':['name',_0x1cd3('0x311')],'line3':'','labelAll':_0x980736[_0x1cd3('0x44a')](_0x1cd3('0x2732')),'labelSelected':_0x980736['instant']('WHATSAPP.SELECTED_AGENTS'),'transferCallback':function(_0x140e1f,_0x31f694){var _0x197b5c=_[_0x1cd3('0x11c8')](_0x39792f['startingSelectedItems'],_0x39792f['selectedItems'],'id');_0x39792f[_0x1cd3('0x11c6')]=_[_0x1cd3('0x398')](_0x197b5c)?![]:!![];}};function _0x238651(){return _0xe19d3[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x17bfd2()['catch'](function(_0x19556d){_0x3e7267[_0x1cd3('0x434')]({'title':_0x19556d[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x19556d['status']+_0x1cd3('0x436')+_0x19556d[_0x1cd3('0xd35')]:'SYSTEM:GET_AGENTS','msg':_0x19556d[_0x1cd3('0x3a6')]?JSON[_0x1cd3('0x438')](_0x19556d[_0x1cd3('0x439')]):_0x19556d[_0x1cd3('0x43b')]()});}):_0x12360f()['then'](function(_0x5701a9){_0x39792f[_0x1cd3('0xd58')]=_0x5701a9;return _0x17bfd2();})[_0x1cd3('0xfd')](function(_0x2d289b){_0x3e7267[_0x1cd3('0x434')]({'title':_0x2d289b[_0x1cd3('0x3a6')]?'API:'+_0x2d289b[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x2d289b['statusText']:_0x1cd3('0x11bf'),'msg':_0x2d289b[_0x1cd3('0x3a6')]?JSON[_0x1cd3('0x438')](_0x2d289b['data']):_0x2d289b[_0x1cd3('0x43b')]()});});}function _0x12360f(){return _0x201037(function(_0x21bfba,_0x3a0a16){_0xc775c3[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x39792f[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'name':_0x1cd3('0xd4')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0xd6f0e2){var _0x523584=_0xd6f0e2&&_0xd6f0e2[_0x1cd3('0xf6')]?_0xd6f0e2[_0x1cd3('0xf6')][0x0]:null;_0x21bfba(_0x523584);})[_0x1cd3('0xfd')](function(_0x1f8fbe){_0x3a0a16(_0x1f8fbe);});});}function _0x17bfd2(){return _0x201037(function(_0x441899,_0x4961df){return _0x479d00()[_0x1cd3('0x77')](function(_0x295652){_0x39792f[_0x1cd3('0x493')]=_0x295652[_0x1cd3('0xf6')]?_0x295652[_0x1cd3('0xf6')]:[];if(_0xe19d3[_0x1cd3('0x57')](_0x1cd3('0x5f'))){return _0x295652;}else{if(_0x39792f[_0x1cd3('0xd58')]){return _0x39792f[_0x1cd3('0xd58')][_0x1cd3('0x391')]?_0x295652:_0x127fa1();}else{return null;}}})[_0x1cd3('0x77')](function(_0x3c27e2){var _0x46b19e=_0x3c27e2&&_0x3c27e2[_0x1cd3('0xf6')]?_0x3c27e2[_0x1cd3('0xf6')]:[];_0x39792f[_0x1cd3('0x11ba')]=_[_0x1cd3('0x3d9')](_0x46b19e,function(_0x22479f){return _[_0x1cd3('0x442')](_0x39792f['items'],{'id':_0xe19d3['hasRole']('admin')||_0x39792f['section']['autoAssociation']?_0x22479f['id']:_0x22479f['resourceId']});});_0x39792f[_0x1cd3('0x11bb')]=angular['copy'](_0x39792f[_0x1cd3('0x11ba')]);_0x39792f['items'][_0x1cd3('0x394')](function(_0x4515e1){var _0x3c6804=_[_0x1cd3('0x442')](_0x39792f[_0x1cd3('0x11ba')],{'id':_0x4515e1['id']});if(_0xe19d3[_0x1cd3('0x57')](_0x1cd3('0x5f'))){_0x4515e1[_0x1cd3('0x490')]=!![];}else{_0x4515e1[_0x1cd3('0x490')]=typeof _0x3c6804!==_0x1cd3('0x491')?!![]:![];}});return _0x50eb6a();})['then'](function(_0x54240e){var _0x2938ef=_0x54240e&&_0x54240e[_0x1cd3('0xf6')]?_0x54240e[_0x1cd3('0xf6')]:[];_0x39792f[_0x1cd3('0x492')]=_[_0x1cd3('0x3d9')](_0x2938ef,function(_0x2b313f){var _0x533ddb=_[_0x1cd3('0x442')](_0x39792f[_0x1cd3('0x493')],{'id':_0x2b313f['id']});_0x533ddb[_0x1cd3('0x1146')]=_0x2b313f[_0x1cd3('0x2733')]?_0x1cd3('0x1503')+_0x2b313f[_0x1cd3('0x2733')][_0x1cd3('0x1146')]:'';_0x533ddb[_0x1cd3('0x311')]=_0x2b313f[_0x1cd3('0x3d0')](_0x1cd3('0x311'))?'<'+_0x2b313f[_0x1cd3('0x311')]+'>':'';return _0x533ddb;});_0x39792f[_0x1cd3('0x11be')]=angular[_0x1cd3('0x429')](_0x39792f[_0x1cd3('0x492')]);_0x39792f[_0x1cd3('0x1145')][_0x1cd3('0x492')]=_0x39792f['selectedItems'];_0x39792f[_0x1cd3('0x1145')][_0x1cd3('0x493')]=_[_0x1cd3('0x1152')](_0x39792f['allowedItems'],_0x39792f['dualMultiselectOptions'][_0x1cd3('0x492')],'id');_0x441899();})['catch'](function(_0x1c1c46){_0x4961df(_0x1c1c46);});});}function _0x127fa1(){return _0x201037(function(_0x4a75e5,_0x21d3de){return _0xc775c3['userProfileResource'][_0x1cd3('0x361')]({'sectionId':_0x39792f[_0x1cd3('0xd58')]['id'],'nolimit':!![]})[_0x1cd3('0x81')]['then'](function(_0x3e7331){_0x4a75e5(_0x3e7331);})[_0x1cd3('0xfd')](function(_0x57d2bb){_0x21d3de(_0x57d2bb);});});}function _0x50eb6a(){return _0x201037(function(_0x1de6c2,_0x12aa51){return _0xc775c3['whatsappAccount'][_0x1cd3('0x1269')]({'id':_0x39792f[_0x1cd3('0xca3')]['id'],'fields':'id,name,internal,fullname','nolimit':!![],'role':_0x1cd3('0xd2')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x1a8a11){_0x1de6c2(_0x1a8a11);})['catch'](function(_0x2218cc){_0x12aa51(_0x2218cc);});});}function _0x479d00(){return _0x201037(function(_0x3a4600,_0x5954f4){return _0xc775c3['user']['get']({'fields':_0x1cd3('0x11c1'),'nolimit':!![],'role':_0x1cd3('0xd2')})[_0x1cd3('0x81')]['then'](function(_0x4da401){_0x3a4600(_0x4da401);})[_0x1cd3('0xfd')](function(_0x43d5d5){_0x5954f4(_0x43d5d5);});});}function _0x5ccf97(_0x2ffd99){return _0x201037(function(_0x118640,_0x187933){if(_['isEmpty'](_0x2ffd99)){_0x118640();}else{_0xc775c3[_0x1cd3('0xca3')][_0x1cd3('0x11c2')]({'id':_0x39792f['whatsappAccount']['id'],'ids':_['map'](_0x2ffd99,'id')})[_0x1cd3('0x81')]['then'](function(){_0x118640();})[_0x1cd3('0xfd')](function(_0x4353fe){_0x187933(_0x4353fe);});}});}function _0x128c8d(_0x588e39){return _0x201037(function(_0x236b97,_0x383387){if(_[_0x1cd3('0x398')](_0x588e39)){_0x236b97();}else{_0xc775c3[_0x1cd3('0xca3')]['removeAgents']({'id':_0x39792f[_0x1cd3('0xca3')]['id'],'ids':_[_0x1cd3('0x3d9')](_0x588e39,'id')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x236b97();})[_0x1cd3('0xfd')](function(_0x22970d){_0x383387(_0x22970d);});}});}function _0x1490f9(){var _0x5d2f91=_['differenceBy'](_0x39792f[_0x1cd3('0x11be')],_0x39792f[_0x1cd3('0x492')],'id');var _0x1f8bad=_[_0x1cd3('0x1152')](_0x39792f[_0x1cd3('0x492')],_0x39792f['startingSelectedItems'],'id');return _0x128c8d(_0x5d2f91)['then'](function(){return _0x5ccf97(_0x1f8bad);})[_0x1cd3('0x77')](function(){_0x39792f[_0x1cd3('0x11c6')]=![];_0x39792f[_0x1cd3('0x11bb')]=angular['copy'](_0x39792f['allowedItems']);_0x39792f[_0x1cd3('0x11be')]=angular[_0x1cd3('0x429')](_0x39792f['selectedItems']);_0x3e7267[_0x1cd3('0x473')]({'title':_0x1cd3('0x11c4'),'msg':_0x1cd3('0x11c5')});})[_0x1cd3('0xfd')](function(_0xa9fc){_0x3e7267[_0x1cd3('0x434')]({'title':_0xa9fc[_0x1cd3('0x3a6')]?'API:'+_0xa9fc[_0x1cd3('0x3a6')]+'\x20-\x20'+_0xa9fc[_0x1cd3('0xd35')]:_0x1cd3('0x11ce'),'msg':_0xa9fc[_0x1cd3('0x3a6')]?JSON['stringify'](_0xa9fc['data']):_0xa9fc[_0x1cd3('0x43b')]()});});}function _0x2dd9f(){_0x2325c2[_0x1cd3('0x39d')]();}}}());(function(){'use strict';_0x407b79[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),'$q',_0x1cd3('0x461'),_0x1cd3('0x2734'),_0x1cd3('0xca3'),_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x3a'))[_0x1cd3('0x39b')]('EditWhatsappAccountAppagentDialogController',_0x407b79);function _0x407b79(_0x2f0c6c,_0x2d88c6,_0x4f0e00,_0x31358d,_0x2d61f7,_0x426f09,_0x1065db,_0x2181b0){var _0x425aeb=this;_0x425aeb[_0x1cd3('0x3ca')]=_0x1065db['getCurrentUser']();_0x425aeb[_0x1cd3('0xd34')]=[];_0x425aeb['title']='WHATSAPP.EDIT_'+(_0x31358d['appType']||_0x31358d[_0x1cd3('0xd0a')])[_0x1cd3('0x437')]();_0x425aeb[_0x1cd3('0xd2')]=angular[_0x1cd3('0x429')](_0x31358d);_0x425aeb['crudPermissions']=_0x2181b0;_0x425aeb[_0x1cd3('0xd28')]={};if(_0x425aeb[_0x1cd3('0xd2')][_0x1cd3('0x127d')]){switch(_0x425aeb[_0x1cd3('0xd2')][_0x1cd3('0x125b')]?_0x425aeb['agent'][_0x1cd3('0x125b')][_0x1cd3('0x433')]():_0x425aeb['agent'][_0x1cd3('0xd0a')][_0x1cd3('0x433')]()){case _0x1cd3('0x8f6'):break;case _0x1cd3('0x1233'):var _0x113fe3=_0x425aeb[_0x1cd3('0xd2')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x425aeb[_0x1cd3('0xd2')]['key']=_0x113fe3[0x0];_0x425aeb[_0x1cd3('0xd2')][_0x1cd3('0x3f3')]=_0x113fe3[0x1];_0x425aeb[_0x1cd3('0xd2')][_0x1cd3('0x1246')]=_0x113fe3[_0x1cd3('0x9a2')](0x2,_0x113fe3['length'])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x1247'):var _0x113fe3=_0x425aeb[_0x1cd3('0xd2')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x425aeb[_0x1cd3('0xd2')][_0x1cd3('0x1248')]=_0x113fe3[0x0];_0x425aeb[_0x1cd3('0xd2')]['secretaccesskey']=_0x113fe3[0x1];_0x425aeb[_0x1cd3('0xd2')][_0x1cd3('0x124a')]=_0x113fe3[0x2];_0x425aeb['agent'][_0x1cd3('0x124f')]=_0x113fe3[0x3];_0x425aeb[_0x1cd3('0xd2')][_0x1cd3('0x1246')]=_0x113fe3[_0x1cd3('0x9a2')](0x4,_0x113fe3[_0x1cd3('0x7a')])['join'](',');break;case'autoreply':var _0x113fe3=_0x425aeb[_0x1cd3('0xd2')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x425aeb[_0x1cd3('0xd2')][_0x1cd3('0x122c')]=isNaN(_0x113fe3[0x0])?_0x113fe3[0x0]:parseInt(_0x113fe3[0x0],0xa);_0x425aeb[_0x1cd3('0xd2')][_0x1cd3('0x401')]=_0x113fe3[_0x1cd3('0x9a2')](0x1,_0x113fe3[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x43a'):_0x425aeb[_0x1cd3('0xd2')][_0x1cd3('0x401')]=_0x425aeb[_0x1cd3('0xd2')][_0x1cd3('0x127d')];break;case _0x1cd3('0x127e'):_0x425aeb[_0x1cd3('0xd2')][_0x1cd3('0x98')]=_0x425aeb['agent'][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x0];_0x425aeb[_0x1cd3('0xd2')][_0x1cd3('0x3db')]=_0x425aeb[_0x1cd3('0xd2')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x1];break;case _0x1cd3('0x128c'):_0x425aeb[_0x1cd3('0xd2')][_0x1cd3('0xedd')]=_0x425aeb[_0x1cd3('0xd2')][_0x1cd3('0x127d')];break;default:var _0x48ee8e=_0x425aeb[_0x1cd3('0xd2')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x425aeb[_0x1cd3('0xd2')][_0x1cd3('0xd2')]=_['isEmpty'](_0x48ee8e[0x0])?_0x48ee8e[0x0]:isNaN(_0x48ee8e[0x0])?_0x48ee8e[0x0]:parseInt(_0x48ee8e[0x0],0xa);_0x425aeb[_0x1cd3('0xd2')][_0x1cd3('0x8fc')]=_['isEmpty'](_0x48ee8e[0x1])?_0x48ee8e[0x1]:isNaN(_0x48ee8e[0x1])?_0x48ee8e[0x1]:parseInt(_0x48ee8e[0x1],0xa);}}else{_0x425aeb[_0x1cd3('0xd2')][_0x1cd3('0x8fc')]=0x1e;}if(_0x425aeb[_0x1cd3('0xd2')][_0x1cd3('0x424')]&&_0x425aeb['agent'][_0x1cd3('0x424')][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x425aeb['agent'][_0x1cd3('0x125b')][_0x1cd3('0x433')]()===_0x1cd3('0x1289')){_0x425aeb['agent'][_0x1cd3('0x6aa')]=_0x425aeb['agent'][_0x1cd3('0xf09')]?_0x425aeb['agent']['phone'][_0x1cd3('0x3ef')]('$')[0x0]:undefined;_0x425aeb[_0x1cd3('0xd2')]['callerId']=_0x425aeb['agent'][_0x1cd3('0x127f')]?'CALLERID(all)='+_0x425aeb[_0x1cd3('0xd2')][_0x1cd3('0x127f')]:undefined;}_0x425aeb[_0x1cd3('0x2735')]=_0x300d76;_0x425aeb[_0x1cd3('0x39c')]=_0x5508c0;_0x1065db[_0x1cd3('0x57')]('admin')?_0x426f09[_0x1cd3('0x368')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':'name','nolimit':_0x1cd3('0x2e0'),'role':_0x1cd3('0xd2')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x2ba713){_0x425aeb[_0x1cd3('0x1228')]=_0x2ba713[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x28ceaf){_0x4f0e00[_0x1cd3('0x434')]({'title':_0x28ceaf[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x28ceaf[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x28ceaf[_0x1cd3('0xd35')]:'SYSTEM:GET_AGENTS','msg':_0x28ceaf[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x28ceaf[_0x1cd3('0x439')]):_0x28ceaf['toString']()});}):_0x426f09[_0x1cd3('0x368')][_0x1cd3('0x361')]({'fields':'id,name','sort':'name','nolimit':_0x1cd3('0x2e0'),'role':_0x1cd3('0xd2')})[_0x1cd3('0x81')]['then'](function(_0x2df2c6){_0x425aeb[_0x1cd3('0x1228')]=_0x2df2c6[_0x1cd3('0xf6')]||[];})['then'](function(){return _0x426f09[_0x1cd3('0x390')]['get']({'userProfileId':_0x425aeb[_0x1cd3('0x3ca')]['userProfileId'],'sectionId':0xca})['$promise'];})['then'](function(_0x1c20ed){var _0x4f3bc8=_0x1c20ed&&_0x1c20ed[_0x1cd3('0xf6')]?_0x1c20ed[_0x1cd3('0xf6')][0x0]:null;if(!_0x4f3bc8){var _0x5c4a8e=[];var _0x5b7bb0=null;if(_0x425aeb['agent']){_0x5b7bb0=_[_0x1cd3('0x442')](_0x425aeb['agents'],{'name':_0x425aeb[_0x1cd3('0xd2')][_0x1cd3('0xd2')]});}for(var _0x33ec6e=0x0;_0x33ec6e<_0x425aeb['agents'][_0x1cd3('0x7a')];_0x33ec6e++){if(_0x5b7bb0&&_0x425aeb['agents'][_0x33ec6e]['id']===_0x5b7bb0['id']){_0x425aeb['agents'][_0x33ec6e]['canSelect']=![];_0x5c4a8e[_0x1cd3('0x7b')](_0x425aeb[_0x1cd3('0x1228')][_0x33ec6e]);}}_0x425aeb[_0x1cd3('0x1228')]=_0x5c4a8e;}else{if(!_0x4f3bc8[_0x1cd3('0x391')]){return _0x426f09[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x4f3bc8['id']})[_0x1cd3('0x81')]['then'](function(_0x349f13){var _0x2c44e0=_[_0x1cd3('0x3d9')](_0x349f13['rows'],function(_0x16daae){return _[_0x1cd3('0x442')](_0x425aeb[_0x1cd3('0x1228')],{'id':_0x16daae[_0x1cd3('0xe8e')]});});var _0x2acf45=null;if(_0x425aeb[_0x1cd3('0xd2')]){_0x2acf45=_[_0x1cd3('0x442')](_0x425aeb['agents'],{'name':_0x425aeb[_0x1cd3('0xd2')][_0x1cd3('0xd2')]});}if(_0x2acf45&&!_[_0x1cd3('0x38d')](_0x2c44e0,['id',_0x2acf45['id']])){var _0x20a89d=_[_0x1cd3('0x442')](_0x425aeb[_0x1cd3('0x1228')],{'id':_0x2acf45['id']});_0x20a89d[_0x1cd3('0xf4a')]=![];_0x2c44e0[_0x1cd3('0x7b')](_0x20a89d);}_0x425aeb[_0x1cd3('0x1228')]=_0x2c44e0;});}}})[_0x1cd3('0xfd')](function(_0x38d35b){_0x4f0e00[_0x1cd3('0x434')]({'title':_0x38d35b['status']?'API:'+_0x38d35b[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x38d35b[_0x1cd3('0xd35')]:_0x1cd3('0x1282'),'msg':_0x38d35b['data']?JSON['stringify'](_0x38d35b[_0x1cd3('0x439')]):_0x38d35b[_0x1cd3('0x43b')]()});});function _0x300d76(){_0x425aeb[_0x1cd3('0xd34')]=[];var _0x4e429b=[];if(_0x425aeb['agent'][_0x1cd3('0x424')]&&_0x425aeb[_0x1cd3('0xd2')][_0x1cd3('0x424')][_0x1cd3('0x433')]()==='outbound'&&_0x425aeb['agent'][_0x1cd3('0x125b')]==='outboundDial'){_0x425aeb[_0x1cd3('0xd2')][_0x1cd3('0xf09')]=_0x2d61f7[_0x1cd3('0x128a')]?(_0x425aeb['agent'][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x1284')+_0x2d61f7[_0x1cd3('0x128a')]+'}':(_0x425aeb['agent'][_0x1cd3('0x6aa')]||'')+'${EXTEN}';if(_0x2d61f7[_0x1cd3('0x1285')]!==_0x1cd3('0x6ae')){if(_0x425aeb['agent']['options'][_0x1cd3('0x45e')]('U(xcally-mixmonitor-context)')<0x0){_0x425aeb['agent'][_0x1cd3('0x422')]+=_0x1cd3('0x1286');}}else{_0x425aeb[_0x1cd3('0xd2')]['options']=_0x425aeb[_0x1cd3('0xd2')][_0x1cd3('0x422')]['replace'](_0x1cd3('0x1286'),'');}}var _0x433964=_['find'](_0x425aeb[_0x1cd3('0x1228')],{'name':_0x425aeb[_0x1cd3('0xd2')][_0x1cd3('0xd2')]});if(_0x433964){_0x425aeb[_0x1cd3('0xd2')][_0x1cd3('0x1226')]=_0x433964['id'];}if(_0x425aeb['agent'][_0x1cd3('0x125b')]&&_0x425aeb[_0x1cd3('0xd2')][_0x1cd3('0x125b')]===_0x1cd3('0x8f6')){}else{switch((_0x425aeb[_0x1cd3('0xd2')]['app']||_0x425aeb[_0x1cd3('0xd2')]['appType'])[_0x1cd3('0x433')]()){case _0x1cd3('0x127e'):_0x425aeb[_0x1cd3('0xd2')][_0x1cd3('0x127d')]=_0x425aeb[_0x1cd3('0xd2')][_0x1cd3('0x98')]+'='+_0x425aeb[_0x1cd3('0xd2')]['value'];break;case'custom':break;default:_0x4e429b[0x0]=_0x425aeb[_0x1cd3('0xd2')][_0x1cd3('0xd2')];_0x4e429b[0x1]=_0x425aeb[_0x1cd3('0xd2')][_0x1cd3('0x8fc')];_0x425aeb[_0x1cd3('0xd2')][_0x1cd3('0x127d')]=_0x4e429b[_0x1cd3('0x3de')](',');}}_0x5508c0(_0x425aeb['agent']);}function _0x5508c0(_0x4c6c82){_0x2f0c6c[_0x1cd3('0x39d')](_0x4c6c82);}}}());(function(){'use strict';_0x39411e['$inject']=['$mdDialog','$q',_0x1cd3('0x461'),_0x1cd3('0x2734'),_0x1cd3('0xca3'),_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x3a'))[_0x1cd3('0x39b')](_0x1cd3('0x2736'),_0x39411e);function _0x39411e(_0x5322f2,_0x5f15ec,_0x5441ac,_0x40626d,_0x293c9c,_0x1a351d,_0x54fcb8,_0x2c01bc){var _0xb9c1a2=this;_0xb9c1a2[_0x1cd3('0x3ca')]=_0x54fcb8['getCurrentUser']();_0xb9c1a2[_0x1cd3('0xd34')]=[];_0xb9c1a2[_0x1cd3('0x486')]=_0x1cd3('0x2737')+(_0x40626d[_0x1cd3('0x125b')]||_0x40626d[_0x1cd3('0xd0a')])[_0x1cd3('0x437')]();_0xb9c1a2[_0x1cd3('0x1247')]=angular['copy'](_0x40626d);_0xb9c1a2[_0x1cd3('0xd27')]=_0x2c01bc;_0xb9c1a2[_0x1cd3('0xd28')]={};if(_0xb9c1a2['amazonlex'][_0x1cd3('0x127d')]){switch(_0xb9c1a2[_0x1cd3('0x1247')][_0x1cd3('0x125b')]?_0xb9c1a2[_0x1cd3('0x1247')]['appType'][_0x1cd3('0x433')]():_0xb9c1a2[_0x1cd3('0x1247')][_0x1cd3('0xd0a')][_0x1cd3('0x433')]()){case _0x1cd3('0x8f6'):break;case _0x1cd3('0x1233'):var _0x23fa1b=_0xb9c1a2[_0x1cd3('0x1247')]['appdata'][_0x1cd3('0x3ef')](',');_0xb9c1a2['amazonlex'][_0x1cd3('0x65c')]=_0x23fa1b[0x0];_0xb9c1a2['amazonlex'][_0x1cd3('0x3f3')]=_0x23fa1b[0x1];_0xb9c1a2[_0x1cd3('0x1247')][_0x1cd3('0x1246')]=_0x23fa1b['slice'](0x2,_0x23fa1b[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x1247'):var _0x23fa1b=_0xb9c1a2['amazonlex']['appdata'][_0x1cd3('0x3ef')](',');_0xb9c1a2[_0x1cd3('0x1247')][_0x1cd3('0x1248')]=_0x23fa1b[0x0];_0xb9c1a2[_0x1cd3('0x1247')][_0x1cd3('0x1249')]=_0x23fa1b[0x1];_0xb9c1a2[_0x1cd3('0x1247')][_0x1cd3('0x124a')]=_0x23fa1b[0x2];_0xb9c1a2[_0x1cd3('0x1247')][_0x1cd3('0x124f')]=_0x23fa1b[0x3];_0xb9c1a2['amazonlex'][_0x1cd3('0x1246')]=_0x23fa1b[_0x1cd3('0x9a2')](0x4,_0x23fa1b[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x122b'):var _0x23fa1b=_0xb9c1a2[_0x1cd3('0x1247')]['appdata'][_0x1cd3('0x3ef')](',');_0xb9c1a2[_0x1cd3('0x1247')][_0x1cd3('0x122c')]=isNaN(_0x23fa1b[0x0])?_0x23fa1b[0x0]:parseInt(_0x23fa1b[0x0],0xa);_0xb9c1a2[_0x1cd3('0x1247')][_0x1cd3('0x401')]=_0x23fa1b[_0x1cd3('0x9a2')](0x1,_0x23fa1b[_0x1cd3('0x7a')])['join'](',');break;case _0x1cd3('0x43a'):_0xb9c1a2['amazonlex'][_0x1cd3('0x401')]=_0xb9c1a2[_0x1cd3('0x1247')][_0x1cd3('0x127d')];break;case _0x1cd3('0x127e'):_0xb9c1a2['amazonlex'][_0x1cd3('0x98')]=_0xb9c1a2[_0x1cd3('0x1247')]['appdata'][_0x1cd3('0x3ef')]('=')[0x0];_0xb9c1a2['amazonlex'][_0x1cd3('0x3db')]=_0xb9c1a2['amazonlex']['appdata'][_0x1cd3('0x3ef')]('=')[0x1];break;case _0x1cd3('0x128c'):_0xb9c1a2[_0x1cd3('0x1247')][_0x1cd3('0xedd')]=_0xb9c1a2['amazonlex'][_0x1cd3('0x127d')];break;default:var _0x4cf6ed=_0xb9c1a2['amazonlex'][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0xb9c1a2[_0x1cd3('0x1247')][_0x1cd3('0x1248')]=_[_0x1cd3('0x398')](_0x4cf6ed[0x0])?_0x4cf6ed[0x0]:isNaN(_0x4cf6ed[0x0])?_0x4cf6ed[0x0]:parseInt(_0x4cf6ed[0x0],0xa);_0xb9c1a2[_0x1cd3('0x1247')]['secretaccesskey']=_[_0x1cd3('0x398')](_0x4cf6ed[0x1])?_0x4cf6ed[0x1]:isNaN(_0x4cf6ed[0x1])?_0x4cf6ed[0x1]:parseInt(_0x4cf6ed[0x1],0xa);_0xb9c1a2[_0x1cd3('0x1247')][_0x1cd3('0x124a')]=_['isEmpty'](_0x4cf6ed[0x2])?_0x4cf6ed[0x2]:isNaN(_0x4cf6ed[0x2])?_0x4cf6ed[0x2]:parseInt(_0x4cf6ed[0x2],0xa);_0xb9c1a2[_0x1cd3('0x1247')][_0x1cd3('0x124f')]=_[_0x1cd3('0x398')](_0x4cf6ed[0x3])?_0x4cf6ed[0x3]:isNaN(_0x4cf6ed[0x3])?_0x4cf6ed[0x3]:parseInt(_0x4cf6ed[0x3],0xa);_0xb9c1a2[_0x1cd3('0x1247')][_0x1cd3('0x1246')]=_[_0x1cd3('0x398')](_0x4cf6ed[0x4])?_0x4cf6ed[0x4]:isNaN(_0x4cf6ed[0x4])?_0x4cf6ed[0x4]:parseInt(_0x4cf6ed[0x4],0xa);}}else{_0xb9c1a2[_0x1cd3('0x1247')][_0x1cd3('0x124a')]='us-east-1';}if(_0xb9c1a2[_0x1cd3('0x1247')][_0x1cd3('0x424')]&&_0xb9c1a2['amazonlex']['type']['toLowerCase']()===_0x1cd3('0x128')&&_0xb9c1a2[_0x1cd3('0x1247')]['appType'][_0x1cd3('0x433')]()===_0x1cd3('0x1289')){_0xb9c1a2[_0x1cd3('0x1247')][_0x1cd3('0x6aa')]=_0xb9c1a2[_0x1cd3('0x1247')][_0x1cd3('0xf09')]?_0xb9c1a2[_0x1cd3('0x1247')][_0x1cd3('0xf09')][_0x1cd3('0x3ef')]('$')[0x0]:undefined;_0xb9c1a2[_0x1cd3('0x1247')][_0x1cd3('0x689')]=_0xb9c1a2[_0x1cd3('0x1247')][_0x1cd3('0x127f')]?'CALLERID(all)='+_0xb9c1a2[_0x1cd3('0x1247')][_0x1cd3('0x127f')]:undefined;}_0xb9c1a2['saveWhatsappAccountApp']=_0x427e6c;_0xb9c1a2['closeDialog']=_0x374af9;function _0x427e6c(){_0xb9c1a2[_0x1cd3('0xd34')]=[];var _0x3b1135=[];if(_0xb9c1a2[_0x1cd3('0x1247')][_0x1cd3('0x424')]&&_0xb9c1a2[_0x1cd3('0x1247')][_0x1cd3('0x424')]['toLowerCase']()===_0x1cd3('0x128')&&_0xb9c1a2[_0x1cd3('0x1247')][_0x1cd3('0x125b')]===_0x1cd3('0x1283')){_0xb9c1a2['amazonlex']['phone']=_0x293c9c[_0x1cd3('0x128a')]?(_0xb9c1a2[_0x1cd3('0x1247')][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x1284')+_0x293c9c[_0x1cd3('0x128a')]+'}':(_0xb9c1a2[_0x1cd3('0x1247')][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x128d');if(_0x293c9c['recordingFormat']!==_0x1cd3('0x6ae')){if(_0xb9c1a2['amazonlex'][_0x1cd3('0x422')][_0x1cd3('0x45e')](_0x1cd3('0x1286'))<0x0){_0xb9c1a2[_0x1cd3('0x1247')][_0x1cd3('0x422')]+='U(xcally-mixmonitor-context)';}}else{_0xb9c1a2[_0x1cd3('0x1247')][_0x1cd3('0x422')]=_0xb9c1a2[_0x1cd3('0x1247')]['options'][_0x1cd3('0x3f1')](_0x1cd3('0x1286'),'');}}if(_0xb9c1a2[_0x1cd3('0x1247')][_0x1cd3('0x125b')]&&_0xb9c1a2[_0x1cd3('0x1247')][_0x1cd3('0x125b')]===_0x1cd3('0x8f6')){}else{switch((_0xb9c1a2[_0x1cd3('0x1247')][_0x1cd3('0xd0a')]||_0xb9c1a2[_0x1cd3('0x1247')][_0x1cd3('0x125b')])[_0x1cd3('0x433')]()){case'set':_0xb9c1a2['amazonlex'][_0x1cd3('0x127d')]=_0xb9c1a2[_0x1cd3('0x1247')]['name']+'='+_0xb9c1a2['amazonlex'][_0x1cd3('0x3db')];break;case _0x1cd3('0x8f6'):break;default:_0x3b1135[0x0]=_0xb9c1a2['amazonlex']['accesskeyid'];_0x3b1135[0x1]=_0xb9c1a2[_0x1cd3('0x1247')][_0x1cd3('0x1249')];_0x3b1135[0x2]=_0xb9c1a2['amazonlex']['lexregion'];_0x3b1135[0x3]=_0xb9c1a2[_0x1cd3('0x1247')][_0x1cd3('0x124f')];_0x3b1135[0x4]=_0xb9c1a2[_0x1cd3('0x1247')]['welcomemessage'];_0xb9c1a2[_0x1cd3('0x1247')][_0x1cd3('0x127d')]=_0x3b1135[_0x1cd3('0x3de')](',');}}_0x374af9(_0xb9c1a2[_0x1cd3('0x1247')]);}function _0x374af9(_0x152b09){_0x5322f2[_0x1cd3('0x39d')](_0x152b09);}}}());(function(){'use strict';_0xc82b83[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),'$q','toasty',_0x1cd3('0x2734'),'whatsappAccount',_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0xd27')];angular['module'](_0x1cd3('0x3a'))[_0x1cd3('0x39b')](_0x1cd3('0x2738'),_0xc82b83);function _0xc82b83(_0xe7a8e,_0x317b45,_0x416a4c,_0x30abdb,_0x18b342,_0x12f399,_0x162f6a,_0x31bd43){var _0x41663c=this;_0x41663c[_0x1cd3('0x3ca')]=_0x162f6a['getCurrentUser']();_0x41663c['errors']=[];_0x41663c['title']=_0x1cd3('0x2737')+(_0x30abdb[_0x1cd3('0x125b')]||_0x30abdb[_0x1cd3('0xd0a')])[_0x1cd3('0x437')]();_0x41663c['autoreply']=angular[_0x1cd3('0x429')](_0x30abdb);_0x41663c[_0x1cd3('0xd27')]=_0x31bd43;_0x41663c[_0x1cd3('0xd28')]={};if(_0x41663c[_0x1cd3('0x122b')][_0x1cd3('0x127d')]){switch(_0x41663c[_0x1cd3('0x122b')][_0x1cd3('0x125b')]?_0x41663c[_0x1cd3('0x122b')]['appType']['toLowerCase']():_0x41663c['autoreply'][_0x1cd3('0xd0a')]['toLowerCase']()){case'custom':break;case _0x1cd3('0x1233'):var _0x67f668=_0x41663c[_0x1cd3('0x122b')]['appdata'][_0x1cd3('0x3ef')](',');_0x41663c[_0x1cd3('0x122b')][_0x1cd3('0x65c')]=_0x67f668[0x0];_0x41663c[_0x1cd3('0x122b')][_0x1cd3('0x3f3')]=_0x67f668[0x1];_0x41663c['autoreply'][_0x1cd3('0x1246')]=_0x67f668[_0x1cd3('0x9a2')](0x2,_0x67f668[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x1247'):var _0x67f668=_0x41663c['autoreply'][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x41663c[_0x1cd3('0x122b')][_0x1cd3('0x1248')]=_0x67f668[0x0];_0x41663c[_0x1cd3('0x122b')][_0x1cd3('0x1249')]=_0x67f668[0x1];_0x41663c[_0x1cd3('0x122b')][_0x1cd3('0x124a')]=_0x67f668[0x2];_0x41663c[_0x1cd3('0x122b')][_0x1cd3('0x124f')]=_0x67f668[0x3];_0x41663c[_0x1cd3('0x122b')][_0x1cd3('0x1246')]=_0x67f668[_0x1cd3('0x9a2')](0x4,_0x67f668[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x122b'):var _0x67f668=_0x41663c[_0x1cd3('0x122b')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x41663c[_0x1cd3('0x122b')][_0x1cd3('0x122c')]=isNaN(_0x67f668[0x0])?_0x67f668[0x0]:parseInt(_0x67f668[0x0],0xa);_0x41663c[_0x1cd3('0x122b')][_0x1cd3('0x401')]=_0x67f668['slice'](0x1,_0x67f668['length'])[_0x1cd3('0x3de')](',');break;case'message':_0x41663c[_0x1cd3('0x122b')][_0x1cd3('0x401')]=_0x41663c[_0x1cd3('0x122b')][_0x1cd3('0x127d')];break;case _0x1cd3('0x127e'):_0x41663c['autoreply']['name']=_0x41663c[_0x1cd3('0x122b')][_0x1cd3('0x127d')]['split']('=')[0x0];_0x41663c[_0x1cd3('0x122b')][_0x1cd3('0x3db')]=_0x41663c[_0x1cd3('0x122b')][_0x1cd3('0x127d')]['split']('=')[0x1];break;case _0x1cd3('0x128c'):_0x41663c[_0x1cd3('0x122b')][_0x1cd3('0xedd')]=_0x41663c[_0x1cd3('0x122b')][_0x1cd3('0x127d')];break;default:var _0x360ad5=_0x41663c[_0x1cd3('0x122b')][_0x1cd3('0x127d')]['split'](',');_0x41663c[_0x1cd3('0x122b')]['times']=_[_0x1cd3('0x398')](_0x360ad5[0x0])?_0x360ad5[0x0]:isNaN(_0x360ad5[0x0])?_0x360ad5[0x0]:parseInt(_0x360ad5[0x0],0xa);_0x41663c[_0x1cd3('0x122b')]['text']=_['isEmpty'](_0x360ad5[0x1])?_0x360ad5[0x1]:isNaN(_0x360ad5[0x1])?_0x360ad5[0x1]:parseInt(_0x360ad5[0x1],0xa);}}else{_0x41663c['autoreply']['times']=0x1;}if(_0x41663c[_0x1cd3('0x122b')][_0x1cd3('0x424')]&&_0x41663c['autoreply'][_0x1cd3('0x424')][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x41663c[_0x1cd3('0x122b')][_0x1cd3('0x125b')][_0x1cd3('0x433')]()==='outbounddial'){_0x41663c[_0x1cd3('0x122b')][_0x1cd3('0x6aa')]=_0x41663c['autoreply'][_0x1cd3('0xf09')]?_0x41663c[_0x1cd3('0x122b')]['phone'][_0x1cd3('0x3ef')]('$')[0x0]:undefined;_0x41663c[_0x1cd3('0x122b')][_0x1cd3('0x689')]=_0x41663c['autoreply']['callerID']?_0x1cd3('0x1280')+_0x41663c[_0x1cd3('0x122b')]['callerID']:undefined;}_0x41663c[_0x1cd3('0x2735')]=_0x11c454;_0x41663c[_0x1cd3('0x39c')]=_0xf8d3e3;function _0x11c454(){_0x41663c['errors']=[];var _0x264ad7=[];if(_0x41663c[_0x1cd3('0x122b')][_0x1cd3('0x424')]&&_0x41663c[_0x1cd3('0x122b')]['type'][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x41663c['autoreply'][_0x1cd3('0x125b')]==='outboundDial'){_0x41663c['autoreply']['phone']=_0x18b342[_0x1cd3('0x128a')]?(_0x41663c[_0x1cd3('0x122b')][_0x1cd3('0x6aa')]||'')+'${EXTEN:'+_0x18b342['cutdigits']+'}':(_0x41663c[_0x1cd3('0x122b')][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x128d');if(_0x18b342[_0x1cd3('0x1285')]!==_0x1cd3('0x6ae')){if(_0x41663c['autoreply']['options'][_0x1cd3('0x45e')](_0x1cd3('0x1286'))<0x0){_0x41663c[_0x1cd3('0x122b')][_0x1cd3('0x422')]+=_0x1cd3('0x1286');}}else{_0x41663c[_0x1cd3('0x122b')][_0x1cd3('0x422')]=_0x41663c[_0x1cd3('0x122b')]['options']['replace']('U(xcally-mixmonitor-context)','');}}if(_0x41663c[_0x1cd3('0x122b')][_0x1cd3('0x125b')]&&_0x41663c[_0x1cd3('0x122b')][_0x1cd3('0x125b')]===_0x1cd3('0x8f6')){}else{switch((_0x41663c['autoreply']['app']||_0x41663c[_0x1cd3('0x122b')][_0x1cd3('0x125b')])[_0x1cd3('0x433')]()){case _0x1cd3('0x127e'):_0x41663c[_0x1cd3('0x122b')][_0x1cd3('0x127d')]=_0x41663c[_0x1cd3('0x122b')][_0x1cd3('0x98')]+'='+_0x41663c['autoreply']['value'];break;case _0x1cd3('0x8f6'):break;default:_0x264ad7[0x0]=_0x41663c[_0x1cd3('0x122b')][_0x1cd3('0x122c')];_0x264ad7[0x1]=_0x41663c[_0x1cd3('0x122b')][_0x1cd3('0x401')];_0x41663c[_0x1cd3('0x122b')][_0x1cd3('0x127d')]=_0x264ad7[_0x1cd3('0x3de')](',');}}_0xf8d3e3(_0x41663c[_0x1cd3('0x122b')]);}function _0xf8d3e3(_0x1ff9df){_0xe7a8e[_0x1cd3('0x39d')](_0x1ff9df);}}}());(function(){'use strict';_0xf1994a[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),'$q',_0x1cd3('0x461'),_0x1cd3('0x2734'),_0x1cd3('0xca3'),_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x3a'))[_0x1cd3('0x39b')]('EditWhatsappAccountAppcloseDialogController',_0xf1994a);function _0xf1994a(_0xb6d5f2,_0x5471ca,_0x2d5182,_0x4a824f,_0x3caf8e,_0xb93e9d,_0x45028b,_0x483d1e){var _0x469ec1=this;_0x469ec1[_0x1cd3('0x3ca')]=_0x45028b[_0x1cd3('0x5d')]();_0x469ec1['errors']=[];_0x469ec1[_0x1cd3('0x486')]=_0x1cd3('0x2737')+(_0x4a824f['appType']||_0x4a824f[_0x1cd3('0xd0a')])['toUpperCase']();_0x469ec1['close']=angular[_0x1cd3('0x429')](_0x4a824f);_0x469ec1[_0x1cd3('0xd27')]=_0x483d1e;_0x469ec1[_0x1cd3('0xd28')]={};if(_0x469ec1['close'][_0x1cd3('0x127d')]){switch(_0x469ec1[_0x1cd3('0x3cf')]['appType']?_0x469ec1[_0x1cd3('0x3cf')][_0x1cd3('0x125b')][_0x1cd3('0x433')]():_0x469ec1['close'][_0x1cd3('0xd0a')]['toLowerCase']()){case _0x1cd3('0x8f6'):break;case _0x1cd3('0x1233'):var _0xf224bd=_0x469ec1['close']['appdata'][_0x1cd3('0x3ef')](',');_0x469ec1['close'][_0x1cd3('0x65c')]=_0xf224bd[0x0];_0x469ec1[_0x1cd3('0x3cf')][_0x1cd3('0x3f3')]=_0xf224bd[0x1];_0x469ec1[_0x1cd3('0x3cf')][_0x1cd3('0x1246')]=_0xf224bd[_0x1cd3('0x9a2')](0x2,_0xf224bd[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x1247'):var _0xf224bd=_0x469ec1[_0x1cd3('0x3cf')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x469ec1[_0x1cd3('0x3cf')][_0x1cd3('0x1248')]=_0xf224bd[0x0];_0x469ec1[_0x1cd3('0x3cf')][_0x1cd3('0x1249')]=_0xf224bd[0x1];_0x469ec1['close'][_0x1cd3('0x124a')]=_0xf224bd[0x2];_0x469ec1['close']['botname']=_0xf224bd[0x3];_0x469ec1[_0x1cd3('0x3cf')]['welcomemessage']=_0xf224bd[_0x1cd3('0x9a2')](0x4,_0xf224bd[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x122b'):var _0xf224bd=_0x469ec1[_0x1cd3('0x3cf')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x469ec1[_0x1cd3('0x3cf')][_0x1cd3('0x122c')]=isNaN(_0xf224bd[0x0])?_0xf224bd[0x0]:parseInt(_0xf224bd[0x0],0xa);_0x469ec1[_0x1cd3('0x3cf')][_0x1cd3('0x401')]=_0xf224bd['slice'](0x1,_0xf224bd[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x43a'):_0x469ec1['close'][_0x1cd3('0x401')]=_0x469ec1['close'][_0x1cd3('0x127d')];break;case _0x1cd3('0x127e'):_0x469ec1[_0x1cd3('0x3cf')][_0x1cd3('0x98')]=_0x469ec1['close'][_0x1cd3('0x127d')]['split']('=')[0x0];_0x469ec1['close'][_0x1cd3('0x3db')]=_0x469ec1[_0x1cd3('0x3cf')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x1];break;case'agi':_0x469ec1['close']['project']=_0x469ec1[_0x1cd3('0x3cf')]['appdata'];break;default:var _0x3677bd=_0x469ec1['close'][_0x1cd3('0x127d')]['split'](',');_0x469ec1['close']['disposition']=_[_0x1cd3('0x398')](_0x3677bd[0x0])?_0x3677bd[0x0]:isNaN(_0x3677bd[0x0])?_0x3677bd[0x0]:parseInt(_0x3677bd[0x0],0xa);}}else{}if(_0x469ec1[_0x1cd3('0x3cf')][_0x1cd3('0x424')]&&_0x469ec1[_0x1cd3('0x3cf')]['type'][_0x1cd3('0x433')]()==='outbound'&&_0x469ec1[_0x1cd3('0x3cf')][_0x1cd3('0x125b')]['toLowerCase']()==='outbounddial'){_0x469ec1[_0x1cd3('0x3cf')][_0x1cd3('0x6aa')]=_0x469ec1[_0x1cd3('0x3cf')][_0x1cd3('0xf09')]?_0x469ec1[_0x1cd3('0x3cf')][_0x1cd3('0xf09')]['split']('$')[0x0]:undefined;_0x469ec1['close'][_0x1cd3('0x689')]=_0x469ec1[_0x1cd3('0x3cf')]['callerID']?_0x1cd3('0x1280')+_0x469ec1[_0x1cd3('0x3cf')][_0x1cd3('0x127f')]:undefined;}_0x469ec1[_0x1cd3('0x2735')]=_0x216d8a;_0x469ec1['closeDialog']=_0x4d6b18;function _0x216d8a(){_0x469ec1[_0x1cd3('0xd34')]=[];var _0x19018b=[];if(_0x469ec1[_0x1cd3('0x3cf')][_0x1cd3('0x424')]&&_0x469ec1['close'][_0x1cd3('0x424')][_0x1cd3('0x433')]()==='outbound'&&_0x469ec1[_0x1cd3('0x3cf')]['appType']===_0x1cd3('0x1283')){_0x469ec1[_0x1cd3('0x3cf')][_0x1cd3('0xf09')]=_0x3caf8e['cutdigits']?(_0x469ec1[_0x1cd3('0x3cf')][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x1284')+_0x3caf8e[_0x1cd3('0x128a')]+'}':(_0x469ec1[_0x1cd3('0x3cf')]['prefix']||'')+'${EXTEN}';if(_0x3caf8e[_0x1cd3('0x1285')]!=='none'){if(_0x469ec1[_0x1cd3('0x3cf')][_0x1cd3('0x422')]['indexOf'](_0x1cd3('0x1286'))<0x0){_0x469ec1[_0x1cd3('0x3cf')]['options']+=_0x1cd3('0x1286');}}else{_0x469ec1['close']['options']=_0x469ec1[_0x1cd3('0x3cf')][_0x1cd3('0x422')][_0x1cd3('0x3f1')]('U(xcally-mixmonitor-context)','');}}if(_0x469ec1[_0x1cd3('0x3cf')][_0x1cd3('0x125b')]&&_0x469ec1['close'][_0x1cd3('0x125b')]===_0x1cd3('0x8f6')){}else{switch((_0x469ec1[_0x1cd3('0x3cf')][_0x1cd3('0xd0a')]||_0x469ec1[_0x1cd3('0x3cf')]['appType'])[_0x1cd3('0x433')]()){case _0x1cd3('0x127e'):_0x469ec1['close'][_0x1cd3('0x127d')]=_0x469ec1[_0x1cd3('0x3cf')][_0x1cd3('0x98')]+'='+_0x469ec1[_0x1cd3('0x3cf')][_0x1cd3('0x3db')];break;case _0x1cd3('0x8f6'):break;default:_0x19018b[0x0]=_0x469ec1['close']['disposition'];_0x469ec1[_0x1cd3('0x3cf')][_0x1cd3('0x127d')]=_0x19018b['join'](',');}}_0x4d6b18(_0x469ec1[_0x1cd3('0x3cf')]);}function _0x4d6b18(_0x3e1cd7){_0xb6d5f2[_0x1cd3('0x39d')](_0x3e1cd7);}}}());(function(){'use strict';_0x57fa30[_0x1cd3('0xc')]=['$mdDialog','$q','toasty','whatsappAccountApp','whatsappAccount',_0x1cd3('0x370'),_0x1cd3('0x56'),'crudPermissions'];angular[_0x1cd3('0x0')]('app.whatsapp')[_0x1cd3('0x39b')](_0x1cd3('0x2739'),_0x57fa30);function _0x57fa30(_0x23283b,_0x29c64b,_0x571e10,_0x3df691,_0x2d5fde,_0x2588ac,_0xf38efb,_0x37ce97){var _0x357a2b=this;_0x357a2b[_0x1cd3('0x3ca')]=_0xf38efb['getCurrentUser']();_0x357a2b[_0x1cd3('0xd34')]=[];_0x357a2b[_0x1cd3('0x486')]=_0x1cd3('0x2737')+(_0x3df691[_0x1cd3('0x125b')]||_0x3df691[_0x1cd3('0xd0a')])['toUpperCase']();_0x357a2b[_0x1cd3('0x1233')]=angular[_0x1cd3('0x429')](_0x3df691);_0x357a2b[_0x1cd3('0xd27')]=_0x37ce97;_0x357a2b[_0x1cd3('0xd28')]={};if(_0x357a2b['dialogflow'][_0x1cd3('0x127d')]){switch(_0x357a2b['dialogflow'][_0x1cd3('0x125b')]?_0x357a2b[_0x1cd3('0x1233')][_0x1cd3('0x125b')][_0x1cd3('0x433')]():_0x357a2b[_0x1cd3('0x1233')][_0x1cd3('0xd0a')][_0x1cd3('0x433')]()){case _0x1cd3('0x8f6'):break;case'dialogflow':var _0x33261f=_0x357a2b['dialogflow']['appdata'][_0x1cd3('0x3ef')](',');_0x357a2b['dialogflow']['key']=_0x33261f[0x0];_0x357a2b[_0x1cd3('0x1233')][_0x1cd3('0x3f3')]=_0x33261f[0x1];_0x357a2b[_0x1cd3('0x1233')][_0x1cd3('0x1246')]=_0x33261f[_0x1cd3('0x9a2')](0x2,_0x33261f['length'])['join'](',');break;case _0x1cd3('0x1247'):var _0x33261f=_0x357a2b[_0x1cd3('0x1233')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x357a2b[_0x1cd3('0x1233')][_0x1cd3('0x1248')]=_0x33261f[0x0];_0x357a2b['dialogflow'][_0x1cd3('0x1249')]=_0x33261f[0x1];_0x357a2b[_0x1cd3('0x1233')][_0x1cd3('0x124a')]=_0x33261f[0x2];_0x357a2b[_0x1cd3('0x1233')]['botname']=_0x33261f[0x3];_0x357a2b[_0x1cd3('0x1233')][_0x1cd3('0x1246')]=_0x33261f['slice'](0x4,_0x33261f[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x122b'):var _0x33261f=_0x357a2b[_0x1cd3('0x1233')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x357a2b[_0x1cd3('0x1233')][_0x1cd3('0x122c')]=isNaN(_0x33261f[0x0])?_0x33261f[0x0]:parseInt(_0x33261f[0x0],0xa);_0x357a2b['dialogflow']['text']=_0x33261f[_0x1cd3('0x9a2')](0x1,_0x33261f[_0x1cd3('0x7a')])['join'](',');break;case _0x1cd3('0x43a'):_0x357a2b[_0x1cd3('0x1233')][_0x1cd3('0x401')]=_0x357a2b[_0x1cd3('0x1233')][_0x1cd3('0x127d')];break;case _0x1cd3('0x127e'):_0x357a2b['dialogflow'][_0x1cd3('0x98')]=_0x357a2b['dialogflow']['appdata']['split']('=')[0x0];_0x357a2b[_0x1cd3('0x1233')][_0x1cd3('0x3db')]=_0x357a2b['dialogflow'][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x1];break;case _0x1cd3('0x128c'):_0x357a2b[_0x1cd3('0x1233')]['project']=_0x357a2b['dialogflow'][_0x1cd3('0x127d')];break;default:var _0x14043d=_0x357a2b[_0x1cd3('0x1233')][_0x1cd3('0x127d')]['split'](',');_0x357a2b[_0x1cd3('0x1233')][_0x1cd3('0x65c')]=_[_0x1cd3('0x398')](_0x14043d[0x0])?_0x14043d[0x0]:isNaN(_0x14043d[0x0])?_0x14043d[0x0]:parseInt(_0x14043d[0x0],0xa);_0x357a2b['dialogflow']['language']=_[_0x1cd3('0x398')](_0x14043d[0x1])?_0x14043d[0x1]:isNaN(_0x14043d[0x1])?_0x14043d[0x1]:parseInt(_0x14043d[0x1],0xa);_0x357a2b[_0x1cd3('0x1233')][_0x1cd3('0x1246')]=_[_0x1cd3('0x398')](_0x14043d[0x2])?_0x14043d[0x2]:isNaN(_0x14043d[0x2])?_0x14043d[0x2]:parseInt(_0x14043d[0x2],0xa);}}else{_0x357a2b[_0x1cd3('0x1233')][_0x1cd3('0x3f3')]='en';}if(_0x357a2b[_0x1cd3('0x1233')][_0x1cd3('0x424')]&&_0x357a2b[_0x1cd3('0x1233')][_0x1cd3('0x424')][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x357a2b[_0x1cd3('0x1233')][_0x1cd3('0x125b')][_0x1cd3('0x433')]()===_0x1cd3('0x1289')){_0x357a2b[_0x1cd3('0x1233')][_0x1cd3('0x6aa')]=_0x357a2b[_0x1cd3('0x1233')][_0x1cd3('0xf09')]?_0x357a2b[_0x1cd3('0x1233')][_0x1cd3('0xf09')][_0x1cd3('0x3ef')]('$')[0x0]:undefined;_0x357a2b[_0x1cd3('0x1233')][_0x1cd3('0x689')]=_0x357a2b['dialogflow'][_0x1cd3('0x127f')]?_0x1cd3('0x1280')+_0x357a2b[_0x1cd3('0x1233')][_0x1cd3('0x127f')]:undefined;}_0x357a2b[_0x1cd3('0x2735')]=_0x994130;_0x357a2b[_0x1cd3('0x39c')]=_0x5191f6;function _0x994130(){_0x357a2b[_0x1cd3('0xd34')]=[];var _0x363eb8=[];if(_0x357a2b[_0x1cd3('0x1233')][_0x1cd3('0x424')]&&_0x357a2b[_0x1cd3('0x1233')][_0x1cd3('0x424')][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x357a2b[_0x1cd3('0x1233')]['appType']===_0x1cd3('0x1283')){_0x357a2b[_0x1cd3('0x1233')]['phone']=_0x2d5fde[_0x1cd3('0x128a')]?(_0x357a2b[_0x1cd3('0x1233')][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x1284')+_0x2d5fde[_0x1cd3('0x128a')]+'}':(_0x357a2b[_0x1cd3('0x1233')]['prefix']||'')+_0x1cd3('0x128d');if(_0x2d5fde[_0x1cd3('0x1285')]!==_0x1cd3('0x6ae')){if(_0x357a2b[_0x1cd3('0x1233')][_0x1cd3('0x422')][_0x1cd3('0x45e')]('U(xcally-mixmonitor-context)')<0x0){_0x357a2b[_0x1cd3('0x1233')][_0x1cd3('0x422')]+=_0x1cd3('0x1286');}}else{_0x357a2b[_0x1cd3('0x1233')][_0x1cd3('0x422')]=_0x357a2b[_0x1cd3('0x1233')]['options']['replace'](_0x1cd3('0x1286'),'');}}if(_0x357a2b[_0x1cd3('0x1233')][_0x1cd3('0x125b')]&&_0x357a2b['dialogflow'][_0x1cd3('0x125b')]===_0x1cd3('0x8f6')){}else{switch((_0x357a2b['dialogflow'][_0x1cd3('0xd0a')]||_0x357a2b[_0x1cd3('0x1233')][_0x1cd3('0x125b')])['toLowerCase']()){case _0x1cd3('0x127e'):_0x357a2b[_0x1cd3('0x1233')][_0x1cd3('0x127d')]=_0x357a2b[_0x1cd3('0x1233')][_0x1cd3('0x98')]+'='+_0x357a2b['dialogflow'][_0x1cd3('0x3db')];break;case'custom':break;default:_0x363eb8[0x0]=_0x357a2b[_0x1cd3('0x1233')][_0x1cd3('0x65c')];_0x363eb8[0x1]=_0x357a2b[_0x1cd3('0x1233')]['language'];_0x363eb8[0x2]=_0x357a2b[_0x1cd3('0x1233')][_0x1cd3('0x1246')];_0x357a2b[_0x1cd3('0x1233')][_0x1cd3('0x127d')]=_0x363eb8[_0x1cd3('0x3de')](',');}}_0x5191f6(_0x357a2b[_0x1cd3('0x1233')]);}function _0x5191f6(_0x3b0ce9){_0x23283b['hide'](_0x3b0ce9);}}}());(function(){'use strict';_0x48a1ad[_0x1cd3('0xc')]=['$mdDialog','$q',_0x1cd3('0x461'),_0x1cd3('0x2734'),_0x1cd3('0xca3'),_0x1cd3('0x370'),'Auth',_0x1cd3('0xd27')];angular['module']('app.whatsapp')[_0x1cd3('0x39b')](_0x1cd3('0x273a'),_0x48a1ad);function _0x48a1ad(_0x53605f,_0x5406cb,_0x164bdc,_0x7c5c7e,_0x52996a,_0x1958be,_0x3f6199,_0x912313){var _0x1ff3ca=this;_0x1ff3ca[_0x1cd3('0x3ca')]=_0x3f6199[_0x1cd3('0x5d')]();_0x1ff3ca[_0x1cd3('0xd34')]=[];_0x1ff3ca[_0x1cd3('0x486')]=_0x1cd3('0x2737')+(_0x7c5c7e[_0x1cd3('0x125b')]||_0x7c5c7e[_0x1cd3('0xd0a')])[_0x1cd3('0x437')]();_0x1ff3ca[_0x1cd3('0x121c')]=angular['copy'](_0x7c5c7e);_0x1ff3ca[_0x1cd3('0xd27')]=_0x912313;_0x1ff3ca['hasModulePermissions']={};if(_0x1ff3ca[_0x1cd3('0x121c')]['appdata']){switch(_0x1ff3ca['gotoif'][_0x1cd3('0x125b')]?_0x1ff3ca[_0x1cd3('0x121c')][_0x1cd3('0x125b')][_0x1cd3('0x433')]():_0x1ff3ca[_0x1cd3('0x121c')][_0x1cd3('0xd0a')][_0x1cd3('0x433')]()){case _0x1cd3('0x8f6'):break;case _0x1cd3('0x1233'):var _0x2debc0=_0x1ff3ca[_0x1cd3('0x121c')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x1ff3ca[_0x1cd3('0x121c')]['key']=_0x2debc0[0x0];_0x1ff3ca[_0x1cd3('0x121c')][_0x1cd3('0x3f3')]=_0x2debc0[0x1];_0x1ff3ca[_0x1cd3('0x121c')][_0x1cd3('0x1246')]=_0x2debc0[_0x1cd3('0x9a2')](0x2,_0x2debc0[_0x1cd3('0x7a')])['join'](',');break;case _0x1cd3('0x1247'):var _0x2debc0=_0x1ff3ca['gotoif'][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x1ff3ca[_0x1cd3('0x121c')][_0x1cd3('0x1248')]=_0x2debc0[0x0];_0x1ff3ca[_0x1cd3('0x121c')][_0x1cd3('0x1249')]=_0x2debc0[0x1];_0x1ff3ca['gotoif'][_0x1cd3('0x124a')]=_0x2debc0[0x2];_0x1ff3ca[_0x1cd3('0x121c')][_0x1cd3('0x124f')]=_0x2debc0[0x3];_0x1ff3ca['gotoif'][_0x1cd3('0x1246')]=_0x2debc0[_0x1cd3('0x9a2')](0x4,_0x2debc0['length'])['join'](',');break;case _0x1cd3('0x122b'):var _0x2debc0=_0x1ff3ca[_0x1cd3('0x121c')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x1ff3ca[_0x1cd3('0x121c')][_0x1cd3('0x122c')]=isNaN(_0x2debc0[0x0])?_0x2debc0[0x0]:parseInt(_0x2debc0[0x0],0xa);_0x1ff3ca[_0x1cd3('0x121c')]['text']=_0x2debc0[_0x1cd3('0x9a2')](0x1,_0x2debc0[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case'message':_0x1ff3ca[_0x1cd3('0x121c')][_0x1cd3('0x401')]=_0x1ff3ca[_0x1cd3('0x121c')]['appdata'];break;case _0x1cd3('0x127e'):_0x1ff3ca['gotoif']['name']=_0x1ff3ca[_0x1cd3('0x121c')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x0];_0x1ff3ca['gotoif'][_0x1cd3('0x3db')]=_0x1ff3ca[_0x1cd3('0x121c')]['appdata']['split']('=')[0x1];break;case _0x1cd3('0x128c'):_0x1ff3ca[_0x1cd3('0x121c')][_0x1cd3('0xedd')]=_0x1ff3ca['gotoif']['appdata'];break;default:var _0x261f07=_0x1ff3ca[_0x1cd3('0x121c')]['appdata'][_0x1cd3('0x3ef')](',');_0x1ff3ca[_0x1cd3('0x121c')][_0x1cd3('0xb65')]=_[_0x1cd3('0x398')](_0x261f07[0x0])?_0x261f07[0x0]:isNaN(_0x261f07[0x0])?_0x261f07[0x0]:parseInt(_0x261f07[0x0],0xa);_0x1ff3ca[_0x1cd3('0x121c')][_0x1cd3('0x121e')]=_['isEmpty'](_0x261f07[0x1])?_0x261f07[0x1]:isNaN(_0x261f07[0x1])?_0x261f07[0x1]:parseInt(_0x261f07[0x1],0xa);_0x1ff3ca['gotoif'][_0x1cd3('0x121f')]=_[_0x1cd3('0x398')](_0x261f07[0x2])?_0x261f07[0x2]:isNaN(_0x261f07[0x2])?_0x261f07[0x2]:parseInt(_0x261f07[0x2],0xa);}}else{}if(_0x1ff3ca[_0x1cd3('0x121c')]['type']&&_0x1ff3ca[_0x1cd3('0x121c')][_0x1cd3('0x424')][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x1ff3ca[_0x1cd3('0x121c')][_0x1cd3('0x125b')][_0x1cd3('0x433')]()===_0x1cd3('0x1289')){_0x1ff3ca['gotoif'][_0x1cd3('0x6aa')]=_0x1ff3ca[_0x1cd3('0x121c')][_0x1cd3('0xf09')]?_0x1ff3ca['gotoif'][_0x1cd3('0xf09')][_0x1cd3('0x3ef')]('$')[0x0]:undefined;_0x1ff3ca[_0x1cd3('0x121c')]['callerId']=_0x1ff3ca[_0x1cd3('0x121c')][_0x1cd3('0x127f')]?_0x1cd3('0x1280')+_0x1ff3ca[_0x1cd3('0x121c')]['callerID']:undefined;}_0x1ff3ca[_0x1cd3('0x2735')]=_0xb5c214;_0x1ff3ca[_0x1cd3('0x39c')]=_0x5d93eb;function _0xb5c214(){_0x1ff3ca['errors']=[];var _0x18f8c1=[];if(_0x1ff3ca[_0x1cd3('0x121c')][_0x1cd3('0x424')]&&_0x1ff3ca[_0x1cd3('0x121c')]['type'][_0x1cd3('0x433')]()==='outbound'&&_0x1ff3ca[_0x1cd3('0x121c')][_0x1cd3('0x125b')]===_0x1cd3('0x1283')){_0x1ff3ca[_0x1cd3('0x121c')]['phone']=_0x52996a['cutdigits']?(_0x1ff3ca[_0x1cd3('0x121c')]['prefix']||'')+_0x1cd3('0x1284')+_0x52996a[_0x1cd3('0x128a')]+'}':(_0x1ff3ca[_0x1cd3('0x121c')][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x128d');if(_0x52996a[_0x1cd3('0x1285')]!=='none'){if(_0x1ff3ca[_0x1cd3('0x121c')][_0x1cd3('0x422')][_0x1cd3('0x45e')](_0x1cd3('0x1286'))<0x0){_0x1ff3ca[_0x1cd3('0x121c')][_0x1cd3('0x422')]+=_0x1cd3('0x1286');}}else{_0x1ff3ca[_0x1cd3('0x121c')][_0x1cd3('0x422')]=_0x1ff3ca[_0x1cd3('0x121c')][_0x1cd3('0x422')][_0x1cd3('0x3f1')](_0x1cd3('0x1286'),'');}}if(_0x1ff3ca[_0x1cd3('0x121c')]['appType']&&_0x1ff3ca['gotoif'][_0x1cd3('0x125b')]===_0x1cd3('0x8f6')){}else{switch((_0x1ff3ca[_0x1cd3('0x121c')][_0x1cd3('0xd0a')]||_0x1ff3ca[_0x1cd3('0x121c')][_0x1cd3('0x125b')])[_0x1cd3('0x433')]()){case _0x1cd3('0x127e'):_0x1ff3ca['gotoif'][_0x1cd3('0x127d')]=_0x1ff3ca[_0x1cd3('0x121c')]['name']+'='+_0x1ff3ca[_0x1cd3('0x121c')][_0x1cd3('0x3db')];break;case _0x1cd3('0x8f6'):break;default:_0x18f8c1[0x0]=_0x1ff3ca[_0x1cd3('0x121c')][_0x1cd3('0xb65')];_0x18f8c1[0x1]=_0x1ff3ca['gotoif'][_0x1cd3('0x121e')];_0x18f8c1[0x2]=_0x1ff3ca[_0x1cd3('0x121c')]['falsepriority'];_0x1ff3ca[_0x1cd3('0x121c')][_0x1cd3('0x127d')]=_0x18f8c1[_0x1cd3('0x3de')](',');}}_0x5d93eb(_0x1ff3ca['gotoif']);}function _0x5d93eb(_0x4e57f1){_0x53605f[_0x1cd3('0x39d')](_0x4e57f1);}}}());(function(){'use strict';_0x5dd9f6[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),'$q',_0x1cd3('0x461'),_0x1cd3('0x2734'),_0x1cd3('0xca3'),'api',_0x1cd3('0x56'),'crudPermissions'];angular['module'](_0x1cd3('0x3a'))[_0x1cd3('0x39b')](_0x1cd3('0x273b'),_0x5dd9f6);function _0x5dd9f6(_0x30cab9,_0x565d3a,_0xe1e88b,_0x1dfea9,_0x439dbb,_0x4db295,_0x2ab6cc,_0x3be749){var _0x29c91f=this;_0x29c91f[_0x1cd3('0x3ca')]=_0x2ab6cc[_0x1cd3('0x5d')]();_0x29c91f['errors']=[];_0x29c91f['title']=_0x1cd3('0x2737')+(_0x1dfea9[_0x1cd3('0x125b')]||_0x1dfea9[_0x1cd3('0xd0a')])[_0x1cd3('0x437')]();_0x29c91f['gotop']=angular[_0x1cd3('0x429')](_0x1dfea9);_0x29c91f[_0x1cd3('0xd27')]=_0x3be749;_0x29c91f[_0x1cd3('0xd28')]={};if(_0x29c91f[_0x1cd3('0x121a')]['appdata']){switch(_0x29c91f[_0x1cd3('0x121a')][_0x1cd3('0x125b')]?_0x29c91f[_0x1cd3('0x121a')][_0x1cd3('0x125b')][_0x1cd3('0x433')]():_0x29c91f[_0x1cd3('0x121a')][_0x1cd3('0xd0a')][_0x1cd3('0x433')]()){case'custom':break;case _0x1cd3('0x1233'):var _0x17bb57=_0x29c91f['gotop']['appdata'][_0x1cd3('0x3ef')](',');_0x29c91f[_0x1cd3('0x121a')][_0x1cd3('0x65c')]=_0x17bb57[0x0];_0x29c91f[_0x1cd3('0x121a')]['language']=_0x17bb57[0x1];_0x29c91f[_0x1cd3('0x121a')][_0x1cd3('0x1246')]=_0x17bb57['slice'](0x2,_0x17bb57[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x1247'):var _0x17bb57=_0x29c91f[_0x1cd3('0x121a')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x29c91f[_0x1cd3('0x121a')][_0x1cd3('0x1248')]=_0x17bb57[0x0];_0x29c91f[_0x1cd3('0x121a')]['secretaccesskey']=_0x17bb57[0x1];_0x29c91f[_0x1cd3('0x121a')][_0x1cd3('0x124a')]=_0x17bb57[0x2];_0x29c91f[_0x1cd3('0x121a')]['botname']=_0x17bb57[0x3];_0x29c91f[_0x1cd3('0x121a')][_0x1cd3('0x1246')]=_0x17bb57[_0x1cd3('0x9a2')](0x4,_0x17bb57['length'])[_0x1cd3('0x3de')](',');break;case'autoreply':var _0x17bb57=_0x29c91f[_0x1cd3('0x121a')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x29c91f['gotop'][_0x1cd3('0x122c')]=isNaN(_0x17bb57[0x0])?_0x17bb57[0x0]:parseInt(_0x17bb57[0x0],0xa);_0x29c91f[_0x1cd3('0x121a')][_0x1cd3('0x401')]=_0x17bb57[_0x1cd3('0x9a2')](0x1,_0x17bb57[_0x1cd3('0x7a')])['join'](',');break;case _0x1cd3('0x43a'):_0x29c91f['gotop'][_0x1cd3('0x401')]=_0x29c91f['gotop'][_0x1cd3('0x127d')];break;case'set':_0x29c91f['gotop'][_0x1cd3('0x98')]=_0x29c91f[_0x1cd3('0x121a')]['appdata'][_0x1cd3('0x3ef')]('=')[0x0];_0x29c91f[_0x1cd3('0x121a')][_0x1cd3('0x3db')]=_0x29c91f[_0x1cd3('0x121a')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x1];break;case _0x1cd3('0x128c'):_0x29c91f[_0x1cd3('0x121a')][_0x1cd3('0xedd')]=_0x29c91f[_0x1cd3('0x121a')][_0x1cd3('0x127d')];break;default:var _0x166a87=_0x29c91f[_0x1cd3('0x121a')][_0x1cd3('0x127d')]['split'](',');_0x29c91f[_0x1cd3('0x121a')][_0x1cd3('0xf0c')]=_['isEmpty'](_0x166a87[0x0])?_0x166a87[0x0]:isNaN(_0x166a87[0x0])?_0x166a87[0x0]:parseInt(_0x166a87[0x0],0xa);}}else{}if(_0x29c91f[_0x1cd3('0x121a')][_0x1cd3('0x424')]&&_0x29c91f[_0x1cd3('0x121a')][_0x1cd3('0x424')][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x29c91f[_0x1cd3('0x121a')]['appType'][_0x1cd3('0x433')]()===_0x1cd3('0x1289')){_0x29c91f[_0x1cd3('0x121a')]['prefix']=_0x29c91f[_0x1cd3('0x121a')][_0x1cd3('0xf09')]?_0x29c91f[_0x1cd3('0x121a')]['phone'][_0x1cd3('0x3ef')]('$')[0x0]:undefined;_0x29c91f[_0x1cd3('0x121a')][_0x1cd3('0x689')]=_0x29c91f[_0x1cd3('0x121a')]['callerID']?_0x1cd3('0x1280')+_0x29c91f[_0x1cd3('0x121a')][_0x1cd3('0x127f')]:undefined;}_0x29c91f[_0x1cd3('0x2735')]=_0x247076;_0x29c91f['closeDialog']=_0x51f2b6;function _0x247076(){_0x29c91f[_0x1cd3('0xd34')]=[];var _0x1da7ef=[];if(_0x29c91f[_0x1cd3('0x121a')][_0x1cd3('0x424')]&&_0x29c91f[_0x1cd3('0x121a')][_0x1cd3('0x424')][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x29c91f['gotop'][_0x1cd3('0x125b')]===_0x1cd3('0x1283')){_0x29c91f[_0x1cd3('0x121a')][_0x1cd3('0xf09')]=_0x439dbb[_0x1cd3('0x128a')]?(_0x29c91f[_0x1cd3('0x121a')][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x1284')+_0x439dbb[_0x1cd3('0x128a')]+'}':(_0x29c91f['gotop'][_0x1cd3('0x6aa')]||'')+'${EXTEN}';if(_0x439dbb[_0x1cd3('0x1285')]!==_0x1cd3('0x6ae')){if(_0x29c91f['gotop'][_0x1cd3('0x422')][_0x1cd3('0x45e')]('U(xcally-mixmonitor-context)')<0x0){_0x29c91f[_0x1cd3('0x121a')][_0x1cd3('0x422')]+='U(xcally-mixmonitor-context)';}}else{_0x29c91f[_0x1cd3('0x121a')][_0x1cd3('0x422')]=_0x29c91f[_0x1cd3('0x121a')][_0x1cd3('0x422')][_0x1cd3('0x3f1')]('U(xcally-mixmonitor-context)','');}}if(_0x29c91f[_0x1cd3('0x121a')]['appType']&&_0x29c91f[_0x1cd3('0x121a')]['appType']===_0x1cd3('0x8f6')){}else{switch((_0x29c91f[_0x1cd3('0x121a')][_0x1cd3('0xd0a')]||_0x29c91f[_0x1cd3('0x121a')][_0x1cd3('0x125b')])[_0x1cd3('0x433')]()){case'set':_0x29c91f[_0x1cd3('0x121a')]['appdata']=_0x29c91f[_0x1cd3('0x121a')][_0x1cd3('0x98')]+'='+_0x29c91f[_0x1cd3('0x121a')][_0x1cd3('0x3db')];break;case _0x1cd3('0x8f6'):break;default:_0x1da7ef[0x0]=_0x29c91f[_0x1cd3('0x121a')]['priority'];_0x29c91f[_0x1cd3('0x121a')][_0x1cd3('0x127d')]=_0x1da7ef[_0x1cd3('0x3de')](',');}}_0x51f2b6(_0x29c91f[_0x1cd3('0x121a')]);}function _0x51f2b6(_0x1c375e){_0x30cab9[_0x1cd3('0x39d')](_0x1c375e);}}}());(function(){'use strict';_0x3d0460[_0x1cd3('0xc')]=['$state',_0x1cd3('0x3c5'),'$mdToast',_0x1cd3('0xcd4'),_0x1cd3('0x77e'),_0x1cd3('0xef9'),_0x1cd3('0x461'),_0x1cd3('0x370'),_0x1cd3('0x56'),'crudPermissions'];angular[_0x1cd3('0x0')](_0x1cd3('0x2d'))['controller'](_0x1cd3('0x272e'),_0x3d0460);function _0x3d0460(_0x114f27,_0x14d594,_0x957af1,_0x1a167f,_0x57b135,_0x36b2b7,_0x173ac7,_0x4d8663,_0x4a619a,_0x1aa07){var _0x30c679=this;_0x30c679['currentUser']=_0x4a619a[_0x1cd3('0x5d')]();_0x30c679[_0x1cd3('0xd34')]=[];_0x30c679[_0x1cd3('0x486')]=_0x1cd3('0x1292');_0x30c679[_0x1cd3('0x77e')]=angular['copy'](_0x57b135);_0x30c679[_0x1cd3('0xef9')]=_0x36b2b7;_0x30c679[_0x1cd3('0x1293')]=![];_0x30c679[_0x1cd3('0x1294')]=[_0x1cd3('0x1213'),'custom',_0x1cd3('0x9d5')];_0x30c679[_0x1cd3('0xd27')]=_0x1aa07;_0x30c679[_0x1cd3('0x1295')]=_0x1a167f[_0x1cd3('0x1908')]();_0x30c679[_0x1cd3('0x1909')]=_0x1a167f[_0x1cd3('0x1296')]();_0x30c679[_0x1cd3('0x190a')]=_0x1a167f[_0x1cd3('0x1297')]();_0x30c679['daysOfMonth']=_0x1a167f[_0x1cd3('0x1c6f')]();if(!_0x30c679[_0x1cd3('0x77e')]){_0x30c679[_0x1cd3('0x77e')]={'interval':_0x1cd3('0x1216')};_0x30c679[_0x1cd3('0x424')]=_0x1cd3('0x1213');_0x30c679[_0x1cd3('0x486')]=_0x1cd3('0x1c70');_0x30c679['newInterval']=!![];}else{if(_0x30c679[_0x1cd3('0x77e')][_0x1cd3('0x77e')]!==_0x1cd3('0x1216')){_0x30c679[_0x1cd3('0x424')]=_0x1cd3('0x8f6');var _0x32a40b=_0x30c679['interval']['interval']['split'](',');var _0x48c294=_0x32a40b[0x0];var _0x339b00=_0x32a40b[0x1];var _0x5cb05f=_0x32a40b[0x2];var _0x415cf0=_0x32a40b[0x3];if(_0x48c294!=='*'){var _0x57ecb1=_0x48c294[_0x1cd3('0x3ef')]('-')[0x0];var _0x58a4d7=_0x48c294[_0x1cd3('0x3ef')]('-')[0x1];var _0x2c0a17;_0x2c0a17=new Date();_0x2c0a17['setHours'](Number(_0x57ecb1['split'](':')[0x0]));_0x2c0a17[_0x1cd3('0x1299')](Number(_0x57ecb1[_0x1cd3('0x3ef')](':')[0x1]));_0x30c679[_0x1cd3('0x12a5')]=_0x2c0a17;_0x2c0a17=new Date();_0x2c0a17[_0x1cd3('0x129a')](Number(_0x58a4d7[_0x1cd3('0x3ef')](':')[0x0]));_0x2c0a17[_0x1cd3('0x1299')](Number(_0x58a4d7[_0x1cd3('0x3ef')](':')[0x1]));_0x30c679[_0x1cd3('0x129b')]=_0x2c0a17;}if(_0x339b00!=='*'){_0x30c679[_0x1cd3('0x129c')]=_0x339b00[_0x1cd3('0x3ef')]('-')[0x0];_0x30c679[_0x1cd3('0x12a8')]=_0x339b00[_0x1cd3('0x3ef')]('-')[0x1];}if(_0x5cb05f!=='*'){_0x30c679[_0x1cd3('0x129d')]=_0x5cb05f['split']('-')[0x0];_0x30c679[_0x1cd3('0x129e')]=_0x5cb05f[_0x1cd3('0x3ef')]('-')[0x1];}if(_0x415cf0!=='*'){_0x30c679['monthFrom']=_0x415cf0['split']('-')[0x0];_0x30c679[_0x1cd3('0x12a0')]=_0x415cf0[_0x1cd3('0x3ef')]('-')[0x1];}}else{_0x30c679[_0x1cd3('0x424')]='always';}}if(_0x114f27[_0x1cd3('0x36a')]['id']&&!_0x30c679['interval'][_0x1cd3('0x12a1')]){_0x30c679[_0x1cd3('0x77e')]['IntervalId']=_0x114f27[_0x1cd3('0x36a')]['id'];}if(_0x30c679['interval'][_0x1cd3('0xf4b')]&&_0x30c679[_0x1cd3('0x77e')][_0x1cd3('0x12a1')]){_0x30c679[_0x1cd3('0x424')]=_0x1cd3('0x9d5');}_0x30c679[_0x1cd3('0x12a2')]=_0x26bac1;_0x30c679['saveInterval']=_0x564d82;_0x30c679['closeDialog']=_0x506c3f;if(_0x30c679[_0x1cd3('0x77e')]['application']){_0x4a619a[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x4d8663[_0x1cd3('0x77e')][_0x1cd3('0x361')]({'fields':_0x1cd3('0x12a3'),'IntervalId':_0x1cd3('0x220'),'nolimit':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0xf4d349){_0x30c679['intervals']=_0xf4d349[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0xc297e7){_0x173ac7[_0x1cd3('0x434')]({'title':_0xc297e7[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0xc297e7[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0xc297e7[_0x1cd3('0xd35')]:_0x1cd3('0x12a4'),'msg':_0xc297e7[_0x1cd3('0x439')]?JSON['stringify'](_0xc297e7[_0x1cd3('0x439')]):_0xc297e7[_0x1cd3('0x43b')]()});}):_0x4d8663[_0x1cd3('0x77e')]['get']({'fields':_0x1cd3('0x12a3'),'IntervalId':_0x1cd3('0x220'),'nolimit':!![]})['$promise'][_0x1cd3('0x77')](function(_0x732528){_0x30c679[_0x1cd3('0xef9')]=_0x732528[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x4d8663[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x30c679['currentUser'][_0x1cd3('0x5e')],'sectionId':0x3ec})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x5dbf28){var _0x58344e=_0x5dbf28&&_0x5dbf28[_0x1cd3('0xf6')]?_0x5dbf28[_0x1cd3('0xf6')][0x0]:null;if(!_0x58344e){_0x30c679[_0x1cd3('0xef9')]=[];}else{if(!_0x58344e['autoAssociation']){return _0x4d8663[_0x1cd3('0x392')]['get']({'sectionId':_0x58344e['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x3ea95e){var _0x137851=_0x3ea95e&&_0x3ea95e[_0x1cd3('0xf6')]?_0x3ea95e[_0x1cd3('0xf6')]:[];var _0xf4e4ae=[];var _0x505cf1=null;if(_0x30c679[_0x1cd3('0x77e')]){_0x505cf1=_[_0x1cd3('0x442')](_0x30c679['intervals'],{'name':_0x30c679[_0x1cd3('0x77e')][_0x1cd3('0xf4b')]});}if(_0x505cf1&&!_[_0x1cd3('0x38d')](_0x137851,[_0x1cd3('0xe8e'),_0x505cf1['id']])){_0x30c679[_0x1cd3('0xef9')][_0x1cd3('0x394')](function(_0x3d6406){if(_0x3d6406['id']===_0x505cf1['id']){_0x3d6406[_0x1cd3('0xf4a')]=![];_0xf4e4ae[_0x1cd3('0x7b')](_0x3d6406);}});}_0x30c679['intervals']=_0xf4e4ae;});}}})[_0x1cd3('0xfd')](function(_0x22dc30){_0x173ac7[_0x1cd3('0x434')]({'title':_0x22dc30['status']?'API:'+_0x22dc30[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x22dc30[_0x1cd3('0xd35')]:_0x1cd3('0x12a4'),'msg':_0x22dc30[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x22dc30[_0x1cd3('0x439')]):_0x22dc30[_0x1cd3('0x43b')]()});});}function _0x8b86a1(){switch(_0x30c679['type']){case _0x1cd3('0x1213'):case _0x1cd3('0x9d5'):return _0x1cd3('0x1216');case _0x1cd3('0x8f6'):var _0x9f6a36=[];if(_0x30c679[_0x1cd3('0x12a5')]!=='*'&&_0x30c679['timeRangeFrom']&&_0x30c679['timeRangeTo']){var _0x4d3551=(_0x30c679[_0x1cd3('0x12a5')][_0x1cd3('0x12a6')]()<0xa?'0':'')+_0x30c679[_0x1cd3('0x12a5')][_0x1cd3('0x12a6')]()+':'+((_0x30c679[_0x1cd3('0x12a5')]['getMinutes']()<0xa?'0':'')+_0x30c679[_0x1cd3('0x12a5')][_0x1cd3('0x12a7')]());var _0x5bf791=(_0x30c679[_0x1cd3('0x129b')]['getHours']()<0xa?'0':'')+_0x30c679[_0x1cd3('0x129b')][_0x1cd3('0x12a6')]()+':'+((_0x30c679[_0x1cd3('0x129b')][_0x1cd3('0x12a7')]()<0xa?'0':'')+_0x30c679[_0x1cd3('0x129b')][_0x1cd3('0x12a7')]());_0x9f6a36[_0x1cd3('0x7b')](_0x4d3551+'-'+_0x5bf791);}else{_0x9f6a36[_0x1cd3('0x7b')]('*');}if(_0x30c679['dayOfWeekFrom']){if(_0x30c679['dayOfWeekTo']){_0x9f6a36[_0x1cd3('0x7b')](_0x30c679[_0x1cd3('0x129c')]+'-'+_0x30c679['dayOfWeekTo']);}else{_0x9f6a36['push'](_0x30c679[_0x1cd3('0x129c')]);}}else{_0x9f6a36[_0x1cd3('0x7b')]('*');}if(_0x30c679[_0x1cd3('0x129d')]){if(_0x30c679['monthDayTo']){_0x9f6a36[_0x1cd3('0x7b')](_0x30c679[_0x1cd3('0x129d')]+'-'+_0x30c679[_0x1cd3('0x129e')]);}else{_0x9f6a36[_0x1cd3('0x7b')](_0x30c679[_0x1cd3('0x129d')]);}}else{_0x9f6a36[_0x1cd3('0x7b')]('*');}if(_0x30c679['monthFrom']){if(_0x30c679['monthTo']){_0x9f6a36[_0x1cd3('0x7b')](_0x30c679['monthFrom']+'-'+_0x30c679['monthTo']);}else{_0x9f6a36[_0x1cd3('0x7b')](_0x30c679['monthFrom']);}}else{_0x9f6a36[_0x1cd3('0x7b')]('*');}return _0x9f6a36[_0x1cd3('0x3de')]();}}function _0x26bac1(){_0x30c679['errors']=[];_0x30c679[_0x1cd3('0x77e')][_0x1cd3('0x77e')]=_0x8b86a1();_0x4d8663[_0x1cd3('0x77e')][_0x1cd3('0xd6d')](_0x30c679[_0x1cd3('0x77e')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x52b87d){_0x30c679[_0x1cd3('0xef9')][_0x1cd3('0x7b')](_0x52b87d);_0x173ac7[_0x1cd3('0x473')]({'title':_0x1cd3('0x12a9'),'msg':_0x30c679[_0x1cd3('0x77e')]['name']?_0x30c679['interval']['name']+_0x1cd3('0xd33'):''});_0x506c3f();})[_0x1cd3('0xfd')](function(_0x18bfc0){console[_0x1cd3('0x434')](_0x18bfc0);_0x30c679[_0x1cd3('0xd34')]=_0x18bfc0[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x18bfc0[_0x1cd3('0x43b')](),'type':_0x1cd3('0x12aa')}];});}function _0x564d82(){_0x30c679['errors']=[];_0x30c679[_0x1cd3('0x77e')][_0x1cd3('0x77e')]=_0x8b86a1();if(_0x30c679['interval'][_0x1cd3('0x12a1')]){_0x30c679[_0x1cd3('0x424')]!==_0x1cd3('0x9d5')&&(_0x30c679[_0x1cd3('0x77e')]['IntervalId']=null);_0x506c3f(_0x30c679[_0x1cd3('0x77e')]);}else{_0x4d8663[_0x1cd3('0x77e')]['update']({'id':_0x30c679[_0x1cd3('0x77e')]['id']},_0x30c679[_0x1cd3('0x77e')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x558fbe){var _0x2206bb=_[_0x1cd3('0x442')](_0x30c679[_0x1cd3('0xef9')],{'id':_0x558fbe['id']});if(_0x2206bb){_[_0x1cd3('0xf2')](_0x2206bb,_0x558fbe);}_0x173ac7['success']({'title':_0x1cd3('0x12ab'),'msg':_0x1cd3('0x12ac')});_0x506c3f();})[_0x1cd3('0xfd')](function(_0x139700){console[_0x1cd3('0x434')](_0x139700);_0x30c679[_0x1cd3('0xd34')]=_0x139700[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x139700[_0x1cd3('0x43b')](),'type':_0x1cd3('0x12ad')}];});}}function _0x506c3f(_0x20f760){_0x14d594[_0x1cd3('0x39d')](_0x20f760);}}}());(function(){'use strict';_0x22a32d['$inject']=[_0x1cd3('0x3c5'),'$q',_0x1cd3('0x461'),_0x1cd3('0x2734'),'whatsappAccount',_0x1cd3('0x370'),_0x1cd3('0x56'),'crudPermissions'];angular['module']('app.whatsapp')[_0x1cd3('0x39b')](_0x1cd3('0x273c'),_0x22a32d);function _0x22a32d(_0xf25251,_0x1749bb,_0x207d38,_0x14ac1d,_0x10f803,_0x1329f9,_0x144318,_0x1c5275){var _0x397202=this;_0x397202['currentUser']=_0x144318['getCurrentUser']();_0x397202[_0x1cd3('0xd34')]=[];_0x397202[_0x1cd3('0x486')]=_0x1cd3('0x2737')+(_0x14ac1d[_0x1cd3('0x125b')]||_0x14ac1d[_0x1cd3('0xd0a')])[_0x1cd3('0x437')]();_0x397202[_0x1cd3('0x3a9')]=angular['copy'](_0x14ac1d);_0x397202['crudPermissions']=_0x1c5275;_0x397202[_0x1cd3('0xd28')]={};if(_0x397202[_0x1cd3('0x3a9')]['appdata']){switch(_0x397202[_0x1cd3('0x3a9')]['appType']?_0x397202['noop']['appType'][_0x1cd3('0x433')]():_0x397202['noop']['app'][_0x1cd3('0x433')]()){case _0x1cd3('0x8f6'):break;case'dialogflow':var _0x27bb26=_0x397202[_0x1cd3('0x3a9')]['appdata']['split'](',');_0x397202[_0x1cd3('0x3a9')][_0x1cd3('0x65c')]=_0x27bb26[0x0];_0x397202['noop'][_0x1cd3('0x3f3')]=_0x27bb26[0x1];_0x397202['noop'][_0x1cd3('0x1246')]=_0x27bb26[_0x1cd3('0x9a2')](0x2,_0x27bb26[_0x1cd3('0x7a')])['join'](',');break;case _0x1cd3('0x1247'):var _0x27bb26=_0x397202[_0x1cd3('0x3a9')]['appdata'][_0x1cd3('0x3ef')](',');_0x397202['noop'][_0x1cd3('0x1248')]=_0x27bb26[0x0];_0x397202[_0x1cd3('0x3a9')]['secretaccesskey']=_0x27bb26[0x1];_0x397202[_0x1cd3('0x3a9')]['lexregion']=_0x27bb26[0x2];_0x397202[_0x1cd3('0x3a9')][_0x1cd3('0x124f')]=_0x27bb26[0x3];_0x397202['noop'][_0x1cd3('0x1246')]=_0x27bb26[_0x1cd3('0x9a2')](0x4,_0x27bb26[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x122b'):var _0x27bb26=_0x397202[_0x1cd3('0x3a9')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x397202['noop'][_0x1cd3('0x122c')]=isNaN(_0x27bb26[0x0])?_0x27bb26[0x0]:parseInt(_0x27bb26[0x0],0xa);_0x397202[_0x1cd3('0x3a9')][_0x1cd3('0x401')]=_0x27bb26['slice'](0x1,_0x27bb26[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x43a'):_0x397202[_0x1cd3('0x3a9')][_0x1cd3('0x401')]=_0x397202['noop'][_0x1cd3('0x127d')];break;case _0x1cd3('0x127e'):_0x397202[_0x1cd3('0x3a9')]['name']=_0x397202[_0x1cd3('0x3a9')]['appdata']['split']('=')[0x0];_0x397202[_0x1cd3('0x3a9')][_0x1cd3('0x3db')]=_0x397202[_0x1cd3('0x3a9')][_0x1cd3('0x127d')]['split']('=')[0x1];break;case _0x1cd3('0x128c'):_0x397202[_0x1cd3('0x3a9')]['project']=_0x397202[_0x1cd3('0x3a9')][_0x1cd3('0x127d')];break;default:var _0x10177a=_0x397202[_0x1cd3('0x3a9')][_0x1cd3('0x127d')]['split'](',');_0x397202[_0x1cd3('0x3a9')]['value']=_['isEmpty'](_0x10177a[0x0])?_0x10177a[0x0]:isNaN(_0x10177a[0x0])?_0x10177a[0x0]:parseInt(_0x10177a[0x0],0xa);}}else{}if(_0x397202[_0x1cd3('0x3a9')][_0x1cd3('0x424')]&&_0x397202[_0x1cd3('0x3a9')][_0x1cd3('0x424')][_0x1cd3('0x433')]()==='outbound'&&_0x397202[_0x1cd3('0x3a9')][_0x1cd3('0x125b')][_0x1cd3('0x433')]()==='outbounddial'){_0x397202[_0x1cd3('0x3a9')]['prefix']=_0x397202[_0x1cd3('0x3a9')][_0x1cd3('0xf09')]?_0x397202[_0x1cd3('0x3a9')][_0x1cd3('0xf09')]['split']('$')[0x0]:undefined;_0x397202[_0x1cd3('0x3a9')][_0x1cd3('0x689')]=_0x397202[_0x1cd3('0x3a9')][_0x1cd3('0x127f')]?_0x1cd3('0x1280')+_0x397202[_0x1cd3('0x3a9')][_0x1cd3('0x127f')]:undefined;}_0x397202['saveWhatsappAccountApp']=_0x30acb4;_0x397202[_0x1cd3('0x39c')]=_0x1c1f60;function _0x30acb4(){_0x397202[_0x1cd3('0xd34')]=[];var _0x1fb85a=[];if(_0x397202['noop'][_0x1cd3('0x424')]&&_0x397202[_0x1cd3('0x3a9')]['type'][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x397202[_0x1cd3('0x3a9')][_0x1cd3('0x125b')]===_0x1cd3('0x1283')){_0x397202[_0x1cd3('0x3a9')][_0x1cd3('0xf09')]=_0x10f803['cutdigits']?(_0x397202[_0x1cd3('0x3a9')][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x1284')+_0x10f803['cutdigits']+'}':(_0x397202[_0x1cd3('0x3a9')][_0x1cd3('0x6aa')]||'')+'${EXTEN}';if(_0x10f803['recordingFormat']!==_0x1cd3('0x6ae')){if(_0x397202['noop'][_0x1cd3('0x422')][_0x1cd3('0x45e')](_0x1cd3('0x1286'))<0x0){_0x397202[_0x1cd3('0x3a9')][_0x1cd3('0x422')]+=_0x1cd3('0x1286');}}else{_0x397202[_0x1cd3('0x3a9')][_0x1cd3('0x422')]=_0x397202[_0x1cd3('0x3a9')]['options'][_0x1cd3('0x3f1')](_0x1cd3('0x1286'),'');}}if(_0x397202[_0x1cd3('0x3a9')][_0x1cd3('0x125b')]&&_0x397202[_0x1cd3('0x3a9')]['appType']===_0x1cd3('0x8f6')){}else{switch((_0x397202[_0x1cd3('0x3a9')]['app']||_0x397202['noop'][_0x1cd3('0x125b')])[_0x1cd3('0x433')]()){case _0x1cd3('0x127e'):_0x397202['noop'][_0x1cd3('0x127d')]=_0x397202[_0x1cd3('0x3a9')][_0x1cd3('0x98')]+'='+_0x397202[_0x1cd3('0x3a9')][_0x1cd3('0x3db')];break;case _0x1cd3('0x8f6'):break;default:_0x1fb85a[0x0]=_0x397202[_0x1cd3('0x3a9')][_0x1cd3('0x3db')];_0x397202[_0x1cd3('0x3a9')][_0x1cd3('0x127d')]=_0x1fb85a[_0x1cd3('0x3de')](',');}}_0x1c1f60(_0x397202['noop']);}function _0x1c1f60(_0x25dd00){_0xf25251[_0x1cd3('0x39d')](_0x25dd00);}}}());(function(){'use strict';_0x598cab[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),'$q',_0x1cd3('0x461'),_0x1cd3('0x2734'),'whatsappAccount',_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x3a'))[_0x1cd3('0x39b')]('EditWhatsappAccountAppqueueDialogController',_0x598cab);function _0x598cab(_0x24aa7b,_0x102bbe,_0x2a0618,_0x5b99fa,_0x14fd24,_0x8a8936,_0x4c2b64,_0x168208){var _0x47e066=this;_0x47e066[_0x1cd3('0x3ca')]=_0x4c2b64['getCurrentUser']();_0x47e066[_0x1cd3('0xd34')]=[];_0x47e066[_0x1cd3('0x486')]='WHATSAPP.EDIT_'+(_0x5b99fa[_0x1cd3('0x125b')]||_0x5b99fa[_0x1cd3('0xd0a')])[_0x1cd3('0x437')]();_0x47e066['queue']=angular[_0x1cd3('0x429')](_0x5b99fa);_0x47e066[_0x1cd3('0xd27')]=_0x168208;_0x47e066[_0x1cd3('0xd28')]={};if(_0x47e066[_0x1cd3('0x1220')][_0x1cd3('0x127d')]){switch(_0x47e066[_0x1cd3('0x1220')][_0x1cd3('0x125b')]?_0x47e066[_0x1cd3('0x1220')][_0x1cd3('0x125b')][_0x1cd3('0x433')]():_0x47e066[_0x1cd3('0x1220')][_0x1cd3('0xd0a')][_0x1cd3('0x433')]()){case _0x1cd3('0x8f6'):break;case _0x1cd3('0x1233'):var _0x456fd2=_0x47e066[_0x1cd3('0x1220')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x47e066[_0x1cd3('0x1220')][_0x1cd3('0x65c')]=_0x456fd2[0x0];_0x47e066[_0x1cd3('0x1220')][_0x1cd3('0x3f3')]=_0x456fd2[0x1];_0x47e066[_0x1cd3('0x1220')][_0x1cd3('0x1246')]=_0x456fd2[_0x1cd3('0x9a2')](0x2,_0x456fd2[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x1247'):var _0x456fd2=_0x47e066[_0x1cd3('0x1220')][_0x1cd3('0x127d')]['split'](',');_0x47e066[_0x1cd3('0x1220')][_0x1cd3('0x1248')]=_0x456fd2[0x0];_0x47e066[_0x1cd3('0x1220')][_0x1cd3('0x1249')]=_0x456fd2[0x1];_0x47e066['queue'][_0x1cd3('0x124a')]=_0x456fd2[0x2];_0x47e066[_0x1cd3('0x1220')][_0x1cd3('0x124f')]=_0x456fd2[0x3];_0x47e066['queue'][_0x1cd3('0x1246')]=_0x456fd2[_0x1cd3('0x9a2')](0x4,_0x456fd2['length'])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x122b'):var _0x456fd2=_0x47e066['queue'][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x47e066[_0x1cd3('0x1220')][_0x1cd3('0x122c')]=isNaN(_0x456fd2[0x0])?_0x456fd2[0x0]:parseInt(_0x456fd2[0x0],0xa);_0x47e066[_0x1cd3('0x1220')]['text']=_0x456fd2[_0x1cd3('0x9a2')](0x1,_0x456fd2[_0x1cd3('0x7a')])['join'](',');break;case _0x1cd3('0x43a'):_0x47e066[_0x1cd3('0x1220')][_0x1cd3('0x401')]=_0x47e066['queue'][_0x1cd3('0x127d')];break;case _0x1cd3('0x127e'):_0x47e066['queue'][_0x1cd3('0x98')]=_0x47e066[_0x1cd3('0x1220')]['appdata']['split']('=')[0x0];_0x47e066['queue'][_0x1cd3('0x3db')]=_0x47e066[_0x1cd3('0x1220')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x1];break;case _0x1cd3('0x128c'):_0x47e066[_0x1cd3('0x1220')][_0x1cd3('0xedd')]=_0x47e066['queue']['appdata'];break;default:var _0x1a3fe6=_0x47e066[_0x1cd3('0x1220')]['appdata'][_0x1cd3('0x3ef')](',');_0x47e066[_0x1cd3('0x1220')][_0x1cd3('0x1220')]=_[_0x1cd3('0x398')](_0x1a3fe6[0x0])?_0x1a3fe6[0x0]:isNaN(_0x1a3fe6[0x0])?_0x1a3fe6[0x0]:parseInt(_0x1a3fe6[0x0],0xa);_0x47e066[_0x1cd3('0x1220')][_0x1cd3('0x8fc')]=_['isEmpty'](_0x1a3fe6[0x1])?_0x1a3fe6[0x1]:isNaN(_0x1a3fe6[0x1])?_0x1a3fe6[0x1]:parseInt(_0x1a3fe6[0x1],0xa);}}else{_0x47e066['queue'][_0x1cd3('0x1220')]=0x12c;_0x47e066[_0x1cd3('0x1220')][_0x1cd3('0x8fc')]=0x12c;}if(_0x47e066['queue'][_0x1cd3('0x424')]&&_0x47e066[_0x1cd3('0x1220')][_0x1cd3('0x424')][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x47e066[_0x1cd3('0x1220')][_0x1cd3('0x125b')][_0x1cd3('0x433')]()==='outbounddial'){_0x47e066['queue'][_0x1cd3('0x6aa')]=_0x47e066[_0x1cd3('0x1220')][_0x1cd3('0xf09')]?_0x47e066[_0x1cd3('0x1220')][_0x1cd3('0xf09')]['split']('$')[0x0]:undefined;_0x47e066[_0x1cd3('0x1220')]['callerId']=_0x47e066['queue'][_0x1cd3('0x127f')]?'CALLERID(all)='+_0x47e066['queue'][_0x1cd3('0x127f')]:undefined;}_0x47e066[_0x1cd3('0x2735')]=_0x51f165;_0x47e066[_0x1cd3('0x39c')]=_0x253978;_0x4c2b64[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x8a8936[_0x1cd3('0xcbf')][_0x1cd3('0x361')]({'fields':_0x1cd3('0x1222'),'sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x275bb1){_0x47e066[_0x1cd3('0x1155')]=_0x275bb1[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x3c0954){_0x2a0618[_0x1cd3('0x434')]({'title':_0x3c0954['status']?_0x1cd3('0x435')+_0x3c0954[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x3c0954['statusText']:_0x1cd3('0x12af'),'msg':_0x3c0954[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x3c0954[_0x1cd3('0x439')]):_0x3c0954[_0x1cd3('0x43b')]()});}):_0x8a8936[_0x1cd3('0xcbf')]['get']({'fields':_0x1cd3('0x1222'),'sort':'name','nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x28ead9){_0x47e066[_0x1cd3('0x1155')]=_0x28ead9[_0x1cd3('0xf6')]||[];})['then'](function(){return _0x8a8936[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x47e066[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x836})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x4a162c){var _0x35e9e2=_0x4a162c&&_0x4a162c['rows']?_0x4a162c[_0x1cd3('0xf6')][0x0]:null;if(!_0x35e9e2){var _0x238d21=[];var _0x45f083=null;if(_0x47e066[_0x1cd3('0x1220')]){_0x45f083=_[_0x1cd3('0x442')](_0x47e066['queues'],{'name':_0x47e066['queue'][_0x1cd3('0x1220')]});}for(var _0xc5f1c8=0x0;_0xc5f1c8<_0x47e066[_0x1cd3('0x1155')][_0x1cd3('0x7a')];_0xc5f1c8++){if(_0x45f083&&_0x47e066[_0x1cd3('0x1155')][_0xc5f1c8]['id']===_0x45f083['id']){_0x47e066['queues'][_0xc5f1c8][_0x1cd3('0xf4a')]=![];_0x238d21[_0x1cd3('0x7b')](_0x47e066[_0x1cd3('0x1155')][_0xc5f1c8]);}}_0x47e066[_0x1cd3('0x1155')]=_0x238d21;}else{if(!_0x35e9e2[_0x1cd3('0x391')]){return _0x8a8936[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x35e9e2['id']})[_0x1cd3('0x81')]['then'](function(_0x1bde6e){var _0x3580f3=_[_0x1cd3('0x3d9')](_0x1bde6e[_0x1cd3('0xf6')],function(_0x341b06){return _[_0x1cd3('0x442')](_0x47e066[_0x1cd3('0x1155')],{'id':_0x341b06[_0x1cd3('0xe8e')]});});var _0x4dacf3=null;if(_0x47e066[_0x1cd3('0x1220')]){_0x4dacf3=_[_0x1cd3('0x442')](_0x47e066['queues'],{'name':_0x47e066[_0x1cd3('0x1220')][_0x1cd3('0x1220')]});}if(_0x4dacf3&&!_[_0x1cd3('0x38d')](_0x3580f3,['id',_0x4dacf3['id']])){var _0x343855=_[_0x1cd3('0x442')](_0x47e066[_0x1cd3('0x1155')],{'id':_0x4dacf3['id']});_0x343855[_0x1cd3('0xf4a')]=![];_0x3580f3['push'](_0x343855);}_0x47e066['queues']=_0x3580f3;});}}})[_0x1cd3('0xfd')](function(_0x19318a){_0x2a0618[_0x1cd3('0x434')]({'title':_0x19318a['status']?_0x1cd3('0x435')+_0x19318a[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x19318a[_0x1cd3('0xd35')]:_0x1cd3('0x12b0'),'msg':_0x19318a[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x19318a[_0x1cd3('0x439')]):_0x19318a[_0x1cd3('0x43b')]()});});function _0x51f165(){_0x47e066[_0x1cd3('0xd34')]=[];var _0x5999bd=[];if(_0x47e066[_0x1cd3('0x1220')][_0x1cd3('0x424')]&&_0x47e066[_0x1cd3('0x1220')][_0x1cd3('0x424')][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x47e066[_0x1cd3('0x1220')][_0x1cd3('0x125b')]===_0x1cd3('0x1283')){_0x47e066[_0x1cd3('0x1220')][_0x1cd3('0xf09')]=_0x14fd24[_0x1cd3('0x128a')]?(_0x47e066[_0x1cd3('0x1220')][_0x1cd3('0x6aa')]||'')+'${EXTEN:'+_0x14fd24[_0x1cd3('0x128a')]+'}':(_0x47e066[_0x1cd3('0x1220')][_0x1cd3('0x6aa')]||'')+'${EXTEN}';if(_0x14fd24[_0x1cd3('0x1285')]!==_0x1cd3('0x6ae')){if(_0x47e066[_0x1cd3('0x1220')][_0x1cd3('0x422')][_0x1cd3('0x45e')](_0x1cd3('0x1286'))<0x0){_0x47e066[_0x1cd3('0x1220')][_0x1cd3('0x422')]+='U(xcally-mixmonitor-context)';}}else{_0x47e066[_0x1cd3('0x1220')][_0x1cd3('0x422')]=_0x47e066[_0x1cd3('0x1220')]['options'][_0x1cd3('0x3f1')](_0x1cd3('0x1286'),'');}}var _0x2b96a6=_[_0x1cd3('0x442')](_0x47e066[_0x1cd3('0x1155')],{'name':_0x47e066['queue'][_0x1cd3('0x1220')]});if(_0x2b96a6){_0x47e066[_0x1cd3('0x1220')][_[_0x1cd3('0x12b1')](_0x1cd3('0x34a'))+_0x1cd3('0x190e')]=_0x2b96a6['id'];}if(_0x47e066[_0x1cd3('0x1220')][_0x1cd3('0x125b')]&&_0x47e066[_0x1cd3('0x1220')][_0x1cd3('0x125b')]===_0x1cd3('0x8f6')){}else{switch((_0x47e066[_0x1cd3('0x1220')][_0x1cd3('0xd0a')]||_0x47e066[_0x1cd3('0x1220')]['appType'])[_0x1cd3('0x433')]()){case _0x1cd3('0x127e'):_0x47e066[_0x1cd3('0x1220')][_0x1cd3('0x127d')]=_0x47e066['queue'][_0x1cd3('0x98')]+'='+_0x47e066[_0x1cd3('0x1220')][_0x1cd3('0x3db')];break;case _0x1cd3('0x8f6'):break;default:_0x5999bd[0x0]=_0x47e066[_0x1cd3('0x1220')][_0x1cd3('0x1220')];_0x5999bd[0x1]=_0x47e066[_0x1cd3('0x1220')][_0x1cd3('0x8fc')];_0x47e066[_0x1cd3('0x1220')]['appdata']=_0x5999bd['join'](',');}}_0x253978(_0x47e066[_0x1cd3('0x1220')]);}function _0x253978(_0x557654){_0x24aa7b[_0x1cd3('0x39d')](_0x557654);}}}());(function(){'use strict';_0x48c989['$inject']=[_0x1cd3('0x3c5'),'$q',_0x1cd3('0x461'),_0x1cd3('0x2734'),_0x1cd3('0xca3'),'api','Auth',_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x3a'))[_0x1cd3('0x39b')](_0x1cd3('0x273d'),_0x48c989);function _0x48c989(_0x2f81eb,_0x94b075,_0x1a1f70,_0x4cb90e,_0x365d62,_0x22436e,_0x540e4d,_0x2633fd){var _0x374792=this;_0x374792['currentUser']=_0x540e4d[_0x1cd3('0x5d')]();_0x374792[_0x1cd3('0xd34')]=[];_0x374792[_0x1cd3('0x486')]=_0x1cd3('0x2737')+(_0x4cb90e[_0x1cd3('0x125b')]||_0x4cb90e[_0x1cd3('0xd0a')])[_0x1cd3('0x437')]();_0x374792[_0x1cd3('0xa13')]=angular[_0x1cd3('0x429')](_0x4cb90e);_0x374792[_0x1cd3('0xd27')]=_0x2633fd;_0x374792[_0x1cd3('0xd28')]={};if(_0x374792[_0x1cd3('0xa13')][_0x1cd3('0x127d')]){switch(_0x374792[_0x1cd3('0xa13')]['appType']?_0x374792[_0x1cd3('0xa13')][_0x1cd3('0x125b')][_0x1cd3('0x433')]():_0x374792[_0x1cd3('0xa13')]['app'][_0x1cd3('0x433')]()){case _0x1cd3('0x8f6'):break;case _0x1cd3('0x1233'):var _0x4edd96=_0x374792[_0x1cd3('0xa13')]['appdata'][_0x1cd3('0x3ef')](',');_0x374792['system'][_0x1cd3('0x65c')]=_0x4edd96[0x0];_0x374792[_0x1cd3('0xa13')][_0x1cd3('0x3f3')]=_0x4edd96[0x1];_0x374792['system'][_0x1cd3('0x1246')]=_0x4edd96['slice'](0x2,_0x4edd96[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x1247'):var _0x4edd96=_0x374792[_0x1cd3('0xa13')]['appdata'][_0x1cd3('0x3ef')](',');_0x374792['system'][_0x1cd3('0x1248')]=_0x4edd96[0x0];_0x374792['system']['secretaccesskey']=_0x4edd96[0x1];_0x374792[_0x1cd3('0xa13')][_0x1cd3('0x124a')]=_0x4edd96[0x2];_0x374792[_0x1cd3('0xa13')][_0x1cd3('0x124f')]=_0x4edd96[0x3];_0x374792['system'][_0x1cd3('0x1246')]=_0x4edd96[_0x1cd3('0x9a2')](0x4,_0x4edd96['length'])[_0x1cd3('0x3de')](',');break;case'autoreply':var _0x4edd96=_0x374792[_0x1cd3('0xa13')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x374792[_0x1cd3('0xa13')][_0x1cd3('0x122c')]=isNaN(_0x4edd96[0x0])?_0x4edd96[0x0]:parseInt(_0x4edd96[0x0],0xa);_0x374792[_0x1cd3('0xa13')][_0x1cd3('0x401')]=_0x4edd96[_0x1cd3('0x9a2')](0x1,_0x4edd96['length'])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x43a'):_0x374792['system']['text']=_0x374792[_0x1cd3('0xa13')][_0x1cd3('0x127d')];break;case _0x1cd3('0x127e'):_0x374792[_0x1cd3('0xa13')]['name']=_0x374792[_0x1cd3('0xa13')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x0];_0x374792[_0x1cd3('0xa13')][_0x1cd3('0x3db')]=_0x374792['system'][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x1];break;case'agi':_0x374792[_0x1cd3('0xa13')]['project']=_0x374792[_0x1cd3('0xa13')]['appdata'];break;default:var _0x34577f=_0x374792['system']['appdata'][_0x1cd3('0x3ef')](',');_0x374792[_0x1cd3('0xa13')][_0x1cd3('0xf0d')]=_[_0x1cd3('0x398')](_0x34577f[0x0])?_0x34577f[0x0]:isNaN(_0x34577f[0x0])?_0x34577f[0x0]:parseInt(_0x34577f[0x0],0xa);_0x374792[_0x1cd3('0xa13')][_0x1cd3('0xb84')]=_['isEmpty'](_0x34577f[0x1])?_0x34577f[0x1]:isNaN(_0x34577f[0x1])?_0x34577f[0x1]:parseInt(_0x34577f[0x1],0xa);}}else{_0x374792[_0x1cd3('0xa13')][_0x1cd3('0xb84')]='';}if(_0x374792[_0x1cd3('0xa13')]['type']&&_0x374792[_0x1cd3('0xa13')]['type']['toLowerCase']()===_0x1cd3('0x128')&&_0x374792['system'][_0x1cd3('0x125b')][_0x1cd3('0x433')]()===_0x1cd3('0x1289')){_0x374792['system']['prefix']=_0x374792['system'][_0x1cd3('0xf09')]?_0x374792[_0x1cd3('0xa13')][_0x1cd3('0xf09')][_0x1cd3('0x3ef')]('$')[0x0]:undefined;_0x374792[_0x1cd3('0xa13')]['callerId']=_0x374792['system']['callerID']?_0x1cd3('0x1280')+_0x374792[_0x1cd3('0xa13')][_0x1cd3('0x127f')]:undefined;}_0x374792['saveWhatsappAccountApp']=_0x50ff90;_0x374792[_0x1cd3('0x39c')]=_0xc5ea89;_0x540e4d[_0x1cd3('0x57')]('admin')?_0x22436e[_0x1cd3('0xb84')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'nolimit':'true'})['$promise'][_0x1cd3('0x77')](function(_0x968bb2){_0x374792[_0x1cd3('0xef7')]=_0x968bb2[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x37caed){_0x1a1f70[_0x1cd3('0x434')]({'title':_0x37caed[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x37caed[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x37caed['statusText']:'SYSTEM:GET_VARIABLES','msg':_0x37caed[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x37caed['data']):_0x37caed[_0x1cd3('0x43b')]()});}):_0x22436e[_0x1cd3('0xb84')]['get']({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98'),'nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x943ab0){_0x374792[_0x1cd3('0xef7')]=_0x943ab0['rows']||[];})[_0x1cd3('0x77')](function(){return _0x22436e[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x374792[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x3f4})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x3a3f9f){var _0x4b818d=_0x3a3f9f&&_0x3a3f9f['rows']?_0x3a3f9f[_0x1cd3('0xf6')][0x0]:null;if(!_0x4b818d){var _0x17f2fb=[];var _0x16daad=null;if(_0x374792[_0x1cd3('0xa13')]){_0x16daad=_['find'](_0x374792['variables'],{'name':_0x374792[_0x1cd3('0xa13')][_0x1cd3('0xb84')]});}for(var _0x12d38c=0x0;_0x12d38c<_0x374792['variables']['length'];_0x12d38c++){if(_0x16daad&&_0x374792['variables'][_0x12d38c]['id']===_0x16daad['id']){_0x374792[_0x1cd3('0xef7')][_0x12d38c][_0x1cd3('0xf4a')]=![];_0x17f2fb['push'](_0x374792[_0x1cd3('0xef7')][_0x12d38c]);}}_0x374792['variables']=_0x17f2fb;}else{if(!_0x4b818d[_0x1cd3('0x391')]){return _0x22436e[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x4b818d['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x848a6c){var _0x425819=_[_0x1cd3('0x3d9')](_0x848a6c[_0x1cd3('0xf6')],function(_0x1ccc37){return _['find'](_0x374792[_0x1cd3('0xef7')],{'id':_0x1ccc37[_0x1cd3('0xe8e')]});});var _0x5292d6=null;if(_0x374792[_0x1cd3('0xa13')]){_0x5292d6=_[_0x1cd3('0x442')](_0x374792[_0x1cd3('0xef7')],{'name':_0x374792['system']['variable']});}if(_0x5292d6&&!_[_0x1cd3('0x38d')](_0x425819,['id',_0x5292d6['id']])){var _0x1d4b9c=_[_0x1cd3('0x442')](_0x374792[_0x1cd3('0xef7')],{'id':_0x5292d6['id']});_0x1d4b9c[_0x1cd3('0xf4a')]=![];_0x425819[_0x1cd3('0x7b')](_0x1d4b9c);}_0x374792[_0x1cd3('0xef7')]=_0x425819;});}}})[_0x1cd3('0xfd')](function(_0x516eb4){_0x1a1f70[_0x1cd3('0x434')]({'title':_0x516eb4[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x516eb4['status']+_0x1cd3('0x436')+_0x516eb4[_0x1cd3('0xd35')]:_0x1cd3('0x1c74'),'msg':_0x516eb4[_0x1cd3('0x439')]?JSON['stringify'](_0x516eb4['data']):_0x516eb4['toString']()});});function _0x50ff90(){_0x374792[_0x1cd3('0xd34')]=[];var _0x1938a2=[];if(_0x374792[_0x1cd3('0xa13')]['type']&&_0x374792[_0x1cd3('0xa13')][_0x1cd3('0x424')][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x374792[_0x1cd3('0xa13')][_0x1cd3('0x125b')]===_0x1cd3('0x1283')){_0x374792[_0x1cd3('0xa13')][_0x1cd3('0xf09')]=_0x365d62['cutdigits']?(_0x374792[_0x1cd3('0xa13')]['prefix']||'')+_0x1cd3('0x1284')+_0x365d62[_0x1cd3('0x128a')]+'}':(_0x374792[_0x1cd3('0xa13')]['prefix']||'')+_0x1cd3('0x128d');if(_0x365d62[_0x1cd3('0x1285')]!==_0x1cd3('0x6ae')){if(_0x374792[_0x1cd3('0xa13')][_0x1cd3('0x422')][_0x1cd3('0x45e')](_0x1cd3('0x1286'))<0x0){_0x374792[_0x1cd3('0xa13')]['options']+='U(xcally-mixmonitor-context)';}}else{_0x374792['system'][_0x1cd3('0x422')]=_0x374792['system']['options']['replace']('U(xcally-mixmonitor-context)','');}}if(_0x374792[_0x1cd3('0xa13')][_0x1cd3('0x125b')]&&_0x374792[_0x1cd3('0xa13')][_0x1cd3('0x125b')]==='custom'){}else{switch((_0x374792[_0x1cd3('0xa13')][_0x1cd3('0xd0a')]||_0x374792[_0x1cd3('0xa13')][_0x1cd3('0x125b')])['toLowerCase']()){case _0x1cd3('0x127e'):_0x374792['system'][_0x1cd3('0x127d')]=_0x374792[_0x1cd3('0xa13')][_0x1cd3('0x98')]+'='+_0x374792[_0x1cd3('0xa13')][_0x1cd3('0x3db')];break;case _0x1cd3('0x8f6'):break;default:_0x1938a2[0x0]=_0x374792[_0x1cd3('0xa13')][_0x1cd3('0xf0d')];_0x1938a2[0x1]=_0x374792[_0x1cd3('0xa13')][_0x1cd3('0xb84')];_0x374792[_0x1cd3('0xa13')][_0x1cd3('0x127d')]=_0x1938a2[_0x1cd3('0x3de')](',');}}_0xc5ea89(_0x374792[_0x1cd3('0xa13')]);}function _0xc5ea89(_0x47f251){_0x2f81eb[_0x1cd3('0x39d')](_0x47f251);}}}());(function(){'use strict';_0x1b0745[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),'$q',_0x1cd3('0x461'),_0x1cd3('0x2734'),_0x1cd3('0xca3'),_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0xd27')];angular[_0x1cd3('0x0')](_0x1cd3('0x3a'))['controller'](_0x1cd3('0x273e'),_0x1b0745);function _0x1b0745(_0x239aa5,_0x5f121c,_0x49c24b,_0x57a2bc,_0x3bcf72,_0x147ba4,_0x16015f,_0x315f6b){var _0x3dcc56=this;_0x3dcc56[_0x1cd3('0x3ca')]=_0x16015f[_0x1cd3('0x5d')]();_0x3dcc56[_0x1cd3('0xd34')]=[];_0x3dcc56[_0x1cd3('0x486')]=_0x1cd3('0x2737')+(_0x57a2bc[_0x1cd3('0x125b')]||_0x57a2bc['app'])[_0x1cd3('0x437')]();_0x3dcc56[_0x1cd3('0xb76')]=angular['copy'](_0x57a2bc);_0x3dcc56['crudPermissions']=_0x315f6b;_0x3dcc56[_0x1cd3('0xd28')]={};if(_0x3dcc56['tag'][_0x1cd3('0x127d')]){switch(_0x3dcc56[_0x1cd3('0xb76')][_0x1cd3('0x125b')]?_0x3dcc56[_0x1cd3('0xb76')][_0x1cd3('0x125b')][_0x1cd3('0x433')]():_0x3dcc56[_0x1cd3('0xb76')][_0x1cd3('0xd0a')][_0x1cd3('0x433')]()){case _0x1cd3('0x8f6'):break;case _0x1cd3('0x1233'):var _0x6ffc77=_0x3dcc56[_0x1cd3('0xb76')][_0x1cd3('0x127d')][_0x1cd3('0x3ef')](',');_0x3dcc56[_0x1cd3('0xb76')][_0x1cd3('0x65c')]=_0x6ffc77[0x0];_0x3dcc56[_0x1cd3('0xb76')][_0x1cd3('0x3f3')]=_0x6ffc77[0x1];_0x3dcc56[_0x1cd3('0xb76')][_0x1cd3('0x1246')]=_0x6ffc77[_0x1cd3('0x9a2')](0x2,_0x6ffc77[_0x1cd3('0x7a')])[_0x1cd3('0x3de')](',');break;case _0x1cd3('0x1247'):var _0x6ffc77=_0x3dcc56[_0x1cd3('0xb76')]['appdata'][_0x1cd3('0x3ef')](',');_0x3dcc56['tag'][_0x1cd3('0x1248')]=_0x6ffc77[0x0];_0x3dcc56[_0x1cd3('0xb76')]['secretaccesskey']=_0x6ffc77[0x1];_0x3dcc56[_0x1cd3('0xb76')]['lexregion']=_0x6ffc77[0x2];_0x3dcc56[_0x1cd3('0xb76')][_0x1cd3('0x124f')]=_0x6ffc77[0x3];_0x3dcc56[_0x1cd3('0xb76')][_0x1cd3('0x1246')]=_0x6ffc77['slice'](0x4,_0x6ffc77[_0x1cd3('0x7a')])['join'](',');break;case'autoreply':var _0x6ffc77=_0x3dcc56[_0x1cd3('0xb76')][_0x1cd3('0x127d')]['split'](',');_0x3dcc56['tag'][_0x1cd3('0x122c')]=isNaN(_0x6ffc77[0x0])?_0x6ffc77[0x0]:parseInt(_0x6ffc77[0x0],0xa);_0x3dcc56['tag'][_0x1cd3('0x401')]=_0x6ffc77[_0x1cd3('0x9a2')](0x1,_0x6ffc77[_0x1cd3('0x7a')])['join'](',');break;case _0x1cd3('0x43a'):_0x3dcc56[_0x1cd3('0xb76')]['text']=_0x3dcc56[_0x1cd3('0xb76')][_0x1cd3('0x127d')];break;case _0x1cd3('0x127e'):_0x3dcc56[_0x1cd3('0xb76')][_0x1cd3('0x98')]=_0x3dcc56[_0x1cd3('0xb76')][_0x1cd3('0x127d')]['split']('=')[0x0];_0x3dcc56['tag'][_0x1cd3('0x3db')]=_0x3dcc56['tag'][_0x1cd3('0x127d')][_0x1cd3('0x3ef')]('=')[0x1];break;case _0x1cd3('0x128c'):_0x3dcc56[_0x1cd3('0xb76')][_0x1cd3('0xedd')]=_0x3dcc56[_0x1cd3('0xb76')][_0x1cd3('0x127d')];break;default:var _0x160e79=_0x3dcc56[_0x1cd3('0xb76')]['appdata'][_0x1cd3('0x3ef')](',');_0x3dcc56[_0x1cd3('0xb76')][_0x1cd3('0xb76')]=_[_0x1cd3('0x398')](_0x160e79[0x0])?_0x160e79[0x0]:isNaN(_0x160e79[0x0])?_0x160e79[0x0]:parseInt(_0x160e79[0x0],0xa);}}else{}if(_0x3dcc56[_0x1cd3('0xb76')][_0x1cd3('0x424')]&&_0x3dcc56['tag']['type'][_0x1cd3('0x433')]()==='outbound'&&_0x3dcc56[_0x1cd3('0xb76')][_0x1cd3('0x125b')][_0x1cd3('0x433')]()===_0x1cd3('0x1289')){_0x3dcc56[_0x1cd3('0xb76')][_0x1cd3('0x6aa')]=_0x3dcc56['tag'][_0x1cd3('0xf09')]?_0x3dcc56[_0x1cd3('0xb76')]['phone'][_0x1cd3('0x3ef')]('$')[0x0]:undefined;_0x3dcc56[_0x1cd3('0xb76')][_0x1cd3('0x689')]=_0x3dcc56[_0x1cd3('0xb76')]['callerID']?'CALLERID(all)='+_0x3dcc56['tag'][_0x1cd3('0x127f')]:undefined;}_0x3dcc56[_0x1cd3('0x2735')]=_0x38328a;_0x3dcc56[_0x1cd3('0x39c')]=_0x178b79;_0x16015f[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x147ba4[_0x1cd3('0xb76')][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':'name','nolimit':'true'})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x5becf4){_0x3dcc56[_0x1cd3('0x921')]=_0x5becf4['rows']||[];})['catch'](function(_0x54ac90){_0x49c24b[_0x1cd3('0x434')]({'title':_0x54ac90['status']?_0x1cd3('0x435')+_0x54ac90['status']+_0x1cd3('0x436')+_0x54ac90[_0x1cd3('0xd35')]:_0x1cd3('0x1ef7'),'msg':_0x54ac90[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x54ac90[_0x1cd3('0x439')]):_0x54ac90[_0x1cd3('0x43b')]()});}):_0x147ba4[_0x1cd3('0xb76')]['get']({'fields':_0x1cd3('0xa6'),'sort':'name','nolimit':'true'})[_0x1cd3('0x81')]['then'](function(_0x1db96f){_0x3dcc56[_0x1cd3('0x921')]=_0x1db96f[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x147ba4[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x3dcc56[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x3f0})[_0x1cd3('0x81')];})['then'](function(_0x4d9c46){var _0x399d86=_0x4d9c46&&_0x4d9c46[_0x1cd3('0xf6')]?_0x4d9c46['rows'][0x0]:null;if(!_0x399d86){var _0x5a2821=[];var _0x4478c3=null;if(_0x3dcc56[_0x1cd3('0xb76')]){_0x4478c3=_[_0x1cd3('0x442')](_0x3dcc56[_0x1cd3('0x921')],{'name':_0x3dcc56[_0x1cd3('0xb76')][_0x1cd3('0xb76')]});}for(var _0x333341=0x0;_0x333341<_0x3dcc56[_0x1cd3('0x921')][_0x1cd3('0x7a')];_0x333341++){if(_0x4478c3&&_0x3dcc56['tags'][_0x333341]['id']===_0x4478c3['id']){_0x3dcc56['tags'][_0x333341][_0x1cd3('0xf4a')]=![];_0x5a2821[_0x1cd3('0x7b')](_0x3dcc56[_0x1cd3('0x921')][_0x333341]);}}_0x3dcc56['tags']=_0x5a2821;}else{if(!_0x399d86[_0x1cd3('0x391')]){return _0x147ba4[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x399d86['id']})[_0x1cd3('0x81')]['then'](function(_0x3ed837){var _0x237e13=_['map'](_0x3ed837[_0x1cd3('0xf6')],function(_0x2625c2){return _[_0x1cd3('0x442')](_0x3dcc56[_0x1cd3('0x921')],{'id':_0x2625c2[_0x1cd3('0xe8e')]});});var _0x1b9ba4=null;if(_0x3dcc56['tag']){_0x1b9ba4=_[_0x1cd3('0x442')](_0x3dcc56[_0x1cd3('0x921')],{'name':_0x3dcc56[_0x1cd3('0xb76')][_0x1cd3('0xb76')]});}if(_0x1b9ba4&&!_[_0x1cd3('0x38d')](_0x237e13,['id',_0x1b9ba4['id']])){var _0x27150c=_[_0x1cd3('0x442')](_0x3dcc56[_0x1cd3('0x921')],{'id':_0x1b9ba4['id']});_0x27150c['canSelect']=![];_0x237e13[_0x1cd3('0x7b')](_0x27150c);}_0x3dcc56[_0x1cd3('0x921')]=_0x237e13;});}}})[_0x1cd3('0xfd')](function(_0x42970b){_0x49c24b['error']({'title':_0x42970b[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x42970b[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x42970b['statusText']:_0x1cd3('0x12b5'),'msg':_0x42970b['data']?JSON['stringify'](_0x42970b['data']):_0x42970b[_0x1cd3('0x43b')]()});});function _0x38328a(){_0x3dcc56[_0x1cd3('0xd34')]=[];var _0xe12fd6=[];if(_0x3dcc56[_0x1cd3('0xb76')][_0x1cd3('0x424')]&&_0x3dcc56[_0x1cd3('0xb76')][_0x1cd3('0x424')][_0x1cd3('0x433')]()===_0x1cd3('0x128')&&_0x3dcc56['tag'][_0x1cd3('0x125b')]===_0x1cd3('0x1283')){_0x3dcc56['tag'][_0x1cd3('0xf09')]=_0x3bcf72[_0x1cd3('0x128a')]?(_0x3dcc56[_0x1cd3('0xb76')][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x1284')+_0x3bcf72[_0x1cd3('0x128a')]+'}':(_0x3dcc56['tag'][_0x1cd3('0x6aa')]||'')+_0x1cd3('0x128d');if(_0x3bcf72[_0x1cd3('0x1285')]!=='none'){if(_0x3dcc56[_0x1cd3('0xb76')][_0x1cd3('0x422')][_0x1cd3('0x45e')](_0x1cd3('0x1286'))<0x0){_0x3dcc56['tag'][_0x1cd3('0x422')]+='U(xcally-mixmonitor-context)';}}else{_0x3dcc56[_0x1cd3('0xb76')][_0x1cd3('0x422')]=_0x3dcc56['tag'][_0x1cd3('0x422')][_0x1cd3('0x3f1')]('U(xcally-mixmonitor-context)','');}}var _0x36e022=_[_0x1cd3('0x442')](_0x3dcc56[_0x1cd3('0x921')],{'name':_0x3dcc56['tag'][_0x1cd3('0xb76')]});if(_0x36e022){_0x3dcc56[_0x1cd3('0xb76')][_0x1cd3('0x1230')]=_0x36e022['id'];}if(_0x3dcc56[_0x1cd3('0xb76')][_0x1cd3('0x125b')]&&_0x3dcc56[_0x1cd3('0xb76')][_0x1cd3('0x125b')]===_0x1cd3('0x8f6')){}else{switch((_0x3dcc56['tag'][_0x1cd3('0xd0a')]||_0x3dcc56[_0x1cd3('0xb76')][_0x1cd3('0x125b')])[_0x1cd3('0x433')]()){case _0x1cd3('0x127e'):_0x3dcc56[_0x1cd3('0xb76')][_0x1cd3('0x127d')]=_0x3dcc56[_0x1cd3('0xb76')][_0x1cd3('0x98')]+'='+_0x3dcc56[_0x1cd3('0xb76')][_0x1cd3('0x3db')];break;case _0x1cd3('0x8f6'):break;default:_0xe12fd6[0x0]=_0x3dcc56[_0x1cd3('0xb76')][_0x1cd3('0xb76')];_0x3dcc56[_0x1cd3('0xb76')][_0x1cd3('0x127d')]=_0xe12fd6['join'](',');}}_0x178b79(_0x3dcc56[_0x1cd3('0xb76')]);}function _0x178b79(_0x376cc0){_0x239aa5[_0x1cd3('0x39d')](_0x376cc0);}}}());(function(){'use strict';_0x401453['$inject']=[_0x1cd3('0x36f'),_0x1cd3('0x460'),_0x1cd3('0x53e'),'$q',_0x1cd3('0x3f7'),_0x1cd3('0x3e7'),_0x1cd3('0x3c5'),_0x1cd3('0x372'),_0x1cd3('0x461'),_0x1cd3('0x370'),_0x1cd3('0x56')];angular[_0x1cd3('0x0')](_0x1cd3('0x3a'))['controller']('WhatsappAccountInteractionsController',_0x401453);function _0x401453(_0x509e52,_0x57120a,_0x251f8d,_0x17d7e3,_0x49ac31,_0x486460,_0x240a89,_0x180cc4,_0x64f4d6,_0x464cfa,_0x179612){var _0x3a4c2f=this;_0x3a4c2f[_0x1cd3('0x3ca')]=_0x179612['getCurrentUser']();_0x3a4c2f[_0x1cd3('0xca3')]={};_0x3a4c2f['whatsappAccountInteractions']={'count':0x0,'rows':[]};_0x3a4c2f[_0x1cd3('0x273f')]=[];_0x3a4c2f[_0x1cd3('0xd27')];_0x3a4c2f[_0x1cd3('0x3d4')]={'read':_0x1cd3('0x220'),'closed':'null','sort':_0x1cd3('0x130e'),'includeAll':_0x1cd3('0x2e0'),'limit':0xa,'page':0x1};_0x3a4c2f['init']=_0x50924a;_0x3a4c2f[_0x1cd3('0xe0a')]=_0x23e85e;_0x3a4c2f[_0x1cd3('0x2740')]=_0x16fccc;_0x3a4c2f[_0x1cd3('0x473')]=_0x5a8bb3;_0x3a4c2f[_0x1cd3('0x2741')]=_0x42174d;_0x3a4c2f['createOrEditWhatsappAccountInteraction']=_0x3acf2a;_0x3a4c2f['spywhatsappInteraction']=_0x1949d9;_0x3a4c2f[_0x1cd3('0x1673')]=_0x3ff66c;_0x3a4c2f[_0x1cd3('0x2742')]=_0x1acedf;_0x3a4c2f[_0x1cd3('0x2743')]=_0x1e452b;_0x3a4c2f[_0x1cd3('0x2744')]=_0x2edc15;function _0x50924a(_0x446fdc,_0x5b8420){_0x3a4c2f[_0x1cd3('0xca3')]=_0x446fdc;_0x3a4c2f[_0x1cd3('0xd27')]=typeof _0x5b8420!==_0x1cd3('0x491')?_0x5b8420:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x3a4c2f[_0x1cd3('0x3d4')]['WhatsappAccountId']=_0x3a4c2f[_0x1cd3('0xca3')]['id'];_0x3a4c2f[_0x1cd3('0x3d1')]={'fields':_0x3706ae()};_0x3e61aa();}function _0x3e61aa(){return _0x464cfa[_0x1cd3('0xb76')]['get']()[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x37213d){_0x3a4c2f[_0x1cd3('0x921')]=_0x37213d||{'count':0x0,'rows':[]};})['then'](function(){_0x3a4c2f[_0x1cd3('0x1315')]=_0x31ea7b();});}function _0x31ea7b(){return[{'name':_0x1cd3('0x132c'),'key':_0x1cd3('0xe0d'),'type':'date','label':'DASHBOARDS.SELECT_DATE'},{'name':'Messages','key':_0x1cd3('0x167e'),'type':'select','label':_0x1cd3('0x1318'),'customOptions':[{'value':0x0,'translate':'DASHBOARDS.UNREAD'},{'value':0x1,'translate':_0x1cd3('0x131a')},{'value':null,'translate':_0x1cd3('0x910')}]},{'name':'Status','key':_0x1cd3('0x1586'),'type':_0x1cd3('0x44f'),'label':'DASHBOARDS.SELECT_STATUS','customOptions':[{'value':0x0,'translate':_0x1cd3('0x131d')},{'value':0x1,'translate':_0x1cd3('0x131e')},{'value':null,'translate':_0x1cd3('0x910')}]},{'name':_0x1cd3('0x1227'),'key':_0x1cd3('0x1226'),'type':_0x1cd3('0x44f'),'label':_0x1cd3('0x131f'),'customOptions':[{'value':_0x1cd3('0x220'),'translate':_0x1cd3('0x1320')},{'value':undefined,'translate':_0x1cd3('0x910')}]},{'name':_0x1cd3('0x1231'),'key':_0x1cd3('0xb76'),'type':'multiselect','label':_0x1cd3('0x1321'),'options':_0x3a4c2f[_0x1cd3('0x921')][_0x1cd3('0xf6')],'placeholder':_0x1cd3('0x1322')}];}function _0x3706ae(){return[{'name':'Id','column':'id','type':_0x1cd3('0x407')},{'name':_0x1cd3('0x1323'),'column':_0x1cd3('0x1323'),'type':_0x1cd3('0x42b'),'options':{'searchFields':[_0x1cd3('0x1447'),_0x1cd3('0x1324'),'email'],'route':{'model':_0x1cd3('0xb3d'),'action':_0x1cd3('0x361'),'params':{'fields':_0x1cd3('0x1668'),'Contact':_0x1cd3('0x42c'),'nolimit':!![]}},'extraOperators':[_0x1cd3('0x3fd')],'excludedOperators':[_0x1cd3('0x3fb')]}},{'name':_0x1cd3('0x1326'),'column':_0x1cd3('0x1327'),'type':_0x1cd3('0x401'),'options':{'excludedOperators':[_0x1cd3('0x44d'),_0x1cd3('0x3fb')]}},{'name':_0x1cd3('0x1328'),'column':_0x1cd3('0x1329'),'type':_0x1cd3('0x401'),'options':{'excludedOperators':[_0x1cd3('0x44d'),_0x1cd3('0x3fb')]}},{'name':'Status','column':'closed','type':_0x1cd3('0x44f'),'values':[{'id':0x0,'translate':'DASHBOARDS.OPENED'},{'id':0x1,'translate':_0x1cd3('0x131e')}],'options':{'excludedOperators':[_0x1cd3('0x3fb')]}},{'name':'Agent','column':_0x1cd3('0x132a'),'type':_0x1cd3('0x42b'),'options':{'table':'i','route':{'model':_0x1cd3('0x368'),'action':_0x1cd3('0x361'),'params':{'role':_0x1cd3('0xd2'),'fields':_0x1cd3('0x132b'),'nolimit':!![]}},'searchFields':[_0x1cd3('0xd3'),_0x1cd3('0x98')],'extraOperators':[_0x1cd3('0x3fd')],'excludedOperators':[_0x1cd3('0x3fb')]}},{'name':_0x1cd3('0xf9'),'column':_0x1cd3('0x1231'),'type':'multiselect','options':{'route':{'model':_0x1cd3('0xb76'),'action':_0x1cd3('0x361'),'params':{'nolimit':!![]}},'excludedOperators':[_0x1cd3('0x3dd')]}},{'name':'Start\x20Date','column':_0x1cd3('0xe0d'),'type':_0x1cd3('0x406'),'options':{'excludedOperators':[_0x1cd3('0x3fb')]}},{'name':'Read','column':'unreadMessages','type':_0x1cd3('0x44f'),'values':[{'id':0x1,'translate':_0x1cd3('0x131a')},{'id':0x0,'translate':_0x1cd3('0x1319')}],'options':{'excludedOperators':[_0x1cd3('0x3fb')]}}];}function _0x3ff66c(){_0x240a89[_0x1cd3('0x37e')]({'controller':'AdvancedSearchController','controllerAs':'vm','templateUrl':_0x1cd3('0x132f'),'parent':angular[_0x1cd3('0x37f')](_0x180cc4['body']),'clickOutsideToClose':![],'locals':{'fields':_0x3a4c2f[_0x1cd3('0x3d1')][_0x1cd3('0x3c7')],'color':undefined,'storagePath':_0x1cd3('0x2745')},'fullscreen':!![]})[_0x1cd3('0x77')](function(_0x51c5aa){_0x3a4c2f[_0x1cd3('0x3d4')]['search']=_0x51c5aa===![]?undefined:_0x51c5aa;if(_0x3a4c2f[_0x1cd3('0x3d4')]['search']){_0x42174d();}else if(_0x51c5aa===![]){_0x42174d();}})['catch'](function(_0x28b415){_0x64f4d6[_0x1cd3('0x434')]({'title':_0x1cd3('0x1331'),'msg':_0x28b415[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x28b415[_0x1cd3('0x439')]['message']):_0x28b415[_0x1cd3('0x43b')]()});});}function _0x16fccc(_0x293a0c,_0x3891b3,_0x27f76e){return _0x464cfa[_0x1cd3('0xcae')]['download']({'id':_0x293a0c['id'],'exists':!![],'attachments':_0x27f76e})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x1c7bc1){var _0x4a7cef=[_0x1c7bc1[_0x1cd3('0x6ef')]];var _0x367b42=_0x1cd3('0x1332')+_0x293a0c['id'];var _0x5dff2e=new Blob(_0x4a7cef,{'type':_0x1c7bc1['type']});_0x367b42='whatsapp-interaction'+_0x293a0c['id']+'.zip';var _0x1f1cbd=window['document'][_0x1cd3('0x3aa')]('a');_0x1f1cbd['setAttribute']('href',URL[_0x1cd3('0x48a')](_0x5dff2e));_0x1f1cbd[_0x1cd3('0x481')](_0x1cd3('0x489'),_0x367b42);document['body']['appendChild'](_0x1f1cbd);_0x1f1cbd[_0x1cd3('0x52d')]();})['catch'](function(_0x5b8711){if(_0x5b8711[_0x1cd3('0x439')]&&_0x5b8711[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x5b8711[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){for(var _0x479dbd=0x0;_0x479dbd<_0x5b8711['data'][_0x1cd3('0xd34')]['length'];_0x479dbd+=0x1){_0x64f4d6[_0x1cd3('0x434')]({'title':_0x5b8711[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x479dbd][_0x1cd3('0x424')],'msg':_0x5b8711[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x479dbd]['message']});}}else{_0x64f4d6[_0x1cd3('0x434')]({'title':_0x5b8711[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x5b8711[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x5b8711[_0x1cd3('0xd35')]:_0x1cd3('0x2721'),'msg':_0x5b8711[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x5b8711[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x5b8711['toString']()});}});}function _0x23e85e(_0x4517be,_0x32ea8e){var _0x4e5e6e=_0x240a89[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x1335'))[_0x1cd3('0xd60')]('<b>'+(_0x4517be['name']||_0x4517be['id']&&_[_0x1cd3('0x12bc')]('interaction\x20#')+_0x4517be['id']||_0x1cd3('0x1332'))+_0x1cd3('0xd52')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')]('delete\x20interaction')['targetEvent'](_0x32ea8e)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x240a89[_0x1cd3('0x37e')](_0x4e5e6e)['then'](function(){_0x1e452b(_0x4517be);},function(){console[_0x1cd3('0x7d')]('CANCEL');});}function _0x5a8bb3(_0x17081c){_0x3a4c2f['whatsappAccountInteractions']=_0x17081c||{'count':0x0,'rows':[]};for(var _0x1c40e7=0x0;_0x1c40e7<_0x3a4c2f[_0x1cd3('0x2746')][_0x1cd3('0xf6')][_0x1cd3('0x7a')];_0x1c40e7+=0x1){var _0x373ca3=_0x3a4c2f[_0x1cd3('0x2746')][_0x1cd3('0xf6')][_0x1c40e7];_0x1163cd(_0x373ca3);_0x373ca3[_0x1cd3('0x1338')][_0x1cd3('0x98')]=_0x36522(_0x373ca3);}}function _0x42174d(){_0x3a4c2f['query'][_0x1cd3('0xd57')]=(_0x3a4c2f[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0x3a4c2f[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];_0x3a4c2f['promise']=_0x464cfa['whatsappInteraction'][_0x1cd3('0x361')](_0x3a4c2f[_0x1cd3('0x3d4')],_0x5a8bb3)[_0x1cd3('0x81')];}function _0x3acf2a(_0x3571e8,_0x4430ed){_0x240a89[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x1339'),'controllerAs':'vm','templateUrl':_0x1cd3('0x2747'),'parent':angular['element'](_0x180cc4[_0x1cd3('0x380')]),'targetEvent':_0x3571e8,'clickOutsideToClose':!![],'locals':{'whatsappAccount':_0x3a4c2f[_0x1cd3('0xca3')],'interaction':_0x4430ed,'interactions':_0x3a4c2f[_0x1cd3('0x2746')][_0x1cd3('0xf6')],'license':null,'setting':null,'crudPermissions':_0x3a4c2f['crudPermissions']}});}function _0x1949d9(_0x55ed40,_0x52a86f){_0x240a89[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x133a'),'controllerAs':'vm','templateUrl':_0x1cd3('0x133b'),'parent':angular[_0x1cd3('0x37f')](_0x180cc4['body']),'targetEvent':_0x55ed40,'clickOutsideToClose':!![],'onShowing':function(_0x5940e6,_0x5b4f53){_0x5940e6['vm']['init']({'id':0x1,'channel':_0x1cd3('0x34a'),'interaction':_0x52a86f,'spy':!![]},_0x57120a[_0x1cd3('0x70b')]['vm'][_0x1cd3('0xc49')]);}});}function _0x1e452b(_0x4705b4){_0x464cfa[_0x1cd3('0xcae')]['delete']({'id':_0x4705b4['id']})[_0x1cd3('0x81')]['then'](function(){_[_0x1cd3('0x383')](_0x3a4c2f[_0x1cd3('0x2746')][_0x1cd3('0xf6')],{'id':_0x4705b4['id']});_0x3a4c2f['whatsappAccountInteractions'][_0x1cd3('0x466')]-=0x1;if(!_0x3a4c2f[_0x1cd3('0x2746')][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){_0x42174d();}_0x64f4d6[_0x1cd3('0x473')]({'title':'Interaction\x20deleted!','msg':_0x4705b4[_0x1cd3('0x98')]?_0x4705b4['name']+_0x1cd3('0xd41'):''});})[_0x1cd3('0xfd')](function(_0x1d1e4f){if(_0x1d1e4f[_0x1cd3('0x439')]&&_0x1d1e4f['data']['errors']&&_0x1d1e4f['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){vm['errors']=_0x1d1e4f['data'][_0x1cd3('0xd34')]||[{'message':_0x1d1e4f['toString'](),'type':_0x1cd3('0x2748')}];for(var _0x757469=0x0;_0x757469<_0x1d1e4f[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length'];_0x757469++){_0x64f4d6[_0x1cd3('0x434')]({'title':_0x1d1e4f[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x757469]['type'],'msg':_0x1d1e4f[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x757469][_0x1cd3('0x43a')]});}}else{_0x64f4d6[_0x1cd3('0x434')]({'title':_0x1d1e4f[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x1d1e4f[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x1d1e4f['statusText']:_0x1cd3('0x2748'),'msg':_0x1d1e4f['data']?JSON[_0x1cd3('0x438')](_0x1d1e4f[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x1d1e4f[_0x1cd3('0x43a')]||_0x1d1e4f[_0x1cd3('0x43b')]()});}});}function _0x1acedf(){var _0x11dc7a=angular[_0x1cd3('0x429')](_0x3a4c2f[_0x1cd3('0x273f')]);_0x3a4c2f['selectedWhatsappAccountInteractions']=[];return _0x11dc7a;}function _0x2edc15(_0x1b9786){var _0x9a35c9=_0x240a89[_0x1cd3('0xd39')]()['title'](_0x1cd3('0x1932'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x3a4c2f[_0x1cd3('0x273f')][_0x1cd3('0x7a')]+'\x20selected</b>'+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')]('delete\x20interactions')[_0x1cd3('0xd63')](_0x1b9786)['ok']('OK')['cancel']('CANCEL');_0x240a89[_0x1cd3('0x37e')](_0x9a35c9)['then'](function(){_0x3a4c2f['selectedWhatsappAccountInteractions'][_0x1cd3('0x394')](function(_0x1ee3d5){_0x1e452b(_0x1ee3d5);});_0x3a4c2f[_0x1cd3('0x273f')]=[];});}function _0x1163cd(_0xa9541d){if(_0xa9541d[_0x1cd3('0x1323')]){_0xa9541d[_0x1cd3('0x133e')]=(_0xa9541d[_0x1cd3('0x1323')][_0x1cd3('0x1447')]||'')+'\x20'+(_0xa9541d[_0x1cd3('0x1323')][_0x1cd3('0x1324')]||'');}else{_0xa9541d['contactName']=_0x49ac31[_0x1cd3('0x44a')](_0x1cd3('0x133f'));}}function _0x36522(_0x32b0ac){if(_0x32b0ac[_0x1cd3('0x1226')]){if(_0x32b0ac[_0x1cd3('0x1226')]===_0x3a4c2f[_0x1cd3('0x3ca')]['id']){return _0x49ac31[_0x1cd3('0x44a')](_0x1cd3('0x1656'));}else{return _0x32b0ac[_0x1cd3('0x1338')][_0x1cd3('0xd3')]+'\x20<'+_0x32b0ac[_0x1cd3('0x1338')]['internal']+'>';}}return _0x49ac31['instant'](_0x1cd3('0x1320'));}var _0x3720ec=!![];var _0x553b17=0x1;_0x57120a[_0x1cd3('0x4d6')](_0x1cd3('0x1340'),function(_0xa7078e,_0x415f44){if(_0x3720ec){_0x486460(function(){_0x3720ec=![];});}else{if(!_0x415f44){_0x553b17=_0x3a4c2f[_0x1cd3('0x3d4')]['page'];}if(_0xa7078e!==_0x415f44){_0x3a4c2f['query'][_0x1cd3('0x8fd')]=0x1;}if(!_0xa7078e){_0x3a4c2f[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0x553b17;}_0x42174d();}});}}());(function(){'use strict';_0x8efb6a[_0x1cd3('0xc')]=['$state',_0x1cd3('0xd24'),_0x1cd3('0x3c5'),_0x1cd3('0x372'),_0x1cd3('0x3f7'),'license',_0x1cd3('0xc49'),_0x1cd3('0x370'),_0x1cd3('0x461'),'Auth',_0x1cd3('0xca3'),_0x1cd3('0x390')];angular[_0x1cd3('0x0')](_0x1cd3('0x3a'))[_0x1cd3('0x39b')](_0x1cd3('0x2749'),_0x8efb6a);function _0x8efb6a(_0x45ebf9,_0x345d21,_0x2d46b0,_0x4f3a7c,_0x55215a,_0x34cd63,_0x5d4713,_0x1e7555,_0x32691c,_0x24ad36,_0x1414ca,_0x523eed){var _0x18b374=this;_0x18b374[_0x1cd3('0x3ca')]=_0x24ad36[_0x1cd3('0x5d')]();_0x18b374[_0x1cd3('0x463')]=_0x34cd63;_0x18b374[_0x1cd3('0xc49')]=_0x5d4713;_0x18b374[_0x1cd3('0xd29')]=_0x18b374['setting'][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x18b374['location']=_0x345d21[_0x1cd3('0x3b0')]()+_0x1cd3('0x11cf')+_0x345d21[_0x1cd3('0x3ac')]();_0x18b374['whatsappAccount']=_0x1414ca||_0x45ebf9['params'][_0x1cd3('0xca3')]||{};_0x18b374['userProfileSection']=_0x523eed&&_0x523eed[_0x1cd3('0x466')]==0x1?_0x523eed[_0x1cd3('0xf6')][0x0]:null;_0x18b374[_0x1cd3('0xd27')]=_0x24ad36[_0x1cd3('0xd44')](_0x18b374[_0x1cd3('0x390')]?_0x18b374[_0x1cd3('0x390')]['crudPermissions']:null);_0x18b374[_0x1cd3('0xd28')]={};_0x18b374[_0x1cd3('0xe5f')]=_0x45ebf9[_0x1cd3('0x36a')][_0x1cd3('0x1418')]||0x0;_0x18b374['agentadddialog']=_0x578942;_0x18b374['alert']=_0x32691c[_0x1cd3('0x654')];_0x18b374[_0x1cd3('0x274a')]=_0x3a97f6;_0x18b374[_0x1cd3('0x271e')]=_0x20b791;_0x24ad36[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x1e7555[_0x1cd3('0xc8f')][_0x1cd3('0x361')]({'fields':'id,name','sort':_0x1cd3('0x98')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x255ae9){_0x18b374['lists']=_0x255ae9['rows']||[];})[_0x1cd3('0xfd')](function(_0xb2cd8c){_0x32691c[_0x1cd3('0x434')]({'title':_0xb2cd8c[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0xb2cd8c['status']+'\x20-\x20'+_0xb2cd8c[_0x1cd3('0xd35')]:_0x1cd3('0x11f3'),'msg':_0xb2cd8c[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0xb2cd8c[_0x1cd3('0x439')]):_0xb2cd8c['toString']()});}):_0x1e7555[_0x1cd3('0xc8f')][_0x1cd3('0x361')]({'fields':'id,name','sort':_0x1cd3('0x98')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x182cff){_0x18b374[_0x1cd3('0xf5')]=_0x182cff['rows']||[];})[_0x1cd3('0x77')](function(){return _0x1e7555[_0x1cd3('0x390')]['get']({'userProfileId':_0x18b374[_0x1cd3('0x3ca')]['userProfileId'],'sectionId':0x12d})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x1a74a7){var _0x32cd34=_0x1a74a7&&_0x1a74a7[_0x1cd3('0xf6')]?_0x1a74a7[_0x1cd3('0xf6')][0x0]:null;if(!_0x32cd34){var _0x2c6d8f=[];var _0x2999bf=null;if(_0x18b374[_0x1cd3('0xca3')]){_0x2999bf=_[_0x1cd3('0x442')](_0x18b374[_0x1cd3('0xf5')],{'id':Number(_0x18b374[_0x1cd3('0xca3')]['ListId'])});}for(var _0x129bc8=0x0;_0x129bc8<_0x18b374[_0x1cd3('0xf5')][_0x1cd3('0x7a')];_0x129bc8++){if(_0x2999bf&&_0x18b374[_0x1cd3('0xf5')][_0x129bc8]['id']===_0x2999bf['id']){_0x18b374['lists'][_0x129bc8][_0x1cd3('0xf4a')]=![];_0x2c6d8f[_0x1cd3('0x7b')](_0x18b374[_0x1cd3('0xf5')][_0x129bc8]);}}_0x18b374['lists']=_0x2c6d8f;}else{if(!_0x32cd34[_0x1cd3('0x391')]){return _0x1e7555[_0x1cd3('0x392')]['get']({'sectionId':_0x32cd34['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x1a26df){var _0x30a1b8=_['map'](_0x1a26df[_0x1cd3('0xf6')],function(_0x9e995c){return _[_0x1cd3('0x442')](_0x18b374[_0x1cd3('0xf5')],{'id':_0x9e995c[_0x1cd3('0xe8e')]});});var _0x4a6018=null;if(_0x18b374[_0x1cd3('0xca3')]){_0x4a6018=_[_0x1cd3('0x442')](_0x18b374[_0x1cd3('0xf5')],{'id':Number(_0x18b374[_0x1cd3('0xca3')][_0x1cd3('0x106')])});}if(_0x4a6018&&!_[_0x1cd3('0x38d')](_0x30a1b8,['id',_0x4a6018['id']])){var _0x50bf2a=_[_0x1cd3('0x442')](_0x18b374[_0x1cd3('0xf5')],{'id':_0x4a6018['id']});_0x50bf2a[_0x1cd3('0xf4a')]=![];_0x30a1b8[_0x1cd3('0x7b')](_0x50bf2a);}_0x18b374[_0x1cd3('0xf5')]=_0x30a1b8;});}}})[_0x1cd3('0xfd')](function(_0x714863){_0x32691c[_0x1cd3('0x434')]({'title':_0x714863[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x714863['status']+_0x1cd3('0x436')+_0x714863[_0x1cd3('0xd35')]:_0x1cd3('0x137f'),'msg':_0x714863[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x714863[_0x1cd3('0x439')]):_0x714863[_0x1cd3('0x43b')]()});});_0x24ad36[_0x1cd3('0x57')]('admin')?_0x1e7555[_0x1cd3('0x63e')][_0x1cd3('0x361')]({'fields':_0x1cd3('0x1380'),'sort':'name','nolimit':_0x1cd3('0x2e0')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x5d7e3a){_0x18b374[_0x1cd3('0x1381')]=_0x5d7e3a[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x459307){_0x32691c[_0x1cd3('0x434')]({'title':_0x459307[_0x1cd3('0x3a6')]?'API:'+_0x459307[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x459307[_0x1cd3('0xd35')]:_0x1cd3('0x1382'),'msg':_0x459307[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x459307['data']):_0x459307[_0x1cd3('0x43b')]()});}):_0x1e7555[_0x1cd3('0x63e')][_0x1cd3('0x361')]({'fields':'name,id','sort':'name','nolimit':_0x1cd3('0x2e0')})['$promise'][_0x1cd3('0x77')](function(_0x515ec7){_0x18b374[_0x1cd3('0x1381')]=_0x515ec7[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x1e7555[_0x1cd3('0x390')]['get']({'userProfileId':_0x18b374['currentUser'][_0x1cd3('0x5e')],'sectionId':0x3ed})['$promise'];})[_0x1cd3('0x77')](function(_0xda877c){var _0x3c6c80=_0xda877c&&_0xda877c[_0x1cd3('0xf6')]?_0xda877c['rows'][0x0]:null;if(!_0x3c6c80){_0x18b374[_0x1cd3('0x1381')]=[];}else{if(!_0x3c6c80['autoAssociation']){return _0x1e7555[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x3c6c80['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x536220){var _0x58a05f=_[_0x1cd3('0x3d9')](_0x536220['rows'],function(_0x24c941){return _['find'](_0x18b374[_0x1cd3('0x1381')],{'id':_0x24c941['resourceId']});});_0x18b374['pauses'][_0x1cd3('0x394')](function(_0x3ed0a6){if(!_[_0x1cd3('0x38d')](_0x58a05f,['id',_0x3ed0a6['id']])){_0x3ed0a6[_0x1cd3('0xf4a')]=![];}_0x58a05f[_0x1cd3('0x7b')](_0x3ed0a6);});_0x18b374[_0x1cd3('0x1381')]=_0x58a05f;});}}})[_0x1cd3('0xfd')](function(_0x321678){_0x32691c[_0x1cd3('0x434')]({'title':_0x321678[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x321678[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x321678[_0x1cd3('0xd35')]:'SYSTEM:GETpauses','msg':_0x321678[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x321678[_0x1cd3('0x439')]):_0x321678[_0x1cd3('0x43b')]()});});function _0x578942(_0x5689ea,_0x1d1d7e){_0x2d46b0[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x2731'),'controllerAs':'vm','templateUrl':_0x1cd3('0x274b'),'parent':angular['element'](_0x4f3a7c[_0x1cd3('0x380')]),'targetEvent':_0x1d1d7e,'clickOutsideToClose':!![],'locals':{'whatsappAccount':_0x5689ea,'whatsappAccounts':_0x18b374[_0x1cd3('0x15fc')]?_0x18b374['whatsappAccounts'][_0x1cd3('0xf6')]:[],'crudPermissions':_0x18b374[_0x1cd3('0xd27')],'realtime':![]}});}function _0x3a97f6(){_0x45ebf9['go'](_0x1cd3('0x34e'),{},{'reload':'app.whatsapp.whatsappAccounts'});}function _0x20b791(){_0x1e7555[_0x1cd3('0xca3')][_0x1cd3('0x378')]({'id':_0x18b374[_0x1cd3('0xca3')]['id']},_0x18b374[_0x1cd3('0xca3')])[_0x1cd3('0x81')]['then'](function(){_0x32691c[_0x1cd3('0x473')]({'title':_0x1cd3('0x274c'),'msg':_0x18b374[_0x1cd3('0xca3')][_0x1cd3('0x98')]?_0x18b374[_0x1cd3('0xca3')][_0x1cd3('0x98')]+'\x20has\x20been\x20updated!':''});})['catch'](function(_0x44f944){_0x32691c[_0x1cd3('0x434')]({'title':_0x44f944[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x44f944[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x44f944[_0x1cd3('0xd35')]:_0x1cd3('0x2748'),'msg':_0x44f944['data']?JSON[_0x1cd3('0x438')](_0x44f944['data']):_0x44f944['toString']()});});}}}());(function(){'use strict';_0x531097[_0x1cd3('0xc')]=[_0x1cd3('0x36f'),'$scope',_0x1cd3('0x53e'),'$q',_0x1cd3('0x3f7'),_0x1cd3('0x3e7'),'$mdDialog','$document',_0x1cd3('0x461'),_0x1cd3('0x370'),_0x1cd3('0x56')];angular[_0x1cd3('0x0')]('app.whatsapp')[_0x1cd3('0x39b')](_0x1cd3('0x274d'),_0x531097);function _0x531097(_0x1d6816,_0x153daf,_0x261add,_0x585fd0,_0x291f1c,_0x402915,_0x7c2f36,_0x122e24,_0x330775,_0x1c1481,_0x3937fc){var _0x33f342=this;_0x33f342[_0x1cd3('0x3ca')]=_0x3937fc[_0x1cd3('0x5d')]();_0x33f342['whatsappAccount']={};_0x33f342[_0x1cd3('0x274e')]={'count':0x0,'rows':[]};_0x33f342[_0x1cd3('0x274f')]=[];_0x33f342[_0x1cd3('0xd27')];_0x33f342[_0x1cd3('0x3d4')]={'fields':_0x1cd3('0x2a2'),'limit':0xa,'page':0x1};_0x33f342[_0x1cd3('0xe08')]=_0x24186c;_0x33f342[_0x1cd3('0xe0a')]=_0x45fc3e;_0x33f342['success']=_0x40b987;_0x33f342[_0x1cd3('0x2750')]=_0x2aabae;_0x33f342[_0x1cd3('0x2751')]=_0x1c24cd;_0x33f342['exportSelectedWhatsappAccountWhatsappCannedAnswers']=_0x3f47a7;_0x33f342[_0x1cd3('0x2752')]=_0x206bf6;_0x33f342[_0x1cd3('0x2753')]=_0x3f449f;function _0x24186c(_0x2dece3,_0x4d3490){_0x33f342['whatsappAccount']=_0x2dece3;_0x33f342[_0x1cd3('0xd27')]=typeof _0x4d3490!==_0x1cd3('0x491')?_0x4d3490:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x33f342[_0x1cd3('0x3d4')][_0x1cd3('0x1583')]=_0x33f342[_0x1cd3('0xca3')]['id'];_0x33f342[_0x1cd3('0x3d4')]['id']=_0x33f342[_0x1cd3('0xca3')]['id'];_0x2aabae();}function _0x45fc3e(_0x35cf7b,_0x19b9f7){var _0x2295c7=_0x7c2f36[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x2754'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+(_0x35cf7b['name']||_0x35cf7b['id']&&_['upperFirst'](_0x1cd3('0x2755'))+_0x35cf7b['id']||'whatsappCannedAnswer')+_0x1cd3('0xd52')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x2756'))[_0x1cd3('0xd63')](_0x19b9f7)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x7c2f36[_0x1cd3('0x37e')](_0x2295c7)[_0x1cd3('0x77')](function(){_0x206bf6(_0x35cf7b);},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}function _0x40b987(_0x1c2836){_0x33f342[_0x1cd3('0x274e')]=_0x1c2836||{'count':0x0,'rows':[]};}function _0x2aabae(){_0x33f342[_0x1cd3('0x3d4')][_0x1cd3('0xd57')]=(_0x33f342[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0x33f342[_0x1cd3('0x3d4')]['limit'];_0x33f342[_0x1cd3('0x539')]=_0x1c1481[_0x1cd3('0xca3')][_0x1cd3('0x1c21')](_0x33f342[_0x1cd3('0x3d4')],_0x40b987)[_0x1cd3('0x81')];}function _0x1c24cd(_0x316fee,_0x519d59){_0x7c2f36[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x2757'),'controllerAs':'vm','templateUrl':'app/main/apps/whatsapp/views/whatsappAccounts/edit/whatsappCannedAnswers/dialog.html','parent':angular['element'](_0x122e24[_0x1cd3('0x380')]),'targetEvent':_0x316fee,'clickOutsideToClose':!![],'locals':{'whatsappAccount':_0x33f342[_0x1cd3('0xca3')],'whatsappCannedAnswer':_0x519d59,'whatsappCannedAnswers':_0x33f342[_0x1cd3('0x274e')]['rows'],'license':null,'setting':null,'crudPermissions':_0x33f342[_0x1cd3('0xd27')]}});}function _0x206bf6(_0x3507a3){_0x1c1481['cannedAnswer'][_0x1cd3('0xa1c')]({'id':_0x3507a3['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x33f342[_0x1cd3('0x274e')][_0x1cd3('0xf6')],{'id':_0x3507a3['id']});_0x33f342[_0x1cd3('0x274e')]['count']-=0x1;if(!_0x33f342[_0x1cd3('0x274e')][_0x1cd3('0xf6')][_0x1cd3('0x7a')]){_0x2aabae();}_0x330775[_0x1cd3('0x473')]({'title':_0x1cd3('0x2758'),'msg':_0x3507a3[_0x1cd3('0x98')]?_0x3507a3[_0x1cd3('0x98')]+_0x1cd3('0xd41'):''});})['catch'](function(_0x549f8d){if(_0x549f8d['data']&&_0x549f8d[_0x1cd3('0x439')]['errors']&&_0x549f8d[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length']){vm[_0x1cd3('0xd34')]=_0x549f8d[_0x1cd3('0x439')]['errors']||[{'message':_0x549f8d['toString'](),'type':_0x1cd3('0x2748')}];for(var _0x4d2eba=0x0;_0x4d2eba<_0x549f8d[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length'];_0x4d2eba++){_0x330775[_0x1cd3('0x434')]({'title':_0x549f8d[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x4d2eba][_0x1cd3('0x424')],'msg':_0x549f8d['data'][_0x1cd3('0xd34')][_0x4d2eba]['message']});}}else{_0x330775[_0x1cd3('0x434')]({'title':_0x549f8d['status']?_0x1cd3('0x435')+_0x549f8d[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x549f8d[_0x1cd3('0xd35')]:'SYSTEM:GETwhatsappAccount','msg':_0x549f8d[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x549f8d[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x549f8d[_0x1cd3('0x43a')]||_0x549f8d[_0x1cd3('0x43b')]()});}});}function _0x3f47a7(){var _0x25b153=angular[_0x1cd3('0x429')](_0x33f342[_0x1cd3('0x274f')]);_0x33f342[_0x1cd3('0x274f')]=[];return _0x25b153;}function _0x3f449f(_0xf98c82){var _0x30871c=_0x7c2f36[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x2759'))[_0x1cd3('0xd60')]('<b>'+_0x33f342['selectedWhatsappAccountWhatsappCannedAnswers'][_0x1cd3('0x7a')]+_0x1cd3('0xd61')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x275a'))[_0x1cd3('0xd63')](_0xf98c82)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x7c2f36[_0x1cd3('0x37e')](_0x30871c)[_0x1cd3('0x77')](function(){_0x33f342[_0x1cd3('0x274f')][_0x1cd3('0x394')](function(_0x1693c3){_0x206bf6(_0x1693c3);});_0x33f342[_0x1cd3('0x274f')]=[];});}var _0x473688=!![];var _0x5ec4d4=0x1;_0x153daf[_0x1cd3('0x4d6')]('vm_dc.query.filter',function(_0x1803e6,_0x458ea1){if(_0x473688){_0x402915(function(){_0x473688=![];});}else{if(!_0x458ea1){_0x5ec4d4=_0x33f342['query']['page'];}if(_0x1803e6!==_0x458ea1){_0x33f342[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}if(!_0x1803e6){_0x33f342[_0x1cd3('0x3d4')]['page']=_0x5ec4d4;}_0x2aabae();}});}}());(function(){'use strict';_0x423b71['$inject']=['$scope',_0x1cd3('0x53e'),_0x1cd3('0xd24'),_0x1cd3('0x3c5'),'$q',_0x1cd3('0x3f7'),_0x1cd3('0x461'),_0x1cd3('0x275b'),'whatsappCannedAnswer',_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0x463'),_0x1cd3('0xc49'),_0x1cd3('0xd27')];angular['module'](_0x1cd3('0x3a'))['controller']('CreateOrEditWhatsappCannedAnswerDialogController',_0x423b71);function _0x423b71(_0x3e76f3,_0x464705,_0x1d893e,_0x270a8c,_0x54287a,_0x40b300,_0x3b8b2c,_0x146e2f,_0x2239c7,_0x37c34b,_0x21dae5,_0xf97095,_0xff3f36,_0x574c7d){var _0xdb3c7e=this;_0xdb3c7e[_0x1cd3('0x3ca')]=_0x21dae5['getCurrentUser']();_0xdb3c7e[_0x1cd3('0xd34')]=[];_0xdb3c7e[_0x1cd3('0xc49')]=_0xff3f36;_0xdb3c7e[_0x1cd3('0x463')]=_0xf97095;_0xdb3c7e[_0x1cd3('0xd27')]=_0x574c7d;_0xdb3c7e[_0x1cd3('0xd28')]={};_0xdb3c7e[_0x1cd3('0xd29')]=_0xdb3c7e[_0x1cd3('0xc49')]&&_0xdb3c7e[_0x1cd3('0xc49')]['securePassword']?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0xdb3c7e['title']=_0x1cd3('0x275c');_0xdb3c7e[_0x1cd3('0x275d')]=angular[_0x1cd3('0x429')](_0x2239c7);_0xdb3c7e[_0x1cd3('0x275b')]=_0x146e2f;_0xdb3c7e['newWhatsappCannedAnswer']=![];if(!_0xdb3c7e[_0x1cd3('0x275d')]){_0xdb3c7e['whatsappCannedAnswer']={};_0xdb3c7e['title']=_0x1cd3('0x275e');_0xdb3c7e[_0x1cd3('0x275f')]=!![];}if(_0x464705[_0x1cd3('0x36a')]['id']){_0xdb3c7e[_0x1cd3('0x275d')][_0x1cd3('0x1583')]=_0x464705['params']['id'];}_0xdb3c7e['addNewWhatsappCannedAnswer']=_0x2a6879;_0xdb3c7e[_0x1cd3('0x2760')]=_0x24e123;_0xdb3c7e[_0x1cd3('0x2761')]=_0x295c34;_0xdb3c7e[_0x1cd3('0xd31')]=_0x1ca7e2;_0xdb3c7e[_0x1cd3('0x39c')]=_0x1bbf82;function _0x2a6879(){_0xdb3c7e[_0x1cd3('0xd34')]=[];_0x37c34b[_0x1cd3('0x12c1')][_0x1cd3('0xd6d')](_0xdb3c7e[_0x1cd3('0x275d')])['$promise'][_0x1cd3('0x77')](function(_0x3f9d92){_0xdb3c7e[_0x1cd3('0x275b')][_0x1cd3('0x621')](_0x3f9d92[_0x1cd3('0xd32')]());_0x3b8b2c[_0x1cd3('0x473')]({'title':_0x1cd3('0x2762'),'msg':_0xdb3c7e[_0x1cd3('0x275d')][_0x1cd3('0x98')]?_0xdb3c7e['whatsappCannedAnswer'][_0x1cd3('0x98')]+'\x20has\x20been\x20created!':''});_0x1bbf82(_0x3f9d92);})['catch'](function(_0x5ae99e){if(_0x5ae99e[_0x1cd3('0x439')]&&_0x5ae99e[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x5ae99e[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length']){_0xdb3c7e[_0x1cd3('0xd34')]=_0x5ae99e[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x5ae99e[_0x1cd3('0x43b')](),'type':_0x1cd3('0x12cc')}];for(var _0x45789c=0x0;_0x45789c<_0x5ae99e[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length'];_0x45789c+=0x1){_0x3b8b2c[_0x1cd3('0x434')]({'title':_0x5ae99e[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x45789c][_0x1cd3('0x424')],'msg':_0x5ae99e['data'][_0x1cd3('0xd34')][_0x45789c][_0x1cd3('0x43a')]});}}else{_0x3b8b2c[_0x1cd3('0x434')]({'title':_0x5ae99e[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x5ae99e[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x5ae99e['statusText']:_0x1cd3('0x12cc'),'msg':_0x5ae99e[_0x1cd3('0x439')]?JSON['stringify'](_0x5ae99e[_0x1cd3('0x439')]['message']):_0x5ae99e[_0x1cd3('0x43b')]()});}});}function _0x24e123(){_0xdb3c7e['errors']=[];_0x37c34b[_0x1cd3('0x12c1')][_0x1cd3('0x378')]({'id':_0xdb3c7e[_0x1cd3('0x275d')]['id']},_0xdb3c7e[_0x1cd3('0x275d')])['$promise'][_0x1cd3('0x77')](function(_0x53fc7a){var _0x5008f2=_[_0x1cd3('0x442')](_0xdb3c7e[_0x1cd3('0x275b')],{'id':_0x53fc7a['id']});if(_0x5008f2){_[_0x1cd3('0xf2')](_0x5008f2,_['pick'](_0x53fc7a[_0x1cd3('0xd32')](),_['keys'](_0x5008f2)));}_0x3b8b2c[_0x1cd3('0x473')]({'title':'WhatsappCannedAnswer\x20properly\x20saved!','msg':_0xdb3c7e['whatsappCannedAnswer'][_0x1cd3('0x98')]?_0xdb3c7e[_0x1cd3('0x275d')][_0x1cd3('0x98')]+_0x1cd3('0xd37'):''});_0x1bbf82(_0x53fc7a);})['catch'](function(_0x3419be){if(_0x3419be['data']&&_0x3419be[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x3419be[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0xdb3c7e[_0x1cd3('0xd34')]=_0x3419be['data'][_0x1cd3('0xd34')]||[{'message':_0x3419be[_0x1cd3('0x43b')](),'type':_0x1cd3('0x12ce')}];for(var _0x4ff505=0x0;_0x4ff505<_0x3419be['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x4ff505++){_0x3b8b2c[_0x1cd3('0x434')]({'title':_0x3419be[_0x1cd3('0x439')]['errors'][_0x4ff505][_0x1cd3('0x424')],'msg':_0x3419be[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x4ff505]['message']});}}else{_0x3b8b2c[_0x1cd3('0x434')]({'title':_0x3419be[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x3419be[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x3419be[_0x1cd3('0xd35')]:'api.cannedAnswer.update','msg':_0x3419be[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x3419be[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x3419be[_0x1cd3('0x43b')]()});}});}function _0x295c34(_0x60074d){_0xdb3c7e['errors']=[];var _0x4d8e80=_0x270a8c['confirm']()['title'](_0x1cd3('0xd3a'))[_0x1cd3('0xd3b')](_0x1cd3('0x2763'))[_0x1cd3('0xd3d')](_0x1cd3('0x2764'))['ok'](_0x1cd3('0xd3f'))[_0x1cd3('0x4d8')](_0x1cd3('0x674'))[_0x1cd3('0xd63')](_0x60074d);_0x270a8c[_0x1cd3('0x37e')](_0x4d8e80)['then'](function(){_0x37c34b[_0x1cd3('0x12c1')][_0x1cd3('0xa1c')]({'id':_0xdb3c7e[_0x1cd3('0x275d')]['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0xdb3c7e[_0x1cd3('0x275b')],{'id':_0xdb3c7e['whatsappCannedAnswer']['id']});_0x3b8b2c[_0x1cd3('0x473')]({'title':_0x1cd3('0x2765'),'msg':(_0xdb3c7e['whatsappCannedAnswer'][_0x1cd3('0x98')]||_0x1cd3('0x275d'))+_0x1cd3('0xd41')});_0x1bbf82(_0xdb3c7e[_0x1cd3('0x275d')]);})['catch'](function(_0x27130b){if(_0x27130b[_0x1cd3('0x439')]&&_0x27130b[_0x1cd3('0x439')]['errors']&&_0x27130b[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0xdb3c7e['errors']=_0x27130b[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x27130b['toString'](),'type':_0x1cd3('0x12d1')}];for(var _0xd96368=0x0;_0xd96368<_0x27130b['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0xd96368++){_0x3b8b2c[_0x1cd3('0x434')]({'title':_0x27130b[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0xd96368][_0x1cd3('0x424')],'msg':_0x27130b[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0xd96368]['message']});}}else{_0x3b8b2c[_0x1cd3('0x434')]({'title':_0x27130b[_0x1cd3('0x3a6')]?'API:'+_0x27130b[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x27130b['statusText']:_0x1cd3('0x12d1'),'msg':_0x27130b[_0x1cd3('0x439')]?JSON['stringify'](_0x27130b[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x27130b[_0x1cd3('0x43a')]||_0x27130b['toString']()});}});},function(){});}function _0x1ca7e2(_0x396261){return _0x396261===null?undefined:new Date(_0x396261);}function _0x1bbf82(_0x44e6ef){_0x270a8c[_0x1cd3('0x39d')](_0x44e6ef);}}}());(function(){'use strict';_0x1ef1be['$inject']=[_0x1cd3('0x36f'),_0x1cd3('0x460'),_0x1cd3('0x53e'),'$q',_0x1cd3('0x3f7'),'$timeout',_0x1cd3('0x3c5'),_0x1cd3('0x372'),_0x1cd3('0x461'),'api',_0x1cd3('0x56')];angular['module']('app.whatsapp')[_0x1cd3('0x39b')]('WhatsappAccountWhatsappDispositionsController',_0x1ef1be);function _0x1ef1be(_0x43600d,_0x34a157,_0x2156a5,_0x2603da,_0x4ccd7f,_0x1e71f0,_0x4322f1,_0x533dd3,_0x9b456a,_0x1dd91f,_0x581c12){var _0x212b8f=this;_0x212b8f['currentUser']=_0x581c12[_0x1cd3('0x5d')]();_0x212b8f[_0x1cd3('0xca3')]={};_0x212b8f[_0x1cd3('0x2766')]={'count':0x0,'rows':[]};_0x212b8f[_0x1cd3('0x2767')]=[];_0x212b8f[_0x1cd3('0xd27')];_0x212b8f[_0x1cd3('0x3d4')]={'fields':'createdAt,updatedAt,id,name','limit':0xa,'page':0x1};_0x212b8f['init']=_0xcaf32f;_0x212b8f[_0x1cd3('0xe0a')]=_0x289207;_0x212b8f[_0x1cd3('0x473')]=_0x137da7;_0x212b8f[_0x1cd3('0x2768')]=_0x379035;_0x212b8f[_0x1cd3('0x2769')]=_0x3eeb85;_0x212b8f['exportSelectedWhatsappAccountWhatsappDispositions']=_0x22015d;_0x212b8f[_0x1cd3('0x276a')]=_0x4d86a1;_0x212b8f[_0x1cd3('0x276b')]=_0x560a3f;function _0xcaf32f(_0x4319bd,_0x181a2c){_0x212b8f['whatsappAccount']=_0x4319bd;_0x212b8f[_0x1cd3('0xd27')]=typeof _0x181a2c!==_0x1cd3('0x491')?_0x181a2c:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x212b8f[_0x1cd3('0x3d4')][_0x1cd3('0x1583')]=_0x212b8f[_0x1cd3('0xca3')]['id'];_0x212b8f['query']['id']=_0x212b8f[_0x1cd3('0xca3')]['id'];_0x379035();}function _0x289207(_0x287d5b,_0x179742){var _0x487b64=_0x4322f1[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x276c'))['htmlContent'](_0x1cd3('0xd51')+(_0x287d5b[_0x1cd3('0x98')]||_0x287d5b['id']&&_[_0x1cd3('0x12bc')]('whatsappDisposition\x20#')+_0x287d5b['id']||_0x1cd3('0x276d'))+_0x1cd3('0xd52')+_0x1cd3('0xd53'))['ariaLabel'](_0x1cd3('0x276e'))[_0x1cd3('0xd63')](_0x179742)['ok']('OK')[_0x1cd3('0x4d8')]('CANCEL');_0x4322f1[_0x1cd3('0x37e')](_0x487b64)['then'](function(){_0x4d86a1(_0x287d5b);},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}function _0x137da7(_0x13d64c){_0x212b8f['whatsappAccountWhatsappDispositions']=_0x13d64c||{'count':0x0,'rows':[]};}function _0x379035(){_0x212b8f[_0x1cd3('0x3d4')]['offset']=(_0x212b8f['query'][_0x1cd3('0x8fd')]-0x1)*_0x212b8f[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];_0x212b8f[_0x1cd3('0x539')]=_0x1dd91f[_0x1cd3('0xca3')][_0x1cd3('0x12db')](_0x212b8f['query'],_0x137da7)['$promise'];}function _0x3eeb85(_0xe0e0a4,_0x2ebc65){_0x4322f1[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x276f'),'controllerAs':'vm','templateUrl':_0x1cd3('0x2770'),'parent':angular['element'](_0x533dd3['body']),'targetEvent':_0xe0e0a4,'clickOutsideToClose':!![],'locals':{'whatsappAccount':_0x212b8f[_0x1cd3('0xca3')],'whatsappDisposition':_0x2ebc65,'whatsappDispositions':_0x212b8f['whatsappAccountWhatsappDispositions']['rows'],'license':null,'setting':null,'crudPermissions':_0x212b8f[_0x1cd3('0xd27')]}});}function _0x4d86a1(_0x463b6b){_0x1dd91f[_0x1cd3('0xb63')][_0x1cd3('0xa1c')]({'id':_0x463b6b['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_['remove'](_0x212b8f['whatsappAccountWhatsappDispositions'][_0x1cd3('0xf6')],{'id':_0x463b6b['id']});_0x212b8f[_0x1cd3('0x2766')][_0x1cd3('0x466')]-=0x1;if(!_0x212b8f[_0x1cd3('0x2766')][_0x1cd3('0xf6')]['length']){_0x379035();}_0x9b456a[_0x1cd3('0x473')]({'title':'WhatsappDisposition\x20deleted!','msg':_0x463b6b['name']?_0x463b6b['name']+'\x20has\x20been\x20deleted!':''});})[_0x1cd3('0xfd')](function(_0x212d15){if(_0x212d15['data']&&_0x212d15[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x212d15[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){vm[_0x1cd3('0xd34')]=_0x212d15[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x212d15[_0x1cd3('0x43b')](),'type':_0x1cd3('0x2748')}];for(var _0x15bc21=0x0;_0x15bc21<_0x212d15['data']['errors'][_0x1cd3('0x7a')];_0x15bc21++){_0x9b456a[_0x1cd3('0x434')]({'title':_0x212d15[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x15bc21]['type'],'msg':_0x212d15['data'][_0x1cd3('0xd34')][_0x15bc21][_0x1cd3('0x43a')]});}}else{_0x9b456a['error']({'title':_0x212d15[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x212d15[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x212d15[_0x1cd3('0xd35')]:_0x1cd3('0x2748'),'msg':_0x212d15[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x212d15[_0x1cd3('0x439')]['message']):_0x212d15['message']||_0x212d15['toString']()});}});}function _0x22015d(){var _0xb90430=angular[_0x1cd3('0x429')](_0x212b8f[_0x1cd3('0x2767')]);_0x212b8f[_0x1cd3('0x2767')]=[];return _0xb90430;}function _0x560a3f(_0x213dc0){var _0x189fa4=_0x4322f1[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0x2771'))[_0x1cd3('0xd60')](_0x1cd3('0xd51')+_0x212b8f[_0x1cd3('0x2767')][_0x1cd3('0x7a')]+_0x1cd3('0xd61')+_0x1cd3('0xd53'))['ariaLabel'](_0x1cd3('0x2772'))[_0x1cd3('0xd63')](_0x213dc0)['ok']('OK')['cancel'](_0x1cd3('0xd55'));_0x4322f1[_0x1cd3('0x37e')](_0x189fa4)['then'](function(){_0x212b8f[_0x1cd3('0x2767')]['forEach'](function(_0x492ed2){_0x4d86a1(_0x492ed2);});_0x212b8f[_0x1cd3('0x2767')]=[];});}var _0x535ab4=!![];var _0x268acf=0x1;_0x34a157[_0x1cd3('0x4d6')](_0x1cd3('0x1340'),function(_0xe9fc1a,_0x398d86){if(_0x535ab4){_0x1e71f0(function(){_0x535ab4=![];});}else{if(!_0x398d86){_0x268acf=_0x212b8f[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0xe9fc1a!==_0x398d86){_0x212b8f[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}if(!_0xe9fc1a){_0x212b8f[_0x1cd3('0x3d4')]['page']=_0x268acf;}_0x379035();}});}}());(function(){'use strict';_0x2c4e57['$inject']=[_0x1cd3('0x460'),'$state',_0x1cd3('0xd24'),_0x1cd3('0x3c5'),'$q',_0x1cd3('0x3f7'),_0x1cd3('0x461'),_0x1cd3('0x2773'),_0x1cd3('0x276d'),_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0x463'),_0x1cd3('0xc49'),_0x1cd3('0xd27')];angular['module']('app.whatsapp')['controller']('CreateOrEditWhatsappDispositionDialogController',_0x2c4e57);function _0x2c4e57(_0x2b5635,_0x179091,_0x30de4b,_0x298479,_0x5647a2,_0x28ac8b,_0x2f3b8a,_0x313f5c,_0xbf87ff,_0x5c3ee7,_0x4fb35b,_0x529fcd,_0x454d52,_0x48e9dc){var _0x4b84e7=this;_0x4b84e7[_0x1cd3('0x3ca')]=_0x4fb35b['getCurrentUser']();_0x4b84e7[_0x1cd3('0xd34')]=[];_0x4b84e7[_0x1cd3('0xc49')]=_0x454d52;_0x4b84e7['license']=_0x529fcd;_0x4b84e7['crudPermissions']=_0x48e9dc;_0x4b84e7[_0x1cd3('0xd28')]={};_0x4b84e7['passwordPattern']=_0x4b84e7[_0x1cd3('0xc49')]&&_0x4b84e7[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x4b84e7[_0x1cd3('0x486')]=_0x1cd3('0x2774');_0x4b84e7[_0x1cd3('0x276d')]=angular[_0x1cd3('0x429')](_0xbf87ff);_0x4b84e7[_0x1cd3('0x2773')]=_0x313f5c;_0x4b84e7[_0x1cd3('0x2775')]=![];if(!_0x4b84e7[_0x1cd3('0x276d')]){_0x4b84e7[_0x1cd3('0x276d')]={};_0x4b84e7[_0x1cd3('0x486')]=_0x1cd3('0x2776');_0x4b84e7[_0x1cd3('0x2775')]=!![];}if(_0x179091[_0x1cd3('0x36a')]['id']){_0x4b84e7[_0x1cd3('0x276d')]['WhatsappAccountId']=_0x179091[_0x1cd3('0x36a')]['id'];}_0x4b84e7[_0x1cd3('0x2777')]=_0x4e8e88;_0x4b84e7[_0x1cd3('0x2778')]=_0x1b405d;_0x4b84e7[_0x1cd3('0x2779')]=_0x4208d0;_0x4b84e7[_0x1cd3('0xd31')]=_0x4b51f9;_0x4b84e7[_0x1cd3('0x39c')]=_0x50554d;function _0x4e8e88(){_0x4b84e7[_0x1cd3('0xd34')]=[];_0x5c3ee7[_0x1cd3('0xb63')]['save'](_0x4b84e7[_0x1cd3('0x276d')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x26acdb){_0x4b84e7['whatsappDispositions']['unshift'](_0x26acdb[_0x1cd3('0xd32')]());_0x2f3b8a['success']({'title':_0x1cd3('0x277a'),'msg':_0x4b84e7[_0x1cd3('0x276d')][_0x1cd3('0x98')]?_0x4b84e7[_0x1cd3('0x276d')][_0x1cd3('0x98')]+_0x1cd3('0xd33'):''});_0x50554d(_0x26acdb);})[_0x1cd3('0xfd')](function(_0x3bdedf){if(_0x3bdedf['data']&&_0x3bdedf[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x3bdedf['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x4b84e7[_0x1cd3('0xd34')]=_0x3bdedf[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x3bdedf['toString'](),'type':_0x1cd3('0x12e8')}];for(var _0x8d3823=0x0;_0x8d3823<_0x3bdedf[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0x8d3823+=0x1){_0x2f3b8a[_0x1cd3('0x434')]({'title':_0x3bdedf[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x8d3823][_0x1cd3('0x424')],'msg':_0x3bdedf[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x8d3823][_0x1cd3('0x43a')]});}}else{_0x2f3b8a[_0x1cd3('0x434')]({'title':_0x3bdedf['status']?_0x1cd3('0x435')+_0x3bdedf[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x3bdedf[_0x1cd3('0xd35')]:_0x1cd3('0x12e8'),'msg':_0x3bdedf[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x3bdedf['data'][_0x1cd3('0x43a')]):_0x3bdedf['toString']()});}});}function _0x1b405d(){_0x4b84e7[_0x1cd3('0xd34')]=[];_0x5c3ee7[_0x1cd3('0xb63')]['update']({'id':_0x4b84e7[_0x1cd3('0x276d')]['id']},_0x4b84e7[_0x1cd3('0x276d')])[_0x1cd3('0x81')]['then'](function(_0x4f2495){var _0x46b1c1=_[_0x1cd3('0x442')](_0x4b84e7[_0x1cd3('0x2773')],{'id':_0x4f2495['id']});if(_0x46b1c1){_[_0x1cd3('0xf2')](_0x46b1c1,_['pick'](_0x4f2495[_0x1cd3('0xd32')](),_['keys'](_0x46b1c1)));}_0x2f3b8a['success']({'title':'WhatsappDisposition\x20properly\x20saved!','msg':_0x4b84e7[_0x1cd3('0x276d')][_0x1cd3('0x98')]?_0x4b84e7[_0x1cd3('0x276d')]['name']+_0x1cd3('0xd37'):''});_0x50554d(_0x4f2495);})[_0x1cd3('0xfd')](function(_0x38a272){if(_0x38a272['data']&&_0x38a272['data']['errors']&&_0x38a272['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x4b84e7[_0x1cd3('0xd34')]=_0x38a272['data'][_0x1cd3('0xd34')]||[{'message':_0x38a272[_0x1cd3('0x43b')](),'type':_0x1cd3('0x12ea')}];for(var _0x4b7acd=0x0;_0x4b7acd<_0x38a272['data'][_0x1cd3('0xd34')]['length'];_0x4b7acd++){_0x2f3b8a[_0x1cd3('0x434')]({'title':_0x38a272[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x4b7acd][_0x1cd3('0x424')],'msg':_0x38a272[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x4b7acd]['message']});}}else{_0x2f3b8a['error']({'title':_0x38a272[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x38a272[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x38a272[_0x1cd3('0xd35')]:'api.disposition.update','msg':_0x38a272[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x38a272[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x38a272[_0x1cd3('0x43b')]()});}});}function _0x4208d0(_0x13c1a7){_0x4b84e7[_0x1cd3('0xd34')]=[];var _0x2fc793=_0x298479['confirm']()[_0x1cd3('0x486')](_0x1cd3('0xd3a'))['content'](_0x1cd3('0x277b'))[_0x1cd3('0xd3d')](_0x1cd3('0x277c'))['ok'](_0x1cd3('0xd3f'))[_0x1cd3('0x4d8')]('Cancel')['targetEvent'](_0x13c1a7);_0x298479['show'](_0x2fc793)['then'](function(){_0x5c3ee7[_0x1cd3('0xb63')]['delete']({'id':_0x4b84e7['whatsappDisposition']['id']})['$promise'][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x4b84e7['whatsappDispositions'],{'id':_0x4b84e7[_0x1cd3('0x276d')]['id']});_0x2f3b8a[_0x1cd3('0x473')]({'title':_0x1cd3('0x277d'),'msg':(_0x4b84e7[_0x1cd3('0x276d')][_0x1cd3('0x98')]||_0x1cd3('0x276d'))+'\x20has\x20been\x20deleted!'});_0x50554d(_0x4b84e7[_0x1cd3('0x276d')]);})[_0x1cd3('0xfd')](function(_0x5f41e7){if(_0x5f41e7[_0x1cd3('0x439')]&&_0x5f41e7['data'][_0x1cd3('0xd34')]&&_0x5f41e7[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length']){_0x4b84e7[_0x1cd3('0xd34')]=_0x5f41e7[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x5f41e7[_0x1cd3('0x43b')](),'type':'api.disposition.delete'}];for(var _0x383700=0x0;_0x383700<_0x5f41e7['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x383700++){_0x2f3b8a[_0x1cd3('0x434')]({'title':_0x5f41e7[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x383700][_0x1cd3('0x424')],'msg':_0x5f41e7[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x383700][_0x1cd3('0x43a')]});}}else{_0x2f3b8a['error']({'title':_0x5f41e7['status']?_0x1cd3('0x435')+_0x5f41e7[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x5f41e7[_0x1cd3('0xd35')]:_0x1cd3('0x12ed'),'msg':_0x5f41e7[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x5f41e7['data']['message']):_0x5f41e7[_0x1cd3('0x43a')]||_0x5f41e7['toString']()});}});},function(){});}function _0x4b51f9(_0x31c1ad){return _0x31c1ad===null?undefined:new Date(_0x31c1ad);}function _0x50554d(_0x5e5717){_0x298479[_0x1cd3('0x39d')](_0x5e5717);}}}());(function(){'use strict';_0x8cec59[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x371'),_0x1cd3('0x53e'),_0x1cd3('0x969'),_0x1cd3('0x3c5'),'$document',_0x1cd3('0x3e7'),_0x1cd3('0x3f7'),'whatsappAccounts','userProfile',_0x1cd3('0x390'),_0x1cd3('0x370'),_0x1cd3('0x2dd'),_0x1cd3('0x461'),_0x1cd3('0x56'),_0x1cd3('0x463'),'setting'];angular['module'](_0x1cd3('0x3a'))[_0x1cd3('0x39b')]('WhatsappAccountsController',_0x8cec59);function _0x8cec59(_0x3dc3f9,_0x57c254,_0xd20d2d,_0x4c6123,_0x52b1a7,_0xe9f919,_0x1dae7a,_0x4339a8,_0x500c66,_0x5d3137,_0x2d525e,_0x4c43f3,_0x4403e6,_0x3cb531,_0x186b89,_0x35f5f4,_0x38d808){var _0x1f37ca=this;_0x1f37ca[_0x1cd3('0x463')]=_0x35f5f4;_0x1f37ca[_0x1cd3('0xc49')]=_0x38d808;_0x1f37ca[_0x1cd3('0x3ca')]=_0x186b89[_0x1cd3('0x5d')]();_0x1f37ca['whatsappAccounts']=_0x500c66||{'count':0x0,'rows':[]};_0x1f37ca[_0x1cd3('0x38a')]=_0x5d3137;_0x1f37ca[_0x1cd3('0x390')]=_0x2d525e&&_0x2d525e['count']==0x1?_0x2d525e[_0x1cd3('0xf6')][0x0]:null;_0x1f37ca[_0x1cd3('0xd27')]=_0x186b89[_0x1cd3('0xd44')](_0x1f37ca[_0x1cd3('0x390')]?_0x1f37ca['userProfileSection'][_0x1cd3('0xd27')]:null);_0x1f37ca[_0x1cd3('0xd45')]=_0x1cd3('0x15fc');_0x1f37ca[_0x1cd3('0xd46')]='';_0x1f37ca[_0x1cd3('0xd47')]=null;_0x1f37ca[_0x1cd3('0x277e')]=[];_0x1f37ca[_0x1cd3('0x3d4')]={'fields':_0x1cd3('0x352'),'sort':_0x1cd3('0x5b'),'limit':0xa,'page':0x1};_0x1f37ca[_0x1cd3('0x135a')]=_[_0x1cd3('0xe2d')]([{'option':'Twilio','value':'\x27twilio\x27'}],function(_0x2c51ec){return _[_0x1cd3('0x3f1')](_0x2c51ec[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x1f37ca['editstate']=_0x444ca1;_0x1f37ca[_0x1cd3('0x11eb')]=_0x235eb3;_0x1f37ca[_0x1cd3('0x119b')]=_0x31acab;_0x1f37ca['deleteconfirm']=_0xb621b1;_0x1f37ca['success']=_0x7b16eb;_0x1f37ca[_0x1cd3('0x15f6')]=_0x40768c;_0x1f37ca[_0x1cd3('0x277f')]=_0x4e237e;_0x1f37ca[_0x1cd3('0x271f')]=_0x252f28;_0x1f37ca[_0x1cd3('0x2780')]=_0x45c2bd;_0x1f37ca[_0x1cd3('0x2781')]=_0x5aa4d5;_0x1f37ca[_0x1cd3('0x2782')]=_0x2188f8;_0x1f37ca['selectAllWhatsappAccounts']=_0x22b5c7;_0x186b89[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x4c43f3[_0x1cd3('0xc8f')][_0x1cd3('0x361')]({'fields':'id,name','sort':_0x1cd3('0x98')})['$promise'][_0x1cd3('0x77')](function(_0x235c69){_0x1f37ca[_0x1cd3('0xf5')]=_0x235c69[_0x1cd3('0xf6')]||[];})[_0x1cd3('0xfd')](function(_0x39c7d1){_0x3cb531[_0x1cd3('0x434')]({'title':_0x39c7d1[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x39c7d1[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x39c7d1[_0x1cd3('0xd35')]:_0x1cd3('0x11f3'),'msg':_0x39c7d1[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x39c7d1['data']):_0x39c7d1['toString']()});}):_0x4c43f3['cmList'][_0x1cd3('0x361')]({'fields':_0x1cd3('0xa6'),'sort':_0x1cd3('0x98')})['$promise'][_0x1cd3('0x77')](function(_0x5e1812){_0x1f37ca[_0x1cd3('0xf5')]=_0x5e1812[_0x1cd3('0xf6')]||[];})[_0x1cd3('0x77')](function(){return _0x4c43f3['userProfileSection'][_0x1cd3('0x361')]({'userProfileId':_0x1f37ca[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'sectionId':0x12d})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x8b1ad9){var _0x18003a=_0x8b1ad9&&_0x8b1ad9[_0x1cd3('0xf6')]?_0x8b1ad9[_0x1cd3('0xf6')][0x0]:null;if(!_0x18003a){var _0xbaf1d=[];var _0x1a4d99=null;if(_0x1f37ca[_0x1cd3('0xca3')]){_0x1a4d99=_[_0x1cd3('0x442')](_0x1f37ca['lists'],{'id':Number(_0x1f37ca[_0x1cd3('0xca3')][_0x1cd3('0x106')])});}for(var _0x30e0e7=0x0;_0x30e0e7<_0x1f37ca[_0x1cd3('0xf5')][_0x1cd3('0x7a')];_0x30e0e7++){if(_0x1a4d99&&_0x1f37ca['lists'][_0x30e0e7]['id']===_0x1a4d99['id']){_0x1f37ca['lists'][_0x30e0e7]['canSelect']=![];_0xbaf1d[_0x1cd3('0x7b')](_0x1f37ca[_0x1cd3('0xf5')][_0x30e0e7]);}}_0x1f37ca[_0x1cd3('0xf5')]=_0xbaf1d;}else{if(!_0x18003a[_0x1cd3('0x391')]){return _0x4c43f3[_0x1cd3('0x392')]['get']({'sectionId':_0x18003a['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x1f1eda){var _0xf73f61=_[_0x1cd3('0x3d9')](_0x1f1eda[_0x1cd3('0xf6')],function(_0xdf9472){return _[_0x1cd3('0x442')](_0x1f37ca['lists'],{'id':_0xdf9472['resourceId']});});var _0x314d6b=null;if(_0x1f37ca['whatsappAccount']){_0x314d6b=_[_0x1cd3('0x442')](_0x1f37ca[_0x1cd3('0xf5')],{'id':Number(_0x1f37ca['whatsappAccount'][_0x1cd3('0x106')])});}if(_0x314d6b&&!_[_0x1cd3('0x38d')](_0xf73f61,['id',_0x314d6b['id']])){var _0x315de1=_['find'](_0x1f37ca[_0x1cd3('0xf5')],{'id':_0x314d6b['id']});_0x315de1[_0x1cd3('0xf4a')]=![];_0xf73f61[_0x1cd3('0x7b')](_0x315de1);}_0x1f37ca[_0x1cd3('0xf5')]=_0xf73f61;});}}})['catch'](function(_0x4cff56){_0x3cb531[_0x1cd3('0x434')]({'title':_0x4cff56[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x4cff56[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x4cff56[_0x1cd3('0xd35')]:'SYSTEM:GETlists','msg':_0x4cff56['data']?JSON[_0x1cd3('0x438')](_0x4cff56[_0x1cd3('0x439')]):_0x4cff56[_0x1cd3('0x43b')]()});});_0x186b89[_0x1cd3('0x57')]('admin')?_0x4c43f3[_0x1cd3('0x63e')][_0x1cd3('0x361')]({'fields':_0x1cd3('0x1380'),'sort':_0x1cd3('0x98'),'nolimit':'true'})['$promise'][_0x1cd3('0x77')](function(_0x4b7afd){_0x1f37ca[_0x1cd3('0x1381')]=_0x4b7afd['rows']||[];})[_0x1cd3('0xfd')](function(_0x3166fd){_0x3cb531['error']({'title':_0x3166fd[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x3166fd[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x3166fd['statusText']:_0x1cd3('0x1382'),'msg':_0x3166fd[_0x1cd3('0x439')]?JSON['stringify'](_0x3166fd[_0x1cd3('0x439')]):_0x3166fd[_0x1cd3('0x43b')]()});}):_0x4c43f3['pause']['get']({'fields':_0x1cd3('0x1380'),'sort':_0x1cd3('0x98'),'nolimit':'true'})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x2f0413){_0x1f37ca['pauses']=_0x2f0413[_0x1cd3('0xf6')]||[];})['then'](function(){return _0x4c43f3[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0x1f37ca[_0x1cd3('0x3ca')]['userProfileId'],'sectionId':0x3ed})['$promise'];})['then'](function(_0x5bc90e){var _0x346f9b=_0x5bc90e&&_0x5bc90e[_0x1cd3('0xf6')]?_0x5bc90e[_0x1cd3('0xf6')][0x0]:null;if(!_0x346f9b){_0x1f37ca['pauses']=[];}else{if(!_0x346f9b[_0x1cd3('0x391')]){return _0x4c43f3[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x346f9b['id']})[_0x1cd3('0x81')]['then'](function(_0x17aabb){var _0x21e135=_[_0x1cd3('0x3d9')](_0x17aabb[_0x1cd3('0xf6')],function(_0x14414c){return _[_0x1cd3('0x442')](_0x1f37ca[_0x1cd3('0x1381')],{'id':_0x14414c['resourceId']});});_0x1f37ca[_0x1cd3('0x1381')]['forEach'](function(_0x4c5ad0){if(!_[_0x1cd3('0x38d')](_0x21e135,['id',_0x4c5ad0['id']])){_0x4c5ad0[_0x1cd3('0xf4a')]=![];}_0x21e135[_0x1cd3('0x7b')](_0x4c5ad0);});_0x1f37ca['pauses']=_0x21e135;});}}})[_0x1cd3('0xfd')](function(_0x23b99f){_0x3cb531[_0x1cd3('0x434')]({'title':_0x23b99f[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x23b99f['status']+_0x1cd3('0x436')+_0x23b99f[_0x1cd3('0xd35')]:'SYSTEM:GETpauses','msg':_0x23b99f[_0x1cd3('0x439')]?JSON['stringify'](_0x23b99f['data']):_0x23b99f['toString']()});});function _0x444ca1(_0x1aaf86,_0x70cde0){_0xd20d2d['go']('app.whatsapp.whatsappAccounts.edit',{'id':_0x1aaf86['id'],'whatsappAccount':_0x1aaf86,'crudPermissions':_0x1f37ca[_0x1cd3('0xd27')]});}function _0x235eb3(_0x4ea927,_0x11c75c){_0xd20d2d['go']('app.whatsapp.whatsappAccounts.edit',{'id':_0x4ea927['id'],'tab':0x5});}function _0x31acab(_0x34f51a,_0x37ef8b){_0x52b1a7[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x2731'),'controllerAs':'vm','templateUrl':_0x1cd3('0x274b'),'parent':angular[_0x1cd3('0x37f')](_0xe9f919[_0x1cd3('0x380')]),'targetEvent':_0x37ef8b,'clickOutsideToClose':!![],'locals':{'whatsappAccount':_0x34f51a,'whatsappAccounts':_0x1f37ca[_0x1cd3('0x15fc')]?_0x1f37ca[_0x1cd3('0x15fc')]['rows']:[],'crudPermissions':_0x1f37ca['crudPermissions'],'realtime':![]}});}function _0xb621b1(_0x36029c,_0xf2dc){var _0x26f369=_0x52b1a7[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xd4f')+_[_0x1cd3('0xd50')](_0x1cd3('0xca3'))+'?')['htmlContent'](_0x1cd3('0xd51')+(_0x36029c['name']||_0x1cd3('0xca3'))+'</b>'+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x2783'))[_0x1cd3('0xd63')](_0xf2dc)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x52b1a7[_0x1cd3('0x37e')](_0x26f369)['then'](function(){_0x252f28(_0x36029c);},function(){console['log'](_0x1cd3('0xd55'));});}var _0x5631a9=!![];var _0x48dd97=0x1;_0x3dc3f9['$watch'](_0x1cd3('0xd56'),function(_0x493256,_0x2f3303){if(_0x5631a9){_0x1dae7a(function(){_0x5631a9=![];});}else{if(!_0x2f3303){_0x48dd97=_0x1f37ca[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0x493256!==_0x2f3303){_0x1f37ca[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}if(!_0x493256){_0x1f37ca[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0x48dd97;}_0x1f37ca[_0x1cd3('0x15f6')]();}});function _0x7b16eb(_0x263876){_0x1f37ca['whatsappAccounts']=_0x263876||{'count':0x0,'rows':[]};}function _0x40768c(){_0x1f37ca['query']['offset']=(_0x1f37ca[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0x1f37ca[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];if(_0x186b89[_0x1cd3('0x57')](_0x1cd3('0x5f'))){_0x1f37ca[_0x1cd3('0x539')]=_0x4c43f3[_0x1cd3('0xca3')][_0x1cd3('0x361')](_0x1f37ca[_0x1cd3('0x3d4')],_0x7b16eb)[_0x1cd3('0x81')];}else{_0x1f37ca[_0x1cd3('0x3d4')]['id']=_0x1f37ca['userProfile']['id'];_0x1f37ca[_0x1cd3('0x3d4')]['section']='WhatsappAccounts';_0x1f37ca[_0x1cd3('0x539')]=_0x4c43f3[_0x1cd3('0x38a')][_0x1cd3('0xd59')](_0x1f37ca['query'],_0x7b16eb)['$promise'];}}function _0x4e237e(_0x21c41a,_0x5e33bc){_0x52b1a7['show']({'controller':'CreateOrEditWhatsappAccountDialogController','controllerAs':'vm','templateUrl':'app/main/apps/whatsapp/views/whatsappAccounts/create/dialog.html','parent':angular[_0x1cd3('0x37f')](_0xe9f919[_0x1cd3('0x380')]),'targetEvent':_0x21c41a,'clickOutsideToClose':!![],'locals':{'whatsappAccount':_0x5e33bc,'whatsappAccounts':_0x1f37ca[_0x1cd3('0x15fc')][_0x1cd3('0xf6')],'license':_0x1f37ca['license'],'setting':_0x1f37ca[_0x1cd3('0xc49')],'crudPermissions':_0x1f37ca[_0x1cd3('0xd27')]}});}function _0x252f28(_0x54ee4a){_0x4c43f3[_0x1cd3('0xca3')][_0x1cd3('0xa1c')]({'id':_0x54ee4a['id']})['$promise']['then'](function(){_[_0x1cd3('0x383')](_0x1f37ca[_0x1cd3('0x15fc')][_0x1cd3('0xf6')],{'id':_0x54ee4a['id']});_0x1f37ca[_0x1cd3('0x15fc')][_0x1cd3('0x466')]-=0x1;if(!_0x1f37ca[_0x1cd3('0x15fc')]['rows'][_0x1cd3('0x7a')]){_0x1f37ca['getWhatsappAccounts']();}_0x3cb531[_0x1cd3('0x473')]({'title':_[_0x1cd3('0xd50')](_0x1cd3('0x2784'))+_0x1cd3('0xd5c'),'msg':_0x54ee4a[_0x1cd3('0x98')]?_0x54ee4a[_0x1cd3('0x98')]+'\x20has\x20been\x20deleted!':''});})['catch'](function(_0x5d2218){if(_0x5d2218[_0x1cd3('0x439')]&&_0x5d2218[_0x1cd3('0x439')]['errors']&&_0x5d2218[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x1f37ca[_0x1cd3('0xd34')]=_0x5d2218[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x5d2218[_0x1cd3('0x43b')](),'type':_0x1cd3('0x2785')}];for(var _0x9c7422=0x0;_0x9c7422<_0x5d2218[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x9c7422++){_0x3cb531[_0x1cd3('0x434')]({'title':_0x5d2218[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x9c7422]['type'],'msg':_0x5d2218[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x9c7422][_0x1cd3('0x43a')]});}}else{_0x3cb531[_0x1cd3('0x434')]({'title':_0x5d2218[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x5d2218['status']+_0x1cd3('0x436')+_0x5d2218[_0x1cd3('0xd35')]:'SYSTEM:DELETEwhatsappAccount','msg':_0x5d2218['data']?JSON[_0x1cd3('0x438')](_0x5d2218['data']['message']):_0x5d2218[_0x1cd3('0x43a')]||_0x5d2218[_0x1cd3('0x43b')]()});}});}function _0x45c2bd(){var _0x97484=angular[_0x1cd3('0x429')](_0x1f37ca['selectedWhatsappAccounts']);_0x1f37ca[_0x1cd3('0x277e')]=[];return _0x97484;}function _0x5aa4d5(_0x1819c7){var _0x2dc437=_0x52b1a7['confirm']()['title'](_0x1cd3('0x2786'))[_0x1cd3('0xd60')]('<b>'+_0x1f37ca[_0x1cd3('0x277e')][_0x1cd3('0x7a')]+'\x20selected</b>'+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x2787'))[_0x1cd3('0xd63')](_0x1819c7)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x52b1a7[_0x1cd3('0x37e')](_0x2dc437)['then'](function(){_0x1f37ca[_0x1cd3('0x277e')]['forEach'](function(_0x391a62){_0x252f28(_0x391a62);});_0x1f37ca[_0x1cd3('0x277e')]=[];});}function _0x2188f8(){_0x1f37ca[_0x1cd3('0x277e')]=[];}function _0x22b5c7(){_0x1f37ca[_0x1cd3('0x277e')]=_0x1f37ca['whatsappAccounts'][_0x1cd3('0xf6')];}}}());(function(){'use strict';_0x4e1c99[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x53e'),_0x1cd3('0xd24'),'$mdDialog','$q',_0x1cd3('0x3f7'),_0x1cd3('0x461'),'whatsappQueues',_0x1cd3('0xcbf'),_0x1cd3('0x370'),_0x1cd3('0x56'),_0x1cd3('0x463'),_0x1cd3('0xc49'),_0x1cd3('0xd27')];angular['module'](_0x1cd3('0x3a'))[_0x1cd3('0x39b')](_0x1cd3('0x2715'),_0x4e1c99);function _0x4e1c99(_0x5ef175,_0x57b168,_0xb31c6d,_0x274b91,_0x1738ba,_0x5d1b26,_0x3be605,_0x15b2bd,_0x23bd18,_0x193f09,_0x4428e0,_0x1ed2c6,_0xaa8208,_0xf2a588){var _0x3e17c6=this;_0x3e17c6['currentUser']=_0x4428e0[_0x1cd3('0x5d')]();_0x3e17c6[_0x1cd3('0xd34')]=[];_0x3e17c6[_0x1cd3('0xc49')]=_0xaa8208;_0x3e17c6[_0x1cd3('0x463')]=_0x1ed2c6;_0x3e17c6[_0x1cd3('0xd27')]=_0xf2a588;_0x3e17c6[_0x1cd3('0xd28')]={};_0x3e17c6[_0x1cd3('0xd29')]=_0x3e17c6[_0x1cd3('0xc49')]&&_0x3e17c6['setting'][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x3e17c6[_0x1cd3('0x486')]='WHATSAPP.EDIT_WHATSAPPQUEUE';_0x3e17c6[_0x1cd3('0xcbf')]=angular[_0x1cd3('0x429')](_0x23bd18);_0x3e17c6[_0x1cd3('0x1731')]=_0x15b2bd;_0x3e17c6[_0x1cd3('0x2788')]=![];if(!_0x3e17c6[_0x1cd3('0xcbf')]){_0x3e17c6[_0x1cd3('0xcbf')]={'strategy':_0x1cd3('0x11b2'),'timeout':0xa};_0x3e17c6[_0x1cd3('0x486')]=_0x1cd3('0x2789');_0x3e17c6['newWhatsappQueue']=!![];}_0x3e17c6[_0x1cd3('0x278a')]=_0x4dc658;_0x3e17c6[_0x1cd3('0x278b')]=_0x22b8e5;_0x3e17c6['deleteWhatsappQueue']=_0x4cf492;_0x3e17c6['getDateFromString']=_0x21598b;_0x3e17c6[_0x1cd3('0x39c')]=_0xeed860;function _0x4dc658(){_0x3e17c6[_0x1cd3('0xd34')]=[];_0x193f09[_0x1cd3('0xcbf')][_0x1cd3('0xd6d')](_0x3e17c6['whatsappQueue'])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x3742e2){_0x3e17c6['whatsappQueues'][_0x1cd3('0x621')](_0x3742e2[_0x1cd3('0xd32')]());_0x3be605[_0x1cd3('0x473')]({'title':'WhatsappQueue\x20properly\x20created','msg':_0x3e17c6[_0x1cd3('0xcbf')]['name']?_0x3e17c6[_0x1cd3('0xcbf')]['name']+_0x1cd3('0xd33'):''});_0xeed860(_0x3742e2);})[_0x1cd3('0xfd')](function(_0x56bff0){if(_0x56bff0[_0x1cd3('0x439')]&&_0x56bff0[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0x56bff0[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')]){_0x3e17c6[_0x1cd3('0xd34')]=_0x56bff0[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x56bff0[_0x1cd3('0x43b')](),'type':_0x1cd3('0x278c')}];for(var _0x12bfc7=0x0;_0x12bfc7<_0x56bff0[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x12bfc7+=0x1){_0x3be605[_0x1cd3('0x434')]({'title':_0x56bff0['data'][_0x1cd3('0xd34')][_0x12bfc7]['type'],'msg':_0x56bff0[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x12bfc7][_0x1cd3('0x43a')]});}}else{_0x3be605[_0x1cd3('0x434')]({'title':_0x56bff0[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x56bff0['status']+'\x20-\x20'+_0x56bff0['statusText']:_0x1cd3('0x278c'),'msg':_0x56bff0[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x56bff0[_0x1cd3('0x439')]['message']):_0x56bff0[_0x1cd3('0x43b')]()});}});}function _0x22b8e5(){_0x3e17c6[_0x1cd3('0xd34')]=[];_0x193f09[_0x1cd3('0xcbf')]['update']({'id':_0x3e17c6[_0x1cd3('0xcbf')]['id']},_0x3e17c6[_0x1cd3('0xcbf')])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x2bbfef){var _0x1e2447=_[_0x1cd3('0x442')](_0x3e17c6[_0x1cd3('0x1731')],{'id':_0x2bbfef['id']});if(_0x1e2447){_[_0x1cd3('0xf2')](_0x1e2447,_[_0x1cd3('0x5e8')](_0x2bbfef[_0x1cd3('0xd32')](),_[_0x1cd3('0x80')](_0x1e2447)));}_0x3be605[_0x1cd3('0x473')]({'title':_0x1cd3('0x278d'),'msg':_0x3e17c6[_0x1cd3('0xcbf')][_0x1cd3('0x98')]?_0x3e17c6[_0x1cd3('0xcbf')][_0x1cd3('0x98')]+_0x1cd3('0xd37'):''});_0xeed860(_0x2bbfef);})[_0x1cd3('0xfd')](function(_0x55f839){if(_0x55f839['data']&&_0x55f839['data'][_0x1cd3('0xd34')]&&_0x55f839[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x3e17c6[_0x1cd3('0xd34')]=_0x55f839[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x55f839['toString'](),'type':_0x1cd3('0x278e')}];for(var _0x5ef756=0x0;_0x5ef756<_0x55f839[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x5ef756++){_0x3be605[_0x1cd3('0x434')]({'title':_0x55f839[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x5ef756][_0x1cd3('0x424')],'msg':_0x55f839[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x5ef756][_0x1cd3('0x43a')]});}}else{_0x3be605[_0x1cd3('0x434')]({'title':_0x55f839[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x55f839[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x55f839[_0x1cd3('0xd35')]:_0x1cd3('0x278e'),'msg':_0x55f839[_0x1cd3('0x439')]?JSON['stringify'](_0x55f839[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x55f839[_0x1cd3('0x43b')]()});}});}function _0x4cf492(_0x318342){_0x3e17c6[_0x1cd3('0xd34')]=[];var _0x44b201=_0x274b91[_0x1cd3('0xd39')]()['title'](_0x1cd3('0xd3a'))[_0x1cd3('0xd3b')](_0x1cd3('0x278f'))[_0x1cd3('0xd3d')]('Delete\x20WhatsappQueue')['ok'](_0x1cd3('0xd3f'))[_0x1cd3('0x4d8')](_0x1cd3('0x674'))['targetEvent'](_0x318342);_0x274b91[_0x1cd3('0x37e')](_0x44b201)[_0x1cd3('0x77')](function(){_0x193f09[_0x1cd3('0xcbf')][_0x1cd3('0xa1c')]({'id':_0x3e17c6[_0x1cd3('0xcbf')]['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x3e17c6['whatsappQueues'],{'id':_0x3e17c6[_0x1cd3('0xcbf')]['id']});_0x3be605['success']({'title':'WhatsappQueue\x20properly\x20deleted!','msg':(_0x3e17c6[_0x1cd3('0xcbf')]['name']||_0x1cd3('0xcbf'))+'\x20has\x20been\x20deleted!'});_0xeed860(_0x3e17c6[_0x1cd3('0xcbf')]);})[_0x1cd3('0xfd')](function(_0x24312b){if(_0x24312b[_0x1cd3('0x439')]&&_0x24312b['data'][_0x1cd3('0xd34')]&&_0x24312b[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x3e17c6['errors']=_0x24312b['data'][_0x1cd3('0xd34')]||[{'message':_0x24312b[_0x1cd3('0x43b')](),'type':'api.whatsappQueue.delete'}];for(var _0x3afe42=0x0;_0x3afe42<_0x24312b[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0x3afe42++){_0x3be605[_0x1cd3('0x434')]({'title':_0x24312b[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x3afe42][_0x1cd3('0x424')],'msg':_0x24312b['data'][_0x1cd3('0xd34')][_0x3afe42][_0x1cd3('0x43a')]});}}else{_0x3be605[_0x1cd3('0x434')]({'title':_0x24312b[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x24312b[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x24312b[_0x1cd3('0xd35')]:_0x1cd3('0x2790'),'msg':_0x24312b[_0x1cd3('0x439')]?JSON['stringify'](_0x24312b[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x24312b[_0x1cd3('0x43a')]||_0x24312b[_0x1cd3('0x43b')]()});}});},function(){});}function _0x21598b(_0xe86249){return _0xe86249===null?undefined:new Date(_0xe86249);}function _0xeed860(_0x22ced6){_0x274b91['hide'](_0x22ced6);}}}());(function(){'use strict';_0x24134d[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),'$q',_0x1cd3('0x461'),_0x1cd3('0x370'),_0x1cd3('0xcbf'),'whatsappQueues',_0x1cd3('0x11b9'),_0x1cd3('0x3f7'),'Auth',_0x1cd3('0xd27')];angular['module']('app.whatsapp')['controller'](_0x1cd3('0x2717'),_0x24134d);function _0x24134d(_0x39d7ca,_0x3cf67f,_0x5a5c2b,_0x3fec1a,_0x3cb75d,_0x251b76,_0x4df643,_0x5bdd1e,_0x180849,_0x19f56e){var _0x323acd=this;_0x323acd[_0x1cd3('0x3ca')]=_0x180849[_0x1cd3('0x5d')]();_0x323acd[_0x1cd3('0xcbf')]=_0x3cb75d;_0x323acd[_0x1cd3('0xd27')]=_0x19f56e;_0x323acd[_0x1cd3('0x11b9')]=_0x4df643;_0x323acd['items']=[];_0x323acd[_0x1cd3('0x11ba')]=[];_0x323acd['selectedItems']=[];_0x323acd[_0x1cd3('0x11bb')]=[];_0x323acd[_0x1cd3('0x11be')]=[];_0x323acd['pendingChanges']=![];_0x323acd[_0x1cd3('0x703')]=_0x936c7a;_0x323acd[_0x1cd3('0x11bc')]=_0x5acb0c;_0x323acd['closeDialog']=_0x55e1df;_0x323acd[_0x1cd3('0x1145')]={'readOnly':!_0x323acd[_0x1cd3('0xd27')][_0x1cd3('0xe3b')],'items':[],'selectedItems':[],'showSelectAndDeselectAll':!![],'orderBy':_0x1cd3('0x98'),'line1':_0x1cd3('0xd3'),'line2':['name',_0x1cd3('0x311')],'line3':'','labelAll':_0x5bdd1e[_0x1cd3('0x44a')](_0x1cd3('0x2732')),'labelSelected':_0x5bdd1e[_0x1cd3('0x44a')](_0x1cd3('0x2791')),'transferCallback':function(_0x3c7715,_0x3c8ec1){var _0x2d95b8=_[_0x1cd3('0x11c8')](_0x323acd[_0x1cd3('0x11be')],_0x323acd[_0x1cd3('0x492')],'id');_0x323acd[_0x1cd3('0x11c6')]=_[_0x1cd3('0x398')](_0x2d95b8)?![]:!![];}};function _0x936c7a(){return _0x180849[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x55c390()[_0x1cd3('0xfd')](function(_0x9ccf71){_0x5a5c2b['error']({'title':_0x9ccf71[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x9ccf71[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x9ccf71['statusText']:_0x1cd3('0x11bf'),'msg':_0x9ccf71['status']?JSON[_0x1cd3('0x438')](_0x9ccf71[_0x1cd3('0x439')]):_0x9ccf71[_0x1cd3('0x43b')]()});}):_0xaf0d19()[_0x1cd3('0x77')](function(_0x45bff6){_0x323acd[_0x1cd3('0xd58')]=_0x45bff6;return _0x55c390();})[_0x1cd3('0xfd')](function(_0x127167){_0x5a5c2b['error']({'title':_0x127167['status']?_0x1cd3('0x435')+_0x127167[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x127167[_0x1cd3('0xd35')]:'SYSTEM:GET_AGENTS','msg':_0x127167[_0x1cd3('0x3a6')]?JSON[_0x1cd3('0x438')](_0x127167['data']):_0x127167[_0x1cd3('0x43b')]()});});}function _0xaf0d19(){return _0x3cf67f(function(_0x294b34,_0x27c7c1){_0x3fec1a['userProfileSection'][_0x1cd3('0x361')]({'userProfileId':_0x323acd[_0x1cd3('0x3ca')][_0x1cd3('0x5e')],'name':_0x1cd3('0xd4')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x35f966){var _0x4694cc=_0x35f966&&_0x35f966[_0x1cd3('0xf6')]?_0x35f966['rows'][0x0]:null;_0x294b34(_0x4694cc);})[_0x1cd3('0xfd')](function(_0x24a684){_0x27c7c1(_0x24a684);});});}function _0x55c390(){return _0x3cf67f(function(_0xa9a4c,_0x2203ac){return _0x1a3a02()[_0x1cd3('0x77')](function(_0x11f44c){_0x323acd[_0x1cd3('0x493')]=_0x11f44c['rows']?_0x11f44c[_0x1cd3('0xf6')]:[];if(_0x180849[_0x1cd3('0x57')](_0x1cd3('0x5f'))){return _0x11f44c;}else{if(_0x323acd['section']){return _0x323acd['section']['autoAssociation']?_0x11f44c:_0x28d5c2();}else{return null;}}})['then'](function(_0x15c37c){var _0x187e12=_0x15c37c&&_0x15c37c[_0x1cd3('0xf6')]?_0x15c37c[_0x1cd3('0xf6')]:[];_0x323acd[_0x1cd3('0x11ba')]=_[_0x1cd3('0x3d9')](_0x187e12,function(_0x21e006){return _[_0x1cd3('0x442')](_0x323acd[_0x1cd3('0x493')],{'id':_0x180849[_0x1cd3('0x57')](_0x1cd3('0x5f'))||_0x323acd['section'][_0x1cd3('0x391')]?_0x21e006['id']:_0x21e006[_0x1cd3('0xe8e')]});});_0x323acd[_0x1cd3('0x11bb')]=angular[_0x1cd3('0x429')](_0x323acd[_0x1cd3('0x11ba')]);_0x323acd[_0x1cd3('0x493')][_0x1cd3('0x394')](function(_0x4b7ad2){var _0x26cb69=_[_0x1cd3('0x442')](_0x323acd[_0x1cd3('0x11ba')],{'id':_0x4b7ad2['id']});if(_0x180849[_0x1cd3('0x57')](_0x1cd3('0x5f'))){_0x4b7ad2[_0x1cd3('0x490')]=!![];}else{_0x4b7ad2['isValid']=typeof _0x26cb69!==_0x1cd3('0x491')?!![]:![];}});return _0x3e5ca5();})[_0x1cd3('0x77')](function(_0xac6ce1){var _0x2ebb45=_0xac6ce1&&_0xac6ce1['rows']?_0xac6ce1[_0x1cd3('0xf6')]:[];_0x323acd[_0x1cd3('0x492')]=_[_0x1cd3('0x3d9')](_0x2ebb45,function(_0x28756d){var _0x523562=_[_0x1cd3('0x442')](_0x323acd['items'],{'id':_0x28756d['id']});_0x523562[_0x1cd3('0x1146')]=_0x28756d[_0x1cd3('0x2792')]?_0x1cd3('0x1503')+_0x28756d[_0x1cd3('0x2792')][_0x1cd3('0x1146')]:'';_0x523562[_0x1cd3('0x311')]=_0x28756d['hasOwnProperty'](_0x1cd3('0x311'))?'<'+_0x28756d[_0x1cd3('0x311')]+'>':'';return _0x523562;});_0x323acd[_0x1cd3('0x11be')]=angular[_0x1cd3('0x429')](_0x323acd['selectedItems']);_0x323acd[_0x1cd3('0x1145')]['selectedItems']=_0x323acd['selectedItems'];_0x323acd['dualMultiselectOptions'][_0x1cd3('0x493')]=_[_0x1cd3('0x1152')](_0x323acd[_0x1cd3('0x11ba')],_0x323acd[_0x1cd3('0x1145')][_0x1cd3('0x492')],'id');_0xa9a4c();})[_0x1cd3('0xfd')](function(_0x2b882e){_0x2203ac(_0x2b882e);});});}function _0x28d5c2(){return _0x3cf67f(function(_0x2a8471,_0xf43ad6){return _0x3fec1a[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0x323acd['section']['id'],'nolimit':!![]})[_0x1cd3('0x81')]['then'](function(_0x40100c){_0x2a8471(_0x40100c);})[_0x1cd3('0xfd')](function(_0x225daa){_0xf43ad6(_0x225daa);});});}function _0x3e5ca5(){return _0x3cf67f(function(_0x59792a,_0x380efa){return _0x3fec1a[_0x1cd3('0xcbf')]['getAgents']({'id':_0x323acd['whatsappQueue']['id'],'fields':_0x1cd3('0x11c1'),'nolimit':!![],'role':_0x1cd3('0xd2')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x4e9f79){_0x59792a(_0x4e9f79);})[_0x1cd3('0xfd')](function(_0x1ba563){_0x380efa(_0x1ba563);});});}function _0x1a3a02(){return _0x3cf67f(function(_0x479565,_0x1085b8){return _0x3fec1a[_0x1cd3('0x368')][_0x1cd3('0x361')]({'fields':_0x1cd3('0x11c1'),'nolimit':!![],'role':_0x1cd3('0xd2')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x3eadec){_0x479565(_0x3eadec);})[_0x1cd3('0xfd')](function(_0x471c0f){_0x1085b8(_0x471c0f);});});}function _0x15a4ef(_0x4ab156){return _0x3cf67f(function(_0x341694,_0x37f47b){if(_[_0x1cd3('0x398')](_0x4ab156)){_0x341694();}else{_0x3fec1a[_0x1cd3('0xcbf')][_0x1cd3('0x11c2')]({'id':_0x323acd['whatsappQueue']['id'],'ids':_[_0x1cd3('0x3d9')](_0x4ab156,'id')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x341694();})[_0x1cd3('0xfd')](function(_0x4f08a8){_0x37f47b(_0x4f08a8);});}});}function _0x5d7996(_0x20ff51){return _0x3cf67f(function(_0x1cfea3,_0x1cafba){if(_[_0x1cd3('0x398')](_0x20ff51)){_0x1cfea3();}else{_0x3fec1a[_0x1cd3('0xcbf')][_0x1cd3('0x11c3')]({'id':_0x323acd['whatsappQueue']['id'],'ids':_['map'](_0x20ff51,'id')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x1cfea3();})[_0x1cd3('0xfd')](function(_0x202c97){_0x1cafba(_0x202c97);});}});}function _0x5acb0c(){var _0xf843=_[_0x1cd3('0x1152')](_0x323acd[_0x1cd3('0x11be')],_0x323acd[_0x1cd3('0x492')],'id');var _0x2d39ba=_[_0x1cd3('0x1152')](_0x323acd[_0x1cd3('0x492')],_0x323acd[_0x1cd3('0x11be')],'id');return _0x5d7996(_0xf843)[_0x1cd3('0x77')](function(){return _0x15a4ef(_0x2d39ba);})['then'](function(){_0x323acd['pendingChanges']=![];_0x323acd[_0x1cd3('0x11bb')]=angular[_0x1cd3('0x429')](_0x323acd[_0x1cd3('0x11ba')]);_0x323acd[_0x1cd3('0x11be')]=angular[_0x1cd3('0x429')](_0x323acd[_0x1cd3('0x492')]);_0x5a5c2b[_0x1cd3('0x473')]({'title':_0x1cd3('0x11c4'),'msg':_0x1cd3('0x11c5')});})['catch'](function(_0x51c11b){_0x5a5c2b[_0x1cd3('0x434')]({'title':_0x51c11b['status']?_0x1cd3('0x435')+_0x51c11b[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x51c11b['statusText']:_0x1cd3('0x11ce'),'msg':_0x51c11b[_0x1cd3('0x3a6')]?JSON[_0x1cd3('0x438')](_0x51c11b[_0x1cd3('0x439')]):_0x51c11b[_0x1cd3('0x43b')]()});});}function _0x55e1df(){_0x39d7ca[_0x1cd3('0x39d')]();}}}());(function(){'use strict';_0x49c735[_0x1cd3('0xc')]=[_0x1cd3('0x3c5'),'$q',_0x1cd3('0x461'),_0x1cd3('0x370'),'whatsappQueue',_0x1cd3('0x3f7'),'Auth',_0x1cd3('0xd27')];angular[_0x1cd3('0x0')]('app.whatsapp')[_0x1cd3('0x39b')](_0x1cd3('0x2793'),_0x49c735);function _0x49c735(_0xa338ff,_0x28e9db,_0x7243b6,_0x2be9d7,_0x29f6a0,_0x29204e,_0x2bcd57,_0x537592){var _0xd4a17f=this;_0xd4a17f[_0x1cd3('0x3ca')]=_0x2bcd57[_0x1cd3('0x5d')]();_0xd4a17f[_0x1cd3('0xcbf')]=_0x29f6a0;_0xd4a17f['crudPermissions']=_0x537592;_0xd4a17f[_0x1cd3('0x493')]=[];_0xd4a17f[_0x1cd3('0x11ba')]=[];_0xd4a17f[_0x1cd3('0x492')]=[];_0xd4a17f['startingAllowedItems']=[];_0xd4a17f[_0x1cd3('0x11be')]=[];_0xd4a17f[_0x1cd3('0x11c6')]=![];_0xd4a17f[_0x1cd3('0x1145')]={'readOnly':!_0xd4a17f[_0x1cd3('0xd27')]['canEdit'],'allowedItems':[],'selectedItems':[],'showSelectAndDeselectAll':!![],'orderBy':_0x1cd3('0x98'),'line1':_0x1cd3('0x98'),'line2':'','line3':'','labelAll':_0x29204e[_0x1cd3('0x44a')](_0x1cd3('0x2794')),'labelSelected':_0x29204e[_0x1cd3('0x44a')]('WHATSAPP.SELECTED_TEAMS'),'transferCallback':function(_0x1c47ca,_0x238163){var _0x2e059a=_['xorBy'](_0xd4a17f[_0x1cd3('0x11be')],_0xd4a17f[_0x1cd3('0x492')],'id');_0xd4a17f[_0x1cd3('0x11c6')]=_[_0x1cd3('0x398')](_0x2e059a)?![]:!![];}};_0xd4a17f['onInit']=_0xd305fc;_0xd4a17f[_0x1cd3('0x1968')]=_0x4d81a3;_0xd4a17f['closeDialog']=_0x56f216;function _0xd305fc(){return _0x2bcd57[_0x1cd3('0x57')](_0x1cd3('0x5f'))?_0x527075()[_0x1cd3('0xfd')](function(_0x1558b6){_0x7243b6[_0x1cd3('0x434')]({'title':_0x1558b6[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x1558b6[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x1558b6[_0x1cd3('0xd35')]:_0x1cd3('0x11c9'),'msg':_0x1558b6[_0x1cd3('0x3a6')]?JSON['stringify'](_0x1558b6['data']):_0x1558b6[_0x1cd3('0x43b')]()});}):_0x5057da()[_0x1cd3('0x77')](function(_0x5a0217){_0xd4a17f[_0x1cd3('0xd58')]=_0x5a0217;return _0x527075();})['catch'](function(_0x15535f){_0x7243b6[_0x1cd3('0x434')]({'title':_0x15535f[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x15535f[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x15535f['statusText']:_0x1cd3('0x11c9'),'msg':_0x15535f[_0x1cd3('0x3a6')]?JSON[_0x1cd3('0x438')](_0x15535f[_0x1cd3('0x439')]):_0x15535f[_0x1cd3('0x43b')]()});});}function _0x5057da(){return _0x28e9db(function(_0x102443,_0x37df2d){_0x2be9d7[_0x1cd3('0x390')][_0x1cd3('0x361')]({'userProfileId':_0xd4a17f['currentUser'][_0x1cd3('0x5e')],'name':_0x1cd3('0x296')})[_0x1cd3('0x81')]['then'](function(_0x15fcfd){var _0x33baee=_0x15fcfd&&_0x15fcfd['rows']?_0x15fcfd['rows'][0x0]:null;_0x102443(_0x33baee);})[_0x1cd3('0xfd')](function(_0x584a63){_0x37df2d(_0x584a63);});});}function _0x527075(){return _0x28e9db(function(_0xd80db5,_0x234d30){return _0x1ea397()[_0x1cd3('0x77')](function(_0x506eea){_0xd4a17f[_0x1cd3('0x493')]=_0x506eea['rows']?_0x506eea[_0x1cd3('0xf6')]:[];if(_0x2bcd57['hasRole'](_0x1cd3('0x5f'))){return _0x506eea;}else{if(_0xd4a17f['section']){return _0xd4a17f[_0x1cd3('0xd58')][_0x1cd3('0x391')]?_0x506eea:_0x44095c();}else{return null;}}})[_0x1cd3('0x77')](function(_0x5addd4){var _0x4ca847=_0x5addd4&&_0x5addd4[_0x1cd3('0xf6')]?_0x5addd4[_0x1cd3('0xf6')]:[];_0xd4a17f[_0x1cd3('0x11ba')]=_[_0x1cd3('0x3d9')](_0x4ca847,function(_0x262a83){return _[_0x1cd3('0x442')](_0xd4a17f[_0x1cd3('0x493')],{'id':_0x2bcd57[_0x1cd3('0x57')](_0x1cd3('0x5f'))||_0xd4a17f[_0x1cd3('0xd58')][_0x1cd3('0x391')]?_0x262a83['id']:_0x262a83[_0x1cd3('0xe8e')]});});_0xd4a17f['items'][_0x1cd3('0x394')](function(_0x1dd12a){var _0x8aa5c7=_[_0x1cd3('0x442')](_0xd4a17f['allowedItems'],{'id':_0x1dd12a['id']});if(_0x2bcd57[_0x1cd3('0x57')](_0x1cd3('0x5f'))){_0x1dd12a[_0x1cd3('0x490')]=!![];}else{_0x1dd12a['isValid']=typeof _0x8aa5c7!=='undefined'?!![]:![];}});return _0x50b676();})['then'](function(_0x6df68c){var _0x3613e7=_0x6df68c&&_0x6df68c['rows']?_0x6df68c[_0x1cd3('0xf6')]:[];_0xd4a17f['selectedItems']=_[_0x1cd3('0x3d9')](_0x3613e7,function(_0x2bfb84){return _['find'](_0xd4a17f[_0x1cd3('0x493')],{'id':_0x2bfb84['id']});});_0xd4a17f['startingSelectedItems']=angular[_0x1cd3('0x429')](_0xd4a17f[_0x1cd3('0x492')]);_0xd4a17f[_0x1cd3('0x1145')][_0x1cd3('0x492')]=_0xd4a17f[_0x1cd3('0x492')];_0xd4a17f[_0x1cd3('0x1145')]['items']=_[_0x1cd3('0x1152')](_0xd4a17f['allowedItems'],_0xd4a17f[_0x1cd3('0x1145')][_0x1cd3('0x492')],'id');_0xd80db5();})[_0x1cd3('0xfd')](function(_0xfa0686){_0x234d30(_0xfa0686);});});}function _0x44095c(){return _0x28e9db(function(_0x370616,_0x56898){return _0x2be9d7[_0x1cd3('0x392')][_0x1cd3('0x361')]({'sectionId':_0xd4a17f[_0x1cd3('0xd58')]['id'],'nolimit':!![]})['$promise'][_0x1cd3('0x77')](function(_0xf850c7){_0x370616(_0xf850c7);})[_0x1cd3('0xfd')](function(_0x7086c7){_0x56898(_0x7086c7);});});}function _0x50b676(){return _0x28e9db(function(_0x28aabc,_0x286418){return _0x2be9d7['whatsappQueue'][_0x1cd3('0x11ca')]({'id':_0xd4a17f[_0x1cd3('0xcbf')]['id'],'fields':_0x1cd3('0xa6'),'nolimit':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x4f0f1e){_0x28aabc(_0x4f0f1e);})['catch'](function(_0x531e7a){_0x286418(_0x531e7a);});});}function _0x1ea397(){return _0x28e9db(function(_0x35a97a,_0x274449){return _0x2be9d7[_0x1cd3('0xc61')]['get']({'fields':'id,name','nolimit':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x1c1c86){_0x35a97a(_0x1c1c86);})[_0x1cd3('0xfd')](function(_0x8186bc){_0x274449(_0x8186bc);});});}function _0x271dbc(_0x59cba2){return _0x28e9db(function(_0x202ca4,_0x13f1ca){if(_[_0x1cd3('0x398')](_0x59cba2)){_0x202ca4();}else{_0x2be9d7[_0x1cd3('0xcbf')][_0x1cd3('0x11cb')]({'id':_0xd4a17f[_0x1cd3('0xcbf')]['id'],'ids':_[_0x1cd3('0x3d9')](_0x59cba2,'id')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x202ca4();})[_0x1cd3('0xfd')](function(_0x765148){_0x13f1ca(_0x765148);});}});}function _0x58d20a(_0x4a234a){return _0x28e9db(function(_0x4307cf,_0x29de24){if(_[_0x1cd3('0x398')](_0x4a234a)){_0x4307cf();}else{_0x2be9d7[_0x1cd3('0xcbf')][_0x1cd3('0x11cc')]({'id':_0xd4a17f[_0x1cd3('0xcbf')]['id'],'ids':_[_0x1cd3('0x3d9')](_0x4a234a,'id')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x4307cf();})[_0x1cd3('0xfd')](function(_0x59cc76){_0x29de24(_0x59cc76);});}});}function _0x4d81a3(){var _0x11d721=_['differenceBy'](_0xd4a17f[_0x1cd3('0x11be')],_0xd4a17f[_0x1cd3('0x492')],'id');var _0x4c4a3a=_[_0x1cd3('0x1152')](_0xd4a17f['selectedItems'],_0xd4a17f[_0x1cd3('0x11be')],'id');return _0x58d20a(_0x11d721)['then'](function(){return _0x271dbc(_0x4c4a3a);})[_0x1cd3('0x77')](function(){_0xd4a17f[_0x1cd3('0x11c6')]=![];_0xd4a17f['startingAllowedItems']=angular[_0x1cd3('0x429')](_0xd4a17f['allowedItems']);_0xd4a17f[_0x1cd3('0x11be')]=angular[_0x1cd3('0x429')](_0xd4a17f[_0x1cd3('0x492')]);_0x7243b6['success']({'title':_0x1cd3('0x11c4'),'msg':_0x1cd3('0x11cd')});})[_0x1cd3('0xfd')](function(_0x5da785){_0x7243b6[_0x1cd3('0x434')]({'title':_0x5da785[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x5da785[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x5da785[_0x1cd3('0xd35')]:_0x1cd3('0x11ce'),'msg':_0x5da785[_0x1cd3('0x3a6')]?JSON['stringify'](_0x5da785['data']):_0x5da785['toString']()});});}function _0x56f216(){_0xa338ff['hide']();}}}());(function(){'use strict';_0x372b0b[_0x1cd3('0xc')]=[_0x1cd3('0x53e'),_0x1cd3('0xd24'),_0x1cd3('0x3c5'),_0x1cd3('0x372'),_0x1cd3('0x3f7'),_0x1cd3('0x463'),_0x1cd3('0xc49'),_0x1cd3('0x370'),'toasty','Auth',_0x1cd3('0xcbf'),_0x1cd3('0x390')];angular[_0x1cd3('0x0')]('app.whatsapp')['controller'](_0x1cd3('0x2795'),_0x372b0b);function _0x372b0b(_0x4dc35d,_0x147a1d,_0x38e02a,_0x555272,_0x36087e,_0x3bc3d0,_0x2a043a,_0x37de55,_0x4b93e3,_0x2cd356,_0x33c224,_0x196b2f){var _0x5a9064=this;_0x5a9064[_0x1cd3('0x3ca')]=_0x2cd356[_0x1cd3('0x5d')]();_0x5a9064[_0x1cd3('0x463')]=_0x3bc3d0;_0x5a9064['setting']=_0x2a043a;_0x5a9064['passwordPattern']=_0x5a9064[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x5a9064[_0x1cd3('0xd22')]=_0x147a1d[_0x1cd3('0x3b0')]()+_0x1cd3('0x11cf')+_0x147a1d[_0x1cd3('0x3ac')]();_0x5a9064[_0x1cd3('0xcbf')]=_0x33c224||_0x4dc35d[_0x1cd3('0x36a')]['whatsappQueue']||{};_0x5a9064[_0x1cd3('0x390')]=_0x196b2f&&_0x196b2f[_0x1cd3('0x466')]==0x1?_0x196b2f[_0x1cd3('0xf6')][0x0]:null;_0x5a9064[_0x1cd3('0xd27')]=_0x2cd356[_0x1cd3('0xd44')](_0x5a9064['userProfileSection']?_0x5a9064[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);_0x5a9064[_0x1cd3('0xd28')]={};_0x5a9064[_0x1cd3('0xe5f')]=_0x4dc35d['params'][_0x1cd3('0x1418')]||0x0;_0x5a9064['teamadddialog']=_0x455330;_0x5a9064[_0x1cd3('0x119b')]=_0x44ff90;_0x5a9064['alert']=_0x4b93e3['info'];_0x5a9064[_0x1cd3('0x2796')]=_0x44e156;_0x5a9064[_0x1cd3('0x278b')]=_0x76e5c9;function _0x455330(_0x4470a9,_0x5f25cc){_0x38e02a[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x2793'),'controllerAs':'vm','templateUrl':_0x1cd3('0x2797'),'parent':angular[_0x1cd3('0x37f')](_0x555272[_0x1cd3('0x380')]),'targetEvent':_0x5f25cc,'clickOutsideToClose':!![],'locals':{'whatsappQueue':_0x4470a9,'whatsappQueues':_0x5a9064[_0x1cd3('0x1731')]?_0x5a9064['whatsappQueues']['rows']:[],'crudPermissions':_0x5a9064['crudPermissions']}});}function _0x44ff90(_0x77cb1a,_0x2643eb){_0x38e02a[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x2717'),'controllerAs':'vm','templateUrl':_0x1cd3('0x2718'),'parent':angular[_0x1cd3('0x37f')](_0x555272[_0x1cd3('0x380')]),'targetEvent':_0x2643eb,'clickOutsideToClose':!![],'locals':{'whatsappQueue':_0x77cb1a,'whatsappQueues':_0x5a9064[_0x1cd3('0x1731')]?_0x5a9064['whatsappQueues']['rows']:[],'crudPermissions':_0x5a9064[_0x1cd3('0xd27')],'realtime':![]}});}function _0x44e156(){_0x4dc35d['go'](_0x1cd3('0x346'),{},{'reload':_0x1cd3('0x346')});}function _0x76e5c9(){_0x37de55[_0x1cd3('0xcbf')][_0x1cd3('0x378')]({'id':_0x5a9064[_0x1cd3('0xcbf')]['id']},_0x5a9064['whatsappQueue'])[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x4b93e3['success']({'title':'WhatsappQueue\x20updated!','msg':_0x5a9064['whatsappQueue'][_0x1cd3('0x98')]?_0x5a9064[_0x1cd3('0xcbf')][_0x1cd3('0x98')]+'\x20has\x20been\x20updated!':''});})[_0x1cd3('0xfd')](function(_0x5ebfa4){_0x4b93e3[_0x1cd3('0x434')]({'title':_0x5ebfa4['status']?_0x1cd3('0x435')+_0x5ebfa4[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x5ebfa4['statusText']:'SYSTEM:GETwhatsappQueue','msg':_0x5ebfa4[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x5ebfa4[_0x1cd3('0x439')]):_0x5ebfa4[_0x1cd3('0x43b')]()});});}}}());(function(){'use strict';_0x5d4dcb[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x371'),_0x1cd3('0x53e'),_0x1cd3('0x969'),_0x1cd3('0x3c5'),_0x1cd3('0x372'),'$timeout',_0x1cd3('0x3f7'),'whatsappQueues',_0x1cd3('0x38a'),_0x1cd3('0x390'),_0x1cd3('0x370'),_0x1cd3('0x2dd'),'toasty','Auth',_0x1cd3('0x463'),'setting'];angular[_0x1cd3('0x0')](_0x1cd3('0x3a'))[_0x1cd3('0x39b')](_0x1cd3('0x2798'),_0x5d4dcb);function _0x5d4dcb(_0x2bcf82,_0x5d6a86,_0x90df05,_0x3b7c72,_0x5957ae,_0x372562,_0xace800,_0x45343e,_0x2ff671,_0x13300b,_0x368f80,_0x40dd28,_0x3e3884,_0x2dae3d,_0x3eaa14,_0x549923,_0x31ec70){var _0x2f47e7=this;_0x2f47e7['license']=_0x549923;_0x2f47e7[_0x1cd3('0xc49')]=_0x31ec70;_0x2f47e7['currentUser']=_0x3eaa14[_0x1cd3('0x5d')]();_0x2f47e7[_0x1cd3('0x1731')]=_0x2ff671||{'count':0x0,'rows':[]};_0x2f47e7[_0x1cd3('0x38a')]=_0x13300b;_0x2f47e7[_0x1cd3('0x390')]=_0x368f80&&_0x368f80['count']==0x1?_0x368f80[_0x1cd3('0xf6')][0x0]:null;_0x2f47e7[_0x1cd3('0xd27')]=_0x3eaa14[_0x1cd3('0xd44')](_0x2f47e7[_0x1cd3('0x390')]?_0x2f47e7[_0x1cd3('0x390')][_0x1cd3('0xd27')]:null);_0x2f47e7['table']=_0x1cd3('0x1731');_0x2f47e7[_0x1cd3('0xd46')]='';_0x2f47e7[_0x1cd3('0xd47')]=null;_0x2f47e7[_0x1cd3('0x2799')]=[];_0x2f47e7[_0x1cd3('0x3d4')]={'fields':_0x1cd3('0xbb'),'sort':_0x1cd3('0x5b'),'channel':'whatsapp','limit':0xa,'page':0x1};_0x2f47e7['arraystrategy']=_['keyBy']([{'option':_0x1cd3('0x1ce5'),'value':_0x1cd3('0x1199')},{'option':'RR\x20Memory','value':_0x1cd3('0x1971')}],function(_0x41bff0){return _[_0x1cd3('0x3f1')](_0x41bff0[_0x1cd3('0x3db')],new RegExp('\x27','g'),'');});_0x2f47e7[_0x1cd3('0x1171')]=_0x1f83e0;_0x2f47e7[_0x1cd3('0x119a')]=_0x403ca9;_0x2f47e7['agentadddialog']=_0x1328de;_0x2f47e7[_0x1cd3('0xecc')]=_0x50a80d;_0x2f47e7['gotorealtimegoto']=_0x53336b;_0x2f47e7[_0x1cd3('0x473')]=_0x2262b3;_0x2f47e7['getWhatsappQueues']=_0x1dc9dd;_0x2f47e7['createOrEditWhatsappQueue']=_0x3a0918;_0x2f47e7[_0x1cd3('0x279a')]=_0x14ba60;_0x2f47e7[_0x1cd3('0x279b')]=_0x4692f1;_0x2f47e7[_0x1cd3('0x279c')]=_0x13510e;_0x2f47e7['deselectWhatsappQueues']=_0x4b8e88;_0x2f47e7[_0x1cd3('0x279d')]=_0x3e28b7;function _0x1f83e0(_0x533ecc,_0x344007){_0x90df05['go']('app.whatsapp.whatsappQueues.edit',{'id':_0x533ecc['id'],'whatsappQueue':_0x533ecc,'crudPermissions':_0x2f47e7[_0x1cd3('0xd27')]});}function _0x403ca9(_0x3cfeec,_0x25f1b2){_0x5957ae[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x2793'),'controllerAs':'vm','templateUrl':_0x1cd3('0x2797'),'parent':angular[_0x1cd3('0x37f')](_0x372562[_0x1cd3('0x380')]),'targetEvent':_0x25f1b2,'clickOutsideToClose':!![],'locals':{'whatsappQueue':_0x3cfeec,'whatsappQueues':_0x2f47e7['whatsappQueues']?_0x2f47e7[_0x1cd3('0x1731')][_0x1cd3('0xf6')]:[],'crudPermissions':_0x2f47e7[_0x1cd3('0xd27')]}});}function _0x1328de(_0x4757a7,_0x3f1da5){_0x5957ae[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x2717'),'controllerAs':'vm','templateUrl':'app/main/apps/whatsapp/views/whatsappQueues/edit/agentadd/agentadd.html','parent':angular[_0x1cd3('0x37f')](_0x372562[_0x1cd3('0x380')]),'targetEvent':_0x3f1da5,'clickOutsideToClose':!![],'locals':{'whatsappQueue':_0x4757a7,'whatsappQueues':_0x2f47e7['whatsappQueues']?_0x2f47e7[_0x1cd3('0x1731')]['rows']:[],'crudPermissions':_0x2f47e7[_0x1cd3('0xd27')],'realtime':![]}});}function _0x50a80d(_0x579302,_0xb4e3bf){var _0x18a439=_0x5957ae[_0x1cd3('0xd39')]()[_0x1cd3('0x486')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20'+_['startCase'](_0x1cd3('0xcbf'))+'?')[_0x1cd3('0xd60')](_0x1cd3('0xd51')+(_0x579302[_0x1cd3('0x98')]||_0x1cd3('0xcbf'))+'</b>'+'\x20will\x20be\x20deleted.')[_0x1cd3('0xd3d')](_0x1cd3('0x279e'))[_0x1cd3('0xd63')](_0xb4e3bf)['ok']('OK')[_0x1cd3('0x4d8')]('CANCEL');_0x5957ae[_0x1cd3('0x37e')](_0x18a439)[_0x1cd3('0x77')](function(){_0x14ba60(_0x579302);},function(){console[_0x1cd3('0x7d')](_0x1cd3('0xd55'));});}function _0x53336b(_0x157dde,_0x18c410){if(_0x3eaa14[_0x1cd3('0x57')](_0x1cd3('0x5f'))){_0x90df05['go'](_0x1cd3('0x342'),{});}else{return _0x40dd28['userProfileSection'][_0x1cd3('0x361')]({'userProfileId':_0x3eaa14[_0x1cd3('0x5d')]()['userProfileId'],'sectionId':0x83e})['$promise'][_0x1cd3('0x77')](function(_0x447d67){var _0x16ef1e=_0x447d67&&_0x447d67[_0x1cd3('0xf6')]?_0x447d67[_0x1cd3('0xf6')][0x0]:null;if(_0x16ef1e&&_0x16ef1e[_0x1cd3('0x396')]){_0x90df05['go']('app.whatsapp.realtime.queues',{});}else{_0x2dae3d[_0x1cd3('0x654')]({'title':_0x45343e['instant'](_0x1cd3('0x1164')),'msg':_0x45343e[_0x1cd3('0x44a')](_0x1cd3('0x11a9'))});}})[_0x1cd3('0xfd')](function(_0x236627){_0x2dae3d['error']({'title':_0x236627[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x236627[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x236627[_0x1cd3('0xd35')]:_0x1cd3('0x11aa'),'msg':_0x236627['status']?JSON['stringify'](_0x236627[_0x1cd3('0x439')]):_0x236627[_0x1cd3('0x43b')]()});});}}var _0x33ffa2=!![];var _0x4a6459=0x1;_0x2bcf82[_0x1cd3('0x4d6')](_0x1cd3('0xd56'),function(_0x2649b5,_0x59db64){if(_0x33ffa2){_0xace800(function(){_0x33ffa2=![];});}else{if(!_0x59db64){_0x4a6459=_0x2f47e7[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')];}if(_0x2649b5!==_0x59db64){_0x2f47e7[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=0x1;}if(!_0x2649b5){_0x2f47e7[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]=_0x4a6459;}_0x2f47e7[_0x1cd3('0x1722')]();}});function _0x2262b3(_0x4a4087){_0x2f47e7[_0x1cd3('0x1731')]=_0x4a4087||{'count':0x0,'rows':[]};}function _0x1dc9dd(){_0x2f47e7[_0x1cd3('0x3d4')]['offset']=(_0x2f47e7[_0x1cd3('0x3d4')][_0x1cd3('0x8fd')]-0x1)*_0x2f47e7[_0x1cd3('0x3d4')][_0x1cd3('0x8fe')];if(_0x3eaa14[_0x1cd3('0x57')]('admin')){_0x2f47e7[_0x1cd3('0x539')]=_0x40dd28[_0x1cd3('0xcbf')][_0x1cd3('0x361')](_0x2f47e7[_0x1cd3('0x3d4')],_0x2262b3)[_0x1cd3('0x81')];}else{_0x2f47e7[_0x1cd3('0x3d4')]['id']=_0x2f47e7[_0x1cd3('0x38a')]['id'];_0x2f47e7['query'][_0x1cd3('0xd58')]=_0x1cd3('0x344');_0x2f47e7['promise']=_0x40dd28[_0x1cd3('0x38a')][_0x1cd3('0xd59')](_0x2f47e7[_0x1cd3('0x3d4')],_0x2262b3)[_0x1cd3('0x81')];}}function _0x3a0918(_0x535cc9,_0x4d8d00){_0x5957ae['show']({'controller':'CreateOrEditWhatsappQueueDialogController','controllerAs':'vm','templateUrl':_0x1cd3('0x2716'),'parent':angular[_0x1cd3('0x37f')](_0x372562[_0x1cd3('0x380')]),'targetEvent':_0x535cc9,'clickOutsideToClose':!![],'locals':{'whatsappQueue':_0x4d8d00,'whatsappQueues':_0x2f47e7[_0x1cd3('0x1731')][_0x1cd3('0xf6')],'license':_0x2f47e7[_0x1cd3('0x463')],'setting':_0x2f47e7[_0x1cd3('0xc49')],'crudPermissions':_0x2f47e7[_0x1cd3('0xd27')]}});}function _0x14ba60(_0x1bb03a){_0x40dd28[_0x1cd3('0xcbf')][_0x1cd3('0xa1c')]({'id':_0x1bb03a['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_[_0x1cd3('0x383')](_0x2f47e7[_0x1cd3('0x1731')][_0x1cd3('0xf6')],{'id':_0x1bb03a['id']});_0x2f47e7[_0x1cd3('0x1731')][_0x1cd3('0x466')]-=0x1;if(!_0x2f47e7[_0x1cd3('0x1731')][_0x1cd3('0xf6')]['length']){_0x2f47e7[_0x1cd3('0x1722')]();}_0x2dae3d['success']({'title':_['startCase'](_0x1cd3('0x279f'))+_0x1cd3('0xd5c'),'msg':_0x1bb03a[_0x1cd3('0x98')]?_0x1bb03a['name']+_0x1cd3('0xd41'):''});})['catch'](function(_0xdfa36d){if(_0xdfa36d['data']&&_0xdfa36d[_0x1cd3('0x439')]['errors']&&_0xdfa36d[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x2f47e7[_0x1cd3('0xd34')]=_0xdfa36d[_0x1cd3('0x439')]['errors']||[{'message':_0xdfa36d['toString'](),'type':_0x1cd3('0x27a0')}];for(var _0x4c477d=0x0;_0x4c477d<_0xdfa36d[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x4c477d++){_0x2dae3d[_0x1cd3('0x434')]({'title':_0xdfa36d[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x4c477d][_0x1cd3('0x424')],'msg':_0xdfa36d[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x4c477d][_0x1cd3('0x43a')]});}}else{_0x2dae3d[_0x1cd3('0x434')]({'title':_0xdfa36d[_0x1cd3('0x3a6')]?'API:'+_0xdfa36d['status']+_0x1cd3('0x436')+_0xdfa36d['statusText']:_0x1cd3('0x27a0'),'msg':_0xdfa36d[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0xdfa36d[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0xdfa36d[_0x1cd3('0x43a')]||_0xdfa36d['toString']()});}});}function _0x4692f1(){var _0x3a7b54=angular[_0x1cd3('0x429')](_0x2f47e7[_0x1cd3('0x2799')]);_0x2f47e7[_0x1cd3('0x2799')]=[];return _0x3a7b54;}function _0x13510e(_0x5d3fe9){var _0x223067=_0x5957ae['confirm']()[_0x1cd3('0x486')](_0x1cd3('0x27a1'))['htmlContent'](_0x1cd3('0xd51')+_0x2f47e7[_0x1cd3('0x2799')][_0x1cd3('0x7a')]+_0x1cd3('0xd61')+_0x1cd3('0xd53'))['ariaLabel'](_0x1cd3('0x27a2'))['targetEvent'](_0x5d3fe9)['ok']('OK')[_0x1cd3('0x4d8')](_0x1cd3('0xd55'));_0x5957ae['show'](_0x223067)[_0x1cd3('0x77')](function(){_0x2f47e7['selectedWhatsappQueues'][_0x1cd3('0x394')](function(_0x23cc48){_0x14ba60(_0x23cc48);});_0x2f47e7[_0x1cd3('0x2799')]=[];});}function _0x4b8e88(){_0x2f47e7[_0x1cd3('0x2799')]=[];}function _0x3e28b7(){_0x2f47e7['selectedWhatsappQueues']=_0x2f47e7[_0x1cd3('0x1731')][_0x1cd3('0xf6')];}}}());(function(){'use strict';_0x4bb1d5['$inject']=[_0x1cd3('0x460'),_0x1cd3('0x39e'),_0x1cd3('0x53c'),'msNavigationAgentService','Auth',_0x1cd3('0x463'),'api',_0x1cd3('0xc49')];angular[_0x1cd3('0x0')]('motion')[_0x1cd3('0x39b')](_0x1cd3('0x27a3'),_0x4bb1d5);function _0x4bb1d5(_0xdbc092,_0x4cc7f1,_0x5ae636,_0x2f60fe,_0x36df17,_0x3845ea,_0x4a742f,_0x38099e){var _0x4f8e68=this;_0x4f8e68[_0x1cd3('0x119')]=_0x99072c;function _0x99072c(){return _0x36df17[_0x1cd3('0x5d')]()&&_0x36df17['hasRole'](_0x1cd3('0xd2'));}function _0x5a5be2(_0x5430a8,_0x3a9c35){return{'id':_0x5430a8,'title':_0x3a9c35[_0x1cd3('0x98')]||_0x1cd3('0x27a4'),'state':_0x1cd3('0x107'),'stateParams':_0x3a9c35,'weight':0x2,'hidden':function(){return _0x36df17[_0x1cd3('0x57')]('agent')||!_0x36df17['hasPermission'](_0x5430a8)&&!_0x36df17[_0x1cd3('0x57')](_0x1cd3('0x5f'));}};}function _0x1b2b56(_0xce9dc7,_0x5eede7){return{'id':_0xce9dc7,'title':_0x5eede7[_0x1cd3('0x98')]||'NONAME','state':_0x1cd3('0x242'),'stateParams':_0x5eede7,'weight':0x2,'hidden':function(){return _0x36df17[_0x1cd3('0x57')](_0x1cd3('0xd2'))||!_0x36df17[_0x1cd3('0x369')](_0xce9dc7)&&!_0x36df17['hasRole'](_0x1cd3('0x5f'));}};}function _0x3ab8ae(_0x14e3e2,_0x270eca){var _0x47bbee={'user':_[_0x1cd3('0x5e8')](_0x36df17[_0x1cd3('0x5d')](),['id',_0x1cd3('0x98'),_0x1cd3('0xd3'),_0x1cd3('0x1325'),_0x1cd3('0x388'),_0x1cd3('0x311'),_0x1cd3('0x27a5')])};_0x270eca[_0x1cd3('0x1781')]=Mustache[_0x1cd3('0x15c3')](_0x270eca['agentUrl'],_0x47bbee);_0x2f60fe[_0x1cd3('0x547')](_0x1cd3('0x27a6')+_0x14e3e2,{'id':_0x14e3e2,'title':_0x270eca['name'],'translate':_0x270eca[_0x1cd3('0x98')],'state':_0x1cd3('0x27a7')+_0x270eca['id'],'stateParams':_0x270eca,'view':'plugin','icon':_0x270eca[_0x1cd3('0x1580')],'weight':0xc,'hidden':function(){return!_0x36df17[_0x1cd3('0x369')](_0x14e3e2);}});}_0x5ae636[_0x1cd3('0x547')]('apps',{'title':'APPS','group':!![],'weight':0x1,'hidden':function(){return _0x36df17[_0x1cd3('0x57')](_0x1cd3('0xd2'));}});_0x4a742f[_0x1cd3('0x3c4')][_0x1cd3('0x361')]()[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x1bc1f0){_0x4f8e68['version']=_0x1bc1f0&&_0x1bc1f0['current']?_0x1bc1f0[_0x1cd3('0x530')]:_0x1cd3('0x27a8');})['catch'](function(_0x523db0){_0x4f8e68[_0x1cd3('0x3c4')]=_0x1cd3('0x27a8');})[_0x1cd3('0x5dd')](function(){_0x5ae636[_0x1cd3('0x547')]('version',{'title':_0x1cd3('0x27a9')+_0x4f8e68['version'],'group':!![],'weight':0x2,'hidden':function(){return _0x36df17[_0x1cd3('0x57')](_0x1cd3('0xd2'));}});});function _0x406596(_0x34df24){return _[_0x1cd3('0x3d9')](_0x34df24[_0x1cd3('0x52b')],function(_0x23b776){return _0x23b776['id'];});}if(_0x36df17[_0x1cd3('0x364')]()){_0x4a742f[_0x1cd3('0xa9e')][_0x1cd3('0x361')]()['$promise'][_0x1cd3('0x77')](function(_0x5b32bb){var _0x15d7f0=0x0;for(var _0x3aec00=0x0;_0x3aec00<_0x5b32bb['rows'][_0x1cd3('0x7a')];_0x3aec00+=0x1){_0x15d7f0=0x1869f+_0x5b32bb[_0x1cd3('0xf6')][_0x3aec00]['id'];_0x5ae636[_0x1cd3('0x547')](_0x1cd3('0x27aa')+_0x15d7f0,_0x5a5be2(_0x15d7f0,_0x5b32bb[_0x1cd3('0xf6')][_0x3aec00]));}});_0x4a742f[_0x1cd3('0xc78')][_0x1cd3('0x361')]({'active':!![]})[_0x1cd3('0x81')]['then'](function(_0x1d748d){var _0x28d15e=0x0;if(_0x1d748d[_0x1cd3('0x466')]){var _0x14f2bc=_[_0x1cd3('0x395')](_0x1d748d[_0x1cd3('0xf6')],function(_0x7f17c3){return _0x7f17c3[_0x1cd3('0x1664')]!=_0x1cd3('0x1de4')&&_0x7f17c3[_0x1cd3('0x1664')]!='agentOnly';});if(_0x14f2bc[_0x1cd3('0x7a')]>0x0){_0x5ae636['saveItem']('apps.plugins',{'id':0x76c,'title':_0x1cd3('0x1f6'),'translate':_0x1cd3('0x27ab'),'icon':_0x1cd3('0x1214'),'permissions':{'hidden':!![]},'weight':0x11,'hidden':function(){return _0x36df17[_0x1cd3('0x57')](_0x1cd3('0xd2'))||!_0x36df17[_0x1cd3('0x27ac')](_0x406596(this))&&!_0x36df17['hasRole'](_0x1cd3('0x5f'));}});for(var _0x3a3971=0x0;_0x3a3971<_0x14f2bc[_0x1cd3('0x7a')];_0x3a3971+=0x1){_0x28d15e=0x15b38+_0x14f2bc[_0x3a3971]['id'];_0x5ae636['saveItem'](_0x1cd3('0x27ad')+_0x28d15e,_0x1b2b56(_0x28d15e,_0x14f2bc[_0x3a3971]));}_0x5ae636[_0x1cd3('0x550')]();}var _0x59a347=_[_0x1cd3('0x395')](_0x1d748d['rows'],function(_0xf177c8){return _0xf177c8[_0x1cd3('0x1664')]!=_0x1cd3('0x1de4')&&_0xf177c8['sidebar']!=_0x1cd3('0x27ae');});if(_0x59a347['length']>0x0){for(var _0x3a3971=0x0;_0x3a3971<_0x59a347[_0x1cd3('0x7a')];_0x3a3971+=0x1){_0x28d15e=0x15b38+_0x59a347[_0x3a3971]['id'];_0x3ab8ae(_0x28d15e,_0x59a347[_0x3a3971]);}}}});}if(_0x3845ea[_0x1cd3('0x8f6')]&&!_0x38099e[_0x1cd3('0x27af')]&&_0x38099e['pageTitle']){angular[_0x1cd3('0x37f')](_0x1cd3('0x27b0'))[_0x1cd3('0x3bf')](_0x38099e['pageTitle']);}_0x5ae636[_0x1cd3('0x547')](_0x1cd3('0x27b1'),{'id':0x64,'title':_0x1cd3('0x2182'),'translate':'DASHBOARDS.DASHBOARDS','icon':'icon-tile-four','weight':0x2,'hidden':function(){return _0x36df17[_0x1cd3('0x57')](_0x1cd3('0xd2'))||!_0x36df17[_0x1cd3('0x27ac')](_0x406596(this))&&!_0x36df17[_0x1cd3('0x57')](_0x1cd3('0x5f'));}});_0x5ae636[_0x1cd3('0x547')]('apps.dashboards.general',{'id':0x65,'title':_0x1cd3('0x27b2'),'route':'','translate':_0x1cd3('0x21af'),'state':_0x1cd3('0x114'),'weight':0x1,'hidden':function(){return _0x36df17[_0x1cd3('0x57')](_0x1cd3('0xd2'))||!_0x36df17['hasPermission'](0x65)&&!_0x36df17['hasRole'](_0x1cd3('0x5f'));}});_0x5ae636['saveItem'](_0x1cd3('0x27b3'),{'id':0xc8,'title':_0x1cd3('0x27b4'),'translate':'STAFF.STAFF','icon':_0x1cd3('0x27b5'),'weight':0x3,'hidden':function(){return _0x36df17[_0x1cd3('0x57')](_0x1cd3('0xd2'))||!_0x36df17[_0x1cd3('0x27ac')](_0x406596(this))&&!_0x36df17[_0x1cd3('0x57')]('admin');}});_0x5ae636[_0x1cd3('0x547')](_0x1cd3('0x27b6'),{'id':0xc9,'title':'Users','route':_0x1cd3('0x368'),'translate':'STAFF.USERS','state':_0x1cd3('0x27c'),'permissions':{'hidden':!![]},'weight':0x1,'hidden':function(){return _0x36df17[_0x1cd3('0x57')](_0x1cd3('0xd2'))||_0x36df17[_0x1cd3('0x57')](_0x1cd3('0x368'))||!_0x36df17['hasPermission'](0xc9)&&!_0x36df17[_0x1cd3('0x57')](_0x1cd3('0x5f'));}});_0x5ae636[_0x1cd3('0x547')](_0x1cd3('0x27b7'),{'id':0xca,'title':_0x1cd3('0xd4'),'route':_0x1cd3('0x368'),'translate':_0x1cd3('0x27b8'),'state':_0x1cd3('0x285'),'weight':0x1,'hidden':function(){return _0x36df17[_0x1cd3('0x57')](_0x1cd3('0xd2'))||!_0x36df17['hasPermission'](0xca)&&!_0x36df17[_0x1cd3('0x57')]('admin');}});_0x5ae636['saveItem'](_0x1cd3('0x27b9'),{'id':0xcb,'title':_0x1cd3('0x28f'),'route':_0x1cd3('0x368'),'translate':'STAFF.TELEPHONES','state':'app.staff.telephones','weight':0x1,'hidden':function(){return _0x36df17[_0x1cd3('0x57')]('agent')||!_0x36df17[_0x1cd3('0x369')](0xcb)&&!_0x36df17[_0x1cd3('0x57')](_0x1cd3('0x5f'));}});_0x5ae636[_0x1cd3('0x547')](_0x1cd3('0x27ba'),{'id':0xcc,'title':_0x1cd3('0x296'),'route':_0x1cd3('0xc61'),'translate':_0x1cd3('0x27bb'),'state':_0x1cd3('0x292'),'weight':0x1,'hidden':function(){return _0x36df17[_0x1cd3('0x57')]('agent')||!_0x36df17[_0x1cd3('0x369')](0xcc)&&!_0x36df17[_0x1cd3('0x57')](_0x1cd3('0x5f'));}});_0x5ae636[_0x1cd3('0x547')](_0x1cd3('0x27bc'),{'id':0xcd,'title':_0x1cd3('0x21d1'),'route':'userProfile','translate':'STAFF.USERPROFILES','state':_0x1cd3('0x297'),'permissions':{'hidden':!![]},'weight':0x1,'hidden':function(){return _0x36df17[_0x1cd3('0x57')](_0x1cd3('0xd2'))||!_0x36df17[_0x1cd3('0x369')](0xcd)&&!_0x36df17[_0x1cd3('0x57')]('admin');}});_0x5ae636['saveItem']('apps.contactmanager',{'id':0x12c,'title':_0x1cd3('0x27bd'),'translate':_0x1cd3('0x27be'),'icon':_0x1cd3('0x1fb0'),'license':'cm','weight':0x4,'hidden':function(){return!_0x3845ea['cm']||_0x36df17['hasRole']('agent')||!_0x36df17[_0x1cd3('0x27ac')](_0x406596(this))&&!_0x36df17[_0x1cd3('0x57')]('admin');}});_0x5ae636['saveItem'](_0x1cd3('0x27bf'),{'id':0x12d,'title':_0x1cd3('0xf4'),'route':_0x1cd3('0xc8f'),'translate':_0x1cd3('0x27c0'),'state':_0x1cd3('0xd9'),'weight':0x2,'hidden':function(){return _0x36df17[_0x1cd3('0x57')](_0x1cd3('0xd2'))||!_0x36df17[_0x1cd3('0x369')](0x12d)&&!_0x36df17[_0x1cd3('0x57')]('admin');}});_0x5ae636[_0x1cd3('0x547')](_0x1cd3('0x27c1'),{'id':0x12e,'title':_0x1cd3('0xe3'),'route':_0x1cd3('0xb38'),'translate':_0x1cd3('0x27c2'),'state':_0x1cd3('0xe1'),'weight':0x3,'hidden':function(){return _0x36df17[_0x1cd3('0x57')](_0x1cd3('0xd2'))||!_0x36df17['hasPermission'](0x12e)&&!_0x36df17[_0x1cd3('0x57')]('admin');}});_0x5ae636[_0x1cd3('0x547')]('apps.contactmanager.globalCustomFields',{'id':0x130,'title':_0x1cd3('0x14ef'),'route':_0x1cd3('0xb57'),'translate':'CONTACTMANAGER.GLOBALCUSTOMFIELDS','state':'app.contactmanager.globalCustomFields','permissions':{'association':![]},'weight':0x4,'hidden':function(){return _0x36df17[_0x1cd3('0x57')]('agent')||!_0x36df17[_0x1cd3('0x369')](0x130)&&!_0x36df17[_0x1cd3('0x57')](_0x1cd3('0x5f'));}});_0x5ae636['saveItem'](_0x1cd3('0x27c3'),{'id':0x12f,'title':_0x1cd3('0xf3'),'route':'','translate':_0x1cd3('0x27c4'),'state':_0x1cd3('0xed'),'permissions':{'association':![]},'weight':0x1,'hidden':function(){return _0x36df17['hasRole'](_0x1cd3('0xd2'))||!_0x36df17[_0x1cd3('0x369')](0x12f)&&!_0x36df17[_0x1cd3('0x57')](_0x1cd3('0x5f'));}});_0x5ae636[_0x1cd3('0x547')](_0x1cd3('0x27c5'),{'id':0x190,'title':_0x1cd3('0x2436'),'translate':_0x1cd3('0x27c6'),'icon':_0x1cd3('0x27c7'),'license':'voice','weight':0x5,'hidden':function(){return!_0x3845ea[_0x1cd3('0x121')]||_0x36df17['hasRole']('agent')||!_0x36df17[_0x1cd3('0x27ac')](_0x406596(this))&&!_0x36df17['hasRole'](_0x1cd3('0x5f'));}});_0x5ae636[_0x1cd3('0x547')](_0x1cd3('0x27c8'),{'id':0x191,'title':_0x1cd3('0xa5'),'route':'voiceQueue','channel':_0x1cd3('0x121'),'translate':'VOICE.VOICEQUEUES','state':_0x1cd3('0x2fb'),'weight':0x1,'hidden':function(){return _0x36df17[_0x1cd3('0x57')](_0x1cd3('0xd2'))||!_0x36df17[_0x1cd3('0x369')](0x191)&&!_0x36df17[_0x1cd3('0x57')](_0x1cd3('0x5f'));}});_0x5ae636[_0x1cd3('0x547')](_0x1cd3('0x27c9'),{'id':0x192,'title':_0x1cd3('0x219c'),'route':'voiceExtension','translate':_0x1cd3('0x27ca'),'state':'app.voice.inboundroutes','weight':0x1,'hidden':function(){return _0x36df17['hasRole']('agent')||!_0x36df17['hasPermission'](0x192)&&!_0x36df17[_0x1cd3('0x57')]('admin');}});_0x5ae636[_0x1cd3('0x547')](_0x1cd3('0x27cb'),{'id':0x193,'title':_0x1cd3('0x30b'),'route':'voiceExtension','translate':_0x1cd3('0x27cc'),'state':_0x1cd3('0x2634'),'weight':0x1,'hidden':function(){return _0x36df17[_0x1cd3('0x57')](_0x1cd3('0xd2'))||!_0x36df17[_0x1cd3('0x369')](0x193)&&!_0x36df17[_0x1cd3('0x57')](_0x1cd3('0x5f'));}});_0x5ae636[_0x1cd3('0x547')](_0x1cd3('0x27cd'),{'id':0x194,'title':_0x1cd3('0x312'),'route':'voiceExtension','translate':_0x1cd3('0x27ce'),'state':_0x1cd3('0x30f'),'weight':0x1,'hidden':function(){return _0x36df17[_0x1cd3('0x57')]('agent')||!_0x36df17[_0x1cd3('0x369')](0x194)&&!_0x36df17['hasRole']('admin');}});_0x5ae636[_0x1cd3('0x547')]('apps.voice.contexts',{'id':0x195,'title':_0x1cd3('0xab'),'route':_0x1cd3('0xa3e'),'translate':_0x1cd3('0x27cf'),'state':_0x1cd3('0x316'),'weight':0x1,'hidden':function(){return _0x36df17[_0x1cd3('0x57')](_0x1cd3('0xd2'))||!_0x36df17['hasPermission'](0x195)&&!_0x36df17[_0x1cd3('0x57')](_0x1cd3('0x5f'));}});_0x5ae636['saveItem']('apps.voice.voicemails',{'id':0x196,'title':_0x1cd3('0x2686'),'route':_0x1cd3('0xa5e'),'translate':'VOICE.VOICEMAILS','state':_0x1cd3('0x31b'),'weight':0x1,'hidden':function(){return _0x36df17[_0x1cd3('0x57')](_0x1cd3('0xd2'))||!_0x36df17[_0x1cd3('0x369')](0x196)&&!_0x36df17[_0x1cd3('0x57')]('admin');}});_0x5ae636[_0x1cd3('0x547')](_0x1cd3('0x27d0'),{'id':0x197,'title':_0x1cd3('0x325'),'route':_0x1cd3('0xa44'),'translate':_0x1cd3('0x27d1'),'state':_0x1cd3('0x25f1'),'weight':0x1,'hidden':function(){return _0x36df17[_0x1cd3('0x57')](_0x1cd3('0xd2'))||!_0x36df17[_0x1cd3('0x369')](0x197)&&!_0x36df17[_0x1cd3('0x57')](_0x1cd3('0x5f'));}});_0x5ae636[_0x1cd3('0x547')](_0x1cd3('0x27d2'),{'id':0x198,'title':_0x1cd3('0x32e'),'route':_0x1cd3('0x6ee'),'translate':_0x1cd3('0x27d3'),'state':'app.voice.voiceRecordings','permissions':{'association':![],'loading':!![]},'weight':0x1,'hidden':function(){return _0x36df17['hasRole'](_0x1cd3('0xd2'))||!_0x36df17[_0x1cd3('0x369')](0x198)&&!_0x36df17[_0x1cd3('0x57')](_0x1cd3('0x5f'));}});_0x5ae636[_0x1cd3('0x547')](_0x1cd3('0x27d4'),{'id':0x199,'title':_0x1cd3('0x337'),'route':'voiceChanSpy','translate':_0x1cd3('0x27d5'),'state':'app.voice.chanSpies','weight':0x1,'hidden':function(){return _0x36df17['hasRole'](_0x1cd3('0xd2'))||!_0x36df17[_0x1cd3('0x369')](0x199)&&!_0x36df17['hasRole'](_0x1cd3('0x5f'));}});_0x5ae636['saveItem'](_0x1cd3('0x27d6'),{'id':0x19a,'title':_0x1cd3('0x33c'),'route':_0x1cd3('0xc95'),'translate':_0x1cd3('0x27d7'),'state':_0x1cd3('0x338'),'weight':0x1,'hidden':function(){return _0x36df17[_0x1cd3('0x57')]('agent')||!_0x36df17[_0x1cd3('0x369')](0x19a)&&!_0x36df17[_0x1cd3('0x57')](_0x1cd3('0x5f'));}});_0x5ae636[_0x1cd3('0x547')]('apps.voice.realtime',{'id':0x19b,'title':_0x1cd3('0x27d8'),'route':'','translate':_0x1cd3('0x27d9'),'state':'app.voice.realtime','permissions':{'association':![],'crud':![]},'weight':0x1,'hidden':function(){return _0x36df17['hasRole'](_0x1cd3('0xd2'))||!_0x36df17[_0x1cd3('0x369')](0x19b)&&!_0x36df17[_0x1cd3('0x57')]('admin');}});_0x5ae636[_0x1cd3('0x547')](_0x1cd3('0x27da'),{'id':0x1f4,'title':_0x1cd3('0x2439'),'translate':_0x1cd3('0x27db'),'icon':_0x1cd3('0x1597'),'license':_0x1cd3('0xbf'),'weight':0x6,'hidden':function(){return!_0x3845ea[_0x1cd3('0xbf')]||_0x36df17[_0x1cd3('0x57')](_0x1cd3('0xd2'))||!_0x36df17[_0x1cd3('0x27ac')](_0x406596(this))&&!_0x36df17[_0x1cd3('0x57')](_0x1cd3('0x5f'));}});_0x5ae636['saveItem']('apps.chat.chatQueues',{'id':0x1f5,'title':_0x1cd3('0xbc'),'route':_0x1cd3('0x11a7'),'channel':_0x1cd3('0xbf'),'translate':_0x1cd3('0x27dc'),'state':_0x1cd3('0xb6'),'weight':0x1,'hidden':function(){return _0x36df17[_0x1cd3('0x57')](_0x1cd3('0xd2'))||!_0x36df17[_0x1cd3('0x369')](0x1f5)&&!_0x36df17[_0x1cd3('0x57')]('admin');}});_0x5ae636[_0x1cd3('0x547')]('apps.chat.chatWebsites',{'id':0x1f6,'title':_0x1cd3('0x133'),'route':'chatWebsite','channel':_0x1cd3('0xbf'),'translate':'CHAT.CHATWEBSITES','state':_0x1cd3('0x1383'),'weight':0x1,'hidden':function(){return _0x36df17[_0x1cd3('0x57')]('agent')||!_0x36df17['hasPermission'](0x1f6)&&!_0x36df17[_0x1cd3('0x57')](_0x1cd3('0x5f'));}});_0x5ae636[_0x1cd3('0x547')](_0x1cd3('0x27dd'),{'id':0x1fe,'title':'Realtime','route':'','translate':_0x1cd3('0x27de'),'state':'app.chat.realtime','permissions':{'association':![],'crud':![]},'weight':0x1,'hidden':function(){return _0x36df17['hasRole'](_0x1cd3('0xd2'))||!_0x36df17['hasPermission'](0x1fe)&&!_0x36df17['hasRole']('admin');}});_0x5ae636['saveItem'](_0x1cd3('0x27df'),{'id':0x258,'title':'Mail','translate':_0x1cd3('0x27e0'),'icon':_0x1cd3('0x1813'),'license':_0x1cd3('0x1d2'),'weight':0x7,'hidden':function(){return!_0x3845ea[_0x1cd3('0x1d2')]||_0x36df17['hasRole'](_0x1cd3('0xd2'))||!_0x36df17[_0x1cd3('0x27ac')](_0x406596(this))&&!_0x36df17['hasRole']('admin');}});_0x5ae636[_0x1cd3('0x547')](_0x1cd3('0x27e1'),{'id':0x259,'title':_0x1cd3('0x1d3'),'route':'mailQueue','channel':_0x1cd3('0x1d2'),'translate':_0x1cd3('0x27e2'),'state':_0x1cd3('0x1cd'),'weight':0x1,'hidden':function(){return _0x36df17[_0x1cd3('0x57')]('agent')||!_0x36df17[_0x1cd3('0x369')](0x259)&&!_0x36df17['hasRole'](_0x1cd3('0x5f'));}});_0x5ae636['saveItem'](_0x1cd3('0x27e3'),{'id':0x25a,'title':_0x1cd3('0xaf'),'route':_0x1cd3('0xa7a'),'channel':_0x1cd3('0x1d2'),'translate':_0x1cd3('0x27e4'),'state':_0x1cd3('0x1d7'),'weight':0x1,'hidden':function(){return _0x36df17['hasRole'](_0x1cd3('0xd2'))||!_0x36df17[_0x1cd3('0x369')](0x25a)&&!_0x36df17[_0x1cd3('0x57')](_0x1cd3('0x5f'));}});_0x5ae636[_0x1cd3('0x547')](_0x1cd3('0x27e5'),{'id':0x25b,'title':_0x1cd3('0x1d03'),'route':_0x1cd3('0x174c'),'channel':_0x1cd3('0x1d2'),'translate':_0x1cd3('0x27e6'),'state':_0x1cd3('0x27e7'),'permissions':{'association':![]},'weight':0x1,'hidden':function(){return _0x36df17['hasRole'](_0x1cd3('0xd2'))||!_0x36df17[_0x1cd3('0x369')](0x25b)&&!_0x36df17[_0x1cd3('0x57')](_0x1cd3('0x5f'));}});_0x5ae636['saveItem']('apps.mail.realtime',{'id':0x262,'title':_0x1cd3('0x27d8'),'route':'','translate':_0x1cd3('0x27e8'),'state':_0x1cd3('0x1cc'),'permissions':{'association':![],'crud':![]},'weight':0x1,'hidden':function(){return _0x36df17[_0x1cd3('0x57')]('agent')||!_0x36df17[_0x1cd3('0x369')](0x262)&&!_0x36df17[_0x1cd3('0x57')](_0x1cd3('0x5f'));}});_0x5ae636[_0x1cd3('0x547')](_0x1cd3('0x27e9'),{'id':0x2bc,'title':'Sms','translate':_0x1cd3('0x27ea'),'icon':_0x1cd3('0x1598'),'license':_0x1cd3('0x18d8'),'weight':0x8,'hidden':function(){return!_0x3845ea[_0x1cd3('0x18d8')]||_0x36df17['hasRole']('agent')||!_0x36df17[_0x1cd3('0x27ac')](_0x406596(this))&&!_0x36df17[_0x1cd3('0x57')](_0x1cd3('0x5f'));}});_0x5ae636[_0x1cd3('0x547')](_0x1cd3('0x27eb'),{'id':0x2bd,'title':_0x1cd3('0x26a'),'route':_0x1cd3('0xade'),'channel':_0x1cd3('0x26b'),'translate':'SMS.SMSQUEUES','state':_0x1cd3('0x266'),'weight':0x1,'hidden':function(){return _0x36df17[_0x1cd3('0x57')](_0x1cd3('0xd2'))||!_0x36df17[_0x1cd3('0x369')](0x2bd)&&!_0x36df17['hasRole'](_0x1cd3('0x5f'));}});_0x5ae636[_0x1cd3('0x547')](_0x1cd3('0x27ec'),{'id':0x2be,'title':_0x1cd3('0xb2'),'route':_0x1cd3('0xac5'),'channel':'sms','translate':_0x1cd3('0x27ed'),'state':_0x1cd3('0x2087'),'weight':0x1,'hidden':function(){return _0x36df17['hasRole']('agent')||!_0x36df17[_0x1cd3('0x369')](0x2be)&&!_0x36df17[_0x1cd3('0x57')]('admin');}});_0x5ae636[_0x1cd3('0x547')](_0x1cd3('0x27ee'),{'id':0x2c6,'title':_0x1cd3('0x27d8'),'route':'','translate':_0x1cd3('0x27ef'),'state':_0x1cd3('0x274'),'permissions':{'association':![],'crud':![]},'weight':0x1,'hidden':function(){return _0x36df17[_0x1cd3('0x57')](_0x1cd3('0xd2'))||!_0x36df17[_0x1cd3('0x369')](0x2c6)&&!_0x36df17['hasRole']('admin');}});_0x5ae636[_0x1cd3('0x547')](_0x1cd3('0x27f0'),{'id':0x320,'title':_0x1cd3('0x2437'),'translate':_0x1cd3('0x27f1'),'icon':_0x1cd3('0x1599'),'license':_0x1cd3('0x22e'),'weight':0x9,'hidden':function(){return!_0x3845ea[_0x1cd3('0x22e')]||_0x36df17[_0x1cd3('0x57')](_0x1cd3('0xd2'))||!_0x36df17['hasChildrenPermissions'](_0x406596(this))&&!_0x36df17[_0x1cd3('0x57')](_0x1cd3('0x5f'));}});_0x5ae636[_0x1cd3('0x547')](_0x1cd3('0x27f2'),{'id':0x321,'title':_0x1cd3('0x22f'),'route':_0x1cd3('0xafd'),'channel':_0x1cd3('0x1ef4'),'translate':_0x1cd3('0x27f3'),'state':_0x1cd3('0x22a'),'weight':0x1,'hidden':function(){return _0x36df17[_0x1cd3('0x57')](_0x1cd3('0xd2'))||!_0x36df17[_0x1cd3('0x369')](0x321)&&!_0x36df17[_0x1cd3('0x57')]('admin');}});_0x5ae636[_0x1cd3('0x547')](_0x1cd3('0x27f4'),{'id':0x322,'title':_0x1cd3('0x140'),'route':'openchannelAccount','channel':_0x1cd3('0x1ef4'),'translate':_0x1cd3('0x27f5'),'state':'app.openchannel.openchannelAccounts','weight':0x1,'hidden':function(){return _0x36df17['hasRole'](_0x1cd3('0xd2'))||!_0x36df17[_0x1cd3('0x369')](0x322)&&!_0x36df17[_0x1cd3('0x57')](_0x1cd3('0x5f'));}});_0x5ae636['saveItem'](_0x1cd3('0x27f6'),{'id':0x32a,'title':'Realtime','route':'','translate':'OPENCHANNEL.REALTIME','state':_0x1cd3('0x229'),'permissions':{'association':![],'crud':![]},'weight':0x1,'hidden':function(){return _0x36df17[_0x1cd3('0x57')](_0x1cd3('0xd2'))||!_0x36df17['hasPermission'](0x32a)&&!_0x36df17[_0x1cd3('0x57')](_0x1cd3('0x5f'));}});_0x5ae636['saveItem'](_0x1cd3('0x27f7'),{'id':0x384,'title':_0x1cd3('0x243f'),'translate':'FAX.FAX','icon':_0x1cd3('0x159a'),'license':_0x1cd3('0x154'),'weight':0xa,'hidden':function(){return!_0x3845ea[_0x1cd3('0x154')]||_0x36df17[_0x1cd3('0x57')](_0x1cd3('0xd2'))||!_0x36df17[_0x1cd3('0x27ac')](_0x406596(this))&&!_0x36df17['hasRole'](_0x1cd3('0x5f'));}});_0x5ae636[_0x1cd3('0x547')]('apps.fax.faxQueues',{'id':0x385,'title':_0x1cd3('0x153'),'route':'faxQueue','channel':_0x1cd3('0x154'),'translate':_0x1cd3('0x27f8'),'state':_0x1cd3('0x14f'),'weight':0x1,'hidden':function(){return _0x36df17[_0x1cd3('0x57')]('agent')||!_0x36df17['hasPermission'](0x385)&&!_0x36df17[_0x1cd3('0x57')]('admin');}});_0x5ae636[_0x1cd3('0x547')]('apps.fax.faxAccounts',{'id':0x386,'title':_0x1cd3('0x15c'),'route':'faxAccount','channel':_0x1cd3('0x154'),'translate':_0x1cd3('0x27f9'),'state':_0x1cd3('0x157'),'weight':0x1,'hidden':function(){return _0x36df17[_0x1cd3('0x57')](_0x1cd3('0xd2'))||!_0x36df17['hasPermission'](0x386)&&!_0x36df17[_0x1cd3('0x57')]('admin');}});_0x5ae636[_0x1cd3('0x547')]('apps.fax.realtime',{'id':0x38e,'title':_0x1cd3('0x27d8'),'route':'','translate':'FAX.REALTIME','state':_0x1cd3('0x14d'),'permissions':{'association':![],'crud':![]},'weight':0x1,'hidden':function(){return _0x36df17['hasRole']('agent')||!_0x36df17['hasPermission'](0x38e)&&!_0x36df17[_0x1cd3('0x57')](_0x1cd3('0x5f'));}});_0x5ae636[_0x1cd3('0x547')](_0x1cd3('0x27fa'),{'id':0x3e8,'title':'Tools','translate':_0x1cd3('0x27fb'),'icon':_0x1cd3('0x27fc'),'weight':0xf,'hidden':function(){return _0x36df17[_0x1cd3('0x57')](_0x1cd3('0xd2'))||!_0x36df17['hasChildrenPermissions'](_0x406596(this))&&!_0x36df17['hasRole'](_0x1cd3('0x5f'));}});_0x5ae636[_0x1cd3('0x547')]('apps.tools.cannedAnswers',{'id':0x3e9,'title':'CannedAnswers','route':_0x1cd3('0x12c1'),'translate':_0x1cd3('0x27fd'),'state':_0x1cd3('0x29f'),'weight':0x1,'hidden':function(){return _0x36df17[_0x1cd3('0x57')](_0x1cd3('0xd2'))||!_0x36df17[_0x1cd3('0x369')](0x3e9)&&!_0x36df17[_0x1cd3('0x57')]('admin');}});_0x5ae636[_0x1cd3('0x547')](_0x1cd3('0x27fe'),{'id':0x3ea,'title':_0x1cd3('0x221'),'route':_0x1cd3('0xb63'),'translate':_0x1cd3('0x27ff'),'state':_0x1cd3('0x2a4'),'weight':0x2,'hidden':function(){return _0x36df17[_0x1cd3('0x57')]('agent')||!_0x36df17[_0x1cd3('0x369')](0x3ea)&&!_0x36df17[_0x1cd3('0x57')]('admin');}});_0x5ae636['saveItem'](_0x1cd3('0x2800'),{'id':0x3eb,'title':_0x1cd3('0x2a9'),'route':_0x1cd3('0xa9e'),'translate':_0x1cd3('0x2801'),'state':_0x1cd3('0x2a5'),'weight':0x3,'hidden':function(){return _0x36df17[_0x1cd3('0x57')](_0x1cd3('0xd2'))||!_0x36df17[_0x1cd3('0x369')](0x3eb)&&!_0x36df17[_0x1cd3('0x57')](_0x1cd3('0x5f'));}});_0x5ae636['saveItem'](_0x1cd3('0x2802'),{'id':0x3ec,'title':'Intervals','route':_0x1cd3('0x77e'),'translate':_0x1cd3('0x2803'),'state':_0x1cd3('0x2ad'),'weight':0x4,'hidden':function(){return _0x36df17[_0x1cd3('0x57')](_0x1cd3('0xd2'))||!_0x36df17[_0x1cd3('0x369')](0x3ec)&&!_0x36df17[_0x1cd3('0x57')]('admin');}});_0x5ae636[_0x1cd3('0x547')](_0x1cd3('0x2804'),{'id':0x3ed,'title':_0x1cd3('0xb3'),'route':'pause','translate':_0x1cd3('0x2805'),'state':_0x1cd3('0x2806'),'weight':0x5,'hidden':function(){return _0x36df17[_0x1cd3('0x57')](_0x1cd3('0xd2'))||!_0x36df17[_0x1cd3('0x369')](0x3ed)&&!_0x36df17[_0x1cd3('0x57')](_0x1cd3('0x5f'));}});_0x5ae636[_0x1cd3('0x547')](_0x1cd3('0x2807'),{'id':0x3ee,'title':_0x1cd3('0x2b8'),'route':_0x1cd3('0xb70'),'translate':_0x1cd3('0x2808'),'state':_0x1cd3('0x2809'),'weight':0x6,'hidden':function(){return _0x36df17[_0x1cd3('0x57')](_0x1cd3('0xd2'))||!_0x36df17[_0x1cd3('0x369')](0x3ee)&&!_0x36df17[_0x1cd3('0x57')](_0x1cd3('0x5f'));}});_0x5ae636[_0x1cd3('0x547')](_0x1cd3('0x280a'),{'id':0x3ef,'title':_0x1cd3('0xa7'),'route':_0x1cd3('0xf53'),'translate':_0x1cd3('0x280b'),'state':_0x1cd3('0x280c'),'weight':0x7,'hidden':function(){return _0x36df17[_0x1cd3('0x57')](_0x1cd3('0xd2'))||!_0x36df17[_0x1cd3('0x369')](0x3ef)&&!_0x36df17[_0x1cd3('0x57')]('admin');}});_0x5ae636[_0x1cd3('0x547')](_0x1cd3('0x280d'),{'id':0x3f0,'title':_0x1cd3('0xf9'),'route':_0x1cd3('0xb76'),'translate':_0x1cd3('0x280e'),'state':_0x1cd3('0x280f'),'weight':0x8,'hidden':function(){return _0x36df17[_0x1cd3('0x57')](_0x1cd3('0xd2'))||!_0x36df17['hasPermission'](0x3f0)&&!_0x36df17['hasRole'](_0x1cd3('0x5f'));}});_0x5ae636[_0x1cd3('0x547')]('apps.tools.templates',{'id':0x3f1,'title':_0x1cd3('0xb1'),'route':_0x1cd3('0xb7a'),'translate':_0x1cd3('0x2810'),'state':_0x1cd3('0x2c1'),'weight':0x9,'hidden':function(){return _0x36df17[_0x1cd3('0x57')]('agent')||!_0x36df17[_0x1cd3('0x369')](0x3f1)&&!_0x36df17['hasRole']('admin');}});_0x5ae636['saveItem'](_0x1cd3('0x2811'),{'id':0x3f2,'title':_0x1cd3('0x244b'),'route':_0x1cd3('0xb7e'),'translate':_0x1cd3('0x2812'),'state':'app.tools.triggers','weight':0xa,'hidden':function(){return _0x36df17['hasRole'](_0x1cd3('0xd2'))||!_0x36df17['hasPermission'](0x3f2)&&!_0x36df17[_0x1cd3('0x57')](_0x1cd3('0x5f'));}});_0x5ae636[_0x1cd3('0x547')](_0x1cd3('0x2813'),{'id':0x3f3,'title':_0x1cd3('0xa2'),'route':_0x1cd3('0x18e7'),'translate':_0x1cd3('0x2814'),'state':_0x1cd3('0x2ce'),'weight':0xb,'hidden':function(){return _0x36df17[_0x1cd3('0x57')]('agent')||!_0x36df17[_0x1cd3('0x369')](0x3f3)&&!_0x36df17[_0x1cd3('0x57')](_0x1cd3('0x5f'));}});_0x5ae636[_0x1cd3('0x547')](_0x1cd3('0x2815'),{'id':0x3f4,'title':_0x1cd3('0xa9'),'route':_0x1cd3('0xb84'),'translate':_0x1cd3('0x2816'),'state':'app.tools.variables','weight':0xc,'hidden':function(){return _0x36df17[_0x1cd3('0x57')](_0x1cd3('0xd2'))||!_0x36df17[_0x1cd3('0x369')](0x3f4)&&!_0x36df17[_0x1cd3('0x57')](_0x1cd3('0x5f'));}});_0x5ae636[_0x1cd3('0x547')](_0x1cd3('0x2817'),{'id':0x44c,'title':_0x1cd3('0x218e'),'translate':_0x1cd3('0x2818'),'icon':_0x1cd3('0x1fb9'),'license':_0x1cd3('0x121'),'weight':0xd,'hidden':function(){return!_0x3845ea[_0x1cd3('0x121')]||_0x36df17[_0x1cd3('0x57')](_0x1cd3('0xd2'))||!_0x36df17[_0x1cd3('0x27ac')](_0x406596(this))&&!_0x36df17[_0x1cd3('0x57')]('admin');}});_0x5ae636[_0x1cd3('0x547')](_0x1cd3('0x2819'),{'id':0x44d,'title':_0x1cd3('0x8b'),'route':'squareOdbc','translate':_0x1cd3('0x281a'),'state':'app.callysquare.odbcs','weight':0x2,'hidden':function(){return _0x36df17[_0x1cd3('0x57')](_0x1cd3('0xd2'))||!_0x36df17['hasPermission'](0x44d)&&!_0x36df17[_0x1cd3('0x57')](_0x1cd3('0x5f'));}});_0x5ae636[_0x1cd3('0x547')](_0x1cd3('0x281b'),{'id':0x44e,'title':_0x1cd3('0x92'),'route':_0x1cd3('0xc58'),'translate':_0x1cd3('0x281c'),'state':'app.callysquare.squareRecordings','permissions':{'association':![],'loading':!![]},'weight':0x3,'hidden':function(){return _0x36df17['hasRole'](_0x1cd3('0xd2'))||!_0x36df17[_0x1cd3('0x369')](0x44e)&&!_0x36df17[_0x1cd3('0x57')](_0x1cd3('0x5f'));}});_0x5ae636[_0x1cd3('0x547')](_0x1cd3('0x281d'),{'id':0x44f,'title':_0x1cd3('0x1c7'),'route':_0x1cd3('0xc55'),'translate':_0x1cd3('0x281e'),'state':_0x1cd3('0x94'),'weight':0x1,'hidden':function(){return _0x36df17[_0x1cd3('0x57')](_0x1cd3('0xd2'))||!_0x36df17[_0x1cd3('0x369')](0x44f)&&!_0x36df17['hasRole'](_0x1cd3('0x5f'));}});_0x5ae636[_0x1cd3('0x547')](_0x1cd3('0x281f'),{'id':0x4b0,'title':_0x1cd3('0x2820'),'translate':'ANALYTICS.ANALYTICS','icon':'icon-chart-line','weight':0x10,'hidden':function(){return _0x36df17['hasRole'](_0x1cd3('0xd2'))||!_0x36df17[_0x1cd3('0x27ac')](_0x406596(this))&&!_0x36df17[_0x1cd3('0x57')]('admin');}});_0x5ae636['saveItem'](_0x1cd3('0x2821'),{'id':0x4b1,'title':'Metrics','route':_0x1cd3('0xd6c'),'translate':'ANALYTICS.METRICS','state':_0x1cd3('0x53'),'weight':0x3,'hidden':function(){return _0x36df17['hasRole'](_0x1cd3('0xd2'))||!_0x36df17[_0x1cd3('0x369')](0x4b1)&&!_0x36df17['hasRole'](_0x1cd3('0x5f'));}});_0x5ae636[_0x1cd3('0x547')](_0x1cd3('0x2822'),{'id':0x4b2,'title':'ExtractedReports','route':_0x1cd3('0xb9a'),'translate':_0x1cd3('0x2823'),'state':'app.analytics.extractedReports','permissions':{'association':![],'loading':!![]},'weight':0x2,'hidden':function(){return _0x36df17[_0x1cd3('0x57')](_0x1cd3('0xd2'))||!_0x36df17[_0x1cd3('0x369')](0x4b2)&&!_0x36df17[_0x1cd3('0x57')](_0x1cd3('0x5f'));}});_0x5ae636[_0x1cd3('0x547')](_0x1cd3('0x2824'),{'id':0x4b3,'title':'Reports','route':'','translate':'ANALYTICS.REPORTS','state':_0x1cd3('0x52'),'weight':0x1,'hidden':function(){return _0x36df17[_0x1cd3('0x57')](_0x1cd3('0xd2'))||!_0x36df17[_0x1cd3('0x369')](0x4b3)&&!_0x36df17[_0x1cd3('0x57')]('admin');}});_0x5ae636[_0x1cd3('0x547')](_0x1cd3('0x2825'),{'id':0x514,'title':_0x1cd3('0x21b7'),'translate':'INTEGRATIONS.INTEGRATIONS','icon':_0x1cd3('0x2826'),'weight':0x11,'hidden':function(){return _0x36df17['hasRole'](_0x1cd3('0xd2'))||!_0x36df17['hasChildrenPermissions'](_0x406596(this))&&!_0x36df17[_0x1cd3('0x57')](_0x1cd3('0x5f'));}});_0x5ae636[_0x1cd3('0x547')]('apps.integrations.zendeskAccounts',{'id':0x515,'title':_0x1cd3('0x17a'),'route':'intZendeskAccount','translate':_0x1cd3('0x2827'),'state':'app.integrations.zendeskAccounts','permissions':{'association':![],'loading':!![]},'weight':0x1,'hidden':function(){return _0x36df17[_0x1cd3('0x57')](_0x1cd3('0xd2'))||!_0x36df17['hasPermission'](0x515)&&!_0x36df17[_0x1cd3('0x57')](_0x1cd3('0x5f'));}});_0x5ae636[_0x1cd3('0x547')](_0x1cd3('0x2828'),{'id':0x516,'title':_0x1cd3('0x1af6'),'route':_0x1cd3('0xba6'),'translate':_0x1cd3('0x2829'),'state':_0x1cd3('0x17f'),'permissions':{'association':![],'loading':!![]},'weight':0x2,'hidden':function(){return _0x36df17[_0x1cd3('0x57')]('agent')||!_0x36df17[_0x1cd3('0x369')](0x516)&&!_0x36df17[_0x1cd3('0x57')]('admin');}});_0x5ae636[_0x1cd3('0x547')](_0x1cd3('0x282a'),{'id':0x517,'title':_0x1cd3('0x18b'),'route':_0x1cd3('0x1a5b'),'translate':_0x1cd3('0x282b'),'state':_0x1cd3('0x186'),'permissions':{'association':![],'loading':!![]},'weight':0x3,'hidden':function(){return _0x36df17['hasRole'](_0x1cd3('0xd2'))||!_0x36df17[_0x1cd3('0x369')](0x517)&&!_0x36df17[_0x1cd3('0x57')](_0x1cd3('0x5f'));}});_0x5ae636[_0x1cd3('0x547')](_0x1cd3('0x282c'),{'id':0x519,'title':_0x1cd3('0x193'),'route':_0x1cd3('0xbb5'),'translate':_0x1cd3('0x282d'),'state':'app.integrations.sugarcrmAccounts','permissions':{'association':![],'loading':!![]},'weight':0x4,'hidden':function(){return _0x36df17[_0x1cd3('0x57')](_0x1cd3('0xd2'))||!_0x36df17[_0x1cd3('0x369')](0x519)&&!_0x36df17[_0x1cd3('0x57')](_0x1cd3('0x5f'));}});_0x5ae636[_0x1cd3('0x547')](_0x1cd3('0x282e'),{'id':0x51a,'title':_0x1cd3('0x19a'),'route':_0x1cd3('0xbc4'),'translate':'INTEGRATIONS.DESKACCOUNTS','state':_0x1cd3('0x196'),'permissions':{'association':![],'loading':!![]},'weight':0x5,'hidden':function(){return _0x36df17[_0x1cd3('0x57')](_0x1cd3('0xd2'))||!_0x36df17[_0x1cd3('0x369')](0x51a)&&!_0x36df17[_0x1cd3('0x57')](_0x1cd3('0x5f'));}});_0x5ae636[_0x1cd3('0x547')](_0x1cd3('0x282f'),{'id':0x51b,'title':_0x1cd3('0x1c11'),'route':_0x1cd3('0x1be0'),'translate':_0x1cd3('0x2830'),'state':_0x1cd3('0x1bfe'),'permissions':{'association':![],'loading':!![]},'weight':0x6,'hidden':function(){return _0x36df17[_0x1cd3('0x57')](_0x1cd3('0xd2'))||!_0x36df17['hasPermission'](0x51b)&&!_0x36df17[_0x1cd3('0x57')](_0x1cd3('0x5f'));}});_0x5ae636[_0x1cd3('0x547')](_0x1cd3('0x2831'),{'id':0x51c,'title':_0x1cd3('0x1b92'),'route':_0x1cd3('0xbf6'),'translate':'INTEGRATIONS.VTIGERACCOUNTS','state':_0x1cd3('0x1b89'),'permissions':{'association':![],'loading':!![]},'weight':0x7,'hidden':function(){return _0x36df17[_0x1cd3('0x57')](_0x1cd3('0xd2'))||!_0x36df17[_0x1cd3('0x369')](0x51c)&&!_0x36df17['hasRole']('admin');}});_0x5ae636['saveItem'](_0x1cd3('0x2832'),{'id':0x51d,'title':_0x1cd3('0x1ad'),'route':'intDynamics365Account','translate':_0x1cd3('0x2833'),'state':_0x1cd3('0x1aa'),'permissions':{'association':![],'loading':!![]},'weight':0x8,'hidden':function(){return _0x36df17['hasRole'](_0x1cd3('0xd2'))||!_0x36df17['hasPermission'](0x51d)&&!_0x36df17[_0x1cd3('0x57')](_0x1cd3('0x5f'));}});_0x5ae636[_0x1cd3('0x547')](_0x1cd3('0x2834'),{'id':0x51e,'title':'ServicenowAccounts','route':_0x1cd3('0xc01'),'translate':'INTEGRATIONS.SERVICENOWACCOUNTS','state':_0x1cd3('0x1b1'),'permissions':{'association':![],'loading':!![]},'weight':0x9,'hidden':function(){return _0x36df17[_0x1cd3('0x57')](_0x1cd3('0xd2'))||!_0x36df17[_0x1cd3('0x369')](0x51e)&&!_0x36df17[_0x1cd3('0x57')](_0x1cd3('0x5f'));}});_0x5ae636[_0x1cd3('0x547')](_0x1cd3('0x2835'),{'id':0x518,'title':_0x1cd3('0x1be'),'route':_0x1cd3('0xc1d'),'translate':'INTEGRATIONS.FRESHSALESACCOUNTS','state':_0x1cd3('0x1ba'),'permissions':{'association':![],'loading':!![]},'weight':0xa,'hidden':function(){return _0x36df17[_0x1cd3('0x57')](_0x1cd3('0xd2'))||!_0x36df17[_0x1cd3('0x369')](0x518)&&!_0x36df17['hasRole']('admin');}});_0x5ae636[_0x1cd3('0x547')](_0x1cd3('0x2836'),{'id':0x578,'title':'Settings','translate':_0x1cd3('0x2837'),'icon':_0x1cd3('0x72b'),'permissions':{'hidden':!![]},'weight':0x14,'hidden':function(){return _0x36df17[_0x1cd3('0x57')](_0x1cd3('0xd2'))||!_0x36df17[_0x1cd3('0x369')](0x578)&&!_0x36df17[_0x1cd3('0x57')](_0x1cd3('0x5f'));}});_0x5ae636['saveItem'](_0x1cd3('0x2838'),{'id':0x579,'title':'General','route':'setting','translate':_0x1cd3('0x2839'),'state':_0x1cd3('0x283a'),'weight':0x1,'hidden':function(){return _0x36df17[_0x1cd3('0x57')](_0x1cd3('0xd2'))||!_0x36df17[_0x1cd3('0x369')](0x578)&&!_0x36df17[_0x1cd3('0x57')](_0x1cd3('0x5f'));}});_0x5ae636[_0x1cd3('0x547')](_0x1cd3('0x283b'),{'id':0x57a,'title':'Smtp','route':_0x1cd3('0xa7a'),'translate':'SETTINGS.SMTP','state':_0x1cd3('0x283c'),'weight':0x1,'hidden':function(){return _0x36df17[_0x1cd3('0x57')](_0x1cd3('0xd2'))||!_0x36df17[_0x1cd3('0x369')](0x578)&&!_0x36df17['hasRole']('admin');}});_0x5ae636[_0x1cd3('0x547')](_0x1cd3('0x283d'),{'id':0x57b,'title':_0x1cd3('0x1fed'),'route':_0x1cd3('0x5aa'),'translate':'SETTINGS.NETWORKS','state':_0x1cd3('0x252'),'weight':0x1,'hidden':function(){return _0x36df17['hasRole'](_0x1cd3('0xd2'))||!_0x36df17[_0x1cd3('0x369')](0x578)&&!_0x36df17[_0x1cd3('0x57')]('admin');}});_0x5ae636[_0x1cd3('0x547')](_0x1cd3('0x283e'),{'id':0x57f,'title':_0x1cd3('0x283f'),'route':_0x1cd3('0xc49'),'translate':_0x1cd3('0x2840'),'state':'app.settings.customizations','weight':0x1,'hidden':function(){return!_0x3845ea['custom']||_0x36df17['hasRole'](_0x1cd3('0xd2'))||!_0x36df17[_0x1cd3('0x369')](0x578)&&!_0x36df17[_0x1cd3('0x57')](_0x1cd3('0x5f'));}});_0x5ae636['saveItem'](_0x1cd3('0x2841'),{'id':0x580,'title':_0x1cd3('0x2842'),'route':_0x1cd3('0xcc6'),'translate':_0x1cd3('0x2843'),'state':_0x1cd3('0x25b'),'weight':0x1,'hidden':function(){return!_0x3845ea['ai']||_0x36df17['hasRole'](_0x1cd3('0xd2'))||!_0x36df17[_0x1cd3('0x369')](0x578)&&!_0x36df17[_0x1cd3('0x57')](_0x1cd3('0x5f'));}});_0x5ae636[_0x1cd3('0x547')](_0x1cd3('0x2844'),{'id':0x57c,'title':_0x1cd3('0x2845'),'route':'','translate':_0x1cd3('0x2846'),'state':_0x1cd3('0x248'),'weight':0x1,'hidden':function(){return!_0x3845ea[_0x1cd3('0x378')]||_0x36df17[_0x1cd3('0x57')](_0x1cd3('0xd2'))||!_0x36df17[_0x1cd3('0x369')](0x578)&&!_0x36df17[_0x1cd3('0x57')](_0x1cd3('0x5f'));}});_0x5ae636[_0x1cd3('0x547')](_0x1cd3('0x2847'),{'id':0x57d,'title':_0x1cd3('0x72a'),'route':'','translate':_0x1cd3('0x2848'),'state':_0x1cd3('0x25d'),'weight':0x1,'hidden':function(){return _0x36df17[_0x1cd3('0x57')](_0x1cd3('0xd2'))||!_0x36df17[_0x1cd3('0x369')](0x578)&&!_0x36df17[_0x1cd3('0x57')](_0x1cd3('0x5f'));}});_0x5ae636[_0x1cd3('0x547')](_0x1cd3('0x2849'),{'id':0x57e,'title':'System','route':'','translate':'SETTINGS.SYSTEM','state':_0x1cd3('0x249'),'weight':0x1,'hidden':function(){return _0x36df17['hasRole'](_0x1cd3('0xd2'))||!_0x36df17['hasPermission'](0x578)&&!_0x36df17['hasRole']('admin');}});_0x5ae636[_0x1cd3('0x547')](_0x1cd3('0x284a'),{'id':0x5dc,'title':_0x1cd3('0x284b'),'translate':_0x1cd3('0x284c'),'icon':_0x1cd3('0x284d'),'license':_0x1cd3('0x159f'),'weight':0x5,'hidden':function(){return!_0x3845ea[_0x1cd3('0x159f')]||_0x36df17[_0x1cd3('0x57')](_0x1cd3('0xd2'))||!_0x36df17[_0x1cd3('0x27ac')](_0x406596(this))&&!_0x36df17['hasRole'](_0x1cd3('0x5f'));}});_0x5ae636[_0x1cd3('0x547')](_0x1cd3('0x284e'),{'id':0x5dd,'title':_0x1cd3('0x129'),'route':_0x1cd3('0xa48'),'channel':_0x1cd3('0x2110'),'translate':_0x1cd3('0x284f'),'state':_0x1cd3('0x1fd'),'weight':0x1,'hidden':function(){return _0x36df17[_0x1cd3('0x57')](_0x1cd3('0xd2'))||!_0x36df17['hasPermission'](0x5dd)&&!_0x36df17['hasRole']('admin');}});_0x5ae636[_0x1cd3('0x547')](_0x1cd3('0x2850'),{'id':0x5de,'title':_0x1cd3('0x209'),'route':_0x1cd3('0xc69'),'translate':_0x1cd3('0x2851'),'state':'app.motiondialer.ivrCampaigns','weight':0x1,'hidden':function(){return _0x36df17['hasRole']('agent')||!_0x36df17[_0x1cd3('0x369')](0x5de)&&!_0x36df17[_0x1cd3('0x57')](_0x1cd3('0x5f'));}});_0x5ae636[_0x1cd3('0x547')](_0x1cd3('0x2852'),{'id':0x5e6,'title':'Realtime','route':'','translate':'MOTIONDIALER.REALTIME','state':_0x1cd3('0x1fc'),'permissions':{'association':![],'crud':![]},'weight':0x1,'hidden':function(){return _0x36df17[_0x1cd3('0x57')](_0x1cd3('0xd2'))||!_0x36df17[_0x1cd3('0x369')](0x5e6)&&!_0x36df17[_0x1cd3('0x57')](_0x1cd3('0x5f'));}});_0x5ae636['saveItem'](_0x1cd3('0x2853'),{'id':0x640,'title':_0x1cd3('0x2854'),'translate':'HELP.HELP','icon':_0x1cd3('0x2855'),'permissions':{'association':![]},'weight':0x15,'hidden':function(){return _0x36df17[_0x1cd3('0x57')](_0x1cd3('0xd2'))||!_0x36df17[_0x1cd3('0x369')](0x640)&&!_0x36df17[_0x1cd3('0x57')](_0x1cd3('0x5f'));}});_0x5ae636['saveItem']('apps.help.about',{'id':0x641,'title':_0x1cd3('0x2856'),'route':'','translate':_0x1cd3('0x2857'),'state':_0x1cd3('0x16f'),'weight':0x1,'hidden':function(){return _0x36df17[_0x1cd3('0x57')]('agent')||!_0x36df17[_0x1cd3('0x369')](0x640)&&!_0x36df17['hasRole']('admin');}});_0x5ae636['saveItem'](_0x1cd3('0x2858'),{'id':0x6a4,'title':'jscripty','translate':'JSCRIPTY.JSCRIPTY','icon':'icon-script','license':_0x1cd3('0x1ca'),'weight':0xe,'hidden':function(){return!_0x3845ea[_0x1cd3('0x1ca')]||_0x36df17[_0x1cd3('0x57')](_0x1cd3('0xd2'))||!_0x36df17[_0x1cd3('0x27ac')](_0x406596(this))&&!_0x36df17[_0x1cd3('0x57')]('admin');}});_0x5ae636[_0x1cd3('0x547')]('apps.jscripty.projects',{'id':0x6a5,'title':'Projects','route':_0x1cd3('0xc42'),'translate':_0x1cd3('0x2859'),'state':'app.jscripty.projects','weight':0x1,'hidden':function(){return _0x36df17['hasRole'](_0x1cd3('0xd2'))||!_0x36df17[_0x1cd3('0x369')](0x6a5)&&!_0x36df17[_0x1cd3('0x57')]('admin');}});_0x5ae636[_0x1cd3('0x547')](_0x1cd3('0x285a'),{'id':0x708,'title':_0x1cd3('0x2188'),'translate':_0x1cd3('0x285b'),'icon':'icon-cart','weight':0x12,'hidden':function(){return _0x36df17[_0x1cd3('0x57')](_0x1cd3('0xd2'))||!_0x36df17[_0x1cd3('0x27ac')](_0x406596(this))&&!_0x36df17[_0x1cd3('0x57')](_0x1cd3('0x5f'));}});_0x5ae636['saveItem']('apps.marketplace.plugins',{'id':0x709,'title':'Plugins','route':_0x1cd3('0xc78'),'translate':_0x1cd3('0x285c'),'state':_0x1cd3('0x1f2'),'weight':0x1,'hidden':function(){return _0x36df17[_0x1cd3('0x57')]('agent')||!_0x36df17[_0x1cd3('0x369')](0x709)&&!_0x36df17[_0x1cd3('0x57')]('admin');}});_0x5ae636['saveItem'](_0x1cd3('0x285d'),{'id':0x7d0,'title':_0x1cd3('0x285e'),'translate':'VIDEO.VIDEO','icon':'icon-video','license':_0x1cd3('0x13a5'),'weight':0xc,'hidden':function(){return!_0x3845ea[_0x1cd3('0x13a5')]||_0x36df17[_0x1cd3('0x57')]('agent')||!_0x36df17['hasChildrenPermissions'](_0x406596(this))&&!_0x36df17[_0x1cd3('0x57')]('admin');}});_0x5ae636[_0x1cd3('0x547')]('apps.video.screenRecordings',{'id':0x7d1,'title':_0x1cd3('0x2e1'),'route':_0x1cd3('0x13b8'),'translate':_0x1cd3('0x285f'),'state':_0x1cd3('0x2da'),'permissions':{'association':![],'loading':!![]},'weight':0x1,'hidden':function(){return _0x36df17[_0x1cd3('0x57')](_0x1cd3('0xd2'))||!_0x36df17['hasPermission'](0x7d1)&&!_0x36df17['hasRole'](_0x1cd3('0x5f'));}});_0x5ae636[_0x1cd3('0x547')](_0x1cd3('0x2860'),{'id':0x834,'title':_0x1cd3('0x2442'),'translate':_0x1cd3('0x2861'),'icon':_0x1cd3('0x159b'),'license':_0x1cd3('0x34a'),'weight':0xb,'hidden':function(){return!_0x3845ea[_0x1cd3('0x34a')]||_0x36df17['hasRole'](_0x1cd3('0xd2'))||!_0x36df17[_0x1cd3('0x27ac')](_0x406596(this))&&!_0x36df17[_0x1cd3('0x57')]('admin');}});_0x5ae636['saveItem'](_0x1cd3('0x2862'),{'id':0x835,'title':_0x1cd3('0x344'),'route':'whatsappQueue','channel':_0x1cd3('0x34a'),'translate':_0x1cd3('0x2863'),'state':'app.whatsapp.whatsappQueues','weight':0x1,'hidden':function(){return _0x36df17[_0x1cd3('0x57')](_0x1cd3('0xd2'))||!_0x36df17['hasPermission'](0x835)&&!_0x36df17[_0x1cd3('0x57')](_0x1cd3('0x5f'));}});_0x5ae636['saveItem'](_0x1cd3('0x2864'),{'id':0x836,'title':_0x1cd3('0x14c'),'route':_0x1cd3('0xca3'),'channel':_0x1cd3('0x34a'),'translate':_0x1cd3('0x2865'),'state':_0x1cd3('0x34e'),'weight':0x1,'hidden':function(){return _0x36df17[_0x1cd3('0x57')](_0x1cd3('0xd2'))||!_0x36df17[_0x1cd3('0x369')](0x836)&&!_0x36df17['hasRole'](_0x1cd3('0x5f'));}});_0x5ae636[_0x1cd3('0x547')]('apps.whatsapp.realtime',{'id':0x83e,'title':_0x1cd3('0x27d8'),'route':'','translate':'WHATSAPP.REALTIME','state':'app.whatsapp.realtime','permissions':{'association':![],'crud':![]},'weight':0x1,'hidden':function(){return _0x36df17[_0x1cd3('0x57')](_0x1cd3('0xd2'))||!_0x36df17['hasPermission'](0x83e)&&!_0x36df17[_0x1cd3('0x57')](_0x1cd3('0x5f'));}});_0x5ae636[_0x1cd3('0x550')]();_0x2f60fe[_0x1cd3('0x547')](_0x1cd3('0x1210'),{'title':_0x1cd3('0x2866'),'group':!![],'weight':0x1});_0x2f60fe['saveItem']('apps.home',{'id':0x64,'title':'Home','translate':_0x1cd3('0x2867'),'icon':_0x1cd3('0x2868'),'weight':0x1});_0x2f60fe[_0x1cd3('0x547')](_0x1cd3('0x2869'),{'id':0x65,'title':_0x1cd3('0x286a'),'translate':_0x1cd3('0x286b'),'state':_0x1cd3('0xa9e'),'view':'dashboard','icon':_0x1cd3('0x286c'),'iconClass':_0x1cd3('0x286d'),'weight':0x1,'hidden':function(){return!_0x36df17[_0x1cd3('0x369')](0x65);}});_0x2f60fe[_0x1cd3('0x547')]('apps.home.contacts',{'id':0x66,'title':_0x1cd3('0xf3'),'translate':_0x1cd3('0x286e'),'state':_0x1cd3('0x141d'),'view':_0x1cd3('0x141d'),'icon':_0x1cd3('0x1fb0'),'iconClass':_0x1cd3('0x286f'),'weight':0x2,'hidden':function(){return!_0x3845ea['cm']||!_0x36df17[_0x1cd3('0x369')](0x66);}});_0x2f60fe[_0x1cd3('0x547')](_0x1cd3('0x2870'),{'id':0x67,'title':'Contacts','translate':_0x1cd3('0x2871'),'state':_0x1cd3('0x2872'),'view':_0x1cd3('0x2872'),'icon':_0x1cd3('0x27b5'),'iconClass':'red-fg','weight':0x3,'hidden':function(){return!_0x3845ea['cm']||!_0x36df17[_0x1cd3('0x369')](0x67);}});_0x2f60fe['saveItem']('apps.home.scheduled',{'id':0x71,'title':_0x1cd3('0x2873'),'translate':'DASHBOARDS.SCHEDULED_CALLS','state':_0x1cd3('0x2874'),'view':_0x1cd3('0x2874'),'icon':_0x1cd3('0x2875'),'iconClass':_0x1cd3('0x2876'),'weight':0x3,'hidden':function(){return!_0x3845ea[_0x1cd3('0x159f')]||!_0x36df17[_0x1cd3('0x369')](0x71);}});_0x2f60fe['saveItem'](_0x1cd3('0x2877'),{'id':0x6e,'title':_0x1cd3('0x2436'),'translate':_0x1cd3('0x2878'),'state':'voice','view':_0x1cd3('0x121'),'icon':_0x1cd3('0x27c7'),'iconClass':_0x1cd3('0x2879'),'weight':0x4,'hidden':function(){return!_0x3845ea['voice']||!_0x36df17[_0x1cd3('0x369')](0x6e);}});_0x2f60fe[_0x1cd3('0x547')](_0x1cd3('0x287a'),{'id':0x6f,'title':_0x1cd3('0x287b'),'translate':_0x1cd3('0x287c'),'state':_0x1cd3('0x112'),'view':_0x1cd3('0x112'),'icon':_0x1cd3('0x287d'),'iconClass':'blue-fg','weight':0x5,'hidden':function(){return!_0x3845ea[_0x1cd3('0x121')]||!_0x36df17[_0x1cd3('0x369')](0x6f);}});_0x2f60fe[_0x1cd3('0x547')](_0x1cd3('0x287e'),{'id':0x68,'title':_0x1cd3('0x287f'),'translate':_0x1cd3('0x2880'),'state':_0x1cd3('0x2881'),'view':_0x1cd3('0x2881'),'icon':_0x1cd3('0x2882'),'iconClass':_0x1cd3('0x2883'),'weight':0x6,'hidden':function(){return!_0x3845ea[_0x1cd3('0x121')]||!_0x36df17['hasPermission'](0x68);}});_0x2f60fe[_0x1cd3('0x547')](_0x1cd3('0x2884'),{'id':0x69,'title':_0x1cd3('0x2439'),'translate':_0x1cd3('0x2885'),'state':_0x1cd3('0xbf'),'view':_0x1cd3('0xbf'),'icon':_0x1cd3('0x1597'),'iconClass':_0x1cd3('0x2886'),'weight':0x7,'hidden':function(){return!_0x3845ea[_0x1cd3('0xbf')]||!_0x36df17['hasPermission'](0x69);}});_0x2f60fe[_0x1cd3('0x547')](_0x1cd3('0x2887'),{'id':0x6a,'title':'Mail','translate':_0x1cd3('0x2888'),'state':_0x1cd3('0x1d2'),'view':_0x1cd3('0x1d2'),'icon':'icon-email','iconClass':_0x1cd3('0x2889'),'weight':0x8,'hidden':function(){return!_0x3845ea['mail']||!_0x36df17['hasPermission'](0x6a);}});_0x2f60fe['saveItem'](_0x1cd3('0x288a'),{'id':0x6b,'title':'Sms','translate':'DASHBOARDS.SMS','state':_0x1cd3('0x26b'),'view':_0x1cd3('0x26b'),'icon':_0x1cd3('0x1598'),'iconClass':_0x1cd3('0x288b'),'weight':0x9,'hidden':function(){return!_0x3845ea[_0x1cd3('0x18d8')]||!_0x36df17['hasPermission'](0x6b);}});_0x2f60fe[_0x1cd3('0x547')](_0x1cd3('0x288c'),{'id':0x6c,'title':_0x1cd3('0x2437'),'translate':'DASHBOARDS.OPENCHANNEL','state':_0x1cd3('0x22e'),'view':_0x1cd3('0x22e'),'icon':'icon-google-earth','iconClass':_0x1cd3('0x288d'),'weight':0xa,'hidden':function(){return!_0x3845ea['openchannel']||!_0x36df17[_0x1cd3('0x369')](0x6c);}});_0x2f60fe['saveItem'](_0x1cd3('0x288e'),{'id':0x6d,'title':_0x1cd3('0x243f'),'translate':_0x1cd3('0x288f'),'state':_0x1cd3('0x154'),'view':'fax','icon':_0x1cd3('0x159a'),'iconClass':_0x1cd3('0x2890'),'weight':0xb,'hidden':function(){return!_0x3845ea[_0x1cd3('0x154')]||!_0x36df17[_0x1cd3('0x369')](0x6d);}});_0x2f60fe['saveItem'](_0x1cd3('0x2891'),{'id':0x72,'title':'Whatsapp','translate':'DASHBOARDS.WHATSAPP','state':_0x1cd3('0x34a'),'view':_0x1cd3('0x34a'),'icon':_0x1cd3('0x159b'),'iconClass':'lime-A700-fg','weight':0xc,'hidden':function(){return!_0x3845ea[_0x1cd3('0x34a')]||!_0x36df17['hasPermission'](0x72);}});_0xdbc092[_0x1cd3('0x4d3')]('$viewContentAnimationEnded',function(_0x2458f6){if(_0x2458f6[_0x1cd3('0x2892')]['$id']===_0xdbc092['$id']){_0x4cc7f1['$broadcast']('msSplashScreen::remove');}});}}());(function(){'use strict';_0x3239e4[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x36f'),_0x1cd3('0xc49'),_0x1cd3('0xd18'),'msNavigationService','Auth'];angular['module']('app.navigation')[_0x1cd3('0x39b')](_0x1cd3('0x2893'),_0x3239e4);function _0x3239e4(_0x279274,_0x40abbc,_0x1d13e4,_0x49ac02,_0x2657eb,_0x12233a){var _0x2a99fd=this;_0x2a99fd['bodyEl']=angular['element']('body');_0x2a99fd['msScrollOptions']={'suppressScrollX':!![]};_0x2a99fd[_0x1cd3('0xc49')]=_0x1d13e4;_0x2a99fd['$onInit']=_0x3e5be6;_0x2a99fd['toggleMsNavigationFolded']=_0x11cfa2;_0x2a99fd[_0x1cd3('0x2894')]=_0x357245;_0x49ac02['on'](_0x1cd3('0x2895'),_0x39ab41);_0x49ac02['on']('dashboard:update',_0x39ab41);_0x49ac02['on']('dashboard:remove',_0x3762c4);_0x49ac02['on'](_0x1cd3('0x2896'),_0x361647);_0x49ac02['on'](_0x1cd3('0x2897'),_0x361647);_0x49ac02['on'](_0x1cd3('0x2898'),_0x230443);function _0x3e5be6(){_0x2a99fd[_0x1cd3('0x561')]=_0x40abbc[_0x1cd3('0x361')](_0x1cd3('0x2899'))===_0x1cd3('0x2e0')||![];}function _0x11cfa2(){_0x2a99fd[_0x1cd3('0x561')]=!_0x2a99fd[_0x1cd3('0x561')];_0x40abbc[_0x1cd3('0x37b')](_0x1cd3('0x2899'),_0x2a99fd[_0x1cd3('0x561')]);}function _0x357245(){return _0x2a99fd[_0x1cd3('0xc49')][_0x1cd3('0x289a')]?_0x1cd3('0x289b'):_0x2a99fd[_0x1cd3('0xc49')]['headerWhiteLabel'];}function _0x39ab41(_0x38bd8b){if(_0x38bd8b&&_0x38bd8b['id']){var _0x5ba3f8=0x1869f+_0x38bd8b['id'];_0x2657eb[_0x1cd3('0x547')](_0x1cd3('0x27aa')+_0x5ba3f8,{'id':_0x5ba3f8,'title':_0x38bd8b[_0x1cd3('0x98')]||_0x1cd3('0x27a4'),'state':_0x1cd3('0x107'),'stateParams':_0x38bd8b,'weight':0x2,'hidden':function(){return _0x12233a[_0x1cd3('0x57')](_0x1cd3('0xd2'))||!_0x12233a[_0x1cd3('0x369')](_0x5ba3f8)&&!_0x12233a[_0x1cd3('0x57')](_0x1cd3('0x5f'));}});}}function _0x3762c4(_0x47d3e3){if(_0x47d3e3&&_0x47d3e3['id']){var _0x3b2a70=0x1869f+_0x47d3e3['id'];_0x2657eb[_0x1cd3('0x548')]('apps.dashboards.custom_'+_0x3b2a70);}}function _0x361647(_0x3f8c9a){if(_0x3f8c9a&&_0x3f8c9a['id']&&_0x3f8c9a[_0x1cd3('0x1664')]!='never'){if(_0x3f8c9a['active']){if(_0x3f8c9a[_0x1cd3('0x1664')]=='always'||_0x3f8c9a[_0x1cd3('0x1664')]==_0x1cd3('0x27ae')){_0x2657eb['saveItem'](_0x1cd3('0x289c'),{'id':0x76c,'title':'Plugins','translate':'PLUGINS.PLUGINS','icon':_0x1cd3('0x1214'),'weight':0x11,'hidden':function(){return _0x12233a[_0x1cd3('0x57')](_0x1cd3('0xd2'))||!_0x12233a[_0x1cd3('0x369')](0x76c)&&!_0x12233a[_0x1cd3('0x57')](_0x1cd3('0x5f'));}});var _0x59bfba=0x15b38+_0x3f8c9a['id'];_0x2657eb['saveItem'](_0x1cd3('0x27ad')+_0x59bfba,{'id':_0x59bfba,'title':_0x3f8c9a[_0x1cd3('0x98')]||'NONAME','state':_0x1cd3('0x242'),'stateParams':_0x3f8c9a,'weight':0x2,'hidden':function(){return _0x12233a['hasRole'](_0x1cd3('0xd2'))||!_0x12233a[_0x1cd3('0x369')](_0x59bfba)&&!_0x12233a['hasRole']('admin');}});_0x2657eb[_0x1cd3('0x550')]();}}else{var _0x59bfba=0x15b38+_0x3f8c9a['id'];if(_0x3e9049(0x76c,_0x59bfba)&&(_0x3f8c9a['sidebar']=='always'||_0x3f8c9a[_0x1cd3('0x1664')]==_0x1cd3('0x27ae'))){_0x2657eb['deleteItem'](_0x1cd3('0x27ad')+_0x59bfba);if(!_0x82b5e(0x76c)){_0x2657eb[_0x1cd3('0x547')]('apps.plugins',{'id':0x76c,'title':_0x1cd3('0x1f6'),'translate':_0x1cd3('0x27ab'),'icon':_0x1cd3('0x1214'),'weight':0x11,'hidden':function(){return!![];}});}}}}}function _0x230443(_0x3789e5){if(_0x3789e5&&_0x3789e5['id']&&_0x3789e5['sidebar']!=_0x1cd3('0x1de4')){var _0x100193=0x15b38+_0x3789e5['id'];if(_0x3789e5[_0x1cd3('0x1664')]==_0x1cd3('0x1213')||_0x3789e5[_0x1cd3('0x1664')]=='adminOnly'){_0x2657eb[_0x1cd3('0x548')](_0x1cd3('0x27ad')+_0x100193);if(!_0x82b5e(0x76c)){_0x2657eb[_0x1cd3('0x547')]('apps.plugins',{'id':0x76c,'title':'Plugins','translate':_0x1cd3('0x27ab'),'icon':_0x1cd3('0x1214'),'weight':0x11,'hidden':function(){return!![];}});}}}}function _0x82b5e(_0x4887b5){var _0x2ac079=_0x2657eb[_0x1cd3('0x555')]();var _0x3a7f60=_[_0x1cd3('0x442')](_0x2ac079[0x0][_0x1cd3('0x52b')],{'id':_0x4887b5});return _0x3a7f60&&_0x3a7f60['children'][_0x1cd3('0x7a')]>0x0?!![]:![];}function _0x3e9049(_0x3172e9,_0x48f752){var _0x1471dc=_0x2657eb[_0x1cd3('0x555')]();var _0x66e7fc=_[_0x1cd3('0x442')](_0x1471dc[0x0][_0x1cd3('0x52b')],{'id':_0x3172e9});if(!_0x66e7fc)return![];return _[_0x1cd3('0x38d')](_0x66e7fc[_0x1cd3('0x52b')],{'id':_0x48f752});}_0x279274[_0x1cd3('0x4d3')](_0x1cd3('0x57f'),function(){_0x2a99fd[_0x1cd3('0x289d')][_0x1cd3('0x4c9')](_0x1cd3('0x558'));});}}());(function(){'use strict';_0x2df816[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x3f7'),'$q',_0x1cd3('0x56'),_0x1cd3('0xd18'),_0x1cd3('0x370'),_0x1cd3('0x1562'),_0x1cd3('0x463')];angular[_0x1cd3('0x0')](_0x1cd3('0x28'))['controller'](_0x1cd3('0x289e'),_0x2df816);function _0x2df816(_0x520d42,_0x40440d,_0x4377e3,_0x40bf96,_0x49e226,_0x3df98c,_0x143972,_0x1dfe11){var _0x403b41=this;_0x403b41[_0x1cd3('0x406')]=moment()[_0x1cd3('0x130')]();_0x403b41[_0x1cd3('0x3ca')]=_0x40bf96[_0x1cd3('0x5d')]();_0x403b41['license']=_0x1dfe11;_0x403b41[_0x1cd3('0x289f')]=0x0;_0x403b41[_0x1cd3('0x28a0')]=0x0;_0x403b41[_0x1cd3('0x28a1')]=_0x331a27;_0x403b41[_0x1cd3('0x17e0')]=_0xec313b;_0x403b41['onMessageUpdate']=_0x522e70;_0x49e226['on'](_0x1cd3('0x28a2'),_0x403b41['onMessageSave']);_0x49e226['on'](_0x1cd3('0x28a3'),_0x403b41[_0x1cd3('0x28a4')]);_0x3df98c[_0x1cd3('0xc30')][_0x1cd3('0x361')]({'fields':'FromId','ToId':_0x403b41[_0x1cd3('0x3ca')]['id'],'read':![],'nolimit':!![],'ChatGroupId':_0x1cd3('0x220')})[_0x1cd3('0x81')]['then'](function(_0x22d8e9){if(_0x22d8e9&&_0x22d8e9[_0x1cd3('0x466')]){_0x403b41[_0x1cd3('0x289f')]=_0x22d8e9[_0x1cd3('0x466')];}return _0x3df98c[_0x1cd3('0x368')][_0x1cd3('0x28a5')]({'id':_0x403b41['currentUser']['id']})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x100f7f){var _0x5bccfc=[];var _0x5437a8=_0x100f7f['rows'];for(var _0x14bc71=0x0;_0x14bc71<_0x5437a8[_0x1cd3('0x7a')];_0x14bc71++){_0x5bccfc[_0x1cd3('0x7b')](_0x3df98c[_0x1cd3('0xb31')][_0x1cd3('0x28a6')]({'id':_0x5437a8[_0x14bc71]['id']})[_0x1cd3('0x81')]);}return _0x4377e3[_0x1cd3('0x7e')](_0x5bccfc);})[_0x1cd3('0x77')](function(_0x2de6c0){for(var _0x31b2da=0x0;_0x31b2da<_0x2de6c0['length'];_0x31b2da++){_0x403b41[_0x1cd3('0x28a0')]+=_0x2de6c0[_0x31b2da]['count'];}})[_0x1cd3('0xfd')](function(_0x528d88){console[_0x1cd3('0x434')](_0x528d88);});function _0x31be1e(_0x369f38){var _0x4e95cb={'autoClose':!![],'duration':0xa,'showOnPageHidden':!![],'icon':_0x1cd3('0x20fc')+_0x369f38['FromId']+'/avatar','body':_0x369f38[_0x1cd3('0x380')]||'','focusOnclick':!![],'closeOnClick':!![]};_0x143972[_0x1cd3('0x37e')](_0x40440d[_0x1cd3('0x44a')](_0x1cd3('0x28a7')),_0x4e95cb);}function _0x28b614(_0x2a8b6e){if(_0x143972[_0x1cd3('0x15b2')]()){_0x143972[_0x1cd3('0x934')]()[_0x1cd3('0x77')](function(){_0x31be1e(_0x2a8b6e);},function(_0x497b4d){console[_0x1cd3('0x434')]('Please\x20enable\x20browser\x20notifications!',_0x497b4d);});}else{console[_0x1cd3('0x434')](_0x1cd3('0x15b4'));}}function _0x331a27(){return _0x403b41['currentUser'][_0x1cd3('0x388')]===_0x1cd3('0x5f')||_0x403b41['currentUser'][_0x1cd3('0x388')]==='user'||_0x403b41[_0x1cd3('0x3ca')][_0x1cd3('0x388')]===_0x1cd3('0xd2')&&_0x403b41[_0x1cd3('0x3ca')]['showWebBar']!==0x0;}function _0xec313b(_0x37b16f){if(_0x37b16f[_0x1cd3('0x28a8')]===_0x403b41[_0x1cd3('0x3ca')]['id']&&_0x37b16f[_0x1cd3('0x28a9')]!==_0x403b41[_0x1cd3('0x3ca')]['id']&&!_0x37b16f[_0x1cd3('0x167e')]&&_0x37b16f['ChatGroupId']){_0x403b41[_0x1cd3('0x28a0')]++;_0x28b614(_0x37b16f);}if(_0x37b16f['ToId']===_0x403b41[_0x1cd3('0x3ca')]['id']&&!_0x37b16f[_0x1cd3('0x28aa')]){_0x403b41[_0x1cd3('0x289f')]+=0x1;_0x28b614(_0x37b16f);}}function _0x522e70(_0x7520ce){if(_0x7520ce[_0x1cd3('0x28a8')]===_0x403b41[_0x1cd3('0x3ca')]['id']&&_0x7520ce[_0x1cd3('0x167e')]&&_0x403b41[_0x1cd3('0x289f')]>0x0&&!_0x7520ce[_0x1cd3('0x28aa')]){_0x403b41[_0x1cd3('0x289f')]-=0x1;}if(_0x7520ce[_0x1cd3('0x28a8')]==_0x403b41[_0x1cd3('0x3ca')]['id']&&_0x7520ce[_0x1cd3('0x28a9')]!==_0x403b41[_0x1cd3('0x3ca')]['id']&&_0x7520ce['ChatGroupId']&&_0x7520ce[_0x1cd3('0x167e')]){if(_0x403b41['unreadTotalGroupMessages']>0x0){_0x403b41[_0x1cd3('0x28a0')]--;}}}_0x520d42[_0x1cd3('0x4d3')](_0x1cd3('0x523'),function(){_0x49e226[_0x1cd3('0x6a3')](_0x1cd3('0x28a2'));_0x49e226[_0x1cd3('0x6a3')]('chatInternalMessage:update');});}}());(function(){'use strict';_0x577305[_0x1cd3('0xc')]=[_0x1cd3('0x460'),'toasty',_0x1cd3('0x370'),_0x1cd3('0x3e7'),'Auth',_0x1cd3('0xd18'),_0x1cd3('0x969'),'$q',_0x1cd3('0x585'),_0x1cd3('0x3f7'),_0x1cd3('0x39e'),_0x1cd3('0x587')];angular[_0x1cd3('0x0')](_0x1cd3('0x28'))[_0x1cd3('0x39b')](_0x1cd3('0x28ab'),_0x577305);function _0x577305(_0x43b399,_0x5049ab,_0x170374,_0x10bcd9,_0x57446f,_0x4797c7,_0x49089f,_0x335318,_0x650450,_0x478543,_0x225586,_0x59db22){var _0x12d091=this;_0x12d091[_0x1cd3('0x3ca')]=_0x57446f['getCurrentUser']();_0x12d091[_0x1cd3('0x368')]=undefined;_0x12d091[_0x1cd3('0xef4')]={'count':0x0,'rows':[]};_0x12d091['standardDate']=moment(0x0)[_0x1cd3('0x130')]('YYYY-MM-DD\x20HH:mm:ss');_0x12d091['unreadMessage']={};_0x12d091['replyMessage']='';_0x12d091[_0x1cd3('0x447')]=![];_0x12d091[_0x1cd3('0xe08')]=_0x475aa5;_0x12d091[_0x1cd3('0x28ac')]=_0x260e62;_0x12d091[_0x1cd3('0x17df')]=_0x30ce1f;_0x12d091['onMessageSave']=_0x31fcbe;_0x12d091['onMessageUpdate']=_0x14552d;_0x12d091[_0x1cd3('0x28ad')]=_0x4030e7;_0x12d091[_0x1cd3('0x164d')]=_0x398cbd;_0x12d091[_0x1cd3('0x46d')]=_0x51c7e6;_0x12d091[_0x1cd3('0x46e')]=_0x24924f;_0x4797c7['on']('chatInternalMessage:save',_0x12d091[_0x1cd3('0x17e0')]);_0x4797c7['on'](_0x1cd3('0x28a3'),_0x12d091[_0x1cd3('0x28a4')]);_0x4797c7['on'](_0x1cd3('0x13ba'),_0x12d091[_0x1cd3('0x28ad')]);_0x49089f(_0x1cd3('0x28ae'))[_0x1cd3('0x4ca')](function(){_0x12d091[_0x1cd3('0x368')]=undefined;});_0x170374[_0x1cd3('0xc30')][_0x1cd3('0x361')]({'fields':_0x1cd3('0x28a9'),'ToId':_0x12d091[_0x1cd3('0x3ca')]['id'],'read':![],'nolimit':!![],'ChatGroupId':_0x1cd3('0x220')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x9168fc){_0x12d091[_0x1cd3('0x28af')]=_[_0x1cd3('0x28b0')](_0x9168fc[_0x1cd3('0xf6')],'FromId');})[_0x1cd3('0xfd')](function(_0x70de76){});_0x170374[_0x1cd3('0xc30')][_0x1cd3('0xeec')]()[_0x1cd3('0x81')]['then'](function(_0x51487b){_0x12d091[_0x1cd3('0xef4')]=_0x51487b;})[_0x1cd3('0xfd')](function(_0x4a5aff){console['error'](_0x4a5aff);});function _0x475aa5(_0x12ed4c){_0x12d091[_0x1cd3('0x463')]=_0x12ed4c;}function _0x31fcbe(_0x4ca1e6){if(_0x4ca1e6['ToId']===_0x12d091['currentUser']['id']&&!_0x4ca1e6[_0x1cd3('0x28aa')]){if(_0x12d091[_0x1cd3('0x368')]&&_0x12d091[_0x1cd3('0x368')]['id']===_0x4ca1e6[_0x1cd3('0x28a9')]){_0x12d091[_0x1cd3('0x368')]['messages'][_0x1cd3('0xf6')][_0x1cd3('0x7b')](_0x4ca1e6);_0x12f95b(0x0);_0x170374['chatInternalMessage']['update']({'id':_0x4ca1e6['id'],'read':!![]});}else{_0x12d091[_0x1cd3('0x28af')][_0x4ca1e6[_0x1cd3('0x28a9')]]=_0x12d091['unreadMessage'][_0x4ca1e6[_0x1cd3('0x28a9')]]?_0x12d091['unreadMessage'][_0x4ca1e6['FromId']]+0x1:0x1;}var _0x1173c1=_[_0x1cd3('0x442')](_0x12d091[_0x1cd3('0xef4')]['rows'],{'id':_0x4ca1e6[_0x1cd3('0x28a9')]});if(_0x1173c1){_0x1173c1[_0x1cd3('0x28b1')]=_0x4ca1e6[_0x1cd3('0xe0d')];_0x1173c1[_0x1cd3('0x1676')]=_0x4ca1e6;}}}function _0x14552d(_0xaee4fb){if((_0xaee4fb[_0x1cd3('0x28a9')]===_0x12d091[_0x1cd3('0x3ca')]['id']||_0xaee4fb[_0x1cd3('0x28a8')]===_0x12d091['currentUser']['id'])&&!_0xaee4fb[_0x1cd3('0x28aa')]){if(_0x12d091[_0x1cd3('0x368')]){var _0x4e9eaa=_['find'](_0x12d091[_0x1cd3('0x368')][_0x1cd3('0x15e8')][_0x1cd3('0xf6')],{'id':_0xaee4fb['id']});if(_0x4e9eaa){_[_0x1cd3('0xf2')](_0x4e9eaa,_0xaee4fb);}}var _0x317f9b=_[_0x1cd3('0x442')](_0x12d091['users']['rows'],{'id':_0x12d091[_0x1cd3('0x3ca')]['id']===_0xaee4fb[_0x1cd3('0x28a9')]?_0xaee4fb[_0x1cd3('0x28a8')]:_0xaee4fb[_0x1cd3('0x28a9')]});if(_0x317f9b&&_0x317f9b[_0x1cd3('0x1676')]){_['merge'](_0x317f9b[_0x1cd3('0x1676')],_0xaee4fb);}if(_0xaee4fb[_0x1cd3('0x28a8')]===_0x12d091['currentUser']['id']){if(_0xaee4fb['read']&&_0x12d091[_0x1cd3('0x28af')][_0xaee4fb[_0x1cd3('0x28a9')]]>0x0){_0x12d091[_0x1cd3('0x28af')][_0xaee4fb[_0x1cd3('0x28a9')]]-=0x1;}}}}function _0x4030e7(_0x55949c){var _0x1c474b=_['find'](_0x12d091['users'][_0x1cd3('0xf6')],{'id':_0x55949c['id']});if(_0x1c474b){if(!_[_0x1cd3('0x472')](_0x55949c[_0x1cd3('0x1387')])&&_0x1c474b[_0x1cd3('0x1387')]!==_0x55949c[_0x1cd3('0x1387')]){_0x1c474b[_0x1cd3('0x1387')]=_0x55949c[_0x1cd3('0x1387')];}if(!_[_0x1cd3('0x472')](_0x55949c['allowmessenger'])&&_0x1c474b[_0x1cd3('0x28b2')]!==_0x55949c[_0x1cd3('0x28b2')]){_0x1c474b[_0x1cd3('0x28b2')]=_0x55949c[_0x1cd3('0x28b2')];}}}function _0x260e62(_0x515a89){if(_0x515a89){if(!_0x515a89[_0x1cd3('0x28b2')]&&_0x515a89[_0x1cd3('0x388')]==='agent'){_0x5049ab[_0x1cd3('0x5c4')]({'title':_0x478543['instant'](_0x1cd3('0x28b3')),'msg':_0x478543['instant'](_0x1cd3('0x28b4'))});_0x12d091[_0x1cd3('0x368')]=undefined;return;}_0x12d091['user']=_0x515a89;_0x12d091[_0x1cd3('0x28b5')]='';_0x170374['chatInternalMessage'][_0x1cd3('0x361')]({'sort':_0x1cd3('0xe0d'),'FromId':_0x12d091['currentUser']['id']+','+_0x515a89['id'],'ToId':_0x12d091[_0x1cd3('0x3ca')]['id']+','+_0x515a89['id'],'ChatGroupId':_0x1cd3('0x220')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x23a2ef){if(_0x23a2ef&&_0x23a2ef[_0x1cd3('0xf6')]){_0x12d091[_0x1cd3('0x368')][_0x1cd3('0x15e8')]=_0x23a2ef;for(var _0xb773bd=0x0;_0xb773bd<_0x12d091['user'][_0x1cd3('0x15e8')][_0x1cd3('0xf6')][_0x1cd3('0x7a')];_0xb773bd+=0x1){if(_0x12d091[_0x1cd3('0x368')]['messages'][_0x1cd3('0xf6')][_0xb773bd][_0x1cd3('0x167e')]===![]&&_0x12d091[_0x1cd3('0x368')][_0x1cd3('0x15e8')][_0x1cd3('0xf6')][_0xb773bd][_0x1cd3('0x28a8')]===_0x12d091[_0x1cd3('0x3ca')]['id']){_0x170374['chatInternalMessage'][_0x1cd3('0x378')]({'id':_0x12d091[_0x1cd3('0x368')][_0x1cd3('0x15e8')][_0x1cd3('0xf6')][_0xb773bd]['id'],'read':!![]});}}}})[_0x1cd3('0x5dd')](function(){_0x12f95b(0x0);});}else{_0x12d091['user']=undefined;}}function _0x30ce1f(){_0x12d091[_0x1cd3('0x447')]=!![];var _0x2b06e9=Date[_0x1cd3('0x912')]();if(_0x12d091['replyMessage']===''){_0x12d091['disabled']=![];return;}var _0x1b0b2e={'FromId':_0x12d091[_0x1cd3('0x3ca')]['id'],'ToId':_0x12d091[_0x1cd3('0x368')]['id'],'body':_0x12d091['replyMessage'],'read':![]};_0x12d091[_0x1cd3('0x28b5')]='';_0x170374[_0x1cd3('0xc30')][_0x1cd3('0xd6d')](_0x1b0b2e)[_0x1cd3('0x81')]['then'](function(_0x4d4874){_0x12d091[_0x1cd3('0x368')][_0x1cd3('0x15e8')][_0x1cd3('0xf6')]['push'](_0x4d4874);_0x12d091[_0x1cd3('0x368')]['lastMessageAt']=_0x4d4874[_0x1cd3('0xe0d')];_0x12d091['user']['lastMessage']=_0x4d4874;_0x12f95b(0x190);})['catch'](function(_0x3f80c3){})[_0x1cd3('0x5dd')](function(){_0x12d091[_0x1cd3('0x447')]=![];});}function _0x12f95b(_0x3fb3a4){var _0x192b79=angular[_0x1cd3('0x37f')](_0x1cd3('0x28b6'));_0x10bcd9(function(){_0x192b79[_0x1cd3('0x537')]({'scrollTop':_0x192b79[0x0][_0x1cd3('0x6fa')]},_0x3fb3a4);},0x0);}function _0x39fb86(_0x6a592d){return!_[_0x1cd3('0x472')](_0x6a592d)?_0x6a592d[_0x1cd3('0x3f1')](/[^\w.+#*\-]+/g,''):'';}function _0x398cbd(_0x4db931){_0x225586['$broadcast'](_0x1cd3('0x6a2'),{'target':_0x39fb86(_0x4db931)});}function _0x51c7e6(_0x26e979){return _0x1e0e11(_0x1cd3('0x46f')+(_0x12d091[_0x1cd3('0x368')]['phoneBarRemoteControlPort']||'9888')+_0x1cd3('0x46b')+_0x39fb86(_0x26e979));}function _0x24924f(_0x1d9e06){return _0x1e0e11(_0x1cd3('0x46f')+(_0x12d091[_0x1cd3('0x368')][_0x1cd3('0x469')]||_0x1cd3('0x46a'))+'/api/transfer?number='+_0x39fb86(_0x1d9e06));}function _0x1e0e11(_0x2a862a){return _0x59db22['get'](_0x2a862a)['success'](function(){_0x5049ab[_0x1cd3('0x473')]({'title':_0x1cd3('0x28b7'),'msg':_0x1cd3('0x474')});})[_0x1cd3('0x434')](function(_0x28fa63){_0x5049ab[_0x1cd3('0x434')]({'title':_0x1cd3('0x475'),'msg':_0x478543[_0x1cd3('0x44a')](_0x1cd3('0x476'))});});}_0x43b399[_0x1cd3('0x4d3')](_0x1cd3('0x523'),function(){_0x4797c7[_0x1cd3('0x6a3')]('chatInternalMessage:save');_0x4797c7[_0x1cd3('0x6a3')](_0x1cd3('0x28a3'));_0x4797c7[_0x1cd3('0x6a3')]('user:update');});}}());(function(){'use strict';_0x1e03c9[_0x1cd3('0xc')]=[_0x1cd3('0x460'),'$state','$location','$mdDialog',_0x1cd3('0x461'),_0x1cd3('0x370'),'Auth',_0x1cd3('0x56d'),_0x1cd3('0x28b8')];angular[_0x1cd3('0x0')](_0x1cd3('0x28'))[_0x1cd3('0x39b')](_0x1cd3('0x28b9'),_0x1e03c9);function _0x1e03c9(_0x31d747,_0x3a5cea,_0xd25034,_0x38313a,_0x30ef9e,_0x1dfd56,_0x52d474,_0x5eba89,_0x536973){var _0x2df34b=this;_0x2df34b[_0x1cd3('0xd34')]=[];_0x2df34b[_0x1cd3('0x486')]=_0x1cd3('0x28ba');_0x2df34b[_0x1cd3('0x56d')]=angular[_0x1cd3('0x429')](_0x5eba89);_0x2df34b[_0x1cd3('0x3ca')]=_0x52d474['getCurrentUser']();_0x2df34b[_0x1cd3('0x28b8')]=_0x536973;_0x2df34b[_0x1cd3('0x28bb')]=!![];if(!_0x2df34b['group']){_0x2df34b[_0x1cd3('0x56d')]={'write':!![],'members':[]};_0x2df34b[_0x1cd3('0x486')]=_0x1cd3('0x28bc');}_0x2df34b[_0x1cd3('0x28bd')]=_0x3bb0e2;_0x2df34b[_0x1cd3('0x39c')]=_0x1e05e7;_0x2df34b['querySearch']=_0x1b621e;function _0x4037be(_0x203fe3){var _0x391fd4=angular[_0x1cd3('0x9d9')](_0x203fe3);return function filterFn(_0x1a0123){var _0x31af77=_0x1a0123[_0x1cd3('0x98')][_0x1cd3('0x433')]();return _0x31af77['indexOf'](_0x391fd4)!=-0x1;};}function _0x1b621e(_0x1cf0db){return _0x1cf0db?_0x2df34b[_0x1cd3('0x28b8')]['rows'][_0x1cd3('0x395')](_0x4037be(_0x1cf0db)):[];}function _0x3bb0e2(){var _0x54a9fd;_0x2df34b['errors']=[];return _0x1dfd56['chatGroup'][_0x1cd3('0xd6d')]({'name':_0x2df34b[_0x1cd3('0x56d')][_0x1cd3('0x98')],'write':_0x2df34b[_0x1cd3('0x56d')][_0x1cd3('0x28be')]})['$promise'][_0x1cd3('0x77')](function(_0x3e9f85){var _0x4eea14=_['map'](_0x2df34b[_0x1cd3('0x56d')][_0x1cd3('0x28b8')],'id');_0x4eea14[_0x1cd3('0x621')](_0x2df34b[_0x1cd3('0x3ca')]['id']);_0x54a9fd=_0x3e9f85;return _0x1dfd56[_0x1cd3('0xb31')][_0x1cd3('0x28bf')]({'id':_0x54a9fd['id'],'ids':_0x4eea14})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(){_0x30ef9e[_0x1cd3('0x473')]({'title':'Group\x20properly\x20saved!','msg':_0x54a9fd[_0x1cd3('0x98')]+_0x1cd3('0xd37')});_0x1e05e7(_0x54a9fd);})[_0x1cd3('0xfd')](function(_0x2980ba){_0x30ef9e[_0x1cd3('0x434')]({'title':_0x2980ba['status']?_0x1cd3('0x435')+_0x2980ba[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x2980ba[_0x1cd3('0xd35')]:_0x1cd3('0x11b7'),'msg':_0x2980ba[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x2980ba[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x2980ba[_0x1cd3('0x43b')]()});});}function _0x21fd18(){_0x2df34b['errors']=[];var _0x119a0f=_0x38313a[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x1cd3('0xd3a'))[_0x1cd3('0xd3b')]('The\x20chatQueue\x20will\x20be\x20deleted.')[_0x1cd3('0xd3d')](_0x1cd3('0x11b8'))['ok'](_0x1cd3('0xd3f'))[_0x1cd3('0x4d8')](_0x1cd3('0x674'))[_0x1cd3('0xd63')](event);_0x38313a[_0x1cd3('0x37e')](_0x119a0f)[_0x1cd3('0x77')](function(){_0x1dfd56['chatQueue'][_0x1cd3('0xa1c')]({'id':_0x2df34b[_0x1cd3('0x11a7')]['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_['remove'](_0x2df34b['chatQueues'],{'id':_0x2df34b[_0x1cd3('0x11a7')]['id']});_0x30ef9e['success']({'title':_0x1cd3('0x28c0'),'msg':(_0x2df34b[_0x1cd3('0x11a7')][_0x1cd3('0x98')]||'chatQueue')+_0x1cd3('0xd41')});_0x1e05e7(_0x2df34b['chatQueue']);})['catch'](function(_0x4afba9){if(_0x4afba9[_0x1cd3('0x439')]&&_0x4afba9[_0x1cd3('0x439')]['errors']&&_0x4afba9[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x2df34b[_0x1cd3('0xd34')]=_0x4afba9[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0x4afba9['toString'](),'type':'api.chatQueue.delete'}];for(var _0x5be6f6=0x0;_0x5be6f6<_0x4afba9[_0x1cd3('0x439')]['errors'][_0x1cd3('0x7a')];_0x5be6f6++){_0x30ef9e[_0x1cd3('0x434')]({'title':_0x4afba9[_0x1cd3('0x439')]['errors'][_0x5be6f6][_0x1cd3('0x424')],'msg':_0x4afba9['data'][_0x1cd3('0xd34')][_0x5be6f6][_0x1cd3('0x43a')]});}}else{_0x30ef9e['error']({'title':_0x4afba9[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x4afba9[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x4afba9['statusText']:'api.chatQueue.delete','msg':_0x4afba9[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x4afba9[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x4afba9[_0x1cd3('0x43a')]||_0x4afba9[_0x1cd3('0x43b')]()});}});},function(){});}function _0xc07dff(_0x13cc75){return _0x13cc75===null?undefined:new Date(_0x13cc75);}function _0x1e05e7(_0x415886){_0x38313a[_0x1cd3('0x39d')](_0x415886);}}}());(function(){'use strict';_0x59f670[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x372'),_0x1cd3('0x3e7'),_0x1cd3('0x3c5'),_0x1cd3('0x969'),'$q',_0x1cd3('0x56'),_0x1cd3('0x370'),_0x1cd3('0xd18'),'toasty'];angular[_0x1cd3('0x0')]('app.quick-panel')[_0x1cd3('0x39b')](_0x1cd3('0x28c1'),_0x59f670);function _0x59f670(_0x9e7106,_0x3097e8,_0x55cc55,_0xedfc87,_0x1f94e0,_0x242d66,_0x4878ad,_0x4fc521,_0x1a14c2,_0x148cbe){var _0x5305f7=this;_0x5305f7[_0x1cd3('0x3ca')]=_0x4878ad['getCurrentUser']();_0x5305f7[_0x1cd3('0x28c2')]={};_0x5305f7[_0x1cd3('0x28c3')]={};_0x5305f7['participants'];_0x5305f7[_0x1cd3('0x56d')];_0x5305f7[_0x1cd3('0xe08')]=_0x141b78;_0x5305f7['back']=_0x5ed1a4;_0x5305f7[_0x1cd3('0xe09')]=_0x31b2dd;_0x5305f7['deleteGroup']=_0x591f52;_0x5305f7['groupsToArray']=_0x3218b6;_0x5305f7[_0x1cd3('0x28c4')]=_0x580411;_0x5305f7[_0x1cd3('0x28ac')]=_0x3ffd0f;_0x5305f7[_0x1cd3('0x17df')]=_0x10ff1d;_0x1a14c2['on'](_0x1cd3('0x28a2'),_0x25373c);_0x1a14c2['on']('chatInternalMessage:update',_0x427eaf);_0x1a14c2['on'](_0x1cd3('0x28c5'),_0x1a8ccf);_0x1f94e0('quick-panel')[_0x1cd3('0x4ca')](_0x5ed1a4);function _0x1a8ccf(_0x29234c){if(_0x5305f7[_0x1cd3('0x28c3')][_0x29234c['id']]){delete _0x5305f7[_0x1cd3('0x28c3')][_0x29234c['id']];}}function _0x427eaf(_0xcdca4){if(_0xcdca4[_0x1cd3('0x28a8')]==_0x5305f7['currentUser']['id']&&_0xcdca4[_0x1cd3('0x28a9')]!==_0x5305f7[_0x1cd3('0x3ca')]['id']&&_0xcdca4[_0x1cd3('0x28aa')]&&_0xcdca4[_0x1cd3('0x167e')]){if(_0x5305f7['groups'][_0xcdca4[_0x1cd3('0x28aa')]]['unreadGroupMessages']>0x0){_0x5305f7[_0x1cd3('0x28c3')][_0xcdca4[_0x1cd3('0x28aa')]][_0x1cd3('0x28c2')]--;}if(_0x5305f7[_0x1cd3('0x56d')][_0x1cd3('0x15e8')][_0xcdca4['id']]){_0x5305f7[_0x1cd3('0x56d')][_0x1cd3('0x15e8')][_0xcdca4['id']][_0x1cd3('0x167e')]=!![];}}}function _0x25373c(_0x428876){if(!_0x5305f7[_0x1cd3('0x56d')]&&_0x428876['ToId']===_0x5305f7[_0x1cd3('0x3ca')]['id']&&_0x428876[_0x1cd3('0x28a9')]!==_0x5305f7[_0x1cd3('0x3ca')]['id']&&!_0x428876[_0x1cd3('0x167e')]&&_0x428876[_0x1cd3('0x28aa')]){var _0xd9ccec=_0x5305f7[_0x1cd3('0x28c3')][_0x428876[_0x1cd3('0x28aa')]];if(_0xd9ccec){if(!_0xd9ccec[_0x1cd3('0x28c2')]){_0xd9ccec[_0x1cd3('0x28c2')]=0x0;}_0xd9ccec['unreadGroupMessages']++;}else{return _0x4fc521['chatGroup'][_0x1cd3('0x361')]({'id':_0x428876['ChatGroupId']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0xf6b69){_0xf6b69['unreadGroupMessages']=0x1;_0x5305f7['groups'][_0xf6b69['id']]=_0xf6b69;});}}if(_0x5305f7['group']&&_0x428876[_0x1cd3('0x28aa')]===_0x5305f7[_0x1cd3('0x56d')]['id']&&_0x428876[_0x1cd3('0x28a8')]===_0x5305f7['currentUser']['id']){_0x4fc521[_0x1cd3('0xc30')][_0x1cd3('0x378')]({'id':_0x428876['id'],'read':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(){_0x1ef0fa(_0x428876);});}}function _0x141b78(_0x5245e8){_0x5305f7[_0x1cd3('0x463')]=_0x5245e8;return _0x4fc521['user']['getGroups']({'id':_0x5305f7[_0x1cd3('0x3ca')]['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0xd3264f){for(var _0x23244f=0x0,_0x5647d9=[];_0x23244f<_0xd3264f[_0x1cd3('0xf6')][_0x1cd3('0x7a')];_0x23244f++){_0xd3264f[_0x1cd3('0xf6')][_0x23244f][_0x1cd3('0x28c2')]=0x0;_0x5305f7['groups'][_0xd3264f[_0x1cd3('0xf6')][_0x23244f]['id']]=_0xd3264f[_0x1cd3('0xf6')][_0x23244f];_0x5647d9[_0x1cd3('0x7b')](_0x4fc521[_0x1cd3('0xb31')]['getUnread']({'id':_0xd3264f[_0x1cd3('0xf6')][_0x23244f]['id']})[_0x1cd3('0x81')]);}return _0x242d66[_0x1cd3('0x7e')](_0x5647d9);})[_0x1cd3('0x77')](function(_0x1e9233){for(var _0x10ad3f=0x0;_0x10ad3f<_0x1e9233[_0x1cd3('0x7a')];_0x10ad3f++){_0x5305f7[_0x1cd3('0x28c3')][_0x1e9233[_0x10ad3f]['id']]['unreadGroupMessages']+=_0x1e9233[_0x10ad3f][_0x1cd3('0x466')];}})[_0x1cd3('0xfd')](function(_0x495241){console[_0x1cd3('0x434')](_0x495241);});}function _0x3218b6(){return _[_0x1cd3('0x42d')](_0x5305f7[_0x1cd3('0x28c3')]);}function _0x580411(_0x43a66a,_0x28e3a5){_0xedfc87[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x28c6'),'controllerAs':'vm','templateUrl':'app/quick-panel/tabs/groups/info/dialog.html','parent':angular[_0x1cd3('0x37f')](_0x3097e8[_0x1cd3('0x380')]),'targetEvent':_0x43a66a,'clickOutsideToClose':!![],'locals':{'message':_0x28e3a5},'resolve':{'data':function(){var _0x4c1a0e={'messages':[]};return _0x4fc521[_0x1cd3('0xc30')][_0x1cd3('0x361')]({'ChatInternalMessageId':_0x28e3a5['id']})['$promise']['then'](function(_0x16184a){var _0x8a1cd=[];_0x4c1a0e[_0x1cd3('0x15e8')]=_0x16184a[_0x1cd3('0xf6')];_0x4c1a0e[_0x1cd3('0x15e8')][_0x1cd3('0x621')](_0x28e3a5);for(var _0x252b7d=0x0;_0x252b7d<_0x4c1a0e['messages'][_0x1cd3('0x7a')];_0x252b7d++){_0x8a1cd[_0x1cd3('0x7b')](_0x4fc521[_0x1cd3('0x368')][_0x1cd3('0x361')]({'id':_0x4c1a0e[_0x1cd3('0x15e8')][_0x252b7d][_0x1cd3('0x28a8')],'fields':'id,name,fullname,userpic'})[_0x1cd3('0x81')]);}return _0x242d66['all'](_0x8a1cd);})[_0x1cd3('0x77')](function(_0x5656a6){_0x4c1a0e[_0x1cd3('0xef4')]=_0x5656a6;return _0x4c1a0e;})[_0x1cd3('0xfd')](function(_0x586662){if(_0x586662){console[_0x1cd3('0x434')](_0x586662);}});}}})['then'](function(){})[_0x1cd3('0xfd')](function(_0x213386){if(_0x213386){console['error'](_0x213386[_0x1cd3('0x43a')]);}});}function _0x10ff1d(){if(!_0x5305f7[_0x1cd3('0x28b5')]){return;}var _0x380e59={'id':_0x5305f7['group']['id'],'FromId':_0x5305f7['currentUser']['id'],'ToId':_0x5305f7[_0x1cd3('0x3ca')]['id'],'body':_0x5305f7['replyMessage'],'read':!![]};var _0x38bfa4=[];_0x5305f7[_0x1cd3('0x28b5')]='';_0x4fc521[_0x1cd3('0xb31')]['addMessage'](_0x380e59)[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x116de1){_0x380e59[_0x1cd3('0x167e')]=![];_0x380e59[_0x1cd3('0x28c7')]=_0x116de1['id'];for(var _0x22a936=0x0;_0x22a936<_0x5305f7['group'][_0x1cd3('0x28b8')][_0x1cd3('0x7a')];_0x22a936++){if(_0x5305f7[_0x1cd3('0x56d')][_0x1cd3('0x28b8')][_0x22a936]['id']!==_0x5305f7[_0x1cd3('0x3ca')]['id']){_0x380e59['ToId']=_0x5305f7[_0x1cd3('0x56d')][_0x1cd3('0x28b8')][_0x22a936]['id'];_0x38bfa4[_0x1cd3('0x7b')](_0x4fc521['chatGroup'][_0x1cd3('0x28c8')](angular[_0x1cd3('0x429')](_0x380e59))[_0x1cd3('0x81')]);}}return _0x242d66[_0x1cd3('0x7e')](_0x38bfa4);})[_0x1cd3('0xfd')](function(_0x66723e){console['log'](_0x66723e);});}function _0x1ef0fa(_0x1b0dc0){_0x5305f7[_0x1cd3('0x56d')][_0x1cd3('0x15e8')][_0x1b0dc0['id']]=_0x1b0dc0;_0x5f97f6(0x190);}function _0x5ed1a4(){delete _0x5305f7['group'];}function _0x5f97f6(_0x5580c3){var _0x5c487d=angular['element'](_0x1cd3('0x28c9'));_0x55cc55(function(){_0x5c487d[_0x1cd3('0x537')]({'scrollTop':_0x5c487d[0x0][_0x1cd3('0x6fa')]},_0x5580c3);},0x0);}function _0x3ffd0f(_0x1912ee){_0x5305f7['group']={'id':_0x1912ee['id'],'write':_0x1912ee[_0x1cd3('0x28be')],'messages':{}};_0x4fc521['chatGroup'][_0x1cd3('0x13ec')]({'id':_0x1912ee['id'],'fields':'id,name,fullname'})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x595950){_0x5305f7['group'][_0x1cd3('0x28ca')]=_[_0x1cd3('0xe2d')](_0x595950[_0x1cd3('0xf6')],'id');_0x5305f7[_0x1cd3('0x56d')][_0x1cd3('0x28b8')]=_['differenceBy'](_0x595950[_0x1cd3('0xf6')],[{'id':_0x5305f7[_0x1cd3('0x3ca')]['id']}],'id');_0x5305f7[_0x1cd3('0x28cb')]=_['map'](_0x5305f7['group']['members'],'fullname')[_0x1cd3('0x3de')](',\x20');return _0x4fc521['chatGroup'][_0x1cd3('0x17eb')]({'id':_0x1912ee['id'],'nolimit':!![]})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(_0x392156){for(var _0xfda1cb=0x0,_0x52b8a5=[],_0x184b6a;_0xfda1cb<_0x392156[_0x1cd3('0x466')];_0xfda1cb++){if(_0x392156[_0x1cd3('0xf6')][_0xfda1cb][_0x1cd3('0x28a8')]===_0x5305f7[_0x1cd3('0x3ca')]['id']){_0x184b6a=_0x392156[_0x1cd3('0xf6')][_0xfda1cb];_0x5305f7[_0x1cd3('0x56d')][_0x1cd3('0x15e8')][_0x184b6a['id']]=_0x184b6a;if(_0x392156[_0x1cd3('0xf6')][_0xfda1cb][_0x1cd3('0x28a8')]==_0x5305f7[_0x1cd3('0x3ca')]['id']&&_0x392156[_0x1cd3('0xf6')][_0xfda1cb][_0x1cd3('0x28a9')]!==_0x5305f7[_0x1cd3('0x3ca')]['id']&&!_0x184b6a[_0x1cd3('0x167e')]){_0x52b8a5[_0x1cd3('0x7b')](_0x4fc521[_0x1cd3('0xc30')]['update']({'id':_0x184b6a['id'],'read':!![]}));}}}return _0x242d66[_0x1cd3('0x7e')](_0x52b8a5);})[_0x1cd3('0x77')](function(){_0x5f97f6(0x190);})[_0x1cd3('0xfd')](function(_0x2a467f){console[_0x1cd3('0x434')](_0x2a467f[_0x1cd3('0x43a')]);});}function _0x591f52(_0x184a4f,_0x386d35){var _0x33b330=_0xedfc87[_0x1cd3('0xd39')]()['title']('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20group?')['htmlContent'](_0x1cd3('0x28cc')+_0x184a4f['name']+_0x1cd3('0xd52')+_0x1cd3('0xd53'))[_0x1cd3('0xd3d')](_0x1cd3('0x28cd'))[_0x1cd3('0xd63')](_0x386d35)['ok']('OK')['cancel']('CANCEL');_0xedfc87[_0x1cd3('0x37e')](_0x33b330)[_0x1cd3('0x77')](function(){return _0x4fc521[_0x1cd3('0xb31')][_0x1cd3('0xa1c')]({'id':_0x184a4f['id']})[_0x1cd3('0x81')];})[_0x1cd3('0x77')](function(){delete _0x5305f7[_0x1cd3('0x28c3')][_0x184a4f['id']];_0x148cbe[_0x1cd3('0x473')]({'title':'Group\x20properly\x20deleted!','msg':_0x184a4f[_0x1cd3('0x98')]+_0x1cd3('0xd41')});})[_0x1cd3('0xfd')](function(_0x292396){if(_0x292396){_0x148cbe[_0x1cd3('0x434')]({'title':_0x292396[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x292396[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x292396[_0x1cd3('0xd35')]:'api.chatGroup.delete','msg':_0x292396[_0x1cd3('0x439')]?JSON['stringify'](_0x292396[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x292396[_0x1cd3('0x43b')]()});}});}function _0x31b2dd(_0x4728d0,_0x48c49c){_0xedfc87['show']({'controller':_0x1cd3('0x28b9'),'controllerAs':'vm','templateUrl':_0x1cd3('0x28ce'),'parent':angular[_0x1cd3('0x37f')](_0x3097e8[_0x1cd3('0x380')]),'targetEvent':_0x48c49c,'clickOutsideToClose':!![],'locals':{'group':_0x4728d0,'me':_0x5305f7[_0x1cd3('0x3ca')],'license':null,'setting':null},'resolve':{'members':function(){return _0x4878ad[_0x1cd3('0x57')]('admin')?_0x4fc521[_0x1cd3('0x368')][_0x1cd3('0x361')]({'role':'agent'})[_0x1cd3('0x81')]:_0x4fc521['userProfile'][_0x1cd3('0xd59')]({'id':_0x4878ad[_0x1cd3('0x5d')]()[_0x1cd3('0x5e')],'section':'Agents','role':'agent'})['$promise'];}}})[_0x1cd3('0x77')](function(_0x4037e7){if(_0x4037e7){_0x5305f7[_0x1cd3('0x28c3')][_0x4037e7['id']]=_0x4037e7;}})[_0x1cd3('0xfd')](function(_0x327ab7){if(_0x327ab7){console[_0x1cd3('0x434')](_0x327ab7[_0x1cd3('0x43a')]);}});}_0x9e7106[_0x1cd3('0x4d3')](_0x1cd3('0x523'),function(){_0x1a14c2['removeAllListeners'](_0x1cd3('0x28a2'));_0x1a14c2['removeAllListeners'](_0x1cd3('0x28a3'));_0x1a14c2[_0x1cd3('0x6a3')](_0x1cd3('0x28c5'));});}}());(function(){'use strict';_0x44cbba[_0x1cd3('0xc')]=[_0x1cd3('0x460'),'$state',_0x1cd3('0xd24'),_0x1cd3('0x3c5'),'toasty','api',_0x1cd3('0x56'),_0x1cd3('0x439')];angular[_0x1cd3('0x0')](_0x1cd3('0x28'))[_0x1cd3('0x39b')](_0x1cd3('0x28c6'),_0x44cbba);function _0x44cbba(_0x599cd1,_0xdf3493,_0x1b6a31,_0x1a7aca,_0xd6aac2,_0xbd9960,_0x59fd9d,_0x199ad0){var _0x1865c5=this;_0x1865c5[_0x1cd3('0x439')]=_0x199ad0;_0x1865c5['title']=_0x1cd3('0x28cf');_0x1865c5[_0x1cd3('0x39c')]=_0x40b657;function _0x40b657(){_0x1a7aca[_0x1cd3('0x39d')]();}}}());(function(){'use strict';_0x20124e[_0x1cd3('0xc')]=['Auth','toasty','$translate',_0x1cd3('0x53e'),_0x1cd3('0x370'),'$stateParams'];angular[_0x1cd3('0x0')](_0x1cd3('0x3c'))[_0x1cd3('0x39b')](_0x1cd3('0x28d0'),_0x20124e);function _0x20124e(_0x505e3c,_0x4ba38b,_0x436fa0,_0x3dc6d3,_0x139145,_0x2e58ff){var _0x16aed9=this;_0x16aed9['form']={'token':_0x2e58ff[_0x1cd3('0x28d1')]};_0x16aed9['setting']={};_0x16aed9[_0x1cd3('0x28d2')]=_0x217a23;_0x16aed9['onInit']=_0x371441;function _0x371441(){if(_0x505e3c[_0x1cd3('0x364')]()){_0x3dc6d3['go']('app.dashboards.general');}return _0x139145[_0x1cd3('0xc49')][_0x1cd3('0x28d3')]({'id':0x1})['$promise'][_0x1cd3('0x77')](function(_0x3fd1f8){_0x16aed9[_0x1cd3('0xc49')]=_0x3fd1f8;_0x16aed9['passwordPattern']=_0x16aed9[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';})[_0x1cd3('0xfd')](function(_0x365512){if(_0x365512){_0x4ba38b[_0x1cd3('0x434')]({'title':_0x1cd3('0xcd2'),'msg':_0x365512[_0x1cd3('0x439')]?_0x365512[_0x1cd3('0x439')]['message']||_0x365512[_0x1cd3('0x43a')]||_0x365512:_0x365512['message']||_0x365512});}});}function _0x217a23(){return _0x139145[_0x1cd3('0x379')][_0x1cd3('0x358')](_0x16aed9['form'])[_0x1cd3('0x81')]['then'](function(){_0x4ba38b[_0x1cd3('0x473')]({'title':_0x436fa0[_0x1cd3('0x44a')](_0x1cd3('0x28d4')),'msg':_0x436fa0[_0x1cd3('0x44a')](_0x1cd3('0x28d5'))});_0x3dc6d3['go'](_0x1cd3('0x3b'));})[_0x1cd3('0xfd')](function(_0x2c36d4){if(_0x2c36d4){_0x4ba38b[_0x1cd3('0x434')]({'title':_0x436fa0[_0x1cd3('0x44a')](_0x1cd3('0x28d6')),'msg':_0x2c36d4[_0x1cd3('0x439')]?_0x2c36d4[_0x1cd3('0x439')][_0x1cd3('0x43a')]||_0x2c36d4['message']||_0x2c36d4:_0x2c36d4[_0x1cd3('0x43a')]||_0x2c36d4});}});}}}());(function(){'use strict';_0x306197[_0x1cd3('0xc')]=[_0x1cd3('0x460'),_0x1cd3('0x3c5'),'$mdToast','api',_0x1cd3('0x368'),'setting',_0x1cd3('0x358')];angular[_0x1cd3('0x0')]('app.toolbar')[_0x1cd3('0x39b')](_0x1cd3('0x28d7'),_0x306197);function _0x306197(_0x444ba7,_0x4bc407,_0xf62e03,_0x4f4b0a,_0x4bb8da,_0x21a86f,_0x4020f1){var _0x2f9c93=this;_0x2f9c93[_0x1cd3('0xd34')]=[];_0x2f9c93['user']=_0x4bb8da;_0x2f9c93[_0x1cd3('0xc49')]=_0x21a86f;_0x2f9c93[_0x1cd3('0x358')]=_0x4020f1;_0x2f9c93[_0x1cd3('0xd29')]=_0x2f9c93[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x2f9c93[_0x1cd3('0x2100')]=_0x8e0a6c;_0x2f9c93[_0x1cd3('0x39c')]=_0x5952e9;_0x444ba7[_0x1cd3('0x4d6')](_0x1cd3('0x28d8'),function(_0x2297ee,_0x3e49ee){if(!_[_0x1cd3('0x472')](_0x2f9c93['oldPassword'])){if(_0x2297ee===_0x2f9c93[_0x1cd3('0x20ff')]){_0x444ba7['changePasswordForm'][_0x1cd3('0x5ae')][_0x1cd3('0x2102')](_0x1cd3('0x2103'),![]);}else{_0x444ba7[_0x1cd3('0x28d9')][_0x1cd3('0x5ae')]['$setValidity'](_0x1cd3('0x2103'),!![]);}}});function _0x8e0a6c(){_0x2f9c93[_0x1cd3('0xd34')]=[];_0x4f4b0a['user'][_0x1cd3('0x2104')]({'id':_0x2f9c93[_0x1cd3('0x368')]['id']},{'oldPassword':_0x2f9c93[_0x1cd3('0x20ff')],'newPassword':_0x2f9c93[_0x1cd3('0x5ae')]})['$promise']['then'](function(){_0xf62e03['show'](_0xf62e03[_0x1cd3('0x677')]()[_0x1cd3('0x678')]('Your\x20password\x20properly\x20updated')[_0x1cd3('0x679')]('top\x20right')[_0x1cd3('0x67a')](0x1388));_0x5952e9();})['catch'](function(_0x253763){console['error'](_0x253763);_0x2f9c93[_0x1cd3('0xd34')]=_0x253763['data'][_0x1cd3('0xd34')]&&_0x253763['data'][_0x1cd3('0xd34')][_0x1cd3('0x7a')]?_0x253763[_0x1cd3('0x439')]['errors']:[{'message':_0x253763[_0x1cd3('0x439')][_0x1cd3('0x43a')]||_0x1cd3('0x28da'),'type':_0x1cd3('0x21eb')}];});}function _0x5952e9(){_0x4bc407[_0x1cd3('0x39d')]();}}}());(function(){'use strict';_0x6cd692['$inject']=['$scope',_0x1cd3('0x53e'),_0x1cd3('0xd24'),_0x1cd3('0x3c5'),'toasty',_0x1cd3('0x370'),'preview','customFields'];angular[_0x1cd3('0x0')](_0x1cd3('0x35a'))[_0x1cd3('0x39b')]('PreviewDialogController',_0x6cd692);function _0x6cd692(_0x396b62,_0x16b235,_0x129972,_0x278f1c,_0x20611c,_0x4bbd5d,_0x37042b,_0x44b385){var _0x4a00ce=this;_0x4a00ce[_0x1cd3('0x28db')]=_0x44b385&&_0x44b385[_0x1cd3('0xf6')]?_[_0x1cd3('0x3d8')](_[_0x1cd3('0xe2d')](_0x44b385[_0x1cd3('0xf6')],function(_0x377a96){return'cf_'+_0x377a96['id'];}),_0x1cd3('0x98')):{};_0x4a00ce[_0x1cd3('0xd34')]=[];_0x4a00ce[_0x1cd3('0x28dc')]=[];_0x4a00ce[_0x1cd3('0xe67')]=_0x37042b;_0x4a00ce[_0x1cd3('0x13dc')]=![];_0x4a00ce[_0x1cd3('0x1640')]=![];_0x4a00ce[_0x1cd3('0x28dd')]=![];_0x4a00ce[_0x1cd3('0x28dc')][_0x1cd3('0x7b')](_0x4a00ce['preview']['id']);_0x4a00ce[_0x1cd3('0x28de')]=_0x1266a9;_0x4a00ce[_0x1cd3('0x39c')]=_0x829ba;_0x4a00ce['nextContact']=_0x407ffa;_0x4a00ce[_0x1cd3('0x28df')]=_0x3726c7;_0x4a00ce[_0x1cd3('0x28e0')]=_0x2619af;_0x4a00ce[_0x1cd3('0x28e1')]=_0x236f9e;_0x4a00ce[_0x1cd3('0x28e2')]=_0x3f6637;_0x4a00ce[_0x1cd3('0x472')]=_0x305809;function _0x305809(_0x86c8c4){return _[_0x1cd3('0x472')](_0x86c8c4);}function _0x236f9e(_0x3f4896){return _[_0x1cd3('0x13d4')](_0x3f4896,'cf_');}function _0x3f6637(_0x186125){return _['includes'](['Company',_0x1cd3('0x1430'),'ListId',_0x1cd3('0x1226'),_0x1cd3('0xe0d'),_0x1cd3('0x1f31'),'id',_0x1cd3('0xf0c'),_0x1cd3('0x14ad'),_0x1cd3('0x921'),_0x1cd3('0x12fe'),_0x1cd3('0x28e3'),_0x1cd3('0x28e4'),_0x1cd3('0x28e5'),_0x1cd3('0x28e6'),_0x1cd3('0x2120'),_0x1cd3('0x28e7'),_0x1cd3('0x28e8'),_0x1cd3('0x28e9')],_0x186125);}function _0x1266a9(){_0x4a00ce[_0x1cd3('0x13dc')]=!![];_0x4a00ce['disable']=!![];if(_['isEmpty'](_0x4a00ce['preview'])){_0x20611c['error']({'title':_0x1cd3('0xf2d'),'msg':_0x1cd3('0x28ea')});_0x4a00ce['disable']=![];_0x4a00ce[_0x1cd3('0x28dc')]=[];_0x829ba(!![]);}else{_0x4bbd5d['rpc']['getVoiceQueuesPreview']({'id':_0x4a00ce[_0x1cd3('0xe67')]['id']})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x17cc9a){_0x829ba(!![]);})[_0x1cd3('0xfd')](function(_0x19b509){_0x20611c[_0x1cd3('0x434')]({'title':'Message','msg':_0x19b509[_0x1cd3('0x439')]});_0x829ba(!![]);})[_0x1cd3('0x5dd')](function(){_0x4a00ce[_0x1cd3('0x1640')]=![];_0x4a00ce[_0x1cd3('0x28dc')]=[];});}}function _0x829ba(_0x3905a3){if(_[_0x1cd3('0x472')](_0x3905a3)){_0x4bbd5d[_0x1cd3('0xb47')][_0x1cd3('0x378')]({'id':_0x4a00ce[_0x1cd3('0xe67')]['id'],'UserId':null});}_0x278f1c['hide']();}_0x396b62[_0x1cd3('0x4d3')](_0x1cd3('0x523'),function(){if(!_0x4a00ce[_0x1cd3('0x13dc')]){_0x4bbd5d[_0x1cd3('0xb47')][_0x1cd3('0x378')]({'id':_0x4a00ce['preview']['id'],'UserId':null});}});function _0x407ffa(){_0x4a00ce['disableGetContact']=!![];return _0x4bbd5d[_0x1cd3('0xb47')]['getPreview']({'hopperIds':_0x4a00ce[_0x1cd3('0x28dc')],'direction':_0x1cd3('0x28eb')})['$promise'][_0x1cd3('0x77')](function(_0x109a40){_0x4a00ce['disableGetContact']=![];if(!_['isNil'](_0x109a40)&&!_[_0x1cd3('0x472')](_0x109a40[_0x1cd3('0x1223')])&&_0x109a40[_0x1cd3('0x1223')][_0x1cd3('0x1693')]){if(!_0x4a00ce[_0x1cd3('0x13dc')]){_0x4bbd5d['cmHopper']['update']({'id':_0x4a00ce[_0x1cd3('0xe67')]['id'],'UserId':null});}_0x4a00ce['preview']=_0x109a40;_0x4a00ce[_0x1cd3('0x28dc')][_0x1cd3('0x7b')](_0x4a00ce['preview']['id']);}else{_0x4a00ce['hopperIds']=[];_0x278f1c[_0x1cd3('0x39d')]();_0x20611c[_0x1cd3('0x654')]({'title':_0x1cd3('0x28ec'),'msg':_0x1cd3('0x28ed')});}})[_0x1cd3('0xfd')](function(_0x51eede){_0x4a00ce[_0x1cd3('0x28dd')]=![];_0x4a00ce['hopperIds']=[];if(_0x51eede[_0x1cd3('0x3a6')]===0x194){_0x4a00ce['getFirstAvailableContact']();}else if(_0x51eede[_0x1cd3('0x439')]&&_0x51eede['data'][_0x1cd3('0xd34')]&&_0x51eede[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length']){_0x278f1c[_0x1cd3('0x39d')]();for(var _0x5c26ba=0x0;_0x5c26ba<_0x51eede[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x5c26ba+=0x1){_0x20611c[_0x1cd3('0x434')]({'title':_0x51eede[_0x1cd3('0x439')]['errors'][_0x5c26ba][_0x1cd3('0x424')],'msg':_0x51eede['data'][_0x1cd3('0xd34')][_0x5c26ba][_0x1cd3('0x43a')]});}}else{_0x278f1c[_0x1cd3('0x39d')]();_0x20611c[_0x1cd3('0x434')]({'title':_0x51eede[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x51eede[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x51eede[_0x1cd3('0xd35')]:_0x1cd3('0x28ee'),'msg':_0x51eede[_0x1cd3('0x439')]?JSON['stringify'](_0x51eede[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0x51eede[_0x1cd3('0x43b')]()});}});}function _0x3726c7(){_0x4a00ce[_0x1cd3('0x28dd')]=!![];if(_0x4a00ce['hopperIds'][_0x1cd3('0x7a')]>0x1){var _0x5bfd36=_['without'](_0x4a00ce[_0x1cd3('0x28dc')],_0x4a00ce[_0x1cd3('0xe67')]['id']);return _0x4bbd5d[_0x1cd3('0xb47')][_0x1cd3('0x28ef')]({'hopperIds':_0x5bfd36,'direction':'prev'})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0xded855){_0x4a00ce['disableGetContact']=![];if(!_['isNil'](_0xded855)&&!_[_0x1cd3('0x472')](_0xded855[_0x1cd3('0x1223')])&&_0xded855[_0x1cd3('0x1223')]['dialActive']){_[_0x1cd3('0x383')](_0x4a00ce['hopperIds'],function(_0xa6762d){return _0xa6762d==_0x4a00ce['preview']['id'];});if(!_0x4a00ce[_0x1cd3('0x13dc')]){_0x4bbd5d[_0x1cd3('0xb47')]['update']({'id':_0x4a00ce['preview']['id'],'UserId':null});}_0x4a00ce[_0x1cd3('0xe67')]=_0xded855;}else{_0x4a00ce[_0x1cd3('0x28dc')]=[];_0x278f1c[_0x1cd3('0x39d')]();_0x20611c[_0x1cd3('0x654')]({'title':_0x1cd3('0x28ec'),'msg':'CAMPAIGN\x20NOT\x20ACTIVE'});}})[_0x1cd3('0xfd')](function(_0x9f4f4d){if(_0x9f4f4d[_0x1cd3('0x3a6')]===0x194){_0x4a00ce[_0x1cd3('0x28dc')]=[_0x4a00ce[_0x1cd3('0xe67')]['id']];_0x20611c['info']({'title':_0x1cd3('0x28ec'),'msg':_0x1cd3('0x28f0')});}else if(_0x9f4f4d[_0x1cd3('0x439')]&&_0x9f4f4d[_0x1cd3('0x439')]['errors']&&_0x9f4f4d[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x4a00ce[_0x1cd3('0x28dc')]=[];_0x278f1c[_0x1cd3('0x39d')]();for(var _0x5ba0c4=0x0;_0x5ba0c4<_0x9f4f4d[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x5ba0c4+=0x1){_0x20611c[_0x1cd3('0x434')]({'title':_0x9f4f4d['data'][_0x1cd3('0xd34')][_0x5ba0c4][_0x1cd3('0x424')],'msg':_0x9f4f4d[_0x1cd3('0x439')]['errors'][_0x5ba0c4][_0x1cd3('0x43a')]});}}else{_0x4a00ce[_0x1cd3('0x28dc')]=[];_0x278f1c[_0x1cd3('0x39d')]();_0x20611c['error']({'title':_0x9f4f4d['status']?_0x1cd3('0x435')+_0x9f4f4d[_0x1cd3('0x3a6')]+'\x20-\x20'+_0x9f4f4d['statusText']:_0x1cd3('0x28ee'),'msg':_0x9f4f4d[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0x9f4f4d['data']['message']):_0x9f4f4d[_0x1cd3('0x43b')]()});}});}}function _0x2619af(){_0x4a00ce[_0x1cd3('0x28dd')]=!![];_0x20611c[_0x1cd3('0x654')]({'title':'PREVIEW','msg':_0x1cd3('0x28f1')});return _0x4bbd5d['cmHopper'][_0x1cd3('0x28ef')]({'hopperIds':[_0x4a00ce[_0x1cd3('0xe67')]['id']],'direction':_0x1cd3('0x28eb')})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x199e93){if(!_[_0x1cd3('0x472')](_0x199e93)&&!_[_0x1cd3('0x472')](_0x199e93[_0x1cd3('0x1223')])&&_0x199e93[_0x1cd3('0x1223')][_0x1cd3('0x1693')]){if(!_0x4a00ce[_0x1cd3('0x13dc')]){_0x4bbd5d[_0x1cd3('0xb47')]['update']({'id':_0x4a00ce[_0x1cd3('0xe67')]['id'],'UserId':null});}_0x4a00ce[_0x1cd3('0xe67')]=_0x199e93;_0x4a00ce[_0x1cd3('0x28dc')][_0x1cd3('0x7b')](_0x4a00ce[_0x1cd3('0xe67')]['id']);}else{_0x278f1c[_0x1cd3('0x39d')]();_0x20611c['info']({'title':_0x1cd3('0x28ec'),'msg':_0x1cd3('0x28ed')});}})[_0x1cd3('0xfd')](function(_0xce55dc){_0x278f1c[_0x1cd3('0x39d')]();if(_0xce55dc[_0x1cd3('0x3a6')]===0x194){_0x20611c[_0x1cd3('0x654')]({'title':_0x1cd3('0x28ec'),'msg':_0x1cd3('0x28f2')});}else if(_0xce55dc[_0x1cd3('0x439')]&&_0xce55dc[_0x1cd3('0x439')]['errors']&&_0xce55dc[_0x1cd3('0x439')][_0x1cd3('0xd34')]['length']){for(var _0x1ee978=0x0;_0x1ee978<_0xce55dc[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')];_0x1ee978+=0x1){_0x20611c[_0x1cd3('0x434')]({'title':_0xce55dc['data']['errors'][_0x1ee978][_0x1cd3('0x424')],'msg':_0xce55dc[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1ee978][_0x1cd3('0x43a')]});}}else{_0x20611c[_0x1cd3('0x434')]({'title':_0xce55dc[_0x1cd3('0x3a6')]?'API:'+_0xce55dc[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0xce55dc['statusText']:_0x1cd3('0x28ee'),'msg':_0xce55dc['data']?JSON[_0x1cd3('0x438')](_0xce55dc['data'][_0x1cd3('0x43a')]):_0xce55dc['toString']()});}})[_0x1cd3('0x5dd')](function(){_0x4a00ce[_0x1cd3('0x28dd')]=![];});}}}());(function(){'use strict';_0x306860[_0x1cd3('0xc')]=[_0x1cd3('0x460'),'$rootScope','$q',_0x1cd3('0x53e'),_0x1cd3('0x3e7'),'$location','$mdSidenav',_0x1cd3('0x3f7'),'$mdToast',_0x1cd3('0x371'),_0x1cd3('0x3c5'),_0x1cd3('0x372'),_0x1cd3('0x36f'),_0x1cd3('0x461'),_0x1cd3('0x53c'),_0x1cd3('0x56'),_0x1cd3('0xd18'),_0x1cd3('0x370'),_0x1cd3('0x463'),_0x1cd3('0xc49'),'$interval'];angular[_0x1cd3('0x0')](_0x1cd3('0x35a'))[_0x1cd3('0x39b')](_0x1cd3('0x28f3'),_0x306860);function _0x306860(_0x56e6b4,_0x122787,_0x2ac3ac,_0x483de0,_0x40d878,_0x2a270f,_0x462644,_0x531ee5,_0x40a6b0,_0x5b6ddd,_0x3f8d3d,_0x316ed4,_0x134166,_0x3c8cbd,_0x489363,_0x58332e,_0x7ac51f,_0x4fdf46,_0x47003e,_0x25dcba,_0x2516e1){var _0x2fb861=this;_0x2fb861[_0x1cd3('0x8d9')]={};_0x2fb861[_0x1cd3('0xd1b')]=!![];var _0xbb2fcf;_0x122787[_0x1cd3('0x28f4')]={'search':''};_0x2fb861['pauses']=[];_0x2fb861[_0x1cd3('0x463')]=_0x47003e;_0x2fb861[_0x1cd3('0x3ca')]=_0x58332e[_0x1cd3('0x5d')]();_0x2fb861['unreadTotalMessages']=0x0;_0x2fb861[_0x1cd3('0x28a0')]=0x0;_0x2fb861['contcts']=0x0;if(_0x2fb861['currentUser']['role']==='agent'){_0xbb2fcf=_0x2516e1(_0x912fd2,0x3a97);}_0x2fb861[_0x1cd3('0xc49')]=_0x25dcba;_0x2fb861['bodyEl']=angular[_0x1cd3('0x37f')]('body');_0x2fb861[_0x1cd3('0x58d')]={'realm':_0x1cd3('0x64d'),'host':_0x2a270f[_0x1cd3('0x3ac')](),'protocol':_0x2a270f[_0x1cd3('0x3b0')](),'remotePlayerId':_0x1cd3('0x668'),'ua':'Motion\x20WebRTC\x20Bar\x200.2.0','license':_0x2fb861[_0x1cd3('0x463')][_0x1cd3('0x464')],'phoneBarExpires':_0x2fb861[_0x1cd3('0x3ca')]['phoneBarExpires'],'phoneBarPrefixRequired':_0x2fb861[_0x1cd3('0x3ca')][_0x1cd3('0x468')]};_0x2fb861[_0x1cd3('0x3d4')]={'id':_0x58332e[_0x1cd3('0x5d')]()['id'],'fields':'id,name,type,dialMethod,dialActive','channel':_0x1cd3('0x121'),'nolimit':!![]};_0x2fb861[_0x1cd3('0x28f5')]=[{'title':_0x1cd3('0x28f6'),'icon':_0x1cd3('0x28f7'),'color':_0x1cd3('0x28f8')},{'title':_0x1cd3('0x28f9'),'icon':_0x1cd3('0x28fa'),'color':_0x1cd3('0x28fb')},{'title':_0x1cd3('0x28fc'),'icon':'icon-minus-circle','color':_0x1cd3('0x28fd')},{'title':_0x1cd3('0x28fe'),'icon':_0x1cd3('0x28ff'),'color':_0x1cd3('0x2900')},{'title':'Offline','icon':'icon-checkbox-blank-circle-outline','color':'#616161'}];_0x2fb861[_0x1cd3('0x2901')]={'ar':{'title':_0x1cd3('0xf9c'),'translation':'TOOLBAR.ARABIC','code':'ar','flag':'ar'},'da':{'title':'Danish','translation':'TOOLBAR.DANISH','code':'da','flag':'da'},'de':{'title':_0x1cd3('0xf5f'),'translation':'TOOLBAR.GERMAN','code':'de','flag':'de'},'en':{'title':'English','translation':'TOOLBAR.ENGLISH','code':'en','flag':'us'},'es':{'title':_0x1cd3('0xf61'),'translation':_0x1cd3('0x2902'),'code':'es','flag':'es'},'fa':{'title':_0x1cd3('0xfd3'),'translation':_0x1cd3('0x2903'),'code':'fa','flag':'fa'},'fi':{'title':_0x1cd3('0xfac'),'translation':'TOOLBAR.FINNISH','code':'fi','flag':'fi'},'fr':{'title':_0x1cd3('0xf62'),'translation':_0x1cd3('0x2904'),'code':'fr','flag':'fr'},'he':{'title':_0x1cd3('0xfb4'),'translation':_0x1cd3('0x2905'),'code':'he','flag':'he'},'hi':{'title':_0x1cd3('0x2906'),'translation':'TOOLBAR.HINDI','code':'hi','flag':'hi'},'id':{'title':_0x1cd3('0xf63'),'translation':_0x1cd3('0x2907'),'code':'id','flag':'id'},'it':{'title':'Italian','translation':_0x1cd3('0x2908'),'code':'it','flag':'it'},'ja':{'title':'Japanese','translation':_0x1cd3('0x2909'),'code':'ja','flag':'ja'},'ko':{'title':_0x1cd3('0xfbf'),'translation':'TOOLBAR.KOREAN','code':'ko','flag':'ko'},'lv':{'title':_0x1cd3('0xfc2'),'translation':_0x1cd3('0x290a'),'code':'lv','flag':'lv'},'nl':{'title':_0x1cd3('0xf65'),'translation':'TOOLBAR.DUTCH','code':'nl','flag':'nl'},'no':{'title':_0x1cd3('0xf66'),'translation':_0x1cd3('0x290b'),'code':'no','flag':'no'},'pl':{'title':_0x1cd3('0xfd6'),'translation':'TOOLBAR.POLISH','code':'pl','flag':'pl'},'pt-BR':{'title':_0x1cd3('0x290c'),'translation':_0x1cd3('0x290d'),'code':'pt-BR','flag':'pt-BR'},'pt-PT':{'title':_0x1cd3('0x290e'),'translation':'TOOLBAR.PORTUGUESE','code':_0x1cd3('0xfd7'),'flag':_0x1cd3('0xfd7')},'ru':{'title':_0x1cd3('0x123f'),'translation':'TOOLBAR.RUSSIAN','code':'ru','flag':'ru'},'sv':{'title':_0x1cd3('0x1241'),'translation':_0x1cd3('0x290f'),'code':'sv','flag':'sv'},'tr':{'title':_0x1cd3('0xfeb'),'translation':_0x1cd3('0x2910'),'code':'tr','flag':'tr'},'zh-CN':{'title':_0x1cd3('0x2911'),'translation':'TOOLBAR.CHINESESIMPLIFIED','code':'zh-CN','flag':_0x1cd3('0xf6b')},'zh-TW':{'title':_0x1cd3('0x2912'),'translation':'TOOLBAR.CHINESETRADITIONAL','code':_0x1cd3('0xfa4'),'flag':_0x1cd3('0xfa4')}};var _0x5e9a5c=['ar','fa','he'];_0x2fb861[_0x1cd3('0x2913')]=_0x44019c;_0x2fb861['logout']=_0x3e9a46;_0x2fb861[_0x1cd3('0x2914')]=_0x3773b0;_0x2fb861[_0x1cd3('0x2915')]=_0x22423b;_0x2fb861['toggleHorizontalMobileMenu']=_0x368cb9;_0x2fb861['toggleMsNavigationFolded']=_0x4e5df3;_0x2fb861[_0x1cd3('0x3e4')]=_0x18fca6;_0x2fb861[_0x1cd3('0x9d8')]=_0x36b080;_0x2fb861[_0x1cd3('0x2916')]=_0x434180;_0x2fb861['changePassword']=_0x26dad8;_0x2fb861[_0x1cd3('0x119')]=_0x115f14;_0x2fb861['onUserUpdate']=_0x18c5b3;_0x2fb861[_0x1cd3('0x2917')]=_0x344448;_0x2fb861[_0x1cd3('0x63e')]=_0x13c0ca;_0x2fb861['unpause']=_0x5cf4ac;_0x2fb861[_0x1cd3('0xe67')]=_0x26df5d;_0x2fb861[_0x1cd3('0x2894')]=_0x49dfc0;_0x2fb861[_0x1cd3('0x28a1')]=_0x489379;_0x2fb861[_0x1cd3('0x2918')]=_0x363ea7;_0x2fb861[_0x1cd3('0x2919')]=_0xebfad2;_0x2fb861['onUserVoiceQueue']=_0x379e94;_0x2fb861[_0x1cd3('0x291a')]=_0x87604b;_0x207e83();_0x51670a();_0x2ec42c();function _0x207e83(){_0x2fb861[_0x1cd3('0x368')]=_0x58332e[_0x1cd3('0x5d')]();_0x2fb861[_0x1cd3('0x58d')][_0x1cd3('0x291b')]=_0x2fb861['user'][_0x1cd3('0x291c')];_0x2fb861[_0x1cd3('0x58d')]['id']=_0x2fb861['user']['id'];_0x2fb861[_0x1cd3('0x58d')][_0x1cd3('0x98')]=_0x2fb861[_0x1cd3('0x368')]['name'];_0x2fb861[_0x1cd3('0x58d')][_0x1cd3('0xd3')]=_0x2fb861['user'][_0x1cd3('0xd3')];_0x2fb861[_0x1cd3('0x58d')][_0x1cd3('0x311')]=_0x2fb861[_0x1cd3('0x368')][_0x1cd3('0x311')];_0x2fb861[_0x1cd3('0x58d')][_0x1cd3('0x24a6')]=_0x2fb861[_0x1cd3('0x368')]['phoneBarEnableRecording'];_0x2fb861['conf']['autoAnswer']=_0x2fb861[_0x1cd3('0x368')][_0x1cd3('0x291d')];_0x2fb861['conf']['enableSettings']=_0x2fb861[_0x1cd3('0x368')]['phoneBarEnableSettings'];_0x2fb861[_0x1cd3('0x58d')]['enableDtmfTone']=_0x2fb861['user'][_0x1cd3('0x291e')];_0x2fb861[_0x1cd3('0x58d')][_0x1cd3('0x60e')]=_0x2fb861['user']['phoneBarAutoAnswerDelay'];_0x2fb861[_0x1cd3('0x291f')]=_0x2fb861['userStatusOptions'][0x0];var _0x43021a=_0x134166[_0x1cd3('0x361')](_0x1cd3('0xcce'));if(_0x43021a&&_0x2fb861['languages'][_0x1cd3('0x3d0')](_0x43021a)){_0x2fb861['selectedLanguage']=_0x2fb861[_0x1cd3('0x2901')][_0x43021a];}else{_0x2fb861[_0x1cd3('0x2920')]=_0x2fb861[_0x1cd3('0x2901')][_0x531ee5[_0x1cd3('0x2921')]()];}_0x4fdf46[_0x1cd3('0x63e')][_0x1cd3('0x361')]({'fields':_0x1cd3('0x98'),'nolimit':!![]})[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x17a6c8){_0x2fb861[_0x1cd3('0x1381')]=_0x17a6c8[_0x1cd3('0xf6')]?_0x17a6c8[_0x1cd3('0xf6')]:[];})[_0x1cd3('0xfd')](function(_0x327bbe){_0x3c8cbd[_0x1cd3('0x434')]({'title':_0x327bbe[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x327bbe[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x327bbe[_0x1cd3('0xd35')]:_0x1cd3('0x2922'),'msg':_0x327bbe['status']?JSON['stringify'](_0x327bbe['data']):_0x327bbe[_0x1cd3('0x43b')]()});});if(_0x58332e[_0x1cd3('0x2923')]()==_0x1cd3('0x37c')){if(_0x2fb861[_0x1cd3('0xc49')][_0x1cd3('0xd2a')]){if(!_0x2fb861['user'][_0x1cd3('0x2924')]){_0x26dad8(null,!![]);}else{var _0x26bafc=moment(_0x2fb861[_0x1cd3('0x368')][_0x1cd3('0x2924')])[_0x1cd3('0x425')](_0x2fb861['setting'][_0x1cd3('0x2925')]||0x5a,_0x1cd3('0x138'));if(moment()['isAfter'](_0x26bafc)){_0x26dad8(null,!![]);}else if(moment()['add'](0xf,_0x1cd3('0x138'))[_0x1cd3('0x2926')](_0x26bafc)){_0x3c8cbd[_0x1cd3('0x5c4')]({'title':_0x531ee5[_0x1cd3('0x44a')](_0x1cd3('0x5c5'))+'!','msg':_0x531ee5[_0x1cd3('0x44a')](_0x1cd3('0x2927'))+':\x20'+Math[_0x1cd3('0x2928')](_0x26bafc[_0x1cd3('0x78b')](moment(),'days',!![])),'timeout':0x4e20});}}}}}function _0x2ec42c(){_0x7ac51f[_0x1cd3('0x664')]();_0x7ac51f['on'](_0x1cd3('0x13ba'),_0x2fb861['onUserUpdate']);_0x7ac51f['on'](_0x1cd3('0x2929'),_0x2fb861[_0x1cd3('0x2917')]);_0x7ac51f['on'](_0x1cd3('0x28a2'),_0x2fb861[_0x1cd3('0x2918')]);_0x7ac51f['on'](_0x1cd3('0x28a3'),_0x2fb861[_0x1cd3('0x2919')]);_0x7ac51f['on'](_0x1cd3('0x13e8'),_0x2fb861['onUserVoiceQueue']);_0x7ac51f['on'](_0x1cd3('0x16a2'),_0x2fb861[_0x1cd3('0x291a')]);_0x7ac51f['on']('userVoiceQueue:remove',_0x2fb861['onUserVoiceQueue']);_0x7ac51f['on'](_0x1cd3('0x16a3'),_0x2fb861[_0x1cd3('0x291a')]);_0x7ac51f['on']('voiceQueue:update',_0x2fb861[_0x1cd3('0x291a')]);_0x7ac51f['on']('user:forcelogout',_0x973178);_0x7ac51f['on']('notification:send',_0x6e4649);}function _0x17d460(){_0x7ac51f[_0x1cd3('0x6a3')](_0x1cd3('0x2929'));_0x7ac51f[_0x1cd3('0x6a3')](_0x1cd3('0x13ba'));_0x7ac51f['removeAllListeners'](_0x1cd3('0x28a2'));_0x7ac51f['removeAllListeners']('chatInternalMessage:update');_0x7ac51f[_0x1cd3('0x6a3')](_0x1cd3('0x13e8'));_0x7ac51f[_0x1cd3('0x6a3')]('voiceQueue:save');_0x7ac51f[_0x1cd3('0x6a3')](_0x1cd3('0x16a1'));_0x7ac51f['removeAllListeners'](_0x1cd3('0x16a3'));_0x7ac51f[_0x1cd3('0x6a3')](_0x1cd3('0x16a5'));_0x7ac51f[_0x1cd3('0x6a3')](_0x1cd3('0x292a'));_0x7ac51f['removeAllListeners'](_0x1cd3('0x292b'));_0x7ac51f['disconnect']();}function _0xc9674b(_0x116206){_0x2fb861[_0x1cd3('0x8d9')]=_0x116206?_[_0x1cd3('0xe2d')](_0x116206[_0x1cd3('0xf6')]?_0x116206['rows']:[],'id'):{};}function _0x51670a(){_0x2fb861[_0x1cd3('0x539')]=_0x4fdf46[_0x1cd3('0x368')][_0x1cd3('0x13df')](_0x2fb861[_0x1cd3('0x3d4')],_0xc9674b)[_0x1cd3('0x81')];}function _0x87604b(_0x55c7e8){_0x51670a();}function _0x379e94(_0x3f0ef6){if(_[_0x1cd3('0x16aa')](_0x3f0ef6['UserId'])===_0x58332e[_0x1cd3('0x5d')]()['id']){_0x51670a();}}function _0x13c0ca(_0x23c92c){return _0x4fdf46[_0x1cd3('0x368')][_0x1cd3('0x63e')]({'id':_0x2fb861[_0x1cd3('0x368')]['id'],'type':_0x23c92c||_0x1cd3('0x292c')})['$promise'][_0x1cd3('0xfd')](function(_0x239e4e){_0x3c8cbd[_0x1cd3('0x434')]({'title':_0x239e4e[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0x239e4e[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0x239e4e['statusText']:_0x1cd3('0x292d'),'msg':_0x239e4e[_0x1cd3('0x3a6')]?JSON[_0x1cd3('0x438')](_0x239e4e[_0x1cd3('0x439')]):_0x239e4e[_0x1cd3('0x43b')]()});});}function _0x5cf4ac(){return _0x4fdf46[_0x1cd3('0x368')][_0x1cd3('0x13ed')]({'id':_0x2fb861[_0x1cd3('0x368')]['id']})[_0x1cd3('0x81')][_0x1cd3('0xfd')](function(_0x4a5879){_0x3c8cbd[_0x1cd3('0x434')]({'title':_0x4a5879['status']?_0x1cd3('0x435')+_0x4a5879['status']+_0x1cd3('0x436')+_0x4a5879[_0x1cd3('0xd35')]:'SYSTEM:UNPAUSEUSER','msg':_0x4a5879['status']?JSON['stringify'](_0x4a5879[_0x1cd3('0x439')]):_0x4a5879[_0x1cd3('0x43b')]()});});}function _0x26df5d(_0xfaa332){_0x2fb861[_0x1cd3('0x1640')]=!![];return _0x4fdf46[_0x1cd3('0xb47')][_0x1cd3('0x28ef')]()[_0x1cd3('0x81')]['then'](function(_0x1519f9){if(!_[_0x1cd3('0x472')](_0x1519f9)&&!_[_0x1cd3('0x472')](_0x1519f9[_0x1cd3('0x1223')])&&_0x1519f9['Queue'][_0x1cd3('0x1693')]){_0x3f8d3d[_0x1cd3('0x37e')]({'controller':_0x1cd3('0x292e'),'controllerAs':'vm','templateUrl':_0x1cd3('0x292f'),'parent':angular[_0x1cd3('0x37f')](_0x316ed4[_0x1cd3('0x380')]),'targetEvent':_0xfaa332,'clickOutsideToClose':!![],'locals':{'preview':_0x1519f9},'resolve':{'customFields':[_0x1cd3('0x62'),function(_0x548375){return _0x548375[_0x1cd3('0x58')](_0x1cd3('0xeb'),{'nolimit':!![]});}]}});}else{_0x3c8cbd[_0x1cd3('0x654')]({'title':'PREVIEW','msg':_0x1cd3('0x28ed')});}})[_0x1cd3('0xfd')](function(_0xf95f2d){if(_0xf95f2d[_0x1cd3('0x3a6')]===0x194){_0x3c8cbd[_0x1cd3('0x654')]({'title':_0x1cd3('0x28ec'),'msg':_0x1cd3('0x2930')});}else if(_0xf95f2d[_0x1cd3('0x439')]&&_0xf95f2d[_0x1cd3('0x439')][_0x1cd3('0xd34')]&&_0xf95f2d[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x1cd3('0x7a')]){_0x2fb861['errors']=_0xf95f2d[_0x1cd3('0x439')][_0x1cd3('0xd34')]||[{'message':_0xf95f2d['toString'](),'type':_0x1cd3('0x15cc')}];for(var _0x503dcb=0x0;_0x503dcb<_0xf95f2d['data']['errors'][_0x1cd3('0x7a')];_0x503dcb+=0x1){_0x3c8cbd[_0x1cd3('0x434')]({'title':_0xf95f2d[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x503dcb][_0x1cd3('0x424')],'msg':_0xf95f2d[_0x1cd3('0x439')][_0x1cd3('0xd34')][_0x503dcb][_0x1cd3('0x43a')]});}}else{_0x3c8cbd[_0x1cd3('0x434')]({'title':_0xf95f2d[_0x1cd3('0x3a6')]?_0x1cd3('0x435')+_0xf95f2d[_0x1cd3('0x3a6')]+_0x1cd3('0x436')+_0xf95f2d[_0x1cd3('0xd35')]:'api.openchannelMessage.accept','msg':_0xf95f2d[_0x1cd3('0x439')]?JSON[_0x1cd3('0x438')](_0xf95f2d[_0x1cd3('0x439')][_0x1cd3('0x43a')]):_0xf95f2d[_0x1cd3('0x43b')]()});}})[_0x1cd3('0x5dd')](function(){_0x2fb861[_0x1cd3('0x1640')]=![];});}function _0x44019c(_0x2718bc){_0x462644(_0x2718bc)[_0x1cd3('0x1ddf')]();}function _0x489379(){return _0x2fb861['currentUser'][_0x1cd3('0x388')]===_0x1cd3('0x5f')||_0x2fb861[_0x1cd3('0x3ca')][_0x1cd3('0x388')]===_0x1cd3('0x368')||_0x2fb861['currentUser'][_0x1cd3('0x388')]===_0x1cd3('0xd2')&&_0x2fb861[_0x1cd3('0x3ca')][_0x1cd3('0x381')]!==0x0;}_0x4fdf46[_0x1cd3('0xc30')][_0x1cd3('0x361')]({'fields':_0x1cd3('0x28a9'),'ToId':_0x2fb861[_0x1cd3('0x3ca')]['id'],'read':![],'nolimit':!![]})[_0x1cd3('0x81')]['then'](function(_0x1371c7){_0x2fb861['unreadTotalMessages']=_0x1371c7[_0x1cd3('0xf6')]['length'];});function _0x363ea7(_0x16abb1){if(_0x16abb1[_0x1cd3('0x28a8')]===_0x2fb861[_0x1cd3('0x3ca')]['id']&&!_0x16abb1[_0x1cd3('0x28aa')]){_0x2fb861['unreadTotalMessages']+=0x1;}if(_0x16abb1[_0x1cd3('0x28a8')]===_0x2fb861[_0x1cd3('0x3ca')]['id']&&_0x16abb1['FromId']!==_0x2fb861['currentUser']['id']&&!_0x16abb1['read']&&_0x16abb1[_0x1cd3('0x28aa')]){_0x2fb861[_0x1cd3('0x28a0')]++;}}function _0xebfad2(_0x44f74e){if(_0x44f74e[_0x1cd3('0x28a8')]===_0x2fb861['currentUser']['id']&&_0x44f74e['read']&&_0x2fb861[_0x1cd3('0x289f')]>0x0&&!_0x44f74e[_0x1cd3('0x28aa')]){_0x2fb861[_0x1cd3('0x289f')]-=0x1;}if(_0x44f74e[_0x1cd3('0x28a8')]===_0x2fb861[_0x1cd3('0x3ca')]['id']&&_0x44f74e[_0x1cd3('0x167e')]&&_0x44f74e[_0x1cd3('0x28aa')]&&_0x2fb861[_0x1cd3('0x28a0')]>0x0){_0x2fb861[_0x1cd3('0x28a0')]--;}}function _0x22423b(_0x5f1a73){_0x2fb861[_0x1cd3('0x291f')]=_0x5f1a73;}function _0x3e9a46(_0x154737){_0x17d460();return _0x58332e[_0x1cd3('0x376')](_0x154737)['then'](function(){_0x122787[_0x1cd3('0x46c')](_0x1cd3('0x2931'));return _0x483de0['go'](_0x1cd3('0x3b'));})[_0x1cd3('0xfd')](function(_0x55a8d3){console[_0x1cd3('0x434')](_0x55a8d3);});}function _0x3773b0(_0x17bd01){if(!_0x2fb861[_0x1cd3('0x2901')][_0x1cd3('0x3d0')](_0x17bd01[_0x1cd3('0x3ea')])){var _0x12296d=_0x1cd3('0x2932');_0x40a6b0[_0x1cd3('0x37e')]({'template':'<md-toast\x20id=\x22language-message\x22\x20layout=\x22column\x22\x20layout-align=\x22center\x20start\x22><div\x20class=\x22md-toast-content\x22>'+_0x12296d+_0x1cd3('0x2933'),'hideDelay':0x1b58,'position':_0x1cd3('0x676'),'parent':_0x1cd3('0x770')});return;}_0x2fb861[_0x1cd3('0x2920')]=_0x17bd01;_0x134166[_0x1cd3('0x37b')](_0x1cd3('0xcce'),_0x17bd01[_0x1cd3('0x3ea')]);_0x531ee5['use'](_0x17bd01[_0x1cd3('0x3ea')]);if(_0x483de0['current'][_0x1cd3('0x98')]===_0x1cd3('0x9a')){_0x5b6ddd[_0x1cd3('0xd22')][_0x1cd3('0x985')]();}if(_0x5e9a5c['indexOf'](_0x17bd01[_0x1cd3('0x3ea')])>=0x0){_0x3c8cbd[_0x1cd3('0x654')]({'title':_0x531ee5[_0x1cd3('0x44a')]('TOOLBAR.CHANGE_LANGUAGE_TITLE'),'msg':_0x531ee5[_0x1cd3('0x44a')]('TOOLBAR.CHANGE_LANGUAGE_MESSAGE')});}else{_0x56e6b4['$parent'][_0x1cd3('0x70b')]['vm'][_0x1cd3('0x5e0')]=_0x1cd3('0x2934');}}function _0x368cb9(){_0x2fb861[_0x1cd3('0x289d')][_0x1cd3('0x557')]('ms-navigation-horizontal-mobile-menu-active');}function _0x4e5df3(){_0x489363[_0x1cd3('0x553')]();}function _0x18fca6(_0x183f1b){var _0x1727bb=[],_0x533276=_0x489363[_0x1cd3('0x727')](),_0x4ab395=_0x2ac3ac['defer']();for(var _0x403fbc=0x0;_0x403fbc<_0x533276['length'];_0x403fbc++){if(_0x533276[_0x403fbc]['uisref']){_0x1727bb[_0x1cd3('0x7b')](_0x533276[_0x403fbc]);}}if(_0x183f1b){_0x1727bb=_0x1727bb['filter'](function(_0xebe067){if(angular[_0x1cd3('0x9d9')](_0xebe067['title'])[_0x1cd3('0x3e4')](angular[_0x1cd3('0x9d9')](_0x183f1b))>-0x1){return!![];}});}_0x40d878(function(){_0x4ab395[_0x1cd3('0x58')](_0x1727bb);},0x3e8);return _0x4ab395[_0x1cd3('0x539')];}function _0x36b080(_0x54113c){if(_0x54113c['uisref']){if(_0x54113c[_0x1cd3('0x570')]){_0x483de0['go'](_0x54113c['state'],_0x54113c[_0x1cd3('0x570')]);}else{_0x483de0['go'](_0x54113c[_0x1cd3('0x19')]);}}}function _0x434180(_0x28136e){_0x122787[_0x1cd3('0x46c')](_0x1cd3('0x6a1'));}function _0x26dad8(_0x1a0c7a,_0x27f6ea){_0x3f8d3d[_0x1cd3('0x37e')]({'controller':'ChangePasswordController','controllerAs':'vm','templateUrl':_0x1cd3('0x2935'),'parent':angular[_0x1cd3('0x37f')](_0x316ed4[_0x1cd3('0x380')]),'targetEvent':_0x1a0c7a,'clickOutsideToClose':_0x27f6ea?![]:!![],'escapeToClose':_0x27f6ea?![]:!![],'locals':{'user':_0x2fb861[_0x1cd3('0x368')],'setting':_0x25dcba,'reset':_0x27f6ea}});}function _0x115f14(){return _0x58332e['getCurrentUser']()&&_0x58332e['hasRole'](_0x1cd3('0xd2'));}function _0x18c5b3(_0x4452c3){if(_0x4452c3['id']===_0x2fb861[_0x1cd3('0x368')]['id']){if(_0x4452c3[_0x1cd3('0x388')]===_0x1cd3('0xd2')&&_['isBoolean'](_0x4452c3[_0x1cd3('0x1387')])&&!_0x4452c3[_0x1cd3('0x1387')]){if(_0x2fb861['user'][_0x1cd3('0x381')]!==0x0){_0x17d460();var _0x42bd92=_0x3f8d3d[_0x1cd3('0xd39')]()[_0x1cd3('0x486')](_0x531ee5['instant'](_0x1cd3('0x5c5'))+'!')[_0x1cd3('0x678')](_0x531ee5[_0x1cd3('0x44a')](_0x1cd3('0x2936')))['ariaLabel'](_0x531ee5[_0x1cd3('0x44a')]('TOOLBAR.WARNING')+'!')['ok'](_0x531ee5[_0x1cd3('0x44a')](_0x1cd3('0x2937')))[_0x1cd3('0x4d8')](_0x1cd3('0x2938'));_0x3f8d3d['show'](_0x42bd92)[_0x1cd3('0x77')](function(){return _0x58332e[_0x1cd3('0x2939')]()[_0x1cd3('0x77')](function(){_0x2ec42c();_[_0x1cd3('0xf2')](_0x2fb861[_0x1cd3('0x368')],_0x4452c3);_0x58332e[_0x1cd3('0x293a')](_0x2fb861['user']);});})[_0x1cd3('0xfd')](function(_0x5157dd){_0x3e9a46(!![]);});}else{_0x3e9a46(!![]);}}else{_['merge'](_0x2fb861['user'],_0x4452c3);_0x58332e['setCurrentUser'](_0x2fb861[_0x1cd3('0x368')]);}}}function _0x344448(_0x559912){if(_0x2fb861['currentUser'][_0x1cd3('0x381')]===0x2&&_0x2fb861[_0x1cd3('0x3ca')][_0x1cd3('0x388')]===_0x1cd3('0xd2')&&_0x2fb861[_0x1cd3('0x3ca')][_0x1cd3('0x98')]===_0x559912[_0x1cd3('0x18a1')]){_0x3c8cbd[_0x1cd3('0x654')]({'title':_0x1cd3('0x293b'),'msg':_0x1cd3('0x293c')+_0x559912[_0x1cd3('0x15ae')]+_0x1cd3('0x293d')+_0x559912[_0x1cd3('0x1220')]+_0x1cd3('0x293e')+(_0x559912[_0x1cd3('0xef7')]&&_0x559912[_0x1cd3('0xef7')][_0x1cd3('0x293f')]?_0x559912[_0x1cd3('0xef7')][_0x1cd3('0x293f')]:_0x1cd3('0x2940'))+_0x1cd3('0x2941'),'showClose':!![],'timeout':0x2710,'html':!![]});}}function _0x49dfc0(){return _0x2fb861[_0x1cd3('0xc49')][_0x1cd3('0x289a')]?_0x1cd3('0x289b'):_0x2fb861['setting'][_0x1cd3('0x2942')];}function _0x912fd2(){if(_[_0x1cd3('0x38d')](_0x2fb861[_0x1cd3('0x8d9')],{'dialMethod':_0x1cd3('0xe67'),'dialActive':!![]})&&_0x2fb861[_0x1cd3('0x463')][_0x1cd3('0x159f')]&&_0x2fb861[_0x1cd3('0xd1b')]){_0x2fb861['polling']=![];_0x4fdf46[_0x1cd3('0xb47')][_0x1cd3('0x2943')]()[_0x1cd3('0x81')][_0x1cd3('0x77')](function(_0x1ad8c2){if(_0x1ad8c2&&_[_0x1cd3('0x54d')](_0x1ad8c2[_0x1cd3('0x141d')])){_0x2fb861[_0x1cd3('0x141d')]=_0x1ad8c2[_0x1cd3('0x141d')];}})[_0x1cd3('0x5dd')](function(){_0x2fb861['polling']=!![];});}else{_0x2fb861[_0x1cd3('0x141d')]=0x0;}}function _0x458d7f(){if(_0xbb2fcf){_0x2516e1[_0x1cd3('0x4d8')](_0xbb2fcf);_0xbb2fcf=null;}}function _0x973178(_0x3abc84){console[_0x1cd3('0x5f9')](_0x1cd3('0x2944'),_0x3abc84);if(_0x2fb861['user'][_0x1cd3('0x381')]!==0x0){_0x17d460();return _0x58332e[_0x1cd3('0x376')](!![])[_0x1cd3('0x77')](function(){_0x122787[_0x1cd3('0x46c')](_0x1cd3('0x2931'));_0x3f8d3d['show'](_0x3f8d3d['alert']()[_0x1cd3('0x36c')](angular[_0x1cd3('0x37f')](_0x316ed4[_0x1cd3('0x380')]))['clickOutsideToClose'](![])[_0x1cd3('0x2945')](![])[_0x1cd3('0x486')](_0x531ee5[_0x1cd3('0x44a')](_0x1cd3('0x5c5')))[_0x1cd3('0x678')](_0x531ee5['instant'](_0x1cd3('0x2946'),{'ip':_0x3abc84['ip']}))['ok']('OK'))['then'](function(){return _0x483de0['go'](_0x1cd3('0x3b'));});})[_0x1cd3('0xfd')](function(_0x22f4f6){console[_0x1cd3('0x434')](_0x22f4f6);});}}function _0x6e4649(_0x5be30a){var _0x2cccce=_0x5be30a;if(_0x2fb861['currentUser']['id']===_0x2cccce['recipient']){var _0x49d203=_0x531ee5['instant'](_0x1cd3('0x2947'),{'sender':_0x2cccce[_0x1cd3('0x2948')]});var _0x2a7ec6=_0x2cccce[_0x1cd3('0xde1')]?_0x531ee5[_0x1cd3('0x44a')]('TOOLBAR.NOTIFICATION_TITLE_RECIPIENT',{'recipient':_0x2cccce[_0x1cd3('0xde1')]}):null;_0x3c8cbd[_0x1cd3('0x15b6')]({'title':_0x2a7ec6?_0x49d203+'\x20'+_0x2a7ec6:_0x49d203,'msg':_0x2cccce[_0x1cd3('0xd3b')],'clickToClose':![],'timeout':![],'sound':_0x2cccce[_0x1cd3('0x2949')],'html':!![]});}}_0x56e6b4[_0x1cd3('0x4d3')]('$destroy',function(){_0x7ac51f[_0x1cd3('0x6a3')](_0x1cd3('0x2929'));_0x7ac51f['removeAllListeners'](_0x1cd3('0x13ba'));_0x7ac51f[_0x1cd3('0x6a3')](_0x1cd3('0x28a2'));_0x7ac51f['removeAllListeners'](_0x1cd3('0x28a3'));_0x7ac51f[_0x1cd3('0x6a3')](_0x1cd3('0x13e8'));_0x7ac51f['removeAllListeners'](_0x1cd3('0x16a2'));_0x7ac51f[_0x1cd3('0x6a3')](_0x1cd3('0x16a1'));_0x7ac51f[_0x1cd3('0x6a3')]('voiceQueue:remove');_0x7ac51f[_0x1cd3('0x6a3')](_0x1cd3('0x16a5'));_0x7ac51f['removeAllListeners']('user:forcelogout');_0x7ac51f[_0x1cd3('0x6a3')](_0x1cd3('0x292b'));_0x458d7f();});}}());var urlParams=function(_0x4123a5){var _0x1e36f6=new Object();var _0x3ae197=_0x4123a5[_0x1cd3('0x24ac')]('?');if(_0x3ae197>0x0){var _0x37497c=_0x4123a5[_0x1cd3('0x922')](_0x3ae197+0x1)['split']('&');for(var _0x37426c=0x0;_0x37426c<_0x37497c[_0x1cd3('0x7a')];_0x37426c++){_0x3ae197=_0x37497c[_0x37426c]['indexOf']('=');if(_0x3ae197>0x0){_0x1e36f6[_0x37497c[_0x37426c]['substring'](0x0,_0x3ae197)]=_0x37497c[_0x37426c][_0x1cd3('0x922')](_0x3ae197+0x1);}}}return _0x1e36f6;}(window['location'][_0x1cd3('0x3ab')]);var t0=new Date();var MAX_REQUEST_SIZE=0xa00000;var MAX_WIDTH=0x2ee0;var MAX_HEIGHT=0x2ee0;var EXPORT_URL='http://exp.draw.io/ImageExport2/export';var SHARE_HOST=_0x1cd3('0x294a');var SAVE_URL=_0x1cd3('0x294b');var VARIABLE_URL=_0x1cd3('0x294c');var STENCIL_PATH='/assets/plugins/square/stencils';var SHAPES_PATH=_0x1cd3('0x294d');var IMAGE_PATH=_0x1cd3('0x294e');var STYLE_PATH=_0x1cd3('0x294f');var CSS_PATH=_0x1cd3('0x294f');var OPEN_FORM=_0x1cd3('0x2950');var TEMPLATE_PATH=_0x1cd3('0x2951');var RESOURCES_PATH=_0x1cd3('0x2952');var RESOURCE_BASE=RESOURCES_PATH+_0x1cd3('0x2953');var CRUD_PERMISSIONS={'readOnly':![],'canEdit':![],'canDelete':![]};var tapAndHoldStartsConnection=!![];var showConnectorImg=!![];var mxLoadResources=![];var mxLanguages=['it','fr','ko','es','sv','ru','de','ja',_0x1cd3('0xf6b'),_0x1cd3('0xfa4'),'nl','fi','da','pt-BR','pt-PT','no','hi','tr','fa'];var mxLanguage='en';var match=document[_0x1cd3('0x2954')][_0x1cd3('0x3f0')](new RegExp(_0x1cd3('0x2955')+_0x1cd3('0xcce')+_0x1cd3('0x2956')));if(match&&mxLanguages['includes'](match[0x2])){mxLanguage=match[0x2];}var mxBasePath=_0x1cd3('0x2957');var mxClient={'VERSION':'2.0.0.0','IS_IE':0x0<=navigator['userAgent'][_0x1cd3('0x45e')](_0x1cd3('0x955')),'IS_IE6':0x0<=navigator[_0x1cd3('0x927')]['indexOf'](_0x1cd3('0x2958')),'IS_QUIRKS':0x0<=navigator[_0x1cd3('0x927')]['indexOf'](_0x1cd3('0x955'))&&(null==document[_0x1cd3('0x2959')]||0x5==document[_0x1cd3('0x2959')]),'VML_PREFIX':'v','OFFICE_PREFIX':'o','IS_NS':0x0<=navigator['userAgent']['indexOf']('Mozilla/')&&0x0>navigator[_0x1cd3('0x927')]['indexOf'](_0x1cd3('0x955')),'IS_OP':0x0<=navigator['userAgent'][_0x1cd3('0x45e')](_0x1cd3('0x295a')),'IS_OT':0x0>navigator['userAgent']['indexOf']('Presto/2.4.')&&0x0>navigator[_0x1cd3('0x927')][_0x1cd3('0x45e')](_0x1cd3('0x295b'))&&0x0>navigator[_0x1cd3('0x927')]['indexOf']('Presto/2.2.')&&0x0>navigator[_0x1cd3('0x927')][_0x1cd3('0x45e')](_0x1cd3('0x295c'))&&0x0>navigator[_0x1cd3('0x927')][_0x1cd3('0x45e')](_0x1cd3('0x295d'))&&0x0>navigator[_0x1cd3('0x927')][_0x1cd3('0x45e')](_0x1cd3('0x295e')),'IS_SF':0x0<=navigator[_0x1cd3('0x927')][_0x1cd3('0x45e')](_0x1cd3('0x295f'))&&0x0>navigator['userAgent'][_0x1cd3('0x45e')](_0x1cd3('0x2960')),'IS_GC':0x0<=navigator['userAgent'][_0x1cd3('0x45e')](_0x1cd3('0x2960')),'IS_MT':0x0<=navigator[_0x1cd3('0x927')][_0x1cd3('0x45e')]('Firefox/')&&0x0>navigator[_0x1cd3('0x927')][_0x1cd3('0x45e')]('Firefox/1.')&&0x0>navigator[_0x1cd3('0x927')][_0x1cd3('0x45e')](_0x1cd3('0x2961'))||0x0<=navigator[_0x1cd3('0x927')][_0x1cd3('0x45e')](_0x1cd3('0x2962'))&&0x0>navigator[_0x1cd3('0x927')][_0x1cd3('0x45e')](_0x1cd3('0x2963'))&&0x0>navigator['userAgent']['indexOf'](_0x1cd3('0x2964'))||0x0<=navigator['userAgent'][_0x1cd3('0x45e')]('SeaMonkey/')&&0x0>navigator['userAgent'][_0x1cd3('0x45e')](_0x1cd3('0x2965'))||0x0<=navigator[_0x1cd3('0x927')][_0x1cd3('0x45e')](_0x1cd3('0x2966'))&&0x0>navigator['userAgent'][_0x1cd3('0x45e')]('Iceape/1.'),'IS_SVG':0x0<=navigator[_0x1cd3('0x927')][_0x1cd3('0x45e')](_0x1cd3('0x2967'))||0x0<=navigator['userAgent'][_0x1cd3('0x45e')](_0x1cd3('0x2962'))||0x0<=navigator[_0x1cd3('0x927')][_0x1cd3('0x45e')](_0x1cd3('0x2968'))||0x0<=navigator[_0x1cd3('0x927')]['indexOf'](_0x1cd3('0x2966'))||0x0<=navigator[_0x1cd3('0x927')][_0x1cd3('0x45e')](_0x1cd3('0x2969'))||0x0<=navigator[_0x1cd3('0x927')][_0x1cd3('0x45e')](_0x1cd3('0x296a'))||0x0<=navigator[_0x1cd3('0x927')][_0x1cd3('0x45e')](_0x1cd3('0x295f'))||0x0<=navigator[_0x1cd3('0x927')]['indexOf'](_0x1cd3('0x296b'))||0x0<=navigator[_0x1cd3('0x927')][_0x1cd3('0x45e')](_0x1cd3('0x295a')),'NO_FO':0x0<=navigator[_0x1cd3('0x927')]['indexOf'](_0x1cd3('0x296c'))||0x0<=navigator['userAgent'][_0x1cd3('0x45e')](_0x1cd3('0x2963'))||0x0<=navigator[_0x1cd3('0x927')][_0x1cd3('0x45e')]('Firefox/2.')||0x0<=navigator[_0x1cd3('0x927')][_0x1cd3('0x45e')]('Iceweasel/2.')||0x0<=navigator[_0x1cd3('0x927')][_0x1cd3('0x45e')](_0x1cd3('0x2965'))||0x0<=navigator['userAgent'][_0x1cd3('0x45e')](_0x1cd3('0x296d'))||0x0<=navigator[_0x1cd3('0x927')][_0x1cd3('0x45e')](_0x1cd3('0x296e'))||0x0<=navigator[_0x1cd3('0x927')][_0x1cd3('0x45e')](_0x1cd3('0x296f'))||0x0<=navigator[_0x1cd3('0x927')][_0x1cd3('0x45e')]('Opera/')||0x0<=navigator[_0x1cd3('0x927')][_0x1cd3('0x45e')]('MSIE')||0x0<=navigator[_0x1cd3('0x927')][_0x1cd3('0x45e')](_0x1cd3('0x2970')),'IS_VML':'MICROSOFT\x20INTERNET\x20EXPLORER'==navigator[_0x1cd3('0x2971')][_0x1cd3('0x437')](),'IS_MAC':0x0<navigator[_0x1cd3('0x927')]['toUpperCase']()[_0x1cd3('0x45e')](_0x1cd3('0x2972')),'IS_TOUCH':0x0<navigator[_0x1cd3('0x927')][_0x1cd3('0x437')]()[_0x1cd3('0x45e')](_0x1cd3('0x2973'))||0x0<navigator[_0x1cd3('0x927')][_0x1cd3('0x437')]()[_0x1cd3('0x45e')](_0x1cd3('0x2974'))||0x0<navigator['userAgent']['toUpperCase']()[_0x1cd3('0x45e')](_0x1cd3('0x2975'))||0x0<navigator[_0x1cd3('0x927')][_0x1cd3('0x437')]()[_0x1cd3('0x45e')]('ANDROID'),'IS_LOCAL':0x0>document[_0x1cd3('0xd22')][_0x1cd3('0x3ab')][_0x1cd3('0x45e')](_0x1cd3('0x2976'))&&0x0>document['location']['href']['indexOf']('https://'),'isBrowserSupported':function(){return mxClient[_0x1cd3('0x2977')]||mxClient[_0x1cd3('0x2978')];},'link':function(_0x3634dc,_0x3a4a1e,_0x5114ce){_0x5114ce=_0x5114ce||document;if(mxClient[_0x1cd3('0x2979')])_0x5114ce[_0x1cd3('0x28be')]('<link\x20rel=\x22'+_0x3634dc+_0x1cd3('0x297a')+_0x3a4a1e+'\x22\x20charset=\x22ISO-8859-1\x22\x20type=\x22text/css\x22/>');else{var _0x40f831=_0x5114ce['createElement'](_0x1cd3('0x297b'));_0x40f831['setAttribute'](_0x1cd3('0x297c'),_0x3634dc);_0x40f831['setAttribute']('href',_0x3a4a1e);_0x40f831['setAttribute'](_0x1cd3('0x297d'),'ISO-8859-1');_0x40f831[_0x1cd3('0x481')](_0x1cd3('0x424'),_0x1cd3('0x297e'));_0x5114ce[_0x1cd3('0x297f')](_0x1cd3('0x63c'))[0x0][_0x1cd3('0xd4e')](_0x40f831);}},'include':function(_0x5b34af){document[_0x1cd3('0x28be')](_0x1cd3('0x2980')+_0x5b34af+_0x1cd3('0x137a'));},'dispose':function(){for(var _0x43da29=0x0;_0x43da29<mxEvent[_0x1cd3('0x2981')][_0x1cd3('0x7a')];_0x43da29++)null!=mxEvent[_0x1cd3('0x2981')][_0x43da29][_0x1cd3('0x2982')]&&mxEvent[_0x1cd3('0x6a3')](mxEvent[_0x1cd3('0x2981')][_0x43da29]);}};mxClient[_0x1cd3('0x2983')]&&mxClient[_0x1cd3('0x2984')]?mxClient[_0x1cd3('0x2985')]='O':mxClient['IS_SF']||mxClient[_0x1cd3('0x2986')]?mxClient[_0x1cd3('0x2985')]=_0x1cd3('0x2987'):mxClient[_0x1cd3('0x2988')]?mxClient[_0x1cd3('0x2985')]=_0x1cd3('0x2989'):mxClient[_0x1cd3('0x298a')]&&0x9<=document[_0x1cd3('0x2959')]&&(mxClient[_0x1cd3('0x2985')]='ms');'undefined'==typeof mxLoadResources&&(mxLoadResources=!0x0);'undefined'==typeof mxResourceExtension&&(mxResourceExtension='.txt');'undefined'==typeof mxLoadStylesheets&&(mxLoadStylesheets=!0x0);'undefined'!=typeof mxBasePath&&0x0<mxBasePath[_0x1cd3('0x7a')]?('/'==mxBasePath[_0x1cd3('0x922')](mxBasePath['length']-0x1)&&(mxBasePath=mxBasePath[_0x1cd3('0x922')](0x0,mxBasePath[_0x1cd3('0x7a')]-0x1)),mxClient[_0x1cd3('0x298b')]=mxBasePath):mxClient[_0x1cd3('0x298b')]='.';_0x1cd3('0x491')!=typeof mxImageBasePath&&0x0<mxImageBasePath['length']?('/'==mxImageBasePath[_0x1cd3('0x922')](mxImageBasePath[_0x1cd3('0x7a')]-0x1)&&(mxImageBasePath=mxImageBasePath['substring'](0x0,mxImageBasePath['length']-0x1)),mxClient['imageBasePath']=mxImageBasePath):mxClient['imageBasePath']=mxClient[_0x1cd3('0x298b')]+_0x1cd3('0x298c');mxClient[_0x1cd3('0x3f3')]=_0x1cd3('0x491')!=typeof mxLanguage?mxLanguage:mxClient[_0x1cd3('0x298a')]?navigator[_0x1cd3('0x298d')]:navigator[_0x1cd3('0x3f3')];mxClient[_0x1cd3('0x298e')]=_0x1cd3('0x491')!=typeof mxDefaultLanguage?mxDefaultLanguage:'en';mxLoadStylesheets&&mxClient['link'](_0x1cd3('0x298f'),mxClient[_0x1cd3('0x298b')]+_0x1cd3('0x2990'));'undefined'!=typeof mxLanguages&&(mxClient[_0x1cd3('0x2901')]=mxLanguages);if(mxClient[_0x1cd3('0x298a')]){if(0x9<=document[_0x1cd3('0x2959')])mxClient[_0x1cd3('0x2977')]=!0x1,mxClient[_0x1cd3('0x2978')]=!0x0;else{0x8==document['documentMode']?(document[_0x1cd3('0x2991')][_0x1cd3('0x425')](mxClient[_0x1cd3('0x2992')],'urn:schemas-microsoft-com:vml','#default#VML'),document[_0x1cd3('0x2991')][_0x1cd3('0x425')](mxClient[_0x1cd3('0x2993')],_0x1cd3('0x2994'),_0x1cd3('0x2995'))):(document[_0x1cd3('0x2991')]['add'](mxClient[_0x1cd3('0x2992')],_0x1cd3('0x2996')),document[_0x1cd3('0x2991')]['add'](mxClient[_0x1cd3('0x2993')],_0x1cd3('0x2994')));var ss=document[_0x1cd3('0x2997')]();ss[_0x1cd3('0x2998')]='v\x5c:*{behavior:url(#default#VML)}o\x5c:*{behavior:url(#default#VML)}';mxLoadStylesheets&&mxClient[_0x1cd3('0x297b')](_0x1cd3('0x298f'),mxClient[_0x1cd3('0x298b')]+_0x1cd3('0x2999'));}window[_0x1cd3('0x299a')](_0x1cd3('0x299b'),mxClient['dispose']);}var mxLog={'consoleName':_0x1cd3('0x299c'),'TRACE':!0x1,'DEBUG':!0x0,'WARN':!0x0,'buffer':'','init':function(){if(null==mxLog[_0x1cd3('0x299d')]&&null!=document[_0x1cd3('0x380')]){var _0x58aefc=mxLog[_0x1cd3('0x299e')]+_0x1cd3('0x299f')+mxClient[_0x1cd3('0x29a0')],_0x4ca6e2=document[_0x1cd3('0x3aa')](_0x1cd3('0xd45'));_0x4ca6e2[_0x1cd3('0x481')](_0x1cd3('0x4d7'),_0x1cd3('0x29a1'));_0x4ca6e2[_0x1cd3('0x481')](_0x1cd3('0x4e4'),_0x1cd3('0x29a1'));var _0x4c6684=document['createElement'](_0x1cd3('0x29a2')),_0xd1df7b=document[_0x1cd3('0x3aa')]('tr'),_0x85f8e3=document[_0x1cd3('0x3aa')]('td');_0x85f8e3[_0x1cd3('0x440')][_0x1cd3('0x29a3')]=_0x1cd3('0x712');mxLog['textarea']=document[_0x1cd3('0x3aa')](_0x1cd3('0x122f'));mxLog['textarea'][_0x1cd3('0x481')]('readOnly',_0x1cd3('0x2e0'));mxLog['textarea']['style'][_0x1cd3('0x4e4')]=_0x1cd3('0x29a1');mxLog['textarea'][_0x1cd3('0x440')][_0x1cd3('0x29a4')]=_0x1cd3('0x6ae');mxLog[_0x1cd3('0x122f')]['value']=mxLog[_0x1cd3('0x6ef')];mxLog[_0x1cd3('0x122f')][_0x1cd3('0x440')][_0x1cd3('0x4d7')]=mxClient[_0x1cd3('0x29a5')]&&_0x1cd3('0x29a6')!=document[_0x1cd3('0x29a7')]?'99%':_0x1cd3('0x29a1');_0x85f8e3[_0x1cd3('0xd4e')](mxLog[_0x1cd3('0x122f')]);_0xd1df7b[_0x1cd3('0xd4e')](_0x85f8e3);_0x4c6684[_0x1cd3('0xd4e')](_0xd1df7b);_0xd1df7b=document['createElement']('tr');mxLog['td']=document[_0x1cd3('0x3aa')]('td');mxLog['td'][_0x1cd3('0x440')][_0x1cd3('0x29a3')]=_0x1cd3('0x712');mxLog['td'][_0x1cd3('0x481')](_0x1cd3('0x4e4'),_0x1cd3('0x29a8'));_0xd1df7b[_0x1cd3('0xd4e')](mxLog['td']);_0x4c6684['appendChild'](_0xd1df7b);_0x4ca6e2[_0x1cd3('0xd4e')](_0x4c6684);mxLog[_0x1cd3('0x29a9')](_0x1cd3('0x29aa'),function(_0xf173ba){mxLog[_0x1cd3('0x654')]();});mxLog[_0x1cd3('0x29a9')]('DOM',function(_0x540149){_0x540149=mxUtils[_0x1cd3('0x29ab')](document[_0x1cd3('0x380')]);mxLog[_0x1cd3('0x5f9')](_0x540149);});mxLog['addButton'](_0x1cd3('0x29ac'),function(_0x5f5139){mxLog[_0x1cd3('0x29ad')]=!mxLog['TRACE'];mxLog[_0x1cd3('0x29ad')]?mxLog[_0x1cd3('0x5f9')](_0x1cd3('0x29ae')):mxLog[_0x1cd3('0x5f9')](_0x1cd3('0x29af'));});mxLog[_0x1cd3('0x29a9')](_0x1cd3('0x29b0'),function(_0x56196e){try{mxUtils['copy'](mxLog[_0x1cd3('0x122f')][_0x1cd3('0x3db')]);}catch(_0x2c8a7a){mxUtils[_0x1cd3('0x11d0')](_0x2c8a7a);}});mxLog[_0x1cd3('0x29a9')](_0x1cd3('0x29b1'),function(_0x1c70ee){try{mxUtils[_0x1cd3('0x15ad')](mxLog[_0x1cd3('0x122f')]['value']);}catch(_0x30d1f3){mxUtils[_0x1cd3('0x11d0')](_0x30d1f3);}});mxLog[_0x1cd3('0x29a9')](_0x1cd3('0x29b2'),function(_0x2fb86a){mxLog['textarea'][_0x1cd3('0x3db')]='';});_0xd1df7b=_0x4c6684=0x0;'number'===typeof window['innerWidth']?(_0x4c6684=window[_0x1cd3('0x183f')],_0xd1df7b=window[_0x1cd3('0x29b3')]):(_0x4c6684=document['documentElement'][_0x1cd3('0x29b4')]||document['body']['clientHeight'],_0xd1df7b=document[_0x1cd3('0x380')][_0x1cd3('0x29b5')]);mxLog[_0x1cd3('0x299d')]=new mxWindow(_0x58aefc,_0x4ca6e2,Math[_0x1cd3('0x13d1')](0x0,_0xd1df7b-0x140),Math[_0x1cd3('0x13d1')](0x0,_0x4c6684-0xd2),0x12c,0xa0);mxLog[_0x1cd3('0x299d')]['setMaximizable'](!0x0);mxLog[_0x1cd3('0x299d')]['setScrollable'](!0x1);mxLog[_0x1cd3('0x299d')][_0x1cd3('0x29b6')](!0x0);mxLog[_0x1cd3('0x299d')][_0x1cd3('0x29b7')](!0x0);mxLog['window']['destroyOnClose']=!0x1;if((mxClient[_0x1cd3('0x29a5')]||mxClient[_0x1cd3('0x298a')])&&!mxClient[_0x1cd3('0x2986')]&&!mxClient[_0x1cd3('0x29b8')]&&'BackCompat'!=document[_0x1cd3('0x29a7')]){var _0x34ab8b=mxLog[_0x1cd3('0x299d')][_0x1cd3('0x29b9')](),_0x58aefc=function(_0x346259,_0xfbc1f9){mxLog[_0x1cd3('0x122f')][_0x1cd3('0x440')][_0x1cd3('0x4e4')]=Math[_0x1cd3('0x13d1')](0x0,_0x34ab8b[_0x1cd3('0x535')]-0x46)+'px';};mxLog[_0x1cd3('0x299d')][_0x1cd3('0x29ba')](mxEvent[_0x1cd3('0x29bb')],_0x58aefc);mxLog[_0x1cd3('0x299d')][_0x1cd3('0x29ba')](mxEvent[_0x1cd3('0x29bc')],_0x58aefc);mxLog[_0x1cd3('0x299d')]['addListener'](mxEvent[_0x1cd3('0x29bd')],_0x58aefc);mxLog[_0x1cd3('0x122f')][_0x1cd3('0x440')]['height']=_0x1cd3('0x29be');}}},'info':function(){mxLog[_0x1cd3('0x29bf')](mxUtils[_0x1cd3('0x43b')](navigator));},'addButton':function(_0x1b655d,_0x481b3d){var _0x3ae685=document['createElement']('button');mxUtils[_0x1cd3('0x28be')](_0x3ae685,_0x1b655d);mxEvent[_0x1cd3('0x29ba')](_0x3ae685,_0x1cd3('0x52d'),_0x481b3d);mxLog['td'][_0x1cd3('0xd4e')](_0x3ae685);},'isVisible':function(){return null!=mxLog[_0x1cd3('0x299d')]?mxLog[_0x1cd3('0x299d')][_0x1cd3('0x29c0')]():!0x1;},'show':function(){mxLog['setVisible'](!0x0);},'setVisible':function(_0x55539c){null==mxLog['window']&&mxLog[_0x1cd3('0xe08')]();null!=mxLog[_0x1cd3('0x299d')]&&mxLog[_0x1cd3('0x299d')][_0x1cd3('0x29c1')](_0x55539c);},'enter':function(_0xb76f18){if(mxLog[_0x1cd3('0x29ad')])return mxLog[_0x1cd3('0x29bf')](_0x1cd3('0x29c2')+_0xb76f18),new Date()[_0x1cd3('0xcd6')]();},'leave':function(_0x2246c8,_0x374c79){if(mxLog[_0x1cd3('0x29ad')]){var _0x13e0ce=0x0!=_0x374c79?'\x20('+(new Date()[_0x1cd3('0xcd6')]()-_0x374c79)+'\x20ms)':'';mxLog['writeln'](_0x1cd3('0x29c3')+_0x2246c8+_0x13e0ce);}},'debug':function(){mxLog[_0x1cd3('0x29c4')]&&mxLog[_0x1cd3('0x29bf')][_0x1cd3('0x4df')](this,arguments);},'warn':function(){mxLog[_0x1cd3('0x29c5')]&&mxLog[_0x1cd3('0x29bf')][_0x1cd3('0x4df')](this,arguments);},'write':function(){for(var _0x1f3b8d='',_0x3adfa5=0x0;_0x3adfa5<arguments[_0x1cd3('0x7a')];_0x3adfa5++)_0x1f3b8d+=arguments[_0x3adfa5],_0x3adfa5<arguments[_0x1cd3('0x7a')]-0x1&&(_0x1f3b8d+='\x20');null!=mxLog[_0x1cd3('0x122f')]?(mxLog[_0x1cd3('0x122f')][_0x1cd3('0x3db')]+=_0x1f3b8d,0x0<=navigator['userAgent'][_0x1cd3('0x45e')](_0x1cd3('0x29c6'))&&(mxLog[_0x1cd3('0x122f')]['style']['visibility']=_0x1cd3('0x533'),mxLog[_0x1cd3('0x122f')]['style'][_0x1cd3('0x29c7')]=_0x1cd3('0x29c8')),mxLog['textarea'][_0x1cd3('0x515')]=mxLog[_0x1cd3('0x122f')][_0x1cd3('0x6fa')]):mxLog['buffer']+=_0x1f3b8d;},'writeln':function(){for(var _0x376bdc='',_0x827dba=0x0;_0x827dba<arguments[_0x1cd3('0x7a')];_0x827dba++)_0x376bdc+=arguments[_0x827dba],_0x827dba<arguments[_0x1cd3('0x7a')]-0x1&&(_0x376bdc+='\x20');mxLog[_0x1cd3('0x28be')](_0x376bdc+'\x0a');}},mxObjectIdentity={'FIELD_NAME':_0x1cd3('0x29c9'),'counter':0x0,'get':function(_0x94c37a){if(_0x1cd3('0x29ca')==typeof _0x94c37a&&null==_0x94c37a[mxObjectIdentity[_0x1cd3('0x29cb')]]){var _0x436a31=mxUtils[_0x1cd3('0x29cc')](_0x94c37a['constructor']);_0x94c37a[mxObjectIdentity['FIELD_NAME']]=_0x436a31+'#'+mxObjectIdentity['counter']++;}return _0x94c37a[mxObjectIdentity[_0x1cd3('0x29cb')]];},'clear':function(_0x37e87f){_0x1cd3('0x29ca')==typeof _0x37e87f&&delete _0x37e87f[mxObjectIdentity[_0x1cd3('0x29cb')]];}};function mxDictionary(){this[_0x1cd3('0x785')]();}mxDictionary[_0x1cd3('0x77a')][_0x1cd3('0x3d9')]=null;mxDictionary[_0x1cd3('0x77a')][_0x1cd3('0x785')]=function(){this['map']={};};mxDictionary[_0x1cd3('0x77a')][_0x1cd3('0x361')]=function(_0x54c935){_0x54c935=mxObjectIdentity['get'](_0x54c935);return this[_0x1cd3('0x3d9')][_0x54c935];};mxDictionary['prototype'][_0x1cd3('0x37b')]=function(_0x39ab74,_0x5b6ea0){var _0x491880=mxObjectIdentity[_0x1cd3('0x361')](_0x39ab74),_0x2849e0=this[_0x1cd3('0x3d9')][_0x491880];this[_0x1cd3('0x3d9')][_0x491880]=_0x5b6ea0;return _0x2849e0;};mxDictionary[_0x1cd3('0x77a')]['remove']=function(_0x5b0a2a){_0x5b0a2a=mxObjectIdentity['get'](_0x5b0a2a);var _0x34310f=this['map'][_0x5b0a2a];delete this['map'][_0x5b0a2a];return _0x34310f;};mxDictionary[_0x1cd3('0x77a')][_0x1cd3('0x29cd')]=function(){var _0x215731=[],_0x1255be;for(_0x1255be in this[_0x1cd3('0x3d9')])_0x215731[_0x1cd3('0x7b')](_0x1255be);return _0x215731;};mxDictionary[_0x1cd3('0x77a')][_0x1cd3('0x412')]=function(){var _0x52c41e=[],_0x3b494d;for(_0x3b494d in this[_0x1cd3('0x3d9')])_0x52c41e[_0x1cd3('0x7b')](this[_0x1cd3('0x3d9')][_0x3b494d]);return _0x52c41e;};mxDictionary['prototype'][_0x1cd3('0x29ce')]=function(_0x5ef673){for(var _0x856d29 in this[_0x1cd3('0x3d9')])_0x5ef673(_0x856d29,this[_0x1cd3('0x3d9')][_0x856d29]);};var mxResources={'resources':[],'extension':mxResourceExtension,'resourcesEncoded':!0x1,'loadDefaultBundle':!0x0,'loadSpecialBundle':!0x0,'isLanguageSupported':function(_0x54e50f){return null!=mxClient[_0x1cd3('0x2901')]?0x0<=mxUtils['indexOf'](mxClient[_0x1cd3('0x2901')],_0x54e50f):!0x0;},'getDefaultBundle':function(_0x3feefd,_0x7cb9db){return mxResources[_0x1cd3('0x29cf')]||!mxResources[_0x1cd3('0x29d0')](_0x7cb9db)?_0x3feefd+mxResources['extension']:null;},'getSpecialBundle':function(_0x10f661,_0x3caf35){if(null==mxClient[_0x1cd3('0x2901')]||!this[_0x1cd3('0x29d0')](_0x3caf35)){var _0x5192a3=_0x3caf35[_0x1cd3('0x45e')]('-');0x0<_0x5192a3&&(_0x3caf35=_0x3caf35[_0x1cd3('0x922')](0x0,_0x5192a3));}return mxResources['loadSpecialBundle']&&mxResources[_0x1cd3('0x29d0')](_0x3caf35)&&_0x3caf35!=mxClient[_0x1cd3('0x298e')]?_0x10f661+'_'+_0x3caf35+mxResources[_0x1cd3('0xf0b')]:null;},'add':function(_0x52f555,_0x153481){_0x153481=null!=_0x153481?_0x153481:mxClient[_0x1cd3('0x3f3')];if(_0x153481!=mxConstants[_0x1cd3('0x29d1')]){var _0x5a1c5b=mxResources[_0x1cd3('0x29d2')](_0x52f555,_0x153481);if(null!=_0x5a1c5b)try{var _0x85ce4e=mxUtils[_0x1cd3('0x5de')](_0x5a1c5b);_0x85ce4e[_0x1cd3('0x29d3')]()&&mxResources['parse'](_0x85ce4e[_0x1cd3('0x49b')]());}catch(_0x4cc7e3){}_0x5a1c5b=mxResources['getSpecialBundle'](_0x52f555,_0x153481);if(null!=_0x5a1c5b)try{_0x85ce4e=mxUtils[_0x1cd3('0x5de')](_0x5a1c5b),_0x85ce4e['isReady']()&&mxResources[_0x1cd3('0x79')](_0x85ce4e[_0x1cd3('0x49b')]());}catch(_0x38ea27){}}},'parse':function(_0x315cdd){if(null!=_0x315cdd){_0x315cdd=_0x315cdd[_0x1cd3('0x3ef')]('\x0a');for(var _0x33f4f4=0x0;_0x33f4f4<_0x315cdd[_0x1cd3('0x7a')];_0x33f4f4++)if('#'!=_0x315cdd[_0x33f4f4][_0x1cd3('0x9a1')](0x0)){var _0x41b67f=_0x315cdd[_0x33f4f4]['indexOf']('=');if(0x0<_0x41b67f){var _0x5f417b=_0x315cdd[_0x33f4f4][_0x1cd3('0x922')](0x0,_0x41b67f),_0x3f0b68=_0x315cdd[_0x33f4f4][_0x1cd3('0x7a')];0xd==_0x315cdd[_0x33f4f4]['charCodeAt'](_0x3f0b68-0x1)&&_0x3f0b68--;_0x41b67f=_0x315cdd[_0x33f4f4][_0x1cd3('0x922')](_0x41b67f+0x1,_0x3f0b68);this['resourcesEncoded']?(_0x41b67f=_0x41b67f['replace'](/\\(?=u[a-fA-F\d]{4})/g,'%'),mxResources['resources'][_0x5f417b]=unescape(_0x41b67f)):mxResources[_0x1cd3('0x90c')][_0x5f417b]=_0x41b67f;}}}},'get':function(_0x241698,_0x9d16d6,_0x1c929e){_0x241698=mxResources[_0x1cd3('0x90c')][_0x241698];null==_0x241698&&(_0x241698=_0x1c929e);if(null!=_0x241698&&null!=_0x9d16d6){_0x1c929e=[];for(var _0x49fce9=null,_0x57ba24=0x0;_0x57ba24<_0x241698['length'];_0x57ba24++){var _0x3f4f14=_0x241698[_0x1cd3('0x9a1')](_0x57ba24);'{'==_0x3f4f14?_0x49fce9='':null!=_0x49fce9&&'}'==_0x3f4f14?(_0x49fce9=parseInt(_0x49fce9)-0x1,0x0<=_0x49fce9&&_0x49fce9<_0x9d16d6[_0x1cd3('0x7a')]&&_0x1c929e[_0x1cd3('0x7b')](_0x9d16d6[_0x49fce9]),_0x49fce9=null):null!=_0x49fce9?_0x49fce9+=_0x3f4f14:_0x1c929e['push'](_0x3f4f14);}_0x241698=_0x1c929e[_0x1cd3('0x3de')]('');}return _0x241698;}};function mxPoint(_0x584ab6,_0x554d6b){this['x']=null!=_0x584ab6?_0x584ab6:0x0;this['y']=null!=_0x554d6b?_0x554d6b:0x0;}mxPoint[_0x1cd3('0x77a')]['x']=null;mxPoint[_0x1cd3('0x77a')]['y']=null;mxPoint[_0x1cd3('0x77a')][_0x1cd3('0x501')]=function(_0x1112ad){return _0x1112ad['x']==this['x']&&_0x1112ad['y']==this['y'];};mxPoint['prototype']['clone']=function(){return mxUtils['clone'](this);};function mxRectangle(_0x5ba2bd,_0x4ce6c6,_0x56ca10,_0x531136){mxPoint['call'](this,_0x5ba2bd,_0x4ce6c6);this['width']=null!=_0x56ca10?_0x56ca10:0x0;this[_0x1cd3('0x4e4')]=null!=_0x531136?_0x531136:0x0;}mxRectangle['prototype']=new mxPoint();mxRectangle[_0x1cd3('0x77a')]['constructor']=mxRectangle;mxRectangle['prototype']['width']=null;mxRectangle[_0x1cd3('0x77a')]['height']=null;mxRectangle[_0x1cd3('0x77a')][_0x1cd3('0x29d4')]=function(_0x43cc54,_0x8fb8f5,_0x177d51,_0x590887){this['x']=_0x43cc54;this['y']=_0x8fb8f5;this[_0x1cd3('0x4d7')]=_0x177d51;this[_0x1cd3('0x4e4')]=_0x590887;};mxRectangle[_0x1cd3('0x77a')][_0x1cd3('0x29d5')]=function(){return this['x']+this[_0x1cd3('0x4d7')]/0x2;};mxRectangle[_0x1cd3('0x77a')][_0x1cd3('0x29d6')]=function(){return this['y']+this['height']/0x2;};mxRectangle[_0x1cd3('0x77a')][_0x1cd3('0x425')]=function(_0x5e5c7f){if(null!=_0x5e5c7f){var _0x51b2d3=Math[_0x1cd3('0x4e3')](this['x'],_0x5e5c7f['x']),_0x2340db=Math[_0x1cd3('0x4e3')](this['y'],_0x5e5c7f['y']),_0x3887d3=Math[_0x1cd3('0x13d1')](this['x']+this[_0x1cd3('0x4d7')],_0x5e5c7f['x']+_0x5e5c7f['width']);_0x5e5c7f=Math[_0x1cd3('0x13d1')](this['y']+this[_0x1cd3('0x4e4')],_0x5e5c7f['y']+_0x5e5c7f['height']);this['x']=_0x51b2d3;this['y']=_0x2340db;this[_0x1cd3('0x4d7')]=_0x3887d3-_0x51b2d3;this['height']=_0x5e5c7f-_0x2340db;}};mxRectangle[_0x1cd3('0x77a')][_0x1cd3('0x29d7')]=function(_0x469122){this['x']-=_0x469122;this['y']-=_0x469122;this[_0x1cd3('0x4d7')]+=0x2*_0x469122;this[_0x1cd3('0x4e4')]+=0x2*_0x469122;};mxRectangle['prototype'][_0x1cd3('0x29d8')]=function(){return new mxPoint(this['x'],this['y']);};mxRectangle[_0x1cd3('0x77a')][_0x1cd3('0x501')]=function(_0x2a7367){return _0x2a7367['x']==this['x']&&_0x2a7367['y']==this['y']&&_0x2a7367[_0x1cd3('0x4d7')]==this[_0x1cd3('0x4d7')]&&_0x2a7367[_0x1cd3('0x4e4')]==this['height'];};var mxEffects={'animateChanges':function(_0x2155c9,_0x2f11f6,_0x18f6f0){var _0x35cc27=0x0,_0x3d0d51=function(){for(var _0x583f45=!0x1,_0x3217cb=0x0;_0x3217cb<_0x2f11f6[_0x1cd3('0x7a')];_0x3217cb++){var _0x426faf=_0x2f11f6[_0x3217cb];if(_0x426faf instanceof mxGeometryChange||_0x426faf instanceof mxTerminalChange||_0x426faf instanceof mxValueChange||_0x426faf instanceof mxChildChange||_0x426faf instanceof mxStyleChange){var _0x4cd8fb=_0x2155c9['getView']()[_0x1cd3('0x29d9')](_0x426faf[_0x1cd3('0xefb')]||_0x426faf[_0x1cd3('0x29da')],!0x1);if(null!=_0x4cd8fb)if(_0x583f45=!0x0,_0x426faf[_0x1cd3('0x29db')]!=mxGeometryChange||_0x2155c9['model'][_0x1cd3('0x29dc')](_0x426faf[_0x1cd3('0xefb')]))mxUtils['setOpacity'](_0x4cd8fb[_0x1cd3('0x29dd')]['node'],0x64*_0x35cc27/0xa);else{var _0x4eb41a=_0x2155c9[_0x1cd3('0x29de')]()[_0x1cd3('0x29df')],_0x4750d2=(_0x426faf['geometry']['x']-_0x426faf[_0x1cd3('0x29e0')]['x'])*_0x4eb41a,_0x515dbb=(_0x426faf[_0x1cd3('0x29e1')]['y']-_0x426faf[_0x1cd3('0x29e0')]['y'])*_0x4eb41a,_0x2b42af=(_0x426faf[_0x1cd3('0x29e1')][_0x1cd3('0x4d7')]-_0x426faf[_0x1cd3('0x29e0')][_0x1cd3('0x4d7')])*_0x4eb41a,_0x4eb41a=(_0x426faf[_0x1cd3('0x29e1')]['height']-_0x426faf[_0x1cd3('0x29e0')][_0x1cd3('0x4e4')])*_0x4eb41a;0x0==_0x35cc27?(_0x4cd8fb['x']-=_0x4750d2,_0x4cd8fb['y']-=_0x515dbb,_0x4cd8fb['width']-=_0x2b42af,_0x4cd8fb[_0x1cd3('0x4e4')]-=_0x4eb41a):(_0x4cd8fb['x']+=_0x4750d2/0xa,_0x4cd8fb['y']+=_0x515dbb/0xa,_0x4cd8fb[_0x1cd3('0x4d7')]+=_0x2b42af/0xa,_0x4cd8fb[_0x1cd3('0x4e4')]+=_0x4eb41a/0xa);_0x2155c9[_0x1cd3('0x29e2')][_0x1cd3('0x29e3')](_0x4cd8fb);mxEffects[_0x1cd3('0x29e4')](_0x2155c9,_0x426faf[_0x1cd3('0xefb')],0x64*_0x35cc27/0xa);}}}0xa>_0x35cc27&&_0x583f45?(_0x35cc27++,window['setTimeout'](_0x3d0d51,_0x4066af)):null!=_0x18f6f0&&_0x18f6f0();},_0x4066af=0x1e;_0x3d0d51();},'cascadeOpacity':function(_0x40e3e2,_0x13cb86,_0x28a9a3){for(var _0x5b8212=_0x40e3e2['model'][_0x1cd3('0x29e5')](_0x13cb86),_0x6c96b9=0x0;_0x6c96b9<_0x5b8212;_0x6c96b9++){var _0x2292d5=_0x40e3e2[_0x1cd3('0x42e')][_0x1cd3('0x29e6')](_0x13cb86,_0x6c96b9),_0x1b5246=_0x40e3e2['getView']()['getState'](_0x2292d5);null!=_0x1b5246&&(mxUtils['setOpacity'](_0x1b5246[_0x1cd3('0x29dd')][_0x1cd3('0x56e')],_0x28a9a3),mxEffects[_0x1cd3('0x29e4')](_0x40e3e2,_0x2292d5,_0x28a9a3));}_0x13cb86=_0x40e3e2[_0x1cd3('0x42e')][_0x1cd3('0x29e7')](_0x13cb86);if(null!=_0x13cb86)for(_0x6c96b9=0x0;_0x6c96b9<_0x13cb86[_0x1cd3('0x7a')];_0x6c96b9++)_0x5b8212=_0x40e3e2[_0x1cd3('0x29de')]()[_0x1cd3('0x29d9')](_0x13cb86[_0x6c96b9]),null!=_0x5b8212&&mxUtils['setOpacity'](_0x5b8212[_0x1cd3('0x29dd')]['node'],_0x28a9a3);},'fadeOut':function(_0x35bbeb,_0x2d1996,_0x19dc56,_0x126103,_0x23d631,_0x23b7e9){_0x126103=_0x126103||0x28;_0x23d631=_0x23d631||0x1e;var _0x1abd80=_0x2d1996||0x64;mxUtils[_0x1cd3('0x29e8')](_0x35bbeb,_0x1abd80);if(_0x23b7e9||null==_0x23b7e9){var _0x44a74a=function(){_0x1abd80=Math[_0x1cd3('0x13d1')](_0x1abd80-_0x126103,0x0);mxUtils[_0x1cd3('0x29e8')](_0x35bbeb,_0x1abd80);0x0<_0x1abd80?window[_0x1cd3('0x29e9')](_0x44a74a,_0x23d631):(_0x35bbeb[_0x1cd3('0x440')][_0x1cd3('0x29c7')]='hidden',_0x19dc56&&_0x35bbeb[_0x1cd3('0x29ea')]&&_0x35bbeb[_0x1cd3('0x29ea')]['removeChild'](_0x35bbeb));};window[_0x1cd3('0x29e9')](_0x44a74a,_0x23d631);}else _0x35bbeb[_0x1cd3('0x440')]['visibility']=_0x1cd3('0x533'),_0x19dc56&&_0x35bbeb[_0x1cd3('0x29ea')]&&_0x35bbeb[_0x1cd3('0x29ea')][_0x1cd3('0x1817')](_0x35bbeb);}},mxUtils={'errorResource':'none'!=mxClient[_0x1cd3('0x3f3')]?_0x1cd3('0x434'):'','closeResource':_0x1cd3('0x6ae')!=mxClient[_0x1cd3('0x3f3')]?_0x1cd3('0x3cf'):'','errorImage':mxClient[_0x1cd3('0x29eb')]+'/error.gif','removeCursors':function(_0x1ce48d){null!=_0x1ce48d[_0x1cd3('0x440')]&&(_0x1ce48d[_0x1cd3('0x440')][_0x1cd3('0x29ec')]='');_0x1ce48d=_0x1ce48d[_0x1cd3('0x29ed')];if(null!=_0x1ce48d)for(var _0x5a6900=_0x1ce48d[_0x1cd3('0x7a')],_0xf349aa=0x0;_0xf349aa<_0x5a6900;_0xf349aa+=0x1)mxUtils[_0x1cd3('0x29ee')](_0x1ce48d[_0xf349aa]);},'getCurrentStyle':function(){return mxClient[_0x1cd3('0x298a')]?function(_0x25bbe6){return null!=_0x25bbe6?_0x25bbe6[_0x1cd3('0x29ef')]:null;}:function(_0x235aa6){return null!=_0x235aa6?window['getComputedStyle'](_0x235aa6,''):null;};}(),'hasScrollbars':function(_0x1e68e5){_0x1e68e5=mxUtils[_0x1cd3('0x29f0')](_0x1e68e5);return null!=_0x1e68e5&&('scroll'==_0x1e68e5[_0x1cd3('0x29f1')]||'auto'==_0x1e68e5[_0x1cd3('0x29f1')]);},'bind':function(_0x40cf9b,_0x543088){return function(){return _0x543088[_0x1cd3('0x4df')](_0x40cf9b,arguments);};},'eval':function(_0x49be39){var _0x2080ab=null;if(0x0<=_0x49be39[_0x1cd3('0x45e')](_0x1cd3('0x77c')))try{eval(_0x1cd3('0x29f2')+_0x49be39),_0x2080ab=_mxJavaScriptExpression,_mxJavaScriptExpression=null;}catch(_0x4d631b){mxLog['warn'](_0x4d631b['message']+'\x20while\x20evaluating\x20'+_0x49be39);}else try{_0x2080ab=eval(_0x49be39);}catch(_0x184009){mxLog['warn'](_0x184009[_0x1cd3('0x43a')]+_0x1cd3('0x29f3')+_0x49be39);}return _0x2080ab;},'findNode':function(_0x32920c,_0x37dd3d,_0x44e3b0){var _0x345fa7=_0x32920c[_0x1cd3('0x29f4')](_0x37dd3d);if(null!=_0x345fa7&&_0x345fa7==_0x44e3b0)return _0x32920c;for(_0x32920c=_0x32920c[_0x1cd3('0x29f5')];null!=_0x32920c;){_0x345fa7=mxUtils[_0x1cd3('0x29f6')](_0x32920c,_0x37dd3d,_0x44e3b0);if(null!=_0x345fa7)return _0x345fa7;_0x32920c=_0x32920c[_0x1cd3('0x29f7')];}return null;},'findNodeByAttribute':function(){return 0x9<=document[_0x1cd3('0x2959')]?function(_0x20ef74,_0x64006d,_0x13faeb){var _0x33a7d8=null;if(null!=_0x20ef74)if(_0x20ef74[_0x1cd3('0x29f8')]==mxConstants[_0x1cd3('0x29f9')]&&_0x20ef74[_0x1cd3('0x29f4')](_0x64006d)==_0x13faeb)_0x33a7d8=_0x20ef74;else for(_0x20ef74=_0x20ef74[_0x1cd3('0x29f5')];null!=_0x20ef74&&null==_0x33a7d8;)_0x33a7d8=mxUtils[_0x1cd3('0x29fa')](_0x20ef74,_0x64006d,_0x13faeb),_0x20ef74=_0x20ef74[_0x1cd3('0x29f7')];return _0x33a7d8;}:mxClient[_0x1cd3('0x298a')]?function(_0x2de33a,_0x57fde2,_0x2b83f7){return null==_0x2de33a?null:_0x2de33a[_0x1cd3('0x29fb')][_0x1cd3('0x29fc')](_0x1cd3('0x29fd')+_0x57fde2+'=\x27'+_0x2b83f7+'\x27]');}:function(_0x3a4623,_0x15fb64,_0x303606){return null==_0x3a4623?null:_0x3a4623['ownerDocument'][_0x1cd3('0x29fe')](_0x1cd3('0x29fd')+_0x15fb64+'=\x27'+_0x303606+'\x27]',_0x3a4623[_0x1cd3('0x29fb')],null,XPathResult[_0x1cd3('0x29ff')],null)[_0x1cd3('0x2a00')]();};}(),'getFunctionName':function(_0x44ae0a){var _0x37db3e=null;if(null!=_0x44ae0a)if(null!=_0x44ae0a[_0x1cd3('0x98')])_0x37db3e=_0x44ae0a[_0x1cd3('0x98')];else{_0x44ae0a=_0x44ae0a[_0x1cd3('0x43b')]();for(_0x37db3e=0x9;'\x20'==_0x44ae0a[_0x1cd3('0x9a1')](_0x37db3e);)_0x37db3e++;var _0x3aba68=_0x44ae0a[_0x1cd3('0x45e')]('(',_0x37db3e),_0x37db3e=_0x44ae0a[_0x1cd3('0x922')](_0x37db3e,_0x3aba68);}return _0x37db3e;},'indexOf':function(_0x490685,_0x114b5c){if(null!=_0x490685&&null!=_0x114b5c)for(var _0x57f5ee=0x0;_0x57f5ee<_0x490685[_0x1cd3('0x7a')];_0x57f5ee++)if(_0x490685[_0x57f5ee]==_0x114b5c)return _0x57f5ee;return-0x1;},'remove':function(_0x5d9428,_0x2954c6){var _0x45acc3=null;if(_0x1cd3('0x29ca')==typeof _0x2954c6)for(var _0x128904=mxUtils[_0x1cd3('0x45e')](_0x2954c6,_0x5d9428);0x0<=_0x128904;)_0x2954c6[_0x1cd3('0x446')](_0x128904,0x1),_0x45acc3=_0x5d9428,_0x128904=mxUtils['indexOf'](_0x2954c6,_0x5d9428);for(var _0x4a6bd8 in _0x2954c6)_0x2954c6[_0x4a6bd8]==_0x5d9428&&(delete _0x2954c6[_0x4a6bd8],_0x45acc3=_0x5d9428);return _0x45acc3;},'isNode':function(_0x5a3db0,_0x28a05f,_0x188237,_0x2a17c4){return null!=_0x5a3db0&&!isNaN(_0x5a3db0['nodeType'])&&(null==_0x28a05f||_0x5a3db0['nodeName'][_0x1cd3('0x433')]()==_0x28a05f[_0x1cd3('0x433')]())?null==_0x188237||_0x5a3db0['getAttribute'](_0x188237)==_0x2a17c4:!0x1;},'getChildNodes':function(_0x8ebd7a,_0x4f0e37){_0x4f0e37=_0x4f0e37||mxConstants[_0x1cd3('0x29f9')];for(var _0x46057e=[],_0x17d50e=_0x8ebd7a[_0x1cd3('0x29f5')];null!=_0x17d50e;)_0x17d50e[_0x1cd3('0x29f8')]==_0x4f0e37&&_0x46057e[_0x1cd3('0x7b')](_0x17d50e),_0x17d50e=_0x17d50e['nextSibling'];return _0x46057e;},'createXmlDocument':function(){var _0xeb877b=null;document[_0x1cd3('0x2a01')]&&document[_0x1cd3('0x2a01')][_0x1cd3('0x2a02')]?_0xeb877b=document[_0x1cd3('0x2a01')][_0x1cd3('0x2a02')]('','',null):window['ActiveXObject']&&(_0xeb877b=new ActiveXObject('Microsoft.XMLDOM'));return _0xeb877b;},'parseXml':function(){return mxClient[_0x1cd3('0x298a')]&&('undefined'===typeof document[_0x1cd3('0x2959')]||0x9>document['documentMode'])?function(_0x51ef7d){var _0x5328d7=mxUtils[_0x1cd3('0x2a03')]();_0x5328d7['async']=_0x1cd3('0x31a');_0x5328d7['loadXML'](_0x51ef7d);return _0x5328d7;}:function(_0xfd4a5d){return new DOMParser()[_0x1cd3('0x2a04')](_0xfd4a5d,'text/xml');};}(),'clearSelection':function(){if(document['selection'])return function(){document[_0x1cd3('0x2a05')][_0x1cd3('0x3eb')]();};if(window[_0x1cd3('0x2a06')])return function(){window[_0x1cd3('0x2a06')]()[_0x1cd3('0x2a07')]();};}(),'getPrettyXml':function(_0x887888,_0x3b4cbf,_0x29b2bf){var _0x6fe9be=[];if(null!=_0x887888)if(_0x3b4cbf=_0x3b4cbf||'\x20\x20',_0x29b2bf=_0x29b2bf||'',_0x887888['nodeType']==mxConstants[_0x1cd3('0x2a08')])_0x6fe9be[_0x1cd3('0x7b')](_0x887888['nodeValue']);else{_0x6fe9be['push'](_0x29b2bf+'<'+_0x887888['nodeName']);var _0x1acb8c=_0x887888[_0x1cd3('0xf29')];if(null!=_0x1acb8c)for(var _0x5e6c23=0x0;_0x5e6c23<_0x1acb8c[_0x1cd3('0x7a')];_0x5e6c23++){var _0x244fb3=mxUtils[_0x1cd3('0x2a09')](_0x1acb8c[_0x5e6c23][_0x1cd3('0x2a0a')]);_0x6fe9be['push']('\x20'+_0x1acb8c[_0x5e6c23]['nodeName']+'=\x22'+_0x244fb3+'\x22');}_0x1acb8c=_0x887888[_0x1cd3('0x29f5')];if(null!=_0x1acb8c){for(_0x6fe9be[_0x1cd3('0x7b')]('>\x0a');null!=_0x1acb8c;)_0x6fe9be['push'](mxUtils[_0x1cd3('0x2a0b')](_0x1acb8c,_0x3b4cbf,_0x29b2bf+_0x3b4cbf)),_0x1acb8c=_0x1acb8c[_0x1cd3('0x29f7')];_0x6fe9be[_0x1cd3('0x7b')](_0x29b2bf+'</'+_0x887888[_0x1cd3('0x2a0c')]+'>\x0a');}else _0x6fe9be['push']('/>\x0a');}return _0x6fe9be[_0x1cd3('0x3de')]('');},'removeWhitespace':function(_0x5c94bd,_0x782453){for(var _0x88f98a=_0x782453?_0x5c94bd[_0x1cd3('0x2a0d')]:_0x5c94bd['nextSibling'];null!=_0x88f98a&&_0x88f98a[_0x1cd3('0x29f8')]==mxConstants[_0x1cd3('0x2a08')];){var _0x31a0df=_0x782453?_0x88f98a[_0x1cd3('0x2a0d')]:_0x88f98a[_0x1cd3('0x29f7')],_0x50b1de=mxUtils[_0x1cd3('0x2a0e')](_0x88f98a);0x0==mxUtils['trim'](_0x50b1de)[_0x1cd3('0x7a')]&&_0x88f98a[_0x1cd3('0x29ea')][_0x1cd3('0x1817')](_0x88f98a);_0x88f98a=_0x31a0df;}},'htmlEntities':function(_0x4e3c3a,_0x2b8cca){_0x4e3c3a=(_0x4e3c3a||'')[_0x1cd3('0x3f1')](/&/g,_0x1cd3('0x2a0f'));_0x4e3c3a=_0x4e3c3a['replace'](/"/g,_0x1cd3('0x2a10'));_0x4e3c3a=_0x4e3c3a['replace'](/\'/g,_0x1cd3('0x2a11'));_0x4e3c3a=_0x4e3c3a[_0x1cd3('0x3f1')](/</g,_0x1cd3('0x2a12'));_0x4e3c3a=_0x4e3c3a[_0x1cd3('0x3f1')](/>/g,_0x1cd3('0x2a13'));if(null==_0x2b8cca||_0x2b8cca)_0x4e3c3a=_0x4e3c3a[_0x1cd3('0x3f1')](/\n/g,'
');return _0x4e3c3a;},'isVml':function(_0x336697){return null!=_0x336697&&'urn:schemas-microsoft-com:vml'==_0x336697[_0x1cd3('0x2a14')];},'getXml':function(_0x2ddf8b,_0x20a8ad){var _0x5bf5fe='';null!=_0x2ddf8b&&(_0x5bf5fe=_0x2ddf8b['xml'],_0x5bf5fe=null==_0x5bf5fe?_0x2ddf8b[_0x1cd3('0x2a15')]?_0x2ddf8b[_0x1cd3('0x2a15')]:new XMLSerializer()[_0x1cd3('0x2a16')](_0x2ddf8b):_0x5bf5fe['replace'](/\r\n\t[\t]*/g,'')[_0x1cd3('0x3f1')](/>\r\n/g,'>')[_0x1cd3('0x3f1')](/\r\n/g,'\x0a'));return _0x5bf5fe=_0x5bf5fe['replace'](/\n/g,_0x20a8ad||_0x1cd3('0x2a17'));},'getTextContent':function(_0xf57a49){var _0x5376fa='';null!=_0xf57a49&&(null!=_0xf57a49[_0x1cd3('0x29f5')]&&(_0xf57a49=_0xf57a49[_0x1cd3('0x29f5')]),_0x5376fa=_0xf57a49[_0x1cd3('0x2a0a')]||'');return _0x5376fa;},'getInnerHtml':function(){return mxClient[_0x1cd3('0x298a')]?function(_0x2b1645){return null!=_0x2b1645?_0x2b1645['innerHTML']:'';}:function(_0x46ea45){return null!=_0x46ea45?new XMLSerializer()[_0x1cd3('0x2a16')](_0x46ea45):'';};}(),'getOuterHtml':function(){return mxClient[_0x1cd3('0x298a')]?function(_0x519bf5){if(null!=_0x519bf5){if(null!=_0x519bf5[_0x1cd3('0x2a18')])return _0x519bf5[_0x1cd3('0x2a18')];var _0x1ff18c=[];_0x1ff18c[_0x1cd3('0x7b')]('<'+_0x519bf5[_0x1cd3('0x2a0c')]);var _0x5bf956=_0x519bf5[_0x1cd3('0xf29')];if(null!=_0x5bf956)for(var _0x49072c=0x0;_0x49072c<_0x5bf956[_0x1cd3('0x7a')];_0x49072c++){var _0x5c030b=_0x5bf956[_0x49072c][_0x1cd3('0x2a0a')];null!=_0x5c030b&&0x0<_0x5c030b[_0x1cd3('0x7a')]&&(_0x1ff18c[_0x1cd3('0x7b')]('\x20'),_0x1ff18c['push'](_0x5bf956[_0x49072c][_0x1cd3('0x2a0c')]),_0x1ff18c['push']('=\x22'),_0x1ff18c[_0x1cd3('0x7b')](_0x5c030b),_0x1ff18c[_0x1cd3('0x7b')]('\x22'));}0x0==_0x519bf5[_0x1cd3('0x2a15')][_0x1cd3('0x7a')]?_0x1ff18c[_0x1cd3('0x7b')]('/>'):(_0x1ff18c[_0x1cd3('0x7b')]('>'),_0x1ff18c[_0x1cd3('0x7b')](_0x519bf5[_0x1cd3('0x2a15')]),_0x1ff18c['push']('</'+_0x519bf5[_0x1cd3('0x2a0c')]+'>'));return _0x1ff18c['join']('');}return'';}:function(_0xba761d){return null!=_0xba761d?new XMLSerializer()['serializeToString'](_0xba761d):'';};}(),'write':function(_0x4a2dd7,_0x48aa9c){var _0x458812=_0x4a2dd7[_0x1cd3('0x29fb')][_0x1cd3('0x2a19')](_0x48aa9c);null!=_0x4a2dd7&&_0x4a2dd7[_0x1cd3('0xd4e')](_0x458812);return _0x458812;},'writeln':function(_0x19727c,_0xe8fd7a){var _0x49290f=_0x19727c[_0x1cd3('0x29fb')][_0x1cd3('0x2a19')](_0xe8fd7a);null!=_0x19727c&&(_0x19727c[_0x1cd3('0xd4e')](_0x49290f),_0x19727c['appendChild'](document['createElement']('br')));return _0x49290f;},'br':function(_0x38fc67,_0x44c4be){_0x44c4be=_0x44c4be||0x1;for(var _0x2c771c=null,_0x19a40c=0x0;_0x19a40c<_0x44c4be;_0x19a40c++)null!=_0x38fc67&&(_0x2c771c=_0x38fc67[_0x1cd3('0x29fb')][_0x1cd3('0x3aa')]('br'),_0x38fc67[_0x1cd3('0xd4e')](_0x2c771c));return _0x2c771c;},'button':function(_0x2a65f2,_0x3167e9,_0x48b877){_0x48b877=null!=_0x48b877?_0x48b877:document;_0x48b877=_0x48b877['createElement'](_0x1cd3('0x2a1a'));mxUtils[_0x1cd3('0x28be')](_0x48b877,_0x2a65f2);mxEvent[_0x1cd3('0x29ba')](_0x48b877,'click',function(_0x5093fe){_0x3167e9(_0x5093fe);});return _0x48b877;},'para':function(_0x54bd5c,_0x4fa259){var _0x384d70=document[_0x1cd3('0x3aa')]('p');mxUtils['write'](_0x384d70,_0x4fa259);null!=_0x54bd5c&&_0x54bd5c[_0x1cd3('0xd4e')](_0x384d70);return _0x384d70;},'addTransparentBackgroundFilter':function(_0x12be40){_0x12be40[_0x1cd3('0x440')][_0x1cd3('0x395')]+=_0x1cd3('0x2a1b')+mxClient[_0x1cd3('0x29eb')]+_0x1cd3('0x2a1c');},'linkAction':function(_0x4eac71,_0x2d8dd7,_0x3152a1,_0x2e1809,_0xc2a25a){return mxUtils[_0x1cd3('0x297b')](_0x4eac71,_0x2d8dd7,function(){_0x3152a1['execute'](_0x2e1809);},_0xc2a25a);},'linkInvoke':function(_0x560d97,_0x84020a,_0x45ae2c,_0x4846fc,_0x26f538,_0x1aa85d){return mxUtils[_0x1cd3('0x297b')](_0x560d97,_0x84020a,function(){_0x45ae2c[_0x4846fc](_0x26f538);},_0x1aa85d);},'link':function(_0x15143f,_0xa2d075,_0x3d63cb,_0x23d9cc){var _0x44847d=document['createElement']('span');_0x44847d['style'][_0x1cd3('0x3c6')]=_0x1cd3('0x9c4');_0x44847d['style']['textDecoration']=_0x1cd3('0x2a1d');_0x44847d[_0x1cd3('0x440')][_0x1cd3('0x29ec')]='pointer';null!=_0x23d9cc&&(_0x44847d[_0x1cd3('0x440')]['paddingLeft']=_0x23d9cc+'px');mxEvent[_0x1cd3('0x29ba')](_0x44847d,_0x1cd3('0x52d'),_0x3d63cb);mxUtils[_0x1cd3('0x28be')](_0x44847d,_0xa2d075);null!=_0x15143f&&_0x15143f[_0x1cd3('0xd4e')](_0x44847d);return _0x44847d;},'fit':function(_0x5f4cf6){var _0x39f9d7=parseInt(_0x5f4cf6[_0x1cd3('0x2a1e')]),_0x3a33c6=parseInt(_0x5f4cf6[_0x1cd3('0x2a1f')]),_0x77cd59=document[_0x1cd3('0x380')],_0x4ad89b=document[_0x1cd3('0x2a20')],_0x11c9cd=(_0x77cd59[_0x1cd3('0x767')]||_0x4ad89b[_0x1cd3('0x767')])+(_0x77cd59[_0x1cd3('0x29b5')]||_0x4ad89b['clientWidth']);_0x39f9d7+_0x3a33c6>_0x11c9cd&&(_0x5f4cf6['style']['left']=Math[_0x1cd3('0x13d1')](_0x77cd59['scrollLeft']||_0x4ad89b[_0x1cd3('0x767')],_0x11c9cd-_0x3a33c6)+'px');_0x39f9d7=parseInt(_0x5f4cf6[_0x1cd3('0x2a21')]);_0x3a33c6=parseInt(_0x5f4cf6[_0x1cd3('0x535')]);_0x11c9cd=(_0x77cd59['scrollTop']||_0x4ad89b[_0x1cd3('0x515')])+Math[_0x1cd3('0x13d1')](_0x77cd59[_0x1cd3('0x29b4')]||0x0,_0x4ad89b['clientHeight']);_0x39f9d7+_0x3a33c6>_0x11c9cd&&(_0x5f4cf6[_0x1cd3('0x440')][_0x1cd3('0x712')]=Math[_0x1cd3('0x13d1')](_0x77cd59[_0x1cd3('0x515')]||_0x4ad89b[_0x1cd3('0x515')],_0x11c9cd-_0x3a33c6)+'px');},'open':function(_0xd2274e){if(mxClient[_0x1cd3('0x29a5')]){try{netscape[_0x1cd3('0x2a22')][_0x1cd3('0x2a23')][_0x1cd3('0x2a24')](_0x1cd3('0x2a25'));}catch(_0x2221ae){return mxUtils[_0x1cd3('0x11d0')](_0x1cd3('0x2a26')),'';}var _0xd04948=Components[_0x1cd3('0x2a27')][_0x1cd3('0x2a28')][_0x1cd3('0x2a29')](Components[_0x1cd3('0x2a2a')][_0x1cd3('0x2a2b')]);_0xd04948[_0x1cd3('0x2a2c')](_0xd2274e);if(!_0xd04948[_0x1cd3('0x1dde')]())return mxUtils[_0x1cd3('0x11d0')](_0x1cd3('0x2a2d')),'';_0xd2274e=Components['classes'][_0x1cd3('0x2a2e')][_0x1cd3('0x2a29')](Components[_0x1cd3('0x2a2a')][_0x1cd3('0x2a2f')]);_0xd2274e['init'](_0xd04948,0x1,0x4,null);_0xd04948=Components['classes'][_0x1cd3('0x2a30')][_0x1cd3('0x2a29')](Components[_0x1cd3('0x2a2a')][_0x1cd3('0x2a31')]);_0xd04948['init'](_0xd2274e);return _0xd04948[_0x1cd3('0x167e')](_0xd04948[_0x1cd3('0x13da')]());}_0xd04948=new ActiveXObject(_0x1cd3('0x2a32'))[_0x1cd3('0x2a33')](_0xd2274e,0x1);_0xd2274e=_0xd04948[_0x1cd3('0x2a34')]();_0xd04948['close']();return _0xd2274e;},'save':function(_0x223563,_0x1cd028){if(mxClient[_0x1cd3('0x29a5')]){try{netscape[_0x1cd3('0x2a22')]['PrivilegeManager'][_0x1cd3('0x2a24')]('UniversalXPConnect');}catch(_0x39b0ae){mxUtils['alert']('Permission\x20to\x20write\x20file\x20denied.');return;}var _0x1b4e56=Components[_0x1cd3('0x2a27')][_0x1cd3('0x2a28')][_0x1cd3('0x2a29')](Components[_0x1cd3('0x2a2a')][_0x1cd3('0x2a2b')]);_0x1b4e56['initWithPath'](_0x223563);_0x1b4e56[_0x1cd3('0x1dde')]()||_0x1b4e56['create'](0x0,0x1a4);var _0x3cbae0=Components[_0x1cd3('0x2a27')][_0x1cd3('0x2a35')][_0x1cd3('0x2a29')](Components['interfaces']['nsIFileOutputStream']);_0x3cbae0['init'](_0x1b4e56,0x22,0x4,null);_0x3cbae0[_0x1cd3('0x28be')](_0x1cd028,_0x1cd028[_0x1cd3('0x7a')]);_0x3cbae0['flush']();_0x3cbae0[_0x1cd3('0x3cf')]();}else _0x1b4e56=new ActiveXObject('Scripting.FileSystemObject')['CreateTextFile'](_0x223563,!0x0),_0x1b4e56[_0x1cd3('0x2a36')](_0x1cd028),_0x1b4e56['Close']();},'saveAs':function(_0x26a013){var _0x1c9195=document[_0x1cd3('0x3aa')](_0x1cd3('0x15ac'));_0x1c9195[_0x1cd3('0x481')](_0x1cd3('0x487'),'');_0x1c9195[_0x1cd3('0x440')][_0x1cd3('0x29c7')]=_0x1cd3('0x533');document[_0x1cd3('0x380')][_0x1cd3('0xd4e')](_0x1c9195);try{if(mxClient[_0x1cd3('0x29a5')]){var _0x3a1435=_0x1c9195[_0x1cd3('0x2a37')];_0x3a1435['open']();_0x3a1435[_0x1cd3('0x28be')](_0x26a013);_0x3a1435[_0x1cd3('0x3cf')]();try{netscape[_0x1cd3('0x2a22')][_0x1cd3('0x2a23')][_0x1cd3('0x2a24')](_0x1cd3('0x2a25')),_0x1c9195[_0x1cd3('0x15e4')](),saveDocument(_0x3a1435);}catch(_0x6cf4f1){mxUtils[_0x1cd3('0x11d0')](_0x1cd3('0x2a38'));}}else _0x3a1435=_0x1c9195[_0x1cd3('0x2a39')]['document'],_0x3a1435[_0x1cd3('0x28be')](_0x26a013),_0x3a1435[_0x1cd3('0x2a3a')]('SaveAs',!0x1,document[_0x1cd3('0xd22')]);}finally{document[_0x1cd3('0x380')]['removeChild'](_0x1c9195);}},'copy':function(_0x5989d8){if(window[_0x1cd3('0x2a3b')])window[_0x1cd3('0x2a3b')][_0x1cd3('0x2a3c')](_0x1cd3('0xf3f'),_0x5989d8);else{netscape[_0x1cd3('0x2a22')][_0x1cd3('0x2a23')][_0x1cd3('0x2a24')]('UniversalXPConnect');var _0x5ae629=Components[_0x1cd3('0x2a27')]['@mozilla.org/widget/clipboard;1']['createInstance'](Components[_0x1cd3('0x2a2a')]['nsIClipboard']);if(_0x5ae629){var _0x375721=Components['classes'][_0x1cd3('0x2a3d')][_0x1cd3('0x2a29')](Components[_0x1cd3('0x2a2a')][_0x1cd3('0x2a3e')]);if(_0x375721){_0x375721[_0x1cd3('0x2a3f')](_0x1cd3('0x2a40'));var _0x599055=Components[_0x1cd3('0x2a27')][_0x1cd3('0x2a41')]['createInstance'](Components[_0x1cd3('0x2a2a')][_0x1cd3('0x2a42')]);_0x599055[_0x1cd3('0x439')]=_0x5989d8;_0x375721['setTransferData'](_0x1cd3('0x2a40'),_0x599055,0x2*_0x5989d8[_0x1cd3('0x7a')]);_0x5ae629['setData'](_0x375721,null,Components['interfaces'][_0x1cd3('0x2a43')][_0x1cd3('0x2a44')]);}}}},'load':function(_0x4f2070){_0x4f2070=new mxXmlRequest(_0x4f2070,null,'GET',!0x1);_0x4f2070[_0x1cd3('0x9de')]();return _0x4f2070;},'get':function(_0x37ab60,_0x148426,_0x592258){return new mxXmlRequest(_0x37ab60,null,_0x1cd3('0xf47'))[_0x1cd3('0x9de')](_0x148426,_0x592258);},'post':function(_0x4c33d3,_0x36da3f,_0x2e138e,_0x201bf3){return new mxXmlRequest(_0x4c33d3,_0x36da3f)[_0x1cd3('0x9de')](_0x2e138e,_0x201bf3);},'submit':function(_0x229c84,_0x57fd6b,_0x411b13,_0x366703){return new mxXmlRequest(_0x229c84,_0x57fd6b)[_0x1cd3('0x2a45')](_0x411b13,_0x366703);},'loadInto':function(_0x3454a4,_0xa1745f,_0xa76544){mxClient[_0x1cd3('0x298a')]?_0xa1745f[_0x1cd3('0x2a46')]=function(){0x4==_0xa1745f[_0x1cd3('0x2a47')]&&_0xa76544();}:_0xa1745f['addEventListener'](_0x1cd3('0x5de'),_0xa76544,!0x1);_0xa1745f['load'](_0x3454a4);},'getValue':function(_0x369a67,_0x539c81,_0x469697){_0x369a67=null!=_0x369a67?_0x369a67[_0x539c81]:null;null==_0x369a67&&(_0x369a67=_0x469697);return _0x369a67;},'getNumber':function(_0x19a4f5,_0x363218,_0x3b1058){_0x19a4f5=null!=_0x19a4f5?_0x19a4f5[_0x363218]:null;null==_0x19a4f5&&(_0x19a4f5=_0x3b1058||0x0);return Number(_0x19a4f5);},'getColor':function(_0x147de6,_0x387926,_0x58eb08){_0x147de6=null!=_0x147de6?_0x147de6[_0x387926]:null;null==_0x147de6?_0x147de6=_0x58eb08:_0x147de6==mxConstants[_0x1cd3('0x29d1')]&&(_0x147de6=null);return _0x147de6;},'clone':function(_0x26c54b,_0x263c08,_0x53db70){_0x53db70=null!=_0x53db70?_0x53db70:!0x1;var _0x4fe414=null;if(null!=_0x26c54b&&_0x1cd3('0x77c')==typeof _0x26c54b[_0x1cd3('0x29db')]){var _0x4fe414=new _0x26c54b[(_0x1cd3('0x29db'))](),_0x4ae1fd;for(_0x4ae1fd in _0x26c54b)if(_0x4ae1fd!=mxObjectIdentity[_0x1cd3('0x29cb')]&&(null==_0x263c08||0x0>mxUtils[_0x1cd3('0x45e')](_0x263c08,_0x4ae1fd)))_0x4fe414[_0x4ae1fd]=!_0x53db70&&_0x1cd3('0x29ca')==typeof _0x26c54b[_0x4ae1fd]?mxUtils[_0x1cd3('0x1141')](_0x26c54b[_0x4ae1fd]):_0x26c54b[_0x4ae1fd];}return _0x4fe414;},'equalPoints':function(_0x148e14,_0x33ef8b){if(null==_0x148e14&&null!=_0x33ef8b||null!=_0x148e14&&null==_0x33ef8b||null!=_0x148e14&&null!=_0x33ef8b&&_0x148e14[_0x1cd3('0x7a')]!=_0x33ef8b[_0x1cd3('0x7a')])return!0x1;if(null!=_0x148e14&&null!=_0x33ef8b)for(var _0x44f8a7=0x0;_0x44f8a7<_0x148e14[_0x1cd3('0x7a')];_0x44f8a7++)if(_0x148e14[_0x44f8a7]==_0x33ef8b[_0x44f8a7]||null!=_0x148e14[_0x44f8a7]&&!_0x148e14[_0x44f8a7][_0x1cd3('0x501')](_0x33ef8b[_0x44f8a7]))return!0x1;return!0x0;},'equalEntries':function(_0x2001cd,_0x167cc8){if(null==_0x2001cd&&null!=_0x167cc8||null!=_0x2001cd&&null==_0x167cc8||null!=_0x2001cd&&null!=_0x167cc8&&_0x2001cd[_0x1cd3('0x7a')]!=_0x167cc8[_0x1cd3('0x7a')])return!0x1;if(null!=_0x2001cd&&null!=_0x167cc8)for(var _0x4f645b in _0x2001cd)if(_0x2001cd[_0x4f645b]!=_0x167cc8[_0x4f645b])return!0x1;return!0x0;},'extend':function(_0x23f992,_0xff5c12){var _0x45b2c5=function(){};_0x45b2c5[_0x1cd3('0x77a')]=_0xff5c12['prototype'];_0x23f992[_0x1cd3('0x77a')]=new _0x45b2c5();_0x23f992[_0x1cd3('0x77a')]['constructor']=_0x23f992;},'toString':function(_0x3b02b8){var _0xdc7bfd='',_0xbb95b5;for(_0xbb95b5 in _0x3b02b8)try{if(null==_0x3b02b8[_0xbb95b5])_0xdc7bfd+=_0xbb95b5+_0x1cd3('0x2a48');else if(_0x1cd3('0x77c')==typeof _0x3b02b8[_0xbb95b5])_0xdc7bfd+=_0xbb95b5+_0x1cd3('0x2a49');else if(_0x1cd3('0x29ca')==typeof _0x3b02b8[_0xbb95b5])var _0x2a28dc=mxUtils[_0x1cd3('0x29cc')](_0x3b02b8[_0xbb95b5][_0x1cd3('0x29db')]),_0xdc7bfd=_0xdc7bfd+(_0xbb95b5+_0x1cd3('0x2a4a')+_0x2a28dc+']\x0a');else _0xdc7bfd+=_0xbb95b5+_0x1cd3('0x2a4b')+_0x3b02b8[_0xbb95b5]+'\x0a';}catch(_0x778de9){_0xdc7bfd+=_0xbb95b5+'='+_0x778de9[_0x1cd3('0x43a')];}return _0xdc7bfd;},'toRadians':function(_0x4677da){return Math['PI']*_0x4677da/0xb4;},'arcToCurves':function(_0x5a100b,_0x57bec7,_0x3c81c1,_0x567318,_0x2db5db,_0x3b6354,_0x34cc7e,_0x4ed4a8,_0x5a1d61){_0x4ed4a8-=_0x5a100b;_0x5a1d61-=_0x57bec7;if(0x0===_0x3c81c1||0x0===_0x567318)return _0x5a9ff3;_0x3c81c1=Math['abs'](_0x3c81c1);_0x567318=Math[_0x1cd3('0x2a4c')](_0x567318);var _0x2cd064=-_0x4ed4a8/0x2,_0x53b8ad=-_0x5a1d61/0x2,_0x148fa3=Math[_0x1cd3('0x2a4d')](_0x2db5db*Math['PI']/0xb4),_0x5a9ff3=Math[_0x1cd3('0x2a4e')](_0x2db5db*Math['PI']/0xb4);_0x2db5db=_0x148fa3*_0x2cd064+_0x5a9ff3*_0x53b8ad;var _0x2cd064=-0x1*_0x5a9ff3*_0x2cd064+_0x148fa3*_0x53b8ad,_0x53b8ad=_0x2db5db*_0x2db5db,_0x364a3d=_0x2cd064*_0x2cd064,_0xfbacff=_0x3c81c1*_0x3c81c1,_0x351305=_0x567318*_0x567318,_0x3bb174=_0x53b8ad/_0xfbacff+_0x364a3d/_0x351305;0x1<_0x3bb174?(_0x3c81c1*=Math[_0x1cd3('0x2a4f')](_0x3bb174),_0x567318*=Math[_0x1cd3('0x2a4f')](_0x3bb174),_0x3b6354=0x0):(_0x3bb174=0x1,_0x3b6354===_0x34cc7e&&(_0x3bb174=-0x1),_0x3b6354=_0x3bb174*Math[_0x1cd3('0x2a4f')]((_0xfbacff*_0x351305-_0xfbacff*_0x364a3d-_0x351305*_0x53b8ad)/(_0xfbacff*_0x364a3d+_0x351305*_0x53b8ad)));_0x53b8ad=_0x3b6354*_0x3c81c1*_0x2cd064/_0x567318;_0x364a3d=-0x1*_0x3b6354*_0x567318*_0x2db5db/_0x3c81c1;_0x4ed4a8=_0x148fa3*_0x53b8ad-_0x5a9ff3*_0x364a3d+_0x4ed4a8/0x2;_0x5a1d61=_0x5a9ff3*_0x53b8ad+_0x148fa3*_0x364a3d+_0x5a1d61/0x2;_0xfbacff=Math[_0x1cd3('0x2a50')]((_0x2cd064-_0x364a3d)/_0x567318,(_0x2db5db-_0x53b8ad)/_0x3c81c1)-Math[_0x1cd3('0x2a50')](0x0,0x1);_0x3b6354=0x0<=_0xfbacff?_0xfbacff:0x2*Math['PI']+_0xfbacff;_0xfbacff=Math['atan2']((-_0x2cd064-_0x364a3d)/_0x567318,(-_0x2db5db-_0x53b8ad)/_0x3c81c1)-Math['atan2']((_0x2cd064-_0x364a3d)/_0x567318,(_0x2db5db-_0x53b8ad)/_0x3c81c1);_0x2db5db=0x0<=_0xfbacff?_0xfbacff:0x2*Math['PI']+_0xfbacff;0x0==_0x34cc7e&&0x0<_0x2db5db?_0x2db5db-=0x2*Math['PI']:0x0!=_0x34cc7e&&0x0>_0x2db5db&&(_0x2db5db+=0x2*Math['PI']);_0x34cc7e=0x2*_0x2db5db/Math['PI'];_0x34cc7e=Math['ceil'](0x0>_0x34cc7e?-0x1*_0x34cc7e:_0x34cc7e);_0x2db5db/=_0x34cc7e;_0x2cd064=0x8/0x3*Math[_0x1cd3('0x2a4e')](_0x2db5db/0x4)*Math['sin'](_0x2db5db/0x4)/Math['sin'](_0x2db5db/0x2);_0x53b8ad=_0x148fa3*_0x3c81c1;_0x148fa3*=_0x567318;_0x3c81c1*=_0x5a9ff3;_0x567318*=_0x5a9ff3;for(var _0x1d7006=Math[_0x1cd3('0x2a4d')](_0x3b6354),_0x4440b6=Math[_0x1cd3('0x2a4e')](_0x3b6354),_0x364a3d=-_0x2cd064*(_0x53b8ad*_0x4440b6+_0x567318*_0x1d7006),_0xfbacff=-_0x2cd064*(_0x3c81c1*_0x4440b6-_0x148fa3*_0x1d7006),_0x3bb174=_0x351305=0x0,_0x5a9ff3=[],_0x9d7756=0x0;_0x9d7756<_0x34cc7e;++_0x9d7756){_0x3b6354+=_0x2db5db;var _0x1d7006=Math['cos'](_0x3b6354),_0x4440b6=Math[_0x1cd3('0x2a4e')](_0x3b6354),_0x351305=_0x53b8ad*_0x1d7006-_0x567318*_0x4440b6+_0x4ed4a8,_0x3bb174=_0x3c81c1*_0x1d7006+_0x148fa3*_0x4440b6+_0x5a1d61,_0x3ccf6f=-_0x2cd064*(_0x53b8ad*_0x4440b6+_0x567318*_0x1d7006),_0x1d7006=-_0x2cd064*(_0x3c81c1*_0x4440b6-_0x148fa3*_0x1d7006),_0x4440b6=0x6*_0x9d7756;_0x5a9ff3[_0x4440b6]=Number(_0x364a3d+_0x5a100b);_0x5a9ff3[_0x4440b6+0x1]=Number(_0xfbacff+_0x57bec7);_0x5a9ff3[_0x4440b6+0x2]=Number(_0x351305-_0x3ccf6f+_0x5a100b);_0x5a9ff3[_0x4440b6+0x3]=Number(_0x3bb174-_0x1d7006+_0x57bec7);_0x5a9ff3[_0x4440b6+0x4]=Number(_0x351305+_0x5a100b);_0x5a9ff3[_0x4440b6+0x5]=Number(_0x3bb174+_0x57bec7);_0x364a3d=_0x351305+_0x3ccf6f;_0xfbacff=_0x3bb174+_0x1d7006;}return _0x5a9ff3;},'getBoundingBox':function(_0x4ed9d8,_0x47cf54){var _0x4955bc=null;if(null!=_0x4ed9d8&&null!=_0x47cf54&&0x0!=_0x47cf54){var _0x25121d=mxUtils[_0x1cd3('0x2a51')](_0x47cf54),_0x4955bc=Math[_0x1cd3('0x2a4d')](_0x25121d),_0x32121f=Math[_0x1cd3('0x2a4e')](_0x25121d),_0x28895a=new mxPoint(_0x4ed9d8['x']+_0x4ed9d8[_0x1cd3('0x4d7')]/0x2,_0x4ed9d8['y']+_0x4ed9d8[_0x1cd3('0x4e4')]/0x2),_0x3ecca2=new mxPoint(_0x4ed9d8['x'],_0x4ed9d8['y']),_0x25121d=new mxPoint(_0x4ed9d8['x']+_0x4ed9d8[_0x1cd3('0x4d7')],_0x4ed9d8['y']),_0x7b0bdd=new mxPoint(_0x25121d['x'],_0x4ed9d8['y']+_0x4ed9d8[_0x1cd3('0x4e4')]),_0x32317e=new mxPoint(_0x4ed9d8['x'],_0x7b0bdd['y']),_0x3ecca2=mxUtils[_0x1cd3('0x2a52')](_0x3ecca2,_0x4955bc,_0x32121f,_0x28895a),_0x25121d=mxUtils[_0x1cd3('0x2a52')](_0x25121d,_0x4955bc,_0x32121f,_0x28895a),_0x7b0bdd=mxUtils[_0x1cd3('0x2a52')](_0x7b0bdd,_0x4955bc,_0x32121f,_0x28895a),_0x32317e=mxUtils['getRotatedPoint'](_0x32317e,_0x4955bc,_0x32121f,_0x28895a),_0x4955bc=new mxRectangle(_0x3ecca2['x'],_0x3ecca2['y'],0x0,0x0);_0x4955bc[_0x1cd3('0x425')](new mxRectangle(_0x25121d['x'],_0x25121d['y'],0x0,0x0));_0x4955bc['add'](new mxRectangle(_0x7b0bdd['x'],_0x7b0bdd['y'],0x0,0x0));_0x4955bc[_0x1cd3('0x425')](new mxRectangle(_0x32317e['x'],_0x32317e['y'],0x0,0x0));}return _0x4955bc;},'getRotatedPoint':function(_0x52699e,_0x47afa9,_0x510da9,_0x26828b){_0x26828b=null!=_0x26828b?_0x26828b:new mxPoint();var _0x33a600=_0x52699e['x']-_0x26828b['x'];_0x52699e=_0x52699e['y']-_0x26828b['y'];return new mxPoint(_0x33a600*_0x47afa9-_0x52699e*_0x510da9+_0x26828b['x'],_0x52699e*_0x47afa9+_0x33a600*_0x510da9+_0x26828b['y']);},'getPortConstraints':function(_0x4d042a,_0x3e7a92,_0x54f6c0,_0x3a0ff4){_0x4d042a=mxUtils['getValue'](_0x4d042a[_0x1cd3('0x440')],mxConstants[_0x1cd3('0x2a53')],null);if(null==_0x4d042a)return _0x3a0ff4;_0x3a0ff4=_0x4d042a[_0x1cd3('0x43b')]();_0x4d042a=mxConstants[_0x1cd3('0x2a54')];0x0<=_0x3a0ff4['indexOf'](mxConstants['DIRECTION_NORTH'])&&(_0x4d042a|=mxConstants['DIRECTION_MASK_NORTH']);0x0<=_0x3a0ff4[_0x1cd3('0x45e')](mxConstants[_0x1cd3('0x2a55')])&&(_0x4d042a|=mxConstants['DIRECTION_MASK_WEST']);0x0<=_0x3a0ff4[_0x1cd3('0x45e')](mxConstants[_0x1cd3('0x2a56')])&&(_0x4d042a|=mxConstants[_0x1cd3('0x2a57')]);0x0<=_0x3a0ff4[_0x1cd3('0x45e')](mxConstants[_0x1cd3('0x2a58')])&&(_0x4d042a|=mxConstants['DIRECTION_MASK_EAST']);return _0x4d042a;},'reversePortConstraints':function(_0x82a494){var _0x126c32=0x0,_0x126c32=(_0x82a494&mxConstants['DIRECTION_MASK_WEST'])<<0x3,_0x126c32=_0x126c32|(_0x82a494&mxConstants['DIRECTION_MASK_NORTH'])<<0x1,_0x126c32=_0x126c32|(_0x82a494&mxConstants[_0x1cd3('0x2a57')])>>0x1;return _0x126c32|=(_0x82a494&mxConstants['DIRECTION_MASK_EAST'])>>0x3;},'findNearestSegment':function(_0x8f8a94,_0x58b059,_0x3ac9bb){var _0x2c259a=-0x1;if(0x0<_0x8f8a94['absolutePoints']['length'])for(var _0xb3e635=_0x8f8a94[_0x1cd3('0x2a59')][0x0],_0xca1c5d=null,_0x63997e=0x1;_0x63997e<_0x8f8a94[_0x1cd3('0x2a59')][_0x1cd3('0x7a')];_0x63997e++){var _0x368b9d=_0x8f8a94[_0x1cd3('0x2a59')][_0x63997e],_0xb3e635=mxUtils['ptSegDistSq'](_0xb3e635['x'],_0xb3e635['y'],_0x368b9d['x'],_0x368b9d['y'],_0x58b059,_0x3ac9bb);if(null==_0xca1c5d||_0xb3e635<_0xca1c5d)_0xca1c5d=_0xb3e635,_0x2c259a=_0x63997e-0x1;_0xb3e635=_0x368b9d;}return _0x2c259a;},'rectangleIntersectsSegment':function(_0x211a72,_0x322f68,_0x413939){var _0x23686d=_0x211a72['y'],_0x36af8e=_0x211a72['x'],_0x2ddeda=_0x23686d+_0x211a72[_0x1cd3('0x4e4')],_0xaa4594=_0x36af8e+_0x211a72[_0x1cd3('0x4d7')];_0x211a72=_0x322f68['x'];var _0x14256c=_0x413939['x'];_0x322f68['x']>_0x413939['x']&&(_0x211a72=_0x413939['x'],_0x14256c=_0x322f68['x']);_0x14256c>_0xaa4594&&(_0x14256c=_0xaa4594);_0x211a72<_0x36af8e&&(_0x211a72=_0x36af8e);if(_0x211a72>_0x14256c)return!0x1;var _0x36af8e=_0x322f68['y'],_0xaa4594=_0x413939['y'],_0x589b12=_0x413939['x']-_0x322f68['x'];1e-7<Math[_0x1cd3('0x2a4c')](_0x589b12)&&(_0x413939=(_0x413939['y']-_0x322f68['y'])/_0x589b12,_0x322f68=_0x322f68['y']-_0x413939*_0x322f68['x'],_0x36af8e=_0x413939*_0x211a72+_0x322f68,_0xaa4594=_0x413939*_0x14256c+_0x322f68);_0x36af8e>_0xaa4594&&(_0x322f68=_0xaa4594,_0xaa4594=_0x36af8e,_0x36af8e=_0x322f68);_0xaa4594>_0x2ddeda&&(_0xaa4594=_0x2ddeda);_0x36af8e<_0x23686d&&(_0x36af8e=_0x23686d);return _0x36af8e>_0xaa4594?!0x1:!0x0;},'contains':function(_0x2080da,_0x57963c,_0x1ce7d9){return _0x2080da['x']<=_0x57963c&&_0x2080da['x']+_0x2080da[_0x1cd3('0x4d7')]>=_0x57963c&&_0x2080da['y']<=_0x1ce7d9&&_0x2080da['y']+_0x2080da['height']>=_0x1ce7d9;},'intersects':function(_0x4a2d75,_0x20e789){var _0x3f9db0=_0x4a2d75[_0x1cd3('0x4d7')],_0x18e1d8=_0x4a2d75[_0x1cd3('0x4e4')],_0x554828=_0x20e789[_0x1cd3('0x4d7')],_0x32e54c=_0x20e789[_0x1cd3('0x4e4')];if(0x0>=_0x554828||0x0>=_0x32e54c||0x0>=_0x3f9db0||0x0>=_0x18e1d8)return!0x1;var _0x20fe01=_0x4a2d75['x'],_0x484097=_0x4a2d75['y'],_0x2c5457=_0x20e789['x'],_0x32e850=_0x20e789['y'],_0x554828=_0x554828+_0x2c5457,_0x32e54c=_0x32e54c+_0x32e850,_0x3f9db0=_0x3f9db0+_0x20fe01,_0x18e1d8=_0x18e1d8+_0x484097;return(_0x554828<_0x2c5457||_0x554828>_0x20fe01)&&(_0x32e54c<_0x32e850||_0x32e54c>_0x484097)&&(_0x3f9db0<_0x20fe01||_0x3f9db0>_0x2c5457)&&(_0x18e1d8<_0x484097||_0x18e1d8>_0x32e850);},'intersectsHotspot':function(_0x4783cb,_0x2c6b5b,_0x301369,_0x2a11be,_0x222528,_0x3b20db){_0x2a11be=null!=_0x2a11be?_0x2a11be:0x1;_0x222528=null!=_0x222528?_0x222528:0x0;_0x3b20db=null!=_0x3b20db?_0x3b20db:0x0;if(0x0<_0x2a11be){var _0x4ca9ea=_0x4783cb[_0x1cd3('0x29d5')](),_0x5eec5f=_0x4783cb[_0x1cd3('0x29d6')](),_0x362bdd=_0x4783cb[_0x1cd3('0x4d7')],_0xbdb808=_0x4783cb[_0x1cd3('0x4e4')],_0x1f37b5=mxUtils[_0x1cd3('0x2a5a')](_0x4783cb[_0x1cd3('0x440')],mxConstants[_0x1cd3('0x2a5b')])*_0x4783cb['view'][_0x1cd3('0x29df')];0x0<_0x1f37b5&&(mxUtils[_0x1cd3('0x2a5a')](_0x4783cb[_0x1cd3('0x440')],mxConstants[_0x1cd3('0x2a5c')],!0x0)?(_0x5eec5f=_0x4783cb['y']+_0x1f37b5/0x2,_0xbdb808=_0x1f37b5):(_0x4ca9ea=_0x4783cb['x']+_0x1f37b5/0x2,_0x362bdd=_0x1f37b5));_0x362bdd=Math[_0x1cd3('0x13d1')](_0x222528,_0x362bdd*_0x2a11be);_0xbdb808=Math[_0x1cd3('0x13d1')](_0x222528,_0xbdb808*_0x2a11be);0x0<_0x3b20db&&(_0x362bdd=Math['min'](_0x362bdd,_0x3b20db),_0xbdb808=Math[_0x1cd3('0x4e3')](_0xbdb808,_0x3b20db));_0x2a11be=new mxRectangle(_0x4ca9ea-_0x362bdd/0x2,_0x5eec5f-_0xbdb808/0x2,_0x362bdd,_0xbdb808);_0x4ca9ea=mxUtils['toRadians'](mxUtils[_0x1cd3('0x2a5a')](_0x4783cb[_0x1cd3('0x440')],mxConstants[_0x1cd3('0x2a5d')])||0x0);0x0!=_0x4ca9ea&&(_0x222528=Math[_0x1cd3('0x2a4d')](-_0x4ca9ea),_0x3b20db=Math[_0x1cd3('0x2a4e')](-_0x4ca9ea),_0x4ca9ea=new mxPoint(_0x4783cb[_0x1cd3('0x29d5')](),_0x4783cb[_0x1cd3('0x29d6')]()),_0x4783cb=mxUtils['getRotatedPoint'](new mxPoint(_0x2c6b5b,_0x301369),_0x222528,_0x3b20db,_0x4ca9ea),_0x2c6b5b=_0x4783cb['x'],_0x301369=_0x4783cb['y']);return mxUtils[_0x1cd3('0x2a5e')](_0x2a11be,_0x2c6b5b,_0x301369);}return!0x0;},'getOffset':function(_0x4cb0e8,_0x35f53d){var _0x1982a2=0x0,_0x5e9b6b=0x0;if(null!=_0x35f53d&&_0x35f53d)var _0x3cd196=document[_0x1cd3('0x380')],_0x1b3b68=document[_0x1cd3('0x2a20')],_0x1982a2=_0x1982a2+(_0x3cd196['scrollLeft']||_0x1b3b68[_0x1cd3('0x767')]),_0x5e9b6b=_0x5e9b6b+(_0x3cd196['scrollTop']||_0x1b3b68['scrollTop']);for(;_0x4cb0e8['offsetParent'];)_0x1982a2+=_0x4cb0e8['offsetLeft'],_0x5e9b6b+=_0x4cb0e8['offsetTop'],_0x4cb0e8=_0x4cb0e8[_0x1cd3('0x2a5f')];return new mxPoint(_0x1982a2,_0x5e9b6b);},'getScrollOrigin':function(_0x397e74){for(var _0x1ba40f=document['body'],_0x35924e=document[_0x1cd3('0x2a20')],_0x4f17ab=new mxPoint(_0x1ba40f['scrollLeft']||_0x35924e[_0x1cd3('0x767')],_0x1ba40f[_0x1cd3('0x515')]||_0x35924e['scrollTop']);null!=_0x397e74&&_0x397e74!=_0x1ba40f&&_0x397e74!=_0x35924e;)!isNaN(_0x397e74[_0x1cd3('0x767')])&&!isNaN(_0x397e74[_0x1cd3('0x515')])&&(_0x4f17ab['x']+=_0x397e74['scrollLeft'],_0x4f17ab['y']+=_0x397e74['scrollTop']),_0x397e74=_0x397e74['parentNode'];return _0x4f17ab;},'convertPoint':function(_0x41c514,_0x40993b,_0x3c02ad){var _0x3c1599=mxUtils[_0x1cd3('0x2a60')](_0x41c514);_0x41c514=mxUtils[_0x1cd3('0x2a61')](_0x41c514);_0x41c514['x']-=_0x3c1599['x'];_0x41c514['y']-=_0x3c1599['y'];return new mxPoint(_0x40993b-_0x41c514['x'],_0x3c02ad-_0x41c514['y']);},'ltrim':function(_0x3e9843,_0x1be1c7){return _0x3e9843[_0x1cd3('0x3f1')](RegExp('^['+(_0x1be1c7||'\x5cs')+']+','g'),'');},'rtrim':function(_0x3f7501,_0x30d6b2){return _0x3f7501[_0x1cd3('0x3f1')](RegExp('['+(_0x30d6b2||'\x5cs')+_0x1cd3('0x2a62'),'g'),'');},'trim':function(_0x57ffaa,_0x120ff4){return mxUtils[_0x1cd3('0x2a63')](mxUtils['rtrim'](_0x57ffaa,_0x120ff4),_0x120ff4);},'isNumeric':function(_0x159143){return null!=_0x159143&&(null==_0x159143[_0x1cd3('0x7a')]||0x0<_0x159143[_0x1cd3('0x7a')]&&0x0>_0x159143['indexOf']('0x')&&0x0>_0x159143[_0x1cd3('0x45e')]('0X'))&&!isNaN(_0x159143);},'mod':function(_0x24cc09,_0x926ea6){return(_0x24cc09%_0x926ea6+_0x926ea6)%_0x926ea6;},'intersection':function(_0x24060c,_0x3724f3,_0x107927,_0x144292,_0x42e7a2,_0x46ddff,_0x3a442a,_0x350963){var _0x322aa5=(_0x350963-_0x46ddff)*(_0x107927-_0x24060c)-(_0x3a442a-_0x42e7a2)*(_0x144292-_0x3724f3);_0x3a442a=((_0x3a442a-_0x42e7a2)*(_0x3724f3-_0x46ddff)-(_0x350963-_0x46ddff)*(_0x24060c-_0x42e7a2))/_0x322aa5;_0x42e7a2=((_0x107927-_0x24060c)*(_0x3724f3-_0x46ddff)-(_0x144292-_0x3724f3)*(_0x24060c-_0x42e7a2))/_0x322aa5;return 0x0<=_0x3a442a&&0x1>=_0x3a442a&&0x0<=_0x42e7a2&&0x1>=_0x42e7a2?new mxPoint(_0x24060c+_0x3a442a*(_0x107927-_0x24060c),_0x3724f3+_0x3a442a*(_0x144292-_0x3724f3)):null;},'ptSegDistSq':function(_0x502493,_0x5acd19,_0x804798,_0x4b91f1,_0x152948,_0x4ba3c1){_0x804798-=_0x502493;_0x4b91f1-=_0x5acd19;_0x152948-=_0x502493;_0x4ba3c1-=_0x5acd19;0x0>=_0x152948*_0x804798+_0x4ba3c1*_0x4b91f1?_0x804798=0x0:(_0x152948=_0x804798-_0x152948,_0x4ba3c1=_0x4b91f1-_0x4ba3c1,_0x502493=_0x152948*_0x804798+_0x4ba3c1*_0x4b91f1,_0x804798=0x0>=_0x502493?0x0:_0x502493*_0x502493/(_0x804798*_0x804798+_0x4b91f1*_0x4b91f1));_0x152948=_0x152948*_0x152948+_0x4ba3c1*_0x4ba3c1-_0x804798;0x0>_0x152948&&(_0x152948=0x0);return _0x152948;},'relativeCcw':function(_0x1b57d9,_0x42e1cc,_0x145d79,_0x3eeb69,_0x5f2ef3,_0x164a56){_0x145d79-=_0x1b57d9;_0x3eeb69-=_0x42e1cc;_0x5f2ef3-=_0x1b57d9;_0x164a56-=_0x42e1cc;_0x1b57d9=_0x5f2ef3*_0x3eeb69-_0x164a56*_0x145d79;0x0==_0x1b57d9&&(_0x1b57d9=_0x5f2ef3*_0x145d79+_0x164a56*_0x3eeb69,0x0<_0x1b57d9&&(_0x1b57d9=(_0x5f2ef3-_0x145d79)*_0x145d79+(_0x164a56-_0x3eeb69)*_0x3eeb69,0x0>_0x1b57d9&&(_0x1b57d9=0x0)));return 0x0>_0x1b57d9?-0x1:0x0<_0x1b57d9?0x1:0x0;},'animateChanges':function(_0x5b16d3,_0x2fcbfe){mxEffects[_0x1cd3('0x2a64')][_0x1cd3('0x4df')](this,arguments);},'cascadeOpacity':function(_0x499323,_0x192a3c,_0x43b7f8){mxEffects[_0x1cd3('0x29e4')][_0x1cd3('0x4df')](this,arguments);},'fadeOut':function(_0x52784d,_0x3ea896,_0x3d0f9c,_0x1ec91f,_0x3beccc,_0x4da884){mxEffects['fadeOut'][_0x1cd3('0x4df')](this,arguments);},'setOpacity':function(_0x4adbdf,_0xb7ebf4){mxUtils[_0x1cd3('0x2a65')](_0x4adbdf)?_0x4adbdf[_0x1cd3('0x440')][_0x1cd3('0x395')]=0x64<=_0xb7ebf4?null:_0x1cd3('0x2a66')+_0xb7ebf4/0x5+')':mxClient['IS_IE']&&('undefined'===typeof document[_0x1cd3('0x2959')]||0x9>document[_0x1cd3('0x2959')])?_0x4adbdf[_0x1cd3('0x440')]['filter']=0x64<=_0xb7ebf4?null:_0x1cd3('0x2a66')+_0xb7ebf4+')':_0x4adbdf['style']['opacity']=_0xb7ebf4/0x64;},'createImage':function(_0x15fecc){var _0x18a79f=null;mxClient[_0x1cd3('0x2979')]&&_0x1cd3('0x2a67')!=document[_0x1cd3('0x29a7')]?(_0x18a79f=document[_0x1cd3('0x3aa')](mxClient['VML_PREFIX']+':image'),_0x18a79f[_0x1cd3('0x481')]('src',_0x15fecc),_0x18a79f[_0x1cd3('0x440')][_0x1cd3('0x2a68')]=_0x1cd3('0x6ae')):(_0x18a79f=document[_0x1cd3('0x3aa')](_0x1cd3('0x774')),_0x18a79f[_0x1cd3('0x481')](_0x1cd3('0x487'),_0x15fecc),_0x18a79f[_0x1cd3('0x481')]('border','0'));return _0x18a79f;},'sortCells':function(_0x28c522,_0xc55307){_0xc55307=null!=_0xc55307?_0xc55307:!0x0;var _0x4e9c3d=new mxDictionary();_0x28c522[_0x1cd3('0x550')](function(_0x5e2b88,_0x23ba27){var _0x1311f8=_0x4e9c3d['get'](_0x5e2b88);null==_0x1311f8&&(_0x1311f8=mxCellPath[_0x1cd3('0x624')](_0x5e2b88)[_0x1cd3('0x3ef')](mxCellPath[_0x1cd3('0x2a69')]),_0x4e9c3d[_0x1cd3('0x37b')](_0x5e2b88,_0x1311f8));var _0x232ffb=_0x4e9c3d[_0x1cd3('0x361')](_0x23ba27);null==_0x232ffb&&(_0x232ffb=mxCellPath[_0x1cd3('0x624')](_0x23ba27)[_0x1cd3('0x3ef')](mxCellPath[_0x1cd3('0x2a69')]),_0x4e9c3d[_0x1cd3('0x37b')](_0x23ba27,_0x232ffb));_0x1311f8=mxCellPath[_0x1cd3('0x2a6a')](_0x1311f8,_0x232ffb);return 0x0==_0x1311f8?0x0:0x0<_0x1311f8==_0xc55307?0x1:-0x1;});return _0x28c522;},'getStylename':function(_0x33b924){return null!=_0x33b924&&(_0x33b924=_0x33b924[_0x1cd3('0x3ef')](';')[0x0],0x0>_0x33b924[_0x1cd3('0x45e')]('='))?_0x33b924:'';},'getStylenames':function(_0x2f67aa){var _0x1dd3fb=[];if(null!=_0x2f67aa){_0x2f67aa=_0x2f67aa[_0x1cd3('0x3ef')](';');for(var _0xd40f15=0x0;_0xd40f15<_0x2f67aa['length'];_0xd40f15++)0x0>_0x2f67aa[_0xd40f15][_0x1cd3('0x45e')]('=')&&_0x1dd3fb[_0x1cd3('0x7b')](_0x2f67aa[_0xd40f15]);}return _0x1dd3fb;},'indexOfStylename':function(_0x6695cd,_0x3d09cd){if(null!=_0x6695cd&&null!=_0x3d09cd)for(var _0x360d6c=_0x6695cd[_0x1cd3('0x3ef')](';'),_0x54d478=0x0,_0x2095fe=0x0;_0x2095fe<_0x360d6c[_0x1cd3('0x7a')];_0x2095fe++){if(_0x360d6c[_0x2095fe]==_0x3d09cd)return _0x54d478;_0x54d478+=_0x360d6c[_0x2095fe][_0x1cd3('0x7a')]+0x1;}return-0x1;},'addStylename':function(_0x16ebe5,_0x2be63c){0x0>mxUtils[_0x1cd3('0x2a6b')](_0x16ebe5,_0x2be63c)&&(null==_0x16ebe5?_0x16ebe5='':0x0<_0x16ebe5['length']&&';'!=_0x16ebe5[_0x1cd3('0x9a1')](_0x16ebe5['length']-0x1)&&(_0x16ebe5+=';'),_0x16ebe5+=_0x2be63c);return _0x16ebe5;},'removeStylename':function(_0xf3aae9,_0x5dbf9e){var _0x14eeea=[];if(null!=_0xf3aae9)for(var _0x20f596=_0xf3aae9[_0x1cd3('0x3ef')](';'),_0x183faa=0x0;_0x183faa<_0x20f596[_0x1cd3('0x7a')];_0x183faa++)_0x20f596[_0x183faa]!=_0x5dbf9e&&_0x14eeea[_0x1cd3('0x7b')](_0x20f596[_0x183faa]);return _0x14eeea[_0x1cd3('0x3de')](';');},'removeAllStylenames':function(_0x26d080){var _0x321b1b=[];if(null!=_0x26d080){_0x26d080=_0x26d080[_0x1cd3('0x3ef')](';');for(var _0x143e3f=0x0;_0x143e3f<_0x26d080[_0x1cd3('0x7a')];_0x143e3f++)0x0<=_0x26d080[_0x143e3f][_0x1cd3('0x45e')]('=')&&_0x321b1b[_0x1cd3('0x7b')](_0x26d080[_0x143e3f]);}return _0x321b1b[_0x1cd3('0x3de')](';');},'setCellStyles':function(_0x50ba3c,_0x3431,_0x46cb69,_0x48d94b){if(null!=_0x3431&&0x0<_0x3431[_0x1cd3('0x7a')]){_0x50ba3c[_0x1cd3('0x2a6c')]();try{for(var _0x2204e7=0x0;_0x2204e7<_0x3431[_0x1cd3('0x7a')];_0x2204e7++)if(null!=_0x3431[_0x2204e7]){var _0x373e54=mxUtils[_0x1cd3('0x2a6d')](_0x50ba3c[_0x1cd3('0x2a6e')](_0x3431[_0x2204e7]),_0x46cb69,_0x48d94b);_0x50ba3c['setStyle'](_0x3431[_0x2204e7],_0x373e54);}}finally{_0x50ba3c['endUpdate']();}}},'setStyle':function(_0x4cd7db,_0x4e5ae1,_0x39b184){var _0x3f522d=null!=_0x39b184&&('undefined'==typeof _0x39b184[_0x1cd3('0x7a')]||0x0<_0x39b184[_0x1cd3('0x7a')]);if(null==_0x4cd7db||0x0==_0x4cd7db[_0x1cd3('0x7a')])_0x3f522d&&(_0x4cd7db=_0x4e5ae1+'='+_0x39b184);else{var _0x4aaa19=_0x4cd7db[_0x1cd3('0x45e')](_0x4e5ae1+'=');0x0>_0x4aaa19?_0x3f522d&&(_0x3f522d=';'==_0x4cd7db[_0x1cd3('0x9a1')](_0x4cd7db[_0x1cd3('0x7a')]-0x1)?'':';',_0x4cd7db=_0x4cd7db+_0x3f522d+_0x4e5ae1+'='+_0x39b184):(_0x4e5ae1=_0x3f522d?_0x4e5ae1+'='+_0x39b184:'',_0x39b184=_0x4cd7db[_0x1cd3('0x45e')](';',_0x4aaa19),_0x3f522d||_0x39b184++,_0x4cd7db=_0x4cd7db['substring'](0x0,_0x4aaa19)+_0x4e5ae1+(_0x39b184>_0x4aaa19?_0x4cd7db[_0x1cd3('0x922')](_0x39b184):''));}return _0x4cd7db;},'setCellStyleFlags':function(_0x12f494,_0x11085d,_0x1c5580,_0x161a9b,_0x76c4f4){if(null!=_0x11085d&&0x0<_0x11085d['length']){_0x12f494[_0x1cd3('0x2a6c')]();try{for(var _0x300493=0x0;_0x300493<_0x11085d[_0x1cd3('0x7a')];_0x300493++)if(null!=_0x11085d[_0x300493]){var _0x502715=mxUtils['setStyleFlag'](_0x12f494[_0x1cd3('0x2a6e')](_0x11085d[_0x300493]),_0x1c5580,_0x161a9b,_0x76c4f4);_0x12f494[_0x1cd3('0x2a6d')](_0x11085d[_0x300493],_0x502715);}}finally{_0x12f494['endUpdate']();}}},'setStyleFlag':function(_0x4fafd0,_0x203851,_0x2ab484,_0x5e68dc){if(null==_0x4fafd0||0x0==_0x4fafd0['length'])_0x4fafd0=_0x5e68dc||null==_0x5e68dc?_0x203851+'='+_0x2ab484:_0x203851+'=0';else{var _0x4f60c6=_0x4fafd0[_0x1cd3('0x45e')](_0x203851+'=');if(0x0>_0x4f60c6)_0x4f60c6=';'==_0x4fafd0[_0x1cd3('0x9a1')](_0x4fafd0[_0x1cd3('0x7a')]-0x1)?'':';',_0x4fafd0=_0x5e68dc||null==_0x5e68dc?_0x4fafd0+_0x4f60c6+_0x203851+'='+_0x2ab484:_0x4fafd0+_0x4f60c6+_0x203851+'=0';else{var _0x4e7ff1=_0x4fafd0[_0x1cd3('0x45e')](';',_0x4f60c6),_0x40c6a1='',_0x40c6a1=0x0>_0x4e7ff1?_0x4fafd0[_0x1cd3('0x922')](_0x4f60c6+_0x203851[_0x1cd3('0x7a')]+0x1):_0x4fafd0[_0x1cd3('0x922')](_0x4f60c6+_0x203851[_0x1cd3('0x7a')]+0x1,_0x4e7ff1),_0x40c6a1=null==_0x5e68dc?parseInt(_0x40c6a1)^_0x2ab484:_0x5e68dc?parseInt(_0x40c6a1)|_0x2ab484:parseInt(_0x40c6a1)&~_0x2ab484;_0x4fafd0=_0x4fafd0[_0x1cd3('0x922')](0x0,_0x4f60c6)+_0x203851+'='+_0x40c6a1+(0x0<=_0x4e7ff1?_0x4fafd0[_0x1cd3('0x922')](_0x4e7ff1):'');}}return _0x4fafd0;},'getAlignmentAsPoint':function(_0x5a6673,_0x5e9e74){var _0x31917b=0x0,_0x366db9=0x0;_0x5a6673==mxConstants['ALIGN_CENTER']?_0x31917b=-0.5:_0x5a6673==mxConstants[_0x1cd3('0x2a6f')]&&(_0x31917b=-0x1);_0x5e9e74==mxConstants['ALIGN_MIDDLE']?_0x366db9=-0.5:_0x5e9e74==mxConstants[_0x1cd3('0x2a70')]&&(_0x366db9=-0x1);return new mxPoint(_0x31917b,_0x366db9);},'getSizeForString':function(_0x35d043,_0x25be5a,_0x1363ec){_0x25be5a=null!=_0x25be5a?_0x25be5a:mxConstants['DEFAULT_FONTSIZE'];_0x1363ec=null!=_0x1363ec?_0x1363ec:mxConstants[_0x1cd3('0x2a71')];var _0x59ea83=document[_0x1cd3('0x3aa')](_0x1cd3('0x2a72'));_0x59ea83['style']['fontFamily']=_0x1363ec;_0x59ea83[_0x1cd3('0x440')][_0x1cd3('0x8d6')]=Math[_0x1cd3('0x18ba')](_0x25be5a)+'px';_0x59ea83[_0x1cd3('0x440')][_0x1cd3('0x2a73')]=Math['round'](_0x25be5a*mxConstants[_0x1cd3('0x2a74')])+'px';_0x59ea83[_0x1cd3('0x440')][_0x1cd3('0x679')]=_0x1cd3('0x532');_0x59ea83[_0x1cd3('0x440')]['whiteSpace']='nowrap';_0x59ea83[_0x1cd3('0x440')][_0x1cd3('0x29c7')]=_0x1cd3('0x533');_0x59ea83[_0x1cd3('0x440')]['display']=mxClient[_0x1cd3('0x2a75')]?_0x1cd3('0x6ad'):'inline-block';_0x59ea83[_0x1cd3('0x440')][_0x1cd3('0x2a76')]='1';_0x59ea83[_0x1cd3('0x2a15')]=_0x35d043;document['body'][_0x1cd3('0xd4e')](_0x59ea83);_0x35d043=new mxRectangle(0x0,0x0,_0x59ea83[_0x1cd3('0x2a1f')],_0x59ea83[_0x1cd3('0x535')]);document['body']['removeChild'](_0x59ea83);return _0x35d043;},'getViewXml':function(_0x8587bb,_0x247077,_0x44bc13,_0x52cd06,_0x3d933d){_0x52cd06=null!=_0x52cd06?_0x52cd06:0x0;_0x3d933d=null!=_0x3d933d?_0x3d933d:0x0;_0x247077=null!=_0x247077?_0x247077:0x1;null==_0x44bc13&&(_0x44bc13=[_0x8587bb[_0x1cd3('0x2a77')]()[_0x1cd3('0x2a78')]()]);var _0xf99954=_0x8587bb[_0x1cd3('0x29de')](),_0x50a0d4=null,_0x5e1501=_0xf99954[_0x1cd3('0x2a79')]();_0xf99954[_0x1cd3('0x2a7a')](!0x1);var _0xf8c45b=_0xf99954[_0x1cd3('0x2a7b')],_0x27af41=_0xf99954['overlayPane'];_0x8587bb['dialect']==mxConstants[_0x1cd3('0x2a7c')]?(_0xf99954[_0x1cd3('0x2a7b')]=document['createElementNS'](mxConstants[_0x1cd3('0x2a7d')],'g'),_0xf99954[_0x1cd3('0x2a7e')][_0x1cd3('0xd4e')](_0xf99954[_0x1cd3('0x2a7b')]),_0xf99954['overlayPane']=document[_0x1cd3('0x2a7f')](mxConstants[_0x1cd3('0x2a7d')],'g')):(_0xf99954[_0x1cd3('0x2a7b')]=_0xf99954[_0x1cd3('0x2a7b')][_0x1cd3('0x2a80')](!0x1),_0xf99954[_0x1cd3('0x2a7e')][_0x1cd3('0xd4e')](_0xf99954[_0x1cd3('0x2a7b')]),_0xf99954['overlayPane']=_0xf99954[_0x1cd3('0x2a81')][_0x1cd3('0x2a80')](!0x1));_0xf99954[_0x1cd3('0x2a7e')][_0x1cd3('0xd4e')](_0xf99954['overlayPane']);var _0x19ab78=_0xf99954['getTranslate']();_0xf99954['translate']=new mxPoint(_0x52cd06,_0x3d933d);_0x247077=new mxTemporaryCellStates(_0x8587bb['getView'](),_0x247077,_0x44bc13);try{_0x50a0d4=new mxCodec()[_0x1cd3('0x2a82')](_0x8587bb[_0x1cd3('0x29de')]());}finally{_0x247077['destroy'](),_0xf99954['translate']=_0x19ab78,_0xf99954[_0x1cd3('0x2a7e')][_0x1cd3('0x1817')](_0xf99954[_0x1cd3('0x2a7b')]),_0xf99954[_0x1cd3('0x2a7e')][_0x1cd3('0x1817')](_0xf99954[_0x1cd3('0x2a81')]),_0xf99954[_0x1cd3('0x2a7b')]=_0xf8c45b,_0xf99954['overlayPane']=_0x27af41,_0xf99954[_0x1cd3('0x2a7a')](_0x5e1501);}return _0x50a0d4;},'getScaleForPageCount':function(_0x2b2183,_0x31a8b9,_0x330e1c,_0x310745){if(0x1>_0x2b2183)return 0x1;_0x330e1c=null!=_0x330e1c?_0x330e1c:mxConstants[_0x1cd3('0x2a83')];_0x310745=null!=_0x310745?_0x310745:0x0;var _0x46b71a=_0x330e1c[_0x1cd3('0x4d7')]-0x2*_0x310745;_0x330e1c=_0x330e1c[_0x1cd3('0x4e4')]-0x2*_0x310745;_0x310745=_0x31a8b9[_0x1cd3('0x2a84')]()['clone']();_0x31a8b9=_0x31a8b9[_0x1cd3('0x29de')]()[_0x1cd3('0x2a85')]();_0x310745[_0x1cd3('0x4d7')]/=_0x31a8b9;_0x310745[_0x1cd3('0x4e4')]/=_0x31a8b9;_0x31a8b9=_0x310745[_0x1cd3('0x4d7')];_0x330e1c=_0x31a8b9/_0x310745['height']/(_0x46b71a/_0x330e1c);_0x310745=Math['sqrt'](_0x2b2183);var _0x59c1de=Math[_0x1cd3('0x2a4f')](_0x330e1c);_0x330e1c=_0x310745*_0x59c1de;_0x310745/=_0x59c1de;if(0x1>_0x330e1c&&_0x310745>_0x2b2183){var _0x16f93e=_0x310745/_0x2b2183;_0x310745=_0x2b2183;_0x330e1c/=_0x16f93e;}0x1>_0x310745&&_0x330e1c>_0x2b2183&&(_0x16f93e=_0x330e1c/_0x2b2183,_0x330e1c=_0x2b2183,_0x310745/=_0x16f93e);_0x16f93e=Math[_0x1cd3('0x2928')](_0x330e1c)*Math[_0x1cd3('0x2928')](_0x310745);for(_0x59c1de=0x0;_0x16f93e>_0x2b2183;){var _0x16f93e=Math[_0x1cd3('0x6b1')](_0x330e1c)/_0x330e1c,_0x5b9a8b=Math[_0x1cd3('0x6b1')](_0x310745)/_0x310745;0x1==_0x16f93e&&(_0x16f93e=Math[_0x1cd3('0x6b1')](_0x330e1c-0x1)/_0x330e1c);0x1==_0x5b9a8b&&(_0x5b9a8b=Math[_0x1cd3('0x6b1')](_0x310745-0x1)/_0x310745);_0x16f93e=_0x16f93e>_0x5b9a8b?_0x16f93e:_0x5b9a8b;_0x330e1c*=_0x16f93e;_0x310745*=_0x16f93e;_0x16f93e=Math[_0x1cd3('0x2928')](_0x330e1c)*Math[_0x1cd3('0x2928')](_0x310745);_0x59c1de++;if(0xa<_0x59c1de)break;}return 0.99999*(_0x46b71a*_0x330e1c/_0x31a8b9);},'show':function(_0x1c467b,_0xea87be,_0x598571,_0x192515){_0x598571=null!=_0x598571?_0x598571:0x0;_0x192515=null!=_0x192515?_0x192515:0x0;null==_0xea87be?_0xea87be=window[_0x1cd3('0xee4')]()['document']:_0xea87be[_0x1cd3('0xee4')]();var _0x32c0a1=_0x1c467b['getGraphBounds']();_0x598571=-_0x32c0a1['x']+_0x598571;_0x192515=-_0x32c0a1['y']+_0x192515;if(mxClient[_0x1cd3('0x298a')]){for(var _0x32c0a1=_0x1cd3('0x2a86'),_0x4684cf=document['getElementsByTagName'](_0x1cd3('0x2a87')),_0x5b1446=0x0;_0x5b1446<_0x4684cf[_0x1cd3('0x7a')];_0x5b1446++)_0x32c0a1+=_0x4684cf[_0x5b1446][_0x1cd3('0x2a18')];_0x32c0a1+=_0x1cd3('0x2a88');for(_0x5b1446=0x0;_0x5b1446<document[_0x1cd3('0x2a89')][_0x1cd3('0x7a')];_0x5b1446++)try{_0x32c0a1+=document['styleSheets'](_0x5b1446)[_0x1cd3('0x2998')];}catch(_0x57045e){}_0x32c0a1+=_0x1cd3('0x2a8a');_0x32c0a1+='<body>';_0x32c0a1+=_0x1c467b[_0x1cd3('0x4ce')][_0x1cd3('0x2a15')];_0x32c0a1+=_0x1cd3('0x2a8b');_0x32c0a1+=_0x1cd3('0x2a8c');_0xea87be['writeln'](_0x32c0a1);_0xea87be['close']();_0x1c467b=_0xea87be[_0x1cd3('0x380')][_0x1cd3('0x297f')]('DIV')[0x0];null!=_0x1c467b&&(_0x1c467b[_0x1cd3('0x440')][_0x1cd3('0x679')]='absolute',_0x1c467b['style'][_0x1cd3('0x762')]=_0x598571+'px',_0x1c467b['style'][_0x1cd3('0x712')]=_0x192515+'px');}else{_0xea87be[_0x1cd3('0x29bf')](_0x1cd3('0x2a8d'));_0xea87be['writeln'](_0x1cd3('0x3f5'));_0x4684cf=document[_0x1cd3('0x297f')](_0x1cd3('0x2a87'));for(_0x5b1446=0x0;_0x5b1446<_0x4684cf[_0x1cd3('0x7a')];_0x5b1446++)_0xea87be[_0x1cd3('0x29bf')](mxUtils['getOuterHtml'](_0x4684cf[_0x5b1446]));_0x4684cf=document[_0x1cd3('0x297f')](_0x1cd3('0x297b'));for(_0x5b1446=0x0;_0x5b1446<_0x4684cf[_0x1cd3('0x7a')];_0x5b1446++)_0xea87be[_0x1cd3('0x29bf')](mxUtils['getOuterHtml'](_0x4684cf[_0x5b1446]));_0x4684cf=document[_0x1cd3('0x297f')]('style');for(_0x5b1446=0x0;_0x5b1446<_0x4684cf['length'];_0x5b1446++)_0xea87be[_0x1cd3('0x29bf')](mxUtils[_0x1cd3('0x2a8e')](_0x4684cf[_0x5b1446]));_0xea87be[_0x1cd3('0x29bf')](_0x1cd3('0x2a8f'));_0xea87be['writeln'](_0x1cd3('0x2a90'));_0xea87be['close']();null==_0xea87be[_0x1cd3('0x380')]&&_0xea87be[_0x1cd3('0x2a20')][_0x1cd3('0xd4e')](_0xea87be[_0x1cd3('0x3aa')](_0x1cd3('0x380')));_0xea87be['body'][_0x1cd3('0x440')][_0x1cd3('0x29f1')]=_0x1cd3('0x534');for(_0x1c467b=_0x1c467b['container'][_0x1cd3('0x29f5')];null!=_0x1c467b;)_0x5b1446=_0x1c467b['cloneNode'](!0x0),_0xea87be[_0x1cd3('0x380')][_0x1cd3('0xd4e')](_0x5b1446),_0x1c467b=_0x1c467b['nextSibling'];_0x1c467b=_0xea87be['getElementsByTagName']('g')[0x0];null!=_0x1c467b&&(_0x1c467b[_0x1cd3('0x481')](_0x1cd3('0x2a91'),'translate('+_0x598571+','+_0x192515+')'),_0x598571=_0x1c467b[_0x1cd3('0x2a92')],_0x598571[_0x1cd3('0x481')](_0x1cd3('0x4d7'),_0x32c0a1[_0x1cd3('0x4d7')]+Math[_0x1cd3('0x13d1')](_0x32c0a1['x'],0x0)+0x3),_0x598571[_0x1cd3('0x481')](_0x1cd3('0x4e4'),_0x32c0a1[_0x1cd3('0x4e4')]+Math['max'](_0x32c0a1['y'],0x0)+0x3));}mxUtils['removeCursors'](_0xea87be[_0x1cd3('0x380')]);return _0xea87be;},'printScreen':function(_0x2b8847){var _0x2191ed=window[_0x1cd3('0xee4')]();mxUtils[_0x1cd3('0x37e')](_0x2b8847,_0x2191ed[_0x1cd3('0x924')]);_0x2b8847=function(){_0x2191ed['focus']();_0x2191ed[_0x1cd3('0x2a93')]();_0x2191ed[_0x1cd3('0x3cf')]();};mxClient[_0x1cd3('0x2986')]?_0x2191ed['setTimeout'](_0x2b8847,0x1f4):_0x2b8847();},'popup':function(_0x12b77a,_0x466567){if(_0x466567){var _0x94b840=document[_0x1cd3('0x3aa')]('div');_0x94b840[_0x1cd3('0x440')]['overflow']=_0x1cd3('0x772');_0x94b840[_0x1cd3('0x440')]['width']='636px';_0x94b840['style']['height']=_0x1cd3('0x2a94');var _0x41bd1a=document[_0x1cd3('0x3aa')](_0x1cd3('0x2a95'));_0x41bd1a['innerHTML']=mxUtils[_0x1cd3('0x2a09')](_0x12b77a,!0x1)[_0x1cd3('0x3f1')](/\n/g,_0x1cd3('0x2a96'))[_0x1cd3('0x3f1')](/ /g,_0x1cd3('0x2a97'));_0x94b840[_0x1cd3('0xd4e')](_0x41bd1a);_0x94b840=new mxWindow(_0x1cd3('0x2a98'),_0x94b840,document[_0x1cd3('0x380')][_0x1cd3('0x29b5')]/0x2-0x140,(document[_0x1cd3('0x380')]['clientHeight']||document[_0x1cd3('0x2a20')][_0x1cd3('0x29b4')])/0x2-0xf0,0x280,0x1e0,!0x1,!0x0);_0x94b840[_0x1cd3('0x29b7')](!0x0);_0x94b840[_0x1cd3('0x29c1')](!0x0);}else mxClient[_0x1cd3('0x29a5')]?(_0x94b840=window[_0x1cd3('0xee4')](),_0x94b840['document'][_0x1cd3('0x29bf')](_0x1cd3('0x2a99')+mxUtils[_0x1cd3('0x2a09')](_0x12b77a)+_0x1cd3('0x2a9a')),_0x94b840[_0x1cd3('0x924')][_0x1cd3('0x3cf')]()):(_0x94b840=window[_0x1cd3('0xee4')](),_0x41bd1a=_0x94b840[_0x1cd3('0x924')]['createElement'](_0x1cd3('0x2a95')),_0x41bd1a[_0x1cd3('0x2a15')]=mxUtils[_0x1cd3('0x2a09')](_0x12b77a,!0x1)[_0x1cd3('0x3f1')](/\n/g,_0x1cd3('0x2a96'))[_0x1cd3('0x3f1')](/ /g,_0x1cd3('0x2a97')),_0x94b840['document'][_0x1cd3('0x380')][_0x1cd3('0xd4e')](_0x41bd1a));},'alert':function(_0x5d4326){alert(_0x5d4326);},'prompt':function(_0x2a4994,_0x1cdcbe){return prompt(_0x2a4994,_0x1cdcbe);},'confirm':function(_0x1b092e){return confirm(_0x1b092e);},'error':function(_0x2ac742,_0x58f4e1,_0x3f4210,_0x4ae260){var _0x24beaa=document[_0x1cd3('0x3aa')](_0x1cd3('0x2a72'));_0x24beaa['style'][_0x1cd3('0x2a9b')]=_0x1cd3('0x2a9c');var _0x22e87f=document[_0x1cd3('0x3aa')](_0x1cd3('0x774'));_0x22e87f[_0x1cd3('0x481')](_0x1cd3('0x487'),_0x4ae260||mxUtils[_0x1cd3('0x2a9d')]);_0x22e87f[_0x1cd3('0x481')]('valign','bottom');_0x22e87f[_0x1cd3('0x440')][_0x1cd3('0x29a3')]=_0x1cd3('0x2a9e');_0x24beaa[_0x1cd3('0xd4e')](_0x22e87f);_0x24beaa[_0x1cd3('0xd4e')](document[_0x1cd3('0x2a19')]('\u00a0'));_0x24beaa[_0x1cd3('0xd4e')](document[_0x1cd3('0x2a19')]('\u00a0'));_0x24beaa['appendChild'](document[_0x1cd3('0x2a19')]('\u00a0'));mxUtils[_0x1cd3('0x28be')](_0x24beaa,_0x2ac742);_0x2ac742=document[_0x1cd3('0x380')]['clientWidth'];_0x4ae260=document[_0x1cd3('0x380')][_0x1cd3('0x29b4')]||document[_0x1cd3('0x2a20')][_0x1cd3('0x29b4')];var _0x59e6d2=new mxWindow(mxResources[_0x1cd3('0x361')](mxUtils[_0x1cd3('0x2a9f')])||mxUtils[_0x1cd3('0x2a9f')],_0x24beaa,(_0x2ac742-_0x58f4e1)/0x2,_0x4ae260/0x4,_0x58f4e1,null,!0x1,!0x0);_0x3f4210&&(mxUtils['br'](_0x24beaa),_0x58f4e1=document[_0x1cd3('0x3aa')]('p'),_0x3f4210=document[_0x1cd3('0x3aa')]('button'),mxClient[_0x1cd3('0x298a')]?_0x3f4210['style'][_0x1cd3('0x2998')]=_0x1cd3('0x2aa0'):_0x3f4210['setAttribute'](_0x1cd3('0x440'),'float:right'),mxEvent[_0x1cd3('0x29ba')](_0x3f4210,_0x1cd3('0x52d'),function(_0x5e30f1){_0x59e6d2['destroy']();}),mxUtils[_0x1cd3('0x28be')](_0x3f4210,mxResources['get'](mxUtils[_0x1cd3('0x2aa1')])||mxUtils[_0x1cd3('0x2aa1')]),_0x58f4e1[_0x1cd3('0xd4e')](_0x3f4210),_0x24beaa[_0x1cd3('0xd4e')](_0x58f4e1),mxUtils['br'](_0x24beaa),_0x59e6d2[_0x1cd3('0x29b7')](!0x0));_0x59e6d2['setVisible'](!0x0);return _0x59e6d2;},'makeDraggable':function(_0xe9364a,_0x4f90fe,_0x59a770,_0x65616d,_0x3d37df,_0x3e87fd,_0x408cad,_0x35ed5d,_0x523be3,_0x25e93b){_0xe9364a=new mxDragSource(_0xe9364a,_0x59a770);_0xe9364a['dragOffset']=new mxPoint(null!=_0x3d37df?_0x3d37df:0x0,null!=_0x3e87fd?_0x3e87fd:mxConstants[_0x1cd3('0x2aa2')]);_0xe9364a[_0x1cd3('0x2aa3')]=_0x408cad;_0xe9364a[_0x1cd3('0x2aa4')](!0x1);null!=_0x523be3&&(_0xe9364a[_0x1cd3('0x2aa5')]=_0x523be3);null!=_0x25e93b&&(_0xe9364a[_0x1cd3('0x2aa6')]=_0x25e93b);_0xe9364a['getGraphForEvent']=function(_0x16fda0){return _0x1cd3('0x77c')==typeof _0x4f90fe?_0x4f90fe(_0x16fda0):_0x4f90fe;};null!=_0x65616d&&(_0xe9364a['createDragElement']=function(){return _0x65616d['cloneNode'](!0x0);},_0x35ed5d&&(_0xe9364a[_0x1cd3('0x2aa7')]=function(_0x55bbce){var _0x4f90fe=_0x65616d['cloneNode'](!0x0),_0x59a770=parseInt(_0x4f90fe[_0x1cd3('0x440')]['width']),_0x3d37df=parseInt(_0x4f90fe[_0x1cd3('0x440')][_0x1cd3('0x4e4')]);_0x4f90fe[_0x1cd3('0x440')][_0x1cd3('0x4d7')]=Math['round'](_0x59a770*_0x55bbce[_0x1cd3('0x1665')][_0x1cd3('0x29df')])+'px';_0x4f90fe['style']['height']=Math[_0x1cd3('0x18ba')](_0x3d37df*_0x55bbce[_0x1cd3('0x1665')][_0x1cd3('0x29df')])+'px';return _0x4f90fe;}));return _0xe9364a;}},mxConstants={'DEFAULT_HOTSPOT':0.3,'MIN_HOTSPOT_SIZE':0x8,'MAX_HOTSPOT_SIZE':0x0,'RENDERING_HINT_EXACT':_0x1cd3('0x2aa8'),'RENDERING_HINT_FASTER':_0x1cd3('0x2aa9'),'RENDERING_HINT_FASTEST':_0x1cd3('0x2aaa'),'DIALECT_SVG':_0x1cd3('0x2aab'),'DIALECT_VML':'vml','DIALECT_MIXEDHTML':_0x1cd3('0x2aac'),'DIALECT_PREFERHTML':_0x1cd3('0x2aad'),'DIALECT_STRICTHTML':_0x1cd3('0x2aae'),'NS_SVG':_0x1cd3('0x2aaf'),'NS_XHTML':'http://www.w3.org/1999/xhtml','NS_XLINK':_0x1cd3('0x2ab0'),'SHADOWCOLOR':_0x1cd3('0x2ab1'),'SHADOW_OFFSET_X':0x2,'SHADOW_OFFSET_Y':0x3,'SHADOW_OPACITY':0x1,'NODETYPE_ELEMENT':0x1,'NODETYPE_ATTRIBUTE':0x2,'NODETYPE_TEXT':0x3,'NODETYPE_CDATA':0x4,'NODETYPE_ENTITY_REFERENCE':0x5,'NODETYPE_ENTITY':0x6,'NODETYPE_PROCESSING_INSTRUCTION':0x7,'NODETYPE_COMMENT':0x8,'NODETYPE_DOCUMENT':0x9,'NODETYPE_DOCUMENTTYPE':0xa,'NODETYPE_DOCUMENT_FRAGMENT':0xb,'NODETYPE_NOTATION':0xc,'TOOLTIP_VERTICAL_OFFSET':0x10,'DEFAULT_VALID_COLOR':_0x1cd3('0x2ab2'),'DEFAULT_INVALID_COLOR':_0x1cd3('0x2ab3'),'HIGHLIGHT_STROKEWIDTH':0x3,'CURSOR_MOVABLE_VERTEX':_0x1cd3('0x2ab4'),'CURSOR_MOVABLE_EDGE':_0x1cd3('0x2ab4'),'CURSOR_LABEL_HANDLE':'default','CURSOR_BEND_HANDLE':'pointer','CURSOR_CONNECT':_0x1cd3('0x2ab5'),'HIGHLIGHT_COLOR':_0x1cd3('0x2ab2'),'CONNECT_TARGET_COLOR':_0x1cd3('0x2ab6'),'INVALID_CONNECT_TARGET_COLOR':_0x1cd3('0x2ab3'),'DROP_TARGET_COLOR':_0x1cd3('0x2ab6'),'VALID_COLOR':_0x1cd3('0x2ab2'),'INVALID_COLOR':_0x1cd3('0x2ab3'),'EDGE_SELECTION_COLOR':_0x1cd3('0x2ab2'),'VERTEX_SELECTION_COLOR':_0x1cd3('0x2ab2'),'VERTEX_SELECTION_STROKEWIDTH':0x1,'EDGE_SELECTION_STROKEWIDTH':0x1,'VERTEX_SELECTION_DASHED':!0x0,'EDGE_SELECTION_DASHED':!0x0,'GUIDE_COLOR':_0x1cd3('0x2ab3'),'GUIDE_STROKEWIDTH':0x1,'OUTLINE_COLOR':_0x1cd3('0x2ab7'),'OUTLINE_STROKEWIDTH':mxClient[_0x1cd3('0x298a')]?0x2:0x3,'HANDLE_SIZE':0x7,'LABEL_HANDLE_SIZE':0x4,'HANDLE_FILLCOLOR':'#00FF00','HANDLE_STROKECOLOR':_0x1cd3('0x2ab8'),'LABEL_HANDLE_FILLCOLOR':_0x1cd3('0x2ab9'),'CONNECT_HANDLE_FILLCOLOR':_0x1cd3('0x2ab6'),'LOCKED_HANDLE_FILLCOLOR':'#FF0000','OUTLINE_HANDLE_FILLCOLOR':'#00FFFF','OUTLINE_HANDLE_STROKECOLOR':_0x1cd3('0x2aba'),'DEFAULT_FONTFAMILY':_0x1cd3('0x2abb'),'DEFAULT_FONTSIZE':0xb,'LINE_HEIGHT':1.2,'DEFAULT_FONTSTYLE':0x0,'DEFAULT_STARTSIZE':0x28,'DEFAULT_MARKERSIZE':0x6,'DEFAULT_IMAGESIZE':0x18,'ENTITY_SEGMENT':0x1e,'RECTANGLE_ROUNDING_FACTOR':0.15,'LINE_ARCSIZE':0x14,'ARROW_SPACING':0xa,'ARROW_WIDTH':0x1e,'ARROW_SIZE':0x1e,'PAGE_FORMAT_A4_PORTRAIT':new mxRectangle(0x0,0x0,0x33a,0x491),'PAGE_FORMAT_A4_LANDSCAPE':new mxRectangle(0x0,0x0,0x491,0x33a),'PAGE_FORMAT_LETTER_PORTRAIT':new mxRectangle(0x0,0x0,0x352,0x44c),'PAGE_FORMAT_LETTER_LANDSCAPE':new mxRectangle(0x0,0x0,0x44c,0x352),'NONE':_0x1cd3('0x6ae'),'STYLE_PERIMETER':_0x1cd3('0x2abc'),'STYLE_SOURCE_PORT':_0x1cd3('0x2abd'),'STYLE_TARGET_PORT':_0x1cd3('0x2abe'),'STYLE_PORT_CONSTRAINT':_0x1cd3('0x2abf'),'STYLE_OPACITY':'opacity','STYLE_TEXT_OPACITY':_0x1cd3('0x2ac0'),'STYLE_OVERFLOW':'overflow','STYLE_ORTHOGONAL':'orthogonal','STYLE_EXIT_X':_0x1cd3('0x2ac1'),'STYLE_EXIT_Y':_0x1cd3('0x2ac2'),'STYLE_EXIT_PERIMETER':_0x1cd3('0x2ac3'),'STYLE_ENTRY_X':_0x1cd3('0x2ac4'),'STYLE_ENTRY_Y':_0x1cd3('0x2ac5'),'STYLE_ENTRY_PERIMETER':_0x1cd3('0x2ac6'),'STYLE_WHITE_SPACE':_0x1cd3('0x2ac7'),'STYLE_ROTATION':_0x1cd3('0x2ac8'),'STYLE_FILLCOLOR':_0x1cd3('0x2ac9'),'STYLE_SWIMLANE_FILLCOLOR':_0x1cd3('0x2aca'),'STYLE_GRADIENTCOLOR':'gradientColor','STYLE_GRADIENT_DIRECTION':_0x1cd3('0x2acb'),'STYLE_STROKECOLOR':_0x1cd3('0x2acc'),'STYLE_SEPARATORCOLOR':_0x1cd3('0x2acd'),'STYLE_STROKEWIDTH':_0x1cd3('0x2ace'),'STYLE_ALIGN':_0x1cd3('0x183e'),'STYLE_VERTICAL_ALIGN':_0x1cd3('0x29a3'),'STYLE_LABEL_POSITION':_0x1cd3('0x2acf'),'STYLE_VERTICAL_LABEL_POSITION':_0x1cd3('0x2ad0'),'STYLE_IMAGE_ASPECT':_0x1cd3('0x2ad1'),'STYLE_IMAGE_ALIGN':_0x1cd3('0x2ad2'),'STYLE_IMAGE_VERTICAL_ALIGN':_0x1cd3('0x2ad3'),'STYLE_GLASS':_0x1cd3('0x2ad4'),'STYLE_IMAGE':'image','STYLE_IMAGE_WIDTH':_0x1cd3('0x2ad5'),'STYLE_IMAGE_HEIGHT':_0x1cd3('0x2ad6'),'STYLE_IMAGE_BACKGROUND':'imageBackground','STYLE_IMAGE_BORDER':'imageBorder','STYLE_FLIPH':'flipH','STYLE_FLIPV':_0x1cd3('0x2ad7'),'STYLE_NOLABEL':_0x1cd3('0x2ad8'),'STYLE_NOEDGESTYLE':_0x1cd3('0x2ad9'),'STYLE_LABEL_BACKGROUNDCOLOR':'labelBackgroundColor','STYLE_LABEL_BORDERCOLOR':_0x1cd3('0x2ada'),'STYLE_LABEL_PADDING':_0x1cd3('0x2adb'),'STYLE_INDICATOR_SHAPE':_0x1cd3('0x2adc'),'STYLE_INDICATOR_IMAGE':'indicatorImage','STYLE_INDICATOR_COLOR':'indicatorColor','STYLE_INDICATOR_STROKECOLOR':'indicatorStrokeColor','STYLE_INDICATOR_GRADIENTCOLOR':_0x1cd3('0x2add'),'STYLE_INDICATOR_SPACING':'indicatorSpacing','STYLE_INDICATOR_WIDTH':'indicatorWidth','STYLE_INDICATOR_HEIGHT':_0x1cd3('0x2ade'),'STYLE_INDICATOR_DIRECTION':_0x1cd3('0x2adf'),'STYLE_SHADOW':_0x1cd3('0x2ae0'),'STYLE_SEGMENT':'segment','STYLE_ENDARROW':_0x1cd3('0x2ae1'),'STYLE_STARTARROW':_0x1cd3('0x2ae2'),'STYLE_ENDSIZE':_0x1cd3('0x2ae3'),'STYLE_STARTSIZE':_0x1cd3('0x2ae4'),'STYLE_SWIMLANE_LINE':'swimlaneLine','STYLE_ENDFILL':_0x1cd3('0x2ae5'),'STYLE_STARTFILL':_0x1cd3('0x2ae6'),'STYLE_DASHED':_0x1cd3('0x2ae7'),'STYLE_DASH_PATTERN':'dashPattern','STYLE_ROUNDED':_0x1cd3('0x1201'),'STYLE_CURVED':_0x1cd3('0x2ae8'),'STYLE_ARCSIZE':_0x1cd3('0x2ae9'),'STYLE_SMOOTH':_0x1cd3('0x2aea'),'STYLE_SOURCE_PERIMETER_SPACING':_0x1cd3('0x2aeb'),'STYLE_TARGET_PERIMETER_SPACING':_0x1cd3('0x2aec'),'STYLE_PERIMETER_SPACING':'perimeterSpacing','STYLE_SPACING':_0x1cd3('0x2aed'),'STYLE_SPACING_TOP':_0x1cd3('0x2aee'),'STYLE_SPACING_LEFT':_0x1cd3('0x2aef'),'STYLE_SPACING_BOTTOM':'spacingBottom','STYLE_SPACING_RIGHT':'spacingRight','STYLE_HORIZONTAL':_0x1cd3('0x749'),'STYLE_DIRECTION':'direction','STYLE_ELBOW':'elbow','STYLE_FONTCOLOR':_0x1cd3('0x8e5'),'STYLE_FONTFAMILY':'fontFamily','STYLE_FONTSIZE':'fontSize','STYLE_FONTSTYLE':_0x1cd3('0x2af0'),'STYLE_AUTOSIZE':'autosize','STYLE_FOLDABLE':_0x1cd3('0x2af1'),'STYLE_EDITABLE':'editable','STYLE_BENDABLE':_0x1cd3('0x2af2'),'STYLE_MOVABLE':_0x1cd3('0x2af3'),'STYLE_RESIZABLE':_0x1cd3('0x1557'),'STYLE_CLONEABLE':_0x1cd3('0x2af4'),'STYLE_DELETABLE':_0x1cd3('0x2af5'),'STYLE_SHAPE':_0x1cd3('0x29dd'),'STYLE_EDGE':_0x1cd3('0x2af6'),'STYLE_LOOP':_0x1cd3('0x2af7'),'STYLE_ROUTING_CENTER_X':'routingCenterX','STYLE_ROUTING_CENTER_Y':_0x1cd3('0x2af8'),'FONT_BOLD':0x1,'FONT_ITALIC':0x2,'FONT_UNDERLINE':0x4,'FONT_SHADOW':0x8,'SHAPE_RECTANGLE':'rectangle','SHAPE_ELLIPSE':_0x1cd3('0x2af9'),'SHAPE_DOUBLE_ELLIPSE':_0x1cd3('0x2afa'),'SHAPE_RHOMBUS':_0x1cd3('0x2afb'),'SHAPE_LINE':_0x1cd3('0x28e8'),'SHAPE_IMAGE':_0x1cd3('0x127a'),'SHAPE_ARROW':'arrow','SHAPE_LABEL':_0x1cd3('0x91b'),'SHAPE_CYLINDER':_0x1cd3('0x2afc'),'SHAPE_SWIMLANE':_0x1cd3('0x2afd'),'SHAPE_CONNECTOR':'connector','SHAPE_ACTOR':_0x1cd3('0x2afe'),'SHAPE_CLOUD':'cloud','SHAPE_TRIANGLE':_0x1cd3('0x2aff'),'SHAPE_HEXAGON':_0x1cd3('0x2b00'),'ARROW_CLASSIC':'classic','ARROW_BLOCK':_0x1cd3('0x574'),'ARROW_OPEN':_0x1cd3('0xee4'),'ARROW_OVAL':_0x1cd3('0x2b01'),'ARROW_DIAMOND':_0x1cd3('0x2b02'),'ARROW_DIAMOND_THIN':_0x1cd3('0x2b03'),'ALIGN_LEFT':_0x1cd3('0x762'),'ALIGN_CENTER':_0x1cd3('0x2b04'),'ALIGN_RIGHT':'right','ALIGN_TOP':'top','ALIGN_MIDDLE':_0x1cd3('0x2a9e'),'ALIGN_BOTTOM':'bottom','DIRECTION_NORTH':_0x1cd3('0x2b05'),'DIRECTION_SOUTH':_0x1cd3('0x2b06'),'DIRECTION_EAST':'east','DIRECTION_WEST':_0x1cd3('0x2b07'),'DIRECTION_MASK_NONE':0x0,'DIRECTION_MASK_WEST':0x1,'DIRECTION_MASK_NORTH':0x2,'DIRECTION_MASK_SOUTH':0x4,'DIRECTION_MASK_EAST':0x8,'DIRECTION_MASK_ALL':0xf,'ELBOW_VERTICAL':_0x1cd3('0x751'),'ELBOW_HORIZONTAL':_0x1cd3('0x749'),'EDGESTYLE_ELBOW':_0x1cd3('0x2b08'),'EDGESTYLE_ENTITY_RELATION':_0x1cd3('0x2b09'),'EDGESTYLE_LOOP':_0x1cd3('0x2b0a'),'EDGESTYLE_SIDETOSIDE':_0x1cd3('0x2b0b'),'EDGESTYLE_TOPTOBOTTOM':_0x1cd3('0x2b0c'),'EDGESTYLE_ORTHOGONAL':'orthogonalEdgeStyle','EDGESTYLE_SEGMENT':'segmentEdgeStyle','PERIMETER_ELLIPSE':'ellipsePerimeter','PERIMETER_RECTANGLE':_0x1cd3('0x2b0d'),'PERIMETER_RHOMBUS':_0x1cd3('0x2b0e'),'PERIMETER_TRIANGLE':_0x1cd3('0x2b0f')};function mxEventObject(_0x452c50){this[_0x1cd3('0x98')]=_0x452c50;this[_0x1cd3('0x8e2')]=[];for(var _0x15cf47=0x1;_0x15cf47<arguments[_0x1cd3('0x7a')];_0x15cf47+=0x2)null!=arguments[_0x15cf47+0x1]&&(this[_0x1cd3('0x8e2')][arguments[_0x15cf47]]=arguments[_0x15cf47+0x1]);}mxEventObject['prototype'][_0x1cd3('0x98')]=null;mxEventObject[_0x1cd3('0x77a')]['properties']=null;mxEventObject[_0x1cd3('0x77a')][_0x1cd3('0x2b10')]=!0x1;mxEventObject[_0x1cd3('0x77a')]['getName']=function(){return this[_0x1cd3('0x98')];};mxEventObject[_0x1cd3('0x77a')][_0x1cd3('0x2b11')]=function(){return this[_0x1cd3('0x8e2')];};mxEventObject['prototype'][_0x1cd3('0x2b12')]=function(_0x51c4c2){return this[_0x1cd3('0x8e2')][_0x51c4c2];};mxEventObject[_0x1cd3('0x77a')][_0x1cd3('0x2b13')]=function(){return this[_0x1cd3('0x2b10')];};mxEventObject[_0x1cd3('0x77a')][_0x1cd3('0x2b14')]=function(){this[_0x1cd3('0x2b10')]=!0x0;};function mxMouseEvent(_0x5ba79f,_0x486a5a){this[_0x1cd3('0x2b15')]=_0x5ba79f;this['state']=_0x486a5a;}mxMouseEvent[_0x1cd3('0x77a')][_0x1cd3('0x2b10')]=!0x1;mxMouseEvent['prototype'][_0x1cd3('0x2b15')]=null;mxMouseEvent[_0x1cd3('0x77a')][_0x1cd3('0x2b16')]=null;mxMouseEvent[_0x1cd3('0x77a')]['graphY']=null;mxMouseEvent[_0x1cd3('0x77a')]['state']=null;mxMouseEvent['prototype']['getEvent']=function(){return this['evt'];};mxMouseEvent[_0x1cd3('0x77a')][_0x1cd3('0x2b17')]=function(){return mxEvent['getSource'](this[_0x1cd3('0x2b15')]);};mxMouseEvent[_0x1cd3('0x77a')]['isSource']=function(_0x2fadbd){if(null!=_0x2fadbd)for(var _0x3afd51=this[_0x1cd3('0x2b17')]();null!=_0x3afd51;){if(_0x3afd51==_0x2fadbd['node'])return!0x0;_0x3afd51=_0x3afd51[_0x1cd3('0x29ea')];}return!0x1;};mxMouseEvent[_0x1cd3('0x77a')][_0x1cd3('0x2b18')]=function(){return mxEvent[_0x1cd3('0x2b19')](this[_0x1cd3('0x2b1a')]());};mxMouseEvent[_0x1cd3('0x77a')][_0x1cd3('0x2b1b')]=function(){return mxEvent[_0x1cd3('0x2b1c')](this[_0x1cd3('0x2b1a')]());};mxMouseEvent[_0x1cd3('0x77a')][_0x1cd3('0x2b1d')]=function(){return this[_0x1cd3('0x2b16')];};mxMouseEvent['prototype']['getGraphY']=function(){return this[_0x1cd3('0x2b1e')];};mxMouseEvent[_0x1cd3('0x77a')][_0x1cd3('0x29d9')]=function(){return this[_0x1cd3('0x19')];};mxMouseEvent[_0x1cd3('0x77a')][_0x1cd3('0x2b1f')]=function(){var _0x28e793=this[_0x1cd3('0x29d9')]();return null!=_0x28e793?_0x28e793[_0x1cd3('0xefb')]:null;};mxMouseEvent[_0x1cd3('0x77a')][_0x1cd3('0x2b20')]=function(){return mxEvent[_0x1cd3('0x2b20')](this['getEvent']());};mxMouseEvent[_0x1cd3('0x77a')][_0x1cd3('0x2b13')]=function(){return this[_0x1cd3('0x2b10')];};mxMouseEvent[_0x1cd3('0x77a')][_0x1cd3('0x2b14')]=function(_0x4e7afa){(null!=_0x4e7afa?_0x4e7afa:0x1)&&this[_0x1cd3('0x2b15')][_0x1cd3('0x517')]&&this[_0x1cd3('0x2b15')][_0x1cd3('0x517')]();this[_0x1cd3('0x2b15')][_0x1cd3('0x2b21')]=!0x1;this[_0x1cd3('0x2b10')]=!0x0;};function mxEventSource(_0x42d178){this[_0x1cd3('0x2b22')](_0x42d178);}mxEventSource['prototype'][_0x1cd3('0x2b23')]=null;mxEventSource['prototype'][_0x1cd3('0x2b24')]=!0x0;mxEventSource[_0x1cd3('0x77a')][_0x1cd3('0x2b25')]=null;mxEventSource[_0x1cd3('0x77a')][_0x1cd3('0x2a79')]=function(){return this['eventsEnabled'];};mxEventSource[_0x1cd3('0x77a')][_0x1cd3('0x2a7a')]=function(_0xb587d2){this['eventsEnabled']=_0xb587d2;};mxEventSource[_0x1cd3('0x77a')][_0x1cd3('0x2b26')]=function(){return this[_0x1cd3('0x2b25')];};mxEventSource[_0x1cd3('0x77a')]['setEventSource']=function(_0x106e72){this['eventSource']=_0x106e72;};mxEventSource[_0x1cd3('0x77a')][_0x1cd3('0x29ba')]=function(_0x5c8852,_0x4aa20f){null==this[_0x1cd3('0x2b23')]&&(this[_0x1cd3('0x2b23')]=[]);this[_0x1cd3('0x2b23')]['push'](_0x5c8852);this[_0x1cd3('0x2b23')][_0x1cd3('0x7b')](_0x4aa20f);};mxEventSource[_0x1cd3('0x77a')][_0x1cd3('0x2b27')]=function(_0x11a9d6){if(null!=this['eventListeners'])for(var _0x1e1483=0x0;_0x1e1483<this[_0x1cd3('0x2b23')][_0x1cd3('0x7a')];)this[_0x1cd3('0x2b23')][_0x1e1483+0x1]==_0x11a9d6?this['eventListeners']['splice'](_0x1e1483,0x2):_0x1e1483+=0x2;};mxEventSource[_0x1cd3('0x77a')][_0x1cd3('0x2b28')]=function(_0x246d31,_0x3d9776){if(null!=this[_0x1cd3('0x2b23')]&&this[_0x1cd3('0x2a79')]()){null==_0x246d31&&(_0x246d31=new mxEventObject());null==_0x3d9776&&(_0x3d9776=this[_0x1cd3('0x2b26')]());null==_0x3d9776&&(_0x3d9776=this);for(var _0x4a0848=[_0x3d9776,_0x246d31],_0x52dcc8=0x0;_0x52dcc8<this['eventListeners']['length'];_0x52dcc8+=0x2){var _0x5135c7=this[_0x1cd3('0x2b23')][_0x52dcc8];(null==_0x5135c7||_0x5135c7==_0x246d31['getName']())&&this['eventListeners'][_0x52dcc8+0x1][_0x1cd3('0x4df')](this,_0x4a0848);}}};var mxEvent={'objects':[],'addListener':function(){var _0x22f65b=function(_0x74a248,_0x5a7114,_0x9b2765){null==_0x74a248[_0x1cd3('0x2982')]&&(_0x74a248['mxListenerList']=[],mxEvent['objects']['push'](_0x74a248));_0x74a248[_0x1cd3('0x2982')][_0x1cd3('0x7b')]({'name':_0x5a7114,'f':_0x9b2765});};return window[_0x1cd3('0x5d4')]?function(_0x28baa8,_0x213803,_0x336773){_0x28baa8['addEventListener'](_0x213803,_0x336773,!0x1);_0x22f65b(_0x28baa8,_0x213803,_0x336773);}:function(_0x30275f,_0x338ef5,_0xd94a95){_0x30275f[_0x1cd3('0x299a')]('on'+_0x338ef5,_0xd94a95);_0x22f65b(_0x30275f,_0x338ef5,_0xd94a95);};}(),'removeListener':function(){var _0x4a2fa3=function(_0x5d1c48,_0x1dfab1,_0x14d36d){if(null!=_0x5d1c48[_0x1cd3('0x2982')]){_0x1dfab1=_0x5d1c48[_0x1cd3('0x2982')][_0x1cd3('0x7a')];for(var _0x43f086=0x0;_0x43f086<_0x1dfab1;_0x43f086++)if(_0x5d1c48[_0x1cd3('0x2982')][_0x43f086]['f']==_0x14d36d){_0x5d1c48['mxListenerList']['splice'](_0x43f086,0x1);break;}0x0==_0x5d1c48[_0x1cd3('0x2982')][_0x1cd3('0x7a')]&&(_0x5d1c48[_0x1cd3('0x2982')]=null);}};return window[_0x1cd3('0x2b29')]?function(_0x2a213f,_0xce6cfc,_0x1d0958){_0x2a213f[_0x1cd3('0x2b29')](_0xce6cfc,_0x1d0958,!0x1);_0x4a2fa3(_0x2a213f,_0xce6cfc,_0x1d0958);}:function(_0x291fd5,_0x296192,_0x535d29){_0x291fd5[_0x1cd3('0x2b2a')]('on'+_0x296192,_0x535d29);_0x4a2fa3(_0x291fd5,_0x296192,_0x535d29);};}(),'removeAllListeners':function(_0x53d5dc){var _0x13f311=_0x53d5dc[_0x1cd3('0x2982')];if(null!=_0x13f311)for(;0x0<_0x13f311['length'];){var _0x39341d=_0x13f311[0x0];mxEvent[_0x1cd3('0x2b27')](_0x53d5dc,_0x39341d['name'],_0x39341d['f']);}},'addGestureListeners':function(_0xf6384d,_0x27b5c0,_0x20b3f0,_0x1c1ec9){null!=_0x27b5c0&&mxEvent[_0x1cd3('0x29ba')](_0xf6384d,_0x1cd3('0x2b2b'),_0x27b5c0);null!=_0x20b3f0&&mxEvent[_0x1cd3('0x29ba')](_0xf6384d,_0x1cd3('0x2b2c'),_0x20b3f0);null!=_0x1c1ec9&&mxEvent['addListener'](_0xf6384d,_0x1cd3('0x2b2d'),_0x1c1ec9);mxClient[_0x1cd3('0x2b2e')]&&(null!=_0x27b5c0&&mxEvent[_0x1cd3('0x29ba')](_0xf6384d,_0x1cd3('0x2b2f'),_0x27b5c0),null!=_0x20b3f0&&mxEvent[_0x1cd3('0x29ba')](_0xf6384d,_0x1cd3('0x2b30'),_0x20b3f0),null!=_0x1c1ec9&&mxEvent[_0x1cd3('0x29ba')](_0xf6384d,_0x1cd3('0x2b31'),_0x1c1ec9));},'removeGestureListeners':function(_0x5c8f6b,_0x12ab30,_0x3f0c32,_0x588435){null!=_0x12ab30&&mxEvent[_0x1cd3('0x2b27')](_0x5c8f6b,_0x1cd3('0x2b2b'),_0x12ab30);null!=_0x3f0c32&&mxEvent[_0x1cd3('0x2b27')](_0x5c8f6b,_0x1cd3('0x2b2c'),_0x3f0c32);null!=_0x588435&&mxEvent[_0x1cd3('0x2b27')](_0x5c8f6b,_0x1cd3('0x2b2d'),_0x588435);mxClient[_0x1cd3('0x2b2e')]&&(null!=_0x12ab30&&mxEvent[_0x1cd3('0x2b27')](_0x5c8f6b,_0x1cd3('0x2b2f'),_0x12ab30),null!=_0x3f0c32&&mxEvent[_0x1cd3('0x2b27')](_0x5c8f6b,_0x1cd3('0x2b30'),_0x3f0c32),null!=_0x588435&&mxEvent[_0x1cd3('0x2b27')](_0x5c8f6b,_0x1cd3('0x2b31'),_0x588435));},'redirectMouseEvents':function(_0x42c438,_0x15d2c2,_0xaff92e,_0x3b0381,_0x2fb364,_0x490381,_0x3754dd){var _0x1770e7=function(_0xcf5d23){return _0x1cd3('0x77c')==typeof _0xaff92e?_0xaff92e(_0xcf5d23):_0xaff92e;};mxEvent[_0x1cd3('0x2b32')](_0x42c438,function(_0x5179cc){null!=_0x3b0381?_0x3b0381(_0x5179cc):mxEvent[_0x1cd3('0x2b13')](_0x5179cc)||_0x15d2c2[_0x1cd3('0x2b33')](mxEvent[_0x1cd3('0x2b34')],new mxMouseEvent(_0x5179cc,_0x1770e7(_0x5179cc)));},function(_0x121685){null!=_0x2fb364?_0x2fb364(_0x121685):mxEvent['isConsumed'](_0x121685)||_0x15d2c2[_0x1cd3('0x2b33')](mxEvent[_0x1cd3('0x2b35')],new mxMouseEvent(_0x121685,_0x1770e7(_0x121685)));},function(_0x1c076a){null!=_0x490381?_0x490381(_0x1c076a):mxEvent[_0x1cd3('0x2b13')](_0x1c076a)||_0x15d2c2[_0x1cd3('0x2b33')](mxEvent[_0x1cd3('0x2b36')],new mxMouseEvent(_0x1c076a,_0x1770e7(_0x1c076a)));});mxEvent[_0x1cd3('0x29ba')](_0x42c438,'dblclick',function(_0x4e41ac){if(null!=_0x3754dd)_0x3754dd(_0x4e41ac);else if(!mxEvent[_0x1cd3('0x2b13')](_0x4e41ac)){var _0xaff92e=_0x1770e7(_0x4e41ac);_0x15d2c2[_0x1cd3('0x2b37')](_0x4e41ac,null!=_0xaff92e?_0xaff92e['cell']:null);}});},'release':function(_0x4f1297){if(null!=_0x4f1297&&(mxEvent['removeAllListeners'](_0x4f1297),_0x4f1297=_0x4f1297['childNodes'],null!=_0x4f1297))for(var _0x385283=_0x4f1297['length'],_0x296355=0x0;_0x296355<_0x385283;_0x296355+=0x1)mxEvent['release'](_0x4f1297[_0x296355]);},'addMouseWheelListener':function(_0x3a5ff6){if(null!=_0x3a5ff6){var _0x37bd11=function(_0x3e127f){null==_0x3e127f&&(_0x3e127f=window[_0x1cd3('0x2b38')]);var _0x3666d8=0x0,_0x3666d8=mxClient[_0x1cd3('0x29a5')]&&!mxClient[_0x1cd3('0x29b8')]&&!mxClient[_0x1cd3('0x2986')]?-_0x3e127f[_0x1cd3('0x2b39')]/0x2:_0x3e127f[_0x1cd3('0x2b3a')]/0x78;0x0!=_0x3666d8&&_0x3a5ff6(_0x3e127f,0x0<_0x3666d8);};mxClient[_0x1cd3('0x29a5')]?mxEvent['addListener'](window,mxClient['IS_SF']||mxClient['IS_GC']?_0x1cd3('0x2b3b'):_0x1cd3('0x2b3c'),_0x37bd11):mxEvent['addListener'](document,_0x1cd3('0x2b3b'),_0x37bd11);}},'disableContextMenu':function(){return mxClient[_0x1cd3('0x298a')]&&(_0x1cd3('0x491')===typeof document['documentMode']||0x9>document[_0x1cd3('0x2959')])?function(_0x4f59d4){mxEvent[_0x1cd3('0x29ba')](_0x4f59d4,_0x1cd3('0x2b3d'),function(){return!0x1;});}:function(_0x4d2311){_0x4d2311['setAttribute'](_0x1cd3('0x2b3e'),_0x1cd3('0x2b3f'));};}(),'getSource':function(_0x5253ab){return null!=_0x5253ab[_0x1cd3('0x2b40')]?_0x5253ab[_0x1cd3('0x2b40')]:_0x5253ab['target'];},'isConsumed':function(_0x35216f){return null!=_0x35216f[_0x1cd3('0x2b13')]&&_0x35216f[_0x1cd3('0x2b13')];},'isLeftMouseButton':function(_0x3292c5){return _0x3292c5['button']==(mxClient[_0x1cd3('0x298a')]&&(_0x1cd3('0x491')===typeof document[_0x1cd3('0x2959')]||0x9>document['documentMode'])?0x1:0x0);},'isRightMouseButton':function(_0x27cd8c){return 0x2==_0x27cd8c[_0x1cd3('0x2a1a')];},'isPopupTrigger':function(_0x3072fc){return mxEvent[_0x1cd3('0x2b41')](_0x3072fc)||mxEvent[_0x1cd3('0x2b42')](_0x3072fc)&&!mxEvent['isControlDown'](_0x3072fc);},'isShiftDown':function(_0x2a87bb){return null!=_0x2a87bb?_0x2a87bb[_0x1cd3('0x1805')]:!0x1;},'isAltDown':function(_0x1633f2){return null!=_0x1633f2?_0x1633f2[_0x1cd3('0x2b43')]:!0x1;},'isControlDown':function(_0x368a80){return null!=_0x368a80?_0x368a80['ctrlKey']:!0x1;},'isMetaDown':function(_0x460286){return null!=_0x460286?_0x460286[_0x1cd3('0x2b44')]:!0x1;},'getMainEvent':function(_0xaebd84){(_0x1cd3('0x2b2f')==_0xaebd84[_0x1cd3('0x424')]||'touchmove'==_0xaebd84[_0x1cd3('0x424')])&&null!=_0xaebd84[_0x1cd3('0x2b45')]&&null!=_0xaebd84['touches'][0x0]?_0xaebd84=_0xaebd84[_0x1cd3('0x2b45')][0x0]:_0x1cd3('0x2b31')==_0xaebd84['type']&&(null!=_0xaebd84[_0x1cd3('0x2b46')]&&null!=_0xaebd84[_0x1cd3('0x2b46')][0x0])&&(_0xaebd84=_0xaebd84[_0x1cd3('0x2b46')][0x0]);return _0xaebd84;},'getClientX':function(_0x36348b){return mxEvent[_0x1cd3('0x2b47')](_0x36348b)[_0x1cd3('0x2b48')];},'getClientY':function(_0x5b8be3){return mxEvent[_0x1cd3('0x2b47')](_0x5b8be3)['clientY'];},'consume':function(_0x3d420,_0x4caa13,_0x171941){_0x171941=null!=_0x171941?_0x171941:!0x0;if(null!=_0x4caa13?_0x4caa13:0x1)_0x3d420[_0x1cd3('0x517')]?(_0x171941&&_0x3d420['stopPropagation'](),_0x3d420[_0x1cd3('0x517')]()):_0x171941&&(_0x3d420[_0x1cd3('0x2b49')]=!0x0);_0x3d420[_0x1cd3('0x2b13')]=!0x0;_0x3d420[_0x1cd3('0x2b21')]=!0x1;},'LABEL_HANDLE':-0x1,'ROTATION_HANDLE':-0x2,'MOUSE_DOWN':_0x1cd3('0x2b4a'),'MOUSE_MOVE':_0x1cd3('0x2b4b'),'MOUSE_UP':_0x1cd3('0x2b4c'),'ACTIVATE':'activate','RESIZE_START':_0x1cd3('0x2b4d'),'RESIZE':_0x1cd3('0x29a4'),'RESIZE_END':_0x1cd3('0x2b4e'),'MOVE_START':_0x1cd3('0x2b4f'),'MOVE':_0x1cd3('0x2ab4'),'MOVE_END':_0x1cd3('0x2b50'),'PAN_START':_0x1cd3('0x2b51'),'PAN':_0x1cd3('0x2b52'),'PAN_END':_0x1cd3('0x2b53'),'MINIMIZE':_0x1cd3('0x3ce'),'NORMALIZE':_0x1cd3('0x2b54'),'MAXIMIZE':'maximize','HIDE':_0x1cd3('0x39d'),'SHOW':'show','CLOSE':_0x1cd3('0x3cf'),'DESTROY':'destroy','REFRESH':'refresh','SIZE':_0x1cd3('0x113e'),'SELECT':'select','FIRED':'fired','GET':_0x1cd3('0x361'),'RECEIVE':_0x1cd3('0x2b55'),'CONNECT':_0x1cd3('0x664'),'DISCONNECT':_0x1cd3('0xd1c'),'SUSPEND':_0x1cd3('0x2b56'),'RESUME':_0x1cd3('0x601'),'MARK':_0x1cd3('0x2b57'),'SESSION':_0x1cd3('0x5fb'),'ROOT':_0x1cd3('0x554'),'POST':_0x1cd3('0x9dc'),'OPEN':_0x1cd3('0xee4'),'SAVE':_0x1cd3('0xd6d'),'BEFORE_ADD_VERTEX':_0x1cd3('0x2b58'),'ADD_VERTEX':_0x1cd3('0x2b59'),'AFTER_ADD_VERTEX':_0x1cd3('0x2b5a'),'DONE':_0x1cd3('0x4d5'),'EXECUTE':_0x1cd3('0x2b5b'),'EXECUTED':_0x1cd3('0x2b5c'),'BEGIN_UPDATE':_0x1cd3('0x2a6c'),'START_EDIT':_0x1cd3('0x2b5d'),'END_UPDATE':_0x1cd3('0x2b5e'),'END_EDIT':_0x1cd3('0x2b5f'),'BEFORE_UNDO':'beforeUndo','UNDO':_0x1cd3('0x2b60'),'REDO':_0x1cd3('0x2b61'),'CHANGE':_0x1cd3('0x14c4'),'NOTIFY':_0x1cd3('0x2b62'),'LAYOUT_CELLS':_0x1cd3('0x2b63'),'CLICK':'click','SCALE':_0x1cd3('0x29df'),'TRANSLATE':_0x1cd3('0x43c'),'SCALE_AND_TRANSLATE':_0x1cd3('0x2b64'),'UP':'up','DOWN':_0x1cd3('0x716'),'ADD':_0x1cd3('0x425'),'REMOVE':_0x1cd3('0x383'),'CLEAR':_0x1cd3('0x785'),'ADD_CELLS':'addCells','CELLS_ADDED':_0x1cd3('0x2b65'),'MOVE_CELLS':_0x1cd3('0x2b66'),'CELLS_MOVED':_0x1cd3('0x2b67'),'RESIZE_CELLS':_0x1cd3('0x2b68'),'CELLS_RESIZED':_0x1cd3('0x2b69'),'TOGGLE_CELLS':_0x1cd3('0x2b6a'),'CELLS_TOGGLED':_0x1cd3('0x2b6b'),'ORDER_CELLS':_0x1cd3('0x2b6c'),'CELLS_ORDERED':'cellsOrdered','REMOVE_CELLS':'removeCells','CELLS_REMOVED':_0x1cd3('0x2b6d'),'GROUP_CELLS':_0x1cd3('0x2b6e'),'UNGROUP_CELLS':_0x1cd3('0x2b6f'),'REMOVE_CELLS_FROM_PARENT':_0x1cd3('0x2b70'),'FOLD_CELLS':_0x1cd3('0x2b71'),'CELLS_FOLDED':_0x1cd3('0x2b72'),'ALIGN_CELLS':_0x1cd3('0x2b73'),'LABEL_CHANGED':_0x1cd3('0x2b74'),'CONNECT_CELL':_0x1cd3('0x2b75'),'CELL_CONNECTED':_0x1cd3('0x2b76'),'SPLIT_EDGE':_0x1cd3('0x2b77'),'FLIP_EDGE':'flipEdge','START_EDITING':_0x1cd3('0x2b78'),'ADD_OVERLAY':_0x1cd3('0x2b79'),'REMOVE_OVERLAY':_0x1cd3('0x2b7a'),'UPDATE_CELL_SIZE':'updateCellSize','ESCAPE':'escape','CLICK':_0x1cd3('0x52d'),'DOUBLE_CLICK':_0x1cd3('0x2b7b'),'START':_0x1cd3('0x5f2'),'RESET':_0x1cd3('0x358')};function mxXmlRequest(_0x376aa8,_0x567137,_0x200646,_0x880a87,_0x30f335,_0x29ce70){this[_0x1cd3('0x3a4')]=_0x376aa8;this[_0x1cd3('0x36a')]=_0x567137;this[_0x1cd3('0xf27')]=_0x200646||'POST';this[_0x1cd3('0x2b7c')]=null!=_0x880a87?_0x880a87:!0x0;this[_0x1cd3('0x5ad')]=_0x30f335;this[_0x1cd3('0x5ae')]=_0x29ce70;}mxXmlRequest[_0x1cd3('0x77a')][_0x1cd3('0x3a4')]=null;mxXmlRequest[_0x1cd3('0x77a')][_0x1cd3('0x36a')]=null;mxXmlRequest[_0x1cd3('0x77a')][_0x1cd3('0xf27')]=null;mxXmlRequest[_0x1cd3('0x77a')][_0x1cd3('0x2b7c')]=null;mxXmlRequest[_0x1cd3('0x77a')][_0x1cd3('0x2b7d')]=!0x1;mxXmlRequest[_0x1cd3('0x77a')]['username']=null;mxXmlRequest[_0x1cd3('0x77a')]['password']=null;mxXmlRequest[_0x1cd3('0x77a')][_0x1cd3('0x5fe')]=null;mxXmlRequest[_0x1cd3('0x77a')][_0x1cd3('0x2b7e')]=function(){return this['binary'];};mxXmlRequest['prototype'][_0x1cd3('0x2b7f')]=function(_0x56ec56){this['binary']=_0x56ec56;};mxXmlRequest['prototype'][_0x1cd3('0x49b')]=function(){return this['request'][_0x1cd3('0x2b80')];};mxXmlRequest['prototype'][_0x1cd3('0x29d3')]=function(){return 0x4==this[_0x1cd3('0x5fe')][_0x1cd3('0x2a47')];};mxXmlRequest[_0x1cd3('0x77a')][_0x1cd3('0x2b81')]=function(){var _0x352338=this[_0x1cd3('0x2b82')]();return null!=_0x352338?_0x352338[_0x1cd3('0x2a20')]:null;};mxXmlRequest[_0x1cd3('0x77a')][_0x1cd3('0x2b82')]=function(){var _0x1e9a47=this[_0x1cd3('0x5fe')][_0x1cd3('0x2b83')];if(0x9<=document['documentMode']||null==_0x1e9a47||null==_0x1e9a47[_0x1cd3('0x2a20')])_0x1e9a47=mxUtils['parseXml'](this[_0x1cd3('0x5fe')][_0x1cd3('0x2b80')]);return _0x1e9a47;};mxXmlRequest[_0x1cd3('0x77a')][_0x1cd3('0x49b')]=function(){return this['request'][_0x1cd3('0x2b80')];};mxXmlRequest[_0x1cd3('0x77a')][_0x1cd3('0x2b84')]=function(){return this[_0x1cd3('0x5fe')][_0x1cd3('0x3a6')];};mxXmlRequest[_0x1cd3('0x77a')][_0x1cd3('0x624')]=function(){if(window[_0x1cd3('0x130b')])return function(){var _0x43a574=new XMLHttpRequest();this[_0x1cd3('0x2b7e')]()&&_0x43a574['overrideMimeType']&&_0x43a574[_0x1cd3('0x2b85')](_0x1cd3('0x2b86'));return _0x43a574;};if(_0x1cd3('0x491')!=typeof ActiveXObject)return function(){return new ActiveXObject(_0x1cd3('0x2b87'));};}();mxXmlRequest[_0x1cd3('0x77a')][_0x1cd3('0x9de')]=function(_0x540a89,_0x15e15f){this[_0x1cd3('0x5fe')]=this['create']();null!=this[_0x1cd3('0x5fe')]&&(null!=_0x540a89&&(this['request']['onreadystatechange']=mxUtils[_0x1cd3('0x5b2')](this,function(){this[_0x1cd3('0x29d3')]()&&(_0x540a89(this),this[_0x1cd3('0x2b88')]=null);})),this[_0x1cd3('0x5fe')]['open'](this['method'],this[_0x1cd3('0x3a4')],this[_0x1cd3('0x2b7c')],this[_0x1cd3('0x5ad')],this[_0x1cd3('0x5ae')]),this[_0x1cd3('0x2b89')](this[_0x1cd3('0x5fe')],this[_0x1cd3('0x36a')]),this[_0x1cd3('0x5fe')]['send'](this[_0x1cd3('0x36a')]));};mxXmlRequest[_0x1cd3('0x77a')][_0x1cd3('0x2b89')]=function(_0x20ba66,_0x5cf50e){null!=_0x5cf50e&&_0x20ba66[_0x1cd3('0x2b8a')](_0x1cd3('0x2b8b'),_0x1cd3('0x2b8c'));};mxXmlRequest[_0x1cd3('0x77a')]['simulate']=function(_0x366202,_0x1dc502){_0x366202=_0x366202||document;var _0x405762=null;_0x366202==document&&(_0x405762=window['onbeforeunload'],window[_0x1cd3('0x2b8d')]=null);var _0x360357=_0x366202[_0x1cd3('0x3aa')]('form');_0x360357[_0x1cd3('0x481')](_0x1cd3('0xf27'),this[_0x1cd3('0xf27')]);_0x360357['setAttribute'](_0x1cd3('0x931'),this[_0x1cd3('0x3a4')]);null!=_0x1dc502&&_0x360357[_0x1cd3('0x481')]('target',_0x1dc502);_0x360357[_0x1cd3('0x440')][_0x1cd3('0x6ac')]=_0x1cd3('0x6ae');_0x360357['style'][_0x1cd3('0x29c7')]='hidden';for(var _0x263758=0x0<this[_0x1cd3('0x36a')][_0x1cd3('0x45e')]('&')?this['params'][_0x1cd3('0x3ef')]('&'):this[_0x1cd3('0x36a')][_0x1cd3('0x3ef')](),_0x5d0b5f=0x0;_0x5d0b5f<_0x263758[_0x1cd3('0x7a')];_0x5d0b5f++){var _0x54f419=_0x263758[_0x5d0b5f][_0x1cd3('0x45e')]('=');if(0x0<_0x54f419){var _0x530edc=_0x263758[_0x5d0b5f]['substring'](0x0,_0x54f419),_0xf709b4=_0x263758[_0x5d0b5f][_0x1cd3('0x922')](_0x54f419+0x1),_0x54f419=_0x366202[_0x1cd3('0x3aa')]('textarea');_0x54f419[_0x1cd3('0x481')](_0x1cd3('0x98'),_0x530edc);_0xf709b4=_0xf709b4[_0x1cd3('0x3f1')](/\n/g,'
');_0x530edc=_0x366202[_0x1cd3('0x2a19')](_0xf709b4);_0x54f419[_0x1cd3('0xd4e')](_0x530edc);_0x360357['appendChild'](_0x54f419);}}_0x366202[_0x1cd3('0x380')][_0x1cd3('0xd4e')](_0x360357);_0x360357[_0x1cd3('0x2b8e')]();_0x366202['body']['removeChild'](_0x360357);null!=_0x405762&&(window[_0x1cd3('0x2b8d')]=_0x405762);};var mxClipboard={'STEPSIZE':0xa,'insertCount':0x1,'cells':null,'isEmpty':function(){return null==mxClipboard[_0x1cd3('0x2b8f')];},'cut':function(_0x3a857f,_0x5e7a1a){_0x5e7a1a=mxClipboard['copy'](_0x3a857f,_0x5e7a1a);mxClipboard[_0x1cd3('0x2b90')]=0x0;mxClipboard[_0x1cd3('0x2b91')](_0x3a857f,_0x5e7a1a);return _0x5e7a1a;},'removeCells':function(_0x1b62c5,_0x42c3c2){_0x1b62c5['removeCells'](_0x42c3c2);},'copy':function(_0x5df1ce,_0x38e3bf){_0x38e3bf=_0x38e3bf||_0x5df1ce[_0x1cd3('0x2b92')]();var _0xcf505b=_0x5df1ce[_0x1cd3('0x2b93')](_0x38e3bf);mxClipboard[_0x1cd3('0x2b90')]=0x1;mxClipboard['cells']=_0x5df1ce[_0x1cd3('0x2b94')](_0xcf505b);return _0xcf505b;},'paste':function(_0x1e4214){if(null!=mxClipboard['cells']){var _0x4e0d68=_0x1e4214[_0x1cd3('0x2b95')](mxClipboard[_0x1cd3('0x2b8f')]),_0x1b7ef2=mxClipboard[_0x1cd3('0x2b90')]*mxClipboard[_0x1cd3('0x2b96')],_0x5a2769=_0x1e4214[_0x1cd3('0x2b97')](),_0x4e0d68=_0x1e4214[_0x1cd3('0x2b98')](_0x4e0d68,_0x1b7ef2,_0x1b7ef2,_0x5a2769);mxClipboard[_0x1cd3('0x2b90')]++;_0x1e4214[_0x1cd3('0x2b99')](_0x4e0d68);}}};function mxWindow(_0x1624f5,_0x1d4e18,_0x51a961,_0x1e797e,_0x49f475,_0x385ca3,_0x22e12a,_0x556480,_0x2aeeb1,_0x14fee7){null!=_0x1d4e18&&(_0x22e12a=null!=_0x22e12a?_0x22e12a:!0x0,this[_0x1cd3('0xd3b')]=_0x1d4e18,this[_0x1cd3('0xe08')](_0x51a961,_0x1e797e,_0x49f475,_0x385ca3,_0x14fee7),this[_0x1cd3('0x2b9a')](),this[_0x1cd3('0x2b9b')](),this[_0x1cd3('0x2b9c')](),this['setMinimizable'](_0x22e12a),this['setTitle'](_0x1624f5),(null==_0x556480||_0x556480)&&this['installMoveHandler'](),null!=_0x2aeeb1&&null!=_0x2aeeb1[_0x1cd3('0x29ea')]?_0x2aeeb1[_0x1cd3('0x29ea')][_0x1cd3('0x2b9d')](this[_0x1cd3('0x2a72')],_0x2aeeb1):document[_0x1cd3('0x380')][_0x1cd3('0xd4e')](this[_0x1cd3('0x2a72')]));}mxWindow[_0x1cd3('0x77a')]=new mxEventSource();mxWindow[_0x1cd3('0x77a')][_0x1cd3('0x29db')]=mxWindow;mxWindow[_0x1cd3('0x77a')][_0x1cd3('0x2b9e')]=mxClient['imageBasePath']+_0x1cd3('0x2b9f');mxWindow[_0x1cd3('0x77a')][_0x1cd3('0x2ba0')]=mxClient[_0x1cd3('0x29eb')]+'/minimize.gif';mxWindow[_0x1cd3('0x77a')][_0x1cd3('0x2ba1')]=mxClient['imageBasePath']+'/normalize.gif';mxWindow[_0x1cd3('0x77a')]['maximizeImage']=mxClient[_0x1cd3('0x29eb')]+'/maximize.gif';mxWindow[_0x1cd3('0x77a')][_0x1cd3('0x2ba2')]=mxClient['imageBasePath']+_0x1cd3('0x2ba3');mxWindow[_0x1cd3('0x77a')][_0x1cd3('0x29c8')]=!0x1;mxWindow['prototype'][_0x1cd3('0xd3b')]=!0x1;mxWindow[_0x1cd3('0x77a')][_0x1cd3('0x2ba4')]=new mxRectangle(0x0,0x0,0x32,0x28);mxWindow['prototype'][_0x1cd3('0x486')]=!0x1;mxWindow['prototype'][_0x1cd3('0xd3b')]=!0x1;mxWindow[_0x1cd3('0x77a')]['destroyOnClose']=!0x0;mxWindow[_0x1cd3('0x77a')][_0x1cd3('0xe08')]=function(_0x2b0e3c,_0x15bf20,_0x57a500,_0x3d89ee,_0x3f1ea0){_0x3f1ea0=null!=_0x3f1ea0?_0x3f1ea0:_0x1cd3('0x2ba5');this[_0x1cd3('0x2a72')]=document['createElement'](_0x1cd3('0x2a72'));this[_0x1cd3('0x2a72')][_0x1cd3('0x45d')]=_0x3f1ea0;this[_0x1cd3('0x2a72')][_0x1cd3('0x440')][_0x1cd3('0x762')]=_0x2b0e3c+'px';this[_0x1cd3('0x2a72')][_0x1cd3('0x440')]['top']=_0x15bf20+'px';this[_0x1cd3('0xd45')]=document[_0x1cd3('0x3aa')]('table');this[_0x1cd3('0xd45')][_0x1cd3('0x45d')]=_0x3f1ea0;null!=_0x57a500&&(mxClient['IS_IE']||(this[_0x1cd3('0x2a72')][_0x1cd3('0x440')]['width']=_0x57a500+'px'),this[_0x1cd3('0xd45')][_0x1cd3('0x440')][_0x1cd3('0x4d7')]=_0x57a500+'px');null!=_0x3d89ee&&(mxClient[_0x1cd3('0x298a')]||(this[_0x1cd3('0x2a72')]['style']['height']=_0x3d89ee+'px'),this[_0x1cd3('0xd45')][_0x1cd3('0x440')][_0x1cd3('0x4e4')]=_0x3d89ee+'px');_0x2b0e3c=document[_0x1cd3('0x3aa')](_0x1cd3('0x29a2'));_0x15bf20=document[_0x1cd3('0x3aa')]('tr');this['title']=document[_0x1cd3('0x3aa')]('td');this[_0x1cd3('0x486')]['className']=_0x3f1ea0+_0x1cd3('0x2ba6');_0x15bf20[_0x1cd3('0xd4e')](this[_0x1cd3('0x486')]);_0x2b0e3c[_0x1cd3('0xd4e')](_0x15bf20);_0x15bf20=document[_0x1cd3('0x3aa')]('tr');this['td']=document['createElement']('td');this['td'][_0x1cd3('0x45d')]=_0x3f1ea0+_0x1cd3('0x2ba7');this[_0x1cd3('0x2ba8')]=document[_0x1cd3('0x3aa')](_0x1cd3('0x2a72'));this[_0x1cd3('0x2ba8')][_0x1cd3('0x45d')]=_0x3f1ea0+_0x1cd3('0x2ba7');this[_0x1cd3('0x2ba8')][_0x1cd3('0x440')][_0x1cd3('0x4d7')]=_0x1cd3('0x29a1');this[_0x1cd3('0x2ba8')][_0x1cd3('0xd4e')](this['content']);if(mxClient[_0x1cd3('0x298a')]||'DIV'!=this[_0x1cd3('0xd3b')][_0x1cd3('0x2a0c')]['toUpperCase']())this['contentWrapper'][_0x1cd3('0x440')][_0x1cd3('0x4e4')]=_0x1cd3('0x29a1');this['td'][_0x1cd3('0xd4e')](this[_0x1cd3('0x2ba8')]);_0x15bf20[_0x1cd3('0xd4e')](this['td']);_0x2b0e3c[_0x1cd3('0xd4e')](_0x15bf20);this[_0x1cd3('0xd45')][_0x1cd3('0xd4e')](_0x2b0e3c);this[_0x1cd3('0x2a72')][_0x1cd3('0xd4e')](this[_0x1cd3('0xd45')]);_0x3f1ea0=mxUtils['bind'](this,function(_0x45963d){this[_0x1cd3('0x2ba9')]();});mxEvent[_0x1cd3('0x29ba')](this[_0x1cd3('0x486')],_0x1cd3('0x2b2b'),_0x3f1ea0);mxEvent[_0x1cd3('0x29ba')](this[_0x1cd3('0xd45')],_0x1cd3('0x2b2b'),_0x3f1ea0);mxClient[_0x1cd3('0x2b2e')]&&(mxEvent['addListener'](this[_0x1cd3('0x486')],_0x1cd3('0x2b2f'),_0x3f1ea0),mxEvent[_0x1cd3('0x29ba')](this['table'],_0x1cd3('0x2b2f'),_0x3f1ea0));this[_0x1cd3('0x39d')]();};mxWindow[_0x1cd3('0x77a')]['setTitle']=function(_0x371271){for(var _0x3f8757=this['title'][_0x1cd3('0x29f5')];null!=_0x3f8757;){var _0x1334a4=_0x3f8757['nextSibling'];_0x3f8757[_0x1cd3('0x29f8')]==mxConstants['NODETYPE_TEXT']&&_0x3f8757[_0x1cd3('0x29ea')][_0x1cd3('0x1817')](_0x3f8757);_0x3f8757=_0x1334a4;}mxUtils['write'](this['title'],_0x371271||'');};mxWindow[_0x1cd3('0x77a')][_0x1cd3('0x2baa')]=function(_0x43f8e0){0x0>navigator[_0x1cd3('0x927')][_0x1cd3('0x45e')]('Presto/2.5')&&(this[_0x1cd3('0x2ba8')]['style'][_0x1cd3('0x29f1')]=_0x43f8e0?'auto':_0x1cd3('0x533'));};mxWindow['prototype']['activate']=function(){if(mxWindow[_0x1cd3('0x2bab')]!=this){var _0x269490=mxUtils[_0x1cd3('0x29f0')](this[_0x1cd3('0x29b9')]()),_0x269490=null!=_0x269490?_0x269490[_0x1cd3('0x2bac')]:0x3;if(mxWindow[_0x1cd3('0x2bab')]){var _0x177bed=mxWindow['activeWindow']['getElement']();null!=_0x177bed&&null!=_0x177bed[_0x1cd3('0x440')]&&(_0x177bed[_0x1cd3('0x440')][_0x1cd3('0x2bac')]=_0x269490);}_0x177bed=mxWindow['activeWindow'];this[_0x1cd3('0x29b9')]()[_0x1cd3('0x440')][_0x1cd3('0x2bac')]=parseInt(_0x269490)+0x1;mxWindow[_0x1cd3('0x2bab')]=this;this['fireEvent'](new mxEventObject(mxEvent[_0x1cd3('0x2bad')],'previousWindow',_0x177bed));}};mxWindow[_0x1cd3('0x77a')][_0x1cd3('0x29b9')]=function(){return this[_0x1cd3('0x2a72')];};mxWindow[_0x1cd3('0x77a')][_0x1cd3('0x2bae')]=function(){mxUtils[_0x1cd3('0x2bae')](this[_0x1cd3('0x2a72')]);};mxWindow[_0x1cd3('0x77a')][_0x1cd3('0x2baf')]=function(){return null!=this['resize']?'none'!=this[_0x1cd3('0x29a4')]['style'][_0x1cd3('0x6ac')]:!0x1;};mxWindow['prototype'][_0x1cd3('0x29b6')]=function(_0x5b2bad){_0x5b2bad?null==this['resize']?(this[_0x1cd3('0x29a4')]=document[_0x1cd3('0x3aa')](_0x1cd3('0x774')),this[_0x1cd3('0x29a4')][_0x1cd3('0x440')][_0x1cd3('0x679')]=_0x1cd3('0x532'),this['resize'][_0x1cd3('0x440')][_0x1cd3('0x2bb0')]='2px',this[_0x1cd3('0x29a4')][_0x1cd3('0x440')]['right']=_0x1cd3('0x2bb1'),this[_0x1cd3('0x29a4')][_0x1cd3('0x481')]('src',mxClient['imageBasePath']+_0x1cd3('0x2ba3')),this[_0x1cd3('0x29a4')][_0x1cd3('0x440')][_0x1cd3('0x29ec')]=_0x1cd3('0x2bb2'),mxEvent['addGestureListeners'](this['resize'],mxUtils[_0x1cd3('0x5b2')](this,function(_0x103b8f){this[_0x1cd3('0x2ba9')]();var _0x5ca69a=mxEvent[_0x1cd3('0x2b19')](_0x103b8f),_0x178d40=mxEvent[_0x1cd3('0x2b1c')](_0x103b8f),_0x386e13=this[_0x1cd3('0x2a72')]['offsetWidth'],_0x5619a1=this[_0x1cd3('0x2a72')][_0x1cd3('0x535')],_0x280be9=mxUtils['bind'](this,function(_0x446df0){var _0x138d6f=mxEvent['getClientX'](_0x446df0)-_0x5ca69a,_0x34d38f=mxEvent[_0x1cd3('0x2b1c')](_0x446df0)-_0x178d40;this[_0x1cd3('0x2bb3')](_0x386e13+_0x138d6f,_0x5619a1+_0x34d38f);this[_0x1cd3('0x2b28')](new mxEventObject(mxEvent[_0x1cd3('0x2bb4')],'event',_0x446df0));mxEvent[_0x1cd3('0x2b14')](_0x446df0);}),_0x53c857=mxUtils['bind'](this,function(_0x379567){mxEvent[_0x1cd3('0x2bb5')](document,null,_0x280be9,_0x53c857);this[_0x1cd3('0x2b28')](new mxEventObject(mxEvent[_0x1cd3('0x29bb')],'event',_0x379567));mxEvent[_0x1cd3('0x2b14')](_0x379567);});mxEvent['addGestureListeners'](document,null,_0x280be9,_0x53c857);this[_0x1cd3('0x2b28')](new mxEventObject(mxEvent[_0x1cd3('0x2bb6')],_0x1cd3('0x2b38'),_0x103b8f));mxEvent['consume'](_0x103b8f);}),null,null),this[_0x1cd3('0x2a72')][_0x1cd3('0xd4e')](this[_0x1cd3('0x29a4')])):this[_0x1cd3('0x29a4')][_0x1cd3('0x440')][_0x1cd3('0x6ac')]='inline':null!=this[_0x1cd3('0x29a4')]&&(this[_0x1cd3('0x29a4')][_0x1cd3('0x440')][_0x1cd3('0x6ac')]=_0x1cd3('0x6ae'));};mxWindow['prototype']['setSize']=function(_0x1b34ab,_0x45a2b9){_0x1b34ab=Math['max'](this[_0x1cd3('0x2ba4')]['width'],_0x1b34ab);_0x45a2b9=Math[_0x1cd3('0x13d1')](this[_0x1cd3('0x2ba4')][_0x1cd3('0x4e4')],_0x45a2b9);mxClient[_0x1cd3('0x298a')]||(this[_0x1cd3('0x2a72')][_0x1cd3('0x440')]['width']=_0x1b34ab+'px',this[_0x1cd3('0x2a72')][_0x1cd3('0x440')]['height']=_0x45a2b9+'px');this[_0x1cd3('0xd45')][_0x1cd3('0x440')][_0x1cd3('0x4d7')]=_0x1b34ab+'px';this[_0x1cd3('0xd45')][_0x1cd3('0x440')][_0x1cd3('0x4e4')]=_0x45a2b9+'px';mxClient[_0x1cd3('0x298a')]||(this[_0x1cd3('0x2ba8')][_0x1cd3('0x440')][_0x1cd3('0x4e4')]=this[_0x1cd3('0x2a72')][_0x1cd3('0x535')]-this[_0x1cd3('0x486')][_0x1cd3('0x535')]-0x2+'px');};mxWindow[_0x1cd3('0x77a')][_0x1cd3('0x2bb7')]=function(_0x597654){this[_0x1cd3('0x3ce')][_0x1cd3('0x440')][_0x1cd3('0x6ac')]=_0x597654?'':_0x1cd3('0x6ae');};mxWindow['prototype']['getMinimumSize']=function(){return new mxRectangle(0x0,0x0,0x0,this[_0x1cd3('0x486')][_0x1cd3('0x535')]);};mxWindow[_0x1cd3('0x77a')]['installMinimizeHandler']=function(){this[_0x1cd3('0x3ce')]=document['createElement'](_0x1cd3('0x774'));this[_0x1cd3('0x3ce')][_0x1cd3('0x481')](_0x1cd3('0x487'),this['minimizeImage']);this['minimize'][_0x1cd3('0x481')]('align','right');this[_0x1cd3('0x3ce')][_0x1cd3('0x481')](_0x1cd3('0x486'),_0x1cd3('0x2bb8'));this[_0x1cd3('0x3ce')][_0x1cd3('0x440')]['cursor']=_0x1cd3('0x2ab5');this[_0x1cd3('0x3ce')][_0x1cd3('0x440')][_0x1cd3('0x2bb9')]='1px';this[_0x1cd3('0x3ce')][_0x1cd3('0x440')][_0x1cd3('0x6ac')]='none';this[_0x1cd3('0x486')][_0x1cd3('0xd4e')](this[_0x1cd3('0x3ce')]);var _0x573a37=!0x1,_0x3ca785=null,_0x54ed0d=null,_0x46c6ba=mxUtils['bind'](this,function(_0x1f136f){this['activate']();if(_0x573a37)_0x573a37=!0x1,this['minimize'][_0x1cd3('0x481')]('src',this[_0x1cd3('0x2ba0')]),this[_0x1cd3('0x3ce')]['setAttribute'](_0x1cd3('0x486'),'Minimize'),this[_0x1cd3('0x2ba8')][_0x1cd3('0x440')][_0x1cd3('0x6ac')]='',this[_0x1cd3('0x2bba')]['style']['display']=_0x3ca785,mxClient['IS_IE']||(this[_0x1cd3('0x2a72')][_0x1cd3('0x440')][_0x1cd3('0x4e4')]=_0x54ed0d),this[_0x1cd3('0xd45')][_0x1cd3('0x440')][_0x1cd3('0x4e4')]=_0x54ed0d,null!=this[_0x1cd3('0x29a4')]&&(this[_0x1cd3('0x29a4')][_0x1cd3('0x440')][_0x1cd3('0x29c7')]=''),this[_0x1cd3('0x2b28')](new mxEventObject(mxEvent[_0x1cd3('0x29bd')],'event',_0x1f136f));else{_0x573a37=!0x0;this[_0x1cd3('0x3ce')][_0x1cd3('0x481')](_0x1cd3('0x487'),this[_0x1cd3('0x2ba1')]);this[_0x1cd3('0x3ce')][_0x1cd3('0x481')](_0x1cd3('0x486'),_0x1cd3('0x2bbb'));this[_0x1cd3('0x2ba8')][_0x1cd3('0x440')][_0x1cd3('0x6ac')]=_0x1cd3('0x6ae');_0x3ca785=this[_0x1cd3('0x2bba')][_0x1cd3('0x440')][_0x1cd3('0x6ac')];this['maximize'][_0x1cd3('0x440')][_0x1cd3('0x6ac')]='none';_0x54ed0d=this[_0x1cd3('0xd45')][_0x1cd3('0x440')][_0x1cd3('0x4e4')];var _0x408515=this[_0x1cd3('0x2bbc')]();0x0<_0x408515[_0x1cd3('0x4e4')]&&(mxClient['IS_IE']||(this[_0x1cd3('0x2a72')][_0x1cd3('0x440')]['height']=_0x408515[_0x1cd3('0x4e4')]+'px'),this[_0x1cd3('0xd45')][_0x1cd3('0x440')]['height']=_0x408515[_0x1cd3('0x4e4')]+'px');0x0<_0x408515['width']&&(mxClient[_0x1cd3('0x298a')]||(this['div']['style'][_0x1cd3('0x4d7')]=_0x408515[_0x1cd3('0x4d7')]+'px'),this['table'][_0x1cd3('0x440')]['width']=_0x408515['width']+'px');null!=this[_0x1cd3('0x29a4')]&&(this['resize']['style'][_0x1cd3('0x29c7')]='hidden');this['fireEvent'](new mxEventObject(mxEvent['MINIMIZE'],_0x1cd3('0x2b38'),_0x1f136f));}mxEvent[_0x1cd3('0x2b14')](_0x1f136f);});mxEvent[_0x1cd3('0x29ba')](this['minimize'],_0x1cd3('0x2b2b'),_0x46c6ba);mxClient[_0x1cd3('0x2b2e')]&&mxEvent[_0x1cd3('0x29ba')](this[_0x1cd3('0x3ce')],_0x1cd3('0x2b2f'),_0x46c6ba);};mxWindow[_0x1cd3('0x77a')][_0x1cd3('0x2bbd')]=function(_0x67c215){this['maximize'][_0x1cd3('0x440')][_0x1cd3('0x6ac')]=_0x67c215?'':_0x1cd3('0x6ae');};mxWindow['prototype']['installMaximizeHandler']=function(){this['maximize']=document[_0x1cd3('0x3aa')](_0x1cd3('0x774'));this['maximize'][_0x1cd3('0x481')]('src',this['maximizeImage']);this[_0x1cd3('0x2bba')][_0x1cd3('0x481')](_0x1cd3('0x183e'),'right');this[_0x1cd3('0x2bba')]['setAttribute'](_0x1cd3('0x486'),_0x1cd3('0x2bbe'));this[_0x1cd3('0x2bba')][_0x1cd3('0x440')]['cursor']=_0x1cd3('0x5bd');this[_0x1cd3('0x2bba')][_0x1cd3('0x440')][_0x1cd3('0x2bbf')]=_0x1cd3('0x2bc0');this[_0x1cd3('0x2bba')]['style'][_0x1cd3('0x29ec')]=_0x1cd3('0x2ab5');this[_0x1cd3('0x2bba')][_0x1cd3('0x440')]['display']=_0x1cd3('0x6ae');this[_0x1cd3('0x486')][_0x1cd3('0xd4e')](this['maximize']);var _0x3dacce=!0x1,_0x188ee8=null,_0x33f2c2=null,_0x11d26b=null,_0x4f2466=null,_0x3fbc46=mxUtils[_0x1cd3('0x5b2')](this,function(_0x300c82){this[_0x1cd3('0x2ba9')]();if(_0x1cd3('0x6ae')!=this[_0x1cd3('0x2bba')][_0x1cd3('0x440')][_0x1cd3('0x6ac')]){if(_0x3dacce){_0x3dacce=!0x1;this[_0x1cd3('0x2bba')]['setAttribute'](_0x1cd3('0x487'),this[_0x1cd3('0x2bc1')]);this[_0x1cd3('0x2bba')][_0x1cd3('0x481')](_0x1cd3('0x486'),_0x1cd3('0x2bbe'));this[_0x1cd3('0x2ba8')]['style'][_0x1cd3('0x6ac')]='';this['minimize'][_0x1cd3('0x440')][_0x1cd3('0x29c7')]='';this[_0x1cd3('0x2a72')]['style'][_0x1cd3('0x762')]=_0x188ee8+'px';this[_0x1cd3('0x2a72')][_0x1cd3('0x440')][_0x1cd3('0x712')]=_0x33f2c2+'px';if(!mxClient[_0x1cd3('0x298a')]&&(this[_0x1cd3('0x2a72')][_0x1cd3('0x440')][_0x1cd3('0x4e4')]=_0x11d26b,this[_0x1cd3('0x2a72')]['style'][_0x1cd3('0x4d7')]=_0x4f2466,_0x153bde=mxUtils[_0x1cd3('0x29f0')](this[_0x1cd3('0x2ba8')]),'auto'==_0x153bde[_0x1cd3('0x29f1')]||null!=this[_0x1cd3('0x29a4')]))this[_0x1cd3('0x2ba8')][_0x1cd3('0x440')]['height']=this[_0x1cd3('0x2a72')][_0x1cd3('0x535')]-this['title'][_0x1cd3('0x535')]-0x2+'px';this[_0x1cd3('0xd45')]['style'][_0x1cd3('0x4e4')]=_0x11d26b;this[_0x1cd3('0xd45')][_0x1cd3('0x440')]['width']=_0x4f2466;null!=this['resize']&&(this[_0x1cd3('0x29a4')][_0x1cd3('0x440')][_0x1cd3('0x29c7')]='');this['fireEvent'](new mxEventObject(mxEvent[_0x1cd3('0x29bd')],_0x1cd3('0x2b38'),_0x300c82));}else{_0x3dacce=!0x0;this[_0x1cd3('0x2bba')][_0x1cd3('0x481')]('src',this[_0x1cd3('0x2ba1')]);this['maximize'][_0x1cd3('0x481')](_0x1cd3('0x486'),_0x1cd3('0x2bbb'));this[_0x1cd3('0x2ba8')][_0x1cd3('0x440')][_0x1cd3('0x6ac')]='';this[_0x1cd3('0x3ce')]['style']['visibility']=_0x1cd3('0x533');_0x188ee8=parseInt(this[_0x1cd3('0x2a72')][_0x1cd3('0x440')][_0x1cd3('0x762')]);_0x33f2c2=parseInt(this['div'][_0x1cd3('0x440')][_0x1cd3('0x712')]);_0x11d26b=this[_0x1cd3('0xd45')][_0x1cd3('0x440')][_0x1cd3('0x4e4')];_0x4f2466=this[_0x1cd3('0xd45')][_0x1cd3('0x440')]['width'];this[_0x1cd3('0x2a72')][_0x1cd3('0x440')][_0x1cd3('0x762')]=_0x1cd3('0x538');this[_0x1cd3('0x2a72')][_0x1cd3('0x440')][_0x1cd3('0x712')]=_0x1cd3('0x538');mxClient[_0x1cd3('0x298a')]||(this[_0x1cd3('0x2a72')][_0x1cd3('0x440')][_0x1cd3('0x4e4')]=document[_0x1cd3('0x380')][_0x1cd3('0x29b4')]-0x2+'px',this[_0x1cd3('0x2a72')][_0x1cd3('0x440')][_0x1cd3('0x4d7')]=document['body'][_0x1cd3('0x29b5')]-0x2+'px');this[_0x1cd3('0xd45')][_0x1cd3('0x440')][_0x1cd3('0x4d7')]=document[_0x1cd3('0x380')][_0x1cd3('0x29b5')]-0x2+'px';this['table'][_0x1cd3('0x440')][_0x1cd3('0x4e4')]=document[_0x1cd3('0x380')][_0x1cd3('0x29b4')]-0x2+'px';null!=this['resize']&&(this[_0x1cd3('0x29a4')][_0x1cd3('0x440')][_0x1cd3('0x29c7')]=_0x1cd3('0x533'));if(!mxClient[_0x1cd3('0x298a')]){var _0x153bde=mxUtils[_0x1cd3('0x29f0')](this[_0x1cd3('0x2ba8')]);if('auto'==_0x153bde['overflow']||null!=this['resize'])this[_0x1cd3('0x2ba8')][_0x1cd3('0x440')]['height']=this[_0x1cd3('0x2a72')][_0x1cd3('0x535')]-this[_0x1cd3('0x486')]['offsetHeight']-0x2+'px';}this['fireEvent'](new mxEventObject(mxEvent[_0x1cd3('0x29bc')],_0x1cd3('0x2b38'),_0x300c82));}mxEvent[_0x1cd3('0x2b14')](_0x300c82);}});mxEvent[_0x1cd3('0x2b32')](this[_0x1cd3('0x2bba')],_0x3fbc46);mxEvent[_0x1cd3('0x29ba')](this[_0x1cd3('0x486')],'dblclick',_0x3fbc46);};mxWindow[_0x1cd3('0x77a')][_0x1cd3('0x2bc2')]=function(){this['title']['style'][_0x1cd3('0x29ec')]=_0x1cd3('0x2ab4');mxEvent[_0x1cd3('0x2b32')](this[_0x1cd3('0x486')],mxUtils[_0x1cd3('0x5b2')](this,function(_0x325a9d){var _0x52063b=mxEvent[_0x1cd3('0x2b19')](_0x325a9d),_0x562e38=mxEvent[_0x1cd3('0x2b1c')](_0x325a9d),_0x2f8e2f=this[_0x1cd3('0x2b18')](),_0x5278bf=this[_0x1cd3('0x2b1b')](),_0x4bcbc7=mxUtils[_0x1cd3('0x5b2')](this,function(_0x3dadfb){var _0xf95b7f=mxEvent[_0x1cd3('0x2b19')](_0x3dadfb)-_0x52063b,_0x550631=mxEvent[_0x1cd3('0x2b1c')](_0x3dadfb)-_0x562e38;this[_0x1cd3('0x2bc3')](_0x2f8e2f+_0xf95b7f,_0x5278bf+_0x550631);this[_0x1cd3('0x2b28')](new mxEventObject(mxEvent[_0x1cd3('0x2bc4')],_0x1cd3('0x2b38'),_0x3dadfb));mxEvent['consume'](_0x3dadfb);}),_0x44188d=mxUtils[_0x1cd3('0x5b2')](this,function(_0x84a89){mxEvent[_0x1cd3('0x2bb5')](document,null,_0x4bcbc7,_0x44188d);this[_0x1cd3('0x2b28')](new mxEventObject(mxEvent[_0x1cd3('0x2bc5')],'event',_0x84a89));mxEvent['consume'](_0x84a89);});mxEvent['addGestureListeners'](document,null,_0x4bcbc7,_0x44188d);this[_0x1cd3('0x2b28')](new mxEventObject(mxEvent[_0x1cd3('0x2bc6')],_0x1cd3('0x2b38'),_0x325a9d));mxEvent[_0x1cd3('0x2b14')](_0x325a9d);}));};mxWindow[_0x1cd3('0x77a')][_0x1cd3('0x2bc3')]=function(_0x3013dd,_0x2ae650){this[_0x1cd3('0x2a72')]['style'][_0x1cd3('0x762')]=_0x3013dd+'px';this[_0x1cd3('0x2a72')]['style'][_0x1cd3('0x712')]=_0x2ae650+'px';};mxWindow[_0x1cd3('0x77a')][_0x1cd3('0x2b18')]=function(){return parseInt(this[_0x1cd3('0x2a72')][_0x1cd3('0x440')][_0x1cd3('0x762')]);};mxWindow[_0x1cd3('0x77a')]['getY']=function(){return parseInt(this[_0x1cd3('0x2a72')]['style'][_0x1cd3('0x712')]);};mxWindow['prototype']['installCloseHandler']=function(){this['closeImg']=document['createElement']('img');this['closeImg'][_0x1cd3('0x481')]('src',this[_0x1cd3('0x2b9e')]);this[_0x1cd3('0x2bc7')][_0x1cd3('0x481')]('align',_0x1cd3('0x58e'));this[_0x1cd3('0x2bc7')][_0x1cd3('0x481')](_0x1cd3('0x486'),_0x1cd3('0x2bc8'));this['closeImg'][_0x1cd3('0x440')][_0x1cd3('0x2bbf')]=_0x1cd3('0x2bb1');this['closeImg'][_0x1cd3('0x440')][_0x1cd3('0x29ec')]=_0x1cd3('0x2ab5');this[_0x1cd3('0x2bc7')][_0x1cd3('0x440')][_0x1cd3('0x6ac')]=_0x1cd3('0x6ae');this[_0x1cd3('0x486')][_0x1cd3('0x2bc9')](this[_0x1cd3('0x2bc7')],this['title']['firstChild']);mxEvent['addGestureListeners'](this[_0x1cd3('0x2bc7')],mxUtils['bind'](this,function(_0x7adf1f){this['fireEvent'](new mxEventObject(mxEvent['CLOSE'],'event',_0x7adf1f));this[_0x1cd3('0x2bca')]?this[_0x1cd3('0x2bcb')]():this[_0x1cd3('0x29c1')](!0x1);mxEvent[_0x1cd3('0x2b14')](_0x7adf1f);}));};mxWindow[_0x1cd3('0x77a')][_0x1cd3('0x2bcc')]=function(_0x2c1624){this[_0x1cd3('0x127a')]=document['createElement'](_0x1cd3('0x774'));this[_0x1cd3('0x127a')][_0x1cd3('0x481')](_0x1cd3('0x487'),_0x2c1624);this[_0x1cd3('0x127a')][_0x1cd3('0x481')](_0x1cd3('0x183e'),_0x1cd3('0x762'));this['image'][_0x1cd3('0x440')]['marginRight']=_0x1cd3('0x2bcd');this[_0x1cd3('0x127a')][_0x1cd3('0x440')][_0x1cd3('0x2bbf')]=_0x1cd3('0x538');this[_0x1cd3('0x127a')][_0x1cd3('0x440')][_0x1cd3('0x2bce')]=_0x1cd3('0x2bcf');this[_0x1cd3('0x486')][_0x1cd3('0x2bc9')](this[_0x1cd3('0x127a')],this[_0x1cd3('0x486')]['firstChild']);};mxWindow[_0x1cd3('0x77a')][_0x1cd3('0x29b7')]=function(_0x278b3c){this['closeImg'][_0x1cd3('0x440')][_0x1cd3('0x6ac')]=_0x278b3c?'':_0x1cd3('0x6ae');};mxWindow[_0x1cd3('0x77a')]['isVisible']=function(){return null!=this[_0x1cd3('0x2a72')]?_0x1cd3('0x533')!=this['div']['style'][_0x1cd3('0x29c7')]:!0x1;};mxWindow[_0x1cd3('0x77a')][_0x1cd3('0x29c1')]=function(_0x2823b7){null!=this[_0x1cd3('0x2a72')]&&this[_0x1cd3('0x29c0')]()!=_0x2823b7&&(_0x2823b7?this[_0x1cd3('0x37e')]():this['hide']());};mxWindow['prototype']['show']=function(){this['div'][_0x1cd3('0x440')][_0x1cd3('0x29c7')]='';this['activate']();var _0x45a95d=mxUtils[_0x1cd3('0x29f0')](this[_0x1cd3('0x2ba8')]);if(!mxClient['IS_IE']&&('auto'==_0x45a95d[_0x1cd3('0x29f1')]||null!=this[_0x1cd3('0x29a4')]))this[_0x1cd3('0x2ba8')][_0x1cd3('0x440')]['height']=this['div'][_0x1cd3('0x535')]-this[_0x1cd3('0x486')]['offsetHeight']-0x2+'px';this[_0x1cd3('0x2b28')](new mxEventObject(mxEvent[_0x1cd3('0x2bd0')]));};mxWindow[_0x1cd3('0x77a')][_0x1cd3('0x39d')]=function(){this[_0x1cd3('0x2a72')][_0x1cd3('0x440')]['visibility']=_0x1cd3('0x533');this[_0x1cd3('0x2b28')](new mxEventObject(mxEvent[_0x1cd3('0x2bd1')]));};mxWindow['prototype'][_0x1cd3('0x2bcb')]=function(){this[_0x1cd3('0x2b28')](new mxEventObject(mxEvent['DESTROY']));null!=this[_0x1cd3('0x2a72')]&&(mxEvent[_0x1cd3('0x2bd2')](this[_0x1cd3('0x2a72')]),this[_0x1cd3('0x2a72')][_0x1cd3('0x29ea')]['removeChild'](this[_0x1cd3('0x2a72')]),this[_0x1cd3('0x2a72')]=null);this[_0x1cd3('0x2ba8')]=this[_0x1cd3('0xd3b')]=this[_0x1cd3('0x486')]=null;};function mxForm(_0x55edbf){this[_0x1cd3('0xd45')]=document[_0x1cd3('0x3aa')](_0x1cd3('0xd45'));this[_0x1cd3('0xd45')][_0x1cd3('0x45d')]=_0x55edbf;this[_0x1cd3('0x380')]=document['createElement']('tbody');this[_0x1cd3('0xd45')][_0x1cd3('0xd4e')](this['body']);}mxForm[_0x1cd3('0x77a')][_0x1cd3('0xd45')]=null;mxForm[_0x1cd3('0x77a')][_0x1cd3('0x380')]=!0x1;mxForm[_0x1cd3('0x77a')][_0x1cd3('0x2bd3')]=function(){return this[_0x1cd3('0xd45')];};mxForm[_0x1cd3('0x77a')][_0x1cd3('0x2bd4')]=function(_0x572e91,_0x23740d){var _0x329eeb=document[_0x1cd3('0x3aa')]('tr'),_0x31e7e5=document[_0x1cd3('0x3aa')]('td');_0x329eeb[_0x1cd3('0xd4e')](_0x31e7e5);var _0x31e7e5=document['createElement']('td'),_0x493232=document[_0x1cd3('0x3aa')](_0x1cd3('0x2a1a'));mxUtils[_0x1cd3('0x28be')](_0x493232,mxResources[_0x1cd3('0x361')]('ok')||'OK');_0x31e7e5[_0x1cd3('0xd4e')](_0x493232);mxEvent['addListener'](_0x493232,_0x1cd3('0x52d'),function(){_0x572e91();});_0x493232=document[_0x1cd3('0x3aa')](_0x1cd3('0x2a1a'));mxUtils[_0x1cd3('0x28be')](_0x493232,mxResources['get'](_0x1cd3('0x4d8'))||_0x1cd3('0x674'));_0x31e7e5[_0x1cd3('0xd4e')](_0x493232);mxEvent[_0x1cd3('0x29ba')](_0x493232,'click',function(){_0x23740d();});_0x329eeb[_0x1cd3('0xd4e')](_0x31e7e5);this[_0x1cd3('0x380')]['appendChild'](_0x329eeb);};mxForm[_0x1cd3('0x77a')][_0x1cd3('0x2bd5')]=function(_0x59d001,_0x135314){var _0x24128d=document[_0x1cd3('0x3aa')]('input');_0x24128d[_0x1cd3('0x481')](_0x1cd3('0x424'),_0x1cd3('0x401'));_0x24128d[_0x1cd3('0x3db')]=_0x135314;return this[_0x1cd3('0x2bd6')](_0x59d001,_0x24128d);};mxForm[_0x1cd3('0x77a')][_0x1cd3('0x2bd7')]=function(_0xf5062e,_0x57c95e){var _0x1f34ee=document[_0x1cd3('0x3aa')](_0x1cd3('0x1304'));_0x1f34ee[_0x1cd3('0x481')](_0x1cd3('0x424'),'checkbox');this['addField'](_0xf5062e,_0x1f34ee);_0x57c95e&&(_0x1f34ee[_0x1cd3('0x2bd8')]=!0x0);return _0x1f34ee;};mxForm[_0x1cd3('0x77a')][_0x1cd3('0x2bd9')]=function(_0x61017f,_0x35f410,_0x2000cc){var _0x2e4c3f=document['createElement']('textarea');mxClient['IS_NS']&&_0x2000cc--;_0x2e4c3f['setAttribute']('rows',_0x2000cc||0x2);_0x2e4c3f['value']=_0x35f410;return this[_0x1cd3('0x2bd6')](_0x61017f,_0x2e4c3f);};mxForm['prototype'][_0x1cd3('0x2bda')]=function(_0x4a1cc9,_0x4a3ceb,_0x19e894){var _0x4011a7=document[_0x1cd3('0x3aa')](_0x1cd3('0x44f'));null!=_0x19e894&&_0x4011a7[_0x1cd3('0x481')](_0x1cd3('0x113e'),_0x19e894);_0x4a3ceb&&_0x4011a7['setAttribute'](_0x1cd3('0x2bdb'),_0x1cd3('0x2e0'));return this[_0x1cd3('0x2bd6')](_0x4a1cc9,_0x4011a7);};mxForm[_0x1cd3('0x77a')][_0x1cd3('0x2bdc')]=function(_0x82c274,_0x33006e,_0x2805f6,_0x3a0721){var _0x4045ff=document[_0x1cd3('0x3aa')](_0x1cd3('0x21c9'));mxUtils[_0x1cd3('0x29bf')](_0x4045ff,_0x33006e);_0x4045ff[_0x1cd3('0x481')](_0x1cd3('0x3db'),_0x2805f6);_0x3a0721&&_0x4045ff['setAttribute'](_0x1cd3('0x1ddd'),_0x3a0721);_0x82c274['appendChild'](_0x4045ff);};mxForm[_0x1cd3('0x77a')][_0x1cd3('0x2bd6')]=function(_0x40e468,_0x11e644){var _0x55480e=document[_0x1cd3('0x3aa')]('tr'),_0x544262=document[_0x1cd3('0x3aa')]('td');mxUtils['write'](_0x544262,_0x40e468);_0x55480e['appendChild'](_0x544262);_0x544262=document['createElement']('td');_0x544262[_0x1cd3('0xd4e')](_0x11e644);_0x55480e[_0x1cd3('0xd4e')](_0x544262);this[_0x1cd3('0x380')][_0x1cd3('0xd4e')](_0x55480e);return _0x11e644;};function mxImage(_0x1033c8,_0x3b7805,_0x2d736a){this['src']=_0x1033c8;this['width']=_0x3b7805;this['height']=_0x2d736a;}mxImage[_0x1cd3('0x77a')][_0x1cd3('0x487')]=null;mxImage[_0x1cd3('0x77a')][_0x1cd3('0x4d7')]=null;mxImage[_0x1cd3('0x77a')][_0x1cd3('0x4e4')]=null;function mxDivResizer(_0x5a9ecf,_0x1528e2){if(_0x1cd3('0x2a72')==_0x5a9ecf[_0x1cd3('0x2a0c')][_0x1cd3('0x433')]()){null==_0x1528e2&&(_0x1528e2=window);this['div']=_0x5a9ecf;var _0x3c0791=mxUtils[_0x1cd3('0x29f0')](_0x5a9ecf);null!=_0x3c0791&&(this[_0x1cd3('0x2bdd')]=_0x1cd3('0x534')==_0x3c0791['width'],this[_0x1cd3('0x2bde')]=_0x1cd3('0x534')==_0x3c0791[_0x1cd3('0x4e4')]);mxEvent[_0x1cd3('0x29ba')](_0x1528e2,_0x1cd3('0x29a4'),mxUtils[_0x1cd3('0x5b2')](this,function(_0x1e31c6){this[_0x1cd3('0x2bdf')]||(this[_0x1cd3('0x2bdf')]=!0x0,this[_0x1cd3('0x29a4')](),this[_0x1cd3('0x2bdf')]=!0x1);}));this[_0x1cd3('0x29a4')]();}}mxDivResizer['prototype']['resizeWidth']=!0x0;mxDivResizer['prototype'][_0x1cd3('0x2bde')]=!0x0;mxDivResizer[_0x1cd3('0x77a')][_0x1cd3('0x2bdf')]=!0x1;mxDivResizer[_0x1cd3('0x77a')][_0x1cd3('0x29a4')]=function(){var _0x31caa5=this['getDocumentWidth'](),_0x5e9e8b=this[_0x1cd3('0x2be0')](),_0x1ce0c2=parseInt(this['div']['style'][_0x1cd3('0x762')]),_0x1b1b04=parseInt(this[_0x1cd3('0x2a72')]['style'][_0x1cd3('0x58e')]),_0x20179b=parseInt(this[_0x1cd3('0x2a72')]['style'][_0x1cd3('0x712')]),_0x376713=parseInt(this[_0x1cd3('0x2a72')][_0x1cd3('0x440')][_0x1cd3('0x2bb0')]);this[_0x1cd3('0x2bdd')]&&(!isNaN(_0x1ce0c2)&&!isNaN(_0x1b1b04)&&0x0<=_0x1ce0c2&&0x0<=_0x1b1b04&&0x0<_0x31caa5-_0x1b1b04-_0x1ce0c2)&&(this[_0x1cd3('0x2a72')]['style'][_0x1cd3('0x4d7')]=_0x31caa5-_0x1b1b04-_0x1ce0c2+'px');this[_0x1cd3('0x2bde')]&&(!isNaN(_0x20179b)&&!isNaN(_0x376713)&&0x0<=_0x20179b&&0x0<=_0x376713&&0x0<_0x5e9e8b-_0x20179b-_0x376713)&&(this[_0x1cd3('0x2a72')]['style'][_0x1cd3('0x4e4')]=_0x5e9e8b-_0x20179b-_0x376713+'px');};mxDivResizer['prototype'][_0x1cd3('0x2be1')]=function(){return document[_0x1cd3('0x380')][_0x1cd3('0x29b5')];};mxDivResizer[_0x1cd3('0x77a')][_0x1cd3('0x2be0')]=function(){return document[_0x1cd3('0x380')]['clientHeight'];};function mxDragSource(_0x311184,_0x38f02d){this[_0x1cd3('0x37f')]=_0x311184;this['dropHandler']=_0x38f02d;mxEvent[_0x1cd3('0x2b32')](_0x311184,mxUtils[_0x1cd3('0x5b2')](this,this[_0x1cd3('0x2b4a')]));}mxDragSource[_0x1cd3('0x77a')][_0x1cd3('0x37f')]=null;mxDragSource['prototype'][_0x1cd3('0x2be2')]=null;mxDragSource[_0x1cd3('0x77a')][_0x1cd3('0x2be3')]=null;mxDragSource[_0x1cd3('0x77a')][_0x1cd3('0x2be4')]=null;mxDragSource[_0x1cd3('0x77a')][_0x1cd3('0x2be5')]=null;mxDragSource[_0x1cd3('0x77a')][_0x1cd3('0x396')]=!0x0;mxDragSource['prototype'][_0x1cd3('0x2be6')]=null;mxDragSource[_0x1cd3('0x77a')]['currentDropTarget']=null;mxDragSource[_0x1cd3('0x77a')][_0x1cd3('0x2be7')]=null;mxDragSource['prototype'][_0x1cd3('0x2be8')]=null;mxDragSource[_0x1cd3('0x77a')][_0x1cd3('0x2be9')]=null;mxDragSource[_0x1cd3('0x77a')][_0x1cd3('0x2aa3')]=!0x0;mxDragSource[_0x1cd3('0x77a')][_0x1cd3('0x2bea')]=!0x0;mxDragSource['prototype'][_0x1cd3('0x2beb')]=!0x0;mxDragSource[_0x1cd3('0x77a')][_0x1cd3('0x2aa5')]=!0x0;mxDragSource['prototype'][_0x1cd3('0x2bec')]=0x64;mxDragSource[_0x1cd3('0x77a')][_0x1cd3('0x2bed')]=0x46;mxDragSource[_0x1cd3('0x77a')]['isEnabled']=function(){return this[_0x1cd3('0x396')];};mxDragSource[_0x1cd3('0x77a')][_0x1cd3('0x2bee')]=function(_0x3f02f3){this[_0x1cd3('0x396')]=_0x3f02f3;};mxDragSource[_0x1cd3('0x77a')][_0x1cd3('0x2bef')]=function(){return this['guidesEnabled'];};mxDragSource[_0x1cd3('0x77a')][_0x1cd3('0x2aa4')]=function(_0x3d6131){this[_0x1cd3('0x2bea')]=_0x3d6131;};mxDragSource[_0x1cd3('0x77a')][_0x1cd3('0x2bf0')]=function(){return this['gridEnabled'];};mxDragSource['prototype'][_0x1cd3('0x2bf1')]=function(_0x2177be){this['gridEnabled']=_0x2177be;};mxDragSource[_0x1cd3('0x77a')][_0x1cd3('0x2bf2')]=function(_0x20cede){return null;};mxDragSource[_0x1cd3('0x77a')][_0x1cd3('0x2aa6')]=function(_0x298eb5,_0x1e068c,_0x25557f){return _0x298eb5[_0x1cd3('0x2bf3')](_0x1e068c,_0x25557f);};mxDragSource[_0x1cd3('0x77a')]['createDragElement']=function(_0x3256f8){return this[_0x1cd3('0x37f')][_0x1cd3('0x2a80')](!0x0);};mxDragSource['prototype'][_0x1cd3('0x2aa7')]=function(_0x5891ee){return null;};mxDragSource[_0x1cd3('0x77a')][_0x1cd3('0x2b4a')]=function(_0x4f7960){this[_0x1cd3('0x396')]&&(!mxEvent[_0x1cd3('0x2b13')](_0x4f7960)&&null==this[_0x1cd3('0x2bf4')])&&(this[_0x1cd3('0x2bf5')](_0x4f7960),this[_0x1cd3('0x2bf4')]=mxUtils['bind'](this,this['mouseMove']),this[_0x1cd3('0x2bf6')]=mxUtils['bind'](this,this['mouseUp']),mxEvent[_0x1cd3('0x2b32')](document,null,this[_0x1cd3('0x2bf4')],this[_0x1cd3('0x2bf6')]),mxEvent[_0x1cd3('0x2b14')](_0x4f7960,!0x0,!0x1));};mxDragSource[_0x1cd3('0x77a')][_0x1cd3('0x2bf5')]=function(_0x212688){this[_0x1cd3('0x2be4')]=this['createDragElement'](_0x212688);this[_0x1cd3('0x2be4')][_0x1cd3('0x440')][_0x1cd3('0x679')]=_0x1cd3('0x532');this[_0x1cd3('0x2be4')][_0x1cd3('0x440')]['zIndex']=this['dragElementZIndex'];mxUtils[_0x1cd3('0x29e8')](this['dragElement'],this[_0x1cd3('0x2bed')]);};mxDragSource[_0x1cd3('0x77a')][_0x1cd3('0x2bf7')]=function(_0x8452f){null!=this[_0x1cd3('0x2be4')]&&(null!=this[_0x1cd3('0x2be4')][_0x1cd3('0x29ea')]&&this['dragElement'][_0x1cd3('0x29ea')][_0x1cd3('0x1817')](this[_0x1cd3('0x2be4')]),this[_0x1cd3('0x2be4')]=null);};mxDragSource[_0x1cd3('0x77a')][_0x1cd3('0x2bf8')]=function(_0x22a066,_0x307fc3){var _0x422b72=mxEvent[_0x1cd3('0x2b19')](_0x307fc3),_0x265ea8=mxEvent['getClientY'](_0x307fc3),_0x2369fd=mxUtils[_0x1cd3('0x2a61')](_0x22a066[_0x1cd3('0x4ce')]),_0x3243a7=mxUtils[_0x1cd3('0x2a60')]();return _0x422b72>=_0x2369fd['x']-_0x3243a7['x']&&_0x265ea8>=_0x2369fd['y']-_0x3243a7['y']&&_0x422b72<=_0x2369fd['x']-_0x3243a7['x']+_0x22a066[_0x1cd3('0x4ce')]['offsetWidth']&&_0x265ea8<=_0x2369fd['y']-_0x3243a7['y']+_0x22a066[_0x1cd3('0x4ce')][_0x1cd3('0x535')];};mxDragSource[_0x1cd3('0x77a')][_0x1cd3('0x2b4b')]=function(_0x492b1c){var _0x5857ef=this[_0x1cd3('0x2bf2')](_0x492b1c);null!=_0x5857ef&&!this[_0x1cd3('0x2bf8')](_0x5857ef,_0x492b1c)&&(_0x5857ef=null);_0x5857ef!=this[_0x1cd3('0x2be6')]&&(null!=this[_0x1cd3('0x2be6')]&&this[_0x1cd3('0x2bf9')](this[_0x1cd3('0x2be6')]),this[_0x1cd3('0x2be6')]=_0x5857ef,null!=this[_0x1cd3('0x2be6')]&&this[_0x1cd3('0x2bfa')](this[_0x1cd3('0x2be6')]));null!=this[_0x1cd3('0x2be6')]&&this[_0x1cd3('0x2bfb')](this['currentGraph'],_0x492b1c);if(null!=this[_0x1cd3('0x2be4')]&&(null==this[_0x1cd3('0x2be5')]||_0x1cd3('0x29c8')!=this['previewElement'][_0x1cd3('0x440')][_0x1cd3('0x29c7')])){var _0x5857ef=mxEvent['getClientX'](_0x492b1c),_0x410ffc=mxEvent[_0x1cd3('0x2b1c')](_0x492b1c);null==this[_0x1cd3('0x2be4')]['parentNode']&&document['body'][_0x1cd3('0xd4e')](this[_0x1cd3('0x2be4')]);this[_0x1cd3('0x2be4')][_0x1cd3('0x440')][_0x1cd3('0x29c7')]='visible';null!=this['dragOffset']&&(_0x5857ef+=this['dragOffset']['x'],_0x410ffc+=this[_0x1cd3('0x2be3')]['y']);_0x5857ef+=document['body']['scrollLeft']||document[_0x1cd3('0x2a20')]['scrollLeft'];_0x410ffc+=document[_0x1cd3('0x380')][_0x1cd3('0x515')]||document[_0x1cd3('0x2a20')][_0x1cd3('0x515')];this[_0x1cd3('0x2be4')][_0x1cd3('0x440')][_0x1cd3('0x762')]=_0x5857ef+'px';this[_0x1cd3('0x2be4')]['style']['top']=_0x410ffc+'px';}else null!=this[_0x1cd3('0x2be4')]&&(this[_0x1cd3('0x2be4')][_0x1cd3('0x440')][_0x1cd3('0x29c7')]=_0x1cd3('0x533'));mxEvent['consume'](_0x492b1c);};mxDragSource[_0x1cd3('0x77a')]['mouseUp']=function(_0x1e95e9){if(null!=this[_0x1cd3('0x2be6')]){if(null!=this[_0x1cd3('0x2be7')]&&(null==this[_0x1cd3('0x2be5')]||'hidden'!=this['previewElement'][_0x1cd3('0x440')][_0x1cd3('0x29c7')])){var _0x1744af=this[_0x1cd3('0x2be6')][_0x1cd3('0x1665')][_0x1cd3('0x29df')],_0x4ecc22=this[_0x1cd3('0x2be6')][_0x1cd3('0x1665')][_0x1cd3('0x43c')];this['drop'](this[_0x1cd3('0x2be6')],_0x1e95e9,this[_0x1cd3('0x2bfc')],this[_0x1cd3('0x2be7')]['x']/_0x1744af-_0x4ecc22['x'],this[_0x1cd3('0x2be7')]['y']/_0x1744af-_0x4ecc22['y']);}this[_0x1cd3('0x2bf9')](this['currentGraph']);}this['stopDrag'](_0x1e95e9);mxEvent['removeGestureListeners'](document,null,this[_0x1cd3('0x2bf4')],this[_0x1cd3('0x2bf6')]);this['currentGraph']=this['mouseUpHandler']=this[_0x1cd3('0x2bf4')]=null;mxEvent['consume'](_0x1e95e9);};mxDragSource['prototype'][_0x1cd3('0x2bfa')]=function(_0x1c0a0f){_0x1c0a0f[_0x1cd3('0x2bfd')]=!0x0;this[_0x1cd3('0x2be5')]=this[_0x1cd3('0x2aa7')](_0x1c0a0f);this[_0x1cd3('0x2bef')]()&&null!=this['previewElement']&&(this['currentGuide']=new mxGuide(_0x1c0a0f,_0x1c0a0f[_0x1cd3('0x2bfe')][_0x1cd3('0x2bff')]()));this[_0x1cd3('0x2aa5')]&&(this['currentHighlight']=new mxCellHighlight(_0x1c0a0f,mxConstants[_0x1cd3('0x2c00')]));};mxDragSource[_0x1cd3('0x77a')]['dragExit']=function(_0x57211b){this[_0x1cd3('0x2be7')]=this[_0x1cd3('0x2bfc')]=null;_0x57211b[_0x1cd3('0x2bfd')]=!0x1;null!=this[_0x1cd3('0x2be5')]&&(null!=this['previewElement'][_0x1cd3('0x29ea')]&&this[_0x1cd3('0x2be5')]['parentNode'][_0x1cd3('0x1817')](this['previewElement']),this[_0x1cd3('0x2be5')]=null);null!=this[_0x1cd3('0x2be8')]&&(this[_0x1cd3('0x2be8')]['destroy'](),this['currentGuide']=null);null!=this['currentHighlight']&&(this[_0x1cd3('0x2be9')][_0x1cd3('0x2bcb')](),this['currentHighlight']=null);};mxDragSource['prototype'][_0x1cd3('0x2bfb')]=function(_0x31aa0c,_0x27f776){var _0xd12ef7=mxUtils[_0x1cd3('0x2a61')](_0x31aa0c['container']),_0xb906c5=mxUtils['getScrollOrigin'](_0x31aa0c['container']),_0x2390db=mxEvent[_0x1cd3('0x2b19')](_0x27f776)-_0xd12ef7['x']+_0xb906c5['x'],_0xd12ef7=mxEvent['getClientY'](_0x27f776)-_0xd12ef7['y']+_0xb906c5['y'];_0x31aa0c[_0x1cd3('0x2c01')]&&(null==this[_0x1cd3('0x2aa3')]||this[_0x1cd3('0x2aa3')])&&_0x31aa0c[_0x1cd3('0x2c02')](_0x2390db,_0xd12ef7,_0x31aa0c[_0x1cd3('0x2c03')]);null!=this[_0x1cd3('0x2be9')]&&_0x31aa0c['isDropEnabled']()&&(this[_0x1cd3('0x2bfc')]=this[_0x1cd3('0x2aa6')](_0x31aa0c,_0x2390db,_0xd12ef7),_0xb906c5=_0x31aa0c[_0x1cd3('0x29de')]()[_0x1cd3('0x29d9')](this[_0x1cd3('0x2bfc')]),this[_0x1cd3('0x2be9')][_0x1cd3('0x3f2')](_0xb906c5));if(null!=this[_0x1cd3('0x2be5')]){null==this[_0x1cd3('0x2be5')][_0x1cd3('0x29ea')]&&(_0x31aa0c['container'][_0x1cd3('0xd4e')](this[_0x1cd3('0x2be5')]),this[_0x1cd3('0x2be5')][_0x1cd3('0x440')][_0x1cd3('0x2bac')]='3',this[_0x1cd3('0x2be5')][_0x1cd3('0x440')][_0x1cd3('0x679')]=_0x1cd3('0x532'));var _0xb906c5=this[_0x1cd3('0x2bf0')]()&&_0x31aa0c[_0x1cd3('0x2c04')](_0x27f776),_0x2ce615=!0x0;if(null!=this[_0x1cd3('0x2be8')]&&this[_0x1cd3('0x2be8')][_0x1cd3('0x2c05')](_0x27f776))var _0x2ce615=parseInt(this[_0x1cd3('0x2be5')]['style'][_0x1cd3('0x4d7')]),_0x1d283f=parseInt(this[_0x1cd3('0x2be5')][_0x1cd3('0x440')][_0x1cd3('0x4e4')]),_0x2ce615=new mxRectangle(0x0,0x0,_0x2ce615,_0x1d283f),_0xd12ef7=new mxPoint(_0x2390db,_0xd12ef7),_0xd12ef7=this[_0x1cd3('0x2be8')][_0x1cd3('0x2ab4')](_0x2ce615,_0xd12ef7,_0xb906c5),_0x2ce615=!0x1,_0x2390db=_0xd12ef7['x'],_0xd12ef7=_0xd12ef7['y'];else if(_0xb906c5)var _0xb906c5=_0x31aa0c[_0x1cd3('0x1665')]['scale'],_0x1d283f=_0x31aa0c[_0x1cd3('0x1665')][_0x1cd3('0x43c')],_0x52f22b=_0x31aa0c[_0x1cd3('0x2c06')]/0x2,_0x2390db=(_0x31aa0c[_0x1cd3('0x2c07')](_0x2390db/_0xb906c5-_0x1d283f['x']-_0x52f22b)+_0x1d283f['x'])*_0xb906c5,_0xd12ef7=(_0x31aa0c['snap'](_0xd12ef7/_0xb906c5-_0x1d283f['y']-_0x52f22b)+_0x1d283f['y'])*_0xb906c5;null!=this['currentGuide']&&_0x2ce615&&this['currentGuide'][_0x1cd3('0x39d')]();null!=this[_0x1cd3('0x2c08')]&&(_0x2390db+=this[_0x1cd3('0x2c08')]['x'],_0xd12ef7+=this['previewOffset']['y']);this[_0x1cd3('0x2be5')][_0x1cd3('0x440')][_0x1cd3('0x762')]=Math[_0x1cd3('0x18ba')](_0x2390db)+'px';this[_0x1cd3('0x2be5')]['style'][_0x1cd3('0x712')]=Math['round'](_0xd12ef7)+'px';this['previewElement']['style'][_0x1cd3('0x29c7')]=_0x1cd3('0x29c8');}this['currentPoint']=new mxPoint(_0x2390db,_0xd12ef7);};mxDragSource[_0x1cd3('0x77a')][_0x1cd3('0x16c2')]=function(_0x358c06,_0x1becd6,_0x377f5f,_0x33119a,_0xd12ad4){this[_0x1cd3('0x2be2')](_0x358c06,_0x1becd6,_0x377f5f,_0x33119a,_0xd12ad4);_0x358c06[_0x1cd3('0x4ce')][_0x1cd3('0x15e4')]();};function mxToolbar(_0x585cd2){this[_0x1cd3('0x4ce')]=_0x585cd2;}mxToolbar[_0x1cd3('0x77a')]=new mxEventSource();mxToolbar[_0x1cd3('0x77a')]['constructor']=mxToolbar;mxToolbar['prototype'][_0x1cd3('0x4ce')]=null;mxToolbar['prototype'][_0x1cd3('0x396')]=!0x0;mxToolbar[_0x1cd3('0x77a')][_0x1cd3('0x2c09')]=!0x1;mxToolbar[_0x1cd3('0x77a')][_0x1cd3('0x2c0a')]=!0x0;mxToolbar[_0x1cd3('0x77a')][_0x1cd3('0x14d7')]=function(_0x253165,_0x469d79,_0x5e8ea8,_0x422feb,_0x1ad2d7,_0x64292a){var _0x4718d5=document['createElement'](null!=_0x469d79?_0x1cd3('0x774'):_0x1cd3('0x2a1a')),_0x578c7d=_0x1ad2d7||(null!=_0x64292a?_0x1cd3('0x2c0b'):'mxToolbarItem');_0x4718d5[_0x1cd3('0x45d')]=_0x578c7d;_0x4718d5[_0x1cd3('0x481')](_0x1cd3('0x487'),_0x469d79);null!=_0x253165&&(null!=_0x469d79?_0x4718d5[_0x1cd3('0x481')]('title',_0x253165):mxUtils[_0x1cd3('0x28be')](_0x4718d5,_0x253165));this[_0x1cd3('0x4ce')][_0x1cd3('0xd4e')](_0x4718d5);null!=_0x5e8ea8&&(mxEvent[_0x1cd3('0x29ba')](_0x4718d5,_0x1cd3('0x52d'),_0x5e8ea8),mxClient['IS_TOUCH']&&mxEvent[_0x1cd3('0x29ba')](_0x4718d5,_0x1cd3('0x2b31'),_0x5e8ea8));_0x253165=mxUtils[_0x1cd3('0x5b2')](this,function(_0x4126c9){null!=_0x422feb?_0x4718d5[_0x1cd3('0x481')](_0x1cd3('0x487'),_0x469d79):_0x4718d5[_0x1cd3('0x440')][_0x1cd3('0x2c0c')]='';});mxEvent['addGestureListeners'](_0x4718d5,mxUtils['bind'](this,function(_0x51058b){null!=_0x422feb?_0x4718d5['setAttribute'](_0x1cd3('0x487'),_0x422feb):_0x4718d5[_0x1cd3('0x440')][_0x1cd3('0x2c0c')]=_0x1cd3('0x2ab1');if(null!=_0x64292a){null==this[_0x1cd3('0x2c0d')]&&(this[_0x1cd3('0x2c0d')]=new mxPopupMenu(),this[_0x1cd3('0x2c0d')][_0x1cd3('0xe08')]());var _0x469d79=this[_0x1cd3('0x2c0e')];this['menu'][_0x1cd3('0x2c0f')]()&&this[_0x1cd3('0x2c0d')]['hideMenu']();_0x469d79!=_0x4718d5&&(this[_0x1cd3('0x2c0e')]=_0x4718d5,this['menu'][_0x1cd3('0x2c10')]=_0x64292a,_0x469d79=new mxPoint(_0x4718d5['offsetLeft'],_0x4718d5[_0x1cd3('0x2a21')]+_0x4718d5['offsetHeight']),this[_0x1cd3('0x2c0d')][_0x1cd3('0x15ad')](_0x469d79['x'],_0x469d79['y'],null,_0x51058b),this[_0x1cd3('0x2c0d')][_0x1cd3('0x2c0f')]()&&(_0x4718d5[_0x1cd3('0x45d')]=_0x578c7d+'Selected',this[_0x1cd3('0x2c0d')][_0x1cd3('0x2c11')]=function(){mxPopupMenu[_0x1cd3('0x77a')][_0x1cd3('0x2c11')][_0x1cd3('0x4df')](this);_0x4718d5[_0x1cd3('0x45d')]=_0x578c7d;this[_0x1cd3('0x2c0e')]=null;}));}}),null,_0x253165);mxEvent[_0x1cd3('0x29ba')](_0x4718d5,_0x1cd3('0x2c12'),_0x253165);return _0x4718d5;};mxToolbar[_0x1cd3('0x77a')]['addCombo']=function(_0x56073f){var _0x549b12=document[_0x1cd3('0x3aa')]('div');_0x549b12[_0x1cd3('0x440')]['display']=_0x1cd3('0x6ad');_0x549b12['className']=_0x1cd3('0x2c13');var _0x262c48=document['createElement'](_0x1cd3('0x44f'));_0x262c48[_0x1cd3('0x45d')]=_0x56073f||_0x1cd3('0x2c14');_0x549b12['appendChild'](_0x262c48);this[_0x1cd3('0x4ce')][_0x1cd3('0xd4e')](_0x549b12);return _0x262c48;};mxToolbar[_0x1cd3('0x77a')]['addActionCombo']=function(_0x424e2d,_0x7e1fb6){var _0x405cb8=document['createElement'](_0x1cd3('0x44f'));_0x405cb8[_0x1cd3('0x45d')]=_0x7e1fb6||_0x1cd3('0x2c14');this[_0x1cd3('0x2bdc')](_0x405cb8,_0x424e2d,null);mxEvent[_0x1cd3('0x29ba')](_0x405cb8,_0x1cd3('0x14c4'),function(_0x450991){var _0x7e1fb6=_0x405cb8[_0x1cd3('0x422')][_0x405cb8[_0x1cd3('0x4be')]];_0x405cb8['selectedIndex']=0x0;null!=_0x7e1fb6['funct']&&_0x7e1fb6[_0x1cd3('0x2c15')](_0x450991);});this[_0x1cd3('0x4ce')][_0x1cd3('0xd4e')](_0x405cb8);return _0x405cb8;};mxToolbar[_0x1cd3('0x77a')][_0x1cd3('0x2bdc')]=function(_0x3d0eb9,_0x34d445,_0x26e707){var _0x217d7b=document[_0x1cd3('0x3aa')]('option');mxUtils[_0x1cd3('0x29bf')](_0x217d7b,_0x34d445);_0x1cd3('0x77c')==typeof _0x26e707?_0x217d7b[_0x1cd3('0x2c15')]=_0x26e707:_0x217d7b['setAttribute'](_0x1cd3('0x3db'),_0x26e707);_0x3d0eb9[_0x1cd3('0xd4e')](_0x217d7b);return _0x217d7b;};mxToolbar[_0x1cd3('0x77a')][_0x1cd3('0x2c16')]=function(_0x2415d5,_0x307b26,_0x1d4dfb,_0x3d1100,_0x5c519a){var _0x4d35c8=document['createElement']('img');_0x4d35c8[_0x1cd3('0x2c17')]=_0x5c519a||_0x1cd3('0x2c0b');_0x4d35c8[_0x1cd3('0x45d')]=_0x4d35c8['initialClassName'];_0x4d35c8['setAttribute'](_0x1cd3('0x487'),_0x307b26);_0x4d35c8['altIcon']=_0x3d1100;null!=_0x2415d5&&_0x4d35c8[_0x1cd3('0x481')](_0x1cd3('0x486'),_0x2415d5);mxEvent[_0x1cd3('0x29ba')](_0x4d35c8,_0x1cd3('0x52d'),mxUtils['bind'](this,function(_0x155f91){_0x155f91=this[_0x1cd3('0x58f')][_0x1cd3('0x2c18')];null!=_0x155f91?(this[_0x1cd3('0x58f')][_0x1cd3('0x2c18')]=this[_0x1cd3('0x58f')][_0x1cd3('0x29f4')](_0x1cd3('0x487')),this['selectedMode'][_0x1cd3('0x481')](_0x1cd3('0x487'),_0x155f91)):this[_0x1cd3('0x58f')]['className']=this['selectedMode'][_0x1cd3('0x2c17')];this[_0x1cd3('0x2c0a')]&&(this['defaultMode']=_0x4d35c8);this[_0x1cd3('0x58f')]=_0x4d35c8;_0x155f91=_0x4d35c8[_0x1cd3('0x2c18')];null!=_0x155f91?(_0x4d35c8[_0x1cd3('0x2c18')]=_0x4d35c8[_0x1cd3('0x29f4')](_0x1cd3('0x487')),_0x4d35c8[_0x1cd3('0x481')]('src',_0x155f91)):_0x4d35c8['className']=_0x4d35c8[_0x1cd3('0x2c17')]+_0x1cd3('0x2c19');this['fireEvent'](new mxEventObject(mxEvent[_0x1cd3('0x2c1a')]));_0x1d4dfb();}));this['container'][_0x1cd3('0xd4e')](_0x4d35c8);null==this[_0x1cd3('0x2c1b')]&&(this[_0x1cd3('0x2c1b')]=_0x4d35c8,this[_0x1cd3('0x2c1c')](_0x4d35c8),_0x1d4dfb());return _0x4d35c8;};mxToolbar['prototype'][_0x1cd3('0x2c1d')]=function(_0x4353f1,_0x522c43,_0x405dd0,_0x2caa19,_0x58d9fe,_0x177f63){_0x177f63=null!=_0x177f63?_0x177f63:!0x0;var _0x2d5693=document[_0x1cd3('0x3aa')](null!=_0x522c43?_0x1cd3('0x774'):_0x1cd3('0x2a1a'));_0x2d5693['initialClassName']=_0x58d9fe||_0x1cd3('0x2c0b');_0x2d5693['className']=_0x2d5693[_0x1cd3('0x2c17')];_0x2d5693['setAttribute'](_0x1cd3('0x487'),_0x522c43);_0x2d5693[_0x1cd3('0x2c18')]=_0x2caa19;null!=_0x4353f1&&_0x2d5693[_0x1cd3('0x481')](_0x1cd3('0x486'),_0x4353f1);this[_0x1cd3('0x396')]&&_0x177f63&&(mxEvent[_0x1cd3('0x29ba')](_0x2d5693,_0x1cd3('0x52d'),mxUtils[_0x1cd3('0x5b2')](this,function(_0x8ba23a){this['selectMode'](_0x2d5693,_0x405dd0);this[_0x1cd3('0x2c09')]=!0x1;})),mxEvent[_0x1cd3('0x29ba')](_0x2d5693,_0x1cd3('0x2c1e'),mxUtils['bind'](this,function(_0x4c8c9f){this[_0x1cd3('0x2c1c')](_0x2d5693,_0x405dd0);this[_0x1cd3('0x2c09')]=!0x0;})),null==this[_0x1cd3('0x2c1b')]&&(this['defaultMode']=_0x2d5693,this['defaultFunction']=_0x405dd0,this[_0x1cd3('0x2c1c')](_0x2d5693,_0x405dd0)));this['container'][_0x1cd3('0xd4e')](_0x2d5693);return _0x2d5693;};mxToolbar[_0x1cd3('0x77a')]['selectMode']=function(_0x4adef0,_0x534a83){if(this[_0x1cd3('0x58f')]!=_0x4adef0){if(null!=this[_0x1cd3('0x58f')]){var _0x4e5eb0=this[_0x1cd3('0x58f')][_0x1cd3('0x2c18')];null!=_0x4e5eb0?(this[_0x1cd3('0x58f')][_0x1cd3('0x2c18')]=this[_0x1cd3('0x58f')][_0x1cd3('0x29f4')](_0x1cd3('0x487')),this['selectedMode'][_0x1cd3('0x481')]('src',_0x4e5eb0)):this[_0x1cd3('0x58f')]['className']=this['selectedMode'][_0x1cd3('0x2c17')];}this[_0x1cd3('0x58f')]=_0x4adef0;_0x4e5eb0=this[_0x1cd3('0x58f')][_0x1cd3('0x2c18')];null!=_0x4e5eb0?(this[_0x1cd3('0x58f')]['altIcon']=this['selectedMode']['getAttribute'](_0x1cd3('0x487')),this[_0x1cd3('0x58f')]['setAttribute']('src',_0x4e5eb0)):this['selectedMode'][_0x1cd3('0x45d')]=this[_0x1cd3('0x58f')]['initialClassName']+_0x1cd3('0x2c19');this['fireEvent'](new mxEventObject(mxEvent[_0x1cd3('0x2c1a')],_0x1cd3('0x77c'),_0x534a83));}};mxToolbar[_0x1cd3('0x77a')]['resetMode']=function(_0x33bc1f){(_0x33bc1f||!this[_0x1cd3('0x2c09')])&&this[_0x1cd3('0x58f')]!=this[_0x1cd3('0x2c1b')]&&this[_0x1cd3('0x2c1c')](this[_0x1cd3('0x2c1b')],this[_0x1cd3('0x2c1f')]);};mxToolbar['prototype']['addSeparator']=function(_0x49b2bb){return this[_0x1cd3('0x14d7')](null,_0x49b2bb,null);};mxToolbar[_0x1cd3('0x77a')]['addBreak']=function(){mxUtils['br'](this[_0x1cd3('0x4ce')]);};mxToolbar[_0x1cd3('0x77a')][_0x1cd3('0x2c20')]=function(){var _0x18cf08=document[_0x1cd3('0x3aa')]('hr');_0x18cf08['style'][_0x1cd3('0x2bb9')]='6px';_0x18cf08[_0x1cd3('0x481')](_0x1cd3('0x113e'),'1');this['container'][_0x1cd3('0xd4e')](_0x18cf08);};mxToolbar[_0x1cd3('0x77a')]['destroy']=function(){mxEvent[_0x1cd3('0x2bd2')](this['container']);this['selectedMode']=this[_0x1cd3('0x2c1f')]=this['defaultMode']=this[_0x1cd3('0x4ce')]=null;null!=this['menu']&&this[_0x1cd3('0x2c0d')][_0x1cd3('0x2bcb')]();};function mxSession(_0x1a8237,_0x2e4f2e,_0x44fd5e,_0x564665){this[_0x1cd3('0x42e')]=_0x1a8237;this[_0x1cd3('0x2c21')]=_0x2e4f2e;this[_0x1cd3('0x2c22')]=_0x44fd5e;this[_0x1cd3('0x2c23')]=_0x564665;null!=_0x1a8237&&(this[_0x1cd3('0x2c24')]=new mxCodec(),this['codec'][_0x1cd3('0x2c25')]=function(_0x75c1f0){return _0x1a8237[_0x1cd3('0x2b1f')](_0x75c1f0);});_0x1a8237[_0x1cd3('0x29ba')](mxEvent[_0x1cd3('0x2c26')],mxUtils['bind'](this,function(_0x455546,_0x32361a){var _0x44fd5e=_0x32361a[_0x1cd3('0x2b12')](_0x1cd3('0xea4'));(null!=_0x44fd5e&&this[_0x1cd3('0x5f9')]||this[_0x1cd3('0x2c27')]&&!this[_0x1cd3('0x2c28')])&&this[_0x1cd3('0x2b62')](_0x1cd3('0x2c29')+this[_0x1cd3('0x2c2a')](_0x44fd5e[_0x1cd3('0x2c2b')],_0x44fd5e[_0x1cd3('0x2c2c')])+_0x1cd3('0x2c2d'));}));}mxSession[_0x1cd3('0x77a')]=new mxEventSource();mxSession['prototype'][_0x1cd3('0x29db')]=mxSession;mxSession['prototype'][_0x1cd3('0x42e')]=null;mxSession[_0x1cd3('0x77a')][_0x1cd3('0x2c21')]=null;mxSession[_0x1cd3('0x77a')]['urlPoll']=null;mxSession[_0x1cd3('0x77a')][_0x1cd3('0x2c23')]=null;mxSession[_0x1cd3('0x77a')]['codec']=null;mxSession[_0x1cd3('0x77a')][_0x1cd3('0x2c2e')]=_0x1cd3('0x2a17');mxSession[_0x1cd3('0x77a')][_0x1cd3('0x2c2f')]=!0x0;mxSession['prototype'][_0x1cd3('0x2c30')]=!0x0;mxSession[_0x1cd3('0x77a')][_0x1cd3('0x2c31')]=0x0;mxSession['prototype'][_0x1cd3('0x2c32')]=0x0;mxSession[_0x1cd3('0x77a')][_0x1cd3('0x5f9')]=!0x1;mxSession[_0x1cd3('0x77a')][_0x1cd3('0x2c27')]=!0x1;mxSession[_0x1cd3('0x77a')][_0x1cd3('0x2c28')]=!0x1;mxSession['prototype']['polling']=!0x1;mxSession[_0x1cd3('0x77a')][_0x1cd3('0x5f2')]=function(){this[_0x1cd3('0x5f9')]?(this[_0x1cd3('0x2c27')]=!0x0,this[_0x1cd3('0x2b28')](new mxEventObject(mxEvent[_0x1cd3('0x2c33')]))):this[_0x1cd3('0x2c27')]||this[_0x1cd3('0x361')](this['urlInit'],mxUtils[_0x1cd3('0x5b2')](this,function(_0x4f4d67){this[_0x1cd3('0x2c27')]=!0x0;this[_0x1cd3('0x2b28')](new mxEventObject(mxEvent[_0x1cd3('0x2c33')]));this['poll']();}));};mxSession[_0x1cd3('0x77a')][_0x1cd3('0x2b56')]=function(){this['connected']&&!this[_0x1cd3('0x2c28')]&&(this[_0x1cd3('0x2c28')]=!0x0,this[_0x1cd3('0x2b28')](new mxEventObject(mxEvent[_0x1cd3('0x2c34')])));};mxSession[_0x1cd3('0x77a')][_0x1cd3('0x601')]=function(_0x36067c,_0x3ab423,_0x4cb47d){this[_0x1cd3('0x2c27')]&&this[_0x1cd3('0x2c28')]&&(this['suspended']=!0x1,this[_0x1cd3('0x2b28')](new mxEventObject(mxEvent[_0x1cd3('0x2c35')])),this[_0x1cd3('0xd1b')]||this[_0x1cd3('0x2c36')]());};mxSession['prototype'][_0x1cd3('0x5bb')]=function(_0x42de78){this['connected']&&(this[_0x1cd3('0x2c27')]=!0x1);this[_0x1cd3('0x2b28')](new mxEventObject(mxEvent['DISCONNECT'],_0x1cd3('0x2c37'),_0x42de78));};mxSession['prototype']['poll']=function(){this[_0x1cd3('0x2c27')]&&!this[_0x1cd3('0x2c28')]&&null!=this[_0x1cd3('0x2c22')]?(this[_0x1cd3('0xd1b')]=!0x0,this['get'](this[_0x1cd3('0x2c22')],mxUtils[_0x1cd3('0x5b2')](this,function(){this[_0x1cd3('0x2c36')]();}))):this[_0x1cd3('0xd1b')]=!0x1;};mxSession[_0x1cd3('0x77a')]['notify']=function(_0x45a582,_0x3f383e,_0x2637cc){null!=_0x45a582&&0x0<_0x45a582[_0x1cd3('0x7a')]&&(null!=this[_0x1cd3('0x2c23')]&&(this[_0x1cd3('0x5f9')]?(mxLog['show'](),mxLog['debug'](_0x1cd3('0x2c38')+this['urlNotify']+_0x1cd3('0x2c39')+_0x45a582)):(_0x45a582='<message><delta>'+_0x45a582+_0x1cd3('0x2c3a'),this[_0x1cd3('0x2c2f')]&&(_0x45a582=encodeURIComponent(_0x45a582)),mxUtils['post'](this[_0x1cd3('0x2c23')],'xml='+_0x45a582,_0x3f383e,_0x2637cc))),this[_0x1cd3('0x2c31')]+=_0x45a582[_0x1cd3('0x7a')],this[_0x1cd3('0x2b28')](new mxEventObject(mxEvent['NOTIFY'],_0x1cd3('0x3a4'),this['urlNotify'],_0x1cd3('0x113b'),_0x45a582)));};mxSession[_0x1cd3('0x77a')]['get']=function(_0x4e8775,_0x4139ac,_0x887301){if(_0x1cd3('0x491')!=typeof mxUtils){var _0x2ee0f5=mxUtils['bind'](this,function(_0x2529a8){null!=_0x887301?_0x887301(_0x2529a8):this[_0x1cd3('0x5bb')](_0x2529a8);});mxUtils[_0x1cd3('0x361')](_0x4e8775,mxUtils['bind'](this,function(_0x116b40){if(_0x1cd3('0x491')!=typeof mxUtils)if(_0x116b40[_0x1cd3('0x29d3')]()&&0x194!=_0x116b40[_0x1cd3('0x2b84')]()){if(this[_0x1cd3('0x2c32')]+=_0x116b40[_0x1cd3('0x49b')]()[_0x1cd3('0x7a')],this[_0x1cd3('0x2b28')](new mxEventObject(mxEvent[_0x1cd3('0xf47')],_0x1cd3('0x3a4'),_0x4e8775,_0x1cd3('0x5fe'),_0x116b40)),this[_0x1cd3('0x2c3b')](_0x116b40)){if(0x0<_0x116b40[_0x1cd3('0x49b')]()[_0x1cd3('0x7a')]){var _0x26e5be=_0x116b40[_0x1cd3('0x2b81')]();null==_0x26e5be?_0x2ee0f5(_0x1cd3('0x2c3c')+_0x116b40[_0x1cd3('0x49b')]()):this[_0x1cd3('0x2b55')](_0x26e5be);}null!=_0x4139ac&&_0x4139ac(_0x116b40);}}else _0x2ee0f5('Response\x20not\x20ready');}),function(_0x289bbc){_0x2ee0f5('Transmission\x20error');});}};mxSession['prototype'][_0x1cd3('0x2c3b')]=function(_0x36a84c){return 0x0>_0x36a84c[_0x1cd3('0x49b')]()[_0x1cd3('0x45e')](_0x1cd3('0x2c3d'));};mxSession[_0x1cd3('0x77a')][_0x1cd3('0x2c2a')]=function(_0x4e3b58,_0x77a196){for(var _0x5929e7='',_0x4ed5b9=_0x77a196?-0x1:0x1,_0x3a15e9=_0x77a196?_0x4e3b58['length']-0x1:0x0;0x0<=_0x3a15e9&&_0x3a15e9<_0x4e3b58['length'];_0x3a15e9+=_0x4ed5b9)var _0x4aa89c=this['codec'][_0x1cd3('0x2a82')](_0x4e3b58[_0x3a15e9]),_0x5929e7=_0x5929e7+mxUtils['getXml'](_0x4aa89c,this[_0x1cd3('0x2c2e')]);return _0x5929e7;};mxSession[_0x1cd3('0x77a')][_0x1cd3('0x2b55')]=function(_0x3ae220){if(null!=_0x3ae220&&_0x3ae220[_0x1cd3('0x29f8')]==mxConstants[_0x1cd3('0x29f9')]){var _0x407101=_0x3ae220[_0x1cd3('0x29f4')]('namespace');null!=_0x407101&&(this['model'][_0x1cd3('0x6aa')]=_0x407101+'-');for(_0x407101=_0x3ae220[_0x1cd3('0x29f5')];null!=_0x407101;){var _0x4a12f7=_0x407101[_0x1cd3('0x2a0c')][_0x1cd3('0x433')]();_0x1cd3('0x19')==_0x4a12f7?this['processState'](_0x407101):_0x1cd3('0x2c3e')==_0x4a12f7&&this[_0x1cd3('0x2c3f')](_0x407101);_0x407101=_0x407101[_0x1cd3('0x29f7')];}this[_0x1cd3('0x2b28')](new mxEventObject(mxEvent[_0x1cd3('0x2c40')],_0x1cd3('0x56e'),_0x3ae220));}};mxSession[_0x1cd3('0x77a')]['processState']=function(_0x279d7a){new mxCodec(_0x279d7a['ownerDocument'])[_0x1cd3('0x2c41')](_0x279d7a[_0x1cd3('0x29f5')],this['model']);};mxSession[_0x1cd3('0x77a')]['processDelta']=function(_0x2dba6b){for(_0x2dba6b=_0x2dba6b[_0x1cd3('0x29f5')];null!=_0x2dba6b;)_0x1cd3('0xea4')==_0x2dba6b['nodeName']&&this['processEdit'](_0x2dba6b),_0x2dba6b=_0x2dba6b['nextSibling'];};mxSession[_0x1cd3('0x77a')][_0x1cd3('0x2c42')]=function(_0x3fc48d){_0x3fc48d=this[_0x1cd3('0x2c43')](_0x3fc48d);if(0x0<_0x3fc48d[_0x1cd3('0x7a')]){var _0xd8dc28=this[_0x1cd3('0x2c44')](_0x3fc48d);this['model'][_0x1cd3('0x2b28')](new mxEventObject(mxEvent[_0x1cd3('0x2c45')],_0x1cd3('0xea4'),_0xd8dc28,_0x1cd3('0x2c2b'),_0x3fc48d));this[_0x1cd3('0x42e')][_0x1cd3('0x2b28')](new mxEventObject(mxEvent['UNDO'],'edit',_0xd8dc28));this[_0x1cd3('0x2b28')](new mxEventObject(mxEvent[_0x1cd3('0x2c46')],_0x1cd3('0xea4'),_0xd8dc28));}};mxSession[_0x1cd3('0x77a')][_0x1cd3('0x2c44')]=function(_0x5ce6b9){var _0x53ec61=new mxUndoableEdit(this[_0x1cd3('0x42e')],this[_0x1cd3('0x2c30')]);_0x53ec61[_0x1cd3('0x2c2b')]=_0x5ce6b9;_0x53ec61[_0x1cd3('0x2b62')]=function(){_0x53ec61[_0x1cd3('0x930')][_0x1cd3('0x2b28')](new mxEventObject(mxEvent[_0x1cd3('0x2c45')],_0x1cd3('0xea4'),_0x53ec61,_0x1cd3('0x2c2b'),_0x53ec61['changes']));_0x53ec61['source']['fireEvent'](new mxEventObject(mxEvent[_0x1cd3('0x2c26')],_0x1cd3('0xea4'),_0x53ec61,_0x1cd3('0x2c2b'),_0x53ec61[_0x1cd3('0x2c2b')]));};return _0x53ec61;};mxSession['prototype']['decodeChanges']=function(_0x3da203){this['codec'][_0x1cd3('0x924')]=_0x3da203[_0x1cd3('0x29fb')];var _0x354b0e=[];for(_0x3da203=_0x3da203[_0x1cd3('0x29f5')];null!=_0x3da203;){var _0x49c17b=this[_0x1cd3('0x2c47')](_0x3da203);null!=_0x49c17b&&_0x354b0e['push'](_0x49c17b);_0x3da203=_0x3da203[_0x1cd3('0x29f7')];}return _0x354b0e;};mxSession['prototype'][_0x1cd3('0x2c47')]=function(_0x39887c){var _0x272362=null;_0x39887c['nodeType']==mxConstants[_0x1cd3('0x29f9')]&&(_0x272362=_0x1cd3('0x2c48')==_0x39887c[_0x1cd3('0x2a0c')]?new mxCodec(_0x39887c['ownerDocument'])['decode'](_0x39887c):this[_0x1cd3('0x2c24')]['decode'](_0x39887c),null!=_0x272362&&(_0x272362[_0x1cd3('0x42e')]=this['model'],_0x272362[_0x1cd3('0x2b5b')](),_0x1cd3('0x2c49')==_0x39887c[_0x1cd3('0x2a0c')]&&null==_0x272362[_0x1cd3('0x36c')]&&this[_0x1cd3('0x2c4a')](_0x272362[_0x1cd3('0x29da')])));return _0x272362;};mxSession[_0x1cd3('0x77a')][_0x1cd3('0x2c4a')]=function(_0x13a235,_0x215c57){this['codec']['putObject'](_0x13a235['getId'](),_0x13a235);for(var _0x2ae329=this[_0x1cd3('0x42e')][_0x1cd3('0x29e5')](_0x13a235),_0x2a88ca=0x0;_0x2a88ca<_0x2ae329;_0x2a88ca++)this[_0x1cd3('0x2c4a')](this[_0x1cd3('0x42e')]['getChildAt'](_0x13a235,_0x2a88ca));};function mxUndoableEdit(_0x1bfe87,_0x46b6b2){this[_0x1cd3('0x930')]=_0x1bfe87;this[_0x1cd3('0x2c2b')]=[];this['significant']=null!=_0x46b6b2?_0x46b6b2:!0x0;}mxUndoableEdit[_0x1cd3('0x77a')][_0x1cd3('0x930')]=null;mxUndoableEdit['prototype'][_0x1cd3('0x2c2b')]=null;mxUndoableEdit['prototype']['significant']=null;mxUndoableEdit['prototype'][_0x1cd3('0x2c2c')]=!0x1;mxUndoableEdit[_0x1cd3('0x77a')][_0x1cd3('0x2c4b')]=!0x1;mxUndoableEdit[_0x1cd3('0x77a')][_0x1cd3('0x398')]=function(){return 0x0==this[_0x1cd3('0x2c2b')][_0x1cd3('0x7a')];};mxUndoableEdit['prototype']['isSignificant']=function(){return this[_0x1cd3('0x2c4c')];};mxUndoableEdit[_0x1cd3('0x77a')][_0x1cd3('0x425')]=function(_0x416cc7){this[_0x1cd3('0x2c2b')][_0x1cd3('0x7b')](_0x416cc7);};mxUndoableEdit['prototype'][_0x1cd3('0x2b62')]=function(){};mxUndoableEdit[_0x1cd3('0x77a')][_0x1cd3('0x2c4d')]=function(){};mxUndoableEdit[_0x1cd3('0x77a')][_0x1cd3('0x2b60')]=function(){if(!this[_0x1cd3('0x2c2c')]){this['source'][_0x1cd3('0x2b28')](new mxEventObject(mxEvent[_0x1cd3('0x2c4e')]));for(var _0x14986e=this[_0x1cd3('0x2c2b')][_0x1cd3('0x7a')]-0x1;0x0<=_0x14986e;_0x14986e--){var _0xfd83a1=this['changes'][_0x14986e];null!=_0xfd83a1[_0x1cd3('0x2b5b')]?_0xfd83a1['execute']():null!=_0xfd83a1[_0x1cd3('0x2b60')]&&_0xfd83a1['undo']();this[_0x1cd3('0x930')][_0x1cd3('0x2b28')](new mxEventObject(mxEvent['EXECUTED'],_0x1cd3('0x14c4'),_0xfd83a1));}this[_0x1cd3('0x2c2c')]=!0x0;this[_0x1cd3('0x2c4b')]=!0x1;this['source'][_0x1cd3('0x2b28')](new mxEventObject(mxEvent['END_EDIT']));}this[_0x1cd3('0x2b62')]();};mxUndoableEdit[_0x1cd3('0x77a')]['redo']=function(){if(!this[_0x1cd3('0x2c4b')]){this[_0x1cd3('0x930')]['fireEvent'](new mxEventObject(mxEvent[_0x1cd3('0x2c4e')]));for(var _0x2b0955=this['changes'][_0x1cd3('0x7a')],_0x4fb623=0x0;_0x4fb623<_0x2b0955;_0x4fb623++){var _0x11d1d5=this[_0x1cd3('0x2c2b')][_0x4fb623];null!=_0x11d1d5[_0x1cd3('0x2b5b')]?_0x11d1d5['execute']():null!=_0x11d1d5[_0x1cd3('0x2b61')]&&_0x11d1d5['redo']();this[_0x1cd3('0x930')]['fireEvent'](new mxEventObject(mxEvent[_0x1cd3('0x2c4f')],_0x1cd3('0x14c4'),_0x11d1d5));}this[_0x1cd3('0x2c2c')]=!0x1;this[_0x1cd3('0x2c4b')]=!0x0;this[_0x1cd3('0x930')][_0x1cd3('0x2b28')](new mxEventObject(mxEvent[_0x1cd3('0x2c50')]));}this[_0x1cd3('0x2b62')]();};function mxUndoManager(_0x23f1d2){this['size']=null!=_0x23f1d2?_0x23f1d2:0x64;this[_0x1cd3('0x785')]();}mxUndoManager[_0x1cd3('0x77a')]=new mxEventSource();mxUndoManager['prototype'][_0x1cd3('0x29db')]=mxUndoManager;mxUndoManager['prototype'][_0x1cd3('0x113e')]=null;mxUndoManager[_0x1cd3('0x77a')][_0x1cd3('0x2c51')]=null;mxUndoManager[_0x1cd3('0x77a')][_0x1cd3('0x2c52')]=0x0;mxUndoManager[_0x1cd3('0x77a')][_0x1cd3('0x398')]=function(){return 0x0==this[_0x1cd3('0x2c51')]['length'];};mxUndoManager[_0x1cd3('0x77a')][_0x1cd3('0x785')]=function(){this[_0x1cd3('0x2c51')]=[];this[_0x1cd3('0x2c52')]=0x0;this['fireEvent'](new mxEventObject(mxEvent[_0x1cd3('0x2c53')]));};mxUndoManager['prototype'][_0x1cd3('0x2c54')]=function(){return 0x0<this[_0x1cd3('0x2c52')];};mxUndoManager[_0x1cd3('0x77a')]['undo']=function(){for(;0x0<this['indexOfNextAdd'];){var _0x1a3c52=this['history'][--this[_0x1cd3('0x2c52')]];_0x1a3c52[_0x1cd3('0x2b60')]();if(_0x1a3c52[_0x1cd3('0x2c55')]()){this['fireEvent'](new mxEventObject(mxEvent[_0x1cd3('0x2c56')],'edit',_0x1a3c52));break;}}};mxUndoManager['prototype'][_0x1cd3('0x2c57')]=function(){return this[_0x1cd3('0x2c52')]<this[_0x1cd3('0x2c51')][_0x1cd3('0x7a')];};mxUndoManager[_0x1cd3('0x77a')][_0x1cd3('0x2b61')]=function(){for(var _0x3923d5=this[_0x1cd3('0x2c51')][_0x1cd3('0x7a')];this[_0x1cd3('0x2c52')]<_0x3923d5;){var _0x1f9209=this['history'][this[_0x1cd3('0x2c52')]++];_0x1f9209[_0x1cd3('0x2b61')]();if(_0x1f9209[_0x1cd3('0x2c55')]()){this[_0x1cd3('0x2b28')](new mxEventObject(mxEvent[_0x1cd3('0x2c58')],_0x1cd3('0xea4'),_0x1f9209));break;}}};mxUndoManager[_0x1cd3('0x77a')][_0x1cd3('0x2c59')]=function(_0x4e9143){this[_0x1cd3('0x77b')]();0x0<this[_0x1cd3('0x113e')]&&this['size']==this['history'][_0x1cd3('0x7a')]&&this[_0x1cd3('0x2c51')]['shift']();this['history'][_0x1cd3('0x7b')](_0x4e9143);this[_0x1cd3('0x2c52')]=this[_0x1cd3('0x2c51')][_0x1cd3('0x7a')];this[_0x1cd3('0x2b28')](new mxEventObject(mxEvent['ADD'],'edit',_0x4e9143));};mxUndoManager['prototype'][_0x1cd3('0x77b')]=function(){if(this[_0x1cd3('0x2c51')][_0x1cd3('0x7a')]>this[_0x1cd3('0x2c52')])for(var _0x27b2fb=this[_0x1cd3('0x2c51')][_0x1cd3('0x446')](this['indexOfNextAdd'],this[_0x1cd3('0x2c51')][_0x1cd3('0x7a')]-this[_0x1cd3('0x2c52')]),_0x6452d7=0x0;_0x6452d7<_0x27b2fb['length'];_0x6452d7++)_0x27b2fb[_0x6452d7][_0x1cd3('0x2c4d')]();};var mxUrlConverter=function(_0x4611a1){var _0x278e62=!0x0,_0xb61336=null,_0x136e87=null;return{'isEnabled':function(){return _0x278e62;},'setEnabled':function(_0x4ac6e1){_0x278e62=_0x4ac6e1;},'getBaseUrl':function(){return _0xb61336;},'setBaseUrl':function(_0xe749b3){_0xb61336=_0xe749b3;},'getBaseDomain':function(){return _0xb61336;},'setBaseDomain':function(_0x2e2aac){_0xb61336=_0x2e2aac;},'isRelativeUrl':function(_0xe5c3a4){return _0x1cd3('0x2976')!=_0xe5c3a4[_0x1cd3('0x922')](0x0,0x7)&&'https://'!=_0xe5c3a4['substring'](0x0,0x8)&&_0x1cd3('0x2c5a')!=_0xe5c3a4[_0x1cd3('0x922')](0x0,0xa);},'convert':function(_0xa21fd){if(_0x278e62&&this[_0x1cd3('0x2c5b')](_0xa21fd)){if(null==_0xb61336){_0x136e87=location[_0x1cd3('0x3b0')]+'//'+location['host'];_0xb61336=_0x136e87+location['pathname'];var _0x3ab475=_0xb61336[_0x1cd3('0x24ac')]('/');0x0<_0x3ab475&&(_0xb61336=_0xb61336[_0x1cd3('0x922')](0x0,_0x3ab475+0x1));}_0xa21fd='/'==_0xa21fd[_0x1cd3('0x9a1')](0x0)?_0x136e87+_0xa21fd:_0xb61336+_0xa21fd;}return _0xa21fd;}};};function mxPanningManager(_0xd6173){this[_0x1cd3('0x2c5c')]=null;this[_0x1cd3('0x92d')]=!0x1;this['dy']=this['dx']=this[_0x1cd3('0x2c5d')]=this['t0x']=this[_0x1cd3('0x2c5e')]=this[_0x1cd3('0x2c5f')]=0x0;this[_0x1cd3('0x2c60')]=!0x1;this[_0x1cd3('0x515')]=this[_0x1cd3('0x767')]=0x0;this[_0x1cd3('0x2c61')]={'mouseDown':function(_0x3cd360,_0x865fbc){},'mouseMove':function(_0x9e7ea1,_0x57b3b1){},'mouseUp':mxUtils[_0x1cd3('0x5b2')](this,function(_0x437237,_0x5f4603){this[_0x1cd3('0x92d')]&&this[_0x1cd3('0x5bb')]();})};_0xd6173[_0x1cd3('0x2c62')](this['mouseListener']);mxEvent[_0x1cd3('0x29ba')](document,_0x1cd3('0x2b2d'),mxUtils[_0x1cd3('0x5b2')](this,function(){this[_0x1cd3('0x92d')]&&this['stop']();}));var _0x2ad5ab=mxUtils[_0x1cd3('0x5b2')](this,function(){this[_0x1cd3('0x2c60')]=mxUtils['hasScrollbars'](_0xd6173[_0x1cd3('0x4ce')]);this[_0x1cd3('0x767')]=_0xd6173['container'][_0x1cd3('0x767')];this[_0x1cd3('0x515')]=_0xd6173[_0x1cd3('0x4ce')]['scrollTop'];return window[_0x1cd3('0x2c63')](mxUtils['bind'](this,function(){this[_0x1cd3('0x2c5f')]-=this['dx'];this[_0x1cd3('0x2c5e')]-=this['dy'];if(this[_0x1cd3('0x2c60')]){var _0x2a1071=-_0xd6173[_0x1cd3('0x4ce')][_0x1cd3('0x767')]-Math[_0x1cd3('0x2928')](this['dx']),_0x4176d1=-_0xd6173[_0x1cd3('0x4ce')][_0x1cd3('0x515')]-Math[_0x1cd3('0x2928')](this['dy']);_0xd6173[_0x1cd3('0x2c64')](_0x2a1071,_0x4176d1);_0xd6173[_0x1cd3('0x2c65')]=this['scrollLeft']-_0xd6173[_0x1cd3('0x4ce')]['scrollLeft'];_0xd6173['panDy']=this[_0x1cd3('0x515')]-_0xd6173[_0x1cd3('0x4ce')][_0x1cd3('0x515')];_0xd6173[_0x1cd3('0x2b28')](new mxEventObject(mxEvent[_0x1cd3('0x2c66')]));}else _0xd6173[_0x1cd3('0x2c64')](this[_0x1cd3('0x2c67')](),this[_0x1cd3('0x2c68')]());}),this[_0x1cd3('0xf11')]);});this[_0x1cd3('0x57e')]=function(){return active;};this[_0x1cd3('0x2c67')]=function(){return Math['round'](this[_0x1cd3('0x2c5f')]);};this[_0x1cd3('0x2c68')]=function(){return Math['round'](this[_0x1cd3('0x2c5e')]);};this[_0x1cd3('0x5f2')]=function(){this[_0x1cd3('0x2c69')]=_0xd6173[_0x1cd3('0x1665')]['translate']['x'];this[_0x1cd3('0x2c5d')]=_0xd6173[_0x1cd3('0x1665')][_0x1cd3('0x43c')]['y'];this[_0x1cd3('0x92d')]=!0x0;};this['panTo']=function(_0x317470,_0x54b74d,_0x45bdc9,_0x521c9d){this['active']||this[_0x1cd3('0x5f2')]();this['scrollLeft']=_0xd6173[_0x1cd3('0x4ce')]['scrollLeft'];this['scrollTop']=_0xd6173['container']['scrollTop'];_0x521c9d=null!=_0x521c9d?_0x521c9d:0x0;var _0x4319f4=_0xd6173[_0x1cd3('0x4ce')];this['dx']=_0x317470+(null!=_0x45bdc9?_0x45bdc9:0x0)-_0x4319f4['scrollLeft']-_0x4319f4[_0x1cd3('0x29b5')];0x0>this['dx']&&Math[_0x1cd3('0x2a4c')](this['dx'])<this['border']?this['dx']=this[_0x1cd3('0x2c6a')]+this['dx']:this['dx']=this[_0x1cd3('0x2c6b')]?Math[_0x1cd3('0x13d1')](this['dx'],0x0):0x0;0x0==this['dx']&&(this['dx']=_0x317470-_0x4319f4[_0x1cd3('0x767')],this['dx']=0x0<this['dx']&&this['dx']<this[_0x1cd3('0x2c6a')]?this['dx']-this[_0x1cd3('0x2c6a')]:this[_0x1cd3('0x2c6b')]?Math['min'](0x0,this['dx']):0x0);this['dy']=_0x54b74d+_0x521c9d-_0x4319f4[_0x1cd3('0x515')]-_0x4319f4[_0x1cd3('0x29b4')];0x0>this['dy']&&Math[_0x1cd3('0x2a4c')](this['dy'])<this[_0x1cd3('0x2c6a')]?this['dy']=this[_0x1cd3('0x2c6a')]+this['dy']:this['dy']=this[_0x1cd3('0x2c6b')]?Math[_0x1cd3('0x13d1')](this['dy'],0x0):0x0;0x0==this['dy']&&(this['dy']=_0x54b74d-_0x4319f4['scrollTop'],this['dy']=0x0<this['dy']&&this['dy']<this['border']?this['dy']-this[_0x1cd3('0x2c6a')]:this[_0x1cd3('0x2c6b')]?Math[_0x1cd3('0x4e3')](0x0,this['dy']):0x0);0x0!=this['dx']||0x0!=this['dy']?(this['dx']*=this[_0x1cd3('0x2c6c')],this['dy']*=this['damper'],null==this[_0x1cd3('0x2c5c')]&&(this[_0x1cd3('0x2c5c')]=_0x2ad5ab())):null!=this[_0x1cd3('0x2c5c')]&&(window[_0x1cd3('0x2c6d')](this['thread']),this[_0x1cd3('0x2c5c')]=null);};this['stop']=function(){if(this[_0x1cd3('0x92d')])if(this[_0x1cd3('0x92d')]=!0x1,null!=this[_0x1cd3('0x2c5c')]&&(window[_0x1cd3('0x2c6d')](this[_0x1cd3('0x2c5c')]),this['thread']=null),this['tdy']=this[_0x1cd3('0x2c5f')]=0x0,this[_0x1cd3('0x2c60')])_0xd6173['panDx']=0x0,_0xd6173[_0x1cd3('0x2c6e')]=0x0,_0xd6173[_0x1cd3('0x2b28')](new mxEventObject(mxEvent[_0x1cd3('0x2c66')]));else{var _0x5808ac=_0xd6173[_0x1cd3('0x2c65')],_0x484c03=_0xd6173[_0x1cd3('0x2c6e')];if(0x0!=_0x5808ac||0x0!=_0x484c03)_0xd6173[_0x1cd3('0x2c64')](0x0,0x0),_0xd6173[_0x1cd3('0x1665')][_0x1cd3('0x2c6f')](this[_0x1cd3('0x2c69')]+_0x5808ac/_0xd6173['view'][_0x1cd3('0x29df')],this['t0y']+_0x484c03/_0xd6173['view'][_0x1cd3('0x29df')]);}};this[_0x1cd3('0x2bcb')]=function(){_0xd6173[_0x1cd3('0x2c70')](this['mouseListener']);};}mxPanningManager[_0x1cd3('0x77a')][_0x1cd3('0x2c6c')]=0x1/0x6;mxPanningManager[_0x1cd3('0x77a')][_0x1cd3('0xf11')]=0xa;mxPanningManager[_0x1cd3('0x77a')][_0x1cd3('0x2c6b')]=!0x0;mxPanningManager[_0x1cd3('0x77a')][_0x1cd3('0x2c6a')]=0x0;function mxPopupMenu(_0x288469){this[_0x1cd3('0x2c10')]=_0x288469;null!=_0x288469&&this['init']();}mxPopupMenu[_0x1cd3('0x77a')]=new mxEventSource();mxPopupMenu[_0x1cd3('0x77a')][_0x1cd3('0x29db')]=mxPopupMenu;mxPopupMenu[_0x1cd3('0x77a')]['submenuImage']=mxClient[_0x1cd3('0x29eb')]+_0x1cd3('0x2c71');mxPopupMenu[_0x1cd3('0x77a')][_0x1cd3('0x2bac')]=0x2716;mxPopupMenu[_0x1cd3('0x77a')][_0x1cd3('0x2c10')]=null;mxPopupMenu[_0x1cd3('0x77a')][_0x1cd3('0x2c72')]=!0x1;mxPopupMenu[_0x1cd3('0x77a')][_0x1cd3('0x396')]=!0x0;mxPopupMenu[_0x1cd3('0x77a')]['itemCount']=0x0;mxPopupMenu[_0x1cd3('0x77a')][_0x1cd3('0x2c73')]=!0x1;mxPopupMenu[_0x1cd3('0x77a')]['smartSeparators']=!0x1;mxPopupMenu[_0x1cd3('0x77a')][_0x1cd3('0x8e3')]=!0x0;mxPopupMenu[_0x1cd3('0x77a')][_0x1cd3('0xe08')]=function(){this[_0x1cd3('0xd45')]=document[_0x1cd3('0x3aa')](_0x1cd3('0xd45'));this[_0x1cd3('0xd45')][_0x1cd3('0x45d')]='mxPopupMenu';this['tbody']=document[_0x1cd3('0x3aa')](_0x1cd3('0x29a2'));this[_0x1cd3('0xd45')][_0x1cd3('0xd4e')](this[_0x1cd3('0x29a2')]);this[_0x1cd3('0x2a72')]=document[_0x1cd3('0x3aa')](_0x1cd3('0x2a72'));this[_0x1cd3('0x2a72')][_0x1cd3('0x45d')]=_0x1cd3('0x2c74');this['div'][_0x1cd3('0x440')][_0x1cd3('0x6ac')]=_0x1cd3('0x6ad');this[_0x1cd3('0x2a72')][_0x1cd3('0x440')][_0x1cd3('0x2bac')]=this[_0x1cd3('0x2bac')];this[_0x1cd3('0x2a72')][_0x1cd3('0xd4e')](this[_0x1cd3('0xd45')]);mxEvent[_0x1cd3('0x2c75')](this[_0x1cd3('0x2a72')]);};mxPopupMenu[_0x1cd3('0x77a')][_0x1cd3('0x2c76')]=function(){return this[_0x1cd3('0x396')];};mxPopupMenu[_0x1cd3('0x77a')][_0x1cd3('0x2bee')]=function(_0x3e1009){this[_0x1cd3('0x396')]=_0x3e1009;};mxPopupMenu['prototype'][_0x1cd3('0x2b20')]=function(_0x2356fc){return _0x2356fc['isPopupTrigger']()||this[_0x1cd3('0x2c72')]&&mxEvent[_0x1cd3('0x2c77')](_0x2356fc['getEvent']());};mxPopupMenu[_0x1cd3('0x77a')]['addItem']=function(_0x51c799,_0x34e74a,_0x41d4f1,_0x13ea74,_0x1b17bf,_0x332e7b){_0x13ea74=_0x13ea74||this;this['itemCount']++;_0x13ea74[_0x1cd3('0x2c78')]&&(_0x13ea74[_0x1cd3('0x2c79')]&&this[_0x1cd3('0x2c7a')](_0x13ea74,!0x0),_0x13ea74[_0x1cd3('0x2c78')]=!0x1);_0x13ea74['containsItems']=!0x0;var _0x1bbdbd=document['createElement']('tr');_0x1bbdbd[_0x1cd3('0x45d')]=_0x1cd3('0x2c7b');var _0x257889=document[_0x1cd3('0x3aa')]('td');_0x257889['className']=_0x1cd3('0x2c7c');null!=_0x34e74a?(_0x1b17bf=document['createElement'](_0x1cd3('0x774')),_0x1b17bf[_0x1cd3('0x487')]=_0x34e74a,_0x257889[_0x1cd3('0xd4e')](_0x1b17bf)):null!=_0x1b17bf&&(_0x34e74a=document[_0x1cd3('0x3aa')](_0x1cd3('0x2a72')),_0x34e74a[_0x1cd3('0x45d')]=_0x1b17bf,_0x257889[_0x1cd3('0xd4e')](_0x34e74a));_0x1bbdbd[_0x1cd3('0xd4e')](_0x257889);this[_0x1cd3('0x8e3')]&&(_0x257889=document[_0x1cd3('0x3aa')]('td'),_0x257889[_0x1cd3('0x45d')]=_0x1cd3('0x2c7b')+(null!=_0x332e7b&&!_0x332e7b?_0x1cd3('0x2c7d'):''),mxUtils[_0x1cd3('0x28be')](_0x257889,_0x51c799),_0x257889[_0x1cd3('0x183e')]=_0x1cd3('0x762'),_0x1bbdbd[_0x1cd3('0xd4e')](_0x257889),_0x51c799=document[_0x1cd3('0x3aa')]('td'),_0x51c799['className']=_0x1cd3('0x2c7b')+(null!=_0x332e7b&&!_0x332e7b?'\x20disabled':''),_0x51c799['style']['paddingRight']='6px',_0x51c799[_0x1cd3('0x440')]['textAlign']=_0x1cd3('0x58e'),_0x1bbdbd[_0x1cd3('0xd4e')](_0x51c799),null==_0x13ea74[_0x1cd3('0x2a72')]&&this[_0x1cd3('0x2c7e')](_0x13ea74));_0x13ea74['tbody']['appendChild'](_0x1bbdbd);if(null==_0x332e7b||_0x332e7b)mxEvent[_0x1cd3('0x2b32')](_0x1bbdbd,mxUtils[_0x1cd3('0x5b2')](this,function(_0x2a73a0){this[_0x1cd3('0x2c7f')]=_0x1bbdbd;_0x13ea74['activeRow']!=_0x1bbdbd&&_0x13ea74[_0x1cd3('0x2c80')]!=_0x13ea74&&(null!=_0x13ea74['activeRow']&&null!=_0x13ea74[_0x1cd3('0x2c80')][_0x1cd3('0x2a72')][_0x1cd3('0x29ea')]&&this[_0x1cd3('0x2c81')](_0x13ea74),null!=_0x1bbdbd[_0x1cd3('0x2a72')]&&(this['showSubmenu'](_0x13ea74,_0x1bbdbd),_0x13ea74['activeRow']=_0x1bbdbd));mxEvent[_0x1cd3('0x2b14')](_0x2a73a0);}),mxUtils[_0x1cd3('0x5b2')](this,function(_0x45ab5b){_0x13ea74[_0x1cd3('0x2c80')]!=_0x1bbdbd&&_0x13ea74[_0x1cd3('0x2c80')]!=_0x13ea74&&(null!=_0x13ea74[_0x1cd3('0x2c80')]&&null!=_0x13ea74[_0x1cd3('0x2c80')][_0x1cd3('0x2a72')]['parentNode']&&this[_0x1cd3('0x2c81')](_0x13ea74),this[_0x1cd3('0x2c73')]&&null!=_0x1bbdbd[_0x1cd3('0x2a72')]&&(this[_0x1cd3('0x2c82')](_0x13ea74,_0x1bbdbd),_0x13ea74[_0x1cd3('0x2c80')]=_0x1bbdbd));_0x1bbdbd[_0x1cd3('0x45d')]='mxPopupMenuItemHover';}),mxUtils[_0x1cd3('0x5b2')](this,function(_0x4dc02d){this['eventReceiver']==_0x1bbdbd&&(_0x13ea74['activeRow']!=_0x1bbdbd&&this[_0x1cd3('0x2c11')](),null!=_0x41d4f1&&_0x41d4f1(_0x4dc02d));this[_0x1cd3('0x2c7f')]=null;mxEvent[_0x1cd3('0x2b14')](_0x4dc02d);})),mxEvent[_0x1cd3('0x29ba')](_0x1bbdbd,_0x1cd3('0x2c12'),mxUtils[_0x1cd3('0x5b2')](this,function(_0x5960e6){_0x1bbdbd[_0x1cd3('0x45d')]=_0x1cd3('0x2c7b');}));return _0x1bbdbd;};mxPopupMenu[_0x1cd3('0x77a')][_0x1cd3('0x2c7e')]=function(_0x6cdc93){_0x6cdc93[_0x1cd3('0xd45')]=document[_0x1cd3('0x3aa')](_0x1cd3('0xd45'));_0x6cdc93[_0x1cd3('0xd45')][_0x1cd3('0x45d')]=_0x1cd3('0x2c74');_0x6cdc93[_0x1cd3('0x29a2')]=document['createElement'](_0x1cd3('0x29a2'));_0x6cdc93[_0x1cd3('0xd45')][_0x1cd3('0xd4e')](_0x6cdc93['tbody']);_0x6cdc93[_0x1cd3('0x2a72')]=document[_0x1cd3('0x3aa')](_0x1cd3('0x2a72'));_0x6cdc93[_0x1cd3('0x2a72')][_0x1cd3('0x45d')]=_0x1cd3('0x2c74');_0x6cdc93[_0x1cd3('0x2a72')][_0x1cd3('0x440')][_0x1cd3('0x679')]=_0x1cd3('0x532');_0x6cdc93[_0x1cd3('0x2a72')]['style'][_0x1cd3('0x6ac')]='inline';_0x6cdc93[_0x1cd3('0x2a72')][_0x1cd3('0x440')][_0x1cd3('0x2bac')]=this[_0x1cd3('0x2bac')];_0x6cdc93[_0x1cd3('0x2a72')]['appendChild'](_0x6cdc93[_0x1cd3('0xd45')]);var _0x2c676b=document[_0x1cd3('0x3aa')](_0x1cd3('0x774'));_0x2c676b['setAttribute']('src',this[_0x1cd3('0x2c83')]);td=_0x6cdc93[_0x1cd3('0x29f5')][_0x1cd3('0x29f7')][_0x1cd3('0x29f7')];td[_0x1cd3('0xd4e')](_0x2c676b);};mxPopupMenu[_0x1cd3('0x77a')][_0x1cd3('0x2c82')]=function(_0x4c6cb9,_0x388aca){if(null!=_0x388aca[_0x1cd3('0x2a72')]){_0x388aca[_0x1cd3('0x2a72')][_0x1cd3('0x440')]['left']=_0x4c6cb9[_0x1cd3('0x2a72')][_0x1cd3('0x2a1e')]+_0x388aca[_0x1cd3('0x2a1e')]+_0x388aca[_0x1cd3('0x2a1f')]-0x1+'px';_0x388aca['div'][_0x1cd3('0x440')][_0x1cd3('0x712')]=_0x4c6cb9[_0x1cd3('0x2a72')][_0x1cd3('0x2a21')]+_0x388aca['offsetTop']+'px';document[_0x1cd3('0x380')][_0x1cd3('0xd4e')](_0x388aca[_0x1cd3('0x2a72')]);var _0xe4950=parseInt(_0x388aca[_0x1cd3('0x2a72')]['offsetLeft']),_0x231530=parseInt(_0x388aca[_0x1cd3('0x2a72')]['offsetWidth']),_0x46adeb=document[_0x1cd3('0x380')],_0xe761b0=document[_0x1cd3('0x2a20')];if(_0xe4950+_0x231530>(_0x46adeb[_0x1cd3('0x767')]||_0xe761b0[_0x1cd3('0x767')])+(_0x46adeb['clientWidth']||_0xe761b0[_0x1cd3('0x29b5')]))_0x388aca[_0x1cd3('0x2a72')][_0x1cd3('0x440')]['left']=_0x4c6cb9['div'][_0x1cd3('0x2a1e')]-_0x231530+(mxClient['IS_IE']?0x6:-0x6)+'px';mxUtils[_0x1cd3('0x2bae')](_0x388aca[_0x1cd3('0x2a72')]);}};mxPopupMenu[_0x1cd3('0x77a')][_0x1cd3('0x2c7a')]=function(_0x4e4e00,_0xb1d2f3){_0x4e4e00=_0x4e4e00||this;if(this[_0x1cd3('0x2c84')]&&!_0xb1d2f3)_0x4e4e00[_0x1cd3('0x2c78')]=!0x0;else if(null!=_0x4e4e00['tbody']){_0x4e4e00[_0x1cd3('0x2c78')]=!0x1;var _0x34f187=document[_0x1cd3('0x3aa')]('tr'),_0x17a124=document[_0x1cd3('0x3aa')]('td');_0x17a124[_0x1cd3('0x45d')]=_0x1cd3('0x2c7c');_0x17a124[_0x1cd3('0x440')][_0x1cd3('0x2a9b')]=_0x1cd3('0x2c85');_0x34f187['appendChild'](_0x17a124);_0x17a124=document['createElement']('td');_0x17a124[_0x1cd3('0x440')][_0x1cd3('0x2a9b')]=_0x1cd3('0x2c85');_0x17a124[_0x1cd3('0x481')](_0x1cd3('0x2c86'),'2');var _0x5ae530=document[_0x1cd3('0x3aa')]('hr');_0x5ae530[_0x1cd3('0x481')]('size','1');_0x17a124[_0x1cd3('0xd4e')](_0x5ae530);_0x34f187[_0x1cd3('0xd4e')](_0x17a124);_0x4e4e00[_0x1cd3('0x29a2')]['appendChild'](_0x34f187);}};mxPopupMenu[_0x1cd3('0x77a')][_0x1cd3('0x15ad')]=function(_0x5ef74b,_0x46e281,_0x3faa3f,_0x5c0961){if(null!=this[_0x1cd3('0x2a72')]&&null!=this['tbody']&&null!=this[_0x1cd3('0x2c10')]){this['div'][_0x1cd3('0x440')][_0x1cd3('0x762')]=_0x5ef74b+'px';for(this[_0x1cd3('0x2a72')]['style'][_0x1cd3('0x712')]=_0x46e281+'px';null!=this['tbody'][_0x1cd3('0x29f5')];)mxEvent[_0x1cd3('0x2bd2')](this['tbody'][_0x1cd3('0x29f5')]),this[_0x1cd3('0x29a2')]['removeChild'](this[_0x1cd3('0x29a2')][_0x1cd3('0x29f5')]);this[_0x1cd3('0x2c87')]=0x0;this['factoryMethod'](this,_0x3faa3f,_0x5c0961);0x0<this['itemCount']&&(this['showMenu'](),this[_0x1cd3('0x2b28')](new mxEventObject(mxEvent[_0x1cd3('0x2bd0')])));}};mxPopupMenu[_0x1cd3('0x77a')][_0x1cd3('0x2c0f')]=function(){return null!=this[_0x1cd3('0x2a72')]&&this[_0x1cd3('0x2a72')]['parentNode']==document[_0x1cd3('0x380')];};mxPopupMenu['prototype'][_0x1cd3('0x462')]=function(){0x9<=document['documentMode']&&(this[_0x1cd3('0x2a72')][_0x1cd3('0x440')][_0x1cd3('0x395')]='none');document['body']['appendChild'](this[_0x1cd3('0x2a72')]);mxUtils['fit'](this[_0x1cd3('0x2a72')]);};mxPopupMenu['prototype'][_0x1cd3('0x2c11')]=function(){null!=this[_0x1cd3('0x2a72')]&&(null!=this[_0x1cd3('0x2a72')][_0x1cd3('0x29ea')]&&this[_0x1cd3('0x2a72')]['parentNode'][_0x1cd3('0x1817')](this[_0x1cd3('0x2a72')]),this[_0x1cd3('0x2c81')](this),this[_0x1cd3('0x2c79')]=!0x1);};mxPopupMenu['prototype'][_0x1cd3('0x2c81')]=function(_0x1c4be2){null!=_0x1c4be2[_0x1cd3('0x2c80')]&&(this[_0x1cd3('0x2c81')](_0x1c4be2['activeRow']),null!=_0x1c4be2[_0x1cd3('0x2c80')][_0x1cd3('0x2a72')][_0x1cd3('0x29ea')]&&_0x1c4be2[_0x1cd3('0x2c80')]['div'][_0x1cd3('0x29ea')]['removeChild'](_0x1c4be2[_0x1cd3('0x2c80')][_0x1cd3('0x2a72')]),_0x1c4be2[_0x1cd3('0x2c80')]=null);};mxPopupMenu['prototype'][_0x1cd3('0x2bcb')]=function(){null!=this[_0x1cd3('0x2a72')]&&(mxEvent[_0x1cd3('0x2bd2')](this[_0x1cd3('0x2a72')]),null!=this[_0x1cd3('0x2a72')]['parentNode']&&this['div'][_0x1cd3('0x29ea')][_0x1cd3('0x1817')](this[_0x1cd3('0x2a72')]),this[_0x1cd3('0x2a72')]=null);};function mxAutoSaveManager(_0x22717d){this['changeHandler']=mxUtils[_0x1cd3('0x5b2')](this,function(_0x466939,_0x3f4771){this[_0x1cd3('0x2c76')]()&&this['graphModelChanged'](_0x3f4771[_0x1cd3('0x2b12')]('edit')[_0x1cd3('0x2c2b')]);});this[_0x1cd3('0x2c88')](_0x22717d);}mxAutoSaveManager[_0x1cd3('0x77a')]=new mxEventSource();mxAutoSaveManager[_0x1cd3('0x77a')][_0x1cd3('0x29db')]=mxAutoSaveManager;mxAutoSaveManager[_0x1cd3('0x77a')][_0x1cd3('0x2c89')]=null;mxAutoSaveManager[_0x1cd3('0x77a')][_0x1cd3('0x2c8a')]=0xa;mxAutoSaveManager[_0x1cd3('0x77a')][_0x1cd3('0x2c8b')]=0x2;mxAutoSaveManager['prototype'][_0x1cd3('0x2c8c')]=0x5;mxAutoSaveManager['prototype'][_0x1cd3('0x2c8d')]=0x0;mxAutoSaveManager[_0x1cd3('0x77a')][_0x1cd3('0x2c8e')]=0x0;mxAutoSaveManager[_0x1cd3('0x77a')]['enabled']=!0x0;mxAutoSaveManager[_0x1cd3('0x77a')][_0x1cd3('0x2c8f')]=null;mxAutoSaveManager['prototype'][_0x1cd3('0x2c76')]=function(){return this[_0x1cd3('0x396')];};mxAutoSaveManager[_0x1cd3('0x77a')][_0x1cd3('0x2bee')]=function(_0xc9482e){this[_0x1cd3('0x396')]=_0xc9482e;};mxAutoSaveManager[_0x1cd3('0x77a')][_0x1cd3('0x2c88')]=function(_0x1dd8dd){null!=this[_0x1cd3('0x2c89')]&&this[_0x1cd3('0x2c89')][_0x1cd3('0x2a77')]()[_0x1cd3('0x2b27')](this[_0x1cd3('0x2c8f')]);this[_0x1cd3('0x2c89')]=_0x1dd8dd;null!=this[_0x1cd3('0x2c89')]&&this['graph'][_0x1cd3('0x2a77')]()[_0x1cd3('0x29ba')](mxEvent[_0x1cd3('0x2c45')],this[_0x1cd3('0x2c8f')]);};mxAutoSaveManager[_0x1cd3('0x77a')][_0x1cd3('0xd6d')]=function(){};mxAutoSaveManager[_0x1cd3('0x77a')][_0x1cd3('0x2c90')]=function(_0x4324db){_0x4324db=(new Date()['getTime']()-this[_0x1cd3('0x2c8e')])/0x3e8;_0x4324db>this[_0x1cd3('0x2c8a')]||this['ignoredChanges']>=this['autoSaveThreshold']&&_0x4324db>this[_0x1cd3('0x2c8b')]?(this[_0x1cd3('0xd6d')](),this[_0x1cd3('0x358')]()):this[_0x1cd3('0x2c8d')]++;};mxAutoSaveManager[_0x1cd3('0x77a')][_0x1cd3('0x358')]=function(){this['lastSnapshot']=new Date()['getTime']();this[_0x1cd3('0x2c8d')]=0x0;};mxAutoSaveManager[_0x1cd3('0x77a')][_0x1cd3('0x2bcb')]=function(){this[_0x1cd3('0x2c88')](null);};function mxAnimation(_0x1a3011){this['delay']=null!=_0x1a3011?_0x1a3011:0x14;}mxAnimation[_0x1cd3('0x77a')]=new mxEventSource();mxAnimation[_0x1cd3('0x77a')]['constructor']=mxAnimation;mxAnimation[_0x1cd3('0x77a')][_0x1cd3('0xf11')]=null;mxAnimation[_0x1cd3('0x77a')][_0x1cd3('0x2c5c')]=null;mxAnimation['prototype']['startAnimation']=function(){null==this[_0x1cd3('0x2c5c')]&&(this[_0x1cd3('0x2c5c')]=window['setInterval'](mxUtils[_0x1cd3('0x5b2')](this,this['updateAnimation']),this['delay']));};mxAnimation[_0x1cd3('0x77a')]['updateAnimation']=function(){this[_0x1cd3('0x2b28')](new mxEventObject(mxEvent[_0x1cd3('0x2c91')]));};mxAnimation['prototype'][_0x1cd3('0x2c92')]=function(){null!=this['thread']&&(window['clearInterval'](this[_0x1cd3('0x2c5c')]),this[_0x1cd3('0x2c5c')]=null,this['fireEvent'](new mxEventObject(mxEvent[_0x1cd3('0x2c93')])));};function mxMorphing(_0x2e918b,_0x767cd1,_0x2dbc0a,_0x40675b){mxAnimation[_0x1cd3('0x46d')](this,_0x40675b);this['graph']=_0x2e918b;this[_0x1cd3('0x74b')]=null!=_0x767cd1?_0x767cd1:0x6;this['ease']=null!=_0x2dbc0a?_0x2dbc0a:1.5;}mxMorphing[_0x1cd3('0x77a')]=new mxAnimation();mxMorphing['prototype']['constructor']=mxMorphing;mxMorphing['prototype']['graph']=null;mxMorphing['prototype']['steps']=null;mxMorphing[_0x1cd3('0x77a')][_0x1cd3('0x74a')]=0x0;mxMorphing['prototype'][_0x1cd3('0x2c94')]=null;mxMorphing[_0x1cd3('0x77a')]['cells']=null;mxMorphing[_0x1cd3('0x77a')][_0x1cd3('0x2c95')]=function(){var _0x2f4e69=new mxCellStatePreview(this[_0x1cd3('0x2c89')]);if(null!=this[_0x1cd3('0x2b8f')])for(var _0x4a44c8=0x0;_0x4a44c8<this['cells'][_0x1cd3('0x7a')];_0x4a44c8++)this[_0x1cd3('0x2c96')](cells[_0x4a44c8],_0x2f4e69,!0x1);else this['animateCell'](this[_0x1cd3('0x2c89')][_0x1cd3('0x2a77')]()[_0x1cd3('0x2a78')](),_0x2f4e69,!0x0);this[_0x1cd3('0x37e')](_0x2f4e69);(_0x2f4e69[_0x1cd3('0x398')]()||this[_0x1cd3('0x74a')]++>=this['steps'])&&this['stopAnimation']();};mxMorphing[_0x1cd3('0x77a')][_0x1cd3('0x37e')]=function(_0x3b1749){_0x3b1749['show']();};mxMorphing['prototype'][_0x1cd3('0x2c96')]=function(_0x56b403,_0x33dc67,_0x375107){var _0x413dc9=this[_0x1cd3('0x2c89')]['getView']()['getState'](_0x56b403),_0x320ab2=null;if(null!=_0x413dc9&&(_0x320ab2=this[_0x1cd3('0x2c97')](_0x413dc9),this['graph'][_0x1cd3('0x2a77')]()[_0x1cd3('0x2c98')](_0x56b403)&&(0x0!=_0x320ab2['x']||0x0!=_0x320ab2['y']))){var _0xca00f6=this[_0x1cd3('0x2c89')]['view']['getTranslate'](),_0x577a16=this[_0x1cd3('0x2c89')][_0x1cd3('0x1665')][_0x1cd3('0x2a85')]();_0x320ab2['x']+=_0xca00f6['x']*_0x577a16;_0x320ab2['y']+=_0xca00f6['y']*_0x577a16;_0x33dc67[_0x1cd3('0x2c99')](_0x413dc9,-_0x320ab2['x']/this[_0x1cd3('0x2c94')],-_0x320ab2['y']/this['ease']);}if(_0x375107&&!this[_0x1cd3('0x2c9a')](_0x413dc9,_0x320ab2)){_0x413dc9=this[_0x1cd3('0x2c89')][_0x1cd3('0x2a77')]()[_0x1cd3('0x29e5')](_0x56b403);for(_0x320ab2=0x0;_0x320ab2<_0x413dc9;_0x320ab2++)this['animateCell'](this[_0x1cd3('0x2c89')][_0x1cd3('0x2a77')]()[_0x1cd3('0x29e6')](_0x56b403,_0x320ab2),_0x33dc67,_0x375107);}};mxMorphing[_0x1cd3('0x77a')]['stopRecursion']=function(_0x33418c,_0x316f5f){return null!=_0x316f5f&&(0x0!=_0x316f5f['x']||0x0!=_0x316f5f['y']);};mxMorphing[_0x1cd3('0x77a')][_0x1cd3('0x2c97')]=function(_0xc87f4f){var _0x3df3e5=this[_0x1cd3('0x2c9b')](_0xc87f4f['cell']),_0x12629c=this[_0x1cd3('0x2c89')][_0x1cd3('0x29de')]()[_0x1cd3('0x2c9c')](),_0xa696b2=this[_0x1cd3('0x2c89')][_0x1cd3('0x29de')]()[_0x1cd3('0x2a85')]();_0xc87f4f=new mxPoint(_0xc87f4f['x']/_0xa696b2-_0x12629c['x'],_0xc87f4f['y']/_0xa696b2-_0x12629c['y']);return new mxPoint((_0x3df3e5['x']-_0xc87f4f['x'])*_0xa696b2,(_0x3df3e5['y']-_0xc87f4f['y'])*_0xa696b2);};mxMorphing['prototype']['getOriginForCell']=function(_0x24e37f){var _0x3c1ad2=null;null!=_0x24e37f&&(_0x3c1ad2=this[_0x1cd3('0x2c9b')](this[_0x1cd3('0x2c89')][_0x1cd3('0x2a77')]()[_0x1cd3('0x2c9d')](_0x24e37f)),_0x24e37f=this['graph']['getCellGeometry'](_0x24e37f),null!=_0x24e37f&&(_0x3c1ad2['x']+=_0x24e37f['x'],_0x3c1ad2['y']+=_0x24e37f['y']));null==_0x3c1ad2&&(_0x3c1ad2=this[_0x1cd3('0x2c89')][_0x1cd3('0x1665')][_0x1cd3('0x2c9c')](),_0x3c1ad2=new mxPoint(-_0x3c1ad2['x'],-_0x3c1ad2['y']));return _0x3c1ad2;};function mxImageBundle(_0x3eb7cd){this[_0x1cd3('0x1271')]=[];this[_0x1cd3('0x2c9e')]=null!=_0x3eb7cd?_0x3eb7cd:!0x1;}mxImageBundle[_0x1cd3('0x77a')][_0x1cd3('0x1271')]=null;mxImageBundle[_0x1cd3('0x77a')][_0x1cd3('0x1271')]=null;mxImageBundle[_0x1cd3('0x77a')][_0x1cd3('0x2c9f')]=function(_0x5d414d,_0x2722c4,_0x4fdffc){this[_0x1cd3('0x1271')][_0x5d414d]={'value':_0x2722c4,'fallback':_0x4fdffc};};mxImageBundle[_0x1cd3('0x77a')][_0x1cd3('0x2ca0')]=function(_0x4e47ff){var _0x4bdd5e=null;null!=_0x4e47ff&&(_0x4e47ff=this[_0x1cd3('0x1271')][_0x4e47ff],null!=_0x4e47ff&&(_0x4bdd5e=this[_0x1cd3('0x2c9e')]?_0x4e47ff['fallback']:_0x4e47ff[_0x1cd3('0x3db')]));return _0x4bdd5e;};function mxImageExport(){}mxImageExport[_0x1cd3('0x77a')][_0x1cd3('0x2ca1')]=!0x1;mxImageExport['prototype']['drawState']=function(_0x398d2e,_0x5e6dd3){null!=_0x398d2e&&(this[_0x1cd3('0x2ca2')](_0x398d2e,_0x5e6dd3,this[_0x1cd3('0x2ca3')]),this['includeOverlays']&&this['visitStatesRecursive'](_0x398d2e,_0x5e6dd3,this[_0x1cd3('0x2ca4')]));};mxImageExport[_0x1cd3('0x77a')][_0x1cd3('0x2ca2')]=function(_0x203d4e,_0xac0806,_0xce3ad8){if(null!=_0x203d4e){_0xce3ad8(_0x203d4e,_0xac0806);for(var _0x520bb6=_0x203d4e[_0x1cd3('0x1665')][_0x1cd3('0x2c89')],_0x46cd51=_0x520bb6[_0x1cd3('0x42e')][_0x1cd3('0x29e5')](_0x203d4e[_0x1cd3('0xefb')]),_0x541080=0x0;_0x541080<_0x46cd51;_0x541080++){var _0x47ca5d=_0x520bb6['view']['getState'](_0x520bb6[_0x1cd3('0x42e')]['getChildAt'](_0x203d4e['cell'],_0x541080));this[_0x1cd3('0x2ca2')](_0x47ca5d,_0xac0806,_0xce3ad8);}}};mxImageExport[_0x1cd3('0x77a')][_0x1cd3('0x2ca3')]=function(_0x2e9b73,_0xd4dab){_0x2e9b73[_0x1cd3('0x29dd')]instanceof mxShape&&(_0xd4dab[_0x1cd3('0xd6d')](),_0x2e9b73[_0x1cd3('0x29dd')][_0x1cd3('0x2ca5')](_0xd4dab),_0xd4dab[_0x1cd3('0x2ca6')]());null!=_0x2e9b73[_0x1cd3('0x401')]&&(_0xd4dab[_0x1cd3('0xd6d')](),_0x2e9b73[_0x1cd3('0x401')][_0x1cd3('0x2ca5')](_0xd4dab),_0xd4dab[_0x1cd3('0x2ca6')]());};mxImageExport[_0x1cd3('0x77a')][_0x1cd3('0x2ca4')]=function(_0x4cde12,_0x37bf24){null!=_0x4cde12[_0x1cd3('0x2ca7')]&&_0x4cde12[_0x1cd3('0x2ca7')][_0x1cd3('0x29ce')](function(_0x52d4fe,_0x5b0598){_0x5b0598 instanceof mxShape&&_0x5b0598[_0x1cd3('0x2ca5')](_0x37bf24);});};function mxAbstractCanvas2D(){this[_0x1cd3('0x2ca8')]=this[_0x1cd3('0x2ca9')]();this[_0x1cd3('0x358')]();}mxAbstractCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x19')]=null;mxAbstractCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x2caa')]=null;mxAbstractCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x480')]=null;mxAbstractCanvas2D['prototype'][_0x1cd3('0x2cab')]=!0x0;mxAbstractCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x2cac')]=0x0;mxAbstractCanvas2D['prototype'][_0x1cd3('0x2cad')]=0x0;mxAbstractCanvas2D['prototype'][_0x1cd3('0x2cae')]='M';mxAbstractCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x2caf')]='L';mxAbstractCanvas2D['prototype'][_0x1cd3('0x2cb0')]='Q';mxAbstractCanvas2D[_0x1cd3('0x77a')]['curveOp']='C';mxAbstractCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x2cb1')]='Z';mxAbstractCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x2cb2')]=!0x1;mxAbstractCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x2ca9')]=function(){return new mxUrlConverter();};mxAbstractCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x358')]=function(){this[_0x1cd3('0x19')]=this[_0x1cd3('0x2cb3')]();this[_0x1cd3('0x2caa')]=[];};mxAbstractCanvas2D[_0x1cd3('0x77a')]['createState']=function(){return{'dx':0x0,'dy':0x0,'scale':0x1,'alpha':0x1,'fillColor':null,'fillAlpha':0x1,'gradientColor':null,'gradientAlpha':0x1,'gradientDirection':null,'strokeColor':null,'strokeWidth':0x1,'dashed':!0x1,'dashPattern':'3\x203','lineCap':_0x1cd3('0x2cb4'),'lineJoin':'miter','miterLimit':0xa,'fontColor':_0x1cd3('0x2cb5'),'fontBackgroundColor':null,'fontBorderColor':null,'fontSize':mxConstants[_0x1cd3('0x2cb6')],'fontFamily':mxConstants['DEFAULT_FONTFAMILY'],'fontStyle':0x0,'shadow':!0x1,'shadowColor':mxConstants[_0x1cd3('0x2cb7')],'shadowAlpha':mxConstants['SHADOW_OPACITY'],'shadowDx':mxConstants[_0x1cd3('0x2cb8')],'shadowDy':mxConstants[_0x1cd3('0x2cb9')],'rotation':0x0,'rotationCx':0x0,'rotationCy':0x0};};mxAbstractCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x130')]=function(_0x1e1d4f){return Math[_0x1cd3('0x18ba')](parseFloat(_0x1e1d4f));};mxAbstractCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x2cba')]=function(){if(null!=this[_0x1cd3('0x480')]&&(this[_0x1cd3('0x480')]['push'](arguments[0x0]),0x2<arguments[_0x1cd3('0x7a')]))for(var _0x2191c1=this[_0x1cd3('0x19')],_0x88e532=0x2;_0x88e532<arguments[_0x1cd3('0x7a')];_0x88e532+=0x2)this[_0x1cd3('0x2cac')]=arguments[_0x88e532-0x1],this[_0x1cd3('0x2cad')]=arguments[_0x88e532],this[_0x1cd3('0x480')][_0x1cd3('0x7b')](this[_0x1cd3('0x130')]((this[_0x1cd3('0x2cac')]+_0x2191c1['dx'])*_0x2191c1[_0x1cd3('0x29df')])),this[_0x1cd3('0x480')][_0x1cd3('0x7b')](this['format']((this[_0x1cd3('0x2cad')]+_0x2191c1['dy'])*_0x2191c1[_0x1cd3('0x29df')]));};mxAbstractCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x2cbb')]=function(_0x5db6c7,_0x18bc14,_0x205ea9,_0x4f1dee,_0x2c8046){_0x205ea9*=Math['PI']/0xb4;return mxUtils[_0x1cd3('0x2a52')](new mxPoint(_0x5db6c7,_0x18bc14),Math['cos'](_0x205ea9),Math[_0x1cd3('0x2a4e')](_0x205ea9),new mxPoint(_0x4f1dee,_0x2c8046));};mxAbstractCanvas2D['prototype']['save']=function(){this[_0x1cd3('0x2caa')]['push'](this[_0x1cd3('0x19')]);this[_0x1cd3('0x19')]=mxUtils['clone'](this[_0x1cd3('0x19')]);};mxAbstractCanvas2D[_0x1cd3('0x77a')]['restore']=function(){this[_0x1cd3('0x19')]=this[_0x1cd3('0x2caa')][_0x1cd3('0x622')]();};mxAbstractCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x29df')]=function(_0xd2d778){this[_0x1cd3('0x19')]['scale']*=_0xd2d778;this[_0x1cd3('0x19')]['strokeWidth']*=_0xd2d778;};mxAbstractCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x43c')]=function(_0x1c471e,_0x52a6dc){this[_0x1cd3('0x19')]['dx']+=_0x1c471e;this[_0x1cd3('0x19')]['dy']+=_0x52a6dc;};mxAbstractCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x2cbc')]=function(_0x2c559a){this[_0x1cd3('0x19')][_0x1cd3('0x2cbd')]=_0x2c559a;};mxAbstractCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x2cbe')]=function(_0x2509e8){_0x2509e8==mxConstants[_0x1cd3('0x29d1')]&&(_0x2509e8=null);this[_0x1cd3('0x19')][_0x1cd3('0x2ac9')]=_0x2509e8;this[_0x1cd3('0x19')][_0x1cd3('0x2cbf')]=null;};mxAbstractCanvas2D[_0x1cd3('0x77a')]['setGradient']=function(_0x26dbec,_0x7c972c,_0x5eab5a,_0x33ff43,_0x544cb2,_0x407166,_0x5c4f21,_0x3aac21,_0x30bd4a){_0x5eab5a=this[_0x1cd3('0x19')];_0x5eab5a[_0x1cd3('0x2ac9')]=_0x26dbec;_0x5eab5a['fillAlpha']=null!=_0x3aac21?_0x3aac21:0x1;_0x5eab5a['gradientColor']=_0x7c972c;_0x5eab5a[_0x1cd3('0x2cc0')]=null!=_0x30bd4a?_0x30bd4a:0x1;_0x5eab5a[_0x1cd3('0x2acb')]=_0x5c4f21;};mxAbstractCanvas2D['prototype'][_0x1cd3('0x2cc1')]=function(_0x1f9152){_0x1f9152==mxConstants[_0x1cd3('0x29d1')]&&(_0x1f9152=null);this[_0x1cd3('0x19')][_0x1cd3('0x2acc')]=_0x1f9152;};mxAbstractCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x2cc2')]=function(_0x3dc0de){this['state'][_0x1cd3('0x2ace')]=_0x3dc0de;};mxAbstractCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x2cc3')]=function(_0x1d248f){this['state'][_0x1cd3('0x2ae7')]=_0x1d248f;};mxAbstractCanvas2D['prototype'][_0x1cd3('0x2cc4')]=function(_0x14e033){this[_0x1cd3('0x19')][_0x1cd3('0x2cc5')]=_0x14e033;};mxAbstractCanvas2D[_0x1cd3('0x77a')]['setLineCap']=function(_0x1cbd4d){this['state'][_0x1cd3('0x2cc6')]=_0x1cbd4d;};mxAbstractCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x2cc7')]=function(_0x170043){this[_0x1cd3('0x19')]['lineJoin']=_0x170043;};mxAbstractCanvas2D['prototype']['setMiterLimit']=function(_0x81e3d6){this['state']['miterLimit']=_0x81e3d6;};mxAbstractCanvas2D['prototype'][_0x1cd3('0x2cc8')]=function(_0x241a91){_0x241a91==mxConstants[_0x1cd3('0x29d1')]&&(_0x241a91=null);this[_0x1cd3('0x19')]['fontColor']=_0x241a91;};mxAbstractCanvas2D[_0x1cd3('0x77a')]['setFontBackgroundColor']=function(_0x125a20){_0x125a20==mxConstants[_0x1cd3('0x29d1')]&&(_0x125a20=null);this[_0x1cd3('0x19')][_0x1cd3('0x2cc9')]=_0x125a20;};mxAbstractCanvas2D[_0x1cd3('0x77a')]['setFontBorderColor']=function(_0x242f65){_0x242f65==mxConstants[_0x1cd3('0x29d1')]&&(_0x242f65=null);this[_0x1cd3('0x19')][_0x1cd3('0x2cca')]=_0x242f65;};mxAbstractCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x2ccb')]=function(_0x302e60){this['state'][_0x1cd3('0x8d6')]=_0x302e60;};mxAbstractCanvas2D['prototype'][_0x1cd3('0x2ccc')]=function(_0x1b402b){this[_0x1cd3('0x19')][_0x1cd3('0x1841')]=_0x1b402b;};mxAbstractCanvas2D[_0x1cd3('0x77a')]['setFontStyle']=function(_0x10c940){null==_0x10c940&&(_0x10c940=0x0);this['state'][_0x1cd3('0x2af0')]=_0x10c940;};mxAbstractCanvas2D['prototype']['setShadow']=function(_0x42bed3){this[_0x1cd3('0x19')][_0x1cd3('0x2ae0')]=_0x42bed3;};mxAbstractCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x2ccd')]=function(_0x2acbdb){_0x2acbdb==mxConstants[_0x1cd3('0x29d1')]&&(_0x2acbdb=null);this[_0x1cd3('0x19')][_0x1cd3('0x2cce')]=_0x2acbdb;};mxAbstractCanvas2D[_0x1cd3('0x77a')]['setShadowAlpha']=function(_0x390c9e){this[_0x1cd3('0x19')]['shadowAlpha']=_0x390c9e;};mxAbstractCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x2ccf')]=function(_0xf494c0,_0x476b03){this[_0x1cd3('0x19')][_0x1cd3('0x2cd0')]=_0xf494c0;this[_0x1cd3('0x19')][_0x1cd3('0x2cd1')]=_0x476b03;};mxAbstractCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x2cd2')]=function(){this[_0x1cd3('0x2cad')]=this['lastX']=0x0;this[_0x1cd3('0x480')]=[];};mxAbstractCanvas2D['prototype']['moveTo']=function(_0x57c1bd,_0x439fa5){this[_0x1cd3('0x2cba')](this['moveOp'],_0x57c1bd,_0x439fa5);};mxAbstractCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x2cd3')]=function(_0x541ccf,_0x3f5e90){this[_0x1cd3('0x2cba')](this[_0x1cd3('0x2caf')],_0x541ccf,_0x3f5e90);};mxAbstractCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x2cd4')]=function(_0x338850,_0xedb029,_0x433e92,_0x43b4e6){this['addOp'](this[_0x1cd3('0x2cb0')],_0x338850,_0xedb029,_0x433e92,_0x43b4e6);};mxAbstractCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x2cd5')]=function(_0x2d2110,_0x3a3f47,_0x5d303f,_0x330c72,_0x4ab2dc,_0x19bccc){this[_0x1cd3('0x2cba')](this[_0x1cd3('0x2cd6')],_0x2d2110,_0x3a3f47,_0x5d303f,_0x330c72,_0x4ab2dc,_0x19bccc);};mxAbstractCanvas2D['prototype'][_0x1cd3('0x2cd7')]=function(_0x546184,_0x1680ba,_0x5c8824,_0x2b8960,_0x3f3e2e,_0xec2da1,_0x5d30cc){_0x546184=mxUtils['arcToCurves'](this[_0x1cd3('0x2cac')],this[_0x1cd3('0x2cad')],_0x546184,_0x1680ba,_0x5c8824,_0x2b8960,_0x3f3e2e,_0xec2da1,_0x5d30cc);for(_0x1680ba=0x0;_0x1680ba<_0x546184[_0x1cd3('0x7a')];_0x1680ba+=0x6)this[_0x1cd3('0x2cd5')](_0x546184[_0x1680ba],_0x546184[_0x1680ba+0x1],_0x546184[_0x1680ba+0x2],_0x546184[_0x1680ba+0x3],_0x546184[_0x1680ba+0x4],_0x546184[_0x1680ba+0x5]);};mxAbstractCanvas2D['prototype']['close']=function(_0x484d9f,_0x4ef334,_0x122712,_0x5bd0f2,_0x546e73,_0x1cd10f){this[_0x1cd3('0x2cba')](this[_0x1cd3('0x2cb1')]);};mxAbstractCanvas2D['prototype'][_0x1cd3('0x137b')]=function(){};function mxXmlCanvas2D(_0x4ff33a){mxAbstractCanvas2D['call'](this);this[_0x1cd3('0x554')]=_0x4ff33a;this[_0x1cd3('0x2cd8')]();}mxUtils['extend'](mxXmlCanvas2D,mxAbstractCanvas2D);mxXmlCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x2cd9')]=!0x0;mxXmlCanvas2D['prototype']['compressed']=!0x0;mxXmlCanvas2D[_0x1cd3('0x77a')]['writeDefaults']=function(){var _0x7d5cfd;_0x7d5cfd=this['createElement'](_0x1cd3('0x2cda'));_0x7d5cfd[_0x1cd3('0x481')](_0x1cd3('0x2cdb'),mxConstants[_0x1cd3('0x2a71')]);this[_0x1cd3('0x554')]['appendChild'](_0x7d5cfd);_0x7d5cfd=this[_0x1cd3('0x3aa')](_0x1cd3('0x2cdc'));_0x7d5cfd[_0x1cd3('0x481')](_0x1cd3('0x113e'),mxConstants['DEFAULT_FONTSIZE']);this['root']['appendChild'](_0x7d5cfd);_0x7d5cfd=this[_0x1cd3('0x3aa')](_0x1cd3('0x2cdd'));_0x7d5cfd['setAttribute'](_0x1cd3('0x3c6'),mxConstants['SHADOWCOLOR']);this['root'][_0x1cd3('0xd4e')](_0x7d5cfd);_0x7d5cfd=this['createElement']('shadowalpha');_0x7d5cfd[_0x1cd3('0x481')](_0x1cd3('0x2cbd'),mxConstants['SHADOW_OPACITY']);this[_0x1cd3('0x554')][_0x1cd3('0xd4e')](_0x7d5cfd);_0x7d5cfd=this[_0x1cd3('0x3aa')](_0x1cd3('0x2cde'));_0x7d5cfd[_0x1cd3('0x481')]('dx',mxConstants[_0x1cd3('0x2cb8')]);_0x7d5cfd['setAttribute']('dy',mxConstants['SHADOW_OFFSET_Y']);this[_0x1cd3('0x554')][_0x1cd3('0xd4e')](_0x7d5cfd);};mxXmlCanvas2D['prototype'][_0x1cd3('0x130')]=function(_0x1954ae){return parseFloat(parseFloat(_0x1954ae)[_0x1cd3('0x2cdf')](0x2));};mxXmlCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x3aa')]=function(_0x4c8dcc){return this[_0x1cd3('0x554')][_0x1cd3('0x29fb')][_0x1cd3('0x3aa')](_0x4c8dcc);};mxXmlCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0xd6d')]=function(){this['compressed']&&mxAbstractCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0xd6d')][_0x1cd3('0x4df')](this,arguments);this[_0x1cd3('0x554')][_0x1cd3('0xd4e')](this[_0x1cd3('0x3aa')](_0x1cd3('0xd6d')));};mxXmlCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x2ca6')]=function(){this[_0x1cd3('0x2ce0')]&&mxAbstractCanvas2D['prototype']['restore'][_0x1cd3('0x4df')](this,arguments);this[_0x1cd3('0x554')][_0x1cd3('0xd4e')](this['createElement'](_0x1cd3('0x2ca6')));};mxXmlCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x29df')]=function(_0x2747cb){if(this['compressed']){if(this[_0x1cd3('0x19')][_0x1cd3('0x29df')]==_0x2747cb)return;mxAbstractCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x2cbc')][_0x1cd3('0x4df')](this,arguments);}var _0x11ab57=this[_0x1cd3('0x3aa')](_0x1cd3('0x29df'));_0x11ab57[_0x1cd3('0x481')](_0x1cd3('0x29df'),_0x2747cb);this[_0x1cd3('0x554')][_0x1cd3('0xd4e')](_0x11ab57);};mxXmlCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x43c')]=function(_0x2689b0,_0x246a75){var _0x3b77ec=this[_0x1cd3('0x3aa')](_0x1cd3('0x43c'));_0x3b77ec[_0x1cd3('0x481')]('dx',this[_0x1cd3('0x130')](_0x2689b0));_0x3b77ec[_0x1cd3('0x481')]('dy',this[_0x1cd3('0x130')](_0x246a75));this[_0x1cd3('0x554')][_0x1cd3('0xd4e')](_0x3b77ec);};mxXmlCanvas2D['prototype']['rotate']=function(_0x66f701,_0x5661f4,_0x107f1b,_0x175407,_0x2a7267){var _0xdfe5d=this['createElement'](_0x1cd3('0x2ce1'));if(0x0!=_0x66f701||_0x5661f4||_0x107f1b)_0xdfe5d[_0x1cd3('0x481')](_0x1cd3('0x2ce2'),this[_0x1cd3('0x130')](_0x66f701)),_0xdfe5d['setAttribute'](_0x1cd3('0x2ce3'),_0x5661f4?'1':'0'),_0xdfe5d[_0x1cd3('0x481')]('flipV',_0x107f1b?'1':'0'),_0xdfe5d['setAttribute']('cx',this[_0x1cd3('0x130')](_0x175407)),_0xdfe5d[_0x1cd3('0x481')]('cy',this['format'](_0x2a7267)),this['root']['appendChild'](_0xdfe5d);};mxXmlCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x2cbc')]=function(_0x3e4536){if(this[_0x1cd3('0x2ce0')]){if(this[_0x1cd3('0x19')][_0x1cd3('0x2cbd')]==_0x3e4536)return;mxAbstractCanvas2D[_0x1cd3('0x77a')]['setAlpha']['apply'](this,arguments);}var _0x408d92=this['createElement'](_0x1cd3('0x2cbd'));_0x408d92[_0x1cd3('0x481')](_0x1cd3('0x2cbd'),this[_0x1cd3('0x130')](_0x3e4536));this[_0x1cd3('0x554')][_0x1cd3('0xd4e')](_0x408d92);};mxXmlCanvas2D['prototype'][_0x1cd3('0x2cbe')]=function(_0x35a537){_0x35a537==mxConstants['NONE']&&(_0x35a537=null);if(this[_0x1cd3('0x2ce0')]){if(this[_0x1cd3('0x19')][_0x1cd3('0x2ac9')]==_0x35a537)return;mxAbstractCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x2cbe')]['apply'](this,arguments);}var _0x28007b=this['createElement'](_0x1cd3('0x2ce4'));_0x28007b['setAttribute'](_0x1cd3('0x3c6'),null!=_0x35a537?_0x35a537:mxConstants['NONE']);this[_0x1cd3('0x554')][_0x1cd3('0xd4e')](_0x28007b);};mxXmlCanvas2D[_0x1cd3('0x77a')]['setGradient']=function(_0x526981,_0x33c99e,_0x1b4016,_0x12c828,_0x2fcc1f,_0x4192c6,_0x584359,_0x1ea8f1,_0x5d2a24){if(null!=_0x526981&&null!=_0x33c99e){mxAbstractCanvas2D[_0x1cd3('0x77a')]['setGradient']['apply'](this,arguments);var _0x48a2ab=this[_0x1cd3('0x3aa')](_0x1cd3('0x2ce5'));_0x48a2ab['setAttribute']('c1',_0x526981);_0x48a2ab[_0x1cd3('0x481')]('c2',_0x33c99e);_0x48a2ab['setAttribute']('x',this['format'](_0x1b4016));_0x48a2ab[_0x1cd3('0x481')]('y',this['format'](_0x12c828));_0x48a2ab['setAttribute']('w',this[_0x1cd3('0x130')](_0x2fcc1f));_0x48a2ab[_0x1cd3('0x481')]('h',this[_0x1cd3('0x130')](_0x4192c6));null!=_0x584359&&_0x48a2ab['setAttribute'](_0x1cd3('0x5e0'),_0x584359);null!=_0x1ea8f1&&_0x48a2ab[_0x1cd3('0x481')](_0x1cd3('0x2ce6'),_0x1ea8f1);null!=_0x5d2a24&&_0x48a2ab[_0x1cd3('0x481')](_0x1cd3('0x2ce7'),_0x5d2a24);this[_0x1cd3('0x554')][_0x1cd3('0xd4e')](_0x48a2ab);}};mxXmlCanvas2D[_0x1cd3('0x77a')]['setStrokeColor']=function(_0x564804){_0x564804==mxConstants[_0x1cd3('0x29d1')]&&(_0x564804=null);if(this[_0x1cd3('0x2ce0')]){if(this[_0x1cd3('0x19')]['strokeColor']==_0x564804)return;mxAbstractCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x2cc1')][_0x1cd3('0x4df')](this,arguments);}var _0xdf0d9=this[_0x1cd3('0x3aa')](_0x1cd3('0x2ce8'));_0xdf0d9['setAttribute'](_0x1cd3('0x3c6'),null!=_0x564804?_0x564804:mxConstants[_0x1cd3('0x29d1')]);this[_0x1cd3('0x554')][_0x1cd3('0xd4e')](_0xdf0d9);};mxXmlCanvas2D['prototype'][_0x1cd3('0x2cc2')]=function(_0xb594b4){if(this[_0x1cd3('0x2ce0')]){if(this['state'][_0x1cd3('0x2ace')]==_0xb594b4)return;mxAbstractCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x2cc2')][_0x1cd3('0x4df')](this,arguments);}var _0x1c856b=this[_0x1cd3('0x3aa')](_0x1cd3('0x2ce9'));_0x1c856b[_0x1cd3('0x481')](_0x1cd3('0x4d7'),this[_0x1cd3('0x130')](_0xb594b4));this[_0x1cd3('0x554')][_0x1cd3('0xd4e')](_0x1c856b);};mxXmlCanvas2D['prototype'][_0x1cd3('0x2cc3')]=function(_0x417d27){if(this[_0x1cd3('0x2ce0')]){if(this[_0x1cd3('0x19')][_0x1cd3('0x2ae7')]==_0x417d27)return;mxAbstractCanvas2D['prototype'][_0x1cd3('0x2cc3')][_0x1cd3('0x4df')](this,arguments);}var _0x1708cd=this[_0x1cd3('0x3aa')](_0x1cd3('0x2ae7'));_0x1708cd[_0x1cd3('0x481')](_0x1cd3('0x2ae7'),_0x417d27?'1':'0');this[_0x1cd3('0x554')][_0x1cd3('0xd4e')](_0x1708cd);};mxXmlCanvas2D[_0x1cd3('0x77a')]['setDashPattern']=function(_0x379328){if(this['compressed']){if(this[_0x1cd3('0x19')][_0x1cd3('0x2cc5')]==_0x379328)return;mxAbstractCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x2cc4')]['apply'](this,arguments);}var _0x399c38=this[_0x1cd3('0x3aa')](_0x1cd3('0x2cea'));_0x399c38[_0x1cd3('0x481')](_0x1cd3('0x2ceb'),_0x379328);this['root'][_0x1cd3('0xd4e')](_0x399c38);};mxXmlCanvas2D[_0x1cd3('0x77a')]['setLineCap']=function(_0x286048){if(this[_0x1cd3('0x2ce0')]){if(this['state'][_0x1cd3('0x2cc6')]==_0x286048)return;mxAbstractCanvas2D[_0x1cd3('0x77a')]['setLineCap']['apply'](this,arguments);}var _0x4d81ac=this[_0x1cd3('0x3aa')](_0x1cd3('0x2cec'));_0x4d81ac[_0x1cd3('0x481')]('cap',_0x286048);this[_0x1cd3('0x554')]['appendChild'](_0x4d81ac);};mxXmlCanvas2D[_0x1cd3('0x77a')]['setLineJoin']=function(_0x4b0a5d){if(this[_0x1cd3('0x2ce0')]){if(this['state']['lineJoin']==_0x4b0a5d)return;mxAbstractCanvas2D[_0x1cd3('0x77a')]['setLineJoin']['apply'](this,arguments);}var _0x547ebd=this[_0x1cd3('0x3aa')]('linejoin');_0x547ebd[_0x1cd3('0x481')](_0x1cd3('0x3de'),_0x4b0a5d);this[_0x1cd3('0x554')]['appendChild'](_0x547ebd);};mxXmlCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x2ced')]=function(_0x226dd8){if(this[_0x1cd3('0x2ce0')]){if(this[_0x1cd3('0x19')][_0x1cd3('0x2cee')]==_0x226dd8)return;mxAbstractCanvas2D['prototype'][_0x1cd3('0x2ced')][_0x1cd3('0x4df')](this,arguments);}var _0x1dbd2c=this[_0x1cd3('0x3aa')](_0x1cd3('0x2cef'));_0x1dbd2c[_0x1cd3('0x481')](_0x1cd3('0x8fe'),_0x226dd8);this['root'][_0x1cd3('0xd4e')](_0x1dbd2c);};mxXmlCanvas2D[_0x1cd3('0x77a')]['setFontColor']=function(_0x2b79dd){if(this[_0x1cd3('0x2cd9')]){_0x2b79dd==mxConstants['NONE']&&(_0x2b79dd=null);if(this[_0x1cd3('0x2ce0')]){if(this['state']['fontColor']==_0x2b79dd)return;mxAbstractCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x2cc8')][_0x1cd3('0x4df')](this,arguments);}var _0xdb2375=this[_0x1cd3('0x3aa')](_0x1cd3('0x2cf0'));_0xdb2375[_0x1cd3('0x481')](_0x1cd3('0x3c6'),null!=_0x2b79dd?_0x2b79dd:mxConstants[_0x1cd3('0x29d1')]);this[_0x1cd3('0x554')]['appendChild'](_0xdb2375);}};mxXmlCanvas2D['prototype']['setFontBackgroundColor']=function(_0x33abfa){if(this['textEnabled']){_0x33abfa==mxConstants['NONE']&&(_0x33abfa=null);if(this[_0x1cd3('0x2ce0')]){if(this['state'][_0x1cd3('0x2cc9')]==_0x33abfa)return;mxAbstractCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x2cf1')][_0x1cd3('0x4df')](this,arguments);}var _0x554ce5=this[_0x1cd3('0x3aa')](_0x1cd3('0x2cf2'));_0x554ce5[_0x1cd3('0x481')](_0x1cd3('0x3c6'),null!=_0x33abfa?_0x33abfa:mxConstants[_0x1cd3('0x29d1')]);this[_0x1cd3('0x554')][_0x1cd3('0xd4e')](_0x554ce5);}};mxXmlCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x2cf3')]=function(_0x3084b8){if(this[_0x1cd3('0x2cd9')]){_0x3084b8==mxConstants[_0x1cd3('0x29d1')]&&(_0x3084b8=null);if(this[_0x1cd3('0x2ce0')]){if(this[_0x1cd3('0x19')][_0x1cd3('0x2cca')]==_0x3084b8)return;mxAbstractCanvas2D[_0x1cd3('0x77a')]['setFontBorderColor'][_0x1cd3('0x4df')](this,arguments);}var _0x37c67b=this['createElement'](_0x1cd3('0x2cf4'));_0x37c67b[_0x1cd3('0x481')](_0x1cd3('0x3c6'),null!=_0x3084b8?_0x3084b8:mxConstants[_0x1cd3('0x29d1')]);this[_0x1cd3('0x554')][_0x1cd3('0xd4e')](_0x37c67b);}};mxXmlCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x2ccb')]=function(_0x2a2ff2){if(this[_0x1cd3('0x2cd9')]){if(this[_0x1cd3('0x2ce0')]){if(this[_0x1cd3('0x19')]['fontSize']==_0x2a2ff2)return;mxAbstractCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x2ccb')][_0x1cd3('0x4df')](this,arguments);}var _0x42b462=this[_0x1cd3('0x3aa')](_0x1cd3('0x2cdc'));_0x42b462[_0x1cd3('0x481')]('size',_0x2a2ff2);this[_0x1cd3('0x554')][_0x1cd3('0xd4e')](_0x42b462);}};mxXmlCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x2ccc')]=function(_0x1c2cb6){if(this[_0x1cd3('0x2cd9')]){if(this['compressed']){if(this[_0x1cd3('0x19')]['fontFamily']==_0x1c2cb6)return;mxAbstractCanvas2D[_0x1cd3('0x77a')]['setFontFamily']['apply'](this,arguments);}var _0x3cbe10=this['createElement'](_0x1cd3('0x2cda'));_0x3cbe10['setAttribute']('family',_0x1c2cb6);this[_0x1cd3('0x554')][_0x1cd3('0xd4e')](_0x3cbe10);}};mxXmlCanvas2D['prototype'][_0x1cd3('0x2cf5')]=function(_0x513dd3){if(this[_0x1cd3('0x2cd9')]){null==_0x513dd3&&(_0x513dd3=0x0);if(this[_0x1cd3('0x2ce0')]){if(this[_0x1cd3('0x19')][_0x1cd3('0x2af0')]==_0x513dd3)return;mxAbstractCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x2cf5')]['apply'](this,arguments);}var _0x144fa8=this[_0x1cd3('0x3aa')](_0x1cd3('0x2cf6'));_0x144fa8[_0x1cd3('0x481')](_0x1cd3('0x440'),_0x513dd3);this[_0x1cd3('0x554')][_0x1cd3('0xd4e')](_0x144fa8);}};mxXmlCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x2cf7')]=function(_0x55333b){if(this['compressed']){if(this[_0x1cd3('0x19')][_0x1cd3('0x2ae0')]==_0x55333b)return;mxAbstractCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x2cf7')]['apply'](this,arguments);}var _0x95f5a1=this[_0x1cd3('0x3aa')](_0x1cd3('0x2ae0'));_0x95f5a1[_0x1cd3('0x481')](_0x1cd3('0x396'),_0x55333b?'1':'0');this[_0x1cd3('0x554')]['appendChild'](_0x95f5a1);};mxXmlCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x2ccd')]=function(_0x5b18d7){if(this[_0x1cd3('0x2ce0')]){_0x5b18d7==mxConstants[_0x1cd3('0x29d1')]&&(_0x5b18d7=null);if(this[_0x1cd3('0x19')][_0x1cd3('0x2cce')]==_0x5b18d7)return;mxAbstractCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x2ccd')][_0x1cd3('0x4df')](this,arguments);}var _0x39d50c=this[_0x1cd3('0x3aa')]('shadowcolor');_0x39d50c[_0x1cd3('0x481')]('color',null!=_0x5b18d7?_0x5b18d7:mxConstants[_0x1cd3('0x29d1')]);this[_0x1cd3('0x554')][_0x1cd3('0xd4e')](_0x39d50c);};mxXmlCanvas2D[_0x1cd3('0x77a')]['setShadowAlpha']=function(_0x1e9cc3){if(this[_0x1cd3('0x2ce0')]){if(this[_0x1cd3('0x19')][_0x1cd3('0x2cf8')]==_0x1e9cc3)return;mxAbstractCanvas2D[_0x1cd3('0x77a')]['setShadowAlpha'][_0x1cd3('0x4df')](this,arguments);}var _0x311d79=this[_0x1cd3('0x3aa')](_0x1cd3('0x2cf9'));_0x311d79[_0x1cd3('0x481')]('alpha',_0x1e9cc3);this[_0x1cd3('0x554')][_0x1cd3('0xd4e')](_0x311d79);};mxXmlCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x2ccf')]=function(_0x43dd1e,_0x310ae4){if(this[_0x1cd3('0x2ce0')]){if(this[_0x1cd3('0x19')]['shadowDx']==_0x43dd1e&&this[_0x1cd3('0x19')][_0x1cd3('0x2cd1')]==_0x310ae4)return;mxAbstractCanvas2D[_0x1cd3('0x77a')]['setShadowOffset'][_0x1cd3('0x4df')](this,arguments);}var _0x1aaef2=this[_0x1cd3('0x3aa')](_0x1cd3('0x2cde'));_0x1aaef2[_0x1cd3('0x481')]('dx',_0x43dd1e);_0x1aaef2[_0x1cd3('0x481')]('dy',_0x310ae4);this['root'][_0x1cd3('0xd4e')](_0x1aaef2);};mxXmlCanvas2D['prototype'][_0x1cd3('0x2cfa')]=function(_0x39107e,_0x3f0d93,_0x539f2f,_0x3ad7d4){var _0x455db2=this[_0x1cd3('0x3aa')](_0x1cd3('0x2cfa'));_0x455db2[_0x1cd3('0x481')]('x',this['format'](_0x39107e));_0x455db2['setAttribute']('y',this[_0x1cd3('0x130')](_0x3f0d93));_0x455db2[_0x1cd3('0x481')]('w',this[_0x1cd3('0x130')](_0x539f2f));_0x455db2[_0x1cd3('0x481')]('h',this[_0x1cd3('0x130')](_0x3ad7d4));this['root']['appendChild'](_0x455db2);};mxXmlCanvas2D['prototype'][_0x1cd3('0x2cfb')]=function(_0x39376c,_0x4a3f0c,_0x138014,_0x299406,_0x316d9a,_0x20f066){var _0x5b2948=this['createElement']('roundrect');_0x5b2948['setAttribute']('x',this[_0x1cd3('0x130')](_0x39376c));_0x5b2948[_0x1cd3('0x481')]('y',this[_0x1cd3('0x130')](_0x4a3f0c));_0x5b2948[_0x1cd3('0x481')]('w',this['format'](_0x138014));_0x5b2948[_0x1cd3('0x481')]('h',this[_0x1cd3('0x130')](_0x299406));_0x5b2948['setAttribute']('dx',this[_0x1cd3('0x130')](_0x316d9a));_0x5b2948[_0x1cd3('0x481')]('dy',this[_0x1cd3('0x130')](_0x20f066));this[_0x1cd3('0x554')]['appendChild'](_0x5b2948);};mxXmlCanvas2D['prototype'][_0x1cd3('0x2af9')]=function(_0x4a82d7,_0x18dec2,_0x46a567,_0x5a73b9){var _0x130642=this[_0x1cd3('0x3aa')]('ellipse');_0x130642[_0x1cd3('0x481')]('x',this[_0x1cd3('0x130')](_0x4a82d7));_0x130642[_0x1cd3('0x481')]('y',this[_0x1cd3('0x130')](_0x18dec2));_0x130642[_0x1cd3('0x481')]('w',this['format'](_0x46a567));_0x130642[_0x1cd3('0x481')]('h',this[_0x1cd3('0x130')](_0x5a73b9));this['root']['appendChild'](_0x130642);};mxXmlCanvas2D['prototype'][_0x1cd3('0x127a')]=function(_0x3c59ca,_0x54d068,_0x31cd03,_0x343d56,_0x21196b,_0x20807d,_0x1bd97a,_0x2cc8cf){_0x21196b=this['converter']['convert'](_0x21196b);var _0x2e86fd=this[_0x1cd3('0x3aa')]('image');_0x2e86fd[_0x1cd3('0x481')]('x',this[_0x1cd3('0x130')](_0x3c59ca));_0x2e86fd['setAttribute']('y',this[_0x1cd3('0x130')](_0x54d068));_0x2e86fd[_0x1cd3('0x481')]('w',this[_0x1cd3('0x130')](_0x31cd03));_0x2e86fd['setAttribute']('h',this[_0x1cd3('0x130')](_0x343d56));_0x2e86fd['setAttribute'](_0x1cd3('0x487'),_0x21196b);_0x2e86fd[_0x1cd3('0x481')](_0x1cd3('0x2cfc'),_0x20807d?'1':'0');_0x2e86fd['setAttribute']('flipH',_0x1bd97a?'1':'0');_0x2e86fd[_0x1cd3('0x481')](_0x1cd3('0x2ad7'),_0x2cc8cf?'1':'0');this[_0x1cd3('0x554')][_0x1cd3('0xd4e')](_0x2e86fd);};mxXmlCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x2cd2')]=function(){this[_0x1cd3('0x554')][_0x1cd3('0xd4e')](this[_0x1cd3('0x3aa')](_0x1cd3('0x2cd2')));this['lastY']=this[_0x1cd3('0x2cac')]=0x0;};mxXmlCanvas2D['prototype'][_0x1cd3('0x2cfd')]=function(_0xf17e97,_0x3d1b0d){var _0x30ef24=this[_0x1cd3('0x3aa')](_0x1cd3('0x2ab4'));_0x30ef24[_0x1cd3('0x481')]('x',this[_0x1cd3('0x130')](_0xf17e97));_0x30ef24[_0x1cd3('0x481')]('y',this[_0x1cd3('0x130')](_0x3d1b0d));this[_0x1cd3('0x554')][_0x1cd3('0xd4e')](_0x30ef24);this[_0x1cd3('0x2cac')]=_0xf17e97;this[_0x1cd3('0x2cad')]=_0x3d1b0d;};mxXmlCanvas2D['prototype']['lineTo']=function(_0x22411a,_0x32c6bb){var _0x128138=this['createElement']('line');_0x128138[_0x1cd3('0x481')]('x',this[_0x1cd3('0x130')](_0x22411a));_0x128138[_0x1cd3('0x481')]('y',this[_0x1cd3('0x130')](_0x32c6bb));this[_0x1cd3('0x554')]['appendChild'](_0x128138);this[_0x1cd3('0x2cac')]=_0x22411a;this[_0x1cd3('0x2cad')]=_0x32c6bb;};mxXmlCanvas2D['prototype'][_0x1cd3('0x2cd4')]=function(_0x203003,_0x512cd6,_0x36b243,_0x4adaec){var _0xd690f1=this[_0x1cd3('0x3aa')]('quad');_0xd690f1[_0x1cd3('0x481')]('x1',this['format'](_0x203003));_0xd690f1[_0x1cd3('0x481')]('y1',this[_0x1cd3('0x130')](_0x512cd6));_0xd690f1['setAttribute']('x2',this[_0x1cd3('0x130')](_0x36b243));_0xd690f1[_0x1cd3('0x481')]('y2',this[_0x1cd3('0x130')](_0x4adaec));this[_0x1cd3('0x554')][_0x1cd3('0xd4e')](_0xd690f1);this[_0x1cd3('0x2cac')]=_0x36b243;this['lastY']=_0x4adaec;};mxXmlCanvas2D['prototype']['curveTo']=function(_0x26839d,_0x2876fe,_0x2824f8,_0x543076,_0x23b53e,_0xbbaa){var _0x36894f=this['createElement']('curve');_0x36894f[_0x1cd3('0x481')]('x1',this[_0x1cd3('0x130')](_0x26839d));_0x36894f['setAttribute']('y1',this[_0x1cd3('0x130')](_0x2876fe));_0x36894f['setAttribute']('x2',this[_0x1cd3('0x130')](_0x2824f8));_0x36894f['setAttribute']('y2',this[_0x1cd3('0x130')](_0x543076));_0x36894f['setAttribute']('x3',this['format'](_0x23b53e));_0x36894f[_0x1cd3('0x481')]('y3',this[_0x1cd3('0x130')](_0xbbaa));this[_0x1cd3('0x554')]['appendChild'](_0x36894f);this[_0x1cd3('0x2cac')]=_0x23b53e;this['lastY']=_0xbbaa;};mxXmlCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x3cf')]=function(){this[_0x1cd3('0x554')]['appendChild'](this[_0x1cd3('0x3aa')](_0x1cd3('0x3cf')));};mxXmlCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x401')]=function(_0x97541,_0x30bc3e,_0x2befe7,_0x525da3,_0x11b99f,_0x99f55c,_0x32b4ab,_0x2a25ba,_0x2a6f4d,_0x3e3b2c,_0x40e0ef,_0x527e83){if(this['textEnabled']&&null!=_0x11b99f){mxUtils[_0x1cd3('0x2cfe')](_0x11b99f)&&(_0x11b99f=mxUtils[_0x1cd3('0x2a8e')](_0x11b99f));var _0x338e43=this[_0x1cd3('0x3aa')](_0x1cd3('0x401'));_0x338e43[_0x1cd3('0x481')]('x',this[_0x1cd3('0x130')](_0x97541));_0x338e43[_0x1cd3('0x481')]('y',this[_0x1cd3('0x130')](_0x30bc3e));_0x338e43[_0x1cd3('0x481')]('w',this[_0x1cd3('0x130')](_0x2befe7));_0x338e43[_0x1cd3('0x481')]('h',this[_0x1cd3('0x130')](_0x525da3));_0x338e43[_0x1cd3('0x481')](_0x1cd3('0x2cff'),_0x11b99f);null!=_0x99f55c&&_0x338e43[_0x1cd3('0x481')]('align',_0x99f55c);null!=_0x32b4ab&&_0x338e43['setAttribute'](_0x1cd3('0x2d00'),_0x32b4ab);_0x338e43['setAttribute'](_0x1cd3('0x2d01'),_0x2a25ba?'1':'0');null==_0x2a6f4d&&(_0x2a6f4d='');_0x338e43[_0x1cd3('0x481')](_0x1cd3('0x130'),_0x2a6f4d);null!=_0x3e3b2c&&_0x338e43[_0x1cd3('0x481')](_0x1cd3('0x2d02'),_0x3e3b2c?'1':'0');null!=_0x40e0ef&&_0x338e43[_0x1cd3('0x481')](_0x1cd3('0x2d03'),_0x40e0ef?'1':'0');null!=_0x527e83&&_0x338e43[_0x1cd3('0x481')](_0x1cd3('0x2ac8'),_0x527e83);this[_0x1cd3('0x554')]['appendChild'](_0x338e43);}};mxXmlCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x2d04')]=function(){this[_0x1cd3('0x554')][_0x1cd3('0xd4e')](this['createElement'](_0x1cd3('0x2d04')));};mxXmlCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x2d02')]=function(){this['root'][_0x1cd3('0xd4e')](this[_0x1cd3('0x3aa')]('fill'));};mxXmlCanvas2D[_0x1cd3('0x77a')]['fillAndStroke']=function(){this[_0x1cd3('0x554')][_0x1cd3('0xd4e')](this[_0x1cd3('0x3aa')]('fillstroke'));};function mxSvgCanvas2D(_0x35d061,_0x58be9e){mxAbstractCanvas2D[_0x1cd3('0x46d')](this);this[_0x1cd3('0x554')]=_0x35d061;this[_0x1cd3('0x2d05')]=[];this['defs']=null;this[_0x1cd3('0x2d06')]=null!=_0x58be9e?_0x58be9e:!0x1;var _0x1448be=null;if(_0x35d061['ownerDocument']!=document)for(_0x1448be=_0x35d061;null!=_0x1448be&&'svg'!=_0x1448be[_0x1cd3('0x2a0c')];)_0x1448be=_0x1448be[_0x1cd3('0x29ea')];null!=_0x1448be&&(0x0<_0x1448be[_0x1cd3('0x297f')]('defs')[_0x1cd3('0x7a')]&&(this[_0x1cd3('0x2d07')]=_0x1448be[_0x1cd3('0x297f')]('defs')[0x0]),null==this[_0x1cd3('0x2d07')]&&(this[_0x1cd3('0x2d07')]=this[_0x1cd3('0x3aa')]('defs'),null!=_0x1448be[_0x1cd3('0x29f5')]?_0x1448be[_0x1cd3('0x2bc9')](this[_0x1cd3('0x2d07')],_0x1448be[_0x1cd3('0x29f5')]):_0x1448be[_0x1cd3('0xd4e')](this['defs'])),this[_0x1cd3('0x2d06')]&&this[_0x1cd3('0x2d07')][_0x1cd3('0xd4e')](this['createStyle']()));}mxUtils[_0x1cd3('0x4d2')](mxSvgCanvas2D,mxAbstractCanvas2D);mxSvgCanvas2D['prototype']['node']=null;mxSvgCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x2d08')]=!0x0;mxSvgCanvas2D['prototype'][_0x1cd3('0x2cd9')]=!0x0;mxSvgCanvas2D[_0x1cd3('0x77a')]['foEnabled']=!0x0;mxSvgCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x2d09')]=0x0;mxSvgCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x2d0a')]=0x0;mxSvgCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x2d0b')]=!0x1;mxSvgCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x358')]=function(){mxAbstractCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x358')][_0x1cd3('0x4df')](this,arguments);this['gradients']=[];};mxSvgCanvas2D['prototype'][_0x1cd3('0x2d0c')]=function(_0xe312bb){_0xe312bb=this[_0x1cd3('0x3aa')](_0x1cd3('0x440'));_0xe312bb[_0x1cd3('0x481')](_0x1cd3('0x424'),'text/css');mxUtils[_0x1cd3('0x28be')](_0xe312bb,_0x1cd3('0x2d0d')+mxConstants[_0x1cd3('0x2a71')]+_0x1cd3('0x1869')+mxConstants[_0x1cd3('0x2cb6')]+_0x1cd3('0x2d0e'));return _0xe312bb;};mxSvgCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x3aa')]=function(_0x56a43e,_0x5af46b){if(null!=this[_0x1cd3('0x554')][_0x1cd3('0x29fb')][_0x1cd3('0x2a7f')])return this[_0x1cd3('0x554')][_0x1cd3('0x29fb')][_0x1cd3('0x2a7f')](_0x5af46b||mxConstants[_0x1cd3('0x2a7d')],_0x56a43e);var _0x43a68f=this[_0x1cd3('0x554')]['ownerDocument'][_0x1cd3('0x3aa')](_0x56a43e);null!=_0x5af46b&&_0x43a68f[_0x1cd3('0x481')](_0x1cd3('0x2d0f'),_0x5af46b);return _0x43a68f;};mxSvgCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x2d10')]=function(_0xf09e8,_0x547277,_0x13999e,_0x1653df,_0x2860ba){'#'==_0xf09e8[_0x1cd3('0x9a1')](0x0)&&(_0xf09e8=_0xf09e8[_0x1cd3('0x922')](0x1));'#'==_0x547277['charAt'](0x0)&&(_0x547277=_0x547277[_0x1cd3('0x922')](0x1));_0xf09e8=_0xf09e8[_0x1cd3('0x433')]()+'-'+_0x13999e;_0x547277=_0x547277['toLowerCase']()+'-'+_0x1653df;_0x13999e=null;null==_0x2860ba||_0x2860ba==mxConstants[_0x1cd3('0x2a56')]?_0x13999e='s':_0x2860ba==mxConstants[_0x1cd3('0x2a58')]?_0x13999e='e':(_0x1653df=_0xf09e8,_0xf09e8=_0x547277,_0x547277=_0x1653df,_0x2860ba==mxConstants[_0x1cd3('0x2d11')]?_0x13999e='s':_0x2860ba==mxConstants[_0x1cd3('0x2a55')]&&(_0x13999e='e'));return'mx-gradient-'+_0xf09e8+'-'+_0x547277+'-'+_0x13999e;};mxSvgCanvas2D['prototype'][_0x1cd3('0x2d12')]=function(_0x102956,_0x56b949,_0x2dc6b1,_0x58b2b0,_0x59ad51){var _0x167dbe=this[_0x1cd3('0x2d10')](_0x102956,_0x56b949,_0x2dc6b1,_0x58b2b0,_0x59ad51),_0x2fb4ca=this[_0x1cd3('0x2d05')][_0x167dbe];if(null==_0x2fb4ca){var _0x1299bb=this['root'][_0x1cd3('0x2a92')],_0x2adc79=0x0,_0x5de0b1=_0x167dbe+'-'+_0x2adc79;if(null!=_0x1299bb)for(_0x2fb4ca=_0x1299bb['ownerDocument'][_0x1cd3('0x593')](_0x5de0b1);null!=_0x2fb4ca&&_0x2fb4ca[_0x1cd3('0x2a92')]!=_0x1299bb;)_0x5de0b1=_0x167dbe+'-'+_0x2adc79++,_0x2fb4ca=_0x1299bb[_0x1cd3('0x29fb')][_0x1cd3('0x593')](_0x5de0b1);else _0x5de0b1='id'+ ++this[_0x1cd3('0x2d0a')];null==_0x2fb4ca&&(_0x2fb4ca=this[_0x1cd3('0x2d13')](_0x102956,_0x56b949,_0x2dc6b1,_0x58b2b0,_0x59ad51),_0x2fb4ca['setAttribute']('id',_0x5de0b1),null!=this[_0x1cd3('0x2d07')]?this[_0x1cd3('0x2d07')][_0x1cd3('0xd4e')](_0x2fb4ca):_0x1299bb[_0x1cd3('0xd4e')](_0x2fb4ca));this[_0x1cd3('0x2d05')][_0x167dbe]=_0x2fb4ca;}return _0x2fb4ca[_0x1cd3('0x29f4')]('id');};mxSvgCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x2d13')]=function(_0x448b23,_0x3841e8,_0x535054,_0x31d5b9,_0x34bf6c){var _0x2d7b2b=this[_0x1cd3('0x3aa')](_0x1cd3('0x2d14'));_0x2d7b2b[_0x1cd3('0x481')]('x1','0%');_0x2d7b2b[_0x1cd3('0x481')]('y1','0%');_0x2d7b2b[_0x1cd3('0x481')]('x2','0%');_0x2d7b2b[_0x1cd3('0x481')]('y2','0%');null==_0x34bf6c||_0x34bf6c==mxConstants[_0x1cd3('0x2a56')]?_0x2d7b2b[_0x1cd3('0x481')]('y2',_0x1cd3('0x29a1')):_0x34bf6c==mxConstants[_0x1cd3('0x2a58')]?_0x2d7b2b[_0x1cd3('0x481')]('x2',_0x1cd3('0x29a1')):_0x34bf6c==mxConstants[_0x1cd3('0x2d11')]?_0x2d7b2b[_0x1cd3('0x481')]('y1','100%'):_0x34bf6c==mxConstants[_0x1cd3('0x2a55')]&&_0x2d7b2b[_0x1cd3('0x481')]('x1',_0x1cd3('0x29a1'));_0x535054=0x1>_0x535054?';stop-opacity:'+_0x535054:'';_0x34bf6c=this[_0x1cd3('0x3aa')](_0x1cd3('0x5bb'));_0x34bf6c[_0x1cd3('0x481')](_0x1cd3('0xd57'),'0%');_0x34bf6c[_0x1cd3('0x481')]('style',_0x1cd3('0x2d15')+_0x448b23+_0x535054);_0x2d7b2b[_0x1cd3('0xd4e')](_0x34bf6c);_0x535054=0x1>_0x31d5b9?_0x1cd3('0x2d16')+_0x31d5b9:'';_0x34bf6c=this[_0x1cd3('0x3aa')](_0x1cd3('0x5bb'));_0x34bf6c[_0x1cd3('0x481')](_0x1cd3('0xd57'),_0x1cd3('0x29a1'));_0x34bf6c[_0x1cd3('0x481')](_0x1cd3('0x440'),_0x1cd3('0x2d15')+_0x3841e8+_0x535054);_0x2d7b2b[_0x1cd3('0xd4e')](_0x34bf6c);return _0x2d7b2b;};mxSvgCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x2d17')]=function(_0x30e2d8,_0x44c83d){var _0x1a21d2=this['node'],_0x4f1f5e=this[_0x1cd3('0x19')];if(null!=_0x1a21d2){if(_0x1cd3('0x480')==_0x1a21d2[_0x1cd3('0x2a0c')])if(null!=this['path']&&0x0<this[_0x1cd3('0x480')][_0x1cd3('0x7a')])_0x1a21d2[_0x1cd3('0x481')]('d',this[_0x1cd3('0x480')][_0x1cd3('0x3de')]('\x20'));else return;_0x30e2d8&&null!=_0x4f1f5e[_0x1cd3('0x2ac9')]?this[_0x1cd3('0x2d18')]():this['styleEnabled']||('ellipse'==_0x1a21d2[_0x1cd3('0x2a0c')]&&mxClient[_0x1cd3('0x29a5')]&&!mxClient[_0x1cd3('0x2986')]&&!mxClient[_0x1cd3('0x29b8')]?_0x1a21d2[_0x1cd3('0x481')](_0x1cd3('0x2d02'),_0x1cd3('0x2d19')):_0x1a21d2['setAttribute'](_0x1cd3('0x2d02'),_0x1cd3('0x6ae')),_0x30e2d8=!0x1);_0x44c83d&&null!=_0x4f1f5e['strokeColor']?this[_0x1cd3('0x2d1a')]():this[_0x1cd3('0x2d06')]||_0x1a21d2[_0x1cd3('0x481')]('stroke',_0x1cd3('0x6ae'));null!=_0x4f1f5e[_0x1cd3('0x2a91')]&&0x0<_0x4f1f5e['transform'][_0x1cd3('0x7a')]&&_0x1a21d2[_0x1cd3('0x481')](_0x1cd3('0x2a91'),_0x4f1f5e[_0x1cd3('0x2a91')]);_0x4f1f5e[_0x1cd3('0x2ae0')]&&this['root']['appendChild'](this[_0x1cd3('0x2d1b')](_0x1a21d2));0x0<this[_0x1cd3('0x2d09')]&&!_0x30e2d8&&this[_0x1cd3('0x554')][_0x1cd3('0xd4e')](this[_0x1cd3('0x2d1c')](_0x1a21d2));this[_0x1cd3('0x2cb2')]&&(_0x1cd3('0x480')!=_0x1a21d2[_0x1cd3('0x2a0c')]||this[_0x1cd3('0x480')][this['path'][_0x1cd3('0x7a')]-0x1]==this[_0x1cd3('0x2cb1')])&&_0x1a21d2['setAttribute'](_0x1cd3('0x2d1d'),_0x1cd3('0x7e'));this['root'][_0x1cd3('0xd4e')](_0x1a21d2);}};mxSvgCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x2d18')]=function(){var _0x2998ae=this[_0x1cd3('0x19')];0x1>_0x2998ae[_0x1cd3('0x2cbd')]&&this[_0x1cd3('0x56e')][_0x1cd3('0x481')]('fill-opacity',_0x2998ae['alpha']);null!=_0x2998ae[_0x1cd3('0x2ac9')]&&(null!=_0x2998ae[_0x1cd3('0x2cbf')]?(_0x2998ae=this[_0x1cd3('0x2d12')](_0x2998ae[_0x1cd3('0x2ac9')],_0x2998ae['gradientColor'],_0x2998ae[_0x1cd3('0x2d1e')],_0x2998ae[_0x1cd3('0x2cc0')],_0x2998ae[_0x1cd3('0x2acb')]),this[_0x1cd3('0x56e')][_0x1cd3('0x481')](_0x1cd3('0x2d02'),_0x1cd3('0x2d1f')+_0x2998ae+')')):this[_0x1cd3('0x56e')][_0x1cd3('0x481')](_0x1cd3('0x2d02'),_0x2998ae[_0x1cd3('0x2ac9')][_0x1cd3('0x433')]()));};mxSvgCanvas2D[_0x1cd3('0x77a')]['updateStroke']=function(){var _0x2fb454=this[_0x1cd3('0x19')];this['node'][_0x1cd3('0x481')](_0x1cd3('0x2d04'),_0x2fb454[_0x1cd3('0x2acc')]['toLowerCase']());0x1>_0x2fb454[_0x1cd3('0x2cbd')]&&this[_0x1cd3('0x56e')][_0x1cd3('0x481')]('stroke-opacity',_0x2fb454[_0x1cd3('0x2cbd')]);var _0xc03678=Math[_0x1cd3('0x13d1')](0x1,this['format'](_0x2fb454[_0x1cd3('0x2ace')]*_0x2fb454[_0x1cd3('0x29df')]));0x1!=_0xc03678&&this[_0x1cd3('0x56e')]['setAttribute'](_0x1cd3('0x2d20'),_0xc03678);'path'==this[_0x1cd3('0x56e')][_0x1cd3('0x2a0c')]&&this[_0x1cd3('0x2d21')]();_0x2fb454[_0x1cd3('0x2ae7')]&&this[_0x1cd3('0x56e')][_0x1cd3('0x481')](_0x1cd3('0x2d22'),this['createDashPattern'](_0xc03678));};mxSvgCanvas2D['prototype']['updateStrokeAttributes']=function(){var _0x52e24b=this[_0x1cd3('0x19')];null!=_0x52e24b[_0x1cd3('0x2d23')]&&'miter'!=_0x52e24b['lineJoin']&&this[_0x1cd3('0x56e')][_0x1cd3('0x481')](_0x1cd3('0x2d24'),_0x52e24b['lineJoin']);if(null!=_0x52e24b[_0x1cd3('0x2cc6')]){var _0x4a645d=_0x52e24b[_0x1cd3('0x2cc6')];_0x1cd3('0x2cb4')==_0x4a645d&&(_0x4a645d=_0x1cd3('0x2d25'));_0x1cd3('0x2d25')!=_0x4a645d&&this[_0x1cd3('0x56e')][_0x1cd3('0x481')](_0x1cd3('0x2d26'),_0x4a645d);}null!=_0x52e24b[_0x1cd3('0x2cee')]&&(!this[_0x1cd3('0x2d06')]||0xa!=_0x52e24b[_0x1cd3('0x2cee')])&&this[_0x1cd3('0x56e')]['setAttribute']('stroke-miterlimit',_0x52e24b[_0x1cd3('0x2cee')]);};mxSvgCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x2d27')]=function(_0x1df9f5){var _0x2e8dc9=this[_0x1cd3('0x19')][_0x1cd3('0x2cc5')]['split']('\x20'),_0x51433d=[];if(0x0<_0x2e8dc9[_0x1cd3('0x7a')])for(var _0x2f48f0=0x0;_0x2f48f0<_0x2e8dc9[_0x1cd3('0x7a')];_0x2f48f0++)_0x51433d[_0x2f48f0]=Number(_0x2e8dc9[_0x2f48f0])*_0x1df9f5;return _0x51433d[_0x1cd3('0x3de')]('\x20');};mxSvgCanvas2D['prototype'][_0x1cd3('0x2d1c')]=function(_0x5ab6a4){_0x5ab6a4=_0x5ab6a4['cloneNode'](!0x0);var _0x4a81b0=parseFloat(_0x5ab6a4['getAttribute'](_0x1cd3('0x2d20'))||0x1)+this[_0x1cd3('0x2d09')];_0x5ab6a4[_0x1cd3('0x481')](_0x1cd3('0x2d1d'),_0x1cd3('0x2d04'));_0x5ab6a4['setAttribute'](_0x1cd3('0x29c7'),_0x1cd3('0x533'));_0x5ab6a4[_0x1cd3('0x2d28')](_0x1cd3('0x2d22'));_0x5ab6a4['setAttribute'](_0x1cd3('0x2d20'),_0x4a81b0);_0x5ab6a4[_0x1cd3('0x481')](_0x1cd3('0x2d02'),_0x1cd3('0x6ae'));_0x5ab6a4[_0x1cd3('0x481')](_0x1cd3('0x2d04'),mxClient[_0x1cd3('0x2983')]?'none':_0x1cd3('0x2d29'));return _0x5ab6a4;};mxSvgCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x2d1b')]=function(_0xbe021d){_0xbe021d=_0xbe021d[_0x1cd3('0x2a80')](!0x0);var _0x484a32=this[_0x1cd3('0x19')];_0x1cd3('0x6ae')!=_0xbe021d[_0x1cd3('0x29f4')](_0x1cd3('0x2d02'))&&_0xbe021d['setAttribute'](_0x1cd3('0x2d02'),_0x484a32[_0x1cd3('0x2cce')]);_0x1cd3('0x6ae')!=_0xbe021d[_0x1cd3('0x29f4')](_0x1cd3('0x2d04'))&&_0xbe021d['setAttribute'](_0x1cd3('0x2d04'),_0x484a32[_0x1cd3('0x2cce')]);_0xbe021d[_0x1cd3('0x481')]('transform',_0x1cd3('0x2d2a')+this['format'](_0x484a32[_0x1cd3('0x2cd0')]*_0x484a32[_0x1cd3('0x29df')])+','+this[_0x1cd3('0x130')](_0x484a32[_0x1cd3('0x2cd1')]*_0x484a32[_0x1cd3('0x29df')])+')'+(_0x484a32[_0x1cd3('0x2a91')]||''));_0xbe021d[_0x1cd3('0x481')](_0x1cd3('0x2d2b'),_0x484a32[_0x1cd3('0x2cf8')]);return _0xbe021d;};mxSvgCanvas2D[_0x1cd3('0x77a')]['rotate']=function(_0x2dbbb3,_0x8110cd,_0x125c32,_0x17deaa,_0x139d2a){if(0x0!=_0x2dbbb3||_0x8110cd||_0x125c32){var _0xa9b2c1=this[_0x1cd3('0x19')];_0x17deaa+=_0xa9b2c1['dx'];_0x139d2a+=_0xa9b2c1['dy'];_0x17deaa*=_0xa9b2c1[_0x1cd3('0x29df')];_0x139d2a*=_0xa9b2c1[_0x1cd3('0x29df')];_0xa9b2c1[_0x1cd3('0x2a91')]=_0xa9b2c1['transform']||'';if(_0x8110cd&&_0x125c32)_0x2dbbb3+=0xb4;else if(_0x8110cd^_0x125c32){var _0xdb2679=_0x8110cd?_0x17deaa:0x0,_0x19431e=_0x8110cd?-0x1:0x1,_0x3234d7=_0x125c32?_0x139d2a:0x0,_0x3ab0bb=_0x125c32?-0x1:0x1;_0xa9b2c1['transform']+=_0x1cd3('0x2d2a')+this[_0x1cd3('0x130')](_0xdb2679)+','+this['format'](_0x3234d7)+_0x1cd3('0x2d2c')+this[_0x1cd3('0x130')](_0x19431e)+','+this[_0x1cd3('0x130')](_0x3ab0bb)+_0x1cd3('0x2d2d')+this[_0x1cd3('0x130')](-_0xdb2679)+','+this['format'](-_0x3234d7)+')';}if(_0x8110cd?!_0x125c32:_0x125c32)_0x2dbbb3*=-0x1;0x0!=_0x2dbbb3&&(_0xa9b2c1['transform']+=_0x1cd3('0x2d2e')+this[_0x1cd3('0x130')](_0x2dbbb3)+','+this[_0x1cd3('0x130')](_0x17deaa)+','+this[_0x1cd3('0x130')](_0x139d2a)+')');_0xa9b2c1[_0x1cd3('0x2ac8')]+=_0x2dbbb3;_0xa9b2c1[_0x1cd3('0x2d2f')]=_0x17deaa;_0xa9b2c1['rotationCy']=_0x139d2a;}};mxSvgCanvas2D[_0x1cd3('0x77a')]['begin']=function(){mxAbstractCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x2cd2')][_0x1cd3('0x4df')](this,arguments);this['node']=this[_0x1cd3('0x3aa')](_0x1cd3('0x480'));};mxSvgCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x2cfa')]=function(_0x1a087b,_0x2de018,_0x18c504,_0x211706){var _0x1a5158=this[_0x1cd3('0x19')],_0x4a5114=this[_0x1cd3('0x3aa')](_0x1cd3('0x2cfa'));_0x4a5114[_0x1cd3('0x481')]('x',this['format']((_0x1a087b+_0x1a5158['dx'])*_0x1a5158[_0x1cd3('0x29df')]));_0x4a5114[_0x1cd3('0x481')]('y',this[_0x1cd3('0x130')]((_0x2de018+_0x1a5158['dy'])*_0x1a5158[_0x1cd3('0x29df')]));_0x4a5114['setAttribute'](_0x1cd3('0x4d7'),this['format'](_0x18c504*_0x1a5158[_0x1cd3('0x29df')]));_0x4a5114[_0x1cd3('0x481')](_0x1cd3('0x4e4'),this[_0x1cd3('0x130')](_0x211706*_0x1a5158[_0x1cd3('0x29df')]));this[_0x1cd3('0x56e')]=_0x4a5114;};mxSvgCanvas2D['prototype']['roundrect']=function(_0x1daf2d,_0x4d6395,_0x49c4a9,_0x499c64,_0x38851c,_0x5e9f8c){this[_0x1cd3('0x2cfa')](_0x1daf2d,_0x4d6395,_0x49c4a9,_0x499c64);0x0<_0x38851c&&this['node'][_0x1cd3('0x481')]('rx',this[_0x1cd3('0x130')](_0x38851c*this[_0x1cd3('0x19')][_0x1cd3('0x29df')]));0x0<_0x5e9f8c&&this[_0x1cd3('0x56e')]['setAttribute']('ry',this['format'](_0x5e9f8c*this[_0x1cd3('0x19')][_0x1cd3('0x29df')]));};mxSvgCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x2af9')]=function(_0x1fa803,_0x56cbde,_0x5ceecc,_0x48c72a){var _0x50db85=this[_0x1cd3('0x19')],_0x451c1d=this['createElement'](_0x1cd3('0x2af9'));_0x451c1d['setAttribute']('cx',Math['round']((_0x1fa803+_0x5ceecc/0x2+_0x50db85['dx'])*_0x50db85[_0x1cd3('0x29df')]));_0x451c1d[_0x1cd3('0x481')]('cy',Math[_0x1cd3('0x18ba')]((_0x56cbde+_0x48c72a/0x2+_0x50db85['dy'])*_0x50db85[_0x1cd3('0x29df')]));_0x451c1d[_0x1cd3('0x481')]('rx',_0x5ceecc/0x2*_0x50db85[_0x1cd3('0x29df')]);_0x451c1d[_0x1cd3('0x481')]('ry',_0x48c72a/0x2*_0x50db85[_0x1cd3('0x29df')]);this[_0x1cd3('0x56e')]=_0x451c1d;};mxSvgCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x127a')]=function(_0x7aaaa1,_0x533451,_0x42f191,_0x4095b4,_0x47cd5c,_0x1cb8f8,_0x46e6c7,_0xf54013){_0x47cd5c=this[_0x1cd3('0x2ca8')][_0x1cd3('0x2d30')](_0x47cd5c);_0x1cb8f8=null!=_0x1cb8f8?_0x1cb8f8:!0x0;_0x46e6c7=null!=_0x46e6c7?_0x46e6c7:!0x1;_0xf54013=null!=_0xf54013?_0xf54013:!0x1;var _0x2e2d28=this[_0x1cd3('0x19')];_0x7aaaa1+=_0x2e2d28['dx'];_0x533451+=_0x2e2d28['dy'];var _0x3ac622=this['createElement'](_0x1cd3('0x127a'));_0x3ac622[_0x1cd3('0x481')]('x',this[_0x1cd3('0x130')](_0x7aaaa1*_0x2e2d28[_0x1cd3('0x29df')]));_0x3ac622[_0x1cd3('0x481')]('y',this['format'](_0x533451*_0x2e2d28[_0x1cd3('0x29df')]));_0x3ac622['setAttribute'](_0x1cd3('0x4d7'),this['format'](_0x42f191*_0x2e2d28['scale']));_0x3ac622[_0x1cd3('0x481')](_0x1cd3('0x4e4'),this[_0x1cd3('0x130')](_0x4095b4*_0x2e2d28[_0x1cd3('0x29df')]));null==_0x3ac622[_0x1cd3('0x2d31')]?_0x3ac622[_0x1cd3('0x481')]('xlink:href',_0x47cd5c):_0x3ac622[_0x1cd3('0x2d31')](mxConstants[_0x1cd3('0x2d32')],_0x1cd3('0x3ab'),_0x47cd5c);_0x1cb8f8||_0x3ac622['setAttribute'](_0x1cd3('0x2d33'),_0x1cd3('0x6ae'));0x1>_0x2e2d28[_0x1cd3('0x2cbd')]&&_0x3ac622['setAttribute']('opacity',_0x2e2d28[_0x1cd3('0x2cbd')]);_0x47cd5c=this[_0x1cd3('0x19')][_0x1cd3('0x2a91')]||'';if(_0x46e6c7||_0xf54013){var _0xa5cf42=_0x1cb8f8=0x1,_0x5263f1=0x0,_0x2134d3=0x0;_0x46e6c7&&(_0x1cb8f8=-0x1,_0x5263f1=-_0x42f191-0x2*_0x7aaaa1);_0xf54013&&(_0xa5cf42=-0x1,_0x2134d3=-_0x4095b4-0x2*_0x533451);_0x47cd5c+='scale('+_0x1cb8f8+','+_0xa5cf42+_0x1cd3('0x2d2d')+_0x5263f1+','+_0x2134d3+')';}0x0<_0x47cd5c[_0x1cd3('0x7a')]&&_0x3ac622[_0x1cd3('0x481')](_0x1cd3('0x2a91'),_0x47cd5c);this['root']['appendChild'](_0x3ac622);this[_0x1cd3('0x2d0b')]&&(_0x3ac622[_0x1cd3('0x481')](_0x1cd3('0x440'),_0x1cd3('0x2d34')),_0x3ac622=this[_0x1cd3('0x3aa')](_0x1cd3('0x2cfa')),_0x3ac622['setAttribute']('visibility',_0x1cd3('0x533')),_0x3ac622[_0x1cd3('0x481')]('pointer-events',_0x1cd3('0x2d02')),_0x3ac622[_0x1cd3('0x481')]('x',this['format'](_0x7aaaa1*_0x2e2d28[_0x1cd3('0x29df')])),_0x3ac622[_0x1cd3('0x481')]('y',this['format'](_0x533451*_0x2e2d28['scale'])),_0x3ac622[_0x1cd3('0x481')](_0x1cd3('0x4d7'),this['format'](_0x42f191*_0x2e2d28[_0x1cd3('0x29df')])),_0x3ac622[_0x1cd3('0x481')](_0x1cd3('0x4e4'),this[_0x1cd3('0x130')](_0x4095b4*_0x2e2d28[_0x1cd3('0x29df')])),this['root'][_0x1cd3('0xd4e')](_0x3ac622));};mxSvgCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x2d35')]=function(_0x504722,_0xc9ccbc,_0x1b53ba,_0x2234d9,_0x212618){_0x1b53ba=this[_0x1cd3('0x19')];_0x2234d9='display:inline-block;font-size:'+Math[_0x1cd3('0x18ba')](_0x1b53ba[_0x1cd3('0x8d6')])+'px;font-family:'+_0x1b53ba[_0x1cd3('0x1841')]+_0x1cd3('0x2d36')+_0x1b53ba[_0x1cd3('0x8e5')]+_0x1cd3('0x2d37')+Math[_0x1cd3('0x18ba')](_0x1b53ba['fontSize']*mxConstants[_0x1cd3('0x2a74')])+_0x1cd3('0x2d38')+_0x2234d9;(_0x1b53ba[_0x1cd3('0x2af0')]&mxConstants[_0x1cd3('0x2d39')])==mxConstants['FONT_BOLD']&&(_0x2234d9+=_0x1cd3('0x2d3a'));(_0x1b53ba[_0x1cd3('0x2af0')]&mxConstants[_0x1cd3('0x2d3b')])==mxConstants[_0x1cd3('0x2d3b')]&&(_0x2234d9+=_0x1cd3('0x2d3c'));(_0x1b53ba['fontStyle']&mxConstants[_0x1cd3('0x2d3d')])==mxConstants[_0x1cd3('0x2d3d')]&&(_0x2234d9+=_0x1cd3('0x2d3e'));_0xc9ccbc==mxConstants[_0x1cd3('0x2d3f')]?_0x2234d9+=_0x1cd3('0x2d40'):_0xc9ccbc==mxConstants['ALIGN_RIGHT']&&(_0x2234d9+='text-align:right;');_0xc9ccbc='';null!=_0x1b53ba['fontBackgroundColor']&&(_0xc9ccbc+='background-color:'+_0x1b53ba[_0x1cd3('0x2cc9')]+';');null!=_0x1b53ba[_0x1cd3('0x2cca')]&&(_0xc9ccbc+='border:1px\x20solid\x20'+_0x1b53ba['fontBorderColor']+';');mxUtils[_0x1cd3('0x2cfe')](_0x504722)||(_0x1b53ba=document['createElement'](_0x1cd3('0x122f')),_0x1b53ba[_0x1cd3('0x2a15')]=_0x504722[_0x1cd3('0x3f1')](/</g,_0x1cd3('0x2d41'))[_0x1cd3('0x3f1')](/>/g,_0x1cd3('0x2d42'))[_0x1cd3('0x3f1')](/</g,_0x1cd3('0x2a12'))['replace'](/>/g,_0x1cd3('0x2a13')),_0x504722=_0x1b53ba[_0x1cd3('0x3db')],_0x212618?_0x2234d9+=_0xc9ccbc:0x0<_0xc9ccbc[_0x1cd3('0x7a')]&&(_0x504722=_0x1cd3('0x2d43')+_0xc9ccbc+'\x22>'+_0x504722+_0x1cd3('0x1859')));if(!mxClient[_0x1cd3('0x298a')]&&document['createElementNS'])return _0x212618=document[_0x1cd3('0x2a7f')](_0x1cd3('0x2d44'),_0x1cd3('0x2a72')),_0x212618[_0x1cd3('0x481')](_0x1cd3('0x440'),_0x2234d9),mxUtils[_0x1cd3('0x2cfe')](_0x504722)?this[_0x1cd3('0x554')][_0x1cd3('0x29fb')]!=document?_0x212618[_0x1cd3('0xd4e')](_0x504722[_0x1cd3('0x2a80')](!0x0)):_0x212618[_0x1cd3('0xd4e')](_0x504722):_0x212618[_0x1cd3('0x2a15')]=_0x504722,_0x212618;mxUtils[_0x1cd3('0x2cfe')](_0x504722)&&this[_0x1cd3('0x554')][_0x1cd3('0x29fb')]!=document&&(_0x504722=_0x504722[_0x1cd3('0x2a18')]);_0x504722=_0x504722[_0x1cd3('0x3f1')](/<br>/g,_0x1cd3('0x2d45'))[_0x1cd3('0x3f1')](/<hr>/g,'<hr\x20/>');return mxUtils[_0x1cd3('0x2d46')](_0x1cd3('0x2d47')+_0x2234d9+'\x22>'+_0x504722+_0x1cd3('0x1859'))[_0x1cd3('0x2a20')];};mxSvgCanvas2D[_0x1cd3('0x77a')]['text']=function(_0x5740bc,_0x14e8ae,_0x1f5c99,_0x3ca2e5,_0x13bac7,_0xef5d57,_0x54d302,_0x2b8338,_0x1a9ed7,_0x2b7ec7,_0x21c5c8,_0x198295){if(this['textEnabled']&&null!=_0x13bac7){_0x198295=null!=_0x198295?_0x198295:0x0;var _0x16eb76=this[_0x1cd3('0x19')];_0x5740bc+=_0x16eb76['dx'];_0x14e8ae+=_0x16eb76['dy'];if(this[_0x1cd3('0x2d48')]&&'html'==_0x1a9ed7){var _0x5d03c1=_0x1cd3('0x2d49');_0x21c5c8?(_0x5d03c1+=_0x1cd3('0x2d4a'),0x0<_0x3ca2e5&&(_0x5d03c1+=_0x1cd3('0x2d4b')+Math[_0x1cd3('0x18ba')](_0x3ca2e5)+_0x1cd3('0x2d38')),0x0<_0x1f5c99&&(_0x5d03c1+=_0x1cd3('0x2d4c')+Math[_0x1cd3('0x18ba')](_0x1f5c99)+_0x1cd3('0x2d38'))):_0x2b7ec7&&(_0x5d03c1+='width:'+Math[_0x1cd3('0x18ba')](_0x1f5c99)+_0x1cd3('0x2d38'),0x0<_0x3ca2e5&&(_0x5d03c1+=_0x1cd3('0x2d4b')+Math[_0x1cd3('0x18ba')](_0x3ca2e5)+_0x1cd3('0x2d38')));_0x2b8338?(!_0x21c5c8&&0x0<_0x1f5c99&&(_0x5d03c1+='width:'+Math[_0x1cd3('0x18ba')](_0x1f5c99)+_0x1cd3('0x2d38')),_0x5d03c1+=_0x1cd3('0x2d4d')):_0x5d03c1+=_0x1cd3('0x2d4e');_0x2b8338=this['createElement']('g');0x1>_0x16eb76[_0x1cd3('0x2cbd')]&&_0x2b8338['setAttribute'](_0x1cd3('0x2d2b'),_0x16eb76[_0x1cd3('0x2cbd')]);_0x1a9ed7=this[_0x1cd3('0x3aa')](_0x1cd3('0x2d4f'));_0x1a9ed7[_0x1cd3('0x481')]('pointer-events',_0x1cd3('0x7e'));_0x5d03c1=this[_0x1cd3('0x2d35')](_0x13bac7,_0xef5d57,_0x54d302,_0x5d03c1,_0x2b7ec7);if(null!=_0x5d03c1){_0x2b8338[_0x1cd3('0xd4e')](_0x1a9ed7);this[_0x1cd3('0x554')][_0x1cd3('0xd4e')](_0x2b8338);var _0x857807=0x0;if(mxClient[_0x1cd3('0x298a')]&&!mxClient[_0x1cd3('0x2978')]){var _0x5e1eb1=document['createElement'](_0x1cd3('0x2a72'));_0x5e1eb1[_0x1cd3('0x440')][_0x1cd3('0x2998')]=_0x5d03c1['getAttribute']('style');_0x5e1eb1[_0x1cd3('0x440')][_0x1cd3('0x6ac')]=mxClient['IS_QUIRKS']?_0x1cd3('0x6ad'):_0x1cd3('0x2d50');_0x5e1eb1[_0x1cd3('0x440')][_0x1cd3('0x29c7')]=_0x1cd3('0x533');_0x5e1eb1[_0x1cd3('0x2a15')]=mxUtils[_0x1cd3('0x2cfe')](_0x13bac7)?_0x13bac7[_0x1cd3('0x2a18')]:_0x13bac7;document['body']['appendChild'](_0x5e1eb1);_0x857807=_0x5e1eb1[_0x1cd3('0x2a1f')];_0x3ca2e5=mxClient[_0x1cd3('0x2a75')]&&0x0<_0x3ca2e5&&_0x21c5c8?Math[_0x1cd3('0x4e3')](_0x3ca2e5,_0x5e1eb1['offsetHeight']+0x2):_0x5e1eb1[_0x1cd3('0x535')];_0x5e1eb1['parentNode'][_0x1cd3('0x1817')](_0x5e1eb1);_0x1a9ed7['appendChild'](_0x5d03c1);}else this[_0x1cd3('0x554')][_0x1cd3('0x29fb')]!=document?(_0x5d03c1[_0x1cd3('0x440')][_0x1cd3('0x29c7')]='hidden',document['body'][_0x1cd3('0xd4e')](_0x5d03c1),_0x857807=_0x5d03c1[_0x1cd3('0x2a1f')],_0x3ca2e5=_0x5d03c1[_0x1cd3('0x535')],_0x1a9ed7[_0x1cd3('0xd4e')](_0x5d03c1),_0x5d03c1[_0x1cd3('0x440')][_0x1cd3('0x29c7')]=''):(_0x1a9ed7[_0x1cd3('0xd4e')](_0x5d03c1),_0x857807=_0x5d03c1[_0x1cd3('0x2a1f')],_0x3ca2e5=_0x5d03c1['offsetHeight']);_0x1f5c99=_0x2b7ec7?Math[_0x1cd3('0x13d1')](_0x1f5c99,_0x857807):_0x857807;0x1>_0x16eb76[_0x1cd3('0x2cbd')]&&_0x2b8338[_0x1cd3('0x481')](_0x1cd3('0x2d2b'),_0x16eb76[_0x1cd3('0x2cbd')]);_0x2b7ec7=_0x13bac7=0x0;_0xef5d57==mxConstants[_0x1cd3('0x2d3f')]?_0x13bac7-=_0x1f5c99/0x2:_0xef5d57==mxConstants['ALIGN_RIGHT']&&(_0x13bac7-=_0x1f5c99);_0x5740bc+=_0x13bac7;_0x54d302==mxConstants['ALIGN_MIDDLE']?_0x2b7ec7-=_0x3ca2e5/0x2:_0x54d302==mxConstants[_0x1cd3('0x2a70')]&&(_0x2b7ec7-=_0x3ca2e5);_0x14e8ae+=_0x2b7ec7;_0xef5d57=0x1!=_0x16eb76[_0x1cd3('0x29df')]?'scale('+_0x16eb76['scale']+')':'';0x0!=_0x16eb76[_0x1cd3('0x2ac8')]&&this[_0x1cd3('0x2cab')]?(_0xef5d57+=_0x1cd3('0x2d2e')+_0x16eb76[_0x1cd3('0x2ac8')]+','+_0x1f5c99/0x2+','+_0x3ca2e5/0x2+')',_0x14e8ae=this['rotatePoint']((_0x5740bc+_0x1f5c99/0x2)*_0x16eb76[_0x1cd3('0x29df')],(_0x14e8ae+_0x3ca2e5/0x2)*_0x16eb76[_0x1cd3('0x29df')],_0x16eb76[_0x1cd3('0x2ac8')],_0x16eb76[_0x1cd3('0x2d2f')],_0x16eb76[_0x1cd3('0x2d51')]),_0x5740bc=_0x14e8ae['x']-_0x1f5c99*_0x16eb76['scale']/0x2,_0x14e8ae=_0x14e8ae['y']-_0x3ca2e5*_0x16eb76['scale']/0x2):(_0x5740bc*=_0x16eb76[_0x1cd3('0x29df')],_0x14e8ae*=_0x16eb76[_0x1cd3('0x29df')]);0x0!=_0x198295&&(_0xef5d57+='rotate('+_0x198295+','+-_0x13bac7+','+-_0x2b7ec7+')');_0x2b8338[_0x1cd3('0x481')](_0x1cd3('0x2a91'),_0x1cd3('0x2d2a')+Math[_0x1cd3('0x18ba')](_0x5740bc)+','+Math[_0x1cd3('0x18ba')](_0x14e8ae)+')'+_0xef5d57);_0x1a9ed7[_0x1cd3('0x481')](_0x1cd3('0x4d7'),Math[_0x1cd3('0x18ba')](Math[_0x1cd3('0x13d1')](0x1,_0x1f5c99)));_0x1a9ed7[_0x1cd3('0x481')](_0x1cd3('0x4e4'),Math[_0x1cd3('0x18ba')](Math[_0x1cd3('0x13d1')](0x1,_0x3ca2e5)));}}else this[_0x1cd3('0x2d52')](_0x5740bc,_0x14e8ae,_0x1f5c99,_0x3ca2e5,_0x13bac7,_0xef5d57,_0x54d302,_0x2b8338,_0x2b7ec7,_0x21c5c8,_0x198295);}};mxSvgCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x2d53')]=function(_0x55df5f,_0x20262e,_0x58b34e,_0x31dbf7){_0x55df5f=Math[_0x1cd3('0x18ba')](_0x55df5f);_0x20262e=Math['round'](_0x20262e);_0x58b34e=Math[_0x1cd3('0x18ba')](_0x58b34e);_0x31dbf7=Math[_0x1cd3('0x18ba')](_0x31dbf7);for(var _0x3df0b1=_0x1cd3('0x2d54')+_0x55df5f+'-'+_0x20262e+'-'+_0x58b34e+'-'+_0x31dbf7,_0x34eb86=0x0,_0x10f872=_0x3df0b1+'-'+_0x34eb86;null!=document[_0x1cd3('0x593')](_0x10f872);)_0x10f872=_0x3df0b1+'-'+ ++_0x34eb86;clip=this[_0x1cd3('0x3aa')](_0x1cd3('0x2d55'));clip['setAttribute']('id',_0x10f872);_0x3df0b1=this[_0x1cd3('0x3aa')](_0x1cd3('0x2cfa'));_0x3df0b1[_0x1cd3('0x481')]('x',_0x55df5f);_0x3df0b1['setAttribute']('y',_0x20262e);_0x3df0b1['setAttribute'](_0x1cd3('0x4d7'),_0x58b34e);_0x3df0b1[_0x1cd3('0x481')]('height',_0x31dbf7);clip[_0x1cd3('0xd4e')](_0x3df0b1);return clip;};mxSvgCanvas2D['prototype'][_0x1cd3('0x2d52')]=function(_0x3ed4c5,_0x1f2e3a,_0xd49999,_0x225b5f,_0x36bf49,_0x5da985,_0x16ebe9,_0xbae621,_0x1f36b9,_0x703059,_0x35f87e){_0x35f87e=null!=_0x35f87e?_0x35f87e:0x0;_0xbae621=this['state'];var _0x28f7f6=Math['round'](_0xbae621[_0x1cd3('0x8d6')]),_0x5661ec=this[_0x1cd3('0x3aa')]('g'),_0x25a236=_0xbae621['transform']||'';0x0!=_0x35f87e&&(_0x25a236+=_0x1cd3('0x2d2e')+_0x35f87e+','+this[_0x1cd3('0x130')](_0x3ed4c5*_0xbae621['scale'])+','+this['format'](_0x1f2e3a*_0xbae621['scale'])+')');if(_0x703059&&0x0<_0xd49999&&0x0<_0x225b5f){var _0x41abb5=_0x3ed4c5;_0x35f87e=_0x1f2e3a;_0x5da985==mxConstants[_0x1cd3('0x2d3f')]?_0x41abb5-=_0xd49999/0x2:_0x5da985==mxConstants['ALIGN_RIGHT']&&(_0x41abb5-=_0xd49999);_0x16ebe9==mxConstants[_0x1cd3('0x2d56')]?_0x35f87e-=_0x225b5f/0x2:_0x16ebe9==mxConstants[_0x1cd3('0x2a70')]&&(_0x35f87e-=_0x225b5f);_0x35f87e=this[_0x1cd3('0x2d53')](_0x41abb5*_0xbae621[_0x1cd3('0x29df')]-0x2,_0x35f87e*_0xbae621[_0x1cd3('0x29df')]-0x2,_0xd49999*_0xbae621[_0x1cd3('0x29df')]+0x4,_0x225b5f*_0xbae621[_0x1cd3('0x29df')]+0x4);null!=this[_0x1cd3('0x2d07')]?this[_0x1cd3('0x2d07')][_0x1cd3('0xd4e')](_0x35f87e):this[_0x1cd3('0x554')]['appendChild'](_0x35f87e);_0x5661ec['setAttribute'](_0x1cd3('0x2d57'),'url(#'+_0x35f87e[_0x1cd3('0x29f4')]('id')+')');}this[_0x1cd3('0x2d58')](_0x5661ec,_0x5da985);_0x35f87e=_0x5da985==mxConstants[_0x1cd3('0x2a6f')]?_0x1cd3('0x137b'):_0x5da985==mxConstants['ALIGN_CENTER']?_0x1cd3('0x2a9e'):'start';'start'!=_0x35f87e&&_0x5661ec[_0x1cd3('0x481')]('text-anchor',_0x35f87e);(!this[_0x1cd3('0x2d06')]||_0x28f7f6!=mxConstants[_0x1cd3('0x2cb6')])&&_0x5661ec[_0x1cd3('0x481')]('font-size',Math[_0x1cd3('0x18ba')](_0x28f7f6*_0xbae621[_0x1cd3('0x29df')])+'px');0x0<_0x25a236[_0x1cd3('0x7a')]&&_0x5661ec['setAttribute'](_0x1cd3('0x2a91'),_0x25a236);0x1>_0xbae621[_0x1cd3('0x2cbd')]&&_0x5661ec[_0x1cd3('0x481')](_0x1cd3('0x2d2b'),_0xbae621[_0x1cd3('0x2cbd')]);var _0x25a236=_0x36bf49[_0x1cd3('0x3ef')]('\x0a'),_0x41abb5=Math[_0x1cd3('0x18ba')](_0x28f7f6*mxConstants[_0x1cd3('0x2a74')]),_0x4b7c9c=_0x28f7f6+(_0x25a236[_0x1cd3('0x7a')]-0x1)*_0x41abb5;_0x35f87e=_0x1f2e3a+_0x28f7f6-0x1;_0x16ebe9==mxConstants[_0x1cd3('0x2d56')]?(_0x225b5f=(this[_0x1cd3('0x2d08')]&&_0x703059&&0x0<_0x225b5f?Math['min'](_0x4b7c9c,_0x225b5f):_0x4b7c9c)/0x2,_0x35f87e-=_0x225b5f+0x1):_0x16ebe9==mxConstants[_0x1cd3('0x2a70')]&&(_0x225b5f=this['matchHtmlAlignment']&&_0x703059&&0x0<_0x225b5f?Math['min'](_0x4b7c9c,_0x225b5f):_0x4b7c9c,_0x35f87e-=_0x225b5f+0x2);for(_0x225b5f=0x0;_0x225b5f<_0x25a236[_0x1cd3('0x7a')];_0x225b5f++)0x0<_0x25a236[_0x225b5f][_0x1cd3('0x7a')]&&0x0<mxUtils[_0x1cd3('0x77b')](_0x25a236[_0x225b5f])['length']&&(_0x703059=this[_0x1cd3('0x3aa')](_0x1cd3('0x401')),_0x703059['setAttribute']('x',this[_0x1cd3('0x130')](_0x3ed4c5*_0xbae621[_0x1cd3('0x29df')])),_0x703059[_0x1cd3('0x481')]('y',this['format'](_0x35f87e*_0xbae621[_0x1cd3('0x29df')])),mxUtils['write'](_0x703059,_0x25a236[_0x225b5f]),_0x5661ec[_0x1cd3('0xd4e')](_0x703059)),_0x35f87e+=_0x41abb5;this['root'][_0x1cd3('0xd4e')](_0x5661ec);this['addTextBackground'](_0x5661ec,_0x36bf49,_0x3ed4c5,_0x1f2e3a,_0xd49999,_0x4b7c9c,_0x5da985,_0x16ebe9,_0x1f36b9);};mxSvgCanvas2D['prototype']['updateFont']=function(_0x528886){var _0x4e8277=this[_0x1cd3('0x19')];_0x528886['setAttribute'](_0x1cd3('0x2d02'),_0x4e8277[_0x1cd3('0x8e5')]);(!this[_0x1cd3('0x2d06')]||_0x4e8277[_0x1cd3('0x1841')]!=mxConstants['DEFAULT_FONTFAMILY'])&&_0x528886[_0x1cd3('0x481')]('font-family',_0x4e8277[_0x1cd3('0x1841')]);(_0x4e8277[_0x1cd3('0x2af0')]&mxConstants['FONT_BOLD'])==mxConstants[_0x1cd3('0x2d39')]&&_0x528886[_0x1cd3('0x481')](_0x1cd3('0x2d59'),_0x1cd3('0x2d5a'));(_0x4e8277[_0x1cd3('0x2af0')]&mxConstants['FONT_ITALIC'])==mxConstants[_0x1cd3('0x2d3b')]&&_0x528886[_0x1cd3('0x481')](_0x1cd3('0x2d5b'),_0x1cd3('0x2d5c'));(_0x4e8277[_0x1cd3('0x2af0')]&mxConstants[_0x1cd3('0x2d3d')])==mxConstants[_0x1cd3('0x2d3d')]&&_0x528886[_0x1cd3('0x481')]('text-decoration',_0x1cd3('0x2a1d'));};mxSvgCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x2d5d')]=function(_0x9c71e6,_0x575500,_0xbb13a1,_0x1b9185,_0x35f574,_0x1221d0,_0x20e4e2,_0x4d2254,_0x4c37c8){var _0x5524dd=this['state'];if(null!=_0x5524dd[_0x1cd3('0x2cc9')]||null!=_0x5524dd[_0x1cd3('0x2cca')]){var _0x20ccc5=null;_0x4c37c8?(_0x20e4e2==mxConstants['ALIGN_CENTER']?_0xbb13a1-=_0x35f574/0x2:_0x20e4e2==mxConstants[_0x1cd3('0x2a6f')]&&(_0xbb13a1-=_0x35f574),_0x4d2254==mxConstants['ALIGN_MIDDLE']?_0x1b9185-=_0x1221d0/0x2:_0x4d2254==mxConstants[_0x1cd3('0x2a70')]&&(_0x1b9185-=_0x1221d0),_0x20ccc5=new mxRectangle((_0xbb13a1+0x1)*_0x5524dd['scale'],_0x1b9185*_0x5524dd[_0x1cd3('0x29df')],(_0x35f574-0x2)*_0x5524dd['scale'],(_0x1221d0+0x2)*_0x5524dd['scale'])):null!=_0x9c71e6['getBBox']&&this[_0x1cd3('0x554')]['ownerDocument']==document?(_0x20ccc5=_0x9c71e6['getBBox'](),_0x575500=mxClient[_0x1cd3('0x298a')]&&mxClient[_0x1cd3('0x2978')],_0x20ccc5=new mxRectangle(_0x20ccc5['x'],_0x20ccc5['y']+(_0x575500?0x0:0x1),_0x20ccc5[_0x1cd3('0x4d7')],_0x20ccc5[_0x1cd3('0x4e4')]+(_0x575500?0x1:0x0))):(_0x20ccc5=document[_0x1cd3('0x3aa')](_0x1cd3('0x2a72')),_0x20ccc5[_0x1cd3('0x440')][_0x1cd3('0x2a73')]=Math[_0x1cd3('0x18ba')](_0x5524dd['fontSize']*mxConstants[_0x1cd3('0x2a74')])+'px',_0x20ccc5['style'][_0x1cd3('0x8d6')]=Math[_0x1cd3('0x18ba')](_0x5524dd[_0x1cd3('0x8d6')])+'px',_0x20ccc5[_0x1cd3('0x440')][_0x1cd3('0x1841')]=_0x5524dd[_0x1cd3('0x1841')],_0x20ccc5['style'][_0x1cd3('0x2ac7')]='nowrap',_0x20ccc5[_0x1cd3('0x440')]['position']=_0x1cd3('0x532'),_0x20ccc5[_0x1cd3('0x440')]['visibility']=_0x1cd3('0x533'),_0x20ccc5[_0x1cd3('0x440')]['display']=mxClient['IS_QUIRKS']?_0x1cd3('0x6ad'):'inline-block',_0x20ccc5[_0x1cd3('0x440')]['zoom']='1',(_0x5524dd['fontStyle']&mxConstants['FONT_BOLD'])==mxConstants[_0x1cd3('0x2d39')]&&(_0x20ccc5[_0x1cd3('0x440')][_0x1cd3('0x2d5e')]='bold'),(_0x5524dd[_0x1cd3('0x2af0')]&mxConstants['FONT_ITALIC'])==mxConstants[_0x1cd3('0x2d3b')]&&(_0x20ccc5[_0x1cd3('0x440')][_0x1cd3('0x2af0')]='italic'),_0x575500=mxUtils[_0x1cd3('0x2a09')](_0x575500,!0x1),_0x20ccc5[_0x1cd3('0x2a15')]=_0x575500['replace'](/\n/g,_0x1cd3('0x2d5f')),document[_0x1cd3('0x380')][_0x1cd3('0xd4e')](_0x20ccc5),_0x35f574=_0x20ccc5[_0x1cd3('0x2a1f')],_0x1221d0=_0x20ccc5[_0x1cd3('0x535')],_0x20ccc5[_0x1cd3('0x29ea')]['removeChild'](_0x20ccc5),_0x20e4e2==mxConstants['ALIGN_CENTER']?_0xbb13a1-=_0x35f574/0x2:_0x20e4e2==mxConstants[_0x1cd3('0x2a6f')]&&(_0xbb13a1-=_0x35f574),_0x4d2254==mxConstants[_0x1cd3('0x2d56')]?_0x1b9185-=_0x1221d0/0x2:_0x4d2254==mxConstants[_0x1cd3('0x2a70')]&&(_0x1b9185-=_0x1221d0),_0x20ccc5=new mxRectangle((_0xbb13a1+0x1)*_0x5524dd['scale'],(_0x1b9185+0x2)*_0x5524dd['scale'],_0x35f574*_0x5524dd[_0x1cd3('0x29df')],(_0x1221d0+0x1)*_0x5524dd['scale']));null!=_0x20ccc5&&(_0x575500=this[_0x1cd3('0x3aa')](_0x1cd3('0x2cfa')),_0x575500['setAttribute'](_0x1cd3('0x2d02'),_0x5524dd[_0x1cd3('0x2cc9')]||'none'),_0x575500['setAttribute'](_0x1cd3('0x2d04'),_0x5524dd[_0x1cd3('0x2cca')]||_0x1cd3('0x6ae')),_0x575500[_0x1cd3('0x481')]('x',Math[_0x1cd3('0x6b1')](_0x20ccc5['x']-0x1)),_0x575500['setAttribute']('y',Math['floor'](_0x20ccc5['y']-0x1)),_0x575500[_0x1cd3('0x481')](_0x1cd3('0x4d7'),Math[_0x1cd3('0x2928')](_0x20ccc5['width']+0x2)),_0x575500[_0x1cd3('0x481')](_0x1cd3('0x4e4'),Math[_0x1cd3('0x2928')](_0x20ccc5[_0x1cd3('0x4e4')])),_0x5524dd=null!=_0x5524dd[_0x1cd3('0x2cca')]?Math[_0x1cd3('0x13d1')](0x1,this[_0x1cd3('0x130')](_0x5524dd[_0x1cd3('0x29df')])):0x0,_0x575500['setAttribute'](_0x1cd3('0x2d20'),_0x5524dd),this['root'][_0x1cd3('0x29fb')]==document&&0x1==mxUtils['mod'](_0x5524dd,0x2)&&_0x575500[_0x1cd3('0x481')]('transform','translate(0.5,\x200.5)'),_0x9c71e6[_0x1cd3('0x2bc9')](_0x575500,_0x9c71e6[_0x1cd3('0x29f5')]));}};mxSvgCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x2d04')]=function(){this[_0x1cd3('0x2d17')](!0x1,!0x0);};mxSvgCanvas2D['prototype']['fill']=function(){this[_0x1cd3('0x2d17')](!0x0,!0x1);};mxSvgCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x2d60')]=function(){this[_0x1cd3('0x2d17')](!0x0,!0x0);};var mxVmlCanvas2D=function(_0x1df1af){mxAbstractCanvas2D['call'](this);this[_0x1cd3('0x554')]=_0x1df1af;};mxUtils['extend'](mxVmlCanvas2D,mxAbstractCanvas2D);mxVmlCanvas2D[_0x1cd3('0x77a')]['node']=null;mxVmlCanvas2D[_0x1cd3('0x77a')]['textEnabled']=!0x0;mxVmlCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x2cae')]='m';mxVmlCanvas2D['prototype'][_0x1cd3('0x2caf')]='l';mxVmlCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x2cd6')]='c';mxVmlCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x2cb1')]='x';mxVmlCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x2d61')]='';mxVmlCanvas2D['prototype'][_0x1cd3('0x2d62')]=0x1;mxVmlCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x2d17')]=function(_0x37aac2,_0x5c21e3){var _0x135166=this['node'],_0x26d34b=this['state'];if(null!=_0x135166){if(_0x1cd3('0x29dd')==_0x135166[_0x1cd3('0x2a0c')])if(null!=this[_0x1cd3('0x480')]&&0x0<this[_0x1cd3('0x480')][_0x1cd3('0x7a')])_0x135166['path']=this[_0x1cd3('0x480')][_0x1cd3('0x3de')]('\x20')+'\x20e',_0x135166['style'][_0x1cd3('0x4d7')]=this[_0x1cd3('0x554')]['style']['width'],_0x135166[_0x1cd3('0x440')]['height']=this['root']['style'][_0x1cd3('0x4e4')],_0x135166[_0x1cd3('0x2d63')]=parseInt(_0x135166[_0x1cd3('0x440')][_0x1cd3('0x4d7')])+'\x20'+parseInt(_0x135166[_0x1cd3('0x440')][_0x1cd3('0x4e4')]);else return;_0x135166[_0x1cd3('0x2d64')]=this['format'](Math['max'](0x1,_0x26d34b[_0x1cd3('0x2ace')]*_0x26d34b[_0x1cd3('0x29df')]/this[_0x1cd3('0x2d62')]))+'px';_0x26d34b['shadow']&&this['root']['appendChild'](this[_0x1cd3('0x2d1b')](_0x135166,_0x37aac2&&null!=_0x26d34b[_0x1cd3('0x2ac9')],_0x5c21e3&&null!=_0x26d34b[_0x1cd3('0x2acc')]));_0x5c21e3&&null!=_0x26d34b[_0x1cd3('0x2acc')]?(_0x135166[_0x1cd3('0x2d65')]='true',_0x135166[_0x1cd3('0x2ce8')]=_0x26d34b['strokeColor']):_0x135166['stroked']=_0x1cd3('0x31a');_0x135166[_0x1cd3('0xd4e')](this[_0x1cd3('0x2d66')]());_0x37aac2&&null!=_0x26d34b[_0x1cd3('0x2ac9')]?_0x135166[_0x1cd3('0xd4e')](this['createFill']()):this[_0x1cd3('0x2cb2')]&&(_0x1cd3('0x29dd')!=_0x135166[_0x1cd3('0x2a0c')]||this[_0x1cd3('0x480')][this['path'][_0x1cd3('0x7a')]-0x1]==this[_0x1cd3('0x2cb1')])?_0x135166[_0x1cd3('0xd4e')](this[_0x1cd3('0x2d67')]()):_0x135166['filled']=_0x1cd3('0x31a');this[_0x1cd3('0x554')][_0x1cd3('0xd4e')](_0x135166);}};mxVmlCanvas2D['prototype'][_0x1cd3('0x2d67')]=function(){var _0x7e9c5d=document[_0x1cd3('0x3aa')](mxClient[_0x1cd3('0x2992')]+_0x1cd3('0x2d68'));_0x7e9c5d[_0x1cd3('0x487')]=mxClient[_0x1cd3('0x29eb')]+'/transparent.gif';_0x7e9c5d[_0x1cd3('0x424')]=_0x1cd3('0x2d69');return _0x7e9c5d;};mxVmlCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x2d6a')]=function(){var _0x22f68f=this['state'],_0x27094f=document['createElement'](mxClient[_0x1cd3('0x2992')]+_0x1cd3('0x2d68'));_0x27094f[_0x1cd3('0x3c6')]=_0x22f68f[_0x1cd3('0x2ac9')];if(null!=_0x22f68f[_0x1cd3('0x2cbf')]){_0x27094f[_0x1cd3('0x424')]=_0x1cd3('0x2ce5');_0x27094f[_0x1cd3('0xf27')]=_0x1cd3('0x6ae');_0x27094f[_0x1cd3('0x2d6b')]=_0x22f68f['gradientColor'];var _0x426228=0xb4-_0x22f68f[_0x1cd3('0x2ac8')],_0x426228=_0x22f68f['gradientDirection']==mxConstants[_0x1cd3('0x2a55')]?_0x426228-(0x5a+('x'==this['root'][_0x1cd3('0x440')][_0x1cd3('0x2d6c')]?0xb4:0x0)):_0x22f68f[_0x1cd3('0x2acb')]==mxConstants[_0x1cd3('0x2a58')]?_0x426228+(0x5a+('x'==this[_0x1cd3('0x554')]['style'][_0x1cd3('0x2d6c')]?0xb4:0x0)):_0x22f68f[_0x1cd3('0x2acb')]==mxConstants[_0x1cd3('0x2d11')]?_0x426228-(0xb4+('y'==this[_0x1cd3('0x554')][_0x1cd3('0x440')][_0x1cd3('0x2d6c')]?-0xb4:0x0)):_0x426228+('y'==this['root'][_0x1cd3('0x440')]['flip']?-0xb4:0x0);if('x'==this['root'][_0x1cd3('0x440')]['flip']||'y'==this['root'][_0x1cd3('0x440')][_0x1cd3('0x2d6c')])_0x426228*=-0x1;_0x27094f[_0x1cd3('0x2d6d')]=mxUtils[_0x1cd3('0x2d6e')](_0x426228,0x168);_0x27094f[_0x1cd3('0x2d2b')]=0x64*_0x22f68f[_0x1cd3('0x2cbd')]*_0x22f68f[_0x1cd3('0x2d1e')]+'%';_0x27094f[_0x1cd3('0x481')](mxClient[_0x1cd3('0x2993')]+_0x1cd3('0x2d6f'),0x64*_0x22f68f[_0x1cd3('0x2cbd')]*_0x22f68f[_0x1cd3('0x2cc0')]+'%');}else 0x1>_0x22f68f[_0x1cd3('0x2cbd')]&&(_0x27094f['opacity']=0x64*_0x22f68f[_0x1cd3('0x2cbd')]+'%');return _0x27094f;};mxVmlCanvas2D['prototype'][_0x1cd3('0x2d66')]=function(){var _0x12b4cb=this[_0x1cd3('0x19')],_0x36b7e8=document[_0x1cd3('0x3aa')](mxClient[_0x1cd3('0x2992')]+':stroke');_0x36b7e8[_0x1cd3('0x2d70')]=_0x12b4cb['lineCap']||_0x1cd3('0x2cb4');_0x36b7e8[_0x1cd3('0x2d71')]=_0x12b4cb[_0x1cd3('0x2d23')]||'miter';_0x36b7e8[_0x1cd3('0x2cef')]=_0x12b4cb[_0x1cd3('0x2cee')]||'10';0x1>_0x12b4cb[_0x1cd3('0x2cbd')]&&(_0x36b7e8[_0x1cd3('0x2d2b')]=0x64*_0x12b4cb[_0x1cd3('0x2cbd')]+'%');_0x12b4cb[_0x1cd3('0x2ae7')]&&(_0x36b7e8['dashstyle']=this[_0x1cd3('0x2d72')]());return _0x36b7e8;};mxVmlCanvas2D['prototype']['getVmlDashStyle']=function(){var _0x5891bc='dash';if(null!=this[_0x1cd3('0x19')][_0x1cd3('0x2cc5')]){var _0xde39f5=this[_0x1cd3('0x19')]['dashPattern'][_0x1cd3('0x3ef')]('\x20');0x0<_0xde39f5[_0x1cd3('0x7a')]&&0x1==_0xde39f5[0x0]&&(_0x5891bc=_0x1cd3('0x2d73'));}return _0x5891bc;};mxVmlCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x2d1b')]=function(_0x696f68,_0x18ac2b,_0x5cd27b){var _0x3c1b7d=this[_0x1cd3('0x19')],_0x4d1de0=-_0x3c1b7d[_0x1cd3('0x2ac8')]*(Math['PI']/0xb4),_0x432529=Math[_0x1cd3('0x2a4d')](_0x4d1de0),_0x4d1de0=Math[_0x1cd3('0x2a4e')](_0x4d1de0),_0x4372e8=_0x3c1b7d[_0x1cd3('0x2cd0')]*_0x3c1b7d[_0x1cd3('0x29df')],_0x55aa7b=_0x3c1b7d[_0x1cd3('0x2cd1')]*_0x3c1b7d[_0x1cd3('0x29df')];'x'==this[_0x1cd3('0x554')][_0x1cd3('0x440')][_0x1cd3('0x2d6c')]?_0x4372e8*=-0x1:'y'==this['root'][_0x1cd3('0x440')][_0x1cd3('0x2d6c')]&&(_0x55aa7b*=-0x1);var _0x23fc32=_0x696f68[_0x1cd3('0x2a80')](!0x0);_0x23fc32[_0x1cd3('0x440')]['marginLeft']=Math[_0x1cd3('0x18ba')](_0x4372e8*_0x432529-_0x55aa7b*_0x4d1de0)+'px';_0x23fc32[_0x1cd3('0x440')]['marginTop']=Math[_0x1cd3('0x18ba')](_0x4372e8*_0x4d1de0+_0x55aa7b*_0x432529)+'px';0x8==document[_0x1cd3('0x2959')]&&(_0x23fc32['strokeweight']=_0x696f68[_0x1cd3('0x2d64')],_0x1cd3('0x29dd')==_0x696f68[_0x1cd3('0x2a0c')]&&(_0x23fc32[_0x1cd3('0x480')]=this[_0x1cd3('0x480')]['join']('\x20')+'\x20e',_0x23fc32[_0x1cd3('0x440')]['width']=this[_0x1cd3('0x554')][_0x1cd3('0x440')]['width'],_0x23fc32[_0x1cd3('0x440')][_0x1cd3('0x4e4')]=this[_0x1cd3('0x554')][_0x1cd3('0x440')][_0x1cd3('0x4e4')],_0x23fc32['coordsize']=parseInt(_0x696f68[_0x1cd3('0x440')]['width'])+'\x20'+parseInt(_0x696f68[_0x1cd3('0x440')][_0x1cd3('0x4e4')])));_0x5cd27b?(_0x23fc32[_0x1cd3('0x2ce8')]=_0x3c1b7d[_0x1cd3('0x2cce')],_0x23fc32[_0x1cd3('0xd4e')](this[_0x1cd3('0x2d74')]())):_0x23fc32['stroked']='false';_0x18ac2b?_0x23fc32[_0x1cd3('0xd4e')](this[_0x1cd3('0x2d75')]()):_0x23fc32[_0x1cd3('0x2d76')]=_0x1cd3('0x31a');return _0x23fc32;};mxVmlCanvas2D['prototype'][_0x1cd3('0x2d75')]=function(){var _0xa8bc91=document['createElement'](mxClient[_0x1cd3('0x2992')]+_0x1cd3('0x2d68'));_0xa8bc91[_0x1cd3('0x3c6')]=this[_0x1cd3('0x19')][_0x1cd3('0x2cce')];_0xa8bc91[_0x1cd3('0x2d2b')]=0x64*this[_0x1cd3('0x19')][_0x1cd3('0x2cbd')]*this[_0x1cd3('0x19')][_0x1cd3('0x2cf8')]+'%';return _0xa8bc91;};mxVmlCanvas2D['prototype'][_0x1cd3('0x2d74')]=function(){var _0x36e521=this[_0x1cd3('0x2d66')]();_0x36e521[_0x1cd3('0x2d2b')]=0x64*this[_0x1cd3('0x19')][_0x1cd3('0x2cbd')]*this['state'][_0x1cd3('0x2cf8')]+'%';return _0x36e521;};mxVmlCanvas2D['prototype']['rotate']=function(_0x16bd82,_0x274273,_0x3713cc,_0x15a040,_0xaf566e){_0x274273&&_0x3713cc?_0x16bd82+=0xb4:_0x274273?this['root'][_0x1cd3('0x440')][_0x1cd3('0x2d6c')]='x':_0x3713cc&&(this['root'][_0x1cd3('0x440')]['flip']='y');if(_0x274273?!_0x3713cc:_0x3713cc)_0x16bd82*=-0x1;this[_0x1cd3('0x554')][_0x1cd3('0x440')]['rotation']=_0x16bd82;this[_0x1cd3('0x19')][_0x1cd3('0x2ac8')]+=_0x16bd82;this[_0x1cd3('0x19')][_0x1cd3('0x2d2f')]=_0x15a040;this[_0x1cd3('0x19')]['rotationCy']=_0xaf566e;};mxVmlCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x2cd2')]=function(){mxAbstractCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x2cd2')][_0x1cd3('0x4df')](this,arguments);this['node']=document[_0x1cd3('0x3aa')](mxClient[_0x1cd3('0x2992')]+':shape');this[_0x1cd3('0x56e')]['style'][_0x1cd3('0x679')]=_0x1cd3('0x532');};mxVmlCanvas2D[_0x1cd3('0x77a')]['quadTo']=function(_0x330319,_0x856bbe,_0x5055bd,_0x2f01e8){var _0x4d1aff=this[_0x1cd3('0x19')],_0x57f5d4=(this[_0x1cd3('0x2cac')]+_0x4d1aff['dx'])*_0x4d1aff[_0x1cd3('0x29df')],_0x3fc969=(this[_0x1cd3('0x2cad')]+_0x4d1aff['dy'])*_0x4d1aff[_0x1cd3('0x29df')];_0x330319=(_0x330319+_0x4d1aff['dx'])*_0x4d1aff[_0x1cd3('0x29df')];_0x856bbe=(_0x856bbe+_0x4d1aff['dy'])*_0x4d1aff[_0x1cd3('0x29df')];_0x5055bd=(_0x5055bd+_0x4d1aff['dx'])*_0x4d1aff[_0x1cd3('0x29df')];_0x2f01e8=(_0x2f01e8+_0x4d1aff['dy'])*_0x4d1aff[_0x1cd3('0x29df')];var _0x3fc969=_0x3fc969+0x2/0x3*(_0x856bbe-_0x3fc969),_0x595851=_0x5055bd+0x2/0x3*(_0x330319-_0x5055bd);_0x856bbe=_0x2f01e8+0x2/0x3*(_0x856bbe-_0x2f01e8);this[_0x1cd3('0x480')][_0x1cd3('0x7b')]('c\x20'+this[_0x1cd3('0x130')](_0x57f5d4+0x2/0x3*(_0x330319-_0x57f5d4))+'\x20'+this[_0x1cd3('0x130')](_0x3fc969)+'\x20'+this[_0x1cd3('0x130')](_0x595851)+'\x20'+this[_0x1cd3('0x130')](_0x856bbe)+'\x20'+this[_0x1cd3('0x130')](_0x5055bd)+'\x20'+this[_0x1cd3('0x130')](_0x2f01e8));this[_0x1cd3('0x2cac')]=_0x5055bd/_0x4d1aff[_0x1cd3('0x29df')]-_0x4d1aff['dx'];this['lastY']=_0x2f01e8/_0x4d1aff[_0x1cd3('0x29df')]-_0x4d1aff['dy'];};mxVmlCanvas2D['prototype'][_0x1cd3('0x2d77')]=function(_0x2ef7e7,_0x65030a,_0xd8b3d5,_0x77be15,_0x540bdf){var _0x249087=this['state'];_0x2ef7e7=document['createElement'](_0x2ef7e7);_0x2ef7e7[_0x1cd3('0x440')][_0x1cd3('0x679')]=_0x1cd3('0x532');_0x2ef7e7[_0x1cd3('0x440')][_0x1cd3('0x762')]=this[_0x1cd3('0x130')]((_0x65030a+_0x249087['dx'])*_0x249087[_0x1cd3('0x29df')])+'px';_0x2ef7e7[_0x1cd3('0x440')][_0x1cd3('0x712')]=this[_0x1cd3('0x130')]((_0xd8b3d5+_0x249087['dy'])*_0x249087[_0x1cd3('0x29df')])+'px';_0x2ef7e7[_0x1cd3('0x440')][_0x1cd3('0x4d7')]=this['format'](_0x77be15*_0x249087[_0x1cd3('0x29df')])+'px';_0x2ef7e7['style'][_0x1cd3('0x4e4')]=this[_0x1cd3('0x130')](_0x540bdf*_0x249087[_0x1cd3('0x29df')])+'px';return _0x2ef7e7;};mxVmlCanvas2D[_0x1cd3('0x77a')]['rect']=function(_0x38eb85,_0x123684,_0x515638,_0x58ce5b){this[_0x1cd3('0x56e')]=this[_0x1cd3('0x2d77')](mxClient[_0x1cd3('0x2992')]+_0x1cd3('0x2d78'),_0x38eb85,_0x123684,_0x515638,_0x58ce5b);};mxVmlCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x2cfb')]=function(_0x5fb01b,_0x6901e9,_0x271717,_0x4de23d,_0x4bacc2,_0x243ddf){this[_0x1cd3('0x56e')]=this[_0x1cd3('0x2d77')](mxClient['VML_PREFIX']+':roundrect',_0x5fb01b,_0x6901e9,_0x271717,_0x4de23d);this[_0x1cd3('0x56e')][_0x1cd3('0x481')]('arcsize',Math['max'](0x64*_0x4bacc2/_0x271717,0x64*_0x243ddf/_0x4de23d)+'%');};mxVmlCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x2af9')]=function(_0x93368d,_0x5c7327,_0x5e629e,_0x4aa335){this[_0x1cd3('0x56e')]=this[_0x1cd3('0x2d77')](mxClient[_0x1cd3('0x2992')]+_0x1cd3('0x2d79'),_0x93368d,_0x5c7327,_0x5e629e,_0x4aa335);};mxVmlCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x127a')]=function(_0x148c2e,_0x23b933,_0x1e6734,_0x3ebdfb,_0x3745cc,_0x446daf,_0x393129,_0x4fb434){var _0x3efd55=null;_0x446daf?(_0x3efd55=this['createRect'](mxClient[_0x1cd3('0x2992')]+_0x1cd3('0x2d78'),_0x148c2e,_0x23b933,_0x1e6734,_0x3ebdfb),_0x3efd55[_0x1cd3('0x2d65')]=_0x1cd3('0x31a'),_0x148c2e=document[_0x1cd3('0x3aa')](mxClient[_0x1cd3('0x2992')]+_0x1cd3('0x2d68')),_0x148c2e[_0x1cd3('0x2cfc')]=_0x446daf?_0x1cd3('0x2d7a'):_0x1cd3('0x2d7b'),_0x148c2e['rotate']=_0x1cd3('0x2e0'),_0x148c2e[_0x1cd3('0x424')]=_0x1cd3('0x2d7c'),_0x148c2e['src']=_0x3745cc,_0x3efd55[_0x1cd3('0xd4e')](_0x148c2e)):(_0x3efd55=this['createRect'](mxClient[_0x1cd3('0x2992')]+_0x1cd3('0x2d7d'),_0x148c2e,_0x23b933,_0x1e6734,_0x3ebdfb),_0x3efd55[_0x1cd3('0x487')]=_0x3745cc);_0x393129&&_0x4fb434?_0x3efd55[_0x1cd3('0x440')][_0x1cd3('0x2ac8')]=_0x1cd3('0x2d7e'):_0x393129?_0x3efd55[_0x1cd3('0x440')][_0x1cd3('0x2d6c')]='x':_0x4fb434&&(_0x3efd55['style']['flip']='y');0x1>this[_0x1cd3('0x19')]['alpha']&&(_0x3efd55['style']['filter']+=_0x1cd3('0x2a66')+0x64*this[_0x1cd3('0x19')][_0x1cd3('0x2cbd')]+')');this[_0x1cd3('0x554')][_0x1cd3('0xd4e')](_0x3efd55);};mxVmlCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x2d35')]=function(_0x57331b,_0x671f38,_0x13a35e,_0x5d344b){_0x13a35e=document[_0x1cd3('0x3aa')](_0x1cd3('0x2a72'));var _0xc1633e=this[_0x1cd3('0x19')],_0x3d343a='';null!=_0xc1633e[_0x1cd3('0x2cc9')]&&(_0x3d343a+=_0x1cd3('0x2d7f')+_0xc1633e[_0x1cd3('0x2cc9')]+';');null!=_0xc1633e[_0x1cd3('0x2cca')]&&(_0x3d343a+='border:1px\x20solid\x20'+_0xc1633e[_0x1cd3('0x2cca')]+';');mxUtils[_0x1cd3('0x2cfe')](_0x57331b)?_0x13a35e[_0x1cd3('0xd4e')](_0x57331b):0x0<_0x3d343a[_0x1cd3('0x7a')]&&!_0x5d344b?(_0x5d344b=document[_0x1cd3('0x3aa')](_0x1cd3('0x2a72')),_0x5d344b[_0x1cd3('0x440')][_0x1cd3('0x2998')]=_0x3d343a,_0x5d344b['style'][_0x1cd3('0x6ac')]=mxClient['IS_QUIRKS']?_0x1cd3('0x6ad'):_0x1cd3('0x2d50'),_0x5d344b[_0x1cd3('0x440')][_0x1cd3('0x2a76')]='1',_0x5d344b['innerHTML']=_0x57331b,_0x13a35e[_0x1cd3('0xd4e')](_0x5d344b)):(_0x13a35e[_0x1cd3('0x440')]['cssText']=_0x3d343a,_0x13a35e[_0x1cd3('0x2a15')]=_0x57331b);_0x57331b=_0x13a35e[_0x1cd3('0x440')];_0x57331b[_0x1cd3('0x8d6')]=Math[_0x1cd3('0x18ba')](_0xc1633e[_0x1cd3('0x8d6')]/this['vmlScale'])+'px';_0x57331b[_0x1cd3('0x1841')]=_0xc1633e[_0x1cd3('0x1841')];_0x57331b[_0x1cd3('0x3c6')]=_0xc1633e[_0x1cd3('0x8e5')];_0x57331b['verticalAlign']='top';_0x57331b[_0x1cd3('0x2d80')]=_0x671f38||_0x1cd3('0x762');_0x57331b[_0x1cd3('0x2a73')]=Math[_0x1cd3('0x18ba')](_0xc1633e['fontSize']*mxConstants['LINE_HEIGHT']/this[_0x1cd3('0x2d62')])+'px';(_0xc1633e[_0x1cd3('0x2af0')]&mxConstants['FONT_BOLD'])==mxConstants[_0x1cd3('0x2d39')]&&(_0x57331b[_0x1cd3('0x2d5e')]=_0x1cd3('0x2d5a'));(_0xc1633e['fontStyle']&mxConstants[_0x1cd3('0x2d3b')])==mxConstants[_0x1cd3('0x2d3b')]&&(_0x57331b[_0x1cd3('0x2af0')]=_0x1cd3('0x2d5c'));(_0xc1633e[_0x1cd3('0x2af0')]&mxConstants[_0x1cd3('0x2d3d')])==mxConstants[_0x1cd3('0x2d3d')]&&(_0x57331b[_0x1cd3('0x2d81')]=_0x1cd3('0x2a1d'));return _0x13a35e;};mxVmlCanvas2D['prototype'][_0x1cd3('0x401')]=function(_0x5e6b61,_0x7c19fc,_0x2159ee,_0x3dff04,_0x132386,_0x3ca87f,_0x4ac514,_0x3fce42,_0x468a29,_0x36b65f,_0x335a01,_0x38834a){if(this['textEnabled']&&null!=_0x132386){var _0x111d66=this[_0x1cd3('0x19')];if(_0x1cd3('0x3bf')==_0x468a29){null!=_0x111d66[_0x1cd3('0x2ac8')]&&(_0x7c19fc=this[_0x1cd3('0x2cbb')](_0x5e6b61,_0x7c19fc,_0x111d66['rotation'],_0x111d66[_0x1cd3('0x2d2f')],_0x111d66[_0x1cd3('0x2d51')]),_0x5e6b61=_0x7c19fc['x'],_0x7c19fc=_0x7c19fc['y']);0x8==document[_0x1cd3('0x2959')]?(_0x5e6b61+=_0x111d66['dx'],_0x7c19fc+=_0x111d66['dy']):(_0x5e6b61*=_0x111d66[_0x1cd3('0x29df')],_0x7c19fc*=_0x111d66['scale']);_0x468a29=0x8==document[_0x1cd3('0x2959')]?document[_0x1cd3('0x3aa')](mxClient['VML_PREFIX']+_0x1cd3('0x2d82')):document[_0x1cd3('0x3aa')](_0x1cd3('0x2a72'));_0x468a29[_0x1cd3('0x440')][_0x1cd3('0x679')]=_0x1cd3('0x532');_0x468a29[_0x1cd3('0x440')][_0x1cd3('0x6ac')]=_0x1cd3('0x6ad');_0x468a29[_0x1cd3('0x440')][_0x1cd3('0x762')]=this['format'](_0x5e6b61)+'px';_0x468a29[_0x1cd3('0x440')][_0x1cd3('0x712')]=this[_0x1cd3('0x130')](_0x7c19fc)+'px';_0x468a29[_0x1cd3('0x440')][_0x1cd3('0x2a76')]=_0x111d66[_0x1cd3('0x29df')];var _0x3fee4b=document[_0x1cd3('0x3aa')]('div');_0x3fee4b[_0x1cd3('0x440')][_0x1cd3('0x679')]=_0x1cd3('0x2d83');_0x3fee4b['style'][_0x1cd3('0x6ac')]=_0x1cd3('0x6ad');var _0x5a4eb8=mxUtils[_0x1cd3('0x2d84')](_0x3ca87f,_0x4ac514),_0x15464c=_0x5a4eb8['x'],_0x5a4eb8=_0x5a4eb8['y'];_0x132386=this['createDiv'](_0x132386,_0x3ca87f,_0x4ac514,_0x36b65f);_0x3ca87f=document['createElement'](_0x1cd3('0x2a72'));_0x3fce42?(!_0x335a01&&0x0<_0x2159ee&&(_0x132386[_0x1cd3('0x440')][_0x1cd3('0x4d7')]=Math[_0x1cd3('0x18ba')](_0x2159ee)+'px'),_0x132386['style'][_0x1cd3('0x2ac7')]=_0x1cd3('0x2d85')):_0x132386[_0x1cd3('0x440')][_0x1cd3('0x2ac7')]=_0x1cd3('0x2d86');_0x3fce42=_0x111d66[_0x1cd3('0x2ac8')]+(_0x38834a||0x0);this[_0x1cd3('0x2cab')]&&0x0!=_0x3fce42?(_0x3ca87f[_0x1cd3('0x440')][_0x1cd3('0x6ac')]='inline',_0x3ca87f[_0x1cd3('0x440')][_0x1cd3('0x2a76')]='1',_0x3ca87f[_0x1cd3('0xd4e')](_0x132386),0x8==document['documentMode']&&_0x1cd3('0x2d87')!=this[_0x1cd3('0x554')][_0x1cd3('0x2a0c')]?(_0x3fee4b[_0x1cd3('0xd4e')](_0x3ca87f),_0x468a29[_0x1cd3('0xd4e')](_0x3fee4b)):_0x468a29[_0x1cd3('0xd4e')](_0x3ca87f)):0x8==document[_0x1cd3('0x2959')]?(_0x3fee4b[_0x1cd3('0xd4e')](_0x132386),_0x468a29[_0x1cd3('0xd4e')](_0x3fee4b)):(_0x132386[_0x1cd3('0x440')]['display']=_0x1cd3('0x6ad'),_0x468a29[_0x1cd3('0xd4e')](_0x132386));_0x1cd3('0x2d87')!=this[_0x1cd3('0x554')][_0x1cd3('0x2a0c')]?(_0x38834a=document['createElement'](mxClient[_0x1cd3('0x2992')]+_0x1cd3('0x2d78')),_0x38834a['stroked']='false',_0x38834a[_0x1cd3('0x2d76')]='false',_0x38834a[_0x1cd3('0xd4e')](_0x468a29),this[_0x1cd3('0x554')]['appendChild'](_0x38834a)):this[_0x1cd3('0x554')]['appendChild'](_0x468a29);_0x335a01?(_0x132386[_0x1cd3('0x440')][_0x1cd3('0x29f1')]=_0x1cd3('0x533'),0x0<_0x2159ee&&(_0x132386['style'][_0x1cd3('0x4d7')]=Math['round'](_0x2159ee)+'px'),0x0<_0x3dff04&&0x8==document['documentMode']&&(_0x132386[_0x1cd3('0x440')][_0x1cd3('0x2d88')]=Math[_0x1cd3('0x18ba')](_0x3dff04)+'px')):_0x36b65f&&(_0x132386[_0x1cd3('0x440')][_0x1cd3('0x4d7')]=_0x2159ee+'px',0x0<_0x3dff04&&(_0x132386[_0x1cd3('0x440')][_0x1cd3('0x2d88')]=Math[_0x1cd3('0x18ba')](_0x3dff04)+'px'));if(this[_0x1cd3('0x2cab')]&&0x0!=_0x3fce42){_0x2159ee=_0x3fce42*(Math['PI']/0xb4);_0x3fce42=parseFloat(parseFloat(Math[_0x1cd3('0x2a4d')](_0x2159ee))[_0x1cd3('0x2cdf')](0x8));_0x38834a=parseFloat(parseFloat(Math[_0x1cd3('0x2a4e')](-_0x2159ee))[_0x1cd3('0x2cdf')](0x8));_0x2159ee%=0x2*Math['PI'];0x0>_0x2159ee&&(_0x2159ee+=0x2*Math['PI']);_0x2159ee%=Math['PI'];_0x2159ee>Math['PI']/0x2&&(_0x2159ee=Math['PI']-_0x2159ee);_0x4ac514=Math[_0x1cd3('0x2a4d')](_0x2159ee);var _0x1bca3b=Math['sin'](_0x2159ee);0x8==document[_0x1cd3('0x2959')]&&(_0x132386[_0x1cd3('0x440')]['display']=_0x1cd3('0x2d50'),_0x3ca87f[_0x1cd3('0x440')][_0x1cd3('0x6ac')]=_0x1cd3('0x2d50'),_0x3fee4b['style'][_0x1cd3('0x6ac')]=_0x1cd3('0x2d50'));_0x132386[_0x1cd3('0x440')][_0x1cd3('0x29c7')]=_0x1cd3('0x533');document[_0x1cd3('0x380')][_0x1cd3('0xd4e')](_0x132386);_0x2159ee=_0x132386[_0x1cd3('0x2a1f')];_0x3fee4b=_0x132386[_0x1cd3('0x535')];if(mxClient[_0x1cd3('0x2a75')]&&(_0x335a01||_0x36b65f)&&_0x3fee4b>_0x3dff04)_0x3fee4b=_0x3dff04,_0x132386[_0x1cd3('0x440')][_0x1cd3('0x4e4')]=_0x3fee4b+'px';_0x3dff04=_0x3fee4b;_0x335a01=(_0x3dff04-_0x3dff04*_0x4ac514+_0x2159ee*-_0x1bca3b)/0x2-_0x38834a*_0x2159ee*(_0x15464c+0.5)+_0x3fce42*_0x3dff04*(_0x5a4eb8+0.5);_0x36b65f=(_0x2159ee-_0x2159ee*_0x4ac514+_0x3dff04*-_0x1bca3b)/0x2+_0x3fce42*_0x2159ee*(_0x15464c+0.5)+_0x38834a*_0x3dff04*(_0x5a4eb8+0.5);_0x1cd3('0x56d')==_0x468a29[_0x1cd3('0x2a0c')]&&_0x1cd3('0x2d87')==this[_0x1cd3('0x554')][_0x1cd3('0x2a0c')]?(_0x15464c=document[_0x1cd3('0x3aa')](_0x1cd3('0x2a72')),_0x15464c[_0x1cd3('0x440')][_0x1cd3('0x6ac')]=_0x1cd3('0x2d50'),_0x15464c['style'][_0x1cd3('0x679')]=_0x1cd3('0x532'),_0x15464c[_0x1cd3('0x440')][_0x1cd3('0x762')]=this[_0x1cd3('0x130')](_0x5e6b61+(_0x36b65f-_0x2159ee/0x2)*_0x111d66['scale'])+'px',_0x15464c[_0x1cd3('0x440')][_0x1cd3('0x712')]=this[_0x1cd3('0x130')](_0x7c19fc+(_0x335a01-_0x3dff04/0x2)*_0x111d66[_0x1cd3('0x29df')])+'px',_0x468a29[_0x1cd3('0x29ea')][_0x1cd3('0xd4e')](_0x15464c),_0x15464c['appendChild'](_0x468a29)):(_0x111d66=0x8==document[_0x1cd3('0x2959')]?0x1:_0x111d66[_0x1cd3('0x29df')],_0x468a29[_0x1cd3('0x440')][_0x1cd3('0x762')]=this[_0x1cd3('0x130')](_0x5e6b61+(_0x36b65f-_0x2159ee/0x2)*_0x111d66)+'px',_0x468a29[_0x1cd3('0x440')][_0x1cd3('0x712')]=this['format'](_0x7c19fc+(_0x335a01-_0x3dff04/0x2)*_0x111d66)+'px');_0x3ca87f[_0x1cd3('0x440')][_0x1cd3('0x395')]='progid:DXImageTransform.Microsoft.Matrix(M11='+_0x3fce42+_0x1cd3('0x2d89')+_0x38834a+',\x20M21='+-_0x38834a+',\x20M22='+_0x3fce42+_0x1cd3('0x2d8a');_0x3ca87f[_0x1cd3('0x440')][_0x1cd3('0x2c0c')]=this[_0x1cd3('0x2d61')];0x1>this[_0x1cd3('0x19')][_0x1cd3('0x2cbd')]&&(_0x3ca87f[_0x1cd3('0x440')][_0x1cd3('0x395')]+=_0x1cd3('0x2a66')+0x64*this[_0x1cd3('0x19')][_0x1cd3('0x2cbd')]+')');_0x132386['style']['visibility']='';_0x3ca87f[_0x1cd3('0xd4e')](_0x132386);}else 0x8!=document[_0x1cd3('0x2959')]?(_0x132386[_0x1cd3('0x440')][_0x1cd3('0x29a3')]='top',0x1>this[_0x1cd3('0x19')][_0x1cd3('0x2cbd')]&&(_0x468a29[_0x1cd3('0x440')][_0x1cd3('0x395')]='alpha(opacity='+0x64*this[_0x1cd3('0x19')][_0x1cd3('0x2cbd')]+')'),_0x111d66=_0x132386[_0x1cd3('0x29ea')],_0x132386['style'][_0x1cd3('0x29c7')]=_0x1cd3('0x533'),document[_0x1cd3('0x380')][_0x1cd3('0xd4e')](_0x132386),_0x2159ee=_0x132386[_0x1cd3('0x2a1f')],_0x3fee4b=_0x132386[_0x1cd3('0x535')],mxClient[_0x1cd3('0x2a75')]&&(_0x335a01&&_0x3fee4b>_0x3dff04)&&(_0x3fee4b=_0x3dff04,_0x132386['style']['height']=_0x3fee4b+'px'),_0x3dff04=_0x3fee4b,_0x132386['style'][_0x1cd3('0x29c7')]='',_0x111d66['appendChild'](_0x132386),_0x468a29['style'][_0x1cd3('0x762')]=this[_0x1cd3('0x130')](_0x5e6b61+_0x2159ee*_0x15464c*this[_0x1cd3('0x19')][_0x1cd3('0x29df')])+'px',_0x468a29[_0x1cd3('0x440')][_0x1cd3('0x712')]=this[_0x1cd3('0x130')](_0x7c19fc+_0x3dff04*_0x5a4eb8*this[_0x1cd3('0x19')][_0x1cd3('0x29df')])+'px'):(0x1>this[_0x1cd3('0x19')][_0x1cd3('0x2cbd')]&&(_0x132386[_0x1cd3('0x440')][_0x1cd3('0x395')]=_0x1cd3('0x2a66')+0x64*this['state'][_0x1cd3('0x2cbd')]+')'),_0x3fee4b[_0x1cd3('0x440')][_0x1cd3('0x762')]=0x64*_0x15464c+'%',_0x3fee4b[_0x1cd3('0x440')][_0x1cd3('0x712')]=0x64*_0x5a4eb8+'%');}else this['plainText'](_0x5e6b61,_0x7c19fc,_0x2159ee,_0x3dff04,mxUtils['htmlEntities'](_0x132386,!0x1),_0x3ca87f,_0x4ac514,_0x3fce42,_0x468a29,_0x36b65f,_0x335a01,_0x38834a);}};mxVmlCanvas2D['prototype'][_0x1cd3('0x2d52')]=function(_0x13878c,_0x3214a0,_0x529f41,_0x4a3e68,_0x387754,_0x4da865,_0x389578,_0x2443f2,_0xa726d4,_0x5244c9,_0x39ca2d,_0xa4b275){_0x4a3e68=this[_0x1cd3('0x19')];_0x13878c=(_0x13878c+_0x4a3e68['dx'])*_0x4a3e68[_0x1cd3('0x29df')];_0x3214a0=(_0x3214a0+_0x4a3e68['dy'])*_0x4a3e68[_0x1cd3('0x29df')];_0x529f41=document['createElement'](mxClient[_0x1cd3('0x2992')]+_0x1cd3('0x2d8b'));_0x529f41[_0x1cd3('0x440')][_0x1cd3('0x4d7')]=_0x1cd3('0x2bc0');_0x529f41[_0x1cd3('0x440')][_0x1cd3('0x4e4')]='1px';_0x529f41[_0x1cd3('0x2d65')]=_0x1cd3('0x31a');_0x5244c9=document[_0x1cd3('0x3aa')](mxClient[_0x1cd3('0x2992')]+_0x1cd3('0x2d68'));_0x5244c9['color']=_0x4a3e68['fontColor'];_0x5244c9[_0x1cd3('0x2d2b')]=0x64*_0x4a3e68[_0x1cd3('0x2cbd')]+'%';_0x529f41['appendChild'](_0x5244c9);_0x5244c9=document[_0x1cd3('0x3aa')](mxClient[_0x1cd3('0x2992')]+_0x1cd3('0x2d8c'));_0x5244c9[_0x1cd3('0x2d8d')]='true';_0x5244c9['v']='m\x20'+this['format'](0x0)+'\x20'+this['format'](0x0)+_0x1cd3('0x2d8e')+this[_0x1cd3('0x130')](0x1)+'\x20'+this[_0x1cd3('0x130')](0x0);_0x529f41[_0x1cd3('0xd4e')](_0x5244c9);_0x5244c9=document[_0x1cd3('0x3aa')](mxClient[_0x1cd3('0x2992')]+_0x1cd3('0x2d8f'));_0x5244c9[_0x1cd3('0x440')][_0x1cd3('0x2998')]='v-text-align:'+_0x4da865;_0x5244c9[_0x1cd3('0x440')][_0x1cd3('0x183e')]=_0x4da865;_0x5244c9['style'][_0x1cd3('0x1841')]=_0x4a3e68['fontFamily'];_0x5244c9['string']=_0x387754;_0x5244c9['on']='true';_0x4da865=Math['round'](_0x4a3e68[_0x1cd3('0x8d6')]*_0x4a3e68['scale']/this[_0x1cd3('0x2d62')]);_0x5244c9['style'][_0x1cd3('0x8d6')]=_0x4da865+'px';(_0x4a3e68[_0x1cd3('0x2af0')]&mxConstants[_0x1cd3('0x2d39')])==mxConstants[_0x1cd3('0x2d39')]&&(_0x5244c9[_0x1cd3('0x440')][_0x1cd3('0x2d5e')]='bold');(_0x4a3e68['fontStyle']&mxConstants['FONT_ITALIC'])==mxConstants[_0x1cd3('0x2d3b')]&&(_0x5244c9[_0x1cd3('0x440')]['fontStyle']=_0x1cd3('0x2d5c'));(_0x4a3e68[_0x1cd3('0x2af0')]&mxConstants['FONT_UNDERLINE'])==mxConstants[_0x1cd3('0x2d3d')]&&(_0x5244c9[_0x1cd3('0x440')]['textDecoration']='underline');_0x387754=_0x387754[_0x1cd3('0x3ef')]('\x0a');_0x4a3e68=_0x4da865+(_0x387754['length']-0x1)*_0x4da865*mxConstants[_0x1cd3('0x2a74')];_0x4da865=_0x387754=0x0;_0x389578==mxConstants[_0x1cd3('0x2a70')]?_0x4da865=-_0x4a3e68/0x2:_0x389578!=mxConstants[_0x1cd3('0x2d56')]&&(_0x4da865=_0x4a3e68/0x2);null!=_0xa4b275&&(_0x529f41[_0x1cd3('0x440')][_0x1cd3('0x2ac8')]=_0xa4b275,_0x389578=_0xa4b275*(Math['PI']/0xb4),_0x387754=Math[_0x1cd3('0x2a4e')](_0x389578)*_0x4da865,_0x4da865*=Math[_0x1cd3('0x2a4d')](_0x389578));_0x529f41['appendChild'](_0x5244c9);_0x529f41['style']['left']=this[_0x1cd3('0x130')](_0x13878c-_0x387754)+'px';_0x529f41[_0x1cd3('0x440')]['top']=this[_0x1cd3('0x130')](_0x3214a0+_0x4da865)+'px';this['root']['appendChild'](_0x529f41);};mxVmlCanvas2D[_0x1cd3('0x77a')]['stroke']=function(){this[_0x1cd3('0x2d17')](!0x1,!0x0);};mxVmlCanvas2D[_0x1cd3('0x77a')]['fill']=function(){this['addNode'](!0x0,!0x1);};mxVmlCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x2d60')]=function(){this[_0x1cd3('0x2d17')](!0x0,!0x0);};function mxGuide(_0x167642,_0x17d44d){this[_0x1cd3('0x2c89')]=_0x167642;this[_0x1cd3('0x2d90')](_0x17d44d);}mxGuide[_0x1cd3('0x77a')][_0x1cd3('0x2c89')]=null;mxGuide['prototype'][_0x1cd3('0x2caa')]=null;mxGuide[_0x1cd3('0x77a')][_0x1cd3('0x749')]=!0x0;mxGuide['prototype']['vertical']=!0x0;mxGuide[_0x1cd3('0x77a')][_0x1cd3('0x2d91')]=null;mxGuide[_0x1cd3('0x77a')][_0x1cd3('0x2d92')]=null;mxGuide[_0x1cd3('0x77a')]['setStates']=function(_0x3c81cc){this[_0x1cd3('0x2caa')]=_0x3c81cc;};mxGuide['prototype'][_0x1cd3('0x2c05')]=function(_0x322c56){return!0x0;};mxGuide[_0x1cd3('0x77a')][_0x1cd3('0x2d93')]=function(){return this[_0x1cd3('0x2c89')][_0x1cd3('0x2c06')]*this[_0x1cd3('0x2c89')]['view'][_0x1cd3('0x29df')]/0x2;};mxGuide['prototype']['createGuideShape']=function(_0x37dc5c){_0x37dc5c=new mxPolyline([],mxConstants[_0x1cd3('0x2d94')],mxConstants[_0x1cd3('0x2d95')]);_0x37dc5c[_0x1cd3('0x2d96')]=!0x0;return _0x37dc5c;};mxGuide[_0x1cd3('0x77a')][_0x1cd3('0x2ab4')]=function(_0x192468,_0x5cfd30,_0xc2ea20){if(null!=this['states']&&(this[_0x1cd3('0x749')]||this[_0x1cd3('0x751')])&&null!=_0x192468&&null!=_0x5cfd30){var _0x41d17a=this['graph'][_0x1cd3('0x29de')]()[_0x1cd3('0x43c')],_0x1dce54=this['graph'][_0x1cd3('0x29de')]()[_0x1cd3('0x29df')],_0x29969b=_0x5cfd30['x'],_0x1a945b=_0x5cfd30['y'],_0x54a0d4=!0x1,_0x51ef11=!0x1,_0x1bce8d=this['getGuideTolerance'](),_0x46bf68=_0x1bce8d,_0x5a50ec=_0x1bce8d,_0x1bce8d=_0x192468[_0x1cd3('0x1141')]();_0x1bce8d['x']+=_0x5cfd30['x'];_0x1bce8d['y']+=_0x5cfd30['y'];var _0x34154e=_0x1bce8d['x'],_0x3b8581=_0x1bce8d['x']+_0x1bce8d[_0x1cd3('0x4d7')],_0x2fdfca=_0x1bce8d['getCenterX'](),_0x32bbff=_0x1bce8d['y'],_0xe7b1c8=_0x1bce8d['y']+_0x1bce8d[_0x1cd3('0x4e4')],_0x2da36e=_0x1bce8d[_0x1cd3('0x29d6')]();_0x5cfd30=function(_0x27ed86){_0x27ed86+=this[_0x1cd3('0x2c89')][_0x1cd3('0x2c65')];var _0xc2ea20=!0x1;Math[_0x1cd3('0x2a4c')](_0x27ed86-_0x2fdfca)<_0x46bf68?(_0x29969b=_0x27ed86-_0x192468[_0x1cd3('0x29d5')](),_0x46bf68=Math[_0x1cd3('0x2a4c')](_0x27ed86-_0x2fdfca),_0xc2ea20=!0x0):Math[_0x1cd3('0x2a4c')](_0x27ed86-_0x34154e)<_0x46bf68?(_0x29969b=_0x27ed86-_0x192468['x'],_0x46bf68=Math[_0x1cd3('0x2a4c')](_0x27ed86-_0x34154e),_0xc2ea20=!0x0):Math[_0x1cd3('0x2a4c')](_0x27ed86-_0x3b8581)<_0x46bf68&&(_0x29969b=_0x27ed86-_0x192468['x']-_0x192468[_0x1cd3('0x4d7')],_0x46bf68=Math['abs'](_0x27ed86-_0x3b8581),_0xc2ea20=!0x0);if(_0xc2ea20){null==this['guideX']&&(this['guideX']=this[_0x1cd3('0x2d97')](!0x0),this[_0x1cd3('0x2d91')][_0x1cd3('0x2d98')]=this[_0x1cd3('0x2c89')][_0x1cd3('0x2d98')]!=mxConstants['DIALECT_SVG']?mxConstants[_0x1cd3('0x2d99')]:mxConstants[_0x1cd3('0x2a7c')],this['guideX'][_0x1cd3('0x2cb2')]=!0x1,this['guideX'][_0x1cd3('0xe08')](this['graph'][_0x1cd3('0x29de')]()['getOverlayPane']()));var _0x52ee2b=this[_0x1cd3('0x2c89')]['container'];_0x27ed86-=this[_0x1cd3('0x2c89')][_0x1cd3('0x2c65')];this[_0x1cd3('0x2d91')][_0x1cd3('0x2d9a')]=[new mxPoint(_0x27ed86,-this[_0x1cd3('0x2c89')][_0x1cd3('0x2c6e')]),new mxPoint(_0x27ed86,_0x52ee2b[_0x1cd3('0x6fa')]-0x3-this[_0x1cd3('0x2c89')]['panDy'])];}_0x54a0d4=_0x54a0d4||_0xc2ea20;};for(var _0x1bce8d=function(_0xf34351){_0xf34351+=this[_0x1cd3('0x2c89')]['panDy'];var _0xc2ea20=!0x1;Math['abs'](_0xf34351-_0x2da36e)<_0x5a50ec?(_0x1a945b=_0xf34351-_0x192468[_0x1cd3('0x29d6')](),_0x5a50ec=Math[_0x1cd3('0x2a4c')](_0xf34351-_0x2da36e),_0xc2ea20=!0x0):Math[_0x1cd3('0x2a4c')](_0xf34351-_0x32bbff)<_0x5a50ec?(_0x1a945b=_0xf34351-_0x192468['y'],_0x5a50ec=Math['abs'](_0xf34351-_0x32bbff),_0xc2ea20=!0x0):Math[_0x1cd3('0x2a4c')](_0xf34351-_0xe7b1c8)<_0x5a50ec&&(_0x1a945b=_0xf34351-_0x192468['y']-_0x192468[_0x1cd3('0x4e4')],_0x5a50ec=Math[_0x1cd3('0x2a4c')](_0xf34351-_0xe7b1c8),_0xc2ea20=!0x0);if(_0xc2ea20){null==this[_0x1cd3('0x2d92')]&&(this['guideY']=this[_0x1cd3('0x2d97')](!0x1),this[_0x1cd3('0x2d92')][_0x1cd3('0x2d98')]=this['graph']['dialect']!=mxConstants['DIALECT_SVG']?mxConstants['DIALECT_VML']:mxConstants[_0x1cd3('0x2a7c')],this[_0x1cd3('0x2d92')]['pointerEvents']=!0x1,this[_0x1cd3('0x2d92')][_0x1cd3('0xe08')](this[_0x1cd3('0x2c89')]['getView']()[_0x1cd3('0x2d9b')]()));var _0x1308f4=this[_0x1cd3('0x2c89')]['container'];_0xf34351-=this['graph'][_0x1cd3('0x2c6e')];this['guideY']['points']=[new mxPoint(-this[_0x1cd3('0x2c89')][_0x1cd3('0x2c65')],_0xf34351),new mxPoint(_0x1308f4['scrollWidth']-0x3-this[_0x1cd3('0x2c89')]['panDx'],_0xf34351)];}_0x51ef11=_0x51ef11||_0xc2ea20;},_0x2c32ec=0x0;_0x2c32ec<this[_0x1cd3('0x2caa')][_0x1cd3('0x7a')];_0x2c32ec++){var _0x36a531=this[_0x1cd3('0x2caa')][_0x2c32ec];null!=_0x36a531&&(this['horizontal']&&(_0x5cfd30['call'](this,_0x36a531[_0x1cd3('0x29d5')]()),_0x5cfd30[_0x1cd3('0x46d')](this,_0x36a531['x']),_0x5cfd30[_0x1cd3('0x46d')](this,_0x36a531['x']+_0x36a531[_0x1cd3('0x4d7')])),this['vertical']&&(_0x1bce8d[_0x1cd3('0x46d')](this,_0x36a531[_0x1cd3('0x29d6')]()),_0x1bce8d[_0x1cd3('0x46d')](this,_0x36a531['y']),_0x1bce8d[_0x1cd3('0x46d')](this,_0x36a531['y']+_0x36a531[_0x1cd3('0x4e4')])));}!_0x54a0d4&&null!=this['guideX']?this[_0x1cd3('0x2d91')][_0x1cd3('0x56e')][_0x1cd3('0x440')][_0x1cd3('0x29c7')]=_0x1cd3('0x533'):null!=this[_0x1cd3('0x2d91')]&&(this[_0x1cd3('0x2d91')]['node']['style'][_0x1cd3('0x29c7')]='visible',this[_0x1cd3('0x2d91')][_0x1cd3('0x29e3')]());!_0x51ef11&&null!=this[_0x1cd3('0x2d92')]?this['guideY'][_0x1cd3('0x56e')][_0x1cd3('0x440')][_0x1cd3('0x29c7')]=_0x1cd3('0x533'):null!=this[_0x1cd3('0x2d92')]&&(this['guideY'][_0x1cd3('0x56e')][_0x1cd3('0x440')][_0x1cd3('0x29c7')]=_0x1cd3('0x29c8'),this[_0x1cd3('0x2d92')][_0x1cd3('0x29e3')]());_0xc2ea20&&(_0x54a0d4||(_0xc2ea20=_0x192468['x']-(this['graph'][_0x1cd3('0x2c07')](_0x192468['x']/_0x1dce54-_0x41d17a['x'])+_0x41d17a['x'])*_0x1dce54,_0x29969b=this['graph']['snap'](_0x29969b/_0x1dce54)*_0x1dce54-_0xc2ea20),_0x51ef11||(_0x41d17a=_0x192468['y']-(this['graph'][_0x1cd3('0x2c07')](_0x192468['y']/_0x1dce54-_0x41d17a['y'])+_0x41d17a['y'])*_0x1dce54,_0x1a945b=this['graph']['snap'](_0x1a945b/_0x1dce54)*_0x1dce54-_0x41d17a));_0x5cfd30=new mxPoint(_0x29969b,_0x1a945b);}return _0x5cfd30;};mxGuide['prototype'][_0x1cd3('0x39d')]=function(){null!=this[_0x1cd3('0x2d91')]&&(this['guideX'][_0x1cd3('0x56e')][_0x1cd3('0x440')][_0x1cd3('0x29c7')]=_0x1cd3('0x533'));null!=this[_0x1cd3('0x2d92')]&&(this[_0x1cd3('0x2d92')]['node']['style']['visibility']=_0x1cd3('0x533'));};mxGuide['prototype'][_0x1cd3('0x2bcb')]=function(){null!=this[_0x1cd3('0x2d91')]&&(this[_0x1cd3('0x2d91')]['destroy'](),this[_0x1cd3('0x2d91')]=null);null!=this['guideY']&&(this['guideY'][_0x1cd3('0x2bcb')](),this[_0x1cd3('0x2d92')]=null);};function mxStencil(_0x2c23ac){this['desc']=_0x2c23ac;this[_0x1cd3('0x2d9c')]();this['parseConstraints']();}mxStencil[_0x1cd3('0x2d9d')]=!0x1;mxStencil[_0x1cd3('0x77a')][_0x1cd3('0x13d5')]=null;mxStencil[_0x1cd3('0x77a')][_0x1cd3('0x2d9e')]=null;mxStencil[_0x1cd3('0x77a')][_0x1cd3('0x2cfc')]=null;mxStencil[_0x1cd3('0x77a')]['w0']=null;mxStencil['prototype']['h0']=null;mxStencil[_0x1cd3('0x77a')][_0x1cd3('0x2d9f')]=null;mxStencil['prototype']['fgNode']=null;mxStencil[_0x1cd3('0x77a')][_0x1cd3('0x2ce9')]=null;mxStencil[_0x1cd3('0x77a')][_0x1cd3('0x2d9c')]=function(){this[_0x1cd3('0x2da0')]=this[_0x1cd3('0x13d5')]['getElementsByTagName'](_0x1cd3('0x8e8'))[0x0];this[_0x1cd3('0x2d9f')]=this['desc'][_0x1cd3('0x297f')]('background')[0x0];this['w0']=Number(this['desc'][_0x1cd3('0x29f4')]('w')||0x64);this['h0']=Number(this['desc'][_0x1cd3('0x29f4')]('h')||0x64);var _0x64c847=this[_0x1cd3('0x13d5')][_0x1cd3('0x29f4')](_0x1cd3('0x2cfc'));this['aspect']=null!=_0x64c847?_0x64c847:_0x1cd3('0xb84');_0x64c847=this[_0x1cd3('0x13d5')][_0x1cd3('0x29f4')]('strokewidth');this[_0x1cd3('0x2ce9')]=null!=_0x64c847?_0x64c847:'1';};mxStencil['prototype'][_0x1cd3('0x2da1')]=function(){var _0x27928f=this[_0x1cd3('0x13d5')][_0x1cd3('0x297f')]('connections')[0x0];if(null!=_0x27928f&&(_0x27928f=mxUtils[_0x1cd3('0x2da2')](_0x27928f),null!=_0x27928f&&0x0<_0x27928f[_0x1cd3('0x7a')])){this[_0x1cd3('0x2d9e')]=[];for(var _0x361fb4=0x0;_0x361fb4<_0x27928f[_0x1cd3('0x7a')];_0x361fb4++)this['constraints']['push'](this['parseConstraint'](_0x27928f[_0x361fb4]));}};mxStencil['prototype'][_0x1cd3('0x2da3')]=function(_0x18f7b6){var _0x5e9191=Number(_0x18f7b6['getAttribute']('x')),_0x140797=Number(_0x18f7b6[_0x1cd3('0x29f4')]('y'));_0x18f7b6='1'==_0x18f7b6[_0x1cd3('0x29f4')]('perimeter');return new mxConnectionConstraint(new mxPoint(_0x5e9191,_0x140797),_0x18f7b6);};mxStencil[_0x1cd3('0x77a')][_0x1cd3('0x2da4')]=function(_0x1b3758,_0x58c4e1,_0x3254a0){_0x58c4e1=this[_0x1cd3('0x2da5')](_0x1b3758,_0x58c4e1,_0x3254a0);_0x1b3758=_0x1b3758[_0x1cd3('0x29f4')](_0x1cd3('0x2da6'));if(mxStencil[_0x1cd3('0x2d9d')]&&null==_0x1b3758||'1'==_0x1b3758)_0x58c4e1=mxResources[_0x1cd3('0x361')](_0x58c4e1);return _0x58c4e1;};mxStencil['prototype'][_0x1cd3('0x2da5')]=function(_0x56327f,_0x44b858,_0x354661){_0x44b858=_0x56327f[_0x1cd3('0x29f4')](_0x44b858);null==_0x44b858&&(_0x56327f=mxUtils[_0x1cd3('0x2a0e')](_0x56327f),null!=_0x56327f&&(_0x56327f=mxUtils[_0x1cd3('0x2da7')](_0x56327f),_0x1cd3('0x77c')==typeof _0x56327f&&(_0x44b858=_0x56327f(_0x354661))));return _0x44b858;};mxStencil['prototype'][_0x1cd3('0x2da8')]=function(_0x196389,_0x2e1e9b,_0x4f116d,_0x217245,_0x33cf09,_0x208c60){this[_0x1cd3('0x2da9')](_0x196389,_0x2e1e9b,_0x4f116d,_0x217245,_0x33cf09,_0x208c60,this['bgNode'],!0x1);this[_0x1cd3('0x2da9')](_0x196389,_0x2e1e9b,_0x4f116d,_0x217245,_0x33cf09,_0x208c60,this[_0x1cd3('0x2da0')],!0x0);};mxStencil[_0x1cd3('0x77a')][_0x1cd3('0x2da9')]=function(_0x477629,_0x39d007,_0x56c420,_0x253c10,_0x10d7c0,_0x1258eb,_0x3a596d,_0x2613b9){if(null!=_0x3a596d){var _0x15d7e8=mxUtils[_0x1cd3('0x2a5a')](_0x39d007[_0x1cd3('0x440')],mxConstants[_0x1cd3('0x2daa')],null);_0x56c420=this['computeAspect'](_0x39d007['style'],_0x56c420,_0x253c10,_0x10d7c0,_0x1258eb,_0x15d7e8);_0x253c10=Math['min'](_0x56c420[_0x1cd3('0x4d7')],_0x56c420[_0x1cd3('0x4e4')]);_0x253c10='inherit'==this[_0x1cd3('0x2ce9')]?Number(mxUtils[_0x1cd3('0x2dab')](_0x39d007[_0x1cd3('0x440')],mxConstants[_0x1cd3('0x2dac')],0x1)):Number(this[_0x1cd3('0x2ce9')])*_0x253c10;_0x477629[_0x1cd3('0x2cc2')](_0x253c10);for(_0x3a596d=_0x3a596d[_0x1cd3('0x29f5')];null!=_0x3a596d;)_0x3a596d[_0x1cd3('0x29f8')]==mxConstants[_0x1cd3('0x29f9')]&&this[_0x1cd3('0x2dad')](_0x477629,_0x39d007,_0x3a596d,_0x56c420,_0x2613b9),_0x3a596d=_0x3a596d[_0x1cd3('0x29f7')];}};mxStencil[_0x1cd3('0x77a')]['computeAspect']=function(_0x5c3661,_0x8352c0,_0x414a4f,_0x5137b6,_0x3a049e,_0x2e59cb){_0x5c3661=_0x8352c0;_0x8352c0=_0x5137b6/this['w0'];var _0x30c7d2=_0x3a049e/this['h0'];if(_0x2e59cb='north'==_0x2e59cb||_0x1cd3('0x2b06')==_0x2e59cb){_0x30c7d2=_0x5137b6/this['h0'];_0x8352c0=_0x3a049e/this['w0'];var _0x50ba76=(_0x5137b6-_0x3a049e)/0x2;_0x5c3661+=_0x50ba76;_0x414a4f-=_0x50ba76;}'fixed'==this[_0x1cd3('0x2cfc')]&&(_0x8352c0=_0x30c7d2=Math['min'](_0x8352c0,_0x30c7d2),_0x2e59cb?(_0x5c3661+=(_0x3a049e-this['w0']*_0x8352c0)/0x2,_0x414a4f+=(_0x5137b6-this['h0']*_0x30c7d2)/0x2):(_0x5c3661+=(_0x5137b6-this['w0']*_0x8352c0)/0x2,_0x414a4f+=(_0x3a049e-this['h0']*_0x30c7d2)/0x2));return new mxRectangle(_0x5c3661,_0x414a4f,_0x8352c0,_0x30c7d2);};mxStencil[_0x1cd3('0x77a')]['drawNode']=function(_0x22b4e4,_0x20cf71,_0x47efe2,_0x3525c1,_0x2e9747){var _0x3c54a9=_0x47efe2['nodeName'],_0x580c94=_0x3525c1['x'],_0x238a15=_0x3525c1['y'],_0x4103be=_0x3525c1[_0x1cd3('0x4d7')],_0x43ebad=_0x3525c1[_0x1cd3('0x4e4')],_0x2d0517=Math[_0x1cd3('0x4e3')](_0x4103be,_0x43ebad);if(_0x1cd3('0xd6d')==_0x3c54a9)_0x22b4e4[_0x1cd3('0xd6d')]();else if(_0x1cd3('0x2ca6')==_0x3c54a9)_0x22b4e4[_0x1cd3('0x2ca6')]();else if(_0x1cd3('0x480')==_0x3c54a9){_0x22b4e4[_0x1cd3('0x2cd2')]();for(_0x47efe2=_0x47efe2[_0x1cd3('0x29f5')];null!=_0x47efe2;)_0x47efe2[_0x1cd3('0x29f8')]==mxConstants['NODETYPE_ELEMENT']&&this[_0x1cd3('0x2dad')](_0x22b4e4,_0x20cf71,_0x47efe2,_0x3525c1,_0x2e9747),_0x47efe2=_0x47efe2[_0x1cd3('0x29f7')];}else if('close'==_0x3c54a9)_0x22b4e4[_0x1cd3('0x3cf')]();else if(_0x1cd3('0x2ab4')==_0x3c54a9)_0x22b4e4['moveTo'](_0x580c94+Number(_0x47efe2[_0x1cd3('0x29f4')]('x'))*_0x4103be,_0x238a15+Number(_0x47efe2[_0x1cd3('0x29f4')]('y'))*_0x43ebad);else if(_0x1cd3('0x28e8')==_0x3c54a9)_0x22b4e4['lineTo'](_0x580c94+Number(_0x47efe2[_0x1cd3('0x29f4')]('x'))*_0x4103be,_0x238a15+Number(_0x47efe2['getAttribute']('y'))*_0x43ebad);else if(_0x1cd3('0x2dae')==_0x3c54a9)_0x22b4e4[_0x1cd3('0x2cd4')](_0x580c94+Number(_0x47efe2[_0x1cd3('0x29f4')]('x1'))*_0x4103be,_0x238a15+Number(_0x47efe2[_0x1cd3('0x29f4')]('y1'))*_0x43ebad,_0x580c94+Number(_0x47efe2[_0x1cd3('0x29f4')]('x2'))*_0x4103be,_0x238a15+Number(_0x47efe2[_0x1cd3('0x29f4')]('y2'))*_0x43ebad);else if(_0x1cd3('0x2daf')==_0x3c54a9)_0x22b4e4[_0x1cd3('0x2cd5')](_0x580c94+Number(_0x47efe2[_0x1cd3('0x29f4')]('x1'))*_0x4103be,_0x238a15+Number(_0x47efe2['getAttribute']('y1'))*_0x43ebad,_0x580c94+Number(_0x47efe2[_0x1cd3('0x29f4')]('x2'))*_0x4103be,_0x238a15+Number(_0x47efe2[_0x1cd3('0x29f4')]('y2'))*_0x43ebad,_0x580c94+Number(_0x47efe2[_0x1cd3('0x29f4')]('x3'))*_0x4103be,_0x238a15+Number(_0x47efe2['getAttribute']('y3'))*_0x43ebad);else if(_0x1cd3('0x2db0')==_0x3c54a9)_0x22b4e4[_0x1cd3('0x2cd7')](Number(_0x47efe2[_0x1cd3('0x29f4')]('rx'))*_0x4103be,Number(_0x47efe2[_0x1cd3('0x29f4')]('ry'))*_0x43ebad,Number(_0x47efe2['getAttribute'](_0x1cd3('0x2db1'))),Number(_0x47efe2['getAttribute']('large-arc-flag')),Number(_0x47efe2['getAttribute'](_0x1cd3('0x2db2'))),_0x580c94+Number(_0x47efe2[_0x1cd3('0x29f4')]('x'))*_0x4103be,_0x238a15+Number(_0x47efe2[_0x1cd3('0x29f4')]('y'))*_0x43ebad);else if('rect'==_0x3c54a9)_0x22b4e4['rect'](_0x580c94+Number(_0x47efe2['getAttribute']('x'))*_0x4103be,_0x238a15+Number(_0x47efe2[_0x1cd3('0x29f4')]('y'))*_0x43ebad,Number(_0x47efe2['getAttribute']('w'))*_0x4103be,Number(_0x47efe2[_0x1cd3('0x29f4')]('h'))*_0x43ebad);else if(_0x1cd3('0x2cfb')==_0x3c54a9)_0x20cf71=_0x47efe2['getAttribute'](_0x1cd3('0x2db3')),0x0==_0x20cf71&&(_0x20cf71=0x64*mxConstants[_0x1cd3('0x2db4')]),_0x2d0517=Number(_0x47efe2['getAttribute']('w'))*_0x4103be,_0x3525c1=Number(_0x47efe2[_0x1cd3('0x29f4')]('h'))*_0x43ebad,_0x20cf71=Number(_0x20cf71)/0x64,_0x20cf71=Math['min'](_0x2d0517*_0x20cf71,_0x3525c1*_0x20cf71),_0x22b4e4[_0x1cd3('0x2cfb')](_0x580c94+Number(_0x47efe2[_0x1cd3('0x29f4')]('x'))*_0x4103be,_0x238a15+Number(_0x47efe2['getAttribute']('y'))*_0x43ebad,_0x2d0517,_0x3525c1,_0x20cf71,_0x20cf71);else if(_0x1cd3('0x2af9')==_0x3c54a9)_0x22b4e4[_0x1cd3('0x2af9')](_0x580c94+Number(_0x47efe2[_0x1cd3('0x29f4')]('x'))*_0x4103be,_0x238a15+Number(_0x47efe2['getAttribute']('y'))*_0x43ebad,Number(_0x47efe2[_0x1cd3('0x29f4')]('w'))*_0x4103be,Number(_0x47efe2[_0x1cd3('0x29f4')]('h'))*_0x43ebad);else if(_0x1cd3('0x127a')==_0x3c54a9)_0x20cf71=this['evaluateAttribute'](_0x47efe2,_0x1cd3('0x487'),_0x20cf71),_0x22b4e4[_0x1cd3('0x127a')](_0x580c94+Number(_0x47efe2[_0x1cd3('0x29f4')]('x'))*_0x4103be,_0x238a15+Number(_0x47efe2[_0x1cd3('0x29f4')]('y'))*_0x43ebad,Number(_0x47efe2[_0x1cd3('0x29f4')]('w'))*_0x4103be,Number(_0x47efe2[_0x1cd3('0x29f4')]('h'))*_0x43ebad,_0x20cf71,!0x1,'1'==_0x47efe2[_0x1cd3('0x29f4')](_0x1cd3('0x2ce3')),'1'==_0x47efe2[_0x1cd3('0x29f4')](_0x1cd3('0x2ad7')));else if(_0x1cd3('0x401')==_0x3c54a9){_0x2d0517=this[_0x1cd3('0x2da4')](_0x47efe2,_0x1cd3('0x2cff'),_0x20cf71);_0x3525c1='1'==_0x47efe2[_0x1cd3('0x29f4')](_0x1cd3('0x751'))?-0x5a:0x0;if('0'==_0x47efe2[_0x1cd3('0x29f4')]('align-shape')){var _0x278997=_0x20cf71[_0x1cd3('0x2ac8')],_0xeeeed1=0x1==mxUtils[_0x1cd3('0x2a5a')](_0x20cf71[_0x1cd3('0x440')],mxConstants['STYLE_FLIPH'],0x0);_0x20cf71=0x1==mxUtils[_0x1cd3('0x2a5a')](_0x20cf71[_0x1cd3('0x440')],mxConstants[_0x1cd3('0x2db5')],0x0);_0x3525c1=_0xeeeed1&&_0x20cf71?_0x3525c1-_0x278997:_0xeeeed1||_0x20cf71?_0x3525c1+_0x278997:_0x3525c1-_0x278997;}_0x3525c1-=_0x47efe2[_0x1cd3('0x29f4')](_0x1cd3('0x2ac8'));_0x22b4e4[_0x1cd3('0x401')](_0x580c94+Number(_0x47efe2['getAttribute']('x'))*_0x4103be,_0x238a15+Number(_0x47efe2[_0x1cd3('0x29f4')]('y'))*_0x43ebad,0x0,0x0,_0x2d0517,_0x47efe2[_0x1cd3('0x29f4')](_0x1cd3('0x183e'))||_0x1cd3('0x762'),_0x47efe2[_0x1cd3('0x29f4')](_0x1cd3('0x2d00'))||_0x1cd3('0x712'),!0x1,'',!0x1,!0x1,_0x3525c1);}else if(_0x1cd3('0x2db6')==_0x3c54a9)_0x278997=mxStencilRegistry['getStencil'](_0x47efe2[_0x1cd3('0x29f4')](_0x1cd3('0x98'))),null!=_0x278997&&(_0x580c94+=Number(_0x47efe2['getAttribute']('x'))*_0x4103be,_0x238a15+=Number(_0x47efe2['getAttribute']('y'))*_0x43ebad,_0x2d0517=Number(_0x47efe2[_0x1cd3('0x29f4')]('w'))*_0x4103be,_0x3525c1=Number(_0x47efe2[_0x1cd3('0x29f4')]('h'))*_0x43ebad,_0x278997[_0x1cd3('0x2da8')](_0x22b4e4,_0x20cf71,_0x580c94,_0x238a15,_0x2d0517,_0x3525c1));else if(_0x1cd3('0x2db7')==_0x3c54a9)_0x22b4e4[_0x1cd3('0x2d60')]();else if('fill'==_0x3c54a9)_0x22b4e4[_0x1cd3('0x2d02')]();else if(_0x1cd3('0x2d04')==_0x3c54a9)_0x22b4e4[_0x1cd3('0x2d04')]();else if(_0x1cd3('0x2ce9')==_0x3c54a9)_0x22b4e4['setStrokeWidth'](Number(_0x47efe2['getAttribute'](_0x1cd3('0x4d7')))*_0x2d0517);else if(_0x1cd3('0x2ae7')==_0x3c54a9)_0x22b4e4['setDashed']('1'==_0x47efe2[_0x1cd3('0x29f4')](_0x1cd3('0x2ae7')));else if(_0x1cd3('0x2cea')==_0x3c54a9){if(_0x47efe2=_0x47efe2['getAttribute'](_0x1cd3('0x2ceb')),null!=_0x47efe2){_0x47efe2=_0x47efe2[_0x1cd3('0x3ef')]('\x20');_0x4103be=[];for(_0x43ebad=0x0;_0x43ebad<_0x47efe2[_0x1cd3('0x7a')];_0x43ebad++)0x0<_0x47efe2[_0x43ebad][_0x1cd3('0x7a')]&&_0x4103be[_0x1cd3('0x7b')](Number(_0x47efe2[_0x43ebad])*_0x2d0517);_0x47efe2=_0x4103be['join']('\x20');_0x22b4e4[_0x1cd3('0x2cc4')](_0x47efe2);}}else _0x1cd3('0x2ce8')==_0x3c54a9?_0x22b4e4[_0x1cd3('0x2cc1')](_0x47efe2[_0x1cd3('0x29f4')](_0x1cd3('0x3c6'))):_0x1cd3('0x2cec')==_0x3c54a9?_0x22b4e4[_0x1cd3('0x2db8')](_0x47efe2[_0x1cd3('0x29f4')](_0x1cd3('0x2db9'))):_0x1cd3('0x2dba')==_0x3c54a9?_0x22b4e4['setLineJoin'](_0x47efe2[_0x1cd3('0x29f4')](_0x1cd3('0x3de'))):_0x1cd3('0x2cef')==_0x3c54a9?_0x22b4e4['setMiterLimit'](Number(_0x47efe2[_0x1cd3('0x29f4')](_0x1cd3('0x8fe')))):_0x1cd3('0x2ce4')==_0x3c54a9?_0x22b4e4[_0x1cd3('0x2cbe')](_0x47efe2[_0x1cd3('0x29f4')](_0x1cd3('0x3c6'))):_0x1cd3('0x2cbd')==_0x3c54a9?_0x22b4e4[_0x1cd3('0x2cbc')](_0x47efe2[_0x1cd3('0x29f4')](_0x1cd3('0x2cbd'))):'fontcolor'==_0x3c54a9?_0x22b4e4[_0x1cd3('0x2cc8')](_0x47efe2['getAttribute'](_0x1cd3('0x3c6'))):_0x1cd3('0x2cf6')==_0x3c54a9?_0x22b4e4[_0x1cd3('0x2cf5')](_0x47efe2[_0x1cd3('0x29f4')]('style')):_0x1cd3('0x2cda')==_0x3c54a9?_0x22b4e4[_0x1cd3('0x2ccc')](_0x47efe2[_0x1cd3('0x29f4')](_0x1cd3('0x2cdb'))):_0x1cd3('0x2cdc')==_0x3c54a9&&_0x22b4e4[_0x1cd3('0x2ccb')](Number(_0x47efe2['getAttribute']('size'))*_0x2d0517);_0x2e9747&&(_0x1cd3('0x2db7')==_0x3c54a9||_0x1cd3('0x2d02')==_0x3c54a9||_0x1cd3('0x2d04')==_0x3c54a9)&&_0x22b4e4[_0x1cd3('0x2cf7')](!0x1);};function mxShape(_0x55a0af){this[_0x1cd3('0x2dbb')]=_0x55a0af;this[_0x1cd3('0x2ce9')]=0x1;this[_0x1cd3('0x2ac8')]=0x0;this['opacity']=0x64;this['flipV']=this[_0x1cd3('0x2ce3')]=!0x1;}mxShape[_0x1cd3('0x77a')][_0x1cd3('0x2d98')]=null;mxShape[_0x1cd3('0x77a')]['scale']=0x1;mxShape['prototype'][_0x1cd3('0x2dbc')]=null;mxShape[_0x1cd3('0x77a')]['points']=null;mxShape[_0x1cd3('0x77a')][_0x1cd3('0x56e')]=null;mxShape['prototype'][_0x1cd3('0x440')]=null;mxShape['prototype'][_0x1cd3('0x440')]=null;mxShape[_0x1cd3('0x77a')][_0x1cd3('0x2dbd')]=null;mxShape['prototype'][_0x1cd3('0x2dbb')]=null;mxShape['prototype'][_0x1cd3('0x2dbe')]=0x6;mxShape[_0x1cd3('0x77a')]['pointerEvents']=!0x0;mxShape[_0x1cd3('0x77a')][_0x1cd3('0x2dbf')]=!0x1;mxShape[_0x1cd3('0x77a')]['vmlScale']=0x1;mxShape[_0x1cd3('0x77a')][_0x1cd3('0xe08')]=function(_0x407914){null==this[_0x1cd3('0x56e')]&&(this[_0x1cd3('0x56e')]=this[_0x1cd3('0x624')](_0x407914),null!=_0x407914&&_0x407914['appendChild'](this[_0x1cd3('0x56e')]));};mxShape['prototype']['isParseVml']=function(){return!0x0;};mxShape[_0x1cd3('0x77a')][_0x1cd3('0x2dc0')]=function(){return!0x1;};mxShape['prototype']['getSvgScreenOffset']=function(){return 0x1==mxUtils[_0x1cd3('0x2d6e')](Math[_0x1cd3('0x13d1')](0x1,Math[_0x1cd3('0x18ba')](this[_0x1cd3('0x2ce9')]*this[_0x1cd3('0x29df')])),0x2)?0.5:0x0;};mxShape['prototype'][_0x1cd3('0x624')]=function(_0x563410){var _0x2e6848=null;return _0x2e6848=null!=_0x563410[_0x1cd3('0x2a92')]?this[_0x1cd3('0x2dc1')](_0x563410):0x8==document[_0x1cd3('0x2959')]||this[_0x1cd3('0x2d98')]==mxConstants['DIALECT_SVG']||this[_0x1cd3('0x2d98')]!=mxConstants[_0x1cd3('0x2d99')]&&this['isHtmlAllowed']()?this[_0x1cd3('0x2dc2')](_0x563410):this[_0x1cd3('0x2dc3')](_0x563410);};mxShape[_0x1cd3('0x77a')][_0x1cd3('0x2dc1')]=function(){return document[_0x1cd3('0x2a7f')](mxConstants['NS_SVG'],'g');};mxShape['prototype'][_0x1cd3('0x2dc3')]=function(){var _0x2b0432=document[_0x1cd3('0x3aa')](mxClient['VML_PREFIX']+_0x1cd3('0x2d82'));_0x2b0432[_0x1cd3('0x440')][_0x1cd3('0x679')]='absolute';return _0x2b0432;};mxShape[_0x1cd3('0x77a')][_0x1cd3('0x2dc2')]=function(){var _0x61498a=document[_0x1cd3('0x3aa')]('div');_0x61498a[_0x1cd3('0x440')][_0x1cd3('0x679')]='absolute';return _0x61498a;};mxShape[_0x1cd3('0x77a')][_0x1cd3('0x2dc4')]=function(){this[_0x1cd3('0x29e3')]();};mxShape[_0x1cd3('0x77a')][_0x1cd3('0x29e3')]=function(){this[_0x1cd3('0x2dc5')]();this[_0x1cd3('0x2dc6')]()?(this[_0x1cd3('0x56e')][_0x1cd3('0x440')][_0x1cd3('0x29c7')]='','DIV'==this['node'][_0x1cd3('0x2a0c')]&&this[_0x1cd3('0x2dc0')]()?this[_0x1cd3('0x2dc7')]():this['redrawShape'](),this[_0x1cd3('0x2dc8')]()):(this[_0x1cd3('0x56e')]['style'][_0x1cd3('0x29c7')]=_0x1cd3('0x533'),this[_0x1cd3('0x2dbd')]=null);};mxShape[_0x1cd3('0x77a')][_0x1cd3('0x2dc5')]=function(){var _0x28ac00=this[_0x1cd3('0x2d9a')];if(null!=_0x28ac00&&0x0<_0x28ac00['length']&&null!=_0x28ac00[0x0]){this[_0x1cd3('0x2dbc')]=new mxRectangle(Number(_0x28ac00[0x0]['x']),Number(_0x28ac00[0x0]['y']),0x1,0x1);for(var _0x35779d=0x1;_0x35779d<this[_0x1cd3('0x2d9a')][_0x1cd3('0x7a')];_0x35779d++)null!=_0x28ac00[_0x35779d]&&this['bounds'][_0x1cd3('0x425')](new mxRectangle(Number(_0x28ac00[_0x35779d]['x']),Number(_0x28ac00[_0x35779d]['y']),0x1,0x1));}};mxShape[_0x1cd3('0x77a')]['checkBounds']=function(){return null!=this[_0x1cd3('0x2dbc')]&&!isNaN(this['bounds']['x'])&&!isNaN(this[_0x1cd3('0x2dbc')]['y'])&&!isNaN(this[_0x1cd3('0x2dbc')][_0x1cd3('0x4d7')])&&!isNaN(this[_0x1cd3('0x2dbc')][_0x1cd3('0x4e4')])&&0x0<this[_0x1cd3('0x2dbc')][_0x1cd3('0x4d7')]&&0x0<this[_0x1cd3('0x2dbc')][_0x1cd3('0x4e4')];};mxShape[_0x1cd3('0x77a')][_0x1cd3('0x2dc9')]=function(){var _0x450a6b=document['createElement'](mxClient[_0x1cd3('0x2992')]+':group');_0x450a6b[_0x1cd3('0x440')][_0x1cd3('0x679')]=_0x1cd3('0x532');_0x450a6b['style'][_0x1cd3('0x4d7')]=this[_0x1cd3('0x56e')][_0x1cd3('0x440')][_0x1cd3('0x4d7')];_0x450a6b['style']['height']=this[_0x1cd3('0x56e')]['style']['height'];return _0x450a6b;};mxShape[_0x1cd3('0x77a')][_0x1cd3('0x2dca')]=function(){var _0x54dfcc=this[_0x1cd3('0x2dcb')]();for(_0x54dfcc['pointerEvents']=this[_0x1cd3('0x2cb2')];this[_0x1cd3('0x56e')]['hasChildNodes']();)this[_0x1cd3('0x56e')]['removeChild'](this[_0x1cd3('0x56e')][_0x1cd3('0x2dcc')]);this[_0x1cd3('0x2ca5')](_0x54dfcc);this[_0x1cd3('0x56e')]!=_0x54dfcc[_0x1cd3('0x554')]&&this[_0x1cd3('0x56e')][_0x1cd3('0x2dcd')](_0x1cd3('0x2dce'),_0x54dfcc[_0x1cd3('0x554')][_0x1cd3('0x2a18')]);_0x1cd3('0x2d87')==this[_0x1cd3('0x56e')][_0x1cd3('0x2a0c')]&&0x8==document['documentMode']&&(this[_0x1cd3('0x56e')][_0x1cd3('0x440')][_0x1cd3('0x395')]='',(null==this[_0x1cd3('0x2dbb')]||!this['stencilPointerEvents'])&&mxUtils[_0x1cd3('0x2dcf')](this[_0x1cd3('0x56e')]));this['destroyCanvas'](_0x54dfcc);};mxShape[_0x1cd3('0x77a')][_0x1cd3('0x2dcb')]=function(){var _0x128198=null,_0x470ec4=null;if(null!=this[_0x1cd3('0x56e')][_0x1cd3('0x2a92')])_0x128198=new mxSvgCanvas2D(this['node'],!0x1),_0x128198[_0x1cd3('0x2d09')]=this['svgStrokeTolerance'],_0x128198['blockImagePointerEvents']=mxClient[_0x1cd3('0x29a5')]&&!mxClient['IS_SF']&&!mxClient[_0x1cd3('0x2986')],_0x470ec4=this[_0x1cd3('0x2dd0')](),0x0!=_0x470ec4?this[_0x1cd3('0x56e')][_0x1cd3('0x481')](_0x1cd3('0x2a91'),_0x1cd3('0x2d2a')+_0x470ec4+','+_0x470ec4+')'):this['node'][_0x1cd3('0x2d28')]('transform');else{this[_0x1cd3('0x2dd1')]();var _0x4e9552=Math[_0x1cd3('0x13d1')](0x1,Math[_0x1cd3('0x18ba')](this[_0x1cd3('0x2dbc')][_0x1cd3('0x4d7')])),_0x52ea81=Math[_0x1cd3('0x13d1')](0x1,Math['round'](this[_0x1cd3('0x2dbc')][_0x1cd3('0x4e4')])),_0x470ec4=0x8==document[_0x1cd3('0x2959')]&&this[_0x1cd3('0x2dd2')]()?this[_0x1cd3('0x2dc9')]():this[_0x1cd3('0x56e')],_0x128198=new mxVmlCanvas2D(_0x470ec4,!0x1);''!=_0x470ec4[_0x1cd3('0x2a14')]&&(_0x470ec4[_0x1cd3('0x2d63')]=_0x4e9552*this[_0x1cd3('0x2d62')]+','+_0x52ea81*this[_0x1cd3('0x2d62')],_0x128198[_0x1cd3('0x29df')](this['vmlScale']),_0x128198[_0x1cd3('0x2d62')]=this[_0x1cd3('0x2d62')]);_0x470ec4=this[_0x1cd3('0x29df')];_0x128198[_0x1cd3('0x43c')](-Math[_0x1cd3('0x18ba')](this[_0x1cd3('0x2dbc')]['x']/_0x470ec4),-Math[_0x1cd3('0x18ba')](this[_0x1cd3('0x2dbc')]['y']/_0x470ec4));}return _0x128198;};mxShape[_0x1cd3('0x77a')][_0x1cd3('0x2dd1')]=function(){this[_0x1cd3('0x56e')]['style'][_0x1cd3('0x762')]=Math[_0x1cd3('0x18ba')](this[_0x1cd3('0x2dbc')]['x'])+'px';this[_0x1cd3('0x56e')][_0x1cd3('0x440')]['top']=Math[_0x1cd3('0x18ba')](this[_0x1cd3('0x2dbc')]['y'])+'px';var _0x137767=Math[_0x1cd3('0x13d1')](0x1,Math[_0x1cd3('0x18ba')](this[_0x1cd3('0x2dbc')][_0x1cd3('0x4d7')])),_0x3b95ce=Math[_0x1cd3('0x13d1')](0x1,Math['round'](this[_0x1cd3('0x2dbc')][_0x1cd3('0x4e4')]));this[_0x1cd3('0x56e')][_0x1cd3('0x440')]['width']=_0x137767+'px';this['node'][_0x1cd3('0x440')][_0x1cd3('0x4e4')]=_0x3b95ce+'px';this['node'][_0x1cd3('0x440')]['overflow']='visible';};mxShape[_0x1cd3('0x77a')][_0x1cd3('0x2dd3')]=function(_0x10e79a){if(_0x10e79a instanceof mxSvgCanvas2D){for(var _0x47d52d in _0x10e79a[_0x1cd3('0x2d05')]){var _0x127a93=_0x10e79a[_0x1cd3('0x2d05')][_0x47d52d];_0x127a93[_0x1cd3('0x2dd4')]=(_0x127a93['mxRefCount']||0x0)+0x1;}this[_0x1cd3('0x2dd5')](this[_0x1cd3('0x2dd6')]);this['oldGradients']=_0x10e79a[_0x1cd3('0x2d05')];}};mxShape[_0x1cd3('0x77a')][_0x1cd3('0x2ca5')]=function(_0x44eb49){var _0x1b7120=this[_0x1cd3('0x29df')],_0xea24a4=this[_0x1cd3('0x2dbc')]['x']/_0x1b7120,_0x135ca5=this[_0x1cd3('0x2dbc')]['y']/_0x1b7120,_0xffff42=this[_0x1cd3('0x2dbc')][_0x1cd3('0x4d7')]/_0x1b7120,_0x3fce4f=this[_0x1cd3('0x2dbc')][_0x1cd3('0x4e4')]/_0x1b7120;if(this[_0x1cd3('0x2dd7')]())var _0x520c60=(_0xffff42-_0x3fce4f)/0x2,_0xea24a4=_0xea24a4+_0x520c60,_0x135ca5=_0x135ca5-_0x520c60,_0x520c60=_0xffff42,_0xffff42=_0x3fce4f,_0x3fce4f=_0x520c60;this['updateTransform'](_0x44eb49,_0xea24a4,_0x135ca5,_0xffff42,_0x3fce4f);this[_0x1cd3('0x2dd8')](_0x44eb49,_0xea24a4,_0x135ca5,_0xffff42,_0x3fce4f);if(null!=this[_0x1cd3('0x2dbb')])this[_0x1cd3('0x2dd9')](_0x44eb49,_0xea24a4,_0x135ca5,_0xffff42,_0x3fce4f);else if(_0x44eb49[_0x1cd3('0x2cc2')](this[_0x1cd3('0x2ce9')]),null!=this[_0x1cd3('0x2d9a')]){_0xea24a4=[];for(_0x135ca5=0x0;_0x135ca5<this[_0x1cd3('0x2d9a')]['length'];_0x135ca5++)_0xea24a4[_0x1cd3('0x7b')](new mxPoint(this['points'][_0x135ca5]['x']/_0x1b7120,this[_0x1cd3('0x2d9a')][_0x135ca5]['y']/_0x1b7120));this[_0x1cd3('0x2dda')](_0x44eb49,_0xea24a4);}else this[_0x1cd3('0x2ddb')](_0x44eb49,_0xea24a4,_0x135ca5,_0xffff42,_0x3fce4f);};mxShape[_0x1cd3('0x77a')][_0x1cd3('0x2dd8')]=function(_0x2ba1e7,_0x46bc8c,_0x10f671,_0x1c8932,_0x521dca){var _0x2c7fa7=null;null!=this[_0x1cd3('0x440')]&&(_0x2c7fa7=this['style'][_0x1cd3('0x2cc5')]);_0x2ba1e7[_0x1cd3('0x2cbc')](this[_0x1cd3('0x2d2b')]/0x64);null!=this['isShadow']&&_0x2ba1e7['setShadow'](this[_0x1cd3('0x2ddc')]);null!=this[_0x1cd3('0x2d96')]&&_0x2ba1e7['setDashed'](this[_0x1cd3('0x2d96')]);null!=_0x2c7fa7&&_0x2ba1e7[_0x1cd3('0x2cc4')](_0x2c7fa7);null!=this['gradient']?(_0x46bc8c=this['getGradientBounds'](_0x2ba1e7,_0x46bc8c,_0x10f671,_0x1c8932,_0x521dca),_0x2ba1e7[_0x1cd3('0x2ddd')](this[_0x1cd3('0x2d02')],this[_0x1cd3('0x2ce5')],_0x46bc8c['x'],_0x46bc8c['y'],_0x46bc8c[_0x1cd3('0x4d7')],_0x46bc8c[_0x1cd3('0x4e4')],this['gradientDirection'])):_0x2ba1e7[_0x1cd3('0x2cbe')](this[_0x1cd3('0x2d02')]);_0x2ba1e7[_0x1cd3('0x2cc1')](this[_0x1cd3('0x2d04')]);};mxShape['prototype'][_0x1cd3('0x2dde')]=function(_0xcb8b43,_0x27ee3c,_0x34e0c1,_0x405d66,_0x1527b8){return new mxRectangle(_0x27ee3c,_0x34e0c1,_0x405d66,_0x1527b8);};mxShape[_0x1cd3('0x77a')][_0x1cd3('0x2ddf')]=function(_0x4a6b04,_0x4b422d,_0x3ee7e1,_0xc23a57,_0x4d0b63){_0x4a6b04[_0x1cd3('0x29df')](this[_0x1cd3('0x29df')]);_0x4a6b04[_0x1cd3('0x2ce1')](this['getShapeRotation'](),this[_0x1cd3('0x2ce3')],this[_0x1cd3('0x2ad7')],_0x4b422d+_0xc23a57/0x2,_0x3ee7e1+_0x4d0b63/0x2);};mxShape[_0x1cd3('0x77a')][_0x1cd3('0x2dd9')]=function(_0x1f35a8,_0x148c39,_0x828a68,_0xdea780,_0x102bee){this['stencilPointerEvents']&&(this[_0x1cd3('0x2d98')]==mxConstants[_0x1cd3('0x2a7c')]?this['addTransparentBackgroundRectangle'](this[_0x1cd3('0x56e')],_0x148c39,_0x828a68,_0xdea780,_0x102bee):0x8!=document[_0x1cd3('0x2959')]&&this['setTransparentBackgroundImage'](this[_0x1cd3('0x56e')]));this[_0x1cd3('0x2dbb')][_0x1cd3('0x2da8')](_0x1f35a8,this,_0x148c39,_0x828a68,_0xdea780,_0x102bee);};mxShape[_0x1cd3('0x77a')]['paintVertexShape']=function(_0x38363d,_0x22d042,_0x5053ad,_0x3f8dbc,_0x40ad80){this[_0x1cd3('0x2de0')](_0x38363d,_0x22d042,_0x5053ad,_0x3f8dbc,_0x40ad80);_0x38363d['setShadow'](!0x1);this['paintForeground'](_0x38363d,_0x22d042,_0x5053ad,_0x3f8dbc,_0x40ad80);};mxShape['prototype'][_0x1cd3('0x2de0')]=function(_0x4318f8,_0xd4d8ad,_0x38b031,_0x1de6aa,_0x27eb92){};mxShape[_0x1cd3('0x77a')]['paintForeground']=function(_0x2159d7,_0x16f81d,_0x507e1a,_0x42f0e5,_0x5c02b8){};mxShape[_0x1cd3('0x77a')][_0x1cd3('0x2dda')]=function(_0x996665,_0x5b7509){};mxShape[_0x1cd3('0x77a')][_0x1cd3('0x2de1')]=function(_0x35e0d7,_0x49a671){var _0x350943=mxUtils[_0x1cd3('0x2a5a')](this['style'],mxConstants['STYLE_ARCSIZE'],0x64*mxConstants[_0x1cd3('0x2db4')])/0x64;return Math['min'](_0x35e0d7*_0x350943,_0x49a671*_0x350943);};mxShape[_0x1cd3('0x77a')][_0x1cd3('0x2de2')]=function(_0x37615e,_0x15ada3,_0xb5c5c9,_0x2b4968,_0x4e567f,_0x5e24a4){var _0x198922=Math['ceil'](this[_0x1cd3('0x2ce9')]/0x2);_0x37615e[_0x1cd3('0x2ddd')]('#ffffff',_0x1cd3('0x2de3'),_0x15ada3,_0xb5c5c9,_0x2b4968,0.6*_0x4e567f,_0x1cd3('0x2b06'),0.9,0.1);_0x37615e[_0x1cd3('0x2cd2')]();_0x5e24a4+=0x2*_0x198922;this[_0x1cd3('0x2de4')]?(_0x37615e[_0x1cd3('0x2cfd')](_0x15ada3-_0x198922+_0x5e24a4,_0xb5c5c9-_0x198922),_0x37615e[_0x1cd3('0x2cd4')](_0x15ada3-_0x198922,_0xb5c5c9-_0x198922,_0x15ada3-_0x198922,_0xb5c5c9-_0x198922+_0x5e24a4),_0x37615e[_0x1cd3('0x2cd3')](_0x15ada3-_0x198922,_0xb5c5c9+0.4*_0x4e567f),_0x37615e[_0x1cd3('0x2cd4')](_0x15ada3+0.5*_0x2b4968,_0xb5c5c9+0.7*_0x4e567f,_0x15ada3+_0x2b4968+_0x198922,_0xb5c5c9+0.4*_0x4e567f),_0x37615e['lineTo'](_0x15ada3+_0x2b4968+_0x198922,_0xb5c5c9-_0x198922+_0x5e24a4),_0x37615e[_0x1cd3('0x2cd4')](_0x15ada3+_0x2b4968+_0x198922,_0xb5c5c9-_0x198922,_0x15ada3+_0x2b4968+_0x198922-_0x5e24a4,_0xb5c5c9-_0x198922)):(_0x37615e[_0x1cd3('0x2cfd')](_0x15ada3-_0x198922,_0xb5c5c9-_0x198922),_0x37615e[_0x1cd3('0x2cd3')](_0x15ada3-_0x198922,_0xb5c5c9+0.4*_0x4e567f),_0x37615e['quadTo'](_0x15ada3+0.5*_0x2b4968,_0xb5c5c9+0.7*_0x4e567f,_0x15ada3+_0x2b4968+_0x198922,_0xb5c5c9+0.4*_0x4e567f),_0x37615e[_0x1cd3('0x2cd3')](_0x15ada3+_0x2b4968+_0x198922,_0xb5c5c9-_0x198922));_0x37615e[_0x1cd3('0x3cf')]();_0x37615e[_0x1cd3('0x2d02')]();};mxShape[_0x1cd3('0x77a')]['apply']=function(_0x5ed428){this['state']=_0x5ed428;this[_0x1cd3('0x440')]=_0x5ed428['style'];if(null!=this[_0x1cd3('0x440')]){this['fill']=mxUtils[_0x1cd3('0x2a5a')](this['style'],mxConstants[_0x1cd3('0x2de5')],this[_0x1cd3('0x2d02')]);this[_0x1cd3('0x2ce5')]=mxUtils['getValue'](this[_0x1cd3('0x440')],mxConstants['STYLE_GRADIENTCOLOR'],this[_0x1cd3('0x2ce5')]);this['gradientDirection']=mxUtils[_0x1cd3('0x2a5a')](this[_0x1cd3('0x440')],mxConstants[_0x1cd3('0x2de6')],this['gradientDirection']);this[_0x1cd3('0x2d2b')]=mxUtils[_0x1cd3('0x2a5a')](this['style'],mxConstants[_0x1cd3('0x2de7')],this['opacity']);this[_0x1cd3('0x2d04')]=mxUtils[_0x1cd3('0x2a5a')](this['style'],mxConstants[_0x1cd3('0x2de8')],this[_0x1cd3('0x2d04')]);this[_0x1cd3('0x2ce9')]=mxUtils[_0x1cd3('0x2dab')](this[_0x1cd3('0x440')],mxConstants['STYLE_STROKEWIDTH'],this[_0x1cd3('0x2ce9')]);this['spacing']=mxUtils[_0x1cd3('0x2a5a')](this[_0x1cd3('0x440')],mxConstants['STYLE_SPACING'],this[_0x1cd3('0x2aed')]);this[_0x1cd3('0x2ae4')]=mxUtils['getNumber'](this[_0x1cd3('0x440')],mxConstants[_0x1cd3('0x2a5b')],this['startSize']);this['endSize']=mxUtils[_0x1cd3('0x2dab')](this['style'],mxConstants[_0x1cd3('0x2de9')],this[_0x1cd3('0x2ae3')]);this['startArrow']=mxUtils[_0x1cd3('0x2a5a')](this[_0x1cd3('0x440')],mxConstants[_0x1cd3('0x2dea')],this[_0x1cd3('0x2ae2')]);this[_0x1cd3('0x2ae1')]=mxUtils[_0x1cd3('0x2a5a')](this[_0x1cd3('0x440')],mxConstants[_0x1cd3('0x2deb')],this['endArrow']);this[_0x1cd3('0x2ac8')]=mxUtils[_0x1cd3('0x2a5a')](this[_0x1cd3('0x440')],mxConstants[_0x1cd3('0x2a5d')],this[_0x1cd3('0x2ac8')]);this[_0x1cd3('0x5e0')]=mxUtils[_0x1cd3('0x2a5a')](this['style'],mxConstants['STYLE_DIRECTION'],this[_0x1cd3('0x5e0')]);this[_0x1cd3('0x2ce3')]=0x1==mxUtils[_0x1cd3('0x2a5a')](this[_0x1cd3('0x440')],mxConstants['STYLE_FLIPH'],0x0);this[_0x1cd3('0x2ad7')]=0x1==mxUtils[_0x1cd3('0x2a5a')](this[_0x1cd3('0x440')],mxConstants['STYLE_FLIPV'],0x0);null!=this[_0x1cd3('0x2dbb')]&&(this[_0x1cd3('0x2ce3')]=0x1==mxUtils['getValue'](this['style'],_0x1cd3('0x2dec'),0x0)||this['flipH'],this[_0x1cd3('0x2ad7')]=0x1==mxUtils[_0x1cd3('0x2a5a')](this['style'],_0x1cd3('0x2ded'),0x0)||this[_0x1cd3('0x2ad7')]);if(_0x1cd3('0x2b05')==this['direction']||_0x1cd3('0x2b06')==this[_0x1cd3('0x5e0')])_0x5ed428=this[_0x1cd3('0x2ce3')],this[_0x1cd3('0x2ce3')]=this['flipV'],this['flipV']=_0x5ed428;this[_0x1cd3('0x2ddc')]=0x1==mxUtils[_0x1cd3('0x2a5a')](this[_0x1cd3('0x440')],mxConstants[_0x1cd3('0x2dee')],this[_0x1cd3('0x2ddc')]);this[_0x1cd3('0x2d96')]=0x1==mxUtils[_0x1cd3('0x2a5a')](this['style'],mxConstants[_0x1cd3('0x2def')],this[_0x1cd3('0x2d96')]);this[_0x1cd3('0x2de4')]=0x1==mxUtils['getValue'](this[_0x1cd3('0x440')],mxConstants[_0x1cd3('0x2df0')],this[_0x1cd3('0x2de4')]);this[_0x1cd3('0x2ad4')]=0x1==mxUtils[_0x1cd3('0x2a5a')](this[_0x1cd3('0x440')],mxConstants[_0x1cd3('0x2df1')],this['glass']);'none'==this[_0x1cd3('0x2d02')]&&(this['fill']=null);_0x1cd3('0x6ae')==this[_0x1cd3('0x2ce5')]&&(this[_0x1cd3('0x2ce5')]=null);'none'==this[_0x1cd3('0x2d04')]&&(this[_0x1cd3('0x2d04')]=null);}};mxShape[_0x1cd3('0x77a')][_0x1cd3('0x2df2')]=function(_0xe99928){null==_0xe99928&&(_0xe99928='');this[_0x1cd3('0x29ec')]=_0xe99928;null!=this['node']&&(this[_0x1cd3('0x56e')]['style'][_0x1cd3('0x29ec')]=_0xe99928);};mxShape[_0x1cd3('0x77a')][_0x1cd3('0x2df3')]=function(){return this['cursor'];};mxShape[_0x1cd3('0x77a')]['updateBoundingBox']=function(){if(null!=this['bounds']){var _0xe781fa=this[_0x1cd3('0x2df4')]();if(null!=_0xe781fa){this['augmentBoundingBox'](_0xe781fa);var _0x708265=this[_0x1cd3('0x2df5')]();0x0!=_0x708265&&(_0xe781fa=mxUtils[_0x1cd3('0x2df6')](_0xe781fa,_0x708265));_0xe781fa['x']=Math[_0x1cd3('0x6b1')](_0xe781fa['x']);_0xe781fa['y']=Math[_0x1cd3('0x6b1')](_0xe781fa['y']);_0xe781fa[_0x1cd3('0x4d7')]=Math[_0x1cd3('0x2928')](_0xe781fa[_0x1cd3('0x4d7')]);_0xe781fa[_0x1cd3('0x4e4')]=Math[_0x1cd3('0x2928')](_0xe781fa[_0x1cd3('0x4e4')]);}this[_0x1cd3('0x2dbd')]=_0xe781fa;}};mxShape[_0x1cd3('0x77a')]['createBoundingBox']=function(){var _0x48baa5=this[_0x1cd3('0x2dbc')][_0x1cd3('0x1141')]();if(this['isPaintBoundsInverted']()){var _0x3f9c25=(_0x48baa5[_0x1cd3('0x4d7')]-_0x48baa5[_0x1cd3('0x4e4')])/0x2;_0x48baa5['x']+=_0x3f9c25;_0x48baa5['y']-=_0x3f9c25;_0x3f9c25=_0x48baa5[_0x1cd3('0x4d7')];_0x48baa5[_0x1cd3('0x4d7')]=_0x48baa5[_0x1cd3('0x4e4')];_0x48baa5[_0x1cd3('0x4e4')]=_0x3f9c25;}return _0x48baa5;};mxShape[_0x1cd3('0x77a')][_0x1cd3('0x2df7')]=function(_0x51a1d2){this[_0x1cd3('0x2ddc')]&&(_0x51a1d2[_0x1cd3('0x4d7')]+=Math['ceil'](mxConstants['SHADOW_OFFSET_X']*this[_0x1cd3('0x29df')]),_0x51a1d2[_0x1cd3('0x4e4')]+=Math[_0x1cd3('0x2928')](mxConstants[_0x1cd3('0x2cb9')]*this[_0x1cd3('0x29df')]));var _0x361630=Math[_0x1cd3('0x2928')](this[_0x1cd3('0x2ce9')]*this[_0x1cd3('0x29df')]);_0x51a1d2[_0x1cd3('0x29d7')](Math[_0x1cd3('0x2928')](_0x361630/0x2));};mxShape[_0x1cd3('0x77a')]['isPaintBoundsInverted']=function(){return null==this[_0x1cd3('0x2dbb')]&&(_0x1cd3('0x2b05')==this['direction']||'south'==this[_0x1cd3('0x5e0')]);};mxShape[_0x1cd3('0x77a')][_0x1cd3('0x2df8')]=function(){return null!=this[_0x1cd3('0x2ac8')]?this[_0x1cd3('0x2ac8')]:0x0;};mxShape[_0x1cd3('0x77a')][_0x1cd3('0x2df9')]=function(){var _0x170c6b=this[_0x1cd3('0x2df8')]();0x1!=mxUtils['getValue'](this[_0x1cd3('0x440')],mxConstants[_0x1cd3('0x2a5c')],0x1)&&(_0x170c6b+=mxText[_0x1cd3('0x77a')][_0x1cd3('0x2dfa')]);return _0x170c6b;};mxShape[_0x1cd3('0x77a')][_0x1cd3('0x2df5')]=function(){var _0x3949bc=this['getRotation']();null!=this[_0x1cd3('0x5e0')]&&(_0x1cd3('0x2b05')==this['direction']?_0x3949bc+=0x10e:'west'==this['direction']?_0x3949bc+=0xb4:_0x1cd3('0x2b06')==this[_0x1cd3('0x5e0')]&&(_0x3949bc+=0x5a));return _0x3949bc;};mxShape[_0x1cd3('0x77a')]['addTransparentBackgroundRectangle']=function(_0x407340,_0x448c94,_0x4519a2,_0x39bdf2,_0x3ad9d6){_0x407340=document[_0x1cd3('0x2a7f')](mxConstants[_0x1cd3('0x2a7d')],_0x1cd3('0x2cfa'));_0x407340[_0x1cd3('0x481')]('x',_0x448c94);_0x407340[_0x1cd3('0x481')]('y',_0x4519a2);_0x407340[_0x1cd3('0x481')]('width',_0x39bdf2);_0x407340['setAttribute'](_0x1cd3('0x4e4'),_0x3ad9d6);_0x407340[_0x1cd3('0x481')](_0x1cd3('0x2d02'),_0x1cd3('0x6ae'));_0x407340[_0x1cd3('0x481')](_0x1cd3('0x2d04'),_0x1cd3('0x6ae'));_0x407340['setAttribute'](_0x1cd3('0x2d1d'),_0x1cd3('0x7e'));this[_0x1cd3('0x56e')]['appendChild'](_0x407340);};mxShape['prototype'][_0x1cd3('0x2dfb')]=function(_0x2df54c){_0x2df54c[_0x1cd3('0x440')][_0x1cd3('0x2dfc')]='url(\x27'+mxClient[_0x1cd3('0x29eb')]+_0x1cd3('0x2dfd');};mxShape['prototype']['releaseSvgGradients']=function(_0x2aad25){if(null!=_0x2aad25)for(var _0x2dae44 in _0x2aad25){var _0x1e7140=_0x2aad25[_0x2dae44];_0x1e7140['mxRefCount']=(_0x1e7140[_0x1cd3('0x2dd4')]||0x0)-0x1;0x0==_0x1e7140[_0x1cd3('0x2dd4')]&&null!=_0x1e7140[_0x1cd3('0x29ea')]&&_0x1e7140[_0x1cd3('0x29ea')][_0x1cd3('0x1817')](_0x1e7140);}};mxShape[_0x1cd3('0x77a')][_0x1cd3('0x2bcb')]=function(){null!=this[_0x1cd3('0x56e')]&&(mxEvent['release'](this[_0x1cd3('0x56e')]),null!=this['node']['parentNode']&&this[_0x1cd3('0x56e')][_0x1cd3('0x29ea')][_0x1cd3('0x1817')](this[_0x1cd3('0x56e')]),this[_0x1cd3('0x56e')]=null);this[_0x1cd3('0x2dd5')](this[_0x1cd3('0x2dd6')]);this[_0x1cd3('0x2dd6')]=null;};var mxStencilRegistry={'stencils':[],'addStencil':function(_0x2d0d33,_0x3d038e){mxStencilRegistry['stencils'][_0x2d0d33]=_0x3d038e;},'getStencil':function(_0x5218ab){return mxStencilRegistry[_0x1cd3('0x2dfe')][_0x5218ab];}},mxMarker={'markers':[],'addMarker':function(_0x432e72,_0x3d623f){mxMarker[_0x1cd3('0x2dff')][_0x432e72]=_0x3d623f;},'createMarker':function(_0x25c9de,_0x5b5d15,_0x179456,_0x54dacc,_0x5810fa,_0x501867,_0x3b250c,_0x33a44a,_0x386e78,_0x585fb0){var _0x4733f5=mxMarker['markers'][_0x179456];return null!=_0x4733f5?_0x4733f5(_0x25c9de,_0x5b5d15,_0x179456,_0x54dacc,_0x5810fa,_0x501867,_0x3b250c,_0x33a44a,_0x386e78,_0x585fb0):null;}};(function(){function _0x3cd1a6(_0xa28e46,_0x16d667,_0x5f53fd,_0x19665b,_0x2a5efb,_0x4bbece,_0x5bf14d,_0x4926c4,_0x291d79,_0x488316){_0x16d667=1.118*_0x2a5efb*_0x291d79;_0x4926c4=1.118*_0x4bbece*_0x291d79;_0x2a5efb*=_0x5bf14d+_0x291d79;_0x4bbece*=_0x5bf14d+_0x291d79;var _0x4db372=_0x19665b[_0x1cd3('0x1141')]();_0x4db372['x']-=_0x16d667;_0x4db372['y']-=_0x4926c4;_0x5bf14d=_0x5f53fd!=mxConstants[_0x1cd3('0x2e00')]?0x1:0.75;_0x19665b['x']+=-_0x2a5efb*_0x5bf14d-_0x16d667;_0x19665b['y']+=-_0x4bbece*_0x5bf14d-_0x4926c4;return function(){_0xa28e46[_0x1cd3('0x2cd2')]();_0xa28e46['moveTo'](_0x4db372['x'],_0x4db372['y']);_0xa28e46['lineTo'](_0x4db372['x']-_0x2a5efb-_0x4bbece/0x2,_0x4db372['y']-_0x4bbece+_0x2a5efb/0x2);_0x5f53fd==mxConstants[_0x1cd3('0x2e00')]&&_0xa28e46[_0x1cd3('0x2cd3')](_0x4db372['x']-0x3*_0x2a5efb/0x4,_0x4db372['y']-0x3*_0x4bbece/0x4);_0xa28e46['lineTo'](_0x4db372['x']+_0x4bbece/0x2-_0x2a5efb,_0x4db372['y']-_0x4bbece-_0x2a5efb/0x2);_0xa28e46['close']();_0x488316?_0xa28e46['fillAndStroke']():_0xa28e46[_0x1cd3('0x2d04')]();};}function _0x2c9e9e(_0x2bf8e,_0x5769a3,_0x4190e7,_0x1dfd9a,_0x107f18,_0x265b0d,_0x25eee3,_0x1163d3,_0x2aacb7,_0x5623f1){_0x1163d3=_0x4190e7==mxConstants[_0x1cd3('0x2e01')]?0.7071:0.9862;_0x5769a3=_0x107f18*_0x2aacb7*_0x1163d3;_0x1163d3*=_0x265b0d*_0x2aacb7;_0x107f18*=_0x25eee3+_0x2aacb7;_0x265b0d*=_0x25eee3+_0x2aacb7;var _0x352430=_0x1dfd9a[_0x1cd3('0x1141')]();_0x352430['x']-=_0x5769a3;_0x352430['y']-=_0x1163d3;_0x1dfd9a['x']+=-_0x107f18-_0x5769a3;_0x1dfd9a['y']+=-_0x265b0d-_0x1163d3;var _0x20f829=_0x4190e7==mxConstants[_0x1cd3('0x2e01')]?0x2:3.4;return function(){_0x2bf8e[_0x1cd3('0x2cd2')]();_0x2bf8e[_0x1cd3('0x2cfd')](_0x352430['x'],_0x352430['y']);_0x2bf8e['lineTo'](_0x352430['x']-_0x107f18/0x2-_0x265b0d/_0x20f829,_0x352430['y']+_0x107f18/_0x20f829-_0x265b0d/0x2);_0x2bf8e[_0x1cd3('0x2cd3')](_0x352430['x']-_0x107f18,_0x352430['y']-_0x265b0d);_0x2bf8e['lineTo'](_0x352430['x']-_0x107f18/0x2+_0x265b0d/_0x20f829,_0x352430['y']-_0x265b0d/0x2-_0x107f18/_0x20f829);_0x2bf8e[_0x1cd3('0x3cf')]();_0x5623f1?_0x2bf8e['fillAndStroke']():_0x2bf8e[_0x1cd3('0x2d04')]();};}mxMarker['addMarker'](_0x1cd3('0x2e02'),_0x3cd1a6);mxMarker['addMarker']('block',_0x3cd1a6);mxMarker['addMarker'](_0x1cd3('0xee4'),function(_0x538d5b,_0x4a196f,_0x51b32c,_0x10f7b9,_0x2700bb,_0x46b991,_0x19ee6c,_0x5c6936,_0x97ba87,_0xbe77f6){_0x4a196f=1.118*_0x2700bb*_0x97ba87;_0x51b32c=1.118*_0x46b991*_0x97ba87;_0x2700bb*=_0x19ee6c+_0x97ba87;_0x46b991*=_0x19ee6c+_0x97ba87;var _0x3b8131=_0x10f7b9[_0x1cd3('0x1141')]();_0x3b8131['x']-=_0x4a196f;_0x3b8131['y']-=_0x51b32c;_0x10f7b9['x']+=0x2*-_0x4a196f;_0x10f7b9['y']+=0x2*-_0x51b32c;return function(){_0x538d5b[_0x1cd3('0x2cd2')]();_0x538d5b['moveTo'](_0x3b8131['x']-_0x2700bb-_0x46b991/0x2,_0x3b8131['y']-_0x46b991+_0x2700bb/0x2);_0x538d5b['lineTo'](_0x3b8131['x'],_0x3b8131['y']);_0x538d5b[_0x1cd3('0x2cd3')](_0x3b8131['x']+_0x46b991/0x2-_0x2700bb,_0x3b8131['y']-_0x46b991-_0x2700bb/0x2);_0x538d5b['stroke']();};});mxMarker[_0x1cd3('0x2e03')](_0x1cd3('0x2b01'),function(_0x59cfb0,_0x3fcb1a,_0x456e01,_0x3ae425,_0x267745,_0x2d46de,_0x299237,_0x4111c5,_0x5c8d9d,_0x57b6bc){var _0x48cf2d=_0x299237/0x2,_0x28c865=_0x3ae425[_0x1cd3('0x1141')]();_0x3ae425['x']-=_0x267745*_0x48cf2d;_0x3ae425['y']-=_0x2d46de*_0x48cf2d;return function(){_0x59cfb0['ellipse'](_0x28c865['x']-_0x48cf2d,_0x28c865['y']-_0x48cf2d,_0x299237,_0x299237);_0x57b6bc?_0x59cfb0['fillAndStroke']():_0x59cfb0[_0x1cd3('0x2d04')]();};});mxMarker[_0x1cd3('0x2e03')](_0x1cd3('0x2b02'),_0x2c9e9e);mxMarker[_0x1cd3('0x2e03')](_0x1cd3('0x2b03'),_0x2c9e9e);}());function mxActor(_0xad1be0,_0x4164a7,_0x3fe9c2,_0xc04557){mxShape[_0x1cd3('0x46d')](this);this['bounds']=_0xad1be0;this[_0x1cd3('0x2d02')]=_0x4164a7;this[_0x1cd3('0x2d04')]=_0x3fe9c2;this[_0x1cd3('0x2ce9')]=null!=_0xc04557?_0xc04557:0x1;}mxUtils[_0x1cd3('0x4d2')](mxActor,mxShape);mxActor[_0x1cd3('0x77a')][_0x1cd3('0x2ddb')]=function(_0x1ff6d2,_0x3932ff,_0x35462d,_0x189221,_0x43a995){_0x1ff6d2[_0x1cd3('0x43c')](_0x3932ff,_0x35462d);_0x1ff6d2['begin']();this[_0x1cd3('0x2e04')](_0x1ff6d2,_0x3932ff,_0x35462d,_0x189221,_0x43a995);_0x1ff6d2['fillAndStroke']();};mxActor[_0x1cd3('0x77a')][_0x1cd3('0x2e04')]=function(_0x418da7,_0x556f45,_0xcfe3f3,_0x38c424,_0x4db9cf){_0x556f45=_0x38c424/0x3;_0x418da7[_0x1cd3('0x2cfd')](0x0,_0x4db9cf);_0x418da7[_0x1cd3('0x2cd5')](0x0,0x3*_0x4db9cf/0x5,0x0,0x2*_0x4db9cf/0x5,_0x38c424/0x2,0x2*_0x4db9cf/0x5);_0x418da7[_0x1cd3('0x2cd5')](_0x38c424/0x2-_0x556f45,0x2*_0x4db9cf/0x5,_0x38c424/0x2-_0x556f45,0x0,_0x38c424/0x2,0x0);_0x418da7[_0x1cd3('0x2cd5')](_0x38c424/0x2+_0x556f45,0x0,_0x38c424/0x2+_0x556f45,0x2*_0x4db9cf/0x5,_0x38c424/0x2,0x2*_0x4db9cf/0x5);_0x418da7[_0x1cd3('0x2cd5')](_0x38c424,0x2*_0x4db9cf/0x5,_0x38c424,0x3*_0x4db9cf/0x5,_0x38c424,_0x4db9cf);_0x418da7[_0x1cd3('0x3cf')]();};function mxCloud(_0x533e36,_0x334c01,_0x15e53e,_0x52a383){mxActor[_0x1cd3('0x46d')](this);this[_0x1cd3('0x2dbc')]=_0x533e36;this[_0x1cd3('0x2d02')]=_0x334c01;this[_0x1cd3('0x2d04')]=_0x15e53e;this['strokewidth']=null!=_0x52a383?_0x52a383:0x1;}mxUtils[_0x1cd3('0x4d2')](mxCloud,mxActor);mxCloud['prototype']['redrawPath']=function(_0x4a1d82,_0x38dd5e,_0x2e7075,_0x4d8ded,_0x51b3b5){_0x4a1d82['moveTo'](0.25*_0x4d8ded,0.25*_0x51b3b5);_0x4a1d82['curveTo'](0.05*_0x4d8ded,0.25*_0x51b3b5,0x0,0.5*_0x51b3b5,0.16*_0x4d8ded,0.55*_0x51b3b5);_0x4a1d82['curveTo'](0x0,0.66*_0x51b3b5,0.18*_0x4d8ded,0.9*_0x51b3b5,0.31*_0x4d8ded,0.8*_0x51b3b5);_0x4a1d82[_0x1cd3('0x2cd5')](0.4*_0x4d8ded,_0x51b3b5,0.7*_0x4d8ded,_0x51b3b5,0.8*_0x4d8ded,0.8*_0x51b3b5);_0x4a1d82['curveTo'](_0x4d8ded,0.8*_0x51b3b5,_0x4d8ded,0.6*_0x51b3b5,0.875*_0x4d8ded,0.5*_0x51b3b5);_0x4a1d82[_0x1cd3('0x2cd5')](_0x4d8ded,0.3*_0x51b3b5,0.8*_0x4d8ded,0.1*_0x51b3b5,0.625*_0x4d8ded,0.2*_0x51b3b5);_0x4a1d82[_0x1cd3('0x2cd5')](0.5*_0x4d8ded,0.05*_0x51b3b5,0.3*_0x4d8ded,0.05*_0x51b3b5,0.25*_0x4d8ded,0.25*_0x51b3b5);_0x4a1d82[_0x1cd3('0x3cf')]();};function mxRectangleShape(_0x6045fa,_0xb4c269,_0x11df99,_0x32ecca){mxShape['call'](this);this[_0x1cd3('0x2dbc')]=_0x6045fa;this['fill']=_0xb4c269;this[_0x1cd3('0x2d04')]=_0x11df99;this[_0x1cd3('0x2ce9')]=null!=_0x32ecca?_0x32ecca:0x1;}mxUtils[_0x1cd3('0x4d2')](mxRectangleShape,mxShape);mxRectangleShape[_0x1cd3('0x77a')][_0x1cd3('0x2dc0')]=function(){return!this[_0x1cd3('0x2de4')]&&!this['glass']&&0x0==this[_0x1cd3('0x2ac8')];};mxRectangleShape[_0x1cd3('0x77a')][_0x1cd3('0x2de0')]=function(_0x1d0344,_0x4efac2,_0x128cd1,_0x75f3d2,_0x2b5696){if(this[_0x1cd3('0x2de4')]){var _0x541853=mxUtils[_0x1cd3('0x2a5a')](this[_0x1cd3('0x440')],mxConstants[_0x1cd3('0x2e05')],0x64*mxConstants['RECTANGLE_ROUNDING_FACTOR'])/0x64,_0x541853=Math[_0x1cd3('0x4e3')](_0x75f3d2*_0x541853,_0x2b5696*_0x541853);_0x1d0344['roundrect'](_0x4efac2,_0x128cd1,_0x75f3d2,_0x2b5696,_0x541853,_0x541853);}else _0x1d0344[_0x1cd3('0x2cfa')](_0x4efac2,_0x128cd1,_0x75f3d2,_0x2b5696);_0x1d0344[_0x1cd3('0x2d60')]();};mxRectangleShape[_0x1cd3('0x77a')][_0x1cd3('0x2e06')]=function(_0x431957,_0x32285d,_0x3c7c8c,_0x17e037,_0x548eac){this[_0x1cd3('0x2ad4')]&&this['paintGlassEffect'](_0x431957,_0x32285d,_0x3c7c8c,_0x17e037,_0x548eac,this[_0x1cd3('0x2de1')](_0x17e037+this[_0x1cd3('0x2ce9')],_0x548eac+this[_0x1cd3('0x2ce9')]));};mxRectangleShape[_0x1cd3('0x77a')][_0x1cd3('0x2dc7')]=function(){this[_0x1cd3('0x2e07')](this['node']);this[_0x1cd3('0x2e08')](this[_0x1cd3('0x56e')]);this[_0x1cd3('0x2e09')](this['node']);};mxRectangleShape[_0x1cd3('0x77a')]['updateHtmlBounds']=function(_0x4ee3ec){var _0x22e9d0=0x9<=document['documentMode']?0x0:Math['ceil'](this[_0x1cd3('0x2ce9')]*this['scale']);_0x4ee3ec[_0x1cd3('0x440')][_0x1cd3('0x2e0a')]=Math[_0x1cd3('0x13d1')](0x1,_0x22e9d0)+'px';_0x4ee3ec['style'][_0x1cd3('0x29f1')]=_0x1cd3('0x533');_0x4ee3ec['style']['left']=Math[_0x1cd3('0x18ba')](this[_0x1cd3('0x2dbc')]['x']-_0x22e9d0/0x2)+'px';_0x4ee3ec[_0x1cd3('0x440')][_0x1cd3('0x712')]=Math[_0x1cd3('0x18ba')](this[_0x1cd3('0x2dbc')]['y']-_0x22e9d0/0x2)+'px';_0x1cd3('0x2a67')==document[_0x1cd3('0x29a7')]&&(_0x22e9d0=-_0x22e9d0);_0x4ee3ec[_0x1cd3('0x440')][_0x1cd3('0x4d7')]=Math['round'](Math[_0x1cd3('0x13d1')](0x0,this[_0x1cd3('0x2dbc')][_0x1cd3('0x4d7')]+_0x22e9d0))+'px';_0x4ee3ec['style']['height']=Math[_0x1cd3('0x18ba')](Math['max'](0x0,this[_0x1cd3('0x2dbc')][_0x1cd3('0x4e4')]+_0x22e9d0))+'px';};mxRectangleShape[_0x1cd3('0x77a')][_0x1cd3('0x2e09')]=function(_0x57b130){var _0x437fcf=this[_0x1cd3('0x2d04')];null!=_0x437fcf&&_0x437fcf!=mxConstants['NONE']?(_0x57b130[_0x1cd3('0x440')]['borderColor']=_0x437fcf,this[_0x1cd3('0x2d96')]?_0x57b130[_0x1cd3('0x440')]['borderStyle']=_0x1cd3('0x2ae7'):0x0<this[_0x1cd3('0x2ce9')]&&(_0x57b130[_0x1cd3('0x440')][_0x1cd3('0x2a68')]='solid'),_0x57b130[_0x1cd3('0x440')][_0x1cd3('0x2e0a')]=Math[_0x1cd3('0x13d1')](0x1,Math[_0x1cd3('0x2928')](this[_0x1cd3('0x2ce9')]*this['scale']))+'px'):_0x57b130[_0x1cd3('0x440')][_0x1cd3('0x2e0a')]=_0x1cd3('0x538');_0x437fcf=this['fill'];null!=_0x437fcf&&_0x437fcf!=mxConstants[_0x1cd3('0x29d1')]?(_0x57b130['style'][_0x1cd3('0x2c0c')]=_0x437fcf,_0x57b130['style'][_0x1cd3('0x2dfc')]=_0x1cd3('0x6ae')):this[_0x1cd3('0x2cb2')]?_0x57b130[_0x1cd3('0x440')]['backgroundColor']='transparent':0x8==document[_0x1cd3('0x2959')]?mxUtils[_0x1cd3('0x2dcf')](_0x57b130):this[_0x1cd3('0x2dfb')](_0x57b130);};mxRectangleShape[_0x1cd3('0x77a')]['updateHtmlFilters']=function(_0x246b29){var _0x3b8ab0='';0x64>this[_0x1cd3('0x2d2b')]&&(_0x3b8ab0+=_0x1cd3('0x2a66')+this[_0x1cd3('0x2d2b')]+')');this['isShadow']&&(_0x3b8ab0+='progid:DXImageTransform.Microsoft.dropShadow\x20(OffX=\x27'+Math[_0x1cd3('0x18ba')](mxConstants['SHADOW_OFFSET_X']*this[_0x1cd3('0x29df')])+_0x1cd3('0x2e0b')+Math['round'](mxConstants[_0x1cd3('0x2cb9')]*this[_0x1cd3('0x29df')])+_0x1cd3('0x2e0c')+mxConstants['SHADOWCOLOR']+'\x27)');if(this[_0x1cd3('0x2ce5')]){var _0x4e4000=this[_0x1cd3('0x2d02')],_0xd01abd=this[_0x1cd3('0x2ce5')],_0xb25dce='0',_0x38da06={'east':0x0,'south':0x1,'west':0x2,'north':0x3},_0x5746dd=null!=this['direction']?_0x38da06[this[_0x1cd3('0x5e0')]]:0x0;null!=this[_0x1cd3('0x2acb')]&&(_0x5746dd=mxUtils[_0x1cd3('0x2d6e')](_0x5746dd+_0x38da06[this[_0x1cd3('0x2acb')]]-0x1,0x4));0x1==_0x5746dd?(_0xb25dce='1',_0x38da06=_0x4e4000,_0x4e4000=_0xd01abd,_0xd01abd=_0x38da06):0x2==_0x5746dd?(_0x38da06=_0x4e4000,_0x4e4000=_0xd01abd,_0xd01abd=_0x38da06):0x3==_0x5746dd&&(_0xb25dce='1');_0x3b8ab0+=_0x1cd3('0x2e0d')+_0x4e4000+_0x1cd3('0x2e0e')+_0xd01abd+'\x27,\x20gradientType=\x27'+_0xb25dce+'\x27)';}_0x246b29[_0x1cd3('0x440')][_0x1cd3('0x395')]=_0x3b8ab0;};function mxEllipse(_0xffb212,_0x4517f9,_0x28b035,_0x512b2b){mxShape[_0x1cd3('0x46d')](this);this[_0x1cd3('0x2dbc')]=_0xffb212;this[_0x1cd3('0x2d02')]=_0x4517f9;this[_0x1cd3('0x2d04')]=_0x28b035;this['strokewidth']=null!=_0x512b2b?_0x512b2b:0x1;}mxUtils['extend'](mxEllipse,mxShape);mxEllipse[_0x1cd3('0x77a')][_0x1cd3('0x2ddb')]=function(_0x32a719,_0x38c96c,_0x8ce79e,_0x23470f,_0x1e4bd6){_0x32a719[_0x1cd3('0x2af9')](_0x38c96c,_0x8ce79e,_0x23470f,_0x1e4bd6);_0x32a719['fillAndStroke']();};function mxDoubleEllipse(_0x352b33,_0x1d73f2,_0x47f948,_0x65421f){mxShape[_0x1cd3('0x46d')](this);this[_0x1cd3('0x2dbc')]=_0x352b33;this[_0x1cd3('0x2d02')]=_0x1d73f2;this['stroke']=_0x47f948;this[_0x1cd3('0x2ce9')]=null!=_0x65421f?_0x65421f:0x1;}mxUtils[_0x1cd3('0x4d2')](mxDoubleEllipse,mxShape);mxDoubleEllipse[_0x1cd3('0x77a')][_0x1cd3('0x2d62')]=0xa;mxDoubleEllipse[_0x1cd3('0x77a')][_0x1cd3('0x2de0')]=function(_0x646ce9,_0x12b537,_0x174967,_0x28a39c,_0xa1b880){_0x646ce9[_0x1cd3('0x2af9')](_0x12b537,_0x174967,_0x28a39c,_0xa1b880);_0x646ce9['fillAndStroke']();};mxDoubleEllipse[_0x1cd3('0x77a')][_0x1cd3('0x2e06')]=function(_0x264801,_0x282f4c,_0x36612f,_0x5d50f8,_0x2dd52b){var _0x35de2a=Math[_0x1cd3('0x4e3')](0x4,Math[_0x1cd3('0x4e3')](_0x5d50f8/0x5,_0x2dd52b/0x5));_0x5d50f8-=0x2*_0x35de2a;_0x2dd52b-=0x2*_0x35de2a;0x0<_0x5d50f8&&0x0<_0x2dd52b&&_0x264801[_0x1cd3('0x2af9')](_0x282f4c+_0x35de2a,_0x36612f+_0x35de2a,_0x5d50f8,_0x2dd52b);_0x264801[_0x1cd3('0x2d04')]();};function mxRhombus(_0xb0f629,_0x15283f,_0x380e11,_0x2ee5a6){mxShape[_0x1cd3('0x46d')](this);this['bounds']=_0xb0f629;this[_0x1cd3('0x2d02')]=_0x15283f;this[_0x1cd3('0x2d04')]=_0x380e11;this['strokewidth']=null!=_0x2ee5a6?_0x2ee5a6:0x1;}mxUtils['extend'](mxRhombus,mxShape);mxRhombus[_0x1cd3('0x77a')][_0x1cd3('0x2ddb')]=function(_0x10fce5,_0x139522,_0x5543bb,_0x16bc02,_0x4c49b6){var _0x43aab1=_0x16bc02/0x2,_0xd45832=_0x4c49b6/0x2;_0x10fce5['begin']();_0x10fce5['moveTo'](_0x139522+_0x43aab1,_0x5543bb);_0x10fce5[_0x1cd3('0x2cd3')](_0x139522+_0x16bc02,_0x5543bb+_0xd45832);_0x10fce5['lineTo'](_0x139522+_0x43aab1,_0x5543bb+_0x4c49b6);_0x10fce5[_0x1cd3('0x2cd3')](_0x139522,_0x5543bb+_0xd45832);_0x10fce5[_0x1cd3('0x3cf')]();_0x10fce5[_0x1cd3('0x2d60')]();};function mxPolyline(_0x4f94bf,_0x5a0e2e,_0x396e46){mxShape[_0x1cd3('0x46d')](this);this[_0x1cd3('0x2d9a')]=_0x4f94bf;this['stroke']=_0x5a0e2e;this[_0x1cd3('0x2ce9')]=null!=_0x396e46?_0x396e46:0x1;}mxUtils[_0x1cd3('0x4d2')](mxPolyline,mxShape);mxPolyline[_0x1cd3('0x77a')][_0x1cd3('0x2df8')]=function(){return 0x0;};mxPolyline['prototype'][_0x1cd3('0x2dda')]=function(_0x5b4ce5,_0x461d4e){this[_0x1cd3('0x2e0f')](_0x5b4ce5,_0x461d4e,this[_0x1cd3('0x2de4')]);};mxPolyline[_0x1cd3('0x77a')][_0x1cd3('0x2e0f')]=function(_0x178b0b,_0x3d469f,_0x5cea4d){var _0x49ec66=mxUtils['getValue'](this[_0x1cd3('0x440')],mxConstants[_0x1cd3('0x2e05')],mxConstants['LINE_ARCSIZE'])/0x2,_0x26c6c8=_0x3d469f[0x0],_0x23a340=_0x3d469f[_0x3d469f[_0x1cd3('0x7a')]-0x1];_0x178b0b[_0x1cd3('0x2cd2')]();_0x178b0b[_0x1cd3('0x2cfd')](_0x26c6c8['x'],_0x26c6c8['y']);for(var _0x479b6=0x1;_0x479b6<_0x3d469f['length']-0x1;_0x479b6++){var _0x2e5f77=_0x3d469f[_0x479b6],_0x4b0df4=_0x26c6c8['x']-_0x2e5f77['x'],_0x26c6c8=_0x26c6c8['y']-_0x2e5f77['y'];if(_0x5cea4d&&_0x479b6<_0x3d469f[_0x1cd3('0x7a')]-0x1&&(0x0!=_0x4b0df4||0x0!=_0x26c6c8)){var _0x4b0e55=Math['sqrt'](_0x4b0df4*_0x4b0df4+_0x26c6c8*_0x26c6c8),_0x4b0df4=_0x4b0df4*Math[_0x1cd3('0x4e3')](_0x49ec66,_0x4b0e55/0x2)/_0x4b0e55,_0x26c6c8=_0x26c6c8*Math[_0x1cd3('0x4e3')](_0x49ec66,_0x4b0e55/0x2)/_0x4b0e55;_0x178b0b[_0x1cd3('0x2cd3')](_0x2e5f77['x']+_0x4b0df4,_0x2e5f77['y']+_0x26c6c8);_0x26c6c8=_0x3d469f[_0x479b6+0x1];_0x4b0df4=_0x26c6c8['x']-_0x2e5f77['x'];_0x26c6c8=_0x26c6c8['y']-_0x2e5f77['y'];_0x4b0e55=Math['max'](0x1,Math[_0x1cd3('0x2a4f')](_0x4b0df4*_0x4b0df4+_0x26c6c8*_0x26c6c8));_0x4b0df4=_0x4b0df4*Math['min'](_0x49ec66,_0x4b0e55/0x2)/_0x4b0e55;_0x26c6c8=_0x26c6c8*Math[_0x1cd3('0x4e3')](_0x49ec66,_0x4b0e55/0x2)/_0x4b0e55;_0x4b0df4=_0x2e5f77['x']+_0x4b0df4;_0x26c6c8=_0x2e5f77['y']+_0x26c6c8;_0x178b0b[_0x1cd3('0x2cd4')](_0x2e5f77['x'],_0x2e5f77['y'],_0x4b0df4,_0x26c6c8);_0x2e5f77=new mxPoint(_0x4b0df4,_0x26c6c8);}else _0x178b0b[_0x1cd3('0x2cd3')](_0x2e5f77['x'],_0x2e5f77['y']);_0x26c6c8=_0x2e5f77;}_0x178b0b[_0x1cd3('0x2cd3')](_0x23a340['x'],_0x23a340['y']);_0x178b0b['stroke']();};function mxArrow(_0x2d42d2,_0x5d687a,_0x4d2534,_0x2e92de,_0xaeb0a2,_0x12d560,_0x112629){mxShape['call'](this);this[_0x1cd3('0x2d9a')]=_0x2d42d2;this[_0x1cd3('0x2d02')]=_0x5d687a;this[_0x1cd3('0x2d04')]=_0x4d2534;this['strokewidth']=null!=_0x2e92de?_0x2e92de:0x1;this[_0x1cd3('0x2e10')]=null!=_0xaeb0a2?_0xaeb0a2:mxConstants[_0x1cd3('0x2e11')];this[_0x1cd3('0x2aed')]=null!=_0x12d560?_0x12d560:mxConstants[_0x1cd3('0x2e12')];this[_0x1cd3('0x2ae3')]=null!=_0x112629?_0x112629:mxConstants[_0x1cd3('0x2e13')];}mxUtils['extend'](mxArrow,mxShape);mxArrow[_0x1cd3('0x77a')][_0x1cd3('0x2dda')]=function(_0x36587c,_0x13a0a0){var _0x37af2b=mxConstants['ARROW_SPACING'],_0x1c7bff=mxConstants[_0x1cd3('0x2e11')],_0xce6c85=mxConstants['ARROW_SIZE'],_0xdadf76=_0x13a0a0[0x0],_0x580063=_0x13a0a0[_0x13a0a0[_0x1cd3('0x7a')]-0x1],_0x3054c0=_0x580063['x']-_0xdadf76['x'],_0x5a584b=_0x580063['y']-_0xdadf76['y'],_0x1be83b=Math[_0x1cd3('0x2a4f')](_0x3054c0*_0x3054c0+_0x5a584b*_0x5a584b),_0x450a6e=_0x1be83b-0x2*_0x37af2b-_0xce6c85,_0x3054c0=_0x3054c0/_0x1be83b,_0x5a584b=_0x5a584b/_0x1be83b,_0x1be83b=_0x1c7bff*_0x5a584b/0x3,_0x1c7bff=-_0x1c7bff*_0x3054c0/0x3,_0xce6c85=_0xdadf76['x']-_0x1be83b/0x2+_0x37af2b*_0x3054c0,_0xdadf76=_0xdadf76['y']-_0x1c7bff/0x2+_0x37af2b*_0x5a584b,_0x1b7e5d=_0xce6c85+_0x1be83b,_0x1e749d=_0xdadf76+_0x1c7bff,_0x39aa87=_0x1b7e5d+_0x450a6e*_0x3054c0,_0x450a6e=_0x1e749d+_0x450a6e*_0x5a584b,_0x25e89f=_0x39aa87+_0x1be83b,_0x212657=_0x450a6e+_0x1c7bff,_0x95296a=_0x25e89f-0x3*_0x1be83b,_0x46dff9=_0x212657-0x3*_0x1c7bff;_0x36587c[_0x1cd3('0x2cd2')]();_0x36587c[_0x1cd3('0x2cfd')](_0xce6c85,_0xdadf76);_0x36587c[_0x1cd3('0x2cd3')](_0x1b7e5d,_0x1e749d);_0x36587c[_0x1cd3('0x2cd3')](_0x39aa87,_0x450a6e);_0x36587c[_0x1cd3('0x2cd3')](_0x25e89f,_0x212657);_0x36587c[_0x1cd3('0x2cd3')](_0x580063['x']-_0x37af2b*_0x3054c0,_0x580063['y']-_0x37af2b*_0x5a584b);_0x36587c[_0x1cd3('0x2cd3')](_0x95296a,_0x46dff9);_0x36587c[_0x1cd3('0x2cd3')](_0x95296a+_0x1be83b,_0x46dff9+_0x1c7bff);_0x36587c[_0x1cd3('0x3cf')]();_0x36587c[_0x1cd3('0x2d60')]();};function mxText(_0x1fd46f,_0x2f9397,_0x124d85,_0x2fd5a1,_0x3a244a,_0x4e65cc,_0x5e5414,_0x505d9e,_0x487aa8,_0x5864e6,_0x42a195,_0x2ec9d0,_0x197d38,_0x47884a,_0x20f40e,_0x39a113,_0x33e475,_0x364b5a,_0x4010f7,_0x2f8242){mxShape[_0x1cd3('0x46d')](this);this[_0x1cd3('0x3db')]=_0x1fd46f;this[_0x1cd3('0x2dbc')]=_0x2f9397;this[_0x1cd3('0x3c6')]=null!=_0x3a244a?_0x3a244a:'black';this[_0x1cd3('0x183e')]=null!=_0x124d85?_0x124d85:'';this[_0x1cd3('0x2d00')]=null!=_0x2fd5a1?_0x2fd5a1:'';this['family']=null!=_0x4e65cc?_0x4e65cc:mxConstants[_0x1cd3('0x2a71')];this[_0x1cd3('0x113e')]=null!=_0x5e5414?_0x5e5414:mxConstants[_0x1cd3('0x2cb6')];this['fontStyle']=null!=_0x505d9e?_0x505d9e:mxConstants[_0x1cd3('0x2e14')];this[_0x1cd3('0x2aed')]=parseInt(_0x487aa8||0x2);this[_0x1cd3('0x2aee')]=this[_0x1cd3('0x2aed')]+parseInt(_0x5864e6||0x0);this[_0x1cd3('0x2e15')]=this[_0x1cd3('0x2aed')]+parseInt(_0x42a195||0x0);this[_0x1cd3('0x2e16')]=this[_0x1cd3('0x2aed')]+parseInt(_0x2ec9d0||0x0);this[_0x1cd3('0x2aef')]=this[_0x1cd3('0x2aed')]+parseInt(_0x197d38||0x0);this[_0x1cd3('0x749')]=null!=_0x47884a?_0x47884a:!0x0;this[_0x1cd3('0x2e17')]=_0x20f40e;this[_0x1cd3('0x2c6a')]=_0x39a113;this[_0x1cd3('0x2d01')]=null!=_0x33e475?_0x33e475:!0x1;this['clipped']=null!=_0x364b5a?_0x364b5a:!0x1;this['overflow']=null!=_0x4010f7?_0x4010f7:_0x1cd3('0x29c8');this['labelPadding']=null!=_0x2f8242?_0x2f8242:0x0;this[_0x1cd3('0x2ac8')]=0x0;}mxUtils[_0x1cd3('0x4d2')](mxText,mxShape);mxText[_0x1cd3('0x77a')][_0x1cd3('0x2e18')]=0x0;mxText[_0x1cd3('0x77a')][_0x1cd3('0x2e19')]=0x0;mxText['prototype'][_0x1cd3('0x2e1a')]=0x0;mxText['prototype'][_0x1cd3('0x2e1b')]=0x0;mxText['prototype'][_0x1cd3('0x2e1c')]=!0x0;mxText['prototype'][_0x1cd3('0x2dfa')]=-0x5a;mxText[_0x1cd3('0x77a')][_0x1cd3('0x2e1d')]=!0x0;mxText[_0x1cd3('0x77a')]['ignoreStringSize']=!0x1;mxText[_0x1cd3('0x77a')][_0x1cd3('0x2dd2')]=function(){return!0x1;};mxText[_0x1cd3('0x77a')][_0x1cd3('0x2dc0')]=function(){return 0x8!=document[_0x1cd3('0x2959')];};mxText[_0x1cd3('0x77a')][_0x1cd3('0x2dd0')]=function(){return 0x0;};mxText[_0x1cd3('0x77a')][_0x1cd3('0x2dc6')]=function(){return null!=this[_0x1cd3('0x2dbc')]&&!isNaN(this[_0x1cd3('0x2dbc')]['x'])&&!isNaN(this[_0x1cd3('0x2dbc')]['y'])&&!isNaN(this[_0x1cd3('0x2dbc')]['width'])&&!isNaN(this['bounds'][_0x1cd3('0x4e4')]);};mxText[_0x1cd3('0x77a')]['updateBoundingBox']=function(){var _0x215cf8=this[_0x1cd3('0x56e')];0x8==document[_0x1cd3('0x2959')]&&null!=_0x215cf8['firstChild']&&(_0x215cf8=_0x215cf8[_0x1cd3('0x29f5')],null!=_0x215cf8[_0x1cd3('0x29f5')]&&(_0x215cf8=_0x215cf8[_0x1cd3('0x29f5')]));this[_0x1cd3('0x2dbd')]=this[_0x1cd3('0x2dbc')][_0x1cd3('0x1141')]();var _0x322226=this['getTextRotation']();if(!this[_0x1cd3('0x2e1e')]&&null!=_0x215cf8&&_0x1cd3('0x2d02')!=this['overflow']&&(!this['clipped']||!this[_0x1cd3('0x2e1d')])){var _0x33da8b=null,_0x5a3a88=null;if(null!=_0x215cf8[_0x1cd3('0x2a92')])if(null!=_0x215cf8['firstChild']&&null!=_0x215cf8[_0x1cd3('0x29f5')]['firstChild']&&_0x1cd3('0x2d4f')==_0x215cf8['firstChild'][_0x1cd3('0x29f5')]['nodeName'])_0x215cf8=_0x215cf8[_0x1cd3('0x29f5')][_0x1cd3('0x29f5')],_0x33da8b=this[_0x1cd3('0x2d01')]?this[_0x1cd3('0x2dbc')][_0x1cd3('0x4d7')]:parseInt(_0x215cf8['getAttribute'](_0x1cd3('0x4d7')))*this[_0x1cd3('0x29df')],_0x5a3a88=parseInt(_0x215cf8[_0x1cd3('0x29f4')]('height'))*this[_0x1cd3('0x29df')];else{_0x322226=_0x215cf8['getBBox']();if(0x0==_0x322226[_0x1cd3('0x4d7')]&&0x0==_0x322226['height'])return;this['boundingBox']=new mxRectangle(_0x322226['x'],_0x322226['y'],_0x322226[_0x1cd3('0x4d7')],_0x322226['height']);_0x322226=0x0;}else _0x5a3a88=this[_0x1cd3('0x19')]['view'][_0x1cd3('0x2e1f')],null!=this[_0x1cd3('0x2a1f')]&&null!=this[_0x1cd3('0x535')]?(_0x33da8b=this['wrap']?this['bounds']['width']:this[_0x1cd3('0x2a1f')]*this[_0x1cd3('0x29df')],_0x5a3a88=this['offsetHeight']*this[_0x1cd3('0x29df')]):null!=_0x5a3a88?(this[_0x1cd3('0x2d58')](_0x5a3a88),this['updateSize'](_0x5a3a88),mxUtils['isNode'](this[_0x1cd3('0x3db')])?_0x5a3a88['innerHTML']=this[_0x1cd3('0x3db')][_0x1cd3('0x2a18')]:(_0x33da8b=this[_0x1cd3('0x2e1c')]?this[_0x1cd3('0x3db')][_0x1cd3('0x3f1')](/\n/g,_0x1cd3('0x2d5f')):this[_0x1cd3('0x3db')],_0x5a3a88[_0x1cd3('0x2a15')]=_0x33da8b),_0x33da8b=this[_0x1cd3('0x2d01')]?this[_0x1cd3('0x2dbc')]['width']:_0x5a3a88[_0x1cd3('0x2a1f')]*this[_0x1cd3('0x29df')],_0x5a3a88=_0x5a3a88['offsetHeight']*this['scale']):(_0x33da8b=this[_0x1cd3('0x2d01')]?this['bounds'][_0x1cd3('0x4d7')]:_0x215cf8['offsetWidth']*this['scale'],_0x5a3a88=_0x215cf8[_0x1cd3('0x535')]*this['scale']);null!=_0x33da8b&&null!=_0x5a3a88&&(this[_0x1cd3('0x2dbd')]=new mxRectangle(this[_0x1cd3('0x2dbc')]['x']+this['margin']['x']*_0x33da8b,this['bounds']['y']+this['margin']['y']*_0x5a3a88,_0x33da8b,_0x5a3a88));}else this[_0x1cd3('0x2dbd')]['x']+=this[_0x1cd3('0x2e20')]['x']*this[_0x1cd3('0x2dbd')][_0x1cd3('0x4d7')],this[_0x1cd3('0x2dbd')]['y']+=this[_0x1cd3('0x2e20')]['y']*this[_0x1cd3('0x2dbd')][_0x1cd3('0x4e4')];null!=this[_0x1cd3('0x2dbd')]&&(0x0!=_0x322226&&(_0x322226=mxUtils['getBoundingBox'](this[_0x1cd3('0x2dbd')],_0x322226),this[_0x1cd3('0x2dbd')]['x']=_0x322226['x'],this['boundingBox']['y']=_0x322226['y'],mxClient[_0x1cd3('0x2a75')]||(this[_0x1cd3('0x2dbd')][_0x1cd3('0x4d7')]=_0x322226[_0x1cd3('0x4d7')],this['boundingBox'][_0x1cd3('0x4e4')]=_0x322226['height'])),this[_0x1cd3('0x2dbd')]['x']=Math[_0x1cd3('0x6b1')](this[_0x1cd3('0x2dbd')]['x']),this[_0x1cd3('0x2dbd')]['y']=Math[_0x1cd3('0x6b1')](this[_0x1cd3('0x2dbd')]['y']),this[_0x1cd3('0x2dbd')]['width']=Math[_0x1cd3('0x2928')](this['boundingBox'][_0x1cd3('0x4d7')]),this[_0x1cd3('0x2dbd')][_0x1cd3('0x4e4')]=Math[_0x1cd3('0x2928')](this['boundingBox'][_0x1cd3('0x4e4')]));};mxText[_0x1cd3('0x77a')][_0x1cd3('0x2df5')]=function(){return 0x0;};mxText['prototype'][_0x1cd3('0x2df9')]=function(){return null!=this[_0x1cd3('0x19')]&&null!=this[_0x1cd3('0x19')][_0x1cd3('0x29dd')]?this['state']['shape']['getTextRotation']():0x0;};mxText[_0x1cd3('0x77a')][_0x1cd3('0x2dd7')]=function(){return!this[_0x1cd3('0x749')]&&null!=this[_0x1cd3('0x19')]&&this[_0x1cd3('0x19')][_0x1cd3('0x1665')]['graph'][_0x1cd3('0x42e')][_0x1cd3('0x2c98')](this[_0x1cd3('0x19')][_0x1cd3('0xefb')]);};mxText[_0x1cd3('0x77a')][_0x1cd3('0x2dd8')]=function(_0x4faf63,_0x175c16,_0x47d447,_0x3bf75c,_0x46c28d){mxShape[_0x1cd3('0x77a')][_0x1cd3('0x2dd8')]['apply'](this,arguments);_0x4faf63[_0x1cd3('0x2cc8')](this[_0x1cd3('0x3c6')]);_0x4faf63[_0x1cd3('0x2cf1')](this[_0x1cd3('0x2e17')]);_0x4faf63['setFontBorderColor'](this[_0x1cd3('0x2c6a')]);_0x4faf63[_0x1cd3('0x2ccc')](this['family']);_0x4faf63[_0x1cd3('0x2ccb')](this[_0x1cd3('0x113e')]);_0x4faf63[_0x1cd3('0x2cf5')](this['fontStyle']);};mxText['prototype']['updateVmlContainer']=function(){this['node'][_0x1cd3('0x440')]['left']=Math['round'](this[_0x1cd3('0x2dbc')]['x'])+'px';this[_0x1cd3('0x56e')][_0x1cd3('0x440')][_0x1cd3('0x712')]=Math[_0x1cd3('0x18ba')](this[_0x1cd3('0x2dbc')]['y'])+'px';this['node']['style'][_0x1cd3('0x4d7')]='1px';this[_0x1cd3('0x56e')][_0x1cd3('0x440')]['height']='1px';this[_0x1cd3('0x56e')][_0x1cd3('0x440')]['overflow']='visible';};mxText[_0x1cd3('0x77a')][_0x1cd3('0x2ca5')]=function(_0x1bb858){var _0x253e9b=this[_0x1cd3('0x29df')],_0x157f4c=this[_0x1cd3('0x2dbc')]['x']/_0x253e9b,_0x4b0063=this[_0x1cd3('0x2dbc')]['y']/_0x253e9b,_0x38c876=this[_0x1cd3('0x2dbc')][_0x1cd3('0x4d7')]/_0x253e9b,_0x253e9b=this['bounds']['height']/_0x253e9b;this[_0x1cd3('0x2ddf')](_0x1bb858,_0x157f4c,_0x4b0063,_0x38c876,_0x253e9b);this[_0x1cd3('0x2dd8')](_0x1bb858,_0x157f4c,_0x4b0063,_0x38c876,_0x253e9b);var _0x2ae365=mxUtils[_0x1cd3('0x2cfe')](this[_0x1cd3('0x3db')])||this['dialect']==mxConstants[_0x1cd3('0x2e21')],_0x1702fb=_0x2ae365||_0x1bb858 instanceof mxVmlCanvas2D?_0x1cd3('0x3bf'):'',_0x488476=this[_0x1cd3('0x3db')];!_0x2ae365&&_0x1cd3('0x3bf')==_0x1702fb&&(_0x488476=mxUtils[_0x1cd3('0x2a09')](_0x488476,!0x1));_0x488476=!mxUtils[_0x1cd3('0x2cfe')](this[_0x1cd3('0x3db')])&&this[_0x1cd3('0x2e1c')]&&_0x1cd3('0x3bf')==_0x1702fb?_0x488476['replace'](/\n/g,'<br/>'):_0x488476;_0x1bb858[_0x1cd3('0x401')](_0x157f4c,_0x4b0063,_0x38c876,_0x253e9b,_0x488476,this[_0x1cd3('0x183e')],this[_0x1cd3('0x2d00')],this[_0x1cd3('0x2d01')],_0x1702fb,_0x1cd3('0x2d02')==this[_0x1cd3('0x29f1')],this[_0x1cd3('0x2e22')],this[_0x1cd3('0x2df9')]());};mxText['prototype'][_0x1cd3('0x2dc7')]=function(){var _0xc8dfad=this['node'][_0x1cd3('0x440')];_0xc8dfad['opacity']=0x1>this[_0x1cd3('0x2d2b')]?this[_0x1cd3('0x2d2b')]:'';_0xc8dfad[_0x1cd3('0x29f1')]='';_0xc8dfad['width']='';_0xc8dfad[_0x1cd3('0x4e4')]='';this[_0x1cd3('0x2d58')](this[_0x1cd3('0x56e')]);this[_0x1cd3('0x2e23')](this[_0x1cd3('0x56e')]);this[_0x1cd3('0x2e24')]();this['offsetHeight']=this[_0x1cd3('0x2a1f')]=null;null!=mxClient[_0x1cd3('0x2985')]?this[_0x1cd3('0x2e25')]():this[_0x1cd3('0x2e26')]();};mxText[_0x1cd3('0x77a')][_0x1cd3('0x2e25')]=function(){var _0xb821b6=this[_0x1cd3('0x2df9')](),_0x5b7b41=this[_0x1cd3('0x56e')][_0x1cd3('0x440')],_0x3f6e78=this[_0x1cd3('0x2e20')]['x'],_0x801ea2=this[_0x1cd3('0x2e20')]['y'];0x0!=_0xb821b6?(_0x5b7b41[mxClient[_0x1cd3('0x2985')]+_0x1cd3('0x2e27')]=0x64*-_0x3f6e78+'%\x20'+0x64*-_0x801ea2+'%',_0x5b7b41[mxClient['CSS_PREFIX']+_0x1cd3('0x2e28')]=_0x1cd3('0x2d2a')+0x64*_0x3f6e78+'%,'+0x64*_0x801ea2+_0x1cd3('0x2e29')+this[_0x1cd3('0x29df')]+_0x1cd3('0x2e2a')+_0xb821b6+_0x1cd3('0x2e2b')):(_0x5b7b41[mxClient[_0x1cd3('0x2985')]+'TransformOrigin']=_0x1cd3('0x2e2c'),_0x5b7b41[mxClient['CSS_PREFIX']+_0x1cd3('0x2e28')]='scale('+this[_0x1cd3('0x29df')]+')translate('+0x64*_0x3f6e78+'%,'+0x64*_0x801ea2+'%)');_0x5b7b41[_0x1cd3('0x762')]=Math[_0x1cd3('0x18ba')](this[_0x1cd3('0x2dbc')]['x'])+'px';_0x5b7b41['top']=Math[_0x1cd3('0x18ba')](this['bounds']['y'])+'px';};mxText[_0x1cd3('0x77a')][_0x1cd3('0x2e26')]=function(){var _0x1d5086=this[_0x1cd3('0x56e')]['style'],_0x1769b1=this['margin']['x'],_0x215986=this[_0x1cd3('0x2e20')]['y'],_0x1f172b=this[_0x1cd3('0x29df')];_0x1d5086['filter']='';var _0x55a22a=0x0,_0x178ecb=0x0,_0x5d6192=null!=this[_0x1cd3('0x19')]?this[_0x1cd3('0x19')][_0x1cd3('0x1665')][_0x1cd3('0x2e1f')]:null;if(null!=_0x5d6192){_0x5d6192[_0x1cd3('0x440')][_0x1cd3('0x29f1')]='';_0x5d6192['style'][_0x1cd3('0x4e4')]='';_0x5d6192[_0x1cd3('0x440')][_0x1cd3('0x4d7')]='';this[_0x1cd3('0x2d58')](_0x5d6192);this[_0x1cd3('0x2e23')](_0x5d6192);if(mxUtils[_0x1cd3('0x2cfe')](this[_0x1cd3('0x3db')]))_0x5d6192[_0x1cd3('0x2a15')]=this[_0x1cd3('0x3db')][_0x1cd3('0x2a18')];else{var _0x27cdb1=this['value'];this[_0x1cd3('0x2d98')]!=mxConstants['DIALECT_STRICTHTML']&&(_0x27cdb1=mxUtils[_0x1cd3('0x2a09')](_0x27cdb1,!0x1));_0x27cdb1=this['replaceLinefeeds']?_0x27cdb1[_0x1cd3('0x3f1')](/\n/g,_0x1cd3('0x2d5f')):_0x27cdb1;_0x5d6192[_0x1cd3('0x2a15')]=_0x27cdb1;}_0x55a22a=_0x5d6192[_0x1cd3('0x2a1f')]+0x2;_0x178ecb=_0x5d6192[_0x1cd3('0x535')]+0x2;}else _0x55a22a=this[_0x1cd3('0x56e')][_0x1cd3('0x2a1f')],_0x178ecb=this[_0x1cd3('0x56e')][_0x1cd3('0x535')]+0x1;this['offsetWidth']=_0x55a22a;this[_0x1cd3('0x535')]=_0x178ecb;_0x5d6192=this[_0x1cd3('0x2dbc')][_0x1cd3('0x4d7')]/_0x1f172b;_0x27cdb1=this[_0x1cd3('0x2dbc')][_0x1cd3('0x4e4')]/_0x1f172b;mxClient[_0x1cd3('0x2a75')]&&(this[_0x1cd3('0x2e22')]||_0x1cd3('0x2d02')==this[_0x1cd3('0x29f1')])&&0x0<_0x27cdb1?(_0x27cdb1=Math['min'](_0x27cdb1,_0x178ecb),_0x1d5086[_0x1cd3('0x4e4')]=Math['round'](_0x27cdb1+0x1)+'px'):_0x27cdb1=_0x178ecb;_0x1cd3('0x2d02')!=this[_0x1cd3('0x29f1')]&&(mxClient[_0x1cd3('0x2a75')]&&(this[_0x1cd3('0x2e22')]||this[_0x1cd3('0x2d01')])&&0x0<_0x5d6192?(_0x5d6192=Math[_0x1cd3('0x4e3')](_0x5d6192,_0x55a22a),_0x1d5086[_0x1cd3('0x4d7')]=Math['round'](_0x5d6192)+'px'):_0x5d6192=_0x55a22a);var _0x27cdb1=_0x27cdb1*_0x1f172b,_0x5d6192=_0x5d6192*_0x1f172b,_0x55a22a=this[_0x1cd3('0x2df9')]()*(Math['PI']/0xb4),_0x178ecb=parseFloat(parseFloat(Math['cos'](_0x55a22a))[_0x1cd3('0x2cdf')](0x8)),_0x56417f=parseFloat(parseFloat(Math[_0x1cd3('0x2a4e')](-_0x55a22a))[_0x1cd3('0x2cdf')](0x8)),_0x55a22a=_0x55a22a%(0x2*Math['PI']);0x0>_0x55a22a&&(_0x55a22a+=0x2*Math['PI']);_0x55a22a%=Math['PI'];_0x55a22a>Math['PI']/0x2&&(_0x55a22a=Math['PI']-_0x55a22a);var _0x7228a4=Math[_0x1cd3('0x2a4d')](_0x55a22a),_0x39a4d9=Math[_0x1cd3('0x2a4e')](-_0x55a22a),_0x1769b1=_0x5d6192*-(_0x1769b1+0.5),_0x215986=_0x27cdb1*-(_0x215986+0.5),_0x4951ca=(_0x27cdb1-_0x27cdb1*_0x7228a4+_0x5d6192*_0x39a4d9)/0x2+_0x56417f*_0x1769b1-_0x178ecb*_0x215986;0x0!=_0x55a22a&&(_0x1d5086[_0x1cd3('0x395')]=_0x1cd3('0x2e2d')+_0x178ecb+_0x1cd3('0x2d89')+_0x56417f+_0x1cd3('0x2e2e')+-_0x56417f+',\x20M22='+_0x178ecb+_0x1cd3('0x2d8a'));_0x1d5086[_0x1cd3('0x2a76')]=_0x1f172b;_0x1d5086['left']=Math[_0x1cd3('0x18ba')](this['bounds']['x']+((_0x5d6192-_0x5d6192*_0x7228a4+_0x27cdb1*_0x39a4d9)/0x2-_0x178ecb*_0x1769b1-_0x56417f*_0x215986)-_0x5d6192/0x2)+'px';_0x1d5086['top']=Math[_0x1cd3('0x18ba')](this[_0x1cd3('0x2dbc')]['y']+_0x4951ca-_0x27cdb1/0x2)+'px';};mxText[_0x1cd3('0x77a')][_0x1cd3('0x2e24')]=function(){if(mxUtils[_0x1cd3('0x2cfe')](this[_0x1cd3('0x3db')]))this[_0x1cd3('0x56e')][_0x1cd3('0x2a15')]='',this[_0x1cd3('0x56e')][_0x1cd3('0xd4e')](this[_0x1cd3('0x3db')]);else{var _0x18beae=this[_0x1cd3('0x3db')];this[_0x1cd3('0x2d98')]!=mxConstants[_0x1cd3('0x2e21')]&&(_0x18beae=mxUtils[_0x1cd3('0x2a09')](_0x18beae,!0x1));var _0x18beae=this[_0x1cd3('0x2e1c')]?_0x18beae[_0x1cd3('0x3f1')](/\n/g,_0x1cd3('0x2d5f')):_0x18beae,_0x16ae5d=null!=this[_0x1cd3('0x2e17')]&&this[_0x1cd3('0x2e17')]!=mxConstants[_0x1cd3('0x29d1')]?this[_0x1cd3('0x2e17')]:null,_0x44eee3=null!=this['border']&&this[_0x1cd3('0x2c6a')]!=mxConstants[_0x1cd3('0x29d1')]?this[_0x1cd3('0x2c6a')]:null;if(null!=_0x16ae5d||null!=_0x44eee3)if(_0x1cd3('0x2d02')==this[_0x1cd3('0x29f1')])null!=_0x16ae5d&&(this[_0x1cd3('0x56e')][_0x1cd3('0x440')][_0x1cd3('0x2c0c')]=_0x16ae5d),null!=_0x44eee3&&(this[_0x1cd3('0x56e')][_0x1cd3('0x440')][_0x1cd3('0x2c6a')]=_0x1cd3('0x2e2f')+_0x44eee3);else{var _0x1526d2='';null!=_0x16ae5d&&(_0x1526d2+=_0x1cd3('0x2d7f')+_0x16ae5d+';');null!=_0x44eee3&&(_0x1526d2+=_0x1cd3('0x2e30')+_0x44eee3+';');_0x18beae=_0x1cd3('0x2e31')+_0x1526d2+_0x1cd3('0x2e32')+this[_0x1cd3('0x56e')]['style'][_0x1cd3('0x2a73')]+'\x22>'+_0x18beae+_0x1cd3('0x1859');this[_0x1cd3('0x56e')]['style'][_0x1cd3('0x2a73')]='';}this[_0x1cd3('0x56e')]['innerHTML']=_0x18beae;}};mxText[_0x1cd3('0x77a')][_0x1cd3('0x2d58')]=function(_0x475073){_0x475073=_0x475073[_0x1cd3('0x440')];_0x475073[_0x1cd3('0x2a73')]=Math[_0x1cd3('0x18ba')](this[_0x1cd3('0x113e')]*mxConstants[_0x1cd3('0x2a74')])+'px';_0x475073[_0x1cd3('0x8d6')]=Math[_0x1cd3('0x18ba')](this['size'])+'px';_0x475073['fontFamily']=this[_0x1cd3('0x2cdb')];_0x475073[_0x1cd3('0x29a3')]=_0x1cd3('0x712');_0x475073[_0x1cd3('0x3c6')]=this[_0x1cd3('0x3c6')];_0x475073['fontWeight']=(this[_0x1cd3('0x2af0')]&mxConstants[_0x1cd3('0x2d39')])==mxConstants['FONT_BOLD']?'bold':'';_0x475073[_0x1cd3('0x2af0')]=(this[_0x1cd3('0x2af0')]&mxConstants[_0x1cd3('0x2d3b')])==mxConstants[_0x1cd3('0x2d3b')]?_0x1cd3('0x2d5c'):'';_0x475073[_0x1cd3('0x2d81')]=(this[_0x1cd3('0x2af0')]&mxConstants[_0x1cd3('0x2d3d')])==mxConstants[_0x1cd3('0x2d3d')]?_0x1cd3('0x2a1d'):'';_0x475073[_0x1cd3('0x2d80')]=this['align']==mxConstants['ALIGN_CENTER']?_0x1cd3('0x2b04'):this['align']==mxConstants['ALIGN_RIGHT']?_0x1cd3('0x58e'):_0x1cd3('0x762');};mxText['prototype'][_0x1cd3('0x2e23')]=function(_0x42783f){var _0x54d960=Math['round'](this[_0x1cd3('0x2dbc')]['width']/this[_0x1cd3('0x29df')]),_0x3af76=Math['round'](this['bounds'][_0x1cd3('0x4e4')]/this[_0x1cd3('0x29df')]);_0x42783f=_0x42783f[_0x1cd3('0x440')];this[_0x1cd3('0x2e22')]?(_0x42783f['overflow']=_0x1cd3('0x533'),0x0<_0x3af76&&(_0x42783f[_0x1cd3('0x2d88')]=_0x3af76+'px'),0x0<_0x54d960&&(_0x42783f[_0x1cd3('0x4d7')]=_0x54d960+'px')):'fill'==this[_0x1cd3('0x29f1')]&&(_0x42783f[_0x1cd3('0x4d7')]=_0x54d960+'px',0x0<_0x3af76&&(_0x42783f[_0x1cd3('0x2d88')]=_0x3af76+'px'));this[_0x1cd3('0x2d01')]?(!this['clipped']&&0x0<_0x54d960&&(_0x42783f['width']=_0x54d960+'px'),_0x42783f[_0x1cd3('0x2ac7')]=_0x1cd3('0x2d85')):_0x42783f[_0x1cd3('0x2ac7')]=_0x1cd3('0x2d86');};mxText[_0x1cd3('0x77a')]['updateMargin']=function(){this[_0x1cd3('0x2e20')]=mxUtils[_0x1cd3('0x2d84')](this[_0x1cd3('0x183e')],this[_0x1cd3('0x2d00')]);};mxText[_0x1cd3('0x77a')][_0x1cd3('0x2e33')]=function(){var _0x42831=0x0,_0x19d2d4=0x0,_0x42831=this[_0x1cd3('0x183e')]==mxConstants[_0x1cd3('0x2d3f')]?(this[_0x1cd3('0x2aef')]-this[_0x1cd3('0x2e15')])/0x2:this[_0x1cd3('0x183e')]==mxConstants[_0x1cd3('0x2a6f')]?-this[_0x1cd3('0x2e15')]-this[_0x1cd3('0x2e1b')]:this[_0x1cd3('0x2aef')]+this[_0x1cd3('0x2e1a')],_0x19d2d4=this[_0x1cd3('0x2d00')]==mxConstants['ALIGN_MIDDLE']?(this[_0x1cd3('0x2aee')]-this[_0x1cd3('0x2e16')])/0x2:this[_0x1cd3('0x2d00')]==mxConstants[_0x1cd3('0x2a70')]?-this['spacingBottom']-this[_0x1cd3('0x2e19')]:this[_0x1cd3('0x2aee')]+this['baseSpacingTop'];return new mxPoint(_0x42831,_0x19d2d4);};function mxTriangle(){mxActor[_0x1cd3('0x46d')](this);}mxUtils[_0x1cd3('0x4d2')](mxTriangle,mxActor);mxTriangle['prototype'][_0x1cd3('0x2e04')]=function(_0x57b974,_0x53e7cd,_0x5b5cfe,_0x35e14e,_0x94a778){_0x57b974['moveTo'](0x0,0x0);_0x57b974[_0x1cd3('0x2cd3')](_0x35e14e,0.5*_0x94a778);_0x57b974[_0x1cd3('0x2cd3')](0x0,_0x94a778);_0x57b974[_0x1cd3('0x3cf')]();};function mxHexagon(){mxActor[_0x1cd3('0x46d')](this);}mxUtils['extend'](mxHexagon,mxActor);mxHexagon['prototype'][_0x1cd3('0x2e04')]=function(_0x3d0c1a,_0xe41acf,_0xfb6597,_0x3d2e08,_0x2e71c3){_0x3d0c1a['moveTo'](0.25*_0x3d2e08,0x0);_0x3d0c1a[_0x1cd3('0x2cd3')](0.75*_0x3d2e08,0x0);_0x3d0c1a[_0x1cd3('0x2cd3')](_0x3d2e08,0.5*_0x2e71c3);_0x3d0c1a[_0x1cd3('0x2cd3')](0.75*_0x3d2e08,_0x2e71c3);_0x3d0c1a[_0x1cd3('0x2cd3')](0.25*_0x3d2e08,_0x2e71c3);_0x3d0c1a[_0x1cd3('0x2cd3')](0x0,0.5*_0x2e71c3);_0x3d0c1a['close']();};function mxLine(_0x2ec447,_0x36404a,_0x312006){mxShape[_0x1cd3('0x46d')](this);this['bounds']=_0x2ec447;this[_0x1cd3('0x2d04')]=_0x36404a;this[_0x1cd3('0x2ce9')]=null!=_0x312006?_0x312006:0x1;}mxUtils[_0x1cd3('0x4d2')](mxLine,mxShape);mxLine[_0x1cd3('0x77a')][_0x1cd3('0x2ddb')]=function(_0x19ac05,_0x4752b3,_0x14449a,_0x3cf27e,_0x440299){_0x14449a+=_0x440299/0x2;_0x19ac05[_0x1cd3('0x2cd2')]();_0x19ac05[_0x1cd3('0x2cfd')](_0x4752b3,_0x14449a);_0x19ac05[_0x1cd3('0x2cd3')](_0x4752b3+_0x3cf27e,_0x14449a);_0x19ac05[_0x1cd3('0x2d04')]();};function mxImageShape(_0x59a4fa,_0x20ed5f,_0x10d30b,_0x414632,_0x357f72){mxShape[_0x1cd3('0x46d')](this);this[_0x1cd3('0x2dbc')]=_0x59a4fa;this['image']=_0x20ed5f;this[_0x1cd3('0x2d02')]=_0x10d30b;this[_0x1cd3('0x2d04')]=_0x414632;this[_0x1cd3('0x2ce9')]=null!=_0x357f72?_0x357f72:0x1;this[_0x1cd3('0x2ae0')]=!0x1;}mxUtils[_0x1cd3('0x4d2')](mxImageShape,mxRectangleShape);mxImageShape[_0x1cd3('0x77a')][_0x1cd3('0x2e34')]=!0x0;mxImageShape[_0x1cd3('0x77a')]['getSvgScreenOffset']=function(){return!mxClient[_0x1cd3('0x298a')]?0.5:0x0;};mxImageShape[_0x1cd3('0x77a')]['apply']=function(_0x516bb2){mxShape['prototype'][_0x1cd3('0x4df')][_0x1cd3('0x4df')](this,arguments);this[_0x1cd3('0x2ce5')]=this[_0x1cd3('0x2d04')]=this[_0x1cd3('0x2d02')]=null;null!=this[_0x1cd3('0x440')]&&(this[_0x1cd3('0x2d02')]=mxUtils[_0x1cd3('0x2a5a')](this[_0x1cd3('0x440')],mxConstants['STYLE_IMAGE_BACKGROUND']),this[_0x1cd3('0x2d04')]=mxUtils[_0x1cd3('0x2a5a')](this[_0x1cd3('0x440')],mxConstants['STYLE_IMAGE_BORDER']),this['preserveImageAspect']=0x1==mxUtils['getNumber'](this['style'],mxConstants[_0x1cd3('0x2e35')],0x1),this[_0x1cd3('0x2ce3')]=this[_0x1cd3('0x2ce3')]||0x1==mxUtils['getValue'](this[_0x1cd3('0x440')],'imageFlipH',0x0),this['flipV']=this['flipV']||0x1==mxUtils['getValue'](this[_0x1cd3('0x440')],_0x1cd3('0x2e36'),0x0));};mxImageShape[_0x1cd3('0x77a')][_0x1cd3('0x2dc0')]=function(){return!this['preserveImageAspect'];};mxImageShape[_0x1cd3('0x77a')]['createHtml']=function(){var _0x1929f8=document['createElement'](_0x1cd3('0x2a72'));_0x1929f8['style'][_0x1cd3('0x679')]=_0x1cd3('0x532');return _0x1929f8;};mxImageShape['prototype'][_0x1cd3('0x2ddb')]=function(_0x18c196,_0x41d00b,_0x4938c1,_0x22f1b4,_0x39e695){if(null!=this['image']){var _0x534fb7=mxUtils['getValue'](this['style'],mxConstants[_0x1cd3('0x2e37')],null),_0x199b1b=mxUtils['getValue'](this['style'],mxConstants[_0x1cd3('0x2e38')],null);if(null!=_0x534fb7||null!=_0x199b1b)_0x18c196[_0x1cd3('0x2cbe')](_0x534fb7),_0x18c196['setStrokeColor'](_0x199b1b),_0x18c196['rect'](_0x41d00b,_0x4938c1,_0x22f1b4,_0x39e695),_0x18c196[_0x1cd3('0x2d60')]();_0x18c196[_0x1cd3('0x127a')](_0x41d00b,_0x4938c1,_0x22f1b4,_0x39e695,this['image'],this[_0x1cd3('0x2e34')],!0x1,!0x1);}else mxRectangleShape[_0x1cd3('0x77a')][_0x1cd3('0x2de0')]['apply'](this,arguments);};mxImageShape[_0x1cd3('0x77a')][_0x1cd3('0x2dc7')]=function(){this[_0x1cd3('0x56e')][_0x1cd3('0x440')][_0x1cd3('0x762')]=Math['round'](this['bounds']['x'])+'px';this[_0x1cd3('0x56e')][_0x1cd3('0x440')][_0x1cd3('0x712')]=Math[_0x1cd3('0x18ba')](this[_0x1cd3('0x2dbc')]['y'])+'px';this['node'][_0x1cd3('0x440')][_0x1cd3('0x4d7')]=Math[_0x1cd3('0x13d1')](0x0,Math[_0x1cd3('0x18ba')](this[_0x1cd3('0x2dbc')][_0x1cd3('0x4d7')]))+'px';this[_0x1cd3('0x56e')][_0x1cd3('0x440')][_0x1cd3('0x4e4')]=Math[_0x1cd3('0x13d1')](0x0,Math[_0x1cd3('0x18ba')](this[_0x1cd3('0x2dbc')][_0x1cd3('0x4e4')]))+'px';this[_0x1cd3('0x56e')]['style'][_0x1cd3('0x2c0c')]=this[_0x1cd3('0x2d02')]||'';this[_0x1cd3('0x56e')]['style']['borderColor']=this['stroke']||'';this['node'][_0x1cd3('0x2a15')]='';if(null!=this[_0x1cd3('0x127a')]){var _0x2da6a5=document[_0x1cd3('0x3aa')](mxClient['IS_IE6']||null==mxClient[_0x1cd3('0x2985')]&&0x0!=this[_0x1cd3('0x2ac8')]?mxClient['VML_PREFIX']+_0x1cd3('0x2d7d'):_0x1cd3('0x774'));_0x2da6a5[_0x1cd3('0x440')][_0x1cd3('0x679')]='absolute';_0x2da6a5['src']=this['image'];var _0x46130b=0x64>this[_0x1cd3('0x2d2b')]?_0x1cd3('0x2a66')+this[_0x1cd3('0x2d2b')]+')':'';this[_0x1cd3('0x56e')][_0x1cd3('0x440')]['filter']=_0x46130b;this[_0x1cd3('0x2ce3')]&&this[_0x1cd3('0x2ad7')]?_0x46130b+=_0x1cd3('0x2e39'):this[_0x1cd3('0x2ce3')]?_0x46130b+=_0x1cd3('0x2e3a'):this[_0x1cd3('0x2ad7')]&&(_0x46130b+=_0x1cd3('0x2e3b'));_0x2da6a5['style'][_0x1cd3('0x395')]!=_0x46130b&&(_0x2da6a5[_0x1cd3('0x440')][_0x1cd3('0x395')]=_0x46130b);_0x1cd3('0x127a')==_0x2da6a5[_0x1cd3('0x2a0c')]?_0x2da6a5[_0x1cd3('0x440')]['rotation']=this[_0x1cd3('0x2ac8')]:_0x2da6a5[_0x1cd3('0x440')][mxClient[_0x1cd3('0x2985')]+_0x1cd3('0x2e28')]='rotate('+this[_0x1cd3('0x2ac8')]+_0x1cd3('0x2e2b');_0x2da6a5[_0x1cd3('0x440')][_0x1cd3('0x4d7')]=this[_0x1cd3('0x56e')][_0x1cd3('0x440')][_0x1cd3('0x4d7')];_0x2da6a5[_0x1cd3('0x440')][_0x1cd3('0x4e4')]=this[_0x1cd3('0x56e')]['style']['height'];this[_0x1cd3('0x56e')][_0x1cd3('0x440')][_0x1cd3('0x2dfc')]='';this[_0x1cd3('0x56e')][_0x1cd3('0xd4e')](_0x2da6a5);}else this[_0x1cd3('0x2dfb')](this[_0x1cd3('0x56e')]);};function mxLabel(_0x3b681e,_0x4601bf,_0x1c6553,_0x1de564){mxRectangleShape['call'](this,_0x3b681e,_0x4601bf,_0x1c6553,_0x1de564);}mxUtils[_0x1cd3('0x4d2')](mxLabel,mxRectangleShape);mxLabel[_0x1cd3('0x77a')][_0x1cd3('0x2e3c')]=mxConstants[_0x1cd3('0x2e3d')];mxLabel[_0x1cd3('0x77a')][_0x1cd3('0x2aed')]=0x2;mxLabel['prototype'][_0x1cd3('0x2e3e')]=0xa;mxLabel[_0x1cd3('0x77a')][_0x1cd3('0x2e3f')]=0x2;mxLabel[_0x1cd3('0x77a')][_0x1cd3('0xe08')]=function(_0x38d936){mxShape[_0x1cd3('0x77a')][_0x1cd3('0xe08')][_0x1cd3('0x4df')](this,arguments);null!=this[_0x1cd3('0x2e40')]&&null!=this[_0x1cd3('0x2adc')]&&(this['indicator']=new this[(_0x1cd3('0x2adc'))](),this[_0x1cd3('0x2e41')]['dialect']=this[_0x1cd3('0x2d98')],this[_0x1cd3('0x2e41')][_0x1cd3('0x2dbc')]=this['bounds'],this['indicator']['fill']=this['indicatorColor'],this[_0x1cd3('0x2e41')][_0x1cd3('0x2d04')]=this[_0x1cd3('0x2e40')],this[_0x1cd3('0x2e41')][_0x1cd3('0x2ce5')]=this[_0x1cd3('0x2add')],this[_0x1cd3('0x2e41')]['direction']=this[_0x1cd3('0x2adf')],this['indicator'][_0x1cd3('0xe08')](this[_0x1cd3('0x56e')]));};mxLabel[_0x1cd3('0x77a')][_0x1cd3('0x29e3')]=function(){null!=this[_0x1cd3('0x2e41')]&&(this[_0x1cd3('0x2e41')]['fill']=this[_0x1cd3('0x2e40')],this['indicator'][_0x1cd3('0x2d04')]=this[_0x1cd3('0x2e40')],this[_0x1cd3('0x2e41')][_0x1cd3('0x2ce5')]=this[_0x1cd3('0x2add')],this[_0x1cd3('0x2e41')][_0x1cd3('0x5e0')]=this[_0x1cd3('0x2adf')]);mxShape[_0x1cd3('0x77a')][_0x1cd3('0x29e3')][_0x1cd3('0x4df')](this,arguments);};mxLabel[_0x1cd3('0x77a')][_0x1cd3('0x2dc0')]=function(){return mxRectangleShape['prototype'][_0x1cd3('0x2dc0')]['apply'](this,arguments)&&null==this['indicatorColor']&&null==this[_0x1cd3('0x2adc')];};mxLabel['prototype'][_0x1cd3('0x2e06')]=function(_0x44eeff,_0xc42675,_0x5a2c6d,_0x2b57de,_0x4a06b4){this[_0x1cd3('0x2e42')](_0x44eeff,_0xc42675,_0x5a2c6d,_0x2b57de,_0x4a06b4);this['paintIndicator'](_0x44eeff,_0xc42675,_0x5a2c6d,_0x2b57de,_0x4a06b4);mxRectangleShape[_0x1cd3('0x77a')][_0x1cd3('0x2e06')]['apply'](this,arguments);};mxLabel[_0x1cd3('0x77a')]['paintImage']=function(_0x2a4afa,_0x5c7659,_0x1ae0fa,_0x10e937,_0x546a89){null!=this[_0x1cd3('0x127a')]&&(_0x5c7659=this[_0x1cd3('0x2e43')](_0x5c7659,_0x1ae0fa,_0x10e937,_0x546a89),_0x2a4afa[_0x1cd3('0x127a')](_0x5c7659['x'],_0x5c7659['y'],_0x5c7659['width'],_0x5c7659[_0x1cd3('0x4e4')],this[_0x1cd3('0x127a')],!0x1,!0x1,!0x1));};mxLabel[_0x1cd3('0x77a')]['getImageBounds']=function(_0x3be623,_0x316c61,_0x1a663f,_0xe6517d){var _0x205949=mxUtils[_0x1cd3('0x2a5a')](this[_0x1cd3('0x440')],mxConstants[_0x1cd3('0x2e44')],mxConstants[_0x1cd3('0x2e45')]),_0x1419ad=mxUtils[_0x1cd3('0x2a5a')](this['style'],mxConstants[_0x1cd3('0x2e46')],mxConstants['ALIGN_MIDDLE']),_0x55566=mxUtils['getNumber'](this['style'],mxConstants[_0x1cd3('0x2e47')],mxConstants['DEFAULT_IMAGESIZE']),_0x2e6870=mxUtils[_0x1cd3('0x2dab')](this[_0x1cd3('0x440')],mxConstants[_0x1cd3('0x2e48')],mxConstants[_0x1cd3('0x2e3d')]),_0x2445ab=mxUtils[_0x1cd3('0x2dab')](this[_0x1cd3('0x440')],mxConstants['STYLE_SPACING'],this['spacing'])+0x5;_0x3be623=_0x205949==mxConstants[_0x1cd3('0x2d3f')]?_0x3be623+(_0x1a663f-_0x55566)/0x2:_0x205949==mxConstants[_0x1cd3('0x2a6f')]?_0x3be623+(_0x1a663f-_0x55566-_0x2445ab):_0x3be623+_0x2445ab;_0x316c61=_0x1419ad==mxConstants[_0x1cd3('0x2e49')]?_0x316c61+_0x2445ab:_0x1419ad==mxConstants[_0x1cd3('0x2a70')]?_0x316c61+(_0xe6517d-_0x2e6870-_0x2445ab):_0x316c61+(_0xe6517d-_0x2e6870)/0x2;return new mxRectangle(_0x3be623,_0x316c61,_0x55566,_0x2e6870);};mxLabel[_0x1cd3('0x77a')]['paintIndicator']=function(_0x393db8,_0x1bf334,_0x39b452,_0x3c7f54,_0x1ae630){null!=this['indicator']?(this[_0x1cd3('0x2e41')][_0x1cd3('0x2dbc')]=this[_0x1cd3('0x2e4a')](_0x1bf334,_0x39b452,_0x3c7f54,_0x1ae630),this['indicator']['paint'](_0x393db8)):null!=this[_0x1cd3('0x2e4b')]&&(_0x1bf334=this[_0x1cd3('0x2e4a')](_0x1bf334,_0x39b452,_0x3c7f54,_0x1ae630),_0x393db8[_0x1cd3('0x127a')](_0x1bf334['x'],_0x1bf334['y'],_0x1bf334[_0x1cd3('0x4d7')],_0x1bf334[_0x1cd3('0x4e4')],this[_0x1cd3('0x2e4b')],!0x1,!0x1,!0x1));};mxLabel[_0x1cd3('0x77a')][_0x1cd3('0x2e4a')]=function(_0x22fed9,_0x5bc507,_0x565eaf,_0x4caaea){var _0x4e88ea=mxUtils[_0x1cd3('0x2a5a')](this[_0x1cd3('0x440')],mxConstants[_0x1cd3('0x2e44')],mxConstants[_0x1cd3('0x2e45')]),_0xcc9377=mxUtils['getValue'](this['style'],mxConstants[_0x1cd3('0x2e46')],mxConstants[_0x1cd3('0x2d56')]),_0x5641ec=mxUtils[_0x1cd3('0x2dab')](this[_0x1cd3('0x440')],mxConstants[_0x1cd3('0x2e4c')],this['indicatorSize']),_0x2d96f5=mxUtils[_0x1cd3('0x2dab')](this[_0x1cd3('0x440')],mxConstants['STYLE_INDICATOR_HEIGHT'],this[_0x1cd3('0x2e3e')]),_0x2e1710=this['spacing']+0x5;_0x22fed9=_0x4e88ea==mxConstants[_0x1cd3('0x2a6f')]?_0x22fed9+(_0x565eaf-_0x5641ec-_0x2e1710):_0x4e88ea==mxConstants[_0x1cd3('0x2d3f')]?_0x22fed9+(_0x565eaf-_0x5641ec)/0x2:_0x22fed9+_0x2e1710;_0x5bc507=_0xcc9377==mxConstants['ALIGN_BOTTOM']?_0x5bc507+(_0x4caaea-_0x2d96f5-_0x2e1710):_0xcc9377==mxConstants['ALIGN_TOP']?_0x5bc507+_0x2e1710:_0x5bc507+(_0x4caaea-_0x2d96f5)/0x2;return new mxRectangle(_0x22fed9,_0x5bc507,_0x5641ec,_0x2d96f5);};mxLabel[_0x1cd3('0x77a')][_0x1cd3('0x2dc7')]=function(){for(mxRectangleShape[_0x1cd3('0x77a')][_0x1cd3('0x2dc7')][_0x1cd3('0x4df')](this,arguments);this['node'][_0x1cd3('0x2e4d')]();)this[_0x1cd3('0x56e')][_0x1cd3('0x1817')](this[_0x1cd3('0x56e')][_0x1cd3('0x2dcc')]);if(null!=this[_0x1cd3('0x127a')]){var _0x3d90d1=document[_0x1cd3('0x3aa')](_0x1cd3('0x774'));_0x3d90d1[_0x1cd3('0x440')]['position']=_0x1cd3('0x2d83');_0x3d90d1[_0x1cd3('0x481')]('border','0');var _0x37e8b8=this[_0x1cd3('0x2e43')](this[_0x1cd3('0x2dbc')]['x'],this['bounds']['y'],this[_0x1cd3('0x2dbc')]['width'],this['bounds']['height']);_0x37e8b8['x']-=this[_0x1cd3('0x2dbc')]['x'];_0x37e8b8['y']-=this[_0x1cd3('0x2dbc')]['y'];_0x3d90d1[_0x1cd3('0x440')][_0x1cd3('0x762')]=Math['round'](_0x37e8b8['x'])+'px';_0x3d90d1[_0x1cd3('0x440')][_0x1cd3('0x712')]=Math[_0x1cd3('0x18ba')](_0x37e8b8['y'])+'px';_0x3d90d1[_0x1cd3('0x440')][_0x1cd3('0x4d7')]=Math['round'](_0x37e8b8[_0x1cd3('0x4d7')])+'px';_0x3d90d1[_0x1cd3('0x440')][_0x1cd3('0x4e4')]=Math['round'](_0x37e8b8['height'])+'px';_0x3d90d1[_0x1cd3('0x487')]=this[_0x1cd3('0x127a')];this[_0x1cd3('0x56e')][_0x1cd3('0xd4e')](_0x3d90d1);}};function mxCylinder(_0x580fe4,_0x2000d0,_0xd137a2,_0x44ab7f){mxShape[_0x1cd3('0x46d')](this);this[_0x1cd3('0x2dbc')]=_0x580fe4;this[_0x1cd3('0x2d02')]=_0x2000d0;this[_0x1cd3('0x2d04')]=_0xd137a2;this['strokewidth']=null!=_0x44ab7f?_0x44ab7f:0x1;}mxUtils[_0x1cd3('0x4d2')](mxCylinder,mxShape);mxCylinder[_0x1cd3('0x77a')]['maxHeight']=0x28;mxCylinder[_0x1cd3('0x77a')][_0x1cd3('0x2dbe')]=0x0;mxCylinder[_0x1cd3('0x77a')][_0x1cd3('0x2ddb')]=function(_0x2fd060,_0x29af5a,_0x25905e,_0x16357a,_0x44c1a7){_0x2fd060[_0x1cd3('0x43c')](_0x29af5a,_0x25905e);_0x2fd060[_0x1cd3('0x2cd2')]();this[_0x1cd3('0x2e04')](_0x2fd060,_0x29af5a,_0x25905e,_0x16357a,_0x44c1a7,!0x1);_0x2fd060[_0x1cd3('0x2d60')]();_0x2fd060[_0x1cd3('0x2cf7')](!0x1);_0x2fd060[_0x1cd3('0x2cd2')]();this[_0x1cd3('0x2e04')](_0x2fd060,_0x29af5a,_0x25905e,_0x16357a,_0x44c1a7,!0x0);_0x2fd060[_0x1cd3('0x2d04')]();};mxCylinder['prototype'][_0x1cd3('0x2e04')]=function(_0x56e5bc,_0x28cdc9,_0xbcd9da,_0x4dbe72,_0x11a9ef,_0x394e5a){_0x28cdc9=Math[_0x1cd3('0x4e3')](this[_0x1cd3('0x2d88')],Math[_0x1cd3('0x18ba')](_0x11a9ef/0x5));if(_0x394e5a&&null!=this['fill']||!_0x394e5a&&null==this['fill'])_0x56e5bc[_0x1cd3('0x2cfd')](0x0,_0x28cdc9),_0x56e5bc[_0x1cd3('0x2cd5')](0x0,0x2*_0x28cdc9,_0x4dbe72,0x2*_0x28cdc9,_0x4dbe72,_0x28cdc9),_0x394e5a||(_0x56e5bc[_0x1cd3('0x2d04')](),_0x56e5bc[_0x1cd3('0x2cd2')]());_0x394e5a||(_0x56e5bc['moveTo'](0x0,_0x28cdc9),_0x56e5bc[_0x1cd3('0x2cd5')](0x0,-_0x28cdc9/0x3,_0x4dbe72,-_0x28cdc9/0x3,_0x4dbe72,_0x28cdc9),_0x56e5bc[_0x1cd3('0x2cd3')](_0x4dbe72,_0x11a9ef-_0x28cdc9),_0x56e5bc[_0x1cd3('0x2cd5')](_0x4dbe72,_0x11a9ef+_0x28cdc9/0x3,0x0,_0x11a9ef+_0x28cdc9/0x3,0x0,_0x11a9ef-_0x28cdc9),_0x56e5bc[_0x1cd3('0x3cf')]());};function mxConnector(_0x52c645,_0x2ef9d6,_0x542625){mxPolyline['call'](this,_0x52c645,_0x2ef9d6,_0x542625);}mxUtils['extend'](mxConnector,mxPolyline);mxConnector[_0x1cd3('0x77a')][_0x1cd3('0x2dda')]=function(_0x53d3dc,_0x44e9bd){var _0x50f63d=this[_0x1cd3('0x2e4e')](_0x53d3dc,_0x44e9bd,!0x0),_0x3cb20f=this[_0x1cd3('0x2e4e')](_0x53d3dc,_0x44e9bd,!0x1);null==this[_0x1cd3('0x440')]||0x1!=this['style'][mxConstants[_0x1cd3('0x2e4f')]]?this[_0x1cd3('0x2e0f')](_0x53d3dc,_0x44e9bd,this[_0x1cd3('0x2de4')]):this['paintCurvedLine'](_0x53d3dc,_0x44e9bd);_0x53d3dc['setFillColor'](this[_0x1cd3('0x2d04')]);_0x53d3dc['setShadow'](!0x1);_0x53d3dc['setDashed'](!0x1);null!=_0x50f63d&&_0x50f63d();null!=_0x3cb20f&&_0x3cb20f();};mxConnector[_0x1cd3('0x77a')]['paintCurvedLine']=function(_0x2e99c5,_0x5b902f){_0x2e99c5[_0x1cd3('0x2cd2')]();var _0x4ca89b=_0x5b902f[0x0],_0x700a20=_0x5b902f[_0x1cd3('0x7a')];_0x2e99c5[_0x1cd3('0x2cfd')](_0x4ca89b['x'],_0x4ca89b['y']);for(_0x4ca89b=0x1;_0x4ca89b<_0x700a20-0x2;_0x4ca89b++){var _0x28c00c=_0x5b902f[_0x4ca89b],_0x3a7e65=_0x5b902f[_0x4ca89b+0x1];_0x2e99c5[_0x1cd3('0x2cd4')](_0x28c00c['x'],_0x28c00c['y'],(_0x28c00c['x']+_0x3a7e65['x'])/0x2,(_0x28c00c['y']+_0x3a7e65['y'])/0x2);}_0x28c00c=_0x5b902f[_0x700a20-0x2];_0x3a7e65=_0x5b902f[_0x700a20-0x1];_0x2e99c5[_0x1cd3('0x2cd4')](_0x28c00c['x'],_0x28c00c['y'],_0x3a7e65['x'],_0x3a7e65['y']);_0x2e99c5[_0x1cd3('0x2d04')]();};mxConnector[_0x1cd3('0x77a')]['createMarker']=function(_0x29ecf2,_0x344f5e,_0x22cc02){var _0xbbd174=_0x344f5e[_0x1cd3('0x7a')],_0x324c76=_0x22cc02?_0x344f5e[0x1]:_0x344f5e[_0xbbd174-0x2];_0x344f5e=_0x22cc02?_0x344f5e[0x0]:_0x344f5e[_0xbbd174-0x1];var _0xbbd174=_0x344f5e['x']-_0x324c76['x'],_0x3918cb=_0x344f5e['y']-_0x324c76['y'],_0x715699=Math[_0x1cd3('0x13d1')](0x1,Math[_0x1cd3('0x2a4f')](_0xbbd174*_0xbbd174+_0x3918cb*_0x3918cb)),_0x324c76=_0xbbd174/_0x715699,_0xbbd174=_0x3918cb/_0x715699,_0x3918cb=mxUtils['getNumber'](this['style'],_0x22cc02?mxConstants[_0x1cd3('0x2a5b')]:mxConstants['STYLE_ENDSIZE'],mxConstants[_0x1cd3('0x2e50')]),_0x715699=mxUtils[_0x1cd3('0x2a5a')](this['style'],_0x22cc02?mxConstants['STYLE_STARTARROW']:mxConstants[_0x1cd3('0x2deb')]);return mxMarker['createMarker'](_0x29ecf2,this,_0x715699,_0x344f5e,_0x324c76,_0xbbd174,_0x3918cb,_0x22cc02,this[_0x1cd3('0x2ce9')],0x0!=this['style'][_0x22cc02?mxConstants[_0x1cd3('0x2e51')]:mxConstants[_0x1cd3('0x2e52')]]);};mxConnector[_0x1cd3('0x77a')][_0x1cd3('0x2df7')]=function(_0x2a859a){mxShape[_0x1cd3('0x77a')][_0x1cd3('0x2df7')]['apply'](this,arguments);var _0xd2c178=0x0;mxUtils['getValue'](this['style'],mxConstants[_0x1cd3('0x2dea')],mxConstants[_0x1cd3('0x29d1')])!=mxConstants[_0x1cd3('0x29d1')]&&(_0xd2c178=mxUtils[_0x1cd3('0x2dab')](this[_0x1cd3('0x440')],mxConstants[_0x1cd3('0x2a5b')],mxConstants[_0x1cd3('0x2e50')])+0x1);mxUtils['getValue'](this['style'],mxConstants[_0x1cd3('0x2deb')],mxConstants[_0x1cd3('0x29d1')])!=mxConstants[_0x1cd3('0x29d1')]&&(_0xd2c178=Math[_0x1cd3('0x13d1')](_0xd2c178,mxUtils['getNumber'](this['style'],mxConstants[_0x1cd3('0x2de9')],mxConstants[_0x1cd3('0x2e50')]))+0x1);_0x2a859a[_0x1cd3('0x29d7')](Math[_0x1cd3('0x2928')](_0xd2c178*this[_0x1cd3('0x29df')]));};function mxSwimlane(_0x29a1c3,_0x1d75fe,_0x45d62b,_0x26eca8){mxShape[_0x1cd3('0x46d')](this);this[_0x1cd3('0x2dbc')]=_0x29a1c3;this[_0x1cd3('0x2d02')]=_0x1d75fe;this[_0x1cd3('0x2d04')]=_0x45d62b;this['strokewidth']=null!=_0x26eca8?_0x26eca8:0x1;}mxUtils[_0x1cd3('0x4d2')](mxSwimlane,mxShape);mxSwimlane[_0x1cd3('0x77a')][_0x1cd3('0x2e3c')]=0x10;mxSwimlane[_0x1cd3('0x77a')][_0x1cd3('0x2dde')]=function(_0x5d2bd9,_0x195ee4,_0x74def8,_0x2cc8e6,_0x3305ec){_0x5d2bd9=Math[_0x1cd3('0x4e3')](_0x3305ec,mxUtils['getValue'](this['style'],mxConstants['STYLE_STARTSIZE'],mxConstants[_0x1cd3('0x2e53')]));return new mxRectangle(_0x195ee4,_0x74def8,_0x2cc8e6,_0x5d2bd9);};mxSwimlane['prototype'][_0x1cd3('0x2df8')]=function(){var _0x4331fb=mxShape[_0x1cd3('0x77a')][_0x1cd3('0x2df8')][_0x1cd3('0x4df')](this,arguments);0x1!=mxUtils['getValue'](this[_0x1cd3('0x440')],mxConstants[_0x1cd3('0x2a5c')],0x1)&&(_0x4331fb+=mxText[_0x1cd3('0x77a')][_0x1cd3('0x2dfa')]);return _0x4331fb;};mxSwimlane[_0x1cd3('0x77a')][_0x1cd3('0x2df9')]=function(){return this[_0x1cd3('0x2df8')]();};mxSwimlane[_0x1cd3('0x77a')][_0x1cd3('0x2dd7')]=function(){return mxShape[_0x1cd3('0x77a')][_0x1cd3('0x2dd7')]['apply'](this,arguments)||0x1!=mxUtils['getValue'](this[_0x1cd3('0x440')],mxConstants[_0x1cd3('0x2a5c')],0x1);};mxSwimlane[_0x1cd3('0x77a')][_0x1cd3('0x2de1')]=function(_0x1ac568,_0x158a21,_0x195c1d){_0x1ac568=mxUtils[_0x1cd3('0x2a5a')](this[_0x1cd3('0x440')],mxConstants[_0x1cd3('0x2e05')],0x64*mxConstants[_0x1cd3('0x2db4')])/0x64;return 0x3*_0x195c1d*_0x1ac568;};mxSwimlane[_0x1cd3('0x77a')][_0x1cd3('0x2ddb')]=function(_0xba85aa,_0x3e6f83,_0x1ac207,_0x3ea292,_0x3a8dc8){var _0x105253=Math[_0x1cd3('0x4e3')](_0x3a8dc8,mxUtils[_0x1cd3('0x2a5a')](this[_0x1cd3('0x440')],mxConstants[_0x1cd3('0x2a5b')],mxConstants[_0x1cd3('0x2e53')])),_0x369922=mxUtils[_0x1cd3('0x2a5a')](this[_0x1cd3('0x440')],mxConstants[_0x1cd3('0x2e54')],mxConstants['NONE']),_0x5b3751=0x1==mxUtils[_0x1cd3('0x2a5a')](this[_0x1cd3('0x440')],mxConstants[_0x1cd3('0x2e55')],0x1),_0x2be7d8=0x0;_0xba85aa['translate'](_0x3e6f83,_0x1ac207);this['isRounded']?(_0x2be7d8=this[_0x1cd3('0x2de1')](_0x3ea292,_0x3a8dc8,_0x105253),this[_0x1cd3('0x2e56')](_0xba85aa,_0x3e6f83,_0x1ac207,_0x3ea292,_0x3a8dc8,_0x105253,_0x2be7d8,_0x369922,_0x5b3751)):this['paintSwimlane'](_0xba85aa,_0x3e6f83,_0x1ac207,_0x3ea292,_0x3a8dc8,_0x105253,_0x369922,_0x5b3751);_0x369922=mxUtils[_0x1cd3('0x2a5a')](this[_0x1cd3('0x440')],mxConstants[_0x1cd3('0x2e57')],mxConstants[_0x1cd3('0x29d1')]);this[_0x1cd3('0x2e58')](_0xba85aa,_0x3ea292,_0x105253,_0x3a8dc8,_0x369922);null!=this[_0x1cd3('0x127a')]&&(_0x3a8dc8=this[_0x1cd3('0x2e43')](_0x3e6f83,_0x105253,_0x3ea292,_0x3a8dc8),_0xba85aa['image'](_0x3a8dc8['x']-_0x3e6f83,_0x3a8dc8['y']-_0x1ac207,_0x3a8dc8[_0x1cd3('0x4d7')],_0x3a8dc8[_0x1cd3('0x4e4')],this[_0x1cd3('0x127a')],!0x1,!0x1,!0x1));this[_0x1cd3('0x2ad4')]&&(_0xba85aa[_0x1cd3('0x2cf7')](!0x1),this[_0x1cd3('0x2de2')](_0xba85aa,0x0,0x0,_0x3ea292,_0x105253,_0x2be7d8));};mxSwimlane[_0x1cd3('0x77a')][_0x1cd3('0x2e59')]=function(_0x328a75,_0x512817,_0x2ae079,_0x1218a8,_0x553cb1,_0x2e21dd,_0x589db6,_0x4ee1be){_0x589db6!=mxConstants[_0x1cd3('0x29d1')]&&(_0x328a75[_0x1cd3('0xd6d')](),_0x328a75['setFillColor'](_0x589db6),_0x328a75[_0x1cd3('0x2cfa')](0x0,0x0,_0x1218a8,_0x553cb1),_0x328a75['fillAndStroke'](),_0x328a75[_0x1cd3('0x2ca6')](),_0x328a75[_0x1cd3('0x2cf7')](!0x1));_0x328a75[_0x1cd3('0x2cd2')]();_0x328a75[_0x1cd3('0x2cfd')](0x0,_0x2e21dd);_0x328a75['lineTo'](0x0,0x0);_0x328a75[_0x1cd3('0x2cd3')](_0x1218a8,0x0);_0x328a75[_0x1cd3('0x2cd3')](_0x1218a8,_0x2e21dd);_0x4ee1be&&_0x328a75['close']();_0x328a75['fillAndStroke']();_0x2e21dd<_0x553cb1&&_0x589db6==mxConstants[_0x1cd3('0x29d1')]&&(_0x328a75[_0x1cd3('0x2cb2')]=!0x1,_0x328a75[_0x1cd3('0x2cd2')](),_0x328a75[_0x1cd3('0x2cfd')](0x0,_0x2e21dd),_0x328a75[_0x1cd3('0x2cd3')](0x0,_0x553cb1),_0x328a75[_0x1cd3('0x2cd3')](_0x1218a8,_0x553cb1),_0x328a75['lineTo'](_0x1218a8,_0x2e21dd),_0x328a75[_0x1cd3('0x2d04')]());};mxSwimlane[_0x1cd3('0x77a')][_0x1cd3('0x2e56')]=function(_0x27b5be,_0x183c32,_0x48fce4,_0x311cb1,_0x5d896b,_0x324f2e,_0x4d8cb3,_0x137237,_0x2a4d11){_0x137237!=mxConstants[_0x1cd3('0x29d1')]&&(_0x27b5be[_0x1cd3('0xd6d')](),_0x27b5be[_0x1cd3('0x2cbe')](_0x137237),_0x27b5be['roundrect'](0x0,0x0,_0x311cb1,_0x5d896b,_0x4d8cb3,_0x4d8cb3),_0x27b5be[_0x1cd3('0x2d60')](),_0x27b5be[_0x1cd3('0x2ca6')](),_0x27b5be[_0x1cd3('0x2cf7')](!0x1));_0x27b5be[_0x1cd3('0x2cd2')]();_0x27b5be[_0x1cd3('0x2cfd')](_0x311cb1,_0x324f2e);_0x27b5be['lineTo'](_0x311cb1,_0x4d8cb3);_0x27b5be['quadTo'](_0x311cb1,0x0,_0x311cb1-Math[_0x1cd3('0x4e3')](_0x311cb1/0x2,_0x4d8cb3),0x0);_0x27b5be['lineTo'](Math[_0x1cd3('0x4e3')](_0x311cb1/0x2,_0x4d8cb3),0x0);_0x27b5be[_0x1cd3('0x2cd4')](0x0,0x0,0x0,_0x4d8cb3);_0x27b5be[_0x1cd3('0x2cd3')](0x0,_0x324f2e);_0x2a4d11&&_0x27b5be['close']();_0x27b5be[_0x1cd3('0x2d60')]();_0x324f2e<_0x5d896b&&_0x137237==mxConstants[_0x1cd3('0x29d1')]&&(_0x27b5be['pointerEvents']=!0x1,_0x27b5be[_0x1cd3('0x2cd2')](),_0x27b5be[_0x1cd3('0x2cfd')](0x0,_0x324f2e),_0x27b5be[_0x1cd3('0x2cd3')](0x0,_0x5d896b-_0x4d8cb3),_0x27b5be[_0x1cd3('0x2cd4')](0x0,_0x5d896b,Math[_0x1cd3('0x4e3')](_0x311cb1/0x2,_0x4d8cb3),_0x5d896b),_0x27b5be['lineTo'](_0x311cb1-Math[_0x1cd3('0x4e3')](_0x311cb1/0x2,_0x4d8cb3),_0x5d896b),_0x27b5be['quadTo'](_0x311cb1,_0x5d896b,_0x311cb1,_0x5d896b-_0x4d8cb3),_0x27b5be[_0x1cd3('0x2cd3')](_0x311cb1,_0x324f2e),_0x27b5be['stroke']());};mxSwimlane['prototype'][_0x1cd3('0x2e58')]=function(_0x42ec38,_0x49fa98,_0x3ce318,_0x515b7a,_0x23abb3){_0x23abb3!=mxConstants[_0x1cd3('0x29d1')]&&(_0x42ec38['setStrokeColor'](_0x23abb3),_0x42ec38['setDashed'](!0x0),_0x42ec38['begin'](),_0x42ec38[_0x1cd3('0x2cfd')](_0x49fa98,_0x3ce318),_0x42ec38[_0x1cd3('0x2cd3')](_0x49fa98,_0x515b7a),_0x42ec38['stroke'](),_0x42ec38[_0x1cd3('0x2cc3')](!0x1));};mxSwimlane['prototype'][_0x1cd3('0x2e43')]=function(_0xcecc07,_0xe8bc67,_0x3004f0,_0x353de0){return new mxRectangle(_0xcecc07+_0x3004f0-this[_0x1cd3('0x2e3c')],_0xe8bc67,this[_0x1cd3('0x2e3c')],this[_0x1cd3('0x2e3c')]);};function mxGraphLayout(_0x2c2938){this[_0x1cd3('0x2c89')]=_0x2c2938;}mxGraphLayout[_0x1cd3('0x77a')][_0x1cd3('0x2c89')]=null;mxGraphLayout[_0x1cd3('0x77a')]['useBoundingBox']=!0x0;mxGraphLayout['prototype'][_0x1cd3('0x36c')]=null;mxGraphLayout[_0x1cd3('0x77a')]['moveCell']=function(_0xd60c62,_0x79e256,_0x494d3b){};mxGraphLayout[_0x1cd3('0x77a')]['execute']=function(_0x24edff){};mxGraphLayout[_0x1cd3('0x77a')][_0x1cd3('0x2e5a')]=function(){return this[_0x1cd3('0x2c89')];};mxGraphLayout[_0x1cd3('0x77a')]['getConstraint']=function(_0x290489,_0x11d4c3,_0x1fadf9,_0x774d8a){_0x1fadf9=this[_0x1cd3('0x2c89')][_0x1cd3('0x1665')][_0x1cd3('0x29d9')](_0x11d4c3);_0x11d4c3=null!=_0x1fadf9?_0x1fadf9[_0x1cd3('0x440')]:this['graph']['getCellStyle'](_0x11d4c3);return null!=_0x11d4c3?_0x11d4c3[_0x290489]:null;};mxGraphLayout['traverse']=function(_0x45d832,_0x30e678,_0x201fa2,_0x42dfcf,_0x16284d){if(null!=_0x201fa2&&null!=_0x45d832){_0x30e678=null!=_0x30e678?_0x30e678:!0x0;_0x16284d=_0x16284d||[];var _0x10169b=mxCellPath[_0x1cd3('0x624')](_0x45d832);if(null==_0x16284d[_0x10169b]&&(_0x16284d[_0x10169b]=_0x45d832,_0x42dfcf=_0x201fa2(_0x45d832,_0x42dfcf),null==_0x42dfcf||_0x42dfcf))if(_0x42dfcf=this['graph']['model'][_0x1cd3('0x2e5b')](_0x45d832),0x0<_0x42dfcf)for(_0x10169b=0x0;_0x10169b<_0x42dfcf;_0x10169b++){var _0x91cde=this[_0x1cd3('0x2c89')][_0x1cd3('0x42e')]['getEdgeAt'](_0x45d832,_0x10169b),_0x23bbfb=this['graph'][_0x1cd3('0x42e')]['getTerminal'](_0x91cde,!0x0)==_0x45d832;if(!_0x30e678||_0x23bbfb)_0x23bbfb=this[_0x1cd3('0x2c89')]['view'][_0x1cd3('0x2e5c')](_0x91cde,!_0x23bbfb),this[_0x1cd3('0x2e5d')](_0x23bbfb,_0x30e678,_0x201fa2,_0x91cde,_0x16284d);}}};mxGraphLayout[_0x1cd3('0x77a')]['isVertexMovable']=function(_0x4d6a74){return this[_0x1cd3('0x2c89')][_0x1cd3('0x2e5e')](_0x4d6a74);};mxGraphLayout[_0x1cd3('0x77a')][_0x1cd3('0x2e5f')]=function(_0x3b23da){return!this['graph'][_0x1cd3('0x2a77')]()[_0x1cd3('0x2c98')](_0x3b23da)||!this[_0x1cd3('0x2c89')][_0x1cd3('0x2e60')](_0x3b23da);};mxGraphLayout[_0x1cd3('0x77a')][_0x1cd3('0x2e61')]=function(_0x4961cd){var _0x339888=this[_0x1cd3('0x2c89')]['getModel']();return!_0x339888['isEdge'](_0x4961cd)||!this['graph'][_0x1cd3('0x2e60')](_0x4961cd)||null==_0x339888[_0x1cd3('0x2e62')](_0x4961cd,!0x0)||null==_0x339888[_0x1cd3('0x2e62')](_0x4961cd,!0x1);};mxGraphLayout[_0x1cd3('0x77a')]['setEdgeStyleEnabled']=function(_0x58a773,_0x51950f){this[_0x1cd3('0x2c89')][_0x1cd3('0x2e63')](mxConstants[_0x1cd3('0x2e64')],_0x51950f?'0':'1',[_0x58a773]);};mxGraphLayout['prototype'][_0x1cd3('0x2e65')]=function(_0x444611,_0x2e2cea){this[_0x1cd3('0x2c89')][_0x1cd3('0x2e63')](mxConstants['STYLE_ORTHOGONAL'],_0x2e2cea?'1':'0',[_0x444611]);};mxGraphLayout['prototype'][_0x1cd3('0x2e66')]=function(_0x11c99a){var _0x2f61c7=new mxPoint();if(null!=_0x11c99a&&_0x11c99a!=this['parent']){var _0x5a5a84=this[_0x1cd3('0x2c89')]['getModel']();if(_0x5a5a84['isAncestor'](this[_0x1cd3('0x36c')],_0x11c99a))for(var _0x4f2086=_0x5a5a84['getGeometry'](_0x11c99a);_0x11c99a!=this[_0x1cd3('0x36c')];)_0x2f61c7['x']+=_0x4f2086['x'],_0x2f61c7['y']+=_0x4f2086['y'],_0x11c99a=_0x5a5a84['getParent'](_0x11c99a),_0x4f2086=_0x5a5a84[_0x1cd3('0x2e67')](_0x11c99a);}return _0x2f61c7;};mxGraphLayout[_0x1cd3('0x77a')]['setEdgePoints']=function(_0x53ba5b,_0x41ab86){if(null!=_0x53ba5b){var _0x1fa6e2=this[_0x1cd3('0x2c89')][_0x1cd3('0x42e')],_0x26b974=_0x1fa6e2[_0x1cd3('0x2e67')](_0x53ba5b);null==_0x26b974?(_0x26b974=new mxGeometry(),_0x26b974['setRelative'](!0x0)):_0x26b974=_0x26b974[_0x1cd3('0x1141')]();if(null!=this[_0x1cd3('0x36c')]&&null!=_0x41ab86)for(var _0x250917=_0x1fa6e2['getParent'](_0x53ba5b),_0x250917=this[_0x1cd3('0x2e66')](_0x250917),_0x2148e7=0x0;_0x2148e7<_0x41ab86[_0x1cd3('0x7a')];_0x2148e7++)_0x41ab86[_0x2148e7]['x']-=_0x250917['x'],_0x41ab86[_0x2148e7]['y']-=_0x250917['y'];_0x26b974['points']=_0x41ab86;_0x1fa6e2[_0x1cd3('0x2e68')](_0x53ba5b,_0x26b974);}};mxGraphLayout[_0x1cd3('0x77a')][_0x1cd3('0x2e69')]=function(_0x1602bf,_0x3c4414,_0x3af3bd){var _0x3ca045=this[_0x1cd3('0x2c89')][_0x1cd3('0x2a77')](),_0x5347e5=_0x3ca045[_0x1cd3('0x2e67')](_0x1602bf),_0x16e8fa=null;if(null!=_0x5347e5){_0x16e8fa=new mxRectangle(_0x3c4414,_0x3af3bd,_0x5347e5[_0x1cd3('0x4d7')],_0x5347e5[_0x1cd3('0x4e4')]);if(this['useBoundingBox']){var _0x423dd4=this[_0x1cd3('0x2c89')][_0x1cd3('0x29de')]()[_0x1cd3('0x29d9')](_0x1602bf);if(null!=_0x423dd4&&null!=_0x423dd4[_0x1cd3('0x401')]&&null!=_0x423dd4[_0x1cd3('0x401')][_0x1cd3('0x2dbd')]){var _0x57cbb8=this[_0x1cd3('0x2c89')][_0x1cd3('0x29de')]()[_0x1cd3('0x29df')],_0x39cfd4=_0x423dd4[_0x1cd3('0x401')][_0x1cd3('0x2dbd')];_0x423dd4[_0x1cd3('0x401')][_0x1cd3('0x2dbd')]['x']<_0x423dd4['x']&&(_0x3c4414+=(_0x423dd4['x']-_0x39cfd4['x'])/_0x57cbb8,_0x16e8fa['width']=_0x39cfd4[_0x1cd3('0x4d7')]);_0x423dd4[_0x1cd3('0x401')][_0x1cd3('0x2dbd')]['y']<_0x423dd4['y']&&(_0x3af3bd+=(_0x423dd4['y']-_0x39cfd4['y'])/_0x57cbb8,_0x16e8fa[_0x1cd3('0x4e4')]=_0x39cfd4[_0x1cd3('0x4e4')]);}}null!=this[_0x1cd3('0x36c')]&&(_0x423dd4=_0x3ca045[_0x1cd3('0x2c9d')](_0x1602bf),null!=_0x423dd4&&_0x423dd4!=this['parent']&&(_0x423dd4=this[_0x1cd3('0x2e66')](_0x423dd4),_0x3c4414-=_0x423dd4['x'],_0x3af3bd-=_0x423dd4['y']));if(_0x5347e5['x']!=_0x3c4414||_0x5347e5['y']!=_0x3af3bd)_0x5347e5=_0x5347e5[_0x1cd3('0x1141')](),_0x5347e5['x']=_0x3c4414,_0x5347e5['y']=_0x3af3bd,_0x3ca045['setGeometry'](_0x1602bf,_0x5347e5);}return _0x16e8fa;};mxGraphLayout[_0x1cd3('0x77a')][_0x1cd3('0x2e6a')]=function(_0x2f9876){var _0x2883de=this['graph'][_0x1cd3('0x2a77')]()[_0x1cd3('0x2e67')](_0x2f9876);if(this[_0x1cd3('0x2e6b')]){var _0x147cb0=this[_0x1cd3('0x2c89')][_0x1cd3('0x29de')]()[_0x1cd3('0x29d9')](_0x2f9876);if(null!=_0x147cb0&&null!=_0x147cb0[_0x1cd3('0x401')]&&null!=_0x147cb0[_0x1cd3('0x401')][_0x1cd3('0x2dbd')])var _0x13a7a7=this['graph']['getView']()[_0x1cd3('0x29df')],_0x42bdc4=_0x147cb0['text']['boundingBox'],_0x460794=Math[_0x1cd3('0x13d1')](_0x147cb0['x']-_0x42bdc4['x'],0x0)/_0x13a7a7,_0x17306d=Math['max'](_0x147cb0['y']-_0x42bdc4['y'],0x0)/_0x13a7a7,_0x1419bc=Math[_0x1cd3('0x13d1')](_0x42bdc4['x']+_0x42bdc4[_0x1cd3('0x4d7')]-(_0x147cb0['x']+_0x147cb0[_0x1cd3('0x4d7')]),0x0)/_0x13a7a7,_0x147cb0=Math[_0x1cd3('0x13d1')](_0x42bdc4['y']+_0x42bdc4['height']-(_0x147cb0['y']+_0x147cb0[_0x1cd3('0x4e4')]),0x0)/_0x13a7a7,_0x2883de=new mxRectangle(_0x2883de['x']-_0x460794,_0x2883de['y']-_0x17306d,_0x2883de[_0x1cd3('0x4d7')]+_0x460794+_0x1419bc,_0x2883de[_0x1cd3('0x4e4')]+_0x17306d+_0x147cb0);}null!=this['parent']&&(_0x2f9876=this['graph'][_0x1cd3('0x2a77')]()[_0x1cd3('0x2c9d')](_0x2f9876),_0x2883de=_0x2883de['clone'](),null!=_0x2f9876&&_0x2f9876!=this[_0x1cd3('0x36c')]&&(_0x2f9876=this[_0x1cd3('0x2e66')](_0x2f9876),_0x2883de['x']+=_0x2f9876['x'],_0x2883de['y']+=_0x2f9876['y']));return new mxRectangle(_0x2883de['x'],_0x2883de['y'],_0x2883de[_0x1cd3('0x4d7')],_0x2883de[_0x1cd3('0x4e4')]);};mxGraphLayout['prototype'][_0x1cd3('0x2e6c')]=function(_0x75003c,_0x2f3b85){this[_0x1cd3('0x2c89')][_0x1cd3('0x2a77')]()[_0x1cd3('0x2a6c')]();try{for(var _0x459b9e=_0x75003c[_0x1cd3('0x7a')]-0x1;0x0<=_0x459b9e;_0x459b9e--){var _0x476334=_0x75003c[_0x459b9e],_0x245476=this['graph'][_0x1cd3('0x2e6d')](_0x476334),_0x479086=this[_0x1cd3('0x2c89')]['getBoundingBoxFromGeometry'](_0x245476),_0x186c84=this[_0x1cd3('0x2c89')][_0x1cd3('0x2e6e')](_0x476334),_0x4f5806=0x0,_0x18c44c=0x0;if(this[_0x1cd3('0x2c89')][_0x1cd3('0x2e6f')](_0x476334))var _0x3e17f4=this[_0x1cd3('0x2c89')][_0x1cd3('0x2e70')](_0x476334),_0x4f5806=_0x3e17f4[_0x1cd3('0x4d7')],_0x18c44c=_0x3e17f4[_0x1cd3('0x4e4')];null!=_0x479086&&null!=_0x186c84&&(_0x186c84=_0x186c84[_0x1cd3('0x1141')](),_0x186c84['x']=_0x186c84['x']+_0x479086['x']-_0x2f3b85-_0x4f5806,_0x186c84['y']=_0x186c84['y']+_0x479086['y']-_0x2f3b85-_0x18c44c,_0x186c84[_0x1cd3('0x4d7')]=_0x479086[_0x1cd3('0x4d7')]+0x2*_0x2f3b85+_0x4f5806,_0x186c84[_0x1cd3('0x4e4')]=_0x479086['height']+0x2*_0x2f3b85+_0x18c44c,this[_0x1cd3('0x2c89')][_0x1cd3('0x2a77')]()['setGeometry'](_0x476334,_0x186c84),this[_0x1cd3('0x2c89')]['moveCells'](_0x245476,_0x2f3b85+_0x4f5806-_0x479086['x'],_0x2f3b85+_0x18c44c-_0x479086['y']));}}finally{this['graph']['getModel']()[_0x1cd3('0x2b5e')]();}};function mxStackLayout(_0xdeb02d,_0x4b4d42,_0x2330a0,_0x173f7d,_0x45981f,_0x2ebb59){mxGraphLayout[_0x1cd3('0x46d')](this,_0xdeb02d);this[_0x1cd3('0x749')]=null!=_0x4b4d42?_0x4b4d42:!0x0;this[_0x1cd3('0x2aed')]=null!=_0x2330a0?_0x2330a0:0x0;this['x0']=null!=_0x173f7d?_0x173f7d:0x0;this['y0']=null!=_0x45981f?_0x45981f:0x0;this['border']=null!=_0x2ebb59?_0x2ebb59:0x0;}mxStackLayout[_0x1cd3('0x77a')]=new mxGraphLayout();mxStackLayout[_0x1cd3('0x77a')]['constructor']=mxStackLayout;mxStackLayout[_0x1cd3('0x77a')][_0x1cd3('0x749')]=null;mxStackLayout[_0x1cd3('0x77a')][_0x1cd3('0x2aed')]=null;mxStackLayout[_0x1cd3('0x77a')]['x0']=null;mxStackLayout[_0x1cd3('0x77a')]['y0']=null;mxStackLayout[_0x1cd3('0x77a')][_0x1cd3('0x2c6a')]=0x0;mxStackLayout[_0x1cd3('0x77a')][_0x1cd3('0x2e71')]=!0x1;mxStackLayout['prototype'][_0x1cd3('0x2d02')]=!0x1;mxStackLayout[_0x1cd3('0x77a')][_0x1cd3('0x2e72')]=!0x1;mxStackLayout['prototype'][_0x1cd3('0x2e73')]=!0x1;mxStackLayout[_0x1cd3('0x77a')][_0x1cd3('0x2d01')]=null;mxStackLayout[_0x1cd3('0x77a')][_0x1cd3('0x2e74')]=function(){return this[_0x1cd3('0x749')];};mxStackLayout[_0x1cd3('0x77a')][_0x1cd3('0x2e75')]=function(_0x19d938,_0x21f112,_0x3f8c85){var _0x28de6b=this['graph'][_0x1cd3('0x2a77')](),_0x4acb88=_0x28de6b[_0x1cd3('0x2c9d')](_0x19d938),_0x2144b0=this[_0x1cd3('0x2e74')]();if(null!=_0x19d938&&null!=_0x4acb88){var _0x1536f7=0x0,_0xf739f7=0x0,_0x36b570=_0x28de6b['getChildCount'](_0x4acb88);_0x21f112=_0x2144b0?_0x21f112:_0x3f8c85;_0x1536f7=this['graph']['getView']()['getState'](_0x4acb88);null!=_0x1536f7&&(_0x21f112-=_0x2144b0?_0x1536f7['x']:_0x1536f7['y']);for(_0x1536f7=0x0;_0x1536f7<_0x36b570;_0x1536f7++)if(_0x3f8c85=_0x28de6b[_0x1cd3('0x29e6')](_0x4acb88,_0x1536f7),_0x3f8c85!=_0x19d938&&(_0x3f8c85=_0x28de6b[_0x1cd3('0x2e67')](_0x3f8c85),null!=_0x3f8c85)){_0x3f8c85=_0x2144b0?_0x3f8c85['x']+_0x3f8c85[_0x1cd3('0x4d7')]/0x2:_0x3f8c85['y']+_0x3f8c85[_0x1cd3('0x4e4')]/0x2;if(_0xf739f7<_0x21f112&&_0x3f8c85>_0x21f112)break;_0xf739f7=_0x3f8c85;}_0x2144b0=_0x4acb88[_0x1cd3('0x2e76')](_0x19d938);_0x2144b0=Math['max'](0x0,_0x1536f7-(_0x1536f7>_0x2144b0?0x1:0x0));_0x28de6b['add'](_0x4acb88,_0x19d938,_0x2144b0);}};mxStackLayout[_0x1cd3('0x77a')][_0x1cd3('0x2e77')]=function(_0x3e9897){var _0x234480=this[_0x1cd3('0x2c89')][_0x1cd3('0x2a77')](),_0x1045cd=_0x234480[_0x1cd3('0x2e67')](_0x3e9897);if(null!=this['graph'][_0x1cd3('0x4ce')]&&(null==_0x1045cd&&_0x234480[_0x1cd3('0x2e78')](_0x3e9897)||_0x3e9897==this[_0x1cd3('0x2c89')][_0x1cd3('0x29de')]()[_0x1cd3('0x2e79')]))_0x1045cd=new mxRectangle(0x0,0x0,this[_0x1cd3('0x2c89')][_0x1cd3('0x4ce')][_0x1cd3('0x2a1f')]-0x1,this[_0x1cd3('0x2c89')]['container'][_0x1cd3('0x535')]-0x1);return _0x1045cd;};mxStackLayout['prototype'][_0x1cd3('0x2b5b')]=function(_0x3d45d5){if(null!=_0x3d45d5){var _0x1c6c50=this['isHorizontal'](),_0x37579d=this[_0x1cd3('0x2c89')]['getModel'](),_0x279725=this[_0x1cd3('0x2e77')](_0x3d45d5),_0x5a8a7b=0x0;null!=_0x279725&&(_0x5a8a7b=_0x1c6c50?_0x279725[_0x1cd3('0x4e4')]:_0x279725[_0x1cd3('0x4d7')]);var _0x5a8a7b=_0x5a8a7b-(0x2*this[_0x1cd3('0x2aed')]+0x2*this[_0x1cd3('0x2c6a')]),_0x838b80=this['x0']+this[_0x1cd3('0x2c6a')],_0x260645=this['y0']+this['border'];if(this[_0x1cd3('0x2c89')][_0x1cd3('0x2e6f')](_0x3d45d5)){var _0x412daa=this[_0x1cd3('0x2c89')][_0x1cd3('0x2e7a')](_0x3d45d5),_0x2f6117=mxUtils['getValue'](_0x412daa,mxConstants['STYLE_STARTSIZE'],mxConstants[_0x1cd3('0x2e53')]),_0x412daa=mxUtils[_0x1cd3('0x2a5a')](_0x412daa,mxConstants[_0x1cd3('0x2a5c')],!0x0);_0x1c6c50==_0x412daa&&(_0x5a8a7b-=_0x2f6117);_0x1c6c50?_0x260645+=_0x2f6117:_0x838b80+=_0x2f6117;}_0x37579d[_0x1cd3('0x2a6c')]();try{for(var _0x2f6117=0x0,_0x412daa=null,_0xa81d76=_0x37579d[_0x1cd3('0x29e5')](_0x3d45d5),_0x296da0=0x0;_0x296da0<_0xa81d76;_0x296da0++){var _0xc80edf=_0x37579d[_0x1cd3('0x29e6')](_0x3d45d5,_0x296da0);if(!this[_0x1cd3('0x2e5f')](_0xc80edf)&&this[_0x1cd3('0x2e7b')](_0xc80edf)){var _0xf2fd9a=_0x37579d[_0x1cd3('0x2e67')](_0xc80edf);if(null!=_0xf2fd9a){_0xf2fd9a=_0xf2fd9a['clone']();if(null!=this['wrap']&&null!=_0x412daa&&(_0x1c6c50&&_0x412daa['x']+_0x412daa[_0x1cd3('0x4d7')]+_0xf2fd9a[_0x1cd3('0x4d7')]+0x2*this[_0x1cd3('0x2aed')]>this['wrap']||!_0x1c6c50&&_0x412daa['y']+_0x412daa[_0x1cd3('0x4e4')]+_0xf2fd9a[_0x1cd3('0x4e4')]+0x2*this[_0x1cd3('0x2aed')]>this['wrap']))_0x412daa=null,_0x1c6c50?_0x260645+=_0x2f6117+this['spacing']:_0x838b80+=_0x2f6117+this[_0x1cd3('0x2aed')],_0x2f6117=0x0;_0x2f6117=Math['max'](_0x2f6117,_0x1c6c50?_0xf2fd9a[_0x1cd3('0x4e4')]:_0xf2fd9a[_0x1cd3('0x4d7')]);null!=_0x412daa?_0x1c6c50?_0xf2fd9a['x']=_0x412daa['x']+_0x412daa[_0x1cd3('0x4d7')]+this['spacing']:_0xf2fd9a['y']=_0x412daa['y']+_0x412daa[_0x1cd3('0x4e4')]+this['spacing']:this[_0x1cd3('0x2e71')]||(_0x1c6c50?_0xf2fd9a['x']=_0x838b80:_0xf2fd9a['y']=_0x260645);_0x1c6c50?_0xf2fd9a['y']=_0x260645:_0xf2fd9a['x']=_0x838b80;this[_0x1cd3('0x2d02')]&&0x0<_0x5a8a7b&&(_0x1c6c50?_0xf2fd9a[_0x1cd3('0x4e4')]=_0x5a8a7b:_0xf2fd9a[_0x1cd3('0x4d7')]=_0x5a8a7b);_0x37579d[_0x1cd3('0x2e68')](_0xc80edf,_0xf2fd9a);_0x412daa=_0xf2fd9a;}}}this['resizeParent']&&null!=_0x279725&&null!=_0x412daa&&!this[_0x1cd3('0x2c89')]['isCellCollapsed'](_0x3d45d5)?(_0x279725=_0x279725[_0x1cd3('0x1141')](),_0x1c6c50?_0x279725[_0x1cd3('0x4d7')]=_0x412daa['x']+_0x412daa[_0x1cd3('0x4d7')]+this['spacing']:_0x279725[_0x1cd3('0x4e4')]=_0x412daa['y']+_0x412daa[_0x1cd3('0x4e4')]+this[_0x1cd3('0x2aed')],_0x37579d['setGeometry'](_0x3d45d5,_0x279725)):this[_0x1cd3('0x2e73')]&&(null!=_0x279725&&null!=_0x412daa)&&(_0x1c6c50?_0x412daa[_0x1cd3('0x4d7')]=_0x279725[_0x1cd3('0x4d7')]-_0x412daa['x']-this[_0x1cd3('0x2aed')]:_0x412daa[_0x1cd3('0x4e4')]=_0x279725['height']-_0x412daa['y']-this[_0x1cd3('0x2aed')]);}finally{_0x37579d['endUpdate']();}}};function mxPartitionLayout(_0x171188,_0x168f7a,_0x572629,_0x105ddc){mxGraphLayout[_0x1cd3('0x46d')](this,_0x171188);this[_0x1cd3('0x749')]=null!=_0x168f7a?_0x168f7a:!0x0;this[_0x1cd3('0x2aed')]=_0x572629||0x0;this[_0x1cd3('0x2c6a')]=_0x105ddc||0x0;}mxPartitionLayout[_0x1cd3('0x77a')]=new mxGraphLayout();mxPartitionLayout['prototype'][_0x1cd3('0x29db')]=mxPartitionLayout;mxPartitionLayout['prototype']['horizontal']=null;mxPartitionLayout[_0x1cd3('0x77a')]['spacing']=null;mxPartitionLayout[_0x1cd3('0x77a')]['border']=null;mxPartitionLayout[_0x1cd3('0x77a')][_0x1cd3('0x2e7c')]=!0x0;mxPartitionLayout[_0x1cd3('0x77a')][_0x1cd3('0x2e74')]=function(){return this[_0x1cd3('0x749')];};mxPartitionLayout['prototype']['moveCell']=function(_0x157103,_0x80607c,_0x18c5ce){_0x18c5ce=this[_0x1cd3('0x2c89')]['getModel']();var _0x2482ca=_0x18c5ce[_0x1cd3('0x2c9d')](_0x157103);if(null!=_0x157103&&null!=_0x2482ca){for(var _0x3cd225=0x0,_0x140d81=0x0,_0x435c81=_0x18c5ce[_0x1cd3('0x29e5')](_0x2482ca),_0x3cd225=0x0;_0x3cd225<_0x435c81;_0x3cd225++){var _0x42ee4d=_0x18c5ce[_0x1cd3('0x29e6')](_0x2482ca,_0x3cd225),_0x42ee4d=this[_0x1cd3('0x2e6a')](_0x42ee4d);if(null!=_0x42ee4d){_0x42ee4d=_0x42ee4d['x']+_0x42ee4d['width']/0x2;if(_0x140d81<_0x80607c&&_0x42ee4d>_0x80607c)break;_0x140d81=_0x42ee4d;}}_0x80607c=_0x2482ca['getIndex'](_0x157103);_0x80607c=Math[_0x1cd3('0x13d1')](0x0,_0x3cd225-(_0x3cd225>_0x80607c?0x1:0x0));_0x18c5ce[_0x1cd3('0x425')](_0x2482ca,_0x157103,_0x80607c);}};mxPartitionLayout[_0x1cd3('0x77a')][_0x1cd3('0x2b5b')]=function(_0x573c30){var _0x38d928=this[_0x1cd3('0x2e74')](),_0x19305a=this['graph'][_0x1cd3('0x2a77')](),_0x25b2d8=_0x19305a[_0x1cd3('0x2e67')](_0x573c30);if(null!=this[_0x1cd3('0x2c89')][_0x1cd3('0x4ce')]&&(null==_0x25b2d8&&_0x19305a[_0x1cd3('0x2e78')](_0x573c30)||_0x573c30==this[_0x1cd3('0x2c89')][_0x1cd3('0x29de')]()[_0x1cd3('0x2e79')]))_0x25b2d8=new mxRectangle(0x0,0x0,this[_0x1cd3('0x2c89')][_0x1cd3('0x4ce')][_0x1cd3('0x2a1f')]-0x1,this[_0x1cd3('0x2c89')]['container'][_0x1cd3('0x535')]-0x1);if(null!=_0x25b2d8){for(var _0x5dc67f=[],_0x434c42=_0x19305a[_0x1cd3('0x29e5')](_0x573c30),_0x159c3f=0x0;_0x159c3f<_0x434c42;_0x159c3f++){var _0x49587c=_0x19305a[_0x1cd3('0x29e6')](_0x573c30,_0x159c3f);!this[_0x1cd3('0x2e5f')](_0x49587c)&&this[_0x1cd3('0x2e7b')](_0x49587c)&&_0x5dc67f[_0x1cd3('0x7b')](_0x49587c);}_0x434c42=_0x5dc67f[_0x1cd3('0x7a')];if(0x0<_0x434c42){var _0x3170e8=this['border'],_0x28a1ca=this[_0x1cd3('0x2c6a')],_0x3871d5=_0x38d928?_0x25b2d8[_0x1cd3('0x4e4')]:_0x25b2d8[_0x1cd3('0x4d7')],_0x3871d5=_0x3871d5-0x2*this[_0x1cd3('0x2c6a')];_0x573c30=this[_0x1cd3('0x2c89')][_0x1cd3('0x2e6f')](_0x573c30)?this[_0x1cd3('0x2c89')]['getStartSize'](_0x573c30):new mxRectangle();_0x3871d5-=_0x38d928?_0x573c30[_0x1cd3('0x4e4')]:_0x573c30[_0x1cd3('0x4d7')];_0x3170e8+=_0x573c30['width'];_0x28a1ca+=_0x573c30['height'];_0x573c30=this[_0x1cd3('0x2c6a')]+(_0x434c42-0x1)*this[_0x1cd3('0x2aed')];_0x25b2d8=_0x38d928?(_0x25b2d8[_0x1cd3('0x4d7')]-_0x3170e8-_0x573c30)/_0x434c42:(_0x25b2d8[_0x1cd3('0x4e4')]-_0x28a1ca-_0x573c30)/_0x434c42;if(0x0<_0x25b2d8){_0x19305a[_0x1cd3('0x2a6c')]();try{for(_0x159c3f=0x0;_0x159c3f<_0x434c42;_0x159c3f++){var _0x49587c=_0x5dc67f[_0x159c3f],_0x1a17a2=_0x19305a[_0x1cd3('0x2e67')](_0x49587c);null!=_0x1a17a2&&(_0x1a17a2=_0x1a17a2[_0x1cd3('0x1141')](),_0x1a17a2['x']=_0x3170e8,_0x1a17a2['y']=_0x28a1ca,_0x38d928?(this[_0x1cd3('0x2e7c')]&&(_0x1a17a2[_0x1cd3('0x4d7')]=_0x25b2d8,_0x1a17a2[_0x1cd3('0x4e4')]=_0x3871d5),_0x3170e8+=_0x25b2d8+this['spacing']):(this[_0x1cd3('0x2e7c')]&&(_0x1a17a2[_0x1cd3('0x4e4')]=_0x25b2d8,_0x1a17a2['width']=_0x3871d5),_0x28a1ca+=_0x25b2d8+this[_0x1cd3('0x2aed')]),_0x19305a['setGeometry'](_0x49587c,_0x1a17a2));}}finally{_0x19305a[_0x1cd3('0x2b5e')]();}}}}};function mxCompactTreeLayout(_0x13ba19,_0xbc9d21,_0x58267a){mxGraphLayout[_0x1cd3('0x46d')](this,_0x13ba19);this[_0x1cd3('0x749')]=null!=_0xbc9d21?_0xbc9d21:!0x0;this[_0x1cd3('0x2e7d')]=null!=_0x58267a?_0x58267a:!0x1;}mxCompactTreeLayout['prototype']=new mxGraphLayout();mxCompactTreeLayout[_0x1cd3('0x77a')]['constructor']=mxCompactTreeLayout;mxCompactTreeLayout[_0x1cd3('0x77a')][_0x1cd3('0x749')]=null;mxCompactTreeLayout['prototype'][_0x1cd3('0x2e7d')]=null;mxCompactTreeLayout[_0x1cd3('0x77a')]['resizeParent']=!0x0;mxCompactTreeLayout[_0x1cd3('0x77a')][_0x1cd3('0x2e7e')]=0xa;mxCompactTreeLayout[_0x1cd3('0x77a')][_0x1cd3('0x2e7f')]=null;mxCompactTreeLayout['prototype'][_0x1cd3('0x2e80')]=!0x1;mxCompactTreeLayout[_0x1cd3('0x77a')]['levelDistance']=0xa;mxCompactTreeLayout['prototype'][_0x1cd3('0x2e81')]=0x14;mxCompactTreeLayout[_0x1cd3('0x77a')][_0x1cd3('0x2e82')]=!0x0;mxCompactTreeLayout[_0x1cd3('0x77a')][_0x1cd3('0x2e83')]=0x5;mxCompactTreeLayout['prototype'][_0x1cd3('0x2e84')]=0x4;mxCompactTreeLayout[_0x1cd3('0x77a')][_0x1cd3('0x2e85')]=0x8;mxCompactTreeLayout[_0x1cd3('0x77a')][_0x1cd3('0x2e86')]=0x4;mxCompactTreeLayout[_0x1cd3('0x77a')][_0x1cd3('0x2e87')]=!0x0;mxCompactTreeLayout[_0x1cd3('0x77a')][_0x1cd3('0x2e5f')]=function(_0x1a96f5){return mxGraphLayout[_0x1cd3('0x77a')][_0x1cd3('0x2e5f')]['apply'](this,arguments)||0x0==this[_0x1cd3('0x2c89')][_0x1cd3('0x2e88')](_0x1a96f5)[_0x1cd3('0x7a')];};mxCompactTreeLayout[_0x1cd3('0x77a')][_0x1cd3('0x2e74')]=function(){return this['horizontal'];};mxCompactTreeLayout[_0x1cd3('0x77a')][_0x1cd3('0x2b5b')]=function(_0x209f22,_0x1be8ad){this[_0x1cd3('0x36c')]=_0x209f22;var _0x22ad51=this[_0x1cd3('0x2c89')][_0x1cd3('0x2a77')]();if(null==_0x1be8ad)if(0x0<this['graph'][_0x1cd3('0x29e7')](_0x209f22,_0x22ad51['getParent'](_0x209f22),this['invert'],!this['invert'],!0x1)['length'])_0x1be8ad=_0x209f22;else{var _0x5efe34=this[_0x1cd3('0x2c89')]['findTreeRoots'](_0x209f22,!0x0,this[_0x1cd3('0x2e7d')]);if(0x0<_0x5efe34[_0x1cd3('0x7a')])for(var _0x58bb5b=0x0;_0x58bb5b<_0x5efe34['length'];_0x58bb5b++)if(!this['isVertexIgnored'](_0x5efe34[_0x58bb5b])&&0x0<this['graph'][_0x1cd3('0x29e7')](_0x5efe34[_0x58bb5b],null,this['invert'],!this[_0x1cd3('0x2e7d')],!0x1)[_0x1cd3('0x7a')]){_0x1be8ad=_0x5efe34[_0x58bb5b];break;}}if(null!=_0x1be8ad){this[_0x1cd3('0x2e7f')]=this[_0x1cd3('0x2e72')]?{}:null;_0x22ad51[_0x1cd3('0x2a6c')]();try{var _0x123ca2=this[_0x1cd3('0x2e89')](_0x1be8ad,_0x209f22);if(null!=_0x123ca2){this['layout'](_0x123ca2);var _0x4b67cf=this[_0x1cd3('0x2c89')][_0x1cd3('0x2c06')],_0x5efe34=_0x4b67cf;if(!this[_0x1cd3('0x2e80')]){var _0x5015c8=this['getVertexBounds'](_0x1be8ad);null!=_0x5015c8&&(_0x4b67cf=_0x5015c8['x'],_0x5efe34=_0x5015c8['y']);}_0x5015c8=null;_0x5015c8=this[_0x1cd3('0x2e74')]()?this[_0x1cd3('0x2e8a')](_0x123ca2,_0x4b67cf,_0x5efe34):this['verticalLayout'](_0x123ca2,null,_0x4b67cf,_0x5efe34);if(null!=_0x5015c8){var _0x1823b0=_0x58bb5b=0x0;0x0>_0x5015c8['x']&&(_0x58bb5b=Math[_0x1cd3('0x2a4c')](_0x4b67cf-_0x5015c8['x']));0x0>_0x5015c8['y']&&(_0x1823b0=Math['abs'](_0x5efe34-_0x5015c8['y']));(0x0!=_0x58bb5b||0x0!=_0x1823b0)&&this[_0x1cd3('0x2e8b')](_0x123ca2,_0x58bb5b,_0x1823b0);this[_0x1cd3('0x2e72')]&&this[_0x1cd3('0x2e8c')]();this[_0x1cd3('0x2e87')]&&this['localEdgeProcessing'](_0x123ca2);}}}finally{_0x22ad51[_0x1cd3('0x2b5e')]();}}};mxCompactTreeLayout[_0x1cd3('0x77a')]['moveNode']=function(_0x1f428b,_0x5deef4,_0x28349c){_0x1f428b['x']+=_0x5deef4;_0x1f428b['y']+=_0x28349c;this['apply'](_0x1f428b);for(_0x1f428b=_0x1f428b[_0x1cd3('0x29da')];null!=_0x1f428b;)this[_0x1cd3('0x2e8b')](_0x1f428b,_0x5deef4,_0x28349c),_0x1f428b=_0x1f428b[_0x1cd3('0x28eb')];};mxCompactTreeLayout[_0x1cd3('0x77a')][_0x1cd3('0x2e89')]=function(_0x18405c,_0x22ac87,_0x31ca00){_0x31ca00=null!=_0x31ca00?_0x31ca00:[];var _0x5a25cf=mxCellPath[_0x1cd3('0x624')](_0x18405c),_0x6d2b5a=null;if(null!=_0x18405c&&null==_0x31ca00[_0x5a25cf]&&!this[_0x1cd3('0x2e5f')](_0x18405c)){_0x31ca00[_0x5a25cf]=_0x18405c;var _0x6d2b5a=this[_0x1cd3('0x2e8d')](_0x18405c),_0x5a25cf=this[_0x1cd3('0x2c89')][_0x1cd3('0x2a77')](),_0x5e8662=null;_0x18405c=this[_0x1cd3('0x2c89')]['getEdges'](_0x18405c,_0x22ac87,this[_0x1cd3('0x2e7d')],!this['invert'],!0x1,!0x0);for(var _0x2918c7=this[_0x1cd3('0x2c89')]['getView'](),_0x223984=0x0;_0x223984<_0x18405c[_0x1cd3('0x7a')];_0x223984++){var _0x4881cf=_0x18405c[_0x223984];if(!this[_0x1cd3('0x2e61')](_0x4881cf)){this[_0x1cd3('0x2e82')]&&this['setEdgePoints'](_0x4881cf,null);this[_0x1cd3('0x2e87')]&&(this['setEdgeStyleEnabled'](_0x4881cf,!0x1),this[_0x1cd3('0x2e8e')](_0x4881cf,null));var _0x1a4852=_0x2918c7[_0x1cd3('0x29d9')](_0x4881cf),_0x4881cf=null!=_0x1a4852?_0x1a4852[_0x1cd3('0x2e5c')](this[_0x1cd3('0x2e7d')]):_0x2918c7[_0x1cd3('0x2e5c')](_0x4881cf,this[_0x1cd3('0x2e7d')]),_0x1a4852=this[_0x1cd3('0x2e89')](_0x4881cf,_0x22ac87,_0x31ca00);null!=_0x1a4852&&null!=_0x5a25cf['getGeometry'](_0x4881cf)&&(null==_0x5e8662?_0x6d2b5a[_0x1cd3('0x29da')]=_0x1a4852:_0x5e8662[_0x1cd3('0x28eb')]=_0x1a4852,_0x5e8662=_0x1a4852);}}}return _0x6d2b5a;};mxCompactTreeLayout[_0x1cd3('0x77a')][_0x1cd3('0x2e8f')]=function(_0x36da47){if(null!=_0x36da47){for(var _0x36a7a0=_0x36da47[_0x1cd3('0x29da')];null!=_0x36a7a0;)this[_0x1cd3('0x2e8f')](_0x36a7a0),_0x36a7a0=_0x36a7a0[_0x1cd3('0x28eb')];null!=_0x36da47[_0x1cd3('0x29da')]?this[_0x1cd3('0x2e90')](_0x36da47,this[_0x1cd3('0x3de')](_0x36da47)):this[_0x1cd3('0x2e91')](_0x36da47);}};mxCompactTreeLayout[_0x1cd3('0x77a')]['horizontalLayout']=function(_0x4e3d88,_0x2920c5,_0x351f66,_0xc06041){_0x4e3d88['x']+=_0x2920c5+_0x4e3d88[_0x1cd3('0x2e92')];_0x4e3d88['y']+=_0x351f66+_0x4e3d88['offsetY'];_0xc06041=this[_0x1cd3('0x4df')](_0x4e3d88,_0xc06041);_0x2920c5=_0x4e3d88[_0x1cd3('0x29da')];if(null!=_0x2920c5){_0xc06041=this['horizontalLayout'](_0x2920c5,_0x4e3d88['x'],_0x4e3d88['y'],_0xc06041);_0x351f66=_0x4e3d88['y']+_0x2920c5[_0x1cd3('0x2e93')];for(var _0x18a488=_0x2920c5[_0x1cd3('0x28eb')];null!=_0x18a488;)_0xc06041=this[_0x1cd3('0x2e8a')](_0x18a488,_0x4e3d88['x']+_0x2920c5[_0x1cd3('0x2e92')],_0x351f66,_0xc06041),_0x351f66+=_0x18a488['offsetY'],_0x18a488=_0x18a488[_0x1cd3('0x28eb')];}return _0xc06041;};mxCompactTreeLayout[_0x1cd3('0x77a')]['verticalLayout']=function(_0xb71adc,_0x245300,_0x110401,_0x41ef91,_0x185b46){_0xb71adc['x']+=_0x110401+_0xb71adc[_0x1cd3('0x2e93')];_0xb71adc['y']+=_0x41ef91+_0xb71adc[_0x1cd3('0x2e92')];_0x185b46=this[_0x1cd3('0x4df')](_0xb71adc,_0x185b46);_0x245300=_0xb71adc[_0x1cd3('0x29da')];if(null!=_0x245300){_0x185b46=this[_0x1cd3('0x2e94')](_0x245300,_0xb71adc,_0xb71adc['x'],_0xb71adc['y'],_0x185b46);_0x110401=_0xb71adc['x']+_0x245300[_0x1cd3('0x2e93')];for(_0x41ef91=_0x245300[_0x1cd3('0x28eb')];null!=_0x41ef91;)_0x185b46=this[_0x1cd3('0x2e94')](_0x41ef91,_0xb71adc,_0x110401,_0xb71adc['y']+_0x245300[_0x1cd3('0x2e92')],_0x185b46),_0x110401+=_0x41ef91['offsetY'],_0x41ef91=_0x41ef91[_0x1cd3('0x28eb')];}return _0x185b46;};mxCompactTreeLayout[_0x1cd3('0x77a')]['attachParent']=function(_0x26d1fb,_0x228ef6){var _0x995334=this[_0x1cd3('0x2e81')]+this['levelDistance'],_0x3659bd=(_0x228ef6-_0x26d1fb[_0x1cd3('0x4d7')])/0x2-this['nodeDistance'],_0x51dbc0=_0x3659bd+_0x26d1fb[_0x1cd3('0x4d7')]+0x2*this[_0x1cd3('0x2e81')]-_0x228ef6;_0x26d1fb[_0x1cd3('0x29da')][_0x1cd3('0x2e92')]=_0x995334+_0x26d1fb[_0x1cd3('0x4e4')];_0x26d1fb[_0x1cd3('0x29da')][_0x1cd3('0x2e93')]=_0x51dbc0;_0x26d1fb[_0x1cd3('0x2e95')]['upperHead']=this[_0x1cd3('0x2e96')](_0x26d1fb[_0x1cd3('0x4e4')],0x0,this[_0x1cd3('0x2e96')](_0x995334,_0x51dbc0,_0x26d1fb['contour'][_0x1cd3('0x2e97')]));_0x26d1fb[_0x1cd3('0x2e95')][_0x1cd3('0x2e98')]=this['createLine'](_0x26d1fb[_0x1cd3('0x4e4')],0x0,this['createLine'](_0x995334,_0x3659bd,_0x26d1fb[_0x1cd3('0x2e95')][_0x1cd3('0x2e98')]));};mxCompactTreeLayout[_0x1cd3('0x77a')][_0x1cd3('0x2e91')]=function(_0x47dc31){var _0x2744a1=0x2*this['nodeDistance'];_0x47dc31['contour'][_0x1cd3('0x2e99')]=this[_0x1cd3('0x2e96')](_0x47dc31['height']+_0x2744a1,0x0);_0x47dc31[_0x1cd3('0x2e95')][_0x1cd3('0x2e97')]=_0x47dc31[_0x1cd3('0x2e95')]['upperTail'];_0x47dc31[_0x1cd3('0x2e95')][_0x1cd3('0x2e9a')]=this[_0x1cd3('0x2e96')](0x0,-_0x47dc31[_0x1cd3('0x4d7')]-_0x2744a1);_0x47dc31['contour'][_0x1cd3('0x2e98')]=this[_0x1cd3('0x2e96')](_0x47dc31[_0x1cd3('0x4e4')]+_0x2744a1,0x0,_0x47dc31[_0x1cd3('0x2e95')][_0x1cd3('0x2e9a')]);};mxCompactTreeLayout['prototype'][_0x1cd3('0x3de')]=function(_0x501f8b){var _0x45f278=0x2*this[_0x1cd3('0x2e81')],_0xb0be92=_0x501f8b['child'];_0x501f8b[_0x1cd3('0x2e95')]=_0xb0be92['contour'];for(var _0x56ae1f=_0xb0be92[_0x1cd3('0x4d7')]+_0x45f278,_0x5c5c46=_0x56ae1f,_0xb0be92=_0xb0be92[_0x1cd3('0x28eb')];null!=_0xb0be92;){var _0x2efcc0=this['merge'](_0x501f8b[_0x1cd3('0x2e95')],_0xb0be92[_0x1cd3('0x2e95')]);_0xb0be92[_0x1cd3('0x2e93')]=_0x2efcc0+_0x56ae1f;_0xb0be92[_0x1cd3('0x2e92')]=0x0;_0x56ae1f=_0xb0be92['width']+_0x45f278;_0x5c5c46+=_0x2efcc0+_0x56ae1f;_0xb0be92=_0xb0be92['next'];}return _0x5c5c46;};mxCompactTreeLayout[_0x1cd3('0x77a')]['merge']=function(_0x2f666c,_0x309981){for(var _0x519c58=0x0,_0x170ff1=0x0,_0x1b6f41=0x0,_0x3b693d=_0x2f666c['lowerHead'],_0x2a005=_0x309981['upperHead'];null!=_0x2a005&&null!=_0x3b693d;){var _0x4f0bd7=this[_0x1cd3('0xd57')](_0x519c58,_0x170ff1,_0x2a005['dx'],_0x2a005['dy'],_0x3b693d['dx'],_0x3b693d['dy']),_0x170ff1=_0x170ff1+_0x4f0bd7,_0x1b6f41=_0x1b6f41+_0x4f0bd7;_0x519c58+_0x2a005['dx']<=_0x3b693d['dx']?(_0x519c58+=_0x2a005['dx'],_0x170ff1+=_0x2a005['dy'],_0x2a005=_0x2a005[_0x1cd3('0x28eb')]):(_0x519c58-=_0x3b693d['dx'],_0x170ff1-=_0x3b693d['dy'],_0x3b693d=_0x3b693d[_0x1cd3('0x28eb')]);}null!=_0x2a005?(_0x519c58=this[_0x1cd3('0x2e9b')](_0x2f666c[_0x1cd3('0x2e99')],0x0,0x0,_0x2a005,_0x519c58,_0x170ff1),_0x2f666c[_0x1cd3('0x2e99')]=null!=_0x519c58['next']?_0x309981[_0x1cd3('0x2e99')]:_0x519c58,_0x2f666c[_0x1cd3('0x2e9a')]=_0x309981[_0x1cd3('0x2e9a')]):(_0x519c58=this[_0x1cd3('0x2e9b')](_0x309981[_0x1cd3('0x2e9a')],_0x519c58,_0x170ff1,_0x3b693d,0x0,0x0),null==_0x519c58[_0x1cd3('0x28eb')]&&(_0x2f666c[_0x1cd3('0x2e9a')]=_0x519c58));_0x2f666c[_0x1cd3('0x2e98')]=_0x309981[_0x1cd3('0x2e98')];return _0x1b6f41;};mxCompactTreeLayout[_0x1cd3('0x77a')][_0x1cd3('0xd57')]=function(_0x108364,_0x3654f7,_0x683a10,_0x4c24e8,_0xd1a10f,_0xdbb2de){var _0xa5938a=0x0;if(_0xd1a10f<=_0x108364||0x0>=_0x108364+_0x683a10)return 0x0;_0xa5938a=0x0<_0xd1a10f*_0x4c24e8-_0x683a10*_0xdbb2de?0x0>_0x108364?_0x108364*_0x4c24e8/_0x683a10-_0x3654f7:0x0<_0x108364?_0x108364*_0xdbb2de/_0xd1a10f-_0x3654f7:-_0x3654f7:_0xd1a10f<_0x108364+_0x683a10?_0xdbb2de-(_0x3654f7+(_0xd1a10f-_0x108364)*_0x4c24e8/_0x683a10):_0xd1a10f>_0x108364+_0x683a10?(_0x683a10+_0x108364)*_0xdbb2de/_0xd1a10f-(_0x3654f7+_0x4c24e8):_0xdbb2de-(_0x3654f7+_0x4c24e8);return 0x0<_0xa5938a?_0xa5938a:0x0;};mxCompactTreeLayout[_0x1cd3('0x77a')]['bridge']=function(_0x2a46ca,_0x4eedb3,_0x192a97,_0x31580a,_0x1833f7,_0xc5254d){_0x4eedb3=_0x1833f7+_0x31580a['dx']-_0x4eedb3;_0x1833f7=_0x1833f7=0x0;0x0==_0x31580a['dx']?_0x1833f7=_0x31580a['dy']:(_0x1833f7=_0x4eedb3*_0x31580a['dy'],_0x1833f7/=_0x31580a['dx']);_0x4eedb3=this['createLine'](_0x4eedb3,_0x1833f7,_0x31580a['next']);_0x2a46ca['next']=this[_0x1cd3('0x2e96')](0x0,_0xc5254d+_0x31580a['dy']-_0x1833f7-_0x192a97,_0x4eedb3);return _0x4eedb3;};mxCompactTreeLayout[_0x1cd3('0x77a')][_0x1cd3('0x2e8d')]=function(_0x3ca2d3){var _0x1e9f22={};_0x1e9f22['cell']=_0x3ca2d3;_0x1e9f22['x']=0x0;_0x1e9f22['y']=0x0;_0x1e9f22[_0x1cd3('0x4d7')]=0x0;_0x1e9f22[_0x1cd3('0x4e4')]=0x0;_0x3ca2d3=this[_0x1cd3('0x2e6a')](_0x3ca2d3);null!=_0x3ca2d3&&(this[_0x1cd3('0x2e74')]()?(_0x1e9f22[_0x1cd3('0x4d7')]=_0x3ca2d3['height'],_0x1e9f22[_0x1cd3('0x4e4')]=_0x3ca2d3[_0x1cd3('0x4d7')]):(_0x1e9f22[_0x1cd3('0x4d7')]=_0x3ca2d3[_0x1cd3('0x4d7')],_0x1e9f22[_0x1cd3('0x4e4')]=_0x3ca2d3['height']));_0x1e9f22[_0x1cd3('0x2e92')]=0x0;_0x1e9f22['offsetY']=0x0;_0x1e9f22[_0x1cd3('0x2e95')]={};return _0x1e9f22;};mxCompactTreeLayout[_0x1cd3('0x77a')][_0x1cd3('0x4df')]=function(_0xab02c5,_0x14b320){var _0x39dd3b=this[_0x1cd3('0x2c89')][_0x1cd3('0x2a77')](),_0x29fb3b=_0xab02c5['cell'],_0xe40d12=_0x39dd3b[_0x1cd3('0x2e67')](_0x29fb3b);null!=_0x29fb3b&&null!=_0xe40d12&&(this[_0x1cd3('0x2e7b')](_0x29fb3b)&&(_0xe40d12=this[_0x1cd3('0x2e69')](_0x29fb3b,_0xab02c5['x'],_0xab02c5['y']),this['resizeParent']&&(_0x39dd3b=_0x39dd3b[_0x1cd3('0x2c9d')](_0x29fb3b),_0x29fb3b=mxCellPath[_0x1cd3('0x624')](_0x39dd3b),null==this[_0x1cd3('0x2e7f')][_0x29fb3b]&&(this[_0x1cd3('0x2e7f')][_0x29fb3b]=_0x39dd3b))),_0x14b320=null==_0x14b320?new mxRectangle(_0xe40d12['x'],_0xe40d12['y'],_0xe40d12[_0x1cd3('0x4d7')],_0xe40d12[_0x1cd3('0x4e4')]):new mxRectangle(Math[_0x1cd3('0x4e3')](_0x14b320['x'],_0xe40d12['x']),Math[_0x1cd3('0x4e3')](_0x14b320['y'],_0xe40d12['y']),Math[_0x1cd3('0x13d1')](_0x14b320['x']+_0x14b320[_0x1cd3('0x4d7')],_0xe40d12['x']+_0xe40d12[_0x1cd3('0x4d7')]),Math[_0x1cd3('0x13d1')](_0x14b320['y']+_0x14b320[_0x1cd3('0x4e4')],_0xe40d12['y']+_0xe40d12[_0x1cd3('0x4e4')])));return _0x14b320;};mxCompactTreeLayout[_0x1cd3('0x77a')][_0x1cd3('0x2e96')]=function(_0x45a852,_0x53b029,_0x333e52){var _0x4468e={};_0x4468e['dx']=_0x45a852;_0x4468e['dy']=_0x53b029;_0x4468e[_0x1cd3('0x28eb')]=_0x333e52;return _0x4468e;};mxCompactTreeLayout[_0x1cd3('0x77a')][_0x1cd3('0x2e8c')]=function(){var _0x14797b=[],_0x4677b7;for(_0x4677b7 in this[_0x1cd3('0x2e7f')])_0x14797b[_0x1cd3('0x7b')](this[_0x1cd3('0x2e7f')][_0x4677b7]);this[_0x1cd3('0x2e6c')](mxUtils[_0x1cd3('0x2e9c')](_0x14797b,!0x0),this['groupPadding']);};mxCompactTreeLayout[_0x1cd3('0x77a')][_0x1cd3('0x2e9d')]=function(_0x1f216c){this[_0x1cd3('0x2e9e')](_0x1f216c);for(_0x1f216c=_0x1f216c[_0x1cd3('0x29da')];null!=_0x1f216c;)this[_0x1cd3('0x2e9d')](_0x1f216c),_0x1f216c=_0x1f216c[_0x1cd3('0x28eb')];};mxCompactTreeLayout[_0x1cd3('0x77a')][_0x1cd3('0x2e9e')]=function(_0x276e73){for(var _0x367764=_0x276e73[_0x1cd3('0x29da')],_0x296c31=_0x276e73[_0x1cd3('0xefb')],_0x2d5f93=0x0,_0x4f81b4=[];null!=_0x367764;){_0x2d5f93++;var _0x2f08b0=_0x367764['x'];this[_0x1cd3('0x749')]&&(_0x2f08b0=_0x367764['y']);_0x4f81b4[_0x1cd3('0x7b')](new WeightedCellSorter(_0x367764,_0x2f08b0));_0x367764=_0x367764[_0x1cd3('0x28eb')];}_0x4f81b4['sort'](WeightedCellSorter[_0x1cd3('0x77a')][_0x1cd3('0x2a6a')]);var _0x2f08b0=_0x276e73['width'],_0x5bc6aa=(_0x2d5f93+0x1)*this[_0x1cd3('0x2e83')];_0x2f08b0>_0x5bc6aa+0x2*this[_0x1cd3('0x2e83')]&&(_0x2f08b0-=0x2*this[_0x1cd3('0x2e83')]);_0x276e73=_0x2f08b0/_0x2d5f93;_0x367764=_0x276e73/0x2;_0x2f08b0>_0x5bc6aa+0x2*this[_0x1cd3('0x2e83')]&&(_0x367764+=this[_0x1cd3('0x2e83')]);for(var _0x2f08b0=this[_0x1cd3('0x2e85')]-this['prefVertEdgeOff'],_0x5bc6aa=0x0,_0x5b93eb=this[_0x1cd3('0x2e6a')](_0x296c31),_0x39fe2a=0x0;_0x39fe2a<_0x4f81b4[_0x1cd3('0x7a')];_0x39fe2a++){for(var _0x16ef35=_0x4f81b4[_0x39fe2a]['cell'][_0x1cd3('0xefb')],_0x21372a=this[_0x1cd3('0x2e6a')](_0x16ef35),_0x16ef35=this[_0x1cd3('0x2c89')]['getEdgesBetween'](_0x296c31,_0x16ef35,!0x1),_0x3505c5=[],_0x5a50a5=0x0,_0x253b60=0x0,_0x5ee963=0x0;_0x5ee963<_0x16ef35['length'];_0x5ee963++)this[_0x1cd3('0x749')]?(_0x5a50a5=_0x5b93eb['x']+_0x5b93eb[_0x1cd3('0x4d7')],_0x253b60=_0x5b93eb['y']+_0x367764,_0x3505c5[_0x1cd3('0x7b')](new mxPoint(_0x5a50a5,_0x253b60)),_0x5a50a5=_0x5b93eb['x']+_0x5b93eb[_0x1cd3('0x4d7')]+_0x2f08b0,_0x3505c5['push'](new mxPoint(_0x5a50a5,_0x253b60)),_0x253b60=_0x21372a['y']+_0x21372a[_0x1cd3('0x4e4')]/0x2):(_0x5a50a5=_0x5b93eb['x']+_0x367764,_0x253b60=_0x5b93eb['y']+_0x5b93eb['height'],_0x3505c5[_0x1cd3('0x7b')](new mxPoint(_0x5a50a5,_0x253b60)),_0x253b60=_0x5b93eb['y']+_0x5b93eb['height']+_0x2f08b0,_0x3505c5[_0x1cd3('0x7b')](new mxPoint(_0x5a50a5,_0x253b60)),_0x5a50a5=_0x21372a['x']+_0x21372a[_0x1cd3('0x4d7')]/0x2),_0x3505c5[_0x1cd3('0x7b')](new mxPoint(_0x5a50a5,_0x253b60)),this['setEdgePoints'](_0x16ef35[_0x5ee963],_0x3505c5);_0x39fe2a<_0x2d5f93/0x2?_0x2f08b0+=this[_0x1cd3('0x2e84')]:_0x39fe2a>_0x2d5f93/0x2&&(_0x2f08b0-=this[_0x1cd3('0x2e84')]);_0x367764+=_0x276e73;_0x5bc6aa=Math[_0x1cd3('0x13d1')](_0x5bc6aa,_0x2f08b0);}};function WeightedCellSorter(_0x19ff0b,_0x2d7934){this[_0x1cd3('0xefb')]=_0x19ff0b;this[_0x1cd3('0x2e9f')]=_0x2d7934;}WeightedCellSorter[_0x1cd3('0x77a')]['weightedValue']=0x0;WeightedCellSorter[_0x1cd3('0x77a')][_0x1cd3('0x2ea0')]=!0x1;WeightedCellSorter[_0x1cd3('0x77a')][_0x1cd3('0x2ea1')]=!0x1;WeightedCellSorter[_0x1cd3('0x77a')]['rankIndex']=null;WeightedCellSorter[_0x1cd3('0x77a')][_0x1cd3('0xefb')]=null;WeightedCellSorter['prototype'][_0x1cd3('0x2a6a')]=function(_0x22315f,_0xa091d4){return null!=_0x22315f&&null!=_0xa091d4?_0xa091d4[_0x1cd3('0x2e9f')]>_0x22315f[_0x1cd3('0x2e9f')]?0x1:_0xa091d4['weightedValue']<_0x22315f[_0x1cd3('0x2e9f')]?-0x1:_0xa091d4[_0x1cd3('0x2ea0')]?0x1:-0x1:0x0;};function mxFastOrganicLayout(_0x2fdaf3){mxGraphLayout[_0x1cd3('0x46d')](this,_0x2fdaf3);}mxFastOrganicLayout['prototype']=new mxGraphLayout();mxFastOrganicLayout[_0x1cd3('0x77a')]['constructor']=mxFastOrganicLayout;mxFastOrganicLayout[_0x1cd3('0x77a')][_0x1cd3('0x2ea2')]=!0x0;mxFastOrganicLayout[_0x1cd3('0x77a')]['resetEdges']=!0x0;mxFastOrganicLayout[_0x1cd3('0x77a')][_0x1cd3('0x2ea3')]=!0x0;mxFastOrganicLayout['prototype']['forceConstant']=0x32;mxFastOrganicLayout['prototype'][_0x1cd3('0x2ea4')]=0x0;mxFastOrganicLayout['prototype']['minDistanceLimit']=0x2;mxFastOrganicLayout[_0x1cd3('0x77a')][_0x1cd3('0x2ea5')]=0x1f4;mxFastOrganicLayout[_0x1cd3('0x77a')][_0x1cd3('0x2ea6')]=0x4;mxFastOrganicLayout[_0x1cd3('0x77a')][_0x1cd3('0x2ea7')]=0xc8;mxFastOrganicLayout[_0x1cd3('0x77a')]['temperature']=0x0;mxFastOrganicLayout[_0x1cd3('0x77a')]['maxIterations']=0x0;mxFastOrganicLayout[_0x1cd3('0x77a')][_0x1cd3('0x2ea8')]=0x0;mxFastOrganicLayout[_0x1cd3('0x77a')][_0x1cd3('0x2ea9')]=!0x0;mxFastOrganicLayout[_0x1cd3('0x77a')][_0x1cd3('0x2e5f')]=function(_0x4fc702){return mxGraphLayout[_0x1cd3('0x77a')]['isVertexIgnored'][_0x1cd3('0x4df')](this,arguments)||0x0==this['graph'][_0x1cd3('0x2e88')](_0x4fc702)['length'];};mxFastOrganicLayout[_0x1cd3('0x77a')]['execute']=function(_0x1c9071){var _0xa33f3c=this['graph']['getModel']();this['vertexArray']=[];for(var _0x548d88=this[_0x1cd3('0x2c89')][_0x1cd3('0x2e6d')](_0x1c9071),_0x39eaee=0x0;_0x39eaee<_0x548d88[_0x1cd3('0x7a')];_0x39eaee++)this[_0x1cd3('0x2e5f')](_0x548d88[_0x39eaee])||this[_0x1cd3('0x2eaa')][_0x1cd3('0x7b')](_0x548d88[_0x39eaee]);var _0x1d7392=this['useInputOrigin']?this['graph']['view'][_0x1cd3('0x2eab')](this[_0x1cd3('0x2eaa')]):null,_0x255e0b=this['vertexArray'][_0x1cd3('0x7a')];this[_0x1cd3('0x2eac')]=[];this[_0x1cd3('0x2ead')]=[];this['dispY']=[];this[_0x1cd3('0x2eae')]=[];this[_0x1cd3('0x2eaf')]=[];this[_0x1cd3('0x2eb0')]=[];this[_0x1cd3('0x2eb1')]=[];this[_0x1cd3('0x2eb2')]=[];0.001>this[_0x1cd3('0x2eb3')]&&(this[_0x1cd3('0x2eb3')]=0.001);this[_0x1cd3('0x2ea4')]=this[_0x1cd3('0x2eb3')]*this[_0x1cd3('0x2eb3')];for(_0x39eaee=0x0;_0x39eaee<this[_0x1cd3('0x2eaa')][_0x1cd3('0x7a')];_0x39eaee++){var _0x3a7d6a=this[_0x1cd3('0x2eaa')][_0x39eaee];this[_0x1cd3('0x2eae')][_0x39eaee]=[];var _0x11c7bd=mxCellPath['create'](_0x3a7d6a);this['indices'][_0x11c7bd]=_0x39eaee;var _0x23ca68=this[_0x1cd3('0x2e6a')](_0x3a7d6a),_0x6805b0=_0x23ca68[_0x1cd3('0x4d7')],_0x3395b2=_0x23ca68[_0x1cd3('0x4e4')],_0x59fb52=_0x23ca68['x'],_0x369796=_0x23ca68['y'];this[_0x1cd3('0x2eae')][_0x39eaee][0x0]=_0x59fb52+_0x6805b0/0x2;this[_0x1cd3('0x2eae')][_0x39eaee][0x1]=_0x369796+_0x3395b2/0x2;this[_0x1cd3('0x2eb1')][_0x39eaee]=Math['min'](_0x6805b0,_0x3395b2);this[_0x1cd3('0x2eb2')][_0x39eaee]=this[_0x1cd3('0x2eb1')][_0x39eaee]*this[_0x1cd3('0x2eb1')][_0x39eaee];}_0xa33f3c[_0x1cd3('0x2a6c')]();try{for(_0x39eaee=0x0;_0x39eaee<_0x255e0b;_0x39eaee++){this[_0x1cd3('0x2ead')][_0x39eaee]=0x0;this[_0x1cd3('0x2eb4')][_0x39eaee]=0x0;this['isMoveable'][_0x39eaee]=this[_0x1cd3('0x2e7b')](this[_0x1cd3('0x2eaa')][_0x39eaee]);var _0x4ac531=this[_0x1cd3('0x2c89')][_0x1cd3('0x2e88')](this['vertexArray'][_0x39eaee],_0x1c9071),_0x548d88=this['graph'][_0x1cd3('0x2eb5')](_0x4ac531,this[_0x1cd3('0x2eaa')][_0x39eaee]);this[_0x1cd3('0x2eb0')][_0x39eaee]=[];for(_0x6805b0=0x0;_0x6805b0<_0x548d88['length'];_0x6805b0++){this['resetEdges']&&this[_0x1cd3('0x2c89')][_0x1cd3('0x2eb6')](_0x4ac531[_0x6805b0]);this[_0x1cd3('0x2ea3')]&&this[_0x1cd3('0x2eb7')](_0x4ac531[_0x6805b0],!0x1);var _0x11c7bd=mxCellPath[_0x1cd3('0x624')](_0x548d88[_0x6805b0]),_0x4e1f6d=this[_0x1cd3('0x2eac')][_0x11c7bd];this[_0x1cd3('0x2eb0')][_0x39eaee][_0x6805b0]=null!=_0x4e1f6d?_0x4e1f6d:_0x39eaee;}}this['temperature']=this[_0x1cd3('0x2ea7')];0x0==this['maxIterations']&&(this[_0x1cd3('0x2eb8')]=0x14*Math[_0x1cd3('0x2a4f')](_0x255e0b));for(this['iteration']=0x0;this[_0x1cd3('0x2ea8')]<this['maxIterations'];this[_0x1cd3('0x2ea8')]++){if(!this['allowedToRun'])return;this[_0x1cd3('0x2eb9')]();this[_0x1cd3('0x2eba')]();this[_0x1cd3('0x2ebb')]();this[_0x1cd3('0x2ebc')]();}_0x1c9071=_0x548d88=null;for(_0x39eaee=0x0;_0x39eaee<this['vertexArray'][_0x1cd3('0x7a')];_0x39eaee++)_0x3a7d6a=this['vertexArray'][_0x39eaee],this[_0x1cd3('0x2e7b')](_0x3a7d6a)&&(_0x23ca68=this[_0x1cd3('0x2e6a')](_0x3a7d6a),null!=_0x23ca68&&(this[_0x1cd3('0x2eae')][_0x39eaee][0x0]-=_0x23ca68[_0x1cd3('0x4d7')]/0x2,this[_0x1cd3('0x2eae')][_0x39eaee][0x1]-=_0x23ca68[_0x1cd3('0x4e4')]/0x2,_0x59fb52=this['graph'][_0x1cd3('0x2c07')](this[_0x1cd3('0x2eae')][_0x39eaee][0x0]),_0x369796=this['graph'][_0x1cd3('0x2c07')](this[_0x1cd3('0x2eae')][_0x39eaee][0x1]),this[_0x1cd3('0x2e69')](_0x3a7d6a,_0x59fb52,_0x369796),_0x548d88=null==_0x548d88?_0x59fb52:Math['min'](_0x548d88,_0x59fb52),_0x1c9071=null==_0x1c9071?_0x369796:Math[_0x1cd3('0x4e3')](_0x1c9071,_0x369796)));_0x39eaee=-(_0x548d88||0x0)+0x1;_0x3a7d6a=-(_0x1c9071||0x0)+0x1;null!=_0x1d7392&&(_0x39eaee+=_0x1d7392['x'],_0x3a7d6a+=_0x1d7392['y']);this[_0x1cd3('0x2c89')][_0x1cd3('0x2b66')](this[_0x1cd3('0x2eaa')],_0x39eaee,_0x3a7d6a);}finally{_0xa33f3c[_0x1cd3('0x2b5e')]();}};mxFastOrganicLayout['prototype']['calcPositions']=function(){for(var _0x10a71e=0x0;_0x10a71e<this['vertexArray'][_0x1cd3('0x7a')];_0x10a71e++)if(this[_0x1cd3('0x2eaf')][_0x10a71e]){var _0x3baa45=Math[_0x1cd3('0x2a4f')](this['dispX'][_0x10a71e]*this[_0x1cd3('0x2ead')][_0x10a71e]+this['dispY'][_0x10a71e]*this['dispY'][_0x10a71e]);0.001>_0x3baa45&&(_0x3baa45=0.001);var _0x243b57=this['dispX'][_0x10a71e]/_0x3baa45*Math[_0x1cd3('0x4e3')](_0x3baa45,this['temperature']),_0x3baa45=this['dispY'][_0x10a71e]/_0x3baa45*Math[_0x1cd3('0x4e3')](_0x3baa45,this[_0x1cd3('0x2ebd')]);this[_0x1cd3('0x2ead')][_0x10a71e]=0x0;this[_0x1cd3('0x2eb4')][_0x10a71e]=0x0;this[_0x1cd3('0x2eae')][_0x10a71e][0x0]+=_0x243b57;this['cellLocation'][_0x10a71e][0x1]+=_0x3baa45;}};mxFastOrganicLayout[_0x1cd3('0x77a')][_0x1cd3('0x2eba')]=function(){for(var _0x21bee5=0x0;_0x21bee5<this[_0x1cd3('0x2eaa')]['length'];_0x21bee5++)for(var _0x5f3272=0x0;_0x5f3272<this['neighbours'][_0x21bee5][_0x1cd3('0x7a')];_0x5f3272++){var _0x1fb8d3=this[_0x1cd3('0x2eb0')][_0x21bee5][_0x5f3272];if(_0x21bee5!=_0x1fb8d3&&this[_0x1cd3('0x2eaf')][_0x21bee5]&&this['isMoveable'][_0x1fb8d3]){var _0x230110=this[_0x1cd3('0x2eae')][_0x21bee5][0x0]-this[_0x1cd3('0x2eae')][_0x1fb8d3][0x0],_0x33bb7e=this['cellLocation'][_0x21bee5][0x1]-this[_0x1cd3('0x2eae')][_0x1fb8d3][0x1],_0x50e649=_0x230110*_0x230110+_0x33bb7e*_0x33bb7e-this[_0x1cd3('0x2eb2')][_0x21bee5]-this['radiusSquared'][_0x1fb8d3];_0x50e649<this[_0x1cd3('0x2ea6')]&&(_0x50e649=this[_0x1cd3('0x2ea6')]);var _0x3de40e=Math[_0x1cd3('0x2a4f')](_0x50e649),_0x50e649=_0x50e649/this[_0x1cd3('0x2eb3')],_0x230110=_0x230110/_0x3de40e*_0x50e649,_0x33bb7e=_0x33bb7e/_0x3de40e*_0x50e649;this['dispX'][_0x21bee5]-=_0x230110;this['dispY'][_0x21bee5]-=_0x33bb7e;this[_0x1cd3('0x2ead')][_0x1fb8d3]+=_0x230110;this['dispY'][_0x1fb8d3]+=_0x33bb7e;}}};mxFastOrganicLayout[_0x1cd3('0x77a')]['calcRepulsion']=function(){for(var _0x5bd3e4=this['vertexArray'][_0x1cd3('0x7a')],_0x4df633=0x0;_0x4df633<_0x5bd3e4;_0x4df633++)for(var _0x2b09ed=_0x4df633;_0x2b09ed<_0x5bd3e4;_0x2b09ed++){if(!this[_0x1cd3('0x2ea9')])return;if(_0x2b09ed!=_0x4df633&&this[_0x1cd3('0x2eaf')][_0x4df633]&&this[_0x1cd3('0x2eaf')][_0x2b09ed]){var _0x5904ee=this[_0x1cd3('0x2eae')][_0x4df633][0x0]-this['cellLocation'][_0x2b09ed][0x0],_0x279bd2=this['cellLocation'][_0x4df633][0x1]-this[_0x1cd3('0x2eae')][_0x2b09ed][0x1];0x0==_0x5904ee&&(_0x5904ee=0.01+Math[_0x1cd3('0x6b2')]());0x0==_0x279bd2&&(_0x279bd2=0.01+Math['random']());var _0x59b2cf=Math[_0x1cd3('0x2a4f')](_0x5904ee*_0x5904ee+_0x279bd2*_0x279bd2),_0x1002e0=_0x59b2cf-this[_0x1cd3('0x2eb1')][_0x4df633]-this[_0x1cd3('0x2eb1')][_0x2b09ed];_0x1002e0>this[_0x1cd3('0x2ea5')]||(_0x1002e0<this['minDistanceLimit']&&(_0x1002e0=this['minDistanceLimit']),_0x1002e0=this['forceConstantSquared']/_0x1002e0,_0x5904ee=_0x5904ee/_0x59b2cf*_0x1002e0,_0x279bd2=_0x279bd2/_0x59b2cf*_0x1002e0,this[_0x1cd3('0x2ead')][_0x4df633]+=_0x5904ee,this[_0x1cd3('0x2eb4')][_0x4df633]+=_0x279bd2,this['dispX'][_0x2b09ed]-=_0x5904ee,this[_0x1cd3('0x2eb4')][_0x2b09ed]-=_0x279bd2);}}};mxFastOrganicLayout['prototype']['reduceTemperature']=function(){this[_0x1cd3('0x2ebd')]=this[_0x1cd3('0x2ea7')]*(0x1-this[_0x1cd3('0x2ea8')]/this['maxIterations']);};function mxCircleLayout(_0x411801,_0x1fca41){mxGraphLayout[_0x1cd3('0x46d')](this,_0x411801);this[_0x1cd3('0x2eb1')]=null!=_0x1fca41?_0x1fca41:0x64;}mxCircleLayout['prototype']=new mxGraphLayout();mxCircleLayout[_0x1cd3('0x77a')][_0x1cd3('0x29db')]=mxCircleLayout;mxCircleLayout[_0x1cd3('0x77a')][_0x1cd3('0x2eb1')]=null;mxCircleLayout[_0x1cd3('0x77a')][_0x1cd3('0x2ebe')]=!0x1;mxCircleLayout[_0x1cd3('0x77a')]['x0']=0x0;mxCircleLayout[_0x1cd3('0x77a')]['y0']=0x0;mxCircleLayout[_0x1cd3('0x77a')][_0x1cd3('0x2e82')]=!0x0;mxCircleLayout[_0x1cd3('0x77a')][_0x1cd3('0x2ea3')]=!0x0;mxCircleLayout[_0x1cd3('0x77a')][_0x1cd3('0x2b5b')]=function(_0x1aa0ac){var _0x4791d9=this[_0x1cd3('0x2c89')][_0x1cd3('0x2a77')]();_0x4791d9['beginUpdate']();try{for(var _0x874db2=0x0,_0x5e6ace=null,_0x511a39=null,_0x472f8b=[],_0x3cc46f=_0x4791d9[_0x1cd3('0x29e5')](_0x1aa0ac),_0x4f00e2=0x0;_0x4f00e2<_0x3cc46f;_0x4f00e2++){var _0x2a4ba2=_0x4791d9[_0x1cd3('0x29e6')](_0x1aa0ac,_0x4f00e2);if(this[_0x1cd3('0x2e5f')](_0x2a4ba2))this['isEdgeIgnored'](_0x2a4ba2)||(this['resetEdges']&&this[_0x1cd3('0x2c89')][_0x1cd3('0x2eb6')](_0x2a4ba2),this[_0x1cd3('0x2ea3')]&&this[_0x1cd3('0x2eb7')](_0x2a4ba2,!0x1));else{_0x472f8b[_0x1cd3('0x7b')](_0x2a4ba2);var _0xb2db94=this['getVertexBounds'](_0x2a4ba2),_0x5e6ace=null==_0x5e6ace?_0xb2db94['y']:Math[_0x1cd3('0x4e3')](_0x5e6ace,_0xb2db94['y']),_0x511a39=null==_0x511a39?_0xb2db94['x']:Math[_0x1cd3('0x4e3')](_0x511a39,_0xb2db94['x']),_0x874db2=Math[_0x1cd3('0x13d1')](_0x874db2,Math[_0x1cd3('0x13d1')](_0xb2db94['width'],_0xb2db94[_0x1cd3('0x4e4')]));}}var _0x490efe=this[_0x1cd3('0x2ebf')](_0x472f8b[_0x1cd3('0x7a')],_0x874db2);this[_0x1cd3('0x2ebe')]&&(_0x511a39=this['x0'],_0x5e6ace=this['y0']);this[_0x1cd3('0x2ec0')](_0x472f8b,_0x490efe,_0x511a39,_0x5e6ace);}finally{_0x4791d9[_0x1cd3('0x2b5e')]();}};mxCircleLayout[_0x1cd3('0x77a')]['getRadius']=function(_0x2f85bc,_0x58d848){return Math[_0x1cd3('0x13d1')](_0x2f85bc*_0x58d848/Math['PI'],this[_0x1cd3('0x2eb1')]);};mxCircleLayout[_0x1cd3('0x77a')]['circle']=function(_0x292917,_0x4b665b,_0x4a8862,_0x257fe0){for(var _0x3d15b9=_0x292917[_0x1cd3('0x7a')],_0x4361e1=0x2*Math['PI']/_0x3d15b9,_0xf1b99a=0x0;_0xf1b99a<_0x3d15b9;_0xf1b99a++)this[_0x1cd3('0x2e7b')](_0x292917[_0xf1b99a])&&this[_0x1cd3('0x2e69')](_0x292917[_0xf1b99a],_0x4a8862+_0x4b665b+_0x4b665b*Math[_0x1cd3('0x2a4e')](_0xf1b99a*_0x4361e1),_0x257fe0+_0x4b665b+_0x4b665b*Math['cos'](_0xf1b99a*_0x4361e1));};function mxParallelEdgeLayout(_0x475538){mxGraphLayout[_0x1cd3('0x46d')](this,_0x475538);}mxParallelEdgeLayout[_0x1cd3('0x77a')]=new mxGraphLayout();mxParallelEdgeLayout[_0x1cd3('0x77a')]['constructor']=mxParallelEdgeLayout;mxParallelEdgeLayout[_0x1cd3('0x77a')][_0x1cd3('0x2aed')]=0x14;mxParallelEdgeLayout['prototype'][_0x1cd3('0x2b5b')]=function(_0x1e1ab6){_0x1e1ab6=this['findParallels'](_0x1e1ab6);this[_0x1cd3('0x2c89')][_0x1cd3('0x42e')][_0x1cd3('0x2a6c')]();try{for(var _0x2f9dbe in _0x1e1ab6){var _0xcaa535=_0x1e1ab6[_0x2f9dbe];0x1<_0xcaa535[_0x1cd3('0x7a')]&&this[_0x1cd3('0x2e8f')](_0xcaa535);}}finally{this[_0x1cd3('0x2c89')][_0x1cd3('0x42e')][_0x1cd3('0x2b5e')]();}};mxParallelEdgeLayout[_0x1cd3('0x77a')][_0x1cd3('0x2ec1')]=function(_0x537b13){for(var _0x4de8eb=this[_0x1cd3('0x2c89')][_0x1cd3('0x2a77')](),_0x4d7e1e=[],_0x3bd62b=_0x4de8eb[_0x1cd3('0x29e5')](_0x537b13),_0x391925=0x0;_0x391925<_0x3bd62b;_0x391925++){var _0x5c39b3=_0x4de8eb['getChildAt'](_0x537b13,_0x391925);if(!this[_0x1cd3('0x2e61')](_0x5c39b3)){var _0x5b4c90=this['getEdgeId'](_0x5c39b3);null!=_0x5b4c90&&(null==_0x4d7e1e[_0x5b4c90]&&(_0x4d7e1e[_0x5b4c90]=[]),_0x4d7e1e[_0x5b4c90][_0x1cd3('0x7b')](_0x5c39b3));}}return _0x4d7e1e;};mxParallelEdgeLayout[_0x1cd3('0x77a')][_0x1cd3('0x2ec2')]=function(_0x28b376){var _0x1e9c15=this[_0x1cd3('0x2c89')][_0x1cd3('0x29de')](),_0x3e5e60=_0x1e9c15[_0x1cd3('0x29d9')](_0x28b376),_0x5d4215=null!=_0x3e5e60?_0x3e5e60['getVisibleTerminal'](!0x0):_0x1e9c15[_0x1cd3('0x2e5c')](_0x28b376,!0x0);_0x28b376=null!=_0x3e5e60?_0x3e5e60[_0x1cd3('0x2e5c')](!0x1):_0x1e9c15[_0x1cd3('0x2e5c')](_0x28b376,!0x1);return null!=_0x5d4215&&null!=_0x28b376?(_0x5d4215=mxCellPath['create'](_0x5d4215),_0x28b376=mxCellPath[_0x1cd3('0x624')](_0x28b376),_0x5d4215>_0x28b376?_0x28b376+'-'+_0x5d4215:_0x5d4215+'-'+_0x28b376):null;};mxParallelEdgeLayout[_0x1cd3('0x77a')][_0x1cd3('0x2e8f')]=function(_0x162339){var _0x39a3c9=_0x162339[0x0],_0x1d96e1=this['graph'][_0x1cd3('0x2a77')](),_0xb0a052=_0x1d96e1[_0x1cd3('0x2e67')](_0x1d96e1['getTerminal'](_0x39a3c9,!0x0)),_0x5e352b=_0x1d96e1[_0x1cd3('0x2e67')](_0x1d96e1[_0x1cd3('0x2e62')](_0x39a3c9,!0x1));if(_0xb0a052==_0x5e352b)for(var _0x39a3c9=_0xb0a052['x']+_0xb0a052[_0x1cd3('0x4d7')]+this[_0x1cd3('0x2aed')],_0x1d96e1=_0xb0a052['y']+_0xb0a052[_0x1cd3('0x4e4')]/0x2,_0x1fe395=0x0;_0x1fe395<_0x162339[_0x1cd3('0x7a')];_0x1fe395++)this['route'](_0x162339[_0x1fe395],_0x39a3c9,_0x1d96e1),_0x39a3c9+=this[_0x1cd3('0x2aed')];else if(null!=_0xb0a052&&null!=_0x5e352b)for(var _0x39a3c9=_0xb0a052['x']+_0xb0a052[_0x1cd3('0x4d7')]/0x2,_0x1d96e1=_0xb0a052['y']+_0xb0a052[_0x1cd3('0x4e4')]/0x2,_0x1fe395=_0x5e352b['x']+_0x5e352b['width']/0x2-_0x39a3c9,_0x5b27d5=_0x5e352b['y']+_0x5e352b['height']/0x2-_0x1d96e1,_0x5e352b=Math['sqrt'](_0x1fe395*_0x1fe395+_0x5b27d5*_0x5b27d5),_0xb0a052=_0x5b27d5*this[_0x1cd3('0x2aed')]/_0x5e352b,_0x5e352b=_0x1fe395*this['spacing']/_0x5e352b,_0x39a3c9=_0x39a3c9+_0x1fe395/0x2+_0xb0a052*(_0x162339[_0x1cd3('0x7a')]-0x1)/0x2,_0x1d96e1=_0x1d96e1+_0x5b27d5/0x2-_0x5e352b*(_0x162339['length']-0x1)/0x2,_0x1fe395=0x0;_0x1fe395<_0x162339[_0x1cd3('0x7a')];_0x1fe395++)this[_0x1cd3('0x42a')](_0x162339[_0x1fe395],_0x39a3c9,_0x1d96e1),_0x39a3c9-=_0xb0a052,_0x1d96e1+=_0x5e352b;};mxParallelEdgeLayout[_0x1cd3('0x77a')]['route']=function(_0x21a4f6,_0xde024a,_0x1f1bb1){this[_0x1cd3('0x2c89')]['isCellMovable'](_0x21a4f6)&&this[_0x1cd3('0x2e8e')](_0x21a4f6,[new mxPoint(_0xde024a,_0x1f1bb1)]);};function mxCompositeLayout(_0x239f19,_0x41c3ce,_0x417aa2){mxGraphLayout[_0x1cd3('0x46d')](this,_0x239f19);this[_0x1cd3('0x2ec3')]=_0x41c3ce;this['master']=_0x417aa2;}mxCompositeLayout['prototype']=new mxGraphLayout();mxCompositeLayout[_0x1cd3('0x77a')][_0x1cd3('0x29db')]=mxCompositeLayout;mxCompositeLayout[_0x1cd3('0x77a')][_0x1cd3('0x2ec3')]=null;mxCompositeLayout[_0x1cd3('0x77a')][_0x1cd3('0x2ec4')]=null;mxCompositeLayout[_0x1cd3('0x77a')]['moveCell']=function(_0x5e72af,_0x249b51,_0x2384b1){null!=this['master']?this[_0x1cd3('0x2ec4')][_0x1cd3('0x2ab4')][_0x1cd3('0x4df')](this['master'],arguments):this[_0x1cd3('0x2ec3')][0x0][_0x1cd3('0x2ab4')][_0x1cd3('0x4df')](this[_0x1cd3('0x2ec3')][0x0],arguments);};mxCompositeLayout['prototype'][_0x1cd3('0x2b5b')]=function(_0x4e8e32){var _0x8ff558=this[_0x1cd3('0x2c89')][_0x1cd3('0x2a77')]();_0x8ff558[_0x1cd3('0x2a6c')]();try{for(var _0x5efefc=0x0;_0x5efefc<this[_0x1cd3('0x2ec3')][_0x1cd3('0x7a')];_0x5efefc++)this[_0x1cd3('0x2ec3')][_0x5efefc][_0x1cd3('0x2b5b')][_0x1cd3('0x4df')](this[_0x1cd3('0x2ec3')][_0x5efefc],arguments);}finally{_0x8ff558[_0x1cd3('0x2b5e')]();}};function mxEdgeLabelLayout(_0x17751c,_0x3677fa){mxGraphLayout[_0x1cd3('0x46d')](this,_0x17751c);}mxEdgeLabelLayout[_0x1cd3('0x77a')]=new mxGraphLayout();mxEdgeLabelLayout[_0x1cd3('0x77a')][_0x1cd3('0x29db')]=mxEdgeLabelLayout;mxEdgeLabelLayout[_0x1cd3('0x77a')][_0x1cd3('0x2b5b')]=function(_0x1ce22d){for(var _0x32ab72=this[_0x1cd3('0x2c89')]['view'],_0xc72035=this[_0x1cd3('0x2c89')][_0x1cd3('0x2a77')](),_0x136bb2=[],_0xe54af8=[],_0x1352fd=_0xc72035[_0x1cd3('0x29e5')](_0x1ce22d),_0xbf42d=0x0;_0xbf42d<_0x1352fd;_0xbf42d++){var _0x4a86c1=_0xc72035[_0x1cd3('0x29e6')](_0x1ce22d,_0xbf42d),_0xdc15e9=_0x32ab72[_0x1cd3('0x29d9')](_0x4a86c1);null!=_0xdc15e9&&(this['isVertexIgnored'](_0x4a86c1)?this['isEdgeIgnored'](_0x4a86c1)||_0x136bb2['push'](_0xdc15e9):_0xe54af8[_0x1cd3('0x7b')](_0xdc15e9));}this[_0x1cd3('0x2ec5')](_0xe54af8,_0x136bb2);};mxEdgeLabelLayout[_0x1cd3('0x77a')][_0x1cd3('0x2ec5')]=function(_0x522472,_0x414d1d){var _0x57de2e=this[_0x1cd3('0x2c89')][_0x1cd3('0x2a77')]();_0x57de2e[_0x1cd3('0x2a6c')]();try{for(var _0x56a3d9=0x0;_0x56a3d9<_0x414d1d[_0x1cd3('0x7a')];_0x56a3d9++){var _0xe58859=_0x414d1d[_0x56a3d9];if(null!=_0xe58859&&null!=_0xe58859[_0x1cd3('0x401')]&&null!=_0xe58859[_0x1cd3('0x401')][_0x1cd3('0x2dbd')])for(var _0x411c8d=0x0;_0x411c8d<_0x522472[_0x1cd3('0x7a')];_0x411c8d++){var _0x66789b=_0x522472[_0x411c8d];null!=_0x66789b&&this['avoid'](_0xe58859,_0x66789b);}}}finally{_0x57de2e['endUpdate']();}};mxEdgeLabelLayout['prototype'][_0x1cd3('0x2ec6')]=function(_0x18fa0c,_0x402fa2){var _0x501902=this[_0x1cd3('0x2c89')]['getModel'](),_0x3f021e=_0x18fa0c[_0x1cd3('0x401')][_0x1cd3('0x2dbd')];if(mxUtils['intersects'](_0x3f021e,_0x402fa2)){var _0x83f94=-_0x3f021e['y']-_0x3f021e[_0x1cd3('0x4e4')]+_0x402fa2['y'],_0x523977=-_0x3f021e['y']+_0x402fa2['y']+_0x402fa2[_0x1cd3('0x4e4')],_0x83f94=Math['abs'](_0x83f94)<Math['abs'](_0x523977)?_0x83f94:_0x523977,_0x523977=-_0x3f021e['x']-_0x3f021e[_0x1cd3('0x4d7')]+_0x402fa2['x'],_0x3f021e=-_0x3f021e['x']+_0x402fa2['x']+_0x402fa2[_0x1cd3('0x4d7')],_0x3f021e=Math['abs'](_0x523977)<Math[_0x1cd3('0x2a4c')](_0x3f021e)?_0x523977:_0x3f021e;Math[_0x1cd3('0x2a4c')](_0x3f021e)<Math['abs'](_0x83f94)?_0x83f94=0x0:_0x3f021e=0x0;_0x523977=_0x501902['getGeometry'](_0x18fa0c['cell']);null!=_0x523977&&(_0x523977=_0x523977[_0x1cd3('0x1141')](),null!=_0x523977[_0x1cd3('0xd57')]?(_0x523977[_0x1cd3('0xd57')]['x']+=_0x3f021e,_0x523977[_0x1cd3('0xd57')]['y']+=_0x83f94):_0x523977[_0x1cd3('0xd57')]=new mxPoint(_0x3f021e,_0x83f94),_0x501902[_0x1cd3('0x2e68')](_0x18fa0c[_0x1cd3('0xefb')],_0x523977));}};function mxGraphAbstractHierarchyCell(){this['x']=[];this['y']=[];this['temp']=[];}mxGraphAbstractHierarchyCell[_0x1cd3('0x77a')][_0x1cd3('0x2ec7')]=-0x1;mxGraphAbstractHierarchyCell['prototype'][_0x1cd3('0x2ec8')]=-0x1;mxGraphAbstractHierarchyCell[_0x1cd3('0x77a')]['x']=null;mxGraphAbstractHierarchyCell[_0x1cd3('0x77a')]['y']=null;mxGraphAbstractHierarchyCell[_0x1cd3('0x77a')][_0x1cd3('0x4d7')]=0x0;mxGraphAbstractHierarchyCell[_0x1cd3('0x77a')][_0x1cd3('0x4e4')]=0x0;mxGraphAbstractHierarchyCell['prototype']['nextLayerConnectedCells']=null;mxGraphAbstractHierarchyCell['prototype'][_0x1cd3('0x2ec9')]=null;mxGraphAbstractHierarchyCell[_0x1cd3('0x77a')][_0x1cd3('0x2eca')]=null;mxGraphAbstractHierarchyCell[_0x1cd3('0x77a')][_0x1cd3('0x2ecb')]=function(_0xf75629){return null;};mxGraphAbstractHierarchyCell['prototype'][_0x1cd3('0x2ecc')]=function(_0x56cca3){return null;};mxGraphAbstractHierarchyCell[_0x1cd3('0x77a')][_0x1cd3('0x29dc')]=function(){return!0x1;};mxGraphAbstractHierarchyCell[_0x1cd3('0x77a')]['isVertex']=function(){return!0x1;};mxGraphAbstractHierarchyCell[_0x1cd3('0x77a')][_0x1cd3('0x2ecd')]=function(_0xa0a68){return null;};mxGraphAbstractHierarchyCell[_0x1cd3('0x77a')][_0x1cd3('0x2ece')]=function(_0x33a1bc,_0x1677f8){return null;};mxGraphAbstractHierarchyCell['prototype']['setX']=function(_0x550d0f,_0x8ce67d){this['isVertex']()?this['x'][0x0]=_0x8ce67d:this['isEdge']()&&(this['x'][_0x550d0f-this[_0x1cd3('0x2ec8')]-0x1]=_0x8ce67d);};mxGraphAbstractHierarchyCell[_0x1cd3('0x77a')][_0x1cd3('0x2b18')]=function(_0x3bd101){return this['isVertex']()?this['x'][0x0]:this[_0x1cd3('0x29dc')]()?this['x'][_0x3bd101-this['minRank']-0x1]:0x0;};mxGraphAbstractHierarchyCell[_0x1cd3('0x77a')]['setY']=function(_0x55a7d6,_0x8049b9){this['isVertex']()?this['y'][0x0]=_0x8049b9:this[_0x1cd3('0x29dc')]()&&(this['y'][_0x55a7d6-this['minRank']-0x1]=_0x8049b9);};function mxGraphHierarchyNode(_0x977544){mxGraphAbstractHierarchyCell[_0x1cd3('0x4df')](this,arguments);this[_0x1cd3('0xefb')]=_0x977544;}mxGraphHierarchyNode[_0x1cd3('0x77a')]=new mxGraphAbstractHierarchyCell();mxGraphHierarchyNode[_0x1cd3('0x77a')][_0x1cd3('0x29db')]=mxGraphHierarchyNode;mxGraphHierarchyNode['prototype']['cell']=null;mxGraphHierarchyNode['prototype'][_0x1cd3('0x2ecf')]=[];mxGraphHierarchyNode['prototype'][_0x1cd3('0x2ed0')]=[];mxGraphHierarchyNode[_0x1cd3('0x77a')][_0x1cd3('0x2ed1')]=!0x1;mxGraphHierarchyNode[_0x1cd3('0x77a')][_0x1cd3('0x2ed2')]=function(_0x16e155){return this[_0x1cd3('0x2ec7')];};mxGraphHierarchyNode[_0x1cd3('0x77a')][_0x1cd3('0x2ecb')]=function(_0x5ee752){if(null==this['nextLayerConnectedCells']){this[_0x1cd3('0x2ed3')]=[];this[_0x1cd3('0x2ed3')][0x0]=[];for(var _0x219acd=0x0;_0x219acd<this[_0x1cd3('0x2ecf')]['length'];_0x219acd++){var _0x2072a1=this['connectsAsTarget'][_0x219acd];-0x1==_0x2072a1[_0x1cd3('0x2ec7')]||_0x2072a1[_0x1cd3('0x2ec7')]==_0x5ee752+0x1?this[_0x1cd3('0x2ed3')][0x0][_0x1cd3('0x7b')](_0x2072a1[_0x1cd3('0x930')]):this['nextLayerConnectedCells'][0x0][_0x1cd3('0x7b')](_0x2072a1);}}return this[_0x1cd3('0x2ed3')][0x0];};mxGraphHierarchyNode[_0x1cd3('0x77a')][_0x1cd3('0x2ecc')]=function(_0x27feaf){if(null==this[_0x1cd3('0x2ec9')]){this[_0x1cd3('0x2ec9')]=[];this[_0x1cd3('0x2ec9')][0x0]=[];for(var _0x4999be=0x0;_0x4999be<this[_0x1cd3('0x2ed0')][_0x1cd3('0x7a')];_0x4999be++){var _0x30de09=this['connectsAsSource'][_0x4999be];-0x1==_0x30de09[_0x1cd3('0x2ec8')]||_0x30de09[_0x1cd3('0x2ec8')]==_0x27feaf-0x1?this['previousLayerConnectedCells'][0x0][_0x1cd3('0x7b')](_0x30de09[_0x1cd3('0x365')]):this['previousLayerConnectedCells'][0x0][_0x1cd3('0x7b')](_0x30de09);}}return this[_0x1cd3('0x2ec9')][0x0];};mxGraphHierarchyNode[_0x1cd3('0x77a')][_0x1cd3('0x2c98')]=function(){return!0x0;};mxGraphHierarchyNode['prototype']['getGeneralPurposeVariable']=function(_0x1763a8){return this[_0x1cd3('0x2eca')][0x0];};mxGraphHierarchyNode[_0x1cd3('0x77a')][_0x1cd3('0x2ece')]=function(_0xc83226,_0x5e47b9){this[_0x1cd3('0x2eca')][0x0]=_0x5e47b9;};mxGraphHierarchyNode[_0x1cd3('0x77a')][_0x1cd3('0x2ed4')]=function(_0x31afc6){if(null!=_0x31afc6&&null!=this['hashCode']&&null!=_0x31afc6[_0x1cd3('0x2ed1')]&&this['hashCode']['length']<_0x31afc6[_0x1cd3('0x2ed1')][_0x1cd3('0x7a')]){if(this[_0x1cd3('0x2ed1')]==_0x31afc6[_0x1cd3('0x2ed1')])return!0x0;if(null==this[_0x1cd3('0x2ed1')]||null==this['hashCode'])return!0x1;for(var _0x35688d=0x0;_0x35688d<this['hashCode'][_0x1cd3('0x7a')];_0x35688d++)if(this[_0x1cd3('0x2ed1')][_0x35688d]!=_0x31afc6[_0x1cd3('0x2ed1')][_0x35688d])return!0x1;return!0x0;}return!0x1;};mxGraphHierarchyNode[_0x1cd3('0x77a')][_0x1cd3('0x2ed5')]=function(){return this['cell'];};function mxGraphHierarchyEdge(_0x3d96df){mxGraphAbstractHierarchyCell[_0x1cd3('0x4df')](this,arguments);this[_0x1cd3('0x2ed6')]=_0x3d96df;}mxGraphHierarchyEdge[_0x1cd3('0x77a')]=new mxGraphAbstractHierarchyCell();mxGraphHierarchyEdge[_0x1cd3('0x77a')][_0x1cd3('0x29db')]=mxGraphHierarchyEdge;mxGraphHierarchyEdge['prototype'][_0x1cd3('0x2ed6')]=null;mxGraphHierarchyEdge['prototype'][_0x1cd3('0x930')]=null;mxGraphHierarchyEdge[_0x1cd3('0x77a')][_0x1cd3('0x365')]=null;mxGraphHierarchyEdge[_0x1cd3('0x77a')]['isReversed']=!0x1;mxGraphHierarchyEdge[_0x1cd3('0x77a')][_0x1cd3('0x2e7d')]=function(_0xaba5af){_0xaba5af=this['source'];this[_0x1cd3('0x930')]=this[_0x1cd3('0x365')];this['target']=_0xaba5af;this[_0x1cd3('0x2ed7')]=!this[_0x1cd3('0x2ed7')];};mxGraphHierarchyEdge[_0x1cd3('0x77a')][_0x1cd3('0x2ecb')]=function(_0x17d4f3){if(null==this[_0x1cd3('0x2ed3')]){this[_0x1cd3('0x2ed3')]=[];for(var _0x27e0ef=0x0;_0x27e0ef<this[_0x1cd3('0x2eca')][_0x1cd3('0x7a')];_0x27e0ef++)this[_0x1cd3('0x2ed3')][_0x27e0ef]=[],_0x27e0ef==this[_0x1cd3('0x2eca')]['length']-0x1?this[_0x1cd3('0x2ed3')][_0x27e0ef]['push'](this[_0x1cd3('0x930')]):this[_0x1cd3('0x2ed3')][_0x27e0ef][_0x1cd3('0x7b')](this);}return this['nextLayerConnectedCells'][_0x17d4f3-this['minRank']-0x1];};mxGraphHierarchyEdge['prototype'][_0x1cd3('0x2ecc')]=function(_0x157560){if(null==this[_0x1cd3('0x2ec9')]){this['previousLayerConnectedCells']=[];for(var _0x17dade=0x0;_0x17dade<this[_0x1cd3('0x2eca')][_0x1cd3('0x7a')];_0x17dade++)this['previousLayerConnectedCells'][_0x17dade]=[],0x0==_0x17dade?this[_0x1cd3('0x2ec9')][_0x17dade]['push'](this['target']):this['previousLayerConnectedCells'][_0x17dade][_0x1cd3('0x7b')](this);}return this[_0x1cd3('0x2ec9')][_0x157560-this[_0x1cd3('0x2ec8')]-0x1];};mxGraphHierarchyEdge[_0x1cd3('0x77a')][_0x1cd3('0x29dc')]=function(){return!0x0;};mxGraphHierarchyEdge[_0x1cd3('0x77a')]['getGeneralPurposeVariable']=function(_0x1cdc60){return this[_0x1cd3('0x2eca')][_0x1cdc60-this[_0x1cd3('0x2ec8')]-0x1];};mxGraphHierarchyEdge['prototype'][_0x1cd3('0x2ece')]=function(_0x3afbd4,_0x363bbf){this[_0x1cd3('0x2eca')][_0x3afbd4-this['minRank']-0x1]=_0x363bbf;};mxGraphHierarchyEdge[_0x1cd3('0x77a')][_0x1cd3('0x2ed5')]=function(){return null!=this[_0x1cd3('0x2ed6')]&&0x0<this['edges'][_0x1cd3('0x7a')]?this[_0x1cd3('0x2ed6')][0x0]:null;};function mxGraphHierarchyModel(_0x431782,_0x2fea56,_0x44e80e,_0x23d6f6,_0x163a13){_0x431782[_0x1cd3('0x2e5a')]();this['tightenToSource']=_0x163a13;this['roots']=_0x44e80e;this[_0x1cd3('0x36c')]=_0x23d6f6;this['vertexMapper']={};this[_0x1cd3('0x2ed8')]={};this[_0x1cd3('0x2ec7')]=0x0;_0x44e80e=[];null==_0x2fea56&&(_0x2fea56=this['graph']['getChildVertices'](_0x23d6f6));this['maxRank']=this[_0x1cd3('0x2ed9')];this[_0x1cd3('0x2eda')](_0x431782,_0x2fea56,_0x44e80e);for(_0x23d6f6=0x0;_0x23d6f6<_0x2fea56[_0x1cd3('0x7a')];_0x23d6f6++){_0x163a13=_0x44e80e[_0x23d6f6][_0x1cd3('0x2ed0')];for(var _0x473f37=0x0;_0x473f37<_0x163a13[_0x1cd3('0x7a')];_0x473f37++){var _0x56a5d6=_0x163a13[_0x473f37],_0x13a1e6=_0x56a5d6[_0x1cd3('0x2ed6')];if(null!=_0x13a1e6&&0x0<_0x13a1e6[_0x1cd3('0x7a')]){var _0x13a1e6=_0x13a1e6[0x0],_0x2762a4=_0x431782[_0x1cd3('0x2e5c')](_0x13a1e6,!0x1),_0x2762a4=mxCellPath[_0x1cd3('0x624')](_0x2762a4),_0x2762a4=this[_0x1cd3('0x2edb')][_0x2762a4];_0x44e80e[_0x23d6f6]==_0x2762a4&&(_0x2762a4=_0x431782[_0x1cd3('0x2e5c')](_0x13a1e6,!0x0),_0x2762a4=mxCellPath[_0x1cd3('0x624')](_0x2762a4),_0x2762a4=this[_0x1cd3('0x2edb')][_0x2762a4]);null!=_0x2762a4&&_0x44e80e[_0x23d6f6]!=_0x2762a4&&(_0x56a5d6[_0x1cd3('0x365')]=_0x2762a4,0x0==_0x2762a4[_0x1cd3('0x2ecf')][_0x1cd3('0x7a')]&&(_0x2762a4[_0x1cd3('0x2ecf')]=[]),0x0>mxUtils[_0x1cd3('0x45e')](_0x2762a4[_0x1cd3('0x2ecf')],_0x56a5d6)&&_0x2762a4['connectsAsTarget'][_0x1cd3('0x7b')](_0x56a5d6));}}_0x44e80e[_0x23d6f6][_0x1cd3('0x2eca')][0x0]=0x1;}}mxGraphHierarchyModel[_0x1cd3('0x77a')][_0x1cd3('0x2ec7')]=null;mxGraphHierarchyModel[_0x1cd3('0x77a')][_0x1cd3('0x2edb')]=null;mxGraphHierarchyModel[_0x1cd3('0x77a')][_0x1cd3('0x2ed8')]=null;mxGraphHierarchyModel['prototype'][_0x1cd3('0x2edc')]=null;mxGraphHierarchyModel[_0x1cd3('0x77a')][_0x1cd3('0x2edd')]=null;mxGraphHierarchyModel['prototype']['parent']=null;mxGraphHierarchyModel['prototype'][_0x1cd3('0x2ede')]=0x0;mxGraphHierarchyModel[_0x1cd3('0x77a')]['SOURCESCANSTARTRANK']=0x5f5e100;mxGraphHierarchyModel[_0x1cd3('0x77a')]['tightenToSource']=!0x1;mxGraphHierarchyModel['prototype'][_0x1cd3('0x2eda')]=function(_0x6cd287,_0xfafca0,_0x35c5c7){for(var _0x1ff0ea=_0x6cd287['getGraph'](),_0x4f8cd5=0x0;_0x4f8cd5<_0xfafca0[_0x1cd3('0x7a')];_0x4f8cd5++){_0x35c5c7[_0x4f8cd5]=new mxGraphHierarchyNode(_0xfafca0[_0x4f8cd5]);var _0x59298e=mxCellPath['create'](_0xfafca0[_0x4f8cd5]);this['vertexMapper'][_0x59298e]=_0x35c5c7[_0x4f8cd5];_0x59298e=_0x6cd287['getEdges'](_0xfafca0[_0x4f8cd5]);_0x35c5c7[_0x4f8cd5][_0x1cd3('0x2ed0')]=[];for(var _0x1defa5=0x0;_0x1defa5<_0x59298e[_0x1cd3('0x7a')];_0x1defa5++){var _0x47ade4=_0x6cd287['getVisibleTerminal'](_0x59298e[_0x1defa5],!0x1);if(_0x47ade4!=_0xfafca0[_0x4f8cd5]&&_0x47ade4!=_0xfafca0[_0x4f8cd5]&&_0x6cd287['graph'][_0x1cd3('0x42e')][_0x1cd3('0x2c98')](_0x47ade4)&&!_0x6cd287[_0x1cd3('0x2e5f')](_0x47ade4)){var _0x21aefe=_0x6cd287[_0x1cd3('0x2edf')](_0xfafca0[_0x4f8cd5],_0x47ade4,!0x1),_0x49c4a8=_0x6cd287[_0x1cd3('0x2edf')](_0xfafca0[_0x4f8cd5],_0x47ade4,!0x0),_0x47ade4=mxCellPath[_0x1cd3('0x624')](_0x21aefe[0x0]);if(null!=_0x21aefe&&0x0<_0x21aefe['length']&&null==this['edgeMapper'][_0x47ade4]&&0x2*_0x49c4a8[_0x1cd3('0x7a')]>=_0x21aefe['length']){for(var _0x49c4a8=new mxGraphHierarchyEdge(_0x21aefe),_0x1516a1=0x0;_0x1516a1<_0x21aefe['length'];_0x1516a1++){var _0x12a2d0=_0x21aefe[_0x1516a1],_0x47ade4=mxCellPath[_0x1cd3('0x624')](_0x12a2d0);this['edgeMapper'][_0x47ade4]=_0x49c4a8;_0x1ff0ea[_0x1cd3('0x2eb6')](_0x12a2d0);_0x6cd287['disableEdgeStyle']&&(_0x6cd287[_0x1cd3('0x2eb7')](_0x12a2d0,!0x1),_0x6cd287['setOrthogonalEdge'](_0x12a2d0,!0x0));}_0x49c4a8[_0x1cd3('0x930')]=_0x35c5c7[_0x4f8cd5];0x0>mxUtils[_0x1cd3('0x45e')](_0x35c5c7[_0x4f8cd5]['connectsAsSource'],_0x49c4a8)&&_0x35c5c7[_0x4f8cd5][_0x1cd3('0x2ed0')][_0x1cd3('0x7b')](_0x49c4a8);}}}_0x35c5c7[_0x4f8cd5][_0x1cd3('0x2eca')][0x0]=0x0;}};mxGraphHierarchyModel[_0x1cd3('0x77a')][_0x1cd3('0x2ee0')]=function(){var _0x1f3e11=[];if(null!=this['roots'])for(var _0x415afb=0x0;_0x415afb<this['roots']['length'];_0x415afb++){var _0x430c06=mxCellPath[_0x1cd3('0x624')](this[_0x1cd3('0x2edd')][_0x415afb]),_0x430c06=this['vertexMapper'][_0x430c06];null!=_0x430c06&&_0x1f3e11[_0x1cd3('0x7b')](_0x430c06);}for(var _0x124732 in this[_0x1cd3('0x2edb')])_0x430c06=this[_0x1cd3('0x2edb')][_0x124732],_0x430c06[_0x1cd3('0x2eca')][0x0]=-0x1;for(var _0xaa8c05=_0x1f3e11[_0x1cd3('0x9a2')]();0x0<_0x1f3e11[_0x1cd3('0x7a')];){var _0x430c06=_0x1f3e11[0x0],_0x337b2f,_0xa82c87;_0x337b2f=_0x430c06[_0x1cd3('0x2ecf')];_0xa82c87=_0x430c06[_0x1cd3('0x2ed0')];for(var _0x2c6d13=!0x0,_0x5bf1b4=this[_0x1cd3('0x2ed9')],_0x415afb=0x0;_0x415afb<_0x337b2f[_0x1cd3('0x7a')];_0x415afb++){var _0x587621=_0x337b2f[_0x415afb];if(0x506c5c==_0x587621[_0x1cd3('0x2eca')][0x0])_0x587621=_0x587621[_0x1cd3('0x930')],_0x5bf1b4=Math['min'](_0x5bf1b4,_0x587621['temp'][0x0]-0x1);else{_0x2c6d13=!0x1;break;}}if(_0x2c6d13){_0x430c06[_0x1cd3('0x2eca')][0x0]=_0x5bf1b4;this[_0x1cd3('0x2ec7')]=Math['min'](this[_0x1cd3('0x2ec7')],_0x5bf1b4);if(null!=_0xa82c87)for(_0x415afb=0x0;_0x415afb<_0xa82c87[_0x1cd3('0x7a')];_0x415afb++)_0x587621=_0xa82c87[_0x415afb],_0x587621[_0x1cd3('0x2eca')][0x0]=0x506c5c,_0x587621=_0x587621[_0x1cd3('0x365')],-0x1==_0x587621[_0x1cd3('0x2eca')][0x0]&&(_0x1f3e11[_0x1cd3('0x7b')](_0x587621),_0x587621['temp'][0x0]=-0x2);_0x1f3e11['shift']();}else if(_0x415afb=_0x1f3e11['shift'](),_0x1f3e11[_0x1cd3('0x7b')](_0x430c06),_0x415afb==_0x430c06&&0x1==_0x1f3e11['length'])break;}for(_0x124732 in this[_0x1cd3('0x2edb')])_0x430c06=this['vertexMapper'][_0x124732],_0x430c06[_0x1cd3('0x2eca')][0x0]-=this[_0x1cd3('0x2ec7')];for(_0x415afb=0x0;_0x415afb<_0xaa8c05['length'];_0x415afb++){_0x430c06=_0xaa8c05[_0x415afb];_0x1f3e11=0x0;_0x337b2f=_0x430c06['connectsAsSource'];for(_0x124732=0x0;_0x124732<_0x337b2f[_0x1cd3('0x7a')];_0x124732++)_0x587621=_0x337b2f[_0x124732],_0x587621=_0x587621[_0x1cd3('0x365')],_0x430c06[_0x1cd3('0x2eca')][0x0]=Math['max'](_0x1f3e11,_0x587621[_0x1cd3('0x2eca')][0x0]+0x1),_0x1f3e11=_0x430c06['temp'][0x0];}this['maxRank']=this['SOURCESCANSTARTRANK']-this[_0x1cd3('0x2ec7')];};mxGraphHierarchyModel['prototype']['fixRanks']=function(){var _0x3adbb7=[];this['ranks']=[];for(var _0x54d469=0x0;_0x54d469<this[_0x1cd3('0x2ec7')]+0x1;_0x54d469++)_0x3adbb7[_0x54d469]=[],this[_0x1cd3('0x2edc')][_0x54d469]=_0x3adbb7[_0x54d469];var _0x283aff=null;if(null!=this[_0x1cd3('0x2edd')])for(var _0x3d6ba8=this[_0x1cd3('0x2edd')],_0x283aff=[],_0x54d469=0x0;_0x54d469<_0x3d6ba8[_0x1cd3('0x7a')];_0x54d469++){var _0x41b7e3=mxCellPath[_0x1cd3('0x624')](_0x3d6ba8[_0x54d469]);_0x283aff[_0x54d469]=this[_0x1cd3('0x2edb')][_0x41b7e3];}this[_0x1cd3('0x29ce')](function(_0x41a2db,_0x4d13f9,_0x2707c7,_0x530351,_0x4c7f9a){0x0==_0x4c7f9a&&(0x0>_0x4d13f9[_0x1cd3('0x2ec7')]&&0x0>_0x4d13f9[_0x1cd3('0x2ec8')])&&(_0x3adbb7[_0x4d13f9[_0x1cd3('0x2eca')][0x0]][_0x1cd3('0x7b')](_0x4d13f9),_0x4d13f9[_0x1cd3('0x2ec7')]=_0x4d13f9[_0x1cd3('0x2eca')][0x0],_0x4d13f9[_0x1cd3('0x2ec8')]=_0x4d13f9[_0x1cd3('0x2eca')][0x0],_0x4d13f9[_0x1cd3('0x2eca')][0x0]=_0x3adbb7[_0x4d13f9[_0x1cd3('0x2ec7')]]['length']-0x1);if(null!=_0x41a2db&&null!=_0x2707c7&&0x1<_0x41a2db[_0x1cd3('0x2ec7')]-_0x4d13f9[_0x1cd3('0x2ec7')]){_0x2707c7[_0x1cd3('0x2ec7')]=_0x41a2db[_0x1cd3('0x2ec7')];_0x2707c7[_0x1cd3('0x2ec8')]=_0x4d13f9['maxRank'];_0x2707c7[_0x1cd3('0x2eca')]=[];_0x2707c7['x']=[];_0x2707c7['y']=[];for(_0x41a2db=_0x2707c7[_0x1cd3('0x2ec8')]+0x1;_0x41a2db<_0x2707c7[_0x1cd3('0x2ec7')];_0x41a2db++)_0x3adbb7[_0x41a2db]['push'](_0x2707c7),_0x2707c7[_0x1cd3('0x2ece')](_0x41a2db,_0x3adbb7[_0x41a2db][_0x1cd3('0x7a')]-0x1);}},_0x283aff,!0x1,null);};mxGraphHierarchyModel[_0x1cd3('0x77a')][_0x1cd3('0x29ce')]=function(_0x29a670,_0x2f220b,_0x5bf219,_0x32da16){if(null!=_0x2f220b){for(var _0x439bef=0x0;_0x439bef<_0x2f220b[_0x1cd3('0x7a')];_0x439bef++){var _0x4f7973=_0x2f220b[_0x439bef];null!=_0x4f7973&&(null==_0x32da16&&(_0x32da16={}),_0x5bf219?(_0x4f7973['hashCode']=[],_0x4f7973[_0x1cd3('0x2ed1')][0x0]=this[_0x1cd3('0x2ede')],_0x4f7973['hashCode'][0x1]=_0x439bef,this['extendedDfs'](null,_0x4f7973,null,_0x29a670,_0x32da16,_0x4f7973[_0x1cd3('0x2ed1')],_0x439bef,0x0)):this[_0x1cd3('0x2e89')](null,_0x4f7973,null,_0x29a670,_0x32da16,0x0));}this[_0x1cd3('0x2ede')]++;}};mxGraphHierarchyModel[_0x1cd3('0x77a')][_0x1cd3('0x2e89')]=function(_0x577a01,_0x48700b,_0x5e276e,_0x586b0e,_0x564831,_0x232c72){if(null!=_0x48700b){var _0x52f7f6=mxCellPath[_0x1cd3('0x624')](_0x48700b[_0x1cd3('0xefb')]);if(null==_0x564831[_0x52f7f6]){_0x564831[_0x52f7f6]=_0x48700b;_0x586b0e(_0x577a01,_0x48700b,_0x5e276e,_0x232c72,0x0);_0x577a01=_0x48700b[_0x1cd3('0x2ed0')][_0x1cd3('0x9a2')]();for(_0x5e276e=0x0;_0x5e276e<_0x577a01[_0x1cd3('0x7a')];_0x5e276e++)_0x52f7f6=_0x577a01[_0x5e276e],this[_0x1cd3('0x2e89')](_0x48700b,_0x52f7f6[_0x1cd3('0x365')],_0x52f7f6,_0x586b0e,_0x564831,_0x232c72+0x1);}else _0x586b0e(_0x577a01,_0x48700b,_0x5e276e,_0x232c72,0x1);}};mxGraphHierarchyModel[_0x1cd3('0x77a')][_0x1cd3('0x2ee1')]=function(_0xa989d9,_0x51d47f,_0x21c694,_0xd0524e,_0xa54453,_0x5d37c2,_0xb8e985,_0x553a29){if(null!=_0x51d47f){if(null!=_0xa989d9&&(null==_0x51d47f[_0x1cd3('0x2ed1')]||_0x51d47f['hashCode'][0x0]!=_0xa989d9[_0x1cd3('0x2ed1')][0x0]))_0x5d37c2=_0xa989d9[_0x1cd3('0x2ed1')][_0x1cd3('0x7a')]+0x1,_0x51d47f[_0x1cd3('0x2ed1')]=_0xa989d9[_0x1cd3('0x2ed1')][_0x1cd3('0x9a2')](),_0x51d47f[_0x1cd3('0x2ed1')][_0x5d37c2-0x1]=_0xb8e985;_0xb8e985=mxCellPath[_0x1cd3('0x624')](_0x51d47f['cell']);if(null==_0xa54453[_0xb8e985]){_0xa54453[_0xb8e985]=_0x51d47f;_0xd0524e(_0xa989d9,_0x51d47f,_0x21c694,_0x553a29,0x0);_0xa989d9=_0x51d47f['connectsAsSource'][_0x1cd3('0x9a2')]();for(_0x21c694=0x0;_0x21c694<_0xa989d9[_0x1cd3('0x7a')];_0x21c694++)_0xb8e985=_0xa989d9[_0x21c694],this[_0x1cd3('0x2ee1')](_0x51d47f,_0xb8e985['target'],_0xb8e985,_0xd0524e,_0xa54453,_0x51d47f[_0x1cd3('0x2ed1')],_0x21c694,_0x553a29+0x1);}else _0xd0524e(_0xa989d9,_0x51d47f,_0x21c694,_0x553a29,0x1);}};function mxHierarchicalLayoutStage(){}mxHierarchicalLayoutStage[_0x1cd3('0x77a')][_0x1cd3('0x2b5b')]=function(_0x592f3d){};function mxMedianHybridCrossingReduction(_0x18c569){this[_0x1cd3('0x2e8f')]=_0x18c569;}mxMedianHybridCrossingReduction[_0x1cd3('0x77a')]=new mxHierarchicalLayoutStage();mxMedianHybridCrossingReduction['prototype'][_0x1cd3('0x29db')]=mxMedianHybridCrossingReduction;mxMedianHybridCrossingReduction[_0x1cd3('0x77a')][_0x1cd3('0x2e8f')]=null;mxMedianHybridCrossingReduction['prototype'][_0x1cd3('0x2eb8')]=0x18;mxMedianHybridCrossingReduction[_0x1cd3('0x77a')][_0x1cd3('0x2ee2')]=null;mxMedianHybridCrossingReduction['prototype'][_0x1cd3('0x2ee3')]=0x0;mxMedianHybridCrossingReduction[_0x1cd3('0x77a')][_0x1cd3('0x2ee4')]=0x0;mxMedianHybridCrossingReduction['prototype']['maxNoImprovementIterations']=0x2;mxMedianHybridCrossingReduction['prototype']['execute']=function(_0x143bf7){_0x143bf7=this[_0x1cd3('0x2e8f')][_0x1cd3('0x2a77')]();this[_0x1cd3('0x2ee2')]=[];for(var _0x184145=0x0;_0x184145<_0x143bf7['ranks'][_0x1cd3('0x7a')];_0x184145++)this['nestedBestRanks'][_0x184145]=_0x143bf7[_0x1cd3('0x2edc')][_0x184145][_0x1cd3('0x9a2')]();for(var _0x408059=0x0,_0xa0647a=this[_0x1cd3('0x2ee5')](_0x143bf7),_0x184145=0x0;_0x184145<this['maxIterations']&&_0x408059<this[_0x1cd3('0x2ee6')];_0x184145++){this[_0x1cd3('0x2ee7')](_0x184145,_0x143bf7);this[_0x1cd3('0x2ee8')](_0x184145,_0x143bf7);var _0x285611=this[_0x1cd3('0x2ee5')](_0x143bf7);if(_0x285611<_0xa0647a){_0xa0647a=_0x285611;for(_0x285611=_0x408059=0x0;_0x285611<this[_0x1cd3('0x2ee2')][_0x1cd3('0x7a')];_0x285611++)for(var _0x5be38e=_0x143bf7[_0x1cd3('0x2edc')][_0x285611],_0x4e7e90=0x0;_0x4e7e90<_0x5be38e[_0x1cd3('0x7a')];_0x4e7e90++){var _0x170f30=_0x5be38e[_0x4e7e90];this[_0x1cd3('0x2ee2')][_0x285611][_0x170f30[_0x1cd3('0x2ecd')](_0x285611)]=_0x170f30;}}else{_0x408059++;for(_0x285611=0x0;_0x285611<this[_0x1cd3('0x2ee2')][_0x1cd3('0x7a')];_0x285611++){_0x5be38e=_0x143bf7[_0x1cd3('0x2edc')][_0x285611];for(_0x4e7e90=0x0;_0x4e7e90<_0x5be38e['length'];_0x4e7e90++)_0x170f30=_0x5be38e[_0x4e7e90],_0x170f30[_0x1cd3('0x2ece')](_0x285611,_0x4e7e90);}}if(0x0==_0xa0647a)break;}_0x408059=[];_0xa0647a=[];for(_0x184145=0x0;_0x184145<_0x143bf7[_0x1cd3('0x2ec7')]+0x1;_0x184145++)_0xa0647a[_0x184145]=[],_0x408059[_0x184145]=_0xa0647a[_0x184145];for(_0x184145=0x0;_0x184145<this[_0x1cd3('0x2ee2')][_0x1cd3('0x7a')];_0x184145++)for(_0x285611=0x0;_0x285611<this[_0x1cd3('0x2ee2')][_0x184145][_0x1cd3('0x7a')];_0x285611++)_0xa0647a[_0x184145][_0x1cd3('0x7b')](this['nestedBestRanks'][_0x184145][_0x285611]);_0x143bf7['ranks']=_0x408059;};mxMedianHybridCrossingReduction[_0x1cd3('0x77a')][_0x1cd3('0x2ee5')]=function(_0x58e435){for(var _0x5c2c77=_0x58e435['ranks'][_0x1cd3('0x7a')],_0x1fbba1=0x0,_0x49d897=0x1;_0x49d897<_0x5c2c77;_0x49d897++)_0x1fbba1+=this[_0x1cd3('0x2ee9')](_0x49d897,_0x58e435);return _0x1fbba1;};mxMedianHybridCrossingReduction[_0x1cd3('0x77a')][_0x1cd3('0x2ee9')]=function(_0x2b3f26,_0x946232){for(var _0x2ba8f2=0x0,_0x3944f0=_0x946232[_0x1cd3('0x2edc')][_0x2b3f26],_0x4c315c=_0x3944f0[_0x1cd3('0x7a')],_0x4eaba9=_0x946232[_0x1cd3('0x2edc')][_0x2b3f26-0x1][_0x1cd3('0x7a')],_0x21f3a3=[],_0x3ffa39=0x0;_0x3ffa39<_0x4c315c;_0x3ffa39++)_0x21f3a3[_0x3ffa39]=[];for(_0x3ffa39=0x0;_0x3ffa39<_0x3944f0[_0x1cd3('0x7a')];_0x3ffa39++)for(var _0x44ab3f=_0x3944f0[_0x3ffa39],_0x3f3165=_0x44ab3f['getGeneralPurposeVariable'](_0x2b3f26),_0x1df9bb=_0x44ab3f[_0x1cd3('0x2ecc')](_0x2b3f26),_0x44ab3f=0x0;_0x44ab3f<_0x1df9bb[_0x1cd3('0x7a')];_0x44ab3f++){var _0x4de1e1=_0x1df9bb[_0x44ab3f][_0x1cd3('0x2ecd')](_0x2b3f26-0x1);_0x21f3a3[_0x3f3165][_0x4de1e1]=0x311f7;}for(_0x3ffa39=0x0;_0x3ffa39<_0x4c315c;_0x3ffa39++)for(_0x44ab3f=0x0;_0x44ab3f<_0x4eaba9;_0x44ab3f++)if(0x311f7==_0x21f3a3[_0x3ffa39][_0x44ab3f]){for(_0x3944f0=_0x3ffa39+0x1;_0x3944f0<_0x4c315c;_0x3944f0++)for(_0x3f3165=0x0;_0x3f3165<_0x44ab3f;_0x3f3165++)0x311f7==_0x21f3a3[_0x3944f0][_0x3f3165]&&_0x2ba8f2++;for(_0x3944f0=0x0;_0x3944f0<_0x3ffa39;_0x3944f0++)for(_0x3f3165=_0x44ab3f+0x1;_0x3f3165<_0x4eaba9;_0x3f3165++)0x311f7==_0x21f3a3[_0x3944f0][_0x3f3165]&&_0x2ba8f2++;}return _0x2ba8f2/0x2;};mxMedianHybridCrossingReduction[_0x1cd3('0x77a')]['transpose']=function(_0x58acc6,_0x441ffd){for(var _0x2ab614=!0x0,_0x915d8=0x0;_0x2ab614&&0xa>_0x915d8++;)for(var _0x19f7d5=0x1==_0x58acc6%0x2&&0x1==_0x915d8%0x2,_0x2ab614=!0x1,_0x24f0a1=0x0;_0x24f0a1<_0x441ffd[_0x1cd3('0x2edc')][_0x1cd3('0x7a')];_0x24f0a1++){for(var _0x270cc4=_0x441ffd[_0x1cd3('0x2edc')][_0x24f0a1],_0xe9b018=[],_0x186c19=0x0;_0x186c19<_0x270cc4[_0x1cd3('0x7a')];_0x186c19++){var _0x17240c=_0x270cc4[_0x186c19],_0x5017fb=_0x17240c[_0x1cd3('0x2ecd')](_0x24f0a1);0x0>_0x5017fb&&(_0x5017fb=_0x186c19);_0xe9b018[_0x5017fb]=_0x17240c;}for(var _0xb87a25=_0x5017fb=_0x17240c=null,_0xe1c344=null,_0x2587cd=null,_0x3a6f38=null,_0x1efd0=null,_0x44fc57=null,_0x5e51f9=null,_0x4ff97c=null,_0x186c19=0x0;_0x186c19<_0x270cc4[_0x1cd3('0x7a')]-0x1;_0x186c19++){if(0x0==_0x186c19){for(var _0x5e51f9=_0xe9b018[_0x186c19],_0x17240c=_0x5e51f9[_0x1cd3('0x2ecb')](_0x24f0a1),_0x5017fb=_0x5e51f9[_0x1cd3('0x2ecc')](_0x24f0a1),_0x2587cd=[],_0x3a6f38=[],_0x84a605=0x0;_0x84a605<_0x17240c[_0x1cd3('0x7a')];_0x84a605++)_0x2587cd[_0x84a605]=_0x17240c[_0x84a605][_0x1cd3('0x2ecd')](_0x24f0a1+0x1);for(_0x84a605=0x0;_0x84a605<_0x5017fb[_0x1cd3('0x7a')];_0x84a605++)_0x3a6f38[_0x84a605]=_0x5017fb[_0x84a605][_0x1cd3('0x2ecd')](_0x24f0a1-0x1);}else _0x17240c=_0xb87a25,_0x5017fb=_0xe1c344,_0x2587cd=_0x1efd0,_0x3a6f38=_0x44fc57,_0x5e51f9=_0x4ff97c;_0x4ff97c=_0xe9b018[_0x186c19+0x1];_0xb87a25=_0x4ff97c[_0x1cd3('0x2ecb')](_0x24f0a1);_0xe1c344=_0x4ff97c[_0x1cd3('0x2ecc')](_0x24f0a1);_0x1efd0=[];_0x44fc57=[];for(_0x84a605=0x0;_0x84a605<_0xb87a25[_0x1cd3('0x7a')];_0x84a605++)_0x1efd0[_0x84a605]=_0xb87a25[_0x84a605]['getGeneralPurposeVariable'](_0x24f0a1+0x1);for(_0x84a605=0x0;_0x84a605<_0xe1c344[_0x1cd3('0x7a')];_0x84a605++)_0x44fc57[_0x84a605]=_0xe1c344[_0x84a605][_0x1cd3('0x2ecd')](_0x24f0a1-0x1);for(var _0x2da805=0x0,_0x2ae14b=0x0,_0x84a605=0x0;_0x84a605<_0x2587cd[_0x1cd3('0x7a')];_0x84a605++)for(var _0xfa6953=0x0;_0xfa6953<_0x1efd0[_0x1cd3('0x7a')];_0xfa6953++)_0x2587cd[_0x84a605]>_0x1efd0[_0xfa6953]&&_0x2da805++,_0x2587cd[_0x84a605]<_0x1efd0[_0xfa6953]&&_0x2ae14b++;for(_0x84a605=0x0;_0x84a605<_0x3a6f38[_0x1cd3('0x7a')];_0x84a605++)for(_0xfa6953=0x0;_0xfa6953<_0x44fc57['length'];_0xfa6953++)_0x3a6f38[_0x84a605]>_0x44fc57[_0xfa6953]&&_0x2da805++,_0x3a6f38[_0x84a605]<_0x44fc57[_0xfa6953]&&_0x2ae14b++;if(_0x2ae14b<_0x2da805||_0x2ae14b==_0x2da805&&_0x19f7d5)_0xb87a25=_0x5e51f9[_0x1cd3('0x2ecd')](_0x24f0a1),_0x5e51f9[_0x1cd3('0x2ece')](_0x24f0a1,_0x4ff97c[_0x1cd3('0x2ecd')](_0x24f0a1)),_0x4ff97c[_0x1cd3('0x2ece')](_0x24f0a1,_0xb87a25),_0xb87a25=_0x17240c,_0xe1c344=_0x5017fb,_0x1efd0=_0x2587cd,_0x44fc57=_0x3a6f38,_0x4ff97c=_0x5e51f9,_0x19f7d5||(_0x2ab614=!0x0);}}};mxMedianHybridCrossingReduction['prototype'][_0x1cd3('0x2ee7')]=function(_0x1f5573,_0x33644d){var _0x27f138=0x0==_0x1f5573%0x2;if(_0x27f138)for(var _0x1146e1=_0x33644d[_0x1cd3('0x2ec7')]-0x1;0x0<=_0x1146e1;_0x1146e1--)this['medianRank'](_0x1146e1,_0x27f138);else for(_0x1146e1=0x1;_0x1146e1<_0x33644d[_0x1cd3('0x2ec7')];_0x1146e1++)this['medianRank'](_0x1146e1,_0x27f138);};mxMedianHybridCrossingReduction[_0x1cd3('0x77a')][_0x1cd3('0x2eea')]=function(_0x49a386,_0x2da489){for(var _0x4ff208=this[_0x1cd3('0x2ee2')][_0x49a386][_0x1cd3('0x7a')],_0x3d9234=[],_0xcbe1a8=[],_0x38403f=0x0;_0x38403f<_0x4ff208;_0x38403f++){var _0x446ef0=this[_0x1cd3('0x2ee2')][_0x49a386][_0x38403f],_0x67d3b=new MedianCellSorter();_0x67d3b[_0x1cd3('0xefb')]=_0x446ef0;var _0x3ab601;_0x3ab601=_0x2da489?_0x446ef0[_0x1cd3('0x2ecb')](_0x49a386):_0x446ef0['getPreviousLayerConnectedCells'](_0x49a386);var _0x4f0cd3;_0x4f0cd3=_0x2da489?_0x49a386+0x1:_0x49a386-0x1;null!=_0x3ab601&&0x0!=_0x3ab601[_0x1cd3('0x7a')]?(_0x67d3b['medianValue']=this[_0x1cd3('0x2eeb')](_0x3ab601,_0x4f0cd3),_0x3d9234['push'](_0x67d3b)):_0xcbe1a8[_0x446ef0[_0x1cd3('0x2ecd')](_0x49a386)]=!0x0;}_0x3d9234[_0x1cd3('0x550')](MedianCellSorter[_0x1cd3('0x77a')][_0x1cd3('0x2a6a')]);for(_0x38403f=0x0;_0x38403f<_0x4ff208;_0x38403f++)null==_0xcbe1a8[_0x38403f]&&(_0x446ef0=_0x3d9234[_0x1cd3('0x18d5')]()[_0x1cd3('0xefb')],_0x446ef0['setGeneralPurposeVariable'](_0x49a386,_0x38403f));};mxMedianHybridCrossingReduction[_0x1cd3('0x77a')][_0x1cd3('0x2eeb')]=function(_0x2d2145,_0x54b976){for(var _0x33a5b6=[],_0x181a99=0x0,_0x4d9684=0x0;_0x4d9684<_0x2d2145['length'];_0x4d9684++){var _0x2dfba8=_0x2d2145[_0x4d9684];_0x33a5b6[_0x181a99++]=_0x2dfba8[_0x1cd3('0x2ecd')](_0x54b976);}_0x33a5b6[_0x1cd3('0x550')](function(_0x28bdf1,_0x2c8b23){return _0x28bdf1-_0x2c8b23;});if(0x1==_0x181a99%0x2)return _0x33a5b6[Math['floor'](_0x181a99/0x2)];if(0x2==_0x181a99)return(_0x33a5b6[0x0]+_0x33a5b6[0x1])/0x2;_0x4d9684=_0x181a99/0x2;_0x2dfba8=_0x33a5b6[_0x4d9684-0x1]-_0x33a5b6[0x0];_0x181a99=_0x33a5b6[_0x181a99-0x1]-_0x33a5b6[_0x4d9684];return(_0x33a5b6[_0x4d9684-0x1]*_0x181a99+_0x33a5b6[_0x4d9684]*_0x2dfba8)/(_0x2dfba8+_0x181a99);};function MedianCellSorter(){}MedianCellSorter[_0x1cd3('0x77a')][_0x1cd3('0x2eeb')]=0x0;MedianCellSorter[_0x1cd3('0x77a')][_0x1cd3('0xefb')]=!0x1;MedianCellSorter['prototype']['compare']=function(_0x35a457,_0x4b5b52){return null!=_0x35a457&&null!=_0x4b5b52?_0x4b5b52[_0x1cd3('0x2eeb')]>_0x35a457[_0x1cd3('0x2eeb')]?-0x1:_0x4b5b52[_0x1cd3('0x2eeb')]<_0x35a457[_0x1cd3('0x2eeb')]?0x1:0x0:0x0;};function mxMinimumCycleRemover(_0x2b44e6){this[_0x1cd3('0x2e8f')]=_0x2b44e6;}mxMinimumCycleRemover[_0x1cd3('0x77a')]=new mxHierarchicalLayoutStage();mxMinimumCycleRemover['prototype'][_0x1cd3('0x29db')]=mxMinimumCycleRemover;mxMinimumCycleRemover['prototype']['layout']=null;mxMinimumCycleRemover['prototype'][_0x1cd3('0x2b5b')]=function(_0x541128){var _0x3f4c88=this[_0x1cd3('0x2e8f')][_0x1cd3('0x2a77')](),_0x40d128={},_0x5349cc=mxUtils[_0x1cd3('0x1141')](_0x3f4c88[_0x1cd3('0x2edb')],null,!0x0),_0x200561=null;if(null!=_0x3f4c88[_0x1cd3('0x2edd')]){var _0x18a5ff=_0x3f4c88[_0x1cd3('0x2edd')],_0x200561=[];for(_0x541128=0x0;_0x541128<_0x18a5ff[_0x1cd3('0x7a')];_0x541128++){var _0x3d283c=mxCellPath[_0x1cd3('0x624')](_0x18a5ff[_0x541128]);_0x200561[_0x541128]=_0x3f4c88[_0x1cd3('0x2edb')][_0x3d283c];}}_0x3f4c88[_0x1cd3('0x29ce')](function(_0x1b14ad,_0x4d910e,_0x25cf87,_0xfb5c98,_0x336d8a){_0x4d910e[_0x1cd3('0x2ed4')](_0x1b14ad)&&(_0x25cf87['invert'](),mxUtils[_0x1cd3('0x383')](_0x25cf87,_0x1b14ad[_0x1cd3('0x2ed0')]),_0x1b14ad[_0x1cd3('0x2ecf')][_0x1cd3('0x7b')](_0x25cf87),mxUtils['remove'](_0x25cf87,_0x4d910e[_0x1cd3('0x2ecf')]),_0x4d910e[_0x1cd3('0x2ed0')][_0x1cd3('0x7b')](_0x25cf87));_0x1b14ad=mxCellPath['create'](_0x4d910e[_0x1cd3('0xefb')]);_0x40d128[_0x1b14ad]=_0x4d910e;delete _0x5349cc[_0x1b14ad];},_0x200561,!0x0,null);_0x200561=null;0x0<_0x5349cc[_0x1cd3('0x2eec')]&&(_0x200561=mxUtils[_0x1cd3('0x1141')](_0x5349cc,null,!0x0));_0x541128=mxUtils['clone'](_0x40d128,null,!0x0);_0x3f4c88['visit'](function(_0x26756b,_0x13a275,_0x2fc46b,_0x206e6b,_0x191984){_0x13a275[_0x1cd3('0x2ed4')](_0x26756b)&&(_0x2fc46b[_0x1cd3('0x2e7d')](),mxUtils[_0x1cd3('0x383')](_0x2fc46b,_0x26756b[_0x1cd3('0x2ed0')]),_0x13a275[_0x1cd3('0x2ed0')][_0x1cd3('0x7b')](_0x2fc46b),_0x26756b[_0x1cd3('0x2ecf')][_0x1cd3('0x7b')](_0x2fc46b),mxUtils[_0x1cd3('0x383')](_0x2fc46b,_0x13a275[_0x1cd3('0x2ecf')]));_0x26756b=mxCellPath['create'](_0x13a275[_0x1cd3('0xefb')]);_0x40d128[_0x26756b]=_0x13a275;delete _0x5349cc[_0x26756b];},_0x5349cc,!0x0,_0x541128);_0x18a5ff=this[_0x1cd3('0x2e8f')]['getGraph']();if(null!=_0x200561&&0x0<_0x200561[_0x1cd3('0x7a')]){_0x3f4c88=_0x3f4c88[_0x1cd3('0x2edd')];for(_0x541128=0x0;_0x541128<_0x200561[_0x1cd3('0x7a')];_0x541128++)_0x3d283c=_0x200561[_0x541128][_0x1cd3('0xefb')],0x0==_0x18a5ff[_0x1cd3('0x2eed')](_0x3d283c)[_0x1cd3('0x7a')]&&_0x3f4c88['push'](_0x3d283c);}};function mxCoordinateAssignment(_0x471587,_0x18e5cb,_0x179bd9,_0xbfc340,_0x2f1987,_0x350119){this[_0x1cd3('0x2e8f')]=_0x471587;this[_0x1cd3('0x2eee')]=_0x18e5cb;this[_0x1cd3('0x2eef')]=_0x179bd9;this[_0x1cd3('0x748')]=_0xbfc340;this[_0x1cd3('0x2ef0')]=_0x2f1987;this[_0x1cd3('0x2ef1')]=_0x350119;}var mxHierarchicalEdgeStyle={'ORTHOGONAL':0x1,'POLYLINE':0x2,'STRAIGHT':0x3,'CURVE':0x4};mxCoordinateAssignment[_0x1cd3('0x77a')]=new mxHierarchicalLayoutStage();mxCoordinateAssignment[_0x1cd3('0x77a')][_0x1cd3('0x29db')]=mxCoordinateAssignment;mxCoordinateAssignment[_0x1cd3('0x77a')][_0x1cd3('0x2e8f')]=null;mxCoordinateAssignment['prototype']['intraCellSpacing']=0x1e;mxCoordinateAssignment[_0x1cd3('0x77a')]['interRankCellSpacing']=0x64;mxCoordinateAssignment[_0x1cd3('0x77a')][_0x1cd3('0x2ef1')]=0xa;mxCoordinateAssignment[_0x1cd3('0x77a')][_0x1cd3('0x2eb8')]=0x8;mxCoordinateAssignment[_0x1cd3('0x77a')][_0x1cd3('0x2e83')]=0x5;mxCoordinateAssignment['prototype']['prefVertEdgeOff']=0x2;mxCoordinateAssignment[_0x1cd3('0x77a')][_0x1cd3('0x2e85')]=0xc;mxCoordinateAssignment[_0x1cd3('0x77a')]['channelBuffer']=0x4;mxCoordinateAssignment['prototype'][_0x1cd3('0x2ef2')]=null;mxCoordinateAssignment[_0x1cd3('0x77a')][_0x1cd3('0x748')]=mxConstants['DIRECTION_NORTH'];mxCoordinateAssignment[_0x1cd3('0x77a')][_0x1cd3('0x2ef0')]=null;mxCoordinateAssignment[_0x1cd3('0x77a')]['limitX']=null;mxCoordinateAssignment[_0x1cd3('0x77a')]['currentXDelta']=null;mxCoordinateAssignment['prototype']['widestRank']=null;mxCoordinateAssignment[_0x1cd3('0x77a')][_0x1cd3('0x2ef3')]=null;mxCoordinateAssignment[_0x1cd3('0x77a')]['rankBottomY']=null;mxCoordinateAssignment[_0x1cd3('0x77a')][_0x1cd3('0x2ef4')]=null;mxCoordinateAssignment[_0x1cd3('0x77a')][_0x1cd3('0x2ef5')]=null;mxCoordinateAssignment[_0x1cd3('0x77a')][_0x1cd3('0x2ef6')]=null;mxCoordinateAssignment['prototype']['fineTuning']=!0x0;mxCoordinateAssignment[_0x1cd3('0x77a')][_0x1cd3('0x2af6')]=mxHierarchicalEdgeStyle[_0x1cd3('0x2ef7')];mxCoordinateAssignment[_0x1cd3('0x77a')]['nextLayerConnectedCache']=null;mxCoordinateAssignment['prototype'][_0x1cd3('0x2ef8')]=null;mxCoordinateAssignment[_0x1cd3('0x77a')]['groupPadding']=0xa;mxCoordinateAssignment['prototype'][_0x1cd3('0x2ef9')]=function(){var _0x3a2037=this[_0x1cd3('0x2e8f')][_0x1cd3('0x2a77')]();mxLog[_0x1cd3('0x37e')]();mxLog[_0x1cd3('0x29bf')](_0x1cd3('0x2efa'));for(var _0x41d60a=0x0;_0x41d60a<_0x3a2037['ranks'][_0x1cd3('0x7a')];_0x41d60a++){mxLog[_0x1cd3('0x28be')](_0x1cd3('0x2efb'),_0x41d60a,_0x1cd3('0x2efc'));for(var _0x47c7dd=_0x3a2037[_0x1cd3('0x2edc')][_0x41d60a],_0x5a7a5f=0x0;_0x5a7a5f<_0x47c7dd[_0x1cd3('0x7a')];_0x5a7a5f++)mxLog[_0x1cd3('0x28be')](_0x47c7dd[_0x5a7a5f][_0x1cd3('0x2ecd')](_0x41d60a),'\x20\x20');mxLog['writeln']();}mxLog[_0x1cd3('0x29bf')](_0x1cd3('0x2efd'));};mxCoordinateAssignment[_0x1cd3('0x77a')][_0x1cd3('0x2b5b')]=function(_0x1849dc){this['jettyPositions']=[];_0x1849dc=this[_0x1cd3('0x2e8f')][_0x1cd3('0x2a77')]();this[_0x1cd3('0x2efe')]=0x0;this[_0x1cd3('0x2eff')](this[_0x1cd3('0x2e8f')]['getGraph'](),_0x1849dc);this[_0x1cd3('0x2f00')]&&this[_0x1cd3('0x2f01')](_0x1849dc);var _0xd53a76=0x5f5e100;if(this[_0x1cd3('0x2f00')])for(var _0x474e99=0x0;_0x474e99<this[_0x1cd3('0x2eb8')];_0x474e99++){0x0!=_0x474e99&&(this[_0x1cd3('0x2f02')](_0x474e99,_0x1849dc),this['minNode'](_0x1849dc));if(this[_0x1cd3('0x2efe')]<_0xd53a76){for(var _0x2ecbb6=0x0;_0x2ecbb6<_0x1849dc[_0x1cd3('0x2edc')]['length'];_0x2ecbb6++)for(var _0x246919=_0x1849dc[_0x1cd3('0x2edc')][_0x2ecbb6],_0xca509f=0x0;_0xca509f<_0x246919[_0x1cd3('0x7a')];_0xca509f++){var _0x28d200=_0x246919[_0xca509f];_0x28d200[_0x1cd3('0x2f03')](_0x2ecbb6,_0x28d200[_0x1cd3('0x2ecd')](_0x2ecbb6));}_0xd53a76=this[_0x1cd3('0x2efe')];}else for(_0x2ecbb6=0x0;_0x2ecbb6<_0x1849dc[_0x1cd3('0x2edc')][_0x1cd3('0x7a')];_0x2ecbb6++){_0x246919=_0x1849dc['ranks'][_0x2ecbb6];for(_0xca509f=0x0;_0xca509f<_0x246919[_0x1cd3('0x7a')];_0xca509f++)_0x28d200=_0x246919[_0xca509f],_0x28d200[_0x1cd3('0x2ece')](_0x2ecbb6,_0x28d200[_0x1cd3('0x2b18')](_0x2ecbb6));}this[_0x1cd3('0x2f04')](this[_0x1cd3('0x2e8f')][_0x1cd3('0x2e5a')](),_0x1849dc);this[_0x1cd3('0x2efe')]=0x0;}this[_0x1cd3('0x2f05')](this[_0x1cd3('0x2e8f')]['getGraph'](),_0x1849dc);};mxCoordinateAssignment[_0x1cd3('0x77a')][_0x1cd3('0x2f01')]=function(_0x76f133){for(var _0x56a9c5=[],_0x1ef249=[],_0x49bd93=[],_0x22694f=0x0;_0x22694f<=_0x76f133[_0x1cd3('0x2ec7')];_0x22694f++){_0x49bd93[_0x22694f]=_0x76f133[_0x1cd3('0x2edc')][_0x22694f];for(var _0x5247d3=0x0;_0x5247d3<_0x49bd93[_0x22694f]['length'];_0x5247d3++){var _0x2fb224=_0x49bd93[_0x22694f][_0x5247d3],_0x2325e4=new WeightedCellSorter(_0x2fb224,_0x22694f);_0x2325e4[_0x1cd3('0x2f06')]=_0x5247d3;_0x2325e4[_0x1cd3('0x2ea1')]=!0x0;_0x56a9c5[_0x1cd3('0x7b')](_0x2325e4);_0x2fb224=mxCellPath[_0x1cd3('0x624')](_0x2fb224[_0x1cd3('0x2ed5')]());_0x1ef249[_0x2fb224]=_0x2325e4;}}_0x76f133=0xa*_0x56a9c5[_0x1cd3('0x7a')];for(_0x5247d3=0x0;0x0<_0x56a9c5[_0x1cd3('0x7a')]&&_0x5247d3<=_0x76f133;){var _0x2325e4=_0x56a9c5[_0x1cd3('0x18d5')](),_0x22694f=_0x2325e4[_0x1cd3('0xefb')],_0x5d3d9c=_0x2325e4[_0x1cd3('0x2e9f')],_0x569654=parseInt(_0x2325e4['rankIndex']),_0x2fb224=_0x22694f['getNextLayerConnectedCells'](_0x5d3d9c),_0x2df594=_0x22694f[_0x1cd3('0x2ecc')](_0x5d3d9c),_0x1e7895=_0x2fb224[_0x1cd3('0x7a')],_0x5cb553=_0x2df594[_0x1cd3('0x7a')],_0x2f71f6=this['medianXValue'](_0x2fb224,_0x5d3d9c+0x1),_0x2ba1b5=this[_0x1cd3('0x2f07')](_0x2df594,_0x5d3d9c-0x1),_0x4c5ae6=_0x1e7895+_0x5cb553,_0x4222b0=_0x22694f['getGeneralPurposeVariable'](_0x5d3d9c),_0x36b495=_0x4222b0;0x0<_0x4c5ae6&&(_0x36b495=(_0x2f71f6*_0x1e7895+_0x2ba1b5*_0x5cb553)/_0x4c5ae6);_0x1e7895=!0x1;_0x36b495<_0x4222b0-0x1?0x0==_0x569654?(_0x22694f[_0x1cd3('0x2ece')](_0x5d3d9c,_0x36b495),_0x1e7895=!0x0):(_0x569654=_0x49bd93[_0x5d3d9c][_0x569654-0x1],_0x4222b0=_0x569654[_0x1cd3('0x2ecd')](_0x5d3d9c),_0x4222b0=_0x4222b0+_0x569654[_0x1cd3('0x4d7')]/0x2+this['intraCellSpacing']+_0x22694f[_0x1cd3('0x4d7')]/0x2,_0x4222b0<_0x36b495?(_0x22694f[_0x1cd3('0x2ece')](_0x5d3d9c,_0x36b495),_0x1e7895=!0x0):_0x4222b0<_0x22694f[_0x1cd3('0x2ecd')](_0x5d3d9c)-0x1&&(_0x22694f[_0x1cd3('0x2ece')](_0x5d3d9c,_0x4222b0),_0x1e7895=!0x0)):_0x36b495>_0x4222b0+0x1&&(_0x569654==_0x49bd93[_0x5d3d9c][_0x1cd3('0x7a')]-0x1?(_0x22694f[_0x1cd3('0x2ece')](_0x5d3d9c,_0x36b495),_0x1e7895=!0x0):(_0x569654=_0x49bd93[_0x5d3d9c][_0x569654+0x1],_0x4222b0=_0x569654[_0x1cd3('0x2ecd')](_0x5d3d9c),_0x4222b0=_0x4222b0-_0x569654['width']/0x2-this[_0x1cd3('0x2eee')]-_0x22694f['width']/0x2,_0x4222b0>_0x36b495?(_0x22694f[_0x1cd3('0x2ece')](_0x5d3d9c,_0x36b495),_0x1e7895=!0x0):_0x4222b0>_0x22694f[_0x1cd3('0x2ecd')](_0x5d3d9c)+0x1&&(_0x22694f[_0x1cd3('0x2ece')](_0x5d3d9c,_0x4222b0),_0x1e7895=!0x0)));if(_0x1e7895){for(_0x22694f=0x0;_0x22694f<_0x2fb224[_0x1cd3('0x7a')];_0x22694f++)_0x5d3d9c=_0x2fb224[_0x22694f],_0x5d3d9c=mxCellPath[_0x1cd3('0x624')](_0x5d3d9c[_0x1cd3('0x2ed5')]()),_0x5d3d9c=_0x1ef249[_0x5d3d9c],null!=_0x5d3d9c&&!0x1==_0x5d3d9c[_0x1cd3('0x2ea1')]&&(_0x5d3d9c[_0x1cd3('0x2ea1')]=!0x0,_0x56a9c5[_0x1cd3('0x7b')](_0x5d3d9c));for(_0x22694f=0x0;_0x22694f<_0x2df594[_0x1cd3('0x7a')];_0x22694f++)_0x5d3d9c=_0x2df594[_0x22694f],_0x5d3d9c=mxCellPath['create'](_0x5d3d9c[_0x1cd3('0x2ed5')]()),_0x5d3d9c=_0x1ef249[_0x5d3d9c],null!=_0x5d3d9c&&!0x1==_0x5d3d9c[_0x1cd3('0x2ea1')]&&(_0x5d3d9c['visited']=!0x0,_0x56a9c5['push'](_0x5d3d9c));}_0x2325e4[_0x1cd3('0x2ea1')]=!0x1;_0x5247d3++;}};mxCoordinateAssignment[_0x1cd3('0x77a')][_0x1cd3('0x2f02')]=function(_0x28c52b,_0x5e82d2){if(0x0==_0x28c52b%0x2)for(var _0x4ec6b1=_0x5e82d2[_0x1cd3('0x2ec7')];0x0<_0x4ec6b1;_0x4ec6b1--)this[_0x1cd3('0x2f08')](_0x4ec6b1-0x1,_0x5e82d2,_0x4ec6b1);else for(_0x4ec6b1=0x0;_0x4ec6b1<_0x5e82d2['maxRank']-0x1;_0x4ec6b1++)this[_0x1cd3('0x2f08')](_0x4ec6b1+0x1,_0x5e82d2,_0x4ec6b1);};mxCoordinateAssignment[_0x1cd3('0x77a')][_0x1cd3('0x2f08')]=function(_0x3eb258,_0x746e64,_0x4ffbfd){_0x746e64=_0x746e64['ranks'][_0x3eb258];for(var _0x1b2304=[],_0x54d530=[],_0x50e786=0x0;_0x50e786<_0x746e64[_0x1cd3('0x7a')];_0x50e786++){var _0x2ec71c=_0x746e64[_0x50e786];_0x1b2304[_0x50e786]=new WeightedCellSorter();_0x1b2304[_0x50e786][_0x1cd3('0xefb')]=_0x2ec71c;_0x1b2304[_0x50e786]['rankIndex']=_0x50e786;var _0x38f72c=mxCellPath['create'](_0x2ec71c[_0x1cd3('0x2ed5')]());_0x54d530[_0x38f72c]=_0x1b2304[_0x50e786];var _0x4f6e83=null,_0x4f6e83=_0x4ffbfd<_0x3eb258?_0x2ec71c[_0x1cd3('0x2ecc')](_0x3eb258):_0x2ec71c[_0x1cd3('0x2ecb')](_0x3eb258);_0x1b2304[_0x50e786]['weightedValue']=this[_0x1cd3('0x2f09')](_0x2ec71c,_0x4f6e83);}_0x1b2304[_0x1cd3('0x550')](WeightedCellSorter['prototype'][_0x1cd3('0x2a6a')]);for(_0x50e786=0x0;_0x50e786<_0x1b2304[_0x1cd3('0x7a')];_0x50e786++){_0x38f72c=0x0;_0x2ec71c=_0x1b2304[_0x50e786][_0x1cd3('0xefb')];_0x38f72c=0x0;_0x4f6e83=_0x4ffbfd<_0x3eb258?_0x2ec71c[_0x1cd3('0x2ecc')](_0x3eb258)['slice']():_0x2ec71c[_0x1cd3('0x2ecb')](_0x3eb258)[_0x1cd3('0x9a2')]();null!=_0x4f6e83&&(_0x38f72c=_0x4f6e83[_0x1cd3('0x7a')],_0x38f72c=0x0<_0x38f72c?this[_0x1cd3('0x2f07')](_0x4f6e83,_0x4ffbfd):_0x2ec71c[_0x1cd3('0x2ecd')](_0x3eb258));for(var _0x4fc4b4=0x0,_0x4f6e83=-0x5f5e100,_0x3fc2fd=_0x1b2304[_0x50e786][_0x1cd3('0x2f06')]-0x1;0x0<=_0x3fc2fd;){var _0x4f653f=mxCellPath['create'](_0x746e64[_0x3fc2fd]['getCoreCell']()),_0x4f653f=_0x54d530[_0x4f653f];if(null!=_0x4f653f){var _0x46c71d=_0x4f653f[_0x1cd3('0xefb')];_0x4f653f['visited']?(_0x4f6e83=_0x46c71d['getGeneralPurposeVariable'](_0x3eb258)+_0x46c71d['width']/0x2+this[_0x1cd3('0x2eee')]+_0x4fc4b4+_0x2ec71c[_0x1cd3('0x4d7')]/0x2,_0x3fc2fd=-0x1):(_0x4fc4b4+=_0x46c71d[_0x1cd3('0x4d7')]+this['intraCellSpacing'],_0x3fc2fd--);}}_0x4fc4b4=0x0;_0x46c71d=0x5f5e100;for(_0x3fc2fd=_0x1b2304[_0x50e786]['rankIndex']+0x1;_0x3fc2fd<_0x1b2304['length'];)if(_0x4f653f=mxCellPath[_0x1cd3('0x624')](_0x746e64[_0x3fc2fd][_0x1cd3('0x2ed5')]()),_0x4f653f=_0x54d530[_0x4f653f],null!=_0x4f653f){var _0x5ab7fe=_0x4f653f[_0x1cd3('0xefb')];_0x4f653f[_0x1cd3('0x2ea1')]?(_0x46c71d=_0x5ab7fe['getGeneralPurposeVariable'](_0x3eb258)-_0x5ab7fe[_0x1cd3('0x4d7')]/0x2-this[_0x1cd3('0x2eee')]-_0x4fc4b4-_0x2ec71c[_0x1cd3('0x4d7')]/0x2,_0x3fc2fd=_0x1b2304[_0x1cd3('0x7a')]):(_0x4fc4b4+=_0x5ab7fe['width']+this[_0x1cd3('0x2eee')],_0x3fc2fd++);}_0x38f72c>=_0x4f6e83&&_0x38f72c<=_0x46c71d?_0x2ec71c[_0x1cd3('0x2ece')](_0x3eb258,_0x38f72c):_0x38f72c<_0x4f6e83?(_0x2ec71c[_0x1cd3('0x2ece')](_0x3eb258,_0x4f6e83),this[_0x1cd3('0x2efe')]+=_0x4f6e83-_0x38f72c):_0x38f72c>_0x46c71d&&(_0x2ec71c[_0x1cd3('0x2ece')](_0x3eb258,_0x46c71d),this[_0x1cd3('0x2efe')]+=_0x38f72c-_0x46c71d);_0x1b2304[_0x50e786][_0x1cd3('0x2ea1')]=!0x0;}};mxCoordinateAssignment[_0x1cd3('0x77a')]['calculatedWeightedValue']=function(_0x21ceb6,_0x30fb86){for(var _0x109a4b=0x0,_0x968075=0x0;_0x968075<_0x30fb86[_0x1cd3('0x7a')];_0x968075++){var _0x207e9e=_0x30fb86[_0x968075];_0x21ceb6[_0x1cd3('0x2c98')]()&&_0x207e9e[_0x1cd3('0x2c98')]()?_0x109a4b++:_0x109a4b=_0x21ceb6['isEdge']()&&_0x207e9e[_0x1cd3('0x29dc')]()?_0x109a4b+0x8:_0x109a4b+0x2;}return _0x109a4b;};mxCoordinateAssignment[_0x1cd3('0x77a')][_0x1cd3('0x2f07')]=function(_0x18d79d,_0x5f099a){if(0x0==_0x18d79d[_0x1cd3('0x7a')])return 0x0;for(var _0xeceb89=[],_0x485e4c=0x0;_0x485e4c<_0x18d79d['length'];_0x485e4c++)_0xeceb89[_0x485e4c]=_0x18d79d[_0x485e4c][_0x1cd3('0x2ecd')](_0x5f099a);_0xeceb89[_0x1cd3('0x550')](function(_0x153d16,_0x4b2217){return _0x153d16-_0x4b2217;});if(0x1==_0x18d79d[_0x1cd3('0x7a')]%0x2)return _0xeceb89[Math[_0x1cd3('0x6b1')](_0x18d79d[_0x1cd3('0x7a')]/0x2)];_0x485e4c=_0x18d79d[_0x1cd3('0x7a')]/0x2;return(_0xeceb89[_0x485e4c-0x1]+_0xeceb89[_0x485e4c])/0x2;};mxCoordinateAssignment[_0x1cd3('0x77a')][_0x1cd3('0x2eff')]=function(_0x9d0ef0,_0x5ae5f0){this['calculateWidestRank'](_0x9d0ef0,_0x5ae5f0);for(var _0x25ff0c=this[_0x1cd3('0x2f0a')];0x0<=_0x25ff0c;_0x25ff0c--)_0x25ff0c<_0x5ae5f0[_0x1cd3('0x2ec7')]&&this[_0x1cd3('0x2f0b')](_0x25ff0c,_0x9d0ef0,_0x5ae5f0);for(_0x25ff0c=this['widestRank']+0x1;_0x25ff0c<=_0x5ae5f0[_0x1cd3('0x2ec7')];_0x25ff0c++)0x0<_0x25ff0c&&this[_0x1cd3('0x2f0b')](_0x25ff0c,_0x9d0ef0,_0x5ae5f0);};mxCoordinateAssignment['prototype'][_0x1cd3('0x2f0b')]=function(_0x265cec,_0x40be55,_0x21258e){_0x40be55=_0x21258e[_0x1cd3('0x2edc')][_0x265cec];_0x21258e=0x0;for(var _0x526cb0=this['initialX']+(this[_0x1cd3('0x2ef4')]-this[_0x1cd3('0x2ef5')][_0x265cec])/0x2,_0x2f0a3f=!0x1,_0x3f596b=0x0;_0x3f596b<_0x40be55[_0x1cd3('0x7a')];_0x3f596b++){var _0x3be284=_0x40be55[_0x3f596b];if(_0x3be284[_0x1cd3('0x2c98')]()){var _0xeba63=this[_0x1cd3('0x2e8f')]['getVertexBounds'](_0x3be284['cell']);null!=_0xeba63?this['orientation']==mxConstants[_0x1cd3('0x2d11')]||this[_0x1cd3('0x748')]==mxConstants[_0x1cd3('0x2a56')]?(_0x3be284['width']=_0xeba63[_0x1cd3('0x4d7')],_0x3be284[_0x1cd3('0x4e4')]=_0xeba63[_0x1cd3('0x4e4')]):(_0x3be284[_0x1cd3('0x4d7')]=_0xeba63[_0x1cd3('0x4e4')],_0x3be284[_0x1cd3('0x4e4')]=_0xeba63[_0x1cd3('0x4d7')]):_0x2f0a3f=!0x0;_0x21258e=Math[_0x1cd3('0x13d1')](_0x21258e,_0x3be284[_0x1cd3('0x4e4')]);}else _0x3be284[_0x1cd3('0x29dc')]()&&(_0xeba63=0x1,null!=_0x3be284[_0x1cd3('0x2ed6')]?_0xeba63=_0x3be284[_0x1cd3('0x2ed6')][_0x1cd3('0x7a')]:mxLog['warn'](_0x1cd3('0x2f0c')),_0x3be284[_0x1cd3('0x4d7')]=(_0xeba63-0x1)*this['parallelEdgeSpacing']);_0x526cb0+=_0x3be284['width']/0x2;_0x3be284[_0x1cd3('0x2f03')](_0x265cec,_0x526cb0);_0x3be284['setGeneralPurposeVariable'](_0x265cec,_0x526cb0);_0x526cb0+=_0x3be284[_0x1cd3('0x4d7')]/0x2;_0x526cb0+=this[_0x1cd3('0x2eee')];}!0x0==_0x2f0a3f&&mxLog[_0x1cd3('0x5d9')]('At\x20least\x20one\x20cell\x20has\x20no\x20bounds');};mxCoordinateAssignment['prototype'][_0x1cd3('0x2f0d')]=function(_0x5aa641,_0x262eae){var _0x4fd9b6=-this[_0x1cd3('0x2eef')],_0x44978d=0x0;this[_0x1cd3('0x2ef5')]=[];this['rankY']=[];for(var _0x2782aa=_0x262eae[_0x1cd3('0x2ec7')];0x0<=_0x2782aa;_0x2782aa--){for(var _0x2634a5=0x0,_0x2cb31d=_0x262eae[_0x1cd3('0x2edc')][_0x2782aa],_0x3d8454=this[_0x1cd3('0x2ef0')],_0x3db67d=!0x1,_0x1d620a=0x0;_0x1d620a<_0x2cb31d['length'];_0x1d620a++){var _0x136080=_0x2cb31d[_0x1d620a];if(_0x136080[_0x1cd3('0x2c98')]()){var _0x5db777=this[_0x1cd3('0x2e8f')]['getVertexBounds'](_0x136080['cell']);null!=_0x5db777?this['orientation']==mxConstants[_0x1cd3('0x2d11')]||this['orientation']==mxConstants[_0x1cd3('0x2a56')]?(_0x136080[_0x1cd3('0x4d7')]=_0x5db777[_0x1cd3('0x4d7')],_0x136080[_0x1cd3('0x4e4')]=_0x5db777[_0x1cd3('0x4e4')]):(_0x136080['width']=_0x5db777['height'],_0x136080[_0x1cd3('0x4e4')]=_0x5db777[_0x1cd3('0x4d7')]):_0x3db67d=!0x0;_0x2634a5=Math[_0x1cd3('0x13d1')](_0x2634a5,_0x136080['height']);}else _0x136080[_0x1cd3('0x29dc')]()&&(_0x5db777=0x1,null!=_0x136080['edges']?_0x5db777=_0x136080[_0x1cd3('0x2ed6')]['length']:mxLog['warn']('edge.edges\x20is\x20null'),_0x136080[_0x1cd3('0x4d7')]=(_0x5db777-0x1)*this[_0x1cd3('0x2ef1')]);_0x3d8454+=_0x136080['width']/0x2;_0x136080['setX'](_0x2782aa,_0x3d8454);_0x136080[_0x1cd3('0x2ece')](_0x2782aa,_0x3d8454);_0x3d8454+=_0x136080[_0x1cd3('0x4d7')]/0x2;_0x3d8454+=this['intraCellSpacing'];_0x3d8454>this[_0x1cd3('0x2ef4')]&&(this[_0x1cd3('0x2ef4')]=_0x3d8454,this[_0x1cd3('0x2f0a')]=_0x2782aa);this[_0x1cd3('0x2ef5')][_0x2782aa]=_0x3d8454;}!0x0==_0x3db67d&&mxLog['warn'](_0x1cd3('0x2f0e'));this[_0x1cd3('0x2ef6')][_0x2782aa]=_0x4fd9b6;_0x3d8454=_0x2634a5/0x2+_0x44978d/0x2+this[_0x1cd3('0x2eef')];_0x44978d=_0x2634a5;_0x4fd9b6=this[_0x1cd3('0x748')]==mxConstants[_0x1cd3('0x2d11')]||this['orientation']==mxConstants['DIRECTION_WEST']?_0x4fd9b6+_0x3d8454:_0x4fd9b6-_0x3d8454;for(_0x1d620a=0x0;_0x1d620a<_0x2cb31d[_0x1cd3('0x7a')];_0x1d620a++)_0x2cb31d[_0x1d620a][_0x1cd3('0x2f0f')](_0x2782aa,_0x4fd9b6);}};mxCoordinateAssignment[_0x1cd3('0x77a')][_0x1cd3('0x2f04')]=function(_0x19ff3e,_0x5487cd){var _0x48a54=_0x5487cd[_0x1cd3('0x2ed8')],_0x3e7e0a;for(_0x3e7e0a in _0x48a54){var _0x1c84cf=_0x48a54[_0x3e7e0a];if(!(0x1>_0x1c84cf[_0x1cd3('0x2ec7')]-_0x1c84cf['minRank']-0x1)){for(var _0xd6daa4=_0x1c84cf[_0x1cd3('0x2ecd')](_0x1c84cf[_0x1cd3('0x2ec8')]+0x1),_0x48b0e5=!0x0,_0x3f6528=0x0,_0x5d5793=_0x1c84cf[_0x1cd3('0x2ec8')]+0x2;_0x5d5793<_0x1c84cf[_0x1cd3('0x2ec7')];_0x5d5793++){var _0x54d557=_0x1c84cf[_0x1cd3('0x2ecd')](_0x5d5793);_0xd6daa4!=_0x54d557?(_0x48b0e5=!0x1,_0xd6daa4=_0x54d557):_0x3f6528++;}if(!_0x48b0e5){for(var _0x48b0e5=_0xd6daa4=0x0,_0x54d557=[],_0x256501=[],_0x1077f9=_0x1c84cf['getGeneralPurposeVariable'](_0x1c84cf['minRank']+0x1),_0x5d5793=_0x1c84cf[_0x1cd3('0x2ec8')]+0x1;_0x5d5793<_0x1c84cf['maxRank']-0x1;_0x5d5793++){var _0x2a7990=_0x1c84cf['getX'](_0x5d5793+0x1);_0x1077f9==_0x2a7990?(_0x54d557[_0x5d5793-_0x1c84cf['minRank']-0x1]=_0x1077f9,_0xd6daa4++):this['repositionValid'](_0x5487cd,_0x1c84cf,_0x5d5793+0x1,_0x1077f9)?(_0x54d557[_0x5d5793-_0x1c84cf[_0x1cd3('0x2ec8')]-0x1]=_0x1077f9,_0xd6daa4++):_0x1077f9=_0x54d557[_0x5d5793-_0x1c84cf[_0x1cd3('0x2ec8')]-0x1]=_0x2a7990;}_0x1077f9=_0x1c84cf[_0x1cd3('0x2b18')](_0x5d5793);for(_0x5d5793=_0x1c84cf[_0x1cd3('0x2ec7')]-0x1;_0x5d5793>_0x1c84cf[_0x1cd3('0x2ec8')]+0x1;_0x5d5793--)_0x2a7990=_0x1c84cf[_0x1cd3('0x2b18')](_0x5d5793-0x1),_0x1077f9==_0x2a7990?(_0x256501[_0x5d5793-_0x1c84cf[_0x1cd3('0x2ec8')]-0x2]=_0x1077f9,_0x48b0e5++):this['repositionValid'](_0x5487cd,_0x1c84cf,_0x5d5793-0x1,_0x1077f9)?(_0x256501[_0x5d5793-_0x1c84cf[_0x1cd3('0x2ec8')]-0x2]=_0x1077f9,_0x48b0e5++):(_0x256501[_0x5d5793-_0x1c84cf[_0x1cd3('0x2ec8')]-0x2]=_0x1c84cf[_0x1cd3('0x2b18')](_0x5d5793-0x1),_0x1077f9=_0x2a7990);if(_0x48b0e5>_0x3f6528||_0xd6daa4>_0x3f6528)if(_0x48b0e5>=_0xd6daa4)for(_0x5d5793=_0x1c84cf[_0x1cd3('0x2ec7')]-0x2;_0x5d5793>_0x1c84cf['minRank'];_0x5d5793--)_0x1c84cf['setX'](_0x5d5793,_0x256501[_0x5d5793-_0x1c84cf[_0x1cd3('0x2ec8')]-0x1]);else if(_0xd6daa4>_0x48b0e5)for(_0x5d5793=_0x1c84cf[_0x1cd3('0x2ec8')]+0x2;_0x5d5793<_0x1c84cf[_0x1cd3('0x2ec7')];_0x5d5793++)_0x1c84cf['setX'](_0x5d5793,_0x54d557[_0x5d5793-_0x1c84cf[_0x1cd3('0x2ec8')]-0x2]);}}}};mxCoordinateAssignment['prototype'][_0x1cd3('0x2f10')]=function(_0x5f1346,_0x23899c,_0x4296a5,_0x9d937c){_0x5f1346=_0x5f1346['ranks'][_0x4296a5];for(var _0x4ab8f5=-0x1,_0x23e445=0x0;_0x23e445<_0x5f1346[_0x1cd3('0x7a')];_0x23e445++)if(_0x23899c==_0x5f1346[_0x23e445]){_0x4ab8f5=_0x23e445;break;}if(0x0>_0x4ab8f5)return!0x1;_0x23e445=_0x23899c[_0x1cd3('0x2ecd')](_0x4296a5);if(_0x9d937c<_0x23e445){if(0x0==_0x4ab8f5)return!0x0;_0x5f1346=_0x5f1346[_0x4ab8f5-0x1];_0x4296a5=_0x5f1346[_0x1cd3('0x2ecd')](_0x4296a5);_0x4296a5=_0x4296a5+_0x5f1346[_0x1cd3('0x4d7')]/0x2+this[_0x1cd3('0x2eee')]+_0x23899c[_0x1cd3('0x4d7')]/0x2;if(!(_0x4296a5<=_0x9d937c))return!0x1;}else if(_0x9d937c>_0x23e445){if(_0x4ab8f5==_0x5f1346['length']-0x1)return!0x0;_0x5f1346=_0x5f1346[_0x4ab8f5+0x1];_0x4296a5=_0x5f1346[_0x1cd3('0x2ecd')](_0x4296a5);_0x4296a5=_0x4296a5-_0x5f1346[_0x1cd3('0x4d7')]/0x2-this[_0x1cd3('0x2eee')]-_0x23899c['width']/0x2;if(!(_0x4296a5>=_0x9d937c))return!0x1;}return!0x0;};mxCoordinateAssignment[_0x1cd3('0x77a')][_0x1cd3('0x2f05')]=function(_0xabe897,_0x4784a9){this[_0x1cd3('0x2ef3')]=[];this[_0x1cd3('0x2f11')]=[];for(var _0x3ed0b3=0x0;_0x3ed0b3<_0x4784a9[_0x1cd3('0x2edc')]['length'];_0x3ed0b3++)this[_0x1cd3('0x2ef3')][_0x3ed0b3]=Number[_0x1cd3('0x2f12')],this['rankBottomY'][_0x3ed0b3]=0x0;_0x3ed0b3=null;this['layout'][_0x1cd3('0x2e72')]&&(_0x3ed0b3={});var _0xc3a37e=_0x4784a9[_0x1cd3('0x2ed8')],_0x25239c=_0x4784a9[_0x1cd3('0x2edb')],_0x3e6937;for(_0x3e6937 in _0x25239c){var _0x2f4811=_0x25239c[_0x3e6937];this[_0x1cd3('0x2e69')](_0x2f4811);if(this['layout'][_0x1cd3('0x2e72')]){var _0x2f4811=_0xabe897[_0x1cd3('0x42e')][_0x1cd3('0x2c9d')](_0x2f4811['cell']),_0x465227=mxCellPath[_0x1cd3('0x624')](_0x2f4811);null==_0x3ed0b3[_0x465227]&&(_0x3ed0b3[_0x465227]=_0x2f4811);}}this['layout'][_0x1cd3('0x2e72')]&&null!=_0x3ed0b3&&this[_0x1cd3('0x2e8c')](_0x3ed0b3);(this[_0x1cd3('0x2af6')]==mxHierarchicalEdgeStyle[_0x1cd3('0x2f13')]||this['edgeStyle']==mxHierarchicalEdgeStyle['POLYLINE']||this[_0x1cd3('0x2af6')]==mxHierarchicalEdgeStyle[_0x1cd3('0x2f14')])&&this[_0x1cd3('0x2e9d')](_0x4784a9);for(_0x3e6937 in _0xc3a37e)this[_0x1cd3('0x2f15')](_0xc3a37e[_0x3e6937]);};mxCoordinateAssignment[_0x1cd3('0x77a')]['adjustParents']=function(_0x3d2527){var _0x3ffd54=[],_0x21f541;for(_0x21f541 in _0x3d2527)_0x3ffd54[_0x1cd3('0x7b')](_0x3d2527[_0x21f541]);this[_0x1cd3('0x2e8f')][_0x1cd3('0x2e6c')](mxUtils[_0x1cd3('0x2e9c')](_0x3ffd54,!0x0),this[_0x1cd3('0x2e7e')]);};mxCoordinateAssignment[_0x1cd3('0x77a')][_0x1cd3('0x2e9d')]=function(_0x7f074){for(var _0xa3cc70=0x0;_0xa3cc70<_0x7f074[_0x1cd3('0x2edc')]['length'];_0xa3cc70++)for(var _0x4364d1=_0x7f074[_0x1cd3('0x2edc')][_0xa3cc70],_0x21433b=0x0;_0x21433b<_0x4364d1[_0x1cd3('0x7a')];_0x21433b++){var _0x33804f=_0x4364d1[_0x21433b];if(_0x33804f[_0x1cd3('0x2c98')]())for(var _0xf28f64=_0x33804f[_0x1cd3('0x2ecc')](_0xa3cc70),_0xeb0dff=_0xa3cc70-0x1,_0x18cd2d=0x0;0x2>_0x18cd2d;_0x18cd2d++){if(-0x1<_0xeb0dff&&_0xeb0dff<_0x7f074['ranks'][_0x1cd3('0x7a')]&&null!=_0xf28f64&&0x0<_0xf28f64[_0x1cd3('0x7a')]){for(var _0x4becdd=[],_0x4faec0=0x0;_0x4faec0<_0xf28f64[_0x1cd3('0x7a')];_0x4faec0++){var _0x2427b8=new WeightedCellSorter(_0xf28f64[_0x4faec0],_0xf28f64[_0x4faec0][_0x1cd3('0x2b18')](_0xeb0dff));_0x4becdd['push'](_0x2427b8);}_0x4becdd[_0x1cd3('0x550')](WeightedCellSorter[_0x1cd3('0x77a')]['compare']);for(var _0x2427b8=_0x33804f['x'][0x0]-_0x33804f[_0x1cd3('0x4d7')]/0x2,_0x38ceec=_0x2427b8+_0x33804f[_0x1cd3('0x4d7')],_0x44bdb6=_0xf28f64=0x0,_0xeb0dff=[],_0x4faec0=0x0;_0x4faec0<_0x4becdd['length'];_0x4faec0++){var _0x325fff=_0x4becdd[_0x4faec0][_0x1cd3('0xefb')],_0x2952d7;if(_0x325fff[_0x1cd3('0x2c98')]()){_0x2952d7=0x0==_0x18cd2d?_0x33804f[_0x1cd3('0x2ed0')]:_0x33804f[_0x1cd3('0x2ecf')];for(var _0x147570=0x0;_0x147570<_0x2952d7[_0x1cd3('0x7a')];_0x147570++)if(_0x2952d7[_0x147570][_0x1cd3('0x930')]==_0x325fff||_0x2952d7[_0x147570][_0x1cd3('0x365')]==_0x325fff)_0xf28f64+=_0x2952d7[_0x147570][_0x1cd3('0x2ed6')]['length'],_0x44bdb6++,_0xeb0dff[_0x1cd3('0x7b')](_0x2952d7[_0x147570]);}else _0xf28f64+=_0x325fff[_0x1cd3('0x2ed6')][_0x1cd3('0x7a')],_0x44bdb6++,_0xeb0dff['push'](_0x325fff);}_0x33804f['width']>(_0xf28f64+0x1)*this[_0x1cd3('0x2e83')]+0x2*this['prefHozEdgeSep']&&(_0x2427b8+=this[_0x1cd3('0x2e83')],_0x38ceec-=this[_0x1cd3('0x2e83')]);_0x4becdd=(_0x38ceec-_0x2427b8)/_0xf28f64;_0x2427b8+=_0x4becdd/0x2;_0x38ceec=this['minEdgeJetty']-this['prefVertEdgeOff'];for(_0x4faec0=_0x44bdb6=0x0;_0x4faec0<_0xeb0dff[_0x1cd3('0x7a')];_0x4faec0++){_0x325fff=_0xeb0dff[_0x4faec0][_0x1cd3('0x2ed6')][_0x1cd3('0x7a')];_0x147570=mxCellPath[_0x1cd3('0x624')](_0xeb0dff[_0x4faec0][_0x1cd3('0x2ed6')][0x0]);_0x2952d7=this[_0x1cd3('0x2ef2')][_0x147570];null==_0x2952d7&&(_0x2952d7=[],this['jettyPositions'][_0x147570]=_0x2952d7);_0x4faec0<_0xf28f64/0x2?_0x38ceec+=this[_0x1cd3('0x2e84')]:_0x4faec0>_0xf28f64/0x2&&(_0x38ceec-=this['prefVertEdgeOff']);for(_0x147570=0x0;_0x147570<_0x325fff;_0x147570++)_0x2952d7[0x4*_0x147570+0x2*_0x18cd2d]=_0x2427b8,_0x2427b8+=_0x4becdd,_0x2952d7[0x4*_0x147570+0x2*_0x18cd2d+0x1]=_0x38ceec;_0x44bdb6=Math[_0x1cd3('0x13d1')](_0x44bdb6,_0x38ceec);}}_0xf28f64=_0x33804f[_0x1cd3('0x2ecb')](_0xa3cc70);_0xeb0dff=_0xa3cc70+0x1;}}};mxCoordinateAssignment[_0x1cd3('0x77a')][_0x1cd3('0x2f15')]=function(_0x1f0ed5){var _0x1b20c2=0x0;if(0x18b57!=_0x1f0ed5['temp'][0x0]){var _0x11ce33=_0x1f0ed5[_0x1cd3('0x2ec7')],_0x21ca3a=_0x1f0ed5[_0x1cd3('0x2ec8')];_0x11ce33==_0x21ca3a&&(_0x11ce33=_0x1f0ed5['source'][_0x1cd3('0x2ec7')],_0x21ca3a=_0x1f0ed5[_0x1cd3('0x365')]['minRank']);for(var _0x55cf67=0x0,_0x32951b=mxCellPath[_0x1cd3('0x624')](_0x1f0ed5[_0x1cd3('0x2ed6')][0x0]),_0x32951b=this[_0x1cd3('0x2ef2')][_0x32951b],_0x4decd2=_0x1f0ed5[_0x1cd3('0x2ed7')]?_0x1f0ed5['target'][_0x1cd3('0xefb')]:_0x1f0ed5[_0x1cd3('0x930')][_0x1cd3('0xefb')],_0x3257b0=this[_0x1cd3('0x2e8f')][_0x1cd3('0x2c89')],_0x2fd9ef=0x0;_0x2fd9ef<_0x1f0ed5['edges']['length'];_0x2fd9ef++){var _0xf6184d=_0x1f0ed5[_0x1cd3('0x2ed6')][_0x2fd9ef],_0x470cae=this[_0x1cd3('0x2e8f')]['getVisibleTerminal'](_0xf6184d,!0x0),_0x20d3eb=_0x3257b0[_0x1cd3('0x42e')]['getTerminal'](_0xf6184d,!0x0),_0x3fdb4a=[],_0x3dacfb=_0x1f0ed5[_0x1cd3('0x2ed7')];_0x470cae!=_0x4decd2&&(_0x3dacfb=!_0x3dacfb);if(null!=_0x32951b){var _0x3411de=_0x3dacfb?0x2:0x0,_0x465ccb=_0x3dacfb?this[_0x1cd3('0x2ef3')][_0x21ca3a]:this['rankBottomY'][_0x11ce33],_0x3b15dc=_0x32951b[0x4*_0x55cf67+0x1+_0x3411de];_0x3dacfb&&(_0x3b15dc=-_0x3b15dc);_0x465ccb+=_0x3b15dc;_0x3411de=_0x32951b[0x4*_0x55cf67+_0x3411de];_0x20d3eb=_0x3257b0[_0x1cd3('0x42e')]['getTerminal'](_0xf6184d,!0x0);this[_0x1cd3('0x2e8f')][_0x1cd3('0x2f16')](_0x20d3eb)&&_0x3257b0[_0x1cd3('0x42e')][_0x1cd3('0x2c9d')](_0x20d3eb)==_0x470cae&&(_0x3411de=_0x3257b0[_0x1cd3('0x1665')][_0x1cd3('0x29d9')](_0x20d3eb),_0x3411de=null!=_0x3411de?_0x3411de['x']:_0x470cae[_0x1cd3('0x29e1')]['x']+_0x1f0ed5[_0x1cd3('0x930')]['width']*_0x20d3eb[_0x1cd3('0x29e1')]['x']);this['orientation']==mxConstants[_0x1cd3('0x2d11')]||this['orientation']==mxConstants[_0x1cd3('0x2a56')]?(_0x3fdb4a[_0x1cd3('0x7b')](new mxPoint(_0x3411de,_0x465ccb)),this[_0x1cd3('0x2af6')]==mxHierarchicalEdgeStyle['CURVE']&&_0x3fdb4a[_0x1cd3('0x7b')](new mxPoint(_0x3411de,_0x465ccb+_0x3b15dc))):(_0x3fdb4a[_0x1cd3('0x7b')](new mxPoint(_0x465ccb,_0x3411de)),this['edgeStyle']==mxHierarchicalEdgeStyle[_0x1cd3('0x2f14')]&&_0x3fdb4a[_0x1cd3('0x7b')](new mxPoint(_0x465ccb+_0x3b15dc,_0x3411de)));}_0x3411de=_0x1f0ed5['x'][_0x1cd3('0x7a')]-0x1;_0x465ccb=_0x3b15dc=-0x1;_0x470cae=_0x1f0ed5[_0x1cd3('0x2ec7')]-0x1;_0x3dacfb&&(_0x3411de=0x0,_0x3b15dc=_0x1f0ed5['x'][_0x1cd3('0x7a')],_0x465ccb=0x1,_0x470cae=_0x1f0ed5[_0x1cd3('0x2ec8')]+0x1);for(;_0x1f0ed5['maxRank']!=_0x1f0ed5[_0x1cd3('0x2ec8')]&&_0x3411de!=_0x3b15dc;_0x3411de+=_0x465ccb){var _0x20d3eb=_0x1f0ed5['x'][_0x3411de]+_0x1b20c2,_0x43b0a6=(this['rankTopY'][_0x470cae]+this[_0x1cd3('0x2f11')][_0x470cae+0x1])/0x2,_0x3255b8=(this[_0x1cd3('0x2ef3')][_0x470cae-0x1]+this[_0x1cd3('0x2f11')][_0x470cae])/0x2;if(_0x3dacfb)var _0x5b6021=_0x43b0a6,_0x43b0a6=_0x3255b8,_0x3255b8=_0x5b6021;this['orientation']==mxConstants[_0x1cd3('0x2d11')]||this[_0x1cd3('0x748')]==mxConstants[_0x1cd3('0x2a56')]?(_0x3fdb4a[_0x1cd3('0x7b')](new mxPoint(_0x20d3eb,_0x43b0a6)),_0x3fdb4a['push'](new mxPoint(_0x20d3eb,_0x3255b8))):(_0x3fdb4a[_0x1cd3('0x7b')](new mxPoint(_0x43b0a6,_0x20d3eb)),_0x3fdb4a[_0x1cd3('0x7b')](new mxPoint(_0x3255b8,_0x20d3eb)));this[_0x1cd3('0x2f17')]=Math['max'](this[_0x1cd3('0x2f17')],_0x20d3eb);_0x470cae+=_0x465ccb;}null!=_0x32951b&&(_0x3411de=_0x3dacfb?0x2:0x0,_0x465ccb=_0x3dacfb?this['rankBottomY'][_0x11ce33]:this[_0x1cd3('0x2ef3')][_0x21ca3a],_0x3b15dc=_0x32951b[0x4*_0x55cf67+0x3-_0x3411de],_0x3dacfb&&(_0x3b15dc=-_0x3b15dc),_0x465ccb-=_0x3b15dc,_0x3411de=_0x32951b[0x4*_0x55cf67+0x2-_0x3411de],_0x3dacfb=_0x3257b0['model'][_0x1cd3('0x2e62')](_0xf6184d,!0x1),_0x470cae=this[_0x1cd3('0x2e8f')]['getVisibleTerminal'](_0xf6184d,!0x1),this[_0x1cd3('0x2e8f')][_0x1cd3('0x2f16')](_0x3dacfb)&&_0x3257b0['model']['getParent'](_0x3dacfb)==_0x470cae&&(_0x3411de=_0x3257b0[_0x1cd3('0x1665')]['getState'](_0x3dacfb),_0x3411de=null!=_0x3411de?_0x3411de['x']:_0x470cae[_0x1cd3('0x29e1')]['x']+_0x1f0ed5['target'][_0x1cd3('0x4d7')]*_0x3dacfb[_0x1cd3('0x29e1')]['x']),this['orientation']==mxConstants[_0x1cd3('0x2d11')]||this['orientation']==mxConstants[_0x1cd3('0x2a56')]?(this['edgeStyle']==mxHierarchicalEdgeStyle[_0x1cd3('0x2f14')]&&_0x3fdb4a[_0x1cd3('0x7b')](new mxPoint(_0x3411de,_0x465ccb-_0x3b15dc)),_0x3fdb4a[_0x1cd3('0x7b')](new mxPoint(_0x3411de,_0x465ccb))):(this['edgeStyle']==mxHierarchicalEdgeStyle[_0x1cd3('0x2f14')]&&_0x3fdb4a[_0x1cd3('0x7b')](new mxPoint(_0x465ccb-_0x3b15dc,_0x3411de)),_0x3fdb4a[_0x1cd3('0x7b')](new mxPoint(_0x465ccb,_0x3411de))));_0x1f0ed5[_0x1cd3('0x2ed7')]&&this[_0x1cd3('0x2f18')](_0x1f0ed5,_0xf6184d);this[_0x1cd3('0x2e8f')][_0x1cd3('0x2e8e')](_0xf6184d,_0x3fdb4a);_0x1b20c2=0x0==_0x1b20c2?this[_0x1cd3('0x2ef1')]:0x0<_0x1b20c2?-_0x1b20c2:-_0x1b20c2+this[_0x1cd3('0x2ef1')];_0x55cf67++;}_0x1f0ed5[_0x1cd3('0x2eca')][0x0]=0x18b57;}};mxCoordinateAssignment[_0x1cd3('0x77a')]['setVertexLocation']=function(_0xe06962){var _0x82604=_0xe06962[_0x1cd3('0xefb')],_0x4c88c1=_0xe06962['x'][0x0]-_0xe06962[_0x1cd3('0x4d7')]/0x2,_0x34d5c8=_0xe06962['y'][0x0]-_0xe06962[_0x1cd3('0x4e4')]/0x2;this['rankTopY'][_0xe06962['minRank']]=Math[_0x1cd3('0x4e3')](this[_0x1cd3('0x2ef3')][_0xe06962['minRank']],_0x34d5c8);this[_0x1cd3('0x2f11')][_0xe06962['minRank']]=Math[_0x1cd3('0x13d1')](this['rankBottomY'][_0xe06962[_0x1cd3('0x2ec8')]],_0x34d5c8+_0xe06962[_0x1cd3('0x4e4')]);this['orientation']==mxConstants[_0x1cd3('0x2d11')]||this[_0x1cd3('0x748')]==mxConstants['DIRECTION_SOUTH']?this[_0x1cd3('0x2e8f')][_0x1cd3('0x2e69')](_0x82604,_0x4c88c1,_0x34d5c8):this[_0x1cd3('0x2e8f')]['setVertexLocation'](_0x82604,_0x34d5c8,_0x4c88c1);this[_0x1cd3('0x2f17')]=Math[_0x1cd3('0x13d1')](this[_0x1cd3('0x2f17')],_0x4c88c1+_0xe06962[_0x1cd3('0x4d7')]);};mxCoordinateAssignment['prototype']['processReversedEdge']=function(_0x2ab783,_0x1f1e60){};function WeightedCellSorter(_0x388bf3,_0x40b9a6){this[_0x1cd3('0xefb')]=_0x388bf3;this[_0x1cd3('0x2e9f')]=_0x40b9a6;}WeightedCellSorter[_0x1cd3('0x77a')][_0x1cd3('0x2e9f')]=0x0;WeightedCellSorter[_0x1cd3('0x77a')][_0x1cd3('0x2ea0')]=!0x1;WeightedCellSorter[_0x1cd3('0x77a')][_0x1cd3('0x2ea1')]=!0x1;WeightedCellSorter['prototype'][_0x1cd3('0x2f06')]=null;WeightedCellSorter[_0x1cd3('0x77a')][_0x1cd3('0xefb')]=null;WeightedCellSorter[_0x1cd3('0x77a')][_0x1cd3('0x2a6a')]=function(_0x1d1666,_0x3a320f){return null!=_0x1d1666&&null!=_0x3a320f?_0x3a320f[_0x1cd3('0x2e9f')]>_0x1d1666[_0x1cd3('0x2e9f')]?-0x1:_0x3a320f['weightedValue']<_0x1d1666[_0x1cd3('0x2e9f')]?0x1:_0x3a320f['nudge']?-0x1:0x1:0x0;};function mxHierarchicalLayout(_0x107682,_0x19e47d,_0x4b2591){mxGraphLayout[_0x1cd3('0x46d')](this,_0x107682);this['orientation']=null!=_0x19e47d?_0x19e47d:mxConstants[_0x1cd3('0x2d11')];this[_0x1cd3('0x2f19')]=null!=_0x4b2591?_0x4b2591:!0x0;}mxHierarchicalLayout['prototype']=new mxGraphLayout();mxHierarchicalLayout[_0x1cd3('0x77a')][_0x1cd3('0x29db')]=mxHierarchicalLayout;mxHierarchicalLayout[_0x1cd3('0x77a')]['roots']=null;mxHierarchicalLayout[_0x1cd3('0x77a')][_0x1cd3('0x2e72')]=!0x1;mxHierarchicalLayout[_0x1cd3('0x77a')][_0x1cd3('0x2f1a')]=!0x1;mxHierarchicalLayout[_0x1cd3('0x77a')][_0x1cd3('0x2f1b')]=0x0;mxHierarchicalLayout[_0x1cd3('0x77a')][_0x1cd3('0x2eee')]=0x1e;mxHierarchicalLayout[_0x1cd3('0x77a')][_0x1cd3('0x2eef')]=0x64;mxHierarchicalLayout['prototype']['interHierarchySpacing']=0x3c;mxHierarchicalLayout[_0x1cd3('0x77a')][_0x1cd3('0x2ef1')]=0xa;mxHierarchicalLayout[_0x1cd3('0x77a')][_0x1cd3('0x748')]=mxConstants['DIRECTION_NORTH'];mxHierarchicalLayout[_0x1cd3('0x77a')]['fineTuning']=!0x0;mxHierarchicalLayout[_0x1cd3('0x77a')][_0x1cd3('0x2f1c')]=!0x0;mxHierarchicalLayout[_0x1cd3('0x77a')]['disableEdgeStyle']=!0x0;mxHierarchicalLayout['prototype'][_0x1cd3('0x2f1d')]=!0x0;mxHierarchicalLayout[_0x1cd3('0x77a')][_0x1cd3('0x42e')]=null;mxHierarchicalLayout[_0x1cd3('0x77a')][_0x1cd3('0x2f1e')]=null;mxHierarchicalLayout[_0x1cd3('0x77a')]['getModel']=function(){return this[_0x1cd3('0x42e')];};mxHierarchicalLayout[_0x1cd3('0x77a')]['execute']=function(_0x5aec66,_0x59deca){this['parent']=_0x5aec66;var _0x540b45=this[_0x1cd3('0x2c89')][_0x1cd3('0x42e')];this[_0x1cd3('0x2f1e')]={};if(!(null==_0x59deca&&null==_0x5aec66)){if(null!=_0x59deca&&null!=_0x5aec66){for(var _0x268786=[],_0x82f7ce=0x0;_0x82f7ce<_0x59deca[_0x1cd3('0x7a')];_0x82f7ce++)_0x540b45[_0x1cd3('0x2ed4')](_0x5aec66,_0x59deca[_0x82f7ce])&&_0x268786[_0x1cd3('0x7b')](_0x59deca[_0x82f7ce]);this[_0x1cd3('0x2edd')]=_0x268786;}else this[_0x1cd3('0x2edd')]=_0x59deca;_0x540b45[_0x1cd3('0x2a6c')]();try{this[_0x1cd3('0x35d')](_0x5aec66),this[_0x1cd3('0x2e72')]&&!this[_0x1cd3('0x2c89')][_0x1cd3('0x2f1f')](_0x5aec66)&&this['graph']['updateGroupBounds']([_0x5aec66],this[_0x1cd3('0x2f1b')],this[_0x1cd3('0x2f1a')]);}finally{_0x540b45[_0x1cd3('0x2b5e')]();}}};mxHierarchicalLayout[_0x1cd3('0x77a')][_0x1cd3('0x2f20')]=function(_0x243d26,_0x5660a5){var _0x27996a=[];if(null!=_0x243d26&&null!=_0x5660a5){var _0x102886=this[_0x1cd3('0x2c89')][_0x1cd3('0x42e')],_0x4e4c34=null,_0xaf11e6=-0x186a0,_0x2d16f7;for(_0x2d16f7 in _0x5660a5){var _0x4fe291=_0x5660a5[_0x2d16f7];if(_0x102886[_0x1cd3('0x2c98')](_0x4fe291)&&this[_0x1cd3('0x2c89')][_0x1cd3('0x2e60')](_0x4fe291)){for(var _0x5e4e12=this[_0x1cd3('0x29e7')](_0x4fe291),_0x4ad3ee=0x0,_0x5ef881=0x0,_0x17d202=0x0;_0x17d202<_0x5e4e12[_0x1cd3('0x7a')];_0x17d202++)this['getVisibleTerminal'](_0x5e4e12[_0x17d202],!0x0)==_0x4fe291?_0x4ad3ee++:_0x5ef881++;0x0==_0x5ef881&&0x0<_0x4ad3ee&&_0x27996a[_0x1cd3('0x7b')](_0x4fe291);_0x5e4e12=_0x4ad3ee-_0x5ef881;_0x5e4e12>_0xaf11e6&&(_0xaf11e6=_0x5e4e12,_0x4e4c34=_0x4fe291);}}0x0==_0x27996a[_0x1cd3('0x7a')]&&null!=_0x4e4c34&&_0x27996a['push'](_0x4e4c34);}return _0x27996a;};mxHierarchicalLayout[_0x1cd3('0x77a')][_0x1cd3('0x29e7')]=function(_0x4a31ea){var _0xf7e488=mxCellPath[_0x1cd3('0x624')](_0x4a31ea);if(null!=this['edgesCache'][_0xf7e488])return this[_0x1cd3('0x2f1e')][_0xf7e488];for(var _0x2330b3=this['graph'][_0x1cd3('0x42e')],_0x4abe22=[],_0x35a021=this[_0x1cd3('0x2c89')]['isCellCollapsed'](_0x4a31ea),_0x4db81f=_0x2330b3[_0x1cd3('0x29e5')](_0x4a31ea),_0x59fb88=0x0;_0x59fb88<_0x4db81f;_0x59fb88++){var _0x5ef55d=_0x2330b3[_0x1cd3('0x29e6')](_0x4a31ea,_0x59fb88);if(this['isPort'](_0x5ef55d))_0x4abe22=_0x4abe22[_0x1cd3('0x3ae')](_0x2330b3['getEdges'](_0x5ef55d,!0x0,!0x0));else if(_0x35a021||!this[_0x1cd3('0x2c89')][_0x1cd3('0x2e60')](_0x5ef55d))_0x4abe22=_0x4abe22[_0x1cd3('0x3ae')](_0x2330b3[_0x1cd3('0x29e7')](_0x5ef55d,!0x0,!0x0));}_0x4abe22=_0x4abe22[_0x1cd3('0x3ae')](_0x2330b3[_0x1cd3('0x29e7')](_0x4a31ea,!0x0,!0x0));_0x2330b3=[];for(_0x59fb88=0x0;_0x59fb88<_0x4abe22[_0x1cd3('0x7a')];_0x59fb88++)_0x35a021=this[_0x1cd3('0x2e5c')](_0x4abe22[_0x59fb88],!0x0),_0x4db81f=this[_0x1cd3('0x2e5c')](_0x4abe22[_0x59fb88],!0x1),(_0x35a021==_0x4db81f||_0x35a021!=_0x4db81f&&(_0x4db81f==_0x4a31ea&&(null==this[_0x1cd3('0x36c')]||this[_0x1cd3('0x2c89')]['isValidAncestor'](_0x35a021,this[_0x1cd3('0x36c')],this[_0x1cd3('0x2f1d')]))||_0x35a021==_0x4a31ea&&(null==this['parent']||this[_0x1cd3('0x2c89')][_0x1cd3('0x2f21')](_0x4db81f,this[_0x1cd3('0x36c')],this[_0x1cd3('0x2f1d')]))))&&_0x2330b3[_0x1cd3('0x7b')](_0x4abe22[_0x59fb88]);return this[_0x1cd3('0x2f1e')][_0xf7e488]=_0x2330b3;};mxHierarchicalLayout[_0x1cd3('0x77a')][_0x1cd3('0x2e5c')]=function(_0x48ac83,_0x49c10b){var _0x21b6e0=this[_0x1cd3('0x2c89')][_0x1cd3('0x1665')][_0x1cd3('0x29d9')](_0x48ac83),_0x21b6e0=null!=_0x21b6e0?_0x21b6e0[_0x1cd3('0x2e5c')](_0x49c10b):this[_0x1cd3('0x2c89')][_0x1cd3('0x1665')]['getVisibleTerminal'](_0x48ac83,_0x49c10b);this[_0x1cd3('0x2f16')](_0x21b6e0)&&(_0x21b6e0=this[_0x1cd3('0x2c89')][_0x1cd3('0x42e')][_0x1cd3('0x2c9d')](_0x21b6e0));return _0x21b6e0;};mxHierarchicalLayout[_0x1cd3('0x77a')]['run']=function(_0x3a4953){var _0x3915ef=[],_0x3692d6=[];if(null==this[_0x1cd3('0x2edd')]&&null!=_0x3a4953){var _0x2fd3c4={};this[_0x1cd3('0x2f22')](_0x3a4953,_0x2fd3c4);this[_0x1cd3('0x2edd')]=[];var _0x105d8b=!0x0,_0x5a9ef7;for(_0x5a9ef7 in _0x2fd3c4)if(null!=_0x2fd3c4[_0x5a9ef7]){_0x105d8b=!0x1;break;}for(;!_0x105d8b;){for(var _0x12dd96=this[_0x1cd3('0x2f20')](_0x3a4953,_0x2fd3c4),_0x105d8b=0x0;_0x105d8b<_0x12dd96[_0x1cd3('0x7a')];_0x105d8b++){var _0x31ed31=[];_0x3915ef[_0x1cd3('0x7b')](_0x31ed31);this[_0x1cd3('0x2e5d')](_0x12dd96[_0x105d8b],!0x0,null,_0x3692d6,_0x31ed31,_0x3915ef,_0x2fd3c4);}for(_0x105d8b=0x0;_0x105d8b<_0x12dd96['length'];_0x105d8b++)this['roots'][_0x1cd3('0x7b')](_0x12dd96[_0x105d8b]);_0x105d8b=!0x0;for(_0x5a9ef7 in _0x2fd3c4)if(null!=_0x2fd3c4[_0x5a9ef7]){_0x105d8b=!0x1;break;}}}else for(_0x105d8b=0x0;_0x105d8b<roots['length'];_0x105d8b++)_0x31ed31=[],_0x3915ef['push'](_0x31ed31),traverse(roots[_0x1cd3('0x361')](_0x105d8b),!0x0,null,_0x3692d6,_0x31ed31,_0x3915ef,null);for(_0x105d8b=_0x3692d6=0x0;_0x105d8b<_0x3915ef[_0x1cd3('0x7a')];_0x105d8b++){_0x31ed31=_0x3915ef[_0x105d8b];_0x2fd3c4=[];for(_0x5a9ef7 in _0x31ed31)_0x2fd3c4[_0x1cd3('0x7b')](_0x31ed31[_0x5a9ef7]);this[_0x1cd3('0x42e')]=new mxGraphHierarchyModel(this,_0x2fd3c4,this['roots'],_0x3a4953,this[_0x1cd3('0x2f1c')]);this[_0x1cd3('0x2f23')](_0x3a4953);this[_0x1cd3('0x2f24')]();this[_0x1cd3('0x2f25')](_0x3a4953);_0x3692d6=this[_0x1cd3('0x2f26')](_0x3692d6,_0x3a4953);}};mxHierarchicalLayout['prototype'][_0x1cd3('0x2f22')]=function(_0x1e40a1,_0x23c0a1){var _0x5b34ac=this[_0x1cd3('0x2c89')]['model'];_0x5b34ac[_0x1cd3('0x2c98')](_0x1e40a1)&&(_0x1e40a1!=this[_0x1cd3('0x36c')]&&this[_0x1cd3('0x2c89')][_0x1cd3('0x2e60')](_0x1e40a1))&&(_0x23c0a1[mxCellPath[_0x1cd3('0x624')](_0x1e40a1)]=_0x1e40a1);if(this['traverseAncestors']||_0x1e40a1==this['parent']&&this['graph'][_0x1cd3('0x2e60')](_0x1e40a1))for(var _0x868978=_0x5b34ac[_0x1cd3('0x29e5')](_0x1e40a1),_0x3e1f9d=0x0;_0x3e1f9d<_0x868978;_0x3e1f9d++){var _0x2b4886=_0x5b34ac['getChildAt'](_0x1e40a1,_0x3e1f9d);this[_0x1cd3('0x2f16')](_0x2b4886)||this[_0x1cd3('0x2f22')](_0x2b4886,_0x23c0a1);}};mxHierarchicalLayout[_0x1cd3('0x77a')][_0x1cd3('0x2f16')]=function(_0x4a80c7){return _0x4a80c7[_0x1cd3('0x29e1')]['relative']?!0x0:!0x1;};mxHierarchicalLayout[_0x1cd3('0x77a')][_0x1cd3('0x2edf')]=function(_0x24233f,_0x19a2b7,_0x2489f3){_0x2489f3=null!=_0x2489f3?_0x2489f3:!0x1;for(var _0x4630cb=this[_0x1cd3('0x29e7')](_0x24233f),_0xdb3f5=[],_0x59703a=0x0;_0x59703a<_0x4630cb[_0x1cd3('0x7a')];_0x59703a++){var _0x3b55a2=this[_0x1cd3('0x2e5c')](_0x4630cb[_0x59703a],!0x0),_0x17f7bf=this[_0x1cd3('0x2e5c')](_0x4630cb[_0x59703a],!0x1);(_0x3b55a2==_0x24233f&&_0x17f7bf==_0x19a2b7||!_0x2489f3&&_0x3b55a2==_0x19a2b7&&_0x17f7bf==_0x24233f)&&_0xdb3f5[_0x1cd3('0x7b')](_0x4630cb[_0x59703a]);}return _0xdb3f5;};mxHierarchicalLayout[_0x1cd3('0x77a')]['traverse']=function(_0x24899c,_0x2d7090,_0x67f14f,_0xe65611,_0x2b9bee,_0x581245,_0x2b36dc){if(null!=_0x24899c&&null!=_0xe65611){var _0x388bff=mxCellPath[_0x1cd3('0x624')](_0x24899c);if(null==_0xe65611[_0x388bff]&&(null==_0x2b36dc||null!=_0x2b36dc[_0x388bff])){null==_0x2b9bee[_0x388bff]&&(_0x2b9bee[_0x388bff]=_0x24899c);null==_0xe65611[_0x388bff]&&(_0xe65611[_0x388bff]=_0x24899c);delete _0x2b36dc[_0x388bff];var _0x57fbc8=this[_0x1cd3('0x29e7')](_0x24899c);for(_0x67f14f=0x0;_0x67f14f<_0x57fbc8[_0x1cd3('0x7a')];_0x67f14f++)if(_0x388bff=this[_0x1cd3('0x2e5c')](_0x57fbc8[_0x67f14f],!0x0)==_0x24899c,!_0x2d7090||_0x388bff)_0x388bff=this[_0x1cd3('0x2e5c')](_0x57fbc8[_0x67f14f],!_0x388bff),_0x2b9bee=this['traverse'](_0x388bff,_0x2d7090,_0x57fbc8[_0x67f14f],_0xe65611,_0x2b9bee,_0x581245,_0x2b36dc);}else if(null==_0x2b9bee[_0x388bff])for(_0x67f14f=0x0;_0x67f14f<_0x581245[_0x1cd3('0x7a')];_0x67f14f++)if(_0x24899c=_0x581245[_0x67f14f],null!=_0x24899c[_0x388bff]){for(_0x57fbc8 in _0x2b9bee)_0x24899c[_0x57fbc8]=_0x2b9bee[_0x57fbc8];_0x581245[_0x1cd3('0x622')]();return _0x24899c;}}return _0x2b9bee;};mxHierarchicalLayout['prototype'][_0x1cd3('0x2f23')]=function(_0xaeb91b){new mxMinimumCycleRemover(this)['execute'](_0xaeb91b);};mxHierarchicalLayout[_0x1cd3('0x77a')]['layeringStage']=function(){this[_0x1cd3('0x42e')]['initialRank']();this[_0x1cd3('0x42e')][_0x1cd3('0x2f27')]();};mxHierarchicalLayout['prototype']['crossingStage']=function(_0x24a66c){new mxMedianHybridCrossingReduction(this)['execute'](_0x24a66c);};mxHierarchicalLayout['prototype'][_0x1cd3('0x2f26')]=function(_0x1ca1fb,_0x56c157){var _0xe8c4b5=new mxCoordinateAssignment(this,this['intraCellSpacing'],this[_0x1cd3('0x2eef')],this['orientation'],_0x1ca1fb,this[_0x1cd3('0x2ef1')]);_0xe8c4b5['fineTuning']=this[_0x1cd3('0x2f00')];_0xe8c4b5[_0x1cd3('0x2b5b')](_0x56c157);return _0xe8c4b5['limitX']+this[_0x1cd3('0x2f28')];};function mxGraphModel(_0x294e3e){this[_0x1cd3('0x2f29')]=this[_0x1cd3('0x2c44')]();null!=_0x294e3e?this[_0x1cd3('0x2f2a')](_0x294e3e):this['clear']();}mxGraphModel[_0x1cd3('0x77a')]=new mxEventSource();mxGraphModel[_0x1cd3('0x77a')][_0x1cd3('0x29db')]=mxGraphModel;mxGraphModel[_0x1cd3('0x77a')]['root']=null;mxGraphModel['prototype']['cells']=null;mxGraphModel[_0x1cd3('0x77a')][_0x1cd3('0x2f2b')]=!0x0;mxGraphModel[_0x1cd3('0x77a')][_0x1cd3('0x2f2c')]=!0x0;mxGraphModel[_0x1cd3('0x77a')][_0x1cd3('0x6aa')]='';mxGraphModel[_0x1cd3('0x77a')]['postfix']='';mxGraphModel[_0x1cd3('0x77a')][_0x1cd3('0x2f2d')]=0x0;mxGraphModel[_0x1cd3('0x77a')][_0x1cd3('0x2f29')]=null;mxGraphModel['prototype'][_0x1cd3('0x2f2e')]=0x0;mxGraphModel['prototype'][_0x1cd3('0x2f2f')]=!0x1;mxGraphModel[_0x1cd3('0x77a')][_0x1cd3('0x785')]=function(){this[_0x1cd3('0x2f2a')](this['createRoot']());};mxGraphModel[_0x1cd3('0x77a')][_0x1cd3('0x2f30')]=function(){return this[_0x1cd3('0x2f2c')];};mxGraphModel[_0x1cd3('0x77a')][_0x1cd3('0x2f31')]=function(_0x144ab3){this[_0x1cd3('0x2f2c')]=_0x144ab3;};mxGraphModel[_0x1cd3('0x77a')][_0x1cd3('0x2f32')]=function(){var _0x5a3403=new mxCell();_0x5a3403[_0x1cd3('0x2f33')](new mxCell());return _0x5a3403;};mxGraphModel[_0x1cd3('0x77a')]['getCell']=function(_0x26fcc8){return null!=this[_0x1cd3('0x2b8f')]?this[_0x1cd3('0x2b8f')][_0x26fcc8]:null;};mxGraphModel[_0x1cd3('0x77a')][_0x1cd3('0x2f34')]=function(_0x519003,_0x203ee9){var _0x33d25f=null;if(null!=_0x519003)for(var _0x33d25f=[],_0x41dffc=0x0;_0x41dffc<_0x519003[_0x1cd3('0x7a')];_0x41dffc++)_0x203ee9(_0x519003[_0x41dffc])&&_0x33d25f[_0x1cd3('0x7b')](_0x519003[_0x41dffc]);return _0x33d25f;};mxGraphModel['prototype'][_0x1cd3('0x2f35')]=function(_0x49ecdb){return this[_0x1cd3('0x2f22')](null,_0x49ecdb);};mxGraphModel['prototype']['filterDescendants']=function(_0x155f09,_0x9ec8d4){var _0x4c042e=[];_0x9ec8d4=_0x9ec8d4||this[_0x1cd3('0x2a78')]();(null==_0x155f09||_0x155f09(_0x9ec8d4))&&_0x4c042e[_0x1cd3('0x7b')](_0x9ec8d4);for(var _0x293270=this[_0x1cd3('0x29e5')](_0x9ec8d4),_0xc5cc53=0x0;_0xc5cc53<_0x293270;_0xc5cc53++)var _0xe6f59e=this['getChildAt'](_0x9ec8d4,_0xc5cc53),_0x4c042e=_0x4c042e['concat'](this[_0x1cd3('0x2f22')](_0x155f09,_0xe6f59e));return _0x4c042e;};mxGraphModel[_0x1cd3('0x77a')]['getRoot']=function(_0x1a5df7){var _0xe12e4d=_0x1a5df7||this[_0x1cd3('0x554')];if(null!=_0x1a5df7)for(;null!=_0x1a5df7;)_0xe12e4d=_0x1a5df7,_0x1a5df7=this[_0x1cd3('0x2c9d')](_0x1a5df7);return _0xe12e4d;};mxGraphModel[_0x1cd3('0x77a')][_0x1cd3('0x2f2a')]=function(_0x48ec51){this['execute'](new mxRootChange(this,_0x48ec51));return _0x48ec51;};mxGraphModel[_0x1cd3('0x77a')][_0x1cd3('0x2f36')]=function(_0xcea41e){var _0x41f8f1=this['root'];this[_0x1cd3('0x554')]=_0xcea41e;this[_0x1cd3('0x2f2d')]=0x0;this[_0x1cd3('0x2b8f')]=null;this[_0x1cd3('0x2f37')](_0xcea41e);return _0x41f8f1;};mxGraphModel[_0x1cd3('0x77a')]['isRoot']=function(_0xf4bc84){return null!=_0xf4bc84&&this['root']==_0xf4bc84;};mxGraphModel[_0x1cd3('0x77a')][_0x1cd3('0x2e78')]=function(_0x105316){return this[_0x1cd3('0x2f38')](this[_0x1cd3('0x2c9d')](_0x105316));};mxGraphModel[_0x1cd3('0x77a')][_0x1cd3('0x2ed4')]=function(_0x19ea37,_0x3ea38c){for(;null!=_0x3ea38c&&_0x3ea38c!=_0x19ea37;)_0x3ea38c=this['getParent'](_0x3ea38c);return _0x3ea38c==_0x19ea37;};mxGraphModel[_0x1cd3('0x77a')][_0x1cd3('0x2a5e')]=function(_0x537f5b){return this['isAncestor'](this[_0x1cd3('0x554')],_0x537f5b);};mxGraphModel[_0x1cd3('0x77a')][_0x1cd3('0x2c9d')]=function(_0x5bff20){return null!=_0x5bff20?_0x5bff20[_0x1cd3('0x2c9d')]():null;};mxGraphModel['prototype'][_0x1cd3('0x425')]=function(_0x7de16d,_0x4d2298,_0x5a9ca4){if(_0x4d2298!=_0x7de16d&&null!=_0x7de16d&&null!=_0x4d2298){null==_0x5a9ca4&&(_0x5a9ca4=this[_0x1cd3('0x29e5')](_0x7de16d));var _0x37e444=_0x7de16d!=this[_0x1cd3('0x2c9d')](_0x4d2298);this[_0x1cd3('0x2b5b')](new mxChildChange(this,_0x7de16d,_0x4d2298,_0x5a9ca4));this['maintainEdgeParent']&&_0x37e444&&this[_0x1cd3('0x2f39')](_0x4d2298);}return _0x4d2298;};mxGraphModel[_0x1cd3('0x77a')][_0x1cd3('0x2f37')]=function(_0x5ed5c7){if(null!=_0x5ed5c7){null==_0x5ed5c7['getId']()&&this['createIds']&&_0x5ed5c7[_0x1cd3('0x2f3a')](this[_0x1cd3('0x2f3b')](_0x5ed5c7));if(null!=_0x5ed5c7['getId']()){var _0x350a15=this['getCell'](_0x5ed5c7['getId']());if(_0x350a15!=_0x5ed5c7){for(;null!=_0x350a15;)_0x5ed5c7['setId'](this['createId'](_0x5ed5c7)),_0x350a15=this[_0x1cd3('0x2b1f')](_0x5ed5c7[_0x1cd3('0x2f3c')]());null==this[_0x1cd3('0x2b8f')]&&(this[_0x1cd3('0x2b8f')]={});this[_0x1cd3('0x2b8f')][_0x5ed5c7[_0x1cd3('0x2f3c')]()]=_0x5ed5c7;}}mxUtils[_0x1cd3('0x2f3d')](_0x5ed5c7[_0x1cd3('0x2f3c')]())&&(this[_0x1cd3('0x2f2d')]=Math[_0x1cd3('0x13d1')](this['nextId'],_0x5ed5c7[_0x1cd3('0x2f3c')]()));for(var _0x350a15=this[_0x1cd3('0x29e5')](_0x5ed5c7),_0x3e89cf=0x0;_0x3e89cf<_0x350a15;_0x3e89cf++)this[_0x1cd3('0x2f37')](this[_0x1cd3('0x29e6')](_0x5ed5c7,_0x3e89cf));}};mxGraphModel['prototype'][_0x1cd3('0x2f3b')]=function(_0x13364a){_0x13364a=this[_0x1cd3('0x2f2d')];this['nextId']++;return this[_0x1cd3('0x6aa')]+_0x13364a+this[_0x1cd3('0x2f3e')];};mxGraphModel[_0x1cd3('0x77a')]['updateEdgeParents']=function(_0x34beac,_0x44504e){_0x44504e=_0x44504e||this[_0x1cd3('0x2a78')](_0x34beac);for(var _0x17e731=this[_0x1cd3('0x29e5')](_0x34beac),_0x13d666=0x0;_0x13d666<_0x17e731;_0x13d666++){var _0x40e902=this[_0x1cd3('0x29e6')](_0x34beac,_0x13d666);this[_0x1cd3('0x2f39')](_0x40e902,_0x44504e);}_0x40e902=this[_0x1cd3('0x2e5b')](_0x34beac);_0x17e731=[];for(_0x13d666=0x0;_0x13d666<_0x40e902;_0x13d666++)_0x17e731['push'](this[_0x1cd3('0x2f3f')](_0x34beac,_0x13d666));for(_0x13d666=0x0;_0x13d666<_0x17e731[_0x1cd3('0x7a')];_0x13d666++)_0x40e902=_0x17e731[_0x13d666],this[_0x1cd3('0x2ed4')](_0x44504e,_0x40e902)&&this[_0x1cd3('0x2f40')](_0x40e902,_0x44504e);};mxGraphModel[_0x1cd3('0x77a')][_0x1cd3('0x2f40')]=function(_0x13260a,_0x34f996){for(var _0x54cb6a=this[_0x1cd3('0x2e62')](_0x13260a,!0x0),_0x4e6808=this[_0x1cd3('0x2e62')](_0x13260a,!0x1),_0x5915d5=null;null!=_0x54cb6a&&!this['isEdge'](_0x54cb6a)&&null!=_0x54cb6a[_0x1cd3('0x29e1')]&&_0x54cb6a[_0x1cd3('0x29e1')][_0x1cd3('0x2d83')];)_0x54cb6a=this[_0x1cd3('0x2c9d')](_0x54cb6a);for(;null!=_0x4e6808&&!this[_0x1cd3('0x29dc')](_0x4e6808)&&null!=_0x4e6808[_0x1cd3('0x29e1')]&&_0x4e6808[_0x1cd3('0x29e1')][_0x1cd3('0x2d83')];)_0x4e6808=this[_0x1cd3('0x2c9d')](_0x4e6808);if(this['isAncestor'](_0x34f996,_0x54cb6a)&&this[_0x1cd3('0x2ed4')](_0x34f996,_0x4e6808)&&(_0x5915d5=_0x54cb6a==_0x4e6808?this[_0x1cd3('0x2c9d')](_0x54cb6a):this[_0x1cd3('0x2f41')](_0x54cb6a,_0x4e6808),null!=_0x5915d5&&(this[_0x1cd3('0x2c9d')](_0x5915d5)!=this[_0x1cd3('0x554')]||this[_0x1cd3('0x2ed4')](_0x5915d5,_0x13260a))&&this[_0x1cd3('0x2c9d')](_0x13260a)!=_0x5915d5)){_0x54cb6a=this['getGeometry'](_0x13260a);if(null!=_0x54cb6a){var _0x1c4b83=this[_0x1cd3('0x2f42')](this[_0x1cd3('0x2c9d')](_0x13260a)),_0x21770e=this[_0x1cd3('0x2f42')](_0x5915d5),_0x4e6808=_0x21770e['x']-_0x1c4b83['x'],_0x1c4b83=_0x21770e['y']-_0x1c4b83['y'],_0x54cb6a=_0x54cb6a[_0x1cd3('0x1141')]();_0x54cb6a[_0x1cd3('0x43c')](-_0x4e6808,-_0x1c4b83);this[_0x1cd3('0x2e68')](_0x13260a,_0x54cb6a);}this[_0x1cd3('0x425')](_0x5915d5,_0x13260a,this[_0x1cd3('0x29e5')](_0x5915d5));}};mxGraphModel['prototype'][_0x1cd3('0x2f42')]=function(_0x1f9c7){var _0x142d6e=null;null!=_0x1f9c7?(_0x142d6e=this[_0x1cd3('0x2f42')](this[_0x1cd3('0x2c9d')](_0x1f9c7)),this[_0x1cd3('0x29dc')](_0x1f9c7)||(_0x1f9c7=this['getGeometry'](_0x1f9c7),null!=_0x1f9c7&&(_0x142d6e['x']+=_0x1f9c7['x'],_0x142d6e['y']+=_0x1f9c7['y']))):_0x142d6e=new mxPoint();return _0x142d6e;};mxGraphModel[_0x1cd3('0x77a')]['getNearestCommonAncestor']=function(_0xa6cb0b,_0x386d47){if(null!=_0xa6cb0b&&null!=_0x386d47){var _0x4e043e=mxCellPath[_0x1cd3('0x624')](_0x386d47);if(null!=_0x4e043e&&0x0<_0x4e043e['length']){var _0x44b088=_0xa6cb0b,_0x2983f=mxCellPath[_0x1cd3('0x624')](_0x44b088);if(_0x4e043e[_0x1cd3('0x7a')]<_0x2983f[_0x1cd3('0x7a')])var _0x44b088=_0x386d47,_0x46de90=_0x2983f,_0x2983f=_0x4e043e,_0x4e043e=_0x46de90;for(;null!=_0x44b088;){_0x46de90=this['getParent'](_0x44b088);if(0x0==_0x4e043e[_0x1cd3('0x45e')](_0x2983f+mxCellPath[_0x1cd3('0x2a69')])&&null!=_0x46de90)return _0x44b088;_0x2983f=mxCellPath[_0x1cd3('0x2f43')](_0x2983f);_0x44b088=_0x46de90;}}}return null;};mxGraphModel[_0x1cd3('0x77a')][_0x1cd3('0x383')]=function(_0x3426d2){_0x3426d2==this[_0x1cd3('0x554')]?this[_0x1cd3('0x2f2a')](null):null!=this[_0x1cd3('0x2c9d')](_0x3426d2)&&this['execute'](new mxChildChange(this,null,_0x3426d2));return _0x3426d2;};mxGraphModel[_0x1cd3('0x77a')][_0x1cd3('0x2c4a')]=function(_0x57b612){if(null!=_0x57b612&&null!=this['cells']){for(var _0x1716f2=this[_0x1cd3('0x29e5')](_0x57b612)-0x1;0x0<=_0x1716f2;_0x1716f2--)this[_0x1cd3('0x2c4a')](this[_0x1cd3('0x29e6')](_0x57b612,_0x1716f2));null!=this[_0x1cd3('0x2b8f')]&&null!=_0x57b612[_0x1cd3('0x2f3c')]()&&delete this[_0x1cd3('0x2b8f')][_0x57b612[_0x1cd3('0x2f3c')]()];}};mxGraphModel[_0x1cd3('0x77a')][_0x1cd3('0x2f44')]=function(_0x45f6d5,_0x5aea5c,_0x5b1afd){var _0x1c4cab=this['getParent'](_0x45f6d5);null!=_0x5aea5c?(_0x5aea5c!=_0x1c4cab||_0x1c4cab[_0x1cd3('0x2e76')](_0x45f6d5)!=_0x5b1afd)&&_0x5aea5c[_0x1cd3('0x2f33')](_0x45f6d5,_0x5b1afd):null!=_0x1c4cab&&(_0x5b1afd=_0x1c4cab[_0x1cd3('0x2e76')](_0x45f6d5),_0x1c4cab[_0x1cd3('0x383')](_0x5b1afd));!this['contains'](_0x1c4cab)&&null!=_0x5aea5c?this[_0x1cd3('0x2f37')](_0x45f6d5):null==_0x5aea5c&&this['cellRemoved'](_0x45f6d5);return _0x1c4cab;};mxGraphModel[_0x1cd3('0x77a')][_0x1cd3('0x29e5')]=function(_0x540fc7){return null!=_0x540fc7?_0x540fc7[_0x1cd3('0x29e5')]():0x0;};mxGraphModel[_0x1cd3('0x77a')]['getChildAt']=function(_0x1fcbf7,_0xe5cfc7){return null!=_0x1fcbf7?_0x1fcbf7[_0x1cd3('0x29e6')](_0xe5cfc7):null;};mxGraphModel['prototype'][_0x1cd3('0x2f45')]=function(_0x4ce0a6){return null!=_0x4ce0a6?_0x4ce0a6[_0x1cd3('0x52b')]:null;};mxGraphModel['prototype'][_0x1cd3('0x2e6d')]=function(_0x343fce){return this[_0x1cd3('0x2f46')](_0x343fce,!0x0,!0x1);};mxGraphModel[_0x1cd3('0x77a')][_0x1cd3('0x2f47')]=function(_0xbbe124){return this[_0x1cd3('0x2f46')](_0xbbe124,!0x1,!0x0);};mxGraphModel[_0x1cd3('0x77a')][_0x1cd3('0x2f46')]=function(_0x457a12,_0x5c6ec1,_0x4135fb){_0x5c6ec1=null!=_0x5c6ec1?_0x5c6ec1:!0x1;_0x4135fb=null!=_0x4135fb?_0x4135fb:!0x1;for(var _0x4e1a70=this[_0x1cd3('0x29e5')](_0x457a12),_0x5cd1bf=[],_0x282a65=0x0;_0x282a65<_0x4e1a70;_0x282a65++){var _0x380957=this['getChildAt'](_0x457a12,_0x282a65);(!_0x4135fb&&!_0x5c6ec1||_0x4135fb&&this[_0x1cd3('0x29dc')](_0x380957)||_0x5c6ec1&&this['isVertex'](_0x380957))&&_0x5cd1bf[_0x1cd3('0x7b')](_0x380957);}return _0x5cd1bf;};mxGraphModel[_0x1cd3('0x77a')][_0x1cd3('0x2e62')]=function(_0x17486f,_0x4f9d85){return null!=_0x17486f?_0x17486f['getTerminal'](_0x4f9d85):null;};mxGraphModel['prototype'][_0x1cd3('0x2f48')]=function(_0x4d7e90,_0x3f1fbb,_0x6546b){var _0x188ede=_0x3f1fbb!=this[_0x1cd3('0x2e62')](_0x4d7e90,_0x6546b);this[_0x1cd3('0x2b5b')](new mxTerminalChange(this,_0x4d7e90,_0x3f1fbb,_0x6546b));this[_0x1cd3('0x2f2b')]&&_0x188ede&&this['updateEdgeParent'](_0x4d7e90,this[_0x1cd3('0x2a78')]());return _0x3f1fbb;};mxGraphModel[_0x1cd3('0x77a')][_0x1cd3('0x2f49')]=function(_0x176ef9,_0x2c24b8,_0x17c310){this[_0x1cd3('0x2a6c')]();try{this[_0x1cd3('0x2f48')](_0x176ef9,_0x2c24b8,!0x0),this['setTerminal'](_0x176ef9,_0x17c310,!0x1);}finally{this[_0x1cd3('0x2b5e')]();}};mxGraphModel[_0x1cd3('0x77a')]['terminalForCellChanged']=function(_0x19564b,_0x46ded1,_0x2e3c79){var _0x3cef1f=this['getTerminal'](_0x19564b,_0x2e3c79);null!=_0x46ded1?_0x46ded1[_0x1cd3('0x2f4a')](_0x19564b,_0x2e3c79):null!=_0x3cef1f&&_0x3cef1f[_0x1cd3('0x2f4b')](_0x19564b,_0x2e3c79);return _0x3cef1f;};mxGraphModel[_0x1cd3('0x77a')][_0x1cd3('0x2e5b')]=function(_0x55c36a){return null!=_0x55c36a?_0x55c36a['getEdgeCount']():0x0;};mxGraphModel[_0x1cd3('0x77a')][_0x1cd3('0x2f3f')]=function(_0x4845f5,_0x1e8f12){return null!=_0x4845f5?_0x4845f5[_0x1cd3('0x2f3f')](_0x1e8f12):null;};mxGraphModel[_0x1cd3('0x77a')][_0x1cd3('0x2f4c')]=function(_0x58754a,_0x346a58,_0xacfe9d){for(var _0x131d9e=0x0,_0x31595a=this[_0x1cd3('0x2e5b')](_0x58754a),_0x6f17bf=0x0;_0x6f17bf<_0x31595a;_0x6f17bf++){var _0x2304f0=this[_0x1cd3('0x2f3f')](_0x58754a,_0x6f17bf);_0x2304f0!=_0xacfe9d&&this[_0x1cd3('0x2e62')](_0x2304f0,_0x346a58)==_0x58754a&&_0x131d9e++;}return _0x131d9e;};mxGraphModel['prototype'][_0x1cd3('0x2e88')]=function(_0x31c27c){return this[_0x1cd3('0x29e7')](_0x31c27c,!0x0,!0x0,!0x1);};mxGraphModel[_0x1cd3('0x77a')][_0x1cd3('0x2eed')]=function(_0x415890){return this[_0x1cd3('0x29e7')](_0x415890,!0x0,!0x1,!0x1);};mxGraphModel['prototype'][_0x1cd3('0x2f4d')]=function(_0x2e93a6){return this[_0x1cd3('0x29e7')](_0x2e93a6,!0x1,!0x0,!0x1);};mxGraphModel[_0x1cd3('0x77a')]['getEdges']=function(_0x4ccee0,_0x34dae7,_0x2379fc,_0x1cdee6){_0x34dae7=null!=_0x34dae7?_0x34dae7:!0x0;_0x2379fc=null!=_0x2379fc?_0x2379fc:!0x0;_0x1cdee6=null!=_0x1cdee6?_0x1cdee6:!0x0;for(var _0x2a535b=this[_0x1cd3('0x2e5b')](_0x4ccee0),_0x4861aa=[],_0x149786=0x0;_0x149786<_0x2a535b;_0x149786++){var _0x242417=this[_0x1cd3('0x2f3f')](_0x4ccee0,_0x149786),_0x50b55d=this[_0x1cd3('0x2e62')](_0x242417,!0x0),_0x515f13=this[_0x1cd3('0x2e62')](_0x242417,!0x1);(_0x1cdee6&&_0x50b55d==_0x515f13||_0x50b55d!=_0x515f13&&(_0x34dae7&&_0x515f13==_0x4ccee0||_0x2379fc&&_0x50b55d==_0x4ccee0))&&_0x4861aa['push'](_0x242417);}return _0x4861aa;};mxGraphModel['prototype'][_0x1cd3('0x2edf')]=function(_0x58ccbe,_0xe2bcea,_0x3d3eac){_0x3d3eac=null!=_0x3d3eac?_0x3d3eac:!0x1;var _0x3e49e6=this[_0x1cd3('0x2e5b')](_0x58ccbe),_0x296329=this['getEdgeCount'](_0xe2bcea),_0x3db039=_0x58ccbe,_0x47458e=_0x3e49e6;_0x296329<_0x3e49e6&&(_0x47458e=_0x296329,_0x3db039=_0xe2bcea);_0x3e49e6=[];for(_0x296329=0x0;_0x296329<_0x47458e;_0x296329++){var _0x50abd1=this[_0x1cd3('0x2f3f')](_0x3db039,_0x296329),_0xe48370=this[_0x1cd3('0x2e62')](_0x50abd1,!0x0),_0x2de8e9=this['getTerminal'](_0x50abd1,!0x1),_0x14cd61=_0x2de8e9==_0x58ccbe&&_0xe48370==_0xe2bcea;(_0xe48370==_0x58ccbe&&_0x2de8e9==_0xe2bcea||!_0x3d3eac&&_0x14cd61)&&_0x3e49e6['push'](_0x50abd1);}return _0x3e49e6;};mxGraphModel[_0x1cd3('0x77a')][_0x1cd3('0x2eb5')]=function(_0x477182,_0x365fa8,_0xd5afbf,_0x4f9357){_0xd5afbf=null!=_0xd5afbf?_0xd5afbf:!0x0;_0x4f9357=null!=_0x4f9357?_0x4f9357:!0x0;var _0x486612=[];if(null!=_0x477182)for(var _0x3358c6=0x0;_0x3358c6<_0x477182[_0x1cd3('0x7a')];_0x3358c6++){var _0x2a72ef=this[_0x1cd3('0x2e62')](_0x477182[_0x3358c6],!0x0),_0x38d314=this[_0x1cd3('0x2e62')](_0x477182[_0x3358c6],!0x1);_0x2a72ef==_0x365fa8&&null!=_0x38d314&&_0x38d314!=_0x365fa8&&_0x4f9357?_0x486612[_0x1cd3('0x7b')](_0x38d314):_0x38d314==_0x365fa8&&(null!=_0x2a72ef&&_0x2a72ef!=_0x365fa8&&_0xd5afbf)&&_0x486612[_0x1cd3('0x7b')](_0x2a72ef);}return _0x486612;};mxGraphModel[_0x1cd3('0x77a')]['getTopmostCells']=function(_0x548268){for(var _0x515138=[],_0x2f509c=0x0;_0x2f509c<_0x548268[_0x1cd3('0x7a')];_0x2f509c++){for(var _0x27d0ca=_0x548268[_0x2f509c],_0x374cd6=!0x0,_0x5e07d8=this[_0x1cd3('0x2c9d')](_0x27d0ca);null!=_0x5e07d8;){if(0x0<=mxUtils[_0x1cd3('0x45e')](_0x548268,_0x5e07d8)){_0x374cd6=!0x1;break;}_0x5e07d8=this[_0x1cd3('0x2c9d')](_0x5e07d8);}_0x374cd6&&_0x515138[_0x1cd3('0x7b')](_0x27d0ca);}return _0x515138;};mxGraphModel[_0x1cd3('0x77a')]['isVertex']=function(_0x1c2219){return null!=_0x1c2219?_0x1c2219[_0x1cd3('0x2c98')]():!0x1;};mxGraphModel[_0x1cd3('0x77a')]['isEdge']=function(_0x353023){return null!=_0x353023?_0x353023[_0x1cd3('0x29dc')]():!0x1;};mxGraphModel[_0x1cd3('0x77a')][_0x1cd3('0x2f4e')]=function(_0x166898){return null!=_0x166898?_0x166898['isConnectable']():!0x1;};mxGraphModel['prototype'][_0x1cd3('0x2a5a')]=function(_0x5d90fa){return null!=_0x5d90fa?_0x5d90fa[_0x1cd3('0x2a5a')]():null;};mxGraphModel['prototype'][_0x1cd3('0x2f4f')]=function(_0x1c44de,_0x243d7){this[_0x1cd3('0x2b5b')](new mxValueChange(this,_0x1c44de,_0x243d7));return _0x243d7;};mxGraphModel[_0x1cd3('0x77a')][_0x1cd3('0x2f50')]=function(_0x317d46,_0x166c6b){return _0x317d46['valueChanged'](_0x166c6b);};mxGraphModel[_0x1cd3('0x77a')][_0x1cd3('0x2e67')]=function(_0x7b2da4,_0x2c9727){return null!=_0x7b2da4?_0x7b2da4[_0x1cd3('0x2e67')]():null;};mxGraphModel[_0x1cd3('0x77a')][_0x1cd3('0x2e68')]=function(_0x5d6f49,_0x46b394){_0x46b394!=this[_0x1cd3('0x2e67')](_0x5d6f49)&&this[_0x1cd3('0x2b5b')](new mxGeometryChange(this,_0x5d6f49,_0x46b394));return _0x46b394;};mxGraphModel[_0x1cd3('0x77a')]['geometryForCellChanged']=function(_0x201538,_0x5e0695){var _0x38bd3b=this[_0x1cd3('0x2e67')](_0x201538);_0x201538[_0x1cd3('0x2e68')](_0x5e0695);return _0x38bd3b;};mxGraphModel[_0x1cd3('0x77a')][_0x1cd3('0x2a6e')]=function(_0x4b97e6){return null!=_0x4b97e6?_0x4b97e6[_0x1cd3('0x2a6e')]():null;};mxGraphModel[_0x1cd3('0x77a')][_0x1cd3('0x2a6d')]=function(_0xf8d0bb,_0x201a6c){_0x201a6c!=this[_0x1cd3('0x2a6e')](_0xf8d0bb)&&this[_0x1cd3('0x2b5b')](new mxStyleChange(this,_0xf8d0bb,_0x201a6c));return _0x201a6c;};mxGraphModel[_0x1cd3('0x77a')][_0x1cd3('0x2f51')]=function(_0x45c257,_0x5d11a7){var _0xcf75dd=this[_0x1cd3('0x2a6e')](_0x45c257);_0x45c257[_0x1cd3('0x2a6d')](_0x5d11a7);return _0xcf75dd;};mxGraphModel[_0x1cd3('0x77a')][_0x1cd3('0x2f52')]=function(_0x1b6804){return null!=_0x1b6804?_0x1b6804['isCollapsed']():!0x1;};mxGraphModel[_0x1cd3('0x77a')][_0x1cd3('0x2f53')]=function(_0x1092cd,_0x378f35){_0x378f35!=this['isCollapsed'](_0x1092cd)&&this[_0x1cd3('0x2b5b')](new mxCollapseChange(this,_0x1092cd,_0x378f35));return _0x378f35;};mxGraphModel[_0x1cd3('0x77a')][_0x1cd3('0x2f54')]=function(_0x1c1e00,_0x53d5c6){var _0x533c9f=this[_0x1cd3('0x2f52')](_0x1c1e00);_0x1c1e00[_0x1cd3('0x2f53')](_0x53d5c6);return _0x533c9f;};mxGraphModel[_0x1cd3('0x77a')][_0x1cd3('0x29c0')]=function(_0x42dec8){return null!=_0x42dec8?_0x42dec8['isVisible']():!0x1;};mxGraphModel[_0x1cd3('0x77a')]['setVisible']=function(_0x101bc9,_0x2bf5bb){_0x2bf5bb!=this[_0x1cd3('0x29c0')](_0x101bc9)&&this['execute'](new mxVisibleChange(this,_0x101bc9,_0x2bf5bb));return _0x2bf5bb;};mxGraphModel[_0x1cd3('0x77a')][_0x1cd3('0x2f55')]=function(_0x5b14aa,_0x29ae87){var _0x27915e=this[_0x1cd3('0x29c0')](_0x5b14aa);_0x5b14aa[_0x1cd3('0x29c1')](_0x29ae87);return _0x27915e;};mxGraphModel[_0x1cd3('0x77a')][_0x1cd3('0x2b5b')]=function(_0x3c3116){_0x3c3116[_0x1cd3('0x2b5b')]();this[_0x1cd3('0x2a6c')]();this[_0x1cd3('0x2f29')][_0x1cd3('0x425')](_0x3c3116);this[_0x1cd3('0x2b28')](new mxEventObject(mxEvent[_0x1cd3('0x2c91')],_0x1cd3('0x14c4'),_0x3c3116));this[_0x1cd3('0x2b28')](new mxEventObject(mxEvent[_0x1cd3('0x2c4f')],'change',_0x3c3116));this[_0x1cd3('0x2b5e')]();};mxGraphModel['prototype'][_0x1cd3('0x2a6c')]=function(){this[_0x1cd3('0x2f2e')]++;this[_0x1cd3('0x2b28')](new mxEventObject(mxEvent[_0x1cd3('0x2f56')]));0x1==this['updateLevel']&&this['fireEvent'](new mxEventObject(mxEvent[_0x1cd3('0x2c4e')]));};mxGraphModel[_0x1cd3('0x77a')][_0x1cd3('0x2b5e')]=function(){this['updateLevel']--;0x0==this['updateLevel']&&this['fireEvent'](new mxEventObject(mxEvent[_0x1cd3('0x2c50')]));if(!this[_0x1cd3('0x2f2f')]){this[_0x1cd3('0x2f2f')]=0x0==this[_0x1cd3('0x2f2e')];this['fireEvent'](new mxEventObject(mxEvent['END_UPDATE'],'edit',this[_0x1cd3('0x2f29')]));try{if(this[_0x1cd3('0x2f2f')]&&!this[_0x1cd3('0x2f29')][_0x1cd3('0x398')]()){this['fireEvent'](new mxEventObject(mxEvent[_0x1cd3('0x2f57')],'edit',this['currentEdit']));var _0x45420f=this['currentEdit'];this[_0x1cd3('0x2f29')]=this[_0x1cd3('0x2c44')]();_0x45420f[_0x1cd3('0x2b62')]();this[_0x1cd3('0x2b28')](new mxEventObject(mxEvent['UNDO'],_0x1cd3('0xea4'),_0x45420f));}}finally{this[_0x1cd3('0x2f2f')]=!0x1;}}};mxGraphModel[_0x1cd3('0x77a')]['createUndoableEdit']=function(){var _0x234d20=new mxUndoableEdit(this,!0x0);_0x234d20[_0x1cd3('0x2b62')]=function(){_0x234d20[_0x1cd3('0x930')][_0x1cd3('0x2b28')](new mxEventObject(mxEvent[_0x1cd3('0x2c45')],_0x1cd3('0xea4'),_0x234d20,_0x1cd3('0x2c2b'),_0x234d20[_0x1cd3('0x2c2b')]));_0x234d20[_0x1cd3('0x930')][_0x1cd3('0x2b28')](new mxEventObject(mxEvent[_0x1cd3('0x2c26')],_0x1cd3('0xea4'),_0x234d20,_0x1cd3('0x2c2b'),_0x234d20['changes']));};return _0x234d20;};mxGraphModel[_0x1cd3('0x77a')][_0x1cd3('0x2f58')]=function(_0x4ef9c8,_0xaa94e3,_0x337482){_0x337482=null!=_0x337482?_0x337482:!0x0;this[_0x1cd3('0x2a6c')]();try{var _0x57629f={};this['mergeChildrenImpl'](_0x4ef9c8,_0xaa94e3,_0x337482,_0x57629f);for(var _0x365ab9 in _0x57629f){var _0x5ed344=_0x57629f[_0x365ab9],_0x5f0591=this[_0x1cd3('0x2e62')](_0x5ed344,!0x0);null!=_0x5f0591&&(_0x5f0591=_0x57629f[mxCellPath[_0x1cd3('0x624')](_0x5f0591)],this['setTerminal'](_0x5ed344,_0x5f0591,!0x0));_0x5f0591=this[_0x1cd3('0x2e62')](_0x5ed344,!0x1);null!=_0x5f0591&&(_0x5f0591=_0x57629f[mxCellPath[_0x1cd3('0x624')](_0x5f0591)],this['setTerminal'](_0x5ed344,_0x5f0591,!0x1));}}finally{this[_0x1cd3('0x2b5e')]();}};mxGraphModel[_0x1cd3('0x77a')]['mergeChildrenImpl']=function(_0x22983d,_0x471336,_0x5a62c6,_0x4d80b7){this[_0x1cd3('0x2a6c')]();try{for(var _0x4b4470=_0x22983d[_0x1cd3('0x29e5')](),_0x13ad98=0x0;_0x13ad98<_0x4b4470;_0x13ad98++){var _0x1d204e=_0x22983d[_0x1cd3('0x29e6')](_0x13ad98);if(_0x1cd3('0x77c')==typeof _0x1d204e[_0x1cd3('0x2f3c')]){var _0x2ff0e2=_0x1d204e[_0x1cd3('0x2f3c')](),_0x3240ed=null!=_0x2ff0e2&&(!this['isEdge'](_0x1d204e)||!_0x5a62c6)?this['getCell'](_0x2ff0e2):null;if(null==_0x3240ed){var _0x39b400=_0x1d204e[_0x1cd3('0x1141')]();_0x39b400[_0x1cd3('0x2f3a')](_0x2ff0e2);_0x39b400[_0x1cd3('0x2f48')](_0x1d204e[_0x1cd3('0x2e62')](!0x0),!0x0);_0x39b400['setTerminal'](_0x1d204e[_0x1cd3('0x2e62')](!0x1),!0x1);_0x3240ed=_0x471336[_0x1cd3('0x2f33')](_0x39b400);this[_0x1cd3('0x2f37')](_0x3240ed);}_0x4d80b7[mxCellPath[_0x1cd3('0x624')](_0x1d204e)]=_0x3240ed;this[_0x1cd3('0x2f59')](_0x1d204e,_0x3240ed,_0x5a62c6,_0x4d80b7);}}}finally{this[_0x1cd3('0x2b5e')]();}};mxGraphModel['prototype']['getParents']=function(_0x16cd92){var _0x5111e0=[];if(null!=_0x16cd92)for(var _0x4ff692={},_0x263690=0x0;_0x263690<_0x16cd92[_0x1cd3('0x7a')];_0x263690++){var _0x276b78=this[_0x1cd3('0x2c9d')](_0x16cd92[_0x263690]);if(null!=_0x276b78){var _0x7cbb3=mxCellPath['create'](_0x276b78);null==_0x4ff692[_0x7cbb3]&&(_0x4ff692[_0x7cbb3]=_0x276b78,_0x5111e0[_0x1cd3('0x7b')](_0x276b78));}}return _0x5111e0;};mxGraphModel[_0x1cd3('0x77a')][_0x1cd3('0x2f5a')]=function(_0x2071a1){return null!=_0x2071a1?this[_0x1cd3('0x2b94')]([_0x2071a1],!0x0)[0x0]:null;};mxGraphModel[_0x1cd3('0x77a')][_0x1cd3('0x2b94')]=function(_0x2889ca,_0x58664f){for(var _0x440c64={},_0x436995=[],_0x58595b=0x0;_0x58595b<_0x2889ca['length'];_0x58595b++)null!=_0x2889ca[_0x58595b]?_0x436995['push'](this[_0x1cd3('0x2f5b')](_0x2889ca[_0x58595b],_0x440c64,_0x58664f)):_0x436995['push'](null);for(_0x58595b=0x0;_0x58595b<_0x436995['length'];_0x58595b++)null!=_0x436995[_0x58595b]&&this[_0x1cd3('0x2f5c')](_0x436995[_0x58595b],_0x2889ca[_0x58595b],_0x440c64);return _0x436995;};mxGraphModel[_0x1cd3('0x77a')][_0x1cd3('0x2f5b')]=function(_0x9873d5,_0x52c633,_0x567248){var _0x3cd855=this[_0x1cd3('0x2f5d')](_0x9873d5);_0x52c633[mxObjectIdentity[_0x1cd3('0x361')](_0x9873d5)]=_0x3cd855;if(_0x567248){_0x567248=this['getChildCount'](_0x9873d5);for(var _0x71199c=0x0;_0x71199c<_0x567248;_0x71199c++){var _0x17fbcc=this[_0x1cd3('0x2f5b')](this[_0x1cd3('0x29e6')](_0x9873d5,_0x71199c),_0x52c633,!0x0);_0x3cd855[_0x1cd3('0x2f33')](_0x17fbcc);}}return _0x3cd855;};mxGraphModel[_0x1cd3('0x77a')][_0x1cd3('0x2f5d')]=function(_0x53cfc4){return _0x53cfc4[_0x1cd3('0x1141')]();};mxGraphModel['prototype'][_0x1cd3('0x2f5c')]=function(_0x1c1663,_0x16fa67,_0x5692f3){var _0x859ff2=this[_0x1cd3('0x2e62')](_0x16fa67,!0x0);null!=_0x859ff2&&(_0x859ff2=_0x5692f3[mxObjectIdentity[_0x1cd3('0x361')](_0x859ff2)],null!=_0x859ff2&&_0x859ff2[_0x1cd3('0x2f4a')](_0x1c1663,!0x0));_0x859ff2=this[_0x1cd3('0x2e62')](_0x16fa67,!0x1);null!=_0x859ff2&&(_0x859ff2=_0x5692f3[mxObjectIdentity['get'](_0x859ff2)],null!=_0x859ff2&&_0x859ff2[_0x1cd3('0x2f4a')](_0x1c1663,!0x1));for(var _0x859ff2=this[_0x1cd3('0x29e5')](_0x1c1663),_0x4dc042=0x0;_0x4dc042<_0x859ff2;_0x4dc042++)this['restoreClone'](this[_0x1cd3('0x29e6')](_0x1c1663,_0x4dc042),this[_0x1cd3('0x29e6')](_0x16fa67,_0x4dc042),_0x5692f3);};function mxRootChange(_0x5ac344,_0x200ea2){this[_0x1cd3('0x42e')]=_0x5ac344;this[_0x1cd3('0x29e0')]=this[_0x1cd3('0x554')]=_0x200ea2;}mxRootChange[_0x1cd3('0x77a')][_0x1cd3('0x2b5b')]=function(){this[_0x1cd3('0x554')]=this[_0x1cd3('0x29e0')];this[_0x1cd3('0x29e0')]=this['model'][_0x1cd3('0x2f36')](this[_0x1cd3('0x29e0')]);};function mxChildChange(_0x2b6c11,_0x43d689,_0x499d94,_0x5298a3){this['model']=_0x2b6c11;this[_0x1cd3('0x29e0')]=this[_0x1cd3('0x36c')]=_0x43d689;this['child']=_0x499d94;this['previousIndex']=this[_0x1cd3('0x2f5e')]=_0x5298a3;}mxChildChange['prototype']['execute']=function(){var _0x34dff8=this[_0x1cd3('0x42e')][_0x1cd3('0x2c9d')](this[_0x1cd3('0x29da')]),_0x5022f9=null!=_0x34dff8?_0x34dff8[_0x1cd3('0x2e76')](this['child']):0x0;null==this['previous']&&this[_0x1cd3('0x664')](this[_0x1cd3('0x29da')],!0x1);_0x34dff8=this[_0x1cd3('0x42e')]['parentForCellChanged'](this[_0x1cd3('0x29da')],this['previous'],this[_0x1cd3('0x2f5f')]);null!=this[_0x1cd3('0x29e0')]&&this[_0x1cd3('0x664')](this[_0x1cd3('0x29da')],!0x0);this[_0x1cd3('0x36c')]=this['previous'];this['previous']=_0x34dff8;this[_0x1cd3('0x2f5e')]=this[_0x1cd3('0x2f5f')];this['previousIndex']=_0x5022f9;};mxChildChange[_0x1cd3('0x77a')]['connect']=function(_0x2ed74e,_0x2e1164){_0x2e1164=null!=_0x2e1164?_0x2e1164:!0x0;var _0x247c31=_0x2ed74e[_0x1cd3('0x2e62')](!0x0),_0x351323=_0x2ed74e[_0x1cd3('0x2e62')](!0x1);null!=_0x247c31&&(_0x2e1164?this[_0x1cd3('0x42e')]['terminalForCellChanged'](_0x2ed74e,_0x247c31,!0x0):this[_0x1cd3('0x42e')][_0x1cd3('0x2f60')](_0x2ed74e,null,!0x0));null!=_0x351323&&(_0x2e1164?this[_0x1cd3('0x42e')][_0x1cd3('0x2f60')](_0x2ed74e,_0x351323,!0x1):this[_0x1cd3('0x42e')][_0x1cd3('0x2f60')](_0x2ed74e,null,!0x1));_0x2ed74e[_0x1cd3('0x2f48')](_0x247c31,!0x0);_0x2ed74e[_0x1cd3('0x2f48')](_0x351323,!0x1);_0x247c31=this[_0x1cd3('0x42e')][_0x1cd3('0x29e5')](_0x2ed74e);for(_0x351323=0x0;_0x351323<_0x247c31;_0x351323++)this[_0x1cd3('0x664')](this[_0x1cd3('0x42e')]['getChildAt'](_0x2ed74e,_0x351323),_0x2e1164);};function mxTerminalChange(_0x394816,_0x7c557d,_0x376a6f,_0xfabbb0){this['model']=_0x394816;this[_0x1cd3('0xefb')]=_0x7c557d;this['previous']=this['terminal']=_0x376a6f;this[_0x1cd3('0x930')]=_0xfabbb0;}mxTerminalChange[_0x1cd3('0x77a')][_0x1cd3('0x2b5b')]=function(){this['terminal']=this[_0x1cd3('0x29e0')];this[_0x1cd3('0x29e0')]=this[_0x1cd3('0x42e')][_0x1cd3('0x2f60')](this[_0x1cd3('0xefb')],this['previous'],this[_0x1cd3('0x930')]);};function mxValueChange(_0x11f35d,_0x52ba79,_0x231cc7){this[_0x1cd3('0x42e')]=_0x11f35d;this[_0x1cd3('0xefb')]=_0x52ba79;this[_0x1cd3('0x29e0')]=this[_0x1cd3('0x3db')]=_0x231cc7;}mxValueChange['prototype'][_0x1cd3('0x2b5b')]=function(){this[_0x1cd3('0x3db')]=this['previous'];this[_0x1cd3('0x29e0')]=this['model'][_0x1cd3('0x2f50')](this[_0x1cd3('0xefb')],this['previous']);};function mxStyleChange(_0x55f2f4,_0x1c081e,_0x2c6e7d){this[_0x1cd3('0x42e')]=_0x55f2f4;this[_0x1cd3('0xefb')]=_0x1c081e;this[_0x1cd3('0x29e0')]=this[_0x1cd3('0x440')]=_0x2c6e7d;}mxStyleChange[_0x1cd3('0x77a')][_0x1cd3('0x2b5b')]=function(){this[_0x1cd3('0x440')]=this[_0x1cd3('0x29e0')];this[_0x1cd3('0x29e0')]=this[_0x1cd3('0x42e')][_0x1cd3('0x2f51')](this[_0x1cd3('0xefb')],this[_0x1cd3('0x29e0')]);};function mxGeometryChange(_0x589077,_0x297e08,_0xd24187){this['model']=_0x589077;this[_0x1cd3('0xefb')]=_0x297e08;this[_0x1cd3('0x29e0')]=this[_0x1cd3('0x29e1')]=_0xd24187;}mxGeometryChange[_0x1cd3('0x77a')]['execute']=function(){this[_0x1cd3('0x29e1')]=this[_0x1cd3('0x29e0')];this[_0x1cd3('0x29e0')]=this[_0x1cd3('0x42e')][_0x1cd3('0x2f61')](this['cell'],this[_0x1cd3('0x29e0')]);};function mxCollapseChange(_0x127d7b,_0x2c1eb1,_0x474850){this[_0x1cd3('0x42e')]=_0x127d7b;this[_0x1cd3('0xefb')]=_0x2c1eb1;this[_0x1cd3('0x29e0')]=this[_0x1cd3('0x525')]=_0x474850;}mxCollapseChange['prototype'][_0x1cd3('0x2b5b')]=function(){this[_0x1cd3('0x525')]=this[_0x1cd3('0x29e0')];this[_0x1cd3('0x29e0')]=this[_0x1cd3('0x42e')][_0x1cd3('0x2f54')](this[_0x1cd3('0xefb')],this[_0x1cd3('0x29e0')]);};function mxVisibleChange(_0x3a78d5,_0x4b4b43,_0x233df9){this['model']=_0x3a78d5;this[_0x1cd3('0xefb')]=_0x4b4b43;this[_0x1cd3('0x29e0')]=this[_0x1cd3('0x29c8')]=_0x233df9;}mxVisibleChange[_0x1cd3('0x77a')][_0x1cd3('0x2b5b')]=function(){this['visible']=this[_0x1cd3('0x29e0')];this['previous']=this[_0x1cd3('0x42e')][_0x1cd3('0x2f55')](this[_0x1cd3('0xefb')],this[_0x1cd3('0x29e0')]);};function mxCellAttributeChange(_0x30fe3d,_0xc0c713,_0x3d348b){this['cell']=_0x30fe3d;this['attribute']=_0xc0c713;this[_0x1cd3('0x29e0')]=this[_0x1cd3('0x3db')]=_0x3d348b;}mxCellAttributeChange[_0x1cd3('0x77a')][_0x1cd3('0x2b5b')]=function(){var _0x1596ad=this['cell']['getAttribute'](this[_0x1cd3('0x2f62')]);null==this[_0x1cd3('0x29e0')]?this[_0x1cd3('0xefb')][_0x1cd3('0x3db')]['removeAttribute'](this[_0x1cd3('0x2f62')]):this[_0x1cd3('0xefb')]['setAttribute'](this[_0x1cd3('0x2f62')],this[_0x1cd3('0x29e0')]);this[_0x1cd3('0x29e0')]=_0x1596ad;};function mxCell(_0x16ad4c,_0x1829ed,_0xe49925){this[_0x1cd3('0x3db')]=_0x16ad4c;this[_0x1cd3('0x2e68')](_0x1829ed);this[_0x1cd3('0x2a6d')](_0xe49925);if(null!=this['onInit'])this[_0x1cd3('0x703')]();}mxCell[_0x1cd3('0x77a')]['id']=null;mxCell[_0x1cd3('0x77a')][_0x1cd3('0x3db')]=null;mxCell[_0x1cd3('0x77a')][_0x1cd3('0x29e1')]=null;mxCell[_0x1cd3('0x77a')][_0x1cd3('0x440')]=null;mxCell[_0x1cd3('0x77a')][_0x1cd3('0x2f63')]=!0x1;mxCell['prototype']['edge']=!0x1;mxCell[_0x1cd3('0x77a')]['connectable']=!0x0;mxCell[_0x1cd3('0x77a')][_0x1cd3('0x29c8')]=!0x0;mxCell[_0x1cd3('0x77a')][_0x1cd3('0x525')]=!0x1;mxCell[_0x1cd3('0x77a')][_0x1cd3('0x36c')]=null;mxCell['prototype'][_0x1cd3('0x930')]=null;mxCell['prototype'][_0x1cd3('0x365')]=null;mxCell[_0x1cd3('0x77a')][_0x1cd3('0x52b')]=null;mxCell['prototype'][_0x1cd3('0x2ed6')]=null;mxCell['prototype'][_0x1cd3('0x2f64')]=_0x1cd3('0x2f65')[_0x1cd3('0x3ef')]('\x20');mxCell[_0x1cd3('0x77a')]['getId']=function(){return this['id'];};mxCell[_0x1cd3('0x77a')][_0x1cd3('0x2f3a')]=function(_0x5cc41a){this['id']=_0x5cc41a;};mxCell[_0x1cd3('0x77a')]['getValue']=function(){return this[_0x1cd3('0x3db')];};mxCell[_0x1cd3('0x77a')]['setValue']=function(_0x50a60d){this[_0x1cd3('0x3db')]=_0x50a60d;};mxCell[_0x1cd3('0x77a')][_0x1cd3('0x2f66')]=function(_0x5654be){var _0x2df16f=this['getValue']();this['setValue'](_0x5654be);return _0x2df16f;};mxCell[_0x1cd3('0x77a')][_0x1cd3('0x2e67')]=function(){return this[_0x1cd3('0x29e1')];};mxCell[_0x1cd3('0x77a')][_0x1cd3('0x2e68')]=function(_0x20df6c){this[_0x1cd3('0x29e1')]=_0x20df6c;};mxCell[_0x1cd3('0x77a')][_0x1cd3('0x2a6e')]=function(){return this[_0x1cd3('0x440')];};mxCell['prototype'][_0x1cd3('0x2a6d')]=function(_0xf45e03){this['style']=_0xf45e03;};mxCell[_0x1cd3('0x77a')][_0x1cd3('0x2c98')]=function(){return this[_0x1cd3('0x2f63')];};mxCell['prototype'][_0x1cd3('0x2f67')]=function(_0x5dbd1a){this[_0x1cd3('0x2f63')]=_0x5dbd1a;};mxCell['prototype'][_0x1cd3('0x29dc')]=function(){return this[_0x1cd3('0x2f68')];};mxCell[_0x1cd3('0x77a')][_0x1cd3('0x2f69')]=function(_0x59257b){this[_0x1cd3('0x2f68')]=_0x59257b;};mxCell[_0x1cd3('0x77a')][_0x1cd3('0x2f4e')]=function(){return this[_0x1cd3('0x2f6a')];};mxCell[_0x1cd3('0x77a')][_0x1cd3('0x2f6b')]=function(_0x405c7f){this[_0x1cd3('0x2f6a')]=_0x405c7f;};mxCell[_0x1cd3('0x77a')]['isVisible']=function(){return this[_0x1cd3('0x29c8')];};mxCell[_0x1cd3('0x77a')][_0x1cd3('0x29c1')]=function(_0x4d6d67){this[_0x1cd3('0x29c8')]=_0x4d6d67;};mxCell[_0x1cd3('0x77a')][_0x1cd3('0x2f52')]=function(){return this[_0x1cd3('0x525')];};mxCell[_0x1cd3('0x77a')][_0x1cd3('0x2f53')]=function(_0x394131){this['collapsed']=_0x394131;};mxCell[_0x1cd3('0x77a')][_0x1cd3('0x2c9d')]=function(){return this[_0x1cd3('0x36c')];};mxCell[_0x1cd3('0x77a')][_0x1cd3('0x2f6c')]=function(_0x12874e){this[_0x1cd3('0x36c')]=_0x12874e;};mxCell[_0x1cd3('0x77a')][_0x1cd3('0x2e62')]=function(_0x5d706b){return _0x5d706b?this['source']:this['target'];};mxCell[_0x1cd3('0x77a')][_0x1cd3('0x2f48')]=function(_0x2eaa5,_0x5bebd1){_0x5bebd1?this[_0x1cd3('0x930')]=_0x2eaa5:this[_0x1cd3('0x365')]=_0x2eaa5;return _0x2eaa5;};mxCell[_0x1cd3('0x77a')]['getChildCount']=function(){return null==this[_0x1cd3('0x52b')]?0x0:this['children'][_0x1cd3('0x7a')];};mxCell['prototype'][_0x1cd3('0x2e76')]=function(_0x292dea){return mxUtils['indexOf'](this['children'],_0x292dea);};mxCell[_0x1cd3('0x77a')]['getChildAt']=function(_0x12eb3f){return null==this[_0x1cd3('0x52b')]?null:this[_0x1cd3('0x52b')][_0x12eb3f];};mxCell['prototype']['insert']=function(_0x59fa49,_0x42cf3c){null!=_0x59fa49&&(null==_0x42cf3c&&(_0x42cf3c=this[_0x1cd3('0x29e5')](),_0x59fa49[_0x1cd3('0x2c9d')]()==this&&_0x42cf3c--),_0x59fa49['removeFromParent'](),_0x59fa49[_0x1cd3('0x2f6c')](this),null==this[_0x1cd3('0x52b')]?(this[_0x1cd3('0x52b')]=[],this['children'][_0x1cd3('0x7b')](_0x59fa49)):this[_0x1cd3('0x52b')]['splice'](_0x42cf3c,0x0,_0x59fa49));return _0x59fa49;};mxCell[_0x1cd3('0x77a')][_0x1cd3('0x383')]=function(_0x3938fd){var _0x101bbb=null;null!=this[_0x1cd3('0x52b')]&&0x0<=_0x3938fd&&(_0x101bbb=this['getChildAt'](_0x3938fd),null!=_0x101bbb&&(this[_0x1cd3('0x52b')][_0x1cd3('0x446')](_0x3938fd,0x1),_0x101bbb[_0x1cd3('0x2f6c')](null)));return _0x101bbb;};mxCell['prototype'][_0x1cd3('0x2f6d')]=function(){if(null!=this[_0x1cd3('0x36c')]){var _0x407749=this['parent'][_0x1cd3('0x2e76')](this);this[_0x1cd3('0x36c')]['remove'](_0x407749);}};mxCell[_0x1cd3('0x77a')][_0x1cd3('0x2e5b')]=function(){return null==this[_0x1cd3('0x2ed6')]?0x0:this[_0x1cd3('0x2ed6')][_0x1cd3('0x7a')];};mxCell[_0x1cd3('0x77a')][_0x1cd3('0x2f6e')]=function(_0x6f6e72){return mxUtils[_0x1cd3('0x45e')](this[_0x1cd3('0x2ed6')],_0x6f6e72);};mxCell['prototype'][_0x1cd3('0x2f3f')]=function(_0x1b15c6){return null==this[_0x1cd3('0x2ed6')]?null:this[_0x1cd3('0x2ed6')][_0x1b15c6];};mxCell[_0x1cd3('0x77a')][_0x1cd3('0x2f4a')]=function(_0x33abf9,_0x51339f){if(null!=_0x33abf9&&(_0x33abf9['removeFromTerminal'](_0x51339f),_0x33abf9['setTerminal'](this,_0x51339f),null==this['edges']||_0x33abf9[_0x1cd3('0x2e62')](!_0x51339f)!=this||0x0>mxUtils['indexOf'](this[_0x1cd3('0x2ed6')],_0x33abf9)))null==this[_0x1cd3('0x2ed6')]&&(this[_0x1cd3('0x2ed6')]=[]),this['edges'][_0x1cd3('0x7b')](_0x33abf9);return _0x33abf9;};mxCell[_0x1cd3('0x77a')][_0x1cd3('0x2f4b')]=function(_0x5ec4d5,_0x141b2d){if(null!=_0x5ec4d5){if(_0x5ec4d5[_0x1cd3('0x2e62')](!_0x141b2d)!=this&&null!=this['edges']){var _0x757376=this[_0x1cd3('0x2f6e')](_0x5ec4d5);0x0<=_0x757376&&this[_0x1cd3('0x2ed6')][_0x1cd3('0x446')](_0x757376,0x1);}_0x5ec4d5['setTerminal'](null,_0x141b2d);}return _0x5ec4d5;};mxCell[_0x1cd3('0x77a')]['removeFromTerminal']=function(_0x2f8880){var _0x5c9ee4=this['getTerminal'](_0x2f8880);null!=_0x5c9ee4&&_0x5c9ee4['removeEdge'](this,_0x2f8880);};mxCell[_0x1cd3('0x77a')][_0x1cd3('0x29f4')]=function(_0x3237c3,_0x3b7198){var _0x3d3df3=this[_0x1cd3('0x2a5a')]();return(null!=_0x3d3df3&&_0x3d3df3['nodeType']==mxConstants[_0x1cd3('0x29f9')]?_0x3d3df3[_0x1cd3('0x29f4')](_0x3237c3):null)||_0x3b7198;};mxCell[_0x1cd3('0x77a')][_0x1cd3('0x481')]=function(_0x46c51d,_0x468be1){var _0x502ce6=this[_0x1cd3('0x2a5a')]();null!=_0x502ce6&&_0x502ce6[_0x1cd3('0x29f8')]==mxConstants[_0x1cd3('0x29f9')]&&_0x502ce6[_0x1cd3('0x481')](_0x46c51d,_0x468be1);};mxCell['prototype'][_0x1cd3('0x1141')]=function(){var _0x16958f=mxUtils[_0x1cd3('0x1141')](this,this[_0x1cd3('0x2f64')]);_0x16958f[_0x1cd3('0x2f4f')](this[_0x1cd3('0x2f6f')]());return _0x16958f;};mxCell[_0x1cd3('0x77a')][_0x1cd3('0x2f6f')]=function(){var _0x3ddab6=this[_0x1cd3('0x2a5a')]();null!=_0x3ddab6&&('function'==typeof _0x3ddab6['clone']?_0x3ddab6=_0x3ddab6[_0x1cd3('0x1141')]():isNaN(_0x3ddab6[_0x1cd3('0x29f8')])||(_0x3ddab6=_0x3ddab6[_0x1cd3('0x2a80')](!0x0)));return _0x3ddab6;};function mxGeometry(_0xdf62a9,_0x25b7bd,_0x470407,_0x1fdf6f){mxRectangle[_0x1cd3('0x46d')](this,_0xdf62a9,_0x25b7bd,_0x470407,_0x1fdf6f);}mxGeometry['prototype']=new mxRectangle();mxGeometry[_0x1cd3('0x77a')][_0x1cd3('0x29db')]=mxGeometry;mxGeometry['prototype'][_0x1cd3('0x2f70')]=!0x0;mxGeometry[_0x1cd3('0x77a')][_0x1cd3('0x2f71')]=null;mxGeometry[_0x1cd3('0x77a')]['sourcePoint']=null;mxGeometry['prototype']['targetPoint']=null;mxGeometry[_0x1cd3('0x77a')][_0x1cd3('0x2d9a')]=null;mxGeometry[_0x1cd3('0x77a')][_0x1cd3('0xd57')]=null;mxGeometry[_0x1cd3('0x77a')]['relative']=!0x1;mxGeometry[_0x1cd3('0x77a')][_0x1cd3('0x2f72')]=function(){if(null!=this[_0x1cd3('0x2f71')]){var _0x4eb0e8=new mxRectangle(this['x'],this['y'],this[_0x1cd3('0x4d7')],this[_0x1cd3('0x4e4')]);this['x']=this[_0x1cd3('0x2f71')]['x'];this['y']=this[_0x1cd3('0x2f71')]['y'];this[_0x1cd3('0x4d7')]=this[_0x1cd3('0x2f71')][_0x1cd3('0x4d7')];this['height']=this[_0x1cd3('0x2f71')][_0x1cd3('0x4e4')];this['alternateBounds']=_0x4eb0e8;}};mxGeometry[_0x1cd3('0x77a')]['getTerminalPoint']=function(_0x3ef52){return _0x3ef52?this[_0x1cd3('0x2f73')]:this[_0x1cd3('0x2f74')];};mxGeometry['prototype']['setTerminalPoint']=function(_0x101750,_0x499ec3){_0x499ec3?this[_0x1cd3('0x2f73')]=_0x101750:this[_0x1cd3('0x2f74')]=_0x101750;return _0x101750;};mxGeometry[_0x1cd3('0x77a')][_0x1cd3('0x43c')]=function(_0x2d82e9,_0x216872){this[_0x1cd3('0x1141')]();this[_0x1cd3('0x2d83')]||(this['x']+=_0x2d82e9,this['y']+=_0x216872);null!=this[_0x1cd3('0x2f73')]&&(this[_0x1cd3('0x2f73')]['x']+=_0x2d82e9,this[_0x1cd3('0x2f73')]['y']+=_0x216872);null!=this[_0x1cd3('0x2f74')]&&(this['targetPoint']['x']+=_0x2d82e9,this[_0x1cd3('0x2f74')]['y']+=_0x216872);if(this['TRANSLATE_CONTROL_POINTS']&&null!=this['points'])for(var _0x20d841=this['points'][_0x1cd3('0x7a')],_0x53d656=0x0;_0x53d656<_0x20d841;_0x53d656++){var _0x3475b6=this[_0x1cd3('0x2d9a')][_0x53d656];null!=_0x3475b6&&(_0x3475b6['x']+=_0x2d82e9,_0x3475b6['y']+=_0x216872);}};var mxCellPath={'PATH_SEPARATOR':'.','create':function(_0x2e2624){var _0xe762f7='';if(null!=_0x2e2624)for(var _0x2d69b=_0x2e2624[_0x1cd3('0x2c9d')]();null!=_0x2d69b;)_0xe762f7=_0x2d69b['getIndex'](_0x2e2624)+mxCellPath[_0x1cd3('0x2a69')]+_0xe762f7,_0x2e2624=_0x2d69b,_0x2d69b=_0x2e2624['getParent']();_0x2e2624=_0xe762f7[_0x1cd3('0x7a')];0x1<_0x2e2624&&(_0xe762f7=_0xe762f7[_0x1cd3('0x922')](0x0,_0x2e2624-0x1));return _0xe762f7;},'getParentPath':function(_0x43a1f1){if(null!=_0x43a1f1){var _0x492a2d=_0x43a1f1['lastIndexOf'](mxCellPath[_0x1cd3('0x2a69')]);if(0x0<=_0x492a2d)return _0x43a1f1['substring'](0x0,_0x492a2d);if(0x0<_0x43a1f1[_0x1cd3('0x7a')])return'';}return null;},'resolve':function(_0x664357,_0x2da6a9){var _0xc23222=_0x664357;if(null!=_0x2da6a9)for(var _0x22a789=_0x2da6a9[_0x1cd3('0x3ef')](mxCellPath[_0x1cd3('0x2a69')]),_0x451254=0x0;_0x451254<_0x22a789[_0x1cd3('0x7a')];_0x451254++)_0xc23222=_0xc23222['getChildAt'](parseInt(_0x22a789[_0x451254]));return _0xc23222;},'compare':function(_0x57f404,_0x28629c){for(var _0x220569=Math[_0x1cd3('0x4e3')](_0x57f404[_0x1cd3('0x7a')],_0x28629c['length']),_0x126fbb=0x0,_0xba9224=0x0;_0xba9224<_0x220569;_0xba9224++)if(_0x57f404[_0xba9224]!=_0x28629c[_0xba9224]){0x0==_0x57f404[_0xba9224]['length']||0x0==_0x28629c[_0xba9224][_0x1cd3('0x7a')]?_0x126fbb=_0x57f404[_0xba9224]==_0x28629c[_0xba9224]?0x0:_0x57f404[_0xba9224]>_0x28629c[_0xba9224]?0x1:-0x1:(_0x220569=parseInt(_0x57f404[_0xba9224]),_0xba9224=parseInt(_0x28629c[_0xba9224]),_0x126fbb=_0x220569==_0xba9224?0x0:_0x220569>_0xba9224?0x1:-0x1);break;}0x0==_0x126fbb&&(_0x220569=_0x57f404[_0x1cd3('0x7a')],_0xba9224=_0x28629c[_0x1cd3('0x7a')],_0x220569!=_0xba9224&&(_0x126fbb=_0x220569>_0xba9224?0x1:-0x1));return _0x126fbb;}},mxPerimeter={'RectanglePerimeter':function(_0x3d1cf3,_0x10be04,_0x141ad9,_0x37b4c6){_0x10be04=_0x3d1cf3[_0x1cd3('0x29d5')]();var _0x438230=_0x3d1cf3[_0x1cd3('0x29d6')](),_0x289f65=Math[_0x1cd3('0x2a50')](_0x141ad9['y']-_0x438230,_0x141ad9['x']-_0x10be04),_0x24d63a=new mxPoint(0x0,0x0),_0x1e9bf0=Math['PI'],_0x32d2ab=Math['PI']/0x2-_0x289f65,_0x2c5823=Math[_0x1cd3('0x2a50')](_0x3d1cf3['height'],_0x3d1cf3['width']);_0x289f65<-_0x1e9bf0+_0x2c5823||_0x289f65>_0x1e9bf0-_0x2c5823?(_0x24d63a['x']=_0x3d1cf3['x'],_0x24d63a['y']=_0x438230-_0x3d1cf3[_0x1cd3('0x4d7')]*Math['tan'](_0x289f65)/0x2):_0x289f65<-_0x2c5823?(_0x24d63a['y']=_0x3d1cf3['y'],_0x24d63a['x']=_0x10be04-_0x3d1cf3[_0x1cd3('0x4e4')]*Math[_0x1cd3('0x2f75')](_0x32d2ab)/0x2):_0x289f65<_0x2c5823?(_0x24d63a['x']=_0x3d1cf3['x']+_0x3d1cf3[_0x1cd3('0x4d7')],_0x24d63a['y']=_0x438230+_0x3d1cf3[_0x1cd3('0x4d7')]*Math['tan'](_0x289f65)/0x2):(_0x24d63a['y']=_0x3d1cf3['y']+_0x3d1cf3[_0x1cd3('0x4e4')],_0x24d63a['x']=_0x10be04+_0x3d1cf3[_0x1cd3('0x4e4')]*Math[_0x1cd3('0x2f75')](_0x32d2ab)/0x2);_0x37b4c6&&(_0x141ad9['x']>=_0x3d1cf3['x']&&_0x141ad9['x']<=_0x3d1cf3['x']+_0x3d1cf3[_0x1cd3('0x4d7')]?_0x24d63a['x']=_0x141ad9['x']:_0x141ad9['y']>=_0x3d1cf3['y']&&_0x141ad9['y']<=_0x3d1cf3['y']+_0x3d1cf3['height']&&(_0x24d63a['y']=_0x141ad9['y']),_0x141ad9['x']<_0x3d1cf3['x']?_0x24d63a['x']=_0x3d1cf3['x']:_0x141ad9['x']>_0x3d1cf3['x']+_0x3d1cf3[_0x1cd3('0x4d7')]&&(_0x24d63a['x']=_0x3d1cf3['x']+_0x3d1cf3[_0x1cd3('0x4d7')]),_0x141ad9['y']<_0x3d1cf3['y']?_0x24d63a['y']=_0x3d1cf3['y']:_0x141ad9['y']>_0x3d1cf3['y']+_0x3d1cf3['height']&&(_0x24d63a['y']=_0x3d1cf3['y']+_0x3d1cf3[_0x1cd3('0x4e4')]));return _0x24d63a;},'EllipsePerimeter':function(_0x268f3a,_0x1fcd34,_0x5de694,_0x2c68d6){var _0xe5bb82=_0x268f3a['x'],_0x13682b=_0x268f3a['y'],_0x4e48b3=_0x268f3a[_0x1cd3('0x4d7')]/0x2,_0x340c24=_0x268f3a[_0x1cd3('0x4e4')]/0x2,_0x302e1d=_0xe5bb82+_0x4e48b3,_0x523305=_0x13682b+_0x340c24;_0x1fcd34=_0x5de694['x'];_0x5de694=_0x5de694['y'];var _0x388aa2=parseInt(_0x1fcd34-_0x302e1d),_0x42c9d9=parseInt(_0x5de694-_0x523305);if(0x0==_0x388aa2&&0x0!=_0x42c9d9)return new mxPoint(_0x302e1d,_0x523305+_0x340c24*_0x42c9d9/Math['abs'](_0x42c9d9));if(0x0==_0x388aa2&&0x0==_0x42c9d9)return new mxPoint(_0x1fcd34,_0x5de694);if(_0x2c68d6){if(_0x5de694>=_0x13682b&&_0x5de694<=_0x13682b+_0x268f3a['height'])return _0x268f3a=_0x5de694-_0x523305,_0x268f3a=Math[_0x1cd3('0x2a4f')](_0x4e48b3*_0x4e48b3*(0x1-_0x268f3a*_0x268f3a/(_0x340c24*_0x340c24)))||0x0,_0x1fcd34<=_0xe5bb82&&(_0x268f3a=-_0x268f3a),new mxPoint(_0x302e1d+_0x268f3a,_0x5de694);if(_0x1fcd34>=_0xe5bb82&&_0x1fcd34<=_0xe5bb82+_0x268f3a['width'])return _0x268f3a=_0x1fcd34-_0x302e1d,_0x268f3a=Math[_0x1cd3('0x2a4f')](_0x340c24*_0x340c24*(0x1-_0x268f3a*_0x268f3a/(_0x4e48b3*_0x4e48b3)))||0x0,_0x5de694<=_0x13682b&&(_0x268f3a=-_0x268f3a),new mxPoint(_0x1fcd34,_0x523305+_0x268f3a);}_0xe5bb82=_0x42c9d9/_0x388aa2;_0x523305-=_0xe5bb82*_0x302e1d;_0x13682b=_0x4e48b3*_0x4e48b3*_0xe5bb82*_0xe5bb82+_0x340c24*_0x340c24;_0x268f3a=-0x2*_0x302e1d*_0x13682b;_0x340c24=Math[_0x1cd3('0x2a4f')](_0x268f3a*_0x268f3a-0x4*_0x13682b*(_0x4e48b3*_0x4e48b3*_0xe5bb82*_0xe5bb82*_0x302e1d*_0x302e1d+_0x340c24*_0x340c24*_0x302e1d*_0x302e1d-_0x4e48b3*_0x4e48b3*_0x340c24*_0x340c24));_0x4e48b3=(-_0x268f3a+_0x340c24)/(0x2*_0x13682b);_0x340c24=(-_0x268f3a-_0x340c24)/(0x2*_0x13682b);_0x302e1d=_0xe5bb82*_0x4e48b3+_0x523305;_0x523305=_0xe5bb82*_0x340c24+_0x523305;_0xe5bb82=Math['sqrt'](Math[_0x1cd3('0x18d2')](_0x4e48b3-_0x1fcd34,0x2)+Math[_0x1cd3('0x18d2')](_0x302e1d-_0x5de694,0x2));_0x1fcd34=Math['sqrt'](Math['pow'](_0x340c24-_0x1fcd34,0x2)+Math[_0x1cd3('0x18d2')](_0x523305-_0x5de694,0x2));_0x13682b=_0x5de694=0x0;_0xe5bb82<_0x1fcd34?(_0x5de694=_0x4e48b3,_0x13682b=_0x302e1d):(_0x5de694=_0x340c24,_0x13682b=_0x523305);return new mxPoint(_0x5de694,_0x13682b);},'RhombusPerimeter':function(_0x16430b,_0xe071d1,_0x16029d,_0x320372){_0xe071d1=_0x16430b['x'];var _0x4a9cc9=_0x16430b['y'],_0x4124ee=_0x16430b[_0x1cd3('0x4d7')];_0x16430b=_0x16430b[_0x1cd3('0x4e4')];var _0xea823d=_0xe071d1+_0x4124ee/0x2,_0x528321=_0x4a9cc9+_0x16430b/0x2,_0x14da3a=_0x16029d['x'];_0x16029d=_0x16029d['y'];if(_0xea823d==_0x14da3a)return _0x528321>_0x16029d?new mxPoint(_0xea823d,_0x4a9cc9):new mxPoint(_0xea823d,_0x4a9cc9+_0x16430b);if(_0x528321==_0x16029d)return _0xea823d>_0x14da3a?new mxPoint(_0xe071d1,_0x528321):new mxPoint(_0xe071d1+_0x4124ee,_0x528321);var _0x2df543=_0xea823d,_0x3e3d82=_0x528321;_0x320372&&(_0x14da3a>=_0xe071d1&&_0x14da3a<=_0xe071d1+_0x4124ee?_0x2df543=_0x14da3a:_0x16029d>=_0x4a9cc9&&_0x16029d<=_0x4a9cc9+_0x16430b&&(_0x3e3d82=_0x16029d));return _0x14da3a<_0xea823d?_0x16029d<_0x528321?mxUtils['intersection'](_0x14da3a,_0x16029d,_0x2df543,_0x3e3d82,_0xea823d,_0x4a9cc9,_0xe071d1,_0x528321):mxUtils[_0x1cd3('0x8e0')](_0x14da3a,_0x16029d,_0x2df543,_0x3e3d82,_0xea823d,_0x4a9cc9+_0x16430b,_0xe071d1,_0x528321):_0x16029d<_0x528321?mxUtils[_0x1cd3('0x8e0')](_0x14da3a,_0x16029d,_0x2df543,_0x3e3d82,_0xea823d,_0x4a9cc9,_0xe071d1+_0x4124ee,_0x528321):mxUtils[_0x1cd3('0x8e0')](_0x14da3a,_0x16029d,_0x2df543,_0x3e3d82,_0xea823d,_0x4a9cc9+_0x16430b,_0xe071d1+_0x4124ee,_0x528321);},'TrianglePerimeter':function(_0x19f3c5,_0x33d534,_0x285c27,_0x51cad4){_0x33d534=null!=_0x33d534?_0x33d534[_0x1cd3('0x440')][mxConstants[_0x1cd3('0x2daa')]]:null;var _0x957919=_0x33d534==mxConstants[_0x1cd3('0x2d11')]||_0x33d534==mxConstants['DIRECTION_SOUTH'],_0x8d0436=_0x19f3c5['x'],_0xb2007a=_0x19f3c5['y'],_0x1d8114=_0x19f3c5[_0x1cd3('0x4d7')];_0x19f3c5=_0x19f3c5[_0x1cd3('0x4e4')];var _0x15c8bd=_0x8d0436+_0x1d8114/0x2,_0x5af560=_0xb2007a+_0x19f3c5/0x2,_0x383733=new mxPoint(_0x8d0436,_0xb2007a),_0x5e20e7=new mxPoint(_0x8d0436+_0x1d8114,_0x5af560),_0x32449a=new mxPoint(_0x8d0436,_0xb2007a+_0x19f3c5);_0x33d534==mxConstants['DIRECTION_NORTH']?(_0x383733=_0x32449a,_0x5e20e7=new mxPoint(_0x15c8bd,_0xb2007a),_0x32449a=new mxPoint(_0x8d0436+_0x1d8114,_0xb2007a+_0x19f3c5)):_0x33d534==mxConstants[_0x1cd3('0x2a56')]?(_0x5e20e7=new mxPoint(_0x15c8bd,_0xb2007a+_0x19f3c5),_0x32449a=new mxPoint(_0x8d0436+_0x1d8114,_0xb2007a)):_0x33d534==mxConstants[_0x1cd3('0x2a55')]&&(_0x383733=new mxPoint(_0x8d0436+_0x1d8114,_0xb2007a),_0x5e20e7=new mxPoint(_0x8d0436,_0x5af560),_0x32449a=new mxPoint(_0x8d0436+_0x1d8114,_0xb2007a+_0x19f3c5));var _0xcbf44f=_0x285c27['x']-_0x15c8bd,_0x37c449=_0x285c27['y']-_0x5af560,_0xcbf44f=_0x957919?Math[_0x1cd3('0x2a50')](_0xcbf44f,_0x37c449):Math['atan2'](_0x37c449,_0xcbf44f),_0x40a5a3=_0x957919?Math['atan2'](_0x1d8114,_0x19f3c5):Math[_0x1cd3('0x2a50')](_0x19f3c5,_0x1d8114),_0x37c449=!0x1,_0x37c449=_0x33d534==mxConstants[_0x1cd3('0x2d11')]||_0x33d534==mxConstants['DIRECTION_WEST']?_0xcbf44f>-_0x40a5a3&&_0xcbf44f<_0x40a5a3:_0xcbf44f<-Math['PI']+_0x40a5a3||_0xcbf44f>Math['PI']-_0x40a5a3,_0x40a5a3=null;_0x37c449?_0x40a5a3=_0x51cad4&&(_0x957919&&_0x285c27['x']>=_0x383733['x']&&_0x285c27['x']<=_0x32449a['x']||!_0x957919&&_0x285c27['y']>=_0x383733['y']&&_0x285c27['y']<=_0x32449a['y'])?_0x957919?new mxPoint(_0x285c27['x'],_0x383733['y']):new mxPoint(_0x383733['x'],_0x285c27['y']):_0x33d534==mxConstants['DIRECTION_NORTH']?new mxPoint(_0x8d0436+_0x1d8114/0x2+_0x19f3c5*Math['tan'](_0xcbf44f)/0x2,_0xb2007a+_0x19f3c5):_0x33d534==mxConstants[_0x1cd3('0x2a56')]?new mxPoint(_0x8d0436+_0x1d8114/0x2-_0x19f3c5*Math[_0x1cd3('0x2f75')](_0xcbf44f)/0x2,_0xb2007a):_0x33d534==mxConstants['DIRECTION_WEST']?new mxPoint(_0x8d0436+_0x1d8114,_0xb2007a+_0x19f3c5/0x2+_0x1d8114*Math[_0x1cd3('0x2f75')](_0xcbf44f)/0x2):new mxPoint(_0x8d0436,_0xb2007a+_0x19f3c5/0x2-_0x1d8114*Math[_0x1cd3('0x2f75')](_0xcbf44f)/0x2):(_0x51cad4&&(_0x51cad4=new mxPoint(_0x15c8bd,_0x5af560),_0x285c27['y']>=_0xb2007a&&_0x285c27['y']<=_0xb2007a+_0x19f3c5?(_0x51cad4['x']=_0x957919?_0x15c8bd:_0x33d534==mxConstants[_0x1cd3('0x2a55')]?_0x8d0436+_0x1d8114:_0x8d0436,_0x51cad4['y']=_0x285c27['y']):_0x285c27['x']>=_0x8d0436&&_0x285c27['x']<=_0x8d0436+_0x1d8114&&(_0x51cad4['x']=_0x285c27['x'],_0x51cad4['y']=!_0x957919?_0x5af560:_0x33d534==mxConstants[_0x1cd3('0x2d11')]?_0xb2007a+_0x19f3c5:_0xb2007a),_0x15c8bd=_0x51cad4['x'],_0x5af560=_0x51cad4['y']),_0x40a5a3=_0x957919&&_0x285c27['x']<=_0x8d0436+_0x1d8114/0x2||!_0x957919&&_0x285c27['y']<=_0xb2007a+_0x19f3c5/0x2?mxUtils[_0x1cd3('0x8e0')](_0x285c27['x'],_0x285c27['y'],_0x15c8bd,_0x5af560,_0x383733['x'],_0x383733['y'],_0x5e20e7['x'],_0x5e20e7['y']):mxUtils[_0x1cd3('0x8e0')](_0x285c27['x'],_0x285c27['y'],_0x15c8bd,_0x5af560,_0x5e20e7['x'],_0x5e20e7['y'],_0x32449a['x'],_0x32449a['y']));null==_0x40a5a3&&(_0x40a5a3=new mxPoint(_0x15c8bd,_0x5af560));return _0x40a5a3;}};function mxPrintPreview(_0x395458,_0x57eef8,_0x2e741a,_0x114b3a,_0xc0f374,_0x2a0ec2,_0x1d868e,_0x33cc08,_0x148641){this[_0x1cd3('0x2c89')]=_0x395458;this[_0x1cd3('0x29df')]=null!=_0x57eef8?_0x57eef8:0x1/_0x395458[_0x1cd3('0x2f76')];this[_0x1cd3('0x2c6a')]=null!=_0x114b3a?_0x114b3a:0x0;this['pageFormat']=null!=_0x2e741a?_0x2e741a:_0x395458[_0x1cd3('0x2f77')];this[_0x1cd3('0x486')]=null!=_0x33cc08?_0x33cc08:_0x1cd3('0x2f78');this['x0']=null!=_0xc0f374?_0xc0f374:0x0;this['y0']=null!=_0x2a0ec2?_0x2a0ec2:0x0;this[_0x1cd3('0x2f79')]=_0x1d868e;this[_0x1cd3('0x2f7a')]=null!=_0x148641?_0x148641:!0x0;}mxPrintPreview[_0x1cd3('0x77a')]['graph']=null;mxPrintPreview['prototype']['pageFormat']=null;mxPrintPreview[_0x1cd3('0x77a')]['scale']=null;mxPrintPreview[_0x1cd3('0x77a')][_0x1cd3('0x2c6a')]=0x0;mxPrintPreview[_0x1cd3('0x77a')]['x0']=0x0;mxPrintPreview[_0x1cd3('0x77a')]['y0']=0x0;mxPrintPreview[_0x1cd3('0x77a')][_0x1cd3('0x2f7b')]=!0x0;mxPrintPreview[_0x1cd3('0x77a')][_0x1cd3('0x2f7c')]=!0x1;mxPrintPreview[_0x1cd3('0x77a')][_0x1cd3('0x2f79')]=null;mxPrintPreview['prototype'][_0x1cd3('0x486')]=null;mxPrintPreview[_0x1cd3('0x77a')][_0x1cd3('0x2f7a')]=null;mxPrintPreview['prototype']['wnd']=null;mxPrintPreview[_0x1cd3('0x77a')][_0x1cd3('0x2f7d')]=0x0;mxPrintPreview['prototype'][_0x1cd3('0x2f7e')]=function(){return this[_0x1cd3('0x2f7f')];};mxPrintPreview[_0x1cd3('0x77a')][_0x1cd3('0x2f80')]=function(){var _0x37ae='';0x8==document[_0x1cd3('0x2959')]&&(_0x37ae='<meta\x20http-equiv=\x22X-UA-Compatible\x22\x20content=\x22IE=8\x22>');return _0x37ae;};mxPrintPreview[_0x1cd3('0x77a')][_0x1cd3('0xee4')]=function(_0x573e67){var _0x598ada=this[_0x1cd3('0x2c89')]['cellRenderer']['initializeOverlay'],_0x3470fa=null;try{this['printOverlays']&&(this[_0x1cd3('0x2c89')]['cellRenderer'][_0x1cd3('0x2f81')]=function(_0x35a958,_0xc48d70){_0xc48d70[_0x1cd3('0xe08')](_0x35a958['view']['getDrawPane']());});if(null==this[_0x1cd3('0x2f7f')]){this['wnd']=window['open']();var _0x54a5a0=this[_0x1cd3('0x2f7f')][_0x1cd3('0x924')],_0x1e2817=this[_0x1cd3('0x2f80')]();null!=_0x1e2817&&0x0<_0x1e2817[_0x1cd3('0x7a')]&&_0x54a5a0['writeln'](_0x1e2817);_0x54a5a0[_0x1cd3('0x29bf')]('<html>');_0x54a5a0[_0x1cd3('0x29bf')](_0x1cd3('0x3f5'));this[_0x1cd3('0x2f82')](_0x54a5a0,_0x573e67);_0x54a5a0[_0x1cd3('0x29bf')](_0x1cd3('0x2a8f'));_0x54a5a0[_0x1cd3('0x29bf')](_0x1cd3('0x2f83'));mxClient[_0x1cd3('0x297b')]('stylesheet',mxClient[_0x1cd3('0x298b')]+'/css/common.css',_0x54a5a0);mxClient[_0x1cd3('0x2977')]&&(_0x54a5a0[_0x1cd3('0x2991')]['add']('v',_0x1cd3('0x2996')),_0x54a5a0[_0x1cd3('0x2991')][_0x1cd3('0x425')]('o',_0x1cd3('0x2994')),_0x54a5a0[_0x1cd3('0x2997')]()[_0x1cd3('0x2998')]=_0x1cd3('0x2f84'),mxClient[_0x1cd3('0x297b')](_0x1cd3('0x298f'),mxClient[_0x1cd3('0x298b')]+_0x1cd3('0x2999'),_0x54a5a0));var _0x3b59d4=this['graph'][_0x1cd3('0x2a84')]()[_0x1cd3('0x1141')](),_0x5545d1=this['graph']['getView']()[_0x1cd3('0x2a85')](),_0x538169=_0x5545d1/this[_0x1cd3('0x29df')],_0x5d5224=this['graph'][_0x1cd3('0x29de')]()['getTranslate']();this[_0x1cd3('0x2f7b')]||(this['x0']=-_0x5d5224['x']*this[_0x1cd3('0x29df')],this['y0']=-_0x5d5224['y']*this[_0x1cd3('0x29df')],_0x3b59d4[_0x1cd3('0x4d7')]+=_0x3b59d4['x'],_0x3b59d4[_0x1cd3('0x4e4')]+=_0x3b59d4['y'],_0x3b59d4['x']=0x0,this[_0x1cd3('0x2c6a')]=_0x3b59d4['y']=0x0);_0x3b59d4[_0x1cd3('0x4d7')]/=_0x538169;_0x3b59d4['height']/=_0x538169;var _0x483a86=this[_0x1cd3('0x2f77')]['width']-0x2*this[_0x1cd3('0x2c6a')],_0x34d58b=this['pageFormat'][_0x1cd3('0x4e4')]-0x2*this[_0x1cd3('0x2c6a')],_0x6cca50=Math['max'](0x1,Math[_0x1cd3('0x2928')]((_0x3b59d4[_0x1cd3('0x4d7')]+this['x0'])/_0x483a86)),_0x461ee8=Math[_0x1cd3('0x13d1')](0x1,Math[_0x1cd3('0x2928')]((_0x3b59d4['height']+this['y0'])/_0x34d58b));this[_0x1cd3('0x2f7d')]=_0x6cca50*_0x461ee8;var _0x25e60c=mxUtils[_0x1cd3('0x5b2')](this,function(){if(this[_0x1cd3('0x2f7a')]&&(0x1<_0x461ee8||0x1<_0x6cca50)){var _0x573e67=this['createPageSelector'](_0x461ee8,_0x6cca50);_0x54a5a0[_0x1cd3('0x380')][_0x1cd3('0xd4e')](_0x573e67);if(mxClient['IS_IE']){_0x573e67[_0x1cd3('0x440')][_0x1cd3('0x679')]=_0x1cd3('0x532');var _0x204c72=function(){_0x573e67[_0x1cd3('0x440')][_0x1cd3('0x712')]=_0x54a5a0[_0x1cd3('0x380')]['scrollTop']+0xa+'px';};mxEvent[_0x1cd3('0x29ba')](this[_0x1cd3('0x2f7f')],'scroll',function(_0x138cc9){_0x204c72();});mxEvent[_0x1cd3('0x29ba')](this[_0x1cd3('0x2f7f')],'resize',function(_0x3460c9){_0x204c72();});}}});_0x573e67=function(_0x59c9f9,_0x218ae8){null!=this[_0x1cd3('0x2f79')]&&(_0x59c9f9[_0x1cd3('0x440')]['borderColor']=this['borderColor'],_0x59c9f9[_0x1cd3('0x440')]['borderStyle']='solid',_0x59c9f9[_0x1cd3('0x440')][_0x1cd3('0x2e0a')]=_0x1cd3('0x2bc0'));_0x59c9f9[_0x1cd3('0x440')][_0x1cd3('0x2e17')]=_0x1cd3('0x2d29');_0x218ae8&&(_0x59c9f9[_0x1cd3('0x440')]['pageBreakAfter']=_0x1cd3('0x1213'));mxClient[_0x1cd3('0x298a')]?(_0x54a5a0[_0x1cd3('0x29bf')](_0x59c9f9['outerHTML']),_0x59c9f9['parentNode']['removeChild'](_0x59c9f9)):(_0x59c9f9[_0x1cd3('0x29ea')][_0x1cd3('0x1817')](_0x59c9f9),_0x54a5a0['body']['appendChild'](_0x59c9f9));if(_0x218ae8){var _0x7a55=_0x54a5a0['createElement']('hr');_0x7a55[_0x1cd3('0x45d')]=_0x1cd3('0x2f85');_0x54a5a0[_0x1cd3('0x380')]['appendChild'](_0x7a55);}};var _0x1aff9d=this[_0x1cd3('0x2f86')](this[_0x1cd3('0x2f77')][_0x1cd3('0x4d7')],this[_0x1cd3('0x2f77')]['height']);if(null!=_0x1aff9d)for(var _0x1c17e9=0x0;_0x1c17e9<_0x1aff9d[_0x1cd3('0x7a')];_0x1c17e9++)_0x573e67(_0x1aff9d[_0x1c17e9],!0x0);for(var _0x32a087=this[_0x1cd3('0x2f87')](this[_0x1cd3('0x2f77')][_0x1cd3('0x4d7')],this[_0x1cd3('0x2f77')][_0x1cd3('0x4e4')]),_0x1c17e9=0x0;_0x1c17e9<_0x461ee8;_0x1c17e9++)for(var _0x34e7ad=_0x1c17e9*_0x34d58b/this[_0x1cd3('0x29df')]-this['y0']/this['scale']+(_0x3b59d4['y']-_0x5d5224['y']*_0x5545d1)/_0x5545d1,_0x1aff9d=0x0;_0x1aff9d<_0x6cca50;_0x1aff9d++){if(null==this[_0x1cd3('0x2f7f')])return null;var _0x5b532d=_0x1aff9d*_0x483a86/this[_0x1cd3('0x29df')]-this['x0']/this[_0x1cd3('0x29df')]+(_0x3b59d4['x']-_0x5d5224['x']*_0x5545d1)/_0x5545d1,_0x5e5271=_0x1c17e9*_0x6cca50+_0x1aff9d+0x1,_0x3470fa=this[_0x1cd3('0x2f88')](this[_0x1cd3('0x2f77')][_0x1cd3('0x4d7')],this[_0x1cd3('0x2f77')][_0x1cd3('0x4e4')],mxUtils[_0x1cd3('0x5b2')](this,function(_0x54118f){this[_0x1cd3('0x2f89')](-_0x5b532d,-_0x34e7ad,this[_0x1cd3('0x29df')],_0x5e5271,_0x54118f);}));_0x3470fa[_0x1cd3('0x481')]('id',_0x1cd3('0x2f8a')+_0x5e5271);_0x573e67(_0x3470fa,null!=_0x32a087||_0x1c17e9<_0x461ee8-0x1||_0x1aff9d<_0x6cca50-0x1);}if(null!=_0x32a087)for(_0x1c17e9=0x0;_0x1c17e9<_0x32a087['length'];_0x1c17e9++)_0x573e67(_0x32a087[_0x1c17e9],_0x1c17e9<_0x32a087[_0x1cd3('0x7a')]);_0x54a5a0['writeln']('</body>');_0x54a5a0['writeln'](_0x1cd3('0x2a90'));_0x54a5a0[_0x1cd3('0x3cf')]();_0x25e60c();mxEvent[_0x1cd3('0x2bd2')](_0x54a5a0[_0x1cd3('0x380')]);}this[_0x1cd3('0x2f7f')][_0x1cd3('0x15e4')]();}catch(_0x3ed239){null!=_0x3470fa&&null!=_0x3470fa[_0x1cd3('0x29ea')]&&_0x3470fa[_0x1cd3('0x29ea')]['removeChild'](_0x3470fa);}finally{this[_0x1cd3('0x2c89')][_0x1cd3('0x29e2')][_0x1cd3('0x2f81')]=_0x598ada;}return this[_0x1cd3('0x2f7f')];};mxPrintPreview[_0x1cd3('0x77a')]['writeHead']=function(_0x4ecef0,_0x1f799c){null!=this[_0x1cd3('0x486')]&&_0x4ecef0[_0x1cd3('0x29bf')](_0x1cd3('0x2f8b')+this[_0x1cd3('0x486')]+'');_0x4ecef0[_0x1cd3('0x29bf')]('');_0x4ecef0[_0x1cd3('0x29bf')](_0x1cd3('0x2f8c'));_0x4ecef0[_0x1cd3('0x29bf')]('\x20\x20table.mxPageSelector\x20{\x20display:\x20none;\x20}');_0x4ecef0[_0x1cd3('0x29bf')](_0x1cd3('0x2f8d'));_0x4ecef0[_0x1cd3('0x29bf')]('}');_0x4ecef0['writeln']('@media\x20screen\x20{');_0x4ecef0['writeln'](_0x1cd3('0x2f8e'));_0x4ecef0[_0x1cd3('0x29bf')](_0x1cd3('0x2f8f'));_0x4ecef0[_0x1cd3('0x29bf')](_0x1cd3('0x2f90'));_0x4ecef0['writeln']('}');null!=_0x1f799c&&_0x4ecef0['writeln'](_0x1f799c);_0x4ecef0[_0x1cd3('0x29bf')]('');};mxPrintPreview['prototype'][_0x1cd3('0x2f91')]=function(_0x4eb2fa,_0x3ca4ba){var _0x2491c5=this[_0x1cd3('0x2f7f')][_0x1cd3('0x924')],_0xa70add=_0x2491c5[_0x1cd3('0x3aa')](_0x1cd3('0xd45'));_0xa70add[_0x1cd3('0x45d')]=_0x1cd3('0x2f92');_0xa70add['setAttribute'](_0x1cd3('0x2c6a'),'0');for(var _0x21bd75=_0x2491c5[_0x1cd3('0x3aa')](_0x1cd3('0x29a2')),_0x37bb96=0x0;_0x37bb96<_0x4eb2fa;_0x37bb96++){for(var _0x398d2d=_0x2491c5['createElement']('tr'),_0x15108b=0x0;_0x15108b<_0x3ca4ba;_0x15108b++){var _0x4ab8a1=_0x37bb96*_0x3ca4ba+_0x15108b+0x1,_0x26f7df=_0x2491c5[_0x1cd3('0x3aa')]('td');if(!mxClient[_0x1cd3('0x29a5')]||mxClient['IS_SF']||mxClient['IS_GC']){var _0x1bbd0f=_0x2491c5[_0x1cd3('0x3aa')]('a');_0x1bbd0f[_0x1cd3('0x481')](_0x1cd3('0x3ab'),_0x1cd3('0x2f93')+_0x4ab8a1);mxUtils[_0x1cd3('0x28be')](_0x1bbd0f,_0x4ab8a1,_0x2491c5);_0x26f7df['appendChild'](_0x1bbd0f);}else mxUtils['write'](_0x26f7df,_0x4ab8a1,_0x2491c5);_0x398d2d[_0x1cd3('0xd4e')](_0x26f7df);}_0x21bd75[_0x1cd3('0xd4e')](_0x398d2d);}_0xa70add[_0x1cd3('0xd4e')](_0x21bd75);return _0xa70add;};mxPrintPreview[_0x1cd3('0x77a')][_0x1cd3('0x2f88')]=function(_0x111f29,_0xe1a513,_0x3d8686){var _0x3cb349=document[_0x1cd3('0x3aa')](_0x1cd3('0x2a72'));try{_0x3cb349[_0x1cd3('0x440')][_0x1cd3('0x4d7')]=_0x111f29+'px';_0x3cb349[_0x1cd3('0x440')][_0x1cd3('0x4e4')]=_0xe1a513+'px';_0x3cb349['style'][_0x1cd3('0x29f1')]='hidden';_0x3cb349['style']['pageBreakInside']=_0x1cd3('0x2ec6');_0x3cb349['style']['position']=_0x1cd3('0x2d83');var _0x165b82=document[_0x1cd3('0x3aa')](_0x1cd3('0x2a72'));_0x165b82['style'][_0x1cd3('0x712')]=this[_0x1cd3('0x2c6a')]+'px';_0x165b82[_0x1cd3('0x440')][_0x1cd3('0x762')]=this[_0x1cd3('0x2c6a')]+'px';_0x165b82['style'][_0x1cd3('0x4d7')]=_0x111f29-0x2*this[_0x1cd3('0x2c6a')]+'px';_0x165b82[_0x1cd3('0x440')][_0x1cd3('0x4e4')]=_0xe1a513-0x2*this[_0x1cd3('0x2c6a')]+'px';_0x165b82['style']['overflow']=_0x1cd3('0x533');this[_0x1cd3('0x2c89')][_0x1cd3('0x2d98')]==mxConstants[_0x1cd3('0x2d99')]&&(_0x165b82['style'][_0x1cd3('0x679')]=_0x1cd3('0x532'));_0x3cb349['appendChild'](_0x165b82);document['body']['appendChild'](_0x3cb349);_0x3d8686(_0x165b82);}catch(_0x1bdc9e){throw _0x3cb349[_0x1cd3('0x29ea')][_0x1cd3('0x1817')](_0x3cb349),_0x1bdc9e;}return _0x3cb349;};mxPrintPreview[_0x1cd3('0x77a')]['addGraphFragment']=function(_0x185706,_0x73e8f9,_0x973d58,_0x5b7df7,_0xd45b1e){_0x5b7df7=this[_0x1cd3('0x2c89')]['getView']();var _0x1a05cf=this['graph'][_0x1cd3('0x4ce')];this[_0x1cd3('0x2c89')][_0x1cd3('0x4ce')]=_0xd45b1e;var _0xf38e9=_0x5b7df7[_0x1cd3('0x2f94')](),_0x5f5645=_0x5b7df7[_0x1cd3('0x2f95')](),_0x22efac=_0x5b7df7['getDrawPane'](),_0x433904=_0x5b7df7[_0x1cd3('0x2d9b')]();this['graph'][_0x1cd3('0x2d98')]==mxConstants[_0x1cd3('0x2a7c')]?_0x5b7df7[_0x1cd3('0x2dc1')]():this[_0x1cd3('0x2c89')]['dialect']==mxConstants['DIALECT_VML']?_0x5b7df7[_0x1cd3('0x2dc3')]():_0x5b7df7[_0x1cd3('0x2dc2')]();var _0x533059=_0x5b7df7[_0x1cd3('0x2a79')]();_0x5b7df7[_0x1cd3('0x2a7a')](!0x1);var _0x53bc6e=this[_0x1cd3('0x2c89')][_0x1cd3('0x2c76')]();this['graph'][_0x1cd3('0x2bee')](!0x1);var _0x2b9151=_0x5b7df7['getTranslate']();_0x5b7df7['translate']=new mxPoint(_0x185706,_0x73e8f9);_0x185706=null;try{var _0x488d65=[this['graph'][_0x1cd3('0x2a77')]()['getRoot']()];_0x185706=new mxTemporaryCellStates(_0x5b7df7,_0x973d58,_0x488d65);}finally{if(mxClient[_0x1cd3('0x298a')])_0x5b7df7[_0x1cd3('0x2a81')][_0x1cd3('0x2a15')]='';else for(_0x973d58=_0xd45b1e['firstChild'];null!=_0x973d58;)_0x488d65=_0x973d58[_0x1cd3('0x29f7')],_0x73e8f9=_0x973d58['nodeName'][_0x1cd3('0x433')](),'svg'==_0x73e8f9?(_0x973d58[_0x1cd3('0x481')]('width',parseInt(_0xd45b1e[_0x1cd3('0x440')]['width'])),_0x973d58['setAttribute']('height',parseInt(_0xd45b1e['style'][_0x1cd3('0x4e4')]))):_0x1cd3('0x5bd')!=_0x973d58[_0x1cd3('0x440')][_0x1cd3('0x29ec')]&&_0x1cd3('0xd45')!=_0x73e8f9&&_0x973d58[_0x1cd3('0x29ea')]['removeChild'](_0x973d58),_0x973d58=_0x488d65;_0x5b7df7[_0x1cd3('0x2a81')][_0x1cd3('0x29ea')]['removeChild'](_0x5b7df7[_0x1cd3('0x2a81')]);this['graph']['setEnabled'](_0x53bc6e);this[_0x1cd3('0x2c89')][_0x1cd3('0x4ce')]=_0x1a05cf;_0x5b7df7[_0x1cd3('0x2a7e')]=_0xf38e9;_0x5b7df7[_0x1cd3('0x2f96')]=_0x5f5645;_0x5b7df7['drawPane']=_0x22efac;_0x5b7df7[_0x1cd3('0x2a81')]=_0x433904;_0x5b7df7[_0x1cd3('0x43c')]=_0x2b9151;_0x185706[_0x1cd3('0x2bcb')]();_0x5b7df7[_0x1cd3('0x2a7a')](_0x533059);}};mxPrintPreview[_0x1cd3('0x77a')][_0x1cd3('0x2f86')]=function(){return null;};mxPrintPreview[_0x1cd3('0x77a')][_0x1cd3('0x2f87')]=function(){return null;};mxPrintPreview[_0x1cd3('0x77a')][_0x1cd3('0x2a93')]=function(){var _0x39a817=this[_0x1cd3('0xee4')]();null!=_0x39a817&&_0x39a817[_0x1cd3('0x2a93')]();};mxPrintPreview[_0x1cd3('0x77a')][_0x1cd3('0x3cf')]=function(){null!=this[_0x1cd3('0x2f7f')]&&(this[_0x1cd3('0x2f7f')]['close'](),this[_0x1cd3('0x2f7f')]=null);};function mxStylesheet(){this['styles']={};this['putDefaultVertexStyle'](this[_0x1cd3('0x2f97')]());this['putDefaultEdgeStyle'](this[_0x1cd3('0x2f98')]());}mxStylesheet[_0x1cd3('0x77a')][_0x1cd3('0x2f97')]=function(){var _0x13c1af={};_0x13c1af[mxConstants[_0x1cd3('0x2f99')]]=mxConstants['SHAPE_RECTANGLE'];_0x13c1af[mxConstants['STYLE_PERIMETER']]=mxPerimeter[_0x1cd3('0x2f9a')];_0x13c1af[mxConstants[_0x1cd3('0x2f9b')]]=mxConstants[_0x1cd3('0x2d56')];_0x13c1af[mxConstants['STYLE_ALIGN']]=mxConstants['ALIGN_CENTER'];_0x13c1af[mxConstants[_0x1cd3('0x2de5')]]=_0x1cd3('0x2f9c');_0x13c1af[mxConstants[_0x1cd3('0x2de8')]]=_0x1cd3('0x2f9d');_0x13c1af[mxConstants['STYLE_FONTCOLOR']]=_0x1cd3('0x2f9e');return _0x13c1af;};mxStylesheet['prototype'][_0x1cd3('0x2f98')]=function(){var _0x41318c={};_0x41318c[mxConstants[_0x1cd3('0x2f99')]]=mxConstants[_0x1cd3('0x2f9f')];_0x41318c[mxConstants[_0x1cd3('0x2deb')]]=mxConstants[_0x1cd3('0x2e00')];_0x41318c[mxConstants['STYLE_VERTICAL_ALIGN']]=mxConstants[_0x1cd3('0x2d56')];_0x41318c[mxConstants[_0x1cd3('0x2fa0')]]=mxConstants[_0x1cd3('0x2d3f')];_0x41318c[mxConstants['STYLE_STROKECOLOR']]=_0x1cd3('0x2f9d');_0x41318c[mxConstants[_0x1cd3('0x2fa1')]]=_0x1cd3('0x2fa2');return _0x41318c;};mxStylesheet[_0x1cd3('0x77a')][_0x1cd3('0x2fa3')]=function(_0x366799){this['putCellStyle'](_0x1cd3('0x2fa4'),_0x366799);};mxStylesheet[_0x1cd3('0x77a')][_0x1cd3('0x2fa5')]=function(_0x309c76){this[_0x1cd3('0x2fa6')]('defaultEdge',_0x309c76);};mxStylesheet['prototype'][_0x1cd3('0x2fa7')]=function(){return this[_0x1cd3('0x1839')][_0x1cd3('0x2fa4')];};mxStylesheet[_0x1cd3('0x77a')][_0x1cd3('0x2fa8')]=function(){return this[_0x1cd3('0x1839')][_0x1cd3('0x2fa9')];};mxStylesheet[_0x1cd3('0x77a')][_0x1cd3('0x2fa6')]=function(_0x5c3592,_0x361ae9){this[_0x1cd3('0x1839')][_0x5c3592]=_0x361ae9;};mxStylesheet['prototype'][_0x1cd3('0x2e7a')]=function(_0x37d66b,_0x137b70){var _0x374ebf=_0x137b70;if(null!=_0x37d66b&&0x0<_0x37d66b[_0x1cd3('0x7a')])for(var _0x582a86=_0x37d66b[_0x1cd3('0x3ef')](';'),_0x374ebf=null!=_0x374ebf&&';'!=_0x37d66b['charAt'](0x0)?mxUtils[_0x1cd3('0x1141')](_0x374ebf):{},_0x31ef3e=0x0;_0x31ef3e<_0x582a86['length'];_0x31ef3e++){var _0x515bfd=_0x582a86[_0x31ef3e],_0x13e849=_0x515bfd[_0x1cd3('0x45e')]('=');if(0x0<=_0x13e849){var _0x216b0a=_0x515bfd[_0x1cd3('0x922')](0x0,_0x13e849),_0x515bfd=_0x515bfd[_0x1cd3('0x922')](_0x13e849+0x1);_0x515bfd==mxConstants['NONE']?delete _0x374ebf[_0x216b0a]:mxUtils[_0x1cd3('0x2f3d')](_0x515bfd)?_0x374ebf[_0x216b0a]=parseFloat(_0x515bfd):_0x374ebf[_0x216b0a]=_0x515bfd;}else if(_0x515bfd=this[_0x1cd3('0x1839')][_0x515bfd],null!=_0x515bfd)for(_0x216b0a in _0x515bfd)_0x374ebf[_0x216b0a]=_0x515bfd[_0x216b0a];}return _0x374ebf;};function mxCellState(_0x4e98e6,_0x13da60,_0x34f6fc){this[_0x1cd3('0x1665')]=_0x4e98e6;this[_0x1cd3('0xefb')]=_0x13da60;this[_0x1cd3('0x440')]=_0x34f6fc;this['origin']=new mxPoint();this[_0x1cd3('0x2faa')]=new mxPoint();}mxCellState[_0x1cd3('0x77a')]=new mxRectangle();mxCellState[_0x1cd3('0x77a')]['constructor']=mxCellState;mxCellState['prototype'][_0x1cd3('0x1665')]=null;mxCellState['prototype']['cell']=null;mxCellState['prototype'][_0x1cd3('0x440')]=null;mxCellState['prototype']['invalid']=!0x0;mxCellState[_0x1cd3('0x77a')]['invalidOrder']=!0x1;mxCellState['prototype'][_0x1cd3('0x2fab')]=!0x1;mxCellState['prototype'][_0x1cd3('0x2fac')]=null;mxCellState[_0x1cd3('0x77a')][_0x1cd3('0x2a59')]=null;mxCellState[_0x1cd3('0x77a')][_0x1cd3('0x2faa')]=null;mxCellState[_0x1cd3('0x77a')][_0x1cd3('0x2fad')]=null;mxCellState[_0x1cd3('0x77a')][_0x1cd3('0x2fae')]=null;mxCellState['prototype'][_0x1cd3('0x2faf')]=0x0;mxCellState[_0x1cd3('0x77a')][_0x1cd3('0x7a')]=0x0;mxCellState[_0x1cd3('0x77a')][_0x1cd3('0x2fb0')]=null;mxCellState[_0x1cd3('0x77a')][_0x1cd3('0x29dd')]=null;mxCellState['prototype'][_0x1cd3('0x401')]=null;mxCellState[_0x1cd3('0x77a')][_0x1cd3('0x2fb1')]=function(_0x524a33,_0x55bd75){_0x524a33=_0x524a33||0x0;_0x55bd75=null!=_0x55bd75?_0x55bd75:new mxRectangle(this['x'],this['y'],this[_0x1cd3('0x4d7')],this[_0x1cd3('0x4e4')]);if(null!=this[_0x1cd3('0x29dd')]&&null!=this[_0x1cd3('0x29dd')][_0x1cd3('0x2dbb')]){var _0x5a567d=this['shape'][_0x1cd3('0x2dbb')][_0x1cd3('0x2fb2')](this[_0x1cd3('0x440')],_0x55bd75['x'],_0x55bd75['y'],_0x55bd75[_0x1cd3('0x4d7')],_0x55bd75[_0x1cd3('0x4e4')]);_0x55bd75['x']=_0x5a567d['x'];_0x55bd75['y']=_0x5a567d['y'];_0x55bd75[_0x1cd3('0x4d7')]=this[_0x1cd3('0x29dd')][_0x1cd3('0x2dbb')]['w0']*_0x5a567d[_0x1cd3('0x4d7')];_0x55bd75['height']=this[_0x1cd3('0x29dd')][_0x1cd3('0x2dbb')]['h0']*_0x5a567d[_0x1cd3('0x4e4')];}0x0!=_0x524a33&&_0x55bd75[_0x1cd3('0x29d7')](_0x524a33);return _0x55bd75;};mxCellState[_0x1cd3('0x77a')][_0x1cd3('0x2fb3')]=function(_0x3010d7,_0x3307e2){_0x3307e2?(null==this[_0x1cd3('0x2a59')]&&(this[_0x1cd3('0x2a59')]=[]),0x0==this[_0x1cd3('0x2a59')][_0x1cd3('0x7a')]?this[_0x1cd3('0x2a59')][_0x1cd3('0x7b')](_0x3010d7):this[_0x1cd3('0x2a59')][0x0]=_0x3010d7):null==this[_0x1cd3('0x2a59')]?(this['absolutePoints']=[],this[_0x1cd3('0x2a59')][_0x1cd3('0x7b')](null),this[_0x1cd3('0x2a59')][_0x1cd3('0x7b')](_0x3010d7)):0x1==this[_0x1cd3('0x2a59')]['length']?this[_0x1cd3('0x2a59')][_0x1cd3('0x7b')](_0x3010d7):this[_0x1cd3('0x2a59')][this['absolutePoints'][_0x1cd3('0x7a')]-0x1]=_0x3010d7;};mxCellState['prototype']['setCursor']=function(_0x18f429){null!=this[_0x1cd3('0x29dd')]&&this[_0x1cd3('0x29dd')][_0x1cd3('0x2df2')](_0x18f429);null!=this[_0x1cd3('0x401')]&&this[_0x1cd3('0x401')][_0x1cd3('0x2df2')](_0x18f429);};mxCellState[_0x1cd3('0x77a')]['getVisibleTerminal']=function(_0x2fab07){_0x2fab07=this[_0x1cd3('0x2fb4')](_0x2fab07);return null!=_0x2fab07?_0x2fab07[_0x1cd3('0xefb')]:null;};mxCellState['prototype'][_0x1cd3('0x2fb4')]=function(_0x27c8c2){return _0x27c8c2?this[_0x1cd3('0x2fad')]:this[_0x1cd3('0x2fae')];};mxCellState[_0x1cd3('0x77a')][_0x1cd3('0x2fb5')]=function(_0xc1dcbf,_0x3858a1){_0x3858a1?this[_0x1cd3('0x2fad')]=_0xc1dcbf:this['visibleTargetState']=_0xc1dcbf;};mxCellState[_0x1cd3('0x77a')][_0x1cd3('0x2bcb')]=function(){this['view'][_0x1cd3('0x2c89')][_0x1cd3('0x29e2')][_0x1cd3('0x2bcb')](this);};mxCellState[_0x1cd3('0x77a')]['clone']=function(){var _0x3e7cec=new mxCellState(this[_0x1cd3('0x1665')],this[_0x1cd3('0xefb')],this['style']);if(null!=this['absolutePoints']){_0x3e7cec[_0x1cd3('0x2a59')]=[];for(var _0x2dca40=0x0;_0x2dca40=_0x5023ef['x']:null!=_0x47468e&&(_0x84095c=_0x47468e['x']+_0x47468e[_0x1cd3('0x4d7')]<_0x4f2e59['x']));}else return;_0x5023ef=!0x0;null!=_0x3a3d58?(_0x47468e=new mxCellState(),_0x47468e['x']=_0x3a3d58['x'],_0x47468e['y']=_0x3a3d58['y']):null!=_0x47468e&&(_0x2501db=mxUtils['getPortConstraints'](_0x47468e,_0x2bee64,!0x1,mxConstants[_0x1cd3('0x2a54')]),_0x2501db!=mxConstants[_0x1cd3('0x2a54')]?_0x5023ef=_0x2501db==mxConstants[_0x1cd3('0x303a')]:(_0x2bee64=_0x252ed1['getCellGeometry'](_0x47468e['cell']),_0x2bee64[_0x1cd3('0x2d83')]?_0x5023ef=0.5>=_0x2bee64['x']:null!=_0x4f2e59&&(_0x5023ef=_0x4f2e59['x']+_0x4f2e59[_0x1cd3('0x4d7')]<_0x47468e['x'])));null!=_0x4f2e59&&null!=_0x47468e&&(_0x2bee64=_0x84095c?_0x4f2e59['x']:_0x4f2e59['x']+_0x4f2e59[_0x1cd3('0x4d7')],_0x4f2e59=_0x1f5ab3[_0x1cd3('0x303b')](_0x4f2e59),_0x252ed1=_0x5023ef?_0x47468e['x']:_0x47468e['x']+_0x47468e[_0x1cd3('0x4d7')],_0x47468e=_0x1f5ab3[_0x1cd3('0x303b')](_0x47468e),_0x1f5ab3=new mxPoint(_0x2bee64+(_0x84095c?-_0x37a01c:_0x37a01c),_0x4f2e59),_0x3a3d58=new mxPoint(_0x252ed1+(_0x5023ef?-_0x37a01c:_0x37a01c),_0x47468e),_0x84095c==_0x5023ef?(_0x37a01c=_0x84095c?Math[_0x1cd3('0x4e3')](_0x2bee64,_0x252ed1)-_0x37a01c:Math['max'](_0x2bee64,_0x252ed1)+_0x37a01c,_0x59e000[_0x1cd3('0x7b')](new mxPoint(_0x37a01c,_0x4f2e59)),_0x59e000[_0x1cd3('0x7b')](new mxPoint(_0x37a01c,_0x47468e))):(_0x1f5ab3['x']<_0x3a3d58['x']==_0x84095c?(_0x37a01c=_0x4f2e59+(_0x47468e-_0x4f2e59)/0x2,_0x59e000[_0x1cd3('0x7b')](_0x1f5ab3),_0x59e000[_0x1cd3('0x7b')](new mxPoint(_0x1f5ab3['x'],_0x37a01c)),_0x59e000[_0x1cd3('0x7b')](new mxPoint(_0x3a3d58['x'],_0x37a01c))):_0x59e000['push'](_0x1f5ab3),_0x59e000[_0x1cd3('0x7b')](_0x3a3d58)));},'Loop':function(_0x133dbf,_0x568a14,_0x36d534,_0x16a0d4,_0x22f28e){if(null!=_0x568a14){_0x36d534=_0x133dbf['view'];var _0x1d67a8=_0x36d534[_0x1cd3('0x2c89')];_0x16a0d4=null!=_0x16a0d4&&0x0<_0x16a0d4[_0x1cd3('0x7a')]?_0x16a0d4[0x0]:null;null!=_0x16a0d4&&(_0x16a0d4=_0x36d534[_0x1cd3('0x303c')](_0x133dbf,_0x16a0d4),mxUtils[_0x1cd3('0x2a5e')](_0x568a14,_0x16a0d4['x'],_0x16a0d4['y'])&&(_0x16a0d4=null));var _0x25c9e8=0x0,_0x55faf0=0x0,_0x1c5fea=0x0,_0x1ca4af=0x0,_0x1d67a8=mxUtils[_0x1cd3('0x2a5a')](_0x133dbf['style'],mxConstants[_0x1cd3('0x3038')],_0x1d67a8[_0x1cd3('0x2c06')])*_0x36d534['scale'];_0x133dbf=mxUtils['getValue'](_0x133dbf[_0x1cd3('0x440')],mxConstants[_0x1cd3('0x2daa')],mxConstants[_0x1cd3('0x2a55')]);_0x133dbf==mxConstants[_0x1cd3('0x2d11')]||_0x133dbf==mxConstants[_0x1cd3('0x2a56')]?(_0x25c9e8=_0x36d534['getRoutingCenterX'](_0x568a14),_0x55faf0=_0x1d67a8):(_0x1c5fea=_0x36d534['getRoutingCenterY'](_0x568a14),_0x1ca4af=_0x1d67a8);null==_0x16a0d4||_0x16a0d4['x']<_0x568a14['x']||_0x16a0d4['x']>_0x568a14['x']+_0x568a14[_0x1cd3('0x4d7')]?null!=_0x16a0d4?(_0x25c9e8=_0x16a0d4['x'],_0x1ca4af=Math[_0x1cd3('0x13d1')](Math[_0x1cd3('0x2a4c')](_0x1c5fea-_0x16a0d4['y']),_0x1ca4af)):_0x133dbf==mxConstants[_0x1cd3('0x2d11')]?_0x1c5fea=_0x568a14['y']-0x2*_0x55faf0:_0x133dbf==mxConstants[_0x1cd3('0x2a56')]?_0x1c5fea=_0x568a14['y']+_0x568a14[_0x1cd3('0x4e4')]+0x2*_0x55faf0:_0x25c9e8=_0x133dbf==mxConstants[_0x1cd3('0x2a58')]?_0x568a14['x']-0x2*_0x1ca4af:_0x568a14['x']+_0x568a14['width']+0x2*_0x1ca4af:null!=_0x16a0d4&&(_0x25c9e8=_0x36d534[_0x1cd3('0x303d')](_0x568a14),_0x55faf0=Math['max'](Math[_0x1cd3('0x2a4c')](_0x25c9e8-_0x16a0d4['x']),_0x1ca4af),_0x1c5fea=_0x16a0d4['y'],_0x1ca4af=0x0);_0x22f28e['push'](new mxPoint(_0x25c9e8-_0x55faf0,_0x1c5fea-_0x1ca4af));_0x22f28e['push'](new mxPoint(_0x25c9e8+_0x55faf0,_0x1c5fea+_0x1ca4af));}},'ElbowConnector':function(_0x43c942,_0x44caa1,_0x3d6dd8,_0x55fd02,_0x543d10){var _0x21b0bc=null!=_0x55fd02&&0x0<_0x55fd02[_0x1cd3('0x7a')]?_0x55fd02[0x0]:null,_0x26507d=!0x1,_0x3efdd2=!0x1;if(null!=_0x44caa1&&null!=_0x3d6dd8)if(null!=_0x21b0bc)var _0x339e40=Math[_0x1cd3('0x4e3')](_0x44caa1['x'],_0x3d6dd8['x']),_0x5f445d=Math['max'](_0x44caa1['x']+_0x44caa1['width'],_0x3d6dd8['x']+_0x3d6dd8[_0x1cd3('0x4d7')]),_0x3efdd2=Math[_0x1cd3('0x4e3')](_0x44caa1['y'],_0x3d6dd8['y']),_0x2e8ca3=Math[_0x1cd3('0x13d1')](_0x44caa1['y']+_0x44caa1[_0x1cd3('0x4e4')],_0x3d6dd8['y']+_0x3d6dd8['height']),_0x21b0bc=_0x43c942['view'][_0x1cd3('0x303c')](_0x43c942,_0x21b0bc),_0x26507d=_0x21b0bc['y']<_0x3efdd2||_0x21b0bc['y']>_0x2e8ca3,_0x3efdd2=_0x21b0bc['x']<_0x339e40||_0x21b0bc['x']>_0x5f445d;else _0x339e40=Math[_0x1cd3('0x13d1')](_0x44caa1['x'],_0x3d6dd8['x']),_0x5f445d=Math['min'](_0x44caa1['x']+_0x44caa1[_0x1cd3('0x4d7')],_0x3d6dd8['x']+_0x3d6dd8[_0x1cd3('0x4d7')]),_0x26507d=_0x339e40==_0x5f445d,_0x26507d||(_0x3efdd2=Math[_0x1cd3('0x13d1')](_0x44caa1['y'],_0x3d6dd8['y']),_0x2e8ca3=Math[_0x1cd3('0x4e3')](_0x44caa1['y']+_0x44caa1['height'],_0x3d6dd8['y']+_0x3d6dd8[_0x1cd3('0x4e4')]),_0x3efdd2=_0x3efdd2==_0x2e8ca3);!_0x3efdd2&&(_0x26507d||_0x43c942[_0x1cd3('0x440')][mxConstants['STYLE_ELBOW']]==mxConstants['ELBOW_VERTICAL'])?mxEdgeStyle[_0x1cd3('0x303e')](_0x43c942,_0x44caa1,_0x3d6dd8,_0x55fd02,_0x543d10):mxEdgeStyle['SideToSide'](_0x43c942,_0x44caa1,_0x3d6dd8,_0x55fd02,_0x543d10);},'SideToSide':function(_0xb7e269,_0x4ce7f3,_0x2e0e01,_0x13d4e1,_0x51c8e7){var _0x3c7b69=_0xb7e269[_0x1cd3('0x1665')];_0x13d4e1=null!=_0x13d4e1&&0x0<_0x13d4e1[_0x1cd3('0x7a')]?_0x13d4e1[0x0]:null;var _0x57c480=_0xb7e269[_0x1cd3('0x2a59')],_0x1d82dd=_0x57c480[0x0],_0x57c480=_0x57c480[_0x57c480['length']-0x1];null!=_0x13d4e1&&(_0x13d4e1=_0x3c7b69[_0x1cd3('0x303c')](_0xb7e269,_0x13d4e1));null!=_0x1d82dd&&(_0x4ce7f3=new mxCellState(),_0x4ce7f3['x']=_0x1d82dd['x'],_0x4ce7f3['y']=_0x1d82dd['y']);null!=_0x57c480&&(_0x2e0e01=new mxCellState(),_0x2e0e01['x']=_0x57c480['x'],_0x2e0e01['y']=_0x57c480['y']);null!=_0x4ce7f3&&null!=_0x2e0e01&&(_0xb7e269=Math[_0x1cd3('0x13d1')](_0x4ce7f3['x'],_0x2e0e01['x']),_0x1d82dd=Math['min'](_0x4ce7f3['x']+_0x4ce7f3[_0x1cd3('0x4d7')],_0x2e0e01['x']+_0x2e0e01[_0x1cd3('0x4d7')]),_0xb7e269=null!=_0x13d4e1?_0x13d4e1['x']:_0x1d82dd+(_0xb7e269-_0x1d82dd)/0x2,_0x1d82dd=_0x3c7b69[_0x1cd3('0x303b')](_0x4ce7f3),_0x3c7b69=_0x3c7b69[_0x1cd3('0x303b')](_0x2e0e01),null!=_0x13d4e1&&(_0x13d4e1['y']>=_0x4ce7f3['y']&&_0x13d4e1['y']<=_0x4ce7f3['y']+_0x4ce7f3['height']&&(_0x1d82dd=_0x13d4e1['y']),_0x13d4e1['y']>=_0x2e0e01['y']&&_0x13d4e1['y']<=_0x2e0e01['y']+_0x2e0e01['height']&&(_0x3c7b69=_0x13d4e1['y'])),!mxUtils[_0x1cd3('0x2a5e')](_0x2e0e01,_0xb7e269,_0x1d82dd)&&!mxUtils[_0x1cd3('0x2a5e')](_0x4ce7f3,_0xb7e269,_0x1d82dd)&&_0x51c8e7[_0x1cd3('0x7b')](new mxPoint(_0xb7e269,_0x1d82dd)),!mxUtils[_0x1cd3('0x2a5e')](_0x2e0e01,_0xb7e269,_0x3c7b69)&&!mxUtils[_0x1cd3('0x2a5e')](_0x4ce7f3,_0xb7e269,_0x3c7b69)&&_0x51c8e7['push'](new mxPoint(_0xb7e269,_0x3c7b69)),0x1==_0x51c8e7[_0x1cd3('0x7a')]&&(null!=_0x13d4e1?!mxUtils['contains'](_0x2e0e01,_0xb7e269,_0x13d4e1['y'])&&!mxUtils[_0x1cd3('0x2a5e')](_0x4ce7f3,_0xb7e269,_0x13d4e1['y'])&&_0x51c8e7[_0x1cd3('0x7b')](new mxPoint(_0xb7e269,_0x13d4e1['y'])):(_0x3c7b69=Math[_0x1cd3('0x13d1')](_0x4ce7f3['y'],_0x2e0e01['y']),_0x4ce7f3=Math[_0x1cd3('0x4e3')](_0x4ce7f3['y']+_0x4ce7f3['height'],_0x2e0e01['y']+_0x2e0e01[_0x1cd3('0x4e4')]),_0x51c8e7['push'](new mxPoint(_0xb7e269,_0x3c7b69+(_0x4ce7f3-_0x3c7b69)/0x2)))));},'TopToBottom':function(_0x520615,_0x1352f0,_0x54e860,_0x4144e6,_0x2a6247){var _0x283628=_0x520615[_0x1cd3('0x1665')];_0x4144e6=null!=_0x4144e6&&0x0<_0x4144e6[_0x1cd3('0x7a')]?_0x4144e6[0x0]:null;var _0x34f150=_0x520615['absolutePoints'],_0x5c2e86=_0x34f150[0x0],_0x34f150=_0x34f150[_0x34f150[_0x1cd3('0x7a')]-0x1];null!=_0x4144e6&&(_0x4144e6=_0x283628[_0x1cd3('0x303c')](_0x520615,_0x4144e6));null!=_0x5c2e86&&(_0x1352f0=new mxCellState(),_0x1352f0['x']=_0x5c2e86['x'],_0x1352f0['y']=_0x5c2e86['y']);null!=_0x34f150&&(_0x54e860=new mxCellState(),_0x54e860['x']=_0x34f150['x'],_0x54e860['y']=_0x34f150['y']);null!=_0x1352f0&&null!=_0x54e860&&(_0x5c2e86=Math[_0x1cd3('0x13d1')](_0x1352f0['y'],_0x54e860['y']),_0x34f150=Math[_0x1cd3('0x4e3')](_0x1352f0['y']+_0x1352f0[_0x1cd3('0x4e4')],_0x54e860['y']+_0x54e860[_0x1cd3('0x4e4')]),_0x520615=_0x283628[_0x1cd3('0x303d')](_0x1352f0),null!=_0x4144e6&&(_0x4144e6['x']>=_0x1352f0['x']&&_0x4144e6['x']<=_0x1352f0['x']+_0x1352f0['width'])&&(_0x520615=_0x4144e6['x']),_0x5c2e86=null!=_0x4144e6?_0x4144e6['y']:_0x34f150+(_0x5c2e86-_0x34f150)/0x2,!mxUtils['contains'](_0x54e860,_0x520615,_0x5c2e86)&&!mxUtils[_0x1cd3('0x2a5e')](_0x1352f0,_0x520615,_0x5c2e86)&&_0x2a6247[_0x1cd3('0x7b')](new mxPoint(_0x520615,_0x5c2e86)),_0x520615=null!=_0x4144e6&&_0x4144e6['x']>=_0x54e860['x']&&_0x4144e6['x']<=_0x54e860['x']+_0x54e860[_0x1cd3('0x4d7')]?_0x4144e6['x']:_0x283628['getRoutingCenterX'](_0x54e860),!mxUtils['contains'](_0x54e860,_0x520615,_0x5c2e86)&&!mxUtils[_0x1cd3('0x2a5e')](_0x1352f0,_0x520615,_0x5c2e86)&&_0x2a6247[_0x1cd3('0x7b')](new mxPoint(_0x520615,_0x5c2e86)),0x1==_0x2a6247[_0x1cd3('0x7a')]&&(null!=_0x4144e6&&0x1==_0x2a6247[_0x1cd3('0x7a')]?!mxUtils[_0x1cd3('0x2a5e')](_0x54e860,_0x4144e6['x'],_0x5c2e86)&&!mxUtils[_0x1cd3('0x2a5e')](_0x1352f0,_0x4144e6['x'],_0x5c2e86)&&_0x2a6247['push'](new mxPoint(_0x4144e6['x'],_0x5c2e86)):(_0x283628=Math['max'](_0x1352f0['x'],_0x54e860['x']),_0x1352f0=Math[_0x1cd3('0x4e3')](_0x1352f0['x']+_0x1352f0['width'],_0x54e860['x']+_0x54e860['width']),_0x2a6247['push'](new mxPoint(_0x283628+(_0x1352f0-_0x283628)/0x2,_0x5c2e86)))));},'SegmentConnector':function(_0x3b7176,_0x44f398,_0x6ea8ce,_0xca381b,_0x3484e7){var _0x2860b0=_0x3b7176['absolutePoints'],_0x895c51=!0x0,_0x593eae=null,_0x555f85=_0x2860b0[0x0];null==_0x555f85&&null!=_0x44f398?_0x555f85=new mxPoint(_0x3b7176[_0x1cd3('0x1665')][_0x1cd3('0x303d')](_0x44f398),_0x3b7176[_0x1cd3('0x1665')][_0x1cd3('0x303b')](_0x44f398)):null!=_0x555f85&&(_0x555f85=_0x555f85['clone']());var _0x4423a4=_0x2860b0[_0x1cd3('0x7a')]-0x1;if(null!=_0xca381b&&0x0<_0xca381b[_0x1cd3('0x7a')]){for(var _0x593eae=_0x3b7176[_0x1cd3('0x1665')][_0x1cd3('0x303c')](_0x3b7176,_0xca381b[0x0]),_0x48e359=_0x44f398,_0x3cf744=_0x2860b0[0x0],_0x3b2162=!0x1,_0x410283=!0x1,_0x3b2162=_0x593eae,_0x1fd7f2=_0xca381b[_0x1cd3('0x7a')],_0x56b29e=0x0;0x2>_0x56b29e;_0x56b29e++){var _0x3ccda7=null!=_0x3cf744&&_0x3cf744['x']==_0x3b2162['x'],_0x5066a8=null!=_0x3cf744&&_0x3cf744['y']==_0x3b2162['y'],_0x8e7cbb=null!=_0x48e359&&_0x3b2162['y']>=_0x48e359['y']&&_0x3b2162['y']<=_0x48e359['y']+_0x48e359[_0x1cd3('0x4e4')],_0x48e359=null!=_0x48e359&&_0x3b2162['x']>=_0x48e359['x']&&_0x3b2162['x']<=_0x48e359['x']+_0x48e359[_0x1cd3('0x4d7')],_0x3b2162=_0x5066a8||null==_0x3cf744&&_0x8e7cbb,_0x410283=_0x3ccda7||null==_0x3cf744&&_0x48e359;if(null!=_0x3cf744&&!_0x5066a8&&!_0x3ccda7&&(_0x8e7cbb||_0x48e359)){_0x895c51=_0x8e7cbb?!0x1:!0x0;break;}if(_0x410283||_0x3b2162){_0x895c51=_0x3b2162;0x1==_0x56b29e&&(_0x895c51=0x0==_0xca381b[_0x1cd3('0x7a')]%0x2?_0x3b2162:_0x410283);break;}_0x48e359=_0x6ea8ce;_0x3cf744=_0x2860b0[_0x4423a4];_0x3b2162=_0x3b7176[_0x1cd3('0x1665')][_0x1cd3('0x303c')](_0x3b7176,_0xca381b[_0x1fd7f2-0x1]);}_0x895c51&&(null!=_0x2860b0[0x0]&&_0x2860b0[0x0]['y']!=_0x593eae['y']||null==_0x2860b0[0x0]&&null!=_0x44f398&&(_0x593eae['y']<_0x44f398['y']||_0x593eae['y']>_0x44f398['y']+_0x44f398['height']))?_0x3484e7[_0x1cd3('0x7b')](new mxPoint(_0x555f85['x'],_0x593eae['y'])):!_0x895c51&&(null!=_0x2860b0[0x0]&&_0x2860b0[0x0]['x']!=_0x593eae['x']||null==_0x2860b0[0x0]&&null!=_0x44f398&&(_0x593eae['x']<_0x44f398['x']||_0x593eae['x']>_0x44f398['x']+_0x44f398[_0x1cd3('0x4d7')]))&&_0x3484e7[_0x1cd3('0x7b')](new mxPoint(_0x593eae['x'],_0x555f85['y']));_0x895c51?_0x555f85['y']=_0x593eae['y']:_0x555f85['x']=_0x593eae['x'];for(_0x56b29e=0x0;_0x56b29e<_0xca381b[_0x1cd3('0x7a')];_0x56b29e++)_0x895c51=!_0x895c51,_0x593eae=_0x3b7176[_0x1cd3('0x1665')][_0x1cd3('0x303c')](_0x3b7176,_0xca381b[_0x56b29e]),_0x895c51?_0x555f85['y']=_0x593eae['y']:_0x555f85['x']=_0x593eae['x'],_0x3484e7[_0x1cd3('0x7b')](_0x555f85[_0x1cd3('0x1141')]());}else _0x593eae=_0x555f85,_0x895c51=!0x0;_0x555f85=_0x2860b0[_0x4423a4];null==_0x555f85&&null!=_0x6ea8ce&&(_0x555f85=new mxPoint(_0x3b7176['view'][_0x1cd3('0x303d')](_0x6ea8ce),_0x3b7176[_0x1cd3('0x1665')][_0x1cd3('0x303b')](_0x6ea8ce)));_0x895c51&&(null!=_0x2860b0[_0x4423a4]&&_0x2860b0[_0x4423a4]['y']!=_0x593eae['y']||null==_0x2860b0[_0x4423a4]&&null!=_0x6ea8ce&&(_0x593eae['y']<_0x6ea8ce['y']||_0x593eae['y']>_0x6ea8ce['y']+_0x6ea8ce['height']))?_0x3484e7['push'](new mxPoint(_0x555f85['x'],_0x593eae['y'])):!_0x895c51&&(null!=_0x2860b0[_0x4423a4]&&_0x2860b0[_0x4423a4]['x']!=_0x593eae['x']||null==_0x2860b0[_0x4423a4]&&null!=_0x6ea8ce&&(_0x593eae['x']<_0x6ea8ce['x']||_0x593eae['x']>_0x6ea8ce['x']+_0x6ea8ce[_0x1cd3('0x4d7')]))&&_0x3484e7[_0x1cd3('0x7b')](new mxPoint(_0x593eae['x'],_0x555f85['y']));if(null==_0x2860b0[0x0]&&null!=_0x44f398)for(;0x1<_0x3484e7[_0x1cd3('0x7a')]&&mxUtils[_0x1cd3('0x2a5e')](_0x44f398,_0x3484e7[0x1]['x'],_0x3484e7[0x1]['y']);)_0x3484e7=_0x3484e7[_0x1cd3('0x446')](0x1,0x1);if(null==_0x2860b0[_0x4423a4]&&null!=_0x6ea8ce)for(;0x1<_0x3484e7['length']&&mxUtils[_0x1cd3('0x2a5e')](_0x6ea8ce,_0x3484e7[_0x3484e7[_0x1cd3('0x7a')]-0x1]['x'],_0x3484e7[_0x3484e7[_0x1cd3('0x7a')]-0x1]['y']);)_0x3484e7=_0x3484e7[_0x1cd3('0x446')](_0x3484e7['length']-0x1,0x1);},'orthBuffer':0xa,'dirVectors':[[-0x1,0x0],[0x0,-0x1],[0x1,0x0],[0x0,0x1],[-0x1,0x0],[0x0,-0x1],[0x1,0x0]],'wayPoints1':[[0x0,0x0],[0x0,0x0],[0x0,0x0],[0x0,0x0],[0x0,0x0],[0x0,0x0],[0x0,0x0],[0x0,0x0],[0x0,0x0],[0x0,0x0],[0x0,0x0],[0x0,0x0]],'routePatterns':[[[0x201,0x904,0x821,0xa02],[0x201,0x442,0x202,0x888,0x842,0xa01],[0x201,0x442,0x202,0xa04,0x888,0xa02],[0x201,0x904,0xa01,0x442,0x202,0xa08,0x904]],[[0x202,0x421,0x201,0x904,0x821,0xa02],[0x202,0x888,0x842,0xa01],[0x202,0x888,0xa02,0x421,0x201,0xa04,0x888],[0x202,0x421,0x201,0xa08,0x904,0xa01]],[[0x442,0x202,0x421,0x201,0x904,0x821,0xa02],[0x842,0xa01],[0x442,0xa02,0x421,0x201,0xa04,0x888],[0x442,0x202,0x421,0x201,0x904,0xa01,0xa08]],[[0x821,0xa02],[0x421,0x201,0x442,0x202,0x888,0x842,0xa01],[0x421,0x201,0x442,0x202,0x888,0xa02,0xa04],[0x421,0xa01,0x442,0x202,0xa08,0x904]]],'inlineRoutePatterns':[[null,[0x842,0xa08],null,null],[null,[0x202,0x821,0x842,0xa08],null,null],[null,[0x842,0xa01],null,null],[[0x821,0xa02],[0x421,0x842,0xa08],[0x888,0xa02],null]],'vertexSeperations':[],'limits':[[0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0],[0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0]],'LEFT_MASK':0x20,'TOP_MASK':0x40,'RIGHT_MASK':0x80,'BOTTOM_MASK':0x100,'LEFT':0x1,'TOP':0x2,'RIGHT':0x4,'BOTTOM':0x8,'SIDE_MASK':0x1e0,'CENTER_MASK':0x200,'SOURCE_MASK':0x400,'TARGET_MASK':0x800,'VERTEX_MASK':0xc00,'OrthConnector':function(_0x31c0cf,_0x4a5078,_0x3de9bb,_0x480d07,_0x5f59bd){var _0x526d21=_0x31c0cf['view'][_0x1cd3('0x2c89')],_0x21e689=null==_0x4a5078?!0x1:_0x526d21[_0x1cd3('0x2a77')]()['isEdge'](_0x4a5078[_0x1cd3('0xefb')]),_0x526d21=null==_0x3de9bb?!0x1:_0x526d21[_0x1cd3('0x2a77')]()[_0x1cd3('0x29dc')](_0x3de9bb[_0x1cd3('0xefb')]);if(null!=_0x480d07&&0x0<_0x480d07[_0x1cd3('0x7a')]||_0x21e689||_0x526d21)mxEdgeStyle[_0x1cd3('0x303f')](_0x31c0cf,_0x4a5078,_0x3de9bb,_0x480d07,_0x5f59bd);else{_0x480d07=_0x31c0cf[_0x1cd3('0x2a59')];var _0x402f8c=_0x480d07[0x0],_0x36be12=_0x480d07[_0x480d07['length']-0x1];_0x480d07=null!=_0x4a5078?_0x4a5078['x']:_0x402f8c['x'];var _0x21e689=null!=_0x4a5078?_0x4a5078['y']:_0x402f8c['y'],_0x27a770=null!=_0x4a5078?_0x4a5078[_0x1cd3('0x4d7')]:0x1,_0x2c27a3=null!=_0x4a5078?_0x4a5078[_0x1cd3('0x4e4')]:0x1,_0x351f44=null!=_0x3de9bb?_0x3de9bb['x']:_0x36be12['x'],_0x18fc33=null!=_0x3de9bb?_0x3de9bb['y']:_0x36be12['y'],_0xa16bd0=null!=_0x3de9bb?_0x3de9bb[_0x1cd3('0x4d7')]:0x1,_0x3d44a0=null!=_0x3de9bb?_0x3de9bb[_0x1cd3('0x4e4')]:0x1,_0x526d21=_0x31c0cf[_0x1cd3('0x1665')][_0x1cd3('0x29df')]*mxEdgeStyle[_0x1cd3('0x3040')],_0x320976=[mxConstants[_0x1cd3('0x3041')],mxConstants['DIRECTION_MASK_ALL']];null!=_0x4a5078&&(_0x320976[0x0]=mxUtils[_0x1cd3('0x3039')](_0x4a5078,_0x31c0cf,!0x0,mxConstants[_0x1cd3('0x3041')]));null!=_0x3de9bb&&(_0x320976[0x1]=mxUtils['getPortConstraints'](_0x3de9bb,_0x31c0cf,!0x1,mxConstants[_0x1cd3('0x3041')]));_0x31c0cf=[0x0,0x0];_0x480d07=[[_0x480d07,_0x21e689,_0x27a770,_0x2c27a3],[_0x351f44,_0x18fc33,_0xa16bd0,_0x3d44a0]];for(_0x27a770=0x0;0x2>_0x27a770;_0x27a770++)mxEdgeStyle[_0x1cd3('0x3042')][_0x27a770][0x1]=_0x480d07[_0x27a770][0x0]-_0x526d21,mxEdgeStyle[_0x1cd3('0x3042')][_0x27a770][0x2]=_0x480d07[_0x27a770][0x1]-_0x526d21,mxEdgeStyle['limits'][_0x27a770][0x4]=_0x480d07[_0x27a770][0x0]+_0x480d07[_0x27a770][0x2]+_0x526d21,mxEdgeStyle[_0x1cd3('0x3042')][_0x27a770][0x8]=_0x480d07[_0x27a770][0x1]+_0x480d07[_0x27a770][0x3]+_0x526d21;_0x27a770=_0x480d07[0x0][0x0]+_0x480d07[0x0][0x2]/0x2-(_0x480d07[0x1][0x0]+_0x480d07[0x1][0x2]/0x2);_0x2c27a3=_0x480d07[0x0][0x1]+_0x480d07[0x0][0x3]/0x2-(_0x480d07[0x1][0x1]+_0x480d07[0x1][0x3]/0x2);_0x21e689=0x0;0x0>_0x27a770?_0x21e689=0x0>_0x2c27a3?0x2:0x1:0x0>=_0x2c27a3&&(_0x21e689=0x3,0x0==_0x27a770&&(_0x21e689=0x2));_0x2c27a3=null;null!=_0x4a5078&&(_0x2c27a3=_0x402f8c);_0x4a5078=[[0.5,0.5],[0.5,0.5]];for(_0x27a770=0x0;0x2>_0x27a770;_0x27a770++)null!=_0x2c27a3&&(_0x4a5078[_0x27a770][0x0]=(_0x2c27a3['x']-_0x480d07[_0x27a770][0x0])/_0x480d07[_0x27a770][0x2],0.01>_0x4a5078[_0x27a770][0x0]?_0x31c0cf[_0x27a770]=mxConstants['DIRECTION_MASK_WEST']:0.99<_0x4a5078[_0x27a770][0x0]&&(_0x31c0cf[_0x27a770]=mxConstants[_0x1cd3('0x3043')]),_0x4a5078[_0x27a770][0x1]=(_0x2c27a3['y']-_0x480d07[_0x27a770][0x1])/_0x480d07[_0x27a770][0x3],0.01>_0x4a5078[_0x27a770][0x1]?_0x31c0cf[_0x27a770]=mxConstants[_0x1cd3('0x3044')]:0.99<_0x4a5078[_0x27a770][0x1]&&(_0x31c0cf[_0x27a770]=mxConstants[_0x1cd3('0x2a57')])),_0x2c27a3=null,null!=_0x3de9bb&&(_0x2c27a3=_0x36be12);_0x27a770=_0x480d07[0x0][0x1]-(_0x480d07[0x1][0x1]+_0x480d07[0x1][0x3]);_0x2c27a3=_0x480d07[0x0][0x0]-(_0x480d07[0x1][0x0]+_0x480d07[0x1][0x2]);_0x351f44=_0x480d07[0x1][0x1]-(_0x480d07[0x0][0x1]+_0x480d07[0x0][0x3]);_0x18fc33=_0x480d07[0x1][0x0]-(_0x480d07[0x0][0x0]+_0x480d07[0x0][0x2]);mxEdgeStyle[_0x1cd3('0x3045')][0x1]=Math['max'](_0x2c27a3-0x2*_0x526d21,0x0);mxEdgeStyle[_0x1cd3('0x3045')][0x2]=Math['max'](_0x27a770-0x2*_0x526d21,0x0);mxEdgeStyle[_0x1cd3('0x3045')][0x4]=Math[_0x1cd3('0x13d1')](_0x351f44-0x2*_0x526d21,0x0);mxEdgeStyle[_0x1cd3('0x3045')][0x3]=Math[_0x1cd3('0x13d1')](_0x18fc33-0x2*_0x526d21,0x0);_0x3de9bb=[];_0x402f8c=[];_0x36be12=[];_0x402f8c[0x0]=_0x2c27a3>=_0x18fc33?mxConstants[_0x1cd3('0x303a')]:mxConstants[_0x1cd3('0x3043')];_0x36be12[0x0]=_0x27a770>=_0x351f44?mxConstants[_0x1cd3('0x3044')]:mxConstants[_0x1cd3('0x2a57')];_0x402f8c[0x1]=mxUtils[_0x1cd3('0x3046')](_0x402f8c[0x0]);_0x36be12[0x1]=mxUtils[_0x1cd3('0x3046')](_0x36be12[0x0]);_0x2c27a3=_0x2c27a3>=_0x18fc33?_0x2c27a3:_0x18fc33;_0x351f44=_0x27a770>=_0x351f44?_0x27a770:_0x351f44;_0x18fc33=[[0x0,0x0],[0x0,0x0]];_0xa16bd0=!0x1;for(_0x27a770=0x0;0x2>_0x27a770;_0x27a770++)0x0==_0x31c0cf[_0x27a770]&&(0x0==(_0x402f8c[_0x27a770]&_0x320976[_0x27a770])&&(_0x402f8c[_0x27a770]=mxUtils[_0x1cd3('0x3046')](_0x402f8c[_0x27a770])),0x0==(_0x36be12[_0x27a770]&_0x320976[_0x27a770])&&(_0x36be12[_0x27a770]=mxUtils[_0x1cd3('0x3046')](_0x36be12[_0x27a770])),_0x18fc33[_0x27a770][0x0]=_0x36be12[_0x27a770],_0x18fc33[_0x27a770][0x1]=_0x402f8c[_0x27a770]);_0x351f44>0x2*_0x526d21&&_0x2c27a3>0x2*_0x526d21&&(0x0<(_0x402f8c[0x0]&_0x320976[0x0])&&0x0<(_0x36be12[0x1]&_0x320976[0x1])?(_0x18fc33[0x0][0x0]=_0x402f8c[0x0],_0x18fc33[0x0][0x1]=_0x36be12[0x0],_0x18fc33[0x1][0x0]=_0x36be12[0x1],_0x18fc33[0x1][0x1]=_0x402f8c[0x1],_0xa16bd0=!0x0):0x0<(_0x36be12[0x0]&_0x320976[0x0])&&0x0<(_0x402f8c[0x1]&_0x320976[0x1])&&(_0x18fc33[0x0][0x0]=_0x36be12[0x0],_0x18fc33[0x0][0x1]=_0x402f8c[0x0],_0x18fc33[0x1][0x0]=_0x402f8c[0x1],_0x18fc33[0x1][0x1]=_0x36be12[0x1],_0xa16bd0=!0x0));_0x351f44>0x2*_0x526d21&&!_0xa16bd0&&(_0x18fc33[0x0][0x0]=_0x36be12[0x0],_0x18fc33[0x0][0x1]=_0x402f8c[0x0],_0x18fc33[0x1][0x0]=_0x36be12[0x1],_0x18fc33[0x1][0x1]=_0x402f8c[0x1],_0xa16bd0=!0x0);_0x2c27a3>0x2*_0x526d21&&!_0xa16bd0&&(_0x18fc33[0x0][0x0]=_0x402f8c[0x0],_0x18fc33[0x0][0x1]=_0x36be12[0x0],_0x18fc33[0x1][0x0]=_0x402f8c[0x1],_0x18fc33[0x1][0x1]=_0x36be12[0x1]);for(_0x27a770=0x0;0x2>_0x27a770;_0x27a770++)if(0x0==_0x31c0cf[_0x27a770]&&(0x0==(_0x18fc33[_0x27a770][0x0]&_0x320976[_0x27a770])&&(_0x18fc33[_0x27a770][0x0]=_0x18fc33[_0x27a770][0x1]),_0x3de9bb[_0x27a770]=_0x18fc33[_0x27a770][0x0]&_0x320976[_0x27a770],_0x3de9bb[_0x27a770]|=(_0x18fc33[_0x27a770][0x1]&_0x320976[_0x27a770])<<0x8,_0x3de9bb[_0x27a770]|=(_0x18fc33[0x1-_0x27a770][_0x27a770]&_0x320976[_0x27a770])<<0x10,_0x3de9bb[_0x27a770]|=(_0x18fc33[0x1-_0x27a770][0x1-_0x27a770]&_0x320976[_0x27a770])<<0x18,0x0==(_0x3de9bb[_0x27a770]&0xf)&&(_0x3de9bb[_0x27a770]<<=0x8),0x0==(_0x3de9bb[_0x27a770]&0xf00)&&(_0x3de9bb[_0x27a770]=_0x3de9bb[_0x27a770]&0xf|_0x3de9bb[_0x27a770]>>0x8),0x0==(_0x3de9bb[_0x27a770]&0xf0000)&&(_0x3de9bb[_0x27a770]=_0x3de9bb[_0x27a770]&0xffff|(_0x3de9bb[_0x27a770]&0xf000000)>>0x8),_0x31c0cf[_0x27a770]=_0x3de9bb[_0x27a770]&0xf,_0x320976[_0x27a770]==mxConstants[_0x1cd3('0x303a')]||_0x320976[_0x27a770]==mxConstants[_0x1cd3('0x3044')]||_0x320976[_0x27a770]==mxConstants[_0x1cd3('0x3043')]||_0x320976[_0x27a770]==mxConstants[_0x1cd3('0x2a57')]))_0x31c0cf[_0x27a770]=_0x320976[_0x27a770];_0x27a770=_0x31c0cf[0x0]==mxConstants[_0x1cd3('0x3043')]?0x3:_0x31c0cf[0x0];_0x320976=_0x31c0cf[0x1]==mxConstants[_0x1cd3('0x3043')]?0x3:_0x31c0cf[0x1];_0x27a770-=_0x21e689;_0x320976-=_0x21e689;0x1>_0x27a770&&(_0x27a770+=0x4);0x1>_0x320976&&(_0x320976+=0x4);_0x320976=mxEdgeStyle[_0x1cd3('0x3047')][_0x27a770-0x1][_0x320976-0x1];mxEdgeStyle[_0x1cd3('0x3048')][0x0][0x0]=_0x480d07[0x0][0x0];mxEdgeStyle[_0x1cd3('0x3048')][0x0][0x1]=_0x480d07[0x0][0x1];switch(_0x31c0cf[0x0]){case mxConstants[_0x1cd3('0x303a')]:mxEdgeStyle['wayPoints1'][0x0][0x0]-=_0x526d21;mxEdgeStyle[_0x1cd3('0x3048')][0x0][0x1]+=_0x4a5078[0x0][0x1]*_0x480d07[0x0][0x3];break;case mxConstants['DIRECTION_MASK_SOUTH']:mxEdgeStyle['wayPoints1'][0x0][0x0]+=_0x4a5078[0x0][0x0]*_0x480d07[0x0][0x2];mxEdgeStyle[_0x1cd3('0x3048')][0x0][0x1]+=_0x480d07[0x0][0x3]+_0x526d21;break;case mxConstants[_0x1cd3('0x3043')]:mxEdgeStyle[_0x1cd3('0x3048')][0x0][0x0]+=_0x480d07[0x0][0x2]+_0x526d21;mxEdgeStyle['wayPoints1'][0x0][0x1]+=_0x4a5078[0x0][0x1]*_0x480d07[0x0][0x3];break;case mxConstants[_0x1cd3('0x3044')]:mxEdgeStyle[_0x1cd3('0x3048')][0x0][0x0]+=_0x4a5078[0x0][0x0]*_0x480d07[0x0][0x2],mxEdgeStyle[_0x1cd3('0x3048')][0x0][0x1]-=_0x526d21;}_0x526d21=0x0;_0x402f8c=_0x3de9bb=0x0<(_0x31c0cf[0x0]&(mxConstants[_0x1cd3('0x3043')]|mxConstants[_0x1cd3('0x303a')]))?0x0:0x1;for(_0x27a770=_0x36be12=0x0;_0x27a770<_0x320976['length'];_0x27a770++){_0x36be12=_0x320976[_0x27a770]&0xf;_0x3d44a0=_0x36be12==mxConstants[_0x1cd3('0x3043')]?0x3:_0x36be12;_0x3d44a0+=_0x21e689;0x4<_0x3d44a0&&(_0x3d44a0-=0x4);_0x2c27a3=mxEdgeStyle[_0x1cd3('0x3049')][_0x3d44a0-0x1];_0x36be12=0x0<_0x3d44a0%0x2?0x0:0x1;_0x36be12!=_0x3de9bb&&(_0x526d21++,mxEdgeStyle[_0x1cd3('0x3048')][_0x526d21][0x0]=mxEdgeStyle['wayPoints1'][_0x526d21-0x1][0x0],mxEdgeStyle['wayPoints1'][_0x526d21][0x1]=mxEdgeStyle[_0x1cd3('0x3048')][_0x526d21-0x1][0x1]);var _0x565400=0x0<(_0x320976[_0x27a770]&mxEdgeStyle[_0x1cd3('0x304a')]),_0xa16bd0=0x0<(_0x320976[_0x27a770]&mxEdgeStyle[_0x1cd3('0x304b')]),_0x351f44=(_0x320976[_0x27a770]&mxEdgeStyle[_0x1cd3('0x304c')])>>0x5,_0x351f44=_0x351f44<<_0x21e689;0xf<_0x351f44&&(_0x351f44>>=0x4);_0x18fc33=0x0<(_0x320976[_0x27a770]&mxEdgeStyle[_0x1cd3('0x304d')]);(_0xa16bd0||_0x565400)&&0x9>_0x351f44?(_0x3d44a0=0x0,_0xa16bd0=_0xa16bd0?0x0:0x1,_0x3d44a0=_0x18fc33&&0x0==_0x36be12?_0x480d07[_0xa16bd0][0x0]+_0x4a5078[_0xa16bd0][0x0]*_0x480d07[_0xa16bd0][0x2]:_0x18fc33?_0x480d07[_0xa16bd0][0x1]+_0x4a5078[_0xa16bd0][0x1]*_0x480d07[_0xa16bd0][0x3]:mxEdgeStyle[_0x1cd3('0x3042')][_0xa16bd0][_0x351f44],0x0==_0x36be12?(_0x351f44=(_0x3d44a0-mxEdgeStyle[_0x1cd3('0x3048')][_0x526d21][0x0])*_0x2c27a3[0x0],0x0<_0x351f44&&(mxEdgeStyle[_0x1cd3('0x3048')][_0x526d21][0x0]+=_0x2c27a3[0x0]*_0x351f44)):(_0x351f44=(_0x3d44a0-mxEdgeStyle[_0x1cd3('0x3048')][_0x526d21][0x1])*_0x2c27a3[0x1],0x0<_0x351f44&&(mxEdgeStyle[_0x1cd3('0x3048')][_0x526d21][0x1]+=_0x2c27a3[0x1]*_0x351f44))):_0x18fc33&&(mxEdgeStyle['wayPoints1'][_0x526d21][0x0]+=_0x2c27a3[0x0]*Math[_0x1cd3('0x2a4c')](mxEdgeStyle['vertexSeperations'][_0x3d44a0]/0x2),mxEdgeStyle['wayPoints1'][_0x526d21][0x1]+=_0x2c27a3[0x1]*Math[_0x1cd3('0x2a4c')](mxEdgeStyle[_0x1cd3('0x3045')][_0x3d44a0]/0x2));0x0<_0x526d21&&mxEdgeStyle[_0x1cd3('0x3048')][_0x526d21][_0x36be12]==mxEdgeStyle['wayPoints1'][_0x526d21-0x1][_0x36be12]?_0x526d21--:_0x3de9bb=_0x36be12;}for(_0x27a770=0x0;_0x27a770<=_0x526d21&&!(_0x27a770==_0x526d21&&((0x0<(_0x31c0cf[0x1]&(mxConstants[_0x1cd3('0x3043')]|mxConstants[_0x1cd3('0x303a')]))?0x0:0x1)==_0x402f8c?0x0:0x1)!=(_0x526d21+0x1)%0x2);_0x27a770++)_0x5f59bd['push'](new mxPoint(mxEdgeStyle[_0x1cd3('0x3048')][_0x27a770][0x0],mxEdgeStyle[_0x1cd3('0x3048')][_0x27a770][0x1]));}},'getRoutePattern':function(_0x4015ff,_0x1de884,_0x61f847,_0x706263){var _0x85fdb8=_0x4015ff[0x0]==mxConstants['DIRECTION_MASK_EAST']?0x3:_0x4015ff[0x0];_0x4015ff=_0x4015ff[0x1]==mxConstants[_0x1cd3('0x3043')]?0x3:_0x4015ff[0x1];_0x85fdb8-=_0x1de884;_0x4015ff-=_0x1de884;0x1>_0x85fdb8&&(_0x85fdb8+=0x4);0x1>_0x4015ff&&(_0x4015ff+=0x4);_0x1de884=routePatterns[_0x85fdb8-0x1][_0x4015ff-0x1];if(0x0==_0x61f847||0x0==_0x706263)null!=inlineRoutePatterns[_0x85fdb8-0x1][_0x4015ff-0x1]&&(_0x1de884=inlineRoutePatterns[_0x85fdb8-0x1][_0x4015ff-0x1]);return _0x1de884;}},mxStyleRegistry={'values':[],'putValue':function(_0x2df4a3,_0x49b4e0){mxStyleRegistry['values'][_0x2df4a3]=_0x49b4e0;},'getValue':function(_0x3d7406){return mxStyleRegistry[_0x1cd3('0x42d')][_0x3d7406];},'getName':function(_0x28cc97){for(var _0x510de7 in mxStyleRegistry['values'])if(mxStyleRegistry[_0x1cd3('0x42d')][_0x510de7]==_0x28cc97)return _0x510de7;return null;}};mxStyleRegistry['putValue'](mxConstants[_0x1cd3('0x304e')],mxEdgeStyle[_0x1cd3('0x304f')]);mxStyleRegistry[_0x1cd3('0x3050')](mxConstants[_0x1cd3('0x3051')],mxEdgeStyle['EntityRelation']);mxStyleRegistry[_0x1cd3('0x3050')](mxConstants[_0x1cd3('0x3052')],mxEdgeStyle[_0x1cd3('0x3053')]);mxStyleRegistry[_0x1cd3('0x3050')](mxConstants[_0x1cd3('0x3054')],mxEdgeStyle[_0x1cd3('0x3055')]);mxStyleRegistry['putValue'](mxConstants[_0x1cd3('0x3056')],mxEdgeStyle['TopToBottom']);mxStyleRegistry[_0x1cd3('0x3050')](mxConstants['EDGESTYLE_ORTHOGONAL'],mxEdgeStyle['OrthConnector']);mxStyleRegistry[_0x1cd3('0x3050')](mxConstants[_0x1cd3('0x3057')],mxEdgeStyle['SegmentConnector']);mxStyleRegistry[_0x1cd3('0x3050')](mxConstants[_0x1cd3('0x3058')],mxPerimeter[_0x1cd3('0x3059')]);mxStyleRegistry['putValue'](mxConstants['PERIMETER_RECTANGLE'],mxPerimeter[_0x1cd3('0x2f9a')]);mxStyleRegistry[_0x1cd3('0x3050')](mxConstants[_0x1cd3('0x305a')],mxPerimeter['RhombusPerimeter']);mxStyleRegistry[_0x1cd3('0x3050')](mxConstants[_0x1cd3('0x305b')],mxPerimeter[_0x1cd3('0x305c')]);function mxGraphView(_0x32f5c8){this[_0x1cd3('0x2c89')]=_0x32f5c8;this[_0x1cd3('0x43c')]=new mxPoint();this[_0x1cd3('0x305d')]=new mxRectangle();this[_0x1cd3('0x2caa')]=new mxDictionary();}mxGraphView[_0x1cd3('0x77a')]=new mxEventSource();mxGraphView[_0x1cd3('0x77a')][_0x1cd3('0x29db')]=mxGraphView;mxGraphView[_0x1cd3('0x77a')][_0x1cd3('0x305e')]=new mxPoint();mxGraphView[_0x1cd3('0x77a')]['doneResource']=_0x1cd3('0x6ae')!=mxClient[_0x1cd3('0x3f3')]?_0x1cd3('0x4d5'):'';mxGraphView[_0x1cd3('0x77a')]['updatingDocumentResource']=_0x1cd3('0x6ae')!=mxClient[_0x1cd3('0x3f3')]?_0x1cd3('0x305f'):'';mxGraphView[_0x1cd3('0x77a')][_0x1cd3('0x3060')]=!0x1;mxGraphView[_0x1cd3('0x77a')]['captureDocumentGesture']=!0x0;mxGraphView[_0x1cd3('0x77a')][_0x1cd3('0x3061')]=!0x0;mxGraphView[_0x1cd3('0x77a')]['rendering']=!0x0;mxGraphView[_0x1cd3('0x77a')]['graph']=null;mxGraphView[_0x1cd3('0x77a')][_0x1cd3('0x2e79')]=null;mxGraphView[_0x1cd3('0x77a')][_0x1cd3('0x305d')]=null;mxGraphView['prototype'][_0x1cd3('0x29df')]=0x1;mxGraphView[_0x1cd3('0x77a')][_0x1cd3('0x43c')]=null;mxGraphView['prototype'][_0x1cd3('0x3062')]=!0x1;mxGraphView[_0x1cd3('0x77a')][_0x1cd3('0x2a84')]=function(){return this[_0x1cd3('0x305d')];};mxGraphView['prototype'][_0x1cd3('0x3063')]=function(_0xc5e367){this[_0x1cd3('0x305d')]=_0xc5e367;};mxGraphView[_0x1cd3('0x77a')]['getBounds']=function(_0x42f7b5){var _0x18d32c=null;if(null!=_0x42f7b5&&0x0<_0x42f7b5[_0x1cd3('0x7a')])for(var _0x26f0e7=this[_0x1cd3('0x2c89')][_0x1cd3('0x2a77')](),_0x3c4608=0x0;_0x3c4608<_0x42f7b5['length'];_0x3c4608++)if(_0x26f0e7[_0x1cd3('0x2c98')](_0x42f7b5[_0x3c4608])||_0x26f0e7['isEdge'](_0x42f7b5[_0x3c4608])){var _0x3fb0f9=this['getState'](_0x42f7b5[_0x3c4608]);null!=_0x3fb0f9&&(null==_0x18d32c?_0x18d32c=new mxRectangle(_0x3fb0f9['x'],_0x3fb0f9['y'],_0x3fb0f9['width'],_0x3fb0f9['height']):_0x18d32c[_0x1cd3('0x425')](_0x3fb0f9));}return _0x18d32c;};mxGraphView[_0x1cd3('0x77a')][_0x1cd3('0x3064')]=function(_0x1ef208){if(this[_0x1cd3('0x2e79')]!=_0x1ef208){var _0x1007ec=new mxCurrentRootChange(this,_0x1ef208);_0x1007ec['execute']();var _0x3592f9=new mxUndoableEdit(this,!0x1);_0x3592f9['add'](_0x1007ec);this[_0x1cd3('0x2b28')](new mxEventObject(mxEvent[_0x1cd3('0x2c56')],'edit',_0x3592f9));this[_0x1cd3('0x2c89')]['sizeDidChange']();}return _0x1ef208;};mxGraphView[_0x1cd3('0x77a')]['scaleAndTranslate']=function(_0x5285eb,_0x344843,_0x2cecef){var _0x59309b=this[_0x1cd3('0x29df')],_0x116d4d=new mxPoint(this[_0x1cd3('0x43c')]['x'],this[_0x1cd3('0x43c')]['y']);if(this['scale']!=_0x5285eb||this[_0x1cd3('0x43c')]['x']!=_0x344843||this[_0x1cd3('0x43c')]['y']!=_0x2cecef)this[_0x1cd3('0x29df')]=_0x5285eb,this[_0x1cd3('0x43c')]['x']=_0x344843,this['translate']['y']=_0x2cecef,this[_0x1cd3('0x2a79')]()&&(this[_0x1cd3('0x3065')](),this[_0x1cd3('0x2c89')]['sizeDidChange']());this['fireEvent'](new mxEventObject(mxEvent['SCALE_AND_TRANSLATE'],_0x1cd3('0x29df'),_0x5285eb,'previousScale',_0x59309b,_0x1cd3('0x43c'),this[_0x1cd3('0x43c')],_0x1cd3('0x3066'),_0x116d4d));};mxGraphView[_0x1cd3('0x77a')]['getScale']=function(){return this[_0x1cd3('0x29df')];};mxGraphView[_0x1cd3('0x77a')]['setScale']=function(_0x5d78f5){var _0x20a285=this[_0x1cd3('0x29df')];this[_0x1cd3('0x29df')]!=_0x5d78f5&&(this['scale']=_0x5d78f5,this[_0x1cd3('0x2a79')]()&&(this['revalidate'](),this[_0x1cd3('0x2c89')][_0x1cd3('0x3067')]()));this[_0x1cd3('0x2b28')](new mxEventObject(mxEvent[_0x1cd3('0x3068')],'scale',_0x5d78f5,_0x1cd3('0x3069'),_0x20a285));};mxGraphView[_0x1cd3('0x77a')][_0x1cd3('0x2c9c')]=function(){return this[_0x1cd3('0x43c')];};mxGraphView[_0x1cd3('0x77a')][_0x1cd3('0x2c6f')]=function(_0x429ae4,_0x3f002a){var _0x56352d=new mxPoint(this['translate']['x'],this['translate']['y']);if(this['translate']['x']!=_0x429ae4||this[_0x1cd3('0x43c')]['y']!=_0x3f002a)this[_0x1cd3('0x43c')]['x']=_0x429ae4,this[_0x1cd3('0x43c')]['y']=_0x3f002a,this[_0x1cd3('0x2a79')]()&&(this[_0x1cd3('0x3065')](),this['graph'][_0x1cd3('0x3067')]());this['fireEvent'](new mxEventObject(mxEvent[_0x1cd3('0x306a')],_0x1cd3('0x43c'),this[_0x1cd3('0x43c')],_0x1cd3('0x3066'),_0x56352d));};mxGraphView[_0x1cd3('0x77a')][_0x1cd3('0x8fa')]=function(){null!=this[_0x1cd3('0x2e79')]&&this['clear']();this['revalidate']();};mxGraphView['prototype']['revalidate']=function(){this['invalidate']();this[_0x1cd3('0x306b')]();};mxGraphView[_0x1cd3('0x77a')][_0x1cd3('0x785')]=function(_0x547a45,_0x4a416e,_0x4cb253){var _0x2eac16=this[_0x1cd3('0x2c89')][_0x1cd3('0x2a77')]();_0x547a45=_0x547a45||_0x2eac16['getRoot']();_0x4a416e=null!=_0x4a416e?_0x4a416e:!0x1;_0x4cb253=null!=_0x4cb253?_0x4cb253:!0x0;this['removeState'](_0x547a45);if(_0x4cb253&&(_0x4a416e||_0x547a45!=this[_0x1cd3('0x2e79')])){_0x4cb253=_0x2eac16[_0x1cd3('0x29e5')](_0x547a45);for(var _0x59154=0x0;_0x59154<_0x4cb253;_0x59154++)this[_0x1cd3('0x785')](_0x2eac16[_0x1cd3('0x29e6')](_0x547a45,_0x59154),_0x4a416e);}else this[_0x1cd3('0x306c')](_0x547a45);};mxGraphView[_0x1cd3('0x77a')][_0x1cd3('0x306c')]=function(_0x39ae8e,_0x573cec,_0x125fca,_0x4d01ae){var _0x3ff113=this['graph'][_0x1cd3('0x2a77')]();_0x39ae8e=_0x39ae8e||_0x3ff113[_0x1cd3('0x2a78')]();_0x573cec=null!=_0x573cec?_0x573cec:!0x0;_0x125fca=null!=_0x125fca?_0x125fca:!0x0;_0x4d01ae=null!=_0x4d01ae?_0x4d01ae:!0x1;var _0x2e9978=this[_0x1cd3('0x29d9')](_0x39ae8e);null!=_0x2e9978&&(_0x2e9978['invalid']=!0x0,_0x4d01ae&&(_0x2e9978[_0x1cd3('0x2fab')]=!0x0));if(_0x573cec)for(var _0x5eab58=_0x3ff113[_0x1cd3('0x29e5')](_0x39ae8e),_0x2e9978=0x0;_0x2e9978<_0x5eab58;_0x2e9978++){var _0x477db1=_0x3ff113[_0x1cd3('0x29e6')](_0x39ae8e,_0x2e9978);this[_0x1cd3('0x306c')](_0x477db1,_0x573cec,_0x125fca,_0x4d01ae);}if(_0x125fca){_0x4d01ae=_0x3ff113[_0x1cd3('0x2e5b')](_0x39ae8e);for(_0x2e9978=0x0;_0x2e9978<_0x4d01ae;_0x2e9978++)this['invalidate'](_0x3ff113[_0x1cd3('0x2f3f')](_0x39ae8e,_0x2e9978),_0x573cec,_0x125fca);}};mxGraphView[_0x1cd3('0x77a')]['validate']=function(_0x5e605b){var _0xb7828f=mxLog[_0x1cd3('0x2fc2')](_0x1cd3('0x306d'));window[_0x1cd3('0x3a6')]=mxResources[_0x1cd3('0x361')](this[_0x1cd3('0x306e')])||this[_0x1cd3('0x306e')];var _0x48a5e8=null;if(this[_0x1cd3('0x3061')]&&null!=this[_0x1cd3('0x2a7e')]&&null==this[_0x1cd3('0x2e1f')]&&(0x8==document[_0x1cd3('0x2959')]||mxClient[_0x1cd3('0x2a75')])){_0x48a5e8=this['canvas'][_0x1cd3('0x440')]['display'];this[_0x1cd3('0x2a7e')][_0x1cd3('0x440')][_0x1cd3('0x6ac')]=_0x1cd3('0x6ae');var _0x5ed594=document[_0x1cd3('0x3aa')]('div');_0x5ed594[_0x1cd3('0x440')]['position']=_0x1cd3('0x532');_0x5ed594[_0x1cd3('0x440')][_0x1cd3('0x2ac7')]='nowrap';_0x5ed594[_0x1cd3('0x440')][_0x1cd3('0x29c7')]=_0x1cd3('0x533');_0x5ed594[_0x1cd3('0x440')]['display']=mxClient[_0x1cd3('0x2a75')]?_0x1cd3('0x6ad'):_0x1cd3('0x2d50');_0x5ed594[_0x1cd3('0x440')][_0x1cd3('0x2a76')]='1';document['body'][_0x1cd3('0xd4e')](_0x5ed594);this[_0x1cd3('0x2e1f')]=_0x5ed594;}_0x5e605b=_0x5e605b||(null!=this['currentRoot']?this[_0x1cd3('0x2e79')]:this[_0x1cd3('0x2c89')][_0x1cd3('0x2a77')]()[_0x1cd3('0x2a78')]());this[_0x1cd3('0x306f')](null,_0x5e605b);_0x5e605b=this[_0x1cd3('0x3070')](null,_0x5e605b);null==_0x5e605b&&(_0x5e605b=new mxRectangle());this[_0x1cd3('0x3063')](_0x5e605b);this[_0x1cd3('0x3071')]();null!=_0x48a5e8&&(this['canvas'][_0x1cd3('0x440')][_0x1cd3('0x6ac')]=_0x48a5e8,document[_0x1cd3('0x380')][_0x1cd3('0x1817')](this[_0x1cd3('0x2e1f')]),this[_0x1cd3('0x2e1f')]=null);window[_0x1cd3('0x3a6')]=mxResources[_0x1cd3('0x361')](this['doneResource'])||this[_0x1cd3('0x2fb6')];mxLog['leave']('mxGraphView.validate',_0xb7828f);};mxGraphView[_0x1cd3('0x77a')][_0x1cd3('0x3072')]=function(_0x375127){return new mxRectangleShape(_0x375127,_0x1cd3('0x2d29'),'black');};mxGraphView[_0x1cd3('0x77a')]['validateBackground']=function(){var _0x5a575a=this[_0x1cd3('0x2c89')]['getBackgroundImage']();if(null!=_0x5a575a){if(null==this[_0x1cd3('0x2dfc')]||this['backgroundImage']['image']!=_0x5a575a[_0x1cd3('0x487')]){null!=this[_0x1cd3('0x2dfc')]&&this[_0x1cd3('0x2dfc')][_0x1cd3('0x2bcb')]();var _0x3d0d42=new mxRectangle(0x0,0x0,0x1,0x1);this[_0x1cd3('0x2dfc')]=new mxImageShape(_0x3d0d42,_0x5a575a[_0x1cd3('0x487')]);this[_0x1cd3('0x2dfc')]['dialect']=this['graph']['dialect'];this['backgroundImage']['init'](this[_0x1cd3('0x2f96')]);this['backgroundImage']['redraw']();}this['redrawBackgroundImage'](this[_0x1cd3('0x2dfc')],_0x5a575a);}else null!=this[_0x1cd3('0x2dfc')]&&(this[_0x1cd3('0x2dfc')][_0x1cd3('0x2bcb')](),this[_0x1cd3('0x2dfc')]=null);this[_0x1cd3('0x2c89')][_0x1cd3('0x3073')]?(_0x3d0d42=this[_0x1cd3('0x3074')](),null==this['backgroundPageShape']?(this[_0x1cd3('0x3075')]=this[_0x1cd3('0x3072')](_0x3d0d42),this[_0x1cd3('0x3075')][_0x1cd3('0x29df')]=this[_0x1cd3('0x29df')],this[_0x1cd3('0x3075')][_0x1cd3('0x2ddc')]=!0x0,this['backgroundPageShape'][_0x1cd3('0x2d98')]=this[_0x1cd3('0x2c89')][_0x1cd3('0x2d98')],this['backgroundPageShape'][_0x1cd3('0xe08')](this[_0x1cd3('0x2f96')]),this[_0x1cd3('0x3075')][_0x1cd3('0x29e3')](),mxEvent[_0x1cd3('0x29ba')](this[_0x1cd3('0x3075')][_0x1cd3('0x56e')],_0x1cd3('0x2c1e'),mxUtils[_0x1cd3('0x5b2')](this,function(_0x17ee4d){this[_0x1cd3('0x2c89')][_0x1cd3('0x2b37')](_0x17ee4d);})),mxEvent[_0x1cd3('0x2b32')](this[_0x1cd3('0x3075')][_0x1cd3('0x56e')],mxUtils[_0x1cd3('0x5b2')](this,function(_0x337e8d){this[_0x1cd3('0x2c89')][_0x1cd3('0x2b33')](mxEvent[_0x1cd3('0x2b34')],new mxMouseEvent(_0x337e8d));}),mxUtils[_0x1cd3('0x5b2')](this,function(_0x438507){null!=this[_0x1cd3('0x2c89')][_0x1cd3('0x3076')]&&this[_0x1cd3('0x2c89')][_0x1cd3('0x3076')]['isHideOnHover']()&&this[_0x1cd3('0x2c89')][_0x1cd3('0x3076')][_0x1cd3('0x39d')]();this[_0x1cd3('0x2c89')]['isMouseDown']&&!mxEvent[_0x1cd3('0x2b13')](_0x438507)&&this[_0x1cd3('0x2c89')][_0x1cd3('0x2b33')](mxEvent[_0x1cd3('0x2b35')],new mxMouseEvent(_0x438507));}),mxUtils['bind'](this,function(_0x1447ba){this[_0x1cd3('0x2c89')]['fireMouseEvent'](mxEvent['MOUSE_UP'],new mxMouseEvent(_0x1447ba));}))):(this[_0x1cd3('0x3075')][_0x1cd3('0x29df')]=this[_0x1cd3('0x29df')],this['backgroundPageShape'][_0x1cd3('0x2dbc')]=_0x3d0d42,this[_0x1cd3('0x3075')][_0x1cd3('0x29e3')]())):null!=this[_0x1cd3('0x3075')]&&(this[_0x1cd3('0x3075')][_0x1cd3('0x2bcb')](),this[_0x1cd3('0x3075')]=null);};mxGraphView[_0x1cd3('0x77a')][_0x1cd3('0x3074')]=function(){var _0x3312b1=this['graph'][_0x1cd3('0x2f77')],_0x31fd89=this['scale']*this[_0x1cd3('0x2c89')][_0x1cd3('0x2f76')];return new mxRectangle(this[_0x1cd3('0x29df')]*this['translate']['x'],this['scale']*this[_0x1cd3('0x43c')]['y'],_0x3312b1[_0x1cd3('0x4d7')]*_0x31fd89,_0x3312b1['height']*_0x31fd89);};mxGraphView[_0x1cd3('0x77a')][_0x1cd3('0x3077')]=function(_0x24338c,_0x3796c1){_0x24338c[_0x1cd3('0x29df')]=this[_0x1cd3('0x29df')];_0x24338c[_0x1cd3('0x2dbc')]['x']=this[_0x1cd3('0x29df')]*this[_0x1cd3('0x43c')]['x'];_0x24338c[_0x1cd3('0x2dbc')]['y']=this[_0x1cd3('0x29df')]*this[_0x1cd3('0x43c')]['y'];_0x24338c[_0x1cd3('0x2dbc')][_0x1cd3('0x4d7')]=this[_0x1cd3('0x29df')]*_0x3796c1[_0x1cd3('0x4d7')];_0x24338c['bounds']['height']=this[_0x1cd3('0x29df')]*_0x3796c1[_0x1cd3('0x4e4')];_0x24338c[_0x1cd3('0x29e3')]();};mxGraphView[_0x1cd3('0x77a')][_0x1cd3('0x306f')]=function(_0xdefa32,_0x338ea1){var _0x25217d=this[_0x1cd3('0x2c89')][_0x1cd3('0x2a77')](),_0x5484a9=this['getState'](_0x338ea1,!0x0);if(null!=_0x5484a9&&_0x5484a9[_0x1cd3('0x26c6')]){if(this[_0x1cd3('0x2c89')][_0x1cd3('0x2e60')](_0x338ea1)){if(_0x338ea1!=this[_0x1cd3('0x2e79')]&&null!=_0xdefa32){_0x5484a9[_0x1cd3('0x2faa')]['x']=0x0;_0x5484a9['absoluteOffset']['y']=0x0;_0x5484a9[_0x1cd3('0x2fac')]['x']=_0xdefa32[_0x1cd3('0x2fac')]['x'];_0x5484a9[_0x1cd3('0x2fac')]['y']=_0xdefa32['origin']['y'];var _0x16382a=this[_0x1cd3('0x2c89')]['getCellGeometry'](_0x338ea1);if(null!=_0x16382a){if(!_0x25217d[_0x1cd3('0x29dc')](_0x338ea1)){var _0x3b7166=_0x16382a[_0x1cd3('0xd57')]||this[_0x1cd3('0x305e')];_0x16382a[_0x1cd3('0x2d83')]?(_0x5484a9['origin']['x']+=_0x16382a['x']*_0xdefa32[_0x1cd3('0x4d7')]/this[_0x1cd3('0x29df')]+_0x3b7166['x'],_0x5484a9[_0x1cd3('0x2fac')]['y']+=_0x16382a['y']*_0xdefa32[_0x1cd3('0x4e4')]/this[_0x1cd3('0x29df')]+_0x3b7166['y']):(_0x5484a9[_0x1cd3('0x2faa')]['x']=this[_0x1cd3('0x29df')]*_0x3b7166['x'],_0x5484a9['absoluteOffset']['y']=this[_0x1cd3('0x29df')]*_0x3b7166['y'],_0x5484a9[_0x1cd3('0x2fac')]['x']+=_0x16382a['x'],_0x5484a9[_0x1cd3('0x2fac')]['y']+=_0x16382a['y']);}_0x5484a9['x']=this[_0x1cd3('0x29df')]*(this[_0x1cd3('0x43c')]['x']+_0x5484a9['origin']['x']);_0x5484a9['y']=this[_0x1cd3('0x29df')]*(this['translate']['y']+_0x5484a9['origin']['y']);_0x5484a9[_0x1cd3('0x4d7')]=this[_0x1cd3('0x29df')]*_0x16382a[_0x1cd3('0x4d7')];_0x5484a9[_0x1cd3('0x4e4')]=this[_0x1cd3('0x29df')]*_0x16382a[_0x1cd3('0x4e4')];if(_0x25217d[_0x1cd3('0x2c98')](_0x338ea1)){if(_0x16382a[_0x1cd3('0x2d83')]&&(_0x3b7166=mxUtils['toRadians'](_0xdefa32[_0x1cd3('0x440')][mxConstants[_0x1cd3('0x2a5d')]]||'0'),0x0!=_0x3b7166)){var _0x16382a=Math[_0x1cd3('0x2a4d')](_0x3b7166),_0x3b7166=Math[_0x1cd3('0x2a4e')](_0x3b7166),_0x3c58ce=new mxPoint(_0x5484a9[_0x1cd3('0x29d5')](),_0x5484a9[_0x1cd3('0x29d6')]()),_0x464d2e=new mxPoint(_0xdefa32['getCenterX'](),_0xdefa32['getCenterY']()),_0x16382a=mxUtils[_0x1cd3('0x2a52')](_0x3c58ce,_0x16382a,_0x3b7166,_0x464d2e);_0x5484a9['x']=_0x16382a['x']-_0x5484a9[_0x1cd3('0x4d7')]/0x2;_0x5484a9['y']=_0x16382a['y']-_0x5484a9[_0x1cd3('0x4e4')]/0x2;}this[_0x1cd3('0x3078')](_0x5484a9);}}}}else this[_0x1cd3('0x3079')](_0x338ea1);_0x3b7166=this[_0x1cd3('0x2c89')][_0x1cd3('0x307a')](_0x338ea1);null!=_0x3b7166&&(_0x5484a9[_0x1cd3('0x2fac')]['x']+=_0x3b7166['x'],_0x5484a9[_0x1cd3('0x2fac')]['y']+=_0x3b7166['y']);}if(null!=_0x5484a9&&(!this['graph'][_0x1cd3('0x2f1f')](_0x338ea1)||_0x338ea1==this[_0x1cd3('0x2e79')])){_0x16382a=_0x25217d[_0x1cd3('0x29e5')](_0x338ea1);for(_0x3b7166=0x0;_0x3b7166<_0x16382a;_0x3b7166++)_0x3c58ce=_0x25217d['getChildAt'](_0x338ea1,_0x3b7166),this['validateBounds'](_0x5484a9,_0x3c58ce);}};mxGraphView['prototype']['updateVertexLabelOffset']=function(_0x44a909){var _0xad0cc4=mxUtils[_0x1cd3('0x2a5a')](_0x44a909[_0x1cd3('0x440')],mxConstants[_0x1cd3('0x2fd1')],mxConstants[_0x1cd3('0x2d3f')]);_0xad0cc4==mxConstants['ALIGN_LEFT']?_0x44a909[_0x1cd3('0x2faa')]['x']-=_0x44a909['width']:_0xad0cc4==mxConstants['ALIGN_RIGHT']&&(_0x44a909[_0x1cd3('0x2faa')]['x']+=_0x44a909[_0x1cd3('0x4d7')]);_0xad0cc4=mxUtils[_0x1cd3('0x2a5a')](_0x44a909[_0x1cd3('0x440')],mxConstants['STYLE_VERTICAL_LABEL_POSITION'],mxConstants['ALIGN_MIDDLE']);_0xad0cc4==mxConstants[_0x1cd3('0x2e49')]?_0x44a909[_0x1cd3('0x2faa')]['y']-=_0x44a909[_0x1cd3('0x4e4')]:_0xad0cc4==mxConstants['ALIGN_BOTTOM']&&(_0x44a909['absoluteOffset']['y']+=_0x44a909[_0x1cd3('0x4e4')]);};mxGraphView[_0x1cd3('0x77a')][_0x1cd3('0x3070')]=function(_0x45ab8f,_0x2f51ab){var _0xe1a143=this[_0x1cd3('0x2c89')][_0x1cd3('0x2a77')](),_0x38761a=this[_0x1cd3('0x29d9')](_0x2f51ab),_0x712608=null;if(null!=_0x38761a){if(_0x38761a['invalid']){var _0x418def=this[_0x1cd3('0x2c89')][_0x1cd3('0x2e6e')](_0x2f51ab);if(null!=_0x418def&&_0xe1a143[_0x1cd3('0x29dc')](_0x2f51ab)){var _0x52bd8f=this[_0x1cd3('0x29d9')](this['getVisibleTerminal'](_0x2f51ab,!0x0));_0x38761a[_0x1cd3('0x2fb5')](_0x52bd8f,!0x0);if(null!=_0x52bd8f&&_0xe1a143[_0x1cd3('0x29dc')](_0x52bd8f[_0x1cd3('0xefb')])&&!_0xe1a143[_0x1cd3('0x2ed4')](_0x52bd8f['cell'],_0x2f51ab)){var _0x2a8546=this[_0x1cd3('0x29d9')](_0xe1a143[_0x1cd3('0x2c9d')](_0x52bd8f[_0x1cd3('0xefb')]));this[_0x1cd3('0x3070')](_0x2a8546,_0x52bd8f[_0x1cd3('0xefb')]);}var _0x5bcba1=this[_0x1cd3('0x29d9')](this[_0x1cd3('0x2e5c')](_0x2f51ab,!0x1));_0x38761a[_0x1cd3('0x2fb5')](_0x5bcba1,!0x1);null!=_0x5bcba1&&(_0xe1a143['isEdge'](_0x5bcba1[_0x1cd3('0xefb')])&&!_0xe1a143['isAncestor'](_0x5bcba1[_0x1cd3('0xefb')],_0x2f51ab))&&(_0x2a8546=this[_0x1cd3('0x29d9')](_0xe1a143[_0x1cd3('0x2c9d')](_0x5bcba1[_0x1cd3('0xefb')])),this[_0x1cd3('0x3070')](_0x2a8546,_0x5bcba1[_0x1cd3('0xefb')]));this[_0x1cd3('0x307b')](_0x38761a,_0x52bd8f,_0x5bcba1);this[_0x1cd3('0x307c')](_0x38761a,_0x418def[_0x1cd3('0x2d9a')],_0x52bd8f,_0x5bcba1);this[_0x1cd3('0x307d')](_0x38761a,_0x52bd8f,_0x5bcba1);this['updateEdgeBounds'](_0x38761a);this[_0x1cd3('0x307e')](_0x38761a);}else null!=_0x418def&&(_0x418def[_0x1cd3('0x2d83')]&&null!=_0x45ab8f&&_0xe1a143[_0x1cd3('0x29dc')](_0x45ab8f[_0x1cd3('0xefb')]))&&(_0x418def=this['getPoint'](_0x45ab8f,_0x418def),null!=_0x418def&&(_0x38761a['x']=_0x418def['x'],_0x38761a['y']=_0x418def['y'],_0x418def['x']=_0x418def['x']/this['scale']-this[_0x1cd3('0x43c')]['x'],_0x418def['y']=_0x418def['y']/this[_0x1cd3('0x29df')]-this[_0x1cd3('0x43c')]['y'],_0x38761a[_0x1cd3('0x2fac')]=_0x418def,this[_0x1cd3('0x307f')](_0x45ab8f,_0x38761a)));_0x38761a['invalid']=!0x1;_0x2f51ab!=this[_0x1cd3('0x2e79')]&&this[_0x1cd3('0x2c89')][_0x1cd3('0x29e2')]['redraw'](_0x38761a,!0x1,this[_0x1cd3('0x3080')]());}if(_0xe1a143[_0x1cd3('0x29dc')](_0x2f51ab)||_0xe1a143[_0x1cd3('0x2c98')](_0x2f51ab))null!=_0x38761a['shape']&&null!=_0x38761a[_0x1cd3('0x29dd')][_0x1cd3('0x2dbd')]&&(_0x712608=_0x38761a['shape']['boundingBox']['clone']()),null!=_0x38761a[_0x1cd3('0x401')]&&!this[_0x1cd3('0x2c89')][_0x1cd3('0x3012')](_0x38761a[_0x1cd3('0xefb')])&&null!=_0x38761a[_0x1cd3('0x401')][_0x1cd3('0x2dbd')]&&(null!=_0x712608?_0x712608['add'](_0x38761a[_0x1cd3('0x401')][_0x1cd3('0x2dbd')]):_0x712608=_0x38761a[_0x1cd3('0x401')][_0x1cd3('0x2dbd')][_0x1cd3('0x1141')]());}if(null!=_0x38761a&&(!this[_0x1cd3('0x2c89')][_0x1cd3('0x2f1f')](_0x2f51ab)||_0x2f51ab==this[_0x1cd3('0x2e79')])){_0x418def=_0xe1a143[_0x1cd3('0x29e5')](_0x2f51ab);for(_0x52bd8f=0x0;_0x52bd8f<_0x418def;_0x52bd8f++)_0x2a8546=_0xe1a143[_0x1cd3('0x29e6')](_0x2f51ab,_0x52bd8f),_0x2a8546=this[_0x1cd3('0x3070')](_0x38761a,_0x2a8546),null!=_0x2a8546&&(null==_0x712608?_0x712608=_0x2a8546:_0x712608[_0x1cd3('0x425')](_0x2a8546));}return _0x712608;};mxGraphView[_0x1cd3('0x77a')]['childMoved']=function(_0x26c1f9,_0x358c0a){var _0x19c892=_0x358c0a[_0x1cd3('0xefb')];if(!this[_0x1cd3('0x2c89')]['isCellCollapsed'](_0x19c892)||_0x19c892==this[_0x1cd3('0x2e79')])for(var _0xd63ece=this[_0x1cd3('0x2c89')]['getModel'](),_0x39a262=_0xd63ece['getChildCount'](_0x19c892),_0xe780f3=0x0;_0xe780f3<_0x39a262;_0xe780f3++)this[_0x1cd3('0x306f')](_0x358c0a,_0xd63ece['getChildAt'](_0x19c892,_0xe780f3));};mxGraphView[_0x1cd3('0x77a')][_0x1cd3('0x307b')]=function(_0x114f2f,_0x49f5ed,_0x400620){this[_0x1cd3('0x3081')](_0x114f2f,_0x49f5ed,!0x0,this['graph']['getConnectionConstraint'](_0x114f2f,_0x49f5ed,!0x0));this[_0x1cd3('0x3081')](_0x114f2f,_0x400620,!0x1,this['graph'][_0x1cd3('0x3082')](_0x114f2f,_0x400620,!0x1));};mxGraphView['prototype']['updateFixedTerminalPoint']=function(_0x9d2a08,_0xab6da2,_0x2301ee,_0x56a2a0){var _0x42e09c=null;null!=_0x56a2a0&&(_0x42e09c=this[_0x1cd3('0x2c89')][_0x1cd3('0x3083')](_0xab6da2,_0x56a2a0));if(null==_0x42e09c&&null==_0xab6da2){_0xab6da2=this[_0x1cd3('0x29df')];_0x56a2a0=this[_0x1cd3('0x43c')];var _0x17c1da=_0x9d2a08[_0x1cd3('0x2fac')],_0x42e09c=this[_0x1cd3('0x2c89')][_0x1cd3('0x2e6e')](_0x9d2a08[_0x1cd3('0xefb')])[_0x1cd3('0x3084')](_0x2301ee);null!=_0x42e09c&&(_0x42e09c=new mxPoint(_0xab6da2*(_0x56a2a0['x']+_0x42e09c['x']+_0x17c1da['x']),_0xab6da2*(_0x56a2a0['y']+_0x42e09c['y']+_0x17c1da['y'])));}_0x9d2a08[_0x1cd3('0x2fb3')](_0x42e09c,_0x2301ee);};mxGraphView[_0x1cd3('0x77a')][_0x1cd3('0x307c')]=function(_0x4fc02f,_0x420378,_0x368b35,_0x4623b4){if(null!=_0x4fc02f){var _0xe3c350=[];_0xe3c350['push'](_0x4fc02f[_0x1cd3('0x2a59')][0x0]);var _0x2dd6ce=this[_0x1cd3('0x3085')](_0x4fc02f,_0x420378,_0x368b35,_0x4623b4);if(null!=_0x2dd6ce)_0x368b35=this[_0x1cd3('0x3086')](_0x4fc02f,_0x368b35,!0x0),_0x4623b4=this[_0x1cd3('0x3086')](_0x4fc02f,_0x4623b4,!0x1),_0x2dd6ce(_0x4fc02f,_0x368b35,_0x4623b4,_0x420378,_0xe3c350);else if(null!=_0x420378)for(_0x2dd6ce=0x0;_0x2dd6ce<_0x420378[_0x1cd3('0x7a')];_0x2dd6ce++)null!=_0x420378[_0x2dd6ce]&&(_0x4623b4=mxUtils['clone'](_0x420378[_0x2dd6ce]),_0xe3c350[_0x1cd3('0x7b')](this[_0x1cd3('0x303c')](_0x4fc02f,_0x4623b4)));_0x420378=_0x4fc02f[_0x1cd3('0x2a59')];_0xe3c350[_0x1cd3('0x7b')](_0x420378[_0x420378['length']-0x1]);_0x4fc02f[_0x1cd3('0x2a59')]=_0xe3c350;}};mxGraphView[_0x1cd3('0x77a')]['transformControlPoint']=function(_0x1669e8,_0x5408be){var _0x5f3562=_0x1669e8[_0x1cd3('0x2fac')];return new mxPoint(this[_0x1cd3('0x29df')]*(_0x5408be['x']+this[_0x1cd3('0x43c')]['x']+_0x5f3562['x']),this[_0x1cd3('0x29df')]*(_0x5408be['y']+this[_0x1cd3('0x43c')]['y']+_0x5f3562['y']));};mxGraphView[_0x1cd3('0x77a')][_0x1cd3('0x3085')]=function(_0x2b5310,_0x3840b9,_0x50f976,_0x551c9d){_0x2b5310=null!=_0x50f976&&_0x50f976==_0x551c9d?mxUtils[_0x1cd3('0x2a5a')](_0x2b5310['style'],mxConstants[_0x1cd3('0x3087')],this['graph'][_0x1cd3('0x3088')]):!mxUtils['getValue'](_0x2b5310[_0x1cd3('0x440')],mxConstants[_0x1cd3('0x2e64')],!0x1)?_0x2b5310[_0x1cd3('0x440')][mxConstants['STYLE_EDGE']]:null;_0x1cd3('0x961')==typeof _0x2b5310&&(_0x3840b9=mxStyleRegistry['getValue'](_0x2b5310),null==_0x3840b9&&this[_0x1cd3('0x3089')]()&&(_0x3840b9=mxUtils[_0x1cd3('0x2da7')](_0x2b5310)),_0x2b5310=_0x3840b9);return _0x1cd3('0x77c')==typeof _0x2b5310?_0x2b5310:null;};mxGraphView[_0x1cd3('0x77a')][_0x1cd3('0x307d')]=function(_0x216023,_0x5f543e,_0x1d7a82){var _0xb2f2b6=_0x216023['absolutePoints'],_0x15dd70=_0xb2f2b6[0x0];null==_0xb2f2b6[_0xb2f2b6[_0x1cd3('0x7a')]-0x1]&&null!=_0x1d7a82&&this[_0x1cd3('0x308a')](_0x216023,_0x1d7a82,_0x5f543e,!0x1);null==_0x15dd70&&null!=_0x5f543e&&this['updateFloatingTerminalPoint'](_0x216023,_0x5f543e,_0x1d7a82,!0x0);};mxGraphView[_0x1cd3('0x77a')][_0x1cd3('0x308a')]=function(_0x9d2d61,_0x82968c,_0x484d0c,_0xa1e30f){_0x82968c=this[_0x1cd3('0x3086')](_0x9d2d61,_0x82968c,_0xa1e30f);var _0xe8bfa7=this['getNextPoint'](_0x9d2d61,_0x484d0c,_0xa1e30f),_0x5a641c=this[_0x1cd3('0x2c89')][_0x1cd3('0x308b')](_0x9d2d61);_0x484d0c=mxUtils['toRadians'](Number(_0x82968c[_0x1cd3('0x440')][mxConstants[_0x1cd3('0x2a5d')]]||'0'));var _0x41b8cf=new mxPoint(_0x82968c[_0x1cd3('0x29d5')](),_0x82968c['getCenterY']());if(0x0!=_0x484d0c)var _0x4dcd41=Math['cos'](-_0x484d0c),_0x432c01=Math[_0x1cd3('0x2a4e')](-_0x484d0c),_0xe8bfa7=mxUtils['getRotatedPoint'](_0xe8bfa7,_0x4dcd41,_0x432c01,_0x41b8cf);_0x4dcd41=parseFloat(_0x9d2d61['style'][mxConstants['STYLE_PERIMETER_SPACING']]||0x0);_0x4dcd41+=parseFloat(_0x9d2d61['style'][_0xa1e30f?mxConstants[_0x1cd3('0x308c')]:mxConstants[_0x1cd3('0x308d')]]||0x0);_0x82968c=this[_0x1cd3('0x308e')](_0x82968c,_0xe8bfa7,0x0==_0x484d0c&&_0x5a641c,_0x4dcd41);0x0!=_0x484d0c&&(_0x4dcd41=Math['cos'](_0x484d0c),_0x432c01=Math[_0x1cd3('0x2a4e')](_0x484d0c),_0x82968c=mxUtils[_0x1cd3('0x2a52')](_0x82968c,_0x4dcd41,_0x432c01,_0x41b8cf));_0x9d2d61[_0x1cd3('0x2fb3')](_0x82968c,_0xa1e30f);};mxGraphView[_0x1cd3('0x77a')]['getTerminalPort']=function(_0x5f2821,_0x3d20a9,_0xd9e3d4){_0x5f2821=mxUtils[_0x1cd3('0x2a5a')](_0x5f2821[_0x1cd3('0x440')],_0xd9e3d4?mxConstants[_0x1cd3('0x308f')]:mxConstants[_0x1cd3('0x3090')]);null!=_0x5f2821&&(_0x5f2821=this[_0x1cd3('0x29d9')](this[_0x1cd3('0x2c89')]['getModel']()[_0x1cd3('0x2b1f')](_0x5f2821)),null!=_0x5f2821&&(_0x3d20a9=_0x5f2821));return _0x3d20a9;};mxGraphView[_0x1cd3('0x77a')][_0x1cd3('0x308e')]=function(_0x50a59f,_0x5d298b,_0x23c5df,_0x305492){var _0xd3557f=null;if(null!=_0x50a59f){var _0x23f283=this['getPerimeterFunction'](_0x50a59f);if(null!=_0x23f283&&null!=_0x5d298b&&(_0x305492=this[_0x1cd3('0x2fb1')](_0x50a59f,_0x305492),0x0<_0x305492[_0x1cd3('0x4d7')]||0x0<_0x305492[_0x1cd3('0x4e4')]))_0xd3557f=_0x23f283(_0x305492,_0x50a59f,_0x5d298b,_0x23c5df);null==_0xd3557f&&(_0xd3557f=this[_0x1cd3('0x29d8')](_0x50a59f));}return _0xd3557f;};mxGraphView['prototype'][_0x1cd3('0x303d')]=function(_0x53273f){var _0x100c5a=null!=_0x53273f[_0x1cd3('0x440')]?parseFloat(_0x53273f[_0x1cd3('0x440')][mxConstants[_0x1cd3('0x3091')]])||0x0:0x0;return _0x53273f[_0x1cd3('0x29d5')]()+_0x100c5a*_0x53273f[_0x1cd3('0x4d7')];};mxGraphView[_0x1cd3('0x77a')][_0x1cd3('0x303b')]=function(_0x38da2c){var _0x5d70a5=null!=_0x38da2c['style']?parseFloat(_0x38da2c[_0x1cd3('0x440')][mxConstants[_0x1cd3('0x3092')]])||0x0:0x0;return _0x38da2c[_0x1cd3('0x29d6')]()+_0x5d70a5*_0x38da2c[_0x1cd3('0x4e4')];};mxGraphView[_0x1cd3('0x77a')][_0x1cd3('0x2fb1')]=function(_0x171974,_0x45f395){_0x45f395=null!=_0x45f395?_0x45f395:0x0;null!=_0x171974&&(_0x45f395+=parseFloat(_0x171974[_0x1cd3('0x440')][mxConstants[_0x1cd3('0x3093')]]||0x0));return _0x171974[_0x1cd3('0x2fb1')](_0x45f395*this[_0x1cd3('0x29df')]);};mxGraphView[_0x1cd3('0x77a')][_0x1cd3('0x3094')]=function(_0x516c05){_0x516c05=_0x516c05['style'][mxConstants['STYLE_PERIMETER']];if(_0x1cd3('0x961')==typeof _0x516c05){var _0x5e3637=mxStyleRegistry[_0x1cd3('0x2a5a')](_0x516c05);null==_0x5e3637&&this[_0x1cd3('0x3089')]()&&(_0x5e3637=mxUtils[_0x1cd3('0x2da7')](_0x516c05));_0x516c05=_0x5e3637;}return _0x1cd3('0x77c')==typeof _0x516c05?_0x516c05:null;};mxGraphView['prototype'][_0x1cd3('0x3095')]=function(_0x1cc94f,_0x50b63f,_0x6ddbf1){_0x1cc94f=_0x1cc94f['absolutePoints'];var _0x2e042b=null;if(null!=_0x1cc94f&&(_0x6ddbf1||0x2<_0x1cc94f[_0x1cd3('0x7a')]||null==_0x50b63f))_0x2e042b=_0x1cc94f[_0x1cd3('0x7a')],_0x2e042b=_0x1cc94f[_0x6ddbf1?Math['min'](0x1,_0x2e042b-0x1):Math[_0x1cd3('0x13d1')](0x0,_0x2e042b-0x2)];null==_0x2e042b&&null!=_0x50b63f&&(_0x2e042b=new mxPoint(_0x50b63f[_0x1cd3('0x29d5')](),_0x50b63f['getCenterY']()));return _0x2e042b;};mxGraphView['prototype'][_0x1cd3('0x2e5c')]=function(_0x499fdb,_0x150543){for(var _0x2f4908=this['graph'][_0x1cd3('0x2a77')](),_0x1612ac=_0x2f4908['getTerminal'](_0x499fdb,_0x150543),_0x1e29f8=_0x1612ac;null!=_0x1612ac&&_0x1612ac!=this[_0x1cd3('0x2e79')];){if(!this[_0x1cd3('0x2c89')]['isCellVisible'](_0x1e29f8)||this[_0x1cd3('0x2c89')][_0x1cd3('0x2f1f')](_0x1612ac))_0x1e29f8=_0x1612ac;_0x1612ac=_0x2f4908['getParent'](_0x1612ac);}_0x2f4908[_0x1cd3('0x2c9d')](_0x1e29f8)==_0x2f4908[_0x1cd3('0x2a78')]()&&(_0x1e29f8=null);return _0x1e29f8;};mxGraphView['prototype'][_0x1cd3('0x3096')]=function(_0x1366fb){var _0x2689ad=_0x1366fb[_0x1cd3('0x2a59')];_0x1366fb[_0x1cd3('0x7a')]=0x0;if(null!=_0x2689ad&&0x0<_0x2689ad[_0x1cd3('0x7a')]){var _0x52aa0a=_0x2689ad[0x0],_0x527129=_0x2689ad[_0x2689ad['length']-0x1];if(null==_0x52aa0a||null==_0x527129)_0x1366fb[_0x1cd3('0xefb')]!=this[_0x1cd3('0x2e79')]&&this[_0x1cd3('0x785')](_0x1366fb[_0x1cd3('0xefb')],!0x0);else{if(_0x52aa0a['x']!=_0x527129['x']||_0x52aa0a['y']!=_0x527129['y']){var _0xc5a6ca=_0x527129['x']-_0x52aa0a['x'],_0x36d3e0=_0x527129['y']-_0x52aa0a['y'];_0x1366fb[_0x1cd3('0x2faf')]=Math[_0x1cd3('0x2a4f')](_0xc5a6ca*_0xc5a6ca+_0x36d3e0*_0x36d3e0);}else _0x1366fb[_0x1cd3('0x2faf')]=0x0;var _0x527129=0x0,_0x4b17ec=[],_0x36d3e0=_0x52aa0a;if(null!=_0x36d3e0){for(var _0x52aa0a=_0x36d3e0['x'],_0x6b97d2=_0x36d3e0['y'],_0x4394f9=_0x52aa0a,_0x533356=_0x6b97d2,_0x129f6d=0x1;_0x129f6d<_0x2689ad[_0x1cd3('0x7a')];_0x129f6d++){var _0x47ae07=_0x2689ad[_0x129f6d];null!=_0x47ae07&&(_0xc5a6ca=_0x36d3e0['x']-_0x47ae07['x'],_0x36d3e0=_0x36d3e0['y']-_0x47ae07['y'],_0xc5a6ca=Math['sqrt'](_0xc5a6ca*_0xc5a6ca+_0x36d3e0*_0x36d3e0),_0x4b17ec[_0x1cd3('0x7b')](_0xc5a6ca),_0x527129+=_0xc5a6ca,_0x36d3e0=_0x47ae07,_0x52aa0a=Math[_0x1cd3('0x4e3')](_0x36d3e0['x'],_0x52aa0a),_0x6b97d2=Math[_0x1cd3('0x4e3')](_0x36d3e0['y'],_0x6b97d2),_0x4394f9=Math[_0x1cd3('0x13d1')](_0x36d3e0['x'],_0x4394f9),_0x533356=Math[_0x1cd3('0x13d1')](_0x36d3e0['y'],_0x533356));}_0x1366fb[_0x1cd3('0x7a')]=_0x527129;_0x1366fb[_0x1cd3('0x2fb0')]=_0x4b17ec;_0x1366fb['x']=_0x52aa0a;_0x1366fb['y']=_0x6b97d2;_0x1366fb[_0x1cd3('0x4d7')]=Math[_0x1cd3('0x13d1')](0x1,_0x4394f9-_0x52aa0a);_0x1366fb[_0x1cd3('0x4e4')]=Math[_0x1cd3('0x13d1')](0x1,_0x533356-_0x6b97d2);}}}};mxGraphView[_0x1cd3('0x77a')][_0x1cd3('0x29d8')]=function(_0x27f829,_0x23a076){var _0x190791=_0x27f829['getCenterX'](),_0x88e529=_0x27f829[_0x1cd3('0x29d6')]();if(null!=_0x27f829['segments']&&(null==_0x23a076||_0x23a076[_0x1cd3('0x2d83')])){for(var _0xf8d491=_0x27f829[_0x1cd3('0x2a59')][_0x1cd3('0x7a')],_0x58b4cb=((null!=_0x23a076?_0x23a076['x']/0x2:0x0)+0.5)*_0x27f829[_0x1cd3('0x7a')],_0x18bcd1=_0x27f829[_0x1cd3('0x2fb0')][0x0],_0x3174db=0x0,_0x1a8de8=0x1;_0x58b4cb>_0x3174db+_0x18bcd1&&_0x1a8de8<_0xf8d491-0x1;)_0x3174db+=_0x18bcd1,_0x18bcd1=_0x27f829[_0x1cd3('0x2fb0')][_0x1a8de8++];_0xf8d491=0x0==_0x18bcd1?0x0:(_0x58b4cb-_0x3174db)/_0x18bcd1;_0x58b4cb=_0x27f829[_0x1cd3('0x2a59')][_0x1a8de8-0x1];_0x1a8de8=_0x27f829[_0x1cd3('0x2a59')][_0x1a8de8];if(null!=_0x58b4cb&&null!=_0x1a8de8){_0x3174db=_0x190791=_0x88e529=0x0;if(null!=_0x23a076){var _0x88e529=_0x23a076['y'],_0x2da2f6=_0x23a076[_0x1cd3('0xd57')];null!=_0x2da2f6&&(_0x190791=_0x2da2f6['x'],_0x3174db=_0x2da2f6['y']);}_0x2da2f6=_0x1a8de8['x']-_0x58b4cb['x'];_0x1a8de8=_0x1a8de8['y']-_0x58b4cb['y'];_0x190791=_0x58b4cb['x']+_0x2da2f6*_0xf8d491+((0x0==_0x18bcd1?0x0:_0x1a8de8/_0x18bcd1)*_0x88e529+_0x190791)*this['scale'];_0x88e529=_0x58b4cb['y']+_0x1a8de8*_0xf8d491-((0x0==_0x18bcd1?0x0:_0x2da2f6/_0x18bcd1)*_0x88e529-_0x3174db)*this[_0x1cd3('0x29df')];}}else null!=_0x23a076&&(_0x2da2f6=_0x23a076[_0x1cd3('0xd57')],null!=_0x2da2f6&&(_0x190791+=_0x2da2f6['x'],_0x88e529+=_0x2da2f6['y']));return new mxPoint(_0x190791,_0x88e529);};mxGraphView[_0x1cd3('0x77a')][_0x1cd3('0x3097')]=function(_0x597474,_0x2c111a,_0x46f3fa){var _0x2a8b60=this[_0x1cd3('0x2c89')][_0x1cd3('0x2a77')]()[_0x1cd3('0x2e67')](_0x597474[_0x1cd3('0xefb')]);if(null!=_0x2a8b60){var _0x34766e=_0x597474[_0x1cd3('0x2a59')][_0x1cd3('0x7a')];if(_0x2a8b60[_0x1cd3('0x2d83')]&&0x1<_0x34766e){for(var _0x2a8b60=_0x597474[_0x1cd3('0x7a')],_0x238070=_0x597474['segments'],_0x176efd=_0x597474[_0x1cd3('0x2a59')][0x0],_0x289fa4=_0x597474[_0x1cd3('0x2a59')][0x1],_0x8ed17f=mxUtils[_0x1cd3('0x3098')](_0x176efd['x'],_0x176efd['y'],_0x289fa4['x'],_0x289fa4['y'],_0x2c111a,_0x46f3fa),_0xc5f893=0x0,_0x1555d8=0x0,_0x182955=0x0,_0x26936a=0x2;_0x26936a<_0x34766e;_0x26936a++)_0x1555d8+=_0x238070[_0x26936a-0x2],_0x289fa4=_0x597474[_0x1cd3('0x2a59')][_0x26936a],_0x176efd=mxUtils[_0x1cd3('0x3098')](_0x176efd['x'],_0x176efd['y'],_0x289fa4['x'],_0x289fa4['y'],_0x2c111a,_0x46f3fa),_0x176efd<=_0x8ed17f&&(_0x8ed17f=_0x176efd,_0xc5f893=_0x26936a-0x1,_0x182955=_0x1555d8),_0x176efd=_0x289fa4;_0x34766e=_0x238070[_0xc5f893];_0x176efd=_0x597474[_0x1cd3('0x2a59')][_0xc5f893];_0x289fa4=_0x597474[_0x1cd3('0x2a59')][_0xc5f893+0x1];_0x8ed17f=_0x289fa4['x'];_0x238070=_0x289fa4['y'];_0x597474=_0x176efd['x']-_0x8ed17f;_0xc5f893=_0x176efd['y']-_0x238070;_0x8ed17f=_0x2c111a-_0x8ed17f;_0x238070=_0x46f3fa-_0x238070;_0x8ed17f=_0x597474-_0x8ed17f;_0x238070=_0xc5f893-_0x238070;_0x238070=_0x8ed17f*_0x597474+_0x238070*_0xc5f893;_0x597474=Math[_0x1cd3('0x2a4f')](0x0>=_0x238070?0x0:_0x238070*_0x238070/(_0x597474*_0x597474+_0xc5f893*_0xc5f893));_0x597474>_0x34766e&&(_0x597474=_0x34766e);_0x34766e=Math[_0x1cd3('0x2a4f')](mxUtils[_0x1cd3('0x3098')](_0x176efd['x'],_0x176efd['y'],_0x289fa4['x'],_0x289fa4['y'],_0x2c111a,_0x46f3fa));-0x1==mxUtils[_0x1cd3('0x3099')](_0x176efd['x'],_0x176efd['y'],_0x289fa4['x'],_0x289fa4['y'],_0x2c111a,_0x46f3fa)&&(_0x34766e=-_0x34766e);return new mxPoint(-0x2*((_0x2a8b60/0x2-_0x182955-_0x597474)/_0x2a8b60),_0x34766e/this['scale']);}}return new mxPoint();};mxGraphView[_0x1cd3('0x77a')][_0x1cd3('0x307e')]=function(_0x282068){var _0x2ed124=_0x282068[_0x1cd3('0x2a59')];_0x282068['absoluteOffset']['x']=_0x282068[_0x1cd3('0x29d5')]();_0x282068[_0x1cd3('0x2faa')]['y']=_0x282068[_0x1cd3('0x29d6')]();if(null!=_0x2ed124&&0x0<_0x2ed124[_0x1cd3('0x7a')]&&null!=_0x282068[_0x1cd3('0x2fb0')]){var _0x52e151=this[_0x1cd3('0x2c89')][_0x1cd3('0x2e6e')](_0x282068[_0x1cd3('0xefb')]);if(_0x52e151[_0x1cd3('0x2d83')]){var _0xc92718=this['getPoint'](_0x282068,_0x52e151);null!=_0xc92718&&(_0x282068[_0x1cd3('0x2faa')]=_0xc92718);}else{var _0xc92718=_0x2ed124[0x0],_0xb6db1d=_0x2ed124[_0x2ed124['length']-0x1];if(null!=_0xc92718&&null!=_0xb6db1d){var _0x2ed124=_0xb6db1d['x']-_0xc92718['x'],_0x581cd1=_0xb6db1d['y']-_0xc92718['y'],_0xff3e15=_0xb6db1d=0x0,_0x52e151=_0x52e151[_0x1cd3('0xd57')];null!=_0x52e151&&(_0xb6db1d=_0x52e151['x'],_0xff3e15=_0x52e151['y']);_0x52e151=_0xc92718['y']+_0x581cd1/0x2+_0xff3e15*this[_0x1cd3('0x29df')];_0x282068[_0x1cd3('0x2faa')]['x']=_0xc92718['x']+_0x2ed124/0x2+_0xb6db1d*this['scale'];_0x282068[_0x1cd3('0x2faa')]['y']=_0x52e151;}}}};mxGraphView[_0x1cd3('0x77a')][_0x1cd3('0x29d9')]=function(_0x2f8af3,_0x5eea76){_0x5eea76=_0x5eea76||!0x1;var _0x329b9f=null;null!=_0x2f8af3&&(_0x329b9f=this[_0x1cd3('0x2caa')][_0x1cd3('0x361')](_0x2f8af3),this[_0x1cd3('0x2c89')]['isCellVisible'](_0x2f8af3)&&(null==_0x329b9f&&_0x5eea76&&this[_0x1cd3('0x2c89')]['isCellVisible'](_0x2f8af3)?(_0x329b9f=this[_0x1cd3('0x2cb3')](_0x2f8af3),this[_0x1cd3('0x2caa')]['put'](_0x2f8af3,_0x329b9f)):_0x5eea76&&(null!=_0x329b9f&&this[_0x1cd3('0x3062')])&&(_0x329b9f[_0x1cd3('0x440')]=this[_0x1cd3('0x2c89')][_0x1cd3('0x2e7a')](_0x2f8af3))));return _0x329b9f;};mxGraphView[_0x1cd3('0x77a')][_0x1cd3('0x3080')]=function(){return this['rendering'];};mxGraphView[_0x1cd3('0x77a')][_0x1cd3('0x309a')]=function(_0x2f935e){this[_0x1cd3('0x309b')]=_0x2f935e;};mxGraphView['prototype'][_0x1cd3('0x3089')]=function(){return this[_0x1cd3('0x3060')];};mxGraphView[_0x1cd3('0x77a')][_0x1cd3('0x309c')]=function(_0x30ac75){this[_0x1cd3('0x3060')]=_0x30ac75;};mxGraphView[_0x1cd3('0x77a')]['getStates']=function(){return this[_0x1cd3('0x2caa')];};mxGraphView['prototype'][_0x1cd3('0x2d90')]=function(_0x1ce987){this[_0x1cd3('0x2caa')]=_0x1ce987;};mxGraphView[_0x1cd3('0x77a')][_0x1cd3('0x309d')]=function(_0x265430){if(null==_0x265430)return this[_0x1cd3('0x2caa')];for(var _0x474136=[],_0x57c67d=0x0;_0x57c67d<_0x265430[_0x1cd3('0x7a')];_0x57c67d++){var _0x184b01=this['getState'](_0x265430[_0x57c67d]);null!=_0x184b01&&_0x474136[_0x1cd3('0x7b')](_0x184b01);}return _0x474136;};mxGraphView[_0x1cd3('0x77a')][_0x1cd3('0x3079')]=function(_0x21b8f8){var _0x6f9055=null;null!=_0x21b8f8&&(_0x6f9055=this[_0x1cd3('0x2caa')][_0x1cd3('0x383')](_0x21b8f8),null!=_0x6f9055&&(this[_0x1cd3('0x2c89')][_0x1cd3('0x29e2')][_0x1cd3('0x2bcb')](_0x6f9055),_0x6f9055[_0x1cd3('0x2bcb')]()));return _0x6f9055;};mxGraphView[_0x1cd3('0x77a')]['createState']=function(_0x42a765){var _0x2a9e9e=this['graph'][_0x1cd3('0x2e7a')](_0x42a765);_0x42a765=new mxCellState(this,_0x42a765,_0x2a9e9e);this[_0x1cd3('0x2c89')][_0x1cd3('0x29e2')][_0x1cd3('0x6f8')](_0x42a765,this[_0x1cd3('0x3080')]());return _0x42a765;};mxGraphView['prototype'][_0x1cd3('0x2f94')]=function(){return this['canvas'];};mxGraphView[_0x1cd3('0x77a')][_0x1cd3('0x2f95')]=function(){return this['backgroundPane'];};mxGraphView[_0x1cd3('0x77a')]['getDrawPane']=function(){return this[_0x1cd3('0x2a7b')];};mxGraphView[_0x1cd3('0x77a')][_0x1cd3('0x2d9b')]=function(){return this[_0x1cd3('0x2a81')];};mxGraphView[_0x1cd3('0x77a')][_0x1cd3('0x309e')]=function(_0x1b3ee5){_0x1b3ee5=mxEvent[_0x1cd3('0x2b17')](_0x1b3ee5);return _0x1b3ee5==this[_0x1cd3('0x2c89')][_0x1cd3('0x4ce')]||_0x1b3ee5[_0x1cd3('0x29ea')]==this[_0x1cd3('0x2f96')]||null!=_0x1b3ee5[_0x1cd3('0x29ea')]&&_0x1b3ee5['parentNode'][_0x1cd3('0x29ea')]==this[_0x1cd3('0x2f96')]||_0x1b3ee5==this[_0x1cd3('0x2a7e')][_0x1cd3('0x29ea')]||_0x1b3ee5==this[_0x1cd3('0x2a7e')]||_0x1b3ee5==this[_0x1cd3('0x2f96')]||_0x1b3ee5==this[_0x1cd3('0x2a7b')]||_0x1b3ee5==this[_0x1cd3('0x2a81')];};mxGraphView[_0x1cd3('0x77a')][_0x1cd3('0x309f')]=function(_0xb64c2c){var _0x434811=mxUtils[_0x1cd3('0x2a61')](this[_0x1cd3('0x2c89')][_0x1cd3('0x4ce')]);_0xb64c2c=new mxPoint(_0xb64c2c[_0x1cd3('0x2b48')]-_0x434811['x'],_0xb64c2c[_0x1cd3('0x30a0')]-_0x434811['y']);var _0x434811=this['graph'][_0x1cd3('0x4ce')][_0x1cd3('0x2a1f')],_0x503fd8=this[_0x1cd3('0x2c89')]['container'][_0x1cd3('0x29b5')];if(_0x434811>_0x503fd8&&_0xb64c2c['x']>_0x503fd8+0x2&&_0xb64c2c['x']<=_0x434811)return!0x0;_0x434811=this[_0x1cd3('0x2c89')][_0x1cd3('0x4ce')]['offsetHeight'];_0x503fd8=this['graph'][_0x1cd3('0x4ce')]['clientHeight'];return _0x434811>_0x503fd8&&_0xb64c2c['y']>_0x503fd8+0x2&&_0xb64c2c['y']<=_0x434811?!0x0:!0x1;};mxGraphView[_0x1cd3('0x77a')][_0x1cd3('0xe08')]=function(){this[_0x1cd3('0x2ffa')]();var _0x461e22=this['graph'];_0x461e22[_0x1cd3('0x2d98')]==mxConstants['DIALECT_SVG']?this[_0x1cd3('0x2dc1')]():_0x461e22[_0x1cd3('0x2d98')]==mxConstants[_0x1cd3('0x2d99')]?this[_0x1cd3('0x2dc3')]():this[_0x1cd3('0x2dc2')]();};mxGraphView[_0x1cd3('0x77a')][_0x1cd3('0x2ffa')]=function(){var _0x43d987=this[_0x1cd3('0x2c89')],_0x57331f=_0x43d987[_0x1cd3('0x4ce')];if(null!=_0x57331f){mxEvent[_0x1cd3('0x2b32')](_0x57331f,mxUtils[_0x1cd3('0x5b2')](this,function(_0xfee0e7){mxClient[_0x1cd3('0x2b2e')]&&_0x43d987[_0x1cd3('0x301e')]()&&_0x43d987[_0x1cd3('0x2fce')](!_0x43d987['isInvokesStopCellEditing']());this[_0x1cd3('0x309e')](_0xfee0e7)&&(!mxClient[_0x1cd3('0x298a')]&&!mxClient['IS_GC']&&!mxClient[_0x1cd3('0x2983')]&&!mxClient['IS_SF']||!this[_0x1cd3('0x309f')](_0xfee0e7))&&_0x43d987[_0x1cd3('0x2b33')](mxEvent[_0x1cd3('0x2b34')],new mxMouseEvent(_0xfee0e7));}),mxUtils[_0x1cd3('0x5b2')](this,function(_0x4deaa3){this[_0x1cd3('0x309e')](_0x4deaa3)&&_0x43d987[_0x1cd3('0x2b33')](mxEvent[_0x1cd3('0x2b35')],new mxMouseEvent(_0x4deaa3));}),mxUtils[_0x1cd3('0x5b2')](this,function(_0x3987bf){this[_0x1cd3('0x309e')](_0x3987bf)&&_0x43d987['fireMouseEvent'](mxEvent[_0x1cd3('0x2b36')],new mxMouseEvent(_0x3987bf));}));mxEvent[_0x1cd3('0x29ba')](_0x57331f,'dblclick',mxUtils['bind'](this,function(_0x560be8){_0x43d987[_0x1cd3('0x2b37')](_0x560be8);}));var _0xa67ee6=function(_0x39203e){var _0x2b4ff8=null;mxClient[_0x1cd3('0x2b2e')]&&(_0x2b4ff8=mxEvent[_0x1cd3('0x2b19')](_0x39203e),_0x39203e=mxEvent['getClientY'](_0x39203e),_0x39203e=mxUtils[_0x1cd3('0x3027')](_0x57331f,_0x2b4ff8,_0x39203e),_0x2b4ff8=_0x43d987['view'][_0x1cd3('0x29d9')](_0x43d987[_0x1cd3('0x2bf3')](_0x39203e['x'],_0x39203e['y'])));return _0x2b4ff8;};_0x43d987[_0x1cd3('0x2c62')]({'mouseDown':function(_0x104aad,_0x13d8c2){_0x43d987['panningHandler'][_0x1cd3('0x2c11')]();},'mouseMove':function(){},'mouseUp':function(){}});this['moveHandler']=mxUtils[_0x1cd3('0x5b2')](this,function(_0x15af15){null!=_0x43d987[_0x1cd3('0x3076')]&&_0x43d987[_0x1cd3('0x3076')][_0x1cd3('0x30a1')]()&&_0x43d987[_0x1cd3('0x3076')][_0x1cd3('0x39d')]();this[_0x1cd3('0x30a2')]&&(_0x43d987[_0x1cd3('0x2bfd')]&&!mxEvent['isConsumed'](_0x15af15))&&_0x43d987['fireMouseEvent'](mxEvent[_0x1cd3('0x2b35')],new mxMouseEvent(_0x15af15,_0xa67ee6(_0x15af15)));});this[_0x1cd3('0x30a3')]=mxUtils[_0x1cd3('0x5b2')](this,function(_0x547940){this[_0x1cd3('0x30a2')]&&_0x43d987[_0x1cd3('0x2b33')](mxEvent[_0x1cd3('0x2b36')],new mxMouseEvent(_0x547940));});mxEvent[_0x1cd3('0x2b32')](document,null,this[_0x1cd3('0x30a4')],this[_0x1cd3('0x30a3')]);}};mxGraphView[_0x1cd3('0x77a')][_0x1cd3('0x2dc2')]=function(){var _0x991a5d=this[_0x1cd3('0x2c89')][_0x1cd3('0x4ce')];null!=_0x991a5d&&(this[_0x1cd3('0x2a7e')]=this[_0x1cd3('0x30a5')](_0x1cd3('0x29a1'),_0x1cd3('0x29a1')),this[_0x1cd3('0x2f96')]=this[_0x1cd3('0x30a5')](_0x1cd3('0x2bc0'),_0x1cd3('0x2bc0')),this[_0x1cd3('0x2a7b')]=this[_0x1cd3('0x30a5')](_0x1cd3('0x2bc0'),_0x1cd3('0x2bc0')),this[_0x1cd3('0x2a81')]=this['createHtmlPane']('1px',_0x1cd3('0x2bc0')),this[_0x1cd3('0x2a7e')][_0x1cd3('0xd4e')](this[_0x1cd3('0x2f96')]),this[_0x1cd3('0x2a7e')]['appendChild'](this['drawPane']),this[_0x1cd3('0x2a7e')][_0x1cd3('0xd4e')](this[_0x1cd3('0x2a81')]),_0x991a5d[_0x1cd3('0xd4e')](this['canvas']),mxClient[_0x1cd3('0x2a75')]&&(_0x991a5d=mxUtils['bind'](this,function(_0x4ef677){_0x4ef677=this[_0x1cd3('0x2a84')]();this['updateHtmlCanvasSize'](_0x4ef677['x']+_0x4ef677[_0x1cd3('0x4d7')]+this['graph']['border'],_0x4ef677['y']+_0x4ef677[_0x1cd3('0x4e4')]+this[_0x1cd3('0x2c89')][_0x1cd3('0x2c6a')]);}),mxEvent[_0x1cd3('0x29ba')](window,_0x1cd3('0x29a4'),_0x991a5d)));};mxGraphView[_0x1cd3('0x77a')]['updateHtmlCanvasSize']=function(_0x4671f4,_0x3b850e){if(null!=this[_0x1cd3('0x2c89')]['container']){var _0x5acae5=this['graph']['container'][_0x1cd3('0x535')];this[_0x1cd3('0x2a7e')][_0x1cd3('0x440')][_0x1cd3('0x4d7')]=this[_0x1cd3('0x2c89')][_0x1cd3('0x4ce')][_0x1cd3('0x2a1f')]<_0x4671f4?_0x4671f4+'px':_0x1cd3('0x29a1');this['canvas']['style']['height']=_0x5acae5<_0x3b850e?_0x3b850e+'px':_0x1cd3('0x29a1');}};mxGraphView['prototype'][_0x1cd3('0x30a5')]=function(_0x3b0ea2,_0x186dcb){var _0x5b0251=document[_0x1cd3('0x3aa')]('DIV');null!=_0x3b0ea2&&null!=_0x186dcb?(_0x5b0251['style']['position']=_0x1cd3('0x532'),_0x5b0251[_0x1cd3('0x440')][_0x1cd3('0x762')]=_0x1cd3('0x538'),_0x5b0251[_0x1cd3('0x440')][_0x1cd3('0x712')]=_0x1cd3('0x538'),_0x5b0251[_0x1cd3('0x440')][_0x1cd3('0x4d7')]=_0x3b0ea2,_0x5b0251[_0x1cd3('0x440')]['height']=_0x186dcb):_0x5b0251[_0x1cd3('0x440')][_0x1cd3('0x679')]=_0x1cd3('0x2d83');return _0x5b0251;};mxGraphView[_0x1cd3('0x77a')][_0x1cd3('0x2dc3')]=function(){var _0x4d1105=this[_0x1cd3('0x2c89')][_0x1cd3('0x4ce')];if(null!=_0x4d1105){var _0x3c57d6=_0x4d1105['offsetWidth'],_0x3558e9=_0x4d1105['offsetHeight'];this[_0x1cd3('0x2a7e')]=this[_0x1cd3('0x30a6')](_0x3c57d6,_0x3558e9);this[_0x1cd3('0x2f96')]=this[_0x1cd3('0x30a6')](_0x3c57d6,_0x3558e9);this[_0x1cd3('0x2a7b')]=this[_0x1cd3('0x30a6')](_0x3c57d6,_0x3558e9);this[_0x1cd3('0x2a81')]=this[_0x1cd3('0x30a6')](_0x3c57d6,_0x3558e9);this[_0x1cd3('0x2a7e')][_0x1cd3('0xd4e')](this['backgroundPane']);this[_0x1cd3('0x2a7e')][_0x1cd3('0xd4e')](this[_0x1cd3('0x2a7b')]);this[_0x1cd3('0x2a7e')][_0x1cd3('0xd4e')](this[_0x1cd3('0x2a81')]);_0x4d1105[_0x1cd3('0xd4e')](this[_0x1cd3('0x2a7e')]);}};mxGraphView[_0x1cd3('0x77a')]['createVmlPane']=function(_0x3f5a74,_0x556aa6){var _0x3a7973=document['createElement'](mxClient[_0x1cd3('0x2992')]+_0x1cd3('0x2d82'));_0x3a7973['style'][_0x1cd3('0x679')]=_0x1cd3('0x532');_0x3a7973[_0x1cd3('0x440')]['left']=_0x1cd3('0x538');_0x3a7973['style'][_0x1cd3('0x712')]=_0x1cd3('0x538');_0x3a7973[_0x1cd3('0x440')][_0x1cd3('0x4d7')]=_0x3f5a74+'px';_0x3a7973[_0x1cd3('0x440')][_0x1cd3('0x4e4')]=_0x556aa6+'px';_0x3a7973[_0x1cd3('0x481')](_0x1cd3('0x2d63'),_0x3f5a74+','+_0x556aa6);_0x3a7973[_0x1cd3('0x481')](_0x1cd3('0x30a7'),_0x1cd3('0x30a8'));return _0x3a7973;};mxGraphView[_0x1cd3('0x77a')][_0x1cd3('0x2dc1')]=function(){var _0x27194f=this[_0x1cd3('0x2c89')]['container'];this['canvas']=document['createElementNS'](mxConstants[_0x1cd3('0x2a7d')],'g');this['backgroundPane']=document['createElementNS'](mxConstants[_0x1cd3('0x2a7d')],'g');this['canvas'][_0x1cd3('0xd4e')](this[_0x1cd3('0x2f96')]);this[_0x1cd3('0x2a7b')]=document[_0x1cd3('0x2a7f')](mxConstants[_0x1cd3('0x2a7d')],'g');this[_0x1cd3('0x2a7e')][_0x1cd3('0xd4e')](this[_0x1cd3('0x2a7b')]);this[_0x1cd3('0x2a81')]=document[_0x1cd3('0x2a7f')](mxConstants[_0x1cd3('0x2a7d')],'g');this[_0x1cd3('0x2a7e')]['appendChild'](this['overlayPane']);var _0x12865b=document['createElementNS'](mxConstants['NS_SVG'],'svg');_0x12865b['style'][_0x1cd3('0x4d7')]='100%';_0x12865b[_0x1cd3('0x440')][_0x1cd3('0x4e4')]='100%';_0x12865b['style'][_0x1cd3('0x6ac')]=_0x1cd3('0x574');_0x12865b[_0x1cd3('0xd4e')](this[_0x1cd3('0x2a7e')]);null!=_0x27194f&&(_0x27194f[_0x1cd3('0xd4e')](_0x12865b),_0x1cd3('0x30a9')==mxUtils[_0x1cd3('0x29f0')](_0x27194f)['position']&&(_0x27194f[_0x1cd3('0x440')][_0x1cd3('0x679')]=_0x1cd3('0x2d83')));};mxGraphView['prototype']['destroy']=function(){var _0x4cc319=null!=this[_0x1cd3('0x2a7e')]?this[_0x1cd3('0x2a7e')]['ownerSVGElement']:null;null==_0x4cc319&&(_0x4cc319=this[_0x1cd3('0x2a7e')]);null!=_0x4cc319&&null!=_0x4cc319['parentNode']&&(this[_0x1cd3('0x785')](this[_0x1cd3('0x2e79')],!0x0),mxEvent[_0x1cd3('0x2bb5')](document,null,this[_0x1cd3('0x30a4')],this['endHandler']),mxEvent[_0x1cd3('0x2bd2')](this[_0x1cd3('0x2c89')][_0x1cd3('0x4ce')]),_0x4cc319[_0x1cd3('0x29ea')][_0x1cd3('0x1817')](_0x4cc319),this['overlayPane']=this[_0x1cd3('0x2a7b')]=this[_0x1cd3('0x2f96')]=this[_0x1cd3('0x2a7e')]=this['endHandler']=this[_0x1cd3('0x30a4')]=null);};function mxCurrentRootChange(_0x57b3e6,_0x1c17ca){this[_0x1cd3('0x1665')]=_0x57b3e6;this[_0x1cd3('0x29e0')]=this[_0x1cd3('0x554')]=_0x1c17ca;this[_0x1cd3('0x30aa')]=null==_0x1c17ca;if(!this[_0x1cd3('0x30aa')])for(var _0x4a4e70=this['view'][_0x1cd3('0x2e79')],_0x14b3b9=this[_0x1cd3('0x1665')][_0x1cd3('0x2c89')][_0x1cd3('0x2a77')]();null!=_0x4a4e70;){if(_0x4a4e70==_0x1c17ca){this[_0x1cd3('0x30aa')]=!0x0;break;}_0x4a4e70=_0x14b3b9[_0x1cd3('0x2c9d')](_0x4a4e70);}}mxCurrentRootChange[_0x1cd3('0x77a')][_0x1cd3('0x2b5b')]=function(){var _0x5c8231=this[_0x1cd3('0x1665')][_0x1cd3('0x2e79')];this[_0x1cd3('0x1665')][_0x1cd3('0x2e79')]=this[_0x1cd3('0x29e0')];this[_0x1cd3('0x29e0')]=_0x5c8231;_0x5c8231=this[_0x1cd3('0x1665')][_0x1cd3('0x2c89')][_0x1cd3('0x30ab')](this[_0x1cd3('0x1665')][_0x1cd3('0x2e79')]);null!=_0x5c8231&&(this['view'][_0x1cd3('0x43c')]=new mxPoint(-_0x5c8231['x'],-_0x5c8231['y']));this[_0x1cd3('0x1665')][_0x1cd3('0x2b28')](new mxEventObject(this[_0x1cd3('0x30aa')]?mxEvent['UP']:mxEvent[_0x1cd3('0x30ac')],_0x1cd3('0x554'),this[_0x1cd3('0x1665')][_0x1cd3('0x2e79')],_0x1cd3('0x29e0'),this[_0x1cd3('0x29e0')]));this[_0x1cd3('0x30aa')]?(this[_0x1cd3('0x1665')][_0x1cd3('0x785')](this[_0x1cd3('0x1665')][_0x1cd3('0x2e79')],!0x0),this['view']['validate']()):this[_0x1cd3('0x1665')][_0x1cd3('0x8fa')]();this[_0x1cd3('0x30aa')]=!this['isUp'];};function mxGraph(_0xce6419,_0x5d538d,_0x58ba80,_0x121169){this['mouseListeners']=null;this[_0x1cd3('0x30ad')]=_0x58ba80;this['dialect']=mxClient[_0x1cd3('0x2978')]?mxConstants[_0x1cd3('0x2a7c')]:_0x58ba80==mxConstants[_0x1cd3('0x30ae')]&&mxClient[_0x1cd3('0x2977')]?mxConstants[_0x1cd3('0x2d99')]:_0x58ba80==mxConstants[_0x1cd3('0x30af')]?mxConstants['DIALECT_STRICTHTML']:_0x58ba80==mxConstants['RENDERING_HINT_FASTER']?mxConstants[_0x1cd3('0x3024')]:mxConstants['DIALECT_MIXEDHTML'];this['model']=null!=_0x5d538d?_0x5d538d:new mxGraphModel();this[_0x1cd3('0x30b0')]=[];this[_0x1cd3('0x30b1')]=[];this[_0x1cd3('0x29e2')]=this[_0x1cd3('0x30b2')]();this[_0x1cd3('0x30b3')](this[_0x1cd3('0x30b4')]());this[_0x1cd3('0x30b5')](null!=_0x121169?_0x121169:this['createStylesheet']());this[_0x1cd3('0x1665')]=this[_0x1cd3('0x30b6')]();this[_0x1cd3('0x30b7')]=mxUtils[_0x1cd3('0x5b2')](this,function(_0x152e28,_0x6e9e17){this['graphModelChanged'](_0x6e9e17[_0x1cd3('0x2b12')](_0x1cd3('0xea4'))[_0x1cd3('0x2c2b')]);});this[_0x1cd3('0x42e')][_0x1cd3('0x29ba')](mxEvent[_0x1cd3('0x2c45')],this['graphModelChangeListener']);this[_0x1cd3('0x30b8')]();null!=_0xce6419&&this[_0x1cd3('0xe08')](_0xce6419);this[_0x1cd3('0x1665')][_0x1cd3('0x3065')]();}mxLoadResources&&mxResources['add'](mxClient[_0x1cd3('0x298b')]+_0x1cd3('0x30b9'));mxGraph['prototype']=new mxEventSource();mxGraph[_0x1cd3('0x77a')]['constructor']=mxGraph;mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x30ba')]=[];mxGraph['prototype'][_0x1cd3('0x30bb')]=null;mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x2bfd')]=!0x1;mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x42e')]=null;mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x1665')]=null;mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x298f')]=null;mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x2fc5')]=null;mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x30bc')]=null;mxGraph[_0x1cd3('0x77a')]['cellRenderer']=null;mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x30b0')]=null;mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x30ad')]=null;mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x2d98')]=null;mxGraph['prototype'][_0x1cd3('0x2c06')]=0xa;mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x2beb')]=!0x0;mxGraph['prototype']['portsEnabled']=!0x0;mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x30bd')]=!0x0;mxGraph[_0x1cd3('0x77a')]['doubleTapTimeout']=0x2bc;mxGraph[_0x1cd3('0x77a')]['doubleTapTolerance']=0x19;mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x30be')]=0x0;mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x30be')]=0x0;mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x3029')]=0x0;mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x302b')]=!0x0;mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x30bf')]=0x4;mxGraph['prototype'][_0x1cd3('0x30c0')]=0.5;mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x30c1')]=null;mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x30c2')]=null;mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x2dfc')]=null;mxGraph[_0x1cd3('0x77a')]['pageVisible']=!0x1;mxGraph['prototype'][_0x1cd3('0x30c3')]=!0x1;mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x30c4')]='gray';mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x30c5')]=!0x0;mxGraph['prototype'][_0x1cd3('0x30c6')]=0x14;mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x30c7')]=!0x1;mxGraph['prototype'][_0x1cd3('0x2f77')]=mxConstants[_0x1cd3('0x2a83')];mxGraph['prototype'][_0x1cd3('0x2f76')]=1.5;mxGraph['prototype'][_0x1cd3('0x396')]=!0x0;mxGraph['prototype'][_0x1cd3('0x30c8')]=!0x0;mxGraph['prototype'][_0x1cd3('0x30c9')]=!0x0;mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x30ca')]=!0x1;mxGraph[_0x1cd3('0x77a')]['useScrollbarsForPanning']=!0x0;mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x30cb')]=!0x0;mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x30cc')]=!0x0;mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x30cd')]=!0x1;mxGraph[_0x1cd3('0x77a')]['cellsCloneable']=!0x0;mxGraph['prototype'][_0x1cd3('0x30ce')]=!0x0;mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x30cf')]=!0x0;mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x30d0')]=!0x0;mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x30d1')]=!0x0;mxGraph['prototype'][_0x1cd3('0x30d2')]=!0x0;mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x30d3')]=!0x1;mxGraph['prototype'][_0x1cd3('0x30d4')]=!0x1;mxGraph[_0x1cd3('0x77a')]['splitEnabled']=!0x0;mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x30d5')]=!0x0;mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x30d6')]=!0x0;mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x30d7')]=!0x0;mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x30d8')]=!0x0;mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x30d9')]=!0x1;mxGraph[_0x1cd3('0x77a')]['autoScroll']=!0x0;mxGraph['prototype'][_0x1cd3('0x30da')]=!0x1;mxGraph[_0x1cd3('0x77a')]['allowAutoPanning']=!0x1;mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x30db')]=!0x1;mxGraph[_0x1cd3('0x77a')]['autoExtend']=!0x0;mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x30dc')]=null;mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x30dd')]=null;mxGraph['prototype'][_0x1cd3('0x30de')]=null;mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x30df')]=null;mxGraph['prototype'][_0x1cd3('0x30e0')]=!0x1;mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x2c6a')]=0x0;mxGraph['prototype'][_0x1cd3('0x2ff5')]=!0x0;mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x2ff7')]=!0x1;mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x30e1')]=!0x0;mxGraph[_0x1cd3('0x77a')]['allowNegativeCoordinates']=!0x0;mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x30e2')]=!0x0;mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x30e3')]=!0x0;mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x30e4')]=!0x0;mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x30e5')]=!0x0;mxGraph[_0x1cd3('0x77a')]['zoomFactor']=1.2;mxGraph[_0x1cd3('0x77a')]['keepSelectionVisibleOnZoom']=!0x1;mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x30e6')]=!0x0;mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x30e7')]=!0x0;mxGraph['prototype'][_0x1cd3('0x30e8')]=!0x1;mxGraph['prototype'][_0x1cd3('0x30e9')]=!0x1;mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x30ea')]=!0x0;mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x30eb')]=!0x1;mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x3088')]=mxEdgeStyle[_0x1cd3('0x3053')];mxGraph[_0x1cd3('0x77a')]['multigraph']=!0x0;mxGraph['prototype']['connectableEdges']=!0x1;mxGraph[_0x1cd3('0x77a')]['allowDanglingEdges']=!0x0;mxGraph[_0x1cd3('0x77a')]['cloneInvalidEdges']=!0x1;mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x30ec')]=!0x0;mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x30ed')]=!0x0;mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x30ee')]=!0x1;mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x30ef')]=!0x0;mxGraph[_0x1cd3('0x77a')]['swimlaneNesting']=!0x0;mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x3008')]=mxConstants['STYLE_FILLCOLOR'];mxGraph[_0x1cd3('0x77a')]['imageBundles']=null;mxGraph[_0x1cd3('0x77a')]['minFitScale']=0.1;mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x30f0')]=0x8;mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x2c65')]=0x0;mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x2c6e')]=0x0;mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x30f1')]=new mxImage(mxClient[_0x1cd3('0x29eb')]+_0x1cd3('0x30f2'),0x9,0x9);mxGraph['prototype'][_0x1cd3('0x30f3')]=new mxImage(mxClient[_0x1cd3('0x29eb')]+_0x1cd3('0x30f4'),0x9,0x9);mxGraph[_0x1cd3('0x77a')]['warningImage']=new mxImage(_0x1cd3('0x30f5'),0x10,0x10);mxGraph['prototype'][_0x1cd3('0x30f6')]=_0x1cd3('0x6ae')!=mxClient[_0x1cd3('0x3f3')]?_0x1cd3('0x30f7'):'';mxGraph['prototype'][_0x1cd3('0x30f8')]='none'!=mxClient[_0x1cd3('0x3f3')]?_0x1cd3('0x30f9'):'';mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x30fa')]=_0x1cd3('0x6ae')!=mxClient[_0x1cd3('0x3f3')]?_0x1cd3('0x30fb'):'';mxGraph[_0x1cd3('0x77a')][_0x1cd3('0xe08')]=function(_0x3e012e){this[_0x1cd3('0x4ce')]=_0x3e012e;this[_0x1cd3('0x30bc')]=this[_0x1cd3('0x30fc')]();this[_0x1cd3('0x1665')]['init']();this[_0x1cd3('0x3067')]();mxClient[_0x1cd3('0x298a')]&&(mxEvent[_0x1cd3('0x29ba')](window,_0x1cd3('0x30fd'),mxUtils['bind'](this,function(){this[_0x1cd3('0x2bcb')]();})),mxEvent[_0x1cd3('0x29ba')](_0x3e012e,_0x1cd3('0x30fe'),mxUtils[_0x1cd3('0x5b2')](this,function(){return this[_0x1cd3('0x301e')]();})));0x8==document[_0x1cd3('0x2959')]&&_0x3e012e[_0x1cd3('0x2dcd')]('beforeend',_0x1cd3('0x30ff'));};mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x30b8')]=function(_0x424314){this['tooltipHandler']=new mxTooltipHandler(this);this['tooltipHandler'][_0x1cd3('0x2bee')](!0x1);this['panningHandler']=new mxPanningHandler(this);this[_0x1cd3('0x3100')]['panningEnabled']=!0x1;this['selectionCellsHandler']=new mxSelectionCellsHandler(this);this[_0x1cd3('0x3101')]=new mxConnectionHandler(this);this['connectionHandler'][_0x1cd3('0x2bee')](!0x1);this[_0x1cd3('0x2bfe')]=new mxGraphHandler(this);};mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x30b4')]=function(){return new mxGraphSelectionModel(this);};mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x3102')]=function(){return new mxStylesheet();};mxGraph[_0x1cd3('0x77a')]['createGraphView']=function(){return new mxGraphView(this);};mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x30b2')]=function(){return new mxCellRenderer();};mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x30fc')]=function(){return new mxCellEditor(this);};mxGraph['prototype']['getModel']=function(){return this[_0x1cd3('0x42e')];};mxGraph[_0x1cd3('0x77a')]['getView']=function(){return this['view'];};mxGraph['prototype'][_0x1cd3('0x3103')]=function(){return this[_0x1cd3('0x298f')];};mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x30b5')]=function(_0x1640a6){this[_0x1cd3('0x298f')]=_0x1640a6;};mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x3104')]=function(){return this[_0x1cd3('0x2fc5')];};mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x30b3')]=function(_0x166196){this[_0x1cd3('0x2fc5')]=_0x166196;};mxGraph[_0x1cd3('0x77a')]['getSelectionCellsForChanges']=function(_0xcdc641){for(var _0x1b1856=[],_0x19bbed=0x0;_0x19bbed<_0xcdc641[_0x1cd3('0x7a')];_0x19bbed++){var _0x42966c=_0xcdc641[_0x19bbed];if(_0x42966c[_0x1cd3('0x29db')]!=mxRootChange){var _0x597b07=null;_0x42966c instanceof mxChildChange&&null==_0x42966c[_0x1cd3('0x29e0')]?_0x597b07=_0x42966c[_0x1cd3('0x29da')]:null!=_0x42966c[_0x1cd3('0xefb')]&&_0x42966c['cell']instanceof mxCell&&(_0x597b07=_0x42966c[_0x1cd3('0xefb')]);null!=_0x597b07&&0x0>mxUtils[_0x1cd3('0x45e')](_0x1b1856,_0x597b07)&&_0x1b1856[_0x1cd3('0x7b')](_0x597b07);}}return this[_0x1cd3('0x2a77')]()[_0x1cd3('0x3105')](_0x1b1856);};mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x2c90')]=function(_0x35b4d4){for(var _0x11447b=0x0;_0x11447b<_0x35b4d4[_0x1cd3('0x7a')];_0x11447b++)this[_0x1cd3('0x3106')](_0x35b4d4[_0x11447b]);this['removeSelectionCells'](this['getRemovedCellsForChanges'](_0x35b4d4));this['view'][_0x1cd3('0x306b')]();this['sizeDidChange']();};mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x3107')]=function(_0x1e7dd0){for(var _0x38cc80=[],_0x1616b7=0x0;_0x1616b7<_0x1e7dd0[_0x1cd3('0x7a')];_0x1616b7++){var _0x2ff7fd=_0x1e7dd0[_0x1616b7];if(_0x2ff7fd instanceof mxRootChange)break;else _0x2ff7fd instanceof mxChildChange?null!=_0x2ff7fd['previous']&&null==_0x2ff7fd[_0x1cd3('0x36c')]&&(_0x38cc80=_0x38cc80[_0x1cd3('0x3ae')](this['model'][_0x1cd3('0x2f35')](_0x2ff7fd[_0x1cd3('0x29da')]))):_0x2ff7fd instanceof mxVisibleChange&&(_0x38cc80=_0x38cc80[_0x1cd3('0x3ae')](this[_0x1cd3('0x42e')]['getDescendants'](_0x2ff7fd[_0x1cd3('0xefb')])));}return _0x38cc80;};mxGraph['prototype'][_0x1cd3('0x3106')]=function(_0x2c0018){if(_0x2c0018 instanceof mxRootChange)this['clearSelection'](),this['removeStateForCell'](_0x2c0018['previous']),this['resetViewOnRootChange']&&(this[_0x1cd3('0x1665')][_0x1cd3('0x29df')]=0x1,this[_0x1cd3('0x1665')]['translate']['x']=0x0,this[_0x1cd3('0x1665')]['translate']['y']=0x0),this['fireEvent'](new mxEventObject(mxEvent['ROOT']));else if(_0x2c0018 instanceof mxChildChange){var _0x3b709e=this[_0x1cd3('0x42e')][_0x1cd3('0x2c9d')](_0x2c0018[_0x1cd3('0x29da')]);null!=_0x3b709e?this[_0x1cd3('0x1665')]['invalidate'](_0x2c0018[_0x1cd3('0x29da')],!0x0,!0x1,null!=_0x2c0018[_0x1cd3('0x29e0')]):(this[_0x1cd3('0x3108')](_0x2c0018[_0x1cd3('0x29da')]),this[_0x1cd3('0x1665')]['currentRoot']==_0x2c0018[_0x1cd3('0x29da')]&&this[_0x1cd3('0x3109')]());_0x3b709e!=_0x2c0018['previous']&&(null!=_0x3b709e&&this[_0x1cd3('0x1665')]['invalidate'](_0x3b709e,!0x1,!0x1),null!=_0x2c0018['previous']&&this['view'][_0x1cd3('0x306c')](_0x2c0018[_0x1cd3('0x29e0')],!0x1,!0x1));}else _0x2c0018 instanceof mxTerminalChange||_0x2c0018 instanceof mxGeometryChange?this[_0x1cd3('0x1665')]['invalidate'](_0x2c0018['cell']):_0x2c0018 instanceof mxValueChange?this[_0x1cd3('0x1665')]['invalidate'](_0x2c0018[_0x1cd3('0xefb')],!0x1,!0x1):_0x2c0018 instanceof mxStyleChange?(this['view']['invalidate'](_0x2c0018[_0x1cd3('0xefb')],!0x0,!0x0,!0x1),this[_0x1cd3('0x1665')][_0x1cd3('0x3079')](_0x2c0018[_0x1cd3('0xefb')])):null!=_0x2c0018['cell']&&_0x2c0018[_0x1cd3('0xefb')]instanceof mxCell&&this[_0x1cd3('0x3108')](_0x2c0018[_0x1cd3('0xefb')]);};mxGraph['prototype'][_0x1cd3('0x3108')]=function(_0x24c764){for(var _0x20b39b=this[_0x1cd3('0x42e')][_0x1cd3('0x29e5')](_0x24c764),_0x5bc612=0x0;_0x5bc612<_0x20b39b;_0x5bc612++)this[_0x1cd3('0x3108')](this[_0x1cd3('0x42e')][_0x1cd3('0x29e6')](_0x24c764,_0x5bc612));this[_0x1cd3('0x1665')][_0x1cd3('0x3079')](_0x24c764);};mxGraph['prototype'][_0x1cd3('0x310a')]=function(_0x1d916e,_0x2b13ca){null==_0x1d916e[_0x1cd3('0x2ca7')]&&(_0x1d916e['overlays']=[]);_0x1d916e['overlays'][_0x1cd3('0x7b')](_0x2b13ca);var _0x3b8965=this[_0x1cd3('0x1665')]['getState'](_0x1d916e);null!=_0x3b8965&&this['cellRenderer'][_0x1cd3('0x29e3')](_0x3b8965);this[_0x1cd3('0x2b28')](new mxEventObject(mxEvent[_0x1cd3('0x310b')],_0x1cd3('0xefb'),_0x1d916e,_0x1cd3('0x301c'),_0x2b13ca));return _0x2b13ca;};mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x301b')]=function(_0xfe71eb){return _0xfe71eb[_0x1cd3('0x2ca7')];};mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x310c')]=function(_0x5cbb70,_0x17057f){if(null==_0x17057f)this['removeCellOverlays'](_0x5cbb70);else{var _0x57ed3b=mxUtils[_0x1cd3('0x45e')](_0x5cbb70[_0x1cd3('0x2ca7')],_0x17057f);0x0<=_0x57ed3b?(_0x5cbb70[_0x1cd3('0x2ca7')][_0x1cd3('0x446')](_0x57ed3b,0x1),0x0==_0x5cbb70[_0x1cd3('0x2ca7')][_0x1cd3('0x7a')]&&(_0x5cbb70[_0x1cd3('0x2ca7')]=null),_0x57ed3b=this[_0x1cd3('0x1665')][_0x1cd3('0x29d9')](_0x5cbb70),null!=_0x57ed3b&&this['cellRenderer'][_0x1cd3('0x29e3')](_0x57ed3b),this[_0x1cd3('0x2b28')](new mxEventObject(mxEvent[_0x1cd3('0x310d')],_0x1cd3('0xefb'),_0x5cbb70,_0x1cd3('0x301c'),_0x17057f))):_0x17057f=null;}return _0x17057f;};mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x310e')]=function(_0x13f861){var _0x552c92=_0x13f861['overlays'];if(null!=_0x552c92){_0x13f861[_0x1cd3('0x2ca7')]=null;var _0x15e7cd=this[_0x1cd3('0x1665')]['getState'](_0x13f861);null!=_0x15e7cd&&this[_0x1cd3('0x29e2')][_0x1cd3('0x29e3')](_0x15e7cd);for(_0x15e7cd=0x0;_0x15e7cd<_0x552c92['length'];_0x15e7cd++)this[_0x1cd3('0x2b28')](new mxEventObject(mxEvent[_0x1cd3('0x310d')],_0x1cd3('0xefb'),_0x13f861,_0x1cd3('0x301c'),_0x552c92[_0x15e7cd]));}return _0x552c92;};mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x310f')]=function(_0x1c4a32){_0x1c4a32=null!=_0x1c4a32?_0x1c4a32:this[_0x1cd3('0x42e')][_0x1cd3('0x2a78')]();this[_0x1cd3('0x310e')](_0x1c4a32);for(var _0x1c8274=this[_0x1cd3('0x42e')][_0x1cd3('0x29e5')](_0x1c4a32),_0x1609fc=0x0;_0x1609fc<_0x1c8274;_0x1609fc++){var _0x7d44f=this[_0x1cd3('0x42e')][_0x1cd3('0x29e6')](_0x1c4a32,_0x1609fc);this[_0x1cd3('0x310f')](_0x7d44f);}};mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x3110')]=function(_0x36e1a8,_0x36c4b8,_0x518fdd,_0x32df32){if(null!=_0x36c4b8&&0x0<_0x36c4b8[_0x1cd3('0x7a')])return _0x518fdd=null!=_0x518fdd?_0x518fdd:this[_0x1cd3('0x3111')],_0x36c4b8=new mxCellOverlay(_0x518fdd,''+_0x36c4b8+_0x1cd3('0x3112')),_0x32df32&&_0x36c4b8[_0x1cd3('0x29ba')](mxEvent[_0x1cd3('0x301f')],mxUtils[_0x1cd3('0x5b2')](this,function(_0xd34ce0,_0x5d6a77){this[_0x1cd3('0x2c76')]()&&this[_0x1cd3('0x3113')](_0x36e1a8);})),this[_0x1cd3('0x310a')](_0x36e1a8,_0x36c4b8);this[_0x1cd3('0x310e')](_0x36e1a8);return null;};mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x2b78')]=function(_0x57ad6e){this[_0x1cd3('0x3114')](null,_0x57ad6e);};mxGraph[_0x1cd3('0x77a')]['startEditingAtCell']=function(_0x2c3897,_0x5acd7e){null==_0x2c3897&&(_0x2c3897=this['getSelectionCell'](),null!=_0x2c3897&&!this[_0x1cd3('0x3115')](_0x2c3897)&&(_0x2c3897=null));null!=_0x2c3897&&(this[_0x1cd3('0x2b28')](new mxEventObject(mxEvent[_0x1cd3('0x3116')],'cell',_0x2c3897,_0x1cd3('0x2b38'),_0x5acd7e)),this[_0x1cd3('0x30bc')][_0x1cd3('0x2b78')](_0x2c3897,_0x5acd7e));};mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x2fe1')]=function(_0x419491,_0x35e9c8){return this[_0x1cd3('0x3117')](_0x419491);};mxGraph['prototype'][_0x1cd3('0x2fce')]=function(_0x43d9cc){this[_0x1cd3('0x30bc')][_0x1cd3('0x2fce')](_0x43d9cc);};mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x2b74')]=function(_0x1601c8,_0x20ece2,_0x3ba6c9){this[_0x1cd3('0x42e')][_0x1cd3('0x2a6c')]();try{this[_0x1cd3('0x3118')](_0x1601c8,_0x20ece2,this[_0x1cd3('0x3119')](_0x1601c8)),this['fireEvent'](new mxEventObject(mxEvent[_0x1cd3('0x311a')],_0x1cd3('0xefb'),_0x1601c8,_0x1cd3('0x3db'),_0x20ece2,'event',_0x3ba6c9));}finally{this[_0x1cd3('0x42e')][_0x1cd3('0x2b5e')]();}return _0x1601c8;};mxGraph[_0x1cd3('0x77a')]['cellLabelChanged']=function(_0x328295,_0x4976ea,_0x5a721e){this['model'][_0x1cd3('0x2a6c')]();try{this['model']['setValue'](_0x328295,_0x4976ea),_0x5a721e&&this[_0x1cd3('0x311b')](_0x328295,!0x1);}finally{this[_0x1cd3('0x42e')][_0x1cd3('0x2b5e')]();}};mxGraph['prototype'][_0x1cd3('0x186d')]=function(_0x51fef4){this[_0x1cd3('0x2fce')](!0x0);this['connectionHandler'][_0x1cd3('0x358')]();this[_0x1cd3('0x2bfe')][_0x1cd3('0x358')]();_0x51fef4=this[_0x1cd3('0x2b92')]();for(var _0x271bd7=0x0;_0x271bd7<_0x51fef4['length'];_0x271bd7++){var _0x240562=this['view'][_0x1cd3('0x29d9')](_0x51fef4[_0x271bd7]);null!=_0x240562&&null!=_0x240562[_0x1cd3('0x311c')]&&_0x240562[_0x1cd3('0x311c')][_0x1cd3('0x358')]();}};mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x52d')]=function(_0x3203cb){var _0x42f7ed=_0x3203cb[_0x1cd3('0x2b1a')](),_0x2b4402=_0x3203cb[_0x1cd3('0x2b1f')](),_0x5d201f=new mxEventObject(mxEvent[_0x1cd3('0x301f')],'event',_0x42f7ed,_0x1cd3('0xefb'),_0x2b4402);_0x3203cb[_0x1cd3('0x2b13')]()&&_0x5d201f['consume']();this[_0x1cd3('0x2b28')](_0x5d201f);this['isEnabled']()&&(!mxEvent[_0x1cd3('0x2b13')](_0x42f7ed)&&!_0x5d201f['isConsumed']())&&(null!=_0x2b4402?this[_0x1cd3('0x311d')](_0x2b4402,_0x42f7ed):(_0x2b4402=null,this['isSwimlaneSelectionEnabled']()&&(_0x2b4402=this[_0x1cd3('0x311e')](_0x3203cb[_0x1cd3('0x2b1d')](),_0x3203cb[_0x1cd3('0x311f')]())),null!=_0x2b4402?this[_0x1cd3('0x311d')](_0x2b4402,_0x42f7ed):this[_0x1cd3('0x3120')](_0x42f7ed)||this[_0x1cd3('0x6cc')]()));};mxGraph['prototype'][_0x1cd3('0x2b37')]=function(_0x4fceda,_0x40b891){var _0x57cc6a=new mxEventObject(mxEvent[_0x1cd3('0x3121')],'event',_0x4fceda,_0x1cd3('0xefb'),_0x40b891);this[_0x1cd3('0x2b28')](_0x57cc6a);this[_0x1cd3('0x2c76')]()&&(!mxEvent[_0x1cd3('0x2b13')](_0x4fceda)&&!_0x57cc6a[_0x1cd3('0x2b13')]()&&null!=_0x40b891&&this[_0x1cd3('0x3115')](_0x40b891))&&this[_0x1cd3('0x3114')](_0x40b891,_0x4fceda);};mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x2c02')]=function(_0xf41d0d,_0x33689e,_0x32a8f3,_0x589baf){if(!this[_0x1cd3('0x30da')]&&(this['ignoreScrollbars']||mxUtils['hasScrollbars'](this[_0x1cd3('0x4ce')]))){var _0x5188da=this[_0x1cd3('0x4ce')];_0x589baf=null!=_0x589baf?_0x589baf:0x14;if(_0xf41d0d>=_0x5188da[_0x1cd3('0x767')]&&_0x33689e>=_0x5188da[_0x1cd3('0x515')]&&_0xf41d0d<=_0x5188da[_0x1cd3('0x767')]+_0x5188da['clientWidth']&&_0x33689e<=_0x5188da[_0x1cd3('0x515')]+_0x5188da[_0x1cd3('0x29b4')]){var _0xe1e9a1=_0x5188da['scrollLeft']+_0x5188da[_0x1cd3('0x29b5')]-_0xf41d0d;if(_0xe1e9a1<_0x589baf){if(_0xf41d0d=_0x5188da['scrollLeft'],_0x5188da[_0x1cd3('0x767')]+=_0x589baf-_0xe1e9a1,_0x32a8f3&&_0xf41d0d==_0x5188da[_0x1cd3('0x767')]){if(this[_0x1cd3('0x2d98')]==mxConstants[_0x1cd3('0x2a7c')]){_0xf41d0d=this[_0x1cd3('0x1665')][_0x1cd3('0x2ffb')]()[_0x1cd3('0x2a92')];var _0x1cfd00=this[_0x1cd3('0x4ce')][_0x1cd3('0x6fb')]+_0x589baf-_0xe1e9a1;}else _0x1cfd00=Math[_0x1cd3('0x13d1')](_0x5188da['clientWidth'],_0x5188da[_0x1cd3('0x6fb')])+_0x589baf-_0xe1e9a1,_0xf41d0d=this['view'][_0x1cd3('0x2f94')]();_0xf41d0d[_0x1cd3('0x440')][_0x1cd3('0x4d7')]=_0x1cfd00+'px';_0x5188da[_0x1cd3('0x767')]+=_0x589baf-_0xe1e9a1;}}else _0xe1e9a1=_0xf41d0d-_0x5188da[_0x1cd3('0x767')],_0xe1e9a1<_0x589baf&&(_0x5188da[_0x1cd3('0x767')]-=_0x589baf-_0xe1e9a1);_0xe1e9a1=_0x5188da[_0x1cd3('0x515')]+_0x5188da[_0x1cd3('0x29b4')]-_0x33689e;_0xe1e9a1<_0x589baf?(_0xf41d0d=_0x5188da[_0x1cd3('0x515')],_0x5188da[_0x1cd3('0x515')]+=_0x589baf-_0xe1e9a1,_0xf41d0d==_0x5188da[_0x1cd3('0x515')]&&_0x32a8f3&&(this[_0x1cd3('0x2d98')]==mxConstants[_0x1cd3('0x2a7c')]?(_0xf41d0d=this[_0x1cd3('0x1665')][_0x1cd3('0x2ffb')]()[_0x1cd3('0x2a92')],_0x33689e=this[_0x1cd3('0x4ce')][_0x1cd3('0x6fa')]+_0x589baf-_0xe1e9a1):(_0x33689e=Math[_0x1cd3('0x13d1')](_0x5188da[_0x1cd3('0x29b4')],_0x5188da[_0x1cd3('0x6fa')])+_0x589baf-_0xe1e9a1,_0xf41d0d=this[_0x1cd3('0x1665')]['getCanvas']()),_0xf41d0d[_0x1cd3('0x440')][_0x1cd3('0x4e4')]=_0x33689e+'px',_0x5188da[_0x1cd3('0x515')]+=_0x589baf-_0xe1e9a1)):(_0xe1e9a1=_0x33689e-_0x5188da[_0x1cd3('0x515')],_0xe1e9a1<_0x589baf&&(_0x5188da[_0x1cd3('0x515')]-=_0x589baf-_0xe1e9a1));}}else this['allowAutoPanning']&&!this['panningHandler']['active']&&(null==this[_0x1cd3('0x3122')]&&(this[_0x1cd3('0x3122')]=this[_0x1cd3('0x3123')]()),this[_0x1cd3('0x3122')][_0x1cd3('0x3124')](_0xf41d0d+this[_0x1cd3('0x2c65')],_0x33689e+this[_0x1cd3('0x2c6e')]));};mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x3123')]=function(){return new mxPanningManager(this);};mxGraph[_0x1cd3('0x77a')]['getBorderSizes']=function(){function _0x2ab57c(_0x5aaf47){var _0x3f7b47=0x0,_0x3f7b47=_0x1cd3('0x3125')==_0x5aaf47?0x2:_0x1cd3('0x1823')==_0x5aaf47?0x4:_0x1cd3('0x3126')==_0x5aaf47?0x6:parseInt(_0x5aaf47);isNaN(_0x3f7b47)&&(_0x3f7b47=0x0);return _0x3f7b47;}var _0x28c565=mxUtils[_0x1cd3('0x29f0')](this['container']),_0x503e7d=new mxRectangle();_0x503e7d['x']=_0x2ab57c(_0x28c565[_0x1cd3('0x3127')])+parseInt(_0x28c565[_0x1cd3('0x3128')]||0x0);_0x503e7d['y']=_0x2ab57c(_0x28c565[_0x1cd3('0x3129')])+parseInt(_0x28c565[_0x1cd3('0x312a')]||0x0);_0x503e7d[_0x1cd3('0x4d7')]=_0x2ab57c(_0x28c565['borderRightWidth'])+parseInt(_0x28c565[_0x1cd3('0x312b')]||0x0);_0x503e7d[_0x1cd3('0x4e4')]=_0x2ab57c(_0x28c565[_0x1cd3('0x312c')])+parseInt(_0x28c565[_0x1cd3('0x312d')]||0x0);return _0x503e7d;};mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x312e')]=function(_0x50e150,_0x398562,_0x282d6c){_0x50e150=this[_0x1cd3('0x1665')][_0x1cd3('0x29df')];var _0x195d19=this[_0x1cd3('0x1665')]['translate'],_0x4cd454=this[_0x1cd3('0x2f77')],_0x4ea286=_0x50e150*this[_0x1cd3('0x2f76')],_0x4cd454=new mxRectangle(0x0,0x0,_0x4cd454[_0x1cd3('0x4d7')]*_0x4ea286,_0x4cd454[_0x1cd3('0x4e4')]*_0x4ea286);_0x398562=this[_0x1cd3('0x30c3')]?Math[_0x1cd3('0x2928')](_0x398562/_0x4cd454[_0x1cd3('0x4d7')]):0x1;_0x282d6c=this[_0x1cd3('0x30c3')]?Math[_0x1cd3('0x2928')](_0x282d6c/_0x4cd454[_0x1cd3('0x4e4')]):0x1;return new mxRectangle(0x0,0x0,_0x398562*_0x4cd454[_0x1cd3('0x4d7')]+0x2+_0x195d19['x']/_0x50e150,_0x282d6c*_0x4cd454[_0x1cd3('0x4e4')]+0x2+_0x195d19['y']/_0x50e150);};mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x3067')]=function(){var _0x14e6d9=this[_0x1cd3('0x2a84')]();if(null!=this[_0x1cd3('0x4ce')]){var _0x21957e=this[_0x1cd3('0x312f')](),_0x2abbe7=Math['max'](0x0,_0x14e6d9['x']+_0x14e6d9[_0x1cd3('0x4d7')]+0x1+_0x21957e),_0x21957e=Math[_0x1cd3('0x13d1')](0x0,_0x14e6d9['y']+_0x14e6d9[_0x1cd3('0x4e4')]+0x1+_0x21957e);null!=this[_0x1cd3('0x30de')]&&(_0x2abbe7=Math['max'](_0x2abbe7,this[_0x1cd3('0x30de')]['width']),_0x21957e=Math[_0x1cd3('0x13d1')](_0x21957e,this[_0x1cd3('0x30de')]['height']));this[_0x1cd3('0x30e0')]&&this[_0x1cd3('0x3130')](_0x2abbe7,_0x21957e);if(this['preferPageSize']||!mxClient[_0x1cd3('0x298a')]&&this[_0x1cd3('0x3073')]){var _0x48f850=this['getPreferredPageSize'](_0x14e6d9,_0x2abbe7,_0x21957e);null!=_0x48f850&&(_0x2abbe7=_0x48f850[_0x1cd3('0x4d7')],_0x21957e=_0x48f850[_0x1cd3('0x4e4')]);}null!=this[_0x1cd3('0x30dd')]&&(_0x2abbe7=Math['max'](_0x2abbe7,this[_0x1cd3('0x30dd')][_0x1cd3('0x4d7')]*this['view'][_0x1cd3('0x29df')]),_0x21957e=Math[_0x1cd3('0x13d1')](_0x21957e,this[_0x1cd3('0x30dd')][_0x1cd3('0x4e4')]*this[_0x1cd3('0x1665')][_0x1cd3('0x29df')]));_0x2abbe7=Math[_0x1cd3('0x2928')](_0x2abbe7-0x1);_0x21957e=Math[_0x1cd3('0x2928')](_0x21957e-0x1);this['dialect']==mxConstants[_0x1cd3('0x2a7c')]?(_0x48f850=this[_0x1cd3('0x1665')][_0x1cd3('0x2ffb')]()[_0x1cd3('0x2a92')],_0x48f850['style']['minWidth']=Math[_0x1cd3('0x13d1')](0x1,_0x2abbe7)+'px',_0x48f850['style'][_0x1cd3('0x3131')]=Math['max'](0x1,_0x21957e)+'px',_0x48f850[_0x1cd3('0x440')]['width']=_0x1cd3('0x29a1'),_0x48f850[_0x1cd3('0x440')][_0x1cd3('0x4e4')]='100%'):mxClient[_0x1cd3('0x2a75')]?this[_0x1cd3('0x1665')][_0x1cd3('0x3132')](Math[_0x1cd3('0x13d1')](0x1,_0x2abbe7),Math[_0x1cd3('0x13d1')](0x1,_0x21957e)):(this[_0x1cd3('0x1665')][_0x1cd3('0x2a7e')][_0x1cd3('0x440')]['minWidth']=Math['max'](0x1,_0x2abbe7)+'px',this[_0x1cd3('0x1665')]['canvas'][_0x1cd3('0x440')][_0x1cd3('0x3131')]=Math[_0x1cd3('0x13d1')](0x1,_0x21957e)+'px');this[_0x1cd3('0x3133')](this[_0x1cd3('0x30c3')],_0x2abbe7-0x1,_0x21957e-0x1);}this[_0x1cd3('0x2b28')](new mxEventObject(mxEvent[_0x1cd3('0x3134')],_0x1cd3('0x2dbc'),_0x14e6d9));};mxGraph[_0x1cd3('0x77a')]['doResizeContainer']=function(_0x4f2866,_0x19d0af){if(mxClient[_0x1cd3('0x298a')])if(mxClient[_0x1cd3('0x2a75')]){var _0x3f60d5=this[_0x1cd3('0x3135')]();_0x4f2866+=Math[_0x1cd3('0x13d1')](0x2,_0x3f60d5['x']+_0x3f60d5[_0x1cd3('0x4d7')]+0x1);_0x19d0af+=Math[_0x1cd3('0x13d1')](0x2,_0x3f60d5['y']+_0x3f60d5[_0x1cd3('0x4e4')]+0x1);}else 0x9<=document[_0x1cd3('0x2959')]?(_0x4f2866+=0x3,_0x19d0af+=0x5):(_0x4f2866+=0x1,_0x19d0af+=0x1);else _0x19d0af+=0x1;null!=this[_0x1cd3('0x30df')]&&(_0x4f2866=Math['min'](this[_0x1cd3('0x30df')]['width'],_0x4f2866),_0x19d0af=Math['min'](this[_0x1cd3('0x30df')][_0x1cd3('0x4e4')],_0x19d0af));this[_0x1cd3('0x4ce')][_0x1cd3('0x440')][_0x1cd3('0x4d7')]=Math['ceil'](_0x4f2866)+'px';this[_0x1cd3('0x4ce')][_0x1cd3('0x440')]['height']=Math[_0x1cd3('0x2928')](_0x19d0af)+'px';};mxGraph[_0x1cd3('0x77a')]['updatePageBreaks']=function(_0x35630f,_0x4feba6,_0x3ad369){var _0x5b73cc=this[_0x1cd3('0x1665')][_0x1cd3('0x29df')],_0x1181f1=this[_0x1cd3('0x1665')][_0x1cd3('0x43c')],_0x1d9c93=this['pageFormat'],_0x3b69c8=_0x5b73cc*this['pageScale'],_0x1181f1=new mxRectangle(_0x5b73cc*_0x1181f1['x'],_0x5b73cc*_0x1181f1['y'],_0x1d9c93[_0x1cd3('0x4d7')]*_0x3b69c8,_0x1d9c93['height']*_0x3b69c8);_0x35630f=_0x35630f&&Math['min'](_0x1181f1['width'],_0x1181f1[_0x1cd3('0x4e4')])>this['minPageBreakDist'];_0x1181f1['x']=mxUtils['mod'](_0x1181f1['x'],_0x1181f1[_0x1cd3('0x4d7')]);_0x1181f1['y']=mxUtils['mod'](_0x1181f1['y'],_0x1181f1[_0x1cd3('0x4e4')]);_0x1d9c93=_0x35630f?Math[_0x1cd3('0x2928')]((_0x4feba6-_0x1181f1['x'])/_0x1181f1[_0x1cd3('0x4d7')]):0x0;_0x35630f=_0x35630f?Math[_0x1cd3('0x2928')]((_0x3ad369-_0x1181f1['y'])/_0x1181f1[_0x1cd3('0x4e4')]):0x0;null==this[_0x1cd3('0x3136')]&&0x0<_0x1d9c93&&(this[_0x1cd3('0x3136')]=[]);if(null!=this[_0x1cd3('0x3136')]){for(_0x3b69c8=0x0;_0x3b69c8<=_0x1d9c93;_0x3b69c8++){var _0x105799=[new mxPoint(_0x1181f1['x']+_0x3b69c8*_0x1181f1[_0x1cd3('0x4d7')],0x1),new mxPoint(_0x1181f1['x']+_0x3b69c8*_0x1181f1[_0x1cd3('0x4d7')],_0x3ad369)];null!=this[_0x1cd3('0x3136')][_0x3b69c8]?(this[_0x1cd3('0x3136')][_0x3b69c8][_0x1cd3('0x29df')]=0x1,this[_0x1cd3('0x3136')][_0x3b69c8][_0x1cd3('0x2d9a')]=_0x105799,this[_0x1cd3('0x3136')][_0x3b69c8]['redraw']()):(_0x105799=new mxPolyline(_0x105799,this['pageBreakColor'],this['scale']),_0x105799['dialect']=this[_0x1cd3('0x2d98')],_0x105799[_0x1cd3('0x2d96')]=this['pageBreakDashed'],_0x105799[_0x1cd3('0x29df')]=_0x5b73cc,_0x105799[_0x1cd3('0xe08')](this[_0x1cd3('0x1665')][_0x1cd3('0x2f96')]),_0x105799[_0x1cd3('0x29e3')](),this['horizontalPageBreaks'][_0x3b69c8]=_0x105799);}for(_0x3b69c8=_0x1d9c93;_0x3b69c8this[_0x1cd3('0x42e')]['getChildCount'](_0x33cfe4)&&_0x9e1507--;this[_0x1cd3('0x42e')][_0x1cd3('0x425')](_0x33cfe4,_0xc34492[_0x2a5b80],_0x9e1507+_0x2a5b80);this['isExtendParentsOnAdd']()&&this['isExtendParent'](_0xc34492[_0x2a5b80])&&this[_0x1cd3('0x3158')](_0xc34492[_0x2a5b80]);(null==_0x230bdb||_0x230bdb)&&this['constrainChild'](_0xc34492[_0x2a5b80]);null!=_0x2789ed&&this['cellConnected'](_0xc34492[_0x2a5b80],_0x2789ed,!0x0);null!=_0x301eea&&this[_0x1cd3('0x2b76')](_0xc34492[_0x2a5b80],_0x301eea,!0x1);}this[_0x1cd3('0x2b28')](new mxEventObject(mxEvent[_0x1cd3('0x3159')],'cells',_0xc34492,_0x1cd3('0x36c'),_0x33cfe4,'index',_0x9e1507,_0x1cd3('0x930'),_0x2789ed,_0x1cd3('0x365'),_0x301eea,_0x1cd3('0x532'),_0x3081df));}finally{this['model'][_0x1cd3('0x2b5e')]();}}};mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x2b91')]=function(_0x2bc25e,_0x52cb8e){_0x52cb8e=null!=_0x52cb8e?_0x52cb8e:!0x0;null==_0x2bc25e&&(_0x2bc25e=this[_0x1cd3('0x315a')](this[_0x1cd3('0x2b92')]()));_0x52cb8e&&(_0x2bc25e=this[_0x1cd3('0x315a')](this['addAllEdges'](_0x2bc25e)));this[_0x1cd3('0x42e')]['beginUpdate']();try{this[_0x1cd3('0x2b6d')](_0x2bc25e),this[_0x1cd3('0x2b28')](new mxEventObject(mxEvent['REMOVE_CELLS'],_0x1cd3('0x2b8f'),_0x2bc25e,_0x1cd3('0x315b'),_0x52cb8e));}finally{this[_0x1cd3('0x42e')][_0x1cd3('0x2b5e')]();}return _0x2bc25e;};mxGraph['prototype'][_0x1cd3('0x2b6d')]=function(_0x2d0f11){if(null!=_0x2d0f11&&0x0<_0x2d0f11[_0x1cd3('0x7a')]){var _0x2efcea=this[_0x1cd3('0x1665')]['scale'],_0x3b8a60=this[_0x1cd3('0x1665')][_0x1cd3('0x43c')];this[_0x1cd3('0x42e')]['beginUpdate']();try{for(var _0x443957={},_0x278500=0x0;_0x278500<_0x2d0f11['length'];_0x278500++){var _0x3133c5=mxCellPath[_0x1cd3('0x624')](_0x2d0f11[_0x278500]);_0x443957[_0x3133c5]=_0x2d0f11[_0x278500];}for(_0x278500=0x0;_0x278500<_0x2d0f11['length'];_0x278500++){for(var _0x99c1bc=this[_0x1cd3('0x2e88')](_0x2d0f11[_0x278500]),_0x67c310=0x0;_0x67c310<_0x99c1bc[_0x1cd3('0x7a')];_0x67c310++)if(_0x3133c5=mxCellPath[_0x1cd3('0x624')](_0x99c1bc[_0x67c310]),null==_0x443957[_0x3133c5]){var _0x46d2b4=this[_0x1cd3('0x42e')]['getGeometry'](_0x99c1bc[_0x67c310]);if(null!=_0x46d2b4){var _0x516b6f=this['view'][_0x1cd3('0x29d9')](_0x99c1bc[_0x67c310]);if(null!=_0x516b6f){var _0x46d2b4=_0x46d2b4[_0x1cd3('0x1141')](),_0x27555b=_0x516b6f[_0x1cd3('0x2e5c')](!0x0)==_0x2d0f11[_0x278500],_0x4b7f91=_0x516b6f['absolutePoints'],_0x2c342f=_0x27555b?0x0:_0x4b7f91['length']-0x1;_0x46d2b4[_0x1cd3('0x3150')](new mxPoint(_0x4b7f91[_0x2c342f]['x']/_0x2efcea-_0x3b8a60['x'],_0x4b7f91[_0x2c342f]['y']/_0x2efcea-_0x3b8a60['y']),_0x27555b);this[_0x1cd3('0x42e')][_0x1cd3('0x2f48')](_0x99c1bc[_0x67c310],null,_0x27555b);this['model'][_0x1cd3('0x2e68')](_0x99c1bc[_0x67c310],_0x46d2b4);}}}this['model'][_0x1cd3('0x383')](_0x2d0f11[_0x278500]);}this[_0x1cd3('0x2b28')](new mxEventObject(mxEvent[_0x1cd3('0x315c')],_0x1cd3('0x2b8f'),_0x2d0f11));}finally{this[_0x1cd3('0x42e')][_0x1cd3('0x2b5e')]();}}};mxGraph[_0x1cd3('0x77a')]['splitEdge']=function(_0x2778d3,_0x886a30,_0x343d13,_0x5d1079,_0xb3bb50){_0x5d1079=_0x5d1079||0x0;_0xb3bb50=_0xb3bb50||0x0;null==_0x343d13&&(_0x343d13=this[_0x1cd3('0x2b94')]([_0x2778d3])[0x0]);var _0x2e3b27=this['model'][_0x1cd3('0x2c9d')](_0x2778d3),_0x44c0cb=this[_0x1cd3('0x42e')][_0x1cd3('0x2e62')](_0x2778d3,!0x0);this['model'][_0x1cd3('0x2a6c')]();try{this[_0x1cd3('0x2b67')](_0x886a30,_0x5d1079,_0xb3bb50,!0x1,!0x1),this[_0x1cd3('0x2b65')](_0x886a30,_0x2e3b27,this[_0x1cd3('0x42e')][_0x1cd3('0x29e5')](_0x2e3b27),null,null,!0x0),this[_0x1cd3('0x2b65')]([_0x343d13],_0x2e3b27,this[_0x1cd3('0x42e')]['getChildCount'](_0x2e3b27),_0x44c0cb,_0x886a30[0x0],!0x1),this[_0x1cd3('0x2b76')](_0x2778d3,_0x886a30[0x0],!0x0),this[_0x1cd3('0x2b28')](new mxEventObject(mxEvent[_0x1cd3('0x315d')],_0x1cd3('0x2f68'),_0x2778d3,_0x1cd3('0x2b8f'),_0x886a30,_0x1cd3('0x315e'),_0x343d13,'dx',_0x5d1079,'dy',_0xb3bb50));}finally{this[_0x1cd3('0x42e')][_0x1cd3('0x2b5e')]();}return _0x343d13;};mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x2b6a')]=function(_0x23eb46,_0x405b53,_0x544c69){null==_0x405b53&&(_0x405b53=this[_0x1cd3('0x2b92')]());_0x544c69&&(_0x405b53=this['addAllEdges'](_0x405b53));this[_0x1cd3('0x42e')][_0x1cd3('0x2a6c')]();try{this[_0x1cd3('0x2b6b')](_0x405b53,_0x23eb46),this[_0x1cd3('0x2b28')](new mxEventObject(mxEvent['TOGGLE_CELLS'],'show',_0x23eb46,_0x1cd3('0x2b8f'),_0x405b53,_0x1cd3('0x315b'),_0x544c69));}finally{this['model'][_0x1cd3('0x2b5e')]();}return _0x405b53;};mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x2b6b')]=function(_0x57d27b,_0x878886){if(null!=_0x57d27b&&0x0<_0x57d27b['length']){this[_0x1cd3('0x42e')][_0x1cd3('0x2a6c')]();try{for(var _0x2bdd77=0x0;_0x2bdd77<_0x57d27b[_0x1cd3('0x7a')];_0x2bdd77++)this[_0x1cd3('0x42e')][_0x1cd3('0x29c1')](_0x57d27b[_0x2bdd77],_0x878886);}finally{this[_0x1cd3('0x42e')]['endUpdate']();}}};mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x2b71')]=function(_0x487412,_0x1ebc5b,_0x48ccbb,_0x24334e){_0x1ebc5b=null!=_0x1ebc5b?_0x1ebc5b:!0x1;null==_0x48ccbb&&(_0x48ccbb=this['getFoldableCells'](this[_0x1cd3('0x2b92')](),_0x487412));this['stopEditing'](!0x1);this[_0x1cd3('0x42e')][_0x1cd3('0x2a6c')]();try{this['cellsFolded'](_0x48ccbb,_0x487412,_0x1ebc5b,_0x24334e),this['fireEvent'](new mxEventObject(mxEvent['FOLD_CELLS'],_0x1cd3('0x56b'),_0x487412,_0x1cd3('0x315f'),_0x1ebc5b,_0x1cd3('0x2b8f'),_0x48ccbb));}finally{this[_0x1cd3('0x42e')][_0x1cd3('0x2b5e')]();}return _0x48ccbb;};mxGraph['prototype']['cellsFolded']=function(_0x3ddecf,_0x5b5fe0,_0x1cdcb1,_0x40ef48){if(null!=_0x3ddecf&&0x0<_0x3ddecf[_0x1cd3('0x7a')]){this['model'][_0x1cd3('0x2a6c')]();try{for(var _0x5df149=0x0;_0x5df149<_0x3ddecf[_0x1cd3('0x7a')];_0x5df149++)if((!_0x40ef48||this[_0x1cd3('0x3160')](_0x3ddecf[_0x5df149],_0x5b5fe0))&&_0x5b5fe0!=this['isCellCollapsed'](_0x3ddecf[_0x5df149]))if(this[_0x1cd3('0x42e')]['setCollapsed'](_0x3ddecf[_0x5df149],_0x5b5fe0),this[_0x1cd3('0x3161')](_0x3ddecf[_0x5df149],_0x5b5fe0),this[_0x1cd3('0x3162')](_0x3ddecf[_0x5df149])&&this['extendParent'](_0x3ddecf[_0x5df149]),_0x1cdcb1){var _0x486aaf=this[_0x1cd3('0x42e')][_0x1cd3('0x2f45')](_0x3ddecf[_0x5df149]);this[_0x1cd3('0x2b71')](_0x486aaf,_0x5b5fe0,_0x1cdcb1);}this[_0x1cd3('0x2b28')](new mxEventObject(mxEvent[_0x1cd3('0x3163')],'cells',_0x3ddecf,'collapse',_0x5b5fe0,'recurse',_0x1cdcb1));}finally{this[_0x1cd3('0x42e')]['endUpdate']();}}};mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x3161')]=function(_0x1d9678,_0x23abb1){if(null!=_0x1d9678){var _0x191f8b=this[_0x1cd3('0x42e')][_0x1cd3('0x2e67')](_0x1d9678);null!=_0x191f8b&&(_0x191f8b=_0x191f8b[_0x1cd3('0x1141')](),this['updateAlternateBounds'](_0x1d9678,_0x191f8b,_0x23abb1),_0x191f8b['swap'](),this['model'][_0x1cd3('0x2e68')](_0x1d9678,_0x191f8b));}};mxGraph['prototype'][_0x1cd3('0x3164')]=function(_0xfc9c38,_0x1491f1,_0x50fe9e){if(null!=_0xfc9c38&&null!=_0x1491f1){_0x50fe9e=this[_0x1cd3('0x1665')][_0x1cd3('0x29d9')](_0xfc9c38);_0x50fe9e=null!=_0x50fe9e?_0x50fe9e['style']:this[_0x1cd3('0x2e7a')](_0xfc9c38);if(null==_0x1491f1['alternateBounds']){var _0x5702fd=_0x1491f1;this[_0x1cd3('0x30e5')]&&(_0xfc9c38=this[_0x1cd3('0x3165')](_0xfc9c38),null!=_0xfc9c38&&(_0x5702fd=_0xfc9c38,_0xfc9c38=mxUtils[_0x1cd3('0x2a5a')](_0x50fe9e,mxConstants[_0x1cd3('0x2a5b')]),0x0<_0xfc9c38&&(_0x5702fd['height']=Math[_0x1cd3('0x13d1')](_0x5702fd[_0x1cd3('0x4e4')],_0xfc9c38))));_0x1491f1[_0x1cd3('0x2f71')]=new mxRectangle(0x0,0x0,_0x5702fd[_0x1cd3('0x4d7')],_0x5702fd[_0x1cd3('0x4e4')]);}if(null!=_0x1491f1['alternateBounds']){_0x1491f1[_0x1cd3('0x2f71')]['x']=_0x1491f1['x'];_0x1491f1['alternateBounds']['y']=_0x1491f1['y'];var _0xe00cd1=mxUtils[_0x1cd3('0x2a51')](_0x50fe9e[mxConstants[_0x1cd3('0x2a5d')]]||'0');0x0!=_0xe00cd1&&(_0xfc9c38=_0x1491f1[_0x1cd3('0x2f71')][_0x1cd3('0x29d5')]()-_0x1491f1[_0x1cd3('0x29d5')](),_0x50fe9e=_0x1491f1[_0x1cd3('0x2f71')][_0x1cd3('0x29d6')]()-_0x1491f1[_0x1cd3('0x29d6')](),_0x5702fd=Math[_0x1cd3('0x2a4d')](_0xe00cd1),_0xe00cd1=Math[_0x1cd3('0x2a4e')](_0xe00cd1),_0x1491f1['alternateBounds']['x']+=_0x5702fd*_0xfc9c38-_0xe00cd1*_0x50fe9e-_0xfc9c38,_0x1491f1[_0x1cd3('0x2f71')]['y']+=_0xe00cd1*_0xfc9c38+_0x5702fd*_0x50fe9e-_0x50fe9e);}}};mxGraph['prototype'][_0x1cd3('0x314c')]=function(_0x2d784a){var _0x1b0231=_0x2d784a[_0x1cd3('0x9a2')]();return _0x1b0231=_0x1b0231[_0x1cd3('0x3ae')](this[_0x1cd3('0x3166')](_0x2d784a));};mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x3166')]=function(_0x13d804){var _0x4bf9e9=[];if(null!=_0x13d804)for(var _0xb03f24=0x0;_0xb03f24<_0x13d804[_0x1cd3('0x7a')];_0xb03f24++){for(var _0x41164b=this[_0x1cd3('0x42e')][_0x1cd3('0x2e5b')](_0x13d804[_0xb03f24]),_0x5d8270=0x0;_0x5d8270<_0x41164b;_0x5d8270++)_0x4bf9e9[_0x1cd3('0x7b')](this[_0x1cd3('0x42e')][_0x1cd3('0x2f3f')](_0x13d804[_0xb03f24],_0x5d8270));_0x41164b=this[_0x1cd3('0x42e')]['getChildren'](_0x13d804[_0xb03f24]);_0x4bf9e9=_0x4bf9e9['concat'](this[_0x1cd3('0x3166')](_0x41164b));}return _0x4bf9e9;};mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x3167')]=function(_0x33bd30,_0x58653f){_0x58653f=null!=_0x58653f?_0x58653f:!0x1;this[_0x1cd3('0x42e')][_0x1cd3('0x2a6c')]();try{this[_0x1cd3('0x311b')](_0x33bd30,_0x58653f),this['fireEvent'](new mxEventObject(mxEvent[_0x1cd3('0x3168')],_0x1cd3('0xefb'),_0x33bd30,_0x1cd3('0x3169'),_0x58653f));}finally{this[_0x1cd3('0x42e')][_0x1cd3('0x2b5e')]();}return _0x33bd30;};mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x311b')]=function(_0x2f4416,_0x56a5cb){if(null!=_0x2f4416){this[_0x1cd3('0x42e')][_0x1cd3('0x2a6c')]();try{var _0x40d41e=this['getPreferredSizeForCell'](_0x2f4416),_0x559908=this[_0x1cd3('0x42e')][_0x1cd3('0x2e67')](_0x2f4416);if(null!=_0x40d41e&&null!=_0x559908){var _0x2f2b73=this[_0x1cd3('0x2f1f')](_0x2f4416),_0x559908=_0x559908[_0x1cd3('0x1141')]();if(this[_0x1cd3('0x2e6f')](_0x2f4416)){var _0x18b4c9=this[_0x1cd3('0x1665')][_0x1cd3('0x29d9')](_0x2f4416),_0x501fee=null!=_0x18b4c9?_0x18b4c9[_0x1cd3('0x440')]:this[_0x1cd3('0x2e7a')](_0x2f4416),_0x3728a7=this[_0x1cd3('0x42e')][_0x1cd3('0x2a6e')](_0x2f4416);null==_0x3728a7&&(_0x3728a7='');mxUtils[_0x1cd3('0x2a5a')](_0x501fee,mxConstants[_0x1cd3('0x2a5c')],!0x0)?(_0x3728a7=mxUtils['setStyle'](_0x3728a7,mxConstants[_0x1cd3('0x2a5b')],_0x40d41e['height']+0x8),_0x2f2b73&&(_0x559908[_0x1cd3('0x4e4')]=_0x40d41e[_0x1cd3('0x4e4')]+0x8),_0x559908[_0x1cd3('0x4d7')]=_0x40d41e[_0x1cd3('0x4d7')]):(_0x3728a7=mxUtils[_0x1cd3('0x2a6d')](_0x3728a7,mxConstants[_0x1cd3('0x2a5b')],_0x40d41e[_0x1cd3('0x4d7')]+0x8),_0x2f2b73&&(_0x559908['width']=_0x40d41e['width']+0x8),_0x559908[_0x1cd3('0x4e4')]=_0x40d41e[_0x1cd3('0x4e4')]);this[_0x1cd3('0x42e')][_0x1cd3('0x2a6d')](_0x2f4416,_0x3728a7);}else _0x559908[_0x1cd3('0x4d7')]=_0x40d41e[_0x1cd3('0x4d7')],_0x559908[_0x1cd3('0x4e4')]=_0x40d41e[_0x1cd3('0x4e4')];if(!_0x56a5cb&&!_0x2f2b73){var _0x3a5fc1=this[_0x1cd3('0x1665')][_0x1cd3('0x2eab')](this[_0x1cd3('0x42e')]['getChildren'](_0x2f4416));if(null!=_0x3a5fc1){var _0x1f1378=this['view'][_0x1cd3('0x43c')],_0xe5b9d9=this['view']['scale'],_0x70c20c=(_0x3a5fc1['y']+_0x3a5fc1[_0x1cd3('0x4e4')])/_0xe5b9d9-_0x559908['y']-_0x1f1378['y'];_0x559908[_0x1cd3('0x4d7')]=Math[_0x1cd3('0x13d1')](_0x559908[_0x1cd3('0x4d7')],(_0x3a5fc1['x']+_0x3a5fc1[_0x1cd3('0x4d7')])/_0xe5b9d9-_0x559908['x']-_0x1f1378['x']);_0x559908['height']=Math[_0x1cd3('0x13d1')](_0x559908[_0x1cd3('0x4e4')],_0x70c20c);}}this[_0x1cd3('0x2b69')]([_0x2f4416],[_0x559908]);}}finally{this[_0x1cd3('0x42e')][_0x1cd3('0x2b5e')]();}}};mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x3165')]=function(_0x3e05bf){var _0x1d1c74=null;if(null!=_0x3e05bf){var _0x1209a8=this[_0x1cd3('0x1665')][_0x1cd3('0x29d9')](_0x3e05bf),_0x3fc708=null!=_0x1209a8?_0x1209a8[_0x1cd3('0x440')]:this[_0x1cd3('0x2e7a')](_0x3e05bf);if(null!=_0x3fc708&&!this[_0x1cd3('0x42e')]['isEdge'](_0x3e05bf)){var _0x1d069d=_0x3fc708[mxConstants[_0x1cd3('0x300c')]]||mxConstants[_0x1cd3('0x2cb6')],_0x5b1649=0x0,_0x1d1c74=0x0;if((null!=this[_0x1cd3('0x2ca0')](_0x1209a8)||null!=_0x3fc708[mxConstants[_0x1cd3('0x3139')]])&&_0x3fc708[mxConstants[_0x1cd3('0x2f99')]]==mxConstants[_0x1cd3('0x2ff2')])_0x3fc708[mxConstants[_0x1cd3('0x2f9b')]]==mxConstants[_0x1cd3('0x2d56')]&&(_0x5b1649+=parseFloat(_0x3fc708[mxConstants[_0x1cd3('0x2e47')]])||mxLabel[_0x1cd3('0x77a')][_0x1cd3('0x2e3c')]),_0x3fc708[mxConstants[_0x1cd3('0x2fa0')]]!=mxConstants['ALIGN_CENTER']&&(_0x1d1c74+=parseFloat(_0x3fc708[mxConstants[_0x1cd3('0x2e48')]])||mxLabel['prototype'][_0x1cd3('0x2e3c')]);_0x5b1649+=0x2*(_0x3fc708[mxConstants[_0x1cd3('0x2fe2')]]||0x0);_0x5b1649+=_0x3fc708[mxConstants[_0x1cd3('0x2fe5')]]||0x0;_0x5b1649+=_0x3fc708[mxConstants[_0x1cd3('0x2fe4')]]||0x0;_0x1d1c74+=0x2*(_0x3fc708[mxConstants[_0x1cd3('0x2fe2')]]||0x0);_0x1d1c74+=_0x3fc708[mxConstants[_0x1cd3('0x2fe3')]]||0x0;_0x1d1c74+=_0x3fc708[mxConstants['STYLE_SPACING_BOTTOM']]||0x0;_0x1209a8=this[_0x1cd3('0x3021')](_0x1209a8);null!=_0x1209a8&&(_0x5b1649+=_0x1209a8['width']+0x8);_0x1209a8=this[_0x1cd3('0x300b')](_0x3e05bf);null!=_0x1209a8&&0x0<_0x1209a8[_0x1cd3('0x7a')]?(this[_0x1cd3('0x300d')](_0x3e05bf)||(_0x1209a8=_0x1209a8[_0x1cd3('0x3f1')](/\n/g,_0x1cd3('0x2a96'))),_0x1d069d=mxUtils[_0x1cd3('0x316a')](_0x1209a8,_0x1d069d,_0x3fc708[mxConstants['STYLE_FONTFAMILY']]),_0x3e05bf=_0x1d069d[_0x1cd3('0x4d7')]+_0x5b1649,_0x1d1c74=_0x1d069d['height']+_0x1d1c74,mxUtils[_0x1cd3('0x2a5a')](_0x3fc708,mxConstants[_0x1cd3('0x2a5c')],!0x0)||(_0x3fc708=_0x1d1c74,_0x1d1c74=_0x3e05bf,_0x3e05bf=_0x3fc708),this[_0x1cd3('0x2beb')]&&(_0x3e05bf=this['snap'](_0x3e05bf+this[_0x1cd3('0x2c06')]/0x2),_0x1d1c74=this['snap'](_0x1d1c74+this['gridSize']/0x2)),_0x1d1c74=new mxRectangle(0x0,0x0,_0x3e05bf,_0x1d1c74)):(_0x3fc708=0x4*this[_0x1cd3('0x2c06')],_0x1d1c74=new mxRectangle(0x0,0x0,_0x3fc708,_0x3fc708));}}return _0x1d1c74;};mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x302c')]=function(_0x8a3aff,_0x552519){if(0.2_0x4d8adc?(_0x4d8adc=_0x3f924a[_0x1cd3('0x4e4')]/_0x4d8adc,_0x1bb9c7=(_0x4d8adc-_0x3f924a[_0x1cd3('0x4e4')])/0x2,_0x3f924a[_0x1cd3('0x4e4')]=_0x4d8adc,_0x4d8adc=Math[_0x1cd3('0x4e3')](_0x3f924a['y'],_0x1bb9c7),_0x3f924a['y']-=_0x4d8adc,_0x202b68=Math[_0x1cd3('0x4e3')](this[_0x1cd3('0x4ce')]['scrollHeight'],_0x3f924a['y']+_0x3f924a[_0x1cd3('0x4e4')]),_0x3f924a[_0x1cd3('0x4e4')]=_0x202b68-_0x3f924a['y']):(_0x4d8adc*=_0x3f924a[_0x1cd3('0x4d7')],_0x1bb9c7=(_0x4d8adc-_0x3f924a['width'])/0x2,_0x3f924a[_0x1cd3('0x4d7')]=_0x4d8adc,_0x4d8adc=Math[_0x1cd3('0x4e3')](_0x3f924a['x'],_0x1bb9c7),_0x3f924a['x']-=_0x4d8adc,_0x1bb9c7=Math[_0x1cd3('0x4e3')](this[_0x1cd3('0x4ce')][_0x1cd3('0x6fb')],_0x3f924a['x']+_0x3f924a[_0x1cd3('0x4d7')]),_0x3f924a['width']=_0x1bb9c7-_0x3f924a['x']);_0x4d8adc=this['container'][_0x1cd3('0x29b5')]/_0x3f924a[_0x1cd3('0x4d7')];_0x1bb9c7=this[_0x1cd3('0x1665')]['scale']*_0x4d8adc;mxUtils[_0x1cd3('0x3197')](this[_0x1cd3('0x4ce')])?(this[_0x1cd3('0x1665')][_0x1cd3('0x3196')](_0x1bb9c7),this[_0x1cd3('0x4ce')][_0x1cd3('0x767')]=Math[_0x1cd3('0x18ba')](_0x3f924a['x']*_0x4d8adc),this[_0x1cd3('0x4ce')][_0x1cd3('0x515')]=Math[_0x1cd3('0x18ba')](_0x3f924a['y']*_0x4d8adc)):this[_0x1cd3('0x1665')]['scaleAndTranslate'](_0x1bb9c7,this[_0x1cd3('0x1665')][_0x1cd3('0x43c')]['x']-_0x3f924a['x']/this[_0x1cd3('0x1665')][_0x1cd3('0x29df')],this[_0x1cd3('0x1665')]['translate']['y']-_0x3f924a['y']/this['view'][_0x1cd3('0x29df')]);};mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x2bae')]=function(_0x31e954,_0x31f986){if(null!=this[_0x1cd3('0x4ce')]){_0x31e954=null!=_0x31e954?_0x31e954:0x0;_0x31f986=null!=_0x31f986?_0x31f986:!0x1;var _0x43b5b0=this[_0x1cd3('0x4ce')][_0x1cd3('0x29b5')],_0x27d202=this['container']['clientHeight'],_0x460732=this['view'][_0x1cd3('0x2a84')]();_0x31f986&&(null!=_0x460732['x']&&null!=_0x460732['y'])&&(_0x460732[_0x1cd3('0x4d7')]+=_0x460732['x'],_0x460732['height']+=_0x460732['y'],_0x460732['x']=0x0,_0x460732['y']=0x0);var _0x4a88d4=this[_0x1cd3('0x1665')][_0x1cd3('0x29df')],_0x14c063=_0x460732[_0x1cd3('0x4d7')]/_0x4a88d4,_0x10a8e7=_0x460732[_0x1cd3('0x4e4')]/_0x4a88d4;null!=this['backgroundImage']&&(_0x14c063=Math[_0x1cd3('0x13d1')](_0x14c063,this[_0x1cd3('0x2dfc')][_0x1cd3('0x4d7')]-_0x460732['x']/_0x4a88d4),_0x10a8e7=Math[_0x1cd3('0x13d1')](_0x10a8e7,this['backgroundImage']['height']-_0x460732['y']/_0x4a88d4));var _0x3c1073=_0x31f986?_0x31e954:0x2*_0x31e954,_0x43b5b0=Math['floor'](0x64*Math[_0x1cd3('0x4e3')](_0x43b5b0/(_0x14c063+_0x3c1073),_0x27d202/(_0x10a8e7+_0x3c1073)))/0x64;null!=this['minFitScale']&&(_0x43b5b0=Math[_0x1cd3('0x13d1')](_0x43b5b0,this[_0x1cd3('0x3199')]));null!=this[_0x1cd3('0x30f0')]&&(_0x43b5b0=Math[_0x1cd3('0x4e3')](_0x43b5b0,this[_0x1cd3('0x30f0')]));_0x31f986?this[_0x1cd3('0x1665')]['scale']!=_0x43b5b0&&this[_0x1cd3('0x1665')][_0x1cd3('0x3196')](_0x43b5b0):mxUtils[_0x1cd3('0x3197')](this['container'])?(this['view']['setScale'](_0x43b5b0),null!=_0x460732['x']&&(this[_0x1cd3('0x4ce')][_0x1cd3('0x767')]=Math[_0x1cd3('0x18ba')](_0x460732['x']/_0x4a88d4)*_0x43b5b0-_0x31e954-Math[_0x1cd3('0x13d1')](0x0,(this[_0x1cd3('0x4ce')][_0x1cd3('0x29b5')]-_0x14c063*_0x43b5b0)/0x2)),null!=_0x460732['y']&&(this[_0x1cd3('0x4ce')]['scrollTop']=Math[_0x1cd3('0x18ba')](_0x460732['y']/_0x4a88d4)*_0x43b5b0-_0x31e954-Math[_0x1cd3('0x13d1')](0x0,(this[_0x1cd3('0x4ce')][_0x1cd3('0x29b4')]-_0x10a8e7*_0x43b5b0)/0x2))):this['view'][_0x1cd3('0x2b64')](_0x43b5b0,null!=_0x460732['x']?Math['floor'](this[_0x1cd3('0x1665')][_0x1cd3('0x43c')]['x']-_0x460732['x']/_0x4a88d4+_0x31e954+0x1):_0x31e954,null!=_0x460732['y']?Math[_0x1cd3('0x6b1')](this[_0x1cd3('0x1665')][_0x1cd3('0x43c')]['y']-_0x460732['y']/_0x4a88d4+_0x31e954+0x1):_0x31e954);}return this['view']['scale'];};mxGraph[_0x1cd3('0x77a')]['scrollCellToVisible']=function(_0x3d7678,_0x265c19){var _0x45b53c=-this['view'][_0x1cd3('0x43c')]['x'],_0x56c833=-this[_0x1cd3('0x1665')][_0x1cd3('0x43c')]['y'],_0x2d0db8=this[_0x1cd3('0x1665')]['getState'](_0x3d7678);null!=_0x2d0db8&&(_0x45b53c=new mxRectangle(_0x45b53c+_0x2d0db8['x'],_0x56c833+_0x2d0db8['y'],_0x2d0db8[_0x1cd3('0x4d7')],_0x2d0db8[_0x1cd3('0x4e4')]),_0x265c19&&null!=this[_0x1cd3('0x4ce')]&&(_0x56c833=this[_0x1cd3('0x4ce')][_0x1cd3('0x29b5')],_0x2d0db8=this[_0x1cd3('0x4ce')][_0x1cd3('0x29b4')],_0x45b53c['x']=_0x45b53c[_0x1cd3('0x29d5')]()-_0x56c833/0x2,_0x45b53c[_0x1cd3('0x4d7')]=_0x56c833,_0x45b53c['y']=_0x45b53c[_0x1cd3('0x29d6')]()-_0x2d0db8/0x2,_0x45b53c[_0x1cd3('0x4e4')]=_0x2d0db8),this[_0x1cd3('0x3195')](_0x45b53c)&&this['view'][_0x1cd3('0x2c6f')](this[_0x1cd3('0x1665')][_0x1cd3('0x43c')]['x'],this[_0x1cd3('0x1665')][_0x1cd3('0x43c')]['y']));};mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x3195')]=function(_0x286dc3){var _0x5eace5=!0x1;if(null!=_0x286dc3){var _0xe472c6=this[_0x1cd3('0x4ce')][_0x1cd3('0x2a1f')],_0x405ce5=this[_0x1cd3('0x4ce')]['offsetHeight'],_0x1cf1b1=Math[_0x1cd3('0x4e3')](_0xe472c6,_0x286dc3['width']),_0x5c272a=Math[_0x1cd3('0x4e3')](_0x405ce5,_0x286dc3[_0x1cd3('0x4e4')]);if(mxUtils[_0x1cd3('0x3197')](this['container'])){_0xe472c6=this[_0x1cd3('0x4ce')];_0x286dc3['x']+=this[_0x1cd3('0x1665')]['translate']['x'];_0x286dc3['y']+=this['view'][_0x1cd3('0x43c')]['y'];var _0x5b992f=_0xe472c6[_0x1cd3('0x767')]-_0x286dc3['x'],_0x405ce5=Math[_0x1cd3('0x13d1')](_0x5b992f-_0xe472c6[_0x1cd3('0x767')],0x0);0x0<_0x5b992f?_0xe472c6[_0x1cd3('0x767')]-=_0x5b992f+0x2:(_0x5b992f=_0x286dc3['x']+_0x1cf1b1-_0xe472c6['scrollLeft']-_0xe472c6[_0x1cd3('0x29b5')],0x0<_0x5b992f&&(_0xe472c6[_0x1cd3('0x767')]+=_0x5b992f+0x2));_0x1cf1b1=_0xe472c6[_0x1cd3('0x515')]-_0x286dc3['y'];_0x5b992f=Math[_0x1cd3('0x13d1')](0x0,_0x1cf1b1-_0xe472c6[_0x1cd3('0x515')]);0x0<_0x1cf1b1?_0xe472c6['scrollTop']-=_0x1cf1b1+0x2:(_0x1cf1b1=_0x286dc3['y']+_0x5c272a-_0xe472c6[_0x1cd3('0x515')]-_0xe472c6[_0x1cd3('0x29b4')],0x0<_0x1cf1b1&&(_0xe472c6['scrollTop']+=_0x1cf1b1+0x2));!this[_0x1cd3('0x318e')]&&(0x0!=_0x405ce5||0x0!=_0x5b992f)&&this[_0x1cd3('0x1665')][_0x1cd3('0x2c6f')](_0x405ce5,_0x5b992f);}else{var _0x5b992f=-this['view']['translate']['x'],_0x4d12bb=-this['view']['translate']['y'],_0x253ce3=this[_0x1cd3('0x1665')][_0x1cd3('0x29df')];_0x286dc3['x']+_0x1cf1b1>_0x5b992f+_0xe472c6&&(this[_0x1cd3('0x1665')]['translate']['x']-=(_0x286dc3['x']+_0x1cf1b1-_0xe472c6-_0x5b992f)/_0x253ce3,_0x5eace5=!0x0);_0x286dc3['y']+_0x5c272a>_0x4d12bb+_0x405ce5&&(this[_0x1cd3('0x1665')]['translate']['y']-=(_0x286dc3['y']+_0x5c272a-_0x405ce5-_0x4d12bb)/_0x253ce3,_0x5eace5=!0x0);_0x286dc3['x']<_0x5b992f&&(this[_0x1cd3('0x1665')]['translate']['x']+=(_0x5b992f-_0x286dc3['x'])/_0x253ce3,_0x5eace5=!0x0);_0x286dc3['y']<_0x4d12bb&&(this[_0x1cd3('0x1665')][_0x1cd3('0x43c')]['y']+=(_0x4d12bb-_0x286dc3['y'])/_0x253ce3,_0x5eace5=!0x0);_0x5eace5&&(this[_0x1cd3('0x1665')][_0x1cd3('0x8fa')](),null!=this[_0x1cd3('0x319a')]&&this[_0x1cd3('0x319a')][_0x1cd3('0x8fa')]());}}return _0x5eace5;};mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x2e6e')]=function(_0x54e503){return this[_0x1cd3('0x42e')][_0x1cd3('0x2e67')](_0x54e503);};mxGraph['prototype'][_0x1cd3('0x2e60')]=function(_0x3dbdae){return this[_0x1cd3('0x42e')][_0x1cd3('0x29c0')](_0x3dbdae);};mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x2f1f')]=function(_0x46d0c7){return this[_0x1cd3('0x42e')][_0x1cd3('0x2f52')](_0x46d0c7);};mxGraph['prototype'][_0x1cd3('0x319b')]=function(_0xb8f002){return this['model'][_0x1cd3('0x2f4e')](_0xb8f002);};mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x308b')]=function(_0x1aa3e4){var _0x813614=_0x1aa3e4[_0x1cd3('0x440')][mxConstants[_0x1cd3('0x319c')]];if(null!=_0x813614)return _0x813614;_0x1aa3e4=this['view'][_0x1cd3('0x3085')](_0x1aa3e4);return _0x1aa3e4==mxEdgeStyle[_0x1cd3('0x303f')]||_0x1aa3e4==mxEdgeStyle['ElbowConnector']||_0x1aa3e4==mxEdgeStyle[_0x1cd3('0x3055')]||_0x1aa3e4==mxEdgeStyle['TopToBottom']||_0x1aa3e4==mxEdgeStyle['EntityRelation']||_0x1aa3e4==mxEdgeStyle['OrthConnector'];};mxGraph['prototype']['isLoop']=function(_0x54b777){var _0x2b729b=_0x54b777[_0x1cd3('0x2fb4')](!0x0);_0x54b777=_0x54b777[_0x1cd3('0x2fb4')](!0x1);return null!=_0x2b729b&&_0x2b729b==_0x54b777;};mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x319d')]=function(_0x54dea1){return mxEvent[_0x1cd3('0x2fcd')](_0x54dea1);};mxGraph['prototype']['isToggleEvent']=function(_0x580dc8){return mxClient[_0x1cd3('0x319e')]?mxEvent[_0x1cd3('0x319f')](_0x580dc8):mxEvent['isControlDown'](_0x580dc8);};mxGraph[_0x1cd3('0x77a')]['isGridEnabledEvent']=function(_0x2c26c1){return null!=_0x2c26c1&&!mxEvent[_0x1cd3('0x31a0')](_0x2c26c1);};mxGraph[_0x1cd3('0x77a')]['isConstrainedEvent']=function(_0x172270){return mxEvent[_0x1cd3('0x2b42')](_0x172270);};mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x31a1')]=function(_0x4c683e){return mxEvent['isAltDown'](_0x4c683e);};mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x31a2')]=function(_0x5bd11f){mxUtils[_0x1cd3('0x11d0')](_0x5bd11f);};mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x31a3')]=function(_0x2251c0,_0x5d4499,_0x36b354){return null==this[_0x1cd3('0x31a4')](_0x2251c0,_0x5d4499,_0x36b354);};mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x31a4')]=function(_0x52b499,_0x81e7bd,_0x3dca5e){if(null!=_0x52b499&&!this[_0x1cd3('0x31a5')]()&&(null==_0x81e7bd||null==_0x3dca5e))return'';if(null!=_0x52b499&&null==this[_0x1cd3('0x42e')][_0x1cd3('0x2e62')](_0x52b499,!0x0)&&null==this[_0x1cd3('0x42e')][_0x1cd3('0x2e62')](_0x52b499,!0x1))return null;if(!this[_0x1cd3('0x30eb')]&&_0x81e7bd==_0x3dca5e&&null!=_0x81e7bd||!this['isValidConnection'](_0x81e7bd,_0x3dca5e))return'';if(null!=_0x81e7bd&&null!=_0x3dca5e){var _0x1e7d86='';if(!this[_0x1cd3('0x31a6')]){var _0x541e1e=this[_0x1cd3('0x42e')][_0x1cd3('0x2edf')](_0x81e7bd,_0x3dca5e,!0x0);if(0x1<_0x541e1e[_0x1cd3('0x7a')]||0x1==_0x541e1e[_0x1cd3('0x7a')]&&_0x541e1e[0x0]!=_0x52b499)_0x1e7d86+=(mxResources[_0x1cd3('0x361')](this[_0x1cd3('0x30f6')])||this['alreadyConnectedResource'])+'\x0a';}var _0x541e1e=this[_0x1cd3('0x42e')]['getDirectedEdgeCount'](_0x81e7bd,!0x0,_0x52b499),_0x5ecc55=this['model'][_0x1cd3('0x2f4c')](_0x3dca5e,!0x1,_0x52b499);if(null!=this[_0x1cd3('0x30b0')])for(var _0x3d20d6=0x0;_0x3d20d6mxUtils[_0x1cd3('0x45e')](_0x4b1ad9,_0x3ece46)?_0x3ece46:null;};mxGraph['prototype'][_0x1cd3('0x2b97')]=function(){var _0x3e21c2=this[_0x1cd3('0x30c1')];null==_0x3e21c2&&(_0x3e21c2=this[_0x1cd3('0x3176')](),null==_0x3e21c2&&(_0x3e21c2=this[_0x1cd3('0x42e')][_0x1cd3('0x2a78')](),_0x3e21c2=this[_0x1cd3('0x42e')][_0x1cd3('0x29e6')](_0x3e21c2,0x0)));return _0x3e21c2;};mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x3211')]=function(_0x16269c){this[_0x1cd3('0x30c1')]=_0x16269c;};mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x3007')]=function(_0x2d7f6f){for(;null!=_0x2d7f6f&&!this[_0x1cd3('0x2e6f')](_0x2d7f6f);)_0x2d7f6f=this[_0x1cd3('0x42e')][_0x1cd3('0x2c9d')](_0x2d7f6f);return _0x2d7f6f;};mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x311e')]=function(_0x2ccf30,_0x1838c3,_0x378c6f){_0x378c6f=_0x378c6f||this[_0x1cd3('0x2b97')]();if(null!=_0x378c6f)for(var _0x32ff23=this[_0x1cd3('0x42e')][_0x1cd3('0x29e5')](_0x378c6f),_0x2a5ec2=0x0;_0x2a5ec2<_0x32ff23;_0x2a5ec2++){var _0x59202f=this['model'][_0x1cd3('0x29e6')](_0x378c6f,_0x2a5ec2),_0x481054=this[_0x1cd3('0x311e')](_0x2ccf30,_0x1838c3,_0x59202f);if(null!=_0x481054)return _0x481054;if(this[_0x1cd3('0x2e6f')](_0x59202f)&&(_0x481054=this['view'][_0x1cd3('0x29d9')](_0x59202f),this[_0x1cd3('0x3212')](_0x481054,_0x2ccf30,_0x1838c3)))return _0x59202f;}return null;};mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x2bf3')]=function(_0x23433e,_0x4e83ad,_0x2d7e80,_0x58b3d9,_0x2b43bd){_0x58b3d9=null!=_0x58b3d9?_0x58b3d9:!0x0;_0x2b43bd=null!=_0x2b43bd?_0x2b43bd:!0x0;_0x2d7e80=null!=_0x2d7e80?_0x2d7e80:this[_0x1cd3('0x2b97')]();if(null!=_0x2d7e80)for(var _0x498434=this[_0x1cd3('0x42e')][_0x1cd3('0x29e5')](_0x2d7e80)-0x1;0x0<=_0x498434;_0x498434--){var _0x345cbc=this[_0x1cd3('0x42e')][_0x1cd3('0x29e6')](_0x2d7e80,_0x498434),_0x3988bc=this[_0x1cd3('0x2bf3')](_0x23433e,_0x4e83ad,_0x345cbc,_0x58b3d9,_0x2b43bd);if(null!=_0x3988bc)return _0x3988bc;if(this[_0x1cd3('0x2e60')](_0x345cbc)&&(_0x2b43bd&&this['model']['isEdge'](_0x345cbc)||_0x58b3d9&&this[_0x1cd3('0x42e')]['isVertex'](_0x345cbc)))if(_0x3988bc=this[_0x1cd3('0x1665')][_0x1cd3('0x29d9')](_0x345cbc),this['intersects'](_0x3988bc,_0x23433e,_0x4e83ad))return _0x345cbc;}return null;};mxGraph['prototype'][_0x1cd3('0x3212')]=function(_0x397e06,_0x3fa287,_0xae4fa1){if(null!=_0x397e06){var _0x93ee13=_0x397e06[_0x1cd3('0x2a59')];if(null!=_0x93ee13){_0x397e06=this[_0x1cd3('0x30bf')]*this[_0x1cd3('0x30bf')];for(var _0x54da32=_0x93ee13[0x0],_0x1b58f3=0x1;_0x1b58f3<_0x93ee13['length'];_0x1b58f3++){var _0x1af98f=_0x93ee13[_0x1b58f3];if(mxUtils['ptSegDistSq'](_0x54da32['x'],_0x54da32['y'],_0x1af98f['x'],_0x1af98f['y'],_0x3fa287,_0xae4fa1)<=_0x397e06)return!0x0;_0x54da32=_0x1af98f;}}else if(_0x54da32=mxUtils['toRadians'](mxUtils[_0x1cd3('0x2a5a')](_0x397e06[_0x1cd3('0x440')],mxConstants['STYLE_ROTATION'])||0x0),0x0!=_0x54da32&&(_0x93ee13=Math['cos'](-_0x54da32),_0x54da32=Math[_0x1cd3('0x2a4e')](-_0x54da32),_0x1b58f3=new mxPoint(_0x397e06['getCenterX'](),_0x397e06[_0x1cd3('0x29d6')]()),_0x54da32=mxUtils[_0x1cd3('0x2a52')](new mxPoint(_0x3fa287,_0xae4fa1),_0x93ee13,_0x54da32,_0x1b58f3),_0x3fa287=_0x54da32['x'],_0xae4fa1=_0x54da32['y']),mxUtils[_0x1cd3('0x2a5e')](_0x397e06,_0x3fa287,_0xae4fa1))return!0x0;}return!0x1;};mxGraph['prototype'][_0x1cd3('0x3213')]=function(_0x316d68,_0x1d3f20,_0x43e4ea){var _0x7c26ee=this[_0x1cd3('0x29de')]()[_0x1cd3('0x29d9')](_0x316d68);_0x316d68=this[_0x1cd3('0x2e70')](_0x316d68);if(null!=_0x7c26ee){var _0x485b01=this[_0x1cd3('0x29de')]()[_0x1cd3('0x2a85')]();_0x1d3f20-=_0x7c26ee['x'];_0x43e4ea-=_0x7c26ee['y'];if(0x0<_0x316d68[_0x1cd3('0x4d7')]&&0x0<_0x1d3f20&&_0x1d3f20>_0x316d68[_0x1cd3('0x4d7')]*_0x485b01||0x0<_0x316d68[_0x1cd3('0x4e4')]&&0x0<_0x43e4ea&&_0x43e4ea>_0x316d68[_0x1cd3('0x4e4')]*_0x485b01)return!0x0;}return!0x1;};mxGraph['prototype'][_0x1cd3('0x2e6d')]=function(_0x10a9f8){return this[_0x1cd3('0x2f46')](_0x10a9f8,!0x0,!0x1);};mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x2f47')]=function(_0x1a1c2f){return this[_0x1cd3('0x2f46')](_0x1a1c2f,!0x1,!0x0);};mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x2f46')]=function(_0x1c658e,_0x4d6e87,_0x2ee84b){_0x1c658e=null!=_0x1c658e?_0x1c658e:this['getDefaultParent']();_0x1c658e=this[_0x1cd3('0x42e')][_0x1cd3('0x2f46')](_0x1c658e,null!=_0x4d6e87?_0x4d6e87:!0x1,null!=_0x2ee84b?_0x2ee84b:!0x1);_0x4d6e87=[];for(_0x2ee84b=0x0;_0x2ee84b<_0x1c658e[_0x1cd3('0x7a')];_0x2ee84b++)this[_0x1cd3('0x2e60')](_0x1c658e[_0x2ee84b])&&_0x4d6e87['push'](_0x1c658e[_0x2ee84b]);return _0x4d6e87;};mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x2e88')]=function(_0x4711e4,_0x430f61){return this['getEdges'](_0x4711e4,_0x430f61,!0x0,!0x0,!0x1);};mxGraph[_0x1cd3('0x77a')]['getIncomingEdges']=function(_0x82c451,_0x59ae5e){return this[_0x1cd3('0x29e7')](_0x82c451,_0x59ae5e,!0x0,!0x1,!0x1);};mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x2f4d')]=function(_0x3c9051,_0x23c1b8){return this[_0x1cd3('0x29e7')](_0x3c9051,_0x23c1b8,!0x1,!0x0,!0x1);};mxGraph['prototype'][_0x1cd3('0x29e7')]=function(_0x4701c1,_0x2d9308,_0xfb1691,_0x298d4e,_0x3fb5d4,_0x54a41b){_0xfb1691=null!=_0xfb1691?_0xfb1691:!0x0;_0x298d4e=null!=_0x298d4e?_0x298d4e:!0x0;_0x3fb5d4=null!=_0x3fb5d4?_0x3fb5d4:!0x0;_0x54a41b=null!=_0x54a41b?_0x54a41b:!0x1;for(var _0x3c9225=[],_0x5d5c0f=this['isCellCollapsed'](_0x4701c1),_0x351f6f=this['model'][_0x1cd3('0x29e5')](_0x4701c1),_0x4057fb=0x0;_0x4057fb<_0x351f6f;_0x4057fb++){var _0x267cb9=this['model']['getChildAt'](_0x4701c1,_0x4057fb);if(_0x5d5c0f||!this[_0x1cd3('0x2e60')](_0x267cb9))_0x3c9225=_0x3c9225[_0x1cd3('0x3ae')](this[_0x1cd3('0x42e')]['getEdges'](_0x267cb9,_0xfb1691,_0x298d4e));}_0x3c9225=_0x3c9225[_0x1cd3('0x3ae')](this[_0x1cd3('0x42e')]['getEdges'](_0x4701c1,_0xfb1691,_0x298d4e));_0x5d5c0f=[];for(_0x4057fb=0x0;_0x4057fb<_0x3c9225[_0x1cd3('0x7a')];_0x4057fb++)_0x267cb9=this['view']['getState'](_0x3c9225[_0x4057fb]),_0x351f6f=null!=_0x267cb9?_0x267cb9[_0x1cd3('0x2e5c')](!0x0):this[_0x1cd3('0x1665')][_0x1cd3('0x2e5c')](_0x3c9225[_0x4057fb],!0x0),_0x267cb9=null!=_0x267cb9?_0x267cb9[_0x1cd3('0x2e5c')](!0x1):this[_0x1cd3('0x1665')]['getVisibleTerminal'](_0x3c9225[_0x4057fb],!0x1),(_0x3fb5d4&&_0x351f6f==_0x267cb9||_0x351f6f!=_0x267cb9&&(_0xfb1691&&_0x267cb9==_0x4701c1&&(null==_0x2d9308||this[_0x1cd3('0x2f21')](_0x351f6f,_0x2d9308,_0x54a41b))||_0x298d4e&&_0x351f6f==_0x4701c1&&(null==_0x2d9308||this[_0x1cd3('0x2f21')](_0x267cb9,_0x2d9308,_0x54a41b))))&&_0x5d5c0f[_0x1cd3('0x7b')](_0x3c9225[_0x4057fb]);return _0x5d5c0f;};mxGraph['prototype']['isValidAncestor']=function(_0x8e8591,_0xd456b2,_0x297520){return _0x297520?this[_0x1cd3('0x42e')][_0x1cd3('0x2ed4')](_0xd456b2,_0x8e8591):this[_0x1cd3('0x42e')][_0x1cd3('0x2c9d')](_0x8e8591)==_0xd456b2;};mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x2eb5')]=function(_0x3c54fd,_0x3a1f0e,_0x214e2d,_0x4e7389){_0x214e2d=null!=_0x214e2d?_0x214e2d:!0x0;_0x4e7389=null!=_0x4e7389?_0x4e7389:!0x0;var _0x9f232a=[],_0x34c185={};if(null!=_0x3c54fd)for(var _0x577e1b=0x0;_0x577e1b<_0x3c54fd[_0x1cd3('0x7a')];_0x577e1b++){var _0x2b39c2=this[_0x1cd3('0x1665')][_0x1cd3('0x29d9')](_0x3c54fd[_0x577e1b]),_0x101919=null!=_0x2b39c2?_0x2b39c2[_0x1cd3('0x2e5c')](!0x0):this[_0x1cd3('0x1665')]['getVisibleTerminal'](_0x3c54fd[_0x577e1b],!0x0),_0x2b39c2=null!=_0x2b39c2?_0x2b39c2[_0x1cd3('0x2e5c')](!0x1):this['view'][_0x1cd3('0x2e5c')](_0x3c54fd[_0x577e1b],!0x1);if(_0x101919==_0x3a1f0e&&null!=_0x2b39c2&&_0x2b39c2!=_0x3a1f0e&&_0x4e7389){var _0x253cf8=mxCellPath[_0x1cd3('0x624')](_0x2b39c2);null==_0x34c185[_0x253cf8]&&(_0x34c185[_0x253cf8]=_0x2b39c2,_0x9f232a[_0x1cd3('0x7b')](_0x2b39c2));}else _0x2b39c2==_0x3a1f0e&&(null!=_0x101919&&_0x101919!=_0x3a1f0e&&_0x214e2d)&&(_0x253cf8=mxCellPath[_0x1cd3('0x624')](_0x101919),null==_0x34c185[_0x253cf8]&&(_0x34c185[_0x253cf8]=_0x101919,_0x9f232a[_0x1cd3('0x7b')](_0x101919)));}return _0x9f232a;};mxGraph[_0x1cd3('0x77a')]['getEdgesBetween']=function(_0x33a1f7,_0x566f09,_0x4cba35){_0x4cba35=null!=_0x4cba35?_0x4cba35:!0x1;for(var _0x3b53d5=this[_0x1cd3('0x29e7')](_0x33a1f7),_0x2086a3=[],_0x22910f=0x0;_0x22910f<_0x3b53d5[_0x1cd3('0x7a')];_0x22910f++){var _0x58f054=this[_0x1cd3('0x1665')][_0x1cd3('0x29d9')](_0x3b53d5[_0x22910f]),_0x5f01f2=null!=_0x58f054?_0x58f054[_0x1cd3('0x2e5c')](!0x0):this[_0x1cd3('0x1665')][_0x1cd3('0x2e5c')](_0x3b53d5[_0x22910f],!0x0),_0x58f054=null!=_0x58f054?_0x58f054[_0x1cd3('0x2e5c')](!0x1):this[_0x1cd3('0x1665')][_0x1cd3('0x2e5c')](_0x3b53d5[_0x22910f],!0x1);(_0x5f01f2==_0x33a1f7&&_0x58f054==_0x566f09||!_0x4cba35&&_0x5f01f2==_0x566f09&&_0x58f054==_0x33a1f7)&&_0x2086a3[_0x1cd3('0x7b')](_0x3b53d5[_0x22910f]);}return _0x2086a3;};mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x3214')]=function(_0x22eab5,_0x4421d7){var _0x584c00=mxUtils[_0x1cd3('0x3027')](this[_0x1cd3('0x4ce')],mxEvent[_0x1cd3('0x2b19')](_0x22eab5),mxEvent[_0x1cd3('0x2b1c')](_0x22eab5)),_0xbba98c=this[_0x1cd3('0x1665')][_0x1cd3('0x29df')],_0x3764a6=this[_0x1cd3('0x1665')][_0x1cd3('0x43c')],_0x15ceb6=!0x1!=_0x4421d7?this[_0x1cd3('0x2c06')]/0x2:0x0;_0x584c00['x']=this['snap'](_0x584c00['x']/_0xbba98c-_0x3764a6['x']-_0x15ceb6);_0x584c00['y']=this['snap'](_0x584c00['y']/_0xbba98c-_0x3764a6['y']-_0x15ceb6);return _0x584c00;};mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x3215')]=function(_0x523790,_0x8d102c,_0x477f31,_0x2ccb89,_0x5a425f,_0x440603){_0x440603=null!=_0x440603?_0x440603:[];if(0x0<_0x477f31||0x0<_0x2ccb89){var _0x37625f=_0x523790+_0x477f31,_0x1c12ae=_0x8d102c+_0x2ccb89;_0x5a425f=_0x5a425f||this['getDefaultParent']();if(null!=_0x5a425f)for(var _0x348246=this[_0x1cd3('0x42e')][_0x1cd3('0x29e5')](_0x5a425f),_0x4ce950=0x0;_0x4ce950<_0x348246;_0x4ce950++){var _0x1bdfd1=this[_0x1cd3('0x42e')][_0x1cd3('0x29e6')](_0x5a425f,_0x4ce950),_0x51e80a=this[_0x1cd3('0x1665')][_0x1cd3('0x29d9')](_0x1bdfd1);if(this['isCellVisible'](_0x1bdfd1)&&null!=_0x51e80a){var _0x3c2ca4=_0x51e80a,_0x51e80a=mxUtils[_0x1cd3('0x2a5a')](_0x51e80a[_0x1cd3('0x440')],mxConstants[_0x1cd3('0x2a5d')])||0x0;0x0!=_0x51e80a&&(_0x3c2ca4=mxUtils[_0x1cd3('0x2df6')](_0x3c2ca4,_0x51e80a));_0x3c2ca4['x']>=_0x523790&&_0x3c2ca4['y']+_0x3c2ca4['height']<=_0x1c12ae&&_0x3c2ca4['y']>=_0x8d102c&&_0x3c2ca4['x']+_0x3c2ca4['width']<=_0x37625f?_0x440603[_0x1cd3('0x7b')](_0x1bdfd1):this[_0x1cd3('0x3215')](_0x523790,_0x8d102c,_0x477f31,_0x2ccb89,_0x1bdfd1,_0x440603);}}}return _0x440603;};mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x3216')]=function(_0x1d8436,_0x5d57a2,_0x2bf686,_0xaaa5e9,_0x2991f3){var _0xd36bb4=[];if(_0xaaa5e9||_0x2991f3)if(null==_0x2bf686&&(_0x2bf686=this['getDefaultParent']()),null!=_0x2bf686)for(var _0x188cd2=this['model'][_0x1cd3('0x29e5')](_0x2bf686),_0x11734d=0x0;_0x11734d<_0x188cd2;_0x11734d++){var _0x56268a=this[_0x1cd3('0x42e')][_0x1cd3('0x29e6')](_0x2bf686,_0x11734d),_0x56a20c=this[_0x1cd3('0x1665')]['getState'](_0x56268a);this[_0x1cd3('0x2e60')](_0x56268a)&&null!=_0x56a20c&&(!_0xaaa5e9||_0x56a20c['x']>=_0x1d8436)&&(!_0x2991f3||_0x56a20c['y']>=_0x5d57a2)&&_0xd36bb4[_0x1cd3('0x7b')](_0x56268a);}return _0xd36bb4;};mxGraph[_0x1cd3('0x77a')]['findTreeRoots']=function(_0x2ec566,_0x4bd39d,_0x843994){_0x4bd39d=null!=_0x4bd39d?_0x4bd39d:!0x1;_0x843994=null!=_0x843994?_0x843994:!0x1;var _0x166fe7=[];if(null!=_0x2ec566){for(var _0x352cf6=this[_0x1cd3('0x2a77')](),_0x1f3377=_0x352cf6['getChildCount'](_0x2ec566),_0x949e6b=null,_0x3fff8e=0x0,_0x1acd5a=0x0;_0x1acd5a<_0x1f3377;_0x1acd5a++){var _0x9ae64e=_0x352cf6[_0x1cd3('0x29e6')](_0x2ec566,_0x1acd5a);if(this[_0x1cd3('0x42e')]['isVertex'](_0x9ae64e)&&this[_0x1cd3('0x2e60')](_0x9ae64e)){for(var _0x1e26c2=this[_0x1cd3('0x2e88')](_0x9ae64e,_0x4bd39d?_0x2ec566:null),_0x341530=0x0,_0x491491=0x0,_0x377a7e=0x0;_0x377a7e<_0x1e26c2['length'];_0x377a7e++)this[_0x1cd3('0x1665')][_0x1cd3('0x2e5c')](_0x1e26c2[_0x377a7e],!0x0)==_0x9ae64e?_0x341530++:_0x491491++;(_0x843994&&0x0==_0x341530&&0x0<_0x491491||!_0x843994&&0x0==_0x491491&&0x0<_0x341530)&&_0x166fe7[_0x1cd3('0x7b')](_0x9ae64e);_0x1e26c2=_0x843994?_0x491491-_0x341530:_0x341530-_0x491491;_0x1e26c2>_0x3fff8e&&(_0x3fff8e=_0x1e26c2,_0x949e6b=_0x9ae64e);}}0x0==_0x166fe7['length']&&null!=_0x949e6b&&_0x166fe7[_0x1cd3('0x7b')](_0x949e6b);}return _0x166fe7;};mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x2e5d')]=function(_0xaa7125,_0x1984aa,_0x2f0729,_0x1ce0ff,_0x2b1141){if(null!=_0x2f0729&&null!=_0xaa7125){_0x1984aa=null!=_0x1984aa?_0x1984aa:!0x0;_0x2b1141=_0x2b1141||[];var _0x1602be=mxCellPath[_0x1cd3('0x624')](_0xaa7125);if(null==_0x2b1141[_0x1602be]&&(_0x2b1141[_0x1602be]=_0xaa7125,_0x1ce0ff=_0x2f0729(_0xaa7125,_0x1ce0ff),null==_0x1ce0ff||_0x1ce0ff))if(_0x1ce0ff=this['model']['getEdgeCount'](_0xaa7125),0x0<_0x1ce0ff)for(_0x1602be=0x0;_0x1602be<_0x1ce0ff;_0x1602be++){var _0x150643=this[_0x1cd3('0x42e')][_0x1cd3('0x2f3f')](_0xaa7125,_0x1602be),_0x193b67=this[_0x1cd3('0x42e')][_0x1cd3('0x2e62')](_0x150643,!0x0)==_0xaa7125;if(!_0x1984aa||_0x193b67)_0x193b67=this[_0x1cd3('0x42e')]['getTerminal'](_0x150643,!_0x193b67),this['traverse'](_0x193b67,_0x1984aa,_0x2f0729,_0x150643,_0x2b1141);}}};mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x3217')]=function(_0x4dc5b2){return this[_0x1cd3('0x3104')]()[_0x1cd3('0x2fbb')](_0x4dc5b2);};mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x3218')]=function(){return this[_0x1cd3('0x3104')]()[_0x1cd3('0x398')]();};mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x6cc')]=function(){return this['getSelectionModel']()['clear']();};mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x3219')]=function(){return this[_0x1cd3('0x3104')]()['cells'][_0x1cd3('0x7a')];};mxGraph[_0x1cd3('0x77a')]['getSelectionCell']=function(){return this['getSelectionModel']()[_0x1cd3('0x2b8f')][0x0];};mxGraph['prototype'][_0x1cd3('0x2b92')]=function(){return this[_0x1cd3('0x3104')]()['cells'][_0x1cd3('0x9a2')]();};mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x3113')]=function(_0x84acdd){this[_0x1cd3('0x3104')]()[_0x1cd3('0x2fbc')](_0x84acdd);};mxGraph['prototype']['setSelectionCells']=function(_0x518aa2){this[_0x1cd3('0x3104')]()[_0x1cd3('0x2fbd')](_0x518aa2);};mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x321a')]=function(_0x2c7662){this[_0x1cd3('0x3104')]()[_0x1cd3('0x3155')](_0x2c7662);};mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x321b')]=function(_0x39ac96){this[_0x1cd3('0x3104')]()['addCells'](_0x39ac96);};mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x321c')]=function(_0x1475ea){this[_0x1cd3('0x3104')]()[_0x1cd3('0x321d')](_0x1475ea);};mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x321e')]=function(_0x1f9cd6){this[_0x1cd3('0x3104')]()['removeCells'](_0x1f9cd6);};mxGraph['prototype'][_0x1cd3('0x321f')]=function(_0x432c96,_0x495eb6){var _0x1cb160=this['getCells'](_0x432c96['x'],_0x432c96['y'],_0x432c96[_0x1cd3('0x4d7')],_0x432c96[_0x1cd3('0x4e4')]);this[_0x1cd3('0x3220')](_0x1cb160,_0x495eb6);return _0x1cb160;};mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x3221')]=function(){this['selectCell'](!0x0);};mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x3222')]=function(){this['selectCell']();};mxGraph['prototype'][_0x1cd3('0x3223')]=function(){this[_0x1cd3('0x3224')](!0x1,!0x0);};mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x3225')]=function(){this[_0x1cd3('0x3224')](!0x1,!0x1,!0x0);};mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x3224')]=function(_0x22e52e,_0x167c22,_0x242d90){var _0x56f774=this['selectionModel'],_0x25dae3=0x0<_0x56f774['cells'][_0x1cd3('0x7a')]?_0x56f774['cells'][0x0]:null;0x1<_0x56f774['cells']['length']&&_0x56f774['clear']();var _0x56f774=null!=_0x25dae3?this['model'][_0x1cd3('0x2c9d')](_0x25dae3):this['getDefaultParent'](),_0x47243f=this['model'][_0x1cd3('0x29e5')](_0x56f774);null==_0x25dae3&&0x0<_0x47243f?(_0x22e52e=this[_0x1cd3('0x42e')]['getChildAt'](_0x56f774,0x0),this['setSelectionCell'](_0x22e52e)):(null==_0x25dae3||_0x167c22)&&null!=this[_0x1cd3('0x1665')]['getState'](_0x56f774)&&null!=this[_0x1cd3('0x42e')][_0x1cd3('0x2e67')](_0x56f774)?this[_0x1cd3('0x3176')]()!=_0x56f774&&this[_0x1cd3('0x3113')](_0x56f774):null!=_0x25dae3&&_0x242d90?0x0_0x167c22?_0x47243f-0x1:_0x167c22)),this['setSelectionCell'](_0x22e52e));};mxGraph[_0x1cd3('0x77a')]['selectAll']=function(_0x43d683){_0x43d683=_0x43d683||this[_0x1cd3('0x2b97')]();_0x43d683=this[_0x1cd3('0x42e')]['getChildren'](_0x43d683);null!=_0x43d683&&this[_0x1cd3('0x2b99')](_0x43d683);};mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x3226')]=function(_0x2ef4e2){this[_0x1cd3('0x3227')](!0x0,!0x1,_0x2ef4e2);};mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x3228')]=function(_0x47d61c){this[_0x1cd3('0x3227')](!0x1,!0x0,_0x47d61c);};mxGraph[_0x1cd3('0x77a')]['selectCells']=function(_0x203049,_0x525c30,_0x518292){_0x518292=_0x518292||this[_0x1cd3('0x2b97')]();var _0x4c59a6=mxUtils[_0x1cd3('0x5b2')](this,function(_0x48abc1){return null!=this[_0x1cd3('0x1665')]['getState'](_0x48abc1)&&0x0==this[_0x1cd3('0x42e')]['getChildCount'](_0x48abc1)&&(this[_0x1cd3('0x42e')]['isVertex'](_0x48abc1)&&_0x203049||this[_0x1cd3('0x42e')]['isEdge'](_0x48abc1)&&_0x525c30);});_0x518292=this[_0x1cd3('0x42e')][_0x1cd3('0x2f22')](_0x4c59a6,_0x518292);this['setSelectionCells'](_0x518292);};mxGraph['prototype'][_0x1cd3('0x311d')]=function(_0x4a036a,_0x245524){var _0x267265=this[_0x1cd3('0x3217')](_0x4a036a);this[_0x1cd3('0x3120')](_0x245524)?_0x267265?this[_0x1cd3('0x321c')](_0x4a036a):this[_0x1cd3('0x321a')](_0x4a036a):(!_0x267265||0x1!=this[_0x1cd3('0x3219')]())&&this[_0x1cd3('0x3113')](_0x4a036a);};mxGraph['prototype'][_0x1cd3('0x3220')]=function(_0x4bfe8d,_0x91c402){this[_0x1cd3('0x3120')](_0x91c402)?this[_0x1cd3('0x321b')](_0x4bfe8d):this[_0x1cd3('0x2b99')](_0x4bfe8d);};mxGraph[_0x1cd3('0x77a')]['createHandler']=function(_0x3df9c6){var _0x3e0374=null;null!=_0x3df9c6&&(this[_0x1cd3('0x42e')][_0x1cd3('0x29dc')](_0x3df9c6[_0x1cd3('0xefb')])?(_0x3e0374=this[_0x1cd3('0x1665')][_0x1cd3('0x3085')](_0x3df9c6),_0x3e0374=this[_0x1cd3('0x3229')](_0x3df9c6)||_0x3e0374==mxEdgeStyle[_0x1cd3('0x304f')]||_0x3e0374==mxEdgeStyle[_0x1cd3('0x3055')]||_0x3e0374==mxEdgeStyle[_0x1cd3('0x303e')]?new mxElbowEdgeHandler(_0x3df9c6):_0x3e0374==mxEdgeStyle[_0x1cd3('0x303f')]||_0x3e0374==mxEdgeStyle['OrthConnector']?new mxEdgeSegmentHandler(_0x3df9c6):new mxEdgeHandler(_0x3df9c6)):_0x3e0374=new mxVertexHandler(_0x3df9c6));return _0x3e0374;};mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x2c62')]=function(_0x73501c){null==this[_0x1cd3('0x30bb')]&&(this['mouseListeners']=[]);this['mouseListeners']['push'](_0x73501c);};mxGraph[_0x1cd3('0x77a')]['removeMouseListener']=function(_0x555676){if(null!=this[_0x1cd3('0x30bb')])for(var _0x1fb737=0x0;_0x1fb737this['doubleTapTolerance']||null!=this[_0x1cd3('0x322f')]&&Math[_0x1cd3('0x2a4c')](this[_0x1cd3('0x322f')]-_0x3a10cb['getY']())>this[_0x1cd3('0x322c')])_0x2a1457=!0x0;_0x2ac022==mxEvent[_0x1cd3('0x2b36')]&&(this[_0x1cd3('0x322e')]=_0x3a10cb[_0x1cd3('0x2b18')](),this[_0x1cd3('0x322f')]=_0x3a10cb['getY']());}if((_0x2ac022!=mxEvent[_0x1cd3('0x2b36')]||this['isMouseDown'])&&_0x2a1457){if(_0x2ac022==mxEvent['MOUSE_UP']&&(this[_0x1cd3('0x2bfd')]=!0x1),!this[_0x1cd3('0x301e')]()&&(mxClient['IS_OP']||mxClient[_0x1cd3('0x29b8')]||mxClient['IS_GC']||mxClient[_0x1cd3('0x298a')]&&mxClient[_0x1cd3('0x2978')]||_0x3a10cb[_0x1cd3('0x2b1a')]()[_0x1cd3('0x365')]!=this[_0x1cd3('0x4ce')])){_0x2ac022==mxEvent['MOUSE_MOVE']&&(this[_0x1cd3('0x2bfd')]&&this[_0x1cd3('0x2c01')])&&this[_0x1cd3('0x2c02')](_0x3a10cb['getGraphX'](),_0x3a10cb['getGraphY'](),this[_0x1cd3('0x2c03')]);if(null!=this[_0x1cd3('0x30bb')]){_0x3620ee=[_0x3620ee,_0x3a10cb];_0x3a10cb['getEvent']()[_0x1cd3('0x2b21')]=!0x0;for(_0x2a1457=0x0;_0x2a1457_0x38124a['x']&&(_0x41d5fe-=_0x38124a['x']);0x0>_0x38124a['y']&&(_0x450361-=_0x38124a['y']);if(_0x2aa0c1[_0x1cd3('0x43c')]['x']!=_0x41d5fe||_0x2aa0c1[_0x1cd3('0x43c')]['y']!=_0x450361)_0x2aa0c1[_0x1cd3('0x43c')]['x']=_0x41d5fe,_0x2aa0c1[_0x1cd3('0x43c')]['y']=_0x450361,_0x4c1060=!0x0;var _0x38124a=_0x2aa0c1[_0x1cd3('0x43c')],_0x21bb59=this[_0x1cd3('0x930')]['getView']()['scale'],_0x41d5fe=_0x21bb59/_0x2aa0c1[_0x1cd3('0x29df')],_0x450361=0x1/_0x2aa0c1[_0x1cd3('0x29df')],_0x20fb0c=this[_0x1cd3('0x930')][_0x1cd3('0x4ce')];this[_0x1cd3('0x2dbc')]=new mxRectangle((_0x38124a['x']-_0x2b59c6['x']-this[_0x1cd3('0x930')][_0x1cd3('0x2c65')])/_0x450361,(_0x38124a['y']-_0x2b59c6['y']-this[_0x1cd3('0x930')]['panDy'])/_0x450361,_0x20fb0c['clientWidth']/_0x41d5fe,_0x20fb0c[_0x1cd3('0x29b4')]/_0x41d5fe);this[_0x1cd3('0x2dbc')]['x']+=this[_0x1cd3('0x930')][_0x1cd3('0x4ce')][_0x1cd3('0x767')]*_0x2aa0c1[_0x1cd3('0x29df')]/_0x21bb59;this[_0x1cd3('0x2dbc')]['y']+=this['source']['container']['scrollTop']*_0x2aa0c1[_0x1cd3('0x29df')]/_0x21bb59;_0x38124a=this[_0x1cd3('0x323f')][_0x1cd3('0x2dbc')];if(_0x38124a['x']!=this[_0x1cd3('0x2dbc')]['x']||_0x38124a['y']!=this[_0x1cd3('0x2dbc')]['y']||_0x38124a[_0x1cd3('0x4d7')]!=this[_0x1cd3('0x2dbc')][_0x1cd3('0x4d7')]||_0x38124a[_0x1cd3('0x4e4')]!=this['bounds']['height'])this[_0x1cd3('0x323f')][_0x1cd3('0x2dbc')]=this[_0x1cd3('0x2dbc')],this[_0x1cd3('0x323f')][_0x1cd3('0x29e3')]();_0x38124a=this[_0x1cd3('0x3241')]['bounds'];_0x2aa0c1=new mxRectangle(this[_0x1cd3('0x2dbc')]['x']+this[_0x1cd3('0x2dbc')][_0x1cd3('0x4d7')]-_0x38124a['width']/0x2,this[_0x1cd3('0x2dbc')]['y']+this[_0x1cd3('0x2dbc')][_0x1cd3('0x4e4')]-_0x38124a[_0x1cd3('0x4e4')]/0x2,_0x38124a[_0x1cd3('0x4d7')],_0x38124a[_0x1cd3('0x4e4')]);if(_0x38124a['x']!=_0x2aa0c1['x']||_0x38124a['y']!=_0x2aa0c1['y']||_0x38124a['width']!=_0x2aa0c1[_0x1cd3('0x4d7')]||_0x38124a['height']!=_0x2aa0c1['height'])this[_0x1cd3('0x3241')]['bounds']=_0x2aa0c1,_0x1cd3('0x533')!=this[_0x1cd3('0x3241')][_0x1cd3('0x56e')][_0x1cd3('0x440')]['visibility']&&this['sizer']['redraw']();_0x4c1060&&this['outline'][_0x1cd3('0x1665')][_0x1cd3('0x3065')]();}}};mxOutline[_0x1cd3('0x77a')][_0x1cd3('0x2b4a')]=function(_0x43164c,_0x4a8592){this[_0x1cd3('0x396')]&&this[_0x1cd3('0x3235')]&&(this['zoom']=_0x4a8592[_0x1cd3('0x324a')](this[_0x1cd3('0x3241')]),this[_0x1cd3('0x324b')]=_0x4a8592[_0x1cd3('0x2b18')](),this[_0x1cd3('0x324c')]=_0x4a8592[_0x1cd3('0x2b1b')](),this[_0x1cd3('0x92d')]=!0x0,this[_0x1cd3('0x930')][_0x1cd3('0x318e')]&&mxUtils['hasScrollbars'](this[_0x1cd3('0x930')][_0x1cd3('0x4ce')])?(this[_0x1cd3('0x324d')]=this[_0x1cd3('0x930')][_0x1cd3('0x4ce')][_0x1cd3('0x767')],this['dy0']=this[_0x1cd3('0x930')][_0x1cd3('0x4ce')][_0x1cd3('0x515')]):this['dy0']=this[_0x1cd3('0x324d')]=0x0);_0x4a8592[_0x1cd3('0x2b14')]();};mxOutline[_0x1cd3('0x77a')]['mouseMove']=function(_0x5a581d,_0x143a6c){if(this[_0x1cd3('0x92d')]){this[_0x1cd3('0x323f')][_0x1cd3('0x56e')][_0x1cd3('0x440')][_0x1cd3('0x6ac')]=this[_0x1cd3('0x3235')]?'':_0x1cd3('0x6ae');this[_0x1cd3('0x3241')][_0x1cd3('0x56e')][_0x1cd3('0x440')][_0x1cd3('0x6ac')]=this[_0x1cd3('0x323f')][_0x1cd3('0x56e')][_0x1cd3('0x440')][_0x1cd3('0x6ac')];var _0x55c328=_0x143a6c[_0x1cd3('0x2b18')]()-this[_0x1cd3('0x324b')],_0x41f615=_0x143a6c[_0x1cd3('0x2b1b')]()-this[_0x1cd3('0x324c')],_0x3d1527=null;if(this[_0x1cd3('0x2a76')])_0x3d1527=this[_0x1cd3('0x930')][_0x1cd3('0x4ce')],_0x41f615=_0x55c328/(_0x3d1527[_0x1cd3('0x29b5')]/_0x3d1527[_0x1cd3('0x29b4')]),_0x3d1527=new mxRectangle(this[_0x1cd3('0x2dbc')]['x'],this[_0x1cd3('0x2dbc')]['y'],Math[_0x1cd3('0x13d1')](0x1,this[_0x1cd3('0x2dbc')][_0x1cd3('0x4d7')]+_0x55c328),Math[_0x1cd3('0x13d1')](0x1,this[_0x1cd3('0x2dbc')][_0x1cd3('0x4e4')]+_0x41f615)),this['selectionBorder'][_0x1cd3('0x2dbc')]=_0x3d1527,this[_0x1cd3('0x323f')][_0x1cd3('0x29e3')]();else{var _0x54690c=this[_0x1cd3('0x3232')]['getView']()[_0x1cd3('0x29df')],_0x3d1527=new mxRectangle(this[_0x1cd3('0x2dbc')]['x']+_0x55c328,this[_0x1cd3('0x2dbc')]['y']+_0x41f615,this['bounds'][_0x1cd3('0x4d7')],this[_0x1cd3('0x2dbc')][_0x1cd3('0x4e4')]);this[_0x1cd3('0x323f')]['bounds']=_0x3d1527;this[_0x1cd3('0x323f')][_0x1cd3('0x29e3')]();_0x55c328=_0x55c328/_0x54690c*this['source'][_0x1cd3('0x29de')]()[_0x1cd3('0x29df')];_0x41f615=_0x41f615/_0x54690c*this[_0x1cd3('0x930')]['getView']()[_0x1cd3('0x29df')];this[_0x1cd3('0x930')]['panGraph'](-_0x55c328-this[_0x1cd3('0x324d')],-_0x41f615-this['dy0']);}_0x55c328=this[_0x1cd3('0x3241')][_0x1cd3('0x2dbc')];this[_0x1cd3('0x3241')][_0x1cd3('0x2dbc')]=new mxRectangle(_0x3d1527['x']+_0x3d1527['width']-_0x55c328[_0x1cd3('0x4d7')]/0x2,_0x3d1527['y']+_0x3d1527[_0x1cd3('0x4e4')]-_0x55c328[_0x1cd3('0x4e4')]/0x2,_0x55c328[_0x1cd3('0x4d7')],_0x55c328[_0x1cd3('0x4e4')]);_0x1cd3('0x533')!=this[_0x1cd3('0x3241')][_0x1cd3('0x56e')][_0x1cd3('0x440')]['visibility']&&this['sizer'][_0x1cd3('0x29e3')]();_0x143a6c['consume']();}};mxOutline[_0x1cd3('0x77a')][_0x1cd3('0x2b4c')]=function(_0x51b88d,_0x487b17){if(this[_0x1cd3('0x92d')]){var _0x33ec15=_0x487b17[_0x1cd3('0x2b18')]()-this[_0x1cd3('0x324b')],_0x5a3c4a=_0x487b17[_0x1cd3('0x2b1b')]()-this[_0x1cd3('0x324c')];if(0x0=this[_0x1cd3('0x13d1')])||!this[_0x1cd3('0x930')]&&(0x0==this[_0x1cd3('0x13d1')]||_0xa092db>=this[_0x1cd3('0x13d1')])))_0x47f1d7+=this[_0x1cd3('0x31ad')]+'\x0a';null!=this[_0x1cd3('0x324e')]&&(null!=this[_0x1cd3('0x324f')]&&0x0=_0x532386)_0x23e969=_0x23e969[_0x1cd3('0x1141')](),_0x23e969[_0x1cd3('0x43c')](-_0x1b96ab,0x0);else{var _0x37bb21=Math[_0x1cd3('0x13d1')](0x0,_0x503b4f['x']-x0),_0x23e969=_0x23e969[_0x1cd3('0x1141')]();_0x23e969[_0x1cd3('0x43c')](-_0x34ceda*_0x37bb21,0x0);}if(this[_0x1cd3('0x3263')]())if(_0x503b4f['y']>=_0x90c295)_0x23e969=_0x23e969['clone'](),_0x23e969[_0x1cd3('0x43c')](0x0,-_0x298f60);else{var _0x1893ae=Math[_0x1cd3('0x13d1')](0x0,_0x503b4f['y']-_0x4a83ba),_0x23e969=_0x23e969[_0x1cd3('0x1141')]();_0x23e969[_0x1cd3('0x43c')](0x0,-_0x44cf79*_0x1893ae);}_0x23e969!=_0x26afde['getGeometry'](_0x254ba1)&&(_0x26afde[_0x1cd3('0x2e68')](_0x254ba1,_0x23e969),_0x2c8c6c&&_0x3279b3[_0x1cd3('0x3158')](_0x254ba1));}finally{_0x26afde[_0x1cd3('0x2b5e')]();}}}};mxSpaceManager[_0x1cd3('0x77a')][_0x1cd3('0x3266')]=function(_0x10125d){var _0x1ced60=this['getGraph'](),_0x3e9551=_0x1ced60[_0x1cd3('0x2a77')]()[_0x1cd3('0x2c9d')](_0x10125d[_0x1cd3('0xefb')]),_0x4a9f8e=this[_0x1cd3('0x3263')](),_0x552854=this['isShiftRightwards']();return _0x1ced60[_0x1cd3('0x3216')](_0x10125d['x']+(_0x4a9f8e?0x0:_0x10125d[_0x1cd3('0x4d7')]),_0x10125d['y']+(_0x4a9f8e&&_0x552854?0x0:_0x10125d[_0x1cd3('0x4e4')]),_0x3e9551,_0x552854,_0x4a9f8e);};mxSpaceManager[_0x1cd3('0x77a')]['destroy']=function(){this['setGraph'](null);};function mxSwimlaneManager(_0x45793e,_0x443378,_0x2cfeb8,_0x575e1a){this['horizontal']=null!=_0x443378?_0x443378:!0x0;this[_0x1cd3('0x3269')]=null!=_0x2cfeb8?_0x2cfeb8:!0x0;this['resizeEnabled']=null!=_0x575e1a?_0x575e1a:!0x0;this[_0x1cd3('0x326a')]=mxUtils[_0x1cd3('0x5b2')](this,function(_0x77170e,_0x55bb0d){this[_0x1cd3('0x2c76')]()&&this['isAddEnabled']()&&this[_0x1cd3('0x2b65')](_0x55bb0d['getProperty'](_0x1cd3('0x2b8f')));});this[_0x1cd3('0x325d')]=mxUtils[_0x1cd3('0x5b2')](this,function(_0x11103e,_0x19e47b){this[_0x1cd3('0x2c76')]()&&this['isResizeEnabled']()&&this[_0x1cd3('0x2b69')](_0x19e47b[_0x1cd3('0x2b12')](_0x1cd3('0x2b8f')));});this['setGraph'](_0x45793e);}mxSwimlaneManager['prototype']=new mxEventSource();mxSwimlaneManager[_0x1cd3('0x77a')][_0x1cd3('0x29db')]=mxSwimlaneManager;mxSwimlaneManager['prototype'][_0x1cd3('0x2c89')]=null;mxSwimlaneManager[_0x1cd3('0x77a')][_0x1cd3('0x396')]=!0x0;mxSwimlaneManager[_0x1cd3('0x77a')][_0x1cd3('0x749')]=!0x0;mxSwimlaneManager[_0x1cd3('0x77a')][_0x1cd3('0x3269')]=!0x0;mxSwimlaneManager[_0x1cd3('0x77a')][_0x1cd3('0x326b')]=!0x0;mxSwimlaneManager['prototype']['addHandler']=null;mxSwimlaneManager[_0x1cd3('0x77a')]['resizeHandler']=null;mxSwimlaneManager['prototype'][_0x1cd3('0x2c76')]=function(){return this[_0x1cd3('0x396')];};mxSwimlaneManager[_0x1cd3('0x77a')]['setEnabled']=function(_0x12a4e7){this[_0x1cd3('0x396')]=_0x12a4e7;};mxSwimlaneManager[_0x1cd3('0x77a')][_0x1cd3('0x2e74')]=function(){return this[_0x1cd3('0x749')];};mxSwimlaneManager['prototype'][_0x1cd3('0x326c')]=function(_0x243563){this[_0x1cd3('0x749')]=_0x243563;};mxSwimlaneManager['prototype']['isAddEnabled']=function(){return this['addEnabled'];};mxSwimlaneManager[_0x1cd3('0x77a')][_0x1cd3('0x326d')]=function(_0x21ae37){this[_0x1cd3('0x3269')]=_0x21ae37;};mxSwimlaneManager[_0x1cd3('0x77a')][_0x1cd3('0x326e')]=function(){return this[_0x1cd3('0x326b')];};mxSwimlaneManager[_0x1cd3('0x77a')]['setResizeEnabled']=function(_0x1a477b){this[_0x1cd3('0x326b')]=_0x1a477b;};mxSwimlaneManager[_0x1cd3('0x77a')][_0x1cd3('0x2e5a')]=function(){return this[_0x1cd3('0x2c89')];};mxSwimlaneManager['prototype'][_0x1cd3('0x2c88')]=function(_0x1d9d54){null!=this[_0x1cd3('0x2c89')]&&(this['graph'][_0x1cd3('0x2b27')](this['addHandler']),this[_0x1cd3('0x2c89')][_0x1cd3('0x2b27')](this['resizeHandler']));this[_0x1cd3('0x2c89')]=_0x1d9d54;null!=this[_0x1cd3('0x2c89')]&&(this[_0x1cd3('0x2c89')][_0x1cd3('0x29ba')](mxEvent['ADD_CELLS'],this[_0x1cd3('0x326a')]),this[_0x1cd3('0x2c89')][_0x1cd3('0x29ba')](mxEvent['CELLS_RESIZED'],this['resizeHandler']));};mxSwimlaneManager[_0x1cd3('0x77a')][_0x1cd3('0x326f')]=function(_0x2fa47b){return!this[_0x1cd3('0x2e5a')]()['isSwimlane'](_0x2fa47b);};mxSwimlaneManager[_0x1cd3('0x77a')][_0x1cd3('0x3270')]=function(_0x580e38){if(this[_0x1cd3('0x2c89')][_0x1cd3('0x2e6f')](_0x580e38)){var _0x737a4c=this[_0x1cd3('0x2c89')][_0x1cd3('0x1665')][_0x1cd3('0x29d9')](_0x580e38);_0x580e38=null!=_0x737a4c?_0x737a4c[_0x1cd3('0x440')]:this[_0x1cd3('0x2c89')][_0x1cd3('0x2e7a')](_0x580e38);return 0x1==mxUtils[_0x1cd3('0x2a5a')](_0x580e38,mxConstants['STYLE_HORIZONTAL'],0x1);}return!this[_0x1cd3('0x2e74')]();};mxSwimlaneManager[_0x1cd3('0x77a')]['cellsAdded']=function(_0x3d1ae3){if(null!=_0x3d1ae3){var _0x2bf492=this['getGraph']()[_0x1cd3('0x2a77')]();_0x2bf492[_0x1cd3('0x2a6c')]();try{for(var _0xc310e9=0x0;_0xc310e9<_0x3d1ae3['length'];_0xc310e9++)this['isSwimlaneIgnored'](_0x3d1ae3[_0xc310e9])||this['swimlaneAdded'](_0x3d1ae3[_0xc310e9]);}finally{_0x2bf492[_0x1cd3('0x2b5e')]();}}};mxSwimlaneManager['prototype'][_0x1cd3('0x3271')]=function(_0x1c827c){for(var _0x3fce0f=this[_0x1cd3('0x2e5a')]()[_0x1cd3('0x2a77')](),_0x3312ee=_0x3fce0f[_0x1cd3('0x2c9d')](_0x1c827c),_0x4cea76=_0x3fce0f[_0x1cd3('0x29e5')](_0x3312ee),_0x15d0de=null,_0x5e3971=0x0;_0x5e3971<_0x4cea76;_0x5e3971++){var _0x55b2e2=_0x3fce0f[_0x1cd3('0x29e6')](_0x3312ee,_0x5e3971);if(_0x55b2e2!=_0x1c827c&&!this[_0x1cd3('0x326f')](_0x55b2e2)&&(_0x15d0de=_0x3fce0f[_0x1cd3('0x2e67')](_0x55b2e2),null!=_0x15d0de))break;}null!=_0x15d0de&&this[_0x1cd3('0x3272')](_0x1c827c,_0x15d0de[_0x1cd3('0x4d7')],_0x15d0de[_0x1cd3('0x4e4')]);};mxSwimlaneManager[_0x1cd3('0x77a')]['cellsResized']=function(_0x5bea0d){if(null!=_0x5bea0d){var _0x25d65c=this[_0x1cd3('0x2e5a')]()[_0x1cd3('0x2a77')]();_0x25d65c[_0x1cd3('0x2a6c')]();try{for(var _0x1e9fd6=0x0;_0x1e9fd6<_0x5bea0d[_0x1cd3('0x7a')];_0x1e9fd6++)if(!this[_0x1cd3('0x326f')](_0x5bea0d[_0x1e9fd6])){var _0x3598a4=_0x25d65c[_0x1cd3('0x2e67')](_0x5bea0d[_0x1e9fd6]);if(null!=_0x3598a4){for(var _0x3b0f2e=new mxRectangle(0x0,0x0,_0x3598a4[_0x1cd3('0x4d7')],_0x3598a4[_0x1cd3('0x4e4')]),_0x4dbca0=_0x5bea0d[_0x1e9fd6],_0xbc7581=_0x4dbca0;null!=_0xbc7581;){var _0x4dbca0=_0xbc7581,_0xbc7581=_0x25d65c[_0x1cd3('0x2c9d')](_0xbc7581),_0x334b73=this['graph'][_0x1cd3('0x2e6f')](_0xbc7581)?this['graph'][_0x1cd3('0x2e70')](_0xbc7581):new mxRectangle();_0x3b0f2e[_0x1cd3('0x4d7')]+=_0x334b73[_0x1cd3('0x4d7')];_0x3b0f2e[_0x1cd3('0x4e4')]+=_0x334b73[_0x1cd3('0x4e4')];}this[_0x1cd3('0x3272')](_0x4dbca0,_0x3b0f2e[_0x1cd3('0x4d7')],_0x3b0f2e[_0x1cd3('0x4e4')]);}}}finally{_0x25d65c[_0x1cd3('0x2b5e')]();}}};mxSwimlaneManager[_0x1cd3('0x77a')]['resizeSwimlane']=function(_0x2b284d,_0x445767,_0x32bbc8){var _0xc989ef=this[_0x1cd3('0x2e5a')]()[_0x1cd3('0x2a77')]();_0xc989ef[_0x1cd3('0x2a6c')]();try{if(!this['isSwimlaneIgnored'](_0x2b284d)){var _0x3b0cdd=_0xc989ef[_0x1cd3('0x2e67')](_0x2b284d);if(null!=_0x3b0cdd){var _0x201b9a=this[_0x1cd3('0x3270')](_0x2b284d);if(_0x201b9a&&_0x3b0cdd[_0x1cd3('0x4e4')]!=_0x32bbc8||!_0x201b9a&&_0x3b0cdd[_0x1cd3('0x4d7')]!=_0x445767)_0x3b0cdd=_0x3b0cdd[_0x1cd3('0x1141')](),_0x201b9a?_0x3b0cdd['height']=_0x32bbc8:_0x3b0cdd[_0x1cd3('0x4d7')]=_0x445767,_0xc989ef[_0x1cd3('0x2e68')](_0x2b284d,_0x3b0cdd);}}var _0x5aeb3d=this[_0x1cd3('0x2c89')][_0x1cd3('0x2e6f')](_0x2b284d)?this['graph'][_0x1cd3('0x2e70')](_0x2b284d):new mxRectangle();_0x445767-=_0x5aeb3d[_0x1cd3('0x4d7')];_0x32bbc8-=_0x5aeb3d['height'];for(var _0x43a7d0=_0xc989ef[_0x1cd3('0x29e5')](_0x2b284d),_0x3b0cdd=0x0;_0x3b0cdd<_0x43a7d0;_0x3b0cdd++){var _0x50040f=_0xc989ef['getChildAt'](_0x2b284d,_0x3b0cdd);this[_0x1cd3('0x3272')](_0x50040f,_0x445767,_0x32bbc8);}}finally{_0xc989ef[_0x1cd3('0x2b5e')]();}};mxSwimlaneManager[_0x1cd3('0x77a')]['destroy']=function(){this[_0x1cd3('0x2c88')](null);};function mxTemporaryCellStates(_0x396d50,_0x5d364f,_0x3e1fd7){this[_0x1cd3('0x1665')]=_0x396d50;_0x5d364f=null!=_0x5d364f?_0x5d364f:0x1;this[_0x1cd3('0x3273')]=_0x396d50[_0x1cd3('0x2a84')]();this['oldStates']=_0x396d50[_0x1cd3('0x3274')]();this[_0x1cd3('0x3275')]=_0x396d50[_0x1cd3('0x2a85')]();_0x396d50[_0x1cd3('0x2d90')](new mxDictionary());_0x396d50[_0x1cd3('0x3196')](_0x5d364f);if(null!=_0x3e1fd7){_0x5d364f=_0x396d50[_0x1cd3('0x2cb3')](new mxCell());for(var _0x4f0ee5=0x0;_0x4f0ee5<_0x3e1fd7['length'];_0x4f0ee5++)_0x396d50['validateBounds'](_0x5d364f,_0x3e1fd7[_0x4f0ee5]);for(var _0x51d7d8=null,_0x4f0ee5=0x0;_0x4f0ee5<_0x3e1fd7[_0x1cd3('0x7a')];_0x4f0ee5++){var _0x68f5a3=_0x396d50['validatePoints'](_0x5d364f,_0x3e1fd7[_0x4f0ee5]);null==_0x51d7d8?_0x51d7d8=_0x68f5a3:_0x51d7d8['add'](_0x68f5a3);}null==_0x51d7d8&&(_0x51d7d8=new mxRectangle());_0x396d50[_0x1cd3('0x3063')](_0x51d7d8);}}mxTemporaryCellStates['prototype']['view']=null;mxTemporaryCellStates[_0x1cd3('0x77a')][_0x1cd3('0x3276')]=null;mxTemporaryCellStates['prototype'][_0x1cd3('0x3273')]=null;mxTemporaryCellStates[_0x1cd3('0x77a')][_0x1cd3('0x3275')]=null;mxTemporaryCellStates[_0x1cd3('0x77a')]['destroy']=function(){this[_0x1cd3('0x1665')][_0x1cd3('0x3196')](this[_0x1cd3('0x3275')]);this['view'][_0x1cd3('0x2d90')](this[_0x1cd3('0x3276')]);this[_0x1cd3('0x1665')][_0x1cd3('0x3063')](this[_0x1cd3('0x3273')]);};function mxCellStatePreview(_0x4c3c59){this[_0x1cd3('0x2c89')]=_0x4c3c59;this[_0x1cd3('0x3277')]={};}mxCellStatePreview[_0x1cd3('0x77a')][_0x1cd3('0x2c89')]=null;mxCellStatePreview[_0x1cd3('0x77a')][_0x1cd3('0x3277')]=null;mxCellStatePreview[_0x1cd3('0x77a')]['count']=0x0;mxCellStatePreview['prototype'][_0x1cd3('0x398')]=function(){return 0x0==this[_0x1cd3('0x466')];};mxCellStatePreview[_0x1cd3('0x77a')][_0x1cd3('0x2c99')]=function(_0x181066,_0x8b54d8,_0x3b5f90,_0x490288,_0xf98879){_0x490288=null!=_0x490288?_0x490288:!0x0;_0xf98879=null!=_0xf98879?_0xf98879:!0x0;var _0x1804c1=mxCellPath['create'](_0x181066[_0x1cd3('0xefb')]),_0x47a1cd=this['deltas'][_0x1804c1];null==_0x47a1cd?(_0x47a1cd=new mxPoint(_0x8b54d8,_0x3b5f90),this[_0x1cd3('0x3277')][_0x1804c1]=_0x47a1cd,this[_0x1cd3('0x466')]++):_0x490288?(_0x47a1cd['X']+=_0x8b54d8,_0x47a1cd['Y']+=_0x3b5f90):(_0x47a1cd['X']=_0x8b54d8,_0x47a1cd['Y']=_0x3b5f90);_0xf98879&&this['addEdges'](_0x181066);return _0x47a1cd;};mxCellStatePreview[_0x1cd3('0x77a')][_0x1cd3('0x37e')]=function(_0x110010){var _0x251384=this[_0x1cd3('0x2c89')][_0x1cd3('0x2a77')](),_0x2e22b3=_0x251384['getRoot'](),_0x1e51f0;for(_0x1e51f0 in this[_0x1cd3('0x3277')]){var _0x237eb5=mxCellPath[_0x1cd3('0x58')](_0x2e22b3,_0x1e51f0),_0x54afc2=this['graph']['view'][_0x1cd3('0x29d9')](_0x237eb5),_0x3f963f=this[_0x1cd3('0x3277')][_0x1e51f0],_0x237eb5=this[_0x1cd3('0x2c89')][_0x1cd3('0x1665')]['getState'](_0x251384[_0x1cd3('0x2c9d')](_0x237eb5));this['translateState'](_0x237eb5,_0x54afc2,_0x3f963f['x'],_0x3f963f['y']);}for(_0x1e51f0 in this[_0x1cd3('0x3277')])_0x237eb5=mxCellPath['resolve'](_0x2e22b3,_0x1e51f0),_0x54afc2=this[_0x1cd3('0x2c89')]['view'][_0x1cd3('0x29d9')](_0x237eb5),_0x3f963f=this[_0x1cd3('0x3277')][_0x1e51f0],_0x237eb5=this['graph']['view'][_0x1cd3('0x29d9')](_0x251384[_0x1cd3('0x2c9d')](_0x237eb5)),this[_0x1cd3('0x3278')](_0x237eb5,_0x54afc2,_0x3f963f['x'],_0x3f963f['y'],_0x110010);};mxCellStatePreview[_0x1cd3('0x77a')][_0x1cd3('0x3279')]=function(_0x4551ce,_0x3ae3e,_0x38c4b0,_0x34e80b){if(null!=_0x3ae3e){var _0x5ebd70=this[_0x1cd3('0x2c89')][_0x1cd3('0x2a77')]();if(_0x5ebd70['isVertex'](_0x3ae3e[_0x1cd3('0xefb')])){_0x3ae3e['invalid']=!0x0;this[_0x1cd3('0x2c89')][_0x1cd3('0x1665')]['validateBounds'](_0x4551ce,_0x3ae3e[_0x1cd3('0xefb')]);_0x4551ce=_0x5ebd70[_0x1cd3('0x2e67')](_0x3ae3e['cell']);var _0x7188d8=mxCellPath[_0x1cd3('0x624')](_0x3ae3e[_0x1cd3('0xefb')]);if((0x0!=_0x38c4b0||0x0!=_0x34e80b)&&null!=_0x4551ce&&(!_0x4551ce[_0x1cd3('0x2d83')]||null!=this[_0x1cd3('0x3277')][_0x7188d8]))_0x3ae3e['x']+=_0x38c4b0,_0x3ae3e['y']+=_0x34e80b;}_0x4551ce=_0x5ebd70[_0x1cd3('0x29e5')](_0x3ae3e[_0x1cd3('0xefb')]);for(_0x7188d8=0x0;_0x7188d8<_0x4551ce;_0x7188d8++)this['translateState'](_0x3ae3e,this[_0x1cd3('0x2c89')][_0x1cd3('0x1665')][_0x1cd3('0x29d9')](_0x5ebd70[_0x1cd3('0x29e6')](_0x3ae3e[_0x1cd3('0xefb')],_0x7188d8)),_0x38c4b0,_0x34e80b);}};mxCellStatePreview['prototype']['revalidateState']=function(_0x123919,_0xeb3c80,_0x12cf95,_0x193a14,_0x46f1fb){if(null!=_0xeb3c80){_0xeb3c80[_0x1cd3('0x26c6')]=!0x0;this[_0x1cd3('0x2c89')][_0x1cd3('0x1665')][_0x1cd3('0x3070')](_0x123919,_0xeb3c80[_0x1cd3('0xefb')]);var _0x4ec5bb=mxCellPath[_0x1cd3('0x624')](_0xeb3c80[_0x1cd3('0xefb')]),_0x494cda=this[_0x1cd3('0x2c89')][_0x1cd3('0x2a77')](),_0x154779=this[_0x1cd3('0x2c89')]['getCellGeometry'](_0xeb3c80['cell']);if((0x0!=_0x12cf95||0x0!=_0x193a14)&&null!=_0x154779&&_0x154779['relative']&&_0x494cda['isVertex'](_0xeb3c80[_0x1cd3('0xefb')])&&(null==_0x123919||_0x494cda[_0x1cd3('0x2c98')](_0x123919[_0x1cd3('0xefb')])||null!=this[_0x1cd3('0x3277')][_0x4ec5bb]))_0xeb3c80['x']+=_0x12cf95,_0xeb3c80['y']+=_0x193a14,this['graph'][_0x1cd3('0x29e2')]['redraw'](_0xeb3c80);null!=_0x46f1fb&&_0x46f1fb(_0xeb3c80);_0x123919=_0x494cda[_0x1cd3('0x29e5')](_0xeb3c80[_0x1cd3('0xefb')]);for(_0x4ec5bb=0x0;_0x4ec5bb<_0x123919;_0x4ec5bb++)this[_0x1cd3('0x3278')](_0xeb3c80,this[_0x1cd3('0x2c89')][_0x1cd3('0x1665')][_0x1cd3('0x29d9')](_0x494cda['getChildAt'](_0xeb3c80[_0x1cd3('0xefb')],_0x4ec5bb)),_0x12cf95,_0x193a14,_0x46f1fb);}};mxCellStatePreview[_0x1cd3('0x77a')][_0x1cd3('0x327a')]=function(_0x5d8416){for(var _0x370cb5=this[_0x1cd3('0x2c89')][_0x1cd3('0x2a77')](),_0x3f9973=_0x370cb5[_0x1cd3('0x2e5b')](_0x5d8416[_0x1cd3('0xefb')]),_0x55c7f0=0x0;_0x55c7f0<_0x3f9973;_0x55c7f0++){var _0x2a0246=this[_0x1cd3('0x2c89')]['view']['getState'](_0x370cb5[_0x1cd3('0x2f3f')](_0x5d8416[_0x1cd3('0xefb')],_0x55c7f0));null!=_0x2a0246&&this[_0x1cd3('0x2c99')](_0x2a0246,0x0,0x0);}};function mxConnectionConstraint(_0x1105e1,_0x5058b7){this['point']=_0x1105e1;this[_0x1cd3('0x2abc')]=null!=_0x5058b7?_0x5058b7:!0x0;}mxConnectionConstraint['prototype'][_0x1cd3('0x3182')]=null;mxConnectionConstraint[_0x1cd3('0x77a')]['perimeter']=null;function mxGraphHandler(_0xd70ca9){this[_0x1cd3('0x2c89')]=_0xd70ca9;this[_0x1cd3('0x2c89')][_0x1cd3('0x2c62')](this);this[_0x1cd3('0x323c')]=mxUtils[_0x1cd3('0x5b2')](this,function(){this[_0x1cd3('0x327b')]();});this['graph']['addListener'](mxEvent[_0x1cd3('0x2c66')],this[_0x1cd3('0x323c')]);}mxGraphHandler[_0x1cd3('0x77a')][_0x1cd3('0x2c89')]=null;mxGraphHandler[_0x1cd3('0x77a')]['maxCells']=mxClient[_0x1cd3('0x298a')]?0x14:0x32;mxGraphHandler[_0x1cd3('0x77a')]['enabled']=!0x0;mxGraphHandler[_0x1cd3('0x77a')]['highlightEnabled']=!0x0;mxGraphHandler[_0x1cd3('0x77a')]['cloneEnabled']=!0x0;mxGraphHandler['prototype'][_0x1cd3('0x327c')]=!0x0;mxGraphHandler[_0x1cd3('0x77a')][_0x1cd3('0x2bea')]=!0x1;mxGraphHandler['prototype']['guide']=null;mxGraphHandler[_0x1cd3('0x77a')][_0x1cd3('0x327d')]=null;mxGraphHandler['prototype'][_0x1cd3('0x327e')]=null;mxGraphHandler[_0x1cd3('0x77a')][_0x1cd3('0x327f')]=!0x0;mxGraphHandler[_0x1cd3('0x77a')][_0x1cd3('0x3280')]=!0x0;mxGraphHandler[_0x1cd3('0x77a')][_0x1cd3('0x2b70')]=!0x0;mxGraphHandler[_0x1cd3('0x77a')][_0x1cd3('0x3281')]=!0x1;mxGraphHandler[_0x1cd3('0x77a')][_0x1cd3('0x3282')]=!0x0;mxGraphHandler['prototype'][_0x1cd3('0x2ba4')]=0x6;mxGraphHandler[_0x1cd3('0x77a')][_0x1cd3('0x3283')]=_0x1cd3('0x2ab8');mxGraphHandler[_0x1cd3('0x77a')][_0x1cd3('0x3284')]=!0x1;mxGraphHandler[_0x1cd3('0x77a')][_0x1cd3('0x29dd')]=null;mxGraphHandler[_0x1cd3('0x77a')][_0x1cd3('0x3285')]=!0x1;mxGraphHandler[_0x1cd3('0x77a')][_0x1cd3('0x3286')]=!0x0;mxGraphHandler[_0x1cd3('0x77a')][_0x1cd3('0x2c76')]=function(){return this['enabled'];};mxGraphHandler[_0x1cd3('0x77a')][_0x1cd3('0x2bee')]=function(_0x33ec0a){this['enabled']=_0x33ec0a;};mxGraphHandler[_0x1cd3('0x77a')]['isCloneEnabled']=function(){return this[_0x1cd3('0x3287')];};mxGraphHandler[_0x1cd3('0x77a')][_0x1cd3('0x3288')]=function(_0x1e986a){this['cloneEnabled']=_0x1e986a;};mxGraphHandler[_0x1cd3('0x77a')][_0x1cd3('0x3289')]=function(){return this[_0x1cd3('0x327c')];};mxGraphHandler[_0x1cd3('0x77a')]['setMoveEnabled']=function(_0x1ba4a8){this['moveEnabled']=_0x1ba4a8;};mxGraphHandler['prototype'][_0x1cd3('0x328a')]=function(){return this['selectEnabled'];};mxGraphHandler[_0x1cd3('0x77a')][_0x1cd3('0x328b')]=function(_0x1be593){this[_0x1cd3('0x3280')]=_0x1be593;};mxGraphHandler[_0x1cd3('0x77a')][_0x1cd3('0x328c')]=function(){return this['removeCellsFromParent'];};mxGraphHandler[_0x1cd3('0x77a')]['setRemoveCellsFromParent']=function(_0x42e860){this['removeCellsFromParent']=_0x42e860;};mxGraphHandler[_0x1cd3('0x77a')]['getInitialCellForEvent']=function(_0x50ed91){return _0x50ed91[_0x1cd3('0x2b1f')]();};mxGraphHandler[_0x1cd3('0x77a')][_0x1cd3('0x328d')]=function(_0x2fea1e){return this[_0x1cd3('0x2c89')][_0x1cd3('0x3217')](_0x2fea1e);};mxGraphHandler[_0x1cd3('0x77a')][_0x1cd3('0x2b4a')]=function(_0x2d8b25,_0x437b5a){if(!_0x437b5a[_0x1cd3('0x2b13')]()&&this[_0x1cd3('0x2c76')]()&&this['graph'][_0x1cd3('0x2c76')]()&&!this[_0x1cd3('0x2c89')][_0x1cd3('0x31a1')](_0x437b5a[_0x1cd3('0x2b1a')]())&&null!=_0x437b5a['getState']()){var _0x4f6935=this[_0x1cd3('0x328e')](_0x437b5a);this['cell']=null;this[_0x1cd3('0x328f')]=this['isDelayedSelection'](_0x4f6935);this[_0x1cd3('0x328a')]()&&!this[_0x1cd3('0x328f')]&&this[_0x1cd3('0x2c89')]['selectCellForEvent'](_0x4f6935,_0x437b5a[_0x1cd3('0x2b1a')]());if(this[_0x1cd3('0x3289')]()){var _0x318635=this[_0x1cd3('0x2c89')][_0x1cd3('0x42e')],_0x7d94cb=_0x318635[_0x1cd3('0x2e67')](_0x4f6935);this[_0x1cd3('0x2c89')][_0x1cd3('0x2e5e')](_0x4f6935)&&(!_0x318635[_0x1cd3('0x29dc')](_0x4f6935)||0x1_0x5554b5||Math[_0x1cd3('0x2a4c')](_0xfff369)>_0x5554b5){null==this[_0x1cd3('0x3f2')]&&(this['highlight']=new mxCellHighlight(this['graph'],mxConstants[_0x1cd3('0x2c00')],0x3));null==this['shape']&&(this[_0x1cd3('0x29dd')]=this[_0x1cd3('0x3294')](this[_0x1cd3('0x2dbc')]));var _0x528302=_0x442812['isGridEnabledEvent'](_0x554713[_0x1cd3('0x2b1a')]()),_0x5554b5=!0x0;if(null!=this[_0x1cd3('0x3292')]&&this['useGuidesForEvent'](_0x554713))_0xfff369=this[_0x1cd3('0x3292')][_0x1cd3('0x2ab4')](this[_0x1cd3('0x2dbc')],new mxPoint(_0x20c193,_0xfff369),_0x528302),_0x5554b5=!0x1,_0x20c193=_0xfff369['x'],_0xfff369=_0xfff369['y'];else if(_0x528302)var _0x32007c=_0x442812[_0x1cd3('0x29de')]()['translate'],_0x2a46d9=_0x442812[_0x1cd3('0x29de')]()[_0x1cd3('0x29df')],_0x528302=this[_0x1cd3('0x2dbc')]['x']-(_0x442812[_0x1cd3('0x2c07')](this[_0x1cd3('0x2dbc')]['x']/_0x2a46d9-_0x32007c['x'])+_0x32007c['x'])*_0x2a46d9,_0x32007c=this['bounds']['y']-(_0x442812[_0x1cd3('0x2c07')](this[_0x1cd3('0x2dbc')]['y']/_0x2a46d9-_0x32007c['y'])+_0x32007c['y'])*_0x2a46d9,_0xfff369=this['snap'](new mxPoint(_0x20c193,_0xfff369)),_0x20c193=_0xfff369['x']-_0x528302,_0xfff369=_0xfff369['y']-_0x32007c;null!=this[_0x1cd3('0x3292')]&&_0x5554b5&&this[_0x1cd3('0x3292')][_0x1cd3('0x39d')]();_0x442812[_0x1cd3('0x3295')](_0x554713[_0x1cd3('0x2b1a')]())&&(Math[_0x1cd3('0x2a4c')](_0x20c193)>Math[_0x1cd3('0x2a4c')](_0xfff369)?_0xfff369=0x0:_0x20c193=0x0);this[_0x1cd3('0x327d')]=_0x20c193;this['currentDy']=_0xfff369;this[_0x1cd3('0x327b')]();_0x5554b5=null;_0xfff369=_0x554713[_0x1cd3('0x2b1f')]();_0x442812[_0x1cd3('0x31f0')]()&&this['highlightEnabled']&&(_0x5554b5=_0x442812[_0x1cd3('0x2aa6')](this[_0x1cd3('0x2b8f')],_0x554713[_0x1cd3('0x2b1a')](),_0xfff369));_0x528302=_0x5554b5;for(_0x32007c=_0x442812[_0x1cd3('0x2a77')]();null!=_0x528302&&_0x528302!=this[_0x1cd3('0x2b8f')][0x0];)_0x528302=_0x32007c['getParent'](_0x528302);var _0x2a46d9=_0x442812[_0x1cd3('0x319d')](_0x554713[_0x1cd3('0x2b1a')]())&&_0x442812[_0x1cd3('0x31c8')]()&&this[_0x1cd3('0x3296')](),_0x20c193=_0x442812[_0x1cd3('0x29de')]()[_0x1cd3('0x29d9')](_0x5554b5),_0x546986=!0x1;null!=_0x20c193&&null==_0x528302&&(_0x32007c['getParent'](this['cell'])!=_0x5554b5||_0x2a46d9)?(this[_0x1cd3('0x365')]!=_0x5554b5&&(this[_0x1cd3('0x365')]=_0x5554b5,this['setHighlightColor'](mxConstants[_0x1cd3('0x2c00')])),_0x546986=!0x0):(this[_0x1cd3('0x365')]=null,this[_0x1cd3('0x3281')]&&(null!=_0xfff369&&0x1==this[_0x1cd3('0x2b8f')][_0x1cd3('0x7a')]&&_0x442812['getModel']()[_0x1cd3('0x2c98')](_0xfff369)&&_0x442812[_0x1cd3('0x319b')](_0xfff369))&&(_0x20c193=_0x442812[_0x1cd3('0x29de')]()['getState'](_0xfff369),null!=_0x20c193&&(_0x442812=null==_0x442812[_0x1cd3('0x31a4')](null,this['cell'],_0xfff369)?mxConstants[_0x1cd3('0x3297')]:mxConstants['INVALID_CONNECT_TARGET_COLOR'],this['setHighlightColor'](_0x442812),_0x546986=!0x0)));null!=_0x20c193&&_0x546986?this['highlight'][_0x1cd3('0x3f2')](_0x20c193):this[_0x1cd3('0x3f2')][_0x1cd3('0x39d')]();}_0x554713['consume']();mxEvent['consume'](_0x554713[_0x1cd3('0x2b1a')]());}else if((this[_0x1cd3('0x3289')]()||this['isCloneEnabled']())&&this[_0x1cd3('0x327f')]&&!_0x554713[_0x1cd3('0x2b13')]()&&null!=_0x554713[_0x1cd3('0x29d9')]()&&!_0x442812[_0x1cd3('0x2bfd')])_0x20c193=_0x442812[_0x1cd3('0x31b6')](_0x554713[_0x1cd3('0x2b1f')]()),null==_0x20c193&&(_0x442812[_0x1cd3('0x2c76')]()&&_0x442812[_0x1cd3('0x2e5e')](_0x554713[_0x1cd3('0x2b1f')]()))&&(_0x20c193=_0x442812['getModel']()[_0x1cd3('0x29dc')](_0x554713[_0x1cd3('0x2b1f')]())?mxConstants[_0x1cd3('0x3298')]:mxConstants[_0x1cd3('0x3299')]),_0x554713['getState']()['setCursor'](_0x20c193),_0x554713[_0x1cd3('0x2b14')]();};mxGraphHandler[_0x1cd3('0x77a')][_0x1cd3('0x327b')]=function(){null!=this['shape']&&(this[_0x1cd3('0x29dd')][_0x1cd3('0x2dbc')]=new mxRectangle(Math[_0x1cd3('0x18ba')](this[_0x1cd3('0x3291')]['x']+this['currentDx']-this[_0x1cd3('0x2c89')][_0x1cd3('0x2c65')]),Math['round'](this[_0x1cd3('0x3291')]['y']+this[_0x1cd3('0x327e')]-this[_0x1cd3('0x2c89')][_0x1cd3('0x2c6e')]),this[_0x1cd3('0x3291')]['width'],this[_0x1cd3('0x3291')][_0x1cd3('0x4e4')]),this[_0x1cd3('0x29dd')][_0x1cd3('0x29e3')]());};mxGraphHandler['prototype'][_0x1cd3('0x329a')]=function(_0x18c62b){null!=this[_0x1cd3('0x3f2')]&&this[_0x1cd3('0x3f2')]['setHighlightColor'](_0x18c62b);};mxGraphHandler['prototype'][_0x1cd3('0x2b4c')]=function(_0x323d57,_0x1ba38f){if(!_0x1ba38f[_0x1cd3('0x2b13')]()){var _0x4ec7d5=this['graph'];if(null!=this['cell']&&null!=this[_0x1cd3('0xf34')]&&null!=this[_0x1cd3('0x29dd')]&&null!=this[_0x1cd3('0x327d')]&&null!=this[_0x1cd3('0x327e')]){var _0x230a5b=_0x4ec7d5['getView']()[_0x1cd3('0x29df')],_0x155e88=_0x4ec7d5[_0x1cd3('0x319d')](_0x1ba38f[_0x1cd3('0x2b1a')]())&&_0x4ec7d5[_0x1cd3('0x31c8')]()&&this[_0x1cd3('0x3296')](),_0x336518=this[_0x1cd3('0x327d')]/_0x230a5b,_0x230a5b=this[_0x1cd3('0x327e')]/_0x230a5b,_0x539a76=_0x1ba38f[_0x1cd3('0x2b1f')]();this[_0x1cd3('0x3281')]&&null==this['target']&&null!=_0x539a76&&_0x4ec7d5['getModel']()[_0x1cd3('0x2c98')](_0x539a76)&&_0x4ec7d5['isCellConnectable'](_0x539a76)&&_0x4ec7d5[_0x1cd3('0x31a3')](null,this[_0x1cd3('0xefb')],_0x539a76)?_0x4ec7d5[_0x1cd3('0x3101')][_0x1cd3('0x664')](this[_0x1cd3('0xefb')],_0x539a76,_0x1ba38f[_0x1cd3('0x2b1a')]()):(_0x539a76=this[_0x1cd3('0x365')],_0x4ec7d5[_0x1cd3('0x320f')]()&&_0x4ec7d5['isSplitTarget'](_0x539a76,this[_0x1cd3('0x2b8f')],_0x1ba38f['getEvent']())?_0x4ec7d5[_0x1cd3('0x2b77')](_0x539a76,this[_0x1cd3('0x2b8f')],null,_0x336518,_0x230a5b):this[_0x1cd3('0x2b66')](this[_0x1cd3('0x2b8f')],_0x336518,_0x230a5b,_0x155e88,this[_0x1cd3('0x365')],_0x1ba38f[_0x1cd3('0x2b1a')]()));}else this[_0x1cd3('0x328a')]()&&(this[_0x1cd3('0x328f')]&&null!=this[_0x1cd3('0xefb')])&&this[_0x1cd3('0x329b')](_0x1ba38f);}this['cellWasClicked']&&_0x1ba38f[_0x1cd3('0x2b14')]();this[_0x1cd3('0x358')]();};mxGraphHandler['prototype'][_0x1cd3('0x329b')]=function(_0x49d465){this['graph'][_0x1cd3('0x311d')](this[_0x1cd3('0xefb')],_0x49d465[_0x1cd3('0x2b1a')]());};mxGraphHandler[_0x1cd3('0x77a')][_0x1cd3('0x358')]=function(){this['destroyShapes']();this[_0x1cd3('0x328f')]=this[_0x1cd3('0x3290')]=!0x1;this[_0x1cd3('0x365')]=this[_0x1cd3('0xefb')]=this[_0x1cd3('0xf34')]=this[_0x1cd3('0x329c')]=this[_0x1cd3('0x327e')]=this['currentDx']=null;};mxGraphHandler[_0x1cd3('0x77a')][_0x1cd3('0x329d')]=function(_0x3f52e6,_0x1c89a1,_0x42cac1){if(this[_0x1cd3('0x2c89')][_0x1cd3('0x2a77')]()['isVertex'](_0x3f52e6)){_0x3f52e6=this['graph'][_0x1cd3('0x29de')]()['getState'](_0x3f52e6);_0x42cac1=mxUtils[_0x1cd3('0x3027')](this[_0x1cd3('0x2c89')][_0x1cd3('0x4ce')],mxEvent['getClientX'](_0x42cac1),mxEvent[_0x1cd3('0x2b1c')](_0x42cac1));var _0x43cb98=mxUtils[_0x1cd3('0x2a51')](mxUtils[_0x1cd3('0x2a5a')](_0x3f52e6[_0x1cd3('0x440')],mxConstants[_0x1cd3('0x2a5d')])||0x0);if(0x0!=_0x43cb98){_0x1c89a1=Math[_0x1cd3('0x2a4d')](-_0x43cb98);var _0x43cb98=Math['sin'](-_0x43cb98),_0x17ed9f=new mxPoint(_0x3f52e6[_0x1cd3('0x29d5')](),_0x3f52e6[_0x1cd3('0x29d6')]());_0x42cac1=mxUtils[_0x1cd3('0x2a52')](_0x42cac1,_0x1c89a1,_0x43cb98,_0x17ed9f);}return null!=_0x3f52e6&&!mxUtils[_0x1cd3('0x2a5e')](_0x3f52e6,_0x42cac1['x'],_0x42cac1['y']);}return!0x1;};mxGraphHandler[_0x1cd3('0x77a')][_0x1cd3('0x2b66')]=function(_0x1dad46,_0x32b4e3,_0x2ba5d0,_0x15281b,_0x3308d6,_0x236221){_0x15281b&&(_0x1dad46=this[_0x1cd3('0x2c89')][_0x1cd3('0x31c6')](_0x1dad46));null==_0x3308d6&&(this[_0x1cd3('0x328c')]()&&this['shouldRemoveCellsFromParent'](this[_0x1cd3('0x2c89')][_0x1cd3('0x2a77')]()[_0x1cd3('0x2c9d')](this[_0x1cd3('0xefb')]),_0x1dad46,_0x236221))&&(_0x3308d6=this[_0x1cd3('0x2c89')][_0x1cd3('0x2b97')]());_0x1dad46=this[_0x1cd3('0x2c89')][_0x1cd3('0x2b66')](_0x1dad46,_0x32b4e3-this[_0x1cd3('0x2c89')][_0x1cd3('0x2c65')]/this[_0x1cd3('0x2c89')]['view'][_0x1cd3('0x29df')],_0x2ba5d0-this[_0x1cd3('0x2c89')][_0x1cd3('0x2c6e')]/this[_0x1cd3('0x2c89')][_0x1cd3('0x1665')]['scale'],_0x15281b,_0x3308d6,_0x236221);this[_0x1cd3('0x328a')]()&&this[_0x1cd3('0x3282')]&&this[_0x1cd3('0x2c89')]['scrollCellToVisible'](_0x1dad46[0x0]);_0x15281b&&this[_0x1cd3('0x2c89')][_0x1cd3('0x2b99')](_0x1dad46);};mxGraphHandler[_0x1cd3('0x77a')][_0x1cd3('0x329e')]=function(){null!=this[_0x1cd3('0x29dd')]&&(this['shape'][_0x1cd3('0x2bcb')](),this[_0x1cd3('0x29dd')]=null);null!=this[_0x1cd3('0x3292')]&&(this[_0x1cd3('0x3292')][_0x1cd3('0x2bcb')](),this[_0x1cd3('0x3292')]=null);null!=this[_0x1cd3('0x3f2')]&&(this[_0x1cd3('0x3f2')][_0x1cd3('0x2bcb')](),this[_0x1cd3('0x3f2')]=null);};mxGraphHandler['prototype'][_0x1cd3('0x2bcb')]=function(){this[_0x1cd3('0x2c89')][_0x1cd3('0x2c70')](this);this['graph'][_0x1cd3('0x2b27')](this[_0x1cd3('0x323c')]);this['destroyShapes']();};function mxPanningHandler(_0x53e5fc,_0x5194ba){null!=_0x53e5fc&&(this[_0x1cd3('0x2c89')]=_0x53e5fc,this[_0x1cd3('0x2c10')]=_0x5194ba,this[_0x1cd3('0x2c89')][_0x1cd3('0x2c62')](this),this[_0x1cd3('0xe08')]());}mxPanningHandler[_0x1cd3('0x77a')]=new mxPopupMenu();mxPanningHandler[_0x1cd3('0x77a')][_0x1cd3('0x29db')]=mxPanningHandler;mxPanningHandler[_0x1cd3('0x77a')]['graph']=null;mxPanningHandler[_0x1cd3('0x77a')]['triggerX']=null;mxPanningHandler[_0x1cd3('0x77a')][_0x1cd3('0x329f')]=null;mxPanningHandler['prototype'][_0x1cd3('0x32a0')]=!0x0;mxPanningHandler[_0x1cd3('0x77a')][_0x1cd3('0x32a1')]=!0x1;mxPanningHandler[_0x1cd3('0x77a')]['selectOnPopup']=!0x0;mxPanningHandler[_0x1cd3('0x77a')]['clearSelectionOnBackground']=!0x0;mxPanningHandler[_0x1cd3('0x77a')]['ignoreCell']=!0x1;mxPanningHandler[_0x1cd3('0x77a')][_0x1cd3('0x32a2')]=!0x0;mxPanningHandler[_0x1cd3('0x77a')][_0x1cd3('0x32a3')]=!0x1;mxPanningHandler['prototype'][_0x1cd3('0x3202')]=!0x0;mxPanningHandler[_0x1cd3('0x77a')][_0x1cd3('0x32a4')]=function(){return this[_0x1cd3('0x3202')];};mxPanningHandler['prototype']['setPanningEnabled']=function(_0x5b65f1){this[_0x1cd3('0x3202')]=_0x5b65f1;};mxPanningHandler[_0x1cd3('0x77a')][_0x1cd3('0xe08')]=function(){mxPopupMenu[_0x1cd3('0x77a')][_0x1cd3('0xe08')][_0x1cd3('0x4df')](this);mxEvent[_0x1cd3('0x29ba')](this[_0x1cd3('0x2a72')],mxClient[_0x1cd3('0x2b2e')]?'touchmove':_0x1cd3('0x2b2c'),mxUtils['bind'](this,function(_0x5e645e){this[_0x1cd3('0x2c89')][_0x1cd3('0x3076')][_0x1cd3('0x39d')]();}));};mxPanningHandler[_0x1cd3('0x77a')][_0x1cd3('0x32a5')]=function(_0x276972){var _0x19f344=_0x276972[_0x1cd3('0x2b1a')]();return this[_0x1cd3('0x32a1')]&&(this['ignoreCell']||null==_0x276972[_0x1cd3('0x29d9')]())&&mxEvent['isLeftMouseButton'](_0x19f344)||mxEvent[_0x1cd3('0x2fcd')](_0x19f344)&&mxEvent['isShiftDown'](_0x19f344)||this['usePopupTrigger']&&mxEvent['isPopupTrigger'](_0x19f344);};mxPanningHandler[_0x1cd3('0x77a')][_0x1cd3('0x2b4a')]=function(_0x76bc4b,_0x14239a){if(!_0x14239a[_0x1cd3('0x2b13')]()&&this[_0x1cd3('0x2c76')]()){this[_0x1cd3('0x2c11')]();this[_0x1cd3('0x324d')]=-this[_0x1cd3('0x2c89')][_0x1cd3('0x4ce')]['scrollLeft'];this['dy0']=-this['graph']['container'][_0x1cd3('0x515')];var _0x7169cd=mxUtils[_0x1cd3('0x3027')](this['graph']['container'],_0x14239a[_0x1cd3('0x2b18')](),_0x14239a['getY']());this['triggerX']=_0x7169cd['x'];this[_0x1cd3('0x329f')]=_0x7169cd['y'];this[_0x1cd3('0x32a6')]=this[_0x1cd3('0x2b20')](_0x14239a);this[_0x1cd3('0x32a7')]=this[_0x1cd3('0x32a4')]()&&this['isPanningTrigger'](_0x14239a);this['startX']=_0x14239a[_0x1cd3('0x2b18')]();this['startY']=_0x14239a[_0x1cd3('0x2b1b')]();this[_0x1cd3('0x32a7')]&&this['consumePanningTrigger'](_0x14239a);}};mxPanningHandler[_0x1cd3('0x77a')]['consumePanningTrigger']=function(_0x9c19e6){_0x9c19e6['consume']();};mxPanningHandler[_0x1cd3('0x77a')]['mouseMove']=function(_0x428f8a,_0x3ca4f2){var _0x3de9ea=_0x3ca4f2['getX']()-this['startX'],_0x4efb24=_0x3ca4f2[_0x1cd3('0x2b1b')]()-this[_0x1cd3('0x324c')];if(this[_0x1cd3('0x92d')])this['previewEnabled']&&(this['useGrid']&&(_0x3de9ea=this[_0x1cd3('0x2c89')][_0x1cd3('0x2c07')](_0x3de9ea),_0x4efb24=this['graph'][_0x1cd3('0x2c07')](_0x4efb24)),this[_0x1cd3('0x2c89')][_0x1cd3('0x2c64')](_0x3de9ea+this[_0x1cd3('0x324d')],_0x4efb24+this['dy0'])),this[_0x1cd3('0x2b28')](new mxEventObject(mxEvent['PAN'],_0x1cd3('0x2b38'),_0x3ca4f2)),_0x3ca4f2[_0x1cd3('0x2b14')]();else if(this[_0x1cd3('0x32a7')]){var _0x210b8f=this[_0x1cd3('0x92d')];this['active']=Math[_0x1cd3('0x2a4c')](_0x3de9ea)>this[_0x1cd3('0x2c89')][_0x1cd3('0x30bf')]||Math[_0x1cd3('0x2a4c')](_0x4efb24)>this[_0x1cd3('0x2c89')][_0x1cd3('0x30bf')];!_0x210b8f&&this[_0x1cd3('0x92d')]&&this[_0x1cd3('0x2b28')](new mxEventObject(mxEvent[_0x1cd3('0x32a8')],_0x1cd3('0x2b38'),_0x3ca4f2));}};mxPanningHandler[_0x1cd3('0x77a')][_0x1cd3('0x2b4c')]=function(_0x5b7337,_0x39ef24){var _0x5a2a17=Math[_0x1cd3('0x2a4c')](_0x39ef24[_0x1cd3('0x2b18')]()-this[_0x1cd3('0x324b')]),_0x26aa31=Math[_0x1cd3('0x2a4c')](_0x39ef24[_0x1cd3('0x2b1b')]()-this[_0x1cd3('0x324c')]);if(this[_0x1cd3('0x92d')]){if(!this[_0x1cd3('0x2c89')][_0x1cd3('0x318e')]||!mxUtils[_0x1cd3('0x3197')](this[_0x1cd3('0x2c89')][_0x1cd3('0x4ce')])){_0x5a2a17=_0x39ef24[_0x1cd3('0x2b18')]()-this[_0x1cd3('0x324b')];_0x26aa31=_0x39ef24['getY']()-this[_0x1cd3('0x324c')];this[_0x1cd3('0x32a3')]&&(_0x5a2a17=this[_0x1cd3('0x2c89')][_0x1cd3('0x2c07')](_0x5a2a17),_0x26aa31=this[_0x1cd3('0x2c89')][_0x1cd3('0x2c07')](_0x26aa31));var _0x27d1d5=this[_0x1cd3('0x2c89')][_0x1cd3('0x29de')]()[_0x1cd3('0x29df')],_0x27b4bf=this[_0x1cd3('0x2c89')][_0x1cd3('0x29de')]()[_0x1cd3('0x43c')];this[_0x1cd3('0x2c89')][_0x1cd3('0x2c64')](0x0,0x0);this[_0x1cd3('0x2c64')](_0x27b4bf['x']+_0x5a2a17/_0x27d1d5,_0x27b4bf['y']+_0x26aa31/_0x27d1d5);}this[_0x1cd3('0x92d')]=!0x1;this[_0x1cd3('0x2b28')](new mxEventObject(mxEvent[_0x1cd3('0x32a9')],'event',_0x39ef24));_0x39ef24[_0x1cd3('0x2b14')]();}else this[_0x1cd3('0x32a6')]&&(_0x5a2a17this[_0x1cd3('0x2c89')][_0x1cd3('0x30bf')]||_0x3d1027>this[_0x1cd3('0x2c89')][_0x1cd3('0x30bf')]))this[_0x1cd3('0x29dd')]=this[_0x1cd3('0x2ff3')](),this[_0x1cd3('0x32f8')](_0x444921);null!=this['shape']&&(null!=this[_0x1cd3('0x32d5')]?this[_0x1cd3('0x29dd')][_0x1cd3('0x2d9a')]=this[_0x1cd3('0x32d5')][_0x1cd3('0x2a59')]:(_0x5a2d51=[_0x3f1fc8],null!=this[_0x1cd3('0x32f0')]&&(_0x5a2d51=_0x5a2d51[_0x1cd3('0x3ae')](this[_0x1cd3('0x32f0')])),_0x5a2d51['push'](_0x32db7d),this[_0x1cd3('0x29dd')][_0x1cd3('0x2d9a')]=_0x5a2d51),this['drawPreview']());mxEvent[_0x1cd3('0x2b14')](_0x444921[_0x1cd3('0x2b1a')]());_0x444921[_0x1cd3('0x2b14')]();}else!this[_0x1cd3('0x2c76')]()||!this['graph']['isEnabled']()?this[_0x1cd3('0x32cd')]['reset']():this[_0x1cd3('0x29e0')]!=this[_0x1cd3('0x32e8')]&&null==this[_0x1cd3('0x32d5')]?(this[_0x1cd3('0x32e0')](this[_0x1cd3('0x32df')]),this[_0x1cd3('0x32df')]=null,null!=this[_0x1cd3('0x32e8')]&&null==this[_0x1cd3('0x434')]&&(this['icons']=this[_0x1cd3('0x32e6')](this[_0x1cd3('0x32e8')]),null==this['icons']&&(this[_0x1cd3('0x32e8')][_0x1cd3('0x2df2')](mxConstants[_0x1cd3('0x32fc')]),_0x444921[_0x1cd3('0x2b14')]())),this[_0x1cd3('0x29e0')]=this['currentState']):this['previous']==this[_0x1cd3('0x32e8')]&&(null!=this[_0x1cd3('0x32e8')]&&null==this[_0x1cd3('0x32df')]&&!this[_0x1cd3('0x2c89')][_0x1cd3('0x2bfd')])&&_0x444921[_0x1cd3('0x2b14')]();null!=this[_0x1cd3('0x32cd')][_0x1cd3('0x32eb')]&&this[_0x1cd3('0x32dc')][_0x1cd3('0x358')]();if(!this[_0x1cd3('0x2c89')]['isMouseDown']&&null!=this[_0x1cd3('0x32e8')]&&null!=this[_0x1cd3('0x32df')]){_0x5a2d51=!0x1;_0x3f1fc8=_0x444921[_0x1cd3('0x2b17')]();for(_0x32db7d=0x0;_0x32db7dthis[_0x1cd3('0x2c89')][_0x1cd3('0x30bf')]||_0xa1d857>this[_0x1cd3('0x2c89')][_0x1cd3('0x30bf')]))null==this[_0x1cd3('0x32f0')]&&(this['waypoints']=[]),_0x528704=this[_0x1cd3('0x2c89')][_0x1cd3('0x1665')]['scale'],_0xa1d857=new mxPoint(this[_0x1cd3('0x2c89')][_0x1cd3('0x2c07')](_0x3181f8['getGraphX']()/_0x528704)*_0x528704,this[_0x1cd3('0x2c89')][_0x1cd3('0x2c07')](_0x3181f8[_0x1cd3('0x311f')]()/_0x528704)*_0x528704),this[_0x1cd3('0x32f0')]['push'](_0xa1d857);};mxConnectionHandler[_0x1cd3('0x77a')][_0x1cd3('0x2b4c')]=function(_0x52431a,_0x3c2325){if(!_0x3c2325['isConsumed']()&&this[_0x1cd3('0x32e2')]()){if(this[_0x1cd3('0x32ef')]&&!this['isStopEvent'](_0x3c2325)){this[_0x1cd3('0x3300')](_0x3c2325);_0x3c2325['consume']();return;}if(null==this['error']){var _0x4a919d=null!=this[_0x1cd3('0x29e0')]?this[_0x1cd3('0x29e0')][_0x1cd3('0xefb')]:null,_0x27a61f=null;null!=this[_0x1cd3('0x32cd')][_0x1cd3('0x32eb')]&&null!=this[_0x1cd3('0x32cd')][_0x1cd3('0x32ec')]&&(_0x27a61f=this[_0x1cd3('0x32cd')][_0x1cd3('0x32ec')]['cell']);null==_0x27a61f&&this[_0x1cd3('0x32dc')][_0x1cd3('0x32b8')]()&&(_0x27a61f=this[_0x1cd3('0x32dc')][_0x1cd3('0x32b2')][_0x1cd3('0xefb')]);this[_0x1cd3('0x664')](_0x4a919d,_0x27a61f,_0x3c2325[_0x1cd3('0x2b1a')](),_0x3c2325[_0x1cd3('0x2b1f')]());}else null!=this[_0x1cd3('0x29e0')]&&(null!=this[_0x1cd3('0x32dc')][_0x1cd3('0x32b2')]&&this[_0x1cd3('0x29e0')][_0x1cd3('0xefb')]==this[_0x1cd3('0x32dc')][_0x1cd3('0x32b2')]['cell'])&&this[_0x1cd3('0x2c89')][_0x1cd3('0x311d')](this[_0x1cd3('0x32dc')]['source'],evt),0x0_0x33712d||Math['abs'](_0x7dc105)>_0x33712d)null==this[_0x1cd3('0x2a72')]&&(this[_0x1cd3('0x2a72')]=this[_0x1cd3('0x2ff3')]()),mxUtils[_0x1cd3('0x6cc')](),this[_0x1cd3('0x378')](_0x59631d,_0x55c8d3),_0xa42494[_0x1cd3('0x2b14')]();}};mxRubberband[_0x1cd3('0x77a')]['createShape']=function(){null==this['sharedDiv']&&(this[_0x1cd3('0x3310')]=document[_0x1cd3('0x3aa')](_0x1cd3('0x2a72')),this[_0x1cd3('0x3310')][_0x1cd3('0x45d')]=_0x1cd3('0x3314'),mxUtils['setOpacity'](this[_0x1cd3('0x3310')],this[_0x1cd3('0x330f')]));this['graph'][_0x1cd3('0x4ce')][_0x1cd3('0xd4e')](this['sharedDiv']);return this[_0x1cd3('0x3310')];};mxRubberband['prototype']['mouseUp']=function(_0x1d103a,_0x3b23f3){var _0x67b66e=null!=this[_0x1cd3('0x2a72')];this[_0x1cd3('0x358')]();_0x67b66e&&(_0x67b66e=new mxRectangle(this['x'],this['y'],this[_0x1cd3('0x4d7')],this[_0x1cd3('0x4e4')]),this[_0x1cd3('0x2c89')][_0x1cd3('0x321f')](_0x67b66e,_0x3b23f3[_0x1cd3('0x2b1a')]()),_0x3b23f3[_0x1cd3('0x2b14')]());};mxRubberband[_0x1cd3('0x77a')][_0x1cd3('0x358')]=function(){null!=this[_0x1cd3('0x2a72')]&&this['div'][_0x1cd3('0x29ea')][_0x1cd3('0x1817')](this[_0x1cd3('0x2a72')]);null!=this[_0x1cd3('0x3313')]&&(mxEvent[_0x1cd3('0x2b27')](document,_0x1cd3('0x2b2c'),this[_0x1cd3('0x3313')]),this[_0x1cd3('0x3313')]=null);null!=this[_0x1cd3('0x2be2')]&&(mxEvent['removeListener'](document,'mouseup',this[_0x1cd3('0x2be2')]),this[_0x1cd3('0x2be2')]=null);this[_0x1cd3('0x3312')]=this['currentX']=0x0;this['div']=this[_0x1cd3('0xf34')]=null;};mxRubberband['prototype'][_0x1cd3('0x378')]=function(_0x1417e6,_0x3e2a2c){this['currentX']=_0x1417e6;this[_0x1cd3('0x3312')]=_0x3e2a2c;this[_0x1cd3('0x330e')]();};mxRubberband[_0x1cd3('0x77a')][_0x1cd3('0x330e')]=function(){if(null!=this[_0x1cd3('0x2a72')]){var _0x1544f4=this['currentX']-this[_0x1cd3('0x2c89')][_0x1cd3('0x2c65')],_0x3a54f6=this[_0x1cd3('0x3312')]-this['graph'][_0x1cd3('0x2c6e')];this['x']=Math[_0x1cd3('0x4e3')](this['first']['x'],_0x1544f4);this['y']=Math[_0x1cd3('0x4e3')](this[_0x1cd3('0xf34')]['y'],_0x3a54f6);this['width']=Math[_0x1cd3('0x13d1')](this[_0x1cd3('0xf34')]['x'],_0x1544f4)-this['x'];this['height']=Math[_0x1cd3('0x13d1')](this[_0x1cd3('0xf34')]['y'],_0x3a54f6)-this['y'];_0x1544f4=mxClient[_0x1cd3('0x2977')]?this[_0x1cd3('0x2c89')][_0x1cd3('0x2c6e')]:0x0;this[_0x1cd3('0x2a72')][_0x1cd3('0x440')][_0x1cd3('0x762')]=this['x']+(mxClient[_0x1cd3('0x2977')]?this[_0x1cd3('0x2c89')]['panDx']:0x0)+'px';this['div'][_0x1cd3('0x440')]['top']=this['y']+_0x1544f4+'px';this[_0x1cd3('0x2a72')]['style']['width']=Math[_0x1cd3('0x13d1')](0x1,this[_0x1cd3('0x4d7')])+'px';this[_0x1cd3('0x2a72')][_0x1cd3('0x440')]['height']=Math[_0x1cd3('0x13d1')](0x1,this[_0x1cd3('0x4e4')])+'px';}};mxRubberband[_0x1cd3('0x77a')][_0x1cd3('0x2bcb')]=function(){this['destroyed']||(this[_0x1cd3('0x3230')]=!0x0,this[_0x1cd3('0x2c89')]['removeMouseListener'](this),this[_0x1cd3('0x2c89')][_0x1cd3('0x2b27')](this[_0x1cd3('0x323c')]),this[_0x1cd3('0x358')](),null!=this[_0x1cd3('0x3310')]&&(this[_0x1cd3('0x3310')]=null));};function mxVertexHandler(_0x52fcc5){null!=_0x52fcc5&&(this[_0x1cd3('0x19')]=_0x52fcc5,this[_0x1cd3('0xe08')]());}mxVertexHandler['prototype']['graph']=null;mxVertexHandler[_0x1cd3('0x77a')][_0x1cd3('0x19')]=null;mxVertexHandler[_0x1cd3('0x77a')][_0x1cd3('0x3315')]=!0x1;mxVertexHandler['prototype'][_0x1cd3('0x2f5e')]=null;mxVertexHandler['prototype'][_0x1cd3('0x3316')]=!0x0;mxVertexHandler[_0x1cd3('0x77a')][_0x1cd3('0x3317')]=null;mxVertexHandler[_0x1cd3('0x77a')]['tolerance']=0x0;mxVertexHandler[_0x1cd3('0x77a')][_0x1cd3('0x3286')]=!0x1;mxVertexHandler[_0x1cd3('0x77a')]['rotationRaster']=!0x0;mxVertexHandler[_0x1cd3('0x77a')][_0x1cd3('0xe08')]=function(){this[_0x1cd3('0x2c89')]=this[_0x1cd3('0x19')][_0x1cd3('0x1665')]['graph'];this['selectionBounds']=this[_0x1cd3('0x3318')](this[_0x1cd3('0x19')]);this[_0x1cd3('0x2dbc')]=new mxRectangle(this[_0x1cd3('0x3319')]['x'],this[_0x1cd3('0x3319')]['y'],this[_0x1cd3('0x3319')][_0x1cd3('0x4d7')],this[_0x1cd3('0x3319')][_0x1cd3('0x4e4')]);this[_0x1cd3('0x323f')]=this[_0x1cd3('0x331a')](this['bounds']);this[_0x1cd3('0x323f')]['dialect']=this[_0x1cd3('0x2c89')][_0x1cd3('0x2d98')]!=mxConstants[_0x1cd3('0x2a7c')]?mxConstants[_0x1cd3('0x2d99')]:mxConstants[_0x1cd3('0x2a7c')];this[_0x1cd3('0x323f')]['pointerEvents']=!0x1;this[_0x1cd3('0x323f')][_0x1cd3('0xe08')](this[_0x1cd3('0x2c89')][_0x1cd3('0x29de')]()['getOverlayPane']());this[_0x1cd3('0x2c89')]['isCellMovable'](this[_0x1cd3('0x19')][_0x1cd3('0xefb')])&&(this['selectionBorder']['node'][_0x1cd3('0x440')][_0x1cd3('0x29ec')]=mxConstants[_0x1cd3('0x3299')]);mxEvent[_0x1cd3('0x32db')](this['selectionBorder'][_0x1cd3('0x56e')],this['graph'],this[_0x1cd3('0x19')]);if(0x0>=mxGraphHandler['prototype'][_0x1cd3('0x331b')]||this['graph'][_0x1cd3('0x3219')]()this[_0x1cd3('0x19')][_0x1cd3('0x4d7')]&&0x2>this[_0x1cd3('0x19')][_0x1cd3('0x4e4')])&&(this[_0x1cd3('0x3320')]=this['createSizer'](mxConstants[_0x1cd3('0x3299')],null,null,mxConstants[_0x1cd3('0x3323')]),this[_0x1cd3('0x331c')]['push'](this[_0x1cd3('0x3320')]));}if(this[_0x1cd3('0x3286')]&&(0x0>=mxGraphHandler[_0x1cd3('0x77a')][_0x1cd3('0x331b')]||this['graph'][_0x1cd3('0x3219')]()_0x3c80cc?0xb4:0x0;0x0<_0x275169&&(this[_0x1cd3('0x3331')]-=0xb4);this[_0x1cd3('0x3333')]&&(_0x275169=_0x1d7d2b['x']-this[_0x1cd3('0x19')][_0x1cd3('0x29d5')](),_0x3c80cc=_0x1d7d2b['y']-this['state'][_0x1cd3('0x29d6')](),_0x275169=Math['abs'](Math[_0x1cd3('0x2a4f')](_0x275169*_0x275169+_0x3c80cc*_0x3c80cc)-this[_0x1cd3('0x19')]['height']/0x2-0x14),_0x275169=Math[_0x1cd3('0x13d1')](0x1,0x5*Math[_0x1cd3('0x4e3')](0x3,Math[_0x1cd3('0x13d1')](0x0,Math[_0x1cd3('0x18ba')](0x50/Math['abs'](_0x275169))))),this['currentAlpha']=Math['round'](this['currentAlpha']/_0x275169)*_0x275169);this[_0x1cd3('0x323f')][_0x1cd3('0x2ac8')]=this[_0x1cd3('0x3331')];this['selectionBorder'][_0x1cd3('0x29e3')]();}else{var _0x212a2e=mxUtils[_0x1cd3('0x2a51')](this[_0x1cd3('0x19')][_0x1cd3('0x440')][mxConstants['STYLE_ROTATION']]||'0'),_0x1c50b1=Math['cos'](-_0x212a2e),_0x1c87b8=Math[_0x1cd3('0x2a4e')](-_0x212a2e),_0x1f790d=new mxPoint(this[_0x1cd3('0x19')][_0x1cd3('0x29d5')](),this['state'][_0x1cd3('0x29d6')]()),_0x275169=_0x1d7d2b['x']-this['startX'],_0x3c80cc=_0x1d7d2b['y']-this[_0x1cd3('0x324c')],_0x1d7d2b=this[_0x1cd3('0x2c89')][_0x1cd3('0x1665')][_0x1cd3('0x43c')],_0x4e3bba=_0x1c87b8*_0x275169+_0x1c50b1*_0x3c80cc,_0x275169=_0x1c50b1*_0x275169-_0x1c87b8*_0x3c80cc;this[_0x1cd3('0x2dbc')]=this[_0x1cd3('0x3334')](this[_0x1cd3('0x3319')],_0x275169,_0x4e3bba,this[_0x1cd3('0x2f5e')],_0x1f4a0e,_0x3f01b0,_0x1d7d2b);_0x1c50b1=Math[_0x1cd3('0x2a4d')](_0x212a2e);_0x1c87b8=Math[_0x1cd3('0x2a4e')](_0x212a2e);_0x3c80cc=new mxPoint(this['bounds'][_0x1cd3('0x29d5')](),this['bounds'][_0x1cd3('0x29d6')]());_0x275169=_0x3c80cc['x']-_0x1f790d['x'];_0x3c80cc=_0x3c80cc['y']-_0x1f790d['y'];_0x1f790d=_0x1c87b8*_0x275169+_0x1c50b1*_0x3c80cc-_0x3c80cc;this[_0x1cd3('0x2dbc')]['x']+=_0x1c50b1*_0x275169-_0x1c87b8*_0x3c80cc-_0x275169;this[_0x1cd3('0x2dbc')]['y']+=_0x1f790d;this[_0x1cd3('0x3301')]();}_0x5658ae['consume']();}else null!=this[_0x1cd3('0x332f')](_0x5658ae)&&_0x5658ae[_0x1cd3('0x2b14')](!0x1);};mxVertexHandler[_0x1cd3('0x77a')]['mouseUp']=function(_0x334205,_0x2aa483){if(!_0x2aa483[_0x1cd3('0x2b13')]()&&null!=this[_0x1cd3('0x2f5e')]&&null!=this[_0x1cd3('0x19')]){var _0x58878c=new mxPoint(_0x2aa483[_0x1cd3('0x2b1d')](),_0x2aa483['getGraphY']());this[_0x1cd3('0x2c89')]['getModel']()[_0x1cd3('0x2a6c')]();try{if(this[_0x1cd3('0x2f5e')]==mxEvent[_0x1cd3('0x3324')])null!=this[_0x1cd3('0x3331')]&&this[_0x1cd3('0x3335')](this[_0x1cd3('0x19')]['cell'],this['currentAlpha']-(this['state'][_0x1cd3('0x440')][mxConstants[_0x1cd3('0x2a5d')]]||0x0));else{var _0x47a926=this[_0x1cd3('0x2c89')][_0x1cd3('0x2c04')](_0x2aa483[_0x1cd3('0x2b1a')]()),_0x5d4a0d=mxUtils[_0x1cd3('0x2a51')](this['state'][_0x1cd3('0x440')][mxConstants[_0x1cd3('0x2a5d')]]||'0'),_0xb366a0=Math['cos'](-_0x5d4a0d),_0x1e102c=Math['sin'](-_0x5d4a0d),_0x524e5a=_0x58878c['x']-this['startX'],_0x4c2c66=_0x58878c['y']-this[_0x1cd3('0x324c')],_0x58878c=_0x1e102c*_0x524e5a+_0xb366a0*_0x4c2c66,_0x524e5a=_0xb366a0*_0x524e5a-_0x1e102c*_0x4c2c66,_0x4c2c66=_0x58878c,_0x1ebe9b=this[_0x1cd3('0x2c89')][_0x1cd3('0x1665')][_0x1cd3('0x29df')];this[_0x1cd3('0x316b')](this[_0x1cd3('0x19')]['cell'],_0x524e5a/_0x1ebe9b,_0x4c2c66/_0x1ebe9b,this[_0x1cd3('0x2f5e')],_0x47a926);}}finally{this[_0x1cd3('0x2c89')][_0x1cd3('0x2a77')]()['endUpdate']();}this['reset']();_0x2aa483[_0x1cd3('0x2b14')]();}};mxVertexHandler[_0x1cd3('0x77a')][_0x1cd3('0x3335')]=function(_0x395087,_0x568b6f){var _0x30513a=this[_0x1cd3('0x2c89')][_0x1cd3('0x2a77')]();if(_0x30513a[_0x1cd3('0x2c98')](_0x395087)){var _0x53a1ed=_0x395087==this[_0x1cd3('0x19')]?this[_0x1cd3('0x19')]:this[_0x1cd3('0x2c89')]['view'][_0x1cd3('0x29d9')](_0x395087);null!=_0x53a1ed&&this[_0x1cd3('0x2c89')][_0x1cd3('0x2e63')](mxConstants[_0x1cd3('0x2a5d')],(_0x53a1ed[_0x1cd3('0x440')][mxConstants[_0x1cd3('0x2a5d')]]||0x0)+_0x568b6f,[_0x395087]);if(this[_0x1cd3('0x19')][_0x1cd3('0xefb')]!=_0x395087&&(_0x53a1ed=this[_0x1cd3('0x2c89')][_0x1cd3('0x2e6e')](_0x395087),null!=_0x53a1ed&&!_0x53a1ed[_0x1cd3('0x2d83')]))if(0x0!=_0x568b6f){var _0x4b07d5=this[_0x1cd3('0x2c89')][_0x1cd3('0x2a77')]()[_0x1cd3('0x2c9d')](_0x395087),_0x249205=this[_0x1cd3('0x2c89')][_0x1cd3('0x2e6e')](_0x4b07d5);if(!_0x53a1ed[_0x1cd3('0x2d83')]&&null!=_0x249205){var _0x5e4a50=mxUtils[_0x1cd3('0x2a51')](_0x568b6f),_0x4b07d5=Math['cos'](_0x5e4a50),_0x5e4a50=Math[_0x1cd3('0x2a4e')](_0x5e4a50),_0x1bd1e6=new mxPoint(_0x53a1ed['getCenterX'](),_0x53a1ed[_0x1cd3('0x29d6')]()),_0x249205=new mxPoint(_0x249205[_0x1cd3('0x4d7')]/0x2,_0x249205['height']/0x2),_0x4b07d5=mxUtils[_0x1cd3('0x2a52')](_0x1bd1e6,_0x4b07d5,_0x5e4a50,_0x249205),_0x53a1ed=_0x53a1ed[_0x1cd3('0x1141')]();_0x53a1ed['x']=_0x4b07d5['x']-_0x53a1ed[_0x1cd3('0x4d7')]/0x2;_0x53a1ed['y']=_0x4b07d5['y']-_0x53a1ed[_0x1cd3('0x4e4')]/0x2;_0x30513a['setGeometry'](_0x395087,_0x53a1ed);}}else _0x53a1ed=_0x53a1ed[_0x1cd3('0x1141')](),_0x53a1ed['x']+=dx,_0x53a1ed['y']+=dy,_0x30513a[_0x1cd3('0x2e68')](_0x395087,_0x53a1ed);_0x53a1ed=_0x30513a[_0x1cd3('0x29e5')](_0x395087);for(_0x4b07d5=0x0;_0x4b07d5<_0x53a1ed;_0x4b07d5++)this[_0x1cd3('0x3335')](_0x30513a[_0x1cd3('0x29e6')](_0x395087,_0x4b07d5),_0x568b6f);}};mxVertexHandler[_0x1cd3('0x77a')][_0x1cd3('0x358')]=function(){this['index']=this[_0x1cd3('0x3331')]=null;null!=this['preview']&&(this[_0x1cd3('0xe67')]['destroy'](),this[_0x1cd3('0xe67')]=null);null!=this[_0x1cd3('0x323f')]&&(this[_0x1cd3('0x323f')][_0x1cd3('0x56e')]['style']['display']=_0x1cd3('0x6ad'),this['selectionBounds']=this[_0x1cd3('0x3318')](this[_0x1cd3('0x19')]),this[_0x1cd3('0x2dbc')]=new mxRectangle(this['selectionBounds']['x'],this[_0x1cd3('0x3319')]['y'],this[_0x1cd3('0x3319')][_0x1cd3('0x4d7')],this[_0x1cd3('0x3319')][_0x1cd3('0x4e4')]),this[_0x1cd3('0x3301')]());};mxVertexHandler['prototype'][_0x1cd3('0x316b')]=function(_0x10ec7f,_0x17937a,_0x3dfc25,_0xe4849a,_0x5eafcc){var _0x4b4c61=this['graph'][_0x1cd3('0x42e')][_0x1cd3('0x2e67')](_0x10ec7f);if(null!=_0x4b4c61)if(_0xe4849a==mxEvent[_0x1cd3('0x3321')])_0xe4849a=this[_0x1cd3('0x2c89')][_0x1cd3('0x1665')][_0x1cd3('0x29df')],_0x17937a=(this[_0x1cd3('0x3320')][_0x1cd3('0x2dbc')][_0x1cd3('0x29d5')]()-this[_0x1cd3('0x324b')])/_0xe4849a,_0x3dfc25=(this['labelShape']['bounds'][_0x1cd3('0x29d6')]()-this[_0x1cd3('0x324c')])/_0xe4849a,_0x4b4c61=_0x4b4c61[_0x1cd3('0x1141')](),null==_0x4b4c61['offset']?_0x4b4c61['offset']=new mxPoint(_0x17937a,_0x3dfc25):(_0x4b4c61[_0x1cd3('0xd57')]['x']+=_0x17937a,_0x4b4c61[_0x1cd3('0xd57')]['y']+=_0x3dfc25),this[_0x1cd3('0x2c89')][_0x1cd3('0x42e')]['setGeometry'](_0x10ec7f,_0x4b4c61);else{_0xe4849a=this[_0x1cd3('0x3334')](_0x4b4c61,_0x17937a,_0x3dfc25,_0xe4849a,_0x5eafcc,0x1,new mxPoint(0x0,0x0));var _0x3c21e6=mxUtils[_0x1cd3('0x2a51')](this['state'][_0x1cd3('0x440')][mxConstants[_0x1cd3('0x2a5d')]]||'0');if(0x0!=_0x3c21e6){_0x17937a=_0xe4849a[_0x1cd3('0x29d5')]()-_0x4b4c61['getCenterX']();_0x3dfc25=_0xe4849a[_0x1cd3('0x29d6')]()-_0x4b4c61['getCenterY']();_0x5eafcc=Math[_0x1cd3('0x2a4d')](_0x3c21e6);var _0x1bde0a=Math['sin'](_0x3c21e6),_0x3c21e6=_0x5eafcc*_0x17937a-_0x1bde0a*_0x3dfc25-_0x17937a;_0x17937a=_0x1bde0a*_0x17937a+_0x5eafcc*_0x3dfc25-_0x3dfc25;_0x3dfc25=_0xe4849a['x']-_0x4b4c61['x'];var _0x11b6b0=_0xe4849a['y']-_0x4b4c61['y'],_0x5b4742=_0x5eafcc*_0x3dfc25-_0x1bde0a*_0x11b6b0;_0x5eafcc=_0x1bde0a*_0x3dfc25+_0x5eafcc*_0x11b6b0;_0xe4849a['x']+=_0x3c21e6;_0xe4849a['y']+=_0x17937a;if(!this['graph']['isCellCollapsed'](_0x10ec7f)&&(0x0!=_0x3c21e6||0x0!=_0x17937a))_0x3dfc25=_0x4b4c61['x']-_0xe4849a['x']+_0x5b4742,_0x11b6b0=_0x4b4c61['y']-_0xe4849a['y']+_0x5eafcc,this[_0x1cd3('0x3336')](_0x10ec7f,_0x3dfc25,_0x11b6b0);}this['graph'][_0x1cd3('0x316b')](_0x10ec7f,_0xe4849a);}};mxVertexHandler[_0x1cd3('0x77a')][_0x1cd3('0x3336')]=function(_0x11782c,_0x222a38,_0x3d9885){for(var _0x12aaa8=this[_0x1cd3('0x2c89')][_0x1cd3('0x2a77')](),_0x55e5fc=_0x12aaa8[_0x1cd3('0x29e5')](_0x11782c),_0xab46af=0x0;_0xab46af<_0x55e5fc;_0xab46af++){var _0x169585=_0x12aaa8[_0x1cd3('0x29e6')](_0x11782c,_0xab46af);if(_0x12aaa8['isVertex'](_0x169585)){var _0x4a915e=this[_0x1cd3('0x2c89')][_0x1cd3('0x2e6e')](_0x169585);null!=_0x4a915e&&!_0x4a915e[_0x1cd3('0x2d83')]&&(_0x4a915e=_0x4a915e[_0x1cd3('0x1141')](),_0x4a915e['x']+=_0x222a38,_0x4a915e['y']+=_0x3d9885,_0x12aaa8['setGeometry'](_0x169585,_0x4a915e));}}};mxVertexHandler[_0x1cd3('0x77a')][_0x1cd3('0x3334')]=function(_0x43020a,_0x1a9c92,_0x58f60c,_0x5447e5,_0x4d18d2,_0x1c6713,_0x1839af){if(this['singleSizer']){_0x1839af=_0x43020a['x']+_0x43020a[_0x1cd3('0x4d7')]+_0x1a9c92;var _0x735b91=_0x43020a['y']+_0x43020a[_0x1cd3('0x4e4')]+_0x58f60c;_0x4d18d2&&(_0x1839af=this[_0x1cd3('0x2c89')][_0x1cd3('0x2c07')](_0x1839af/_0x1c6713)*_0x1c6713,_0x735b91=this[_0x1cd3('0x2c89')][_0x1cd3('0x2c07')](_0x735b91/_0x1c6713)*_0x1c6713);_0x1c6713=new mxRectangle(_0x43020a['x'],_0x43020a['y'],0x0,0x0);_0x1c6713[_0x1cd3('0x425')](new mxRectangle(_0x1839af,_0x735b91,0x0,0x0));return _0x1c6713;}var _0x735b91=_0x43020a['x']-_0x1839af['x']*_0x1c6713,_0x531788=_0x735b91+_0x43020a[_0x1cd3('0x4d7')],_0x279cf3=_0x43020a['y']-_0x1839af['y']*_0x1c6713;_0x43020a=_0x279cf3+_0x43020a[_0x1cd3('0x4e4')];0x4<_0x5447e5?(_0x43020a+=_0x58f60c,_0x4d18d2&&(_0x43020a=this[_0x1cd3('0x2c89')]['snap'](_0x43020a/_0x1c6713)*_0x1c6713)):0x3>_0x5447e5&&(_0x279cf3+=_0x58f60c,_0x4d18d2&&(_0x279cf3=this[_0x1cd3('0x2c89')][_0x1cd3('0x2c07')](_0x279cf3/_0x1c6713)*_0x1c6713));if(0x0==_0x5447e5||0x3==_0x5447e5||0x5==_0x5447e5)_0x735b91+=_0x1a9c92,_0x4d18d2&&(_0x735b91=this[_0x1cd3('0x2c89')][_0x1cd3('0x2c07')](_0x735b91/_0x1c6713)*_0x1c6713);else if(0x2==_0x5447e5||0x4==_0x5447e5||0x7==_0x5447e5)_0x531788+=_0x1a9c92,_0x4d18d2&&(_0x531788=this[_0x1cd3('0x2c89')][_0x1cd3('0x2c07')](_0x531788/_0x1c6713)*_0x1c6713);_0x4d18d2=_0x531788-_0x735b91;_0x43020a-=_0x279cf3;0x0>_0x4d18d2&&(_0x735b91+=_0x4d18d2,_0x4d18d2=Math[_0x1cd3('0x2a4c')](_0x4d18d2));0x0>_0x43020a&&(_0x279cf3+=_0x43020a,_0x43020a=Math[_0x1cd3('0x2a4c')](_0x43020a));return new mxRectangle(_0x735b91+_0x1839af['x']*_0x1c6713,_0x279cf3+_0x1839af['y']*_0x1c6713,_0x4d18d2,_0x43020a);};mxVertexHandler['prototype'][_0x1cd3('0x29e3')]=function(){this['selectionBounds']=this[_0x1cd3('0x3318')](this['state']);this['bounds']=new mxRectangle(this[_0x1cd3('0x19')]['x'],this[_0x1cd3('0x19')]['y'],this[_0x1cd3('0x19')][_0x1cd3('0x4d7')],this[_0x1cd3('0x19')][_0x1cd3('0x4e4')]);var _0x275b17=this[_0x1cd3('0x19')];if(null!=this['sizers']){var _0x3f90a9=_0x275b17['x']+_0x275b17[_0x1cd3('0x4d7')],_0x4ee678=_0x275b17['y']+_0x275b17['height'];if(this[_0x1cd3('0x3315')])this['moveSizerTo'](this['sizers'][0x0],_0x3f90a9,_0x4ee678);else{var _0x1d375f=_0x275b17['x']+_0x275b17['width']/0x2,_0x3f0a88=_0x275b17['y']+_0x275b17[_0x1cd3('0x4e4')]/0x2;if(0x1=mxGraphHandler[_0x1cd3('0x77a')]['maxCells'])this['bends']=this['createBends']();this['label']=new mxPoint(this['state'][_0x1cd3('0x2faa')]['x'],this[_0x1cd3('0x19')]['absoluteOffset']['y']);this['labelShape']=new mxRectangleShape(new mxRectangle(),mxConstants[_0x1cd3('0x3323')],mxConstants[_0x1cd3('0x332d')]);this[_0x1cd3('0x3320')][_0x1cd3('0x2cb2')]=!0x1;this[_0x1cd3('0x333c')](this['labelShape']);this[_0x1cd3('0x3320')][_0x1cd3('0x56e')]['style'][_0x1cd3('0x29ec')]=mxConstants['CURSOR_LABEL_HANDLE'];mxEvent['redirectMouseEvents'](this['labelShape'][_0x1cd3('0x56e')],this[_0x1cd3('0x2c89')],this[_0x1cd3('0x19')]);this['redraw']();};mxEdgeHandler[_0x1cd3('0x77a')][_0x1cd3('0x333a')]=function(_0x3d8488){return mxEvent[_0x1cd3('0x2b42')](_0x3d8488);};mxEdgeHandler[_0x1cd3('0x77a')]['isRemovePointEvent']=function(_0x4a71e1){return mxEvent[_0x1cd3('0x2b42')](_0x4a71e1);};mxEdgeHandler['prototype'][_0x1cd3('0x3339')]=function(_0x1ab3e8){return _0x1ab3e8[_0x1cd3('0x2a59')];};mxEdgeHandler[_0x1cd3('0x77a')][_0x1cd3('0x331a')]=function(_0x2cb277){_0x2cb277=new mxPolyline(_0x2cb277,this['getSelectionColor']());_0x2cb277[_0x1cd3('0x2ce9')]=this[_0x1cd3('0x332a')]();_0x2cb277[_0x1cd3('0x2d96')]=this[_0x1cd3('0x3328')]();return _0x2cb277;};mxEdgeHandler[_0x1cd3('0x77a')][_0x1cd3('0x3327')]=function(){return mxConstants[_0x1cd3('0x333d')];};mxEdgeHandler['prototype'][_0x1cd3('0x332a')]=function(){return mxConstants[_0x1cd3('0x333e')];};mxEdgeHandler['prototype'][_0x1cd3('0x3328')]=function(){return mxConstants[_0x1cd3('0x333f')];};mxEdgeHandler[_0x1cd3('0x77a')]['isConnectableCell']=function(_0x325b22){return!0x0;};mxEdgeHandler[_0x1cd3('0x77a')][_0x1cd3('0x2e4e')]=function(){var _0x54c60e=new mxCellMarker(this[_0x1cd3('0x2c89')]),_0x532577=this;_0x54c60e[_0x1cd3('0x2b1f')]=function(_0x2d3062){var _0x11fab4=mxCellMarker[_0x1cd3('0x77a')]['getCell'][_0x1cd3('0x4df')](this,arguments);if(!_0x532577[_0x1cd3('0x32e1')](_0x11fab4))return null;var _0x2a7290=_0x532577[_0x1cd3('0x2c89')][_0x1cd3('0x2a77')]();if(_0x11fab4==_0x532577['state'][_0x1cd3('0xefb')]||null!=_0x11fab4&&!_0x532577[_0x1cd3('0x2c89')][_0x1cd3('0x31ea')]&&_0x2a7290[_0x1cd3('0x29dc')](_0x11fab4))_0x11fab4=null;return _0x11fab4;};_0x54c60e[_0x1cd3('0x32c1')]=function(_0x35dc26){var _0x1a09d0=_0x532577['graph'][_0x1cd3('0x2a77')](),_0x1a09d0=_0x532577[_0x1cd3('0x2c89')]['view'][_0x1cd3('0x3086')](_0x35dc26,_0x532577[_0x1cd3('0x2c89')][_0x1cd3('0x1665')][_0x1cd3('0x29d9')](_0x1a09d0[_0x1cd3('0x2e62')](_0x532577[_0x1cd3('0x19')][_0x1cd3('0xefb')],!_0x532577[_0x1cd3('0x324a')])),!_0x532577[_0x1cd3('0x324a')]),_0x1a09d0=null!=_0x1a09d0?_0x1a09d0[_0x1cd3('0xefb')]:null;_0x532577['error']=_0x532577['validateConnection'](_0x532577['isSource']?_0x35dc26[_0x1cd3('0xefb')]:_0x1a09d0,_0x532577[_0x1cd3('0x324a')]?_0x1a09d0:_0x35dc26[_0x1cd3('0xefb')]);return null==_0x532577[_0x1cd3('0x434')];};return _0x54c60e;};mxEdgeHandler['prototype'][_0x1cd3('0x32e3')]=function(_0xed276f,_0x1a0613){return this[_0x1cd3('0x2c89')][_0x1cd3('0x31a4')](this['state'][_0x1cd3('0xefb')],_0xed276f,_0x1a0613);};mxEdgeHandler[_0x1cd3('0x77a')][_0x1cd3('0x3340')]=function(){for(var _0x85d6ec=this['state'][_0x1cd3('0xefb')],_0x2fc052=[],_0x77276=0x0;_0x77276\x20'+_0x342161[_0x1cd3('0x3117')](_0x35aef2)+_0x5a7020),_0x35aef2=_0x342161[_0x1cd3('0x2a77')]()[_0x1cd3('0x2c9d')](_0x35aef2);return this[_0x1cd3('0x33ec')]()+_0x5a7020;};mxEditor[_0x1cd3('0x77a')][_0x1cd3('0x33ec')]=function(){var _0x30d535=this[_0x1cd3('0x2c89')][_0x1cd3('0x2a77')]()[_0x1cd3('0x2a78')]();return this[_0x1cd3('0x2c89')]['convertValueToString'](_0x30d535);};mxEditor[_0x1cd3('0x77a')][_0x1cd3('0x2b60')]=function(){this['undoManager'][_0x1cd3('0x2b60')]();};mxEditor[_0x1cd3('0x77a')]['redo']=function(){this[_0x1cd3('0x338f')][_0x1cd3('0x2b61')]();};mxEditor['prototype'][_0x1cd3('0x2b6e')]=function(){var _0x127560=null!=this[_0x1cd3('0x33ed')]?this[_0x1cd3('0x33ed')]:this[_0x1cd3('0x2c89')]['gridSize'];return this[_0x1cd3('0x2c89')]['groupCells'](this[_0x1cd3('0x33ee')](),_0x127560);};mxEditor[_0x1cd3('0x77a')][_0x1cd3('0x33ee')]=function(){return this[_0x1cd3('0x2c89')]['getModel']()['cloneCell'](this['defaultGroup']);};mxEditor[_0x1cd3('0x77a')][_0x1cd3('0xee4')]=function(_0x4cd557){if(null!=_0x4cd557){var _0x259513=mxUtils[_0x1cd3('0x5de')](_0x4cd557)[_0x1cd3('0x2b82')]();this[_0x1cd3('0x33ef')](_0x259513[_0x1cd3('0x2a20')]);this[_0x1cd3('0x6b6')]=_0x4cd557;this[_0x1cd3('0x2b28')](new mxEventObject(mxEvent[_0x1cd3('0x33e8')],_0x1cd3('0x6b6'),_0x4cd557));}};mxEditor['prototype'][_0x1cd3('0x33ef')]=function(_0x573c2b){new mxCodec(_0x573c2b[_0x1cd3('0x29fb')])['decode'](_0x573c2b,this[_0x1cd3('0x2c89')][_0x1cd3('0x2a77')]());this[_0x1cd3('0x33d1')]();};mxEditor[_0x1cd3('0x77a')][_0x1cd3('0xd6d')]=function(_0x5a767,_0x35a963){_0x5a767=_0x5a767||this[_0x1cd3('0x33f0')]();if(null!=_0x5a767&&0x0<_0x5a767[_0x1cd3('0x7a')]){var _0x30f49f=this[_0x1cd3('0x33f1')](_0x35a963);this[_0x1cd3('0x33f2')](_0x5a767,_0x30f49f);this[_0x1cd3('0x2fd3')](!0x1);}this['fireEvent'](new mxEventObject(mxEvent[_0x1cd3('0x1c33')],'url',_0x5a767));};mxEditor[_0x1cd3('0x77a')][_0x1cd3('0x33f2')]=function(_0x602ac0,_0x3f70b1){this[_0x1cd3('0x2c2f')]&&(_0x3f70b1=encodeURIComponent(_0x3f70b1));mxUtils[_0x1cd3('0x9dc')](_0x602ac0,this[_0x1cd3('0x339f')]+'='+_0x3f70b1,mxUtils[_0x1cd3('0x5b2')](this,function(_0x4e7080){this['fireEvent'](new mxEventObject(mxEvent[_0x1cd3('0x33f3')],_0x1cd3('0x5fe'),_0x4e7080,'url',_0x602ac0,_0x1cd3('0x439'),_0x3f70b1));}));};mxEditor[_0x1cd3('0x77a')]['writeGraphModel']=function(_0x14ac59){_0x14ac59=null!=_0x14ac59?_0x14ac59:this['linefeed'];var _0x520956=new mxCodec()[_0x1cd3('0x2a82')](this['graph'][_0x1cd3('0x2a77')]());return mxUtils[_0x1cd3('0x2b82')](_0x520956,_0x14ac59);};mxEditor['prototype']['getUrlPost']=function(){return this[_0x1cd3('0x33a0')];};mxEditor[_0x1cd3('0x77a')][_0x1cd3('0x33b1')]=function(){return this[_0x1cd3('0x33a1')];};mxEditor[_0x1cd3('0x77a')][_0x1cd3('0x664')]=function(_0x3b4833,_0x5cccef,_0x4ff1a5,_0xb938ea){var _0x4b9467=null;mxClient[_0x1cd3('0x3393')]||(_0x4b9467=new mxSession(this[_0x1cd3('0x2c89')]['getModel'](),_0x3b4833,_0x5cccef,_0x4ff1a5),_0x4b9467[_0x1cd3('0x29ba')](mxEvent[_0x1cd3('0x2c40')],mxUtils[_0x1cd3('0x5b2')](this,function(_0x289ca2,_0x4bec43){null!=_0x4bec43[_0x1cd3('0x2b12')](_0x1cd3('0x56e'))['getAttribute'](_0x1cd3('0x33f4'))&&this[_0x1cd3('0x33d1')]();})),_0x4b9467[_0x1cd3('0x29ba')](mxEvent[_0x1cd3('0x33f5')],_0xb938ea),_0x4b9467[_0x1cd3('0x29ba')](mxEvent[_0x1cd3('0x2c33')],_0xb938ea),_0x4b9467[_0x1cd3('0x29ba')](mxEvent[_0x1cd3('0x2c26')],_0xb938ea),_0x4b9467['addListener'](mxEvent[_0x1cd3('0xf47')],_0xb938ea),_0x4b9467[_0x1cd3('0x5f2')]());return _0x4b9467;};mxEditor[_0x1cd3('0x77a')][_0x1cd3('0x33f6')]=function(_0x40633a,_0x19f74e){var _0x77fd3e=this[_0x1cd3('0x2c89')][_0x1cd3('0x3103')]()['styles'][_0x19f74e];this['graph'][_0x1cd3('0x29de')]()['getStylesheet']()[_0x1cd3('0x2fa6')](_0x19f74e,this[_0x1cd3('0x2c89')][_0x1cd3('0x3103')]()[_0x1cd3('0x1839')][_0x40633a]);this[_0x1cd3('0x2c89')][_0x1cd3('0x3103')]()[_0x1cd3('0x2fa6')](_0x40633a,_0x77fd3e);this['graph'][_0x1cd3('0x8fa')]();};mxEditor[_0x1cd3('0x77a')]['showProperties']=function(_0x952b3b){_0x952b3b=_0x952b3b||this['graph']['getSelectionCell']();null==_0x952b3b&&(_0x952b3b=this[_0x1cd3('0x2c89')][_0x1cd3('0x3176')](),null==_0x952b3b&&(_0x952b3b=this[_0x1cd3('0x2c89')][_0x1cd3('0x2a77')]()[_0x1cd3('0x2a78')]()));if(null!=_0x952b3b){this[_0x1cd3('0x2c89')]['stopEditing'](!0x0);var _0x3f5832=mxUtils[_0x1cd3('0x2a61')](this[_0x1cd3('0x2c89')]['container']),_0xef2c76=_0x3f5832['x']+0xa,_0x3f5832=_0x3f5832['y'];if(null!=this[_0x1cd3('0x8e2')]&&!this[_0x1cd3('0x33af')])_0xef2c76=this[_0x1cd3('0x8e2')]['getX'](),_0x3f5832=this[_0x1cd3('0x8e2')][_0x1cd3('0x2b1b')]();else{var _0x4559d8=this[_0x1cd3('0x2c89')][_0x1cd3('0x318d')](_0x952b3b);null!=_0x4559d8&&(_0xef2c76+=_0x4559d8['x']+Math['min'](0xc8,_0x4559d8[_0x1cd3('0x4d7')]),_0x3f5832+=_0x4559d8['y']);}this['hideProperties']();_0x952b3b=this[_0x1cd3('0x33f7')](_0x952b3b);null!=_0x952b3b&&(this['properties']=new mxWindow(mxResources[_0x1cd3('0x361')](this[_0x1cd3('0x3398')])||this[_0x1cd3('0x3398')],_0x952b3b,_0xef2c76,_0x3f5832,this['propertiesWidth'],this[_0x1cd3('0x33ae')],!0x1),this[_0x1cd3('0x8e2')][_0x1cd3('0x29c1')](!0x0));}};mxEditor['prototype'][_0x1cd3('0x33f8')]=function(){return null!=this[_0x1cd3('0x8e2')];};mxEditor[_0x1cd3('0x77a')][_0x1cd3('0x33f7')]=function(_0x23ab3e){var _0x1449e6=this[_0x1cd3('0x2c89')]['getModel'](),_0x1bb8b6=_0x1449e6[_0x1cd3('0x2a5a')](_0x23ab3e);if(mxUtils['isNode'](_0x1bb8b6)){var _0x4ee733=new mxForm(_0x1cd3('0x8e2'));_0x4ee733[_0x1cd3('0x2bd5')]('ID',_0x23ab3e['getId']())[_0x1cd3('0x481')]('readonly',_0x1cd3('0x2e0'));var _0xc18b08=null,_0x492160=null,_0x362aba=null,_0x1439bd=null,_0x112aa1=null;_0x1449e6[_0x1cd3('0x2c98')](_0x23ab3e)&&(_0xc18b08=_0x1449e6[_0x1cd3('0x2e67')](_0x23ab3e),null!=_0xc18b08&&(_0x492160=_0x4ee733[_0x1cd3('0x2bd5')]('top',_0xc18b08['y']),_0x362aba=_0x4ee733[_0x1cd3('0x2bd5')](_0x1cd3('0x762'),_0xc18b08['x']),_0x1439bd=_0x4ee733[_0x1cd3('0x2bd5')](_0x1cd3('0x4d7'),_0xc18b08[_0x1cd3('0x4d7')]),_0x112aa1=_0x4ee733[_0x1cd3('0x2bd5')](_0x1cd3('0x4e4'),_0xc18b08['height'])));for(var _0x5d0a78=_0x1449e6[_0x1cd3('0x2a6e')](_0x23ab3e),_0x2b9f4c=_0x4ee733[_0x1cd3('0x2bd5')]('Style',_0x5d0a78||''),_0x128bec=_0x1bb8b6[_0x1cd3('0xf29')],_0x2c45b9=[],_0x1bb8b6=0x0;_0x1bb8b6<_0x128bec[_0x1cd3('0x7a')];_0x1bb8b6++)_0x2c45b9[_0x1bb8b6]=_0x4ee733[_0x1cd3('0x2bd9')](_0x128bec[_0x1bb8b6]['nodeName'],_0x128bec[_0x1bb8b6][_0x1cd3('0x2a0a')],_0x1cd3('0x91b')==_0x128bec[_0x1bb8b6][_0x1cd3('0x2a0c')]?0x4:0x2);_0x1bb8b6=mxUtils[_0x1cd3('0x5b2')](this,function(){this[_0x1cd3('0x3375')]();_0x1449e6[_0x1cd3('0x2a6c')]();try{null!=_0xc18b08&&(_0xc18b08=_0xc18b08[_0x1cd3('0x1141')](),_0xc18b08['x']=parseFloat(_0x362aba['value']),_0xc18b08['y']=parseFloat(_0x492160[_0x1cd3('0x3db')]),_0xc18b08[_0x1cd3('0x4d7')]=parseFloat(_0x1439bd[_0x1cd3('0x3db')]),_0xc18b08[_0x1cd3('0x4e4')]=parseFloat(_0x112aa1[_0x1cd3('0x3db')]),_0x1449e6['setGeometry'](_0x23ab3e,_0xc18b08));0x0<_0x2b9f4c[_0x1cd3('0x3db')][_0x1cd3('0x7a')]?_0x1449e6[_0x1cd3('0x2a6d')](_0x23ab3e,_0x2b9f4c['value']):_0x1449e6[_0x1cd3('0x2a6d')](_0x23ab3e,null);for(var _0x30ec68=0x0;_0x30ec68<_0x128bec[_0x1cd3('0x7a')];_0x30ec68++){var _0x632f6e=new mxCellAttributeChange(_0x23ab3e,_0x128bec[_0x30ec68]['nodeName'],_0x2c45b9[_0x30ec68][_0x1cd3('0x3db')]);_0x1449e6['execute'](_0x632f6e);}this[_0x1cd3('0x2c89')]['isAutoSizeCell'](_0x23ab3e)&&this[_0x1cd3('0x2c89')]['updateCellSize'](_0x23ab3e);}finally{_0x1449e6[_0x1cd3('0x2b5e')]();}});_0x5d0a78=mxUtils[_0x1cd3('0x5b2')](this,function(){this['hideProperties']();});_0x4ee733[_0x1cd3('0x2bd4')](_0x1bb8b6,_0x5d0a78);return _0x4ee733[_0x1cd3('0xd45')];}return null;};mxEditor[_0x1cd3('0x77a')][_0x1cd3('0x3375')]=function(){null!=this[_0x1cd3('0x8e2')]&&(this[_0x1cd3('0x8e2')]['destroy'](),this['properties']=null);};mxEditor['prototype'][_0x1cd3('0x33f9')]=function(){if(null==this['tasks']){var _0x250a23=document[_0x1cd3('0x3aa')](_0x1cd3('0x2a72'));_0x250a23[_0x1cd3('0x440')][_0x1cd3('0x2a9b')]='4px';_0x250a23[_0x1cd3('0x440')][_0x1cd3('0x3128')]='20px';var _0x16ef48=document['body']['clientWidth'],_0x16ef48=new mxWindow(mxResources[_0x1cd3('0x361')](this[_0x1cd3('0x3399')])||this['tasksResource'],_0x250a23,_0x16ef48-0xdc,this[_0x1cd3('0x33a8')],0xc8);_0x16ef48['setClosable'](!0x0);_0x16ef48[_0x1cd3('0x2bca')]=!0x1;var _0x3f27ae=mxUtils[_0x1cd3('0x5b2')](this,function(_0x20870e){mxEvent[_0x1cd3('0x2bd2')](_0x250a23);_0x250a23[_0x1cd3('0x2a15')]='';this[_0x1cd3('0x33fa')](_0x250a23);});this[_0x1cd3('0x2c89')][_0x1cd3('0x2a77')]()[_0x1cd3('0x29ba')](mxEvent[_0x1cd3('0x2c45')],_0x3f27ae);this['graph'][_0x1cd3('0x3104')]()['addListener'](mxEvent[_0x1cd3('0x2c45')],_0x3f27ae);this['graph']['addListener'](mxEvent[_0x1cd3('0x33e2')],_0x3f27ae);null!=this[_0x1cd3('0x33a7')]&&_0x16ef48[_0x1cd3('0x2bcc')](this[_0x1cd3('0x33a7')]);this[_0x1cd3('0x339a')]=_0x16ef48;this[_0x1cd3('0x33fa')](_0x250a23);}this[_0x1cd3('0x339a')][_0x1cd3('0x29c1')](!0x0);};mxEditor[_0x1cd3('0x77a')][_0x1cd3('0x33fb')]=function(_0x356711){null!=this[_0x1cd3('0x339a')]&&(_0x356711=this[_0x1cd3('0x339a')]['content'],mxEvent[_0x1cd3('0x2bd2')](_0x356711),_0x356711['innerHTML']='',this[_0x1cd3('0x33fa')](_0x356711));};mxEditor[_0x1cd3('0x77a')][_0x1cd3('0x33fa')]=function(_0xfbf9c5){};mxEditor['prototype']['showHelp']=function(_0x309079){if(null==this[_0x1cd3('0x172')]){var _0x2349e3=document[_0x1cd3('0x3aa')](_0x1cd3('0x15ac'));_0x2349e3[_0x1cd3('0x481')](_0x1cd3('0x487'),mxResources[_0x1cd3('0x361')](_0x1cd3('0x33aa'))||this['urlHelp']);_0x2349e3[_0x1cd3('0x481')]('height','100%');_0x2349e3[_0x1cd3('0x481')]('width',_0x1cd3('0x29a1'));_0x2349e3[_0x1cd3('0x481')](_0x1cd3('0x33fc'),'0');_0x2349e3['style'][_0x1cd3('0x2c0c')]=_0x1cd3('0x2d29');_0x309079=document[_0x1cd3('0x380')][_0x1cd3('0x29b5')];var _0x401975=document[_0x1cd3('0x380')]['clientHeight']||document[_0x1cd3('0x2a20')]['clientHeight'],_0x4c84e9=new mxWindow(mxResources[_0x1cd3('0x361')](this[_0x1cd3('0x33fd')])||this[_0x1cd3('0x33fd')],_0x2349e3,(_0x309079-this['helpWidth'])/0x2,(_0x401975-this['helpHeight'])/0x3,this[_0x1cd3('0x33ab')],this['helpHeight']);_0x4c84e9[_0x1cd3('0x2bbd')](!0x0);_0x4c84e9[_0x1cd3('0x29b7')](!0x0);_0x4c84e9[_0x1cd3('0x2bca')]=!0x1;_0x4c84e9['setResizable'](!0x0);null!=this[_0x1cd3('0x33a9')]&&_0x4c84e9[_0x1cd3('0x2bcc')](this[_0x1cd3('0x33a9')]);mxClient[_0x1cd3('0x29a5')]&&(_0x309079=function(_0x515c06){_0x2349e3['setAttribute'](_0x1cd3('0x4e4'),_0x4c84e9['div']['offsetHeight']-0x1a+'px');},_0x4c84e9['addListener'](mxEvent[_0x1cd3('0x29bb')],_0x309079),_0x4c84e9['addListener'](mxEvent[_0x1cd3('0x29bc')],_0x309079),_0x4c84e9['addListener'](mxEvent[_0x1cd3('0x29bd')],_0x309079),_0x4c84e9[_0x1cd3('0x29ba')](mxEvent[_0x1cd3('0x2bd0')],_0x309079));this[_0x1cd3('0x172')]=_0x4c84e9;}this[_0x1cd3('0x172')][_0x1cd3('0x29c1')](!0x0);};mxEditor[_0x1cd3('0x77a')][_0x1cd3('0x33ce')]=function(){if(null==this['outline']){var _0x33734e=document[_0x1cd3('0x3aa')](_0x1cd3('0x2a72'));_0x33734e[_0x1cd3('0x440')][_0x1cd3('0x29f1')]=_0x1cd3('0x533');_0x33734e[_0x1cd3('0x440')]['width']=_0x1cd3('0x29a1');_0x33734e[_0x1cd3('0x440')]['height']=_0x1cd3('0x29a1');_0x33734e[_0x1cd3('0x440')][_0x1cd3('0x2e17')]='white';_0x33734e[_0x1cd3('0x440')][_0x1cd3('0x29ec')]=_0x1cd3('0x2ab4');var _0x28e0cd=new mxWindow(mxResources[_0x1cd3('0x361')](this[_0x1cd3('0x33fe')])||this[_0x1cd3('0x33fe')],_0x33734e,0x258,0x1e0,0xc8,0xc8,!0x1),_0x2d71c1=new mxOutline(this['graph'],_0x33734e);_0x28e0cd['setClosable'](!0x0);_0x28e0cd[_0x1cd3('0x29b6')](!0x0);_0x28e0cd[_0x1cd3('0x2bca')]=!0x1;_0x28e0cd[_0x1cd3('0x29ba')](mxEvent[_0x1cd3('0x29bb')],function(){_0x2d71c1[_0x1cd3('0x378')]();});this['outline']=_0x28e0cd;this[_0x1cd3('0x3232')][_0x1cd3('0x3232')]=_0x2d71c1;}this[_0x1cd3('0x3232')][_0x1cd3('0x29c1')](!0x0);this[_0x1cd3('0x3232')][_0x1cd3('0x3232')]['update'](!0x0);};mxEditor['prototype'][_0x1cd3('0x3387')]=function(_0xc4bf07){_0x1cd3('0x44f')==_0xc4bf07?(this[_0x1cd3('0x2c89')][_0x1cd3('0x3100')]['useLeftButtonForPanning']=!0x1,this[_0x1cd3('0x2c89')][_0x1cd3('0x2f6b')](!0x1)):_0x1cd3('0x664')==_0xc4bf07?(this[_0x1cd3('0x2c89')][_0x1cd3('0x3100')][_0x1cd3('0x32a1')]=!0x1,this[_0x1cd3('0x2c89')]['setConnectable'](!0x0)):'pan'==_0xc4bf07&&(this[_0x1cd3('0x2c89')][_0x1cd3('0x3100')][_0x1cd3('0x32a1')]=!0x0,this[_0x1cd3('0x2c89')][_0x1cd3('0x2f6b')](!0x1));};mxEditor[_0x1cd3('0x77a')][_0x1cd3('0x33d9')]=function(_0x4d40d1,_0x5ecb29,_0x5a49e5){this[_0x1cd3('0x338e')][_0x1cd3('0x3379')](this,_0x4d40d1,_0x5ecb29,_0x5a49e5);};mxEditor[_0x1cd3('0x77a')][_0x1cd3('0x3153')]=function(_0x325c72,_0x184330){var _0x2336a2=null;if(null!=this[_0x1cd3('0x2fa9')])_0x2336a2=this[_0x1cd3('0x2c89')][_0x1cd3('0x2a77')]()[_0x1cd3('0x2f5a')](this[_0x1cd3('0x2fa9')]);else{_0x2336a2=new mxCell('');_0x2336a2[_0x1cd3('0x2f69')](!0x0);var _0x8cb19e=new mxGeometry();_0x8cb19e[_0x1cd3('0x2d83')]=!0x0;_0x2336a2['setGeometry'](_0x8cb19e);}_0x8cb19e=this['getEdgeStyle']();null!=_0x8cb19e&&_0x2336a2[_0x1cd3('0x2a6d')](_0x8cb19e);return _0x2336a2;};mxEditor[_0x1cd3('0x77a')]['getEdgeStyle']=function(){return this['defaultEdgeStyle'];};mxEditor[_0x1cd3('0x77a')][_0x1cd3('0x33ff')]=function(_0x1db563){return null!=this[_0x1cd3('0x3400')]&&0x0_0x1f88db&&(_0x4aa143-=_0x4aa143+_0x4559e4-_0x1f88db);_0x1f88db=_0x4238ee['y']+_0x4238ee[_0x1cd3('0x4e4')];_0xe5cae3+_0x172bbf>_0x1f88db&&(_0xe5cae3-=_0xe5cae3+_0x172bbf-_0x1f88db);}}else null!=_0x4559e4&&(_0x4aa143-=_0x4559e4['x']*_0xc9d042,_0xe5cae3-=_0x4559e4['y']*_0xc9d042);}}_0x1e5f30=_0x1e5f30[_0x1cd3('0x1141')]();_0x1e5f30['x']=this['graph']['snap'](_0x4aa143/_0xc9d042-this[_0x1cd3('0x2c89')][_0x1cd3('0x29de')]()['translate']['x']-this[_0x1cd3('0x2c89')]['gridSize']/0x2);_0x1e5f30['y']=this[_0x1cd3('0x2c89')]['snap'](_0xe5cae3/_0xc9d042-this[_0x1cd3('0x2c89')][_0x1cd3('0x29de')]()[_0x1cd3('0x43c')]['y']-this['graph'][_0x1cd3('0x2c06')]/0x2);_0x47a1be['setGeometry'](_0x1e5f30);null==_0x17b1c1&&(_0x17b1c1=this['graph']['getDefaultParent']());this['cycleAttribute'](_0x47a1be);this['fireEvent'](new mxEventObject(mxEvent['BEFORE_ADD_VERTEX'],_0x1cd3('0x2f63'),_0x47a1be,_0x1cd3('0x36c'),_0x17b1c1));_0x1f3546[_0x1cd3('0x2a6c')]();try{_0x47a1be=this[_0x1cd3('0x2c89')][_0x1cd3('0x3155')](_0x47a1be,_0x17b1c1),null!=_0x47a1be&&(this[_0x1cd3('0x2c89')]['constrainChild'](_0x47a1be),this[_0x1cd3('0x2b28')](new mxEventObject(mxEvent[_0x1cd3('0x3403')],_0x1cd3('0x2f63'),_0x47a1be)));}finally{_0x1f3546[_0x1cd3('0x2b5e')]();}null!=_0x47a1be&&(this[_0x1cd3('0x2c89')]['setSelectionCell'](_0x47a1be),this['graph'][_0x1cd3('0x338b')](_0x47a1be),this[_0x1cd3('0x2b28')](new mxEventObject(mxEvent[_0x1cd3('0x3404')],'vertex',_0x47a1be)));return _0x47a1be;};mxEditor[_0x1cd3('0x77a')][_0x1cd3('0x2bcb')]=function(){this['destroyed']||(this[_0x1cd3('0x3230')]=!0x0,null!=this[_0x1cd3('0x339a')]&&this['tasks'][_0x1cd3('0x2bcb')](),null!=this[_0x1cd3('0x3232')]&&this[_0x1cd3('0x3232')][_0x1cd3('0x2bcb')](),null!=this[_0x1cd3('0x8e2')]&&this[_0x1cd3('0x8e2')]['destroy'](),null!=this[_0x1cd3('0x3391')]&&this['keyHandler'][_0x1cd3('0x2bcb')](),null!=this[_0x1cd3('0x33e0')]&&this[_0x1cd3('0x33e0')]['destroy'](),null!=this[_0x1cd3('0xd0c')]&&this[_0x1cd3('0xd0c')]['destroy'](),null!=this[_0x1cd3('0x2c89')]&&this[_0x1cd3('0x2c89')]['destroy'](),this[_0x1cd3('0x1156')]=this[_0x1cd3('0x3a6')]=null);};var mxCodecRegistry={'codecs':[],'aliases':[],'register':function(_0x4c5a36){if(null!=_0x4c5a36){var _0x533c04=_0x4c5a36[_0x1cd3('0x3405')]();mxCodecRegistry[_0x1cd3('0x3406')][_0x533c04]=_0x4c5a36;var _0x3f5a85=mxUtils[_0x1cd3('0x29cc')](_0x4c5a36['template'][_0x1cd3('0x29db')]);_0x3f5a85!=_0x533c04&&mxCodecRegistry['addAlias'](_0x3f5a85,_0x533c04);}return _0x4c5a36;},'addAlias':function(_0x59cf83,_0x50530f){mxCodecRegistry['aliases'][_0x59cf83]=_0x50530f;},'getCodec':function(_0x1cc4ed){var _0x1b4532=null;if(null!=_0x1cc4ed){var _0x1b4532=mxUtils[_0x1cd3('0x29cc')](_0x1cc4ed),_0x17efbe=mxCodecRegistry[_0x1cd3('0x3407')][_0x1b4532];null!=_0x17efbe&&(_0x1b4532=_0x17efbe);_0x1b4532=mxCodecRegistry[_0x1cd3('0x3406')][_0x1b4532];if(null==_0x1b4532)try{_0x1b4532=new mxObjectCodec(new _0x1cc4ed()),mxCodecRegistry[_0x1cd3('0x92a')](_0x1b4532);}catch(_0x27a4fc){}}return _0x1b4532;}};function mxCodec(_0x4ed840){this[_0x1cd3('0x924')]=_0x4ed840||mxUtils[_0x1cd3('0x2a03')]();this['objects']=[];}mxCodec[_0x1cd3('0x77a')][_0x1cd3('0x924')]=null;mxCodec[_0x1cd3('0x77a')][_0x1cd3('0x2981')]=null;mxCodec[_0x1cd3('0x77a')][_0x1cd3('0x3408')]=!0x1;mxCodec[_0x1cd3('0x77a')][_0x1cd3('0x3409')]=function(_0x33b5a5,_0x5e29e7){return this[_0x1cd3('0x2981')][_0x33b5a5]=_0x5e29e7;};mxCodec[_0x1cd3('0x77a')][_0x1cd3('0x9cb')]=function(_0x40f8fc){var _0x4f848f=null;null!=_0x40f8fc&&(_0x4f848f=this['objects'][_0x40f8fc],null==_0x4f848f&&(_0x4f848f=this[_0x1cd3('0x2c25')](_0x40f8fc),null==_0x4f848f&&(_0x40f8fc=this[_0x1cd3('0x593')](_0x40f8fc),null!=_0x40f8fc&&(_0x4f848f=this[_0x1cd3('0x2c41')](_0x40f8fc)))));return _0x4f848f;};mxCodec[_0x1cd3('0x77a')][_0x1cd3('0x2c25')]=function(_0x1cf9cc){return null;};mxCodec[_0x1cd3('0x77a')][_0x1cd3('0x593')]=function(_0x11e2d8,_0x541750){return mxUtils['findNodeByAttribute'](this['document'][_0x1cd3('0x2a20')],null!=_0x541750?_0x541750:'id',_0x11e2d8);};mxCodec[_0x1cd3('0x77a')][_0x1cd3('0x2f3c')]=function(_0x15f64e){var _0x110458=null;null!=_0x15f64e&&(_0x110458=this[_0x1cd3('0x340a')](_0x15f64e),null==_0x110458&&_0x15f64e instanceof mxCell&&(_0x110458=_0x15f64e[_0x1cd3('0x2f3c')](),null==_0x110458&&(_0x110458=mxCellPath[_0x1cd3('0x624')](_0x15f64e),0x0==_0x110458[_0x1cd3('0x7a')]&&(_0x110458=_0x1cd3('0x554')))));return _0x110458;};mxCodec[_0x1cd3('0x77a')][_0x1cd3('0x340a')]=function(_0xb83cac){return null;};mxCodec[_0x1cd3('0x77a')][_0x1cd3('0x2a82')]=function(_0x2d728e){var _0x2b96a8=null;if(null!=_0x2d728e&&null!=_0x2d728e['constructor']){var _0x2bc8bc=mxCodecRegistry['getCodec'](_0x2d728e[_0x1cd3('0x29db')]);null!=_0x2bc8bc?_0x2b96a8=_0x2bc8bc[_0x1cd3('0x2a82')](this,_0x2d728e):mxUtils[_0x1cd3('0x2cfe')](_0x2d728e)?_0x2b96a8=mxClient['IS_IE']?_0x2d728e[_0x1cd3('0x2a80')](!0x0):this['document'][_0x1cd3('0x340b')](_0x2d728e,!0x0):mxLog[_0x1cd3('0x5d9')](_0x1cd3('0x340c')+mxUtils['getFunctionName'](_0x2d728e[_0x1cd3('0x29db')]));}return _0x2b96a8;};mxCodec[_0x1cd3('0x77a')]['decode']=function(_0x79317e,_0x245325){var _0x2321a1=null;if(null!=_0x79317e&&_0x79317e[_0x1cd3('0x29f8')]==mxConstants['NODETYPE_ELEMENT']){var _0xbe91d3=null;try{_0xbe91d3=eval(_0x79317e[_0x1cd3('0x2a0c')]);}catch(_0x61b99f){}try{var _0x1795da=mxCodecRegistry[_0x1cd3('0x340d')](_0xbe91d3);null!=_0x1795da?_0x2321a1=_0x1795da[_0x1cd3('0x2c41')](this,_0x79317e,_0x245325):(_0x2321a1=_0x79317e[_0x1cd3('0x2a80')](!0x0),_0x2321a1[_0x1cd3('0x2d28')]('as'));}catch(_0x6faae3){mxLog[_0x1cd3('0x5f9')]('Cannot\x20decode\x20'+_0x79317e['nodeName']+':\x20'+_0x6faae3[_0x1cd3('0x43a')]);}}return _0x2321a1;};mxCodec[_0x1cd3('0x77a')]['encodeCell']=function(_0x1e6dc8,_0x5441b9,_0x5b1a42){_0x5441b9[_0x1cd3('0xd4e')](this['encode'](_0x1e6dc8));if(null==_0x5b1a42||_0x5b1a42){_0x5b1a42=_0x1e6dc8[_0x1cd3('0x29e5')]();for(var _0x3c7bf0=0x0;_0x3c7bf0<_0x5b1a42;_0x3c7bf0++)this[_0x1cd3('0x340e')](_0x1e6dc8['getChildAt'](_0x3c7bf0),_0x5441b9);}};mxCodec[_0x1cd3('0x77a')]['isCellCodec']=function(_0x2c8de4){return null!=_0x2c8de4&&_0x1cd3('0x77c')==typeof _0x2c8de4[_0x1cd3('0x340f')]?_0x2c8de4[_0x1cd3('0x340f')]():!0x1;};mxCodec[_0x1cd3('0x77a')][_0x1cd3('0x3410')]=function(_0x5aada1,_0x16a63c){_0x16a63c=null!=_0x16a63c?_0x16a63c:!0x0;var _0x1a623c=null;if(null!=_0x5aada1&&_0x5aada1['nodeType']==mxConstants[_0x1cd3('0x29f9')]){_0x1a623c=mxCodecRegistry[_0x1cd3('0x340d')](_0x5aada1[_0x1cd3('0x2a0c')]);if(!this[_0x1cd3('0x340f')](_0x1a623c))for(var _0x240037=_0x5aada1[_0x1cd3('0x29f5')];null!=_0x240037&&!this[_0x1cd3('0x340f')](_0x1a623c);)_0x1a623c=mxCodecRegistry[_0x1cd3('0x340d')](_0x240037[_0x1cd3('0x2a0c')]),_0x240037=_0x240037['nextSibling'];this['isCellCodec'](_0x1a623c)||(_0x1a623c=mxCodecRegistry[_0x1cd3('0x340d')](mxCell));_0x1a623c=_0x1a623c[_0x1cd3('0x2c41')](this,_0x5aada1);_0x16a63c&&this[_0x1cd3('0x3411')](_0x1a623c);}return _0x1a623c;};mxCodec[_0x1cd3('0x77a')][_0x1cd3('0x3411')]=function(_0x2eb84a){var _0x4a2bff=_0x2eb84a[_0x1cd3('0x36c')],_0x26ddeb=_0x2eb84a[_0x1cd3('0x2e62')](!0x0),_0x48830c=_0x2eb84a[_0x1cd3('0x2e62')](!0x1);_0x2eb84a[_0x1cd3('0x2f48')](null,!0x1);_0x2eb84a['setTerminal'](null,!0x0);_0x2eb84a[_0x1cd3('0x36c')]=null;null!=_0x4a2bff&&_0x4a2bff['insert'](_0x2eb84a);null!=_0x26ddeb&&_0x26ddeb[_0x1cd3('0x2f4a')](_0x2eb84a,!0x0);null!=_0x48830c&&_0x48830c['insertEdge'](_0x2eb84a,!0x1);};mxCodec['prototype'][_0x1cd3('0x481')]=function(_0x345e2e,_0x37c594,_0x4ca35d){null!=_0x37c594&&null!=_0x4ca35d&&_0x345e2e[_0x1cd3('0x481')](_0x37c594,_0x4ca35d);};function mxObjectCodec(_0x2c1b5a,_0x3b6d1b,_0x5e69bd,_0x537010){this[_0x1cd3('0xb7a')]=_0x2c1b5a;this[_0x1cd3('0x3412')]=null!=_0x3b6d1b?_0x3b6d1b:[];this[_0x1cd3('0x3413')]=null!=_0x5e69bd?_0x5e69bd:[];this[_0x1cd3('0x3414')]=null!=_0x537010?_0x537010:[];this['reverse']={};for(var _0x1c5228 in this['mapping'])this[_0x1cd3('0x3415')][this[_0x1cd3('0x3414')][_0x1c5228]]=_0x1c5228;}mxObjectCodec[_0x1cd3('0x77a')][_0x1cd3('0xb7a')]=null;mxObjectCodec['prototype']['exclude']=null;mxObjectCodec['prototype'][_0x1cd3('0x3413')]=null;mxObjectCodec['prototype'][_0x1cd3('0x3414')]=null;mxObjectCodec[_0x1cd3('0x77a')][_0x1cd3('0x3415')]=null;mxObjectCodec[_0x1cd3('0x77a')][_0x1cd3('0x3405')]=function(){return mxUtils[_0x1cd3('0x29cc')](this[_0x1cd3('0xb7a')][_0x1cd3('0x29db')]);};mxObjectCodec['prototype'][_0x1cd3('0x3416')]=function(){return new this['template'][(_0x1cd3('0x29db'))]();};mxObjectCodec[_0x1cd3('0x77a')]['getFieldName']=function(_0x1ad82a){if(null!=_0x1ad82a){var _0x5209e2=this[_0x1cd3('0x3415')][_0x1ad82a];null!=_0x5209e2&&(_0x1ad82a=_0x5209e2);}return _0x1ad82a;};mxObjectCodec[_0x1cd3('0x77a')]['getAttributeName']=function(_0x3458a8){if(null!=_0x3458a8){var _0x2ad91b=this['mapping'][_0x3458a8];null!=_0x2ad91b&&(_0x3458a8=_0x2ad91b);}return _0x3458a8;};mxObjectCodec['prototype'][_0x1cd3('0x3417')]=function(_0x41f101,_0x4f7c21,_0x3a67b8,_0x3608d7){return _0x4f7c21==mxObjectIdentity[_0x1cd3('0x29cb')]||0x0<=mxUtils[_0x1cd3('0x45e')](this[_0x1cd3('0x3412')],_0x4f7c21);};mxObjectCodec['prototype'][_0x1cd3('0x3418')]=function(_0x1912a0,_0x40bc54,_0x47cd96,_0x1fd830){return 0x0<=mxUtils['indexOf'](this[_0x1cd3('0x3413')],_0x40bc54);};mxObjectCodec['prototype'][_0x1cd3('0x2a82')]=function(_0x4de862,_0x4918a8){var _0x402ff0=_0x4de862['document'][_0x1cd3('0x3aa')](this[_0x1cd3('0x3405')]());_0x4918a8=this[_0x1cd3('0x3419')](_0x4de862,_0x4918a8,_0x402ff0);this[_0x1cd3('0x341a')](_0x4de862,_0x4918a8,_0x402ff0);return this[_0x1cd3('0x341b')](_0x4de862,_0x4918a8,_0x402ff0);};mxObjectCodec['prototype']['encodeObject']=function(_0x6bc087,_0x1a6caa,_0xd6e05d){_0x6bc087[_0x1cd3('0x481')](_0xd6e05d,'id',_0x6bc087[_0x1cd3('0x2f3c')](_0x1a6caa));for(var _0x5a7859 in _0x1a6caa){var _0x389a38=_0x5a7859,_0x4cb11e=_0x1a6caa[_0x389a38];null!=_0x4cb11e&&!this['isExcluded'](_0x1a6caa,_0x389a38,_0x4cb11e,!0x0)&&(mxUtils[_0x1cd3('0x2f3d')](_0x389a38)&&(_0x389a38=null),this[_0x1cd3('0x341c')](_0x6bc087,_0x1a6caa,_0x389a38,_0x4cb11e,_0xd6e05d));}};mxObjectCodec['prototype']['encodeValue']=function(_0x366e65,_0x533031,_0x15f664,_0x4bffbd,_0x29c2d1){if(null!=_0x4bffbd){if(this[_0x1cd3('0x3418')](_0x533031,_0x15f664,_0x4bffbd,!0x0)){var _0xd915eb=_0x366e65[_0x1cd3('0x2f3c')](_0x4bffbd);if(null==_0xd915eb){mxLog[_0x1cd3('0x5d9')](_0x1cd3('0x341d')+this['getName']()+'.'+_0x15f664+'='+_0x4bffbd);return;}_0x4bffbd=_0xd915eb;}_0xd915eb=this['template'][_0x15f664];if(null==_0x15f664||_0x366e65[_0x1cd3('0x3408')]||_0xd915eb!=_0x4bffbd)_0x15f664=this['getAttributeName'](_0x15f664),this[_0x1cd3('0x341e')](_0x366e65,_0x533031,_0x15f664,_0x4bffbd,_0x29c2d1);}};mxObjectCodec['prototype']['writeAttribute']=function(_0x509fdf,_0x14a781,_0x27b5fc,_0x4ec993,_0x440506){_0x1cd3('0x29ca')!=typeof _0x4ec993?this[_0x1cd3('0x341f')](_0x509fdf,_0x14a781,_0x27b5fc,_0x4ec993,_0x440506):this[_0x1cd3('0x3420')](_0x509fdf,_0x14a781,_0x27b5fc,_0x4ec993,_0x440506);};mxObjectCodec['prototype'][_0x1cd3('0x341f')]=function(_0x1cda70,_0x430b61,_0x11eb15,_0x1d3b21,_0x3d15b6){_0x1d3b21=this[_0x1cd3('0x3421')](_0x1d3b21);null==_0x11eb15?(_0x430b61=_0x1cda70['document'][_0x1cd3('0x3aa')](_0x1cd3('0x425')),_0x1cd3('0x77c')==typeof _0x1d3b21?_0x430b61[_0x1cd3('0xd4e')](_0x1cda70[_0x1cd3('0x924')][_0x1cd3('0x2a19')](_0x1d3b21)):_0x1cda70[_0x1cd3('0x481')](_0x430b61,_0x1cd3('0x3db'),_0x1d3b21),_0x3d15b6[_0x1cd3('0xd4e')](_0x430b61)):_0x1cd3('0x77c')!=typeof _0x1d3b21&&_0x1cda70[_0x1cd3('0x481')](_0x3d15b6,_0x11eb15,_0x1d3b21);};mxObjectCodec['prototype']['writeComplexAttribute']=function(_0x1b72f,_0x489e1b,_0x47400a,_0x46ffe2,_0x313810){_0x1b72f=_0x1b72f[_0x1cd3('0x2a82')](_0x46ffe2);null!=_0x1b72f?(null!=_0x47400a&&_0x1b72f[_0x1cd3('0x481')]('as',_0x47400a),_0x313810[_0x1cd3('0xd4e')](_0x1b72f)):mxLog[_0x1cd3('0x5d9')](_0x1cd3('0x3422')+this[_0x1cd3('0x3405')]()+'.'+_0x47400a+':\x20'+_0x46ffe2);};mxObjectCodec[_0x1cd3('0x77a')][_0x1cd3('0x3421')]=function(_0x47156f){if(_0x1cd3('0x491')==typeof _0x47156f[_0x1cd3('0x7a')]&&(!0x0==_0x47156f||!0x1==_0x47156f))_0x47156f=!0x0==_0x47156f?'1':'0';return _0x47156f;};mxObjectCodec[_0x1cd3('0x77a')][_0x1cd3('0x3423')]=function(_0x2cb8ac){mxUtils['isNumeric'](_0x2cb8ac)&&(_0x2cb8ac=parseFloat(_0x2cb8ac));return _0x2cb8ac;};mxObjectCodec[_0x1cd3('0x77a')][_0x1cd3('0x3419')]=function(_0x1f5c10,_0xec1af9,_0xa198aa){return _0xec1af9;};mxObjectCodec['prototype'][_0x1cd3('0x341b')]=function(_0x59b1be,_0x9b1e40,_0x4a521b){return _0x4a521b;};mxObjectCodec[_0x1cd3('0x77a')]['decode']=function(_0x48616c,_0x1d5606,_0x3c0e34){var _0x3e0c09=_0x1d5606['getAttribute']('id'),_0x27785e=_0x48616c[_0x1cd3('0x2981')][_0x3e0c09];null==_0x27785e&&(_0x27785e=_0x3c0e34||this['cloneTemplate'](),null!=_0x3e0c09&&_0x48616c[_0x1cd3('0x3409')](_0x3e0c09,_0x27785e));_0x1d5606=this['beforeDecode'](_0x48616c,_0x1d5606,_0x27785e);this[_0x1cd3('0x3424')](_0x48616c,_0x1d5606,_0x27785e);return this['afterDecode'](_0x48616c,_0x1d5606,_0x27785e);};mxObjectCodec[_0x1cd3('0x77a')][_0x1cd3('0x3424')]=function(_0x3030de,_0x65ad6c,_0x4ef888){null!=_0x65ad6c&&(this[_0x1cd3('0x3425')](_0x3030de,_0x65ad6c,_0x4ef888),this[_0x1cd3('0x3426')](_0x3030de,_0x65ad6c,_0x4ef888));};mxObjectCodec[_0x1cd3('0x77a')][_0x1cd3('0x3425')]=function(_0x27d6ce,_0x1b8a50,_0x7b7f8b){_0x1b8a50=_0x1b8a50[_0x1cd3('0xf29')];if(null!=_0x1b8a50)for(var _0x161b9f=0x0;_0x161b9f<_0x1b8a50[_0x1cd3('0x7a')];_0x161b9f++)this[_0x1cd3('0x3427')](_0x27d6ce,_0x1b8a50[_0x161b9f],_0x7b7f8b);};mxObjectCodec['prototype'][_0x1cd3('0x3427')]=function(_0x3ad3ea,_0x5e2da9,_0xbfd9ea){var _0x1e29b6=_0x5e2da9[_0x1cd3('0x2a0c')];if('as'!=_0x1e29b6&&'id'!=_0x1e29b6){_0x5e2da9=_0x1e29b6==_0x1cd3('0x3db')?_0x5e2da9[_0x1cd3('0x2a0a')]:this[_0x1cd3('0x3423')](_0x5e2da9[_0x1cd3('0x2a0a')]);var _0x97146a=this['getFieldName'](_0x1e29b6);if(this[_0x1cd3('0x3418')](_0xbfd9ea,_0x97146a,_0x5e2da9,!0x1)){_0x3ad3ea=_0x3ad3ea[_0x1cd3('0x9cb')](_0x5e2da9);if(null==_0x3ad3ea){mxLog[_0x1cd3('0x5d9')](_0x1cd3('0x3428')+this[_0x1cd3('0x3405')]()+'.'+_0x1e29b6+'='+_0x5e2da9);return;}_0x5e2da9=_0x3ad3ea;}this[_0x1cd3('0x3417')](_0xbfd9ea,_0x1e29b6,_0x5e2da9,!0x1)||(_0xbfd9ea[_0x1e29b6]=_0x5e2da9);}};mxObjectCodec['prototype'][_0x1cd3('0x3426')]=function(_0x1a61ad,_0x20729d,_0x3460c5){for(_0x20729d=_0x20729d[_0x1cd3('0x29f5')];null!=_0x20729d;){var _0x23b706=_0x20729d['nextSibling'];_0x20729d[_0x1cd3('0x29f8')]==mxConstants[_0x1cd3('0x29f9')]&&!this['processInclude'](_0x1a61ad,_0x20729d,_0x3460c5)&&this[_0x1cd3('0x3429')](_0x1a61ad,_0x20729d,_0x3460c5);_0x20729d=_0x23b706;}};mxObjectCodec[_0x1cd3('0x77a')][_0x1cd3('0x3429')]=function(_0x39008e,_0x2c7a97,_0x5c5b0d){var _0x296ab5=this['getFieldName'](_0x2c7a97[_0x1cd3('0x29f4')]('as'));if(null==_0x296ab5||!this[_0x1cd3('0x3417')](_0x5c5b0d,_0x296ab5,_0x2c7a97,!0x1)){var _0x328e10=this[_0x1cd3('0x342a')](_0x5c5b0d,_0x296ab5,_0x2c7a97),_0x3e3ec2=null;_0x1cd3('0x425')==_0x2c7a97[_0x1cd3('0x2a0c')]?(_0x3e3ec2=_0x2c7a97['getAttribute'](_0x1cd3('0x3db')),null==_0x3e3ec2&&(_0x3e3ec2=mxUtils['eval'](mxUtils[_0x1cd3('0x2a0e')](_0x2c7a97)))):_0x3e3ec2=_0x39008e['decode'](_0x2c7a97,_0x328e10);this[_0x1cd3('0x342b')](_0x5c5b0d,_0x296ab5,_0x3e3ec2,_0x328e10);}};mxObjectCodec[_0x1cd3('0x77a')][_0x1cd3('0x342a')]=function(_0x1ed25f,_0x525b75,_0x177ed0){_0x1ed25f=_0x1ed25f[_0x525b75];_0x1ed25f instanceof Array&&0x0<_0x1ed25f[_0x1cd3('0x7a')]&&(_0x1ed25f=null);return _0x1ed25f;};mxObjectCodec[_0x1cd3('0x77a')][_0x1cd3('0x342b')]=function(_0x3023cc,_0x3a35c5,_0x3da320,_0x52a4a7){null!=_0x3da320&&_0x3da320!=_0x52a4a7&&(null!=_0x3a35c5&&0x0<_0x3a35c5[_0x1cd3('0x7a')]?_0x3023cc[_0x3a35c5]=_0x3da320:_0x3023cc[_0x1cd3('0x7b')](_0x3da320));};mxObjectCodec[_0x1cd3('0x77a')][_0x1cd3('0x342c')]=function(_0x31c5b7,_0x35022b,_0x3b6d45){if(_0x1cd3('0x342d')==_0x35022b['nodeName']){_0x35022b=_0x35022b[_0x1cd3('0x29f4')]('name');if(null!=_0x35022b)try{var _0x143311=mxUtils[_0x1cd3('0x5de')](_0x35022b)['getDocumentElement']();null!=_0x143311&&_0x31c5b7[_0x1cd3('0x2c41')](_0x143311,_0x3b6d45);}catch(_0xf73e1d){}return!0x0;}return!0x1;};mxObjectCodec['prototype'][_0x1cd3('0x342e')]=function(_0x416ec4,_0x458ec3,_0x3e5ec6){return _0x458ec3;};mxObjectCodec['prototype'][_0x1cd3('0x342f')]=function(_0x2fc7d5,_0x58fb98,_0x2237a1){return _0x2237a1;};mxCodecRegistry[_0x1cd3('0x92a')](function(){var _0x140cdd=new mxObjectCodec(new mxCell(),[_0x1cd3('0x52b'),_0x1cd3('0x2ed6'),_0x1cd3('0x2ca7'),_0x1cd3('0x2f64')],[_0x1cd3('0x36c'),_0x1cd3('0x930'),_0x1cd3('0x365')]);_0x140cdd['isCellCodec']=function(){return!0x0;};_0x140cdd[_0x1cd3('0x3417')]=function(_0x565272,_0x7727d7,_0x100fa2,_0x12daee){return mxObjectCodec[_0x1cd3('0x77a')][_0x1cd3('0x3417')][_0x1cd3('0x4df')](this,arguments)||_0x12daee&&'value'==_0x7727d7&&_0x100fa2[_0x1cd3('0x29f8')]==mxConstants[_0x1cd3('0x29f9')];};_0x140cdd['afterEncode']=function(_0x425c4f,_0x50545c,_0x479cb3){if(null!=_0x50545c[_0x1cd3('0x3db')]&&_0x50545c[_0x1cd3('0x3db')][_0x1cd3('0x29f8')]==mxConstants[_0x1cd3('0x29f9')]){var _0x473318=_0x479cb3;_0x479cb3=mxClient[_0x1cd3('0x298a')]?_0x50545c[_0x1cd3('0x3db')][_0x1cd3('0x2a80')](!0x0):_0x425c4f[_0x1cd3('0x924')][_0x1cd3('0x340b')](_0x50545c[_0x1cd3('0x3db')],!0x0);_0x479cb3['appendChild'](_0x473318);_0x425c4f=_0x473318[_0x1cd3('0x29f4')]('id');_0x479cb3[_0x1cd3('0x481')]('id',_0x425c4f);_0x473318[_0x1cd3('0x2d28')]('id');}return _0x479cb3;};_0x140cdd[_0x1cd3('0x342e')]=function(_0x1acde4,_0x17cbca,_0x1df845){var _0x3d3d3f=_0x17cbca,_0x26398b=this['getName']();_0x17cbca[_0x1cd3('0x2a0c')]!=_0x26398b?(_0x3d3d3f=_0x17cbca['getElementsByTagName'](_0x26398b)[0x0],null!=_0x3d3d3f&&_0x3d3d3f[_0x1cd3('0x29ea')]==_0x17cbca?(mxUtils['removeWhitespace'](_0x3d3d3f,!0x0),mxUtils[_0x1cd3('0x3430')](_0x3d3d3f,!0x1),_0x3d3d3f[_0x1cd3('0x29ea')][_0x1cd3('0x1817')](_0x3d3d3f)):_0x3d3d3f=null,_0x1df845[_0x1cd3('0x3db')]=_0x17cbca[_0x1cd3('0x2a80')](!0x0),_0x17cbca=_0x1df845[_0x1cd3('0x3db')][_0x1cd3('0x29f4')]('id'),null!=_0x17cbca&&(_0x1df845['setId'](_0x17cbca),_0x1df845[_0x1cd3('0x3db')][_0x1cd3('0x2d28')]('id'))):_0x1df845[_0x1cd3('0x2f3a')](_0x17cbca[_0x1cd3('0x29f4')]('id'));if(null!=_0x3d3d3f)for(_0x17cbca=0x0;_0x17cbca=0x0)this['startEditingAtCell'](_0x5c0a7c);}else if(this[_0x1cd3('0x2a77')]()['isVertex'](_0x5c0a7c)){_0x153545[_0x1cd3('0x3441')][_0x1cd3('0x1158')](_0x5c0a7c[_0x1cd3('0x2a5a')](),function(_0x2b3b79){for(var _0x96f8c=0x0;_0x96f8c<_0x2b3b79[_0x1cd3('0x7a')];_0x96f8c+=0x1){_0x5c0a7c[_0x1cd3('0x481')](_0x2b3b79[_0x96f8c]['name'],_0x2b3b79[_0x96f8c][_0x1cd3('0x3db')]);}_0x24dc37['refresh'](_0x5c0a7c);});}_0x3f3004[_0x1cd3('0x2b14')]();}};_0x24dc37[_0x1cd3('0x3100')][_0x1cd3('0x2c73')]=!![];_0x24dc37[_0x1cd3('0x3100')]['factoryMethod']=mxUtils[_0x1cd3('0x5b2')](this,function(_0x21416c,_0x2a56b9,_0x5f13e2){if(this['isEditingEnabled']()){this[_0x1cd3('0x3443')][_0x1cd3('0x33d9')](_0x21416c,_0x2a56b9,_0x5f13e2);}});_0x1c5db5['outline'][_0x1cd3('0xe08')](this[_0x1cd3('0x346a')]);mxEvent[_0x1cd3('0x2b32')](document,mxUtils[_0x1cd3('0x5b2')](this,function(_0x49aefe){_0x24dc37['panningHandler'][_0x1cd3('0x2c11')]();}));if(mxClient['IS_TOUCH']){mxEvent[_0x1cd3('0x29ba')](_0x24dc37[_0x1cd3('0x4ce')],_0x1cd3('0x346b'),mxUtils['bind'](this,function(_0x4bc4f4){_0x24dc37[_0x1cd3('0x1665')][_0x1cd3('0x2ffb')]()[_0x1cd3('0x481')](_0x1cd3('0x2a91'),'scale('+_0x4bc4f4['scale']+')');_0x24dc37[_0x1cd3('0x1665')][_0x1cd3('0x2d9b')]()[_0x1cd3('0x440')][_0x1cd3('0x29c7')]=_0x1cd3('0x533');}));mxEvent[_0x1cd3('0x29ba')](_0x24dc37[_0x1cd3('0x4ce')],_0x1cd3('0x302a'),mxUtils[_0x1cd3('0x5b2')](this,function(_0xad7b5d){_0x24dc37['view'][_0x1cd3('0x2ffb')]()[_0x1cd3('0x2d28')]('transform');_0x24dc37['zoomToCenter']=!![];_0x24dc37[_0x1cd3('0x2a76')](_0xad7b5d[_0x1cd3('0x29df')]);_0x24dc37[_0x1cd3('0x1665')][_0x1cd3('0x2d9b')]()[_0x1cd3('0x440')]['visibility']='visible';}));}var _0x13afcb=this[_0x1cd3('0x3442')]()?this[_0x1cd3('0x346c')](_0x1c5db5):null;this[_0x1cd3('0x346d')]=function(){return _0x13afcb;};mxEvent[_0x1cd3('0x29ba')](window,_0x1cd3('0x29a4'),mxUtils[_0x1cd3('0x5b2')](this,function(){this['refresh']();_0x24dc37[_0x1cd3('0x3067')]();this[_0x1cd3('0x3374')]['outline'][_0x1cd3('0x378')](![]);this['editor'][_0x1cd3('0x3232')][_0x1cd3('0x3232')][_0x1cd3('0x3067')]();}));this[_0x1cd3('0xe08')]();this[_0x1cd3('0xee4')]();this[_0x1cd3('0x8fa')]();};EditorUi[_0x1cd3('0x77a')][_0x1cd3('0x346e')]=mxClient[_0x1cd3('0x2b2e')]?0x10:0x8;EditorUi['prototype'][_0x1cd3('0x346f')]=0x21;EditorUi['prototype'][_0x1cd3('0x3470')]=0x24;EditorUi['prototype'][_0x1cd3('0x3471')]=0x0;EditorUi[_0x1cd3('0x77a')]['hsplitPosition']=0xcc;EditorUi[_0x1cd3('0x77a')]['vsplitPosition']=0xbe;EditorUi[_0x1cd3('0x77a')][_0x1cd3('0xe08')]=function(){this['addUndoListener']();this[_0x1cd3('0x3472')]();var _0x3eaa59=this['actions'][_0x1cd3('0x361')]('paste');var _0x5d4bdb=function(){_0x3eaa59[_0x1cd3('0x2bee')](!mxClipboard[_0x1cd3('0x398')]());};var _0x4cb657=mxClipboard[_0x1cd3('0x33b3')];mxClipboard['cut']=function(){_0x4cb657[_0x1cd3('0x4df')](this,arguments);_0x5d4bdb();};var _0x763ab5=mxClipboard[_0x1cd3('0x429')];mxClipboard[_0x1cd3('0x429')]=function(){_0x763ab5[_0x1cd3('0x4df')](this,arguments);_0x5d4bdb();};};EditorUi[_0x1cd3('0x77a')][_0x1cd3('0x3442')]=function(){if(CRUD_PERMISSIONS['canEdit']){return!![];}else{return![];}};EditorUi[_0x1cd3('0x77a')][_0x1cd3('0x3473')]=function(_0x4ae274){var _0x6a7ad0=window[_0x1cd3('0x924')][_0x1cd3('0x3aa')]('a');_0x6a7ad0[_0x1cd3('0x3ab')]=_0x1cd3('0x3474')+encodeURIComponent(_0x4ae274);_0x6a7ad0[_0x1cd3('0x489')]=this[_0x1cd3('0x3374')][_0x1cd3('0x6b6')]+'.xml';_0x6a7ad0['target']=_0x1cd3('0x1816');_0x6a7ad0['click']();};EditorUi[_0x1cd3('0x77a')][_0x1cd3('0xee4')]=function(){try{if(window[_0x1cd3('0x3475')]!=null&&window[_0x1cd3('0x3475')][_0x1cd3('0x3476')]!=null){window[_0x1cd3('0x3475')][_0x1cd3('0x3476')]['setConsumer'](mxUtils['bind'](this,function(_0x50193e,_0xc47d3b){try{var _0x121f04=mxUtils[_0x1cd3('0x2d46')](_0x50193e);this[_0x1cd3('0x3374')][_0x1cd3('0x3477')](_0x121f04['documentElement']);this['editor'][_0x1cd3('0x2fc6')]=![];this[_0x1cd3('0x3374')][_0x1cd3('0x338f')]['clear']();if(_0xc47d3b!=null){this[_0x1cd3('0x3374')]['filename']=_0xc47d3b;}}catch(_0xcc748f){mxUtils[_0x1cd3('0x11d0')](mxResources[_0x1cd3('0x361')](_0x1cd3('0x3478'))+':\x20'+_0xcc748f[_0x1cd3('0x43a')]);}}));}}catch(_0x33bd26){}};EditorUi['prototype'][_0x1cd3('0x115d')]=function(_0x4a5da5,_0x11db10,_0x222b73){try{var _0x216e11=mxUtils[_0x1cd3('0x2d46')](_0x4a5da5);this[_0x1cd3('0x3374')][_0x1cd3('0x3477')](_0x216e11['documentElement']);this[_0x1cd3('0x3374')][_0x1cd3('0x2fc6')]=![];this[_0x1cd3('0x3374')][_0x1cd3('0x338f')][_0x1cd3('0x785')]();if(_0x11db10!=null){this[_0x1cd3('0x3374')][_0x1cd3('0x6b6')]=_0x11db10;}if(_0x222b73!=null){this[_0x1cd3('0x3374')][_0x1cd3('0x439')]=_0x222b73;}}catch(_0x4b08f1){mxUtils[_0x1cd3('0x11d0')](mxResources[_0x1cd3('0x361')]('invalidOrMissingFile')+':\x20'+_0x4b08f1[_0x1cd3('0x43a')]);}};EditorUi[_0x1cd3('0x77a')][_0x1cd3('0x306b')]=function(_0x35afbb,_0x51a3af){var _0x59a5a2=this[_0x1cd3('0x3374')][_0x1cd3('0x2c89')];for(var _0x35afbb=_0x35afbb!=null?_0x35afbb:_0x59a5a2[_0x1cd3('0x42e')]['getRoot'](),_0x51a3af=_0x51a3af!=null?_0x51a3af:{},_0x3467b1=!![],_0x158205=_0x59a5a2[_0x1cd3('0x42e')][_0x1cd3('0x29e5')](_0x35afbb),_0x10e2d4=0x0;_0x10e2d4<_0x158205;_0x10e2d4++){var _0x224efd=_0x59a5a2['model']['getChildAt'](_0x35afbb,_0x10e2d4),_0x74e746=_0x51a3af;_0x59a5a2[_0x1cd3('0x318b')](_0x224efd)&&(_0x74e746={});_0x74e746=this[_0x1cd3('0x306b')](_0x224efd,_0x74e746);_0x74e746!=null?_0x59a5a2[_0x1cd3('0x3110')](_0x224efd,_0x74e746['replace'](/\n/g,'
')):_0x59a5a2['setCellWarning'](_0x224efd,null);_0x3467b1=_0x3467b1&&_0x74e746==null;}_0x158205='';if(_0x59a5a2[_0x1cd3('0x42e')][_0x1cd3('0x2c98')](_0x35afbb)){switch(_0x35afbb[_0x1cd3('0x3db')]['nodeName']){case _0x1cd3('0x5f2'):_0x158205=this[_0x1cd3('0x3479')]('start')?'':_0x1cd3('0x347a')+'\x0a';break;case'finally':_0x158205=this['validateBlock'](_0x1cd3('0x5dd'))?'':_0x1cd3('0x347b')+'\x0a';break;case _0x1cd3('0x2531'):_0x158205=_0x35afbb[_0x1cd3('0x3db')][_0x1cd3('0x29f4')](_0x1cd3('0xf02'))>0x0?'':mxResources[_0x1cd3('0x361')]('noAudioSelected')+'\x0a';break;case _0x1cd3('0x5e2'):_0x158205=_0x35afbb[_0x1cd3('0x3db')][_0x1cd3('0x29f4')](_0x1cd3('0x8fc'))>=0x0?'':mxResources[_0x1cd3('0x361')](_0x1cd3('0x347c'))+'\x0a';break;case'menu':_0x158205=_0x35afbb[_0x1cd3('0x3db')][_0x1cd3('0x29f4')](_0x1cd3('0xf02'))>0x0?'':mxResources[_0x1cd3('0x361')]('noAudioSelected')+'\x0a';_0x158205+=_0x35afbb[_0x1cd3('0x3db')][_0x1cd3('0x29f4')]('digit')>0x0?'':mxResources[_0x1cd3('0x361')](_0x1cd3('0x347d'))+'\x0a';_0x158205+=_0x35afbb[_0x1cd3('0x3db')][_0x1cd3('0x29f4')]('response')>=0x0?'':mxResources[_0x1cd3('0x361')](_0x1cd3('0x347c'))+'\x0a';_0x158205+=_0x35afbb[_0x1cd3('0x3db')][_0x1cd3('0x29f4')](_0x1cd3('0xf06'))>=0x0?'':mxResources[_0x1cd3('0x361')](_0x1cd3('0x347e'))+'\x0a';break;case _0x1cd3('0x3456'):_0x158205=_0x35afbb[_0x1cd3('0x3db')][_0x1cd3('0x29f4')](_0x1cd3('0xf02'))>0x0?'':mxResources[_0x1cd3('0x361')](_0x1cd3('0x347f'))+'\x0a';_0x158205+=_0x35afbb[_0x1cd3('0x3db')][_0x1cd3('0x29f4')](_0x1cd3('0xf04'))>0x0?'':mxResources['get'](_0x1cd3('0x3480'))+'\x0a';_0x158205+=_0x35afbb[_0x1cd3('0x3db')][_0x1cd3('0x29f4')](_0x1cd3('0x3481'))>0x0?'':mxResources[_0x1cd3('0x361')](_0x1cd3('0x3482'))+'\x0a';_0x158205+=_0x35afbb[_0x1cd3('0x3db')][_0x1cd3('0x29f4')]('maxdigit')>0x0?'':mxResources[_0x1cd3('0x361')](_0x1cd3('0x347d'))+'\x0a';_0x158205+=_0x35afbb['value']['getAttribute']('retry')>=0x0?'':mxResources[_0x1cd3('0x361')](_0x1cd3('0x347e'))+'\x0a';break;case _0x1cd3('0x3457'):_0x158205=_0x35afbb[_0x1cd3('0x3db')][_0x1cd3('0x29f4')](_0x1cd3('0xf02'))>0x0?'':mxResources[_0x1cd3('0x361')](_0x1cd3('0x347f'))+'\x0a';_0x158205+=_0x35afbb[_0x1cd3('0x3db')][_0x1cd3('0x29f4')]('variable_id')>0x0?'':mxResources[_0x1cd3('0x361')](_0x1cd3('0x3480'))+'\x0a';_0x158205+=_0x35afbb[_0x1cd3('0x3db')][_0x1cd3('0x29f4')](_0x1cd3('0x3481'))>0x0?'':mxResources[_0x1cd3('0x361')](_0x1cd3('0x3482'))+'\x0a';_0x158205+=_0x35afbb[_0x1cd3('0x3db')][_0x1cd3('0x29f4')](_0x1cd3('0xf05'))>0x0?'':mxResources[_0x1cd3('0x361')](_0x1cd3('0x347d'))+'\x0a';_0x158205+=_0x35afbb[_0x1cd3('0x3db')][_0x1cd3('0x29f4')](_0x1cd3('0xf07'))>=0x0?'':mxResources[_0x1cd3('0x361')](_0x1cd3('0x3483'))+'\x0a';_0x158205+=_0x35afbb[_0x1cd3('0x3db')]['getAttribute'](_0x1cd3('0xf06'))>=0x0?'':mxResources['get'](_0x1cd3('0x347e'))+'\x0a';break;case _0x1cd3('0x3466'):_0x158205=_0x35afbb[_0x1cd3('0x3db')]['getAttribute'](_0x1cd3('0xf04'))>0x0?'':mxResources['get'](_0x1cd3('0x3480'))+'\x0a';break;case _0x1cd3('0x3484'):_0x158205=_0x35afbb[_0x1cd3('0x3db')][_0x1cd3('0x29f4')](_0x1cd3('0xf4f'))>0x0?'':mxResources[_0x1cd3('0x361')]('noDatabaseSelected')+'\x0a';_0x158205+=_0x35afbb['value'][_0x1cd3('0x29f4')](_0x1cd3('0x3d4'))!==''?'':mxResources['get'](_0x1cd3('0x3485'))+'\x0a';break;case'set':case'math':_0x158205=_0x35afbb[_0x1cd3('0x3db')][_0x1cd3('0x29f4')](_0x1cd3('0xf04'))>0x0?'':mxResources[_0x1cd3('0x361')]('noVariableSelected')+'\x0a';break;case _0x1cd3('0x3464'):_0x158205=_0x35afbb[_0x1cd3('0x3db')][_0x1cd3('0x29f4')](_0x1cd3('0xf0a'))!==''?'':mxResources['get'](_0x1cd3('0x3486'))+'\x0a';_0x158205+=_0x35afbb['value'][_0x1cd3('0x29f4')](_0x1cd3('0xf0b'))!==''?'':mxResources['get'](_0x1cd3('0x3487'))+'\x0a';_0x158205+=_0x35afbb[_0x1cd3('0x3db')]['getAttribute'](_0x1cd3('0xf0c'))>=0x1?'':mxResources[_0x1cd3('0x361')]('invalidPriority')+'\x0a';break;case _0x1cd3('0xa13'):case _0x1cd3('0x128c'):_0x158205=_0x35afbb[_0x1cd3('0x3db')][_0x1cd3('0x29f4')](_0x1cd3('0xf0d'))!==''?'':mxResources[_0x1cd3('0x361')](_0x1cd3('0x3488'))+'\x0a';break;case _0x1cd3('0x121c'):_0x158205=_0x35afbb[_0x1cd3('0x3db')][_0x1cd3('0x29f4')](_0x1cd3('0xb65'))!==''?'':mxResources[_0x1cd3('0x361')](_0x1cd3('0x3489'))+'\x0a';break;case'saydigits':_0x158205=_0x35afbb[_0x1cd3('0x3db')][_0x1cd3('0x29f4')](_0x1cd3('0x348a'))!==''?'':mxResources['get'](_0x1cd3('0x348b'))+'\x0a';break;case'saynumber':_0x158205=_0x35afbb[_0x1cd3('0x3db')][_0x1cd3('0x29f4')]('number')!==''?'':mxResources[_0x1cd3('0x361')](_0x1cd3('0x348c'))+'\x0a';break;case _0x1cd3('0x3451'):_0x158205=_0x35afbb[_0x1cd3('0x3db')][_0x1cd3('0x29f4')]('text')!==''?'':mxResources['get'](_0x1cd3('0x348d'))+'\x0a';break;case'record':_0x158205=_0x35afbb['value'][_0x1cd3('0x29f4')](_0x1cd3('0xe96'))!==''?'':mxResources[_0x1cd3('0x361')](_0x1cd3('0x348e'))+'\x0a';_0x158205+=_0x35afbb[_0x1cd3('0x3db')][_0x1cd3('0x29f4')](_0x1cd3('0x8fc'))>=-0x1?'':mxResources[_0x1cd3('0x361')]('invalidTimeout')+'\x0a';break;case _0x1cd3('0x3468'):_0x158205=_0x35afbb[_0x1cd3('0x3db')][_0x1cd3('0x29f4')]('goalname')!==''?'':mxResources[_0x1cd3('0x361')](_0x1cd3('0x348f'))+'\x0a';break;case _0x1cd3('0x344f'):_0x158205=_0x35afbb[_0x1cd3('0x3db')][_0x1cd3('0x29f4')](_0x1cd3('0xf08'))!=='-1'?'':mxResources[_0x1cd3('0x361')]('noTrunkSelected')+'\x0a';_0x158205+=_0x35afbb[_0x1cd3('0x3db')][_0x1cd3('0x29f4')](_0x1cd3('0xf09'))!==''?'':mxResources[_0x1cd3('0x361')](_0x1cd3('0x3490'))+'\x0a';_0x158205+=_0x35afbb[_0x1cd3('0x3db')][_0x1cd3('0x29f4')](_0x1cd3('0x8fc'))>=0x0?'':mxResources[_0x1cd3('0x361')](_0x1cd3('0x347c'))+'\x0a';break;case _0x1cd3('0x2536'):_0x158205=_0x35afbb[_0x1cd3('0x3db')]['getAttribute']('sip_id')>0x0?'':mxResources['get']('noIdentifierSelected')+'\x0a';_0x158205+=_0x35afbb[_0x1cd3('0x3db')][_0x1cd3('0x29f4')]('timeout')>=0x0?'':mxResources[_0x1cd3('0x361')]('invalidTimeout')+'\x0a';break;case _0x1cd3('0x1220'):_0x158205=_0x35afbb[_0x1cd3('0x3db')][_0x1cd3('0x29f4')](_0x1cd3('0xf4c'))!=='-1'?'':mxResources[_0x1cd3('0x361')]('noQueueSelected')+'\x0a';_0x158205+=_0x35afbb[_0x1cd3('0x3db')][_0x1cd3('0x29f4')](_0x1cd3('0x8fc'))>=0x0?'':mxResources['get']('invalidTimeout')+'\x0a';break;case _0x1cd3('0x1dd4'):_0x158205=_0x35afbb[_0x1cd3('0x3db')]['getAttribute'](_0x1cd3('0xf10'))!=='-1'?'':mxResources[_0x1cd3('0x361')](_0x1cd3('0x3491'))+'\x0a';_0x158205+=_0x35afbb[_0x1cd3('0x3db')][_0x1cd3('0x29f4')](_0x1cd3('0x98'))!==''?'':mxResources[_0x1cd3('0x361')](_0x1cd3('0x3492'))+'\x0a';_0x158205+=_0x35afbb[_0x1cd3('0x3db')]['getAttribute'](_0x1cd3('0xf09'))!==''?'':mxResources[_0x1cd3('0x361')]('noPhoneSelected')+'\x0a';_0x158205+=_0x35afbb[_0x1cd3('0x3db')][_0x1cd3('0x29f4')](_0x1cd3('0xf11'))!==''?'':mxResources[_0x1cd3('0x361')](_0x1cd3('0x3493'))+'\x0a';break;case'gotoiftime':_0x158205=_0x35afbb[_0x1cd3('0x3db')][_0x1cd3('0x29f4')](_0x1cd3('0xf12'))>0x0?'':mxResources[_0x1cd3('0x361')](_0x1cd3('0x3494'))+'\x0a';break;case'voicemail':_0x158205=_0x35afbb[_0x1cd3('0x3db')][_0x1cd3('0x29f4')](_0x1cd3('0xf13'))!==''?'':mxResources[_0x1cd3('0x361')](_0x1cd3('0x3495'))+'\x0a';break;case _0x1cd3('0x3496'):_0x158205=_0x35afbb['value'][_0x1cd3('0x29f4')](_0x1cd3('0xf14'))>0x0?'':mxResources[_0x1cd3('0x361')]('noProjectSelected')+'\x0a';break;case _0x1cd3('0x345c'):_0x158205=_0x35afbb[_0x1cd3('0x3db')][_0x1cd3('0x29f4')](_0x1cd3('0xf15'))>0x0?'':mxResources['get'](_0x1cd3('0x3497'))+'\x0a';_0x158205+=_0x35afbb['value'][_0x1cd3('0x29f4')]('to')!==''?'':mxResources['get'](_0x1cd3('0x3498'))+'\x0a';_0x158205+=_0x35afbb[_0x1cd3('0x3db')][_0x1cd3('0x29f4')](_0x1cd3('0xf16'))!==''?'':mxResources[_0x1cd3('0x361')](_0x1cd3('0x348d'))+'\x0a';break;case'sendMail':_0x158205=_0x35afbb[_0x1cd3('0x3db')][_0x1cd3('0x29f4')](_0x1cd3('0xf17'))>0x0?'':mxResources[_0x1cd3('0x361')](_0x1cd3('0x3497'))+'\x0a';_0x158205+=_0x35afbb[_0x1cd3('0x3db')]['getAttribute']('to')!==''?'':mxResources[_0x1cd3('0x361')]('noRecipientSelected')+'\x0a';break;case _0x1cd3('0x345d'):_0x158205=_0x35afbb[_0x1cd3('0x3db')]['getAttribute'](_0x1cd3('0xf17'))>0x0?'':mxResources[_0x1cd3('0x361')]('noAccountSelected')+'\x0a';_0x158205+=_0x35afbb['value'][_0x1cd3('0x29f4')]('to')!==''?'':mxResources['get'](_0x1cd3('0x3498'))+'\x0a';_0x158205+=_0x35afbb[_0x1cd3('0x3db')]['getAttribute'](_0x1cd3('0x3499'))!==''?'':mxResources[_0x1cd3('0x361')](_0x1cd3('0x349a'))+'\x0a';break;case _0x1cd3('0x3452'):_0x158205=_0x35afbb['value']['getAttribute']('apiKey')!==''?'':mxResources[_0x1cd3('0x361')]('noApiKeySelected')+'\x0a';_0x158205+=_0x35afbb[_0x1cd3('0x3db')][_0x1cd3('0x29f4')](_0x1cd3('0x401'))!==''?'':mxResources['get']('noTextSelected')+'\x0a';break;case _0x1cd3('0x3453'):_0x158205=_0x35afbb[_0x1cd3('0x3db')]['getAttribute'](_0x1cd3('0x401'))!==''?'':mxResources[_0x1cd3('0x361')](_0x1cd3('0x348d'))+'\x0a';break;case _0x1cd3('0x3455'):_0x158205=_0x35afbb[_0x1cd3('0x3db')][_0x1cd3('0x29f4')](_0x1cd3('0x401'))!==''?'':mxResources[_0x1cd3('0x361')](_0x1cd3('0x348d'))+'\x0a';_0x158205=_0x35afbb[_0x1cd3('0x3db')][_0x1cd3('0x29f4')](_0x1cd3('0xf1a'))!==''?'':mxResources['get'](_0x1cd3('0x349b'))+'\x0a';_0x158205=_0x35afbb[_0x1cd3('0x3db')]['getAttribute'](_0x1cd3('0xf22'))!==''?'':mxResources['get'](_0x1cd3('0x349c'))+'\x0a';break;case _0x1cd3('0x3460'):_0x158205=_0x35afbb[_0x1cd3('0x3db')][_0x1cd3('0x29f4')]('aws_bot_name')!==''?'':mxResources[_0x1cd3('0x361')]('noNameSelected')+'\x0a';_0x158205=_0x35afbb[_0x1cd3('0x3db')][_0x1cd3('0x29f4')](_0x1cd3('0x401'))!==''?'':mxResources[_0x1cd3('0x361')](_0x1cd3('0x348d'))+'\x0a';_0x158205=_0x35afbb[_0x1cd3('0x3db')][_0x1cd3('0x29f4')](_0x1cd3('0xf1a'))!==''?'':mxResources[_0x1cd3('0x361')](_0x1cd3('0x349b'))+'\x0a';_0x158205=_0x35afbb[_0x1cd3('0x3db')][_0x1cd3('0x29f4')](_0x1cd3('0xf22'))!==''?'':mxResources[_0x1cd3('0x361')]('noSecretAccessKeySelected')+'\x0a';break;case'ispeechtts':_0x158205=_0x35afbb[_0x1cd3('0x3db')]['getAttribute'](_0x1cd3('0x401'))!==''?'':mxResources[_0x1cd3('0x361')](_0x1cd3('0x348d'))+'\x0a';_0x158205+=_0x35afbb[_0x1cd3('0x3db')]['getAttribute'](_0x1cd3('0x65c'))!==''?'':mxResources[_0x1cd3('0x361')](_0x1cd3('0x349d'))+'\x0a';_0x158205+=_0x35afbb['value'][_0x1cd3('0x29f4')](_0x1cd3('0x349e'))>=-0xa&&_0x35afbb[_0x1cd3('0x3db')]['getAttribute']('speed')<=0xa?'':mxResources[_0x1cd3('0x361')](_0x1cd3('0x349f'))+'\x0a';break;case _0x1cd3('0x3458'):_0x158205=_0x35afbb[_0x1cd3('0x3db')]['getAttribute'](_0x1cd3('0x401'))!==''?'':mxResources[_0x1cd3('0x361')](_0x1cd3('0x348d'))+'\x0a';break;case'sestektts':_0x158205=_0x35afbb['value']['getAttribute'](_0x1cd3('0x401'))!==''?'':mxResources[_0x1cd3('0x361')](_0x1cd3('0x348d'))+'\x0a';break;case'lumenvoxasr':_0x158205=_0x35afbb[_0x1cd3('0x3db')][_0x1cd3('0x29f4')](_0x1cd3('0xf1c'))!==''?'':mxResources['get'](_0x1cd3('0x34a0'))+'\x0a';break;case _0x1cd3('0x3462'):_0x158205=_0x35afbb[_0x1cd3('0x3db')][_0x1cd3('0x29f4')](_0x1cd3('0xf1c'))!==''?'':mxResources['get'](_0x1cd3('0x34a0'))+'\x0a';break;case'ispeechasr':_0x158205=_0x35afbb[_0x1cd3('0x3db')][_0x1cd3('0x29f4')](_0x1cd3('0x65c'))!==''?'':mxResources[_0x1cd3('0x361')]('noKeySelected')+'\x0a';_0x158205+=_0x35afbb['value']['getAttribute'](_0x1cd3('0x8fc'))>=-0x1?'':mxResources[_0x1cd3('0x361')](_0x1cd3('0x347c'))+'\x0a';break;case _0x1cd3('0x34a1'):_0x158205=_0x35afbb['value'][_0x1cd3('0x29f4')](_0x1cd3('0x65c'))!==''?'':mxResources[_0x1cd3('0x361')](_0x1cd3('0x349d'))+'\x0a';_0x158205+=_0x35afbb['value'][_0x1cd3('0x29f4')](_0x1cd3('0x8fc'))>=-0x1?'':mxResources['get']('invalidTimeout')+'\x0a';break;case'tildeasr':_0x158205=_0x35afbb[_0x1cd3('0x3db')][_0x1cd3('0x29f4')]('appid')!==''?'':mxResources[_0x1cd3('0x361')](_0x1cd3('0x34a2'))+'\x0a';_0x158205+=_0x35afbb[_0x1cd3('0x3db')][_0x1cd3('0x29f4')](_0x1cd3('0xf1e'))!==''?'':mxResources[_0x1cd3('0x361')](_0x1cd3('0x34a3'))+'\x0a';_0x158205+=_0x35afbb[_0x1cd3('0x3db')][_0x1cd3('0x29f4')](_0x1cd3('0x608'))!==''?'':mxResources['get'](_0x1cd3('0x34a4'))+'\x0a';break;case _0x1cd3('0x3469'):_0x158205=_0x35afbb[_0x1cd3('0x3db')][_0x1cd3('0x29f4')](_0x1cd3('0x12a1'))!==''?'':mxResources[_0x1cd3('0x361')](_0x1cd3('0x34a5'))+'\x0a';break;case _0x1cd3('0x375'):case _0x1cd3('0x63e'):case _0x1cd3('0x13ed'):case _0x1cd3('0x376'):_0x158205=_0x35afbb[_0x1cd3('0x3db')]['getAttribute'](_0x1cd3('0xf1f'))!==''?'':mxResources[_0x1cd3('0x361')](_0x1cd3('0x34a6'))+'\x0a';break;case _0x1cd3('0x3461'):_0x158205=_0x35afbb[_0x1cd3('0x3db')]['getAttribute'](_0x1cd3('0x401'))!==''?'':mxResources[_0x1cd3('0x361')](_0x1cd3('0x348d'))+'\x0a';_0x158205+=_0x35afbb['value'][_0x1cd3('0x29f4')](_0x1cd3('0xf25'))!==''?'':mxResources['get'](_0x1cd3('0x34a4'))+'\x0a';_0x158205+=_0x35afbb[_0x1cd3('0x3db')][_0x1cd3('0x29f4')]('ndassistant_url')!==''?'':mxResources[_0x1cd3('0x361')](_0x1cd3('0x34a4'))+'\x0a';_0x158205+=_0x35afbb[_0x1cd3('0x3db')][_0x1cd3('0x29f4')]('username')!==''?'':mxResources[_0x1cd3('0x361')]('noUsernameSelected')+'\x0a';_0x158205+=_0x35afbb['value']['getAttribute'](_0x1cd3('0x5ae'))!==''?'':mxResources[_0x1cd3('0x361')](_0x1cd3('0x34a7'))+'\x0a';break;case _0x1cd3('0x34a8'):_0x158205=_0x35afbb[_0x1cd3('0x3db')][_0x1cd3('0x29f4')](_0x1cd3('0x3a4'))!==''?'':mxResources[_0x1cd3('0x361')]('noUrlSelected')+'\x0a';_0x158205+=_0x35afbb[_0x1cd3('0x3db')][_0x1cd3('0x29f4')](_0x1cd3('0xf27'))!==''?'':mxResources[_0x1cd3('0x361')](_0x1cd3('0x34a9'))+'\x0a';case _0x1cd3('0x345a'):_0x158205=_0x35afbb[_0x1cd3('0x3db')][_0x1cd3('0x29f4')](_0x1cd3('0x401'))!==''?'':mxResources['get'](_0x1cd3('0x348d'))+'\x0a';break;case'mrcprecog':_0x158205=_0x35afbb[_0x1cd3('0x3db')][_0x1cd3('0x29f4')](_0x1cd3('0xf1c'))!==''?'':mxResources[_0x1cd3('0x361')](_0x1cd3('0x34a0'))+'\x0a';break;}}if(_0x59a5a2[_0x1cd3('0x42e')]['isEdge'](_0x35afbb)){var _0x2b6265=_0x59a5a2[_0x1cd3('0x42e')][_0x1cd3('0x2b1f')](_0x35afbb['source'][_0x1cd3('0x2f3c')]());switch(_0x2b6265[_0x1cd3('0x3db')][_0x1cd3('0x2a0c')]){case _0x1cd3('0x2e17'):case _0x1cd3('0x2c0d'):if(typeof _0x35afbb[_0x1cd3('0x2a5a')]()!=_0x1cd3('0x491')){var _0x25785a=/^[0-9]+$|^[-]{1}$|^[i]{1}$|^[t]{1}$|^[*]{1}$|^[#]{1}$/;String(_0x35afbb[_0x1cd3('0x2a5a')]())[_0x1cd3('0x3ef')](',')[_0x1cd3('0x394')](function(_0x8bb939){_0x158205=_0x158205+(_0x25785a[_0x1cd3('0x658')](_0x8bb939)?'':mxResources[_0x1cd3('0x361')](_0x1cd3('0x34aa'))+'\x0a');});}else{_0x158205=_0x158205+mxResources[_0x1cd3('0x361')]('numberOrAll')+'\x0a';}break;case'getsecretdigits':case'getdigits':if(typeof _0x35afbb['getValue']()!=_0x1cd3('0x491')){var _0x25785a=/^(x|i|-)$/;_0x158205=_0x158205+(_0x25785a[_0x1cd3('0x658')](String(_0x35afbb['getValue']()))?'':mxResources[_0x1cd3('0x361')](_0x1cd3('0x34ab'))+'\x0a');}else{_0x158205=_0x158205+mxResources[_0x1cd3('0x361')]('numberOrInvalidOrDefault')+'\x0a';}break;case _0x1cd3('0x121c'):case _0x1cd3('0x3465'):if(typeof _0x35afbb[_0x1cd3('0x2a5a')]()!=_0x1cd3('0x491')){var _0x25785a=/^(true){1}$|^(false){1}$/;_0x158205=_0x158205+(_0x25785a[_0x1cd3('0x658')](String(_0x35afbb[_0x1cd3('0x2a5a')]()))?'':mxResources[_0x1cd3('0x361')](_0x1cd3('0x34ac'))+'\x0a');}else{_0x158205=_0x158205+mxResources[_0x1cd3('0x361')](_0x1cd3('0x34ac'))+'\x0a';}break;case'login':case'pause':case _0x1cd3('0x13ed'):case _0x1cd3('0x376'):if(typeof _0x35afbb[_0x1cd3('0x2a5a')]()!='undefined'){var _0x25785a=/^(success){1}$|^(failure){1}$/;_0x158205=_0x158205+(_0x25785a[_0x1cd3('0x658')](String(_0x35afbb[_0x1cd3('0x2a5a')]()))?'':mxResources[_0x1cd3('0x361')](_0x1cd3('0x34ad'))+'\x0a');}else{_0x158205=_0x158205+mxResources[_0x1cd3('0x361')](_0x1cd3('0x34ad'))+'\x0a';}break;}}_0x59a5a2[_0x1cd3('0x2f1f')](_0x35afbb)&&!_0x3467b1&&(_0x158205=_0x158205+((mxResources[_0x1cd3('0x361')](_0x59a5a2[_0x1cd3('0x30f8')])||_0x59a5a2[_0x1cd3('0x30f8')])+'\x0a'));_0x158205=_0x59a5a2[_0x1cd3('0x42e')][_0x1cd3('0x29dc')](_0x35afbb)?_0x158205+(_0x59a5a2['getEdgeValidationError'](_0x35afbb,_0x59a5a2[_0x1cd3('0x42e')]['getTerminal'](_0x35afbb,!![]),_0x59a5a2['model'][_0x1cd3('0x2e62')](_0x35afbb,![]))||''):_0x158205+(_0x59a5a2[_0x1cd3('0x31ab')](_0x35afbb)||'');_0x10e2d4=_0x59a5a2['validateCell'](_0x35afbb,_0x51a3af);_0x10e2d4!=null&&(_0x158205=_0x158205+_0x10e2d4);_0x59a5a2[_0x1cd3('0x42e')][_0x1cd3('0x2c9d')](_0x35afbb)==null&&_0x59a5a2[_0x1cd3('0x1665')][_0x1cd3('0x306b')]();return _0x158205[_0x1cd3('0x7a')]>0x0||!_0x3467b1?_0x158205:null;};EditorUi[_0x1cd3('0x77a')][_0x1cd3('0x3479')]=function(_0x431f51){var _0x43b847=this[_0x1cd3('0x3374')][_0x1cd3('0x2c89')];var _0x2d0190=_0x43b847[_0x1cd3('0x2b97')]();var _0x5f4fb2=0x0;_0x2d0190['children'][_0x1cd3('0x394')](function(_0xad1931){if(_0x43b847[_0x1cd3('0x42e')][_0x1cd3('0x2c98')](_0xad1931)&&_0xad1931['value'][_0x1cd3('0x2a0c')]==_0x431f51){_0x5f4fb2++;}});return _0x5f4fb2>0x1?![]:!![];};EditorUi[_0x1cd3('0x77a')]['getUrl']=function(_0x2ad830){var _0x570edb=_0x2ad830!=null?_0x2ad830:window['location'][_0x1cd3('0x34ae')];var _0x17c392=_0x570edb[_0x1cd3('0x45e')]('?')>0x0?0x1:0x0;for(var _0x4ce0d2 in urlParams){if(_0x17c392==0x0){_0x570edb+='?';}else{_0x570edb+='&';}_0x570edb+=_0x4ce0d2+'='+urlParams[_0x4ce0d2];_0x17c392++;}return _0x570edb;};EditorUi['prototype'][_0x1cd3('0x34af')]=function(){var _0x4ca630=this[_0x1cd3('0x947')][_0x1cd3('0x361')](_0x1cd3('0x2b60'));var _0x5d7c9a=this[_0x1cd3('0x947')][_0x1cd3('0x361')](_0x1cd3('0x2b61'));var _0x33309e=this['editor'][_0x1cd3('0x338f')];var _0x2b8fcb=function(){_0x4ca630[_0x1cd3('0x2bee')](_0x33309e[_0x1cd3('0x2c54')]());_0x5d7c9a[_0x1cd3('0x2bee')](_0x33309e['canRedo']());};_0x33309e[_0x1cd3('0x29ba')](mxEvent[_0x1cd3('0x32c9')],_0x2b8fcb);_0x33309e[_0x1cd3('0x29ba')](mxEvent[_0x1cd3('0x2c56')],_0x2b8fcb);_0x33309e[_0x1cd3('0x29ba')](mxEvent[_0x1cd3('0x2c58')],_0x2b8fcb);_0x33309e[_0x1cd3('0x29ba')](mxEvent[_0x1cd3('0x2c53')],_0x2b8fcb);_0x2b8fcb();};EditorUi[_0x1cd3('0x77a')][_0x1cd3('0x3472')]=function(){var _0x5012a0=mxUtils[_0x1cd3('0x5b2')](this,function(){var _0x220c8f=this[_0x1cd3('0x3374')][_0x1cd3('0x2c89')];var _0x17c85b=!_0x220c8f['isSelectionEmpty']();var _0x18c7b5=![];var _0xee5628=![];var _0x48f993=_0x220c8f[_0x1cd3('0x2b92')]();if(_0x48f993!=null){for(var _0x4efd62=0x0;_0x4efd62<_0x48f993[_0x1cd3('0x7a')];_0x4efd62++){var _0x489c41=_0x48f993[_0x4efd62];if(_0x220c8f['getModel']()[_0x1cd3('0x29dc')](_0x489c41)){_0xee5628=!![];}if(_0x220c8f['getModel']()['isVertex'](_0x489c41)){_0x18c7b5=!![];}if(_0xee5628&&_0x18c7b5){break;}}}var _0x16a7be=[_0x1cd3('0x33b3'),'copy',_0x1cd3('0xa1c'),_0x1cd3('0x14af'),_0x1cd3('0x2d5a'),_0x1cd3('0x2d5c'),_0x1cd3('0x440'),_0x1cd3('0x2a1d'),'toFront',_0x1cd3('0x33ba'),'dashed',_0x1cd3('0x1201'),_0x1cd3('0x2ae0'),_0x1cd3('0x34b0'),_0x1cd3('0x34b1')];for(var _0x4efd62=0x0;_0x4efd62<_0x16a7be[_0x1cd3('0x7a')];_0x4efd62++){this['actions']['get'](_0x16a7be[_0x4efd62])['setEnabled'](_0x17c85b);}this[_0x1cd3('0x947')][_0x1cd3('0x361')](_0x1cd3('0x2ae8'))[_0x1cd3('0x2bee')](_0xee5628);this[_0x1cd3('0x947')][_0x1cd3('0x361')](_0x1cd3('0x2ac8'))[_0x1cd3('0x2bee')](_0x18c7b5);this['actions'][_0x1cd3('0x361')](_0x1cd3('0x34b2'))[_0x1cd3('0x2bee')](_0x18c7b5);this['actions'][_0x1cd3('0x361')](_0x1cd3('0x56d'))[_0x1cd3('0x2bee')](_0x220c8f[_0x1cd3('0x3219')]()>0x1);this[_0x1cd3('0x947')][_0x1cd3('0x361')](_0x1cd3('0x33b5'))[_0x1cd3('0x2bee')](_0x220c8f[_0x1cd3('0x3219')]()==0x1&&_0x220c8f[_0x1cd3('0x2a77')]()['getChildCount'](_0x220c8f[_0x1cd3('0x313c')]())>0x0);var _0x7fec96=_0x18c7b5&&_0x220c8f[_0x1cd3('0x3219')]()==0x1;this['actions'][_0x1cd3('0x361')](_0x1cd3('0x34b3'))[_0x1cd3('0x2bee')](_0x7fec96&&_0x220c8f[_0x1cd3('0x2a77')]()['isVertex'](_0x220c8f[_0x1cd3('0x2a77')]()[_0x1cd3('0x2c9d')](_0x220c8f['getSelectionCell']())));var _0x24aeea=['fontFamily',_0x1cd3('0x8d6'),_0x1cd3('0x34b4'),_0x1cd3('0x679'),_0x1cd3('0x401'),'format',_0x1cd3('0x34b5'),_0x1cd3('0x34b6'),'spacing'];for(var _0x4efd62=0x0;_0x4efd62<_0x24aeea[_0x1cd3('0x7a')];_0x4efd62++){this[_0x1cd3('0x3443')][_0x1cd3('0x361')](_0x24aeea[_0x4efd62])[_0x1cd3('0x2bee')](_0x17c85b);}_0x24aeea=['line',_0x1cd3('0x34b7'),_0x1cd3('0x34b8')];for(var _0x4efd62=0x0;_0x4efd62<_0x24aeea[_0x1cd3('0x7a')];_0x4efd62++){this['menus']['get'](_0x24aeea[_0x4efd62])[_0x1cd3('0x2bee')](_0xee5628);}this['actions'][_0x1cd3('0x361')](_0x1cd3('0x34b9'))[_0x1cd3('0x2bee')](_0xee5628);this['menus'][_0x1cd3('0x361')](_0x1cd3('0x183e'))[_0x1cd3('0x2bee')](_0x220c8f[_0x1cd3('0x3219')]()>0x1);this[_0x1cd3('0x3443')][_0x1cd3('0x361')]('direction')[_0x1cd3('0x2bee')](_0x18c7b5||_0xee5628&&_0x220c8f[_0x1cd3('0x3229')](_0x220c8f[_0x1cd3('0x1665')]['getState'](_0x220c8f[_0x1cd3('0x313c')]())));this[_0x1cd3('0x3443')][_0x1cd3('0x361')](_0x1cd3('0x522'))[_0x1cd3('0x2bee')](_0x220c8f[_0x1cd3('0x30ce')]&&(_0x220c8f['view'][_0x1cd3('0x2e79')]!=null||_0x220c8f[_0x1cd3('0x3219')]()==0x1&&_0x220c8f[_0x1cd3('0x318b')](_0x220c8f['getSelectionCell']())));this[_0x1cd3('0x947')]['get'](_0x1cd3('0x3109'))[_0x1cd3('0x2bee')](_0x220c8f[_0x1cd3('0x1665')][_0x1cd3('0x2e79')]!=null);this[_0x1cd3('0x947')][_0x1cd3('0x361')](_0x1cd3('0x318c'))[_0x1cd3('0x2bee')](_0x220c8f['view'][_0x1cd3('0x2e79')]!=null);var _0x3a8107=_0x220c8f['getSelectionCount']()==0x1&&_0x220c8f[_0x1cd3('0x318b')](_0x220c8f[_0x1cd3('0x313c')]());this[_0x1cd3('0x947')][_0x1cd3('0x361')](_0x1cd3('0x318a'))['setEnabled'](_0x3a8107);this[_0x1cd3('0x947')][_0x1cd3('0x361')](_0x1cd3('0x572'))['setEnabled'](_0x3a8107);this[_0x1cd3('0x947')]['get'](_0x1cd3('0x56b'))[_0x1cd3('0x2bee')](_0x3a8107);this[_0x1cd3('0x947')]['get'](_0x1cd3('0x34ba'))[_0x1cd3('0x2bee')](_0x220c8f[_0x1cd3('0x3219')]()==0x1);this[_0x1cd3('0x947')][_0x1cd3('0x361')](_0x1cd3('0x34bb'))['setEnabled'](_0x220c8f['getSelectionCount']()==0x1&&_0x220c8f[_0x1cd3('0x34bc')](_0x220c8f[_0x1cd3('0x313c')]())!=null);});this[_0x1cd3('0x3374')][_0x1cd3('0x2c89')][_0x1cd3('0x3104')]()[_0x1cd3('0x29ba')](mxEvent[_0x1cd3('0x2c45')],_0x5012a0);_0x5012a0();};EditorUi[_0x1cd3('0x77a')][_0x1cd3('0x8fa')]=function(){var _0x2c3edf=mxClient['IS_IE']&&(document[_0x1cd3('0x2959')]==null||document['documentMode']==0x5);var _0x3bdf72=this[_0x1cd3('0x4ce')][_0x1cd3('0x29b5')]+0x186;var _0x45b356=this['container']['clientHeight']+0xbe;if(this[_0x1cd3('0x4ce')]==document[_0x1cd3('0x380')]){_0x3bdf72=document[_0x1cd3('0x380')]['clientWidth']||document[_0x1cd3('0x2a20')][_0x1cd3('0x29b5')];_0x45b356=_0x2c3edf?document['body'][_0x1cd3('0x29b4')]||document[_0x1cd3('0x2a20')][_0x1cd3('0x29b4')]:document[_0x1cd3('0x2a20')]['clientHeight'];}var _0x17f769=Math[_0x1cd3('0x13d1')](0x0,Math[_0x1cd3('0x4e3')](this['hsplitPosition'],_0x3bdf72-this['splitSize']-0x14));var _0x3aa436=Math[_0x1cd3('0x13d1')](0x0,Math[_0x1cd3('0x4e3')](this['vsplitPosition'],_0x45b356-this[_0x1cd3('0x346f')]-this['toolbarHeight']-this[_0x1cd3('0x346e')]-0x1));this['menubarContainer']['style'][_0x1cd3('0x4e4')]=this[_0x1cd3('0x346f')]+'px';this[_0x1cd3('0x3446')][_0x1cd3('0x440')]['top']=this[_0x1cd3('0x346f')]+'px';this[_0x1cd3('0x3446')]['style'][_0x1cd3('0x4e4')]=this[_0x1cd3('0x3470')]+'px';var _0xb3c500=this[_0x1cd3('0x346f')]+this[_0x1cd3('0x3470')];if(!mxClient[_0x1cd3('0x2a75')]){_0xb3c500+=0x1;}this[_0x1cd3('0x3449')]['style']['top']=_0xb3c500+'px';this[_0x1cd3('0x3449')][_0x1cd3('0x440')]['width']=_0x17f769+'px';this[_0x1cd3('0x346a')][_0x1cd3('0x440')][_0x1cd3('0x4d7')]=_0x17f769+'px';this[_0x1cd3('0x346a')][_0x1cd3('0x440')][_0x1cd3('0x4e4')]=_0x3aa436+'px';this[_0x1cd3('0x3448')][_0x1cd3('0x440')]['left']=this[_0x1cd3('0x3442')]()?_0x17f769+this['splitSize']+'px':_0x1cd3('0x538');this[_0x1cd3('0x3448')]['style']['top']=this[_0x1cd3('0x3449')][_0x1cd3('0x440')][_0x1cd3('0x712')];this['hsplit'][_0x1cd3('0x440')][_0x1cd3('0x712')]=this[_0x1cd3('0x3449')]['style'][_0x1cd3('0x712')];this[_0x1cd3('0x34bd')]['style'][_0x1cd3('0x2bb0')]=this[_0x1cd3('0x346a')][_0x1cd3('0x440')][_0x1cd3('0x2bb0')];this[_0x1cd3('0x34bd')][_0x1cd3('0x440')][_0x1cd3('0x762')]=_0x17f769+'px';this['vsplit'][_0x1cd3('0x440')][_0x1cd3('0x4d7')]=this['sidebarContainer'][_0x1cd3('0x440')][_0x1cd3('0x4d7')];this['vsplit'][_0x1cd3('0x440')][_0x1cd3('0x2bb0')]=_0x3aa436+this['footerHeight']+'px';if(_0x2c3edf){this[_0x1cd3('0x3444')][_0x1cd3('0x440')][_0x1cd3('0x4d7')]=_0x3bdf72+'px';this[_0x1cd3('0x3446')][_0x1cd3('0x440')][_0x1cd3('0x4d7')]=this[_0x1cd3('0x3444')][_0x1cd3('0x440')]['width'];var _0x3e7077=_0x45b356-_0x3aa436-this[_0x1cd3('0x346e')]-this[_0x1cd3('0x346f')]-this['toolbarHeight'];this['sidebarContainer'][_0x1cd3('0x440')][_0x1cd3('0x4e4')]=_0x3e7077+'px';this[_0x1cd3('0x3448')][_0x1cd3('0x440')][_0x1cd3('0x4d7')]=_0x3bdf72-_0x17f769-this[_0x1cd3('0x346e')]+'px';var _0x2f5322=_0x45b356-this[_0x1cd3('0x346f')]-this[_0x1cd3('0x3470')];this[_0x1cd3('0x3448')][_0x1cd3('0x440')]['height']=_0x2f5322+'px';this[_0x1cd3('0x34bd')][_0x1cd3('0x440')][_0x1cd3('0x4e4')]=_0x2f5322+'px';}else{this[_0x1cd3('0x3449')]['style'][_0x1cd3('0x2bb0')]=_0x3aa436+this[_0x1cd3('0x346e')]+'px';this[_0x1cd3('0x3448')][_0x1cd3('0x440')][_0x1cd3('0x2bb0')]=this[_0x1cd3('0x346a')][_0x1cd3('0x440')]['bottom'];}};EditorUi[_0x1cd3('0x77a')][_0x1cd3('0x34be')]=function(){this[_0x1cd3('0x3444')]=this[_0x1cd3('0x2d35')](_0x1cd3('0x34bf'));this['toolbarContainer']=this[_0x1cd3('0x2d35')](_0x1cd3('0x34c0'));this[_0x1cd3('0x3449')]=this[_0x1cd3('0x2d35')](_0x1cd3('0x34c1'));this[_0x1cd3('0x346a')]=this[_0x1cd3('0x2d35')]('geOutlineContainer');this[_0x1cd3('0x3448')]=this[_0x1cd3('0x2d35')]('geDiagramContainer');this[_0x1cd3('0x344a')]=this['createDiv'](_0x1cd3('0x34c2'));this[_0x1cd3('0x34bd')]=this['createDiv']('geHsplit');this[_0x1cd3('0x34c3')]=this[_0x1cd3('0x2d35')]('geVsplit');this[_0x1cd3('0x3444')]['style'][_0x1cd3('0x712')]=_0x1cd3('0x538');this[_0x1cd3('0x3444')][_0x1cd3('0x440')][_0x1cd3('0x762')]='0px';this[_0x1cd3('0x3444')][_0x1cd3('0x440')][_0x1cd3('0x58e')]='0px';this['toolbarContainer']['style']['left']=_0x1cd3('0x538');this[_0x1cd3('0x3446')]['style'][_0x1cd3('0x58e')]=_0x1cd3('0x538');this[_0x1cd3('0x3449')][_0x1cd3('0x440')][_0x1cd3('0x762')]='0px';this[_0x1cd3('0x346a')][_0x1cd3('0x440')][_0x1cd3('0x2bb0')]='0px';this[_0x1cd3('0x346a')][_0x1cd3('0x440')][_0x1cd3('0x762')]=_0x1cd3('0x538');this[_0x1cd3('0x3448')][_0x1cd3('0x440')][_0x1cd3('0x29f1')]=_0x1cd3('0x772');this[_0x1cd3('0x3448')]['style'][_0x1cd3('0x58e')]=_0x1cd3('0x538');this['footerContainer']['style'][_0x1cd3('0x762')]=_0x1cd3('0x538');this[_0x1cd3('0x344a')][_0x1cd3('0x440')]['right']=_0x1cd3('0x538');this[_0x1cd3('0x344a')][_0x1cd3('0x440')][_0x1cd3('0x2bb0')]=_0x1cd3('0x538');this[_0x1cd3('0x34c3')][_0x1cd3('0x440')][_0x1cd3('0x762')]=_0x1cd3('0x538');this[_0x1cd3('0x34c3')][_0x1cd3('0x440')]['height']=this[_0x1cd3('0x346e')]+'px';this[_0x1cd3('0x34bd')][_0x1cd3('0x440')][_0x1cd3('0x4d7')]=this[_0x1cd3('0x346e')]+'px';};EditorUi[_0x1cd3('0x77a')]['createUi']=function(){this[_0x1cd3('0x34c4')]=this['menus'][_0x1cd3('0x34c5')](this[_0x1cd3('0x2d35')](_0x1cd3('0x34c6')));this['menubarContainer'][_0x1cd3('0xd4e')](this[_0x1cd3('0x34c4')]['container']);this[_0x1cd3('0xd0c')]=this['createToolbar'](this['createDiv'](_0x1cd3('0x34c7')));this[_0x1cd3('0x3446')]['appendChild'](this['toolbar'][_0x1cd3('0x4ce')]);this['sidebar']=this[_0x1cd3('0x34c8')](this[_0x1cd3('0x3449')]);this[_0x1cd3('0x344a')][_0x1cd3('0xd4e')](this[_0x1cd3('0x34c9')]());this[_0x1cd3('0x34ca')]=this['createStatusContainer']();this[_0x1cd3('0x3374')][_0x1cd3('0x29ba')]('statusChanged',mxUtils[_0x1cd3('0x5b2')](this,function(){this[_0x1cd3('0x34cb')](this[_0x1cd3('0x3374')]['getStatus']());}));this[_0x1cd3('0x34cb')](this[_0x1cd3('0x3374')][_0x1cd3('0x2b84')]());this[_0x1cd3('0x34c4')][_0x1cd3('0x4ce')][_0x1cd3('0xd4e')](this[_0x1cd3('0x34ca')]);if(this['isEditingEnabled']()){this[_0x1cd3('0x4ce')][_0x1cd3('0xd4e')](this[_0x1cd3('0x3449')]);this['container'][_0x1cd3('0xd4e')](this[_0x1cd3('0x34bd')]);this[_0x1cd3('0x4ce')][_0x1cd3('0xd4e')](this[_0x1cd3('0x34c3')]);}this[_0x1cd3('0x4ce')]['appendChild'](this['diagramContainer']);this['container'][_0x1cd3('0xd4e')](this['menubarContainer']);this[_0x1cd3('0x4ce')][_0x1cd3('0xd4e')](this[_0x1cd3('0x3446')]);this[_0x1cd3('0x4ce')]['appendChild'](this[_0x1cd3('0x346a')]);this[_0x1cd3('0x4ce')][_0x1cd3('0xd4e')](this[_0x1cd3('0x344a')]);this['addSplitHandler'](this[_0x1cd3('0x34bd')],!![],0x0,mxUtils['bind'](this,function(_0x21b9e5){this['hsplitPosition']=_0x21b9e5;this['refresh']();this[_0x1cd3('0x3374')]['graph'][_0x1cd3('0x3067')]();this[_0x1cd3('0x3374')][_0x1cd3('0x3232')][_0x1cd3('0x378')](![]);this[_0x1cd3('0x3374')][_0x1cd3('0x3232')]['outline'][_0x1cd3('0x3067')]();}));this[_0x1cd3('0x34cc')](this['vsplit'],![],this[_0x1cd3('0x3471')],mxUtils[_0x1cd3('0x5b2')](this,function(_0x16cbce){this[_0x1cd3('0x34cd')]=_0x16cbce;this['refresh']();this[_0x1cd3('0x3374')][_0x1cd3('0x3232')][_0x1cd3('0x378')](![]);this[_0x1cd3('0x3374')][_0x1cd3('0x3232')][_0x1cd3('0x3232')][_0x1cd3('0x3067')]();}));};EditorUi[_0x1cd3('0x77a')][_0x1cd3('0x34ce')]=function(){var _0x11bcd1=document[_0x1cd3('0x3aa')]('a');_0x11bcd1[_0x1cd3('0x45d')]=_0x1cd3('0x34cf');return _0x11bcd1;};EditorUi[_0x1cd3('0x77a')]['createStatusContainer']=function(){var _0x27c107=document[_0x1cd3('0x3aa')]('a');_0x27c107[_0x1cd3('0x45d')]=_0x1cd3('0x34cf');return _0x27c107;};EditorUi['prototype'][_0x1cd3('0x34cb')]=function(_0x13c391){this[_0x1cd3('0x34ca')][_0x1cd3('0x2a15')]=_0x13c391;};EditorUi[_0x1cd3('0x77a')][_0x1cd3('0x3390')]=function(_0x2f7130){return new Toolbar(this,_0x2f7130);};EditorUi['prototype'][_0x1cd3('0x34c8')]=function(_0x2edae2){return new Sidebar(this,_0x2edae2);};EditorUi[_0x1cd3('0x77a')]['createFooter']=function(){return this[_0x1cd3('0x2d35')]('geFooter');};EditorUi[_0x1cd3('0x77a')]['createDiv']=function(_0x4ddfdb){var _0x5d1f79=document[_0x1cd3('0x3aa')](_0x1cd3('0x2a72'));_0x5d1f79[_0x1cd3('0x45d')]=_0x4ddfdb;return _0x5d1f79;};EditorUi[_0x1cd3('0x77a')][_0x1cd3('0x34d0')]=function(_0x3b001e){var _0xbc5fd0=document[_0x1cd3('0x3aa')](_0x3b001e);return _0xbc5fd0;};EditorUi[_0x1cd3('0x77a')][_0x1cd3('0x34d1')]=function(_0x14082e){var _0x404900=document[_0x1cd3('0x3aa')](_0x1cd3('0x4c4'));_0x404900['className']=_0x14082e;return _0x404900;};EditorUi[_0x1cd3('0x77a')][_0x1cd3('0x34cc')]=function(_0x3e7627,_0x500b42,_0x1c6821,_0x15f658){var _0x429e8c=null;var _0x3c351d=null;function _0x51dff1(){return parseInt(_0x500b42?_0x3e7627[_0x1cd3('0x440')][_0x1cd3('0x762')]:_0x3e7627[_0x1cd3('0x440')]['bottom']);}function _0x3017bb(_0x5ecea5){if(_0x429e8c!=null){var _0x43845f=new mxPoint(mxEvent['getClientX'](_0x5ecea5),mxEvent['getClientY'](_0x5ecea5));_0x15f658(Math[_0x1cd3('0x13d1')](0x0,_0x3c351d+(_0x500b42?_0x43845f['x']-_0x429e8c['x']:_0x429e8c['y']-_0x43845f['y'])-_0x1c6821));mxEvent['consume'](_0x5ecea5);}}function _0x5c9fb0(_0x5e0980){_0x3017bb(_0x5e0980);_0x429e8c=null;_0x3c351d=null;}mxEvent['addGestureListeners'](_0x3e7627,function(_0x49cd39){_0x429e8c=new mxPoint(mxEvent[_0x1cd3('0x2b19')](_0x49cd39),mxEvent[_0x1cd3('0x2b1c')](_0x49cd39));_0x3c351d=_0x51dff1();mxEvent[_0x1cd3('0x2b14')](_0x49cd39);});mxEvent[_0x1cd3('0x29ba')](document,_0x1cd3('0x2b2c'),_0x3017bb);mxEvent[_0x1cd3('0x29ba')](document,_0x1cd3('0x2b30'),_0x3017bb);mxEvent['addListener'](document,'mouseup',_0x5c9fb0);mxEvent[_0x1cd3('0x29ba')](document,_0x1cd3('0x2b31'),_0x5c9fb0);};EditorUi[_0x1cd3('0x77a')][_0x1cd3('0x325c')]=function(_0x2f35bc,_0xf740b,_0x21142d){var _0x4a7a37=this[_0x1cd3('0x3374')]['graph'];var _0x17175f=_0x4a7a37[_0x1cd3('0x313c')]();_0xf740b=this['animate']!=null?this['animate']:_0xf740b;_0x4a7a37[_0x1cd3('0x2a77')]()[_0x1cd3('0x2a6c')]();try{_0x2f35bc[_0x1cd3('0x2b5b')](_0x4a7a37['getDefaultParent'](),_0x17175f);}catch(_0x10eb6c){throw _0x10eb6c;}finally{if(_0xf740b&&navigator[_0x1cd3('0x927')][_0x1cd3('0x45e')](_0x1cd3('0x953'))<0x0){var _0x4db375=new mxMorphing(_0x4a7a37);_0x4db375['addListener'](mxEvent[_0x1cd3('0x2c93')],mxUtils[_0x1cd3('0x5b2')](this,function(){_0x4a7a37['getModel']()[_0x1cd3('0x2b5e')]();}));_0x4db375[_0x1cd3('0x34d2')]();}else{_0x4a7a37[_0x1cd3('0x2a77')]()[_0x1cd3('0x2b5e')]();}}};EditorUi[_0x1cd3('0x77a')][_0x1cd3('0x346c')]=function(_0x2e1260){var _0x4f3ef4=this['editor'][_0x1cd3('0x2c89')];var _0x46dc05=new mxKeyHandler(_0x4f3ef4);_0x46dc05['isControlDown']=function(_0x1c814c){return mxEvent['isControlDown'](_0x1c814c)||mxClient[_0x1cd3('0x319e')]&&_0x1c814c['metaKey'];};function _0x478fc2(_0x498778){if(!_0x4f3ef4[_0x1cd3('0x3218')]()){var _0x222812=0x0;var _0x2d844b=0x0;if(_0x498778==0x25){_0x222812=-0x1;}else if(_0x498778==0x26){_0x2d844b=-0x1;}else if(_0x498778==0x27){_0x222812=0x1;}else if(_0x498778==0x28){_0x2d844b=0x1;}_0x4f3ef4[_0x1cd3('0x2b66')](_0x4f3ef4[_0x1cd3('0x2b92')](),_0x222812,_0x2d844b);_0x4f3ef4[_0x1cd3('0x338b')](_0x4f3ef4[_0x1cd3('0x313c')]());}}var _0x32af61=mxUtils['bind'](this,function(_0x4c8b6d,_0x19fc4f,_0x1a1fe2,_0x2db8a1){var _0xcd5f4e=this[_0x1cd3('0x947')][_0x1cd3('0x361')](_0x1a1fe2);if(_0xcd5f4e!=null){var _0x47dd60=function(){if(_0xcd5f4e[_0x1cd3('0x396')]){_0xcd5f4e[_0x1cd3('0x2c15')]();}};if(_0x19fc4f){if(_0x2db8a1){_0x46dc05[_0x1cd3('0x3368')](_0x4c8b6d,_0x47dd60);}else{_0x46dc05[_0x1cd3('0x3367')](_0x4c8b6d,_0x47dd60);}}else{if(_0x2db8a1){_0x46dc05[_0x1cd3('0x3366')](_0x4c8b6d,_0x47dd60);}else{_0x46dc05['bindKey'](_0x4c8b6d,_0x47dd60);}}}});var _0x1447ce=this;_0x46dc05[_0x1cd3('0x2fc2')]=function(){};_0x46dc05[_0x1cd3('0x3378')](0x8,function(){_0x4f3ef4[_0x1cd3('0x2b71')](!![]);});_0x46dc05[_0x1cd3('0x3378')](0xd,function(){_0x4f3ef4[_0x1cd3('0x2b71')](![]);});_0x46dc05[_0x1cd3('0x3378')](0x21,function(){_0x4f3ef4[_0x1cd3('0x318c')]();});_0x46dc05[_0x1cd3('0x3378')](0x22,function(){_0x4f3ef4['enterGroup']();});_0x46dc05[_0x1cd3('0x3378')](0x24,function(){_0x4f3ef4[_0x1cd3('0x3109')]();});_0x46dc05[_0x1cd3('0x3378')](0x23,function(){_0x4f3ef4[_0x1cd3('0x8fa')]();});_0x46dc05[_0x1cd3('0x3378')](0x25,function(){_0x478fc2(0x25);});_0x46dc05[_0x1cd3('0x3378')](0x26,function(){_0x478fc2(0x26);});_0x46dc05[_0x1cd3('0x3378')](0x27,function(){_0x478fc2(0x27);});_0x46dc05[_0x1cd3('0x3378')](0x28,function(){_0x478fc2(0x28);});_0x46dc05['bindKey'](0x71,function(){_0x4f3ef4[_0x1cd3('0x3114')]();});_0x32af61(0x2e,![],_0x1cd3('0xa1c'));_0x32af61(0x52,!![],_0x1cd3('0x34b0'));_0x32af61(0x53,!![],'save');_0x32af61(0x53,!![],'saveAs',!![]);_0x32af61(0x6b,![],_0x1cd3('0x33b6'));_0x32af61(0x6d,![],_0x1cd3('0x3192'));_0x32af61(0x41,!![],_0x1cd3('0x6cd'));_0x32af61(0x56,!![],'selectVertices',!![]);_0x32af61(0x45,!![],_0x1cd3('0x3228'),!![]);_0x32af61(0x45,!![],_0x1cd3('0xeb0'));_0x32af61(0x42,!![],'toBack');_0x32af61(0x46,!![],'toFront');_0x32af61(0x44,!![],'duplicate');_0x32af61(0x5a,!![],_0x1cd3('0x2b60'));_0x32af61(0x59,!![],_0x1cd3('0x2b61'));_0x32af61(0x58,!![],_0x1cd3('0x33b3'));_0x32af61(0x43,!![],_0x1cd3('0x429'));_0x32af61(0x51,!![],_0x1cd3('0x664'));_0x32af61(0x56,!![],'paste');_0x32af61(0x47,!![],_0x1cd3('0x56d'));_0x32af61(0x47,!![],_0x1cd3('0x34d3'),!![]);_0x32af61(0x55,!![],_0x1cd3('0x33b5'));_0x32af61(0x70,![],_0x1cd3('0x34d4'));_0x32af61(0x50,!![],_0x1cd3('0x34d5'),!![]);return _0x46dc05;};EditorUi[_0x1cd3('0x77a')]['createMultiplicities']=function(_0x25112a,_0x5e3ea9,_0x5736cd,_0x50b548){for(var _0x39efab=0x0;_0x39efab<_0x5e3ea9[_0x1cd3('0x7a')];_0x39efab++){_0x25112a[_0x1cd3('0x7b')](new mxMultiplicity(!![],_0x5e3ea9[_0x39efab],null,null,_0x5736cd[_0x39efab][0x0],_0x5736cd[_0x39efab][0x1],null,mxResources[_0x1cd3('0x361')](_0x5e3ea9[_0x39efab])+mxResources[_0x1cd3('0x361')](_0x1cd3('0x34d6'))+_0x5736cd[_0x39efab][0x0]+mxResources['get'](_0x1cd3('0x34d7')),null));_0x25112a['push'](new mxMultiplicity(![],_0x5e3ea9[_0x39efab],null,null,_0x50b548[_0x39efab][0x0],_0x50b548[_0x39efab][0x1],null,mxResources[_0x1cd3('0x361')](_0x5e3ea9[_0x39efab])+mxResources['get'](_0x1cd3('0x34d6'))+_0x50b548[_0x39efab][0x0]+mxResources[_0x1cd3('0x361')]('incomingedge'),null));}};var useLocalStorage=(mxClient[_0x1cd3('0x2b2e')]||urlParams[_0x1cd3('0x34d8')]==_0x1cd3('0x37a'))&&typeof localStorage!=_0x1cd3('0x491');var fileSupport=window['File']!=null&&window['FileReader']!=null&&window[_0x1cd3('0x34d9')]!=null;var touchStyle=mxClient[_0x1cd3('0x2b2e')]||urlParams[_0x1cd3('0x34da')]=='1';var counter=0x0;try{var op=window;while(op['opener']!=null&&!isNaN(op['opener']['counter'])){op=op[_0x1cd3('0x3475')];}if(op!=null){op['counter']++;counter=op[_0x1cd3('0x224d')];}}catch(_0x5571ef){}Editor=function(){mxEventSource[_0x1cd3('0x46d')](this);this[_0x1cd3('0xe08')]();this[_0x1cd3('0x34db')]();this[_0x1cd3('0x2c89')]=new Graph();this[_0x1cd3('0x3232')]=new mxOutline(this['graph']);this[_0x1cd3('0x3232')][_0x1cd3('0x3236')]=!![];this[_0x1cd3('0x338f')]=this[_0x1cd3('0x34dc')]();this[_0x1cd3('0x3a6')]='';this[_0x1cd3('0x6b6')]=null;this[_0x1cd3('0x34dd')]=function(){return this[_0x1cd3('0x6b6')]||mxResources[_0x1cd3('0x361')](_0x1cd3('0x34de'),[counter])+_0x1cd3('0x34df');};this['getFilename']=function(){return this['filename'];};this[_0x1cd3('0x33e6')]=function(_0x5a795a){this[_0x1cd3('0x3a6')]=_0x5a795a;this[_0x1cd3('0x2b28')](new mxEventObject(_0x1cd3('0x34e0')));};this[_0x1cd3('0x2b84')]=function(){return this['status'];};this['modified']=![];this[_0x1cd3('0x34e1')]=function(){this[_0x1cd3('0x2fc6')]=!![];};this[_0x1cd3('0x2c89')][_0x1cd3('0x2a77')]()['addListener'](mxEvent[_0x1cd3('0x2c45')],mxUtils[_0x1cd3('0x5b2')](this,function(){this[_0x1cd3('0x34e1')][_0x1cd3('0x4df')](this,arguments);}));window[_0x1cd3('0x2b8d')]=mxUtils[_0x1cd3('0x5b2')](this,function(){if(this[_0x1cd3('0x2fc6')]){return mxResources[_0x1cd3('0x361')](_0x1cd3('0x34e2'));}});this[_0x1cd3('0x2c89')][_0x1cd3('0x30e7')]=![];this[_0x1cd3('0x2c89')][_0x1cd3('0x2c60')]=!![];this[_0x1cd3('0x2c89')][_0x1cd3('0x2e17')]=null;};mxUtils[_0x1cd3('0x4d2')](Editor,mxEventSource);Editor['prototype']['gridImage']=IMAGE_PATH+_0x1cd3('0x34e3');Editor[_0x1cd3('0x77a')][_0x1cd3('0x34e4')]=IMAGE_PATH+_0x1cd3('0x34e5');Editor['prototype'][_0x1cd3('0x3477')]=function(_0x24df2f){var _0x37aa68=new mxCodec(_0x24df2f[_0x1cd3('0x29fb')]);if(_0x24df2f['nodeName']==_0x1cd3('0x34e6')){this['graph'][_0x1cd3('0x1665')][_0x1cd3('0x29df')]=Number(_0x24df2f[_0x1cd3('0x29f4')]('scale')||0x1);this[_0x1cd3('0x2c89')][_0x1cd3('0x2beb')]=_0x24df2f['getAttribute'](_0x1cd3('0x34d3'))!='0';this[_0x1cd3('0x2c89')]['graphHandler']['guidesEnabled']=_0x24df2f[_0x1cd3('0x29f4')](_0x1cd3('0x329c'))!='0';this[_0x1cd3('0x2c89')][_0x1cd3('0x34e7')](_0x24df2f[_0x1cd3('0x29f4')](_0x1cd3('0x34e8'))!='0');this[_0x1cd3('0x2c89')][_0x1cd3('0x2f6b')](_0x24df2f[_0x1cd3('0x29f4')](_0x1cd3('0x664'))!='0');this[_0x1cd3('0x2c89')][_0x1cd3('0x30ce')]=_0x24df2f['getAttribute'](_0x1cd3('0x34e9'))!='0';this[_0x1cd3('0x2c89')]['scrollbars']=_0x24df2f[_0x1cd3('0x29f4')]('scrollbars')!='0';if(!this[_0x1cd3('0x2c89')][_0x1cd3('0x2c60')]){this['graph'][_0x1cd3('0x4ce')][_0x1cd3('0x767')]=0x0;this[_0x1cd3('0x2c89')][_0x1cd3('0x4ce')][_0x1cd3('0x515')]=0x0;this[_0x1cd3('0x2c89')]['view'][_0x1cd3('0x43c')]['x']=Number(_0x24df2f[_0x1cd3('0x29f4')]('dx')||0x0);this[_0x1cd3('0x2c89')][_0x1cd3('0x1665')][_0x1cd3('0x43c')]['y']=Number(_0x24df2f[_0x1cd3('0x29f4')]('dy')||0x0);}this[_0x1cd3('0x2c89')][_0x1cd3('0x3073')]=_0x24df2f[_0x1cd3('0x29f4')](_0x1cd3('0x8fd'))=='1';this[_0x1cd3('0x2c89')][_0x1cd3('0x30c3')]=this[_0x1cd3('0x2c89')][_0x1cd3('0x3073')];this['graph'][_0x1cd3('0x30c7')]=this[_0x1cd3('0x2c89')]['pageBreaksVisible'];var _0x39b494=_0x24df2f['getAttribute']('pageScale');if(_0x39b494!=null){this[_0x1cd3('0x2c89')]['pageScale']=_0x39b494;}else{this[_0x1cd3('0x2c89')]['pageScale']=1.5;}var _0x2568e1=_0x24df2f[_0x1cd3('0x29f4')]('pageWidth');var _0x587571=_0x24df2f[_0x1cd3('0x29f4')](_0x1cd3('0x34ea'));if(_0x2568e1!=null&&_0x587571!=null){this['graph'][_0x1cd3('0x2f77')]=new mxRectangle(0x0,0x0,parseFloat(_0x2568e1),parseFloat(_0x587571));this[_0x1cd3('0x3232')]['outline']['pageFormat']=this[_0x1cd3('0x2c89')][_0x1cd3('0x2f77')];}var _0x6c6862=_0x24df2f[_0x1cd3('0x29f4')]('background');if(_0x6c6862!=null&&_0x6c6862[_0x1cd3('0x7a')]>0x0){this[_0x1cd3('0x2c89')][_0x1cd3('0x2e17')]=_0x6c6862;}_0x37aa68['decode'](_0x24df2f,this['graph'][_0x1cd3('0x2a77')]());this[_0x1cd3('0x34eb')]();}};Editor['prototype']['getGraphXml']=function(){var _0x2e0f81=new mxCodec(mxUtils[_0x1cd3('0x2a03')]());var _0x5acc01=_0x2e0f81[_0x1cd3('0x2a82')](this['graph'][_0x1cd3('0x2a77')]());if(this[_0x1cd3('0x2c89')][_0x1cd3('0x1665')][_0x1cd3('0x43c')]['x']!=0x0||this[_0x1cd3('0x2c89')][_0x1cd3('0x1665')][_0x1cd3('0x43c')]['y']!=0x0){_0x5acc01[_0x1cd3('0x481')]('dx',Math[_0x1cd3('0x18ba')](this[_0x1cd3('0x2c89')][_0x1cd3('0x1665')]['translate']['x']*0x64)/0x64);_0x5acc01[_0x1cd3('0x481')]('dy',Math[_0x1cd3('0x18ba')](this[_0x1cd3('0x2c89')]['view'][_0x1cd3('0x43c')]['y']*0x64)/0x64);}if(this[_0x1cd3('0x2c89')]['view'][_0x1cd3('0x29df')]!=0x1){_0x5acc01[_0x1cd3('0x481')](_0x1cd3('0x29df'),Math[_0x1cd3('0x18ba')](this[_0x1cd3('0x2c89')][_0x1cd3('0x1665')]['scale']*0x3e8)/0x3e8);}_0x5acc01['setAttribute'](_0x1cd3('0x34d3'),this[_0x1cd3('0x2c89')][_0x1cd3('0x2bf0')]()?'1':'0');_0x5acc01[_0x1cd3('0x481')](_0x1cd3('0x329c'),this[_0x1cd3('0x2c89')][_0x1cd3('0x2bfe')]['guidesEnabled']?'1':'0');_0x5acc01[_0x1cd3('0x481')](_0x1cd3('0x329c'),this[_0x1cd3('0x2c89')][_0x1cd3('0x2bfe')]['guidesEnabled']?'1':'0');_0x5acc01[_0x1cd3('0x481')](_0x1cd3('0x34e8'),this[_0x1cd3('0x2c89')][_0x1cd3('0x3076')][_0x1cd3('0x2c76')]()?'1':'0');_0x5acc01[_0x1cd3('0x481')]('connect',this[_0x1cd3('0x2c89')]['connectionHandler'][_0x1cd3('0x2c76')]()?'1':'0');_0x5acc01[_0x1cd3('0x481')](_0x1cd3('0x34e9'),this[_0x1cd3('0x2c89')]['foldingEnabled']?'1':'0');_0x5acc01[_0x1cd3('0x481')](_0x1cd3('0x8fd'),this[_0x1cd3('0x2c89')][_0x1cd3('0x3073')]?'1':'0');_0x5acc01[_0x1cd3('0x481')](_0x1cd3('0x2f76'),this[_0x1cd3('0x2c89')][_0x1cd3('0x2f76')]);_0x5acc01[_0x1cd3('0x481')](_0x1cd3('0x34ec'),this[_0x1cd3('0x2c89')][_0x1cd3('0x2f77')][_0x1cd3('0x4d7')]);_0x5acc01[_0x1cd3('0x481')]('pageHeight',this['graph'][_0x1cd3('0x2f77')][_0x1cd3('0x4e4')]);if(!this[_0x1cd3('0x2c89')][_0x1cd3('0x2c60')]){_0x5acc01['setAttribute'](_0x1cd3('0x2c60'),'0');}if(this[_0x1cd3('0x2c89')][_0x1cd3('0x2e17')]!=null){_0x5acc01['setAttribute'](_0x1cd3('0x2e17'),this['graph'][_0x1cd3('0x2e17')]);}return _0x5acc01;};Editor[_0x1cd3('0x77a')][_0x1cd3('0x34eb')]=function(){var _0x40913b=this[_0x1cd3('0x2c89')];var _0x535a6b=this['outline'];if(_0x40913b[_0x1cd3('0x4ce')]!=null&&_0x535a6b[_0x1cd3('0x3232')][_0x1cd3('0x4ce')]!=null){if(_0x40913b[_0x1cd3('0x2e17')]!=null){if(_0x40913b[_0x1cd3('0x2e17')]==_0x1cd3('0x6ae')){_0x40913b[_0x1cd3('0x4ce')][_0x1cd3('0x440')]['backgroundColor']=_0x1cd3('0x2d19');}else{if(_0x40913b[_0x1cd3('0x1665')][_0x1cd3('0x3075')]!=null){_0x40913b[_0x1cd3('0x1665')][_0x1cd3('0x3075')]['fill']=_0x40913b[_0x1cd3('0x2e17')];_0x40913b['view'][_0x1cd3('0x3075')][_0x1cd3('0x2dc4')]();}_0x40913b[_0x1cd3('0x4ce')][_0x1cd3('0x440')]['backgroundColor']=_0x40913b['background'];}}else{_0x40913b[_0x1cd3('0x4ce')][_0x1cd3('0x440')][_0x1cd3('0x2c0c')]='';}if(_0x40913b[_0x1cd3('0x3073')]){_0x40913b[_0x1cd3('0x4ce')]['style']['backgroundColor']='#ebebeb';_0x40913b[_0x1cd3('0x4ce')]['style']['borderStyle']='solid';_0x40913b['container'][_0x1cd3('0x440')]['borderColor']=_0x1cd3('0x34ed');_0x40913b['container']['style']['borderTopWidth']=_0x1cd3('0x2bc0');_0x40913b[_0x1cd3('0x4ce')]['style'][_0x1cd3('0x3127')]=_0x1cd3('0x2bc0');_0x40913b[_0x1cd3('0x4ce')]['style']['borderRightWidth']=_0x1cd3('0x538');_0x40913b[_0x1cd3('0x4ce')][_0x1cd3('0x440')][_0x1cd3('0x312c')]=_0x1cd3('0x538');}else{_0x40913b[_0x1cd3('0x4ce')]['style'][_0x1cd3('0x2c6a')]='';}_0x535a6b['outline'][_0x1cd3('0x4ce')]['style']['backgroundColor']=_0x40913b[_0x1cd3('0x4ce')]['style'][_0x1cd3('0x2c0c')];if(_0x535a6b[_0x1cd3('0x3232')][_0x1cd3('0x3073')]!=_0x40913b['pageVisible']||_0x535a6b['outline'][_0x1cd3('0x2f76')]!=_0x40913b[_0x1cd3('0x2f76')]){_0x535a6b['outline'][_0x1cd3('0x2f76')]=_0x40913b[_0x1cd3('0x2f76')];_0x535a6b['outline'][_0x1cd3('0x3073')]=_0x40913b[_0x1cd3('0x3073')];_0x535a6b[_0x1cd3('0x3232')][_0x1cd3('0x1665')][_0x1cd3('0x306b')]();}if(_0x40913b['scrollbars']&&_0x40913b[_0x1cd3('0x4ce')][_0x1cd3('0x440')]['overflow']==_0x1cd3('0x533')&&!touchStyle){_0x40913b[_0x1cd3('0x4ce')][_0x1cd3('0x440')]['overflow']='auto';}else if(!_0x40913b[_0x1cd3('0x2c60')]||touchStyle){_0x40913b[_0x1cd3('0x4ce')][_0x1cd3('0x440')][_0x1cd3('0x29f1')]=_0x1cd3('0x533');}var _0x1cd23e=mxClient['IS_IE']&&document[_0x1cd3('0x2959')]>=0x9?'url('+this[_0x1cd3('0x34e4')]+')':_0x1cd3('0x6ae');_0x40913b['container'][_0x1cd3('0x440')][_0x1cd3('0x2dfc')]=!_0x40913b['pageVisible']&&_0x40913b['isGridEnabled']()?_0x1cd3('0x344c')+this[_0x1cd3('0x34ee')]+')':_0x1cd23e;if(_0x40913b[_0x1cd3('0x1665')][_0x1cd3('0x3075')]!=null){_0x40913b[_0x1cd3('0x1665')][_0x1cd3('0x3075')][_0x1cd3('0x56e')][_0x1cd3('0x440')][_0x1cd3('0x2dfc')]=this[_0x1cd3('0x2c89')][_0x1cd3('0x2bf0')]()?_0x1cd3('0x344c')+this['gridImage']+')':_0x1cd3('0x6ae');}}};Editor[_0x1cd3('0x77a')][_0x1cd3('0xe08')]=function(){if(mxClient['IS_IE6']){mxClient['link'](_0x1cd3('0x298f'),CSS_PATH+_0x1cd3('0x34ef'));}mxResources[_0x1cd3('0x29cf')]=![];mxResources['add'](RESOURCE_BASE);mxConstants[_0x1cd3('0x32ae')]=0.3;var _0x28d2a6=mxConnectionHandler[_0x1cd3('0x77a')][_0x1cd3('0x2e4e')];mxConnectionHandler[_0x1cd3('0x77a')][_0x1cd3('0x2e4e')]=function(){var _0x1dd886=_0x28d2a6[_0x1cd3('0x4df')](this,arguments);_0x1dd886[_0x1cd3('0x3212')]=mxUtils[_0x1cd3('0x5b2')](this,function(_0x10d7f0,_0x5a691c){if(this[_0x1cd3('0x32e2')]()){return!![];}return mxCellMarker[_0x1cd3('0x77a')][_0x1cd3('0x3212')]['apply'](_0x1dd886,arguments);});return _0x1dd886;};mxConstants[_0x1cd3('0x2cb7')]='#d0d0d0';mxConstants[_0x1cd3('0x3326')]=_0x1cd3('0x34f0');mxConstants[_0x1cd3('0x332d')]='#0088cf';mxConstants[_0x1cd3('0x3329')]=_0x1cd3('0x34f1');mxConstants[_0x1cd3('0x3240')]=_0x1cd3('0x34f1');mxConstants[_0x1cd3('0x3246')]=_0x1cd3('0x34f0');mxConstants[_0x1cd3('0x3247')]=_0x1cd3('0x34f1');mxConstants['CONNECT_HANDLE_FILLCOLOR']='#cee7ff';mxConstants[_0x1cd3('0x333d')]='#00a8ff';mxConstants[_0x1cd3('0x3306')]=_0x1cd3('0x34f1');mxConstants[_0x1cd3('0x3323')]=_0x1cd3('0x34f2');mxConstants[_0x1cd3('0x2d94')]=_0x1cd3('0x34f3');mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x30c4')]=_0x1cd3('0x34f4');mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x2f76')]=0x1;mxRubberband['prototype'][_0x1cd3('0x330f')]=0x1e;mxGraphView[_0x1cd3('0x77a')][_0x1cd3('0x3072')]=function(_0x3f1314){return new mxRectangleShape(_0x3f1314,this[_0x1cd3('0x2c89')][_0x1cd3('0x2e17')]||'white',_0x1cd3('0x34f5'));};mxGraphView[_0x1cd3('0x77a')][_0x1cd3('0x3074')]=function(){var _0x1ff31e=this[_0x1cd3('0x2a84')]();var _0xbdd724=_0x1ff31e[_0x1cd3('0x4d7')]>0x0?_0x1ff31e['x']/this[_0x1cd3('0x29df')]-this[_0x1cd3('0x43c')]['x']:0x0;var _0x597584=_0x1ff31e[_0x1cd3('0x4e4')]>0x0?_0x1ff31e['y']/this[_0x1cd3('0x29df')]-this[_0x1cd3('0x43c')]['y']:0x0;var _0x2227bc=_0x1ff31e[_0x1cd3('0x4d7')]/this[_0x1cd3('0x29df')];var _0x3df613=_0x1ff31e[_0x1cd3('0x4e4')]/this[_0x1cd3('0x29df')];var _0x4802d9=this['graph'][_0x1cd3('0x2f77')];var _0x3820ff=this[_0x1cd3('0x2c89')][_0x1cd3('0x2f76')];var _0x502b5c=_0x4802d9['width']*_0x3820ff;var _0x2860cc=_0x4802d9['height']*_0x3820ff;var _0x3d0dc6=Math[_0x1cd3('0x6b1')](Math['min'](0x0,_0xbdd724)/_0x502b5c);var _0x2490c0=Math[_0x1cd3('0x6b1')](Math['min'](0x0,_0x597584)/_0x2860cc);var _0x10fbce=Math['ceil'](Math['max'](0x1,_0xbdd724+_0x2227bc)/_0x502b5c);var _0x1d87af=Math[_0x1cd3('0x2928')](Math['max'](0x1,_0x597584+_0x3df613)/_0x2860cc);var _0x47ea2a=_0x10fbce-_0x3d0dc6;var _0x2bd72e=_0x1d87af-_0x2490c0;var _0x29ea33=new mxRectangle(this[_0x1cd3('0x29df')]*(this[_0x1cd3('0x43c')]['x']+_0x3d0dc6*_0x502b5c),this[_0x1cd3('0x29df')]*(this[_0x1cd3('0x43c')]['y']+_0x2490c0*_0x2860cc),this[_0x1cd3('0x29df')]*_0x47ea2a*_0x502b5c,this[_0x1cd3('0x29df')]*_0x2bd72e*_0x2860cc);return _0x29ea33;};var _0x37a877=mxGraph[_0x1cd3('0x77a')]['panGraph'];mxGraph[_0x1cd3('0x77a')]['panGraph']=function(_0x2fecf5,_0x4588de){_0x37a877['apply'](this,arguments);if(this[_0x1cd3('0x2d98')]!=mxConstants[_0x1cd3('0x2a7c')]&&this[_0x1cd3('0x1665')][_0x1cd3('0x3075')]!=null&&(!this[_0x1cd3('0x318e')]||!mxUtils['hasScrollbars'](this['container']))){this[_0x1cd3('0x1665')]['backgroundPageShape'][_0x1cd3('0x56e')]['style'][_0x1cd3('0x2bbf')]=_0x2fecf5+'px';this[_0x1cd3('0x1665')][_0x1cd3('0x3075')][_0x1cd3('0x56e')][_0x1cd3('0x440')]['marginTop']=_0x4588de+'px';}};var _0x367462=this;mxGraphView['prototype'][_0x1cd3('0x3071')]=function(){var _0x4c65c4=this[_0x1cd3('0x2c89')]['getBackgroundImage']();if(_0x4c65c4!=null){if(this[_0x1cd3('0x2dfc')]==null||this['backgroundImage'][_0x1cd3('0x127a')]!=_0x4c65c4[_0x1cd3('0x487')]){if(this[_0x1cd3('0x2dfc')]!=null){this['backgroundImage'][_0x1cd3('0x2bcb')]();}var _0x276701=new mxRectangle(0x0,0x0,0x1,0x1);this[_0x1cd3('0x2dfc')]=new mxImageShape(_0x276701,_0x4c65c4[_0x1cd3('0x487')]);this['backgroundImage'][_0x1cd3('0x2d98')]=this[_0x1cd3('0x2c89')][_0x1cd3('0x2d98')];this[_0x1cd3('0x2dfc')][_0x1cd3('0xe08')](this[_0x1cd3('0x2f96')]);this[_0x1cd3('0x2dfc')]['redraw']();}this[_0x1cd3('0x3077')](this[_0x1cd3('0x2dfc')],_0x4c65c4);}else if(this[_0x1cd3('0x2dfc')]!=null){this[_0x1cd3('0x2dfc')][_0x1cd3('0x2bcb')]();this[_0x1cd3('0x2dfc')]=null;}if(this[_0x1cd3('0x2c89')][_0x1cd3('0x3073')]){var _0x276701=this[_0x1cd3('0x3074')]();if(this[_0x1cd3('0x3075')]==null){this[_0x1cd3('0x3075')]=this[_0x1cd3('0x3072')](_0x276701);this[_0x1cd3('0x3075')][_0x1cd3('0x29df')]=0x1;this[_0x1cd3('0x3075')][_0x1cd3('0x2ddc')]=!![];this[_0x1cd3('0x3075')]['dialect']=mxConstants[_0x1cd3('0x2e21')];this[_0x1cd3('0x3075')][_0x1cd3('0xe08')](this[_0x1cd3('0x2c89')][_0x1cd3('0x4ce')]);this[_0x1cd3('0x2c89')][_0x1cd3('0x4ce')][_0x1cd3('0x29f5')][_0x1cd3('0x440')][_0x1cd3('0x679')]=_0x1cd3('0x532');this[_0x1cd3('0x2c89')][_0x1cd3('0x4ce')][_0x1cd3('0x2bc9')](this['backgroundPageShape'][_0x1cd3('0x56e')],this[_0x1cd3('0x2c89')][_0x1cd3('0x4ce')][_0x1cd3('0x29f5')]);this[_0x1cd3('0x3075')][_0x1cd3('0x29e3')]();this['backgroundPageShape'][_0x1cd3('0x56e')][_0x1cd3('0x45d')]=_0x1cd3('0x34f6');this['backgroundPageShape'][_0x1cd3('0x56e')][_0x1cd3('0x440')][_0x1cd3('0x344d')]=_0x1cd3('0x34f7');mxEvent[_0x1cd3('0x29ba')](this['backgroundPageShape']['node'],_0x1cd3('0x2c1e'),mxUtils[_0x1cd3('0x5b2')](this,function(_0x4a4af6){this[_0x1cd3('0x2c89')][_0x1cd3('0x2b37')](_0x4a4af6);}));mxEvent[_0x1cd3('0x2b32')](this['backgroundPageShape'][_0x1cd3('0x56e')],mxUtils[_0x1cd3('0x5b2')](this,function(_0x18c67c){this[_0x1cd3('0x2c89')]['fireMouseEvent'](mxEvent['MOUSE_DOWN'],new mxMouseEvent(_0x18c67c));}),mxUtils[_0x1cd3('0x5b2')](this,function(_0x40e4f2){if(this['graph'][_0x1cd3('0x3076')]!=null&&this[_0x1cd3('0x2c89')][_0x1cd3('0x3076')][_0x1cd3('0x30a1')]()){this['graph'][_0x1cd3('0x3076')][_0x1cd3('0x39d')]();}if(this['graph']['isMouseDown']&&!mxEvent[_0x1cd3('0x2b13')](_0x40e4f2)){this[_0x1cd3('0x2c89')]['fireMouseEvent'](mxEvent[_0x1cd3('0x2b35')],new mxMouseEvent(_0x40e4f2));}}),mxUtils['bind'](this,function(_0x102d6b){this[_0x1cd3('0x2c89')]['fireMouseEvent'](mxEvent[_0x1cd3('0x2b36')],new mxMouseEvent(_0x102d6b));}));}else{this[_0x1cd3('0x3075')][_0x1cd3('0x29df')]=0x1;this[_0x1cd3('0x3075')][_0x1cd3('0x2dbc')]=_0x276701;this[_0x1cd3('0x3075')][_0x1cd3('0x29e3')]();}this[_0x1cd3('0x3075')][_0x1cd3('0x56e')][_0x1cd3('0x440')]['backgroundImage']=this[_0x1cd3('0x2c89')][_0x1cd3('0x2bf0')]()?_0x1cd3('0x344c')+_0x367462[_0x1cd3('0x34ee')]+')':_0x1cd3('0x6ae');}else if(this['backgroundPageShape']!=null){this[_0x1cd3('0x3075')][_0x1cd3('0x2bcb')]();this[_0x1cd3('0x3075')]=null;}};mxGraph[_0x1cd3('0x77a')]['updatePageBreaks']=function(_0x45ad0e,_0x45c9f4,_0x75aaf7){var _0x452afb=this['view'][_0x1cd3('0x29df')];var _0x310220=this['view'][_0x1cd3('0x43c')];var _0x4e4796=this[_0x1cd3('0x2f77')];var _0x2184c9=_0x452afb*this['pageScale'];var _0xf16798=this[_0x1cd3('0x1665')][_0x1cd3('0x3074')]();_0x45c9f4=_0xf16798[_0x1cd3('0x4d7')];_0x75aaf7=_0xf16798[_0x1cd3('0x4e4')];var _0x196d17=new mxRectangle(_0x452afb*_0x310220['x'],_0x452afb*_0x310220['y'],_0x4e4796[_0x1cd3('0x4d7')]*_0x2184c9,_0x4e4796[_0x1cd3('0x4e4')]*_0x2184c9);_0x45ad0e=_0x45ad0e&&Math[_0x1cd3('0x4e3')](_0x196d17[_0x1cd3('0x4d7')],_0x196d17['height'])>this[_0x1cd3('0x30c6')];var _0xb5d8c0=_0x45ad0e?Math[_0x1cd3('0x2928')](_0x45c9f4/_0x196d17['width'])-0x1:0x0;var _0x5ef8fc=_0x45ad0e?Math[_0x1cd3('0x2928')](_0x75aaf7/_0x196d17[_0x1cd3('0x4e4')])-0x1:0x0;var _0x1d519f=_0xf16798['x']+_0x45c9f4;var _0x568b89=_0xf16798['y']+_0x75aaf7;if(this[_0x1cd3('0x3136')]==null&&_0xb5d8c0>0x0){this[_0x1cd3('0x3136')]=[];}if(this[_0x1cd3('0x3136')]!=null){for(var _0x47ed3b=0x0;_0x47ed3b<=_0xb5d8c0;_0x47ed3b++){var _0x3e171a=[new mxPoint(_0xf16798['x']+(_0x47ed3b+0x1)*_0x196d17[_0x1cd3('0x4d7')],_0xf16798['y']),new mxPoint(_0xf16798['x']+(_0x47ed3b+0x1)*_0x196d17['width'],_0x568b89)];if(this[_0x1cd3('0x3136')][_0x47ed3b]!=null){this[_0x1cd3('0x3136')][_0x47ed3b][_0x1cd3('0x29df')]=0x1;this[_0x1cd3('0x3136')][_0x47ed3b][_0x1cd3('0x2d9a')]=_0x3e171a;this[_0x1cd3('0x3136')][_0x47ed3b][_0x1cd3('0x29e3')]();}else{var _0x51c097=new mxPolyline(_0x3e171a,this['pageBreakColor'],this[_0x1cd3('0x29df')]);_0x51c097['dialect']=this['dialect'];_0x51c097[_0x1cd3('0x2d96')]=this[_0x1cd3('0x30c5')];_0x51c097['addPipe']=![];_0x51c097[_0x1cd3('0x29df')]=_0x452afb;_0x51c097[_0x1cd3('0xe08')](this[_0x1cd3('0x1665')][_0x1cd3('0x2f96')]);_0x51c097[_0x1cd3('0x29e3')]();this[_0x1cd3('0x3136')][_0x47ed3b]=_0x51c097;}}for(var _0x47ed3b=_0xb5d8c0;_0x47ed3b0x0){this['verticalPageBreaks']=[];}if(this['verticalPageBreaks']!=null){for(var _0x47ed3b=0x0;_0x47ed3b<=_0x5ef8fc;_0x47ed3b++){var _0x3e171a=[new mxPoint(_0xf16798['x'],_0xf16798['y']+(_0x47ed3b+0x1)*_0x196d17['height']),new mxPoint(_0x1d519f,_0xf16798['y']+(_0x47ed3b+0x1)*_0x196d17[_0x1cd3('0x4e4')])];if(this[_0x1cd3('0x3137')][_0x47ed3b]!=null){this[_0x1cd3('0x3137')][_0x47ed3b][_0x1cd3('0x29df')]=0x1;this[_0x1cd3('0x3137')][_0x47ed3b][_0x1cd3('0x2d9a')]=_0x3e171a;this[_0x1cd3('0x3137')][_0x47ed3b][_0x1cd3('0x29e3')]();}else{var _0x51c097=new mxPolyline(_0x3e171a,this[_0x1cd3('0x30c4')],_0x452afb);_0x51c097['dialect']=this['dialect'];_0x51c097[_0x1cd3('0x2d96')]=this[_0x1cd3('0x30c5')];_0x51c097[_0x1cd3('0x34f8')]=![];_0x51c097[_0x1cd3('0x29df')]=_0x452afb;_0x51c097[_0x1cd3('0xe08')](this[_0x1cd3('0x1665')][_0x1cd3('0x2f96')]);_0x51c097['redraw']();this[_0x1cd3('0x3137')][_0x47ed3b]=_0x51c097;}}for(var _0x47ed3b=_0x5ef8fc;_0x47ed3b0x0&&_0x209fc7[0x0]=='mxgraph'){_0x1fc4d9=_0x209fc7[0x1];for(var _0x435f25=0x2;_0x435f25<_0x209fc7[_0x1cd3('0x7a')]-0x1;_0x435f25++){_0x1fc4d9+='/'+_0x209fc7[_0x435f25];}}return _0x1fc4d9;};mxStencilRegistry['loadStencilSet']=function(_0x22566c,_0x1d5271,_0x597b7f){_0x597b7f=_0x597b7f!=null?_0x597b7f:![];var _0x30cb7e=mxStencilRegistry[_0x1cd3('0x34fd')][_0x22566c];if(_0x597b7f||_0x30cb7e==null){var _0x400f52=![];if(_0x30cb7e==null){var _0x540c53=mxUtils[_0x1cd3('0x5de')](_0x22566c);_0x30cb7e=_0x540c53['getXml']();mxStencilRegistry[_0x1cd3('0x34fd')][_0x22566c]=_0x30cb7e;_0x400f52=!![];}mxStencilRegistry[_0x1cd3('0x3500')](_0x30cb7e,_0x1d5271,_0x400f52);}};mxStencilRegistry[_0x1cd3('0x3500')]=function(_0x1ea524,_0x949c46,_0xda2929){_0xda2929=_0xda2929!=null?_0xda2929:!![];var _0x318af1=_0x1ea524['documentElement'];var _0x5a55d0=_0x318af1[_0x1cd3('0x29f5')];var _0x7478cc='';var _0x29af2c=_0x318af1['getAttribute']('name');if(_0x29af2c!=null){_0x7478cc=_0x29af2c+'.';}while(_0x5a55d0!=null){if(_0x5a55d0[_0x1cd3('0x29f8')]==mxConstants[_0x1cd3('0x29f9')]){_0x29af2c=_0x5a55d0[_0x1cd3('0x29f4')]('name');if(_0x29af2c!=null){_0x7478cc=_0x7478cc[_0x1cd3('0x433')]();var _0x2867f2=_0x29af2c[_0x1cd3('0x3f1')](/ /g,'_');if(_0xda2929){mxStencilRegistry[_0x1cd3('0x3501')](_0x7478cc+_0x2867f2[_0x1cd3('0x433')](),new mxStencil(_0x5a55d0));}if(_0x949c46!=null){var _0x716df8=_0x5a55d0[_0x1cd3('0x29f4')]('w');var _0x3f6b35=_0x5a55d0['getAttribute']('h');_0x716df8=_0x716df8==null?0x50:parseInt(_0x716df8,0xa);_0x3f6b35=_0x3f6b35==null?0x50:parseInt(_0x3f6b35,0xa);_0x949c46(_0x7478cc,_0x2867f2,_0x29af2c,_0x716df8,_0x3f6b35);}}}_0x5a55d0=_0x5a55d0['nextSibling'];}};}());OpenFile=function(_0x4ff2c9){this[_0x1cd3('0x3502')]=null;this[_0x1cd3('0x3503')]=null;this[_0x1cd3('0x4d5')]=_0x4ff2c9;};OpenFile['prototype'][_0x1cd3('0x3504')]=function(_0x47e874){this[_0x1cd3('0x3503')]=_0x47e874;this['execute']();};OpenFile[_0x1cd3('0x77a')][_0x1cd3('0x2a3c')]=function(_0x30ef59,_0x5e2670){this['data']=_0x30ef59;this[_0x1cd3('0x6b6')]=_0x5e2670;this[_0x1cd3('0x2b5b')]();};OpenFile['prototype'][_0x1cd3('0x434')]=function(_0x5cd93e){this[_0x1cd3('0x4d8')]();mxUtils[_0x1cd3('0x11d0')](_0x5cd93e);};OpenFile['prototype'][_0x1cd3('0x2b5b')]=function(){if(this[_0x1cd3('0x3503')]!=null&&this[_0x1cd3('0x439')]!=null){this[_0x1cd3('0x3503')](this[_0x1cd3('0x439')],this[_0x1cd3('0x6b6')]);this['cancel']();}};OpenFile[_0x1cd3('0x77a')][_0x1cd3('0x4d8')]=function(){if(this['done']!=null){this[_0x1cd3('0x4d5')]();}};_0x1cd3('0x3505');function Sidebar(_0x525b6f,_0x341e4e){this[_0x1cd3('0x3506')]=_0x525b6f;this['container']=_0x341e4e;this[_0x1cd3('0x4f2')]=new Object();this[_0x1cd3('0x3507')]=new Object();this[_0x1cd3('0x3508')]=!![];this[_0x1cd3('0x2c89')]=new Graph(document[_0x1cd3('0x3aa')](_0x1cd3('0x2a72')),null,null,this[_0x1cd3('0x3506')]['editor'][_0x1cd3('0x2c89')][_0x1cd3('0x3103')]());this[_0x1cd3('0x2c89')][_0x1cd3('0x30e7')]=![];this[_0x1cd3('0x2c89')][_0x1cd3('0x30ce')]=![];this[_0x1cd3('0x2c89')][_0x1cd3('0x2f6b')](![]);this[_0x1cd3('0x2c89')]['autoScroll']=![];this[_0x1cd3('0x2c89')]['setTooltips'](![]);this['graph']['setEnabled'](![]);this[_0x1cd3('0x2c89')][_0x1cd3('0x4ce')]['style'][_0x1cd3('0x29c7')]=_0x1cd3('0x533');this[_0x1cd3('0x2c89')][_0x1cd3('0x4ce')]['style'][_0x1cd3('0x679')]=_0x1cd3('0x532');this[_0x1cd3('0x2c89')][_0x1cd3('0x4ce')][_0x1cd3('0x440')][_0x1cd3('0x29f1')]=_0x1cd3('0x533');this[_0x1cd3('0x2c89')]['container'][_0x1cd3('0x440')][_0x1cd3('0x4e4')]=_0x1cd3('0x2bc0');this[_0x1cd3('0x2c89')][_0x1cd3('0x4ce')][_0x1cd3('0x440')][_0x1cd3('0x4d7')]=_0x1cd3('0x2bc0');if(!mxClient['IS_IE']&&!mxClient[_0x1cd3('0x3509')]){this[_0x1cd3('0x2c89')][_0x1cd3('0x4ce')][_0x1cd3('0x440')][_0x1cd3('0x6ac')]=_0x1cd3('0x6ae');}document[_0x1cd3('0x380')][_0x1cd3('0xd4e')](this['graph'][_0x1cd3('0x4ce')]);this[_0x1cd3('0x350a')]=mxUtils[_0x1cd3('0x5b2')](this,function(){this['showTooltips']=!![];});mxEvent[_0x1cd3('0x29ba')](document,mxClient[_0x1cd3('0x350b')]?'pointerup':_0x1cd3('0x2b2d'),this['pointerUpHandler']);this[_0x1cd3('0x350c')]=mxUtils['bind'](this,function(){this[_0x1cd3('0x3508')]=![];this[_0x1cd3('0x336d')]();});mxEvent[_0x1cd3('0x29ba')](document,mxClient[_0x1cd3('0x350b')]?_0x1cd3('0x350d'):_0x1cd3('0x2b2b'),this[_0x1cd3('0x350c')]);this[_0x1cd3('0x350e')]=mxUtils[_0x1cd3('0x5b2')](this,function(_0x5bd8af){var _0x5f3f1b=mxEvent[_0x1cd3('0x2b17')](_0x5bd8af);while(_0x5f3f1b!=null){if(_0x5f3f1b==this[_0x1cd3('0x350f')]){return;}_0x5f3f1b=_0x5f3f1b['parentNode'];}this[_0x1cd3('0x336d')]();});mxEvent[_0x1cd3('0x29ba')](document,mxClient[_0x1cd3('0x350b')]?_0x1cd3('0x3510'):_0x1cd3('0x2b2c'),this[_0x1cd3('0x350e')]);this[_0x1cd3('0x3511')]=mxUtils[_0x1cd3('0x5b2')](this,function(_0x8572ec){if(_0x8572ec['toElement']==null&&_0x8572ec[_0x1cd3('0x3512')]==null){this['hideTooltip']();}});mxEvent[_0x1cd3('0x29ba')](document,mxClient[_0x1cd3('0x350b')]?'pointerout':'mouseout',this[_0x1cd3('0x3511')]);mxEvent[_0x1cd3('0x29ba')](_0x341e4e,'scroll',mxUtils['bind'](this,function(){this[_0x1cd3('0x3508')]=!![];}));this[_0x1cd3('0xe08')]();if(!mxClient[_0x1cd3('0x2978')]){new Image()['src']=IMAGE_PATH+_0x1cd3('0x3513');}};Sidebar[_0x1cd3('0x77a')][_0x1cd3('0xe08')]=function(){var _0x192cc1=STENCIL_PATH;this[_0x1cd3('0x3514')](!![]);this[_0x1cd3('0x3515')](_0x1cd3('0x3516'),mxResources[_0x1cd3('0x361')](_0x1cd3('0x3516')),_0x192cc1+_0x1cd3('0x3517'),_0x1cd3('0x3518'),[_0x1cd3('0x5f2'),'finally','end'],[mxResources[_0x1cd3('0x361')](_0x1cd3('0x5f2')),mxResources[_0x1cd3('0x361')](_0x1cd3('0x5dd')),mxResources[_0x1cd3('0x361')](_0x1cd3('0x137b'))]);this[_0x1cd3('0x3515')](_0x1cd3('0x3519'),mxResources['get']('call_management'),_0x192cc1+_0x1cd3('0x351a'),_0x1cd3('0x3518'),[_0x1cd3('0x5e2'),'hangup',_0x1cd3('0x2536'),_0x1cd3('0x344f'),'queue','voicemail',_0x1cd3('0x1dd4')],[mxResources[_0x1cd3('0x361')](_0x1cd3('0x5e2')),mxResources['get'](_0x1cd3('0x2542')),mxResources['get']('dial'),mxResources['get'](_0x1cd3('0x344f')),mxResources[_0x1cd3('0x361')](_0x1cd3('0x1220')),mxResources['get'](_0x1cd3('0x2553')),mxResources[_0x1cd3('0x361')]('callback')]);this['addImagePalette'](_0x1cd3('0x351b'),mxResources[_0x1cd3('0x361')](_0x1cd3('0x351b')),_0x192cc1+_0x1cd3('0x351c'),_0x1cd3('0x3518'),[_0x1cd3('0x375'),_0x1cd3('0x63e'),_0x1cd3('0x13ed'),_0x1cd3('0x376')],[mxResources[_0x1cd3('0x361')](_0x1cd3('0x375')),mxResources[_0x1cd3('0x361')](_0x1cd3('0x63e')),mxResources[_0x1cd3('0x361')](_0x1cd3('0x13ed')),mxResources[_0x1cd3('0x361')]('logout')]);this[_0x1cd3('0x3515')](_0x1cd3('0xb84'),mxResources[_0x1cd3('0x361')](_0x1cd3('0xb84')),_0x192cc1+_0x1cd3('0x351d'),_0x1cd3('0x3518'),[_0x1cd3('0x127e'),_0x1cd3('0x3450')],[mxResources[_0x1cd3('0x361')](_0x1cd3('0x127e')),mxResources[_0x1cd3('0x361')](_0x1cd3('0x3450'))]);this[_0x1cd3('0x3515')](_0x1cd3('0x2531'),mxResources[_0x1cd3('0x361')]('playback'),_0x192cc1+_0x1cd3('0x351e'),_0x1cd3('0x3518'),[_0x1cd3('0x2531'),_0x1cd3('0x2c0d'),_0x1cd3('0x351f'),_0x1cd3('0x3520'),_0x1cd3('0x3451'),'getdigits',_0x1cd3('0x3457')],[mxResources[_0x1cd3('0x361')](_0x1cd3('0x2531')),mxResources[_0x1cd3('0x361')]('menu'),mxResources[_0x1cd3('0x361')]('saydigits'),mxResources['get'](_0x1cd3('0x3520')),mxResources['get'](_0x1cd3('0x3451')),mxResources[_0x1cd3('0x361')](_0x1cd3('0x3456')),mxResources[_0x1cd3('0x361')](_0x1cd3('0x3457'))]);this[_0x1cd3('0x3515')](_0x1cd3('0x24a6'),mxResources['get']('recording'),_0x192cc1+'/recording/',_0x1cd3('0x3518'),[_0x1cd3('0x69a')],[mxResources['get'](_0x1cd3('0x69a'))]);this[_0x1cd3('0x3515')](_0x1cd3('0x3453'),'TTS',_0x192cc1+_0x1cd3('0x3521'),_0x1cd3('0x3518'),[_0x1cd3('0x3452'),_0x1cd3('0x3453'),_0x1cd3('0x3454'),_0x1cd3('0x3455'),_0x1cd3('0x3458'),_0x1cd3('0x3459'),_0x1cd3('0x345a')],[_0x1cd3('0x3522'),'GoogleTTS',_0x1cd3('0x3523'),_0x1cd3('0x3524'),_0x1cd3('0x3525'),'SestekTTS',_0x1cd3('0x3526')]);this[_0x1cd3('0x3515')](_0x1cd3('0x3527'),_0x1cd3('0x3528'),_0x192cc1+'/asr/',_0x1cd3('0x3518'),[_0x1cd3('0x34a1'),'ispeechasr',_0x1cd3('0x345e'),'tildeasr',_0x1cd3('0x3462'),_0x1cd3('0x3463')],[_0x1cd3('0x3529'),_0x1cd3('0x352a'),_0x1cd3('0x352b'),_0x1cd3('0x352c'),'SestekASR',_0x1cd3('0x352d')]);this[_0x1cd3('0x3515')](_0x1cd3('0x352e'),mxResources[_0x1cd3('0x361')](_0x1cd3('0x352e')),_0x192cc1+_0x1cd3('0x352f'),_0x1cd3('0x3518'),['database',_0x1cd3('0x3530'),_0x1cd3('0x345c'),_0x1cd3('0x1233'),'awslex',_0x1cd3('0x3461'),_0x1cd3('0x34a8')],[mxResources[_0x1cd3('0x361')]('database'),mxResources[_0x1cd3('0x361')](_0x1cd3('0x3530')),mxResources[_0x1cd3('0x361')](_0x1cd3('0x345c')),_0x1cd3('0x3531'),'AWSLex',_0x1cd3('0x3532'),'RestAPI']);this[_0x1cd3('0x3515')]('callflow',mxResources[_0x1cd3('0x361')](_0x1cd3('0x3533')),_0x192cc1+_0x1cd3('0x3534'),_0x1cd3('0x3518'),[_0x1cd3('0x3464'),_0x1cd3('0x121c'),_0x1cd3('0x3465'),_0x1cd3('0x3466')],[mxResources[_0x1cd3('0x361')](_0x1cd3('0x3464')),mxResources['get']('gotoif'),mxResources[_0x1cd3('0x361')]('gotoiftime'),mxResources[_0x1cd3('0x361')](_0x1cd3('0x3466'))]);this['addImagePalette']('stats',mxResources[_0x1cd3('0x361')](_0x1cd3('0x3535')),_0x192cc1+_0x1cd3('0x3536'),'_128x128.png',[_0x1cd3('0x3468')],[mxResources[_0x1cd3('0x361')]('goal')]);this[_0x1cd3('0x3515')](_0x1cd3('0x1fa0'),mxResources[_0x1cd3('0x361')](_0x1cd3('0x1fa0')),_0x192cc1+'/general/',_0x1cd3('0x3518'),[_0x1cd3('0x3a9'),_0x1cd3('0xa13'),'agi','subproject',_0x1cd3('0x3469')],[mxResources[_0x1cd3('0x361')](_0x1cd3('0x3a9')),mxResources['get'](_0x1cd3('0xa13')),mxResources['get'](_0x1cd3('0x128c')),mxResources[_0x1cd3('0x361')](_0x1cd3('0x3496')),mxResources[_0x1cd3('0x361')](_0x1cd3('0x3469'))]);};Sidebar[_0x1cd3('0x77a')][_0x1cd3('0x30f1')]=!mxClient[_0x1cd3('0x2978')]?IMAGE_PATH+_0x1cd3('0x30f2'):_0x1cd3('0x3537');Sidebar[_0x1cd3('0x77a')][_0x1cd3('0x30f3')]=!mxClient[_0x1cd3('0x2978')]?IMAGE_PATH+_0x1cd3('0x30f4'):_0x1cd3('0x3538');Sidebar[_0x1cd3('0x77a')]['tooltipImage']=!mxClient[_0x1cd3('0x2978')]?IMAGE_PATH+_0x1cd3('0x3513'):_0x1cd3('0x3539');Sidebar['prototype']['searchImage']=!mxClient[_0x1cd3('0x2978')]?IMAGE_PATH+'/search.png':_0x1cd3('0x353a');Sidebar['prototype'][_0x1cd3('0x353b')]=!![];Sidebar[_0x1cd3('0x77a')]['tooltipBorder']=0x10;Sidebar[_0x1cd3('0x77a')][_0x1cd3('0x353c')]=0x12c;Sidebar[_0x1cd3('0x77a')][_0x1cd3('0x353d')]=0xc8;Sidebar['prototype'][_0x1cd3('0x353e')]=0x24;Sidebar[_0x1cd3('0x77a')][_0x1cd3('0x353f')]=0x24;Sidebar[_0x1cd3('0x77a')][_0x1cd3('0x3540')]=document['documentMode']>=0x5?0x0:0x1;Sidebar[_0x1cd3('0x77a')][_0x1cd3('0x3541')]=0x2;Sidebar[_0x1cd3('0x77a')][_0x1cd3('0x3542')]=0x9;Sidebar['prototype']['sidebarTitles']=![];Sidebar[_0x1cd3('0x77a')][_0x1cd3('0x3543')]=!![];Sidebar[_0x1cd3('0x77a')][_0x1cd3('0x3544')]=0x190;Sidebar[_0x1cd3('0x77a')]['maxTooltipHeight']=0x190;Sidebar[_0x1cd3('0x77a')]['addStencilsToIndex']=!![];Sidebar[_0x1cd3('0x77a')][_0x1cd3('0x3545')]=0x50;Sidebar[_0x1cd3('0x77a')][_0x1cd3('0x3546')]=0x50;Sidebar['prototype'][_0x1cd3('0x2a61')]=function(_0x2c12f1){_0x2c12f1=_0x2c12f1[_0x1cd3('0x4dc')]();return{'left':_0x2c12f1[_0x1cd3('0x762')]+window[_0x1cd3('0x3547')],'top':_0x2c12f1[_0x1cd3('0x712')]+window['scrollY']};};Sidebar['prototype']['showTooltip']=function(_0x2a42e8,_0x1fa2b2,_0x491e6a,_0x5207d5,_0x3a6dd7,_0x4bedbb){if(this[_0x1cd3('0x353b')]&&this[_0x1cd3('0x3508')]){if(this[_0x1cd3('0x350f')]!=_0x2a42e8){if(this['thread']!=null){window[_0x1cd3('0x32f4')](this[_0x1cd3('0x2c5c')]);this[_0x1cd3('0x2c5c')]=null;}var _0x3c1b93=mxUtils['bind'](this,function(){if(this[_0x1cd3('0x3231')]==null){this['tooltip']=document[_0x1cd3('0x3aa')](_0x1cd3('0x2a72'));this['tooltip'][_0x1cd3('0x45d')]='geSidebarTooltip';this['tooltip'][_0x1cd3('0x440')][_0x1cd3('0x2bac')]=mxPopupMenu[_0x1cd3('0x77a')][_0x1cd3('0x2bac')]-0x1;document[_0x1cd3('0x380')]['appendChild'](this[_0x1cd3('0x3231')]);this['graph2']=new Graph(this[_0x1cd3('0x3231')],null,null,this['editorUi']['editor'][_0x1cd3('0x2c89')][_0x1cd3('0x3103')]());this[_0x1cd3('0x3548')][_0x1cd3('0x30e7')]=![];this[_0x1cd3('0x3548')][_0x1cd3('0x30ce')]=![];this[_0x1cd3('0x3548')][_0x1cd3('0x2beb')]=![];this[_0x1cd3('0x3548')][_0x1cd3('0x2c01')]=![];this[_0x1cd3('0x3548')][_0x1cd3('0x34e7')](![]);this[_0x1cd3('0x3548')]['setConnectable'](![]);this[_0x1cd3('0x3548')][_0x1cd3('0x2bee')](![]);if(!mxClient[_0x1cd3('0x2978')]){this[_0x1cd3('0x3548')][_0x1cd3('0x1665')][_0x1cd3('0x2a7e')][_0x1cd3('0x440')][_0x1cd3('0x679')]='relative';}this[_0x1cd3('0x3549')]=mxUtils['createImage'](this[_0x1cd3('0x3549')]);this['tooltipImage'][_0x1cd3('0x45d')]='geSidebarTooltipImage';this[_0x1cd3('0x3549')][_0x1cd3('0x440')][_0x1cd3('0x2bac')]=mxPopupMenu[_0x1cd3('0x77a')][_0x1cd3('0x2bac')]-0x1;this['tooltipImage']['style'][_0x1cd3('0x679')]=_0x1cd3('0x532');this[_0x1cd3('0x3549')][_0x1cd3('0x440')]['width']=_0x1cd3('0x354a');this['tooltipImage'][_0x1cd3('0x440')][_0x1cd3('0x4e4')]=_0x1cd3('0x354b');document[_0x1cd3('0x380')]['appendChild'](this[_0x1cd3('0x3549')]);}this[_0x1cd3('0x3548')][_0x1cd3('0x42e')][_0x1cd3('0x785')]();this[_0x1cd3('0x3548')][_0x1cd3('0x1665')][_0x1cd3('0x2c6f')](this[_0x1cd3('0x354c')],this['tooltipBorder']);if(_0x491e6a>this[_0x1cd3('0x3544')]||_0x5207d5>this[_0x1cd3('0x354d')]){this[_0x1cd3('0x3548')]['view'][_0x1cd3('0x29df')]=Math['round'](Math[_0x1cd3('0x4e3')](this['maxTooltipWidth']/_0x491e6a,this['maxTooltipHeight']/_0x5207d5)*0x64)/0x64;}else{this[_0x1cd3('0x3548')][_0x1cd3('0x1665')][_0x1cd3('0x29df')]=0x1;}this[_0x1cd3('0x3231')]['style'][_0x1cd3('0x6ac')]=_0x1cd3('0x574');this[_0x1cd3('0x3548')][_0x1cd3('0x30ed')]=_0x4bedbb==null||_0x4bedbb;this[_0x1cd3('0x3548')][_0x1cd3('0x2fc1')](_0x1fa2b2);var _0x53b1ce=this[_0x1cd3('0x3548')][_0x1cd3('0x2a84')]();var _0x316076=_0x53b1ce[_0x1cd3('0x4d7')]+0x2*this['tooltipBorder']+0x4;var _0x388280=_0x53b1ce['height']+0x2*this[_0x1cd3('0x354c')];if(mxClient[_0x1cd3('0x2a75')]){_0x388280+=0x4;this['tooltip'][_0x1cd3('0x440')][_0x1cd3('0x29f1')]=_0x1cd3('0x533');}else{this[_0x1cd3('0x3231')][_0x1cd3('0x440')][_0x1cd3('0x29f1')]='visible';}this[_0x1cd3('0x3549')][_0x1cd3('0x440')]['visibility']='visible';this[_0x1cd3('0x3231')][_0x1cd3('0x440')]['width']=_0x316076+'px';if(this['tooltipTitles']&&_0x3a6dd7!=null&&_0x3a6dd7[_0x1cd3('0x7a')]>0x0){if(this['tooltipTitle']==null){this['tooltipTitle']=document[_0x1cd3('0x3aa')](_0x1cd3('0x2a72'));this[_0x1cd3('0x354e')][_0x1cd3('0x440')]['borderTop']=_0x1cd3('0x354f');this['tooltipTitle'][_0x1cd3('0x440')][_0x1cd3('0x2d80')]=_0x1cd3('0x2b04');this[_0x1cd3('0x354e')][_0x1cd3('0x440')][_0x1cd3('0x4d7')]=_0x1cd3('0x29a1');this[_0x1cd3('0x354e')][_0x1cd3('0x440')][_0x1cd3('0x29f1')]=_0x1cd3('0x533');if(mxClient[_0x1cd3('0x2978')]){this['tooltipTitle'][_0x1cd3('0x440')][_0x1cd3('0x312a')]='6px';}else{this[_0x1cd3('0x354e')][_0x1cd3('0x440')][_0x1cd3('0x679')]=_0x1cd3('0x532');this[_0x1cd3('0x354e')][_0x1cd3('0x440')][_0x1cd3('0x312a')]=_0x1cd3('0x3550');}this[_0x1cd3('0x3231')]['appendChild'](this['tooltipTitle']);}else{this[_0x1cd3('0x354e')]['innerHTML']='';}this[_0x1cd3('0x354e')][_0x1cd3('0x440')][_0x1cd3('0x6ac')]='';mxUtils['write'](this[_0x1cd3('0x354e')],_0x3a6dd7);var _0x57fc85=this[_0x1cd3('0x354e')]['offsetHeight']+0xa;_0x388280+=_0x57fc85;if(mxClient[_0x1cd3('0x2978')]){this['tooltipTitle'][_0x1cd3('0x440')]['marginTop']=0x2-_0x57fc85+'px';}else{_0x388280-=0x6;this['tooltipTitle']['style'][_0x1cd3('0x712')]=_0x388280-_0x57fc85+'px';}}else if(this[_0x1cd3('0x354e')]!=null&&this['tooltipTitle'][_0x1cd3('0x29ea')]!=null){this[_0x1cd3('0x354e')][_0x1cd3('0x440')][_0x1cd3('0x6ac')]=_0x1cd3('0x6ae');}this[_0x1cd3('0x3231')][_0x1cd3('0x440')][_0x1cd3('0x4e4')]=_0x388280+'px';var _0x3cbd74=-Math[_0x1cd3('0x18ba')](_0x53b1ce['x']-this['tooltipBorder']);var _0xb5786f=-Math['round'](_0x53b1ce['y']-this[_0x1cd3('0x354c')]);var _0x4df025=document[_0x1cd3('0x380')];var _0x1d535f=document[_0x1cd3('0x2a20')];var _0x53c253=_0x4df025[_0x1cd3('0x29b4')]||_0x1d535f['clientHeight'];var _0x2f9be2=document['getElementById'](_0x1cd3('0x3551'))[_0x1cd3('0x2a1f')]+this[_0x1cd3('0x4ce')][_0x1cd3('0x29b5')];var _0x1fccb5=Math[_0x1cd3('0x13d1')](0x0,this[_0x1cd3('0x2a61')](_0x2a42e8)[_0x1cd3('0x712')]-this['container'][_0x1cd3('0x515')]-_0x388280/0x2+0x10);if(mxClient[_0x1cd3('0x2978')]){if(_0x3cbd74!=0x0||_0xb5786f!=0x0){this[_0x1cd3('0x3548')]['view'][_0x1cd3('0x2a7e')]['setAttribute'](_0x1cd3('0x2a91'),_0x1cd3('0x2d2a')+_0x3cbd74+','+_0xb5786f+')');}else{this[_0x1cd3('0x3548')][_0x1cd3('0x1665')]['canvas']['removeAttribute'](_0x1cd3('0x2a91'));}}else{this[_0x1cd3('0x3548')][_0x1cd3('0x1665')][_0x1cd3('0x2a7b')][_0x1cd3('0x440')][_0x1cd3('0x762')]=_0x3cbd74+'px';this[_0x1cd3('0x3548')]['view'][_0x1cd3('0x2a7b')]['style'][_0x1cd3('0x712')]=_0xb5786f+'px';}this[_0x1cd3('0x3231')][_0x1cd3('0x440')][_0x1cd3('0x679')]=_0x1cd3('0x532');this['tooltip']['style'][_0x1cd3('0x762')]=_0x2f9be2+'px';this[_0x1cd3('0x3231')][_0x1cd3('0x440')]['top']=_0x1fccb5+'px';this[_0x1cd3('0x3549')]['style'][_0x1cd3('0x762')]=_0x2f9be2-0xd+'px';this[_0x1cd3('0x3549')][_0x1cd3('0x440')][_0x1cd3('0x712')]=_0x1fccb5+_0x388280/0x2-0xd+'px';});if(this[_0x1cd3('0x3231')]!=null&&this['tooltip']['style'][_0x1cd3('0x6ac')]!=_0x1cd3('0x6ae')){_0x3c1b93();}else{this[_0x1cd3('0x2c5c')]=window[_0x1cd3('0x29e9')](_0x3c1b93,this['tooltipDelay']);}this[_0x1cd3('0x350f')]=_0x2a42e8;}}};Sidebar[_0x1cd3('0x77a')][_0x1cd3('0x336d')]=function(){if(this[_0x1cd3('0x2c5c')]!=null){window[_0x1cd3('0x32f4')](this[_0x1cd3('0x2c5c')]);this[_0x1cd3('0x2c5c')]=null;}if(this['tooltip']!=null){this[_0x1cd3('0x3231')][_0x1cd3('0x440')][_0x1cd3('0x6ac')]=_0x1cd3('0x6ae');this[_0x1cd3('0x3549')][_0x1cd3('0x440')][_0x1cd3('0x29c7')]=_0x1cd3('0x533');this[_0x1cd3('0x350f')]=null;}};Sidebar['prototype'][_0x1cd3('0x3552')]=function(_0x56b679,_0x3858a6){if(this[_0x1cd3('0x3507')]!=null&&_0x56b679!=null&&_0x56b679[_0x1cd3('0x7a')]>0x0){var _0x401bb2=_0x56b679[_0x1cd3('0x433')]()[_0x1cd3('0x3f1')](/[\/\,\(\)]/g,'\x20')[_0x1cd3('0x3ef')]('\x20');for(var _0x29b1a8=0x0;_0x29b1a8<_0x401bb2['length'];_0x29b1a8++){_0x401bb2[_0x29b1a8]=_0x401bb2[_0x29b1a8][_0x1cd3('0x3f1')](/\.*\d*$/,'');if(_0x401bb2[_0x29b1a8][_0x1cd3('0x7a')]>0x1){var _0x2fd16e=this[_0x1cd3('0x3507')][_0x401bb2[_0x29b1a8]];if(_0x2fd16e==null){_0x2fd16e={'entries':[],'dict':new mxDictionary()};this[_0x1cd3('0x3507')][_0x401bb2[_0x29b1a8]]=_0x2fd16e;}if(_0x2fd16e[_0x1cd3('0x3553')][_0x1cd3('0x361')](_0x3858a6)==null){_0x2fd16e[_0x1cd3('0x3553')][_0x1cd3('0x37b')](_0x3858a6,_0x3858a6);_0x2fd16e['entries'][_0x1cd3('0x7b')](_0x3858a6);}}}}return _0x3858a6;};Sidebar[_0x1cd3('0x77a')]['searchEntries']=function(_0x191042,_0x8581d8,_0x27641a,_0x49f41c,_0x3c6528){if(this['taglist']!=null&&_0x191042!=null){var _0x448a17=_0x191042[_0x1cd3('0x433')]()[_0x1cd3('0x3ef')]('\x20');var _0xeefbf6=new mxDictionary();var _0x5e8d76=(_0x27641a+0x1)*_0x8581d8;var _0x48c1b9=[];var _0x3b08fd=0x0;for(var _0x5927f2=0x0;_0x5927f2<_0x448a17[_0x1cd3('0x7a')];_0x5927f2++){if(_0x448a17[_0x5927f2][_0x1cd3('0x7a')]>0x0){var _0x59b5d9=this['taglist'][_0x448a17[_0x5927f2]];var _0x567279=new mxDictionary();if(_0x59b5d9!=null){var _0x3b27dc=_0x59b5d9[_0x1cd3('0x3554')];_0x48c1b9=[];for(var _0x5f3a70=0x0;_0x5f3a70<_0x3b27dc[_0x1cd3('0x7a')];_0x5f3a70++){var _0x59b5d9=_0x3b27dc[_0x5f3a70];if(_0x3b08fd==0x0==(_0xeefbf6[_0x1cd3('0x361')](_0x59b5d9)==null)){_0x567279[_0x1cd3('0x37b')](_0x59b5d9,_0x59b5d9);_0x48c1b9[_0x1cd3('0x7b')](_0x59b5d9);if(_0x5927f2==_0x448a17[_0x1cd3('0x7a')]-0x1&&_0x48c1b9['length']==_0x5e8d76){_0x49f41c(_0x48c1b9['slice'](_0x27641a*_0x8581d8,_0x5e8d76),_0x5e8d76,!![]);return;}}}}else{_0x48c1b9=[];}_0xeefbf6=_0x567279;_0x3b08fd++;}}var _0x545fec=_0x48c1b9['length'];_0x49f41c(_0x48c1b9[_0x1cd3('0x9a2')](_0x27641a*_0x8581d8,(_0x27641a+0x1)*_0x8581d8),_0x545fec,![]);}else{_0x49f41c([]);}};Sidebar['prototype'][_0x1cd3('0x3555')]=function(_0x17116f){if(_0x17116f!=null){var _0x58687f=_0x17116f[_0x1cd3('0x3ef')]('\x20');var _0x5110ed=[];var _0x37dd60={};for(var _0x19ae6b=0x0;_0x19ae6b<_0x58687f[_0x1cd3('0x7a')];_0x19ae6b++){if(_0x37dd60[_0x58687f[_0x19ae6b]]==null){_0x37dd60[_0x58687f[_0x19ae6b]]='1';_0x5110ed['push'](_0x58687f[_0x19ae6b]);}}return _0x5110ed['join']('\x20');}return null;};Sidebar[_0x1cd3('0x77a')][_0x1cd3('0x2f5a')]=function(_0x490fd4,_0x36626c){var _0xe19385=_0x490fd4[_0x1cd3('0x1141')]();if(_0x36626c!=null){_0xe19385[_0x1cd3('0x3db')]=_0x36626c;}return _0xe19385;};Sidebar[_0x1cd3('0x77a')][_0x1cd3('0x3514')]=function(_0x2b575e){var _0x2958ab=document[_0x1cd3('0x3aa')](_0x1cd3('0x2a72'));_0x2958ab[_0x1cd3('0x440')][_0x1cd3('0x29c7')]='hidden';this['container']['appendChild'](_0x2958ab);var _0x232046=document[_0x1cd3('0x3aa')](_0x1cd3('0x2a72'));_0x232046[_0x1cd3('0x45d')]=_0x1cd3('0x3556');_0x232046['style'][_0x1cd3('0x3557')]=_0x1cd3('0x3558');_0x232046[_0x1cd3('0x440')][_0x1cd3('0x29f1')]='hidden';_0x232046['style'][_0x1cd3('0x4d7')]=_0x1cd3('0x29a1');_0x232046['style'][_0x1cd3('0x2a9b')]=_0x1cd3('0x3559');_0x232046['style'][_0x1cd3('0x312a')]=_0x1cd3('0x354a');_0x232046['style'][_0x1cd3('0x312d')]='0px';if(!_0x2b575e){_0x232046[_0x1cd3('0x440')][_0x1cd3('0x6ac')]=_0x1cd3('0x6ae');}var _0x4e29be=document['createElement'](_0x1cd3('0x2a72'));_0x4e29be[_0x1cd3('0x440')][_0x1cd3('0x2ac7')]='nowrap';_0x4e29be['style'][_0x1cd3('0x355a')]=_0x1cd3('0x2d03');_0x4e29be[_0x1cd3('0x440')]['paddingBottom']='8px';_0x4e29be[_0x1cd3('0x440')][_0x1cd3('0x29ec')]=_0x1cd3('0x5bd');var _0x3b6346=document[_0x1cd3('0x3aa')](_0x1cd3('0x1304'));_0x3b6346[_0x1cd3('0x481')](_0x1cd3('0x499'),mxResources[_0x1cd3('0x361')]('searchShapes'));_0x3b6346[_0x1cd3('0x481')]('type',_0x1cd3('0x401'));_0x3b6346[_0x1cd3('0x440')]['fontSize']=_0x1cd3('0x355b');_0x3b6346[_0x1cd3('0x440')][_0x1cd3('0x29f1')]=_0x1cd3('0x533');_0x3b6346[_0x1cd3('0x440')]['boxSizing']=_0x1cd3('0x3558');_0x3b6346['style'][_0x1cd3('0x2c6a')]='solid\x201px\x20#d5d5d5';_0x3b6346[_0x1cd3('0x440')][_0x1cd3('0x355c')]=_0x1cd3('0x2bcd');_0x3b6346[_0x1cd3('0x440')]['width']=_0x1cd3('0x29a1');_0x3b6346['style']['outline']='none';_0x3b6346[_0x1cd3('0x440')]['padding']='6px';_0x4e29be[_0x1cd3('0xd4e')](_0x3b6346);var _0x5cdc7d=document[_0x1cd3('0x3aa')](_0x1cd3('0x774'));_0x5cdc7d[_0x1cd3('0x481')](_0x1cd3('0x487'),Sidebar[_0x1cd3('0x77a')]['searchImage']);_0x5cdc7d[_0x1cd3('0x481')](_0x1cd3('0x486'),mxResources[_0x1cd3('0x361')](_0x1cd3('0x3e4')));_0x5cdc7d[_0x1cd3('0x440')]['position']=_0x1cd3('0x2d83');_0x5cdc7d['style']['left']=_0x1cd3('0x355d');if(mxClient[_0x1cd3('0x2a75')]){_0x3b6346['style'][_0x1cd3('0x4e4')]=_0x1cd3('0x355e');_0x5cdc7d[_0x1cd3('0x440')][_0x1cd3('0x712')]=_0x1cd3('0x355f');}else{_0x5cdc7d['style']['top']='2px';}_0x5cdc7d[_0x1cd3('0x440')][_0x1cd3('0x2e17')]='url(\x27'+this[_0x1cd3('0x3506')][_0x1cd3('0x3374')]['transparentImage']+'\x27)';var _0x10aa6d;_0x4e29be[_0x1cd3('0xd4e')](_0x5cdc7d);_0x232046[_0x1cd3('0xd4e')](_0x4e29be);var _0x411783=document[_0x1cd3('0x3aa')](_0x1cd3('0x2b04'));var _0x1525af=mxUtils[_0x1cd3('0x2a1a')](mxResources[_0x1cd3('0x361')](_0x1cd3('0x3560')),function(){_0x10aa6d();});_0x1525af[_0x1cd3('0x440')]['display']='none';_0x1525af[_0x1cd3('0x440')]['lineHeight']=_0x1cd3('0x2d85');_0x1525af[_0x1cd3('0x440')][_0x1cd3('0x2bce')]='4px';_0x1525af[_0x1cd3('0x440')]['marginBottom']=_0x1cd3('0x3559');_0x411783['style'][_0x1cd3('0x312a')]=_0x1cd3('0x2bcd');_0x411783[_0x1cd3('0x440')][_0x1cd3('0x312d')]=_0x1cd3('0x3559');_0x411783[_0x1cd3('0xd4e')](_0x1525af);_0x232046[_0x1cd3('0xd4e')](_0x411783);var _0x23064b='';var _0x45d385=![];var _0x30d3b3=![];var _0x390f3a=0x0;var _0x18096c=new Object();var _0x5aadb5=0xc;var _0x6a4844=mxUtils[_0x1cd3('0x5b2')](this,function(){_0x45d385=![];this[_0x1cd3('0x3561')]=null;var _0x33735c=_0x232046[_0x1cd3('0x29f5')];while(_0x33735c!=null){var _0x316c08=_0x33735c[_0x1cd3('0x29f7')];if(_0x33735c!=_0x4e29be&&_0x33735c!=_0x411783){_0x33735c[_0x1cd3('0x29ea')][_0x1cd3('0x1817')](_0x33735c);}_0x33735c=_0x316c08;}});_0x10aa6d=mxUtils['bind'](this,function(){_0x5aadb5=0x4*Math[_0x1cd3('0x13d1')](0x1,Math[_0x1cd3('0x6b1')](this[_0x1cd3('0x4ce')][_0x1cd3('0x29b5')]/(this[_0x1cd3('0x353e')]+0xa)));this[_0x1cd3('0x336d')]();if(_0x3b6346['value']!=''){if(_0x411783[_0x1cd3('0x29ea')]!=null){if(_0x23064b!=_0x3b6346[_0x1cd3('0x3db')]){_0x6a4844();_0x23064b=_0x3b6346[_0x1cd3('0x3db')];_0x18096c=new Object();_0x30d3b3=![];_0x390f3a=0x0;}if(!_0x45d385&&!_0x30d3b3){_0x1525af[_0x1cd3('0x481')](_0x1cd3('0x447'),'true');_0x1525af[_0x1cd3('0x440')][_0x1cd3('0x6ac')]='';_0x1525af[_0x1cd3('0x440')][_0x1cd3('0x29ec')]=_0x1cd3('0x15b6');_0x1525af[_0x1cd3('0x2a15')]=mxResources[_0x1cd3('0x361')](_0x1cd3('0x1d74'))+_0x1cd3('0x2011');_0x45d385=!![];var _0x13f03c=new Object();this[_0x1cd3('0x3561')]=_0x13f03c;this[_0x1cd3('0x3562')](_0x23064b,_0x5aadb5,_0x390f3a,mxUtils[_0x1cd3('0x5b2')](this,function(_0x5bf1e7,_0xda4a1d,_0x7387da){if(this[_0x1cd3('0x3561')]==_0x13f03c){_0x5bf1e7=_0x5bf1e7!=null?_0x5bf1e7:[];_0x45d385=![];_0x390f3a++;_0x411783[_0x1cd3('0x29ea')][_0x1cd3('0x1817')](_0x411783);for(var _0x3fbf8f=0x0;_0x3fbf8f<_0x5bf1e7[_0x1cd3('0x7a')];_0x3fbf8f++){var _0x39c6ae=_0x5bf1e7[_0x3fbf8f]();if(_0x18096c[_0x39c6ae['innerHTML']]==null){_0x18096c[_0x39c6ae[_0x1cd3('0x2a15')]]='1';_0x232046[_0x1cd3('0xd4e')](_0x5bf1e7[_0x3fbf8f]());}}if(_0x7387da){_0x1525af['removeAttribute']('disabled');_0x1525af[_0x1cd3('0x2a15')]=mxResources[_0x1cd3('0x361')](_0x1cd3('0x3560'));}else{_0x1525af[_0x1cd3('0x2a15')]=mxResources['get'](_0x1cd3('0x358'));_0x1525af[_0x1cd3('0x440')]['display']=_0x1cd3('0x6ae');_0x30d3b3=!![];}_0x1525af[_0x1cd3('0x440')][_0x1cd3('0x29ec')]='';if(_0x5bf1e7[_0x1cd3('0x7a')]==0x0&&_0x390f3a==0x1){var _0x40cf60=document[_0x1cd3('0x3aa')](_0x1cd3('0x2a72'));_0x40cf60[_0x1cd3('0x45d')]=_0x1cd3('0x3563');_0x40cf60[_0x1cd3('0x440')][_0x1cd3('0x2c0c')]=_0x1cd3('0x2d19');_0x40cf60[_0x1cd3('0x440')][_0x1cd3('0x2f79')]='transparent';_0x40cf60[_0x1cd3('0x440')][_0x1cd3('0x3c6')]=_0x1cd3('0x2ab1');_0x40cf60['style'][_0x1cd3('0x2a9b')]=_0x1cd3('0x538');_0x40cf60[_0x1cd3('0x440')]['margin']=_0x1cd3('0x3564');_0x40cf60[_0x1cd3('0x440')][_0x1cd3('0x312a')]=_0x1cd3('0x3550');_0x40cf60[_0x1cd3('0x440')][_0x1cd3('0x2d80')]=_0x1cd3('0x2b04');_0x40cf60['style'][_0x1cd3('0x29ec')]='default';mxUtils[_0x1cd3('0x28be')](_0x40cf60,mxResources[_0x1cd3('0x361')](_0x1cd3('0x3565'),[_0x23064b]));_0x232046[_0x1cd3('0xd4e')](_0x40cf60);}_0x232046[_0x1cd3('0xd4e')](_0x411783);}}),mxUtils[_0x1cd3('0x5b2')](this,function(){_0x1525af[_0x1cd3('0x440')][_0x1cd3('0x29ec')]='';}));}}}else{_0x6a4844();_0x3b6346[_0x1cd3('0x3db')]='';_0x23064b='';_0x18096c=new Object();_0x1525af[_0x1cd3('0x440')]['display']=_0x1cd3('0x6ae');_0x30d3b3=![];_0x3b6346['focus']();}});mxEvent['addListener'](_0x3b6346,_0x1cd3('0x2fcb'),mxUtils[_0x1cd3('0x5b2')](this,function(_0xf4c91d){if(_0xf4c91d[_0x1cd3('0x65e')]==0xd){_0x10aa6d();}}));mxEvent['addListener'](_0x3b6346,_0x1cd3('0x15e4'),function(){_0x3b6346[_0x1cd3('0x440')][_0x1cd3('0x312b')]='';_0x5cdc7d['style']['display']=_0x1cd3('0x6ae');});mxEvent['addListener'](_0x3b6346,_0x1cd3('0x2fe0'),function(){_0x3b6346[_0x1cd3('0x440')][_0x1cd3('0x312b')]=_0x1cd3('0x2a9c');_0x5cdc7d['style'][_0x1cd3('0x6ac')]='';});_0x3b6346[_0x1cd3('0x440')][_0x1cd3('0x312b')]=_0x1cd3('0x2a9c');mxEvent[_0x1cd3('0x29ba')](_0x3b6346,_0x1cd3('0x65d'),mxUtils[_0x1cd3('0x5b2')](this,function(_0x22ec3a){if(_0x3b6346[_0x1cd3('0x3db')]==''){_0x30d3b3=!![];_0x1525af[_0x1cd3('0x440')][_0x1cd3('0x6ac')]=_0x1cd3('0x6ae');}else if(_0x3b6346['value']!=_0x23064b){_0x1525af['style'][_0x1cd3('0x6ac')]=_0x1cd3('0x6ae');_0x30d3b3=![];}else if(!_0x45d385){if(_0x30d3b3){_0x1525af[_0x1cd3('0x440')]['display']='none';}else{_0x1525af['style']['display']='';}}}));mxEvent[_0x1cd3('0x29ba')](_0x3b6346,'mousedown',function(_0x50b414){if(_0x50b414[_0x1cd3('0x3566')]){_0x50b414[_0x1cd3('0x3566')]();}_0x50b414['cancelBubble']=!![];});mxEvent[_0x1cd3('0x29ba')](_0x3b6346,'selectstart',function(_0x25e211){if(_0x25e211[_0x1cd3('0x3566')]){_0x25e211[_0x1cd3('0x3566')]();}_0x25e211[_0x1cd3('0x2b49')]=!![];});var _0x515dcd=document['createElement'](_0x1cd3('0x2a72'));_0x515dcd[_0x1cd3('0xd4e')](_0x232046);this[_0x1cd3('0x4ce')][_0x1cd3('0xd4e')](_0x515dcd);this[_0x1cd3('0x4f2')][_0x1cd3('0x3e4')]=[_0x2958ab,_0x515dcd];};Sidebar['prototype'][_0x1cd3('0x3567')]=function(_0x49cf60){var _0x9abdd2=document[_0x1cd3('0x3aa')]('a');_0x9abdd2[_0x1cd3('0x481')](_0x1cd3('0x3ab'),_0x1cd3('0x3568'));_0x9abdd2[_0x1cd3('0x481')]('title',mxResources['get'](_0x1cd3('0x3569')));_0x9abdd2['className']=_0x1cd3('0x3563');mxUtils[_0x1cd3('0x28be')](_0x9abdd2,_0x49cf60);return _0x9abdd2;};Sidebar[_0x1cd3('0x77a')]['createThumb']=function(_0x4016cf,_0x10251b,_0x3643e7,_0x57fe1d,_0x348619,_0x59616d,_0x368f82,_0x296754,_0x4944c8){this[_0x1cd3('0x2c89')][_0x1cd3('0x30ed')]=_0x59616d==null||_0x59616d;var _0x510119=mxClient[_0x1cd3('0x3019')];mxClient[_0x1cd3('0x3019')]=Editor[_0x1cd3('0x77a')]['originalNoForeignObject'];if(![]&&_0x296754!=null&&_0x4944c8!=null){var _0x17b74e=Math[_0x1cd3('0x6b1')](Math[_0x1cd3('0x4e3')]((_0x10251b-0x2*this[_0x1cd3('0x3541')])/_0x296754,(_0x3643e7-0x2*this[_0x1cd3('0x3541')])/_0x4944c8)*0x64)/0x64;this['graph'][_0x1cd3('0x1665')][_0x1cd3('0x2b64')](_0x17b74e,Math[_0x1cd3('0x6b1')]((_0x10251b-_0x296754*_0x17b74e)/0x2/_0x17b74e),Math[_0x1cd3('0x6b1')]((_0x3643e7-_0x4944c8*_0x17b74e)/0x2/_0x17b74e));this[_0x1cd3('0x2c89')]['addCells'](_0x4016cf);}else{this[_0x1cd3('0x2c89')][_0x1cd3('0x1665')]['scaleAndTranslate'](0x1,0x0,0x0);this[_0x1cd3('0x2c89')]['addCells'](_0x4016cf);var _0x34e77e=this[_0x1cd3('0x2c89')]['getGraphBounds']();var _0x17b74e=Math['floor'](Math[_0x1cd3('0x4e3')]((_0x10251b-0x2*this[_0x1cd3('0x3541')])/_0x34e77e['width'],(_0x3643e7-0x2*this[_0x1cd3('0x3541')])/_0x34e77e['height'])*0x64)/0x64;this['graph'][_0x1cd3('0x1665')][_0x1cd3('0x2b64')](_0x17b74e,Math['floor']((_0x10251b-_0x34e77e[_0x1cd3('0x4d7')]*_0x17b74e)/0x2/_0x17b74e-_0x34e77e['x']),Math[_0x1cd3('0x6b1')]((_0x3643e7-_0x34e77e[_0x1cd3('0x4e4')]*_0x17b74e)/0x2/_0x17b74e-_0x34e77e['y']));}var _0x4d7f5a=null;if(this['graph']['dialect']==mxConstants[_0x1cd3('0x2a7c')]&&!mxClient[_0x1cd3('0x3019')]){_0x4d7f5a=this[_0x1cd3('0x2c89')]['view'][_0x1cd3('0x2f94')]()[_0x1cd3('0x2a92')][_0x1cd3('0x2a80')](!![]);}else{_0x4d7f5a=this[_0x1cd3('0x2c89')][_0x1cd3('0x4ce')][_0x1cd3('0x2a80')](![]);_0x4d7f5a[_0x1cd3('0x2a15')]=this[_0x1cd3('0x2c89')][_0x1cd3('0x4ce')][_0x1cd3('0x2a15')];}this[_0x1cd3('0x2c89')][_0x1cd3('0x2a77')]()[_0x1cd3('0x785')]();mxClient[_0x1cd3('0x3019')]=_0x510119;if(mxClient['IS_IE6']){_0x57fe1d[_0x1cd3('0x440')][_0x1cd3('0x2dfc')]='url('+this[_0x1cd3('0x3506')][_0x1cd3('0x3374')][_0x1cd3('0x34e4')]+')';}_0x4d7f5a[_0x1cd3('0x440')][_0x1cd3('0x679')]='relative';_0x4d7f5a['style'][_0x1cd3('0x29f1')]='hidden';_0x4d7f5a[_0x1cd3('0x440')]['cursor']='move';_0x4d7f5a[_0x1cd3('0x440')]['left']=this[_0x1cd3('0x3541')]+'px';_0x4d7f5a[_0x1cd3('0x440')][_0x1cd3('0x712')]=this[_0x1cd3('0x3541')]+'px';_0x4d7f5a[_0x1cd3('0x440')][_0x1cd3('0x4d7')]=_0x10251b+'px';_0x4d7f5a[_0x1cd3('0x440')]['height']=_0x3643e7+'px';_0x4d7f5a[_0x1cd3('0x440')][_0x1cd3('0x29c7')]='';_0x4d7f5a[_0x1cd3('0x440')][_0x1cd3('0x356a')]='';_0x4d7f5a['style'][_0x1cd3('0x3131')]='';_0x57fe1d[_0x1cd3('0xd4e')](_0x4d7f5a);if(this[_0x1cd3('0x356b')]&&_0x348619!=null&&_0x368f82!=![]){var _0x409993=mxClient[_0x1cd3('0x2a75')]?0x2*this['thumbPadding']+0x2:0x0;_0x57fe1d[_0x1cd3('0x440')][_0x1cd3('0x4e4')]=this[_0x1cd3('0x353f')]+_0x409993+this[_0x1cd3('0x3542')]+0x8+'px';var _0x23185d=document[_0x1cd3('0x3aa')]('div');_0x23185d[_0x1cd3('0x440')][_0x1cd3('0x8d6')]=this[_0x1cd3('0x3542')]+'px';_0x23185d[_0x1cd3('0x440')][_0x1cd3('0x3c6')]=_0x1cd3('0x356c');_0x23185d[_0x1cd3('0x440')][_0x1cd3('0x2d80')]=_0x1cd3('0x2b04');_0x23185d[_0x1cd3('0x440')][_0x1cd3('0x2ac7')]=_0x1cd3('0x2d86');if(mxClient[_0x1cd3('0x298a')]){_0x23185d[_0x1cd3('0x440')]['height']=this[_0x1cd3('0x3542')]+0xc+'px';}_0x23185d[_0x1cd3('0x440')]['paddingTop']=_0x1cd3('0x2bcd');mxUtils[_0x1cd3('0x28be')](_0x23185d,_0x348619);_0x57fe1d[_0x1cd3('0xd4e')](_0x23185d);}return _0x34e77e;};Sidebar['prototype']['createItem']=function(_0x2d29a2,_0x5820cc,_0x4daff4,_0x472f50,_0xbd14ce,_0x19be89,_0x3933fa){var _0x127b1f=document[_0x1cd3('0x3aa')]('a');_0x127b1f['setAttribute'](_0x1cd3('0x3ab'),_0x1cd3('0x3568'));_0x127b1f[_0x1cd3('0x45d')]=_0x1cd3('0x356d');_0x127b1f[_0x1cd3('0x440')][_0x1cd3('0x29f1')]=_0x1cd3('0x533');var _0x12bb7d=mxClient[_0x1cd3('0x2a75')]?0x8+0x2*this[_0x1cd3('0x3540')]:0x2*this['thumbBorder'];_0x127b1f['style'][_0x1cd3('0x4d7')]=this[_0x1cd3('0x353e')]+_0x12bb7d+'px';_0x127b1f[_0x1cd3('0x440')][_0x1cd3('0x4e4')]=this['thumbHeight']+_0x12bb7d+'px';_0x127b1f['style'][_0x1cd3('0x2a9b')]=this['thumbPadding']+'px';mxEvent['addListener'](_0x127b1f,_0x1cd3('0x52d'),function(_0x316603){mxEvent[_0x1cd3('0x2b14')](_0x316603);});this[_0x1cd3('0x356e')](_0x2d29a2,this[_0x1cd3('0x353e')],this[_0x1cd3('0x353f')],_0x127b1f,_0x5820cc,_0x4daff4,_0x472f50,_0xbd14ce,_0x19be89);var _0x2bb1eb=new mxRectangle(0x0,0x0,_0xbd14ce,_0x19be89);if(_0x2d29a2[_0x1cd3('0x7a')]>0x1||_0x2d29a2[0x0]['vertex']){var _0xbe75db=this[_0x1cd3('0x356f')](_0x127b1f,this[_0x1cd3('0x3570')](_0x2d29a2,!![],_0x3933fa,_0x2bb1eb),this[_0x1cd3('0x3571')](_0xbd14ce,_0x19be89),_0x2d29a2,_0x2bb1eb);this[_0x1cd3('0x3572')](_0x127b1f,_0xbe75db,_0x2d29a2);_0xbe75db['isGuidesEnabled']=mxUtils[_0x1cd3('0x5b2')](this,function(){return this[_0x1cd3('0x3506')][_0x1cd3('0x3374')][_0x1cd3('0x2c89')][_0x1cd3('0x2bfe')][_0x1cd3('0x2bea')];});}else if(_0x2d29a2[0x0]!=null&&_0x2d29a2[0x0]['edge']){var _0xbe75db=this[_0x1cd3('0x356f')](_0x127b1f,this[_0x1cd3('0x3570')](_0x2d29a2,![],_0x3933fa,_0x2bb1eb),this[_0x1cd3('0x3571')](_0xbd14ce,_0x19be89),_0x2d29a2,_0x2bb1eb);this[_0x1cd3('0x3572')](_0x127b1f,_0xbe75db,_0x2d29a2);}if(!mxClient[_0x1cd3('0x3573')]){mxEvent[_0x1cd3('0x2b32')](_0x127b1f,null,mxUtils[_0x1cd3('0x5b2')](this,function(_0x565228){this[_0x1cd3('0x1647')](_0x127b1f,_0x2d29a2,_0x2bb1eb[_0x1cd3('0x4d7')],_0x2bb1eb[_0x1cd3('0x4e4')],_0x5820cc,_0x4daff4);}));}return _0x127b1f;};Sidebar[_0x1cd3('0x77a')][_0x1cd3('0x3570')]=function(_0x185560,_0x38b148,_0x4bc20c,_0x2fb923){_0x4bc20c=_0x4bc20c!=null?_0x4bc20c:!![];return mxUtils[_0x1cd3('0x5b2')](this,function(_0x3c2e89,_0x4c7654,_0x1db57e,_0xd3adff,_0x5ee5ad){if(_0x3c2e89[_0x1cd3('0x2c76')]()){_0x185560=_0x3c2e89[_0x1cd3('0x2b95')](_0x185560);if(_0x185560[_0x1cd3('0x7a')]>0x0){_0x3c2e89['stopEditing']();var _0x13e7fd=_0x1db57e!=null?_0x3c2e89[_0x1cd3('0x3210')](_0x1db57e,_0x185560,_0x4c7654):![];var _0x1e4971=null;if(_0x1db57e!=null&&!_0x13e7fd){_0x1db57e=null;}if(!_0x3c2e89[_0x1cd3('0x31c4')](_0x1db57e||_0x3c2e89[_0x1cd3('0x2b97')]())){_0x3c2e89[_0x1cd3('0x42e')][_0x1cd3('0x2a6c')]();try{_0xd3adff=Math['round'](_0xd3adff);_0x5ee5ad=Math[_0x1cd3('0x18ba')](_0x5ee5ad);if(_0x38b148&&_0x3c2e89[_0x1cd3('0x3574')](_0x1db57e,_0x185560,_0x4c7654)){var _0xe38cec=_0x3c2e89['cloneCells'](_0x185560);_0x3c2e89[_0x1cd3('0x2b77')](_0x1db57e,_0xe38cec,null,_0xd3adff-_0x2fb923[_0x1cd3('0x4d7')]/0x2,_0x5ee5ad-_0x2fb923[_0x1cd3('0x4e4')]/0x2);_0x1e4971=_0xe38cec;}else if(_0x185560[_0x1cd3('0x7a')]>0x0){_0x1e4971=_0x3c2e89[_0x1cd3('0x2b98')](_0x185560,_0xd3adff,_0x5ee5ad,_0x1db57e);}if(_0x3c2e89[_0x1cd3('0x3575')]!=null){var _0x4f6016=_0x3c2e89[_0x1cd3('0x3575')][_0x1cd3('0x3258')](_0x1db57e);if(_0x4f6016!=null){var _0x135a20=_0x3c2e89[_0x1cd3('0x1665')][_0x1cd3('0x29df')];var _0xfda92e=_0x3c2e89[_0x1cd3('0x1665')][_0x1cd3('0x43c')];var _0x15efb9=(_0xd3adff+_0xfda92e['x'])*_0x135a20;var _0x1a649f=(_0x5ee5ad+_0xfda92e['y'])*_0x135a20;for(var _0x2cbfa5=0x0;_0x2cbfa5<_0x1e4971[_0x1cd3('0x7a')];_0x2cbfa5++){_0x4f6016[_0x1cd3('0x2e75')](_0x1e4971[_0x2cbfa5],_0x15efb9,_0x1a649f);}}}if(_0x4bc20c){_0x3c2e89[_0x1cd3('0x2b28')](new mxEventObject('cellsInserted',_0x1cd3('0x2b8f'),_0x1e4971));}}finally{_0x3c2e89['model'][_0x1cd3('0x2b5e')]();}if(_0x1e4971!=null&&_0x1e4971[_0x1cd3('0x7a')]>0x0){_0x3c2e89['scrollCellToVisible'](_0x1e4971[0x0]);_0x3c2e89[_0x1cd3('0x2b99')](_0x1e4971);}}}mxEvent[_0x1cd3('0x2b14')](_0x4c7654);}});};Sidebar[_0x1cd3('0x77a')][_0x1cd3('0x3571')]=function(_0x4c67c8,_0x392d77){var _0x4568ac=document[_0x1cd3('0x3aa')](_0x1cd3('0x2a72'));_0x4568ac[_0x1cd3('0x440')][_0x1cd3('0x2c6a')]='1px\x20dashed\x20black';_0x4568ac['style'][_0x1cd3('0x4d7')]=_0x4c67c8+'px';_0x4568ac['style'][_0x1cd3('0x4e4')]=_0x392d77+'px';return _0x4568ac;};Sidebar['prototype'][_0x1cd3('0x356f')]=function(_0x4ecd56,_0x973a9c,_0x334218){var _0x310038=mxUtils[_0x1cd3('0x338c')](_0x4ecd56,this[_0x1cd3('0x3506')][_0x1cd3('0x3374')][_0x1cd3('0x2c89')],_0x973a9c,_0x334218,0x0,0x0,this['editorUi'][_0x1cd3('0x3374')]['graph'][_0x1cd3('0x2aa3')],!![],!![]);_0x310038[_0x1cd3('0x2aa6')]=function(_0x3d06d3,_0xf7dec9,_0x5d118c){var _0x13692b=mxDragSource[_0x1cd3('0x77a')][_0x1cd3('0x2aa6')][_0x1cd3('0x4df')](this,arguments);if(!_0x3d06d3[_0x1cd3('0x318b')](_0x13692b)){_0x13692b=null;}return _0x13692b;};return _0x310038;};Sidebar[_0x1cd3('0x77a')][_0x1cd3('0x3572')]=function(_0x12428a,_0x29e853){var _0x56e59b=this[_0x1cd3('0x3506')][_0x1cd3('0x3374')][_0x1cd3('0x2c89')];var _0x271d77=null;mxEvent[_0x1cd3('0x2b32')](_0x12428a,function(_0x2fcb5d){_0x271d77=new mxPoint(mxEvent[_0x1cd3('0x2b19')](_0x2fcb5d),mxEvent[_0x1cd3('0x2b1c')](_0x2fcb5d));});var _0x3b3fa8=_0x29e853['mouseUp'];_0x29e853[_0x1cd3('0x2b4c')]=function(_0x7253a8){if(!mxEvent[_0x1cd3('0x2b20')](_0x7253a8)&&this[_0x1cd3('0x2be6')]==null&&_0x271d77!=null){var _0x5847a4=_0x56e59b[_0x1cd3('0x30bf')];if(Math[_0x1cd3('0x2a4c')](_0x271d77['x']-mxEvent['getClientX'](_0x7253a8))<=_0x5847a4&&Math['abs'](_0x271d77['y']-mxEvent[_0x1cd3('0x2b1c')](_0x7253a8))<=_0x5847a4){var _0x319745=_0x56e59b[_0x1cd3('0x31db')]();_0x29e853[_0x1cd3('0x16c2')](_0x56e59b,_0x7253a8,null,_0x319745,_0x319745);}}_0x3b3fa8['apply'](this,arguments);_0x271d77=null;};};Sidebar[_0x1cd3('0x77a')][_0x1cd3('0x3576')]=function(_0x4b5206,_0x118d2b,_0x3a35f7,_0x51c2e5,_0x5f355b,_0xb88f8d,_0x22049f,_0x45314c){_0x45314c=_0x45314c!=null&&_0x45314c[_0x1cd3('0x7a')]>0x0?_0x45314c:_0x5f355b[_0x1cd3('0x433')]();return this[_0x1cd3('0x3552')](_0x45314c,mxUtils['bind'](this,function(){return this[_0x1cd3('0x3577')](_0x4b5206,_0x118d2b,_0x3a35f7,_0x51c2e5,_0x5f355b,_0xb88f8d,_0x22049f);}));};Sidebar[_0x1cd3('0x77a')][_0x1cd3('0x2a03')]=function(_0x2e5fa0,_0x104c6a,_0x147c6c,_0x3b2779){var _0x55490a=mxUtils['createXmlDocument']();var _0x5510e7=_0x55490a[_0x1cd3('0x3aa')](_0x2e5fa0);_0x5510e7[_0x1cd3('0x481')](_0x1cd3('0x91b'),_0x104c6a);_0x147c6c['forEach'](function(_0x5efc76,_0xea95bc){_0x5510e7[_0x1cd3('0x481')](_0x5efc76,_0x3b2779[_0xea95bc]?_0x3b2779[_0xea95bc]:'');});return _0x5510e7;};Sidebar[_0x1cd3('0x77a')][_0x1cd3('0x3577')]=function(_0x27844d,_0x414851,_0x188b43,_0x348832,_0x480848,_0x58de9a,_0x52031b,_0x264774){var _0x22c44f=[];var _0x2229f8=[];switch(_0x348832){case'answer':_0x22c44f=[_0x1cd3('0x8fc')];_0x2229f8=['0'];break;case _0x1cd3('0x5f2'):_0x22c44f=[_0x1cd3('0x5e2')];_0x2229f8=['yes'];break;case _0x1cd3('0x34a1'):_0x22c44f=['key',_0x1cd3('0x3578'),_0x1cd3('0x8fc'),_0x1cd3('0x3579'),_0x1cd3('0x2949')];_0x2229f8=['','it-IT','10','#',_0x1cd3('0xf3a')];break;case _0x1cd3('0x345f'):_0x22c44f=[_0x1cd3('0x608'),_0x1cd3('0xf1d'),_0x1cd3('0xf1e'),'timeout',_0x1cd3('0x3579'),_0x1cd3('0x2949')];_0x2229f8=[_0x1cd3('0x357a'),'','','10','#',_0x1cd3('0xf3a')];break;case _0x1cd3('0x345b'):_0x22c44f=[_0x1cd3('0x65c'),_0x1cd3('0x42e'),_0x1cd3('0x357b'),'timeout','intKey',_0x1cd3('0x2949')];_0x2229f8=['','',_0x1cd3('0x103f'),'10','#',_0x1cd3('0xf3a')];break;case _0x1cd3('0x2531'):_0x22c44f=[_0x1cd3('0xf02'),_0x1cd3('0x130a')];_0x2229f8=['0'];break;case'background':_0x22c44f=['file_id','response',_0x1cd3('0x357c')];_0x2229f8=['0','5','1'];break;case'menu':_0x22c44f=[_0x1cd3('0xf02'),_0x1cd3('0xf03'),_0x1cd3('0x357c'),_0x1cd3('0xf06'),_0x1cd3('0xf04')];_0x2229f8=['0','5','1','1','0'];break;case _0x1cd3('0x3456'):_0x22c44f=[_0x1cd3('0xf02'),_0x1cd3('0xf03'),_0x1cd3('0x3481'),_0x1cd3('0xf05'),_0x1cd3('0xf06'),_0x1cd3('0xf04')];_0x2229f8=['0','5','1','10','1','0'];break;case _0x1cd3('0x3457'):_0x22c44f=[_0x1cd3('0xf02'),'response','mindigit',_0x1cd3('0xf05'),_0x1cd3('0xf06'),'hiddendigitsnum','hiddendigitspos',_0x1cd3('0xf04')];_0x2229f8=['0','5','1','10','1','0',_0x1cd3('0xf34'),'0'];break;case _0x1cd3('0x3469'):_0x22c44f=['application',_0x1cd3('0x422')];_0x2229f8=['',''];break;case _0x1cd3('0x127e'):_0x22c44f=[_0x1cd3('0xf04'),_0x1cd3('0x357d')];_0x2229f8=['0',''];break;case _0x1cd3('0x3484'):_0x22c44f=[_0x1cd3('0xf4f'),_0x1cd3('0x3d4'),_0x1cd3('0xf04')];_0x2229f8=['0','',''];break;case'noop':_0x22c44f=[_0x1cd3('0x200d')];_0x2229f8=[];break;case _0x1cd3('0x3464'):_0x22c44f=['context',_0x1cd3('0xf0b'),_0x1cd3('0xf0c')];_0x2229f8=['','','1'];break;case _0x1cd3('0xa13'):_0x22c44f=[_0x1cd3('0xf04'),'command'];_0x2229f8=[];break;case _0x1cd3('0x128c'):_0x22c44f=['command',_0x1cd3('0x357e')];_0x2229f8=[];break;case _0x1cd3('0x121c'):_0x22c44f=['condition'];_0x2229f8=[];break;case'gotoiftime':_0x22c44f=['interval_id'];_0x2229f8=['0'];break;case'vswitch':_0x22c44f=[_0x1cd3('0xf04')];_0x2229f8=['0'];break;case _0x1cd3('0x351f'):_0x22c44f=[_0x1cd3('0x348a'),_0x1cd3('0x357f')];_0x2229f8=['','#'];break;case _0x1cd3('0x3520'):_0x22c44f=[_0x1cd3('0x407'),_0x1cd3('0x357f')];_0x2229f8=['','#'];break;case'sayphonetic':_0x22c44f=[_0x1cd3('0x401'),_0x1cd3('0x357f')];_0x2229f8=['','#'];break;case _0x1cd3('0x69a'):_0x22c44f=['file',_0x1cd3('0x1285'),_0x1cd3('0x8fc'),_0x1cd3('0x357f')];_0x2229f8=['','wav','-1','#'];break;case _0x1cd3('0x2536'):_0x22c44f=[_0x1cd3('0xf0f'),'timeout',_0x1cd3('0x130a'),_0x1cd3('0x3a4')];_0x2229f8=['0','60'];break;case'ext_dial':_0x22c44f=['phone','trunk_name',_0x1cd3('0x8fc'),_0x1cd3('0x130a'),'url'];_0x2229f8=['','-1','60'];break;case _0x1cd3('0x3452'):_0x22c44f=['apiKey',_0x1cd3('0xf19'),_0x1cd3('0x401'),'languageCode',_0x1cd3('0x3580')];_0x2229f8=['',_0x1cd3('0x401'),'',_0x1cd3('0x10c6'),_0x1cd3('0xf3b')];break;case _0x1cd3('0x3453'):_0x22c44f=[_0x1cd3('0x401'),_0x1cd3('0x3581')];_0x2229f8=['','it'];break;case'ispeechtts':_0x22c44f=[_0x1cd3('0x401'),'key',_0x1cd3('0x3582'),'speed',_0x1cd3('0x3579')];_0x2229f8=['','',_0x1cd3('0x10b5'),'0','#'];break;case'lumenvoxtts':_0x22c44f=[_0x1cd3('0x401'),_0x1cd3('0x422')];_0x2229f8=['',''];break;case'sestektts':_0x22c44f=[_0x1cd3('0x401'),_0x1cd3('0x422')];_0x2229f8=['',''];break;case _0x1cd3('0x345e'):_0x22c44f=[_0x1cd3('0xf1c'),'options'];_0x2229f8=['',''];break;case _0x1cd3('0x3462'):_0x22c44f=[_0x1cd3('0xf1c'),_0x1cd3('0x422')];_0x2229f8=[_0x1cd3('0x3583'),''];break;case _0x1cd3('0x3455'):_0x22c44f=[_0x1cd3('0xf1a'),_0x1cd3('0xf22'),_0x1cd3('0x3584'),_0x1cd3('0x3585'),_0x1cd3('0x401'),_0x1cd3('0xf1b')];_0x2229f8=['','','eu-west-1',_0x1cd3('0x10d9'),'',_0x1cd3('0x401')];break;case _0x1cd3('0x3460'):_0x22c44f=[_0x1cd3('0xf1a'),'aws_secret_access_key',_0x1cd3('0xf23'),_0x1cd3('0xf24'),_0x1cd3('0x401')];_0x2229f8=['','',_0x1cd3('0x1135'),'',''];break;case _0x1cd3('0x1220'):_0x22c44f=['queue_id',_0x1cd3('0x130a'),_0x1cd3('0x3a4'),'file_id',_0x1cd3('0x8fc'),_0x1cd3('0x128c'),_0x1cd3('0x252c'),_0x1cd3('0x2576'),_0x1cd3('0x679')];_0x2229f8=['-1','xX','','',_0x1cd3('0x9c3')];break;case'voicemail':_0x22c44f=[_0x1cd3('0xf13'),_0x1cd3('0x422')];_0x2229f8=['',''];break;case'subproject':_0x22c44f=[_0x1cd3('0xf14')];_0x2229f8=['0'];break;case _0x1cd3('0x3450'):_0x22c44f=[_0x1cd3('0x3586'),'variable_id'];_0x2229f8=['','0'];break;case'queuelog':_0x22c44f=[_0x1cd3('0x3587'),_0x1cd3('0xd2'),'queue_event',_0x1cd3('0x2391'),_0x1cd3('0x23ae'),_0x1cd3('0x3588'),_0x1cd3('0x3589'),_0x1cd3('0x358a')];_0x2229f8=[];break;case _0x1cd3('0x3468'):_0x22c44f=[_0x1cd3('0xf0e')];_0x2229f8=[];break;case _0x1cd3('0x1dd4'):_0x22c44f=[_0x1cd3('0x98'),_0x1cd3('0x1324'),_0x1cd3('0xf09'),_0x1cd3('0xf10'),_0x1cd3('0xf11'),'callback_priority'];_0x2229f8=[_0x1cd3('0x358b'),'',_0x1cd3('0x358c'),'-1','5','2'];break;case _0x1cd3('0x345c'):_0x22c44f=['sms_account_id','to',_0x1cd3('0xf16')];_0x2229f8=['0'];break;case _0x1cd3('0x3530'):_0x22c44f=[_0x1cd3('0xf17'),'to','cc',_0x1cd3('0x1851'),_0x1cd3('0x1327'),_0x1cd3('0x401')];_0x2229f8=['0'];break;case'sendFax':_0x22c44f=['account_id','to',_0x1cd3('0x358d'),'attachment_name',_0x1cd3('0x358e'),_0x1cd3('0x3499')];_0x2229f8=['0'];break;case _0x1cd3('0x375'):case _0x1cd3('0x13ed'):case _0x1cd3('0x376'):_0x22c44f=[_0x1cd3('0xf1f')];_0x2229f8=[_0x1cd3('0x311')];break;case _0x1cd3('0x63e'):_0x22c44f=[_0x1cd3('0xf1f'),_0x1cd3('0xf20')];_0x2229f8=['internal',''];break;case _0x1cd3('0x1233'):_0x22c44f=[_0x1cd3('0x65c'),'text',_0x1cd3('0xf21')];_0x2229f8=['','','it'];break;case _0x1cd3('0x3461'):_0x22c44f=[_0x1cd3('0xf25'),'username',_0x1cd3('0x5ae'),_0x1cd3('0xf26'),_0x1cd3('0x401'),_0x1cd3('0xedd'),'ndagenerate_audio',_0x1cd3('0x358f'),'custom_action_data',_0x1cd3('0x3590')];_0x2229f8=['','','','','','',0x1,'','',_0x1cd3('0x43a')];break;case _0x1cd3('0x34a8'):_0x22c44f=[_0x1cd3('0x3a4'),_0x1cd3('0xf27'),'timeout',_0x1cd3('0x3591'),_0x1cd3('0x3592'),'rawBody','variable_id'];_0x2229f8=['',_0x1cd3('0xf47'),'5','','','',''];break;case _0x1cd3('0x345a'):_0x22c44f=['text',_0x1cd3('0x422')];_0x2229f8=['',''];break;case _0x1cd3('0x3463'):_0x22c44f=['grammar',_0x1cd3('0x422')];_0x2229f8=['',''];break;default:_0x22c44f=[];_0x2229f8=[];break;}var _0x11950f=this[_0x1cd3('0x2a03')](_0x348832,_0x480848,_0x22c44f,_0x2229f8);var _0x30cda0=[new mxCell(_0x11950f,new mxGeometry(0x0,0x0,_0x414851,_0x188b43),_0x27844d)];_0x30cda0[0x0][_0x1cd3('0x2f63')]=!![];return this[_0x1cd3('0x3593')](_0x30cda0,_0x414851,_0x188b43,_0x480848,_0x58de9a,_0x52031b,_0x264774);};Sidebar[_0x1cd3('0x77a')]['createVertexTemplateFromCells']=function(_0x384ba5,_0x542a3a,_0x2acfe,_0x3c1329,_0x2ea5c3,_0x29ab53,_0x363902){return this[_0x1cd3('0x3594')](_0x384ba5,_0x3c1329,_0x2ea5c3,_0x29ab53,_0x542a3a,_0x2acfe,_0x363902);};Sidebar[_0x1cd3('0x77a')][_0x1cd3('0x3595')]=function(_0x454e63,_0x3cd4ce,_0x4ec200,_0x466152,_0x18cf8a,_0x381b22,_0x48f4d4){var _0x5d769d=new mxCell(_0x466152!=null?_0x466152:'',new mxGeometry(0x0,0x0,_0x3cd4ce,_0x4ec200),_0x454e63);_0x5d769d[_0x1cd3('0x29e1')][_0x1cd3('0x3150')](new mxPoint(0x0,_0x4ec200),!![]);_0x5d769d[_0x1cd3('0x29e1')][_0x1cd3('0x3150')](new mxPoint(_0x3cd4ce,0x0),![]);_0x5d769d[_0x1cd3('0x29e1')][_0x1cd3('0x2d83')]=!![];_0x5d769d[_0x1cd3('0x2f68')]=!![];return this[_0x1cd3('0x3596')]([_0x5d769d],_0x3cd4ce,_0x4ec200,_0x18cf8a,_0x381b22,_0x48f4d4);};Sidebar['prototype'][_0x1cd3('0x3596')]=function(_0x3522f6,_0x3e8867,_0x3dd01d,_0xff7084,_0x50d013,_0x4ad759){return this[_0x1cd3('0x3594')](_0x3522f6,_0xff7084,_0x50d013,!![],_0x3e8867,_0x3dd01d,_0x4ad759);};Sidebar[_0x1cd3('0x77a')][_0x1cd3('0x3597')]=function(_0x1da2b0,_0x15ffa4,_0x23f804,_0x202e70){this['addPalette'](_0x1da2b0,_0x15ffa4,_0x23f804,mxUtils['bind'](this,function(_0x53f7c8){for(var _0x4d2fd8=0x0;_0x4d2fd8<_0x202e70[_0x1cd3('0x7a')];_0x4d2fd8++){_0x53f7c8[_0x1cd3('0xd4e')](_0x202e70[_0x4d2fd8](_0x53f7c8));}}));};Sidebar[_0x1cd3('0x77a')][_0x1cd3('0x3598')]=function(_0x5a274f,_0x44867b,_0x17b9fc,_0x36fca4){var _0x47b38b=this['createTitle'](_0x44867b);this[_0x1cd3('0x4ce')]['appendChild'](_0x47b38b);var _0x16f913=document['createElement'](_0x1cd3('0x2a72'));_0x16f913['className']=_0x1cd3('0x3556');if(mxClient['IS_POINTER']){_0x16f913[_0x1cd3('0x440')][_0x1cd3('0x3599')]=_0x1cd3('0x6ae');}mxEvent[_0x1cd3('0x29ba')](_0x16f913,_0x1cd3('0x2b2c'),mxUtils['bind'](this,function(_0x567168){if(mxEvent['getSource'](_0x567168)==_0x16f913){_0x16f913[_0x1cd3('0x481')](_0x1cd3('0x486'),mxResources[_0x1cd3('0x361')](_0x1cd3('0x3569')));}else{_0x16f913[_0x1cd3('0x2d28')]('title');}}));if(_0x17b9fc){_0x36fca4(_0x16f913);_0x36fca4=null;}else{_0x16f913[_0x1cd3('0x440')][_0x1cd3('0x6ac')]='none';}this['addFoldingHandler'](_0x47b38b,_0x16f913,_0x36fca4);var _0x460546=document['createElement']('div');_0x460546[_0x1cd3('0xd4e')](_0x16f913);this[_0x1cd3('0x4ce')][_0x1cd3('0xd4e')](_0x460546);if(_0x5a274f!=null){this[_0x1cd3('0x4f2')][_0x5a274f]=[_0x47b38b,_0x460546];}return _0x16f913;};Sidebar[_0x1cd3('0x77a')]['addFoldingHandler']=function(_0x5a63fe,_0x19956e,_0x281fce){var _0x563792=![];if(!mxClient['IS_IE']||document['documentMode']>=0x8){_0x5a63fe[_0x1cd3('0x440')][_0x1cd3('0x2dfc')]=_0x19956e[_0x1cd3('0x440')]['display']=='none'?_0x1cd3('0x359a')+this[_0x1cd3('0x30f1')]+'\x27)':'url(\x27'+this[_0x1cd3('0x30f3')]+'\x27)';}_0x5a63fe[_0x1cd3('0x440')][_0x1cd3('0x359b')]=_0x1cd3('0x359c');_0x5a63fe[_0x1cd3('0x440')][_0x1cd3('0x344d')]='0%\x2050%';mxEvent[_0x1cd3('0x29ba')](_0x5a63fe,'click',mxUtils[_0x1cd3('0x5b2')](this,function(_0x16e23f){if(_0x19956e['style'][_0x1cd3('0x6ac')]==_0x1cd3('0x6ae')){if(!_0x563792){_0x563792=!![];if(_0x281fce!=null){_0x5a63fe[_0x1cd3('0x440')][_0x1cd3('0x29ec')]='wait';var _0x37a2e1=_0x5a63fe[_0x1cd3('0x2a15')];_0x5a63fe['innerHTML']=mxResources[_0x1cd3('0x361')](_0x1cd3('0x1d74'))+'...';window[_0x1cd3('0x29e9')](function(){var _0x54eb25=mxClient[_0x1cd3('0x3019')];mxClient[_0x1cd3('0x3019')]=Editor[_0x1cd3('0x77a')][_0x1cd3('0x359d')];_0x281fce(_0x19956e);mxClient[_0x1cd3('0x3019')]=_0x54eb25;_0x19956e['style'][_0x1cd3('0x6ac')]=_0x1cd3('0x574');_0x5a63fe[_0x1cd3('0x440')]['cursor']='';_0x5a63fe['innerHTML']=_0x37a2e1;},0x0);}else{_0x19956e['style'][_0x1cd3('0x6ac')]=_0x1cd3('0x574');}}else{_0x19956e[_0x1cd3('0x440')][_0x1cd3('0x6ac')]='block';}_0x5a63fe['style'][_0x1cd3('0x2dfc')]=_0x1cd3('0x359a')+this[_0x1cd3('0x30f3')]+'\x27)';}else{_0x5a63fe[_0x1cd3('0x440')][_0x1cd3('0x2dfc')]=_0x1cd3('0x359a')+this[_0x1cd3('0x30f1')]+'\x27)';_0x19956e[_0x1cd3('0x440')][_0x1cd3('0x6ac')]=_0x1cd3('0x6ae');}mxEvent[_0x1cd3('0x2b14')](_0x16e23f);}));};Sidebar[_0x1cd3('0x77a')]['addImagePalette']=function(_0xd4c793,_0xfe60cd,_0x4be820,_0x3421a5,_0x2a4155,_0x10aff7,_0x45bd3a){var _0x25c3a0=_0x10aff7!=null;var _0x2ccbeb=[];for(var _0x56cff2=0x0;_0x56cff2<_0x2a4155[_0x1cd3('0x7a')];_0x56cff2++){mxUtils[_0x1cd3('0x5b2')](this,function(_0x1eac1f,_0x24acdb,_0x243492){if(_0x243492==null){var _0x2909cf=_0x1eac1f[_0x1cd3('0x24ac')]('/');var _0x243667=_0x1eac1f['lastIndexOf']('.');_0x243492=_0x1eac1f[_0x1cd3('0x922')](_0x2909cf>=0x0?_0x2909cf+0x1:0x0,_0x243667>=0x0?_0x243667:_0x1eac1f[_0x1cd3('0x7a')])[_0x1cd3('0x3f1')](/[-_]/g,'\x20');}_0x2ccbeb[_0x1cd3('0x7b')](this[_0x1cd3('0x3576')](_0x1cd3('0x359e')+_0x4be820+_0x1eac1f+_0x3421a5,this[_0x1cd3('0x3545')],this['defaultImageHeight'],_0x2a4155[_0x56cff2],_0x24acdb,![],!![],this[_0x1cd3('0x3555')](_0x243492)));})(_0x2a4155[_0x56cff2],_0x10aff7!=null?_0x10aff7[_0x56cff2]:null,_0x45bd3a!=null?_0x45bd3a[_0x2a4155[_0x56cff2]]:null);}this['addPaletteFunctions'](_0xd4c793,_0xfe60cd,![],_0x2ccbeb);};if(typeof html4!=='undefined'){html4[_0x1cd3('0x359f')][_0x1cd3('0x35a0')]=0x0;}mxConstants[_0x1cd3('0x35a1')]=0.25;mxConstants[_0x1cd3('0x2cb7')]=_0x1cd3('0x2cb5');mxConstants[_0x1cd3('0x35a2')]=_0x1cd3('0x35a3');mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x30c4')]=_0x1cd3('0x34f4');mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x2f76')]=0x1;(function(){try{if(navigator!=null&&navigator['language']!=null){var _0x41a6e3=navigator[_0x1cd3('0x3f3')]['toLowerCase']();mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x2f77')]=_0x41a6e3===_0x1cd3('0x35a4')||_0x41a6e3==='en-ca'||_0x41a6e3===_0x1cd3('0x35a5')?mxConstants[_0x1cd3('0x35a6')]:mxConstants['PAGE_FORMAT_A4_PORTRAIT'];}}catch(_0x5c19b5){}}());mxText['prototype']['baseSpacingTop']=0x5;mxText['prototype'][_0x1cd3('0x2e19')]=0x1;mxGraphModel[_0x1cd3('0x77a')][_0x1cd3('0x35a7')]=![];mxGraphView[_0x1cd3('0x77a')][_0x1cd3('0x34ee')]=mxClient[_0x1cd3('0x2978')]?_0x1cd3('0x35a8'):IMAGE_PATH+_0x1cd3('0x34e3');mxGraphView[_0x1cd3('0x77a')]['gridSteps']=0x4;mxGraphView['prototype']['minGridSize']=0x4;mxGraphView[_0x1cd3('0x77a')]['gridColor']='#e0e0e0';mxSvgCanvas2D[_0x1cd3('0x77a')][_0x1cd3('0x35a9')]=_0x1cd3('0x35aa');Graph=function(_0x1ce23e,_0x3dd94a,_0x497fa6,_0x591629){mxGraph[_0x1cd3('0x46d')](this,_0x1ce23e,_0x3dd94a,_0x497fa6,_0x591629);this[_0x1cd3('0x2f6b')](!![]);this['setDropEnabled'](![]);this[_0x1cd3('0x3201')](!![]);this['setTooltips'](!mxClient['IS_TOUCH']);this[_0x1cd3('0x31ee')](![]);this[_0x1cd3('0x31e7')](![]);this['allowAutoPanning']=!![];this[_0x1cd3('0x30ea')]=![];this['constrainChildren']=![];this[_0x1cd3('0x3101')]['targetConnectImage']=!![];this[_0x1cd3('0x35ab')](![]);this[_0x1cd3('0x3101')]['setCreateTarget'](![]);this[_0x1cd3('0x3101')][_0x1cd3('0x31fe')]=function(){return mxConnectionHandler['prototype'][_0x1cd3('0x31fe')][_0x1cd3('0x4df')](this,arguments)&&urlParams['connect']!='2';};this[_0x1cd3('0x30c2')]=_0x1cd3('0x751');if(_0x591629==null){this[_0x1cd3('0x35ac')]();}var _0x262210=new mxRubberband(this);this['getRubberband']=function(){return _0x262210;};this['panningHandler'][_0x1cd3('0x29ba')](mxEvent['PAN_START'],mxUtils[_0x1cd3('0x5b2')](this,function(){this[_0x1cd3('0x4ce')]['style'][_0x1cd3('0x29ec')]=_0x1cd3('0x2ab5');}));this[_0x1cd3('0x3100')]['addListener'](mxEvent[_0x1cd3('0x32a9')],mxUtils[_0x1cd3('0x5b2')](this,function(){this[_0x1cd3('0x4ce')]['style'][_0x1cd3('0x29ec')]=_0x1cd3('0x5bd');}));this[_0x1cd3('0x300d')]=function(_0xa53148){var _0x542eab=this[_0x1cd3('0x1665')][_0x1cd3('0x29d9')](_0xa53148);var _0x197f5b=_0x542eab!=null?_0x542eab[_0x1cd3('0x440')]:this[_0x1cd3('0x2e7a')](_0xa53148);return _0x197f5b[_0x1cd3('0x3bf')]=='1'||_0x197f5b['whiteSpace']==_0x1cd3('0x2d01');};this['cellRenderer'][_0x1cd3('0x300a')]=function(_0x59375c){var _0x1b9fef=mxCellRenderer['prototype'][_0x1cd3('0x300a')]['apply'](this,arguments);if(_0x59375c[_0x1cd3('0x440')][_0x1cd3('0x2ac7')]==_0x1cd3('0x2d01')&&_0x59375c[_0x1cd3('0x440')][_0x1cd3('0x3bf')]!=0x1){_0x1b9fef=mxUtils['htmlEntities'](_0x1b9fef,![]);}return _0x1b9fef;};this[_0x1cd3('0x31c4')]=function(_0x341d2f){return![];};this[_0x1cd3('0x3101')][_0x1cd3('0x32d0')]=0x10;var _0x4fd1a9=this[_0x1cd3('0x3101')][_0x1cd3('0x32f6')];this[_0x1cd3('0x3101')][_0x1cd3('0x32f6')]=function(_0xb72f3f,_0x3a793c){if(_0x3a793c==null){if(!this[_0x1cd3('0x2c89')][_0x1cd3('0x3100')][_0x1cd3('0x92d')]){_0x262210[_0x1cd3('0x5f2')](_0xb72f3f[_0x1cd3('0x2b1d')](),_0xb72f3f['getGraphY']());this['graph'][_0x1cd3('0x3100')][_0x1cd3('0x32a7')]=![];}}else if(tapAndHoldStartsConnection){_0x4fd1a9['apply'](this,arguments);}else if(this[_0x1cd3('0x2c89')][_0x1cd3('0x3217')](_0x3a793c[_0x1cd3('0xefb')])&&this[_0x1cd3('0x2c89')][_0x1cd3('0x3219')]()>0x1){this['graph'][_0x1cd3('0x321c')](_0x3a793c[_0x1cd3('0xefb')]);}};if(touchStyle){this[_0x1cd3('0x35ad')]();}};mxUtils[_0x1cd3('0x4d2')](Graph,mxGraph);Graph[_0x1cd3('0x77a')][_0x1cd3('0x3199')]=null;Graph[_0x1cd3('0x77a')][_0x1cd3('0x30f0')]=null;Graph[_0x1cd3('0x77a')][_0x1cd3('0x35ac')]=function(){var _0x47dd1d=mxUtils[_0x1cd3('0x5de')](STYLE_PATH+_0x1cd3('0x35ae'))[_0x1cd3('0x2b81')]();var _0x49f674=new mxCodec(_0x47dd1d[_0x1cd3('0x29fb')]);_0x49f674[_0x1cd3('0x2c41')](_0x47dd1d,this[_0x1cd3('0x3103')]());};Graph[_0x1cd3('0x77a')]['flipEdge']=function(_0x284e14){if(_0x284e14!=null){var _0x5e0bab=this['view'][_0x1cd3('0x29d9')](_0x284e14);var _0x2d56bd=_0x5e0bab!=null?_0x5e0bab[_0x1cd3('0x440')]:this[_0x1cd3('0x2e7a')](_0x284e14);if(_0x2d56bd!=null){var _0x53e63e=mxUtils[_0x1cd3('0x2a5a')](_0x2d56bd,mxConstants[_0x1cd3('0x35af')],mxConstants['ELBOW_HORIZONTAL']);var _0x23f64a=_0x53e63e==mxConstants['ELBOW_HORIZONTAL']?mxConstants[_0x1cd3('0x335e')]:mxConstants['ELBOW_HORIZONTAL'];this[_0x1cd3('0x2e63')](mxConstants[_0x1cd3('0x35af')],_0x23f64a,[_0x284e14]);}}};Graph[_0x1cd3('0x77a')][_0x1cd3('0x35b0')]=function(_0x151cb6){if(_0x151cb6!=null&&this['getModel']()[_0x1cd3('0x29dc')](_0x151cb6)){var _0x4eb9f5=this[_0x1cd3('0x2a77')]()[_0x1cd3('0x2b94')]([_0x151cb6])[0x0];if(_0x4eb9f5[_0x1cd3('0x29e1')]!=null){_0x4eb9f5[_0x1cd3('0x29e1')][_0x1cd3('0x2d9a')]=null;}var _0x9ee784=_0x4eb9f5['getStyle']();_0x9ee784=mxUtils[_0x1cd3('0x2a6d')](_0x9ee784,mxConstants[_0x1cd3('0x317c')],null);_0x9ee784=mxUtils[_0x1cd3('0x2a6d')](_0x9ee784,mxConstants[_0x1cd3('0x317e')],null);_0x9ee784=mxUtils[_0x1cd3('0x2a6d')](_0x9ee784,mxConstants[_0x1cd3('0x317b')],null);_0x9ee784=mxUtils['setStyle'](_0x9ee784,mxConstants[_0x1cd3('0x317d')],null);_0x4eb9f5[_0x1cd3('0x2a6d')](_0x9ee784);this[_0x1cd3('0x3101')][_0x1cd3('0x32ee')]=function(_0x46d89f){return this[_0x1cd3('0x2c89')][_0x1cd3('0x1665')][_0x1cd3('0x2cb3')](_0x4eb9f5);};this[_0x1cd3('0x3101')][_0x1cd3('0x2c10')]=function(){return this[_0x1cd3('0x2c89')][_0x1cd3('0x2b94')]([_0x4eb9f5])[0x0];};}};Graph[_0x1cd3('0x77a')]['isCellFoldable']=function(_0x1a3da0){return this[_0x1cd3('0x30ce')]&&this[_0x1cd3('0x2e6f')](_0x1a3da0);};Graph['prototype']['isValidRoot']=function(_0xb81a80){return this[_0x1cd3('0x2e6f')](_0xb81a80);};Graph[_0x1cd3('0x77a')][_0x1cd3('0x3149')]=function(){var _0x1d9dd7=mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x3149')][_0x1cd3('0x4df')](this,arguments);_0x1d9dd7[_0x1cd3('0x2a6d')](_0x1cd3('0x56d'));return _0x1d9dd7;};Graph[_0x1cd3('0x77a')][_0x1cd3('0x31b5')]=function(_0x7defc7){var _0x5eda89='';if(this[_0x1cd3('0x2a77')]()[_0x1cd3('0x2c98')](_0x7defc7)){_0x5eda89+=mxResources['get']('description_'+_0x7defc7[_0x1cd3('0x3db')][_0x1cd3('0x2a0c')])||'';}else if(this[_0x1cd3('0x2a77')]()[_0x1cd3('0x29dc')](_0x7defc7)){_0x5eda89=mxGraph[_0x1cd3('0x77a')]['getTooltipForCell'][_0x1cd3('0x4df')](this,arguments);}return _0x5eda89;};Graph[_0x1cd3('0x77a')][_0x1cd3('0x3117')]=function(_0x10e431){if(_0x10e431[_0x1cd3('0x3db')]!=null&&typeof _0x10e431[_0x1cd3('0x3db')]==_0x1cd3('0x29ca')){return _0x10e431[_0x1cd3('0x3db')]['getAttribute'](_0x1cd3('0x91b'));}return mxGraph[_0x1cd3('0x77a')]['convertValueToString'][_0x1cd3('0x4df')](this,arguments);};Graph[_0x1cd3('0x77a')][_0x1cd3('0x3118')]=function(_0x301b0f,_0x325b24,_0x3e950d){if(_0x301b0f[_0x1cd3('0x3db')]!=null&&typeof _0x301b0f[_0x1cd3('0x3db')]==_0x1cd3('0x29ca')){var _0x255d4d=_0x301b0f['value'][_0x1cd3('0x2a80')](!![]);_0x255d4d[_0x1cd3('0x481')](_0x1cd3('0x91b'),_0x325b24);_0x325b24=_0x255d4d;}mxGraph[_0x1cd3('0x77a')]['cellLabelChanged']['apply'](this,arguments);};Graph[_0x1cd3('0x77a')][_0x1cd3('0x35b1')]=function(_0x39c8e8,_0x4b771c){var _0x17839d=null;if(_0x39c8e8[_0x1cd3('0x3db')]!=null&&typeof _0x39c8e8[_0x1cd3('0x3db')]=='object'){_0x17839d=_0x39c8e8['value'][_0x1cd3('0x2a80')](!![]);}else{var _0x479e5a=mxUtils[_0x1cd3('0x2a03')]();_0x17839d=_0x479e5a[_0x1cd3('0x3aa')](_0x1cd3('0x35b2'));_0x17839d[_0x1cd3('0x481')](_0x1cd3('0x91b'),_0x39c8e8[_0x1cd3('0x3db')]);}if(_0x4b771c!=null&&_0x4b771c[_0x1cd3('0x7a')]>0x0){_0x17839d['setAttribute'](_0x1cd3('0x297b'),_0x4b771c);}else{_0x17839d['removeAttribute'](_0x1cd3('0x297b'));}this[_0x1cd3('0x42e')]['setValue'](_0x39c8e8,_0x17839d);};Graph[_0x1cd3('0x77a')]['getLinkForCell']=function(_0xe588fe){if(_0xe588fe['value']!=null&&typeof _0xe588fe[_0x1cd3('0x3db')]==_0x1cd3('0x29ca')){return _0xe588fe[_0x1cd3('0x3db')][_0x1cd3('0x29f4')](_0x1cd3('0x297b'));}return null;};Graph[_0x1cd3('0x77a')][_0x1cd3('0x35ad')]=function(){this[_0x1cd3('0x3101')][_0x1cd3('0x32dc')]['isEnabled']=function(){return this[_0x1cd3('0x2c89')][_0x1cd3('0x3101')][_0x1cd3('0xf34')]!=null;};this[_0x1cd3('0x29ba')](mxEvent['START_EDITING'],function(_0x378675,_0xe85e98){this['panningHandler'][_0x1cd3('0x2c11')]();});var _0x5c8575=![];var _0x4a7131=null;this[_0x1cd3('0x322a')]=function(_0x50a992){mxGraph[_0x1cd3('0x77a')]['updateMouseEvent']['apply'](this,arguments);if(_0x50a992[_0x1cd3('0x29d9')]()==null){var _0x4f30c2=this[_0x1cd3('0x2bf3')](_0x50a992[_0x1cd3('0x2b16')],_0x50a992[_0x1cd3('0x2b1e')]);if(this['getModel']()[_0x1cd3('0x29dc')](_0x4f30c2)){_0x50a992[_0x1cd3('0x19')]=this['view'][_0x1cd3('0x29d9')](_0x4f30c2);if(_0x50a992[_0x1cd3('0x19')]!=null&&_0x50a992['state'][_0x1cd3('0x29dd')]!=null){this[_0x1cd3('0x4ce')][_0x1cd3('0x440')][_0x1cd3('0x29ec')]=_0x50a992[_0x1cd3('0x19')]['shape'][_0x1cd3('0x56e')][_0x1cd3('0x440')][_0x1cd3('0x29ec')];}}}if(_0x50a992[_0x1cd3('0x29d9')]()==null){this[_0x1cd3('0x4ce')][_0x1cd3('0x440')][_0x1cd3('0x29ec')]=_0x1cd3('0x5bd');}};this[_0x1cd3('0x2b33')]=function(_0x4e0548,_0x1c53c3,_0x4e68b9){if(_0x4e0548==mxEvent[_0x1cd3('0x2b34')]){if(!this[_0x1cd3('0x3100')]['isMenuShowing']()){_0x4a7131=_0x1c53c3[_0x1cd3('0x2b1f')]();_0x5c8575=_0x4a7131!=null?this[_0x1cd3('0x3217')](_0x4a7131):this['isSelectionEmpty']();}else{_0x5c8575=![];_0x4a7131=null;}}else if(_0x4e0548==mxEvent[_0x1cd3('0x2b36')]){if(_0x5c8575&&!this[_0x1cd3('0x301e')]()){if(!this[_0x1cd3('0x3100')]['isMenuShowing']()){var _0x2fdb49=mxEvent[_0x1cd3('0x2b19')](_0x1c53c3['getEvent']());var _0x39d0a5=mxEvent[_0x1cd3('0x2b1c')](_0x1c53c3[_0x1cd3('0x2b1a')]());this['panningHandler'][_0x1cd3('0x15ad')](_0x2fdb49+0x10,_0x39d0a5,_0x4a7131,_0x1c53c3[_0x1cd3('0x2b1a')]());}_0x5c8575=![];_0x4a7131=null;_0x1c53c3['consume']();return;}_0x5c8575=![];_0x4a7131=null;}mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x2b33')]['apply'](this,arguments);if(_0x4e0548==mxEvent[_0x1cd3('0x2b35')]&&_0x1c53c3[_0x1cd3('0x2b13')]()){_0x5c8575=![];_0x4a7131=null;}};};(function(){mxVertexHandler['prototype'][_0x1cd3('0x3286')]=!![];mxText[_0x1cd3('0x77a')]['baseSpacingTop']=0x5;mxText[_0x1cd3('0x77a')][_0x1cd3('0x2e19')]=0x1;if(touchStyle){mxConstants[_0x1cd3('0x3325')]=0x10;mxConstants[_0x1cd3('0x3322')]=0x7;if(mxClient['IS_TOUCH']){mxVertexHandler['prototype'][_0x1cd3('0x30bf')]=0x4;mxEdgeHandler[_0x1cd3('0x77a')][_0x1cd3('0x30bf')]=0x6;Graph[_0x1cd3('0x77a')]['tolerance']=0xe;Graph[_0x1cd3('0x77a')][_0x1cd3('0x2c06')]=0x14;mxPanningHandler['prototype'][_0x1cd3('0x32aa')]=![];mxPanningHandler[_0x1cd3('0x77a')][_0x1cd3('0x32a1')]=!![];mxPanningHandler['prototype'][_0x1cd3('0x32a5')]=function(_0x336d30){var _0xb2b00d=_0x336d30[_0x1cd3('0x2b1a')]();return this[_0x1cd3('0x32a1')]&&(this[_0x1cd3('0x35b3')]||_0x336d30[_0x1cd3('0x29d9')]()==null)||mxEvent['isControlDown'](_0xb2b00d)&&mxEvent['isShiftDown'](_0xb2b00d)||this['usePopupTrigger']&&mxEvent[_0x1cd3('0x2b20')](_0xb2b00d);};}var _0x30e34f=mxGraphHandler['prototype'][_0x1cd3('0x2b4a')];mxGraphHandler['prototype'][_0x1cd3('0x2b4a')]=function(_0x5430e4,_0x4d5261){_0x30e34f[_0x1cd3('0x4df')](this,arguments);if(this[_0x1cd3('0x2c89')][_0x1cd3('0x3217')](_0x4d5261[_0x1cd3('0x2b1f')]())&&this['graph'][_0x1cd3('0x3219')]()>0x1){this['delayedSelection']=![];}};Graph['prototype'][_0x1cd3('0x30b8')]=function(_0x347c76){this[_0x1cd3('0x3076')]=new mxTooltipHandler(this);this[_0x1cd3('0x3076')][_0x1cd3('0x2bee')](![]);this[_0x1cd3('0x319a')]=new mxSelectionCellsHandler(this);this[_0x1cd3('0x3100')]=new mxPanningHandler(this);this[_0x1cd3('0x3100')][_0x1cd3('0x3202')]=![];this[_0x1cd3('0x3101')]=new mxConnectionHandler(this);this[_0x1cd3('0x3101')][_0x1cd3('0x2bee')](![]);this['graphHandler']=new mxGraphHandler(this);};mxConnectionHandler[_0x1cd3('0x77a')][_0x1cd3('0x3227')]=function(_0x2535fd,_0x2f00b4){if(touchStyle&&_0x2f00b4!=null){this[_0x1cd3('0x2c89')][_0x1cd3('0x3113')](_0x2f00b4);}else{this[_0x1cd3('0x2c89')][_0x1cd3('0x3113')](_0x2535fd);}};var _0x2d6deb=mxGraph[_0x1cd3('0x77a')][_0x1cd3('0x2b37')];Graph[_0x1cd3('0x77a')][_0x1cd3('0x2b37')]=function(_0x1f1288,_0x960418){if(_0x960418==null){var _0x26a2cd=mxUtils[_0x1cd3('0x3027')](this['container'],mxEvent[_0x1cd3('0x2b19')](_0x1f1288),mxEvent['getClientY'](_0x1f1288));_0x960418=this['getCellAt'](_0x26a2cd['x'],_0x26a2cd['y']);}_0x2d6deb[_0x1cd3('0x46d')](this,_0x1f1288,_0x960418);};var _0x4d0666=new mxImage(IMAGE_PATH+_0x1cd3('0x35b4'),0x10,0x10);mxVertexHandler[_0x1cd3('0x77a')][_0x1cd3('0x3317')]=_0x4d0666;mxEdgeHandler[_0x1cd3('0x77a')]['handleImage']=_0x4d0666;mxOutline[_0x1cd3('0x77a')]['sizerImage']=_0x4d0666;new Image()[_0x1cd3('0x487')]=_0x4d0666[_0x1cd3('0x487')];var _0x32ad9e=IMAGE_PATH+_0x1cd3('0x35b5');var _0x3370b5=mxVertexHandler['prototype'][_0x1cd3('0xe08')];mxVertexHandler['prototype']['init']=function(){_0x3370b5[_0x1cd3('0x4df')](this,arguments);if(showConnectorImg&&this['graph']['connectionHandler'][_0x1cd3('0x2c76')]()&&this[_0x1cd3('0x2c89')][_0x1cd3('0x319b')](this[_0x1cd3('0x19')]['cell'])&&!this['graph'][_0x1cd3('0x318b')](this['state']['cell'])&&this[_0x1cd3('0x2c89')][_0x1cd3('0x3219')]()==0x1){this['connectorImg']=mxUtils['createImage'](_0x32ad9e);this[_0x1cd3('0x35b6')][_0x1cd3('0x440')][_0x1cd3('0x29ec')]=_0x1cd3('0x2ab5');this['connectorImg']['style'][_0x1cd3('0x4d7')]=_0x1cd3('0x35b7');this['connectorImg'][_0x1cd3('0x440')][_0x1cd3('0x4e4')]=_0x1cd3('0x35b7');this[_0x1cd3('0x35b6')][_0x1cd3('0x440')]['position']=_0x1cd3('0x532');if(!mxClient[_0x1cd3('0x2b2e')]){this[_0x1cd3('0x35b6')][_0x1cd3('0x481')](_0x1cd3('0x486'),mxResources[_0x1cd3('0x361')](_0x1cd3('0x664')));mxEvent[_0x1cd3('0x32db')](this[_0x1cd3('0x35b6')],this[_0x1cd3('0x2c89')],this[_0x1cd3('0x19')]);}this['connectorImg'][_0x1cd3('0x440')][_0x1cd3('0x2a9b')]=_0x1cd3('0x2bb1');mxEvent[_0x1cd3('0x2b32')](this[_0x1cd3('0x35b6')],mxUtils[_0x1cd3('0x5b2')](this,function(_0x7511b5){this[_0x1cd3('0x2c89')]['panningHandler'][_0x1cd3('0x2c11')]();var _0x5468aa=mxUtils['convertPoint'](this[_0x1cd3('0x2c89')][_0x1cd3('0x4ce')],mxEvent[_0x1cd3('0x2b19')](_0x7511b5),mxEvent[_0x1cd3('0x2b1c')](_0x7511b5));this[_0x1cd3('0x2c89')][_0x1cd3('0x3101')][_0x1cd3('0x5f2')](this[_0x1cd3('0x19')],_0x5468aa['x'],_0x5468aa['y']);this[_0x1cd3('0x2c89')]['isMouseDown']=!![];mxEvent[_0x1cd3('0x2b14')](_0x7511b5);}));this[_0x1cd3('0x2c89')]['container'][_0x1cd3('0xd4e')](this[_0x1cd3('0x35b6')]);}this[_0x1cd3('0x35b8')]();};var _0x508efd=mxVertexHandler[_0x1cd3('0x77a')]['redraw'];mxVertexHandler[_0x1cd3('0x77a')][_0x1cd3('0x29e3')]=function(){_0x508efd[_0x1cd3('0x4df')](this);this[_0x1cd3('0x35b8')]();};mxVertexHandler['prototype']['redrawTools']=function(){if(this['state']!=null&&this['connectorImg']!=null){if(mxVertexHandler['prototype'][_0x1cd3('0x3315')]){this[_0x1cd3('0x35b6')][_0x1cd3('0x440')]['left']=this[_0x1cd3('0x19')]['x']+this[_0x1cd3('0x19')]['width']-this[_0x1cd3('0x35b6')][_0x1cd3('0x2a1f')]/0x2+'px';this[_0x1cd3('0x35b6')]['style'][_0x1cd3('0x712')]=this[_0x1cd3('0x19')]['y']-this[_0x1cd3('0x35b6')][_0x1cd3('0x535')]/0x2+'px';}else{this[_0x1cd3('0x35b6')]['style']['left']=this[_0x1cd3('0x19')]['x']+this[_0x1cd3('0x19')]['width']+mxConstants['HANDLE_SIZE']/0x2+0x4+'px';this[_0x1cd3('0x35b6')][_0x1cd3('0x440')][_0x1cd3('0x712')]=this[_0x1cd3('0x19')]['y']+(this[_0x1cd3('0x19')][_0x1cd3('0x4e4')]-this[_0x1cd3('0x35b6')][_0x1cd3('0x535')])/0x2+'px';}}};var _0x42fde7=mxVertexHandler[_0x1cd3('0x77a')][_0x1cd3('0x2bcb')];mxVertexHandler['prototype']['destroy']=function(_0x738947,_0xbd5cb4){_0x42fde7[_0x1cd3('0x4df')](this,arguments);if(this[_0x1cd3('0x35b6')]!=null){this[_0x1cd3('0x35b6')][_0x1cd3('0x29ea')][_0x1cd3('0x1817')](this[_0x1cd3('0x35b6')]);this[_0x1cd3('0x35b6')]=null;}};new Image()['src']=_0x32ad9e;}else{var _0x19520f=new mxImage(IMAGE_PATH+_0x1cd3('0x35b9'),0xf,0xf);mxConnectionHandler[_0x1cd3('0x77a')][_0x1cd3('0x32cb')]=_0x19520f;new Image()['src']=_0x19520f[_0x1cd3('0x487')];if(urlParams[_0x1cd3('0x664')]=='2'){var _0x19520f=new mxImage(IMAGE_PATH+'/connector.png',0xf,0xf);var _0x3370b5=mxVertexHandler['prototype'][_0x1cd3('0xe08')];mxVertexHandler[_0x1cd3('0x77a')]['init']=function(){_0x3370b5[_0x1cd3('0x4df')](this,arguments);if(showConnectorImg&&this[_0x1cd3('0x2c89')]['connectionHandler'][_0x1cd3('0x2c76')]()&&this[_0x1cd3('0x2c89')][_0x1cd3('0x319b')](this[_0x1cd3('0x19')][_0x1cd3('0xefb')])&&!this[_0x1cd3('0x2c89')][_0x1cd3('0x318b')](this[_0x1cd3('0x19')][_0x1cd3('0xefb')])&&this[_0x1cd3('0x2c89')]['getSelectionCount']()==0x1){if(mxClient[_0x1cd3('0x298a')]&&!mxClient[_0x1cd3('0x2978')]){this[_0x1cd3('0x35b6')]=document[_0x1cd3('0x3aa')](_0x1cd3('0x2a72'));this[_0x1cd3('0x35b6')][_0x1cd3('0x440')][_0x1cd3('0x2dfc')]=_0x1cd3('0x344c')+_0x19520f[_0x1cd3('0x487')]+')';this[_0x1cd3('0x35b6')][_0x1cd3('0x440')]['backgroundPosition']='center';this[_0x1cd3('0x35b6')][_0x1cd3('0x440')][_0x1cd3('0x359b')]=_0x1cd3('0x359c');this[_0x1cd3('0x35b6')][_0x1cd3('0x440')]['width']=_0x19520f[_0x1cd3('0x4d7')]+0x4+'px';this[_0x1cd3('0x35b6')][_0x1cd3('0x440')][_0x1cd3('0x4e4')]=_0x19520f[_0x1cd3('0x4e4')]+0x4+'px';this['connectorImg'][_0x1cd3('0x440')][_0x1cd3('0x6ac')]=mxClient[_0x1cd3('0x2a75')]?'inline':_0x1cd3('0x2d50');}else{this['connectorImg']=mxUtils[_0x1cd3('0x35ba')](_0x19520f[_0x1cd3('0x487')]);this[_0x1cd3('0x35b6')][_0x1cd3('0x440')][_0x1cd3('0x4d7')]=_0x19520f[_0x1cd3('0x4d7')]+'px';this[_0x1cd3('0x35b6')]['style']['height']=_0x19520f[_0x1cd3('0x4e4')]+'px';}this['connectorImg'][_0x1cd3('0x440')][_0x1cd3('0x29ec')]=_0x1cd3('0x2ab5');this[_0x1cd3('0x35b6')]['style']['position']=_0x1cd3('0x532');this['connectorImg'][_0x1cd3('0x481')]('title',mxResources[_0x1cd3('0x361')](_0x1cd3('0x664')));mxEvent[_0x1cd3('0x32db')](this[_0x1cd3('0x35b6')],this[_0x1cd3('0x2c89')],this[_0x1cd3('0x19')]);this[_0x1cd3('0x35b6')]['style']['padding']=_0x1cd3('0x2bb1');mxEvent[_0x1cd3('0x29ba')](this['connectorImg'],_0x1cd3('0x2b2b'),mxUtils['bind'](this,function(_0x3c90e3){this[_0x1cd3('0x2c89')][_0x1cd3('0x3100')][_0x1cd3('0x2c11')]();var _0x156457=mxUtils[_0x1cd3('0x3027')](this[_0x1cd3('0x2c89')]['container'],mxEvent['getClientX'](_0x3c90e3),mxEvent[_0x1cd3('0x2b1c')](_0x3c90e3));this['graph'][_0x1cd3('0x3101')][_0x1cd3('0x5f2')](this['state'],_0x156457['x'],_0x156457['y']);this[_0x1cd3('0x2c89')][_0x1cd3('0x2bfd')]=!![];mxEvent[_0x1cd3('0x2b14')](_0x3c90e3);}));this[_0x1cd3('0x2c89')][_0x1cd3('0x4ce')][_0x1cd3('0xd4e')](this[_0x1cd3('0x35b6')]);}this['redrawTools']();};var _0x508efd=mxVertexHandler['prototype']['redraw'];mxVertexHandler['prototype']['redraw']=function(){_0x508efd[_0x1cd3('0x4df')](this);this[_0x1cd3('0x35b8')]();};mxVertexHandler[_0x1cd3('0x77a')][_0x1cd3('0x35b8')]=function(){if(this[_0x1cd3('0x19')]!=null&&this[_0x1cd3('0x35b6')]!=null){if(mxVertexHandler[_0x1cd3('0x77a')][_0x1cd3('0x3315')]){this['connectorImg'][_0x1cd3('0x440')][_0x1cd3('0x762')]=this[_0x1cd3('0x19')]['x']+this['state'][_0x1cd3('0x4d7')]-this[_0x1cd3('0x35b6')][_0x1cd3('0x2a1f')]/0x2+'px';this[_0x1cd3('0x35b6')][_0x1cd3('0x440')][_0x1cd3('0x712')]=this['state']['y']-this[_0x1cd3('0x35b6')]['offsetHeight']/0x2+'px';}else{this[_0x1cd3('0x35b6')][_0x1cd3('0x440')][_0x1cd3('0x762')]=this['state']['x']+this[_0x1cd3('0x19')][_0x1cd3('0x4d7')]+mxConstants[_0x1cd3('0x3325')]/0x2+0x2+'px';this['connectorImg'][_0x1cd3('0x440')][_0x1cd3('0x712')]=this[_0x1cd3('0x19')]['y']+(this[_0x1cd3('0x19')][_0x1cd3('0x4e4')]-this['connectorImg']['offsetHeight'])/0x2+'px';}}};var _0x42fde7=mxVertexHandler[_0x1cd3('0x77a')][_0x1cd3('0x2bcb')];mxVertexHandler[_0x1cd3('0x77a')][_0x1cd3('0x2bcb')]=function(_0x336d3,_0xc2f758){_0x42fde7['apply'](this,arguments);if(this[_0x1cd3('0x35b6')]!=null){this[_0x1cd3('0x35b6')]['parentNode']['removeChild'](this[_0x1cd3('0x35b6')]);this[_0x1cd3('0x35b6')]=null;}};}}}());_0x1cd3('0x3505');function Actions(_0x42ffde){this['editorUi']=_0x42ffde;this[_0x1cd3('0x947')]=new Object();this[_0x1cd3('0xe08')]();};Actions['prototype']['init']=function(){var _0x136ebc=this[_0x1cd3('0x3506')];var _0x556e59=_0x136ebc['editor'];var _0x4edb4c=_0x556e59[_0x1cd3('0x2c89')];this[_0x1cd3('0x23c6')](_0x1cd3('0x160a'),function(){_0x136ebc['projectDesignController'][_0x1cd3('0xedf')]();},CRUD_PERMISSIONS[_0x1cd3('0xe3b')]);this[_0x1cd3('0x23c6')](_0x1cd3('0xee4'),function(){_0x136ebc['projectDesignController'][_0x1cd3('0x35bb')]();},CRUD_PERMISSIONS[_0x1cd3('0xe3b')]);this[_0x1cd3('0x23c6')](_0x1cd3('0xd6d'),function(){_0x136ebc[_0x1cd3('0x3441')][_0x1cd3('0x35bc')](mxUtils['getPrettyXml'](_0x556e59[_0x1cd3('0x35bd')]()));_0x136ebc[_0x1cd3('0x3374')]['modified']=![];},CRUD_PERMISSIONS[_0x1cd3('0xe3b')],null,_0x1cd3('0x35be'));this[_0x1cd3('0x23c6')](_0x1cd3('0x35bf'),function(){_0x136ebc[_0x1cd3('0x3441')][_0x1cd3('0x35c0')](mxUtils['getPrettyXml'](_0x556e59[_0x1cd3('0x35bd')]()));},CRUD_PERMISSIONS[_0x1cd3('0xe3b')],null,_0x1cd3('0x35c1'));this['addAction'](_0x1cd3('0x34d5'),function(){_0x136ebc[_0x1cd3('0x3374')][_0x1cd3('0x33e6')]('');var _0x2eb628=_0x136ebc[_0x1cd3('0x306b')]();if(_0x2eb628===null){_0x136ebc[_0x1cd3('0x3441')][_0x1cd3('0x35bc')](mxUtils[_0x1cd3('0x2a0b')](_0x556e59[_0x1cd3('0x35bd')]()),!![]);_0x136ebc[_0x1cd3('0x3374')]['modified']=![];}else{_0x136ebc[_0x1cd3('0x3374')][_0x1cd3('0x33e6')](_0x1cd3('0x35c2'));setTimeout(function(){_0x136ebc[_0x1cd3('0x3374')]['setStatus']('');},0xbb8);}},CRUD_PERMISSIONS[_0x1cd3('0xe3b')],null,_0x1cd3('0x35c3'));this[_0x1cd3('0x23c6')](_0x1cd3('0xb84'),function(){_0x136ebc['projectDesignController'][_0x1cd3('0x2485')]();},CRUD_PERMISSIONS[_0x1cd3('0xe3b')]);this[_0x1cd3('0x23c6')]('import',function(){_0x136ebc[_0x1cd3('0x3441')][_0x1cd3('0x115b')](function(_0x22b79b){_0x556e59['setGraphXml'](mxUtils[_0x1cd3('0x2d46')](_0x22b79b)['documentElement']);});},CRUD_PERMISSIONS['canEdit']);this['addAction'](_0x1cd3('0xeb0'),function(){_0x136ebc[_0x1cd3('0x3473')](mxUtils[_0x1cd3('0x2a0b')](_0x556e59[_0x1cd3('0x35bd')]()));},null,null,'Ctrl+E');this[_0x1cd3('0x23c6')]('editFile',function(){_0x136ebc['projectDesignController'][_0x1cd3('0x115a')](mxUtils[_0x1cd3('0x2a0b')](_0x556e59[_0x1cd3('0x35bd')]()),function(_0x7e96c2){_0x556e59[_0x1cd3('0x3477')](mxUtils[_0x1cd3('0x2d46')](_0x7e96c2)['documentElement']);});},CRUD_PERMISSIONS[_0x1cd3('0xe3b')]);this['addAction'](_0x1cd3('0x2a93'),function(){mxUtils[_0x1cd3('0x35c4')](_0x4edb4c);},null,'sprite-print',_0x1cd3('0x35c5'));this['addAction'](_0x1cd3('0xe67'),function(){mxUtils[_0x1cd3('0x37e')](_0x4edb4c,null,0xa,0xa);});this[_0x1cd3('0x23c6')](_0x1cd3('0x2b60'),function(){_0x556e59[_0x1cd3('0x338f')][_0x1cd3('0x2b60')]();},null,'sprite-undo',_0x1cd3('0x35c6'));this[_0x1cd3('0x23c6')](_0x1cd3('0x2b61'),function(){_0x556e59['undoManager'][_0x1cd3('0x2b61')]();},null,'sprite-redo',_0x1cd3('0x35c7'));this[_0x1cd3('0x23c6')](_0x1cd3('0x33b3'),function(){mxClipboard[_0x1cd3('0x33b3')](_0x4edb4c);},null,_0x1cd3('0x35c8'),_0x1cd3('0x35c9'));this[_0x1cd3('0x23c6')](_0x1cd3('0x429'),function(){mxClipboard[_0x1cd3('0x429')](_0x4edb4c);},null,_0x1cd3('0x35ca'),_0x1cd3('0x35cb'));this[_0x1cd3('0x23c6')](_0x1cd3('0x33b4'),function(){mxClipboard['paste'](_0x4edb4c);},![],_0x1cd3('0x35cc'),_0x1cd3('0x35cd'));this[_0x1cd3('0x23c6')]('delete',function(){_0x4edb4c[_0x1cd3('0x2b91')]();},null,null,_0x1cd3('0xd3f'));this[_0x1cd3('0x23c6')]('duplicate',function(){var _0x3a1591=_0x4edb4c[_0x1cd3('0x2c06')];_0x4edb4c[_0x1cd3('0x2b99')](_0x4edb4c[_0x1cd3('0x2b66')](_0x4edb4c['getSelectionCells'](),_0x3a1591,_0x3a1591,!![]));},null,null,_0x1cd3('0x35ce'));this[_0x1cd3('0x23c6')](_0x1cd3('0x3226'),function(){_0x4edb4c['selectVertices']();},null,null,_0x1cd3('0x35cf'));this['addAction'](_0x1cd3('0x3228'),function(){_0x4edb4c[_0x1cd3('0x3228')]();},null,null,_0x1cd3('0x35d0'));this[_0x1cd3('0x23c6')](_0x1cd3('0x6cd'),function(){_0x4edb4c[_0x1cd3('0x6cd')]();},null,null,'Ctrl+A');this[_0x1cd3('0x23c6')](_0x1cd3('0x3109'),function(){_0x4edb4c[_0x1cd3('0x3109')]();},null,null,'Home');this['addAction'](_0x1cd3('0x318c'),function(){_0x4edb4c[_0x1cd3('0x318c')]();},null,null,_0x1cd3('0x35d1'));this['addAction']('enterGroup',function(){_0x4edb4c['enterGroup']();},null,null,_0x1cd3('0x35d2'));this[_0x1cd3('0x23c6')](_0x1cd3('0x572'),function(){_0x4edb4c[_0x1cd3('0x2b71')](![]);},null,null,_0x1cd3('0x35d3'));this['addAction']('collapse',function(){_0x4edb4c[_0x1cd3('0x2b71')](!![]);},null,null,'Backspace');this[_0x1cd3('0x23c6')]('toFront',function(){_0x4edb4c[_0x1cd3('0x2b6c')](![]);},null,null,_0x1cd3('0x35d4'));this[_0x1cd3('0x23c6')]('toBack',function(){_0x4edb4c[_0x1cd3('0x2b6c')](!![]);},null,null,'Ctrl+B');this[_0x1cd3('0x23c6')](_0x1cd3('0x56d'),function(){_0x4edb4c[_0x1cd3('0x3113')](_0x4edb4c[_0x1cd3('0x2b6e')](null,0x0));},null,null,_0x1cd3('0x35d5'));this[_0x1cd3('0x23c6')](_0x1cd3('0x33b5'),function(){_0x4edb4c['setSelectionCells'](_0x4edb4c[_0x1cd3('0x2b6f')]());},null,null,_0x1cd3('0x35d6'));this[_0x1cd3('0x23c6')](_0x1cd3('0x34b3'),function(){_0x4edb4c['removeCellsFromParent']();});this[_0x1cd3('0x23c6')](_0x1cd3('0x34ba'),function(){var _0x16e93a=_0x4edb4c[_0x1cd3('0x313c')]();var _0x37fb2a=_0x4edb4c[_0x1cd3('0x34bc')](_0x16e93a);if(_0x37fb2a==null){_0x37fb2a='';}_0x37fb2a=mxUtils['prompt'](mxResources[_0x1cd3('0x361')](_0x1cd3('0x35d7')),_0x37fb2a);if(_0x37fb2a!=null){_0x4edb4c[_0x1cd3('0x35b1')](_0x16e93a,_0x37fb2a);}});this['addAction'](_0x1cd3('0x34bb'),function(){var _0x253cfe=_0x4edb4c['getSelectionCell']();var _0x47d099=_0x4edb4c[_0x1cd3('0x34bc')](_0x253cfe);if(_0x47d099!=null){window[_0x1cd3('0xee4')](_0x47d099);}});this[_0x1cd3('0x23c6')](_0x1cd3('0x34b1'),function(){var _0x3703b7=_0x4edb4c[_0x1cd3('0x2b92')]();if(_0x3703b7!=null){_0x4edb4c[_0x1cd3('0x2a77')]()[_0x1cd3('0x2a6c')]();try{for(var _0x1a90b6=0x0;_0x1a90b6<_0x3703b7['length'];_0x1a90b6++){var _0x502918=_0x3703b7[_0x1a90b6];if(_0x4edb4c[_0x1cd3('0x2a77')]()[_0x1cd3('0x29e5')](_0x502918)){_0x4edb4c[_0x1cd3('0x314f')]([_0x502918],0x14);}else{_0x4edb4c[_0x1cd3('0x3167')](_0x502918);}}}finally{_0x4edb4c[_0x1cd3('0x2a77')]()[_0x1cd3('0x2b5e')]();}}});this[_0x1cd3('0x23c6')](_0x1cd3('0x34b2'),function(){var _0x30374d=_0x4edb4c[_0x1cd3('0x29de')]()[_0x1cd3('0x29d9')](_0x4edb4c[_0x1cd3('0x313c')]());var _0x1f93e2=_0x1cd3('0x2d01');if(_0x30374d!=null&&_0x30374d[_0x1cd3('0x440')][mxConstants['STYLE_WHITE_SPACE']]=='wrap'){_0x1f93e2=null;}_0x4edb4c[_0x1cd3('0x2e63')](mxConstants[_0x1cd3('0x35d8')],_0x1f93e2);});this[_0x1cd3('0x23c6')]('rotation',function(){var _0x4ca3e5='0';var _0x57dc55=_0x4edb4c[_0x1cd3('0x29de')]()[_0x1cd3('0x29d9')](_0x4edb4c[_0x1cd3('0x313c')]());if(_0x57dc55!=null){_0x4ca3e5=_0x57dc55[_0x1cd3('0x440')][mxConstants[_0x1cd3('0x2a5d')]]||_0x4ca3e5;}_0x4ca3e5=mxUtils[_0x1cd3('0x671')](mxResources[_0x1cd3('0x361')](_0x1cd3('0x35d7'))+'\x20('+mxResources[_0x1cd3('0x361')](_0x1cd3('0x2ac8'))+'\x200-360)',_0x4ca3e5);if(_0x4ca3e5!=null){_0x4edb4c['setCellStyles'](mxConstants[_0x1cd3('0x2a5d')],_0x4ca3e5);}});this[_0x1cd3('0x23c6')]('tilt',function(){var _0x39cb9f=_0x4edb4c[_0x1cd3('0x2b92')]();if(_0x39cb9f!=null){_0x4edb4c[_0x1cd3('0x2a77')]()[_0x1cd3('0x2a6c')]();try{for(var _0x5572d7=0x0;_0x5572d7<_0x39cb9f['length'];_0x5572d7++){var _0x40c73c=_0x39cb9f[_0x5572d7];if(_0x4edb4c[_0x1cd3('0x2a77')]()[_0x1cd3('0x2c98')](_0x40c73c)&&_0x4edb4c[_0x1cd3('0x2a77')]()[_0x1cd3('0x29e5')](_0x40c73c)==0x0){var _0x381226=_0x4edb4c['getCellGeometry'](_0x40c73c);if(_0x381226!=null){_0x381226=_0x381226[_0x1cd3('0x1141')]();_0x381226['x']+=_0x381226[_0x1cd3('0x4d7')]/0x2-_0x381226['height']/0x2;_0x381226['y']+=_0x381226[_0x1cd3('0x4e4')]/0x2-_0x381226['width']/0x2;var _0x2ee05e=_0x381226['width'];_0x381226[_0x1cd3('0x4d7')]=_0x381226['height'];_0x381226[_0x1cd3('0x4e4')]=_0x2ee05e;_0x4edb4c[_0x1cd3('0x2a77')]()[_0x1cd3('0x2e68')](_0x40c73c,_0x381226);var _0x1c7cc3=_0x4edb4c[_0x1cd3('0x1665')][_0x1cd3('0x29d9')](_0x40c73c);if(_0x1c7cc3!=null){var _0x41e067=_0x1c7cc3[_0x1cd3('0x440')][mxConstants[_0x1cd3('0x2daa')]]||_0x1cd3('0x35d9');if(_0x41e067==_0x1cd3('0x35d9')){_0x41e067=_0x1cd3('0x2b06');}else if(_0x41e067==_0x1cd3('0x2b06')){_0x41e067=_0x1cd3('0x2b07');}else if(_0x41e067=='west'){_0x41e067=_0x1cd3('0x2b05');}else if(_0x41e067==_0x1cd3('0x2b05')){_0x41e067=_0x1cd3('0x35d9');}_0x4edb4c[_0x1cd3('0x2e63')](mxConstants[_0x1cd3('0x2daa')],_0x41e067,[_0x40c73c]);}}}}}finally{_0x4edb4c[_0x1cd3('0x2a77')]()[_0x1cd3('0x2b5e')]();}}},null,null,_0x1cd3('0x35da'));this[_0x1cd3('0x23c6')](_0x1cd3('0x35db'),function(){_0x4edb4c[_0x1cd3('0x3193')](0x1);});this['addAction'](_0x1cd3('0x33b6'),function(){_0x4edb4c[_0x1cd3('0x33b6')]();},null,null,_0x1cd3('0x35dc'));this['addAction'](_0x1cd3('0x3192'),function(){_0x4edb4c[_0x1cd3('0x3192')]();},null,null,'Subtract');this[_0x1cd3('0x23c6')](_0x1cd3('0x35dd'),function(){_0x4edb4c[_0x1cd3('0x2bae')]();});this[_0x1cd3('0x23c6')](_0x1cd3('0x35de'),mxUtils[_0x1cd3('0x5b2')](this,function(){if(!_0x4edb4c[_0x1cd3('0x3073')]){this[_0x1cd3('0x361')](_0x1cd3('0x35df'))[_0x1cd3('0x2c15')]();}var _0x372c5d=_0x4edb4c[_0x1cd3('0x2f77')];var _0x464978=_0x4edb4c[_0x1cd3('0x2f76')];var _0x2a7498=_0x4edb4c[_0x1cd3('0x4ce')][_0x1cd3('0x29b5')]-0x14;var _0x4628c7=_0x4edb4c[_0x1cd3('0x4ce')]['clientHeight']-0x14;var _0xf9e83a=Math[_0x1cd3('0x6b1')](0x64*Math['min'](_0x2a7498/_0x372c5d[_0x1cd3('0x4d7')]/_0x464978,_0x4628c7/_0x372c5d[_0x1cd3('0x4e4')]/_0x464978))/0x64;_0x4edb4c[_0x1cd3('0x3193')](_0xf9e83a);_0x4edb4c[_0x1cd3('0x4ce')]['scrollLeft']=Math[_0x1cd3('0x18ba')](_0x4edb4c[_0x1cd3('0x1665')][_0x1cd3('0x43c')]['x']*_0xf9e83a-Math[_0x1cd3('0x13d1')](0xa,(_0x4edb4c['container']['clientWidth']-_0x372c5d[_0x1cd3('0x4d7')]*_0x464978*_0xf9e83a)/0x2));_0x4edb4c['container']['scrollTop']=Math[_0x1cd3('0x18ba')](_0x4edb4c[_0x1cd3('0x1665')][_0x1cd3('0x43c')]['y']*_0xf9e83a-Math[_0x1cd3('0x13d1')](0xa,(_0x4edb4c[_0x1cd3('0x4ce')]['clientHeight']-_0x372c5d[_0x1cd3('0x4e4')]*_0x464978*_0xf9e83a)/0x2));}));this[_0x1cd3('0x23c6')](_0x1cd3('0x35e0'),mxUtils['bind'](this,function(){if(!_0x4edb4c[_0x1cd3('0x3073')]){this[_0x1cd3('0x361')](_0x1cd3('0x35df'))[_0x1cd3('0x2c15')]();}var _0x58ace2=_0x4edb4c[_0x1cd3('0x2f77')];var _0x3597cd=_0x4edb4c[_0x1cd3('0x2f76')];var _0x50a182=_0x4edb4c[_0x1cd3('0x4ce')][_0x1cd3('0x29b5')]-0x14;var _0x26a75c=Math[_0x1cd3('0x6b1')](0x64*_0x50a182/_0x58ace2['width']/_0x3597cd)/0x64;_0x4edb4c[_0x1cd3('0x3193')](_0x26a75c);_0x4edb4c[_0x1cd3('0x4ce')]['scrollLeft']=Math['round'](_0x4edb4c['view'][_0x1cd3('0x43c')]['x']*_0x26a75c-Math['max'](0xa,(_0x4edb4c[_0x1cd3('0x4ce')][_0x1cd3('0x29b5')]-_0x58ace2[_0x1cd3('0x4d7')]*_0x3597cd*_0x26a75c)/0x2));_0x4edb4c[_0x1cd3('0x4ce')][_0x1cd3('0x515')]=Math['round'](_0x4edb4c[_0x1cd3('0x1665')][_0x1cd3('0x43c')]['y']*_0x26a75c-Math[_0x1cd3('0x13d1')](0xa,(_0x4edb4c['container'][_0x1cd3('0x29b4')]-_0x58ace2['height']*_0x3597cd*_0x26a75c)/0x2));}));this[_0x1cd3('0x37b')](_0x1cd3('0x35e1'),new Action(mxResources[_0x1cd3('0x361')](_0x1cd3('0x8f6')),function(){var _0x833f74=mxUtils[_0x1cd3('0x671')](mxResources[_0x1cd3('0x361')](_0x1cd3('0x35d7'))+_0x1cd3('0x35e2'),parseInt(_0x4edb4c[_0x1cd3('0x29de')]()[_0x1cd3('0x2a85')]()*0x64));if(_0x833f74!=null&&_0x833f74['length']>0x0&&!isNaN(parseInt(_0x833f74))){_0x4edb4c[_0x1cd3('0x3193')](parseInt(_0x833f74)/0x64);}}));var _0x5f4029=null;_0x5f4029=this[_0x1cd3('0x23c6')](_0x1cd3('0x34d3'),function(){_0x4edb4c['setGridEnabled'](!_0x4edb4c[_0x1cd3('0x2bf0')]());_0x556e59['updateGraphComponents']();},null,null,'Ctrl+Shift+G');_0x5f4029[_0x1cd3('0x35e3')](!![]);_0x5f4029[_0x1cd3('0x35e4')](function(){return _0x4edb4c[_0x1cd3('0x2bf0')]();});_0x5f4029=this[_0x1cd3('0x23c6')](_0x1cd3('0x329c'),function(){_0x4edb4c[_0x1cd3('0x2bfe')][_0x1cd3('0x2bea')]=!_0x4edb4c[_0x1cd3('0x2bfe')][_0x1cd3('0x2bea')];});_0x5f4029[_0x1cd3('0x35e3')](!![]);_0x5f4029['setSelectedCallback'](function(){return _0x4edb4c[_0x1cd3('0x2bfe')][_0x1cd3('0x2bea')];});_0x5f4029=this['addAction'](_0x1cd3('0x34e8'),function(){_0x4edb4c[_0x1cd3('0x3076')][_0x1cd3('0x2bee')](!_0x4edb4c[_0x1cd3('0x3076')][_0x1cd3('0x2c76')]());});_0x5f4029[_0x1cd3('0x35e3')](!![]);_0x5f4029['setSelectedCallback'](function(){return _0x4edb4c['tooltipHandler'][_0x1cd3('0x2c76')]();});_0x5f4029=this[_0x1cd3('0x23c6')]('navigation',function(){_0x4edb4c['foldingEnabled']=!_0x4edb4c[_0x1cd3('0x30ce')];_0x4edb4c[_0x1cd3('0x1665')][_0x1cd3('0x3065')]();});_0x5f4029[_0x1cd3('0x35e3')](!![]);_0x5f4029['setSelectedCallback'](function(){return _0x4edb4c[_0x1cd3('0x30ce')];});_0x5f4029=this[_0x1cd3('0x23c6')]('scrollbars',function(){_0x4edb4c[_0x1cd3('0x2c60')]=!_0x4edb4c['scrollbars'];_0x556e59[_0x1cd3('0x34eb')]();if(!_0x4edb4c[_0x1cd3('0x2c60')]){var _0x126067=_0x4edb4c[_0x1cd3('0x1665')][_0x1cd3('0x43c')];_0x4edb4c[_0x1cd3('0x1665')][_0x1cd3('0x2c6f')](_0x126067['x']-_0x4edb4c['container'][_0x1cd3('0x767')]/_0x4edb4c[_0x1cd3('0x1665')][_0x1cd3('0x29df')],_0x126067['y']-_0x4edb4c[_0x1cd3('0x4ce')]['scrollTop']/_0x4edb4c[_0x1cd3('0x1665')][_0x1cd3('0x29df')]);_0x4edb4c[_0x1cd3('0x4ce')][_0x1cd3('0x767')]=0x0;_0x4edb4c[_0x1cd3('0x4ce')]['scrollTop']=0x0;_0x4edb4c[_0x1cd3('0x3067')]();}else{var _0x1fd9ec=_0x4edb4c['view']['translate']['x'];var _0x517e43=_0x4edb4c['view'][_0x1cd3('0x43c')]['y'];_0x4edb4c[_0x1cd3('0x1665')][_0x1cd3('0x43c')]['x']=0x0;_0x4edb4c[_0x1cd3('0x1665')][_0x1cd3('0x43c')]['y']=0x0;_0x4edb4c[_0x1cd3('0x3067')]();_0x4edb4c['container']['scrollLeft']-=Math[_0x1cd3('0x18ba')](_0x1fd9ec*_0x4edb4c[_0x1cd3('0x1665')][_0x1cd3('0x29df')]);_0x4edb4c[_0x1cd3('0x4ce')]['scrollTop']-=Math[_0x1cd3('0x18ba')](_0x517e43*_0x4edb4c[_0x1cd3('0x1665')][_0x1cd3('0x29df')]);}},!mxClient['IS_TOUCH']);_0x5f4029[_0x1cd3('0x35e3')](!![]);_0x5f4029['setSelectedCallback'](function(){return _0x4edb4c[_0x1cd3('0x4ce')][_0x1cd3('0x440')][_0x1cd3('0x29f1')]==_0x1cd3('0x534');});_0x5f4029=this['addAction'](_0x1cd3('0x35df'),mxUtils[_0x1cd3('0x5b2')](this,function(){_0x4edb4c[_0x1cd3('0x3073')]=!_0x4edb4c[_0x1cd3('0x3073')];_0x4edb4c[_0x1cd3('0x30c3')]=_0x4edb4c[_0x1cd3('0x3073')];_0x4edb4c[_0x1cd3('0x30c7')]=_0x4edb4c[_0x1cd3('0x30c3')];_0x4edb4c[_0x1cd3('0x1665')][_0x1cd3('0x306b')]();_0x4edb4c[_0x1cd3('0x3067')]();_0x556e59[_0x1cd3('0x34eb')]();_0x556e59[_0x1cd3('0x3232')]['update']();if(mxUtils[_0x1cd3('0x3197')](_0x4edb4c[_0x1cd3('0x4ce')])){if(_0x4edb4c[_0x1cd3('0x3073')]){_0x4edb4c[_0x1cd3('0x4ce')][_0x1cd3('0x767')]-=0x14;_0x4edb4c[_0x1cd3('0x4ce')][_0x1cd3('0x515')]-=0x14;}else{_0x4edb4c[_0x1cd3('0x4ce')]['scrollLeft']+=0x14;_0x4edb4c[_0x1cd3('0x4ce')]['scrollTop']+=0x14;}}}));_0x5f4029[_0x1cd3('0x35e3')](!![]);_0x5f4029[_0x1cd3('0x35e4')](function(){return _0x4edb4c[_0x1cd3('0x3073')];});_0x5f4029=this[_0x1cd3('0x23c6')]('connect',function(){_0x4edb4c['setConnectable'](!_0x4edb4c[_0x1cd3('0x3101')][_0x1cd3('0x2c76')]());},null,null,_0x1cd3('0x35e5'));_0x5f4029[_0x1cd3('0x35e3')](!![]);_0x5f4029[_0x1cd3('0x35e4')](function(){return _0x4edb4c[_0x1cd3('0x3101')]['isEnabled']();});_0x5f4029=this[_0x1cd3('0x23c6')](_0x1cd3('0x35e6'),function(){_0x4edb4c['connectionHandler'][_0x1cd3('0x35e7')](!_0x4edb4c[_0x1cd3('0x3101')]['isCreateTarget']());});_0x5f4029[_0x1cd3('0x35e3')](!![]);_0x5f4029['setSelectedCallback'](function(){return _0x4edb4c[_0x1cd3('0x3101')][_0x1cd3('0x32d9')]();});this[_0x1cd3('0x23c6')]('help',function(){window[_0x1cd3('0xee4')](_0x1cd3('0x35e8'));});this[_0x1cd3('0x37b')](_0x1cd3('0x34d4'),new Action(mxResources[_0x1cd3('0x361')]('about')+_0x1cd3('0x35e9'),function(){window[_0x1cd3('0xee4')]('http://callysquare.com/');},null,null,null));var _0x3bada8=mxUtils[_0x1cd3('0x5b2')](this,function(_0x59e66e,_0x4e606a){this[_0x1cd3('0x23c6')](_0x59e66e,function(){_0x4edb4c[_0x1cd3('0x33bf')](mxConstants[_0x1cd3('0x2fd7')],_0x4e606a);});});_0x3bada8(_0x1cd3('0x2d5a'),mxConstants[_0x1cd3('0x2d39')]);_0x3bada8(_0x1cd3('0x2d5c'),mxConstants[_0x1cd3('0x2d3b')]);_0x3bada8(_0x1cd3('0x2a1d'),mxConstants[_0x1cd3('0x2d3d')]);this[_0x1cd3('0x23c6')](_0x1cd3('0x2ae0'),function(){_0x4edb4c['toggleCellStyles'](mxConstants[_0x1cd3('0x2dee')]);});this[_0x1cd3('0x23c6')](_0x1cd3('0x2ae7'),function(){_0x4edb4c[_0x1cd3('0x313d')](mxConstants[_0x1cd3('0x2def')]);});this[_0x1cd3('0x23c6')](_0x1cd3('0x1201'),function(){_0x4edb4c[_0x1cd3('0x313d')](mxConstants[_0x1cd3('0x2df0')]);});this[_0x1cd3('0x23c6')]('curved',function(){_0x4edb4c[_0x1cd3('0x313d')](mxConstants[_0x1cd3('0x2e4f')]);});this[_0x1cd3('0x23c6')](_0x1cd3('0x440'),function(){var _0x12e7f6=_0x4edb4c[_0x1cd3('0x2b92')]();if(_0x12e7f6!=null&&_0x12e7f6[_0x1cd3('0x7a')]>0x0){var _0x4d38c6=_0x4edb4c[_0x1cd3('0x2a77')]();var _0xe29195=mxUtils[_0x1cd3('0x671')](mxResources[_0x1cd3('0x361')](_0x1cd3('0x35d7'))+'\x20('+mxResources[_0x1cd3('0x361')]('style')+')',_0x4d38c6['getStyle'](_0x12e7f6[0x0])||'');if(_0xe29195!=null){_0x4edb4c[_0x1cd3('0x35ea')](_0xe29195,_0x12e7f6);}}});this[_0x1cd3('0x23c6')](_0x1cd3('0x34b9'),function(){_0x4edb4c[_0x1cd3('0x35b0')](_0x4edb4c[_0x1cd3('0x313c')]());});this[_0x1cd3('0x23c6')]('addWaypoint',function(){var _0x109799=_0x4edb4c[_0x1cd3('0x313c')]();if(_0x109799!=null&&_0x4edb4c[_0x1cd3('0x2a77')]()['isEdge'](_0x109799)){var _0x2aaf10=_0x556e59[_0x1cd3('0x2c89')][_0x1cd3('0x319a')][_0x1cd3('0x31b3')](_0x109799);if(_0x2aaf10 instanceof mxEdgeHandler){var _0x4bf95d=_0x4edb4c[_0x1cd3('0x1665')][_0x1cd3('0x43c')];var _0x578205=_0x4edb4c[_0x1cd3('0x1665')][_0x1cd3('0x29df')];var _0x3c2117=_0x4bf95d['x'];var _0x36eb7d=_0x4bf95d['y'];var _0x53fa67=_0x4edb4c[_0x1cd3('0x2a77')]()[_0x1cd3('0x2c9d')](_0x109799);var _0x4a4b42=_0x4edb4c[_0x1cd3('0x2e6e')](_0x53fa67);if(_0x4edb4c[_0x1cd3('0x2a77')]()[_0x1cd3('0x2c98')](_0x53fa67)&&_0x4a4b42!=null){_0x3c2117+=_0x4a4b42['x'];_0x36eb7d+=_0x4a4b42['y'];}_0x2aaf10['addPointAt'](_0x2aaf10[_0x1cd3('0x19')],_0x4edb4c[_0x1cd3('0x3100')][_0x1cd3('0x35eb')]/_0x578205-_0x3c2117,_0x4edb4c[_0x1cd3('0x3100')][_0x1cd3('0x329f')]/_0x578205-_0x36eb7d);}}});this[_0x1cd3('0x23c6')]('removeWaypoint',function(){var _0x2e9f58=_0x136ebc[_0x1cd3('0x947')][_0x1cd3('0x361')](_0x1cd3('0x35ec'));if(_0x2e9f58[_0x1cd3('0x311c')]!=null){_0x2e9f58['handler'][_0x1cd3('0x3347')](_0x2e9f58[_0x1cd3('0x311c')][_0x1cd3('0x19')],_0x2e9f58[_0x1cd3('0x2f5e')]);}});this[_0x1cd3('0x23c6')](_0x1cd3('0x127a'),function(){function _0x471ec2(_0x542968,_0x18e4a3,_0xef5e7e){var _0x3f361a=null;var _0x5a7ddd=_0x4edb4c[_0x1cd3('0x2b92')]();_0x4edb4c[_0x1cd3('0x2a77')]()[_0x1cd3('0x2a6c')]();try{if(_0x5a7ddd[_0x1cd3('0x7a')]==0x0){var _0x321af7=_0x4edb4c[_0x1cd3('0x31db')]();_0x5a7ddd=[_0x4edb4c['insertVertex'](_0x4edb4c[_0x1cd3('0x2b97')](),null,'',_0x321af7,_0x321af7,_0x18e4a3,_0xef5e7e)];_0x3f361a=_0x5a7ddd;}_0x4edb4c[_0x1cd3('0x2e63')](mxConstants[_0x1cd3('0x3139')],_0x542968,_0x5a7ddd);_0x4edb4c[_0x1cd3('0x2e63')](mxConstants[_0x1cd3('0x2f99')],_0x1cd3('0x127a'),_0x5a7ddd);if(_0x4edb4c[_0x1cd3('0x3219')]()==0x1){if(_0x18e4a3!=null&&_0xef5e7e!=null){var _0x3d7aae=_0x5a7ddd[0x0];var _0x54407b=_0x4edb4c[_0x1cd3('0x2a77')]()[_0x1cd3('0x2e67')](_0x3d7aae);if(_0x54407b!=null){_0x54407b=_0x54407b['clone']();_0x54407b[_0x1cd3('0x4d7')]=_0x18e4a3;_0x54407b['height']=_0xef5e7e;_0x4edb4c[_0x1cd3('0x2a77')]()[_0x1cd3('0x2e68')](_0x3d7aae,_0x54407b);}}}}finally{_0x4edb4c['getModel']()[_0x1cd3('0x2b5e')]();}if(_0x3f361a!=null){_0x4edb4c[_0x1cd3('0x2b99')](_0x3f361a);_0x4edb4c[_0x1cd3('0x338b')](_0x3f361a[0x0]);}};var _0x53f149='';var _0x5288d7=_0x4edb4c[_0x1cd3('0x29de')]()[_0x1cd3('0x29d9')](_0x4edb4c[_0x1cd3('0x313c')]());if(_0x5288d7!=null){_0x53f149=_0x5288d7[_0x1cd3('0x440')][mxConstants[_0x1cd3('0x3139')]]||_0x53f149;}_0x53f149=mxUtils['prompt'](mxResources[_0x1cd3('0x361')](_0x1cd3('0x35d7'))+'\x20('+mxResources['get'](_0x1cd3('0x3a4'))+')',_0x53f149);if(_0x53f149!=null){if(_0x53f149[_0x1cd3('0x7a')]>0x0){var _0x50333b=new Image();_0x50333b['onload']=function(){_0x471ec2(_0x53f149,_0x50333b[_0x1cd3('0x4d7')],_0x50333b[_0x1cd3('0x4e4')]);};_0x50333b[_0x1cd3('0x35ed')]=function(){mxUtils['alert'](mxResources['get'](_0x1cd3('0x35ee')));};_0x50333b[_0x1cd3('0x487')]=_0x53f149;}}});};Actions[_0x1cd3('0x77a')][_0x1cd3('0x23c6')]=function(_0x5e3136,_0x55ea3b,_0x134ee6,_0x338c61,_0x34c2c2){return this[_0x1cd3('0x37b')](_0x5e3136,new Action(mxResources[_0x1cd3('0x361')](_0x5e3136),_0x55ea3b,_0x134ee6,_0x338c61,_0x34c2c2));};Actions['prototype'][_0x1cd3('0x37b')]=function(_0x37743e,_0x592a82){this[_0x1cd3('0x947')][_0x37743e]=_0x592a82;return _0x592a82;};Actions[_0x1cd3('0x77a')]['get']=function(_0x411785){return this[_0x1cd3('0x947')][_0x411785];};function Action(_0xb98966,_0x4b8b58,_0x265e6e,_0x5d52d7,_0x454e54){mxEventSource[_0x1cd3('0x46d')](this);this['label']=_0xb98966;this[_0x1cd3('0x2c15')]=_0x4b8b58;this[_0x1cd3('0x396')]=_0x265e6e!=null?_0x265e6e:!![];this['iconCls']=_0x5d52d7;this[_0x1cd3('0x35ef')]=_0x454e54;};mxUtils[_0x1cd3('0x4d2')](Action,mxEventSource);Action[_0x1cd3('0x77a')]['setEnabled']=function(_0x32d17a){if(this['enabled']!=_0x32d17a){this[_0x1cd3('0x396')]=_0x32d17a;this[_0x1cd3('0x2b28')](new mxEventObject('stateChanged'));}};Action['prototype']['setToggleAction']=function(_0x49e329){this[_0x1cd3('0x35f0')]=_0x49e329;};Action[_0x1cd3('0x77a')]['setSelectedCallback']=function(_0xcab338){this[_0x1cd3('0x35f1')]=_0xcab338;};Action[_0x1cd3('0x77a')]['isSelected']=function(){return this[_0x1cd3('0x35f1')]();};Menus=function(_0x1662c0){this[_0x1cd3('0x3506')]=_0x1662c0;this[_0x1cd3('0x3443')]=new Object();this['init']();new Image()[_0x1cd3('0x487')]=IMAGE_PATH+_0x1cd3('0x35f2');};Menus[_0x1cd3('0x77a')][_0x1cd3('0xe08')]=function(){var _0xf3c426=this[_0x1cd3('0x3506')]['editor'][_0x1cd3('0x2c89')];this[_0x1cd3('0x37b')]('fontFamily',new Menu(mxUtils[_0x1cd3('0x5b2')](this,function(_0x5cf7f3,_0x46220d){var _0x1a87d9=['Helvetica','Verdana',_0x1cd3('0x4ae'),_0x1cd3('0x35f3'),'Comic\x20Sans\x20MS','Courier\x20New',_0x1cd3('0x4aa'),_0x1cd3('0x35f4'),_0x1cd3('0x4ac')];for(var _0x3830ae=0x0;_0x3830ae<_0x1a87d9['length'];_0x3830ae++){var _0x39aa02=this['styleChange'](_0x5cf7f3,_0x1a87d9[_0x3830ae],[mxConstants[_0x1cd3('0x2fd6')]],[_0x1a87d9[_0x3830ae]],null,_0x46220d);_0x39aa02[_0x1cd3('0x29f5')]['nextSibling']['style']['fontFamily']=_0x1a87d9[_0x3830ae];}_0x5cf7f3[_0x1cd3('0x2c7a')](_0x46220d);this[_0x1cd3('0x35f5')](_0x5cf7f3,mxResources['get'](_0x1cd3('0x8f6')),'',mxConstants[_0x1cd3('0x2a71')],mxConstants[_0x1cd3('0x2fd6')],_0x46220d);})));this['put']('fontSize',new Menu(mxUtils[_0x1cd3('0x5b2')](this,function(_0x4b54b8,_0x1195cc){var _0x4174a2=[0x6,0x8,0x9,0xa,0xb,0xc,0xe,0x12,0x18,0x24,0x30,0x48];for(var _0xe250b1=0x0;_0xe250b1<_0x4174a2[_0x1cd3('0x7a')];_0xe250b1++){this[_0x1cd3('0x35f6')](_0x4b54b8,_0x4174a2[_0xe250b1],[mxConstants['STYLE_FONTSIZE']],[_0x4174a2[_0xe250b1]],null,_0x1195cc);}_0x4b54b8[_0x1cd3('0x2c7a')](_0x1195cc);this[_0x1cd3('0x35f5')](_0x4b54b8,mxResources['get'](_0x1cd3('0x8f6')),'(pt)','12',mxConstants['STYLE_FONTSIZE'],_0x1195cc);})));this[_0x1cd3('0x37b')](_0x1cd3('0x34b6'),new Menu(mxUtils[_0x1cd3('0x5b2')](this,function(_0x169e75,_0x1d2457){var _0x12c598=[0x1,0x2,0x3,0x4,0x8,0xc,0x10,0x18];for(var _0x1da5ba=0x0;_0x1da5ba<_0x12c598['length'];_0x1da5ba++){this[_0x1cd3('0x35f6')](_0x169e75,_0x12c598[_0x1da5ba]+'px',[mxConstants['STYLE_STROKEWIDTH']],[_0x12c598[_0x1da5ba]],null,_0x1d2457);}_0x169e75['addSeparator'](_0x1d2457);this[_0x1cd3('0x35f5')](_0x169e75,mxResources[_0x1cd3('0x361')](_0x1cd3('0x8f6')),'(px)','1',mxConstants[_0x1cd3('0x2dac')],_0x1d2457);})));this[_0x1cd3('0x37b')]('line',new Menu(mxUtils['bind'](this,function(_0x365c1e,_0x2706f2){this['styleChange'](_0x365c1e,mxResources[_0x1cd3('0x361')](_0x1cd3('0x35f7')),[mxConstants[_0x1cd3('0x335d')]],[null],null,_0x2706f2);this[_0x1cd3('0x35f6')](_0x365c1e,mxResources[_0x1cd3('0x361')]('entityRelation'),[mxConstants[_0x1cd3('0x335d')]],['entityRelationEdgeStyle'],null,_0x2706f2);_0x365c1e[_0x1cd3('0x2c7a')](_0x2706f2);this[_0x1cd3('0x35f6')](_0x365c1e,mxResources[_0x1cd3('0x361')](_0x1cd3('0x749')),[mxConstants['STYLE_EDGE'],mxConstants[_0x1cd3('0x35af')]],[_0x1cd3('0x2b08'),_0x1cd3('0x749')],null,_0x2706f2);this['styleChange'](_0x365c1e,mxResources['get'](_0x1cd3('0x751')),[mxConstants[_0x1cd3('0x335d')],mxConstants[_0x1cd3('0x35af')]],['elbowEdgeStyle',_0x1cd3('0x751')],null,_0x2706f2);_0x365c1e[_0x1cd3('0x2c7a')](_0x2706f2);this[_0x1cd3('0x35f6')](_0x365c1e,mxResources['get']('manual'),[mxConstants[_0x1cd3('0x335d')]],[_0x1cd3('0x35f8')],null,_0x2706f2);this['styleChange'](_0x365c1e,mxResources[_0x1cd3('0x361')](_0x1cd3('0x35f9')),[mxConstants[_0x1cd3('0x335d')]],['orthogonalEdgeStyle'],null,_0x2706f2);})));this['put'](_0x1cd3('0x34b7'),new Menu(mxUtils[_0x1cd3('0x5b2')](this,function(_0x41d08b,_0x28f883){this[_0x1cd3('0x35f6')](_0x41d08b,mxResources[_0x1cd3('0x361')](_0x1cd3('0x2e02')),[mxConstants[_0x1cd3('0x2deb')]],[mxConstants[_0x1cd3('0x2e00')]],null,_0x28f883);this[_0x1cd3('0x35f6')](_0x41d08b,mxResources['get'](_0x1cd3('0x35fa')),[mxConstants['STYLE_ENDARROW']],[mxConstants[_0x1cd3('0x35fb')]],null,_0x28f883);this[_0x1cd3('0x35f6')](_0x41d08b,mxResources[_0x1cd3('0x361')](_0x1cd3('0x574')),[mxConstants[_0x1cd3('0x2deb')]],[mxConstants['ARROW_BLOCK']],null,_0x28f883);_0x41d08b[_0x1cd3('0x2c7a')](_0x28f883);this[_0x1cd3('0x35f6')](_0x41d08b,mxResources[_0x1cd3('0x361')](_0x1cd3('0x2b01')),[mxConstants[_0x1cd3('0x2deb')]],[mxConstants[_0x1cd3('0x35fc')]],null,_0x28f883);this[_0x1cd3('0x35f6')](_0x41d08b,mxResources[_0x1cd3('0x361')](_0x1cd3('0x2b02')),[mxConstants['STYLE_ENDARROW']],[mxConstants[_0x1cd3('0x2e01')]],null,_0x28f883);this[_0x1cd3('0x35f6')](_0x41d08b,mxResources[_0x1cd3('0x361')](_0x1cd3('0x2b03')),[mxConstants['STYLE_ENDARROW']],[mxConstants[_0x1cd3('0x35fd')]],null,_0x28f883);_0x41d08b['addSeparator'](_0x28f883);this[_0x1cd3('0x35f6')](_0x41d08b,mxResources[_0x1cd3('0x361')](_0x1cd3('0x6ae')),[mxConstants[_0x1cd3('0x2deb')]],[mxConstants['NONE']],null,_0x28f883);_0x41d08b[_0x1cd3('0x2c7a')](_0x28f883);_0x41d08b[_0x1cd3('0x14d7')](mxResources[_0x1cd3('0x361')](_0x1cd3('0x2d19')),null,function(){_0xf3c426['toggleCellStyles'](_0x1cd3('0x2ae5'),!![]);},_0x28f883,null,!![]);_0x41d08b[_0x1cd3('0x2c7a')](_0x28f883);this[_0x1cd3('0x35f5')](_0x41d08b,mxResources[_0x1cd3('0x361')](_0x1cd3('0x113e')),'(px)',mxConstants[_0x1cd3('0x2e50')],mxConstants[_0x1cd3('0x2de9')],_0x28f883);})));this[_0x1cd3('0x37b')]('linestart',new Menu(mxUtils[_0x1cd3('0x5b2')](this,function(_0x5a211f,_0x49f7ea){this[_0x1cd3('0x35f6')](_0x5a211f,mxResources['get']('classic'),[mxConstants[_0x1cd3('0x2dea')]],[mxConstants[_0x1cd3('0x2e00')]],null,_0x49f7ea);this[_0x1cd3('0x35f6')](_0x5a211f,mxResources[_0x1cd3('0x361')](_0x1cd3('0x35fa')),[mxConstants[_0x1cd3('0x2dea')]],[mxConstants['ARROW_OPEN']],null,_0x49f7ea);this[_0x1cd3('0x35f6')](_0x5a211f,mxResources['get']('block'),[mxConstants['STYLE_STARTARROW']],[mxConstants[_0x1cd3('0x35fe')]],null,_0x49f7ea);_0x5a211f['addSeparator'](_0x49f7ea);this[_0x1cd3('0x35f6')](_0x5a211f,mxResources[_0x1cd3('0x361')](_0x1cd3('0x2b01')),[mxConstants[_0x1cd3('0x2dea')]],[mxConstants[_0x1cd3('0x35fc')]],null,_0x49f7ea);this['styleChange'](_0x5a211f,mxResources[_0x1cd3('0x361')](_0x1cd3('0x2b02')),[mxConstants[_0x1cd3('0x2dea')]],[mxConstants[_0x1cd3('0x2e01')]],null,_0x49f7ea);this[_0x1cd3('0x35f6')](_0x5a211f,mxResources[_0x1cd3('0x361')]('diamondThin'),[mxConstants[_0x1cd3('0x2dea')]],[mxConstants[_0x1cd3('0x35fd')]],null,_0x49f7ea);_0x5a211f['addSeparator'](_0x49f7ea);this['styleChange'](_0x5a211f,mxResources['get'](_0x1cd3('0x6ae')),[mxConstants['STYLE_STARTARROW']],[mxConstants['NONE']],null,_0x49f7ea);_0x5a211f[_0x1cd3('0x2c7a')](_0x49f7ea);_0x5a211f[_0x1cd3('0x14d7')](mxResources[_0x1cd3('0x361')]('transparent'),null,function(){_0xf3c426[_0x1cd3('0x313d')]('startFill',!![]);},_0x49f7ea,null,!![]);_0x5a211f['addSeparator'](_0x49f7ea);this[_0x1cd3('0x35f5')](_0x5a211f,mxResources[_0x1cd3('0x361')](_0x1cd3('0x113e')),_0x1cd3('0x35ff'),mxConstants[_0x1cd3('0x2e50')],mxConstants['STYLE_STARTSIZE'],_0x49f7ea);})));this[_0x1cd3('0x37b')](_0x1cd3('0x2aed'),new Menu(mxUtils[_0x1cd3('0x5b2')](this,function(_0x481ac2,_0x37506a){var _0x20f89f=this[_0x1cd3('0x3506')][_0x1cd3('0x947')][_0x1cd3('0x361')](_0x1cd3('0x2ae0'))[_0x1cd3('0x396')];var _0x30228f=this[_0x1cd3('0x361')](_0x1cd3('0x28e8'))['enabled'];if(_0x20f89f||_0x481ac2[_0x1cd3('0x3600')]){this[_0x1cd3('0x35f5')](_0x481ac2,mxResources[_0x1cd3('0x361')](_0x1cd3('0x712')),'(px)','0',mxConstants[_0x1cd3('0x2fe3')],_0x37506a,_0x20f89f);this[_0x1cd3('0x35f5')](_0x481ac2,mxResources['get'](_0x1cd3('0x58e')),_0x1cd3('0x35ff'),'0',mxConstants['STYLE_SPACING_RIGHT'],_0x37506a,_0x20f89f);this['promptChange'](_0x481ac2,mxResources[_0x1cd3('0x361')](_0x1cd3('0x2bb0')),_0x1cd3('0x35ff'),'0',mxConstants[_0x1cd3('0x3601')],_0x37506a,_0x20f89f);this[_0x1cd3('0x35f5')](_0x481ac2,mxResources[_0x1cd3('0x361')](_0x1cd3('0x762')),'(px)','0',mxConstants[_0x1cd3('0x2fe5')],_0x37506a,_0x20f89f);_0x481ac2[_0x1cd3('0x2c7a')](_0x37506a);this['promptChange'](_0x481ac2,mxResources[_0x1cd3('0x361')](_0x1cd3('0x28f4')),'(px)','0',mxConstants[_0x1cd3('0x2fe2')],_0x37506a,_0x20f89f);this['promptChange'](_0x481ac2,mxResources[_0x1cd3('0x361')]('perimeter'),'(px)','0',mxConstants[_0x1cd3('0x3093')],_0x37506a,_0x20f89f);}if(_0x30228f||_0x481ac2[_0x1cd3('0x3600')]){_0x481ac2['addSeparator'](_0x37506a);this[_0x1cd3('0x35f5')](_0x481ac2,mxResources[_0x1cd3('0x361')]('sourceSpacing'),_0x1cd3('0x35ff'),'0',mxConstants[_0x1cd3('0x308c')],_0x37506a,_0x30228f);this['promptChange'](_0x481ac2,mxResources['get'](_0x1cd3('0x3602')),_0x1cd3('0x35ff'),'0',mxConstants['STYLE_TARGET_PERIMETER_SPACING'],_0x37506a,_0x30228f);}})));this['put']('format',new Menu(mxUtils[_0x1cd3('0x5b2')](this,function(_0x74465f,_0x18686c){this[_0x1cd3('0x3603')](_0x74465f,_0x1cd3('0x440'),_0x18686c);})));this[_0x1cd3('0x37b')](_0x1cd3('0x401'),new Menu(mxUtils[_0x1cd3('0x5b2')](this,function(_0x1f12de,_0x4bee7d){var _0x452669=this['get'](_0x1cd3('0x401'))[_0x1cd3('0x396')];_0x1f12de[_0x1cd3('0x2c7a')](_0x4bee7d);this[_0x1cd3('0x3604')](_0x1cd3('0x1841'),_0x1f12de,_0x4bee7d);this[_0x1cd3('0x3604')]('fontSize',_0x1f12de,_0x4bee7d);this[_0x1cd3('0x3605')](_0x1f12de,['-',_0x1cd3('0x2d5a'),_0x1cd3('0x2d5c'),'underline','-'],_0x4bee7d);this[_0x1cd3('0x3604')](_0x1cd3('0x34b4'),_0x1f12de,_0x4bee7d);this[_0x1cd3('0x3603')](_0x1f12de,'wordWrap',_0x4bee7d);_0x1f12de[_0x1cd3('0x2c7a')](_0x4bee7d);this[_0x1cd3('0x35f5')](_0x1f12de,mxResources[_0x1cd3('0x361')](_0x1cd3('0x2ac0')),_0x1cd3('0x3606'),_0x1cd3('0x9bf'),mxConstants[_0x1cd3('0x3015')],_0x4bee7d,_0x452669);_0x1f12de[_0x1cd3('0x14d7')](mxResources[_0x1cd3('0x361')](_0x1cd3('0x39d')),null,function(){_0xf3c426[_0x1cd3('0x313d')](mxConstants[_0x1cd3('0x31b0')],![]);},_0x4bee7d,null,_0x452669);})));this[_0x1cd3('0x37b')](_0x1cd3('0x34b4'),new Menu(mxUtils[_0x1cd3('0x5b2')](this,function(_0x5f47ea,_0x375ced){this[_0x1cd3('0x35f6')](_0x5f47ea,mxResources[_0x1cd3('0x361')](_0x1cd3('0x3607')),[mxConstants['STYLE_ALIGN']],[mxConstants['ALIGN_LEFT']],null,_0x375ced);this[_0x1cd3('0x35f6')](_0x5f47ea,mxResources[_0x1cd3('0x361')](_0x1cd3('0x2b04')),[mxConstants[_0x1cd3('0x2fa0')]],[mxConstants[_0x1cd3('0x2d3f')]],null,_0x375ced);this[_0x1cd3('0x35f6')](_0x5f47ea,mxResources['get']('rightAlign'),[mxConstants['STYLE_ALIGN']],[mxConstants[_0x1cd3('0x2a6f')]],null,_0x375ced);_0x5f47ea[_0x1cd3('0x2c7a')](_0x375ced);this[_0x1cd3('0x35f6')](_0x5f47ea,mxResources['get'](_0x1cd3('0x3608')),[mxConstants['STYLE_VERTICAL_ALIGN']],[mxConstants[_0x1cd3('0x2e49')]],null,_0x375ced);this[_0x1cd3('0x35f6')](_0x5f47ea,mxResources['get'](_0x1cd3('0x2a9e')),[mxConstants[_0x1cd3('0x2f9b')]],[mxConstants[_0x1cd3('0x2d56')]],null,_0x375ced);this['styleChange'](_0x5f47ea,mxResources[_0x1cd3('0x361')]('bottomAlign'),[mxConstants['STYLE_VERTICAL_ALIGN']],[mxConstants[_0x1cd3('0x2a70')]],null,_0x375ced);_0x5f47ea[_0x1cd3('0x2c7a')](_0x375ced);this[_0x1cd3('0x3604')](_0x1cd3('0x679'),_0x5f47ea,_0x375ced);this['addSubmenu'](_0x1cd3('0x2aed'),_0x5f47ea,_0x375ced);_0x5f47ea[_0x1cd3('0x2c7a')](_0x375ced);var _0x31e03a=this[_0x1cd3('0x361')](_0x1cd3('0x401'))[_0x1cd3('0x396')];_0x5f47ea[_0x1cd3('0x14d7')](mxResources['get']('vertical'),null,function(){_0xf3c426[_0x1cd3('0x313d')](mxConstants[_0x1cd3('0x2a5c')],!![]);},_0x375ced,null,_0x31e03a);})));this[_0x1cd3('0x37b')](_0x1cd3('0x679'),new Menu(mxUtils['bind'](this,function(_0x1faf04,_0x2ce6b8){this[_0x1cd3('0x35f6')](_0x1faf04,mxResources[_0x1cd3('0x361')](_0x1cd3('0x762')),[mxConstants['STYLE_LABEL_POSITION'],mxConstants['STYLE_ALIGN']],[mxConstants['ALIGN_LEFT'],mxConstants[_0x1cd3('0x2a6f')]],null,_0x2ce6b8);this[_0x1cd3('0x35f6')](_0x1faf04,mxResources[_0x1cd3('0x361')](_0x1cd3('0x2b04')),[mxConstants[_0x1cd3('0x2fd1')],mxConstants[_0x1cd3('0x2fa0')]],[mxConstants[_0x1cd3('0x2d3f')],mxConstants[_0x1cd3('0x2d3f')]],null,_0x2ce6b8);this[_0x1cd3('0x35f6')](_0x1faf04,mxResources[_0x1cd3('0x361')]('right'),[mxConstants[_0x1cd3('0x2fd1')],mxConstants['STYLE_ALIGN']],[mxConstants[_0x1cd3('0x2a6f')],mxConstants[_0x1cd3('0x2e45')]],null,_0x2ce6b8);_0x1faf04[_0x1cd3('0x2c7a')](_0x2ce6b8);this[_0x1cd3('0x35f6')](_0x1faf04,mxResources[_0x1cd3('0x361')]('top'),[mxConstants['STYLE_VERTICAL_LABEL_POSITION'],mxConstants[_0x1cd3('0x2f9b')]],[mxConstants[_0x1cd3('0x2e49')],mxConstants[_0x1cd3('0x2a70')]],null,_0x2ce6b8);this['styleChange'](_0x1faf04,mxResources[_0x1cd3('0x361')](_0x1cd3('0x2a9e')),[mxConstants[_0x1cd3('0x2fd2')],mxConstants[_0x1cd3('0x2f9b')]],[mxConstants[_0x1cd3('0x2d56')],mxConstants[_0x1cd3('0x2d56')]],null,_0x2ce6b8);this['styleChange'](_0x1faf04,mxResources[_0x1cd3('0x361')](_0x1cd3('0x2bb0')),[mxConstants[_0x1cd3('0x2fd2')],mxConstants[_0x1cd3('0x2f9b')]],[mxConstants['ALIGN_BOTTOM'],mxConstants[_0x1cd3('0x2e49')]],null,_0x2ce6b8);})));this[_0x1cd3('0x37b')](_0x1cd3('0x5e0'),new Menu(mxUtils['bind'](this,function(_0x30d487,_0x578d0c){_0x30d487[_0x1cd3('0x14d7')](mxResources[_0x1cd3('0x361')](_0x1cd3('0x2ce3')),null,function(){_0xf3c426[_0x1cd3('0x313d')](mxConstants[_0x1cd3('0x3609')],![]);},_0x578d0c);_0x30d487[_0x1cd3('0x14d7')](mxResources['get'](_0x1cd3('0x2ad7')),null,function(){_0xf3c426[_0x1cd3('0x313d')](mxConstants['STYLE_FLIPV'],![]);},_0x578d0c);this['addMenuItems'](_0x30d487,['-',_0x1cd3('0x34b0'),_0x1cd3('0x2ac8')],_0x578d0c);})));this[_0x1cd3('0x37b')](_0x1cd3('0x183e'),new Menu(mxUtils[_0x1cd3('0x5b2')](this,function(_0x28ed99,_0x5013d3){_0x28ed99['addItem'](mxResources[_0x1cd3('0x361')](_0x1cd3('0x3607')),null,function(){_0xf3c426[_0x1cd3('0x2b73')](mxConstants[_0x1cd3('0x2e45')]);},_0x5013d3);_0x28ed99[_0x1cd3('0x14d7')](mxResources[_0x1cd3('0x361')](_0x1cd3('0x2b04')),null,function(){_0xf3c426['alignCells'](mxConstants[_0x1cd3('0x2d3f')]);},_0x5013d3);_0x28ed99[_0x1cd3('0x14d7')](mxResources[_0x1cd3('0x361')](_0x1cd3('0x360a')),null,function(){_0xf3c426[_0x1cd3('0x2b73')](mxConstants[_0x1cd3('0x2a6f')]);},_0x5013d3);_0x28ed99[_0x1cd3('0x2c7a')](_0x5013d3);_0x28ed99[_0x1cd3('0x14d7')](mxResources[_0x1cd3('0x361')](_0x1cd3('0x3608')),null,function(){_0xf3c426['alignCells'](mxConstants[_0x1cd3('0x2e49')]);},_0x5013d3);_0x28ed99[_0x1cd3('0x14d7')](mxResources[_0x1cd3('0x361')]('middle'),null,function(){_0xf3c426[_0x1cd3('0x2b73')](mxConstants[_0x1cd3('0x2d56')]);},_0x5013d3);_0x28ed99['addItem'](mxResources[_0x1cd3('0x361')]('bottomAlign'),null,function(){_0xf3c426['alignCells'](mxConstants[_0x1cd3('0x2a70')]);},_0x5013d3);})));this[_0x1cd3('0x37b')](_0x1cd3('0x2e8f'),new Menu(mxUtils[_0x1cd3('0x5b2')](this,function(_0x30cb86,_0x12397e){_0x30cb86['addItem'](mxResources['get'](_0x1cd3('0x338a')),null,mxUtils[_0x1cd3('0x5b2')](this,function(){var _0xf4905f=new mxHierarchicalLayout(_0xf3c426,mxConstants['DIRECTION_WEST']);this[_0x1cd3('0x3506')][_0x1cd3('0x325c')](_0xf4905f,!![],!![]);}),_0x12397e);_0x30cb86[_0x1cd3('0x14d7')](mxResources[_0x1cd3('0x361')](_0x1cd3('0x360b')),null,mxUtils[_0x1cd3('0x5b2')](this,function(){var _0xcdeb96=new mxHierarchicalLayout(_0xf3c426,mxConstants[_0x1cd3('0x2d11')]);this[_0x1cd3('0x3506')][_0x1cd3('0x325c')](_0xcdeb96,!![],!![]);}),_0x12397e);})));this[_0x1cd3('0x37b')]('navigation',new Menu(mxUtils['bind'](this,function(_0x196006,_0x4e9325){this['addMenuItems'](_0x196006,[_0x1cd3('0x3109'),'-',_0x1cd3('0x318c'),_0x1cd3('0x318a'),'-','expand',_0x1cd3('0x56b')],_0x4e9325);})));this[_0x1cd3('0x37b')](_0x1cd3('0x34b5'),new Menu(mxUtils[_0x1cd3('0x5b2')](this,function(_0x5b5069,_0x4828de){this['addMenuItems'](_0x5b5069,[_0x1cd3('0x33bb'),'toBack','-'],_0x4828de);this[_0x1cd3('0x3604')](_0x1cd3('0x2e8f'),_0x5b5069,_0x4828de);_0x5b5069['addSeparator'](_0x4828de);this[_0x1cd3('0x3605')](_0x5b5069,['-',_0x1cd3('0x56d'),_0x1cd3('0x33b5'),_0x1cd3('0x34b3')],_0x4828de);})));this['put'](_0x1cd3('0x1665'),new Menu(mxUtils[_0x1cd3('0x5b2')](this,function(_0x21f07a,_0xfcab15){this['addMenuItems'](_0x21f07a,[_0x1cd3('0x35db')],_0xfcab15);_0x21f07a[_0x1cd3('0x2c7a')]();var _0x51c399=[0.25,0.5,0.75,0x1,0x2,0x4];for(var _0x56ee89=0x0;_0x56ee89<_0x51c399[_0x1cd3('0x7a')];_0x56ee89++){(function(_0xdb1dd){_0x21f07a['addItem'](_0xdb1dd*0x64+'%',null,function(){_0xf3c426[_0x1cd3('0x3193')](_0xdb1dd);},_0xfcab15);}(_0x51c399[_0x56ee89]));}this[_0x1cd3('0x3605')](_0x21f07a,['-',_0x1cd3('0x33b6'),_0x1cd3('0x3192'),'-',_0x1cd3('0x35dd'),_0x1cd3('0x35e1'),'-','fitPage',_0x1cd3('0x35e0')],_0xfcab15);})));this[_0x1cd3('0x37b')](_0x1cd3('0xe96'),new Menu(mxUtils[_0x1cd3('0x5b2')](this,function(_0x7ac067,_0x28030b){this[_0x1cd3('0x3605')](_0x7ac067,[_0x1cd3('0x160a'),_0x1cd3('0xee4'),'-',_0x1cd3('0xd6d'),_0x1cd3('0x35bf'),_0x1cd3('0x34d5'),'-',_0x1cd3('0xb84'),'-','import',_0x1cd3('0xeb0'),'-',_0x1cd3('0x360c'),_0x1cd3('0xde1'),'-',_0x1cd3('0x2a93')],_0x28030b);})));this['put'](_0x1cd3('0xea4'),new Menu(mxUtils[_0x1cd3('0x5b2')](this,function(_0x2741d1,_0x25a6c4){this[_0x1cd3('0x3605')](_0x2741d1,[_0x1cd3('0x2b60'),_0x1cd3('0x2b61'),'-',_0x1cd3('0x33b3'),_0x1cd3('0x429'),_0x1cd3('0x33b4'),_0x1cd3('0xa1c'),'-',_0x1cd3('0x14af'),'-',_0x1cd3('0x3226'),'selectEdges',_0x1cd3('0x6cd')]);})));this[_0x1cd3('0x37b')](_0x1cd3('0x172'),new Menu(mxUtils[_0x1cd3('0x5b2')](this,function(_0x22082,_0x261fd3){this[_0x1cd3('0x3605')](_0x22082,[_0x1cd3('0x172'),'-',_0x1cd3('0x34d4')]);})));};Menus[_0x1cd3('0x77a')]['put']=function(_0x1cfc1e,_0xa6ec6a){this[_0x1cd3('0x3443')][_0x1cfc1e]=_0xa6ec6a;};Menus[_0x1cd3('0x77a')][_0x1cd3('0x361')]=function(_0x4fb672){return this[_0x1cd3('0x3443')][_0x4fb672];};Menus[_0x1cd3('0x77a')]['addSubmenu']=function(_0x51b1c2,_0x15ec80,_0x32f5a7){var _0x5aa281=this['get'](_0x51b1c2)[_0x1cd3('0x396')];if(_0x15ec80[_0x1cd3('0x3600')]||_0x5aa281){var _0x209fc9=_0x15ec80['addItem'](mxResources[_0x1cd3('0x361')](_0x51b1c2),null,null,_0x32f5a7,null,_0x5aa281);this[_0x1cd3('0x360d')](_0x51b1c2,_0x15ec80,_0x209fc9);}};Menus[_0x1cd3('0x77a')][_0x1cd3('0x360d')]=function(_0x5bd5c2,_0x3658a7,_0x51b324){var _0x1dc715=this[_0x1cd3('0x361')](_0x5bd5c2);if(_0x1dc715!=null&&(_0x3658a7[_0x1cd3('0x3600')]||_0x1dc715['enabled'])){this['get'](_0x5bd5c2)['execute'](_0x3658a7,_0x51b324);}};Menus['prototype'][_0x1cd3('0x35f6')]=function(_0x4d0623,_0x128c15,_0x2f4b79,_0x42e1d0,_0x8e2092,_0x10fafd){return _0x4d0623[_0x1cd3('0x14d7')](_0x128c15,null,mxUtils[_0x1cd3('0x5b2')](this,function(){var _0x5c717a=this['editorUi'][_0x1cd3('0x3374')][_0x1cd3('0x2c89')];_0x5c717a['getModel']()[_0x1cd3('0x2a6c')]();try{for(var _0x5862a2=0x0;_0x5862a2<_0x2f4b79['length'];_0x5862a2++){_0x5c717a[_0x1cd3('0x2e63')](_0x2f4b79[_0x5862a2],_0x42e1d0[_0x5862a2]);}}finally{_0x5c717a[_0x1cd3('0x2a77')]()['endUpdate']();}}),_0x10fafd,_0x8e2092);};Menus['prototype'][_0x1cd3('0x35f5')]=function(_0x25d9cb,_0x262732,_0x485001,_0x59ab38,_0x3b27cf,_0x25daf0,_0x125857){return _0x25d9cb[_0x1cd3('0x14d7')](_0x262732,null,mxUtils['bind'](this,function(){var _0x56932b=this['editorUi'][_0x1cd3('0x3374')][_0x1cd3('0x2c89')];var _0x407202=_0x59ab38;var _0x23d0b6=_0x56932b[_0x1cd3('0x29de')]()[_0x1cd3('0x29d9')](_0x56932b[_0x1cd3('0x313c')]());if(_0x23d0b6!=null){_0x407202=_0x23d0b6[_0x1cd3('0x440')][_0x3b27cf]||_0x407202;}_0x407202=mxUtils[_0x1cd3('0x671')](mxResources['get'](_0x1cd3('0x35d7'))+(_0x485001[_0x1cd3('0x7a')]>0x0?'\x20'+_0x485001:''),_0x407202);if(_0x407202!=null&&_0x407202[_0x1cd3('0x7a')]>0x0){_0x56932b[_0x1cd3('0x2e63')](_0x3b27cf,_0x407202);}}),_0x25daf0,null,_0x125857);};Menus[_0x1cd3('0x77a')][_0x1cd3('0x3603')]=function(_0xe7ae44,_0x45d530,_0x932a5e){var _0x23ff3b=this['editorUi'][_0x1cd3('0x947')][_0x1cd3('0x361')](_0x45d530);if(_0x23ff3b!=null&&(_0xe7ae44[_0x1cd3('0x3600')]||_0x23ff3b[_0x1cd3('0x396')])){var _0x4da735=_0xe7ae44[_0x1cd3('0x14d7')](_0x23ff3b[_0x1cd3('0x91b')],null,_0x23ff3b[_0x1cd3('0x2c15')],_0x932a5e,null,_0x23ff3b[_0x1cd3('0x396')]);if(_0x23ff3b[_0x1cd3('0x35f0')]&&_0x23ff3b[_0x1cd3('0x2fbb')]()){this[_0x1cd3('0x360e')](_0x4da735);}this[_0x1cd3('0x723')](_0x4da735,_0x23ff3b);return _0x4da735;}return null;};Menus['prototype']['addShortcut']=function(_0xc80715,_0x1c9152){if(_0x1c9152[_0x1cd3('0x35ef')]!=null){var _0x2e6bfa=_0xc80715[_0x1cd3('0x29f5')][_0x1cd3('0x29f7')]['nextSibling'];var _0x43e425=document[_0x1cd3('0x3aa')](_0x1cd3('0x360f'));_0x43e425['style'][_0x1cd3('0x3c6')]=_0x1cd3('0x2ab1');mxUtils[_0x1cd3('0x28be')](_0x43e425,_0x1c9152[_0x1cd3('0x35ef')]);_0x2e6bfa[_0x1cd3('0xd4e')](_0x43e425);}};Menus['prototype'][_0x1cd3('0x360e')]=function(_0x7c1459){var _0x3242f1=_0x7c1459[_0x1cd3('0x29f5')]['nextSibling'];_0x3242f1[_0x1cd3('0x440')]['backgroundImage']='url('+IMAGE_PATH+_0x1cd3('0x3610');_0x3242f1[_0x1cd3('0x440')][_0x1cd3('0x359b')]=_0x1cd3('0x359c');_0x3242f1[_0x1cd3('0x440')][_0x1cd3('0x344d')]=_0x1cd3('0x3611');};Menus[_0x1cd3('0x77a')][_0x1cd3('0x3605')]=function(_0x3f8eea,_0x55adbd,_0x6e944f){for(var _0x3c00d4=0x0;_0x3c00d4<_0x55adbd[_0x1cd3('0x7a')];_0x3c00d4++){if(_0x55adbd[_0x3c00d4]=='-'){_0x3f8eea['addSeparator'](_0x6e944f);}else{this[_0x1cd3('0x3603')](_0x3f8eea,_0x55adbd[_0x3c00d4],_0x6e944f);}}};Menus[_0x1cd3('0x77a')][_0x1cd3('0x33d9')]=function(_0x23b11f,_0x254a79,_0x17dc1f){var _0x3e782d=this[_0x1cd3('0x3506')][_0x1cd3('0x3374')]['graph'];_0x23b11f[_0x1cd3('0x2c84')]=!![];if(_0x3e782d[_0x1cd3('0x3218')]()){this[_0x1cd3('0x3605')](_0x23b11f,['undo',_0x1cd3('0x2b61'),'-','paste','-']);}else{this[_0x1cd3('0x3605')](_0x23b11f,[_0x1cd3('0xa1c'),'-',_0x1cd3('0x33b3'),_0x1cd3('0x429'),'-',_0x1cd3('0x14af')]);if(_0x3e782d[_0x1cd3('0x3219')]()==0x1&&_0x3e782d[_0x1cd3('0x2a77')]()['isEdge'](_0x3e782d[_0x1cd3('0x313c')]())){this[_0x1cd3('0x3605')](_0x23b11f,[_0x1cd3('0x34b9')]);}_0x23b11f['addSeparator']();}if(_0x3e782d[_0x1cd3('0x3219')]()>0x0){this[_0x1cd3('0x3605')](_0x23b11f,['toFront',_0x1cd3('0x33ba'),'-']);if(_0x3e782d[_0x1cd3('0x2a77')]()[_0x1cd3('0x29dc')](_0x3e782d[_0x1cd3('0x313c')]())){var _0x40f162=![];var _0x254a79=_0x3e782d[_0x1cd3('0x313c')]();if(_0x254a79!=null&&_0x3e782d[_0x1cd3('0x2a77')]()[_0x1cd3('0x29dc')](_0x254a79)){var _0x4c5779=_0x3e782d[_0x1cd3('0x319a')][_0x1cd3('0x31b3')](_0x254a79);if(_0x4c5779 instanceof mxEdgeHandler&&_0x4c5779['bends']!=null&&_0x4c5779[_0x1cd3('0x3337')][_0x1cd3('0x7a')]>0x2){var _0x58d3b9=_0x4c5779[_0x1cd3('0x332f')](new mxMouseEvent(_0x17dc1f));var _0x19d951=this[_0x1cd3('0x3506')][_0x1cd3('0x947')][_0x1cd3('0x361')](_0x1cd3('0x35ec'));_0x19d951[_0x1cd3('0x311c')]=_0x4c5779;_0x19d951[_0x1cd3('0x2f5e')]=_0x58d3b9;_0x40f162=_0x58d3b9>0x0&&_0x58d3b9<_0x4c5779[_0x1cd3('0x3337')][_0x1cd3('0x7a')];}}this[_0x1cd3('0x3605')](_0x23b11f,['-',_0x40f162?_0x1cd3('0x35ec'):'addWaypoint']);}else if(_0x3e782d['getSelectionCount']()>0x1){_0x23b11f[_0x1cd3('0x2c7a')]();this[_0x1cd3('0x3605')](_0x23b11f,['group']);}_0x23b11f[_0x1cd3('0x2c7a')]();if(_0x3e782d[_0x1cd3('0x3219')]()==0x1){var _0x4db098=_0x3e782d['getLinkForCell'](_0x3e782d['getSelectionCell']());if(_0x4db098!=null){this[_0x1cd3('0x3605')](_0x23b11f,[_0x1cd3('0x34bb')]);}}}else{this['addMenuItems'](_0x23b11f,['-','selectVertices','selectEdges','-','selectAll']);}};Menus[_0x1cd3('0x77a')]['createMenubar']=function(_0x3dd7be){var _0x5266b5=new Menubar(this[_0x1cd3('0x3506')],_0x3dd7be);var _0x360b3e=[];if(CRUD_PERMISSIONS[_0x1cd3('0xe3b')]){_0x360b3e=[_0x1cd3('0xe96'),_0x1cd3('0xea4'),_0x1cd3('0x1665'),_0x1cd3('0x130'),_0x1cd3('0x401'),_0x1cd3('0x34b5'),'help'];}else{_0x360b3e=[_0x1cd3('0xe96'),_0x1cd3('0x1665'),_0x1cd3('0x172')];}for(var _0xfc2cc6=0x0;_0xfc2cc6<_0x360b3e[_0x1cd3('0x7a')];_0xfc2cc6++){_0x5266b5[_0x1cd3('0x360d')](mxResources[_0x1cd3('0x361')](_0x360b3e[_0xfc2cc6]),this[_0x1cd3('0x361')](_0x360b3e[_0xfc2cc6])[_0x1cd3('0x2c15')]);}return _0x5266b5;};function Menubar(_0xe67564,_0x5defbe){this[_0x1cd3('0x3506')]=_0xe67564;this[_0x1cd3('0x4ce')]=_0x5defbe;mxEvent[_0x1cd3('0x2b32')](document,mxUtils[_0x1cd3('0x5b2')](this,function(_0x2bf35d){this[_0x1cd3('0x2c11')]();}));};Menubar[_0x1cd3('0x77a')]['hideMenu']=function(){if(this[_0x1cd3('0x3612')]!=null){this['currentMenu'][_0x1cd3('0x2c11')]();}};Menubar[_0x1cd3('0x77a')][_0x1cd3('0x360d')]=function(_0xf375d9,_0x2a4e5b){var _0x2cc490=document[_0x1cd3('0x3aa')]('a');_0x2cc490[_0x1cd3('0x481')]('href','javascript:void(0);');_0x2cc490['className']=_0x1cd3('0x356d');mxUtils['write'](_0x2cc490,_0xf375d9);this[_0x1cd3('0x3613')](_0x2cc490,_0x2a4e5b);this[_0x1cd3('0x4ce')]['appendChild'](_0x2cc490);return _0x2cc490;};Menubar['prototype'][_0x1cd3('0x2a61')]=function(_0x4b8099){_0x4b8099=_0x4b8099['getBoundingClientRect']();return{'left':_0x4b8099[_0x1cd3('0x762')]+window[_0x1cd3('0x3547')],'top':_0x4b8099[_0x1cd3('0x712')]+window[_0x1cd3('0x3614')]};};Menubar['prototype'][_0x1cd3('0x3613')]=function(_0x10b230,_0x451431){if(_0x451431!=null){var _0xde47eb=!![];var _0x17f029=mxUtils[_0x1cd3('0x5b2')](this,function(_0x28171f){if(_0xde47eb&&_0x10b230['enabled']==null||_0x10b230['enabled']){this[_0x1cd3('0x3506')]['editor'][_0x1cd3('0x2c89')][_0x1cd3('0x3100')]['hideMenu']();var _0x33b392=new mxPopupMenu(_0x451431);_0x33b392[_0x1cd3('0x2a72')]['className']+='\x20geMenubarMenu';_0x33b392[_0x1cd3('0x2c84')]=!![];_0x33b392[_0x1cd3('0x3600')]=!![];_0x33b392[_0x1cd3('0x2c73')]=!![];_0x33b392[_0x1cd3('0x2c11')]=mxUtils[_0x1cd3('0x5b2')](this,function(){mxPopupMenu['prototype'][_0x1cd3('0x2c11')][_0x1cd3('0x4df')](_0x33b392,arguments);_0x33b392[_0x1cd3('0x2bcb')]();this[_0x1cd3('0x3612')]=null;this[_0x1cd3('0x350f')]=null;});var _0xd9a641=this[_0x1cd3('0x2a61')](_0x10b230)[_0x1cd3('0x762')];var _0x4ac4db=this[_0x1cd3('0x2a61')](_0x10b230)[_0x1cd3('0x712')]+_0x10b230['offsetHeight'];_0x33b392[_0x1cd3('0x15ad')](_0xd9a641,_0x4ac4db,null,_0x28171f);this['currentMenu']=_0x33b392;this[_0x1cd3('0x350f')]=_0x10b230;}_0xde47eb=!![];mxEvent[_0x1cd3('0x2b14')](_0x28171f);});mxEvent['addListener'](_0x10b230,_0x1cd3('0x2b2c'),mxUtils[_0x1cd3('0x5b2')](this,function(_0x1b6501){if(this[_0x1cd3('0x3612')]!=null&&this['currentElt']!=_0x10b230){this[_0x1cd3('0x2c11')]();_0x17f029(_0x1b6501);}}));mxEvent[_0x1cd3('0x29ba')](_0x10b230,_0x1cd3('0x2b2b'),mxUtils[_0x1cd3('0x5b2')](this,function(){_0xde47eb=this['currentElt']!=_0x10b230;}));mxEvent[_0x1cd3('0x29ba')](_0x10b230,_0x1cd3('0x52d'),_0x17f029);}};function Menu(_0x437fbc,_0x42cfa1){mxEventSource[_0x1cd3('0x46d')](this);this[_0x1cd3('0x2c15')]=_0x437fbc;this[_0x1cd3('0x396')]=_0x42cfa1!=null?_0x42cfa1:!![];};mxUtils[_0x1cd3('0x4d2')](Menu,mxEventSource);Menu['prototype'][_0x1cd3('0x2bee')]=function(_0xb46398){if(this[_0x1cd3('0x396')]!=_0xb46398){this[_0x1cd3('0x396')]=_0xb46398;this['fireEvent'](new mxEventObject('stateChanged'));}};Menu['prototype']['execute']=function(_0x431eef,_0x425fee){this[_0x1cd3('0x2c15')](_0x431eef,_0x425fee);};function Toolbar(_0x172551,_0x43c52b){this[_0x1cd3('0x3506')]=_0x172551;this[_0x1cd3('0x4ce')]=_0x43c52b;this[_0x1cd3('0xe08')]();mxEvent['addGestureListeners'](document,mxUtils[_0x1cd3('0x5b2')](this,function(_0xc1725e){this[_0x1cd3('0x2c11')]();}));};Toolbar['prototype'][_0x1cd3('0xe08')]=function(){if(CRUD_PERMISSIONS['canEdit']){this[_0x1cd3('0x337b')](['save',_0x1cd3('0x34d5'),'-','print','undo',_0x1cd3('0x2b61'),'-',_0x1cd3('0x429'),_0x1cd3('0x33b3'),'paste','delete','-',_0x1cd3('0x14af'),'-',_0x1cd3('0x35db'),'zoomIn',_0x1cd3('0x3192'),'-']);}else{this[_0x1cd3('0x337b')](['print','actualSize',_0x1cd3('0x33b6'),_0x1cd3('0x3192'),'-']);}};Toolbar[_0x1cd3('0x77a')][_0x1cd3('0x2c11')]=function(){if(this[_0x1cd3('0x3612')]!=null){this[_0x1cd3('0x3612')]['hideMenu']();this[_0x1cd3('0x3612')][_0x1cd3('0x2bcb')]();this[_0x1cd3('0x3612')]=null;}};Toolbar[_0x1cd3('0x77a')]['addMenu']=function(_0x333ca6,_0x297fd3,_0x929a4e,_0x4acb24){var _0x314739=this[_0x1cd3('0x3506')][_0x1cd3('0x3443')]['get'](_0x4acb24);var _0x2e4d7a=this[_0x1cd3('0x3615')](_0x333ca6,_0x297fd3,_0x929a4e,_0x314739[_0x1cd3('0x2c15')]);_0x314739[_0x1cd3('0x29ba')](_0x1cd3('0x3616'),function(){_0x2e4d7a[_0x1cd3('0x2bee')](_0x314739['enabled']);});return _0x2e4d7a;};Toolbar[_0x1cd3('0x77a')]['addMenuFunction']=function(_0x53dad4,_0x11ab9d,_0x2a3b0f,_0x180e3a){var _0x584744=_0x2a3b0f?this[_0x1cd3('0x302e')](_0x53dad4):this[_0x1cd3('0x3617')](_0x53dad4);this[_0x1cd3('0x3618')](_0x584744,_0x11ab9d);this[_0x1cd3('0x3613')](_0x584744,_0x2a3b0f,_0x180e3a);this[_0x1cd3('0x4ce')]['appendChild'](_0x584744);return _0x584744;};Toolbar[_0x1cd3('0x77a')]['addSeparator']=function(){var _0x40695a=document[_0x1cd3('0x3aa')](_0x1cd3('0x2a72'));_0x40695a[_0x1cd3('0x45d')]=_0x1cd3('0x3619');this[_0x1cd3('0x4ce')][_0x1cd3('0xd4e')](_0x40695a);return _0x40695a;};Toolbar[_0x1cd3('0x77a')][_0x1cd3('0x337b')]=function(_0x231b71){for(var _0x164d29=0x0;_0x164d29<_0x231b71['length'];_0x164d29++){var _0x4fc78a=_0x231b71[_0x164d29];if(_0x4fc78a=='-'){this[_0x1cd3('0x2c7a')]();}else{this[_0x1cd3('0x14d7')](_0x1cd3('0x361a')+_0x4fc78a[_0x1cd3('0x433')](),_0x4fc78a);}}};Toolbar['prototype'][_0x1cd3('0x14d7')]=function(_0x5c7f10,_0x55a71e){var _0x320a8c=this[_0x1cd3('0x3506')][_0x1cd3('0x947')]['get'](_0x55a71e);var _0x22d267=null;if(_0x320a8c!=null){_0x22d267=this[_0x1cd3('0x29a9')](_0x5c7f10,_0x320a8c[_0x1cd3('0x91b')],_0x320a8c[_0x1cd3('0x2c15')]);_0x22d267[_0x1cd3('0x2bee')](_0x320a8c['enabled']);_0x320a8c['addListener'](_0x1cd3('0x3616'),function(){_0x22d267[_0x1cd3('0x2bee')](_0x320a8c[_0x1cd3('0x396')]);});}return _0x22d267;};Toolbar['prototype'][_0x1cd3('0x29a9')]=function(_0x57eb63,_0x397556,_0x599c1d){var _0x5653d1=this['createButton'](_0x57eb63);this['initElement'](_0x5653d1,_0x397556);this[_0x1cd3('0x3572')](_0x5653d1,_0x599c1d);this[_0x1cd3('0x4ce')][_0x1cd3('0xd4e')](_0x5653d1);return _0x5653d1;};Toolbar[_0x1cd3('0x77a')][_0x1cd3('0x361b')]=function(_0x4c7e30){var _0x55cbaf=this['editorUi']['editor'][_0x1cd3('0x2c89')];var _0x4fc586=function(){var _0x4b4a3b=!_0x55cbaf['isSelectionEmpty']();for(var _0x2eb315=0x0;_0x2eb315<_0x4c7e30[_0x1cd3('0x7a')];_0x2eb315++){_0x4c7e30[_0x2eb315]['setEnabled'](_0x4b4a3b);}};_0x55cbaf[_0x1cd3('0x3104')]()['addListener'](mxEvent[_0x1cd3('0x2c45')],_0x4fc586);_0x4fc586();};Toolbar[_0x1cd3('0x77a')]['addEdgeSelectionHandler']=function(_0x5001c){var _0x425b07=this['editorUi'][_0x1cd3('0x3374')][_0x1cd3('0x2c89')];var _0x5b623a=function(){var _0x37ef45=![];if(!_0x425b07[_0x1cd3('0x3218')]()){var _0x306cad=_0x425b07[_0x1cd3('0x2b92')]();for(var _0x3be624=0x0;_0x3be624<_0x306cad[_0x1cd3('0x7a')];_0x3be624++){if(_0x425b07[_0x1cd3('0x2a77')]()[_0x1cd3('0x29dc')](_0x306cad[_0x3be624])){_0x37ef45=!![];break;}}}for(var _0x3be624=0x0;_0x3be624<_0x5001c['length'];_0x3be624++){_0x5001c[_0x3be624][_0x1cd3('0x2bee')](_0x37ef45);}};_0x425b07[_0x1cd3('0x3104')]()[_0x1cd3('0x29ba')](mxEvent[_0x1cd3('0x2c45')],_0x5b623a);_0x5b623a();};Toolbar[_0x1cd3('0x77a')][_0x1cd3('0x3618')]=function(_0x4927cc,_0x452bb3){_0x4927cc['setAttribute']('tabindex','0');if(_0x452bb3!=null){_0x4927cc['setAttribute'](_0x1cd3('0x486'),_0x452bb3);}this[_0x1cd3('0x361c')](_0x4927cc);};Toolbar['prototype'][_0x1cd3('0x361c')]=function(_0x51ec21){var _0x596156=_0x51ec21[_0x1cd3('0x45d')];_0x51ec21['setEnabled']=function(_0x1b7175){_0x51ec21[_0x1cd3('0x396')]=_0x1b7175;if(_0x1b7175){_0x51ec21['className']=_0x596156;}else{_0x51ec21[_0x1cd3('0x45d')]=_0x596156+'\x20geDisabled';}};_0x51ec21[_0x1cd3('0x2bee')](!![]);};Toolbar['prototype'][_0x1cd3('0x3572')]=function(_0x18a2be,_0x6b1c4d){if(_0x6b1c4d!=null){mxEvent['addListener'](_0x18a2be,_0x1cd3('0x52d'),function(_0x32eb77){if(_0x18a2be[_0x1cd3('0x396')]){_0x6b1c4d(_0x32eb77);}mxEvent['consume'](_0x32eb77);});}};Toolbar['prototype'][_0x1cd3('0x3617')]=function(_0x72d099){var _0x414056=document[_0x1cd3('0x3aa')]('a');_0x414056[_0x1cd3('0x481')](_0x1cd3('0x3ab'),_0x1cd3('0x3568'));_0x414056['className']=_0x1cd3('0x361d');var _0x30f71a=document[_0x1cd3('0x3aa')](_0x1cd3('0x2a72'));_0x30f71a[_0x1cd3('0x45d')]=_0x1cd3('0x361e')+_0x72d099;_0x414056['appendChild'](_0x30f71a);return _0x414056;};Toolbar[_0x1cd3('0x77a')][_0x1cd3('0x302e')]=function(_0x3c3d41,_0x480214){var _0x54a61c=document['createElement']('a');_0x54a61c[_0x1cd3('0x481')](_0x1cd3('0x3ab'),_0x1cd3('0x3568'));_0x54a61c[_0x1cd3('0x45d')]=_0x1cd3('0x361f');mxUtils[_0x1cd3('0x28be')](_0x54a61c,_0x3c3d41);return _0x54a61c;};Toolbar['prototype'][_0x1cd3('0x3613')]=function(_0x48200a,_0x1f2e44,_0x5bf2e8,_0x1a9f77){if(_0x5bf2e8!=null){var _0x516d95=this[_0x1cd3('0x3506')][_0x1cd3('0x3374')][_0x1cd3('0x2c89')];var _0x13c7ba=null;mxEvent[_0x1cd3('0x29ba')](_0x48200a,_0x1cd3('0x52d'),mxUtils[_0x1cd3('0x5b2')](this,function(_0x8db14c){if(_0x48200a[_0x1cd3('0x396')]==null||_0x48200a['enabled']){_0x516d95['panningHandler'][_0x1cd3('0x2c11')]();_0x13c7ba=new mxPopupMenu(_0x5bf2e8);_0x13c7ba['div']['className']+=_0x1cd3('0x3620');_0x13c7ba['showDisabled']=_0x1a9f77;_0x13c7ba[_0x1cd3('0x8e3')]=_0x1f2e44;_0x13c7ba[_0x1cd3('0x2c73')]=!![];_0x13c7ba[_0x1cd3('0x15ad')](_0x48200a[_0x1cd3('0x2a1e')],_0x48200a[_0x1cd3('0x2a21')]+_0x48200a[_0x1cd3('0x535')]+0x22,null,_0x8db14c);this['currentMenu']=_0x13c7ba;}mxEvent[_0x1cd3('0x2b14')](_0x8db14c);}));}};_0x1cd3('0x3505');function createCheckbox(_0x3a4d72){var _0x425881=document[_0x1cd3('0x3aa')](_0x1cd3('0x1304'));_0x425881[_0x1cd3('0x481')](_0x1cd3('0x424'),'checkbox');if(_0x3a4d72){_0x425881[_0x1cd3('0x481')]('checked',!![]);}return _0x425881;}function createDropdownFromApi(_0x54da3a,_0x4d7b97,_0x1599f8,_0x3afb31,_0x3c3643,_0x2eb8dc,_0x47a61b,_0x247c6){var _0x5f309c=new XMLHttpRequest();_0x5f309c[_0x1cd3('0xee4')]('GET',_0x54da3a,![]);_0x5f309c[_0x1cd3('0x2b8a')](_0x1cd3('0x3621'),'Bearer\x20'+_0x3c3643[_0x1cd3('0x3374')][_0x1cd3('0x439')][_0x1cd3('0x28d1')]);_0x5f309c[_0x1cd3('0x9de')](null);var _0x3f7744=[];if(_0x5f309c[_0x1cd3('0x3a6')]===0xc8){_0x3f7744=JSON[_0x1cd3('0x79')](_0x5f309c[_0x1cd3('0xf03')]);}var _0x5750eb=document['createElement'](_0x1cd3('0x44f'));var _0x450b82=document['createElement'](_0x1cd3('0x21c9'));_0x450b82[_0x1cd3('0x401')]='--\x20None\x20--';_0x450b82[_0x1cd3('0x3db')]='-1';_0x5750eb[_0x1cd3('0xd4e')](_0x450b82);_0x3f7744[_0x1cd3('0xf6')]['forEach'](function(_0x3510da){if(!_0x247c6||_0x3510da[_0x1599f8]!=_0x247c6){_0x450b82=document['createElement'](_0x1cd3('0x21c9'));_0x450b82[_0x1cd3('0x401')]=_0x3510da[_0x1599f8];if(_0x2eb8dc&&_0x47a61b){_0x450b82[_0x1cd3('0x3db')]=_0x47a61b;_0x2eb8dc[_0x1cd3('0x394')](function(_0x11dc6f){_0x450b82['value']=_0x450b82[_0x1cd3('0x3db')][_0x1cd3('0x3f1')]('%'+_0x11dc6f+'%',_0x3510da[_0x11dc6f]);});_0x450b82[_0x1cd3('0x1ddd')]=_0x450b82['value']==_0x4d7b97;}else{_0x450b82[_0x1cd3('0x3db')]=_0x3510da[_0x3afb31];_0x450b82[_0x1cd3('0x1ddd')]=_0x3510da[_0x3afb31]==_0x4d7b97;}_0x5750eb[_0x1cd3('0xd4e')](_0x450b82);}});_0x5750eb[_0x1cd3('0x45d')]=_0x1cd3('0x3622');return _0x5750eb;}function createDropdownWithOptgroupFromApi(_0x3552ee,_0x38b729,_0x1a4262,_0x381927,_0x44ba46,_0xd20db4){var _0x53312e=new XMLHttpRequest();_0x53312e[_0x1cd3('0xee4')](_0x1cd3('0xf47'),_0x3552ee,![]);_0x53312e[_0x1cd3('0x2b8a')](_0x1cd3('0x3621'),'Bearer\x20'+_0x44ba46['editor'][_0x1cd3('0x439')]['token']);_0x53312e[_0x1cd3('0x9de')](null);var _0x44767c=[];if(_0x53312e[_0x1cd3('0x3a6')]===0xc8){_0x44767c=JSON[_0x1cd3('0x79')](_0x53312e[_0x1cd3('0xf03')]);}var _0x5d2e2e=document[_0x1cd3('0x3aa')](_0x1cd3('0x44f'));var _0x45c878=document[_0x1cd3('0x3aa')](_0x1cd3('0x21c9'));_0x45c878[_0x1cd3('0x401')]='--\x20None\x20--';_0x45c878['value']='-1';_0x5d2e2e[_0x1cd3('0xd4e')](_0x45c878);var _0x25b9ec=_['groupBy'](_0x44767c[_0x1cd3('0xf6')],_0xd20db4);for(var _0x2dd89b in _0x25b9ec){if(_0x25b9ec[_0x1cd3('0x3d0')](_0x2dd89b)){var _0x192e3f=document[_0x1cd3('0x3aa')](_0x1cd3('0x3623'));_0x192e3f[_0x1cd3('0x91b')]=_['capitalize'](_0x2dd89b);var _0x3c4c76=_0x25b9ec[_0x2dd89b];_0x3c4c76['forEach'](function(_0x510a81){_0x45c878=document['createElement'](_0x1cd3('0x21c9'));_0x45c878[_0x1cd3('0x401')]=_0x510a81[_0x1a4262];_0x45c878['value']=_0x510a81[_0x381927];_0x45c878['selected']=_0x510a81[_0x381927]==_0x38b729;_0x192e3f[_0x1cd3('0xd4e')](_0x45c878);});_0x5d2e2e[_0x1cd3('0xd4e')](_0x192e3f);}}_0x5d2e2e[_0x1cd3('0x45d')]=_0x1cd3('0x3622');return _0x5d2e2e;}function createGroupedDropdownFromApi(_0x1e9bd9,_0xceb68c,_0x2ac716,_0x1ae288,_0x4b1343,_0x36b975){var _0x79901d=new XMLHttpRequest();_0x79901d[_0x1cd3('0xee4')](_0x1cd3('0xf47'),_0x1e9bd9,![]);_0x79901d['setRequestHeader']('Authorization',_0x1cd3('0x3a5')+_0x4b1343[_0x1cd3('0x3374')][_0x1cd3('0x439')][_0x1cd3('0x28d1')]);_0x79901d[_0x1cd3('0x9de')](null);var _0x23a638=[];if(_0x79901d[_0x1cd3('0x3a6')]===0xc8){_0x23a638=JSON[_0x1cd3('0x79')](_0x79901d[_0x1cd3('0xf03')]);}var _0x4b3564=document[_0x1cd3('0x3aa')](_0x1cd3('0x44f'));var _0x4d9496=document['createElement'](_0x1cd3('0x21c9'));_0x4d9496[_0x1cd3('0x401')]=_0x1cd3('0x3624');_0x4d9496[_0x1cd3('0x3db')]='0';_0x4b3564[_0x1cd3('0xd4e')](_0x4d9496);_0x23a638[_0x1cd3('0xf6')][_0x1cd3('0x394')](function(_0x1bebdd){_0x4d9496=document[_0x1cd3('0x3aa')](_0x1cd3('0x21c9'));_0x4d9496['className']='select-group-father';_0x4d9496[_0x1cd3('0x401')]=_0x1bebdd[_0x2ac716][_0x1cd3('0x437')]();_0x4d9496['value']=_0x1bebdd[_0x1ae288];_0x4d9496[_0x1cd3('0x1ddd')]=_0x1bebdd[_0x1ae288]==_0xceb68c;_0x4b3564[_0x1cd3('0xd4e')](_0x4d9496);_0x1bebdd[_0x36b975][_0x1cd3('0x394')](function(_0x491f4c){_0x4d9496=document[_0x1cd3('0x3aa')](_0x1cd3('0x21c9'));_0x4d9496[_0x1cd3('0x45d')]=_0x1cd3('0x3625');_0x4d9496[_0x1cd3('0x401')]='-'+_['capitalize'](_0x491f4c[_0x2ac716]);_0x4d9496['value']=_0x491f4c[_0x1ae288];_0x4d9496['selected']=_0x491f4c[_0x1ae288]==_0xceb68c;_0x4b3564[_0x1cd3('0xd4e')](_0x4d9496);});});_0x4b3564[_0x1cd3('0x45d')]=_0x1cd3('0x3622');return _0x4b3564;}function createDropdownFromArray(_0x5cb2ac,_0x29da5e){var _0x53c801=document[_0x1cd3('0x3aa')]('select');for(var _0x2de909 in _0x5cb2ac){var _0x2f66bd=document[_0x1cd3('0x3aa')](_0x1cd3('0x21c9'));_0x2f66bd[_0x1cd3('0x401')]=_0x5cb2ac[_0x2de909];_0x2f66bd['value']=_0x2de909;if(_0x29da5e>0x0||_0x29da5e!='')_0x2f66bd[_0x1cd3('0x1ddd')]=_0x29da5e===_0x2de909?!![]:![];_0x53c801[_0x1cd3('0xd4e')](_0x2f66bd);}_0x53c801[_0x1cd3('0x45d')]='form-control\x20select2';return _0x53c801;}function createDropdownFromTigerDialList(_0x30ebbe){var _0x1f3401=document[_0x1cd3('0x3aa')](_0x1cd3('0x44f'));var _0xb2f1d4=[];var _0x4d74fa=new XMLHttpRequest();try{_0x4d74fa[_0x1cd3('0xee4')](_0x1cd3('0x33f3'),_0x1cd3('0x3626'),![]);_0x4d74fa['send'](JSON[_0x1cd3('0x438')]({'page':0x1,'size':0x927c0}));if(_0x4d74fa[_0x1cd3('0x3a6')]===0xc8){var _0x42d2e3=JSON['parse'](_0x4d74fa[_0x1cd3('0xf03')]);if(_0x42d2e3[_0x1cd3('0x3a6')]>0x0){var _0x16b6d2=_0x42d2e3[_0x1cd3('0xf03')][_0x1cd3('0x3627')][_0x1cd3('0xf6')];for(var _0x81570a in _0x16b6d2){_0xb2f1d4[_0x16b6d2[_0x81570a]['id']]=_0x16b6d2[_0x81570a]['name'];}}}}catch(_0x54cb7d){console[_0x1cd3('0x7d')](_0x54cb7d);}for(var _0x10e554 in _0xb2f1d4){var _0x462da2=document[_0x1cd3('0x3aa')](_0x1cd3('0x21c9'));_0x462da2[_0x1cd3('0x401')]=_0xb2f1d4[_0x10e554];_0x462da2['value']=_0x10e554;if(_0x30ebbe>0x0||_0x30ebbe!='')_0x462da2[_0x1cd3('0x1ddd')]=_0x30ebbe===_0x10e554?!![]:![];_0x1f3401[_0x1cd3('0xd4e')](_0x462da2);}_0x1f3401['className']=_0x1cd3('0x3622');return _0x1f3401;}function Dialog(_0x4c7056,_0x482c25,_0x15ba63,_0x2e8987,_0x296d34,_0x5935b5,_0x3527c4){var _0x673bf8=0x0;if(mxClient['IS_IE']&&document[_0x1cd3('0x2959')]!=0x9){_0x673bf8=0x3c;}_0x15ba63+=_0x673bf8;_0x2e8987+=_0x673bf8;var _0x33ff2a=Math[_0x1cd3('0x13d1')](0x0,Math[_0x1cd3('0x18ba')]((document[_0x1cd3('0x380')]['scrollWidth']-_0x15ba63)/0x2));var _0x222889=Math['max'](0x0,Math[_0x1cd3('0x18ba')]((Math[_0x1cd3('0x13d1')](document[_0x1cd3('0x380')]['scrollHeight'],document['documentElement'][_0x1cd3('0x6fa')])-_0x2e8987)/0x3));var _0x29a111=_0x4c7056[_0x1cd3('0x2d35')](_0x1cd3('0x3628'));_0x29a111[_0x1cd3('0x45d')]=_0x1cd3('0x3629');_0x29a111['style']['display']=_0x1cd3('0x574');_0x29a111[_0x1cd3('0x440')][_0x1cd3('0x312b')]='12px';var _0x51dc43=_0x4c7056['createDiv'](_0x1cd3('0x362a'));_0x51dc43['className']=_0x1cd3('0x362b');_0x51dc43[_0x1cd3('0xd4e')](_0x482c25);_0x29a111[_0x1cd3('0xd4e')](_0x51dc43);if(this['bg']==null){this['bg']=_0x4c7056[_0x1cd3('0x2d35')]('background');this['bg'][_0x1cd3('0x45d')]='modal-backdrop\x20fade\x20in';if(mxClient['IS_QUIRKS']){new mxDivResizer(this['bg']);}}if(_0x296d34){document['body'][_0x1cd3('0xd4e')](this['bg']);}document['body'][_0x1cd3('0xd4e')](_0x29a111);this[_0x1cd3('0x362c')]=_0x3527c4;this['container']=_0x29a111;};Dialog[_0x1cd3('0x77a')]['close']=function(){if(this[_0x1cd3('0x362c')]!=null){this[_0x1cd3('0x362c')]();this['onDialogClose']=null;}this['container']['parentNode']['removeChild'](this[_0x1cd3('0x4ce')]);this['bg']['parentNode'][_0x1cd3('0x1817')](this['bg']);};function ImportDialog(_0x266cfd){var _0x12b22f=_0x266cfd['createDiv']('modal-content');var _0x11b580=_0x266cfd[_0x1cd3('0x2d35')](_0x1cd3('0x362d'));var _0x2589fc=_0x266cfd[_0x1cd3('0x2d35')]('modal-body');var _0x285822=_0x266cfd[_0x1cd3('0x2d35')](_0x1cd3('0x362e'));var _0x61816b=_0x266cfd[_0x1cd3('0x34d0')]('h4');mxUtils[_0x1cd3('0x28be')](_0x61816b,mxResources['get'](_0x1cd3('0x362f'))+_0x1cd3('0x3630'));var _0x5a99ea=mxUtils[_0x1cd3('0x2a1a')]('',function(){_0x266cfd[_0x1cd3('0x3631')]();});_0x5a99ea['className']=_0x1cd3('0x3cf');_0x11b580['appendChild'](_0x5a99ea);_0x11b580[_0x1cd3('0xd4e')](_0x61816b);var _0x178a7f=_0x266cfd['createDiv'](_0x1cd3('0x14be'));var _0xe1dd83=_0x266cfd[_0x1cd3('0x2d35')](_0x1cd3('0x3632'));var _0x3674e3=document[_0x1cd3('0x3aa')](_0x1cd3('0x122f'));_0x3674e3[_0x1cd3('0x440')]['width']='100%';_0x3674e3[_0x1cd3('0x440')][_0x1cd3('0x4e4')]=_0x1cd3('0x3633');var _0x398e75=document[_0x1cd3('0x3aa')]('input');_0x398e75['type']=_0x1cd3('0xe96');_0x398e75[_0x1cd3('0x481')]('accept',_0x1cd3('0x3634'));_0x398e75[_0x1cd3('0x5d4')](_0x1cd3('0x14c4'),function readSingleFile(_0x15f87f){var _0x5ef6aa=_0x15f87f['target'][_0x1cd3('0x3635')][0x0];console[_0x1cd3('0x7d')](_0x5ef6aa);if(_0x5ef6aa){if(_0x5ef6aa['type']===_0x1cd3('0x3634')){var _0x18e673=new FileReader();_0x18e673[_0x1cd3('0xe8f')]=function(_0x24a305){var _0x23183d=_0x24a305['target'][_0x1cd3('0xe90')];mxUtils[_0x1cd3('0x28be')](_0x3674e3,_0x23183d);};_0x18e673[_0x1cd3('0x3636')](_0x5ef6aa);}else{alert(_0x1cd3('0x3637'));}}else{alert(_0x1cd3('0x3638'));}},![]);_0xe1dd83[_0x1cd3('0xd4e')](_0x398e75);_0xe1dd83[_0x1cd3('0xd4e')](_0x3674e3);_0x178a7f[_0x1cd3('0xd4e')](_0xe1dd83);_0x2589fc[_0x1cd3('0xd4e')](_0x178a7f);var _0x5aa81d=mxUtils[_0x1cd3('0x2a1a')](mxResources[_0x1cd3('0x361')]('import'),mxUtils[_0x1cd3('0x5b2')](this,function(_0x2deaa4){var _0xcbc7a9=mxUtils[_0x1cd3('0x2d46')](_0x3674e3[_0x1cd3('0x3db')]);_0x266cfd[_0x1cd3('0x3374')][_0x1cd3('0x3477')](_0xcbc7a9[_0x1cd3('0x2a20')]);_0x266cfd[_0x1cd3('0x3631')]();}));_0x5aa81d['className']=_0x1cd3('0x3639');var _0x480e45=mxUtils[_0x1cd3('0x2a1a')](mxResources['get']('cancel'),function(){_0x266cfd[_0x1cd3('0x3631')]();});_0x480e45['className']=_0x1cd3('0x363a');_0x285822[_0x1cd3('0xd4e')](_0x5aa81d);_0x285822['appendChild'](_0x480e45);_0x12b22f[_0x1cd3('0xd4e')](_0x11b580);_0x12b22f[_0x1cd3('0xd4e')](_0x2589fc);_0x12b22f[_0x1cd3('0xd4e')](_0x285822);this[_0x1cd3('0x4ce')]=_0x12b22f;};function AboutDialog(_0x93fba5){var _0x2dc794=_0x93fba5[_0x1cd3('0x2d35')]('modal-content');var _0x2d4826=_0x93fba5[_0x1cd3('0x2d35')](_0x1cd3('0x362d'));var _0x260a14=_0x93fba5[_0x1cd3('0x2d35')](_0x1cd3('0x363b'));var _0x530180=_0x93fba5[_0x1cd3('0x2d35')](_0x1cd3('0x362e'));var _0x4b7aff=_0x93fba5[_0x1cd3('0x34d0')]('h4');mxUtils[_0x1cd3('0x28be')](_0x4b7aff,mxResources['get'](_0x1cd3('0x34d4'))+_0x1cd3('0x35e9'));var _0x1be608=mxUtils[_0x1cd3('0x2a1a')]('',function(){_0x93fba5[_0x1cd3('0x3631')]();});_0x1be608[_0x1cd3('0x45d')]='close';_0x2d4826['appendChild'](_0x1be608);_0x2d4826[_0x1cd3('0xd4e')](_0x4b7aff);var _0x36e7e1=document[_0x1cd3('0x3aa')](_0x1cd3('0x774'));_0x36e7e1['style'][_0x1cd3('0x2c6a')]=_0x1cd3('0x538');_0x36e7e1[_0x1cd3('0x481')]('width',_0x1cd3('0x363c'));_0x36e7e1[_0x1cd3('0x481')](_0x1cd3('0x4d7'),_0x1cd3('0x363d'));_0x36e7e1[_0x1cd3('0x481')](_0x1cd3('0x487'),IMAGE_PATH+_0x1cd3('0x363e'));_0x260a14[_0x1cd3('0xd4e')](_0x36e7e1);mxUtils['br'](_0x260a14);mxUtils[_0x1cd3('0x28be')](_0x260a14,'Powered\x20by\x20Xenialab\x20'+mxClient[_0x1cd3('0x29a0')]);mxUtils['br'](_0x260a14);var _0x341096=document[_0x1cd3('0x3aa')]('a');_0x341096[_0x1cd3('0x481')](_0x1cd3('0x3ab'),_0x1cd3('0x363f'));_0x341096[_0x1cd3('0x481')](_0x1cd3('0x365'),_0x1cd3('0xee6'));mxUtils[_0x1cd3('0x28be')](_0x341096,_0x1cd3('0x3640'));_0x260a14[_0x1cd3('0xd4e')](_0x341096);mxUtils['br'](_0x260a14);mxUtils['br'](_0x260a14);var _0x1de175=mxUtils[_0x1cd3('0x2a1a')](mxResources['get'](_0x1cd3('0x3cf')),function(){_0x93fba5['hideDialog']();});_0x1de175[_0x1cd3('0x45d')]='btn\x20default';_0x530180[_0x1cd3('0xd4e')](_0x1de175);_0x2dc794['appendChild'](_0x2d4826);_0x2dc794[_0x1cd3('0xd4e')](_0x260a14);_0x2dc794['appendChild'](_0x530180);this['container']=_0x2dc794;};function SaveDialog(_0x56953f){var _0x4328f2=_0x56953f[_0x1cd3('0x2d35')](_0x1cd3('0x3641'));var _0x7525e5=_0x56953f[_0x1cd3('0x2d35')](_0x1cd3('0x362d'));var _0x12fc1c=_0x56953f[_0x1cd3('0x2d35')]('modal-body');var _0x54a073=_0x56953f[_0x1cd3('0x2d35')](_0x1cd3('0x362e'));var _0x46bf5a=_0x56953f[_0x1cd3('0x34d0')]('h4');mxUtils['write'](_0x46bf5a,mxResources[_0x1cd3('0x361')]('saveAs'));var _0x444f11=mxUtils[_0x1cd3('0x2a1a')]('',function(){_0x56953f[_0x1cd3('0x3631')]();});_0x444f11[_0x1cd3('0x45d')]='close';_0x7525e5['appendChild'](_0x444f11);_0x7525e5[_0x1cd3('0xd4e')](_0x46bf5a);var _0x34049f=_0x1cd3('0x98');var _0x354e65='_'+_0x34049f;var _0x340a08=_0x56953f[_0x1cd3('0x3374')][_0x1cd3('0x34dd')]();var _0x188968=_0x56953f[_0x1cd3('0x2d35')](_0x1cd3('0x14be'));var _0x2270eb=_0x56953f['createDiv'](_0x1cd3('0x3642'));var _0x24df9d=_0x56953f[_0x1cd3('0x2d35')](_0x1cd3('0x3643'));var _0x121a76=document['createElement'](_0x1cd3('0x91b'));_0x121a76[_0x1cd3('0x45d')]=_0x1cd3('0x3644');mxUtils[_0x1cd3('0x28be')](_0x121a76,mxResources['get'](_0x34049f));_0x2270eb['appendChild'](_0x121a76);var _0xde9ffc=document['createElement'](_0x1cd3('0x1304'));_0xde9ffc[_0x1cd3('0x481')]('value',_0x340a08+_0x1cd3('0x3645'));_0xde9ffc[_0x1cd3('0x481')]('id',_0x354e65);_0xde9ffc[_0x1cd3('0x45d')]=_0x1cd3('0x3646');_0x24df9d[_0x1cd3('0xd4e')](_0xde9ffc);_0x188968[_0x1cd3('0xd4e')](_0x2270eb);_0x188968[_0x1cd3('0xd4e')](_0x24df9d);_0x12fc1c['appendChild'](_0x188968);var _0x348017=mxUtils['button'](mxResources[_0x1cd3('0x361')](_0x1cd3('0xd6d')),function(){_0x56953f['saveAs'](_0xde9ffc[_0x1cd3('0x3db')]);_0x56953f[_0x1cd3('0x3631')]();});_0x348017['className']=_0x1cd3('0x3639');var _0x379465=mxUtils[_0x1cd3('0x2a1a')](mxResources['get'](_0x1cd3('0x4d8')),function(){_0x56953f['hideDialog']();});_0x379465[_0x1cd3('0x45d')]=_0x1cd3('0x363a');_0x54a073[_0x1cd3('0xd4e')](_0x348017);_0x54a073[_0x1cd3('0xd4e')](_0x379465);_0x4328f2[_0x1cd3('0xd4e')](_0x7525e5);_0x4328f2[_0x1cd3('0xd4e')](_0x12fc1c);_0x4328f2['appendChild'](_0x54a073);this[_0x1cd3('0x4ce')]=_0x4328f2;};function NewDialog(_0x4fe211){var _0x19772b=_0x4fe211['createDiv'](_0x1cd3('0x3641'));var _0x4931=_0x4fe211['createDiv']('modal-header');var _0x5b568d=_0x4fe211[_0x1cd3('0x2d35')](_0x1cd3('0x363b'));var _0x4084f0=_0x4fe211[_0x1cd3('0x2d35')]('modal-footer');var _0x154876=_0x4fe211[_0x1cd3('0x34d0')]('h4');mxUtils[_0x1cd3('0x28be')](_0x154876,mxResources[_0x1cd3('0x361')](_0x1cd3('0x160a')));var _0x47e8bd=mxUtils[_0x1cd3('0x2a1a')]('',function(){_0x4fe211[_0x1cd3('0x3631')]();});_0x47e8bd['className']=_0x1cd3('0x3cf');_0x4931[_0x1cd3('0xd4e')](_0x47e8bd);_0x4931[_0x1cd3('0xd4e')](_0x154876);var _0x26604f=_0x1cd3('0x98');var _0x50e414='_'+_0x26604f;var _0x1244d=_0x4fe211[_0x1cd3('0x3374')][_0x1cd3('0x34dd')]();var _0x4c19cd=_0x4fe211['createDiv'](_0x1cd3('0x14be'));var _0x506978=_0x4fe211['createDiv'](_0x1cd3('0x3642'));var _0x4f5b03=_0x4fe211[_0x1cd3('0x2d35')](_0x1cd3('0x3643'));var _0x4370da=document['createElement'](_0x1cd3('0x91b'));_0x4370da['className']=_0x1cd3('0x3644');mxUtils[_0x1cd3('0x28be')](_0x4370da,mxResources[_0x1cd3('0x361')](_0x26604f));_0x506978['appendChild'](_0x4370da);var _0x5cdaf6=document['createElement'](_0x1cd3('0x1304'));_0x5cdaf6[_0x1cd3('0x481')](_0x1cd3('0x3db'),_0x1244d+_0x1cd3('0x1154'));_0x5cdaf6[_0x1cd3('0x481')]('id',_0x50e414);_0x5cdaf6[_0x1cd3('0x45d')]='form-control';_0x4f5b03[_0x1cd3('0xd4e')](_0x5cdaf6);_0x4c19cd[_0x1cd3('0xd4e')](_0x506978);_0x4c19cd['appendChild'](_0x4f5b03);_0x5b568d[_0x1cd3('0xd4e')](_0x4c19cd);var _0x412349=mxUtils[_0x1cd3('0x2a1a')](mxResources[_0x1cd3('0x361')](_0x1cd3('0x160a')),function(){_0x4fe211[_0x1cd3('0x160a')](_0x5cdaf6[_0x1cd3('0x3db')]);_0x4fe211[_0x1cd3('0x3631')]();});_0x412349[_0x1cd3('0x45d')]=_0x1cd3('0x3639');var _0x2ec4d9=mxUtils['button'](mxResources[_0x1cd3('0x361')](_0x1cd3('0x4d8')),function(){_0x4fe211[_0x1cd3('0x3631')]();});_0x2ec4d9[_0x1cd3('0x45d')]='btn\x20default';_0x4084f0['appendChild'](_0x412349);_0x4084f0['appendChild'](_0x2ec4d9);_0x19772b['appendChild'](_0x4931);_0x19772b[_0x1cd3('0xd4e')](_0x5b568d);_0x19772b[_0x1cd3('0xd4e')](_0x4084f0);this[_0x1cd3('0x4ce')]=_0x19772b;};function DescriptionDialog(_0x387bbf){console[_0x1cd3('0x7d')](_0x387bbf['editor']['data']);var _0x367f01=_0x387bbf[_0x1cd3('0x2d35')]('modal-content');var _0x37c513=_0x387bbf[_0x1cd3('0x2d35')](_0x1cd3('0x362d'));var _0x15e591=_0x387bbf[_0x1cd3('0x2d35')](_0x1cd3('0x363b'));var _0x4e7323=_0x387bbf['createDiv'](_0x1cd3('0x362e'));var _0x54c8bd=_0x387bbf[_0x1cd3('0x34d0')]('h4');mxUtils[_0x1cd3('0x28be')](_0x54c8bd,mxResources[_0x1cd3('0x361')]('description'));var _0x264480=mxUtils[_0x1cd3('0x2a1a')]('',function(){_0x387bbf[_0x1cd3('0x3631')]();});_0x264480[_0x1cd3('0x45d')]=_0x1cd3('0x3cf');_0x37c513[_0x1cd3('0xd4e')](_0x264480);_0x37c513[_0x1cd3('0xd4e')](_0x54c8bd);var _0x4b8bc1=_0x387bbf[_0x1cd3('0x2d35')](_0x1cd3('0x3647'));var _0x2dc736='description';var _0x353fb5='_'+_0x2dc736;var _0x3b84f9=_0x387bbf[_0x1cd3('0x3374')][_0x1cd3('0x439')][_0x1cd3('0xde1')]||'';var _0x201b43=_0x387bbf[_0x1cd3('0x2d35')](_0x1cd3('0x3648'));var _0x3b0687=document[_0x1cd3('0x3aa')](_0x1cd3('0x91b'));_0x3b0687['className']=_0x1cd3('0x3649');mxUtils[_0x1cd3('0x28be')](_0x3b0687,mxResources[_0x1cd3('0x361')](_0x2dc736));_0x201b43[_0x1cd3('0xd4e')](_0x3b0687);var _0x4773ec=document[_0x1cd3('0x3aa')](_0x1cd3('0x1304'));_0x4773ec[_0x1cd3('0x481')](_0x1cd3('0x3db'),_0x3b84f9);_0x4773ec[_0x1cd3('0x45d')]=_0x1cd3('0x3646');_0x4773ec['setAttribute']('id',_0x353fb5);var _0x2530a1=_0x387bbf[_0x1cd3('0x2d35')](_0x1cd3('0x364a'));_0x2530a1[_0x1cd3('0xd4e')](_0x4773ec);_0x201b43['appendChild'](_0x2530a1);_0x4b8bc1['appendChild'](_0x201b43);_0x15e591[_0x1cd3('0xd4e')](_0x4b8bc1);var _0x23c436=mxUtils[_0x1cd3('0x2a1a')](mxResources[_0x1cd3('0x361')](_0x1cd3('0x378')),function(){_0x387bbf[_0x1cd3('0xde1')](_0x4773ec[_0x1cd3('0x3db')]);_0x387bbf[_0x1cd3('0x3631')]();});_0x23c436[_0x1cd3('0x45d')]=_0x1cd3('0x3639');var _0x307796=mxUtils[_0x1cd3('0x2a1a')](mxResources[_0x1cd3('0x361')](_0x1cd3('0x4d8')),function(){_0x387bbf[_0x1cd3('0x3631')]();});_0x307796['className']=_0x1cd3('0x363a');_0x4e7323[_0x1cd3('0xd4e')](_0x23c436);_0x4e7323[_0x1cd3('0xd4e')](_0x307796);_0x367f01['appendChild'](_0x37c513);_0x367f01['appendChild'](_0x15e591);_0x367f01['appendChild'](_0x4e7323);this['container']=_0x367f01;}function VariableDialog(_0x16e936){var _0x1d5975=_0x16e936[_0x1cd3('0x2d35')](_0x1cd3('0x3641'));var _0x18c62d=_0x16e936[_0x1cd3('0x2d35')](_0x1cd3('0x362d'));var _0x3d1244=_0x16e936[_0x1cd3('0x2d35')](_0x1cd3('0x363b'));var _0x1fbc4b=_0x16e936[_0x1cd3('0x2d35')](_0x1cd3('0x362e'));var _0x86d71c=_0x16e936[_0x1cd3('0x34d0')]('h4');mxUtils[_0x1cd3('0x28be')](_0x86d71c,mxResources['get'](_0x1cd3('0xb84')));var _0x5bafb2=mxUtils[_0x1cd3('0x2a1a')]('',function(){_0x16e936['hideDialog']();});_0x5bafb2[_0x1cd3('0x45d')]='close';_0x18c62d[_0x1cd3('0xd4e')](_0x5bafb2);_0x18c62d['appendChild'](_0x86d71c);var _0x311fd1=_0x16e936[_0x1cd3('0x2d35')](_0x1cd3('0x3647'));var _0x2b860f=_0x1cd3('0x98');var _0x10f605='_'+_0x2b860f;var _0x20033b=_0x1cd3('0x364b');var _0x186874=_0x16e936[_0x1cd3('0x2d35')](_0x1cd3('0x3648'));var _0x4bd53a=document[_0x1cd3('0x3aa')]('label');_0x4bd53a[_0x1cd3('0x45d')]=_0x1cd3('0x3649');mxUtils['write'](_0x4bd53a,mxResources['get'](_0x2b860f));_0x186874[_0x1cd3('0xd4e')](_0x4bd53a);var _0x463d39=document['createElement'](_0x1cd3('0x1304'));_0x463d39[_0x1cd3('0x481')](_0x1cd3('0x3db'),_0x20033b);_0x463d39[_0x1cd3('0x45d')]=_0x1cd3('0x3646');_0x463d39[_0x1cd3('0x481')]('id',_0x10f605);var _0xc1e36c=_0x16e936[_0x1cd3('0x2d35')](_0x1cd3('0x364a'));_0xc1e36c[_0x1cd3('0xd4e')](_0x463d39);_0x186874[_0x1cd3('0xd4e')](_0xc1e36c);_0x311fd1['appendChild'](_0x186874);_0x2b860f='description';_0x10f605='_'+_0x2b860f;_0x20033b=_0x1cd3('0x364c');_0x186874=_0x16e936[_0x1cd3('0x2d35')](_0x1cd3('0x364d'));_0x4bd53a=document[_0x1cd3('0x3aa')](_0x1cd3('0x91b'));_0x4bd53a['className']='col-sm-4\x20control-label';mxUtils[_0x1cd3('0x28be')](_0x4bd53a,mxResources[_0x1cd3('0x361')](_0x2b860f));_0x186874['appendChild'](_0x4bd53a);var _0x321dab=document[_0x1cd3('0x3aa')](_0x1cd3('0x1304'));_0x321dab['setAttribute'](_0x1cd3('0x3db'),_0x20033b);_0x321dab[_0x1cd3('0x45d')]='form-control';_0x321dab[_0x1cd3('0x481')]('id',_0x10f605);_0xc1e36c=_0x16e936['createDiv']('col-sm-8');_0xc1e36c[_0x1cd3('0xd4e')](_0x321dab);_0x186874['appendChild'](_0xc1e36c);_0x311fd1['appendChild'](_0x186874);_0x3d1244['appendChild'](_0x311fd1);var _0x4541e2=mxUtils[_0x1cd3('0x2a1a')](mxResources['get']('new'),function(){_0x16e936['variable'](_0x463d39[_0x1cd3('0x3db')],_0x321dab[_0x1cd3('0x3db')]);_0x16e936[_0x1cd3('0x3631')]();});_0x4541e2[_0x1cd3('0x45d')]=_0x1cd3('0x3639');var _0x20a80d=mxUtils['button'](mxResources[_0x1cd3('0x361')](_0x1cd3('0x4d8')),function(){_0x16e936['hideDialog']();});_0x20a80d[_0x1cd3('0x45d')]='btn\x20default';_0x1fbc4b[_0x1cd3('0xd4e')](_0x4541e2);_0x1fbc4b[_0x1cd3('0xd4e')](_0x20a80d);_0x1d5975[_0x1cd3('0xd4e')](_0x18c62d);_0x1d5975[_0x1cd3('0xd4e')](_0x3d1244);_0x1d5975[_0x1cd3('0xd4e')](_0x1fbc4b);this[_0x1cd3('0x4ce')]=_0x1d5975;}function OpenDialog(_0x7b9d14){var _0x9ffbf1=_0x7b9d14[_0x1cd3('0x2d35')](_0x1cd3('0x3641'));var _0x5a32fc=_0x7b9d14['createDiv']('modal-header');var _0x20d0d0=_0x7b9d14[_0x1cd3('0x2d35')]('modal-body');var _0x2c6a54=_0x7b9d14[_0x1cd3('0x2d35')]('modal-footer');var _0x3b59b8=_0x7b9d14['createHeader']('h4');mxUtils[_0x1cd3('0x28be')](_0x3b59b8,mxResources['get']('open'));var _0x40b4c3=mxUtils[_0x1cd3('0x2a1a')]('',function(){_0x7b9d14[_0x1cd3('0x3631')]();});_0x40b4c3[_0x1cd3('0x45d')]=_0x1cd3('0x3cf');_0x5a32fc['appendChild'](_0x40b4c3);_0x5a32fc[_0x1cd3('0xd4e')](_0x3b59b8);var _0x76b767=_0x7b9d14[_0x1cd3('0x2d35')]('row');var _0x1358b1=_0x7b9d14[_0x1cd3('0x2d35')](_0x1cd3('0x3642'));var _0x4c895f=_0x7b9d14[_0x1cd3('0x2d35')](_0x1cd3('0x3643'));var _0x12b35a=document[_0x1cd3('0x3aa')]('label');_0x12b35a[_0x1cd3('0x45d')]='control-label\x20pull-right';mxUtils[_0x1cd3('0x28be')](_0x12b35a,mxResources['get']('name'));_0x1358b1[_0x1cd3('0xd4e')](_0x12b35a);var _0x4c6da9=new XMLHttpRequest();_0x4c6da9['open'](_0x1cd3('0xf47'),_0x1cd3('0x364e'),![]);_0x4c6da9[_0x1cd3('0x2b8a')]('Authorization',_0x1cd3('0x3a5')+_0x7b9d14[_0x1cd3('0x3374')][_0x1cd3('0x439')][_0x1cd3('0x28d1')]);_0x4c6da9['send'](null);var _0x1ab9a6=[];if(_0x4c6da9[_0x1cd3('0x3a6')]===0xc8){_0x1ab9a6=JSON[_0x1cd3('0x79')](_0x4c6da9[_0x1cd3('0xf03')]);}var _0x1f7f76=document[_0x1cd3('0x3aa')](_0x1cd3('0x44f'));for(var _0x538bc3=0x0;_0x538bc3<_0x1ab9a6[_0x1cd3('0x7a')];_0x538bc3++){var _0x21d240=document[_0x1cd3('0x3aa')](_0x1cd3('0x21c9'));_0x21d240[_0x1cd3('0x401')]=_0x1ab9a6[_0x538bc3][_0x1cd3('0x98')];_0x21d240[_0x1cd3('0x3db')]=_0x1ab9a6[_0x538bc3]['id'];_0x1f7f76[_0x1cd3('0xd4e')](_0x21d240);}_0x1f7f76['className']=_0x1cd3('0x3646');_0x4c895f[_0x1cd3('0xd4e')](_0x1f7f76);_0x76b767['appendChild'](_0x1358b1);_0x76b767[_0x1cd3('0xd4e')](_0x4c895f);_0x20d0d0[_0x1cd3('0xd4e')](_0x76b767);var _0x28cc82=mxUtils[_0x1cd3('0x2a1a')](mxResources[_0x1cd3('0x361')]('open'),function(){console[_0x1cd3('0x7d')](_0x1f7f76);console['log'](_0x1f7f76[_0x1cd3('0x3db')]);window[_0x1cd3('0xee4')](_0x1cd3('0x364f')+_0x1f7f76['value'],_0x1cd3('0xee6'));_0x7b9d14[_0x1cd3('0x3631')]();});_0x28cc82[_0x1cd3('0x45d')]='btn\x20blue';var _0x56f3db=mxUtils['button'](mxResources[_0x1cd3('0x361')](_0x1cd3('0x4d8')),function(){_0x7b9d14[_0x1cd3('0x3631')]();});_0x56f3db[_0x1cd3('0x45d')]='btn\x20default';_0x2c6a54[_0x1cd3('0xd4e')](_0x28cc82);_0x2c6a54[_0x1cd3('0xd4e')](_0x56f3db);_0x9ffbf1[_0x1cd3('0xd4e')](_0x5a32fc);_0x9ffbf1['appendChild'](_0x20d0d0);_0x9ffbf1['appendChild'](_0x2c6a54);this[_0x1cd3('0x4ce')]=_0x9ffbf1;};function RenameDialog(_0x35c35e){var _0x30caf1=_0x35c35e[_0x1cd3('0x2d35')](_0x1cd3('0x3641'));var _0x42f0e4=_0x35c35e[_0x1cd3('0x2d35')]('modal-header');var _0x1de511=_0x35c35e[_0x1cd3('0x2d35')](_0x1cd3('0x363b'));var _0x4a2add=_0x35c35e[_0x1cd3('0x2d35')](_0x1cd3('0x362e'));var _0x44446f=_0x35c35e[_0x1cd3('0x34d0')]('h4');mxUtils[_0x1cd3('0x28be')](_0x44446f,mxResources[_0x1cd3('0x361')](_0x1cd3('0x3650')));var _0x827237=mxUtils[_0x1cd3('0x2a1a')]('',function(){_0x35c35e[_0x1cd3('0x3631')]();});_0x827237[_0x1cd3('0x45d')]=_0x1cd3('0x3cf');_0x42f0e4['appendChild'](_0x827237);_0x42f0e4[_0x1cd3('0xd4e')](_0x44446f);var _0x41d53a=_0x35c35e[_0x1cd3('0x2d35')](_0x1cd3('0x14be'));var _0x396ea8=_0x35c35e[_0x1cd3('0x2d35')](_0x1cd3('0x3642'));var _0x2d1e97=_0x35c35e[_0x1cd3('0x2d35')](_0x1cd3('0x3643'));var _0x4e8193=document['createElement'](_0x1cd3('0x91b'));_0x4e8193[_0x1cd3('0x45d')]=_0x1cd3('0x3644');mxUtils[_0x1cd3('0x28be')](_0x4e8193,mxResources[_0x1cd3('0x361')](_0x1cd3('0x98')));_0x396ea8['appendChild'](_0x4e8193);var _0xe2d376=_0x35c35e[_0x1cd3('0x3374')]['filename'];var _0x1e2645=document[_0x1cd3('0x3aa')](_0x1cd3('0x1304'));_0x1e2645['setAttribute'](_0x1cd3('0x3db'),_0xe2d376);_0x1e2645[_0x1cd3('0x45d')]=_0x1cd3('0x3646');_0x2d1e97[_0x1cd3('0xd4e')](_0x1e2645);_0x41d53a[_0x1cd3('0xd4e')](_0x396ea8);_0x41d53a[_0x1cd3('0xd4e')](_0x2d1e97);_0x1de511[_0x1cd3('0xd4e')](_0x41d53a);var _0x5a5ccb=mxUtils[_0x1cd3('0x2a1a')](mxResources['get'](_0x1cd3('0xd6d')),function(){var _0x1207a3=new XMLHttpRequest();_0x1207a3[_0x1cd3('0xee4')](_0x1cd3('0xf48'),SAVE_URL+_0x35c35e['editor'][_0x1cd3('0x439')]['id'],!![]);_0x1207a3[_0x1cd3('0x2b8a')](_0x1cd3('0x2b8b'),_0x1cd3('0x2b8c'));_0x1207a3['setRequestHeader'](_0x1cd3('0x3621'),'Bearer\x20'+_0x35c35e[_0x1cd3('0x3374')][_0x1cd3('0x439')][_0x1cd3('0x28d1')]);_0x1207a3[_0x1cd3('0x9de')](_0x1cd3('0x3651')+_0x1e2645[_0x1cd3('0x3db')]);_0x1207a3[_0x1cd3('0xe8f')]=function(_0x52c6b8){if(_0x1207a3[_0x1cd3('0x3a6')]===0xc8){_0x35c35e[_0x1cd3('0x3374')][_0x1cd3('0x33e6')](_0x1cd3('0x3652'));_0x35c35e[_0x1cd3('0x3374')][_0x1cd3('0x6b6')]=_0x1e2645['value'];}else{console[_0x1cd3('0x7d')](_0x1207a3[_0x1cd3('0xf03')]);_0x35c35e[_0x1cd3('0x3374')][_0x1cd3('0x33e6')](JSON['parse'](_0x1207a3[_0x1cd3('0xf03')])[_0x1cd3('0xd34')][0x0][_0x1cd3('0x43a')]);}};_0x1207a3[_0x1cd3('0x35ed')]=function(_0x14039d){mxUtils[_0x1cd3('0x11d0')](_0x1207a3[_0x1cd3('0xd35')]);};_0x35c35e[_0x1cd3('0x3631')]();});_0x5a5ccb[_0x1cd3('0x45d')]=_0x1cd3('0x3639');var _0x5c4a93=mxUtils[_0x1cd3('0x2a1a')](mxResources['get'](_0x1cd3('0x4d8')),function(){_0x35c35e[_0x1cd3('0x3631')]();});_0x5c4a93['className']=_0x1cd3('0x363a');_0x4a2add[_0x1cd3('0xd4e')](_0x5a5ccb);_0x4a2add[_0x1cd3('0xd4e')](_0x5c4a93);_0x30caf1[_0x1cd3('0xd4e')](_0x42f0e4);_0x30caf1['appendChild'](_0x1de511);_0x30caf1[_0x1cd3('0xd4e')](_0x4a2add);this[_0x1cd3('0x4ce')]=_0x30caf1;};function EditFileDialog(_0x52834e){var _0x557da7=_0x52834e[_0x1cd3('0x2d35')]('modal-content');var _0x189001=_0x52834e[_0x1cd3('0x2d35')]('modal-header');var _0x281c13=_0x52834e['createDiv'](_0x1cd3('0x363b'));var _0x5877a7=_0x52834e['createDiv'](_0x1cd3('0x362e'));var _0x333107=_0x52834e[_0x1cd3('0x34d0')]('h4');mxUtils[_0x1cd3('0x28be')](_0x333107,mxResources[_0x1cd3('0x361')](_0x1cd3('0xea4')));var _0x2793ce=mxUtils['button']('',function(){_0x52834e['hideDialog']();});_0x2793ce[_0x1cd3('0x45d')]=_0x1cd3('0x3cf');_0x189001[_0x1cd3('0xd4e')](_0x2793ce);_0x189001[_0x1cd3('0xd4e')](_0x333107);var _0x2cfadf=_0x52834e[_0x1cd3('0x2d35')](_0x1cd3('0x14be'));var _0x19568f=_0x52834e[_0x1cd3('0x2d35')](_0x1cd3('0x3632'));var _0x28bd3a=document[_0x1cd3('0x3aa')](_0x1cd3('0x122f'));_0x28bd3a[_0x1cd3('0x440')][_0x1cd3('0x4d7')]=_0x1cd3('0x29a1');_0x28bd3a[_0x1cd3('0x440')][_0x1cd3('0x4e4')]=_0x1cd3('0x3633');_0x28bd3a[_0x1cd3('0x3db')]=mxUtils[_0x1cd3('0x2a0b')](_0x52834e['editor'][_0x1cd3('0x35bd')]());if(fileSupport){function _0x5522fe(_0x10d896){_0x10d896['stopPropagation']();_0x10d896[_0x1cd3('0x517')]();if(_0x10d896[_0x1cd3('0x3653')][_0x1cd3('0x3635')][_0x1cd3('0x7a')]>0x0){var _0x5e4a5d=_0x10d896['dataTransfer'][_0x1cd3('0x3635')][0x0];var _0x3eb645=new FileReader();_0x3eb645[_0x1cd3('0xe8f')]=function(_0x39d174){_0x28bd3a['value']=_0x39d174[_0x1cd3('0x365')][_0x1cd3('0xe90')];};_0x3eb645[_0x1cd3('0x3636')](_0x5e4a5d);}};function _0x107fd3(_0x559682){_0x559682[_0x1cd3('0x3566')]();_0x559682[_0x1cd3('0x517')]();};_0x28bd3a[_0x1cd3('0x5d4')](_0x1cd3('0x3654'),_0x107fd3,![]);_0x28bd3a[_0x1cd3('0x5d4')](_0x1cd3('0x16c2'),_0x5522fe,![]);}_0x19568f['appendChild'](_0x28bd3a);_0x2cfadf[_0x1cd3('0xd4e')](_0x19568f);_0x281c13['appendChild'](_0x2cfadf);var _0x5b08e6=mxUtils[_0x1cd3('0x2a1a')](mxResources['get'](_0x1cd3('0xd6d')),function(){var _0x241fef=mxUtils[_0x1cd3('0x2d46')](_0x28bd3a[_0x1cd3('0x3db')]);_0x52834e[_0x1cd3('0x3374')][_0x1cd3('0x3477')](_0x241fef[_0x1cd3('0x2a20')]);_0x52834e[_0x1cd3('0x3631')]();});_0x5b08e6[_0x1cd3('0x45d')]=_0x1cd3('0x3639');var _0x18860a=mxUtils[_0x1cd3('0x2a1a')](mxResources[_0x1cd3('0x361')]('cancel'),function(){_0x52834e[_0x1cd3('0x3631')]();});_0x18860a[_0x1cd3('0x45d')]=_0x1cd3('0x363a');_0x5877a7['appendChild'](_0x5b08e6);_0x5877a7[_0x1cd3('0xd4e')](_0x18860a);_0x557da7[_0x1cd3('0xd4e')](_0x189001);_0x557da7[_0x1cd3('0xd4e')](_0x281c13);_0x557da7['appendChild'](_0x5877a7);this['container']=_0x557da7;};function ExportDialog(_0x4fcf05){var _0x5dd043=_0x4fcf05[_0x1cd3('0x2d35')](_0x1cd3('0x3641'));var _0x433f37=_0x4fcf05[_0x1cd3('0x2d35')]('modal-header');var _0xc33211=_0x4fcf05[_0x1cd3('0x2d35')](_0x1cd3('0x3655'));var _0x1ec503=_0x4fcf05[_0x1cd3('0x2d35')](_0x1cd3('0x362e'));var _0x40fca9=_0x4fcf05[_0x1cd3('0x34d0')]('h4');mxUtils['write'](_0x40fca9,mxResources['get'](_0x1cd3('0xeb0'))+'\x20XML');var _0x43cf89=mxUtils['button']('',function(){_0x4fcf05[_0x1cd3('0x3631')]();});_0x43cf89[_0x1cd3('0x45d')]='close';_0x433f37['appendChild'](_0x43cf89);_0x433f37[_0x1cd3('0xd4e')](_0x40fca9);var _0x24e012=_0x4fcf05[_0x1cd3('0x2d35')](_0x1cd3('0x3647'));var _0x5d6c70=_0x4fcf05['createDiv'](_0x1cd3('0x364d'));var _0x194147=document[_0x1cd3('0x3aa')]('label');_0x194147[_0x1cd3('0x45d')]=_0x1cd3('0x3649');mxUtils['write'](_0x194147,mxResources[_0x1cd3('0x361')](_0x1cd3('0x6b6')));var _0x2d2566=document['createElement'](_0x1cd3('0x1304'));_0x2d2566[_0x1cd3('0x481')]('value',_0x4fcf05['editor'][_0x1cd3('0x34dd')]());_0x2d2566[_0x1cd3('0x45d')]=_0x1cd3('0x3646');var _0x2658b7=_0x4fcf05[_0x1cd3('0x2d35')](_0x1cd3('0x364a'));_0x2658b7[_0x1cd3('0xd4e')](_0x2d2566);_0x5d6c70[_0x1cd3('0xd4e')](_0x194147);_0x5d6c70[_0x1cd3('0xd4e')](_0x2658b7);_0x24e012['appendChild'](_0x5d6c70);_0xc33211[_0x1cd3('0xd4e')](_0x24e012);var _0x1180e5=mxUtils[_0x1cd3('0x2a1a')](mxResources[_0x1cd3('0x361')](_0x1cd3('0xeb0')),mxUtils[_0x1cd3('0x5b2')](this,function(_0x25dba5){_0x4fcf05[_0x1cd3('0xd6d')](![]);var _0x2d09b4=encodeURIComponent(mxUtils[_0x1cd3('0x2b82')](_0x4fcf05['editor'][_0x1cd3('0x35bd')]()));new mxXmlRequest(SAVE_URL+_0x4fcf05[_0x1cd3('0x3374')][_0x1cd3('0x439')]['id']+_0x1cd3('0x3656'),'filename='+_0x2d2566['value'],_0x1cd3('0xf47'))['simulate'](document,_0x1cd3('0xee6'));_0x4fcf05[_0x1cd3('0x3631')]();}));_0x1180e5[_0x1cd3('0x45d')]=_0x1cd3('0x3639');var _0x51608c=mxUtils[_0x1cd3('0x2a1a')](mxResources['get'](_0x1cd3('0x4d8')),function(){_0x4fcf05[_0x1cd3('0x3631')]();});_0x51608c[_0x1cd3('0x45d')]=_0x1cd3('0x363a');_0x1ec503[_0x1cd3('0xd4e')](_0x1180e5);_0x1ec503[_0x1cd3('0xd4e')](_0x51608c);_0x5dd043[_0x1cd3('0xd4e')](_0x433f37);_0x5dd043[_0x1cd3('0xd4e')](_0xc33211);_0x5dd043[_0x1cd3('0xd4e')](_0x1ec503);this['container']=_0x5dd043;};function GeneralDialog(_0x48ad4a,_0xca8a05){console['log'](_0x1cd3('0x1fa0'));var _0x436efd=_0x48ad4a[_0x1cd3('0x3374')][_0x1cd3('0x2c89')];var _0x293b07=_0x48ad4a[_0x1cd3('0x2d35')]('md-dialog');var _0x52a24b=_0x48ad4a[_0x1cd3('0x2d35')](_0x1cd3('0x71a'));var _0x338289=_0x48ad4a[_0x1cd3('0x2d35')](_0x1cd3('0x3657'));var _0x949a89=_0x48ad4a[_0x1cd3('0x2d35')](_0x1cd3('0x3658'));var _0x45df99=_0x48ad4a[_0x1cd3('0x34d0')]('h4');mxUtils['write'](_0x45df99,mxResources[_0x1cd3('0x361')]('edit')+'\x20'+mxResources['get'](_0xca8a05[_0x1cd3('0x3db')][_0x1cd3('0x2a0c')]));var _0xf8287e=mxUtils[_0x1cd3('0x2a1a')]('',function(){_0x48ad4a[_0x1cd3('0x3631')]();});_0xf8287e['className']=_0x1cd3('0x3cf');_0x52a24b[_0x1cd3('0xd4e')](_0xf8287e);_0x52a24b[_0x1cd3('0xd4e')](_0x45df99);var _0x3dfa2b=_0xca8a05[_0x1cd3('0x3db')]['attributes']['length'];var _0x304690=_0x48ad4a[_0x1cd3('0x2d35')](_0x1cd3('0x3647'));for(var _0x4fae98=0x0;_0x4fae98<_0x3dfa2b;_0x4fae98++){var _0x1d44d6=_0xca8a05[_0x1cd3('0x3db')][_0x1cd3('0xf29')][_0x4fae98][_0x1cd3('0x98')];var _0x52bc0b='_'+_0x1d44d6;var _0x375dae=_0xca8a05[_0x1cd3('0x3db')][_0x1cd3('0xf29')][_0x4fae98]['value'];var _0x1acaa3=_0x48ad4a[_0x1cd3('0x2d35')](_0x4fae98==_0x3dfa2b-0x1?_0x1cd3('0x364d'):'form-group');var _0x2ba660=document[_0x1cd3('0x3aa')](_0x1cd3('0x91b'));_0x2ba660[_0x1cd3('0x45d')]=_0x1cd3('0x3649');mxUtils[_0x1cd3('0x28be')](_0x2ba660,mxResources[_0x1cd3('0x361')](_0x1d44d6));_0x1acaa3[_0x1cd3('0xd4e')](_0x2ba660);var _0x5ad033;switch(_0x1d44d6){case'sip_id':_0x5ad033=createDropdownWithOptgroupFromApi(_0x1cd3('0x3659'),_0x375dae,_0x1cd3('0xd3'),'id',_0x48ad4a,_0x1cd3('0x388'));break;case _0x1cd3('0xf4c'):_0x5ad033=createDropdownFromApi(_0x1cd3('0x365a'),_0x375dae,_0x1cd3('0x98'),_0x1cd3('0x98'),_0x48ad4a);break;case _0x1cd3('0xf08'):_0x5ad033=createDropdownFromApi('/api/trunks',_0x375dae,_0x1cd3('0x98'),'name',_0x48ad4a);break;case'variable_id':_0x5ad033=createDropdownFromApi('/api/variables',_0x375dae,_0x1cd3('0x98'),'id',_0x48ad4a);break;case'account_id':if(_0xca8a05['value']['nodeName']==_0x1cd3('0x3530')){_0x5ad033=createDropdownFromApi(_0x1cd3('0x365b'),_0x375dae,_0x1cd3('0x5ad'),'id',_0x48ad4a);}else{_0x5ad033=createDropdownFromApi('/api/sms/accounts',_0x375dae,_0x1cd3('0x98'),'id',_0x48ad4a);}break;case _0x1cd3('0xf4d'):_0x5ad033=createDropdownFromApi('/api/templates',_0x375dae,_0x1cd3('0x98'),'id',_0x48ad4a);break;case'context':_0x5ad033=createDropdownFromApi('/api/voice/contexts',_0x375dae,_0x1cd3('0x98'),'name',_0x48ad4a);break;case _0x1cd3('0xf13'):_0x5ad033=createDropdownFromApi(_0x1cd3('0x365c'),_0x375dae,_0x1cd3('0xf13'),'id',_0x48ad4a,['mailbox',_0x1cd3('0xf0a')],_0x1cd3('0x365d'));break;case'model':_0x5ad033=createDropdownFromArray(ISPEECHASRMODEL,_0x375dae);break;case'ispeech_asr_language':_0x5ad033=createDropdownFromArray(ISPEECHASRLANG,_0x375dae);break;case _0x1cd3('0x2949'):_0x5ad033=createDropdownFromArray(ISPEECHBEEP,_0x375dae);break;case'hiddendigitspos':_0x5ad033=createDropdownFromArray(SECRETDIGITSPOS,_0x375dae);break;case _0x1cd3('0x3582'):_0x5ad033=createDropdownFromArray(ISPEECHLANG,_0x375dae);break;case _0x1cd3('0x3581'):_0x5ad033=createDropdownFromArray(GOOGLETTSLANG,_0x375dae);break;case _0x1cd3('0x3579'):_0x5ad033=createDropdownFromArray(ASRINTKEYS,_0x375dae);break;case _0x1cd3('0x1285'):_0x5ad033=createDropdownFromArray(RECORDINGFORMAT,_0x375dae);break;case'answer':_0x5ad033=createDropdownFromArray(BOOLSELECT,_0x375dae);break;case _0x1cd3('0xf10'):_0x5ad033=createDropdownFromTigerDialList(_0x375dae);break;case'interval_id':_0x5ad033=createGroupedDropdownFromApi(_0x1cd3('0x365e'),_0x375dae,_0x1cd3('0x98'),'id',_0x48ad4a,'SubIntervals');break;case _0x1cd3('0xf14'):_0x5ad033=createDropdownFromApi(_0x1cd3('0x364e'),_0x375dae,_0x1cd3('0x98'),'id',_0x48ad4a,null,null,_0x48ad4a[_0x1cd3('0x3374')]['getOrCreateFilename']());break;case _0x1cd3('0xf4f'):_0x5ad033=createDropdownFromApi(_0x1cd3('0x365f'),_0x375dae,'name','id',_0x48ad4a);break;case _0x1cd3('0xf02'):_0x5ad033=createDropdownFromApi(_0x1cd3('0x3660'),_0x375dae,_0x1cd3('0x607'),'id',_0x48ad4a);break;case _0x1cd3('0x8fc'):case _0x1cd3('0x357c'):case _0x1cd3('0x3481'):case _0x1cd3('0xf05'):case _0x1cd3('0xf03'):case _0x1cd3('0xf06'):case _0x1cd3('0x349e'):_0x5ad033=document[_0x1cd3('0x3aa')](_0x1cd3('0x1304'));_0x5ad033[_0x1cd3('0x481')]('type',_0x1cd3('0x407'));_0x5ad033[_0x1cd3('0x481')]('min',0x0);_0x5ad033[_0x1cd3('0x481')]('max',0x3e8);_0x5ad033[_0x1cd3('0x481')]('value',_0x375dae);_0x5ad033[_0x1cd3('0x45d')]=_0x1cd3('0x3646');break;case _0x1cd3('0x401'):case _0x1cd3('0x65c'):case _0x1cd3('0x3d4'):case _0x1cd3('0xb65'):case _0x1cd3('0xf0d'):case'body':_0x5ad033=document[_0x1cd3('0x3aa')](_0x1cd3('0x122f'));_0x5ad033[_0x1cd3('0x2a15')]=_0x375dae;_0x5ad033['className']='form-control';break;case _0x1cd3('0xf16'):_0x5ad033=document[_0x1cd3('0x3aa')](_0x1cd3('0x122f'));_0x5ad033[_0x1cd3('0x2a15')]=_0x375dae;_0x5ad033[_0x1cd3('0x45d')]=_0x1cd3('0x3646');_0x5ad033[_0x1cd3('0x481')](_0x1cd3('0x3661'),_0x1cd3('0x3662'));break;default:_0x5ad033=document[_0x1cd3('0x3aa')]('input');_0x5ad033['setAttribute'](_0x1cd3('0x3db'),_0x375dae);_0x5ad033['className']=_0x1cd3('0x3646');break;}_0x5ad033[_0x1cd3('0x481')]('id',_0x52bc0b);var _0x592795=_0x48ad4a[_0x1cd3('0x2d35')](_0x1cd3('0x364a'));_0x592795[_0x1cd3('0xd4e')](_0x5ad033);if(mxResources[_0x1cd3('0x361')](_0x1cd3('0x3663')+_0x1d44d6)){var _0x2372e=_0x48ad4a[_0x1cd3('0x2d35')]('p');_0x2372e['className']=_0x1cd3('0x3664');mxUtils[_0x1cd3('0x28be')](_0x2372e,mxResources[_0x1cd3('0x361')]('help_'+_0x1d44d6));_0x592795[_0x1cd3('0xd4e')](_0x2372e);}_0x1acaa3['appendChild'](_0x592795);_0x304690[_0x1cd3('0xd4e')](_0x1acaa3);}_0x338289[_0x1cd3('0xd4e')](_0x304690);var _0x397a59=mxUtils[_0x1cd3('0x2a1a')](mxResources[_0x1cd3('0x361')](_0x1cd3('0xd6d')),mxUtils['bind'](this,function(_0x110666){for(var _0x174158=0x0;_0x174158<_0xca8a05[_0x1cd3('0x3db')][_0x1cd3('0xf29')][_0x1cd3('0x7a')];_0x174158++){var _0x55e61d='_'+_0xca8a05[_0x1cd3('0x3db')][_0x1cd3('0xf29')][_0x174158][_0x1cd3('0x98')];var _0xefdc22=_0xca8a05[_0x1cd3('0x3db')][_0x1cd3('0xf29')][_0x174158][_0x1cd3('0x98')];_0xca8a05[_0x1cd3('0x481')](_0xefdc22,document['getElementById'](_0x55e61d)['value']);};_0x436efd[_0x1cd3('0x8fa')](_0xca8a05);_0x48ad4a[_0x1cd3('0x3631')]();}));_0x397a59[_0x1cd3('0x45d')]=_0x1cd3('0x3639');var _0x27d116=mxUtils[_0x1cd3('0x2a1a')](mxResources[_0x1cd3('0x361')](_0x1cd3('0x4d8')),function(){_0x48ad4a['hideDialog']();});_0x27d116[_0x1cd3('0x45d')]=_0x1cd3('0x363a');_0x949a89[_0x1cd3('0xd4e')](_0x397a59);_0x949a89['appendChild'](_0x27d116);_0x293b07[_0x1cd3('0xd4e')](_0x52a24b);_0x293b07[_0x1cd3('0xd4e')](_0x338289);_0x293b07[_0x1cd3('0xd4e')](_0x949a89);this[_0x1cd3('0x4ce')]=_0x293b07;};angular[_0x1cd3('0x0')](_0x1cd3('0x25'))[_0x1cd3('0x35d')](['$templateCache',function(_0x404b17){'use strict';_0x404b17['put']('app/auth/services/hotdesk/dialog.html','\x0a'+_0x1cd3('0x3665')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3668')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x366c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366d')+_0x1cd3('0x366e')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SELECT\x0a'+_0x1cd3('0x3671')+_0x1cd3('0x3672')+_0x1cd3('0x3673')+_0x1cd3('0x3674')+_0x1cd3('0x3675')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3676'));_0x404b17['put'](_0x1cd3('0x132f'),_0x1cd3('0x3677')+_0x1cd3('0x3665')+_0x1cd3('0x3678')+_0x1cd3('0x3667')+_0x1cd3('0x3679')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x367a')+_0x1cd3('0x367b')+_0x1cd3('0x367c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x367d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x366c')+_0x1cd3('0x367e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3670')+_0x1cd3('0x367f')+_0x1cd3('0x3680')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3681')+_0x1cd3('0x3676'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x3682'),'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3683')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27DASHBOARDS.MEET_ALL_CONDITIONS\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3684')+_0x1cd3('0x3685')+_0x1cd3('0x3686')+'\x0a'+_0x1cd3('0x3687')+_0x1cd3('0x3688')+_0x1cd3('0x3689')+_0x1cd3('0x368a')+_0x1cd3('0x368b')+_0x1cd3('0x368c')+_0x1cd3('0x368d')+_0x1cd3('0x368e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x368f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20$chip.operator\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20$chip.displayValue\x20}}\x0a'+_0x1cd3('0x3690')+_0x1cd3('0x3691')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20$chip.displayEndValue\x20}}\x0a'+_0x1cd3('0x3692')+_0x1cd3('0x3693')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3694')+_0x1cd3('0x3695')+_0x1cd3('0x3696')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3697')+_0x1cd3('0x3698')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3696')+_0x1cd3('0x3699')+_0x1cd3('0x369a')+_0x1cd3('0x369b')+_0x1cd3('0x369c')+_0x1cd3('0x369d')+_0x1cd3('0x369e')+_0x1cd3('0x369f')+_0x1cd3('0x36a0')+_0x1cd3('0x36a1')+_0x1cd3('0x3686')+'\x0a'+_0x1cd3('0x36a2')+_0x1cd3('0x36a3')+_0x1cd3('0x36a4')+_0x1cd3('0x36a5')+_0x1cd3('0x36a6')+_0x1cd3('0x36a7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20field.name\x20}}\x0a'+_0x1cd3('0x36a9')+_0x1cd3('0x36aa')+'\x0a'+_0x1cd3('0x36ab')+_0x1cd3('0x36ac')+_0x1cd3('0x36ad')+_0x1cd3('0x36ae')+_0x1cd3('0x36af')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-selected-text=\x22vm.selectedOperator\x20?\x20(\x27DASHBOARDS.\x27\x20+\x20vm.selectedOperator.translate\x20|\x20translate)\x20:\x20(\x27DASHBOARDS.SELECT_OPERATOR\x27\x20|\x20translate)\x22\x0a'+_0x1cd3('0x36b0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36b7')+_0x1cd3('0x36b8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+'\x0a'+_0x1cd3('0x36b9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36c4')+_0x1cd3('0x36c5')+_0x1cd3('0x36c6')+_0x1cd3('0x36c7')+_0x1cd3('0x36c8')+_0x1cd3('0x36c9')+_0x1cd3('0x36ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20(\x27DASHBOARDS.VALUE_RANGE_CHECK\x27\x20|\x20translate)\x20+\x20\x27\x20\x27\x20+\x20vm.value\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36cb')+_0x1cd3('0x36cc')+_0x1cd3('0x36ad')+_0x1cd3('0x36cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-change=\x22vm.onValueChange()\x22\x20ng-model-vm.options=\x22{trackBy:\x20\x27$value.id\x27}\x22\x0a'+_0x1cd3('0x36ce')+_0x1cd3('0x36cf')+_0x1cd3('0x36d0')+_0x1cd3('0x36b8')+_0x1cd3('0x36a9')+_0x1cd3('0x36aa')+_0x1cd3('0x36d1')+_0x1cd3('0x36d2')+_0x1cd3('0x36ad')+_0x1cd3('0x36d3')+_0x1cd3('0x36d4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-keydown=\x22$event.keyCode\x20==\x2013\x20&&\x20vm.isValidCondition\x20&&\x20vm.handleKeyboardAction()\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20placeholder=\x22{{\x20\x27DASHBOARDS.VALUE\x27\x20|\x20translate\x20}}\x22\x20aria-label=\x22Value\x22>\x0a'+_0x1cd3('0x36d0')+_0x1cd3('0x36b8')+_0x1cd3('0x36a9')+_0x1cd3('0x36aa')+_0x1cd3('0x36d5')+_0x1cd3('0x36d6')+_0x1cd3('0x36d7')+_0x1cd3('0x36d8')+_0x1cd3('0x36d9')+_0x1cd3('0x36da')+_0x1cd3('0x36db')+_0x1cd3('0x36dc')+_0x1cd3('0x36dd')+_0x1cd3('0x36de')+_0x1cd3('0x36da')+_0x1cd3('0x36db')+_0x1cd3('0x366a')+_0x1cd3('0x36df')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36ad')+_0x1cd3('0x36e1')+_0x1cd3('0x36e2')+_0x1cd3('0x36e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-keydown=\x22$event.keyCode\x20==\x2013\x20&&\x20vm.isValidCondition\x20&&\x20vm.handleKeyboardAction()\x22\x20flex>\x0a'+_0x1cd3('0x36e4')+_0x1cd3('0x36e5')+_0x1cd3('0x36e6')+_0x1cd3('0x36e7')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f3')+_0x1cd3('0x3686')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f4')+_0x1cd3('0x36f5')+_0x1cd3('0x36f6')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f7')+_0x1cd3('0x36f6')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{card.text}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x1859'));_0x404b17[_0x1cd3('0x37b')]('app/core/directives/ms-card/templates/template-10/template-10.html',_0x1cd3('0x36f8')+_0x1cd3('0x36f9')+_0x1cd3('0x36fa')+_0x1cd3('0x36fb')+_0x1cd3('0x36fc')+_0x1cd3('0x366a')+'\x0a'+_0x1cd3('0x36fd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{card.subtitle}}\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x36fe')+_0x1cd3('0x36ff')+_0x1cd3('0x3700')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3701')+_0x1cd3('0x3686')+_0x1cd3('0x1859'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x3702'),_0x1cd3('0x3703')+_0x1cd3('0x3704')+_0x1cd3('0x3705')+_0x1cd3('0x3706')+_0x1cd3('0x36f6')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3707')+_0x1cd3('0x36fc')+_0x1cd3('0x366a')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3708')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x3686')+'\x0a'+_0x1cd3('0x3709')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3686')+'\x0a'+_0x1cd3('0x370a')+_0x1cd3('0x3701')+_0x1cd3('0x3686')+_0x1cd3('0x1859'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x370b'),_0x1cd3('0x370c')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x36fa')+_0x1cd3('0x370d')+_0x1cd3('0x36fc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x370e')+_0x1cd3('0x3708')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x370f')+_0x1cd3('0x3710')+_0x1cd3('0x36f6')+_0x1cd3('0x3686')+'\x0a'+_0x1cd3('0x3711')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'');_0x404b17[_0x1cd3('0x37b')]('app/core/directives/ms-card/templates/template-4/template-4.html',_0x1cd3('0x3712')+_0x1cd3('0x3713')+_0x1cd3('0x36f4')+_0x1cd3('0x36f5')+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x3714')+_0x1cd3('0x3715')+_0x1cd3('0x36f6')+_0x1cd3('0x3686')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3686')+'');_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x3716'),_0x1cd3('0x3717')+_0x1cd3('0x3718')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3719')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{card.event}}\x0a'+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x1859'));_0x404b17['put'](_0x1cd3('0x371a'),_0x1cd3('0x371b')+_0x1cd3('0x371c')+_0x1cd3('0x371d')+_0x1cd3('0x36f7')+_0x1cd3('0x36f6')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{card.title}}\x0a'+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x371e')+_0x1cd3('0x3715')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x1859'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x371f'),'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3720')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36fc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3721')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{card.subtitle}}\x0a'+_0x1cd3('0x366a')+'\x0a'+_0x1cd3('0x3722')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{card.text}}\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x3723')+_0x1cd3('0x3724')+_0x1cd3('0x3725')+_0x1cd3('0x3726')+_0x1cd3('0x3726')+_0x1cd3('0x3726')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f3')+_0x1cd3('0x3686')+_0x1cd3('0x1859'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x3727'),'\x0a'+_0x1cd3('0x3709')+_0x1cd3('0x36f3')+_0x1cd3('0x3686')+'\x0a'+_0x1cd3('0x371c')+_0x1cd3('0x36f4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{card.title}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x371d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{card.subtitle}}\x0a'+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x3728')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{card.button1}}\x0a'+_0x1cd3('0x3729')+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x372a')+_0x1cd3('0x3715')+_0x1cd3('0x36f6')+_0x1cd3('0x3686')+_0x1cd3('0x1859'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x372b'),_0x1cd3('0x372c')+_0x1cd3('0x3704')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3706')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x36fa')+_0x1cd3('0x3707')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{card.title}}\x0a'+_0x1cd3('0x366a')+'\x0a'+_0x1cd3('0x372d')+_0x1cd3('0x3708')+_0x1cd3('0x366a')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3686')+'\x0a'+_0x1cd3('0x372e')+_0x1cd3('0x3701')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3709')+_0x1cd3('0x36f3')+_0x1cd3('0x3686')+'\x0a'+_0x1cd3('0x372f')+_0x1cd3('0x3730')+_0x1cd3('0x3731')+_0x1cd3('0x36ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3732')+_0x1cd3('0x36ed')+_0x1cd3('0x3686')+'\x0a'+_0x1cd3('0x1859'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x477'),_0x1cd3('0x3733')+'\x20\x20{{target}}\x0a'+'\x0a'+_0x1cd3('0x3734')+_0x1cd3('0x3735')+_0x1cd3('0x3736')+'\x20\x20\x20\x20
\x0a'+'\x0a'+_0x1cd3('0x3737')+_0x1cd3('0x3738')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3739')+_0x1cd3('0x3671')+_0x1cd3('0x373a')+_0x1cd3('0x3738')+_0x1cd3('0x373b')+_0x1cd3('0x373c')+_0x1cd3('0x3671')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x373d')+'\x20\x20\x0a'+_0x1cd3('0x373e')+'\x0a'+_0x1cd3('0x373f')+_0x1cd3('0x3740')+_0x1cd3('0x3741')+_0x1cd3('0x3742')+'\x0a'+_0x1cd3('0x3734')+_0x1cd3('0x3743')+_0x1cd3('0x3744')+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3738')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3739')+_0x1cd3('0x3671')+_0x1cd3('0x373a')+_0x1cd3('0x3738')+_0x1cd3('0x3745')+_0x1cd3('0x373c')+_0x1cd3('0x3671')+_0x1cd3('0x373a')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3746')+_0x1cd3('0x373e'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x3747'),_0x1cd3('0x3748')+_0x1cd3('0x3749')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x374a')+_0x1cd3('0x374b')+_0x1cd3('0x374c')+_0x1cd3('0x374d')+_0x1cd3('0x374e')+_0x1cd3('0x374f')+_0x1cd3('0x3750')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3751')+_0x1cd3('0x3752')+_0x1cd3('0x3753')+_0x1cd3('0x3754')+_0x1cd3('0x3755')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3757')+_0x1cd3('0x3758')+_0x1cd3('0x3759')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{options.labelAll\x20||\x20\x27All\x20Items\x27}}\x20({{options.items.length}})\x0a'+_0x1cd3('0x375a')+_0x1cd3('0x375b')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x375c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3686')+'\x0a'+_0x1cd3('0x3749')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x375d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x374b')+_0x1cd3('0x374c')+_0x1cd3('0x374d')+_0x1cd3('0x375e')+_0x1cd3('0x375f')+_0x1cd3('0x3760')+_0x1cd3('0x3761')+_0x1cd3('0x3762')+_0x1cd3('0x3751')+_0x1cd3('0x3752')+_0x1cd3('0x3753')+_0x1cd3('0x3754')+_0x1cd3('0x3755')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3757')+_0x1cd3('0x3758')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3763')+_0x1cd3('0x3764')+_0x1cd3('0x3765')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{options.labelSelected\x20||\x20\x27Selected\x20Items\x27}}\x20({{options.selectedItems.length}})\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x1859'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x4b3'),_0x1cd3('0x3766')+'\x20\x20\x20\x20{{font.option}}\x0a'+_0x1cd3('0x3767')+_0x1cd3('0x3768'));_0x404b17[_0x1cd3('0x37b')]('app/core/directives/ms-info-bar/ms-info-bar.html',_0x1cd3('0x3769')+_0x1cd3('0x376a')+_0x1cd3('0x376b')+_0x1cd3('0x376c')+_0x1cd3('0x376d')+_0x1cd3('0x376e'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x376f'),_0x1cd3('0x3770')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3771')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3775')+_0x1cd3('0x3776')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3777')+_0x1cd3('0x3686')+'\x0a'+_0x1cd3('0x3778')+'\x0a'+_0x1cd3('0x3779')+_0x1cd3('0x377a')+_0x1cd3('0x377b')+_0x1cd3('0x377c')+_0x1cd3('0x377d')+_0x1cd3('0x3671')+'\x0a'+_0x1cd3('0x377e')+_0x1cd3('0x377f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3780')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Select\x20Color\x0a'+_0x1cd3('0x3781')+'\x0a'+_0x1cd3('0x3782')+_0x1cd3('0x3783')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3784')+'\x0a'+_0x1cd3('0x3785')+_0x1cd3('0x3786')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x378b')+_0x1cd3('0x378c')+_0x1cd3('0x378d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hue}}\x0a'+_0x1cd3('0x378a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x373d')+_0x1cd3('0x3790'));_0x404b17['put']('app/core/directives/ms-navigation/templates/horizontal.html',_0x1cd3('0x3791')+_0x1cd3('0x3792')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22Toggle\x20Mobile\x20Navigation\x22>\x0a'+_0x1cd3('0x3793')+_0x1cd3('0x376d')+_0x1cd3('0x376e')+'\x0a'+'\x0a'+_0x1cd3('0x3794')+_0x1cd3('0x3795')+'\x20\x20\x20\x20\x20\x20\x20\x20ng-include=\x22\x27navigation-horizontal-nested.html\x27\x22>\x0a'+'\x0a'+'\x0a'+_0x1cd3('0x3796')+_0x1cd3('0x3797')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3798')+_0x1cd3('0x3799')+_0x1cd3('0x379a')+_0x1cd3('0x379b')+_0x1cd3('0x379c')+_0x1cd3('0x379d')+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x379e')+_0x1cd3('0x379f')+_0x1cd3('0x37a0')+_0x1cd3('0x379a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{node.title}}\x0a'+_0x1cd3('0x379c')+_0x1cd3('0x379d')+_0x1cd3('0x37a1')+'\x0a'+_0x1cd3('0x3686')+'\x0a'+_0x1cd3('0x37a2')+_0x1cd3('0x37a3')+_0x1cd3('0x37a4')+_0x1cd3('0x37a5')+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x0a'+_0x1cd3('0x37a6'));_0x404b17[_0x1cd3('0x37b')]('app/core/directives/ms-navigation/templates/vertical.html',_0x1cd3('0x37a7')+_0x1cd3('0x37a8')+_0x1cd3('0x37a9')+_0x1cd3('0x37aa')+'\x0a'+'\x0a'+'\x0a'+_0x1cd3('0x37ab')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x37ac')+_0x1cd3('0x37ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{node.title}}\x0a'+_0x1cd3('0x37ae')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x37af')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{node.title}}\x0a'+_0x1cd3('0x37ae')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x37a1')+'\x0a'+_0x1cd3('0x3686')+'\x0a'+_0x1cd3('0x37a2')+_0x1cd3('0x37b0')+_0x1cd3('0x37b1')+_0x1cd3('0x37b2')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x37b3')+_0x1cd3('0x37b4'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x37b5'),_0x1cd3('0x37b6')+'\x0a'+_0x1cd3('0x37b7')+_0x1cd3('0x37b8')+_0x1cd3('0x37b9')+_0x1cd3('0x37ba')+_0x1cd3('0x37bb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3671')+_0x1cd3('0x36f6')+_0x1cd3('0x37bc')+_0x1cd3('0x37bd')+_0x1cd3('0x37be')+_0x1cd3('0x37bf')+_0x1cd3('0x37c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x37c1')+_0x1cd3('0x37c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{l\x20|\x20uppercase}}\x0a'+_0x1cd3('0x37c3')+_0x1cd3('0x378a')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x37be')+_0x1cd3('0x37c4')+_0x1cd3('0x37c0')+_0x1cd3('0x37c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{item.n}}\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

\x0a'+_0x1cd3('0x37c6')+_0x1cd3('0x37c3')+_0x1cd3('0x378a')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x37bc')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x37c7')+_0x1cd3('0x37c0')+_0x1cd3('0x37c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{item.n}}\x20\x0a'+_0x1cd3('0x37c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{l\x20|\x20uppercase}}\x0a'+_0x1cd3('0x37c3')+_0x1cd3('0x378a')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x37bc')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x37c8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x37c9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{item.n}}\x0a'+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x37ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x37c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{item.n}}\x20\x0a'+_0x1cd3('0x37cb')+_0x1cd3('0x37cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

\x0a'+_0x1cd3('0x378a')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x37cd')+_0x1cd3('0x37c9')+_0x1cd3('0x37ce')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x37bc')+_0x1cd3('0x37cf')+'\x0a'+'\x0a'+_0x1cd3('0x37d0')+_0x1cd3('0x37d1')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x37d2')+_0x1cd3('0x37d3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x37d4')+_0x1cd3('0x37d5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x37d6')+_0x1cd3('0x37d7')+_0x1cd3('0x37d8')+_0x1cd3('0x37d9')+_0x1cd3('0x37d5')+_0x1cd3('0x36ed')+_0x1cd3('0x37da')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x37db')+_0x1cd3('0x37dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Microphone\x0a'+_0x1cd3('0x37d5')+_0x1cd3('0x36ed')+_0x1cd3('0x37dd')+'\x0a'+_0x1cd3('0x37de')+_0x1cd3('0x37df')+_0x1cd3('0x37e0')+_0x1cd3('0x37e1')+_0x1cd3('0x37e2')+_0x1cd3('0x37e3')+_0x1cd3('0x37e4')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x37e5')+_0x1cd3('0x37e6')+_0x1cd3('0x37e7')+_0x1cd3('0x37e8')+_0x1cd3('0x37e9')+_0x1cd3('0x37ea')+_0x1cd3('0x37eb')+_0x1cd3('0x37ec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20title-field=\x22target\x22\x0a'+_0x1cd3('0x37ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20input-class=\x22input-number\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20disable-input=\x22!vm_pb.registered\x22\x0a'+_0x1cd3('0x37ee')+_0x1cd3('0x37ef')+_0x1cd3('0x37f0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20selected-object=\x22vm_pb.targetSelected\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20clear-selected=\x22true\x22\x0a'+_0x1cd3('0x37f1')+_0x1cd3('0x37f2')+_0x1cd3('0x37f3')+'\x0a'+_0x1cd3('0x37f4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AA\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x37f4')+'\x0a'+_0x1cd3('0x37f5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3671')+_0x1cd3('0x37f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x376e')+_0x1cd3('0x37d0')+'\x0a'+'\x0a'+_0x1cd3('0x37f7')+_0x1cd3('0x37f8')+_0x1cd3('0x37f9')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20Conference\x0a'+_0x1cd3('0x37fa')+_0x1cd3('0x37fb')+'\x0a'+'\x0a'+_0x1cd3('0x37fc')+'\x0a'+_0x1cd3('0x37fd')+_0x1cd3('0x37fe')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x37ff')+_0x1cd3('0x3800')+_0x1cd3('0x3686')+'\x0a'+'\x20\x20\x20\x20\x201)\x20&&\x20vm_pb.selectSession(session)\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3801')+_0x1cd3('0x36ed')+_0x1cd3('0x3802')+_0x1cd3('0x3803')+_0x1cd3('0x3804')+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x3805')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3806')+_0x1cd3('0x36ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3807')+_0x1cd3('0x36ed')+_0x1cd3('0x3808')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3809')+_0x1cd3('0x380a')+_0x1cd3('0x36ed')+_0x1cd3('0x380b')+'\x0a'+_0x1cd3('0x380c')+_0x1cd3('0x380d')+_0x1cd3('0x380e')+_0x1cd3('0x36ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x380f')+_0x1cd3('0x3810')+_0x1cd3('0x380e')+_0x1cd3('0x36ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x376e')+_0x1cd3('0x37fd'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x3811'),_0x1cd3('0x3812')+_0x1cd3('0x3813')+_0x1cd3('0x3814')+_0x1cd3('0x3815')+'\x20\x20\x20\x20ng-disabled=\x22disableInput\x22\x0a'+_0x1cd3('0x3816')+_0x1cd3('0x3817')+_0x1cd3('0x3818')+_0x1cd3('0x3819')+_0x1cd3('0x381a')+_0x1cd3('0x381b')+_0x1cd3('0x381c')+_0x1cd3('0x381d')+_0x1cd3('0x381e')+_0x1cd3('0x381f')+_0x1cd3('0x3820')+_0x1cd3('0x3821')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3822')+_0x1cd3('0x3823')+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3824')+_0x1cd3('0x376e'));_0x404b17['put'](_0x1cd3('0x3825'),_0x1cd3('0x3826')+_0x1cd3('0x3827')+_0x1cd3('0x3828')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3829')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x1859'));_0x404b17[_0x1cd3('0x37b')]('assets/ms-phonebar/prefix/dialog.html','\x0a'+_0x1cd3('0x3665')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x3679')+_0x1cd3('0x382a')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x382b')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x382c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{prefix.name}}\x0a'+_0x1cd3('0x382d')+_0x1cd3('0x382e')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x3670')+_0x1cd3('0x382f')+_0x1cd3('0x3830')+_0x1cd3('0x3671')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3831')+_0x1cd3('0x3671')+_0x1cd3('0x3675')+'\x20\x20\x20\x20\x0a'+'');_0x404b17['put'](_0x1cd3('0x66e'),_0x1cd3('0x3832')+_0x1cd3('0x3665')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x3679')+_0x1cd3('0x3833')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x367a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3834')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x382b')+_0x1cd3('0x367d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x3835')+_0x1cd3('0x3836')+_0x1cd3('0x3837')+_0x1cd3('0x3838')+_0x1cd3('0x3839')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Actions\x0a'+_0x1cd3('0x383a')+_0x1cd3('0x383b')+_0x1cd3('0x383c')+_0x1cd3('0x383d')+_0x1cd3('0x383e')+_0x1cd3('0x383f')+_0x1cd3('0x3840')+_0x1cd3('0x3841')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x383a')+_0x1cd3('0x3842')+_0x1cd3('0x3843')+_0x1cd3('0x3844')+_0x1cd3('0x3845')+_0x1cd3('0x3846')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3847')+_0x1cd3('0x3848')+_0x1cd3('0x3849')+_0x1cd3('0x3846')+_0x1cd3('0x383a')+_0x1cd3('0x384a')+_0x1cd3('0x384b')+_0x1cd3('0x384c')+'\x0a'+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x67d'),'\x0a'+_0x1cd3('0x3665')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3667')+_0x1cd3('0x3679')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Transfer\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x367a')+_0x1cd3('0x384e')+_0x1cd3('0x382b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x366c')+_0x1cd3('0x384f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3850')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3851')+_0x1cd3('0x36b8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x366f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3852')+_0x1cd3('0x3853')+_0x1cd3('0x3671')+_0x1cd3('0x3854')+_0x1cd3('0x3831')+_0x1cd3('0x3671')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3681')+'\x0a');_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x680'),'\x0a'+_0x1cd3('0x3855')+_0x1cd3('0x3666')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3856')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+_0x1cd3('0x385a')+_0x1cd3('0x385b')+_0x1cd3('0x385c')+_0x1cd3('0x385d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Fullname:\x20{{vm.conf.fullname}}\x0a'+_0x1cd3('0x385e')+_0x1cd3('0x385f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Browser:\x20{{vm.conf.browserName}}\x20{{vm.conf.browserVersion}}\x0a'+_0x1cd3('0x3860')+_0x1cd3('0x3861')+_0x1cd3('0x3862')+_0x1cd3('0x3863')+_0x1cd3('0x3864')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3865')+_0x1cd3('0x3866')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.conf.autoAnswerDelay\x20}}\x20[s]\x0a'+_0x1cd3('0x3867')+_0x1cd3('0x3868')+_0x1cd3('0x3861')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3869')+_0x1cd3('0x3864')+_0x1cd3('0x386a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Ringing\x20Device\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20device.label\x20||\x20(\x27Speaker\x20\x27\x20+\x20($index\x20+\x201))\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x386b')+_0x1cd3('0x386c')+_0x1cd3('0x386d')+_0x1cd3('0x386e')+_0x1cd3('0x386f')+_0x1cd3('0x3870')+'\x0a'+_0x1cd3('0x3871')+_0x1cd3('0x3872')+_0x1cd3('0x3873')+_0x1cd3('0x3874')+'\x0a'+_0x1cd3('0x3875')+_0x1cd3('0x3876')+_0x1cd3('0x3877')+_0x1cd3('0x3841')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x386a')+_0x1cd3('0x3878')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Speaker\x20Device\x0a'+_0x1cd3('0x3879')+_0x1cd3('0x387a')+_0x1cd3('0x387b')+_0x1cd3('0x387c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x386d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x386f')+_0x1cd3('0x3870')+'\x0a'+_0x1cd3('0x387d')+_0x1cd3('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Mute\x0a'+_0x1cd3('0x3874')+'\x0a'+_0x1cd3('0x3875')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3877')+_0x1cd3('0x3841')+_0x1cd3('0x36b7')+'\x0a'+_0x1cd3('0x386a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Microphone\x20Device\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x387f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3880')+_0x1cd3('0x386c')+_0x1cd3('0x386d')+_0x1cd3('0x386e')+_0x1cd3('0x386f')+_0x1cd3('0x3870')+'\x0a'+_0x1cd3('0x3871')+_0x1cd3('0x3881')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Mute\x0a'+_0x1cd3('0x3874')+_0x1cd3('0x3841')+_0x1cd3('0x36b7')+_0x1cd3('0x3861')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3882')+_0x1cd3('0x3864')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3883')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20License\x0a'+_0x1cd3('0x3884')+_0x1cd3('0x3885')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3886')+_0x1cd3('0x3887')+_0x1cd3('0x3885')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3888')+_0x1cd3('0x3889')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x388a')+_0x1cd3('0x388b')+_0x1cd3('0x3885')+_0x1cd3('0x3883')+_0x1cd3('0x388c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3885')+_0x1cd3('0x3883')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Speaker\x0a'+_0x1cd3('0x388d')+_0x1cd3('0x3885')+_0x1cd3('0x388e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3862')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x388f')+_0x1cd3('0x3890')+_0x1cd3('0x3891')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x3675')+_0x1cd3('0x3681')+'\x0a');_0x404b17['put'](_0x1cd3('0x3892'),_0x1cd3('0x3893')+_0x1cd3('0x3894')+_0x1cd3('0x3895')+_0x1cd3('0x3896')+_0x1cd3('0x3897')+_0x1cd3('0x3898')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38a2')+_0x1cd3('0x38a3')+_0x1cd3('0x38a4')+_0x1cd3('0x38a5')+_0x1cd3('0x38a6')+_0x1cd3('0x38a7')+_0x1cd3('0x389c')+'\x0a'+_0x1cd3('0x38a8')+_0x1cd3('0x38a9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-model=\x22vm.pickerModels[filter.key]\x22\x20auto-confirm=\x22true\x22\x20show-template=\x22true\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-on-select=\x22vm.onDateRangeSelection(filter)\x22\x20placeholder=\x22{{\x20\x27DASHBOARDS.ALL\x27\x20|\x20translate\x20}}\x22>\x0a'+_0x1cd3('0x38aa')+_0x1cd3('0x38ab')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22md-icon-button\x20no-margin\x20no-padding\x20width-20\x20height-20\x22>\x0a'+_0x1cd3('0x38ac')+_0x1cd3('0x3671')+_0x1cd3('0x36f6')+_0x1cd3('0x3686')+_0x1cd3('0x1859'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x715'),'\x0a'+_0x1cd3('0x38ad')+_0x1cd3('0x38ae')+_0x1cd3('0x38af')+_0x1cd3('0x38b0')+_0x1cd3('0x38b1')+_0x1cd3('0x36ed')+_0x1cd3('0x38b2')+_0x1cd3('0x38b3')+_0x1cd3('0x38b4')+_0x1cd3('0x36f6')+_0x1cd3('0x38b5')+_0x1cd3('0x38b6')+_0x1cd3('0x38b7')+_0x1cd3('0x38b8')+_0x1cd3('0x38b9')+_0x1cd3('0x38ba')+_0x1cd3('0x38bb')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x38bc')+_0x1cd3('0x38bd')+'\x0a'+_0x1cd3('0x38be')+_0x1cd3('0x38bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27selected\x27:\x20$index\x20==\x20vm.selectedResultIndex}\x22\x20md-ink-ripple>\x0a'+_0x1cd3('0x388f')+_0x1cd3('0x38c0')+_0x1cd3('0x38c1')+_0x1cd3('0x38c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x38c4')+_0x1cd3('0x38c5')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x3686')+_0x1cd3('0x1859'));_0x404b17['put'](_0x1cd3('0x72e'),_0x1cd3('0x38c6')+_0x1cd3('0x38c7')+'\x0a'+_0x1cd3('0x38c8')+_0x1cd3('0x38c9')+_0x1cd3('0x38ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-sortable=\x22MsShortcuts.sortableOptions\x22>\x0a'+_0x1cd3('0x38cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Click\x20to\x20add/remove\x20shortcut\x0a'+_0x1cd3('0x3671')+'\x0a'+_0x1cd3('0x38d3')+_0x1cd3('0x38d4')+_0x1cd3('0x38d5')+_0x1cd3('0x38d6')+_0x1cd3('0x38d7')+_0x1cd3('0x38d8')+_0x1cd3('0x36b7')+_0x1cd3('0x38d9')+_0x1cd3('0x38da')+_0x1cd3('0x38db')+_0x1cd3('0x38dc')+_0x1cd3('0x36b7')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Results!\x0a'+'\x0a'+_0x1cd3('0x38e0')+_0x1cd3('0x38e1')+_0x1cd3('0x38e2')+_0x1cd3('0x38e3')+_0x1cd3('0x38e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-prevent-menu-close=\x22md-prevent-menu-close\x22\x0a'+_0x1cd3('0x38e5')+_0x1cd3('0x38e6')+_0x1cd3('0x38e7')+_0x1cd3('0x38e8')+_0x1cd3('0x38e9')+_0x1cd3('0x38ea')+_0x1cd3('0x386e')+_0x1cd3('0x38eb')+_0x1cd3('0x38ec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x386f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x38ee')+_0x1cd3('0x38ef')+_0x1cd3('0x3686')+'\x0a'+_0x1cd3('0x38f0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22MsShortcuts.toggleMobileBar()\x22>\x0a'+_0x1cd3('0x38f1')+_0x1cd3('0x38f2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38f4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x38f7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20layout=\x22row\x22\x20layout-align=\x22center\x20center\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38f8')+_0x1cd3('0x38f9')+_0x1cd3('0x38fa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38f9')+_0x1cd3('0x3669')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{step.stepTitle}}\x0a'+_0x1cd3('0x38fb')+_0x1cd3('0x3669')+_0x1cd3('0x3671')+_0x1cd3('0x36f6')+_0x1cd3('0x3686')+'\x0a'+_0x1cd3('0x38fc')+'\x0a'+_0x1cd3('0x38fd')+_0x1cd3('0x38fe')+_0x1cd3('0x38ff')+_0x1cd3('0x3900')+_0x1cd3('0x3901')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3902')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x38fe')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22!MsStepper.isLastStep()\x22\x0a'+_0x1cd3('0x3905')+_0x1cd3('0x3906')+_0x1cd3('0x3907')+_0x1cd3('0x36ed')+'\x0a'+_0x1cd3('0x3908')+_0x1cd3('0x3909')+_0x1cd3('0x390a')+_0x1cd3('0x390b')+_0x1cd3('0x390c')+_0x1cd3('0x36ed')+_0x1cd3('0x3686')+'');_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x390d'),_0x1cd3('0x390e')+_0x1cd3('0x390f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22MsStepper.gotoStep(stepInfo.stepNumber)\x22\x0a'+_0x1cd3('0x3910')+_0x1cd3('0x3911')+_0x1cd3('0x3912')+_0x1cd3('0x3913')+'\x0a'+_0x1cd3('0x3914')+_0x1cd3('0x3915')+_0x1cd3('0x3916')+_0x1cd3('0x37e3')+_0x1cd3('0x3917')+_0x1cd3('0x3918')+_0x1cd3('0x37e3')+_0x1cd3('0x3686')+'\x0a'+_0x1cd3('0x3919')+_0x1cd3('0x391a')+_0x1cd3('0x391b')+'\x20\x20\x20\x20\x20\x20\x20\x20Optional\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x37fa')+'\x0a'+_0x1cd3('0x391c')+'\x0a'+_0x1cd3('0x391d')+_0x1cd3('0x391e')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x391f')+_0x1cd3('0x376d')+'\x0a'+_0x1cd3('0x3920')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22!MsStepper.isLastStep()\x22\x0a'+_0x1cd3('0x3921')+_0x1cd3('0x3922')+_0x1cd3('0x3923')+_0x1cd3('0x376d')+'\x0a'+_0x1cd3('0x3924')+_0x1cd3('0x3925')+_0x1cd3('0x3926')+_0x1cd3('0x3927')+_0x1cd3('0x3928')+_0x1cd3('0x376d')+_0x1cd3('0x1859'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x3929'),_0x1cd3('0x392a')+_0x1cd3('0x392b')+_0x1cd3('0x38fc')+'');_0x404b17[_0x1cd3('0x37b')]('app/core/directives/ms-tab-scroll/ms-tab-scroll.html',_0x1cd3('0x392c')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x392d')+_0x1cd3('0x376d')+_0x1cd3('0x392e')+_0x1cd3('0x392f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3686')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x376d')+'');_0x404b17[_0x1cd3('0x37b')]('app/core/directives/ms-timezone/ms-timezone.html','\x0a'+_0x1cd3('0x3930')+_0x1cd3('0x3931')+'\x0a');_0x404b17[_0x1cd3('0x37b')]('app/core/directives/ms-widget-engine/ms-widget-engine-counter/ms-widget-engine.counter.html',_0x1cd3('0x3932')+_0x1cd3('0x3933')+_0x1cd3('0x3934')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20{{\x20\x27TOOLS.\x27\x20+\x20widget.attrs[0].value\x20|\x20uppercase\x20|\x20translate\x20}}*\x0a'+_0x1cd3('0x376e'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x3935'),'\x0a'+'\x0a'+'\x20\x20\x20\x20{{\x20vm.getMultiBarChart(widget)}}\x0a'+'\x0a'+_0x1cd3('0x3936')+_0x1cd3('0x3937')+_0x1cd3('0x376e'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x3938'),_0x1cd3('0x3939')+'\x0a'+_0x1cd3('0x393a')+'\x0a'+_0x1cd3('0x393b')+'\x20\x20\x20\x20\x0a'+'\x0a');_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x393c'),_0x1cd3('0x393d')+_0x1cd3('0x393e')+_0x1cd3('0x393f')+_0x1cd3('0x3940')+'\x20\x20\x20\x20\x20\x20\x20\x20
Message
\x0a'+_0x1cd3('0x3941')+_0x1cd3('0x3942')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3943')+_0x1cd3('0x3944')+_0x1cd3('0x3945')+_0x1cd3('0x3946')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3671')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.countDown}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3947')+_0x1cd3('0x3948')+_0x1cd3('0x3949')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x394a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{column.alias\x20||\x20column.field}}\x0a'+_0x1cd3('0x394b')+_0x1cd3('0x394c')+_0x1cd3('0x394d')+_0x1cd3('0x394e')+_0x1cd3('0x394f')+_0x1cd3('0x394b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3950')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Data\x0a'+_0x1cd3('0x36b7')+_0x1cd3('0x3951')+_0x1cd3('0x394b')+_0x1cd3('0x3952')+_0x1cd3('0x3953')+_0x1cd3('0x3954')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x376e'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x3955'),_0x1cd3('0x3956')+'\x20\x20\x20\x20
    \x0a'+_0x1cd3('0x3957')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3958')+_0x1cd3('0x3959')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x395a')+_0x1cd3('0x395b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x395c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x395d')+_0x1cd3('0x395e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x395f')+_0x1cd3('0x3849')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3960')+_0x1cd3('0x3961')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3960')+_0x1cd3('0x3962')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3699')+_0x1cd3('0x369a')+'\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3963')+_0x1cd3('0x3964')+_0x1cd3('0x3965')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3966')+_0x1cd3('0x3967')+_0x1cd3('0x36b7')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3968')+_0x1cd3('0x3969')+_0x1cd3('0x396a')+'\x0a');_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x12'),'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x1859'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0xd08'),'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3970')+_0x1cd3('0x396b')+'\x0a'+_0x1cd3('0x1859'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0xd03'),'\x0a'+'\x0a'+_0x1cd3('0x3971')+'\x0a'+_0x1cd3('0x3972')+_0x1cd3('0x3973')+_0x1cd3('0x3974')+'\x0a'+_0x1cd3('0x3975')+_0x1cd3('0x3976')+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x3977')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ui-view=\x22quickPanel\x22>\x0a'+_0x1cd3('0x3686')+'\x0a'+'\x0a'+'');_0x404b17['put'](_0x1cd3('0xd01'),_0x1cd3('0x3978')+'\x0a'+_0x1cd3('0x3971')+'\x0a'+_0x1cd3('0x3972')+_0x1cd3('0x3973')+_0x1cd3('0x3974')+'\x0a'+_0x1cd3('0x3975')+_0x1cd3('0x3976')+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x3977')+_0x1cd3('0x3979')+_0x1cd3('0x3686')+'\x0a'+'\x0a'+_0x1cd3('0x1859'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x397a'),_0x1cd3('0x397b')+'\x0a'+_0x1cd3('0x397c')+'\x0a'+_0x1cd3('0x397d')+'\x0a'+_0x1cd3('0x397e')+_0x1cd3('0x396e')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3686')+'\x0a'+_0x1cd3('0x397f')+'\x0a'+_0x1cd3('0x376e')+'\x0a'+_0x1cd3('0x3980'));_0x404b17['put']('app/core/theme-options/theme-options.html',_0x1cd3('0x3981')+_0x1cd3('0x3982')+_0x1cd3('0x376e')+'\x0a'+'\x0a'+'\x0a'+_0x1cd3('0x3983')+_0x1cd3('0x3984')+_0x1cd3('0x3985')+_0x1cd3('0x3986')+_0x1cd3('0x3987')+_0x1cd3('0x3988')+_0x1cd3('0x3989')+_0x1cd3('0x398a')+_0x1cd3('0x398b')+_0x1cd3('0x3756')+_0x1cd3('0x398c')+_0x1cd3('0x382e')+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x398d')+'\x0a'+_0x1cd3('0x398e')+_0x1cd3('0x398f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3993')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3994')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20layout=\x22row\x22\x20layout-align=\x22center\x20center\x22\x0a'+_0x1cd3('0x3995')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-style=\x22{\x27background-color\x27:\x20theme.primary.color,\x27border-color\x27:\x20theme.accent.color,\x27color\x27:\x20theme.primary.contrast1}\x22\x0a'+_0x1cd3('0x3996')+_0x1cd3('0x3997')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x3686')+_0x1cd3('0x3998'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x14'),_0x1cd3('0x3999')+_0x1cd3('0x399a')+_0x1cd3('0x399b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20Sorry\x20but\x20we\x20couldn’t\x20find\x20the\x20page\x20you\x20are\x20looking\x20for\x0a'+_0x1cd3('0x399c')+'\x0a'+_0x1cd3('0x399d')+_0x1cd3('0x399e')+_0x1cd3('0x399f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20-->\x0a'+'\x0a'+_0x1cd3('0x39a0')+_0x1cd3('0x3686')+_0x1cd3('0x376e'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x1b'),'\x0a'+_0x1cd3('0x39a1')+_0x1cd3('0x39a2')+'\x20\x20\x20\x20\x20\x20\x20\x20Well,\x20you\x20broke\x20the\x20internet!\x0a'+_0x1cd3('0x39a3')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20Go\x20back\x20to\x20dashboard\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20Report\x20this\x20problem\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x39a4')+_0x1cd3('0x39a5')+_0x1cd3('0x39a6')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.code}}\x0a'+_0x1cd3('0x39a7')+_0x1cd3('0x39a8')+_0x1cd3('0x39a9')+_0x1cd3('0x3686')+'\x0a');_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0xd00'),_0x1cd3('0x37d1')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x37e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x0a'+'\x0a');_0x404b17['put'](_0x1cd3('0x39aa'),'\x0a'+_0x1cd3('0x39ab')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Recover\x20your\x20password\x0a'+'\x0a'+_0x1cd3('0x39ac')+_0x1cd3('0x39ad')+_0x1cd3('0x39ae')+_0x1cd3('0x39af')+_0x1cd3('0x39b0')+_0x1cd3('0x39b1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39b2')+_0x1cd3('0x36b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39b3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x36c2')+'\x0a'+_0x1cd3('0x39b4')+_0x1cd3('0x39b5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22FORGOTPASSWORD.SEND_RESET_LINK\x22\x0a'+_0x1cd3('0x39b6')+_0x1cd3('0x39b7')+_0x1cd3('0x3859')+_0x1cd3('0x39b8')+'\x0a'+_0x1cd3('0x39b9')+_0x1cd3('0x39ba')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x3686')+_0x1cd3('0x376e'));_0x404b17['put']('app/header/layouts/vertical-navigation/header.html','\x0a'+_0x1cd3('0x39ff')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x37e6')+_0x1cd3('0x3a00')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38f9')+_0x1cd3('0x3a01')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a02')+_0x1cd3('0x3a03')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a04')+_0x1cd3('0x3a05')+_0x1cd3('0x3a06')+_0x1cd3('0x36c2')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3686')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a07')+_0x1cd3('0x3a08')+_0x1cd3('0x3a09')+'\x0a'+_0x1cd3('0x3a0a')+_0x1cd3('0x3a0b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Back\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a0c')+'\x0a'+_0x1cd3('0x3a0d')+_0x1cd3('0x3a0e')+_0x1cd3('0x3a0f')+_0x1cd3('0x3a10')+_0x1cd3('0x38f9')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a11')+_0x1cd3('0x3a12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22multi\x20select\x20toggle\x22\x0a'+_0x1cd3('0x3a13')+_0x1cd3('0x3a14')+_0x1cd3('0x367d')+_0x1cd3('0x3a15')+_0x1cd3('0x3a16')+_0x1cd3('0x3a17')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Select\x20all\x0a'+_0x1cd3('0x3849')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a16')+_0x1cd3('0x3a18')+_0x1cd3('0x3a19')+_0x1cd3('0x3849')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x0a'+_0x1cd3('0x3a1b')+_0x1cd3('0x3a1c')+_0x1cd3('0x3a1d')+_0x1cd3('0x3a1e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3841')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a21')+'\x0a'+_0x1cd3('0x3a22')+_0x1cd3('0x3a23')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a24')+'\x0a'+_0x1cd3('0x3a25')+_0x1cd3('0x3a26')+_0x1cd3('0x3a27')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a28')+_0x1cd3('0x3a29')+_0x1cd3('0x3a2a')+_0x1cd3('0x3a2b')+_0x1cd3('0x3a2c')+_0x1cd3('0x3a2d')+_0x1cd3('0x3a2e')+_0x1cd3('0x3a2f')+_0x1cd3('0x3a30')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27ANALYTICS.DATE_RANGE_TO\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27ANALYTICS.GENERATED_AT\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x3a31')+_0x1cd3('0x3a32')+_0x1cd3('0x3a33')+_0x1cd3('0x3a34')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a35')+_0x1cd3('0x3a36')+_0x1cd3('0x3a37')+_0x1cd3('0x3a38')+_0x1cd3('0x3a39')+_0x1cd3('0x3a3a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a34')+_0x1cd3('0x3a3b')+_0x1cd3('0x3a3c')+_0x1cd3('0x3a3d')+_0x1cd3('0x3a3e')+_0x1cd3('0x3a3f')+_0x1cd3('0x3a40')+_0x1cd3('0x3a41')+_0x1cd3('0x3a40')+_0x1cd3('0x3a42')+_0x1cd3('0x3a40')+_0x1cd3('0x3a43')+_0x1cd3('0x3a44')+_0x1cd3('0x3a45')+_0x1cd3('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22endDate\x20\x22>{{extractedReport.endDate\x20|\x20date:\x27medium\x27\x20}}\x0a'+_0x1cd3('0x3a46')+_0x1cd3('0x3a47')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{extractedReport.output}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a49')+'\x0a'+_0x1cd3('0x3a4a')+_0x1cd3('0x3a4b')+_0x1cd3('0x3a4c')+_0x1cd3('0x395d')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3a4f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3699')+'\x0a'+_0x1cd3('0x369a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x0a'+_0x1cd3('0x3a34')+_0x1cd3('0x3a5d')+_0x1cd3('0x3a5e')+_0x1cd3('0x3a5f')+'\x0a'+_0x1cd3('0x3a60')+_0x1cd3('0x3a61')+_0x1cd3('0x3a62')+_0x1cd3('0x3a63')+'\x0a'+_0x1cd3('0x3a64')+_0x1cd3('0x36f6')+_0x1cd3('0x3a65')+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a66')+'\x0a'+_0x1cd3('0x3a67')+'\x20\x20\x20\x20\x0a');_0x404b17[_0x1cd3('0x37b')]('app/main/apps/analytics/views/metrics/create/dialog.html',_0x1cd3('0x3a68')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39eb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6a')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6c')+_0x1cd3('0x3a6d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x3a6f')+_0x1cd3('0x3a70')+_0x1cd3('0x3a4d')+_0x1cd3('0x3a71')+_0x1cd3('0x3a72')+_0x1cd3('0x3a4d')+_0x1cd3('0x3a73')+_0x1cd3('0x3a74')+_0x1cd3('0x3a4d')+_0x1cd3('0x3a75')+_0x1cd3('0x3a76')+_0x1cd3('0x3a4d')+_0x1cd3('0x3a77')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Chat\x20Interaction\x0a'+_0x1cd3('0x3a78')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a79')+_0x1cd3('0x3a7a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Chat\x20Offline\x20Messages\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Contacts\x0a'+_0x1cd3('0x3a83')+_0x1cd3('0x3a4d')+_0x1cd3('0x3a84')+_0x1cd3('0x3a85')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>CSquare\x20Details\x20Report\x0a'+_0x1cd3('0x3a86')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a87')+_0x1cd3('0x3a88')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Dialer\x20Hopper\x20Processing\x0a'+_0x1cd3('0x3a89')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a8a')+_0x1cd3('0x3a8b')+_0x1cd3('0x3a4d')+_0x1cd3('0x3a8c')+_0x1cd3('0x3a8d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a8e')+_0x1cd3('0x3a8f')+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Email\x20Interaction\x0a'+_0x1cd3('0x3a90')+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Email\x20Messages\x0a'+_0x1cd3('0x3a91')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a92')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Openchannel\x20Messages\x0a'+_0x1cd3('0x3aad')+_0x1cd3('0x3a4d')+_0x1cd3('0x3aae')+_0x1cd3('0x3aaf')+_0x1cd3('0x3a4d')+_0x1cd3('0x3ab0')+_0x1cd3('0x3ab1')+_0x1cd3('0x3a4d')+_0x1cd3('0x3ab2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Queue\x20Report\x0a'+_0x1cd3('0x3ab3')+_0x1cd3('0x3a4d')+_0x1cd3('0x3ab4')+_0x1cd3('0x3ab5')+_0x1cd3('0x3a4d')+_0x1cd3('0x3ab6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Whatsapp\x20Messages\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ace')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x3ad0')+_0x1cd3('0x3ad1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x3ad2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ad3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x0a'+_0x1cd3('0x3ad4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ad5')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ee')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
    \x0a'+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x39ef')+_0x1cd3('0x388f')+_0x1cd3('0x3ad6')+_0x1cd3('0x3ad7')+_0x1cd3('0x3ad8')+_0x1cd3('0x39f2')+_0x1cd3('0x39f3')+_0x1cd3('0x39f4')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ada')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x39fa')+_0x1cd3('0x3adb')+_0x1cd3('0x39fc')+_0x1cd3('0x3a20')+_0x1cd3('0x39fd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17['put'](_0x1cd3('0x55'),'\x0a'+'\x0a'+_0x1cd3('0x3adc')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3add')+_0x1cd3('0x37e6')+_0x1cd3('0x3a00')+_0x1cd3('0x3ade')+_0x1cd3('0x3adf')+_0x1cd3('0x38f9')+_0x1cd3('0x3ae0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
    \x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x3ae1')+'\x0a'+_0x1cd3('0x3ae2')+_0x1cd3('0x3ae3')+_0x1cd3('0x3a02')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae4')+_0x1cd3('0x3a04')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae5')+_0x1cd3('0x3756')+_0x1cd3('0x3686')+_0x1cd3('0x3ae6')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a'+_0x1cd3('0x3a09')+'\x0a'+_0x1cd3('0x3ae7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae8')+_0x1cd3('0x3ae9')+_0x1cd3('0x3671')+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x3a0c')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
    \x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3aea')+_0x1cd3('0x3a10')+_0x1cd3('0x38f9')+'\x0a'+_0x1cd3('0x3aeb')+_0x1cd3('0x3a11')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22$mdOpenMenu($event)\x22\x0a'+_0x1cd3('0x3aec')+_0x1cd3('0x3a13')+_0x1cd3('0x3a14')+_0x1cd3('0x367d')+_0x1cd3('0x3a15')+_0x1cd3('0x3a16')+_0x1cd3('0x3aed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Select\x20all\x0a'+_0x1cd3('0x3849')+_0x1cd3('0x3aee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Select\x20none\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3aee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3aef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
    \x0a'+'\x0a'+_0x1cd3('0x3a1b')+_0x1cd3('0x3af0')+_0x1cd3('0x3a1d')+_0x1cd3('0x3a1e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x3841')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a21')+'\x0a'+_0x1cd3('0x3a22')+_0x1cd3('0x3a23')+'\x0a'+_0x1cd3('0x3af1')+_0x1cd3('0x3a24')+'\x0a'+_0x1cd3('0x3a25')+_0x1cd3('0x3af2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3af3')+_0x1cd3('0x3af4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a2a')+_0x1cd3('0x3a2b')+_0x1cd3('0x3a2c')+_0x1cd3('0x3af5')+_0x1cd3('0x3af6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27ANALYTICS.DESCRIPTION\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x3a33')+_0x1cd3('0x3a34')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3af7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a39')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3af8')+_0x1cd3('0x3a34')+_0x1cd3('0x3af9')+_0x1cd3('0x3afa')+_0x1cd3('0x3afb')+_0x1cd3('0x3afc')+_0x1cd3('0x3afd')+_0x1cd3('0x3afe')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22name\x20\x22\x20>{{metric.name}}\x0a'+_0x1cd3('0x3aff')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22table\x20\x22>{{\x20vm.arraytable[metric.table].option\x20}}\x0a'+_0x1cd3('0x3b00')+_0x1cd3('0x3b01')+_0x1cd3('0x3b02')+'\x0a'+_0x1cd3('0x3b03')+'\x0a'+_0x1cd3('0x3a49')+'\x0a'+_0x1cd3('0x3a4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22ANALYTICS.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a'+_0x1cd3('0x3a4c')+_0x1cd3('0x395d')+'\x0a'+_0x1cd3('0x3b04')+'\x0a'+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a4f')+'\x0a'+_0x1cd3('0x3b05')+_0x1cd3('0x3b06')+_0x1cd3('0x3b07')+_0x1cd3('0x3a52')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a5a')+'\x0a'+_0x1cd3('0x3b08')+_0x1cd3('0x3b09')+_0x1cd3('0x3b0a')+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3699')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a5e')+_0x1cd3('0x3a5f')+'\x0a'+_0x1cd3('0x3b0b')+_0x1cd3('0x3a61')+_0x1cd3('0x3b0c')+_0x1cd3('0x3a63')+'\x0a'+_0x1cd3('0x3a64')+_0x1cd3('0x36f6')+_0x1cd3('0x3a65')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a66')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b0d')+_0x1cd3('0x3b0e')+_0x1cd3('0x3b0f')+_0x1cd3('0x376d')+_0x1cd3('0x3b10')+'\x20\x20\x20\x20\x0a');_0x404b17[_0x1cd3('0x37b')]('app/main/apps/analytics/views/reports/copy/dialog.html',_0x1cd3('0x3b11')+_0x1cd3('0x3b12')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x3b13')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3858')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x3b14')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b15')+_0x1cd3('0x3b16')+_0x1cd3('0x3b17')+_0x1cd3('0x3756')+_0x1cd3('0x3b18')+_0x1cd3('0x3b19')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39eb')+_0x1cd3('0x3b1a')+_0x1cd3('0x3b1b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6a')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x3b1c')+_0x1cd3('0x3b1d')+_0x1cd3('0x3b1e')+_0x1cd3('0x366a')+_0x1cd3('0x3b14')+_0x1cd3('0x3b1f')+_0x1cd3('0x3b15')+_0x1cd3('0x3b16')+_0x1cd3('0x3b17')+_0x1cd3('0x3756')+_0x1cd3('0x3b18')+_0x1cd3('0x3b19')+_0x1cd3('0x367d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x3b20')+_0x1cd3('0x388f')+_0x1cd3('0x3b21')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20COPY\x20REPORT\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x3675')+_0x1cd3('0x3681')+_0x1cd3('0x3676'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x3b22'),'\x0a'+_0x1cd3('0x3b12')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b14')+_0x1cd3('0x3b1f')+_0x1cd3('0x3b15')+_0x1cd3('0x3b16')+_0x1cd3('0x3b17')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x367d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39eb')+_0x1cd3('0x3b23')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x3a6a')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3b25')+_0x1cd3('0x3a6c')+_0x1cd3('0x3b26')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{table.name}}\x0a'+_0x1cd3('0x36a9')+_0x1cd3('0x3b27')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Table\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3b28')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x0a'+_0x1cd3('0x3b29')+_0x1cd3('0x3b2a')+_0x1cd3('0x3b24')+_0x1cd3('0x3ad5')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+'\x0a'+_0x1cd3('0x3b2b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-selected-item=\x22vm.selectedItem\x22\x0a'+_0x1cd3('0x3b2c')+_0x1cd3('0x3b2d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-item-text=\x22table.name\x22\x0a'+_0x1cd3('0x3b2e')+_0x1cd3('0x3b2f')+_0x1cd3('0x3b30')+_0x1cd3('0x3b31')+_0x1cd3('0x3b32')+_0x1cd3('0x3b33')+_0x1cd3('0x3b34')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20states\x20matching\x20\x22{{vm.searchText}}\x22\x20were\x20found.\x0a'+_0x1cd3('0x3b35')+_0x1cd3('0x3b36')+'\x0a'+_0x1cd3('0x3b37')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b38')+_0x1cd3('0x3b39')+_0x1cd3('0x3b3a')+_0x1cd3('0x36b7')+_0x1cd3('0x3b3b')+_0x1cd3('0x3b3c')+_0x1cd3('0x3b3d')+_0x1cd3('0x3849')+_0x1cd3('0x36b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b3e')+_0x1cd3('0x3b3f')+_0x1cd3('0x3b40')+_0x1cd3('0x3b41')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b42')+_0x1cd3('0x3b43')+_0x1cd3('0x3b44')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b45')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b46')+_0x1cd3('0x3968')+'\x0a'+_0x1cd3('0x3b14')+_0x1cd3('0x3b1f')+_0x1cd3('0x3b15')+_0x1cd3('0x3b16')+_0x1cd3('0x3b17')+_0x1cd3('0x3756')+_0x1cd3('0x3b18')+_0x1cd3('0x3b19')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+_0x1cd3('0x366f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b47')+_0x1cd3('0x3b48')+_0x1cd3('0x3891')+_0x1cd3('0x3859')+'\x0a'+_0x1cd3('0x3b49')+_0x1cd3('0x3b4a')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x3b4b')+_0x1cd3('0x3b4c')+_0x1cd3('0x3a20')+_0x1cd3('0x39fd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x3675')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x3b4d'),_0x1cd3('0x3b4e')+_0x1cd3('0x3b4f')+_0x1cd3('0x3b50')+_0x1cd3('0x3b51')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AND\x0a'+_0x1cd3('0x3b52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b53')+_0x1cd3('0x3b54')+_0x1cd3('0x3b55')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x374b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b56')+_0x1cd3('0x3b57')+_0x1cd3('0x374b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b58')+_0x1cd3('0x3b59')+_0x1cd3('0x374b')+_0x1cd3('0x3b5a')+_0x1cd3('0x3b5b')+_0x1cd3('0x3b5c')+_0x1cd3('0x3b5d')+_0x1cd3('0x374b')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b5e')+_0x1cd3('0x3b5f')+_0x1cd3('0x3b60')+_0x1cd3('0x3b61')+_0x1cd3('0x3b62')+_0x1cd3('0x3b63')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{column}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b64')+_0x1cd3('0x3b65')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b66')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b60')+_0x1cd3('0x3b67')+_0x1cd3('0x3b68')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{condition}}\x0a'+_0x1cd3('0x36a9')+_0x1cd3('0x3b69')+_0x1cd3('0x3b24')+_0x1cd3('0x3b6a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3b6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20VALUE\x0a'+_0x1cd3('0x3b6c')+_0x1cd3('0x3b6d')+_0x1cd3('0x3b24')+_0x1cd3('0x3b6e')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3b6f')+_0x1cd3('0x3b70')+_0x1cd3('0x3a20')+_0x1cd3('0x3859')+_0x1cd3('0x36aa')+_0x1cd3('0x36f6')+_0x1cd3('0x3b71')+_0x1cd3('0x3686')+_0x1cd3('0x3b72'));_0x404b17[_0x1cd3('0x37b')]('app/main/apps/analytics/views/reports/edit/field/dialog.html',_0x1cd3('0x3b73')+_0x1cd3('0x3b74')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.title}}\x0a'+_0x1cd3('0x3857')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x3b75')+_0x1cd3('0x39d7')+_0x1cd3('0x3b14')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b15')+_0x1cd3('0x3b16')+_0x1cd3('0x3b17')+_0x1cd3('0x3756')+_0x1cd3('0x3b18')+_0x1cd3('0x3b19')+_0x1cd3('0x367d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x3b28')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Select\x20a\x20column\x0a'+_0x1cd3('0x3b76')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Write\x20a\x20custom\x20metric\x0a'+_0x1cd3('0x36a9')+_0x1cd3('0x3b77')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b78')+_0x1cd3('0x3b79')+_0x1cd3('0x3b7a')+_0x1cd3('0x3b7b')+_0x1cd3('0x3b7c')+_0x1cd3('0x3b7d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b7e')+_0x1cd3('0x3b7d')+_0x1cd3('0x3b44')+_0x1cd3('0x3b7f')+_0x1cd3('0x39c6')+_0x1cd3('0x3b80')+_0x1cd3('0x36b7')+_0x1cd3('0x3756')+_0x1cd3('0x36c2')+_0x1cd3('0x3b81')+_0x1cd3('0x3b82')+_0x1cd3('0x3b83')+_0x1cd3('0x3b84')+_0x1cd3('0x3b44')+_0x1cd3('0x3b85')+_0x1cd3('0x39c6')+_0x1cd3('0x3b86')+_0x1cd3('0x36b7')+_0x1cd3('0x3756')+_0x1cd3('0x36c2')+_0x1cd3('0x3b87')+_0x1cd3('0x3b88')+_0x1cd3('0x3b89')+_0x1cd3('0x3b8a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b8b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x3b28')+_0x1cd3('0x3b8c')+_0x1cd3('0x3b8d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x3b8e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b8f')+_0x1cd3('0x3b90')+_0x1cd3('0x3b91')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{function.value}}\x0a'+_0x1cd3('0x36a9')+_0x1cd3('0x36aa')+_0x1cd3('0x3b92')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Format\x0a'+_0x1cd3('0x3b93')+_0x1cd3('0x3b94')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{format.value}}\x0a'+_0x1cd3('0x36a9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b28')+_0x1cd3('0x3b95')+_0x1cd3('0x3b96')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{gb.value\x20?\x20\x27Yes\x27\x20:\x20\x27No\x27}}\x0a'+_0x1cd3('0x36a9')+_0x1cd3('0x36aa')+_0x1cd3('0x3b28')+_0x1cd3('0x3b97')+_0x1cd3('0x3b98')+_0x1cd3('0x3b99')+_0x1cd3('0x3b9a')+_0x1cd3('0x36a9')+_0x1cd3('0x36aa')+_0x1cd3('0x3b14')+_0x1cd3('0x3b1f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
    \x0a'+_0x1cd3('0x3b16')+_0x1cd3('0x3b17')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
    \x0a'+_0x1cd3('0x3b18')+_0x1cd3('0x3b19')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x3b20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b9b')+_0x1cd3('0x3891')+_0x1cd3('0x3859')+'\x0a'+_0x1cd3('0x3b9c')+_0x1cd3('0x3b9d')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b9e')+_0x1cd3('0x3a20')+_0x1cd3('0x39fd')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3675')+_0x1cd3('0x3681')+'\x0a');_0x404b17['put']('app/main/apps/analytics/views/reports/edit/view.html','\x0a'+'\x0a'+_0x1cd3('0x3adc')+_0x1cd3('0x3b9f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ba0')+_0x1cd3('0x3ba1')+_0x1cd3('0x3671')+'\x0a'+_0x1cd3('0x388f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x3ba2')+_0x1cd3('0x3ba3')+_0x1cd3('0x3ba4')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ba5')+_0x1cd3('0x3756')+_0x1cd3('0x3ba6')+_0x1cd3('0x3ba7')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x3723')+_0x1cd3('0x3ba8')+_0x1cd3('0x3ba9')+_0x1cd3('0x3671')+_0x1cd3('0x36f6')+_0x1cd3('0x3686')+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3baa')+_0x1cd3('0x3bab')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SETTINGS\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3bac')+_0x1cd3('0x3bad')+_0x1cd3('0x3bae')+_0x1cd3('0x36b7')+_0x1cd3('0x3baf')+_0x1cd3('0x3bb0')+_0x1cd3('0x3bb1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3bb2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x386f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3bb0')+_0x1cd3('0x3bb3')+_0x1cd3('0x3bb4')+_0x1cd3('0x3bb5')+_0x1cd3('0x386c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x20field\x20is\x20required\x0a'+_0x1cd3('0x386e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3870')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3bb6')+_0x1cd3('0x3bb7')+_0x1cd3('0x3bab')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3bb8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3bb9')+_0x1cd3('0x3bba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3bbb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3bbc')+_0x1cd3('0x3bbd')+_0x1cd3('0x3bbe')+_0x1cd3('0x3bbf')+_0x1cd3('0x3bc0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3bc1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3bc2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Join\x20{{\x20vm.mapArray(vm.report.joins,\x20\x27foreignTable\x27)\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3bc3')+_0x1cd3('0x386e')+_0x1cd3('0x3bc4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3bc5')+_0x1cd3('0x3bc6')+_0x1cd3('0x3695')+_0x1cd3('0x386f')+_0x1cd3('0x3bc7')+_0x1cd3('0x3bc8')+_0x1cd3('0x3bc9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm_rf.selectedReportFields.length}}\x20{{vm_rf.selectedReportFields.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3bca')+_0x1cd3('0x3bcb')+_0x1cd3('0x3695')+_0x1cd3('0x386f')+_0x1cd3('0x3bc7')+_0x1cd3('0x3bcc')+_0x1cd3('0x3bcd')+_0x1cd3('0x3bce')+_0x1cd3('0x3bcf')+_0x1cd3('0x3bd0')+_0x1cd3('0x3bd1')+_0x1cd3('0x3bd2')+_0x1cd3('0x3bd3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Column\x20or\x20Metric\x0a'+_0x1cd3('0x3bd4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Function\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Format\x0a'+_0x1cd3('0x3bd5')+_0x1cd3('0x3bd6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3bd7')+_0x1cd3('0x3bd8')+_0x1cd3('0x3bd9')+_0x1cd3('0x3bda')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3bdb')+_0x1cd3('0x3bdc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3bdd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3bde')+_0x1cd3('0x3bdc')+_0x1cd3('0x3bdf')+_0x1cd3('0x3be0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{reportField.function}}--\x0a'+_0x1cd3('0x3be1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YES--\x0a'+_0x1cd3('0x3be2')+_0x1cd3('0x3be3')+_0x1cd3('0x3be4')+_0x1cd3('0x3be5')+_0x1cd3('0x3be6')+_0x1cd3('0x3be7')+'\x0a'+_0x1cd3('0x3be8')+_0x1cd3('0x3be9')+_0x1cd3('0x3bea')+_0x1cd3('0x3beb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3bec')+_0x1cd3('0x3bed')+_0x1cd3('0x3bee')+_0x1cd3('0x3bef')+_0x1cd3('0x3bf0')+_0x1cd3('0x3bdc')+_0x1cd3('0x3bd7')+_0x1cd3('0x3bf1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
    \x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3bb6')+_0x1cd3('0x3bb7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3bf2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CONDITIONS\x0a'+_0x1cd3('0x3bf3')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3bf4')+_0x1cd3('0x3bf5')+_0x1cd3('0x3bf6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CONDITION\x0a'+_0x1cd3('0x3841')+_0x1cd3('0x3bf7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3bf8')+_0x1cd3('0x36b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3bb6')+_0x1cd3('0x3bb7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PREVIEW\x0a'+_0x1cd3('0x3bf3')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3bf9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3bfa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20LIMITED\x20RESULT\x0a'+_0x1cd3('0x36b7')+_0x1cd3('0x3bfb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Query\x20Error\x0a'+_0x1cd3('0x3bfc')+_0x1cd3('0x3bfd')+_0x1cd3('0x3bfe')+_0x1cd3('0x3bff')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3c00')+_0x1cd3('0x3c01')+_0x1cd3('0x3c02')+_0x1cd3('0x3c03')+_0x1cd3('0x3c04')+_0x1cd3('0x3c05')+_0x1cd3('0x3c06')+_0x1cd3('0x3c07')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.valueReplacer(key,\x20value)\x20}}\x0a'+_0x1cd3('0x3c04')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NO\x20DATA\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3c08')+_0x1cd3('0x3c09')+_0x1cd3('0x3c0a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3bb6')+_0x1cd3('0x3bb7')+_0x1cd3('0x3c0b')+_0x1cd3('0x3bf2')+_0x1cd3('0x3c0c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3bb9')+_0x1cd3('0x3bf9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3bfa')+_0x1cd3('0x3c0d')+_0x1cd3('0x36b7')+_0x1cd3('0x3bfb')+_0x1cd3('0x3c0e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
    {{vm.error.sql}}
    \x0a'+_0x1cd3('0x3bfd')+_0x1cd3('0x3bfe')+_0x1cd3('0x3bff')+_0x1cd3('0x3c0f')+_0x1cd3('0x3c10')+_0x1cd3('0x36b7')+_0x1cd3('0x3756')+_0x1cd3('0x3bb6')+_0x1cd3('0x3bb7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3686')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x376e'));_0x404b17[_0x1cd3('0x37b')]('app/main/apps/analytics/views/reports/preview/dialog.html','\x0a'+_0x1cd3('0x3b12')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x3c11')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x3b14')+_0x1cd3('0x3b1f')+_0x1cd3('0x3b15')+_0x1cd3('0x3b16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x367d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x3b1c')+_0x1cd3('0x3c12')+_0x1cd3('0x3c13')+_0x1cd3('0x3c14')+_0x1cd3('0x3669')+_0x1cd3('0x3c15')+_0x1cd3('0x3c16')+_0x1cd3('0x3c17')+_0x1cd3('0x3c18')+_0x1cd3('0x3c19')+_0x1cd3('0x3c1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3c1b')+_0x1cd3('0x3c1c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3c1d')+_0x1cd3('0x3c1e')+_0x1cd3('0x3c1f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3c20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.valueReplacer(key,\x20value)\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3c21')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NO\x20DATA\x0a'+_0x1cd3('0x3c1e')+_0x1cd3('0x3c22')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b15')+_0x1cd3('0x3b16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b19')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x3b20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3c23')+_0x1cd3('0x3c24')+_0x1cd3('0x3671')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x6e'),'\x0a'+'\x0a'+_0x1cd3('0x3adc')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3add')+_0x1cd3('0x37e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ade')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3c25')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae6')+'\x0a'+_0x1cd3('0x3a07')+_0x1cd3('0x3c26')+_0x1cd3('0x3c27')+'\x0a'+_0x1cd3('0x3c28')+_0x1cd3('0x3a0b')+_0x1cd3('0x3ae8')+_0x1cd3('0x3ae9')+_0x1cd3('0x3671')+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x3a0c')+'\x0a'+_0x1cd3('0x3a0d')+_0x1cd3('0x3c29')+_0x1cd3('0x3c2a')+_0x1cd3('0x3a10')+_0x1cd3('0x38f9')+'\x0a'+_0x1cd3('0x3aeb')+_0x1cd3('0x3c2b')+_0x1cd3('0x3c2c')+_0x1cd3('0x3a14')+_0x1cd3('0x367d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3c2d')+_0x1cd3('0x3c2e')+_0x1cd3('0x3849')+_0x1cd3('0x3aee')+_0x1cd3('0x3a16')+_0x1cd3('0x3c2f')+_0x1cd3('0x3a19')+_0x1cd3('0x3849')+_0x1cd3('0x3aee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
    \x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x0a'+_0x1cd3('0x3a1b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a21')+'\x0a'+_0x1cd3('0x3a22')+_0x1cd3('0x3a23')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3c34')+_0x1cd3('0x3c35')+_0x1cd3('0x3c36')+_0x1cd3('0x3c37')+_0x1cd3('0x3c38')+_0x1cd3('0x3c39')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3c3a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x3c3d')+_0x1cd3('0x3968')+_0x1cd3('0x3c3e')+_0x1cd3('0x3c3f')+_0x1cd3('0x3c40')+_0x1cd3('0x3968')+_0x1cd3('0x3c3e')+_0x1cd3('0x3c41')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20tree=\x22vm.treeCustomInstance\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3c42')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.currentNode.text}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3c43')+_0x1cd3('0x37c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3c44')+_0x1cd3('0x3c45')+_0x1cd3('0x3c46')+_0x1cd3('0x3c47')+_0x1cd3('0x3c48')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20flow-btn>\x0a'+_0x1cd3('0x3c49')+_0x1cd3('0x395d')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3c4c')+_0x1cd3('0x3c4d')+_0x1cd3('0x3c4e')+_0x1cd3('0x3c4f')+_0x1cd3('0x3c50')+_0x1cd3('0x3c51')+_0x1cd3('0x3c52')+_0x1cd3('0x3c53')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3c54')+_0x1cd3('0x3c55')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3c56')+_0x1cd3('0x3c57')+_0x1cd3('0x3c58')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3af8')+_0x1cd3('0x3c59')+_0x1cd3('0x3c5a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{report.createdAt\x20|\x20date:\x27medium\x27}}\x0a'+_0x1cd3('0x3c5f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3c60')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22ANALYTICS.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a'+_0x1cd3('0x3c61')+_0x1cd3('0x3695')+'\x0a'+_0x1cd3('0x3c62')+_0x1cd3('0x3c63')+_0x1cd3('0x3c64')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22ANALYTICS.COPY_REPORT\x22>\x0a'+_0x1cd3('0x3c65')+_0x1cd3('0x3c66')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3c67')+_0x1cd3('0x3c68')+_0x1cd3('0x3c69')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3c6a')+_0x1cd3('0x3c6b')+_0x1cd3('0x3c6c')+_0x1cd3('0x3c6d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Run\x20Report\x0a'+_0x1cd3('0x3c66')+_0x1cd3('0x3c6a')+_0x1cd3('0x3c6b')+_0x1cd3('0x3c6e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22ANALYTICS.DOWNLOAD_JSON_REPORT\x22>\x0a'+_0x1cd3('0x3c6f')+_0x1cd3('0x3c66')+_0x1cd3('0x3c6a')+_0x1cd3('0x3c70')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22vm.crudPermissions.canEdit\x20&&\x20vm.crudPermissions.canDelete\x20&&\x20vm.currentNode.custom\x22>\x0a'+_0x1cd3('0x3c71')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3c72')+_0x1cd3('0x3c73')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Report\x0a'+_0x1cd3('0x3c66')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3c74')+_0x1cd3('0x3c75')+_0x1cd3('0x3c76')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3c77')+_0x1cd3('0x3af8')+_0x1cd3('0x3c59')+_0x1cd3('0x3c78')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3c79')+'\x0a'+_0x1cd3('0x3c7a')+_0x1cd3('0x3c7b')+_0x1cd3('0x3c7c')+_0x1cd3('0x3c7d')+_0x1cd3('0x3c7e')+_0x1cd3('0x3a65')+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a66')+'\x0a'+_0x1cd3('0x3c7f')+_0x1cd3('0x1859'));_0x404b17['put'](_0x1cd3('0xe83'),_0x1cd3('0x3b11')+_0x1cd3('0x3b12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3667')+_0x1cd3('0x3c80')+_0x1cd3('0x3857')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x3b14')+_0x1cd3('0x3b1f')+_0x1cd3('0x3b15')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x3b17')+_0x1cd3('0x3756')+_0x1cd3('0x3b18')+_0x1cd3('0x3b19')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b28')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x0a'+_0x1cd3('0x3c81')+_0x1cd3('0x3b1b')+_0x1cd3('0x3b24')+_0x1cd3('0x3a6a')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3c82')+_0x1cd3('0x3c83')+_0x1cd3('0x3c84')+_0x1cd3('0x3c85')+_0x1cd3('0x3c86')+_0x1cd3('0x3c87')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3c88')+_0x1cd3('0x3b24')+_0x1cd3('0x3c89')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3b4b')+_0x1cd3('0x3c8a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Date\x20Range\x20From\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3c8b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Date\x20Range\x20From\x20field\x20is\x20invalid\x0a'+_0x1cd3('0x3841')+_0x1cd3('0x3c8c')+_0x1cd3('0x3c8d')+_0x1cd3('0x3841')+_0x1cd3('0x36b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x3c8a')+_0x1cd3('0x3c8e')+_0x1cd3('0x3c8f')+_0x1cd3('0x3c90')+_0x1cd3('0x3c91')+_0x1cd3('0x3841')+_0x1cd3('0x3c8b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Date\x20Range\x20From\x20field\x20is\x20invalid\x0a'+_0x1cd3('0x3841')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3c92')+_0x1cd3('0x3841')+_0x1cd3('0x36b7')+_0x1cd3('0x3c93')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b4b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3c94')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3c90')+_0x1cd3('0x3c95')+_0x1cd3('0x3841')+_0x1cd3('0x3c8b')+_0x1cd3('0x3c96')+_0x1cd3('0x3841')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3c97')+_0x1cd3('0x3669')+_0x1cd3('0x3c8a')+_0x1cd3('0x3c98')+_0x1cd3('0x3c99')+_0x1cd3('0x3c90')+_0x1cd3('0x3c9a')+_0x1cd3('0x3841')+_0x1cd3('0x3c8b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Time\x20Range\x20From\x20field\x20is\x20invalid\x0a'+_0x1cd3('0x3841')+_0x1cd3('0x36b7')+_0x1cd3('0x3c97')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+'\x0a'+_0x1cd3('0x3b14')+_0x1cd3('0x3b1f')+_0x1cd3('0x3b15')+_0x1cd3('0x3b16')+_0x1cd3('0x3b17')+_0x1cd3('0x3756')+_0x1cd3('0x3b18')+_0x1cd3('0x3b19')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+_0x1cd3('0x366f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x388f')+_0x1cd3('0x3c9b')+_0x1cd3('0x3c9c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x3b4b')+_0x1cd3('0x3c9d')+_0x1cd3('0x3c9e')+_0x1cd3('0x3c9f')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x3675')+_0x1cd3('0x3681')+'\x0a');_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0xeb6'),'\x0a'+_0x1cd3('0x3b12')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x3ca0')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x366c')+_0x1cd3('0x3b14')+_0x1cd3('0x3b1f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
    \x0a'+_0x1cd3('0x3b16')+_0x1cd3('0x3b17')+_0x1cd3('0x3756')+_0x1cd3('0x3b18')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
    \x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3c12')+_0x1cd3('0x3c13')+_0x1cd3('0x3669')+_0x1cd3('0x3c15')+_0x1cd3('0x3c16')+_0x1cd3('0x3c17')+_0x1cd3('0x3c18')+_0x1cd3('0x3c19')+_0x1cd3('0x3c1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3c1b')+_0x1cd3('0x3c1c')+_0x1cd3('0x3ca1')+_0x1cd3('0x3c1d')+_0x1cd3('0x3c1e')+_0x1cd3('0x3c1f')+_0x1cd3('0x3ca2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ca3')+_0x1cd3('0x3c1e')+_0x1cd3('0x3ca4')+_0x1cd3('0x3ca5')+_0x1cd3('0x3ca6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NO\x20DATA\x0a'+_0x1cd3('0x386e')+_0x1cd3('0x3ca7')+_0x1cd3('0x3c1e')+_0x1cd3('0x3c22')+_0x1cd3('0x3ca8')+_0x1cd3('0x3ca9')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b14')+_0x1cd3('0x3b1f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
    \x0a'+_0x1cd3('0x3b16')+_0x1cd3('0x3b17')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b19')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x3b20')+_0x1cd3('0x3945')+_0x1cd3('0x3c23')+_0x1cd3('0x3c24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3681')+'');_0x404b17['put'](_0x1cd3('0xed2'),_0x1cd3('0x3cab')+_0x1cd3('0x3cac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
    \x0a'+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3cad')+_0x1cd3('0x3cae')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x3caf')+_0x1cd3('0x3b24')+_0x1cd3('0x3cb0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3cb1')+_0x1cd3('0x3cb2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x3cb3')+_0x1cd3('0x3cb4')+_0x1cd3('0x3b24')+_0x1cd3('0x3cb5')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3cb6')+_0x1cd3('0x3cb7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x3cb8')+_0x1cd3('0x3b24')+_0x1cd3('0x3cb9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x388f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39fe')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')]('app/main/apps/callysquare/views/odbcs/odbcs.html',_0x1cd3('0x3cc2')+'\x0a'+_0x1cd3('0x3adc')+_0x1cd3('0x39ff')+'\x0a'+_0x1cd3('0x3add')+_0x1cd3('0x37e6')+_0x1cd3('0x3a00')+_0x1cd3('0x3ade')+_0x1cd3('0x3cc3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3cc4')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x3ae1')+'\x0a'+_0x1cd3('0x3ae2')+_0x1cd3('0x3ae3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a03')+_0x1cd3('0x3ae4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a05')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36c2')+_0x1cd3('0x366a')+_0x1cd3('0x3ae5')+_0x1cd3('0x3756')+_0x1cd3('0x3686')+_0x1cd3('0x3ae6')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3cc5')+_0x1cd3('0x3a09')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Back\x0a'+_0x1cd3('0x3671')+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x3a0c')+'\x0a'+_0x1cd3('0x3a0d')+_0x1cd3('0x3cc6')+_0x1cd3('0x3cc7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20selected\x0a'+_0x1cd3('0x38f9')+'\x0a'+_0x1cd3('0x3aeb')+_0x1cd3('0x3a11')+_0x1cd3('0x3a12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22multi\x20select\x20toggle\x22\x0a'+_0x1cd3('0x3cc8')+_0x1cd3('0x3a14')+_0x1cd3('0x367d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a16')+_0x1cd3('0x3cc9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Select\x20all\x0a'+_0x1cd3('0x3849')+_0x1cd3('0x3aee')+_0x1cd3('0x3a16')+_0x1cd3('0x3cca')+_0x1cd3('0x3a19')+_0x1cd3('0x3849')+_0x1cd3('0x3aee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
    \x0a'+_0x1cd3('0x366a')+'\x0a'+_0x1cd3('0x3a1b')+_0x1cd3('0x3ccb')+_0x1cd3('0x3a1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a22')+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a25')+_0x1cd3('0x3ccd')+_0x1cd3('0x3a27')+_0x1cd3('0x3af3')+_0x1cd3('0x3cce')+_0x1cd3('0x3ccf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a2b')+_0x1cd3('0x3cd0')+_0x1cd3('0x3cd1')+_0x1cd3('0x3cd2')+_0x1cd3('0x3cd3')+_0x1cd3('0x3a33')+_0x1cd3('0x3a34')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a35')+_0x1cd3('0x3cd4')+_0x1cd3('0x3c56')+_0x1cd3('0x3a38')+_0x1cd3('0x3cd5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3cd6')+_0x1cd3('0x3cd7')+_0x1cd3('0x3cd8')+_0x1cd3('0x3cd9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22id\x20\x22\x20>{{odbc.id}}\x0a'+_0x1cd3('0x3cda')+_0x1cd3('0x3cdb')+_0x1cd3('0x3cda')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22dsn\x20\x22\x20>{{odbc.dsn}}\x0a'+_0x1cd3('0x3cda')+_0x1cd3('0x3cdc')+_0x1cd3('0x3b02')+'\x0a'+_0x1cd3('0x3cdd')+'\x0a'+_0x1cd3('0x3a49')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x395d')+'\x0a'+_0x1cd3('0x3b04')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a54')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3a4f')+'\x0a'+_0x1cd3('0x3cdf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22CALLYSQUARE.EDIT_ODBC\x22>\x0a'+_0x1cd3('0x3ce0')+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3ce1')+'\x0a'+_0x1cd3('0x3ce2')+_0x1cd3('0x3ce3')+_0x1cd3('0x3ce4')+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3a5a')+'\x0a'+_0x1cd3('0x3ce5')+_0x1cd3('0x3ce6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Odbc\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x369a')+_0x1cd3('0x3951')+'\x0a'+'\x0a'+_0x1cd3('0x3a34')+_0x1cd3('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a5f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a61')+_0x1cd3('0x3ce7')+_0x1cd3('0x3a63')+'\x0a'+_0x1cd3('0x3a64')+_0x1cd3('0x36f6')+_0x1cd3('0x3a65')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3ce8')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3666')+_0x1cd3('0x3667')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.title\x20|\x20translate}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x3b14')+_0x1cd3('0x3b1f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
    \x0a'+_0x1cd3('0x3b16')+_0x1cd3('0x3b17')+_0x1cd3('0x3756')+_0x1cd3('0x3b18')+_0x1cd3('0x3b19')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
    \x0a'+_0x1cd3('0x3b28')+_0x1cd3('0x3cad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ceb')+_0x1cd3('0x3b24')+_0x1cd3('0x3cb0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3cec')+_0x1cd3('0x3ced')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3b28')+_0x1cd3('0x3cb6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3cee')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3cef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b14')+_0x1cd3('0x3b1f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
    \x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x3b17')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
    \x0a'+_0x1cd3('0x3b18')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x367d')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+_0x1cd3('0x366f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b47')+_0x1cd3('0x3cf0')+_0x1cd3('0x3891')+_0x1cd3('0x3859')+'\x0a'+_0x1cd3('0x3cf1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20PROJECT\x0a'+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3cf2')+_0x1cd3('0x3a20')+_0x1cd3('0x3cc1')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x3675')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x115e'),_0x1cd3('0x3cf3')+_0x1cd3('0x3cf4')+_0x1cd3('0x3666')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+_0x1cd3('0x39d7')+_0x1cd3('0x3cf5')+_0x1cd3('0x3cf6')+'\x0a'+_0x1cd3('0x3cf7')+_0x1cd3('0x3cf8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22attribute.required\x22>\x0a'+_0x1cd3('0x3cf9')+_0x1cd3('0x3cfa')+_0x1cd3('0x3cfb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3cfc')+'\x0a'+_0x1cd3('0x3cf7')+_0x1cd3('0x3cfd')+_0x1cd3('0x3cfe')+_0x1cd3('0x3cff')+_0x1cd3('0x3b65')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d00')+_0x1cd3('0x3b65')+_0x1cd3('0x3d01')+_0x1cd3('0x3d02')+_0x1cd3('0x3b65')+_0x1cd3('0x3cfb')+_0x1cd3('0x36a9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3d03')+_0x1cd3('0x3d04')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d05')+_0x1cd3('0x3d06')+_0x1cd3('0x3d07')+_0x1cd3('0x3d08')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x3d09')+_0x1cd3('0x3d0a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d0b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d0c')+_0x1cd3('0x3d0d')+'\x0a'+_0x1cd3('0x3d0e')+_0x1cd3('0x3d0f')+_0x1cd3('0x3d10')+_0x1cd3('0x39ed')+_0x1cd3('0x3d11')+_0x1cd3('0x3d12')+_0x1cd3('0x3d13')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Max\x20250\x20chars\x20are\x20supported\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d14')+_0x1cd3('0x3669')+_0x1cd3('0x3d15')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3d16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d17')+_0x1cd3('0x3891')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x1169'),_0x1cd3('0x3d18')+_0x1cd3('0x3d19')+_0x1cd3('0x3d1a')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d1b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d1c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d1d')+_0x1cd3('0x3947')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d1e')+_0x1cd3('0x3d1f')+_0x1cd3('0x3d20')+_0x1cd3('0x3d21')+_0x1cd3('0x3d22')+_0x1cd3('0x3d23')+_0x1cd3('0x3d24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d25')+_0x1cd3('0x3d26')+_0x1cd3('0x3d27')+_0x1cd3('0x3d28')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d29')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
    \x0a'+_0x1cd3('0x3d1f')+_0x1cd3('0x3d20')+_0x1cd3('0x3d21')+_0x1cd3('0x3d22')+_0x1cd3('0x3d23')+_0x1cd3('0x3d24')+_0x1cd3('0x36f6')+_0x1cd3('0x3d1d')+_0x1cd3('0x3d2a')+'\x0a'+_0x1cd3('0x3d2b')+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d2c')+_0x1cd3('0x36ed')+_0x1cd3('0x3d1d')+_0x1cd3('0x3d2d')+_0x1cd3('0x3d2e')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x116a'),_0x1cd3('0x3d18')+'\x20\x20\x0a'+_0x1cd3('0x3d1a')+_0x1cd3('0x3d2f')+_0x1cd3('0x3d30')+_0x1cd3('0x3d31')+_0x1cd3('0x3d1c')+_0x1cd3('0x36ed')+_0x1cd3('0x3d1d')+_0x1cd3('0x3947')+_0x1cd3('0x3d32')+_0x1cd3('0x3d33')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d1e')+_0x1cd3('0x3d1f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
    \x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d23')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x3d1d')+_0x1cd3('0x3d34')+_0x1cd3('0x3d35')+'\x0a'+_0x1cd3('0x3d36')+_0x1cd3('0x3d37')+'\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3d38')+_0x1cd3('0x3d39')+_0x1cd3('0x3d3a')+_0x1cd3('0x36ed')+'\x20\x20\x20\x20\x20\x20\x20\x20You\x20can\x20also\x20drop\x20files\x20here\x20to\x20upload.\x20Only\x20XML\x20-\x20Max.\x205MB\x0a'+_0x1cd3('0x3d1d')+_0x1cd3('0x3686')+_0x1cd3('0x3d3b')+_0x1cd3('0x3d3c')+_0x1cd3('0x3723')+_0x1cd3('0x3d3d')+_0x1cd3('0x36f6')+_0x1cd3('0x3d3e')+_0x1cd3('0x3d3f')+_0x1cd3('0x36ed')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3d2a')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d40')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d41')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d1d')+_0x1cd3('0x3d2d')+'\x20\x20\x0a'+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')]('app/main/apps/callysquare/views/projects/edit/info/info.html',_0x1cd3('0x3d18')+_0x1cd3('0x3d42')+_0x1cd3('0x3d1a')+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d31')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36ed')+_0x1cd3('0x3d1d')+_0x1cd3('0x3947')+_0x1cd3('0x3d32')+_0x1cd3('0x3d33')+_0x1cd3('0x3d29')+_0x1cd3('0x3d1e')+_0x1cd3('0x3d1f')+_0x1cd3('0x3d20')+_0x1cd3('0x3d21')+_0x1cd3('0x3d22')+_0x1cd3('0x3d23')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20Description\x0a'+_0x1cd3('0x3d43')+_0x1cd3('0x3d28')+_0x1cd3('0x3d25')+_0x1cd3('0x3d44')+_0x1cd3('0x3d45')+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d29')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
    \x0a'+_0x1cd3('0x3d1f')+_0x1cd3('0x3d20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
    \x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d23')+_0x1cd3('0x3d24')+_0x1cd3('0x36f6')+_0x1cd3('0x3d1d')+_0x1cd3('0x3d2a')+'\x0a'+_0x1cd3('0x3d2b')+_0x1cd3('0x3d40')+_0x1cd3('0x3d46')+_0x1cd3('0x3d47')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d1d')+_0x1cd3('0x3d2d')+'\x20\x20\x0a'+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x1161'),'\x0a'+_0x1cd3('0x3d48')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d2f')+_0x1cd3('0x3d49')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36ed')+_0x1cd3('0x3d1d')+_0x1cd3('0x3947')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d29')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
    \x0a'+_0x1cd3('0x3d1f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3d21')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d23')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x3d1d')+_0x1cd3('0x3d25')+'\x20\x20\x20\x20\x20\x20\x20\x20Project\x0a'+_0x1cd3('0x3d4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{p.name}}\x0a'+_0x1cd3('0x389c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d4b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
    \x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d25')+_0x1cd3('0x3d4c')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d33')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d1e')+_0x1cd3('0x3d1f')+_0x1cd3('0x3d20')+_0x1cd3('0x3d21')+_0x1cd3('0x3d22')+_0x1cd3('0x3d23')+_0x1cd3('0x3d24')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d2a')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d40')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d4d')+_0x1cd3('0x36ed')+_0x1cd3('0x3d1d')+_0x1cd3('0x3d2d')+_0x1cd3('0x3d2e')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x3d4e'),'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d4f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Add\x20User\x20Permissions\x0a'+_0x1cd3('0x3d50')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+_0x1cd3('0x366c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366f')+_0x1cd3('0x3681')+_0x1cd3('0x3676'));_0x404b17['put'](_0x1cd3('0x1162'),_0x1cd3('0x3d18')+_0x1cd3('0x3d51')+_0x1cd3('0x3d1a')+_0x1cd3('0x3d2f')+_0x1cd3('0x3d52')+_0x1cd3('0x3d31')+_0x1cd3('0x3d1c')+_0x1cd3('0x36ed')+_0x1cd3('0x3d1d')+_0x1cd3('0x3947')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d33')+_0x1cd3('0x3d29')+_0x1cd3('0x3d1e')+_0x1cd3('0x3d1f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3d21')+_0x1cd3('0x3d22')+_0x1cd3('0x3d23')+_0x1cd3('0x3d24')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d53')+_0x1cd3('0x3d54')+_0x1cd3('0x3d55')+_0x1cd3('0x3d56')+_0x1cd3('0x3d57')+_0x1cd3('0x3d21')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d28')+_0x1cd3('0x3d25')+_0x1cd3('0x3d4c')+_0x1cd3('0x3d28')+_0x1cd3('0x3d33')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d1e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x3d20')+_0x1cd3('0x3d21')+_0x1cd3('0x3d22')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x3d1d')+_0x1cd3('0x3d2a')+'\x0a'+_0x1cd3('0x3d2b')+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d58')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d2d')+'\x20\x20\x0a'+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')]('app/main/apps/callysquare/views/projects/edit/view.html',_0x1cd3('0x3d59')+'\x0a'+_0x1cd3('0x3adc')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d5a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ba1')+_0x1cd3('0x3671')+'\x0a'+_0x1cd3('0x388f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d5b')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x3ba2')+_0x1cd3('0x3ba3')+_0x1cd3('0x3d5c')+_0x1cd3('0x3756')+_0x1cd3('0x3d5d')+_0x1cd3('0x3d5e')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3d5f')+_0x1cd3('0x3d60')+_0x1cd3('0x3d61')+_0x1cd3('0x3671')+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3ae6')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d62')+'\x0a'+_0x1cd3('0x3d63')+'\x0a'+_0x1cd3('0x3d64')+_0x1cd3('0x3a66')+'\x0a'+'\x0a');_0x404b17[_0x1cd3('0x37b')]('app/main/apps/callysquare/views/projects/projects.html','\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ff')+'\x0a'+_0x1cd3('0x3add')+_0x1cd3('0x37e6')+_0x1cd3('0x3a00')+_0x1cd3('0x3ade')+_0x1cd3('0x3d65')+_0x1cd3('0x38f9')+_0x1cd3('0x3d66')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x3ae1')+'\x0a'+_0x1cd3('0x3d67')+_0x1cd3('0x3d68')+_0x1cd3('0x3d69')+_0x1cd3('0x3d6a')+_0x1cd3('0x3d6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d6c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x3d6d')+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3ae6')+'\x0a'+_0x1cd3('0x3a07')+_0x1cd3('0x3d6e')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a0b')+_0x1cd3('0x3ae8')+_0x1cd3('0x3d6f')+_0x1cd3('0x3671')+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x3a0c')+'\x0a'+_0x1cd3('0x3a0d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d70')+_0x1cd3('0x3d71')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3aeb')+_0x1cd3('0x3d72')+_0x1cd3('0x3a14')+_0x1cd3('0x367d')+_0x1cd3('0x3a15')+_0x1cd3('0x3a16')+_0x1cd3('0x3d73')+_0x1cd3('0x3c2e')+_0x1cd3('0x3849')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a16')+_0x1cd3('0x3d74')+_0x1cd3('0x3a19')+_0x1cd3('0x3849')+_0x1cd3('0x3aee')+_0x1cd3('0x3a1a')+_0x1cd3('0x3aef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a1b')+_0x1cd3('0x3d75')+_0x1cd3('0x3a1d')+_0x1cd3('0x3a1e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a21')+'\x0a'+_0x1cd3('0x3a22')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3af1')+_0x1cd3('0x3a24')+'\x0a'+_0x1cd3('0x3d76')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d77')+_0x1cd3('0x3d78')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d79')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CALLYSQUARE.ID\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x3d7a')+_0x1cd3('0x3d7b')+_0x1cd3('0x3d7c')+_0x1cd3('0x3d7d')+_0x1cd3('0x3c1e')+_0x1cd3('0x3c1f')+_0x1cd3('0x3ca2')+_0x1cd3('0x3d7e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ca6')+_0x1cd3('0x3d7f')+_0x1cd3('0x386e')+_0x1cd3('0x3ca7')+_0x1cd3('0x3c1e')+_0x1cd3('0x3d80')+_0x1cd3('0x3d81')+_0x1cd3('0x3d82')+_0x1cd3('0x3d83')+_0x1cd3('0x3d84')+_0x1cd3('0x3d85')+_0x1cd3('0x3d86')+_0x1cd3('0x3d87')+_0x1cd3('0x3d88')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d89')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d8a')+_0x1cd3('0x3d8b')+_0x1cd3('0x3d8c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d8d')+_0x1cd3('0x3d8e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Project\x0a'+_0x1cd3('0x3d8f')+_0x1cd3('0x3d8d')+_0x1cd3('0x3d90')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ca7')+_0x1cd3('0x3c1e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ca8')+_0x1cd3('0x3ca9')+'\x0a'+_0x1cd3('0x3d91')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d92')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3d93')+_0x1cd3('0x36f6')+_0x1cd3('0x3a65')+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a66')+'\x0a'+_0x1cd3('0x3d94')+_0x1cd3('0x3d95')+_0x1cd3('0x3b0f')+_0x1cd3('0x376d')+_0x1cd3('0x3d96')+'\x0a'+_0x1cd3('0x376e'));_0x404b17[_0x1cd3('0x37b')]('app/main/apps/callysquare/views/squareRecordings/create/dialog.html','\x0a'+_0x1cd3('0x3d97')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Filename\x0a'+_0x1cd3('0x3d98')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x3d99')+_0x1cd3('0x3756')+_0x1cd3('0x39ea')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x39ef')+_0x1cd3('0x388f')+_0x1cd3('0x3d9a')+_0x1cd3('0x3ad7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22squareRecordingForm.$invalid\x20||\x20squareRecordingForm.$pristine\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22CALLYSQUARE.SAVE\x22\x20translate-attr-aria-label=\x22CALLYSQUARE.SAVE\x22>\x0a'+_0x1cd3('0x39f3')+_0x1cd3('0x39f4')+'\x0a'+_0x1cd3('0x3d9b')+_0x1cd3('0x39f6')+_0x1cd3('0x3d9c')+_0x1cd3('0x3d9d')+_0x1cd3('0x3d9e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d9f')+_0x1cd3('0x3cc0')+_0x1cd3('0x3a20')+_0x1cd3('0x3cc1')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39fe')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x8e'),_0x1cd3('0x3da0')+'\x0a'+_0x1cd3('0x3adc')+_0x1cd3('0x39ff')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x37e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38f9')+_0x1cd3('0x3da1')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae1')+'\x0a'+_0x1cd3('0x3ae2')+_0x1cd3('0x3ae3')+_0x1cd3('0x3a02')+_0x1cd3('0x3a03')+_0x1cd3('0x3ae4')+_0x1cd3('0x3a04')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3da2')+_0x1cd3('0x36c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3ae6')+'\x0a'+_0x1cd3('0x3a07')+_0x1cd3('0x3da3')+_0x1cd3('0x3a09')+'\x0a'+_0x1cd3('0x3da4')+_0x1cd3('0x3a0b')+_0x1cd3('0x3ae8')+_0x1cd3('0x3d6f')+_0x1cd3('0x3671')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a0c')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
    \x0a'+_0x1cd3('0x3da5')+_0x1cd3('0x3da6')+_0x1cd3('0x3da7')+_0x1cd3('0x38f9')+'\x0a'+_0x1cd3('0x3aeb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a14')+_0x1cd3('0x367d')+_0x1cd3('0x3a15')+_0x1cd3('0x3a16')+_0x1cd3('0x3da8')+_0x1cd3('0x3c2e')+_0x1cd3('0x3849')+_0x1cd3('0x3aee')+_0x1cd3('0x3a16')+_0x1cd3('0x3da9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Select\x20none\x0a'+_0x1cd3('0x3849')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a1a')+_0x1cd3('0x3aef')+_0x1cd3('0x366a')+'\x0a'+_0x1cd3('0x3a1b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a1d')+_0x1cd3('0x3a1e')+_0x1cd3('0x3daa')+_0x1cd3('0x3ccc')+_0x1cd3('0x3a20')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
    \x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x3686')+_0x1cd3('0x3a21')+'\x0a'+_0x1cd3('0x3a22')+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a24')+'\x0a'+_0x1cd3('0x3a25')+_0x1cd3('0x3dab')+_0x1cd3('0x3a27')+_0x1cd3('0x3af3')+_0x1cd3('0x3dac')+_0x1cd3('0x3dad')+_0x1cd3('0x3a2a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3dae')+_0x1cd3('0x3daf')+_0x1cd3('0x3db0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CALLYSQUARE.PHONE\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x3db1')+_0x1cd3('0x3db2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CALLYSQUARE.CREATED_AT\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x3a33')+_0x1cd3('0x3a34')+_0x1cd3('0x3db3')+_0x1cd3('0x3a35')+_0x1cd3('0x3db4')+_0x1cd3('0x3db5')+_0x1cd3('0x3a38')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3db6')+_0x1cd3('0x3db7')+_0x1cd3('0x3db8')+_0x1cd3('0x3db9')+_0x1cd3('0x3dba')+_0x1cd3('0x3dbb')+_0x1cd3('0x3dbc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{squareRecording.callerid}}\x0a'+_0x1cd3('0x3dbb')+_0x1cd3('0x3dbe')+_0x1cd3('0x3dbf')+_0x1cd3('0x3dc0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3dc1')+_0x1cd3('0x3dc2')+_0x1cd3('0x3dc3')+_0x1cd3('0x3dc4')+_0x1cd3('0x3dc5')+_0x1cd3('0x3dc6')+_0x1cd3('0x3dc7')+_0x1cd3('0x3dc8')+'\x0a'+_0x1cd3('0x3cdd')+'\x0a'+_0x1cd3('0x3a49')+'\x0a'+_0x1cd3('0x3a4a')+_0x1cd3('0x3cde')+_0x1cd3('0x3a4c')+_0x1cd3('0x395d')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3dc9')+_0x1cd3('0x3dca')+_0x1cd3('0x3dcb')+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3a5a')+'\x0a'+_0x1cd3('0x3dcc')+_0x1cd3('0x3dcd')+_0x1cd3('0x3dce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x0a'+_0x1cd3('0x3a34')+_0x1cd3('0x3a5d')+_0x1cd3('0x3a5e')+_0x1cd3('0x3a5f')+'\x0a'+_0x1cd3('0x3dcf')+_0x1cd3('0x3a61')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a63')+'\x0a'+_0x1cd3('0x3a64')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a66')+'\x0a'+_0x1cd3('0x3a67')+_0x1cd3('0x3686'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0xb8'),_0x1cd3('0x3dd0')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ff')+'\x0a'+_0x1cd3('0x3add')+_0x1cd3('0x37e6')+_0x1cd3('0x3a00')+_0x1cd3('0x3ade')+_0x1cd3('0x3dd1')+_0x1cd3('0x38f9')+_0x1cd3('0x3dd2')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x3ae1')+'\x0a'+_0x1cd3('0x3ae2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a03')+_0x1cd3('0x3ae4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a05')+_0x1cd3('0x3dd3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x3ae5')+_0x1cd3('0x3756')+_0x1cd3('0x3686')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a07')+_0x1cd3('0x3dd4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22>\x0a'+'\x0a'+_0x1cd3('0x3dd5')+_0x1cd3('0x3a0b')+_0x1cd3('0x3ae8')+_0x1cd3('0x3dd6')+_0x1cd3('0x3671')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a0d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3dd7')+_0x1cd3('0x3dd8')+_0x1cd3('0x38f9')+'\x0a'+_0x1cd3('0x3aeb')+_0x1cd3('0x3a11')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22$mdOpenMenu($event)\x22\x0a'+_0x1cd3('0x3aec')+_0x1cd3('0x3dd9')+_0x1cd3('0x3a14')+_0x1cd3('0x367d')+_0x1cd3('0x3a15')+_0x1cd3('0x3a16')+_0x1cd3('0x3dda')+_0x1cd3('0x3c2e')+_0x1cd3('0x3849')+_0x1cd3('0x3aee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Select\x20none\x0a'+_0x1cd3('0x3849')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a1a')+_0x1cd3('0x3aef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a1b')+_0x1cd3('0x3ddb')+_0x1cd3('0x3a1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ddc')+_0x1cd3('0x3ddd')+_0x1cd3('0x3a20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3841')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a21')+'\x0a'+_0x1cd3('0x3a22')+_0x1cd3('0x3a23')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a24')+'\x0a'+_0x1cd3('0x3a25')+_0x1cd3('0x3dde')+_0x1cd3('0x3a27')+_0x1cd3('0x3af3')+_0x1cd3('0x3ddf')+_0x1cd3('0x3de0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a2b')+_0x1cd3('0x3de1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.NAME\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x3de2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a34')+_0x1cd3('0x3db3')+_0x1cd3('0x3a35')+_0x1cd3('0x3de3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a38')+_0x1cd3('0x3de4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3af8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3de5')+_0x1cd3('0x3de6')+_0x1cd3('0x3de7')+_0x1cd3('0x3de8')+_0x1cd3('0x3de9')+_0x1cd3('0x3dea')+_0x1cd3('0x3deb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a49')+'\x0a'+_0x1cd3('0x3a4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22CHAT.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x395d')+'\x0a'+_0x1cd3('0x3b04')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a4f')+'\x0a'+_0x1cd3('0x3dec')+_0x1cd3('0x3ded')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20ChatQueue\x0a'+_0x1cd3('0x3a52')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a54')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a4e')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3dee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22CHAT.TEAMADD_CHATQUEUE\x22>\x0a'+_0x1cd3('0x3def')+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3ce1')+'\x0a'+_0x1cd3('0x3df0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22CHAT.AGENTADD_CHATQUEUE\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20agentadd\x20ChatQueue\x0a'+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a54')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a4e')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3ce1')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a65')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3df6')+_0x1cd3('0x3df7')+_0x1cd3('0x3df8')+_0x1cd3('0x3b0f')+_0x1cd3('0x376d')+_0x1cd3('0x3df9')+_0x1cd3('0x3686'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x11ac'),_0x1cd3('0x3dfa')+_0x1cd3('0x3dfb')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x3dfc')+_0x1cd3('0x3dfd')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-pattern=\x22/^[A-Za-z0-9\x5c.\x5c_]+$/i\x22\x20\x20\x0a'+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+_0x1cd3('0x3dfe')+_0x1cd3('0x3dff')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x3e00')+_0x1cd3('0x3e01')+_0x1cd3('0x3b24')+_0x1cd3('0x3e02')+_0x1cd3('0x3756')+_0x1cd3('0x3e03')+_0x1cd3('0x3e04')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e05')+_0x1cd3('0x3e06')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x3a6f')+_0x1cd3('0x3e07')+_0x1cd3('0x3a4d')+_0x1cd3('0x3e08')+_0x1cd3('0x3e09')+_0x1cd3('0x3a4d')+_0x1cd3('0x3e0a')+_0x1cd3('0x3acc')+_0x1cd3('0x3e0b')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Strategy\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3acf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent_Timeout\x0a'+_0x1cd3('0x3e0c')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e0d')+_0x1cd3('0x3e0e')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e0f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e10')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e11')+_0x1cd3('0x3e12')+_0x1cd3('0x3e13')+_0x1cd3('0x3e14')+_0x1cd3('0x3e12')+_0x1cd3('0x3e15')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x3e16')+_0x1cd3('0x3e17')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x3e18')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ee')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x39ef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e1b')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x39fa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39fe')+_0x1cd3('0x3681')+'\x0a');_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x11a6'),'\x0a'+_0x1cd3('0x3e1e')+_0x1cd3('0x3e1f')+_0x1cd3('0x3d4f')+_0x1cd3('0x3e20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+_0x1cd3('0x366c')+_0x1cd3('0x3e21')+_0x1cd3('0x366f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e22')+_0x1cd3('0x3e23')+_0x1cd3('0x3ba9')+_0x1cd3('0x3671')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3681')+'\x0a');_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x11a4'),_0x1cd3('0x3e24')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e1f')+_0x1cd3('0x3d4f')+_0x1cd3('0x3e25')+_0x1cd3('0x3d50')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20
    \x0a'+_0x1cd3('0x366c')+_0x1cd3('0x3e21')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e26')+_0x1cd3('0x3e22')+_0x1cd3('0x3e27')+_0x1cd3('0x3ba9')+_0x1cd3('0x3671')+_0x1cd3('0x3675')+_0x1cd3('0x3681')+'\x0a');_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x3e28'),_0x1cd3('0x3e29')+'\x0a'+_0x1cd3('0x3adc')+_0x1cd3('0x3b9f')+_0x1cd3('0x3d5a')+_0x1cd3('0x3e2a')+_0x1cd3('0x3e2b')+_0x1cd3('0x3e2c')+_0x1cd3('0x3ba1')+_0x1cd3('0x3671')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3e2d')+_0x1cd3('0x3e2e')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x3ba2')+_0x1cd3('0x3ba3')+_0x1cd3('0x3e2f')+_0x1cd3('0x3e30')+_0x1cd3('0x3756')+_0x1cd3('0x3ba6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.chatQueue.createdAt\x20|\x20date:\x27medium\x27}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39ee')+_0x1cd3('0x3e31')+_0x1cd3('0x3e32')+_0x1cd3('0x3e33')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22teamadd\x22\x20\x20>\x0a'+_0x1cd3('0x3e34')+_0x1cd3('0x3e35')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x39ee')+_0x1cd3('0x3e31')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e3a')+_0x1cd3('0x3e3b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3686')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a22')+_0x1cd3('0x3e3c')+'\x0a'+_0x1cd3('0x3baa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e3d')+_0x1cd3('0x3e3e')+_0x1cd3('0x3e3f')+_0x1cd3('0x3e40')+_0x1cd3('0x3e41')+_0x1cd3('0x3e42')+_0x1cd3('0x3e43')+_0x1cd3('0x386f')+_0x1cd3('0x3e44')+_0x1cd3('0x3e45')+_0x1cd3('0x3dfc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e49')+_0x1cd3('0x3b24')+_0x1cd3('0x3e02')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e04')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x3e05')+_0x1cd3('0x3e06')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x3a6f')+_0x1cd3('0x3e07')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e08')+_0x1cd3('0x3e09')+_0x1cd3('0x3a4d')+_0x1cd3('0x3e0a')+_0x1cd3('0x3acc')+_0x1cd3('0x3e4b')+_0x1cd3('0x3b24')+_0x1cd3('0x3e4c')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x3e4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x3e10')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent_Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a'+_0x1cd3('0x3e12')+_0x1cd3('0x3e13')+_0x1cd3('0x3e14')+_0x1cd3('0x3e12')+_0x1cd3('0x3e15')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x3e16')+_0x1cd3('0x3e17')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4f')+_0x1cd3('0x3b24')+_0x1cd3('0x3e50')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e51')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e52')+_0x1cd3('0x3e53')+'\x0a'+_0x1cd3('0x3686')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x376e'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x3e54'),'\x0a'+'\x0a'+_0x1cd3('0x3adc')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3add')+_0x1cd3('0x37e6')+_0x1cd3('0x3a00')+_0x1cd3('0x3ade')+_0x1cd3('0x3dd1')+_0x1cd3('0x38f9')+_0x1cd3('0x3e55')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x3ae1')+'\x0a'+_0x1cd3('0x3ae2')+_0x1cd3('0x3ae3')+_0x1cd3('0x3a02')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a05')+_0x1cd3('0x3dd3')+_0x1cd3('0x36c2')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3686')+_0x1cd3('0x3ae6')+'\x0a'+_0x1cd3('0x3a07')+_0x1cd3('0x3e56')+_0x1cd3('0x3a09')+'\x0a'+_0x1cd3('0x3e57')+_0x1cd3('0x3a0b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3dd6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x3a0c')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
    \x0a'+_0x1cd3('0x3e58')+_0x1cd3('0x3e59')+_0x1cd3('0x3dd8')+_0x1cd3('0x38f9')+'\x0a'+_0x1cd3('0x3aeb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e5a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Select\x20all\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3aee')+_0x1cd3('0x3a16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a19')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e5b')+_0x1cd3('0x3a1d')+_0x1cd3('0x3a1e')+_0x1cd3('0x3e5c')+_0x1cd3('0x3ddd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
    \x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a21')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a23')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a24')+'\x0a'+_0x1cd3('0x3a25')+_0x1cd3('0x3e5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3af3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e5e')+_0x1cd3('0x3a2a')+_0x1cd3('0x3a2b')+_0x1cd3('0x3de1')+_0x1cd3('0x3e5f')+_0x1cd3('0x3e60')+_0x1cd3('0x3e61')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.MOTIONPROXY\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x3e62')+_0x1cd3('0x3a33')+_0x1cd3('0x3a34')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a35')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e63')+_0x1cd3('0x3a38')+_0x1cd3('0x3de4')+_0x1cd3('0x3a3a')+_0x1cd3('0x3af8')+_0x1cd3('0x3a34')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e64')+_0x1cd3('0x3e65')+_0x1cd3('0x3e66')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22id\x20\x22\x20>{{chatWebsite.id}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{chatWebsite.key}}\x0a'+_0x1cd3('0x3e68')+_0x1cd3('0x3e69')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{chatWebsite.description}}\x0a'+_0x1cd3('0x3b02')+'\x0a'+_0x1cd3('0x3cdd')+'\x0a'+_0x1cd3('0x3a49')+'\x0a'+_0x1cd3('0x3a4a')+_0x1cd3('0x3e6b')+_0x1cd3('0x3a4c')+_0x1cd3('0x395d')+'\x0a'+_0x1cd3('0x3b04')+'\x0a'+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a4f')+'\x0a'+_0x1cd3('0x3e6c')+_0x1cd3('0x3e6d')+_0x1cd3('0x3e6e')+_0x1cd3('0x3a52')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3ce1')+'\x0a'+_0x1cd3('0x3e6f')+_0x1cd3('0x3e70')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Interactions\x20ChatWebsite\x0a'+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3ce1')+'\x0a'+_0x1cd3('0x3e71')+_0x1cd3('0x3e72')+_0x1cd3('0x3e73')+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3ce1')+'\x0a'+_0x1cd3('0x3e74')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22CHAT.AGENTADD_CHATWEBSITE\x22>\x0a'+_0x1cd3('0x3e75')+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3a5a')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20ChatWebsite\x0a'+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x369a')+_0x1cd3('0x3951')+'\x0a'+'\x0a'+_0x1cd3('0x3a34')+_0x1cd3('0x3a5d')+_0x1cd3('0x3a5e')+_0x1cd3('0x3a5f')+'\x0a'+_0x1cd3('0x3e76')+_0x1cd3('0x3a61')+_0x1cd3('0x3e77')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a64')+_0x1cd3('0x36f6')+_0x1cd3('0x3a65')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a66')+'\x0a'+_0x1cd3('0x3e78')+_0x1cd3('0x3e79')+_0x1cd3('0x3e7a')+_0x1cd3('0x3b0f')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3686'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x11fa'),'\x0a'+_0x1cd3('0x3e7b')+_0x1cd3('0x3666')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
    \x0a'+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20
    \x0a'+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x0a'+_0x1cd3('0x3e7c')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+_0x1cd3('0x3e7d')+_0x1cd3('0x3dff')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x3e7e')+_0x1cd3('0x3b24')+_0x1cd3('0x3e02')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20key\x0a'+_0x1cd3('0x3e7f')+_0x1cd3('0x3e80')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e81')+_0x1cd3('0x3b24')+_0x1cd3('0x3e82')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20key\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x205\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e83')+_0x1cd3('0x3e84')+_0x1cd3('0x3e85')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x3e86')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MotionAddress\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3e87')+_0x1cd3('0x3e88')+_0x1cd3('0x3756')+_0x1cd3('0x3e89')+_0x1cd3('0x3e8a')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x3e8b')+_0x1cd3('0x3e8c')+_0x1cd3('0x3e85')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e8d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MotionProxy\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e87')+_0x1cd3('0x3e8e')+_0x1cd3('0x3756')+_0x1cd3('0x3e89')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MotionProxy\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x39ea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x3e8f')+_0x1cd3('0x3e90')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x3a6f')+_0x1cd3('0x3e91')+_0x1cd3('0x3e92')+_0x1cd3('0x3acc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x3e93')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3acf')+_0x1cd3('0x3e94')+_0x1cd3('0x3e95')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Always\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e97')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e16')+_0x1cd3('0x3e98')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x3e99')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e50')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ee')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x39ef')+_0x1cd3('0x388f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3e9b')+_0x1cd3('0x39f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22chatWebsiteForm.$invalid\x22\x0a'+_0x1cd3('0x3e9c')+_0x1cd3('0x3e9d')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x39fa')+_0x1cd3('0x3e9e')+_0x1cd3('0x3e1c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e1d')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x39fe')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')]('app/main/apps/chat/views/chatWebsites/edit/agentadd/agentadd.html','\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e1f')+_0x1cd3('0x3d4f')+_0x1cd3('0x3e9f')+_0x1cd3('0x3d50')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x366b')+_0x1cd3('0x366c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366f')+_0x1cd3('0x3e26')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ba9')+_0x1cd3('0x3671')+_0x1cd3('0x3675')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x3ea0'),_0x1cd3('0x3ea1')+_0x1cd3('0x3ea2')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent\x0a'+_0x1cd3('0x3ea3')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x3a6f')+_0x1cd3('0x3ea4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22agent.canSelect\x20===\x20false\x22>{{\x20agent.name\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ea5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ea6')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x3ea7')+_0x1cd3('0x3ea8')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3ea9')+_0x1cd3('0x3e0e')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x3eaa')+_0x1cd3('0x3b24')+_0x1cd3('0x3eab')+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+_0x1cd3('0x3eac')+_0x1cd3('0x3e12')+_0x1cd3('0x3e13')+_0x1cd3('0x3ead')+_0x1cd3('0x3e12')+_0x1cd3('0x3e15')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
    \x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
    \x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3eae')+_0x1cd3('0x3ad7')+_0x1cd3('0x3eaf')+_0x1cd3('0x3e19')+_0x1cd3('0x39f3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x3675')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x3eb0'),_0x1cd3('0x3ea1')+_0x1cd3('0x3ea2')+_0x1cd3('0x3666')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20accesskeyid\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3eb2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20secretaccesskey\x0a'+_0x1cd3('0x3eb3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x3eb4')+_0x1cd3('0x3b24')+_0x1cd3('0x3eb5')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3eb6')+_0x1cd3('0x3eb7')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x3a6f')+_0x1cd3('0x3eb8')+_0x1cd3('0x3a4d')+_0x1cd3('0x3eb9')+_0x1cd3('0x3eba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>US\x20West\x20(Oregon)\x0a'+_0x1cd3('0x3ebb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ebc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ec3')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20welcomemessage\x0a'+_0x1cd3('0x3ec4')+_0x1cd3('0x3ec5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ec6')+_0x1cd3('0x3ec7')+_0x1cd3('0x3756')+_0x1cd3('0x39e1')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
    \x0a'+_0x1cd3('0x39da')+_0x1cd3('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
    \x0a'+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x3b20')+_0x1cd3('0x3b47')+_0x1cd3('0x3eae')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x1cd3('0x3eaf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22CHAT.SAVE\x22\x20translate-attr-aria-label=\x22CHAT.SAVE\x22>\x0a'+_0x1cd3('0x39f3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17['put'](_0x1cd3('0x3ec8'),'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3666')+_0x1cd3('0x3667')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x3ec9')+_0x1cd3('0x3eca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x3a6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ecf')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3acf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Text\x0a'+_0x1cd3('0x3ed0')+_0x1cd3('0x3ed1')+_0x1cd3('0x3ed2')+_0x1cd3('0x39e1')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Text\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3669')+_0x1cd3('0x3870')+_0x1cd3('0x3ed3')+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x3b20')+_0x1cd3('0x3b47')+_0x1cd3('0x3eae')+_0x1cd3('0x3ad7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22chatWebsiteFormApp.$invalid\x20||\x20chatWebsiteFormApp.$pristine\x22\x0a'+_0x1cd3('0x3e19')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x3675')+_0x1cd3('0x3681')+'\x0a');_0x404b17[_0x1cd3('0x37b')]('app/main/apps/chat/views/chatWebsites/edit/apps/close/dialog.html',_0x1cd3('0x3ea1')+_0x1cd3('0x3ea2')+_0x1cd3('0x3666')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x3857')+_0x1cd3('0x3858')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
    \x0a'+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ed4')+_0x1cd3('0x3ed5')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x3ed6')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
    \x0a'+_0x1cd3('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
    \x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20
    \x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3b20')+_0x1cd3('0x3b47')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3675')+_0x1cd3('0x3681')+'\x0a');_0x404b17[_0x1cd3('0x37b')]('app/main/apps/chat/views/chatWebsites/edit/apps/dialogflow/dialog.html',_0x1cd3('0x3ea1')+_0x1cd3('0x3ea2')+_0x1cd3('0x3666')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x3ed7')+_0x1cd3('0x3ed8')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x3ed9')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3eda')+_0x1cd3('0x3edb')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+_0x1cd3('0x3a6f')+_0x1cd3('0x3edc')+_0x1cd3('0x3a4d')+_0x1cd3('0x3edd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20French\x0a'+_0x1cd3('0x3ee5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Indonesian\x0a'+_0x1cd3('0x3ee6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Japanese\x0a'+_0x1cd3('0x3ee7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ee8')+_0x1cd3('0x3ee9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3eea')+_0x1cd3('0x3eeb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3eec')+_0x1cd3('0x3eed')+_0x1cd3('0x3a4d')+_0x1cd3('0x3eee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Russian\x0a'+_0x1cd3('0x3ef1')+_0x1cd3('0x3a4d')+_0x1cd3('0x3ef2')+_0x1cd3('0x3ef3')+_0x1cd3('0x3a4d')+_0x1cd3('0x3ef4')+_0x1cd3('0x3ef5')+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Ukrainian\x0a'+_0x1cd3('0x3ef6')+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Chinese\x20(Simplified)\x0a'+_0x1cd3('0x3ef7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Chinese\x20(Hong\x20Kong)\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ef9')+_0x1cd3('0x3b24')+_0x1cd3('0x3efa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3acf')+_0x1cd3('0x3efb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ec5')+_0x1cd3('0x3ed1')+_0x1cd3('0x3efc')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3ec6')+_0x1cd3('0x3ec7')+_0x1cd3('0x3756')+_0x1cd3('0x39e1')+_0x1cd3('0x3669')+_0x1cd3('0x3870')+_0x1cd3('0x3ed3')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b47')+_0x1cd3('0x3eae')+_0x1cd3('0x3ad7')+_0x1cd3('0x3eaf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22CHAT.SAVE\x22\x20translate-attr-aria-label=\x22CHAT.SAVE\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x1cd3('0x39f4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3675')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x3efd'),'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x39db')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Condition\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3efe')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3eff')+_0x1cd3('0x3f00')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e0d')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f01')+_0x1cd3('0x3b24')+_0x1cd3('0x3f02')+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+_0x1cd3('0x3f03')+_0x1cd3('0x3e12')+_0x1cd3('0x3f04')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x3f05')+_0x1cd3('0x3f06')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e0d')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f07')+_0x1cd3('0x3b24')+_0x1cd3('0x3f08')+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+_0x1cd3('0x3f09')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f04')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b47')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3675')+_0x1cd3('0x3681')+'\x0a');_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x3f0a'),'\x0a'+_0x1cd3('0x3ea2')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Priority\x0a'+_0x1cd3('0x3f0b')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ea9')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x3f0c')+_0x1cd3('0x3b24')+_0x1cd3('0x3f0d')+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+_0x1cd3('0x3f0e')+_0x1cd3('0x3e12')+_0x1cd3('0x3f04')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ee')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b47')+_0x1cd3('0x3eae')+_0x1cd3('0x3ad7')+_0x1cd3('0x3eaf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22CHAT.SAVE\x22\x20translate-attr-aria-label=\x22CHAT.SAVE\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x3675')+'\x20\x20\x20\x20\x0a'+'\x0a');_0x404b17['put'](_0x1cd3('0x1260'),_0x1cd3('0x3f0f')+_0x1cd3('0x3f10')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b1f')+_0x1cd3('0x3b15')+_0x1cd3('0x3b16')+_0x1cd3('0x3b17')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b19')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+'\x0a'+_0x1cd3('0x3ed3')+_0x1cd3('0x3b28')+_0x1cd3('0x3f11')+_0x1cd3('0x3f12')+_0x1cd3('0x3f13')+_0x1cd3('0x36a9')+_0x1cd3('0x36aa')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Intervals\x0a'+_0x1cd3('0x3f14')+_0x1cd3('0x3f15')+_0x1cd3('0x36a9')+_0x1cd3('0x36aa')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f16')+_0x1cd3('0x3f17')+_0x1cd3('0x3c8a')+_0x1cd3('0x3f18')+_0x1cd3('0x3f19')+_0x1cd3('0x3f1a')+_0x1cd3('0x3f1b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f1c')+_0x1cd3('0x3c97')+_0x1cd3('0x3669')+_0x1cd3('0x3f1d')+_0x1cd3('0x3f1e')+_0x1cd3('0x3f1f')+_0x1cd3('0x3f20')+_0x1cd3('0x3f21')+_0x1cd3('0x36b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f22')+_0x1cd3('0x36b7')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x3f23')+'\x0a'+_0x1cd3('0x3f24')+_0x1cd3('0x3f25')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f26')+_0x1cd3('0x3f27')+_0x1cd3('0x3f28')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Always\x0a'+_0x1cd3('0x3f29')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3f2a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20To\x0a'+_0x1cd3('0x3f2b')+_0x1cd3('0x3f29')+_0x1cd3('0x3b44')+_0x1cd3('0x3f2c')+_0x1cd3('0x3756')+_0x1cd3('0x36c2')+_0x1cd3('0x366a')+_0x1cd3('0x3f2d')+'\x0a'+_0x1cd3('0x3f2e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Time\x20Range\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f27')+_0x1cd3('0x3f2f')+_0x1cd3('0x3f30')+_0x1cd3('0x3f31')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36c2')+'\x0a'+_0x1cd3('0x3f32')+_0x1cd3('0x3f33')+_0x1cd3('0x3f34')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20month\x20}}\x0a'+_0x1cd3('0x3b44')+_0x1cd3('0x3f35')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3f36')+_0x1cd3('0x3f37')+_0x1cd3('0x3f17')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f27')+_0x1cd3('0x3f38')+_0x1cd3('0x3f30')+_0x1cd3('0x3f39')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f33')+_0x1cd3('0x3f3a')+_0x1cd3('0x3f39')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x36c2')+_0x1cd3('0x366a')+_0x1cd3('0x3f3b')+'\x0a'+_0x1cd3('0x3b14')+_0x1cd3('0x3b1f')+_0x1cd3('0x3b15')+_0x1cd3('0x3b16')+_0x1cd3('0x3b17')+_0x1cd3('0x3756')+_0x1cd3('0x3b18')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x367d')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x3b20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3891')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3f3c')+_0x1cd3('0x3f3d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3675')+_0x1cd3('0x3681')+'\x0a');_0x404b17['put'](_0x1cd3('0x3f3e'),'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x3f3f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x3b20')+_0x1cd3('0x3b47')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x3f42'),_0x1cd3('0x3ea1')+_0x1cd3('0x3ea2')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x3f43')+_0x1cd3('0x3f44')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x3a6f')+_0x1cd3('0x3f45')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22queue.canSelect\x20===\x20false\x22>{{\x20queue.name\x20}}\x0a'+_0x1cd3('0x3acc')+_0x1cd3('0x3f46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f47')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x3ea7')+_0x1cd3('0x3f48')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ea9')+_0x1cd3('0x3e0e')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x3eab')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4e')+_0x1cd3('0x3eac')+_0x1cd3('0x3e12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x202147483\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e15')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x3b20')+_0x1cd3('0x3b47')+_0x1cd3('0x3eae')+_0x1cd3('0x3ad7')+_0x1cd3('0x3eaf')+_0x1cd3('0x3e19')+_0x1cd3('0x39f3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x3675')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x3f49'),_0x1cd3('0x3ea1')+_0x1cd3('0x3ea2')+_0x1cd3('0x3666')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x3f4a')+_0x1cd3('0x3f4b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f4c')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x3f4d')+_0x1cd3('0x3f4e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x3a6f')+_0x1cd3('0x3f4f')+_0x1cd3('0x3f50')+_0x1cd3('0x3f51')+_0x1cd3('0x3acc')+_0x1cd3('0x3f52')+_0x1cd3('0x3b24')+_0x1cd3('0x3f53')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3ed3')+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b47')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3675')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17['put'](_0x1cd3('0x3f54'),_0x1cd3('0x3ea1')+_0x1cd3('0x3ea2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f55')+_0x1cd3('0x3f56')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x3a6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x3f58')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3ed3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x3b20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3eae')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22chatWebsiteFormApp.$invalid\x20||\x20chatWebsiteFormApp.$pristine\x22\x0a'+_0x1cd3('0x3e19')+_0x1cd3('0x39f3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17['put'](_0x1cd3('0x3f59'),_0x1cd3('0x3f5a')+_0x1cd3('0x3f5b')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x3ed7')+_0x1cd3('0x3f5c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-maxlength=\x22255\x22\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x3f5d')+_0x1cd3('0x3b24')+_0x1cd3('0x3ed9')+_0x1cd3('0x3756')+_0x1cd3('0x39ea')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x3f3f')+_0x1cd3('0x3f5e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x3b24')+_0x1cd3('0x3f41')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3669')+_0x1cd3('0x3870')+_0x1cd3('0x3acf')+_0x1cd3('0x3e16')+_0x1cd3('0x3f5f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x3f60')+_0x1cd3('0x3b24')+_0x1cd3('0x3e50')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
    \x0a'+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
    \x0a'+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x388f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3f61')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x1cd3('0x3f62')+_0x1cd3('0x3f63')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20CHATCANNEDANSWER\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x39fa')+_0x1cd3('0x3f64')+_0x1cd3('0x3e1c')+_0x1cd3('0x3a20')+_0x1cd3('0x3e1d')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x39fe')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x12dd'),_0x1cd3('0x3f65')+_0x1cd3('0x3f66')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x3dfc')+_0x1cd3('0x3f67')+_0x1cd3('0x3e85')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e5')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x3f68')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x39ea')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f69')+_0x1cd3('0x3ad7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22chatDispositionForm.$invalid\x20||\x20chatDispositionForm.$pristine\x22\x0a'+_0x1cd3('0x3e19')+_0x1cd3('0x39f3')+_0x1cd3('0x39f4')+'\x0a'+_0x1cd3('0x3f6a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x1cd3('0x3f6b')+_0x1cd3('0x3f6c')+_0x1cd3('0x3f6d')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x39fa')+_0x1cd3('0x3f6e')+_0x1cd3('0x3e1c')+_0x1cd3('0x3a20')+_0x1cd3('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x39fe')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')]('app/main/apps/chat/views/chatWebsites/edit/offlineMessages/dialog.html',_0x1cd3('0x3f6f')+_0x1cd3('0x3d1a')+_0x1cd3('0x3f70')+_0x1cd3('0x3f71')+_0x1cd3('0x3f72')+_0x1cd3('0x3f73')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x3947')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20
    {{vm.message.body}}
    \x0a'+'\x20\x20\x20\x20\x0a'+'\x0a');_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x1365'),_0x1cd3('0x3f74')+_0x1cd3('0x3f75')+_0x1cd3('0x3666')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x3dfc')+_0x1cd3('0x3f76')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x3f77')+_0x1cd3('0x3b24')+_0x1cd3('0x3e02')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x3f78')+_0x1cd3('0x3f79')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x3f7a')+_0x1cd3('0x3f7b')+_0x1cd3('0x3a4d')+_0x1cd3('0x3f7c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f7d')+_0x1cd3('0x3a4d')+_0x1cd3('0x3f7e')+_0x1cd3('0x3acc')+_0x1cd3('0x3f7f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f80')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f81')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Selector\x0a'+_0x1cd3('0x3f82')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f83')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Timeout\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Timeout\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f04')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x39ef')+_0x1cd3('0x388f')+_0x1cd3('0x3f84')+_0x1cd3('0x3ad7')+_0x1cd3('0x3f85')+_0x1cd3('0x3e19')+_0x1cd3('0x39f3')+_0x1cd3('0x39f4')+'\x0a'+_0x1cd3('0x3f86')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x1cd3('0x3f87')+_0x1cd3('0x3f88')+_0x1cd3('0x3f89')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39fa')+_0x1cd3('0x3f8a')+_0x1cd3('0x3e1c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0xc5'),_0x1cd3('0x3f8b')+'\x0a'+_0x1cd3('0x3adc')+_0x1cd3('0x3b9f')+_0x1cd3('0x3d5a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3671')+'\x0a'+_0x1cd3('0x388f')+'\x0a'+_0x1cd3('0x3f8e')+_0x1cd3('0x3f8f')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x3ba2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.chatWebsite.id}}\x0a'+_0x1cd3('0x3f90')+_0x1cd3('0x3756')+_0x1cd3('0x3ba6')+_0x1cd3('0x3f91')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ee')+_0x1cd3('0x3e31')+_0x1cd3('0x3f92')+_0x1cd3('0x3f93')+_0x1cd3('0x3e37')+_0x1cd3('0x3f94')+_0x1cd3('0x3e35')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
    \x0a'+_0x1cd3('0x3f95')+_0x1cd3('0x3e3b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+'\x0a'+'\x20\x20\x20\x20
    \x0a'+_0x1cd3('0x3ae6')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e3c')+'\x0a'+_0x1cd3('0x3baa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SETTINGS\x0a'+_0x1cd3('0x3e3f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f96')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e43')+_0x1cd3('0x386f')+_0x1cd3('0x3e44')+_0x1cd3('0x3e45')+_0x1cd3('0x3dfc')+_0x1cd3('0x3e7c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e5')+_0x1cd3('0x3e47')+_0x1cd3('0x3e48')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e49')+_0x1cd3('0x3b24')+_0x1cd3('0x3e02')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f97')+_0x1cd3('0x3e7f')+_0x1cd3('0x3e80')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f98')+_0x1cd3('0x3b24')+_0x1cd3('0x3e82')+_0x1cd3('0x3756')+_0x1cd3('0x3f99')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20key\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x205\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x39ea')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x3e83')+_0x1cd3('0x3e84')+_0x1cd3('0x3e85')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x3f9a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e88')+_0x1cd3('0x3756')+_0x1cd3('0x3e89')+_0x1cd3('0x3e8a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ea')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x3e8f')+_0x1cd3('0x3e90')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x3a6f')+_0x1cd3('0x3e91')+_0x1cd3('0x3e92')+_0x1cd3('0x3acc')+_0x1cd3('0x3f9b')+_0x1cd3('0x3f9c')+_0x1cd3('0x3b24')+_0x1cd3('0x3e93')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3f9d')+_0x1cd3('0x3ea7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4e')+_0x1cd3('0x3fa4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e13')+_0x1cd3('0x3fa5')+_0x1cd3('0x3e12')+_0x1cd3('0x3e15')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x3e16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e50')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x3fa6')+_0x1cd3('0x3e51')+_0x1cd3('0x3fa7')+_0x1cd3('0x3e42')+_0x1cd3('0x3fa8')+_0x1cd3('0x386f')+_0x1cd3('0x3fa9')+_0x1cd3('0x3e45')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20notificationSound\x0a'+_0x1cd3('0x3ed3')+_0x1cd3('0x3870')+_0x1cd3('0x3acf')+_0x1cd3('0x3faa')+_0x1cd3('0x3ed3')+_0x1cd3('0x3870')+_0x1cd3('0x3fab')+_0x1cd3('0x3fac')+_0x1cd3('0x3fad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fa6')+_0x1cd3('0x3e51')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fae')+_0x1cd3('0x386f')+_0x1cd3('0x3faf')+_0x1cd3('0x3e45')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20queueTransfer\x0a'+_0x1cd3('0x3ed3')+_0x1cd3('0x3870')+_0x1cd3('0x3fb0')+_0x1cd3('0x3fb1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fb2')+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+_0x1cd3('0x3fb3')+_0x1cd3('0x3e12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20queueTransferTimeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x202147483\x0a'+_0x1cd3('0x3e12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fb4')+_0x1cd3('0x3ed3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fb5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20agentTransferTimeout\x0a'+_0x1cd3('0x3fb6')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e0d')+_0x1cd3('0x3e0e')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x3fb7')+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+_0x1cd3('0x3fb8')+_0x1cd3('0x3e12')+_0x1cd3('0x3e13')+_0x1cd3('0x3fb9')+_0x1cd3('0x3e12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x3fa6')+_0x1cd3('0x3e51')+_0x1cd3('0x3fba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e3d')+_0x1cd3('0x3fbb')+_0x1cd3('0x3e3f')+_0x1cd3('0x3e40')+_0x1cd3('0x3fbc')+_0x1cd3('0x3fbd')+'\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20SCRIPT\x0a'+_0x1cd3('0x3824')+'\x0a'+_0x1cd3('0x3fbe')+_0x1cd3('0x3d25')+_0x1cd3('0x3fbf')+_0x1cd3('0x3fc0')+_0x1cd3('0x3d28')+_0x1cd3('0x3d25')+_0x1cd3('0x3fc1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fc2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Motion\x20Proxy\x20field\x20is\x20required\x0a'+_0x1cd3('0x3fc3')+_0x1cd3('0x3fc4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Motion\x20Proxy\x20must\x20be\x20a\x20valid\x20url\x20e.g.:\x20http://www.xcally.com\x0a'+_0x1cd3('0x3fc3')+_0x1cd3('0x3d21')+_0x1cd3('0x3d28')+_0x1cd3('0x3d25')+_0x1cd3('0x3fc5')+_0x1cd3('0x3723')+_0x1cd3('0x3fc6')+_0x1cd3('0x3fc7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fc8')+_0x1cd3('0x3d28')+_0x1cd3('0x3d2e')+_0x1cd3('0x376e')+'\x0a'+_0x1cd3('0x3e51')+_0x1cd3('0x3fc9')+_0x1cd3('0x3e42')+_0x1cd3('0x3fca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fcb')+_0x1cd3('0x3e45')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Interval\x0a'+_0x1cd3('0x3e95')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x3a6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Always\x0a'+_0x1cd3('0x3fcc')+_0x1cd3('0x3e96')+_0x1cd3('0x3acc')+_0x1cd3('0x3fcd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e97')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x3fce')+_0x1cd3('0x3fcf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fd0')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Timezone\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3ed3')+_0x1cd3('0x3fa6')+_0x1cd3('0x3e51')+_0x1cd3('0x3fd1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fd2')+_0x1cd3('0x386f')+_0x1cd3('0x3fd3')+_0x1cd3('0x3e45')+_0x1cd3('0x3fd4')+_0x1cd3('0x3ed3')+_0x1cd3('0x3870')+_0x1cd3('0x3fd5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MandatoryDispositionPauseId\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20mandatoryDispositionPauseId.name\x20}}\x0a'+_0x1cd3('0x3acc')+_0x1cd3('0x3fd7')+_0x1cd3('0x3fd8')+_0x1cd3('0x3b24')+_0x1cd3('0x3fd9')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3ed3')+_0x1cd3('0x3fa6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fba')+_0x1cd3('0x3e52')+_0x1cd3('0x3fda')+_0x1cd3('0x3e3d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SNIPPET\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e40')+_0x1cd3('0x3fdb')+_0x1cd3('0x3e42')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20APPEARANCE\x0a'+_0x1cd3('0x386f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fdc')+_0x1cd3('0x3fdd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fde')+_0x1cd3('0x3acf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fontSize\x0a'+_0x1cd3('0x3fdf')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3ea9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fe0')+_0x1cd3('0x3b24')+_0x1cd3('0x3fe1')+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fontSize\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a'+_0x1cd3('0x3e12')+_0x1cd3('0x3f04')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fe2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f7a')+_0x1cd3('0x3fe3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fe4')+_0x1cd3('0x3fe5')+_0x1cd3('0x3fe6')+_0x1cd3('0x3a4d')+_0x1cd3('0x3fe7')+_0x1cd3('0x3acc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x3fe8')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3acf')+_0x1cd3('0x3fe9')+_0x1cd3('0x3ed3')+_0x1cd3('0x3870')+_0x1cd3('0x3acf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20showCustomerAvatar\x0a'+_0x1cd3('0x3ed3')+_0x1cd3('0x3870')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.RIGHT\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fe5')+_0x1cd3('0x3fed')+_0x1cd3('0x3a4d')+_0x1cd3('0x3fee')+_0x1cd3('0x3acc')+_0x1cd3('0x3fef')+_0x1cd3('0x3b24')+_0x1cd3('0x3ff0')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3ff1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20verticalPosition\x0a'+_0x1cd3('0x3ff2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3ea9')+_0x1cd3('0x3ff3')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ff4')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20verticalPosition\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4e')+_0x1cd3('0x3ff5')+_0x1cd3('0x3e12')+_0x1cd3('0x3e13')+_0x1cd3('0x3ff6')+_0x1cd3('0x3e12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x3ff7')+_0x1cd3('0x3ff8')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x3a6f')+_0x1cd3('0x3f7a')+_0x1cd3('0x3ff9')+_0x1cd3('0x3a4d')+_0x1cd3('0x3ffa')+_0x1cd3('0x3fe5')+_0x1cd3('0x3ffb')+_0x1cd3('0x3a4d')+_0x1cd3('0x3ffc')+_0x1cd3('0x3acc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x3ffd')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x3ffe')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20defaultTitle\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x3fa6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4001')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ONLINESTATUS\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4002')+_0x1cd3('0x3e45')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20header_online\x0a'+_0x1cd3('0x4003')+_0x1cd3('0x3e85')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x4004')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20header_online\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3f99')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20header_online\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20start_chat_button\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x4005')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4006')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4007')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x3fa6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4008')+_0x1cd3('0x3e42')+_0x1cd3('0x4009')+_0x1cd3('0x386f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e45')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hideWhenOffline\x0a'+_0x1cd3('0x3ed3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3870')+_0x1cd3('0x3acf')+_0x1cd3('0x400a')+_0x1cd3('0x400b')+_0x1cd3('0x3e85')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x400c')+_0x1cd3('0x3b24')+_0x1cd3('0x400d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f99')+_0x1cd3('0x400e')+_0x1cd3('0x3756')+_0x1cd3('0x39ea')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20offline_chat_button\x0a'+_0x1cd3('0x400f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-maxlength=\x22255\x22\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x4010')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20offline_chat_button\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3f99')+_0x1cd3('0x4011')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x4012')+_0x1cd3('0x4013')+_0x1cd3('0x3e85')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x4014')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20offlineMessageSubject\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3f99')+_0x1cd3('0x4015')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x4016')+_0x1cd3('0x4017')+_0x1cd3('0x3e85')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x4018')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4019')+_0x1cd3('0x3756')+_0x1cd3('0x3f99')+_0x1cd3('0x401a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ea')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x3fa6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x401b')+_0x1cd3('0x3e42')+_0x1cd3('0x401c')+_0x1cd3('0x386f')+_0x1cd3('0x401d')+_0x1cd3('0x3e45')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20closingMessage\x0a'+_0x1cd3('0x401e')+_0x1cd3('0x3ed1')+_0x1cd3('0x401f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x4020')+_0x1cd3('0x3756')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20closingMessage\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x39e1')+_0x1cd3('0x3669')+_0x1cd3('0x3870')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4021')+_0x1cd3('0x4022')+_0x1cd3('0x3e85')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20skipMessageButton\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3f99')+_0x1cd3('0x4023')+_0x1cd3('0x3756')+_0x1cd3('0x39ea')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x4024')+_0x1cd3('0x3ed3')+_0x1cd3('0x3870')+_0x1cd3('0x4025')+_0x1cd3('0x4026')+_0x1cd3('0x4027')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x4028')+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Star\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ratingType\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x402b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ratingStarsNumber\x0a'+_0x1cd3('0x402c')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x402d')+_0x1cd3('0x402e')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x402f')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ratingStarsNumber\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4030')+_0x1cd3('0x3e12')+_0x1cd3('0x3e13')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ratingStarsNumber\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x205\x0a'+_0x1cd3('0x3e12')+_0x1cd3('0x3e15')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4031')+_0x1cd3('0x3ed3')+_0x1cd3('0x3870')+_0x1cd3('0x4032')+_0x1cd3('0x4033')+_0x1cd3('0x4034')+_0x1cd3('0x3e85')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x4035')+_0x1cd3('0x3756')+_0x1cd3('0x3f99')+_0x1cd3('0x4036')+_0x1cd3('0x3756')+_0x1cd3('0x39ea')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x4037')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3870')+_0x1cd3('0x4038')+_0x1cd3('0x4039')+_0x1cd3('0x403a')+_0x1cd3('0x3e85')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x403b')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20forwardTranscriptMessage\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f99')+_0x1cd3('0x403c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x403d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x403e')+_0x1cd3('0x3756')+_0x1cd3('0x3f99')+_0x1cd3('0x403f')+_0x1cd3('0x3756')+_0x1cd3('0x39ea')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x3fa6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4040')+_0x1cd3('0x3e42')+_0x1cd3('0x4041')+_0x1cd3('0x386f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e45')+_0x1cd3('0x4042')+_0x1cd3('0x3ed3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3acf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20enableUnmanagedNote\x0a'+_0x1cd3('0x3ed3')+_0x1cd3('0x3870')+_0x1cd3('0x3acf')+_0x1cd3('0x4043')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20unmanagedMessage\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f99')+_0x1cd3('0x4045')+_0x1cd3('0x3756')+_0x1cd3('0x39ea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4046')+_0x1cd3('0x4047')+_0x1cd3('0x3e85')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x4048')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20skipUnmanaged\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3f99')+_0x1cd3('0x4049')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x404a')+_0x1cd3('0x404b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x404c')+_0x1cd3('0x3b24')+_0x1cd3('0x404d')+_0x1cd3('0x3756')+_0x1cd3('0x3f99')+_0x1cd3('0x404e')+_0x1cd3('0x3756')+_0x1cd3('0x39ea')+_0x1cd3('0x36aa')+_0x1cd3('0x404a')+_0x1cd3('0x404f')+_0x1cd3('0x4050')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-maxlength=\x22255\x22\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x4051')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20noteTitle\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3f99')+_0x1cd3('0x4052')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x3fa6')+_0x1cd3('0x3e51')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e42')+_0x1cd3('0x4053')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4054')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4055')+_0x1cd3('0x4056')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+_0x1cd3('0x3a6f')+_0x1cd3('0x3f7a')+_0x1cd3('0x4057')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4058')+_0x1cd3('0x3fe5')+_0x1cd3('0x4059')+_0x1cd3('0x3a4d')+_0x1cd3('0x405a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x405c')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20agentIdentifier\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20customerAlias\x0a'+_0x1cd3('0x405d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-maxlength=\x22255\x22\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x405e')+_0x1cd3('0x3b24')+_0x1cd3('0x405f')+_0x1cd3('0x3756')+_0x1cd3('0x3f99')+_0x1cd3('0x4060')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ea')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4061')+_0x1cd3('0x4062')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ea9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20max=\x2220\x22\x20\x20\x0a'+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x4063')+_0x1cd3('0x3b24')+_0x1cd3('0x4064')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4e')+_0x1cd3('0x4065')+_0x1cd3('0x3e12')+_0x1cd3('0x3e13')+_0x1cd3('0x4066')+_0x1cd3('0x3e12')+_0x1cd3('0x3e15')+_0x1cd3('0x36aa')+_0x1cd3('0x4067')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WebsiteAlias\x0a'+_0x1cd3('0x4068')+_0x1cd3('0x3e85')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WebsiteAlias\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3f99')+_0x1cd3('0x4069')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x406a')+_0x1cd3('0x406b')+_0x1cd3('0x3e85')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x406c')+_0x1cd3('0x3b24')+_0x1cd3('0x406d')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x406e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ea')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x406f')+_0x1cd3('0x4070')+_0x1cd3('0x3e85')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x4071')+_0x1cd3('0x3756')+_0x1cd3('0x3f99')+_0x1cd3('0x4072')+_0x1cd3('0x3756')+_0x1cd3('0x39ea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x4073')+_0x1cd3('0x4074')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-maxlength=\x22255\x22\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4075')+_0x1cd3('0x3b24')+_0x1cd3('0x4076')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f99')+_0x1cd3('0x4077')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x4078')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3870')+_0x1cd3('0x4079')+_0x1cd3('0x407a')+_0x1cd3('0x407b')+_0x1cd3('0x3e85')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x407c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x407d')+_0x1cd3('0x3756')+_0x1cd3('0x3f99')+_0x1cd3('0x407e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x407f')+_0x1cd3('0x4080')+_0x1cd3('0x4081')+_0x1cd3('0x3ed1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4082')+_0x1cd3('0x3756')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3ec6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20waitingMessage\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x39e1')+_0x1cd3('0x3669')+_0x1cd3('0x3870')+_0x1cd3('0x3acf')+_0x1cd3('0x4083')+_0x1cd3('0x4084')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-maxlength=\x22255\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4085')+_0x1cd3('0x3756')+_0x1cd3('0x3f99')+_0x1cd3('0x4086')+_0x1cd3('0x3756')+_0x1cd3('0x39ea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4087')+_0x1cd3('0x3ed3')+_0x1cd3('0x3870')+_0x1cd3('0x3acf')+_0x1cd3('0x4088')+_0x1cd3('0x3ed3')+_0x1cd3('0x3870')+_0x1cd3('0x3acf')+_0x1cd3('0x4089')+_0x1cd3('0x3ed3')+_0x1cd3('0x3870')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x408a')+_0x1cd3('0x3ed3')+_0x1cd3('0x3870')+_0x1cd3('0x3acf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20systemAlias\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x408d')+_0x1cd3('0x3756')+_0x1cd3('0x39ea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e51')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e42')+_0x1cd3('0x408e')+_0x1cd3('0x386f')+_0x1cd3('0x408f')+_0x1cd3('0x3e45')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20default\x0a'+_0x1cd3('0x3ed3')+_0x1cd3('0x3870')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4090')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ed1')+_0x1cd3('0x4091')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20whiteLabel\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3ec6')+_0x1cd3('0x4092')+_0x1cd3('0x3756')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3870')+_0x1cd3('0x3ed3')+_0x1cd3('0x3fa6')+_0x1cd3('0x3e51')+_0x1cd3('0x4093')+_0x1cd3('0x3e42')+_0x1cd3('0x4094')+_0x1cd3('0x376e')+_0x1cd3('0x4095')+'\x0a'+_0x1cd3('0x4096')+_0x1cd3('0x4097')+'\x0a'+_0x1cd3('0x4098')+_0x1cd3('0x4099')+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x409a')+_0x1cd3('0x409b')+_0x1cd3('0x409c')+_0x1cd3('0x3671')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20You\x20can\x20also\x20drop\x20images\x20here\x20to\x20upload.\x20Only\x20PNG,\x20JPG\x20-\x20Max.\x208MB\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x409d')+_0x1cd3('0x409e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x409f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x40a0')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x40a1')+_0x1cd3('0x40a2')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x376e')+'\x0a'+_0x1cd3('0x3e51')+_0x1cd3('0x40a3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20AGENTAVATAR\x0a'+_0x1cd3('0x376e')+_0x1cd3('0x40a4')+'\x0a'+_0x1cd3('0x4096')+'\x20\x20\x20\x20\x20\x20\x20\x20flow-drag-enter=\x22vm_ca.dropping=true\x22\x20flow-drag-leave=\x22vm_ca.dropping=false\x22\x20ng-class=\x22{\x27dropping\x27:vm.dropping}\x22>\x0a'+'\x0a'+_0x1cd3('0x4098')+_0x1cd3('0x4099')+_0x1cd3('0x36f6')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x409b')+_0x1cd3('0x409c')+_0x1cd3('0x3671')+_0x1cd3('0x40a5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x40a6')+_0x1cd3('0x409f')+_0x1cd3('0x40a7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x40a8')+_0x1cd3('0x3669')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x3686')+_0x1cd3('0x376e')+'\x0a'+_0x1cd3('0x3e51')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e42')+_0x1cd3('0x40a9')+_0x1cd3('0x376e')+_0x1cd3('0x40aa')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x4099')+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x409a')+_0x1cd3('0x409b')+_0x1cd3('0x409c')+_0x1cd3('0x3671')+_0x1cd3('0x40a5')+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x409d')+_0x1cd3('0x40ab')+_0x1cd3('0x40a6')+_0x1cd3('0x409f')+_0x1cd3('0x40ac')+_0x1cd3('0x40a0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x40ad')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x40a1')+_0x1cd3('0x40ae')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3686')+'\x0a'+'\x0a'+_0x1cd3('0x3e51')+_0x1cd3('0x40af')+_0x1cd3('0x3e42')+_0x1cd3('0x40b0')+_0x1cd3('0x376e')+_0x1cd3('0x40b1')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Drop\x20to\x20upload\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x409a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x409c')+_0x1cd3('0x3671')+_0x1cd3('0x40a5')+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x409d')+_0x1cd3('0x40b2')+_0x1cd3('0x40a6')+_0x1cd3('0x409f')+_0x1cd3('0x40b3')+_0x1cd3('0x40a0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x40a1')+_0x1cd3('0x40b4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3686')+'\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e52')+_0x1cd3('0x3fda')+_0x1cd3('0x3e3d')+_0x1cd3('0x40b5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e40')+_0x1cd3('0x40b6')+_0x1cd3('0x40b7')+'\x20\x20\x0a'+_0x1cd3('0x40b8')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x40b9')+_0x1cd3('0x40ba')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x40bb')+'\x20\x20\x0a'+'\x0a'+_0x1cd3('0x40bc')+_0x1cd3('0x40bd')+_0x1cd3('0x40be')+_0x1cd3('0x40bf')+_0x1cd3('0x40c0')+_0x1cd3('0x40c1')+_0x1cd3('0x40c2')+_0x1cd3('0x3756')+_0x1cd3('0x40c3')+_0x1cd3('0x40c4')+_0x1cd3('0x40c5')+'\x0a'+_0x1cd3('0x40c6')+_0x1cd3('0x39ed')+_0x1cd3('0x40c7')+_0x1cd3('0x40c8')+_0x1cd3('0x40c9')+_0x1cd3('0x40ca')+_0x1cd3('0x40cb')+'\x0a'+_0x1cd3('0x40cc')+_0x1cd3('0x40cd')+_0x1cd3('0x40ce')+'\x0a'+_0x1cd3('0x40cf')+_0x1cd3('0x40d0')+_0x1cd3('0x40ce')+_0x1cd3('0x3b44')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x40d1')+'\x0a'+_0x1cd3('0x40d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x40d3')+_0x1cd3('0x40d4')+_0x1cd3('0x40d5')+_0x1cd3('0x40d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36c2')+_0x1cd3('0x40d7')+'\x0a'+_0x1cd3('0x40d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x40d9')+_0x1cd3('0x40da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x40db')+_0x1cd3('0x40dc')+_0x1cd3('0x40dd')+'\x0a'+_0x1cd3('0x40de')+'\x0a'+_0x1cd3('0x40df')+_0x1cd3('0x40e0')+_0x1cd3('0x40e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x40e2')+_0x1cd3('0x40e3')+_0x1cd3('0x40e4')+_0x1cd3('0x40e5')+_0x1cd3('0x40e6')+_0x1cd3('0x40e7')+_0x1cd3('0x40e8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x40e9')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x40ea')+_0x1cd3('0x40eb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x40ec')+_0x1cd3('0x3849')+_0x1cd3('0x40ed')+'\x0a'+_0x1cd3('0x40ee')+_0x1cd3('0x40ef')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x40f0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x40f1')+_0x1cd3('0x40f2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3bb0')+_0x1cd3('0x40f3')+_0x1cd3('0x40f4')+_0x1cd3('0x40f5')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x40f6')+_0x1cd3('0x40f7')+'\x0a'+_0x1cd3('0x40f8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20field.value\x20}}\x0a'+_0x1cd3('0x40f7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x40f9')+'\x0a'+_0x1cd3('0x40fa')+_0x1cd3('0x40fb')+_0x1cd3('0x40fc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x40fd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d1d')+_0x1cd3('0x40bd')+_0x1cd3('0x40be')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x40fe')+_0x1cd3('0x40ff')+_0x1cd3('0x3f1c')+_0x1cd3('0x40c3')+_0x1cd3('0x40c4')+_0x1cd3('0x4100')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3824')+_0x1cd3('0x376e')+'\x0a'+_0x1cd3('0x3e51')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e52')+_0x1cd3('0x3fda')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4101')+_0x1cd3('0x3e3f')+_0x1cd3('0x3e40')+_0x1cd3('0x4102')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4103')+_0x1cd3('0x40b8')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x40b9')+_0x1cd3('0x40ba')+_0x1cd3('0x4104')+_0x1cd3('0x40bb')+_0x1cd3('0x3824')+'\x0a'+_0x1cd3('0x40bc')+_0x1cd3('0x40bd')+_0x1cd3('0x40be')+_0x1cd3('0x40bf')+_0x1cd3('0x40c0')+_0x1cd3('0x40c1')+_0x1cd3('0x40c2')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x40c4')+_0x1cd3('0x40c5')+'\x0a'+_0x1cd3('0x4105')+_0x1cd3('0x4106')+_0x1cd3('0x4107')+_0x1cd3('0x36c2')+'\x0a'+_0x1cd3('0x4108')+_0x1cd3('0x4109')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x410a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x410b')+_0x1cd3('0x36b7')+_0x1cd3('0x3756')+_0x1cd3('0x36c2')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x410c')+_0x1cd3('0x40c9')+_0x1cd3('0x410d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20None\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x40cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x40d0')+_0x1cd3('0x40ce')+_0x1cd3('0x3b44')+_0x1cd3('0x36c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x40d2')+_0x1cd3('0x410c')+_0x1cd3('0x40d3')+_0x1cd3('0x410e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20None\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20item.props.title\x20}}\x0a'+_0x1cd3('0x3b44')+_0x1cd3('0x36c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x40d8')+_0x1cd3('0x410f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x40da')+_0x1cd3('0x4110')+_0x1cd3('0x40dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x40dc')+_0x1cd3('0x40dd')+'\x0a'+_0x1cd3('0x40de')+'\x0a'+_0x1cd3('0x40df')+_0x1cd3('0x40e0')+_0x1cd3('0x40e1')+_0x1cd3('0x395d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x40e2')+_0x1cd3('0x40e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x40e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x40e7')+_0x1cd3('0x40e8')+_0x1cd3('0x40e6')+'\x0a'+_0x1cd3('0x40e9')+'\x0a'+_0x1cd3('0x4111')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x40eb')+_0x1cd3('0x3849')+_0x1cd3('0x4112')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3849')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x40ef')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3bb0')+_0x1cd3('0x40f3')+_0x1cd3('0x40f4')+_0x1cd3('0x40f5')+'\x0a'+_0x1cd3('0x4113')+_0x1cd3('0x40f6')+_0x1cd3('0x40f7')+'\x0a'+_0x1cd3('0x40f8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20field.value\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3870')+_0x1cd3('0x40f9')+'\x0a'+_0x1cd3('0x40fa')+_0x1cd3('0x40fb')+_0x1cd3('0x40fc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a61')+_0x1cd3('0x3d1d')+_0x1cd3('0x40bd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x40fe')+_0x1cd3('0x40ff')+_0x1cd3('0x3f1c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x40c4')+_0x1cd3('0x4100')+_0x1cd3('0x4114')+_0x1cd3('0x40fd')+_0x1cd3('0x3a61')+_0x1cd3('0x3d1d')+_0x1cd3('0x3824')+_0x1cd3('0x376e')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e52')+_0x1cd3('0x3fda')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4115')+_0x1cd3('0x3e3f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4116')+_0x1cd3('0x4117')+'\x20\x20\x0a'+_0x1cd3('0x4118')+_0x1cd3('0x4119')+_0x1cd3('0x411a')+_0x1cd3('0x411b')+_0x1cd3('0x411c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20chatProactiveAction\x22\x20translate\x20translate-attr-label=\x22CHAT.ADD_CHATPROACTIVEACTION\x22>\x0a'+_0x1cd3('0x411d')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x20\x20\x0a'+_0x1cd3('0x411e')+_0x1cd3('0x411f')+'\x20\x20\x20\x20\x20\x20\x20\x20{{vm_dc.selectedChatWebsiteProactiveActions.length}}\x20{{vm_dc.selectedChatWebsiteProactiveActions.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4120')+_0x1cd3('0x4121')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4122')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22CHAT.DELETE_SELECTED\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d24')+_0x1cd3('0x3f1c')+'\x20\x20\x0a'+_0x1cd3('0x4123')+_0x1cd3('0x4124')+_0x1cd3('0x4125')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4126')+_0x1cd3('0x4127')+_0x1cd3('0x4128')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.NAME\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4128')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4129')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x412a')+_0x1cd3('0x412b')+_0x1cd3('0x4128')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.TIMEOUT\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4128')+_0x1cd3('0x412c')+_0x1cd3('0x412d')+_0x1cd3('0x4128')+_0x1cd3('0x412e')+_0x1cd3('0x412f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4130')+_0x1cd3('0x4131')+'>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4132')+_0x1cd3('0x4133')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4134')+_0x1cd3('0x4133')+_0x1cd3('0x4135')+_0x1cd3('0x4136')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell>\x0a'+_0x1cd3('0x4137')+_0x1cd3('0x4133')+_0x1cd3('0x3a4d')+_0x1cd3('0x4138')+_0x1cd3('0x4139')+_0x1cd3('0x4133')+_0x1cd3('0x413a')+_0x1cd3('0x413b')+_0x1cd3('0x4133')+_0x1cd3('0x413c')+_0x1cd3('0x413d')+_0x1cd3('0x413e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x413f')+_0x1cd3('0x4140')+_0x1cd3('0x4141')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4142')+_0x1cd3('0x4143')+_0x1cd3('0x4144')+_0x1cd3('0x4145')+_0x1cd3('0x4146')+_0x1cd3('0x4147')+_0x1cd3('0x4148')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20ChatProactiveAction\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4149')+_0x1cd3('0x414a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x414b')+_0x1cd3('0x412f')+_0x1cd3('0x414c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x414d')+_0x1cd3('0x414e')+_0x1cd3('0x414f')+_0x1cd3('0x4150')+_0x1cd3('0x412f')+_0x1cd3('0x4151')+_0x1cd3('0x4152')+'\x20\x20\x0a'+_0x1cd3('0x4153')+_0x1cd3('0x3824')+'\x0a'+_0x1cd3('0x3e51')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e52')+_0x1cd3('0x3fda')+_0x1cd3('0x3e3d')+_0x1cd3('0x4154')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e40')+_0x1cd3('0x4155')+_0x1cd3('0x4156')+'\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20ChatDispositions\x0a'+_0x1cd3('0x411a')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4157')+_0x1cd3('0x4158')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4104')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x0a'+_0x1cd3('0x4159')+_0x1cd3('0x411f')+'\x20\x20\x20\x20\x20\x20\x20\x20{{vm_dc.selectedChatWebsiteChatDispositions.length}}\x20{{vm_dc.selectedChatWebsiteChatDispositions.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected\x0a'+_0x1cd3('0x3b5a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4121')+_0x1cd3('0x415a')+_0x1cd3('0x415b')+_0x1cd3('0x415c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d24')+_0x1cd3('0x3f1c')+_0x1cd3('0x415d')+_0x1cd3('0x4123')+_0x1cd3('0x415e')+_0x1cd3('0x415f')+_0x1cd3('0x4160')+_0x1cd3('0x4126')+_0x1cd3('0x4127')+_0x1cd3('0x4128')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.NAME\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4128')+_0x1cd3('0x412c')+_0x1cd3('0x412d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x412e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4130')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4161')+_0x1cd3('0x4162')+_0x1cd3('0x4133')+_0x1cd3('0x4163')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{chatDisposition.name}}\x0a'+_0x1cd3('0x4133')+_0x1cd3('0x4164')+_0x1cd3('0x4165')+_0x1cd3('0x413e')+_0x1cd3('0x4166')+_0x1cd3('0x413f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4141')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x0a'+_0x1cd3('0x4167')+_0x1cd3('0x4142')+_0x1cd3('0x4168')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20ChatDisposition\x0a'+_0x1cd3('0x4145')+_0x1cd3('0x4146')+_0x1cd3('0x4147')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4169')+_0x1cd3('0x3a52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x414a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x414b')+_0x1cd3('0x412f')+_0x1cd3('0x416a')+_0x1cd3('0x416b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x416c')+_0x1cd3('0x414f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x412f')+_0x1cd3('0x4151')+_0x1cd3('0x4152')+_0x1cd3('0x416d')+_0x1cd3('0x416e')+_0x1cd3('0x3824')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e52')+_0x1cd3('0x3fda')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x416f')+_0x1cd3('0x3e3f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4170')+_0x1cd3('0x4171')+_0x1cd3('0x4172')+_0x1cd3('0x4118')+_0x1cd3('0x4173')+_0x1cd3('0x411a')+_0x1cd3('0x411b')+_0x1cd3('0x4174')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20chatCannedAnswer\x22\x20translate\x20translate-attr-label=\x22CHAT.ADD_CHATCANNEDANSWER\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x415d')+_0x1cd3('0x4175')+_0x1cd3('0x411f')+_0x1cd3('0x4176')+_0x1cd3('0x3b5a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x415a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x415d')+'\x20\x20\x0a'+_0x1cd3('0x4178')+_0x1cd3('0x4179')+_0x1cd3('0x4160')+_0x1cd3('0x4126')+_0x1cd3('0x4127')+_0x1cd3('0x4128')+_0x1cd3('0x417a')+_0x1cd3('0x417b')+_0x1cd3('0x4128')+_0x1cd3('0x417c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.VALUE\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4128')+_0x1cd3('0x417d')+_0x1cd3('0x417e')+_0x1cd3('0x4128')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x412d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x412f')+_0x1cd3('0x417f')+_0x1cd3('0x4130')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4180')+_0x1cd3('0x4181')+_0x1cd3('0x4133')+_0x1cd3('0x4182')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{chatCannedAnswer.key}}\x0a'+_0x1cd3('0x4133')+_0x1cd3('0x4182')+_0x1cd3('0x4183')+_0x1cd3('0x4133')+_0x1cd3('0x4182')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{chatCannedAnswer.description}}\x0a'+_0x1cd3('0x4133')+_0x1cd3('0x4184')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20chatCannedAnswer.createdAt\x20|\x20formatdate\x20}}\x0a'+_0x1cd3('0x413e')+_0x1cd3('0x4166')+_0x1cd3('0x413f')+_0x1cd3('0x4140')+_0x1cd3('0x4141')+_0x1cd3('0x4185')+'\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4142')+_0x1cd3('0x4186')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20ChatCannedAnswer\x0a'+_0x1cd3('0x4145')+_0x1cd3('0x4146')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4187')+_0x1cd3('0x4188')+_0x1cd3('0x3a52')+_0x1cd3('0x4149')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4189')+_0x1cd3('0x414b')+_0x1cd3('0x412f')+_0x1cd3('0x418a')+_0x1cd3('0x418b')+_0x1cd3('0x414d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20chatcannedanswer\x20available\x0a'+_0x1cd3('0x414f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x412f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4152')+_0x1cd3('0x416d')+_0x1cd3('0x418c')+'\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3e51')+_0x1cd3('0x3fba')+_0x1cd3('0x3e52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x418d')+_0x1cd3('0x3e3f')+_0x1cd3('0x3e40')+_0x1cd3('0x418e')+_0x1cd3('0x3e42')+_0x1cd3('0x418f')+_0x1cd3('0x386f')+_0x1cd3('0x4190')+_0x1cd3('0x3e45')+_0x1cd3('0x4191')+_0x1cd3('0x3ed3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4192')+_0x1cd3('0x4193')+_0x1cd3('0x4194')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4195')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x3fa6')+_0x1cd3('0x3e51')+_0x1cd3('0x3fba')+_0x1cd3('0x3e52')+_0x1cd3('0x3fda')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4196')+_0x1cd3('0x3e3f')+_0x1cd3('0x3e40')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4197')+'\x20\x20\x0a'+_0x1cd3('0x4198')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x4199')+_0x1cd3('0x419a')+_0x1cd3('0x419b')+_0x1cd3('0x419c')+_0x1cd3('0x37e3')+_0x1cd3('0x419d')+_0x1cd3('0x419e')+_0x1cd3('0x37bd')+_0x1cd3('0x419f')+_0x1cd3('0x41a0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41a1')+_0x1cd3('0x41a2')+_0x1cd3('0x419e')+_0x1cd3('0x41a3')+_0x1cd3('0x3824')+_0x1cd3('0x41a4')+_0x1cd3('0x41a5')+_0x1cd3('0x41a6')+_0x1cd3('0x41a7')+_0x1cd3('0x41a8')+_0x1cd3('0x411f')+'\x20\x20\x20\x20\x20\x20\x20\x20Drag\x20&\x20Drop\x20Routing\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41a9')+_0x1cd3('0x3d1d')+_0x1cd3('0x3947')+_0x1cd3('0x41aa')+_0x1cd3('0x411f')+_0x1cd3('0x41ab')+_0x1cd3('0x3b5a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x41ae')+_0x1cd3('0x41af')+_0x1cd3('0x41b0')+_0x1cd3('0x41b1')+_0x1cd3('0x41b2')+_0x1cd3('0x41b3')+_0x1cd3('0x41b4')+_0x1cd3('0x41b5')+_0x1cd3('0x41b6')+_0x1cd3('0x41b4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Appdata\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Interval\x0a'+_0x1cd3('0x41b4')+_0x1cd3('0x41b1')+_0x1cd3('0x41b1')+_0x1cd3('0x41b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41b8')+_0x1cd3('0x41b9')+_0x1cd3('0x41ba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4150')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{app.priority}}\x0a'+_0x1cd3('0x41bb')+_0x1cd3('0x41bc')+_0x1cd3('0x41bd')+_0x1cd3('0x41ba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41be')+_0x1cd3('0x41bf')+_0x1cd3('0x41c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41c1')+_0x1cd3('0x4150')+_0x1cd3('0x41c2')+_0x1cd3('0x3a49')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3b04')+_0x1cd3('0x41c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20App\x0a'+_0x1cd3('0x3a52')+_0x1cd3('0x3a53')+_0x1cd3('0x41c3')+_0x1cd3('0x41c4')+_0x1cd3('0x41c5')+_0x1cd3('0x3a52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41c6')+_0x1cd3('0x41c7')+_0x1cd3('0x3a52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41c8')+_0x1cd3('0x41c9')+_0x1cd3('0x4150')+_0x1cd3('0x41b7')+_0x1cd3('0x41ca')+_0x1cd3('0x41cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20apps\x20available\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41cc')+'\x0a'+_0x1cd3('0x41cd')+'\x0a'+'\x0a'+'\x0a'+_0x1cd3('0x41ce')+_0x1cd3('0x376e')+'\x0a'+_0x1cd3('0x376e')+'\x0a'+_0x1cd3('0x3e51')+_0x1cd3('0x3fba')+_0x1cd3('0x3e52')+_0x1cd3('0x3fda')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20INTERACTIONS\x0a'+_0x1cd3('0x3e3f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41cf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41d0')+_0x1cd3('0x4118')+'\x20\x20\x20\x20\x20\x20Interactions\x0a'+_0x1cd3('0x411a')+_0x1cd3('0x411b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41d1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41d5')+_0x1cd3('0x41d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4104')+_0x1cd3('0x3f1c')+_0x1cd3('0x415d')+'\x20\x20\x0a'+_0x1cd3('0x411f')+_0x1cd3('0x41d7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41d8')+_0x1cd3('0x4121')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22CHAT.DELETE_SELECTED\x22>\x0a'+_0x1cd3('0x4177')+_0x1cd3('0x3d24')+_0x1cd3('0x3f1c')+_0x1cd3('0x415d')+_0x1cd3('0x4123')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41da')+_0x1cd3('0x4160')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4127')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41db')+_0x1cd3('0x41dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41db')+_0x1cd3('0x41dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41de')+_0x1cd3('0x4128')+_0x1cd3('0x412c')+_0x1cd3('0x41df')+_0x1cd3('0x4128')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.LASTMESSAGE\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4128')+_0x1cd3('0x41e0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.STATUS\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41e1')+_0x1cd3('0x4128')+_0x1cd3('0x41e2')+_0x1cd3('0x41e3')+_0x1cd3('0x4128')+_0x1cd3('0x412e')+_0x1cd3('0x412f')+_0x1cd3('0x417f')+_0x1cd3('0x4130')+_0x1cd3('0x41e4')+_0x1cd3('0x41e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41e6')+_0x1cd3('0x4133')+_0x1cd3('0x41e7')+_0x1cd3('0x41e8')+_0x1cd3('0x41e9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41ea')+_0x1cd3('0x41eb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41ec')+_0x1cd3('0x41ed')+_0x1cd3('0x3951')+_0x1cd3('0x41ee')+_0x1cd3('0x41ef')+_0x1cd3('0x41f0')+_0x1cd3('0x3f1c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41ee')+_0x1cd3('0x41f1')+_0x1cd3('0x41f2')+_0x1cd3('0x41ed')+_0x1cd3('0x3951')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41f3')+_0x1cd3('0x41f4')+_0x1cd3('0x41f5')+_0x1cd3('0x41f6')+_0x1cd3('0x41f7')+_0x1cd3('0x376e')+_0x1cd3('0x4133')+_0x1cd3('0x41f8')+_0x1cd3('0x41f9')+_0x1cd3('0x413e')+_0x1cd3('0x41fa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41fb')+_0x1cd3('0x41fc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41fd')+_0x1cd3('0x41fe')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f1c')+_0x1cd3('0x413e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-\x20{{\x20interaction.substatus\x20}}\x0a'+_0x1cd3('0x4202')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4203')+_0x1cd3('0x4204')+_0x1cd3('0x4205')+_0x1cd3('0x4202')+_0x1cd3('0x4206')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x4207')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{interaction.Owner.name}}\x0a'+_0x1cd3('0x4133')+_0x1cd3('0x4208')+_0x1cd3('0x4209')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x420a')+_0x1cd3('0x420b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x413e')+_0x1cd3('0x420d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4140')+_0x1cd3('0x4141')+_0x1cd3('0x4185')+'\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x420e')+_0x1cd3('0x420f')+_0x1cd3('0x4210')+_0x1cd3('0x3a52')+_0x1cd3('0x4149')+_0x1cd3('0x4211')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4212')+_0x1cd3('0x4213')+_0x1cd3('0x4149')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4214')+_0x1cd3('0x4215')+_0x1cd3('0x4213')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4216')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4217')+_0x1cd3('0x3a52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x414a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x414b')+_0x1cd3('0x412f')+_0x1cd3('0x4218')+_0x1cd3('0x4219')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x421a')+_0x1cd3('0x414f')+_0x1cd3('0x4150')+_0x1cd3('0x412f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4152')+_0x1cd3('0x416d')+_0x1cd3('0x421b')+_0x1cd3('0x3824')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fba')+_0x1cd3('0x3e52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OFFLINEMESSAGES\x0a'+_0x1cd3('0x3e3f')+_0x1cd3('0x3e40')+_0x1cd3('0x421c')+_0x1cd3('0x421d')+'\x20\x20\x0a'+_0x1cd3('0x4118')+'\x20\x20\x20\x20\x20\x20OfflineMessages\x0a'+_0x1cd3('0x411a')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3841')+_0x1cd3('0x415d')+_0x1cd3('0x421e')+_0x1cd3('0x411f')+_0x1cd3('0x421f')+_0x1cd3('0x3b5a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4126')+_0x1cd3('0x4127')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41de')+_0x1cd3('0x4128')+_0x1cd3('0x412c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.CREATED_AT\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4128')+_0x1cd3('0x412e')+_0x1cd3('0x412f')+_0x1cd3('0x417f')+_0x1cd3('0x4130')+_0x1cd3('0x4221')+'>\x0a'+_0x1cd3('0x4222')+_0x1cd3('0x4223')+_0x1cd3('0x4133')+_0x1cd3('0x4224')+_0x1cd3('0x4225')+_0x1cd3('0x4133')+_0x1cd3('0x41f8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20offlineMessage.createdAt\x20|\x20formatdate\x20}}\x0a'+_0x1cd3('0x413e')+_0x1cd3('0x4226')+_0x1cd3('0x413f')+_0x1cd3('0x4140')+_0x1cd3('0x4141')+_0x1cd3('0x4185')+'\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4227')+_0x1cd3('0x4228')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SHOW\x20OfflineMessage\x0a'+_0x1cd3('0x4213')+_0x1cd3('0x4149')+_0x1cd3('0x4229')+_0x1cd3('0x422a')+_0x1cd3('0x422b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x414a')+_0x1cd3('0x4189')+_0x1cd3('0x414b')+_0x1cd3('0x412f')+_0x1cd3('0x422c')+_0x1cd3('0x416b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20offlinemessage\x20available\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x412f')+_0x1cd3('0x4151')+_0x1cd3('0x4152')+'\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3824')+'\x0a'+_0x1cd3('0x3e51')+_0x1cd3('0x3fba')+_0x1cd3('0x3e52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a66')+'\x0a'+'\x0a');_0x404b17['put']('app/main/apps/chat/views/realtime/agents/view.html',_0x1cd3('0x422d')+_0x1cd3('0x422e')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x422f')+_0x1cd3('0x3b5a')+_0x1cd3('0x4230')+_0x1cd3('0x4231')+_0x1cd3('0x4232')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-change=\x22vm.query.pauseTypeFilter\x20=\x20\x27\x27;\x20vm.onInit()\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.ALL\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4233')+_0x1cd3('0x4234')+_0x1cd3('0x4235')+_0x1cd3('0x4236')+_0x1cd3('0x389c')+'\x0a'+_0x1cd3('0x4237')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22md-caption\x22\x20ng-change=\x22vm.onInit()\x22>\x0a'+_0x1cd3('0x4238')+_0x1cd3('0x4239')+_0x1cd3('0x423a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20LOGININPAUSE\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AUTOPAUSE\x0a'+_0x1cd3('0x423b')+_0x1cd3('0x389c')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x423c')+'\x0a'+_0x1cd3('0x423d')+'\x0a'+_0x1cd3('0x423e')+_0x1cd3('0x423f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.AGENT\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.VOICE\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4240')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.MAIL\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4241')+_0x1cd3('0x4242')+_0x1cd3('0x4243')+_0x1cd3('0x4244')+_0x1cd3('0x4245')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.WHATSAPP\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41b7')+_0x1cd3('0x41b0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.NAME\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4246')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.STATUS\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4247')+_0x1cd3('0x4248')+_0x1cd3('0x4249')+_0x1cd3('0x424a')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.STATUS\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Info\x0a'+'\x0a'+_0x1cd3('0x424b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x424c')+_0x1cd3('0x424d')+_0x1cd3('0x36c5')+_0x1cd3('0x41b4')+'\x0a'+_0x1cd3('0x424e')+_0x1cd3('0x424f')+_0x1cd3('0x424c')+_0x1cd3('0x4250')+_0x1cd3('0x36c5')+_0x1cd3('0x41b4')+'\x0a'+_0x1cd3('0x4251')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x424c')+_0x1cd3('0x4252')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41b4')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27OPENCHANNEL.STATUS\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4253')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4254')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41b4')+'\x0a'+_0x1cd3('0x4255')+_0x1cd3('0x4256')+_0x1cd3('0x424c')+_0x1cd3('0x4257')+_0x1cd3('0x36c5')+_0x1cd3('0x41b4')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.STATUS\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4258')+_0x1cd3('0x424c')+_0x1cd3('0x4259')+_0x1cd3('0x36c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41b7')+_0x1cd3('0x425a')+_0x1cd3('0x425b')+_0x1cd3('0x425c')+_0x1cd3('0x425d')+_0x1cd3('0x425e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.NO_AGENT_ONLINE\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x4150')+_0x1cd3('0x41b7')+_0x1cd3('0x425f')+_0x1cd3('0x4260')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4261')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-src=\x22{{vm.agents[value].userpic\x20&&\x20\x27api/users/\x27+vm.agents[value].id+\x27/avatar\x27\x20||\x20\x27assets/images/avatars/profile.png\x27}}\x22>\x0a'+_0x1cd3('0x4262')+_0x1cd3('0x4263')+_0x1cd3('0x4264')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4150')+_0x1cd3('0x4260')+_0x1cd3('0x4265')+_0x1cd3('0x4266')+_0x1cd3('0x4267')+_0x1cd3('0x36b5')+_0x1cd3('0x4268')+_0x1cd3('0x4269')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x426a')+_0x1cd3('0x426b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3692')+_0x1cd3('0x36b7')+_0x1cd3('0x426c')+_0x1cd3('0x36b5')+_0x1cd3('0x426d')+_0x1cd3('0x4269')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.TOOLTIP_SCREENRECORDING_OFF\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3692')+_0x1cd3('0x36b7')+_0x1cd3('0x3756')+_0x1cd3('0x4150')+'\x0a'+'\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x426e')+_0x1cd3('0x426f')+_0x1cd3('0x4270')+_0x1cd3('0x4150')+_0x1cd3('0x4271')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20days\x20>\x200\x20?\x20days\x20+\x20\x27d\x27\x20:\x20\x27\x27\x20}}\x0a'+_0x1cd3('0x4272')+_0x1cd3('0x4150')+_0x1cd3('0x4271')+_0x1cd3('0x4273')+_0x1cd3('0x4274')+_0x1cd3('0x4275')+_0x1cd3('0x4272')+_0x1cd3('0x4150')+_0x1cd3('0x4276')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4277')+_0x1cd3('0x4278')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4286')+_0x1cd3('0x4287')+_0x1cd3('0x36b7')+_0x1cd3('0x3756')+_0x1cd3('0x4150')+_0x1cd3('0x4288')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27idle\x27:\x27lime-300-fg\x27,\x27maxcapacity\x27:\x27red-A200-fg\x27,\x27working\x27:\x27indigo-100-fg\x27,\x27pause\x27:\x27amber-200-fg\x27}[vm.agents[value].chatStatus]\x22>\x0a'+_0x1cd3('0x4289')+'\x0a'+_0x1cd3('0x428a')+_0x1cd3('0x4285')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4150')+_0x1cd3('0x428c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27idle\x27:\x27lime-300-fg\x27,\x27maxcapacity\x27:\x27red-A200-fg\x27,\x27working\x27:\x27indigo-100-fg\x27,\x27pause\x27:\x27amber-200-fg\x27}[vm.agents[value].mailStatus]\x22>\x0a'+_0x1cd3('0x428d')+'\x0a'+_0x1cd3('0x428e')+_0x1cd3('0x4285')+_0x1cd3('0x41fd')+_0x1cd3('0x4286')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27idle\x27:\x27lime-300-bg\x27,\x27maxcapacity\x27:\x27red-A200-bg\x27,\x27working\x27:\x27indigo-100-bg\x27,\x27pause\x27:\x27amber-200-bg\x27}[vm.agents[value].smsStatus]\x22>{{\x20vm.agents[value].smsStatus\x20|\x20uppercase\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4150')+_0x1cd3('0x428f')+_0x1cd3('0x4290')+_0x1cd3('0x4291')+'\x0a'+_0x1cd3('0x4292')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41fd')+_0x1cd3('0x4286')+_0x1cd3('0x4293')+_0x1cd3('0x36b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4150')+_0x1cd3('0x4294')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27idle\x27:\x27lime-300-fg\x27,\x27maxcapacity\x27:\x27red-A200-fg\x27,\x27working\x27:\x27indigo-100-fg\x27,\x27pause\x27:\x27amber-200-fg\x27}[vm.agents[value].openchannelStatus]\x22>\x0a'+_0x1cd3('0x4295')+'\x0a'+_0x1cd3('0x4296')+_0x1cd3('0x4285')+_0x1cd3('0x41fd')+_0x1cd3('0x4286')+_0x1cd3('0x4297')+_0x1cd3('0x36b7')+_0x1cd3('0x3756')+_0x1cd3('0x4150')+_0x1cd3('0x4298')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27idle\x27:\x27lime-300-fg\x27,\x27maxcapacity\x27:\x27red-A200-fg\x27,\x27working\x27:\x27indigo-100-fg\x27,\x27pause\x27:\x27amber-200-fg\x27}[vm.agents[value].faxStatus]\x22>\x0a'+_0x1cd3('0x4299')+'\x0a'+_0x1cd3('0x429a')+_0x1cd3('0x4285')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4286')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27idle\x27:\x27lime-300-bg\x27,\x27maxcapacity\x27:\x27red-A200-bg\x27,\x27working\x27:\x27indigo-100-bg\x27,\x27pause\x27:\x27amber-200-bg\x27}[vm.agents[value].whatsappStatus]\x22>{{\x20vm.agents[value].whatsappStatus\x20|\x20uppercase\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a53')+_0x1cd3('0x42a0')+_0x1cd3('0x42a4')+_0x1cd3('0x42a5')+_0x1cd3('0x42a6')+_0x1cd3('0x3a52')+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x42a7')+_0x1cd3('0x42a8')+_0x1cd3('0x42a9')+_0x1cd3('0x42aa')+_0x1cd3('0x42ab')+_0x1cd3('0x3695')+_0x1cd3('0x42ac')+_0x1cd3('0x42ad')+_0x1cd3('0x42ae')+_0x1cd3('0x42af')+_0x1cd3('0x42b0')+_0x1cd3('0x3c6a')+_0x1cd3('0x42b1')+_0x1cd3('0x42b2')+_0x1cd3('0x42b3')+_0x1cd3('0x42b0')+_0x1cd3('0x3c6a')+_0x1cd3('0x42b4')+_0x1cd3('0x3c77')+_0x1cd3('0x3a53')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x42b6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22\x20vm.agents[value].voicePause\x20&&\x20\x27DEFAULT\x20PAUSE\x27\x20===\x20vm.agents[value].pauseType\x22\x0a'+_0x1cd3('0x42b7')+_0x1cd3('0x42b8')+_0x1cd3('0x42b9')+_0x1cd3('0x3c6a')+_0x1cd3('0x42ba')+_0x1cd3('0x42b6')+_0x1cd3('0x42bb')+_0x1cd3('0x42bc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x42b4')+_0x1cd3('0x3c77')+_0x1cd3('0x3a53')+_0x1cd3('0x42bd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x42be')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41c8')+_0x1cd3('0x41c9')+_0x1cd3('0x4150')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x42bf')+_0x1cd3('0x42c0')+'\x0a'+'\x0a'+_0x1cd3('0x42c1')+_0x1cd3('0x42c2')+_0x1cd3('0x42c3')+_0x1cd3('0x42c4')+_0x1cd3('0x42c5')+_0x1cd3('0x42c6'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x42c7'),_0x1cd3('0x422d')+_0x1cd3('0x422e')+_0x1cd3('0x4118')+'\x20\x20\x20\x20\x20\x20\x20\x20Queues\x0a'+_0x1cd3('0x3b5a')+_0x1cd3('0x42c8')+_0x1cd3('0x3686')+_0x1cd3('0x423c')+'\x0a'+_0x1cd3('0x42c9')+_0x1cd3('0x42ca')+_0x1cd3('0x423e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41b0')+_0x1cd3('0x42cb')+_0x1cd3('0x42cc')+_0x1cd3('0x42cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.READY\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x42ce')+_0x1cd3('0x42cf')+_0x1cd3('0x41b7')+_0x1cd3('0x425a')+_0x1cd3('0x425b')+_0x1cd3('0x42d0')+_0x1cd3('0x418b')+_0x1cd3('0x425e')+_0x1cd3('0x42d1')+_0x1cd3('0x3756')+_0x1cd3('0x4150')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x42d2')+_0x1cd3('0x42d3')+_0x1cd3('0x41ba')+_0x1cd3('0x42d4')+_0x1cd3('0x4150')+_0x1cd3('0x41ba')+_0x1cd3('0x42d5')+_0x1cd3('0x4150')+_0x1cd3('0x41ba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.queues[value].available\x20||\x200}}\x0a'+_0x1cd3('0x4150')+_0x1cd3('0x41ba')+_0x1cd3('0x42d6')+_0x1cd3('0x4150')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x42d7')+_0x1cd3('0x42d8')+_0x1cd3('0x395d')+'\x0a'+_0x1cd3('0x3b04')+_0x1cd3('0x42a0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Queue\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a53')+_0x1cd3('0x42d9')+_0x1cd3('0x42da')+_0x1cd3('0x42db')+_0x1cd3('0x3a52')+_0x1cd3('0x3a53')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4150')+_0x1cd3('0x41b7')+_0x1cd3('0x42bf')+_0x1cd3('0x42c0')+_0x1cd3('0x42dc')+'\x0a'+_0x1cd3('0x42dd')+_0x1cd3('0x42de')+_0x1cd3('0x42df'));_0x404b17['put'](_0x1cd3('0xca'),_0x1cd3('0x42e0')+_0x1cd3('0x3a22')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3baa')+_0x1cd3('0x42e1')+_0x1cd3('0x42e2')+_0x1cd3('0x42e3')+_0x1cd3('0x42e4')+_0x1cd3('0x3862')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x42e2')+_0x1cd3('0x42e5')+_0x1cd3('0x42e4')+_0x1cd3('0x3862')+_0x1cd3('0x42e6')+'\x0a'+_0x1cd3('0x42e7')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a66')+_0x1cd3('0x376e'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x42e8'),_0x1cd3('0x42e9')+'\x0a'+_0x1cd3('0x3adc')+_0x1cd3('0x39ff')+'\x0a'+_0x1cd3('0x3add')+_0x1cd3('0x37e6')+_0x1cd3('0x3a00')+_0x1cd3('0x3ade')+_0x1cd3('0x42ea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Companies\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae3')+_0x1cd3('0x3a02')+_0x1cd3('0x3a03')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a04')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x42eb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3686')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a07')+'\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a'+_0x1cd3('0x3a09')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a0b')+_0x1cd3('0x3ae8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Back\x0a'+_0x1cd3('0x3671')+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x3a0c')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x42ec')+_0x1cd3('0x42ed')+_0x1cd3('0x42ee')+_0x1cd3('0x38f9')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a11')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22$mdOpenMenu($event)\x22\x0a'+_0x1cd3('0x3aec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22CONTACTMANAGER.MULTI_SELECT_TOGGLE\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x367d')+_0x1cd3('0x3a15')+_0x1cd3('0x3a16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3c2e')+_0x1cd3('0x3849')+_0x1cd3('0x3aee')+_0x1cd3('0x3a16')+_0x1cd3('0x42ef')+_0x1cd3('0x3a19')+_0x1cd3('0x3849')+_0x1cd3('0x3aee')+_0x1cd3('0x3a1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x0a'+_0x1cd3('0x3a1b')+_0x1cd3('0x42f0')+_0x1cd3('0x3a1d')+_0x1cd3('0x3a1e')+_0x1cd3('0x42f1')+_0x1cd3('0x42f2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x3841')+_0x1cd3('0x36f6')+_0x1cd3('0x3686')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a22')+_0x1cd3('0x3a23')+'\x0a'+_0x1cd3('0x3af1')+_0x1cd3('0x3a24')+'\x0a'+_0x1cd3('0x3a25')+_0x1cd3('0x42f3')+_0x1cd3('0x3a27')+_0x1cd3('0x3af3')+_0x1cd3('0x42f4')+_0x1cd3('0x42f5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a2b')+_0x1cd3('0x42f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CONTACTMANAGER.NAME\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x42f7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a34')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a35')+_0x1cd3('0x42f8')+_0x1cd3('0x42f9')+_0x1cd3('0x3a38')+_0x1cd3('0x42fa')+_0x1cd3('0x3a3a')+_0x1cd3('0x3af8')+_0x1cd3('0x3a34')+_0x1cd3('0x42fb')+_0x1cd3('0x42fc')+_0x1cd3('0x42fd')+_0x1cd3('0x42fe')+_0x1cd3('0x42ff')+_0x1cd3('0x4300')+_0x1cd3('0x4301')+_0x1cd3('0x4300')+_0x1cd3('0x4302')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3cdd')+'\x0a'+_0x1cd3('0x3a49')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a4f')+'\x0a'+_0x1cd3('0x4304')+_0x1cd3('0x4305')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Company\x0a'+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3ce1')+'\x0a'+_0x1cd3('0x4306')+_0x1cd3('0x4307')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20goToContacts\x20Company\x0a'+_0x1cd3('0x3a52')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3a5a')+'\x0a'+_0x1cd3('0x4308')+_0x1cd3('0x4309')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Company\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x369a')+_0x1cd3('0x3951')+'\x0a'+'\x0a'+_0x1cd3('0x3a34')+_0x1cd3('0x3a5d')+_0x1cd3('0x3a5e')+_0x1cd3('0x3a5f')+'\x0a'+_0x1cd3('0x430a')+_0x1cd3('0x3a61')+_0x1cd3('0x430b')+_0x1cd3('0x3a63')+'\x0a'+_0x1cd3('0x3a64')+_0x1cd3('0x36f6')+_0x1cd3('0x3a65')+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a66')+'\x0a'+_0x1cd3('0x430c')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3686'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x140a'),_0x1cd3('0x430e')+_0x1cd3('0x430f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3858')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x4310')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x4314')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x4315')+_0x1cd3('0x4316')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x4317')+_0x1cd3('0x3b24')+_0x1cd3('0x4318')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Fax\x0a'+_0x1cd3('0x4319')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x431a')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x431b')+_0x1cd3('0x431c')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x431d')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CompanyId\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x431e')+_0x1cd3('0x431f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x4320')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4321')+_0x1cd3('0x4322')+_0x1cd3('0x3e85')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Website\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f99')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Website\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x4323')+_0x1cd3('0x4324')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x4325')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x4326')+_0x1cd3('0x4327')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x4328')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Email\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x4329')+_0x1cd3('0x432a')+_0x1cd3('0x3756')+_0x1cd3('0x386e')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x432b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x432c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x388f')+_0x1cd3('0x432d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22companyForm.$invalid\x20||\x20companyForm.$pristine\x22\x0a'+_0x1cd3('0x432e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x1cd3('0x39f4')+'\x0a'+_0x1cd3('0x432f')+_0x1cd3('0x39f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22companyForm.$invalid\x22\x0a'+_0x1cd3('0x4330')+_0x1cd3('0x4331')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x39fa')+_0x1cd3('0x4332')+_0x1cd3('0x4333')+_0x1cd3('0x3a20')+_0x1cd3('0x4334')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x39fe')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0xe6'),_0x1cd3('0x4335')+'\x0a'+_0x1cd3('0x3adc')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d5a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ba1')+_0x1cd3('0x3671')+'\x0a'+_0x1cd3('0x388f')+'\x0a'+_0x1cd3('0x4337')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x3ba2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4338')+_0x1cd3('0x4339')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x433a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x39ee')+_0x1cd3('0x3e31')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e3b')+_0x1cd3('0x3d24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae6')+'\x0a'+_0x1cd3('0x3a22')+_0x1cd3('0x3e3c')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e3d')+_0x1cd3('0x433e')+_0x1cd3('0x3e3f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x433f')+_0x1cd3('0x3e42')+_0x1cd3('0x4340')+_0x1cd3('0x386f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e45')+_0x1cd3('0x4310')+_0x1cd3('0x4341')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e5')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x4312')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x4313')+_0x1cd3('0x4342')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4343')+_0x1cd3('0x3b24')+_0x1cd3('0x4314')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x4315')+_0x1cd3('0x4316')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4318')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Fax\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Fax\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x431b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x4349')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Website\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3f99')+_0x1cd3('0x434a')+_0x1cd3('0x3756')+_0x1cd3('0x39ea')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x4323')+_0x1cd3('0x4324')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x4325')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Email\x0a'+_0x1cd3('0x4327')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x434b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x434c')+_0x1cd3('0x3756')+_0x1cd3('0x4329')+_0x1cd3('0x432a')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x434d')+_0x1cd3('0x434e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x3e4f')+_0x1cd3('0x3b24')+_0x1cd3('0x432c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fa6')+_0x1cd3('0x3e51')+_0x1cd3('0x3fba')+_0x1cd3('0x3e52')+_0x1cd3('0x3fda')+_0x1cd3('0x3e3d')+_0x1cd3('0x434f')+_0x1cd3('0x3e3f')+_0x1cd3('0x3e40')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4350')+_0x1cd3('0x386f')+_0x1cd3('0x4351')+_0x1cd3('0x3e45')+_0x1cd3('0x4352')+_0x1cd3('0x4353')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e5')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4354')+_0x1cd3('0x3b24')+_0x1cd3('0x4355')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4356')+_0x1cd3('0x4357')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x4358')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Postal_Code\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x4359')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x435a')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20City\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x435b')+_0x1cd3('0x435c')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x435d')+_0x1cd3('0x3b24')+_0x1cd3('0x435e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fa6')+_0x1cd3('0x3e51')+_0x1cd3('0x3fba')+_0x1cd3('0x3e52')+_0x1cd3('0x3fda')+_0x1cd3('0x3e3d')+_0x1cd3('0x435f')+_0x1cd3('0x3e3f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4360')+_0x1cd3('0x3e42')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SHIPMENTADDRESS\x0a'+_0x1cd3('0x386f')+_0x1cd3('0x4361')+_0x1cd3('0x3e45')+_0x1cd3('0x4352')+_0x1cd3('0x4362')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x4363')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4355')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x4356')+_0x1cd3('0x4364')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x4365')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Postal_Code\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x4359')+_0x1cd3('0x4366')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4367')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x435b')+_0x1cd3('0x4368')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x4369')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x435e')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fa6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fba')+_0x1cd3('0x3e52')+_0x1cd3('0x3e53')+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a66')+'\x0a'+'\x0a');_0x404b17[_0x1cd3('0x37b')]('app/main/apps/contactmanager/views/contacts/contacts.html',_0x1cd3('0x436a')+'\x0a'+_0x1cd3('0x3adc')+_0x1cd3('0x39ff')+'\x0a'+_0x1cd3('0x3add')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ade')+_0x1cd3('0x436b')+_0x1cd3('0x38f9')+_0x1cd3('0x436c')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x3ae1')+'\x0a'+_0x1cd3('0x3d67')+_0x1cd3('0x3d68')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d6a')+_0x1cd3('0x3d6b')+_0x1cd3('0x436d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d6d')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae6')+'\x0a'+_0x1cd3('0x3a07')+_0x1cd3('0x436e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Back\x0a'+_0x1cd3('0x3671')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a0c')+_0x1cd3('0x3a0d')+_0x1cd3('0x436f')+_0x1cd3('0x4370')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20selected\x0a'+_0x1cd3('0x38f9')+'\x0a'+_0x1cd3('0x3aeb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a14')+_0x1cd3('0x367d')+_0x1cd3('0x3a15')+_0x1cd3('0x3a16')+_0x1cd3('0x4371')+_0x1cd3('0x3c2e')+_0x1cd3('0x3849')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a16')+_0x1cd3('0x4372')+_0x1cd3('0x3a19')+_0x1cd3('0x3849')+_0x1cd3('0x3aee')+_0x1cd3('0x3a1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4373')+_0x1cd3('0x3a1d')+_0x1cd3('0x3a1e')+_0x1cd3('0x4374')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x3686')+_0x1cd3('0x3a21')+'\x0a'+_0x1cd3('0x3a22')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3af1')+_0x1cd3('0x3a24')+_0x1cd3('0x3b4b')+_0x1cd3('0x4375')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4376')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CONTACTMANAGER.ALL_CONTACTS\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4377')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4378')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4379')+_0x1cd3('0x437a')+_0x1cd3('0x437b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20All\x0a'+_0x1cd3('0x437c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3870')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x437d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4379')+_0x1cd3('0x437e')+_0x1cd3('0x437f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20All\x0a'+_0x1cd3('0x4380')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3870')+_0x1cd3('0x4377')+_0x1cd3('0x437d')+_0x1cd3('0x4378')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4379')+_0x1cd3('0x4381')+_0x1cd3('0x4382')+_0x1cd3('0x4383')+_0x1cd3('0x387b')+_0x1cd3('0x3870')+_0x1cd3('0x4377')+_0x1cd3('0x437d')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4384')+_0x1cd3('0x4385')+_0x1cd3('0x4386')+_0x1cd3('0x4387')+_0x1cd3('0x4388')+_0x1cd3('0x4389')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ID\x0a'+_0x1cd3('0x438a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27CONTACTMANAGER.PHONE\x27\x20|\x20translate}}\x0a'+_0x1cd3('0x438b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27CONTACTMANAGER.CREATED_AT\x27\x20|\x20translate}}\x0a'+_0x1cd3('0x438c')+_0x1cd3('0x438d')+_0x1cd3('0x438e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x438f')+_0x1cd3('0x4390')+_0x1cd3('0x4391')+_0x1cd3('0x4392')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4393')+_0x1cd3('0x3bc3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4394')+_0x1cd3('0x4395')+_0x1cd3('0x4396')+_0x1cd3('0x4397')+_0x1cd3('0x4398')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{contact.email}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{contact.createdAt\x20|\x20date:\x27medium\x27}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.listsMap[contact.ListId]}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.companiesMap[contact.CompanyId]}}\x0a'+_0x1cd3('0x4399')+_0x1cd3('0x439a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x439b')+_0x1cd3('0x439c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x439d')+_0x1cd3('0x439e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{tag.name}},\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x439f')+_0x1cd3('0x3bc0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x43a0')+_0x1cd3('0x43a1')+_0x1cd3('0x43a2')+_0x1cd3('0x43a3')+_0x1cd3('0x43a4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x43a5')+_0x1cd3('0x43a6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Contact\x0a'+_0x1cd3('0x3be7')+_0x1cd3('0x43a7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x43a8')+_0x1cd3('0x43a9')+_0x1cd3('0x3be7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x43a5')+_0x1cd3('0x43aa')+_0x1cd3('0x43ab')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x43a7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x43ac')+_0x1cd3('0x43ad')+_0x1cd3('0x3be7')+_0x1cd3('0x43a7')+_0x1cd3('0x43ae')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x43a0')+_0x1cd3('0x4394')+_0x1cd3('0x43af')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x43b0')+'\x0a'+_0x1cd3('0x43b1')+_0x1cd3('0x43b2')+_0x1cd3('0x43b3')+_0x1cd3('0x43b4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a65')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x43b5')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x43b6')+_0x1cd3('0x43b7')+_0x1cd3('0x3671')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x43b8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x43c1')+_0x1cd3('0x43c2')+_0x1cd3('0x43c3')+_0x1cd3('0x43bf')+_0x1cd3('0x43c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x43c5')+_0x1cd3('0x43c6')+_0x1cd3('0x376e'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x144d'),'\x0a'+_0x1cd3('0x43c7')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x3b14')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b15')+_0x1cd3('0x3b16')+_0x1cd3('0x3b17')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b18')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x367d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x0a'+_0x1cd3('0x3b28')+_0x1cd3('0x43c8')+_0x1cd3('0x43c9')+'\x0a'+_0x1cd3('0x43ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20First\x20name\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+'\x0a'+_0x1cd3('0x3b28')+_0x1cd3('0x43cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+'\x0a'+_0x1cd3('0x3b28')+_0x1cd3('0x4313')+_0x1cd3('0x43cc')+_0x1cd3('0x36aa')+'\x0a'+_0x1cd3('0x3b28')+_0x1cd3('0x4326')+_0x1cd3('0x43cd')+_0x1cd3('0x36aa')+'\x0a'+_0x1cd3('0x3b28')+_0x1cd3('0x43ce')+_0x1cd3('0x43cf')+_0x1cd3('0x36aa')+'\x0a'+_0x1cd3('0x3b28')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Fax\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+'\x0a'+_0x1cd3('0x3b28')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x0a'+_0x1cd3('0x43d0')+_0x1cd3('0x43d1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{list.name}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20None\x0a'+_0x1cd3('0x3b65')+_0x1cd3('0x36a9')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x43d2')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+'\x0a'+_0x1cd3('0x43d3')+_0x1cd3('0x43d4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x43d5')+_0x1cd3('0x43d6')+_0x1cd3('0x43d7')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x43d8')+'\x0a'+_0x1cd3('0x43d9')+_0x1cd3('0x43da')+_0x1cd3('0x43db')+_0x1cd3('0x3b44')+_0x1cd3('0x3669')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x43dc')+_0x1cd3('0x43dd')+_0x1cd3('0x43de')+_0x1cd3('0x3669')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x43d8')+'\x0a'+_0x1cd3('0x43df')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x0a'+_0x1cd3('0x3b28')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Company\x0a'+_0x1cd3('0x43e0')+_0x1cd3('0x43e1')+_0x1cd3('0x36a9')+_0x1cd3('0x36aa')+'\x0a'+_0x1cd3('0x43e2')+_0x1cd3('0x43e3')+_0x1cd3('0x366a')+'\x0a'+_0x1cd3('0x43e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Date\x20of\x20Birth\x0a'+_0x1cd3('0x43e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x43e6')+_0x1cd3('0x435b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+'\x0a'+_0x1cd3('0x43e6')+_0x1cd3('0x4359')+_0x1cd3('0x43e7')+_0x1cd3('0x36aa')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Street\x0a'+_0x1cd3('0x43e8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x43e6')+_0x1cd3('0x43e9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+'\x0a'+_0x1cd3('0x43e6')+_0x1cd3('0x43ea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Fewer\x20Fields\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3b14')+_0x1cd3('0x3b1f')+_0x1cd3('0x3b15')+_0x1cd3('0x3b16')+_0x1cd3('0x3b17')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b18')+_0x1cd3('0x3b19')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x3b20')+_0x1cd3('0x3b47')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x1cd3('0x3859')+'\x0a'+_0x1cd3('0x43eb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20CONTACT\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x3b4b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x3675')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x384d'));_0x404b17['put'](_0x1cd3('0x144f'),_0x1cd3('0x43ec')+_0x1cd3('0x43c7')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x3b14')+_0x1cd3('0x3b1f')+_0x1cd3('0x3b15')+_0x1cd3('0x3b16')+_0x1cd3('0x3b17')+_0x1cd3('0x3756')+_0x1cd3('0x3b18')+_0x1cd3('0x3b19')+_0x1cd3('0x367d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3b28')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x0a'+_0x1cd3('0x43ed')+_0x1cd3('0x43ee')+_0x1cd3('0x36a9')+'\x0a'+_0x1cd3('0x43ef')+_0x1cd3('0x3b24')+_0x1cd3('0x43d2')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3b14')+_0x1cd3('0x3b1f')+_0x1cd3('0x3b15')+_0x1cd3('0x3b16')+_0x1cd3('0x3b17')+_0x1cd3('0x3756')+_0x1cd3('0x3b18')+_0x1cd3('0x3b19')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x388f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20CONTACT\x0a'+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3675')+_0x1cd3('0x3681')+_0x1cd3('0x3676'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x43f0'),_0x1cd3('0x43f1')+_0x1cd3('0x43f2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x39d7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b1f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x3b16')+_0x1cd3('0x3b17')+_0x1cd3('0x3756')+_0x1cd3('0x3b18')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x43f3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Date\x20is\x20required\x0a'+_0x1cd3('0x36b7')+_0x1cd3('0x3f20')+_0x1cd3('0x43f4')+_0x1cd3('0x36b7')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x43f5')+_0x1cd3('0x43f6')+_0x1cd3('0x43f7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x43f8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f20')+_0x1cd3('0x43f9')+_0x1cd3('0x36b7')+_0x1cd3('0x3756')+_0x1cd3('0x43fa')+_0x1cd3('0x366a')+'\x0a'+_0x1cd3('0x3b14')+_0x1cd3('0x3b1f')+_0x1cd3('0x3b15')+_0x1cd3('0x3b16')+_0x1cd3('0x3b17')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b18')+_0x1cd3('0x3b19')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x3b20')+_0x1cd3('0x3b47')+_0x1cd3('0x43fb')+_0x1cd3('0x3891')+_0x1cd3('0x3859')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x43fc')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b4b')+_0x1cd3('0x43fd')+_0x1cd3('0x3a20')+_0x1cd3('0x4334')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x3675')+_0x1cd3('0x3681')+_0x1cd3('0x3676'));_0x404b17[_0x1cd3('0x37b')]('app/main/apps/contactmanager/views/contacts/edit/view.html','\x0a'+'\x0a'+_0x1cd3('0x3adc')+_0x1cd3('0x3b9f')+_0x1cd3('0x3d5a')+_0x1cd3('0x43fe')+_0x1cd3('0x3ba1')+_0x1cd3('0x3859')+'\x0a'+_0x1cd3('0x3c37')+'\x0a'+_0x1cd3('0x43ff')+_0x1cd3('0x4400')+_0x1cd3('0x3756')+'\x0a'+_0x1cd3('0x4401')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4402')+_0x1cd3('0x36b7')+_0x1cd3('0x4403')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.contact.createdAt\x20|\x20date:\x27medium\x27}}\x0a'+_0x1cd3('0x36b7')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x4404')+_0x1cd3('0x4405')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Channels\x0a'+_0x1cd3('0x4406')+_0x1cd3('0x367d')+_0x1cd3('0x4407')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4408')+_0x1cd3('0x4409')+_0x1cd3('0x440a')+_0x1cd3('0x440b')+_0x1cd3('0x440c')+_0x1cd3('0x440d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x440e')+_0x1cd3('0x440f')+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x4410')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4411')+_0x1cd3('0x3671')+_0x1cd3('0x4412')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae6')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e3c')+'\x0a'+_0x1cd3('0x3baa')+_0x1cd3('0x3bab')+_0x1cd3('0x3bf2')+_0x1cd3('0x4413')+_0x1cd3('0x3bf3')+'\x0a'+_0x1cd3('0x3bb9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4414')+_0x1cd3('0x4415')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4416')+_0x1cd3('0x3841')+_0x1cd3('0x4417')+_0x1cd3('0x4418')+_0x1cd3('0x4419')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x441a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x441b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x441c')+_0x1cd3('0x3bc0')+_0x1cd3('0x3bc3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x441d')+_0x1cd3('0x441e')+_0x1cd3('0x441f')+_0x1cd3('0x4420')+_0x1cd3('0x4421')+_0x1cd3('0x4422')+'\x0a'+_0x1cd3('0x386f')+'\x0a'+_0x1cd3('0x4418')+_0x1cd3('0x4423')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4424')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x441f')+_0x1cd3('0x4425')+_0x1cd3('0x4426')+_0x1cd3('0x4427')+_0x1cd3('0x4422')+_0x1cd3('0x386f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4428')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4429')+_0x1cd3('0x442a')+_0x1cd3('0x442b')+_0x1cd3('0x441b')+_0x1cd3('0x442c')+_0x1cd3('0x442d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4422')+_0x1cd3('0x441d')+_0x1cd3('0x442e')+_0x1cd3('0x441f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Fax\x0a'+_0x1cd3('0x442f')+_0x1cd3('0x4430')+_0x1cd3('0x4422')+_0x1cd3('0x386f')+'\x0a'+_0x1cd3('0x4418')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Date\x20of\x20Birth\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x386f')+'\x0a'+_0x1cd3('0x4418')+_0x1cd3('0x4431')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Company\x0a'+_0x1cd3('0x4432')+_0x1cd3('0x4433')+_0x1cd3('0x4434')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{company.name}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20None\x0a'+_0x1cd3('0x4435')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4436')+_0x1cd3('0x4422')+_0x1cd3('0x4437')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4438')+_0x1cd3('0x4439')+_0x1cd3('0x386f')+'\x0a'+_0x1cd3('0x4418')+_0x1cd3('0x443a')+_0x1cd3('0x443b')+_0x1cd3('0x443c')+_0x1cd3('0x443d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x443e')+_0x1cd3('0x4435')+_0x1cd3('0x443f')+_0x1cd3('0x4422')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4440')+_0x1cd3('0x4441')+_0x1cd3('0x4439')+_0x1cd3('0x386f')+'\x0a'+_0x1cd3('0x4442')+_0x1cd3('0x4443')+_0x1cd3('0x386f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4444')+_0x1cd3('0x4445')+_0x1cd3('0x4446')+_0x1cd3('0x4447')+_0x1cd3('0x4448')+_0x1cd3('0x4449')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x444a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x444b')+_0x1cd3('0x444c')+_0x1cd3('0x444d')+_0x1cd3('0x386e')+'\x0a'+_0x1cd3('0x4444')+_0x1cd3('0x444a')+_0x1cd3('0x444e')+_0x1cd3('0x4446')+_0x1cd3('0x444f')+_0x1cd3('0x4450')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4451')+_0x1cd3('0x4446')+_0x1cd3('0x4452')+_0x1cd3('0x4453')+_0x1cd3('0x444d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4444')+_0x1cd3('0x4446')+_0x1cd3('0x4454')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x444d')+_0x1cd3('0x386e')+'\x0a'+_0x1cd3('0x3ca6')+_0x1cd3('0x4455')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x386e')+'\x0a'+_0x1cd3('0x386f')+_0x1cd3('0x3bf8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x4415')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Social\x0a'+_0x1cd3('0x4456')+_0x1cd3('0x4457')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4458')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4459')+_0x1cd3('0x445a')+_0x1cd3('0x445b')+_0x1cd3('0x445c')+_0x1cd3('0x4458')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x445d')+_0x1cd3('0x445e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x445f')+_0x1cd3('0x4460')+_0x1cd3('0x4461')+_0x1cd3('0x4462')+_0x1cd3('0x4463')+_0x1cd3('0x4464')+_0x1cd3('0x4465')+_0x1cd3('0x4460')+_0x1cd3('0x4466')+_0x1cd3('0x4467')+_0x1cd3('0x4468')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3841')+_0x1cd3('0x445f')+_0x1cd3('0x4460')+_0x1cd3('0x4469')+_0x1cd3('0x446a')+_0x1cd3('0x446b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x446c')+_0x1cd3('0x446d')+_0x1cd3('0x446e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x446f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f1c')+'\x0a'+_0x1cd3('0x40df')+'\x0a'+_0x1cd3('0x4470')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CUSTOM\x20FIELDS\x0a'+_0x1cd3('0x3841')+_0x1cd3('0x4471')+_0x1cd3('0x4106')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x0a'+_0x1cd3('0x4472')+_0x1cd3('0x4473')+_0x1cd3('0x4474')+_0x1cd3('0x4475')+_0x1cd3('0x4476')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4464')+_0x1cd3('0x4477')+_0x1cd3('0x4478')+_0x1cd3('0x4479')+_0x1cd3('0x447a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x447b')+_0x1cd3('0x3bc3')+_0x1cd3('0x4422')+'\x0a'+_0x1cd3('0x447c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x447d')+_0x1cd3('0x447e')+_0x1cd3('0x4475')+_0x1cd3('0x443f')+_0x1cd3('0x4422')+'\x0a'+_0x1cd3('0x447f')+_0x1cd3('0x4480')+_0x1cd3('0x4481')+_0x1cd3('0x4482')+_0x1cd3('0x4422')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4479')+_0x1cd3('0x4483')+_0x1cd3('0x4422')+_0x1cd3('0x386f')+_0x1cd3('0x3bf8')+_0x1cd3('0x36b7')+_0x1cd3('0x3756')+_0x1cd3('0x3bb6')+_0x1cd3('0x3bb7')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4484')+_0x1cd3('0x3bf3')+'\x0a'+_0x1cd3('0x3bb9')+_0x1cd3('0x4285')+_0x1cd3('0x4485')+_0x1cd3('0x4486')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Hopper\x0a'+_0x1cd3('0x3bc4')+_0x1cd3('0x4487')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4488')+_0x1cd3('0x4489')+_0x1cd3('0x3695')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3bc7')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3bcc')+_0x1cd3('0x448a')+_0x1cd3('0x448b')+_0x1cd3('0x3bcf')+_0x1cd3('0x448c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CONTACTMANAGER.PHONE\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x448d')+_0x1cd3('0x448e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CONTACTMANAGER.RECALLME\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x448f')+_0x1cd3('0x4490')+_0x1cd3('0x3bd7')+_0x1cd3('0x3bd8')+_0x1cd3('0x4491')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4492')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4493')+_0x1cd3('0x4494')+_0x1cd3('0x3bdc')+_0x1cd3('0x3bd7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4495')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hopper.phone}}\x0a'+_0x1cd3('0x4496')+_0x1cd3('0x4497')+_0x1cd3('0x4498')+_0x1cd3('0x4499')+_0x1cd3('0x3bdc')+_0x1cd3('0x449a')+_0x1cd3('0x449b')+_0x1cd3('0x449c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x449d')+_0x1cd3('0x3be7')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x42d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Hopper\x0a'+_0x1cd3('0x3bed')+_0x1cd3('0x449e')+_0x1cd3('0x449f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3bee')+_0x1cd3('0x42d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x44a0')+_0x1cd3('0x3bed')+_0x1cd3('0x3bee')+_0x1cd3('0x3bef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3bdc')+_0x1cd3('0x3bd7')+_0x1cd3('0x3bf1')+_0x1cd3('0x44a1')+_0x1cd3('0x44a2')+'\x0a'+_0x1cd3('0x44a3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36b7')+_0x1cd3('0x3756')+'\x0a'+_0x1cd3('0x4285')+_0x1cd3('0x4485')+_0x1cd3('0x4486')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x44a4')+_0x1cd3('0x3bc4')+_0x1cd3('0x44a5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4488')+_0x1cd3('0x4489')+_0x1cd3('0x3695')+_0x1cd3('0x386f')+_0x1cd3('0x3bc7')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x448a')+_0x1cd3('0x44a6')+_0x1cd3('0x3bcf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CONTACTMANAGER.UNIQUEID\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x44a7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CONTACTMANAGER.STATE\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x44a8')+_0x1cd3('0x44a9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3bd8')+_0x1cd3('0x4491')+_0x1cd3('0x44aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x44ab')+_0x1cd3('0x4493')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x44ac')+_0x1cd3('0x44ad')+_0x1cd3('0x44ae')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{final.statedesc}}\x0a'+_0x1cd3('0x44af')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{final.disposition}}\x0a'+_0x1cd3('0x3bd7')+_0x1cd3('0x3bf1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x44a2')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x44b0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3756')+'\x0a'+_0x1cd3('0x4285')+_0x1cd3('0x4485')+_0x1cd3('0x4486')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x44b1')+_0x1cd3('0x3bc4')+_0x1cd3('0x44b2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4488')+_0x1cd3('0x4489')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x386f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x448a')+_0x1cd3('0x44b3')+_0x1cd3('0x3bcf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CONTACTMANAGER.UNIQUEID\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CONTACTMANAGER.PHONE\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x44b4')+_0x1cd3('0x448d')+_0x1cd3('0x44a8')+_0x1cd3('0x44b5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3bd8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x44b6')+_0x1cd3('0x4492')+_0x1cd3('0x44ab')+_0x1cd3('0x4493')+_0x1cd3('0x4494')+_0x1cd3('0x3bdc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x44b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{history.uniqueid}}\x0a'+_0x1cd3('0x44b8')+_0x1cd3('0x44b9')+_0x1cd3('0x44ba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{history.starttime\x20|\x20date:\x27medium\x27}}\x0a'+_0x1cd3('0x44bb')+_0x1cd3('0x3bd7')+_0x1cd3('0x3bf1')+_0x1cd3('0x44a1')+_0x1cd3('0x44a2')+'\x0a'+_0x1cd3('0x44bc')+_0x1cd3('0x44b0')+_0x1cd3('0x36b7')+_0x1cd3('0x3756')+_0x1cd3('0x3bb6')+_0x1cd3('0x3bb7')+'\x0a'+_0x1cd3('0x44bd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x44be')+_0x1cd3('0x3bf3')+'\x0a'+_0x1cd3('0x3bb9')+_0x1cd3('0x4285')+_0x1cd3('0x4485')+_0x1cd3('0x4486')+_0x1cd3('0x3bc9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Sessions\x0a'+_0x1cd3('0x3bc4')+_0x1cd3('0x44bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3bc7')+'\x0a'+_0x1cd3('0x44c0')+_0x1cd3('0x3bcc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x44c1')+_0x1cd3('0x3bcf')+_0x1cd3('0x448c')+_0x1cd3('0x44a8')+_0x1cd3('0x44b5')+_0x1cd3('0x44c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CONTACTMANAGER.PROJECT\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x44c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3bd8')+_0x1cd3('0x4491')+_0x1cd3('0x44c4')+_0x1cd3('0x44c5')+_0x1cd3('0x44ab')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a'+_0x1cd3('0x4494')+_0x1cd3('0x3bdc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x44c6')+_0x1cd3('0x44c7')+_0x1cd3('0x44c8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{session.endtime\x20|\x20date:\x27medium\x27}}\x0a'+_0x1cd3('0x44c9')+_0x1cd3('0x44ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3bd7')+_0x1cd3('0x3bf1')+_0x1cd3('0x44a1')+_0x1cd3('0x44a2')+'\x0a'+_0x1cd3('0x44a3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36b7')+_0x1cd3('0x3756')+_0x1cd3('0x3bb6')+_0x1cd3('0x3bb7')+'\x0a'+_0x1cd3('0x3bab')+_0x1cd3('0x3bf2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CUSTOMER\x20JOURNEY\x0a'+_0x1cd3('0x3bf3')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x44cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3861')+_0x1cd3('0x3bb6')+_0x1cd3('0x3bb7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a66')+'\x0a'+'\x0a');_0x404b17[_0x1cd3('0x37b')]('app/main/apps/contactmanager/views/contacts/import/import.html',_0x1cd3('0x44cc')+_0x1cd3('0x44cd')+_0x1cd3('0x3666')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x44ce')+_0x1cd3('0x44cf')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x44d0')+_0x1cd3('0x44d1')+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x3b14')+_0x1cd3('0x3b1f')+_0x1cd3('0x3b15')+_0x1cd3('0x3b16')+_0x1cd3('0x3b17')+_0x1cd3('0x3756')+_0x1cd3('0x3b18')+_0x1cd3('0x3b19')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x366a')+'\x0a'+_0x1cd3('0x3a0d')+_0x1cd3('0x44d2')+_0x1cd3('0x44d3')+'\x0a'+_0x1cd3('0x44d4')+_0x1cd3('0x44d5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x44d6')+_0x1cd3('0x44d7')+_0x1cd3('0x44d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x44d9')+_0x1cd3('0x44da')+'\x0a'+_0x1cd3('0x44db')+_0x1cd3('0x44dc')+_0x1cd3('0x44dd')+_0x1cd3('0x44de')+_0x1cd3('0x44d9')+_0x1cd3('0x44da')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x44df')+_0x1cd3('0x44e0')+_0x1cd3('0x44d6')+_0x1cd3('0x44e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CONTACTMANAGER.NONE\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x44e2')+_0x1cd3('0x44d9')+_0x1cd3('0x44da')+'\x0a'+_0x1cd3('0x44db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Company\x0a'+_0x1cd3('0x44e3')+_0x1cd3('0x44e4')+_0x1cd3('0x44e5')+_0x1cd3('0x44e6')+_0x1cd3('0x44e2')+_0x1cd3('0x44d9')+_0x1cd3('0x44da')+'\x0a'+_0x1cd3('0x44db')+_0x1cd3('0x44e7')+_0x1cd3('0x44e8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x44da')+'\x0a'+_0x1cd3('0x44e9')+_0x1cd3('0x44ea')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x44eb')+_0x1cd3('0x44ec')+_0x1cd3('0x44ed')+_0x1cd3('0x44ee')+_0x1cd3('0x44ef')+_0x1cd3('0x44f0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3868')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x44f1')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x44f2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x44f3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x44f4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x44f5')+_0x1cd3('0x44f6')+_0x1cd3('0x44f7')+_0x1cd3('0x44f8')+_0x1cd3('0x44f9')+_0x1cd3('0x44fa')+_0x1cd3('0x44fb')+_0x1cd3('0x44fc')+_0x1cd3('0x386f')+_0x1cd3('0x44fd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x44fe')+_0x1cd3('0x44ff')+_0x1cd3('0x4500')+_0x1cd3('0x4501')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x44f8')+_0x1cd3('0x44f9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4502')+_0x1cd3('0x4503')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Success\x0a'+_0x1cd3('0x3841')+_0x1cd3('0x4504')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x44ff')+_0x1cd3('0x4505')+'\x0a'+_0x1cd3('0x4506')+_0x1cd3('0x4507')+_0x1cd3('0x44f8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x44fa')+_0x1cd3('0x4508')+_0x1cd3('0x4509')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Failure\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x44fe')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x450a')+_0x1cd3('0x44f8')+_0x1cd3('0x44f9')+_0x1cd3('0x44fa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x450b')+_0x1cd3('0x386f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Duplicates\x0a'+_0x1cd3('0x3841')+_0x1cd3('0x4504')+_0x1cd3('0x44fe')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x450c')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x366f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b4b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x450d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x450e')+_0x1cd3('0x450f')+_0x1cd3('0x3859')+_0x1cd3('0x4510')+_0x1cd3('0x4511')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3675')+_0x1cd3('0x3681')+_0x1cd3('0x3676'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x161d'),_0x1cd3('0x4512')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3666')+_0x1cd3('0x3667')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x3857')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x3b14')+_0x1cd3('0x3b1f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x3b16')+_0x1cd3('0x3b17')+_0x1cd3('0x3756')+_0x1cd3('0x3b18')+_0x1cd3('0x3b19')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4513')+_0x1cd3('0x4514')+_0x1cd3('0x36aa')+'\x0a'+_0x1cd3('0x4515')+_0x1cd3('0x4516')+_0x1cd3('0x4517')+_0x1cd3('0x4518')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4519')+_0x1cd3('0x451a')+_0x1cd3('0x451b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x3757')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b15')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x3b17')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b18')+_0x1cd3('0x3b19')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+_0x1cd3('0x366f')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3676'));_0x404b17['put'](_0x1cd3('0x14ec'),_0x1cd3('0x451c')+_0x1cd3('0x451d')+_0x1cd3('0x3666')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x451e')+_0x1cd3('0x451f')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x4520')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4521')+_0x1cd3('0x3756')+_0x1cd3('0x39ea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x0a'+_0x1cd3('0x4522')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6e')+_0x1cd3('0x4523')+_0x1cd3('0x3dff')+_0x1cd3('0x3a6f')+_0x1cd3('0x4524')+_0x1cd3('0x3a4d')+_0x1cd3('0x4525')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Number\x0a'+_0x1cd3('0x4528')+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Switch\x0a'+_0x1cd3('0x4529')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x452a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x452b')+_0x1cd3('0x3b24')+_0x1cd3('0x4348')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x452c')+_0x1cd3('0x452d')+_0x1cd3('0x452e')+_0x1cd3('0x452f')+_0x1cd3('0x4530')+_0x1cd3('0x4531')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4532')+_0x1cd3('0x4533')+_0x1cd3('0x4534')+_0x1cd3('0x41c1')+_0x1cd3('0x3757')+_0x1cd3('0x4535')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4536')+_0x1cd3('0x4537')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4538')+_0x1cd3('0x4534')+_0x1cd3('0x41c1')+_0x1cd3('0x3757')+_0x1cd3('0x4535')+_0x1cd3('0x452d')+_0x1cd3('0x4539')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Items\x0a'+_0x1cd3('0x3757')+_0x1cd3('0x4535')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3acf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3870')+_0x1cd3('0x3ed3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x39ef')+_0x1cd3('0x388f')+_0x1cd3('0x453a')+_0x1cd3('0x3ad7')+_0x1cd3('0x453b')+_0x1cd3('0x432e')+_0x1cd3('0x39f3')+_0x1cd3('0x39f4')+'\x0a'+_0x1cd3('0x453c')+_0x1cd3('0x39f6')+_0x1cd3('0x453d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22CONTACTMANAGER.ADD_GLOBALCUSTOMFIELD\x22\x20translate-attr-aria-label=\x22CONTACTMANAGER.ADD_GLOBALCUSTOMFIELD\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20GLOBALCUSTOMFIELD\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x39fa')+_0x1cd3('0x453e')+_0x1cd3('0x4333')+_0x1cd3('0x3a20')+_0x1cd3('0x4334')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x39fe')+'\x20\x20\x20\x20\x0a'+'\x0a');_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x453f'),'\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ff')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x42ea')+_0x1cd3('0x38f9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GlobalCustomFields\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x3ae1')+'\x0a'+_0x1cd3('0x3ae2')+_0x1cd3('0x3ae3')+_0x1cd3('0x3a02')+_0x1cd3('0x3a03')+_0x1cd3('0x3ae4')+_0x1cd3('0x3a04')+_0x1cd3('0x3a05')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36c2')+_0x1cd3('0x366a')+_0x1cd3('0x3ae5')+_0x1cd3('0x3756')+_0x1cd3('0x3686')+_0x1cd3('0x3ae6')+'\x0a'+_0x1cd3('0x3a07')+'\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a'+_0x1cd3('0x3a09')+'\x0a'+_0x1cd3('0x4540')+_0x1cd3('0x3a0b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Back\x0a'+_0x1cd3('0x3671')+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x3a0c')+'\x0a'+_0x1cd3('0x3a0d')+_0x1cd3('0x4541')+_0x1cd3('0x4542')+_0x1cd3('0x42ee')+_0x1cd3('0x38f9')+'\x0a'+_0x1cd3('0x3aeb')+_0x1cd3('0x3a11')+_0x1cd3('0x3a12')+_0x1cd3('0x3aec')+_0x1cd3('0x4543')+_0x1cd3('0x3a14')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a15')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4544')+_0x1cd3('0x3c2e')+_0x1cd3('0x3849')+_0x1cd3('0x3aee')+_0x1cd3('0x3a16')+_0x1cd3('0x4545')+_0x1cd3('0x3a19')+_0x1cd3('0x3849')+_0x1cd3('0x3aee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3aef')+_0x1cd3('0x366a')+'\x0a'+_0x1cd3('0x3a1b')+_0x1cd3('0x4546')+_0x1cd3('0x3a1d')+_0x1cd3('0x3a1e')+_0x1cd3('0x4547')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22CONTACTMANAGER.DELETE_SELECTED\x22>\x0a'+_0x1cd3('0x3a20')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a21')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a23')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a24')+'\x0a'+_0x1cd3('0x3a25')+_0x1cd3('0x4548')+_0x1cd3('0x3a27')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4549')+_0x1cd3('0x454a')+_0x1cd3('0x3a2a')+_0x1cd3('0x3a2b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CONTACTMANAGER.ID\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x454b')+_0x1cd3('0x454c')+_0x1cd3('0x454d')+_0x1cd3('0x3a33')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3db3')+_0x1cd3('0x3a35')+_0x1cd3('0x454e')+_0x1cd3('0x3c56')+_0x1cd3('0x3a38')+_0x1cd3('0x42fa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a34')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x454f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{globalCustomField.id}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{globalCustomField.alias}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3b03')+'\x0a'+_0x1cd3('0x3a49')+'\x0a'+_0x1cd3('0x3a4a')+_0x1cd3('0x4303')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x395d')+'\x0a'+_0x1cd3('0x3b04')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a4f')+'\x0a'+_0x1cd3('0x4551')+_0x1cd3('0x4552')+_0x1cd3('0x4553')+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4554')+_0x1cd3('0x4555')+_0x1cd3('0x4556')+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+_0x1cd3('0x3699')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3951')+'\x0a'+'\x0a'+_0x1cd3('0x3a34')+_0x1cd3('0x3a5d')+_0x1cd3('0x3a5e')+_0x1cd3('0x3a5f')+'\x0a'+_0x1cd3('0x4557')+_0x1cd3('0x3a61')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a63')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a65')+'\x0a'+_0x1cd3('0x3686')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4558')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x4310')+_0x1cd3('0x455b')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e5')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x455c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x434d')+_0x1cd3('0x455d')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x455e')+_0x1cd3('0x3b24')+_0x1cd3('0x432c')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x39ef')+_0x1cd3('0x388f')+_0x1cd3('0x455f')+_0x1cd3('0x3ad7')+_0x1cd3('0x4560')+_0x1cd3('0x432e')+_0x1cd3('0x39f3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4561')+_0x1cd3('0x39f6')+_0x1cd3('0x4562')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22CONTACTMANAGER.ADD_LIST\x22\x20translate-attr-aria-label=\x22CONTACTMANAGER.ADD_LIST\x22>\x0a'+_0x1cd3('0x4563')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39fa')+_0x1cd3('0x4564')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22CONTACTMANAGER.DELETE\x22>\x0a'+_0x1cd3('0x3a20')+_0x1cd3('0x4334')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x39fe')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x1526'),_0x1cd3('0x4565')+_0x1cd3('0x4566')+_0x1cd3('0x3e1f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4567')+_0x1cd3('0x3d50')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e21')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e22')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ba9')+_0x1cd3('0x3671')+_0x1cd3('0x3675')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17['put'](_0x1cd3('0x1511'),_0x1cd3('0x4568')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3666')+_0x1cd3('0x3667')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Alias\x0a'+_0x1cd3('0x4569')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x456a')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Alias\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x431e')+_0x1cd3('0x456b')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.newCustomField\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x4524')+_0x1cd3('0x3a4d')+_0x1cd3('0x4525')+_0x1cd3('0x456c')+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Select\x0a'+_0x1cd3('0x4527')+_0x1cd3('0x3a4d')+_0x1cd3('0x456d')+_0x1cd3('0x4528')+_0x1cd3('0x3a4d')+_0x1cd3('0x456e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x456f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4348')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x452d')+_0x1cd3('0x452e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4530')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41c1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4533')+_0x1cd3('0x4534')+_0x1cd3('0x41c1')+_0x1cd3('0x3757')+_0x1cd3('0x4535')+_0x1cd3('0x4570')+_0x1cd3('0x4571')+_0x1cd3('0x4536')+_0x1cd3('0x4537')+_0x1cd3('0x4572')+_0x1cd3('0x414f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4538')+_0x1cd3('0x4534')+_0x1cd3('0x41c1')+_0x1cd3('0x3757')+_0x1cd3('0x4535')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4573')+_0x1cd3('0x4574')+_0x1cd3('0x3757')+_0x1cd3('0x4535')+_0x1cd3('0x366a')+_0x1cd3('0x3acf')+_0x1cd3('0x4575')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ed3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x39ef')+_0x1cd3('0x388f')+_0x1cd3('0x4576')+_0x1cd3('0x3ad7')+_0x1cd3('0x4577')+_0x1cd3('0x432e')+_0x1cd3('0x39f3')+_0x1cd3('0x39f4')+'\x0a'+_0x1cd3('0x4578')+_0x1cd3('0x39f6')+_0x1cd3('0x4579')+_0x1cd3('0x457a')+_0x1cd3('0x457b')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x39fa')+_0x1cd3('0x457c')+_0x1cd3('0x4333')+_0x1cd3('0x3a20')+_0x1cd3('0x4334')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x39fe')+'\x20\x20\x20\x20\x0a'+'\x0a');_0x404b17['put'](_0x1cd3('0xde'),'\x0a'+'\x0a'+_0x1cd3('0x3adc')+_0x1cd3('0x3b9f')+_0x1cd3('0x3d5a')+_0x1cd3('0x457d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.gotoLists()\x22\x0a'+_0x1cd3('0x457e')+_0x1cd3('0x3ba1')+_0x1cd3('0x3671')+'\x0a'+_0x1cd3('0x388f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x457f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x0a'+_0x1cd3('0x3ba2')+_0x1cd3('0x3ba3')+_0x1cd3('0x4580')+_0x1cd3('0x4581')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4582')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x39ee')+_0x1cd3('0x3e31')+_0x1cd3('0x4583')+_0x1cd3('0x3f93')+_0x1cd3('0x433b')+_0x1cd3('0x4584')+_0x1cd3('0x433d')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x39ee')+_0x1cd3('0x3e31')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x38c3')+_0x1cd3('0x4587')+_0x1cd3('0x3e3b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3ae6')+'\x0a'+_0x1cd3('0x3a22')+_0x1cd3('0x3e3c')+'\x0a'+_0x1cd3('0x3baa')+_0x1cd3('0x3fda')+_0x1cd3('0x3e3d')+_0x1cd3('0x4588')+_0x1cd3('0x3e3f')+_0x1cd3('0x3e40')+_0x1cd3('0x4589')+_0x1cd3('0x3e42')+_0x1cd3('0x4340')+_0x1cd3('0x386f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e45')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x434d')+_0x1cd3('0x455d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4f')+_0x1cd3('0x3b24')+_0x1cd3('0x432c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x458a')+_0x1cd3('0x458b')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x458c')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Prefix\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x3fa6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fda')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x458d')+_0x1cd3('0x3e3f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x458e')+_0x1cd3('0x458f')+_0x1cd3('0x4590')+_0x1cd3('0x4118')+_0x1cd3('0x4591')+_0x1cd3('0x411a')+_0x1cd3('0x411b')+_0x1cd3('0x4592')+_0x1cd3('0x4593')+_0x1cd3('0x411d')+_0x1cd3('0x4104')+_0x1cd3('0x3669')+_0x1cd3('0x415d')+_0x1cd3('0x4594')+_0x1cd3('0x411f')+_0x1cd3('0x4595')+_0x1cd3('0x3b5a')+_0x1cd3('0x4596')+_0x1cd3('0x4121')+_0x1cd3('0x415a')+_0x1cd3('0x4597')+_0x1cd3('0x4598')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x415d')+_0x1cd3('0x4123')+_0x1cd3('0x4599')+_0x1cd3('0x459a')+_0x1cd3('0x4160')+_0x1cd3('0x4126')+_0x1cd3('0x459b')+_0x1cd3('0x4128')+_0x1cd3('0x459c')+_0x1cd3('0x459d')+_0x1cd3('0x4128')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CONTACTMANAGER.TYPE\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4128')+_0x1cd3('0x459e')+_0x1cd3('0x459f')+_0x1cd3('0x4128')+_0x1cd3('0x412e')+_0x1cd3('0x412f')+_0x1cd3('0x417f')+_0x1cd3('0x4130')+_0x1cd3('0x45a0')+'>\x0a'+_0x1cd3('0x45a1')+_0x1cd3('0x45a2')+_0x1cd3('0x4133')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x45a3')+_0x1cd3('0x4133')+_0x1cd3('0x4135')+_0x1cd3('0x45a4')+_0x1cd3('0x41ff')+_0x1cd3('0x45a5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x45a6')+_0x1cd3('0x4166')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x45a7')+_0x1cd3('0x4141')+_0x1cd3('0x4185')+'\x20\x0a'+_0x1cd3('0x4167')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x45a8')+_0x1cd3('0x45a9')+_0x1cd3('0x4145')+_0x1cd3('0x4146')+_0x1cd3('0x4147')+_0x1cd3('0x45aa')+_0x1cd3('0x45ab')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x414a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x414b')+_0x1cd3('0x412f')+_0x1cd3('0x45ac')+_0x1cd3('0x418b')+_0x1cd3('0x414d')+_0x1cd3('0x45ad')+_0x1cd3('0x414f')+_0x1cd3('0x4150')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4151')+_0x1cd3('0x4152')+_0x1cd3('0x416d')+_0x1cd3('0x45ae')+_0x1cd3('0x3824')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fba')+_0x1cd3('0x3e52')+_0x1cd3('0x3fda')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DISPOSITIONS\x0a'+_0x1cd3('0x3e3f')+_0x1cd3('0x3e40')+_0x1cd3('0x45af')+_0x1cd3('0x45b0')+'\x20\x20\x0a'+_0x1cd3('0x4118')+_0x1cd3('0x45b1')+_0x1cd3('0x411a')+_0x1cd3('0x411b')+_0x1cd3('0x45b2')+_0x1cd3('0x45b3')+_0x1cd3('0x411d')+_0x1cd3('0x4104')+_0x1cd3('0x3669')+_0x1cd3('0x415d')+'\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x45b4')+_0x1cd3('0x3b5a')+_0x1cd3('0x45b5')+_0x1cd3('0x4121')+_0x1cd3('0x415a')+_0x1cd3('0x45b6')+_0x1cd3('0x4598')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x415d')+'\x20\x20\x0a'+_0x1cd3('0x45b7')+_0x1cd3('0x45b8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4126')+_0x1cd3('0x459b')+_0x1cd3('0x4128')+_0x1cd3('0x45b9')+_0x1cd3('0x45ba')+_0x1cd3('0x4128')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CONTACTMANAGER.CREATED_AT\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x412e')+_0x1cd3('0x412f')+_0x1cd3('0x417f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x45bb')+'>\x0a'+_0x1cd3('0x45bc')+_0x1cd3('0x45bd')+_0x1cd3('0x4133')+_0x1cd3('0x45be')+_0x1cd3('0x45bf')+_0x1cd3('0x4133')+_0x1cd3('0x45c0')+_0x1cd3('0x45c1')+_0x1cd3('0x413e')+_0x1cd3('0x4166')+_0x1cd3('0x413f')+_0x1cd3('0x45a7')+_0x1cd3('0x4141')+_0x1cd3('0x4185')+'\x20\x0a'+_0x1cd3('0x4167')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x45c2')+_0x1cd3('0x4145')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x45c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20VoiceDisposition\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4149')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x412f')+_0x1cd3('0x45c4')+_0x1cd3('0x416b')+_0x1cd3('0x414d')+_0x1cd3('0x45c5')+_0x1cd3('0x414f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x412f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4152')+_0x1cd3('0x416d')+_0x1cd3('0x45c6')+_0x1cd3('0x3824')+'\x0a'+_0x1cd3('0x3e51')+_0x1cd3('0x3fba')+_0x1cd3('0x3e52')+_0x1cd3('0x3e53')+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a66')+'\x0a'+'\x0a');_0x404b17['put'](_0x1cd3('0x1533'),_0x1cd3('0x45c7')+_0x1cd3('0x45c8')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x0a'+_0x1cd3('0x45c9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x45ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4312')+_0x1cd3('0x3756')+_0x1cd3('0x39ea')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x39ef')+_0x1cd3('0x388f')+_0x1cd3('0x45cb')+_0x1cd3('0x3ad7')+_0x1cd3('0x45cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22CONTACTMANAGER.SAVE\x22\x20translate-attr-aria-label=\x22CONTACTMANAGER.SAVE\x22>\x0a'+_0x1cd3('0x39f3')+_0x1cd3('0x39f4')+'\x0a'+_0x1cd3('0x45cd')+_0x1cd3('0x39f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22voiceDispositionForm.$invalid\x22\x0a'+_0x1cd3('0x45ce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20VOICEDISPOSITION\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x45cf')+_0x1cd3('0x4333')+_0x1cd3('0x3a20')+_0x1cd3('0x4334')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39fe')+'\x20\x20\x20\x20\x0a'+'\x0a');_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0xda'),'\x0a'+'\x0a'+_0x1cd3('0x3adc')+_0x1cd3('0x39ff')+'\x0a'+_0x1cd3('0x3add')+_0x1cd3('0x37e6')+_0x1cd3('0x3a00')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x42ea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x45d0')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x3ae1')+'\x0a'+_0x1cd3('0x3ae2')+_0x1cd3('0x3ae3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a03')+_0x1cd3('0x3ae4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a05')+_0x1cd3('0x42eb')+_0x1cd3('0x36c2')+_0x1cd3('0x366a')+_0x1cd3('0x3ae5')+_0x1cd3('0x3756')+_0x1cd3('0x3686')+_0x1cd3('0x3ae6')+'\x0a'+_0x1cd3('0x3a07')+'\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a'+_0x1cd3('0x3a09')+'\x0a'+_0x1cd3('0x45d1')+_0x1cd3('0x3a0b')+_0x1cd3('0x3ae8')+_0x1cd3('0x45d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a0c')+'\x0a'+_0x1cd3('0x3a0d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x45d3')+_0x1cd3('0x42ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3aeb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x367d')+_0x1cd3('0x3a15')+_0x1cd3('0x3a16')+_0x1cd3('0x45d4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Select\x20all\x0a'+_0x1cd3('0x3849')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a16')+_0x1cd3('0x45d5')+_0x1cd3('0x3a19')+_0x1cd3('0x3849')+_0x1cd3('0x3aee')+_0x1cd3('0x3a1a')+_0x1cd3('0x3aef')+_0x1cd3('0x366a')+'\x0a'+_0x1cd3('0x3a1b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a1d')+_0x1cd3('0x3a1e')+_0x1cd3('0x45d6')+_0x1cd3('0x42f2')+_0x1cd3('0x3a20')+_0x1cd3('0x3859')+_0x1cd3('0x3841')+_0x1cd3('0x36f6')+_0x1cd3('0x3686')+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a23')+'\x0a'+_0x1cd3('0x3af1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a25')+_0x1cd3('0x45d7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3af3')+_0x1cd3('0x45d8')+_0x1cd3('0x45d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a2b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CONTACTMANAGER.ID\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x45da')+_0x1cd3('0x42f7')+_0x1cd3('0x3a33')+_0x1cd3('0x3a34')+_0x1cd3('0x3db3')+_0x1cd3('0x3a35')+_0x1cd3('0x45db')+_0x1cd3('0x42f9')+_0x1cd3('0x3a38')+_0x1cd3('0x42fa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3af8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x45dc')+_0x1cd3('0x45dd')+_0x1cd3('0x45de')+_0x1cd3('0x45df')+_0x1cd3('0x45e0')+_0x1cd3('0x45e1')+_0x1cd3('0x45e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{list.description}}\x0a'+_0x1cd3('0x3b02')+'\x0a'+_0x1cd3('0x3cdd')+'\x0a'+_0x1cd3('0x3a49')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x395d')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3ce1')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3ce1')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x45e6')+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3ce1')+'\x0a'+_0x1cd3('0x45e7')+_0x1cd3('0x45e8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AgentAdd\x20List\x0a'+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a54')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a4e')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x45e9')+_0x1cd3('0x45ea')+_0x1cd3('0x45eb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3699')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3951')+'\x0a'+'\x0a'+_0x1cd3('0x3a34')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a5e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x0a'+_0x1cd3('0x45ec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a63')+'\x0a'+_0x1cd3('0x3a64')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a66')+'\x0a'+_0x1cd3('0x45ed')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b0f')+_0x1cd3('0x376d')+_0x1cd3('0x45ee')+_0x1cd3('0x3686'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x10b'),_0x1cd3('0x45ef')+_0x1cd3('0x45f0')+_0x1cd3('0x376e')+_0x1cd3('0x45f1')+_0x1cd3('0x45f2')+_0x1cd3('0x45f3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x45f4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x45f5')+_0x1cd3('0x45f6')+_0x1cd3('0x45f7')+_0x1cd3('0x45f8')+_0x1cd3('0x3b44')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x45f9')+_0x1cd3('0x45fa')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+_0x1cd3('0x45fb')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x376e'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x45fc'),'\x0a'+_0x1cd3('0x45fd')+_0x1cd3('0x45fe')+_0x1cd3('0x45ff')+_0x1cd3('0x4600')+_0x1cd3('0x4601')+_0x1cd3('0x36ed')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4603')+_0x1cd3('0x4604')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x460c')+_0x1cd3('0x366a')+_0x1cd3('0x460d')+_0x1cd3('0x3686')+_0x1cd3('0x460e')+_0x1cd3('0x460f')+'\x20\x20\x20\x20\x20\x20\x20\x20ng-include=\x22\x27app/main/apps/dashboards/views/general/agent/home/agent.general.home.html\x27\x22\x0a'+_0x1cd3('0x4610')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4611')+_0x1cd3('0x4612')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-include=\x22\x27app/main/apps/dashboards/views/general/agent/contact/agent.general.contact.html\x27\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-controller=\x22AgentGeneralContactController\x20as\x20vm\x22\x20ng-init=\x22vm.init(tab,$parent.vm.license)\x22>\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x4613')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4619')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-style=\x22{\x27top\x27:\x20vm.detectBrowser.browser\x20==\x20\x27safari\x27\x20?\x20\x27100px\x27\x20:\x20\x2736px\x27}\x22\x0a'+_0x1cd3('0x461b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-controller=\x22AgentGeneralInteractionController\x20as\x20vm\x22\x20ng-init=\x22vm.init(tab,\x20$parent.vm.setting)\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x461c')+_0x1cd3('0x461d')+_0x1cd3('0x4612')+_0x1cd3('0x461e')+_0x1cd3('0x461f')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x1859'));_0x404b17[_0x1cd3('0x37b')]('app/main/apps/dashboards/views/general/agent/bot/agent.general.bot.html',_0x1cd3('0x4620')+'\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4621')+_0x1cd3('0x4622')+_0x1cd3('0x4623')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4624')+_0x1cd3('0x4625')+_0x1cd3('0x4626')+_0x1cd3('0x4627')+_0x1cd3('0x4628')+_0x1cd3('0x4629')+_0x1cd3('0x462a')+_0x1cd3('0x462b')+_0x1cd3('0x462c')+_0x1cd3('0x462d')+_0x1cd3('0x462e')+_0x1cd3('0x462f')+_0x1cd3('0x4630')+_0x1cd3('0x4631')+_0x1cd3('0x4632')+_0x1cd3('0x4633')+_0x1cd3('0x3841')+_0x1cd3('0x36b7')+_0x1cd3('0x4634')+_0x1cd3('0x39e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4635')+_0x1cd3('0x4636')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x463a')+_0x1cd3('0x463b')+_0x1cd3('0x4624')+_0x1cd3('0x463c')+_0x1cd3('0x463d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x463e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x463f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20System\x20-\x20{{message.createdAt\x20|\x20date:\x20\x27medium\x27}}\x0a'+_0x1cd3('0x3bc3')+_0x1cd3('0x4640')+_0x1cd3('0x4641')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x386e')+_0x1cd3('0x386f')+_0x1cd3('0x4642')+_0x1cd3('0x3841')+_0x1cd3('0x36b7')+_0x1cd3('0x4643')+_0x1cd3('0x3756')+_0x1cd3('0x44f1')+_0x1cd3('0x4644')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x3d64')+'\x20\x20\x20\x20');_0x404b17[_0x1cd3('0x37b')]('app/main/apps/dashboards/views/general/agent/contact/agent.general.contact.html',_0x1cd3('0x4645')+_0x1cd3('0x4646')+_0x1cd3('0x4647')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Detail\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x4648')+_0x1cd3('0x4649')+_0x1cd3('0x464a')+_0x1cd3('0x464b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x464c')+_0x1cd3('0x464d')+_0x1cd3('0x464e')+_0x1cd3('0x464f')+_0x1cd3('0x4650')+_0x1cd3('0x3841')+_0x1cd3('0x4651')+_0x1cd3('0x4652')+_0x1cd3('0x4653')+_0x1cd3('0x4654')+_0x1cd3('0x4655')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4656')+_0x1cd3('0x4657')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name:\x20{{\x20call.calleridname\x20}}\x0a'+_0x1cd3('0x386f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4658')+_0x1cd3('0x4659')+_0x1cd3('0x386f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x465a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Extra:\x20{{call.variables.extravar}}\x0a'+_0x1cd3('0x386f')+_0x1cd3('0x3841')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x465b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x465c')+_0x1cd3('0x465d')+_0x1cd3('0x465e')+_0x1cd3('0x465f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4660')+_0x1cd3('0x4661')+_0x1cd3('0x4662')+_0x1cd3('0x395d')+_0x1cd3('0x4663')+_0x1cd3('0x4664')+_0x1cd3('0x395d')+_0x1cd3('0x4665')+_0x1cd3('0x4666')+_0x1cd3('0x395d')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x464a')+_0x1cd3('0x4667')+_0x1cd3('0x4668')+_0x1cd3('0x4669')+_0x1cd3('0x466a')+_0x1cd3('0x466b')+_0x1cd3('0x3841')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4418')+_0x1cd3('0x466c')+_0x1cd3('0x4446')+_0x1cd3('0x466d')+_0x1cd3('0x466e')+_0x1cd3('0x466f')+_0x1cd3('0x4670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20First\x20name\x20field\x20is\x20required\x0a'+_0x1cd3('0x4494')+_0x1cd3('0x3bc0')+_0x1cd3('0x444d')+_0x1cd3('0x4640')+_0x1cd3('0x4671')+_0x1cd3('0x4672')+_0x1cd3('0x4673')+_0x1cd3('0x3d8f')+'\x0a'+_0x1cd3('0x4674')+_0x1cd3('0x4675')+_0x1cd3('0x4676')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{project.name}}\x0a'+_0x1cd3('0x4677')+_0x1cd3('0x4678')+_0x1cd3('0x4679')+_0x1cd3('0x467a')+_0x1cd3('0x467b')+_0x1cd3('0x4677')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3bc3')+_0x1cd3('0x386e')+_0x1cd3('0x441d')+_0x1cd3('0x441f')+_0x1cd3('0x467c')+_0x1cd3('0x467d')+_0x1cd3('0x4422')+_0x1cd3('0x386f')+'\x0a'+_0x1cd3('0x4418')+_0x1cd3('0x466c')+_0x1cd3('0x4446')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Phone\x0a'+_0x1cd3('0x467e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x467f')+_0x1cd3('0x444d')+_0x1cd3('0x4640')+_0x1cd3('0x4680')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4681')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x441d')+_0x1cd3('0x466c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4682')+_0x1cd3('0x4683')+_0x1cd3('0x4684')+_0x1cd3('0x4685')+_0x1cd3('0x444d')+_0x1cd3('0x4640')+_0x1cd3('0x4680')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4681')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4640')+_0x1cd3('0x4671')+_0x1cd3('0x4686')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d8f')+'\x0a'+_0x1cd3('0x4674')+_0x1cd3('0x4687')+_0x1cd3('0x4688')+_0x1cd3('0x4689')+_0x1cd3('0x4677')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x468a')+_0x1cd3('0x468b')+_0x1cd3('0x468c')+_0x1cd3('0x4677')+_0x1cd3('0x4678')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4640')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x468d')+_0x1cd3('0x468e')+_0x1cd3('0x3d8f')+'\x0a'+_0x1cd3('0x4674')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x468f')+_0x1cd3('0x4690')+_0x1cd3('0x4677')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4691')+_0x1cd3('0x4692')+_0x1cd3('0x4677')+_0x1cd3('0x4678')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3bc3')+_0x1cd3('0x386e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4418')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4446')+_0x1cd3('0x4693')+_0x1cd3('0x4694')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4670')+_0x1cd3('0x4695')+_0x1cd3('0x4696')+_0x1cd3('0x4494')+_0x1cd3('0x3bc0')+_0x1cd3('0x444d')+_0x1cd3('0x4640')+_0x1cd3('0x4671')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4697')+_0x1cd3('0x3d8f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4698')+_0x1cd3('0x4699')+_0x1cd3('0x469a')+_0x1cd3('0x4677')+_0x1cd3('0x4678')+_0x1cd3('0x469b')+_0x1cd3('0x469c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20email\x20accounts\x20available\x0a'+_0x1cd3('0x4677')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x469d')+_0x1cd3('0x469e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x386e')+_0x1cd3('0x441d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4446')+_0x1cd3('0x469f')+_0x1cd3('0x46a0')+_0x1cd3('0x46a1')+_0x1cd3('0x444d')+_0x1cd3('0x4640')+_0x1cd3('0x4671')+_0x1cd3('0x46a2')+_0x1cd3('0x46a3')+_0x1cd3('0x3d8f')+'\x0a'+_0x1cd3('0x4674')+_0x1cd3('0x46a4')+_0x1cd3('0x46a5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{account.name}}\x0a'+_0x1cd3('0x4677')+_0x1cd3('0x4678')+_0x1cd3('0x46a6')+_0x1cd3('0x46a7')+_0x1cd3('0x46a8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x469d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3bc3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x386f')+'\x0a'+_0x1cd3('0x4418')+_0x1cd3('0x46a9')+_0x1cd3('0x46aa')+_0x1cd3('0x46ab')+_0x1cd3('0x4422')+_0x1cd3('0x386f')+'\x0a'+_0x1cd3('0x4418')+_0x1cd3('0x441f')+_0x1cd3('0x46ac')+_0x1cd3('0x46ad')+_0x1cd3('0x46ae')+_0x1cd3('0x46af')+_0x1cd3('0x46b0')+_0x1cd3('0x443f')+_0x1cd3('0x4422')+_0x1cd3('0x441d')+_0x1cd3('0x441f')+_0x1cd3('0x46b1')+_0x1cd3('0x443c')+_0x1cd3('0x46b2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{tag.name}}\x0a'+_0x1cd3('0x443f')+_0x1cd3('0x4422')+_0x1cd3('0x386f')+'\x0a'+_0x1cd3('0x4418')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Country\x0a'+_0x1cd3('0x46b3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4422')+_0x1cd3('0x441d')+_0x1cd3('0x441f')+_0x1cd3('0x46b4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4422')+_0x1cd3('0x386f')+'\x0a'+_0x1cd3('0x4418')+_0x1cd3('0x441f')+_0x1cd3('0x46b5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4422')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x46b6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4422')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4418')+_0x1cd3('0x441f')+_0x1cd3('0x46b7')+_0x1cd3('0x46b8')+_0x1cd3('0x46b9')+_0x1cd3('0x4422')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3bf8')+_0x1cd3('0x46ba')+_0x1cd3('0x4668')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Social\x0a'+_0x1cd3('0x46bb')+_0x1cd3('0x4418')+_0x1cd3('0x441f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x46bc')+_0x1cd3('0x4422')+_0x1cd3('0x441d')+_0x1cd3('0x441f')+_0x1cd3('0x46bd')+_0x1cd3('0x46be')+_0x1cd3('0x46bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4418')+_0x1cd3('0x441f')+_0x1cd3('0x46c0')+_0x1cd3('0x46c1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x441d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x46c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4422')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4418')+_0x1cd3('0x441f')+_0x1cd3('0x46c3')+_0x1cd3('0x46c4')+_0x1cd3('0x46c5')+_0x1cd3('0x4422')+_0x1cd3('0x441d')+_0x1cd3('0x441f')+_0x1cd3('0x46c6')+_0x1cd3('0x46c7')+_0x1cd3('0x46c8')+_0x1cd3('0x4422')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x46ba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x46c9')+_0x1cd3('0x46ca')+_0x1cd3('0x46cb')+_0x1cd3('0x46cc')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x46cd')+_0x1cd3('0x46ce')+_0x1cd3('0x4473')+_0x1cd3('0x46cf')+_0x1cd3('0x4476')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4464')+_0x1cd3('0x46d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x0a'+_0x1cd3('0x46d1')+_0x1cd3('0x4473')+_0x1cd3('0x46d2')+_0x1cd3('0x4476')+_0x1cd3('0x46d3')+_0x1cd3('0x4464')+_0x1cd3('0x46d4')+'\x0a'+_0x1cd3('0x46d5')+_0x1cd3('0x4478')+_0x1cd3('0x46d6')+_0x1cd3('0x447a')+_0x1cd3('0x46d7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3bc3')+_0x1cd3('0x4422')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x46d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{value.value}}\x0a'+_0x1cd3('0x4475')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4480')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{customField.alias}}*\x0a'+_0x1cd3('0x4482')+_0x1cd3('0x4422')+'\x0a'+_0x1cd3('0x46d8')+_0x1cd3('0x46d6')+_0x1cd3('0x46d9')+_0x1cd3('0x4422')+_0x1cd3('0x386f')+_0x1cd3('0x3bf8')+_0x1cd3('0x46ba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x46da')+_0x1cd3('0x46db')+_0x1cd3('0x46dc')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x4647')+_0x1cd3('0x46dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4648')+_0x1cd3('0x46de')+_0x1cd3('0x46df')+_0x1cd3('0x46da')+_0x1cd3('0x46db')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x46e0'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x1620'),_0x1cd3('0x46e1')+_0x1cd3('0x46e2')+_0x1cd3('0x46e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x46e4')+_0x1cd3('0x46e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x46e6')+_0x1cd3('0x46e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x46e8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20g.name\x20}}\x0a'+_0x1cd3('0x46e9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x44da')+_0x1cd3('0x46ea')+_0x1cd3('0x46eb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x44da')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x46ec')+_0x1cd3('0x4285')+_0x1cd3('0x46ed')+_0x1cd3('0x46ee')+_0x1cd3('0x46ef')+_0x1cd3('0x386c')+_0x1cd3('0x46f0')+_0x1cd3('0x386e')+_0x1cd3('0x46f1')+_0x1cd3('0x46f2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x386f')+_0x1cd3('0x46f3')+_0x1cd3('0x36b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x46ed')+_0x1cd3('0x46f4')+_0x1cd3('0x46f5')+_0x1cd3('0x386c')+_0x1cd3('0x46f6')+_0x1cd3('0x386e')+_0x1cd3('0x46f1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Time\x20is\x20invalid\x0a'+_0x1cd3('0x386e')+_0x1cd3('0x386f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x46f7')+_0x1cd3('0x46f8')+_0x1cd3('0x46f9')+_0x1cd3('0x46fa')+_0x1cd3('0x44d9')+_0x1cd3('0x46fb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x46fc')+_0x1cd3('0x3841')+_0x1cd3('0x36b7')+_0x1cd3('0x44da')+_0x1cd3('0x3669')+_0x1cd3('0x46fd')+_0x1cd3('0x46fe')+_0x1cd3('0x46ff')+_0x1cd3('0x4700')+_0x1cd3('0x3859')+_0x1cd3('0x4701')+_0x1cd3('0x4702')+_0x1cd3('0x3859')+_0x1cd3('0x4703')+_0x1cd3('0x4704')+_0x1cd3('0x3859')+_0x1cd3('0x3d50')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4705')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4706')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4707')+_0x1cd3('0x4708')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4709')+_0x1cd3('0x470a'));_0x404b17[_0x1cd3('0x37b')]('app/main/apps/dashboards/views/general/agent/contact/reschedule/dialog.html',_0x1cd3('0x470b')+_0x1cd3('0x470c')+_0x1cd3('0x470d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b14')+_0x1cd3('0x3b1f')+_0x1cd3('0x3b15')+_0x1cd3('0x3b16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3b18')+_0x1cd3('0x3b19')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+'\x0a'+_0x1cd3('0x3b4b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x470e')+_0x1cd3('0x3c90')+_0x1cd3('0x470f')+_0x1cd3('0x3841')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4710')+_0x1cd3('0x3841')+_0x1cd3('0x36b7')+_0x1cd3('0x3c93')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4711')+_0x1cd3('0x4712')+_0x1cd3('0x3c90')+_0x1cd3('0x4713')+_0x1cd3('0x3841')+_0x1cd3('0x3c8b')+_0x1cd3('0x4714')+_0x1cd3('0x3841')+_0x1cd3('0x36b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x3b20')+_0x1cd3('0x388f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3891')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x3675')+_0x1cd3('0x3681')+'\x0a');_0x404b17['put'](_0x1cd3('0x4715'),'\x0a'+_0x1cd3('0x4716')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x4717')+_0x1cd3('0x4718')+_0x1cd3('0x4719')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-controller=\x22AgentHomeAbandonedVoiceController\x20as\x20vm_voice\x22>\x0a'+_0x1cd3('0x3759')+_0x1cd3('0x471a')+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3759')+_0x1cd3('0x471a')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x471c')+_0x1cd3('0x1859'));_0x404b17['put']('app/main/apps/dashboards/views/general/agent/home/abandoned/bull/agent.general.abandoned.bull.html','\x0a'+_0x1cd3('0x471d')+_0x1cd3('0x471e')+_0x1cd3('0x471f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ABANDONED\x20QUEUE\x20CALLS\x0a'+_0x1cd3('0x4720')+_0x1cd3('0x4721')+_0x1cd3('0x4722')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20debounce=\x22300\x22\x20direction=\x22down\x22\x20icon-color=\x22white-fg\x22>\x0a'+_0x1cd3('0x3945')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4723')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm_bull.refresh\x20&&\x20vm_bull.refreshAbandonedCalls($event)\x22\x0a'+_0x1cd3('0x4724')+_0x1cd3('0x4725')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4726')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3947')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4727')+_0x1cd3('0x4728')+_0x1cd3('0x394a')+_0x1cd3('0x4729')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.FULLNAME\x27\x20|\x20translate}}\x0a'+_0x1cd3('0x472a')+_0x1cd3('0x472b')+_0x1cd3('0x472c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.QUEUECALLEREXITAT\x27\x20|\x20translate}}\x0a'+_0x1cd3('0x472d')+_0x1cd3('0x472e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.DISPOSITION\x27\x20|\x20translate}}\x0a'+_0x1cd3('0x472f')+_0x1cd3('0x4730')+_0x1cd3('0x4731')+_0x1cd3('0x394b')+_0x1cd3('0x394c')+_0x1cd3('0x394d')+_0x1cd3('0x4732')+_0x1cd3('0x4733')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4734')+_0x1cd3('0x36b7')+_0x1cd3('0x3951')+_0x1cd3('0x394b')+_0x1cd3('0x4735')+_0x1cd3('0x4736')+_0x1cd3('0x4737')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4738')+_0x1cd3('0x4739')+_0x1cd3('0x473a')+_0x1cd3('0x473b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3951')+_0x1cd3('0x473c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{abandonedCall.queuecallerabandonAt\x20?\x20(abandonedCall.queuecallerabandonAt\x20|\x20formatdate)\x20:\x20undefined\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x473d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{abandonedCall.queuecallerexitAt\x20?\x20(abandonedCall.queuecallerexitAt\x20|\x20formatdate)\x20:\x20undefined\x20}}\x0a'+_0x1cd3('0x3951')+_0x1cd3('0x473e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{abandonedCall.disposition}}\x0a'+_0x1cd3('0x473f')+_0x1cd3('0x4740')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22abandonedCall.lastAssignedTo\x20===\x20vm_bull.currentUser.name\x20||\x20!abandonedCall.lastAssignedTo\x22\x0a'+_0x1cd3('0x4741')+_0x1cd3('0x4742')+_0x1cd3('0x4743')+_0x1cd3('0x4744')+_0x1cd3('0x3951')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{abandonedCall.lastAssignedTo}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4745')+_0x1cd3('0x4746')+_0x1cd3('0x4747')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3849')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4748')+_0x1cd3('0x4749')+_0x1cd3('0x474a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d90')+_0x1cd3('0x474f')+_0x1cd3('0x3696')+_0x1cd3('0x3699')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x394b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3953')+_0x1cd3('0x3954')+'\x20\x20\x20\x20ABANDONED\x20QUEUE\x20CALLS\x0a'+_0x1cd3('0x4754')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20on-collapse=\x22vm_voice.onSearchBarCollapse()\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20on-expand=\x22vm_voice.onSearchBarExpand()\x22\x20query=\x22vm_voice.query.filter\x22\x0a'+_0x1cd3('0x4755')+_0x1cd3('0x3945')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4726')+_0x1cd3('0x3671')+_0x1cd3('0x36f6')+_0x1cd3('0x3947')+_0x1cd3('0x4758')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4759')+_0x1cd3('0x475a')+_0x1cd3('0x394a')+_0x1cd3('0x4729')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.FULLNAME\x27\x20|\x20translate}}\x0a'+_0x1cd3('0x472a')+_0x1cd3('0x472b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.ABANDONAT\x27\x20|\x20translate}}\x0a'+_0x1cd3('0x475b')+_0x1cd3('0x472f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.LASTASSIGNEDTO\x27\x20|\x20translate}}\x0a'+_0x1cd3('0x4731')+_0x1cd3('0x394b')+_0x1cd3('0x394c')+_0x1cd3('0x394d')+_0x1cd3('0x475c')+_0x1cd3('0x4733')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4734')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x394b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4736')+_0x1cd3('0x4737')+_0x1cd3('0x475d')+_0x1cd3('0x4738')+_0x1cd3('0x4739')+_0x1cd3('0x475e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x475f')+_0x1cd3('0x3951')+_0x1cd3('0x4760')+_0x1cd3('0x4761')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{abandonedCall.queuecallerabandonAt\x20?\x20(abandonedCall.queuecallerabandonAt\x20|\x20formatdate)\x20:\x20undefined\x20}}\x0a'+_0x1cd3('0x3951')+_0x1cd3('0x4762')+_0x1cd3('0x4763')+_0x1cd3('0x4740')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22abandonedCall.lastAssignedTo\x20===\x20vm_voice.currentUser.name\x20||\x20!abandonedCall.lastAssignedTo\x22\x0a'+_0x1cd3('0x4764')+_0x1cd3('0x4742')+_0x1cd3('0x4765')+_0x1cd3('0x4744')+_0x1cd3('0x3951')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{abandonedCall.lastAssignedTo}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4766')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3960')+_0x1cd3('0x4768')+_0x1cd3('0x4748')+_0x1cd3('0x4749')+_0x1cd3('0x474a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x474c')+_0x1cd3('0x4769')+_0x1cd3('0x474e')+_0x1cd3('0x3d8d')+_0x1cd3('0x3d90')+_0x1cd3('0x474f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3951')+_0x1cd3('0x394b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3953')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x476a')+_0x1cd3('0x476b')+'\x20\x20\x20\x20\x20\x20\x20\x20md-on-paginate=\x22vm_voice.getAbandonedCalls\x22\x20md-page-select>\x0a'+'');_0x404b17['put'](_0x1cd3('0x476c'),_0x1cd3('0x476d')+_0x1cd3('0x476e')+_0x1cd3('0x476f')+_0x1cd3('0x4770')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22md-raised\x20width-50\x20height-50\x20no-margin\x22\x20style=\x22border-radius:\x200px\x22\x20aria-label=\x22{{button.state}}\x22\x0a'+_0x1cd3('0x4771')+_0x1cd3('0x4772')+_0x1cd3('0x43bf')+_0x1cd3('0x4773')+_0x1cd3('0x3671')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x376e')+_0x1cd3('0x4774')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x4775')+_0x1cd3('0x4776')+_0x1cd3('0x4777')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-include=\x22\x27app/main/apps/dashboards/views/general/agent/home/contacts/agent.general.contacts.html\x27\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-controller=\x22AgentHomeContactsController\x20as\x20vm\x22>\x0a'+_0x1cd3('0x4778')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-include=\x22\x27app/main/apps/dashboards/views/general/agent/home/agent.general.home.permissions.html\x27\x22>\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x366a')+_0x1cd3('0x4779')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x366a')+_0x1cd3('0x477d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x366a')+_0x1cd3('0x4785')+_0x1cd3('0x4786')+_0x1cd3('0x4787')+_0x1cd3('0x4788')+_0x1cd3('0x4789')+_0x1cd3('0x4780')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x478a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x478d')+_0x1cd3('0x478e')+_0x1cd3('0x478f')+_0x1cd3('0x4790')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x4791')+_0x1cd3('0x4792')+_0x1cd3('0x4793')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-controller=\x22AgentHomeMailController\x20as\x20vm\x22\x20ng-init=\x22vm.onInit(vm_home.license,\x20vm_home.setting)\x22>\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x4794')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-include=\x22\x27app/main/apps/dashboards/views/general/agent/home/agent.general.home.permissions.html\x27\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4795')+_0x1cd3('0x4796')+_0x1cd3('0x4797')+_0x1cd3('0x3669')+_0x1cd3('0x4798')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-include=\x22\x27app/main/apps/dashboards/views/general/agent/home/agent.general.home.permissions.html\x27\x22>\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x366a')+_0x1cd3('0x4799')+_0x1cd3('0x479a')+_0x1cd3('0x479b')+_0x1cd3('0x479c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-init=\x22vm.onInit(vm_home.license,\x20vm_home.setting)\x22>\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x479d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-include=\x22\x27app/main/apps/dashboards/views/general/agent/home/agent.general.home.permissions.html\x27\x22>\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x366a')+_0x1cd3('0x479e')+_0x1cd3('0x479f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-include=\x22\x27app/main/apps/dashboards/views/general/agent/home/fax/agent.general.fax.html\x27\x22\x0a'+_0x1cd3('0x47a0')+_0x1cd3('0x3669')+_0x1cd3('0x47a1')+_0x1cd3('0x4780')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+_0x1cd3('0x47a2')+_0x1cd3('0x47a3')+_0x1cd3('0x47a4')+_0x1cd3('0x47a5')+_0x1cd3('0x3669')+_0x1cd3('0x47a6')+_0x1cd3('0x4780')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x47a7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-include=\x22\x27app/main/apps/dashboards/views/general/agent/home/plugins/agent.general.plugins.html\x27\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-controller=\x22AgentHomePluginsController\x20as\x20vm\x22\x0a'+_0x1cd3('0x47a8')+_0x1cd3('0x47a9')+_0x1cd3('0x4780')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+_0x1cd3('0x47aa')+_0x1cd3('0x47ab')+_0x1cd3('0x47ac')+_0x1cd3('0x47ad')+_0x1cd3('0x47ae')+_0x1cd3('0x4780')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x47af')+_0x1cd3('0x47b0')+_0x1cd3('0x47b1')+_0x1cd3('0x47b2')+_0x1cd3('0x47b3')+_0x1cd3('0x47b4')+_0x1cd3('0x47b5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x460b')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+_0x1cd3('0x460d')+_0x1cd3('0x3686')+_0x1cd3('0x1859'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x47b6'),_0x1cd3('0x47b7')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x47b8')+'\x20\x20\x20\x20\x20\x20\x20\x20Use\x20the\x20left\x20sidebar\x20to\x20navigate\x20through\x20available\x20sections.\x0a'+_0x1cd3('0x3686')+'\x0a'+_0x1cd3('0x47b9')+_0x1cd3('0x47ba')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x37cf'));_0x404b17['put'](_0x1cd3('0x47bb'),_0x1cd3('0x4752')+_0x1cd3('0x47bc')+'\x20\x20\x20\x20ng-disabled=\x22vm.searchInProgress\x22>\x0a'+_0x1cd3('0x4118')+'\x20\x20\x20\x20\x20\x20Interactions\x0a'+_0x1cd3('0x47bd')+_0x1cd3('0x47be')+_0x1cd3('0x47bf')+_0x1cd3('0x47c0')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x47c1')+_0x1cd3('0x47c2')+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.ADVANCED_SEARCH\x27\x20|\x20translate}}\x0a'+_0x1cd3('0x36ed')+_0x1cd3('0x47c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22DASHBOARDS.RELOAD\x22\x0a'+_0x1cd3('0x47c8')+_0x1cd3('0x47c9')+_0x1cd3('0x47ca')+_0x1cd3('0x36ed')+_0x1cd3('0x3d1d')+_0x1cd3('0x3686')+_0x1cd3('0x415d')+'\x20\x20\x0a'+_0x1cd3('0x47cb')+_0x1cd3('0x47cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x47cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.ID\x27\x20|\x20translate}}\x0a'+_0x1cd3('0x47ce')+_0x1cd3('0x47cf')+_0x1cd3('0x47d0')+_0x1cd3('0x47d1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x47d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.STARTEDAT\x27\x20|\x20translate}}\x0a'+_0x1cd3('0x47d3')+_0x1cd3('0x47d4')+_0x1cd3('0x47d5')+_0x1cd3('0x47d6')+_0x1cd3('0x47d7')+_0x1cd3('0x47d0')+_0x1cd3('0x47d8')+_0x1cd3('0x47d9')+_0x1cd3('0x47da')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x47db')+_0x1cd3('0x47dc')+_0x1cd3('0x47dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x47de')+_0x1cd3('0x47df')+_0x1cd3('0x366a')+_0x1cd3('0x47e0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x47e1')+_0x1cd3('0x47e2')+_0x1cd3('0x47e3')+_0x1cd3('0x388f')+_0x1cd3('0x47e4')+_0x1cd3('0x366a')+_0x1cd3('0x47e0')+_0x1cd3('0x47e5')+_0x1cd3('0x47e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20,\x20\x0a'+_0x1cd3('0x47e8')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x47e9')+_0x1cd3('0x47ea')+_0x1cd3('0x47eb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x47ec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x47ed')+_0x1cd3('0x366a')+_0x1cd3('0x47e0')+_0x1cd3('0x47ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x47ef')+_0x1cd3('0x47f0')+_0x1cd3('0x47f1')+_0x1cd3('0x47f2')+_0x1cd3('0x47f3')+_0x1cd3('0x366a')+_0x1cd3('0x47e0')+_0x1cd3('0x47ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{interaction.createdAt\x20|\x20formatdate\x20}}\x0a'+_0x1cd3('0x47e0')+_0x1cd3('0x47ee')+_0x1cd3('0x47f4')+_0x1cd3('0x47f5')+_0x1cd3('0x47f6')+_0x1cd3('0x47f7')+_0x1cd3('0x47f8')+_0x1cd3('0x47f9')+_0x1cd3('0x47fa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{interaction.lastMsgAt\x20|\x20formatdate\x20}}\x0a'+_0x1cd3('0x3fc3')+_0x1cd3('0x366a')+_0x1cd3('0x47fb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x47ee')+_0x1cd3('0x47fc')+_0x1cd3('0x47fd')+_0x1cd3('0x47fe')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{interaction.disposition}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{interaction.closedAt\x20|\x20formatdate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4801')+_0x1cd3('0x4802')+_0x1cd3('0x47e0')+_0x1cd3('0x4803')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22chatAccount\x22>\x0a'+_0x1cd3('0x4804')+_0x1cd3('0x47e0')+_0x1cd3('0x47e5')+_0x1cd3('0x4805')+_0x1cd3('0x47fa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{tag.name}},\x0a'+_0x1cd3('0x4806')+_0x1cd3('0x43bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39f4')+_0x1cd3('0x480b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x480c')+_0x1cd3('0x480d')+_0x1cd3('0x480e')+_0x1cd3('0x41c1')+_0x1cd3('0x480f')+_0x1cd3('0x4810')+_0x1cd3('0x4811')+_0x1cd3('0x4812')+_0x1cd3('0x4813')+_0x1cd3('0x41c1')+_0x1cd3('0x480f')+_0x1cd3('0x4810')+_0x1cd3('0x4814')+_0x1cd3('0x4815')+_0x1cd3('0x4816')+_0x1cd3('0x41c1')+_0x1cd3('0x480f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x481b')+_0x1cd3('0x42c0')+'\x20\x20\x0a'+'\x20\x20\x0a'+_0x1cd3('0x4820')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x411b')+_0x1cd3('0x4821')+_0x1cd3('0x47c2')+_0x1cd3('0x4822')+_0x1cd3('0x4823')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22Advanced\x20search\x22\x20translate\x20translate-attr-aria-label=\x22DASHBOARDS.ADVANCED_SEARCH\x22\x0a'+_0x1cd3('0x47c4')+_0x1cd3('0x47c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x20\x27{{\x20vm.sectionColor\x20}}-fg\x20blink\x27:\x20vm.query.search\x20}\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.ADVANCED_SEARCH\x27\x20|\x20translate}}\x0a'+_0x1cd3('0x36ed')+_0x1cd3('0x4824')+_0x1cd3('0x4825')+_0x1cd3('0x47c9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.RELOAD\x27\x20|\x20translate}}\x0a'+_0x1cd3('0x36ed')+_0x1cd3('0x4826')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.openContact($event)\x22\x20aria-label=\x22Add\x20contact\x22\x20translate\x0a'+_0x1cd3('0x4827')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36ed')+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x415d')+_0x1cd3('0x4828')+_0x1cd3('0x47cb')+_0x1cd3('0x4829')+_0x1cd3('0x482a')+_0x1cd3('0x482b')+_0x1cd3('0x482c')+_0x1cd3('0x482d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.MOBILE\x27\x20|\x20translate}}\x0a'+_0x1cd3('0x482e')+_0x1cd3('0x482f')+_0x1cd3('0x4830')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.TAGS\x27\x20|\x20translate}}\x0a'+_0x1cd3('0x4831')+_0x1cd3('0x47da')+_0x1cd3('0x4832')+_0x1cd3('0x47db')+_0x1cd3('0x4833')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4834')+_0x1cd3('0x4835')+_0x1cd3('0x366a')+_0x1cd3('0x47e0')+_0x1cd3('0x47da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{contact.id}}\x0a'+_0x1cd3('0x4836')+_0x1cd3('0x4837')+_0x1cd3('0x4838')+_0x1cd3('0x4839')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x483a')+_0x1cd3('0x47e0')+_0x1cd3('0x483b')+_0x1cd3('0x4839')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{contact.fax}}\x0a'+_0x1cd3('0x483d')+_0x1cd3('0x483e')+_0x1cd3('0x47e0')+_0x1cd3('0x483f')+_0x1cd3('0x4840')+_0x1cd3('0x4841')+_0x1cd3('0x4842')+_0x1cd3('0x4843')+_0x1cd3('0x3fc3')+_0x1cd3('0x4844')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4845')+_0x1cd3('0x4806')+_0x1cd3('0x43bf')+_0x1cd3('0x4846')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4847')+_0x1cd3('0x4809')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4810')+_0x1cd3('0x484a')+_0x1cd3('0x484b')+_0x1cd3('0x41c1')+_0x1cd3('0x480f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Merge\x20Contact\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x480f')+_0x1cd3('0x4810')+_0x1cd3('0x484c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Duplicate\x20Contact\x0a'+_0x1cd3('0x41c1')+_0x1cd3('0x480f')+_0x1cd3('0x4819')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x47e0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x481b')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x0a'+'\x0a'+_0x1cd3('0x484d')+_0x1cd3('0x484e')+'\x0a'+_0x1cd3('0x3b72'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x484f'),_0x1cd3('0x4850')+_0x1cd3('0x4716')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x4851')+_0x1cd3('0x4852')+_0x1cd3('0x4853')+_0x1cd3('0x471a')+_0x1cd3('0x4854')+_0x1cd3('0x4855')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x471a')+_0x1cd3('0x4856')+_0x1cd3('0x4857')+_0x1cd3('0x3759')+_0x1cd3('0x471a')+_0x1cd3('0x4858')+_0x1cd3('0x4859')+_0x1cd3('0x3759')+_0x1cd3('0x471a')+_0x1cd3('0x485a')+_0x1cd3('0x485b')+_0x1cd3('0x3759')+_0x1cd3('0x485c')+_0x1cd3('0x485d')+_0x1cd3('0x485e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x471a')+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3759')+_0x1cd3('0x471a')+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3759')+_0x1cd3('0x471a')+_0x1cd3('0x485f')+_0x1cd3('0x471c')+_0x1cd3('0x376e'));_0x404b17['put']('app/main/apps/dashboards/views/general/agent/home/dashboard/bull/agent.general.dashboard.bull.html',_0x1cd3('0x4860')+_0x1cd3('0x4861')+_0x1cd3('0x4862')+_0x1cd3('0x3d4f')+_0x1cd3('0x4863')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3835')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4864')+_0x1cd3('0x3838')+_0x1cd3('0x4865')+_0x1cd3('0x4866')+_0x1cd3('0x4867')+_0x1cd3('0x4868')+_0x1cd3('0x383a')+_0x1cd3('0x383b')+_0x1cd3('0x383c')+_0x1cd3('0x4869')+_0x1cd3('0x486a')+_0x1cd3('0x383f')+_0x1cd3('0x486b')+_0x1cd3('0x3841')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x383a')+_0x1cd3('0x486c')+_0x1cd3('0x486d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{voiceQueue.dialMethod}}\x0a'+_0x1cd3('0x486e')+_0x1cd3('0x486f')+_0x1cd3('0x4870')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x383a')+_0x1cd3('0x384a')+_0x1cd3('0x384b')+_0x1cd3('0x384c')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x4861')+_0x1cd3('0x4862')+_0x1cd3('0x3d4f')+_0x1cd3('0x4871')+_0x1cd3('0x4872')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366b')+_0x1cd3('0x3835')+_0x1cd3('0x4873')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3838')+_0x1cd3('0x4874')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.QUEUE\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4875')+_0x1cd3('0x383a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x383c')+_0x1cd3('0x4876')+_0x1cd3('0x383e')+_0x1cd3('0x383f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a'+_0x1cd3('0x3841')+_0x1cd3('0x3846')+_0x1cd3('0x383a')+_0x1cd3('0x4877')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{channel.exten}}\x0a'+_0x1cd3('0x4878')+_0x1cd3('0x4879')+_0x1cd3('0x383a')+_0x1cd3('0x384a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x384c')+'\x0a'+_0x1cd3('0x487a')+_0x1cd3('0x487b')+_0x1cd3('0x376e'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x487c'),_0x1cd3('0x4860')+_0x1cd3('0x4861')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d4f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Queues\x0a'+_0x1cd3('0x4872')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x487d')+_0x1cd3('0x487e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27DASHBOARDS.NAME\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x487f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4868')+_0x1cd3('0x383a')+_0x1cd3('0x383b')+_0x1cd3('0x383c')+_0x1cd3('0x4880')+_0x1cd3('0x4881')+_0x1cd3('0x383f')+_0x1cd3('0x4882')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4883')+_0x1cd3('0x4884')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{queue.waiting\x20||\x200}}\x0a'+_0x1cd3('0x4885')+_0x1cd3('0x4886')+_0x1cd3('0x4887')+_0x1cd3('0x4888')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x384a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x384c')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x487b')+_0x1cd3('0x4861')+_0x1cd3('0x4889')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4873')+_0x1cd3('0x3837')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x488a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27DASHBOARDS.CHANNEL_QUEUE\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x488b')+_0x1cd3('0x383a')+_0x1cd3('0x383b')+_0x1cd3('0x383c')+_0x1cd3('0x488c')+_0x1cd3('0x383e')+_0x1cd3('0x383f')+_0x1cd3('0x4882')+_0x1cd3('0x3841')+_0x1cd3('0x3846')+_0x1cd3('0x383a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x488d')+_0x1cd3('0x488e')+_0x1cd3('0x488f')+_0x1cd3('0x383a')+_0x1cd3('0x384a')+_0x1cd3('0x384b')+_0x1cd3('0x384c')+'\x0a'+_0x1cd3('0x4890')+_0x1cd3('0x487b')+'\x0a');_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x4891'),_0x1cd3('0x4860')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x4892')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4893')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3835')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4894')+_0x1cd3('0x3838')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27DASHBOARDS.NAME\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27DASHBOARDS.WAITING\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4868')+_0x1cd3('0x383a')+_0x1cd3('0x383b')+_0x1cd3('0x383c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4881')+_0x1cd3('0x383f')+_0x1cd3('0x4882')+_0x1cd3('0x3841')+_0x1cd3('0x3846')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4895')+_0x1cd3('0x4884')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{queue.waiting\x20||\x200}}\x0a'+_0x1cd3('0x4885')+_0x1cd3('0x4886')+_0x1cd3('0x4887')+_0x1cd3('0x4888')+_0x1cd3('0x383a')+_0x1cd3('0x384a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4896')+_0x1cd3('0x487b')+_0x1cd3('0x4861')+_0x1cd3('0x4892')+_0x1cd3('0x3d4f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4872')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4873')+_0x1cd3('0x3837')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27DASHBOARDS.ACCOUNT\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4897')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27DASHBOARDS.CHANNEL_FROM\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x383b')+_0x1cd3('0x383c')+_0x1cd3('0x4898')+_0x1cd3('0x383e')+_0x1cd3('0x383f')+_0x1cd3('0x4882')+_0x1cd3('0x3841')+_0x1cd3('0x3846')+_0x1cd3('0x383a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x488d')+_0x1cd3('0x488e')+_0x1cd3('0x488f')+_0x1cd3('0x383a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x384b')+_0x1cd3('0x384c')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x487b')+_0x1cd3('0x376e'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x4899'),_0x1cd3('0x4860')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x489a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4893')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x489b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3838')+_0x1cd3('0x489c')+_0x1cd3('0x487f')+_0x1cd3('0x489d')+_0x1cd3('0x4868')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x383b')+_0x1cd3('0x383c')+_0x1cd3('0x489e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4882')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x383a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4884')+_0x1cd3('0x489f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x383a')+_0x1cd3('0x384a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x487b')+_0x1cd3('0x4861')+_0x1cd3('0x489a')+_0x1cd3('0x3d4f')+_0x1cd3('0x48a0')+_0x1cd3('0x4872')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+_0x1cd3('0x3835')+_0x1cd3('0x4873')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x488a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27DASHBOARDS.CHANNEL_QUEUE\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x488b')+_0x1cd3('0x383a')+_0x1cd3('0x383b')+_0x1cd3('0x383c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x383e')+_0x1cd3('0x383f')+_0x1cd3('0x4882')+_0x1cd3('0x3841')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x383a')+_0x1cd3('0x48a1')+_0x1cd3('0x488d')+_0x1cd3('0x488e')+_0x1cd3('0x488f')+_0x1cd3('0x383a')+_0x1cd3('0x384a')+_0x1cd3('0x384b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x48a2')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x376e'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x48a3'),_0x1cd3('0x4860')+_0x1cd3('0x4861')+_0x1cd3('0x48a4')+_0x1cd3('0x3d4f')+_0x1cd3('0x4893')+_0x1cd3('0x4872')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366b')+_0x1cd3('0x3835')+_0x1cd3('0x48a5')+_0x1cd3('0x48a6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x489c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27DASHBOARDS.WAITING\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x489d')+_0x1cd3('0x4868')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x383c')+_0x1cd3('0x48a7')+_0x1cd3('0x4881')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4882')+_0x1cd3('0x3841')+_0x1cd3('0x3846')+_0x1cd3('0x383a')+_0x1cd3('0x48a8')+_0x1cd3('0x4884')+_0x1cd3('0x489f')+_0x1cd3('0x4885')+_0x1cd3('0x4886')+_0x1cd3('0x4887')+_0x1cd3('0x4888')+_0x1cd3('0x383a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x384b')+_0x1cd3('0x384c')+'\x0a'+_0x1cd3('0x48a9')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x4861')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x48a0')+_0x1cd3('0x4872')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366b')+_0x1cd3('0x3835')+_0x1cd3('0x4873')+_0x1cd3('0x3837')+_0x1cd3('0x3838')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27DASHBOARDS.ACCOUNT\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27DASHBOARDS.CHANNEL_QUEUE\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x488b')+_0x1cd3('0x383a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x383f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a'+_0x1cd3('0x3841')+_0x1cd3('0x3846')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x48aa')+_0x1cd3('0x488d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{interaction.queue}}\x0a'+_0x1cd3('0x488f')+_0x1cd3('0x383a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x384b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x48ab')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x376e'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x48ac'),_0x1cd3('0x4860')+_0x1cd3('0x4861')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d4f')+_0x1cd3('0x4893')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x48ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27DASHBOARDS.NAME\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x487f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4868')+_0x1cd3('0x383a')+_0x1cd3('0x383b')+_0x1cd3('0x383c')+_0x1cd3('0x48ae')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a'+_0x1cd3('0x3841')+_0x1cd3('0x3846')+_0x1cd3('0x383a')+_0x1cd3('0x48af')+_0x1cd3('0x4884')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{queue.waiting\x20||\x200}}\x0a'+_0x1cd3('0x4885')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4887')+_0x1cd3('0x4888')+_0x1cd3('0x383a')+_0x1cd3('0x384a')+_0x1cd3('0x384b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x487b')+_0x1cd3('0x4861')+_0x1cd3('0x48b0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x48a0')+_0x1cd3('0x4872')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3835')+_0x1cd3('0x4873')+_0x1cd3('0x3837')+_0x1cd3('0x3838')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27DASHBOARDS.ACCOUNT\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4897')+_0x1cd3('0x488b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x383b')+_0x1cd3('0x383c')+_0x1cd3('0x48b1')+_0x1cd3('0x383e')+_0x1cd3('0x383f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a'+_0x1cd3('0x3841')+_0x1cd3('0x3846')+_0x1cd3('0x383a')+_0x1cd3('0x48b2')+_0x1cd3('0x488d')+_0x1cd3('0x488e')+_0x1cd3('0x488f')+_0x1cd3('0x383a')+_0x1cd3('0x384a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x384c')+'\x0a'+_0x1cd3('0x48b3')+_0x1cd3('0x487b')+_0x1cd3('0x376e'));_0x404b17['put']('app/main/apps/dashboards/views/general/agent/home/dashboard/voice/agent.general.dashboard.voice.html',_0x1cd3('0x4860')+_0x1cd3('0x4861')+_0x1cd3('0x48b4')+_0x1cd3('0x3d4f')+_0x1cd3('0x4863')+_0x1cd3('0x4872')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x48b5')+_0x1cd3('0x3838')+_0x1cd3('0x4865')+_0x1cd3('0x48b6')+_0x1cd3('0x4867')+_0x1cd3('0x4868')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x383b')+_0x1cd3('0x383c')+_0x1cd3('0x48b7')+_0x1cd3('0x4881')+_0x1cd3('0x383f')+_0x1cd3('0x486b')+_0x1cd3('0x3841')+_0x1cd3('0x3846')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x48b8')+_0x1cd3('0x486d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{voiceQueue.dialMethod}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{voiceQueue.waiting\x20||\x200}}\x0a'+_0x1cd3('0x486f')+_0x1cd3('0x4870')+_0x1cd3('0x3846')+_0x1cd3('0x383a')+_0x1cd3('0x384a')+_0x1cd3('0x384b')+_0x1cd3('0x384c')+'\x0a'+_0x1cd3('0x48b9')+_0x1cd3('0x487b')+_0x1cd3('0x4861')+_0x1cd3('0x48b4')+_0x1cd3('0x3d4f')+_0x1cd3('0x4871')+_0x1cd3('0x4872')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+_0x1cd3('0x3835')+_0x1cd3('0x4873')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3838')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.DID\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x48ba')+_0x1cd3('0x4875')+_0x1cd3('0x383a')+_0x1cd3('0x383b')+_0x1cd3('0x383c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x383e')+_0x1cd3('0x383f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a'+_0x1cd3('0x3841')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x383a')+_0x1cd3('0x48bb')+_0x1cd3('0x48bc')+_0x1cd3('0x4878')+_0x1cd3('0x4879')+_0x1cd3('0x383a')+_0x1cd3('0x384a')+_0x1cd3('0x384b')+_0x1cd3('0x384c')+'\x0a'+_0x1cd3('0x48bd')+_0x1cd3('0x487b')+_0x1cd3('0x376e'));_0x404b17[_0x1cd3('0x37b')]('app/main/apps/dashboards/views/general/agent/home/dashboard/whatsapp/agent.general.dashboard.whatsapp.html',_0x1cd3('0x4860')+_0x1cd3('0x4861')+_0x1cd3('0x48be')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4893')+_0x1cd3('0x4872')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+_0x1cd3('0x3835')+_0x1cd3('0x48bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3838')+_0x1cd3('0x489c')+_0x1cd3('0x487f')+_0x1cd3('0x489d')+_0x1cd3('0x4868')+_0x1cd3('0x383a')+_0x1cd3('0x383b')+_0x1cd3('0x383c')+_0x1cd3('0x48c0')+_0x1cd3('0x4881')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a'+_0x1cd3('0x3841')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x383a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4884')+_0x1cd3('0x489f')+_0x1cd3('0x4885')+_0x1cd3('0x4886')+_0x1cd3('0x4887')+_0x1cd3('0x4888')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x384a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x384c')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x487b')+_0x1cd3('0x4861')+_0x1cd3('0x48be')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x48a0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3835')+_0x1cd3('0x4873')+_0x1cd3('0x3837')+_0x1cd3('0x3838')+_0x1cd3('0x488a')+_0x1cd3('0x4897')+_0x1cd3('0x488b')+_0x1cd3('0x383a')+_0x1cd3('0x383b')+_0x1cd3('0x383c')+_0x1cd3('0x48c1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x383f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a'+_0x1cd3('0x3841')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x383a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x488d')+_0x1cd3('0x488e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{interaction.from}}\x0a'+_0x1cd3('0x383a')+_0x1cd3('0x384a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x384c')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x487b')+_0x1cd3('0x376e'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x48c2'),_0x1cd3('0x4752')+'\x20\x20\x0a'+_0x1cd3('0x47c0')+_0x1cd3('0x411b')+_0x1cd3('0x48c4')+_0x1cd3('0x47c2')+_0x1cd3('0x4822')+_0x1cd3('0x4823')+_0x1cd3('0x47c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.openAdvancedSearch()\x22>\x0a'+_0x1cd3('0x47c5')+_0x1cd3('0x47c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.ADVANCED_SEARCH\x27\x20|\x20translate}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x47c7')+_0x1cd3('0x48c5')+_0x1cd3('0x48c6')+_0x1cd3('0x47c9')+_0x1cd3('0x47ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d1d')+_0x1cd3('0x48c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x411d')+_0x1cd3('0x36ed')+_0x1cd3('0x48c8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x48c9')+_0x1cd3('0x48ca')+_0x1cd3('0x48cb')+_0x1cd3('0x48cc')+_0x1cd3('0x3686')+_0x1cd3('0x415d')+_0x1cd3('0x48cd')+_0x1cd3('0x47cb')+_0x1cd3('0x48ce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x47cd')+_0x1cd3('0x48cf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x47cf')+_0x1cd3('0x47d0')+_0x1cd3('0x47d1')+_0x1cd3('0x47d1')+_0x1cd3('0x47d2')+_0x1cd3('0x48d0')+_0x1cd3('0x47d3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.STATUS\x27\x20|\x20translate}}\x0a'+_0x1cd3('0x47d5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.ACCOUNT\x27\x20|\x20translate}}\x0a'+_0x1cd3('0x47d0')+_0x1cd3('0x47d8')+_0x1cd3('0x47d9')+_0x1cd3('0x47da')+_0x1cd3('0x4832')+_0x1cd3('0x47db')+_0x1cd3('0x48d1')+_0x1cd3('0x47dd')+_0x1cd3('0x4834')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Interaction\x0a'+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x47da')+_0x1cd3('0x48d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27text-bold\x20text-italic\x27:\x20interaction.unreadMessages\x20>\x200}\x22>\x0a'+_0x1cd3('0x48d3')+_0x1cd3('0x388f')+_0x1cd3('0x47e4')+_0x1cd3('0x366a')+_0x1cd3('0x47e0')+_0x1cd3('0x47e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x48d4')+_0x1cd3('0x48d5')+_0x1cd3('0x47e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22!$last\x22>,\x20\x0a'+_0x1cd3('0x47e8')+_0x1cd3('0x366a')+_0x1cd3('0x47e0')+_0x1cd3('0x47ec')+_0x1cd3('0x47e9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x47ec')+_0x1cd3('0x48d6')+_0x1cd3('0x47ed')+_0x1cd3('0x366a')+_0x1cd3('0x47e0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x48d7')+_0x1cd3('0x47ef')+_0x1cd3('0x47f0')+_0x1cd3('0x47f1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{interaction.createdAt\x20|\x20formatdate\x20}}\x0a'+_0x1cd3('0x47e0')+_0x1cd3('0x48d8')+_0x1cd3('0x47f4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{interaction.lastMsgAt\x20|\x20formatdate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x47fb')+_0x1cd3('0x47e0')+_0x1cd3('0x48d8')+_0x1cd3('0x47fc')+_0x1cd3('0x47fd')+_0x1cd3('0x47fe')+_0x1cd3('0x48d9')+_0x1cd3('0x48da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{interaction.closedAt\x20|\x20formatdate\x20}}\x0a'+_0x1cd3('0x48db')+_0x1cd3('0x47ff')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{interaction.substatus}}\x0a'+_0x1cd3('0x47e0')+_0x1cd3('0x48dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.getAgentLabel(interaction)\x20}}\x0a'+_0x1cd3('0x47e0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x48df')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{tag.name}},\x0a'+_0x1cd3('0x4806')+_0x1cd3('0x43bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x47e0')+_0x1cd3('0x4808')+_0x1cd3('0x4809')+_0x1cd3('0x480a')+_0x1cd3('0x48e0')+_0x1cd3('0x4849')+_0x1cd3('0x39f4')+_0x1cd3('0x480b')+_0x1cd3('0x4810')+_0x1cd3('0x48e1')+_0x1cd3('0x480d')+_0x1cd3('0x48e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4810')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x480f')+_0x1cd3('0x48e5')+_0x1cd3('0x48e6')+_0x1cd3('0x4817')+_0x1cd3('0x4818')+_0x1cd3('0x41c1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x47e0')+_0x1cd3('0x47da')+_0x1cd3('0x481b')+_0x1cd3('0x42c0')+_0x1cd3('0x416d')+_0x1cd3('0x48e7')+_0x1cd3('0x48e8')+_0x1cd3('0x42c3')+_0x1cd3('0x48e9')+_0x1cd3('0x481d')+_0x1cd3('0x3b72'));_0x404b17['put'](_0x1cd3('0x48ea'),_0x1cd3('0x4752')+'\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x48ed')+_0x1cd3('0x36ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x47ca')+_0x1cd3('0x36ed')+_0x1cd3('0x3d1d')+_0x1cd3('0x48ef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x48f4')+_0x1cd3('0x48ca')+_0x1cd3('0x48cb')+_0x1cd3('0x48cc')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x415d')+_0x1cd3('0x48cd')+_0x1cd3('0x47cb')+_0x1cd3('0x48f5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x47cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.ID\x27\x20|\x20translate}}\x0a'+_0x1cd3('0x47ce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x47d0')+_0x1cd3('0x47d1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.CONTACT\x27\x20|\x20translate}}\x0a'+_0x1cd3('0x48f6')+_0x1cd3('0x48d0')+_0x1cd3('0x47d3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.STATUS\x27\x20|\x20translate}}\x0a'+_0x1cd3('0x47d5')+_0x1cd3('0x47d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.ACCOUNT\x27\x20|\x20translate}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x47d8')+_0x1cd3('0x47d9')+_0x1cd3('0x47da')+_0x1cd3('0x4832')+_0x1cd3('0x47db')+_0x1cd3('0x48f7')+_0x1cd3('0x47dd')+_0x1cd3('0x4834')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x0a'+_0x1cd3('0x47df')+_0x1cd3('0x366a')+_0x1cd3('0x47e0')+_0x1cd3('0x47da')+_0x1cd3('0x48f8')+_0x1cd3('0x47e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x388f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{interaction.id}}\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x47e0')+_0x1cd3('0x47e5')+_0x1cd3('0x47e6')+_0x1cd3('0x48f9')+_0x1cd3('0x48d4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x200\x22\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22>\x0a'+_0x1cd3('0x47ea')+_0x1cd3('0x47eb')+_0x1cd3('0x366a')+_0x1cd3('0x47e0')+_0x1cd3('0x47ec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x47ed')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x48fb')+_0x1cd3('0x48d7')+_0x1cd3('0x47ef')+_0x1cd3('0x47f0')+_0x1cd3('0x47f1')+_0x1cd3('0x47f2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20layout-margin>{{\x20interaction.contactInfo\x20}}\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x47e0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x48fc')+_0x1cd3('0x48fd')+_0x1cd3('0x48fe')+_0x1cd3('0x48ff')+_0x1cd3('0x3b46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x4900')+_0x1cd3('0x4901')+_0x1cd3('0x47e0')+_0x1cd3('0x4902')+_0x1cd3('0x4903')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x48fb')+_0x1cd3('0x47f4')+_0x1cd3('0x47f5')+_0x1cd3('0x47f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-font-icon=\x22{{interaction.lastMsgDirection\x20==\x20\x27in\x27\x20?\x20\x27icon-arrow-down-bold\x20blue-grey-800-fg\x27\x20:\x20\x27icon-arrow-up-bold\x20blue-grey-300-fg\x27}}\x22>\x0a'+_0x1cd3('0x47f8')+_0x1cd3('0x47f9')+_0x1cd3('0x47fa')+_0x1cd3('0x4904')+_0x1cd3('0x3fc3')+_0x1cd3('0x366a')+_0x1cd3('0x47fb')+_0x1cd3('0x47e0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x47fc')+_0x1cd3('0x47fd')+_0x1cd3('0x47fe')+_0x1cd3('0x48d9')+_0x1cd3('0x48da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{interaction.closedAt\x20|\x20formatdate\x20}}\x0a'+_0x1cd3('0x48db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22DASHBOARDS.OPENED\x22>\x20-\x0a'+_0x1cd3('0x4800')+_0x1cd3('0x47e0')+_0x1cd3('0x4905')+_0x1cd3('0x4802')+_0x1cd3('0x47e0')+_0x1cd3('0x4906')+_0x1cd3('0x4907')+_0x1cd3('0x4908')+_0x1cd3('0x47e0')+_0x1cd3('0x47e5')+_0x1cd3('0x4805')+_0x1cd3('0x47fa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{tag.name}},\x0a'+_0x1cd3('0x4806')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4909')+_0x1cd3('0x4807')+_0x1cd3('0x47f8')+_0x1cd3('0x3fc3')+_0x1cd3('0x366a')+_0x1cd3('0x47e0')+_0x1cd3('0x4808')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x480a')+_0x1cd3('0x48e0')+_0x1cd3('0x4849')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x480b')+_0x1cd3('0x4810')+_0x1cd3('0x490a')+_0x1cd3('0x480d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20Mail\x0a'+_0x1cd3('0x41c1')+_0x1cd3('0x480f')+_0x1cd3('0x4810')+_0x1cd3('0x490b')+_0x1cd3('0x490c')+_0x1cd3('0x4813')+_0x1cd3('0x41c1')+_0x1cd3('0x480f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x490d')+_0x1cd3('0x490e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Download\x20without\x20attachments\x0a'+_0x1cd3('0x41c1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x48e6')+_0x1cd3('0x4817')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Close\x20and\x20Dispose\x0a'+_0x1cd3('0x41c1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4819')+_0x1cd3('0x481a')+_0x1cd3('0x47e0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x416d')+_0x1cd3('0x48e7')+'\x20\x20\x20\x20md-label=\x22{page:\x20\x27{{\x27DASHBOARDS.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27DASHBOARDS.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27DASHBOARDS.OF\x27\x20|\x20translate}}\x27}\x22\x0a'+_0x1cd3('0x42c3')+_0x1cd3('0x490f')+_0x1cd3('0x481d')+_0x1cd3('0x3b72'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x4910'),_0x1cd3('0x481e')+'\x20\x20\x20\x20My\x20Contacts\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4912')+_0x1cd3('0x4913')+_0x1cd3('0x3b4b')+_0x1cd3('0x4914')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x20\x27md-fab\x20md-mini\x20white-bg\x27:\x20vm.query.search\x20}\x22\x20aria-label=\x22Advanced\x20search\x22\x20translate\x0a'+_0x1cd3('0x4915')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4916')+_0x1cd3('0x3859')+_0x1cd3('0x4917')+_0x1cd3('0x4918')+_0x1cd3('0x4919')+_0x1cd3('0x491a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x3947')+_0x1cd3('0x4758')+_0x1cd3('0x3949')+_0x1cd3('0x491d')+_0x1cd3('0x394a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.ID\x27\x20|\x20translate}}\x0a'+_0x1cd3('0x491e')+_0x1cd3('0x491f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.MOBILE\x27\x20|\x20translate}}\x0a'+_0x1cd3('0x4920')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.EMAIL\x27\x20|\x20translate}}\x0a'+_0x1cd3('0x4921')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.TAGS\x27\x20|\x20translate}}\x0a'+_0x1cd3('0x4731')+_0x1cd3('0x394b')+_0x1cd3('0x394c')+_0x1cd3('0x394d')+_0x1cd3('0x4922')+_0x1cd3('0x4733')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x394b')+_0x1cd3('0x4923')+_0x1cd3('0x4924')+_0x1cd3('0x4925')+_0x1cd3('0x4926')+_0x1cd3('0x4927')+_0x1cd3('0x4738')+_0x1cd3('0x4928')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20license=\x22vm_home.license\x22>\x0a'+_0x1cd3('0x475f')+_0x1cd3('0x3951')+_0x1cd3('0x4929')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x492d')+_0x1cd3('0x492e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x492f')+_0x1cd3('0x4930')+_0x1cd3('0x3841')+_0x1cd3('0x4931')+_0x1cd3('0x4932')+_0x1cd3('0x4933')+_0x1cd3('0x4934')+_0x1cd3('0x4935')+_0x1cd3('0x4936')+_0x1cd3('0x3841')+_0x1cd3('0x36b7')+_0x1cd3('0x3951')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4937')+_0x1cd3('0x4746')+_0x1cd3('0x4747')+_0x1cd3('0x4767')+_0x1cd3('0x3849')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3960')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4938')+_0x1cd3('0x3695')+_0x1cd3('0x3696')+_0x1cd3('0x3960')+_0x1cd3('0x4939')+_0x1cd3('0x493a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3696')+_0x1cd3('0x3960')+_0x1cd3('0x493b')+_0x1cd3('0x493c')+_0x1cd3('0x493d')+_0x1cd3('0x3695')+_0x1cd3('0x3696')+_0x1cd3('0x3699')+_0x1cd3('0x369a')+_0x1cd3('0x3951')+_0x1cd3('0x394b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3953')+_0x1cd3('0x3954')+'\x0a'+_0x1cd3('0x493e')+_0x1cd3('0x493f')+_0x1cd3('0x4940'));_0x404b17['put']('app/main/apps/dashboards/views/general/agent/home/openchannel/agent.general.openchannel.html','\x0a'+'\x20\x20\x0a'+_0x1cd3('0x4823')+_0x1cd3('0x47c3')+_0x1cd3('0x47c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x47c7')+_0x1cd3('0x48c5')+_0x1cd3('0x4944')+_0x1cd3('0x47c9')+_0x1cd3('0x47ca')+_0x1cd3('0x36ed')+_0x1cd3('0x3d1d')+_0x1cd3('0x4945')+_0x1cd3('0x4946')+_0x1cd3('0x48f0')+_0x1cd3('0x411d')+_0x1cd3('0x36ed')+_0x1cd3('0x48c8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x48f2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.composeOpenchannelInteraction($event,\x20openchannelAccount)\x22\x0a'+_0x1cd3('0x4947')+_0x1cd3('0x4948')+_0x1cd3('0x48ca')+_0x1cd3('0x48cb')+_0x1cd3('0x48cc')+_0x1cd3('0x3686')+_0x1cd3('0x415d')+'\x20\x20\x0a'+_0x1cd3('0x47cb')+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.ID\x27\x20|\x20translate}}\x0a'+_0x1cd3('0x47ce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x47d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x47d1')+_0x1cd3('0x47d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.STARTEDAT\x27\x20|\x20translate}}\x0a'+_0x1cd3('0x47d3')+_0x1cd3('0x47d4')+_0x1cd3('0x47d5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4949')+_0x1cd3('0x47d0')+_0x1cd3('0x47d8')+_0x1cd3('0x47d9')+_0x1cd3('0x47da')+_0x1cd3('0x4832')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x494a')+_0x1cd3('0x47dd')+_0x1cd3('0x4834')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x0a'+_0x1cd3('0x47df')+_0x1cd3('0x366a')+_0x1cd3('0x47e0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x494b')+_0x1cd3('0x47e2')+_0x1cd3('0x494c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x47e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x47e0')+_0x1cd3('0x47e5')+_0x1cd3('0x47e6')+_0x1cd3('0x48f9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x48d5')+_0x1cd3('0x47e7')+_0x1cd3('0x48fa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x47ec')+_0x1cd3('0x47e9')+_0x1cd3('0x47ea')+_0x1cd3('0x47eb')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x47ed')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x494d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x47ef')+_0x1cd3('0x47f0')+_0x1cd3('0x47f1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{interaction.createdAt\x20|\x20formatdate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x47f4')+_0x1cd3('0x47f5')+_0x1cd3('0x47f6')+_0x1cd3('0x47f7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x47fa')+_0x1cd3('0x4904')+_0x1cd3('0x3fc3')+_0x1cd3('0x366a')+_0x1cd3('0x47fb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x494d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x494e')+_0x1cd3('0x48db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22DASHBOARDS.OPENED\x22>\x20-\x0a'+_0x1cd3('0x4800')+_0x1cd3('0x47e0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4802')+_0x1cd3('0x47e0')+_0x1cd3('0x494f')+_0x1cd3('0x4950')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.getOpenchannelAccountLabel(interaction)\x20}}\x0a'+_0x1cd3('0x47e0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x47fa')+_0x1cd3('0x48df')+_0x1cd3('0x4951')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x43bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x47e0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x480a')+_0x1cd3('0x48e0')+_0x1cd3('0x4849')+_0x1cd3('0x39f4')+_0x1cd3('0x480b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x1859'));_0x404b17['put'](_0x1cd3('0x4958'),_0x1cd3('0x481e')+_0x1cd3('0x4959')+_0x1cd3('0x3943')+_0x1cd3('0x495a')+_0x1cd3('0x495b')+_0x1cd3('0x495c')+_0x1cd3('0x495d')+_0x1cd3('0x495e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x495f')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x4758')+_0x1cd3('0x3949')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x394a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.TYPE\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.UNIQUEID\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4960')+_0x1cd3('0x4961')+_0x1cd3('0x4962')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.QUEUE\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4963')+_0x1cd3('0x4964')+_0x1cd3('0x4965')+_0x1cd3('0x4731')+_0x1cd3('0x394b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x394d')+_0x1cd3('0x4966')+_0x1cd3('0x4733')+_0x1cd3('0x4967')+_0x1cd3('0x4734')+_0x1cd3('0x36b7')+_0x1cd3('0x3951')+_0x1cd3('0x394b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4968')+_0x1cd3('0x4969')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x496a')+_0x1cd3('0x473b')+_0x1cd3('0x475f')+_0x1cd3('0x3951')+_0x1cd3('0x496b')+_0x1cd3('0x4738')+_0x1cd3('0x496c')+_0x1cd3('0x475f')+_0x1cd3('0x3951')+_0x1cd3('0x496d')+_0x1cd3('0x4738')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x475f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{voiceRecording.queue}}\x0a'+_0x1cd3('0x496e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4973')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4974')+_0x1cd3('0x4283')+_0x1cd3('0x3951')+_0x1cd3('0x4975')+_0x1cd3('0x4976')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4767')+_0x1cd3('0x3849')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4977')+_0x1cd3('0x4978')+_0x1cd3('0x4979')+_0x1cd3('0x3695')+_0x1cd3('0x3696')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x497a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3696')+_0x1cd3('0x3699')+_0x1cd3('0x369a')+_0x1cd3('0x3951')+_0x1cd3('0x394b')+_0x1cd3('0x3952')+_0x1cd3('0x3953')+_0x1cd3('0x3954')+'\x0a'+_0x1cd3('0x493e')+'\x20\x20\x20\x20\x20\x20\x20\x20md-total=\x22{{vm.voiceRecordings.count}}\x22\x20md-on-paginate=\x22vm.getVoiceRecordings\x22\x20md-page-select>\x0a'+_0x1cd3('0x497b')+'');_0x404b17['put'](_0x1cd3('0x497c'),_0x1cd3('0x481e')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3943')+_0x1cd3('0x497d')+_0x1cd3('0x3945')+_0x1cd3('0x497e')+_0x1cd3('0x495f')+_0x1cd3('0x497f')+_0x1cd3('0x4980')+_0x1cd3('0x4725')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27MOTIONDIALER.REFRESH_SCHEDULED_CALLS\x27\x20|\x20translate}}\x0a'+_0x1cd3('0x3671')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x4758')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4981')+_0x1cd3('0x394a')+_0x1cd3('0x4982')+_0x1cd3('0x4983')+_0x1cd3('0x4984')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.PRIORITY\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4985')+_0x1cd3('0x4986')+_0x1cd3('0x4731')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x394c')+_0x1cd3('0x394d')+_0x1cd3('0x4987')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4967')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a'+_0x1cd3('0x36b7')+_0x1cd3('0x3951')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4988')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{scheduledCall.Contact.firstName}}\x20{{scheduledCall.Contact.lastName}}\x0a'+_0x1cd3('0x4989')+_0x1cd3('0x498a')+_0x1cd3('0x3951')+_0x1cd3('0x498b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell>{{\x20scheduledCall.scheduledat\x20|\x20date:\x27medium\x27\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.priorities[scheduledCall.priority]\x20}}\x0a'+_0x1cd3('0x4989')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4989')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3960')+_0x1cd3('0x4991')+_0x1cd3('0x4992')+_0x1cd3('0x4993')+_0x1cd3('0x3695')+_0x1cd3('0x3696')+_0x1cd3('0x3960')+_0x1cd3('0x4994')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MOTIONDIALER.DELETE_HOPPER\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Hopper\x0a'+_0x1cd3('0x3695')+_0x1cd3('0x3696')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x369a')+_0x1cd3('0x3951')+_0x1cd3('0x394b')+_0x1cd3('0x3952')+_0x1cd3('0x3953')+_0x1cd3('0x3954')+'\x0a'+_0x1cd3('0x493e')+_0x1cd3('0x4995')+_0x1cd3('0x497b')+_0x1cd3('0x3b72'));_0x404b17[_0x1cd3('0x37b')]('app/main/apps/dashboards/views/general/agent/home/sms/agent.general.sms.html',_0x1cd3('0x4752')+_0x1cd3('0x47bc')+_0x1cd3('0x481f')+_0x1cd3('0x4118')+_0x1cd3('0x4941')+'\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22DASHBOARDS.SMS_INTERACTIONS\x22>Interactions\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4823')+_0x1cd3('0x47c3')+_0x1cd3('0x47c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x48ed')+_0x1cd3('0x36ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x48c8')+_0x1cd3('0x4998')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x499a')+_0x1cd3('0x48ca')+_0x1cd3('0x48cb')+_0x1cd3('0x48cc')+_0x1cd3('0x3686')+'\x20\x20\x0a'+_0x1cd3('0x48cd')+_0x1cd3('0x47cb')+_0x1cd3('0x499b')+_0x1cd3('0x482a')+_0x1cd3('0x47cd')+_0x1cd3('0x48cf')+_0x1cd3('0x47ce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x47d1')+_0x1cd3('0x47d1')+_0x1cd3('0x47d2')+_0x1cd3('0x48d0')+_0x1cd3('0x47d3')+_0x1cd3('0x47d4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.AGENT\x27\x20|\x20translate}}\x0a'+_0x1cd3('0x47d6')+_0x1cd3('0x4949')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x47d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x47da')+_0x1cd3('0x4832')+_0x1cd3('0x47db')+_0x1cd3('0x499c')+_0x1cd3('0x47dd')+_0x1cd3('0x4834')+_0x1cd3('0x47de')+_0x1cd3('0x47df')+_0x1cd3('0x366a')+_0x1cd3('0x47e0')+_0x1cd3('0x47da')+_0x1cd3('0x499d')+_0x1cd3('0x47e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x388f')+_0x1cd3('0x47e4')+_0x1cd3('0x366a')+_0x1cd3('0x47e0')+_0x1cd3('0x47e5')+_0x1cd3('0x47e6')+_0x1cd3('0x48f9')+_0x1cd3('0x48d4')+_0x1cd3('0x48d5')+_0x1cd3('0x47e7')+_0x1cd3('0x48fa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x47ec')+_0x1cd3('0x47e9')+_0x1cd3('0x47ea')+_0x1cd3('0x47eb')+_0x1cd3('0x366a')+_0x1cd3('0x47e0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x48d6')+_0x1cd3('0x47ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x47e0')+_0x1cd3('0x499e')+_0x1cd3('0x48d7')+_0x1cd3('0x47ef')+_0x1cd3('0x47f0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20layout-margin>{{\x20interaction.contactName\x20}}\x0a'+_0x1cd3('0x47f2')+_0x1cd3('0x47f3')+_0x1cd3('0x366a')+_0x1cd3('0x47e0')+_0x1cd3('0x499e')+_0x1cd3('0x4903')+_0x1cd3('0x47e0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x47f4')+_0x1cd3('0x47f5')+_0x1cd3('0x47f6')+_0x1cd3('0x47f7')+_0x1cd3('0x47f8')+_0x1cd3('0x47f9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4904')+_0x1cd3('0x3fc3')+_0x1cd3('0x366a')+_0x1cd3('0x47fb')+_0x1cd3('0x47e0')+_0x1cd3('0x499e')+_0x1cd3('0x47fc')+_0x1cd3('0x47fd')+_0x1cd3('0x47fe')+_0x1cd3('0x48d9')+_0x1cd3('0x48da')+_0x1cd3('0x494e')+_0x1cd3('0x48db')+_0x1cd3('0x47ff')+_0x1cd3('0x4800')+_0x1cd3('0x47e0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4802')+_0x1cd3('0x47e0')+_0x1cd3('0x499f')+_0x1cd3('0x49a0')+_0x1cd3('0x49a1')+_0x1cd3('0x47e0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x47fa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4951')+_0x1cd3('0x4806')+_0x1cd3('0x43bf')+_0x1cd3('0x4909')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-style=\x22{\x27color\x27:\x20interaction.Tags.length\x20==\x201\x20&&\x20interaction.Tags[0].color\x20}\x22>\x0a'+_0x1cd3('0x47f8')+_0x1cd3('0x3fc3')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4809')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4849')+_0x1cd3('0x39f4')+_0x1cd3('0x480b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x49a2')+_0x1cd3('0x480d')+_0x1cd3('0x49a3')+_0x1cd3('0x41c1')+_0x1cd3('0x480f')+_0x1cd3('0x4810')+_0x1cd3('0x49a4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22DASHBOARDS.DOWNLOAD\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Download\x20Sms\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x480f')+_0x1cd3('0x48e5')+_0x1cd3('0x48e6')+_0x1cd3('0x4817')+_0x1cd3('0x4818')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x480f')+_0x1cd3('0x4819')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x47e0')+_0x1cd3('0x47da')+_0x1cd3('0x481b')+_0x1cd3('0x42c0')+_0x1cd3('0x416d')+_0x1cd3('0x48e7')+'\x20\x20\x20\x20md-label=\x22{page:\x20\x27{{\x27DASHBOARDS.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27DASHBOARDS.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27DASHBOARDS.OF\x27\x20|\x20translate}}\x27}\x22\x0a'+_0x1cd3('0x42c3')+_0x1cd3('0x49a5')+_0x1cd3('0x481d')+_0x1cd3('0x3b72'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x49a6'),'\x0a'+_0x1cd3('0x49a7')+_0x1cd3('0x3943')+_0x1cd3('0x49a8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x3947')+_0x1cd3('0x4758')+_0x1cd3('0x3949')+_0x1cd3('0x49aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x49ab')+_0x1cd3('0x49ac')+_0x1cd3('0x49ad')+_0x1cd3('0x49ae')+_0x1cd3('0x49af')+_0x1cd3('0x49b0')+_0x1cd3('0x49b1')+_0x1cd3('0x49b2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x394c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x49b3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x394b')+_0x1cd3('0x49b4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{voiceCall.id}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.\x27\x20+\x20voiceCall.type.toUpperCase()\x20|\x20translate}}\x0a'+_0x1cd3('0x49b5')+_0x1cd3('0x4738')+_0x1cd3('0x49b6')+_0x1cd3('0x475f')+_0x1cd3('0x3951')+_0x1cd3('0x49b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x49b8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3951')+_0x1cd3('0x49b9')+_0x1cd3('0x49ba')+_0x1cd3('0x49bb')+_0x1cd3('0x49bc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4976')+_0x1cd3('0x4937')+_0x1cd3('0x4746')+_0x1cd3('0x49bd')+_0x1cd3('0x4767')+_0x1cd3('0x3849')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x49be')+_0x1cd3('0x3695')+_0x1cd3('0x3696')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3952')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3954')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x366c')+_0x1cd3('0x4515')+_0x1cd3('0x49c2')+_0x1cd3('0x49c3')+_0x1cd3('0x49c4')+_0x1cd3('0x49c5')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x0a'+_0x1cd3('0x49c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x49c6')+_0x1cd3('0x49c7')+_0x1cd3('0x3756')+_0x1cd3('0x3757')+'\x0a'+_0x1cd3('0x49c2')+_0x1cd3('0x49c3')+_0x1cd3('0x49c8')+_0x1cd3('0x49c9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3757')+'\x0a'+_0x1cd3('0x49c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Destination

\x0a'+_0x1cd3('0x49ca')+_0x1cd3('0x3756')+_0x1cd3('0x3757')+'\x0a'+_0x1cd3('0x49c2')+_0x1cd3('0x49c3')+_0x1cd3('0x49cb')+_0x1cd3('0x49cc')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x49c2')+_0x1cd3('0x49c3')+_0x1cd3('0x49cd')+_0x1cd3('0x49ce')+_0x1cd3('0x3756')+_0x1cd3('0x3757')+'\x0a'+_0x1cd3('0x49c2')+_0x1cd3('0x49c3')+_0x1cd3('0x49cf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

{{vm.call.endtime\x20?\x20(vm.call.endtime\x20|\x20date:\x27medium\x27)\x20:\x20\x27--\x27}}

\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3757')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x49c3')+_0x1cd3('0x49d0')+_0x1cd3('0x49d1')+_0x1cd3('0x3756')+_0x1cd3('0x3757')+'\x0a'+_0x1cd3('0x49c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x49d2')+_0x1cd3('0x49d3')+_0x1cd3('0x3756')+_0x1cd3('0x3757')+'\x0a'+_0x1cd3('0x49c2')+_0x1cd3('0x49c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Disposition

\x0a'+_0x1cd3('0x49d4')+_0x1cd3('0x3756')+_0x1cd3('0x3757')+'\x0a'+_0x1cd3('0x49c2')+_0x1cd3('0x49c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Note

\x0a'+_0x1cd3('0x49d5')+_0x1cd3('0x3756')+_0x1cd3('0x3757')+_0x1cd3('0x3758')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x49d6')+_0x1cd3('0x49d7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3675')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x49d8'),_0x1cd3('0x4752')+'\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x4941')+'\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22DASHBOARDS.WHATSAPP_INTERACTIONS\x22>Interactions\x0a'+_0x1cd3('0x47bd')+_0x1cd3('0x47be')+_0x1cd3('0x47bf')+_0x1cd3('0x47c0')+_0x1cd3('0x411b')+_0x1cd3('0x49d9')+_0x1cd3('0x47c2')+_0x1cd3('0x4822')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x47c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22DASHBOARDS.RELOAD\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.getWhatsappInteractions()\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x47ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d1d')+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x49dc')+_0x1cd3('0x48ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x48cc')+_0x1cd3('0x3686')+'\x20\x20\x0a'+'\x20\x20\x0a'+_0x1cd3('0x47cb')+_0x1cd3('0x49dd')+_0x1cd3('0x482a')+_0x1cd3('0x47cd')+_0x1cd3('0x48cf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x47cf')+_0x1cd3('0x47d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x47d1')+_0x1cd3('0x47d2')+_0x1cd3('0x48d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.LAST_MESSAGE\x27\x20|\x20translate}}\x0a'+_0x1cd3('0x47d4')+_0x1cd3('0x47d5')+_0x1cd3('0x47d6')+_0x1cd3('0x4949')+_0x1cd3('0x47d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.TAGS\x27\x20|\x20translate}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x47da')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x47db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x47dd')+_0x1cd3('0x4834')+_0x1cd3('0x47de')+_0x1cd3('0x47df')+_0x1cd3('0x366a')+_0x1cd3('0x47e0')+_0x1cd3('0x47da')+_0x1cd3('0x49de')+_0x1cd3('0x47e2')+_0x1cd3('0x49df')+_0x1cd3('0x388f')+_0x1cd3('0x47e4')+_0x1cd3('0x366a')+_0x1cd3('0x47e0')+_0x1cd3('0x47e5')+_0x1cd3('0x47e6')+_0x1cd3('0x48f9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x48d5')+_0x1cd3('0x47e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22!$last\x22>,\x20\x0a'+_0x1cd3('0x47e8')+_0x1cd3('0x366a')+_0x1cd3('0x47e0')+_0x1cd3('0x47ec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x200\x22\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22>\x0a'+_0x1cd3('0x47ea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20layout-margin>{{interaction.unreadMessages}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x47e0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x48d6')+_0x1cd3('0x47ed')+_0x1cd3('0x366a')+_0x1cd3('0x47e0')+_0x1cd3('0x49e0')+_0x1cd3('0x48d7')+_0x1cd3('0x47ef')+_0x1cd3('0x47f0')+_0x1cd3('0x47f1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20interaction.contactInfo\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x47e0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4903')+_0x1cd3('0x47e0')+_0x1cd3('0x49e0')+_0x1cd3('0x47f4')+_0x1cd3('0x47f5')+_0x1cd3('0x47f6')+_0x1cd3('0x47f7')+_0x1cd3('0x47f8')+_0x1cd3('0x47f9')+_0x1cd3('0x47fa')+_0x1cd3('0x4904')+_0x1cd3('0x3fc3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x47fb')+_0x1cd3('0x47e0')+_0x1cd3('0x49e0')+_0x1cd3('0x47fc')+_0x1cd3('0x47fd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22interaction.disposition\x22>-\x0a'+_0x1cd3('0x48d9')+_0x1cd3('0x48da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{interaction.closedAt\x20|\x20formatdate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4805')+_0x1cd3('0x47fa')+_0x1cd3('0x48df')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{tag.name}},\x0a'+_0x1cd3('0x4806')+_0x1cd3('0x43bf')+_0x1cd3('0x4909')+_0x1cd3('0x4807')+_0x1cd3('0x47f8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x47e0')+_0x1cd3('0x4808')+_0x1cd3('0x4809')+_0x1cd3('0x480a')+_0x1cd3('0x48e0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39f4')+_0x1cd3('0x480b')+_0x1cd3('0x4810')+_0x1cd3('0x49e5')+_0x1cd3('0x480d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20Whatsapp\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x480f')+_0x1cd3('0x4810')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x48e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4819')+_0x1cd3('0x481a')+_0x1cd3('0x47e0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x481b')+_0x1cd3('0x42c0')+'\x20\x20\x0a'+_0x1cd3('0x48e7')+_0x1cd3('0x48e8')+'\x20\x20\x20\x20md-limit=\x22vm.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm.query.page\x22\x0a'+_0x1cd3('0x49e7')+'\x20\x20\x20\x20md-page-select>\x0a'+_0x1cd3('0x3b72'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x49e8'),_0x1cd3('0x49e9')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x49ea')+'\x0a'+_0x1cd3('0x3686')+'\x0a'+'');_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x133b'),_0x1cd3('0x49eb')+_0x1cd3('0x49ec')+_0x1cd3('0x384d'));_0x404b17['put'](_0x1cd3('0x49ed'),_0x1cd3('0x4620')+_0x1cd3('0x49ee')+'\x0a'+_0x1cd3('0x49ef')+'\x0a'+_0x1cd3('0x49f0')+'\x0a'+_0x1cd3('0x49f1')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x49f2')+'\x0a'+_0x1cd3('0x49f3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20(u.id\x20==\x20vm.user.id)\x20?\x20\x27DASHBOARDS.ME\x27\x20:\x20vm.usersMap[u.id]\x20|\x20translate\x20}}\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x4853')+'\x0a'+_0x1cd3('0x49f4')+_0x1cd3('0x49f5')+_0x1cd3('0x49f6')+'\x0a'+_0x1cd3('0x49f7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x49f8')+_0x1cd3('0x49f9')+_0x1cd3('0x49fa')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x49fb')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x46da')+_0x1cd3('0x49fc')+'\x0a'+_0x1cd3('0x49fd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3c7e')+'\x0a'+_0x1cd3('0x49fe')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x37cf')+_0x1cd3('0x49ff'));_0x404b17[_0x1cd3('0x37b')]('app/main/apps/dashboards/views/general/agent/interaction/composeFax/dialog.html','\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3667')+_0x1cd3('0x464a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4a00')+_0x1cd3('0x367d')+_0x1cd3('0x4a01')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20flow-file-added=\x22vm.fileAdded($file)\x22\x20flow-file-success=\x22vm.fileSuccess($file,\x20$message)\x22>\x0a'+_0x1cd3('0x4a02')+_0x1cd3('0x367d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.message.from}}\x0a'+_0x1cd3('0x4a03')+_0x1cd3('0x4a04')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x4a05')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20To\x0a'+_0x1cd3('0x4a06')+_0x1cd3('0x4a07')+_0x1cd3('0x4a08')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4a09')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4a0a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x4a0b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4a0c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+'\x0a'+_0x1cd3('0x4a0d')+_0x1cd3('0x4a0e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x41f2')+_0x1cd3('0x4a0f')+_0x1cd3('0x4a10')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x0a'+_0x1cd3('0x4a11')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x366f')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17['put'](_0x1cd3('0x175d'),_0x1cd3('0x4a12')+_0x1cd3('0x4a13')+_0x1cd3('0x4a14')+_0x1cd3('0x4a15')+_0x1cd3('0x4a16')+_0x1cd3('0x4a17')+_0x1cd3('0x4a18')+_0x1cd3('0x3667')+_0x1cd3('0x464a')+_0x1cd3('0x4a19')+_0x1cd3('0x4a1a')+_0x1cd3('0x4a1b')+_0x1cd3('0x4a1c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4a1d')+_0x1cd3('0x4937')+_0x1cd3('0x4a1e')+_0x1cd3('0x4a1f')+_0x1cd3('0x4a20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4a21')+_0x1cd3('0x4a22')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4748')+_0x1cd3('0x4a23')+_0x1cd3('0x4a24')+_0x1cd3('0x3d89')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4a25')+_0x1cd3('0x4a26')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{subStatus.name}}\x0a'+_0x1cd3('0x3d8f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d90')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3696')+_0x1cd3('0x3960')+_0x1cd3('0x4a27')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Send\x20and\x20Close\x0a'+_0x1cd3('0x3695')+_0x1cd3('0x3696')+_0x1cd3('0x3699')+_0x1cd3('0x369a')+_0x1cd3('0x3756')+_0x1cd3('0x4a28')+_0x1cd3('0x4a29')+_0x1cd3('0x4a2a')+_0x1cd3('0x367d')+_0x1cd3('0x4a2b')+_0x1cd3('0x4a2c')+_0x1cd3('0x4a2d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x39d7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b1f')+_0x1cd3('0x3b15')+_0x1cd3('0x3b16')+_0x1cd3('0x3b17')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b18')+_0x1cd3('0x3b19')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4a32')+_0x1cd3('0x4a33')+_0x1cd3('0x4a34')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4a09')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x369f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4a39')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4a3a')+_0x1cd3('0x4a3b')+_0x1cd3('0x4a3c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4a3d')+_0x1cd3('0x4a3e')+_0x1cd3('0x4a3f')+_0x1cd3('0x4a40')+_0x1cd3('0x4a36')+_0x1cd3('0x4a41')+_0x1cd3('0x4a38')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.getContact(contact)\x20}}\x0a'+_0x1cd3('0x4a42')+_0x1cd3('0x4a0a')+_0x1cd3('0x369f')+_0x1cd3('0x36aa')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Bcc\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4a43')+_0x1cd3('0x4a38')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4a09')+_0x1cd3('0x4a42')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x369f')+_0x1cd3('0x36aa')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4a44')+_0x1cd3('0x4a45')+_0x1cd3('0x36aa')+'\x0a'+_0x1cd3('0x4a0d')+_0x1cd3('0x4a46')+_0x1cd3('0x4a47')+_0x1cd3('0x3b15')+_0x1cd3('0x41f2')+_0x1cd3('0x4a0f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{attachment.size\x20|\x20byteFmt:\x200}})\x0a'+_0x1cd3('0x3756')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20item.key\x20}}\x20-\x0a'+_0x1cd3('0x4a55')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3b34')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20canned\x20answers\x20were\x20found\x0a'+_0x1cd3('0x3b35')+_0x1cd3('0x3b36')+'\x0a'+_0x1cd3('0x366f')+_0x1cd3('0x3681')+'');_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x4a56'),_0x1cd3('0x4a57')+_0x1cd3('0x4a17')+_0x1cd3('0x470d')+_0x1cd3('0x3667')+_0x1cd3('0x464a')+_0x1cd3('0x4a58')+_0x1cd3('0x4a59')+_0x1cd3('0x367d')+_0x1cd3('0x4a5a')+_0x1cd3('0x4a5b')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+_0x1cd3('0x4a30')+_0x1cd3('0x4a5c')+_0x1cd3('0x4a04')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x3b14')+_0x1cd3('0x3b1f')+_0x1cd3('0x3b15')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x3b17')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b19')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+'\x0a'+_0x1cd3('0x4a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20To\x0a'+_0x1cd3('0x4a06')+_0x1cd3('0x4a5e')+_0x1cd3('0x4a5f')+_0x1cd3('0x4a09')+_0x1cd3('0x4a42')+_0x1cd3('0x4a0a')+_0x1cd3('0x369f')+_0x1cd3('0x4a60')+_0x1cd3('0x3b24')+_0x1cd3('0x4a61')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+'\x0a'+_0x1cd3('0x4a62')+_0x1cd3('0x4a63')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4a64')+_0x1cd3('0x4a65')+_0x1cd3('0x4a66')+_0x1cd3('0x4a67')+_0x1cd3('0x4a68')+_0x1cd3('0x4a69')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4a6a')+_0x1cd3('0x3b35')+_0x1cd3('0x3b36')+'\x0a'+'\x0a'+_0x1cd3('0x366f')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17['put'](_0x1cd3('0x17ac'),_0x1cd3('0x4a57')+_0x1cd3('0x4a17')+_0x1cd3('0x470d')+_0x1cd3('0x3667')+_0x1cd3('0x464a')+_0x1cd3('0x4a58')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SEND\x0a'+_0x1cd3('0x367d')+_0x1cd3('0x4a5a')+_0x1cd3('0x4a6b')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+_0x1cd3('0x4a30')+_0x1cd3('0x4a6c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x3b14')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b15')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x3b17')+_0x1cd3('0x3756')+_0x1cd3('0x3b18')+_0x1cd3('0x3b19')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20To\x0a'+_0x1cd3('0x4a06')+_0x1cd3('0x4a6d')+_0x1cd3('0x4a5f')+_0x1cd3('0x4a09')+_0x1cd3('0x4a42')+_0x1cd3('0x4a0a')+_0x1cd3('0x369f')+_0x1cd3('0x4a60')+_0x1cd3('0x3b24')+_0x1cd3('0x4a6e')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+'\x0a'+_0x1cd3('0x4a62')+_0x1cd3('0x4a6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4a64')+_0x1cd3('0x4a70')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4a71')+_0x1cd3('0x4a72')+_0x1cd3('0x4a69')+_0x1cd3('0x4a73')+'\x0a'+_0x1cd3('0x3b34')+_0x1cd3('0x4a74')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b36')+'\x0a'+'\x0a'+_0x1cd3('0x366f')+'\x20\x20\x20\x20\x0a'+'\x0a');_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x17ca'),_0x1cd3('0x4a57')+_0x1cd3('0x4a17')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3667')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4a58')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SEND\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4a5a')+_0x1cd3('0x4a75')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.message.from}}\x0a'+_0x1cd3('0x4a76')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x3b14')+_0x1cd3('0x3b1f')+_0x1cd3('0x3b15')+_0x1cd3('0x3b16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b19')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x366a')+'\x0a'+_0x1cd3('0x4a5d')+_0x1cd3('0x4a77')+_0x1cd3('0x4a06')+_0x1cd3('0x4a6d')+_0x1cd3('0x4a5f')+_0x1cd3('0x4a09')+_0x1cd3('0x4a42')+_0x1cd3('0x4a0a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4a60')+_0x1cd3('0x3b24')+_0x1cd3('0x4a78')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+'\x0a'+_0x1cd3('0x4a62')+_0x1cd3('0x4a79')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4a64')+_0x1cd3('0x4a7a')+_0x1cd3('0x4a66')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4a7b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{item.key}}\x20-\x20{{item.value}}\x0a'+_0x1cd3('0x4a73')+'\x0a'+_0x1cd3('0x3b34')+_0x1cd3('0x4a7c')+_0x1cd3('0x3b35')+_0x1cd3('0x3b36')+'\x0a'+'\x0a'+_0x1cd3('0x366f')+_0x1cd3('0x3681')+'\x0a');_0x404b17['put']('app/main/apps/dashboards/views/general/agent/interaction/dispose/dialog.html',_0x1cd3('0x4a7d')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4a7e')+_0x1cd3('0x4a7f')+_0x1cd3('0x4a80')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x3b14')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b15')+_0x1cd3('0x3b16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b18')+_0x1cd3('0x3b19')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+_0x1cd3('0x3b28')+_0x1cd3('0x4a81')+_0x1cd3('0x4a82')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NONE\x0a'+_0x1cd3('0x4a83')+_0x1cd3('0x36a9')+_0x1cd3('0x4a84')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4a85')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4a86')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+'\x0a'+_0x1cd3('0x3b14')+_0x1cd3('0x3b1f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x3b16')+_0x1cd3('0x3b17')+_0x1cd3('0x3756')+_0x1cd3('0x3b18')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x367d')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x3b20')+_0x1cd3('0x388f')+_0x1cd3('0x4a87')+_0x1cd3('0x4a88')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4a89')+_0x1cd3('0x3859')+_0x1cd3('0x4a8a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DISPOSE\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x4a8b')+_0x1cd3('0x4a8c')+_0x1cd3('0x4a8d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3681')+'');_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x4a8e'),_0x1cd3('0x4a8f')+_0x1cd3('0x4a90')+_0x1cd3('0x470d')+_0x1cd3('0x3667')+_0x1cd3('0x4a91')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b1f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x3b16')+_0x1cd3('0x3b17')+_0x1cd3('0x3756')+_0x1cd3('0x3b18')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x3b28')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{item.name}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4a98')+_0x1cd3('0x4a99')+_0x1cd3('0x4a9a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4a9b')+_0x1cd3('0x4a9c')+_0x1cd3('0x36aa')+'\x0a'+_0x1cd3('0x3b14')+_0x1cd3('0x3b1f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x3b16')+_0x1cd3('0x3b17')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b19')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x388f')+_0x1cd3('0x4a9d')+_0x1cd3('0x3891')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x17ff'),_0x1cd3('0x4a9e')+_0x1cd3('0x4a9f')+_0x1cd3('0x470d')+_0x1cd3('0x3667')+_0x1cd3('0x4aa0')+_0x1cd3('0x4aa1')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x3b14')+_0x1cd3('0x3b1f')+_0x1cd3('0x3b15')+_0x1cd3('0x3b16')+_0x1cd3('0x3b17')+_0x1cd3('0x3756')+_0x1cd3('0x3b18')+_0x1cd3('0x3b19')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3b28')+_0x1cd3('0x4aa2')+_0x1cd3('0x4aa3')+_0x1cd3('0x4aa4')+_0x1cd3('0x4aa5')+_0x1cd3('0x36a9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x4aa6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+'\x0a'+_0x1cd3('0x4aa7')+_0x1cd3('0x4aa8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4aa9')+_0x1cd3('0x36a9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Queue\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+'\x0a'+_0x1cd3('0x4aaa')+_0x1cd3('0x4aab')+_0x1cd3('0x4aac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20agent.name\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4aad')+_0x1cd3('0x3b24')+_0x1cd3('0x4aae')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+'\x0a'+_0x1cd3('0x3b14')+_0x1cd3('0x3b1f')+_0x1cd3('0x3b15')+_0x1cd3('0x3b16')+_0x1cd3('0x3b17')+_0x1cd3('0x3756')+_0x1cd3('0x3b18')+_0x1cd3('0x3b19')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4aaf')+_0x1cd3('0x3b20')+_0x1cd3('0x388f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4ab0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x3675')+_0x1cd3('0x3681')+_0x1cd3('0x3676'));_0x404b17['put'](_0x1cd3('0x4ab1'),'\x0a'+_0x1cd3('0x4ab2')+'\x20\x20\x0a'+_0x1cd3('0x4ab3')+_0x1cd3('0x4ab4')+_0x1cd3('0x4ab5')+_0x1cd3('0x4ab6')+_0x1cd3('0x4ab7')+_0x1cd3('0x4ab8')+'\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4ab9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4aba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4abb')+_0x1cd3('0x4abc')+_0x1cd3('0x4abd')+_0x1cd3('0x3d24')+_0x1cd3('0x3d1d')+_0x1cd3('0x3824')+'\x0a'+'\x20\x20\x0a'+_0x1cd3('0x4ac0')+_0x1cd3('0x4ac1')+'\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4ac2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20canned\x20answers\x20were\x20found\x0a'+_0x1cd3('0x4ac3')+'\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4ac4'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x4ac5'),_0x1cd3('0x4ac6')+_0x1cd3('0x4ac7')+_0x1cd3('0x4ac8')+_0x1cd3('0x4ac9')+_0x1cd3('0x4aca')+_0x1cd3('0x3d1d')+_0x1cd3('0x4acb')+_0x1cd3('0x4acc')+_0x1cd3('0x4ac8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OS\x20Name

\x0a'+_0x1cd3('0x4acd')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4acb')+_0x1cd3('0x4ace')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4acf')+_0x1cd3('0x4ad0')+_0x1cd3('0x3d1d')+_0x1cd3('0x4acb')+_0x1cd3('0x4ad1')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4ad2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

{{item.referer}}

\x0a'+_0x1cd3('0x3d1d')+'\x20\x20\x0a'+_0x1cd3('0x4ad3')+_0x1cd3('0x4ac8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Originating\x20IP\x20Address

\x0a'+_0x1cd3('0x4ad4')+_0x1cd3('0x3d1d')+_0x1cd3('0x4acb')+_0x1cd3('0x4ad5')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20Originating\x20TCP\x20Port

\x0a'+_0x1cd3('0x4ad6')+_0x1cd3('0x3686')+_0x1cd3('0x4acb')+'\x20\x20\x0a'+_0x1cd3('0x4ad7')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4ad8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4ad9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d1d')+_0x1cd3('0x4acb')+_0x1cd3('0x4ada')+_0x1cd3('0x4ac8')+_0x1cd3('0x4adb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{item.ratingMessage}}\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4acb')+_0x1cd3('0x376e'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x4adc'),_0x1cd3('0x4add')+_0x1cd3('0x4646')+_0x1cd3('0x4647')+_0x1cd3('0x4ade')+_0x1cd3('0x4adf')+_0x1cd3('0x4648')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4ae0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4ae1')+_0x1cd3('0x4ae2')+_0x1cd3('0x4ae3')+_0x1cd3('0x44da')+'\x0a'+_0x1cd3('0x46ea')+_0x1cd3('0x4ae4')+_0x1cd3('0x4ae5')+_0x1cd3('0x4ae6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4ae7')+_0x1cd3('0x4ae8')+_0x1cd3('0x4ae9')+_0x1cd3('0x4aea')+_0x1cd3('0x44da')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4aeb')+_0x1cd3('0x4aec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x44da')+'\x0a'+_0x1cd3('0x4aed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4aee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x4aef')+_0x1cd3('0x46da')+_0x1cd3('0x46db')+_0x1cd3('0x46dc')+_0x1cd3('0x4646')+_0x1cd3('0x4647')+_0x1cd3('0x4af0')+_0x1cd3('0x4adf')+_0x1cd3('0x4648')+_0x1cd3('0x4af1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.interaction.id}}\x20-\x20\x0a'+_0x1cd3('0x4af2')+_0x1cd3('0x4af3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3724')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x49c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4af4')+_0x1cd3('0x4af5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

{{vm.account.name}}

\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x49c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent

\x0a'+_0x1cd3('0x4af6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3757')+'\x0a'+_0x1cd3('0x4af7')+_0x1cd3('0x49c3')+_0x1cd3('0x4af8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

{{vm.interaction.externalUrl}}

\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x49c2')+_0x1cd3('0x49c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Created\x20At

\x0a'+_0x1cd3('0x4af9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3757')+'\x0a'+_0x1cd3('0x4afa')+_0x1cd3('0x4afb')+_0x1cd3('0x4afc')+_0x1cd3('0x3756')+_0x1cd3('0x49f9')+_0x1cd3('0x4afd')+_0x1cd3('0x3756')+_0x1cd3('0x4afe')+_0x1cd3('0x4aff')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4b00')+_0x1cd3('0x49c3')+_0x1cd3('0x4b01')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4b02')+_0x1cd3('0x3841')+_0x1cd3('0x36b7')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4b03')+_0x1cd3('0x49c3')+_0x1cd3('0x4b04')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

{{vm.interaction.closedAt\x20|\x20date:\x20\x27medium\x27}}

\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3757')+_0x1cd3('0x4b05')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4b06')+_0x1cd3('0x4b07')+_0x1cd3('0x3756')+_0x1cd3('0x3757')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x49c3')+_0x1cd3('0x4b08')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.interaction.note\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3757')+_0x1cd3('0x3758')+_0x1cd3('0x46db')+_0x1cd3('0x46dc')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x4647')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Journey\x0a'+_0x1cd3('0x4adf')+_0x1cd3('0x4648')+_0x1cd3('0x4b09')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x46da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x46dc')+_0x1cd3('0x46e0'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x4b0a'),'\x0a'+'\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x4b0b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent

\x0a'+_0x1cd3('0x4b0c')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x4b0b')+_0x1cd3('0x4b0d')+_0x1cd3('0x4b0e')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4b0f')+_0x1cd3('0x4b0b')+_0x1cd3('0x4b10')+_0x1cd3('0x4b11')+_0x1cd3('0x36f6')+_0x1cd3('0x4b12')+'\x0a'+_0x1cd3('0x4b13')+_0x1cd3('0x4b14')+_0x1cd3('0x3686')+_0x1cd3('0x4b15')+_0x1cd3('0x4b16')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4b17')+_0x1cd3('0x4b18')+_0x1cd3('0x4b0b')+_0x1cd3('0x4b19')+_0x1cd3('0x4b1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x4b0b')+_0x1cd3('0x4b1b')+_0x1cd3('0x4b1c')+_0x1cd3('0x36f6')+_0x1cd3('0x4b12')+_0x1cd3('0x4b1d')+_0x1cd3('0x4b0b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NOTE

\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20item.note\x20}}\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x4b12')+'\x0a'+_0x1cd3('0x4b1e')+_0x1cd3('0x4b1f')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4b20')+_0x1cd3('0x4b21')+_0x1cd3('0x4b22')+_0x1cd3('0x3d21')+_0x1cd3('0x3d1d')+_0x1cd3('0x4b12')+_0x1cd3('0x4b23'));_0x404b17[_0x1cd3('0x37b')]('app/main/apps/dashboards/views/general/agent/interaction/views/agent.general.info.journey.html',_0x1cd3('0x4b24')+_0x1cd3('0x4b25')+_0x1cd3('0x4b26')+_0x1cd3('0x4b27')+_0x1cd3('0x4b28')+_0x1cd3('0x4b29')+_0x1cd3('0x4b2a')+_0x1cd3('0x4b2b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Sms\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Fax\x0a'+_0x1cd3('0x4b2c')+_0x1cd3('0x4b2d')+_0x1cd3('0x389c')+_0x1cd3('0x374b')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x4b2e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x4b2e')+_0x1cd3('0x4b2f')+_0x1cd3('0x36f6')+_0x1cd3('0x3686')+_0x1cd3('0x37cf')+'\x0a'+_0x1cd3('0x4b30')+_0x1cd3('0x4b31')+_0x1cd3('0x4b32')+_0x1cd3('0x4b33')+_0x1cd3('0x4b34')+_0x1cd3('0x4b35')+_0x1cd3('0x4b36')+_0x1cd3('0x4b37')+_0x1cd3('0x4b38')+_0x1cd3('0x4b39')+_0x1cd3('0x4b3a')+_0x1cd3('0x4b3b')+_0x1cd3('0x4b3c')+_0x1cd3('0x4b3d')+_0x1cd3('0x4b3e')+_0x1cd3('0x4b3f')+_0x1cd3('0x367d')+_0x1cd3('0x4b40')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{item.id}}\x20-\x0a'+_0x1cd3('0x4b41')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{item.createdAt\x20|\x20date:\x20\x27medium\x27}}\x0a'+_0x1cd3('0x41fb')+_0x1cd3('0x4b42')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22item.showMore\x20=\x20!item.showMore\x22\x20translate=\x22DASHBOARDS.SHOW_DETAILS\x22>\x0a'+_0x1cd3('0x4b43')+_0x1cd3('0x4b44')+_0x1cd3('0x4b45')+_0x1cd3('0x4b46')+_0x1cd3('0x4b47')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4283')+_0x1cd3('0x3756')+_0x1cd3('0x39d3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4b48')+_0x1cd3('0x378a')+_0x1cd3('0x3669')+_0x1cd3('0x4b49')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4b4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4b4d')+_0x1cd3('0x4b4e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27DASHBOARDS.CLOSED\x27\x20|\x20translate}}\x0a'+_0x1cd3('0x4b4f')+_0x1cd3('0x3756')+_0x1cd3('0x4b50')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20title=\x22{{\x20\x27DASHBOARDS.STATUS\x27\x20|\x20translate}}:\x20{{\x20\x27DASHBOARDS.OPENED\x27\x20|\x20translate}}\x22>{{\x20\x27DASHBOARDS.STATUS\x27\x20|\x20translate}}:\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27DASHBOARDS.OPENED\x27\x20|\x20translate}}\x20-\x0a'+_0x1cd3('0x4b51')+_0x1cd3('0x4b52')+_0x1cd3('0x4b53')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20item.userDisposition\x20||\x20(\x27DASHBOARDS.NO_DISPOSITION_SET\x27\x20|\x20translate)}}\x0a'+_0x1cd3('0x4b54')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4b56')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3686')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x376e')+_0x1cd3('0x4b57')+_0x1cd3('0x4b58')+_0x1cd3('0x1859'));_0x404b17['put']('app/main/apps/dashboards/views/general/agent/interaction/views/agent.general.info.journey.voice.html',_0x1cd3('0x4b59')+'\x0a'+_0x1cd3('0x4b5a')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x4b0b')+_0x1cd3('0x4b5b')+_0x1cd3('0x4b5c')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4b0f')+_0x1cd3('0x4b0b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Source

\x0a'+_0x1cd3('0x4b5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4b12')+'\x0a'+_0x1cd3('0x4b0f')+_0x1cd3('0x4b0b')+_0x1cd3('0x4b5e')+_0x1cd3('0x4b5f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4b12')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x4b0b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Caller\x20Id

\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

{{item.callerid\x20?\x20item.callerid\x20:\x20\x27unknown\x27}}

\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4b12')+'\x0a'+_0x1cd3('0x4b0f')+_0x1cd3('0x4b0b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Started\x20At

\x0a'+_0x1cd3('0x4b60')+_0x1cd3('0x36f6')+_0x1cd3('0x4b12')+'\x0a'+_0x1cd3('0x4b0f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4b61')+_0x1cd3('0x4b62')+_0x1cd3('0x36f6')+_0x1cd3('0x4b12')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x4b0b')+_0x1cd3('0x4b63')+_0x1cd3('0x4b64')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x4b0b')+_0x1cd3('0x4b65')+_0x1cd3('0x4b66')+_0x1cd3('0x36f6')+_0x1cd3('0x4b12')+'\x0a'+_0x1cd3('0x4b0f')+_0x1cd3('0x4b0b')+_0x1cd3('0x4b67')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

{{item.note\x20?\x20item.note\x20:\x20\x27--\x27}}

\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x4b12')+_0x1cd3('0x4b23'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x4b68'),'\x0a'+_0x1cd3('0x4b69')+_0x1cd3('0x4ac8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Subject

\x0a'+_0x1cd3('0x4b6a')+_0x1cd3('0x3d1d')+'\x20\x20\x0a'+_0x1cd3('0x376e'));_0x404b17['put'](_0x1cd3('0x4b6b'),_0x1cd3('0x4ac6')+_0x1cd3('0x4b6c')+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Visibility

\x0a'+_0x1cd3('0x4b6d')+_0x1cd3('0x4b6e')+_0x1cd3('0x3d1d')+_0x1cd3('0x4acb')+_0x1cd3('0x376e'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x4b6f'),'\x0a'+_0x1cd3('0x4b70')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x4b71')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x4b72')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x376d')+'\x0a'+_0x1cd3('0x4b73')+_0x1cd3('0x4b74')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4b75')+_0x1cd3('0x4b76')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4b77')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d1d')+_0x1cd3('0x4b78')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.getLabelByMessage(message)\x20}}\x20-\x20{{message.createdAt\x20|\x20date:\x20\x27medium\x27}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4b79')+_0x1cd3('0x4b75')+_0x1cd3('0x4b7a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4b7b')+_0x1cd3('0x4b7c')+_0x1cd3('0x4b7d')+_0x1cd3('0x366a')+_0x1cd3('0x4b7e')+_0x1cd3('0x4b7f')+_0x1cd3('0x4b80')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20message.failMessage\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4b81')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4b82')+_0x1cd3('0x4b83')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d1d')+_0x1cd3('0x4b84')+_0x1cd3('0x4b85')+_0x1cd3('0x3d1d')+_0x1cd3('0x3686')+_0x1cd3('0x376e')+_0x1cd3('0x4b86'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x4b87'),'\x0a'+_0x1cd3('0x4b88')+_0x1cd3('0x4b89')+_0x1cd3('0x4b8a')+_0x1cd3('0x388f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4b8b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{message.createdAt\x20|\x20date:\x27medium\x27}}\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3679')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4b8c')+_0x1cd3('0x4b8d')+_0x1cd3('0x4b8e')+_0x1cd3('0x4b8f')+_0x1cd3('0x41ec')+_0x1cd3('0x4b90')+_0x1cd3('0x4b91')+_0x1cd3('0x4b92')+_0x1cd3('0x36b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4b93')+_0x1cd3('0x4b94')+_0x1cd3('0x4b95')+_0x1cd3('0x4b96')+_0x1cd3('0x36b7')+_0x1cd3('0x4b97')+_0x1cd3('0x4b98')+_0x1cd3('0x4b99')+_0x1cd3('0x3aee')+_0x1cd3('0x3a1a')+_0x1cd3('0x3aef')+_0x1cd3('0x3679')+_0x1cd3('0x4b9a')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+_0x1cd3('0x4b9b')+_0x1cd3('0x3c7e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4b9c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22message.direction\x20==\x20\x27out\x27\x20&&\x20!message.UserId\x20&&\x20!vm.selectedMailShowSystemMessage[message.id]\x22>\x0a'+_0x1cd3('0x4b9d')+_0x1cd3('0x4b9e')+_0x1cd3('0x4b9f')+_0x1cd3('0x366a')+_0x1cd3('0x4ba0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22message.direction\x20==\x20\x27in\x27\x20||\x20(message.direction\x20==\x20\x27out\x27\x20&&\x20(message.UserId\x20||\x20vm.selectedMailShowSystemMessage[message.id]))\x22>\x0a'+_0x1cd3('0x4ba1')+_0x1cd3('0x4ba2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4ba3')+_0x1cd3('0x4ba4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{message.from}}\x0a'+_0x1cd3('0x4ba5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x386e')+_0x1cd3('0x4ba6')+_0x1cd3('0x4ba7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Date:\x0a'+_0x1cd3('0x4bb9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20To:\x0a'+_0x1cd3('0x4bba')+_0x1cd3('0x4bbb')+_0x1cd3('0x4bbc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20message.cc\x20}}\x0a'+_0x1cd3('0x4bc7')+_0x1cd3('0x4bc8')+_0x1cd3('0x4bbf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{message.bcc}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4bca')+_0x1cd3('0x4bcb')+_0x1cd3('0x4bca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22message.direction\x20===\x27out\x27\x20&&\x20message.UserId\x22>{{vm.agent.fullname\x20||\x20vm.usersMap[message.UserId]}}\x0a'+_0x1cd3('0x4bca')+_0x1cd3('0x4bcc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{message.createdAt\x20|\x20date:\x27medium\x27}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4bcd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22avatar\x22\x20alt=\x22customer\x22\x20/>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-->\x0a'+_0x1cd3('0x36b7')+_0x1cd3('0x3756')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4bd3')+_0x1cd3('0x4bd4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4bd5')+_0x1cd3('0x4bd6')+_0x1cd3('0x4bd7')+_0x1cd3('0x4935')+_0x1cd3('0x4bd8')+_0x1cd3('0x4bd9')+_0x1cd3('0x4bda')+_0x1cd3('0x3a52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4bdb')+_0x1cd3('0x4bdc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Reply\x0a'+_0x1cd3('0x4bdd')+_0x1cd3('0x3849')+_0x1cd3('0x4bdb')+_0x1cd3('0x4bde')+_0x1cd3('0x4bdf')+_0x1cd3('0x4935')+_0x1cd3('0x4be0')+_0x1cd3('0x3849')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4be1')+_0x1cd3('0x4935')+_0x1cd3('0x4be2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4be3')+_0x1cd3('0x4be4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Download\x0a'+_0x1cd3('0x4935')+_0x1cd3('0x4bd2')+_0x1cd3('0x3849')+_0x1cd3('0x4be5')+_0x1cd3('0x4be6')+_0x1cd3('0x4be7')+_0x1cd3('0x426b')+_0x1cd3('0x4be8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4be9')+_0x1cd3('0x4bea')+_0x1cd3('0x4beb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MAIL.DOWNLOAD_WITH_ATTACHMENTS\x22>\x0a'+_0x1cd3('0x4bec')+_0x1cd3('0x3d89')+_0x1cd3('0x4bed')+_0x1cd3('0x4bea')+_0x1cd3('0x4bee')+_0x1cd3('0x4bef')+_0x1cd3('0x4bf0')+_0x1cd3('0x3d89')+_0x1cd3('0x4bed')+_0x1cd3('0x4bf1')+_0x1cd3('0x4bf2')+_0x1cd3('0x4bf3')+_0x1cd3('0x4bf4')+_0x1cd3('0x4bf5')+_0x1cd3('0x4bf6')+_0x1cd3('0x4bf7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4bf8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{message.attach}}\x0a'+_0x1cd3('0x386e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4bf9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4bfa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4bfb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-repeat=\x22attachment\x20in\x20message.attachments\x22>\x0a'+_0x1cd3('0x4bfc')+_0x1cd3('0x4bfd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4bf1')+_0x1cd3('0x4bf2')+_0x1cd3('0x36b7')+_0x1cd3('0x4bd3')+_0x1cd3('0x4bd4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3756')+'\x0a'+_0x1cd3('0x4bfe')+_0x1cd3('0x44f1')+_0x1cd3('0x3968')+_0x1cd3('0x36f6')+_0x1cd3('0x3686')+'');_0x404b17[_0x1cd3('0x37b')]('app/main/apps/dashboards/views/general/agent/interaction/views/agent.general.loading.html',_0x1cd3('0x4bff')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c00')+_0x1cd3('0x4c01'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x4c02'),_0x1cd3('0x4c03')+'\x20\x20\x20\x20Reply\x0a'+_0x1cd3('0x4c04')+_0x1cd3('0x37fa')+_0x1cd3('0x4c05')+_0x1cd3('0x4c06')+_0x1cd3('0x4c07')+'');_0x404b17['put']('app/main/apps/dashboards/views/general/agent/interaction/views/agent.general.toolbar.html',_0x1cd3('0x4c08')+_0x1cd3('0x4c09')+_0x1cd3('0x4c0a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c0b')+_0x1cd3('0x4c0c')+_0x1cd3('0x4c0d')+_0x1cd3('0x4c0e')+_0x1cd3('0x47f8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c0f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OPENED\x20-\x20{{vm.interaction.substatus}}\x0a'+_0x1cd3('0x4c10')+_0x1cd3('0x4c11')+_0x1cd3('0x4c12')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x4c13')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c14')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x3686')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c15')+_0x1cd3('0x4791')+_0x1cd3('0x4c16')+_0x1cd3('0x366a')+_0x1cd3('0x479e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c17')+_0x1cd3('0x4c18')+_0x1cd3('0x366a')+_0x1cd3('0x47a2')+_0x1cd3('0x4c19')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c1a')+_0x1cd3('0x4c1b')+_0x1cd3('0x4c1c')+_0x1cd3('0x4b83')+_0x1cd3('0x3d24')+_0x1cd3('0x4c1d')+_0x1cd3('0x4c1e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c1f')+_0x1cd3('0x41c1')+_0x1cd3('0x4c20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c21')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c22')+_0x1cd3('0x4c23')+_0x1cd3('0x4849')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c24')+'\x0a'+_0x1cd3('0x4c25')+_0x1cd3('0x4c26')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Start\x20Video\x20Call\x0a'+_0x1cd3('0x367d')+_0x1cd3('0x4c27')+'\x0a'+_0x1cd3('0x4810')+_0x1cd3('0x4c28')+_0x1cd3('0x4c29')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x480f')+_0x1cd3('0x4c2a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c2b')+_0x1cd3('0x367d')+_0x1cd3('0x480f')+_0x1cd3('0x4c2c')+_0x1cd3('0x3a49')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c2d')+_0x1cd3('0x395d')+_0x1cd3('0x4c2e')+_0x1cd3('0x4c2f')+_0x1cd3('0x4c30')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20None\x0a'+_0x1cd3('0x3a52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c31')+_0x1cd3('0x4c32')+_0x1cd3('0x4c33')+_0x1cd3('0x3a52')+_0x1cd3('0x3a53')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41c9')+_0x1cd3('0x480f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c34')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Unread\x0a'+_0x1cd3('0x367d')+_0x1cd3('0x480f')+_0x1cd3('0x4c35')+_0x1cd3('0x4c36')+_0x1cd3('0x4c37')+_0x1cd3('0x367d')+_0x1cd3('0x480f')+_0x1cd3('0x4c38')+_0x1cd3('0x4c39')+_0x1cd3('0x4c3a')+_0x1cd3('0x367d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x376e'));_0x404b17[_0x1cd3('0x37b')]('app/main/apps/dashboards/views/general/agent/interaction/views/agent.general.toolbar.mail.html',_0x1cd3('0x4c3b')+_0x1cd3('0x4c3c')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x376e')+_0x1cd3('0x4c3d')+_0x1cd3('0x4c3e')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x37fa')+'\x0a'+_0x1cd3('0x4c3f')+_0x1cd3('0x4c40')+_0x1cd3('0x37fa')+_0x1cd3('0x4c41')+'\x20\x20\x20\x20Forward\x0a'+_0x1cd3('0x4c42')+_0x1cd3('0x37fa')+'\x0a'+_0x1cd3('0x4c43')+'\x20\x20\x20\x20\x0a'+'');_0x404b17['put'](_0x1cd3('0x4c44'),'\x0a'+_0x1cd3('0x4c45')+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x0a'+_0x1cd3('0x4c06')+'\x20\x20\x0a'+_0x1cd3('0x4c46'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x4c47'),_0x1cd3('0x4c48')+_0x1cd3('0x4c49')+_0x1cd3('0x4c4a')+_0x1cd3('0x37fa')+'\x0a'+'\x20\x20Download\x0a'+'\x20\x20\x0a'+_0x1cd3('0x4c46'));_0x404b17[_0x1cd3('0x37b')]('app/main/apps/dashboards/views/general/agent/jscripty/agent.general.jscripty.html',_0x1cd3('0x4c4b')+_0x1cd3('0x4c4c')+_0x1cd3('0x4c4d')+'\x20\x20\x20\x20\x20\x20\x20\x20{{vm.contact.firstName}}\x20{{vm.contact.lastName}}\x20{{vm.contact.phone}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c4e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c4f')+_0x1cd3('0x3686')+_0x1cd3('0x4c50')+_0x1cd3('0x4c51')+'\x0a');_0x404b17['put'](_0x1cd3('0x4c52'),_0x1cd3('0x4c53')+_0x1cd3('0x4c54')+_0x1cd3('0x4c55')+_0x1cd3('0x4c56')+_0x1cd3('0x4c57')+_0x1cd3('0x4c58')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ACCEPT\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c59')+_0x1cd3('0x3671')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c5a'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x4c5b'),_0x1cd3('0x4c5c')+_0x1cd3('0x4c5d')+_0x1cd3('0x4c5e')+_0x1cd3('0x4c5f'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x4c60'),_0x1cd3('0x4c61')+_0x1cd3('0x4c62')+_0x1cd3('0x4c63')+_0x1cd3('0x4c64')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Today\x20Interactions\x20STATS\x0a'+_0x1cd3('0x3686')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c65')+'\x0a'+_0x1cd3('0x4c66')+_0x1cd3('0x4c67')+_0x1cd3('0x4c68')+_0x1cd3('0x4c69')+_0x1cd3('0x4c6a')+_0x1cd3('0x4c6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c6c')+_0x1cd3('0x4c6d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.inbound.waiting\x20||\x200}}\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x4c6e')+_0x1cd3('0x3669')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c6f')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c70')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c71')+_0x1cd3('0x4a49')+_0x1cd3('0x367d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.WAITING\x27\x20|\x20translate}}\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x4c72')+_0x1cd3('0x4c73')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c74')+'\x0a'+_0x1cd3('0x4c75')+_0x1cd3('0x4c67')+_0x1cd3('0x4c68')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c76')+_0x1cd3('0x4c6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c77')+_0x1cd3('0x4c78')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.OPENED\x27\x20|\x20translate\x20|\x20uppercase}}\x0a'+_0x1cd3('0x3669')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c79')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c7a')+'\x0a'+_0x1cd3('0x4c70')+_0x1cd3('0x4c7b')+_0x1cd3('0x4c7c')+_0x1cd3('0x4c71')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x367d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x4c7d')+_0x1cd3('0x3669')+_0x1cd3('0x4c72')+_0x1cd3('0x4c73')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c7e')+'\x0a'+_0x1cd3('0x4c7f')+_0x1cd3('0x4c67')+_0x1cd3('0x4c68')+_0x1cd3('0x4c69')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c6b')+_0x1cd3('0x4c80')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c6c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c81')+_0x1cd3('0x3756')+_0x1cd3('0x4c82')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c83')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.MANAGED_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}\x0a'+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c7a')+'\x0a'+_0x1cd3('0x4c70')+_0x1cd3('0x4c7b')+_0x1cd3('0x4c7c')+_0x1cd3('0x4c71')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.MANAGED\x27\x20|\x20translate}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x4c72')+_0x1cd3('0x4c73')+'\x0a'+_0x1cd3('0x4c84')+_0x1cd3('0x4c85')+'\x0a'+_0x1cd3('0x4c86')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c68')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c76')+_0x1cd3('0x4c6b')+_0x1cd3('0x4c80')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c6c')+_0x1cd3('0x4c87')+_0x1cd3('0x4c88')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.ABANDONED\x27\x20|\x20translate\x20|\x20uppercase}}\x0a'+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c83')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.ABANDONED_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c70')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c7c')+_0x1cd3('0x4c71')+_0x1cd3('0x4a49')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x4c89')+_0x1cd3('0x3669')+_0x1cd3('0x4c72')+_0x1cd3('0x4c73')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ee')+_0x1cd3('0x39ee')+_0x1cd3('0x4c8a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c80')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c8b')+_0x1cd3('0x4c8c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.TOTAL_OFFERED\x27\x20|\x20translate\x20|\x20uppercase}}\x0a'+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c83')+_0x1cd3('0x4c8d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c8e')+_0x1cd3('0x4c7a')+'\x0a'+_0x1cd3('0x4c70')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4a49')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x4c8f')+_0x1cd3('0x3669')+_0x1cd3('0x4c72')+_0x1cd3('0x4c73')+'\x0a'+_0x1cd3('0x4c84')+_0x1cd3('0x4c90')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c91')+'\x0a'+_0x1cd3('0x4c92')+_0x1cd3('0x4c65')+_0x1cd3('0x4c66')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c68')+_0x1cd3('0x4c69')+_0x1cd3('0x4c6a')+_0x1cd3('0x4c6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c6c')+_0x1cd3('0x4c93')+_0x1cd3('0x4c94')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c95')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c83')+_0x1cd3('0x4c96')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c8e')+_0x1cd3('0x4c7a')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c7b')+_0x1cd3('0x4c7c')+_0x1cd3('0x4c71')+_0x1cd3('0x4a49')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x4c97')+_0x1cd3('0x3669')+_0x1cd3('0x4c72')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c67')+_0x1cd3('0x3ed3')+_0x1cd3('0x4c68')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c76')+_0x1cd3('0x4c6b')+_0x1cd3('0x4c80')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c98')+_0x1cd3('0x4c99')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c9a')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c83')+_0x1cd3('0x4c9b')+_0x1cd3('0x3669')+_0x1cd3('0x4c8e')+_0x1cd3('0x4c7a')+'\x0a'+_0x1cd3('0x4c70')+_0x1cd3('0x4c7b')+_0x1cd3('0x4c7c')+_0x1cd3('0x4c71')+_0x1cd3('0x4a49')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x4c9c')+_0x1cd3('0x3669')+_0x1cd3('0x4c72')+_0x1cd3('0x4c73')+'\x0a'+_0x1cd3('0x4c84')+_0x1cd3('0x4c7e')+_0x1cd3('0x39ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c9d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c69')+_0x1cd3('0x4c6a')+_0x1cd3('0x4c6b')+_0x1cd3('0x4c80')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c6c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.inbound.answerRate\x20||\x200\x20}}%\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c9e')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c83')+_0x1cd3('0x4c9f')+_0x1cd3('0x3669')+_0x1cd3('0x4c8e')+_0x1cd3('0x4c7a')+'\x0a'+_0x1cd3('0x4c70')+_0x1cd3('0x4c7b')+_0x1cd3('0x4c7c')+_0x1cd3('0x4c71')+_0x1cd3('0x4a49')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x4ca0')+_0x1cd3('0x3669')+_0x1cd3('0x4c72')+_0x1cd3('0x4c73')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c85')+'\x0a'+_0x1cd3('0x4c86')+_0x1cd3('0x4c67')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c69')+_0x1cd3('0x4c76')+_0x1cd3('0x4c6b')+_0x1cd3('0x4c80')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c6c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4ca1')+_0x1cd3('0x3756')+_0x1cd3('0x4ca2')+_0x1cd3('0x3669')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4ca3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c8e')+_0x1cd3('0x4c7a')+'\x0a'+_0x1cd3('0x4c70')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c7c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4a49')+_0x1cd3('0x367d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x4ca4')+_0x1cd3('0x3669')+_0x1cd3('0x4c72')+_0x1cd3('0x4c73')+'\x0a'+_0x1cd3('0x4c84')+_0x1cd3('0x4c90')+_0x1cd3('0x39ee')+_0x1cd3('0x4c86')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c68')+_0x1cd3('0x4c69')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c6b')+_0x1cd3('0x4c80')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c6c')+_0x1cd3('0x4c8b')+_0x1cd3('0x4ca5')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.UNMANAGED\x27\x20|\x20translate\x20|\x20uppercase}}\x0a'+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c83')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.UNMANAGED_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x4c8e')+_0x1cd3('0x4c7a')+'\x0a'+_0x1cd3('0x4c70')+_0x1cd3('0x4c7b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c71')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.UNMANAGED\x27\x20|\x20translate}}\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x4c72')+_0x1cd3('0x4c73')+'\x0a'+_0x1cd3('0x4c84')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c91')+_0x1cd3('0x376e')+_0x1cd3('0x4ca6'));_0x404b17['put'](_0x1cd3('0x125'),'\x0a'+_0x1cd3('0x4c62')+_0x1cd3('0x4c63')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4ca7')+_0x1cd3('0x3686')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c65')+'\x0a'+_0x1cd3('0x4c66')+_0x1cd3('0x4c67')+'\x0a'+_0x1cd3('0x4c68')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c6a')+_0x1cd3('0x4c6b')+_0x1cd3('0x4c80')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4ca8')+_0x1cd3('0x4ca9')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c6d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.inbound.waiting\x20||\x200}}\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x4caa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c83')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.VOICE_WAITING_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x4c8e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c7c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x367d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x4cab')+_0x1cd3('0x3669')+_0x1cd3('0x4c72')+_0x1cd3('0x4c73')+'\x0a'+_0x1cd3('0x4c84')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c67')+_0x1cd3('0x4c68')+_0x1cd3('0x4c69')+_0x1cd3('0x4c76')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c80')+_0x1cd3('0x367d')+_0x1cd3('0x4ca8')+_0x1cd3('0x4cac')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c6c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4cad')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.VOICE_TALKING\x27\x20|\x20translate\x20|\x20uppercase}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c83')+_0x1cd3('0x4cae')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c7a')+'\x0a'+_0x1cd3('0x4c70')+_0x1cd3('0x4c7b')+_0x1cd3('0x4c7c')+_0x1cd3('0x4c71')+_0x1cd3('0x4a49')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x4caf')+_0x1cd3('0x3669')+_0x1cd3('0x4c72')+_0x1cd3('0x4c73')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c7e')+'\x0a'+_0x1cd3('0x4c7f')+_0x1cd3('0x4c67')+_0x1cd3('0x4c68')+_0x1cd3('0x4c69')+_0x1cd3('0x4c6a')+_0x1cd3('0x4c6b')+_0x1cd3('0x4c80')+_0x1cd3('0x367d')+_0x1cd3('0x4ca8')+_0x1cd3('0x4ae8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c6c')+_0x1cd3('0x4cb0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.inbound.answered\x20||\x200}}\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x4cb1')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c83')+_0x1cd3('0x4cb2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c8e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c70')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c7c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4a49')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x4cb3')+_0x1cd3('0x3669')+_0x1cd3('0x4c72')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c84')+_0x1cd3('0x4c85')+'\x0a'+_0x1cd3('0x4c8a')+_0x1cd3('0x4c67')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c69')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c80')+_0x1cd3('0x367d')+_0x1cd3('0x4ca8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x367d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c87')+_0x1cd3('0x4cb4')+_0x1cd3('0x3756')+_0x1cd3('0x4cb5')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c83')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.VOICE_ABANDONED_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c8e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c70')+_0x1cd3('0x4c7b')+_0x1cd3('0x4c7c')+_0x1cd3('0x4c71')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x367d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x4cb6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c72')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c90')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c67')+'\x0a'+_0x1cd3('0x4c68')+_0x1cd3('0x4c69')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x367d')+_0x1cd3('0x4ca8')+_0x1cd3('0x4cb7')+_0x1cd3('0x367d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4cb8')+_0x1cd3('0x3756')+_0x1cd3('0x4cb9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c83')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.DROPPED_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x4c8e')+_0x1cd3('0x4c7a')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c7b')+_0x1cd3('0x4c7c')+_0x1cd3('0x4c71')+_0x1cd3('0x4a49')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x4cba')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c73')+'\x0a'+_0x1cd3('0x4c84')+_0x1cd3('0x4c90')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c65')+'\x0a'+_0x1cd3('0x4c8a')+_0x1cd3('0x4c67')+'\x0a'+_0x1cd3('0x4c68')+_0x1cd3('0x4c69')+_0x1cd3('0x4c76')+_0x1cd3('0x4c6b')+_0x1cd3('0x4c80')+_0x1cd3('0x367d')+_0x1cd3('0x4ca8')+_0x1cd3('0x4cbb')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c6c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4cbc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4cbd')+_0x1cd3('0x3669')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4cbe')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c70')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c7c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4a49')+_0x1cd3('0x367d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x4cbf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c72')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c84')+_0x1cd3('0x4c90')+'\x0a'+_0x1cd3('0x4c75')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c68')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c6b')+_0x1cd3('0x4c80')+_0x1cd3('0x367d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4cac')+_0x1cd3('0x367d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c6c')+_0x1cd3('0x4c98')+_0x1cd3('0x4c99')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.VOICE_AVG_TALK_TIME\x27\x20|\x20translate\x20|\x20uppercase}}\x0a'+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c83')+_0x1cd3('0x4cc0')+_0x1cd3('0x3669')+_0x1cd3('0x4c8e')+_0x1cd3('0x4c7a')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c7b')+_0x1cd3('0x4c7c')+_0x1cd3('0x4c71')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.VOICE_AVG_TALK_TIME\x27\x20|\x20translate}}\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x4c72')+_0x1cd3('0x4c73')+'\x0a'+_0x1cd3('0x4c84')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c7f')+_0x1cd3('0x4c67')+'\x0a'+_0x1cd3('0x4c68')+_0x1cd3('0x4c69')+_0x1cd3('0x4c6a')+_0x1cd3('0x4c6b')+_0x1cd3('0x4c80')+_0x1cd3('0x367d')+_0x1cd3('0x4ca8')+_0x1cd3('0x4cc1')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c6c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4cc2')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.VOICE_ANSWER_RATE\x27\x20|\x20translate\x20|\x20uppercase}}\x0a'+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c83')+_0x1cd3('0x4cc3')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c7a')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c7c')+_0x1cd3('0x4c71')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x367d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x4cc4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c85')+'\x0a'+_0x1cd3('0x4c8a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c69')+_0x1cd3('0x4c76')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c80')+_0x1cd3('0x367d')+_0x1cd3('0x4ca8')+_0x1cd3('0x4cc1')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c6c')+_0x1cd3('0x4cc5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.inbound.outboundAbandonRate\x20||\x200}}%\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.VOICE_ABANDON_RATE\x27\x20|\x20translate\x20|\x20uppercase}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.VOICE_ABANDON_RATE_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}\x0a'+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c7a')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c7b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c71')+_0x1cd3('0x4a49')+_0x1cd3('0x367d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x4cc6')+_0x1cd3('0x3669')+_0x1cd3('0x4c72')+_0x1cd3('0x4c73')+'\x0a'+_0x1cd3('0x4c84')+_0x1cd3('0x4c90')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c67')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c69')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c80')+_0x1cd3('0x367d')+_0x1cd3('0x4ca8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c6c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4cc7')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.DROP_RATE\x27\x20|\x20translate\x20|\x20uppercase}}\x0a'+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c83')+_0x1cd3('0x4cc8')+_0x1cd3('0x3669')+_0x1cd3('0x4c8e')+_0x1cd3('0x4c7a')+'\x0a'+_0x1cd3('0x4c70')+_0x1cd3('0x4c7b')+_0x1cd3('0x4c7c')+_0x1cd3('0x4c71')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.DROP_RATE\x27\x20|\x20translate}}\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x4c72')+_0x1cd3('0x4c73')+'\x0a'+_0x1cd3('0x4c84')+_0x1cd3('0x4c90')+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x4c91')+_0x1cd3('0x376e')+'\x0a'+'\x0a'+_0x1cd3('0x4c61')+_0x1cd3('0x4c62')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4cc9')+_0x1cd3('0x3686')+'\x0a'+_0x1cd3('0x4c92')+_0x1cd3('0x4c65')+'\x0a'+_0x1cd3('0x4c8a')+_0x1cd3('0x4c67')+'\x0a'+_0x1cd3('0x4c68')+_0x1cd3('0x4c69')+_0x1cd3('0x4c76')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c80')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4cbb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x0a'+_0x1cd3('0x4c6c')+_0x1cd3('0x4c8b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.ivr.originated\x20||\x200}}/{{vm.ivr.limitCalls\x20||\x200}}\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.ORIGINATED\x27\x20|\x20translate\x20|\x20uppercase}}/{{\x27DASHBOARDS.LIMITED\x27\x20|\x20translate\x20|\x20uppercase}}\x0a'+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c83')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.LIMITED_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c8e')+_0x1cd3('0x4c7a')+'\x0a'+_0x1cd3('0x4c70')+_0x1cd3('0x4c7b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.ORIGINATEDLIMITED\x27\x20|\x20translate}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c72')+_0x1cd3('0x4c73')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c90')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c91')+'\x0a'+_0x1cd3('0x4cca'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x142'),_0x1cd3('0x4c61')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x4ccb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Today\x20Interactions\x20STATS\x0a'+_0x1cd3('0x3686')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c66')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c68')+_0x1cd3('0x4c69')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c6b')+_0x1cd3('0x4c80')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c6c')+_0x1cd3('0x4c6d')+_0x1cd3('0x4ccc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.WAITING\x27\x20|\x20translate\x20|\x20uppercase}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c6f')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c7a')+'\x0a'+_0x1cd3('0x4c70')+_0x1cd3('0x4c7b')+_0x1cd3('0x4c7c')+_0x1cd3('0x4c71')+_0x1cd3('0x4a49')+_0x1cd3('0x367d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.WAITING\x27\x20|\x20translate}}\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x4c72')+_0x1cd3('0x4c73')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c75')+_0x1cd3('0x4c67')+_0x1cd3('0x4c68')+_0x1cd3('0x4c69')+_0x1cd3('0x4c76')+_0x1cd3('0x4c6b')+_0x1cd3('0x4c80')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c6c')+_0x1cd3('0x4c77')+_0x1cd3('0x4c78')+_0x1cd3('0x3756')+_0x1cd3('0x4ccd')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c83')+_0x1cd3('0x4c79')+_0x1cd3('0x3669')+_0x1cd3('0x4c8e')+_0x1cd3('0x4c7a')+'\x0a'+_0x1cd3('0x4c70')+_0x1cd3('0x4c7b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.OPENED\x27\x20|\x20translate}}\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x4c72')+_0x1cd3('0x4c73')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c7e')+'\x0a'+_0x1cd3('0x4c7f')+_0x1cd3('0x4c67')+_0x1cd3('0x4c68')+_0x1cd3('0x4c69')+_0x1cd3('0x4c6a')+_0x1cd3('0x4c6b')+_0x1cd3('0x4c80')+_0x1cd3('0x367d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c6c')+_0x1cd3('0x4cb0')+_0x1cd3('0x4c81')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.MANAGED\x27\x20|\x20translate\x20|\x20uppercase}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c83')+_0x1cd3('0x4cce')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c70')+_0x1cd3('0x4c7b')+_0x1cd3('0x4c7c')+_0x1cd3('0x4c71')+_0x1cd3('0x4a49')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x4ccf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c72')+_0x1cd3('0x4c73')+'\x0a'+_0x1cd3('0x4c84')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x39ee')+_0x1cd3('0x4c86')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c68')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c6c')+_0x1cd3('0x4c8b')+_0x1cd3('0x4ca5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4cd0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4cd1')+_0x1cd3('0x3669')+_0x1cd3('0x4c8e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c7b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c71')+_0x1cd3('0x4a49')+_0x1cd3('0x367d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x4cd2')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c73')+'\x0a'+_0x1cd3('0x4c84')+_0x1cd3('0x4c90')+_0x1cd3('0x39ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c67')+'\x0a'+_0x1cd3('0x4c68')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c76')+_0x1cd3('0x4c6b')+_0x1cd3('0x4c80')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c6c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c8c')+_0x1cd3('0x3756')+_0x1cd3('0x4cd3')+_0x1cd3('0x3669')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.TOTAL_OFFERED_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c7a')+'\x0a'+_0x1cd3('0x4c70')+_0x1cd3('0x4c7b')+_0x1cd3('0x4c7c')+_0x1cd3('0x4c71')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x4c8f')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c73')+'\x0a'+_0x1cd3('0x4c84')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c91')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c66')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ee')+_0x1cd3('0x4c68')+_0x1cd3('0x4c69')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c6b')+_0x1cd3('0x4c80')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c6c')+_0x1cd3('0x4c93')+_0x1cd3('0x4c94')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.AVG_HOLD_TIME\x27\x20|\x20translate\x20|\x20uppercase}}\x0a'+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c83')+_0x1cd3('0x4c96')+_0x1cd3('0x3669')+_0x1cd3('0x4c8e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c70')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c7c')+_0x1cd3('0x4c71')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x4c97')+_0x1cd3('0x3669')+_0x1cd3('0x4c72')+_0x1cd3('0x4c73')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c74')+'\x0a'+_0x1cd3('0x39ee')+_0x1cd3('0x4c7f')+_0x1cd3('0x4cd4')+_0x1cd3('0x39ee')+_0x1cd3('0x4c68')+_0x1cd3('0x4c69')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c6b')+_0x1cd3('0x4c80')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c6c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4cd5')+_0x1cd3('0x3756')+_0x1cd3('0x4c9e')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c83')+_0x1cd3('0x4c9f')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c7a')+'\x0a'+_0x1cd3('0x4c70')+_0x1cd3('0x4c7b')+_0x1cd3('0x4c7c')+_0x1cd3('0x4c71')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x4ca0')+_0x1cd3('0x3669')+_0x1cd3('0x4c72')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c85')+'\x0a'+_0x1cd3('0x4cd6')+_0x1cd3('0x4cd7')+_0x1cd3('0x4c68')+_0x1cd3('0x4c69')+_0x1cd3('0x4c76')+_0x1cd3('0x4c6b')+_0x1cd3('0x4c80')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c6c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4ca1')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.UNMANAGED_RATE\x27\x20|\x20translate\x20|\x20uppercase}}\x0a'+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c83')+_0x1cd3('0x4cd8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c8e')+_0x1cd3('0x4c7a')+'\x0a'+_0x1cd3('0x4c70')+_0x1cd3('0x4c7b')+_0x1cd3('0x4c7c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x4cd9')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c84')+_0x1cd3('0x4c90')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ee')+_0x1cd3('0x3686')+_0x1cd3('0x4c91')+'\x0a'+_0x1cd3('0x4ca6'));_0x404b17['put'](_0x1cd3('0x136'),'\x0a'+'\x0a'+_0x1cd3('0x4c63')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4cda')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c92')+_0x1cd3('0x4c65')+'\x0a'+_0x1cd3('0x4c66')+_0x1cd3('0x4c67')+_0x1cd3('0x4c68')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c6a')+_0x1cd3('0x4c6b')+_0x1cd3('0x4c80')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c6d')+_0x1cd3('0x4ccc')+_0x1cd3('0x3756')+_0x1cd3('0x4c6e')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c83')+_0x1cd3('0x4c6f')+_0x1cd3('0x3669')+_0x1cd3('0x4c8e')+_0x1cd3('0x4c7a')+'\x0a'+_0x1cd3('0x4c70')+_0x1cd3('0x4c7b')+_0x1cd3('0x4c7c')+_0x1cd3('0x4c71')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.WAITING\x27\x20|\x20translate}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c72')+_0x1cd3('0x4c73')+'\x0a'+_0x1cd3('0x4c84')+_0x1cd3('0x4c74')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c67')+_0x1cd3('0x4c68')+_0x1cd3('0x4c69')+_0x1cd3('0x4c76')+_0x1cd3('0x4c6b')+_0x1cd3('0x4c80')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c6c')+_0x1cd3('0x4c77')+_0x1cd3('0x4c78')+_0x1cd3('0x3756')+_0x1cd3('0x4ccd')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c83')+_0x1cd3('0x4c79')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c8e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c70')+_0x1cd3('0x4c7b')+_0x1cd3('0x4c7c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x4c7d')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c73')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c7e')+'\x0a'+_0x1cd3('0x4c7f')+_0x1cd3('0x4c67')+_0x1cd3('0x4c68')+_0x1cd3('0x4c69')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c6c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c81')+_0x1cd3('0x3756')+_0x1cd3('0x4c82')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c83')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.MANAGED_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}\x0a'+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c7a')+'\x0a'+_0x1cd3('0x4c70')+_0x1cd3('0x4c7b')+_0x1cd3('0x4c7c')+_0x1cd3('0x4c71')+_0x1cd3('0x4a49')+_0x1cd3('0x367d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x4ccf')+_0x1cd3('0x3669')+_0x1cd3('0x4c72')+_0x1cd3('0x4c73')+'\x0a'+_0x1cd3('0x4c84')+_0x1cd3('0x4c85')+'\x0a'+_0x1cd3('0x39ee')+_0x1cd3('0x4c86')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c68')+_0x1cd3('0x4c69')+_0x1cd3('0x4c76')+_0x1cd3('0x4c6b')+_0x1cd3('0x4c80')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c6c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.inbound.unmanaged\x20||\x200}}\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.UNMANAGED\x27\x20|\x20translate\x20|\x20uppercase}}\x0a'+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c83')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.UNMANAGED_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x4c8e')+_0x1cd3('0x4c7a')+'\x0a'+_0x1cd3('0x4c70')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c7c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x4cd2')+_0x1cd3('0x3669')+_0x1cd3('0x4c72')+_0x1cd3('0x4c73')+'\x0a'+_0x1cd3('0x4c84')+_0x1cd3('0x4c90')+_0x1cd3('0x39ee')+_0x1cd3('0x4c8a')+_0x1cd3('0x4c67')+'\x0a'+_0x1cd3('0x4c68')+_0x1cd3('0x4c69')+_0x1cd3('0x4c76')+_0x1cd3('0x4c6b')+_0x1cd3('0x4c80')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c8c')+_0x1cd3('0x3756')+_0x1cd3('0x4cd3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c83')+_0x1cd3('0x4c8d')+_0x1cd3('0x3669')+_0x1cd3('0x4c8e')+_0x1cd3('0x4c7a')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c7b')+_0x1cd3('0x4c7c')+_0x1cd3('0x4c71')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.TOTAL_OFFERED\x27\x20|\x20translate}}\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x4c72')+_0x1cd3('0x4c73')+'\x0a'+_0x1cd3('0x4c84')+_0x1cd3('0x4c90')+'\x0a'+'\x20\x20\x20\x20
\x0a'+_0x1cd3('0x4c91')+'\x0a'+_0x1cd3('0x4c92')+_0x1cd3('0x4c65')+_0x1cd3('0x4c66')+_0x1cd3('0x4cdb')+_0x1cd3('0x39ee')+_0x1cd3('0x4c68')+_0x1cd3('0x4c69')+_0x1cd3('0x4c6a')+_0x1cd3('0x4c6b')+_0x1cd3('0x4c80')+_0x1cd3('0x367d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c6c')+_0x1cd3('0x4c93')+_0x1cd3('0x4c94')+_0x1cd3('0x3756')+_0x1cd3('0x4c95')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c83')+_0x1cd3('0x4c96')+_0x1cd3('0x3669')+_0x1cd3('0x4c8e')+_0x1cd3('0x4c7a')+'\x0a'+_0x1cd3('0x4c70')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c71')+_0x1cd3('0x4a49')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x4c97')+_0x1cd3('0x3669')+_0x1cd3('0x4c72')+_0x1cd3('0x4c73')+'\x0a'+_0x1cd3('0x4c84')+_0x1cd3('0x4c74')+'\x0a'+_0x1cd3('0x39ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ee')+_0x1cd3('0x4c68')+_0x1cd3('0x4c69')+_0x1cd3('0x4c6a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c80')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c6c')+_0x1cd3('0x4cdc')+_0x1cd3('0x4cd5')+_0x1cd3('0x3756')+_0x1cd3('0x4c9e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c83')+_0x1cd3('0x4c9f')+_0x1cd3('0x3669')+_0x1cd3('0x4c8e')+_0x1cd3('0x4c7a')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c71')+_0x1cd3('0x4a49')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.MANAGED_RATE\x27\x20|\x20translate}}\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x4c72')+_0x1cd3('0x4c73')+'\x0a'+_0x1cd3('0x4c84')+_0x1cd3('0x4c85')+'\x0a'+_0x1cd3('0x4cd6')+_0x1cd3('0x4cd7')+_0x1cd3('0x4c68')+_0x1cd3('0x4c69')+_0x1cd3('0x4c76')+_0x1cd3('0x4c6b')+_0x1cd3('0x4c80')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c6c')+_0x1cd3('0x4cc5')+_0x1cd3('0x4ca1')+_0x1cd3('0x3756')+_0x1cd3('0x4cdd')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c83')+_0x1cd3('0x4cd8')+_0x1cd3('0x3669')+_0x1cd3('0x4c8e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c70')+_0x1cd3('0x4c7b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c71')+_0x1cd3('0x4a49')+_0x1cd3('0x367d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x4cd9')+_0x1cd3('0x3669')+_0x1cd3('0x4c72')+_0x1cd3('0x4c73')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ee')+_0x1cd3('0x39ee')+'\x20\x20\x20\x20
\x0a'+_0x1cd3('0x4c91')+_0x1cd3('0x376e')+'');_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x13d'),_0x1cd3('0x4c61')+_0x1cd3('0x4c62')+_0x1cd3('0x4c63')+_0x1cd3('0x4cde')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Today\x20Interactions\x20STATS\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c92')+_0x1cd3('0x4c65')+'\x0a'+_0x1cd3('0x4c66')+_0x1cd3('0x4c67')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c6a')+_0x1cd3('0x4c6b')+_0x1cd3('0x4c80')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.inbound.waiting\x20||\x200}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c6e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c83')+_0x1cd3('0x4c6f')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c70')+_0x1cd3('0x4c7b')+_0x1cd3('0x4c7c')+_0x1cd3('0x4c71')+_0x1cd3('0x4a49')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x4cdf')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c73')+'\x0a'+_0x1cd3('0x4c84')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c75')+_0x1cd3('0x4c67')+_0x1cd3('0x4c68')+_0x1cd3('0x4c69')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c6b')+_0x1cd3('0x4c80')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c6c')+_0x1cd3('0x4c77')+_0x1cd3('0x4c78')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4ccd')+_0x1cd3('0x3669')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c79')+_0x1cd3('0x3669')+_0x1cd3('0x4c8e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c70')+_0x1cd3('0x4c7b')+_0x1cd3('0x4c7c')+_0x1cd3('0x4c71')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.OPENED\x27\x20|\x20translate}}\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x4c72')+_0x1cd3('0x4c73')+'\x0a'+_0x1cd3('0x4c84')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c7f')+_0x1cd3('0x4c67')+_0x1cd3('0x4c68')+_0x1cd3('0x4c69')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c80')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c6c')+_0x1cd3('0x4cb0')+_0x1cd3('0x4c81')+_0x1cd3('0x3756')+_0x1cd3('0x4c82')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c83')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.MANAGED_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x4c8e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c70')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c7c')+_0x1cd3('0x4c71')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x4ccf')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c73')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c85')+'\x0a'+_0x1cd3('0x39ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c67')+'\x0a'+_0x1cd3('0x4c68')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c80')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c8b')+_0x1cd3('0x4ca5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4cd0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c83')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.UNMANAGED_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x4c8e')+_0x1cd3('0x4c7a')+'\x0a'+_0x1cd3('0x4c70')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c7c')+_0x1cd3('0x4c71')+_0x1cd3('0x4a49')+_0x1cd3('0x367d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x4cd2')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c73')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c90')+_0x1cd3('0x39ee')+_0x1cd3('0x4c8a')+_0x1cd3('0x4c67')+'\x0a'+_0x1cd3('0x4c68')+_0x1cd3('0x4c69')+_0x1cd3('0x4c76')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c8c')+_0x1cd3('0x3756')+_0x1cd3('0x4cd3')+_0x1cd3('0x3669')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c8d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c7a')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c7b')+_0x1cd3('0x4c7c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4a49')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x4c8f')+_0x1cd3('0x3669')+_0x1cd3('0x4c72')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c84')+_0x1cd3('0x4c90')+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x4c91')+'\x0a'+_0x1cd3('0x4c92')+_0x1cd3('0x4c65')+_0x1cd3('0x4c66')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ee')+_0x1cd3('0x4c68')+_0x1cd3('0x4c69')+_0x1cd3('0x4c6a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c80')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c93')+_0x1cd3('0x4c94')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.AVG_HOLD_TIME\x27\x20|\x20translate\x20|\x20uppercase}}\x0a'+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c83')+_0x1cd3('0x4c96')+_0x1cd3('0x3669')+_0x1cd3('0x4c8e')+_0x1cd3('0x4c7a')+'\x0a'+_0x1cd3('0x4c70')+_0x1cd3('0x4c7b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c71')+_0x1cd3('0x4a49')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x4c97')+_0x1cd3('0x3669')+_0x1cd3('0x4c72')+_0x1cd3('0x4c73')+'\x0a'+_0x1cd3('0x4c84')+_0x1cd3('0x4c74')+'\x0a'+_0x1cd3('0x39ee')+_0x1cd3('0x4c7f')+_0x1cd3('0x4cd4')+_0x1cd3('0x39ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c69')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c6b')+_0x1cd3('0x4c80')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c6c')+_0x1cd3('0x4cdc')+_0x1cd3('0x4cd5')+_0x1cd3('0x3756')+_0x1cd3('0x4c9e')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c83')+_0x1cd3('0x4c9f')+_0x1cd3('0x3669')+_0x1cd3('0x4c8e')+_0x1cd3('0x4c7a')+'\x0a'+_0x1cd3('0x4c70')+_0x1cd3('0x4c7b')+_0x1cd3('0x4c7c')+_0x1cd3('0x4c71')+_0x1cd3('0x4a49')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x4ca0')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c73')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c85')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4cd7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c69')+_0x1cd3('0x4c76')+_0x1cd3('0x4c6b')+_0x1cd3('0x4c80')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c6c')+_0x1cd3('0x4cc5')+_0x1cd3('0x4ca1')+_0x1cd3('0x3756')+_0x1cd3('0x4cdd')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c83')+_0x1cd3('0x4cd8')+_0x1cd3('0x3669')+_0x1cd3('0x4c8e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c70')+_0x1cd3('0x4c7b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c71')+_0x1cd3('0x4a49')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x4cd9')+_0x1cd3('0x3669')+_0x1cd3('0x4c72')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c84')+_0x1cd3('0x4c90')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ee')+'\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4ca6'));_0x404b17[_0x1cd3('0x37b')]('app/main/apps/dashboards/views/general/user/sms/user.general.sms.html',_0x1cd3('0x4c61')+_0x1cd3('0x4c62')+_0x1cd3('0x4c63')+_0x1cd3('0x4ce0')+_0x1cd3('0x4ce1')+_0x1cd3('0x3686')+'\x0a'+_0x1cd3('0x4c92')+_0x1cd3('0x4c65')+'\x0a'+_0x1cd3('0x4c66')+_0x1cd3('0x4c67')+_0x1cd3('0x4c68')+_0x1cd3('0x4c69')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c6c')+_0x1cd3('0x4c6d')+_0x1cd3('0x4ccc')+_0x1cd3('0x3756')+_0x1cd3('0x4c6e')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c83')+_0x1cd3('0x4c6f')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c7a')+'\x0a'+_0x1cd3('0x4c70')+_0x1cd3('0x4c7b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c71')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.WAITING\x27\x20|\x20translate}}\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x4c72')+_0x1cd3('0x4c73')+'\x0a'+_0x1cd3('0x4c84')+_0x1cd3('0x4c74')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c67')+_0x1cd3('0x4c68')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c76')+_0x1cd3('0x4c6b')+_0x1cd3('0x4c80')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c77')+_0x1cd3('0x4c78')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.OPENED\x27\x20|\x20translate\x20|\x20uppercase}}\x0a'+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c83')+_0x1cd3('0x4c79')+_0x1cd3('0x3669')+_0x1cd3('0x4c8e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c7b')+_0x1cd3('0x4c7c')+_0x1cd3('0x4c71')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.OPENED\x27\x20|\x20translate}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c72')+_0x1cd3('0x4c73')+'\x0a'+_0x1cd3('0x4c84')+_0x1cd3('0x4c7e')+'\x0a'+_0x1cd3('0x4c7f')+_0x1cd3('0x4c67')+_0x1cd3('0x4c68')+_0x1cd3('0x4c69')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c6b')+_0x1cd3('0x4c80')+_0x1cd3('0x367d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c6c')+_0x1cd3('0x4cb0')+_0x1cd3('0x4c81')+_0x1cd3('0x3756')+_0x1cd3('0x4c82')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c83')+_0x1cd3('0x4cce')+_0x1cd3('0x3669')+_0x1cd3('0x4c8e')+_0x1cd3('0x4c7a')+'\x0a'+_0x1cd3('0x4c70')+_0x1cd3('0x4c7b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c71')+_0x1cd3('0x4a49')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x4ccf')+_0x1cd3('0x3669')+_0x1cd3('0x4c72')+_0x1cd3('0x4c73')+'\x0a'+_0x1cd3('0x4c84')+_0x1cd3('0x4c85')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c86')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c69')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c80')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c6c')+_0x1cd3('0x4c8b')+_0x1cd3('0x4ca5')+_0x1cd3('0x3756')+_0x1cd3('0x4cd0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c83')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.UNMANAGED_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}\x0a'+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c7a')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c7b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c71')+_0x1cd3('0x4a49')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.UNMANAGED\x27\x20|\x20translate}}\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x4c72')+_0x1cd3('0x4c73')+'\x0a'+_0x1cd3('0x4c84')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ee')+_0x1cd3('0x4c8a')+_0x1cd3('0x4c67')+'\x0a'+_0x1cd3('0x4c68')+_0x1cd3('0x4c69')+_0x1cd3('0x4c76')+_0x1cd3('0x4c6b')+_0x1cd3('0x4c80')+_0x1cd3('0x367d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c8b')+_0x1cd3('0x4c8c')+_0x1cd3('0x3756')+_0x1cd3('0x4cd3')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c83')+_0x1cd3('0x4c8d')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c7a')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c7b')+_0x1cd3('0x4c7c')+_0x1cd3('0x4c71')+_0x1cd3('0x4a49')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x4c8f')+_0x1cd3('0x3669')+_0x1cd3('0x4c72')+_0x1cd3('0x4c73')+'\x0a'+_0x1cd3('0x4c84')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x4c91')+'\x0a'+_0x1cd3('0x4c92')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c66')+_0x1cd3('0x4cdb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c68')+_0x1cd3('0x4c69')+_0x1cd3('0x4c6a')+_0x1cd3('0x4c6b')+_0x1cd3('0x4c80')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c6c')+_0x1cd3('0x4c93')+_0x1cd3('0x4c94')+_0x1cd3('0x3756')+_0x1cd3('0x4c95')+_0x1cd3('0x3669')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c96')+_0x1cd3('0x3669')+_0x1cd3('0x4c8e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c70')+_0x1cd3('0x4c7b')+_0x1cd3('0x4c7c')+_0x1cd3('0x4c71')+_0x1cd3('0x4a49')+_0x1cd3('0x367d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x4c97')+_0x1cd3('0x3669')+_0x1cd3('0x4c72')+_0x1cd3('0x4c73')+'\x0a'+_0x1cd3('0x4c84')+_0x1cd3('0x4c74')+'\x0a'+_0x1cd3('0x39ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ee')+_0x1cd3('0x4c68')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c6a')+_0x1cd3('0x4c6b')+_0x1cd3('0x4c80')+_0x1cd3('0x367d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c6c')+_0x1cd3('0x4cdc')+_0x1cd3('0x4cd5')+_0x1cd3('0x3756')+_0x1cd3('0x4c9e')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c83')+_0x1cd3('0x4c9f')+_0x1cd3('0x3669')+_0x1cd3('0x4c8e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c70')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c71')+_0x1cd3('0x4a49')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x4ca0')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c73')+'\x0a'+_0x1cd3('0x4c84')+_0x1cd3('0x4c85')+'\x0a'+_0x1cd3('0x4cd6')+_0x1cd3('0x4cd7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c69')+_0x1cd3('0x4c76')+_0x1cd3('0x4c6b')+_0x1cd3('0x4c80')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c6c')+_0x1cd3('0x4cc5')+_0x1cd3('0x4ca1')+_0x1cd3('0x3756')+_0x1cd3('0x4cdd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c83')+_0x1cd3('0x4cd8')+_0x1cd3('0x3669')+_0x1cd3('0x4c8e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c7c')+_0x1cd3('0x4c71')+_0x1cd3('0x4a49')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x4cd9')+_0x1cd3('0x3669')+_0x1cd3('0x4c72')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c84')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ee')+_0x1cd3('0x39ee')+'\x20\x20\x20\x20
\x0a'+_0x1cd3('0x4c91')+_0x1cd3('0x376e')+_0x1cd3('0x4ca6'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x4ce2'),_0x1cd3('0x4ce3')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x4ce4')+_0x1cd3('0x4ce5')+_0x1cd3('0x4ce6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4ce7')+_0x1cd3('0x4ce8')+_0x1cd3('0x4ce9')+_0x1cd3('0x3862')+_0x1cd3('0x4cea')+_0x1cd3('0x4ceb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3862')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3862')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4cef')+_0x1cd3('0x3862')+_0x1cd3('0x4cf0')+_0x1cd3('0x4cf1')+_0x1cd3('0x4cf2')+_0x1cd3('0x3862')+_0x1cd3('0x4cf3')+_0x1cd3('0x4cf4')+_0x1cd3('0x4cf5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x4cf6')+_0x1cd3('0x4cf7')+_0x1cd3('0x4cf8')+_0x1cd3('0x3862')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x4cf9')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27DASHBOARDS.WELCOME_TO_MOTION\x27\x20|\x20translate\x20}}!\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Use\x20the\x20left\x20sidebar\x20to\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20navigate\x20through\x20available\x20sections.\x0a'+_0x1cd3('0x366a')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x1859'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x11f'),_0x1cd3('0x4c61')+_0x1cd3('0x4c62')+_0x1cd3('0x4c63')+_0x1cd3('0x4cfc')+_0x1cd3('0x4cfd')+_0x1cd3('0x3686')+'\x0a'+_0x1cd3('0x4c92')+_0x1cd3('0x4c65')+'\x0a'+_0x1cd3('0x4c66')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c68')+_0x1cd3('0x4c69')+_0x1cd3('0x4c6a')+_0x1cd3('0x4c6b')+_0x1cd3('0x4c80')+_0x1cd3('0x367d')+_0x1cd3('0x4ca8')+_0x1cd3('0x4ca9')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c6c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4ccc')+_0x1cd3('0x3756')+_0x1cd3('0x4caa')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c83')+_0x1cd3('0x4cfe')+_0x1cd3('0x3669')+_0x1cd3('0x4c8e')+_0x1cd3('0x4c7a')+'\x0a'+_0x1cd3('0x4c70')+_0x1cd3('0x4c7b')+_0x1cd3('0x4c7c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x4cab')+_0x1cd3('0x3669')+_0x1cd3('0x4c72')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c84')+_0x1cd3('0x4c74')+'\x0a'+_0x1cd3('0x4c75')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c68')+_0x1cd3('0x4c69')+_0x1cd3('0x4c76')+_0x1cd3('0x4c6b')+_0x1cd3('0x4c80')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4ca8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c6c')+_0x1cd3('0x4c77')+_0x1cd3('0x4c78')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.VOICE_TALKING\x27\x20|\x20translate\x20|\x20uppercase}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c83')+_0x1cd3('0x4cae')+_0x1cd3('0x3669')+_0x1cd3('0x4c8e')+_0x1cd3('0x4c7a')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c7b')+_0x1cd3('0x4c7c')+_0x1cd3('0x4c71')+_0x1cd3('0x4a49')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x4caf')+_0x1cd3('0x3669')+_0x1cd3('0x4c72')+_0x1cd3('0x4c73')+'\x0a'+_0x1cd3('0x4c84')+_0x1cd3('0x4c7e')+'\x0a'+_0x1cd3('0x4c7f')+_0x1cd3('0x4c67')+_0x1cd3('0x4c68')+_0x1cd3('0x4c69')+_0x1cd3('0x4c6a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c80')+_0x1cd3('0x367d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4ae8')+_0x1cd3('0x367d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c6c')+_0x1cd3('0x4cb0')+_0x1cd3('0x4c81')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.VOICE_ANSWERED\x27\x20|\x20translate\x20|\x20uppercase}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4cb2')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c7a')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c7b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c71')+_0x1cd3('0x4a49')+_0x1cd3('0x367d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.VOICE_ANSWERED\x27\x20|\x20translate}}\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x4c72')+_0x1cd3('0x4c73')+'\x0a'+_0x1cd3('0x4c84')+_0x1cd3('0x4c85')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c67')+_0x1cd3('0x4c68')+_0x1cd3('0x4c69')+_0x1cd3('0x4c76')+_0x1cd3('0x4c6b')+_0x1cd3('0x4c80')+_0x1cd3('0x367d')+_0x1cd3('0x4ca8')+_0x1cd3('0x4cff')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c6c')+_0x1cd3('0x4c87')+_0x1cd3('0x4c88')+_0x1cd3('0x3756')+_0x1cd3('0x4cb5')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c83')+_0x1cd3('0x4d00')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c70')+_0x1cd3('0x4c7b')+_0x1cd3('0x4c7c')+_0x1cd3('0x4c71')+_0x1cd3('0x4a49')+_0x1cd3('0x367d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x4d01')+_0x1cd3('0x3669')+_0x1cd3('0x4c72')+_0x1cd3('0x4c73')+'\x0a'+_0x1cd3('0x4c84')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c68')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c76')+_0x1cd3('0x4c6b')+_0x1cd3('0x4c80')+_0x1cd3('0x367d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4d02')+_0x1cd3('0x367d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c6c')+_0x1cd3('0x4c8b')+_0x1cd3('0x4c8c')+_0x1cd3('0x3756')+_0x1cd3('0x4d03')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c83')+_0x1cd3('0x4d04')+_0x1cd3('0x3669')+_0x1cd3('0x4c8e')+_0x1cd3('0x4c7a')+'\x0a'+_0x1cd3('0x4c70')+_0x1cd3('0x4c7b')+_0x1cd3('0x4c7c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4a49')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x4d05')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x4c72')+_0x1cd3('0x4c73')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c90')+'\x0a'+_0x1cd3('0x3686')+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c65')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c67')+'\x0a'+_0x1cd3('0x4c68')+_0x1cd3('0x4c69')+_0x1cd3('0x4c6a')+_0x1cd3('0x4c6b')+_0x1cd3('0x4c80')+_0x1cd3('0x367d')+_0x1cd3('0x4ca8')+_0x1cd3('0x4d06')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c6c')+_0x1cd3('0x4c93')+_0x1cd3('0x4c94')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.VOICE_AVG_HOLD_TIME\x27\x20|\x20translate\x20|\x20uppercase}}\x0a'+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c83')+_0x1cd3('0x4d07')+_0x1cd3('0x3669')+_0x1cd3('0x4c8e')+_0x1cd3('0x4c7a')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c7b')+_0x1cd3('0x4c7c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4a49')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x4d08')+_0x1cd3('0x3669')+_0x1cd3('0x4c72')+_0x1cd3('0x4c73')+'\x0a'+_0x1cd3('0x4c84')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c75')+_0x1cd3('0x4c67')+'\x0a'+_0x1cd3('0x4c68')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c76')+_0x1cd3('0x4c6b')+_0x1cd3('0x4c80')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4cac')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c6c')+_0x1cd3('0x4c98')+_0x1cd3('0x4c99')+_0x1cd3('0x3756')+_0x1cd3('0x4d09')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c83')+_0x1cd3('0x4cc0')+_0x1cd3('0x3669')+_0x1cd3('0x4c8e')+_0x1cd3('0x4c7a')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c7b')+_0x1cd3('0x4c7c')+_0x1cd3('0x4c71')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x4d0a')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c73')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c7e')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c67')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c6a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c80')+_0x1cd3('0x367d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c6c')+_0x1cd3('0x4cdc')+_0x1cd3('0x4cd5')+_0x1cd3('0x3756')+_0x1cd3('0x4d0b')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c83')+_0x1cd3('0x4cc3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c8e')+_0x1cd3('0x4c7a')+'\x0a'+_0x1cd3('0x4c70')+_0x1cd3('0x4c7b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c71')+_0x1cd3('0x4a49')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x4cc4')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c73')+'\x0a'+_0x1cd3('0x4c84')+_0x1cd3('0x4c85')+'\x0a'+_0x1cd3('0x4c8a')+_0x1cd3('0x4c67')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c69')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c6b')+_0x1cd3('0x4c80')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4ca8')+_0x1cd3('0x4cc1')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4ca1')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.VOICE_ABANDON_RATE\x27\x20|\x20translate\x20|\x20uppercase}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c83')+_0x1cd3('0x4d0c')+_0x1cd3('0x3669')+_0x1cd3('0x4c8e')+_0x1cd3('0x4c7a')+'\x0a'+_0x1cd3('0x4c70')+_0x1cd3('0x4c7b')+_0x1cd3('0x4c7c')+_0x1cd3('0x4c71')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x367d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.ABANDON_RATE\x27\x20|\x20translate}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c73')+'\x0a'+_0x1cd3('0x4c84')+_0x1cd3('0x4c90')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c67')+'\x0a'+_0x1cd3('0x4c68')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c76')+_0x1cd3('0x4c6b')+_0x1cd3('0x4c80')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4ca8')+_0x1cd3('0x4cbb')+_0x1cd3('0x367d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c6c')+_0x1cd3('0x4c8b')+_0x1cd3('0x4ca5')+_0x1cd3('0x3756')+_0x1cd3('0x4d0d')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c83')+_0x1cd3('0x4d0e')+_0x1cd3('0x3669')+_0x1cd3('0x4c8e')+_0x1cd3('0x4c7a')+'\x0a'+_0x1cd3('0x4c70')+_0x1cd3('0x4c7b')+_0x1cd3('0x4c7c')+_0x1cd3('0x4c71')+_0x1cd3('0x4a49')+_0x1cd3('0x367d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x4d0f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c72')+_0x1cd3('0x4c73')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c90')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c91')+_0x1cd3('0x376e')+_0x1cd3('0x4d10')+'\x0a'+'\x0a'+_0x1cd3('0x4c62')+_0x1cd3('0x4c63')+_0x1cd3('0x4d11')+_0x1cd3('0x4d12')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c92')+_0x1cd3('0x4c65')+'\x0a'+_0x1cd3('0x4c66')+_0x1cd3('0x4c67')+'\x0a'+_0x1cd3('0x4c68')+_0x1cd3('0x4c69')+_0x1cd3('0x4c6a')+_0x1cd3('0x4c6b')+_0x1cd3('0x4c80')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4ca8')+_0x1cd3('0x4cb7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c6c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.outbound.total\x20||\x200}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4d13')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c83')+_0x1cd3('0x4d14')+_0x1cd3('0x3669')+_0x1cd3('0x4c8e')+_0x1cd3('0x4c7a')+'\x0a'+_0x1cd3('0x4c70')+_0x1cd3('0x4c7b')+_0x1cd3('0x4c7c')+_0x1cd3('0x4c71')+_0x1cd3('0x4a49')+_0x1cd3('0x367d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.TOTAL\x27\x20|\x20translate}}\x0a'+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c73')+'\x0a'+_0x1cd3('0x4c84')+_0x1cd3('0x4c74')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c67')+'\x0a'+_0x1cd3('0x4c68')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c6a')+_0x1cd3('0x4c6b')+_0x1cd3('0x4c80')+_0x1cd3('0x367d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x0a'+_0x1cd3('0x4c6c')+_0x1cd3('0x4cb0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.outbound.answered\x20||\x200}}\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x4d15')+_0x1cd3('0x3669')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4d16')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c7a')+'\x0a'+_0x1cd3('0x4c70')+_0x1cd3('0x4c7b')+_0x1cd3('0x4c7c')+_0x1cd3('0x4c71')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.OUTBOUND_ANSWERED\x27\x20|\x20translate}}\x0a'+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c84')+_0x1cd3('0x4c85')+'\x0a'+_0x1cd3('0x4c75')+_0x1cd3('0x4c67')+'\x0a'+_0x1cd3('0x4c68')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c76')+_0x1cd3('0x4c6b')+_0x1cd3('0x4c80')+_0x1cd3('0x367d')+_0x1cd3('0x4ca8')+_0x1cd3('0x4d17')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c6c')+_0x1cd3('0x4c98')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.outbound.sumDuration\x20||\x200\x20|\x20secToTime\x20|\x20date:\x27HH:mm:ss\x27}}\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x4d18')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c83')+_0x1cd3('0x4d19')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c8e')+_0x1cd3('0x4c7a')+'\x0a'+_0x1cd3('0x4c70')+_0x1cd3('0x4c7b')+_0x1cd3('0x4c7c')+_0x1cd3('0x4c71')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x4d1a')+_0x1cd3('0x3669')+_0x1cd3('0x4c72')+_0x1cd3('0x4c73')+'\x0a'+_0x1cd3('0x4c84')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c8a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c68')+_0x1cd3('0x4c69')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c6b')+_0x1cd3('0x4c80')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4ca8')+_0x1cd3('0x4d1b')+_0x1cd3('0x367d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c6c')+_0x1cd3('0x4cc5')+_0x1cd3('0x4d1c')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.AVG_DURATION\x27\x20|\x20translate\x20|\x20uppercase}}\x0a'+_0x1cd3('0x3669')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4d1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c8e')+_0x1cd3('0x4c7a')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4a49')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x4d1e')+_0x1cd3('0x3669')+_0x1cd3('0x4c72')+_0x1cd3('0x4c73')+'\x0a'+_0x1cd3('0x4c84')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c8a')+_0x1cd3('0x4c67')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c69')+_0x1cd3('0x4c76')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c80')+_0x1cd3('0x367d')+_0x1cd3('0x4ca8')+_0x1cd3('0x4cc1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c6c')+_0x1cd3('0x4d1f')+_0x1cd3('0x4d20')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.OUTBOUND_ANSWER_RATE\x27\x20|\x20translate\x20|\x20uppercase}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c83')+_0x1cd3('0x4d21')+_0x1cd3('0x3669')+_0x1cd3('0x4c8e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c70')+_0x1cd3('0x4c7b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c71')+_0x1cd3('0x4a49')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x4d22')+_0x1cd3('0x3669')+_0x1cd3('0x4c72')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c84')+_0x1cd3('0x4c90')+'\x0a'+_0x1cd3('0x3686')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x376e')+'');_0x404b17['put']('app/main/apps/dashboards/views/general/user/whatsapp/user.general.whatsapp.html',_0x1cd3('0x4c61')+'\x0a'+_0x1cd3('0x4c63')+_0x1cd3('0x4d23')+_0x1cd3('0x4d24')+_0x1cd3('0x3686')+'\x0a'+_0x1cd3('0x4c92')+_0x1cd3('0x4c65')+'\x0a'+_0x1cd3('0x4c66')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c68')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c80')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.inbound.waiting\x20||\x200}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c6e')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c83')+_0x1cd3('0x4c6f')+_0x1cd3('0x3669')+_0x1cd3('0x4c8e')+_0x1cd3('0x4c7a')+'\x0a'+_0x1cd3('0x4c70')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c7c')+_0x1cd3('0x4c71')+_0x1cd3('0x4a49')+_0x1cd3('0x367d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x4cdf')+_0x1cd3('0x3669')+_0x1cd3('0x4c72')+_0x1cd3('0x4c73')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c74')+'\x0a'+_0x1cd3('0x4c75')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c68')+_0x1cd3('0x4c69')+_0x1cd3('0x4c76')+_0x1cd3('0x4c6b')+_0x1cd3('0x4c80')+_0x1cd3('0x367d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c6c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c78')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4ccd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c83')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.OPENED_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x4c8e')+_0x1cd3('0x4c7a')+'\x0a'+_0x1cd3('0x4c70')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c7c')+_0x1cd3('0x4c71')+_0x1cd3('0x4a49')+_0x1cd3('0x367d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x4c7d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c73')+'\x0a'+_0x1cd3('0x4c84')+_0x1cd3('0x4c7e')+'\x0a'+_0x1cd3('0x4c7f')+_0x1cd3('0x4c67')+_0x1cd3('0x4c68')+_0x1cd3('0x4c69')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c6b')+_0x1cd3('0x4c80')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c6c')+_0x1cd3('0x4cb0')+_0x1cd3('0x4c81')+_0x1cd3('0x3756')+_0x1cd3('0x4c82')+_0x1cd3('0x3669')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.MANAGED_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}\x0a'+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c7a')+'\x0a'+_0x1cd3('0x4c70')+_0x1cd3('0x4c7b')+_0x1cd3('0x4c7c')+_0x1cd3('0x4c71')+_0x1cd3('0x4a49')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x4ccf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c67')+'\x0a'+_0x1cd3('0x4c68')+_0x1cd3('0x4c69')+_0x1cd3('0x4c76')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c6c')+_0x1cd3('0x4c8b')+_0x1cd3('0x4ca5')+_0x1cd3('0x3756')+_0x1cd3('0x4cd0')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c83')+_0x1cd3('0x4cd1')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c7a')+'\x0a'+_0x1cd3('0x4c70')+_0x1cd3('0x4c7b')+_0x1cd3('0x4c7c')+_0x1cd3('0x4c71')+_0x1cd3('0x4a49')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x4cd2')+_0x1cd3('0x3669')+_0x1cd3('0x4c72')+_0x1cd3('0x4c73')+'\x0a'+_0x1cd3('0x4c84')+_0x1cd3('0x4c90')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c8a')+_0x1cd3('0x4c67')+'\x0a'+_0x1cd3('0x4c68')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c76')+_0x1cd3('0x4c6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x367d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c6c')+_0x1cd3('0x4c8b')+_0x1cd3('0x4c8c')+_0x1cd3('0x3756')+_0x1cd3('0x4cd3')+_0x1cd3('0x3669')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.TOTAL_OFFERED_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x4c8e')+_0x1cd3('0x4c7a')+'\x0a'+_0x1cd3('0x4c70')+_0x1cd3('0x4c7b')+_0x1cd3('0x4c7c')+_0x1cd3('0x4c71')+_0x1cd3('0x4a49')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x4c8f')+_0x1cd3('0x3669')+_0x1cd3('0x4c72')+_0x1cd3('0x4c73')+'\x0a'+_0x1cd3('0x4c84')+_0x1cd3('0x4c90')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c91')+'\x0a'+_0x1cd3('0x4c92')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c66')+_0x1cd3('0x4cdb')+_0x1cd3('0x39ee')+_0x1cd3('0x4c68')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c6a')+_0x1cd3('0x4c6b')+_0x1cd3('0x4c80')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c6c')+_0x1cd3('0x4c93')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.inbound.avgHoldTime\x20||\x20\x2700:00:00\x27\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c95')+_0x1cd3('0x3669')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c96')+_0x1cd3('0x3669')+_0x1cd3('0x4c8e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c7c')+_0x1cd3('0x4c71')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x367d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x4c97')+_0x1cd3('0x3669')+_0x1cd3('0x4c72')+_0x1cd3('0x4c73')+'\x0a'+_0x1cd3('0x4c84')+_0x1cd3('0x4c74')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c7f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c68')+_0x1cd3('0x4c69')+_0x1cd3('0x4c6a')+_0x1cd3('0x4c6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c6c')+_0x1cd3('0x4cdc')+_0x1cd3('0x4cd5')+_0x1cd3('0x3756')+_0x1cd3('0x4c9e')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c83')+_0x1cd3('0x4c9f')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c70')+_0x1cd3('0x4c7b')+_0x1cd3('0x4c7c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4a49')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x4ca0')+_0x1cd3('0x3669')+_0x1cd3('0x4c72')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c84')+_0x1cd3('0x4c85')+'\x0a'+_0x1cd3('0x4cd6')+_0x1cd3('0x4cd7')+_0x1cd3('0x4c68')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c76')+_0x1cd3('0x4c6b')+_0x1cd3('0x4c80')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4c6c')+_0x1cd3('0x4cc5')+_0x1cd3('0x4ca1')+_0x1cd3('0x3756')+_0x1cd3('0x4cdd')+_0x1cd3('0x3669')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4cd8')+_0x1cd3('0x3669')+_0x1cd3('0x4c8e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4c70')+_0x1cd3('0x4c7b')+_0x1cd3('0x4c7c')+_0x1cd3('0x4c71')+_0x1cd3('0x4a49')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.UNMANAGED_RATE\x27\x20|\x20translate}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c72')+_0x1cd3('0x4c73')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c90')+_0x1cd3('0x39ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x4c91')+_0x1cd3('0x376e')+'');_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x1954'),_0x1cd3('0x4d25')+_0x1cd3('0x4d26')+_0x1cd3('0x3666')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4d27')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20key\x0a'+_0x1cd3('0x4d29')+_0x1cd3('0x3e80')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4d2a')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20key\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3f99')+_0x1cd3('0x4d2b')+_0x1cd3('0x3756')+_0x1cd3('0x39ea')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x4d2c')+_0x1cd3('0x4d2d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x3a6f')+_0x1cd3('0x4d2e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22TrunkId.canSelect\x20===\x20false\x22>{{\x20TrunkId.name\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4d2f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4d30')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3acf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20localstationid\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x4d32')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x0a'+_0x1cd3('0x4d33')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x3e91')+_0x1cd3('0x3e92')+_0x1cd3('0x3acc')+_0x1cd3('0x4d34')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4d35')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4d36')+_0x1cd3('0x4d37')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4d38')+_0x1cd3('0x3b24')+_0x1cd3('0x4d39')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ee')+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x39ef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39f3')+_0x1cd3('0x39f4')+'\x0a'+_0x1cd3('0x4d3a')+_0x1cd3('0x39f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22faxAccountForm.$invalid\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22FAX.ADD_FAXACCOUNT\x22\x20translate-attr-aria-label=\x22FAX.ADD_FAXACCOUNT\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20FAXACCOUNT\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4d3b')+_0x1cd3('0x4d3c')+_0x1cd3('0x3a20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a'+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x1936'),_0x1cd3('0x4d3d')+_0x1cd3('0x4d3e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4d3f')+_0x1cd3('0x3d50')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e21')+_0x1cd3('0x366f')+_0x1cd3('0x3e26')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e23')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x1cd3('0x3671')+_0x1cd3('0x3675')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')]('app/main/apps/fax/views/faxAccounts/edit/apps/agent/dialog.html',_0x1cd3('0x4d25')+_0x1cd3('0x4d40')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent\x0a'+_0x1cd3('0x3ea3')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x3a6f')+_0x1cd3('0x3ea4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22agent.canSelect\x20===\x20false\x22>{{\x20agent.name\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4d41')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4d42')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4d43')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4d46')+_0x1cd3('0x3e12')+_0x1cd3('0x3e13')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x202147483\x0a'+_0x1cd3('0x3e12')+_0x1cd3('0x3e15')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x3b20')+_0x1cd3('0x3b47')+_0x1cd3('0x4d47')+_0x1cd3('0x3ad7')+_0x1cd3('0x4d48')+_0x1cd3('0x4d49')+_0x1cd3('0x39f3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x3675')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17['put'](_0x1cd3('0x4d4a'),'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3666')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Disposition\x0a'+_0x1cd3('0x3ed5')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x4d4b')+_0x1cd3('0x3b24')+_0x1cd3('0x4d4c')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x3b20')+_0x1cd3('0x3b47')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x3675')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x4d4d'),_0x1cd3('0x4d25')+_0x1cd3('0x4d40')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x4d4e')+_0x1cd3('0x4d4f')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x4d50')+_0x1cd3('0x3b24')+_0x1cd3('0x4d51')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x4d52')+_0x1cd3('0x3f00')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e0d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4d53')+_0x1cd3('0x3b24')+_0x1cd3('0x4d54')+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+_0x1cd3('0x4d55')+_0x1cd3('0x3e12')+_0x1cd3('0x3f04')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20falsepriority\x0a'+_0x1cd3('0x3f06')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x221\x22\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x4d56')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20falsepriority\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+_0x1cd3('0x4d57')+_0x1cd3('0x3e12')+_0x1cd3('0x3f04')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ee')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3b20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4d47')+_0x1cd3('0x3ad7')+_0x1cd3('0x4d48')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22FAX.SAVE\x22\x20translate-attr-aria-label=\x22FAX.SAVE\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x1cd3('0x39f4')+_0x1cd3('0x366a')+_0x1cd3('0x3675')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x4d58'),_0x1cd3('0x4d25')+_0x1cd3('0x4d40')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x3857')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39da')+_0x1cd3('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Priority\x0a'+_0x1cd3('0x3f0b')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3ea9')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x4d59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4d5a')+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+_0x1cd3('0x4d5b')+_0x1cd3('0x3e12')+_0x1cd3('0x3f04')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ee')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x3b20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4d47')+_0x1cd3('0x3ad7')+_0x1cd3('0x4d48')+_0x1cd3('0x4d49')+_0x1cd3('0x39f3')+_0x1cd3('0x39f4')+_0x1cd3('0x366a')+_0x1cd3('0x3675')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x4d5c'),_0x1cd3('0x3f0f')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b14')+_0x1cd3('0x3b1f')+_0x1cd3('0x3b15')+_0x1cd3('0x3b16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3ed3')+_0x1cd3('0x3b28')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x0a'+_0x1cd3('0x3f12')+_0x1cd3('0x3f13')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4d5d')+_0x1cd3('0x3f14')+_0x1cd3('0x3f15')+_0x1cd3('0x36a9')+_0x1cd3('0x36aa')+'\x0a'+_0x1cd3('0x4d5e')+_0x1cd3('0x3f16')+_0x1cd3('0x3f17')+_0x1cd3('0x3c8a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f19')+_0x1cd3('0x3f1a')+_0x1cd3('0x3f1b')+_0x1cd3('0x4456')+_0x1cd3('0x3f1c')+_0x1cd3('0x3c97')+_0x1cd3('0x3669')+_0x1cd3('0x3f1d')+_0x1cd3('0x3f1e')+_0x1cd3('0x3f1f')+_0x1cd3('0x3f20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Time\x20Range\x20To\x20field\x20is\x20invalid\x0a'+_0x1cd3('0x36b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f22')+_0x1cd3('0x36b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4d5f')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+_0x1cd3('0x3f23')+'\x0a'+_0x1cd3('0x3f24')+_0x1cd3('0x3f25')+_0x1cd3('0x3f17')+_0x1cd3('0x3f26')+_0x1cd3('0x3f27')+_0x1cd3('0x3f28')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Always\x0a'+_0x1cd3('0x3f29')+_0x1cd3('0x3b44')+_0x1cd3('0x36c2')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f33')+_0x1cd3('0x3f2b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20day.value\x20|\x20ucfirst\x20}}\x0a'+_0x1cd3('0x3b44')+_0x1cd3('0x3f2c')+_0x1cd3('0x3756')+_0x1cd3('0x36c2')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4d60')+_0x1cd3('0x3f17')+_0x1cd3('0x4d61')+_0x1cd3('0x3f27')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f30')+_0x1cd3('0x3f31')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36c2')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f33')+_0x1cd3('0x3f34')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20month\x20}}\x0a'+_0x1cd3('0x3b44')+_0x1cd3('0x3f35')+_0x1cd3('0x3756')+_0x1cd3('0x36c2')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3f36')+_0x1cd3('0x3f37')+_0x1cd3('0x3f17')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20From\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Always\x0a'+_0x1cd3('0x3f39')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4d62')+_0x1cd3('0x3f33')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f39')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4d63')+_0x1cd3('0x3756')+_0x1cd3('0x36c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b1f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x3b16')+_0x1cd3('0x3b17')+_0x1cd3('0x3756')+_0x1cd3('0x3b18')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x367d')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+_0x1cd3('0x366f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x388f')+_0x1cd3('0x4d64')+_0x1cd3('0x3891')+_0x1cd3('0x3859')+'\x0a'+_0x1cd3('0x3f3c')+_0x1cd3('0x3f3d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a');_0x404b17['put'](_0x1cd3('0x4d65'),_0x1cd3('0x4d25')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4d66')+_0x1cd3('0x4d67')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x4d68')+_0x1cd3('0x3b24')+_0x1cd3('0x4d69')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x3b20')+_0x1cd3('0x3b47')+_0x1cd3('0x4d47')+_0x1cd3('0x3ad7')+_0x1cd3('0x4d48')+_0x1cd3('0x4d49')+_0x1cd3('0x39f3')+_0x1cd3('0x39f4')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x4d6a'),_0x1cd3('0x4d25')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x39d7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39da')+_0x1cd3('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x4d6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4d6d')+_0x1cd3('0x3b24')+_0x1cd3('0x4d6e')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Timeout\x0a'+_0x1cd3('0x3f48')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3ea9')+_0x1cd3('0x3e0e')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x4d44')+_0x1cd3('0x3b24')+_0x1cd3('0x4d45')+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+_0x1cd3('0x4d46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e13')+_0x1cd3('0x4d6f')+_0x1cd3('0x3e12')+_0x1cd3('0x3e15')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x0a'+_0x1cd3('0x3b20')+_0x1cd3('0x3b47')+_0x1cd3('0x4d47')+_0x1cd3('0x3ad7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22faxAccountFormApp.$invalid\x20||\x20faxAccountFormApp.$pristine\x22\x0a'+_0x1cd3('0x4d49')+_0x1cd3('0x39f3')+_0x1cd3('0x39f4')+_0x1cd3('0x366a')+_0x1cd3('0x3675')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x4d70'),_0x1cd3('0x4d25')+_0x1cd3('0x4d40')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Command\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Command\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x4d72')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20variable.name\x20}}\x0a'+_0x1cd3('0x3acc')+_0x1cd3('0x4d73')+_0x1cd3('0x3b24')+_0x1cd3('0x4d74')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3ed3')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b47')+_0x1cd3('0x4d47')+_0x1cd3('0x3ad7')+_0x1cd3('0x4d48')+_0x1cd3('0x4d49')+_0x1cd3('0x39f3')+_0x1cd3('0x39f4')+_0x1cd3('0x366a')+_0x1cd3('0x3675')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x4d75'),_0x1cd3('0x4d25')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3858')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Tag\x0a'+_0x1cd3('0x3f56')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x3a6f')+_0x1cd3('0x4d76')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22tag.canSelect\x20===\x20false\x22>{{\x20tag.name\x20}}\x0a'+_0x1cd3('0x3acc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x4d77')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3ed3')+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b47')+_0x1cd3('0x4d47')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x1cd3('0x4d48')+_0x1cd3('0x4d49')+_0x1cd3('0x39f3')+_0x1cd3('0x39f4')+_0x1cd3('0x366a')+_0x1cd3('0x3675')+_0x1cd3('0x3681')+'\x0a');_0x404b17['put'](_0x1cd3('0x191b'),_0x1cd3('0x4d78')+_0x1cd3('0x4d79')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4d27')+_0x1cd3('0x4d7a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x4d7b')+_0x1cd3('0x3b24')+_0x1cd3('0x4d7c')+_0x1cd3('0x3756')+_0x1cd3('0x39ea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x39ef')+_0x1cd3('0x388f')+_0x1cd3('0x4d7d')+_0x1cd3('0x3ad7')+_0x1cd3('0x4d7e')+_0x1cd3('0x4d49')+_0x1cd3('0x39f3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4d7f')+_0x1cd3('0x39f6')+_0x1cd3('0x4d80')+_0x1cd3('0x4d81')+_0x1cd3('0x4d82')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39fa')+_0x1cd3('0x4d83')+_0x1cd3('0x4d3c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4d84')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x39fe')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17['put']('app/main/apps/fax/views/faxAccounts/edit/view.html',_0x1cd3('0x4d85')+'\x0a'+_0x1cd3('0x3adc')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d5a')+_0x1cd3('0x4d86')+_0x1cd3('0x4d87')+_0x1cd3('0x4d88')+_0x1cd3('0x3ba1')+_0x1cd3('0x3671')+'\x0a'+_0x1cd3('0x388f')+'\x0a'+_0x1cd3('0x4d89')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x3ba2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4d8a')+_0x1cd3('0x4d8b')+_0x1cd3('0x3756')+_0x1cd3('0x3ba6')+_0x1cd3('0x4d8c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39ee')+_0x1cd3('0x3e31')+_0x1cd3('0x4d8d')+_0x1cd3('0x3f93')+_0x1cd3('0x433b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4d8e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22md-fab\x20md-warn\x20md-icon-button\x22\x0a'+_0x1cd3('0x3e37')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e35')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x4d8f')+_0x1cd3('0x3e3b')+_0x1cd3('0x3d24')+_0x1cd3('0x36f6')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a22')+_0x1cd3('0x3e3c')+'\x0a'+_0x1cd3('0x3baa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e3d')+_0x1cd3('0x4d90')+_0x1cd3('0x3e3f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GENERAL\x0a'+_0x1cd3('0x386f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e45')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x0a'+_0x1cd3('0x4d91')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x3e49')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x4d92')+_0x1cd3('0x4d29')+_0x1cd3('0x3e80')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x3f98')+_0x1cd3('0x3b24')+_0x1cd3('0x4d93')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f99')+_0x1cd3('0x4d2b')+_0x1cd3('0x3756')+_0x1cd3('0x39ea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x4d94')+_0x1cd3('0x4d95')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x4d96')+_0x1cd3('0x4d97')+_0x1cd3('0x3b24')+_0x1cd3('0x4d98')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x4d2c')+_0x1cd3('0x4d2d')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x3a6f')+_0x1cd3('0x4d2e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22TrunkId.canSelect\x20===\x20false\x22>{{\x20TrunkId.name\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4d99')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20trunk\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x4d9a')+_0x1cd3('0x4d9b')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x4d31')+_0x1cd3('0x4d9c')+_0x1cd3('0x3b24')+_0x1cd3('0x4d32')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x4d9d')+_0x1cd3('0x4d33')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+_0x1cd3('0x3a6f')+_0x1cd3('0x3e91')+_0x1cd3('0x3e92')+_0x1cd3('0x3acc')+_0x1cd3('0x3f9c')+_0x1cd3('0x3b24')+_0x1cd3('0x4d35')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x4d9e')+_0x1cd3('0x4d9f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3e0d')+_0x1cd3('0x3e0e')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x3fa2')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WaitForTheAssignedAgent\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4da0')+_0x1cd3('0x3e12')+_0x1cd3('0x3e13')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WaitForTheAssignedAgent\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x202147483\x0a'+_0x1cd3('0x3e12')+_0x1cd3('0x3e15')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x0a'+_0x1cd3('0x4d37')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4d39')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e51')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e42')+_0x1cd3('0x4da1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fa9')+_0x1cd3('0x3e45')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20notificationSound\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3870')+_0x1cd3('0x3acf')+_0x1cd3('0x4da2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4da3')+_0x1cd3('0x4da4')+_0x1cd3('0x366a')+_0x1cd3('0x3ed3')+_0x1cd3('0x3fa6')+_0x1cd3('0x3e51')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e42')+_0x1cd3('0x4da5')+_0x1cd3('0x386f')+_0x1cd3('0x3faf')+_0x1cd3('0x3e45')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20queueTransfer\x0a'+_0x1cd3('0x3ed3')+_0x1cd3('0x3870')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4da6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20queueTransferTimeout\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20queueTransferTimeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a'+_0x1cd3('0x3e12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4da8')+_0x1cd3('0x3e12')+_0x1cd3('0x3e15')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20agentTransfer\x0a'+_0x1cd3('0x3ed3')+_0x1cd3('0x3870')+_0x1cd3('0x4da9')+_0x1cd3('0x4daa')+_0x1cd3('0x4dab')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e0d')+_0x1cd3('0x3e0e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x4dac')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4dad')+_0x1cd3('0x3e12')+_0x1cd3('0x3e13')+_0x1cd3('0x4dae')+_0x1cd3('0x3e12')+_0x1cd3('0x3e15')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ee')+_0x1cd3('0x3fa6')+_0x1cd3('0x3e51')+_0x1cd3('0x3fba')+_0x1cd3('0x3e52')+_0x1cd3('0x3fda')+_0x1cd3('0x3e3d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADVANCED\x0a'+_0x1cd3('0x3e3f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4daf')+_0x1cd3('0x3e42')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADVANCED\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4db0')+_0x1cd3('0x3e45')+_0x1cd3('0x4db1')+_0x1cd3('0x4db2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x3a6f')+_0x1cd3('0x4db3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4db4')+_0x1cd3('0x3eeb')+_0x1cd3('0x3a4d')+_0x1cd3('0x4db5')+_0x1cd3('0x3acc')+_0x1cd3('0x4db6')+_0x1cd3('0x4db7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4db8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x4db9')+_0x1cd3('0x4dba')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x3a6f')+_0x1cd3('0x4dbb')+_0x1cd3('0x3a4d')+_0x1cd3('0x4dbc')+_0x1cd3('0x4dbd')+_0x1cd3('0x3a4d')+_0x1cd3('0x4dbe')+_0x1cd3('0x4dbf')+_0x1cd3('0x3a4d')+_0x1cd3('0x4dc0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2014400\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4dc5')+_0x1cd3('0x4dc6')+_0x1cd3('0x3b24')+_0x1cd3('0x4dc7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3acf')+_0x1cd3('0x4dc8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x202400\x0a'+_0x1cd3('0x4dbd')+_0x1cd3('0x3a4d')+_0x1cd3('0x4dbe')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2012000\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20maxrate\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20modem\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4dd4')+_0x1cd3('0x4dd5')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x4dd6')+_0x1cd3('0x4dd7')+_0x1cd3('0x3b24')+_0x1cd3('0x4dd8')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x4dd9')+_0x1cd3('0x4dda')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4ddb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x4ddc')+_0x1cd3('0x3756')+_0x1cd3('0x3f9f')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x4ddd')+_0x1cd3('0x4dde')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x4ddf')+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>SIP\x0a'+_0x1cd3('0x4de0')+_0x1cd3('0x3a4d')+_0x1cd3('0x4de1')+_0x1cd3('0x4de2')+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>DADHI\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20KHOMP\x0a'+_0x1cd3('0x3acc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x4de3')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fa6')+_0x1cd3('0x3e51')+_0x1cd3('0x4de4')+_0x1cd3('0x3e42')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DISPOSITION\x0a'+_0x1cd3('0x386f')+_0x1cd3('0x3fd3')+_0x1cd3('0x3e45')+_0x1cd3('0x4de5')+_0x1cd3('0x3ed3')+_0x1cd3('0x3870')+_0x1cd3('0x4de6')+_0x1cd3('0x4de7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4de9')+_0x1cd3('0x3fd8')+_0x1cd3('0x3b24')+_0x1cd3('0x4dea')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x3ed3')+_0x1cd3('0x3fa6')+_0x1cd3('0x3e51')+_0x1cd3('0x3fba')+_0x1cd3('0x3e52')+_0x1cd3('0x3fda')+_0x1cd3('0x3e3d')+_0x1cd3('0x4deb')+_0x1cd3('0x3e3f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4dec')+_0x1cd3('0x4ded')+_0x1cd3('0x4dee')+_0x1cd3('0x4118')+'\x20\x20\x20\x20\x20\x20FaxDispositions\x0a'+_0x1cd3('0x411a')+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4df2')+_0x1cd3('0x4121')+_0x1cd3('0x415a')+_0x1cd3('0x4df3')+_0x1cd3('0x4df4')+_0x1cd3('0x4177')+_0x1cd3('0x3d24')+_0x1cd3('0x3f1c')+_0x1cd3('0x415d')+_0x1cd3('0x4123')+_0x1cd3('0x4df5')+_0x1cd3('0x4df6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4126')+_0x1cd3('0x4df7')+_0x1cd3('0x4128')+_0x1cd3('0x45b9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27FAX.NAME\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4128')+_0x1cd3('0x412c')+_0x1cd3('0x4df8')+_0x1cd3('0x4128')+_0x1cd3('0x412e')+_0x1cd3('0x412f')+_0x1cd3('0x417f')+_0x1cd3('0x4130')+_0x1cd3('0x4df9')+'>\x0a'+_0x1cd3('0x4dfa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{faxDisposition.id}}\x0a'+_0x1cd3('0x4133')+_0x1cd3('0x4dfb')+_0x1cd3('0x4dfc')+_0x1cd3('0x4133')+_0x1cd3('0x4dfd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20faxDisposition.createdAt\x20|\x20formatdate\x20}}\x0a'+_0x1cd3('0x413e')+_0x1cd3('0x4166')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4dfe')+_0x1cd3('0x4141')+_0x1cd3('0x4185')+'\x20\x0a'+_0x1cd3('0x4167')+_0x1cd3('0x4142')+_0x1cd3('0x4dff')+_0x1cd3('0x4e00')+_0x1cd3('0x4145')+_0x1cd3('0x4146')+_0x1cd3('0x4147')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4e01')+_0x1cd3('0x3a52')+_0x1cd3('0x4149')+_0x1cd3('0x414a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x414b')+_0x1cd3('0x412f')+_0x1cd3('0x4e02')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x414d')+_0x1cd3('0x4e03')+_0x1cd3('0x414f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x412f')+_0x1cd3('0x4151')+_0x1cd3('0x4152')+_0x1cd3('0x416d')+_0x1cd3('0x4e04')+_0x1cd3('0x3824')+'\x0a'+_0x1cd3('0x3e51')+_0x1cd3('0x3fba')+_0x1cd3('0x3e52')+_0x1cd3('0x3fda')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4e05')+_0x1cd3('0x3e3f')+_0x1cd3('0x3e40')+_0x1cd3('0x4e06')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x0a'+_0x1cd3('0x4198')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x4199')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x419b')+_0x1cd3('0x419c')+_0x1cd3('0x37e3')+_0x1cd3('0x419d')+_0x1cd3('0x419e')+_0x1cd3('0x37bd')+_0x1cd3('0x419f')+_0x1cd3('0x41a0')+_0x1cd3('0x4e07')+_0x1cd3('0x4e08')+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3824')+'\x20\x20\x0a'+'\x20\x20\x0a'+_0x1cd3('0x41a6')+'\x20\x20\x0a'+_0x1cd3('0x4e09')+_0x1cd3('0x411f')+_0x1cd3('0x4e0a')+_0x1cd3('0x3b5a')+_0x1cd3('0x41a9')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3947')+_0x1cd3('0x4e0b')+_0x1cd3('0x411f')+_0x1cd3('0x4e0c')+_0x1cd3('0x3b5a')+_0x1cd3('0x4e0d')+_0x1cd3('0x4e0e')+_0x1cd3('0x41ad')+_0x1cd3('0x36ed')+_0x1cd3('0x3d1d')+_0x1cd3('0x3947')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x4758')+_0x1cd3('0x4e0f')+_0x1cd3('0x41af')+_0x1cd3('0x41b0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Priority\x0a'+_0x1cd3('0x41b4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41b6')+_0x1cd3('0x41b4')+_0x1cd3('0x4e10')+_0x1cd3('0x4e11')+_0x1cd3('0x41b4')+_0x1cd3('0x4e10')+_0x1cd3('0x4e12')+_0x1cd3('0x41b4')+_0x1cd3('0x41b1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41b7')+_0x1cd3('0x425a')+_0x1cd3('0x41b8')+_0x1cd3('0x4e13')+_0x1cd3('0x41ba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4150')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{app.priority}}\x0a'+_0x1cd3('0x4e14')+_0x1cd3('0x4e15')+_0x1cd3('0x41bd')+_0x1cd3('0x41ba')+_0x1cd3('0x4e16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41c0')+_0x1cd3('0x4e17')+_0x1cd3('0x41c1')+_0x1cd3('0x4150')+_0x1cd3('0x41c2')+_0x1cd3('0x3a49')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a4c')+_0x1cd3('0x395d')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41c3')+_0x1cd3('0x4e18')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20App\x0a'+_0x1cd3('0x3a52')+_0x1cd3('0x3a53')+_0x1cd3('0x41c3')+_0x1cd3('0x41c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Interval\x0a'+_0x1cd3('0x3a52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4e19')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41c7')+_0x1cd3('0x3a52')+_0x1cd3('0x3a53')+_0x1cd3('0x41c8')+_0x1cd3('0x41c9')+_0x1cd3('0x4150')+_0x1cd3('0x41b7')+_0x1cd3('0x4e1a')+_0x1cd3('0x41cb')+_0x1cd3('0x4e1b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41b7')+_0x1cd3('0x42bf')+_0x1cd3('0x41cc')+_0x1cd3('0x42dc')+'\x0a'+'\x0a'+_0x1cd3('0x4e1c')+'\x0a'+_0x1cd3('0x41ce')+_0x1cd3('0x376e')+'\x0a'+_0x1cd3('0x376e')+'\x0a'+_0x1cd3('0x3e51')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fda')+_0x1cd3('0x3e3d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20INTERACTIONS\x0a'+_0x1cd3('0x3e3f')+_0x1cd3('0x3e40')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4e1d')+'\x20\x20\x0a'+_0x1cd3('0x4118')+_0x1cd3('0x4e1e')+_0x1cd3('0x411a')+_0x1cd3('0x411b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41d1')+_0x1cd3('0x4e1f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x20\x27md-fab\x20md-mini\x20md-accent-bg\x27:\x20vm_dc.query.search\x20}\x22\x20aria-label=\x22Filter\x22\x20translate\x0a'+_0x1cd3('0x41d3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d1d')+_0x1cd3('0x4e21')+_0x1cd3('0x4e22')+_0x1cd3('0x4e23')+_0x1cd3('0x4104')+_0x1cd3('0x3f1c')+'\x20\x20\x0a'+_0x1cd3('0x4e24')+_0x1cd3('0x411f')+_0x1cd3('0x4e25')+_0x1cd3('0x3b5a')+_0x1cd3('0x4e26')+_0x1cd3('0x4121')+_0x1cd3('0x415a')+_0x1cd3('0x4e27')+_0x1cd3('0x4df4')+_0x1cd3('0x4177')+_0x1cd3('0x3d24')+_0x1cd3('0x3f1c')+_0x1cd3('0x415d')+_0x1cd3('0x4123')+_0x1cd3('0x4e28')+_0x1cd3('0x4e29')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4df7')+_0x1cd3('0x4128')+_0x1cd3('0x41db')+_0x1cd3('0x41dc')+_0x1cd3('0x4128')+_0x1cd3('0x41db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41db')+_0x1cd3('0x41dd')+_0x1cd3('0x4e2a')+_0x1cd3('0x4e2b')+_0x1cd3('0x4128')+_0x1cd3('0x412c')+_0x1cd3('0x4e2c')+_0x1cd3('0x4128')+_0x1cd3('0x4e2d')+_0x1cd3('0x4e2e')+_0x1cd3('0x4128')+_0x1cd3('0x41e0')+_0x1cd3('0x4e2f')+_0x1cd3('0x4128')+_0x1cd3('0x4e2a')+_0x1cd3('0x4e30')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41e2')+_0x1cd3('0x4e31')+_0x1cd3('0x4128')+_0x1cd3('0x412e')+_0x1cd3('0x412f')+_0x1cd3('0x417f')+_0x1cd3('0x4130')+_0x1cd3('0x4e32')+_0x1cd3('0x41e5')+_0x1cd3('0x4222')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{interaction.id}}\x0a'+_0x1cd3('0x4133')+_0x1cd3('0x41e7')+_0x1cd3('0x41e8')+_0x1cd3('0x41e9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41ea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20,\x20\x0a'+_0x1cd3('0x4202')+_0x1cd3('0x41ec')+_0x1cd3('0x41ed')+_0x1cd3('0x3951')+_0x1cd3('0x41ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x200\x22\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22>\x0a'+_0x1cd3('0x41f0')+_0x1cd3('0x3f1c')+_0x1cd3('0x3951')+_0x1cd3('0x41ee')+_0x1cd3('0x41f1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4e33')+_0x1cd3('0x41f3')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x41fb')+_0x1cd3('0x41fc')+_0x1cd3('0x4283')+_0x1cd3('0x41fd')+_0x1cd3('0x41fe')+_0x1cd3('0x36b7')+_0x1cd3('0x3f1c')+_0x1cd3('0x413e')+_0x1cd3('0x4e34')+_0x1cd3('0x41ff')+_0x1cd3('0x4200')+_0x1cd3('0x4e35')+_0x1cd3('0x4e36')+_0x1cd3('0x4e37')+_0x1cd3('0x4202')+_0x1cd3('0x4206')+_0x1cd3('0x4e38')+_0x1cd3('0x4e39')+_0x1cd3('0x4204')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-\x20{{\x20interaction.disposition\x20}}\x0a'+_0x1cd3('0x4202')+_0x1cd3('0x4206')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{interaction.Owner.name}}\x0a'+_0x1cd3('0x4133')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4e3a')+_0x1cd3('0x420a')+_0x1cd3('0x420b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x420e')+_0x1cd3('0x4e3c')+_0x1cd3('0x4210')+_0x1cd3('0x3a52')+_0x1cd3('0x4149')+_0x1cd3('0x4211')+_0x1cd3('0x4e3d')+_0x1cd3('0x4e3e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4216')+_0x1cd3('0x4e3f')+_0x1cd3('0x4217')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x414a')+_0x1cd3('0x4189')+_0x1cd3('0x414b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4e40')+_0x1cd3('0x4219')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4e41')+_0x1cd3('0x414f')+_0x1cd3('0x4150')+_0x1cd3('0x412f')+_0x1cd3('0x4151')+_0x1cd3('0x4152')+'\x20\x20\x0a'+_0x1cd3('0x4e42')+_0x1cd3('0x3824')+'\x0a'+_0x1cd3('0x3e51')+_0x1cd3('0x3fba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a66')+'\x0a'+_0x1cd3('0x376e'));_0x404b17['put'](_0x1cd3('0x159'),_0x1cd3('0x4e43')+'\x0a'+_0x1cd3('0x3adc')+_0x1cd3('0x39ff')+'\x0a'+_0x1cd3('0x3add')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a00')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4e44')+_0x1cd3('0x38f9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20FaxAccounts\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae3')+_0x1cd3('0x3a02')+_0x1cd3('0x3a03')+_0x1cd3('0x3ae4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4e45')+_0x1cd3('0x36c2')+_0x1cd3('0x366a')+_0x1cd3('0x3ae5')+_0x1cd3('0x3756')+_0x1cd3('0x3686')+_0x1cd3('0x3ae6')+'\x0a'+_0x1cd3('0x3a07')+_0x1cd3('0x4e46')+_0x1cd3('0x3a09')+'\x0a'+_0x1cd3('0x4e47')+_0x1cd3('0x3a0b')+_0x1cd3('0x3ae8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Back\x0a'+_0x1cd3('0x3671')+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x3a0c')+'\x0a'+_0x1cd3('0x3a0d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4e48')+_0x1cd3('0x4e49')+_0x1cd3('0x38f9')+'\x0a'+_0x1cd3('0x3aeb')+_0x1cd3('0x3a11')+_0x1cd3('0x3a12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22multi\x20select\x20toggle\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22FAX.MULTI_SELECT_TOGGLE\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x367d')+_0x1cd3('0x3a15')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4e4a')+_0x1cd3('0x3c2e')+_0x1cd3('0x3849')+_0x1cd3('0x3aee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4e4b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Select\x20none\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3aee')+_0x1cd3('0x3a1a')+_0x1cd3('0x3aef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a1b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a1d')+_0x1cd3('0x3a1e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a25')+_0x1cd3('0x4e4d')+_0x1cd3('0x3a27')+_0x1cd3('0x3af3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4e4e')+_0x1cd3('0x3a2a')+_0x1cd3('0x3a2b')+_0x1cd3('0x4e4f')+_0x1cd3('0x4e50')+_0x1cd3('0x4e51')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27FAX.TRUNK\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4e52')+_0x1cd3('0x4e53')+_0x1cd3('0x3a33')+_0x1cd3('0x3a34')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4e54')+_0x1cd3('0x3e63')+_0x1cd3('0x3a38')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3af8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4e55')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4e56')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{faxAccount.id}}\x0a'+_0x1cd3('0x4e57')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22name\x20\x22\x20>{{faxAccount.name}}\x0a'+_0x1cd3('0x4e57')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22key\x20\x22\x20>{{faxAccount.key}}\x0a'+_0x1cd3('0x4e57')+_0x1cd3('0x4e58')+_0x1cd3('0x4e59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22localstationid\x20\x22\x20>{{faxAccount.localstationid}}\x0a'+_0x1cd3('0x4e57')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22description\x20\x22\x20>{{faxAccount.description}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3cdd')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a4a')+_0x1cd3('0x4e5a')+_0x1cd3('0x3a4c')+_0x1cd3('0x395d')+'\x0a'+_0x1cd3('0x3b04')+'\x0a'+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3a4f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3ce1')+'\x0a'+_0x1cd3('0x4e5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22FAX.INTERACTIONS_FAXACCOUNT\x22>\x0a'+_0x1cd3('0x4e5e')+_0x1cd3('0x3a52')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a54')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a4e')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4e5f')+_0x1cd3('0x4e60')+_0x1cd3('0x4e61')+_0x1cd3('0x3a52')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a5a')+'\x0a'+_0x1cd3('0x4e64')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22FAX.DELETE_FAXACCOUNT\x22>\x0a'+_0x1cd3('0x4e65')+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x369a')+_0x1cd3('0x3951')+'\x0a'+'\x0a'+_0x1cd3('0x3a34')+_0x1cd3('0x3a5d')+_0x1cd3('0x3a5e')+_0x1cd3('0x3a5f')+'\x0a'+_0x1cd3('0x4e66')+_0x1cd3('0x3a61')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a63')+'\x0a'+_0x1cd3('0x3a64')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3686')+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4e67')+_0x1cd3('0x4e68')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x376d')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a');_0x404b17['put'](_0x1cd3('0x1979'),'\x0a'+_0x1cd3('0x4e69')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x39db')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x0a'+_0x1cd3('0x4e6a')+_0x1cd3('0x39e1')+_0x1cd3('0x3e46')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+_0x1cd3('0x4e6b')+_0x1cd3('0x3dff')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x4e6c')+_0x1cd3('0x4e6d')+_0x1cd3('0x3b24')+_0x1cd3('0x4d7c')+_0x1cd3('0x3756')+_0x1cd3('0x3e03')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20must\x20be\x20valid\x20pattern\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4e6e')+_0x1cd3('0x4e6f')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6f')+_0x1cd3('0x3e07')+_0x1cd3('0x3a4d')+_0x1cd3('0x3e08')+_0x1cd3('0x3e09')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>RR\x20Memory\x0a'+_0x1cd3('0x3acc')+_0x1cd3('0x4e70')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Strategy\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x4e71')+_0x1cd3('0x4e72')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3e0d')+_0x1cd3('0x3e0e')+_0x1cd3('0x39e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4e73')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent_Timeout\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent_Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e13')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent_Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x202147483\x0a'+_0x1cd3('0x3e12')+_0x1cd3('0x3e15')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x4d36')+_0x1cd3('0x4e74')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x4d39')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x39ef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4e75')+_0x1cd3('0x3ad7')+_0x1cd3('0x4e76')+_0x1cd3('0x4d49')+_0x1cd3('0x39f3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4e77')+_0x1cd3('0x39f6')+_0x1cd3('0x4e78')+_0x1cd3('0x4e79')+_0x1cd3('0x4e7a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39fa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a20')+_0x1cd3('0x4d84')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')]('app/main/apps/fax/views/faxQueues/edit/agentadd/agentadd.html',_0x1cd3('0x4e7b')+_0x1cd3('0x4e7c')+_0x1cd3('0x3e1f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4e7d')+_0x1cd3('0x3d50')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+_0x1cd3('0x366c')+_0x1cd3('0x3e21')+_0x1cd3('0x366f')+_0x1cd3('0x3e26')+_0x1cd3('0x3e22')+_0x1cd3('0x3e23')+_0x1cd3('0x3ba9')+_0x1cd3('0x3671')+_0x1cd3('0x3675')+_0x1cd3('0x3681')+'\x0a');_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x196a'),'\x0a'+_0x1cd3('0x4e7c')+_0x1cd3('0x3e1f')+_0x1cd3('0x3d4f')+_0x1cd3('0x4e7e')+_0x1cd3('0x3d50')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+_0x1cd3('0x366c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366f')+_0x1cd3('0x3e26')+_0x1cd3('0x3e22')+_0x1cd3('0x3e27')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3675')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x4e7f'),_0x1cd3('0x4e80')+'\x0a'+_0x1cd3('0x3adc')+_0x1cd3('0x3b9f')+_0x1cd3('0x3d5a')+_0x1cd3('0x4e81')+_0x1cd3('0x4e82')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22FAX.GO_TO_FAXQUEUES\x22>\x0a'+_0x1cd3('0x3ba1')+_0x1cd3('0x3671')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4e83')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3ba2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.faxQueue.id}}\x0a'+_0x1cd3('0x4e84')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4e85')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4e86')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22md-fab\x20md-orange-500-bg\x20md-icon-button\x22\x0a'+_0x1cd3('0x4e87')+_0x1cd3('0x4e88')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4e89')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22md-fab\x20md-purple-500-bg\x20md-icon-button\x22\x0a'+_0x1cd3('0x3e37')+_0x1cd3('0x4e8a')+_0x1cd3('0x3e39')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae6')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e3c')+'\x0a'+_0x1cd3('0x3baa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e3d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SETTINGS\x0a'+_0x1cd3('0x3e3f')+_0x1cd3('0x3e40')+_0x1cd3('0x4e8b')+_0x1cd3('0x3e42')+_0x1cd3('0x4e8c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e44')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4d27')+_0x1cd3('0x4e6a')+_0x1cd3('0x39e1')+_0x1cd3('0x3e46')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e5')+_0x1cd3('0x3e47')+_0x1cd3('0x3e48')+_0x1cd3('0x3dff')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x4e6c')+_0x1cd3('0x3e49')+_0x1cd3('0x3b24')+_0x1cd3('0x4d7c')+_0x1cd3('0x3756')+_0x1cd3('0x3e03')+_0x1cd3('0x4e8d')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4e6e')+_0x1cd3('0x4e6f')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x3a6f')+_0x1cd3('0x3e07')+_0x1cd3('0x3a4d')+_0x1cd3('0x3e08')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RR\x20Memory\x0a'+_0x1cd3('0x3acc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x4e8e')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent_Timeout\x0a'+_0x1cd3('0x4e72')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e0d')+_0x1cd3('0x3e0e')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x3f9e')+_0x1cd3('0x3b24')+_0x1cd3('0x4e8f')+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent_Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a'+_0x1cd3('0x3e12')+_0x1cd3('0x3e13')+_0x1cd3('0x4e90')+_0x1cd3('0x3e12')+_0x1cd3('0x3e15')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x4d36')+_0x1cd3('0x4e74')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x3fa6')+_0x1cd3('0x3e51')+_0x1cd3('0x3fba')+_0x1cd3('0x3e52')+_0x1cd3('0x3e53')+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a66')+'\x0a'+_0x1cd3('0x376e'));_0x404b17[_0x1cd3('0x37b')]('app/main/apps/fax/views/faxQueues/faxQueues.html',_0x1cd3('0x4e91')+'\x0a'+_0x1cd3('0x3adc')+_0x1cd3('0x39ff')+'\x0a'+_0x1cd3('0x3add')+_0x1cd3('0x37e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ade')+_0x1cd3('0x4e44')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4e92')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x3ae1')+'\x0a'+_0x1cd3('0x3ae2')+_0x1cd3('0x3ae3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a03')+_0x1cd3('0x3ae4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a05')+_0x1cd3('0x4e45')+_0x1cd3('0x36c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3686')+_0x1cd3('0x3ae6')+'\x0a'+_0x1cd3('0x3a07')+_0x1cd3('0x4e93')+_0x1cd3('0x3a09')+'\x0a'+_0x1cd3('0x4e94')+_0x1cd3('0x3a0b')+_0x1cd3('0x3ae8')+_0x1cd3('0x4e95')+_0x1cd3('0x3671')+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x3a0c')+'\x0a'+_0x1cd3('0x3a0d')+_0x1cd3('0x4e96')+_0x1cd3('0x4e97')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20selected\x0a'+_0x1cd3('0x38f9')+'\x0a'+_0x1cd3('0x3aeb')+_0x1cd3('0x3a11')+_0x1cd3('0x3a12')+_0x1cd3('0x3aec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22FAX.MULTI_SELECT_TOGGLE\x22>\x0a'+_0x1cd3('0x3a14')+_0x1cd3('0x367d')+_0x1cd3('0x3a15')+_0x1cd3('0x3a16')+_0x1cd3('0x4e98')+_0x1cd3('0x3c2e')+_0x1cd3('0x3849')+_0x1cd3('0x3aee')+_0x1cd3('0x3a16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a19')+_0x1cd3('0x3849')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3aef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a1b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a1d')+_0x1cd3('0x3a1e')+_0x1cd3('0x4e99')+_0x1cd3('0x4e4c')+_0x1cd3('0x3a20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3841')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a21')+'\x0a'+_0x1cd3('0x3a22')+_0x1cd3('0x3a23')+'\x0a'+_0x1cd3('0x3af1')+_0x1cd3('0x3a24')+'\x0a'+_0x1cd3('0x3a25')+_0x1cd3('0x4e9a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3af3')+_0x1cd3('0x4e9b')+_0x1cd3('0x4e9c')+_0x1cd3('0x3a2a')+_0x1cd3('0x3a2b')+_0x1cd3('0x4e4f')+_0x1cd3('0x4e50')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27FAX.STRATEGY\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x3a33')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3db3')+_0x1cd3('0x3a35')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a38')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a'+_0x1cd3('0x3a3a')+_0x1cd3('0x3af8')+_0x1cd3('0x3a34')+_0x1cd3('0x4e9d')+_0x1cd3('0x4e9e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{faxQueue.id}}\x0a'+_0x1cd3('0x4e9f')+_0x1cd3('0x4ea0')+_0x1cd3('0x4ea1')+_0x1cd3('0x4ea2')+_0x1cd3('0x4ea3')+'\x0a'+_0x1cd3('0x3cdd')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4ea6')+_0x1cd3('0x4ea7')+_0x1cd3('0x4ea8')+_0x1cd3('0x3a52')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3ce1')+'\x0a'+_0x1cd3('0x4ea9')+_0x1cd3('0x4eaa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20agentadd\x20FaxQueue\x0a'+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3a5a')+'\x0a'+_0x1cd3('0x4eab')+_0x1cd3('0x4eac')+_0x1cd3('0x4ead')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a54')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3ce1')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3699')+'\x0a'+_0x1cd3('0x369a')+_0x1cd3('0x3951')+'\x0a'+'\x0a'+_0x1cd3('0x3a34')+_0x1cd3('0x3a5d')+_0x1cd3('0x3a5e')+_0x1cd3('0x3a5f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a61')+_0x1cd3('0x4eb0')+_0x1cd3('0x3a63')+'\x0a'+_0x1cd3('0x3a64')+_0x1cd3('0x36f6')+_0x1cd3('0x3a65')+'\x0a'+_0x1cd3('0x3686')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4eb1')+_0x1cd3('0x4eb2')+_0x1cd3('0x4eb3')+_0x1cd3('0x3b0f')+_0x1cd3('0x376d')+_0x1cd3('0x4eb4')+'\x20\x20\x20\x20\x0a');_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x16c'),_0x1cd3('0x422d')+_0x1cd3('0x422e')+_0x1cd3('0x4118')+'\x20\x20\x20\x20\x20\x20\x20\x20Accounts\x0a'+_0x1cd3('0x3b5a')+_0x1cd3('0x42c8')+_0x1cd3('0x3686')+'\x0a'+'\x0a'+_0x1cd3('0x423d')+_0x1cd3('0x42ca')+_0x1cd3('0x423e')+_0x1cd3('0x4eb5')+_0x1cd3('0x41b0')+_0x1cd3('0x4eb6')+_0x1cd3('0x4eb7')+_0x1cd3('0x4eb8')+_0x1cd3('0x4eb9')+_0x1cd3('0x4eba')+_0x1cd3('0x3d7d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x425a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4ebb')+_0x1cd3('0x4ebc')+_0x1cd3('0x425e')+_0x1cd3('0x4ebd')+_0x1cd3('0x3756')+_0x1cd3('0x4150')+_0x1cd3('0x41b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4ebe')+_0x1cd3('0x4ebf')+_0x1cd3('0x41ba')+_0x1cd3('0x4ec0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4285')+_0x1cd3('0x4ec1')+_0x1cd3('0x4ec2')+_0x1cd3('0x4ec3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4150')+_0x1cd3('0x41ba')+_0x1cd3('0x4285')+_0x1cd3('0x4ec4')+_0x1cd3('0x4ec5')+_0x1cd3('0x4ec6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a49')+_0x1cd3('0x4ec7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x395d')+'\x0a'+_0x1cd3('0x429f')+_0x1cd3('0x4ec8')+_0x1cd3('0x4ec9')+_0x1cd3('0x4eca')+_0x1cd3('0x3a52')+_0x1cd3('0x3a53')+_0x1cd3('0x3bef')+_0x1cd3('0x41c9')+_0x1cd3('0x4150')+_0x1cd3('0x41b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x42dc')+'\x0a'+'\x0a'+_0x1cd3('0x42c5')+_0x1cd3('0x42df'));_0x404b17['put'](_0x1cd3('0x162'),_0x1cd3('0x422d')+_0x1cd3('0x422e')+_0x1cd3('0x4118')+_0x1cd3('0x4ecb')+_0x1cd3('0x3b5a')+_0x1cd3('0x4230')+_0x1cd3('0x4231')+_0x1cd3('0x4232')+_0x1cd3('0x4ecc')+_0x1cd3('0x4ecd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27FAX.PAUSE\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27FAX.PARTIALPAUSE\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4ece')+_0x1cd3('0x4ecf')+_0x1cd3('0x389c')+'\x0a'+_0x1cd3('0x4237')+_0x1cd3('0x4ed0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20All\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DEFAULT\x20PAUSE\x0a'+_0x1cd3('0x423a')+_0x1cd3('0x4ed1')+_0x1cd3('0x4ed2')+_0x1cd3('0x423b')+_0x1cd3('0x389c')+_0x1cd3('0x3686')+_0x1cd3('0x423c')+'\x0a'+'\x0a'+_0x1cd3('0x42ca')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x423f')+_0x1cd3('0x4ed3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27FAX.AGENT\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4ed4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.CHAT\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4ed5')+_0x1cd3('0x4241')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4243')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27FAX.FAX\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4245')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.WHATSAPP\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4ed6')+_0x1cd3('0x41b7')+_0x1cd3('0x41b0')+_0x1cd3('0x4ed7')+_0x1cd3('0x4ed8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4ed9')+_0x1cd3('0x4247')+_0x1cd3('0x4eda')+_0x1cd3('0x4249')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27FAX.PAUSE_TIME\x27\x20|\x20translate\x20}}\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.STATUS\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4edb')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.STATUS\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4edc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.CAPACITY\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41b4')+'\x0a'+_0x1cd3('0x424e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4250')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4251')+_0x1cd3('0x4edd')+_0x1cd3('0x424c')+_0x1cd3('0x4252')+_0x1cd3('0x36c5')+_0x1cd3('0x41b4')+'\x0a'+_0x1cd3('0x4ede')+_0x1cd3('0x4253')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4254')+_0x1cd3('0x36c5')+_0x1cd3('0x41b4')+'\x0a'+_0x1cd3('0x4255')+_0x1cd3('0x4256')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4257')+_0x1cd3('0x36c5')+_0x1cd3('0x41b4')+'\x0a'+_0x1cd3('0x4edf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4259')+_0x1cd3('0x36c5')+_0x1cd3('0x41b4')+_0x1cd3('0x41b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x425b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x425d')+_0x1cd3('0x425e')+_0x1cd3('0x4ee0')+_0x1cd3('0x3756')+_0x1cd3('0x4150')+_0x1cd3('0x41b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4260')+_0x1cd3('0x4ee1')+_0x1cd3('0x4261')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-src=\x22{{vm.agents[value].userpic\x20&&\x20\x27api/users/\x27+vm.agents[value].id+\x27/avatar\x27\x20||\x20\x27assets/images/avatars/profile.png\x27}}\x22>\x0a'+_0x1cd3('0x4262')+_0x1cd3('0x4263')+_0x1cd3('0x4264')+_0x1cd3('0x36b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4150')+_0x1cd3('0x4260')+_0x1cd3('0x4265')+_0x1cd3('0x4266')+_0x1cd3('0x4267')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4268')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22icon-camcorder-box26\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4ee2')+_0x1cd3('0x426b')+_0x1cd3('0x4ee3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36b5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x0a'+'\x0a'+_0x1cd3('0x4ee6')+_0x1cd3('0x426e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27idle\x27:\x27lime-300-bg\x27,\x27busy\x27:\x27indigo-100-bg\x27,\x27*pause\x27:\x27amber-50-bg\x27,\x27pause\x27:\x27amber-200-bg\x27}[vm.agents[value].globalStatus]\x22>{{\x20vm.isPause(vm.agents[value].globalStatus)\x20?\x20\x27\x27\x20:\x20vm.agents[value].globalStatus\x20|\x20uppercase\x20}}\x0a'+_0x1cd3('0x4270')+_0x1cd3('0x4150')+_0x1cd3('0x4271')+_0x1cd3('0x4ee7')+_0x1cd3('0x4272')+_0x1cd3('0x4150')+_0x1cd3('0x4271')+_0x1cd3('0x4273')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22vm.isPause(vm.agents[value].globalStatus)\x20||\x20vm.isPartialPause(vm.agents[value].globalStatus)\x22\x0a'+_0x1cd3('0x4275')+_0x1cd3('0x4272')+_0x1cd3('0x4150')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.agents[value].queue\x20}}\x0a'+_0x1cd3('0x427d')+_0x1cd3('0x427e')+_0x1cd3('0x427f')+_0x1cd3('0x4280')+_0x1cd3('0x4281')+_0x1cd3('0x4282')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4284')+_0x1cd3('0x4285')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x4150')+_0x1cd3('0x4288')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27idle\x27:\x27lime-300-fg\x27,\x27maxcapacity\x27:\x27red-A200-fg\x27,\x27working\x27:\x27indigo-100-fg\x27,\x27pause\x27:\x27amber-200-fg\x27}[vm.agents[value].chatStatus]\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.agents[value].chatCurrentCapacity\x20}}\x0a'+'\x0a'+_0x1cd3('0x428a')+_0x1cd3('0x4285')+_0x1cd3('0x41fd')+_0x1cd3('0x4286')+_0x1cd3('0x428b')+_0x1cd3('0x36b7')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x428c')+_0x1cd3('0x4ee9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.agents[value].mailCurrentCapacity\x20}}\x0a'+'\x0a'+_0x1cd3('0x428e')+_0x1cd3('0x4285')+_0x1cd3('0x41fd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4150')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4292')+_0x1cd3('0x4285')+_0x1cd3('0x41fd')+_0x1cd3('0x4286')+_0x1cd3('0x4293')+_0x1cd3('0x36b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4294')+_0x1cd3('0x4eeb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.agents[value].openchannelCurrentCapacity\x20}}\x0a'+'\x0a'+_0x1cd3('0x4296')+_0x1cd3('0x4285')+_0x1cd3('0x41fd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4150')+_0x1cd3('0x4298')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27idle\x27:\x27lime-300-fg\x27,\x27maxcapacity\x27:\x27red-A200-fg\x27,\x27working\x27:\x27indigo-100-fg\x27,\x27pause\x27:\x27amber-200-fg\x27}[vm.agents[value].faxStatus]\x22>\x0a'+_0x1cd3('0x4299')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4285')+_0x1cd3('0x41fd')+_0x1cd3('0x4286')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27idle\x27:\x27lime-300-bg\x27,\x27maxcapacity\x27:\x27red-A200-bg\x27,\x27working\x27:\x27indigo-100-bg\x27,\x27pause\x27:\x27amber-200-bg\x27}[vm.agents[value].whatsappStatus]\x22>{{\x20vm.agents[value].whatsappStatus\x20|\x20uppercase\x20}}\x0a'+_0x1cd3('0x36b7')+_0x1cd3('0x3756')+_0x1cd3('0x4150')+_0x1cd3('0x4eec')+_0x1cd3('0x429b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.agents[value].whatsappCurrentCapacity\x20}}\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a49')+_0x1cd3('0x3a4a')+_0x1cd3('0x429e')+_0x1cd3('0x3a4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x429f')+_0x1cd3('0x42a0')+_0x1cd3('0x42a1')+_0x1cd3('0x4eed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Logout\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a53')+_0x1cd3('0x42a0')+_0x1cd3('0x42a4')+_0x1cd3('0x4eee')+_0x1cd3('0x42a6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x42a7')+_0x1cd3('0x42a8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x42aa')+_0x1cd3('0x4eef')+_0x1cd3('0x3695')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x42ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3c6a')+_0x1cd3('0x42b1')+_0x1cd3('0x42b2')+_0x1cd3('0x4ef1')+_0x1cd3('0x42b0')+_0x1cd3('0x3c6a')+_0x1cd3('0x42b4')+_0x1cd3('0x3c77')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x42a0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x42aa')+_0x1cd3('0x4ef2')+_0x1cd3('0x42ac')+_0x1cd3('0x3c6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3c6a')+_0x1cd3('0x42ba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a53')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4ef4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22FAX.UNPAUSE\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Unpause\x0a'+_0x1cd3('0x3a52')+_0x1cd3('0x3a53')+_0x1cd3('0x41c8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4150')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x42bf')+_0x1cd3('0x42c0')+'\x0a'+'\x0a'+_0x1cd3('0x42c1')+_0x1cd3('0x4ef5')+'\x20\x20\x20\x20md-limit=\x22vm.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm.query.page\x22\x0a'+_0x1cd3('0x42c4')+_0x1cd3('0x42c5')+_0x1cd3('0x42c6'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x168'),_0x1cd3('0x422d')+_0x1cd3('0x422e')+_0x1cd3('0x4118')+_0x1cd3('0x4ef6')+_0x1cd3('0x3b5a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x423c')+'\x0a'+_0x1cd3('0x42c9')+_0x1cd3('0x42ca')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x4ef7')+_0x1cd3('0x41b0')+_0x1cd3('0x4eb6')+_0x1cd3('0x4ef8')+_0x1cd3('0x4ef9')+_0x1cd3('0x4efa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27FAX.WAITING\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x42cf')+_0x1cd3('0x41b7')+_0x1cd3('0x425a')+_0x1cd3('0x425b')+_0x1cd3('0x42d0')+_0x1cd3('0x418b')+_0x1cd3('0x425e')+_0x1cd3('0x4ebd')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41b7')+_0x1cd3('0x42d2')+_0x1cd3('0x42d3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.queues[value].loggedInDb\x20||\x200}}\x20({{vm.queues[value].loggedIn\x20||\x200}})\x0a'+_0x1cd3('0x4150')+_0x1cd3('0x41ba')+_0x1cd3('0x42d5')+_0x1cd3('0x4150')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4efb')+_0x1cd3('0x4150')+_0x1cd3('0x41ba')+_0x1cd3('0x42d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4efc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4efd')+_0x1cd3('0x42d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x42a0')+_0x1cd3('0x4efe')+_0x1cd3('0x4eff')+_0x1cd3('0x3a52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x42d9')+_0x1cd3('0x4f00')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Add\x20Agents\x20to\x20queue\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a53')+_0x1cd3('0x41c8')+_0x1cd3('0x41c9')+_0x1cd3('0x4150')+_0x1cd3('0x41b7')+_0x1cd3('0x42bf')+_0x1cd3('0x42c0')+'\x0a'+'\x0a'+_0x1cd3('0x4f01')+_0x1cd3('0x42de')+_0x1cd3('0x42df'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x4f02'),_0x1cd3('0x42e0')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e3c')+_0x1cd3('0x3baa')+_0x1cd3('0x42e1')+_0x1cd3('0x42e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agents\x0a'+_0x1cd3('0x42e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f03')+_0x1cd3('0x42e2')+_0x1cd3('0x4f04')+_0x1cd3('0x42e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x42e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Queues\x0a'+_0x1cd3('0x42e4')+_0x1cd3('0x3862')+_0x1cd3('0x4f03')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f05')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3862')+_0x1cd3('0x42e6')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a66')+'\x0a');_0x404b17['put'](_0x1cd3('0x165'),_0x1cd3('0x422d')+_0x1cd3('0x422e')+_0x1cd3('0x4118')+_0x1cd3('0x4f06')+_0x1cd3('0x3b5a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f07')+_0x1cd3('0x4f08')+_0x1cd3('0x4f09')+_0x1cd3('0x4f0a')+_0x1cd3('0x4f0b')+_0x1cd3('0x3686')+_0x1cd3('0x423c')+'\x0a'+_0x1cd3('0x4f0c')+_0x1cd3('0x42ca')+_0x1cd3('0x423e')+_0x1cd3('0x41af')+_0x1cd3('0x4f0d')+_0x1cd3('0x41b0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27FAX.NAME\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4f0e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27FAX.REGISTRY\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x425b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f0f')+_0x1cd3('0x425e')+_0x1cd3('0x4ebd')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f10')+_0x1cd3('0x4f11')+_0x1cd3('0x41ba')+_0x1cd3('0x4f12')+_0x1cd3('0x4f13')+_0x1cd3('0x4f14')+_0x1cd3('0x4f15')+_0x1cd3('0x4150')+_0x1cd3('0x41ba')+_0x1cd3('0x4f16')+_0x1cd3('0x4f17')+_0x1cd3('0x4f14')+_0x1cd3('0x4f18')+_0x1cd3('0x4f19')+_0x1cd3('0x4f1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4150')+_0x1cd3('0x4f1b')+_0x1cd3('0x3a49')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x42a0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Trunk\x0a'+_0x1cd3('0x3a52')+_0x1cd3('0x3a53')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41c9')+_0x1cd3('0x4150')+_0x1cd3('0x41b7')+_0x1cd3('0x42bf')+_0x1cd3('0x42c0')+_0x1cd3('0x42dc')+'\x0a'+_0x1cd3('0x4f1c')+_0x1cd3('0x4f1d')+_0x1cd3('0x4f1e')+_0x1cd3('0x42df'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x4f1f'),_0x1cd3('0x4f20')+_0x1cd3('0x4f21')+_0x1cd3('0x4f22')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x0a'+_0x1cd3('0x4f23')+'\x0a'+_0x1cd3('0x3a0d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f25')+_0x1cd3('0x4f26')+_0x1cd3('0x4f27')+_0x1cd3('0x4f28')+_0x1cd3('0x395b')+_0x1cd3('0x4f29')+_0x1cd3('0x3756')+'\x0a'+_0x1cd3('0x4f26')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f2a')+_0x1cd3('0x3756')+'\x0a'+_0x1cd3('0x4f26')+_0x1cd3('0x4f2b')+_0x1cd3('0x4f2c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Phonebar\x20Download\x0a'+_0x1cd3('0x3756')+'\x0a'+_0x1cd3('0x4f26')+_0x1cd3('0x4f2d')+_0x1cd3('0x4f2e')+_0x1cd3('0x395b')+_0x1cd3('0x4f2f')+_0x1cd3('0x3756')+'\x0a'+_0x1cd3('0x4f30')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Follow\x20us\x20on\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x4f31')+_0x1cd3('0x4f32')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f33')+'\x0a'+_0x1cd3('0x4f34')+_0x1cd3('0x4f35')+_0x1cd3('0x4f33')+_0x1cd3('0x4f36')+_0x1cd3('0x4f37')+_0x1cd3('0x4f33')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f38')+_0x1cd3('0x4f33')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4f39')+_0x1cd3('0x4f3a')+_0x1cd3('0x3669')+_0x1cd3('0x4f39')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20support@xcally.com\x0a'+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x4f3b')+'\x0a'+_0x1cd3('0x4f3c')+'\x0a'+_0x1cd3('0x4f3d')+'\x0a'+_0x1cd3('0x4f3e')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20www.xenialab.com\x20|\x20www.xcallymotion.com\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x3686')+_0x1cd3('0x376e'));_0x404b17[_0x1cd3('0x37b')]('app/main/apps/integrations/views/deskAccounts/create/dialog.html',_0x1cd3('0x4f3f')+_0x1cd3('0x4f40')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x4f41')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x4f42')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x0a'+_0x1cd3('0x4f43')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x3a6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f44')+_0x1cd3('0x3a4d')+_0x1cd3('0x4f45')+_0x1cd3('0x3fe5')+_0x1cd3('0x4f46')+_0x1cd3('0x3a4d')+_0x1cd3('0x4f47')+_0x1cd3('0x3acc')+_0x1cd3('0x4f48')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x4f49')+_0x1cd3('0x4f4a')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x4f4b')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Uri\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f4c')+_0x1cd3('0x3756')+_0x1cd3('0x39ea')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x4f4d')+_0x1cd3('0x4f4e')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x3a6f')+_0x1cd3('0x4f4f')+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Basic\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f50')+_0x1cd3('0x3b24')+_0x1cd3('0x4f51')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x4f52')+_0x1cd3('0x4f53')+_0x1cd3('0x4f54')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x4f55')+_0x1cd3('0x3b24')+_0x1cd3('0x4f56')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x4f57')+_0x1cd3('0x4f58')+_0x1cd3('0x4f59')+_0x1cd3('0x4f5a')+_0x1cd3('0x4f5b')+_0x1cd3('0x3b24')+_0x1cd3('0x4f5c')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Must\x20contain\x20at\x20least\x208\x20characters,\x20with\x20a\x20minimum\x20of\x201\x20lowercase\x20letter,\x201\x20uppercase\x20letter,\x201\x20numeric\x20character\x20and\x201\x20special\x20character\x20~!?*@#$%^&-_=+[{]}.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x3ed3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f5d')+_0x1cd3('0x4f5e')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f5f')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MotionProxyAddress\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3e87')+_0x1cd3('0x4f60')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f61')+_0x1cd3('0x4f62')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x4f63')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x39ef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f64')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x1cd3('0x4f65')+_0x1cd3('0x4f66')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4f67')+_0x1cd3('0x39f6')+_0x1cd3('0x4f68')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22INTEGRATIONS.ADD_DESKACCOUNT\x22\x20translate-attr-aria-label=\x22INTEGRATIONS.ADD_DESKACCOUNT\x22>\x0a'+_0x1cd3('0x4f69')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x39fa')+_0x1cd3('0x4f6a')+_0x1cd3('0x4f6b')+_0x1cd3('0x3a20')+_0x1cd3('0x4f6c')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39fe')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x4f6d'),'\x0a'+'\x0a'+_0x1cd3('0x3adc')+_0x1cd3('0x39ff')+'\x0a'+_0x1cd3('0x3add')+_0x1cd3('0x37e6')+_0x1cd3('0x3a00')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f6e')+_0x1cd3('0x38f9')+_0x1cd3('0x4f6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x3ae1')+'\x0a'+_0x1cd3('0x3ae2')+_0x1cd3('0x3ae3')+_0x1cd3('0x3a02')+_0x1cd3('0x3a03')+_0x1cd3('0x3ae4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a05')+_0x1cd3('0x4f70')+_0x1cd3('0x36c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3ae6')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f71')+_0x1cd3('0x3a09')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a0b')+_0x1cd3('0x3ae8')+_0x1cd3('0x4f72')+_0x1cd3('0x3671')+_0x1cd3('0x36f6')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a0d')+_0x1cd3('0x4f73')+_0x1cd3('0x4f74')+_0x1cd3('0x4f75')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3aeb')+_0x1cd3('0x3a11')+_0x1cd3('0x3a12')+_0x1cd3('0x3aec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22INTEGRATIONS.MULTI_SELECT_TOGGLE\x22>\x0a'+_0x1cd3('0x3a14')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a15')+_0x1cd3('0x3a16')+_0x1cd3('0x4f76')+_0x1cd3('0x3c2e')+_0x1cd3('0x3849')+_0x1cd3('0x3aee')+_0x1cd3('0x3a16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a19')+_0x1cd3('0x3849')+_0x1cd3('0x3aee')+_0x1cd3('0x3a1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a1b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a1d')+_0x1cd3('0x3a1e')+_0x1cd3('0x4f77')+_0x1cd3('0x4f78')+_0x1cd3('0x3a20')+_0x1cd3('0x3859')+_0x1cd3('0x3841')+_0x1cd3('0x36f6')+_0x1cd3('0x3686')+_0x1cd3('0x3a21')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a23')+'\x0a'+_0x1cd3('0x3af1')+_0x1cd3('0x3a24')+'\x0a'+_0x1cd3('0x3a25')+_0x1cd3('0x4f79')+_0x1cd3('0x3a27')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a2a')+_0x1cd3('0x3a2b')+_0x1cd3('0x4f7a')+_0x1cd3('0x4f7b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.URI\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4f7c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a34')+_0x1cd3('0x3db3')+_0x1cd3('0x3a35')+_0x1cd3('0x4f7d')+_0x1cd3('0x3c56')+_0x1cd3('0x3a38')+_0x1cd3('0x4f7e')+_0x1cd3('0x3a3a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a34')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f7f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{deskAccount.remoteUri}}\x0a'+_0x1cd3('0x4f81')+_0x1cd3('0x4f83')+_0x1cd3('0x3b02')+'\x0a'+_0x1cd3('0x3cdd')+'\x0a'+_0x1cd3('0x3a49')+'\x0a'+_0x1cd3('0x3a4a')+_0x1cd3('0x4f84')+_0x1cd3('0x3a4c')+_0x1cd3('0x395d')+'\x0a'+_0x1cd3('0x3b04')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3a4f')+'\x0a'+_0x1cd3('0x4f85')+_0x1cd3('0x4f86')+_0x1cd3('0x4f87')+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3ce1')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a5a')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+_0x1cd3('0x3699')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x0a'+_0x1cd3('0x3a34')+_0x1cd3('0x3a5d')+_0x1cd3('0x3a5e')+_0x1cd3('0x3a5f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a61')+_0x1cd3('0x4f8c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a64')+_0x1cd3('0x36f6')+_0x1cd3('0x3a65')+'\x0a'+_0x1cd3('0x3686')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4f8d')+_0x1cd3('0x4f8e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20deskAccount\x22\x20translate\x20translate-attr-aria-label=\x22INTEGRATIONS.ADD_DESKACCOUNT\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f8f')+_0x1cd3('0x3686'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x19d1'),'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x4f41')+_0x1cd3('0x4f90')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x4f91')+_0x1cd3('0x3b24')+_0x1cd3('0x4f92')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x4f93')+_0x1cd3('0x4f94')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x3a6f')+_0x1cd3('0x3f7a')+_0x1cd3('0x4f95')+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27INTEGRATIONS.VOICE\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f96')+_0x1cd3('0x3b24')+_0x1cd3('0x4f97')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x4f98')+_0x1cd3('0x4f99')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x3f7a')+_0x1cd3('0x4f9a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27INTEGRATIONS.INBOUND_IN_QUEUE\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f9b')+_0x1cd3('0x3a4d')+_0x1cd3('0x4f9c')+_0x1cd3('0x3acc')+_0x1cd3('0x4f9d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f9e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ed3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x39ef')+_0x1cd3('0x388f')+_0x1cd3('0x4f9f')+_0x1cd3('0x3ad7')+_0x1cd3('0x4fa0')+_0x1cd3('0x4f66')+_0x1cd3('0x39f3')+_0x1cd3('0x39f4')+'\x0a'+_0x1cd3('0x4fa1')+_0x1cd3('0x39f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22deskConfigurationForm.$invalid\x22\x0a'+_0x1cd3('0x4fa2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20DESKCONFIGURATION\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x39fa')+_0x1cd3('0x4fa3')+_0x1cd3('0x4f6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f6c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')]('app/main/apps/integrations/views/deskAccounts/edit/item/dialog.html','\x0a'+_0x1cd3('0x4fa4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3667')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b14')+_0x1cd3('0x3b1f')+_0x1cd3('0x3b15')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x3b17')+_0x1cd3('0x3756')+_0x1cd3('0x3b18')+_0x1cd3('0x3b19')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+'\x0a'+_0x1cd3('0x4fa5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fa6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x4fa7')+_0x1cd3('0x4fa8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fa9')+_0x1cd3('0x4faa')+_0x1cd3('0x4fab')+_0x1cd3('0x4fac')+_0x1cd3('0x44d9')+_0x1cd3('0x4fad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22deskAccountItemForm.type.$touched\x22\x20role=\x22alert\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fae')+_0x1cd3('0x4faf')+_0x1cd3('0x3841')+_0x1cd3('0x36b7')+_0x1cd3('0x44da')+_0x1cd3('0x4fb0')+_0x1cd3('0x4fb1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fb2')+_0x1cd3('0x4fb3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fb4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20is\x20required\x0a'+_0x1cd3('0x3841')+_0x1cd3('0x36b7')+_0x1cd3('0x44da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fb5')+_0x1cd3('0x4fb6')+_0x1cd3('0x4fb7')+_0x1cd3('0x4fb8')+_0x1cd3('0x4fb9')+_0x1cd3('0x4fba')+_0x1cd3('0x4fbb')+_0x1cd3('0x4fbc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4fb5')+_0x1cd3('0x4fbd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fbe')+_0x1cd3('0x4fbf')+_0x1cd3('0x4fc0')+_0x1cd3('0x4fc1')+_0x1cd3('0x4fc2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22deskAccountItemForm.keyType.$touched\x22\x20role=\x22alert\x22>\x0a'+_0x1cd3('0x4fba')+_0x1cd3('0x4fc3')+_0x1cd3('0x4fbc')+_0x1cd3('0x386f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3868')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fc4')+_0x1cd3('0x4fc5')+_0x1cd3('0x4fc6')+_0x1cd3('0x4fc7')+_0x1cd3('0x4fba')+_0x1cd3('0x4fc8')+_0x1cd3('0x4fc9')+_0x1cd3('0x386f')+_0x1cd3('0x3841')+_0x1cd3('0x3868')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fca')+_0x1cd3('0x4fcb')+_0x1cd3('0x4fcc')+_0x1cd3('0x4fcd')+_0x1cd3('0x4fce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-repeat=\x22agentColumn\x20in\x20vm.voiceAgentReportColumns\x22>{{agentColumn}}\x0a'+_0x1cd3('0x4fcf')+_0x1cd3('0x4fd0')+_0x1cd3('0x4fd1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3841')+_0x1cd3('0x3868')+'\x0a'+_0x1cd3('0x4fd7')+_0x1cd3('0x4fca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fd8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fc1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x4fd9')+_0x1cd3('0x3669')+_0x1cd3('0x4fda')+_0x1cd3('0x4fdb')+_0x1cd3('0x4fdc')+_0x1cd3('0x4fb5')+_0x1cd3('0x4fdd')+_0x1cd3('0x4fde')+_0x1cd3('0x4fdf')+'\x0a'+_0x1cd3('0x4fe0')+_0x1cd3('0x4fe1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-repeat=\x22standard\x20in\x20vm.fields\x20|\x20filter:\x20{custom:\x20false}\x20\x22>{{standard.name}}\x0a'+_0x1cd3('0x4fcf')+_0x1cd3('0x4fd0')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fe2')+_0x1cd3('0x4fe3')+_0x1cd3('0x4fcf')+_0x1cd3('0x4fd0')+'\x0a'+_0x1cd3('0x4fc1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3868')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fe6')+'\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x4fe7')+_0x1cd3('0x4fe8')+_0x1cd3('0x3756')+_0x1cd3('0x4fe9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fea')+_0x1cd3('0x4feb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x3b14')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x3b16')+_0x1cd3('0x3b17')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x3b18')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x366a')+_0x1cd3('0x366f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a20')+_0x1cd3('0x4f6c')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3675')+_0x1cd3('0x3681')+_0x1cd3('0x384d')+'\x0a'+_0x1cd3('0x4ff0')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x4ff1')+'\x0a'+_0x1cd3('0x4ff2')+_0x1cd3('0x4ff3')+'\x0a'+_0x1cd3('0x4ff4')+_0x1cd3('0x4ff5')+_0x1cd3('0x4ff6')+_0x1cd3('0x389c')+_0x1cd3('0x4ff7')+_0x1cd3('0x4ff8')+_0x1cd3('0x4ff9')+_0x1cd3('0x4ffa')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4ffb')+'\x0a'+_0x1cd3('0x4ffc')+'\x0a'+_0x1cd3('0x4ffd')+_0x1cd3('0x4ffe')+_0x1cd3('0x4fff')+'\x0a'+_0x1cd3('0x5000')+_0x1cd3('0x5001')+_0x1cd3('0x389c')+'\x0a'+_0x1cd3('0x5002')+_0x1cd3('0x5003')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Value\x20field\x20is\x20required\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x5004')+'\x0a'+_0x1cd3('0x5005')+_0x1cd3('0x4fff')+'\x0a'+_0x1cd3('0x5006')+'\x0a'+_0x1cd3('0x5007')+_0x1cd3('0x5008')+_0x1cd3('0x4ff9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Content\x20field\x20is\x0a'+_0x1cd3('0x5009')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20Value\x0a'+_0x1cd3('0x500a')+_0x1cd3('0x500b')+_0x1cd3('0x500c')+_0x1cd3('0x500d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x500e')+_0x1cd3('0x500f')+_0x1cd3('0x5010')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x500e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5011')+_0x1cd3('0x5012')+_0x1cd3('0x4ff9')+_0x1cd3('0x5013')+_0x1cd3('0x5009')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x5004')+'\x0a'+_0x1cd3('0x5014')+'\x20\x20\x20\x20\x20\x20\x20\x20Value\x0a'+_0x1cd3('0x5015')+_0x1cd3('0x5016')+_0x1cd3('0x389c')+_0x1cd3('0x5004')+'\x0a'+_0x1cd3('0x5017')+'\x0a'+_0x1cd3('0x37b3')+'\x0a'+_0x1cd3('0x5018')+_0x1cd3('0x5019')+_0x1cd3('0x4ff2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20String\x0a'+_0x1cd3('0x501a')+_0x1cd3('0x501b')+_0x1cd3('0x366e')+_0x1cd3('0x501c')+_0x1cd3('0x4ff9')+_0x1cd3('0x4ffa')+_0x1cd3('0x501d')+_0x1cd3('0x36f6')+_0x1cd3('0x501e')+_0x1cd3('0x501f')+'\x20\x20\x0a'+_0x1cd3('0x5020')+_0x1cd3('0x5021')+_0x1cd3('0x5022')+_0x1cd3('0x5023')+_0x1cd3('0x3d56')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Content\x20field\x20is\x20required\x0a'+_0x1cd3('0x3d21')+_0x1cd3('0x3d1d')+_0x1cd3('0x501e')+'\x0a'+_0x1cd3('0x5024')+_0x1cd3('0x5025')+_0x1cd3('0x5026')+_0x1cd3('0x5027')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5028')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5029')+_0x1cd3('0x502a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{dialColumn}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5029')+_0x1cd3('0x502b')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x502d')+_0x1cd3('0x502e')+_0x1cd3('0x3d21')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x501e')+'\x0a'+_0x1cd3('0x502f')+_0x1cd3('0x5025')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5030')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x501e')+_0x1cd3('0x5031'));_0x404b17['put'](_0x1cd3('0x19c'),_0x1cd3('0x5032')+'\x0a'+_0x1cd3('0x3adc')+_0x1cd3('0x3b9f')+_0x1cd3('0x3d5a')+_0x1cd3('0x5033')+_0x1cd3('0x5034')+_0x1cd3('0x5035')+_0x1cd3('0x3ba1')+_0x1cd3('0x3671')+'\x0a'+_0x1cd3('0x388f')+'\x0a'+_0x1cd3('0x5036')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x3ba2')+_0x1cd3('0x3ba3')+_0x1cd3('0x5037')+_0x1cd3('0x5038')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.deskAccount.createdAt\x20|\x20date:\x27medium\x27}}\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x5039')+_0x1cd3('0x3e3b')+_0x1cd3('0x3d24')+'\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3ae6')+'\x0a'+_0x1cd3('0x3a22')+_0x1cd3('0x3e3c')+'\x0a'+_0x1cd3('0x3baa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e3d')+_0x1cd3('0x503a')+_0x1cd3('0x3e3f')+_0x1cd3('0x3e40')+_0x1cd3('0x503b')+_0x1cd3('0x3e42')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GENERAL\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e45')+_0x1cd3('0x4f41')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f7a')+_0x1cd3('0x4f44')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27INTEGRATIONS.INTEGRATION_TAB\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fe5')+_0x1cd3('0x4f46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f47')+_0x1cd3('0x3acc')+_0x1cd3('0x4347')+_0x1cd3('0x3b24')+_0x1cd3('0x4f9e')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3acf')+_0x1cd3('0x4f49')+_0x1cd3('0x4f4a')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x503c')+_0x1cd3('0x3b24')+_0x1cd3('0x503d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e87')+_0x1cd3('0x4f4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AuthType\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Basic\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x503e')+_0x1cd3('0x3b24')+_0x1cd3('0x4f51')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x4f52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Username\x0a'+_0x1cd3('0x4f54')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x503f')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Username\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x4f57')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Password\x0a'+_0x1cd3('0x4f59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-placeholder=\x22INTEGRATIONS.PASSWORD\x22\x20\x20required\x20\x20>\x0a'+_0x1cd3('0x5040')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Password\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Must\x20contain\x20at\x20least\x208\x20characters,\x20with\x20a\x20minimum\x20of\x201\x20lowercase\x20letter,\x201\x20uppercase\x20letter,\x201\x20numeric\x20character\x20and\x201\x20special\x20character\x20~!?*@#$%^&-_=+[{]}.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3ed3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MotionProxyAddress\x0a'+_0x1cd3('0x4f5e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x5041')+_0x1cd3('0x5042')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MotionProxyAddress\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f60')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ea')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x0a'+_0x1cd3('0x4f62')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x3e4f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f63')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x3fa6')+_0x1cd3('0x3e51')+_0x1cd3('0x3fba')+_0x1cd3('0x3e52')+_0x1cd3('0x3fda')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5043')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5044')+_0x1cd3('0x3e42')+'\x20\x20\x20\x20CONFIGURATIONS\x0a'+_0x1cd3('0x376e')+_0x1cd3('0x5045')+_0x1cd3('0x5046')+_0x1cd3('0x5047')+_0x1cd3('0x5048')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3671')+_0x1cd3('0x36f6')+_0x1cd3('0x3689')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5049')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22INTEGRATIONS.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a'+_0x1cd3('0x42d8')+_0x1cd3('0x395d')+_0x1cd3('0x3b04')+_0x1cd3('0x504a')+_0x1cd3('0x504b')+_0x1cd3('0x504c')+_0x1cd3('0x3a52')+_0x1cd3('0x3a53')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41c9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x487b')+_0x1cd3('0x504d')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x504e')+_0x1cd3('0x504f')+_0x1cd3('0x5050')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x5051')+_0x1cd3('0x5052')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4872')+_0x1cd3('0x5053')+_0x1cd3('0x5054')+_0x1cd3('0x491c')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d4f')+_0x1cd3('0x5055')+_0x1cd3('0x4872')+_0x1cd3('0x5056')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+_0x1cd3('0x5057')+_0x1cd3('0x5058')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3838')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.ID\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x5059')+_0x1cd3('0x505a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x383a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x383c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x505b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{subject.nameField\x20||\x20subject.idField}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{subject.type}}\x0a'+_0x1cd3('0x3846')+_0x1cd3('0x505c')+_0x1cd3('0x505d')+_0x1cd3('0x505e')+_0x1cd3('0x505f')+_0x1cd3('0x5060')+_0x1cd3('0x5061')+_0x1cd3('0x5062')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{subject.keyContent}}\x0a'+_0x1cd3('0x5063')+_0x1cd3('0x5064')+_0x1cd3('0x5065')+_0x1cd3('0x3692')+_0x1cd3('0x5066')+_0x1cd3('0x3846')+_0x1cd3('0x5067')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5068')+_0x1cd3('0x5069')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x506a')+_0x1cd3('0x506b')+_0x1cd3('0x506c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Subject\x0a'+_0x1cd3('0x3d89')+_0x1cd3('0x4bed')+_0x1cd3('0x506d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Subject\x0a'+_0x1cd3('0x3d89')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4bf1')+_0x1cd3('0x4bf2')+_0x1cd3('0x3846')+_0x1cd3('0x383a')+_0x1cd3('0x384a')+_0x1cd3('0x384b')+_0x1cd3('0x384c')+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20DESCRIPTIONS\x0a'+_0x1cd3('0x506e')+_0x1cd3('0x5051')+_0x1cd3('0x506f')+_0x1cd3('0x3d4f')+_0x1cd3('0x4872')+_0x1cd3('0x5070')+_0x1cd3('0x5071')+_0x1cd3('0x491c')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5072')+_0x1cd3('0x4872')+_0x1cd3('0x5073')+_0x1cd3('0x3a20')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+_0x1cd3('0x5057')+_0x1cd3('0x5074')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3838')+_0x1cd3('0x5075')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.TYPE\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.CONTENT\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x5076')+_0x1cd3('0x383a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x383c')+_0x1cd3('0x5077')+_0x1cd3('0x5078')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5079')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{description.type}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x507a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{description.content}}\x0a'+_0x1cd3('0x507b')+_0x1cd3('0x507c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{description.key}}\x0a'+_0x1cd3('0x5062')+_0x1cd3('0x507d')+_0x1cd3('0x507e')+_0x1cd3('0x507f')+_0x1cd3('0x5065')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5080')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5067')+_0x1cd3('0x5081')+_0x1cd3('0x5068')+_0x1cd3('0x5069')+_0x1cd3('0x3a52')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x506b')+_0x1cd3('0x5082')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Description\x0a'+_0x1cd3('0x3d89')+_0x1cd3('0x4bed')+_0x1cd3('0x506d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5083')+_0x1cd3('0x3d89')+_0x1cd3('0x4bed')+_0x1cd3('0x4bf1')+_0x1cd3('0x4bf2')+_0x1cd3('0x3846')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x384a')+_0x1cd3('0x384b')+_0x1cd3('0x384c')+'\x20\x20\x20\x20
\x0a'+_0x1cd3('0x5084')+'\x0a'+_0x1cd3('0x5085')+_0x1cd3('0x504f')+_0x1cd3('0x5086')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d4f')+_0x1cd3('0x4872')+_0x1cd3('0x5087')+_0x1cd3('0x5088')+_0x1cd3('0x491c')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d4f')+_0x1cd3('0x5089')+_0x1cd3('0x4872')+_0x1cd3('0x508a')+_0x1cd3('0x3a20')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x508b')+_0x1cd3('0x3837')+_0x1cd3('0x3838')+_0x1cd3('0x5075')+_0x1cd3('0x5059')+_0x1cd3('0x505a')+_0x1cd3('0x5076')+_0x1cd3('0x383a')+_0x1cd3('0x383b')+_0x1cd3('0x383c')+_0x1cd3('0x508c')+_0x1cd3('0x508d')+_0x1cd3('0x508e')+_0x1cd3('0x508f')+_0x1cd3('0x5090')+_0x1cd3('0x3846')+_0x1cd3('0x5091')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{field.content}}\x0a'+_0x1cd3('0x5092')+_0x1cd3('0x5093')+_0x1cd3('0x5060')+_0x1cd3('0x5094')+_0x1cd3('0x5062')+_0x1cd3('0x5095')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{field.variableName}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm_cc.variablesById[field.VariableId].name\x20}}\x0a'+_0x1cd3('0x5065')+_0x1cd3('0x3692')+_0x1cd3('0x5096')+_0x1cd3('0x3846')+_0x1cd3('0x5067')+_0x1cd3('0x5081')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5069')+_0x1cd3('0x3a52')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x506b')+_0x1cd3('0x5097')+_0x1cd3('0x5098')+_0x1cd3('0x3d89')+_0x1cd3('0x4bed')+_0x1cd3('0x506d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Field\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4bf1')+_0x1cd3('0x4bf2')+_0x1cd3('0x3846')+_0x1cd3('0x383a')+_0x1cd3('0x384a')+_0x1cd3('0x384b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x5084')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5085')+_0x1cd3('0x5099')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TAGS\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x509a')+_0x1cd3('0x509b')+_0x1cd3('0x509c')+_0x1cd3('0x509d')+_0x1cd3('0x509e')+_0x1cd3('0x509f')+_0x1cd3('0x50a0')+_0x1cd3('0x50a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x50a2')+_0x1cd3('0x50a3')+_0x1cd3('0x50a4')+_0x1cd3('0x50a5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20layout=\x22row\x22\x20layout-sm=\x22column\x22\x20layout-align=\x22center\x20center\x22\x20layout-wrap>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x50a6')+_0x1cd3('0x50a7')+_0x1cd3('0x39f4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20CONFIGURATION\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d1d')+_0x1cd3('0x50a8')+'\x0a'+'\x0a'+_0x1cd3('0x3e51')+_0x1cd3('0x3fba')+_0x1cd3('0x3e52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3686')+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x0a');_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x1a29'),_0x1cd3('0x50a9')+_0x1cd3('0x50aa')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x4f41')+_0x1cd3('0x50ab')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x50ac')+_0x1cd3('0x3b24')+_0x1cd3('0x4f92')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Username\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x50ad')+_0x1cd3('0x3b24')+_0x1cd3('0x4f56')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x50ae')+_0x1cd3('0x4f58')+_0x1cd3('0x50af')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-placeholder=\x22INTEGRATIONS.PASSWORD\x22\x20\x20required\x20\x20>\x0a'+_0x1cd3('0x50b0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Password\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3cec')+_0x1cd3('0x50b1')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ed3')+_0x1cd3('0x3acf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Uri\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x503d')+_0x1cd3('0x3756')+_0x1cd3('0x3e87')+_0x1cd3('0x4f4c')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TenantId\x0a'+_0x1cd3('0x50b3')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x50b4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TenantId\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ClientId\x0a'+_0x1cd3('0x50b5')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x50b6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x50b7')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ClientSecret\x0a'+_0x1cd3('0x50b8')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x50b9')+_0x1cd3('0x3b24')+_0x1cd3('0x50ba')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x4f5d')+_0x1cd3('0x50bb')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x50bc')+_0x1cd3('0x3b24')+_0x1cd3('0x50bd')+_0x1cd3('0x3756')+_0x1cd3('0x3e87')+_0x1cd3('0x4f60')+_0x1cd3('0x3756')+_0x1cd3('0x39ea')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x4f61')+_0x1cd3('0x50be')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x50bf')+_0x1cd3('0x3b24')+_0x1cd3('0x4f63')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ee')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x388f')+_0x1cd3('0x50c0')+_0x1cd3('0x3ad7')+_0x1cd3('0x50c1')+_0x1cd3('0x4f66')+_0x1cd3('0x39f3')+_0x1cd3('0x39f4')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x50c3')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x39fa')+_0x1cd3('0x50c4')+_0x1cd3('0x4f6b')+_0x1cd3('0x3a20')+_0x1cd3('0x4f6c')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x39fe')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x1ab'),_0x1cd3('0x50c5')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ff')+'\x0a'+_0x1cd3('0x3add')+_0x1cd3('0x37e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ade')+_0x1cd3('0x4f6e')+_0x1cd3('0x38f9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Dynamics365Accounts\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x3ae1')+'\x0a'+_0x1cd3('0x3ae2')+_0x1cd3('0x3ae3')+_0x1cd3('0x3a02')+_0x1cd3('0x3a03')+_0x1cd3('0x3ae4')+_0x1cd3('0x3a04')+_0x1cd3('0x3a05')+_0x1cd3('0x4f70')+_0x1cd3('0x36c2')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3686')+_0x1cd3('0x3ae6')+'\x0a'+_0x1cd3('0x3a07')+'\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22>\x0a'+'\x0a'+_0x1cd3('0x50c6')+_0x1cd3('0x3a0b')+_0x1cd3('0x3ae8')+_0x1cd3('0x4f72')+_0x1cd3('0x3671')+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x3a0c')+'\x0a'+_0x1cd3('0x3a0d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x50c7')+_0x1cd3('0x4f75')+_0x1cd3('0x38f9')+'\x0a'+_0x1cd3('0x3aeb')+_0x1cd3('0x3a11')+_0x1cd3('0x3a12')+_0x1cd3('0x3aec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22INTEGRATIONS.MULTI_SELECT_TOGGLE\x22>\x0a'+_0x1cd3('0x3a14')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a15')+_0x1cd3('0x3a16')+_0x1cd3('0x50c8')+_0x1cd3('0x3c2e')+_0x1cd3('0x3849')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x50c9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Select\x20none\x0a'+_0x1cd3('0x3849')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a1a')+_0x1cd3('0x3aef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a1b')+_0x1cd3('0x50ca')+_0x1cd3('0x3a1d')+_0x1cd3('0x3a1e')+_0x1cd3('0x50cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22INTEGRATIONS.DELETE_SELECTED\x22>\x0a'+_0x1cd3('0x3a20')+_0x1cd3('0x3859')+_0x1cd3('0x3841')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a22')+_0x1cd3('0x3a23')+'\x0a'+_0x1cd3('0x3af1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a25')+_0x1cd3('0x50cc')+_0x1cd3('0x3a27')+_0x1cd3('0x3af3')+_0x1cd3('0x50cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a2a')+_0x1cd3('0x3a2b')+_0x1cd3('0x4f7a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.NAME\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4f7c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.URI\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a34')+_0x1cd3('0x3db3')+_0x1cd3('0x3a35')+_0x1cd3('0x50ce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a38')+_0x1cd3('0x4f7e')+_0x1cd3('0x3a3a')+_0x1cd3('0x3af8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x50cf')+_0x1cd3('0x50d0')+_0x1cd3('0x50d1')+_0x1cd3('0x50d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{dynamics365Account.name}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{dynamics365Account.remoteUri}}\x0a'+_0x1cd3('0x3b02')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a49')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x395d')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3a4f')+'\x0a'+_0x1cd3('0x50d5')+_0x1cd3('0x50d6')+_0x1cd3('0x50d7')+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a54')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a4e')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x50d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22INTEGRATIONS.TEST_DYNAMICS365ACCOUNT\x22>\x0a'+_0x1cd3('0x50d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x50da')+'\x0a'+_0x1cd3('0x50db')+_0x1cd3('0x50dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Dynamics365Account\x0a'+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x369a')+_0x1cd3('0x3951')+'\x0a'+'\x0a'+_0x1cd3('0x3a34')+_0x1cd3('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a5f')+'\x0a'+_0x1cd3('0x50dd')+_0x1cd3('0x3a61')+_0x1cd3('0x50de')+_0x1cd3('0x3a63')+'\x0a'+_0x1cd3('0x3a64')+_0x1cd3('0x36f6')+_0x1cd3('0x3a65')+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a66')+'\x0a'+_0x1cd3('0x50df')+_0x1cd3('0x50e0')+_0x1cd3('0x50e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x376d')+_0x1cd3('0x50e2')+_0x1cd3('0x3686'));_0x404b17['put'](_0x1cd3('0x1a32'),'\x0a'+_0x1cd3('0x50e3')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x4f41')+_0x1cd3('0x50e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x50e5')+_0x1cd3('0x3b24')+_0x1cd3('0x4f92')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x4f93')+_0x1cd3('0x50e6')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x3a6f')+_0x1cd3('0x3f7a')+_0x1cd3('0x4f95')+_0x1cd3('0x3a4d')+_0x1cd3('0x50e7')+_0x1cd3('0x3acc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x4f97')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f98')+_0x1cd3('0x50e8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f9a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x50e9')+_0x1cd3('0x3fe5')+_0x1cd3('0x4f9b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f9c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x50ea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f9e')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3acf')+_0x1cd3('0x50eb')+_0x1cd3('0x50ec')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e6')+_0x1cd3('0x3a6f')+_0x1cd3('0x3f7a')+_0x1cd3('0x50ed')+_0x1cd3('0x3a4d')+_0x1cd3('0x50ee')+_0x1cd3('0x3fe5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.PHONECALL\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x50ef')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x39ef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x50f0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x1cd3('0x50f1')+_0x1cd3('0x4f66')+_0x1cd3('0x39f3')+_0x1cd3('0x39f4')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x50f2')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x39fa')+_0x1cd3('0x50f3')+_0x1cd3('0x4f6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x39fe')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17['put']('app/main/apps/integrations/views/dynamics365Accounts/edit/item/dialog.html',_0x1cd3('0x50f4')+_0x1cd3('0x50f5')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b1f')+_0x1cd3('0x3b15')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x3b17')+_0x1cd3('0x3756')+_0x1cd3('0x3b18')+_0x1cd3('0x3b19')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+'\x0a'+_0x1cd3('0x4fa5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fa6')+_0x1cd3('0x50f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fa8')+_0x1cd3('0x46ea')+_0x1cd3('0x4fa9')+_0x1cd3('0x4faa')+_0x1cd3('0x4fab')+_0x1cd3('0x4fac')+_0x1cd3('0x44d9')+_0x1cd3('0x50f7')+_0x1cd3('0x50f8')+_0x1cd3('0x3c90')+_0x1cd3('0x4fae')+_0x1cd3('0x4faf')+_0x1cd3('0x3841')+_0x1cd3('0x36b7')+_0x1cd3('0x44da')+_0x1cd3('0x4fb0')+_0x1cd3('0x4fb1')+_0x1cd3('0x50f9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fb4')+_0x1cd3('0x50fb')+_0x1cd3('0x3841')+_0x1cd3('0x36b7')+_0x1cd3('0x44da')+_0x1cd3('0x50fc')+_0x1cd3('0x4fb5')+_0x1cd3('0x4fb6')+_0x1cd3('0x4fb7')+_0x1cd3('0x50fd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22dynamics365AccountItemForm.key.$touched\x22\x20role=\x22alert\x22>\x0a'+_0x1cd3('0x4fba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Key\x20field\x20is\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3841')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fbd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fbe')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Variable\x0a'+_0x1cd3('0x4fc0')+_0x1cd3('0x4fc1')+_0x1cd3('0x50fe')+_0x1cd3('0x50ff')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fc3')+_0x1cd3('0x4fbc')+_0x1cd3('0x386f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3868')+'\x0a'+_0x1cd3('0x5100')+_0x1cd3('0x4fc4')+_0x1cd3('0x4fc5')+_0x1cd3('0x5101')+_0x1cd3('0x5102')+_0x1cd3('0x4fba')+_0x1cd3('0x4fc8')+_0x1cd3('0x4fc9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3841')+_0x1cd3('0x3868')+'\x0a'+_0x1cd3('0x5103')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Value\x0a'+_0x1cd3('0x4fcb')+_0x1cd3('0x4fcc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fce')+_0x1cd3('0x5104')+_0x1cd3('0x4fcf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fd1')+_0x1cd3('0x5105')+_0x1cd3('0x4fd2')+_0x1cd3('0x4fd0')+_0x1cd3('0x4fc1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Variable\x0a'+_0x1cd3('0x5106')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3841')+_0x1cd3('0x3868')+'\x0a'+_0x1cd3('0x4fd7')+_0x1cd3('0x4fca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fd8')+_0x1cd3('0x44f0')+_0x1cd3('0x4fc1')+_0x1cd3('0x3868')+_0x1cd3('0x3756')+_0x1cd3('0x4fd9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fda')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fdc')+_0x1cd3('0x4fb5')+_0x1cd3('0x4fdd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fdf')+'\x0a'+_0x1cd3('0x4fe0')+_0x1cd3('0x4fe1')+_0x1cd3('0x5107')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fd0')+'\x0a'+_0x1cd3('0x5108')+_0x1cd3('0x4fe2')+_0x1cd3('0x4fe3')+_0x1cd3('0x4fcf')+_0x1cd3('0x4fd0')+'\x0a'+_0x1cd3('0x4fc1')+_0x1cd3('0x5109')+_0x1cd3('0x510a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fe5')+_0x1cd3('0x4fbc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3841')+_0x1cd3('0x3868')+'\x0a'+_0x1cd3('0x4fe6')+_0x1cd3('0x510b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fe7')+_0x1cd3('0x4fe8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fe9')+_0x1cd3('0x3669')+_0x1cd3('0x4fea')+_0x1cd3('0x4feb')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b14')+_0x1cd3('0x3b1f')+_0x1cd3('0x3b15')+_0x1cd3('0x3b16')+_0x1cd3('0x3b17')+_0x1cd3('0x3756')+_0x1cd3('0x3b18')+_0x1cd3('0x3b19')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x39ef')+_0x1cd3('0x388f')+_0x1cd3('0x510c')+_0x1cd3('0x4fec')+_0x1cd3('0x3891')+_0x1cd3('0x3859')+'\x0a'+_0x1cd3('0x510d')+_0x1cd3('0x4fee')+_0x1cd3('0x4fef')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x510e')+_0x1cd3('0x3a20')+_0x1cd3('0x4f6c')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x3675')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x384d')+'\x0a'+_0x1cd3('0x4ff0')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x4ff1')+'\x0a'+_0x1cd3('0x4ff2')+_0x1cd3('0x4ff3')+'\x0a'+_0x1cd3('0x4ff4')+_0x1cd3('0x4ff5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Custom\x20Variable\x0a'+_0x1cd3('0x389c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4ff9')+_0x1cd3('0x4ffa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5004')+'\x0a'+_0x1cd3('0x4ffb')+'\x0a'+_0x1cd3('0x4ffc')+'\x0a'+_0x1cd3('0x4ffd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fff')+'\x0a'+_0x1cd3('0x5000')+_0x1cd3('0x5001')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x510f')+_0x1cd3('0x5110')+_0x1cd3('0x4ff9')+_0x1cd3('0x5111')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x5004')+'\x0a'+_0x1cd3('0x5005')+_0x1cd3('0x4fff')+'\x0a'+_0x1cd3('0x5006')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x5114')+_0x1cd3('0x5115')+_0x1cd3('0x500a')+_0x1cd3('0x500b')+_0x1cd3('0x500c')+_0x1cd3('0x500d')+_0x1cd3('0x5116')+_0x1cd3('0x500e')+_0x1cd3('0x500f')+_0x1cd3('0x5010')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x500e')+_0x1cd3('0x389c')+'\x20\x20\x20\x20\x20\x20\x20\x20Variable\x20name\x20field\x20is\x0a'+_0x1cd3('0x5009')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x5004')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x5115')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{variable.name}}\x0a'+_0x1cd3('0x389c')+_0x1cd3('0x5004')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x37b3')+'\x0a'+_0x1cd3('0x5018')+_0x1cd3('0x5019')+_0x1cd3('0x4ff2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5118')+_0x1cd3('0x501a')+_0x1cd3('0x501b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5119')+_0x1cd3('0x4ff9')+_0x1cd3('0x4ffa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+'\x20\x20\x0a'+_0x1cd3('0x501f')+_0x1cd3('0x511a')+_0x1cd3('0x5020')+_0x1cd3('0x5021')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d56')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Content\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d1d')+_0x1cd3('0x501e')+'\x0a'+_0x1cd3('0x5024')+_0x1cd3('0x5025')+_0x1cd3('0x5026')+_0x1cd3('0x5027')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5028')+_0x1cd3('0x511b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x502a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{dialColumn}}\x0a'+_0x1cd3('0x511b')+_0x1cd3('0x5029')+_0x1cd3('0x502b')+_0x1cd3('0x511c')+_0x1cd3('0x511d')+_0x1cd3('0x3d56')+_0x1cd3('0x502d')+_0x1cd3('0x502e')+_0x1cd3('0x3d21')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x501e')+'\x0a'+_0x1cd3('0x502f')+_0x1cd3('0x5025')+_0x1cd3('0x511e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{variable.name}}\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x501e')+_0x1cd3('0x5031'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x1af'),_0x1cd3('0x511f')+'\x0a'+_0x1cd3('0x3adc')+_0x1cd3('0x3b9f')+_0x1cd3('0x3d5a')+_0x1cd3('0x5120')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.gotoDynamics365Accounts()\x22\x0a'+_0x1cd3('0x5121')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x388f')+'\x0a'+_0x1cd3('0x5122')+_0x1cd3('0x5123')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x3ba2')+_0x1cd3('0x3ba3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.dynamics365Account.id}}\x0a'+_0x1cd3('0x5124')+_0x1cd3('0x3756')+_0x1cd3('0x3ba6')+_0x1cd3('0x5125')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x38c3')+_0x1cd3('0x5126')+_0x1cd3('0x3e3b')+_0x1cd3('0x3d24')+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3ae6')+'\x0a'+_0x1cd3('0x3a22')+_0x1cd3('0x3e3c')+'\x0a'+_0x1cd3('0x3baa')+_0x1cd3('0x3fda')+_0x1cd3('0x3e3d')+_0x1cd3('0x503a')+_0x1cd3('0x3e3f')+_0x1cd3('0x3e40')+_0x1cd3('0x5127')+_0x1cd3('0x3e42')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GENERAL\x0a'+_0x1cd3('0x386f')+_0x1cd3('0x3e44')+_0x1cd3('0x3e45')+_0x1cd3('0x4f41')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f92')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x4f53')+_0x1cd3('0x5128')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x503f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f56')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x50ae')+_0x1cd3('0x4f58')+_0x1cd3('0x50af')+_0x1cd3('0x4f5a')+_0x1cd3('0x5040')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f5c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3cec')+_0x1cd3('0x50b1')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x3ed3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f49')+_0x1cd3('0x5129')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x503d')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Uri\x20must\x20be\x20a\x20valid\x20url\x20http://www.xcally.com\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x39ea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x512a')+_0x1cd3('0x50b3')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x512b')+_0x1cd3('0x3b24')+_0x1cd3('0x512c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x512d')+_0x1cd3('0x50b5')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x512e')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ClientId\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x512f')+_0x1cd3('0x50b8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x5130')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ClientSecret\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x4f5d')+_0x1cd3('0x50bb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5041')+_0x1cd3('0x5042')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MotionProxyAddress\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3e87')+_0x1cd3('0x4f60')+_0x1cd3('0x3756')+_0x1cd3('0x39ea')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x0a'+_0x1cd3('0x50be')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4f')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e51')+_0x1cd3('0x3fba')+_0x1cd3('0x3e52')+_0x1cd3('0x3fda')+_0x1cd3('0x3e3d')+_0x1cd3('0x5043')+_0x1cd3('0x3e3f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5131')+_0x1cd3('0x376e')+'\x0a'+_0x1cd3('0x5046')+_0x1cd3('0x5047')+_0x1cd3('0x5048')+_0x1cd3('0x5132')+_0x1cd3('0x43b7')+_0x1cd3('0x3671')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5133')+_0x1cd3('0x5134')+_0x1cd3('0x5135')+_0x1cd3('0x3a4a')+_0x1cd3('0x5136')+_0x1cd3('0x42d8')+_0x1cd3('0x395d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x504a')+_0x1cd3('0x5137')+_0x1cd3('0x5138')+_0x1cd3('0x3a52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41c8')+_0x1cd3('0x41c9')+_0x1cd3('0x36a0')+_0x1cd3('0x36a1')+_0x1cd3('0x487b')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x5139')+_0x1cd3('0x513a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x5050')+_0x1cd3('0x506e')+_0x1cd3('0x5051')+_0x1cd3('0x5052')+_0x1cd3('0x3d4f')+_0x1cd3('0x4872')+_0x1cd3('0x5053')+_0x1cd3('0x5054')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x513b')+_0x1cd3('0x3d4f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm_cc.selectedSubjects.length}}\x20{{vm_cc.selectedSubjects.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected\x0a'+_0x1cd3('0x4872')+_0x1cd3('0x5056')+_0x1cd3('0x3a20')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+_0x1cd3('0x5057')+_0x1cd3('0x5058')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3838')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.ID\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.TYPE\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x505a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x383b')+_0x1cd3('0x383c')+_0x1cd3('0x513c')+_0x1cd3('0x505b')+_0x1cd3('0x513d')+_0x1cd3('0x513e')+_0x1cd3('0x513f')+_0x1cd3('0x3846')+_0x1cd3('0x505c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{subject.content}}\x0a'+_0x1cd3('0x505e')+_0x1cd3('0x505f')+_0x1cd3('0x5060')+_0x1cd3('0x5061')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5140')+_0x1cd3('0x5063')+_0x1cd3('0x5064')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3692')+_0x1cd3('0x5066')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5081')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5069')+_0x1cd3('0x3a52')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x506b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5141')+_0x1cd3('0x3d89')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x506d')+_0x1cd3('0x5142')+_0x1cd3('0x5143')+_0x1cd3('0x3d89')+_0x1cd3('0x4bed')+_0x1cd3('0x4bf1')+_0x1cd3('0x4bf2')+_0x1cd3('0x3846')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x384b')+_0x1cd3('0x384c')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x5084')+'\x0a'+_0x1cd3('0x504e')+_0x1cd3('0x504f')+_0x1cd3('0x5144')+_0x1cd3('0x506e')+_0x1cd3('0x5051')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d4f')+_0x1cd3('0x4872')+_0x1cd3('0x5070')+_0x1cd3('0x5071')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5145')+_0x1cd3('0x3d4f')+_0x1cd3('0x5072')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5073')+_0x1cd3('0x3a20')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+_0x1cd3('0x5057')+_0x1cd3('0x5074')+_0x1cd3('0x3837')+_0x1cd3('0x3838')+_0x1cd3('0x5075')+_0x1cd3('0x5059')+_0x1cd3('0x505a')+_0x1cd3('0x5076')+_0x1cd3('0x383a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x383c')+_0x1cd3('0x5077')+_0x1cd3('0x5078')+_0x1cd3('0x5146')+_0x1cd3('0x5079')+_0x1cd3('0x5147')+_0x1cd3('0x3846')+_0x1cd3('0x507a')+_0x1cd3('0x5148')+_0x1cd3('0x507b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm_cc.variablesById[description.VariableId].name\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5149')+_0x1cd3('0x5062')+_0x1cd3('0x507d')+_0x1cd3('0x507e')+_0x1cd3('0x507f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5080')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5067')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5068')+_0x1cd3('0x5069')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x506a')+_0x1cd3('0x506b')+_0x1cd3('0x5082')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Description\x0a'+_0x1cd3('0x3d89')+_0x1cd3('0x4bed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x514a')+_0x1cd3('0x5083')+_0x1cd3('0x3d89')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4bf1')+_0x1cd3('0x4bf2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x384a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x514b')+'\x0a'+'\x0a'+_0x1cd3('0x5085')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x5086')+_0x1cd3('0x506e')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x514c')+_0x1cd3('0x3d4f')+_0x1cd3('0x4872')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5088')+_0x1cd3('0x491c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x366b')+_0x1cd3('0x514d')+_0x1cd3('0x3d4f')+_0x1cd3('0x5089')+_0x1cd3('0x4872')+_0x1cd3('0x508a')+_0x1cd3('0x3a20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x366b')+_0x1cd3('0x5057')+_0x1cd3('0x508b')+_0x1cd3('0x3837')+_0x1cd3('0x3838')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.ID\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x5059')+_0x1cd3('0x505a')+_0x1cd3('0x5076')+_0x1cd3('0x383a')+_0x1cd3('0x383b')+_0x1cd3('0x383c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{field.id}}\x0a'+_0x1cd3('0x508e')+_0x1cd3('0x508f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{field.type}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x514e')+_0x1cd3('0x5092')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm_cc.variablesById[field.VariableId].name\x20}}\x0a'+_0x1cd3('0x5060')+_0x1cd3('0x5094')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{field.keyContent}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{field.variableName}}\x0a'+_0x1cd3('0x514f')+_0x1cd3('0x5065')+_0x1cd3('0x3692')+_0x1cd3('0x5096')+_0x1cd3('0x3846')+_0x1cd3('0x5067')+_0x1cd3('0x5081')+_0x1cd3('0x5068')+_0x1cd3('0x5069')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x506a')+_0x1cd3('0x506b')+_0x1cd3('0x5097')+_0x1cd3('0x5098')+_0x1cd3('0x3d89')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x506d')+_0x1cd3('0x5150')+_0x1cd3('0x5151')+_0x1cd3('0x3d89')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4bf1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x384b')+_0x1cd3('0x384c')+_0x1cd3('0x514b')+'\x0a'+'\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x50a4')+_0x1cd3('0x5152')+_0x1cd3('0x5153')+_0x1cd3('0x5154')+_0x1cd3('0x50a6')+_0x1cd3('0x50a7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5155')+_0x1cd3('0x3d21')+_0x1cd3('0x3d1d')+_0x1cd3('0x50a8')+'\x0a'+'\x0a'+_0x1cd3('0x3e51')+_0x1cd3('0x3fba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e53')+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a66')+'\x0a'+'\x0a');_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x5156'),'\x0a'+_0x1cd3('0x5157')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f41')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f92')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x4f53')+_0x1cd3('0x5158')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5159')+_0x1cd3('0x3b24')+_0x1cd3('0x4f56')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Uri\x0a'+_0x1cd3('0x515a')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x515b')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Uri\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3e87')+_0x1cd3('0x4f4c')+_0x1cd3('0x3756')+_0x1cd3('0x39ea')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ApiKey\x0a'+_0x1cd3('0x515c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x515d')+_0x1cd3('0x3b24')+_0x1cd3('0x515e')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f5d')+_0x1cd3('0x515f')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x5041')+_0x1cd3('0x5160')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x50bd')+_0x1cd3('0x3756')+_0x1cd3('0x3e87')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MotionProxyAddress\x20must\x20be\x20a\x20valid\x20url\x20http://www.xcally.com\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f61')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ee')+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x39ef')+_0x1cd3('0x388f')+_0x1cd3('0x5162')+_0x1cd3('0x3ad7')+_0x1cd3('0x5163')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22INTEGRATIONS.SAVE\x22\x20translate-attr-aria-label=\x22INTEGRATIONS.SAVE\x22>\x0a'+_0x1cd3('0x39f3')+_0x1cd3('0x39f4')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5165')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x39fa')+_0x1cd3('0x5166')+_0x1cd3('0x4f6b')+_0x1cd3('0x3a20')+_0x1cd3('0x4f6c')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a');_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x5167'),_0x1cd3('0x5168')+_0x1cd3('0x5169')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x4f41')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x516a')+_0x1cd3('0x3b24')+_0x1cd3('0x4f92')+_0x1cd3('0x3756')+_0x1cd3('0x39ea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x4f93')+_0x1cd3('0x516b')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x3f7a')+_0x1cd3('0x4f95')+_0x1cd3('0x3a4d')+_0x1cd3('0x50e7')+_0x1cd3('0x3acc')+_0x1cd3('0x516c')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Channel\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3acf')+_0x1cd3('0x4f98')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f7a')+_0x1cd3('0x4f9a')+_0x1cd3('0x3a4d')+_0x1cd3('0x50e9')+_0x1cd3('0x3fe5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.OUTBOUND_CALL\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x516d')+_0x1cd3('0x3b24')+_0x1cd3('0x4f9e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3ed3')+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x39ef')+_0x1cd3('0x388f')+_0x1cd3('0x516e')+_0x1cd3('0x3ad7')+_0x1cd3('0x516f')+_0x1cd3('0x4f66')+_0x1cd3('0x39f3')+_0x1cd3('0x39f4')+'\x0a'+_0x1cd3('0x5170')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x1cd3('0x5171')+_0x1cd3('0x5172')+_0x1cd3('0x5173')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x39fa')+_0x1cd3('0x5174')+_0x1cd3('0x4f6b')+_0x1cd3('0x3a20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x1a6a'),_0x1cd3('0x5175')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3666')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b14')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b15')+_0x1cd3('0x3b16')+_0x1cd3('0x3b17')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x3b18')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4fa5')+_0x1cd3('0x5176')+_0x1cd3('0x4fa6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5177')+_0x1cd3('0x3669')+_0x1cd3('0x4fa7')+_0x1cd3('0x4fa8')+_0x1cd3('0x46ea')+_0x1cd3('0x4fa9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fab')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Key\x20Value\x0a'+_0x1cd3('0x44d9')+_0x1cd3('0x5178')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22freshdeskAccountItemForm.type.$touched\x22\x20role=\x22alert\x22>\x0a'+_0x1cd3('0x3c90')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x20field\x20is\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x0a'+_0x1cd3('0x3841')+_0x1cd3('0x36b7')+_0x1cd3('0x44da')+_0x1cd3('0x4fb0')+_0x1cd3('0x4fb1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5179')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22freshdeskAccountItemForm.content.$touched\x22\x20role=\x22alert\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fb4')+_0x1cd3('0x50fb')+_0x1cd3('0x3841')+_0x1cd3('0x36b7')+_0x1cd3('0x44da')+_0x1cd3('0x50fc')+_0x1cd3('0x4fb5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Key\x0a'+_0x1cd3('0x4fb7')+_0x1cd3('0x517a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22freshdeskAccountItemForm.key.$touched\x22\x20role=\x22alert\x22>\x0a'+_0x1cd3('0x4fba')+_0x1cd3('0x4fbb')+_0x1cd3('0x4fbc')+_0x1cd3('0x386f')+_0x1cd3('0x3841')+_0x1cd3('0x3868')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fbd')+_0x1cd3('0x517b')+_0x1cd3('0x4fbe')+_0x1cd3('0x4fbf')+_0x1cd3('0x4fc0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x517c')+_0x1cd3('0x517d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x20field\x20is\x0a'+_0x1cd3('0x4fbc')+_0x1cd3('0x386f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3868')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fc4')+_0x1cd3('0x4fc5')+_0x1cd3('0x517e')+_0x1cd3('0x517f')+_0x1cd3('0x4fba')+_0x1cd3('0x4fc8')+_0x1cd3('0x4fc9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3841')+_0x1cd3('0x3868')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Value\x0a'+_0x1cd3('0x4fcb')+_0x1cd3('0x4fcc')+_0x1cd3('0x4fcd')+_0x1cd3('0x4fce')+_0x1cd3('0x5104')+_0x1cd3('0x4fcf')+_0x1cd3('0x4fd0')+_0x1cd3('0x4fd1')+_0x1cd3('0x5105')+_0x1cd3('0x4fd2')+_0x1cd3('0x4fd0')+_0x1cd3('0x4fc1')+_0x1cd3('0x5180')+_0x1cd3('0x5181')+_0x1cd3('0x4fba')+_0x1cd3('0x4fd5')+_0x1cd3('0x4fd6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20name\x20field\x20is\x20required\x0a'+_0x1cd3('0x386f')+_0x1cd3('0x3841')+_0x1cd3('0x3868')+'\x0a'+_0x1cd3('0x4fd7')+_0x1cd3('0x4fca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{variable.name}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fc1')+_0x1cd3('0x3868')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fd9')+_0x1cd3('0x3669')+_0x1cd3('0x4fda')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fb5')+_0x1cd3('0x4fdd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fdf')+'\x0a'+_0x1cd3('0x4fe0')+_0x1cd3('0x4fe1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-repeat=\x22standard\x20in\x20vm.fields\x20|\x20filter:\x20{custom:\x20false}\x20\x22>{{standard.name}}\x0a'+_0x1cd3('0x4fcf')+_0x1cd3('0x4fd0')+'\x0a'+_0x1cd3('0x5108')+_0x1cd3('0x4fe2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-repeat=\x22custom\x20in\x20vm.fields\x20|\x20filter:\x20{custom:\x20true}\x20\x22>{{custom.name}}\x0a'+_0x1cd3('0x4fcf')+_0x1cd3('0x4fd0')+'\x0a'+_0x1cd3('0x4fc1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x386f')+_0x1cd3('0x3841')+_0x1cd3('0x3868')+'\x0a'+_0x1cd3('0x4fe6')+_0x1cd3('0x510b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x4fe7')+_0x1cd3('0x4fe8')+_0x1cd3('0x3756')+_0x1cd3('0x4fe9')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4feb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b14')+_0x1cd3('0x3b1f')+_0x1cd3('0x3b15')+_0x1cd3('0x3b16')+_0x1cd3('0x3b17')+_0x1cd3('0x3756')+_0x1cd3('0x3b18')+_0x1cd3('0x3b19')+_0x1cd3('0x367d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x366f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5183')+_0x1cd3('0x4fec')+_0x1cd3('0x3891')+_0x1cd3('0x3859')+'\x0a'+_0x1cd3('0x5184')+_0x1cd3('0x4fee')+_0x1cd3('0x4fef')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b4b')+_0x1cd3('0x510e')+_0x1cd3('0x3a20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x3675')+_0x1cd3('0x3681')+_0x1cd3('0x384d')+'\x0a'+_0x1cd3('0x4ff0')+'\x0a'+_0x1cd3('0x5185')+_0x1cd3('0x4ff1')+'\x0a'+_0x1cd3('0x4ff2')+_0x1cd3('0x4ff3')+'\x0a'+_0x1cd3('0x4ff4')+_0x1cd3('0x4ff5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Custom\x20Variable\x0a'+_0x1cd3('0x389c')+_0x1cd3('0x5186')+_0x1cd3('0x4ff8')+_0x1cd3('0x4ff9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x20field\x20is\x20required\x0a'+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5004')+'\x0a'+_0x1cd3('0x4ffb')+'\x0a'+_0x1cd3('0x4ffc')+'\x0a'+_0x1cd3('0x4ffd')+_0x1cd3('0x4ffe')+'\x20\x20\x20\x20\x20\x20\x20\x20Content\x0a'+'\x0a'+_0x1cd3('0x5000')+_0x1cd3('0x5001')+_0x1cd3('0x389c')+'\x0a'+_0x1cd3('0x5187')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22freshdeskAccountItemForm.option.$touched\x22\x20role=\x22alert\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Value\x20field\x20is\x20required\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x5004')+'\x0a'+_0x1cd3('0x5005')+_0x1cd3('0x4fff')+'\x0a'+_0x1cd3('0x5006')+'\x0a'+_0x1cd3('0x5188')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22freshdeskAccountItemForm.content.$touched\x22\x20role=\x22alert\x22>\x0a'+_0x1cd3('0x4ff9')+_0x1cd3('0x5113')+_0x1cd3('0x5009')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x5004')+'\x0a'+_0x1cd3('0x5114')+_0x1cd3('0x5115')+_0x1cd3('0x500a')+_0x1cd3('0x500b')+_0x1cd3('0x500c')+_0x1cd3('0x500d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x500f')+_0x1cd3('0x5010')+_0x1cd3('0x5116')+_0x1cd3('0x500e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5189')+_0x1cd3('0x518a')+_0x1cd3('0x4ff9')+_0x1cd3('0x5013')+_0x1cd3('0x5009')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x5014')+_0x1cd3('0x5115')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5016')+_0x1cd3('0x389c')+_0x1cd3('0x5004')+'\x0a'+_0x1cd3('0x5017')+'\x0a'+_0x1cd3('0x37b3')+'\x0a'+_0x1cd3('0x5018')+_0x1cd3('0x5019')+'\x20\x20\x20\x20\x20\x20\x20\x20Type\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5118')+_0x1cd3('0x501a')+_0x1cd3('0x501b')+_0x1cd3('0x366e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4ff9')+_0x1cd3('0x4ffa')+_0x1cd3('0x501d')+_0x1cd3('0x36f6')+_0x1cd3('0x501e')+_0x1cd3('0x501f')+_0x1cd3('0x511a')+_0x1cd3('0x5020')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x518b')+_0x1cd3('0x518c')+_0x1cd3('0x3d56')+_0x1cd3('0x518d')+_0x1cd3('0x3d21')+_0x1cd3('0x3d1d')+'\x20\x20\x0a'+'\x0a'+_0x1cd3('0x5024')+'\x20\x20\x20\x20\x20\x20Value\x0a'+_0x1cd3('0x5026')+_0x1cd3('0x5027')+_0x1cd3('0x518e')+_0x1cd3('0x5028')+_0x1cd3('0x511b')+_0x1cd3('0x5029')+_0x1cd3('0x502a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{dialColumn}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x502b')+_0x1cd3('0x518f')+_0x1cd3('0x5190')+_0x1cd3('0x3d56')+_0x1cd3('0x502d')+_0x1cd3('0x502e')+_0x1cd3('0x3d21')+_0x1cd3('0x3d1d')+_0x1cd3('0x501e')+'\x0a'+_0x1cd3('0x502f')+_0x1cd3('0x5025')+_0x1cd3('0x511e')+_0x1cd3('0x5030')+_0x1cd3('0x502b')+_0x1cd3('0x501e')+_0x1cd3('0x5031'));_0x404b17[_0x1cd3('0x37b')]('app/main/apps/integrations/views/freshdeskAccounts/edit/view.html',_0x1cd3('0x5191')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b9f')+_0x1cd3('0x3d5a')+_0x1cd3('0x5192')+_0x1cd3('0x5193')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22INTEGRATIONS.GO_TO_FRESHDESKACCOUNTS\x22>\x0a'+_0x1cd3('0x3ba1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x388f')+'\x0a'+_0x1cd3('0x5194')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x3ba2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.freshdeskAccount.id}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.freshdeskAccount.name}}\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3ba6')+_0x1cd3('0x5195')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x38c3')+_0x1cd3('0x5196')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3ae6')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e3c')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fda')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x503a')+_0x1cd3('0x3e3f')+_0x1cd3('0x3e40')+_0x1cd3('0x5197')+_0x1cd3('0x3e42')+_0x1cd3('0x5198')+_0x1cd3('0x386f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f41')+_0x1cd3('0x5199')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e49')+_0x1cd3('0x3b24')+_0x1cd3('0x4f92')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x4f53')+_0x1cd3('0x5158')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x4f56')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x4f49')+_0x1cd3('0x515a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x503c')+_0x1cd3('0x3b24')+_0x1cd3('0x503d')+_0x1cd3('0x3756')+_0x1cd3('0x3e87')+_0x1cd3('0x4f4c')+_0x1cd3('0x3756')+_0x1cd3('0x39ea')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x519a')+_0x1cd3('0x515c')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x519b')+_0x1cd3('0x3b24')+_0x1cd3('0x515e')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x4f5d')+_0x1cd3('0x515f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x5041')+_0x1cd3('0x5042')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MotionProxyAddress\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3e87')+_0x1cd3('0x4f60')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f61')+_0x1cd3('0x519c')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f63')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e51')+_0x1cd3('0x3fba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5043')+_0x1cd3('0x3e3f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x519d')+_0x1cd3('0x3e42')+_0x1cd3('0x5131')+_0x1cd3('0x376e')+'\x0a'+_0x1cd3('0x5046')+_0x1cd3('0x5047')+_0x1cd3('0x5048')+_0x1cd3('0x519e')+_0x1cd3('0x43b7')+_0x1cd3('0x3671')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3689')+_0x1cd3('0x519f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20freshdeskConfiguration.name\x20}}\x0a'+_0x1cd3('0x5135')+_0x1cd3('0x3a4a')+_0x1cd3('0x5136')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x504a')+_0x1cd3('0x51a0')+_0x1cd3('0x51a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a53')+_0x1cd3('0x41c8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36a1')+_0x1cd3('0x487b')+_0x1cd3('0x504d')+_0x1cd3('0x5139')+_0x1cd3('0x513a')+_0x1cd3('0x504e')+_0x1cd3('0x504f')+_0x1cd3('0x5050')+_0x1cd3('0x506e')+_0x1cd3('0x5051')+_0x1cd3('0x5052')+_0x1cd3('0x3d4f')+_0x1cd3('0x4872')+_0x1cd3('0x5053')+_0x1cd3('0x5054')+_0x1cd3('0x491c')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366b')+_0x1cd3('0x513b')+_0x1cd3('0x3d4f')+_0x1cd3('0x5055')+_0x1cd3('0x4872')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a20')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5058')+_0x1cd3('0x3837')+_0x1cd3('0x3838')+_0x1cd3('0x5075')+_0x1cd3('0x5059')+_0x1cd3('0x505a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x383a')+_0x1cd3('0x383b')+_0x1cd3('0x383c')+_0x1cd3('0x513c')+_0x1cd3('0x505b')+_0x1cd3('0x513d')+_0x1cd3('0x513e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{subject.type}}\x0a'+_0x1cd3('0x3846')+_0x1cd3('0x505c')+_0x1cd3('0x505d')+_0x1cd3('0x505e')+_0x1cd3('0x505f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{subject.key}}\x0a'+_0x1cd3('0x5062')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{subject.keyContent}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{subject.variableName}}\x0a'+_0x1cd3('0x5064')+_0x1cd3('0x5065')+_0x1cd3('0x3692')+_0x1cd3('0x5066')+_0x1cd3('0x3846')+_0x1cd3('0x5067')+_0x1cd3('0x5081')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x506a')+_0x1cd3('0x506b')+_0x1cd3('0x506c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Subject\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4bed')+_0x1cd3('0x506d')+_0x1cd3('0x5142')+_0x1cd3('0x5143')+_0x1cd3('0x3d89')+_0x1cd3('0x4bed')+_0x1cd3('0x4bf1')+_0x1cd3('0x4bf2')+_0x1cd3('0x3846')+_0x1cd3('0x383a')+_0x1cd3('0x384a')+_0x1cd3('0x384b')+_0x1cd3('0x384c')+_0x1cd3('0x514b')+_0x1cd3('0x5084')+'\x0a'+_0x1cd3('0x504e')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x5144')+_0x1cd3('0x506e')+_0x1cd3('0x5051')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d4f')+_0x1cd3('0x4872')+_0x1cd3('0x5070')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x491c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5145')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5072')+_0x1cd3('0x4872')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x366b')+_0x1cd3('0x5057')+_0x1cd3('0x5074')+_0x1cd3('0x3837')+_0x1cd3('0x3838')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.ID\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.TYPE\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x505a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x383a')+_0x1cd3('0x383b')+_0x1cd3('0x383c')+_0x1cd3('0x5077')+_0x1cd3('0x5078')+_0x1cd3('0x5146')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{description.nameField\x20||\x20description.idField}}\x0a'+_0x1cd3('0x5147')+_0x1cd3('0x3846')+_0x1cd3('0x507a')+_0x1cd3('0x5148')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{description.variableName}}\x0a'+_0x1cd3('0x507c')+_0x1cd3('0x5060')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{description.key}}\x0a'+_0x1cd3('0x5062')+_0x1cd3('0x507d')+_0x1cd3('0x507e')+_0x1cd3('0x507f')+_0x1cd3('0x5065')+_0x1cd3('0x3692')+_0x1cd3('0x5080')+_0x1cd3('0x3846')+_0x1cd3('0x5067')+_0x1cd3('0x5081')+_0x1cd3('0x5068')+_0x1cd3('0x5069')+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x506a')+_0x1cd3('0x506b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x51a2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4bed')+_0x1cd3('0x506d')+_0x1cd3('0x514a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Description\x0a'+_0x1cd3('0x3d89')+_0x1cd3('0x4bed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4bf2')+_0x1cd3('0x3846')+_0x1cd3('0x383a')+_0x1cd3('0x384a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x384c')+_0x1cd3('0x514b')+_0x1cd3('0x5084')+'\x0a'+_0x1cd3('0x5085')+_0x1cd3('0x504f')+_0x1cd3('0x5086')+_0x1cd3('0x506e')+_0x1cd3('0x5051')+_0x1cd3('0x514c')+_0x1cd3('0x3d4f')+_0x1cd3('0x4872')+_0x1cd3('0x5087')+_0x1cd3('0x5088')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5089')+_0x1cd3('0x4872')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a20')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+_0x1cd3('0x5057')+_0x1cd3('0x508b')+_0x1cd3('0x3837')+_0x1cd3('0x3838')+_0x1cd3('0x5075')+_0x1cd3('0x5059')+_0x1cd3('0x505a')+_0x1cd3('0x5076')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x383b')+_0x1cd3('0x383c')+_0x1cd3('0x508c')+_0x1cd3('0x508d')+_0x1cd3('0x508e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{field.nameField\x20||\x20field.idField}}\x0a'+_0x1cd3('0x5090')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5091')+_0x1cd3('0x514e')+_0x1cd3('0x5092')+_0x1cd3('0x5093')+_0x1cd3('0x5060')+_0x1cd3('0x5094')+_0x1cd3('0x5062')+_0x1cd3('0x5095')+_0x1cd3('0x51a3')+_0x1cd3('0x514f')+_0x1cd3('0x5065')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{field.content}}\x0a'+_0x1cd3('0x3846')+_0x1cd3('0x5067')+_0x1cd3('0x5081')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5069')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x506a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5098')+_0x1cd3('0x3d89')+_0x1cd3('0x4bed')+_0x1cd3('0x506d')+_0x1cd3('0x5150')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Field\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4bed')+_0x1cd3('0x4bf1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3846')+_0x1cd3('0x383a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x384b')+_0x1cd3('0x384c')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x5084')+'\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x5085')+_0x1cd3('0x5099')+_0x1cd3('0x51a4')+_0x1cd3('0x51a5')+_0x1cd3('0x509a')+_0x1cd3('0x509b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Tags\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x509f')+_0x1cd3('0x50a0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x51a6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x50a3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x51a7')+_0x1cd3('0x5153')+_0x1cd3('0x5154')+_0x1cd3('0x50a6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20CONFIGURATION\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d1d')+_0x1cd3('0x50a8')+'\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fba')+_0x1cd3('0x3e52')+_0x1cd3('0x3e53')+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a66')+'\x0a'+_0x1cd3('0x376e'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x51a8'),'\x0a'+'\x0a'+_0x1cd3('0x3adc')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3add')+_0x1cd3('0x37e6')+_0x1cd3('0x3a00')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f6e')+_0x1cd3('0x38f9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20FreshdeskAccounts\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x3ae1')+'\x0a'+_0x1cd3('0x3ae2')+_0x1cd3('0x3ae3')+_0x1cd3('0x3a02')+_0x1cd3('0x3a03')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a04')+_0x1cd3('0x3a05')+_0x1cd3('0x4f70')+_0x1cd3('0x36c2')+_0x1cd3('0x366a')+_0x1cd3('0x3ae5')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae6')+'\x0a'+_0x1cd3('0x3a07')+_0x1cd3('0x51a9')+_0x1cd3('0x3a09')+'\x0a'+_0x1cd3('0x51aa')+_0x1cd3('0x3a0b')+_0x1cd3('0x3ae8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Back\x0a'+_0x1cd3('0x3671')+_0x1cd3('0x36f6')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a0d')+_0x1cd3('0x51ab')+_0x1cd3('0x51ac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20selected\x0a'+_0x1cd3('0x38f9')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a11')+_0x1cd3('0x3a12')+_0x1cd3('0x3aec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22INTEGRATIONS.MULTI_SELECT_TOGGLE\x22>\x0a'+_0x1cd3('0x3a14')+_0x1cd3('0x367d')+_0x1cd3('0x3a15')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3c2e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3aee')+_0x1cd3('0x3a16')+_0x1cd3('0x51ad')+_0x1cd3('0x3a19')+_0x1cd3('0x3849')+_0x1cd3('0x3aee')+_0x1cd3('0x3a1a')+_0x1cd3('0x3aef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a1b')+_0x1cd3('0x51ae')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a1e')+_0x1cd3('0x51af')+_0x1cd3('0x4f78')+_0x1cd3('0x3a20')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a21')+'\x0a'+_0x1cd3('0x3a22')+_0x1cd3('0x3a23')+'\x0a'+_0x1cd3('0x3af1')+_0x1cd3('0x3a24')+'\x0a'+_0x1cd3('0x3a25')+_0x1cd3('0x51b0')+_0x1cd3('0x3a27')+_0x1cd3('0x3af3')+_0x1cd3('0x51b1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a2a')+_0x1cd3('0x3a2b')+_0x1cd3('0x4f7a')+_0x1cd3('0x4f7b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.USERNAME\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.URI\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a34')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a35')+_0x1cd3('0x51b2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a38')+_0x1cd3('0x4f7e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a34')+_0x1cd3('0x51b3')+_0x1cd3('0x51b4')+_0x1cd3('0x51b5')+_0x1cd3('0x51b6')+_0x1cd3('0x51b7')+_0x1cd3('0x51b8')+_0x1cd3('0x51b9')+_0x1cd3('0x51b8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22username\x20\x22\x20>{{freshdeskAccount.username}}\x0a'+_0x1cd3('0x51b8')+_0x1cd3('0x51ba')+_0x1cd3('0x3b02')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a49')+'\x0a'+_0x1cd3('0x3a4a')+_0x1cd3('0x4f84')+_0x1cd3('0x3a4c')+_0x1cd3('0x395d')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3a4f')+'\x0a'+_0x1cd3('0x51bb')+_0x1cd3('0x51bc')+_0x1cd3('0x51bd')+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3ce1')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a5a')+'\x0a'+_0x1cd3('0x51c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22INTEGRATIONS.DELETE_FRESHDESKACCOUNT\x22>\x0a'+_0x1cd3('0x51c1')+_0x1cd3('0x3a52')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3699')+'\x0a'+_0x1cd3('0x369a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x0a'+_0x1cd3('0x3a34')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a5e')+_0x1cd3('0x3a5f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a61')+_0x1cd3('0x51c2')+_0x1cd3('0x3a63')+'\x0a'+_0x1cd3('0x3a64')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a66')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b0f')+_0x1cd3('0x376d')+_0x1cd3('0x51c3')+_0x1cd3('0x3686'));_0x404b17['put']('app/main/apps/integrations/views/freshsalesAccounts/create/dialog.html',_0x1cd3('0x51c4')+_0x1cd3('0x51c5')+_0x1cd3('0x3666')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x4f41')+_0x1cd3('0x51c6')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x51c7')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Username\x0a'+_0x1cd3('0x51c8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x51c9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f56')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x4f49')+_0x1cd3('0x51ca')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x51cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x503d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e87')+_0x1cd3('0x4f4c')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x519a')+_0x1cd3('0x51cc')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x51cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x515e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MotionProxyAddress\x0a'+_0x1cd3('0x51ce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x51cf')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MotionProxyAddress\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e87')+_0x1cd3('0x4f60')+_0x1cd3('0x3756')+_0x1cd3('0x39ea')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x4f61')+_0x1cd3('0x51d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x51d1')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x39ef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x51d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x1cd3('0x51d3')+_0x1cd3('0x4f66')+_0x1cd3('0x39f3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x51d4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x1cd3('0x51d5')+_0x1cd3('0x51d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20FRESHSALESACCOUNT\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39fa')+_0x1cd3('0x51d7')+_0x1cd3('0x4f6b')+_0x1cd3('0x3a20')+_0x1cd3('0x4f6c')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x39fe')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x51d8'),_0x1cd3('0x51d9')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3666')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39da')+_0x1cd3('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x4f41')+_0x1cd3('0x51da')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e5')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x51db')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x4f93')+_0x1cd3('0x51dc')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x3a6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f95')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27INTEGRATIONS.VOICE\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x51dd')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Channel\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x4f98')+_0x1cd3('0x51de')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e6')+_0x1cd3('0x3a6f')+_0x1cd3('0x3f7a')+_0x1cd3('0x4f9a')+_0x1cd3('0x3a4d')+_0x1cd3('0x50e9')+_0x1cd3('0x3fe5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.OUTBOUND_CALL\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x51df')+_0x1cd3('0x3b24')+_0x1cd3('0x4f9e')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3ed3')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x39ef')+_0x1cd3('0x388f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39fa')+_0x1cd3('0x51e5')+_0x1cd3('0x4f6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f6c')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x39fe')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')]('app/main/apps/integrations/views/freshsalesAccounts/edit/item/dialog.html',_0x1cd3('0x51e6')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x3b14')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b15')+_0x1cd3('0x3b16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3b18')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4fa5')+_0x1cd3('0x5176')+_0x1cd3('0x4fa6')+_0x1cd3('0x50f6')+_0x1cd3('0x5177')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fa7')+_0x1cd3('0x4fa8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x0a'+_0x1cd3('0x4faa')+_0x1cd3('0x4fab')+_0x1cd3('0x4fac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3841')+_0x1cd3('0x36b7')+_0x1cd3('0x44da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fb1')+_0x1cd3('0x50f9')+_0x1cd3('0x51e8')+_0x1cd3('0x51e9')+_0x1cd3('0x3c90')+_0x1cd3('0x4fb4')+_0x1cd3('0x50fb')+_0x1cd3('0x3841')+_0x1cd3('0x36b7')+_0x1cd3('0x44da')+_0x1cd3('0x50fc')+_0x1cd3('0x4fb5')+_0x1cd3('0x4fb6')+_0x1cd3('0x4fb7')+_0x1cd3('0x51ea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22freshsalesAccountItemForm.key.$touched\x22\x20role=\x22alert\x22>\x0a'+_0x1cd3('0x4fba')+_0x1cd3('0x4fbb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3841')+_0x1cd3('0x3868')+'\x0a'+_0x1cd3('0x4fb5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x0a'+_0x1cd3('0x517b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20String\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Variable\x0a'+_0x1cd3('0x4fc0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x51eb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22freshsalesAccountItemForm.keyType.$touched\x22\x20role=\x22alert\x22>\x0a'+_0x1cd3('0x4fba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x20field\x20is\x0a'+_0x1cd3('0x4fbc')+_0x1cd3('0x386f')+_0x1cd3('0x3841')+_0x1cd3('0x3868')+'\x0a'+_0x1cd3('0x5100')+_0x1cd3('0x4fc4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fba')+_0x1cd3('0x4fc8')+_0x1cd3('0x4fc9')+_0x1cd3('0x386f')+_0x1cd3('0x3841')+_0x1cd3('0x3868')+'\x0a'+_0x1cd3('0x5103')+_0x1cd3('0x4fca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fd1')+_0x1cd3('0x5105')+_0x1cd3('0x4fd2')+_0x1cd3('0x4fd0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x51ec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22freshsalesAccountItemForm.variableName.$touched\x22\x20role=\x22alert\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fd5')+_0x1cd3('0x4fd6')+_0x1cd3('0x5106')+_0x1cd3('0x386f')+_0x1cd3('0x3841')+_0x1cd3('0x3868')+'\x0a'+_0x1cd3('0x4fd7')+_0x1cd3('0x4fca')+_0x1cd3('0x51ed')+_0x1cd3('0x4fd8')+_0x1cd3('0x44f0')+_0x1cd3('0x4fc1')+_0x1cd3('0x3868')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fdb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fdd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4fe0')+_0x1cd3('0x4fe1')+_0x1cd3('0x5107')+_0x1cd3('0x4fcf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fe2')+_0x1cd3('0x4fe3')+_0x1cd3('0x4fcf')+_0x1cd3('0x4fd0')+'\x0a'+_0x1cd3('0x4fc1')+_0x1cd3('0x51ee')+_0x1cd3('0x51ef')+_0x1cd3('0x4fba')+_0x1cd3('0x4fe5')+_0x1cd3('0x4fbc')+_0x1cd3('0x386f')+_0x1cd3('0x3841')+_0x1cd3('0x3868')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x510b')+_0x1cd3('0x4fe6')+'\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x4fe7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

Account\x20is\x20not\x20connected.\x20Please\x20check\x20your\x20configurations!

\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x4fe9')+_0x1cd3('0x3669')+_0x1cd3('0x4fea')+_0x1cd3('0x4feb')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b1f')+_0x1cd3('0x3b15')+_0x1cd3('0x3b16')+_0x1cd3('0x3b17')+_0x1cd3('0x3756')+_0x1cd3('0x3b18')+_0x1cd3('0x3b19')+_0x1cd3('0x367d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x366f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x51f0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22INTEGRATIONS.SAVE\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x1cd3('0x3859')+'\x0a'+_0x1cd3('0x51f1')+_0x1cd3('0x4fee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x3b4b')+_0x1cd3('0x510e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x3675')+_0x1cd3('0x3681')+'\x0a'+'\x0a'+_0x1cd3('0x4ff0')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x4ff1')+'\x0a'+_0x1cd3('0x4ff2')+_0x1cd3('0x4ff3')+'\x0a'+_0x1cd3('0x4ff4')+_0x1cd3('0x4ff5')+_0x1cd3('0x4ff6')+_0x1cd3('0x389c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4ff9')+_0x1cd3('0x4ffa')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x5004')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20Content\x0a'+'\x0a'+_0x1cd3('0x5000')+_0x1cd3('0x5001')+_0x1cd3('0x389c')+'\x0a'+_0x1cd3('0x51f2')+_0x1cd3('0x51f3')+_0x1cd3('0x4ff9')+_0x1cd3('0x5111')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x5004')+'\x0a'+_0x1cd3('0x5005')+'\x20\x20\x20\x20\x20\x20\x20\x20Content\x0a'+'\x0a'+_0x1cd3('0x5006')+'\x0a'+_0x1cd3('0x51f4')+_0x1cd3('0x51f5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Content\x20field\x20is\x0a'+_0x1cd3('0x5009')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x5004')+'\x0a'+_0x1cd3('0x5114')+_0x1cd3('0x5115')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x500c')+_0x1cd3('0x500d')+_0x1cd3('0x5116')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5010')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x500e')+_0x1cd3('0x389c')+_0x1cd3('0x51f6')+_0x1cd3('0x51f7')+_0x1cd3('0x4ff9')+_0x1cd3('0x5013')+_0x1cd3('0x5009')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x5115')+_0x1cd3('0x5015')+_0x1cd3('0x5016')+_0x1cd3('0x389c')+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x0a'+'\x0a'+_0x1cd3('0x5018')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x4ff2')+_0x1cd3('0x51f8')+_0x1cd3('0x5118')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Variable\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Custom\x20Variable\x0a'+_0x1cd3('0x366e')+_0x1cd3('0x51f9')+_0x1cd3('0x4ff9')+_0x1cd3('0x4ffa')+_0x1cd3('0x501d')+_0x1cd3('0x36f6')+'\x20\x20\x0a'+'\x20\x20\x0a'+'\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20Content\x0a'+_0x1cd3('0x5021')+'\x20\x20\x20\x20\x20\x20Content\x20field\x20is\x20required\x0a'+_0x1cd3('0x3d21')+_0x1cd3('0x3d1d')+_0x1cd3('0x501e')+'\x0a'+'\x20\x20\x0a'+_0x1cd3('0x5025')+_0x1cd3('0x5026')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required>\x0a'+_0x1cd3('0x518e')+_0x1cd3('0x5028')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x502a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{dialColumn}}\x0a'+_0x1cd3('0x511b')+_0x1cd3('0x5029')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x51fb')+_0x1cd3('0x51fc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x502d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d1d')+'\x20\x20\x0a'+'\x0a'+_0x1cd3('0x502f')+_0x1cd3('0x5025')+_0x1cd3('0x511e')+_0x1cd3('0x5030')+_0x1cd3('0x502b')+'\x20\x20\x0a'+_0x1cd3('0x5031'));_0x404b17['put'](_0x1cd3('0x1bf'),_0x1cd3('0x51fd')+'\x0a'+_0x1cd3('0x3adc')+_0x1cd3('0x3b9f')+_0x1cd3('0x3d5a')+_0x1cd3('0x51fe')+_0x1cd3('0x51ff')+_0x1cd3('0x5200')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3671')+'\x0a'+_0x1cd3('0x388f')+'\x0a'+_0x1cd3('0x5201')+_0x1cd3('0x5202')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3ba2')+_0x1cd3('0x3ba3')+_0x1cd3('0x5203')+_0x1cd3('0x5204')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5205')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x38c3')+_0x1cd3('0x5206')+_0x1cd3('0x3e3b')+_0x1cd3('0x3d24')+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3ae6')+'\x0a'+_0x1cd3('0x3a22')+_0x1cd3('0x3e3c')+'\x0a'+_0x1cd3('0x3baa')+_0x1cd3('0x3fda')+_0x1cd3('0x3e3d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ACCOUNT\x0a'+_0x1cd3('0x3e3f')+_0x1cd3('0x3e40')+_0x1cd3('0x5207')+_0x1cd3('0x3e42')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GENERAL\x0a'+_0x1cd3('0x386f')+_0x1cd3('0x3e44')+_0x1cd3('0x3e45')+_0x1cd3('0x4f41')+_0x1cd3('0x51c6')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e5')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x3e49')+_0x1cd3('0x3b24')+_0x1cd3('0x4f92')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x4f53')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x503f')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Username\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x4f49')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Uri\x20must\x20be\x20a\x20valid\x20url\x20http://www.xcally.com\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x519a')+_0x1cd3('0x51cc')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x519b')+_0x1cd3('0x3b24')+_0x1cd3('0x515e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MotionProxyAddress\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e87')+_0x1cd3('0x4f60')+_0x1cd3('0x3756')+_0x1cd3('0x39ea')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f61')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x4f63')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x3fa6')+_0x1cd3('0x3e51')+_0x1cd3('0x3fba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fda')+_0x1cd3('0x3e3d')+_0x1cd3('0x5043')+_0x1cd3('0x3e3f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5208')+_0x1cd3('0x3e42')+'\x20\x20\x20\x20CONFIGURATIONS\x0a'+_0x1cd3('0x376e')+_0x1cd3('0x5209')+_0x1cd3('0x5046')+_0x1cd3('0x5047')+_0x1cd3('0x5048')+_0x1cd3('0x520a')+_0x1cd3('0x43b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3689')+_0x1cd3('0x520b')+_0x1cd3('0x520c')+_0x1cd3('0x5135')+_0x1cd3('0x3a4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22INTEGRATIONS.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a'+_0x1cd3('0x42d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x504a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x520d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41c8')+_0x1cd3('0x41c9')+_0x1cd3('0x36a0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x487b')+_0x1cd3('0x504d')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x504e')+_0x1cd3('0x504f')+_0x1cd3('0x5050')+_0x1cd3('0x506e')+_0x1cd3('0x5051')+_0x1cd3('0x5052')+_0x1cd3('0x3d4f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5053')+_0x1cd3('0x5054')+_0x1cd3('0x491c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x513b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm_cc.selectedSubjects.length}}\x20{{vm_cc.selectedSubjects.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5056')+_0x1cd3('0x3a20')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+_0x1cd3('0x5057')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3838')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.ID\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.TYPE\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x505a')+_0x1cd3('0x5076')+_0x1cd3('0x383a')+_0x1cd3('0x383b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{subject.id}}\x0a'+_0x1cd3('0x513d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{subject.nameField\x20||\x20subject.idField}}\x0a'+_0x1cd3('0x513f')+_0x1cd3('0x3846')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x505d')+_0x1cd3('0x505e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm_cc.variablesById[subject.VariableId].name\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5061')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5140')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{subject.variableName}}\x0a'+_0x1cd3('0x5064')+_0x1cd3('0x5065')+_0x1cd3('0x3692')+_0x1cd3('0x5066')+_0x1cd3('0x3846')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5081')+_0x1cd3('0x5068')+_0x1cd3('0x5069')+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x506a')+_0x1cd3('0x506b')+_0x1cd3('0x506c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Subject\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4bed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5142')+_0x1cd3('0x5143')+_0x1cd3('0x3d89')+_0x1cd3('0x4bed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x383a')+_0x1cd3('0x384a')+_0x1cd3('0x384b')+_0x1cd3('0x384c')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x5084')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x504f')+'\x20\x20\x20\x20\x20\x20\x20\x20DESCRIPTIONS\x0a'+_0x1cd3('0x506e')+_0x1cd3('0x5051')+_0x1cd3('0x506f')+_0x1cd3('0x3d4f')+_0x1cd3('0x4872')+_0x1cd3('0x5070')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x491c')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+_0x1cd3('0x5145')+_0x1cd3('0x3d4f')+_0x1cd3('0x5072')+_0x1cd3('0x4872')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5057')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3837')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5075')+_0x1cd3('0x5059')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.CONTENT\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x5076')+_0x1cd3('0x383a')+_0x1cd3('0x383b')+_0x1cd3('0x383c')+_0x1cd3('0x5077')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{description.id}}\x0a'+_0x1cd3('0x5146')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{description.nameField\x20||\x20description.idField}}\x0a'+_0x1cd3('0x5147')+_0x1cd3('0x3846')+_0x1cd3('0x507a')+_0x1cd3('0x5148')+_0x1cd3('0x507b')+_0x1cd3('0x507c')+_0x1cd3('0x5060')+_0x1cd3('0x5149')+_0x1cd3('0x5062')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{description.keyContent}}\x0a'+_0x1cd3('0x507e')+_0x1cd3('0x507f')+_0x1cd3('0x5065')+_0x1cd3('0x3692')+_0x1cd3('0x5080')+_0x1cd3('0x3846')+_0x1cd3('0x5067')+_0x1cd3('0x5081')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5069')+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x506a')+_0x1cd3('0x506b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x51a2')+_0x1cd3('0x3d89')+_0x1cd3('0x4bed')+_0x1cd3('0x506d')+_0x1cd3('0x514a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Description\x0a'+_0x1cd3('0x3d89')+_0x1cd3('0x4bed')+_0x1cd3('0x4bf1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3846')+_0x1cd3('0x383a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x384b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x514b')+_0x1cd3('0x5084')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x50a4')+_0x1cd3('0x520e')+_0x1cd3('0x5153')+_0x1cd3('0x5154')+_0x1cd3('0x50a6')+_0x1cd3('0x50a7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5155')+_0x1cd3('0x3d21')+_0x1cd3('0x3d1d')+_0x1cd3('0x50a8')+_0x1cd3('0x376e')+'\x0a'+_0x1cd3('0x3e51')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e52')+_0x1cd3('0x3e53')+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a66')+'\x0a'+_0x1cd3('0x376e'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x1bb'),_0x1cd3('0x520f')+'\x0a'+_0x1cd3('0x3adc')+_0x1cd3('0x39ff')+'\x0a'+_0x1cd3('0x3add')+_0x1cd3('0x37e6')+_0x1cd3('0x3a00')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f6e')+_0x1cd3('0x38f9')+_0x1cd3('0x5210')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3ae2')+_0x1cd3('0x3ae3')+_0x1cd3('0x3a02')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae4')+_0x1cd3('0x3a04')+_0x1cd3('0x3a05')+_0x1cd3('0x4f70')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x3ae5')+_0x1cd3('0x3756')+_0x1cd3('0x3686')+_0x1cd3('0x3ae6')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x5211')+_0x1cd3('0x3a09')+'\x0a'+_0x1cd3('0x5212')+_0x1cd3('0x3a0b')+_0x1cd3('0x3ae8')+_0x1cd3('0x4f72')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x3a0c')+'\x0a'+_0x1cd3('0x3a0d')+_0x1cd3('0x5213')+_0x1cd3('0x5214')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20selected\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3aeb')+_0x1cd3('0x3a11')+_0x1cd3('0x3a12')+_0x1cd3('0x3aec')+_0x1cd3('0x5215')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x367d')+_0x1cd3('0x3a15')+_0x1cd3('0x3a16')+_0x1cd3('0x5216')+_0x1cd3('0x3c2e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3aee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5217')+_0x1cd3('0x3a19')+_0x1cd3('0x3849')+_0x1cd3('0x3aee')+_0x1cd3('0x3a1a')+_0x1cd3('0x3aef')+_0x1cd3('0x366a')+'\x0a'+_0x1cd3('0x3a1b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a1e')+_0x1cd3('0x5218')+_0x1cd3('0x4f78')+_0x1cd3('0x3a20')+_0x1cd3('0x3859')+_0x1cd3('0x3841')+_0x1cd3('0x36f6')+_0x1cd3('0x3686')+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a23')+'\x0a'+_0x1cd3('0x3af1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a25')+_0x1cd3('0x5219')+_0x1cd3('0x3a27')+_0x1cd3('0x3af3')+_0x1cd3('0x521a')+_0x1cd3('0x521b')+_0x1cd3('0x3a2a')+_0x1cd3('0x3a2b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.ID\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.NAME\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4f7c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.URI\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a34')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x521c')+_0x1cd3('0x3c56')+_0x1cd3('0x3a38')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a'+_0x1cd3('0x3a3a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a34')+_0x1cd3('0x521d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x521e')+_0x1cd3('0x521f')+_0x1cd3('0x5220')+_0x1cd3('0x5221')+_0x1cd3('0x5222')+_0x1cd3('0x5221')+_0x1cd3('0x5223')+_0x1cd3('0x5221')+_0x1cd3('0x5224')+_0x1cd3('0x3b02')+'\x0a'+_0x1cd3('0x3cdd')+'\x0a'+_0x1cd3('0x3a49')+'\x0a'+_0x1cd3('0x3a4a')+_0x1cd3('0x4f84')+_0x1cd3('0x3a4c')+_0x1cd3('0x395d')+'\x0a'+_0x1cd3('0x3b04')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a54')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3a4f')+'\x0a'+_0x1cd3('0x5225')+_0x1cd3('0x5226')+_0x1cd3('0x5227')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3ce1')+'\x0a'+_0x1cd3('0x5228')+_0x1cd3('0x5229')+_0x1cd3('0x522a')+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3a5a')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3699')+'\x0a'+_0x1cd3('0x369a')+_0x1cd3('0x3951')+'\x0a'+'\x0a'+_0x1cd3('0x3a34')+_0x1cd3('0x3a5d')+_0x1cd3('0x3a5e')+_0x1cd3('0x3a5f')+'\x0a'+_0x1cd3('0x522c')+_0x1cd3('0x3a61')+_0x1cd3('0x522d')+_0x1cd3('0x3a63')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a66')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x522e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20freshsalesAccount\x22\x20translate\x20translate-attr-aria-label=\x22INTEGRATIONS.ADD_FRESHSALESACCOUNT\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x376d')+_0x1cd3('0x522f')+_0x1cd3('0x3686'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x1af7'),_0x1cd3('0x5230')+_0x1cd3('0x5231')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3667')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x4f41')+_0x1cd3('0x5232')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x5233')+_0x1cd3('0x3b24')+_0x1cd3('0x4f92')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f98')+_0x1cd3('0x5234')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x3a6f')+_0x1cd3('0x3f7a')+_0x1cd3('0x4f44')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f45')+_0x1cd3('0x3fe5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.NEW_TAB\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5235')+_0x1cd3('0x3b24')+_0x1cd3('0x4f9e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x4f53')+_0x1cd3('0x5236')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x5237')+_0x1cd3('0x3b24')+_0x1cd3('0x4f56')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Uri\x0a'+_0x1cd3('0x5238')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5239')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Uri\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3e87')+_0x1cd3('0x4f4c')+_0x1cd3('0x3756')+_0x1cd3('0x39ea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x50ae')+_0x1cd3('0x4f58')+_0x1cd3('0x523a')+_0x1cd3('0x4f5a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x4f5c')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x50b1')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3ed3')+_0x1cd3('0x3acf')+_0x1cd3('0x512d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x50b7')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ClientSecret\x0a'+_0x1cd3('0x523b')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x50ba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x523c')+_0x1cd3('0x523d')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x523e')+_0x1cd3('0x3b24')+_0x1cd3('0x523f')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x4f5d')+_0x1cd3('0x5240')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x50bd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MotionProxyAddress\x20must\x20be\x20a\x20valid\x20url\x20http://www.xcally.com\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x39ea')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x4f61')+_0x1cd3('0x5241')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5242')+_0x1cd3('0x3b24')+_0x1cd3('0x4f63')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x388f')+_0x1cd3('0x5243')+_0x1cd3('0x3ad7')+_0x1cd3('0x5244')+_0x1cd3('0x4f66')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x1cd3('0x39f4')+'\x0a'+_0x1cd3('0x5245')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x1cd3('0x5246')+_0x1cd3('0x5247')+_0x1cd3('0x5248')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x39fa')+_0x1cd3('0x5249')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22INTEGRATIONS.DELETE\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x1ada'),'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x4f41')+_0x1cd3('0x524a')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e5')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x524b')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Channel\x0a'+_0x1cd3('0x524c')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e6')+_0x1cd3('0x3a6f')+_0x1cd3('0x3f7a')+_0x1cd3('0x4f95')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27INTEGRATIONS.VOICE\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3acc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x4f97')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x4f98')+_0x1cd3('0x524d')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x3f7a')+_0x1cd3('0x4f9a')+_0x1cd3('0x3a4d')+_0x1cd3('0x50e9')+_0x1cd3('0x3fe5')+_0x1cd3('0x4f9b')+_0x1cd3('0x3a4d')+_0x1cd3('0x4f9c')+_0x1cd3('0x3acc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x50eb')+_0x1cd3('0x524e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e6')+_0x1cd3('0x3a6f')+_0x1cd3('0x3f7a')+_0x1cd3('0x524f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27INTEGRATIONS.TASK\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fe5')+_0x1cd3('0x5250')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x50ee')+_0x1cd3('0x3acc')+_0x1cd3('0x5251')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x50ef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3ed3')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x39ef')+_0x1cd3('0x388f')+_0x1cd3('0x5252')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x1cd3('0x5253')+_0x1cd3('0x4f66')+_0x1cd3('0x39f3')+_0x1cd3('0x39f4')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x39fe')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x384d'));_0x404b17['put'](_0x1cd3('0x1add'),_0x1cd3('0x5258')+_0x1cd3('0x5259')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b14')+_0x1cd3('0x3b1f')+_0x1cd3('0x3b15')+_0x1cd3('0x3b16')+_0x1cd3('0x3b17')+_0x1cd3('0x3756')+_0x1cd3('0x3b18')+_0x1cd3('0x3b19')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5176')+_0x1cd3('0x4fa6')+_0x1cd3('0x50f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x4fa7')+_0x1cd3('0x4fa8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fa9')+_0x1cd3('0x4faa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20String\x0a'+_0x1cd3('0x4fac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3c90')+_0x1cd3('0x4fae')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x0a'+_0x1cd3('0x3841')+_0x1cd3('0x36b7')+_0x1cd3('0x44da')+_0x1cd3('0x4fb0')+_0x1cd3('0x4fb1')+_0x1cd3('0x50f9')+_0x1cd3('0x525a')+_0x1cd3('0x525b')+_0x1cd3('0x3c90')+_0x1cd3('0x4fb4')+_0x1cd3('0x50fb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36b7')+_0x1cd3('0x44da')+_0x1cd3('0x50fc')+_0x1cd3('0x4fb5')+_0x1cd3('0x4fb6')+_0x1cd3('0x4fb7')+_0x1cd3('0x525c')+_0x1cd3('0x525d')+_0x1cd3('0x4fba')+_0x1cd3('0x4fbb')+_0x1cd3('0x4fbc')+_0x1cd3('0x386f')+_0x1cd3('0x3841')+_0x1cd3('0x3868')+'\x0a'+_0x1cd3('0x4fb5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x0a'+_0x1cd3('0x517b')+_0x1cd3('0x4fbe')+_0x1cd3('0x4fbf')+_0x1cd3('0x4fc0')+_0x1cd3('0x4fc1')+_0x1cd3('0x525e')+_0x1cd3('0x525f')+_0x1cd3('0x4fba')+_0x1cd3('0x4fc3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x0a'+_0x1cd3('0x386f')+_0x1cd3('0x3841')+_0x1cd3('0x3868')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fc4')+_0x1cd3('0x4fc5')+_0x1cd3('0x5260')+_0x1cd3('0x5261')+_0x1cd3('0x4fba')+_0x1cd3('0x4fc8')+_0x1cd3('0x4fc9')+_0x1cd3('0x386f')+_0x1cd3('0x3841')+_0x1cd3('0x3868')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fca')+_0x1cd3('0x4fcb')+_0x1cd3('0x4fcc')+_0x1cd3('0x4fcd')+_0x1cd3('0x4fce')+_0x1cd3('0x5104')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fd0')+_0x1cd3('0x4fd1')+_0x1cd3('0x5105')+_0x1cd3('0x4fd2')+_0x1cd3('0x4fd0')+_0x1cd3('0x4fc1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Variable\x0a'+_0x1cd3('0x5106')+_0x1cd3('0x386f')+_0x1cd3('0x3841')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Value\x0a'+_0x1cd3('0x51ed')+_0x1cd3('0x4fd8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fc1')+_0x1cd3('0x3868')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fd9')+_0x1cd3('0x3669')+_0x1cd3('0x4fda')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fdc')+_0x1cd3('0x4fb5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20FIELD\x0a'+_0x1cd3('0x4fde')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4fc1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Field\x20is\x0a'+_0x1cd3('0x4fbc')+_0x1cd3('0x386f')+_0x1cd3('0x3841')+_0x1cd3('0x3868')+'\x0a'+_0x1cd3('0x4fe6')+_0x1cd3('0x510b')+_0x1cd3('0x4fe6')+'\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x4fe7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

Account\x20is\x20not\x20connected.\x20Please\x20check\x20your\x20configurations!

\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fe9')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4feb')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b14')+_0x1cd3('0x3b1f')+_0x1cd3('0x3b15')+_0x1cd3('0x3b16')+_0x1cd3('0x3b17')+_0x1cd3('0x3756')+_0x1cd3('0x3b18')+_0x1cd3('0x3b19')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x39ef')+_0x1cd3('0x388f')+_0x1cd3('0x5264')+_0x1cd3('0x4fec')+_0x1cd3('0x3891')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4ff0')+'\x0a'+_0x1cd3('0x5185')+_0x1cd3('0x4ff1')+'\x0a'+_0x1cd3('0x4ff2')+_0x1cd3('0x4ff3')+'\x0a'+_0x1cd3('0x4ff4')+_0x1cd3('0x4ff5')+_0x1cd3('0x4ff6')+_0x1cd3('0x389c')+_0x1cd3('0x5265')+_0x1cd3('0x4ff8')+_0x1cd3('0x4ff9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x5004')+'\x0a'+_0x1cd3('0x4ffb')+'\x0a'+_0x1cd3('0x4ffc')+'\x0a'+_0x1cd3('0x4ffd')+_0x1cd3('0x4ffe')+_0x1cd3('0x4fff')+'\x0a'+_0x1cd3('0x5000')+_0x1cd3('0x5001')+_0x1cd3('0x389c')+'\x0a'+_0x1cd3('0x5266')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22salesforceAccountItemForm.option.$touched\x22\x20role=\x22alert\x22>\x0a'+_0x1cd3('0x4ff9')+_0x1cd3('0x5111')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x5005')+_0x1cd3('0x4fff')+'\x0a'+_0x1cd3('0x5006')+'\x0a'+_0x1cd3('0x5267')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22salesforceAccountItemForm.content.$touched\x22\x20role=\x22alert\x22>\x0a'+_0x1cd3('0x4ff9')+_0x1cd3('0x5113')+_0x1cd3('0x5009')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x5004')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x5115')+_0x1cd3('0x500a')+_0x1cd3('0x500b')+_0x1cd3('0x500c')+_0x1cd3('0x500d')+_0x1cd3('0x5116')+_0x1cd3('0x500e')+_0x1cd3('0x500f')+_0x1cd3('0x5010')+_0x1cd3('0x5116')+_0x1cd3('0x500e')+_0x1cd3('0x389c')+_0x1cd3('0x5268')+_0x1cd3('0x5269')+_0x1cd3('0x4ff9')+_0x1cd3('0x5013')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x5004')+'\x0a'+_0x1cd3('0x5014')+'\x20\x20\x20\x20\x20\x20\x20\x20Value\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5016')+_0x1cd3('0x389c')+_0x1cd3('0x5004')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x37b3')+'\x0a'+_0x1cd3('0x5018')+_0x1cd3('0x5019')+_0x1cd3('0x4ff2')+_0x1cd3('0x51f8')+_0x1cd3('0x5118')+_0x1cd3('0x501a')+_0x1cd3('0x501b')+_0x1cd3('0x366e')+_0x1cd3('0x526a')+_0x1cd3('0x4ff9')+_0x1cd3('0x4ffa')+_0x1cd3('0x501d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x501e')+_0x1cd3('0x501f')+_0x1cd3('0x511a')+_0x1cd3('0x5020')+_0x1cd3('0x5021')+_0x1cd3('0x526b')+_0x1cd3('0x526c')+_0x1cd3('0x3d56')+_0x1cd3('0x518d')+_0x1cd3('0x3d21')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x501e')+'\x0a'+_0x1cd3('0x5024')+_0x1cd3('0x5025')+_0x1cd3('0x5026')+_0x1cd3('0x5027')+_0x1cd3('0x518e')+_0x1cd3('0x5028')+_0x1cd3('0x511b')+_0x1cd3('0x5029')+_0x1cd3('0x502a')+_0x1cd3('0x526d')+_0x1cd3('0x511b')+_0x1cd3('0x5029')+_0x1cd3('0x502b')+_0x1cd3('0x526e')+_0x1cd3('0x526f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Variable\x20name\x20field\x20is\x0a'+_0x1cd3('0x502e')+_0x1cd3('0x3d21')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x501e')+'\x0a'+'\x20\x20\x0a'+_0x1cd3('0x5025')+_0x1cd3('0x511e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{variable.name}}\x0a'+_0x1cd3('0x502b')+_0x1cd3('0x501e')+_0x1cd3('0x5031'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x183'),'\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b9f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5270')+_0x1cd3('0x5271')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22INTEGRATIONS.GO_TO_SALESFORCEACCOUNTS\x22>\x0a'+_0x1cd3('0x3ba1')+_0x1cd3('0x3671')+'\x0a'+_0x1cd3('0x388f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5272')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3ba2')+_0x1cd3('0x3ba3')+_0x1cd3('0x5273')+_0x1cd3('0x5274')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5275')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x5276')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x1cd3('0x3d24')+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3ae6')+'\x0a'+_0x1cd3('0x3a22')+_0x1cd3('0x3e3c')+'\x0a'+_0x1cd3('0x3baa')+_0x1cd3('0x3fda')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x503a')+_0x1cd3('0x3e3f')+_0x1cd3('0x3e40')+_0x1cd3('0x5277')+_0x1cd3('0x3e42')+_0x1cd3('0x5198')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x3e44')+_0x1cd3('0x3e45')+_0x1cd3('0x4f41')+_0x1cd3('0x5232')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x3e49')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x4f98')+_0x1cd3('0x5234')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+_0x1cd3('0x3a6f')+_0x1cd3('0x3f7a')+_0x1cd3('0x4f44')+_0x1cd3('0x3a4d')+_0x1cd3('0x4f45')+_0x1cd3('0x3fe5')+_0x1cd3('0x4f46')+_0x1cd3('0x3a4d')+_0x1cd3('0x4f47')+_0x1cd3('0x3acc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x4f9e')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3acf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Username\x0a'+_0x1cd3('0x5236')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x503f')+_0x1cd3('0x3b24')+_0x1cd3('0x4f56')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x4f49')+_0x1cd3('0x5238')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x503c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x503d')+_0x1cd3('0x3756')+_0x1cd3('0x3e87')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Uri\x20must\x20be\x20a\x20valid\x20url\x20http://www.xcally.com\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x39ea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f58')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Password\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Must\x20contain\x20at\x20least\x208\x20characters,\x20with\x20a\x20minimum\x20of\x201\x20lowercase\x20letter,\x201\x20uppercase\x20letter,\x201\x20numeric\x20character\x20and\x201\x20special\x20character\x20~!?*@#$%^&-_=+[{]}.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3acf')+_0x1cd3('0x512d')+_0x1cd3('0x5278')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x512e')+_0x1cd3('0x3b24')+_0x1cd3('0x50b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ClientSecret\x0a'+_0x1cd3('0x523b')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x50ba')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SecurityToken\x0a'+_0x1cd3('0x523d')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x5279')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SecurityToken\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x4f5d')+_0x1cd3('0x5240')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x5041')+_0x1cd3('0x5042')+_0x1cd3('0x3b24')+_0x1cd3('0x50bd')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f60')+_0x1cd3('0x3756')+_0x1cd3('0x39ea')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x4f61')+_0x1cd3('0x5241')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x3e4f')+_0x1cd3('0x3b24')+_0x1cd3('0x4f63')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x3fa6')+_0x1cd3('0x3e51')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e52')+_0x1cd3('0x3fda')+_0x1cd3('0x3e3d')+_0x1cd3('0x5043')+_0x1cd3('0x3e3f')+_0x1cd3('0x3e40')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20CONFIGURATIONS\x0a'+_0x1cd3('0x376e')+'\x0a'+_0x1cd3('0x5046')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5048')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3671')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x527a')+_0x1cd3('0x527b')+_0x1cd3('0x5135')+_0x1cd3('0x3a4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22INTEGRATIONS.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a'+_0x1cd3('0x42d8')+_0x1cd3('0x395d')+_0x1cd3('0x3b04')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x527c')+_0x1cd3('0x3a52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x41c8')+_0x1cd3('0x41c9')+_0x1cd3('0x36a0')+_0x1cd3('0x36a1')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x504d')+_0x1cd3('0x5139')+_0x1cd3('0x513a')+_0x1cd3('0x504e')+_0x1cd3('0x504f')+'\x20\x20\x20\x20\x20\x20\x20\x20SUBJECTS\x0a'+_0x1cd3('0x506e')+_0x1cd3('0x5051')+_0x1cd3('0x5052')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4872')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5054')+_0x1cd3('0x491c')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x513b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5055')+_0x1cd3('0x4872')+_0x1cd3('0x5056')+_0x1cd3('0x3a20')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+_0x1cd3('0x5057')+_0x1cd3('0x5058')+_0x1cd3('0x3837')+_0x1cd3('0x3838')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.ID\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x5059')+_0x1cd3('0x505a')+_0x1cd3('0x5076')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x383b')+_0x1cd3('0x383c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x505b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{subject.nameField\x20||\x20subject.idField}}\x0a'+_0x1cd3('0x513f')+_0x1cd3('0x3846')+_0x1cd3('0x505c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{subject.content}}\x0a'+_0x1cd3('0x505e')+_0x1cd3('0x505f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{subject.key}}\x0a'+_0x1cd3('0x5062')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{subject.keyContent}}\x0a'+_0x1cd3('0x5063')+_0x1cd3('0x5064')+_0x1cd3('0x5065')+_0x1cd3('0x3692')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{subject.content}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5067')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5068')+_0x1cd3('0x5069')+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x506a')+_0x1cd3('0x506b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5141')+_0x1cd3('0x3d89')+_0x1cd3('0x4bed')+_0x1cd3('0x506d')+_0x1cd3('0x5142')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Subject\x0a'+_0x1cd3('0x3d89')+_0x1cd3('0x4bed')+_0x1cd3('0x4bf1')+_0x1cd3('0x4bf2')+_0x1cd3('0x3846')+_0x1cd3('0x383a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x384c')+_0x1cd3('0x514b')+_0x1cd3('0x5084')+'\x0a'+_0x1cd3('0x504e')+_0x1cd3('0x504f')+_0x1cd3('0x5144')+_0x1cd3('0x506e')+_0x1cd3('0x5051')+_0x1cd3('0x506f')+_0x1cd3('0x3d4f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5070')+_0x1cd3('0x5071')+_0x1cd3('0x491c')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366b')+_0x1cd3('0x5145')+_0x1cd3('0x3d4f')+_0x1cd3('0x5072')+_0x1cd3('0x4872')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5057')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3837')+_0x1cd3('0x3838')+_0x1cd3('0x5075')+_0x1cd3('0x5059')+_0x1cd3('0x505a')+_0x1cd3('0x5076')+_0x1cd3('0x383a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x383c')+_0x1cd3('0x5077')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{description.id}}\x0a'+_0x1cd3('0x5146')+_0x1cd3('0x5079')+_0x1cd3('0x5147')+_0x1cd3('0x3846')+_0x1cd3('0x507a')+_0x1cd3('0x5148')+_0x1cd3('0x507b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm_cc.variablesById[description.VariableId].name\x20}}\x0a'+_0x1cd3('0x5060')+_0x1cd3('0x5149')+_0x1cd3('0x5062')+_0x1cd3('0x507d')+_0x1cd3('0x507e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm_cc.variablesById[description.VariableId].name\x20}}\x0a'+_0x1cd3('0x5065')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5080')+_0x1cd3('0x3846')+_0x1cd3('0x5067')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5068')+_0x1cd3('0x5069')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x506b')+_0x1cd3('0x5082')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Description\x0a'+_0x1cd3('0x3d89')+_0x1cd3('0x4bed')+_0x1cd3('0x506d')+_0x1cd3('0x514a')+_0x1cd3('0x5083')+_0x1cd3('0x3d89')+_0x1cd3('0x4bed')+_0x1cd3('0x4bf1')+_0x1cd3('0x4bf2')+_0x1cd3('0x3846')+_0x1cd3('0x383a')+_0x1cd3('0x384a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x384c')+_0x1cd3('0x514b')+_0x1cd3('0x5084')+'\x0a'+_0x1cd3('0x5085')+_0x1cd3('0x504f')+'\x20\x20\x20\x20\x20\x20\x20\x20FIELDS\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x5051')+_0x1cd3('0x514c')+_0x1cd3('0x3d4f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5087')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x491c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d4f')+_0x1cd3('0x5089')+_0x1cd3('0x4872')+_0x1cd3('0x508a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x508b')+_0x1cd3('0x3837')+_0x1cd3('0x3838')+_0x1cd3('0x5075')+_0x1cd3('0x5059')+_0x1cd3('0x505a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x383a')+_0x1cd3('0x383b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x508d')+_0x1cd3('0x508e')+_0x1cd3('0x508f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{field.type}}\x0a'+_0x1cd3('0x3846')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x514e')+_0x1cd3('0x5092')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm_cc.variablesById[field.VariableId].name\x20}}\x0a'+_0x1cd3('0x5060')+_0x1cd3('0x5094')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{field.keyContent}}\x0a'+_0x1cd3('0x51a3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm_cc.variablesById[field.VariableId].name\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3692')+_0x1cd3('0x5096')+_0x1cd3('0x3846')+_0x1cd3('0x5067')+_0x1cd3('0x5081')+_0x1cd3('0x5068')+_0x1cd3('0x5069')+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x506a')+_0x1cd3('0x506b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Field\x0a'+_0x1cd3('0x3d89')+_0x1cd3('0x4bed')+_0x1cd3('0x506d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5151')+_0x1cd3('0x3d89')+_0x1cd3('0x4bed')+_0x1cd3('0x4bf1')+_0x1cd3('0x4bf2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x383a')+_0x1cd3('0x384a')+_0x1cd3('0x384b')+_0x1cd3('0x384c')+_0x1cd3('0x514b')+_0x1cd3('0x5084')+'\x0a'+_0x1cd3('0x527d')+_0x1cd3('0x504f')+_0x1cd3('0x527e')+_0x1cd3('0x506e')+_0x1cd3('0x5051')+_0x1cd3('0x527f')+_0x1cd3('0x5280')+_0x1cd3('0x5281')+_0x1cd3('0x5282')+_0x1cd3('0x5283')+_0x1cd3('0x3d1d')+_0x1cd3('0x527f')+_0x1cd3('0x5284')+_0x1cd3('0x5285')+_0x1cd3('0x5286')+_0x1cd3('0x5283')+_0x1cd3('0x3d1d')+_0x1cd3('0x514b')+_0x1cd3('0x5084')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x50a4')+_0x1cd3('0x5287')+_0x1cd3('0x5153')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x50a6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39f4')+_0x1cd3('0x5155')+_0x1cd3('0x3d21')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x50a8')+_0x1cd3('0x376e')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x3e53')+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a66')+'\x0a'+'\x0a');_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x5288'),'\x0a'+'\x0a'+_0x1cd3('0x3adc')+_0x1cd3('0x39ff')+'\x0a'+_0x1cd3('0x3add')+_0x1cd3('0x37e6')+_0x1cd3('0x3a00')+_0x1cd3('0x3ade')+_0x1cd3('0x4f6e')+_0x1cd3('0x38f9')+_0x1cd3('0x5289')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x3ae1')+'\x0a'+_0x1cd3('0x3ae2')+_0x1cd3('0x3ae3')+_0x1cd3('0x3a02')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae4')+_0x1cd3('0x3a04')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f70')+_0x1cd3('0x36c2')+_0x1cd3('0x366a')+_0x1cd3('0x3ae5')+_0x1cd3('0x3756')+_0x1cd3('0x3686')+_0x1cd3('0x3ae6')+'\x0a'+_0x1cd3('0x3a07')+_0x1cd3('0x528a')+_0x1cd3('0x3a09')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae8')+_0x1cd3('0x4f72')+_0x1cd3('0x3671')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a0c')+'\x0a'+_0x1cd3('0x3a0d')+_0x1cd3('0x528b')+_0x1cd3('0x528c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20selected\x0a'+_0x1cd3('0x38f9')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a11')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22$mdOpenMenu($event)\x22\x0a'+_0x1cd3('0x3aec')+_0x1cd3('0x5215')+_0x1cd3('0x3a14')+_0x1cd3('0x367d')+_0x1cd3('0x3a15')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x528d')+_0x1cd3('0x3c2e')+_0x1cd3('0x3849')+_0x1cd3('0x3aee')+_0x1cd3('0x3a16')+_0x1cd3('0x528e')+_0x1cd3('0x3a19')+_0x1cd3('0x3849')+_0x1cd3('0x3aee')+_0x1cd3('0x3a1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x0a'+_0x1cd3('0x3a1b')+_0x1cd3('0x528f')+_0x1cd3('0x3a1d')+_0x1cd3('0x3a1e')+_0x1cd3('0x5290')+_0x1cd3('0x4f78')+_0x1cd3('0x3a20')+_0x1cd3('0x3859')+_0x1cd3('0x3841')+_0x1cd3('0x36f6')+_0x1cd3('0x3686')+_0x1cd3('0x3a21')+'\x0a'+_0x1cd3('0x3a22')+_0x1cd3('0x3a23')+'\x0a'+_0x1cd3('0x3af1')+_0x1cd3('0x3a24')+'\x0a'+_0x1cd3('0x3a25')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a27')+_0x1cd3('0x3af3')+_0x1cd3('0x5291')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a2a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.ID\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.NAME\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4f7c')+_0x1cd3('0x5292')+_0x1cd3('0x3a33')+_0x1cd3('0x3a34')+_0x1cd3('0x3db3')+_0x1cd3('0x3a35')+_0x1cd3('0x5293')+_0x1cd3('0x3c56')+_0x1cd3('0x3a38')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a'+_0x1cd3('0x3a3a')+_0x1cd3('0x3af8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5294')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5295')+_0x1cd3('0x5296')+_0x1cd3('0x5297')+_0x1cd3('0x5298')+_0x1cd3('0x5299')+_0x1cd3('0x5298')+_0x1cd3('0x529a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{salesforceAccount.remoteUri}}\x0a'+_0x1cd3('0x3b02')+'\x0a'+_0x1cd3('0x3cdd')+'\x0a'+_0x1cd3('0x3a49')+'\x0a'+_0x1cd3('0x3a4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22INTEGRATIONS.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a'+_0x1cd3('0x3a4c')+_0x1cd3('0x395d')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a54')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3a4f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3ce1')+'\x0a'+_0x1cd3('0x529c')+_0x1cd3('0x529d')+_0x1cd3('0x529e')+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3a5a')+'\x0a'+_0x1cd3('0x529f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22INTEGRATIONS.DELETE_SALESFORCEACCOUNT\x22>\x0a'+_0x1cd3('0x52a0')+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+_0x1cd3('0x3699')+'\x0a'+_0x1cd3('0x369a')+_0x1cd3('0x3951')+'\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a5f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x52a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a64')+_0x1cd3('0x36f6')+_0x1cd3('0x3a65')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a66')+'\x0a'+_0x1cd3('0x52a2')+_0x1cd3('0x52a3')+_0x1cd3('0x52a4')+_0x1cd3('0x3b0f')+_0x1cd3('0x376d')+_0x1cd3('0x52a5')+_0x1cd3('0x3686'));_0x404b17['put'](_0x1cd3('0x1b2c'),'\x0a'+_0x1cd3('0x52a6')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x4f41')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x4f92')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Username\x0a'+_0x1cd3('0x52a7')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Username\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x50ae')+_0x1cd3('0x4f58')+_0x1cd3('0x52a8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-placeholder=\x22INTEGRATIONS.PASSWORD\x22\x20\x20required\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f5c')+_0x1cd3('0x3756')+_0x1cd3('0x3cec')+_0x1cd3('0x50b1')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x52a9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Email\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4329')+_0x1cd3('0x52ab')+_0x1cd3('0x3756')+_0x1cd3('0x386e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Host\x0a'+_0x1cd3('0x52ac')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x52ad')+_0x1cd3('0x3b24')+_0x1cd3('0x52ae')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x52af')+_0x1cd3('0x3756')+_0x1cd3('0x39ea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MotionProxyAddress\x0a'+_0x1cd3('0x52b0')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x52b1')+_0x1cd3('0x3b24')+_0x1cd3('0x50bd')+_0x1cd3('0x3756')+_0x1cd3('0x3e87')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MotionProxyAddress\x20must\x20be\x20a\x20valid\x20url\x20http://www.xcally.com\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x4f61')+_0x1cd3('0x52b2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x52b3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f63')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ee')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x39ef')+_0x1cd3('0x388f')+_0x1cd3('0x52b4')+_0x1cd3('0x3ad7')+_0x1cd3('0x52b5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22INTEGRATIONS.SAVE\x22\x20translate-attr-aria-label=\x22INTEGRATIONS.SAVE\x22>\x0a'+_0x1cd3('0x39f3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x52b6')+_0x1cd3('0x39f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22servicenowAccountForm.$invalid\x22\x0a'+_0x1cd3('0x52b7')+_0x1cd3('0x52b8')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x52b9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22INTEGRATIONS.DELETE\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x39fe')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17['put'](_0x1cd3('0x1b10'),_0x1cd3('0x52ba')+_0x1cd3('0x52bb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3667')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x3857')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39da')+_0x1cd3('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x0a'+_0x1cd3('0x52bc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x52bd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f92')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f93')+_0x1cd3('0x52be')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x3a6f')+_0x1cd3('0x3f7a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Channel\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f98')+_0x1cd3('0x52c0')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f9a')+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27INTEGRATIONS.INBOUND_IN_QUEUE\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fe5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3ed3')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x388f')+_0x1cd3('0x52c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22servicenowConfigurationForm.$invalid\x20||\x20servicenowConfigurationForm.$pristine\x22\x0a'+_0x1cd3('0x4f66')+_0x1cd3('0x39f3')+_0x1cd3('0x39f4')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39fe')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x1b14'),_0x1cd3('0x52c6')+_0x1cd3('0x52c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x3b14')+_0x1cd3('0x3b1f')+_0x1cd3('0x3b15')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x3b17')+_0x1cd3('0x3756')+_0x1cd3('0x3b18')+_0x1cd3('0x3b19')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+'\x0a'+_0x1cd3('0x4fa5')+_0x1cd3('0x5176')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x50f6')+_0x1cd3('0x5177')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fa8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x0a'+_0x1cd3('0x4faa')+_0x1cd3('0x4fab')+_0x1cd3('0x4fac')+_0x1cd3('0x44d9')+_0x1cd3('0x52c8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22servicenowAccountItemForm.type.$touched\x22\x20role=\x22alert\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x20field\x20is\x0a'+_0x1cd3('0x4faf')+_0x1cd3('0x3841')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x44da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Content\x0a'+_0x1cd3('0x50f9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3c90')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Content\x20field\x0a'+_0x1cd3('0x50fb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36b7')+_0x1cd3('0x44da')+_0x1cd3('0x50fc')+_0x1cd3('0x4fb5')+_0x1cd3('0x4fb6')+_0x1cd3('0x4fb7')+_0x1cd3('0x52c9')+_0x1cd3('0x52ca')+_0x1cd3('0x4fba')+_0x1cd3('0x4fbb')+_0x1cd3('0x4fbc')+_0x1cd3('0x386f')+_0x1cd3('0x3841')+_0x1cd3('0x3868')+'\x0a'+_0x1cd3('0x4fb5')+_0x1cd3('0x4fbd')+_0x1cd3('0x517b')+_0x1cd3('0x4fbe')+_0x1cd3('0x4fbf')+_0x1cd3('0x4fc0')+_0x1cd3('0x4fc1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x20field\x20is\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x0a'+_0x1cd3('0x386f')+_0x1cd3('0x3841')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fc4')+_0x1cd3('0x4fc5')+_0x1cd3('0x52cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22servicenowAccountItemForm.keyContent.$touched\x22\x20role=\x22alert\x22>\x0a'+_0x1cd3('0x4fba')+_0x1cd3('0x4fc8')+_0x1cd3('0x4fc9')+_0x1cd3('0x386f')+_0x1cd3('0x3841')+_0x1cd3('0x3868')+'\x0a'+_0x1cd3('0x5103')+_0x1cd3('0x4fca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-repeat=\x22agentColumn\x20in\x20vm.voiceAgentReportColumns\x22>{{agentColumn}}\x0a'+_0x1cd3('0x4fcf')+_0x1cd3('0x4fd0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5105')+_0x1cd3('0x4fd2')+_0x1cd3('0x4fd0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x52cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22servicenowAccountItemForm.variableName.$touched\x22\x20role=\x22alert\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fd5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22INTEGRATIONS.ERRORS.VARIABLENAME_REQUIRED\x22>Variable\x0a'+_0x1cd3('0x5106')+_0x1cd3('0x386f')+_0x1cd3('0x3841')+_0x1cd3('0x3868')+'\x0a'+_0x1cd3('0x4fd7')+_0x1cd3('0x4fca')+_0x1cd3('0x51ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{variable.name}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fc1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x4fd9')+_0x1cd3('0x3669')+_0x1cd3('0x4fda')+_0x1cd3('0x4fdb')+_0x1cd3('0x4fdc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fdd')+_0x1cd3('0x4fde')+_0x1cd3('0x4fdf')+'\x0a'+_0x1cd3('0x4fe0')+_0x1cd3('0x4fe1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-repeat=\x22standard\x20in\x20vm.fields\x20|\x20filter:\x20{custom:\x20false}\x20\x22>{{standard.name}}\x0a'+_0x1cd3('0x4fcf')+_0x1cd3('0x4fd0')+'\x0a'+_0x1cd3('0x5108')+_0x1cd3('0x4fe2')+_0x1cd3('0x4fe3')+_0x1cd3('0x4fcf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Field\x20is\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x0a'+_0x1cd3('0x386f')+_0x1cd3('0x3841')+_0x1cd3('0x3868')+'\x0a'+_0x1cd3('0x4fe6')+_0x1cd3('0x510b')+_0x1cd3('0x4fe6')+'\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fe8')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4feb')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b1f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x3b17')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b19')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x39ef')+_0x1cd3('0x388f')+_0x1cd3('0x52cd')+_0x1cd3('0x4fec')+_0x1cd3('0x3891')+_0x1cd3('0x3859')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4ff1')+'\x0a'+_0x1cd3('0x4ff2')+_0x1cd3('0x4ff3')+'\x0a'+_0x1cd3('0x4ff4')+_0x1cd3('0x4ff5')+_0x1cd3('0x4ff6')+_0x1cd3('0x389c')+_0x1cd3('0x52ce')+_0x1cd3('0x4ff8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x20field\x20is\x20required\x0a'+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5004')+'\x0a'+_0x1cd3('0x4ffb')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4ffd')+_0x1cd3('0x4ffe')+_0x1cd3('0x4fff')+'\x0a'+_0x1cd3('0x5000')+_0x1cd3('0x5001')+_0x1cd3('0x389c')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20Value\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x5004')+'\x0a'+_0x1cd3('0x5005')+_0x1cd3('0x4fff')+'\x0a'+_0x1cd3('0x5006')+'\x0a'+_0x1cd3('0x52d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22servicenowAccountItemForm.content.$touched\x22\x20role=\x22alert\x22>\x0a'+_0x1cd3('0x4ff9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Content\x20field\x20is\x0a'+_0x1cd3('0x5009')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x5004')+'\x0a'+_0x1cd3('0x5114')+_0x1cd3('0x5115')+_0x1cd3('0x500a')+_0x1cd3('0x500b')+_0x1cd3('0x500c')+_0x1cd3('0x500d')+_0x1cd3('0x5116')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5010')+_0x1cd3('0x5116')+_0x1cd3('0x500e')+_0x1cd3('0x389c')+_0x1cd3('0x52d1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22servicenowAccountItemForm.variableName.$touched\x22\x20role=\x22alert\x22>\x0a'+_0x1cd3('0x4ff9')+_0x1cd3('0x5013')+_0x1cd3('0x5009')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x5004')+'\x0a'+_0x1cd3('0x5014')+'\x20\x20\x20\x20\x20\x20\x20\x20Value\x0a'+_0x1cd3('0x5015')+_0x1cd3('0x5016')+_0x1cd3('0x389c')+_0x1cd3('0x5004')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x37b3')+'\x0a'+'\x0a'+_0x1cd3('0x5019')+_0x1cd3('0x4ff2')+_0x1cd3('0x51f8')+_0x1cd3('0x5118')+_0x1cd3('0x501a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Custom\x20Variable\x0a'+_0x1cd3('0x366e')+_0x1cd3('0x52d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x501e')+'\x20\x20\x0a'+_0x1cd3('0x511a')+'\x20\x20\x20\x20\x20\x20Content\x0a'+_0x1cd3('0x5021')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d56')+_0x1cd3('0x518d')+_0x1cd3('0x3d21')+_0x1cd3('0x3d1d')+'\x20\x20\x0a'+'\x0a'+'\x20\x20\x0a'+_0x1cd3('0x5025')+_0x1cd3('0x5026')+_0x1cd3('0x5027')+_0x1cd3('0x518e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{agentColumn}}\x0a'+_0x1cd3('0x511b')+_0x1cd3('0x5029')+_0x1cd3('0x502a')+_0x1cd3('0x526d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5029')+_0x1cd3('0x502b')+_0x1cd3('0x52d3')+_0x1cd3('0x52d4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Variable\x20name\x20field\x20is\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x0a'+_0x1cd3('0x3d21')+_0x1cd3('0x3d1d')+'\x20\x20\x0a'+'\x0a'+_0x1cd3('0x502f')+_0x1cd3('0x5025')+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{variable.name}}\x0a'+_0x1cd3('0x502b')+_0x1cd3('0x501e')+'\x20\x20');_0x404b17[_0x1cd3('0x37b')]('app/main/apps/integrations/views/servicenowAccounts/edit/view.html',_0x1cd3('0x52d5')+'\x0a'+_0x1cd3('0x3adc')+_0x1cd3('0x3b9f')+_0x1cd3('0x3d5a')+_0x1cd3('0x52d6')+_0x1cd3('0x52d7')+_0x1cd3('0x52d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x388f')+'\x0a'+_0x1cd3('0x52d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x3ba2')+_0x1cd3('0x3ba3')+_0x1cd3('0x52da')+_0x1cd3('0x52db')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x52dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e3b')+_0x1cd3('0x3d24')+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3ae6')+'\x0a'+_0x1cd3('0x3a22')+_0x1cd3('0x3e3c')+'\x0a'+_0x1cd3('0x3baa')+_0x1cd3('0x3fda')+_0x1cd3('0x3e3d')+_0x1cd3('0x503a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e40')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e42')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GENERAL\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e44')+_0x1cd3('0x3e45')+_0x1cd3('0x4f41')+_0x1cd3('0x52dd')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x3e49')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f92')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Username\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x503f')+_0x1cd3('0x3b24')+_0x1cd3('0x4f56')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x50ae')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Password\x0a'+_0x1cd3('0x52a8')+_0x1cd3('0x4f5a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x4f5c')+_0x1cd3('0x3756')+_0x1cd3('0x3cec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Must\x20contain\x20at\x20least\x208\x20characters,\x20with\x20a\x20minimum\x20of\x201\x20lowercase\x20letter,\x201\x20uppercase\x20letter,\x201\x20numeric\x20character\x20and\x201\x20special\x20character\x20~!?*@#$%^&-_=+[{]}.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3ed3')+_0x1cd3('0x3acf')+_0x1cd3('0x52a9')+_0x1cd3('0x52de')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x52df')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x52ab')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x52e0')+_0x1cd3('0x52ac')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x503c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Host\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3e87')+_0x1cd3('0x52af')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x4f5d')+_0x1cd3('0x52b0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5041')+_0x1cd3('0x5042')+_0x1cd3('0x3b24')+_0x1cd3('0x50bd')+_0x1cd3('0x3756')+_0x1cd3('0x3e87')+_0x1cd3('0x4f60')+_0x1cd3('0x3756')+_0x1cd3('0x39ea')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e52')+_0x1cd3('0x3fda')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5043')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e40')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5131')+_0x1cd3('0x376e')+_0x1cd3('0x52e1')+'\x20\x20\x0a'+_0x1cd3('0x5047')+_0x1cd3('0x5048')+_0x1cd3('0x52e2')+_0x1cd3('0x43b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x3689')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x52e3')+_0x1cd3('0x5135')+_0x1cd3('0x3a4a')+_0x1cd3('0x5136')+_0x1cd3('0x42d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b04')+_0x1cd3('0x504a')+_0x1cd3('0x52e4')+_0x1cd3('0x52e5')+_0x1cd3('0x3a52')+_0x1cd3('0x3a53')+_0x1cd3('0x41c8')+_0x1cd3('0x41c9')+_0x1cd3('0x36a0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x487b')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x5139')+_0x1cd3('0x513a')+_0x1cd3('0x504e')+_0x1cd3('0x504f')+_0x1cd3('0x5050')+_0x1cd3('0x506e')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x5052')+_0x1cd3('0x3d4f')+_0x1cd3('0x4872')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5054')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x513b')+_0x1cd3('0x3d4f')+_0x1cd3('0x5055')+_0x1cd3('0x4872')+_0x1cd3('0x5056')+_0x1cd3('0x3a20')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+_0x1cd3('0x5057')+_0x1cd3('0x5058')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5075')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.TYPE\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.CONTENT\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x383b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x513c')+_0x1cd3('0x505b')+_0x1cd3('0x513d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{subject.nameField\x20||\x20subject.idField}}\x0a'+_0x1cd3('0x513f')+_0x1cd3('0x3846')+_0x1cd3('0x505c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{subject.content}}\x0a'+_0x1cd3('0x505e')+_0x1cd3('0x505f')+_0x1cd3('0x5060')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{subject.key}}\x0a'+_0x1cd3('0x5062')+_0x1cd3('0x5140')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{subject.variableName}}\x0a'+_0x1cd3('0x5064')+_0x1cd3('0x5065')+_0x1cd3('0x3692')+_0x1cd3('0x5066')+_0x1cd3('0x3846')+_0x1cd3('0x5067')+_0x1cd3('0x5081')+_0x1cd3('0x5068')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x506a')+_0x1cd3('0x506b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5141')+_0x1cd3('0x3d89')+_0x1cd3('0x4bed')+_0x1cd3('0x506d')+_0x1cd3('0x5142')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Subject\x0a'+_0x1cd3('0x3d89')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x4bf1')+_0x1cd3('0x4bf2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x383a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x384b')+_0x1cd3('0x384c')+_0x1cd3('0x514b')+'\x0a'+'\x0a'+_0x1cd3('0x504e')+_0x1cd3('0x504f')+_0x1cd3('0x5144')+_0x1cd3('0x506e')+_0x1cd3('0x5051')+_0x1cd3('0x506f')+_0x1cd3('0x3d4f')+_0x1cd3('0x4872')+_0x1cd3('0x5070')+_0x1cd3('0x5071')+_0x1cd3('0x491c')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+_0x1cd3('0x5145')+_0x1cd3('0x3d4f')+_0x1cd3('0x5072')+_0x1cd3('0x4872')+_0x1cd3('0x5073')+_0x1cd3('0x3a20')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366b')+_0x1cd3('0x5057')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3837')+_0x1cd3('0x3838')+_0x1cd3('0x5075')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.TYPE\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.CONTENT\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x5076')+_0x1cd3('0x383a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x383c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5078')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5079')+_0x1cd3('0x5147')+_0x1cd3('0x3846')+_0x1cd3('0x507a')+_0x1cd3('0x5148')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{description.variableName}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm_cc.variablesById[description.VariableId].name\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{description.key}}\x0a'+_0x1cd3('0x5062')+_0x1cd3('0x507d')+_0x1cd3('0x507e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm_cc.variablesById[description.VariableId].name\x20}}\x0a'+_0x1cd3('0x5065')+_0x1cd3('0x3692')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{description.content}}\x0a'+_0x1cd3('0x3846')+_0x1cd3('0x5067')+_0x1cd3('0x5081')+_0x1cd3('0x5068')+_0x1cd3('0x5069')+_0x1cd3('0x3a52')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5082')+_0x1cd3('0x51a2')+_0x1cd3('0x3d89')+_0x1cd3('0x4bed')+_0x1cd3('0x506d')+_0x1cd3('0x514a')+_0x1cd3('0x5083')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4bf2')+_0x1cd3('0x3846')+_0x1cd3('0x383a')+_0x1cd3('0x384a')+_0x1cd3('0x384b')+_0x1cd3('0x384c')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x5084')+'\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x52e6')+_0x1cd3('0x5153')+_0x1cd3('0x5154')+_0x1cd3('0x50a6')+_0x1cd3('0x50a7')+_0x1cd3('0x39f4')+_0x1cd3('0x5155')+_0x1cd3('0x3d21')+_0x1cd3('0x3d1d')+_0x1cd3('0x50a8')+_0x1cd3('0x376e')+'\x0a'+_0x1cd3('0x3e51')+_0x1cd3('0x3fba')+_0x1cd3('0x3e52')+_0x1cd3('0x3e53')+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a66')+'\x0a'+_0x1cd3('0x376e'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x1b3'),_0x1cd3('0x52e7')+'\x0a'+_0x1cd3('0x3adc')+_0x1cd3('0x39ff')+'\x0a'+_0x1cd3('0x3add')+_0x1cd3('0x37e6')+_0x1cd3('0x3a00')+_0x1cd3('0x3ade')+_0x1cd3('0x4f6e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x52e8')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3ae2')+_0x1cd3('0x3ae3')+_0x1cd3('0x3a02')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a05')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3686')+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x52e9')+_0x1cd3('0x3a09')+'\x0a'+_0x1cd3('0x52ea')+_0x1cd3('0x3a0b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f72')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x3a0c')+'\x0a'+_0x1cd3('0x3a0d')+_0x1cd3('0x52eb')+_0x1cd3('0x52ec')+_0x1cd3('0x4f75')+_0x1cd3('0x38f9')+'\x0a'+_0x1cd3('0x3aeb')+_0x1cd3('0x3a11')+_0x1cd3('0x3a12')+_0x1cd3('0x3aec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22INTEGRATIONS.MULTI_SELECT_TOGGLE\x22>\x0a'+_0x1cd3('0x3a14')+_0x1cd3('0x367d')+_0x1cd3('0x3a15')+_0x1cd3('0x3a16')+_0x1cd3('0x52ed')+_0x1cd3('0x3c2e')+_0x1cd3('0x3849')+_0x1cd3('0x3aee')+_0x1cd3('0x3a16')+_0x1cd3('0x52ee')+_0x1cd3('0x3a19')+_0x1cd3('0x3849')+_0x1cd3('0x3aee')+_0x1cd3('0x3a1a')+_0x1cd3('0x3aef')+_0x1cd3('0x366a')+'\x0a'+_0x1cd3('0x3a1b')+_0x1cd3('0x52ef')+_0x1cd3('0x3a1d')+_0x1cd3('0x3a1e')+_0x1cd3('0x52f0')+_0x1cd3('0x4f78')+_0x1cd3('0x3a20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3841')+_0x1cd3('0x36f6')+_0x1cd3('0x3686')+_0x1cd3('0x3a21')+'\x0a'+_0x1cd3('0x3a22')+_0x1cd3('0x3a23')+'\x0a'+_0x1cd3('0x3af1')+_0x1cd3('0x3a24')+'\x0a'+_0x1cd3('0x3a25')+_0x1cd3('0x52f1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3af3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x52f2')+_0x1cd3('0x3a2a')+_0x1cd3('0x3a2b')+_0x1cd3('0x4f7a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.NAME\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4f7c')+_0x1cd3('0x52f3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.HOST\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x3a33')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3db3')+_0x1cd3('0x3a35')+_0x1cd3('0x52f4')+_0x1cd3('0x52f5')+_0x1cd3('0x3a38')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3af8')+_0x1cd3('0x3a34')+_0x1cd3('0x52f6')+_0x1cd3('0x52f7')+_0x1cd3('0x52f8')+_0x1cd3('0x52f9')+_0x1cd3('0x52fa')+_0x1cd3('0x52fb')+_0x1cd3('0x52fc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a4a')+_0x1cd3('0x4f84')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x395d')+'\x0a'+_0x1cd3('0x3b04')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3a4f')+'\x0a'+_0x1cd3('0x5300')+_0x1cd3('0x5301')+_0x1cd3('0x5302')+_0x1cd3('0x3a52')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3ce1')+'\x0a'+_0x1cd3('0x5303')+_0x1cd3('0x5304')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Test\x20ServicenowAccount\x0a'+_0x1cd3('0x3a52')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a54')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x50da')+'\x0a'+_0x1cd3('0x5305')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22INTEGRATIONS.DELETE_SERVICENOWACCOUNT\x22>\x0a'+_0x1cd3('0x5306')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+_0x1cd3('0x3699')+'\x0a'+_0x1cd3('0x369a')+_0x1cd3('0x3951')+'\x0a'+'\x0a'+_0x1cd3('0x3a34')+_0x1cd3('0x3a5d')+_0x1cd3('0x3a5e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a61')+_0x1cd3('0x5307')+_0x1cd3('0x3a63')+'\x0a'+_0x1cd3('0x3a64')+_0x1cd3('0x36f6')+_0x1cd3('0x3a65')+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a66')+'\x0a'+_0x1cd3('0x5308')+_0x1cd3('0x5309')+_0x1cd3('0x530a')+_0x1cd3('0x3b0f')+_0x1cd3('0x376d')+_0x1cd3('0x530b')+_0x1cd3('0x3686'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x1b5c'),'\x0a'+_0x1cd3('0x530c')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x4f41')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x4f53')+_0x1cd3('0x530e')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x530f')+_0x1cd3('0x3b24')+_0x1cd3('0x4f56')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Uri\x0a'+_0x1cd3('0x5310')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x5311')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Uri\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3e87')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Uri\x20must\x20be\x20a\x20valid\x20url\x20http://www.xcally.com\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x39ea')+_0x1cd3('0x36aa')+_0x1cd3('0x50ae')+_0x1cd3('0x4f58')+_0x1cd3('0x5312')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-placeholder=\x22INTEGRATIONS.PASSWORD\x22\x20\x20required\x20\x20>\x0a'+_0x1cd3('0x5313')+_0x1cd3('0x3b24')+_0x1cd3('0x4f5c')+_0x1cd3('0x3756')+_0x1cd3('0x3cec')+_0x1cd3('0x50b1')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3ed3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MotionProxyAddress\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5041')+_0x1cd3('0x5314')+_0x1cd3('0x3b24')+_0x1cd3('0x50bd')+_0x1cd3('0x3756')+_0x1cd3('0x3e87')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MotionProxyAddress\x20must\x20be\x20a\x20valid\x20url\x20http://www.xcally.com\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x39ea')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x0a'+_0x1cd3('0x5315')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x5316')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f63')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x39ef')+_0x1cd3('0x388f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x1cd3('0x39f4')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5318')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x39fa')+_0x1cd3('0x5319')+_0x1cd3('0x4f6b')+_0x1cd3('0x3a20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x39fe')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x531a'),_0x1cd3('0x531b')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x0a'+_0x1cd3('0x531c')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x531d')+_0x1cd3('0x3b24')+_0x1cd3('0x4f92')+_0x1cd3('0x3756')+_0x1cd3('0x39ea')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x4f93')+_0x1cd3('0x531e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6f')+_0x1cd3('0x3f7a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x531f')+_0x1cd3('0x3b24')+_0x1cd3('0x4f97')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x0a'+_0x1cd3('0x5320')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x3f7a')+_0x1cd3('0x4f9a')+_0x1cd3('0x3a4d')+_0x1cd3('0x50e9')+_0x1cd3('0x3fe5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x39ef')+_0x1cd3('0x388f')+_0x1cd3('0x5322')+_0x1cd3('0x3ad7')+_0x1cd3('0x5323')+_0x1cd3('0x4f66')+_0x1cd3('0x39f3')+_0x1cd3('0x39f4')+'\x0a'+_0x1cd3('0x5324')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x1cd3('0x5325')+_0x1cd3('0x5326')+_0x1cd3('0x5327')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39fa')+_0x1cd3('0x5328')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22INTEGRATIONS.DELETE\x22>\x0a'+_0x1cd3('0x3a20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x39fe')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x1b44'),_0x1cd3('0x5329')+_0x1cd3('0x532a')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x3b14')+_0x1cd3('0x3b1f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x3b16')+_0x1cd3('0x3b17')+_0x1cd3('0x3756')+_0x1cd3('0x3b18')+_0x1cd3('0x3b19')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+'\x0a'+_0x1cd3('0x4fa5')+_0x1cd3('0x5176')+_0x1cd3('0x4fa6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x5177')+_0x1cd3('0x3669')+_0x1cd3('0x4fa7')+_0x1cd3('0x4fa8')+_0x1cd3('0x46ea')+_0x1cd3('0x4fa9')+_0x1cd3('0x4faa')+_0x1cd3('0x4fab')+_0x1cd3('0x4fac')+_0x1cd3('0x44d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3841')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x44da')+_0x1cd3('0x4fb0')+_0x1cd3('0x4fb1')+_0x1cd3('0x50f9')+_0x1cd3('0x532c')+_0x1cd3('0x532d')+_0x1cd3('0x3c90')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Content\x20field\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20is\x20required\x0a'+_0x1cd3('0x3841')+_0x1cd3('0x36b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x50fc')+_0x1cd3('0x4fb5')+_0x1cd3('0x4fb6')+_0x1cd3('0x4fb7')+_0x1cd3('0x532e')+_0x1cd3('0x532f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fbb')+_0x1cd3('0x4fbc')+_0x1cd3('0x386f')+_0x1cd3('0x3841')+_0x1cd3('0x3868')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20String\x0a'+_0x1cd3('0x4fbf')+_0x1cd3('0x4fc0')+_0x1cd3('0x4fc1')+_0x1cd3('0x5330')+_0x1cd3('0x5331')+_0x1cd3('0x4fba')+_0x1cd3('0x4fc3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x0a'+_0x1cd3('0x386f')+_0x1cd3('0x3841')+_0x1cd3('0x3868')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fc4')+_0x1cd3('0x4fc5')+_0x1cd3('0x5332')+_0x1cd3('0x5333')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Content\x0a'+_0x1cd3('0x4fc9')+_0x1cd3('0x386f')+_0x1cd3('0x3841')+_0x1cd3('0x3868')+'\x0a'+_0x1cd3('0x5103')+_0x1cd3('0x4fca')+_0x1cd3('0x4fcb')+_0x1cd3('0x4fcc')+_0x1cd3('0x4fcd')+_0x1cd3('0x4fce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-repeat=\x22agentColumn\x20in\x20vm.voiceAgentReportColumns\x22>{{agentColumn}}\x0a'+_0x1cd3('0x4fcf')+_0x1cd3('0x4fd0')+_0x1cd3('0x4fd1')+_0x1cd3('0x5105')+_0x1cd3('0x4fd2')+_0x1cd3('0x4fd0')+_0x1cd3('0x4fc1')+_0x1cd3('0x5334')+_0x1cd3('0x5335')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fd5')+_0x1cd3('0x4fd6')+_0x1cd3('0x5106')+_0x1cd3('0x386f')+_0x1cd3('0x3841')+_0x1cd3('0x3868')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fca')+_0x1cd3('0x51ed')+_0x1cd3('0x4fd8')+_0x1cd3('0x44f0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x4fd9')+_0x1cd3('0x3669')+_0x1cd3('0x4fda')+_0x1cd3('0x4fdb')+_0x1cd3('0x4fdc')+_0x1cd3('0x4fb5')+_0x1cd3('0x4fdd')+_0x1cd3('0x4fde')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4fe0')+_0x1cd3('0x4fe1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-repeat=\x22standard\x20in\x20vm.fields\x20|\x20filter:\x20{custom:\x20false}\x20\x22>{{standard.name}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x5108')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4fc1')+_0x1cd3('0x5336')+_0x1cd3('0x5337')+_0x1cd3('0x4fba')+_0x1cd3('0x4fe5')+_0x1cd3('0x4fbc')+_0x1cd3('0x386f')+_0x1cd3('0x3841')+_0x1cd3('0x3868')+'\x0a'+_0x1cd3('0x4fe6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fe6')+'\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x4fe7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

Account\x20is\x20not\x20connected.\x20Please\x20check\x20your\x20configurations!

\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fe9')+_0x1cd3('0x3669')+_0x1cd3('0x4fea')+_0x1cd3('0x4feb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b15')+_0x1cd3('0x3b16')+_0x1cd3('0x3b17')+_0x1cd3('0x3756')+_0x1cd3('0x3b18')+_0x1cd3('0x3b19')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+_0x1cd3('0x366f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x388f')+_0x1cd3('0x5338')+_0x1cd3('0x4fec')+_0x1cd3('0x3891')+_0x1cd3('0x3859')+'\x0a'+_0x1cd3('0x5339')+_0x1cd3('0x4fee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x3b4b')+_0x1cd3('0x510e')+_0x1cd3('0x3a20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x3675')+_0x1cd3('0x3681')+_0x1cd3('0x384d')+'\x0a'+_0x1cd3('0x4ff0')+'\x0a'+_0x1cd3('0x5185')+_0x1cd3('0x4ff1')+'\x0a'+_0x1cd3('0x4ff2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4ff4')+_0x1cd3('0x4ff5')+_0x1cd3('0x4ff6')+_0x1cd3('0x389c')+_0x1cd3('0x533a')+_0x1cd3('0x4ff8')+_0x1cd3('0x4ff9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x20field\x20is\x20required\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4ffb')+'\x0a'+_0x1cd3('0x4ffc')+'\x0a'+_0x1cd3('0x4ffd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fff')+'\x0a'+_0x1cd3('0x5000')+_0x1cd3('0x5001')+_0x1cd3('0x389c')+'\x0a'+_0x1cd3('0x533b')+_0x1cd3('0x533c')+_0x1cd3('0x4ff9')+_0x1cd3('0x5111')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x5004')+'\x0a'+_0x1cd3('0x5005')+_0x1cd3('0x4fff')+'\x0a'+_0x1cd3('0x5006')+'\x0a'+_0x1cd3('0x533d')+_0x1cd3('0x533e')+_0x1cd3('0x4ff9')+_0x1cd3('0x5113')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x5004')+'\x0a'+_0x1cd3('0x5114')+'\x20\x20\x20\x20\x20\x20\x20\x20Value\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5010')+_0x1cd3('0x5116')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x389c')+_0x1cd3('0x533f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22sugarcrmAccountItemForm.variableName.$touched\x22\x20role=\x22alert\x22>\x0a'+_0x1cd3('0x4ff9')+_0x1cd3('0x5013')+_0x1cd3('0x5009')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x5115')+_0x1cd3('0x5015')+_0x1cd3('0x5016')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5004')+'\x0a'+_0x1cd3('0x5017')+'\x0a'+_0x1cd3('0x37b3')+'\x0a'+_0x1cd3('0x5018')+_0x1cd3('0x5019')+'\x20\x20\x20\x20\x20\x20\x20\x20Type\x0a'+_0x1cd3('0x51f8')+_0x1cd3('0x5118')+_0x1cd3('0x501a')+_0x1cd3('0x501b')+_0x1cd3('0x366e')+_0x1cd3('0x5340')+_0x1cd3('0x4ff9')+_0x1cd3('0x4ffa')+_0x1cd3('0x501d')+_0x1cd3('0x36f6')+_0x1cd3('0x501e')+_0x1cd3('0x501f')+_0x1cd3('0x511a')+_0x1cd3('0x5020')+_0x1cd3('0x5021')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x518d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d1d')+'\x20\x20\x0a'+'\x0a'+_0x1cd3('0x5024')+_0x1cd3('0x5025')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x518e')+_0x1cd3('0x5028')+_0x1cd3('0x511b')+_0x1cd3('0x5029')+_0x1cd3('0x502a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{dialColumn}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x502b')+_0x1cd3('0x5342')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22sugarcrmAccountItemForm.variableName.$touched\x22\x20role=\x22alert\x22>\x0a'+_0x1cd3('0x3d56')+_0x1cd3('0x502d')+_0x1cd3('0x502e')+_0x1cd3('0x3d21')+_0x1cd3('0x3d1d')+_0x1cd3('0x501e')+'\x0a'+_0x1cd3('0x502f')+_0x1cd3('0x5025')+_0x1cd3('0x511e')+_0x1cd3('0x5030')+_0x1cd3('0x502b')+_0x1cd3('0x501e')+'\x20\x20');_0x404b17[_0x1cd3('0x37b')]('app/main/apps/integrations/views/sugarcrmAccounts/edit/view.html',_0x1cd3('0x5343')+'\x0a'+_0x1cd3('0x3adc')+_0x1cd3('0x3b9f')+_0x1cd3('0x3d5a')+_0x1cd3('0x5344')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.gotoSugarcrmAccounts()\x22\x0a'+_0x1cd3('0x5345')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x388f')+'\x0a'+_0x1cd3('0x5346')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ba3')+_0x1cd3('0x5347')+_0x1cd3('0x5348')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5349')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x38c3')+_0x1cd3('0x534a')+_0x1cd3('0x3e3b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3ae6')+'\x0a'+_0x1cd3('0x3a22')+_0x1cd3('0x3e3c')+'\x0a'+_0x1cd3('0x3baa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e3d')+_0x1cd3('0x503a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e40')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e42')+_0x1cd3('0x5198')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e44')+_0x1cd3('0x3e45')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x0a'+_0x1cd3('0x534b')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f92')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x4f53')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f56')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x4f49')+_0x1cd3('0x5310')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x503c')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Uri\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3e87')+_0x1cd3('0x4f4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f58')+_0x1cd3('0x5312')+_0x1cd3('0x4f5a')+_0x1cd3('0x5040')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f5c')+_0x1cd3('0x3756')+_0x1cd3('0x3cec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Must\x20contain\x20at\x20least\x208\x20characters,\x20with\x20a\x20minimum\x20of\x201\x20lowercase\x20letter,\x201\x20uppercase\x20letter,\x201\x20numeric\x20character\x20and\x201\x20special\x20character\x20~!?*@#$%^&-_=+[{]}.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x3ed3')+_0x1cd3('0x3acf')+_0x1cd3('0x4f5d')+_0x1cd3('0x534c')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x5041')+_0x1cd3('0x5042')+_0x1cd3('0x3b24')+_0x1cd3('0x50bd')+_0x1cd3('0x3756')+_0x1cd3('0x3e87')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MotionProxyAddress\x20must\x20be\x20a\x20valid\x20url\x20http://www.xcally.com\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x4f61')+_0x1cd3('0x5315')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x3e4f')+_0x1cd3('0x3b24')+_0x1cd3('0x4f63')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x3fa6')+_0x1cd3('0x3e51')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e52')+_0x1cd3('0x3fda')+_0x1cd3('0x3e3d')+_0x1cd3('0x5043')+_0x1cd3('0x3e3f')+_0x1cd3('0x3e40')+_0x1cd3('0x534d')+_0x1cd3('0x3e42')+_0x1cd3('0x5131')+_0x1cd3('0x376e')+_0x1cd3('0x534e')+_0x1cd3('0x5046')+_0x1cd3('0x5047')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.CONFIGURATIONS\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x534f')+_0x1cd3('0x43b7')+_0x1cd3('0x3671')+_0x1cd3('0x36f6')+_0x1cd3('0x3689')+_0x1cd3('0x5350')+_0x1cd3('0x5351')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a4a')+_0x1cd3('0x5136')+_0x1cd3('0x42d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x504a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5352')+_0x1cd3('0x3a52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41c8')+_0x1cd3('0x41c9')+_0x1cd3('0x36a0')+_0x1cd3('0x36a1')+'\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x5139')+_0x1cd3('0x513a')+_0x1cd3('0x504e')+_0x1cd3('0x504f')+_0x1cd3('0x5050')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x5051')+_0x1cd3('0x5052')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4872')+_0x1cd3('0x5053')+_0x1cd3('0x5054')+_0x1cd3('0x491c')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+_0x1cd3('0x513b')+_0x1cd3('0x3d4f')+_0x1cd3('0x5055')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5056')+_0x1cd3('0x3a20')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+_0x1cd3('0x5057')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3837')+_0x1cd3('0x3838')+_0x1cd3('0x5075')+_0x1cd3('0x5059')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.CONTENT\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x5076')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x383b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x513c')+_0x1cd3('0x505b')+_0x1cd3('0x513d')+_0x1cd3('0x513e')+_0x1cd3('0x513f')+_0x1cd3('0x3846')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{subject.content}}\x0a'+_0x1cd3('0x505e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm_cc.variablesById[subject.VariableId].name\x20}}\x0a'+_0x1cd3('0x5060')+_0x1cd3('0x5061')+_0x1cd3('0x5062')+_0x1cd3('0x5140')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{subject.variableName}}\x0a'+_0x1cd3('0x5064')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5066')+_0x1cd3('0x3846')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5081')+_0x1cd3('0x5068')+_0x1cd3('0x5069')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x506a')+_0x1cd3('0x506b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5141')+_0x1cd3('0x3d89')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x506d')+_0x1cd3('0x5142')+_0x1cd3('0x5143')+_0x1cd3('0x3d89')+_0x1cd3('0x4bed')+_0x1cd3('0x4bf1')+_0x1cd3('0x4bf2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x383a')+_0x1cd3('0x384a')+_0x1cd3('0x384b')+_0x1cd3('0x384c')+_0x1cd3('0x514b')+_0x1cd3('0x5084')+'\x0a'+_0x1cd3('0x504e')+_0x1cd3('0x504f')+_0x1cd3('0x5144')+_0x1cd3('0x506e')+_0x1cd3('0x5051')+_0x1cd3('0x506f')+_0x1cd3('0x3d4f')+_0x1cd3('0x4872')+_0x1cd3('0x5070')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x491c')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d4f')+_0x1cd3('0x5072')+_0x1cd3('0x4872')+_0x1cd3('0x5073')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+_0x1cd3('0x5057')+_0x1cd3('0x5074')+_0x1cd3('0x3837')+_0x1cd3('0x3838')+_0x1cd3('0x5075')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.TYPE\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x505a')+_0x1cd3('0x5076')+_0x1cd3('0x383a')+_0x1cd3('0x383b')+_0x1cd3('0x383c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{description.id}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{description.nameField\x20||\x20description.idField}}\x0a'+_0x1cd3('0x5147')+_0x1cd3('0x3846')+_0x1cd3('0x507a')+_0x1cd3('0x5148')+_0x1cd3('0x507b')+_0x1cd3('0x507c')+_0x1cd3('0x5060')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{description.key}}\x0a'+_0x1cd3('0x5062')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{description.keyContent}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{description.variableName}}\x0a'+_0x1cd3('0x507f')+_0x1cd3('0x5065')+_0x1cd3('0x3692')+_0x1cd3('0x5080')+_0x1cd3('0x3846')+_0x1cd3('0x5067')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5068')+_0x1cd3('0x5069')+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x506a')+_0x1cd3('0x506b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x51a2')+_0x1cd3('0x3d89')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x506d')+_0x1cd3('0x514a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Description\x0a'+_0x1cd3('0x3d89')+_0x1cd3('0x4bed')+_0x1cd3('0x4bf1')+_0x1cd3('0x4bf2')+_0x1cd3('0x3846')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x514b')+_0x1cd3('0x5084')+'\x0a'+_0x1cd3('0x5085')+_0x1cd3('0x504f')+_0x1cd3('0x5086')+_0x1cd3('0x506e')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x514c')+_0x1cd3('0x3d4f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5087')+_0x1cd3('0x5088')+_0x1cd3('0x491c')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+_0x1cd3('0x514d')+_0x1cd3('0x3d4f')+_0x1cd3('0x5089')+_0x1cd3('0x4872')+_0x1cd3('0x508a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x508b')+_0x1cd3('0x3837')+_0x1cd3('0x3838')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.ID\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x5059')+_0x1cd3('0x505a')+_0x1cd3('0x5076')+_0x1cd3('0x383a')+_0x1cd3('0x383b')+_0x1cd3('0x383c')+_0x1cd3('0x508c')+_0x1cd3('0x508d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{field.nameField\x20||\x20field.idField}}\x0a'+_0x1cd3('0x5090')+_0x1cd3('0x3846')+_0x1cd3('0x5091')+_0x1cd3('0x514e')+_0x1cd3('0x5092')+_0x1cd3('0x5093')+_0x1cd3('0x5060')+_0x1cd3('0x5094')+_0x1cd3('0x5062')+_0x1cd3('0x5095')+_0x1cd3('0x51a3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm_cc.variablesById[field.VariableId].name\x20}}\x0a'+_0x1cd3('0x5065')+_0x1cd3('0x3692')+_0x1cd3('0x5096')+_0x1cd3('0x3846')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5068')+_0x1cd3('0x5069')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x506a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5098')+_0x1cd3('0x3d89')+_0x1cd3('0x4bed')+_0x1cd3('0x506d')+_0x1cd3('0x5150')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Field\x0a'+_0x1cd3('0x3d89')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4bf1')+_0x1cd3('0x4bf2')+_0x1cd3('0x3846')+_0x1cd3('0x383a')+_0x1cd3('0x384a')+_0x1cd3('0x384b')+_0x1cd3('0x384c')+_0x1cd3('0x514b')+'\x0a'+'\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x50a4')+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x50a8')+_0x1cd3('0x376e')+'\x0a'+_0x1cd3('0x3e51')+_0x1cd3('0x3fba')+_0x1cd3('0x3e52')+_0x1cd3('0x3e53')+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a66')+'\x0a'+_0x1cd3('0x376e'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x190'),'\x0a'+'\x0a'+_0x1cd3('0x3adc')+_0x1cd3('0x39ff')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x37e6')+_0x1cd3('0x3a00')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38f9')+_0x1cd3('0x5353')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x3ae1')+'\x0a'+_0x1cd3('0x3ae2')+_0x1cd3('0x3ae3')+_0x1cd3('0x3a02')+_0x1cd3('0x3a03')+_0x1cd3('0x3ae4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a05')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36c2')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3ae6')+'\x0a'+_0x1cd3('0x3a07')+_0x1cd3('0x5354')+_0x1cd3('0x3a09')+'\x0a'+_0x1cd3('0x5355')+_0x1cd3('0x3a0b')+_0x1cd3('0x3ae8')+_0x1cd3('0x4f72')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a0c')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x5356')+_0x1cd3('0x5357')+_0x1cd3('0x4f75')+_0x1cd3('0x38f9')+'\x0a'+_0x1cd3('0x3aeb')+_0x1cd3('0x3a11')+_0x1cd3('0x3a12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22multi\x20select\x20toggle\x22\x0a'+_0x1cd3('0x5215')+_0x1cd3('0x3a14')+_0x1cd3('0x367d')+_0x1cd3('0x3a15')+_0x1cd3('0x3a16')+_0x1cd3('0x5358')+_0x1cd3('0x3c2e')+_0x1cd3('0x3849')+_0x1cd3('0x3aee')+_0x1cd3('0x3a16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a19')+_0x1cd3('0x3849')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3aef')+_0x1cd3('0x366a')+'\x0a'+_0x1cd3('0x3a1b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a1d')+_0x1cd3('0x3a1e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x3686')+_0x1cd3('0x3a21')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a23')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a25')+_0x1cd3('0x5359')+_0x1cd3('0x3a27')+_0x1cd3('0x3af3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a2b')+_0x1cd3('0x4f7a')+_0x1cd3('0x4f7b')+_0x1cd3('0x4f7c')+_0x1cd3('0x5292')+_0x1cd3('0x3a33')+_0x1cd3('0x3a34')+_0x1cd3('0x3db3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x535a')+_0x1cd3('0x3c56')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f7e')+_0x1cd3('0x3a3a')+_0x1cd3('0x3af8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x535b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x535c')+_0x1cd3('0x535d')+_0x1cd3('0x535e')+_0x1cd3('0x535f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22name\x20\x22\x20>{{sugarcrmAccount.name}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{sugarcrmAccount.username}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a4f')+'\x0a'+_0x1cd3('0x5361')+_0x1cd3('0x5362')+_0x1cd3('0x5363')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3ce1')+'\x0a'+_0x1cd3('0x5364')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22INTEGRATIONS.TEST_SUGARCRMACCOUNT\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Test\x20SugarcrmAccount\x0a'+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3ce1')+'\x0a'+_0x1cd3('0x5365')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22INTEGRATIONS.DELETE_SUGARCRMACCOUNT\x22>\x0a'+_0x1cd3('0x5366')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3699')+'\x0a'+_0x1cd3('0x369a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x0a'+_0x1cd3('0x3a34')+_0x1cd3('0x3a5d')+_0x1cd3('0x3a5e')+_0x1cd3('0x3a5f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5367')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a64')+_0x1cd3('0x36f6')+_0x1cd3('0x3a65')+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a66')+'\x0a'+_0x1cd3('0x5368')+_0x1cd3('0x5369')+_0x1cd3('0x536a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x376d')+_0x1cd3('0x536b')+'\x20\x20\x20\x20
\x0a');_0x404b17[_0x1cd3('0x37b')]('app/main/apps/integrations/views/vtigerAccounts/create/dialog.html',_0x1cd3('0x536c')+_0x1cd3('0x536d')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x0a'+_0x1cd3('0x536e')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x536f')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x4f61')+_0x1cd3('0x5370')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x5371')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5372')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x5373')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x5374')+_0x1cd3('0x5375')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x5376')+_0x1cd3('0x3b24')+_0x1cd3('0x5377')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Host\x0a'+_0x1cd3('0x5378')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x5379')+_0x1cd3('0x3b24')+_0x1cd3('0x52ae')+_0x1cd3('0x3756')+_0x1cd3('0x3e87')+_0x1cd3('0x52af')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f5d')+_0x1cd3('0x537a')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x537b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x50bd')+_0x1cd3('0x3756')+_0x1cd3('0x3e87')+_0x1cd3('0x4f60')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x39ef')+_0x1cd3('0x388f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5380')+_0x1cd3('0x4f6b')+_0x1cd3('0x3a20')+_0x1cd3('0x4f6c')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x39fe')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')]('app/main/apps/integrations/views/vtigerAccounts/edit/configurations/dialog.html','\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x39ea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x4f93')+_0x1cd3('0x5381')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6f')+_0x1cd3('0x3f7a')+_0x1cd3('0x4f95')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x50e7')+_0x1cd3('0x3acc')+_0x1cd3('0x5382')+_0x1cd3('0x3b24')+_0x1cd3('0x4f97')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x4f98')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.INBOUND_IN_QUEUE\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fe5')+_0x1cd3('0x4f9b')+_0x1cd3('0x3a4d')+_0x1cd3('0x4f9c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x4f9e')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x39ef')+_0x1cd3('0x388f')+_0x1cd3('0x5383')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22vtigerConfigurationForm.$invalid\x20||\x20vtigerConfigurationForm.$pristine\x22\x0a'+_0x1cd3('0x4f66')+_0x1cd3('0x39f3')+_0x1cd3('0x39f4')+'\x0a'+_0x1cd3('0x5384')+_0x1cd3('0x39f6')+_0x1cd3('0x5385')+_0x1cd3('0x5386')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20VTIGERCONFIGURATION\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x39fa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x39fe')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x1b7b'),'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3666')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x3b14')+_0x1cd3('0x3b1f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x3b16')+_0x1cd3('0x3b17')+_0x1cd3('0x3756')+_0x1cd3('0x3b18')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x366a')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5176')+_0x1cd3('0x4fa6')+_0x1cd3('0x50f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x4fa7')+_0x1cd3('0x4fa8')+_0x1cd3('0x46ea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x0a'+_0x1cd3('0x4faa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20String\x0a'+_0x1cd3('0x4fac')+_0x1cd3('0x44d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Content\x0a'+_0x1cd3('0x50f9')+_0x1cd3('0x5388')+_0x1cd3('0x5389')+_0x1cd3('0x3c90')+_0x1cd3('0x4fb4')+_0x1cd3('0x50fb')+_0x1cd3('0x3841')+_0x1cd3('0x36b7')+_0x1cd3('0x44da')+_0x1cd3('0x50fc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Key\x0a'+_0x1cd3('0x4fb7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Key\x20field\x20is\x0a'+_0x1cd3('0x4fbc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x3841')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4fb5')+_0x1cd3('0x4fbd')+_0x1cd3('0x517b')+_0x1cd3('0x4fbe')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Variable\x0a'+_0x1cd3('0x4fc0')+_0x1cd3('0x4fc1')+_0x1cd3('0x538a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22vtigerAccountItemForm.keyType.$touched\x22\x20role=\x22alert\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fc3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x0a'+_0x1cd3('0x386f')+_0x1cd3('0x3841')+_0x1cd3('0x3868')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Content\x0a'+_0x1cd3('0x4fc5')+_0x1cd3('0x538b')+_0x1cd3('0x538c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Content\x0a'+_0x1cd3('0x4fc9')+_0x1cd3('0x386f')+_0x1cd3('0x3841')+_0x1cd3('0x3868')+'\x0a'+_0x1cd3('0x5103')+_0x1cd3('0x4fca')+_0x1cd3('0x4fcb')+_0x1cd3('0x4fcc')+_0x1cd3('0x4fcd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5105')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-repeat=\x22dialColumn\x20in\x20vm.voiceDialReportColumns\x22>{{dialColumn}}\x0a'+_0x1cd3('0x4fd0')+_0x1cd3('0x4fc1')+_0x1cd3('0x538d')+_0x1cd3('0x538e')+_0x1cd3('0x4fba')+_0x1cd3('0x4fd5')+_0x1cd3('0x4fd6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20name\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x3841')+_0x1cd3('0x3868')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fca')+_0x1cd3('0x51ed')+_0x1cd3('0x4fd8')+_0x1cd3('0x44f0')+_0x1cd3('0x4fc1')+_0x1cd3('0x3868')+_0x1cd3('0x3756')+_0x1cd3('0x4fd9')+_0x1cd3('0x3669')+_0x1cd3('0x4fda')+_0x1cd3('0x4fdb')+_0x1cd3('0x4fdc')+_0x1cd3('0x4fb5')+_0x1cd3('0x4fdd')+_0x1cd3('0x4fde')+_0x1cd3('0x4fdf')+'\x0a'+_0x1cd3('0x4fe0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fd0')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{custom.name}}\x0a'+_0x1cd3('0x4fcf')+_0x1cd3('0x4fd0')+'\x0a'+_0x1cd3('0x4fc1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fe6')+'\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fe8')+_0x1cd3('0x3756')+_0x1cd3('0x4fe9')+_0x1cd3('0x3669')+_0x1cd3('0x4fea')+_0x1cd3('0x4feb')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+_0x1cd3('0x3b14')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b15')+_0x1cd3('0x3b16')+_0x1cd3('0x3b17')+_0x1cd3('0x3756')+_0x1cd3('0x3b18')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x367d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x388f')+_0x1cd3('0x5390')+_0x1cd3('0x4fec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x1cd3('0x3859')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3681')+'\x0a'+'\x0a'+_0x1cd3('0x4ff0')+'\x0a'+_0x1cd3('0x5185')+_0x1cd3('0x4ff1')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20Type\x0a'+_0x1cd3('0x4ff3')+'\x0a'+_0x1cd3('0x4ff4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Variable\x0a'+_0x1cd3('0x4ff6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5391')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20role=\x22alert\x22>\x0a'+_0x1cd3('0x4ff9')+_0x1cd3('0x4ffa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x5004')+'\x0a'+_0x1cd3('0x4ffb')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x4ffe')+_0x1cd3('0x4fff')+'\x0a'+_0x1cd3('0x5000')+_0x1cd3('0x5001')+_0x1cd3('0x389c')+'\x0a'+_0x1cd3('0x5392')+_0x1cd3('0x5393')+_0x1cd3('0x4ff9')+_0x1cd3('0x5111')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x5004')+'\x0a'+_0x1cd3('0x5005')+_0x1cd3('0x4fff')+'\x0a'+_0x1cd3('0x5006')+'\x0a'+_0x1cd3('0x5394')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22vtigerAccountItemForm.content.$touched\x22\x20role=\x22alert\x22>\x0a'+_0x1cd3('0x4ff9')+_0x1cd3('0x5113')+_0x1cd3('0x5009')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x5114')+_0x1cd3('0x5115')+_0x1cd3('0x500a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required>\x0a'+_0x1cd3('0x500c')+_0x1cd3('0x500d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x500f')+_0x1cd3('0x5010')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x500e')+_0x1cd3('0x389c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5013')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x5004')+'\x0a'+_0x1cd3('0x5014')+_0x1cd3('0x5115')+_0x1cd3('0x5015')+_0x1cd3('0x5016')+_0x1cd3('0x389c')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x5017')+'\x0a'+_0x1cd3('0x37b3')+'\x0a'+'\x0a'+_0x1cd3('0x5019')+_0x1cd3('0x4ff2')+_0x1cd3('0x51f8')+_0x1cd3('0x5118')+_0x1cd3('0x501a')+_0x1cd3('0x501b')+_0x1cd3('0x366e')+_0x1cd3('0x5396')+_0x1cd3('0x4ff9')+_0x1cd3('0x4ffa')+_0x1cd3('0x501d')+_0x1cd3('0x36f6')+_0x1cd3('0x501e')+_0x1cd3('0x501f')+_0x1cd3('0x511a')+_0x1cd3('0x5020')+_0x1cd3('0x5021')+_0x1cd3('0x5397')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22vtigerAccountItemForm.content.$touched\x22\x20role=\x22alert\x22>\x0a'+_0x1cd3('0x3d56')+_0x1cd3('0x518d')+_0x1cd3('0x3d21')+_0x1cd3('0x3d1d')+_0x1cd3('0x501e')+'\x0a'+_0x1cd3('0x5024')+_0x1cd3('0x5025')+'\x20\x20\x20\x20\x20\x20{{agentColumn}}\x0a'+_0x1cd3('0x511b')+_0x1cd3('0x5029')+_0x1cd3('0x502a')+_0x1cd3('0x526d')+_0x1cd3('0x511b')+_0x1cd3('0x5029')+_0x1cd3('0x502b')+_0x1cd3('0x5398')+_0x1cd3('0x5399')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x502d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x0a'+'\x0a'+'\x20\x20\x0a'+_0x1cd3('0x5025')+_0x1cd3('0x511e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{variable.name}}\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x501e')+_0x1cd3('0x5031'));_0x404b17[_0x1cd3('0x37b')]('app/main/apps/integrations/views/vtigerAccounts/edit/view.html','\x0a'+'\x0a'+_0x1cd3('0x3adc')+_0x1cd3('0x3b9f')+_0x1cd3('0x3d5a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ba1')+_0x1cd3('0x3671')+'\x0a'+_0x1cd3('0x388f')+'\x0a'+_0x1cd3('0x539b')+_0x1cd3('0x539c')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x3ba2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x539d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.vtigerAccount.name}}\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3ba6')+_0x1cd3('0x539e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x38c3')+_0x1cd3('0x539f')+_0x1cd3('0x3e3b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3ae6')+'\x0a'+_0x1cd3('0x3a22')+_0x1cd3('0x3e3c')+'\x0a'+_0x1cd3('0x3baa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e3d')+_0x1cd3('0x503a')+_0x1cd3('0x3e3f')+_0x1cd3('0x3e40')+_0x1cd3('0x53a0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5198')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e44')+_0x1cd3('0x3e45')+_0x1cd3('0x4f41')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x4f61')+_0x1cd3('0x5370')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f63')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5372')+_0x1cd3('0x53a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x503f')+_0x1cd3('0x3b24')+_0x1cd3('0x5373')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Access_Key\x0a'+_0x1cd3('0x5375')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x53a2')+_0x1cd3('0x3b24')+_0x1cd3('0x5377')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x52e0')+_0x1cd3('0x5378')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x503c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x52ae')+_0x1cd3('0x3756')+_0x1cd3('0x3e87')+_0x1cd3('0x52af')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x4f5d')+_0x1cd3('0x537a')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5041')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x50bd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e87')+_0x1cd3('0x4f60')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x3fa6')+_0x1cd3('0x3e51')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x3e52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e3d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CONFIGURATIONS\x0a'+_0x1cd3('0x3e3f')+_0x1cd3('0x3e40')+_0x1cd3('0x53a3')+_0x1cd3('0x3e42')+_0x1cd3('0x5131')+_0x1cd3('0x376e')+_0x1cd3('0x53a4')+'\x20\x20\x0a'+_0x1cd3('0x5047')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.CONFIGURATIONS\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x53a5')+_0x1cd3('0x43b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x3689')+_0x1cd3('0x53a6')+_0x1cd3('0x53a7')+_0x1cd3('0x5135')+_0x1cd3('0x3a4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22INTEGRATIONS.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a'+_0x1cd3('0x42d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x504a')+_0x1cd3('0x53a8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20VtigerConfiguration\x0a'+_0x1cd3('0x3a52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41c8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x36a0')+_0x1cd3('0x36a1')+_0x1cd3('0x487b')+_0x1cd3('0x504d')+_0x1cd3('0x5139')+_0x1cd3('0x513a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x504f')+'\x20\x20\x20\x20\x20\x20\x20\x20SUBJECTS\x0a'+_0x1cd3('0x506e')+_0x1cd3('0x5051')+_0x1cd3('0x5052')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4872')+_0x1cd3('0x5053')+_0x1cd3('0x5054')+_0x1cd3('0x491c')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+_0x1cd3('0x513b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5055')+_0x1cd3('0x4872')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a20')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5057')+_0x1cd3('0x5058')+_0x1cd3('0x3837')+_0x1cd3('0x3838')+_0x1cd3('0x5075')+_0x1cd3('0x5059')+_0x1cd3('0x505a')+_0x1cd3('0x5076')+_0x1cd3('0x383a')+_0x1cd3('0x383b')+_0x1cd3('0x383c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{subject.id}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{subject.nameField\x20||\x20subject.idField}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{subject.type}}\x0a'+_0x1cd3('0x3846')+_0x1cd3('0x505c')+_0x1cd3('0x505d')+_0x1cd3('0x505e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm_cc.variablesById[subject.VariableId].name\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5061')+_0x1cd3('0x5062')+_0x1cd3('0x5140')+_0x1cd3('0x5063')+_0x1cd3('0x5064')+_0x1cd3('0x5065')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5066')+_0x1cd3('0x3846')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5081')+_0x1cd3('0x5068')+_0x1cd3('0x5069')+_0x1cd3('0x3a52')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x506b')+_0x1cd3('0x506c')+_0x1cd3('0x5141')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4bed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5143')+_0x1cd3('0x3d89')+_0x1cd3('0x4bed')+_0x1cd3('0x4bf1')+_0x1cd3('0x4bf2')+_0x1cd3('0x3846')+_0x1cd3('0x383a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x384b')+_0x1cd3('0x384c')+_0x1cd3('0x514b')+'\x0a'+'\x0a'+_0x1cd3('0x504e')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x5144')+_0x1cd3('0x506e')+_0x1cd3('0x5051')+_0x1cd3('0x506f')+_0x1cd3('0x3d4f')+_0x1cd3('0x4872')+_0x1cd3('0x5070')+_0x1cd3('0x5071')+_0x1cd3('0x491c')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366b')+_0x1cd3('0x5145')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm_cc.selectedDescriptions.length}}\x20{{vm_cc.selectedDescriptions.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected\x0a'+_0x1cd3('0x4872')+_0x1cd3('0x5073')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366b')+_0x1cd3('0x5057')+_0x1cd3('0x5074')+_0x1cd3('0x3837')+_0x1cd3('0x3838')+_0x1cd3('0x5075')+_0x1cd3('0x5059')+_0x1cd3('0x505a')+_0x1cd3('0x5076')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x383b')+_0x1cd3('0x383c')+_0x1cd3('0x5077')+_0x1cd3('0x5078')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{description.nameField\x20||\x20description.idField}}\x0a'+_0x1cd3('0x5147')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x507a')+_0x1cd3('0x5148')+_0x1cd3('0x507b')+_0x1cd3('0x507c')+_0x1cd3('0x5060')+_0x1cd3('0x5149')+_0x1cd3('0x5062')+_0x1cd3('0x507d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{description.variableName}}\x0a'+_0x1cd3('0x507f')+_0x1cd3('0x5065')+_0x1cd3('0x3692')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{description.content}}\x0a'+_0x1cd3('0x3846')+_0x1cd3('0x5067')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5068')+_0x1cd3('0x5069')+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x506a')+_0x1cd3('0x506b')+_0x1cd3('0x5082')+_0x1cd3('0x51a2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4bed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5083')+_0x1cd3('0x3d89')+_0x1cd3('0x4bed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4bf2')+_0x1cd3('0x3846')+_0x1cd3('0x383a')+_0x1cd3('0x384a')+_0x1cd3('0x384b')+_0x1cd3('0x384c')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x5084')+'\x0a'+_0x1cd3('0x5085')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20FIELDS\x0a'+_0x1cd3('0x506e')+_0x1cd3('0x5051')+_0x1cd3('0x514c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4872')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5088')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366b')+_0x1cd3('0x514d')+_0x1cd3('0x3d4f')+_0x1cd3('0x5089')+_0x1cd3('0x4872')+_0x1cd3('0x508a')+_0x1cd3('0x3a20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x508b')+_0x1cd3('0x3837')+_0x1cd3('0x3838')+_0x1cd3('0x5075')+_0x1cd3('0x5059')+_0x1cd3('0x505a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x383c')+_0x1cd3('0x508c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{field.id}}\x0a'+_0x1cd3('0x508e')+_0x1cd3('0x508f')+_0x1cd3('0x5090')+_0x1cd3('0x3846')+_0x1cd3('0x5091')+_0x1cd3('0x514e')+_0x1cd3('0x5092')+_0x1cd3('0x5093')+_0x1cd3('0x5060')+_0x1cd3('0x5094')+_0x1cd3('0x5062')+_0x1cd3('0x5095')+_0x1cd3('0x51a3')+_0x1cd3('0x514f')+_0x1cd3('0x5065')+_0x1cd3('0x3692')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{field.content}}\x0a'+_0x1cd3('0x3846')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5081')+_0x1cd3('0x5068')+_0x1cd3('0x5069')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x506a')+_0x1cd3('0x506b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5098')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4bed')+_0x1cd3('0x506d')+_0x1cd3('0x5150')+_0x1cd3('0x5151')+_0x1cd3('0x3d89')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4bf1')+_0x1cd3('0x4bf2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x384a')+_0x1cd3('0x384b')+_0x1cd3('0x384c')+_0x1cd3('0x514b')+_0x1cd3('0x5084')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x50a4')+_0x1cd3('0x53a9')+_0x1cd3('0x5153')+_0x1cd3('0x5154')+_0x1cd3('0x50a6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39f4')+_0x1cd3('0x5155')+_0x1cd3('0x3d21')+_0x1cd3('0x3d1d')+_0x1cd3('0x50a8')+_0x1cd3('0x376e')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e53')+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a66')+'\x0a'+'\x0a');_0x404b17[_0x1cd3('0x37b')]('app/main/apps/integrations/views/vtigerAccounts/vtigerAccounts.html',_0x1cd3('0x53aa')+'\x0a'+_0x1cd3('0x3adc')+_0x1cd3('0x39ff')+'\x0a'+_0x1cd3('0x3add')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a00')+_0x1cd3('0x3ade')+_0x1cd3('0x4f6e')+_0x1cd3('0x38f9')+_0x1cd3('0x53ab')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x3ae1')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a02')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a05')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36c2')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3686')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a07')+_0x1cd3('0x53ac')+_0x1cd3('0x3a09')+'\x0a'+_0x1cd3('0x53ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae8')+_0x1cd3('0x4f72')+_0x1cd3('0x3671')+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x3a0c')+'\x0a'+_0x1cd3('0x3a0d')+_0x1cd3('0x53ae')+_0x1cd3('0x53af')+_0x1cd3('0x4f75')+_0x1cd3('0x38f9')+'\x0a'+_0x1cd3('0x3aeb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a16')+_0x1cd3('0x53b0')+_0x1cd3('0x3c2e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3aee')+_0x1cd3('0x3a16')+_0x1cd3('0x53b1')+_0x1cd3('0x3a19')+_0x1cd3('0x3849')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x53b2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a1e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x3686')+_0x1cd3('0x3a21')+'\x0a'+_0x1cd3('0x3a22')+_0x1cd3('0x3a23')+'\x0a'+_0x1cd3('0x3af1')+_0x1cd3('0x3a24')+'\x0a'+_0x1cd3('0x3a25')+_0x1cd3('0x53b3')+_0x1cd3('0x3a27')+_0x1cd3('0x3af3')+_0x1cd3('0x53b4')+_0x1cd3('0x53b5')+_0x1cd3('0x3a2a')+_0x1cd3('0x3a2b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.ID\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.NAME\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x53b6')+_0x1cd3('0x53b7')+_0x1cd3('0x3a33')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3db3')+_0x1cd3('0x3a35')+_0x1cd3('0x53b8')+_0x1cd3('0x3c56')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f7e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x53b9')+_0x1cd3('0x53ba')+_0x1cd3('0x53bb')+_0x1cd3('0x53bc')+_0x1cd3('0x53bd')+_0x1cd3('0x53be')+_0x1cd3('0x53bf')+_0x1cd3('0x53be')+_0x1cd3('0x53c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3a4f')+'\x0a'+_0x1cd3('0x53c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22INTEGRATIONS.EDIT_VTIGERACCOUNT\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20VtigerAccount\x0a'+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+_0x1cd3('0x3a54')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3ce1')+'\x0a'+_0x1cd3('0x53c3')+_0x1cd3('0x53c4')+_0x1cd3('0x53c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3a5a')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+_0x1cd3('0x3699')+'\x0a'+_0x1cd3('0x369a')+_0x1cd3('0x3951')+'\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a5d')+_0x1cd3('0x3a5e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a61')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a63')+'\x0a'+_0x1cd3('0x3a64')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a66')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x53c8')+_0x1cd3('0x53c9')+_0x1cd3('0x3b0f')+_0x1cd3('0x376d')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3686'));_0x404b17['put'](_0x1cd3('0x1bd3'),_0x1cd3('0x53ca')+_0x1cd3('0x53cb')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x39d7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x0a'+_0x1cd3('0x53cc')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x53cd')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x4f98')+_0x1cd3('0x53ce')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6f')+_0x1cd3('0x3f7a')+_0x1cd3('0x4f44')+_0x1cd3('0x3a4d')+_0x1cd3('0x4f45')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f46')+_0x1cd3('0x3a4d')+_0x1cd3('0x4f47')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x53cf')+_0x1cd3('0x3b24')+_0x1cd3('0x4f9e')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x4f53')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f49')+_0x1cd3('0x53d1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x53d2')+_0x1cd3('0x3b24')+_0x1cd3('0x503d')+_0x1cd3('0x3756')+_0x1cd3('0x3e87')+_0x1cd3('0x4f4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ea')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f4d')+_0x1cd3('0x53d3')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x3a6f')+_0x1cd3('0x53d4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x53d5')+_0x1cd3('0x53d6')+_0x1cd3('0x3a4d')+_0x1cd3('0x53d7')+_0x1cd3('0x3acc')+_0x1cd3('0x53d8')+_0x1cd3('0x3b24')+_0x1cd3('0x4f51')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f58')+_0x1cd3('0x53d9')+_0x1cd3('0x4f5a')+_0x1cd3('0x53da')+_0x1cd3('0x3b24')+_0x1cd3('0x4f5c')+_0x1cd3('0x3756')+_0x1cd3('0x3cec')+_0x1cd3('0x50b1')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3ed3')+_0x1cd3('0x53db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Token\x0a'+_0x1cd3('0x53dc')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x53dd')+_0x1cd3('0x3b24')+_0x1cd3('0x53de')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MotionProxyAddress\x0a'+_0x1cd3('0x53df')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x53e0')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MotionProxyAddress\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e87')+_0x1cd3('0x4f60')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f61')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x4f63')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ee')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x39ef')+_0x1cd3('0x388f')+_0x1cd3('0x53e1')+_0x1cd3('0x3ad7')+_0x1cd3('0x53e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22INTEGRATIONS.SAVE\x22\x20translate-attr-aria-label=\x22INTEGRATIONS.SAVE\x22>\x0a'+_0x1cd3('0x39f3')+_0x1cd3('0x39f4')+'\x0a'+_0x1cd3('0x53e3')+_0x1cd3('0x39f6')+_0x1cd3('0x53e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22INTEGRATIONS.ADD_ZENDESKACCOUNT\x22\x20translate-attr-aria-label=\x22INTEGRATIONS.ADD_ZENDESKACCOUNT\x22>\x0a'+_0x1cd3('0x53e5')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x53e6')+_0x1cd3('0x4f6b')+_0x1cd3('0x3a20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x39fe')+'\x20\x20\x20\x20\x0a'+'\x0a');_0x404b17['put'](_0x1cd3('0x1bb8'),'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x3b14')+_0x1cd3('0x3b1f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x3b16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3b18')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x367d')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+'\x0a'+_0x1cd3('0x4fa5')+_0x1cd3('0x5176')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x50f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x4fa7')+_0x1cd3('0x4fa8')+_0x1cd3('0x46ea')+_0x1cd3('0x4fa9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20String\x0a'+_0x1cd3('0x4fac')+_0x1cd3('0x44d9')+_0x1cd3('0x53e7')+_0x1cd3('0x53e8')+_0x1cd3('0x3c90')+_0x1cd3('0x4fae')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x0a'+_0x1cd3('0x3841')+_0x1cd3('0x36b7')+_0x1cd3('0x44da')+_0x1cd3('0x4fb0')+_0x1cd3('0x4fb1')+_0x1cd3('0x50f9')+_0x1cd3('0x53e9')+_0x1cd3('0x53ea')+_0x1cd3('0x3c90')+_0x1cd3('0x4fb4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20is\x20required\x0a'+_0x1cd3('0x3841')+_0x1cd3('0x36b7')+_0x1cd3('0x44da')+_0x1cd3('0x50fc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fb6')+_0x1cd3('0x4fb7')+_0x1cd3('0x53eb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22zendeskAccountItemForm.key.$touched\x22\x20role=\x22alert\x22>\x0a'+_0x1cd3('0x4fba')+_0x1cd3('0x4fbb')+_0x1cd3('0x4fbc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x3841')+_0x1cd3('0x3868')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fbd')+_0x1cd3('0x517b')+_0x1cd3('0x4fbe')+_0x1cd3('0x4fbf')+_0x1cd3('0x4fc0')+_0x1cd3('0x4fc1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x20field\x20is\x0a'+_0x1cd3('0x4fbc')+_0x1cd3('0x386f')+_0x1cd3('0x3841')+_0x1cd3('0x3868')+'\x0a'+_0x1cd3('0x5100')+_0x1cd3('0x4fc4')+_0x1cd3('0x4fc5')+_0x1cd3('0x53ed')+_0x1cd3('0x53ee')+_0x1cd3('0x4fba')+_0x1cd3('0x4fc8')+_0x1cd3('0x4fc9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3841')+_0x1cd3('0x3868')+'\x0a'+_0x1cd3('0x5103')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Value\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{agentColumn}}\x0a'+_0x1cd3('0x4fcf')+_0x1cd3('0x4fd0')+_0x1cd3('0x4fd1')+_0x1cd3('0x5105')+_0x1cd3('0x4fd2')+_0x1cd3('0x4fd0')+_0x1cd3('0x4fc1')+_0x1cd3('0x53ef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22zendeskAccountItemForm.variableName.$touched\x22\x20role=\x22alert\x22>\x0a'+_0x1cd3('0x4fba')+_0x1cd3('0x4fd5')+_0x1cd3('0x4fd6')+_0x1cd3('0x5106')+_0x1cd3('0x386f')+_0x1cd3('0x3841')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4fd7')+_0x1cd3('0x4fca')+_0x1cd3('0x51ed')+_0x1cd3('0x4fd8')+_0x1cd3('0x44f0')+_0x1cd3('0x4fc1')+_0x1cd3('0x3868')+_0x1cd3('0x3756')+_0x1cd3('0x4fd9')+_0x1cd3('0x3669')+_0x1cd3('0x4fda')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fdc')+_0x1cd3('0x4fb5')+_0x1cd3('0x4fdd')+_0x1cd3('0x4fde')+_0x1cd3('0x4fdf')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fe1')+_0x1cd3('0x5107')+_0x1cd3('0x4fcf')+_0x1cd3('0x4fd0')+'\x0a'+_0x1cd3('0x5108')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4fc1')+_0x1cd3('0x53f0')+_0x1cd3('0x53f1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fe5')+_0x1cd3('0x4fbc')+_0x1cd3('0x386f')+_0x1cd3('0x3841')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4fe6')+_0x1cd3('0x510b')+_0x1cd3('0x4fe6')+'\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fe8')+_0x1cd3('0x3756')+_0x1cd3('0x4fe9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

No\x20Item

\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x366a')+_0x1cd3('0x3b14')+_0x1cd3('0x3b1f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x3b17')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x3b18')+_0x1cd3('0x3b19')+_0x1cd3('0x367d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x39ef')+_0x1cd3('0x388f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x3675')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x384d')+'\x0a'+_0x1cd3('0x4ff0')+'\x0a'+_0x1cd3('0x5185')+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20Type\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4ff4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Variable\x0a'+_0x1cd3('0x4ff6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x53f3')+_0x1cd3('0x4ff8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4ffa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5004')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4ffc')+'\x0a'+_0x1cd3('0x4ffd')+_0x1cd3('0x4ffe')+_0x1cd3('0x4fff')+'\x0a'+_0x1cd3('0x5000')+_0x1cd3('0x5001')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x5005')+_0x1cd3('0x4fff')+'\x0a'+_0x1cd3('0x5006')+'\x0a'+_0x1cd3('0x53f5')+_0x1cd3('0x53f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5113')+_0x1cd3('0x5009')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x5004')+'\x0a'+_0x1cd3('0x5114')+_0x1cd3('0x5115')+_0x1cd3('0x500a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x500d')+_0x1cd3('0x5116')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x500f')+_0x1cd3('0x5010')+_0x1cd3('0x5116')+_0x1cd3('0x500e')+_0x1cd3('0x389c')+_0x1cd3('0x53f7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22zendeskAccountItemForm.variableName.$touched\x22\x20role=\x22alert\x22>\x0a'+_0x1cd3('0x4ff9')+_0x1cd3('0x5013')+_0x1cd3('0x5009')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5004')+'\x0a'+_0x1cd3('0x5014')+'\x20\x20\x20\x20\x20\x20\x20\x20Value\x0a'+_0x1cd3('0x5015')+_0x1cd3('0x5016')+_0x1cd3('0x389c')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x5017')+'\x0a'+_0x1cd3('0x37b3')+'\x0a'+_0x1cd3('0x5018')+_0x1cd3('0x5019')+_0x1cd3('0x4ff2')+_0x1cd3('0x51f8')+_0x1cd3('0x5118')+_0x1cd3('0x501a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Custom\x20Variable\x0a'+_0x1cd3('0x366e')+_0x1cd3('0x53f8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4ffa')+_0x1cd3('0x501d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x501e')+_0x1cd3('0x501f')+'\x20\x20\x0a'+_0x1cd3('0x5020')+_0x1cd3('0x5021')+_0x1cd3('0x53f9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22zendeskAccountItemForm.content.$touched\x22\x20role=\x22alert\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x518d')+_0x1cd3('0x3d21')+_0x1cd3('0x3d1d')+_0x1cd3('0x501e')+'\x0a'+'\x20\x20\x0a'+_0x1cd3('0x5025')+_0x1cd3('0x5026')+_0x1cd3('0x5027')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5028')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5029')+_0x1cd3('0x502a')+_0x1cd3('0x526d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5029')+_0x1cd3('0x502b')+_0x1cd3('0x53fa')+_0x1cd3('0x53fb')+_0x1cd3('0x3d56')+_0x1cd3('0x502d')+_0x1cd3('0x502e')+_0x1cd3('0x3d21')+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x0a'+'\x0a'+_0x1cd3('0x502f')+_0x1cd3('0x5025')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5030')+_0x1cd3('0x502b')+_0x1cd3('0x501e')+_0x1cd3('0x5031'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x17d'),'\x0a'+'\x0a'+_0x1cd3('0x3adc')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x53fc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.gotoZendeskAccounts()\x22\x0a'+_0x1cd3('0x53fd')+_0x1cd3('0x3ba1')+_0x1cd3('0x3671')+'\x0a'+_0x1cd3('0x388f')+'\x0a'+_0x1cd3('0x53fe')+_0x1cd3('0x53ff')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x3ba2')+_0x1cd3('0x3ba3')+_0x1cd3('0x5400')+_0x1cd3('0x5401')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5402')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x38c3')+_0x1cd3('0x5403')+_0x1cd3('0x3e3b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3ae6')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e3c')+'\x0a'+_0x1cd3('0x3baa')+_0x1cd3('0x3fda')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ACCOUNT\x0a'+_0x1cd3('0x3e3f')+_0x1cd3('0x3e40')+_0x1cd3('0x5404')+_0x1cd3('0x3e42')+_0x1cd3('0x5198')+_0x1cd3('0x386f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e45')+_0x1cd3('0x4f41')+_0x1cd3('0x53cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e49')+_0x1cd3('0x3b24')+_0x1cd3('0x4f92')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f98')+_0x1cd3('0x53ce')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x3f7a')+_0x1cd3('0x4f44')+_0x1cd3('0x3a4d')+_0x1cd3('0x4f45')+_0x1cd3('0x3fe5')+_0x1cd3('0x4f46')+_0x1cd3('0x3a4d')+_0x1cd3('0x4f47')+_0x1cd3('0x3acc')+_0x1cd3('0x4347')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Username\x0a'+_0x1cd3('0x5405')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f56')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Uri\x0a'+_0x1cd3('0x53d1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x503d')+_0x1cd3('0x3756')+_0x1cd3('0x3e87')+_0x1cd3('0x4f4c')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x4f4d')+_0x1cd3('0x53d3')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x3a6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Token\x0a'+_0x1cd3('0x3acc')+_0x1cd3('0x503e')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AuthType\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f58')+_0x1cd3('0x53d9')+_0x1cd3('0x4f5a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Password\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3cec')+_0x1cd3('0x50b1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3ed3')+_0x1cd3('0x53db')+_0x1cd3('0x5406')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f5d')+_0x1cd3('0x53df')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x50bd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e87')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MotionProxyAddress\x20must\x20be\x20a\x20valid\x20url\x20http://www.xcally.com\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x4f61')+_0x1cd3('0x5408')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x3fa6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e52')+_0x1cd3('0x3fda')+_0x1cd3('0x3e3d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CONFIGURATIONS\x0a'+_0x1cd3('0x3e3f')+_0x1cd3('0x3e40')+_0x1cd3('0x5409')+_0x1cd3('0x3e42')+_0x1cd3('0x540a')+_0x1cd3('0x376e')+_0x1cd3('0x540b')+_0x1cd3('0x5046')+_0x1cd3('0x5047')+_0x1cd3('0x5048')+_0x1cd3('0x540c')+_0x1cd3('0x43b7')+_0x1cd3('0x3671')+_0x1cd3('0x36f6')+_0x1cd3('0x3689')+_0x1cd3('0x540d')+_0x1cd3('0x540e')+_0x1cd3('0x5135')+_0x1cd3('0x3a4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22INTEGRATIONS.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a'+_0x1cd3('0x42d8')+_0x1cd3('0x395d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x540f')+_0x1cd3('0x5410')+_0x1cd3('0x3a52')+_0x1cd3('0x3a53')+_0x1cd3('0x41c8')+_0x1cd3('0x41c9')+_0x1cd3('0x36a0')+_0x1cd3('0x36a1')+_0x1cd3('0x487b')+_0x1cd3('0x504d')+_0x1cd3('0x5139')+_0x1cd3('0x5411')+_0x1cd3('0x504e')+_0x1cd3('0x504f')+_0x1cd3('0x5050')+_0x1cd3('0x506e')+_0x1cd3('0x5051')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d4f')+_0x1cd3('0x4872')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5054')+_0x1cd3('0x491c')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366b')+_0x1cd3('0x513b')+_0x1cd3('0x3d4f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm_cc.selectedSubjects.length}}\x20{{vm_cc.selectedSubjects.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected\x0a'+_0x1cd3('0x4872')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+_0x1cd3('0x5057')+_0x1cd3('0x5058')+_0x1cd3('0x3837')+_0x1cd3('0x3838')+_0x1cd3('0x5075')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.TYPE\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.CONTENT\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x5076')+_0x1cd3('0x383a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x513c')+_0x1cd3('0x505b')+_0x1cd3('0x513d')+_0x1cd3('0x513e')+_0x1cd3('0x513f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x505c')+_0x1cd3('0x505d')+_0x1cd3('0x505e')+_0x1cd3('0x505f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5061')+_0x1cd3('0x5062')+_0x1cd3('0x5140')+_0x1cd3('0x5063')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm_cc.variablesById[subject.VariableId].name\x20}}\x0a'+_0x1cd3('0x5065')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5066')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5067')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5068')+_0x1cd3('0x5069')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x506b')+_0x1cd3('0x506c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Subject\x0a'+_0x1cd3('0x3d89')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x506d')+_0x1cd3('0x5142')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Subject\x0a'+_0x1cd3('0x3d89')+_0x1cd3('0x4bed')+_0x1cd3('0x4bf1')+_0x1cd3('0x4bf2')+_0x1cd3('0x3846')+_0x1cd3('0x383a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x514b')+_0x1cd3('0x5084')+'\x0a'+_0x1cd3('0x504e')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x5144')+_0x1cd3('0x506e')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d4f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x491c')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+_0x1cd3('0x5145')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5072')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5073')+_0x1cd3('0x3a20')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3837')+_0x1cd3('0x3838')+_0x1cd3('0x5075')+_0x1cd3('0x5059')+_0x1cd3('0x505a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x383a')+_0x1cd3('0x383b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5077')+_0x1cd3('0x5078')+_0x1cd3('0x5146')+_0x1cd3('0x5079')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{description.type}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x507a')+_0x1cd3('0x5148')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{description.variableName}}\x0a'+_0x1cd3('0x507c')+_0x1cd3('0x5060')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{description.key}}\x0a'+_0x1cd3('0x5062')+_0x1cd3('0x507d')+_0x1cd3('0x507e')+_0x1cd3('0x507f')+_0x1cd3('0x5065')+_0x1cd3('0x3692')+_0x1cd3('0x5080')+_0x1cd3('0x3846')+_0x1cd3('0x5067')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5068')+_0x1cd3('0x5069')+_0x1cd3('0x3a52')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x506b')+_0x1cd3('0x5082')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Description\x0a'+_0x1cd3('0x3d89')+_0x1cd3('0x4bed')+_0x1cd3('0x506d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Description\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4bf1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3846')+_0x1cd3('0x383a')+_0x1cd3('0x384a')+_0x1cd3('0x384b')+_0x1cd3('0x384c')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x5084')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x504f')+_0x1cd3('0x5086')+_0x1cd3('0x506e')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x514c')+_0x1cd3('0x3d4f')+_0x1cd3('0x4872')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+_0x1cd3('0x514d')+_0x1cd3('0x3d4f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm_cc.selectedFields.length}}\x20{{vm_cc.selectedFields.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected\x0a'+_0x1cd3('0x4872')+_0x1cd3('0x508a')+_0x1cd3('0x3a20')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5057')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3837')+_0x1cd3('0x3838')+_0x1cd3('0x5075')+_0x1cd3('0x5059')+_0x1cd3('0x505a')+_0x1cd3('0x5076')+_0x1cd3('0x383a')+_0x1cd3('0x383b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x508c')+_0x1cd3('0x508d')+_0x1cd3('0x508e')+_0x1cd3('0x508f')+_0x1cd3('0x5090')+_0x1cd3('0x3846')+_0x1cd3('0x5091')+_0x1cd3('0x514e')+_0x1cd3('0x5092')+_0x1cd3('0x5093')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{field.key}}\x0a'+_0x1cd3('0x5062')+_0x1cd3('0x5095')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{field.variableName}}\x0a'+_0x1cd3('0x514f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3692')+_0x1cd3('0x5096')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5067')+_0x1cd3('0x5081')+_0x1cd3('0x5068')+_0x1cd3('0x5069')+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x506a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5097')+_0x1cd3('0x5098')+_0x1cd3('0x3d89')+_0x1cd3('0x4bed')+_0x1cd3('0x506d')+_0x1cd3('0x5150')+_0x1cd3('0x5151')+_0x1cd3('0x3d89')+_0x1cd3('0x4bed')+_0x1cd3('0x4bf1')+_0x1cd3('0x4bf2')+_0x1cd3('0x3846')+_0x1cd3('0x383a')+_0x1cd3('0x384a')+_0x1cd3('0x384b')+_0x1cd3('0x384c')+_0x1cd3('0x514b')+_0x1cd3('0x5084')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5085')+_0x1cd3('0x5099')+_0x1cd3('0x51a4')+_0x1cd3('0x51a5')+_0x1cd3('0x509a')+_0x1cd3('0x509b')+_0x1cd3('0x509c')+_0x1cd3('0x509d')+_0x1cd3('0x509e')+_0x1cd3('0x509f')+_0x1cd3('0x50a0')+_0x1cd3('0x50a1')+_0x1cd3('0x51a6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x50a3')+_0x1cd3('0x50a4')+_0x1cd3('0x5412')+_0x1cd3('0x5153')+_0x1cd3('0x5154')+_0x1cd3('0x50a6')+_0x1cd3('0x50a7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5155')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d1d')+_0x1cd3('0x50a8')+_0x1cd3('0x376e')+'\x0a'+_0x1cd3('0x3e51')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e52')+_0x1cd3('0x3e53')+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a66')+'\x0a'+_0x1cd3('0x376e'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x1bb4'),_0x1cd3('0x5413')+_0x1cd3('0x5414')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x4f41')+_0x1cd3('0x5415')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x5416')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f92')+_0x1cd3('0x3756')+_0x1cd3('0x39ea')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f93')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5417')+_0x1cd3('0x3b24')+_0x1cd3('0x4f97')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x0a'+_0x1cd3('0x5418')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e6')+_0x1cd3('0x3a6f')+_0x1cd3('0x3f7a')+_0x1cd3('0x4f9a')+_0x1cd3('0x3a4d')+_0x1cd3('0x50e9')+_0x1cd3('0x3fe5')+_0x1cd3('0x4f9b')+_0x1cd3('0x3a4d')+_0x1cd3('0x4f9c')+_0x1cd3('0x3acc')+_0x1cd3('0x5419')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f9e')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3ed3')+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x39ef')+_0x1cd3('0x388f')+_0x1cd3('0x541a')+_0x1cd3('0x3ad7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22zendeskConfigurationForm.$invalid\x20||\x20zendeskConfigurationForm.$pristine\x22\x0a'+_0x1cd3('0x4f66')+_0x1cd3('0x39f3')+_0x1cd3('0x39f4')+'\x0a'+_0x1cd3('0x541b')+_0x1cd3('0x39f6')+_0x1cd3('0x541c')+_0x1cd3('0x541d')+_0x1cd3('0x541e')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39fa')+_0x1cd3('0x541f')+_0x1cd3('0x4f6b')+_0x1cd3('0x3a20')+_0x1cd3('0x4f6c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39fe')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x176'),'\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ff')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x37e6')+_0x1cd3('0x3a00')+_0x1cd3('0x3ade')+_0x1cd3('0x4f6e')+_0x1cd3('0x38f9')+_0x1cd3('0x5420')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x3ae1')+'\x0a'+_0x1cd3('0x3ae2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a02')+_0x1cd3('0x3a03')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a04')+_0x1cd3('0x3a05')+_0x1cd3('0x4f70')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae5')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a07')+'\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a'+_0x1cd3('0x3a09')+'\x0a'+_0x1cd3('0x5421')+_0x1cd3('0x3a0b')+_0x1cd3('0x3ae8')+_0x1cd3('0x4f72')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a0d')+_0x1cd3('0x5422')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedZendeskAccounts.length}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20selected\x0a'+_0x1cd3('0x38f9')+'\x0a'+_0x1cd3('0x3aeb')+_0x1cd3('0x3a11')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22$mdOpenMenu($event)\x22\x0a'+_0x1cd3('0x3aec')+_0x1cd3('0x5215')+_0x1cd3('0x3a14')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a15')+_0x1cd3('0x3a16')+_0x1cd3('0x5423')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Select\x20all\x0a'+_0x1cd3('0x3849')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a16')+_0x1cd3('0x5424')+_0x1cd3('0x3a19')+_0x1cd3('0x3849')+_0x1cd3('0x3aee')+_0x1cd3('0x3a1a')+_0x1cd3('0x3aef')+_0x1cd3('0x366a')+'\x0a'+_0x1cd3('0x3a1b')+_0x1cd3('0x5425')+_0x1cd3('0x3a1d')+_0x1cd3('0x3a1e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3841')+_0x1cd3('0x36f6')+_0x1cd3('0x3686')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a22')+_0x1cd3('0x3a23')+'\x0a'+_0x1cd3('0x3af1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a25')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a27')+_0x1cd3('0x3af3')+_0x1cd3('0x5426')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a2a')+_0x1cd3('0x3a2b')+_0x1cd3('0x4f7a')+_0x1cd3('0x4f7b')+_0x1cd3('0x4f7c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.URI\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a34')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5427')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a38')+_0x1cd3('0x4f7e')+_0x1cd3('0x3a3a')+_0x1cd3('0x3af8')+_0x1cd3('0x3a34')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5428')+_0x1cd3('0x5429')+_0x1cd3('0x542a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22id\x20\x22\x20>{{zendeskAccount.id}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3b04')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3a4f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3ce1')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3a5a')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3951')+'\x0a'+'\x0a'+_0x1cd3('0x3a34')+_0x1cd3('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a5f')+'\x0a'+_0x1cd3('0x5435')+_0x1cd3('0x3a61')+_0x1cd3('0x5436')+_0x1cd3('0x3a63')+'\x0a'+_0x1cd3('0x3a64')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3686')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x5437')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3667')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x3857')+_0x1cd3('0x3858')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x4f41')+_0x1cd3('0x543b')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e5')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x52e0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x5440')+_0x1cd3('0x5441')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x3a6f')+_0x1cd3('0x5442')+_0x1cd3('0x3a4d')+_0x1cd3('0x5443')+_0x1cd3('0x5444')+_0x1cd3('0x3a4d')+_0x1cd3('0x5445')+_0x1cd3('0x5446')+_0x1cd3('0x3a4d')+_0x1cd3('0x5447')+_0x1cd3('0x5448')+_0x1cd3('0x3a4d')+_0x1cd3('0x5449')+_0x1cd3('0x544a')+_0x1cd3('0x3a4d')+_0x1cd3('0x544b')+_0x1cd3('0x3acc')+_0x1cd3('0x544c')+_0x1cd3('0x544d')+_0x1cd3('0x3b24')+_0x1cd3('0x544e')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x512d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x50b7')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x512f')+_0x1cd3('0x544f')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x5450')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x50ba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x5451')+_0x1cd3('0x5452')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5453')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Code\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x5041')+_0x1cd3('0x5454')+_0x1cd3('0x3b24')+_0x1cd3('0x50bd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e87')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MotionProxyAddress\x20must\x20be\x20a\x20valid\x20url\x20http://www.xcally.com\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x39ea')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x4f61')+_0x1cd3('0x5455')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x5456')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x39ef')+_0x1cd3('0x388f')+_0x1cd3('0x5457')+_0x1cd3('0x3ad7')+_0x1cd3('0x5458')+_0x1cd3('0x4f66')+_0x1cd3('0x39f3')+_0x1cd3('0x39f4')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a'+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x1bed'),_0x1cd3('0x545d')+_0x1cd3('0x545e')+_0x1cd3('0x3666')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x4f92')+_0x1cd3('0x3756')+_0x1cd3('0x39ea')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x4f93')+_0x1cd3('0x545f')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x3a6f')+_0x1cd3('0x3f7a')+_0x1cd3('0x4f95')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x50e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5460')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f97')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x4f98')+_0x1cd3('0x5461')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x3a6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f9a')+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27INTEGRATIONS.INBOUND_IN_QUEUE\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fe5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f9e')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x39ef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5462')+_0x1cd3('0x3ad7')+_0x1cd3('0x5463')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22INTEGRATIONS.SAVE\x22\x20translate-attr-aria-label=\x22INTEGRATIONS.SAVE\x22>\x0a'+_0x1cd3('0x39f3')+_0x1cd3('0x39f4')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39fa')+_0x1cd3('0x5467')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22INTEGRATIONS.DELETE\x22>\x0a'+_0x1cd3('0x3a20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a'+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17['put'](_0x1cd3('0x1bf2'),_0x1cd3('0x5468')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b1f')+_0x1cd3('0x3b15')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b19')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+'\x0a'+_0x1cd3('0x4fa5')+_0x1cd3('0x5176')+_0x1cd3('0x4fa6')+_0x1cd3('0x50f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x4fa7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x46ea')+_0x1cd3('0x4fa9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fab')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Key\x20Value\x0a'+_0x1cd3('0x44d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x20field\x20is\x0a'+_0x1cd3('0x4faf')+_0x1cd3('0x3841')+_0x1cd3('0x36b7')+_0x1cd3('0x44da')+_0x1cd3('0x4fb0')+_0x1cd3('0x4fb1')+_0x1cd3('0x50f9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3841')+_0x1cd3('0x36b7')+_0x1cd3('0x44da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fb5')+_0x1cd3('0x4fb6')+_0x1cd3('0x4fb7')+_0x1cd3('0x546b')+_0x1cd3('0x546c')+_0x1cd3('0x4fba')+_0x1cd3('0x4fbb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x0a'+_0x1cd3('0x386f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4fb5')+_0x1cd3('0x4fbd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fbe')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Variable\x0a'+_0x1cd3('0x4fc0')+_0x1cd3('0x4fc1')+_0x1cd3('0x546d')+_0x1cd3('0x546e')+_0x1cd3('0x4fba')+_0x1cd3('0x4fc3')+_0x1cd3('0x4fbc')+_0x1cd3('0x386f')+_0x1cd3('0x3841')+_0x1cd3('0x3868')+'\x0a'+_0x1cd3('0x5100')+_0x1cd3('0x4fc4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x546f')+_0x1cd3('0x5470')+_0x1cd3('0x4fba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Content\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20field\x20is\x20required\x0a'+_0x1cd3('0x386f')+_0x1cd3('0x3841')+_0x1cd3('0x3868')+'\x0a'+_0x1cd3('0x5103')+_0x1cd3('0x4fca')+_0x1cd3('0x4fcb')+_0x1cd3('0x4fcc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fce')+_0x1cd3('0x5104')+_0x1cd3('0x4fcf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fc1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fca')+_0x1cd3('0x51ed')+_0x1cd3('0x4fd8')+_0x1cd3('0x44f0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3868')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fd9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fda')+_0x1cd3('0x4fdb')+_0x1cd3('0x4fdc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fdd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fdf')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fe1')+_0x1cd3('0x5107')+_0x1cd3('0x4fcf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x5108')+_0x1cd3('0x4fe2')+_0x1cd3('0x4fe3')+_0x1cd3('0x4fcf')+_0x1cd3('0x4fd0')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5472')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22zohoAccountItemForm.customField.$touched\x22\x20role=\x22alert\x22>\x0a'+_0x1cd3('0x4fba')+_0x1cd3('0x4fe5')+_0x1cd3('0x4fbc')+_0x1cd3('0x386f')+_0x1cd3('0x3841')+_0x1cd3('0x3868')+'\x0a'+_0x1cd3('0x4fe6')+_0x1cd3('0x510b')+_0x1cd3('0x4fe6')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4fe7')+_0x1cd3('0x4fe8')+_0x1cd3('0x3756')+_0x1cd3('0x4fe9')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

No\x20Item

\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b1f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x3b16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x3b18')+_0x1cd3('0x3b19')+_0x1cd3('0x367d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x39ef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5473')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22INTEGRATIONS.SAVE\x22>\x0a'+_0x1cd3('0x3891')+_0x1cd3('0x3859')+'\x0a'+_0x1cd3('0x5474')+_0x1cd3('0x4fee')+_0x1cd3('0x4fef')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b4b')+_0x1cd3('0x510e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f6c')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x3675')+_0x1cd3('0x3681')+'\x0a'+'\x0a'+'\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x4ff1')+'\x0a'+_0x1cd3('0x4ff2')+_0x1cd3('0x4ff3')+'\x0a'+_0x1cd3('0x4ff4')+_0x1cd3('0x4ff5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Custom\x20Variable\x0a'+_0x1cd3('0x389c')+_0x1cd3('0x5475')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20role=\x22alert\x22>\x0a'+_0x1cd3('0x4ff9')+_0x1cd3('0x4ffa')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x5004')+'\x0a'+_0x1cd3('0x4ffb')+'\x0a'+_0x1cd3('0x4ffc')+'\x0a'+_0x1cd3('0x4ffd')+_0x1cd3('0x4ffe')+_0x1cd3('0x4fff')+'\x0a'+_0x1cd3('0x5000')+_0x1cd3('0x5001')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4ff9')+_0x1cd3('0x5111')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x5004')+'\x0a'+_0x1cd3('0x5005')+_0x1cd3('0x4fff')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x5476')+_0x1cd3('0x5477')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Content\x20field\x20is\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x0a'+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5004')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x5115')+_0x1cd3('0x500a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required>\x0a'+_0x1cd3('0x500c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{agentColumn}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x500e')+_0x1cd3('0x500f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{dialColumn}}\x0a'+_0x1cd3('0x5116')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5478')+_0x1cd3('0x5479')+_0x1cd3('0x4ff9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Variable\x20name\x20field\x20is\x0a'+_0x1cd3('0x5009')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x5004')+'\x0a'+_0x1cd3('0x5014')+_0x1cd3('0x5115')+_0x1cd3('0x5015')+_0x1cd3('0x5016')+_0x1cd3('0x389c')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x5017')+'\x0a'+_0x1cd3('0x37b3')+'\x0a'+_0x1cd3('0x5018')+_0x1cd3('0x5019')+'\x20\x20\x20\x20\x20\x20\x20\x20Type\x0a'+_0x1cd3('0x51f8')+_0x1cd3('0x5118')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Variable\x0a'+_0x1cd3('0x501b')+_0x1cd3('0x366e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4ff9')+_0x1cd3('0x4ffa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+'\x20\x20\x0a'+'\x20\x20\x0a'+_0x1cd3('0x511a')+_0x1cd3('0x5020')+_0x1cd3('0x5021')+_0x1cd3('0x547a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22zohoAccountItemForm.content.$touched\x22\x20role=\x22alert\x22>\x0a'+_0x1cd3('0x3d56')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Content\x20field\x20is\x20required\x0a'+_0x1cd3('0x3d21')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x501e')+'\x0a'+_0x1cd3('0x5024')+_0x1cd3('0x5025')+_0x1cd3('0x5026')+_0x1cd3('0x5027')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5028')+_0x1cd3('0x511b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x502a')+_0x1cd3('0x526d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x502b')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x502d')+_0x1cd3('0x502e')+_0x1cd3('0x3d21')+_0x1cd3('0x3d1d')+_0x1cd3('0x501e')+'\x0a'+_0x1cd3('0x502f')+'\x20\x20\x20\x20\x20\x20Value\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5030')+_0x1cd3('0x502b')+_0x1cd3('0x501e')+'\x20\x20');_0x404b17[_0x1cd3('0x37b')]('app/main/apps/integrations/views/zohoAccounts/edit/view.html','\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b9f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x547c')+_0x1cd3('0x547d')+_0x1cd3('0x547e')+_0x1cd3('0x3ba1')+_0x1cd3('0x3671')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x547f')+_0x1cd3('0x5480')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x3ba2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5481')+_0x1cd3('0x5482')+_0x1cd3('0x3756')+_0x1cd3('0x3ba6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.zohoAccount.createdAt\x20|\x20date:\x27medium\x27}}\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x38c3')+_0x1cd3('0x5483')+_0x1cd3('0x3e3b')+_0x1cd3('0x3d24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3686')+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e3c')+'\x0a'+_0x1cd3('0x3baa')+_0x1cd3('0x3fda')+_0x1cd3('0x3e3d')+_0x1cd3('0x503a')+_0x1cd3('0x3e3f')+_0x1cd3('0x3e40')+_0x1cd3('0x5484')+_0x1cd3('0x3e42')+_0x1cd3('0x5198')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e44')+_0x1cd3('0x3e45')+_0x1cd3('0x4f41')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f92')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Host\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20zoho.eu\x0a'+_0x1cd3('0x3acc')+_0x1cd3('0x5485')+_0x1cd3('0x3b24')+_0x1cd3('0x52ae')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x5440')+_0x1cd3('0x5441')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x5442')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>US\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5486')+_0x1cd3('0x3b24')+_0x1cd3('0x544e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x512d')+_0x1cd3('0x5487')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x5488')+_0x1cd3('0x512e')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ClientId\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ClientSecret\x0a'+_0x1cd3('0x544f')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x5450')+_0x1cd3('0x5130')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ClientSecret\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x5451')+_0x1cd3('0x5452')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5489')+_0x1cd3('0x548a')+_0x1cd3('0x3b24')+_0x1cd3('0x548b')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RefreshToken\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x548c')+_0x1cd3('0x3b24')+_0x1cd3('0x548d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x4f5d')+_0x1cd3('0x548e')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5042')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MotionProxyAddress\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3e87')+_0x1cd3('0x4f60')+_0x1cd3('0x3756')+_0x1cd3('0x39ea')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f61')+_0x1cd3('0x5455')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4f')+_0x1cd3('0x3b24')+_0x1cd3('0x4f63')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x3fa6')+_0x1cd3('0x3e51')+_0x1cd3('0x3fba')+_0x1cd3('0x3e52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e3d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CONFIGURATIONS\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x3e40')+_0x1cd3('0x548f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5131')+'\x0a'+'\x0a'+'\x20\x20\x0a'+_0x1cd3('0x5047')+_0x1cd3('0x5048')+_0x1cd3('0x5490')+_0x1cd3('0x43b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5491')+_0x1cd3('0x5492')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x395d')+_0x1cd3('0x3b04')+_0x1cd3('0x504a')+_0x1cd3('0x5493')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20ZohoConfiguration\x0a'+_0x1cd3('0x3a52')+_0x1cd3('0x3a53')+_0x1cd3('0x41c8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x5139')+_0x1cd3('0x513a')+_0x1cd3('0x504e')+_0x1cd3('0x504f')+_0x1cd3('0x5050')+'\x20\x20\x20\x20
\x0a'+_0x1cd3('0x5051')+_0x1cd3('0x5052')+_0x1cd3('0x3d4f')+_0x1cd3('0x4872')+_0x1cd3('0x5053')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x491c')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+_0x1cd3('0x513b')+_0x1cd3('0x3d4f')+_0x1cd3('0x5055')+_0x1cd3('0x4872')+_0x1cd3('0x5056')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+_0x1cd3('0x5057')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3837')+_0x1cd3('0x3838')+_0x1cd3('0x5075')+_0x1cd3('0x5059')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.CONTENT\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x5076')+_0x1cd3('0x383a')+_0x1cd3('0x383b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x513c')+_0x1cd3('0x505b')+_0x1cd3('0x513d')+_0x1cd3('0x513e')+_0x1cd3('0x513f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x505d')+_0x1cd3('0x505e')+_0x1cd3('0x505f')+_0x1cd3('0x5060')+_0x1cd3('0x5061')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{subject.keyContent}}\x0a'+_0x1cd3('0x5063')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm_cc.variablesById[subject.VariableId].name\x20}}\x0a'+_0x1cd3('0x5065')+_0x1cd3('0x3692')+_0x1cd3('0x5066')+_0x1cd3('0x3846')+_0x1cd3('0x5067')+_0x1cd3('0x5081')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5069')+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x506a')+_0x1cd3('0x506b')+_0x1cd3('0x506c')+_0x1cd3('0x5141')+_0x1cd3('0x3d89')+_0x1cd3('0x4bed')+_0x1cd3('0x506d')+_0x1cd3('0x5142')+_0x1cd3('0x5143')+_0x1cd3('0x3d89')+_0x1cd3('0x4bed')+_0x1cd3('0x4bf1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3846')+_0x1cd3('0x383a')+_0x1cd3('0x384a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x384c')+_0x1cd3('0x514b')+_0x1cd3('0x5084')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x504f')+_0x1cd3('0x5144')+_0x1cd3('0x506e')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x506f')+_0x1cd3('0x3d4f')+_0x1cd3('0x4872')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5071')+_0x1cd3('0x491c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5145')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5072')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5073')+_0x1cd3('0x3a20')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5057')+_0x1cd3('0x5074')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3838')+_0x1cd3('0x5075')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.TYPE\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x505a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x383b')+_0x1cd3('0x383c')+_0x1cd3('0x5077')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{description.id}}\x0a'+_0x1cd3('0x5146')+_0x1cd3('0x5079')+_0x1cd3('0x5147')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5148')+_0x1cd3('0x507b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm_cc.variablesById[description.VariableId].name\x20}}\x0a'+_0x1cd3('0x5060')+_0x1cd3('0x5149')+_0x1cd3('0x5062')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{description.keyContent}}\x0a'+_0x1cd3('0x507e')+_0x1cd3('0x507f')+_0x1cd3('0x5065')+_0x1cd3('0x3692')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{description.content}}\x0a'+_0x1cd3('0x3846')+_0x1cd3('0x5067')+_0x1cd3('0x5081')+_0x1cd3('0x5068')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x506a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5082')+_0x1cd3('0x51a2')+_0x1cd3('0x3d89')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x506d')+_0x1cd3('0x514a')+_0x1cd3('0x5083')+_0x1cd3('0x3d89')+_0x1cd3('0x4bed')+_0x1cd3('0x4bf1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3846')+_0x1cd3('0x383a')+_0x1cd3('0x384a')+_0x1cd3('0x384b')+_0x1cd3('0x384c')+_0x1cd3('0x514b')+_0x1cd3('0x5084')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x504f')+_0x1cd3('0x5086')+_0x1cd3('0x506e')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x514c')+_0x1cd3('0x3d4f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5087')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+_0x1cd3('0x514d')+_0x1cd3('0x3d4f')+_0x1cd3('0x5089')+_0x1cd3('0x4872')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x508b')+_0x1cd3('0x3837')+_0x1cd3('0x3838')+_0x1cd3('0x5075')+_0x1cd3('0x5059')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.CONTENT\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x5076')+_0x1cd3('0x383a')+_0x1cd3('0x383b')+_0x1cd3('0x383c')+_0x1cd3('0x508c')+_0x1cd3('0x508d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x508f')+_0x1cd3('0x5090')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5091')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{field.content}}\x0a'+_0x1cd3('0x5092')+_0x1cd3('0x5093')+_0x1cd3('0x5060')+_0x1cd3('0x5094')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5095')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{field.variableName}}\x0a'+_0x1cd3('0x514f')+_0x1cd3('0x5065')+_0x1cd3('0x3692')+_0x1cd3('0x5096')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5067')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5068')+_0x1cd3('0x5069')+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x506a')+_0x1cd3('0x506b')+_0x1cd3('0x5097')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Field\x0a'+_0x1cd3('0x3d89')+_0x1cd3('0x4bed')+_0x1cd3('0x506d')+_0x1cd3('0x5150')+_0x1cd3('0x5151')+_0x1cd3('0x3d89')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4bf1')+_0x1cd3('0x4bf2')+_0x1cd3('0x3846')+_0x1cd3('0x383a')+_0x1cd3('0x384a')+_0x1cd3('0x384b')+_0x1cd3('0x384c')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x5084')+'\x0a'+_0x1cd3('0x527d')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x527e')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x527f')+_0x1cd3('0x5280')+_0x1cd3('0x5494')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20option.value\x20}}\x0a'+_0x1cd3('0x5283')+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5284')+_0x1cd3('0x5495')+_0x1cd3('0x5286')+_0x1cd3('0x5283')+_0x1cd3('0x3d1d')+_0x1cd3('0x514b')+_0x1cd3('0x5084')+'\x0a'+_0x1cd3('0x5496')+_0x1cd3('0x50a4')+_0x1cd3('0x5497')+_0x1cd3('0x5153')+_0x1cd3('0x5154')+_0x1cd3('0x50a6')+_0x1cd3('0x50a7')+_0x1cd3('0x39f4')+_0x1cd3('0x5155')+_0x1cd3('0x3d21')+_0x1cd3('0x3d1d')+_0x1cd3('0x50a8')+'\x0a'+'\x0a'+_0x1cd3('0x3e51')+_0x1cd3('0x3fba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e53')+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a66')+'\x0a'+_0x1cd3('0x376e'));_0x404b17['put'](_0x1cd3('0x19f'),_0x1cd3('0x5498')+'\x0a'+_0x1cd3('0x3adc')+_0x1cd3('0x39ff')+'\x0a'+_0x1cd3('0x3add')+_0x1cd3('0x37e6')+_0x1cd3('0x3a00')+_0x1cd3('0x3ade')+_0x1cd3('0x4f6e')+_0x1cd3('0x38f9')+_0x1cd3('0x5499')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae3')+_0x1cd3('0x3a02')+_0x1cd3('0x3a03')+_0x1cd3('0x3ae4')+_0x1cd3('0x3a04')+_0x1cd3('0x3a05')+_0x1cd3('0x4f70')+_0x1cd3('0x36c2')+_0x1cd3('0x366a')+_0x1cd3('0x3ae5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3ae6')+'\x0a'+_0x1cd3('0x3a07')+_0x1cd3('0x549a')+_0x1cd3('0x3a09')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a0b')+_0x1cd3('0x3ae8')+_0x1cd3('0x4f72')+_0x1cd3('0x3671')+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x3a0c')+'\x0a'+_0x1cd3('0x3a0d')+_0x1cd3('0x549b')+_0x1cd3('0x549c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20selected\x0a'+_0x1cd3('0x38f9')+'\x0a'+_0x1cd3('0x3aeb')+_0x1cd3('0x3a11')+_0x1cd3('0x3a12')+_0x1cd3('0x3aec')+_0x1cd3('0x5215')+_0x1cd3('0x3a14')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3c2e')+_0x1cd3('0x3849')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Select\x20none\x0a'+_0x1cd3('0x3849')+_0x1cd3('0x3aee')+_0x1cd3('0x3a1a')+_0x1cd3('0x3aef')+_0x1cd3('0x366a')+'\x0a'+_0x1cd3('0x3a1b')+_0x1cd3('0x549d')+_0x1cd3('0x3a1d')+_0x1cd3('0x3a1e')+_0x1cd3('0x549e')+_0x1cd3('0x4f78')+_0x1cd3('0x3a20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a21')+'\x0a'+_0x1cd3('0x3a22')+_0x1cd3('0x3a23')+'\x0a'+_0x1cd3('0x3af1')+_0x1cd3('0x3a24')+'\x0a'+_0x1cd3('0x3a25')+_0x1cd3('0x549f')+_0x1cd3('0x3a27')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x54a0')+_0x1cd3('0x54a1')+_0x1cd3('0x3a2a')+_0x1cd3('0x3a2b')+_0x1cd3('0x4f7a')+_0x1cd3('0x4f7b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.HOST\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x54a2')+_0x1cd3('0x3a33')+_0x1cd3('0x3a34')+_0x1cd3('0x3db3')+_0x1cd3('0x3a35')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3c56')+_0x1cd3('0x3a38')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a'+_0x1cd3('0x3a3a')+_0x1cd3('0x3af8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x54a3')+_0x1cd3('0x54a4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x54a5')+_0x1cd3('0x54a6')+_0x1cd3('0x54a7')+_0x1cd3('0x54a8')+_0x1cd3('0x54a9')+_0x1cd3('0x54aa')+_0x1cd3('0x54ab')+_0x1cd3('0x54ac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a49')+'\x0a'+_0x1cd3('0x3a4a')+_0x1cd3('0x4f84')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x395d')+'\x0a'+_0x1cd3('0x3b04')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a4e')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x54af')+_0x1cd3('0x54b0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Test\x20ZohoAccount\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3a5a')+'\x0a'+_0x1cd3('0x54b1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22INTEGRATIONS.DELETE_ZOHOACCOUNT\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20ZohoAccount\x0a'+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x369a')+_0x1cd3('0x3951')+'\x0a'+'\x0a'+_0x1cd3('0x3a34')+_0x1cd3('0x3a5d')+_0x1cd3('0x3a5e')+_0x1cd3('0x3a5f')+'\x0a'+_0x1cd3('0x54b2')+_0x1cd3('0x3a61')+_0x1cd3('0x54b3')+_0x1cd3('0x3a63')+'\x0a'+_0x1cd3('0x3a64')+_0x1cd3('0x36f6')+_0x1cd3('0x3a65')+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a66')+'\x0a'+_0x1cd3('0x54b4')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x54b9')+_0x1cd3('0x54ba')+_0x1cd3('0x39e1')+_0x1cd3('0x3e46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e5')+_0x1cd3('0x54bb')+_0x1cd3('0x3dff')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x54bc')+_0x1cd3('0x54bd')+_0x1cd3('0x3b24')+_0x1cd3('0x54be')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x54bf')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x0a'+_0x1cd3('0x54c0')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x54c1')+_0x1cd3('0x3b24')+_0x1cd3('0x54c2')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x54c3')+_0x1cd3('0x3ad7')+_0x1cd3('0x54c4')+_0x1cd3('0x54c5')+_0x1cd3('0x39f3')+_0x1cd3('0x39f4')+'\x0a'+_0x1cd3('0x54c6')+_0x1cd3('0x39f6')+_0x1cd3('0x54c7')+_0x1cd3('0x54c8')+_0x1cd3('0x54c9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x39fa')+_0x1cd3('0x54ca')+_0x1cd3('0x54cb')+_0x1cd3('0x3a20')+_0x1cd3('0x54cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x39fe')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x1c4a'),'\x0a'+_0x1cd3('0x54b8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3667')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x3857')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x54b9')+_0x1cd3('0x54ba')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-pattern=\x22/^[A-Za-z0-9\x5c.\x5c_]+$/i\x22\x20\x20\x0a'+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.newProject\x22\x20\x0a'+_0x1cd3('0x3dff')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x54bc')+_0x1cd3('0x54bd')+_0x1cd3('0x3b24')+_0x1cd3('0x54be')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20must\x20be\x20valid\x20pattern\x20\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x3b20')+_0x1cd3('0x54cd')+_0x1cd3('0x54ce')+_0x1cd3('0x54cf')+_0x1cd3('0x54d0')+_0x1cd3('0x54d1')+_0x1cd3('0x3671')+_0x1cd3('0x3675')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x1c3f'),'\x0a'+_0x1cd3('0x54d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x54d3')+_0x1cd3('0x54d4')+_0x1cd3('0x54d5')+_0x1cd3('0x54d6')+_0x1cd3('0x54d7')+_0x1cd3('0x54d8')+_0x1cd3('0x54d6')+_0x1cd3('0x54d9')+_0x1cd3('0x54d8')+_0x1cd3('0x54d6')+_0x1cd3('0x54da')+_0x1cd3('0x54d8')+_0x1cd3('0x54db')+_0x1cd3('0x54dc')+_0x1cd3('0x54dd')+_0x1cd3('0x54de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

{{$index+1}}.\x20{{question.question}}

\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

{{question.answer}}

\x0a'+_0x1cd3('0x54df')+_0x1cd3('0x54e0')+_0x1cd3('0x54e1')+_0x1cd3('0x54e2')+_0x1cd3('0x54e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

No\x20results\x20available

\x0a'+_0x1cd3('0x3fc3')+_0x1cd3('0x36a0')+_0x1cd3('0x54e4')+'\x0a'+_0x1cd3('0x366f')+_0x1cd3('0x3681')+'\x0a');_0x404b17[_0x1cd3('0x37b')]('app/main/apps/jscripty/views/projects/edit/view.html',_0x1cd3('0x54e5')+'\x0a'+_0x1cd3('0x3adc')+_0x1cd3('0x3b9f')+_0x1cd3('0x3d5a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ba1')+_0x1cd3('0x3671')+'\x0a'+_0x1cd3('0x388f')+'\x0a'+_0x1cd3('0x54e7')+_0x1cd3('0x54e8')+_0x1cd3('0x3669')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ba3')+_0x1cd3('0x54e9')+_0x1cd3('0x54ea')+_0x1cd3('0x3756')+_0x1cd3('0x3ba6')+_0x1cd3('0x54eb')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ee')+_0x1cd3('0x54ec')+_0x1cd3('0x54ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22md-fab\x20md-green-500-bg\x20md-icon-button\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22clone\x22\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x54ee')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x54ef')+_0x1cd3('0x3e3b')+_0x1cd3('0x3d24')+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3ae6')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e3c')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fda')+_0x1cd3('0x3e3d')+_0x1cd3('0x54f0')+_0x1cd3('0x3e3f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e42')+_0x1cd3('0x54f1')+_0x1cd3('0x386f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e45')+_0x1cd3('0x54b9')+_0x1cd3('0x54ba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e46')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e5')+_0x1cd3('0x3e47')+_0x1cd3('0x3e48')+_0x1cd3('0x3dff')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x54bc')+_0x1cd3('0x3e49')+_0x1cd3('0x3b24')+_0x1cd3('0x54be')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x54bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x54f2')+_0x1cd3('0x3ed3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3870')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x54f3')+_0x1cd3('0x3ed3')+_0x1cd3('0x54f4')+_0x1cd3('0x3870')+_0x1cd3('0x3acf')+_0x1cd3('0x54f5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x3fa6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fba')+_0x1cd3('0x3e52')+_0x1cd3('0x3fda')+_0x1cd3('0x3e3d')+_0x1cd3('0x54f6')+_0x1cd3('0x3e3f')+_0x1cd3('0x3e40')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x54f7')+_0x1cd3('0x54f8')+_0x1cd3('0x376e')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fba')+_0x1cd3('0x3e52')+_0x1cd3('0x3fda')+_0x1cd3('0x3e3d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PREVIEW\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e40')+_0x1cd3('0x54f9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x54fa')+_0x1cd3('0x54fb')+_0x1cd3('0x54fc')+_0x1cd3('0x4104')+_0x1cd3('0x3824')+_0x1cd3('0x54fd')+_0x1cd3('0x376e')+'\x0a'+_0x1cd3('0x3e51')+_0x1cd3('0x3fba')+_0x1cd3('0x3e52')+_0x1cd3('0x3fda')+_0x1cd3('0x3e3d')+_0x1cd3('0x54fe')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x54ff')+'\x20\x20\x0a'+_0x1cd3('0x4118')+'\x20\x20\x20\x20\x20\x20Sessions\x0a'+_0x1cd3('0x411a')+_0x1cd3('0x411b')+_0x1cd3('0x3841')+'\x20\x20\x0a'+_0x1cd3('0x5500')+_0x1cd3('0x411f')+'\x20\x20\x20\x20\x20\x20\x20\x20{{vm_dc.selectedProjectSessions.length}}\x20{{vm_dc.selectedProjectSessions.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected\x0a'+_0x1cd3('0x3b5a')+_0x1cd3('0x5501')+_0x1cd3('0x4121')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5502')+_0x1cd3('0x5503')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f1c')+_0x1cd3('0x415d')+_0x1cd3('0x4123')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5504')+_0x1cd3('0x4160')+_0x1cd3('0x4126')+_0x1cd3('0x5505')+_0x1cd3('0x4128')+_0x1cd3('0x5506')+_0x1cd3('0x5507')+_0x1cd3('0x4128')+_0x1cd3('0x5508')+_0x1cd3('0x5509')+_0x1cd3('0x4128')+_0x1cd3('0x550a')+_0x1cd3('0x550b')+_0x1cd3('0x4128')+_0x1cd3('0x550c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27JSCRIPTY.CALLERIDNUM\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4128')+_0x1cd3('0x550d')+_0x1cd3('0x550e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x412f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4130')+_0x1cd3('0x550f')+'>\x0a'+_0x1cd3('0x4222')+_0x1cd3('0x5510')+_0x1cd3('0x4133')+_0x1cd3('0x41f8')+_0x1cd3('0x5511')+_0x1cd3('0x413e')+_0x1cd3('0x41fa')+_0x1cd3('0x5512')+_0x1cd3('0x413e')+_0x1cd3('0x4207')+_0x1cd3('0x5513')+_0x1cd3('0x4133')+_0x1cd3('0x4224')+_0x1cd3('0x5514')+_0x1cd3('0x4133')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4226')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5515')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4185')+'\x20\x0a'+_0x1cd3('0x4167')+_0x1cd3('0x5516')+_0x1cd3('0x5517')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Results\x20Session\x0a'+_0x1cd3('0x4213')+_0x1cd3('0x4149')+_0x1cd3('0x5518')+_0x1cd3('0x5519')+_0x1cd3('0x551a')+_0x1cd3('0x3a52')+_0x1cd3('0x4149')+_0x1cd3('0x414a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x414b')+_0x1cd3('0x412f')+_0x1cd3('0x551b')+_0x1cd3('0x551c')+_0x1cd3('0x414d')+_0x1cd3('0x551d')+_0x1cd3('0x414f')+_0x1cd3('0x4150')+_0x1cd3('0x412f')+_0x1cd3('0x4151')+_0x1cd3('0x4152')+_0x1cd3('0x416d')+_0x1cd3('0x551e')+_0x1cd3('0x3824')+'\x0a'+_0x1cd3('0x3e51')+_0x1cd3('0x3fba')+_0x1cd3('0x3e52')+_0x1cd3('0x3fda')+_0x1cd3('0x3e3d')+_0x1cd3('0x551f')+_0x1cd3('0x3e3f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5520')+_0x1cd3('0x5521')+_0x1cd3('0x5522')+_0x1cd3('0x5523')+_0x1cd3('0x5524')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x5525')+_0x1cd3('0x376d')+'\x20\x20\x0a'+_0x1cd3('0x5526')+_0x1cd3('0x5527')+_0x1cd3('0x5528')+_0x1cd3('0x5529')+_0x1cd3('0x552a')+_0x1cd3('0x552b')+_0x1cd3('0x552c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3837')+_0x1cd3('0x552d')+_0x1cd3('0x552e')+_0x1cd3('0x552f')+_0x1cd3('0x5530')+_0x1cd3('0x5531')+_0x1cd3('0x383b')+_0x1cd3('0x383c')+_0x1cd3('0x5532')+_0x1cd3('0x5533')+_0x1cd3('0x5534')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{value*100/question.sum\x20|\x20number:1}}\x0a'+_0x1cd3('0x5531')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5535')+_0x1cd3('0x5536')+_0x1cd3('0x5537')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3c79')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5538')+_0x1cd3('0x5539')+_0x1cd3('0x553a')+_0x1cd3('0x487b')+_0x1cd3('0x553b')+_0x1cd3('0x3824')+_0x1cd3('0x376e')+'\x0a'+_0x1cd3('0x3e51')+_0x1cd3('0x3fba')+_0x1cd3('0x3e52')+_0x1cd3('0x3e53')+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a66')+'\x0a'+_0x1cd3('0x376e'));_0x404b17[_0x1cd3('0x37b')]('app/main/apps/jscripty/views/projects/projects.html',_0x1cd3('0x553c')+'\x0a'+_0x1cd3('0x3adc')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3add')+_0x1cd3('0x37e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x553d')+_0x1cd3('0x38f9')+_0x1cd3('0x553e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae3')+_0x1cd3('0x3a02')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae4')+_0x1cd3('0x3a04')+_0x1cd3('0x3a05')+_0x1cd3('0x553f')+_0x1cd3('0x36c2')+_0x1cd3('0x366a')+_0x1cd3('0x3ae5')+_0x1cd3('0x3756')+_0x1cd3('0x3686')+_0x1cd3('0x3ae6')+'\x0a'+_0x1cd3('0x3a07')+_0x1cd3('0x5540')+_0x1cd3('0x3a09')+'\x0a'+_0x1cd3('0x5541')+_0x1cd3('0x3a0b')+_0x1cd3('0x3ae8')+_0x1cd3('0x5542')+_0x1cd3('0x3671')+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x3a0c')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x5543')+_0x1cd3('0x3d70')+_0x1cd3('0x5544')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3aeb')+_0x1cd3('0x3a11')+_0x1cd3('0x3a12')+_0x1cd3('0x3aec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22JSCRIPTY.MULTI_SELECT_TOGGLE\x22>\x0a'+_0x1cd3('0x3a14')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a15')+_0x1cd3('0x3a16')+_0x1cd3('0x5545')+_0x1cd3('0x3c2e')+_0x1cd3('0x3849')+_0x1cd3('0x3aee')+_0x1cd3('0x3a16')+_0x1cd3('0x5546')+_0x1cd3('0x3a19')+_0x1cd3('0x3849')+_0x1cd3('0x3aee')+_0x1cd3('0x3a1a')+_0x1cd3('0x3aef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x0a'+_0x1cd3('0x3a1b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a1d')+_0x1cd3('0x3a1e')+_0x1cd3('0x5547')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22JSCRIPTY.DELETE_SELECTED\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x3841')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a21')+'\x0a'+_0x1cd3('0x3a22')+_0x1cd3('0x3a23')+'\x0a'+_0x1cd3('0x3af1')+_0x1cd3('0x3a24')+'\x0a'+_0x1cd3('0x3a25')+_0x1cd3('0x3d76')+_0x1cd3('0x3a27')+_0x1cd3('0x3af3')+_0x1cd3('0x5548')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a2a')+_0x1cd3('0x3a2b')+_0x1cd3('0x5549')+_0x1cd3('0x554a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27JSCRIPTY.DESCRIPTION\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27JSCRIPTY.CREATED_AT\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a34')+_0x1cd3('0x3db3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a38')+_0x1cd3('0x554b')+_0x1cd3('0x3a3a')+_0x1cd3('0x3af8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x554c')+_0x1cd3('0x554d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22id\x20\x22\x20>{{project.id}}\x0a'+_0x1cd3('0x554e')+_0x1cd3('0x554f')+_0x1cd3('0x554e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22description\x20\x22\x20>{{project.description}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22JSCRIPTY.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x395d')+'\x0a'+_0x1cd3('0x3b04')+'\x0a'+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3a4f')+'\x0a'+_0x1cd3('0x5551')+_0x1cd3('0x5552')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Project\x0a'+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a54')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3a4f')+'\x0a'+_0x1cd3('0x5553')+_0x1cd3('0x5554')+_0x1cd3('0x5555')+_0x1cd3('0x3a52')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3ce1')+'\x0a'+_0x1cd3('0x5556')+_0x1cd3('0x5557')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Sessions\x20Project\x0a'+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3ce1')+'\x0a'+_0x1cd3('0x5558')+_0x1cd3('0x5559')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Project\x0a'+_0x1cd3('0x3a52')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+_0x1cd3('0x3699')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3951')+'\x0a'+'\x0a'+_0x1cd3('0x3a34')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a5e')+_0x1cd3('0x3a5f')+'\x0a'+_0x1cd3('0x555a')+_0x1cd3('0x3a61')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a63')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x3a65')+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a66')+'\x0a'+_0x1cd3('0x555b')+_0x1cd3('0x555c')+_0x1cd3('0x555d')+_0x1cd3('0x3b0f')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d96')+'\x20\x20\x20\x20\x0a');_0x404b17[_0x1cd3('0x37b')]('app/main/apps/mail/views/mailAccounts/create/dialog.html',_0x1cd3('0x555e')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3858')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x39d7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5561')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5564')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x5565')+_0x1cd3('0x5566')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x5567')+_0x1cd3('0x3b24')+_0x1cd3('0x5568')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4329')+_0x1cd3('0x5569')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x0a'+_0x1cd3('0x556a')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x3a6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20ListId.name\x20}}\x0a'+_0x1cd3('0x3acc')+_0x1cd3('0x556b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x556c')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x556d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3870')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x556e')+_0x1cd3('0x556f')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e6')+_0x1cd3('0x3a6f')+_0x1cd3('0x5570')+_0x1cd3('0x3a4d')+_0x1cd3('0x5571')+_0x1cd3('0x5572')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5573')+_0x1cd3('0x5574')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5575')+_0x1cd3('0x5576')+_0x1cd3('0x3a4d')+_0x1cd3('0x5577')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x557b')+_0x1cd3('0x557c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x557d')+_0x1cd3('0x3b24')+_0x1cd3('0x557e')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x557f')+_0x1cd3('0x5580')+_0x1cd3('0x5581')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x5582')+_0x1cd3('0x3b24')+_0x1cd3('0x5583')+_0x1cd3('0x3756')+_0x1cd3('0x3f9f')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5584')+_0x1cd3('0x5585')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x5586')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5587')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5588')+_0x1cd3('0x5589')+_0x1cd3('0x558a')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x558b')+_0x1cd3('0x3b24')+_0x1cd3('0x558c')+_0x1cd3('0x3756')+_0x1cd3('0x3f9f')+_0x1cd3('0x36aa')+_0x1cd3('0x558d')+_0x1cd3('0x558e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x558f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Username\x0a'+_0x1cd3('0x5590')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5591')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5592')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x5593')+_0x1cd3('0x5594')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x5596')+_0x1cd3('0x3756')+_0x1cd3('0x3cec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Must\x20contain\x20at\x20least\x208\x20characters,\x20with\x20a\x20minimum\x20of\x201\x20lowercase\x20letter,\x201\x20uppercase\x20letter,\x201\x20numeric\x20character\x20and\x201\x20special\x20character\x20~!?*@#$%^&-_=+[{]}.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ed3')+_0x1cd3('0x3acf')+_0x1cd3('0x5597')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x39ef')+_0x1cd3('0x388f')+_0x1cd3('0x559a')+_0x1cd3('0x3ad7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22mailAccountForm.$invalid\x20||\x20mailAccountForm.$pristine\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22MAIL.SAVE\x22\x20translate-attr-aria-label=\x22MAIL.SAVE\x22>\x0a'+_0x1cd3('0x39f3')+_0x1cd3('0x39f4')+'\x0a'+_0x1cd3('0x559b')+_0x1cd3('0x39f6')+_0x1cd3('0x559c')+_0x1cd3('0x559d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20MAILACCOUNT\x0a'+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39fa')+_0x1cd3('0x559e')+_0x1cd3('0x559f')+_0x1cd3('0x3a20')+_0x1cd3('0x55a0')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39fe')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17['put']('app/main/apps/mail/views/mailAccounts/edit/agentadd/agentadd.html','\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e1f')+_0x1cd3('0x3d4f')+_0x1cd3('0x55a1')+_0x1cd3('0x3d50')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+_0x1cd3('0x366c')+_0x1cd3('0x3e21')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e26')+_0x1cd3('0x3e22')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ba9')+_0x1cd3('0x3671')+_0x1cd3('0x3675')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')]('app/main/apps/mail/views/mailAccounts/edit/apps/agent/dialog.html',_0x1cd3('0x555e')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x39d7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x39db')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x55a2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20agent.name\x20}}\x0a'+_0x1cd3('0x3acc')+_0x1cd3('0x55a3')+_0x1cd3('0x3b24')+_0x1cd3('0x55a4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Timeout\x0a'+_0x1cd3('0x3ea8')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ea9')+_0x1cd3('0x3e0e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x55a5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a'+_0x1cd3('0x3e12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x55a6')+_0x1cd3('0x3e12')+_0x1cd3('0x3e15')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39da')+_0x1cd3('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x55a7')+_0x1cd3('0x3ad7')+_0x1cd3('0x55a8')+_0x1cd3('0x55a9')+_0x1cd3('0x39f3')+_0x1cd3('0x39f4')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')]('app/main/apps/mail/views/mailAccounts/edit/apps/autoreply/dialog.html',_0x1cd3('0x555e')+_0x1cd3('0x55aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x55ab')+_0x1cd3('0x3eca')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x55ac')+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>One\x20Time\x0a'+_0x1cd3('0x3ecc')+_0x1cd3('0x3a4d')+_0x1cd3('0x3ecd')+_0x1cd3('0x3acc')+_0x1cd3('0x55ad')+_0x1cd3('0x3b24')+_0x1cd3('0x55ae')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x55af')+_0x1cd3('0x55b0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ed3')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b47')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39f3')+_0x1cd3('0x39f4')+_0x1cd3('0x366a')+_0x1cd3('0x3675')+_0x1cd3('0x3681')+'\x0a');_0x404b17[_0x1cd3('0x37b')]('app/main/apps/mail/views/mailAccounts/edit/apps/close/dialog.html',_0x1cd3('0x555e')+_0x1cd3('0x55aa')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Disposition\x0a'+_0x1cd3('0x3ed5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x55b1')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Disposition\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x39db')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x3b20')+_0x1cd3('0x3b47')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x55b2')+_0x1cd3('0x4d4f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x55b3')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20truepriority\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x55b4')+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+_0x1cd3('0x55b5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f04')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x55b6')+_0x1cd3('0x3f06')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3e0d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x55b7')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20falsepriority\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4e')+_0x1cd3('0x55b8')+_0x1cd3('0x3e12')+_0x1cd3('0x3f04')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x3b20')+_0x1cd3('0x3b47')+_0x1cd3('0x55a7')+_0x1cd3('0x3ad7')+_0x1cd3('0x55a8')+_0x1cd3('0x55a9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x3675')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x55b9'),_0x1cd3('0x555e')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3666')+_0x1cd3('0x3667')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x55ba')+_0x1cd3('0x3f0b')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ea9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x55bb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x55bc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x55bd')+_0x1cd3('0x3e12')+_0x1cd3('0x3f04')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x3b20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x55a7')+_0x1cd3('0x3ad7')+_0x1cd3('0x55a8')+_0x1cd3('0x55a9')+_0x1cd3('0x39f3')+_0x1cd3('0x39f4')+_0x1cd3('0x366a')+_0x1cd3('0x3675')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x55be'),_0x1cd3('0x3f0f')+_0x1cd3('0x3f10')+_0x1cd3('0x3666')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x3b14')+_0x1cd3('0x3b1f')+_0x1cd3('0x3b15')+_0x1cd3('0x3b16')+_0x1cd3('0x3b17')+_0x1cd3('0x3756')+_0x1cd3('0x3b18')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x367d')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+'\x0a'+_0x1cd3('0x3ed3')+_0x1cd3('0x3b28')+_0x1cd3('0x3f11')+_0x1cd3('0x3f12')+_0x1cd3('0x3f13')+_0x1cd3('0x36a9')+_0x1cd3('0x36aa')+'\x0a'+_0x1cd3('0x55bf')+_0x1cd3('0x4d5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f15')+_0x1cd3('0x36a9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4d5e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Time\x20Range\x0a'+_0x1cd3('0x3f17')+_0x1cd3('0x3c8a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Time\x20Range\x20From\x20field\x20is\x20invalid\x0a'+_0x1cd3('0x4456')+_0x1cd3('0x3f1c')+_0x1cd3('0x3c97')+_0x1cd3('0x3669')+_0x1cd3('0x3f1d')+_0x1cd3('0x3f1e')+_0x1cd3('0x3f1f')+_0x1cd3('0x3f20')+_0x1cd3('0x3f21')+_0x1cd3('0x36b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f22')+_0x1cd3('0x36b7')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f23')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f25')+_0x1cd3('0x3f17')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f27')+_0x1cd3('0x3f28')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Always\x0a'+_0x1cd3('0x3f29')+_0x1cd3('0x3b44')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f33')+_0x1cd3('0x3f2b')+_0x1cd3('0x3f29')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f2c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36c2')+_0x1cd3('0x366a')+_0x1cd3('0x3f2d')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4d60')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4d61')+_0x1cd3('0x3f27')+_0x1cd3('0x3f2f')+_0x1cd3('0x3f30')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20month\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3f32')+_0x1cd3('0x3f33')+_0x1cd3('0x3f34')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20month\x20}}\x0a'+_0x1cd3('0x3b44')+_0x1cd3('0x3f35')+_0x1cd3('0x3756')+_0x1cd3('0x36c2')+_0x1cd3('0x366a')+_0x1cd3('0x55c0')+'\x0a'+_0x1cd3('0x3f36')+_0x1cd3('0x3f37')+_0x1cd3('0x3f17')+_0x1cd3('0x4d61')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20From\x0a'+_0x1cd3('0x3f38')+_0x1cd3('0x3f30')+_0x1cd3('0x3f39')+_0x1cd3('0x3b44')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4d62')+_0x1cd3('0x3f33')+_0x1cd3('0x3f3a')+_0x1cd3('0x3f39')+_0x1cd3('0x3b44')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x3f3b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b1f')+_0x1cd3('0x3b15')+_0x1cd3('0x3b16')+_0x1cd3('0x3b17')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b18')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3891')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3f3c')+_0x1cd3('0x3f3d')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x3675')+_0x1cd3('0x3681')+'\x0a');_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x55c1'),_0x1cd3('0x555e')+_0x1cd3('0x55aa')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x55c2')+_0x1cd3('0x4d67')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x55c3')+_0x1cd3('0x3b24')+_0x1cd3('0x55c4')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3b20')+_0x1cd3('0x3b47')+_0x1cd3('0x55a7')+_0x1cd3('0x3ad7')+_0x1cd3('0x55a8')+_0x1cd3('0x55a9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x3675')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x55c5'),_0x1cd3('0x555e')+_0x1cd3('0x55aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x55c6')+_0x1cd3('0x3f44')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x3a6f')+_0x1cd3('0x3f45')+_0x1cd3('0x4d6c')+_0x1cd3('0x3acc')+_0x1cd3('0x55c7')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Queue\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x55c8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x55c9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x55a5')+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+_0x1cd3('0x55ca')+_0x1cd3('0x3e12')+_0x1cd3('0x3e13')+_0x1cd3('0x55a6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e15')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ee')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x3b20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39f3')+_0x1cd3('0x39f4')+_0x1cd3('0x366a')+_0x1cd3('0x3675')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x55cb'),_0x1cd3('0x555e')+_0x1cd3('0x55aa')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x55cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x55cd')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x55ce')+_0x1cd3('0x3f4e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+_0x1cd3('0x3a6f')+_0x1cd3('0x3f4f')+_0x1cd3('0x3f50')+_0x1cd3('0x3f51')+_0x1cd3('0x3acc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x55cf')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3ed3')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x3b20')+_0x1cd3('0x3b47')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39f3')+_0x1cd3('0x39f4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a');_0x404b17['put'](_0x1cd3('0x55d0'),_0x1cd3('0x555e')+_0x1cd3('0x55aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3667')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x55d1')+_0x1cd3('0x3f56')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x4d76')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22tag.canSelect\x20===\x20false\x22>{{\x20tag.name\x20}}\x0a'+_0x1cd3('0x3acc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x55d2')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3ed3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x3b20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x55a7')+_0x1cd3('0x3ad7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22mailAccountFormApp.$invalid\x20||\x20mailAccountFormApp.$pristine\x22\x0a'+_0x1cd3('0x55a9')+_0x1cd3('0x39f3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3675')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x1c8a'),'\x0a'+_0x1cd3('0x55d3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x39db')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Key\x0a'+_0x1cd3('0x55d4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-maxlength=\x22255\x22\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x55d5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ea')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x55d6')+_0x1cd3('0x55d7')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5597')+_0x1cd3('0x55d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ee')+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x39ef')+_0x1cd3('0x388f')+_0x1cd3('0x55d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x1cd3('0x55da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22MAIL.SAVE\x22\x20translate-attr-aria-label=\x22MAIL.SAVE\x22>\x0a'+_0x1cd3('0x39f3')+_0x1cd3('0x39f4')+'\x0a'+_0x1cd3('0x55db')+_0x1cd3('0x39f6')+_0x1cd3('0x55dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22MAIL.ADD_MAILCANNEDANSWER\x22\x20translate-attr-aria-label=\x22MAIL.ADD_MAILCANNEDANSWER\x22>\x0a'+_0x1cd3('0x55dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x39fe')+_0x1cd3('0x3681')+'\x0a');_0x404b17[_0x1cd3('0x37b')]('app/main/apps/mail/views/mailAccounts/edit/mailDispositions/dialog.html',_0x1cd3('0x55de')+_0x1cd3('0x55df')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3667')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x3857')+_0x1cd3('0x3858')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x55e0')+_0x1cd3('0x55e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x5560')+_0x1cd3('0x3756')+_0x1cd3('0x39ea')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x39ef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x39fa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39fe')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x1dc'),_0x1cd3('0x55e7')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d5a')+_0x1cd3('0x55e8')+_0x1cd3('0x55e9')+_0x1cd3('0x55ea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x388f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x55eb')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x3ba2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x55ec')+_0x1cd3('0x55ed')+_0x1cd3('0x3756')+_0x1cd3('0x3ba6')+_0x1cd3('0x55ee')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x55ef')+_0x1cd3('0x3f93')+_0x1cd3('0x433b')+_0x1cd3('0x55f0')+_0x1cd3('0x55f1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e31')+_0x1cd3('0x55f2')+_0x1cd3('0x3f93')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22agentadd\x22\x20\x20>\x0a'+_0x1cd3('0x55f3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x55f4')+_0x1cd3('0x3e3b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3ae6')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e3c')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fda')+_0x1cd3('0x3e3d')+_0x1cd3('0x55f5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e40')+_0x1cd3('0x55f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x55f7')+_0x1cd3('0x386f')+_0x1cd3('0x3e44')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x0a'+_0x1cd3('0x55f8')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e5')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x5560')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20key\x0a'+_0x1cd3('0x55f9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-maxlength=\x225\x22\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x5563')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x3f99')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20key\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x205\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ea')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Email_Address\x0a'+_0x1cd3('0x5566')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x434b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5568')+_0x1cd3('0x3756')+_0x1cd3('0x4329')+_0x1cd3('0x5569')+_0x1cd3('0x3756')+_0x1cd3('0x386e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x55fa')+_0x1cd3('0x556a')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+_0x1cd3('0x3a6f')+_0x1cd3('0x3e91')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22ListId.canSelect\x20===\x20false\x22>{{\x20ListId.name\x20}}\x0a'+_0x1cd3('0x3acc')+_0x1cd3('0x3f9c')+_0x1cd3('0x3b24')+_0x1cd3('0x556c')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Active\x0a'+_0x1cd3('0x3ed3')+_0x1cd3('0x3870')+_0x1cd3('0x3acf')+_0x1cd3('0x55fb')+_0x1cd3('0x55fc')+_0x1cd3('0x55fd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x55fe')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x55ff')+_0x1cd3('0x5600')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x228\x22\x20\x20\x20\x0a'+_0x1cd3('0x5601')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x5602')+_0x1cd3('0x5603')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Font_Size\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4e')+_0x1cd3('0x5604')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e13')+_0x1cd3('0x5605')+_0x1cd3('0x3e12')+_0x1cd3('0x3e15')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5606')+_0x1cd3('0x5607')+_0x1cd3('0x366a')+_0x1cd3('0x3acf')+_0x1cd3('0x5608')+_0x1cd3('0x3ed3')+_0x1cd3('0x5609')+_0x1cd3('0x3870')+_0x1cd3('0x3acf')+_0x1cd3('0x560a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x3fa2')+_0x1cd3('0x3b24')+_0x1cd3('0x560b')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x560c')+_0x1cd3('0x3e12')+_0x1cd3('0x3e13')+_0x1cd3('0x560d')+_0x1cd3('0x3e12')+_0x1cd3('0x3e15')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x5597')+_0x1cd3('0x560e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fa6')+_0x1cd3('0x3e51')+_0x1cd3('0x560f')+_0x1cd3('0x3e42')+_0x1cd3('0x5610')+_0x1cd3('0x386f')+_0x1cd3('0x3fa9')+_0x1cd3('0x3e45')+_0x1cd3('0x5611')+_0x1cd3('0x3ed3')+_0x1cd3('0x3870')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5612')+_0x1cd3('0x3ed3')+_0x1cd3('0x3870')+_0x1cd3('0x3fab')+_0x1cd3('0x5613')+_0x1cd3('0x5614')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e51')+_0x1cd3('0x5615')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5616')+_0x1cd3('0x386f')+_0x1cd3('0x3faf')+_0x1cd3('0x3e45')+_0x1cd3('0x5617')+_0x1cd3('0x3ed3')+_0x1cd3('0x3870')+_0x1cd3('0x5618')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20queueTransferTimeout\x0a'+_0x1cd3('0x5619')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e0d')+_0x1cd3('0x3e0e')+_0x1cd3('0x39e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4da7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x561a')+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20queueTransferTimeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a'+_0x1cd3('0x3e12')+_0x1cd3('0x3e13')+_0x1cd3('0x561b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e15')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x561c')+_0x1cd3('0x3ed3')+_0x1cd3('0x3870')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x561d')+_0x1cd3('0x561e')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e0d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20max=\x222147483\x22\x20\x20\x0a'+_0x1cd3('0x39e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x561f')+_0x1cd3('0x3b24')+_0x1cd3('0x5620')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4e')+_0x1cd3('0x5621')+_0x1cd3('0x3e12')+_0x1cd3('0x3e13')+_0x1cd3('0x5622')+_0x1cd3('0x3e12')+_0x1cd3('0x3e15')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fa6')+_0x1cd3('0x3e51')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x3e52')+_0x1cd3('0x3fda')+_0x1cd3('0x3e3d')+_0x1cd3('0x5623')+_0x1cd3('0x3e3f')+_0x1cd3('0x3e40')+_0x1cd3('0x5624')+_0x1cd3('0x3e42')+_0x1cd3('0x5625')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5626')+_0x1cd3('0x3e45')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Service\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Outlook365\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5628')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Service\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x557b')+_0x1cd3('0x557c')+_0x1cd3('0x5629')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x562a')+_0x1cd3('0x3b24')+_0x1cd3('0x557e')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x557f')+_0x1cd3('0x5580')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IMAP_Port\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3f9f')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x562c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3870')+_0x1cd3('0x562d')+_0x1cd3('0x562e')+_0x1cd3('0x3ed3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x562f')+_0x1cd3('0x5630')+_0x1cd3('0x5631')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5632')+_0x1cd3('0x3b24')+_0x1cd3('0x5592')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x5633')+_0x1cd3('0x5594')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x5596')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5635')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5636')+_0x1cd3('0x5637')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5638')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mailbox\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5639')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20connTimeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a'+_0x1cd3('0x3e12')+_0x1cd3('0x3f04')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x563c')+_0x1cd3('0x563d')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e0d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x563e')+_0x1cd3('0x3b24')+_0x1cd3('0x563f')+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+_0x1cd3('0x5640')+_0x1cd3('0x3e12')+_0x1cd3('0x3f04')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e51')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x3e52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e3d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SMTP\x0a'+_0x1cd3('0x3e3f')+_0x1cd3('0x3e40')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e42')+_0x1cd3('0x5641')+_0x1cd3('0x386f')+_0x1cd3('0x5642')+_0x1cd3('0x3e45')+_0x1cd3('0x556e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Outlook365\x0a'+_0x1cd3('0x3acc')+_0x1cd3('0x5643')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Service\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x5644')+_0x1cd3('0x5584')+_0x1cd3('0x5585')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x5645')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SMTP_Host\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5588')+_0x1cd3('0x5589')+_0x1cd3('0x558a')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x5646')+_0x1cd3('0x3b24')+_0x1cd3('0x558c')+_0x1cd3('0x3756')+_0x1cd3('0x3f9f')+_0x1cd3('0x36aa')+_0x1cd3('0x5647')+_0x1cd3('0x5648')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3870')+_0x1cd3('0x5649')+_0x1cd3('0x564a')+_0x1cd3('0x3ed3')+_0x1cd3('0x3870')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5630')+_0x1cd3('0x564b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x564c')+_0x1cd3('0x564d')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Username\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5594')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ed3')+_0x1cd3('0x3ed3')+_0x1cd3('0x3fa6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fba')+_0x1cd3('0x3e52')+_0x1cd3('0x3fda')+_0x1cd3('0x3e3d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADVANCED\x0a'+_0x1cd3('0x3e3f')+_0x1cd3('0x3e40')+_0x1cd3('0x564f')+_0x1cd3('0x3e42')+_0x1cd3('0x5650')+_0x1cd3('0x386f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e45')+_0x1cd3('0x5651')+_0x1cd3('0x3ed3')+_0x1cd3('0x3870')+_0x1cd3('0x5652')+_0x1cd3('0x5653')+_0x1cd3('0x5654')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x3a6f')+_0x1cd3('0x3fd6')+_0x1cd3('0x4de8')+_0x1cd3('0x3acc')+_0x1cd3('0x5655')+_0x1cd3('0x3fd8')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MandatoryDispositionPauseId\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3ed3')+_0x1cd3('0x3fa6')+_0x1cd3('0x3e51')+_0x1cd3('0x3fba')+_0x1cd3('0x3e52')+_0x1cd3('0x3fda')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5656')+_0x1cd3('0x3e3f')+_0x1cd3('0x3e40')+_0x1cd3('0x5657')+_0x1cd3('0x5658')+'\x20\x20\x0a'+_0x1cd3('0x4118')+_0x1cd3('0x5659')+_0x1cd3('0x411a')+_0x1cd3('0x411b')+_0x1cd3('0x565a')+_0x1cd3('0x565b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4104')+_0x1cd3('0x3669')+_0x1cd3('0x415d')+_0x1cd3('0x565c')+_0x1cd3('0x411f')+_0x1cd3('0x565d')+_0x1cd3('0x3b5a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4121')+_0x1cd3('0x415a')+_0x1cd3('0x565e')+_0x1cd3('0x565f')+_0x1cd3('0x4177')+_0x1cd3('0x3d24')+_0x1cd3('0x3f1c')+'\x20\x20\x0a'+_0x1cd3('0x4123')+_0x1cd3('0x5660')+_0x1cd3('0x5661')+_0x1cd3('0x4160')+_0x1cd3('0x4126')+_0x1cd3('0x5662')+_0x1cd3('0x4128')+_0x1cd3('0x45b9')+_0x1cd3('0x5663')+_0x1cd3('0x4128')+_0x1cd3('0x412c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.CREATED_AT\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4128')+_0x1cd3('0x412e')+_0x1cd3('0x412f')+_0x1cd3('0x417f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5664')+'>\x0a'+_0x1cd3('0x5665')+_0x1cd3('0x5666')+_0x1cd3('0x4133')+_0x1cd3('0x5667')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{mailDisposition.name}}\x0a'+_0x1cd3('0x4133')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5668')+_0x1cd3('0x413e')+_0x1cd3('0x4166')+_0x1cd3('0x413f')+_0x1cd3('0x5669')+_0x1cd3('0x4141')+_0x1cd3('0x4185')+'\x20\x0a'+_0x1cd3('0x4167')+_0x1cd3('0x4142')+_0x1cd3('0x566a')+_0x1cd3('0x566b')+_0x1cd3('0x4145')+_0x1cd3('0x4146')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x566c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20MailDisposition\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4149')+_0x1cd3('0x414a')+_0x1cd3('0x4189')+_0x1cd3('0x414b')+_0x1cd3('0x412f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x416b')+_0x1cd3('0x414d')+_0x1cd3('0x566d')+_0x1cd3('0x414f')+_0x1cd3('0x4150')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4151')+_0x1cd3('0x4152')+_0x1cd3('0x416d')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3e51')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x3e52')+_0x1cd3('0x3fda')+_0x1cd3('0x3e3d')+_0x1cd3('0x566e')+_0x1cd3('0x3e3f')+_0x1cd3('0x3e40')+_0x1cd3('0x566f')+_0x1cd3('0x5670')+_0x1cd3('0x5671')+_0x1cd3('0x4118')+_0x1cd3('0x5672')+_0x1cd3('0x411a')+_0x1cd3('0x411b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20{{vm_dc.selectedMailAccountMailCannedAnswers.length}}\x20{{vm_dc.selectedMailAccountMailCannedAnswers.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5675')+_0x1cd3('0x4121')+_0x1cd3('0x415a')+_0x1cd3('0x5676')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22MAIL.DELETE_SELECTED\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x415d')+_0x1cd3('0x4123')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5677')+_0x1cd3('0x4160')+_0x1cd3('0x4126')+_0x1cd3('0x5662')+_0x1cd3('0x4128')+_0x1cd3('0x417a')+_0x1cd3('0x5678')+_0x1cd3('0x4128')+_0x1cd3('0x417c')+_0x1cd3('0x5679')+_0x1cd3('0x4128')+_0x1cd3('0x417d')+_0x1cd3('0x567a')+_0x1cd3('0x4128')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.CREATED_AT\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4128')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x412f')+_0x1cd3('0x417f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x567b')+'>\x0a'+_0x1cd3('0x567c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{mailCannedAnswer.id}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x567d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{mailCannedAnswer.key}}\x0a'+_0x1cd3('0x4133')+_0x1cd3('0x567e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x567f')+_0x1cd3('0x4133')+_0x1cd3('0x5680')+_0x1cd3('0x5681')+_0x1cd3('0x413e')+_0x1cd3('0x4166')+_0x1cd3('0x413f')+_0x1cd3('0x5669')+_0x1cd3('0x4141')+_0x1cd3('0x4185')+'\x20\x0a'+_0x1cd3('0x4167')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20MailCannedAnswer\x0a'+_0x1cd3('0x4145')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4147')+_0x1cd3('0x5682')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20MailCannedAnswer\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4149')+_0x1cd3('0x414a')+_0x1cd3('0x4189')+_0x1cd3('0x414b')+_0x1cd3('0x412f')+_0x1cd3('0x5683')+_0x1cd3('0x418b')+_0x1cd3('0x414d')+_0x1cd3('0x5684')+_0x1cd3('0x414f')+_0x1cd3('0x4150')+_0x1cd3('0x412f')+_0x1cd3('0x4151')+_0x1cd3('0x4152')+_0x1cd3('0x416d')+_0x1cd3('0x5685')+_0x1cd3('0x3824')+'\x0a'+_0x1cd3('0x3e51')+_0x1cd3('0x3fba')+_0x1cd3('0x3e52')+_0x1cd3('0x3fda')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5686')+_0x1cd3('0x3e3f')+_0x1cd3('0x3e40')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x0a'+'\x20\x20\x0a'+_0x1cd3('0x5687')+_0x1cd3('0x4199')+_0x1cd3('0x419a')+_0x1cd3('0x419b')+_0x1cd3('0x419c')+_0x1cd3('0x37e3')+_0x1cd3('0x419d')+_0x1cd3('0x419e')+_0x1cd3('0x37bd')+_0x1cd3('0x419f')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4e07')+'\x20\x20\x20\x20\x20\x20\x20\x20{{a.alias\x20||\x20a.appType}}

\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x419e')+_0x1cd3('0x41a3')+_0x1cd3('0x3824')+_0x1cd3('0x41a4')+_0x1cd3('0x41a5')+'\x20\x20\x0a'+_0x1cd3('0x41a7')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x411f')+_0x1cd3('0x4e0a')+_0x1cd3('0x3b5a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3947')+_0x1cd3('0x5688')+_0x1cd3('0x411f')+'\x20\x20\x20\x20\x20\x20\x20\x20{{vm_ac.selectedMailAccountApps.length}}\x20{{vm_ac.selectedMailAccountApps.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected\x0a'+_0x1cd3('0x3b5a')+_0x1cd3('0x5689')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22MAIL.DELETE_SELECTED\x22>\x0a'+_0x1cd3('0x41ad')+_0x1cd3('0x36ed')+_0x1cd3('0x3d1d')+_0x1cd3('0x3947')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x4758')+_0x1cd3('0x568a')+_0x1cd3('0x41af')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41b2')+_0x1cd3('0x41b3')+_0x1cd3('0x41b4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41b6')+_0x1cd3('0x41b4')+_0x1cd3('0x4e10')+_0x1cd3('0x4e11')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4e10')+_0x1cd3('0x4e12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41b1')+_0x1cd3('0x41b7')+_0x1cd3('0x425a')+_0x1cd3('0x41b8')+_0x1cd3('0x568b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x568c')+_0x1cd3('0x4150')+_0x1cd3('0x568d')+_0x1cd3('0x568e')+_0x1cd3('0x568f')+_0x1cd3('0x41bd')+_0x1cd3('0x41ba')+_0x1cd3('0x4e16')+_0x1cd3('0x41be')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41c0')+_0x1cd3('0x4e17')+_0x1cd3('0x41c1')+_0x1cd3('0x4150')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a4c')+_0x1cd3('0x395d')+'\x0a'+_0x1cd3('0x3b04')+_0x1cd3('0x41c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5690')+_0x1cd3('0x3a52')+_0x1cd3('0x3a53')+_0x1cd3('0x41c3')+_0x1cd3('0x41c4')+_0x1cd3('0x41c5')+_0x1cd3('0x3a52')+_0x1cd3('0x3a53')+_0x1cd3('0x4e19')+_0x1cd3('0x41c6')+_0x1cd3('0x41c7')+_0x1cd3('0x3a52')+_0x1cd3('0x3a53')+_0x1cd3('0x41c8')+_0x1cd3('0x41c9')+_0x1cd3('0x4150')+_0x1cd3('0x41b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4e1b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41b7')+_0x1cd3('0x42bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'
\x0a'+_0x1cd3('0x41cd')+'\x0a'+_0x1cd3('0x4e1c')+'\x0a'+_0x1cd3('0x41ce')+_0x1cd3('0x376e')+_0x1cd3('0x42df')+_0x1cd3('0x376e')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fba')+_0x1cd3('0x3e52')+_0x1cd3('0x3fda')+_0x1cd3('0x3e3d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20INTERACTIONS\x0a'+_0x1cd3('0x3e3f')+_0x1cd3('0x3e40')+_0x1cd3('0x5691')+_0x1cd3('0x5692')+'\x20\x20\x0a'+_0x1cd3('0x4118')+_0x1cd3('0x5693')+_0x1cd3('0x411a')+_0x1cd3('0x411b')+_0x1cd3('0x5694')+_0x1cd3('0x41d1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36ed')+_0x1cd3('0x3d1d')+_0x1cd3('0x5695')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22refresh\x20Interactions\x22\x20translate\x20translate-attr-label=\x22MAIL.REFRESH_INTERACTIONS\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4104')+_0x1cd3('0x3f1c')+_0x1cd3('0x415d')+_0x1cd3('0x5696')+_0x1cd3('0x411f')+_0x1cd3('0x5697')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5698')+_0x1cd3('0x4121')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5699')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22MAIL.DELETE_SELECTED\x22>\x0a'+_0x1cd3('0x4177')+_0x1cd3('0x3d24')+_0x1cd3('0x3f1c')+'\x20\x20\x0a'+_0x1cd3('0x4123')+_0x1cd3('0x569a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4160')+_0x1cd3('0x4126')+_0x1cd3('0x5662')+_0x1cd3('0x4128')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41dc')+_0x1cd3('0x4128')+_0x1cd3('0x41db')+_0x1cd3('0x41dd')+_0x1cd3('0x41db')+_0x1cd3('0x41dd')+_0x1cd3('0x4e2a')+_0x1cd3('0x569b')+_0x1cd3('0x4128')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x569c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x412c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.STARTEDAT\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4128')+_0x1cd3('0x4e2d')+_0x1cd3('0x569d')+_0x1cd3('0x4128')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x569e')+_0x1cd3('0x4128')+_0x1cd3('0x4e2a')+_0x1cd3('0x569f')+_0x1cd3('0x4128')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.TAGS\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4128')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x412f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4130')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41e7')+_0x1cd3('0x41e8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x56a0')+_0x1cd3('0x41ea')+_0x1cd3('0x41eb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41ec')+_0x1cd3('0x41ed')+_0x1cd3('0x3951')+_0x1cd3('0x41ee')+_0x1cd3('0x41ef')+_0x1cd3('0x41f0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3951')+_0x1cd3('0x41ee')+_0x1cd3('0x41f1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41ed')+_0x1cd3('0x3951')+_0x1cd3('0x4e33')+_0x1cd3('0x41f3')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x4224')+_0x1cd3('0x56a1')+_0x1cd3('0x56a2')+_0x1cd3('0x56a3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41f8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20interaction.createdAt\x20|\x20formatdate\x20}}\x0a'+_0x1cd3('0x413e')+_0x1cd3('0x41fa')+_0x1cd3('0x56a4')+_0x1cd3('0x41fb')+_0x1cd3('0x41fc')+_0x1cd3('0x4283')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41fe')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f1c')+_0x1cd3('0x413e')+_0x1cd3('0x4e34')+_0x1cd3('0x41ff')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x56a5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4e37')+_0x1cd3('0x4202')+_0x1cd3('0x4206')+_0x1cd3('0x4e38')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.CLOSED\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4204')+_0x1cd3('0x4205')+_0x1cd3('0x4202')+_0x1cd3('0x4206')+_0x1cd3('0x4133')+_0x1cd3('0x3a4d')+_0x1cd3('0x4207')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{interaction.Owner.name}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4208')+_0x1cd3('0x4209')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x420a')+_0x1cd3('0x420b')+_0x1cd3('0x56a6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-style=\x22{\x27color\x27:\x20interaction.Tags.length\x20==\x201\x20&&\x20interaction.Tags[0].color\x20}\x22>\x0a'+_0x1cd3('0x4e3b')+_0x1cd3('0x36b7')+_0x1cd3('0x413e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x413f')+_0x1cd3('0x5669')+_0x1cd3('0x4141')+_0x1cd3('0x4185')+'\x20\x0a'+_0x1cd3('0x4167')+_0x1cd3('0x420e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4210')+_0x1cd3('0x3a52')+_0x1cd3('0x4149')+_0x1cd3('0x4211')+_0x1cd3('0x56a7')+_0x1cd3('0x4212')+_0x1cd3('0x4213')+_0x1cd3('0x4149')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x56a8')+_0x1cd3('0x4215')+_0x1cd3('0x4213')+_0x1cd3('0x4149')+_0x1cd3('0x4216')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4217')+_0x1cd3('0x3a52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x414a')+_0x1cd3('0x4189')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x412f')+_0x1cd3('0x56a9')+_0x1cd3('0x56aa')+_0x1cd3('0x414d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20interaction\x20available\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4150')+_0x1cd3('0x412f')+_0x1cd3('0x4151')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x416d')+_0x1cd3('0x56ab')+'\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3e51')+_0x1cd3('0x3fba')+_0x1cd3('0x3e52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a66')+'\x0a'+'\x0a');_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x1d9'),_0x1cd3('0x56ac')+'\x0a'+_0x1cd3('0x3adc')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3add')+_0x1cd3('0x37e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x56ad')+_0x1cd3('0x38f9')+_0x1cd3('0x56ae')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae1')+'\x0a'+_0x1cd3('0x3ae2')+_0x1cd3('0x3ae3')+_0x1cd3('0x3a02')+_0x1cd3('0x3a03')+_0x1cd3('0x3ae4')+_0x1cd3('0x3a04')+_0x1cd3('0x3a05')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36c2')+_0x1cd3('0x366a')+_0x1cd3('0x3ae5')+_0x1cd3('0x3756')+_0x1cd3('0x3686')+_0x1cd3('0x3ae6')+'\x0a'+_0x1cd3('0x3a07')+'\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a'+_0x1cd3('0x3a09')+'\x0a'+_0x1cd3('0x56af')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae8')+_0x1cd3('0x56b0')+_0x1cd3('0x3671')+_0x1cd3('0x36f6')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a0d')+_0x1cd3('0x56b1')+_0x1cd3('0x56b2')+_0x1cd3('0x56b3')+_0x1cd3('0x38f9')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x56b6')+_0x1cd3('0x3a19')+_0x1cd3('0x3849')+_0x1cd3('0x3aee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3aef')+_0x1cd3('0x366a')+'\x0a'+_0x1cd3('0x3a1b')+_0x1cd3('0x56b7')+_0x1cd3('0x3a1d')+_0x1cd3('0x3a1e')+_0x1cd3('0x56b8')+_0x1cd3('0x56b9')+_0x1cd3('0x3a20')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x3686')+_0x1cd3('0x3a21')+'\x0a'+_0x1cd3('0x3a22')+_0x1cd3('0x3a23')+'\x0a'+_0x1cd3('0x3af1')+_0x1cd3('0x3a24')+'\x0a'+_0x1cd3('0x3a25')+_0x1cd3('0x56ba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3af3')+_0x1cd3('0x56bb')+_0x1cd3('0x56bc')+_0x1cd3('0x3a2a')+_0x1cd3('0x3a2b')+_0x1cd3('0x56bd')+_0x1cd3('0x56be')+_0x1cd3('0x56bf')+_0x1cd3('0x56c0')+_0x1cd3('0x56c1')+_0x1cd3('0x56c2')+_0x1cd3('0x3a33')+_0x1cd3('0x3a34')+_0x1cd3('0x3db3')+_0x1cd3('0x3a35')+_0x1cd3('0x56c3')+_0x1cd3('0x3e63')+_0x1cd3('0x3a38')+_0x1cd3('0x56c4')+_0x1cd3('0x3a3a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x56c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x56c6')+_0x1cd3('0x56c7')+_0x1cd3('0x56c8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22name\x20\x22\x20>{{mailAccount.name}}\x0a'+_0x1cd3('0x56c8')+_0x1cd3('0x56c9')+_0x1cd3('0x56c8')+_0x1cd3('0x56ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a4a')+_0x1cd3('0x56ce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3b04')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3a4f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x56cf')+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3ce1')+'\x0a'+_0x1cd3('0x56d0')+_0x1cd3('0x56d1')+_0x1cd3('0x56d2')+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x56d3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MAIL.INTERACTIONS_MAILACCOUNT\x22>\x0a'+_0x1cd3('0x56d4')+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3ce1')+'\x0a'+_0x1cd3('0x56d5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MAIL.GOTOREALTIME_MAILACCOUNT\x22>\x0a'+_0x1cd3('0x56d6')+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x56d9')+_0x1cd3('0x56da')+_0x1cd3('0x56db')+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3699')+'\x0a'+_0x1cd3('0x369a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x0a'+_0x1cd3('0x3a34')+_0x1cd3('0x3a5d')+_0x1cd3('0x3a5e')+_0x1cd3('0x3a5f')+'\x0a'+_0x1cd3('0x56dc')+_0x1cd3('0x3a61')+_0x1cd3('0x56dd')+_0x1cd3('0x3a63')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x3a65')+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a66')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x56de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20mailAccount\x22\x20translate\x20translate-attr-aria-label=\x22MAIL.ADD_MAILACCOUNT\x22>\x0a'+_0x1cd3('0x3b0f')+_0x1cd3('0x376d')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a');_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x56df'),_0x1cd3('0x56e0')+_0x1cd3('0x56e1')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x55e0')+_0x1cd3('0x56e2')+_0x1cd3('0x39e1')+_0x1cd3('0x3e46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x1cd3('0x56e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x56e4')+_0x1cd3('0x56e5')+_0x1cd3('0x3b24')+_0x1cd3('0x5560')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e03')+_0x1cd3('0x56e6')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x56e7')+_0x1cd3('0x56e8')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x3e07')+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Beepall\x0a'+_0x1cd3('0x3e09')+_0x1cd3('0x3a4d')+_0x1cd3('0x3e0a')+_0x1cd3('0x3acc')+_0x1cd3('0x56e9')+_0x1cd3('0x3b24')+_0x1cd3('0x56ea')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x56eb')+_0x1cd3('0x56ec')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e0d')+_0x1cd3('0x3e0e')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x56ed')+_0x1cd3('0x3b24')+_0x1cd3('0x56ee')+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+_0x1cd3('0x56ef')+_0x1cd3('0x3e12')+_0x1cd3('0x3e13')+_0x1cd3('0x56f0')+_0x1cd3('0x3e12')+_0x1cd3('0x3e15')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x0a'+_0x1cd3('0x56f1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x5599')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ee')+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x39ef')+_0x1cd3('0x388f')+_0x1cd3('0x56f2')+_0x1cd3('0x3ad7')+_0x1cd3('0x56f3')+_0x1cd3('0x55a9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x39fa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3681')+'\x0a');_0x404b17['put'](_0x1cd3('0x1ce0'),'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e1f')+_0x1cd3('0x3d4f')+_0x1cd3('0x56f7')+_0x1cd3('0x3d50')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366f')+_0x1cd3('0x3e26')+_0x1cd3('0x3e22')+_0x1cd3('0x3e23')+_0x1cd3('0x3ba9')+_0x1cd3('0x3671')+_0x1cd3('0x3675')+_0x1cd3('0x3681')+'\x0a');_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x1cde'),_0x1cd3('0x56f8')+_0x1cd3('0x56f9')+_0x1cd3('0x3e1f')+_0x1cd3('0x3d4f')+_0x1cd3('0x56fa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3857')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e21')+_0x1cd3('0x366f')+_0x1cd3('0x3e26')+_0x1cd3('0x3e22')+_0x1cd3('0x3e27')+_0x1cd3('0x3ba9')+_0x1cd3('0x3671')+_0x1cd3('0x3675')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x384d'));_0x404b17['put'](_0x1cd3('0x1d5'),_0x1cd3('0x56fb')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d5a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3671')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x56fe')+_0x1cd3('0x56ff')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x3ba2')+_0x1cd3('0x3ba3')+_0x1cd3('0x5700')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.mailQueue.name}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ba6')+_0x1cd3('0x5701')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39ee')+_0x1cd3('0x3e31')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5703')+_0x1cd3('0x3e36')+_0x1cd3('0x3e37')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e39')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e3b')+_0x1cd3('0x3d24')+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3ae6')+'\x0a'+_0x1cd3('0x3a22')+_0x1cd3('0x3e3c')+'\x0a'+_0x1cd3('0x3baa')+_0x1cd3('0x3fda')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x55f5')+_0x1cd3('0x3e3f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x55f7')+_0x1cd3('0x386f')+_0x1cd3('0x3e44')+_0x1cd3('0x3e45')+_0x1cd3('0x55e0')+_0x1cd3('0x56e2')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-pattern=\x22/^[A-Za-z0-9\x5c.\x5c_]+$/i\x22\x20\x20\x0a'+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e48')+_0x1cd3('0x3dff')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x56e4')+_0x1cd3('0x3e49')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5560')+_0x1cd3('0x3756')+_0x1cd3('0x3e03')+_0x1cd3('0x56e6')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x56e7')+_0x1cd3('0x56e8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x3a6f')+_0x1cd3('0x3e07')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e08')+_0x1cd3('0x3e09')+_0x1cd3('0x3a4d')+_0x1cd3('0x3e0a')+_0x1cd3('0x3acc')+_0x1cd3('0x3e4b')+_0x1cd3('0x3b24')+_0x1cd3('0x56ea')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3acf')+_0x1cd3('0x56eb')+_0x1cd3('0x56ec')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e0d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20max=\x222147483\x22\x20\x20\x0a'+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f9e')+_0x1cd3('0x3b24')+_0x1cd3('0x56ee')+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+_0x1cd3('0x56ef')+_0x1cd3('0x3e12')+_0x1cd3('0x3e13')+_0x1cd3('0x56f0')+_0x1cd3('0x3e12')+_0x1cd3('0x3e15')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x5597')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e53')+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a66')+'\x0a'+'
\x0a');_0x404b17['put']('app/main/apps/mail/views/mailQueues/mailQueues.html',_0x1cd3('0x5704')+'\x0a'+_0x1cd3('0x3adc')+_0x1cd3('0x39ff')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a00')+_0x1cd3('0x3ade')+_0x1cd3('0x56ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MailQueues\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3ae2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae4')+_0x1cd3('0x3a04')+_0x1cd3('0x3a05')+_0x1cd3('0x5705')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x3ae5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3ae6')+'\x0a'+_0x1cd3('0x3a07')+_0x1cd3('0x5706')+_0x1cd3('0x3a09')+'\x0a'+_0x1cd3('0x5707')+_0x1cd3('0x3a0b')+_0x1cd3('0x3ae8')+_0x1cd3('0x56b0')+_0x1cd3('0x3671')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a0c')+'\x0a'+_0x1cd3('0x3a0d')+_0x1cd3('0x5708')+_0x1cd3('0x5709')+_0x1cd3('0x56b3')+_0x1cd3('0x38f9')+'\x0a'+_0x1cd3('0x3aeb')+_0x1cd3('0x3a11')+_0x1cd3('0x3a12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22multi\x20select\x20toggle\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22MAIL.MULTI_SELECT_TOGGLE\x22>\x0a'+_0x1cd3('0x3a14')+_0x1cd3('0x367d')+_0x1cd3('0x3a15')+_0x1cd3('0x3a16')+_0x1cd3('0x570a')+_0x1cd3('0x3c2e')+_0x1cd3('0x3849')+_0x1cd3('0x3aee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x570b')+_0x1cd3('0x3a19')+_0x1cd3('0x3849')+_0x1cd3('0x3aee')+_0x1cd3('0x3a1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x0a'+_0x1cd3('0x3a1b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a1d')+_0x1cd3('0x3a1e')+_0x1cd3('0x570c')+_0x1cd3('0x56b9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x3686')+_0x1cd3('0x3a21')+'\x0a'+_0x1cd3('0x3a22')+_0x1cd3('0x3a23')+'\x0a'+_0x1cd3('0x3af1')+_0x1cd3('0x3a24')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x570d')+_0x1cd3('0x3a27')+_0x1cd3('0x3af3')+_0x1cd3('0x570e')+_0x1cd3('0x570f')+_0x1cd3('0x3a2a')+_0x1cd3('0x3a2b')+_0x1cd3('0x56bd')+_0x1cd3('0x56be')+_0x1cd3('0x5710')+_0x1cd3('0x3a33')+_0x1cd3('0x3a34')+_0x1cd3('0x3db3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5711')+_0x1cd3('0x42f9')+_0x1cd3('0x3a38')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a'+_0x1cd3('0x3a3a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5712')+_0x1cd3('0x5713')+_0x1cd3('0x5714')+_0x1cd3('0x5715')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22id\x20\x22\x20>{{mailQueue.id}}\x0a'+_0x1cd3('0x5716')+_0x1cd3('0x5717')+_0x1cd3('0x5718')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22strategy\x20\x22>{{\x20vm.arraystrategy[mailQueue.strategy].option\x20}}\x0a'+_0x1cd3('0x4ea3')+'\x0a'+_0x1cd3('0x3cdd')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22MAIL.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x395d')+'\x0a'+_0x1cd3('0x3b04')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3a4f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x571b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3a5a')+'\x0a'+_0x1cd3('0x571e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MAIL.DELETE_MAILQUEUE\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20MailQueue\x0a'+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3ce1')+'\x0a'+_0x1cd3('0x571f')+_0x1cd3('0x5720')+_0x1cd3('0x5721')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+_0x1cd3('0x3699')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x0a'+_0x1cd3('0x3a34')+_0x1cd3('0x3a5d')+_0x1cd3('0x3a5e')+_0x1cd3('0x3a5f')+'\x0a'+_0x1cd3('0x5722')+_0x1cd3('0x3a61')+_0x1cd3('0x5723')+_0x1cd3('0x3a63')+'\x0a'+_0x1cd3('0x3a64')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a66')+'\x0a'+_0x1cd3('0x5724')+_0x1cd3('0x5725')+_0x1cd3('0x5726')+_0x1cd3('0x3b0f')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x5727')+_0x1cd3('0x3686'));_0x404b17['put']('app/main/apps/mail/views/mailSubtatuses/create/dialog.html',_0x1cd3('0x5728')+_0x1cd3('0x5729')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x55e0')+_0x1cd3('0x572a')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x572b')+_0x1cd3('0x3b24')+_0x1cd3('0x5560')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x572c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5599')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ee')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x0a'+_0x1cd3('0x39ef')+_0x1cd3('0x388f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39f3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a20')+_0x1cd3('0x55a0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x39fe')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')]('app/main/apps/mail/views/mailSubtatuses/mailSubtatuses.html',_0x1cd3('0x5731')+'\x0a'+_0x1cd3('0x3adc')+_0x1cd3('0x39ff')+'\x0a'+_0x1cd3('0x3add')+_0x1cd3('0x37e6')+_0x1cd3('0x3a00')+_0x1cd3('0x3ade')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38f9')+_0x1cd3('0x5732')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae1')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae3')+_0x1cd3('0x3a02')+_0x1cd3('0x3a03')+_0x1cd3('0x3ae4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5705')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae6')+'\x0a'+_0x1cd3('0x3a07')+'\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a'+_0x1cd3('0x3a09')+'\x0a'+_0x1cd3('0x5733')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae8')+_0x1cd3('0x56b0')+_0x1cd3('0x3671')+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x3a0c')+'\x0a'+_0x1cd3('0x3a0d')+_0x1cd3('0x5734')+_0x1cd3('0x5735')+_0x1cd3('0x56b3')+_0x1cd3('0x38f9')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a11')+_0x1cd3('0x3a12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22multi\x20select\x20toggle\x22\x0a'+_0x1cd3('0x56b4')+_0x1cd3('0x3a14')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a15')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5736')+_0x1cd3('0x3c2e')+_0x1cd3('0x3849')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a16')+_0x1cd3('0x5737')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Select\x20none\x0a'+_0x1cd3('0x3849')+_0x1cd3('0x3aee')+_0x1cd3('0x3a1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x0a'+_0x1cd3('0x3a1b')+_0x1cd3('0x5738')+_0x1cd3('0x3a1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5739')+_0x1cd3('0x56b9')+_0x1cd3('0x3a20')+_0x1cd3('0x3859')+_0x1cd3('0x3841')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a21')+'\x0a'+_0x1cd3('0x3a22')+_0x1cd3('0x3a23')+'\x0a'+_0x1cd3('0x3af1')+_0x1cd3('0x3a24')+'\x0a'+_0x1cd3('0x3a25')+_0x1cd3('0x573a')+_0x1cd3('0x3a27')+_0x1cd3('0x3af3')+_0x1cd3('0x573b')+_0x1cd3('0x573c')+_0x1cd3('0x3a2a')+_0x1cd3('0x3a2b')+_0x1cd3('0x56bd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.NAME\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.DESCRIPTION\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x3a33')+_0x1cd3('0x3a34')+_0x1cd3('0x3db3')+_0x1cd3('0x3a35')+_0x1cd3('0x573d')+_0x1cd3('0x42f9')+_0x1cd3('0x3a38')+_0x1cd3('0x56c4')+_0x1cd3('0x3a3a')+_0x1cd3('0x3af8')+_0x1cd3('0x3a34')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x573e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x573f')+_0x1cd3('0x5740')+_0x1cd3('0x5741')+_0x1cd3('0x5742')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3a4f')+'\x0a'+_0x1cd3('0x5744')+_0x1cd3('0x5745')+_0x1cd3('0x5746')+_0x1cd3('0x3a52')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+_0x1cd3('0x3a54')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3a5a')+'\x0a'+_0x1cd3('0x5747')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MAIL.DELETE_MAILSUBSTATUS\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20MailSubstatus\x0a'+_0x1cd3('0x3a52')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3699')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3951')+'\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a5d')+_0x1cd3('0x3a5e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x5748')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x5749')+_0x1cd3('0x3a63')+'\x0a'+_0x1cd3('0x3a64')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a66')+'\x0a'+_0x1cd3('0x574a')+_0x1cd3('0x574b')+_0x1cd3('0x574c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x574d')+_0x1cd3('0x3686'));_0x404b17['put']('app/main/apps/mail/views/realtime/accounts/view.html',_0x1cd3('0x422d')+_0x1cd3('0x422e')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20Accounts\x0a'+_0x1cd3('0x3b5a')+_0x1cd3('0x42c8')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x423c')+'\x0a'+_0x1cd3('0x423d')+_0x1cd3('0x42ca')+_0x1cd3('0x423e')+_0x1cd3('0x574e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x574f')+_0x1cd3('0x5750')+_0x1cd3('0x5751')+_0x1cd3('0x5752')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.OUT\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.IMAP_STATUS\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x5753')+_0x1cd3('0x3d7d')+_0x1cd3('0x41b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x425b')+_0x1cd3('0x5754')+_0x1cd3('0x4ebc')+_0x1cd3('0x425e')+_0x1cd3('0x5755')+_0x1cd3('0x3756')+_0x1cd3('0x4150')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5756')+_0x1cd3('0x5757')+_0x1cd3('0x41ba')+_0x1cd3('0x5758')+_0x1cd3('0x4150')+_0x1cd3('0x41ba')+_0x1cd3('0x4285')+_0x1cd3('0x4ec1')+_0x1cd3('0x5759')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.mailAccounts[value].lastIn\x20?\x20\x20(vm.mailAccounts[value].lastIn\x20|\x20date:\x20\x27shortTime\x27)\x20:\x20\x27\x27}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41ba')+_0x1cd3('0x4285')+_0x1cd3('0x4ec4')+_0x1cd3('0x575a')+_0x1cd3('0x575b')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x575c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x575d')+_0x1cd3('0x575e')+_0x1cd3('0x575f')+_0x1cd3('0x5760')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5761')+_0x1cd3('0x5762')+_0x1cd3('0x5763')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20(\x27MAIL.\x27\x20+\x20vm.mailAccounts[value].Imap.status.toUpperCase())\x20|\x20translate}}\x0a'+_0x1cd3('0x4456')+_0x1cd3('0x5764')+_0x1cd3('0x3f1c')+_0x1cd3('0x5765')+_0x1cd3('0x5766')+_0x1cd3('0x5767')+_0x1cd3('0x575d')+_0x1cd3('0x575e')+_0x1cd3('0x5768')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5769')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.mailAccounts[value].Smtp.lastSync\x20|\x20date:\x20\x27shortTime\x27}}\x0a'+_0x1cd3('0x3f1c')+_0x1cd3('0x576a')+_0x1cd3('0x5765')+_0x1cd3('0x576b')+_0x1cd3('0x3a49')+_0x1cd3('0x4ec7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x395d')+'\x0a'+_0x1cd3('0x429f')+_0x1cd3('0x4ec8')+_0x1cd3('0x576c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Account\x0a'+_0x1cd3('0x3a52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x42d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x576d')+_0x1cd3('0x3a52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3bef')+_0x1cd3('0x41c9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41b7')+_0x1cd3('0x42bf')+_0x1cd3('0x42c0')+_0x1cd3('0x42dc')+'\x0a'+_0x1cd3('0x576e')+_0x1cd3('0x42c5')+'\x0a');_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x1e6'),'\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x576f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4230')+_0x1cd3('0x4231')+_0x1cd3('0x4232')+_0x1cd3('0x4ecc')+_0x1cd3('0x5770')+_0x1cd3('0x5771')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.PARTIALPAUSE\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x5772')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.IDLE\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20DEFAULT\x20PAUSE\x0a'+_0x1cd3('0x423a')+_0x1cd3('0x4ed1')+_0x1cd3('0x4ed2')+_0x1cd3('0x423b')+_0x1cd3('0x389c')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x423c')+'\x0a'+_0x1cd3('0x423d')+_0x1cd3('0x42ca')+_0x1cd3('0x423e')+_0x1cd3('0x423f')+_0x1cd3('0x4ed3')+_0x1cd3('0x5773')+_0x1cd3('0x4ed4')+_0x1cd3('0x4240')+_0x1cd3('0x4ed5')+_0x1cd3('0x4241')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4243')+_0x1cd3('0x4244')+_0x1cd3('0x4245')+_0x1cd3('0x5774')+_0x1cd3('0x4ed6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4ed7')+_0x1cd3('0x5775')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.STATUS\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4247')+_0x1cd3('0x5776')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5777')+'\x0a'+_0x1cd3('0x5778')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Info\x0a'+'\x0a'+_0x1cd3('0x424b')+_0x1cd3('0x4edc')+_0x1cd3('0x424c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.CAPACITY\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x36c5')+_0x1cd3('0x41b4')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.STATUS\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x424f')+_0x1cd3('0x424c')+_0x1cd3('0x4250')+_0x1cd3('0x36c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4251')+_0x1cd3('0x4edd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4252')+_0x1cd3('0x36c5')+_0x1cd3('0x41b4')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27OPENCHANNEL.STATUS\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4253')+_0x1cd3('0x424c')+_0x1cd3('0x4254')+_0x1cd3('0x36c5')+_0x1cd3('0x41b4')+'\x0a'+_0x1cd3('0x4255')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x424c')+_0x1cd3('0x4257')+_0x1cd3('0x36c5')+_0x1cd3('0x41b4')+'\x0a'+_0x1cd3('0x4edf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x424c')+_0x1cd3('0x4259')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41b4')+_0x1cd3('0x41b7')+_0x1cd3('0x425a')+_0x1cd3('0x425b')+_0x1cd3('0x425c')+_0x1cd3('0x425d')+_0x1cd3('0x425e')+_0x1cd3('0x5779')+_0x1cd3('0x3756')+_0x1cd3('0x4150')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x425f')+_0x1cd3('0x4260')+_0x1cd3('0x4ee1')+_0x1cd3('0x4261')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-src=\x22{{vm.agents[value].userpic\x20&&\x20\x27api/users/\x27+vm.agents[value].id+\x27/avatar\x27\x20||\x20\x27assets/images/avatars/profile.png\x27}}\x22>\x0a'+_0x1cd3('0x4262')+_0x1cd3('0x4263')+_0x1cd3('0x4264')+_0x1cd3('0x36b7')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4260')+_0x1cd3('0x4265')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22vm.license.screenrecording\x20&&\x20(vm.agents[value].phoneBarEnableScreenRecordingByAgent\x20||\x20vm.agents[value].phoneBarEnableAutomaticScreenRecording)\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36b5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4ee4')+_0x1cd3('0x577a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4ee3')+_0x1cd3('0x3692')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x426c')+_0x1cd3('0x36b5')+_0x1cd3('0x426d')+_0x1cd3('0x4269')+_0x1cd3('0x4ee4')+_0x1cd3('0x577b')+_0x1cd3('0x426b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4150')+'\x0a'+'\x0a'+'\x0a'+_0x1cd3('0x4ee6')+_0x1cd3('0x426e')+_0x1cd3('0x426f')+_0x1cd3('0x4270')+_0x1cd3('0x4150')+_0x1cd3('0x4271')+_0x1cd3('0x4ee7')+_0x1cd3('0x4272')+_0x1cd3('0x4150')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20days\x20>\x200\x20?\x20days\x20+\x20\x27d\x27\x20:\x20\x27\x27\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hhours}}:{{mminutes}}:{{sseconds}}\x0a'+_0x1cd3('0x4150')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4285')+_0x1cd3('0x4277')+_0x1cd3('0x4278')+_0x1cd3('0x4ee8')+_0x1cd3('0x4279')+_0x1cd3('0x3756')+_0x1cd3('0x4150')+_0x1cd3('0x4276')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x427b')+_0x1cd3('0x427c')+_0x1cd3('0x427d')+_0x1cd3('0x427e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4280')+_0x1cd3('0x4281')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hhours}}:{{mminutes}}:{{sseconds}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x4150')+'\x0a'+_0x1cd3('0x4284')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41fd')+_0x1cd3('0x4286')+_0x1cd3('0x4287')+_0x1cd3('0x36b7')+_0x1cd3('0x3756')+_0x1cd3('0x4150')+_0x1cd3('0x4288')+_0x1cd3('0x577c')+_0x1cd3('0x4289')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4285')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4286')+_0x1cd3('0x428b')+_0x1cd3('0x36b7')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x428c')+_0x1cd3('0x4ee9')+_0x1cd3('0x428d')+'\x0a'+_0x1cd3('0x428e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41fd')+_0x1cd3('0x4286')+_0x1cd3('0x4eea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x4150')+_0x1cd3('0x428f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27idle\x27:\x27lime-300-fg\x27,\x27maxcapacity\x27:\x27red-A200-fg\x27,\x27working\x27:\x27indigo-100-fg\x27,\x27pause\x27:\x27amber-200-fg\x27}[vm.agents[value].smsStatus]\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.agents[value].smsCurrentCapacity\x20}}\x0a'+'\x0a'+_0x1cd3('0x4292')+_0x1cd3('0x4285')+_0x1cd3('0x41fd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.agents[value].openchannelStatus\x20|\x20uppercase\x20}}\x0a'+_0x1cd3('0x36b7')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4294')+_0x1cd3('0x4eeb')+_0x1cd3('0x4295')+'\x0a'+_0x1cd3('0x4296')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41fd')+_0x1cd3('0x4286')+_0x1cd3('0x4297')+_0x1cd3('0x36b7')+_0x1cd3('0x3756')+_0x1cd3('0x4150')+_0x1cd3('0x4298')+_0x1cd3('0x577d')+_0x1cd3('0x4299')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41fd')+_0x1cd3('0x4286')+_0x1cd3('0x577e')+_0x1cd3('0x36b7')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4eec')+_0x1cd3('0x429b')+_0x1cd3('0x429c')+'\x0a'+_0x1cd3('0x429d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a4a')+_0x1cd3('0x429e')+_0x1cd3('0x3a4c')+_0x1cd3('0x395d')+'\x0a'+_0x1cd3('0x429f')+_0x1cd3('0x42a0')+_0x1cd3('0x42a1')+_0x1cd3('0x577f')+_0x1cd3('0x42a3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a53')+_0x1cd3('0x42a0')+_0x1cd3('0x42a4')+_0x1cd3('0x5780')+_0x1cd3('0x42a6')+_0x1cd3('0x3a52')+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x42a7')+_0x1cd3('0x42a8')+_0x1cd3('0x42a9')+_0x1cd3('0x42aa')+_0x1cd3('0x5781')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x42ac')+_0x1cd3('0x42ad')+_0x1cd3('0x42ae')+_0x1cd3('0x5782')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Screen\x20Recording\x0a'+_0x1cd3('0x3c6a')+_0x1cd3('0x42b1')+_0x1cd3('0x42b2')+_0x1cd3('0x5783')+_0x1cd3('0x42b0')+_0x1cd3('0x3c6a')+_0x1cd3('0x42b4')+_0x1cd3('0x3c77')+_0x1cd3('0x3a53')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x42a9')+_0x1cd3('0x42aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MAIL.PAUSE\x22>Pause\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3c6b')+_0x1cd3('0x42b6')+_0x1cd3('0x5784')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.pause(vm.agents[value])\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x42b6')+_0x1cd3('0x42bb')+_0x1cd3('0x42bc')+_0x1cd3('0x3c66')+_0x1cd3('0x3c6a')+_0x1cd3('0x42b4')+_0x1cd3('0x3c77')+_0x1cd3('0x3a53')+_0x1cd3('0x42bd')+_0x1cd3('0x4ef4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MAIL.UNPAUSE\x22>\x0a'+_0x1cd3('0x42be')+_0x1cd3('0x3a52')+_0x1cd3('0x3a53')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4150')+_0x1cd3('0x41b7')+_0x1cd3('0x42bf')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x42dc')+'\x0a'+_0x1cd3('0x42c1')+'\x20\x20\x20\x20md-label=\x22{page:\x20\x27{{\x27MAIL.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27MAIL.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27MAIL.OF\x27\x20|\x20translate}}\x27}\x22\x0a'+'\x20\x20\x20\x20md-limit=\x22vm.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm.query.page\x22\x0a'+_0x1cd3('0x42c4')+_0x1cd3('0x42c5')+_0x1cd3('0x42c6'));_0x404b17['put'](_0x1cd3('0x1e9'),_0x1cd3('0x422d')+_0x1cd3('0x422e')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x5786')+_0x1cd3('0x3b5a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3686')+'\x0a'+'\x0a'+_0x1cd3('0x42c9')+_0x1cd3('0x42ca')+_0x1cd3('0x423e')+_0x1cd3('0x4ef7')+_0x1cd3('0x41b0')+_0x1cd3('0x574f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.LOGGED_IN\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x5787')+_0x1cd3('0x5788')+_0x1cd3('0x5789')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x425a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x418b')+_0x1cd3('0x425e')+_0x1cd3('0x5755')+_0x1cd3('0x3756')+_0x1cd3('0x4150')+_0x1cd3('0x41b7')+_0x1cd3('0x42d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.queues[value].name}}\x0a'+_0x1cd3('0x41ba')+_0x1cd3('0x42d4')+_0x1cd3('0x4150')+_0x1cd3('0x41ba')+_0x1cd3('0x42d5')+_0x1cd3('0x4150')+_0x1cd3('0x41ba')+_0x1cd3('0x4efb')+_0x1cd3('0x4150')+_0x1cd3('0x41ba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.queues[value].waiting\x20||\x200}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4efc')+_0x1cd3('0x3a49')+_0x1cd3('0x578a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3b04')+_0x1cd3('0x42a0')+_0x1cd3('0x578b')+_0x1cd3('0x4eff')+_0x1cd3('0x3a52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x578c')+_0x1cd3('0x42db')+_0x1cd3('0x3a52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41c8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4150')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x42bf')+_0x1cd3('0x42c0')+_0x1cd3('0x42dc')+'\x0a'+'\x0a'+_0x1cd3('0x42de')+'\x0a');_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x1e2'),'\x0a'+_0x1cd3('0x3a22')+_0x1cd3('0x3e3c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x42e1')+_0x1cd3('0x42e2')+_0x1cd3('0x578d')+_0x1cd3('0x42e4')+_0x1cd3('0x3862')+_0x1cd3('0x4f03')+_0x1cd3('0x42e2')+_0x1cd3('0x578e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x578f')+_0x1cd3('0x42e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x42e6')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a66')+_0x1cd3('0x376e'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x1d4b'),_0x1cd3('0x5790')+_0x1cd3('0x5791')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x5792')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x5793')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5794')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5795')+_0x1cd3('0x5796')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x5797')+_0x1cd3('0x3dff')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Active\x0a'+_0x1cd3('0x3ed3')+_0x1cd3('0x3870')+_0x1cd3('0x3acf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x579a')+_0x1cd3('0x579b')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x579c')+_0x1cd3('0x3b24')+_0x1cd3('0x579d')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Sidebar\x0a'+_0x1cd3('0x579e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Always\x0a'+_0x1cd3('0x579f')+_0x1cd3('0x3a4d')+_0x1cd3('0x57a0')+_0x1cd3('0x57a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x57a2')+_0x1cd3('0x57a3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x57a4')+_0x1cd3('0x3acc')+_0x1cd3('0x57a5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x57a6')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x57a7')+_0x1cd3('0x57a8')+_0x1cd3('0x57a9')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x57aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x57ab')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x57ac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AgentUrl\x0a'+_0x1cd3('0x57ad')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x57ae')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x57af')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x57b0')+_0x1cd3('0x57b1')+_0x1cd3('0x57b2')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.newPlugin\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x57b3')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ScriptName\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x57b0')+_0x1cd3('0x57b4')+_0x1cd3('0x57b5')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x57b6')+_0x1cd3('0x3b24')+_0x1cd3('0x57b7')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Version\x0a'+_0x1cd3('0x57b8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x5797')+_0x1cd3('0x3dff')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x57b9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x57ba')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x39ef')+_0x1cd3('0x388f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20PLUGIN\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x39fa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17['put'](_0x1cd3('0x1f8'),'\x0a'+'\x0a'+_0x1cd3('0x3adc')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d5a')+_0x1cd3('0x57c0')+_0x1cd3('0x57c1')+_0x1cd3('0x57c2')+_0x1cd3('0x3ba1')+_0x1cd3('0x3671')+'\x0a'+_0x1cd3('0x388f')+'\x0a'+_0x1cd3('0x57c3')+_0x1cd3('0x57c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3ba2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x57c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.plugin.name}}\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.plugin.createdAt\x20|\x20date:\x27medium\x27}}\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x57c6')+_0x1cd3('0x3e3b')+_0x1cd3('0x3d24')+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x3686')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a22')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3baa')+_0x1cd3('0x3fda')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SETTINGS\x0a'+_0x1cd3('0x3e3f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x57c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x57c8')+_0x1cd3('0x386f')+_0x1cd3('0x3e44')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5792')+_0x1cd3('0x57c9')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x3e49')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x5795')+_0x1cd3('0x5796')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3e47')+_0x1cd3('0x3e48')+_0x1cd3('0x3dff')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x4347')+_0x1cd3('0x3b24')+_0x1cd3('0x57ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x57cb')+_0x1cd3('0x3ed3')+_0x1cd3('0x3870')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x57cc')+_0x1cd3('0x57cd')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x3e4f')+_0x1cd3('0x3b24')+_0x1cd3('0x5799')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x579a')+_0x1cd3('0x579b')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x57ce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x579d')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x57cf')+_0x1cd3('0x579e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+_0x1cd3('0x3a6f')+_0x1cd3('0x57d0')+_0x1cd3('0x3a4d')+_0x1cd3('0x3ecd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent\x20Only\x0a'+_0x1cd3('0x57a3')+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Never\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x57d1')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Sidebar\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x57a7')+_0x1cd3('0x57a8')+_0x1cd3('0x57a9')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x57d2')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AdminUrl\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x57ac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AgentUrl\x0a'+_0x1cd3('0x57ad')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x57af')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x57b0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ScriptName\x0a'+_0x1cd3('0x57b2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3e47')+_0x1cd3('0x3e48')+_0x1cd3('0x3dff')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x57d3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x57b4')+_0x1cd3('0x57b5')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x57d4')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ScriptPath\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x57d5')+_0x1cd3('0x57b8')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3e47')+_0x1cd3('0x3e48')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x57ba')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e53')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x376e'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x1f4'),_0x1cd3('0x57d6')+'\x0a'+_0x1cd3('0x3adc')+_0x1cd3('0x39ff')+'\x0a'+_0x1cd3('0x3add')+_0x1cd3('0x37e6')+_0x1cd3('0x3a00')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x57d7')+_0x1cd3('0x38f9')+_0x1cd3('0x57d8')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3ae2')+_0x1cd3('0x3ae3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a03')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a04')+_0x1cd3('0x3a05')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3ae6')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x57d9')+_0x1cd3('0x3a09')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Back\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x3a0c')+'\x0a'+_0x1cd3('0x3a0d')+_0x1cd3('0x57da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedPlugins.length}}\x0a'+_0x1cd3('0x57db')+_0x1cd3('0x38f9')+'\x0a'+_0x1cd3('0x3aeb')+_0x1cd3('0x3a11')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22$mdOpenMenu($event)\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22multi\x20select\x20toggle\x22\x0a'+_0x1cd3('0x57dc')+_0x1cd3('0x3a14')+_0x1cd3('0x367d')+_0x1cd3('0x3a15')+_0x1cd3('0x3a16')+_0x1cd3('0x57dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Select\x20all\x0a'+_0x1cd3('0x3849')+_0x1cd3('0x3aee')+_0x1cd3('0x3a16')+_0x1cd3('0x57de')+_0x1cd3('0x3a19')+_0x1cd3('0x3849')+_0x1cd3('0x3aee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3aef')+_0x1cd3('0x366a')+'\x0a'+_0x1cd3('0x3a1b')+_0x1cd3('0x57df')+_0x1cd3('0x3a1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a21')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a24')+'\x0a'+_0x1cd3('0x57e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3989')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Installing\x0a'+_0x1cd3('0x57e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x43b3')+_0x1cd3('0x366a')+_0x1cd3('0x3a25')+_0x1cd3('0x57e3')+_0x1cd3('0x3a27')+_0x1cd3('0x3af3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x57e4')+_0x1cd3('0x3a2a')+_0x1cd3('0x3a2b')+_0x1cd3('0x57e5')+_0x1cd3('0x57e6')+_0x1cd3('0x57e7')+_0x1cd3('0x57e8')+_0x1cd3('0x57e9')+_0x1cd3('0x3a33')+_0x1cd3('0x3a34')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a35')+_0x1cd3('0x57ea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x57eb')+_0x1cd3('0x3a3a')+_0x1cd3('0x3af8')+_0x1cd3('0x3a34')+_0x1cd3('0x57ec')+_0x1cd3('0x57ed')+_0x1cd3('0x57ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x57f2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22description\x20\x22\x20>{{plugin.description}}\x0a'+_0x1cd3('0x57f3')+_0x1cd3('0x57f4')+_0x1cd3('0x3b02')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a4c')+_0x1cd3('0x395d')+'\x0a'+_0x1cd3('0x3b04')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x57f5')+'\x0a'+_0x1cd3('0x57f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MARKETPLACE.INSTALL_PLUGIN\x22>\x0a'+_0x1cd3('0x57f7')+_0x1cd3('0x3a52')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x57f8')+_0x1cd3('0x57f9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Plugin\x0a'+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x57fa')+'\x0a'+_0x1cd3('0x57fb')+_0x1cd3('0x57fc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Stop\x20Plugin\x0a'+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+_0x1cd3('0x3a54')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x57fa')+'\x0a'+_0x1cd3('0x57fd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MARKETPLACE.RESTART_PLUGIN\x22>\x0a'+_0x1cd3('0x57fe')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3ce1')+'\x0a'+_0x1cd3('0x57ff')+_0x1cd3('0x5800')+_0x1cd3('0x5801')+_0x1cd3('0x3a52')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x5802')+'\x0a'+_0x1cd3('0x5803')+_0x1cd3('0x5804')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Uninstall\x20Plugin\x0a'+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a5a')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+_0x1cd3('0x3699')+'\x0a'+_0x1cd3('0x369a')+_0x1cd3('0x3951')+'\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a5e')+_0x1cd3('0x3a5f')+'\x0a'+_0x1cd3('0x5806')+_0x1cd3('0x3a61')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a63')+'\x0a'+_0x1cd3('0x3a64')+_0x1cd3('0x36f6')+_0x1cd3('0x3a65')+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a66')+'\x0a'+_0x1cd3('0x5807')+_0x1cd3('0x5808')+_0x1cd3('0x5809')+_0x1cd3('0x376d')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3686'));_0x404b17[_0x1cd3('0x37b')]('app/main/apps/marketplace/views/plugins/upload/dialog.html',_0x1cd3('0x580a')+_0x1cd3('0x580b')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x39d7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b1f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3b18')+_0x1cd3('0x3b19')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+_0x1cd3('0x580c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20flow-files-submitted=\x22vm.upload()\x22\x20flow-file-added=\x22vm.fileAdded($file)\x22\x20flow-file-success=\x22vm.fileSuccess($file,\x20$message)\x22\x0a'+_0x1cd3('0x580d')+_0x1cd3('0x580e')+'\x0a'+_0x1cd3('0x580f')+_0x1cd3('0x5810')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x5811')+_0x1cd3('0x5812')+_0x1cd3('0x5813')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5814')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+'\x0a'+_0x1cd3('0x5815')+_0x1cd3('0x38c3')+_0x1cd3('0x5816')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.plugin.file.name}}\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x5817')+_0x1cd3('0x366a')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3b20')+_0x1cd3('0x5818')+_0x1cd3('0x3b4b')+_0x1cd3('0x5819')+_0x1cd3('0x581a')+_0x1cd3('0x581b')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3681')+'');_0x404b17[_0x1cd3('0x37b')]('app/main/apps/motiondialer/views/ivrCampaigns/create/dialog.html',_0x1cd3('0x581c')+_0x1cd3('0x581d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x581e')+_0x1cd3('0x581f')+_0x1cd3('0x39e1')+_0x1cd3('0x3e46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.newIvrCampaign\x22\x20\x0a'+_0x1cd3('0x3dff')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x5820')+_0x1cd3('0x5821')+_0x1cd3('0x3b24')+_0x1cd3('0x5822')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5823')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x5824')+_0x1cd3('0x3ed3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5825')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5829')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3acf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CheckDuplicate\x0a'+_0x1cd3('0x582c')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e6')+_0x1cd3('0x3a6f')+_0x1cd3('0x3f7a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x5831')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x5832')+_0x1cd3('0x5833')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6f')+_0x1cd3('0x5834')+_0x1cd3('0x5835')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5836')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5837')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3acf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ConcurrentCalls\x0a'+_0x1cd3('0x5838')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e0d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20max=\x22200\x22\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5839')+_0x1cd3('0x583a')+_0x1cd3('0x3b24')+_0x1cd3('0x583b')+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+_0x1cd3('0x583c')+_0x1cd3('0x3e12')+_0x1cd3('0x3e13')+_0x1cd3('0x583d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e15')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x583e')+_0x1cd3('0x583f')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x5840')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5841')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x39ef')+_0x1cd3('0x388f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39fa')+_0x1cd3('0x5845')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22MOTIONDIALER.DELETE\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5846')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a');_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x1dee'),_0x1cd3('0x5847')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e1f')+_0x1cd3('0x3d4f')+_0x1cd3('0x5848')+_0x1cd3('0x3d50')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366b')+_0x1cd3('0x366c')+_0x1cd3('0x5849')+_0x1cd3('0x584a')+_0x1cd3('0x584b')+_0x1cd3('0x584c')+_0x1cd3('0x584d')+_0x1cd3('0x3e26')+_0x1cd3('0x3e22')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3675')+_0x1cd3('0x3681')+'\x0a');_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x1e06'),_0x1cd3('0x584e')+_0x1cd3('0x581d')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x0a'+_0x1cd3('0x581f')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-pattern=\x22/^[A-Za-z0-9\x5c.\x5c_]+$/i\x22\x20\x20\x0a'+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x1cd3('0x584f')+_0x1cd3('0x3dff')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5820')+_0x1cd3('0x5821')+_0x1cd3('0x3b24')+_0x1cd3('0x5822')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e03')+_0x1cd3('0x5823')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39da')+_0x1cd3('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x3b20')+_0x1cd3('0x5850')+_0x1cd3('0x54ce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22ivrCampaignForm.$invalid\x22\x0a'+_0x1cd3('0x5851')+_0x1cd3('0x5852')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3675')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x1499'),_0x1cd3('0x43f1')+_0x1cd3('0x43f2')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3858')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x5853')+_0x1cd3('0x5854')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5855')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x386c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Date\x20is\x20required\x0a'+_0x1cd3('0x386e')+_0x1cd3('0x46f1')+_0x1cd3('0x5856')+_0x1cd3('0x386e')+_0x1cd3('0x386f')+_0x1cd3('0x46f3')+_0x1cd3('0x36b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5857')+_0x1cd3('0x386c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Time\x20is\x20required\x0a'+_0x1cd3('0x386e')+_0x1cd3('0x46f1')+_0x1cd3('0x5858')+_0x1cd3('0x386e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x5859')+_0x1cd3('0x36b7')+_0x1cd3('0x44f1')+_0x1cd3('0x3841')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x585a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Lowest\x0a'+_0x1cd3('0x3acc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x5862')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ed3')+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x39ef')+_0x1cd3('0x388f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x5864')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x1cd3('0x5865')+_0x1cd3('0x5866')+_0x1cd3('0x43fc')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39fa')+_0x1cd3('0x5867')+_0x1cd3('0x5868')+_0x1cd3('0x3a20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x39fe')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')]('app/main/apps/motiondialer/views/ivrCampaigns/edit/listadd/listadd.html',_0x1cd3('0x5847')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e1f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5869')+_0x1cd3('0x3d50')+_0x1cd3('0x3857')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x366b')+_0x1cd3('0x366c')+_0x1cd3('0x5849')+_0x1cd3('0x584a')+_0x1cd3('0x584b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x584d')+_0x1cd3('0x3e26')+_0x1cd3('0x3e22')+_0x1cd3('0x586a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3675')+'\x20\x20\x20\x20\x0a'+'\x0a');_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x1df4'),_0x1cd3('0x586b')+_0x1cd3('0x586c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d4f')+_0x1cd3('0x586d')+_0x1cd3('0x3d50')+_0x1cd3('0x586e')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+_0x1cd3('0x586f')+_0x1cd3('0x5870')+_0x1cd3('0x5871')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5872')+_0x1cd3('0x5873')+_0x1cd3('0x5874')+_0x1cd3('0x3756')+_0x1cd3('0x5871')+_0x1cd3('0x3756')+_0x1cd3('0x5875')+_0x1cd3('0x5876')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20item.name\x20|\x20limitTo:40\x20}}\x0a'+_0x1cd3('0x5874')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366f')+_0x1cd3('0x5877')+_0x1cd3('0x5878')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5879')+_0x1cd3('0x587a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d21')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x20b'),'\x0a'+'\x0a'+_0x1cd3('0x3adc')+_0x1cd3('0x3b9f')+_0x1cd3('0x3d5a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3671')+'\x0a'+_0x1cd3('0x388f')+'\x0a'+_0x1cd3('0x587c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x3ba2')+_0x1cd3('0x3ba3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.ivrCampaign.id}}\x0a'+_0x1cd3('0x587d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ba6')+_0x1cd3('0x587e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ee')+_0x1cd3('0x54ec')+_0x1cd3('0x587f')+_0x1cd3('0x5880')+_0x1cd3('0x5881')+_0x1cd3('0x5882')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ee')+_0x1cd3('0x3e31')+_0x1cd3('0x5883')+_0x1cd3('0x5880')+_0x1cd3('0x5884')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5885')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e31')+_0x1cd3('0x5886')+_0x1cd3('0x3f93')+_0x1cd3('0x5887')+_0x1cd3('0x5888')+_0x1cd3('0x5889')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x39ee')+_0x1cd3('0x54ec')+_0x1cd3('0x588a')+_0x1cd3('0x3f93')+_0x1cd3('0x588b')+_0x1cd3('0x588c')+_0x1cd3('0x588d')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x39ee')+_0x1cd3('0x3e31')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e3b')+_0x1cd3('0x3d24')+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x3686')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a22')+_0x1cd3('0x3e3c')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e3d')+_0x1cd3('0x588f')+_0x1cd3('0x3e3f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5890')+_0x1cd3('0x3e42')+_0x1cd3('0x5891')+_0x1cd3('0x386f')+_0x1cd3('0x3e44')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x581e')+_0x1cd3('0x581f')+_0x1cd3('0x39e1')+_0x1cd3('0x3e46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x1cd3('0x3e47')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20disabled\x20\x0a'+_0x1cd3('0x3dff')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5820')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x5822')+_0x1cd3('0x3756')+_0x1cd3('0x3e03')+_0x1cd3('0x5823')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x5892')+_0x1cd3('0x3ed3')+_0x1cd3('0x3870')+_0x1cd3('0x3acf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Trunk\x0a'+_0x1cd3('0x5893')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x3a6f')+_0x1cd3('0x4d2e')+_0x1cd3('0x5826')+_0x1cd3('0x3acc')+_0x1cd3('0x4d99')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Trunk\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3acf')+_0x1cd3('0x5894')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20None\x0a'+_0x1cd3('0x5895')+_0x1cd3('0x5896')+_0x1cd3('0x3acc')+_0x1cd3('0x5897')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20BackupTrunk\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x5829')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Interval\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3acf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CheckDuplicate\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.NEVER\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fe5')+_0x1cd3('0x582f')+_0x1cd3('0x3a4d')+_0x1cd3('0x5830')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x589b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5831')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x589c')+_0x1cd3('0x589d')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3ea9')+_0x1cd3('0x589e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x589f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CutDigit\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+_0x1cd3('0x58a0')+_0x1cd3('0x3e12')+_0x1cd3('0x3e13')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CutDigit\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x2015\x0a'+_0x1cd3('0x3e12')+_0x1cd3('0x3e15')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x583e')+_0x1cd3('0x583f')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x3e4f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5841')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x3fa6')+_0x1cd3('0x3e51')+_0x1cd3('0x3fba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fda')+_0x1cd3('0x3e3d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CAMPAIGN\x0a'+_0x1cd3('0x3e3f')+_0x1cd3('0x3e40')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e42')+_0x1cd3('0x58a1')+_0x1cd3('0x386f')+_0x1cd3('0x58a2')+_0x1cd3('0x3e45')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CallySquareProject\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x58a3')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CallySquareProject\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x58a4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x583c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e13')+_0x1cd3('0x583d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e15')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x3fa6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x58a7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x58a8')+_0x1cd3('0x3e45')+_0x1cd3('0x58a9')+_0x1cd3('0x58aa')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x58ab')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x58ac')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x58ad')+_0x1cd3('0x58ae')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x58af')+_0x1cd3('0x58b0')+_0x1cd3('0x3b24')+_0x1cd3('0x58b1')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x58b2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x58b4')+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+_0x1cd3('0x58b5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x58b6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e15')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x58b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x58b9')+_0x1cd3('0x3b24')+_0x1cd3('0x58ba')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x58bb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x58bc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e15')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x58bd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Prefix\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3e03')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Prefix\x20must\x20be\x20valid\x20pattern\x20\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e51')+_0x1cd3('0x3fba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fda')+_0x1cd3('0x3e3d')+_0x1cd3('0x58c1')+_0x1cd3('0x3e3f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x58c2')+_0x1cd3('0x3e42')+_0x1cd3('0x58c3')+_0x1cd3('0x386f')+_0x1cd3('0x58c4')+_0x1cd3('0x3e45')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GlobalMaxRetry\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GlobalMaxRetry\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GlobalMaxRetry\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a'+_0x1cd3('0x3e12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x58c7')+_0x1cd3('0x3e12')+_0x1cd3('0x3e15')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fa6')+_0x1cd3('0x3e51')+_0x1cd3('0x58c8')+_0x1cd3('0x3e42')+_0x1cd3('0x58c9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x58ca')+_0x1cd3('0x3e45')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CongestionMaxRetry\x0a'+_0x1cd3('0x58cb')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e0d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20max=\x22999\x22\x20\x20\x0a'+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x58cc')+_0x1cd3('0x58cd')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CongestionMaxRetry\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CongestionMaxRetry\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a'+_0x1cd3('0x3e12')+_0x1cd3('0x3e13')+_0x1cd3('0x58ce')+_0x1cd3('0x3e12')+_0x1cd3('0x3e15')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CongestionRetryTime\x0a'+_0x1cd3('0x58cf')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e0d')+_0x1cd3('0x58d0')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x58d1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CongestionRetryTime\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CongestionRetryTime\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e13')+_0x1cd3('0x58d2')+_0x1cd3('0x3e12')+_0x1cd3('0x3e15')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ee')+_0x1cd3('0x3fa6')+_0x1cd3('0x3e51')+_0x1cd3('0x58d3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20BUSY\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x58d4')+_0x1cd3('0x3e45')+_0x1cd3('0x58d5')+_0x1cd3('0x58d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x221\x22\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20max=\x22999\x22\x20\x20\x0a'+_0x1cd3('0x39e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x58d7')+_0x1cd3('0x58d8')+_0x1cd3('0x3b24')+_0x1cd3('0x58d9')+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20BusyMaxRetry\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a'+_0x1cd3('0x3e12')+_0x1cd3('0x3e13')+_0x1cd3('0x58da')+_0x1cd3('0x3e12')+_0x1cd3('0x3e15')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20BusyRetryTime\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20BusyRetryTime\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+_0x1cd3('0x58dd')+_0x1cd3('0x3e12')+_0x1cd3('0x3e13')+_0x1cd3('0x58de')+_0x1cd3('0x3e12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x3fa6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x58df')+_0x1cd3('0x3e42')+_0x1cd3('0x58e0')+_0x1cd3('0x386f')+_0x1cd3('0x58e1')+_0x1cd3('0x3e45')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NoAnswerMaxRetry\x0a'+_0x1cd3('0x58e2')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e0d')+_0x1cd3('0x58b8')+_0x1cd3('0x39e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e5')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x58e3')+_0x1cd3('0x58e4')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NoAnswerMaxRetry\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x58e5')+_0x1cd3('0x3e12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x58e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e15')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x58e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e51')+_0x1cd3('0x58ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x58ee')+_0x1cd3('0x386f')+_0x1cd3('0x58ef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x58f0')+_0x1cd3('0x58f1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3e0d')+_0x1cd3('0x58b8')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x58f2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4e')+_0x1cd3('0x58f3')+_0x1cd3('0x3e12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NoSuchNumberMaxRetry\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x20999\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e15')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x58f4')+_0x1cd3('0x58f5')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e0d')+_0x1cd3('0x58d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x58f6')+_0x1cd3('0x58f7')+_0x1cd3('0x3b24')+_0x1cd3('0x58f8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4e')+_0x1cd3('0x58f9')+_0x1cd3('0x3e12')+_0x1cd3('0x3e13')+_0x1cd3('0x58fa')+_0x1cd3('0x3e12')+_0x1cd3('0x3e15')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fa6')+_0x1cd3('0x3e51')+_0x1cd3('0x58fb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x58fc')+_0x1cd3('0x386f')+_0x1cd3('0x58fd')+_0x1cd3('0x3e45')+_0x1cd3('0x58fe')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x58ff')+_0x1cd3('0x3b24')+_0x1cd3('0x5900')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DropMaxRetry\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e13')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DropMaxRetry\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x20999\x0a'+_0x1cd3('0x3e12')+_0x1cd3('0x3e15')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x5901')+_0x1cd3('0x5902')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e0d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20max=\x2299999\x22\x20\x20\x0a'+_0x1cd3('0x39e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5903')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x5904')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5905')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e13')+_0x1cd3('0x5906')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ee')+_0x1cd3('0x3fa6')+_0x1cd3('0x3e51')+_0x1cd3('0x5907')+_0x1cd3('0x3e42')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ABANDONED\x0a'+_0x1cd3('0x386f')+_0x1cd3('0x5908')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5909')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AbandonedMaxRetry\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+_0x1cd3('0x590a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e13')+_0x1cd3('0x590b')+_0x1cd3('0x3e12')+_0x1cd3('0x3e15')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x590c')+_0x1cd3('0x590d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x221\x22\x20\x20\x20\x0a'+_0x1cd3('0x58d0')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x590e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x590f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AbandonedRetryTime\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a'+_0x1cd3('0x3e12')+_0x1cd3('0x3e13')+_0x1cd3('0x5910')+_0x1cd3('0x3e12')+_0x1cd3('0x3e15')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x3fa6')+_0x1cd3('0x3e51')+_0x1cd3('0x5911')+_0x1cd3('0x3e42')+_0x1cd3('0x5912')+_0x1cd3('0x386f')+_0x1cd3('0x5913')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5914')+_0x1cd3('0x5915')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e0d')+_0x1cd3('0x58b8')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x5916')+_0x1cd3('0x5917')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5918')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MachineMaxRetry\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a'+_0x1cd3('0x3e12')+_0x1cd3('0x3e13')+_0x1cd3('0x5919')+_0x1cd3('0x3e12')+_0x1cd3('0x3e15')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MachineRetryTime\x0a'+_0x1cd3('0x591a')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x221\x22\x20\x20\x20\x0a'+_0x1cd3('0x58d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x591b')+_0x1cd3('0x591c')+_0x1cd3('0x3b24')+_0x1cd3('0x591d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x591e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e13')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MachineRetryTime\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x2099999\x0a'+_0x1cd3('0x3e12')+_0x1cd3('0x3e15')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x3fa6')+_0x1cd3('0x3e51')+_0x1cd3('0x591f')+_0x1cd3('0x3e42')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AGENTREJECT\x0a'+_0x1cd3('0x386f')+_0x1cd3('0x5920')+_0x1cd3('0x3e45')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AgentRejectMaxRetry\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5923')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4e')+_0x1cd3('0x5924')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5925')+_0x1cd3('0x3e12')+_0x1cd3('0x3e15')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x5926')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5927')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AgentRejectRetryTime\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5928')+_0x1cd3('0x3e12')+_0x1cd3('0x3e13')+_0x1cd3('0x5929')+_0x1cd3('0x3e12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e51')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fda')+_0x1cd3('0x3e3d')+_0x1cd3('0x592a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x3e40')+_0x1cd3('0x592b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x592c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e45')+_0x1cd3('0x592d')+_0x1cd3('0x592e')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x3f7a')+_0x1cd3('0x592f')+_0x1cd3('0x3a4d')+_0x1cd3('0x5930')+_0x1cd3('0x3fe5')+_0x1cd3('0x5931')+_0x1cd3('0x3a4d')+_0x1cd3('0x5932')+_0x1cd3('0x3acc')+_0x1cd3('0x5933')+_0x1cd3('0x5934')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5935')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x3ed3')+_0x1cd3('0x3fa6')+_0x1cd3('0x3e51')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e42')+_0x1cd3('0x5936')+_0x1cd3('0x386f')+_0x1cd3('0x5937')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5938')+_0x1cd3('0x5939')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x593a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x593b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fa6')+_0x1cd3('0x3e51')+_0x1cd3('0x593c')+_0x1cd3('0x3e42')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TIMEZONE\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x593d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Timezone\x0a'+_0x1cd3('0x593e')+_0x1cd3('0x593f')+_0x1cd3('0x5940')+_0x1cd3('0x3b24')+_0x1cd3('0x5941')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fa6')+_0x1cd3('0x3e51')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e42')+_0x1cd3('0x5942')+_0x1cd3('0x386f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e45')+_0x1cd3('0x5943')+_0x1cd3('0x3ed3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3870')+_0x1cd3('0x5944')+_0x1cd3('0x5945')+_0x1cd3('0x5946')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3ea9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x5947')+_0x1cd3('0x5948')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5949')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x594a')+_0x1cd3('0x3e12')+_0x1cd3('0x3f04')+_0x1cd3('0x36aa')+_0x1cd3('0x594b')+_0x1cd3('0x594c')+_0x1cd3('0x594d')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x220\x22\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x594e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AMDGreeting\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x594f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f04')+_0x1cd3('0x36aa')+_0x1cd3('0x594b')+_0x1cd3('0x5950')+_0x1cd3('0x5951')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ea9')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x5952')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5953')+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+_0x1cd3('0x5954')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f04')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5955')+_0x1cd3('0x5956')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x220\x22\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AMDTotalAnalysisTime\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AMDTotalAnalysisTime\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a'+_0x1cd3('0x3e12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x594b')+_0x1cd3('0x5957')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5958')+_0x1cd3('0x3b24')+_0x1cd3('0x5959')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x595a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f04')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x594b')+_0x1cd3('0x595b')+_0x1cd3('0x595c')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x220\x22\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x595d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x595e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4e')+_0x1cd3('0x595f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f04')+_0x1cd3('0x36aa')+_0x1cd3('0x594b')+_0x1cd3('0x5960')+_0x1cd3('0x5961')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x220\x22\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x5962')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5963')+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+_0x1cd3('0x5964')+_0x1cd3('0x3e12')+_0x1cd3('0x3f04')+_0x1cd3('0x36aa')+_0x1cd3('0x594b')+_0x1cd3('0x5965')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5969')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x596a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e13')+_0x1cd3('0x596b')+_0x1cd3('0x3e12')+_0x1cd3('0x3e15')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x596c')+_0x1cd3('0x596d')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3ea9')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x596e')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AMDMaximumWordLength\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a'+_0x1cd3('0x3e12')+_0x1cd3('0x3f04')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x3fa6')+_0x1cd3('0x3e51')+_0x1cd3('0x3fba')+_0x1cd3('0x3e52')+_0x1cd3('0x3fda')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HOPPERS\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x596f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5970')+_0x1cd3('0x411f')+'\x20\x20\x20\x20\x20\x20\x20\x20Hoppers\x0a'+_0x1cd3('0x5971')+_0x1cd3('0x5972')+_0x1cd3('0x5973')+_0x1cd3('0x3d24')+_0x1cd3('0x3d1d')+_0x1cd3('0x415d')+_0x1cd3('0x5974')+'\x20\x20\x0a'+'\x0a'+_0x1cd3('0x5975')+_0x1cd3('0x5976')+'\x0a'+_0x1cd3('0x5977')+_0x1cd3('0x5978')+_0x1cd3('0x5979')+_0x1cd3('0x597a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.TOTAL\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x597b')+_0x1cd3('0x5976')+'\x0a'+_0x1cd3('0x5977')+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x597c')+_0x1cd3('0x597d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x597e')+'\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x597f')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x5980')+_0x1cd3('0x5976')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5979')+_0x1cd3('0x5981')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.OPEN\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5982')+'\x0a'+_0x1cd3('0x597f')+_0x1cd3('0x5983')+'\x0a'+_0x1cd3('0x5980')+_0x1cd3('0x5976')+'\x0a'+_0x1cd3('0x5977')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5979')+_0x1cd3('0x5984')+_0x1cd3('0x5985')+_0x1cd3('0x36f6')+_0x1cd3('0x597e')+_0x1cd3('0x5982')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3824')+_0x1cd3('0x5986')+_0x1cd3('0x376e')+'\x0a'+_0x1cd3('0x3e51')+_0x1cd3('0x5987')+_0x1cd3('0x5988')+_0x1cd3('0x5989')+_0x1cd3('0x4118')+_0x1cd3('0x598a')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x411b')+_0x1cd3('0x598b')+_0x1cd3('0x598c')+_0x1cd3('0x4e23')+_0x1cd3('0x4104')+_0x1cd3('0x3f1c')+_0x1cd3('0x415d')+_0x1cd3('0x598d')+_0x1cd3('0x411f')+_0x1cd3('0x598e')+_0x1cd3('0x3b5a')+_0x1cd3('0x598f')+_0x1cd3('0x4121')+_0x1cd3('0x415a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4160')+_0x1cd3('0x5992')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.CONTACTID\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4128')+_0x1cd3('0x5993')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.PHONE\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4128')+_0x1cd3('0x5994')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.CONGESTION\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4128')+_0x1cd3('0x5995')+_0x1cd3('0x5996')+_0x1cd3('0x4128')+_0x1cd3('0x5997')+_0x1cd3('0x5998')+_0x1cd3('0x4128')+_0x1cd3('0x5999')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.NOSUCHNUMBER\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4128')+_0x1cd3('0x599a')+_0x1cd3('0x599b')+_0x1cd3('0x4128')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x599c')+_0x1cd3('0x4128')+_0x1cd3('0x599d')+_0x1cd3('0x599e')+_0x1cd3('0x4128')+_0x1cd3('0x599f')+_0x1cd3('0x59a0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x59a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x59a2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.PRIORITY\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4128')+_0x1cd3('0x412e')+_0x1cd3('0x412f')+_0x1cd3('0x417f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x59a3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x59a4')+_0x1cd3('0x59a5')+_0x1cd3('0x4133')+_0x1cd3('0x59a4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hopper.countcongestionretry}}\x0a'+_0x1cd3('0x4133')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x59a6')+_0x1cd3('0x4133')+_0x1cd3('0x59a4')+_0x1cd3('0x59a7')+_0x1cd3('0x4133')+_0x1cd3('0x59a4')+_0x1cd3('0x59a8')+_0x1cd3('0x4133')+_0x1cd3('0x59a4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hopper.countdropretry}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x59a4')+_0x1cd3('0x59a9')+_0x1cd3('0x4133')+_0x1cd3('0x59a4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hopper.countmachineretry}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x59a4')+_0x1cd3('0x59aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x59ab')+_0x1cd3('0x59ac')+_0x1cd3('0x413e')+_0x1cd3('0x59ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm_dc.createOrEditIvrCampaignHopper($event,\x20hopper)\x22\x20\x0a'+_0x1cd3('0x41ff')+_0x1cd3('0x59ae')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4166')+_0x1cd3('0x413f')+_0x1cd3('0x59af')+_0x1cd3('0x4141')+_0x1cd3('0x4185')+'\x20\x0a'+_0x1cd3('0x4167')+_0x1cd3('0x4142')+_0x1cd3('0x59b0')+_0x1cd3('0x59b1')+_0x1cd3('0x4145')+_0x1cd3('0x4146')+_0x1cd3('0x4147')+_0x1cd3('0x59b2')+_0x1cd3('0x59b3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4149')+_0x1cd3('0x414a')+_0x1cd3('0x4189')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x412f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x59b4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4150')+_0x1cd3('0x412f')+_0x1cd3('0x4151')+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x0a'+_0x1cd3('0x59b5')+_0x1cd3('0x3824')+'\x0a'+_0x1cd3('0x3e51')+_0x1cd3('0x3fba')+_0x1cd3('0x3e52')+_0x1cd3('0x3fda')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x59b6')+_0x1cd3('0x3e3f')+_0x1cd3('0x3e40')+_0x1cd3('0x59b7')+_0x1cd3('0x59b8')+'\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20HopperHistories\x0a'+_0x1cd3('0x411a')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x59b9')+_0x1cd3('0x59ba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4104')+_0x1cd3('0x3f1c')+'\x20\x20\x0a'+_0x1cd3('0x59bb')+_0x1cd3('0x411f')+_0x1cd3('0x59bc')+_0x1cd3('0x3b5a')+_0x1cd3('0x59bd')+_0x1cd3('0x4121')+_0x1cd3('0x415a')+_0x1cd3('0x3f1c')+'\x20\x20\x0a'+_0x1cd3('0x4123')+_0x1cd3('0x59be')+_0x1cd3('0x59bf')+_0x1cd3('0x4160')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x59c0')+_0x1cd3('0x4128')+_0x1cd3('0x59c1')+_0x1cd3('0x59c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x550c')+_0x1cd3('0x59c3')+_0x1cd3('0x4128')+_0x1cd3('0x59c4')+_0x1cd3('0x59c5')+_0x1cd3('0x4128')+_0x1cd3('0x59c6')+_0x1cd3('0x59c7')+_0x1cd3('0x4128')+_0x1cd3('0x59c8')+_0x1cd3('0x59a1')+_0x1cd3('0x4128')+_0x1cd3('0x5506')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.STARTTIME\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4128')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x59c9')+_0x1cd3('0x4128')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x412f')+_0x1cd3('0x417f')+_0x1cd3('0x4130')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4222')+_0x1cd3('0x59ca')+_0x1cd3('0x4133')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x59cb')+_0x1cd3('0x4133')+_0x1cd3('0x4224')+_0x1cd3('0x59cc')+_0x1cd3('0x4133')+_0x1cd3('0x4224')+_0x1cd3('0x59cd')+_0x1cd3('0x4133')+_0x1cd3('0x4224')+_0x1cd3('0x59ce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41f8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20hopperHistory.scheduledat\x20|\x20formatdate\x20}}\x0a'+_0x1cd3('0x413e')+_0x1cd3('0x41fa')+_0x1cd3('0x59cf')+_0x1cd3('0x413e')+_0x1cd3('0x41fa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20hopperHistory.endtime\x20|\x20formatdate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x59d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x59d1')+_0x1cd3('0x59d2')+_0x1cd3('0x414d')+_0x1cd3('0x59d3')+_0x1cd3('0x414f')+_0x1cd3('0x4150')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4152')+_0x1cd3('0x416d')+_0x1cd3('0x59d4')+_0x1cd3('0x3824')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fba')+_0x1cd3('0x3e52')+_0x1cd3('0x3fda')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20FINAL\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e40')+_0x1cd3('0x59d5')+_0x1cd3('0x59d6')+_0x1cd3('0x59d7')+_0x1cd3('0x4118')+'\x20\x20\x20\x20\x20\x20HopperFinals\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x59d8')+_0x1cd3('0x59d9')+_0x1cd3('0x4e23')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x59da')+_0x1cd3('0x4809')+_0x1cd3('0x59db')+_0x1cd3('0x59dc')+_0x1cd3('0x59dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x59de')+_0x1cd3('0x59df')+_0x1cd3('0x59e0')+_0x1cd3('0x59e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x59de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x59e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{vm_dc.contacts.busyContacts}})\x0a'+_0x1cd3('0x40dd')+_0x1cd3('0x59e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x59e4')+_0x1cd3('0x59e5')+_0x1cd3('0x59e6')+_0x1cd3('0x40dd')+_0x1cd3('0x59e3')+_0x1cd3('0x59de')+_0x1cd3('0x59e7')+_0x1cd3('0x59e8')+_0x1cd3('0x59e9')+_0x1cd3('0x40dd')+_0x1cd3('0x59e3')+_0x1cd3('0x59de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Abandoned\x0a'+_0x1cd3('0x59ea')+_0x1cd3('0x40dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x59de')+_0x1cd3('0x59eb')+_0x1cd3('0x59ec')+_0x1cd3('0x59ed')+_0x1cd3('0x40dd')+_0x1cd3('0x59e3')+_0x1cd3('0x59de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x59ee')+_0x1cd3('0x59ef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x59f0')+_0x1cd3('0x59f1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AnsweringMachine\x0a'+_0x1cd3('0x59f2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x59f3')+_0x1cd3('0x59f4')+_0x1cd3('0x481a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d21')+_0x1cd3('0x415d')+'\x20\x20\x0a'+_0x1cd3('0x411f')+_0x1cd3('0x59f5')+_0x1cd3('0x3b5a')+_0x1cd3('0x59f6')+_0x1cd3('0x4121')+_0x1cd3('0x415a')+_0x1cd3('0x59f7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22move\x20selected\x22\x20translate\x20translate-attr-label=\x22MOTIONDIALER.MOVE_SELECTED\x22>\x0a'+_0x1cd3('0x59f8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d24')+_0x1cd3('0x3fc3')+'\x20\x20\x0a'+_0x1cd3('0x4123')+_0x1cd3('0x59f9')+_0x1cd3('0x59fa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x59c0')+_0x1cd3('0x4128')+_0x1cd3('0x59c1')+_0x1cd3('0x59c2')+_0x1cd3('0x4128')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x59c3')+_0x1cd3('0x4128')+_0x1cd3('0x59c4')+_0x1cd3('0x59c5')+_0x1cd3('0x4128')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x59c7')+_0x1cd3('0x4128')+_0x1cd3('0x5994')+_0x1cd3('0x59fb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5995')+_0x1cd3('0x5996')+_0x1cd3('0x4128')+_0x1cd3('0x5997')+_0x1cd3('0x5998')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5999')+_0x1cd3('0x59fc')+_0x1cd3('0x4128')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x599b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x59fd')+_0x1cd3('0x599c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x599e')+_0x1cd3('0x4128')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.AGENTREJECT\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4128')+_0x1cd3('0x5506')+_0x1cd3('0x59fe')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5508')+_0x1cd3('0x59c9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x59ff')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x412e')+_0x1cd3('0x412f')+_0x1cd3('0x417f')+_0x1cd3('0x4130')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4222')+_0x1cd3('0x5a00')+_0x1cd3('0x4133')+_0x1cd3('0x4224')+_0x1cd3('0x5a01')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5a02')+_0x1cd3('0x4133')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5a03')+_0x1cd3('0x4133')+_0x1cd3('0x4224')+_0x1cd3('0x5a04')+_0x1cd3('0x4133')+_0x1cd3('0x4224')+_0x1cd3('0x5a05')+_0x1cd3('0x4133')+_0x1cd3('0x4224')+_0x1cd3('0x5a06')+_0x1cd3('0x4133')+_0x1cd3('0x4224')+_0x1cd3('0x5a07')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5a08')+_0x1cd3('0x4133')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5a09')+_0x1cd3('0x4133')+_0x1cd3('0x4224')+_0x1cd3('0x5a0a')+_0x1cd3('0x4133')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5a0b')+_0x1cd3('0x4133')+_0x1cd3('0x4224')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hopperFinal.countagentrejectretry}}\x0a'+_0x1cd3('0x4133')+_0x1cd3('0x41f8')+_0x1cd3('0x5a0c')+_0x1cd3('0x413e')+_0x1cd3('0x41fa')+_0x1cd3('0x5a0d')+_0x1cd3('0x413e')+_0x1cd3('0x4207')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hopperFinal.disposition}}\x0a'+_0x1cd3('0x4133')+_0x1cd3('0x5a0e')+_0x1cd3('0x413f')+_0x1cd3('0x59af')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4185')+'\x20\x0a'+_0x1cd3('0x4167')+_0x1cd3('0x5a0f')+_0x1cd3('0x5a10')+_0x1cd3('0x5a11')+_0x1cd3('0x4145')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4189')+_0x1cd3('0x414b')+_0x1cd3('0x412f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5a12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5a13')+_0x1cd3('0x414f')+_0x1cd3('0x4150')+_0x1cd3('0x412f')+_0x1cd3('0x4151')+_0x1cd3('0x4152')+_0x1cd3('0x416d')+_0x1cd3('0x5a14')+_0x1cd3('0x3824')+'\x0a'+_0x1cd3('0x3e51')+_0x1cd3('0x3fba')+_0x1cd3('0x3e52')+_0x1cd3('0x3fda')+_0x1cd3('0x3e3d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20BLACKLIST\x0a'+_0x1cd3('0x3e3f')+_0x1cd3('0x3e40')+_0x1cd3('0x5a15')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5a16')+_0x1cd3('0x4118')+_0x1cd3('0x5a17')+_0x1cd3('0x411a')+_0x1cd3('0x411b')+_0x1cd3('0x3841')+_0x1cd3('0x415d')+_0x1cd3('0x5a18')+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20{{vm_dc.selectedIvrCampaignHopperBlacks.length}}\x20{{vm_dc.selectedIvrCampaignHopperBlacks.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected\x0a'+_0x1cd3('0x3b5a')+_0x1cd3('0x5a19')+_0x1cd3('0x4121')+_0x1cd3('0x415a')+_0x1cd3('0x3f1c')+_0x1cd3('0x415d')+_0x1cd3('0x4123')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5a1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5992')+_0x1cd3('0x59c2')+_0x1cd3('0x4128')+_0x1cd3('0x5993')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.PHONE\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4128')+_0x1cd3('0x412e')+_0x1cd3('0x412f')+_0x1cd3('0x417f')+_0x1cd3('0x4130')+_0x1cd3('0x5a1b')+'>\x0a'+_0x1cd3('0x4222')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hopperBlack.ContactId}}\x0a'+_0x1cd3('0x4133')+_0x1cd3('0x4224')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hopperBlack.phone}}\x0a'+_0x1cd3('0x4133')+_0x1cd3('0x5a1c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x412f')+_0x1cd3('0x5a1d')+_0x1cd3('0x4ebc')+_0x1cd3('0x414d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20hopperblack\x20available\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x412f')+_0x1cd3('0x4151')+_0x1cd3('0x4152')+'\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3824')+'\x0a'+_0x1cd3('0x3e51')+_0x1cd3('0x3fba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a66')+'\x0a'+'\x0a');_0x404b17['put'](_0x1cd3('0x5a1e'),_0x1cd3('0x5a1f')+'\x0a'+_0x1cd3('0x3adc')+_0x1cd3('0x39ff')+'\x0a'+_0x1cd3('0x3add')+_0x1cd3('0x37e6')+_0x1cd3('0x3a00')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5a20')+_0x1cd3('0x38f9')+_0x1cd3('0x5a21')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae1')+'\x0a'+_0x1cd3('0x3ae2')+_0x1cd3('0x3ae3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a03')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a05')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36c2')+_0x1cd3('0x366a')+_0x1cd3('0x3ae5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3ae6')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a'+_0x1cd3('0x3a09')+'\x0a'+_0x1cd3('0x5a22')+_0x1cd3('0x3a0b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5a23')+_0x1cd3('0x3671')+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x3a0c')+'\x0a'+_0x1cd3('0x3a0d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedIvrCampaigns.length}}\x0a'+_0x1cd3('0x5a24')+_0x1cd3('0x38f9')+'\x0a'+_0x1cd3('0x3aeb')+_0x1cd3('0x3a11')+_0x1cd3('0x3a12')+_0x1cd3('0x3aec')+_0x1cd3('0x5a25')+_0x1cd3('0x3a14')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a15')+_0x1cd3('0x3a16')+_0x1cd3('0x5a26')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Select\x20all\x0a'+_0x1cd3('0x3849')+_0x1cd3('0x3aee')+_0x1cd3('0x3a16')+_0x1cd3('0x5a27')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Select\x20none\x0a'+_0x1cd3('0x3849')+_0x1cd3('0x3aee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3aef')+_0x1cd3('0x366a')+'\x0a'+_0x1cd3('0x3a1b')+_0x1cd3('0x5a28')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a1e')+_0x1cd3('0x5a29')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22MOTIONDIALER.DELETE_SELECTED\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3841')+_0x1cd3('0x36f6')+_0x1cd3('0x3686')+_0x1cd3('0x3a21')+'\x0a'+_0x1cd3('0x3a22')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3af1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a25')+_0x1cd3('0x5a2a')+_0x1cd3('0x3a27')+_0x1cd3('0x3af3')+_0x1cd3('0x5a2b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a2a')+_0x1cd3('0x3a2b')+_0x1cd3('0x5a2c')+_0x1cd3('0x5a2d')+_0x1cd3('0x5a2e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.TRUNK\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.CALLYSQUAREPROJECT\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a34')+_0x1cd3('0x3db3')+_0x1cd3('0x3a35')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x52f5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5a2f')+_0x1cd3('0x3a3a')+_0x1cd3('0x3af8')+_0x1cd3('0x3a34')+_0x1cd3('0x5a30')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5a31')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x395d')+'\x0a'+_0x1cd3('0x3b04')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a54')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a4f')+'\x0a'+_0x1cd3('0x5a3a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MOTIONDIALER.EDIT_IVRCAMPAIGN\x22>\x0a'+_0x1cd3('0x5a3b')+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+_0x1cd3('0x3a54')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a4e')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x5a3c')+_0x1cd3('0x5a3d')+_0x1cd3('0x5a3e')+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3ce1')+'\x0a'+_0x1cd3('0x5a3f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MOTIONDIALER.LISTADD_IVRCAMPAIGN\x22>\x0a'+_0x1cd3('0x5a40')+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+_0x1cd3('0x3a54')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3ce1')+'\x0a'+_0x1cd3('0x5a41')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MOTIONDIALER.BLACKLISTADD_IVRCAMPAIGN\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20blacklistadd\x20IvrCampaign\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x5a42')+_0x1cd3('0x5a43')+_0x1cd3('0x5a44')+_0x1cd3('0x3a52')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3ce1')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5a45')+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3699')+'\x0a'+_0x1cd3('0x369a')+_0x1cd3('0x3951')+'\x0a'+'\x0a'+_0x1cd3('0x3a34')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a5e')+_0x1cd3('0x3a5f')+'\x0a'+_0x1cd3('0x5a46')+_0x1cd3('0x3a61')+_0x1cd3('0x5a47')+_0x1cd3('0x3a63')+'\x0a'+_0x1cd3('0x3a64')+_0x1cd3('0x36f6')+_0x1cd3('0x3a65')+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a66')+'\x0a'+_0x1cd3('0x5a48')+_0x1cd3('0x5a49')+_0x1cd3('0x5a4a')+_0x1cd3('0x3b0f')+_0x1cd3('0x376d')+_0x1cd3('0x5a4b')+_0x1cd3('0x3686'));_0x404b17['put'](_0x1cd3('0x1e91'),_0x1cd3('0x5a4c')+_0x1cd3('0x5a4d')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3858')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x581e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5a4f')+_0x1cd3('0x3b24')+_0x1cd3('0x5822')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20must\x20be\x20valid\x20pattern\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Active\x0a'+_0x1cd3('0x3ed3')+_0x1cd3('0x3870')+_0x1cd3('0x3acf')+_0x1cd3('0x5825')+_0x1cd3('0x5a50')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x3a6f')+_0x1cd3('0x4d2e')+_0x1cd3('0x5826')+_0x1cd3('0x3acc')+_0x1cd3('0x5a51')+_0x1cd3('0x3b24')+_0x1cd3('0x5828')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x5a52')+_0x1cd3('0x5829')+_0x1cd3('0x5a53')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x3fcc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22IntervalId.canSelect\x20===\x20false\x22>{{\x20IntervalId.name\x20}}\x0a'+_0x1cd3('0x3acc')+_0x1cd3('0x5a54')+_0x1cd3('0x3b24')+_0x1cd3('0x582b')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CheckDuplicate\x0a'+_0x1cd3('0x5a55')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e6')+_0x1cd3('0x3a6f')+_0x1cd3('0x3f7a')+_0x1cd3('0x5899')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x582d')+_0x1cd3('0x3fe5')+_0x1cd3('0x589a')+_0x1cd3('0x3a4d')+_0x1cd3('0x582e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x582f')+_0x1cd3('0x3a4d')+_0x1cd3('0x5830')+_0x1cd3('0x3acc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x5831')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x5a56')+_0x1cd3('0x5a57')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20BookedProgressive\x0a'+_0x1cd3('0x3acc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Method\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5a5e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PowerLevel\x0a'+_0x1cd3('0x5a5f')+_0x1cd3('0x5a60')+_0x1cd3('0x36aa')+_0x1cd3('0x5a61')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PredictiveOptimization\x0a'+_0x1cd3('0x5a62')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x3f7a')+_0x1cd3('0x5a63')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5a64')+_0x1cd3('0x3fe5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5a68')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PredictiveOptimizationPercentage\x0a'+_0x1cd3('0x5a69')+_0x1cd3('0x5a6a')+_0x1cd3('0x36aa')+_0x1cd3('0x5a61')+_0x1cd3('0x5a6b')+_0x1cd3('0x5a6c')+_0x1cd3('0x5a6d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MaxConcurrentCalls\x0a'+_0x1cd3('0x5a6e')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x220\x22\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20max=\x229999\x22\x20\x20\x0a'+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MaxConcurrentCalls\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+_0x1cd3('0x5a6f')+_0x1cd3('0x3e12')+_0x1cd3('0x3e13')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MaxConcurrentCalls\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x209999\x0a'+_0x1cd3('0x3e12')+_0x1cd3('0x3e15')+_0x1cd3('0x36aa')+_0x1cd3('0x5a70')+_0x1cd3('0x5a71')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x5a72')+_0x1cd3('0x5a73')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QueueTimeout\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+_0x1cd3('0x5a74')+_0x1cd3('0x3e12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QueueTimeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x20999\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x5a75')+_0x1cd3('0x5a76')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3ea9')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x5a77')+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+_0x1cd3('0x5a78')+_0x1cd3('0x3e12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x583e')+_0x1cd3('0x5a79')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x5a7a')+_0x1cd3('0x3b24')+_0x1cd3('0x5841')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x39ef')+_0x1cd3('0x388f')+_0x1cd3('0x5a7b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x1cd3('0x5a7c')+_0x1cd3('0x5843')+_0x1cd3('0x39f3')+_0x1cd3('0x39f4')+'\x0a'+_0x1cd3('0x5a7d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22queueCampaignForm.$invalid\x22\x0a'+_0x1cd3('0x5a7e')+_0x1cd3('0x5a7f')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5a80')+_0x1cd3('0x5868')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5846')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x1e63'),_0x1cd3('0x5a81')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e1f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5a82')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+_0x1cd3('0x366c')+_0x1cd3('0x5a83')+_0x1cd3('0x5a84')+_0x1cd3('0x5a85')+_0x1cd3('0x5a86')+_0x1cd3('0x3b24')+_0x1cd3('0x5a87')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5a88')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5a89')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e22')+_0x1cd3('0x3e23')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x1cd3('0x3671')+_0x1cd3('0x3675')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x1e60'),'\x0a'+_0x1cd3('0x586c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Add\x20List\x20in\x20QUEUECAMPAIGN\x0a'+_0x1cd3('0x3d50')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+_0x1cd3('0x366c')+_0x1cd3('0x5849')+_0x1cd3('0x584a')+_0x1cd3('0x584b')+_0x1cd3('0x584c')+_0x1cd3('0x584d')+_0x1cd3('0x3e26')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x586a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x1cd3('0x3671')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x1e5e'),_0x1cd3('0x5a8a')+_0x1cd3('0x5a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x581e')+_0x1cd3('0x5a8b')+_0x1cd3('0x39e1')+_0x1cd3('0x3e46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.newQueueCampaign\x22\x20\x0a'+_0x1cd3('0x3dff')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5820')+_0x1cd3('0x5a4f')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20must\x20be\x20valid\x20pattern\x20\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5a8c')+_0x1cd3('0x3ed3')+_0x1cd3('0x3870')+_0x1cd3('0x3ed3')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x3b20')+_0x1cd3('0x5a8d')+_0x1cd3('0x54ce')+_0x1cd3('0x5a8e')+_0x1cd3('0x5a8f')+_0x1cd3('0x5a90')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3675')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x1497'),_0x1cd3('0x43f1')+_0x1cd3('0x43f2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3858')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5854')+_0x1cd3('0x5a91')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5855')+_0x1cd3('0x5a92')+_0x1cd3('0x386c')+_0x1cd3('0x5a93')+_0x1cd3('0x386e')+_0x1cd3('0x46f1')+_0x1cd3('0x5856')+_0x1cd3('0x386e')+_0x1cd3('0x386f')+_0x1cd3('0x46f3')+_0x1cd3('0x36b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5857')+_0x1cd3('0x386c')+_0x1cd3('0x5a94')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x46f1')+_0x1cd3('0x5858')+_0x1cd3('0x386e')+_0x1cd3('0x386f')+_0x1cd3('0x5859')+_0x1cd3('0x36b7')+_0x1cd3('0x44f1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Priority\x0a'+_0x1cd3('0x5a95')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6f')+_0x1cd3('0x5a96')+_0x1cd3('0x3a4d')+_0x1cd3('0x585b')+_0x1cd3('0x5a97')+_0x1cd3('0x3a4d')+_0x1cd3('0x585c')+_0x1cd3('0x585d')+_0x1cd3('0x3a4d')+_0x1cd3('0x585e')+_0x1cd3('0x585f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Low\x0a'+_0x1cd3('0x5861')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5a98')+_0x1cd3('0x3acc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5a99')+_0x1cd3('0x3b24')+_0x1cd3('0x5862')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x5a9a')+_0x1cd3('0x3ed3')+_0x1cd3('0x3870')+_0x1cd3('0x5a9b')+_0x1cd3('0x5a9c')+_0x1cd3('0x5a9d')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x3a6f')+_0x1cd3('0x5a9e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22UserId.canSelect\x20===\x20false\x22>{{\x20UserId.name\x20}}\x0a'+_0x1cd3('0x3acc')+_0x1cd3('0x5a9f')+_0x1cd3('0x3b24')+_0x1cd3('0x5aa0')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3ed3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x388f')+_0x1cd3('0x5aa1')+_0x1cd3('0x3ad7')+_0x1cd3('0x5863')+_0x1cd3('0x5843')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x1cd3('0x39f4')+'\x0a'+_0x1cd3('0x5864')+_0x1cd3('0x39f6')+_0x1cd3('0x5865')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22MOTIONDIALER.ADD_HOPPER\x22\x20translate-attr-aria-label=\x22MOTIONDIALER.ADD_HOPPER\x22>\x0a'+_0x1cd3('0x43fc')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39fa')+_0x1cd3('0x5867')+_0x1cd3('0x5868')+_0x1cd3('0x3a20')+_0x1cd3('0x5846')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x39fe')+_0x1cd3('0x3681')+'\x0a');_0x404b17[_0x1cd3('0x37b')]('app/main/apps/motiondialer/views/queueCampaigns/edit/listadd/listadd.html',_0x1cd3('0x5a81')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e1f')+_0x1cd3('0x3d4f')+_0x1cd3('0x5aa2')+_0x1cd3('0x3d50')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x366b')+_0x1cd3('0x366c')+_0x1cd3('0x5849')+_0x1cd3('0x584a')+_0x1cd3('0x584b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e22')+_0x1cd3('0x586a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x1cd3('0x3671')+_0x1cd3('0x3675')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17['put'](_0x1cd3('0x1e66'),_0x1cd3('0x586b')+_0x1cd3('0x586c')+_0x1cd3('0x3e1f')+_0x1cd3('0x3d4f')+_0x1cd3('0x586d')+_0x1cd3('0x3d50')+_0x1cd3('0x586e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366b')+_0x1cd3('0x586f')+_0x1cd3('0x5870')+_0x1cd3('0x5871')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5872')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x5871')+_0x1cd3('0x3756')+_0x1cd3('0x5875')+_0x1cd3('0x5876')+_0x1cd3('0x5aa3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x414f')+_0x1cd3('0x366f')+_0x1cd3('0x5877')+_0x1cd3('0x5878')+_0x1cd3('0x3fc3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3891')+_0x1cd3('0x39f4')+_0x1cd3('0x5879')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5aa4')+_0x1cd3('0x3d21')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17['put'](_0x1cd3('0x1e62'),_0x1cd3('0x5a81')+_0x1cd3('0x586c')+_0x1cd3('0x3e1f')+_0x1cd3('0x3d4f')+_0x1cd3('0x5aa5')+_0x1cd3('0x3d50')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366b')+_0x1cd3('0x366c')+_0x1cd3('0x5a83')+_0x1cd3('0x5a84')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5a86')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20You\x20must\x20supply\x20a\x20penalty.\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x5aa6')+_0x1cd3('0x5a88')+_0x1cd3('0x3756')+_0x1cd3('0x3ec6')+_0x1cd3('0x5a89')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3e21')+_0x1cd3('0x366f')+_0x1cd3('0x3e26')+_0x1cd3('0x3e22')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ba9')+_0x1cd3('0x3671')+_0x1cd3('0x3675')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17['put'](_0x1cd3('0x201'),_0x1cd3('0x5aa7')+'\x0a'+_0x1cd3('0x3adc')+_0x1cd3('0x3b9f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x3ba2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5aaa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.queueCampaign.name}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5aab')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39ee')+_0x1cd3('0x54ec')+_0x1cd3('0x5aac')+_0x1cd3('0x5880')+_0x1cd3('0x5881')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x39ee')+_0x1cd3('0x3e31')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5885')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x39ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5aad')+_0x1cd3('0x3f93')+_0x1cd3('0x5887')+_0x1cd3('0x5aae')+_0x1cd3('0x5889')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x39ee')+_0x1cd3('0x3e31')+_0x1cd3('0x5aaf')+_0x1cd3('0x3e33')+_0x1cd3('0x4e87')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e35')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x39ee')+_0x1cd3('0x3e31')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x54ec')+_0x1cd3('0x5ab1')+_0x1cd3('0x3f93')+_0x1cd3('0x588b')+_0x1cd3('0x5ab2')+_0x1cd3('0x588d')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x39ee')+_0x1cd3('0x3e31')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3baa')+_0x1cd3('0x3fda')+_0x1cd3('0x3e3d')+_0x1cd3('0x588f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e40')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5891')+_0x1cd3('0x386f')+_0x1cd3('0x3e44')+_0x1cd3('0x3e45')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x0a'+_0x1cd3('0x5a8b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e5')+_0x1cd3('0x3e47')+_0x1cd3('0x3e48')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x5820')+_0x1cd3('0x3e49')+_0x1cd3('0x3b24')+_0x1cd3('0x5822')+_0x1cd3('0x3756')+_0x1cd3('0x3e03')+_0x1cd3('0x5823')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x5ab5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3870')+_0x1cd3('0x3acf')+_0x1cd3('0x5825')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Trunk\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3acf')+_0x1cd3('0x5894')+_0x1cd3('0x5ab6')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20None\x0a'+_0x1cd3('0x5895')+_0x1cd3('0x5896')+_0x1cd3('0x3acc')+_0x1cd3('0x5897')+_0x1cd3('0x3b24')+_0x1cd3('0x5ab7')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x5a52')+_0x1cd3('0x5829')+_0x1cd3('0x5a53')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+_0x1cd3('0x3a6f')+_0x1cd3('0x3fcc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22IntervalId.canSelect\x20===\x20false\x22>{{\x20IntervalId.name\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5898')+_0x1cd3('0x3b24')+_0x1cd3('0x582b')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5ab8')+_0x1cd3('0x5a55')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+_0x1cd3('0x3a6f')+_0x1cd3('0x3f7a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.ONLY_IF_OPEN\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x589b')+_0x1cd3('0x3b24')+_0x1cd3('0x5831')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x589c')+_0x1cd3('0x5ab9')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ea9')+_0x1cd3('0x589e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x589f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5aba')+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+_0x1cd3('0x58a0')+_0x1cd3('0x3e12')+_0x1cd3('0x3e13')+_0x1cd3('0x5abb')+_0x1cd3('0x3e12')+_0x1cd3('0x3e15')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x583e')+_0x1cd3('0x5a79')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x3e4f')+_0x1cd3('0x3b24')+_0x1cd3('0x5841')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x3fa6')+_0x1cd3('0x3e51')+_0x1cd3('0x3fba')+_0x1cd3('0x3e52')+_0x1cd3('0x3fda')+_0x1cd3('0x3e3d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CAMPAIGN\x0a'+_0x1cd3('0x3e3f')+_0x1cd3('0x3e40')+_0x1cd3('0x5abc')+_0x1cd3('0x3e42')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CAMPAIGN\x0a'+_0x1cd3('0x386f')+_0x1cd3('0x58a2')+_0x1cd3('0x3e45')+_0x1cd3('0x5a56')+_0x1cd3('0x5a57')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x3a6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Preview\x0a'+_0x1cd3('0x5abe')+_0x1cd3('0x3a4d')+_0x1cd3('0x5abf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5ac0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Method\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x5a5e')+_0x1cd3('0x5ac1')+_0x1cd3('0x5a5f')+_0x1cd3('0x5a60')+_0x1cd3('0x36aa')+_0x1cd3('0x5a61')+_0x1cd3('0x5ac2')+_0x1cd3('0x5a62')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x3a6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5a63')+_0x1cd3('0x3a4d')+_0x1cd3('0x5a64')+_0x1cd3('0x3fe5')+_0x1cd3('0x5ac3')+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27MOTIONDIALER.DROPRATE\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3acc')+_0x1cd3('0x5a66')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x5a68')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x5a61')+_0x1cd3('0x5ac4')+_0x1cd3('0x5a69')+_0x1cd3('0x5a6a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5a6b')+_0x1cd3('0x5a6c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5ac5')+_0x1cd3('0x5a6e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3ea9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20max=\x229999\x22\x20\x20\x0a'+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x5ac6')+_0x1cd3('0x5ac7')+_0x1cd3('0x3b24')+_0x1cd3('0x5ac8')+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+_0x1cd3('0x5a6f')+_0x1cd3('0x3e12')+_0x1cd3('0x3e13')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MaxConcurrentCalls\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x209999\x0a'+_0x1cd3('0x3e12')+_0x1cd3('0x3e15')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5a75')+_0x1cd3('0x5a76')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ea9')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5ac9')+_0x1cd3('0x5aca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5a77')+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AgentTimeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a'+_0x1cd3('0x3e12')+_0x1cd3('0x3f04')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x3fa6')+_0x1cd3('0x3e51')+_0x1cd3('0x5acb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QUEUE\x0a'+_0x1cd3('0x386f')+_0x1cd3('0x5acc')+_0x1cd3('0x5acd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QueueOptions\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QueueOptions\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x5a70')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QueueTimeout\x0a'+_0x1cd3('0x5acf')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e0d')+_0x1cd3('0x58b8')+_0x1cd3('0x39e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x5a72')+_0x1cd3('0x5ad0')+_0x1cd3('0x3b24')+_0x1cd3('0x5ad1')+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QueueTimeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a'+_0x1cd3('0x3e12')+_0x1cd3('0x3e13')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QueueTimeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x20999\x0a'+_0x1cd3('0x3e12')+_0x1cd3('0x3e15')+_0x1cd3('0x36aa')+_0x1cd3('0x5ad2')+_0x1cd3('0x5ad3')+_0x1cd3('0x5ad4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+_0x1cd3('0x3a6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Random\x0a'+_0x1cd3('0x5add')+_0x1cd3('0x5ada')+_0x1cd3('0x5ade')+_0x1cd3('0x5adf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22vm.queueCampaign.dialMethod\x20!==\x20\x27booked\x27\x22\x20\x0a'+_0x1cd3('0x5ae0')+_0x1cd3('0x3acc')+_0x1cd3('0x5ae1')+_0x1cd3('0x3b24')+_0x1cd3('0x5ae2')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Retry\x0a'+_0x1cd3('0x5ae3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3ea9')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x5ae4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5ae5')+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+_0x1cd3('0x5ae6')+_0x1cd3('0x3e12')+_0x1cd3('0x3f04')+_0x1cd3('0x36aa')+_0x1cd3('0x5a70')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WrapupTime\x0a'+_0x1cd3('0x5ae7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3ea9')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5ae8')+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WrapupTime\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a'+_0x1cd3('0x3e12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5ae9')+_0x1cd3('0x5aea')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3ea9')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5aeb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Weight\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+_0x1cd3('0x5aec')+_0x1cd3('0x3e12')+_0x1cd3('0x3f04')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MusicOnHold\x0a'+_0x1cd3('0x5aed')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x5aee')+_0x1cd3('0x5aef')+_0x1cd3('0x3acc')+_0x1cd3('0x5af0')+_0x1cd3('0x5af1')+_0x1cd3('0x3b24')+_0x1cd3('0x5af2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5832')+_0x1cd3('0x5af3')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+_0x1cd3('0x3a6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20None\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CallySquareProject2\x0a'+_0x1cd3('0x5af7')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x3a6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20None\x0a'+_0x1cd3('0x5af8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22dialQueueProject2.canSelect\x20===\x20false\x22>{{\x20dialQueueProject2.name\x20}}\x0a'+_0x1cd3('0x3acc')+_0x1cd3('0x5af9')+_0x1cd3('0x5afa')+_0x1cd3('0x3b24')+_0x1cd3('0x5afb')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x5afc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CallySquareProjectPreview\x0a'+_0x1cd3('0x5af3')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x3a6f')+_0x1cd3('0x5afd')+_0x1cd3('0x5afe')+_0x1cd3('0x5af4')+_0x1cd3('0x3acc')+_0x1cd3('0x5aff')+_0x1cd3('0x5af6')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CallySquareProjectPreview\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x5afc')+_0x1cd3('0x5b00')+_0x1cd3('0x5af7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x3a6f')+_0x1cd3('0x5afd')+_0x1cd3('0x5af8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22dialQueueProject2.canSelect\x20===\x20false\x22>{{\x20dialQueueProject2.name\x20}}\x0a'+_0x1cd3('0x3acc')+_0x1cd3('0x5b01')+_0x1cd3('0x5afa')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CallySquareProjectPreview2\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5b02')+_0x1cd3('0x3ed3')+_0x1cd3('0x5b03')+_0x1cd3('0x3870')+_0x1cd3('0x3ed3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e51')+_0x1cd3('0x5b04')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ORIGINATE\x0a'+_0x1cd3('0x386f')+_0x1cd3('0x58a8')+_0x1cd3('0x3e45')+_0x1cd3('0x58a9')+_0x1cd3('0x5b05')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x58ab')+_0x1cd3('0x5b06')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x58ac')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x58ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x58b0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x58b1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x58b2')+_0x1cd3('0x5b07')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x220\x22\x20\x20\x20\x0a'+_0x1cd3('0x589e')+_0x1cd3('0x39e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x58b3')+_0x1cd3('0x5b08')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x58b4')+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+_0x1cd3('0x58b5')+_0x1cd3('0x3e12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x58b6')+_0x1cd3('0x3e12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x58b7')+_0x1cd3('0x5b09')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e0d')+_0x1cd3('0x58b8')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x58b9')+_0x1cd3('0x3b24')+_0x1cd3('0x58ba')+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+_0x1cd3('0x58bb')+_0x1cd3('0x3e12')+_0x1cd3('0x3e13')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OriginateTimeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x20999\x0a'+_0x1cd3('0x3e12')+_0x1cd3('0x3e15')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Prefix\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x58c0')+_0x1cd3('0x3b24')+_0x1cd3('0x5b0a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5b0b')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x3fa6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fba')+_0x1cd3('0x3e52')+_0x1cd3('0x3fda')+_0x1cd3('0x3e3d')+_0x1cd3('0x58c1')+_0x1cd3('0x3e3f')+_0x1cd3('0x3e40')+_0x1cd3('0x5b0c')+_0x1cd3('0x3e42')+_0x1cd3('0x58c3')+_0x1cd3('0x386f')+_0x1cd3('0x58c4')+_0x1cd3('0x3e45')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GlobalMaxRetry\x0a'+_0x1cd3('0x5b0d')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x221\x22\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20max=\x22999\x22\x20\x20\x0a'+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x58c5')+_0x1cd3('0x58c6')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GlobalMaxRetry\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+_0x1cd3('0x5b0e')+_0x1cd3('0x3e12')+_0x1cd3('0x3e13')+_0x1cd3('0x58c7')+_0x1cd3('0x3e12')+_0x1cd3('0x3e15')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x3fa6')+_0x1cd3('0x3e51')+_0x1cd3('0x5b0f')+_0x1cd3('0x3e42')+_0x1cd3('0x58c9')+_0x1cd3('0x386f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e45')+_0x1cd3('0x5b10')+_0x1cd3('0x5b11')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3e0d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20max=\x22999\x22\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x5b12')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CongestionMaxRetry\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a'+_0x1cd3('0x3e12')+_0x1cd3('0x3e13')+_0x1cd3('0x58ce')+_0x1cd3('0x3e12')+_0x1cd3('0x3e15')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x5b13')+_0x1cd3('0x5b14')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e0d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20max=\x2299999\x22\x20\x20\x0a'+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5b15')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CongestionRetryTime\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+_0x1cd3('0x5b16')+_0x1cd3('0x3e12')+_0x1cd3('0x3e13')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CongestionRetryTime\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x2099999\x0a'+_0x1cd3('0x3e12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e51')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e42')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20BUSY\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x58d4')+_0x1cd3('0x3e45')+_0x1cd3('0x58d5')+_0x1cd3('0x5b17')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x221\x22\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20max=\x22999\x22\x20\x20\x0a'+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x58d7')+_0x1cd3('0x58d8')+_0x1cd3('0x3b24')+_0x1cd3('0x58d9')+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+_0x1cd3('0x5b18')+_0x1cd3('0x3e12')+_0x1cd3('0x3e13')+_0x1cd3('0x58da')+_0x1cd3('0x3e12')+_0x1cd3('0x3e15')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20BusyRetryTime\x0a'+_0x1cd3('0x5b19')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e0d')+_0x1cd3('0x58d0')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x58db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x5b1a')+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20BusyRetryTime\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20BusyRetryTime\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x2099999\x0a'+_0x1cd3('0x3e12')+_0x1cd3('0x3e15')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5b1b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NOANSWER\x0a'+_0x1cd3('0x386f')+_0x1cd3('0x58e1')+_0x1cd3('0x3e45')+_0x1cd3('0x5b1c')+_0x1cd3('0x5b1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e0d')+_0x1cd3('0x58b8')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x58e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x5b1e')+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NoAnswerMaxRetry\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a'+_0x1cd3('0x3e12')+_0x1cd3('0x3e13')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NoAnswerMaxRetry\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x20999\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e15')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NoAnswerRetryTime\x0a'+_0x1cd3('0x5b1f')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e0d')+_0x1cd3('0x58d0')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x58e8')+_0x1cd3('0x58e9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x58ea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x58eb')+_0x1cd3('0x3e12')+_0x1cd3('0x3e13')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NoAnswerRetryTime\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x2099999\x0a'+_0x1cd3('0x3e12')+_0x1cd3('0x3e15')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5b20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x58ee')+_0x1cd3('0x386f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e45')+_0x1cd3('0x58f0')+_0x1cd3('0x5b21')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x221\x22\x20\x20\x20\x0a'+_0x1cd3('0x58b8')+_0x1cd3('0x39e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x5b22')+_0x1cd3('0x5b23')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x58f2')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x58f3')+_0x1cd3('0x3e12')+_0x1cd3('0x3e13')+_0x1cd3('0x5b24')+_0x1cd3('0x3e12')+_0x1cd3('0x3e15')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x58f4')+_0x1cd3('0x5b25')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3e0d')+_0x1cd3('0x58d0')+_0x1cd3('0x39e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x58f6')+_0x1cd3('0x58f7')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NoSuchNumberRetryTime\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NoSuchNumberRetryTime\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a'+_0x1cd3('0x3e12')+_0x1cd3('0x3e13')+_0x1cd3('0x58fa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e15')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fa6')+_0x1cd3('0x3e51')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e42')+_0x1cd3('0x58fc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x58fd')+_0x1cd3('0x3e45')+_0x1cd3('0x58fe')+_0x1cd3('0x5b26')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x221\x22\x20\x20\x20\x0a'+_0x1cd3('0x58b8')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x5900')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4e')+_0x1cd3('0x5b27')+_0x1cd3('0x3e12')+_0x1cd3('0x3e13')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DropMaxRetry\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x20999\x0a'+_0x1cd3('0x3e12')+_0x1cd3('0x3e15')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x5901')+_0x1cd3('0x5b28')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x221\x22\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20max=\x2299999\x22\x20\x20\x0a'+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x5903')+_0x1cd3('0x5b29')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5904')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4e')+_0x1cd3('0x5905')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e13')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DropRetryTime\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x2099999\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e15')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x3fa6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5b2a')+_0x1cd3('0x3e42')+_0x1cd3('0x5b2b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e45')+_0x1cd3('0x5909')+_0x1cd3('0x5b2c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x221\x22\x20\x20\x20\x0a'+_0x1cd3('0x58b8')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x5b2d')+_0x1cd3('0x5b2e')+_0x1cd3('0x3b24')+_0x1cd3('0x5b2f')+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AbandonedMaxRetry\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a'+_0x1cd3('0x3e12')+_0x1cd3('0x3e13')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AbandonedMaxRetry\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x20999\x0a'+_0x1cd3('0x3e12')+_0x1cd3('0x3e15')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x590c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5b30')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AbandonedRetryTime\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5b31')+_0x1cd3('0x3e12')+_0x1cd3('0x3e13')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AbandonedRetryTime\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x2099999\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e15')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x3fa6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5b32')+_0x1cd3('0x3e42')+_0x1cd3('0x5912')+_0x1cd3('0x386f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5914')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5917')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5918')+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+_0x1cd3('0x5b33')+_0x1cd3('0x3e12')+_0x1cd3('0x3e13')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MachineMaxRetry\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x20999\x0a'+_0x1cd3('0x3e12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MachineRetryTime\x0a'+_0x1cd3('0x5b34')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e0d')+_0x1cd3('0x58d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x591b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x591d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MachineRetryTime\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a'+_0x1cd3('0x3e12')+_0x1cd3('0x3e13')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MachineRetryTime\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x2099999\x0a'+_0x1cd3('0x3e12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x3fa6')+_0x1cd3('0x3e51')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AGENTREJECT\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5920')+_0x1cd3('0x3e45')+_0x1cd3('0x5b35')+_0x1cd3('0x5b36')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e0d')+_0x1cd3('0x58b8')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x5921')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x5923')+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+_0x1cd3('0x5924')+_0x1cd3('0x3e12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AgentRejectMaxRetry\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x20999\x0a'+_0x1cd3('0x3e12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x5926')+_0x1cd3('0x5b37')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x221\x22\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20max=\x2299999\x22\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5b38')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5b39')+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+_0x1cd3('0x5928')+_0x1cd3('0x3e12')+_0x1cd3('0x3e13')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AgentRejectRetryTime\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x2099999\x0a'+_0x1cd3('0x3e12')+_0x1cd3('0x3e15')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ee')+_0x1cd3('0x3fa6')+_0x1cd3('0x3e51')+_0x1cd3('0x3fba')+_0x1cd3('0x3e52')+_0x1cd3('0x3fda')+_0x1cd3('0x3e3d')+_0x1cd3('0x592a')+_0x1cd3('0x3e3f')+_0x1cd3('0x3e40')+_0x1cd3('0x5b3a')+_0x1cd3('0x3e42')+_0x1cd3('0x592c')+_0x1cd3('0x386f')+_0x1cd3('0x4db0')+_0x1cd3('0x3e45')+_0x1cd3('0x5b3b')+_0x1cd3('0x3ed3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3870')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5b3c')+_0x1cd3('0x5b3d')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ea9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5b3e')+_0x1cd3('0x5b3f')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AfterCallWorkDuration\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AfterCallWorkDuration\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a'+_0x1cd3('0x3e12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x5b40')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f7a')+_0x1cd3('0x5b41')+_0x1cd3('0x3a4d')+_0x1cd3('0x5b42')+_0x1cd3('0x3fe5')+_0x1cd3('0x5b43')+_0x1cd3('0x3a4d')+_0x1cd3('0x5b44')+_0x1cd3('0x3acc')+_0x1cd3('0x5b45')+_0x1cd3('0x5b46')+_0x1cd3('0x3b24')+_0x1cd3('0x5b47')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5b48')+_0x1cd3('0x5b49')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x3a6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5b4a')+_0x1cd3('0x3a4d')+_0x1cd3('0x5b42')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5b43')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5b44')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RingInUse\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3acf')+_0x1cd3('0x5b4b')+_0x1cd3('0x5b4c')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x220\x22\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x5b4d')+_0x1cd3('0x5b4e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5b4f')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MemberDelay\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a'+_0x1cd3('0x3e12')+_0x1cd3('0x3f04')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5b50')+_0x1cd3('0x5b51')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x3a6f')+_0x1cd3('0x3f7a')+_0x1cd3('0x5b4a')+_0x1cd3('0x3a4d')+_0x1cd3('0x5b42')+_0x1cd3('0x3fe5')+_0x1cd3('0x5b43')+_0x1cd3('0x3a4d')+_0x1cd3('0x5b44')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5b52')+_0x1cd3('0x5b53')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5b54')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3acf')+_0x1cd3('0x5b55')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MonitorFormat\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x5b5d')+_0x1cd3('0x5b5e')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x5b5f')+_0x1cd3('0x5b60')+_0x1cd3('0x3b24')+_0x1cd3('0x5b61')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x5b62')+_0x1cd3('0x5b63')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x3a6f')+_0x1cd3('0x3f7a')+_0x1cd3('0x5b4a')+_0x1cd3('0x3a4d')+_0x1cd3('0x5b42')+_0x1cd3('0x3fe5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SetInterfaceVariables\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SetQueueVariables\x0a'+_0x1cd3('0x5b66')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x3a6f')+_0x1cd3('0x3f7a')+_0x1cd3('0x5b4a')+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27MOTIONDIALER.YES\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fe5')+_0x1cd3('0x5b43')+_0x1cd3('0x3a4d')+_0x1cd3('0x5b44')+_0x1cd3('0x3acc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SetQueueVariables\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3acf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SetQueueEntryVariables\x0a'+_0x1cd3('0x5b67')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x3a6f')+_0x1cd3('0x3f7a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.NO\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3acc')+_0x1cd3('0x5b68')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x5b69')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x592d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fd6')+_0x1cd3('0x4de8')+_0x1cd3('0x3acc')+_0x1cd3('0x5b6e')+_0x1cd3('0x5b6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5b70')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3ed3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5b71')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5b72')+_0x1cd3('0x386f')+_0x1cd3('0x5b73')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5b3b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5b74')+_0x1cd3('0x3870')+_0x1cd3('0x5b75')+_0x1cd3('0x5b3c')+_0x1cd3('0x5b3d')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ea9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x5b3e')+_0x1cd3('0x5b76')+_0x1cd3('0x3b24')+_0x1cd3('0x5b77')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4e')+_0x1cd3('0x5b78')+_0x1cd3('0x3e12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x5b55')+_0x1cd3('0x5b79')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x3a6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Inactive\x0a'+_0x1cd3('0x5b57')+_0x1cd3('0x3a4d')+_0x1cd3('0x5b58')+_0x1cd3('0x5b59')+_0x1cd3('0x3a4d')+_0x1cd3('0x5b5a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gsm\x0a'+_0x1cd3('0x3acc')+_0x1cd3('0x5b7a')+_0x1cd3('0x5b7b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MonitorFormat\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x592d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3acf')+_0x1cd3('0x5b6a')+_0x1cd3('0x3ed3')+_0x1cd3('0x3870')+_0x1cd3('0x5b6b')+_0x1cd3('0x5b6c')+_0x1cd3('0x5b6d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x3a6f')+_0x1cd3('0x3fd6')+_0x1cd3('0x4de8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5b6e')+_0x1cd3('0x5b7d')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MandatoryDispositionPauseId\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3ed3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5b7e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5b7f')+_0x1cd3('0x386f')+_0x1cd3('0x5b80')+_0x1cd3('0x5b81')+_0x1cd3('0x5b82')+_0x1cd3('0x5b83')+_0x1cd3('0x5b84')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5a61')+_0x1cd3('0x5b85')+_0x1cd3('0x5b86')+_0x1cd3('0x5b87')+_0x1cd3('0x36aa')+_0x1cd3('0x3ed3')+_0x1cd3('0x3fa6')+_0x1cd3('0x3e51')+_0x1cd3('0x5b88')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5b89')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e45')+_0x1cd3('0x5b8a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x5b8b')+_0x1cd3('0x5b8c')+_0x1cd3('0x3b24')+_0x1cd3('0x5b8d')+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+_0x1cd3('0x5b8e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x5b8f')+_0x1cd3('0x3ed3')+_0x1cd3('0x5b90')+_0x1cd3('0x3870')+_0x1cd3('0x3ed3')+_0x1cd3('0x3fa6')+_0x1cd3('0x3e51')+_0x1cd3('0x5b91')+_0x1cd3('0x3e42')+_0x1cd3('0x5936')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e45')+_0x1cd3('0x5938')+_0x1cd3('0x5b92')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x593a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x593b')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x3fa6')+_0x1cd3('0x3e51')+_0x1cd3('0x5b93')+_0x1cd3('0x3e42')+_0x1cd3('0x5b94')+_0x1cd3('0x386f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5b95')+_0x1cd3('0x5b96')+_0x1cd3('0x593f')+_0x1cd3('0x5940')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5941')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fa6')+_0x1cd3('0x3e51')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e42')+_0x1cd3('0x5942')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5b97')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5b98')+_0x1cd3('0x3ed3')+_0x1cd3('0x5b99')+_0x1cd3('0x3870')+_0x1cd3('0x5b9a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AMDInitialSilence\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AMDInitialSilence\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AMDInitialSilence\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a'+_0x1cd3('0x3e12')+_0x1cd3('0x3f04')+_0x1cd3('0x36aa')+_0x1cd3('0x5b9b')+_0x1cd3('0x594c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AMDGreeting\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a'+_0x1cd3('0x3e12')+_0x1cd3('0x3f04')+_0x1cd3('0x36aa')+_0x1cd3('0x5b9b')+_0x1cd3('0x5950')+_0x1cd3('0x5b9e')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3ea9')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x5952')+_0x1cd3('0x5b9f')+_0x1cd3('0x3b24')+_0x1cd3('0x5953')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5954')+_0x1cd3('0x3e12')+_0x1cd3('0x3f04')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5b9b')+_0x1cd3('0x5955')+_0x1cd3('0x5ba0')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ea9')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5ba1')+_0x1cd3('0x3b24')+_0x1cd3('0x5ba2')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5ba3')+_0x1cd3('0x3e12')+_0x1cd3('0x3f04')+_0x1cd3('0x36aa')+_0x1cd3('0x5b9b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AMDMinWordLength\x0a'+_0x1cd3('0x5ba4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3ea9')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5958')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AMDMinWordLength\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AMDMinWordLength\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a'+_0x1cd3('0x3e12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x595b')+_0x1cd3('0x5ba5')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3ea9')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x595d')+_0x1cd3('0x5ba6')+_0x1cd3('0x3b24')+_0x1cd3('0x595e')+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+_0x1cd3('0x595f')+_0x1cd3('0x3e12')+_0x1cd3('0x3f04')+_0x1cd3('0x36aa')+_0x1cd3('0x5b9b')+_0x1cd3('0x5960')+_0x1cd3('0x5ba7')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3ea9')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5ba8')+_0x1cd3('0x3b24')+_0x1cd3('0x5963')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AMDMaximumNumberOfWords\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a'+_0x1cd3('0x3e12')+_0x1cd3('0x3f04')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5b9b')+_0x1cd3('0x5965')+_0x1cd3('0x5ba9')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x220\x22\x20\x20\x20\x0a'+_0x1cd3('0x5966')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5968')+_0x1cd3('0x3b24')+_0x1cd3('0x5969')+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+_0x1cd3('0x596a')+_0x1cd3('0x3e12')+_0x1cd3('0x3e13')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AMDSilenceThreshold\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x2032767\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e15')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5b9b')+_0x1cd3('0x596c')+_0x1cd3('0x5baa')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3ea9')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5bab')+_0x1cd3('0x3b24')+_0x1cd3('0x596e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4e')+_0x1cd3('0x5bac')+_0x1cd3('0x3e12')+_0x1cd3('0x3f04')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x3fa6')+_0x1cd3('0x3e51')+_0x1cd3('0x3fba')+_0x1cd3('0x3e52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e3d')+_0x1cd3('0x5bad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e40')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5bae')+_0x1cd3('0x5970')+_0x1cd3('0x411f')+_0x1cd3('0x5baf')+_0x1cd3('0x5971')+_0x1cd3('0x5bb0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d1d')+_0x1cd3('0x415d')+_0x1cd3('0x5974')+'\x20\x20\x0a'+'\x0a'+_0x1cd3('0x5975')+_0x1cd3('0x5976')+'\x0a'+_0x1cd3('0x5977')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5979')+_0x1cd3('0x597a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.TOTAL\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x597e')+_0x1cd3('0x5982')+'\x0a'+_0x1cd3('0x597f')+_0x1cd3('0x5bb1')+'\x0a'+_0x1cd3('0x597b')+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm_hs.fresh\x20||\x200}}\x20({{vm_hs.total\x20?\x20((((vm_hs.fresh\x20||\x200)\x20*\x20100)/((vm_hs.closed\x20||\x200)\x20+\x20(vm_hs.total\x20||\x200)))\x20|\x20number:\x202)\x20:\x200}}%)\x0a'+_0x1cd3('0x597d')+_0x1cd3('0x36f6')+_0x1cd3('0x597e')+_0x1cd3('0x5982')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x5bb2')+'\x0a'+_0x1cd3('0x5980')+_0x1cd3('0x5976')+'\x0a'+_0x1cd3('0x5977')+_0x1cd3('0x5978')+_0x1cd3('0x5979')+_0x1cd3('0x5981')+_0x1cd3('0x5bb3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x597e')+'\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x5980')+_0x1cd3('0x5976')+'\x0a'+_0x1cd3('0x5977')+_0x1cd3('0x5978')+_0x1cd3('0x5979')+_0x1cd3('0x5984')+_0x1cd3('0x5985')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5982')+'\x0a'+_0x1cd3('0x597f')+_0x1cd3('0x5983')+'\x0a'+_0x1cd3('0x3824')+_0x1cd3('0x5986')+_0x1cd3('0x376e')+'\x0a'+_0x1cd3('0x3e51')+_0x1cd3('0x5bb4')+_0x1cd3('0x5bb5')+_0x1cd3('0x5bb6')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x598a')+_0x1cd3('0x411a')+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x0a'+_0x1cd3('0x411f')+_0x1cd3('0x5bb7')+_0x1cd3('0x3b5a')+_0x1cd3('0x5bb8')+_0x1cd3('0x4121')+_0x1cd3('0x415a')+_0x1cd3('0x5bb9')+_0x1cd3('0x5990')+_0x1cd3('0x4177')+_0x1cd3('0x3d24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x415d')+'\x20\x20\x0a'+_0x1cd3('0x5bba')+_0x1cd3('0x5bbb')+_0x1cd3('0x4160')+_0x1cd3('0x5992')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.CONTACTID\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5993')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.PHONE\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4128')+_0x1cd3('0x5994')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.CONGESTION\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4128')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5996')+_0x1cd3('0x4128')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5998')+_0x1cd3('0x4128')+_0x1cd3('0x5999')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.NOSUCHNUMBER\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x599a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.DROP\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4128')+_0x1cd3('0x59fd')+_0x1cd3('0x599c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x599e')+_0x1cd3('0x4128')+_0x1cd3('0x599f')+_0x1cd3('0x59a0')+_0x1cd3('0x4128')+_0x1cd3('0x59c8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.SCHEDULEDAT\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4128')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5bbc')+_0x1cd3('0x4128')+_0x1cd3('0x5bbd')+_0x1cd3('0x5bbe')+_0x1cd3('0x4128')+_0x1cd3('0x412e')+_0x1cd3('0x412f')+_0x1cd3('0x417f')+_0x1cd3('0x4130')+_0x1cd3('0x5bbf')+'>\x0a'+_0x1cd3('0x5bc0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hopper.ContactId}}\x0a'+_0x1cd3('0x4133')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x59a5')+_0x1cd3('0x4133')+_0x1cd3('0x5bc1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hopper.countcongestionretry}}\x0a'+_0x1cd3('0x4133')+_0x1cd3('0x5bc1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hopper.countbusyretry}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5bc1')+_0x1cd3('0x59a7')+_0x1cd3('0x4133')+_0x1cd3('0x5bc1')+_0x1cd3('0x59a8')+_0x1cd3('0x4133')+_0x1cd3('0x5bc1')+_0x1cd3('0x5bc2')+_0x1cd3('0x4133')+_0x1cd3('0x5bc1')+_0x1cd3('0x59a9')+_0x1cd3('0x4133')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5bc3')+_0x1cd3('0x4133')+_0x1cd3('0x5bc1')+_0x1cd3('0x59aa')+_0x1cd3('0x4133')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20hopper.scheduledat\x20|\x20formatdate\x20}}\x0a'+_0x1cd3('0x413e')+_0x1cd3('0x59ad')+_0x1cd3('0x5bc4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell>\x0a'+_0x1cd3('0x59ae')+_0x1cd3('0x3a4d')+_0x1cd3('0x5bc5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x413f')+_0x1cd3('0x59af')+_0x1cd3('0x4141')+_0x1cd3('0x4185')+'\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4142')+_0x1cd3('0x5bc6')+_0x1cd3('0x59b1')+_0x1cd3('0x4145')+_0x1cd3('0x4146')+_0x1cd3('0x4147')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x59b3')+_0x1cd3('0x3a52')+_0x1cd3('0x4149')+_0x1cd3('0x414a')+_0x1cd3('0x4189')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x412f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5bc7')+_0x1cd3('0x414d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20hopper\x20available\x0a'+_0x1cd3('0x414f')+_0x1cd3('0x4150')+_0x1cd3('0x412f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x416d')+_0x1cd3('0x5bc8')+_0x1cd3('0x3824')+'\x0a'+_0x1cd3('0x3e51')+_0x1cd3('0x3fba')+_0x1cd3('0x3e52')+_0x1cd3('0x3fda')+_0x1cd3('0x3e3d')+_0x1cd3('0x59b6')+_0x1cd3('0x3e3f')+_0x1cd3('0x3e40')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5bc9')+_0x1cd3('0x5bca')+_0x1cd3('0x4118')+_0x1cd3('0x5bcb')+_0x1cd3('0x411a')+_0x1cd3('0x411b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm_dc.selectedQueueCampaignHopperHistories.length}}\x20{{vm_dc.selectedQueueCampaignHopperHistories.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4121')+_0x1cd3('0x415a')+_0x1cd3('0x3f1c')+_0x1cd3('0x415d')+_0x1cd3('0x4123')+_0x1cd3('0x5bcd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4160')+_0x1cd3('0x5bce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.UNIQUEID\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4128')+_0x1cd3('0x59c1')+_0x1cd3('0x59c2')+_0x1cd3('0x4128')+_0x1cd3('0x550c')+_0x1cd3('0x59c3')+_0x1cd3('0x4128')+_0x1cd3('0x59c4')+_0x1cd3('0x59c5')+_0x1cd3('0x4128')+_0x1cd3('0x59c6')+_0x1cd3('0x59c7')+_0x1cd3('0x4128')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x59a1')+_0x1cd3('0x4128')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x59fe')+_0x1cd3('0x4128')+_0x1cd3('0x5508')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.ENDTIME\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4128')+_0x1cd3('0x412e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x417f')+_0x1cd3('0x4130')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4222')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hopperHistory.uniqueid}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x59cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4224')+_0x1cd3('0x59cc')+_0x1cd3('0x4133')+_0x1cd3('0x4224')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hopperHistory.calleridname}}\x0a'+_0x1cd3('0x4133')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x59ce')+_0x1cd3('0x4133')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5bcf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41fa')+_0x1cd3('0x59cf')+_0x1cd3('0x413e')+_0x1cd3('0x41fa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20hopperHistory.endtime\x20|\x20formatdate\x20}}\x0a'+_0x1cd3('0x413e')+_0x1cd3('0x4226')+_0x1cd3('0x59d0')+_0x1cd3('0x412f')+_0x1cd3('0x5bd0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x414d')+_0x1cd3('0x59d3')+_0x1cd3('0x414f')+_0x1cd3('0x4150')+_0x1cd3('0x412f')+_0x1cd3('0x4151')+_0x1cd3('0x4152')+_0x1cd3('0x416d')+_0x1cd3('0x5bd1')+_0x1cd3('0x3824')+'\x0a'+_0x1cd3('0x3e51')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e3d')+_0x1cd3('0x5bd2')+_0x1cd3('0x3e3f')+_0x1cd3('0x3e40')+_0x1cd3('0x5bd3')+_0x1cd3('0x5bd4')+_0x1cd3('0x5bd5')+_0x1cd3('0x4118')+_0x1cd3('0x5bd6')+_0x1cd3('0x411a')+_0x1cd3('0x411b')+_0x1cd3('0x5bd7')+_0x1cd3('0x59d9')+_0x1cd3('0x4e23')+_0x1cd3('0x4104')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5bd8')+_0x1cd3('0x59dc')+_0x1cd3('0x59dd')+_0x1cd3('0x3859')+_0x1cd3('0x5bd9')+_0x1cd3('0x59de')+_0x1cd3('0x5bda')+_0x1cd3('0x59e0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{vm_dc.contacts.noAnswerContacts}})\x0a'+_0x1cd3('0x40dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x59de')+_0x1cd3('0x5bdb')+_0x1cd3('0x59e2')+_0x1cd3('0x5bdc')+_0x1cd3('0x40dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5bdd')+_0x1cd3('0x59e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{vm_dc.contacts.congestionContacts}})\x0a'+_0x1cd3('0x40dd')+_0x1cd3('0x59e3')+_0x1cd3('0x59de')+_0x1cd3('0x5bde')+_0x1cd3('0x59e8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{vm_dc.contacts.dropContacts}})\x0a'+_0x1cd3('0x40dd')+_0x1cd3('0x59e3')+_0x1cd3('0x59de')+_0x1cd3('0x5bdf')+_0x1cd3('0x5be0')+_0x1cd3('0x59ea')+_0x1cd3('0x40dd')+_0x1cd3('0x59e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5be1')+_0x1cd3('0x59ec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{vm_dc.contacts.reCallContacts}})\x0a'+_0x1cd3('0x40dd')+_0x1cd3('0x59e3')+_0x1cd3('0x59de')+_0x1cd3('0x5be2')+_0x1cd3('0x59ee')+_0x1cd3('0x59ef')+_0x1cd3('0x40dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x59f0')+_0x1cd3('0x5be3')+_0x1cd3('0x5be4')+_0x1cd3('0x59f2')+_0x1cd3('0x395d')+_0x1cd3('0x59f3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x481a')+_0x1cd3('0x5be5')+_0x1cd3('0x3d21')+'\x20\x20\x0a'+'\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20{{vm_dc.selectedQueueCampaignHopperFinals.length}}\x20{{vm_dc.selectedQueueCampaignHopperFinals.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected\x0a'+_0x1cd3('0x3b5a')+_0x1cd3('0x5be6')+_0x1cd3('0x4121')+_0x1cd3('0x415a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4123')+_0x1cd3('0x5be9')+_0x1cd3('0x5bea')+_0x1cd3('0x4160')+_0x1cd3('0x5bce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.UNIQUEID\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4128')+_0x1cd3('0x59c1')+_0x1cd3('0x59c2')+_0x1cd3('0x4128')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.PHONE\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4128')+_0x1cd3('0x59c4')+_0x1cd3('0x59c5')+_0x1cd3('0x4128')+_0x1cd3('0x59c6')+_0x1cd3('0x59c7')+_0x1cd3('0x4128')+_0x1cd3('0x5994')+_0x1cd3('0x59fb')+_0x1cd3('0x4128')+_0x1cd3('0x5995')+_0x1cd3('0x5996')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5997')+_0x1cd3('0x5998')+_0x1cd3('0x4128')+_0x1cd3('0x5999')+_0x1cd3('0x59fc')+_0x1cd3('0x4128')+_0x1cd3('0x599a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.DROP\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x599c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x599d')+_0x1cd3('0x599e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x599f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.AGENTREJECT\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4128')+_0x1cd3('0x5506')+_0x1cd3('0x59fe')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5508')+_0x1cd3('0x59c9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5beb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.DISPOSITION\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4128')+_0x1cd3('0x412e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x417f')+_0x1cd3('0x4130')+_0x1cd3('0x5bec')+'>\x0a'+_0x1cd3('0x4222')+_0x1cd3('0x5a00')+_0x1cd3('0x4133')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hopperFinal.ContactId}}\x0a'+_0x1cd3('0x4133')+_0x1cd3('0x4224')+_0x1cd3('0x5a02')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4224')+_0x1cd3('0x5a03')+_0x1cd3('0x4133')+_0x1cd3('0x4224')+_0x1cd3('0x5a04')+_0x1cd3('0x4133')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hopperFinal.countcongestionretry}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4224')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hopperFinal.countbusyretry}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4224')+_0x1cd3('0x5a07')+_0x1cd3('0x4133')+_0x1cd3('0x4224')+_0x1cd3('0x5a08')+_0x1cd3('0x4133')+_0x1cd3('0x4224')+_0x1cd3('0x5a09')+_0x1cd3('0x4133')+_0x1cd3('0x4224')+_0x1cd3('0x5a0a')+_0x1cd3('0x4133')+_0x1cd3('0x4224')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hopperFinal.countmachineretry}}\x0a'+_0x1cd3('0x4133')+_0x1cd3('0x4224')+_0x1cd3('0x5bed')+_0x1cd3('0x4133')+_0x1cd3('0x41f8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20hopperFinal.starttime\x20|\x20formatdate\x20}}\x0a'+_0x1cd3('0x413e')+_0x1cd3('0x41fa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20hopperFinal.endtime\x20|\x20formatdate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4207')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hopperFinal.disposition}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5a0e')+_0x1cd3('0x413f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4141')+_0x1cd3('0x4185')+'\x20\x0a'+_0x1cd3('0x4167')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5a10')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Move\x20HopperFinal\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4146')+_0x1cd3('0x5bee')+_0x1cd3('0x4189')+_0x1cd3('0x414b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5bef')+_0x1cd3('0x5a12')+_0x1cd3('0x414d')+_0x1cd3('0x5a13')+_0x1cd3('0x414f')+_0x1cd3('0x4150')+_0x1cd3('0x412f')+_0x1cd3('0x4151')+_0x1cd3('0x4152')+'\x20\x20\x0a'+_0x1cd3('0x5bf0')+_0x1cd3('0x3824')+'\x0a'+_0x1cd3('0x3e51')+_0x1cd3('0x3fba')+_0x1cd3('0x3e52')+_0x1cd3('0x3fda')+_0x1cd3('0x3e3d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20BLACKLIST\x0a'+_0x1cd3('0x3e3f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5bf1')+_0x1cd3('0x5bf2')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x5a17')+_0x1cd3('0x411a')+_0x1cd3('0x411b')+_0x1cd3('0x3841')+_0x1cd3('0x415d')+_0x1cd3('0x5bf3')+_0x1cd3('0x411f')+_0x1cd3('0x5bf4')+_0x1cd3('0x3b5a')+_0x1cd3('0x5bf5')+_0x1cd3('0x4121')+_0x1cd3('0x415a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x415d')+'\x20\x20\x0a'+_0x1cd3('0x5bf6')+_0x1cd3('0x5bf7')+_0x1cd3('0x4160')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x59c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5993')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.PHONE\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4128')+_0x1cd3('0x412e')+_0x1cd3('0x412f')+_0x1cd3('0x417f')+_0x1cd3('0x4130')+_0x1cd3('0x5bf8')+'>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5bf9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4224')+_0x1cd3('0x5bfa')+_0x1cd3('0x4133')+_0x1cd3('0x5a1c')+_0x1cd3('0x59d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5bfb')+_0x1cd3('0x4ebc')+_0x1cd3('0x414d')+_0x1cd3('0x5bfc')+_0x1cd3('0x414f')+_0x1cd3('0x4150')+_0x1cd3('0x412f')+_0x1cd3('0x4151')+_0x1cd3('0x4152')+_0x1cd3('0x416d')+_0x1cd3('0x5bfd')+_0x1cd3('0x3824')+'\x0a'+_0x1cd3('0x3e51')+_0x1cd3('0x3fba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e53')+'\x0a'+_0x1cd3('0x3686')+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x0a');_0x404b17[_0x1cd3('0x37b')]('app/main/apps/motiondialer/views/queueCampaigns/queueCampaigns.html',_0x1cd3('0x5bfe')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3add')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a00')+_0x1cd3('0x3ade')+_0x1cd3('0x5a20')+_0x1cd3('0x38f9')+_0x1cd3('0x5bff')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x3ae1')+'\x0a'+_0x1cd3('0x3ae2')+_0x1cd3('0x3ae3')+_0x1cd3('0x3a02')+_0x1cd3('0x3a03')+_0x1cd3('0x3ae4')+_0x1cd3('0x3a04')+_0x1cd3('0x3a05')+_0x1cd3('0x5c00')+_0x1cd3('0x36c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3ae6')+'\x0a'+_0x1cd3('0x3a07')+_0x1cd3('0x5c01')+_0x1cd3('0x3a09')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a0b')+_0x1cd3('0x3ae8')+_0x1cd3('0x5a23')+_0x1cd3('0x3671')+_0x1cd3('0x36f6')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x5c02')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedQueueCampaigns.length}}\x0a'+_0x1cd3('0x5a24')+_0x1cd3('0x38f9')+'\x0a'+_0x1cd3('0x3aeb')+_0x1cd3('0x3a11')+_0x1cd3('0x3a12')+_0x1cd3('0x3aec')+_0x1cd3('0x5a25')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x367d')+_0x1cd3('0x3a15')+_0x1cd3('0x3a16')+_0x1cd3('0x5c03')+_0x1cd3('0x3c2e')+_0x1cd3('0x3849')+_0x1cd3('0x3aee')+_0x1cd3('0x3a16')+_0x1cd3('0x5c04')+_0x1cd3('0x3a19')+_0x1cd3('0x3849')+_0x1cd3('0x3aee')+_0x1cd3('0x3a1a')+_0x1cd3('0x3aef')+_0x1cd3('0x366a')+'\x0a'+_0x1cd3('0x3a1b')+_0x1cd3('0x5c05')+_0x1cd3('0x3a1d')+_0x1cd3('0x3a1e')+_0x1cd3('0x5c06')+_0x1cd3('0x5c07')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3841')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a22')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3af1')+_0x1cd3('0x3a24')+'\x0a'+_0x1cd3('0x3a25')+_0x1cd3('0x5c08')+_0x1cd3('0x3a27')+_0x1cd3('0x3af3')+_0x1cd3('0x5c09')+_0x1cd3('0x5c0a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a2b')+_0x1cd3('0x5a2c')+_0x1cd3('0x5a2d')+_0x1cd3('0x5c0b')+_0x1cd3('0x5c0c')+_0x1cd3('0x5c0d')+_0x1cd3('0x5c0e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a34')+_0x1cd3('0x3db3')+_0x1cd3('0x3a35')+_0x1cd3('0x5c0f')+_0x1cd3('0x3e63')+_0x1cd3('0x3a38')+_0x1cd3('0x5a2f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a34')+_0x1cd3('0x5c10')+_0x1cd3('0x5c11')+_0x1cd3('0x5c12')+_0x1cd3('0x5c13')+_0x1cd3('0x5c14')+_0x1cd3('0x5c15')+_0x1cd3('0x5c16')+_0x1cd3('0x5c17')+_0x1cd3('0x5c18')+_0x1cd3('0x5c19')+_0x1cd3('0x5c1a')+_0x1cd3('0x5c1b')+_0x1cd3('0x5c1c')+_0x1cd3('0x5c1d')+_0x1cd3('0x5c1e')+_0x1cd3('0x4ea3')+'\x0a'+_0x1cd3('0x3cdd')+'\x0a'+_0x1cd3('0x3a49')+'\x0a'+_0x1cd3('0x3a4a')+_0x1cd3('0x5c1f')+_0x1cd3('0x3a4c')+_0x1cd3('0x395d')+'\x0a'+_0x1cd3('0x3b04')+'\x0a'+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x5c20')+_0x1cd3('0x5c21')+_0x1cd3('0x5c22')+_0x1cd3('0x3a52')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3a4f')+'\x0a'+_0x1cd3('0x5c23')+_0x1cd3('0x5c24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20clone\x20QueueCampaign\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3ce1')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x5c27')+_0x1cd3('0x5c28')+_0x1cd3('0x5c29')+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3ce1')+'\x0a'+_0x1cd3('0x5c2a')+_0x1cd3('0x5c2b')+_0x1cd3('0x5c2c')+_0x1cd3('0x3a52')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3ce1')+'\x0a'+_0x1cd3('0x5c2d')+_0x1cd3('0x5c2e')+_0x1cd3('0x5c2f')+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a5a')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5c30')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3ce1')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5c31')+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x369a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x0a'+_0x1cd3('0x3a34')+_0x1cd3('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a5f')+'\x0a'+_0x1cd3('0x5c32')+_0x1cd3('0x3a61')+_0x1cd3('0x5c33')+_0x1cd3('0x3a63')+'\x0a'+_0x1cd3('0x3a64')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a66')+'\x0a'+_0x1cd3('0x5c34')+_0x1cd3('0x5c35')+_0x1cd3('0x5c36')+_0x1cd3('0x3b0f')+_0x1cd3('0x376d')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3686'));_0x404b17['put'](_0x1cd3('0x21d'),_0x1cd3('0x5c37')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5c38')+_0x1cd3('0x5c39')+_0x1cd3('0x3945')+'\x0a'+_0x1cd3('0x5c3a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20search=\x22vm.getAbandonedCalls()\x22>\x0a'+_0x1cd3('0x5c3b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4725')+_0x1cd3('0x5c3c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3947')+_0x1cd3('0x4758')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ID\x0a'+_0x1cd3('0x5c3d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.PHONE\x27\x20|\x20translate}}\x0a'+_0x1cd3('0x472b')+_0x1cd3('0x472c')+_0x1cd3('0x5c3e')+_0x1cd3('0x5c3f')+_0x1cd3('0x5c40')+_0x1cd3('0x5c41')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x394b')+_0x1cd3('0x394c')+_0x1cd3('0x394d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4733')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4734')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3951')+_0x1cd3('0x394b')+_0x1cd3('0x5c42')+_0x1cd3('0x5c43')+_0x1cd3('0x5c44')+_0x1cd3('0x5c45')+_0x1cd3('0x5c46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{call.queuecallerabandonAt\x20?\x20(call.queuecallerabandonAt\x20|\x20formatdate)\x20:\x20undefined\x20}}\x0a'+_0x1cd3('0x5c47')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{call.queuecallerexitreason}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{call.lastAssignedTo}}\x0a'+_0x1cd3('0x5c48')+_0x1cd3('0x4976')+_0x1cd3('0x4937')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3849')+_0x1cd3('0x4a21')+_0x1cd3('0x5c49')+_0x1cd3('0x4768')+_0x1cd3('0x5c4a')+_0x1cd3('0x474a')+_0x1cd3('0x5c4b')+_0x1cd3('0x5c4c')+_0x1cd3('0x3d8d')+_0x1cd3('0x5c4d')+_0x1cd3('0x5c4e')+_0x1cd3('0x3d8d')+_0x1cd3('0x3d90')+_0x1cd3('0x474f')+_0x1cd3('0x3696')+_0x1cd3('0x3960')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Dispose\x0a'+_0x1cd3('0x474a')+_0x1cd3('0x5c4f')+_0x1cd3('0x5c50')+_0x1cd3('0x3d8d')+_0x1cd3('0x3d90')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3696')+_0x1cd3('0x3699')+_0x1cd3('0x369a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x394b')+_0x1cd3('0x3952')+_0x1cd3('0x3953')+_0x1cd3('0x3954')+'\x0a'+'\x20\x20\x20\x20\x0a');_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x5c51'),_0x1cd3('0x422d')+_0x1cd3('0x422e')+_0x1cd3('0x4118')+_0x1cd3('0x5c52')+_0x1cd3('0x3b5a')+_0x1cd3('0x4230')+_0x1cd3('0x4231')+_0x1cd3('0x4232')+_0x1cd3('0x4ecc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.ALL\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.PAUSE\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x5c53')+_0x1cd3('0x5c54')+_0x1cd3('0x5c55')+_0x1cd3('0x389c')+'\x0a'+_0x1cd3('0x4237')+_0x1cd3('0x4ed0')+_0x1cd3('0x4238')+_0x1cd3('0x4239')+_0x1cd3('0x423a')+_0x1cd3('0x4ed1')+_0x1cd3('0x4ed2')+_0x1cd3('0x423b')+_0x1cd3('0x389c')+_0x1cd3('0x3686')+_0x1cd3('0x423c')+'\x0a'+_0x1cd3('0x423d')+_0x1cd3('0x42ca')+_0x1cd3('0x423e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5c56')+_0x1cd3('0x4ed4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.CHAT\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.MAIL\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4241')+_0x1cd3('0x4242')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27OPENCHANNEL.OPENCHANNEL\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4244')+_0x1cd3('0x4245')+_0x1cd3('0x5774')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41b7')+_0x1cd3('0x41b0')+_0x1cd3('0x4ed7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.NAME\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5c57')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5c58')+_0x1cd3('0x4249')+_0x1cd3('0x5c59')+'\x0a'+_0x1cd3('0x5778')+_0x1cd3('0x4edb')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.STATUS\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x424c')+_0x1cd3('0x424d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41b4')+'\x0a'+_0x1cd3('0x424e')+_0x1cd3('0x424f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.CAPACITY\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x36c5')+_0x1cd3('0x41b4')+'\x0a'+_0x1cd3('0x4251')+_0x1cd3('0x4edd')+_0x1cd3('0x424c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.CAPACITY\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x36c5')+_0x1cd3('0x41b4')+'\x0a'+_0x1cd3('0x4ede')+_0x1cd3('0x4253')+_0x1cd3('0x424c')+_0x1cd3('0x4254')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41b4')+'\x0a'+_0x1cd3('0x4255')+_0x1cd3('0x4256')+_0x1cd3('0x424c')+_0x1cd3('0x4257')+_0x1cd3('0x36c5')+_0x1cd3('0x41b4')+'\x0a'+_0x1cd3('0x4edf')+_0x1cd3('0x4258')+_0x1cd3('0x424c')+_0x1cd3('0x4259')+_0x1cd3('0x36c5')+_0x1cd3('0x41b4')+_0x1cd3('0x41b7')+_0x1cd3('0x425a')+_0x1cd3('0x425b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x425e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.NO_AGENT_ONLINE\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x4150')+_0x1cd3('0x41b7')+_0x1cd3('0x425f')+_0x1cd3('0x4260')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4267')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4268')+_0x1cd3('0x4269')+_0x1cd3('0x4ee4')+_0x1cd3('0x5c5b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4ee3')+_0x1cd3('0x3692')+_0x1cd3('0x36b7')+_0x1cd3('0x426c')+_0x1cd3('0x36b5')+_0x1cd3('0x426d')+_0x1cd3('0x4269')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5c5c')+_0x1cd3('0x426b')+_0x1cd3('0x4ee3')+_0x1cd3('0x3692')+_0x1cd3('0x36b7')+_0x1cd3('0x3756')+_0x1cd3('0x4150')+'\x0a'+'\x0a'+'\x0a'+_0x1cd3('0x4ee6')+_0x1cd3('0x426e')+_0x1cd3('0x426f')+_0x1cd3('0x4270')+_0x1cd3('0x4150')+_0x1cd3('0x4271')+_0x1cd3('0x4ee7')+_0x1cd3('0x4272')+_0x1cd3('0x4150')+_0x1cd3('0x4271')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20days\x20>\x200\x20?\x20days\x20+\x20\x27d\x27\x20:\x20\x27\x27\x20}}\x0a'+_0x1cd3('0x4272')+_0x1cd3('0x4150')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4285')+_0x1cd3('0x4277')+_0x1cd3('0x4278')+_0x1cd3('0x4ee8')+_0x1cd3('0x4279')+_0x1cd3('0x3756')+_0x1cd3('0x4150')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x427a')+_0x1cd3('0x427b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27idle\x27:\x27lime-300-fg\x27,\x27maxcapacity\x27:\x27red-A200-fg\x27,\x27working\x27:\x27indigo-100-fg\x27,\x27pause\x27:\x27amber-200-fg\x27}[vm.agents[value].voiceStatus]\x22>{{\x20vm.agents[value].queue\x20}}\x0a'+_0x1cd3('0x427d')+_0x1cd3('0x427e')+_0x1cd3('0x427f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x4150')+'\x0a'+_0x1cd3('0x4284')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4286')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27idle\x27:\x27lime-300-bg\x27,\x27maxcapacity\x27:\x27red-A200-bg\x27,\x27working\x27:\x27indigo-100-bg\x27,\x27pause\x27:\x27amber-200-bg\x27}[vm.agents[value].chatStatus]\x22>{{\x20vm.agents[value].chatStatus\x20|\x20uppercase\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x4150')+_0x1cd3('0x4288')+_0x1cd3('0x577c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.agents[value].chatCurrentCapacity\x20}}\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4285')+_0x1cd3('0x41fd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x428c')+_0x1cd3('0x4ee9')+_0x1cd3('0x428d')+'\x0a'+_0x1cd3('0x428e')+_0x1cd3('0x4285')+_0x1cd3('0x41fd')+_0x1cd3('0x4286')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27idle\x27:\x27lime-300-bg\x27,\x27maxcapacity\x27:\x27red-A200-bg\x27,\x27working\x27:\x27indigo-100-bg\x27,\x27pause\x27:\x27amber-200-bg\x27}[vm.agents[value].smsStatus]\x22>{{\x20vm.agents[value].smsStatus\x20|\x20uppercase\x20}}\x0a'+_0x1cd3('0x36b7')+_0x1cd3('0x3756')+_0x1cd3('0x4150')+_0x1cd3('0x428f')+_0x1cd3('0x4290')+_0x1cd3('0x4291')+'\x0a'+_0x1cd3('0x4292')+_0x1cd3('0x4285')+_0x1cd3('0x41fd')+_0x1cd3('0x4286')+_0x1cd3('0x4293')+_0x1cd3('0x36b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4150')+_0x1cd3('0x4294')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27idle\x27:\x27lime-300-fg\x27,\x27maxcapacity\x27:\x27red-A200-fg\x27,\x27working\x27:\x27indigo-100-fg\x27,\x27pause\x27:\x27amber-200-fg\x27}[vm.agents[value].openchannelStatus]\x22>\x0a'+_0x1cd3('0x4295')+'\x0a'+_0x1cd3('0x4296')+_0x1cd3('0x4285')+_0x1cd3('0x41fd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.agents[value].whatsappCurrentCapacity\x20}}\x0a'+'\x0a'+_0x1cd3('0x429d')+_0x1cd3('0x3a49')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x429f')+_0x1cd3('0x42a0')+_0x1cd3('0x42a1')+_0x1cd3('0x5c5d')+_0x1cd3('0x42a3')+_0x1cd3('0x3a52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x42a0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x42a6')+_0x1cd3('0x3a52')+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x42a7')+_0x1cd3('0x42a8')+_0x1cd3('0x42a9')+_0x1cd3('0x42aa')+_0x1cd3('0x5c5e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x42ac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x42ae')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MOTIONDIALER.START_SCREENRECORDING\x22>Start\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Screen\x20Recording\x0a'+_0x1cd3('0x3c6a')+_0x1cd3('0x42b1')+_0x1cd3('0x42b2')+_0x1cd3('0x5c5f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Screen\x20Recording\x0a'+_0x1cd3('0x3c6a')+_0x1cd3('0x42b4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x42a0')+_0x1cd3('0x42a9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Pause\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3c6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4150')+_0x1cd3('0x41b7')+_0x1cd3('0x42bf')+_0x1cd3('0x42c0')+_0x1cd3('0x42dc')+'\x0a'+_0x1cd3('0x42c1')+_0x1cd3('0x5c62')+_0x1cd3('0x42c3')+_0x1cd3('0x42c4')+_0x1cd3('0x42c5')+_0x1cd3('0x42c6'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x228'),_0x1cd3('0x422d')+'\x0a'+_0x1cd3('0x4118')+'\x20\x20\x20\x20\x20\x20\x20\x20Ivr\x20Campaigns\x0a'+_0x1cd3('0x3b5a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x423c')+'\x0a'+_0x1cd3('0x42c9')+_0x1cd3('0x42ca')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x5c63')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5c64')+_0x1cd3('0x5c65')+_0x1cd3('0x5c66')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27MOTIONDIALER.LIMITED\x27\x20|\x20translate}}\x0a'+_0x1cd3('0x5c67')+_0x1cd3('0x5c68')+_0x1cd3('0x5c69')+_0x1cd3('0x5c6a')+_0x1cd3('0x5c6b')+_0x1cd3('0x41b7')+_0x1cd3('0x425a')+_0x1cd3('0x425b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x551c')+_0x1cd3('0x425e')+_0x1cd3('0x5c6c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4150')+_0x1cd3('0x41b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41ba')+_0x1cd3('0x5c6d')+_0x1cd3('0x4150')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5c6e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41ba')+_0x1cd3('0x5c6f')+_0x1cd3('0x4150')+_0x1cd3('0x41ba')+_0x1cd3('0x5c70')+_0x1cd3('0x4150')+_0x1cd3('0x41ba')+_0x1cd3('0x5c71')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41ba')+_0x1cd3('0x5c72')+_0x1cd3('0x4150')+_0x1cd3('0x41ba')+_0x1cd3('0x5c73')+_0x1cd3('0x4150')+_0x1cd3('0x41ba')+_0x1cd3('0x5c74')+_0x1cd3('0x4150')+_0x1cd3('0x41ba')+_0x1cd3('0x5c75')+_0x1cd3('0x4150')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a49')+_0x1cd3('0x5c76')+_0x1cd3('0x42d8')+_0x1cd3('0x395d')+_0x1cd3('0x3b04')+_0x1cd3('0x42a0')+_0x1cd3('0x5c77')+_0x1cd3('0x5c78')+_0x1cd3('0x3a52')+_0x1cd3('0x3a53')+_0x1cd3('0x41c8')+_0x1cd3('0x41c9')+_0x1cd3('0x4150')+_0x1cd3('0x41b7')+_0x1cd3('0x42bf')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x42dc')+'\x0a'+'\x0a'+_0x1cd3('0x42de')+_0x1cd3('0x42df'));_0x404b17[_0x1cd3('0x37b')]('app/main/apps/motiondialer/views/realtime/queue_calls/view.html','\x0a'+'\x0a'+_0x1cd3('0x5c79')+_0x1cd3('0x5c7a')+_0x1cd3('0x5c7b')+'\x20\x20\x20\x20\x20-->\x0a'+'\x20\x20\x0a'+_0x1cd3('0x423c')+'\x0a'+'\x0a'+_0x1cd3('0x42ca')+_0x1cd3('0x5c7c')+_0x1cd3('0x5c7d')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5c7e')+'\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.DID\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x5c7f')+_0x1cd3('0x5c80')+_0x1cd3('0x5c81')+'\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.DURATION\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x5c82')+_0x1cd3('0x5c83')+_0x1cd3('0x5c84')+_0x1cd3('0x5c85')+_0x1cd3('0x5c86')+_0x1cd3('0x5c87')+_0x1cd3('0x5c88')+_0x1cd3('0x5c89')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x47e0')+_0x1cd3('0x5c83')+_0x1cd3('0x5c8a')+_0x1cd3('0x47e5')+_0x1cd3('0x5c8b')+_0x1cd3('0x5c8c')+_0x1cd3('0x47e0')+_0x1cd3('0x5c8d')+_0x1cd3('0x5c8e')+_0x1cd3('0x5c8f')+_0x1cd3('0x47e5')+_0x1cd3('0x5c90')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{channel.connectedlinename}},\x20{{channel.connectedlinenum}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5c91')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5c92')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.WAITING_FOR_AGENT\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x5c93')+_0x1cd3('0x3781')+_0x1cd3('0x47e0')+_0x1cd3('0x47e5')+_0x1cd3('0x5c94')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hhours}}:{{mminutes}}:{{sseconds}}\x0a'+_0x1cd3('0x3781')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5c95')+_0x1cd3('0x4809')+_0x1cd3('0x5c96')+_0x1cd3('0x5c97')+_0x1cd3('0x39f4')+'\x0a'+_0x1cd3('0x480b')+_0x1cd3('0x4810')+_0x1cd3('0x5c98')+_0x1cd3('0x5c99')+_0x1cd3('0x41c1')+_0x1cd3('0x480f')+_0x1cd3('0x4810')+_0x1cd3('0x5c9a')+_0x1cd3('0x5c9b')+_0x1cd3('0x41c1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4810')+_0x1cd3('0x5c9c')+_0x1cd3('0x5c9d')+_0x1cd3('0x5c9e')+_0x1cd3('0x5c9f')+_0x1cd3('0x5ca0')+_0x1cd3('0x59f3')+_0x1cd3('0x3a1a')+_0x1cd3('0x5ca1')+_0x1cd3('0x480f')+_0x1cd3('0x4819')+_0x1cd3('0x481a')+_0x1cd3('0x47e0')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5ca2')+_0x1cd3('0x5ca3')+_0x1cd3('0x42dc')+'\x0a'+_0x1cd3('0x5ca4')+'\x0a'+_0x1cd3('0x42df'));_0x404b17['put']('app/main/apps/motiondialer/views/realtime/queue_params/view.html',_0x1cd3('0x422d')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x5ca5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x42c8')+_0x1cd3('0x3686')+_0x1cd3('0x423c')+'\x0a'+'\x0a'+_0x1cd3('0x42ca')+_0x1cd3('0x423e')+_0x1cd3('0x4ef7')+_0x1cd3('0x41b0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27\x0a'+_0x1cd3('0x5ca6')+_0x1cd3('0x5ca7')+_0x1cd3('0x5ca8')+_0x1cd3('0x5ca7')+_0x1cd3('0x5ca9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27\x0a'+_0x1cd3('0x5caa')+_0x1cd3('0x5ca7')+_0x1cd3('0x5cab')+_0x1cd3('0x5ca7')+_0x1cd3('0x5cac')+_0x1cd3('0x5ca7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MOTIONDIALER.AVG_HOLD_TIME\x27\x20|\x20translate}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MOTIONDIALER.AVG_DURATION\x27\x20|\x20translate}}\x0a'+_0x1cd3('0x5ca7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MOTIONDIALER.AVG_BILLABLE\x27\x20|\x20translate}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x425b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x425e')+_0x1cd3('0x5c6c')+_0x1cd3('0x3756')+_0x1cd3('0x4150')+_0x1cd3('0x41b7')+_0x1cd3('0x5cad')+_0x1cd3('0x5cae')+_0x1cd3('0x5caf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5cb0')+_0x1cd3('0x5cb1')+_0x1cd3('0x3af8')+_0x1cd3('0x5cb0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{queue.total\x20||\x200}}\x0a'+_0x1cd3('0x3af8')+_0x1cd3('0x5cb0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{queue.answered\x20||\x200}}\x20({{(queue.answered)\x20?\x20(100\x20-\x20(((queue.outboundDropCallsDayTimeout\x20||\x200)\x20*\x20100/(queue.total))\x20|\x20number:1\x20)\x20-\x20(((queue.outboundDropCallsDayCallersExit\x20||\x200)\x20*\x20100/(queue.total\x20))\x20|\x20number:1\x20)\x20\x20)\x20:\x200\x20|\x20number:1}}%)\x0a'+_0x1cd3('0x3af8')+_0x1cd3('0x5cb0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{queue.outboundDropCallsDayCallersExit\x20||\x200}}\x20({{(queue.outboundDropCallsDayCallersExit)\x20?\x20(queue.outboundDropCallsDayCallersExit\x20||\x200)\x20*\x20100/(queue.total\x20)\x20:\x200\x20|\x20number:1}}%)\x0a'+_0x1cd3('0x3af8')+_0x1cd3('0x5cb0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{queue.outboundDropCallsDayTimeout\x20||\x200}}\x20({{(queue.outboundDropCallsDayTimeout)\x20?\x20(queue.outboundDropCallsDayTimeout\x20||\x200)\x20*\x20100/(queue.total)\x20:\x200\x20|\x20number:1}}%)\x0a'+_0x1cd3('0x3af8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5cb2')+_0x1cd3('0x3af8')+_0x1cd3('0x5cb0')+_0x1cd3('0x5cb3')+_0x1cd3('0x3af8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5cb4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3bd7')+_0x1cd3('0x42bf')+_0x1cd3('0x42c0')+_0x1cd3('0x42dc')+'\x0a'+_0x1cd3('0x5cb5')+_0x1cd3('0x42de')+'\x0a');_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x1ec7'),_0x1cd3('0x5cb6')+_0x1cd3('0x3d1a')+_0x1cd3('0x3f70')+_0x1cd3('0x5cb7')+_0x1cd3('0x3f72')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3671')+_0x1cd3('0x36f6')+_0x1cd3('0x3947')+_0x1cd3('0x5cb8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5cb9')+_0x1cd3('0x5cba')+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x5cbb')+_0x1cd3('0x3b4b')+_0x1cd3('0x5cbc')+_0x1cd3('0x5cbd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{vm.queueCampaign.dialPredictiveInterval}}\x20minutes)\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x366a')+'\x0a'+_0x1cd3('0x3b4b')+_0x1cd3('0x5cbc')+_0x1cd3('0x5cbe')+_0x1cd3('0x5cbf')+_0x1cd3('0x3669')+_0x1cd3('0x5cbc')+_0x1cd3('0x5cc0')+_0x1cd3('0x5cc1')+_0x1cd3('0x5cc2')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+_0x1cd3('0x3a0d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5cc3')+_0x1cd3('0x38f9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5cc4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Predictive\x20is\x20runnning\x0a'+_0x1cd3('0x5cc5')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+'\x0a'+_0x1cd3('0x3b4b')+_0x1cd3('0x5cbc')+_0x1cd3('0x5cbe')+_0x1cd3('0x5cc6')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5cc0')+_0x1cd3('0x5cc1')+_0x1cd3('0x5cc7')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x5cc8')+_0x1cd3('0x5cc3')+_0x1cd3('0x38f9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5cc9')+_0x1cd3('0x5cca')+_0x1cd3('0x5ccb')+_0x1cd3('0x36b7')+_0x1cd3('0x5ccc')+_0x1cd3('0x5ccd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4389')+_0x1cd3('0x5cce')+_0x1cd3('0x5ccf')+_0x1cd3('0x4394')+_0x1cd3('0x4389')+_0x1cd3('0x5cd0')+_0x1cd3('0x5cd1')+_0x1cd3('0x4394')+_0x1cd3('0x5cd2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x422e')+_0x1cd3('0x4118')+_0x1cd3('0x5ce4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x42c8')+_0x1cd3('0x3686')+'\x0a'+'\x0a'+_0x1cd3('0x42c9')+_0x1cd3('0x42ca')+_0x1cd3('0x423e')+_0x1cd3('0x4ef7')+_0x1cd3('0x41b0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.NAME\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.LOGGED_IN\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.PAUSED\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.READY\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x5ce5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.TALKING\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x5ce6')+_0x1cd3('0x5ce7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.METHOD\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x5c6a')+_0x1cd3('0x5ce8')+_0x1cd3('0x3d7d')+_0x1cd3('0x41b7')+_0x1cd3('0x425a')+_0x1cd3('0x425b')+_0x1cd3('0x42d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5c6c')+_0x1cd3('0x3756')+_0x1cd3('0x4150')+_0x1cd3('0x41b7')+_0x1cd3('0x42d2')+_0x1cd3('0x42d3')+_0x1cd3('0x41ba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.queues[value].loggedInDb\x20||\x200}}\x20({{vm.queues[value].loggedIn\x20||\x200}})\x0a'+_0x1cd3('0x4150')+_0x1cd3('0x41ba')+_0x1cd3('0x42d5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41ba')+_0x1cd3('0x4efb')+_0x1cd3('0x4150')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.queues[value].waiting\x20||\x200}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5ce9')+_0x1cd3('0x5cea')+_0x1cd3('0x4150')+_0x1cd3('0x5ceb')+_0x1cd3('0x5cec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41ba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.queues[value].message\x20?\x20(\x27MOTIONDIALER.\x27+vm.queues[value].message\x20|\x20translate)\x20:\x20\x27--\x27}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5ced')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.queues[value].Trunk\x20?\x20vm.queues[value].Trunk.name\x20:\x20\x27--\x27}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4150')+_0x1cd3('0x5cee')+_0x1cd3('0x3a49')+_0x1cd3('0x5c76')+_0x1cd3('0x42d8')+_0x1cd3('0x395d')+'\x0a'+_0x1cd3('0x3b04')+_0x1cd3('0x42a0')+_0x1cd3('0x5cef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Queue\x0a'+_0x1cd3('0x3a52')+_0x1cd3('0x3a53')+_0x1cd3('0x5cf0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5cf1')+_0x1cd3('0x3a52')+_0x1cd3('0x3a53')+_0x1cd3('0x42d9')+_0x1cd3('0x5cf2')+_0x1cd3('0x42db')+_0x1cd3('0x3a52')+_0x1cd3('0x3a53')+_0x1cd3('0x41c8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4150')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x42bf')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x42dc')+'\x0a'+'\x0a'+'\x0a'+'\x0a');_0x404b17['put']('app/main/apps/motiondialer/views/realtime/realtime.html',_0x1cd3('0x42e0')+_0x1cd3('0x3a22')+_0x1cd3('0x3e3c')+_0x1cd3('0x3baa')+_0x1cd3('0x42e1')+_0x1cd3('0x42e2')+_0x1cd3('0x5cf3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3862')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x42e2')+_0x1cd3('0x5cf4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f03')+_0x1cd3('0x42e2')+_0x1cd3('0x5cf5')+_0x1cd3('0x42e4')+_0x1cd3('0x3862')+_0x1cd3('0x4f03')+_0x1cd3('0x42e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Abandoned\x20Queue\x20Calls\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3862')+_0x1cd3('0x4f03')+_0x1cd3('0x42e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Queue\x20Parameters\x0a'+_0x1cd3('0x42e4')+_0x1cd3('0x3862')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x42e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Ivr\x20Campaigns\x0a'+_0x1cd3('0x42e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x42e6')+'\x0a'+_0x1cd3('0x42e7')+'\x0a'+_0x1cd3('0x3686')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x376e'));_0x404b17[_0x1cd3('0x37b')]('app/main/apps/openchannel/views/openchannelAccounts/create/dialog.html','\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x0a'+_0x1cd3('0x5cf6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+_0x1cd3('0x5cf7')+_0x1cd3('0x3dff')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x5cf8')+_0x1cd3('0x3b24')+_0x1cd3('0x5cf9')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5cfa')+_0x1cd3('0x5cfb')+_0x1cd3('0x3e80')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x5cfc')+_0x1cd3('0x3b24')+_0x1cd3('0x5cfd')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5cfe')+_0x1cd3('0x3756')+_0x1cd3('0x39ea')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5cff')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x5d00')+_0x1cd3('0x5d01')+_0x1cd3('0x3b24')+_0x1cd3('0x5d02')+_0x1cd3('0x3756')+_0x1cd3('0x3e87')+_0x1cd3('0x5d03')+_0x1cd3('0x3756')+_0x1cd3('0x39ea')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x5d04')+_0x1cd3('0x5d05')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x3e91')+_0x1cd3('0x3e92')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5d06')+_0x1cd3('0x5d07')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3acf')+_0x1cd3('0x5d08')+_0x1cd3('0x5d09')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5d0a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5d0b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a20')+_0x1cd3('0x5d11')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39fe')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x5d12'),_0x1cd3('0x5d13')+_0x1cd3('0x5d14')+_0x1cd3('0x3e1f')+_0x1cd3('0x3d4f')+_0x1cd3('0x5d15')+_0x1cd3('0x3d50')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+_0x1cd3('0x366c')+_0x1cd3('0x3e21')+_0x1cd3('0x366f')+_0x1cd3('0x3e26')+_0x1cd3('0x3e22')+_0x1cd3('0x3e23')+_0x1cd3('0x3ba9')+_0x1cd3('0x3671')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')]('app/main/apps/openchannel/views/openchannelAccounts/edit/apps/agent/dialog.html',_0x1cd3('0x5d16')+_0x1cd3('0x5d17')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5d18')+_0x1cd3('0x3ea3')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x3ea4')+_0x1cd3('0x5d19')+_0x1cd3('0x3acc')+_0x1cd3('0x5d1a')+_0x1cd3('0x3b24')+_0x1cd3('0x5d1b')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x5d1c')+_0x1cd3('0x3ea8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3ea9')+_0x1cd3('0x3e0e')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x5d1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5d1e')+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+_0x1cd3('0x5d1f')+_0x1cd3('0x3e12')+_0x1cd3('0x3e13')+_0x1cd3('0x5d20')+_0x1cd3('0x3e12')+_0x1cd3('0x3e15')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x3b20')+_0x1cd3('0x3b47')+_0x1cd3('0x5d21')+_0x1cd3('0x3ad7')+_0x1cd3('0x5d22')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22OPENCHANNEL.SAVE\x22\x20translate-attr-aria-label=\x22OPENCHANNEL.SAVE\x22>\x0a'+_0x1cd3('0x39f3')+_0x1cd3('0x39f4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x5d23'),_0x1cd3('0x5d16')+_0x1cd3('0x5d17')+_0x1cd3('0x3666')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x5d24')+_0x1cd3('0x5d25')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x5d26')+_0x1cd3('0x3b24')+_0x1cd3('0x5d27')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x5d28')+_0x1cd3('0x3eb3')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x5d29')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20secretaccesskey\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5d2a')+_0x1cd3('0x3eb7')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+_0x1cd3('0x3a6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20US\x20East\x20(N.\x20Virginia)\x0a'+_0x1cd3('0x3eba')+_0x1cd3('0x3a4d')+_0x1cd3('0x5d2b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Asia\x20Pacific\x20(Sydney)\x0a'+_0x1cd3('0x3acc')+_0x1cd3('0x5d2d')+_0x1cd3('0x3b24')+_0x1cd3('0x5d2e')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x5d2f')+_0x1cd3('0x3ec1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x5d30')+_0x1cd3('0x3b24')+_0x1cd3('0x5d31')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20welcomemessage\x0a'+_0x1cd3('0x3ec4')+_0x1cd3('0x5d32')+_0x1cd3('0x3ed1')+_0x1cd3('0x5d33')+_0x1cd3('0x39e1')+_0x1cd3('0x3b24')+_0x1cd3('0x5d34')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5d35')+_0x1cd3('0x3756')+_0x1cd3('0x39e1')+_0x1cd3('0x3669')+_0x1cd3('0x3870')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x3b20')+_0x1cd3('0x3b47')+_0x1cd3('0x5d21')+_0x1cd3('0x3ad7')+_0x1cd3('0x5d22')+_0x1cd3('0x5d0d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x1cd3('0x39f4')+_0x1cd3('0x366a')+_0x1cd3('0x3675')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')]('app/main/apps/openchannel/views/openchannelAccounts/edit/apps/autoreply/dialog.html','\x0a'+_0x1cd3('0x5d17')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3667')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20times\x0a'+_0x1cd3('0x3eca')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e5')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x3a6f')+_0x1cd3('0x55ac')+_0x1cd3('0x3a4d')+_0x1cd3('0x3ecb')+_0x1cd3('0x3ecc')+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Always\x0a'+_0x1cd3('0x3acc')+_0x1cd3('0x5d36')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5d37')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Text\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ed1')+_0x1cd3('0x5d38')+_0x1cd3('0x39e1')+_0x1cd3('0x3b24')+_0x1cd3('0x5d39')+_0x1cd3('0x3756')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3669')+_0x1cd3('0x3870')+_0x1cd3('0x3ed3')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3b20')+_0x1cd3('0x3b47')+_0x1cd3('0x5d21')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x1cd3('0x5d22')+_0x1cd3('0x5d0d')+_0x1cd3('0x39f3')+_0x1cd3('0x39f4')+_0x1cd3('0x366a')+_0x1cd3('0x3675')+_0x1cd3('0x3681')+'\x0a');_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x5d3a'),_0x1cd3('0x5d16')+_0x1cd3('0x5d17')+_0x1cd3('0x3666')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5d3b')+_0x1cd3('0x3ed5')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x5d3c')+_0x1cd3('0x3b24')+_0x1cd3('0x5d3d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x3b20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5d21')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x1cd3('0x5d22')+_0x1cd3('0x5d0d')+_0x1cd3('0x39f3')+_0x1cd3('0x39f4')+_0x1cd3('0x366a')+_0x1cd3('0x3675')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x5d3e'),_0x1cd3('0x5d16')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Key\x0a'+_0x1cd3('0x3ed8')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e5')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5d3f')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Key\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20language\x0a'+_0x1cd3('0x3edb')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x3a6f')+_0x1cd3('0x3edc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3edd')+_0x1cd3('0x5d40')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ede')+_0x1cd3('0x3edf')+_0x1cd3('0x3a4d')+_0x1cd3('0x3ee0')+_0x1cd3('0x5d41')+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Italian\x0a'+_0x1cd3('0x3ee2')+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Spanish\x0a'+_0x1cd3('0x3ee4')+_0x1cd3('0x3a4d')+_0x1cd3('0x5d42')+_0x1cd3('0x3ee5')+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Indonesian\x0a'+_0x1cd3('0x3ee6')+_0x1cd3('0x3a4d')+_0x1cd3('0x5d43')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Norwegian\x0a'+_0x1cd3('0x3eed')+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Portuguese\x20(European)\x0a'+_0x1cd3('0x5d44')+_0x1cd3('0x3a4d')+_0x1cd3('0x3eef')+_0x1cd3('0x3ef0')+_0x1cd3('0x3a4d')+_0x1cd3('0x5d45')+_0x1cd3('0x3ef1')+_0x1cd3('0x3a4d')+_0x1cd3('0x3ef2')+_0x1cd3('0x3ef3')+_0x1cd3('0x3a4d')+_0x1cd3('0x3ef4')+_0x1cd3('0x3ef5')+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Ukrainian\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Chinese\x20(Hong\x20Kong)\x0a'+_0x1cd3('0x5d47')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ef8')+_0x1cd3('0x3acc')+_0x1cd3('0x5d48')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20language\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3acf')+_0x1cd3('0x5d49')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5d32')+_0x1cd3('0x3ed1')+_0x1cd3('0x5d33')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x5d34')+_0x1cd3('0x3756')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3ec6')+_0x1cd3('0x5d35')+_0x1cd3('0x3756')+_0x1cd3('0x39e1')+_0x1cd3('0x3669')+_0x1cd3('0x3870')+_0x1cd3('0x3ed3')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x3b20')+_0x1cd3('0x3b47')+_0x1cd3('0x5d21')+_0x1cd3('0x3ad7')+_0x1cd3('0x5d22')+_0x1cd3('0x5d0d')+_0x1cd3('0x39f3')+_0x1cd3('0x39f4')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x5d4a'),_0x1cd3('0x5d16')+_0x1cd3('0x5d17')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x5d4b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5d4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x5d4e')+_0x1cd3('0x3f00')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e0d')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5d4f')+_0x1cd3('0x3b24')+_0x1cd3('0x5d50')+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+_0x1cd3('0x5d51')+_0x1cd3('0x3e12')+_0x1cd3('0x3f04')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20falsepriority\x0a'+_0x1cd3('0x3f06')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e0d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x5d52')+_0x1cd3('0x3b24')+_0x1cd3('0x5d53')+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+_0x1cd3('0x5d54')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f04')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3b20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5d21')+_0x1cd3('0x3ad7')+_0x1cd3('0x5d22')+_0x1cd3('0x5d0d')+_0x1cd3('0x39f3')+_0x1cd3('0x39f4')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x5d55'),_0x1cd3('0x5d16')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x5d56')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Priority\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5d58')+_0x1cd3('0x3e12')+_0x1cd3('0x3f04')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x3b20')+_0x1cd3('0x3b47')+_0x1cd3('0x5d21')+_0x1cd3('0x3ad7')+_0x1cd3('0x5d22')+_0x1cd3('0x5d0d')+_0x1cd3('0x39f3')+_0x1cd3('0x39f4')+_0x1cd3('0x366a')+_0x1cd3('0x3675')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x1ee6'),_0x1cd3('0x3f0f')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3858')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x3b14')+_0x1cd3('0x3b1f')+_0x1cd3('0x3b15')+_0x1cd3('0x3b16')+_0x1cd3('0x3b17')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b18')+_0x1cd3('0x3b19')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+'\x0a'+_0x1cd3('0x3ed3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f11')+_0x1cd3('0x3f12')+_0x1cd3('0x3f13')+_0x1cd3('0x36a9')+_0x1cd3('0x36aa')+'\x0a'+_0x1cd3('0x55bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Intervals\x0a'+_0x1cd3('0x3f14')+_0x1cd3('0x3f15')+_0x1cd3('0x36a9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4d5e')+_0x1cd3('0x3f16')+_0x1cd3('0x3f17')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f19')+_0x1cd3('0x3f1a')+_0x1cd3('0x3f1b')+_0x1cd3('0x4456')+_0x1cd3('0x3f1c')+_0x1cd3('0x3c97')+_0x1cd3('0x3669')+_0x1cd3('0x3f1d')+_0x1cd3('0x3f1e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f21')+_0x1cd3('0x36b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f22')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x4d5f')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+_0x1cd3('0x3f23')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f25')+_0x1cd3('0x3f17')+_0x1cd3('0x3f26')+_0x1cd3('0x3f27')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f30')+_0x1cd3('0x3f29')+_0x1cd3('0x3b44')+_0x1cd3('0x36c2')+'\x0a'+_0x1cd3('0x3f2a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20To\x0a'+_0x1cd3('0x3f2b')+_0x1cd3('0x3f29')+_0x1cd3('0x3b44')+_0x1cd3('0x3f2c')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x3f2d')+'\x0a'+_0x1cd3('0x3f2e')+_0x1cd3('0x4d60')+_0x1cd3('0x3f17')+_0x1cd3('0x4d61')+_0x1cd3('0x3f27')+_0x1cd3('0x3f2f')+_0x1cd3('0x3f30')+_0x1cd3('0x3f31')+_0x1cd3('0x3b44')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3f32')+_0x1cd3('0x3f33')+_0x1cd3('0x3f34')+_0x1cd3('0x3f31')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3f36')+_0x1cd3('0x3f37')+_0x1cd3('0x3f17')+_0x1cd3('0x4d61')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20From\x0a'+_0x1cd3('0x3f38')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Always\x0a'+_0x1cd3('0x3f39')+_0x1cd3('0x3b44')+'\x0a'+_0x1cd3('0x36c2')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20To\x0a'+_0x1cd3('0x3f3a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20month.value\x20|\x20ucfirst\x20}}\x0a'+_0x1cd3('0x3b44')+_0x1cd3('0x4d63')+_0x1cd3('0x3756')+_0x1cd3('0x36c2')+_0x1cd3('0x366a')+_0x1cd3('0x3f3b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b1f')+_0x1cd3('0x3b15')+_0x1cd3('0x3b16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b19')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3b20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4d64')+_0x1cd3('0x3891')+_0x1cd3('0x3859')+'\x0a'+_0x1cd3('0x3f3c')+_0x1cd3('0x3f3d')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3675')+_0x1cd3('0x3681')+'\x0a');_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x5d59'),_0x1cd3('0x5d16')+_0x1cd3('0x5d17')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Value\x0a'+_0x1cd3('0x4d67')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x5d5a')+_0x1cd3('0x3b24')+_0x1cd3('0x5d5b')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ee')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x3b20')+_0x1cd3('0x3b47')+_0x1cd3('0x5d21')+_0x1cd3('0x3ad7')+_0x1cd3('0x5d22')+_0x1cd3('0x5d0d')+_0x1cd3('0x39f3')+_0x1cd3('0x39f4')+_0x1cd3('0x366a')+_0x1cd3('0x3675')+_0x1cd3('0x3681')+'\x0a');_0x404b17['put'](_0x1cd3('0x5d5c'),_0x1cd3('0x5d16')+_0x1cd3('0x5d17')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39da')+_0x1cd3('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x5d5d')+_0x1cd3('0x3f44')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x3a6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20queue.name\x20}}\x0a'+_0x1cd3('0x3acc')+_0x1cd3('0x5d5e')+_0x1cd3('0x3b24')+_0x1cd3('0x5d5f')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x5d1c')+_0x1cd3('0x3f48')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3ea9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20max=\x222147483\x22\x20\x20\x0a'+_0x1cd3('0x39e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x5d1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5d1e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4e')+_0x1cd3('0x5d1f')+_0x1cd3('0x3e12')+_0x1cd3('0x3e13')+_0x1cd3('0x5d20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e15')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x3b20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5d21')+_0x1cd3('0x3ad7')+_0x1cd3('0x5d22')+_0x1cd3('0x5d0d')+_0x1cd3('0x39f3')+_0x1cd3('0x39f4')+_0x1cd3('0x366a')+_0x1cd3('0x3675')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x5d60'),_0x1cd3('0x5d16')+_0x1cd3('0x5d17')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Command\x0a'+_0x1cd3('0x3f4b')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5d61')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x5d62')+_0x1cd3('0x3f4e')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+_0x1cd3('0x3a6f')+_0x1cd3('0x3f4f')+_0x1cd3('0x3f50')+_0x1cd3('0x3f51')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5d63')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5d64')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x3ed3')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b47')+_0x1cd3('0x5d21')+_0x1cd3('0x3ad7')+_0x1cd3('0x5d22')+_0x1cd3('0x5d0d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x3675')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x5d65'),'\x0a'+_0x1cd3('0x5d17')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3667')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x3857')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x5d66')+_0x1cd3('0x3f56')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+_0x1cd3('0x3a6f')+_0x1cd3('0x4d76')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22tag.canSelect\x20===\x20false\x22>{{\x20tag.name\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x5d67')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3ed3')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x3b20')+_0x1cd3('0x3b47')+_0x1cd3('0x5d21')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22openchannelAccountFormApp.$invalid\x20||\x20openchannelAccountFormApp.$pristine\x22\x0a'+_0x1cd3('0x5d0d')+_0x1cd3('0x39f3')+_0x1cd3('0x39f4')+_0x1cd3('0x366a')+_0x1cd3('0x3675')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x1f0b'),_0x1cd3('0x5d68')+_0x1cd3('0x5d69')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3858')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x366b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Key\x0a'+_0x1cd3('0x5d6a')+_0x1cd3('0x3e85')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5d6b')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Key\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x5d6c')+_0x1cd3('0x5d6d')+_0x1cd3('0x3ed1')+_0x1cd3('0x5d6e')+_0x1cd3('0x39e1')+_0x1cd3('0x3b24')+_0x1cd3('0x5d5b')+_0x1cd3('0x3756')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3669')+_0x1cd3('0x3870')+_0x1cd3('0x3acf')+_0x1cd3('0x5d08')+_0x1cd3('0x5d6f')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5d70')+_0x1cd3('0x3b24')+_0x1cd3('0x5d0b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x388f')+_0x1cd3('0x5d71')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x1cd3('0x5d72')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22OPENCHANNEL.SAVE\x22\x20translate-attr-aria-label=\x22OPENCHANNEL.SAVE\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x1cd3('0x39f4')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39fe')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17['put'](_0x1cd3('0x1f24'),_0x1cd3('0x5d77')+_0x1cd3('0x5d78')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x5d79')+_0x1cd3('0x3b24')+_0x1cd3('0x5cf9')+_0x1cd3('0x3756')+_0x1cd3('0x39ea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ee')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x39ef')+_0x1cd3('0x388f')+_0x1cd3('0x5d7a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x1cd3('0x5d7b')+_0x1cd3('0x5d0d')+_0x1cd3('0x39f3')+_0x1cd3('0x39f4')+'\x0a'+_0x1cd3('0x5d7c')+_0x1cd3('0x39f6')+_0x1cd3('0x5d7d')+_0x1cd3('0x5d7e')+_0x1cd3('0x5d7f')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x39fa')+_0x1cd3('0x5d80')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22OPENCHANNEL.DELETE\x22>\x0a'+_0x1cd3('0x3a20')+_0x1cd3('0x5d11')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x39fe')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x239'),_0x1cd3('0x5d81')+'\x0a'+_0x1cd3('0x3adc')+_0x1cd3('0x3b9f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5d82')+_0x1cd3('0x5d83')+_0x1cd3('0x5d84')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3671')+'\x0a'+_0x1cd3('0x388f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5d85')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x3ba2')+_0x1cd3('0x3ba3')+_0x1cd3('0x5d86')+_0x1cd3('0x5d87')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5d88')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e31')+_0x1cd3('0x5d89')+_0x1cd3('0x3f93')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22agentadd\x22\x20\x20>\x0a'+_0x1cd3('0x5d8a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x5d8b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x1cd3('0x3d24')+'\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae6')+'\x0a'+_0x1cd3('0x3a22')+_0x1cd3('0x3e3c')+'\x0a'+_0x1cd3('0x3baa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e3d')+_0x1cd3('0x5d8c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e40')+_0x1cd3('0x5d8d')+_0x1cd3('0x3e42')+_0x1cd3('0x5d8e')+_0x1cd3('0x386f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e45')+_0x1cd3('0x5d8f')+_0x1cd3('0x5cf6')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e48')+_0x1cd3('0x3dff')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x3e49')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x5cfa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5cfd')+_0x1cd3('0x3756')+_0x1cd3('0x3f99')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20key\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x205\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x39ea')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x5cff')+_0x1cd3('0x5d90')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5d00')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x5d02')+_0x1cd3('0x3756')+_0x1cd3('0x3e87')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20replyUri\x20must\x20be\x20a\x20valid\x20url\x20http://www.xcally.com\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x39ea')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x5d04')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WaitForTheAssignedAgent\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+_0x1cd3('0x5d94')+_0x1cd3('0x3e12')+_0x1cd3('0x3e13')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WaitForTheAssignedAgent\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x202147483\x0a'+_0x1cd3('0x3e12')+_0x1cd3('0x3e15')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x5d95')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f4f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20mapKey.displayName\x20}}\x0a'+_0x1cd3('0x5d96')+_0x1cd3('0x5d97')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20mapKey.displayName\x20}}\x0a'+_0x1cd3('0x5d96')+_0x1cd3('0x46d3')+_0x1cd3('0x5d98')+_0x1cd3('0x3b24')+_0x1cd3('0x5d99')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x5d08')+_0x1cd3('0x5d09')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x3e4f')+_0x1cd3('0x3b24')+_0x1cd3('0x5d0b')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20receiveUri\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5d9a')+_0x1cd3('0x5d9b')+_0x1cd3('0x5d9c')+_0x1cd3('0x5d9d')+_0x1cd3('0x54d8')+_0x1cd3('0x5d9e')+_0x1cd3('0x5d9f')+_0x1cd3('0x3ed3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5da0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5da1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e45')+_0x1cd3('0x5da2')+_0x1cd3('0x3ed3')+_0x1cd3('0x3870')+_0x1cd3('0x3acf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20notificationShake\x0a'+_0x1cd3('0x3ed3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fab')+_0x1cd3('0x5da3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fa6')+_0x1cd3('0x3e51')+_0x1cd3('0x5da4')+_0x1cd3('0x3e42')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TRANSFER\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3faf')+_0x1cd3('0x3e45')+_0x1cd3('0x5da5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5da6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20queueTransferTimeout\x0a'+_0x1cd3('0x5da7')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e0d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20max=\x222147483\x22\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x4da7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5da8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4e')+_0x1cd3('0x5da9')+_0x1cd3('0x3e12')+_0x1cd3('0x3e13')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20queueTransferTimeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x202147483\x0a'+_0x1cd3('0x3e12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x5daa')+_0x1cd3('0x3ed3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5dab')+_0x1cd3('0x5dac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x561f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5dad')+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+_0x1cd3('0x5dae')+_0x1cd3('0x3e12')+_0x1cd3('0x3e13')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20agentTransferTimeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x202147483\x0a'+_0x1cd3('0x3e12')+_0x1cd3('0x3e15')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x3fa6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e3d')+_0x1cd3('0x5daf')+_0x1cd3('0x3e3f')+_0x1cd3('0x3e40')+_0x1cd3('0x5db0')+_0x1cd3('0x3e42')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PROXY\x0a'+_0x1cd3('0x386f')+_0x1cd3('0x5db1')+_0x1cd3('0x3e45')+_0x1cd3('0x5db2')+_0x1cd3('0x5db3')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20disabled\x20\x0a'+_0x1cd3('0x3dff')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x5db4')+_0x1cd3('0x5db5')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20token\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e51')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5db6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fd3')+_0x1cd3('0x3e45')+_0x1cd3('0x5db7')+_0x1cd3('0x3ed3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5db8')+_0x1cd3('0x5db9')+_0x1cd3('0x5dba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+_0x1cd3('0x3a6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x3ed3')+_0x1cd3('0x3fa6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fba')+_0x1cd3('0x3e52')+_0x1cd3('0x3fda')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5dbd')+_0x1cd3('0x3e3f')+_0x1cd3('0x3e40')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5dbe')+_0x1cd3('0x4118')+_0x1cd3('0x5dbf')+_0x1cd3('0x411a')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5dc0')+_0x1cd3('0x5dc1')+_0x1cd3('0x411d')+_0x1cd3('0x4104')+_0x1cd3('0x3669')+_0x1cd3('0x415d')+'\x20\x20\x0a'+_0x1cd3('0x411f')+_0x1cd3('0x5dc2')+_0x1cd3('0x3b5a')+_0x1cd3('0x5dc3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x415a')+_0x1cd3('0x5dc4')+_0x1cd3('0x5dc5')+_0x1cd3('0x4177')+_0x1cd3('0x3d24')+_0x1cd3('0x3f1c')+_0x1cd3('0x415d')+_0x1cd3('0x4123')+_0x1cd3('0x5dc6')+_0x1cd3('0x5dc7')+_0x1cd3('0x4160')+_0x1cd3('0x4126')+_0x1cd3('0x5dc8')+_0x1cd3('0x4128')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5dc9')+_0x1cd3('0x4128')+_0x1cd3('0x412c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27OPENCHANNEL.CREATED_AT\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4128')+_0x1cd3('0x412e')+_0x1cd3('0x412f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4130')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5dca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{openchannelDisposition.id}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5dcb')+_0x1cd3('0x5dcc')+_0x1cd3('0x4133')+_0x1cd3('0x5dcd')+_0x1cd3('0x5dce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4166')+_0x1cd3('0x413f')+_0x1cd3('0x5dcf')+_0x1cd3('0x4141')+_0x1cd3('0x4185')+'\x20\x0a'+_0x1cd3('0x4167')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5dd0')+_0x1cd3('0x5dd1')+_0x1cd3('0x4145')+_0x1cd3('0x4146')+_0x1cd3('0x4147')+_0x1cd3('0x5dd2')+_0x1cd3('0x5dd3')+_0x1cd3('0x3a52')+_0x1cd3('0x4149')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x4189')+_0x1cd3('0x414b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5dd4')+_0x1cd3('0x416b')+_0x1cd3('0x414d')+_0x1cd3('0x5dd5')+_0x1cd3('0x414f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x412f')+_0x1cd3('0x4151')+_0x1cd3('0x4152')+_0x1cd3('0x416d')+_0x1cd3('0x5dd6')+_0x1cd3('0x3824')+'\x0a'+_0x1cd3('0x3e51')+_0x1cd3('0x3fba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fda')+_0x1cd3('0x3e3d')+_0x1cd3('0x5dd7')+_0x1cd3('0x3e3f')+_0x1cd3('0x3e40')+_0x1cd3('0x5dd8')+_0x1cd3('0x5dd9')+'\x20\x20\x0a'+_0x1cd3('0x4118')+_0x1cd3('0x5dda')+_0x1cd3('0x411a')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5ddb')+_0x1cd3('0x5ddc')+_0x1cd3('0x411d')+_0x1cd3('0x4104')+_0x1cd3('0x3669')+_0x1cd3('0x415d')+_0x1cd3('0x5ddd')+_0x1cd3('0x411f')+_0x1cd3('0x5dde')+_0x1cd3('0x3b5a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x415a')+_0x1cd3('0x5ddf')+_0x1cd3('0x5dc5')+_0x1cd3('0x4177')+_0x1cd3('0x3d24')+_0x1cd3('0x3f1c')+_0x1cd3('0x415d')+'\x20\x20\x0a'+_0x1cd3('0x5de0')+_0x1cd3('0x5de1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4126')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27OPENCHANNEL.ID\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4128')+_0x1cd3('0x417a')+_0x1cd3('0x5de2')+_0x1cd3('0x4128')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5de3')+_0x1cd3('0x4128')+_0x1cd3('0x417d')+_0x1cd3('0x5de4')+_0x1cd3('0x4128')+_0x1cd3('0x412c')+_0x1cd3('0x5de5')+_0x1cd3('0x4128')+_0x1cd3('0x412e')+_0x1cd3('0x412f')+_0x1cd3('0x417f')+_0x1cd3('0x4130')+_0x1cd3('0x5de6')+'>\x0a'+_0x1cd3('0x5de7')+_0x1cd3('0x5de8')+_0x1cd3('0x4133')+_0x1cd3('0x5de9')+_0x1cd3('0x5dea')+_0x1cd3('0x4133')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5deb')+_0x1cd3('0x4133')+_0x1cd3('0x5de9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{openchannelCannedAnswer.description}}\x0a'+_0x1cd3('0x4133')+_0x1cd3('0x5dec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20openchannelCannedAnswer.createdAt\x20|\x20formatdate\x20}}\x0a'+_0x1cd3('0x413e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x413f')+_0x1cd3('0x5dcf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4185')+'\x20\x0a'+_0x1cd3('0x4167')+_0x1cd3('0x4142')+_0x1cd3('0x5ded')+_0x1cd3('0x5dee')+_0x1cd3('0x4145')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5def')+_0x1cd3('0x5df0')+_0x1cd3('0x3a52')+_0x1cd3('0x4149')+_0x1cd3('0x414a')+_0x1cd3('0x4189')+_0x1cd3('0x414b')+_0x1cd3('0x412f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x418b')+_0x1cd3('0x414d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20openchannelcannedanswer\x20available\x0a'+_0x1cd3('0x414f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x412f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4152')+_0x1cd3('0x416d')+_0x1cd3('0x5df1')+_0x1cd3('0x3824')+'\x0a'+_0x1cd3('0x3e51')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e3d')+_0x1cd3('0x5df2')+_0x1cd3('0x3e3f')+_0x1cd3('0x3e40')+_0x1cd3('0x5df3')+_0x1cd3('0x5df4')+'\x20\x20\x0a'+_0x1cd3('0x4198')+_0x1cd3('0x5687')+_0x1cd3('0x4199')+_0x1cd3('0x419a')+_0x1cd3('0x419b')+_0x1cd3('0x419c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x419d')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x37bd')+_0x1cd3('0x419f')+_0x1cd3('0x41a0')+_0x1cd3('0x4e07')+_0x1cd3('0x5df5')+_0x1cd3('0x41a2')+_0x1cd3('0x419e')+_0x1cd3('0x41a3')+_0x1cd3('0x3824')+_0x1cd3('0x41a4')+_0x1cd3('0x41a5')+_0x1cd3('0x41a6')+_0x1cd3('0x41a7')+_0x1cd3('0x5df6')+_0x1cd3('0x411f')+'\x20\x20\x20\x20\x20\x20\x20\x20Drag\x20&\x20Drop\x20Routing\x0a'+_0x1cd3('0x3b5a')+_0x1cd3('0x41a9')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3947')+_0x1cd3('0x5df7')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5df8')+_0x1cd3('0x3b5a')+_0x1cd3('0x5df9')+_0x1cd3('0x5dfa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36ed')+_0x1cd3('0x3d1d')+_0x1cd3('0x3947')+'\x0a'+_0x1cd3('0x5dfb')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x5dfc')+_0x1cd3('0x41af')+_0x1cd3('0x41b0')+_0x1cd3('0x41b1')+_0x1cd3('0x41b2')+_0x1cd3('0x41b3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41b6')+_0x1cd3('0x41b4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4e11')+_0x1cd3('0x41b4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4e12')+_0x1cd3('0x41b4')+_0x1cd3('0x41b1')+_0x1cd3('0x41b1')+_0x1cd3('0x41b7')+_0x1cd3('0x425a')+_0x1cd3('0x41b8')+_0x1cd3('0x5dfd')+_0x1cd3('0x41ba')+_0x1cd3('0x568c')+_0x1cd3('0x4150')+_0x1cd3('0x5dfe')+_0x1cd3('0x5dff')+_0x1cd3('0x5e00')+_0x1cd3('0x41bd')+_0x1cd3('0x41ba')+_0x1cd3('0x4e16')+_0x1cd3('0x41be')+_0x1cd3('0x41bf')+_0x1cd3('0x41c0')+_0x1cd3('0x4e17')+_0x1cd3('0x41c1')+_0x1cd3('0x4150')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a49')+_0x1cd3('0x5e01')+_0x1cd3('0x3a4c')+_0x1cd3('0x395d')+'\x0a'+_0x1cd3('0x3b04')+_0x1cd3('0x41c3')+_0x1cd3('0x5e02')+_0x1cd3('0x5690')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a53')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41c4')+_0x1cd3('0x41c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a53')+_0x1cd3('0x4e19')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41c7')+_0x1cd3('0x3a52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41c8')+_0x1cd3('0x41c9')+_0x1cd3('0x4150')+_0x1cd3('0x41b7')+_0x1cd3('0x5e03')+_0x1cd3('0x41cb')+_0x1cd3('0x4e1b')+_0x1cd3('0x4150')+_0x1cd3('0x41b7')+_0x1cd3('0x42bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x41cd')+'\x0a'+_0x1cd3('0x4e1c')+'\x0a'+_0x1cd3('0x41ce')+_0x1cd3('0x376e')+_0x1cd3('0x42df')+'\x0a'+'\x0a'+_0x1cd3('0x3e51')+_0x1cd3('0x3fba')+_0x1cd3('0x3e52')+_0x1cd3('0x3fda')+_0x1cd3('0x3e3d')+_0x1cd3('0x5e04')+_0x1cd3('0x3e3f')+_0x1cd3('0x3e40')+_0x1cd3('0x5e05')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x0a'+_0x1cd3('0x4118')+_0x1cd3('0x5e06')+_0x1cd3('0x411a')+_0x1cd3('0x411b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41d1')+_0x1cd3('0x4e1f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x20\x27md-fab\x20md-mini\x20md-accent-bg\x27:\x20vm_dc.query.search\x20}\x22\x20aria-label=\x22Filter\x22\x20translate\x0a'+_0x1cd3('0x41d3')+_0x1cd3('0x41d4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x20\x27blink\x27:\x20vm_dc.query.search\x20}\x22>\x0a'+_0x1cd3('0x36ed')+_0x1cd3('0x3d1d')+_0x1cd3('0x5e07')+_0x1cd3('0x5e08')+_0x1cd3('0x4e23')+_0x1cd3('0x4104')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x415d')+_0x1cd3('0x5e09')+_0x1cd3('0x411f')+'\x20\x20\x20\x20\x20\x20\x20\x20{{vm_dc.selectedOpenchannelAccountInteractions.length}}\x20{{vm_dc.selectedOpenchannelAccountInteractions.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected\x0a'+_0x1cd3('0x3b5a')+_0x1cd3('0x5e0a')+_0x1cd3('0x4121')+_0x1cd3('0x415a')+_0x1cd3('0x5e0b')+_0x1cd3('0x5dc5')+_0x1cd3('0x4177')+_0x1cd3('0x3d24')+_0x1cd3('0x3f1c')+_0x1cd3('0x415d')+'\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5e0c')+_0x1cd3('0x4160')+_0x1cd3('0x4126')+_0x1cd3('0x5dc8')+_0x1cd3('0x4128')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41db')+_0x1cd3('0x41dd')+_0x1cd3('0x41db')+_0x1cd3('0x41dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5e0d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x412c')+_0x1cd3('0x5e0e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4e2d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27OPENCHANNEL.LASTMESSAGE\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4128')+_0x1cd3('0x41e0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27OPENCHANNEL.STATUS\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4128')+_0x1cd3('0x4e2a')+_0x1cd3('0x5e0f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41e2')+_0x1cd3('0x5e10')+_0x1cd3('0x4128')+_0x1cd3('0x412e')+_0x1cd3('0x412f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4130')+_0x1cd3('0x5e11')+_0x1cd3('0x41e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41e6')+_0x1cd3('0x4133')+_0x1cd3('0x41e7')+_0x1cd3('0x41e8')+_0x1cd3('0x41e9')+_0x1cd3('0x56a0')+_0x1cd3('0x41ea')+_0x1cd3('0x41eb')+_0x1cd3('0x4202')+_0x1cd3('0x41ec')+_0x1cd3('0x41ed')+_0x1cd3('0x3951')+_0x1cd3('0x41ee')+_0x1cd3('0x41ef')+_0x1cd3('0x41f0')+_0x1cd3('0x3f1c')+_0x1cd3('0x3951')+_0x1cd3('0x41ee')+_0x1cd3('0x41f1')+_0x1cd3('0x41f2')+_0x1cd3('0x41ed')+_0x1cd3('0x3951')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41f3')+_0x1cd3('0x41f4')+'\x20\x20\x20\x20\x20\x20\x20\x20layout-margin>{{\x20interaction.contactName\x20}}\x0a'+_0x1cd3('0x41f6')+'\x20\x20\x20\x20\x20\x20\x20\x20layout-margin>{{\x20interaction.contactInfo\x20}}\x0a'+_0x1cd3('0x376e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41f8')+_0x1cd3('0x41f9')+_0x1cd3('0x413e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41fb')+_0x1cd3('0x41fc')+_0x1cd3('0x4283')+_0x1cd3('0x41fd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20interaction.lastMsgAt\x20|\x20formatdate\x20}}\x0a'+_0x1cd3('0x36b7')+_0x1cd3('0x3f1c')+_0x1cd3('0x413e')+_0x1cd3('0x4e34')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell>\x0a'+_0x1cd3('0x4200')+_0x1cd3('0x5e12')+_0x1cd3('0x4e36')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-\x20{{\x20interaction.substatus\x20}}\x0a'+_0x1cd3('0x4202')+_0x1cd3('0x4206')+_0x1cd3('0x4e38')+_0x1cd3('0x5e13')+_0x1cd3('0x4204')+_0x1cd3('0x4205')+_0x1cd3('0x4202')+_0x1cd3('0x4206')+_0x1cd3('0x4133')+_0x1cd3('0x3a4d')+_0x1cd3('0x4207')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{interaction.Owner.name}}\x0a'+_0x1cd3('0x4133')+_0x1cd3('0x4208')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4e3a')+_0x1cd3('0x420a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x56a6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-style=\x22{\x27color\x27:\x20interaction.Tags.length\x20==\x201\x20&&\x20interaction.Tags[0].color\x20}\x22>\x0a'+_0x1cd3('0x4e3b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x413e')+_0x1cd3('0x420d')+_0x1cd3('0x413f')+_0x1cd3('0x5dcf')+_0x1cd3('0x4141')+_0x1cd3('0x4185')+'\x20\x0a'+_0x1cd3('0x4167')+_0x1cd3('0x420e')+_0x1cd3('0x5e14')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Spy\x20Interaction\x0a'+_0x1cd3('0x3a52')+_0x1cd3('0x4149')+_0x1cd3('0x4211')+_0x1cd3('0x5e15')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Download\x20with\x20attachments\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4149')+_0x1cd3('0x5e16')+_0x1cd3('0x5e17')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Download\x20without\x20attachments\x0a'+_0x1cd3('0x4213')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4216')+_0x1cd3('0x5e18')+_0x1cd3('0x4217')+_0x1cd3('0x3a52')+_0x1cd3('0x4149')+_0x1cd3('0x414a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x414b')+_0x1cd3('0x412f')+_0x1cd3('0x5e19')+_0x1cd3('0x4219')+_0x1cd3('0x414d')+_0x1cd3('0x5e1a')+_0x1cd3('0x414f')+_0x1cd3('0x4150')+_0x1cd3('0x412f')+_0x1cd3('0x4151')+_0x1cd3('0x4152')+'\x20\x20\x0a'+_0x1cd3('0x5e1b')+_0x1cd3('0x3824')+'\x0a'+_0x1cd3('0x3e51')+_0x1cd3('0x3fba')+_0x1cd3('0x3e52')+_0x1cd3('0x3e53')+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a66')+'\x0a'+_0x1cd3('0x376e'));_0x404b17['put'](_0x1cd3('0x235'),_0x1cd3('0x5e1c')+'\x0a'+_0x1cd3('0x3adc')+_0x1cd3('0x39ff')+'\x0a'+_0x1cd3('0x3add')+_0x1cd3('0x37e6')+_0x1cd3('0x3a00')+_0x1cd3('0x3ade')+_0x1cd3('0x5e1d')+_0x1cd3('0x38f9')+_0x1cd3('0x5e1e')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x3ae1')+'\x0a'+_0x1cd3('0x3ae2')+_0x1cd3('0x3ae3')+_0x1cd3('0x3a02')+_0x1cd3('0x3a03')+_0x1cd3('0x3ae4')+_0x1cd3('0x3a04')+_0x1cd3('0x3a05')+_0x1cd3('0x5e1f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae5')+_0x1cd3('0x3756')+_0x1cd3('0x3686')+_0x1cd3('0x3ae6')+'\x0a'+_0x1cd3('0x3a07')+_0x1cd3('0x5e20')+_0x1cd3('0x3a09')+'\x0a'+_0x1cd3('0x5e21')+_0x1cd3('0x3a0b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5e22')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a0c')+'\x0a'+_0x1cd3('0x3a0d')+_0x1cd3('0x5e23')+_0x1cd3('0x5e24')+_0x1cd3('0x5e25')+_0x1cd3('0x38f9')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a11')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22$mdOpenMenu($event)\x22\x0a'+_0x1cd3('0x3aec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22OPENCHANNEL.MULTI_SELECT_TOGGLE\x22>\x0a'+_0x1cd3('0x3a14')+_0x1cd3('0x367d')+_0x1cd3('0x3a15')+_0x1cd3('0x3a16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3c2e')+_0x1cd3('0x3849')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a16')+_0x1cd3('0x5e26')+_0x1cd3('0x3a19')+_0x1cd3('0x3849')+_0x1cd3('0x3aee')+_0x1cd3('0x3a1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x0a'+_0x1cd3('0x3a1b')+_0x1cd3('0x5e27')+_0x1cd3('0x3a1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5e28')+_0x1cd3('0x5e29')+_0x1cd3('0x3a20')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x3686')+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a23')+'\x0a'+_0x1cd3('0x3af1')+_0x1cd3('0x3a24')+'\x0a'+_0x1cd3('0x3a25')+_0x1cd3('0x5e2a')+_0x1cd3('0x3a27')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a2b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27OPENCHANNEL.ID\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x5e2b')+_0x1cd3('0x5e2c')+_0x1cd3('0x5e2d')+_0x1cd3('0x5e2e')+_0x1cd3('0x5e2f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a34')+_0x1cd3('0x3db3')+_0x1cd3('0x3a35')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e63')+_0x1cd3('0x3a38')+_0x1cd3('0x5e30')+_0x1cd3('0x3a3a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a34')+_0x1cd3('0x5e31')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5e32')+_0x1cd3('0x5e33')+_0x1cd3('0x5e34')+_0x1cd3('0x5e35')+_0x1cd3('0x5e36')+_0x1cd3('0x5e35')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22key\x20\x22\x20>{{openchannelAccount.key}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{openchannelAccount.replyUri}}\x0a'+_0x1cd3('0x5e35')+_0x1cd3('0x5e37')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x395d')+'\x0a'+_0x1cd3('0x3b04')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a54')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a4e')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x5e3a')+_0x1cd3('0x5e3b')+_0x1cd3('0x5e3c')+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a54')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3ce1')+'\x0a'+_0x1cd3('0x5e3d')+_0x1cd3('0x5e3e')+_0x1cd3('0x5e3f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3ce1')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3a5a')+'\x0a'+_0x1cd3('0x5e42')+_0x1cd3('0x5e43')+_0x1cd3('0x5e44')+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+_0x1cd3('0x3699')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3951')+'\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a5d')+_0x1cd3('0x3a5e')+_0x1cd3('0x3a5f')+'\x0a'+_0x1cd3('0x5e45')+_0x1cd3('0x3a61')+_0x1cd3('0x5e46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a64')+_0x1cd3('0x36f6')+_0x1cd3('0x3a65')+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a66')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x376d')+_0x1cd3('0x5e48')+_0x1cd3('0x3686'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x1f61'),_0x1cd3('0x5e49')+_0x1cd3('0x5e4a')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x0a'+_0x1cd3('0x5e4b')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-pattern=\x22/^[A-Za-z0-9\x5c.\x5c_]+$/i\x22\x20\x20\x0a'+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+_0x1cd3('0x5e4c')+_0x1cd3('0x3dff')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x5e4d')+_0x1cd3('0x5e4e')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3e03')+_0x1cd3('0x5e4f')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x5e50')+_0x1cd3('0x5e51')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x3a6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Strategy\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5e52')+_0x1cd3('0x5e53')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e0d')+_0x1cd3('0x3e0e')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x5e54')+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+_0x1cd3('0x5e55')+_0x1cd3('0x3e12')+_0x1cd3('0x3e13')+_0x1cd3('0x5e56')+_0x1cd3('0x3e12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5d08')+_0x1cd3('0x5e57')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x5e58')+_0x1cd3('0x3b24')+_0x1cd3('0x5d0b')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x39ef')+_0x1cd3('0x388f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x5e5a')+_0x1cd3('0x39f6')+_0x1cd3('0x5e5b')+_0x1cd3('0x5e5c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20OPENCHANNELQUEUE\x0a'+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39fa')+_0x1cd3('0x5e5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22OPENCHANNEL.DELETE\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5d11')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39fe')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x1f54'),_0x1cd3('0x5e5e')+_0x1cd3('0x5e5f')+_0x1cd3('0x3e1f')+_0x1cd3('0x3d4f')+_0x1cd3('0x5e60')+_0x1cd3('0x3d50')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366c')+_0x1cd3('0x3e21')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e26')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e23')+_0x1cd3('0x3ba9')+_0x1cd3('0x3671')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17['put']('app/main/apps/openchannel/views/openchannelQueues/edit/teamadd/teamadd.html',_0x1cd3('0x5e5e')+_0x1cd3('0x5e5f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d4f')+_0x1cd3('0x5e61')+_0x1cd3('0x3d50')+_0x1cd3('0x3857')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366c')+_0x1cd3('0x3e21')+_0x1cd3('0x366f')+_0x1cd3('0x3e26')+_0x1cd3('0x3e22')+_0x1cd3('0x3e27')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x1cd3('0x3671')+_0x1cd3('0x3675')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x231'),_0x1cd3('0x5e62')+'\x0a'+_0x1cd3('0x3adc')+_0x1cd3('0x3b9f')+_0x1cd3('0x3d5a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x388f')+'\x0a'+_0x1cd3('0x5e65')+_0x1cd3('0x5e66')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x3ba2')+_0x1cd3('0x3ba3')+_0x1cd3('0x5e67')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.openchannelQueue.name}}\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3ba6')+_0x1cd3('0x5e68')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x39ee')+_0x1cd3('0x3e31')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e35')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x39ee')+_0x1cd3('0x3e31')+_0x1cd3('0x5e69')+_0x1cd3('0x3e36')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22agentadd\x22\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e39')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x38c3')+_0x1cd3('0x5e6a')+_0x1cd3('0x3e3b')+_0x1cd3('0x3d24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3686')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a22')+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fda')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SETTINGS\x0a'+_0x1cd3('0x3e3f')+_0x1cd3('0x3e40')+_0x1cd3('0x5e6b')+_0x1cd3('0x3e42')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GENERAL\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e44')+_0x1cd3('0x3e45')+_0x1cd3('0x5d8f')+_0x1cd3('0x5e4b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e46')+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20disabled\x20\x0a'+_0x1cd3('0x3dff')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x5e4d')+_0x1cd3('0x3e49')+_0x1cd3('0x3b24')+_0x1cd3('0x5cf9')+_0x1cd3('0x3756')+_0x1cd3('0x3e03')+_0x1cd3('0x5e4f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5e50')+_0x1cd3('0x5e51')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x3e07')+_0x1cd3('0x3a4d')+_0x1cd3('0x3e08')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RR\x20Memory\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4b')+_0x1cd3('0x3b24')+_0x1cd3('0x5e6c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x5e52')+_0x1cd3('0x5e53')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3e0d')+_0x1cd3('0x3e0e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x3f9e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent_Timeout\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+_0x1cd3('0x5e55')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e13')+_0x1cd3('0x5e56')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x5d08')+_0x1cd3('0x5e57')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x3e4f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x3fa6')+_0x1cd3('0x3e51')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e52')+_0x1cd3('0x3e53')+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a66')+'\x0a'+'\x0a');_0x404b17['put']('app/main/apps/openchannel/views/openchannelQueues/openchannelQueues.html',_0x1cd3('0x5e6d')+'\x0a'+_0x1cd3('0x3adc')+_0x1cd3('0x39ff')+'\x0a'+_0x1cd3('0x3add')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a00')+_0x1cd3('0x3ade')+_0x1cd3('0x5e1d')+_0x1cd3('0x38f9')+_0x1cd3('0x5e6e')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a02')+_0x1cd3('0x3a03')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a04')+_0x1cd3('0x3a05')+_0x1cd3('0x5e1f')+_0x1cd3('0x36c2')+_0x1cd3('0x366a')+_0x1cd3('0x3ae5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3686')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a07')+'\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a'+_0x1cd3('0x3a09')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a0b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5e22')+_0x1cd3('0x3671')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a0c')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x5e6f')+_0x1cd3('0x5e70')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20selected\x0a'+_0x1cd3('0x38f9')+'\x0a'+_0x1cd3('0x3aeb')+_0x1cd3('0x3a11')+_0x1cd3('0x3a12')+_0x1cd3('0x3aec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22OPENCHANNEL.MULTI_SELECT_TOGGLE\x22>\x0a'+_0x1cd3('0x3a14')+_0x1cd3('0x367d')+_0x1cd3('0x3a15')+_0x1cd3('0x3a16')+_0x1cd3('0x5e71')+_0x1cd3('0x3c2e')+_0x1cd3('0x3849')+_0x1cd3('0x3aee')+_0x1cd3('0x3a16')+_0x1cd3('0x5e72')+_0x1cd3('0x3a19')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3aee')+_0x1cd3('0x3a1a')+_0x1cd3('0x3aef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5e73')+_0x1cd3('0x3a1d')+_0x1cd3('0x3a1e')+_0x1cd3('0x5e74')+_0x1cd3('0x5e29')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a21')+'\x0a'+_0x1cd3('0x3a22')+_0x1cd3('0x3a23')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a24')+'\x0a'+_0x1cd3('0x3a25')+_0x1cd3('0x5e75')+_0x1cd3('0x3a27')+_0x1cd3('0x3af3')+_0x1cd3('0x5e76')+_0x1cd3('0x5e77')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a2b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27OPENCHANNEL.ID\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x5e2b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27OPENCHANNEL.STRATEGY\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x3a33')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3db3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5e78')+_0x1cd3('0x42f9')+_0x1cd3('0x3a38')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a'+_0x1cd3('0x3a3a')+_0x1cd3('0x3af8')+_0x1cd3('0x3a34')+_0x1cd3('0x5e79')+_0x1cd3('0x5e7a')+_0x1cd3('0x5e7b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a49')+'\x0a'+_0x1cd3('0x3a4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22OPENCHANNEL.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x395d')+'\x0a'+_0x1cd3('0x3b04')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3a4f')+'\x0a'+_0x1cd3('0x5e80')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22OPENCHANNEL.EDIT_OPENCHANNELQUEUE\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20OpenchannelQueue\x0a'+_0x1cd3('0x3a52')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3ce1')+'\x0a'+_0x1cd3('0x5e81')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22OPENCHANNEL.TEAMADD_OPENCHANNELQUEUE\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20teamadd\x20OpenchannelQueue\x0a'+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3ce1')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5e82')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a5a')+'\x0a'+_0x1cd3('0x5e83')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22OPENCHANNEL.DELETE_OPENCHANNELQUEUE\x22>\x0a'+_0x1cd3('0x5e84')+_0x1cd3('0x3a52')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x5e85')+_0x1cd3('0x5e86')+_0x1cd3('0x5e87')+_0x1cd3('0x3a52')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3699')+'\x0a'+_0x1cd3('0x369a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x0a'+_0x1cd3('0x3a34')+_0x1cd3('0x3a5d')+_0x1cd3('0x3a5e')+_0x1cd3('0x3a5f')+'\x0a'+_0x1cd3('0x5e88')+_0x1cd3('0x3a61')+_0x1cd3('0x5e89')+_0x1cd3('0x3a63')+'\x0a'+_0x1cd3('0x3a64')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a65')+'\x0a'+_0x1cd3('0x3686')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x5e8a')+'\x20\x20\x20\x20{{\x20\x27OPENCHANNEL.PARTIALPAUSE\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27OPENCHANNEL.BUSY\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x5e91')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20AUTOPAUSE\x0a'+_0x1cd3('0x423b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x423c')+'\x0a'+_0x1cd3('0x423d')+_0x1cd3('0x42ca')+_0x1cd3('0x423e')+_0x1cd3('0x423f')+_0x1cd3('0x4ed3')+_0x1cd3('0x5e92')+_0x1cd3('0x4ed4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.CHAT\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4ed5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.SMS\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4242')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27OPENCHANNEL.OPENCHANNEL\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4244')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5774')+_0x1cd3('0x4ed6')+_0x1cd3('0x41b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4ed7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27OPENCHANNEL.NAME\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4246')+_0x1cd3('0x5e93')+_0x1cd3('0x4247')+_0x1cd3('0x5e94')+_0x1cd3('0x4249')+_0x1cd3('0x5e95')+'\x0a'+_0x1cd3('0x5778')+_0x1cd3('0x4edb')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.STATUS\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x424c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.CAPACITY\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x36c5')+_0x1cd3('0x41b4')+'\x0a'+_0x1cd3('0x424e')+_0x1cd3('0x424f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4250')+_0x1cd3('0x36c5')+_0x1cd3('0x41b4')+'\x0a'+_0x1cd3('0x4251')+_0x1cd3('0x4edd')+_0x1cd3('0x424c')+_0x1cd3('0x4252')+_0x1cd3('0x36c5')+_0x1cd3('0x41b4')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27OPENCHANNEL.STATUS\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x424c')+_0x1cd3('0x4254')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41b4')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27FAX.STATUS\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4256')+_0x1cd3('0x424c')+_0x1cd3('0x4257')+_0x1cd3('0x36c5')+_0x1cd3('0x41b4')+'\x0a'+_0x1cd3('0x4edf')+_0x1cd3('0x4258')+_0x1cd3('0x424c')+_0x1cd3('0x4259')+_0x1cd3('0x36c5')+_0x1cd3('0x41b4')+_0x1cd3('0x41b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x425c')+_0x1cd3('0x425d')+_0x1cd3('0x425e')+_0x1cd3('0x5e96')+_0x1cd3('0x3756')+_0x1cd3('0x4150')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4260')+_0x1cd3('0x4ee1')+_0x1cd3('0x4261')+_0x1cd3('0x5c5a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4263')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.agents[value].internal}}\x0a'+_0x1cd3('0x36b7')+_0x1cd3('0x3756')+_0x1cd3('0x4150')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4265')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22vm.license.screenrecording\x20&&\x20(vm.agents[value].phoneBarEnableScreenRecordingByAgent\x20||\x20vm.agents[value].phoneBarEnableAutomaticScreenRecording)\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36b5')+_0x1cd3('0x4268')+_0x1cd3('0x4269')+_0x1cd3('0x4ee4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27OPENCHANNEL.TOOLTIP_SCREENRECORDING_ON\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x426b')+_0x1cd3('0x4ee3')+_0x1cd3('0x3692')+_0x1cd3('0x36b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x426d')+_0x1cd3('0x4269')+_0x1cd3('0x4ee4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27OPENCHANNEL.TOOLTIP_SCREENRECORDING_OFF\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x426b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x4150')+'\x0a'+'\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x426e')+_0x1cd3('0x426f')+_0x1cd3('0x4270')+_0x1cd3('0x4150')+_0x1cd3('0x4271')+_0x1cd3('0x4ee7')+_0x1cd3('0x4272')+_0x1cd3('0x4150')+_0x1cd3('0x4271')+_0x1cd3('0x4273')+_0x1cd3('0x4274')+_0x1cd3('0x4275')+_0x1cd3('0x4272')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4276')+_0x1cd3('0x4285')+_0x1cd3('0x4277')+_0x1cd3('0x4278')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x427a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.agents[value].queue\x20}}\x0a'+_0x1cd3('0x427d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27idle\x27:\x27lime-300-fg\x27,\x27maxcapacity\x27:\x27red-A200-fg\x27,\x27working\x27:\x27indigo-100-fg\x27,\x27pause\x27:\x27amber-200-fg\x27}[vm.agents[value].voiceStatus]\x22>{{\x20vm.agents[value].destconnectedlinenum\x20}}\x0a'+_0x1cd3('0x427f')+_0x1cd3('0x4280')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27idle\x27:\x27lime-300-fg\x27,\x27maxcapacity\x27:\x27red-A200-fg\x27,\x27working\x27:\x27indigo-100-fg\x27,\x27pause\x27:\x27amber-200-fg\x27}[vm.agents[value].voiceStatus]\x22>\x0a'+_0x1cd3('0x4282')+_0x1cd3('0x4283')+_0x1cd3('0x3756')+_0x1cd3('0x4150')+'\x0a'+_0x1cd3('0x4284')+_0x1cd3('0x4285')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4286')+_0x1cd3('0x4287')+_0x1cd3('0x36b7')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4288')+_0x1cd3('0x577c')+_0x1cd3('0x4289')+'\x0a'+_0x1cd3('0x428a')+_0x1cd3('0x4285')+_0x1cd3('0x41fd')+_0x1cd3('0x4286')+_0x1cd3('0x428b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x428c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27idle\x27:\x27lime-300-fg\x27,\x27maxcapacity\x27:\x27red-A200-fg\x27,\x27working\x27:\x27indigo-100-fg\x27,\x27pause\x27:\x27amber-200-fg\x27}[vm.agents[value].mailStatus]\x22>\x0a'+_0x1cd3('0x428d')+'\x0a'+_0x1cd3('0x428e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41fd')+_0x1cd3('0x4286')+_0x1cd3('0x4eea')+_0x1cd3('0x36b7')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4285')+_0x1cd3('0x41fd')+_0x1cd3('0x4286')+_0x1cd3('0x4293')+_0x1cd3('0x36b7')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4294')+_0x1cd3('0x4eeb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.agents[value].openchannelCurrentCapacity\x20}}\x0a'+'\x0a'+_0x1cd3('0x4296')+_0x1cd3('0x4285')+_0x1cd3('0x41fd')+_0x1cd3('0x4286')+_0x1cd3('0x4297')+_0x1cd3('0x36b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4298')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27idle\x27:\x27lime-300-fg\x27,\x27maxcapacity\x27:\x27red-A200-fg\x27,\x27working\x27:\x27indigo-100-fg\x27,\x27pause\x27:\x27amber-200-fg\x27}[vm.agents[value].faxStatus]\x22>\x0a'+_0x1cd3('0x4299')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4285')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4286')+_0x1cd3('0x577e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x4150')+_0x1cd3('0x4eec')+_0x1cd3('0x429b')+_0x1cd3('0x429c')+'\x0a'+_0x1cd3('0x429d')+_0x1cd3('0x3a49')+_0x1cd3('0x3a4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22STAFF.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a'+_0x1cd3('0x3a4c')+_0x1cd3('0x395d')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x42a1')+_0x1cd3('0x5e97')+_0x1cd3('0x42a3')+_0x1cd3('0x3a52')+_0x1cd3('0x3a53')+_0x1cd3('0x42a0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x42aa')+_0x1cd3('0x5e99')+_0x1cd3('0x3695')+_0x1cd3('0x42ac')+_0x1cd3('0x42ad')+_0x1cd3('0x42ae')+_0x1cd3('0x5e9a')+_0x1cd3('0x42b0')+_0x1cd3('0x3c6a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x42b4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x42a0')+_0x1cd3('0x42a9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3c6a')+_0x1cd3('0x42ba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3c77')+_0x1cd3('0x3a53')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4ef4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22OPENCHANNEL.UNPAUSE\x22>\x0a'+_0x1cd3('0x42be')+_0x1cd3('0x3a52')+_0x1cd3('0x3a53')+_0x1cd3('0x41c8')+_0x1cd3('0x41c9')+_0x1cd3('0x4150')+_0x1cd3('0x41b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x42c0')+_0x1cd3('0x42dc')+'\x0a'+_0x1cd3('0x42c1')+'\x20\x20\x20\x20md-label=\x22{page:\x20\x27{{\x27OPENCHANNEL.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27OPENCHANNEL.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27OPENCHANNEL.OF\x27\x20|\x20translate}}\x27}\x22\x0a'+_0x1cd3('0x42c3')+_0x1cd3('0x42c4')+_0x1cd3('0x42c5')+'');_0x404b17['put']('app/main/apps/openchannel/views/realtime/queues/view.html','\x0a'+_0x1cd3('0x422e')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20Queues\x0a'+_0x1cd3('0x3b5a')+_0x1cd3('0x42c8')+_0x1cd3('0x3686')+_0x1cd3('0x423c')+'\x0a'+_0x1cd3('0x42c9')+_0x1cd3('0x42ca')+_0x1cd3('0x423e')+_0x1cd3('0x4ef7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5e9e')+_0x1cd3('0x5e9f')+_0x1cd3('0x5ea0')+_0x1cd3('0x5ea1')+_0x1cd3('0x5ea2')+_0x1cd3('0x42cf')+_0x1cd3('0x41b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5ea3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4150')+_0x1cd3('0x41b7')+_0x1cd3('0x42d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.queues[value].name}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x42d4')+_0x1cd3('0x4150')+_0x1cd3('0x41ba')+_0x1cd3('0x42d5')+_0x1cd3('0x4150')+_0x1cd3('0x41ba')+_0x1cd3('0x4efb')+_0x1cd3('0x4150')+_0x1cd3('0x41ba')+_0x1cd3('0x42d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4efc')+_0x1cd3('0x3a49')+_0x1cd3('0x5ea4')+_0x1cd3('0x42d8')+_0x1cd3('0x395d')+'\x0a'+_0x1cd3('0x3b04')+_0x1cd3('0x42a0')+_0x1cd3('0x5ea5')+_0x1cd3('0x4eff')+_0x1cd3('0x3a52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x42d9')+_0x1cd3('0x5ea6')+_0x1cd3('0x42db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41c8')+_0x1cd3('0x41c9')+_0x1cd3('0x4150')+_0x1cd3('0x41b7')+_0x1cd3('0x42bf')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x42dc')+'\x0a'+'\x0a'+_0x1cd3('0x42de')+_0x1cd3('0x42df'));_0x404b17['put']('app/main/apps/openchannel/views/realtime/realtime.html',_0x1cd3('0x42e0')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e3c')+_0x1cd3('0x3baa')+_0x1cd3('0x42e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5ea7')+_0x1cd3('0x42e4')+_0x1cd3('0x3862')+_0x1cd3('0x4f03')+_0x1cd3('0x42e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Queues\x0a'+_0x1cd3('0x42e4')+_0x1cd3('0x3862')+_0x1cd3('0x42e6')+'\x0a'+_0x1cd3('0x42e7')+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a66')+'\x0a');_0x404b17['put'](_0x1cd3('0x244'),_0x1cd3('0x5ea8')+_0x1cd3('0x5ea9')+_0x1cd3('0x376e')+_0x1cd3('0x4957')+_0x1cd3('0x5eaa')+'');_0x404b17['put'](_0x1cd3('0x5eab'),_0x1cd3('0x5eac')+'\x0a'+_0x1cd3('0x3adc')+_0x1cd3('0x39ff')+'\x0a'+_0x1cd3('0x3add')+_0x1cd3('0x37e6')+_0x1cd3('0x3a00')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5ead')+_0x1cd3('0x38f9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AiTools\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x3ae1')+'\x0a'+_0x1cd3('0x3ae2')+_0x1cd3('0x3ae3')+_0x1cd3('0x3a02')+_0x1cd3('0x3a03')+_0x1cd3('0x3ae4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a05')+_0x1cd3('0x5eae')+_0x1cd3('0x36c2')+_0x1cd3('0x366a')+_0x1cd3('0x3ae5')+_0x1cd3('0x3756')+_0x1cd3('0x3686')+_0x1cd3('0x3ae6')+'\x0a'+_0x1cd3('0x3a07')+_0x1cd3('0x5eaf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22>\x0a'+'\x0a'+_0x1cd3('0x5eb0')+_0x1cd3('0x3a0b')+_0x1cd3('0x3ae8')+_0x1cd3('0x5eb1')+_0x1cd3('0x3671')+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x3a0c')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x5eb2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedAiTools.length}}\x0a'+_0x1cd3('0x5eb3')+_0x1cd3('0x38f9')+'\x0a'+_0x1cd3('0x3aeb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5eb6')+_0x1cd3('0x3a19')+_0x1cd3('0x3849')+_0x1cd3('0x3aee')+_0x1cd3('0x3a1a')+_0x1cd3('0x3aef')+_0x1cd3('0x366a')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5eb7')+_0x1cd3('0x5eb8')+_0x1cd3('0x3a20')+_0x1cd3('0x3859')+_0x1cd3('0x3841')+_0x1cd3('0x36f6')+_0x1cd3('0x3686')+_0x1cd3('0x3a21')+'\x0a'+_0x1cd3('0x3a22')+_0x1cd3('0x3a23')+'\x0a'+_0x1cd3('0x3af1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a25')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a27')+_0x1cd3('0x3af3')+_0x1cd3('0x5eb9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a2a')+_0x1cd3('0x3a2b')+_0x1cd3('0x5eba')+_0x1cd3('0x5ebb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SETTINGS.SERVICE\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x3a33')+_0x1cd3('0x3a34')+_0x1cd3('0x3db3')+_0x1cd3('0x3a35')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x42f9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5ebc')+_0x1cd3('0x3a3a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a34')+_0x1cd3('0x5ebd')+_0x1cd3('0x5ebe')+_0x1cd3('0x5ebf')+_0x1cd3('0x5ec0')+_0x1cd3('0x5ec1')+_0x1cd3('0x5ec2')+_0x1cd3('0x5ec3')+_0x1cd3('0x5ec4')+_0x1cd3('0x5ec5')+_0x1cd3('0x4ea3')+'\x0a'+_0x1cd3('0x3cdd')+'\x0a'+_0x1cd3('0x3a49')+'\x0a'+_0x1cd3('0x3a4a')+_0x1cd3('0x5ec6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x395d')+'\x0a'+_0x1cd3('0x3b04')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3ce1')+'\x0a'+_0x1cd3('0x5ec7')+_0x1cd3('0x5ec8')+_0x1cd3('0x5ec9')+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3ce1')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3951')+'\x0a'+'\x0a'+_0x1cd3('0x3a34')+_0x1cd3('0x3a5d')+_0x1cd3('0x3a5e')+_0x1cd3('0x3a5f')+'\x0a'+_0x1cd3('0x5ecc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5ecd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a64')+_0x1cd3('0x36f6')+_0x1cd3('0x3a65')+'\x0a'+'\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x5ece')+_0x1cd3('0x5ecf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20cloudProvider\x22\x20translate\x20translate-attr-aria-label=\x22SETTINGS.ADD_CLOUDPROVIDER\x22>\x0a'+_0x1cd3('0x3b0f')+_0x1cd3('0x376d')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3686'));_0x404b17['put'](_0x1cd3('0x1f72'),_0x1cd3('0x5ed0')+_0x1cd3('0x5ed1')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39da')+_0x1cd3('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5ed2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x5ed5')+_0x1cd3('0x5ed6')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+_0x1cd3('0x5ed7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6f')+_0x1cd3('0x5ed8')+_0x1cd3('0x3a4d')+_0x1cd3('0x5ed9')+_0x1cd3('0x3acc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x5eda')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x5edb')+_0x1cd3('0x5edc')+_0x1cd3('0x5edd')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5ede')+_0x1cd3('0x3b24')+_0x1cd3('0x5edf')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x5ee0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SecretAccesskey\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x39db')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x5ee3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5ee4')+_0x1cd3('0x3ad7')+_0x1cd3('0x5ee5')+_0x1cd3('0x5ee6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x1cd3('0x39f4')+'\x0a'+_0x1cd3('0x5ee7')+_0x1cd3('0x39f6')+_0x1cd3('0x5ee8')+_0x1cd3('0x5ee9')+_0x1cd3('0x5eea')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39fa')+_0x1cd3('0x5eeb')+_0x1cd3('0x5eec')+_0x1cd3('0x3a20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a'+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39fe')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x5eed'),_0x1cd3('0x5eee')+_0x1cd3('0x5eef')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default_Logo\x0a'+_0x1cd3('0x3ed3')+_0x1cd3('0x3870')+_0x1cd3('0x3acf')+_0x1cd3('0x5ef0')+_0x1cd3('0x3ed3')+_0x1cd3('0x3870')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5ef1')+_0x1cd3('0x3ed3')+_0x1cd3('0x3870')+_0x1cd3('0x3acf')+_0x1cd3('0x5ef2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3870')+_0x1cd3('0x5ef3')+_0x1cd3('0x5ef4')+_0x1cd3('0x5ef5')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x5ef6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5ef7')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5ef8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5ef9')+_0x1cd3('0x5efa')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5efb')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5efc')+_0x1cd3('0x3ed3')+_0x1cd3('0x3870')+_0x1cd3('0x3ed3')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x39ef')+_0x1cd3('0x388f')+_0x1cd3('0x5efd')+_0x1cd3('0x3ad7')+_0x1cd3('0x5efe')+_0x1cd3('0x5ee6')+_0x1cd3('0x39f3')+_0x1cd3('0x39f4')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20CUSTOMIZATION\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x39fa')+_0x1cd3('0x5eff')+_0x1cd3('0x5eec')+_0x1cd3('0x3a20')+_0x1cd3('0x5f00')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x384d'));_0x404b17['put'](_0x1cd3('0x258'),_0x1cd3('0x5f01')+'\x0a'+_0x1cd3('0x3adc')+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x37e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ade')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38f9')+_0x1cd3('0x5f02')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x5f03')+_0x1cd3('0x5f04')+_0x1cd3('0x5f05')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.saveCustomization()\x22\x20\x0a'+_0x1cd3('0x5f06')+_0x1cd3('0x3e3b')+_0x1cd3('0x3d24')+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x3686')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a23')+'\x0a'+_0x1cd3('0x3af1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e6')+_0x1cd3('0x5f07')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5f08')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5f09')+_0x1cd3('0x5f0a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default_Logo\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3870')+_0x1cd3('0x3acf')+_0x1cd3('0x5ef0')+_0x1cd3('0x3ed3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3acf')+_0x1cd3('0x5ef1')+_0x1cd3('0x3ed3')+_0x1cd3('0x3870')+_0x1cd3('0x3acf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default_Header_WhiteLabel\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3870')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Header_WhiteLabel\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5f0c')+_0x1cd3('0x5ef9')+_0x1cd3('0x5efa')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x5f0d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5efb')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5efc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ed3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5762')+_0x1cd3('0x3ed3')+_0x1cd3('0x5f0e')+_0x1cd3('0x5f0f')+_0x1cd3('0x5f10')+'\x0a'+_0x1cd3('0x5f11')+'\x0a'+_0x1cd3('0x5f12')+_0x1cd3('0x5f13')+'\x0a'+_0x1cd3('0x4098')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Drop\x20to\x20upload\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x409a')+_0x1cd3('0x5f14')+_0x1cd3('0x409c')+_0x1cd3('0x3671')+_0x1cd3('0x40a5')+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x409d')+_0x1cd3('0x5f15')+_0x1cd3('0x5f16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x40a0')+_0x1cd3('0x3756')+_0x1cd3('0x5f17')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x40a2')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x376e')+'\x0a'+_0x1cd3('0x5762')+_0x1cd3('0x3ed3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5f18')+_0x1cd3('0x376e')+_0x1cd3('0x5f19')+'\x0a'+_0x1cd3('0x5f1a')+'\x20\x20\x20\x20\x20\x20\x20\x20flow-drag-enter=\x22vm_cll.dropping=true\x22\x20flow-drag-leave=\x22vm_cll.dropping=false\x22\x20ng-class=\x22{\x27dropping\x27:vm.dropping}\x22>\x0a'+'\x0a'+_0x1cd3('0x4098')+_0x1cd3('0x4099')+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x409a')+_0x1cd3('0x5f14')+_0x1cd3('0x409c')+_0x1cd3('0x3671')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20You\x20can\x20also\x20drop\x20images\x20here\x20to\x20upload.\x20Only\x20PNG,\x20JPG\x20-\x20Max.\x208MB\x0a'+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x409d')+_0x1cd3('0x5f1b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x409f')+_0x1cd3('0x5f1c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x5f1d')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x5f1e')+_0x1cd3('0x5f1f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x3686')+_0x1cd3('0x376e')+'\x0a'+_0x1cd3('0x5762')+_0x1cd3('0x3ed3')+_0x1cd3('0x5f20')+_0x1cd3('0x5f0f')+_0x1cd3('0x5f21')+_0x1cd3('0x376e')+_0x1cd3('0x5f22')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4098')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Drop\x20to\x20upload\x0a'+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x409a')+_0x1cd3('0x5f14')+_0x1cd3('0x409c')+_0x1cd3('0x3671')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20You\x20can\x20also\x20drop\x20images\x20here\x20to\x20upload.\x20Only\x20PNG,\x20JPG\x20-\x20Max.\x208MB\x0a'+_0x1cd3('0x36f6')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5f23')+_0x1cd3('0x5f16')+_0x1cd3('0x409f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5f24')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x5f1e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x376e')+'\x0a'+_0x1cd3('0x5762')+_0x1cd3('0x3ed3')+_0x1cd3('0x5f25')+_0x1cd3('0x5f0f')+'\x20\x20\x20\x20FAVICON\x0a'+'\x0a'+_0x1cd3('0x5f26')+'\x0a'+_0x1cd3('0x5f27')+_0x1cd3('0x5f28')+'\x0a'+_0x1cd3('0x4098')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Drop\x20to\x20upload\x0a'+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x409a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x409c')+_0x1cd3('0x3671')+_0x1cd3('0x5f29')+_0x1cd3('0x36f6')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5f2a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x409f')+_0x1cd3('0x5f2b')+_0x1cd3('0x40a0')+_0x1cd3('0x3756')+_0x1cd3('0x5f2c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x5f1e')+_0x1cd3('0x5f2d')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x3686')+_0x1cd3('0x376e')+'\x0a'+_0x1cd3('0x5762')+_0x1cd3('0x3ed3')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a66')+'\x0a');_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x5f2e'),_0x1cd3('0x5f2f')+_0x1cd3('0x5f30')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ee')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x39ef')+_0x1cd3('0x388f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a'+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x24b'),'\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3add')+_0x1cd3('0x37e6')+_0x1cd3('0x3a00')+_0x1cd3('0x3ade')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38f9')+_0x1cd3('0x5f36')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x3ae1')+'\x0a'+_0x1cd3('0x5f03')+_0x1cd3('0x5f04')+_0x1cd3('0x5f05')+_0x1cd3('0x5f37')+_0x1cd3('0x5f38')+_0x1cd3('0x3e3b')+_0x1cd3('0x3d24')+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x3686')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a23')+'\x0a'+_0x1cd3('0x3af1')+_0x1cd3('0x3a24')+_0x1cd3('0x39e6')+_0x1cd3('0x5f39')+_0x1cd3('0x5f0f')+_0x1cd3('0x5f3a')+_0x1cd3('0x3f1c')+_0x1cd3('0x5f3b')+_0x1cd3('0x5f0a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Min_Internal\x0a'+_0x1cd3('0x5f3c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3ea9')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x5f3d')+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+_0x1cd3('0x5f3e')+_0x1cd3('0x3e12')+_0x1cd3('0x3f04')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x5f3f')+_0x1cd3('0x5f40')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x220\x22\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x5f41')+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+_0x1cd3('0x5f42')+_0x1cd3('0x3e12')+_0x1cd3('0x3f04')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x5f43')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5f44')+_0x1cd3('0x3870')+_0x1cd3('0x3ed3')+_0x1cd3('0x5f45')+_0x1cd3('0x5762')+_0x1cd3('0x3ed3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5f0f')+_0x1cd3('0x5f46')+_0x1cd3('0x3f1c')+_0x1cd3('0x5f47')+_0x1cd3('0x5f0a')+_0x1cd3('0x5f48')+_0x1cd3('0x3ed3')+_0x1cd3('0x3870')+_0x1cd3('0x5f49')+_0x1cd3('0x5f4a')+_0x1cd3('0x5f4b')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x5f4c')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5f4d')+_0x1cd3('0x3756')+_0x1cd3('0x3e87')+_0x1cd3('0x5f4e')+_0x1cd3('0x3756')+_0x1cd3('0x39ea')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5f4f')+_0x1cd3('0x3ed3')+_0x1cd3('0x5f50')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ed3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5762')+_0x1cd3('0x3ed3')+_0x1cd3('0x5f51')+_0x1cd3('0x5f0f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20REPORT\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5f52')+_0x1cd3('0x5f0a')+_0x1cd3('0x5f53')+_0x1cd3('0x3ed3')+_0x1cd3('0x3870')+_0x1cd3('0x5f54')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SplitSizeCsv\x0a'+_0x1cd3('0x5f55')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x5f56')+_0x1cd3('0x3b24')+_0x1cd3('0x5f57')+_0x1cd3('0x3756')+_0x1cd3('0x3f9f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5f58')+_0x1cd3('0x5f59')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5f5a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5f5b')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5f5c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SplitSizeXlsx\x0a'+_0x1cd3('0x5f5d')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5f5e')+_0x1cd3('0x3b24')+_0x1cd3('0x5f5f')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x5f45')+_0x1cd3('0x5762')+_0x1cd3('0x3ed3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5f0f')+_0x1cd3('0x5f60')+_0x1cd3('0x3f1c')+_0x1cd3('0x5f61')+_0x1cd3('0x5f0a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EnableEmailPreview\x0a'+_0x1cd3('0x3ed3')+_0x1cd3('0x3870')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5f62')+_0x1cd3('0x5f63')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x3a6f')+_0x1cd3('0x5f64')+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Alternate\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20messagesAlignment\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5762')+_0x1cd3('0x3ed3')+_0x1cd3('0x5f68')+_0x1cd3('0x5f0f')+_0x1cd3('0x5f69')+_0x1cd3('0x3f1c')+_0x1cd3('0x5f6a')+_0x1cd3('0x5f0a')+_0x1cd3('0x5f6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5f6c')+_0x1cd3('0x3b24')+_0x1cd3('0x5f6d')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5762')+_0x1cd3('0x3ed3')+_0x1cd3('0x5f6e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SECURITY\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5f6f')+_0x1cd3('0x5f0a')+_0x1cd3('0x5f70')+_0x1cd3('0x3ed3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3870')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5f71')+_0x1cd3('0x3ed3')+_0x1cd3('0x3870')+_0x1cd3('0x3acf')+_0x1cd3('0x5f72')+_0x1cd3('0x5f73')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5f74')+_0x1cd3('0x3b24')+_0x1cd3('0x5f75')+_0x1cd3('0x3756')+_0x1cd3('0x3f9f')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20blockDuration\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x5f45')+_0x1cd3('0x5762')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5f78')+_0x1cd3('0x5f0f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IMAPGENERALSETTINGS\x0a'+_0x1cd3('0x3f1c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5f0a')+_0x1cd3('0x5f79')+_0x1cd3('0x5f7a')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x2210\x22\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x5f7b')+_0x1cd3('0x5f7c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5f7d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5f7e')+_0x1cd3('0x3e12')+_0x1cd3('0x3f04')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x5f45')+_0x1cd3('0x5762')+_0x1cd3('0x3ed3')+_0x1cd3('0x5f7f')+_0x1cd3('0x5f0f')+_0x1cd3('0x5f80')+_0x1cd3('0x3f1c')+_0x1cd3('0x5f81')+_0x1cd3('0x5f0a')+_0x1cd3('0x5f82')+_0x1cd3('0x3ed3')+_0x1cd3('0x3870')+_0x1cd3('0x3ed3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ed3')+_0x1cd3('0x5f83')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5f84')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5f85')+_0x1cd3('0x5f0a')+_0x1cd3('0x5f86')+_0x1cd3('0x5f87')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x5f88')+_0x1cd3('0x3a4d')+_0x1cd3('0x5f89')+_0x1cd3('0x5f8a')+_0x1cd3('0x3a4d')+_0x1cd3('0x5f8b')+_0x1cd3('0x5f8c')+_0x1cd3('0x3a4d')+_0x1cd3('0x5f8d')+_0x1cd3('0x5f8e')+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Scottish\x20English\x0a'+_0x1cd3('0x5f8f')+_0x1cd3('0x3a4d')+_0x1cd3('0x5f90')+_0x1cd3('0x5f91')+_0x1cd3('0x3a4d')+_0x1cd3('0x5f92')+_0x1cd3('0x5f93')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Indian\x20English\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Canadian\x20French\x0a'+_0x1cd3('0x5f96')+_0x1cd3('0x3a4d')+_0x1cd3('0x5d42')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Spanish\x0a'+_0x1cd3('0x5f9b')+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>US\x20Spanish\x0a'+_0x1cd3('0x5f9c')+_0x1cd3('0x3a4d')+_0x1cd3('0x5f9d')+_0x1cd3('0x5f9e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5f9f')+_0x1cd3('0x5fa0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5fa1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Arabic\x0a'+_0x1cd3('0x3ef6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5fa2')+_0x1cd3('0x5fa3')+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Japanese\x20(Japan)\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Malay\x20(Malaysia)\x20-\x20This\x20language\x20is\x20not\x20available\x20for\x20the\x20Sentiment\x20Analysis\x0a'+_0x1cd3('0x5fa7')+_0x1cd3('0x3a4d')+_0x1cd3('0x5fa8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Indonesian(Indonesia)\x20-\x20This\x20language\x20is\x20not\x20available\x20for\x20the\x20Sentiment\x20Analysis\x0a'+_0x1cd3('0x3acc')+_0x1cd3('0x5fb3')+_0x1cd3('0x3b24')+_0x1cd3('0x5fb4')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Bucket\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5fb5')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Bucket\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x5fb6')+_0x1cd3('0x3ed3')+_0x1cd3('0x3870')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5fb7')+_0x1cd3('0x5fb8')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x3a6f')+_0x1cd3('0x3eb8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3eb9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20US\x20East\x20(Ohio)\x0a'+_0x1cd3('0x5fb9')+_0x1cd3('0x3a4d')+_0x1cd3('0x5fba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Asia\x20Pacific\x20(Seoul)\x0a'+_0x1cd3('0x5fc0')+_0x1cd3('0x3a4d')+_0x1cd3('0x5fc1')+_0x1cd3('0x5d2c')+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Asia\x20Pacific\x20(Sydney)\x0a'+_0x1cd3('0x5fc2')+_0x1cd3('0x3a4d')+_0x1cd3('0x5fc3')+_0x1cd3('0x5fc4')+_0x1cd3('0x3a4d')+_0x1cd3('0x5fc5')+_0x1cd3('0x5fc6')+_0x1cd3('0x3a4d')+_0x1cd3('0x5fc7')+_0x1cd3('0x3ebb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5fc8')+_0x1cd3('0x5fc9')+_0x1cd3('0x3a4d')+_0x1cd3('0x5fca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5fd1')+_0x1cd3('0x5fd2')+_0x1cd3('0x5fd3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e6')+_0x1cd3('0x3a6f')+_0x1cd3('0x5fd4')+_0x1cd3('0x5fd5')+_0x1cd3('0x3acc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x5fd6')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x5fd7')+_0x1cd3('0x5fd8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3870')+_0x1cd3('0x5fd9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SentimentRegion\x0a'+_0x1cd3('0x5fda')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x3a6f')+_0x1cd3('0x3eb8')+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>US\x20East\x20(N.\x20Virginia)\x0a'+_0x1cd3('0x5fb9')+_0x1cd3('0x3a4d')+_0x1cd3('0x5fdb')+_0x1cd3('0x3eba')+_0x1cd3('0x3a4d')+_0x1cd3('0x5d2b')+_0x1cd3('0x5fbb')+_0x1cd3('0x3a4d')+_0x1cd3('0x5fbc')+_0x1cd3('0x5fbf')+_0x1cd3('0x3a4d')+_0x1cd3('0x5fdc')+_0x1cd3('0x5fc0')+_0x1cd3('0x3a4d')+_0x1cd3('0x5fc1')+_0x1cd3('0x5d2c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ebd')+_0x1cd3('0x5fc2')+_0x1cd3('0x3a4d')+_0x1cd3('0x5fc3')+_0x1cd3('0x5fc4')+_0x1cd3('0x3a4d')+_0x1cd3('0x5fc5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Europe\x20(London)\x0a'+_0x1cd3('0x3acc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x5fdd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5fd9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SentimentAccount\x0a'+_0x1cd3('0x5fde')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x3a6f')+_0x1cd3('0x5fdf')+_0x1cd3('0x5fe0')+_0x1cd3('0x3acc')+_0x1cd3('0x5fe1')+_0x1cd3('0x3b24')+_0x1cd3('0x5fe2')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ed3')+_0x1cd3('0x5f45')+_0x1cd3('0x5762')+_0x1cd3('0x3ed3')+_0x1cd3('0x3756')+_0x1cd3('0x3a65')+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a66')+_0x1cd3('0x376e'));_0x404b17['put'](_0x1cd3('0x5fe3'),_0x1cd3('0x5fe4')+'\x0a'+_0x1cd3('0x5fe5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4624')+_0x1cd3('0x5fe6')+_0x1cd3('0x388f')+_0x1cd3('0x5fe7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5fe8')+_0x1cd3('0x4283')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20LICENSE\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x366a')+_0x1cd3('0x5fe9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5fee')+_0x1cd3('0x4624')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5fef')+_0x1cd3('0x5ff0')+_0x1cd3('0x5ff1')+_0x1cd3('0x5ff2')+_0x1cd3('0x5ff3')+_0x1cd3('0x5ff4')+_0x1cd3('0x5ff5')+_0x1cd3('0x5ff6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Prices\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5ff7')+_0x1cd3('0x386f')+_0x1cd3('0x3841')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SETTINGS.PLAN\x27\x20|\x20translate\x20}}:\x20MONTH\x20TO\x20MONTH\x0a'+_0x1cd3('0x5ff8')+_0x1cd3('0x5ff9')+_0x1cd3('0x386f')+_0x1cd3('0x3841')+_0x1cd3('0x5ffa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x5ffb')+_0x1cd3('0x5ffc')+_0x1cd3('0x5ffd')+_0x1cd3('0x3695')+_0x1cd3('0x386f')+_0x1cd3('0x3841')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x4624')+_0x1cd3('0x5ffe')+_0x1cd3('0x5fff')+_0x1cd3('0x4624')+_0x1cd3('0x4262')+_0x1cd3('0x6000')+_0x1cd3('0x6001')+_0x1cd3('0x6002')+_0x1cd3('0x6003')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27SETTINGS.EXPIRATION_REASON_MESSAGE_DISABLED\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x6004')+_0x1cd3('0x6005')+_0x1cd3('0x6006')+_0x1cd3('0x6007')+_0x1cd3('0x36b7')+_0x1cd3('0x4624')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6008')+_0x1cd3('0x6009')+_0x1cd3('0x36b7')+_0x1cd3('0x4624')+_0x1cd3('0x600a')+_0x1cd3('0x600b')+_0x1cd3('0x600c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x600d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x600e')+_0x1cd3('0x600f')+_0x1cd3('0x386f')+_0x1cd3('0x3885')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6010')+_0x1cd3('0x6011')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

{{\x20vm.license.agents\x20||\x200\x20}}\x20\x200)\x20}\x22>({{vm.license.agents\x20>=\x20vm.agents\x20?\x20vm.agents\x20:\x20vm.license.agents}})

\x0a'+_0x1cd3('0x6012')+_0x1cd3('0x386f')+_0x1cd3('0x3885')+_0x1cd3('0x6013')+_0x1cd3('0x6014')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

{{\x20vm.license.telephones\x20||\x200\x20}}\x20\x200}\x22>({{vm.license.telephones\x20>=\x20vm.telephones\x20?\x20vm.telephones\x20:\x20vm.license.telephones}})

\x0a'+_0x1cd3('0x6015')+_0x1cd3('0x386f')+_0x1cd3('0x3885')+_0x1cd3('0x388e')+_0x1cd3('0x4624')+_0x1cd3('0x6016')+_0x1cd3('0x600b')+_0x1cd3('0x600c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6017')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6018')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SETTINGS.\x27\x20+\x20(vm.license[channel.name]\x20?\x20\x27ENABLED\x27\x20:\x20\x27DISABLED\x27)\x20|\x20translate\x20}}

\x0a'+_0x1cd3('0x386f')+_0x1cd3('0x3885')+_0x1cd3('0x388e')+_0x1cd3('0x600c')+_0x1cd3('0x6019')+_0x1cd3('0x6017')+_0x1cd3('0x6011')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SETTINGS.\x27\x20+\x20(vm.license[channel.name]\x20?\x20\x27ENABLED\x27\x20:\x20\x27DISABLED\x27)\x20|\x20translate\x20}}

\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x388e')+_0x1cd3('0x600c')+_0x1cd3('0x601a')+_0x1cd3('0x6017')+_0x1cd3('0x6011')+_0x1cd3('0x6018')+_0x1cd3('0x601b')+_0x1cd3('0x386f')+_0x1cd3('0x3885')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4624')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SETTINGS.MODULES\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x600c')+_0x1cd3('0x601c')+_0x1cd3('0x601d')+_0x1cd3('0x6011')+_0x1cd3('0x601e')+_0x1cd3('0x601f')+_0x1cd3('0x386f')+_0x1cd3('0x3885')+_0x1cd3('0x388e')+_0x1cd3('0x4624')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SETTINGS.SESSIONS\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x600b')+_0x1cd3('0x600c')+_0x1cd3('0x6020')+_0x1cd3('0x6021')+_0x1cd3('0x6022')+_0x1cd3('0x6023')+_0x1cd3('0x6024')+_0x1cd3('0x6025')+_0x1cd3('0x6026')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Restart\x0a'+_0x1cd3('0x6027')+_0x1cd3('0x6028')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6029')+_0x1cd3('0x602a')+_0x1cd3('0x602b')+_0x1cd3('0x386e')+_0x1cd3('0x602c')+_0x1cd3('0x4624')+_0x1cd3('0x3841')+_0x1cd3('0x388e')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x602d')+_0x1cd3('0x600b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x602e')+_0x1cd3('0x602f')+_0x1cd3('0x6011')+_0x1cd3('0x6030')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SETTINGS.\x27\x20+\x20(vm.license[addon.name]\x20?\x20\x27ENABLED\x27\x20:\x20\x27DISABLED\x27)\x20|\x20translate\x20}}

\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3885')+_0x1cd3('0x388e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6030')+_0x1cd3('0x6031')+_0x1cd3('0x386f')+_0x1cd3('0x3885')+_0x1cd3('0x388e')+'\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SETTINGS.OTHERS\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x600b')+_0x1cd3('0x600c')+_0x1cd3('0x6032')+_0x1cd3('0x6033')+_0x1cd3('0x6011')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SETTINGS.\x27\x20+\x20(vm.license[other.name]\x20?\x20\x27ENABLED\x27\x20:\x20\x27DISABLED\x27)\x20|\x20translate\x20}}

\x0a'+_0x1cd3('0x386f')+_0x1cd3('0x3885')+_0x1cd3('0x388e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6033')+_0x1cd3('0x6011')+_0x1cd3('0x6034')+_0x1cd3('0x6035')+_0x1cd3('0x386f')+_0x1cd3('0x3885')+_0x1cd3('0x388e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x6036')+_0x1cd3('0x4624')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6037')+_0x1cd3('0x4624')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4624')+_0x1cd3('0x3a67')+_0x1cd3('0x6038'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x1fc2'),_0x1cd3('0x6039')+_0x1cd3('0x603a')+_0x1cd3('0x603b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x603c')+_0x1cd3('0x603d')+_0x1cd3('0x603e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x603f')+_0x1cd3('0x6040')+_0x1cd3('0x4bd5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x6041')+_0x1cd3('0x36b7')+_0x1cd3('0x44f4')+_0x1cd3('0x6042')+_0x1cd3('0x395d')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6043')+_0x1cd3('0x6044')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39c6')+_0x1cd3('0x6045')+_0x1cd3('0x36b7')+_0x1cd3('0x3756')+_0x1cd3('0x36c2')+_0x1cd3('0x6046')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Email\x0a'+_0x1cd3('0x6047')+_0x1cd3('0x6048')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6049')+_0x1cd3('0x36b7')+_0x1cd3('0x604a')+_0x1cd3('0x604b')+_0x1cd3('0x36b7')+_0x1cd3('0x3756')+_0x1cd3('0x36c2')+_0x1cd3('0x6046')+_0x1cd3('0x604c')+_0x1cd3('0x604d')+_0x1cd3('0x604e')+_0x1cd3('0x604f')+_0x1cd3('0x6050')+_0x1cd3('0x3b44')+_0x1cd3('0x6051')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6052')+_0x1cd3('0x36b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SETTINGS.STAFF\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x6053')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6054')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6055')+_0x1cd3('0x3c90')+_0x1cd3('0x6056')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x44da')+_0x1cd3('0x6057')+_0x1cd3('0x6058')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6059')+_0x1cd3('0x3c90')+_0x1cd3('0x605a')+_0x1cd3('0x3841')+_0x1cd3('0x36b7')+_0x1cd3('0x44da')+_0x1cd3('0x6057')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Telephones\x0a'+_0x1cd3('0x605b')+_0x1cd3('0x605c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x605d')+_0x1cd3('0x3841')+_0x1cd3('0x36b7')+_0x1cd3('0x44da')+_0x1cd3('0x3669')+_0x1cd3('0x4624')+_0x1cd3('0x605e')+_0x1cd3('0x6053')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x605f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x6060')+_0x1cd3('0x6053')+_0x1cd3('0x6061')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SETTINGS.SESSIONS\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x464a')+_0x1cd3('0x6062')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6063')+_0x1cd3('0x6064')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3c90')+_0x1cd3('0x6065')+_0x1cd3('0x3841')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x4624')+_0x1cd3('0x6066')+_0x1cd3('0x6053')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x4624')+_0x1cd3('0x6067')+_0x1cd3('0x6053')+_0x1cd3('0x6068')+_0x1cd3('0x3669')+_0x1cd3('0x4624')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6069')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36c2')+_0x1cd3('0x4624')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4bd5')+_0x1cd3('0x606a')+_0x1cd3('0x6041')+_0x1cd3('0x36b7')+_0x1cd3('0x44f4')+_0x1cd3('0x6042')+_0x1cd3('0x395d')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x46fd')+_0x1cd3('0x4624')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3c37')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4708')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4709')+_0x1cd3('0x470a'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x1fc0'),_0x1cd3('0x606b')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x606c')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x3b14')+_0x1cd3('0x3b1f')+_0x1cd3('0x3b15')+_0x1cd3('0x3b16')+_0x1cd3('0x3b17')+_0x1cd3('0x3756')+_0x1cd3('0x3b18')+_0x1cd3('0x3b19')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+'\x0a'+_0x1cd3('0x606d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Do\x20you\x20want\x20to\x20update\x20your\x20license\x20manually?\x0a'+_0x1cd3('0x46da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x606e')+_0x1cd3('0x606f')+_0x1cd3('0x6070')+_0x1cd3('0x3b24')+_0x1cd3('0x6071')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+'\x0a'+_0x1cd3('0x3b14')+_0x1cd3('0x3b1f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x3b16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x3b18')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x367d')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+_0x1cd3('0x366f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x388f')+_0x1cd3('0x6072')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20UPDATE\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3681')+'');_0x404b17[_0x1cd3('0x37b')]('app/main/apps/settings/views/networks/create/dialog.html',_0x1cd3('0x6073')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x6074')+_0x1cd3('0x6075')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x3a6f')+_0x1cd3('0x6076')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6077')+_0x1cd3('0x6078')+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>ExternIP\x0a'+_0x1cd3('0x6079')+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Turn\x0a'+_0x1cd3('0x607a')+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Stun\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x607b')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x607c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20localNetAddress\x0a'+_0x1cd3('0x607d')+_0x1cd3('0x39e1')+_0x1cd3('0x607e')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x607f')+_0x1cd3('0x3b24')+_0x1cd3('0x6080')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e03')+_0x1cd3('0x6081')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x6082')+_0x1cd3('0x6083')+_0x1cd3('0x607d')+_0x1cd3('0x39e1')+_0x1cd3('0x6084')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x607f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6085')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e03')+_0x1cd3('0x6086')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x6087')+_0x1cd3('0x6083')+_0x1cd3('0x607d')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x6085')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6088')+_0x1cd3('0x6089')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x608b')+_0x1cd3('0x3b24')+_0x1cd3('0x608c')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x6088')+_0x1cd3('0x608d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x608e')+_0x1cd3('0x3b24')+_0x1cd3('0x608f')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x5ee3')+_0x1cd3('0x388f')+_0x1cd3('0x6090')+_0x1cd3('0x3ad7')+_0x1cd3('0x6091')+_0x1cd3('0x5ee6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x1cd3('0x39f4')+'\x0a'+_0x1cd3('0x6092')+_0x1cd3('0x39f6')+_0x1cd3('0x6093')+_0x1cd3('0x6094')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20NETWORK\x0a'+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39fa')+_0x1cd3('0x6095')+_0x1cd3('0x5eec')+_0x1cd3('0x3a20')+_0x1cd3('0x5f00')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x39fe')+_0x1cd3('0x3681')+'\x0a');_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x254'),_0x1cd3('0x6096')+'\x0a'+_0x1cd3('0x3adc')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3add')+_0x1cd3('0x37e6')+_0x1cd3('0x3a00')+_0x1cd3('0x3ade')+_0x1cd3('0x5ead')+_0x1cd3('0x38f9')+_0x1cd3('0x6097')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae1')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a03')+_0x1cd3('0x3ae4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a05')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae6')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x6098')+_0x1cd3('0x3a09')+'\x0a'+_0x1cd3('0x6099')+_0x1cd3('0x3a0b')+_0x1cd3('0x3ae8')+_0x1cd3('0x5eb1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a0c')+'\x0a'+_0x1cd3('0x3a0d')+_0x1cd3('0x609a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedNetworks.length}}\x0a'+_0x1cd3('0x5eb3')+_0x1cd3('0x38f9')+'\x0a'+_0x1cd3('0x3aeb')+_0x1cd3('0x3a11')+_0x1cd3('0x3a12')+_0x1cd3('0x3aec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22SETTINGS.MULTI_SELECT_TOGGLE\x22>\x0a'+_0x1cd3('0x3a14')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a16')+_0x1cd3('0x609b')+_0x1cd3('0x3c2e')+_0x1cd3('0x3849')+_0x1cd3('0x3aee')+_0x1cd3('0x3a16')+_0x1cd3('0x609c')+_0x1cd3('0x3a19')+_0x1cd3('0x3849')+_0x1cd3('0x3aee')+_0x1cd3('0x3a1a')+_0x1cd3('0x3aef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a1b')+_0x1cd3('0x609d')+_0x1cd3('0x3a1d')+_0x1cd3('0x3a1e')+_0x1cd3('0x609e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22SETTINGS.DELETE_SELECTED\x22>\x0a'+_0x1cd3('0x3a20')+_0x1cd3('0x3859')+_0x1cd3('0x3841')+_0x1cd3('0x36f6')+_0x1cd3('0x3686')+_0x1cd3('0x3a21')+'\x0a'+_0x1cd3('0x3a22')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3af1')+_0x1cd3('0x3a24')+'\x0a'+_0x1cd3('0x3a25')+_0x1cd3('0x609f')+_0x1cd3('0x3a27')+_0x1cd3('0x3af3')+_0x1cd3('0x60a0')+_0x1cd3('0x60a1')+_0x1cd3('0x3a2a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5eba')+_0x1cd3('0x60a2')+_0x1cd3('0x60a3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SETTINGS.CREATED_AT\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x3a33')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3db3')+_0x1cd3('0x3a35')+_0x1cd3('0x60a4')+_0x1cd3('0x3c56')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5ebc')+_0x1cd3('0x3a3a')+_0x1cd3('0x3af8')+_0x1cd3('0x3a34')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x60a5')+_0x1cd3('0x60a6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{network.createdAt\x20|\x20date:\x27medium\x27\x20}}\x0a'+_0x1cd3('0x3dc8')+'\x0a'+_0x1cd3('0x3cdd')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x395d')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a54')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3ce1')+'\x0a'+_0x1cd3('0x60ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22SETTINGS.EDIT_NETWORK\x22>\x0a'+_0x1cd3('0x60ae')+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x60af')+_0x1cd3('0x60b0')+_0x1cd3('0x60b1')+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+_0x1cd3('0x3699')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3951')+'\x0a'+'\x0a'+_0x1cd3('0x3a34')+_0x1cd3('0x3a5d')+_0x1cd3('0x3a5e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x0a'+_0x1cd3('0x60b2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x60b3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a64')+_0x1cd3('0x36f6')+_0x1cd3('0x3a65')+'\x0a'+_0x1cd3('0x3686')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x60b4')+_0x1cd3('0x60b5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20network\x22\x20translate\x20translate-attr-aria-label=\x22SETTINGS.ADD_NETWORK\x22>\x0a'+_0x1cd3('0x3b0f')+_0x1cd3('0x376d')+_0x1cd3('0x60b6')+_0x1cd3('0x3686'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x60b7'),_0x1cd3('0x60b8')+_0x1cd3('0x60b9')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x60ba')+_0x1cd3('0x60bb')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x60bc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x60bd')+_0x1cd3('0x60be')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x60bf')+_0x1cd3('0x60c0')+_0x1cd3('0x3b24')+_0x1cd3('0x60c1')+_0x1cd3('0x3756')+_0x1cd3('0x4329')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EmailAddress\x20must\x20be\x20a\x20valid\x20e-mail\x20address\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x60c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x60c3')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x60c4')+_0x1cd3('0x60c5')+_0x1cd3('0x60c6')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5645')+_0x1cd3('0x3b24')+_0x1cd3('0x60c7')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x60c8')+_0x1cd3('0x60c9')+_0x1cd3('0x60ca')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x60cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f9f')+_0x1cd3('0x36aa')+_0x1cd3('0x60c8')+_0x1cd3('0x60cc')+_0x1cd3('0x3ed3')+_0x1cd3('0x60cd')+_0x1cd3('0x3870')+_0x1cd3('0x60c4')+_0x1cd3('0x60ce')+_0x1cd3('0x3ed3')+_0x1cd3('0x3870')+_0x1cd3('0x60cf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SMTP_Username\x0a'+_0x1cd3('0x60d0')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x60d1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x60d2')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x60d3')+_0x1cd3('0x60d4')+_0x1cd3('0x60d5')+_0x1cd3('0x60d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x564e')+_0x1cd3('0x3b24')+_0x1cd3('0x608f')+_0x1cd3('0x3756')+_0x1cd3('0x3cec')+_0x1cd3('0x60d7')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3ed3')+_0x1cd3('0x3acf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x60d8')+_0x1cd3('0x3756')+_0x1cd3('0x39ea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x39ef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x60d9')+_0x1cd3('0x3ad7')+_0x1cd3('0x60da')+_0x1cd3('0x5ee6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x1cd3('0x39f4')+'\x0a'+_0x1cd3('0x60db')+_0x1cd3('0x39f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22smtpForm.$invalid\x22\x0a'+_0x1cd3('0x60dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20SMTP\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x39fa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5f00')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x39fe')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x24f'),_0x1cd3('0x60dd')+'\x0a'+_0x1cd3('0x3adc')+_0x1cd3('0x39ff')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x37e6')+_0x1cd3('0x3a00')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5ead')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x60de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x5f03')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x60df')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5f04')+_0x1cd3('0x5f05')+_0x1cd3('0x60e0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22(generalForm.$pristine)\x20||\x20(generalForm.$invalid)\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20translate=\x22SETTINGS.SAVE\x22\x20translate-attr-aria-label=\x22SETTINGS.SAVE\x22>\x0a'+_0x1cd3('0x3e3b')+_0x1cd3('0x3d24')+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3ae6')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3af1')+_0x1cd3('0x3a24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5f0f')+_0x1cd3('0x60e1')+_0x1cd3('0x3f1c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5f0a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AccountName\x0a'+_0x1cd3('0x60bb')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AccountName\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x60bd')+_0x1cd3('0x60be')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x434b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EmailAddress\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4329')+_0x1cd3('0x60e2')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x60c2')+_0x1cd3('0x60e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Custom\x0a'+_0x1cd3('0x5572')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Gmail\x0a'+_0x1cd3('0x5574')+_0x1cd3('0x3a4d')+_0x1cd3('0x5575')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x60c5')+_0x1cd3('0x60c6')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x60e5')+_0x1cd3('0x3b24')+_0x1cd3('0x60c7')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x60c9')+_0x1cd3('0x60ca')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x60e6')+_0x1cd3('0x3b24')+_0x1cd3('0x60cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x60c8')+_0x1cd3('0x60cc')+_0x1cd3('0x3ed3')+_0x1cd3('0x60cd')+_0x1cd3('0x3870')+_0x1cd3('0x60c4')+_0x1cd3('0x60ce')+_0x1cd3('0x3ed3')+_0x1cd3('0x3870')+_0x1cd3('0x60cf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SMTP_Username\x0a'+_0x1cd3('0x60d0')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x60d1')+_0x1cd3('0x60e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x60d2')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x60d3')+_0x1cd3('0x60d4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ed3')+_0x1cd3('0x3acf')+_0x1cd3('0x60ea')+_0x1cd3('0x60eb')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x60d8')+_0x1cd3('0x3756')+_0x1cd3('0x39ea')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x5f45')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ed3')+_0x1cd3('0x3756')+_0x1cd3('0x3a65')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a66')+_0x1cd3('0x376e'));_0x404b17['put'](_0x1cd3('0x25f'),_0x1cd3('0x60ec')+'\x0a'+_0x1cd3('0x3adc')+_0x1cd3('0x3b9f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x37e6')+_0x1cd3('0x3a00')+_0x1cd3('0x3ade')+_0x1cd3('0x60ed')+_0x1cd3('0x37e3')+_0x1cd3('0x60ee')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x3ae1')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a22')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x60ef')+_0x1cd3('0x3bab')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x60f0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3bb9')+_0x1cd3('0x60f1')+_0x1cd3('0x60f2')+_0x1cd3('0x60f3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x60f4')+_0x1cd3('0x60f5')+_0x1cd3('0x60f6')+_0x1cd3('0x386e')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x60f7')+_0x1cd3('0x60f8')+_0x1cd3('0x60f9')+_0x1cd3('0x60fa')+_0x1cd3('0x60fb')+_0x1cd3('0x60fc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Host:\x20{{vm.system.os.hostname}}\x20-\x20Uptime:\x20{{vm.system.time.uptime\x20/\x2060\x20|\x20number:0}}\x20m\x0a'+_0x1cd3('0x60fd')+_0x1cd3('0x3bc0')+_0x1cd3('0x3bc3')+_0x1cd3('0x386e')+_0x1cd3('0x60fe')+_0x1cd3('0x60ff')+_0x1cd3('0x6100')+_0x1cd3('0x6101')+_0x1cd3('0x6102')+_0x1cd3('0x60f4')+_0x1cd3('0x6103')+_0x1cd3('0x6104')+_0x1cd3('0x386e')+'\x0a'+_0x1cd3('0x6105')+_0x1cd3('0x60f7')+_0x1cd3('0x60f8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6106')+_0x1cd3('0x6107')+_0x1cd3('0x4494')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3bc0')+_0x1cd3('0x3bc3')+_0x1cd3('0x386e')+_0x1cd3('0x60fe')+_0x1cd3('0x60ff')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6101')+_0x1cd3('0x6102')+_0x1cd3('0x60f4')+_0x1cd3('0x6108')+_0x1cd3('0x6109')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x6105')+_0x1cd3('0x60f7')+_0x1cd3('0x60f8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27SETTINGS.TOTAL\x27\x20|\x20translate}}:\x20{{vm.system.mem.total\x20/\x201024\x20/\x201024\x20/\x201024\x20|\x20number:0}}\x20GB\x0a'+_0x1cd3('0x610a')+_0x1cd3('0x610b')+_0x1cd3('0x3bc0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x610c')+_0x1cd3('0x610d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x610e')+'\x0a'+_0x1cd3('0x3bc0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x60fe')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6100')+_0x1cd3('0x46ba')+'\x0a'+_0x1cd3('0x60f2')+_0x1cd3('0x610f')+_0x1cd3('0x6102')+_0x1cd3('0x60f4')+_0x1cd3('0x6108')+_0x1cd3('0x6110')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x60f7')+_0x1cd3('0x60f8')+_0x1cd3('0x6111')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27SETTINGS.MOUNT_POINT\x27\x20|\x20translate}}:\x20\x22{{disk.mount}}\x22\x0a'+_0x1cd3('0x6112')+_0x1cd3('0x6113')+_0x1cd3('0x3bc0')+_0x1cd3('0x60f8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Used\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{disk.use\x20|\x20number:0}}%\x0a'+_0x1cd3('0x4494')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3bc0')+_0x1cd3('0x3bc3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x60fe')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6100')+_0x1cd3('0x46ba')+'\x0a'+_0x1cd3('0x60f2')+_0x1cd3('0x6114')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x60f4')+_0x1cd3('0x6108')+_0x1cd3('0x6115')+_0x1cd3('0x386e')+'\x0a'+_0x1cd3('0x6105')+_0x1cd3('0x60f7')+_0x1cd3('0x60f8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27SETTINGS.INTERFACE\x27\x20|\x20translate}}:\x20{{net.iface}}\x0a'+_0x1cd3('0x6116')+_0x1cd3('0x6117')+_0x1cd3('0x6118')+_0x1cd3('0x3bc0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x386e')+_0x1cd3('0x60fe')+_0x1cd3('0x60ff')+_0x1cd3('0x6100')+_0x1cd3('0x46ba')+'\x0a'+_0x1cd3('0x6119')+_0x1cd3('0x611a')+_0x1cd3('0x611b')+_0x1cd3('0x611c')+_0x1cd3('0x611d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x386e')+_0x1cd3('0x611e')+_0x1cd3('0x611f')+_0x1cd3('0x6120')+_0x1cd3('0x6121')+_0x1cd3('0x6122')+_0x1cd3('0x6123')+_0x1cd3('0x6124')+_0x1cd3('0x6125')+_0x1cd3('0x6126')+_0x1cd3('0x6127')+_0x1cd3('0x6128')+_0x1cd3('0x6129')+_0x1cd3('0x612a')+_0x1cd3('0x612b')+_0x1cd3('0x612c')+_0x1cd3('0x612d')+_0x1cd3('0x5ceb')+_0x1cd3('0x612e')+_0x1cd3('0x612f')+_0x1cd3('0x6130')+_0x1cd3('0x6131')+_0x1cd3('0x6132')+_0x1cd3('0x6133')+_0x1cd3('0x6134')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6135')+_0x1cd3('0x6136')+_0x1cd3('0x6137')+_0x1cd3('0x3841')+_0x1cd3('0x46ba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3bb6')+_0x1cd3('0x3bb7')+_0x1cd3('0x3bab')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6138')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3bb9')+_0x1cd3('0x6139')+_0x1cd3('0x613a')+_0x1cd3('0x4486')+_0x1cd3('0x3bc9')+_0x1cd3('0x613b')+_0x1cd3('0x3bc4')+_0x1cd3('0x613c')+_0x1cd3('0x613d')+_0x1cd3('0x613e')+_0x1cd3('0x3695')+_0x1cd3('0x386f')+_0x1cd3('0x3bc7')+_0x1cd3('0x3bcc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3bcf')+_0x1cd3('0x613f')+_0x1cd3('0x6140')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27SETTINGS.NAME\x27\x20|\x20translate}}\x0a'+_0x1cd3('0x6141')+_0x1cd3('0x6142')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CPU\x0a'+_0x1cd3('0x6143')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3bd8')+_0x1cd3('0x4491')+_0x1cd3('0x6144')+_0x1cd3('0x6145')+_0x1cd3('0x6146')+_0x1cd3('0x6147')+_0x1cd3('0x6148')+_0x1cd3('0x6149')+_0x1cd3('0x3bdc')+_0x1cd3('0x614a')+_0x1cd3('0x614b')+_0x1cd3('0x6148')+_0x1cd3('0x614c')+_0x1cd3('0x614d')+_0x1cd3('0x3d8f')+_0x1cd3('0x614e')+_0x1cd3('0x614f')+_0x1cd3('0x3d8f')+_0x1cd3('0x3bdc')+_0x1cd3('0x3bd7')+_0x1cd3('0x3bf1')+_0x1cd3('0x6150')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6151')+_0x1cd3('0x6151')+_0x1cd3('0x6151')+_0x1cd3('0x6151')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20(vm.processes\x20|\x20map:\x20\x27monit.memory\x27\x20|\x20sum)\x20/\x201024\x20/\x201024\x20|\x20number:0\x20}}\x20MB\x0a'+_0x1cd3('0x6151')+_0x1cd3('0x6151')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6152')+_0x1cd3('0x44a1')+_0x1cd3('0x44a2')+_0x1cd3('0x46ba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4486')+_0x1cd3('0x3bc9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3bc4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3bc7')+_0x1cd3('0x3bcc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6153')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27SETTINGS.COMMAND\x27\x20|\x20translate}}\x0a'+_0x1cd3('0x6154')+_0x1cd3('0x3bd7')+_0x1cd3('0x3bd8')+_0x1cd3('0x4491')+_0x1cd3('0x6155')+_0x1cd3('0x6156')+_0x1cd3('0x6157')+_0x1cd3('0x3bd7')+_0x1cd3('0x6155')+_0x1cd3('0x6158')+_0x1cd3('0x6159')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6155')+_0x1cd3('0x615a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SETTINGS.PM2_STOP\x27\x20|\x20translate}}\x0a'+_0x1cd3('0x3bd7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x615b')+_0x1cd3('0x615c')+_0x1cd3('0x3bd7')+_0x1cd3('0x6155')+_0x1cd3('0x615d')+_0x1cd3('0x615e')+_0x1cd3('0x3bd7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x44a2')+_0x1cd3('0x46ba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3bb6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x615f')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x376e'));_0x404b17[_0x1cd3('0x37b')]('app/main/apps/settings/views/updates/update/dialog.html',_0x1cd3('0x6160')+_0x1cd3('0x6161')+_0x1cd3('0x3d1a')+_0x1cd3('0x3d2f')+_0x1cd3('0x6162')+_0x1cd3('0x3d1d')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x6163')+_0x1cd3('0x6164')+_0x1cd3('0x3686')+'\x0a'+_0x1cd3('0x3d32')+_0x1cd3('0x6165')+_0x1cd3('0x6166')+_0x1cd3('0x6167')+_0x1cd3('0x6168')+_0x1cd3('0x6169')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x616a')+_0x1cd3('0x616b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20In\x20order\x20to\x20complete\x20the\x20update,\x0a'+_0x1cd3('0x616c')+_0x1cd3('0x3d21')+_0x1cd3('0x616d')+_0x1cd3('0x616e')+_0x1cd3('0x616f')+_0x1cd3('0x6170')+_0x1cd3('0x3d21')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d1d')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x6171')+_0x1cd3('0x3d40')+_0x1cd3('0x6172')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RELOAD\x0a'+_0x1cd3('0x36ed')+_0x1cd3('0x3d1d')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x0a'+_0x1cd3('0x384d'));_0x404b17['put']('app/main/apps/settings/views/updates/updates.html',_0x1cd3('0x6173')+'\x0a'+_0x1cd3('0x3adc')+_0x1cd3('0x39ff')+'\x0a'+_0x1cd3('0x3add')+_0x1cd3('0x37e6')+_0x1cd3('0x3a00')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5ead')+_0x1cd3('0x38f9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20UPDATES\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x3ae1')+_0x1cd3('0x3686')+_0x1cd3('0x3ae6')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a23')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a24')+'\x0a'+_0x1cd3('0x6174')+_0x1cd3('0x6175')+_0x1cd3('0x6176')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x6177')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.version.current}}\x0a'+'\x0a'+_0x1cd3('0x6178')+_0x1cd3('0x6179')+_0x1cd3('0x395d')+_0x1cd3('0x3756')+_0x1cd3('0x43b3')+_0x1cd3('0x617a')+_0x1cd3('0x3989')+'\x0a'+_0x1cd3('0x617b')+'\x0a'+_0x1cd3('0x617c')+'\x0a'+_0x1cd3('0x617d')+_0x1cd3('0x6179')+_0x1cd3('0x395d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20UPDATE\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x43b3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x617e')+'\x0a'+_0x1cd3('0x617f')+_0x1cd3('0x3756')+_0x1cd3('0x43b3')+_0x1cd3('0x366a')+_0x1cd3('0x6180')+'\x0a'+_0x1cd3('0x6181')+_0x1cd3('0x6176')+_0x1cd3('0x3989')+_0x1cd3('0x6182')+_0x1cd3('0x6183')+_0x1cd3('0x6184')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20get\x20back\x20here\x20as\x20soon\x20as\x20completed\x0a'+_0x1cd3('0x6185')+_0x1cd3('0x3756')+_0x1cd3('0x43b3')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x3a65')+'\x0a'+_0x1cd3('0x3686')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3c7f')+_0x1cd3('0x1859'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x278'),_0x1cd3('0x422d')+_0x1cd3('0x422e')+_0x1cd3('0x4118')+_0x1cd3('0x6186')+_0x1cd3('0x3b5a')+_0x1cd3('0x4230')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20on-collapse=\x22vm.query.filter\x20=\x20undefined;\x20vm.onInit()\x22\x20debounce=\x22300\x22>\x0a'+_0x1cd3('0x4232')+_0x1cd3('0x4ecc')+_0x1cd3('0x6187')+_0x1cd3('0x6188')+_0x1cd3('0x6189')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.BUSY\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x618a')+_0x1cd3('0x389c')+'\x0a'+_0x1cd3('0x4237')+_0x1cd3('0x4ed0')+_0x1cd3('0x4238')+_0x1cd3('0x4239')+_0x1cd3('0x423a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20LOGININPAUSE\x0a'+_0x1cd3('0x4ed2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{pause.name}}\x0a'+_0x1cd3('0x389c')+_0x1cd3('0x3686')+_0x1cd3('0x423c')+'\x0a'+'\x0a'+_0x1cd3('0x42ca')+_0x1cd3('0x423e')+_0x1cd3('0x423f')+_0x1cd3('0x4ed3')+_0x1cd3('0x618b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.VOICE\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4240')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.MAIL\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.SMS\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4242')+_0x1cd3('0x4243')+_0x1cd3('0x4244')+_0x1cd3('0x4245')+_0x1cd3('0x5774')+_0x1cd3('0x4ed6')+_0x1cd3('0x41b7')+_0x1cd3('0x41b0')+_0x1cd3('0x4ed7')+_0x1cd3('0x618c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.STATUS\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x618d')+_0x1cd3('0x4249')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.PAUSE_TIME\x27\x20|\x20translate\x20}}\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.STATUS\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4edb')+'\x0a'+_0x1cd3('0x424b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x424d')+_0x1cd3('0x36c5')+_0x1cd3('0x41b4')+'\x0a'+_0x1cd3('0x424e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x424c')+_0x1cd3('0x4250')+_0x1cd3('0x36c5')+_0x1cd3('0x41b4')+'\x0a'+_0x1cd3('0x4251')+_0x1cd3('0x4edd')+_0x1cd3('0x424c')+_0x1cd3('0x4252')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41b4')+'\x0a'+_0x1cd3('0x4ede')+_0x1cd3('0x4253')+_0x1cd3('0x424c')+_0x1cd3('0x4254')+_0x1cd3('0x36c5')+_0x1cd3('0x41b4')+'\x0a'+_0x1cd3('0x4255')+_0x1cd3('0x4256')+_0x1cd3('0x424c')+_0x1cd3('0x4257')+_0x1cd3('0x36c5')+_0x1cd3('0x41b4')+'\x0a'+_0x1cd3('0x4edf')+_0x1cd3('0x4258')+_0x1cd3('0x424c')+_0x1cd3('0x4259')+_0x1cd3('0x36c5')+_0x1cd3('0x41b4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x425a')+_0x1cd3('0x425b')+_0x1cd3('0x425c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x425e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.NO_AGENT_ONLINE\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4150')+_0x1cd3('0x41b7')+_0x1cd3('0x425f')+_0x1cd3('0x4260')+_0x1cd3('0x4ee1')+_0x1cd3('0x4261')+_0x1cd3('0x5c5a')+_0x1cd3('0x4262')+_0x1cd3('0x4263')+_0x1cd3('0x4264')+_0x1cd3('0x36b7')+_0x1cd3('0x3756')+_0x1cd3('0x4150')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4265')+_0x1cd3('0x4266')+_0x1cd3('0x4267')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4268')+_0x1cd3('0x4269')+_0x1cd3('0x4ee4')+_0x1cd3('0x618e')+_0x1cd3('0x426b')+_0x1cd3('0x4ee3')+_0x1cd3('0x3692')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36b5')+_0x1cd3('0x426d')+_0x1cd3('0x4269')+_0x1cd3('0x4ee4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.TOOLTIP_SCREENRECORDING_OFF\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x426b')+_0x1cd3('0x4ee3')+_0x1cd3('0x3692')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x4150')+'\x0a'+'\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x426e')+_0x1cd3('0x426f')+_0x1cd3('0x4270')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4271')+_0x1cd3('0x4ee7')+_0x1cd3('0x4272')+_0x1cd3('0x4150')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4273')+_0x1cd3('0x4274')+_0x1cd3('0x4275')+_0x1cd3('0x4272')+_0x1cd3('0x4150')+_0x1cd3('0x4276')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.agents[value].queue\x20}}\x0a'+_0x1cd3('0x427d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27idle\x27:\x27lime-300-fg\x27,\x27maxcapacity\x27:\x27red-A200-fg\x27,\x27working\x27:\x27indigo-100-fg\x27,\x27pause\x27:\x27amber-200-fg\x27}[vm.agents[value].voiceStatus]\x22>{{\x20vm.agents[value].destconnectedlinenum\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4280')+_0x1cd3('0x4281')+_0x1cd3('0x4282')+_0x1cd3('0x4283')+_0x1cd3('0x3756')+_0x1cd3('0x4150')+'\x0a'+_0x1cd3('0x4284')+_0x1cd3('0x4285')+_0x1cd3('0x41fd')+_0x1cd3('0x4286')+_0x1cd3('0x4287')+_0x1cd3('0x36b7')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4288')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27idle\x27:\x27lime-300-fg\x27,\x27maxcapacity\x27:\x27red-A200-fg\x27,\x27working\x27:\x27indigo-100-fg\x27,\x27pause\x27:\x27amber-200-fg\x27}[vm.agents[value].chatStatus]\x22>\x0a'+_0x1cd3('0x4289')+'\x0a'+_0x1cd3('0x428a')+_0x1cd3('0x4285')+_0x1cd3('0x41fd')+_0x1cd3('0x4286')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27idle\x27:\x27lime-300-bg\x27,\x27maxcapacity\x27:\x27red-A200-bg\x27,\x27working\x27:\x27indigo-100-bg\x27,\x27pause\x27:\x27amber-200-bg\x27}[vm.agents[value].mailStatus]\x22>{{\x20vm.agents[value].mailStatus\x20|\x20uppercase\x20}}\x0a'+_0x1cd3('0x36b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x428c')+_0x1cd3('0x4ee9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.agents[value].mailCurrentCapacity\x20}}\x0a'+'\x0a'+_0x1cd3('0x428e')+_0x1cd3('0x4285')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4286')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27idle\x27:\x27lime-300-bg\x27,\x27maxcapacity\x27:\x27red-A200-bg\x27,\x27working\x27:\x27indigo-100-bg\x27,\x27pause\x27:\x27amber-200-bg\x27}[vm.agents[value].smsStatus]\x22>{{\x20vm.agents[value].smsStatus\x20|\x20uppercase\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4150')+_0x1cd3('0x428f')+_0x1cd3('0x4290')+_0x1cd3('0x4291')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4285')+_0x1cd3('0x41fd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4150')+_0x1cd3('0x4294')+_0x1cd3('0x4eeb')+_0x1cd3('0x4295')+'\x0a'+_0x1cd3('0x4296')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4286')+_0x1cd3('0x4297')+_0x1cd3('0x36b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4150')+_0x1cd3('0x4298')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27idle\x27:\x27lime-300-fg\x27,\x27maxcapacity\x27:\x27red-A200-fg\x27,\x27working\x27:\x27indigo-100-fg\x27,\x27pause\x27:\x27amber-200-fg\x27}[vm.agents[value].faxStatus]\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.agents[value].faxCurrentCapacity\x20}}\x0a'+'\x0a'+_0x1cd3('0x429a')+_0x1cd3('0x4285')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4286')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27idle\x27:\x27lime-300-bg\x27,\x27maxcapacity\x27:\x27red-A200-bg\x27,\x27working\x27:\x27indigo-100-bg\x27,\x27pause\x27:\x27amber-200-bg\x27}[vm.agents[value].whatsappStatus]\x22>{{\x20vm.agents[value].whatsappStatus\x20|\x20uppercase\x20}}\x0a'+_0x1cd3('0x36b7')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4eec')+_0x1cd3('0x429b')+_0x1cd3('0x429c')+'\x0a'+_0x1cd3('0x429d')+_0x1cd3('0x3a49')+_0x1cd3('0x3a4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22STAFF.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a'+_0x1cd3('0x3a4c')+_0x1cd3('0x395d')+'\x0a'+_0x1cd3('0x429f')+_0x1cd3('0x42a0')+_0x1cd3('0x42a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22SMS.LOGOUT\x22>\x0a'+_0x1cd3('0x42a3')+_0x1cd3('0x3a52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x42a0')+_0x1cd3('0x42a4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22SMS.AGENTADD_QUEUE\x22>\x0a'+_0x1cd3('0x42a6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x42a7')+_0x1cd3('0x42a8')+_0x1cd3('0x42a9')+_0x1cd3('0x42aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22SMS.SCREENRECORDING\x22>Screen\x20Recording\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x42ac')+_0x1cd3('0x42ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x42b4')+_0x1cd3('0x3c77')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x42a0')+_0x1cd3('0x42a9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x42b6')+_0x1cd3('0x5784')+_0x1cd3('0x42b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22SMS.DEFAULT_PAUSE\x22>Default\x0a'+_0x1cd3('0x42b9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x42ba')+_0x1cd3('0x42b6')+_0x1cd3('0x42bb')+_0x1cd3('0x42bc')+_0x1cd3('0x3c66')+_0x1cd3('0x3c6a')+_0x1cd3('0x42b4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a53')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4ef4')+_0x1cd3('0x6192')+_0x1cd3('0x42be')+_0x1cd3('0x3a52')+_0x1cd3('0x3a53')+_0x1cd3('0x41c8')+_0x1cd3('0x41c9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x42dc')+'\x0a'+'');_0x404b17[_0x1cd3('0x37b')]('app/main/apps/sms/views/realtime/queues/view.html',_0x1cd3('0x422d')+_0x1cd3('0x422e')+_0x1cd3('0x4118')+_0x1cd3('0x6194')+_0x1cd3('0x3b5a')+_0x1cd3('0x42c8')+_0x1cd3('0x3686')+_0x1cd3('0x423c')+'\x0a'+_0x1cd3('0x42c9')+_0x1cd3('0x42ca')+_0x1cd3('0x423e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41b0')+_0x1cd3('0x6195')+_0x1cd3('0x6196')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.PAUSED\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x6197')+_0x1cd3('0x6198')+_0x1cd3('0x42cf')+_0x1cd3('0x41b7')+_0x1cd3('0x425a')+_0x1cd3('0x425b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x425e')+_0x1cd3('0x6199')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4150')+_0x1cd3('0x41b7')+_0x1cd3('0x42d2')+_0x1cd3('0x42d3')+_0x1cd3('0x41ba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.queues[value].loggedInDb\x20||\x200}}\x20({{vm.queues[value].loggedIn\x20||\x200}})\x0a'+_0x1cd3('0x4150')+_0x1cd3('0x41ba')+_0x1cd3('0x42d5')+_0x1cd3('0x4150')+_0x1cd3('0x41ba')+_0x1cd3('0x4efb')+_0x1cd3('0x4150')+_0x1cd3('0x41ba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.queues[value].waiting\x20||\x200}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a49')+_0x1cd3('0x619a')+_0x1cd3('0x42d8')+_0x1cd3('0x395d')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x42a0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4eff')+_0x1cd3('0x3a52')+_0x1cd3('0x3a53')+_0x1cd3('0x42d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x42db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a53')+_0x1cd3('0x41c8')+_0x1cd3('0x41c9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41b7')+_0x1cd3('0x42bf')+_0x1cd3('0x42c0')+_0x1cd3('0x42dc')+'\x0a'+_0x1cd3('0x619b')+_0x1cd3('0x42de')+'\x0a');_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x275'),_0x1cd3('0x42e0')+_0x1cd3('0x3a22')+_0x1cd3('0x3e3c')+_0x1cd3('0x3baa')+_0x1cd3('0x42e1')+_0x1cd3('0x42e2')+_0x1cd3('0x619c')+_0x1cd3('0x42e4')+_0x1cd3('0x3862')+_0x1cd3('0x4f03')+_0x1cd3('0x42e2')+_0x1cd3('0x619d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3862')+_0x1cd3('0x42e6')+'\x0a'+_0x1cd3('0x42e7')+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a66')+_0x1cd3('0x376e'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x20a3'),_0x1cd3('0x619e')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x619f')+_0x1cd3('0x61a0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+_0x1cd3('0x61a1')+_0x1cd3('0x3dff')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x61a2')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20key\x0a'+_0x1cd3('0x61a3')+_0x1cd3('0x3e80')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x61a4')+_0x1cd3('0x3b24')+_0x1cd3('0x61a5')+_0x1cd3('0x3756')+_0x1cd3('0x3f99')+_0x1cd3('0x61a6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MotionProxy\x0a'+_0x1cd3('0x61a7')+_0x1cd3('0x3e85')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x61a8')+_0x1cd3('0x61a9')+_0x1cd3('0x3b24')+_0x1cd3('0x61aa')+_0x1cd3('0x3756')+_0x1cd3('0x3e87')+_0x1cd3('0x61ab')+_0x1cd3('0x3756')+_0x1cd3('0x3e89')+_0x1cd3('0x61ac')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x0a'+_0x1cd3('0x61ad')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x3a6f')+_0x1cd3('0x3e91')+_0x1cd3('0x3e92')+_0x1cd3('0x3acc')+_0x1cd3('0x61ae')+_0x1cd3('0x61af')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x61b0')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x61b1')+_0x1cd3('0x61b2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ClickSend\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Phone\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x61c5')+_0x1cd3('0x61c6')+_0x1cd3('0x61c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AccountSID\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AuthID\x0a'+_0x1cd3('0x61c8')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x61c9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x61ca')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x61cb')+_0x1cd3('0x61cc')+_0x1cd3('0x61cd')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x61ce')+_0x1cd3('0x3b24')+_0x1cd3('0x61cf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x61d0')+_0x1cd3('0x61d1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x61d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x61d7')+_0x1cd3('0x61d8')+_0x1cd3('0x61d9')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x61da')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x61db')+_0x1cd3('0x61dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x61e5')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ApiKey\x0a'+_0x1cd3('0x61e6')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x61e7')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ApiKey\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x61e8')+_0x1cd3('0x61e9')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x61ea')+_0x1cd3('0x3b24')+_0x1cd3('0x61eb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x388f')+_0x1cd3('0x61ec')+_0x1cd3('0x3ad7')+_0x1cd3('0x61ed')+_0x1cd3('0x61ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x1cd3('0x39f4')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x61f2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39fe')+_0x1cd3('0x3681')+'\x0a');_0x404b17['put'](_0x1cd3('0x2086'),_0x1cd3('0x61f3')+_0x1cd3('0x61f4')+_0x1cd3('0x3e1f')+_0x1cd3('0x3d4f')+_0x1cd3('0x61f5')+_0x1cd3('0x3d50')+_0x1cd3('0x3857')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366c')+_0x1cd3('0x3e21')+_0x1cd3('0x366f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e22')+_0x1cd3('0x3e23')+_0x1cd3('0x3ba9')+_0x1cd3('0x3671')+_0x1cd3('0x3675')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x61f6'),'\x0a'+_0x1cd3('0x61f7')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x61f8')+_0x1cd3('0x3ea3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+_0x1cd3('0x3a6f')+_0x1cd3('0x3ea4')+_0x1cd3('0x5d19')+_0x1cd3('0x3acc')+_0x1cd3('0x61f9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x61fa')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x61fb')+_0x1cd3('0x3ea8')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3ea9')+_0x1cd3('0x3e0e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Timeout\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+_0x1cd3('0x61fc')+_0x1cd3('0x3e12')+_0x1cd3('0x3e13')+_0x1cd3('0x61fd')+_0x1cd3('0x3e12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x39db')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x3b20')+_0x1cd3('0x3b47')+_0x1cd3('0x61fe')+_0x1cd3('0x3ad7')+_0x1cd3('0x61ff')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22SMS.SAVE\x22\x20translate-attr-aria-label=\x22SMS.SAVE\x22>\x0a'+_0x1cd3('0x39f3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x3675')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17['put']('app/main/apps/sms/views/smsAccounts/edit/apps/amazonlex/dialog.html',_0x1cd3('0x619e')+_0x1cd3('0x61f7')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6200')+_0x1cd3('0x5d25')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x6201')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6202')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20secretaccesskey\x0a'+_0x1cd3('0x3eb3')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6203')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6204')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x6205')+_0x1cd3('0x3eb7')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x3a6f')+_0x1cd3('0x3eb8')+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>US\x20East\x20(N.\x20Virginia)\x0a'+_0x1cd3('0x3eba')+_0x1cd3('0x3a4d')+_0x1cd3('0x5d2b')+_0x1cd3('0x3ebb')+_0x1cd3('0x3a4d')+_0x1cd3('0x3ebc')+_0x1cd3('0x5d2c')+_0x1cd3('0x3a4d')+_0x1cd3('0x3ebd')+_0x1cd3('0x3acc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20lexregion\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6206')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x6207')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x6208')+_0x1cd3('0x3ec4')+_0x1cd3('0x6209')+_0x1cd3('0x3ed1')+_0x1cd3('0x620a')+_0x1cd3('0x39e1')+_0x1cd3('0x3b24')+_0x1cd3('0x620b')+_0x1cd3('0x3756')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3ec6')+_0x1cd3('0x620c')+_0x1cd3('0x3756')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3870')+_0x1cd3('0x3ed3')+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b47')+_0x1cd3('0x61fe')+_0x1cd3('0x3ad7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22smsAccountFormApp.$invalid\x20||\x20smsAccountFormApp.$pristine\x22\x0a'+_0x1cd3('0x61ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x1cd3('0x39f4')+_0x1cd3('0x366a')+_0x1cd3('0x3675')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x620d'),_0x1cd3('0x619e')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3667')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x3857')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x39d7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x620e')+_0x1cd3('0x3eca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x3a6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x6211')+_0x1cd3('0x3ed0')+_0x1cd3('0x3ed1')+_0x1cd3('0x6212')+_0x1cd3('0x39e1')+_0x1cd3('0x3b24')+_0x1cd3('0x6213')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x3870')+_0x1cd3('0x3ed3')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3b20')+_0x1cd3('0x3b47')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x61f7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x6215')+_0x1cd3('0x3ed5')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x6216')+_0x1cd3('0x3b24')+_0x1cd3('0x6217')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x39db')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x3b20')+_0x1cd3('0x3b47')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x6219')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3edc')+_0x1cd3('0x3a4d')+_0x1cd3('0x3edd')+_0x1cd3('0x5d40')+_0x1cd3('0x3a4d')+_0x1cd3('0x3ede')+_0x1cd3('0x3edf')+_0x1cd3('0x3a4d')+_0x1cd3('0x3ee0')+_0x1cd3('0x5d41')+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Italian\x0a'+_0x1cd3('0x3ee2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ee3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20French\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Portuguese\x20(European)\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Swedish\x0a'+_0x1cd3('0x3ef3')+_0x1cd3('0x3a4d')+_0x1cd3('0x3ef4')+_0x1cd3('0x3ef5')+_0x1cd3('0x3a4d')+_0x1cd3('0x621e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Chinese\x20(Hong\x20Kong)\x0a'+_0x1cd3('0x5d47')+_0x1cd3('0x3a4d')+_0x1cd3('0x3ef8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x621f')+_0x1cd3('0x3b24')+_0x1cd3('0x6220')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x6208')+_0x1cd3('0x6221')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ed1')+_0x1cd3('0x620a')+_0x1cd3('0x39e1')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20welcomemessage\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ec6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20welcomemessage\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3870')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x61fe')+_0x1cd3('0x3ad7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22smsAccountFormApp.$invalid\x20||\x20smsAccountFormApp.$pristine\x22\x0a'+_0x1cd3('0x61ee')+_0x1cd3('0x39f3')+_0x1cd3('0x39f4')+_0x1cd3('0x366a')+_0x1cd3('0x3675')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x6222'),'\x0a'+_0x1cd3('0x61f7')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x39db')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6223')+_0x1cd3('0x4d4f')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Condition\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6224')+_0x1cd3('0x3f00')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x221\x22\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x6225')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6226')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6227')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f04')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x6228')+_0x1cd3('0x3f06')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x221\x22\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20falsepriority\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6229')+_0x1cd3('0x3e12')+_0x1cd3('0x3f04')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3b20')+_0x1cd3('0x3b47')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Priority\x0a'+_0x1cd3('0x3f0b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3ea9')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Priority\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+_0x1cd3('0x622b')+_0x1cd3('0x3e12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x3b20')+_0x1cd3('0x3b47')+_0x1cd3('0x61fe')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22smsAccountFormApp.$invalid\x20||\x20smsAccountFormApp.$pristine\x22\x0a'+_0x1cd3('0x61ee')+_0x1cd3('0x39f3')+_0x1cd3('0x39f4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3681')+'\x0a');_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x203b'),_0x1cd3('0x3f0f')+_0x1cd3('0x3f10')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x3b14')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b15')+_0x1cd3('0x3b16')+_0x1cd3('0x3b17')+_0x1cd3('0x3756')+_0x1cd3('0x3b18')+_0x1cd3('0x3b19')+_0x1cd3('0x367d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3ed3')+_0x1cd3('0x3b28')+_0x1cd3('0x3f11')+_0x1cd3('0x3f12')+_0x1cd3('0x3f13')+_0x1cd3('0x36a9')+_0x1cd3('0x36aa')+'\x0a'+_0x1cd3('0x55bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Intervals\x0a'+_0x1cd3('0x3f14')+_0x1cd3('0x3f15')+_0x1cd3('0x36a9')+_0x1cd3('0x36aa')+'\x0a'+_0x1cd3('0x4d5e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Time\x20Range\x0a'+_0x1cd3('0x3f17')+_0x1cd3('0x3c8a')+_0x1cd3('0x3f18')+_0x1cd3('0x3f19')+_0x1cd3('0x3f1a')+_0x1cd3('0x3f1b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f1c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f1f')+_0x1cd3('0x3f20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Time\x20Range\x20To\x20field\x20is\x20invalid\x0a'+_0x1cd3('0x36b7')+_0x1cd3('0x39c6')+_0x1cd3('0x3f22')+_0x1cd3('0x36b7')+_0x1cd3('0x3756')+_0x1cd3('0x4d5f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x3f23')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f25')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f26')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20From\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f30')+_0x1cd3('0x3f29')+_0x1cd3('0x3b44')+_0x1cd3('0x36c2')+'\x0a'+_0x1cd3('0x3f2a')+_0x1cd3('0x3f33')+_0x1cd3('0x3f2b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20day.value\x20|\x20ucfirst\x20}}\x0a'+_0x1cd3('0x3b44')+_0x1cd3('0x3f2c')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x3f2d')+'\x0a'+_0x1cd3('0x3f2e')+_0x1cd3('0x4d60')+_0x1cd3('0x3f17')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f27')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Always\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20month\x20}}\x0a'+_0x1cd3('0x3b44')+_0x1cd3('0x36c2')+'\x0a'+_0x1cd3('0x3f32')+_0x1cd3('0x3f33')+_0x1cd3('0x3f34')+_0x1cd3('0x3f31')+_0x1cd3('0x3b44')+_0x1cd3('0x3f35')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3f36')+_0x1cd3('0x3f37')+_0x1cd3('0x3f17')+_0x1cd3('0x4d61')+_0x1cd3('0x3f27')+_0x1cd3('0x3f38')+_0x1cd3('0x3f30')+_0x1cd3('0x3f39')+_0x1cd3('0x3b44')+'\x0a'+_0x1cd3('0x36c2')+'\x0a'+_0x1cd3('0x4d62')+_0x1cd3('0x3f33')+_0x1cd3('0x3f3a')+_0x1cd3('0x3f39')+_0x1cd3('0x3b44')+_0x1cd3('0x4d63')+_0x1cd3('0x3756')+_0x1cd3('0x36c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f3b')+'\x0a'+_0x1cd3('0x3b14')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b15')+_0x1cd3('0x3b16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3b18')+_0x1cd3('0x3b19')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x388f')+_0x1cd3('0x4d64')+_0x1cd3('0x3891')+_0x1cd3('0x3859')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f3d')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x3675')+_0x1cd3('0x3681')+'\x0a');_0x404b17[_0x1cd3('0x37b')]('app/main/apps/sms/views/smsAccounts/edit/apps/noop/dialog.html',_0x1cd3('0x619e')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3666')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x622c')+_0x1cd3('0x4d67')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x622d')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x3b20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x61fe')+_0x1cd3('0x3ad7')+_0x1cd3('0x61ff')+_0x1cd3('0x61ee')+_0x1cd3('0x39f3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x622e'),_0x1cd3('0x619e')+_0x1cd3('0x61f7')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x622f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6230')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Queue\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3acf')+_0x1cd3('0x61fb')+_0x1cd3('0x3f48')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ea9')+_0x1cd3('0x3e0e')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x6231')+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+_0x1cd3('0x61fc')+_0x1cd3('0x3e12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x61fd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e15')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x3b20')+_0x1cd3('0x3b47')+_0x1cd3('0x61fe')+_0x1cd3('0x3ad7')+_0x1cd3('0x61ff')+_0x1cd3('0x61ee')+_0x1cd3('0x39f3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')]('app/main/apps/sms/views/smsAccounts/edit/apps/system/dialog.html',_0x1cd3('0x619e')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3666')+_0x1cd3('0x3667')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x3857')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6232')+_0x1cd3('0x3f4b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Command\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x6233')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20variable.name\x20}}\x0a'+_0x1cd3('0x3acc')+_0x1cd3('0x6234')+_0x1cd3('0x3b24')+_0x1cd3('0x6235')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x3857')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Tag\x0a'+_0x1cd3('0x3f56')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+_0x1cd3('0x3a6f')+_0x1cd3('0x4d76')+_0x1cd3('0x3f57')+_0x1cd3('0x3acc')+_0x1cd3('0x6237')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Tag\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ed3')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x3b20')+_0x1cd3('0x3b47')+_0x1cd3('0x61fe')+_0x1cd3('0x3ad7')+_0x1cd3('0x61ff')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22SMS.SAVE\x22\x20translate-attr-aria-label=\x22SMS.SAVE\x22>\x0a'+_0x1cd3('0x39f3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x6238'),_0x1cd3('0x6239')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x6219')+_0x1cd3('0x623a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-maxlength=\x22255\x22\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x623b')+_0x1cd3('0x3b24')+_0x1cd3('0x621b')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x622c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x623c')+_0x1cd3('0x39e1')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Value\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3669')+_0x1cd3('0x3870')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x61e8')+_0x1cd3('0x623d')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x623e')+_0x1cd3('0x3b24')+_0x1cd3('0x61eb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x39ef')+_0x1cd3('0x388f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x6240')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x1cd3('0x6241')+_0x1cd3('0x6242')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20SMSCANNEDANSWER\x0a'+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39fa')+_0x1cd3('0x6243')+_0x1cd3('0x6244')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x39fe')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17['put'](_0x1cd3('0x2076'),_0x1cd3('0x6245')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x619f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x39db')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x39ef')+_0x1cd3('0x388f')+_0x1cd3('0x6247')+_0x1cd3('0x3ad7')+_0x1cd3('0x6248')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22SMS.SAVE\x22\x20translate-attr-aria-label=\x22SMS.SAVE\x22>\x0a'+_0x1cd3('0x39f3')+_0x1cd3('0x39f4')+'\x0a'+_0x1cd3('0x6249')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x1cd3('0x624a')+_0x1cd3('0x624b')+_0x1cd3('0x624c')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x624d')+_0x1cd3('0x6244')+_0x1cd3('0x3a20')+_0x1cd3('0x61f2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39fe')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x272'),_0x1cd3('0x624e')+'\x0a'+_0x1cd3('0x3adc')+_0x1cd3('0x3b9f')+_0x1cd3('0x3d5a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x388f')+'\x0a'+_0x1cd3('0x6251')+_0x1cd3('0x6252')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x3ba2')+_0x1cd3('0x3ba3')+_0x1cd3('0x6253')+_0x1cd3('0x6254')+_0x1cd3('0x3756')+_0x1cd3('0x3ba6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.smsAccount.createdAt\x20|\x20date:\x27medium\x27}}\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39ee')+_0x1cd3('0x3e31')+_0x1cd3('0x6255')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22md-fab\x20md-warn\x20md-icon-button\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22agentadd\x22\x20\x20>\x0a'+_0x1cd3('0x6256')+_0x1cd3('0x3e35')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x38c3')+_0x1cd3('0x6257')+_0x1cd3('0x3e3b')+_0x1cd3('0x3d24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3686')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a22')+_0x1cd3('0x3e3c')+'\x0a'+_0x1cd3('0x3baa')+_0x1cd3('0x3fda')+_0x1cd3('0x3e3d')+_0x1cd3('0x6258')+_0x1cd3('0x3e3f')+_0x1cd3('0x3e40')+_0x1cd3('0x6259')+_0x1cd3('0x3e42')+_0x1cd3('0x625a')+_0x1cd3('0x386f')+_0x1cd3('0x3e44')+_0x1cd3('0x3e45')+_0x1cd3('0x619f')+_0x1cd3('0x61a0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x1cd3('0x3e47')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20disabled\x20\x0a'+_0x1cd3('0x3dff')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20key\x0a'+_0x1cd3('0x61a3')+_0x1cd3('0x3e80')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x3f98')+_0x1cd3('0x3b24')+_0x1cd3('0x61a5')+_0x1cd3('0x3756')+_0x1cd3('0x3f99')+_0x1cd3('0x61a6')+_0x1cd3('0x3756')+_0x1cd3('0x39ea')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x625b')+_0x1cd3('0x61ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+_0x1cd3('0x3a6f')+_0x1cd3('0x3e91')+_0x1cd3('0x3e92')+_0x1cd3('0x3acc')+_0x1cd3('0x61ae')+_0x1cd3('0x3f9c')+_0x1cd3('0x3b24')+_0x1cd3('0x61b0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3acf')+_0x1cd3('0x61b1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CSCTelecom\x0a'+_0x1cd3('0x625f')+_0x1cd3('0x3a4d')+_0x1cd3('0x61bf')+_0x1cd3('0x3acc')+_0x1cd3('0x4347')+_0x1cd3('0x3b24')+_0x1cd3('0x61c1')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x61c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Phone\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x61c5')+_0x1cd3('0x61c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6261')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x6262')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AuthID\x0a'+_0x1cd3('0x61c8')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6263')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x61ca')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AuthToken\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AuthToken\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x61d0')+_0x1cd3('0x61d1')+_0x1cd3('0x6265')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Basic\x0a'+_0x1cd3('0x6266')+_0x1cd3('0x3a4d')+_0x1cd3('0x61d3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x61d6')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x61d7')+_0x1cd3('0x61d8')+_0x1cd3('0x61d9')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Username\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x61db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Password\x0a'+_0x1cd3('0x6268')+_0x1cd3('0x61dd')+_0x1cd3('0x5040')+_0x1cd3('0x3b24')+_0x1cd3('0x61df')+_0x1cd3('0x3756')+_0x1cd3('0x3cec')+_0x1cd3('0x61e0')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3ed3')+_0x1cd3('0x61e1')+_0x1cd3('0x61e2')+_0x1cd3('0x61e3')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x6269')+_0x1cd3('0x3b24')+_0x1cd3('0x61e5')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x626a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ApiKey\x0a'+_0x1cd3('0x61e6')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x519b')+_0x1cd3('0x3b24')+_0x1cd3('0x626b')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x626c')+_0x1cd3('0x626d')+_0x1cd3('0x626e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-maxlength=\x2211\x22\x20\x0a'+_0x1cd3('0x626f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x6270')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6271')+_0x1cd3('0x3756')+_0x1cd3('0x3e03')+_0x1cd3('0x6272')+_0x1cd3('0x3756')+_0x1cd3('0x3f99')+_0x1cd3('0x6273')+_0x1cd3('0x3756')+_0x1cd3('0x39ea')+_0x1cd3('0x36aa')+_0x1cd3('0x6274')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20deliveryReport\x0a'+_0x1cd3('0x3ed3')+_0x1cd3('0x3870')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WaitForTheAssignedAgent\x0a'+_0x1cd3('0x6275')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e0d')+_0x1cd3('0x3e0e')+_0x1cd3('0x39e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fa2')+_0x1cd3('0x3b24')+_0x1cd3('0x6276')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WaitForTheAssignedAgent\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e13')+_0x1cd3('0x6277')+_0x1cd3('0x3e12')+_0x1cd3('0x3e15')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x61e8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x61eb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x6278')+_0x1cd3('0x6279')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5d9b')+_0x1cd3('0x5d9c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x54d8')+_0x1cd3('0x627a')+_0x1cd3('0x5d9f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x627b')+_0x1cd3('0x6279')+_0x1cd3('0x627c')+_0x1cd3('0x5d9b')+_0x1cd3('0x5d9c')+_0x1cd3('0x627d')+_0x1cd3('0x54d8')+_0x1cd3('0x627e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fa6')+_0x1cd3('0x3e51')+_0x1cd3('0x627f')+_0x1cd3('0x3e42')+_0x1cd3('0x6280')+_0x1cd3('0x386f')+_0x1cd3('0x3fa9')+_0x1cd3('0x3e45')+_0x1cd3('0x6281')+_0x1cd3('0x3ed3')+_0x1cd3('0x3870')+_0x1cd3('0x3acf')+_0x1cd3('0x6282')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3870')+_0x1cd3('0x3fab')+_0x1cd3('0x6283')+_0x1cd3('0x6284')+_0x1cd3('0x366a')+_0x1cd3('0x3ed3')+_0x1cd3('0x3fa6')+_0x1cd3('0x3e51')+_0x1cd3('0x6285')+_0x1cd3('0x3e42')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TRANSFER\x0a'+_0x1cd3('0x386f')+_0x1cd3('0x3faf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6286')+_0x1cd3('0x3ed3')+_0x1cd3('0x3870')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6287')+_0x1cd3('0x6288')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e0d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20max=\x222147483\x22\x20\x20\x0a'+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4da7')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20queueTransferTimeout\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+_0x1cd3('0x6289')+_0x1cd3('0x3e12')+_0x1cd3('0x3e13')+_0x1cd3('0x628a')+_0x1cd3('0x3e12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x628b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x628c')+_0x1cd3('0x628d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x561f')+_0x1cd3('0x3b24')+_0x1cd3('0x628e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4e')+_0x1cd3('0x628f')+_0x1cd3('0x3e12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20agentTransferTimeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x202147483\x0a'+_0x1cd3('0x3e12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fa6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e3d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADVANCED\x0a'+_0x1cd3('0x3e3f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e42')+_0x1cd3('0x6290')+_0x1cd3('0x386f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e45')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20token\x0a'+_0x1cd3('0x6291')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20disabled\x20\x0a'+_0x1cd3('0x3dff')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5db5')+_0x1cd3('0x3b24')+_0x1cd3('0x6292')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x6293')+_0x1cd3('0x61a7')+_0x1cd3('0x3e85')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x61a8')+_0x1cd3('0x6294')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MotionProxy\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3e87')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MotionProxy\x20must\x20be\x20a\x20valid\x20url\x20http://www.xcally.com\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3e89')+_0x1cd3('0x61ac')+_0x1cd3('0x3756')+_0x1cd3('0x39ea')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x3fa6')+_0x1cd3('0x3e51')+_0x1cd3('0x6295')+_0x1cd3('0x3e42')+_0x1cd3('0x6296')+_0x1cd3('0x386f')+_0x1cd3('0x3fd3')+_0x1cd3('0x3e45')+_0x1cd3('0x6297')+_0x1cd3('0x3ed3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6298')+_0x1cd3('0x6299')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fd8')+_0x1cd3('0x3b24')+_0x1cd3('0x629a')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ed3')+_0x1cd3('0x3fa6')+_0x1cd3('0x3e51')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e52')+_0x1cd3('0x3fda')+_0x1cd3('0x3e3d')+_0x1cd3('0x629b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e40')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x629c')+_0x1cd3('0x629d')+_0x1cd3('0x4118')+'\x20\x20\x20\x20\x20\x20SmsDispositions\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x411b')+_0x1cd3('0x629e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20smsDisposition\x22\x20translate\x20translate-attr-label=\x22SMS.ADD_SMSDISPOSITION\x22>\x0a'+_0x1cd3('0x411d')+_0x1cd3('0x4104')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x415d')+'\x20\x20\x0a'+_0x1cd3('0x411f')+_0x1cd3('0x629f')+_0x1cd3('0x3b5a')+_0x1cd3('0x62a0')+_0x1cd3('0x4121')+_0x1cd3('0x415a')+_0x1cd3('0x62a1')+_0x1cd3('0x62a2')+_0x1cd3('0x4177')+_0x1cd3('0x3d24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x415d')+_0x1cd3('0x4123')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x62a3')+_0x1cd3('0x4160')+_0x1cd3('0x4126')+_0x1cd3('0x62a4')+_0x1cd3('0x4128')+_0x1cd3('0x45b9')+_0x1cd3('0x62a5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x412c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.CREATED_AT\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x412e')+_0x1cd3('0x412f')+_0x1cd3('0x417f')+_0x1cd3('0x4130')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x62a6')+_0x1cd3('0x62a7')+_0x1cd3('0x4133')+_0x1cd3('0x62a8')+_0x1cd3('0x62a9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x62aa')+_0x1cd3('0x62ab')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4166')+_0x1cd3('0x413f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4141')+_0x1cd3('0x4185')+'\x20\x0a'+_0x1cd3('0x4167')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20SmsDisposition\x0a'+_0x1cd3('0x4145')+_0x1cd3('0x4146')+_0x1cd3('0x4147')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20SmsDisposition\x0a'+_0x1cd3('0x3a52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x414a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x414b')+_0x1cd3('0x412f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x416b')+_0x1cd3('0x414d')+_0x1cd3('0x62ac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4150')+_0x1cd3('0x412f')+_0x1cd3('0x4151')+_0x1cd3('0x4152')+_0x1cd3('0x416d')+_0x1cd3('0x62ad')+_0x1cd3('0x3824')+'\x0a'+_0x1cd3('0x3e51')+_0x1cd3('0x3fba')+_0x1cd3('0x3e52')+_0x1cd3('0x3fda')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x62ae')+_0x1cd3('0x3e3f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x62af')+_0x1cd3('0x62b0')+_0x1cd3('0x62b1')+_0x1cd3('0x4118')+_0x1cd3('0x62b2')+_0x1cd3('0x411a')+_0x1cd3('0x411b')+_0x1cd3('0x62b3')+_0x1cd3('0x62b4')+_0x1cd3('0x411d')+_0x1cd3('0x4104')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x0a'+'\x20\x20\x0a'+_0x1cd3('0x411f')+_0x1cd3('0x62b5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4121')+_0x1cd3('0x415a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4177')+_0x1cd3('0x3d24')+_0x1cd3('0x3f1c')+_0x1cd3('0x415d')+_0x1cd3('0x4123')+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4160')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x62a4')+_0x1cd3('0x4128')+_0x1cd3('0x417a')+_0x1cd3('0x62b6')+_0x1cd3('0x4128')+_0x1cd3('0x417c')+_0x1cd3('0x62b7')+_0x1cd3('0x4128')+_0x1cd3('0x417d')+_0x1cd3('0x62b8')+_0x1cd3('0x4128')+_0x1cd3('0x412c')+_0x1cd3('0x62b9')+_0x1cd3('0x4128')+_0x1cd3('0x412e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x417f')+_0x1cd3('0x4130')+_0x1cd3('0x62ba')+'>\x0a'+_0x1cd3('0x62bb')+_0x1cd3('0x62bc')+_0x1cd3('0x4133')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{smsCannedAnswer.key}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x62bd')+_0x1cd3('0x62be')+_0x1cd3('0x4133')+_0x1cd3('0x62bd')+_0x1cd3('0x62bf')+_0x1cd3('0x4133')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20smsCannedAnswer.createdAt\x20|\x20formatdate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4166')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x0a'+_0x1cd3('0x4167')+_0x1cd3('0x4142')+_0x1cd3('0x62c0')+_0x1cd3('0x62c1')+_0x1cd3('0x4145')+_0x1cd3('0x4146')+_0x1cd3('0x4147')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x62c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4149')+_0x1cd3('0x414a')+_0x1cd3('0x4189')+_0x1cd3('0x414b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x62c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x414d')+_0x1cd3('0x62c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4150')+_0x1cd3('0x412f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x416d')+_0x1cd3('0x62c5')+_0x1cd3('0x3824')+'\x0a'+_0x1cd3('0x3e51')+_0x1cd3('0x3fba')+_0x1cd3('0x3e52')+_0x1cd3('0x3fda')+_0x1cd3('0x3e3d')+_0x1cd3('0x62c6')+_0x1cd3('0x3e3f')+_0x1cd3('0x3e40')+_0x1cd3('0x62c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x0a'+_0x1cd3('0x4198')+_0x1cd3('0x5687')+_0x1cd3('0x4199')+_0x1cd3('0x419a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x419c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x419e')+_0x1cd3('0x37bd')+_0x1cd3('0x419f')+_0x1cd3('0x41a0')+_0x1cd3('0x4e07')+_0x1cd3('0x62c8')+_0x1cd3('0x41a2')+_0x1cd3('0x419e')+_0x1cd3('0x41a3')+_0x1cd3('0x3824')+_0x1cd3('0x41a4')+_0x1cd3('0x41a5')+_0x1cd3('0x41a6')+_0x1cd3('0x41a7')+_0x1cd3('0x62c9')+_0x1cd3('0x411f')+'\x20\x20\x20\x20\x20\x20\x20\x20Drag\x20&\x20Drop\x20Routing\x0a'+_0x1cd3('0x3b5a')+_0x1cd3('0x41a9')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3947')+_0x1cd3('0x62ca')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x62cb')+_0x1cd3('0x3b5a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41ad')+_0x1cd3('0x36ed')+_0x1cd3('0x3d1d')+_0x1cd3('0x3947')+'\x0a'+_0x1cd3('0x5dfb')+_0x1cd3('0x4758')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41af')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41b1')+_0x1cd3('0x41b2')+_0x1cd3('0x41b3')+_0x1cd3('0x41b4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41b6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4e10')+_0x1cd3('0x4e11')+_0x1cd3('0x41b4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4e12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41b1')+_0x1cd3('0x41b1')+_0x1cd3('0x41b7')+_0x1cd3('0x425a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x62cc')+_0x1cd3('0x41ba')+_0x1cd3('0x568c')+_0x1cd3('0x4150')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{app.priority}}\x0a'+_0x1cd3('0x62cd')+_0x1cd3('0x62ce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{app.IntervalId\x20?\x20\x27From\x20List\x27\x20:\x20app.interval}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41be')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41c0')+_0x1cd3('0x4e17')+_0x1cd3('0x41c1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41c2')+_0x1cd3('0x3a49')+_0x1cd3('0x5e01')+_0x1cd3('0x3a4c')+_0x1cd3('0x395d')+'\x0a'+_0x1cd3('0x3b04')+_0x1cd3('0x41c3')+_0x1cd3('0x62cf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20App\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a53')+_0x1cd3('0x41c3')+_0x1cd3('0x41c4')+_0x1cd3('0x41c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a53')+_0x1cd3('0x4e19')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20App\x0a'+_0x1cd3('0x3a52')+_0x1cd3('0x3a53')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41c9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41cb')+_0x1cd3('0x4e1b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x42bf')+_0x1cd3('0x41cc')+'\x0a'+_0x1cd3('0x41cd')+'\x0a'+_0x1cd3('0x4e1c')+'\x0a'+_0x1cd3('0x41ce')+_0x1cd3('0x376e')+'\x0a'+_0x1cd3('0x376e')+'\x0a'+_0x1cd3('0x3e51')+_0x1cd3('0x3fba')+_0x1cd3('0x3e52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e3d')+_0x1cd3('0x62d0')+_0x1cd3('0x3e3f')+_0x1cd3('0x3e40')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x62d1')+_0x1cd3('0x62d2')+_0x1cd3('0x4118')+_0x1cd3('0x62d3')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x411b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41d1')+_0x1cd3('0x4e1f')+_0x1cd3('0x41d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22DASHBOARDS.FILTER\x22\x20ng-click=\x22vm_dc.openAdvancedSearch()\x22>\x0a'+_0x1cd3('0x41d4')+_0x1cd3('0x4e20')+_0x1cd3('0x36ed')+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x62d5')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x62d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x62d7')+_0x1cd3('0x4121')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x62d8')+_0x1cd3('0x62a2')+_0x1cd3('0x4177')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f1c')+_0x1cd3('0x415d')+'\x20\x20\x0a'+_0x1cd3('0x62d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4160')+_0x1cd3('0x4126')+_0x1cd3('0x62a4')+_0x1cd3('0x4128')+_0x1cd3('0x41db')+_0x1cd3('0x41dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41db')+_0x1cd3('0x41dd')+_0x1cd3('0x41db')+_0x1cd3('0x41dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x62da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x412c')+_0x1cd3('0x62db')+_0x1cd3('0x4128')+_0x1cd3('0x4e2d')+_0x1cd3('0x62dc')+_0x1cd3('0x4128')+_0x1cd3('0x41e0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.STATUS\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4e2a')+_0x1cd3('0x62dd')+_0x1cd3('0x4128')+_0x1cd3('0x41e2')+_0x1cd3('0x62de')+_0x1cd3('0x4128')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x412f')+_0x1cd3('0x417f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x62df')+_0x1cd3('0x41e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{interaction.id}}\x0a'+_0x1cd3('0x4133')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41e8')+_0x1cd3('0x41e9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41ea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20,\x20\x0a'+_0x1cd3('0x4202')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3951')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41ef')+_0x1cd3('0x41f0')+_0x1cd3('0x3f1c')+_0x1cd3('0x3951')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41f2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3951')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41f3')+_0x1cd3('0x41f4')+'\x20\x20\x20\x20\x20\x20\x20\x20layout-margin>{{\x20interaction.contactName\x20}}\x0a'+_0x1cd3('0x41f6')+_0x1cd3('0x41f7')+_0x1cd3('0x376e')+_0x1cd3('0x4133')+_0x1cd3('0x41f8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20interaction.createdAt\x20|\x20formatdate\x20}}\x0a'+_0x1cd3('0x413e')+_0x1cd3('0x41fa')+_0x1cd3('0x56a4')+_0x1cd3('0x41fb')+_0x1cd3('0x41fc')+_0x1cd3('0x4283')+_0x1cd3('0x41fd')+_0x1cd3('0x41fe')+_0x1cd3('0x36b7')+_0x1cd3('0x3f1c')+_0x1cd3('0x413e')+_0x1cd3('0x4e34')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell>\x0a'+_0x1cd3('0x4200')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.OPENED\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4e36')+_0x1cd3('0x4e37')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4e38')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.CLOSED\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4204')+_0x1cd3('0x4205')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4206')+_0x1cd3('0x4133')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4207')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{interaction.Owner.name}}\x0a'+_0x1cd3('0x4133')+_0x1cd3('0x4208')+_0x1cd3('0x4209')+_0x1cd3('0x4e3a')+_0x1cd3('0x420a')+_0x1cd3('0x420b')+_0x1cd3('0x56a6')+_0x1cd3('0x420c')+_0x1cd3('0x4e3b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x420d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x62e0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4185')+'\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x420e')+_0x1cd3('0x62e1')+_0x1cd3('0x4210')+_0x1cd3('0x3a52')+_0x1cd3('0x4149')+_0x1cd3('0x4211')+_0x1cd3('0x62e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Download\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4216')+_0x1cd3('0x62e3')+_0x1cd3('0x4217')+_0x1cd3('0x3a52')+_0x1cd3('0x4149')+_0x1cd3('0x414a')+_0x1cd3('0x4189')+_0x1cd3('0x414b')+_0x1cd3('0x412f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4219')+_0x1cd3('0x414d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20interaction\x20available\x0a'+_0x1cd3('0x414f')+_0x1cd3('0x4150')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4151')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x416d')+_0x1cd3('0x62e4')+_0x1cd3('0x3824')+'\x0a'+_0x1cd3('0x3e51')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e52')+_0x1cd3('0x3e53')+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a66')+'\x0a'+_0x1cd3('0x376e'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x26d'),_0x1cd3('0x62e5')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ff')+'\x0a'+_0x1cd3('0x3add')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a00')+_0x1cd3('0x3ade')+_0x1cd3('0x62e6')+_0x1cd3('0x38f9')+_0x1cd3('0x62e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x3ae1')+'\x0a'+_0x1cd3('0x3ae2')+_0x1cd3('0x3ae3')+_0x1cd3('0x3a02')+_0x1cd3('0x3a03')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a04')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36c2')+_0x1cd3('0x366a')+_0x1cd3('0x3ae5')+_0x1cd3('0x3756')+_0x1cd3('0x3686')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a07')+_0x1cd3('0x62e8')+_0x1cd3('0x3a09')+'\x0a'+_0x1cd3('0x62e9')+_0x1cd3('0x3a0b')+_0x1cd3('0x3ae8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Back\x0a'+_0x1cd3('0x3671')+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x3a0c')+'\x0a'+_0x1cd3('0x3a0d')+_0x1cd3('0x62ea')+_0x1cd3('0x62eb')+_0x1cd3('0x62ec')+_0x1cd3('0x38f9')+'\x0a'+_0x1cd3('0x3aeb')+_0x1cd3('0x3a11')+_0x1cd3('0x3a12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22multi\x20select\x20toggle\x22\x0a'+_0x1cd3('0x62ed')+_0x1cd3('0x3a14')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a15')+_0x1cd3('0x3a16')+_0x1cd3('0x62ee')+_0x1cd3('0x3c2e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3aee')+_0x1cd3('0x3a16')+_0x1cd3('0x62ef')+_0x1cd3('0x3a19')+_0x1cd3('0x3849')+_0x1cd3('0x3aee')+_0x1cd3('0x3a1a')+_0x1cd3('0x3aef')+_0x1cd3('0x366a')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x62f0')+_0x1cd3('0x3a1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x62f1')+_0x1cd3('0x62f2')+_0x1cd3('0x3a20')+_0x1cd3('0x3859')+_0x1cd3('0x3841')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a21')+'\x0a'+_0x1cd3('0x3a22')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3af1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x62f3')+_0x1cd3('0x3a27')+_0x1cd3('0x3af3')+_0x1cd3('0x62f4')+_0x1cd3('0x62f5')+_0x1cd3('0x3a2a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x62f6')+_0x1cd3('0x62f7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.KEY\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x62f8')+_0x1cd3('0x62f9')+_0x1cd3('0x62fa')+_0x1cd3('0x62fb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a34')+_0x1cd3('0x3db3')+_0x1cd3('0x3a35')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x62fc')+_0x1cd3('0x3a3a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a34')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x62fd')+_0x1cd3('0x62fe')+_0x1cd3('0x62ff')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22id\x20\x22\x20>{{smsAccount.id}}\x0a'+_0x1cd3('0x6300')+_0x1cd3('0x6301')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.arraytype[smsAccount.type].option\x20}}\x0a'+_0x1cd3('0x6304')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22phone\x20\x22\x20>{{smsAccount.phone}}\x0a'+_0x1cd3('0x6300')+_0x1cd3('0x6305')+_0x1cd3('0x3b02')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a49')+'\x0a'+_0x1cd3('0x3a4a')+_0x1cd3('0x6306')+_0x1cd3('0x3a4c')+_0x1cd3('0x395d')+'\x0a'+_0x1cd3('0x3b04')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3a4f')+'\x0a'+_0x1cd3('0x6307')+_0x1cd3('0x6308')+_0x1cd3('0x6309')+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3ce1')+'\x0a'+_0x1cd3('0x630a')+_0x1cd3('0x630b')+_0x1cd3('0x630c')+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3ce1')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x630f')+_0x1cd3('0x6310')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20SmsAccount\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x369a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x0a'+_0x1cd3('0x3a34')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a5e')+_0x1cd3('0x3a5f')+'\x0a'+_0x1cd3('0x6311')+_0x1cd3('0x3a61')+_0x1cd3('0x6312')+_0x1cd3('0x3a63')+'\x0a'+_0x1cd3('0x3a64')+_0x1cd3('0x36f6')+_0x1cd3('0x3a65')+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a66')+'\x0a'+_0x1cd3('0x6313')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3666')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x0a'+_0x1cd3('0x6318')+_0x1cd3('0x39e1')+_0x1cd3('0x3e46')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x1cd3('0x6319')+_0x1cd3('0x3dff')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x631a')+_0x1cd3('0x631b')+_0x1cd3('0x3b24')+_0x1cd3('0x61a2')+_0x1cd3('0x3756')+_0x1cd3('0x3e03')+_0x1cd3('0x631c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x631d')+_0x1cd3('0x631e')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6f')+_0x1cd3('0x3e07')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e08')+_0x1cd3('0x3e09')+_0x1cd3('0x3a4d')+_0x1cd3('0x3e0a')+_0x1cd3('0x3acc')+_0x1cd3('0x631f')+_0x1cd3('0x3b24')+_0x1cd3('0x6320')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6321')+_0x1cd3('0x6322')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e0d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20max=\x222147483\x22\x20\x20\x0a'+_0x1cd3('0x39e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent_Timeout\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+_0x1cd3('0x6323')+_0x1cd3('0x3e12')+_0x1cd3('0x3e13')+_0x1cd3('0x6324')+_0x1cd3('0x3e12')+_0x1cd3('0x3e15')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x61e8')+_0x1cd3('0x6325')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6326')+_0x1cd3('0x3b24')+_0x1cd3('0x61eb')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x39ef')+_0x1cd3('0x388f')+_0x1cd3('0x6327')+_0x1cd3('0x3ad7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22smsQueueForm.$invalid\x20||\x20smsQueueForm.$pristine\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22SMS.SAVE\x22\x20translate-attr-aria-label=\x22SMS.SAVE\x22>\x0a'+_0x1cd3('0x39f3')+_0x1cd3('0x39f4')+'\x0a'+_0x1cd3('0x6328')+_0x1cd3('0x39f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22smsQueueForm.$invalid\x22\x0a'+_0x1cd3('0x6329')+_0x1cd3('0x632a')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x39fa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d4f')+_0x1cd3('0x632c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+_0x1cd3('0x366c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e22')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3675')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x20be'),'\x0a'+_0x1cd3('0x632d')+_0x1cd3('0x3e1f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x632e')+_0x1cd3('0x3d50')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e21')+_0x1cd3('0x366f')+_0x1cd3('0x3e26')+_0x1cd3('0x3e22')+_0x1cd3('0x3e27')+_0x1cd3('0x3ba9')+_0x1cd3('0x3671')+_0x1cd3('0x3675')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x384d'));_0x404b17['put'](_0x1cd3('0x26c'),_0x1cd3('0x632f')+'\x0a'+_0x1cd3('0x3adc')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6330')+_0x1cd3('0x6331')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22SMS.GO_TO_SMSQUEUES\x22>\x0a'+_0x1cd3('0x3ba1')+_0x1cd3('0x3671')+'\x0a'+_0x1cd3('0x388f')+'\x0a'+_0x1cd3('0x6332')+_0x1cd3('0x6333')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x3ba2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.smsQueue.id}}\x0a'+_0x1cd3('0x6334')+_0x1cd3('0x3756')+_0x1cd3('0x3ba6')+_0x1cd3('0x6335')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39ee')+_0x1cd3('0x3e31')+_0x1cd3('0x6336')+_0x1cd3('0x3e33')+_0x1cd3('0x4e87')+_0x1cd3('0x6337')+_0x1cd3('0x3e35')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e31')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x6339')+_0x1cd3('0x3e3b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a22')+_0x1cd3('0x3e3c')+'\x0a'+_0x1cd3('0x3baa')+_0x1cd3('0x3fda')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6258')+_0x1cd3('0x3e3f')+_0x1cd3('0x3e40')+_0x1cd3('0x633a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x625a')+_0x1cd3('0x386f')+_0x1cd3('0x3e44')+_0x1cd3('0x3e45')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x0a'+_0x1cd3('0x6318')+_0x1cd3('0x39e1')+_0x1cd3('0x3e46')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+_0x1cd3('0x3e47')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20disabled\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x631a')+_0x1cd3('0x3e49')+_0x1cd3('0x3b24')+_0x1cd3('0x61a2')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x631c')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x631d')+_0x1cd3('0x631e')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x3a6f')+_0x1cd3('0x3e07')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e08')+_0x1cd3('0x3e09')+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>RR\x20Memory\x0a'+_0x1cd3('0x3acc')+_0x1cd3('0x3e4b')+_0x1cd3('0x3b24')+_0x1cd3('0x6320')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3acf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent_Timeout\x0a'+_0x1cd3('0x6322')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x221\x22\x20\x20\x20\x0a'+_0x1cd3('0x3e0e')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x3f9e')+_0x1cd3('0x3b24')+_0x1cd3('0x633b')+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+_0x1cd3('0x6323')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e13')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent_Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x202147483\x0a'+_0x1cd3('0x3e12')+_0x1cd3('0x3e15')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x0a'+_0x1cd3('0x6325')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x3e4f')+_0x1cd3('0x3b24')+_0x1cd3('0x61eb')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x3fa6')+_0x1cd3('0x3e51')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e52')+_0x1cd3('0x3e53')+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a66')+'\x0a'+'\x0a');_0x404b17['put'](_0x1cd3('0x268'),_0x1cd3('0x633c')+'\x0a'+_0x1cd3('0x3adc')+_0x1cd3('0x39ff')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x37e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38f9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SmsQueues\x0a'+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae1')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae3')+_0x1cd3('0x3a02')+_0x1cd3('0x3a03')+_0x1cd3('0x3ae4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a05')+_0x1cd3('0x633d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x3ae5')+_0x1cd3('0x3756')+_0x1cd3('0x3686')+_0x1cd3('0x3ae6')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x633e')+_0x1cd3('0x3a09')+'\x0a'+_0x1cd3('0x633f')+_0x1cd3('0x3a0b')+_0x1cd3('0x3ae8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Back\x0a'+_0x1cd3('0x3671')+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x3a0c')+'\x0a'+_0x1cd3('0x3a0d')+_0x1cd3('0x6340')+_0x1cd3('0x6341')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20selected\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a11')+_0x1cd3('0x3a12')+_0x1cd3('0x3aec')+_0x1cd3('0x62ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a15')+_0x1cd3('0x3a16')+_0x1cd3('0x6342')+_0x1cd3('0x3c2e')+_0x1cd3('0x3849')+_0x1cd3('0x3aee')+_0x1cd3('0x3a16')+_0x1cd3('0x6343')+_0x1cd3('0x3a19')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3aee')+_0x1cd3('0x3a1a')+_0x1cd3('0x3aef')+_0x1cd3('0x366a')+'\x0a'+_0x1cd3('0x3a1b')+_0x1cd3('0x6344')+_0x1cd3('0x3a1d')+_0x1cd3('0x3a1e')+_0x1cd3('0x6345')+_0x1cd3('0x62f2')+_0x1cd3('0x3a20')+_0x1cd3('0x3859')+_0x1cd3('0x3841')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a21')+'\x0a'+_0x1cd3('0x3a22')+_0x1cd3('0x3a23')+'\x0a'+_0x1cd3('0x3af1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a25')+_0x1cd3('0x6346')+_0x1cd3('0x3a27')+_0x1cd3('0x3af3')+_0x1cd3('0x6347')+_0x1cd3('0x6348')+_0x1cd3('0x3a2a')+_0x1cd3('0x3a2b')+_0x1cd3('0x62f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.NAME\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x6349')+_0x1cd3('0x3a33')+_0x1cd3('0x3a34')+_0x1cd3('0x3db3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x634a')+_0x1cd3('0x42f9')+_0x1cd3('0x3a38')+_0x1cd3('0x62fc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3af8')+_0x1cd3('0x3a34')+_0x1cd3('0x634b')+_0x1cd3('0x634c')+_0x1cd3('0x634d')+_0x1cd3('0x634e')+_0x1cd3('0x634f')+_0x1cd3('0x6350')+_0x1cd3('0x6351')+_0x1cd3('0x6352')+_0x1cd3('0x6353')+_0x1cd3('0x4ea3')+'\x0a'+_0x1cd3('0x3cdd')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a4a')+_0x1cd3('0x6306')+_0x1cd3('0x3a4c')+_0x1cd3('0x395d')+'\x0a'+_0x1cd3('0x3b04')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a54')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3a4f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20SmsQueue\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3ce1')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6354')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3ce1')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3a5a')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a5f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a61')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a63')+'\x0a'+_0x1cd3('0x3a64')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a65')+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a66')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x635a')+_0x1cd3('0x635b')+_0x1cd3('0x3b0f')+_0x1cd3('0x376d')+_0x1cd3('0x635c')+_0x1cd3('0x3686'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x286'),_0x1cd3('0x635d')+'\x0a'+_0x1cd3('0x3adc')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3add')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a00')+_0x1cd3('0x3ade')+_0x1cd3('0x436b')+_0x1cd3('0x38f9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agents\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a02')+_0x1cd3('0x3a03')+_0x1cd3('0x3ae4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x635e')+_0x1cd3('0x36c2')+_0x1cd3('0x366a')+_0x1cd3('0x3ae5')+_0x1cd3('0x3756')+_0x1cd3('0x3686')+_0x1cd3('0x3ae6')+'\x0a'+_0x1cd3('0x3a07')+_0x1cd3('0x635f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22>\x0a'+'\x0a'+_0x1cd3('0x6360')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae8')+_0x1cd3('0x6361')+_0x1cd3('0x3671')+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x3a0c')+'\x0a'+_0x1cd3('0x3a0d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6362')+_0x1cd3('0x6363')+_0x1cd3('0x38f9')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a11')+_0x1cd3('0x3a12')+_0x1cd3('0x3aec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22STAFF.MULTI_SELECT_TOGGLE\x22>\x0a'+_0x1cd3('0x3a14')+_0x1cd3('0x367d')+_0x1cd3('0x3a15')+_0x1cd3('0x3a16')+_0x1cd3('0x6364')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Select\x20all\x0a'+_0x1cd3('0x3849')+_0x1cd3('0x3aee')+_0x1cd3('0x3a16')+_0x1cd3('0x6365')+_0x1cd3('0x3a19')+_0x1cd3('0x3849')+_0x1cd3('0x3aee')+_0x1cd3('0x3a1a')+_0x1cd3('0x3aef')+_0x1cd3('0x366a')+'\x0a'+_0x1cd3('0x3a1b')+_0x1cd3('0x6366')+_0x1cd3('0x3a1d')+_0x1cd3('0x3a1e')+_0x1cd3('0x6367')+_0x1cd3('0x6368')+_0x1cd3('0x3a20')+_0x1cd3('0x3859')+_0x1cd3('0x3841')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a21')+'\x0a'+_0x1cd3('0x3a22')+_0x1cd3('0x3a23')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a24')+'\x0a'+_0x1cd3('0x3a25')+_0x1cd3('0x6369')+_0x1cd3('0x3a27')+_0x1cd3('0x3af3')+_0x1cd3('0x636a')+_0x1cd3('0x636b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x636c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27STAFF.USERNAME\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x636d')+_0x1cd3('0x636e')+_0x1cd3('0x636f')+_0x1cd3('0x6370')+_0x1cd3('0x6371')+_0x1cd3('0x6372')+_0x1cd3('0x6373')+_0x1cd3('0x3a33')+_0x1cd3('0x3a34')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6374')+_0x1cd3('0x3a37')+_0x1cd3('0x3a38')+_0x1cd3('0x6375')+_0x1cd3('0x3a3a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6376')+_0x1cd3('0x6377')+_0x1cd3('0x6378')+_0x1cd3('0x6379')+_0x1cd3('0x637a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.arrayshowWebBar[agent.showWebBar].option\x20}}\x0a'+_0x1cd3('0x637d')+_0x1cd3('0x637e')+_0x1cd3('0x637f')+_0x1cd3('0x6380')+_0x1cd3('0x637f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22mobile\x20\x22\x20>{{agent.mobile}}\x0a'+_0x1cd3('0x637f')+_0x1cd3('0x6381')+_0x1cd3('0x6382')+_0x1cd3('0x6383')+_0x1cd3('0x6384')+_0x1cd3('0x6385')+_0x1cd3('0x3dc8')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a49')+'\x0a'+_0x1cd3('0x3a4a')+_0x1cd3('0x6386')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x395d')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x638c')+_0x1cd3('0x638d')+_0x1cd3('0x638e')+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+_0x1cd3('0x3699')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3951')+'\x0a'+'\x0a'+_0x1cd3('0x3a34')+_0x1cd3('0x3a5d')+_0x1cd3('0x3a5e')+_0x1cd3('0x3a5f')+'\x0a'+_0x1cd3('0x638f')+_0x1cd3('0x3a61')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a63')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a66')+'\x0a'+_0x1cd3('0x6390')+_0x1cd3('0x6391')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20agent\x22\x20translate\x20translate-attr-aria-label=\x22STAFF.ADD_AGENT\x22>\x0a'+_0x1cd3('0x3b0f')+_0x1cd3('0x376d')+_0x1cd3('0x6392')+_0x1cd3('0x3686'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x6393'),_0x1cd3('0x470b')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Fullname\x0a'+_0x1cd3('0x6394')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Fullname\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Username\x0a'+_0x1cd3('0x6395')+_0x1cd3('0x39e1')+_0x1cd3('0x3e46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x6396')+_0x1cd3('0x3dff')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x6397')+_0x1cd3('0x3756')+_0x1cd3('0x3e03')+_0x1cd3('0x6398')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6399')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Alias\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x639b')+_0x1cd3('0x639c')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20External\x0a'+_0x1cd3('0x639f')+_0x1cd3('0x3a4d')+_0x1cd3('0x63a0')+_0x1cd3('0x3acc')+_0x1cd3('0x63a1')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ShowWebControl\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x63a2')+_0x1cd3('0x63a3')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x63a4')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Email\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x4329')+_0x1cd3('0x63a5')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x63a6')+_0x1cd3('0x63a7')+_0x1cd3('0x63a8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-placeholder=\x22STAFF.PASSWORD\x22\x20\x20required\x20\x20>\x0a'+_0x1cd3('0x63a9')+_0x1cd3('0x3b24')+_0x1cd3('0x63aa')+_0x1cd3('0x3756')+_0x1cd3('0x3cec')+_0x1cd3('0x63ab')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3ed3')+_0x1cd3('0x63ac')+_0x1cd3('0x63ad')+_0x1cd3('0x63ae')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Confirm\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x63af')+_0x1cd3('0x63b0')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x3ed3')+_0x1cd3('0x63b1')+_0x1cd3('0x63b2')+_0x1cd3('0x3ed3')+_0x1cd3('0x3870')+_0x1cd3('0x63b3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Internal\x0a'+_0x1cd3('0x63b4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6396')+_0x1cd3('0x3dff')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x63b5')+_0x1cd3('0x3b24')+_0x1cd3('0x63b6')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x63b7')+_0x1cd3('0x63b8')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x63b9')+_0x1cd3('0x3b24')+_0x1cd3('0x63ba')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x63bb')+_0x1cd3('0x63bc')+_0x1cd3('0x3ed3')+_0x1cd3('0x3870')+_0x1cd3('0x63bd')+_0x1cd3('0x63be')+_0x1cd3('0x3ed3')+_0x1cd3('0x3870')+_0x1cd3('0x63bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RemoteControlPort\x0a'+_0x1cd3('0x63c0')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x63c1')+_0x1cd3('0x3b24')+_0x1cd3('0x63c2')+_0x1cd3('0x3756')+_0x1cd3('0x3f9f')+_0x1cd3('0x36aa')+_0x1cd3('0x63c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Voicemail\x0a'+_0x1cd3('0x3ed3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x39ef')+_0x1cd3('0x388f')+_0x1cd3('0x63c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22agentForm.$invalid\x20||\x20agentForm.$pristine\x22\x0a'+_0x1cd3('0x63c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x1cd3('0x39f4')+'\x0a'+_0x1cd3('0x63c6')+_0x1cd3('0x39f6')+_0x1cd3('0x63c7')+_0x1cd3('0x63c8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20AGENT\x0a'+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39fa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a');_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x211b'),_0x1cd3('0x63cb')+_0x1cd3('0x63cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3667')+_0x1cd3('0x63cd')+_0x1cd3('0x63ce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3858')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x3b14')+_0x1cd3('0x3b1f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x3b16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3b18')+_0x1cd3('0x3b19')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+_0x1cd3('0x63cf')+_0x1cd3('0x63d0')+_0x1cd3('0x63d1')+_0x1cd3('0x63d2')+_0x1cd3('0x63d3')+_0x1cd3('0x3b24')+_0x1cd3('0x63aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b28')+_0x1cd3('0x63d4')+_0x1cd3('0x63d5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-pattern=\x22vm.passwordPattern\x22\x20translate-attr-placeholder=\x22STAFF.NEW_PASSWORD\x22\x0a'+_0x1cd3('0x63d6')+_0x1cd3('0x63d7')+_0x1cd3('0x3b24')+_0x1cd3('0x63d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x0a'+_0x1cd3('0x3756')+'\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x3cec')+_0x1cd3('0x63d9')+_0x1cd3('0x63da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20character\x20and\x201\x20special\x20character\x20~!?*@#$%^&-_=+[{]}.\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x63db')+_0x1cd3('0x63dc')+_0x1cd3('0x3756')+'\x0a'+_0x1cd3('0x39e1')+'\x0a'+'\x0a'+'\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3b28')+_0x1cd3('0x63ad')+_0x1cd3('0x63dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x63de')+_0x1cd3('0x63df')+_0x1cd3('0x3756')+_0x1cd3('0x63af')+_0x1cd3('0x63e0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20not\x20match\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b15')+_0x1cd3('0x3b16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3b18')+_0x1cd3('0x3b19')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+_0x1cd3('0x366f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x388f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3676'));_0x404b17['put'](_0x1cd3('0x13cc'),_0x1cd3('0x63e3')+_0x1cd3('0x63e4')+_0x1cd3('0x3e1f')+_0x1cd3('0x3d4f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

{{vm.title}}

\x0a'+_0x1cd3('0x3d50')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x63e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Penalty\x0a'+_0x1cd3('0x5a85')+_0x1cd3('0x63e6')+_0x1cd3('0x3b24')+_0x1cd3('0x5a87')+_0x1cd3('0x3756')+_0x1cd3('0x5aa6')+_0x1cd3('0x5a88')+_0x1cd3('0x3756')+_0x1cd3('0x3ec6')+_0x1cd3('0x5a89')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366f')+_0x1cd3('0x3e26')+_0x1cd3('0x3e22')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3675')+'\x20\x20\x20\x20\x0a'+'\x0a');_0x404b17['put'](_0x1cd3('0x20ed'),_0x1cd3('0x63e3')+_0x1cd3('0x63e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x63e7')+_0x1cd3('0x3d50')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x366b')+_0x1cd3('0x366c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366f')+_0x1cd3('0x3e26')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ba9')+_0x1cd3('0x3671')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')]('app/main/apps/staff/views/agents/edit/view.html',_0x1cd3('0x63e8')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b9f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x63e9')+_0x1cd3('0x63ea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22STAFF.GO_TO_AGENTS\x22>\x0a'+_0x1cd3('0x3ba1')+_0x1cd3('0x3671')+'\x0a'+_0x1cd3('0x388f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x63eb')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x3ba2')+_0x1cd3('0x3ba3')+_0x1cd3('0x63ec')+_0x1cd3('0x63ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.agent.createdAt\x20|\x20date:\x27medium\x27}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x63ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x63ef')+_0x1cd3('0x63f0')+_0x1cd3('0x63f1')+_0x1cd3('0x63f2')+_0x1cd3('0x395d')+_0x1cd3('0x63f3')+_0x1cd3('0x63f4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x63f5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x395d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x63f6')+_0x1cd3('0x63f7')+_0x1cd3('0x395d')+_0x1cd3('0x63f8')+_0x1cd3('0x63f9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x395d')+_0x1cd3('0x63fa')+_0x1cd3('0x63fb')+_0x1cd3('0x63fc')+_0x1cd3('0x395d')+_0x1cd3('0x63fd')+_0x1cd3('0x63fe')+_0x1cd3('0x63ff')+_0x1cd3('0x395d')+_0x1cd3('0x6400')+_0x1cd3('0x6401')+_0x1cd3('0x6402')+_0x1cd3('0x395d')+_0x1cd3('0x6403')+_0x1cd3('0x6404')+_0x1cd3('0x6405')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6406')+_0x1cd3('0x6407')+_0x1cd3('0x6408')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6409')+_0x1cd3('0x640a')+_0x1cd3('0x3fc3')+_0x1cd3('0x5496')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x640b')+_0x1cd3('0x3e33')+_0x1cd3('0x4e87')+_0x1cd3('0x640c')+_0x1cd3('0x3e35')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ee')+_0x1cd3('0x54ec')+_0x1cd3('0x640d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22md-fab\x20md-warn\x20md-icon-button\x22\x0a'+_0x1cd3('0x640e')+_0x1cd3('0x640f')+_0x1cd3('0x6410')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x38c3')+_0x1cd3('0x6411')+_0x1cd3('0x3e3b')+_0x1cd3('0x3d24')+_0x1cd3('0x36f6')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae6')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3baa')+_0x1cd3('0x3fda')+_0x1cd3('0x3e3d')+_0x1cd3('0x6412')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x3e40')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e42')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PERSONAL_INFO\x0a'+_0x1cd3('0x386f')+_0x1cd3('0x6413')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6414')+_0x1cd3('0x6394')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x6415')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Fullname\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Username\x0a'+_0x1cd3('0x6395')+_0x1cd3('0x39e1')+_0x1cd3('0x3e46')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e47')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20disabled\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6416')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Username\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3e03')+_0x1cd3('0x6398')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x6399')+_0x1cd3('0x6417')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x6418')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Alias\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x639b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x641b')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x63a2')+_0x1cd3('0x63a3')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Email\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4329')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Email\x20must\x20be\x20a\x20valid\x20e-mail\x20address\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x386e')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x641c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Mobile\x0a'+_0x1cd3('0x641f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6420')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Mobile\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6421')+_0x1cd3('0x3ed3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6422')+_0x1cd3('0x3ed3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3acf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x0a'+_0x1cd3('0x63b8')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6423')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ee')+_0x1cd3('0x3fa6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6424')+_0x1cd3('0x3e42')+_0x1cd3('0x6425')+_0x1cd3('0x386f')+_0x1cd3('0x6426')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Last_Password_Reset_At\x0a'+_0x1cd3('0x6427')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20disabled\x20\x0a'+_0x1cd3('0x3dff')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6428')+_0x1cd3('0x6429')+_0x1cd3('0x3b24')+_0x1cd3('0x642a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x642b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No_Password_Change\x0a'+_0x1cd3('0x6427')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x3e47')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20disabled\x20\x0a'+_0x1cd3('0x3dff')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x6429')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No_Password_Change\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x642c')+_0x1cd3('0x3ed3')+_0x1cd3('0x642d')+_0x1cd3('0x3870')+_0x1cd3('0x642e')+_0x1cd3('0x642f')+_0x1cd3('0x3ed3')+_0x1cd3('0x6430')+_0x1cd3('0x3870')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fa6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6431')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20CHANGE_AVATAR\x0a'+_0x1cd3('0x376e')+_0x1cd3('0x6432')+'\x0a'+_0x1cd3('0x6433')+_0x1cd3('0x4097')+'\x0a'+_0x1cd3('0x4098')+_0x1cd3('0x4099')+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x409a')+_0x1cd3('0x409b')+_0x1cd3('0x409c')+_0x1cd3('0x3671')+_0x1cd3('0x40a5')+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x409d')+_0x1cd3('0x6434')+_0x1cd3('0x6435')+_0x1cd3('0x409f')+_0x1cd3('0x6436')+_0x1cd3('0x40a0')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x6437')+_0x1cd3('0x6438')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x376e')+'\x0a'+_0x1cd3('0x3e51')+_0x1cd3('0x3fba')+_0x1cd3('0x3e52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e3d')+_0x1cd3('0x6439')+_0x1cd3('0x3e3f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GENERAL\x0a'+_0x1cd3('0x386f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x643a')+_0x1cd3('0x643b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x643c')+_0x1cd3('0x3b24')+_0x1cd3('0x63b6')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x643d')+_0x1cd3('0x643e')+_0x1cd3('0x643f')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20multiple\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x6440')+_0x1cd3('0x3a4d')+_0x1cd3('0x6441')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20tcp\x0a'+_0x1cd3('0x6442')+_0x1cd3('0x6443')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>ws\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x6449')+_0x1cd3('0x644a')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x644b')+_0x1cd3('0x5485')+_0x1cd3('0x3b24')+_0x1cd3('0x644c')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x644d')+_0x1cd3('0x644e')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x644f')+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x3a6f')+_0x1cd3('0x6450')+_0x1cd3('0x3a4d')+_0x1cd3('0x6451')+_0x1cd3('0x6452')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6453')+_0x1cd3('0x6454')+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>yes\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20never\x0a'+_0x1cd3('0x6455')+_0x1cd3('0x3a4d')+_0x1cd3('0x6456')+_0x1cd3('0x3acc')+_0x1cd3('0x6457')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x6458')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x6459')+_0x1cd3('0x645a')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+_0x1cd3('0x3a6f')+_0x1cd3('0x645b')+_0x1cd3('0x3a4d')+_0x1cd3('0x645c')+_0x1cd3('0x645d')+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>User\x0a'+_0x1cd3('0x645e')+_0x1cd3('0x3a4d')+_0x1cd3('0x645f')+_0x1cd3('0x3acc')+_0x1cd3('0x6460')+_0x1cd3('0x4347')+_0x1cd3('0x3b24')+_0x1cd3('0x6461')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x6462')+_0x1cd3('0x6463')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x644f')+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x6464')+_0x1cd3('0x3a4d')+_0x1cd3('0x6465')+_0x1cd3('0x6466')+_0x1cd3('0x3a4d')+_0x1cd3('0x6467')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x646d')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CallerId\x0a'+_0x1cd3('0x646e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x646f')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CallerId\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x6470')+_0x1cd3('0x6471')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+_0x1cd3('0x3a6f')+_0x1cd3('0x6472')+_0x1cd3('0x6473')+_0x1cd3('0x3acc')+_0x1cd3('0x6474')+_0x1cd3('0x3b24')+_0x1cd3('0x6475')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3acf')+_0x1cd3('0x6476')+_0x1cd3('0x6477')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x6478')+_0x1cd3('0x6479')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Callgroup\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x647a')+_0x1cd3('0x647b')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x647c')+_0x1cd3('0x647d')+_0x1cd3('0x3b24')+_0x1cd3('0x647e')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x647f')+_0x1cd3('0x3ed3')+_0x1cd3('0x3870')+_0x1cd3('0x3acf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Videosupport\x0a'+_0x1cd3('0x6480')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x3a6f')+_0x1cd3('0x4db3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Yes\x0a'+_0x1cd3('0x3eeb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6481')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x6482')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x6483')+_0x1cd3('0x6484')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x6485')+_0x1cd3('0x3a4d')+_0x1cd3('0x5b56')+_0x1cd3('0x5b57')+_0x1cd3('0x3a4d')+_0x1cd3('0x5b58')+_0x1cd3('0x6486')+_0x1cd3('0x3a4d')+_0x1cd3('0x5b5a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6487')+_0x1cd3('0x3b24')+_0x1cd3('0x6488')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3ed3')+_0x1cd3('0x3fa6')+_0x1cd3('0x3e51')+_0x1cd3('0x3fba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6489')+_0x1cd3('0x3e3f')+_0x1cd3('0x3e40')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e42')+_0x1cd3('0x648a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x648b')+_0x1cd3('0x648c')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x220\x22\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x648d')+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+_0x1cd3('0x648e')+_0x1cd3('0x3e12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x648f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6497')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SMSCapacity\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SMSCapacity\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a'+_0x1cd3('0x3e12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x6498')+_0x1cd3('0x6499')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x649a')+_0x1cd3('0x649b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OpenchannelCapacity\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+_0x1cd3('0x649c')+_0x1cd3('0x3e12')+_0x1cd3('0x3f04')+_0x1cd3('0x36aa')+_0x1cd3('0x649d')+_0x1cd3('0x649e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x649f')+_0x1cd3('0x3b24')+_0x1cd3('0x64a0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4e')+_0x1cd3('0x64a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f04')+_0x1cd3('0x36aa')+_0x1cd3('0x64a2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WhatsappCapacity\x0a'+_0x1cd3('0x64a3')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3ea9')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x64a4')+_0x1cd3('0x64a5')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WhatsappCapacity\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WhatsappCapacity\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f04')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e51')+_0x1cd3('0x3fba')+_0x1cd3('0x3e52')+_0x1cd3('0x64a6')+_0x1cd3('0x3e3d')+_0x1cd3('0x64a7')+_0x1cd3('0x3e3f')+_0x1cd3('0x3e40')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e42')+_0x1cd3('0x64a8')+_0x1cd3('0x386f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e45')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EnableSettings\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3acf')+_0x1cd3('0x64a9')+_0x1cd3('0x3ed3')+_0x1cd3('0x3870')+_0x1cd3('0x64aa')+_0x1cd3('0x64ab')+_0x1cd3('0x64ac')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3ea9')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x64ad')+_0x1cd3('0x3b24')+_0x1cd3('0x64ae')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AutoAnswerDelay\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x64af')+_0x1cd3('0x3ed3')+_0x1cd3('0x3870')+_0x1cd3('0x3acf')+_0x1cd3('0x64b0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3acf')+_0x1cd3('0x64b1')+_0x1cd3('0x3ed3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3acf')+_0x1cd3('0x64b2')+_0x1cd3('0x3ed3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3acf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20UnansweredCallBadge\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3870')+_0x1cd3('0x63bd')+_0x1cd3('0x64b3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3870')+_0x1cd3('0x64b4')+_0x1cd3('0x64b5')+_0x1cd3('0x3ed3')+_0x1cd3('0x3870')+_0x1cd3('0x64b4')+_0x1cd3('0x64b6')+_0x1cd3('0x3ed3')+_0x1cd3('0x64b7')+_0x1cd3('0x3870')+_0x1cd3('0x3ed3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e51')+_0x1cd3('0x64b8')+_0x1cd3('0x3e42')+_0x1cd3('0x64b9')+_0x1cd3('0x386f')+_0x1cd3('0x64ba')+_0x1cd3('0x64bb')+_0x1cd3('0x64bc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3870')+_0x1cd3('0x63bf')+_0x1cd3('0x64bd')+_0x1cd3('0x63c0')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x64be')+_0x1cd3('0x3b24')+_0x1cd3('0x63c2')+_0x1cd3('0x3756')+_0x1cd3('0x3f9f')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x3fa6')+_0x1cd3('0x3e51')+_0x1cd3('0x64bf')+_0x1cd3('0x3e42')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SIP\x0a'+_0x1cd3('0x386f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x64c0')+_0x1cd3('0x64c1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x64c2')+_0x1cd3('0x64c3')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SipExpires\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3f9f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x64c4')+_0x1cd3('0x64c5')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x64c6')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SipPort\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f9f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e51')+_0x1cd3('0x64c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x64c8')+_0x1cd3('0x386f')+_0x1cd3('0x64c9')+_0x1cd3('0x3e45')+_0x1cd3('0x64ca')+_0x1cd3('0x3ed3')+_0x1cd3('0x3870')+_0x1cd3('0x64cb')+_0x1cd3('0x64cc')+_0x1cd3('0x64cd')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x64ce')+_0x1cd3('0x3b24')+_0x1cd3('0x64cf')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ee')+_0x1cd3('0x3fa6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x64d0')+_0x1cd3('0x3e3d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WEBRTC\x0a'+_0x1cd3('0x3e3f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x64d1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x64d2')+_0x1cd3('0x386f')+_0x1cd3('0x64d3')+_0x1cd3('0x3e45')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dtlscertfile\x0a'+_0x1cd3('0x64d4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x64d5')+_0x1cd3('0x3b24')+_0x1cd3('0x64d6')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x64d7')+_0x1cd3('0x64d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x64d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x64da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3870')+_0x1cd3('0x3acf')+_0x1cd3('0x64a9')+_0x1cd3('0x3ed3')+_0x1cd3('0x3870')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x64ab')+_0x1cd3('0x64ac')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3ea9')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x64db')+_0x1cd3('0x3b24')+_0x1cd3('0x64ae')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AutoAnswerDelay\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a'+_0x1cd3('0x3e12')+_0x1cd3('0x3f04')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EnableRecording\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3870')+_0x1cd3('0x3acf')+_0x1cd3('0x64b1')+_0x1cd3('0x3ed3')+_0x1cd3('0x3870')+_0x1cd3('0x3acf')+_0x1cd3('0x64b2')+_0x1cd3('0x3ed3')+_0x1cd3('0x3870')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fa6')+_0x1cd3('0x3e51')+_0x1cd3('0x64dc')+_0x1cd3('0x3e42')+_0x1cd3('0x64dd')+_0x1cd3('0x386f')+_0x1cd3('0x64de')+_0x1cd3('0x3e45')+_0x1cd3('0x64c0')+_0x1cd3('0x64c1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x64c2')+_0x1cd3('0x64df')+_0x1cd3('0x3b24')+_0x1cd3('0x64e0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f9f')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fba')+_0x1cd3('0x3e52')+_0x1cd3('0x3fda')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x64e1')+_0x1cd3('0x3e3f')+_0x1cd3('0x3e40')+_0x1cd3('0x64e2')+_0x1cd3('0x3e42')+_0x1cd3('0x64e3')+_0x1cd3('0x386f')+_0x1cd3('0x64e4')+_0x1cd3('0x3e45')+_0x1cd3('0x64e5')+_0x1cd3('0x3ed3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3acf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PrefixRequired\x0a'+_0x1cd3('0x3ed3')+_0x1cd3('0x3870')+_0x1cd3('0x3ed3')+_0x1cd3('0x3fa6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x64e6')+_0x1cd3('0x3e42')+'\x20\x20\x20\x20PERMISSIONS\x0a'+'\x0a'+_0x1cd3('0x64e7')+_0x1cd3('0x64e8')+'\x0a'+_0x1cd3('0x64e9')+_0x1cd3('0x64ea')+_0x1cd3('0x64eb')+_0x1cd3('0x64ec')+_0x1cd3('0x64ed')+'\x20\x20\x20\x20\x20\x20\x20\x20All\x20modules\x20are\x20already\x20available.\x0a'+'\x0a'+_0x1cd3('0x376e')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fba')+_0x1cd3('0x3e52')+_0x1cd3('0x3e53')+'\x0a'+_0x1cd3('0x3686')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x376e'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x2135'),_0x1cd3('0x64f8')+_0x1cd3('0x64f9')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3858')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x64fa')+_0x1cd3('0x64fb')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x64fc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x64fd')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x63b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x63ba')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x39ef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x64ff')+_0x1cd3('0x3ad7')+_0x1cd3('0x6500')+_0x1cd3('0x63c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x1cd3('0x39f4')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x39fa')+_0x1cd3('0x6504')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22STAFF.DELETE\x22>\x0a'+_0x1cd3('0x3a20')+_0x1cd3('0x63ca')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39fe')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x2136'),_0x1cd3('0x6505')+_0x1cd3('0x6506')+_0x1cd3('0x3e1f')+_0x1cd3('0x3d4f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Add\x20Agent\x20to\x20team\x0a'+_0x1cd3('0x3d50')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366f')+_0x1cd3('0x3e26')+_0x1cd3('0x3e22')+_0x1cd3('0x3e23')+_0x1cd3('0x3ba9')+_0x1cd3('0x3671')+_0x1cd3('0x3675')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x294'),'\x0a'+'\x0a'+_0x1cd3('0x3adc')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3add')+_0x1cd3('0x37e6')+_0x1cd3('0x3a00')+_0x1cd3('0x3ade')+_0x1cd3('0x436b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6507')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae1')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a03')+_0x1cd3('0x3ae4')+_0x1cd3('0x3a04')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x635e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x3ae5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3686')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a07')+_0x1cd3('0x6508')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22>\x0a'+'\x0a'+_0x1cd3('0x6509')+_0x1cd3('0x3a0b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6361')+_0x1cd3('0x3671')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a0c')+'\x0a'+_0x1cd3('0x3a0d')+_0x1cd3('0x650a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedTeams.length}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20selected\x0a'+_0x1cd3('0x38f9')+'\x0a'+_0x1cd3('0x3aeb')+_0x1cd3('0x3a11')+_0x1cd3('0x3a12')+_0x1cd3('0x3aec')+_0x1cd3('0x650b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x367d')+_0x1cd3('0x3a15')+_0x1cd3('0x3a16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Select\x20all\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3aee')+_0x1cd3('0x3a16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Select\x20none\x0a'+_0x1cd3('0x3849')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a1a')+_0x1cd3('0x3aef')+_0x1cd3('0x366a')+'\x0a'+_0x1cd3('0x3a1b')+_0x1cd3('0x650c')+_0x1cd3('0x3a1d')+_0x1cd3('0x3a1e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a21')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a23')+'\x0a'+_0x1cd3('0x3af1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a25')+_0x1cd3('0x650d')+_0x1cd3('0x3a27')+_0x1cd3('0x3af3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x650e')+_0x1cd3('0x650f')+_0x1cd3('0x6510')+_0x1cd3('0x3a33')+_0x1cd3('0x3a34')+_0x1cd3('0x3db3')+_0x1cd3('0x3a35')+_0x1cd3('0x6511')+_0x1cd3('0x42f9')+_0x1cd3('0x3a38')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a'+_0x1cd3('0x3a3a')+_0x1cd3('0x3af8')+_0x1cd3('0x3a34')+_0x1cd3('0x6512')+_0x1cd3('0x6513')+_0x1cd3('0x6514')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a54')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a4f')+'\x0a'+_0x1cd3('0x6519')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22STAFF.EDIT_TEAM\x22>\x0a'+_0x1cd3('0x651a')+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3ce1')+'\x0a'+_0x1cd3('0x651b')+_0x1cd3('0x651c')+_0x1cd3('0x651d')+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a4e')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x651e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22STAFF.DELETE_TEAM\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Team\x0a'+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3699')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3951')+'\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a5d')+_0x1cd3('0x3a5e')+_0x1cd3('0x3a5f')+'\x0a'+_0x1cd3('0x651f')+_0x1cd3('0x3a61')+_0x1cd3('0x6520')+_0x1cd3('0x3a63')+'\x0a'+_0x1cd3('0x3a64')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a66')+'\x0a'+_0x1cd3('0x6521')+_0x1cd3('0x6522')+_0x1cd3('0x6523')+_0x1cd3('0x3b0f')+_0x1cd3('0x376d')+_0x1cd3('0x6524')+'\x20\x20\x20\x20\x0a');_0x404b17['put']('app/main/apps/staff/views/telephones/create/dialog.html',_0x1cd3('0x6525')+_0x1cd3('0x6526')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6527')+_0x1cd3('0x6528')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x6529')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x652a')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x652b')+_0x1cd3('0x652c')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-pattern=\x22/^[A-Za-z0-9\x5c.\x5c_]+$/i\x22\x20\x20\x0a'+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x652d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x652e')+_0x1cd3('0x3b24')+_0x1cd3('0x6397')+_0x1cd3('0x3756')+_0x1cd3('0x3e03')+_0x1cd3('0x6398')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x63a2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6530')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4329')+_0x1cd3('0x63a5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6531')+_0x1cd3('0x63a7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Must\x20contain\x20at\x20least\x208\x20characters,\x20with\x20a\x20minimum\x20of\x201\x20lowercase\x20letter,\x201\x20uppercase\x20letter,\x201\x20numeric\x20character\x20and\x201\x20special\x20character\x20~!?*@#$%^&-_=+[{]}.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x3ed3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x63ad')+_0x1cd3('0x63ae')+_0x1cd3('0x6534')+_0x1cd3('0x3b24')+_0x1cd3('0x6535')+_0x1cd3('0x3756')+_0x1cd3('0x63af')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Your\x20password\x20did\x20not\x20match\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x3ed3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x63b7')+_0x1cd3('0x6536')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x6537')+_0x1cd3('0x3b24')+_0x1cd3('0x63ba')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6538')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6539')+_0x1cd3('0x643b')+_0x1cd3('0x653a')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x652d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x653b')+_0x1cd3('0x3b24')+_0x1cd3('0x63b6')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x653c')+_0x1cd3('0x653d')+_0x1cd3('0x3ed3')+_0x1cd3('0x3870')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x39ef')+_0x1cd3('0x388f')+_0x1cd3('0x653e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22telephoneForm.$invalid\x20||\x20telephoneForm.$pristine\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22STAFF.SAVE\x22\x20translate-attr-aria-label=\x22STAFF.SAVE\x22>\x0a'+_0x1cd3('0x39f3')+_0x1cd3('0x39f4')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20TELEPHONE\x0a'+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39fa')+_0x1cd3('0x653f')+_0x1cd3('0x63c9')+_0x1cd3('0x3a20')+_0x1cd3('0x63ca')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x6540'),_0x1cd3('0x6541')+_0x1cd3('0x6526')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3667')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27\x0a'+_0x1cd3('0x63ce')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b14')+_0x1cd3('0x3b1f')+_0x1cd3('0x3b15')+_0x1cd3('0x3b16')+_0x1cd3('0x3b17')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b19')+_0x1cd3('0x367d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x6542')+_0x1cd3('0x63d0')+_0x1cd3('0x63d1')+_0x1cd3('0x63d2')+_0x1cd3('0x6543')+_0x1cd3('0x3b24')+_0x1cd3('0x63aa')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x3b28')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20New\x20Password\x0a'+_0x1cd3('0x63d5')+_0x1cd3('0x6544')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required>\x0a'+_0x1cd3('0x6545')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Password\x20field\x20is\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x63d9')+_0x1cd3('0x63da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20character\x20and\x201\x20special\x20character\x20~!?*@#$%^&-_=+[{]}.\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x63db')+_0x1cd3('0x63dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x0a'+'\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3b28')+_0x1cd3('0x63ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6546')+_0x1cd3('0x3b24')+_0x1cd3('0x63de')+_0x1cd3('0x63df')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Your\x20password\x20did\x0a'+_0x1cd3('0x6547')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3b14')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x3b17')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x3b18')+_0x1cd3('0x3b19')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x366a')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x3b20')+_0x1cd3('0x388f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3675')+_0x1cd3('0x3681')+'');_0x404b17['put'](_0x1cd3('0x290'),'\x0a'+'\x0a'+_0x1cd3('0x3adc')+_0x1cd3('0x3b9f')+_0x1cd3('0x3d5a')+_0x1cd3('0x6549')+_0x1cd3('0x654a')+_0x1cd3('0x654b')+_0x1cd3('0x3ba1')+_0x1cd3('0x3671')+'\x0a'+_0x1cd3('0x388f')+'\x0a'+_0x1cd3('0x654c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x3ba2')+_0x1cd3('0x3ba3')+_0x1cd3('0x654d')+_0x1cd3('0x654e')+_0x1cd3('0x3756')+_0x1cd3('0x3ba6')+_0x1cd3('0x654f')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ee')+_0x1cd3('0x54ec')+_0x1cd3('0x6550')+_0x1cd3('0x3f93')+_0x1cd3('0x640e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6410')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e3b')+_0x1cd3('0x3d24')+_0x1cd3('0x36f6')+'\x0a'+'\x20\x20\x20\x20
\x0a'+_0x1cd3('0x3ae6')+'\x0a'+_0x1cd3('0x3a22')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3baa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ACCOUNT\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e40')+_0x1cd3('0x6551')+_0x1cd3('0x3e42')+_0x1cd3('0x6552')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e45')+_0x1cd3('0x6527')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x652b')+_0x1cd3('0x652c')+_0x1cd3('0x39e1')+_0x1cd3('0x3e46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3e47')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20disabled\x20\x0a'+_0x1cd3('0x3dff')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x6554')+_0x1cd3('0x6555')+_0x1cd3('0x3b24')+_0x1cd3('0x6397')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6398')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x63a2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x63ba')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x641c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x641e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x6558')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x6559')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Mobile\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e51')+_0x1cd3('0x3fba')+_0x1cd3('0x3e52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e3d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20VOICE\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x3e40')+_0x1cd3('0x655a')+_0x1cd3('0x3e42')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GENERAL\x0a'+_0x1cd3('0x386f')+_0x1cd3('0x3e44')+_0x1cd3('0x655b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Internal\x0a'+_0x1cd3('0x653a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+_0x1cd3('0x3e47')+_0x1cd3('0x3e48')+_0x1cd3('0x3dff')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x643c')+_0x1cd3('0x3b24')+_0x1cd3('0x63b6')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x643e')+_0x1cd3('0x655c')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x644f')+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x3a6f')+_0x1cd3('0x6440')+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>udp\x0a'+_0x1cd3('0x655d')+_0x1cd3('0x3a4d')+_0x1cd3('0x655e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Transport\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NAT\x0a'+_0x1cd3('0x6562')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x644f')+_0x1cd3('0x3a6e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+_0x1cd3('0x3a6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20never\x0a'+_0x1cd3('0x6455')+_0x1cd3('0x3a4d')+_0x1cd3('0x6456')+_0x1cd3('0x3acc')+_0x1cd3('0x6457')+_0x1cd3('0x6563')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NAT\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x6462')+_0x1cd3('0x6564')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x644f')+_0x1cd3('0x3a6e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x3a6f')+_0x1cd3('0x6464')+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>ulaw\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gsm\x0a'+_0x1cd3('0x6565')+_0x1cd3('0x3a4d')+_0x1cd3('0x6468')+_0x1cd3('0x6566')+_0x1cd3('0x3a4d')+_0x1cd3('0x6469')+_0x1cd3('0x6567')+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>opus\x0a'+_0x1cd3('0x646b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x646c')+_0x1cd3('0x3acc')+_0x1cd3('0x6568')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x646d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3acf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CallerId\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6472')+_0x1cd3('0x6473')+_0x1cd3('0x3acc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x6475')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x6476')+_0x1cd3('0x656a')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x6478')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x656b')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x647a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x647c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x647e')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Videosupport\x0a'+_0x1cd3('0x656c')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Yes\x0a'+_0x1cd3('0x3eeb')+_0x1cd3('0x3a4d')+_0x1cd3('0x6481')+_0x1cd3('0x656d')+_0x1cd3('0x3a4d')+_0x1cd3('0x3ecd')+_0x1cd3('0x3acc')+_0x1cd3('0x656e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6482')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x656f')+_0x1cd3('0x6570')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x3a6f')+_0x1cd3('0x4db3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4db4')+_0x1cd3('0x3eeb')+_0x1cd3('0x3a4d')+_0x1cd3('0x4db5')+_0x1cd3('0x3acc')+_0x1cd3('0x6571')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x6572')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fa6')+_0x1cd3('0x3e51')+_0x1cd3('0x3fba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e53')+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a66')+'\x0a'+'\x0a');_0x404b17[_0x1cd3('0x37b')]('app/main/apps/staff/views/telephones/telephones.html',_0x1cd3('0x6573')+'\x0a'+_0x1cd3('0x3adc')+_0x1cd3('0x39ff')+'\x0a'+_0x1cd3('0x3add')+_0x1cd3('0x37e6')+_0x1cd3('0x3a00')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Telephones\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x3ae1')+'\x0a'+_0x1cd3('0x3ae2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a02')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a05')+_0x1cd3('0x635e')+_0x1cd3('0x36c2')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3ae6')+'\x0a'+_0x1cd3('0x3a07')+_0x1cd3('0x6574')+_0x1cd3('0x3a09')+'\x0a'+_0x1cd3('0x6575')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae8')+_0x1cd3('0x6361')+_0x1cd3('0x3671')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a0d')+_0x1cd3('0x6576')+_0x1cd3('0x6577')+_0x1cd3('0x6363')+_0x1cd3('0x38f9')+'\x0a'+_0x1cd3('0x3aeb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a19')+_0x1cd3('0x3849')+_0x1cd3('0x3aee')+_0x1cd3('0x3a1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x0a'+_0x1cd3('0x3a1b')+_0x1cd3('0x6579')+_0x1cd3('0x3a1d')+_0x1cd3('0x3a1e')+_0x1cd3('0x657a')+_0x1cd3('0x6368')+_0x1cd3('0x3a20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x3686')+_0x1cd3('0x3a21')+'\x0a'+_0x1cd3('0x3a22')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3af1')+_0x1cd3('0x3a24')+'\x0a'+_0x1cd3('0x3a25')+_0x1cd3('0x657b')+_0x1cd3('0x3a27')+_0x1cd3('0x3af3')+_0x1cd3('0x657c')+_0x1cd3('0x657d')+_0x1cd3('0x3a2a')+_0x1cd3('0x3a2b')+_0x1cd3('0x657e')+_0x1cd3('0x657f')+_0x1cd3('0x636e')+_0x1cd3('0x6371')+_0x1cd3('0x3a33')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3db3')+_0x1cd3('0x3a35')+_0x1cd3('0x6580')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a38')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a'+_0x1cd3('0x3a3a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a34')+_0x1cd3('0x6581')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6582')+_0x1cd3('0x6583')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22fullname\x20font-weight-600\x22\x20>{{telephone.fullname}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{telephone.internal}}\x0a'+_0x1cd3('0x3b02')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a4a')+_0x1cd3('0x6386')+_0x1cd3('0x3a4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3b04')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a54')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a4f')+'\x0a'+_0x1cd3('0x6587')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22STAFF.EDIT_TELEPHONE\x22>\x0a'+_0x1cd3('0x6588')+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+_0x1cd3('0x3a54')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3a5a')+'\x0a'+_0x1cd3('0x6589')+_0x1cd3('0x658a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Telephone\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+_0x1cd3('0x3699')+'\x0a'+_0x1cd3('0x369a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x0a'+_0x1cd3('0x3a34')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a5e')+_0x1cd3('0x3a5f')+'\x0a'+_0x1cd3('0x658b')+_0x1cd3('0x3a61')+_0x1cd3('0x658c')+_0x1cd3('0x3a63')+'\x0a'+_0x1cd3('0x3a64')+_0x1cd3('0x36f6')+_0x1cd3('0x3a65')+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a66')+'\x0a'+_0x1cd3('0x658d')+_0x1cd3('0x658e')+_0x1cd3('0x658f')+_0x1cd3('0x3b0f')+_0x1cd3('0x376d')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3686'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x6590'),_0x1cd3('0x6591')+_0x1cd3('0x6592')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x64fa')+_0x1cd3('0x6593')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+_0x1cd3('0x6594')+_0x1cd3('0x3dff')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x6595')+_0x1cd3('0x3b24')+_0x1cd3('0x64fd')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x63b7')+_0x1cd3('0x6596')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x6597')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CrudPermissions\x0a'+_0x1cd3('0x6598')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x644f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27STAFF.EDIT_PERMISSION\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fe5')+_0x1cd3('0x659b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x659c')+_0x1cd3('0x3acc')+_0x1cd3('0x659d')+_0x1cd3('0x3b24')+_0x1cd3('0x659e')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3ed3')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x39ef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x65a0')+_0x1cd3('0x39f6')+_0x1cd3('0x65a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22STAFF.ADD_USERPROFILE\x22\x20translate-attr-aria-label=\x22STAFF.ADD_USERPROFILE\x22>\x0a'+_0x1cd3('0x65a2')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x39fa')+_0x1cd3('0x65a3')+_0x1cd3('0x63c9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x63ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x39fe')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x21c0'),_0x1cd3('0x65a4')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3666')+_0x1cd3('0x3667')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x3857')+_0x1cd3('0x3858')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x64fa')+_0x1cd3('0x6593')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.newUserProfile\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x64fd')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x63b7')+_0x1cd3('0x6596')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x6597')+_0x1cd3('0x3b24')+_0x1cd3('0x63ba')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x65a5')+_0x1cd3('0x6598')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20multiple\x20\x0a'+_0x1cd3('0x3a6e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x3f7a')+_0x1cd3('0x65a6')+_0x1cd3('0x3a4d')+_0x1cd3('0x6599')+_0x1cd3('0x3fe5')+_0x1cd3('0x659a')+_0x1cd3('0x3a4d')+_0x1cd3('0x65a7')+_0x1cd3('0x3fe5')+_0x1cd3('0x659b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x659c')+_0x1cd3('0x3acc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CrudPermissions\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x3ed3')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x3b20')+_0x1cd3('0x65a8')+_0x1cd3('0x54ce')+_0x1cd3('0x65a9')+_0x1cd3('0x65aa')+_0x1cd3('0x65ab')+_0x1cd3('0x3671')+_0x1cd3('0x3675')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x21bf'),_0x1cd3('0x65ac')+_0x1cd3('0x65ad')+_0x1cd3('0x3e1f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

{{vm.title}}

\x0a'+_0x1cd3('0x3d50')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+_0x1cd3('0x366c')+_0x1cd3('0x65ae')+_0x1cd3('0x65af')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Sections\x0a'+_0x1cd3('0x65b0')+_0x1cd3('0x65b1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-selected=\x22{{vm.subsections.length\x20===\x201\x20?\x20\x27true\x27\x20:\x20\x27false\x27}}\x22>{{subsection.translate\x20|\x20translate}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x44da')+_0x1cd3('0x65b2')+_0x1cd3('0x65b3')+_0x1cd3('0x65b4')+_0x1cd3('0x65b5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x65b6')+_0x1cd3('0x65b7')+_0x1cd3('0x65b8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27STAFF.PERMISSIONS_SECTION_SHOW\x27\x20|\x20translate}}\x0a'+_0x1cd3('0x65b7')+_0x1cd3('0x395d')+_0x1cd3('0x4bd5')+_0x1cd3('0x65b9')+_0x1cd3('0x65ba')+_0x1cd3('0x65bb')+_0x1cd3('0x4ee3')+_0x1cd3('0x3849')+_0x1cd3('0x65bc')+_0x1cd3('0x65bd')+_0x1cd3('0x65be')+_0x1cd3('0x65bf')+_0x1cd3('0x65c0')+_0x1cd3('0x4ee3')+_0x1cd3('0x3849')+_0x1cd3('0x65bc')+_0x1cd3('0x65c1')+_0x1cd3('0x65c2')+_0x1cd3('0x65c3')+_0x1cd3('0x65c4')+_0x1cd3('0x4ee3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36b7')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x65c5')+_0x1cd3('0x65c6')+_0x1cd3('0x65c7')+_0x1cd3('0x65c8')+_0x1cd3('0x43de')+_0x1cd3('0x65c9')+_0x1cd3('0x3669')+_0x1cd3('0x65ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22margin-bottom-10\x20margin-top-30\x22\x0a'+_0x1cd3('0x65c6')+_0x1cd3('0x65cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Report\x20Type\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x44da')+_0x1cd3('0x3669')+_0x1cd3('0x65d0')+_0x1cd3('0x65d1')+_0x1cd3('0x65d2')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+_0x1cd3('0x65d3')+_0x1cd3('0x65d4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-hide=\x22vm.selectedSection.autoAssociation\x22>\x0a'+_0x1cd3('0x366f')+_0x1cd3('0x65d5')+_0x1cd3('0x3a0d')+_0x1cd3('0x65d6')+_0x1cd3('0x65d7')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x1cd3('0x3671')+_0x1cd3('0x3675')+_0x1cd3('0x3681')+_0x1cd3('0x3676'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x29b'),_0x1cd3('0x65d8')+'\x0a'+_0x1cd3('0x3adc')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x65d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.gotoUserProfiles()\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22STAFF.GO_TO_USERPROFILES\x22>\x0a'+_0x1cd3('0x3ba1')+_0x1cd3('0x3671')+'\x0a'+_0x1cd3('0x388f')+'\x0a'+_0x1cd3('0x65da')+_0x1cd3('0x65db')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x3ba2')+_0x1cd3('0x3ba3')+_0x1cd3('0x65dc')+_0x1cd3('0x65dd')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x65de')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ee')+_0x1cd3('0x54ec')+_0x1cd3('0x65df')+_0x1cd3('0x65e0')+_0x1cd3('0x5881')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x54ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x38c3')+_0x1cd3('0x65e1')+_0x1cd3('0x3e3b')+_0x1cd3('0x3d24')+_0x1cd3('0x36f6')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a22')+_0x1cd3('0x3e3c')+'\x0a'+_0x1cd3('0x3baa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x65e2')+_0x1cd3('0x3e3f')+_0x1cd3('0x3e40')+_0x1cd3('0x65e3')+_0x1cd3('0x3e42')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GENERAL\x0a'+_0x1cd3('0x386f')+_0x1cd3('0x3e44')+_0x1cd3('0x3e45')+_0x1cd3('0x64fa')+_0x1cd3('0x6593')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+_0x1cd3('0x3e47')+_0x1cd3('0x3e48')+_0x1cd3('0x3dff')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x64fd')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x63b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x63ba')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CrudPermissions\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3ed3')+_0x1cd3('0x3fa6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fba')+_0x1cd3('0x3e52')+_0x1cd3('0x3fda')+_0x1cd3('0x3e3d')+_0x1cd3('0x64e1')+_0x1cd3('0x3e3f')+_0x1cd3('0x3e40')+_0x1cd3('0x65e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20MODULES\x0a'+_0x1cd3('0x376e')+_0x1cd3('0x65e6')+_0x1cd3('0x65e7')+'\x20\x20\x20\x20\x20\x20\x20\x20md-row-height-gt-xs=\x222:1\x22\x20md-row-height-gt-sm=\x222:1\x22\x20md-row-height-gt-md=\x223:1\x22\x0a'+_0x1cd3('0x65e8')+_0x1cd3('0x65e9')+_0x1cd3('0x65ea')+_0x1cd3('0x65eb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x65ec')+_0x1cd3('0x65ed')+_0x1cd3('0x65ee')+_0x1cd3('0x65ef')+_0x1cd3('0x498e')+_0x1cd3('0x65f0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x65f1')+_0x1cd3('0x65f2')+_0x1cd3('0x65f3')+_0x1cd3('0x65f4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x65f5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-init=\x22vm_pc.checkSectionResources(father)\x22\x0a'+_0x1cd3('0x65f6')+_0x1cd3('0x65f7')+_0x1cd3('0x65f8')+_0x1cd3('0x65f9')+_0x1cd3('0x65fa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27STAFF.PERMISSIONS_MANAGE\x27\x20|\x20translate}}\x0a'+_0x1cd3('0x440c')+_0x1cd3('0x65fd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x65fe')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x65ff')+_0x1cd3('0x6600')+_0x1cd3('0x6601')+_0x1cd3('0x3968')+_0x1cd3('0x6602')+_0x1cd3('0x6603')+_0x1cd3('0x376e')+'\x0a'+_0x1cd3('0x3e51')+_0x1cd3('0x3fba')+_0x1cd3('0x3e52')+_0x1cd3('0x3e53')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a66')+'\x0a'+_0x1cd3('0x376e'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x6604'),_0x1cd3('0x6605')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ff')+'\x0a'+_0x1cd3('0x3add')+_0x1cd3('0x37e6')+_0x1cd3('0x3a00')+_0x1cd3('0x3ade')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38f9')+_0x1cd3('0x6606')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae1')+'\x0a'+_0x1cd3('0x3ae2')+_0x1cd3('0x3ae3')+_0x1cd3('0x3a02')+_0x1cd3('0x3a03')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a04')+_0x1cd3('0x3a05')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36c2')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3686')+_0x1cd3('0x3ae6')+'\x0a'+_0x1cd3('0x3a07')+'\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22>\x0a'+'\x0a'+_0x1cd3('0x6607')+_0x1cd3('0x3a0b')+_0x1cd3('0x3ae8')+_0x1cd3('0x6361')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x3a0c')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x6608')+_0x1cd3('0x6609')+_0x1cd3('0x6363')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3aeb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3aee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x660b')+_0x1cd3('0x3a19')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3aee')+_0x1cd3('0x3a1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x0a'+_0x1cd3('0x3a1b')+_0x1cd3('0x660c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a1e')+_0x1cd3('0x660d')+_0x1cd3('0x6368')+_0x1cd3('0x3a20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3841')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a21')+'\x0a'+_0x1cd3('0x3a22')+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a24')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x660e')+_0x1cd3('0x3a27')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a2b')+_0x1cd3('0x650e')+_0x1cd3('0x650f')+_0x1cd3('0x6510')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27STAFF.CRUDPERMISSIONS\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x3a33')+_0x1cd3('0x3a34')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a35')+_0x1cd3('0x660f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a38')+_0x1cd3('0x6375')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a34')+_0x1cd3('0x6610')+_0x1cd3('0x6611')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6612')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22id\x20\x22\x20>{{userProfile.id}}\x0a'+_0x1cd3('0x6613')+_0x1cd3('0x6614')+_0x1cd3('0x6613')+_0x1cd3('0x6615')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22STAFF.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x395d')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a4f')+'\x0a'+_0x1cd3('0x6617')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22STAFF.EDIT_USERPROFILE\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20UserProfile\x0a'+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x6618')+_0x1cd3('0x6619')+_0x1cd3('0x661a')+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x661b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22STAFF.DELETE_USERPROFILE\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20UserProfile\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3699')+'\x0a'+_0x1cd3('0x369a')+_0x1cd3('0x3951')+'\x0a'+'\x0a'+_0x1cd3('0x3a34')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a5e')+_0x1cd3('0x3a5f')+'\x0a'+_0x1cd3('0x661c')+_0x1cd3('0x3a61')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a64')+_0x1cd3('0x36f6')+_0x1cd3('0x3a65')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x661d')+_0x1cd3('0x661e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20userProfile\x22\x20translate\x20translate-attr-aria-label=\x22STAFF.ADD_USERPROFILE\x22>\x0a'+_0x1cd3('0x3b0f')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x661f')+_0x1cd3('0x3686'));_0x404b17['put']('app/main/apps/staff/views/users/create/dialog.html',_0x1cd3('0x6620')+_0x1cd3('0x6621')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x6622')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20User\x0a'+_0x1cd3('0x3acc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x6626')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x6627')+_0x1cd3('0x6628')+_0x1cd3('0x6629')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x662a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22userProfileId.canSelect\x20===\x20false\x22>{{\x20userProfileId.name\x20}}\x0a'+_0x1cd3('0x3acc')+_0x1cd3('0x662b')+_0x1cd3('0x3b24')+_0x1cd3('0x662c')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3acf')+_0x1cd3('0x6414')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x662d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x652b')+_0x1cd3('0x662e')+_0x1cd3('0x39e1')+_0x1cd3('0x3e46')+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x6623')+_0x1cd3('0x3dff')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x6554')+_0x1cd3('0x662f')+_0x1cd3('0x3b24')+_0x1cd3('0x6397')+_0x1cd3('0x3756')+_0x1cd3('0x3e03')+_0x1cd3('0x6398')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x63a2')+_0x1cd3('0x6630')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6631')+_0x1cd3('0x3b24')+_0x1cd3('0x6530')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Email\x20must\x20be\x20a\x20valid\x20e-mail\x20address\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x386e')+_0x1cd3('0x36aa')+_0x1cd3('0x6632')+_0x1cd3('0x63a7')+_0x1cd3('0x6633')+_0x1cd3('0x6532')+_0x1cd3('0x6634')+_0x1cd3('0x3b24')+_0x1cd3('0x63aa')+_0x1cd3('0x3756')+_0x1cd3('0x3cec')+_0x1cd3('0x63ab')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6635')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Confirm\x20Password\x0a'+_0x1cd3('0x63ae')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x6535')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x63af')+_0x1cd3('0x63b0')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x3ed3')+_0x1cd3('0x3acf')+_0x1cd3('0x63b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x63ba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x63c3')+_0x1cd3('0x6636')+_0x1cd3('0x3ed3')+_0x1cd3('0x3870')+_0x1cd3('0x6637')+_0x1cd3('0x643b')+_0x1cd3('0x6638')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x6623')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x63b6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x39ef')+_0x1cd3('0x388f')+_0x1cd3('0x6639')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22userForm.$invalid\x20||\x20userForm.$pristine\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22STAFF.SAVE\x22\x20translate-attr-aria-label=\x22STAFF.SAVE\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x1cd3('0x39f4')+'\x0a'+_0x1cd3('0x663a')+_0x1cd3('0x39f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22userForm.$invalid\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22STAFF.ADD_USER\x22\x20translate-attr-aria-label=\x22STAFF.ADD_USER\x22>\x0a'+_0x1cd3('0x663b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x39fa')+_0x1cd3('0x663c')+_0x1cd3('0x63c9')+_0x1cd3('0x3a20')+_0x1cd3('0x63ca')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x39fe')+'\x20\x20\x20\x20\x0a'+'\x0a');_0x404b17[_0x1cd3('0x37b')]('app/main/apps/staff/views/users/edit/apikeymanager/apikeymanager.html',_0x1cd3('0x663d')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3666')+_0x1cd3('0x3667')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20STAFF.MANAGE_API_KEY\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x3857')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x663e')+_0x1cd3('0x663f')+_0x1cd3('0x3c7e')+'\x0a'+_0x1cd3('0x3b20')+_0x1cd3('0x388f')+_0x1cd3('0x6640')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22{{\x20vm.user.apiKey\x20===\x20\x27N/A\x27\x20?\x20\x27STAFF.GENERATE\x27\x20:\x20\x27STAFF.REGENERATE\x27\x20}}\x22\x20translate-attr-aria-label=\x22STAFF.GENERATE\x22>\x0a'+_0x1cd3('0x6641')+_0x1cd3('0x3859')+_0x1cd3('0x6642')+_0x1cd3('0x6643')+_0x1cd3('0x6644')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3676'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x6645'),_0x1cd3('0x663d')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x63cd')+_0x1cd3('0x63ce')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x3b14')+_0x1cd3('0x3b1f')+_0x1cd3('0x3b15')+_0x1cd3('0x3b16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b19')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+_0x1cd3('0x6646')+_0x1cd3('0x63d0')+_0x1cd3('0x63d1')+_0x1cd3('0x63d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x63aa')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3b28')+_0x1cd3('0x63d4')+_0x1cd3('0x63d5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-pattern=\x22vm.passwordPattern\x22\x20translate-attr-placeholder=\x22STAFF.NEW_PASSWORD\x22\x0a'+_0x1cd3('0x63d6')+_0x1cd3('0x6647')+_0x1cd3('0x3b24')+_0x1cd3('0x63d8')+_0x1cd3('0x63df')+_0x1cd3('0x3756')+'\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x3cec')+_0x1cd3('0x63d9')+_0x1cd3('0x63da')+_0x1cd3('0x6648')+_0x1cd3('0x3756')+_0x1cd3('0x63db')+_0x1cd3('0x63dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x39e1')+'\x0a'+'\x0a'+'\x0a'+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b28')+_0x1cd3('0x63ad')+_0x1cd3('0x63dd')+_0x1cd3('0x6649')+_0x1cd3('0x3b24')+_0x1cd3('0x63de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Your\x20password\x20did\x0a'+_0x1cd3('0x6547')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3b14')+_0x1cd3('0x3b1f')+_0x1cd3('0x3b15')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x3b17')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b19')+_0x1cd3('0x367d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x366f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x664a')+_0x1cd3('0x664b')+_0x1cd3('0x63e2')+_0x1cd3('0x3891')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3675')+_0x1cd3('0x3681')+_0x1cd3('0x3676'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x283'),_0x1cd3('0x664c')+'\x0a'+_0x1cd3('0x3adc')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d5a')+_0x1cd3('0x664d')+_0x1cd3('0x664e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22STAFF.GO_TO_USERS\x22>\x0a'+_0x1cd3('0x3ba1')+_0x1cd3('0x3671')+'\x0a'+_0x1cd3('0x388f')+'\x0a'+_0x1cd3('0x664f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x3ba2')+_0x1cd3('0x3ba3')+_0x1cd3('0x6650')+_0x1cd3('0x6651')+_0x1cd3('0x3756')+_0x1cd3('0x3ba6')+_0x1cd3('0x6652')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39ee')+_0x1cd3('0x54ec')+_0x1cd3('0x6653')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22md-fab\x20md-orange-500-bg\x20md-icon-button\x22\x0a'+_0x1cd3('0x6654')+_0x1cd3('0x6655')+_0x1cd3('0x6656')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x39ee')+_0x1cd3('0x54ec')+_0x1cd3('0x6657')+_0x1cd3('0x3f93')+_0x1cd3('0x640e')+_0x1cd3('0x6658')+_0x1cd3('0x6410')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x38c3')+_0x1cd3('0x6659')+_0x1cd3('0x3e3b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3ae6')+'\x0a'+_0x1cd3('0x3a22')+_0x1cd3('0x3e3c')+'\x0a'+_0x1cd3('0x3baa')+_0x1cd3('0x3fda')+_0x1cd3('0x3e3d')+_0x1cd3('0x6412')+_0x1cd3('0x3e3f')+_0x1cd3('0x3e40')+_0x1cd3('0x665a')+_0x1cd3('0x3e42')+_0x1cd3('0x665b')+_0x1cd3('0x386f')+_0x1cd3('0x6413')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6622')+_0x1cd3('0x665c')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e5')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e48')+_0x1cd3('0x3dff')+_0x1cd3('0x3a6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x6627')+_0x1cd3('0x6628')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Fullname\x0a'+_0x1cd3('0x6661')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x6415')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Fullname\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Username\x0a'+_0x1cd3('0x662e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e46')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3e47')+_0x1cd3('0x3e48')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6416')+_0x1cd3('0x3b24')+_0x1cd3('0x6397')+_0x1cd3('0x3756')+_0x1cd3('0x3e03')+_0x1cd3('0x6398')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x63a2')+_0x1cd3('0x6630')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x6662')+_0x1cd3('0x3b24')+_0x1cd3('0x6530')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4329')+_0x1cd3('0x63a5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x641c')+_0x1cd3('0x6663')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x641d')+_0x1cd3('0x3b24')+_0x1cd3('0x641e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x6558')+_0x1cd3('0x6664')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x6665')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x63b7')+_0x1cd3('0x6666')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6423')+_0x1cd3('0x3b24')+_0x1cd3('0x63ba')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e51')+_0x1cd3('0x6667')+_0x1cd3('0x3e42')+_0x1cd3('0x6425')+_0x1cd3('0x386f')+_0x1cd3('0x6426')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6668')+_0x1cd3('0x6669')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e48')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x6428')+_0x1cd3('0x6429')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x642a')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x666a')+_0x1cd3('0x666b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x6429')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x666c')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ApiKey\x0a'+_0x1cd3('0x6279')+_0x1cd3('0x666d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5d9c')+_0x1cd3('0x666e')+_0x1cd3('0x54d8')+_0x1cd3('0x666f')+_0x1cd3('0x5d9f')+_0x1cd3('0x6670')+_0x1cd3('0x6671')+_0x1cd3('0x3ed3')+_0x1cd3('0x642d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6672')+_0x1cd3('0x3ed3')+_0x1cd3('0x6430')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ed3')+_0x1cd3('0x3fa6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6673')+_0x1cd3('0x3e42')+_0x1cd3('0x6674')+_0x1cd3('0x376e')+_0x1cd3('0x6675')+'\x0a'+_0x1cd3('0x6676')+_0x1cd3('0x4097')+'\x0a'+_0x1cd3('0x4098')+_0x1cd3('0x4099')+_0x1cd3('0x36f6')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x409c')+_0x1cd3('0x3671')+_0x1cd3('0x40a5')+_0x1cd3('0x36f6')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6677')+_0x1cd3('0x6678')+_0x1cd3('0x409f')+_0x1cd3('0x6436')+_0x1cd3('0x40a0')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x6679')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x3686')+_0x1cd3('0x376e')+'\x0a'+_0x1cd3('0x3e51')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x3e52')+_0x1cd3('0x3fda')+_0x1cd3('0x3e3d')+_0x1cd3('0x6439')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e40')+_0x1cd3('0x667a')+_0x1cd3('0x3e42')+_0x1cd3('0x667b')+_0x1cd3('0x386f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x667c')+_0x1cd3('0x643b')+_0x1cd3('0x6638')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+_0x1cd3('0x3e47')+_0x1cd3('0x3e48')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x643c')+_0x1cd3('0x3b24')+_0x1cd3('0x63b6')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Transport\x0a'+_0x1cd3('0x667d')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x644f')+_0x1cd3('0x3a6e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x6440')+_0x1cd3('0x3a4d')+_0x1cd3('0x6441')+_0x1cd3('0x655d')+_0x1cd3('0x3a4d')+_0x1cd3('0x655e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x644d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20force_rport\x0a'+_0x1cd3('0x6452')+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>comedia\x0a'+_0x1cd3('0x6454')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4db4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NAT\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6462')+_0x1cd3('0x667f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20multiple\x20\x0a'+_0x1cd3('0x3a6e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+_0x1cd3('0x3a6f')+_0x1cd3('0x6464')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6465')+_0x1cd3('0x6466')+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>alaw\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x646d')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x6470')+_0x1cd3('0x6680')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x3a6f')+_0x1cd3('0x6472')+_0x1cd3('0x6473')+_0x1cd3('0x3acc')+_0x1cd3('0x6474')+_0x1cd3('0x3b24')+_0x1cd3('0x6475')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x6476')+_0x1cd3('0x6681')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x6478')+_0x1cd3('0x6479')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Callgroup\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Pickupgroup\x0a'+_0x1cd3('0x6682')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x647c')+_0x1cd3('0x647d')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Pickupgroup\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x6683')+_0x1cd3('0x6279')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5d9b')+_0x1cd3('0x5d9c')+_0x1cd3('0x666e')+_0x1cd3('0x54d8')+_0x1cd3('0x666f')+_0x1cd3('0x5d9f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6684')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6482')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ed3')+_0x1cd3('0x3fa6')+_0x1cd3('0x3e51')+_0x1cd3('0x3fba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a66')+'\x0a'+_0x1cd3('0x376e'));_0x404b17['put'](_0x1cd3('0x27e'),_0x1cd3('0x6686')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ff')+'\x0a'+_0x1cd3('0x3add')+_0x1cd3('0x37e6')+_0x1cd3('0x3a00')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38f9')+_0x1cd3('0x6687')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae1')+'\x0a'+_0x1cd3('0x3ae2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a02')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a05')+_0x1cd3('0x635e')+_0x1cd3('0x36c2')+_0x1cd3('0x366a')+_0x1cd3('0x3ae5')+_0x1cd3('0x3756')+_0x1cd3('0x3686')+_0x1cd3('0x3ae6')+'\x0a'+_0x1cd3('0x3a07')+'\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22>\x0a'+'\x0a'+_0x1cd3('0x6688')+_0x1cd3('0x3a0b')+_0x1cd3('0x3ae8')+_0x1cd3('0x6361')+_0x1cd3('0x3671')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a0d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6689')+_0x1cd3('0x6363')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3aeb')+_0x1cd3('0x3a11')+_0x1cd3('0x3a12')+_0x1cd3('0x3aec')+_0x1cd3('0x650b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a15')+_0x1cd3('0x3a16')+_0x1cd3('0x668a')+_0x1cd3('0x3c2e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3aee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x668b')+_0x1cd3('0x3a19')+_0x1cd3('0x3849')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a1a')+_0x1cd3('0x3aef')+_0x1cd3('0x366a')+'\x0a'+_0x1cd3('0x3a1b')+_0x1cd3('0x668c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a1e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a21')+'\x0a'+_0x1cd3('0x3a22')+_0x1cd3('0x3a23')+'\x0a'+_0x1cd3('0x3af1')+_0x1cd3('0x3a24')+'\x0a'+_0x1cd3('0x3a25')+_0x1cd3('0x668d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3af3')+_0x1cd3('0x668e')+_0x1cd3('0x668f')+_0x1cd3('0x3a2a')+_0x1cd3('0x3a2b')+_0x1cd3('0x6690')+_0x1cd3('0x6691')+_0x1cd3('0x6692')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27STAFF.USERNAME\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x636e')+_0x1cd3('0x636f')+_0x1cd3('0x6370')+_0x1cd3('0x6371')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27STAFF.DISABLED\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x6373')+_0x1cd3('0x3a33')+_0x1cd3('0x3a34')+_0x1cd3('0x3db3')+_0x1cd3('0x3a35')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6693')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6375')+_0x1cd3('0x3a3a')+_0x1cd3('0x3af8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6694')+_0x1cd3('0x6695')+_0x1cd3('0x6696')+_0x1cd3('0x6697')+_0x1cd3('0x6698')+_0x1cd3('0x6699')+_0x1cd3('0x669a')+_0x1cd3('0x669b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22fullname\x20font-weight-600\x22\x20>{{user.fullname}}\x0a'+_0x1cd3('0x669c')+_0x1cd3('0x669d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a4a')+_0x1cd3('0x6386')+_0x1cd3('0x3a4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3b04')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3a4f')+'\x0a'+_0x1cd3('0x66a6')+_0x1cd3('0x66a7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20User\x0a'+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x66a8')+'\x0a'+_0x1cd3('0x66a9')+_0x1cd3('0x66aa')+_0x1cd3('0x66ab')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+_0x1cd3('0x3699')+'\x0a'+_0x1cd3('0x369a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x0a'+_0x1cd3('0x3a34')+_0x1cd3('0x3a5d')+_0x1cd3('0x3a5e')+_0x1cd3('0x3a5f')+'\x0a'+_0x1cd3('0x66ac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a64')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a65')+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a66')+'\x0a'+_0x1cd3('0x66ad')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3adc')+_0x1cd3('0x39ff')+'\x0a'+_0x1cd3('0x3add')+_0x1cd3('0x37e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ade')+_0x1cd3('0x66af')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x66b0')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x3ae1')+'\x0a'+_0x1cd3('0x3ae2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a02')+_0x1cd3('0x3a03')+_0x1cd3('0x3ae4')+_0x1cd3('0x3a04')+_0x1cd3('0x3a05')+_0x1cd3('0x66b1')+_0x1cd3('0x36c2')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3686')+_0x1cd3('0x3ae6')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x66b2')+_0x1cd3('0x3a09')+'\x0a'+_0x1cd3('0x66b3')+_0x1cd3('0x3a0b')+_0x1cd3('0x3ae8')+_0x1cd3('0x66b4')+_0x1cd3('0x3671')+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x3a0c')+'\x0a'+_0x1cd3('0x3a0d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x66b5')+_0x1cd3('0x66b6')+_0x1cd3('0x38f9')+'\x0a'+_0x1cd3('0x3aeb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3aee')+_0x1cd3('0x3a16')+_0x1cd3('0x66b9')+_0x1cd3('0x3a19')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3aee')+_0x1cd3('0x3a1a')+_0x1cd3('0x3aef')+_0x1cd3('0x366a')+'\x0a'+_0x1cd3('0x3a1b')+_0x1cd3('0x66ba')+_0x1cd3('0x3a1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a21')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a23')+'\x0a'+_0x1cd3('0x3af1')+_0x1cd3('0x3a24')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x66bc')+_0x1cd3('0x3a27')+_0x1cd3('0x3af3')+_0x1cd3('0x66bd')+_0x1cd3('0x66be')+_0x1cd3('0x3a2a')+_0x1cd3('0x3a2b')+_0x1cd3('0x66bf')+_0x1cd3('0x66c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.VALUE\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x66c1')+_0x1cd3('0x3a33')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a35')+_0x1cd3('0x66c2')+_0x1cd3('0x3c56')+_0x1cd3('0x3a38')+_0x1cd3('0x66c3')+_0x1cd3('0x3a3a')+_0x1cd3('0x3af8')+_0x1cd3('0x3a34')+_0x1cd3('0x66c4')+_0x1cd3('0x66c5')+_0x1cd3('0x66c6')+_0x1cd3('0x66c7')+_0x1cd3('0x66c8')+_0x1cd3('0x66c9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22key\x20\x22\x20>{{cannedAnswer.key}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{cannedAnswer.value}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a4a')+_0x1cd3('0x66cb')+_0x1cd3('0x3a4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3a4f')+'\x0a'+_0x1cd3('0x66cc')+_0x1cd3('0x66cd')+_0x1cd3('0x66ce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+_0x1cd3('0x3699')+'\x0a'+_0x1cd3('0x369a')+_0x1cd3('0x3951')+'\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a5e')+_0x1cd3('0x3a5f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a61')+_0x1cd3('0x66d0')+_0x1cd3('0x3a63')+'\x0a'+_0x1cd3('0x3a64')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a66')+'\x0a'+_0x1cd3('0x66d1')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b0f')+_0x1cd3('0x376d')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a');_0x404b17[_0x1cd3('0x37b')]('app/main/apps/tools/views/cannedAnswers/create/dialog.html',_0x1cd3('0x66d2')+_0x1cd3('0x66d3')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x39d7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Key\x0a'+_0x1cd3('0x66d4')+_0x1cd3('0x3e85')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x66d5')+_0x1cd3('0x3b24')+_0x1cd3('0x66d6')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x66d7')+_0x1cd3('0x3756')+_0x1cd3('0x39ea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x66d8')+_0x1cd3('0x66d9')+_0x1cd3('0x3ed1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x3b24')+_0x1cd3('0x66da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3acf')+_0x1cd3('0x66db')+_0x1cd3('0x66dc')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x66dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x39ef')+_0x1cd3('0x388f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x66e1')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x39fa')+_0x1cd3('0x66e2')+_0x1cd3('0x66e3')+_0x1cd3('0x3a20')+_0x1cd3('0x66e4')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39fe')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17['put'](_0x1cd3('0x2236'),_0x1cd3('0x66e5')+_0x1cd3('0x66e6')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x66e7')+_0x1cd3('0x66e8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x66e9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x66ea')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x66db')+_0x1cd3('0x66eb')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ee')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x39ef')+_0x1cd3('0x388f')+_0x1cd3('0x66ec')+_0x1cd3('0x3ad7')+_0x1cd3('0x66ed')+_0x1cd3('0x66df')+_0x1cd3('0x39f3')+_0x1cd3('0x39f4')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x66f1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22TOOLS.DELETE\x22>\x0a'+_0x1cd3('0x3a20')+_0x1cd3('0x66e4')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x39fe')+'\x20\x20\x20\x20\x0a'+'\x0a');_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x2a7'),_0x1cd3('0x66f2')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ff')+'\x0a'+_0x1cd3('0x3add')+_0x1cd3('0x37e6')+_0x1cd3('0x3a00')+_0x1cd3('0x3ade')+_0x1cd3('0x66af')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x66f3')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae1')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae3')+_0x1cd3('0x3a02')+_0x1cd3('0x3a03')+_0x1cd3('0x3ae4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a05')+_0x1cd3('0x66b1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae5')+_0x1cd3('0x3756')+_0x1cd3('0x3686')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a07')+'\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a'+_0x1cd3('0x3a09')+'\x0a'+_0x1cd3('0x66f4')+_0x1cd3('0x3a0b')+_0x1cd3('0x3ae8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Back\x0a'+_0x1cd3('0x3671')+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x3a0c')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x66f5')+_0x1cd3('0x66f6')+_0x1cd3('0x66b6')+_0x1cd3('0x38f9')+'\x0a'+_0x1cd3('0x3aeb')+_0x1cd3('0x3a11')+_0x1cd3('0x3a12')+_0x1cd3('0x3aec')+_0x1cd3('0x66b7')+_0x1cd3('0x3a14')+_0x1cd3('0x367d')+_0x1cd3('0x3a15')+_0x1cd3('0x3a16')+_0x1cd3('0x66f7')+_0x1cd3('0x3c2e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3aee')+_0x1cd3('0x3a16')+_0x1cd3('0x66f8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Select\x20none\x0a'+_0x1cd3('0x3849')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a1a')+_0x1cd3('0x3aef')+_0x1cd3('0x366a')+'\x0a'+_0x1cd3('0x3a1b')+_0x1cd3('0x66f9')+_0x1cd3('0x3a1d')+_0x1cd3('0x3a1e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x3686')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a22')+_0x1cd3('0x3a23')+'\x0a'+_0x1cd3('0x3af1')+_0x1cd3('0x3a24')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x66fa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x66fb')+_0x1cd3('0x66fc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a2b')+_0x1cd3('0x66bf')+_0x1cd3('0x66fd')+_0x1cd3('0x66c1')+_0x1cd3('0x3a33')+_0x1cd3('0x3a34')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x66fe')+_0x1cd3('0x42f9')+_0x1cd3('0x3a38')+_0x1cd3('0x66c3')+_0x1cd3('0x3a3a')+_0x1cd3('0x3af8')+_0x1cd3('0x3a34')+_0x1cd3('0x66ff')+_0x1cd3('0x6700')+_0x1cd3('0x6701')+_0x1cd3('0x6702')+_0x1cd3('0x6703')+_0x1cd3('0x6704')+_0x1cd3('0x6705')+_0x1cd3('0x6704')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22description\x20\x22\x20>{{customDashboard.description}}\x0a'+_0x1cd3('0x3b02')+'\x0a'+_0x1cd3('0x3cdd')+'\x0a'+_0x1cd3('0x3a49')+'\x0a'+_0x1cd3('0x3a4a')+_0x1cd3('0x66cb')+_0x1cd3('0x3a4c')+_0x1cd3('0x395d')+'\x0a'+_0x1cd3('0x3b04')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3a4f')+'\x0a'+_0x1cd3('0x6706')+_0x1cd3('0x6707')+_0x1cd3('0x6708')+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3a4f')+'\x0a'+_0x1cd3('0x6709')+_0x1cd3('0x670a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20clone\x20CustomDashboard\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+_0x1cd3('0x3a54')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3ce1')+'\x0a'+_0x1cd3('0x670b')+_0x1cd3('0x670c')+_0x1cd3('0x670d')+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3a5a')+'\x0a'+_0x1cd3('0x670e')+_0x1cd3('0x670f')+_0x1cd3('0x6710')+_0x1cd3('0x3a52')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+_0x1cd3('0x3699')+'\x0a'+_0x1cd3('0x369a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a5d')+_0x1cd3('0x3a5e')+_0x1cd3('0x3a5f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a61')+_0x1cd3('0x6711')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a64')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a65')+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a66')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6712')+_0x1cd3('0x6713')+_0x1cd3('0x3b0f')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x6714')+_0x1cd3('0x3686'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x2232'),_0x1cd3('0x6715')+_0x1cd3('0x66e6')+_0x1cd3('0x3666')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3858')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x66e7')+_0x1cd3('0x66e8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x66e9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x66ea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39da')+_0x1cd3('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x3b20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3675')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17['put'](_0x1cd3('0x2245'),'\x0a'+_0x1cd3('0x6719')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x3857')+_0x1cd3('0x3858')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x0a'+_0x1cd3('0x671a')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x671b')+_0x1cd3('0x3dff')+_0x1cd3('0x3a6f')+_0x1cd3('0x3f7a')+_0x1cd3('0x671c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x671d')+_0x1cd3('0x3fe5')+_0x1cd3('0x671e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x671f')+_0x1cd3('0x3fe5')+_0x1cd3('0x6720')+_0x1cd3('0x3a4d')+_0x1cd3('0x6721')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6722')+_0x1cd3('0x3a4d')+_0x1cd3('0x6723')+_0x1cd3('0x3fe5')+_0x1cd3('0x6724')+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27TOOLS.IFRAME\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fe5')+_0x1cd3('0x6725')+_0x1cd3('0x3a4d')+_0x1cd3('0x6726')+_0x1cd3('0x3fe5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x6728')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6729')+_0x1cd3('0x672a')+_0x1cd3('0x3e85')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x672b')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x672c')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x672d')+_0x1cd3('0x672e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x6735')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x6736')+_0x1cd3('0x6737')+_0x1cd3('0x6738')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6739')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x6736')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Timezone\x0a'+_0x1cd3('0x673a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e6')+_0x1cd3('0x3a6f')+_0x1cd3('0x673b')+_0x1cd3('0x3a4d')+_0x1cd3('0x673c')+_0x1cd3('0x673d')+_0x1cd3('0x3a4d')+_0x1cd3('0x673e')+_0x1cd3('0x673f')+_0x1cd3('0x3a4d')+_0x1cd3('0x6740')+_0x1cd3('0x6741')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6742')+_0x1cd3('0x6743')+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>GMT-8.00\x0a'+_0x1cd3('0x6744')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6745')+_0x1cd3('0x6746')+_0x1cd3('0x3a4d')+_0x1cd3('0x6747')+_0x1cd3('0x6748')+_0x1cd3('0x3a4d')+_0x1cd3('0x6749')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GMT-4.00\x0a'+_0x1cd3('0x674a')+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>GMT-3.30\x0a'+_0x1cd3('0x674b')+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>GMT-3.00\x0a'+_0x1cd3('0x674c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x674d')+_0x1cd3('0x674e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x674f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GMT\x200.00\x0a'+_0x1cd3('0x6750')+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>GMT+1.00\x0a'+_0x1cd3('0x6751')+_0x1cd3('0x3a4d')+_0x1cd3('0x6752')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GMT+5.30\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GMT+9.00\x0a'+_0x1cd3('0x6766')+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>GMT+9.30\x0a'+_0x1cd3('0x6767')+_0x1cd3('0x3a4d')+_0x1cd3('0x6768')+_0x1cd3('0x6769')+_0x1cd3('0x3a4d')+_0x1cd3('0x676a')+_0x1cd3('0x676b')+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>GMT+12.00\x0a'+_0x1cd3('0x676c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x676d')+_0x1cd3('0x3acc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x676e')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x676f')+_0x1cd3('0x6770')+_0x1cd3('0x6771')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x3a6f')+_0x1cd3('0x3f7a')+_0x1cd3('0x6772')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6773')+_0x1cd3('0x3fe5')+_0x1cd3('0x6774')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6775')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6776')+_0x1cd3('0x3a4d')+_0x1cd3('0x6777')+_0x1cd3('0x3fe5')+_0x1cd3('0x6778')+_0x1cd3('0x3a4d')+_0x1cd3('0x6779')+_0x1cd3('0x3fe5')+_0x1cd3('0x677a')+_0x1cd3('0x3a4d')+_0x1cd3('0x677b')+_0x1cd3('0x3fe5')+_0x1cd3('0x677c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x677d')+_0x1cd3('0x3acc')+_0x1cd3('0x677e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x677f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x6780')+_0x1cd3('0x6781')+_0x1cd3('0x6782')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e6')+_0x1cd3('0x3a6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6772')+_0x1cd3('0x3a4d')+_0x1cd3('0x6773')+_0x1cd3('0x3fe5')+_0x1cd3('0x6774')+_0x1cd3('0x3a4d')+_0x1cd3('0x6775')+_0x1cd3('0x3fe5')+_0x1cd3('0x6776')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6777')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6778')+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27TOOLS.TALKING\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fe5')+_0x1cd3('0x677a')+_0x1cd3('0x3a4d')+_0x1cd3('0x677b')+_0x1cd3('0x3fe5')+_0x1cd3('0x677c')+_0x1cd3('0x3a4d')+_0x1cd3('0x677d')+_0x1cd3('0x3acc')+_0x1cd3('0x6783')+_0x1cd3('0x3b24')+_0x1cd3('0x6784')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Serie2\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f7a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.TALKING\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x677a')+_0x1cd3('0x3a4d')+_0x1cd3('0x677b')+_0x1cd3('0x3fe5')+_0x1cd3('0x677c')+_0x1cd3('0x3a4d')+_0x1cd3('0x677d')+_0x1cd3('0x3acc')+_0x1cd3('0x6786')+_0x1cd3('0x3b24')+_0x1cd3('0x6787')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6780')+_0x1cd3('0x6788')+_0x1cd3('0x6789')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e6')+_0x1cd3('0x3a6f')+_0x1cd3('0x3f7a')+_0x1cd3('0x678a')+_0x1cd3('0x3a4d')+_0x1cd3('0x6785')+_0x1cd3('0x3fe5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.UNMANAGED\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3acc')+_0x1cd3('0x678b')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Serie3\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x678c')+_0x1cd3('0x678d')+_0x1cd3('0x678e')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x678f')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x6790')+_0x1cd3('0x6791')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6792')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x6793')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Refresh\x0a'+_0x1cd3('0x6794')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x225\x22\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x6795')+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+_0x1cd3('0x6796')+_0x1cd3('0x3e12')+_0x1cd3('0x3f04')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6797')+_0x1cd3('0x6798')+_0x1cd3('0x6799')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20multiple\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x3a6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20FontSize\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x679f')+_0x1cd3('0x3b24')+_0x1cd3('0x67a0')+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+_0x1cd3('0x67a1')+_0x1cd3('0x3e12')+_0x1cd3('0x3e13')+_0x1cd3('0x67a2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x67a3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3acf')+_0x1cd3('0x67a4')+_0x1cd3('0x67a5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x67a6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e87')+_0x1cd3('0x67a7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x39ef')+_0x1cd3('0x388f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x67a8')+_0x1cd3('0x39f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22dashboarditemForm.$invalid\x22\x0a'+_0x1cd3('0x67a9')+_0x1cd3('0x67aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x39fa')+_0x1cd3('0x67ab')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22TOOLS.DELETE\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x66e4')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x39fe')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x2ab'),'\x0a'+'\x0a'+_0x1cd3('0x3adc')+_0x1cd3('0x3b9f')+_0x1cd3('0x3d5a')+_0x1cd3('0x67ac')+_0x1cd3('0x67ad')+_0x1cd3('0x67ae')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3671')+'\x0a'+_0x1cd3('0x388f')+'\x0a'+_0x1cd3('0x67af')+_0x1cd3('0x67b0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3ba2')+_0x1cd3('0x3ba3')+_0x1cd3('0x67b1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.customDashboard.name}}\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3ba6')+_0x1cd3('0x67b2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x39ee')+_0x1cd3('0x54ec')+_0x1cd3('0x67b3')+_0x1cd3('0x5880')+_0x1cd3('0x5881')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x54ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x39ee')+_0x1cd3('0x3e31')+_0x1cd3('0x67b4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22md-fab\x20md-warn\x20md-icon-button\x22\x0a'+_0x1cd3('0x433b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e3b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3ae6')+'\x0a'+_0x1cd3('0x3a22')+_0x1cd3('0x3e3c')+'\x0a'+_0x1cd3('0x3baa')+_0x1cd3('0x3fda')+_0x1cd3('0x3e3d')+_0x1cd3('0x67b5')+_0x1cd3('0x3e3f')+_0x1cd3('0x3e40')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x67b6')+_0x1cd3('0x386f')+_0x1cd3('0x3e44')+_0x1cd3('0x3e45')+_0x1cd3('0x66e7')+_0x1cd3('0x66e8')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x66db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x66dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x3fa6')+_0x1cd3('0x3e51')+_0x1cd3('0x3fba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fda')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x67b7')+_0x1cd3('0x3e3f')+_0x1cd3('0x3e40')+_0x1cd3('0x67b8')+_0x1cd3('0x67b9')+_0x1cd3('0x67ba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.ADD_WIDGET\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x36ec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x67bb')+_0x1cd3('0x67bc')+_0x1cd3('0x3759')+_0x1cd3('0x3686')+_0x1cd3('0x67bd')+_0x1cd3('0x67be')+_0x1cd3('0x67bf')+_0x1cd3('0x67c0')+_0x1cd3('0x36ed')+_0x1cd3('0x3686')+_0x1cd3('0x376e')+'\x0a'+_0x1cd3('0x3e51')+_0x1cd3('0x3fba')+_0x1cd3('0x3e52')+_0x1cd3('0x3e53')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a66')+'\x0a'+_0x1cd3('0x376e'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x2265'),_0x1cd3('0x67c1')+_0x1cd3('0x67c2')+_0x1cd3('0x3943')+_0x1cd3('0x67c3')+_0x1cd3('0x67c4')+_0x1cd3('0x67c5')+_0x1cd3('0x3f73')+_0x1cd3('0x3671')+_0x1cd3('0x36f6')+_0x1cd3('0x3947')+'\x0a'+_0x1cd3('0x67c6')+_0x1cd3('0x5fee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x67c7')+_0x1cd3('0x67c8')+_0x1cd3('0x43b3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x67c9')+_0x1cd3('0x43b3')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x67ca')+_0x1cd3('0x67cb')+_0x1cd3('0x67cc')+_0x1cd3('0x67cd')+_0x1cd3('0x67ce')+_0x1cd3('0x3755')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4635')+_0x1cd3('0x3d77')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x67cf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x67d0')+_0x1cd3('0x67d1')+_0x1cd3('0x67d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x22ANALYTICS.CREATED_AT\x22\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3c1f')+_0x1cd3('0x3ca2')+_0x1cd3('0x67d3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ca6')+_0x1cd3('0x67d4')+_0x1cd3('0x386e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3c1e')+_0x1cd3('0x67d5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20report.id\x20}}\x0a'+_0x1cd3('0x67d6')+_0x1cd3('0x67d7')+_0x1cd3('0x67d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3c22')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ca9')+'\x0a'+_0x1cd3('0x67d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-label=\x22{page:\x20\x27{{\x20\x27ANALYTICS.PAGE\x27\x20|\x20translate\x20}}:\x27,\x20rowsPerPage:\x20\x27{{\x20\x27ANALYTICS.ROWSPERPAGE\x27\x20|\x20translate\x20}}:\x27,\x20of:\x20\x27{{\x20\x27ANALYTICS.OF\x27\x20|\x20translate\x20}}\x27}\x22\x0a'+_0x1cd3('0x67da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-limit-options=\x22[10]\x22\x0a'+_0x1cd3('0x67db')+_0x1cd3('0x67dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-on-paginate=\x22vm.getReports\x22\x0a'+_0x1cd3('0x67dd')+_0x1cd3('0x67de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x67df')+_0x1cd3('0x67e0')+_0x1cd3('0x67e1')+_0x1cd3('0x3d2d')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x227e'),_0x1cd3('0x67e2')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3666')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3858')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x39d7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x66e7')+_0x1cd3('0x67e3')+_0x1cd3('0x3e85')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e5')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x67e4')+_0x1cd3('0x3b24')+_0x1cd3('0x66ea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f99')+_0x1cd3('0x67e5')+_0x1cd3('0x3756')+_0x1cd3('0x39ea')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x39ef')+_0x1cd3('0x388f')+_0x1cd3('0x67e6')+_0x1cd3('0x3ad7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22dispositionForm.$invalid\x20||\x20dispositionForm.$pristine\x22\x0a'+_0x1cd3('0x66df')+_0x1cd3('0x39f3')+_0x1cd3('0x39f4')+'\x0a'+_0x1cd3('0x67e7')+_0x1cd3('0x39f6')+_0x1cd3('0x67e8')+_0x1cd3('0x67e9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20DISPOSITION\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x39fa')+_0x1cd3('0x67ea')+_0x1cd3('0x66e3')+_0x1cd3('0x3a20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39fe')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17['put'](_0x1cd3('0x67eb'),_0x1cd3('0x67ec')+'\x0a'+_0x1cd3('0x3adc')+_0x1cd3('0x39ff')+'\x0a'+_0x1cd3('0x3add')+_0x1cd3('0x37e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x66af')+_0x1cd3('0x38f9')+_0x1cd3('0x67ed')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x3ae1')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae3')+_0x1cd3('0x3a02')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a05')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x3ae5')+_0x1cd3('0x3756')+_0x1cd3('0x3686')+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x67ee')+_0x1cd3('0x3a09')+'\x0a'+_0x1cd3('0x67ef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Back\x0a'+_0x1cd3('0x3671')+_0x1cd3('0x36f6')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x67f0')+_0x1cd3('0x67f1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20selected\x0a'+_0x1cd3('0x38f9')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a11')+_0x1cd3('0x3a12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22multi\x20select\x20toggle\x22\x0a'+_0x1cd3('0x66b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x367d')+_0x1cd3('0x3a15')+_0x1cd3('0x3a16')+_0x1cd3('0x67f2')+_0x1cd3('0x3c2e')+_0x1cd3('0x3849')+_0x1cd3('0x3aee')+_0x1cd3('0x3a16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a19')+_0x1cd3('0x3849')+_0x1cd3('0x3aee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3aef')+_0x1cd3('0x366a')+'\x0a'+_0x1cd3('0x3a1b')+_0x1cd3('0x67f3')+_0x1cd3('0x3a1d')+_0x1cd3('0x3a1e')+_0x1cd3('0x67f4')+_0x1cd3('0x66bb')+_0x1cd3('0x3a20')+_0x1cd3('0x3859')+_0x1cd3('0x3841')+'\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a21')+'\x0a'+_0x1cd3('0x3a22')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3af1')+_0x1cd3('0x3a24')+'\x0a'+_0x1cd3('0x3a25')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a27')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x67f5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a2b')+_0x1cd3('0x66bf')+_0x1cd3('0x66fd')+_0x1cd3('0x3a33')+_0x1cd3('0x3a34')+_0x1cd3('0x3db3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x67f6')+_0x1cd3('0x67f7')+_0x1cd3('0x3a38')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3af8')+_0x1cd3('0x3a34')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x67f8')+_0x1cd3('0x67f9')+_0x1cd3('0x67fa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22id\x20\x22\x20>{{disposition.id}}\x0a'+_0x1cd3('0x67fb')+_0x1cd3('0x67fc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3b03')+'\x0a'+_0x1cd3('0x3a49')+'\x0a'+_0x1cd3('0x3a4a')+_0x1cd3('0x66cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x395d')+'\x0a'+_0x1cd3('0x3b04')+'\x0a'+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3a4f')+'\x0a'+_0x1cd3('0x67fd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22TOOLS.EDIT_DISPOSITION\x22>\x0a'+_0x1cd3('0x67fe')+_0x1cd3('0x3a52')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+_0x1cd3('0x3a54')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3a5a')+'\x0a'+_0x1cd3('0x67ff')+_0x1cd3('0x6800')+_0x1cd3('0x6801')+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+_0x1cd3('0x3699')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3951')+'\x0a'+'\x0a'+_0x1cd3('0x3a34')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a5e')+_0x1cd3('0x3a5f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a61')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a63')+'\x0a'+_0x1cd3('0x3a64')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a65')+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a66')+'\x0a'+_0x1cd3('0x6802')+_0x1cd3('0x6803')+_0x1cd3('0x6804')+_0x1cd3('0x3b0f')+_0x1cd3('0x376d')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3686'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x229e'),'\x0a'+_0x1cd3('0x3f10')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x66e7')+_0x1cd3('0x6805')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x6806')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x66db')+_0x1cd3('0x6807')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x6808')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x66dd')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x388f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x1cd3('0x39f4')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f3d')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x39fa')+_0x1cd3('0x680b')+_0x1cd3('0x66e3')+_0x1cd3('0x3a20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x39fe')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x680c'),'\x0a'+_0x1cd3('0x3f10')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b14')+_0x1cd3('0x3b1f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x3b17')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x66e7')+_0x1cd3('0x680d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x66ea')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x680e')+_0x1cd3('0x3ed3')+_0x1cd3('0x3b28')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x0a'+_0x1cd3('0x3f12')+_0x1cd3('0x3f13')+_0x1cd3('0x36a9')+_0x1cd3('0x36aa')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Intervals\x0a'+_0x1cd3('0x3f14')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20interval.name\x20}}\x0a'+_0x1cd3('0x36a9')+_0x1cd3('0x36aa')+'\x0a'+_0x1cd3('0x4d5e')+_0x1cd3('0x3f16')+_0x1cd3('0x3f17')+_0x1cd3('0x3c8a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f19')+_0x1cd3('0x3f1a')+_0x1cd3('0x3f1b')+_0x1cd3('0x4456')+_0x1cd3('0x3f1c')+_0x1cd3('0x3c97')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f1e')+_0x1cd3('0x3f1f')+_0x1cd3('0x3f20')+_0x1cd3('0x3f21')+_0x1cd3('0x36b7')+_0x1cd3('0x39c6')+_0x1cd3('0x3f22')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x4d5f')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+_0x1cd3('0x3f23')+'\x0a'+_0x1cd3('0x3f24')+_0x1cd3('0x3f25')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f26')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20From\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f30')+_0x1cd3('0x3f29')+_0x1cd3('0x3b44')+_0x1cd3('0x36c2')+'\x0a'+_0x1cd3('0x3f2a')+_0x1cd3('0x3f33')+_0x1cd3('0x3f2b')+_0x1cd3('0x3f29')+_0x1cd3('0x3b44')+_0x1cd3('0x3f2c')+_0x1cd3('0x3756')+_0x1cd3('0x36c2')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3f2e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Time\x20Range\x0a'+_0x1cd3('0x3f17')+_0x1cd3('0x4d61')+_0x1cd3('0x3f27')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f30')+_0x1cd3('0x3f31')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36c2')+'\x0a'+_0x1cd3('0x3f32')+_0x1cd3('0x3f33')+_0x1cd3('0x3f34')+_0x1cd3('0x3f31')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f35')+_0x1cd3('0x3756')+_0x1cd3('0x36c2')+_0x1cd3('0x366a')+_0x1cd3('0x55c0')+'\x0a'+_0x1cd3('0x3f36')+_0x1cd3('0x3f37')+_0x1cd3('0x3f17')+_0x1cd3('0x4d61')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20From\x0a'+_0x1cd3('0x3f38')+_0x1cd3('0x3f30')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20month.value\x20|\x20ucfirst\x20}}\x0a'+_0x1cd3('0x3b44')+'\x0a'+_0x1cd3('0x36c2')+'\x0a'+_0x1cd3('0x4d62')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20To\x0a'+_0x1cd3('0x3f3a')+_0x1cd3('0x3f39')+_0x1cd3('0x3b44')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x3f3b')+'\x0a'+_0x1cd3('0x3b14')+_0x1cd3('0x3b1f')+_0x1cd3('0x3b15')+_0x1cd3('0x3b16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b19')+_0x1cd3('0x367d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3b20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4d64')+_0x1cd3('0x3891')+_0x1cd3('0x3859')+'\x0a'+_0x1cd3('0x3f3c')+_0x1cd3('0x3f3d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x3675')+'\x20\x20\x20\x20\x0a'+'\x0a');_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x680f'),_0x1cd3('0x6810')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3666')+_0x1cd3('0x3667')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x3857')+_0x1cd3('0x3858')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x66e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6806')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x39ea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x39ef')+_0x1cd3('0x388f')+_0x1cd3('0x6811')+_0x1cd3('0x3ad7')+_0x1cd3('0x6809')+_0x1cd3('0x66df')+_0x1cd3('0x39f3')+_0x1cd3('0x39f4')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f3d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x39fa')+_0x1cd3('0x680b')+_0x1cd3('0x66e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x39fe')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x2b2'),_0x1cd3('0x6812')+'\x0a'+_0x1cd3('0x3adc')+_0x1cd3('0x3b9f')+_0x1cd3('0x3d5a')+_0x1cd3('0x6813')+_0x1cd3('0x6814')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22TOOLS.GO_TO_INTERVALS\x22>\x0a'+_0x1cd3('0x3ba1')+_0x1cd3('0x3671')+'\x0a'+_0x1cd3('0x388f')+'\x0a'+_0x1cd3('0x6815')+_0x1cd3('0x6816')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3ba2')+_0x1cd3('0x3ba3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.interval.id}}\x0a'+_0x1cd3('0x6817')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.interval.createdAt\x20|\x20date:\x27medium\x27}}\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x6818')+_0x1cd3('0x3e3b')+_0x1cd3('0x3d24')+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3ae6')+'\x0a'+_0x1cd3('0x3a22')+_0x1cd3('0x3e3c')+'\x0a'+_0x1cd3('0x3baa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x67b5')+_0x1cd3('0x3e3f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6819')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x67b6')+_0x1cd3('0x386f')+_0x1cd3('0x3e44')+_0x1cd3('0x3e45')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x3e49')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x66ea')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x66db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x66dd')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x3fa6')+_0x1cd3('0x3e51')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x681a')+_0x1cd3('0x3e3f')+_0x1cd3('0x3e40')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x681b')+'\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20Intervals\x0a'+_0x1cd3('0x411a')+_0x1cd3('0x411b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4104')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x415d')+_0x1cd3('0x681d')+_0x1cd3('0x411f')+_0x1cd3('0x681e')+_0x1cd3('0x3b5a')+_0x1cd3('0x681f')+_0x1cd3('0x4121')+_0x1cd3('0x415a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f1c')+_0x1cd3('0x415d')+'\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6821')+_0x1cd3('0x4160')+_0x1cd3('0x3d7d')+_0x1cd3('0x4126')+_0x1cd3('0x6822')+_0x1cd3('0x4128')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6823')+_0x1cd3('0x4128')+_0x1cd3('0x6824')+_0x1cd3('0x6825')+_0x1cd3('0x4128')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6826')+_0x1cd3('0x4128')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x412f')+_0x1cd3('0x417f')+_0x1cd3('0x6827')+_0x1cd3('0x6828')+'>\x0a'+_0x1cd3('0x6829')+_0x1cd3('0x682a')+_0x1cd3('0x5765')+_0x1cd3('0x682b')+_0x1cd3('0x682c')+_0x1cd3('0x4133')+_0x1cd3('0x682d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{interval.name}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x682d')+_0x1cd3('0x682e')+_0x1cd3('0x4133')+_0x1cd3('0x682f')+_0x1cd3('0x6830')+_0x1cd3('0x413e')+_0x1cd3('0x4166')+_0x1cd3('0x413f')+_0x1cd3('0x6831')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4185')+'\x20\x0a'+_0x1cd3('0x4167')+_0x1cd3('0x4142')+_0x1cd3('0x6832')+_0x1cd3('0x6833')+_0x1cd3('0x4145')+_0x1cd3('0x4146')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6834')+_0x1cd3('0x6835')+_0x1cd3('0x3a52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4189')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x412f')+_0x1cd3('0x6836')+_0x1cd3('0x418b')+_0x1cd3('0x414d')+_0x1cd3('0x6837')+_0x1cd3('0x414f')+_0x1cd3('0x4150')+_0x1cd3('0x412f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x416d')+'\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3e51')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e52')+_0x1cd3('0x3e53')+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a66')+'\x0a'+'\x0a');_0x404b17[_0x1cd3('0x37b')]('app/main/apps/tools/views/intervals/intervals.html','\x0a'+'\x0a'+_0x1cd3('0x3adc')+_0x1cd3('0x39ff')+'\x0a'+_0x1cd3('0x3add')+_0x1cd3('0x37e6')+_0x1cd3('0x3a00')+_0x1cd3('0x3ade')+_0x1cd3('0x66af')+_0x1cd3('0x38f9')+_0x1cd3('0x6838')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x3ae1')+'\x0a'+_0x1cd3('0x3ae2')+_0x1cd3('0x3ae3')+_0x1cd3('0x3a02')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a05')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36c2')+_0x1cd3('0x366a')+_0x1cd3('0x3ae5')+_0x1cd3('0x3756')+_0x1cd3('0x3686')+_0x1cd3('0x3ae6')+'\x0a'+_0x1cd3('0x3a07')+_0x1cd3('0x6839')+_0x1cd3('0x3a09')+'\x0a'+_0x1cd3('0x683a')+_0x1cd3('0x3a0b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x66b4')+_0x1cd3('0x3671')+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x3a0c')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x683b')+_0x1cd3('0x66b6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a11')+_0x1cd3('0x3a12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22multi\x20select\x20toggle\x22\x0a'+_0x1cd3('0x66b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x367d')+_0x1cd3('0x3a15')+_0x1cd3('0x3a16')+_0x1cd3('0x683c')+_0x1cd3('0x3c2e')+_0x1cd3('0x3849')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a16')+_0x1cd3('0x683d')+_0x1cd3('0x3a19')+_0x1cd3('0x3849')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a1a')+_0x1cd3('0x3aef')+_0x1cd3('0x366a')+'\x0a'+_0x1cd3('0x3a1b')+_0x1cd3('0x683e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a1e')+_0x1cd3('0x683f')+_0x1cd3('0x66bb')+_0x1cd3('0x3a20')+_0x1cd3('0x3859')+_0x1cd3('0x3841')+_0x1cd3('0x36f6')+_0x1cd3('0x3686')+_0x1cd3('0x3a21')+'\x0a'+_0x1cd3('0x3a22')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3af1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a25')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a27')+_0x1cd3('0x3af3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6840')+_0x1cd3('0x3a2a')+_0x1cd3('0x3a2b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.ID\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x66fd')+_0x1cd3('0x66c1')+_0x1cd3('0x3a33')+_0x1cd3('0x3a34')+_0x1cd3('0x3db3')+_0x1cd3('0x3a35')+_0x1cd3('0x6841')+_0x1cd3('0x42f9')+_0x1cd3('0x3a38')+_0x1cd3('0x66c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x3af8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6842')+_0x1cd3('0x6843')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x395d')+'\x0a'+_0x1cd3('0x3b04')+'\x0a'+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x6848')+_0x1cd3('0x6849')+_0x1cd3('0x41c5')+_0x1cd3('0x3a52')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a54')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x684a')+_0x1cd3('0x684b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Interval\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3699')+'\x0a'+_0x1cd3('0x369a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x0a'+_0x1cd3('0x3a34')+_0x1cd3('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a5f')+'\x0a'+_0x1cd3('0x684c')+_0x1cd3('0x3a61')+_0x1cd3('0x684d')+_0x1cd3('0x3a63')+'\x0a'+_0x1cd3('0x3a64')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a65')+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a66')+'\x0a'+_0x1cd3('0x684e')+_0x1cd3('0x684f')+_0x1cd3('0x6850')+_0x1cd3('0x3b0f')+_0x1cd3('0x376d')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3686'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x22b3'),'\x0a'+_0x1cd3('0x6851')+_0x1cd3('0x3666')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x39d7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x39db')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x0a'+_0x1cd3('0x6852')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x6853')+_0x1cd3('0x3b24')+_0x1cd3('0x66ea')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x66db')+_0x1cd3('0x6854')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6855')+_0x1cd3('0x3b24')+_0x1cd3('0x66dd')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ee')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x39fe')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17['put']('app/main/apps/tools/views/pauses/pauses.html',_0x1cd3('0x685a')+'\x0a'+_0x1cd3('0x3adc')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3add')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a00')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x685b')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x3ae1')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae3')+_0x1cd3('0x3a02')+_0x1cd3('0x3a03')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a04')+_0x1cd3('0x3a05')+_0x1cd3('0x66b1')+_0x1cd3('0x36c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae5')+_0x1cd3('0x3756')+_0x1cd3('0x3686')+_0x1cd3('0x3ae6')+'\x0a'+_0x1cd3('0x3a07')+_0x1cd3('0x685c')+_0x1cd3('0x3a09')+'\x0a'+_0x1cd3('0x685d')+_0x1cd3('0x3a0b')+_0x1cd3('0x3ae8')+_0x1cd3('0x66b4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x3a0c')+'\x0a'+_0x1cd3('0x3a0d')+_0x1cd3('0x685e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedPauses.length}}\x0a'+_0x1cd3('0x66b6')+_0x1cd3('0x38f9')+'\x0a'+_0x1cd3('0x3aeb')+_0x1cd3('0x3a11')+_0x1cd3('0x3a12')+_0x1cd3('0x3aec')+_0x1cd3('0x66b7')+_0x1cd3('0x3a14')+_0x1cd3('0x367d')+_0x1cd3('0x3a15')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x685f')+_0x1cd3('0x3c2e')+_0x1cd3('0x3849')+_0x1cd3('0x3aee')+_0x1cd3('0x3a16')+_0x1cd3('0x6860')+_0x1cd3('0x3a19')+_0x1cd3('0x3849')+_0x1cd3('0x3aee')+_0x1cd3('0x3a1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x0a'+_0x1cd3('0x3a1b')+_0x1cd3('0x6861')+_0x1cd3('0x3a1d')+_0x1cd3('0x3a1e')+_0x1cd3('0x6862')+_0x1cd3('0x66bb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x3841')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a21')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a23')+'\x0a'+_0x1cd3('0x3af1')+_0x1cd3('0x3a24')+'\x0a'+_0x1cd3('0x3a25')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a27')+_0x1cd3('0x3af3')+_0x1cd3('0x6863')+_0x1cd3('0x6864')+_0x1cd3('0x3a2a')+_0x1cd3('0x3a2b')+_0x1cd3('0x66bf')+_0x1cd3('0x66fd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.DESCRIPTION\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x3a33')+_0x1cd3('0x3a34')+_0x1cd3('0x3db3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6865')+_0x1cd3('0x42f9')+_0x1cd3('0x3a38')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a'+_0x1cd3('0x3a3a')+_0x1cd3('0x3af8')+_0x1cd3('0x3a34')+_0x1cd3('0x6866')+_0x1cd3('0x6867')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a49')+'\x0a'+_0x1cd3('0x3a4a')+_0x1cd3('0x66cb')+_0x1cd3('0x3a4c')+_0x1cd3('0x395d')+'\x0a'+_0x1cd3('0x3b04')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a4f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a5a')+'\x0a'+_0x1cd3('0x686d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22TOOLS.DELETE_PAUSE\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Pause\x0a'+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a5d')+_0x1cd3('0x3a5e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a61')+_0x1cd3('0x686e')+_0x1cd3('0x3a63')+'\x0a'+_0x1cd3('0x3a64')+_0x1cd3('0x36f6')+_0x1cd3('0x3a65')+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a66')+'\x0a'+_0x1cd3('0x686f')+_0x1cd3('0x6870')+_0x1cd3('0x6871')+_0x1cd3('0x3b0f')+_0x1cd3('0x376d')+_0x1cd3('0x6872')+_0x1cd3('0x3686'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x22e8'),_0x1cd3('0x6873')+_0x1cd3('0x6874')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x66e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x6875')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x678d')+_0x1cd3('0x6876')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autocomplete=\x22off\x22\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6790')+_0x1cd3('0x6791')+_0x1cd3('0x6877')+_0x1cd3('0x3b24')+_0x1cd3('0x6792')+_0x1cd3('0x3756')+_0x1cd3('0x39ea')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6878')+_0x1cd3('0x6879')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x3a6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Output\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Active\x0a'+_0x1cd3('0x3ed3')+_0x1cd3('0x3870')+_0x1cd3('0x3fab')+_0x1cd3('0x687f')+_0x1cd3('0x5a91')+_0x1cd3('0x46ed')+_0x1cd3('0x6880')+_0x1cd3('0x6881')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6882')+_0x1cd3('0x386e')+_0x1cd3('0x46f1')+_0x1cd3('0x6883')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x386f')+_0x1cd3('0x46f3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x46ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Time\x20is\x20required\x0a'+_0x1cd3('0x386e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6884')+_0x1cd3('0x386e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x44f1')+_0x1cd3('0x3841')+_0x1cd3('0x3fab')+_0x1cd3('0x6885')+_0x1cd3('0x5a91')+_0x1cd3('0x46ed')+_0x1cd3('0x6886')+_0x1cd3('0x6881')+_0x1cd3('0x386c')+_0x1cd3('0x6882')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x46f1')+_0x1cd3('0x6883')+_0x1cd3('0x386e')+_0x1cd3('0x386f')+_0x1cd3('0x46f3')+_0x1cd3('0x36b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6887')+_0x1cd3('0x386c')+_0x1cd3('0x6888')+_0x1cd3('0x386e')+_0x1cd3('0x46f1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Time\x20is\x20invalid\x0a'+_0x1cd3('0x386e')+_0x1cd3('0x386f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x44f1')+_0x1cd3('0x3841')+_0x1cd3('0x6889')+_0x1cd3('0x688a')+_0x1cd3('0x688b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3acf')+_0x1cd3('0x688c')+_0x1cd3('0x688d')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x688e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x688f')+_0x1cd3('0x3756')+_0x1cd3('0x3f9f')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6890')+_0x1cd3('0x6891')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Hours\x0a'+_0x1cd3('0x6894')+_0x1cd3('0x3a4d')+_0x1cd3('0x6895')+_0x1cd3('0x6896')+_0x1cd3('0x3a4d')+_0x1cd3('0x6897')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Months\x0a'+_0x1cd3('0x6898')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6899')+_0x1cd3('0x689a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x689b')+_0x1cd3('0x3acc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x689c')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x689d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3870')+_0x1cd3('0x689e')+_0x1cd3('0x689f')+_0x1cd3('0x68a0')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e6')+_0x1cd3('0x3a6f')+_0x1cd3('0x68a1')+_0x1cd3('0x68a2')+_0x1cd3('0x3acc')+_0x1cd3('0x68a3')+_0x1cd3('0x3b24')+_0x1cd3('0x68a4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x689e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EmailAddress\x0a'+_0x1cd3('0x68a5')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x68a6')+_0x1cd3('0x68a7')+_0x1cd3('0x3b24')+_0x1cd3('0x68a8')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x68a9')+_0x1cd3('0x68aa')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EmailCcAddress\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x68ab')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EmailBccAddress\x0a'+_0x1cd3('0x68ac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x68ad')+_0x1cd3('0x68ae')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x68af')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x68ab')+_0x1cd3('0x68b0')+_0x1cd3('0x3ed3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3acf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x0a'+_0x1cd3('0x68b1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x68b2')+_0x1cd3('0x3b24')+_0x1cd3('0x66dd')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x388f')+_0x1cd3('0x68b3')+_0x1cd3('0x3ad7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22scheduleForm.$invalid\x20||\x20scheduleForm.$pristine\x22\x0a'+_0x1cd3('0x66df')+_0x1cd3('0x39f3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x68b4')+_0x1cd3('0x39f6')+_0x1cd3('0x68b5')+_0x1cd3('0x68b6')+_0x1cd3('0x68b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x39fa')+_0x1cd3('0x68b8')+_0x1cd3('0x66e3')+_0x1cd3('0x3a20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x39fe')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x22c6'),_0x1cd3('0x67c1')+_0x1cd3('0x67c2')+_0x1cd3('0x3943')+_0x1cd3('0x67c3')+_0x1cd3('0x67c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f73')+_0x1cd3('0x3671')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x67c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x67c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x67c7')+_0x1cd3('0x67c9')+_0x1cd3('0x43b3')+_0x1cd3('0x366a')+_0x1cd3('0x68b9')+_0x1cd3('0x67ca')+_0x1cd3('0x67cb')+_0x1cd3('0x67cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x67ce')+_0x1cd3('0x3755')+_0x1cd3('0x3756')+_0x1cd3('0x4635')+_0x1cd3('0x3d77')+_0x1cd3('0x68ba')+_0x1cd3('0x67cf')+_0x1cd3('0x3ca1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x22ANALYTICS.ID\x22\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x67d1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x22ANALYTICS.DESCRIPTION\x22\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x68bb')+_0x1cd3('0x3c1e')+_0x1cd3('0x3c1f')+_0x1cd3('0x3ca2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x68bc')+_0x1cd3('0x3ca6')+_0x1cd3('0x67d4')+_0x1cd3('0x386e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3c1e')+_0x1cd3('0x67d5')+_0x1cd3('0x68bd')+_0x1cd3('0x67d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20report.description\x20}}\x0a'+_0x1cd3('0x67d8')+_0x1cd3('0x3c1e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ca8')+_0x1cd3('0x3ca9')+'\x0a'+_0x1cd3('0x67d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-label=\x22{page:\x20\x27{{\x20\x27ANALYTICS.PAGE\x27\x20|\x20translate\x20}}:\x27,\x20rowsPerPage:\x20\x27{{\x20\x27ANALYTICS.ROWSPERPAGE\x27\x20|\x20translate\x20}}:\x27,\x20of:\x20\x27{{\x20\x27ANALYTICS.OF\x27\x20|\x20translate\x20}}\x27}\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-limit=\x22vm.query.limit\x22\x0a'+_0x1cd3('0x68be')+_0x1cd3('0x67db')+_0x1cd3('0x67dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-on-paginate=\x22vm.getReports\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-page-select\x0a'+_0x1cd3('0x67de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x3d2a')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x67df')+_0x1cd3('0x67e0')+_0x1cd3('0x67e1')+_0x1cd3('0x3d2d')+_0x1cd3('0x384d'));_0x404b17['put'](_0x1cd3('0x68bf'),_0x1cd3('0x68c0')+'\x0a'+_0x1cd3('0x3adc')+_0x1cd3('0x39ff')+'\x0a'+_0x1cd3('0x3add')+_0x1cd3('0x37e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ade')+_0x1cd3('0x66af')+_0x1cd3('0x38f9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Scheduler\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x3ae1')+'\x0a'+_0x1cd3('0x3ae2')+_0x1cd3('0x3ae3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae4')+_0x1cd3('0x3a04')+_0x1cd3('0x3a05')+_0x1cd3('0x66b1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3686')+_0x1cd3('0x3ae6')+'\x0a'+_0x1cd3('0x3a07')+_0x1cd3('0x68c1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22>\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a0b')+_0x1cd3('0x3ae8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Back\x0a'+_0x1cd3('0x3671')+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x3a0c')+'\x0a'+_0x1cd3('0x3a0d')+_0x1cd3('0x68c2')+_0x1cd3('0x68c3')+_0x1cd3('0x66b6')+_0x1cd3('0x38f9')+'\x0a'+_0x1cd3('0x3aeb')+_0x1cd3('0x3a11')+_0x1cd3('0x3a12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22multi\x20select\x20toggle\x22\x0a'+_0x1cd3('0x66b7')+_0x1cd3('0x3a14')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a16')+_0x1cd3('0x68c4')+_0x1cd3('0x3c2e')+_0x1cd3('0x3849')+_0x1cd3('0x3aee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x68c5')+_0x1cd3('0x3a19')+_0x1cd3('0x3849')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a1a')+_0x1cd3('0x3aef')+_0x1cd3('0x366a')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x68c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a1e')+_0x1cd3('0x68c7')+_0x1cd3('0x66bb')+_0x1cd3('0x3a20')+_0x1cd3('0x3859')+_0x1cd3('0x3841')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a21')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a23')+'\x0a'+_0x1cd3('0x3af1')+_0x1cd3('0x3a24')+'\x0a'+_0x1cd3('0x3a25')+_0x1cd3('0x68c8')+_0x1cd3('0x3a27')+_0x1cd3('0x3af3')+_0x1cd3('0x68c9')+_0x1cd3('0x68ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a2b')+_0x1cd3('0x66bf')+_0x1cd3('0x66fd')+_0x1cd3('0x68cb')+_0x1cd3('0x68cc')+_0x1cd3('0x68cd')+_0x1cd3('0x66c1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3db3')+_0x1cd3('0x3a35')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e63')+_0x1cd3('0x3a38')+_0x1cd3('0x66c3')+_0x1cd3('0x3a3a')+_0x1cd3('0x3af8')+_0x1cd3('0x3a34')+_0x1cd3('0x68ce')+_0x1cd3('0x68cf')+_0x1cd3('0x68d0')+_0x1cd3('0x68d1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22id\x20\x22\x20>{{schedule.id}}\x0a'+_0x1cd3('0x68d2')+_0x1cd3('0x68d3')+_0x1cd3('0x68d4')+_0x1cd3('0x68d5')+_0x1cd3('0x68d6')+_0x1cd3('0x68d7')+_0x1cd3('0x68d6')+_0x1cd3('0x68d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3b04')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3a4f')+'\x0a'+_0x1cd3('0x68da')+_0x1cd3('0x68db')+_0x1cd3('0x68dc')+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3ce1')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x68dd')+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a54')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a5a')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x0a'+_0x1cd3('0x3a34')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a5f')+'\x0a'+_0x1cd3('0x68e0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x68e1')+_0x1cd3('0x3a63')+'\x0a'+_0x1cd3('0x3a64')+_0x1cd3('0x36f6')+_0x1cd3('0x3a65')+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a66')+'\x0a'+_0x1cd3('0x68e2')+'\x20\x20\x20\x20\x0a');_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x2300'),_0x1cd3('0x68e5')+_0x1cd3('0x68e6')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3858')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x66e7')+_0x1cd3('0x68e7')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x68e8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x66ea')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x66db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39da')+_0x1cd3('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x39ef')+_0x1cd3('0x388f')+_0x1cd3('0x68ea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x1cd3('0x68eb')+_0x1cd3('0x66df')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x68ec')+_0x1cd3('0x39f6')+_0x1cd3('0x68ed')+_0x1cd3('0x68ee')+_0x1cd3('0x68ef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x39fa')+_0x1cd3('0x68f0')+_0x1cd3('0x66e3')+_0x1cd3('0x3a20')+_0x1cd3('0x66e4')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x39fe')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')]('app/main/apps/tools/views/sounds/sounds.html',_0x1cd3('0x68f1')+'\x0a'+_0x1cd3('0x3adc')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3add')+_0x1cd3('0x37e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ade')+_0x1cd3('0x66af')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Sounds\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x3ae1')+'\x0a'+_0x1cd3('0x3ae2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a02')+_0x1cd3('0x3a03')+_0x1cd3('0x3ae4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a05')+_0x1cd3('0x66b1')+_0x1cd3('0x36c2')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3686')+_0x1cd3('0x3ae6')+'\x0a'+_0x1cd3('0x3a07')+_0x1cd3('0x68f2')+_0x1cd3('0x3a09')+'\x0a'+_0x1cd3('0x68f3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae8')+_0x1cd3('0x66b4')+_0x1cd3('0x3671')+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x3a0c')+'\x0a'+_0x1cd3('0x3a0d')+_0x1cd3('0x68f4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedSounds.length}}\x0a'+_0x1cd3('0x66b6')+_0x1cd3('0x38f9')+'\x0a'+_0x1cd3('0x3aeb')+_0x1cd3('0x3a11')+_0x1cd3('0x3a12')+_0x1cd3('0x3aec')+_0x1cd3('0x66b7')+_0x1cd3('0x3a14')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Select\x20all\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3aee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a19')+_0x1cd3('0x3849')+_0x1cd3('0x3aee')+_0x1cd3('0x3a1a')+_0x1cd3('0x3aef')+_0x1cd3('0x366a')+'\x0a'+_0x1cd3('0x3a1b')+_0x1cd3('0x68f5')+_0x1cd3('0x3a1d')+_0x1cd3('0x3a1e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x3841')+_0x1cd3('0x36f6')+_0x1cd3('0x3686')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a22')+_0x1cd3('0x3a23')+'\x0a'+_0x1cd3('0x3af1')+_0x1cd3('0x3a24')+'\x0a'+_0x1cd3('0x3a25')+_0x1cd3('0x68f6')+_0x1cd3('0x3a27')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x68f7')+_0x1cd3('0x3a2a')+_0x1cd3('0x3a2b')+_0x1cd3('0x66bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.NAME\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.AUDIO\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.DESCRIPTION\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x3a33')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3db3')+_0x1cd3('0x3a35')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3c56')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x66c3')+_0x1cd3('0x3a3a')+_0x1cd3('0x3af8')+_0x1cd3('0x3a34')+_0x1cd3('0x68f8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x68f9')+_0x1cd3('0x68fa')+_0x1cd3('0x68fb')+_0x1cd3('0x68fc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x68fd')+_0x1cd3('0x68fe')+_0x1cd3('0x68ff')+_0x1cd3('0x3dc5')+_0x1cd3('0x6900')+_0x1cd3('0x6901')+_0x1cd3('0x3b02')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a49')+'\x0a'+_0x1cd3('0x3a4a')+_0x1cd3('0x66cb')+_0x1cd3('0x3a4c')+_0x1cd3('0x395d')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3a4f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+_0x1cd3('0x3a54')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3ce1')+'\x0a'+_0x1cd3('0x6904')+_0x1cd3('0x6905')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Download\x20Sound\x0a'+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a5a')+'\x0a'+_0x1cd3('0x6906')+_0x1cd3('0x6907')+_0x1cd3('0x6908')+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3699')+'\x0a'+_0x1cd3('0x369a')+_0x1cd3('0x3951')+'\x0a'+'\x0a'+_0x1cd3('0x3a34')+_0x1cd3('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x6909')+_0x1cd3('0x3a61')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a63')+'\x0a'+_0x1cd3('0x3a64')+_0x1cd3('0x36f6')+_0x1cd3('0x3a65')+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a66')+'\x0a'+_0x1cd3('0x690a')+_0x1cd3('0x690b')+_0x1cd3('0x5809')+_0x1cd3('0x376d')+_0x1cd3('0x690c')+_0x1cd3('0x3686'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x2309'),'\x0a'+_0x1cd3('0x580b')+_0x1cd3('0x3666')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3858')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x3b14')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b15')+_0x1cd3('0x3b16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b18')+_0x1cd3('0x3b19')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x366a')+_0x1cd3('0x690d')+_0x1cd3('0x690e')+_0x1cd3('0x580d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20flow-drag-leave=\x22vm.dropping=false\x22\x20ng-class=\x22{\x27dropping\x27:vm.dropping}\x22>\x0a'+'\x0a'+_0x1cd3('0x580f')+_0x1cd3('0x690f')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x5811')+_0x1cd3('0x5812')+_0x1cd3('0x5813')+_0x1cd3('0x367d')+_0x1cd3('0x6910')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+'\x0a'+_0x1cd3('0x5815')+_0x1cd3('0x38c3')+_0x1cd3('0x6911')+_0x1cd3('0x6912')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x0a'+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x3b20')+_0x1cd3('0x5818')+_0x1cd3('0x3b4b')+_0x1cd3('0x5819')+_0x1cd3('0x6913')+_0x1cd3('0x581b')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3681')+_0x1cd3('0x3676'));_0x404b17['put'](_0x1cd3('0x2324'),_0x1cd3('0x6914')+_0x1cd3('0x4a90')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x66e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x66db')+_0x1cd3('0x6916')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x6917')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ed3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x39ef')+_0x1cd3('0x388f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39fa')+_0x1cd3('0x691d')+_0x1cd3('0x66e3')+_0x1cd3('0x3a20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3681')+'\x0a');_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x2be'),_0x1cd3('0x691e')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ff')+'\x0a'+_0x1cd3('0x3add')+_0x1cd3('0x37e6')+_0x1cd3('0x3a00')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x66af')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x691f')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3ae2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a05')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36c2')+_0x1cd3('0x366a')+_0x1cd3('0x3ae5')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae6')+'\x0a'+_0x1cd3('0x3a07')+_0x1cd3('0x6920')+_0x1cd3('0x3a09')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a0b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x66b4')+_0x1cd3('0x3671')+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x3a0c')+'\x0a'+_0x1cd3('0x3a0d')+_0x1cd3('0x6921')+_0x1cd3('0x6922')+_0x1cd3('0x66b6')+_0x1cd3('0x38f9')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a11')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22$mdOpenMenu($event)\x22\x0a'+_0x1cd3('0x3aec')+_0x1cd3('0x66b7')+_0x1cd3('0x3a14')+_0x1cd3('0x367d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a16')+_0x1cd3('0x6923')+_0x1cd3('0x3c2e')+_0x1cd3('0x3849')+_0x1cd3('0x3aee')+_0x1cd3('0x3a16')+_0x1cd3('0x6924')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Select\x20none\x0a'+_0x1cd3('0x3849')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a1a')+_0x1cd3('0x3aef')+_0x1cd3('0x366a')+'\x0a'+_0x1cd3('0x3a1b')+_0x1cd3('0x6925')+_0x1cd3('0x3a1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a22')+_0x1cd3('0x3a23')+'\x0a'+_0x1cd3('0x3af1')+_0x1cd3('0x3a24')+'\x0a'+_0x1cd3('0x3a25')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a27')+_0x1cd3('0x3af3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6926')+_0x1cd3('0x3a2a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x66bf')+_0x1cd3('0x66fd')+_0x1cd3('0x66c1')+_0x1cd3('0x6927')+_0x1cd3('0x3a33')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3db3')+_0x1cd3('0x3a35')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3c56')+_0x1cd3('0x3a38')+_0x1cd3('0x66c3')+_0x1cd3('0x3a3a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a34')+_0x1cd3('0x6928')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6929')+_0x1cd3('0x692a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{tag.color}}\x0a'+_0x1cd3('0x3b02')+'\x0a'+_0x1cd3('0x3b03')+'\x0a'+_0x1cd3('0x3a49')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x692f')+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3a5a')+'\x0a'+_0x1cd3('0x6930')+_0x1cd3('0x6931')+_0x1cd3('0x6932')+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3951')+'\x0a'+'\x0a'+_0x1cd3('0x3a34')+_0x1cd3('0x3a5d')+_0x1cd3('0x3a5e')+_0x1cd3('0x3a5f')+'\x0a'+_0x1cd3('0x6933')+_0x1cd3('0x3a61')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a64')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a65')+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a66')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6934')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20tag\x22\x20translate\x20translate-attr-aria-label=\x22TOOLS.ADD_TAG\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x376d')+_0x1cd3('0x6935')+_0x1cd3('0x3686'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x2339'),_0x1cd3('0x6936')+_0x1cd3('0x6937')+_0x1cd3('0x3666')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x3857')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x39d7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x66e7')+_0x1cd3('0x6938')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x66ea')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x5853')+_0x1cd3('0x6939')+_0x1cd3('0x693a')+_0x1cd3('0x366a')+_0x1cd3('0x3acf')+_0x1cd3('0x66db')+_0x1cd3('0x693b')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x693c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x66dd')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x693e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39fa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3adc')+_0x1cd3('0x39ff')+'\x0a'+_0x1cd3('0x3add')+_0x1cd3('0x37e6')+_0x1cd3('0x3a00')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x66af')+_0x1cd3('0x38f9')+_0x1cd3('0x6940')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3ae2')+_0x1cd3('0x3ae3')+_0x1cd3('0x3a02')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae4')+_0x1cd3('0x3a04')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x66b1')+_0x1cd3('0x36c2')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3686')+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x6941')+_0x1cd3('0x3a09')+'\x0a'+_0x1cd3('0x6942')+_0x1cd3('0x3a0b')+_0x1cd3('0x3ae8')+_0x1cd3('0x66b4')+_0x1cd3('0x3671')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a0c')+'\x0a'+_0x1cd3('0x3a0d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedTemplates.length}}\x0a'+_0x1cd3('0x66b6')+_0x1cd3('0x38f9')+'\x0a'+_0x1cd3('0x3aeb')+_0x1cd3('0x3a11')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22$mdOpenMenu($event)\x22\x0a'+_0x1cd3('0x3aec')+_0x1cd3('0x66b7')+_0x1cd3('0x3a14')+_0x1cd3('0x367d')+_0x1cd3('0x3a15')+_0x1cd3('0x3a16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3c2e')+_0x1cd3('0x3849')+_0x1cd3('0x3aee')+_0x1cd3('0x3a16')+_0x1cd3('0x6943')+_0x1cd3('0x3a19')+_0x1cd3('0x3849')+_0x1cd3('0x3aee')+_0x1cd3('0x3a1a')+_0x1cd3('0x3aef')+_0x1cd3('0x366a')+'\x0a'+_0x1cd3('0x3a1b')+_0x1cd3('0x6944')+_0x1cd3('0x3a1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6945')+_0x1cd3('0x66bb')+_0x1cd3('0x3a20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3841')+_0x1cd3('0x36f6')+_0x1cd3('0x3686')+_0x1cd3('0x3a21')+'\x0a'+_0x1cd3('0x3a22')+_0x1cd3('0x3a23')+'\x0a'+_0x1cd3('0x3af1')+_0x1cd3('0x3a24')+'\x0a'+_0x1cd3('0x3a25')+_0x1cd3('0x6946')+_0x1cd3('0x3a27')+_0x1cd3('0x3af3')+_0x1cd3('0x6947')+_0x1cd3('0x6948')+_0x1cd3('0x3a2a')+_0x1cd3('0x3a2b')+_0x1cd3('0x66bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.NAME\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.DESCRIPTION\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3db3')+_0x1cd3('0x3a35')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x42f9')+_0x1cd3('0x3a38')+_0x1cd3('0x66c3')+_0x1cd3('0x3a3a')+_0x1cd3('0x3af8')+_0x1cd3('0x3a34')+_0x1cd3('0x6949')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x694a')+_0x1cd3('0x694b')+_0x1cd3('0x694c')+_0x1cd3('0x694d')+_0x1cd3('0x694e')+_0x1cd3('0x694d')+_0x1cd3('0x694f')+_0x1cd3('0x3b02')+'\x0a'+_0x1cd3('0x3b03')+'\x0a'+_0x1cd3('0x3a49')+'\x0a'+_0x1cd3('0x3a4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22TOOLS.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a'+_0x1cd3('0x3a4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3a4f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6950')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x6951')+_0x1cd3('0x6952')+_0x1cd3('0x6953')+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3699')+'\x0a'+_0x1cd3('0x369a')+_0x1cd3('0x3951')+'\x0a'+'\x0a'+_0x1cd3('0x3a34')+_0x1cd3('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a5f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6954')+_0x1cd3('0x3a63')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a66')+'\x0a'+_0x1cd3('0x6955')+_0x1cd3('0x6956')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20template\x22\x20translate\x20translate-attr-aria-label=\x22TOOLS.ADD_TEMPLATE\x22>\x0a'+_0x1cd3('0x3b0f')+_0x1cd3('0x376d')+_0x1cd3('0x6957')+'\x20\x20\x20\x20\x0a');_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x244c'),'\x0a'+_0x1cd3('0x6958')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x66e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6959')+_0x1cd3('0x3b24')+_0x1cd3('0x66ea')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x695a')+_0x1cd3('0x695b')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x1cd3('0x695c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6f')+_0x1cd3('0x3f7a')+_0x1cd3('0x4f95')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x695d')+_0x1cd3('0x3fe5')+_0x1cd3('0x695e')+_0x1cd3('0x695f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27TOOLS.OPENCHANNEL\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fe5')+_0x1cd3('0x6960')+_0x1cd3('0x6961')+_0x1cd3('0x6962')+_0x1cd3('0x3fe5')+_0x1cd3('0x6963')+_0x1cd3('0x6964')+_0x1cd3('0x6965')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6966')+_0x1cd3('0x6967')+_0x1cd3('0x6968')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6969')+_0x1cd3('0x696a')+_0x1cd3('0x696b')+_0x1cd3('0x3fe5')+_0x1cd3('0x696c')+_0x1cd3('0x696d')+_0x1cd3('0x696e')+_0x1cd3('0x3acc')+_0x1cd3('0x696f')+_0x1cd3('0x3b24')+_0x1cd3('0x6970')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3acf')+_0x1cd3('0x6971')+_0x1cd3('0x3ed3')+_0x1cd3('0x3870')+_0x1cd3('0x3acf')+_0x1cd3('0x66db')+_0x1cd3('0x6972')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x39ef')+_0x1cd3('0x388f')+_0x1cd3('0x6973')+_0x1cd3('0x3ad7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22triggerForm.$invalid\x20||\x20triggerForm.$pristine\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22TOOLS.SAVE\x22\x20translate-attr-aria-label=\x22TOOLS.SAVE\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x1cd3('0x39f4')+'\x0a'+_0x1cd3('0x6974')+_0x1cd3('0x39f6')+_0x1cd3('0x6975')+_0x1cd3('0x6976')+_0x1cd3('0x6977')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x39fa')+_0x1cd3('0x6978')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22TOOLS.DELETE\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x66e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x39fe')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')]('app/main/apps/tools/views/triggers/edit/actions/dialog.html',_0x1cd3('0x6979')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x697a')+_0x1cd3('0x697b')+_0x1cd3('0x697c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e5')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x1cd3('0x697d')+_0x1cd3('0x3dff')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x3f7a')+_0x1cd3('0x697e')+_0x1cd3('0x697f')+_0x1cd3('0x6980')+_0x1cd3('0x3fe5')+_0x1cd3('0x6981')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22vm.trigger.channel\x20==\x20\x27voice\x27\x20&&\x20((vm.newAction\x20&&\x20vm.hasModulePermissions.Integrations)\x20||\x20!vm.newAction)\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27TOOLS.INTEGRATIONS\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fe5')+_0x1cd3('0x6982')+_0x1cd3('0x3a4d')+_0x1cd3('0x6983')+_0x1cd3('0x3fe5')+_0x1cd3('0x6984')+_0x1cd3('0x3a4d')+_0x1cd3('0x6985')+_0x1cd3('0x3fe5')+_0x1cd3('0x6986')+_0x1cd3('0x3a4d')+_0x1cd3('0x6987')+_0x1cd3('0x3fe5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.BOT\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x698a')+_0x1cd3('0x3a4d')+_0x1cd3('0x698b')+_0x1cd3('0x3acc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Action\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x698c')+_0x1cd3('0x698d')+_0x1cd3('0x698e')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x3a6f')+_0x1cd3('0x698f')+_0x1cd3('0x6990')+_0x1cd3('0x3acc')+_0x1cd3('0x6991')+_0x1cd3('0x3b24')+_0x1cd3('0x6992')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x6993')+_0x1cd3('0x3f11')+_0x1cd3('0x698e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e6')+_0x1cd3('0x3a6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6991')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6728')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6996')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x0a'+_0x1cd3('0x698e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6f')+_0x1cd3('0x6997')+_0x1cd3('0x6990')+_0x1cd3('0x3acc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x6998')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x6996')+_0x1cd3('0x6999')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f7a')+_0x1cd3('0x699a')+_0x1cd3('0x3a4d')+_0x1cd3('0x699b')+_0x1cd3('0x3fe5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x699d')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f11')+_0x1cd3('0x698e')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x699e')+_0x1cd3('0x3a4d')+_0x1cd3('0x699f')+_0x1cd3('0x69a0')+_0x1cd3('0x3a4d')+_0x1cd3('0x69a1')+_0x1cd3('0x69a2')+_0x1cd3('0x3a4d')+_0x1cd3('0x69a3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a'+_0x1cd3('0x3acc')+_0x1cd3('0x6991')+_0x1cd3('0x3b24')+_0x1cd3('0x6728')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x672e')+_0x1cd3('0x69a4')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x69a5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6730')+_0x1cd3('0x3756')+_0x1cd3('0x3e87')+_0x1cd3('0x6731')+_0x1cd3('0x3756')+_0x1cd3('0x39ea')+_0x1cd3('0x36aa')+_0x1cd3('0x69a6')+_0x1cd3('0x69a7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x69a9')+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a'+_0x1cd3('0x3e12')+_0x1cd3('0x3e13')+_0x1cd3('0x69aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e15')+_0x1cd3('0x36aa')+_0x1cd3('0x69a6')+_0x1cd3('0x69ab')+_0x1cd3('0x69ac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x69ad')+_0x1cd3('0x69ae')+_0x1cd3('0x69af')+_0x1cd3('0x69b0')+_0x1cd3('0x69b1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x69b2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Script_Type\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x69b4')+_0x1cd3('0x69b5')+_0x1cd3('0x69b6')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x69b7')+_0x1cd3('0x6991')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Script_Info\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x69b4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Script\x0a'+_0x1cd3('0x69b8')+_0x1cd3('0x69b9')+_0x1cd3('0x3ed1')+_0x1cd3('0x69ba')+_0x1cd3('0x39e1')+_0x1cd3('0x3b24')+_0x1cd3('0x69bb')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x3669')+_0x1cd3('0x3870')+_0x1cd3('0x69bc')+_0x1cd3('0x69bd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x69be')+_0x1cd3('0x69bf')+_0x1cd3('0x69c0')+_0x1cd3('0x69c1')+_0x1cd3('0x69c2')+_0x1cd3('0x69c3')+_0x1cd3('0x69c4')+_0x1cd3('0x69c5')+_0x1cd3('0x69c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Desk\x0a'+_0x1cd3('0x69ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22(vm.newAction\x20&&\x20vm.hasSectionPermissions[1307])\x20||\x20!vm.newAction\x22\x20\x0a'+_0x1cd3('0x69cb')+_0x1cd3('0x69cc')+_0x1cd3('0x69cd')+_0x1cd3('0x69ce')+_0x1cd3('0x69cf')+_0x1cd3('0x69d0')+_0x1cd3('0x69d1')+_0x1cd3('0x69d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22(vm.newAction\x20&&\x20vm.hasSectionPermissions[1310])\x20||\x20!vm.newAction\x22\x20\x0a'+_0x1cd3('0x69d3')+_0x1cd3('0x69d4')+_0x1cd3('0x69d5')+_0x1cd3('0x69d6')+_0x1cd3('0x3acc')+_0x1cd3('0x6991')+_0x1cd3('0x3b24')+_0x1cd3('0x69d7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x69d8')+_0x1cd3('0x69d9')+_0x1cd3('0x69da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x1cd3('0x69db')+_0x1cd3('0x3dff')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x69dc')+_0x1cd3('0x69dd')+_0x1cd3('0x3acc')+_0x1cd3('0x69a5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x69de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x69df')+_0x1cd3('0x69d9')+_0x1cd3('0x69da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.newAction\x20&&\x20(!vm.newAction\x20&&\x20!vm.hasSectionPermissions[1306])\x22\x20\x0a'+_0x1cd3('0x3dff')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x69e0')+_0x1cd3('0x69dd')+_0x1cd3('0x3acc')+_0x1cd3('0x69a5')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Account\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x69e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Account\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x69de')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x69e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Account\x0a'+_0x1cd3('0x69da')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x1cd3('0x69e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6f')+_0x1cd3('0x69e6')+_0x1cd3('0x69dd')+_0x1cd3('0x3acc')+_0x1cd3('0x69a5')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Account\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Account\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x69de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x69e9')+_0x1cd3('0x69d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20data2.name\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x69de')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x69ec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Account\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20data2.name\x20}}\x0a'+_0x1cd3('0x3acc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x69de')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x69ef')+_0x1cd3('0x69d9')+_0x1cd3('0x69da')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+_0x1cd3('0x69f0')+_0x1cd3('0x3dff')+_0x1cd3('0x3a6f')+_0x1cd3('0x69f1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22data2.canSelect\x20===\x20false\x22>{{\x20data2.name\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x69a5')+_0x1cd3('0x3b24')+_0x1cd3('0x69de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x69f2')+_0x1cd3('0x69d9')+_0x1cd3('0x69da')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.newAction\x20&&\x20(!vm.newAction\x20&&\x20!vm.hasSectionPermissions[1310])\x22\x20\x0a'+_0x1cd3('0x3dff')+_0x1cd3('0x3a6f')+_0x1cd3('0x69f3')+_0x1cd3('0x69dd')+_0x1cd3('0x3acc')+_0x1cd3('0x69a5')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Account\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x69f4')+_0x1cd3('0x69d9')+_0x1cd3('0x69da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.newAction\x20&&\x20(!vm.newAction\x20&&\x20!vm.hasSectionPermissions[1311])\x22\x20\x0a'+_0x1cd3('0x3dff')+_0x1cd3('0x3a6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Account\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x69f5')+_0x1cd3('0x69f6')+_0x1cd3('0x69f7')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+_0x1cd3('0x69db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x69f8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22data3.canSelect\x20===\x20false\x22>{{\x20data3.name\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x69f9')+_0x1cd3('0x3b24')+_0x1cd3('0x69fa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x69f6')+_0x1cd3('0x69f7')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.newAction\x20&&\x20(!vm.newAction\x20&&\x20!vm.hasSectionPermissions[1306])\x22\x20\x0a'+_0x1cd3('0x3dff')+_0x1cd3('0x3a6f')+_0x1cd3('0x69fb')+_0x1cd3('0x69fc')+_0x1cd3('0x3acc')+_0x1cd3('0x69f9')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Configuration\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x69fd')+_0x1cd3('0x69f6')+_0x1cd3('0x69f7')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+_0x1cd3('0x69e2')+_0x1cd3('0x3dff')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x69fe')+_0x1cd3('0x69fc')+_0x1cd3('0x3acc')+_0x1cd3('0x69f9')+_0x1cd3('0x3b24')+_0x1cd3('0x69fa')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x69ff')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Configuration\x0a'+_0x1cd3('0x69f7')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x1cd3('0x69e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x6a00')+_0x1cd3('0x69fc')+_0x1cd3('0x3acc')+_0x1cd3('0x69f9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Configuration\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x6a01')+_0x1cd3('0x69f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6a02')+_0x1cd3('0x69fc')+_0x1cd3('0x3acc')+_0x1cd3('0x69f9')+_0x1cd3('0x3b24')+_0x1cd3('0x69fa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x6a03')+_0x1cd3('0x69f6')+_0x1cd3('0x69f7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.newAction\x20&&\x20(!vm.newAction\x20&&\x20!vm.hasSectionPermissions[1303])\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20data3.name\x20}}\x0a'+_0x1cd3('0x3acc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Configuration\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x6a04')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Configuration\x0a'+_0x1cd3('0x69f7')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6e')+_0x1cd3('0x69ed')+_0x1cd3('0x3dff')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x6a05')+_0x1cd3('0x69fc')+_0x1cd3('0x3acc')+_0x1cd3('0x69f9')+_0x1cd3('0x3b24')+_0x1cd3('0x69fa')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6a06')+_0x1cd3('0x69f6')+_0x1cd3('0x69f7')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.newAction\x20&&\x20(!vm.newAction\x20&&\x20!vm.hasSectionPermissions[1309])\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6f')+_0x1cd3('0x6a07')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22data3.canSelect\x20===\x20false\x22>{{\x20data3.name\x20}}\x0a'+_0x1cd3('0x3acc')+_0x1cd3('0x69f9')+_0x1cd3('0x3b24')+_0x1cd3('0x69fa')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6a08')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Configuration\x0a'+_0x1cd3('0x69f7')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x1cd3('0x6a09')+_0x1cd3('0x3dff')+_0x1cd3('0x3a6f')+_0x1cd3('0x6a0a')+_0x1cd3('0x69fc')+_0x1cd3('0x3acc')+_0x1cd3('0x69f9')+_0x1cd3('0x3b24')+_0x1cd3('0x69fa')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x6a0b')+_0x1cd3('0x69f6')+_0x1cd3('0x69f7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+_0x1cd3('0x6a0c')+_0x1cd3('0x3dff')+_0x1cd3('0x3a6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x69f9')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Configuration\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x6a0d')+_0x1cd3('0x3f11')+_0x1cd3('0x698e')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e6')+_0x1cd3('0x3a6f')+_0x1cd3('0x6a0e')+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Popup\x0a'+_0x1cd3('0x585f')+_0x1cd3('0x3a4d')+_0x1cd3('0x6995')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6991')+_0x1cd3('0x3b24')+_0x1cd3('0x6728')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x672e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x69a5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6730')+_0x1cd3('0x3756')+_0x1cd3('0x3e87')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Url\x20must\x20be\x20a\x20valid\x20url\x20http://www.xcally.com\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ea')+_0x1cd3('0x36aa')+_0x1cd3('0x6a10')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Application\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6a11')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x6a10')+_0x1cd3('0x6a12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6a14')+_0x1cd3('0x69da')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x3a6f')+_0x1cd3('0x6a15')+_0x1cd3('0x69dd')+_0x1cd3('0x3acc')+_0x1cd3('0x69a5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6a16')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x6a17')+_0x1cd3('0x6a14')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Template\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x672e')+_0x1cd3('0x69a4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x69a5')+_0x1cd3('0x3b24')+_0x1cd3('0x6730')+_0x1cd3('0x3756')+_0x1cd3('0x3e87')+_0x1cd3('0x6731')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x6a18')+_0x1cd3('0x6a19')+_0x1cd3('0x69f7')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x699a')+_0x1cd3('0x3a4d')+_0x1cd3('0x699b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6a1b')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x6a1c')+_0x1cd3('0x6a1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.NEW_WINDOW\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fe5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x6a23')+_0x1cd3('0x6a24')+_0x1cd3('0x6a25')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x6a26')+_0x1cd3('0x3b24')+_0x1cd3('0x6a27')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x6a28')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WindowHeight\x0a'+_0x1cd3('0x6a29')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6a2a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WindowHeight\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x39db')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x39ef')+_0x1cd3('0x388f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39f3')+_0x1cd3('0x39f4')+'\x0a'+_0x1cd3('0x6a2c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x1cd3('0x6a2d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22TOOLS.ADD_ACTION\x22\x20translate-attr-aria-label=\x22TOOLS.ADD_ACTION\x22>\x0a'+_0x1cd3('0x6a2e')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x39fa')+_0x1cd3('0x6a2f')+_0x1cd3('0x66e3')+_0x1cd3('0x3a20')+_0x1cd3('0x66e4')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x2400'),_0x1cd3('0x6a30')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x6a31')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.OUTBOUNDROUTE\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fe5')+_0x1cd3('0x6a37')+_0x1cd3('0x697f')+_0x1cd3('0x6a38')+_0x1cd3('0x3fe5')+_0x1cd3('0x6a39')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22vm.trigger.channel\x20!=\x20\x27voice\x27\x22\x20\x0a'+_0x1cd3('0x6a3a')+_0x1cd3('0x3fe5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.MESSAGE\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3acc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Field\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3acf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Operator\x0a'+_0x1cd3('0x6a3e')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e6')+_0x1cd3('0x3a6f')+_0x1cd3('0x3f7a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.EQUALS\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fe5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Operator\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x6a41')+_0x1cd3('0x69d9')+_0x1cd3('0x6a42')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x3a6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20value.name\x20}}\x0a'+_0x1cd3('0x3acc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Account\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Account\x0a'+_0x1cd3('0x6a42')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x3a6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x69de')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x6a45')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Account\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x69de')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x6a47')+_0x1cd3('0x69d9')+_0x1cd3('0x6a42')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e6')+_0x1cd3('0x3a6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20value.name\x20}}\x0a'+_0x1cd3('0x3acc')+_0x1cd3('0x6a44')+_0x1cd3('0x3b24')+_0x1cd3('0x69de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6a48')+_0x1cd3('0x69d9')+_0x1cd3('0x6a42')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x3a6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x69d9')+_0x1cd3('0x6a42')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x3a6f')+_0x1cd3('0x6a49')+_0x1cd3('0x6a43')+_0x1cd3('0x3acc')+_0x1cd3('0x6a44')+_0x1cd3('0x3b24')+_0x1cd3('0x69de')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x6a4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Queue\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6a4d')+_0x1cd3('0x6a42')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x3a6f')+_0x1cd3('0x6a4e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22value.canSelect\x20===\x20false\x22>{{\x20value.exten\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6a44')+_0x1cd3('0x3b24')+_0x1cd3('0x6a4f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x6a50')+_0x1cd3('0x6a51')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x6a54')+_0x1cd3('0x66d8')+_0x1cd3('0x6a42')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x6a55')+_0x1cd3('0x3a4d')+_0x1cd3('0x6a56')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Timeout\x0a'+_0x1cd3('0x6a57')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Hangup\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Reject\x0a'+_0x1cd3('0x6a58')+_0x1cd3('0x3a4d')+_0x1cd3('0x6a59')+_0x1cd3('0x6a5a')+_0x1cd3('0x3a4d')+_0x1cd3('0x6a5b')+_0x1cd3('0x3acc')+_0x1cd3('0x6a44')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Value\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x6a5c')+_0x1cd3('0x66d8')+_0x1cd3('0x6a42')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6f')+_0x1cd3('0x6a5d')+_0x1cd3('0x3a4d')+_0x1cd3('0x6a5e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x66da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x66d8')+_0x1cd3('0x6a42')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Incoming\x0a'+_0x1cd3('0x6a60')+_0x1cd3('0x3a4d')+_0x1cd3('0x6a61')+_0x1cd3('0x6a62')+_0x1cd3('0x3a4d')+_0x1cd3('0x6a63')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Value\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3ed3')+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x39ef')+_0x1cd3('0x388f')+_0x1cd3('0x6a65')+_0x1cd3('0x3ad7')+_0x1cd3('0x6a66')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22TOOLS.SAVE\x22\x20translate-attr-aria-label=\x22TOOLS.SAVE\x22>\x0a'+_0x1cd3('0x39f3')+_0x1cd3('0x39f4')+'\x0a'+_0x1cd3('0x6a67')+_0x1cd3('0x39f6')+_0x1cd3('0x6a68')+_0x1cd3('0x6a69')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20ALLCONDITION\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x39fa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a');_0x404b17[_0x1cd3('0x37b')]('app/main/apps/tools/views/triggers/edit/anyconditions/dialog.html','\x0a'+_0x1cd3('0x6a6a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6a31')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.CALL_STATUS\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fe5')+_0x1cd3('0x6a36')+_0x1cd3('0x697f')+_0x1cd3('0x6a6b')+_0x1cd3('0x3fe5')+_0x1cd3('0x6a37')+_0x1cd3('0x697f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27TOOLS.AGENT\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fe5')+_0x1cd3('0x6a39')+_0x1cd3('0x6a3d')+_0x1cd3('0x6a3a')+_0x1cd3('0x3fe5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.INTERACTION\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6a3c')+_0x1cd3('0x6a3d')+_0x1cd3('0x6a6c')+_0x1cd3('0x3acc')+_0x1cd3('0x6a6d')+_0x1cd3('0x3b24')+_0x1cd3('0x6a6e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3acf')+_0x1cd3('0x6a6f')+_0x1cd3('0x6a70')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x3a6f')+_0x1cd3('0x3f7a')+_0x1cd3('0x6a71')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6a72')+_0x1cd3('0x3fe5')+_0x1cd3('0x6a73')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6a3f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6a74')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Operator\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x6a75')+_0x1cd3('0x69d9')+_0x1cd3('0x6a76')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x3a6f')+_0x1cd3('0x6a77')+_0x1cd3('0x6a43')+_0x1cd3('0x3acc')+_0x1cd3('0x6a78')+_0x1cd3('0x3b24')+_0x1cd3('0x69de')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x69d9')+_0x1cd3('0x6a76')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e6')+_0x1cd3('0x3a6f')+_0x1cd3('0x6a79')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22value.canSelect\x20===\x20false\x22>{{\x20value.name\x20}}\x0a'+_0x1cd3('0x3acc')+_0x1cd3('0x6a78')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Account\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x6a7a')+_0x1cd3('0x69d9')+_0x1cd3('0x6a76')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x3a6f')+_0x1cd3('0x6a46')+_0x1cd3('0x6a43')+_0x1cd3('0x3acc')+_0x1cd3('0x6a78')+_0x1cd3('0x3b24')+_0x1cd3('0x69de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x6a7b')+_0x1cd3('0x69d9')+_0x1cd3('0x6a76')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x3a6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Account\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x69d9')+_0x1cd3('0x6a76')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x3a6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x6a7c')+_0x1cd3('0x6a7d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6a78')+_0x1cd3('0x3b24')+_0x1cd3('0x6a4c')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x6a7e')+_0x1cd3('0x6a4d')+_0x1cd3('0x6a76')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent\x0a'+_0x1cd3('0x6a76')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Abandon\x0a'+_0x1cd3('0x6a82')+_0x1cd3('0x3a4d')+_0x1cd3('0x6a83')+_0x1cd3('0x6a57')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6a84')+_0x1cd3('0x6a85')+_0x1cd3('0x3a4d')+_0x1cd3('0x6a86')+_0x1cd3('0x6a58')+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Ring\x0a'+_0x1cd3('0x6a5a')+_0x1cd3('0x3a4d')+_0x1cd3('0x6a5b')+_0x1cd3('0x3acc')+_0x1cd3('0x6a78')+_0x1cd3('0x3b24')+_0x1cd3('0x66da')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x66d8')+_0x1cd3('0x6a76')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x3a6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Value\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Incoming\x0a'+_0x1cd3('0x6a60')+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Outgoing\x0a'+_0x1cd3('0x6a62')+_0x1cd3('0x3a4d')+_0x1cd3('0x6a63')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x66da')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x3ed3')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x39ef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6a89')+_0x1cd3('0x3ad7')+_0x1cd3('0x6a8a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22TOOLS.SAVE\x22\x20translate-attr-aria-label=\x22TOOLS.SAVE\x22>\x0a'+_0x1cd3('0x39f3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x6a8b')+_0x1cd3('0x39f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22anyConditionForm.$invalid\x22\x0a'+_0x1cd3('0x6a8c')+_0x1cd3('0x6a8d')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6a8e')+_0x1cd3('0x66e3')+_0x1cd3('0x3a20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x39fe')+_0x1cd3('0x3681')+'\x0a');_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x2cb'),_0x1cd3('0x6a8f')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d5a')+_0x1cd3('0x6a90')+_0x1cd3('0x6a91')+_0x1cd3('0x6a92')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3671')+'\x0a'+_0x1cd3('0x388f')+'\x0a'+_0x1cd3('0x6a93')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3ba2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6a94')+_0x1cd3('0x6a95')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6a96')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e3b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3ae6')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e3c')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x67b5')+_0x1cd3('0x3e3f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e42')+_0x1cd3('0x67b6')+_0x1cd3('0x386f')+_0x1cd3('0x3e44')+_0x1cd3('0x3e45')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x695a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6a98')+_0x1cd3('0x3b24')+_0x1cd3('0x6970')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x6a99')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3870')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x66db')+_0x1cd3('0x6972')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4f')+_0x1cd3('0x3b24')+_0x1cd3('0x66dd')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x3fa6')+_0x1cd3('0x3e51')+_0x1cd3('0x3fba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e3d')+_0x1cd3('0x6a9a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e40')+_0x1cd3('0x6a9b')+_0x1cd3('0x6a9c')+_0x1cd3('0x6a9d')+_0x1cd3('0x4118')+'\x20\x20\x20\x20\x20\x20AllConditions\x0a'+_0x1cd3('0x411a')+_0x1cd3('0x411b')+_0x1cd3('0x6a9e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20allCondition\x22\x20translate\x20translate-attr-label=\x22TOOLS.ADD_ALLCONDITION\x22>\x0a'+_0x1cd3('0x411d')+_0x1cd3('0x4104')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x415d')+'\x20\x20\x0a'+_0x1cd3('0x411f')+_0x1cd3('0x6a9f')+_0x1cd3('0x3b5a')+_0x1cd3('0x6aa0')+_0x1cd3('0x4121')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x415d')+_0x1cd3('0x4123')+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.ID\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4128')+_0x1cd3('0x6aa1')+_0x1cd3('0x6aa2')+_0x1cd3('0x4128')+_0x1cd3('0x6aa3')+_0x1cd3('0x6aa4')+_0x1cd3('0x4128')+_0x1cd3('0x417c')+_0x1cd3('0x6aa5')+_0x1cd3('0x4128')+_0x1cd3('0x412c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.CREATED_AT\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x412e')+_0x1cd3('0x412f')+_0x1cd3('0x417f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6aa6')+'>\x0a'+_0x1cd3('0x6aa7')+_0x1cd3('0x6aa8')+_0x1cd3('0x4133')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6aaa')+_0x1cd3('0x4133')+_0x1cd3('0x3a4d')+_0x1cd3('0x59ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm_dc.createOrEditTriggerAllCondition($event,\x20allCondition)\x22\x20\x0a'+_0x1cd3('0x41ff')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.\x27\x20+\x20vm_dc.arrayoperator[allCondition.operator].option\x20|\x20uppercase\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4133')+_0x1cd3('0x3a4d')+_0x1cd3('0x6aab')+_0x1cd3('0x6aac')+_0x1cd3('0x4133')+_0x1cd3('0x6aad')+_0x1cd3('0x6aae')+_0x1cd3('0x6aaf')+_0x1cd3('0x6ab0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20(vm_dc.faxAccounts\x20|\x20filter\x20:\x20{\x27id\x27:allCondition.value})[0].name\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20(vm_dc.openchannelAccounts\x20|\x20filter\x20:\x20{\x27id\x27:allCondition.value})[0].name\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20(vm_dc.queues\x20|\x20filter\x20:\x20{\x27name\x27:allCondition.value})[0].name\x20}}\x0a'+_0x1cd3('0x6ab1')+_0x1cd3('0x6ab2')+_0x1cd3('0x59ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm_dc.createOrEditTriggerAllCondition($event,\x20allCondition)\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22vm.trigger.channel\x20==\x20\x27voice\x27\x20&&\x20allCondition.field\x20==\x20\x27lastevent\x27\x22\x20md-cell>\x0a'+_0x1cd3('0x6ab3')+_0x1cd3('0x3a4d')+_0x1cd3('0x59ad')+_0x1cd3('0x6aa9')+_0x1cd3('0x6ab4')+_0x1cd3('0x6ab5')+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x413f')+_0x1cd3('0x6831')+_0x1cd3('0x4141')+_0x1cd3('0x4185')+'\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4142')+_0x1cd3('0x6aba')+_0x1cd3('0x6abb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4146')+_0x1cd3('0x4147')+_0x1cd3('0x6abc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20AllCondition\x0a'+_0x1cd3('0x3a52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x414a')+_0x1cd3('0x4189')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x412f')+_0x1cd3('0x6abd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x414d')+_0x1cd3('0x6abe')+_0x1cd3('0x414f')+_0x1cd3('0x4150')+_0x1cd3('0x412f')+_0x1cd3('0x4151')+_0x1cd3('0x4152')+_0x1cd3('0x416d')+_0x1cd3('0x6abf')+'\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3e51')+_0x1cd3('0x6ac0')+_0x1cd3('0x6ac1')+_0x1cd3('0x6ac2')+_0x1cd3('0x4118')+_0x1cd3('0x6ac3')+_0x1cd3('0x411a')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6ac4')+_0x1cd3('0x6ac5')+_0x1cd3('0x411d')+_0x1cd3('0x4104')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x415d')+_0x1cd3('0x6ac6')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6ac7')+_0x1cd3('0x3b5a')+_0x1cd3('0x6ac8')+_0x1cd3('0x4121')+_0x1cd3('0x415a')+_0x1cd3('0x6ac9')+_0x1cd3('0x6820')+_0x1cd3('0x4177')+_0x1cd3('0x3d24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x0a'+'\x20\x20\x0a'+_0x1cd3('0x6aca')+_0x1cd3('0x6acb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4126')+_0x1cd3('0x6822')+_0x1cd3('0x4128')+_0x1cd3('0x6aa1')+_0x1cd3('0x6aa2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6aa3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.OPERATOR\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6aa5')+_0x1cd3('0x4128')+_0x1cd3('0x412c')+_0x1cd3('0x6826')+_0x1cd3('0x4128')+_0x1cd3('0x412e')+_0x1cd3('0x412f')+_0x1cd3('0x417f')+_0x1cd3('0x4130')+_0x1cd3('0x6acc')+'>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6acd')+_0x1cd3('0x4133')+_0x1cd3('0x4135')+_0x1cd3('0x6ace')+_0x1cd3('0x41ff')+_0x1cd3('0x6acf')+_0x1cd3('0x4133')+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6ad3')+_0x1cd3('0x6ad4')+_0x1cd3('0x6ad5')+_0x1cd3('0x6ad6')+_0x1cd3('0x6ad7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20(vm_dc.queues\x20|\x20filter\x20:\x20{\x27name\x27:anyCondition.value})[0].name\x20}}\x0a'+_0x1cd3('0x6ad8')+_0x1cd3('0x6ad9')+_0x1cd3('0x59ad')+_0x1cd3('0x6ace')+_0x1cd3('0x6ada')+_0x1cd3('0x6adb')+_0x1cd3('0x3a4d')+_0x1cd3('0x59ad')+_0x1cd3('0x6ace')+_0x1cd3('0x6adc')+_0x1cd3('0x6add')+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x413f')+_0x1cd3('0x6831')+_0x1cd3('0x4141')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x0a'+_0x1cd3('0x4167')+_0x1cd3('0x4142')+_0x1cd3('0x6ae1')+_0x1cd3('0x6ae2')+_0x1cd3('0x4145')+_0x1cd3('0x4146')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6ae3')+_0x1cd3('0x3a52')+_0x1cd3('0x4149')+_0x1cd3('0x414a')+_0x1cd3('0x4189')+_0x1cd3('0x414b')+_0x1cd3('0x412f')+_0x1cd3('0x6ae4')+_0x1cd3('0x6ae5')+_0x1cd3('0x414d')+_0x1cd3('0x6ae6')+_0x1cd3('0x414f')+_0x1cd3('0x4150')+_0x1cd3('0x412f')+_0x1cd3('0x4151')+_0x1cd3('0x4152')+_0x1cd3('0x416d')+_0x1cd3('0x6ae7')+_0x1cd3('0x3824')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6ae8')+_0x1cd3('0x6ae9')+'\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20Actions\x0a'+_0x1cd3('0x411a')+_0x1cd3('0x411b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6aee')+_0x1cd3('0x6820')+_0x1cd3('0x4177')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f1c')+_0x1cd3('0x415d')+_0x1cd3('0x4123')+_0x1cd3('0x6aef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4160')+_0x1cd3('0x4126')+_0x1cd3('0x6822')+_0x1cd3('0x4128')+_0x1cd3('0x6af0')+_0x1cd3('0x6af1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6af2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.TYPE\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4128')+_0x1cd3('0x6af3')+_0x1cd3('0x6af4')+_0x1cd3('0x4128')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6826')+_0x1cd3('0x4128')+_0x1cd3('0x412e')+_0x1cd3('0x412f')+_0x1cd3('0x417f')+_0x1cd3('0x4130')+_0x1cd3('0x6af5')+'>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{action.id}}\x0a'+_0x1cd3('0x4133')+_0x1cd3('0x4135')+_0x1cd3('0x6af6')+_0x1cd3('0x41ff')+_0x1cd3('0x6af7')+_0x1cd3('0x4133')+_0x1cd3('0x3a4d')+_0x1cd3('0x6af8')+_0x1cd3('0x59ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm_dc.createOrEditTriggerAction($event,\x20action)\x22\x20\x0a'+_0x1cd3('0x6af9')+_0x1cd3('0x6afa')+_0x1cd3('0x3a4d')+_0x1cd3('0x6afb')+_0x1cd3('0x59ad')+_0x1cd3('0x6af6')+_0x1cd3('0x6afc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.\x27\x20+\x20vm_dc.autoCreateContact[action.data2].option\x20|\x20uppercase\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x59ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm_dc.createOrEditTriggerAction($event,\x20action)\x22\x20\x0a'+_0x1cd3('0x6afd')+_0x1cd3('0x6afe')+_0x1cd3('0x3a4d')+_0x1cd3('0x6aff')+_0x1cd3('0x6b00')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6b01')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6b01')+_0x1cd3('0x4133')+_0x1cd3('0x6b02')+_0x1cd3('0x6b01')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6b02')+_0x1cd3('0x6b00')+_0x1cd3('0x4133')+_0x1cd3('0x4135')+_0x1cd3('0x6af6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22action.action\x20==\x20\x27integration\x27\x22\x20md-cell>\x0a'+_0x1cd3('0x6b03')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6b04')+_0x1cd3('0x6b05')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20(vm_dc.zohoAccounts\x20|\x20filter\x20:\x20{\x27id\x27:action.data2})[0].name\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20(vm_dc.salesforceAccounts\x20|\x20filter\x20:\x20{\x27id\x27:action.data2})[0].name\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20(vm_dc.sugarcrmAccounts\x20|\x20filter\x20:\x20{\x27id\x27:action.data2})[0].name\x20}}\x0a'+_0x1cd3('0x6b06')+_0x1cd3('0x6b07')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20(vm_dc.dynamics365Accounts\x20|\x20filter\x20:\x20{\x27id\x27:action.data2})[0].name\x20}}\x0a'+_0x1cd3('0x6b08')+_0x1cd3('0x6b09')+_0x1cd3('0x59ad')+_0x1cd3('0x6af6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22action.action\x20==\x20\x27motionbar\x27\x22\x20md-cell>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm_dc.motionbarValues[action.data1].option\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x6b0a')+_0x1cd3('0x6b01')+_0x1cd3('0x4133')+_0x1cd3('0x6b0b')+_0x1cd3('0x6b01')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6b0c')+_0x1cd3('0x6b0d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6b01')+_0x1cd3('0x4133')+_0x1cd3('0x6b0e')+_0x1cd3('0x6b0f')+_0x1cd3('0x413e')+_0x1cd3('0x4166')+_0x1cd3('0x413f')+_0x1cd3('0x6831')+_0x1cd3('0x4141')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4142')+_0x1cd3('0x6b10')+_0x1cd3('0x6b11')+_0x1cd3('0x4145')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4147')+_0x1cd3('0x6b12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Action\x0a'+_0x1cd3('0x3a52')+_0x1cd3('0x4149')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4189')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x412f')+_0x1cd3('0x6b13')+_0x1cd3('0x6b14')+_0x1cd3('0x414d')+_0x1cd3('0x6b15')+_0x1cd3('0x414f')+_0x1cd3('0x4150')+_0x1cd3('0x412f')+_0x1cd3('0x4151')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x416d')+_0x1cd3('0x6b16')+_0x1cd3('0x3824')+'\x0a'+_0x1cd3('0x3e51')+_0x1cd3('0x3fba')+_0x1cd3('0x3e52')+_0x1cd3('0x3e53')+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a66')+'\x0a'+_0x1cd3('0x376e'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x2c7'),_0x1cd3('0x6b17')+'\x0a'+_0x1cd3('0x3adc')+_0x1cd3('0x39ff')+'\x0a'+_0x1cd3('0x3add')+_0x1cd3('0x37e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ade')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38f9')+_0x1cd3('0x6b18')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x3ae1')+'\x0a'+_0x1cd3('0x3ae2')+_0x1cd3('0x3ae3')+_0x1cd3('0x3a02')+_0x1cd3('0x3a03')+_0x1cd3('0x3ae4')+_0x1cd3('0x3a04')+_0x1cd3('0x3a05')+_0x1cd3('0x66b1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x3ae5')+_0x1cd3('0x3756')+_0x1cd3('0x3686')+_0x1cd3('0x3ae6')+'\x0a'+_0x1cd3('0x3a07')+_0x1cd3('0x6b19')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22>\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a0b')+_0x1cd3('0x3ae8')+_0x1cd3('0x66b4')+_0x1cd3('0x3671')+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x3a0c')+'\x0a'+_0x1cd3('0x3a0d')+_0x1cd3('0x6b1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedTriggers.length}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20selected\x0a'+_0x1cd3('0x38f9')+'\x0a'+_0x1cd3('0x3aeb')+_0x1cd3('0x3a11')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22$mdOpenMenu($event)\x22\x0a'+_0x1cd3('0x3aec')+_0x1cd3('0x66b7')+_0x1cd3('0x3a14')+_0x1cd3('0x367d')+_0x1cd3('0x3a15')+_0x1cd3('0x3a16')+_0x1cd3('0x6b1b')+_0x1cd3('0x3c2e')+_0x1cd3('0x3849')+_0x1cd3('0x3aee')+_0x1cd3('0x3a16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a19')+_0x1cd3('0x3849')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3aef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a1b')+_0x1cd3('0x6b1c')+_0x1cd3('0x3a1d')+_0x1cd3('0x3a1e')+_0x1cd3('0x6b1d')+_0x1cd3('0x66bb')+_0x1cd3('0x3a20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3841')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a21')+'\x0a'+_0x1cd3('0x3a22')+_0x1cd3('0x3a23')+'\x0a'+_0x1cd3('0x3af1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a25')+_0x1cd3('0x6b1e')+_0x1cd3('0x3a27')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6b1f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a2b')+_0x1cd3('0x66bf')+_0x1cd3('0x66fd')+_0x1cd3('0x6b20')+_0x1cd3('0x6b21')+_0x1cd3('0x66c1')+_0x1cd3('0x3a33')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3db3')+_0x1cd3('0x3a35')+_0x1cd3('0x6b22')+_0x1cd3('0x52f5')+_0x1cd3('0x3a38')+_0x1cd3('0x66c3')+_0x1cd3('0x3a3a')+_0x1cd3('0x3af8')+_0x1cd3('0x3a34')+_0x1cd3('0x6b23')+_0x1cd3('0x6b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6b25')+_0x1cd3('0x6b26')+_0x1cd3('0x6b27')+_0x1cd3('0x6b28')+_0x1cd3('0x6b29')+_0x1cd3('0x6b2a')+_0x1cd3('0x6b2b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22status\x20\x22>\x0a'+_0x1cd3('0x6b2c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22description\x20\x22\x20>{{trigger.description}}\x0a'+_0x1cd3('0x3b02')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a49')+'\x0a'+_0x1cd3('0x3a4a')+_0x1cd3('0x66cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x395d')+'\x0a'+_0x1cd3('0x3b04')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3a4f')+'\x0a'+_0x1cd3('0x6b2d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22TOOLS.EDIT_TRIGGER\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Trigger\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3a5a')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a61')+_0x1cd3('0x6b30')+_0x1cd3('0x3a63')+'\x0a'+_0x1cd3('0x3a64')+_0x1cd3('0x36f6')+_0x1cd3('0x3a65')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a66')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6b31')+_0x1cd3('0x6b32')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x376d')+_0x1cd3('0x6b33')+_0x1cd3('0x3686'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x2481'),'\x0a'+_0x1cd3('0x6b34')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x3857')+_0x1cd3('0x3858')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x39db')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x66e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e03')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20must\x20be\x20valid\x20pattern\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20active\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3870')+_0x1cd3('0x3acf')+_0x1cd3('0x6b37')+_0x1cd3('0x6b38')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x6b39')+_0x1cd3('0x6b3a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20host\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x50ae')+_0x1cd3('0x6b3b')+_0x1cd3('0x6b3c')+_0x1cd3('0x6b3d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6b3e')+_0x1cd3('0x3b24')+_0x1cd3('0x6b3f')+_0x1cd3('0x3756')+_0x1cd3('0x3cec')+_0x1cd3('0x6b40')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3acf')+_0x1cd3('0x6b41')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6b44')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x6b45')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x66db')+_0x1cd3('0x6b49')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6b4a')+_0x1cd3('0x3b24')+_0x1cd3('0x66dd')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6b4b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x1cd3('0x6b4c')+_0x1cd3('0x66df')+_0x1cd3('0x39f3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x6b4d')+_0x1cd3('0x39f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22trunkForm.$invalid\x22\x0a'+_0x1cd3('0x6b4e')+_0x1cd3('0x6b4f')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x6b50'),'\x0a'+_0x1cd3('0x6b34')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x66e7')+_0x1cd3('0x6b51')+_0x1cd3('0x39e1')+_0x1cd3('0x3e46')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+_0x1cd3('0x6b52')+_0x1cd3('0x3dff')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x6b35')+_0x1cd3('0x6b36')+_0x1cd3('0x3b24')+_0x1cd3('0x66ea')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20must\x20be\x20valid\x20pattern\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6b53')+_0x1cd3('0x3ed3')+_0x1cd3('0x3870')+_0x1cd3('0x3ed3')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x3b20')+_0x1cd3('0x6b54')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x1cd3('0x6b55')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22CLONE\x22\x20translate=\x22TOOLS.CLONE_TRUNK\x22\x20translate-attr-aria-label=\x22TOOLS.CLONE_TRUNK\x22>\x0a'+_0x1cd3('0x6b56')+_0x1cd3('0x3671')+_0x1cd3('0x3675')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x2d4'),_0x1cd3('0x6b57')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b9f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6b58')+_0x1cd3('0x6b59')+_0x1cd3('0x6b5a')+_0x1cd3('0x3ba1')+_0x1cd3('0x3671')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x6b5b')+_0x1cd3('0x6b5c')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x3ba2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6b5d')+_0x1cd3('0x6b5e')+_0x1cd3('0x3756')+_0x1cd3('0x3ba6')+_0x1cd3('0x6b5f')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ee')+_0x1cd3('0x3e31')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6b61')+_0x1cd3('0x54ee')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e3b')+_0x1cd3('0x3d24')+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x3686')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a22')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3baa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x67b5')+_0x1cd3('0x3e3f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6b62')+_0x1cd3('0x3e42')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GENERAL
\x0a'+_0x1cd3('0x386f')+_0x1cd3('0x3e44')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x66e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e03')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20must\x20be\x20valid\x20pattern\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20active\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3acf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20host\x0a'+_0x1cd3('0x6b38')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20host\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x50ae')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20secret\x0a'+_0x1cd3('0x6b3c')+_0x1cd3('0x6b3d')+_0x1cd3('0x6b63')+_0x1cd3('0x6b64')+_0x1cd3('0x3b24')+_0x1cd3('0x6b3f')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Must\x20contain\x20at\x20least\x208\x20characters,\x20with\x20a\x20minimum\x20of\x201\x20lowercase\x20letter,\x201\x20uppercase\x20letter,\x201\x20numeric\x20character\x20and\x201\x20special\x20character\x20~!?*@#$%^&-_=+[{]}.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3acf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20defaultuser\x0a'+_0x1cd3('0x6b65')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x6b42')+_0x1cd3('0x6b66')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20defaultuser\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6b67')+_0x1cd3('0x6b68')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x3a6f')+_0x1cd3('0x6472')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22context.canSelect\x20===\x20false\x22>{{\x20context.name\x20}}\x0a'+_0x1cd3('0x3acc')+_0x1cd3('0x6b69')+_0x1cd3('0x6474')+_0x1cd3('0x3b24')+_0x1cd3('0x6b6a')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3acf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20callerid\x0a'+_0x1cd3('0x6b6b')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x6b6c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20callerid\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x3f11')+_0x1cd3('0x6b6d')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x645b')+_0x1cd3('0x3a4d')+_0x1cd3('0x645c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3acf')+_0x1cd3('0x6b6f')+_0x1cd3('0x6b70')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x3a6f')+_0x1cd3('0x6b71')+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>rfc2833\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20info\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6b79')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20nat\x0a'+_0x1cd3('0x6b7a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x644f')+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x3a6f')+_0x1cd3('0x6450')+_0x1cd3('0x3a4d')+_0x1cd3('0x6451')+_0x1cd3('0x6452')+_0x1cd3('0x3a4d')+_0x1cd3('0x6453')+_0x1cd3('0x6454')+_0x1cd3('0x3a4d')+_0x1cd3('0x4db4')+_0x1cd3('0x3eeb')+_0x1cd3('0x3a4d')+_0x1cd3('0x4db5')+_0x1cd3('0x57a3')+_0x1cd3('0x3a4d')+_0x1cd3('0x667e')+_0x1cd3('0x6455')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6456')+_0x1cd3('0x3acc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6563')+_0x1cd3('0x3b24')+_0x1cd3('0x6b7b')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3acf')+_0x1cd3('0x6b7c')+_0x1cd3('0x6b7d')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+_0x1cd3('0x3a6f')+_0x1cd3('0x3f7a')+_0x1cd3('0x5b4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27TOOLS.YES\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fe5')+_0x1cd3('0x5b43')+_0x1cd3('0x3a4d')+_0x1cd3('0x699c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6b7e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20qualify\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6b7f')+_0x1cd3('0x6b80')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20multiple\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x3a6f')+_0x1cd3('0x6464')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6465')+_0x1cd3('0x6466')+_0x1cd3('0x3a4d')+_0x1cd3('0x6467')+_0x1cd3('0x5b5b')+_0x1cd3('0x3a4d')+_0x1cd3('0x5b5c')+_0x1cd3('0x6b81')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6b82')+_0x1cd3('0x6b83')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>g726\x0a'+_0x1cd3('0x6565')+_0x1cd3('0x3a4d')+_0x1cd3('0x6468')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20g729\x0a'+_0x1cd3('0x6b84')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6b85')+_0x1cd3('0x6567')+_0x1cd3('0x3a4d')+_0x1cd3('0x646a')+_0x1cd3('0x646b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>h264\x0a'+_0x1cd3('0x3acc')+_0x1cd3('0x6b86')+_0x1cd3('0x6b87')+_0x1cd3('0x3b24')+_0x1cd3('0x6b88')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x6b89')+_0x1cd3('0x6b8a')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20multiple\x20\x0a'+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x3a6f')+_0x1cd3('0x6b8b')+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>port\x0a'+_0x1cd3('0x6b8c')+_0x1cd3('0x3a4d')+_0x1cd3('0x6b8d')+_0x1cd3('0x6b8e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6b8f')+_0x1cd3('0x3acc')+_0x1cd3('0x6b90')+_0x1cd3('0x6b91')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20insecure\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x6b92')+_0x1cd3('0x6b93')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x6b94')+_0x1cd3('0x6b95')+_0x1cd3('0x3b24')+_0x1cd3('0x6b96')+_0x1cd3('0x3756')+_0x1cd3('0x3f9f')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x66db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ee')+_0x1cd3('0x3fa6')+_0x1cd3('0x3e51')+_0x1cd3('0x3fba')+_0x1cd3('0x3e52')+_0x1cd3('0x3fda')+_0x1cd3('0x3e3d')+_0x1cd3('0x6b97')+_0x1cd3('0x3e3f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6b98')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADVANCED\x0a'+_0x1cd3('0x386f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e45')+_0x1cd3('0x6b45')+_0x1cd3('0x6b99')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6b9a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6b48')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6b9b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x6ba0')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x6ba1')+_0x1cd3('0x6ba2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x3a6f')+_0x1cd3('0x3f7a')+_0x1cd3('0x5b4a')+_0x1cd3('0x3a4d')+_0x1cd3('0x699b')+_0x1cd3('0x3fe5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6ba5')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6ba6')+_0x1cd3('0x6ba7')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6ba8')+_0x1cd3('0x6ba9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6baa')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x6bab')+_0x1cd3('0x6bac')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x6bad')+_0x1cd3('0x6bae')+_0x1cd3('0x3b24')+_0x1cd3('0x6baf')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x6bb0')+_0x1cd3('0x6bb1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x6bb2')+_0x1cd3('0x6bb3')+_0x1cd3('0x3b24')+_0x1cd3('0x6bb4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Add_phone_to_URI\x0a'+_0x1cd3('0x6bb5')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x3a6f')+_0x1cd3('0x3f7a')+_0x1cd3('0x5b4a')+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27TOOLS.YES\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5b43')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x699c')+_0x1cd3('0x3acc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6bb6')+_0x1cd3('0x3b24')+_0x1cd3('0x6bb7')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3acf')+_0x1cd3('0x6bb8')+_0x1cd3('0x6bb9')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x3a6f')+_0x1cd3('0x3f7a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.YES\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fe5')+_0x1cd3('0x5b43')+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27TOOLS.NO\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3acc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6bba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Trust_Remote_Party_ID\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x6bbb')+_0x1cd3('0x6bbc')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+_0x1cd3('0x3a6f')+_0x1cd3('0x3f7a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6bbf')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x6bc0')+_0x1cd3('0x6bc1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x3f7a')+_0x1cd3('0x5b4a')+_0x1cd3('0x3a4d')+_0x1cd3('0x699b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.NO\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3acc')+_0x1cd3('0x6bc2')+_0x1cd3('0x6bc3')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20encryption\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3acf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20port\x0a'+_0x1cd3('0x6bc4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6bc5')+_0x1cd3('0x3b24')+_0x1cd3('0x6bc6')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x6bc7')+_0x1cd3('0x6bc8')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20multiple\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x3a6f')+_0x1cd3('0x6440')+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>udp\x0a'+_0x1cd3('0x655d')+_0x1cd3('0x3a4d')+_0x1cd3('0x655e')+_0x1cd3('0x6442')+_0x1cd3('0x3a4d')+_0x1cd3('0x655f')+_0x1cd3('0x6560')+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>wss\x0a'+_0x1cd3('0x6561')+_0x1cd3('0x3a4d')+_0x1cd3('0x6445')+_0x1cd3('0x3acc')+_0x1cd3('0x6bc9')+_0x1cd3('0x6bca')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Transport\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x6bcb')+_0x1cd3('0x6bcc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x6bcd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20t38pt_udptl\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x39ea')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x6bce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4db3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Yes\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fa6')+_0x1cd3('0x3e51')+_0x1cd3('0x3fba')+_0x1cd3('0x3e52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e3d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OTHERFIELDS\x0a'+_0x1cd3('0x3e3f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6bd1')+_0x1cd3('0x3e42')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OTHERFIELDS\x0a'+_0x1cd3('0x386f')+_0x1cd3('0x6bd2')+_0x1cd3('0x3e45')+_0x1cd3('0x6bd3')+_0x1cd3('0x6bd4')+_0x1cd3('0x6bd5')+_0x1cd3('0x69ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fa6')+_0x1cd3('0x3e51')+_0x1cd3('0x3fba')+_0x1cd3('0x3e52')+_0x1cd3('0x3e53')+'\x0a'+_0x1cd3('0x3686')+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x0a');_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x2d0'),_0x1cd3('0x6bd6')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3add')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a00')+_0x1cd3('0x3ade')+_0x1cd3('0x66af')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Trunks\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3ae2')+_0x1cd3('0x3ae3')+_0x1cd3('0x3a02')+_0x1cd3('0x3a03')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a04')+_0x1cd3('0x3a05')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36c2')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3ae6')+'\x0a'+_0x1cd3('0x3a07')+_0x1cd3('0x6bd7')+_0x1cd3('0x3a09')+'\x0a'+_0x1cd3('0x6bd8')+_0x1cd3('0x3a0b')+_0x1cd3('0x3ae8')+_0x1cd3('0x66b4')+_0x1cd3('0x3671')+_0x1cd3('0x36f6')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a0d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedTrunks.length}}\x0a'+_0x1cd3('0x66b6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a11')+_0x1cd3('0x3a12')+_0x1cd3('0x3aec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22TOOLS.MULTI_SELECT_TOGGLE\x22>\x0a'+_0x1cd3('0x3a14')+_0x1cd3('0x367d')+_0x1cd3('0x3a15')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6bd9')+_0x1cd3('0x3c2e')+_0x1cd3('0x3849')+_0x1cd3('0x3aee')+_0x1cd3('0x3a16')+_0x1cd3('0x6bda')+_0x1cd3('0x3a19')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x0a'+_0x1cd3('0x3a1b')+_0x1cd3('0x6bdb')+_0x1cd3('0x3a1d')+_0x1cd3('0x3a1e')+_0x1cd3('0x6bdc')+_0x1cd3('0x66bb')+_0x1cd3('0x3a20')+_0x1cd3('0x3859')+_0x1cd3('0x3841')+_0x1cd3('0x36f6')+_0x1cd3('0x3686')+_0x1cd3('0x3a21')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a23')+'\x0a'+_0x1cd3('0x3af1')+_0x1cd3('0x3a24')+'\x0a'+_0x1cd3('0x3a25')+_0x1cd3('0x6bdd')+_0x1cd3('0x3a27')+_0x1cd3('0x3af3')+_0x1cd3('0x6bde')+_0x1cd3('0x6bdf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a2b')+_0x1cd3('0x66bf')+_0x1cd3('0x66fd')+_0x1cd3('0x68cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.HOST\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x6be0')+_0x1cd3('0x66c1')+_0x1cd3('0x3a33')+_0x1cd3('0x3a34')+_0x1cd3('0x3db3')+_0x1cd3('0x3a35')+_0x1cd3('0x6be1')+_0x1cd3('0x3e63')+_0x1cd3('0x3a38')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a34')+_0x1cd3('0x6be2')+_0x1cd3('0x6be3')+_0x1cd3('0x6be4')+_0x1cd3('0x6be5')+_0x1cd3('0x6be6')+_0x1cd3('0x6be7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22name\x20\x22\x20>{{trunk.name}}\x0a'+_0x1cd3('0x6be8')+_0x1cd3('0x6be9')+_0x1cd3('0x6bea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22host\x20\x22\x20>{{trunk.host}}\x0a'+_0x1cd3('0x6be7')+_0x1cd3('0x6beb')+_0x1cd3('0x6be7')+_0x1cd3('0x6bec')+_0x1cd3('0x3b02')+'\x0a'+_0x1cd3('0x3cdd')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22TOOLS.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3b04')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a54')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x6bef')+_0x1cd3('0x6bf0')+_0x1cd3('0x6bf1')+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3ce1')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+_0x1cd3('0x3a54')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a4e')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+_0x1cd3('0x3699')+'\x0a'+_0x1cd3('0x369a')+_0x1cd3('0x3951')+'\x0a'+'\x0a'+_0x1cd3('0x3a34')+_0x1cd3('0x3a5d')+_0x1cd3('0x3a5e')+_0x1cd3('0x3a5f')+'\x0a'+_0x1cd3('0x6bf6')+_0x1cd3('0x3a61')+_0x1cd3('0x6bf7')+_0x1cd3('0x3a63')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x3a65')+'\x0a'+_0x1cd3('0x3686')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x6bf8')+_0x1cd3('0x6bf9')+_0x1cd3('0x6bfa')+_0x1cd3('0x3b0f')+_0x1cd3('0x376d')+_0x1cd3('0x6bfb')+'\x20\x20\x20\x20\x0a');_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x2495'),_0x1cd3('0x6bfc')+_0x1cd3('0x6bfd')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x39d7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x66e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x66db')+_0x1cd3('0x6bfe')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6bff')+_0x1cd3('0x3b24')+_0x1cd3('0x66dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x388f')+_0x1cd3('0x6c00')+_0x1cd3('0x3ad7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22variableForm.$invalid\x20||\x20variableForm.$pristine\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22TOOLS.SAVE\x22\x20translate-attr-aria-label=\x22TOOLS.SAVE\x22>\x0a'+_0x1cd3('0x39f3')+_0x1cd3('0x39f4')+'\x0a'+_0x1cd3('0x6c01')+_0x1cd3('0x39f6')+_0x1cd3('0x6c02')+_0x1cd3('0x6c03')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20VARIABLE\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x39fa')+_0x1cd3('0x6c04')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22TOOLS.DELETE\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x66e4')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x39fe')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x2d8'),'\x0a'+'\x0a'+_0x1cd3('0x3adc')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3add')+_0x1cd3('0x37e6')+_0x1cd3('0x3a00')+_0x1cd3('0x3ade')+_0x1cd3('0x66af')+_0x1cd3('0x38f9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Variables\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3ae2')+_0x1cd3('0x3ae3')+_0x1cd3('0x3a02')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a05')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae5')+_0x1cd3('0x3756')+_0x1cd3('0x3686')+_0x1cd3('0x3ae6')+'\x0a'+_0x1cd3('0x3a07')+_0x1cd3('0x6c05')+_0x1cd3('0x3a09')+'\x0a'+_0x1cd3('0x6c06')+_0x1cd3('0x3a0b')+_0x1cd3('0x3ae8')+_0x1cd3('0x66b4')+_0x1cd3('0x3671')+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x3a0c')+'\x0a'+_0x1cd3('0x3a0d')+_0x1cd3('0x6c07')+_0x1cd3('0x6c08')+_0x1cd3('0x66b6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3aeb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a16')+_0x1cd3('0x6c0a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Select\x20none\x0a'+_0x1cd3('0x3849')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a1a')+_0x1cd3('0x3aef')+_0x1cd3('0x366a')+'\x0a'+_0x1cd3('0x3a1b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3841')+_0x1cd3('0x36f6')+_0x1cd3('0x3686')+_0x1cd3('0x3a21')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a23')+'\x0a'+_0x1cd3('0x3af1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a25')+_0x1cd3('0x6c0b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3af3')+_0x1cd3('0x6c0c')+_0x1cd3('0x6c0d')+_0x1cd3('0x3a2a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x66bf')+_0x1cd3('0x66fd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.DESCRIPTION\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x3a33')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3db3')+_0x1cd3('0x3a35')+_0x1cd3('0x6c0e')+_0x1cd3('0x42f9')+_0x1cd3('0x3a38')+_0x1cd3('0x66c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3af8')+_0x1cd3('0x3a34')+_0x1cd3('0x6c0f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6c10')+_0x1cd3('0x6c11')+_0x1cd3('0x6c12')+_0x1cd3('0x6c13')+_0x1cd3('0x6c14')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3b04')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a4f')+'\x0a'+_0x1cd3('0x6c16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22TOOLS.EDIT_VARIABLE\x22>\x0a'+_0x1cd3('0x6c17')+_0x1cd3('0x3a52')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3a5a')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6c18')+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3699')+'\x0a'+_0x1cd3('0x369a')+_0x1cd3('0x3951')+'\x0a'+'\x0a'+_0x1cd3('0x3a34')+_0x1cd3('0x3a5d')+_0x1cd3('0x3a5e')+_0x1cd3('0x3a5f')+'\x0a'+_0x1cd3('0x6c19')+_0x1cd3('0x3a61')+_0x1cd3('0x6c1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a64')+_0x1cd3('0x36f6')+_0x1cd3('0x3a65')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a66')+'\x0a'+_0x1cd3('0x6c1b')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x39db')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x6c20')+_0x1cd3('0x6c21')+_0x1cd3('0x6c22')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6c23')+_0x1cd3('0x6c24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6c25')+_0x1cd3('0x36a9')+_0x1cd3('0x6c26')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Rating\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3ed3')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6c27')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x1cd3('0x6c28')+_0x1cd3('0x6c29')+_0x1cd3('0x39f3')+_0x1cd3('0x39f4')+'\x0a'+_0x1cd3('0x6c2a')+_0x1cd3('0x39f6')+_0x1cd3('0x6c2b')+_0x1cd3('0x6c2c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20SCREENRECORDING\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39fa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a20')+_0x1cd3('0x6c2d')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x39fe')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17['put']('app/main/apps/video/views/screenRecordings/partialViews/play.html',_0x1cd3('0x6c2e')+_0x1cd3('0x6c2f')+_0x1cd3('0x3e1f')+_0x1cd3('0x3d4f')+_0x1cd3('0x6c30')+_0x1cd3('0x3d50')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6c31')+_0x1cd3('0x6c32')+_0x1cd3('0x5cda')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6c33')+_0x1cd3('0x6c34')+_0x1cd3('0x5065')+_0x1cd3('0x6c35')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x6c36')+_0x1cd3('0x6c37')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20id=\x22vm.recording.id\x22\x20title=\x22vm.filename\x22\x20element=\x22vm.element\x22\x20model=\x22vm.route\x22\x20path=\x22vm.path\x22\x0a'+_0x1cd3('0x6c38')+_0x1cd3('0x6c39')+'\x0a'+_0x1cd3('0x6c3a')+_0x1cd3('0x6c3b')+_0x1cd3('0x6c3c')+_0x1cd3('0x378a')+_0x1cd3('0x6c3d')+_0x1cd3('0x6c3e')+_0x1cd3('0x6c3f')+_0x1cd3('0x6c40')+_0x1cd3('0x6c41')+_0x1cd3('0x6c42')+_0x1cd3('0x6c43')+_0x1cd3('0x6c44')+_0x1cd3('0x6c45')+_0x1cd3('0x6c46')+_0x1cd3('0x6c47')+_0x1cd3('0x6c48')+_0x1cd3('0x6c49')+_0x1cd3('0x6c4a')+'\x0a'+_0x1cd3('0x6c4b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6c4c')+_0x1cd3('0x6c4d')+_0x1cd3('0x6c4e')+_0x1cd3('0x386f')+_0x1cd3('0x3885')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6c4f')+'\x0a'+_0x1cd3('0x6c3d')+_0x1cd3('0x43b3')+_0x1cd3('0x366a')+_0x1cd3('0x366f')+_0x1cd3('0x6c50')+_0x1cd3('0x6c51')+_0x1cd3('0x6c52')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3676'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x6c53'),_0x1cd3('0x6c54')+'\x0a'+_0x1cd3('0x3adc')+_0x1cd3('0x39ff')+'\x0a'+_0x1cd3('0x3add')+_0x1cd3('0x37e6')+_0x1cd3('0x3a00')+_0x1cd3('0x3ade')+_0x1cd3('0x6c55')+_0x1cd3('0x38f9')+_0x1cd3('0x6c56')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae1')+'\x0a'+_0x1cd3('0x3ae2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a02')+_0x1cd3('0x3a03')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a04')+_0x1cd3('0x3a05')+_0x1cd3('0x6c57')+_0x1cd3('0x36c2')+_0x1cd3('0x366a')+_0x1cd3('0x3ae5')+_0x1cd3('0x6c58')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a07')+'\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a'+_0x1cd3('0x3a09')+'\x0a'+_0x1cd3('0x6c59')+_0x1cd3('0x3a0b')+_0x1cd3('0x3ae8')+_0x1cd3('0x6c5a')+_0x1cd3('0x3671')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a0c')+'\x0a'+_0x1cd3('0x3a0d')+_0x1cd3('0x6c5b')+_0x1cd3('0x6c5c')+_0x1cd3('0x6c5d')+_0x1cd3('0x38f9')+'\x0a'+_0x1cd3('0x3aeb')+_0x1cd3('0x3a11')+_0x1cd3('0x3a12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22multi\x20select\x20toggle\x22\x0a'+_0x1cd3('0x6c5e')+_0x1cd3('0x3a14')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a15')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3c2e')+_0x1cd3('0x3849')+_0x1cd3('0x3aee')+_0x1cd3('0x3a16')+_0x1cd3('0x6c5f')+_0x1cd3('0x3a19')+_0x1cd3('0x3849')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3aef')+_0x1cd3('0x366a')+'\x0a'+_0x1cd3('0x3a1b')+_0x1cd3('0x6c60')+_0x1cd3('0x3a1d')+_0x1cd3('0x3a1e')+_0x1cd3('0x6c61')+_0x1cd3('0x6c62')+_0x1cd3('0x3a20')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a21')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a23')+'\x0a'+_0x1cd3('0x3af1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a25')+_0x1cd3('0x6c63')+_0x1cd3('0x3a27')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6c64')+_0x1cd3('0x6c65')+_0x1cd3('0x3a2a')+_0x1cd3('0x3a2b')+_0x1cd3('0x6c66')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VIDEO.RATING\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x6c67')+_0x1cd3('0x6c68')+_0x1cd3('0x6c69')+_0x1cd3('0x6c6a')+_0x1cd3('0x3a33')+_0x1cd3('0x3a34')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a35')+_0x1cd3('0x6c6b')+_0x1cd3('0x3e63')+_0x1cd3('0x3a38')+_0x1cd3('0x6c6c')+_0x1cd3('0x3a3a')+_0x1cd3('0x3af8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6c6d')+_0x1cd3('0x6c6e')+_0x1cd3('0x6c6f')+_0x1cd3('0x6c70')+_0x1cd3('0x6c71')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{screenRecording.closedAt\x20|\x20date:\x27medium\x27\x20}}\x0a'+_0x1cd3('0x3dc8')+'\x0a'+_0x1cd3('0x3cdd')+'\x0a'+_0x1cd3('0x3a49')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a4c')+_0x1cd3('0x395d')+'\x0a'+_0x1cd3('0x3b04')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a54')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3ce1')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6c7a')+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3a5a')+'\x0a'+_0x1cd3('0x6c7b')+_0x1cd3('0x6c7c')+_0x1cd3('0x6c7d')+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3699')+'\x0a'+_0x1cd3('0x369a')+_0x1cd3('0x3951')+'\x0a'+'\x0a'+_0x1cd3('0x3a34')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a5e')+_0x1cd3('0x3a5f')+'\x0a'+_0x1cd3('0x6c7e')+_0x1cd3('0x3a61')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a63')+'\x0a'+_0x1cd3('0x3a64')+_0x1cd3('0x36f6')+_0x1cd3('0x3a65')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a67')+'\x20\x20\x20\x20\x0a');_0x404b17[_0x1cd3('0x37b')]('app/main/apps/voice/views/chanSpies/chanSpies.html',_0x1cd3('0x6c7f')+'\x0a'+_0x1cd3('0x3adc')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3add')+_0x1cd3('0x37e6')+_0x1cd3('0x3a00')+_0x1cd3('0x3ade')+_0x1cd3('0x6c80')+_0x1cd3('0x38f9')+_0x1cd3('0x6c81')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x3ae1')+'\x0a'+_0x1cd3('0x3ae2')+_0x1cd3('0x3ae3')+_0x1cd3('0x3a02')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae4')+_0x1cd3('0x3a04')+_0x1cd3('0x3a05')+_0x1cd3('0x6c82')+_0x1cd3('0x36c2')+_0x1cd3('0x366a')+_0x1cd3('0x3ae5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3ae6')+'\x0a'+_0x1cd3('0x3a07')+_0x1cd3('0x6c83')+_0x1cd3('0x3a09')+'\x0a'+_0x1cd3('0x6c84')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae8')+_0x1cd3('0x6c85')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x3a0c')+'\x0a'+_0x1cd3('0x3a0d')+_0x1cd3('0x6c86')+_0x1cd3('0x6c87')+_0x1cd3('0x6c88')+_0x1cd3('0x38f9')+'\x0a'+_0x1cd3('0x3aeb')+_0x1cd3('0x3a11')+_0x1cd3('0x3a12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22multi\x20select\x20toggle\x22\x0a'+_0x1cd3('0x6c89')+_0x1cd3('0x3a14')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3c2e')+_0x1cd3('0x3849')+_0x1cd3('0x3aee')+_0x1cd3('0x3a16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Select\x20none\x0a'+_0x1cd3('0x3849')+_0x1cd3('0x3aee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3aef')+_0x1cd3('0x366a')+'\x0a'+_0x1cd3('0x3a1b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a1d')+_0x1cd3('0x3a1e')+_0x1cd3('0x6c8a')+_0x1cd3('0x6c8b')+_0x1cd3('0x3a20')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a21')+'\x0a'+_0x1cd3('0x3a22')+_0x1cd3('0x3a23')+'\x0a'+_0x1cd3('0x3af1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6c8c')+_0x1cd3('0x3a27')+_0x1cd3('0x3af3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6c8d')+_0x1cd3('0x3a2a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.ID\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x6c8e')+_0x1cd3('0x6c8f')+_0x1cd3('0x6c90')+_0x1cd3('0x6c91')+_0x1cd3('0x6c92')+_0x1cd3('0x3a33')+_0x1cd3('0x3a34')+_0x1cd3('0x3db3')+_0x1cd3('0x3a35')+_0x1cd3('0x6c93')+_0x1cd3('0x3e63')+_0x1cd3('0x3a38')+_0x1cd3('0x486b')+_0x1cd3('0x3a3a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6c94')+_0x1cd3('0x6c95')+_0x1cd3('0x6c96')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22id\x20\x22\x20>{{chanSpy.id}}\x0a'+_0x1cd3('0x6c97')+_0x1cd3('0x6c98')+_0x1cd3('0x6c97')+_0x1cd3('0x6c99')+_0x1cd3('0x6c9a')+_0x1cd3('0x6c9b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{chanSpy.description}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a4a')+_0x1cd3('0x6c9d')+_0x1cd3('0x3a4c')+_0x1cd3('0x395d')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3a4f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6ca0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+_0x1cd3('0x3699')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3951')+'\x0a'+'\x0a'+_0x1cd3('0x3a34')+_0x1cd3('0x3a5d')+_0x1cd3('0x3a5e')+_0x1cd3('0x3a5f')+'\x0a'+_0x1cd3('0x6ca1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6ca2')+_0x1cd3('0x3a63')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x3a65')+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a66')+'\x0a'+_0x1cd3('0x6ca3')+_0x1cd3('0x6ca4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20chanSpy\x22\x20translate\x20translate-attr-aria-label=\x22VOICE.ADD_CHANSPY\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x6ca5')+_0x1cd3('0x3686'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x24e5'),'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x6ca6')+_0x1cd3('0x6ca7')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6ca8')+_0x1cd3('0x3b24')+_0x1cd3('0x6ca9')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6caa')+_0x1cd3('0x6cab')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6cac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6cad')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x6cae')+_0x1cd3('0x6caf')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20multiple\x20\x0a'+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6f')+_0x1cd3('0x6cb0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6cb1')+_0x1cd3('0x6cb2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6cb3')+_0x1cd3('0x6cb4')+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>E:\x20Exit\x20when\x20the\x20spied-on\x20channel\x20hangs\x20up.\x0a'+_0x1cd3('0x6cb5')+_0x1cd3('0x3a4d')+_0x1cd3('0x6cb6')+_0x1cd3('0x6cb7')+_0x1cd3('0x3a4d')+_0x1cd3('0x6cb8')+_0x1cd3('0x6cb9')+_0x1cd3('0x3a4d')+_0x1cd3('0x6cba')+_0x1cd3('0x6cbb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6cbc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6cc0')+_0x1cd3('0x3b24')+_0x1cd3('0x6cc1')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3acf')+_0x1cd3('0x6cc2')+_0x1cd3('0x3ed3')+_0x1cd3('0x3870')+_0x1cd3('0x6cc3')+_0x1cd3('0x6cc4')+_0x1cd3('0x6cc5')+_0x1cd3('0x6cc6')+_0x1cd3('0x6cc7')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Password\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3cec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Must\x20contain\x20at\x20least\x208\x20characters,\x20with\x20a\x20minimum\x20of\x201\x20lowercase\x20letter,\x201\x20uppercase\x20letter,\x201\x20numeric\x20character\x20and\x201\x20special\x20character\x20~!?*@#$%^&-_=+[{]}.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ed3')+_0x1cd3('0x3acf')+_0x1cd3('0x6cc8')+_0x1cd3('0x3ed3')+_0x1cd3('0x3870')+_0x1cd3('0x6cc9')+_0x1cd3('0x6cca')+_0x1cd3('0x6ccb')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e6')+_0x1cd3('0x3a6f')+_0x1cd3('0x6ccc')+_0x1cd3('0x3a4d')+_0x1cd3('0x5b58')+_0x1cd3('0x5b5b')+_0x1cd3('0x3a4d')+_0x1cd3('0x5b5c')+_0x1cd3('0x6486')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5b5a')+_0x1cd3('0x3acc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x6ccd')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x0a'+_0x1cd3('0x6cce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x6ccf')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x388f')+_0x1cd3('0x6cd0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x1cd3('0x6cd1')+_0x1cd3('0x6cd2')+_0x1cd3('0x39f3')+_0x1cd3('0x39f4')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x384d'));_0x404b17['put'](_0x1cd3('0x318'),_0x1cd3('0x6cd6')+'\x0a'+_0x1cd3('0x3adc')+_0x1cd3('0x39ff')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x37e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ade')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38f9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Contexts\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x3ae1')+'\x0a'+_0x1cd3('0x3ae2')+_0x1cd3('0x3ae3')+_0x1cd3('0x3a02')+_0x1cd3('0x3a03')+_0x1cd3('0x3ae4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a05')+_0x1cd3('0x6c82')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x3ae5')+_0x1cd3('0x3756')+_0x1cd3('0x3686')+_0x1cd3('0x3ae6')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x6cd7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22>\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a0b')+_0x1cd3('0x3ae8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Back\x0a'+_0x1cd3('0x3671')+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x3a0c')+'\x0a'+_0x1cd3('0x3a0d')+_0x1cd3('0x6cd8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedContexts.length}}\x0a'+_0x1cd3('0x6c88')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3aeb')+_0x1cd3('0x3a11')+_0x1cd3('0x3a12')+_0x1cd3('0x3aec')+_0x1cd3('0x6c89')+_0x1cd3('0x3a14')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a15')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6cd9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Select\x20all\x0a'+_0x1cd3('0x3849')+_0x1cd3('0x3aee')+_0x1cd3('0x3a16')+_0x1cd3('0x6cda')+_0x1cd3('0x3a19')+_0x1cd3('0x3849')+_0x1cd3('0x3aee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3aef')+_0x1cd3('0x366a')+'\x0a'+_0x1cd3('0x3a1b')+_0x1cd3('0x6cdb')+_0x1cd3('0x3a1d')+_0x1cd3('0x3a1e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a24')+'\x0a'+_0x1cd3('0x3a25')+_0x1cd3('0x6cdc')+_0x1cd3('0x3a27')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a2b')+_0x1cd3('0x6cdd')+_0x1cd3('0x6c8e')+_0x1cd3('0x6c92')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a34')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a35')+_0x1cd3('0x6cde')+_0x1cd3('0x42f9')+_0x1cd3('0x3a38')+_0x1cd3('0x486b')+_0x1cd3('0x3a3a')+_0x1cd3('0x3af8')+_0x1cd3('0x3a34')+_0x1cd3('0x6cdf')+_0x1cd3('0x6ce0')+_0x1cd3('0x6ce1')+_0x1cd3('0x6ce2')+_0x1cd3('0x6ce3')+_0x1cd3('0x6ce4')+_0x1cd3('0x6ce5')+_0x1cd3('0x6ce4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22description\x20\x22\x20>{{context.description}}\x0a'+_0x1cd3('0x3b02')+'\x0a'+_0x1cd3('0x3b03')+'\x0a'+_0x1cd3('0x3a49')+'\x0a'+_0x1cd3('0x3a4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22VOICE.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3b04')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3a4f')+'\x0a'+_0x1cd3('0x6ce6')+_0x1cd3('0x6ce7')+_0x1cd3('0x6ce8')+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3a5a')+'\x0a'+_0x1cd3('0x6ce9')+_0x1cd3('0x6cea')+_0x1cd3('0x6ceb')+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3699')+'\x0a'+_0x1cd3('0x369a')+_0x1cd3('0x3951')+'\x0a'+'\x0a'+_0x1cd3('0x3a34')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a5e')+_0x1cd3('0x3a5f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a63')+'\x0a'+_0x1cd3('0x3a64')+_0x1cd3('0x36f6')+_0x1cd3('0x3a65')+'\x0a'+_0x1cd3('0x3686')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x6cec')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b0f')+_0x1cd3('0x376d')+_0x1cd3('0x6ced')+'\x20\x20\x20\x20\x0a');_0x404b17['put']('app/main/apps/voice/views/contexts/create/dialog.html',_0x1cd3('0x6cee')+_0x1cd3('0x6cef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x6ca6')+_0x1cd3('0x6cf0')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e5')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x0a'+_0x1cd3('0x6cf1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x6cf2')+_0x1cd3('0x3b24')+_0x1cd3('0x6cf3')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x388f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6cf6')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6cf7')+_0x1cd3('0x6cd5')+_0x1cd3('0x3a20')+_0x1cd3('0x6cf8')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x39fe')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x258a'),_0x1cd3('0x6cf9')+_0x1cd3('0x6cfa')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x3857')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6cfb')+_0x1cd3('0x6cfc')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6cfd')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PhoneNumber\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x6cfe')+_0x1cd3('0x6cff')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x3a6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20context.name\x20}}\x0a'+_0x1cd3('0x3acc')+_0x1cd3('0x6d00')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6d01')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6d02')+_0x1cd3('0x6d03')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x39ef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6d04')+_0x1cd3('0x3ad7')+_0x1cd3('0x6d05')+_0x1cd3('0x6cd2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x1cd3('0x39f4')+'\x0a'+_0x1cd3('0x6d06')+_0x1cd3('0x39f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22inboundrouteForm.$invalid\x22\x0a'+_0x1cd3('0x6d07')+_0x1cd3('0x6d08')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x39fa')+_0x1cd3('0x6d09')+_0x1cd3('0x6cd5')+_0x1cd3('0x3a20')+_0x1cd3('0x6cf8')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17['put']('app/main/apps/voice/views/inboundroutes/edit/apps/agi/dialog.html',_0x1cd3('0x6cf9')+_0x1cd3('0x6d0a')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x3857')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x39d7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x6d0b')+_0x1cd3('0x6d0c')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x3a6f')+_0x1cd3('0x6d0d')+_0x1cd3('0x6d0e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6d0f')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Project\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x3ed3')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3b20')+_0x1cd3('0x3b47')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Application_Name\x0a'+_0x1cd3('0x6d12')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x6d13')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Arguments\x0a'+_0x1cd3('0x6d14')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x6d15')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Arguments\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x3b20')+_0x1cd3('0x3b47')+_0x1cd3('0x6d16')+_0x1cd3('0x3ad7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22inboundrouteFormApp.$invalid\x20||\x20inboundrouteFormApp.$pristine\x22\x0a'+_0x1cd3('0x6cd2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x1cd3('0x39f4')+_0x1cd3('0x366a')+_0x1cd3('0x3675')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x6d17'),_0x1cd3('0x6cf9')+_0x1cd3('0x6d0a')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x6d18')+_0x1cd3('0x6d19')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x6d1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6d1b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x6d1c')+_0x1cd3('0x6d1d')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ea9')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6d1e')+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+_0x1cd3('0x6d1f')+_0x1cd3('0x3e12')+_0x1cd3('0x3f04')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x6cae')+_0x1cd3('0x6d20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x6d21')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Options\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Url\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6d22')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x3b20')+_0x1cd3('0x3b47')+_0x1cd3('0x6d16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x1cd3('0x6d10')+_0x1cd3('0x6cd2')+_0x1cd3('0x39f3')+_0x1cd3('0x39f4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3675')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')]('app/main/apps/voice/views/inboundroutes/edit/apps/externaldial/dialog.html',_0x1cd3('0x6cf9')+_0x1cd3('0x6d0a')+_0x1cd3('0x3666')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x3857')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6d23')+_0x1cd3('0x6d24')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20trunk.name\x20}}\x0a'+_0x1cd3('0x3acc')+_0x1cd3('0x6d25')+_0x1cd3('0x3b24')+_0x1cd3('0x6d26')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x6d27')+_0x1cd3('0x6d28')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6d29')+_0x1cd3('0x3b24')+_0x1cd3('0x6d2a')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6d1c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6d1e')+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+_0x1cd3('0x6d1f')+_0x1cd3('0x3e12')+_0x1cd3('0x3f04')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6cae')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Options\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6d2c')+_0x1cd3('0x6d2d')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x6d22')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3b20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6d16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x1cd3('0x6d10')+_0x1cd3('0x6cd2')+_0x1cd3('0x39f3')+_0x1cd3('0x39f4')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x6d2e'),_0x1cd3('0x6cf9')+_0x1cd3('0x6d0a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3858')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x6cfe')+_0x1cd3('0x6d2f')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x3a6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x6d31')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x6d36')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b47')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39f3')+_0x1cd3('0x39f4')+_0x1cd3('0x366a')+_0x1cd3('0x3675')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x6d37'),_0x1cd3('0x6cf9')+_0x1cd3('0x6d0a')+_0x1cd3('0x3666')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3858')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x6d38')+_0x1cd3('0x6d39')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+_0x1cd3('0x3a6f')+_0x1cd3('0x3f7a')+_0x1cd3('0x699a')+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27VOICE.HANGUPCAUSE_1\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fe5')+_0x1cd3('0x6d3a')+_0x1cd3('0x3a4d')+_0x1cd3('0x6d3b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6d3c')+_0x1cd3('0x3a4d')+_0x1cd3('0x6d3d')+_0x1cd3('0x3fe5')+_0x1cd3('0x6d3e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6d3f')+_0x1cd3('0x3fe5')+_0x1cd3('0x6d40')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6d41')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6d42')+_0x1cd3('0x3a4d')+_0x1cd3('0x6d43')+_0x1cd3('0x3fe5')+_0x1cd3('0x6d44')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6d45')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6d46')+_0x1cd3('0x3a4d')+_0x1cd3('0x6d47')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6d48')+_0x1cd3('0x3a4d')+_0x1cd3('0x6d49')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6d15')+_0x1cd3('0x3b24')+_0x1cd3('0x6d4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x3b20')+_0x1cd3('0x3b47')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3675')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17['put']('app/main/apps/voice/views/inboundroutes/edit/apps/internaldial/dialog.html',_0x1cd3('0x6cf9')+_0x1cd3('0x6d0a')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x6d4b')+_0x1cd3('0x6d4c')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x6d4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22user.canSelect\x20===\x20false\x22>{{\x20user.name\x20}}\x0a'+_0x1cd3('0x3acc')+_0x1cd3('0x6d4e')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20User\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Timeout\x0a'+_0x1cd3('0x6d4f')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x220\x22\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6d2b')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Timeout\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a'+_0x1cd3('0x3e12')+_0x1cd3('0x3f04')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x6cae')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6cc1')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Url\x0a'+_0x1cd3('0x6d50')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6d51')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Url\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x3b20')+_0x1cd3('0x3b47')+_0x1cd3('0x6d16')+_0x1cd3('0x3ad7')+_0x1cd3('0x6d10')+_0x1cd3('0x6cd2')+_0x1cd3('0x39f3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x3675')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x384d'));_0x404b17['put'](_0x1cd3('0x2560'),_0x1cd3('0x3f0f')+_0x1cd3('0x3f10')+_0x1cd3('0x3666')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b14')+_0x1cd3('0x3b1f')+_0x1cd3('0x3b15')+_0x1cd3('0x3b16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3ed3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x0a'+_0x1cd3('0x3f12')+_0x1cd3('0x3f13')+_0x1cd3('0x36a9')+_0x1cd3('0x36aa')+'\x0a'+_0x1cd3('0x55bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Intervals\x0a'+_0x1cd3('0x3f14')+_0x1cd3('0x3f15')+_0x1cd3('0x36a9')+_0x1cd3('0x36aa')+'\x0a'+_0x1cd3('0x4d5e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Time\x20Range\x0a'+_0x1cd3('0x3f17')+_0x1cd3('0x3c8a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f19')+_0x1cd3('0x3f1a')+_0x1cd3('0x3f1b')+_0x1cd3('0x4456')+_0x1cd3('0x3f1c')+_0x1cd3('0x3c97')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f1e')+_0x1cd3('0x3f1f')+_0x1cd3('0x3f20')+_0x1cd3('0x3f21')+_0x1cd3('0x36b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f22')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x4d5f')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+_0x1cd3('0x3f23')+'\x0a'+_0x1cd3('0x3f24')+_0x1cd3('0x3f25')+_0x1cd3('0x3f17')+_0x1cd3('0x3f26')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20From\x0a'+_0x1cd3('0x3f28')+_0x1cd3('0x3f30')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20day.value\x20|\x20ucfirst\x20}}\x0a'+_0x1cd3('0x3b44')+_0x1cd3('0x36c2')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20To\x0a'+_0x1cd3('0x3f2b')+_0x1cd3('0x3f29')+_0x1cd3('0x3b44')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36c2')+_0x1cd3('0x366a')+_0x1cd3('0x3f2d')+'\x0a'+_0x1cd3('0x3f2e')+_0x1cd3('0x4d60')+_0x1cd3('0x3f17')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20From\x0a'+_0x1cd3('0x3f2f')+_0x1cd3('0x3f30')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20month\x20}}\x0a'+_0x1cd3('0x3b44')+_0x1cd3('0x36c2')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20To\x0a'+_0x1cd3('0x3f34')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20month\x20}}\x0a'+_0x1cd3('0x3b44')+_0x1cd3('0x3f35')+_0x1cd3('0x3756')+_0x1cd3('0x36c2')+_0x1cd3('0x366a')+_0x1cd3('0x55c0')+'\x0a'+_0x1cd3('0x3f36')+_0x1cd3('0x3f37')+_0x1cd3('0x3f17')+_0x1cd3('0x4d61')+_0x1cd3('0x3f27')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f30')+_0x1cd3('0x3f39')+_0x1cd3('0x3b44')+'\x0a'+_0x1cd3('0x36c2')+'\x0a'+_0x1cd3('0x4d62')+_0x1cd3('0x3f33')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20month.value\x20|\x20ucfirst\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4d63')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x3f3b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b1f')+_0x1cd3('0x3b15')+_0x1cd3('0x3b16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3b18')+_0x1cd3('0x3b19')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x388f')+_0x1cd3('0x4d64')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x1cd3('0x3859')+'\x0a'+_0x1cd3('0x3f3c')+_0x1cd3('0x3f3d')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x3675')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x6d52'),_0x1cd3('0x6cf9')+_0x1cd3('0x6d0a')+_0x1cd3('0x3666')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x6d53')+_0x1cd3('0x6d54')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x3a6f')+_0x1cd3('0x6d55')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22appdata.canSelect\x20===\x20false\x22>{{\x20appdata.name\x20}}\x0a'+_0x1cd3('0x3acc')+_0x1cd3('0x6d15')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6d56')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3acf')+_0x1cd3('0x6cae')+_0x1cd3('0x6d57')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x6d21')+_0x1cd3('0x3b24')+_0x1cd3('0x6cc1')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Answer\x0a'+_0x1cd3('0x3ed3')+_0x1cd3('0x3870')+_0x1cd3('0x3ed3')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x3b20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6d16')+_0x1cd3('0x3ad7')+_0x1cd3('0x6d10')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22VOICE.SAVE\x22\x20translate-attr-aria-label=\x22VOICE.SAVE\x22>\x0a'+_0x1cd3('0x39f3')+_0x1cd3('0x39f4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3675')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x6d58'),_0x1cd3('0x6cf9')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3666')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x6d59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20queue.name\x20}}\x0a'+_0x1cd3('0x3acc')+_0x1cd3('0x6d5a')+_0x1cd3('0x3b24')+_0x1cd3('0x6d5b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6cae')+_0x1cd3('0x6d5c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x6d21')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6cc1')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x6d2c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x6d5e')+_0x1cd3('0x6d5f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x3a6f')+_0x1cd3('0x3f4f')+_0x1cd3('0x6d60')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22sound.canSelect\x20===\x20false\x22>{{\x20sound.name\x20}}\x0a'+_0x1cd3('0x3acc')+_0x1cd3('0x6d61')+_0x1cd3('0x3b24')+_0x1cd3('0x6d62')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6d1c')+_0x1cd3('0x3f48')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3ea9')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6d2b')+_0x1cd3('0x3b24')+_0x1cd3('0x6d1e')+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+_0x1cd3('0x6d1f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f04')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x6d63')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x6d64')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agi\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x6d65')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6d68')+_0x1cd3('0x6d69')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GoSub\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Rule\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Answer\x0a'+_0x1cd3('0x3ed3')+_0x1cd3('0x3870')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x3b20')+_0x1cd3('0x3b47')+_0x1cd3('0x6d16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x1cd3('0x6d10')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22VOICE.SAVE\x22\x20translate-attr-aria-label=\x22VOICE.SAVE\x22>\x0a'+_0x1cd3('0x39f3')+_0x1cd3('0x39f4')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17['put']('app/main/apps/voice/views/inboundroutes/edit/apps/ringgroup/dialog.html',_0x1cd3('0x6cf9')+_0x1cd3('0x6d0a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20User\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6d73')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x6d1c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4e')+_0x1cd3('0x6d1f')+_0x1cd3('0x3e12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x6cae')+_0x1cd3('0x6d74')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x6d21')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6cc1')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Url\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x6d51')+_0x1cd3('0x3b24')+_0x1cd3('0x6d22')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3b20')+_0x1cd3('0x3b47')+_0x1cd3('0x6d16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x1cd3('0x6d10')+_0x1cd3('0x6cd2')+_0x1cd3('0x39f3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x3675')+'\x20\x20\x20\x20\x0a'+'\x0a');_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x6d75'),_0x1cd3('0x6cf9')+_0x1cd3('0x6d0a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x39d7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x6d76')+_0x1cd3('0x6d77')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x6d78')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22name.canSelect\x20===\x20false\x22>{{\x20name.name\x20}}\x0a'+_0x1cd3('0x3acc')+_0x1cd3('0x6d79')+_0x1cd3('0x3b24')+_0x1cd3('0x6d7a')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3acf')+_0x1cd3('0x6d7b')+_0x1cd3('0x6d7c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Value\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b47')+_0x1cd3('0x6d16')+_0x1cd3('0x3ad7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22inboundrouteFormApp.$invalid\x20||\x20inboundrouteFormApp.$pristine\x22\x0a'+_0x1cd3('0x6cd2')+_0x1cd3('0x39f3')+_0x1cd3('0x39f4')+_0x1cd3('0x366a')+_0x1cd3('0x3675')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x6d7d'),_0x1cd3('0x6cf9')+_0x1cd3('0x6d0a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x6d7e')+_0x1cd3('0x6d7f')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x3a6f')+_0x1cd3('0x6d80')+_0x1cd3('0x6d81')+_0x1cd3('0x3acc')+_0x1cd3('0x6d82')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Mailbox@Context\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x6cae')+_0x1cd3('0x6d83')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6d21')+_0x1cd3('0x3b24')+_0x1cd3('0x6cc1')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b47')+_0x1cd3('0x6d16')+_0x1cd3('0x3ad7')+_0x1cd3('0x6d10')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22VOICE.SAVE\x22\x20translate-attr-aria-label=\x22VOICE.SAVE\x22>\x0a'+_0x1cd3('0x39f3')+_0x1cd3('0x39f4')+_0x1cd3('0x366a')+_0x1cd3('0x3675')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17['put'](_0x1cd3('0x6d84'),'\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b9f')+_0x1cd3('0x3d5a')+_0x1cd3('0x6d85')+_0x1cd3('0x6d86')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22VOICE.GO_TO_INBOUNDROUTES\x22>\x0a'+_0x1cd3('0x3ba1')+_0x1cd3('0x3671')+'\x0a'+_0x1cd3('0x388f')+'\x0a'+_0x1cd3('0x6d87')+_0x1cd3('0x6d88')+_0x1cd3('0x3669')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ba3')+_0x1cd3('0x6d89')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.inboundroute.name}}\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3ba6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.inboundroute.createdAt\x20|\x20date:\x27medium\x27}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x38c3')+_0x1cd3('0x6d8a')+_0x1cd3('0x3e3b')+_0x1cd3('0x3d24')+_0x1cd3('0x36f6')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a22')+_0x1cd3('0x3e3c')+'\x0a'+_0x1cd3('0x3baa')+_0x1cd3('0x3fda')+_0x1cd3('0x3e3d')+_0x1cd3('0x6d8b')+_0x1cd3('0x3e3f')+_0x1cd3('0x3e40')+_0x1cd3('0x6d8c')+_0x1cd3('0x3e42')+_0x1cd3('0x6d8d')+_0x1cd3('0x386f')+_0x1cd3('0x3e44')+_0x1cd3('0x3e45')+_0x1cd3('0x6cfb')+_0x1cd3('0x6cfc')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x6d8e')+_0x1cd3('0x3b24')+_0x1cd3('0x6d8f')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Context\x0a'+_0x1cd3('0x6cff')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x3a6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x0a'+_0x1cd3('0x6d03')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x6cf3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x3fa6')+_0x1cd3('0x3e51')+_0x1cd3('0x3fba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fda')+_0x1cd3('0x3e3d')+_0x1cd3('0x6d90')+_0x1cd3('0x3e3f')+_0x1cd3('0x3e40')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6d91')+'\x20\x20\x0a'+_0x1cd3('0x4198')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x4199')+_0x1cd3('0x419a')+_0x1cd3('0x419b')+_0x1cd3('0x419c')+_0x1cd3('0x37e3')+_0x1cd3('0x419d')+_0x1cd3('0x419e')+_0x1cd3('0x37bd')+_0x1cd3('0x419f')+_0x1cd3('0x41a0')+_0x1cd3('0x4e07')+_0x1cd3('0x6d92')+_0x1cd3('0x41a2')+_0x1cd3('0x419e')+_0x1cd3('0x41a3')+_0x1cd3('0x3824')+_0x1cd3('0x41a4')+'\x20\x20\x0a'+_0x1cd3('0x41a6')+'\x20\x20\x0a'+_0x1cd3('0x6d93')+_0x1cd3('0x411f')+_0x1cd3('0x4e0a')+_0x1cd3('0x3b5a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d1d')+_0x1cd3('0x3947')+_0x1cd3('0x6d94')+_0x1cd3('0x411f')+'\x20\x20\x20\x20\x20\x20\x20\x20{{vm_ac.selectedInboundRouteApps.length}}\x20{{vm_ac.selectedInboundRouteApps.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6d95')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22VOICE.DELETE_SELECTED\x22>\x0a'+_0x1cd3('0x41ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d1d')+_0x1cd3('0x3947')+'\x0a'+_0x1cd3('0x5dfb')+_0x1cd3('0x4758')+_0x1cd3('0x6d96')+_0x1cd3('0x41af')+_0x1cd3('0x41b0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41b5')+_0x1cd3('0x41b6')+_0x1cd3('0x41b4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4e11')+_0x1cd3('0x41b4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4e12')+_0x1cd3('0x41b4')+_0x1cd3('0x41b1')+_0x1cd3('0x41b1')+_0x1cd3('0x41b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6d97')+_0x1cd3('0x41ba')+_0x1cd3('0x568c')+_0x1cd3('0x4150')+_0x1cd3('0x6d98')+_0x1cd3('0x6d99')+_0x1cd3('0x41bd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41bf')+_0x1cd3('0x41c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41c1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a4c')+_0x1cd3('0x395d')+'\x0a'+_0x1cd3('0x3b04')+_0x1cd3('0x41c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20App\x0a'+_0x1cd3('0x3a52')+_0x1cd3('0x3a53')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41c6')+_0x1cd3('0x41c7')+_0x1cd3('0x3a52')+_0x1cd3('0x3a53')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41c9')+_0x1cd3('0x4150')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6d9a')+_0x1cd3('0x6d9b')+_0x1cd3('0x4e1b')+_0x1cd3('0x4150')+_0x1cd3('0x41b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6d9c')+_0x1cd3('0x6d9d')+_0x1cd3('0x6d9e')+_0x1cd3('0x6d9f')+_0x1cd3('0x6da0')+_0x1cd3('0x6da1')+_0x1cd3('0x6da2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x42dc')+_0x1cd3('0x41cd')+'\x0a'+'\x0a'+'\x0a'+_0x1cd3('0x41ce')+_0x1cd3('0x376e')+'\x0a'+_0x1cd3('0x376e')+'\x0a'+_0x1cd3('0x3e51')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e53')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a66')+'\x0a'+_0x1cd3('0x376e'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x6da3'),_0x1cd3('0x6da4')+'\x0a'+_0x1cd3('0x3adc')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3add')+_0x1cd3('0x37e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ade')+_0x1cd3('0x6c80')+_0x1cd3('0x38f9')+_0x1cd3('0x6da5')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x3ae1')+'\x0a'+_0x1cd3('0x3ae2')+_0x1cd3('0x3ae3')+_0x1cd3('0x3a02')+_0x1cd3('0x3a03')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a05')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36c2')+_0x1cd3('0x366a')+_0x1cd3('0x3ae5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae6')+'\x0a'+_0x1cd3('0x3a07')+'\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a'+_0x1cd3('0x3a09')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a0b')+_0x1cd3('0x3ae8')+_0x1cd3('0x6c85')+_0x1cd3('0x3671')+_0x1cd3('0x36f6')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x6da6')+_0x1cd3('0x6da7')+_0x1cd3('0x6c88')+_0x1cd3('0x38f9')+'\x0a'+_0x1cd3('0x3aeb')+_0x1cd3('0x3a11')+_0x1cd3('0x3a12')+_0x1cd3('0x3aec')+_0x1cd3('0x6c89')+_0x1cd3('0x3a14')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a15')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Select\x20all\x0a'+_0x1cd3('0x3849')+_0x1cd3('0x3aee')+_0x1cd3('0x3a16')+_0x1cd3('0x6da8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Select\x20none\x0a'+_0x1cd3('0x3849')+_0x1cd3('0x3aee')+_0x1cd3('0x3a1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x0a'+_0x1cd3('0x3a1b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a1e')+_0x1cd3('0x6da9')+_0x1cd3('0x6c8b')+_0x1cd3('0x3a20')+_0x1cd3('0x3859')+_0x1cd3('0x3841')+_0x1cd3('0x36f6')+_0x1cd3('0x3686')+_0x1cd3('0x3a21')+'\x0a'+_0x1cd3('0x3a22')+_0x1cd3('0x3a23')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a24')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6daa')+_0x1cd3('0x3a27')+_0x1cd3('0x3af3')+_0x1cd3('0x6dab')+_0x1cd3('0x6dac')+_0x1cd3('0x3a2a')+_0x1cd3('0x3a2b')+_0x1cd3('0x6cdd')+_0x1cd3('0x6dad')+_0x1cd3('0x6c92')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a34')+_0x1cd3('0x3db3')+_0x1cd3('0x3a35')+_0x1cd3('0x6dae')+_0x1cd3('0x42f9')+_0x1cd3('0x3a38')+_0x1cd3('0x486b')+_0x1cd3('0x3a3a')+_0x1cd3('0x3af8')+_0x1cd3('0x3a34')+_0x1cd3('0x6daf')+_0x1cd3('0x6db0')+_0x1cd3('0x6db1')+_0x1cd3('0x6db2')+_0x1cd3('0x6db3')+_0x1cd3('0x6db4')+_0x1cd3('0x6db5')+_0x1cd3('0x6db4')+_0x1cd3('0x6db6')+_0x1cd3('0x3b02')+'\x0a'+_0x1cd3('0x3b03')+'\x0a'+_0x1cd3('0x3a49')+'\x0a'+_0x1cd3('0x3a4a')+_0x1cd3('0x6c9d')+_0x1cd3('0x3a4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3b04')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3a4f')+'\x0a'+_0x1cd3('0x6db7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22VOICE.EDIT_INBOUNDROUTE\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20InboundRoute\x0a'+_0x1cd3('0x3a52')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a5a')+'\x0a'+_0x1cd3('0x6db8')+_0x1cd3('0x6db9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20InboundRoute\x0a'+_0x1cd3('0x3a52')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3699')+'\x0a'+_0x1cd3('0x369a')+_0x1cd3('0x3951')+'\x0a'+'\x0a'+_0x1cd3('0x3a34')+_0x1cd3('0x3a5d')+_0x1cd3('0x3a5e')+_0x1cd3('0x3a5f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a61')+_0x1cd3('0x6dba')+_0x1cd3('0x3a63')+'\x0a'+_0x1cd3('0x3a64')+_0x1cd3('0x36f6')+_0x1cd3('0x3a65')+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a66')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6dbb')+_0x1cd3('0x6dbc')+_0x1cd3('0x3b0f')+_0x1cd3('0x376d')+_0x1cd3('0x6dbd')+_0x1cd3('0x3686'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x25c9'),'\x0a'+_0x1cd3('0x6dbe')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PhoneNumber\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x6d8f')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x6cfe')+_0x1cd3('0x6dbf')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x3a6f')+_0x1cd3('0x6472')+_0x1cd3('0x6473')+_0x1cd3('0x3acc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x6d01')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6d02')+_0x1cd3('0x6dc0')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x6dc1')+_0x1cd3('0x3b24')+_0x1cd3('0x6cf3')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x388f')+_0x1cd3('0x6dc2')+_0x1cd3('0x3ad7')+_0x1cd3('0x6dc3')+_0x1cd3('0x6cd2')+_0x1cd3('0x39f3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x6dc4')+_0x1cd3('0x39f6')+_0x1cd3('0x6dc5')+_0x1cd3('0x6dc6')+_0x1cd3('0x6dc7')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x39fa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x6d0b')+_0x1cd3('0x6d0c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x3a6f')+_0x1cd3('0x6d0d')+_0x1cd3('0x6d0e')+_0x1cd3('0x3acc')+_0x1cd3('0x6dc9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6dca')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ed3')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x3b20')+_0x1cd3('0x3b47')+_0x1cd3('0x6dcb')+_0x1cd3('0x3ad7')+_0x1cd3('0x6dcc')+_0x1cd3('0x6cd2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x1cd3('0x39f4')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3681')+'\x0a');_0x404b17[_0x1cd3('0x37b')]('app/main/apps/voice/views/internalroutes/edit/apps/custom/dialog.html',_0x1cd3('0x6dc8')+_0x1cd3('0x6dcd')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x6dce')+_0x1cd3('0x6d12')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x6dcf')+_0x1cd3('0x3b24')+_0x1cd3('0x6d13')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Arguments\x0a'+_0x1cd3('0x6d14')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x6dd0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Arguments\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3b20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6dcb')+_0x1cd3('0x3ad7')+_0x1cd3('0x6dcc')+_0x1cd3('0x6cd2')+_0x1cd3('0x39f3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x6dd1'),_0x1cd3('0x6dc8')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x39d7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x6d18')+_0x1cd3('0x6d19')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e5')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x6dd2')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Technology/Resource\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x6d1c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6d2c')+_0x1cd3('0x6dd5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x6dd6')+_0x1cd3('0x3b24')+_0x1cd3('0x6d22')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x3b20')+_0x1cd3('0x3b47')+_0x1cd3('0x6dcb')+_0x1cd3('0x3ad7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22internalrouteFormApp.$invalid\x20||\x20internalrouteFormApp.$pristine\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22VOICE.SAVE\x22\x20translate-attr-aria-label=\x22VOICE.SAVE\x22>\x0a'+_0x1cd3('0x39f3')+_0x1cd3('0x39f4')+_0x1cd3('0x366a')+_0x1cd3('0x3675')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x6dd7'),_0x1cd3('0x6dc8')+_0x1cd3('0x6dcd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Trunk\x0a'+_0x1cd3('0x6d24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x3a6f')+_0x1cd3('0x6dd8')+_0x1cd3('0x6dd9')+_0x1cd3('0x3acc')+_0x1cd3('0x6dda')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Trunk\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3acf')+_0x1cd3('0x6d27')+_0x1cd3('0x6d28')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x6ddb')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Phone\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x6d1c')+_0x1cd3('0x6ddc')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x220\x22\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x6dd3')+_0x1cd3('0x3b24')+_0x1cd3('0x6d1e')+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+_0x1cd3('0x6d1f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f04')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x6cae')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x6d2c')+_0x1cd3('0x6d2d')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x6dd6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6d22')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x3b20')+_0x1cd3('0x3b47')+_0x1cd3('0x6dcb')+_0x1cd3('0x3ad7')+_0x1cd3('0x6dcc')+_0x1cd3('0x6cd2')+_0x1cd3('0x39f3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3681')+'\x0a');_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x6ddd'),'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x6cfe')+_0x1cd3('0x6d2f')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+_0x1cd3('0x3a6f')+_0x1cd3('0x6472')+_0x1cd3('0x6473')+_0x1cd3('0x3acc')+_0x1cd3('0x6dde')+_0x1cd3('0x3b24')+_0x1cd3('0x6d01')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x6d31')+_0x1cd3('0x6ddf')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x6de0')+_0x1cd3('0x3b24')+_0x1cd3('0x6d33')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6d34')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x6de1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6d36')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x3b20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6dcb')+_0x1cd3('0x3ad7')+_0x1cd3('0x6dcc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22VOICE.SAVE\x22\x20translate-attr-aria-label=\x22VOICE.SAVE\x22>\x0a'+_0x1cd3('0x39f3')+_0x1cd3('0x39f4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3675')+_0x1cd3('0x3681')+'\x0a');_0x404b17[_0x1cd3('0x37b')]('app/main/apps/voice/views/internalroutes/edit/apps/hangup/dialog.html','\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x6d38')+_0x1cd3('0x6d39')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x3a6f')+_0x1cd3('0x3f7a')+_0x1cd3('0x699a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6de2')+_0x1cd3('0x3fe5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.HANGUPCAUSE_21\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fe5')+_0x1cd3('0x6d42')+_0x1cd3('0x3a4d')+_0x1cd3('0x6d43')+_0x1cd3('0x3fe5')+_0x1cd3('0x6d44')+_0x1cd3('0x3a4d')+_0x1cd3('0x6d45')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6d46')+_0x1cd3('0x3a4d')+_0x1cd3('0x6d47')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6d48')+_0x1cd3('0x3a4d')+_0x1cd3('0x6d49')+_0x1cd3('0x3acc')+_0x1cd3('0x6dd0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6d4a')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3ed3')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x39db')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x3b20')+_0x1cd3('0x3b47')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20User\x0a'+_0x1cd3('0x6d4c')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x3a6f')+_0x1cd3('0x6d4d')+_0x1cd3('0x6de4')+_0x1cd3('0x3acc')+_0x1cd3('0x6de5')+_0x1cd3('0x3b24')+_0x1cd3('0x6d73')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x6d1c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f04')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x6cae')+_0x1cd3('0x6de6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x6cc1')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x6d2c')+_0x1cd3('0x6d50')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Url\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ee')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3b20')+_0x1cd3('0x3b47')+_0x1cd3('0x6dcb')+_0x1cd3('0x3ad7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22internalrouteFormApp.$invalid\x20||\x20internalrouteFormApp.$pristine\x22\x0a'+_0x1cd3('0x6cd2')+_0x1cd3('0x39f3')+_0x1cd3('0x39f4')+_0x1cd3('0x366a')+_0x1cd3('0x3675')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x25b1'),'\x0a'+_0x1cd3('0x3f10')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b1f')+_0x1cd3('0x3b15')+_0x1cd3('0x3b16')+_0x1cd3('0x3b17')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b19')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3ed3')+_0x1cd3('0x3b28')+_0x1cd3('0x3f11')+_0x1cd3('0x3f12')+_0x1cd3('0x3f13')+_0x1cd3('0x36a9')+_0x1cd3('0x36aa')+'\x0a'+_0x1cd3('0x55bf')+_0x1cd3('0x4d5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f15')+_0x1cd3('0x36a9')+_0x1cd3('0x36aa')+'\x0a'+_0x1cd3('0x4d5e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Time\x20Range\x0a'+_0x1cd3('0x3f17')+_0x1cd3('0x3c8a')+_0x1cd3('0x3f18')+_0x1cd3('0x3f19')+_0x1cd3('0x3f1a')+_0x1cd3('0x3f1b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3c97')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f1e')+_0x1cd3('0x3f1f')+_0x1cd3('0x3f20')+_0x1cd3('0x3f21')+_0x1cd3('0x36b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f22')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x4d5f')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f23')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Week\x20Days\x0a'+_0x1cd3('0x3f17')+_0x1cd3('0x3f26')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20From\x0a'+_0x1cd3('0x3f28')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Always\x0a'+_0x1cd3('0x3f29')+_0x1cd3('0x3b44')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3f2a')+_0x1cd3('0x3f33')+_0x1cd3('0x3f2b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20day.value\x20|\x20ucfirst\x20}}\x0a'+_0x1cd3('0x3b44')+_0x1cd3('0x3f2c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4d60')+_0x1cd3('0x3f17')+_0x1cd3('0x4d61')+_0x1cd3('0x3f27')+_0x1cd3('0x3f2f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Always\x0a'+_0x1cd3('0x3f31')+_0x1cd3('0x3b44')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20To\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f31')+_0x1cd3('0x3b44')+_0x1cd3('0x3f35')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36c2')+_0x1cd3('0x366a')+_0x1cd3('0x55c0')+'\x0a'+_0x1cd3('0x3f36')+_0x1cd3('0x3f37')+_0x1cd3('0x3f17')+_0x1cd3('0x4d61')+_0x1cd3('0x3f27')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f30')+_0x1cd3('0x3f39')+_0x1cd3('0x3b44')+'\x0a'+_0x1cd3('0x36c2')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f33')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20month.value\x20|\x20ucfirst\x20}}\x0a'+_0x1cd3('0x3b44')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x36c2')+_0x1cd3('0x366a')+_0x1cd3('0x3f3b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b15')+_0x1cd3('0x3b16')+_0x1cd3('0x3b17')+_0x1cd3('0x3756')+_0x1cd3('0x3b18')+_0x1cd3('0x3b19')+_0x1cd3('0x367d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x3b20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4d64')+_0x1cd3('0x3891')+_0x1cd3('0x3859')+'\x0a'+_0x1cd3('0x3f3c')+_0x1cd3('0x3f3d')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3675')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x6de7'),_0x1cd3('0x6dc8')+_0x1cd3('0x6dcd')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x6d53')+_0x1cd3('0x6d54')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x3a6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Audio_Files\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x6cae')+_0x1cd3('0x6d57')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x6dd4')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Options\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x6de9')+_0x1cd3('0x3ed3')+_0x1cd3('0x3870')+_0x1cd3('0x3ed3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x3b20')+_0x1cd3('0x3b47')+_0x1cd3('0x6dcb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22internalrouteFormApp.$invalid\x20||\x20internalrouteFormApp.$pristine\x22\x0a'+_0x1cd3('0x6cd2')+_0x1cd3('0x39f3')+_0x1cd3('0x39f4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3681')+'\x0a');_0x404b17['put'](_0x1cd3('0x6dea'),_0x1cd3('0x6dc8')+_0x1cd3('0x6dcd')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x3857')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x6d59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f45')+_0x1cd3('0x4d6c')+_0x1cd3('0x3acc')+_0x1cd3('0x6deb')+_0x1cd3('0x3b24')+_0x1cd3('0x6d5b')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3acf')+_0x1cd3('0x6cae')+_0x1cd3('0x6d5c')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x6cc1')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x6d2c')+_0x1cd3('0x6dec')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6d22')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6d5e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20None\x0a'+_0x1cd3('0x6d60')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22sound.canSelect\x20===\x20false\x22>{{\x20sound.name\x20}}\x0a'+_0x1cd3('0x3acc')+_0x1cd3('0x6ded')+_0x1cd3('0x3b24')+_0x1cd3('0x6d62')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6d1c')+_0x1cd3('0x3f48')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x220\x22\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x6d1e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f04')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6d63')+_0x1cd3('0x6dee')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x6def')+_0x1cd3('0x3b24')+_0x1cd3('0x6df0')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Macro\x0a'+_0x1cd3('0x6df1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x6df2')+_0x1cd3('0x3b24')+_0x1cd3('0x6d67')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GoSub\x0a'+_0x1cd3('0x6d69')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x6df3')+_0x1cd3('0x3b24')+_0x1cd3('0x6df4')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x6df5')+_0x1cd3('0x6df6')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6df7')+_0x1cd3('0x3b24')+_0x1cd3('0x6d6b')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Position\x0a'+_0x1cd3('0x6d6d')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ea9')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x6df8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Position\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+_0x1cd3('0x6d70')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f04')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Answer\x0a'+_0x1cd3('0x3ed3')+_0x1cd3('0x3870')+_0x1cd3('0x3ed3')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b47')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')]('app/main/apps/voice/views/internalroutes/edit/apps/ringgroup/dialog.html',_0x1cd3('0x6dc8')+_0x1cd3('0x6dcd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6d4b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20multipleUsers.name\x20}}\x0a'+_0x1cd3('0x3acc')+_0x1cd3('0x6df9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6d73')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x6d1c')+_0x1cd3('0x6dfa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3ea9')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x6dd3')+_0x1cd3('0x3b24')+_0x1cd3('0x6d1e')+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+_0x1cd3('0x6d1f')+_0x1cd3('0x3e12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x6cae')+_0x1cd3('0x6d74')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x6dd4')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Options\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x6d2c')+_0x1cd3('0x6dfb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x6dd6')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Url\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x3b20')+_0x1cd3('0x3b47')+_0x1cd3('0x6dcb')+_0x1cd3('0x3ad7')+_0x1cd3('0x6dcc')+_0x1cd3('0x6cd2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x1cd3('0x39f4')+_0x1cd3('0x366a')+_0x1cd3('0x3675')+_0x1cd3('0x3681')+'\x0a');_0x404b17[_0x1cd3('0x37b')]('app/main/apps/voice/views/internalroutes/edit/apps/set/dialog.html',_0x1cd3('0x6dc8')+_0x1cd3('0x6dcd')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x6d76')+_0x1cd3('0x6d77')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x3a6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20name.name\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6dfc')+_0x1cd3('0x3b24')+_0x1cd3('0x6d7a')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3acf')+_0x1cd3('0x6d7b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Value\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x3b20')+_0x1cd3('0x3b47')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a');_0x404b17[_0x1cd3('0x37b')]('app/main/apps/voice/views/internalroutes/edit/apps/voicemail/dialog.html','\x0a'+_0x1cd3('0x6dcd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x6d7e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Options\x0a'+_0x1cd3('0x6d83')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6dd4')+_0x1cd3('0x3b24')+_0x1cd3('0x6cc1')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x3b20')+_0x1cd3('0x3b47')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3675')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x314'),_0x1cd3('0x6dff')+'\x0a'+_0x1cd3('0x3adc')+_0x1cd3('0x3b9f')+_0x1cd3('0x3d5a')+_0x1cd3('0x6e00')+_0x1cd3('0x6e01')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22VOICE.GO_TO_INTERNALROUTES\x22>\x0a'+_0x1cd3('0x3ba1')+_0x1cd3('0x3671')+'\x0a'+_0x1cd3('0x388f')+'\x0a'+_0x1cd3('0x6e02')+_0x1cd3('0x6e03')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x3ba2')+_0x1cd3('0x3ba3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.internalroute.id}}\x0a'+_0x1cd3('0x6e04')+_0x1cd3('0x3756')+_0x1cd3('0x3ba6')+_0x1cd3('0x6e05')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x1cd3('0x3d24')+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x3686')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a22')+_0x1cd3('0x3e3c')+'\x0a'+_0x1cd3('0x3baa')+_0x1cd3('0x3fda')+_0x1cd3('0x3e3d')+_0x1cd3('0x6d8b')+_0x1cd3('0x3e3f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e42')+_0x1cd3('0x6d8d')+_0x1cd3('0x386f')+_0x1cd3('0x3e44')+_0x1cd3('0x3e45')+_0x1cd3('0x6cfb')+_0x1cd3('0x6e06')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6d8e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PhoneNumber\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Context\x0a'+_0x1cd3('0x6dbf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x3a6f')+_0x1cd3('0x6472')+_0x1cd3('0x6473')+_0x1cd3('0x3acc')+_0x1cd3('0x6474')+_0x1cd3('0x3b24')+_0x1cd3('0x6d01')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x0a'+_0x1cd3('0x6dc0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x3e4f')+_0x1cd3('0x3b24')+_0x1cd3('0x6cf3')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x3fa6')+_0x1cd3('0x3e51')+_0x1cd3('0x3fba')+_0x1cd3('0x3e52')+_0x1cd3('0x3fda')+_0x1cd3('0x3e3d')+_0x1cd3('0x6d90')+_0x1cd3('0x3e3f')+_0x1cd3('0x3e40')+_0x1cd3('0x6e07')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x0a'+'\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x4199')+_0x1cd3('0x419a')+_0x1cd3('0x419b')+_0x1cd3('0x419c')+_0x1cd3('0x37e3')+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x37bd')+_0x1cd3('0x419f')+_0x1cd3('0x41a0')+_0x1cd3('0x4e07')+_0x1cd3('0x6d92')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x419e')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3824')+_0x1cd3('0x41a4')+_0x1cd3('0x41a5')+_0x1cd3('0x41a6')+_0x1cd3('0x41a7')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x411f')+_0x1cd3('0x4e0a')+_0x1cd3('0x3b5a')+_0x1cd3('0x41a9')+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x411f')+_0x1cd3('0x6e08')+_0x1cd3('0x3b5a')+_0x1cd3('0x6e09')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22VOICE.DELETE_SELECTED\x22>\x0a'+_0x1cd3('0x41ad')+_0x1cd3('0x36ed')+_0x1cd3('0x3d1d')+_0x1cd3('0x3947')+'\x0a'+_0x1cd3('0x5dfb')+_0x1cd3('0x4758')+_0x1cd3('0x6e0a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41b0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41b5')+_0x1cd3('0x41b6')+_0x1cd3('0x41b4')+_0x1cd3('0x4e10')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Appdata\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4e10')+_0x1cd3('0x4e12')+_0x1cd3('0x41b4')+_0x1cd3('0x41b1')+_0x1cd3('0x41b1')+_0x1cd3('0x41b7')+_0x1cd3('0x425a')+_0x1cd3('0x41b8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41ba')+_0x1cd3('0x568c')+_0x1cd3('0x4150')+_0x1cd3('0x6e0b')+_0x1cd3('0x6e0c')+_0x1cd3('0x41bd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4e16')+_0x1cd3('0x41be')+_0x1cd3('0x41bf')+_0x1cd3('0x41c0')+_0x1cd3('0x4e17')+_0x1cd3('0x41c1')+_0x1cd3('0x4150')+_0x1cd3('0x41c2')+_0x1cd3('0x3a49')+_0x1cd3('0x5e01')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x395d')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41c3')+_0x1cd3('0x6e0d')+_0x1cd3('0x5690')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Interval\x0a'+_0x1cd3('0x3a52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4e19')+_0x1cd3('0x41c6')+_0x1cd3('0x41c7')+_0x1cd3('0x3a52')+_0x1cd3('0x3a53')+_0x1cd3('0x41c8')+_0x1cd3('0x41c9')+_0x1cd3('0x4150')+_0x1cd3('0x41b7')+_0x1cd3('0x6e0e')+_0x1cd3('0x6d9b')+_0x1cd3('0x4e1b')+_0x1cd3('0x4150')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6d9c')+_0x1cd3('0x6d9d')+_0x1cd3('0x6d9e')+_0x1cd3('0x6d9f')+_0x1cd3('0x6da0')+_0x1cd3('0x6da1')+_0x1cd3('0x6da2')+_0x1cd3('0x41cc')+'\x0a'+_0x1cd3('0x41cd')+'\x0a'+'\x0a'+'\x0a'+'\x0a'+_0x1cd3('0x376e')+'\x0a'+_0x1cd3('0x376e')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e53')+'\x0a'+_0x1cd3('0x3686')+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x0a');_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x310'),_0x1cd3('0x6e0f')+'\x0a'+_0x1cd3('0x3adc')+_0x1cd3('0x39ff')+'\x0a'+_0x1cd3('0x3add')+_0x1cd3('0x37e6')+_0x1cd3('0x3a00')+_0x1cd3('0x3ade')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38f9')+_0x1cd3('0x6e10')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x3ae1')+'\x0a'+_0x1cd3('0x3ae2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a02')+_0x1cd3('0x3a03')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a04')+_0x1cd3('0x3a05')+_0x1cd3('0x6c82')+_0x1cd3('0x36c2')+_0x1cd3('0x366a')+_0x1cd3('0x3ae5')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae6')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x6e11')+_0x1cd3('0x3a09')+'\x0a'+_0x1cd3('0x6e12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6c85')+_0x1cd3('0x3671')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a0c')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x6e13')+_0x1cd3('0x6e14')+_0x1cd3('0x6c88')+_0x1cd3('0x38f9')+'\x0a'+_0x1cd3('0x3aeb')+_0x1cd3('0x3a11')+_0x1cd3('0x3a12')+_0x1cd3('0x3aec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22VOICE.MULTI_SELECT_TOGGLE\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a15')+_0x1cd3('0x3a16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3c2e')+_0x1cd3('0x3849')+_0x1cd3('0x3aee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6e15')+_0x1cd3('0x3a19')+_0x1cd3('0x3849')+_0x1cd3('0x3aee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3aef')+_0x1cd3('0x366a')+'\x0a'+_0x1cd3('0x3a1b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a1d')+_0x1cd3('0x3a1e')+_0x1cd3('0x6e16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22VOICE.DELETE_SELECTED\x22>\x0a'+_0x1cd3('0x3a20')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a21')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a23')+'\x0a'+_0x1cd3('0x3af1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a25')+_0x1cd3('0x6e17')+_0x1cd3('0x3a27')+_0x1cd3('0x3af3')+_0x1cd3('0x6e18')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a2a')+_0x1cd3('0x3a2b')+_0x1cd3('0x6cdd')+_0x1cd3('0x6dad')+_0x1cd3('0x6c92')+_0x1cd3('0x3a33')+_0x1cd3('0x3a34')+_0x1cd3('0x3db3')+_0x1cd3('0x3a35')+_0x1cd3('0x6e19')+_0x1cd3('0x42f9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x486b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6e1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6e1b')+_0x1cd3('0x6e1c')+_0x1cd3('0x6e1d')+_0x1cd3('0x6e1e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22exten\x20\x22\x20>{{internalroute.exten}}\x0a'+_0x1cd3('0x6e1e')+_0x1cd3('0x6e1f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3b03')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3a5a')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3699')+'\x0a'+_0x1cd3('0x369a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x0a'+_0x1cd3('0x3a34')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a5e')+_0x1cd3('0x3a5f')+'\x0a'+_0x1cd3('0x6e23')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6e24')+_0x1cd3('0x3a63')+'\x0a'+_0x1cd3('0x3a64')+_0x1cd3('0x36f6')+_0x1cd3('0x3a65')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a66')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6e25')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20internalroute\x22\x20translate\x20translate-attr-aria-label=\x22VOICE.ADD_INTERNALROUTE\x22>\x0a'+_0x1cd3('0x3b0f')+_0x1cd3('0x376d')+_0x1cd3('0x6e26')+_0x1cd3('0x3686'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x25ff'),_0x1cd3('0x6e27')+_0x1cd3('0x6e28')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6ca6')+_0x1cd3('0x6e29')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e5')+_0x1cd3('0x6e2a')+_0x1cd3('0x3dff')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6e2b')+_0x1cd3('0x3b24')+_0x1cd3('0x6ca9')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x6e2c')+_0x1cd3('0x6e2d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+_0x1cd3('0x6e2a')+_0x1cd3('0x3dff')+_0x1cd3('0x3a6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6e2e')+_0x1cd3('0x3a4d')+_0x1cd3('0x6e2f')+_0x1cd3('0x3fe5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6e33')+_0x1cd3('0x6e34')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x6e35')+_0x1cd3('0x3b24')+_0x1cd3('0x6e36')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6e37')+_0x1cd3('0x6e38')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x6e39')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6e3a')+_0x1cd3('0x6e3b')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e6')+_0x1cd3('0x3a6f')+_0x1cd3('0x3f7a')+_0x1cd3('0x6e3c')+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27VOICE.RANDOM\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fe5')+_0x1cd3('0x6e3d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6e3e')+_0x1cd3('0x3acc')+_0x1cd3('0x6e3f')+_0x1cd3('0x3b24')+_0x1cd3('0x6e40')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ed3')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x39ef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39fa')+_0x1cd3('0x6e44')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22VOICE.DELETE\x22>\x0a'+_0x1cd3('0x3a20')+_0x1cd3('0x6cf8')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x39fe')+_0x1cd3('0x3681')+'\x0a');_0x404b17[_0x1cd3('0x37b')]('app/main/apps/voice/views/musiconholds/edit/mohSounds/dialog.html',_0x1cd3('0x6e45')+_0x1cd3('0x6e46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20File\x0a'+_0x1cd3('0x6e47')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x3a6f')+_0x1cd3('0x6e48')+_0x1cd3('0x6e49')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6e4a')+_0x1cd3('0x3b24')+_0x1cd3('0x6e4b')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39da')+_0x1cd3('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39f3')+_0x1cd3('0x39f4')+'\x0a'+_0x1cd3('0x6e4d')+_0x1cd3('0x39f6')+_0x1cd3('0x6e4e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22VOICE.ADD_MOHSOUND\x22\x20translate-attr-aria-label=\x22VOICE.ADD_MOHSOUND\x22>\x0a'+_0x1cd3('0x6e4f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x39fa')+_0x1cd3('0x6e50')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22VOICE.DELETE\x22>\x0a'+_0x1cd3('0x3a20')+_0x1cd3('0x6cf8')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x327'),_0x1cd3('0x6e51')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b9f')+_0x1cd3('0x3d5a')+_0x1cd3('0x6e52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.gotoMusicOnHolds()\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22VOICE.GO_TO_MUSICONHOLDS\x22>\x0a'+_0x1cd3('0x3ba1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x6e53')+_0x1cd3('0x6e54')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3ba2')+_0x1cd3('0x3ba3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.musiconhold.id}}\x0a'+_0x1cd3('0x6e55')+_0x1cd3('0x3756')+_0x1cd3('0x3ba6')+_0x1cd3('0x6e56')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae6')+'\x0a'+_0x1cd3('0x3a22')+_0x1cd3('0x3e3c')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fda')+_0x1cd3('0x3e3d')+_0x1cd3('0x6d8b')+_0x1cd3('0x3e3f')+_0x1cd3('0x3e40')+_0x1cd3('0x6e57')+_0x1cd3('0x3e42')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GENERAL\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e45')+_0x1cd3('0x6ca6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6e59')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Mode\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6e33')+_0x1cd3('0x6e34')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x6e5a')+_0x1cd3('0x3b24')+_0x1cd3('0x6e36')+_0x1cd3('0x3756')+_0x1cd3('0x39ea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6e37')+_0x1cd3('0x6e38')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x6e5b')+_0x1cd3('0x3b24')+_0x1cd3('0x6e39')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6e3a')+_0x1cd3('0x6e3b')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x3a6f')+_0x1cd3('0x3f7a')+_0x1cd3('0x6e3c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27VOICE.RANDOM\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fe5')+_0x1cd3('0x6e3d')+_0x1cd3('0x3a4d')+_0x1cd3('0x6e3e')+_0x1cd3('0x3acc')+_0x1cd3('0x6e5c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Sort\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3ed3')+_0x1cd3('0x3fa6')+_0x1cd3('0x3e51')+_0x1cd3('0x3fba')+_0x1cd3('0x3e52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e3d')+_0x1cd3('0x6e5d')+_0x1cd3('0x3e3f')+_0x1cd3('0x3e40')+_0x1cd3('0x6e5e')+_0x1cd3('0x6e5f')+_0x1cd3('0x6e60')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x6e61')+_0x1cd3('0x411a')+_0x1cd3('0x411b')+_0x1cd3('0x6e62')+_0x1cd3('0x6e63')+_0x1cd3('0x411d')+_0x1cd3('0x4104')+_0x1cd3('0x3669')+_0x1cd3('0x415d')+_0x1cd3('0x6e64')+_0x1cd3('0x411f')+_0x1cd3('0x6e65')+_0x1cd3('0x3b5a')+_0x1cd3('0x6e66')+_0x1cd3('0x4121')+_0x1cd3('0x415a')+_0x1cd3('0x6e67')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22VOICE.DELETE_SELECTED\x22>\x0a'+_0x1cd3('0x4177')+_0x1cd3('0x3d24')+_0x1cd3('0x3f1c')+_0x1cd3('0x415d')+'\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4160')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6e68')+_0x1cd3('0x4128')+_0x1cd3('0x6e69')+_0x1cd3('0x6e6a')+_0x1cd3('0x4128')+_0x1cd3('0x412c')+_0x1cd3('0x6e6b')+_0x1cd3('0x4128')+_0x1cd3('0x412e')+_0x1cd3('0x412f')+_0x1cd3('0x417f')+_0x1cd3('0x4130')+_0x1cd3('0x6e6c')+'>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6e6d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4208')+_0x1cd3('0x6e6e')+_0x1cd3('0x6e6f')+_0x1cd3('0x6e70')+_0x1cd3('0x413e')+_0x1cd3('0x41fa')+_0x1cd3('0x6e71')+_0x1cd3('0x413e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x413f')+_0x1cd3('0x6e72')+_0x1cd3('0x4141')+_0x1cd3('0x4185')+'\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4147')+_0x1cd3('0x6e73')+_0x1cd3('0x6e74')+_0x1cd3('0x3a52')+_0x1cd3('0x4149')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4189')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6e75')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x414d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20mohsound\x20available\x0a'+_0x1cd3('0x414f')+_0x1cd3('0x4150')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4151')+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x0a'+_0x1cd3('0x6e76')+_0x1cd3('0x3824')+'\x0a'+_0x1cd3('0x3e51')+_0x1cd3('0x3fba')+_0x1cd3('0x3e52')+_0x1cd3('0x3e53')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a66')+'\x0a'+_0x1cd3('0x376e'));_0x404b17[_0x1cd3('0x37b')]('app/main/apps/voice/views/musiconholds/musiconholds.html','\x0a'+'\x0a'+_0x1cd3('0x3adc')+_0x1cd3('0x39ff')+'\x0a'+_0x1cd3('0x3add')+_0x1cd3('0x37e6')+_0x1cd3('0x3a00')+_0x1cd3('0x3ade')+_0x1cd3('0x6c80')+_0x1cd3('0x38f9')+_0x1cd3('0x6e77')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae1')+'\x0a'+_0x1cd3('0x3ae2')+_0x1cd3('0x3ae3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a03')+_0x1cd3('0x3ae4')+_0x1cd3('0x3a04')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae5')+_0x1cd3('0x3756')+_0x1cd3('0x3686')+_0x1cd3('0x3ae6')+'\x0a'+_0x1cd3('0x3a07')+'\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22>\x0a'+'\x0a'+_0x1cd3('0x6e78')+_0x1cd3('0x3a0b')+_0x1cd3('0x3ae8')+_0x1cd3('0x6c85')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x3a0c')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x6e79')+_0x1cd3('0x6e7a')+_0x1cd3('0x6c88')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a11')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22$mdOpenMenu($event)\x22\x0a'+_0x1cd3('0x3aec')+_0x1cd3('0x6c89')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x367d')+_0x1cd3('0x3a15')+_0x1cd3('0x3a16')+_0x1cd3('0x6e7b')+_0x1cd3('0x3c2e')+_0x1cd3('0x3849')+_0x1cd3('0x3aee')+_0x1cd3('0x3a16')+_0x1cd3('0x6e7c')+_0x1cd3('0x3a19')+_0x1cd3('0x3849')+_0x1cd3('0x3aee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3aef')+_0x1cd3('0x366a')+'\x0a'+_0x1cd3('0x3a1b')+_0x1cd3('0x6e7d')+_0x1cd3('0x3a1d')+_0x1cd3('0x3a1e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a21')+'\x0a'+_0x1cd3('0x3a22')+_0x1cd3('0x3a23')+'\x0a'+_0x1cd3('0x3af1')+_0x1cd3('0x3a24')+'\x0a'+_0x1cd3('0x3a25')+_0x1cd3('0x6e7e')+_0x1cd3('0x3a27')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6e7f')+_0x1cd3('0x6e80')+_0x1cd3('0x3a2a')+_0x1cd3('0x3a2b')+_0x1cd3('0x6cdd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.NAME\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x6e81')+_0x1cd3('0x6e82')+_0x1cd3('0x3a33')+_0x1cd3('0x3a34')+_0x1cd3('0x3db3')+_0x1cd3('0x3a35')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3c56')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x486b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x3af8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6e83')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6e84')+_0x1cd3('0x6e85')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22id\x20\x22\x20>{{musiconhold.id}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{musiconhold.name}}\x0a'+_0x1cd3('0x6e86')+_0x1cd3('0x6e87')+_0x1cd3('0x6e88')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22sort\x20\x22>{{\x20\x27VOICE.\x27\x20+\x20vm.arraysort[musiconhold.sort].option\x20|\x20uppercase\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4ea3')+'\x0a'+_0x1cd3('0x3b03')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a4a')+_0x1cd3('0x6c9d')+_0x1cd3('0x3a4c')+_0x1cd3('0x395d')+'\x0a'+_0x1cd3('0x3b04')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3a4f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3a5a')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a5d')+_0x1cd3('0x3a5e')+_0x1cd3('0x3a5f')+'\x0a'+_0x1cd3('0x6e8d')+_0x1cd3('0x3a61')+_0x1cd3('0x6e8e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a64')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a65')+'\x0a'+_0x1cd3('0x3686')+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6e8f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20musiconhold\x22\x20translate\x20translate-attr-aria-label=\x22VOICE.ADD_MUSICONHOLD\x22>\x0a'+_0x1cd3('0x3b0f')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x6e90')+_0x1cd3('0x3686'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x2642'),_0x1cd3('0x6e91')+_0x1cd3('0x6e92')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6cfb')+_0x1cd3('0x6e93')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x6e94')+_0x1cd3('0x3b24')+_0x1cd3('0x6d8f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6cfe')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6e95')+_0x1cd3('0x3b24')+_0x1cd3('0x6d01')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6e96')+_0x1cd3('0x6e97')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e6')+_0x1cd3('0x3a6f')+_0x1cd3('0x6e98')+_0x1cd3('0x3a4d')+_0x1cd3('0x6e99')+_0x1cd3('0x5b57')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5b58')+_0x1cd3('0x6486')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>wav49\x0a'+_0x1cd3('0x5b5b')+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>gsm\x0a'+_0x1cd3('0x3acc')+_0x1cd3('0x6e9a')+_0x1cd3('0x6e9b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Recording\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x6e9c')+_0x1cd3('0x6e9d')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x220\x22\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6e9e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6e9f')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6ea0')+_0x1cd3('0x3e12')+_0x1cd3('0x3f04')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x6d02')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x39ef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6ea2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x1cd3('0x6ea3')+_0x1cd3('0x6cd2')+_0x1cd3('0x39f3')+_0x1cd3('0x39f4')+'\x0a'+_0x1cd3('0x6ea4')+_0x1cd3('0x39f6')+_0x1cd3('0x6ea5')+_0x1cd3('0x6ea6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20OUTBOUNDROUTE\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6ea7')+_0x1cd3('0x6cd5')+_0x1cd3('0x3a20')+_0x1cd3('0x6cf8')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')]('app/main/apps/voice/views/outboundroutes/edit/apps/custom/dialog.html',_0x1cd3('0x6e91')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x6dce')+_0x1cd3('0x6d12')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x6ea8')+_0x1cd3('0x3b24')+_0x1cd3('0x6d13')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6ea9')+_0x1cd3('0x6d14')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6eaa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Arguments\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x3b20')+_0x1cd3('0x3b47')+_0x1cd3('0x6eab')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x1cd3('0x6eac')+_0x1cd3('0x6cd2')+_0x1cd3('0x39f3')+_0x1cd3('0x39f4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3675')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17['put']('app/main/apps/voice/views/outboundroutes/edit/apps/interval/dialog.html',_0x1cd3('0x3f0f')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x3b14')+_0x1cd3('0x3b1f')+_0x1cd3('0x3b15')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b18')+_0x1cd3('0x3b19')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+'\x0a'+_0x1cd3('0x3ed3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x0a'+_0x1cd3('0x3f12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20type\x20|\x20ucfirst\x20}}\x0a'+_0x1cd3('0x36a9')+_0x1cd3('0x36aa')+'\x0a'+_0x1cd3('0x55bf')+_0x1cd3('0x4d5d')+_0x1cd3('0x3f14')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20interval.name\x20}}\x0a'+_0x1cd3('0x36a9')+_0x1cd3('0x36aa')+'\x0a'+_0x1cd3('0x4d5e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Time\x20Range\x0a'+_0x1cd3('0x3f17')+_0x1cd3('0x3c8a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f19')+_0x1cd3('0x3f1a')+_0x1cd3('0x3f1b')+_0x1cd3('0x4456')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3c97')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f20')+_0x1cd3('0x3f21')+_0x1cd3('0x36b7')+_0x1cd3('0x39c6')+_0x1cd3('0x3f22')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x4d5f')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+_0x1cd3('0x3f23')+'\x0a'+_0x1cd3('0x3f24')+_0x1cd3('0x3f25')+_0x1cd3('0x3f17')+_0x1cd3('0x3f26')+_0x1cd3('0x3f27')+_0x1cd3('0x3f28')+_0x1cd3('0x3f30')+_0x1cd3('0x3f29')+_0x1cd3('0x3b44')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3f2a')+_0x1cd3('0x3f33')+_0x1cd3('0x3f2b')+_0x1cd3('0x3f29')+_0x1cd3('0x3b44')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36c2')+_0x1cd3('0x366a')+_0x1cd3('0x3f2d')+'\x0a'+_0x1cd3('0x3f2e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Time\x20Range\x0a'+_0x1cd3('0x3f17')+_0x1cd3('0x4d61')+_0x1cd3('0x3f27')+_0x1cd3('0x3f2f')+_0x1cd3('0x3f30')+_0x1cd3('0x3f31')+_0x1cd3('0x3b44')+_0x1cd3('0x36c2')+'\x0a'+_0x1cd3('0x3f32')+_0x1cd3('0x3f33')+_0x1cd3('0x3f34')+_0x1cd3('0x3f31')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f35')+_0x1cd3('0x3756')+_0x1cd3('0x36c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x55c0')+'\x0a'+_0x1cd3('0x3f36')+_0x1cd3('0x3f37')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4d61')+_0x1cd3('0x3f27')+_0x1cd3('0x3f38')+_0x1cd3('0x3f30')+_0x1cd3('0x3f39')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x36c2')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f33')+_0x1cd3('0x3f3a')+_0x1cd3('0x3f39')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4d63')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x3f3b')+'\x0a'+_0x1cd3('0x3b14')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x3b16')+_0x1cd3('0x3b17')+_0x1cd3('0x3756')+_0x1cd3('0x3b18')+_0x1cd3('0x3b19')+_0x1cd3('0x367d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x3b20')+_0x1cd3('0x388f')+_0x1cd3('0x4d64')+_0x1cd3('0x3891')+_0x1cd3('0x3859')+'\x0a'+_0x1cd3('0x3f3c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20INTERVAL\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x3675')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')]('app/main/apps/voice/views/outboundroutes/edit/apps/outbounddial/dialog.html','\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3666')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x6d23')+_0x1cd3('0x6ead')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x3a6f')+_0x1cd3('0x6dd8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22trunk.canSelect\x20===\x20false\x22>{{\x20trunk.name\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6eae')+_0x1cd3('0x3b24')+_0x1cd3('0x6d26')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6eaf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x6eb1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x6caa')+_0x1cd3('0x6eb2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x6eb3')+_0x1cd3('0x3b24')+_0x1cd3('0x6cad')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Tags\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6eb6')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x6d1c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f04')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6cae')+_0x1cd3('0x6eb8')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x6eb9')+_0x1cd3('0x3b24')+_0x1cd3('0x6cc1')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Url\x0a'+_0x1cd3('0x6eba')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x6ebb')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Url\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6eab')+_0x1cd3('0x3ad7')+_0x1cd3('0x6eac')+_0x1cd3('0x6cd2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x1cd3('0x39f4')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x30d'),_0x1cd3('0x6ebc')+'\x0a'+_0x1cd3('0x3adc')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d5a')+_0x1cd3('0x6ebd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.gotoOutboundRoutes()\x22\x0a'+_0x1cd3('0x6ebe')+_0x1cd3('0x3ba1')+_0x1cd3('0x3671')+'\x0a'+_0x1cd3('0x388f')+'\x0a'+_0x1cd3('0x6ebf')+_0x1cd3('0x6ec0')+_0x1cd3('0x3669')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6ec1')+_0x1cd3('0x6ec2')+_0x1cd3('0x3756')+_0x1cd3('0x3ba6')+_0x1cd3('0x6ec3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x1cd3('0x3d24')+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3ae6')+'\x0a'+_0x1cd3('0x3a22')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3baa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e3d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SETTINGS\x0a'+_0x1cd3('0x3e3f')+_0x1cd3('0x3e40')+_0x1cd3('0x6ec4')+_0x1cd3('0x3e42')+_0x1cd3('0x6d8d')+_0x1cd3('0x386f')+_0x1cd3('0x3e44')+_0x1cd3('0x3e45')+_0x1cd3('0x6cfb')+_0x1cd3('0x6e93')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e5')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x6d8e')+_0x1cd3('0x3b24')+_0x1cd3('0x6d8f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Context\x0a'+_0x1cd3('0x6ec5')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x3a6f')+_0x1cd3('0x6472')+_0x1cd3('0x6473')+_0x1cd3('0x3acc')+_0x1cd3('0x6474')+_0x1cd3('0x3b24')+_0x1cd3('0x6d01')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Recording\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gsm\x0a'+_0x1cd3('0x3acc')+_0x1cd3('0x6e9a')+_0x1cd3('0x6ec6')+_0x1cd3('0x3b24')+_0x1cd3('0x6ec7')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6e9c')+_0x1cd3('0x6e9d')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ea9')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6ec8')+_0x1cd3('0x3b24')+_0x1cd3('0x6e9f')+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+_0x1cd3('0x6ea0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f04')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x6d02')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fa6')+_0x1cd3('0x3e51')+_0x1cd3('0x3fba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ACTIONS\x0a'+_0x1cd3('0x3e3f')+_0x1cd3('0x3e40')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6ec9')+_0x1cd3('0x6eca')+'\x20\x20\x0a'+_0x1cd3('0x5687')+_0x1cd3('0x4199')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x419b')+_0x1cd3('0x419c')+_0x1cd3('0x37e3')+_0x1cd3('0x419d')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x37bd')+_0x1cd3('0x419f')+_0x1cd3('0x41a0')+_0x1cd3('0x4e07')+'\x20\x20\x20\x20\x20\x20\x20\x20{{a.alias\x20||\x20a.appType}}

\x0a'+_0x1cd3('0x41a2')+_0x1cd3('0x419e')+_0x1cd3('0x41a3')+_0x1cd3('0x3824')+_0x1cd3('0x41a4')+_0x1cd3('0x41a5')+'\x20\x20\x0a'+'\x20\x20\x0a'+_0x1cd3('0x6ecb')+_0x1cd3('0x411f')+_0x1cd3('0x4e0a')+_0x1cd3('0x3b5a')+_0x1cd3('0x41a9')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3947')+_0x1cd3('0x6ecc')+_0x1cd3('0x411f')+_0x1cd3('0x6ecd')+_0x1cd3('0x3b5a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d1d')+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x4758')+_0x1cd3('0x6ecf')+_0x1cd3('0x41af')+_0x1cd3('0x41b0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41b5')+_0x1cd3('0x41b6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4e10')+_0x1cd3('0x4e11')+_0x1cd3('0x41b4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4e12')+_0x1cd3('0x41b4')+_0x1cd3('0x41b1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x425a')+_0x1cd3('0x41b8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41ba')+_0x1cd3('0x568c')+_0x1cd3('0x4150')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{app.app.toLowerCase()\x20===\x20\x27agi\x27\x20?\x20\x27Cally-Square\x27\x20:\x20app.app\x20|\x20ucfirst}}*\x0a'+_0x1cd3('0x6ed0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{app.IntervalId\x20?\x20\x27From\x20List\x27\x20:\x20app.interval}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4e16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41bf')+_0x1cd3('0x41c0')+_0x1cd3('0x4e17')+_0x1cd3('0x41c1')+_0x1cd3('0x4150')+_0x1cd3('0x41c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5e01')+_0x1cd3('0x3a4c')+_0x1cd3('0x395d')+'\x0a'+_0x1cd3('0x3b04')+_0x1cd3('0x41c3')+_0x1cd3('0x6ed1')+_0x1cd3('0x5690')+_0x1cd3('0x3a52')+_0x1cd3('0x3a53')+_0x1cd3('0x41c3')+_0x1cd3('0x41c4')+_0x1cd3('0x41c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a53')+_0x1cd3('0x4e19')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a53')+_0x1cd3('0x41c8')+_0x1cd3('0x41c9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4e1b')+_0x1cd3('0x4150')+_0x1cd3('0x41b7')+_0x1cd3('0x42bf')+_0x1cd3('0x6d9c')+_0x1cd3('0x6d9d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6d9f')+_0x1cd3('0x6da0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6da2')+_0x1cd3('0x41cc')+'\x0a'+'\x0a'+'\x0a'+_0x1cd3('0x4e1c')+'\x0a'+_0x1cd3('0x41ce')+_0x1cd3('0x376e')+_0x1cd3('0x42df')+_0x1cd3('0x376e')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fba')+_0x1cd3('0x3e52')+_0x1cd3('0x3e53')+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a66')+'\x0a'+_0x1cd3('0x376e'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x6ed2'),_0x1cd3('0x6ed3')+'\x0a'+_0x1cd3('0x3adc')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3add')+_0x1cd3('0x37e6')+_0x1cd3('0x3a00')+_0x1cd3('0x3ade')+_0x1cd3('0x6c80')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6ed4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae1')+'\x0a'+_0x1cd3('0x3ae2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a02')+_0x1cd3('0x3a03')+_0x1cd3('0x3ae4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a05')+_0x1cd3('0x6c82')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x3ae5')+_0x1cd3('0x3756')+_0x1cd3('0x3686')+_0x1cd3('0x3ae6')+'\x0a'+_0x1cd3('0x3a07')+_0x1cd3('0x6ed5')+_0x1cd3('0x3a09')+'\x0a'+_0x1cd3('0x6ed6')+_0x1cd3('0x3a0b')+_0x1cd3('0x3ae8')+_0x1cd3('0x6c85')+_0x1cd3('0x3671')+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x3a0c')+'\x0a'+_0x1cd3('0x3a0d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6ed7')+_0x1cd3('0x6c88')+_0x1cd3('0x38f9')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a11')+_0x1cd3('0x3a12')+_0x1cd3('0x3aec')+_0x1cd3('0x6c89')+_0x1cd3('0x3a14')+_0x1cd3('0x367d')+_0x1cd3('0x3a15')+_0x1cd3('0x3a16')+_0x1cd3('0x6ed8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Select\x20all\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3aee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6ed9')+_0x1cd3('0x3a19')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3aee')+_0x1cd3('0x3a1a')+_0x1cd3('0x3aef')+_0x1cd3('0x366a')+'\x0a'+_0x1cd3('0x3a1b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a1d')+_0x1cd3('0x3a1e')+_0x1cd3('0x6eda')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22VOICE.DELETE_SELECTED\x22>\x0a'+_0x1cd3('0x3a20')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x3686')+_0x1cd3('0x3a21')+'\x0a'+_0x1cd3('0x3a22')+_0x1cd3('0x3a23')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a24')+'\x0a'+_0x1cd3('0x3a25')+_0x1cd3('0x6edb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3af3')+_0x1cd3('0x6edc')+_0x1cd3('0x6edd')+_0x1cd3('0x3a2a')+_0x1cd3('0x3a2b')+_0x1cd3('0x6cdd')+_0x1cd3('0x6dad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.DESCRIPTION\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3db3')+_0x1cd3('0x3a35')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a38')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3af8')+_0x1cd3('0x3a34')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6ede')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{outboundroute.exten}}\x0a'+_0x1cd3('0x6ee0')+_0x1cd3('0x6ee1')+_0x1cd3('0x3b02')+'\x0a'+_0x1cd3('0x3b03')+'\x0a'+_0x1cd3('0x3a49')+'\x0a'+_0x1cd3('0x3a4a')+_0x1cd3('0x6c9d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x395d')+'\x0a'+_0x1cd3('0x3b04')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a54')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3a4f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3699')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3951')+'\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a5f')+'\x0a'+_0x1cd3('0x6ee6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6ee7')+_0x1cd3('0x3a63')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a66')+'\x0a'+_0x1cd3('0x6ee8')+_0x1cd3('0x6ee9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20outboundroute\x22\x20translate\x20translate-attr-aria-label=\x22VOICE.ADD_OUTBOUNDROUTE\x22>\x0a'+_0x1cd3('0x3b0f')+_0x1cd3('0x376d')+_0x1cd3('0x6eea')+_0x1cd3('0x3686'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x6eeb'),'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5c38')+_0x1cd3('0x5c39')+_0x1cd3('0x3945')+'\x0a'+_0x1cd3('0x5c3a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20search=\x22vm.getAbandonedCalls()\x22>\x0a'+_0x1cd3('0x5c3b')+_0x1cd3('0x6eec')+_0x1cd3('0x4725')+_0x1cd3('0x5c3c')+_0x1cd3('0x3671')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x4758')+_0x1cd3('0x3949')+_0x1cd3('0x6eed')+_0x1cd3('0x394a')+_0x1cd3('0x6eee')+_0x1cd3('0x5c3d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.PHONE\x27\x20|\x20translate}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.QUEUE\x27\x20|\x20translate}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.ABANDONAT\x27\x20|\x20translate}}\x0a'+_0x1cd3('0x5c40')+_0x1cd3('0x5c41')+_0x1cd3('0x4731')+_0x1cd3('0x394b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x394d')+_0x1cd3('0x6eef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4967')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a'+_0x1cd3('0x36b7')+_0x1cd3('0x3951')+_0x1cd3('0x394b')+_0x1cd3('0x5c42')+_0x1cd3('0x5c43')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{call.calleridname}}\x0a'+_0x1cd3('0x5c45')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.queuesMap[call.queue]}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{call.queuecallerabandonAt\x20?\x20(call.queuecallerabandonAt\x20|\x20formatdate)\x20:\x20undefined\x20}}\x0a'+_0x1cd3('0x6ef0')+_0x1cd3('0x6ef1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4937')+_0x1cd3('0x6ef2')+_0x1cd3('0x4767')+_0x1cd3('0x3849')+_0x1cd3('0x4a21')+_0x1cd3('0x5c49')+_0x1cd3('0x4768')+_0x1cd3('0x5c4a')+_0x1cd3('0x474a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5c4c')+_0x1cd3('0x3d8d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5c4e')+_0x1cd3('0x3d8d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x474f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3960')+_0x1cd3('0x4768')+_0x1cd3('0x6ef3')+_0x1cd3('0x474a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x200\x22\x20ng-repeat=\x22disposition\x20in\x20vm.dispositions.rows\x22>\x0a'+_0x1cd3('0x5c50')+_0x1cd3('0x3d8d')+_0x1cd3('0x3d90')+_0x1cd3('0x474f')+_0x1cd3('0x3696')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3953')+_0x1cd3('0x3954')+'\x0a'+'\x20\x20\x20\x20\x0a');_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x2e8'),_0x1cd3('0x422d')+_0x1cd3('0x422e')+_0x1cd3('0x4118')+_0x1cd3('0x6ef4')+_0x1cd3('0x3b5a')+_0x1cd3('0x4230')+_0x1cd3('0x4231')+_0x1cd3('0x4232')+_0x1cd3('0x4ecc')+_0x1cd3('0x6ef5')+_0x1cd3('0x6ef6')+_0x1cd3('0x6ef7')+_0x1cd3('0x6ef8')+_0x1cd3('0x6ef9')+_0x1cd3('0x389c')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20All\x0a'+_0x1cd3('0x4239')+_0x1cd3('0x423a')+_0x1cd3('0x4ed1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AUTOPAUSE\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{pause.name}}\x0a'+_0x1cd3('0x389c')+_0x1cd3('0x3686')+_0x1cd3('0x423c')+'\x0a'+_0x1cd3('0x423d')+'\x0a'+_0x1cd3('0x423e')+_0x1cd3('0x423f')+_0x1cd3('0x4ed3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.AGENT\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4ed4')+_0x1cd3('0x4240')+_0x1cd3('0x4ed5')+_0x1cd3('0x4241')+_0x1cd3('0x4242')+_0x1cd3('0x4243')+_0x1cd3('0x4244')+_0x1cd3('0x4245')+_0x1cd3('0x5774')+_0x1cd3('0x4ed6')+_0x1cd3('0x41b7')+_0x1cd3('0x41b0')+_0x1cd3('0x4ed7')+_0x1cd3('0x6efa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.STATUS\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6efb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6efc')+'\x0a'+_0x1cd3('0x5778')+_0x1cd3('0x4edb')+'\x0a'+_0x1cd3('0x424b')+_0x1cd3('0x4edc')+_0x1cd3('0x424c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.CAPACITY\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x36c5')+_0x1cd3('0x41b4')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.STATUS\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4250')+_0x1cd3('0x36c5')+_0x1cd3('0x41b4')+'\x0a'+_0x1cd3('0x4251')+_0x1cd3('0x4edd')+_0x1cd3('0x424c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.CAPACITY\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41b4')+'\x0a'+_0x1cd3('0x4ede')+_0x1cd3('0x4253')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4254')+_0x1cd3('0x36c5')+_0x1cd3('0x41b4')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27FAX.STATUS\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4256')+_0x1cd3('0x424c')+_0x1cd3('0x4257')+_0x1cd3('0x36c5')+_0x1cd3('0x41b4')+'\x0a'+_0x1cd3('0x4edf')+_0x1cd3('0x4258')+_0x1cd3('0x424c')+_0x1cd3('0x4259')+_0x1cd3('0x36c5')+_0x1cd3('0x41b4')+_0x1cd3('0x41b7')+_0x1cd3('0x425a')+_0x1cd3('0x425b')+_0x1cd3('0x425c')+_0x1cd3('0x425d')+_0x1cd3('0x425e')+_0x1cd3('0x6efd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4150')+_0x1cd3('0x41b7')+_0x1cd3('0x425f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4261')+_0x1cd3('0x5c5a')+_0x1cd3('0x4262')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.agents[value].fullname}}\x0a'+_0x1cd3('0x4264')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4150')+_0x1cd3('0x4260')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36b5')+_0x1cd3('0x4268')+_0x1cd3('0x4269')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6efe')+_0x1cd3('0x426b')+_0x1cd3('0x4ee3')+_0x1cd3('0x3692')+_0x1cd3('0x36b7')+_0x1cd3('0x426c')+_0x1cd3('0x36b5')+_0x1cd3('0x426d')+_0x1cd3('0x4269')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6eff')+_0x1cd3('0x426b')+_0x1cd3('0x4ee3')+_0x1cd3('0x3692')+_0x1cd3('0x36b7')+_0x1cd3('0x3756')+_0x1cd3('0x4150')+'\x0a'+'\x0a'+'\x0a'+_0x1cd3('0x4ee6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4150')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4ee7')+_0x1cd3('0x4272')+_0x1cd3('0x4150')+_0x1cd3('0x4271')+_0x1cd3('0x4273')+_0x1cd3('0x4274')+_0x1cd3('0x4275')+_0x1cd3('0x4272')+_0x1cd3('0x4150')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4285')+_0x1cd3('0x4277')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27idle\x27:\x27lime-300-bg\x27,\x27talking\x27:\x27indigo-100-bg\x27,\x27ringing\x27:\x27orange-400-bg\x27,\x27pause\x27:\x27amber-200-bg\x27}[vm.agents[value].voiceStatus]\x22>{{\x20vm.agents[value].voiceStatus\x20|\x20uppercase\x20}}\x0a'+_0x1cd3('0x4ee8')+_0x1cd3('0x4279')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x427a')+_0x1cd3('0x427b')+_0x1cd3('0x427c')+_0x1cd3('0x427d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27idle\x27:\x27lime-300-fg\x27,\x27maxcapacity\x27:\x27red-A200-fg\x27,\x27working\x27:\x27indigo-100-fg\x27,\x27pause\x27:\x27amber-200-fg\x27}[vm.agents[value].voiceStatus]\x22>{{\x20vm.agents[value].destconnectedlinenum\x20}}\x0a'+_0x1cd3('0x427f')+_0x1cd3('0x4280')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27idle\x27:\x27lime-300-fg\x27,\x27maxcapacity\x27:\x27red-A200-fg\x27,\x27working\x27:\x27indigo-100-fg\x27,\x27pause\x27:\x27amber-200-fg\x27}[vm.agents[value].voiceStatus]\x22>\x0a'+_0x1cd3('0x4282')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x4150')+'\x0a'+_0x1cd3('0x4284')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41fd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4286')+_0x1cd3('0x428b')+_0x1cd3('0x36b7')+_0x1cd3('0x3756')+_0x1cd3('0x4150')+_0x1cd3('0x428c')+_0x1cd3('0x4ee9')+_0x1cd3('0x428d')+'\x0a'+_0x1cd3('0x428e')+_0x1cd3('0x4285')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4286')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27idle\x27:\x27lime-300-bg\x27,\x27maxcapacity\x27:\x27red-A200-bg\x27,\x27working\x27:\x27indigo-100-bg\x27,\x27pause\x27:\x27amber-200-bg\x27}[vm.agents[value].smsStatus]\x22>{{\x20vm.agents[value].smsStatus\x20|\x20uppercase\x20}}\x0a'+_0x1cd3('0x36b7')+_0x1cd3('0x3756')+_0x1cd3('0x4150')+_0x1cd3('0x428f')+_0x1cd3('0x4290')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.agents[value].smsCurrentCapacity\x20}}\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4285')+_0x1cd3('0x41fd')+_0x1cd3('0x4286')+_0x1cd3('0x4293')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x4150')+_0x1cd3('0x4294')+_0x1cd3('0x4eeb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.agents[value].openchannelCurrentCapacity\x20}}\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41fd')+_0x1cd3('0x4286')+_0x1cd3('0x4297')+_0x1cd3('0x36b7')+_0x1cd3('0x3756')+_0x1cd3('0x4150')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x42a7')+_0x1cd3('0x42a8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x42aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22VOICE.SCREENRECORDING\x22>Screen\x20Recording\x0a'+_0x1cd3('0x3695')+_0x1cd3('0x42ac')+_0x1cd3('0x42ad')+_0x1cd3('0x42ae')+_0x1cd3('0x6f02')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Screen\x20Recording\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x42b1')+_0x1cd3('0x42b2')+_0x1cd3('0x6f03')+_0x1cd3('0x42b0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x42a0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x42aa')+_0x1cd3('0x6f04')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3c6b')+_0x1cd3('0x42b6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22\x20vm.agents[value].voicePause\x20&&\x20\x27DEFAULT\x20PAUSE\x27\x20===\x20vm.agents[value].pauseType\x22\x0a'+_0x1cd3('0x42b7')+_0x1cd3('0x6f05')+_0x1cd3('0x42b9')+_0x1cd3('0x3c6a')+_0x1cd3('0x42ba')+_0x1cd3('0x42b6')+_0x1cd3('0x42bb')+_0x1cd3('0x42bc')+_0x1cd3('0x3c66')+_0x1cd3('0x3c6a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3c77')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x42bd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Unpause\x0a'+_0x1cd3('0x3a52')+_0x1cd3('0x3a53')+_0x1cd3('0x41c8')+_0x1cd3('0x41c9')+_0x1cd3('0x4150')+_0x1cd3('0x41b7')+_0x1cd3('0x42bf')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x42dc')+'\x0a'+_0x1cd3('0x42c1')+_0x1cd3('0x6f06')+_0x1cd3('0x42c3')+_0x1cd3('0x42c4')+_0x1cd3('0x42c5')+_0x1cd3('0x42c6'));_0x404b17['put'](_0x1cd3('0x2f9'),'\x0a'+_0x1cd3('0x422e')+_0x1cd3('0x4118')+'\x20\x20\x20\x20\x20\x20\x20\x20Ooutbound\x20Calls\x0a'+_0x1cd3('0x3b5a')+_0x1cd3('0x42c8')+_0x1cd3('0x3686')+_0x1cd3('0x423c')+'\x0a'+'\x0a'+_0x1cd3('0x42ca')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x41af')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6f07')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.SOURCE\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x6f08')+_0x1cd3('0x6f09')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x425a')+_0x1cd3('0x425b')+_0x1cd3('0x6f0a')+_0x1cd3('0x4ebc')+_0x1cd3('0x425e')+_0x1cd3('0x6f0b')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41b7')+_0x1cd3('0x6f0c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6f0d')+_0x1cd3('0x4150')+_0x1cd3('0x41ba')+_0x1cd3('0x6f0e')+_0x1cd3('0x4150')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{call.exten}}\x0a'+_0x1cd3('0x41ba')+_0x1cd3('0x6f0f')+_0x1cd3('0x6f10')+_0x1cd3('0x378a')+_0x1cd3('0x6f11')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x42c0')+_0x1cd3('0x42dc')+'\x0a'+_0x1cd3('0x6f12')+'\x0a'+'\x0a');_0x404b17[_0x1cd3('0x37b')]('app/main/apps/voice/views/realtime/queue_calls/view.html',_0x1cd3('0x422d')+_0x1cd3('0x422e')+_0x1cd3('0x5c79')+'\x20\x20\x20\x20Queue\x20Calls\x0a'+_0x1cd3('0x5c7b')+'\x20\x20\x20\x20\x20-->\x0a'+'\x20\x20\x0a'+_0x1cd3('0x423c')+'\x0a'+_0x1cd3('0x6f13')+'\x0a'+'\x20\x20\x0a'+_0x1cd3('0x5c7d')+_0x1cd3('0x6f14')+_0x1cd3('0x5c7e')+_0x1cd3('0x6f15')+_0x1cd3('0x6f16')+'\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.CALLER\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x6f17')+_0x1cd3('0x6f18')+_0x1cd3('0x5c82')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5c84')+_0x1cd3('0x5c85')+_0x1cd3('0x5c86')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5c88')+_0x1cd3('0x6f19')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x47e0')+_0x1cd3('0x5c83')+_0x1cd3('0x5c8a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5c8c')+_0x1cd3('0x47e0')+_0x1cd3('0x5c8d')+_0x1cd3('0x5c8e')+_0x1cd3('0x5c8f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5c90')+_0x1cd3('0x6f1a')+_0x1cd3('0x6f1b')+_0x1cd3('0x5c91')+_0x1cd3('0x47f9')+_0x1cd3('0x3781')+_0x1cd3('0x5c92')+_0x1cd3('0x6f1c')+_0x1cd3('0x5c93')+_0x1cd3('0x3781')+_0x1cd3('0x47e0')+_0x1cd3('0x47e5')+_0x1cd3('0x5c94')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hhours}}:{{mminutes}}:{{sseconds}}\x0a'+_0x1cd3('0x3781')+_0x1cd3('0x47e0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4809')+_0x1cd3('0x5c96')+_0x1cd3('0x5c97')+_0x1cd3('0x39f4')+'\x0a'+_0x1cd3('0x480b')+_0x1cd3('0x4810')+_0x1cd3('0x6f1d')+_0x1cd3('0x5c99')+_0x1cd3('0x41c1')+_0x1cd3('0x480f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5c9b')+_0x1cd3('0x41c1')+_0x1cd3('0x480f')+_0x1cd3('0x4810')+_0x1cd3('0x5c9c')+_0x1cd3('0x6f1e')+_0x1cd3('0x5c9e')+_0x1cd3('0x5c9f')+_0x1cd3('0x5ca0')+_0x1cd3('0x59f3')+_0x1cd3('0x3a1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x480f')+_0x1cd3('0x4819')+_0x1cd3('0x481a')+_0x1cd3('0x47e0')+_0x1cd3('0x5c83')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x0a'+_0x1cd3('0x42dc')+'\x0a'+_0x1cd3('0x6f1f')+_0x1cd3('0x41cd')+_0x1cd3('0x42df'));_0x404b17[_0x1cd3('0x37b')]('app/main/apps/voice/views/realtime/queue_params/view.html','\x0a'+_0x1cd3('0x422e')+_0x1cd3('0x4118')+_0x1cd3('0x5ca5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x423c')+'\x0a'+_0x1cd3('0x42c9')+_0x1cd3('0x42ca')+_0x1cd3('0x423e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41b0')+_0x1cd3('0x6f20')+_0x1cd3('0x6f21')+_0x1cd3('0x6f22')+_0x1cd3('0x6f23')+_0x1cd3('0x6f22')+_0x1cd3('0x6f24')+_0x1cd3('0x6f22')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20VOICE.ABANDONED\x27\x20|\x20translate}}\x0a'+_0x1cd3('0x6f22')+_0x1cd3('0x6f25')+_0x1cd3('0x6f22')+_0x1cd3('0x6f26')+_0x1cd3('0x6f22')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20VOICE.AVG_DURATION\x27\x20|\x20translate}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20VOICE.AVG_BILLABLE\x27\x20|\x20translate}}\x0a'+_0x1cd3('0x6f27')+_0x1cd3('0x425a')+_0x1cd3('0x425b')+_0x1cd3('0x42d0')+_0x1cd3('0x551c')+_0x1cd3('0x425e')+_0x1cd3('0x5c6c')+_0x1cd3('0x3756')+_0x1cd3('0x4150')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5cad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6f28')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4989')+_0x1cd3('0x6f29')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20(queue.answered\x20||\x200)\x20+\x20(queue.abandoned\x20||\x200)\x20+\x20(queue.unmanaged\x20||\x200)\x20}}\x0a'+_0x1cd3('0x3951')+_0x1cd3('0x4989')+_0x1cd3('0x6f2a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4989')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{queue.abandoned\x20||\x200}}\x20({{(queue.total)\x20?\x20(queue.abandoned\x20||\x200)\x20*\x20100/queue.total\x20:\x200\x20|\x20number:1}}%)\x0a'+_0x1cd3('0x3951')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6f2b')+_0x1cd3('0x3951')+_0x1cd3('0x4989')+_0x1cd3('0x6f2c')+_0x1cd3('0x3951')+_0x1cd3('0x4989')+_0x1cd3('0x6f2d')+_0x1cd3('0x3951')+_0x1cd3('0x4989')+_0x1cd3('0x6f2e')+_0x1cd3('0x3951')+_0x1cd3('0x6f27')+_0x1cd3('0x42bf')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x42dc')+'\x0a'+_0x1cd3('0x5cb5')+_0x1cd3('0x42de')+'\x0a');_0x404b17['put']('app/main/apps/voice/views/realtime/queues/view.html',_0x1cd3('0x422d')+'\x0a'+_0x1cd3('0x4118')+_0x1cd3('0x6f2f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x42c8')+_0x1cd3('0x3686')+'\x0a'+'\x0a'+_0x1cd3('0x42c9')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6f30')+_0x1cd3('0x6f31')+_0x1cd3('0x6f32')+_0x1cd3('0x6f33')+_0x1cd3('0x6f34')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.TALKING\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x42cf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x425a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x418b')+_0x1cd3('0x425e')+_0x1cd3('0x6f0b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x42d3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.queues[value].loggedInDb\x20||\x200}}\x20({{vm.queues[value].loggedIn\x20||\x200}})\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41ba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.queues[value].paused\x20||\x200}}\x0a'+_0x1cd3('0x4150')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4efb')+_0x1cd3('0x4150')+_0x1cd3('0x41ba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.queues[value].waiting\x20||\x200}}\x0a'+_0x1cd3('0x4150')+_0x1cd3('0x5ce9')+_0x1cd3('0x6f35')+_0x1cd3('0x4150')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a49')+_0x1cd3('0x5e01')+_0x1cd3('0x42d8')+_0x1cd3('0x395d')+'\x0a'+_0x1cd3('0x3b04')+_0x1cd3('0x42a0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4eff')+_0x1cd3('0x3a52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x42d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x42db')+_0x1cd3('0x3a52')+_0x1cd3('0x3a53')+_0x1cd3('0x41c8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41b7')+_0x1cd3('0x42bf')+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x0a'+_0x1cd3('0x6f36')+_0x1cd3('0x42de')+_0x1cd3('0x42df'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x6f37'),_0x1cd3('0x42e0')+_0x1cd3('0x3a22')+_0x1cd3('0x3e3c')+_0x1cd3('0x3baa')+_0x1cd3('0x42e1')+_0x1cd3('0x42e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agents\x0a'+_0x1cd3('0x42e4')+_0x1cd3('0x3862')+_0x1cd3('0x4f03')+_0x1cd3('0x42e2')+_0x1cd3('0x6f38')+_0x1cd3('0x42e4')+_0x1cd3('0x3862')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x42e2')+_0x1cd3('0x6f39')+_0x1cd3('0x42e4')+_0x1cd3('0x3862')+_0x1cd3('0x4f03')+_0x1cd3('0x42e2')+_0x1cd3('0x6f3a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f03')+_0x1cd3('0x42e2')+_0x1cd3('0x6f3b')+_0x1cd3('0x42e4')+_0x1cd3('0x3862')+_0x1cd3('0x4f03')+_0x1cd3('0x42e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Abandoned\x20Queue\x20Calls\x0a'+_0x1cd3('0x42e4')+_0x1cd3('0x3862')+_0x1cd3('0x4f03')+_0x1cd3('0x42e2')+_0x1cd3('0x6f3c')+_0x1cd3('0x42e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f03')+_0x1cd3('0x42e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Outbound\x20Calls\x0a'+_0x1cd3('0x42e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x42e7')+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a66')+_0x1cd3('0x376e'));_0x404b17[_0x1cd3('0x37b')]('app/main/apps/voice/views/realtime/telephones/view.html',_0x1cd3('0x422d')+_0x1cd3('0x422e')+_0x1cd3('0x4118')+'\x20\x20\x20\x20\x20\x20\x20\x20Telephones\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x42c8')+_0x1cd3('0x4f07')+_0x1cd3('0x6f3d')+_0x1cd3('0x6f3e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6f3f')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x423c')+'\x0a'+'\x0a'+_0x1cd3('0x42ca')+_0x1cd3('0x423e')+_0x1cd3('0x6f40')+_0x1cd3('0x41b0')+_0x1cd3('0x6f41')+_0x1cd3('0x6f42')+_0x1cd3('0x6f43')+_0x1cd3('0x6f44')+_0x1cd3('0x41b7')+_0x1cd3('0x425a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x425e')+_0x1cd3('0x6f0b')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41b7')+_0x1cd3('0x6f45')+_0x1cd3('0x6f46')+_0x1cd3('0x6f47')+_0x1cd3('0x41ba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6f48')+_0x1cd3('0x6f49')+_0x1cd3('0x4150')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6f4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27VOICE.\x27\x20+\x20telephone.status\x20|\x20uppercase\x20|\x20translate}}\x0a'+_0x1cd3('0x6f49')+_0x1cd3('0x6f4b')+_0x1cd3('0x4150')+_0x1cd3('0x41b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x42c0')+_0x1cd3('0x42dc')+'\x0a'+_0x1cd3('0x6f4c')+'\x0a'+'\x0a');_0x404b17[_0x1cd3('0x37b')]('app/main/apps/voice/views/realtime/trunks/view.html',_0x1cd3('0x422d')+_0x1cd3('0x422e')+_0x1cd3('0x4118')+_0x1cd3('0x6f4d')+_0x1cd3('0x3b5a')+_0x1cd3('0x42c8')+_0x1cd3('0x4f07')+_0x1cd3('0x4f08')+_0x1cd3('0x4f09')+_0x1cd3('0x4f0a')+_0x1cd3('0x4f0b')+_0x1cd3('0x3686')+_0x1cd3('0x423c')+'\x0a'+_0x1cd3('0x4f0c')+_0x1cd3('0x42ca')+_0x1cd3('0x423e')+_0x1cd3('0x41af')+_0x1cd3('0x4f0d')+_0x1cd3('0x41b0')+_0x1cd3('0x6f30')+_0x1cd3('0x6f4e')+_0x1cd3('0x6f4f')+_0x1cd3('0x41b1')+_0x1cd3('0x41b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6f50')+_0x1cd3('0x4f0f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6f0b')+_0x1cd3('0x3756')+_0x1cd3('0x4150')+_0x1cd3('0x41b7')+_0x1cd3('0x4f10')+_0x1cd3('0x4f11')+_0x1cd3('0x41ba')+_0x1cd3('0x4f12')+_0x1cd3('0x6f51')+_0x1cd3('0x4f14')+_0x1cd3('0x4f15')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41ba')+_0x1cd3('0x4f16')+_0x1cd3('0x6f52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4f18')+_0x1cd3('0x6f53')+_0x1cd3('0x4f1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4150')+_0x1cd3('0x4f1b')+_0x1cd3('0x3a49')+_0x1cd3('0x4ec7')+_0x1cd3('0x3a4c')+_0x1cd3('0x395d')+'\x0a'+_0x1cd3('0x429f')+_0x1cd3('0x42a0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6bee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a53')+_0x1cd3('0x41c8')+_0x1cd3('0x41c9')+_0x1cd3('0x4150')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x42bf')+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x0a'+_0x1cd3('0x6f54')+_0x1cd3('0x4f1d')+_0x1cd3('0x4f1e')+_0x1cd3('0x42df'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x6f55'),_0x1cd3('0x6f56')+_0x1cd3('0x6f57')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3858')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x6f58')+_0x1cd3('0x6f59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x6f5a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6f5b')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x6f5c')+_0x1cd3('0x6f5d')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x6f5e')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x6f5f')+_0x1cd3('0x3b24')+_0x1cd3('0x6f60')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6f61')+_0x1cd3('0x3756')+_0x1cd3('0x386e')+_0x1cd3('0x36aa')+_0x1cd3('0x50ae')+_0x1cd3('0x6cc4')+_0x1cd3('0x6f62')+_0x1cd3('0x6cc6')+_0x1cd3('0x6f63')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6f64')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6f65')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3ed3')+_0x1cd3('0x6f66')+_0x1cd3('0x6f67')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6f68')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6f69')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x63af')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Your\x20password\x20did\x20not\x20match\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3ed3')+_0x1cd3('0x3acf')+_0x1cd3('0x6f6a')+_0x1cd3('0x6f6b')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6f6c')+_0x1cd3('0x3dff')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x6f6d')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MailBox\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x6f6e')+_0x1cd3('0x6f6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x3a6f')+_0x1cd3('0x3f7a')+_0x1cd3('0x5b4a')+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27VOICE.YES\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5b43')+_0x1cd3('0x3a4d')+_0x1cd3('0x6f70')+_0x1cd3('0x3acc')+_0x1cd3('0x6f71')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Attach\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ed3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x39ef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6f76')+_0x1cd3('0x6cd5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6cf8')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x39fe')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x6f77'),_0x1cd3('0x6f78')+'\x0a'+_0x1cd3('0x3adc')+_0x1cd3('0x3b9f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6f79')+_0x1cd3('0x6f7a')+_0x1cd3('0x6f7b')+_0x1cd3('0x3ba1')+_0x1cd3('0x3671')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x6f7c')+_0x1cd3('0x6f7d')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x3ba2')+_0x1cd3('0x3ba3')+_0x1cd3('0x6f7e')+_0x1cd3('0x6f7f')+_0x1cd3('0x3756')+_0x1cd3('0x3ba6')+_0x1cd3('0x6f80')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e3b')+_0x1cd3('0x3d24')+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3ae6')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e3c')+'\x0a'+_0x1cd3('0x3baa')+_0x1cd3('0x3fda')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6d8b')+_0x1cd3('0x3e3f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6f81')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6d8d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e45')+_0x1cd3('0x6f58')+_0x1cd3('0x6f59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6f82')+_0x1cd3('0x3b24')+_0x1cd3('0x6f5b')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x6f5c')+_0x1cd3('0x6f5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x6f5e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x434b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6f60')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6f61')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x386e')+_0x1cd3('0x36aa')+_0x1cd3('0x50ae')+_0x1cd3('0x6cc4')+_0x1cd3('0x6f62')+_0x1cd3('0x6cc6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Password\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6f65')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ed3')+_0x1cd3('0x6f66')+_0x1cd3('0x6f67')+_0x1cd3('0x63ae')+_0x1cd3('0x6f83')+_0x1cd3('0x3b24')+_0x1cd3('0x6f69')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x63af')+_0x1cd3('0x6f84')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ed3')+_0x1cd3('0x3acf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MailBox\x0a'+_0x1cd3('0x6f6b')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3e47')+_0x1cd3('0x3e48')+_0x1cd3('0x3dff')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6f85')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6f86')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x6f87')+_0x1cd3('0x6f88')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+_0x1cd3('0x3a6f')+_0x1cd3('0x6472')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22context.canSelect\x20===\x20false\x22>{{\x20context.name\x20}}\x0a'+_0x1cd3('0x3acc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6474')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Voicemail_Context\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3ed3')+_0x1cd3('0x3fa6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fda')+_0x1cd3('0x3e3d')+_0x1cd3('0x6f89')+_0x1cd3('0x3e3f')+_0x1cd3('0x3e40')+_0x1cd3('0x6f8a')+_0x1cd3('0x3e42')+_0x1cd3('0x6f8b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4db0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TimeZone\x0a'+_0x1cd3('0x6f8c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x6f8d')+_0x1cd3('0x3b24')+_0x1cd3('0x6f8e')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Attach\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Attach\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x6f91')+_0x1cd3('0x6f92')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x3a6f')+_0x1cd3('0x3f7a')+_0x1cd3('0x5b4a')+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27VOICE.YES\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.NO\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6f93')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Envelope\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6f94')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6f95')+_0x1cd3('0x6f96')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x6f97')+_0x1cd3('0x3b24')+_0x1cd3('0x6f98')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EmailSubject\x0a'+_0x1cd3('0x6f99')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EmailSubject\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x6f9a')+_0x1cd3('0x6f9b')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ea9')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x6f9c')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MaxSeconds\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MaxSeconds\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a'+_0x1cd3('0x3e12')+_0x1cd3('0x3f04')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x6f9d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MaxMessages\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e13')+_0x1cd3('0x6fa1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e15')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x3fa6')+_0x1cd3('0x3e51')+_0x1cd3('0x3fba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e3d')+_0x1cd3('0x6fa2')+_0x1cd3('0x3e3f')+_0x1cd3('0x3e40')+_0x1cd3('0x6fa3')+_0x1cd3('0x6fa4')+'\x20\x20\x0a'+_0x1cd3('0x4118')+_0x1cd3('0x6fa5')+_0x1cd3('0x411a')+_0x1cd3('0x411b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x415d')+_0x1cd3('0x6fa6')+_0x1cd3('0x411f')+_0x1cd3('0x6fa7')+_0x1cd3('0x3b5a')+_0x1cd3('0x6fa8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x415a')+_0x1cd3('0x6fa9')+_0x1cd3('0x6faa')+_0x1cd3('0x4177')+_0x1cd3('0x3d24')+_0x1cd3('0x3f1c')+'\x20\x20\x0a'+_0x1cd3('0x4123')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6fab')+_0x1cd3('0x4160')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6e68')+_0x1cd3('0x4128')+_0x1cd3('0x6fac')+_0x1cd3('0x6fad')+_0x1cd3('0x4128')+_0x1cd3('0x6fae')+_0x1cd3('0x6faf')+_0x1cd3('0x4128')+_0x1cd3('0x6e69')+_0x1cd3('0x6e6a')+_0x1cd3('0x4128')+_0x1cd3('0x6fb0')+_0x1cd3('0x6fb1')+_0x1cd3('0x4128')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x412f')+_0x1cd3('0x417f')+_0x1cd3('0x4130')+_0x1cd3('0x6fb2')+'>\x0a'+_0x1cd3('0x4222')+_0x1cd3('0x6fb3')+_0x1cd3('0x4133')+_0x1cd3('0x4224')+_0x1cd3('0x6fb4')+_0x1cd3('0x4133')+_0x1cd3('0x4224')+_0x1cd3('0x6fb5')+_0x1cd3('0x4133')+_0x1cd3('0x4208')+_0x1cd3('0x6e6e')+_0x1cd3('0x6fb6')+_0x1cd3('0x6e70')+_0x1cd3('0x413e')+_0x1cd3('0x41fa')+_0x1cd3('0x6fb7')+_0x1cd3('0x413e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6e72')+_0x1cd3('0x4141')+_0x1cd3('0x4185')+'\x20\x0a'+_0x1cd3('0x4167')+_0x1cd3('0x4147')+_0x1cd3('0x6fb8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Message\x0a'+_0x1cd3('0x3a52')+_0x1cd3('0x4149')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x414b')+_0x1cd3('0x412f')+_0x1cd3('0x6fb9')+_0x1cd3('0x551c')+_0x1cd3('0x414d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20message\x20available\x0a'+_0x1cd3('0x414f')+_0x1cd3('0x4150')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4152')+_0x1cd3('0x416d')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3824')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fba')+_0x1cd3('0x3e52')+_0x1cd3('0x3e53')+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a66')+'\x0a'+_0x1cd3('0x376e'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x31d'),_0x1cd3('0x6fba')+'\x0a'+_0x1cd3('0x3adc')+_0x1cd3('0x39ff')+'\x0a'+_0x1cd3('0x3add')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ade')+_0x1cd3('0x6c80')+_0x1cd3('0x38f9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Voicemails\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x3ae1')+'\x0a'+_0x1cd3('0x3ae2')+_0x1cd3('0x3ae3')+_0x1cd3('0x3a02')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6c82')+_0x1cd3('0x36c2')+_0x1cd3('0x366a')+_0x1cd3('0x3ae5')+_0x1cd3('0x3756')+_0x1cd3('0x3686')+_0x1cd3('0x3ae6')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x6fbb')+_0x1cd3('0x3a09')+'\x0a'+_0x1cd3('0x6fbc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6c85')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x3a0c')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x6fbd')+_0x1cd3('0x6fbe')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20selected\x0a'+_0x1cd3('0x38f9')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a11')+_0x1cd3('0x3a12')+_0x1cd3('0x3aec')+_0x1cd3('0x6c89')+_0x1cd3('0x3a14')+_0x1cd3('0x367d')+_0x1cd3('0x3a15')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6fbf')+_0x1cd3('0x3c2e')+_0x1cd3('0x3849')+_0x1cd3('0x3aee')+_0x1cd3('0x3a16')+_0x1cd3('0x6fc0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Select\x20none\x0a'+_0x1cd3('0x3849')+_0x1cd3('0x3aee')+_0x1cd3('0x3a1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x0a'+_0x1cd3('0x3a1b')+_0x1cd3('0x6fc1')+_0x1cd3('0x3a1d')+_0x1cd3('0x3a1e')+_0x1cd3('0x6fc2')+_0x1cd3('0x6c8b')+_0x1cd3('0x3a20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3841')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a21')+'\x0a'+_0x1cd3('0x3a22')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3af1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3af3')+_0x1cd3('0x6fc3')+_0x1cd3('0x6fc4')+_0x1cd3('0x3a2a')+_0x1cd3('0x3a2b')+_0x1cd3('0x6cdd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.FULLNAME\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x6fc5')+_0x1cd3('0x6fc6')+_0x1cd3('0x3a33')+_0x1cd3('0x3a34')+_0x1cd3('0x3db3')+_0x1cd3('0x3a35')+_0x1cd3('0x6fc7')+_0x1cd3('0x3c56')+_0x1cd3('0x3a38')+_0x1cd3('0x486b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3af8')+_0x1cd3('0x3a34')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6fc8')+_0x1cd3('0x6fc9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{voicemail.id}}\x0a'+_0x1cd3('0x6fca')+_0x1cd3('0x6fcb')+_0x1cd3('0x6fca')+_0x1cd3('0x6fcc')+_0x1cd3('0x6fca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22mailbox\x20\x22\x20>{{voicemail.mailbox}}\x0a'+_0x1cd3('0x3b02')+'\x0a'+_0x1cd3('0x3b03')+'\x0a'+_0x1cd3('0x3a49')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x6fcd')+_0x1cd3('0x6fce')+_0x1cd3('0x6fcf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a5a')+'\x0a'+_0x1cd3('0x6fd0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22VOICE.DELETE_VOICEMAIL\x22>\x0a'+_0x1cd3('0x6fd1')+_0x1cd3('0x3a52')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a5f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x3a65')+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a66')+'\x0a'+_0x1cd3('0x6fd2')+_0x1cd3('0x6fd3')+_0x1cd3('0x6fd4')+_0x1cd3('0x3b0f')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x6fd5')+_0x1cd3('0x3686'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x26a1'),_0x1cd3('0x6fd6')+_0x1cd3('0x6fd7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3667')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x0a'+_0x1cd3('0x6fd8')+_0x1cd3('0x39e1')+_0x1cd3('0x3e46')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x6fd9')+_0x1cd3('0x6fda')+_0x1cd3('0x3b24')+_0x1cd3('0x6ca9')+_0x1cd3('0x3756')+_0x1cd3('0x3e03')+_0x1cd3('0x3ced')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6fdb')+_0x1cd3('0x6fdc')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x3a6f')+_0x1cd3('0x6fdd')+_0x1cd3('0x6fde')+_0x1cd3('0x3acc')+_0x1cd3('0x6fdf')+_0x1cd3('0x3b24')+_0x1cd3('0x6fe0')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3acf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CallerIdAll\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CallerIdAll\x20must\x20be\x20valid\x20pattern\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x6d02')+_0x1cd3('0x6fe5')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6fe6')+_0x1cd3('0x3b24')+_0x1cd3('0x6cf3')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x39ef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6fe7')+_0x1cd3('0x3ad7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22voicePrefixForm.$invalid\x20||\x20voicePrefixForm.$pristine\x22\x0a'+_0x1cd3('0x6cd2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x1cd3('0x39f4')+'\x0a'+_0x1cd3('0x6fe8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x1cd3('0x6fe9')+_0x1cd3('0x6fea')+_0x1cd3('0x6feb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x39fa')+_0x1cd3('0x6fec')+_0x1cd3('0x6cd5')+_0x1cd3('0x3a20')+_0x1cd3('0x6cf8')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x39fe')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x26a2'),_0x1cd3('0x6fed')+_0x1cd3('0x6fee')+_0x1cd3('0x3e1f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6fef')+_0x1cd3('0x3d50')+_0x1cd3('0x3857')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x366b')+_0x1cd3('0x366c')+_0x1cd3('0x3e21')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e26')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e23')+_0x1cd3('0x3ba9')+_0x1cd3('0x3671')+_0x1cd3('0x3675')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')]('app/main/apps/voice/views/voicePrefixes/voicePrefixes.html',_0x1cd3('0x6ff0')+'\x0a'+_0x1cd3('0x3adc')+_0x1cd3('0x39ff')+'\x0a'+_0x1cd3('0x3add')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a00')+_0x1cd3('0x3ade')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38f9')+_0x1cd3('0x6ff1')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a03')+_0x1cd3('0x3ae4')+_0x1cd3('0x3a04')+_0x1cd3('0x3a05')+_0x1cd3('0x6c82')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae5')+_0x1cd3('0x3756')+_0x1cd3('0x3686')+_0x1cd3('0x3ae6')+'\x0a'+_0x1cd3('0x3a07')+_0x1cd3('0x6ff2')+_0x1cd3('0x3a09')+'\x0a'+_0x1cd3('0x6ff3')+_0x1cd3('0x3a0b')+_0x1cd3('0x3ae8')+_0x1cd3('0x6c85')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a0c')+'\x0a'+_0x1cd3('0x3a0d')+_0x1cd3('0x6ff4')+_0x1cd3('0x6ff5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20selected\x0a'+_0x1cd3('0x38f9')+'\x0a'+_0x1cd3('0x3aeb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x367d')+_0x1cd3('0x3a15')+_0x1cd3('0x3a16')+_0x1cd3('0x6ff6')+_0x1cd3('0x3c2e')+_0x1cd3('0x3849')+_0x1cd3('0x3aee')+_0x1cd3('0x3a16')+_0x1cd3('0x6ff7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Select\x20none\x0a'+_0x1cd3('0x3849')+_0x1cd3('0x3aee')+_0x1cd3('0x3a1a')+_0x1cd3('0x3aef')+_0x1cd3('0x366a')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6ff8')+_0x1cd3('0x3a1d')+_0x1cd3('0x3a1e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3841')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a21')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a23')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a25')+_0x1cd3('0x6ff9')+_0x1cd3('0x3a27')+_0x1cd3('0x3af3')+_0x1cd3('0x6ffa')+_0x1cd3('0x6ffb')+_0x1cd3('0x3a2a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6cdd')+_0x1cd3('0x6c8e')+_0x1cd3('0x6ffc')+_0x1cd3('0x6ffd')+_0x1cd3('0x6c92')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a34')+_0x1cd3('0x3db3')+_0x1cd3('0x3a35')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a38')+_0x1cd3('0x486b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3af8')+_0x1cd3('0x3a34')+_0x1cd3('0x6ffe')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6fff')+_0x1cd3('0x7000')+_0x1cd3('0x7001')+_0x1cd3('0x7002')+_0x1cd3('0x7003')+_0x1cd3('0x7002')+_0x1cd3('0x7004')+_0x1cd3('0x7005')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22callerIdAll\x20\x22\x20>{{voicePrefix.callerIdAll}}\x0a'+_0x1cd3('0x7002')+_0x1cd3('0x7006')+_0x1cd3('0x3b02')+'\x0a'+_0x1cd3('0x3cdd')+'\x0a'+_0x1cd3('0x3a49')+'\x0a'+_0x1cd3('0x3a4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22VOICE.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a'+_0x1cd3('0x3a4c')+_0x1cd3('0x395d')+'\x0a'+_0x1cd3('0x3b04')+'\x0a'+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a4f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+_0x1cd3('0x3a54')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a4e')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x7009')+_0x1cd3('0x700a')+_0x1cd3('0x700b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3a5a')+'\x0a'+_0x1cd3('0x700c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22VOICE.DELETE_VOICEPREFIX\x22>\x0a'+_0x1cd3('0x700d')+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3699')+'\x0a'+_0x1cd3('0x369a')+_0x1cd3('0x3951')+'\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a5d')+_0x1cd3('0x3a5e')+_0x1cd3('0x3a5f')+'\x0a'+_0x1cd3('0x700e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x700f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a66')+'\x0a'+_0x1cd3('0x7010')+_0x1cd3('0x7011')+_0x1cd3('0x7012')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x376d')+_0x1cd3('0x7013')+_0x1cd3('0x3686'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x2655'),_0x1cd3('0x7014')+_0x1cd3('0x7015')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x6ca6')+_0x1cd3('0x7016')+_0x1cd3('0x39e1')+_0x1cd3('0x3e46')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+_0x1cd3('0x7017')+_0x1cd3('0x3dff')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6fd9')+_0x1cd3('0x7018')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6ca9')+_0x1cd3('0x3756')+_0x1cd3('0x3e03')+_0x1cd3('0x3ced')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x7019')+_0x1cd3('0x701a')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x701b')+_0x1cd3('0x3a4d')+_0x1cd3('0x701c')+_0x1cd3('0x3e09')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5ad5')+_0x1cd3('0x5ad9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Least\x20Recent\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Linear\x0a'+_0x1cd3('0x5adf')+_0x1cd3('0x3a4d')+_0x1cd3('0x5ae0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x701e')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3acf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ee')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x39db')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x39ef')+_0x1cd3('0x388f')+_0x1cd3('0x7020')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x1cd3('0x7021')+_0x1cd3('0x6cd2')+_0x1cd3('0x39f3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x7022')+_0x1cd3('0x39f6')+_0x1cd3('0x7023')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22VOICE.ADD_VOICEQUEUE\x22\x20translate-attr-aria-label=\x22VOICE.ADD_VOICEQUEUE\x22>\x0a'+_0x1cd3('0x7024')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39fa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6cf8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39fe')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x2657'),'\x0a'+_0x1cd3('0x7025')+_0x1cd3('0x3e1f')+_0x1cd3('0x3d4f')+_0x1cd3('0x7026')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3858')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366c')+_0x1cd3('0x5a83')+_0x1cd3('0x7027')+_0x1cd3('0x5a85')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x5a87')+_0x1cd3('0x3756')+_0x1cd3('0x5aa6')+_0x1cd3('0x5a88')+_0x1cd3('0x3756')+_0x1cd3('0x3ec6')+_0x1cd3('0x5a89')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x3e21')+_0x1cd3('0x366f')+_0x1cd3('0x3e26')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x1cd3('0x3671')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x26b4'),_0x1cd3('0x7028')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e1f')+_0x1cd3('0x3d4f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Teams\x20Association\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366b')+_0x1cd3('0x366c')+_0x1cd3('0x5a83')+_0x1cd3('0x7027')+_0x1cd3('0x5a85')+_0x1cd3('0x7029')+_0x1cd3('0x3b24')+_0x1cd3('0x5a87')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5a88')+_0x1cd3('0x3756')+_0x1cd3('0x3ec6')+_0x1cd3('0x5a89')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e26')+_0x1cd3('0x3e22')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x1cd3('0x3671')+_0x1cd3('0x3675')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17['put'](_0x1cd3('0x2ff'),_0x1cd3('0x702a')+'\x0a'+_0x1cd3('0x3adc')+_0x1cd3('0x3b9f')+_0x1cd3('0x3d5a')+_0x1cd3('0x702b')+_0x1cd3('0x702c')+_0x1cd3('0x702d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3671')+'\x0a'+_0x1cd3('0x388f')+'\x0a'+_0x1cd3('0x702e')+_0x1cd3('0x702f')+_0x1cd3('0x3669')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7030')+_0x1cd3('0x7031')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.voiceQueue.createdAt\x20|\x20date:\x27medium\x27}}\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39ee')+_0x1cd3('0x3e31')+_0x1cd3('0x7032')+_0x1cd3('0x3e33')+_0x1cd3('0x4e87')+_0x1cd3('0x7033')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x39ee')+_0x1cd3('0x3e31')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e39')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x38c3')+_0x1cd3('0x7035')+_0x1cd3('0x3e3b')+_0x1cd3('0x3d24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e3c')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fda')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SETTINGS\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e40')+_0x1cd3('0x7036')+_0x1cd3('0x3e42')+_0x1cd3('0x6d8d')+_0x1cd3('0x386f')+_0x1cd3('0x3e44')+_0x1cd3('0x3e45')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x0a'+_0x1cd3('0x7016')+_0x1cd3('0x39e1')+_0x1cd3('0x3e46')+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e48')+_0x1cd3('0x3dff')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6fd9')+_0x1cd3('0x3e49')+_0x1cd3('0x3b24')+_0x1cd3('0x6ca9')+_0x1cd3('0x3756')+_0x1cd3('0x3e03')+_0x1cd3('0x3ced')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7019')+_0x1cd3('0x701a')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x3a6f')+_0x1cd3('0x701b')+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Ringall\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Weight\x20Random\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4b')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Strategy\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3acf')+_0x1cd3('0x6d1c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6d1e')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a'+_0x1cd3('0x3e12')+_0x1cd3('0x3f04')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MaxLength\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x703a')+_0x1cd3('0x703b')+_0x1cd3('0x3b24')+_0x1cd3('0x703c')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x703d')+_0x1cd3('0x3e12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Retry\x0a'+_0x1cd3('0x703e')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ea9')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x703f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7040')+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+_0x1cd3('0x7041')+_0x1cd3('0x3e12')+_0x1cd3('0x3f04')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x7042')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x7043')+_0x1cd3('0x7044')+_0x1cd3('0x3b24')+_0x1cd3('0x7045')+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+_0x1cd3('0x7046')+_0x1cd3('0x3e12')+_0x1cd3('0x3f04')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x7047')+_0x1cd3('0x7048')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x220\x22\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x7049')+_0x1cd3('0x704a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x704b')+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+_0x1cd3('0x704c')+_0x1cd3('0x3e12')+_0x1cd3('0x3f04')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20JoinWhenEmpty\x0a'+_0x1cd3('0x704d')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x644f')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x3a6f')+_0x1cd3('0x704e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22vm.voiceQueue.joinempty.length\x20===\x201\x20\x20&&\x20vm.voiceQueue.joinempty[0]\x20===\x20\x27no\x27\x22\x20>no\x0a'+_0x1cd3('0x6454')+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22vm.voiceQueue.joinempty.length\x20===\x201\x20&&\x20vm.voiceQueue.joinempty[0]\x20===\x20\x27yes\x27\x22\x20>yes\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20penalty\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20unknown\x0a'+_0x1cd3('0x705a')+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22vm.voiceQueue.joinempty.length\x20===\x201\x20&&\x20vm.voiceQueue.joinempty[0]\x20===\x20\x27wrapup\x27\x22\x20>wrapup\x0a'+_0x1cd3('0x3acc')+_0x1cd3('0x705b')+_0x1cd3('0x705c')+_0x1cd3('0x3b24')+_0x1cd3('0x705d')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x705e')+_0x1cd3('0x705f')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20multiple\x20\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x704e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7060')+_0x1cd3('0x6454')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7061')+_0x1cd3('0x7062')+_0x1cd3('0x3a4d')+_0x1cd3('0x7063')+_0x1cd3('0x7064')+_0x1cd3('0x3a4d')+_0x1cd3('0x7065')+_0x1cd3('0x7051')+_0x1cd3('0x3a4d')+_0x1cd3('0x7066')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20inuse\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20wrapup\x0a'+_0x1cd3('0x3acc')+_0x1cd3('0x706e')+_0x1cd3('0x706f')+_0x1cd3('0x3b24')+_0x1cd3('0x7070')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7071')+_0x1cd3('0x7072')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x3a6f')+_0x1cd3('0x5aee')+_0x1cd3('0x5aef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7073')+_0x1cd3('0x7074')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MusicOnHold\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AnnounceToAgent\x0a'+_0x1cd3('0x7075')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x3a6f')+_0x1cd3('0x7076')+_0x1cd3('0x7077')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22announce.canSelect\x20===\x20false\x22>{{\x20announce.name\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7078')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AnnounceToAgent\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6d02')+_0x1cd3('0x7079')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x6cf3')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fa6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x3e52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e3d')+_0x1cd3('0x707a')+_0x1cd3('0x3e3f')+_0x1cd3('0x3e40')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x707b')+_0x1cd3('0x386f')+_0x1cd3('0x707c')+_0x1cd3('0x3e45')+_0x1cd3('0x707d')+_0x1cd3('0x707e')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3ea9')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x707f')+_0x1cd3('0x7080')+_0x1cd3('0x3b24')+_0x1cd3('0x7081')+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+_0x1cd3('0x7082')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f04')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x7083')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7085')+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+_0x1cd3('0x7086')+_0x1cd3('0x3e12')+_0x1cd3('0x3f04')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PeriodicAnnounceFrequency\x0a'+_0x1cd3('0x7087')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3ea9')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x7088')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7089')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4e')+_0x1cd3('0x708a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f04')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RandomPeriodicAnnounce\x0a'+_0x1cd3('0x708b')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x3a6f')+_0x1cd3('0x3f7a')+_0x1cd3('0x5b4a')+_0x1cd3('0x3a4d')+_0x1cd3('0x6f8f')+_0x1cd3('0x3fe5')+_0x1cd3('0x5b43')+_0x1cd3('0x3a4d')+_0x1cd3('0x6f70')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x708c')+_0x1cd3('0x708d')+_0x1cd3('0x3b24')+_0x1cd3('0x708e')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x708f')+_0x1cd3('0x7090')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x3a6f')+_0x1cd3('0x4db3')+_0x1cd3('0x3a4d')+_0x1cd3('0x6685')+_0x1cd3('0x3eeb')+_0x1cd3('0x3a4d')+_0x1cd3('0x6481')+_0x1cd3('0x7091')+_0x1cd3('0x3a4d')+_0x1cd3('0x7092')+_0x1cd3('0x3acc')+_0x1cd3('0x7093')+_0x1cd3('0x7094')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AnnounceHoldtime\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x7095')+_0x1cd3('0x7096')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x3a6f')+_0x1cd3('0x4db3')+_0x1cd3('0x3a4d')+_0x1cd3('0x6685')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x0a'+_0x1cd3('0x7097')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Limit\x0a'+_0x1cd3('0x7098')+_0x1cd3('0x3a4d')+_0x1cd3('0x7099')+_0x1cd3('0x3acc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x709a')+_0x1cd3('0x3b24')+_0x1cd3('0x709b')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x709c')+_0x1cd3('0x709d')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x709e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x709f')+_0x1cd3('0x3756')+_0x1cd3('0x3f9f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ReportHoldtimeAgent\x0a'+_0x1cd3('0x70a0')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x3f7a')+_0x1cd3('0x5b4a')+_0x1cd3('0x3a4d')+_0x1cd3('0x6f8f')+_0x1cd3('0x3fe5')+_0x1cd3('0x5b43')+_0x1cd3('0x3a4d')+_0x1cd3('0x6f70')+_0x1cd3('0x3acc')+_0x1cd3('0x70a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ReportHoldtimeAgent\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3ed3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x70a2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x70a3')+_0x1cd3('0x386f')+_0x1cd3('0x70a4')+_0x1cd3('0x3e45')+_0x1cd3('0x70a5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x70aa')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x70ab')+_0x1cd3('0x70ac')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x3a6f')+_0x1cd3('0x70ad')+_0x1cd3('0x70ae')+_0x1cd3('0x70af')+_0x1cd3('0x70b0')+_0x1cd3('0x3acc')+_0x1cd3('0x70b1')+_0x1cd3('0x70b2')+_0x1cd3('0x3b24')+_0x1cd3('0x70b3')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x70b4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x70ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Disabled\x0a'+_0x1cd3('0x70b5')+_0x1cd3('0x70b6')+_0x1cd3('0x3acc')+_0x1cd3('0x70b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x70b8')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x70b9')+_0x1cd3('0x70ba')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x70ad')+_0x1cd3('0x70ae')+_0x1cd3('0x70bb')+_0x1cd3('0x70bc')+_0x1cd3('0x3acc')+_0x1cd3('0x70bd')+_0x1cd3('0x70be')+_0x1cd3('0x3b24')+_0x1cd3('0x70bf')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x70c0')+_0x1cd3('0x70c1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x70ad')+_0x1cd3('0x70ae')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20queue_callswaiting.name\x20}}\x0a'+_0x1cd3('0x3acc')+_0x1cd3('0x70c2')+_0x1cd3('0x70c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x70c4')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x70c5')+_0x1cd3('0x70c6')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x3a6f')+_0x1cd3('0x70ad')+_0x1cd3('0x70ae')+_0x1cd3('0x70c7')+_0x1cd3('0x70c8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x70c9')+_0x1cd3('0x70ca')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EstimatedHoldTimeAnnounce\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3acf')+_0x1cd3('0x70cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Disabled\x0a'+_0x1cd3('0x70cc')+_0x1cd3('0x70cd')+_0x1cd3('0x3acc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MinutesAnnounce\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x70ce')+_0x1cd3('0x70cf')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Disabled\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20queue_minute.name\x20}}\x0a'+_0x1cd3('0x3acc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x70d0')+_0x1cd3('0x3b24')+_0x1cd3('0x70d1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3acf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SecondsAnnounce\x0a'+_0x1cd3('0x70d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+_0x1cd3('0x3a6f')+_0x1cd3('0x70ad')+_0x1cd3('0x70ae')+_0x1cd3('0x70d3')+_0x1cd3('0x70d4')+_0x1cd3('0x3acc')+_0x1cd3('0x70d5')+_0x1cd3('0x70d6')+_0x1cd3('0x3b24')+_0x1cd3('0x70d7')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3acf')+_0x1cd3('0x70d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x70db')+_0x1cd3('0x3b24')+_0x1cd3('0x70dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3ed3')+_0x1cd3('0x3fa6')+_0x1cd3('0x3e51')+_0x1cd3('0x3fba')+_0x1cd3('0x3e52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e3d')+_0x1cd3('0x6f89')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x70dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6f8b')+_0x1cd3('0x386f')+_0x1cd3('0x4db0')+_0x1cd3('0x3e45')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AfterCallWork\x0a'+_0x1cd3('0x3ed3')+_0x1cd3('0x70de')+_0x1cd3('0x3870')+_0x1cd3('0x70df')+_0x1cd3('0x70e0')+_0x1cd3('0x70e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3ea9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x70e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AfterCallWorkDuration\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x70e3')+_0x1cd3('0x3e12')+_0x1cd3('0x3f04')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x70e4')+_0x1cd3('0x70e5')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x3a6f')+_0x1cd3('0x3f7a')+_0x1cd3('0x5b41')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6f8f')+_0x1cd3('0x3fe5')+_0x1cd3('0x5b43')+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27VOICE.NO\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3acc')+_0x1cd3('0x70e6')+_0x1cd3('0x5b46')+_0x1cd3('0x3b24')+_0x1cd3('0x70e7')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RingInUse\x0a'+_0x1cd3('0x70e8')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x3a6f')+_0x1cd3('0x3f7a')+_0x1cd3('0x5b4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6f8f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5b43')+_0x1cd3('0x3a4d')+_0x1cd3('0x6f70')+_0x1cd3('0x3acc')+_0x1cd3('0x70e9')+_0x1cd3('0x70ea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x70eb')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MemberDelay\x0a'+_0x1cd3('0x70ec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3ea9')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x70ed')+_0x1cd3('0x5b4e')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MemberDelay\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+_0x1cd3('0x70ee')+_0x1cd3('0x3e12')+_0x1cd3('0x3f04')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x70ef')+_0x1cd3('0x70f0')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x3f7a')+_0x1cd3('0x5b4a')+_0x1cd3('0x3a4d')+_0x1cd3('0x6f8f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5b43')+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27VOICE.NO\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3acc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5b53')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x70f1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x70f2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Inactive\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20wav49\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Context\x0a'+_0x1cd3('0x70f6')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x70f7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Context\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x70f8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x70fb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.YES\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5b43')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6f70')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x70fc')+_0x1cd3('0x70fd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x70fe')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SetQueueEntryVariables\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SetQueueEntryVariables\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3acf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ServiceLevel\x0a'+_0x1cd3('0x7101')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3ea9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20max=\x22100\x22\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7102')+_0x1cd3('0x7103')+_0x1cd3('0x3b24')+_0x1cd3('0x7104')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7105')+_0x1cd3('0x3e12')+_0x1cd3('0x3e13')+_0x1cd3('0x7106')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e15')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x7107')+_0x1cd3('0x3ed3')+_0x1cd3('0x3870')+_0x1cd3('0x7108')+_0x1cd3('0x7109')+_0x1cd3('0x710a')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x3a6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x710b')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3ed3')+_0x1cd3('0x3fa6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fba')+_0x1cd3('0x3e52')+_0x1cd3('0x3e53')+'\x0a'+_0x1cd3('0x3686')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x376e'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x2fc'),_0x1cd3('0x710c')+'\x0a'+_0x1cd3('0x3adc')+_0x1cd3('0x39ff')+'\x0a'+_0x1cd3('0x3add')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a00')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38f9')+_0x1cd3('0x710d')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x3ae1')+'\x0a'+_0x1cd3('0x3ae2')+_0x1cd3('0x3ae3')+_0x1cd3('0x3a02')+_0x1cd3('0x3a03')+_0x1cd3('0x3ae4')+_0x1cd3('0x3a04')+_0x1cd3('0x3a05')+_0x1cd3('0x6c82')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3686')+_0x1cd3('0x3ae6')+'\x0a'+_0x1cd3('0x3a07')+'\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a'+_0x1cd3('0x3a09')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a0b')+_0x1cd3('0x3ae8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Back\x0a'+_0x1cd3('0x3671')+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x3a0c')+'\x0a'+_0x1cd3('0x3a0d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x710e')+_0x1cd3('0x6c88')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3aeb')+_0x1cd3('0x3a11')+_0x1cd3('0x3a12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22multi\x20select\x20toggle\x22\x0a'+_0x1cd3('0x6c89')+_0x1cd3('0x3a14')+_0x1cd3('0x367d')+_0x1cd3('0x3a15')+_0x1cd3('0x3a16')+_0x1cd3('0x710f')+_0x1cd3('0x3c2e')+_0x1cd3('0x3849')+_0x1cd3('0x3aee')+_0x1cd3('0x3a16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a19')+_0x1cd3('0x3849')+_0x1cd3('0x3aee')+_0x1cd3('0x3a1a')+_0x1cd3('0x3aef')+_0x1cd3('0x366a')+'\x0a'+_0x1cd3('0x3a1b')+_0x1cd3('0x7110')+_0x1cd3('0x3a1d')+_0x1cd3('0x3a1e')+_0x1cd3('0x7111')+_0x1cd3('0x6c8b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x3841')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3686')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a22')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3af1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7112')+_0x1cd3('0x3a27')+_0x1cd3('0x3af3')+_0x1cd3('0x7113')+_0x1cd3('0x7114')+_0x1cd3('0x3a2a')+_0x1cd3('0x3a2b')+_0x1cd3('0x6cdd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.NAME\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.STRATEGY\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x6c92')+_0x1cd3('0x3a33')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3db3')+_0x1cd3('0x3a35')+_0x1cd3('0x7115')+_0x1cd3('0x3c56')+_0x1cd3('0x3a38')+_0x1cd3('0x486b')+_0x1cd3('0x3a3a')+_0x1cd3('0x3af8')+_0x1cd3('0x3a34')+_0x1cd3('0x7116')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7117')+_0x1cd3('0x7118')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22id\x20\x22\x20>{{voiceQueue.id}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{voiceQueue.name}}\x0a'+_0x1cd3('0x7119')+_0x1cd3('0x711a')+_0x1cd3('0x711b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22description\x20\x22\x20>{{voiceQueue.description}}\x0a'+_0x1cd3('0x3b02')+'\x0a'+_0x1cd3('0x3cdd')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x395d')+'\x0a'+_0x1cd3('0x3b04')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x711c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22VOICE.EDIT_VOICEQUEUE\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20VoiceQueue\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+_0x1cd3('0x3a54')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3ce1')+'\x0a'+_0x1cd3('0x711d')+_0x1cd3('0x711e')+_0x1cd3('0x711f')+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3ce1')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7120')+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a54')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3a5a')+'\x0a'+_0x1cd3('0x7121')+_0x1cd3('0x7122')+_0x1cd3('0x7123')+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3ce1')+'\x0a'+_0x1cd3('0x7124')+_0x1cd3('0x7125')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20goToRealtime\x20VoiceQueue\x0a'+_0x1cd3('0x3a52')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3951')+'\x0a'+'\x0a'+_0x1cd3('0x3a34')+_0x1cd3('0x3a5d')+_0x1cd3('0x3a5e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x7126')+_0x1cd3('0x3a61')+_0x1cd3('0x7127')+_0x1cd3('0x3a63')+'\x0a'+_0x1cd3('0x3a64')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a65')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a66')+'\x0a'+_0x1cd3('0x7128')+_0x1cd3('0x7129')+_0x1cd3('0x712a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x376d')+_0x1cd3('0x712b')+'\x20\x20\x20\x20\x0a');_0x404b17[_0x1cd3('0x37b')]('app/main/apps/voice/views/voiceRecordings/create/dialog.html',_0x1cd3('0x712c')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Rating\x0a'+_0x1cd3('0x712d')+_0x1cd3('0x712e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6c23')+_0x1cd3('0x6c24')+_0x1cd3('0x712f')+_0x1cd3('0x6c25')+_0x1cd3('0x36a9')+_0x1cd3('0x7130')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7131')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x388f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x7133')+_0x1cd3('0x39f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22voiceRecordingForm.$invalid\x22\x0a'+_0x1cd3('0x7134')+_0x1cd3('0x7135')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6cf8')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x39fe')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')]('app/main/apps/voice/views/voiceRecordings/edit/view.html',_0x1cd3('0x7136')+'\x0a'+_0x1cd3('0x3adc')+_0x1cd3('0x3b9f')+_0x1cd3('0x3d5a')+_0x1cd3('0x7137')+_0x1cd3('0x7138')+_0x1cd3('0x7139')+_0x1cd3('0x3ba1')+_0x1cd3('0x3671')+'\x0a'+_0x1cd3('0x388f')+'\x0a'+_0x1cd3('0x713a')+_0x1cd3('0x713b')+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x3ba2')+_0x1cd3('0x3ba3')+_0x1cd3('0x713c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.voiceRecording.name}}\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3ba6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.voiceRecording.createdAt\x20|\x20date:\x27medium\x27}}\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e3b')+_0x1cd3('0x3d24')+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3ae6')+'\x0a'+_0x1cd3('0x3a22')+_0x1cd3('0x3e3c')+'\x0a'+_0x1cd3('0x3baa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e3d')+_0x1cd3('0x713d')+_0x1cd3('0x3e3f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e42')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20VOICERECORDINGS\x0a'+_0x1cd3('0x386f')+_0x1cd3('0x713e')+_0x1cd3('0x3e45')+_0x1cd3('0x713f')+_0x1cd3('0x7140')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+_0x1cd3('0x3e47')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20disabled\x20\x0a'+_0x1cd3('0x3dff')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7141')+_0x1cd3('0x3b24')+_0x1cd3('0x7142')+_0x1cd3('0x3756')+_0x1cd3('0x39ea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7143')+_0x1cd3('0x7144')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e48')+_0x1cd3('0x3dff')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7145')+_0x1cd3('0x3b24')+_0x1cd3('0x7146')+_0x1cd3('0x3756')+_0x1cd3('0x39ea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x7147')+_0x1cd3('0x7148')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x3e47')+_0x1cd3('0x3e48')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x7149')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Caller\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x39ea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x714a')+_0x1cd3('0x714b')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3e47')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20disabled\x20\x0a'+_0x1cd3('0x3dff')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x714c')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Called\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x714d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x714e')+_0x1cd3('0x3756')+_0x1cd3('0x39ea')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6d59')+_0x1cd3('0x714f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20disabled\x20\x0a'+_0x1cd3('0x3dff')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6d5b')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7150')+_0x1cd3('0x7151')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3e47')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20disabled\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x7152')+_0x1cd3('0x3b24')+_0x1cd3('0x7153')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x7154')+_0x1cd3('0x7155')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27VOICE.NO_RATING\x27\x20|\x20translate}}\x0a'+_0x1cd3('0x7156')+_0x1cd3('0x6c23')+_0x1cd3('0x6c24')+_0x1cd3('0x712f')+_0x1cd3('0x6c25')+_0x1cd3('0x36a9')+_0x1cd3('0x7157')+_0x1cd3('0x3b24')+_0x1cd3('0x7131')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3acf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Disposition\x0a'+_0x1cd3('0x7158')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3e47')+_0x1cd3('0x3e48')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7159')+_0x1cd3('0x3b24')+_0x1cd3('0x715a')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fba')+_0x1cd3('0x3e52')+_0x1cd3('0x715b')+_0x1cd3('0x3e3d')+_0x1cd3('0x715c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x715d')+_0x1cd3('0x3e42')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TRANSCRIPT\x0a'+_0x1cd3('0x386f')+_0x1cd3('0x715e')+_0x1cd3('0x715f')+_0x1cd3('0x7160')+_0x1cd3('0x7161')+_0x1cd3('0x69ad')+_0x1cd3('0x7162')+_0x1cd3('0x7163')+_0x1cd3('0x7164')+_0x1cd3('0x69ad')+_0x1cd3('0x3ed3')+_0x1cd3('0x3fa6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7165')+_0x1cd3('0x7166')+'\x20\x20\x20\x20ng-init=\x22vm_ss.init(vm.voiceRecording)\x22>\x0a'+_0x1cd3('0x7167')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7168')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x3947')+'\x0a'+_0x1cd3('0x4c92')+_0x1cd3('0x4c65')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7169')+_0x1cd3('0x4c68')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x716a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm_ss.voiceRecording.sentiment}}\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x716b')+_0x1cd3('0x716c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x4c8e')+_0x1cd3('0x4c7a')+_0x1cd3('0x4c84')+_0x1cd3('0x4c74')+'\x0a'+_0x1cd3('0x4c7f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x716d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x716e')+_0x1cd3('0x716f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x716b')+_0x1cd3('0x7170')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x4c8e')+_0x1cd3('0x4c7a')+_0x1cd3('0x4c84')+_0x1cd3('0x4c85')+'\x0a'+_0x1cd3('0x4c75')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c68')+_0x1cd3('0x716d')+_0x1cd3('0x7171')+_0x1cd3('0x716e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{\x20(vm_ss.voiceRecording.sNegative\x20||\x200)\x20*\x20100\x20|\x20number:\x202\x20\x20}}%)\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x716b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.SENTIMENT_NEGATIVE\x27\x20|\x20translate\x20|\x20uppercase\x20}}\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x4c8e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c84')+_0x1cd3('0x4c7e')+'\x0a'+_0x1cd3('0x4c8a')+_0x1cd3('0x7169')+_0x1cd3('0x4c68')+_0x1cd3('0x716d')+_0x1cd3('0x7171')+_0x1cd3('0x716e')+_0x1cd3('0x7172')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.SENTIMENT_NEUTRAL\x27\x20|\x20translate\x20|\x20uppercase\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x4c8e')+_0x1cd3('0x4c7a')+_0x1cd3('0x4c84')+_0x1cd3('0x4c90')+'\x0a'+_0x1cd3('0x7173')+_0x1cd3('0x7169')+_0x1cd3('0x4c68')+_0x1cd3('0x716d')+_0x1cd3('0x7171')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{\x20(vm_ss.voiceRecording.sMixed\x20||\x200)\x20*\x20100\x20|\x20number:\x202\x20\x20}}%)\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7174')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4c7a')+_0x1cd3('0x4c84')+_0x1cd3('0x7175')+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x4c91')+'\x0a'+_0x1cd3('0x3e51')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e52')+_0x1cd3('0x3e53')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a66')+'\x0a'+_0x1cd3('0x376e'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x32a'),_0x1cd3('0x7176')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ff')+'\x0a'+_0x1cd3('0x3add')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a00')+_0x1cd3('0x3ade')+_0x1cd3('0x6c80')+_0x1cd3('0x38f9')+_0x1cd3('0x7177')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x3ae1')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae3')+_0x1cd3('0x3a02')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae4')+_0x1cd3('0x3a04')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6c82')+_0x1cd3('0x36c2')+_0x1cd3('0x366a')+_0x1cd3('0x3ae5')+_0x1cd3('0x7178')+_0x1cd3('0x3756')+_0x1cd3('0x3686')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a07')+'\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a'+_0x1cd3('0x3a09')+'\x0a'+_0x1cd3('0x7179')+_0x1cd3('0x3a0b')+_0x1cd3('0x3ae8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Back\x0a'+_0x1cd3('0x3671')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a0c')+'\x0a'+_0x1cd3('0x3a0d')+_0x1cd3('0x717a')+_0x1cd3('0x717b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20selected\x0a'+_0x1cd3('0x38f9')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x367d')+_0x1cd3('0x3a15')+_0x1cd3('0x3a16')+_0x1cd3('0x717c')+_0x1cd3('0x3c2e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3aee')+_0x1cd3('0x3a16')+_0x1cd3('0x717d')+_0x1cd3('0x3a19')+_0x1cd3('0x3849')+_0x1cd3('0x3aee')+_0x1cd3('0x3a1a')+_0x1cd3('0x3aef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a1b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a1d')+_0x1cd3('0x3a1e')+_0x1cd3('0x717e')+_0x1cd3('0x717f')+_0x1cd3('0x7180')+_0x1cd3('0x367d')+_0x1cd3('0x7181')+_0x1cd3('0x7182')+_0x1cd3('0x7183')+_0x1cd3('0x395d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27VOICE.RUNSENTIMENT_VOICERECORDING\x27\x20|\x20translate}}\x0a'+_0x1cd3('0x3849')+_0x1cd3('0x7185')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22VOICE.DELETE_SELECTED\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3841')+_0x1cd3('0x36f6')+_0x1cd3('0x3686')+_0x1cd3('0x3a21')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a23')+'\x0a'+_0x1cd3('0x3af1')+_0x1cd3('0x3a24')+'\x0a'+_0x1cd3('0x3a25')+_0x1cd3('0x7186')+_0x1cd3('0x3a27')+_0x1cd3('0x3af3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7187')+_0x1cd3('0x3a2a')+_0x1cd3('0x3a2b')+_0x1cd3('0x7188')+_0x1cd3('0x7189')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.CALLER\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x718a')+_0x1cd3('0x718b')+_0x1cd3('0x718c')+_0x1cd3('0x718d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.RATING\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x718e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.DATE\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x718f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.TRANSCRIBE\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x7190')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a34')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a35')+_0x1cd3('0x7191')+_0x1cd3('0x7192')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x486b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3af8')+_0x1cd3('0x3a34')+_0x1cd3('0x7193')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7194')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3dc1')+_0x1cd3('0x3dc2')+_0x1cd3('0x3dc3')+_0x1cd3('0x3dc4')+_0x1cd3('0x3dc5')+_0x1cd3('0x719f')+_0x1cd3('0x71a0')+_0x1cd3('0x71a1')+_0x1cd3('0x71a2')+_0x1cd3('0x7196')+_0x1cd3('0x71a3')+_0x1cd3('0x7196')+_0x1cd3('0x71a4')+_0x1cd3('0x3b02')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a49')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x71a5')+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x71a6')+'\x0a'+_0x1cd3('0x71a7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22VOICE.RUNTRANSCRIBE_VOICERECORDING\x22>\x0a'+_0x1cd3('0x71a8')+_0x1cd3('0x3a52')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x71a6')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x71ab')+'\x0a'+_0x1cd3('0x71ac')+_0x1cd3('0x71ad')+_0x1cd3('0x71ae')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x71af')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a54')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3ce1')+'\x0a'+_0x1cd3('0x71b1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22VOICE.DOWNLOAD_VOICERECORDING\x22>\x0a'+_0x1cd3('0x71b2')+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3a5a')+'\x0a'+_0x1cd3('0x71b3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22VOICE.DELETE_VOICERECORDING\x22>\x0a'+_0x1cd3('0x71b4')+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+_0x1cd3('0x3699')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a5d')+_0x1cd3('0x3a5e')+_0x1cd3('0x3a5f')+'\x0a'+_0x1cd3('0x71b5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x71b6')+_0x1cd3('0x3a63')+'\x0a'+_0x1cd3('0x3a64')+_0x1cd3('0x36f6')+_0x1cd3('0x3a65')+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a66')+'\x0a'+_0x1cd3('0x3a67')+_0x1cd3('0x3686'));_0x404b17['put'](_0x1cd3('0x71b7'),'\x0a'+_0x1cd3('0x422e')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x71b8')+_0x1cd3('0x3b5a')+_0x1cd3('0x4230')+_0x1cd3('0x4231')+_0x1cd3('0x4232')+_0x1cd3('0x4ecc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.ALL\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x71b9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.PARTIALPAUSE\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x71ba')+_0x1cd3('0x71bb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20AUTOPAUSE\x0a'+_0x1cd3('0x423b')+_0x1cd3('0x389c')+_0x1cd3('0x3686')+'\x0a'+'\x0a'+'\x0a'+_0x1cd3('0x42ca')+_0x1cd3('0x423e')+_0x1cd3('0x423f')+_0x1cd3('0x4ed3')+_0x1cd3('0x71bc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.VOICE\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4240')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.MAIL\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4241')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4243')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27FAX.FAX\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4245')+_0x1cd3('0x5774')+_0x1cd3('0x4ed6')+_0x1cd3('0x41b7')+_0x1cd3('0x41b0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x71bd')+_0x1cd3('0x4246')+_0x1cd3('0x71be')+_0x1cd3('0x4247')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.LOGIN_TIME\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4249')+_0x1cd3('0x71bf')+'\x0a'+_0x1cd3('0x5778')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Info\x0a'+'\x0a'+_0x1cd3('0x424b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x424d')+_0x1cd3('0x36c5')+_0x1cd3('0x41b4')+'\x0a'+_0x1cd3('0x424e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x424c')+_0x1cd3('0x4250')+_0x1cd3('0x36c5')+_0x1cd3('0x41b4')+'\x0a'+_0x1cd3('0x4251')+_0x1cd3('0x4edd')+_0x1cd3('0x424c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.CAPACITY\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x36c5')+_0x1cd3('0x41b4')+'\x0a'+_0x1cd3('0x4ede')+_0x1cd3('0x4253')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4254')+_0x1cd3('0x36c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4255')+_0x1cd3('0x4256')+_0x1cd3('0x424c')+_0x1cd3('0x4257')+_0x1cd3('0x36c5')+_0x1cd3('0x41b4')+'\x0a'+_0x1cd3('0x4edf')+_0x1cd3('0x4258')+_0x1cd3('0x424c')+_0x1cd3('0x4259')+_0x1cd3('0x36c5')+_0x1cd3('0x41b4')+_0x1cd3('0x41b7')+_0x1cd3('0x425a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x425c')+_0x1cd3('0x425d')+_0x1cd3('0x425e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.NO_AGENT_ONLINE\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x4150')+_0x1cd3('0x41b7')+_0x1cd3('0x425f')+_0x1cd3('0x4260')+_0x1cd3('0x4ee1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4260')+_0x1cd3('0x4265')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22vm.license.screenrecording\x20&&\x20(vm.agents[value].phoneBarEnableScreenRecordingByAgent\x20||\x20vm.agents[value].phoneBarEnableAutomaticScreenRecording)\x22>\x0a'+_0x1cd3('0x4267')+_0x1cd3('0x36b5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3692')+_0x1cd3('0x36b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36b5')+_0x1cd3('0x426d')+_0x1cd3('0x4269')+_0x1cd3('0x4ee4')+_0x1cd3('0x71c0')+_0x1cd3('0x426b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3692')+_0x1cd3('0x36b7')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x426e')+_0x1cd3('0x426f')+_0x1cd3('0x4270')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20days\x20>\x200\x20?\x20days\x20+\x20\x27d\x27\x20:\x20\x27\x27\x20}}\x0a'+_0x1cd3('0x4272')+_0x1cd3('0x4150')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20days\x20>\x200\x20?\x20days\x20+\x20\x27d\x27\x20:\x20\x27\x27\x20}}\x0a'+_0x1cd3('0x4272')+_0x1cd3('0x4150')+_0x1cd3('0x4276')+_0x1cd3('0x4285')+_0x1cd3('0x4277')+_0x1cd3('0x4278')+_0x1cd3('0x4ee8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22text-boxed\x20md-background-bg\x20bl\x20bt\x20padding-5\x20orange-400-bg\x22>ONHOLD\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x4150')+_0x1cd3('0x4276')+_0x1cd3('0x427a')+_0x1cd3('0x427b')+_0x1cd3('0x427c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x4284')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41fd')+_0x1cd3('0x4286')+_0x1cd3('0x4287')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4288')+_0x1cd3('0x577c')+_0x1cd3('0x4289')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4285')+_0x1cd3('0x41fd')+_0x1cd3('0x4286')+_0x1cd3('0x428b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4150')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4150')+_0x1cd3('0x428f')+_0x1cd3('0x4290')+_0x1cd3('0x4291')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4285')+_0x1cd3('0x41fd')+_0x1cd3('0x4286')+_0x1cd3('0x4293')+_0x1cd3('0x36b7')+_0x1cd3('0x3756')+_0x1cd3('0x4150')+_0x1cd3('0x4294')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27idle\x27:\x27lime-300-fg\x27,\x27maxcapacity\x27:\x27red-A200-fg\x27,\x27working\x27:\x27indigo-100-fg\x27,\x27pause\x27:\x27amber-200-fg\x27}[vm.agents[value].openchannelStatus]\x22>\x0a'+_0x1cd3('0x4295')+'\x0a'+_0x1cd3('0x4296')+_0x1cd3('0x4285')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4286')+_0x1cd3('0x4297')+_0x1cd3('0x36b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4150')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x429a')+_0x1cd3('0x4285')+_0x1cd3('0x41fd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.agents[value].whatsappStatus\x20|\x20uppercase\x20}}\x0a'+_0x1cd3('0x36b7')+_0x1cd3('0x3756')+_0x1cd3('0x4150')+_0x1cd3('0x4eec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27idle\x27:\x27lime-300-fg\x27,\x27maxcapacity\x27:\x27red-A200-fg\x27,\x27working\x27:\x27indigo-100-fg\x27,\x27pause\x27:\x27amber-200-fg\x27}[vm.agents[value].whatsappStatus]\x22>\x0a'+_0x1cd3('0x429c')+'\x0a'+_0x1cd3('0x429d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x395d')+'\x0a'+_0x1cd3('0x429f')+_0x1cd3('0x42a0')+_0x1cd3('0x42a1')+_0x1cd3('0x71c1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Logout\x0a'+_0x1cd3('0x3a52')+_0x1cd3('0x3a53')+_0x1cd3('0x42a0')+_0x1cd3('0x42a4')+_0x1cd3('0x71c2')+_0x1cd3('0x42a6')+_0x1cd3('0x3a52')+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x42a7')+_0x1cd3('0x42a8')+_0x1cd3('0x42a9')+_0x1cd3('0x42aa')+_0x1cd3('0x71c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x42ac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x42ae')+_0x1cd3('0x71c4')+_0x1cd3('0x42b0')+_0x1cd3('0x3c6a')+_0x1cd3('0x42b1')+_0x1cd3('0x42b2')+_0x1cd3('0x71c5')+_0x1cd3('0x42b0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x42b4')+_0x1cd3('0x3c77')+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x42a0')+_0x1cd3('0x42a9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x42b6')+_0x1cd3('0x5784')+_0x1cd3('0x42b7')+_0x1cd3('0x71c7')+_0x1cd3('0x42b9')+_0x1cd3('0x3c6a')+_0x1cd3('0x42ba')+_0x1cd3('0x42b6')+_0x1cd3('0x42bb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.pause(vm.agents[value],\x20pause.name)\x22>{{pause.name}}\x0a'+_0x1cd3('0x3c66')+_0x1cd3('0x3c6a')+_0x1cd3('0x42b4')+_0x1cd3('0x3c77')+_0x1cd3('0x3a53')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4ef4')+_0x1cd3('0x71c8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Unpause\x0a'+_0x1cd3('0x3a52')+_0x1cd3('0x3a53')+_0x1cd3('0x41c8')+_0x1cd3('0x41c9')+_0x1cd3('0x4150')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x42c0')+_0x1cd3('0x42dc')+'\x0a'+'\x0a'+_0x1cd3('0x42c8')+_0x1cd3('0x3686')+_0x1cd3('0x423c')+'\x0a'+_0x1cd3('0x42c9')+_0x1cd3('0x42ca')+_0x1cd3('0x423e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41b0')+_0x1cd3('0x71cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.LOGGED_IN\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x71cc')+_0x1cd3('0x71cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.WAITING\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x42cf')+_0x1cd3('0x41b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x425b')+_0x1cd3('0x42d0')+_0x1cd3('0x418b')+_0x1cd3('0x425e')+_0x1cd3('0x71ce')+_0x1cd3('0x3756')+_0x1cd3('0x4150')+_0x1cd3('0x41b7')+_0x1cd3('0x42d2')+_0x1cd3('0x42d3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x42d4')+_0x1cd3('0x4150')+_0x1cd3('0x41ba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.queues[value].paused\x20||\x200}}\x0a'+_0x1cd3('0x4150')+_0x1cd3('0x41ba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.queues[value].available\x20||\x200}}\x0a'+_0x1cd3('0x4150')+_0x1cd3('0x41ba')+_0x1cd3('0x42d6')+_0x1cd3('0x4150')+_0x1cd3('0x4efc')+_0x1cd3('0x3a49')+_0x1cd3('0x71cf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3b04')+_0x1cd3('0x42a0')+_0x1cd3('0x71d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Queue\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a53')+_0x1cd3('0x42d9')+_0x1cd3('0x71d1')+_0x1cd3('0x42db')+_0x1cd3('0x3a52')+_0x1cd3('0x3a53')+_0x1cd3('0x41c8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4150')+_0x1cd3('0x41b7')+_0x1cd3('0x42bf')+_0x1cd3('0x42c0')+_0x1cd3('0x42dc')+'\x0a'+_0x1cd3('0x71d2')+_0x1cd3('0x42de')+'\x0a');_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x33e'),_0x1cd3('0x42e0')+_0x1cd3('0x3a22')+_0x1cd3('0x3e3c')+_0x1cd3('0x3baa')+_0x1cd3('0x42e1')+_0x1cd3('0x42e2')+_0x1cd3('0x71d3')+_0x1cd3('0x42e4')+_0x1cd3('0x3862')+_0x1cd3('0x4f03')+_0x1cd3('0x42e2')+_0x1cd3('0x71d4')+_0x1cd3('0x42e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x42e6')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a66')+_0x1cd3('0x376e'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x71d5'),_0x1cd3('0x71d6')+_0x1cd3('0x71d7')+_0x1cd3('0x3666')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x71d8')+_0x1cd3('0x71d9')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.newWhatsappAccount\x22\x20\x0a'+_0x1cd3('0x3dff')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x71da')+_0x1cd3('0x71db')+_0x1cd3('0x3b24')+_0x1cd3('0x71dc')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x71dd')+_0x1cd3('0x71de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-maxlength=\x225\x22\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x71df')+_0x1cd3('0x3b24')+_0x1cd3('0x71e0')+_0x1cd3('0x3756')+_0x1cd3('0x3f99')+_0x1cd3('0x71e1')+_0x1cd3('0x3756')+_0x1cd3('0x39ea')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x71e2')+_0x1cd3('0x71e3')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x3a6f')+_0x1cd3('0x3e91')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22ListId.canSelect\x20===\x20false\x22>{{\x20ListId.name\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x71e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x71e5')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x71e6')+_0x1cd3('0x71e7')+_0x1cd3('0x3e85')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x71e8')+_0x1cd3('0x71e9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MotionProxy\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MotionProxy\x20must\x20be\x20a\x20valid\x20url\x20http://www.xcally.com\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3e89')+_0x1cd3('0x71ea')+_0x1cd3('0x3756')+_0x1cd3('0x39ea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x71eb')+_0x1cd3('0x71ec')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Twilio\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x71ed')+_0x1cd3('0x3b24')+_0x1cd3('0x71ee')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x71ef')+_0x1cd3('0x71f0')+_0x1cd3('0x71f1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x71f2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x71f3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x71f4')+_0x1cd3('0x71f5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x71f6')+_0x1cd3('0x3b24')+_0x1cd3('0x71f7')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20phone\x0a'+_0x1cd3('0x71f8')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x71f9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x71fa')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x71fb')+_0x1cd3('0x71fc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x71fd')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x388f')+_0x1cd3('0x71fe')+_0x1cd3('0x3ad7')+_0x1cd3('0x71ff')+_0x1cd3('0x7200')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x1cd3('0x39f4')+'\x0a'+_0x1cd3('0x7201')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x1cd3('0x7202')+_0x1cd3('0x7203')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20WHATSAPPACCOUNT\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x39fa')+_0x1cd3('0x7204')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22WHATSAPP.DELETE\x22>\x0a'+_0x1cd3('0x3a20')+_0x1cd3('0x7205')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x274b'),_0x1cd3('0x7206')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d4f')+_0x1cd3('0x7207')+_0x1cd3('0x3d50')+_0x1cd3('0x3857')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x366b')+_0x1cd3('0x366c')+_0x1cd3('0x3e21')+_0x1cd3('0x366f')+_0x1cd3('0x3e26')+_0x1cd3('0x3e22')+_0x1cd3('0x3e23')+_0x1cd3('0x3ba9')+_0x1cd3('0x3671')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17['put'](_0x1cd3('0x7208'),'\x0a'+_0x1cd3('0x7209')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x3857')+_0x1cd3('0x3858')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x720a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ea4')+_0x1cd3('0x5d19')+_0x1cd3('0x3acc')+_0x1cd3('0x720b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x720c')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x720d')+_0x1cd3('0x3ea8')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3ea9')+_0x1cd3('0x3e0e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x720e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Timeout\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a'+_0x1cd3('0x3e12')+_0x1cd3('0x3e13')+_0x1cd3('0x720f')+_0x1cd3('0x3e12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7210')+_0x1cd3('0x3ad7')+_0x1cd3('0x7211')+_0x1cd3('0x7200')+_0x1cd3('0x39f3')+_0x1cd3('0x39f4')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3681')+'\x0a');_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x7212'),_0x1cd3('0x71d6')+_0x1cd3('0x7209')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x39d7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x7213')+_0x1cd3('0x5d25')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x7214')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7215')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x7216')+_0x1cd3('0x3eb3')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x7217')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20secretaccesskey\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7218')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3eb8')+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>US\x20East\x20(N.\x20Virginia)\x0a'+_0x1cd3('0x3eba')+_0x1cd3('0x3a4d')+_0x1cd3('0x5d2b')+_0x1cd3('0x3ebb')+_0x1cd3('0x3a4d')+_0x1cd3('0x3ebc')+_0x1cd3('0x5d2c')+_0x1cd3('0x3a4d')+_0x1cd3('0x3ebd')+_0x1cd3('0x3acc')+_0x1cd3('0x7219')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20lexregion\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3acf')+_0x1cd3('0x721a')+_0x1cd3('0x3ec1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x721b')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20botname\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x721c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ed1')+_0x1cd3('0x721d')+_0x1cd3('0x39e1')+_0x1cd3('0x3b24')+_0x1cd3('0x721e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3ec6')+_0x1cd3('0x721f')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ed3')+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x3b20')+_0x1cd3('0x3b47')+_0x1cd3('0x7210')+_0x1cd3('0x3ad7')+_0x1cd3('0x7211')+_0x1cd3('0x7200')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x3675')+_0x1cd3('0x3681')+'\x0a');_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x7220'),_0x1cd3('0x71d6')+_0x1cd3('0x7209')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x3857')+_0x1cd3('0x3858')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7221')+_0x1cd3('0x3eca')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x3a6f')+_0x1cd3('0x55ac')+_0x1cd3('0x3a4d')+_0x1cd3('0x3ecb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Always\x0a'+_0x1cd3('0x3acc')+_0x1cd3('0x7222')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20times\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7223')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ed1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x3b24')+_0x1cd3('0x7224')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ed3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7210')+_0x1cd3('0x3ad7')+_0x1cd3('0x7211')+_0x1cd3('0x7200')+_0x1cd3('0x39f3')+_0x1cd3('0x39f4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x7225'),_0x1cd3('0x71d6')+_0x1cd3('0x7209')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3858')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x7226')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Disposition\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x3b20')+_0x1cd3('0x3b47')+_0x1cd3('0x7210')+_0x1cd3('0x3ad7')+_0x1cd3('0x7211')+_0x1cd3('0x7200')+_0x1cd3('0x39f3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x3675')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x384d'));_0x404b17['put']('app/main/apps/whatsapp/views/whatsappAccounts/edit/apps/dialogflow/dialog.html',_0x1cd3('0x71d6')+_0x1cd3('0x7209')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x39db')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7227')+_0x1cd3('0x3ed8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7228')+_0x1cd3('0x3b24')+_0x1cd3('0x7229')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20language\x0a'+_0x1cd3('0x3edb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x3a6f')+_0x1cd3('0x3edc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3edd')+_0x1cd3('0x5d40')+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>English\x0a'+_0x1cd3('0x3edf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ee0')+_0x1cd3('0x5d41')+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Italian\x0a'+_0x1cd3('0x3ee2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ee3')+_0x1cd3('0x3ee4')+_0x1cd3('0x3a4d')+_0x1cd3('0x5d42')+_0x1cd3('0x3ee5')+_0x1cd3('0x3a4d')+_0x1cd3('0x621d')+_0x1cd3('0x3ee6')+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Japanese\x0a'+_0x1cd3('0x3ee7')+_0x1cd3('0x3a4d')+_0x1cd3('0x3ee8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Portuguese\x20(European)\x0a'+_0x1cd3('0x5d44')+_0x1cd3('0x3a4d')+_0x1cd3('0x3eef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Chinese\x20(Hong\x20Kong)\x0a'+_0x1cd3('0x5d47')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ef8')+_0x1cd3('0x3acc')+_0x1cd3('0x722a')+_0x1cd3('0x3b24')+_0x1cd3('0x722b')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x721c')+_0x1cd3('0x6221')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x721d')+_0x1cd3('0x39e1')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20welcomemessage\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3ec6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20welcomemessage\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ed3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x3b20')+_0x1cd3('0x3b47')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x722c'),_0x1cd3('0x71d6')+_0x1cd3('0x7209')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x3857')+_0x1cd3('0x3858')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x722d')+_0x1cd3('0x4d4f')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e5')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x722e')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20truepriority\x0a'+_0x1cd3('0x3f00')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x221\x22\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x722f')+_0x1cd3('0x3b24')+_0x1cd3('0x7230')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4e')+_0x1cd3('0x7231')+_0x1cd3('0x3e12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20falsepriority\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x7232')+_0x1cd3('0x3b24')+_0x1cd3('0x7233')+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20falsepriority\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a'+_0x1cd3('0x3e12')+_0x1cd3('0x3f04')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3b20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7210')+_0x1cd3('0x3ad7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22whatsappAccountFormApp.$invalid\x20||\x20whatsappAccountFormApp.$pristine\x22\x0a'+_0x1cd3('0x7200')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x1cd3('0x39f4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3681')+'\x0a');_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x7234'),_0x1cd3('0x71d6')+_0x1cd3('0x7209')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x7235')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7236')+_0x1cd3('0x3b24')+_0x1cd3('0x7237')+_0x1cd3('0x3756')+_0x1cd3('0x3e4e')+_0x1cd3('0x7238')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f04')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39da')+_0x1cd3('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x3b20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7210')+_0x1cd3('0x3ad7')+_0x1cd3('0x7211')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22WHATSAPP.SAVE\x22\x20translate-attr-aria-label=\x22WHATSAPP.SAVE\x22>\x0a'+_0x1cd3('0x39f3')+_0x1cd3('0x39f4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3675')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x272f'),_0x1cd3('0x3f0f')+_0x1cd3('0x3f10')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3858')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b1f')+_0x1cd3('0x3b15')+_0x1cd3('0x3b16')+_0x1cd3('0x3b17')+_0x1cd3('0x3756')+_0x1cd3('0x3b18')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x367d')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b28')+_0x1cd3('0x3f11')+_0x1cd3('0x3f12')+_0x1cd3('0x3f13')+_0x1cd3('0x36a9')+_0x1cd3('0x36aa')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4d5d')+_0x1cd3('0x3f14')+_0x1cd3('0x3f15')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f16')+_0x1cd3('0x3f17')+_0x1cd3('0x3c8a')+_0x1cd3('0x3f18')+_0x1cd3('0x3f19')+_0x1cd3('0x3f1a')+_0x1cd3('0x3f1b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f1c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f1d')+_0x1cd3('0x3f1e')+_0x1cd3('0x3f1f')+_0x1cd3('0x3f20')+_0x1cd3('0x3f21')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Time\x20Range\x20To\x20field\x20is\x20required\x0a'+_0x1cd3('0x36b7')+_0x1cd3('0x3756')+_0x1cd3('0x4d5f')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f23')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f25')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f27')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Always\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20day.value\x20|\x20ucfirst\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36c2')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f33')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f29')+_0x1cd3('0x3b44')+_0x1cd3('0x3f2c')+_0x1cd3('0x3756')+_0x1cd3('0x36c2')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3f2e')+_0x1cd3('0x4d60')+_0x1cd3('0x3f17')+_0x1cd3('0x4d61')+_0x1cd3('0x3f27')+_0x1cd3('0x3f2f')+_0x1cd3('0x3f30')+_0x1cd3('0x3f31')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36c2')+'\x0a'+_0x1cd3('0x3f32')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20To\x0a'+_0x1cd3('0x3f34')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20month\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f35')+_0x1cd3('0x3756')+_0x1cd3('0x36c2')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3f36')+_0x1cd3('0x3f37')+_0x1cd3('0x3f17')+_0x1cd3('0x4d61')+_0x1cd3('0x3f27')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3f30')+_0x1cd3('0x3f39')+_0x1cd3('0x3b44')+'\x0a'+_0x1cd3('0x36c2')+'\x0a'+_0x1cd3('0x4d62')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20To\x0a'+_0x1cd3('0x3f3a')+_0x1cd3('0x3f39')+_0x1cd3('0x3b44')+_0x1cd3('0x4d63')+_0x1cd3('0x3756')+_0x1cd3('0x36c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3b14')+_0x1cd3('0x3b1f')+_0x1cd3('0x3b15')+_0x1cd3('0x3b16')+_0x1cd3('0x3b17')+_0x1cd3('0x3756')+_0x1cd3('0x3b18')+_0x1cd3('0x3b19')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x366f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4d64')+_0x1cd3('0x3891')+_0x1cd3('0x3859')+'\x0a'+_0x1cd3('0x3f3c')+_0x1cd3('0x3f3d')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17['put'](_0x1cd3('0x7239'),_0x1cd3('0x71d6')+_0x1cd3('0x7209')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x723a')+_0x1cd3('0x4d67')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x723b')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b47')+_0x1cd3('0x7210')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x1cd3('0x7211')+_0x1cd3('0x7200')+_0x1cd3('0x39f3')+_0x1cd3('0x39f4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3675')+_0x1cd3('0x3681')+'\x0a');_0x404b17[_0x1cd3('0x37b')]('app/main/apps/whatsapp/views/whatsappAccounts/edit/apps/queue/dialog.html','\x0a'+_0x1cd3('0x7209')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x723c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Queue\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3acf')+_0x1cd3('0x720d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x3b20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7210')+_0x1cd3('0x3ad7')+_0x1cd3('0x7211')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22WHATSAPP.SAVE\x22\x20translate-attr-aria-label=\x22WHATSAPP.SAVE\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3675')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x7240'),'\x0a'+_0x1cd3('0x7209')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Command\x0a'+_0x1cd3('0x3f4b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e5')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x7241')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Variable\x0a'+_0x1cd3('0x3f4e')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x3f4f')+_0x1cd3('0x3f50')+_0x1cd3('0x3f51')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7242')+_0x1cd3('0x3b24')+_0x1cd3('0x7243')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3ed3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3b20')+_0x1cd3('0x3b47')+_0x1cd3('0x7210')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x1cd3('0x7211')+_0x1cd3('0x7200')+_0x1cd3('0x39f3')+_0x1cd3('0x39f4')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')]('app/main/apps/whatsapp/views/whatsappAccounts/edit/apps/tag/dialog.html',_0x1cd3('0x71d6')+_0x1cd3('0x7209')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7244')+_0x1cd3('0x3f56')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x3a6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Tag\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b47')+_0x1cd3('0x7210')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x1cd3('0x7211')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22WHATSAPP.SAVE\x22\x20translate-attr-aria-label=\x22WHATSAPP.SAVE\x22>\x0a'+_0x1cd3('0x39f3')+_0x1cd3('0x39f4')+_0x1cd3('0x366a')+_0x1cd3('0x3675')+'\x20\x20\x20\x20\x0a'+'\x0a');_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x7246'),'\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d5a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x0a'+_0x1cd3('0x3ba2')+_0x1cd3('0x3ba3')+_0x1cd3('0x724a')+_0x1cd3('0x724b')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x724c')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39ee')+_0x1cd3('0x3e31')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x724e')+_0x1cd3('0x3e3b')+_0x1cd3('0x3d24')+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3ae6')+'\x0a'+_0x1cd3('0x3a22')+_0x1cd3('0x3e3c')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fda')+_0x1cd3('0x3e3d')+_0x1cd3('0x724f')+_0x1cd3('0x3e3f')+_0x1cd3('0x3e40')+_0x1cd3('0x7250')+_0x1cd3('0x3e42')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GENERAL
\x0a'+_0x1cd3('0x386f')+_0x1cd3('0x3e44')+_0x1cd3('0x3e45')+_0x1cd3('0x71d8')+_0x1cd3('0x71d9')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x1cd3('0x3e47')+_0x1cd3('0x3e48')+_0x1cd3('0x3dff')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x3e49')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x71dc')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x71dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x3f98')+_0x1cd3('0x3b24')+_0x1cd3('0x71e0')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x71e1')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x71e5')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x71ef')+_0x1cd3('0x71f0')+_0x1cd3('0x71f1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x6260')+_0x1cd3('0x3b24')+_0x1cd3('0x71f3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x71f4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x71f7')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x7251')+_0x1cd3('0x71f8')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x4343')+_0x1cd3('0x3b24')+_0x1cd3('0x71fa')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7252')+_0x1cd3('0x6279')+_0x1cd3('0x7253')+_0x1cd3('0x5d9b')+_0x1cd3('0x5d9c')+_0x1cd3('0x7254')+_0x1cd3('0x54d8')+_0x1cd3('0x7255')+_0x1cd3('0x5d9f')+_0x1cd3('0x7256')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20deliveryReportUrl\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x627c')+_0x1cd3('0x5d9b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7257')+_0x1cd3('0x54d8')+_0x1cd3('0x7258')+_0x1cd3('0x5d9f')+_0x1cd3('0x3acf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WaitForTheAssignedAgent\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x725a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e13')+_0x1cd3('0x725b')+_0x1cd3('0x3e12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x71fb')+_0x1cd3('0x71fc')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4f')+_0x1cd3('0x3b24')+_0x1cd3('0x71fd')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39ee')+_0x1cd3('0x3fa6')+_0x1cd3('0x3e51')+_0x1cd3('0x725c')+_0x1cd3('0x3e42')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NOTIFICATION\x0a'+_0x1cd3('0x386f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e45')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20notificationShake\x0a'+_0x1cd3('0x3ed3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3acf')+_0x1cd3('0x725d')+_0x1cd3('0x3ed3')+_0x1cd3('0x3870')+_0x1cd3('0x3fab')+_0x1cd3('0x725e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fa6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x725f')+_0x1cd3('0x3e42')+_0x1cd3('0x7260')+_0x1cd3('0x386f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7261')+_0x1cd3('0x3ed3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7262')+_0x1cd3('0x7263')+_0x1cd3('0x7264')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e0d')+_0x1cd3('0x3e0e')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x4da7')+_0x1cd3('0x3b24')+_0x1cd3('0x7265')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7266')+_0x1cd3('0x3e12')+_0x1cd3('0x3e13')+_0x1cd3('0x7267')+_0x1cd3('0x3e12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x7268')+_0x1cd3('0x3ed3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7269')+_0x1cd3('0x726a')+_0x1cd3('0x726b')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x221\x22\x20\x20\x20\x0a'+_0x1cd3('0x3e0e')+_0x1cd3('0x39e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3e4a')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x726c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4e')+_0x1cd3('0x726d')+_0x1cd3('0x3e12')+_0x1cd3('0x3e13')+_0x1cd3('0x726e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fba')+_0x1cd3('0x3e52')+_0x1cd3('0x3fda')+_0x1cd3('0x3e3d')+_0x1cd3('0x726f')+_0x1cd3('0x3e3f')+_0x1cd3('0x3e40')+_0x1cd3('0x7270')+_0x1cd3('0x3e42')+_0x1cd3('0x7271')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e45')+_0x1cd3('0x71e6')+_0x1cd3('0x71e7')+_0x1cd3('0x3e85')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6294')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7272')+_0x1cd3('0x3756')+_0x1cd3('0x3e87')+_0x1cd3('0x7273')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MotionProxy\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x7274')+_0x1cd3('0x7275')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x3e47')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20disabled\x20\x0a'+_0x1cd3('0x3dff')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x7276')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7277')+_0x1cd3('0x3e42')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DISPOSITION\x0a'+_0x1cd3('0x386f')+_0x1cd3('0x3fd3')+_0x1cd3('0x3e45')+_0x1cd3('0x7278')+_0x1cd3('0x3ed3')+_0x1cd3('0x3870')+_0x1cd3('0x7279')+_0x1cd3('0x727a')+_0x1cd3('0x727b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x1cd3('0x3fd6')+_0x1cd3('0x4de8')+_0x1cd3('0x3acc')+_0x1cd3('0x727c')+_0x1cd3('0x3fd8')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MandatoryDispositionPauseId\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3ed3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e51')+_0x1cd3('0x3fba')+_0x1cd3('0x3e52')+_0x1cd3('0x3fda')+_0x1cd3('0x3e3d')+_0x1cd3('0x727d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e40')+_0x1cd3('0x727e')+_0x1cd3('0x727f')+_0x1cd3('0x7280')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x7281')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x411b')+_0x1cd3('0x7282')+_0x1cd3('0x7283')+_0x1cd3('0x411d')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x415d')+_0x1cd3('0x7284')+_0x1cd3('0x411f')+_0x1cd3('0x7285')+_0x1cd3('0x3b5a')+_0x1cd3('0x7286')+_0x1cd3('0x4121')+_0x1cd3('0x415a')+_0x1cd3('0x7287')+_0x1cd3('0x7288')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d24')+_0x1cd3('0x3f1c')+_0x1cd3('0x415d')+'\x20\x20\x0a'+_0x1cd3('0x7289')+_0x1cd3('0x728a')+_0x1cd3('0x4160')+_0x1cd3('0x4126')+_0x1cd3('0x728b')+_0x1cd3('0x4128')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x728c')+_0x1cd3('0x4128')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x728d')+_0x1cd3('0x4128')+_0x1cd3('0x412e')+_0x1cd3('0x412f')+_0x1cd3('0x417f')+_0x1cd3('0x4130')+_0x1cd3('0x728e')+'>\x0a'+_0x1cd3('0x728f')+_0x1cd3('0x7290')+_0x1cd3('0x4133')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7291')+_0x1cd3('0x4133')+_0x1cd3('0x7292')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20whatsappDisposition.createdAt\x20|\x20formatdate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x413f')+_0x1cd3('0x7293')+_0x1cd3('0x4141')+_0x1cd3('0x4185')+'\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4142')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7294')+_0x1cd3('0x4145')+_0x1cd3('0x4146')+_0x1cd3('0x4147')+_0x1cd3('0x7295')+_0x1cd3('0x7296')+_0x1cd3('0x3a52')+_0x1cd3('0x4149')+_0x1cd3('0x414a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x414b')+_0x1cd3('0x412f')+_0x1cd3('0x7297')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7298')+_0x1cd3('0x414f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x416d')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3824')+'\x0a'+_0x1cd3('0x3e51')+_0x1cd3('0x3fba')+_0x1cd3('0x3e52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e3d')+_0x1cd3('0x7299')+_0x1cd3('0x3e3f')+_0x1cd3('0x3e40')+_0x1cd3('0x729a')+_0x1cd3('0x729b')+'\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x729c')+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x20\x20\x0a'+_0x1cd3('0x729e')+_0x1cd3('0x411f')+_0x1cd3('0x729f')+_0x1cd3('0x3b5a')+_0x1cd3('0x72a0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x72a1')+_0x1cd3('0x7288')+_0x1cd3('0x4177')+_0x1cd3('0x3d24')+_0x1cd3('0x3f1c')+'\x20\x20\x0a'+_0x1cd3('0x4123')+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4126')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.ID\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4128')+_0x1cd3('0x417a')+_0x1cd3('0x72a2')+_0x1cd3('0x4128')+_0x1cd3('0x417c')+_0x1cd3('0x72a3')+_0x1cd3('0x4128')+_0x1cd3('0x417d')+_0x1cd3('0x72a4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x412c')+_0x1cd3('0x728d')+_0x1cd3('0x4128')+_0x1cd3('0x412e')+_0x1cd3('0x412f')+_0x1cd3('0x417f')+_0x1cd3('0x4130')+_0x1cd3('0x72a5')+'>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x72a6')+_0x1cd3('0x4133')+_0x1cd3('0x72a7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{whatsappCannedAnswer.key}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{whatsappCannedAnswer.value}}\x0a'+_0x1cd3('0x4133')+_0x1cd3('0x72a7')+_0x1cd3('0x72a8')+_0x1cd3('0x4133')+_0x1cd3('0x72a9')+_0x1cd3('0x72aa')+_0x1cd3('0x413e')+_0x1cd3('0x4166')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7293')+_0x1cd3('0x4141')+_0x1cd3('0x4185')+'\x20\x0a'+_0x1cd3('0x4167')+_0x1cd3('0x4142')+_0x1cd3('0x72ab')+_0x1cd3('0x72ac')+_0x1cd3('0x4145')+_0x1cd3('0x4146')+_0x1cd3('0x4147')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20WhatsappCannedAnswer\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x414a')+_0x1cd3('0x4189')+_0x1cd3('0x414b')+_0x1cd3('0x412f')+_0x1cd3('0x72ad')+_0x1cd3('0x418b')+_0x1cd3('0x414d')+_0x1cd3('0x72ae')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4150')+_0x1cd3('0x412f')+_0x1cd3('0x4151')+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3e51')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x3e52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x72af')+_0x1cd3('0x3e3f')+_0x1cd3('0x3e40')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x6eca')+_0x1cd3('0x4198')+_0x1cd3('0x5687')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x419a')+_0x1cd3('0x419b')+_0x1cd3('0x419c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x419d')+_0x1cd3('0x419e')+_0x1cd3('0x37bd')+_0x1cd3('0x419f')+_0x1cd3('0x41a0')+_0x1cd3('0x4e07')+_0x1cd3('0x72b0')+_0x1cd3('0x41a2')+_0x1cd3('0x419e')+_0x1cd3('0x41a3')+_0x1cd3('0x3824')+_0x1cd3('0x41a4')+_0x1cd3('0x41a5')+_0x1cd3('0x41a6')+_0x1cd3('0x41a7')+_0x1cd3('0x72b1')+_0x1cd3('0x411f')+'\x20\x20\x20\x20\x20\x20\x20\x20Drag\x20&\x20Drop\x20Routing\x0a'+_0x1cd3('0x3b5a')+_0x1cd3('0x41a9')+_0x1cd3('0x3d1d')+_0x1cd3('0x3947')+_0x1cd3('0x72b2')+_0x1cd3('0x411f')+_0x1cd3('0x72b3')+_0x1cd3('0x3b5a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41b6')+_0x1cd3('0x41b4')+_0x1cd3('0x4e10')+_0x1cd3('0x4e11')+_0x1cd3('0x41b4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4e12')+_0x1cd3('0x41b4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41b7')+_0x1cd3('0x425a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x72b6')+_0x1cd3('0x41ba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x72b7')+_0x1cd3('0x72b8')+_0x1cd3('0x72b9')+_0x1cd3('0x41bd')+_0x1cd3('0x41ba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41be')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4150')+_0x1cd3('0x41c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5e01')+_0x1cd3('0x3a4c')+_0x1cd3('0x395d')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x5690')+_0x1cd3('0x3a52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41c3')+_0x1cd3('0x41c4')+_0x1cd3('0x41c5')+_0x1cd3('0x3a52')+_0x1cd3('0x3a53')+_0x1cd3('0x4e19')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20App\x0a'+_0x1cd3('0x3a52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41c8')+_0x1cd3('0x41c9')+_0x1cd3('0x4150')+_0x1cd3('0x41b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41cb')+_0x1cd3('0x4e1b')+_0x1cd3('0x4150')+_0x1cd3('0x41b7')+_0x1cd3('0x42bf')+_0x1cd3('0x41cc')+_0x1cd3('0x42dc')+_0x1cd3('0x41cd')+'\x0a'+_0x1cd3('0x4e1c')+'\x0a'+_0x1cd3('0x41ce')+_0x1cd3('0x376e')+_0x1cd3('0x42df')+_0x1cd3('0x376e')+'\x0a'+_0x1cd3('0x3e51')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fda')+_0x1cd3('0x3e3d')+_0x1cd3('0x72ba')+_0x1cd3('0x3e3f')+_0x1cd3('0x3e40')+_0x1cd3('0x72bb')+_0x1cd3('0x72bc')+_0x1cd3('0x72bd')+_0x1cd3('0x4118')+_0x1cd3('0x72be')+_0x1cd3('0x411a')+_0x1cd3('0x411b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41d1')+_0x1cd3('0x4e1f')+_0x1cd3('0x41d2')+_0x1cd3('0x41d3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x72bf')+_0x1cd3('0x72c0')+_0x1cd3('0x4e23')+_0x1cd3('0x4104')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x415d')+_0x1cd3('0x72c1')+_0x1cd3('0x411f')+_0x1cd3('0x72c2')+_0x1cd3('0x3b5a')+_0x1cd3('0x72c3')+_0x1cd3('0x4121')+_0x1cd3('0x415a')+_0x1cd3('0x72c4')+_0x1cd3('0x7288')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d24')+_0x1cd3('0x3f1c')+_0x1cd3('0x415d')+_0x1cd3('0x4123')+_0x1cd3('0x72c5')+_0x1cd3('0x72c6')+_0x1cd3('0x4160')+_0x1cd3('0x4126')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.ID\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4128')+_0x1cd3('0x41db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4128')+_0x1cd3('0x41db')+_0x1cd3('0x41dd')+_0x1cd3('0x41db')+_0x1cd3('0x41dd')+_0x1cd3('0x4e2a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.CONTACT\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4128')+_0x1cd3('0x412c')+_0x1cd3('0x72c7')+_0x1cd3('0x4128')+_0x1cd3('0x4e2d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.LASTMESSAGE\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x4128')+_0x1cd3('0x41e0')+_0x1cd3('0x72c8')+_0x1cd3('0x4128')+_0x1cd3('0x4e2a')+_0x1cd3('0x72c9')+_0x1cd3('0x4128')+_0x1cd3('0x41e2')+_0x1cd3('0x72ca')+_0x1cd3('0x4128')+_0x1cd3('0x412e')+_0x1cd3('0x412f')+_0x1cd3('0x417f')+_0x1cd3('0x4130')+_0x1cd3('0x72cb')+_0x1cd3('0x41e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{interaction.id}}\x0a'+_0x1cd3('0x4133')+_0x1cd3('0x41e7')+_0x1cd3('0x41e8')+_0x1cd3('0x41e9')+_0x1cd3('0x56a0')+_0x1cd3('0x41ea')+_0x1cd3('0x41eb')+_0x1cd3('0x4202')+_0x1cd3('0x41ec')+_0x1cd3('0x41ed')+_0x1cd3('0x3951')+_0x1cd3('0x41ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x200\x22\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22>\x0a'+_0x1cd3('0x41f0')+_0x1cd3('0x3f1c')+_0x1cd3('0x3951')+_0x1cd3('0x41ee')+_0x1cd3('0x41f1')+_0x1cd3('0x41f2')+_0x1cd3('0x41ed')+_0x1cd3('0x3951')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41f3')+_0x1cd3('0x41f4')+_0x1cd3('0x41f5')+_0x1cd3('0x41f6')+_0x1cd3('0x41f7')+_0x1cd3('0x376e')+_0x1cd3('0x4133')+_0x1cd3('0x41f8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20interaction.createdAt\x20|\x20formatdate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x41fa')+_0x1cd3('0x56a4')+_0x1cd3('0x41fb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4283')+_0x1cd3('0x41fd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20interaction.lastMsgAt\x20|\x20formatdate\x20}}\x0a'+_0x1cd3('0x36b7')+_0x1cd3('0x3f1c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4e37')+_0x1cd3('0x4202')+_0x1cd3('0x4206')+_0x1cd3('0x4e38')+_0x1cd3('0x72cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-\x20{{\x20interaction.disposition\x20}}\x0a'+_0x1cd3('0x4202')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4133')+_0x1cd3('0x3a4d')+_0x1cd3('0x4207')+_0x1cd3('0x72cd')+_0x1cd3('0x4133')+_0x1cd3('0x4208')+_0x1cd3('0x4209')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x420a')+_0x1cd3('0x420b')+_0x1cd3('0x56a6')+_0x1cd3('0x420c')+_0x1cd3('0x4e3b')+_0x1cd3('0x36b7')+_0x1cd3('0x413e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7293')+_0x1cd3('0x4141')+_0x1cd3('0x4185')+'\x20\x0a'+_0x1cd3('0x4167')+_0x1cd3('0x420e')+_0x1cd3('0x72ce')+_0x1cd3('0x4210')+_0x1cd3('0x3a52')+_0x1cd3('0x4149')+_0x1cd3('0x4211')+_0x1cd3('0x72cf')+_0x1cd3('0x4e3e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4149')+_0x1cd3('0x4216')+_0x1cd3('0x72d0')+_0x1cd3('0x4217')+_0x1cd3('0x3a52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x414a')+_0x1cd3('0x4189')+_0x1cd3('0x414b')+_0x1cd3('0x412f')+_0x1cd3('0x72d1')+_0x1cd3('0x4219')+_0x1cd3('0x414d')+_0x1cd3('0x72d2')+_0x1cd3('0x414f')+_0x1cd3('0x4150')+_0x1cd3('0x412f')+_0x1cd3('0x4151')+_0x1cd3('0x4152')+'\x20\x20\x0a'+_0x1cd3('0x72d3')+_0x1cd3('0x3824')+'\x0a'+_0x1cd3('0x3e51')+_0x1cd3('0x3fba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e53')+'\x0a'+_0x1cd3('0x3686')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x376e'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x72d4'),'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3666')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39da')+_0x1cd3('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+_0x1cd3('0x7227')+_0x1cd3('0x72d5')+_0x1cd3('0x3e85')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x72d6')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Key\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x723a')+_0x1cd3('0x72d7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x3b24')+_0x1cd3('0x723b')+_0x1cd3('0x3756')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x0a'+_0x1cd3('0x72d8')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x72d9')+_0x1cd3('0x3b24')+_0x1cd3('0x71fd')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x39ef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39f3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x72db')+_0x1cd3('0x39f6')+_0x1cd3('0x72dc')+_0x1cd3('0x72dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20WHATSAPPCANNEDANSWER\x0a'+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x72de')+_0x1cd3('0x72df')+_0x1cd3('0x3a20')+_0x1cd3('0x7205')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x39fe')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x2770'),_0x1cd3('0x72e0')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3666')+_0x1cd3('0x3667')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x0a'+_0x1cd3('0x72e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e3')+_0x1cd3('0x39e2')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e5')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x72e2')+_0x1cd3('0x3b24')+_0x1cd3('0x71dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d8')+_0x1cd3('0x39d9')+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x39ef')+_0x1cd3('0x388f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x72e4')+_0x1cd3('0x39f6')+_0x1cd3('0x72e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22WHATSAPP.ADD_WHATSAPPDISPOSITION\x22\x20translate-attr-aria-label=\x22WHATSAPP.ADD_WHATSAPPDISPOSITION\x22>\x0a'+_0x1cd3('0x72e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x39fa')+_0x1cd3('0x72e7')+_0x1cd3('0x72df')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7205')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x350'),_0x1cd3('0x72e8')+'\x0a'+_0x1cd3('0x3adc')+_0x1cd3('0x39ff')+'\x0a'+_0x1cd3('0x3add')+_0x1cd3('0x37e6')+_0x1cd3('0x3a00')+_0x1cd3('0x3ade')+_0x1cd3('0x72e9')+_0x1cd3('0x38f9')+_0x1cd3('0x72ea')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x3ae1')+'\x0a'+_0x1cd3('0x3ae2')+_0x1cd3('0x3ae3')+_0x1cd3('0x3a02')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae4')+_0x1cd3('0x3a04')+_0x1cd3('0x3a05')+_0x1cd3('0x72eb')+_0x1cd3('0x36c2')+_0x1cd3('0x366a')+_0x1cd3('0x3ae5')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae6')+'\x0a'+_0x1cd3('0x3a07')+'\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a'+_0x1cd3('0x3a09')+'\x0a'+_0x1cd3('0x72ec')+_0x1cd3('0x3a0b')+_0x1cd3('0x3ae8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Back\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x3a0c')+'\x0a'+_0x1cd3('0x3a0d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x72ed')+_0x1cd3('0x72ee')+_0x1cd3('0x38f9')+'\x0a'+_0x1cd3('0x3aeb')+_0x1cd3('0x3a11')+_0x1cd3('0x3a12')+_0x1cd3('0x3aec')+_0x1cd3('0x72ef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x367d')+_0x1cd3('0x3a15')+_0x1cd3('0x3a16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3c2e')+_0x1cd3('0x3849')+_0x1cd3('0x3aee')+_0x1cd3('0x3a16')+_0x1cd3('0x72f0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Select\x20none\x0a'+_0x1cd3('0x3849')+_0x1cd3('0x3aee')+_0x1cd3('0x3a1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a1b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a1e')+_0x1cd3('0x72f1')+_0x1cd3('0x72f2')+_0x1cd3('0x3a20')+_0x1cd3('0x3859')+_0x1cd3('0x3841')+_0x1cd3('0x36f6')+_0x1cd3('0x3686')+_0x1cd3('0x3a21')+'\x0a'+_0x1cd3('0x3a22')+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a25')+_0x1cd3('0x72f3')+_0x1cd3('0x3a27')+_0x1cd3('0x3af3')+_0x1cd3('0x72f4')+_0x1cd3('0x72f5')+_0x1cd3('0x3a2a')+_0x1cd3('0x3a2b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.ID\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.NAME\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x72f6')+_0x1cd3('0x72f7')+_0x1cd3('0x72f8')+_0x1cd3('0x72f9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.DESCRIPTION\x27\x20|\x20translate\x20}}\x0a'+_0x1cd3('0x3a33')+_0x1cd3('0x3a34')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a35')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a38')+_0x1cd3('0x72fa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3af8')+_0x1cd3('0x3a34')+_0x1cd3('0x72fb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x72fc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{whatsappAccount.key}}\x0a'+_0x1cd3('0x72ff')+_0x1cd3('0x7300')+_0x1cd3('0x7301')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22type\x20\x22>{{\x20vm.arraytype[whatsappAccount.type].option\x20}}\x0a'+_0x1cd3('0x7301')+_0x1cd3('0x7302')+_0x1cd3('0x72ff')+_0x1cd3('0x7303')+_0x1cd3('0x3b02')+'\x0a'+_0x1cd3('0x3cdd')+'\x0a'+_0x1cd3('0x3a49')+'\x0a'+_0x1cd3('0x3a4a')+_0x1cd3('0x7304')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x395d')+'\x0a'+_0x1cd3('0x3b04')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3a4f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7305')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3ce1')+'\x0a'+_0x1cd3('0x7306')+_0x1cd3('0x7307')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Interactions\x20WhatsappAccount\x0a'+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3ce1')+'\x0a'+_0x1cd3('0x7308')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22WHATSAPP.AGENTADD_WHATSAPPACCOUNT\x22>\x0a'+_0x1cd3('0x7309')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3a5a')+'\x0a'+_0x1cd3('0x730a')+_0x1cd3('0x730b')+_0x1cd3('0x730c')+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3699')+'\x0a'+_0x1cd3('0x369a')+_0x1cd3('0x3951')+'\x0a'+'\x0a'+_0x1cd3('0x3a34')+_0x1cd3('0x3a5d')+_0x1cd3('0x3a5e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a61')+_0x1cd3('0x730d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a64')+_0x1cd3('0x36f6')+_0x1cd3('0x3a65')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a66')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x730e')+_0x1cd3('0x730f')+_0x1cd3('0x3b0f')+_0x1cd3('0x376d')+_0x1cd3('0x7310')+_0x1cd3('0x3686'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x2716'),'\x0a'+_0x1cd3('0x7311')+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x39d6')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39de')+_0x1cd3('0x71d8')+_0x1cd3('0x7312')+_0x1cd3('0x39e1')+_0x1cd3('0x3e46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x1cd3('0x7313')+_0x1cd3('0x3dff')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x71da')+_0x1cd3('0x7314')+_0x1cd3('0x3b24')+_0x1cd3('0x71dc')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7315')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+_0x1cd3('0x7316')+_0x1cd3('0x7317')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6f')+_0x1cd3('0x3e07')+_0x1cd3('0x3a4d')+_0x1cd3('0x3e08')+_0x1cd3('0x3e09')+_0x1cd3('0x3a4d')+_0x1cd3('0x3e0a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7318')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Strategy\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent_Timeout\x0a'+_0x1cd3('0x7319')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x3e0d')+_0x1cd3('0x3e0e')+_0x1cd3('0x39e4')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+_0x1cd3('0x39e6')+_0x1cd3('0x39e2')+_0x1cd3('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x731a')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent_Timeout\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent_Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e13')+_0x1cd3('0x731b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e15')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x38c3')+_0x1cd3('0x39da')+_0x1cd3('0x39db')+_0x1cd3('0x3669')+_0x1cd3('0x39dc')+_0x1cd3('0x39dd')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x39ef')+_0x1cd3('0x388f')+_0x1cd3('0x731d')+_0x1cd3('0x3ad7')+_0x1cd3('0x731e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22WHATSAPP.SAVE\x22\x20translate-attr-aria-label=\x22WHATSAPP.SAVE\x22>\x0a'+_0x1cd3('0x39f3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x731f')+_0x1cd3('0x39f6')+_0x1cd3('0x7320')+_0x1cd3('0x7321')+_0x1cd3('0x7322')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x39fa')+_0x1cd3('0x7323')+_0x1cd3('0x72df')+_0x1cd3('0x3a20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x2718'),'\x0a'+_0x1cd3('0x7324')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3d4f')+_0x1cd3('0x7325')+_0x1cd3('0x3d50')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366b')+_0x1cd3('0x366c')+_0x1cd3('0x3e21')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e23')+_0x1cd3('0x3ba9')+_0x1cd3('0x3671')+_0x1cd3('0x3675')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')]('app/main/apps/whatsapp/views/whatsappQueues/edit/teamadd/teamadd.html','\x0a'+_0x1cd3('0x7324')+_0x1cd3('0x3e1f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7326')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+_0x1cd3('0x366c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e27')+_0x1cd3('0x3ba9')+_0x1cd3('0x3671')+_0x1cd3('0x3675')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x384d'));_0x404b17['put'](_0x1cd3('0x34c'),_0x1cd3('0x7327')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b9f')+_0x1cd3('0x3d5a')+_0x1cd3('0x7328')+_0x1cd3('0x7329')+_0x1cd3('0x732a')+_0x1cd3('0x3ba1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x732b')+_0x1cd3('0x732c')+_0x1cd3('0x3669')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ba3')+_0x1cd3('0x732d')+_0x1cd3('0x732e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x732f')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x39ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7330')+_0x1cd3('0x3e33')+_0x1cd3('0x4e87')+_0x1cd3('0x7331')+_0x1cd3('0x3e35')+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e31')+_0x1cd3('0x7332')+_0x1cd3('0x3e36')+_0x1cd3('0x3e37')+_0x1cd3('0x7333')+_0x1cd3('0x3e39')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x38c3')+_0x1cd3('0x7334')+_0x1cd3('0x3e3b')+_0x1cd3('0x3d24')+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x3686')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a22')+_0x1cd3('0x3e3c')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fda')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SETTINGS\x0a'+_0x1cd3('0x3e3f')+_0x1cd3('0x3e40')+_0x1cd3('0x7335')+_0x1cd3('0x3e42')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GENERAL\x0a'+_0x1cd3('0x386f')+_0x1cd3('0x3e44')+_0x1cd3('0x3e45')+_0x1cd3('0x71d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e49')+_0x1cd3('0x3b24')+_0x1cd3('0x71dc')+_0x1cd3('0x3756')+_0x1cd3('0x3e03')+_0x1cd3('0x7315')+_0x1cd3('0x3756')+_0x1cd3('0x3a6b')+_0x1cd3('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7316')+_0x1cd3('0x7317')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x39e1')+_0x1cd3('0x3a6e')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x1cd3('0x3a6f')+_0x1cd3('0x3e07')+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Beepall\x0a'+_0x1cd3('0x3e09')+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>RR\x20Memory\x0a'+_0x1cd3('0x3acc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b24')+_0x1cd3('0x7336')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36aa')+_0x1cd3('0x3acf')+_0x1cd3('0x7337')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39ed')+_0x1cd3('0x3f9e')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent_Timeout\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4e')+_0x1cd3('0x7338')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent_Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x202147483\x0a'+_0x1cd3('0x3e12')+_0x1cd3('0x3e15')+_0x1cd3('0x36aa')+_0x1cd3('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x0a'+_0x1cd3('0x7339')+_0x1cd3('0x39e1')+_0x1cd3('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e2')+_0x1cd3('0x39e2')+_0x1cd3('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39e7')+_0x1cd3('0x39ed')+_0x1cd3('0x3e4f')+_0x1cd3('0x3b24')+_0x1cd3('0x71fd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fa6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3fba')+_0x1cd3('0x3e52')+_0x1cd3('0x3e53')+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a66')+'\x0a'+_0x1cd3('0x376e'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x733a'),_0x1cd3('0x733b')+'\x0a'+_0x1cd3('0x3adc')+_0x1cd3('0x39ff')+'\x0a'+_0x1cd3('0x3add')+_0x1cd3('0x37e6')+_0x1cd3('0x3a00')+_0x1cd3('0x3ade')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x733c')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3ae2')+_0x1cd3('0x3ae3')+_0x1cd3('0x3a02')+_0x1cd3('0x3a03')+_0x1cd3('0x3ae4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a05')+_0x1cd3('0x72eb')+_0x1cd3('0x36c2')+_0x1cd3('0x366a')+_0x1cd3('0x3ae5')+_0x1cd3('0x3756')+_0x1cd3('0x3686')+_0x1cd3('0x3ae6')+'\x0a'+_0x1cd3('0x3a07')+_0x1cd3('0x733d')+_0x1cd3('0x3a09')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3ae8')+_0x1cd3('0x733e')+_0x1cd3('0x3671')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a0c')+'\x0a'+_0x1cd3('0x3a0d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x733f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20selected\x0a'+_0x1cd3('0x38f9')+'\x0a'+_0x1cd3('0x3aeb')+_0x1cd3('0x3a11')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22$mdOpenMenu($event)\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22multi\x20select\x20toggle\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22WHATSAPP.MULTI_SELECT_TOGGLE\x22>\x0a'+_0x1cd3('0x3a14')+_0x1cd3('0x367d')+_0x1cd3('0x3a15')+_0x1cd3('0x3a16')+_0x1cd3('0x7340')+_0x1cd3('0x3c2e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3aee')+_0x1cd3('0x3a16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a19')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3aee')+_0x1cd3('0x3a1a')+_0x1cd3('0x3aef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a1b')+_0x1cd3('0x7341')+_0x1cd3('0x3a1d')+_0x1cd3('0x3a1e')+_0x1cd3('0x7342')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22WHATSAPP.DELETE_SELECTED\x22>\x0a'+_0x1cd3('0x3a20')+_0x1cd3('0x3859')+_0x1cd3('0x3841')+_0x1cd3('0x36f6')+_0x1cd3('0x3686')+_0x1cd3('0x3a21')+'\x0a'+_0x1cd3('0x3a22')+_0x1cd3('0x3a23')+'\x0a'+_0x1cd3('0x3af1')+_0x1cd3('0x3a24')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7343')+_0x1cd3('0x3a27')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7344')+_0x1cd3('0x7345')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7346')+_0x1cd3('0x7347')+_0x1cd3('0x7348')+_0x1cd3('0x3a33')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a35')+_0x1cd3('0x7349')+_0x1cd3('0x42f9')+_0x1cd3('0x3a38')+_0x1cd3('0x72fa')+_0x1cd3('0x3a3a')+_0x1cd3('0x3af8')+_0x1cd3('0x3a34')+_0x1cd3('0x734a')+_0x1cd3('0x734b')+_0x1cd3('0x734c')+_0x1cd3('0x734d')+_0x1cd3('0x734e')+_0x1cd3('0x734f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22name\x20\x22\x20>{{whatsappQueue.name}}\x0a'+_0x1cd3('0x7350')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22strategy\x20\x22>{{\x20vm.arraystrategy[whatsappQueue.strategy].option\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3cdd')+'\x0a'+_0x1cd3('0x3a49')+'\x0a'+_0x1cd3('0x3a4a')+_0x1cd3('0x7304')+_0x1cd3('0x3a4c')+_0x1cd3('0x395d')+'\x0a'+_0x1cd3('0x3b04')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3a4f')+'\x0a'+_0x1cd3('0x7351')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22WHATSAPP.EDIT_WHATSAPPQUEUE\x22>\x0a'+_0x1cd3('0x7352')+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x7353')+_0x1cd3('0x7354')+_0x1cd3('0x7355')+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3ce1')+'\x0a'+_0x1cd3('0x7356')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22WHATSAPP.AGENTADD_WHATSAPPQUEUE\x22>\x0a'+_0x1cd3('0x7357')+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a54')+'\x0a'+_0x1cd3('0x3a4d')+_0x1cd3('0x3a4e')+'\x0a'+_0x1cd3('0x3a5a')+'\x0a'+_0x1cd3('0x7358')+_0x1cd3('0x7359')+_0x1cd3('0x735a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3a4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x3ce1')+'\x0a'+_0x1cd3('0x735b')+_0x1cd3('0x735c')+_0x1cd3('0x735d')+_0x1cd3('0x3a52')+'\x0a'+_0x1cd3('0x3a53')+'\x0a'+_0x1cd3('0x3a59')+_0x1cd3('0x3a59')+_0x1cd3('0x3699')+'\x0a'+_0x1cd3('0x369a')+_0x1cd3('0x3951')+'\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x735e')+_0x1cd3('0x3a63')+'\x0a'+_0x1cd3('0x3a64')+_0x1cd3('0x36f6')+_0x1cd3('0x3a65')+'\x0a'+_0x1cd3('0x3686')+_0x1cd3('0x3a66')+'\x0a'+_0x1cd3('0x735f')+_0x1cd3('0x7360')+_0x1cd3('0x7361')+_0x1cd3('0x3b0f')+_0x1cd3('0x376d')+_0x1cd3('0x7362')+_0x1cd3('0x3686'));_0x404b17['put'](_0x1cd3('0xd07'),'\x0a'+_0x1cd3('0x7363')+'');_0x404b17['put']('app/navigation/layouts/vertical-navigation-fullwidth-toolbar-2/navigation.html','\x0a'+'');_0x404b17[_0x1cd3('0x37b')]('app/navigation/layouts/vertical-navigation/navigation.html',_0x1cd3('0x7364')+_0x1cd3('0x7365')+_0x1cd3('0x7366')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7367')+_0x1cd3('0x3686')+_0x1cd3('0x7368')+_0x1cd3('0x423c')+'\x0a'+_0x1cd3('0x7369'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0xd0f'),'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x736a')+_0x1cd3('0x736b')+_0x1cd3('0x736c')+_0x1cd3('0x736d')+_0x1cd3('0x736e')+_0x1cd3('0x736f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x1cd3('0x7370')+_0x1cd3('0x7371')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7372')+_0x1cd3('0x7373')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x736e')+_0x1cd3('0x7374')+_0x1cd3('0x7375')+_0x1cd3('0x7370')+_0x1cd3('0x7376')+_0x1cd3('0x736b')+_0x1cd3('0x7377')+_0x1cd3('0x7378')+_0x1cd3('0x736d')+_0x1cd3('0x736e')+_0x1cd3('0x7379')+_0x1cd3('0x7375')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x485f')+_0x1cd3('0x37cf'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x737a'),_0x1cd3('0x737b')+_0x1cd3('0x737c')+_0x1cd3('0x737d')+_0x1cd3('0x737e')+'\x0a'+_0x1cd3('0x737f')+_0x1cd3('0x7380')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x7381')+'\x0a'+_0x1cd3('0x4b0b')+_0x1cd3('0x7382')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{friend.time}}

\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4b12')+'\x0a'+'\x0a'+_0x1cd3('0x4b59')+'\x0a'+_0x1cd3('0x7383')+_0x1cd3('0x737c')+'\x20\x20\x20\x20\x20\x20\x20\x20Application\x20Servers\x0a'+_0x1cd3('0x737e')+'\x0a'+_0x1cd3('0x7384')+_0x1cd3('0x7385')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

{{server.location}}

\x0a'+_0x1cd3('0x7386')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4b12')+'\x0a'+'\x0a'+_0x1cd3('0x4b59')+'\x0a'+_0x1cd3('0x7387')+_0x1cd3('0x737c')+_0x1cd3('0x7388')+_0x1cd3('0x737e')+'\x0a'+_0x1cd3('0x7389')+_0x1cd3('0x4b0b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{stat.title}}\x20({{stat.current}}\x20/\x20{{stat.total}})\x0a'+_0x1cd3('0x738a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20value=\x22{{stat.percent}}\x22>\x0a'+_0x1cd3('0x36f6')+_0x1cd3('0x4b12')+_0x1cd3('0x738b'));_0x404b17['put']('app/quick-panel/tabs/chat/chat-tab.html','\x0a'+_0x1cd3('0x737c')+_0x1cd3('0x738c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x738d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-placeholder=\x22QUICKPANEL.SEARCH\x22\x20flex>\x0a'+_0x1cd3('0x738e')+_0x1cd3('0x738f')+_0x1cd3('0x7390')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Online\x0a'+_0x1cd3('0x5116')+_0x1cd3('0x7391')+_0x1cd3('0x7392')+_0x1cd3('0x5116')+_0x1cd3('0x366e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x737e')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x737e')+'\x0a'+_0x1cd3('0x37bd')+'\x0a'+_0x1cd3('0x73e8')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x73e9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x73ea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{group.unreadGroupMessages}}\x0a'+_0x1cd3('0x739b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x73eb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x73ec')+_0x1cd3('0x3671')+'\x0a'+_0x1cd3('0x73ed')+_0x1cd3('0x5539')+_0x1cd3('0x73ee')+_0x1cd3('0x73ef')+_0x1cd3('0x73f0')+_0x1cd3('0x366a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x73f1')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x73f2')+'\x0a'+'\x0a'+_0x1cd3('0x73f3')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x73f4')+_0x1cd3('0x73f5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3671')+_0x1cd3('0x73f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x73f7')+'\x0a'+_0x1cd3('0x73aa')+_0x1cd3('0x73f8')+_0x1cd3('0x73f9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x73fa')+_0x1cd3('0x73fb')+_0x1cd3('0x73fc')+_0x1cd3('0x73bc')+_0x1cd3('0x73fd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm_cg.group.membersByKeys[message.FromId].fullname}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x73fe')+_0x1cd3('0x367a')+_0x1cd3('0x73ff')+_0x1cd3('0x7400')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x7401')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x73c7')+_0x1cd3('0x36ed')+_0x1cd3('0x3681')+_0x1cd3('0x376e'));_0x404b17[_0x1cd3('0x37b')]('app/quick-panel/tabs/groups/info/dialog.html',_0x1cd3('0x73c8')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3666')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3858')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+_0x1cd3('0x7402')+_0x1cd3('0x464a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7403')+_0x1cd3('0x3756')+_0x1cd3('0x7404')+_0x1cd3('0x7405')+_0x1cd3('0x7406')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x38c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x366a')+_0x1cd3('0x366f')+_0x1cd3('0x3681')+_0x1cd3('0x3676'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x7407'),_0x1cd3('0x7408')+_0x1cd3('0x7409')+_0x1cd3('0x740a')+_0x1cd3('0x740b')+_0x1cd3('0x740c')+_0x1cd3('0x740d')+_0x1cd3('0x740e')+_0x1cd3('0x740f')+_0x1cd3('0x7410')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x4b12')+_0x1cd3('0x4b23')+'\x0a'+_0x1cd3('0x7411')+'\x0a'+_0x1cd3('0x7412')+'\x20\x20\x20\x20Events\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x4b0b')+_0x1cd3('0x7413')+'\x0a'+_0x1cd3('0x7414')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x4b23')+'\x0a'+_0x1cd3('0x4b59')+'\x0a'+_0x1cd3('0x7412')+_0x1cd3('0x7415')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7416')+'\x0a'+_0x1cd3('0x7417')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4b12')+'\x0a'+'\x0a'+_0x1cd3('0x4b59')+'\x0a'+'\x0a'+_0x1cd3('0x7418')+'\x0a'+_0x1cd3('0x7419')+_0x1cd3('0x741a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x4b12')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20Retro\x20Thrusters\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20-->\x0a');_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x356'),_0x1cd3('0x741e')+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x741f')+'\x0a'+_0x1cd3('0x39c0')+'\x0a'+_0x1cd3('0x7420')+'\x0a'+_0x1cd3('0x7421')+'\x0a'+_0x1cd3('0x39ad')+_0x1cd3('0x7422')+_0x1cd3('0x7423')+_0x1cd3('0x7424')+_0x1cd3('0x7425')+_0x1cd3('0x39c6')+_0x1cd3('0x7426')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7427')+_0x1cd3('0x7428')+_0x1cd3('0x36b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36c2')+'\x0a'+_0x1cd3('0x39ad')+_0x1cd3('0x7429')+_0x1cd3('0x742a')+_0x1cd3('0x742b')+_0x1cd3('0x742c')+_0x1cd3('0x742d')+_0x1cd3('0x742e')+_0x1cd3('0x36b7')+_0x1cd3('0x3756')+_0x1cd3('0x36c2')+'\x0a'+_0x1cd3('0x742f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22resetPasswordForm.$invalid\x20||\x20resetPasswordForm.$pristine\x22\x0a'+_0x1cd3('0x7430')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22RESETPASSWORD.UPDATE_PASSWORD\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RESET\x20MY\x20PASSWORD\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x39b8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a');_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x2935'),'\x0a'+'\x20\x20\x20\x20\x0a'+_0x1cd3('0x3666')+_0x1cd3('0x3667')+_0x1cd3('0x7431')+_0x1cd3('0x7432')+_0x1cd3('0x7433')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+_0x1cd3('0x39d7')+_0x1cd3('0x3b14')+_0x1cd3('0x3b1f')+_0x1cd3('0x3b15')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x1cd3('0x3b17')+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x367d')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7434')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7435')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Password\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3b28')+_0x1cd3('0x7436')+_0x1cd3('0x7437')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7438')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Must\x20contain\x20at\x20least\x208\x20characters,\x20with\x20a\x20minimum\x20of\x201\x20lowercase\x20letter,\x201\x20uppercase\x20letter,\x201\x20numeric\x20character\x20and\x201\x20special\x20character\x20~!?*@#$%^&-_=+[{]}.\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7439')+_0x1cd3('0x743a')+_0x1cd3('0x3756')+_0x1cd3('0x3669')+_0x1cd3('0x36aa')+_0x1cd3('0x3b28')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Confirm\x20Password\x0a'+_0x1cd3('0x63dd')+_0x1cd3('0x743b')+_0x1cd3('0x3b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Confirm\x20field\x20is\x20required\x0a'+_0x1cd3('0x3756')+_0x1cd3('0x63af')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Your\x20password\x20did\x20not\x20match\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b14')+_0x1cd3('0x3b1f')+_0x1cd3('0x3b15')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x1cd3('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3b19')+_0x1cd3('0x367d')+_0x1cd3('0x3669')+_0x1cd3('0x366a')+_0x1cd3('0x366f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x388f')+_0x1cd3('0x743c')+_0x1cd3('0x3891')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x3675')+_0x1cd3('0x3681')+_0x1cd3('0x384d'));_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x743d'),_0x1cd3('0x37d1')+_0x1cd3('0x743e')+_0x1cd3('0x743f')+_0x1cd3('0x7440')+_0x1cd3('0x36ed')+'\x0a'+_0x1cd3('0x7441')+'\x0a'+_0x1cd3('0x7442')+'\x0a'+_0x1cd3('0x7443')+_0x1cd3('0x7444')+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x7445')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7446')+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x7447')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3686')+'\x0a'+_0x1cd3('0x7448')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x7449')+_0x1cd3('0x744a')+_0x1cd3('0x744b')+'\x0a'+_0x1cd3('0x744c')+_0x1cd3('0x744d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x744e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x744f')+_0x1cd3('0x7450')+_0x1cd3('0x3859')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7451')+_0x1cd3('0x7452')+_0x1cd3('0x367d')+_0x1cd3('0x4b93')+_0x1cd3('0x7453')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7454')+_0x1cd3('0x7455')+_0x1cd3('0x3849')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7456')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7457')+_0x1cd3('0x3849')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3a1a')+_0x1cd3('0x3aef')+_0x1cd3('0x366a')+_0x1cd3('0x36f6')+_0x1cd3('0x7449')+'\x0a'+_0x1cd3('0x7458')+_0x1cd3('0x7459')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20days\x20>\x200\x20?\x20days\x20+\x20\x27d\x27\x20:\x20\x27\x27\x20}}\x20{{hhours}}:{{mminutes}}:{{sseconds}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27TOOLBAR.LOGIN_TIME\x27\x20|\x20translate}}\x0a'+_0x1cd3('0x745a')+_0x1cd3('0x366a')+_0x1cd3('0x745b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20days\x20>\x200\x20?\x20days\x20+\x20\x27d\x27\x20:\x20\x27\x27\x20}}\x20{{hhours}}:{{mminutes}}:{{sseconds}}\x0a'+_0x1cd3('0x745c')+_0x1cd3('0x745d')+_0x1cd3('0x366a')+_0x1cd3('0x745e')+_0x1cd3('0x745f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36f6')+'\x0a'+_0x1cd3('0x7460')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7461')+_0x1cd3('0x7462')+_0x1cd3('0x7463')+_0x1cd3('0x7464')+_0x1cd3('0x7465')+_0x1cd3('0x7466')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x36b7')+_0x1cd3('0x7467')+_0x1cd3('0x7468')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.user.name}}\x20<{{vm.user.internal}}>\x0a'+_0x1cd3('0x36b7')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3859')+'\x0a'+_0x1cd3('0x5bd9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7469')+_0x1cd3('0x746a')+_0x1cd3('0x59e3')+'\x0a'+_0x1cd3('0x746b')+_0x1cd3('0x746c')+_0x1cd3('0x746d')+_0x1cd3('0x59e3')+'\x0a'+_0x1cd3('0x746e')+'\x0a'+_0x1cd3('0x746b')+_0x1cd3('0x746f')+_0x1cd3('0x7470')+_0x1cd3('0x59e3')+_0x1cd3('0x59f4')+_0x1cd3('0x481a')+_0x1cd3('0x7471')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x7472')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.contacts\x20>\x2099\x20?\x20\x2799+\x27\x20:\x20vm.contacts}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Preview\x0a'+_0x1cd3('0x36ed')+'\x0a'+_0x1cd3('0x7473')+'\x0a'+_0x1cd3('0x7474')+_0x1cd3('0x7475')+_0x1cd3('0x7476')+_0x1cd3('0x7477')+_0x1cd3('0x3669')+_0x1cd3('0x3671')+'\x0a'+_0x1cd3('0x7478')+_0x1cd3('0x7479')+_0x1cd3('0x747a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x747b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{lang.title}}\x0a'+_0x1cd3('0x4283')+_0x1cd3('0x367d')+_0x1cd3('0x480f')+_0x1cd3('0x38ee')+_0x1cd3('0x747c')+'\x0a'+_0x1cd3('0x7442')+'\x0a'+_0x1cd3('0x747d')+_0x1cd3('0x747e')+_0x1cd3('0x36ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x747e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x1cd3('0x747f')+'\x0a'+_0x1cd3('0x7480')+_0x1cd3('0x7481')+_0x1cd3('0x7482')+_0x1cd3('0x36ed')+'\x20\x20\x20\x20\x0a'+'\x0a');_0x404b17[_0x1cd3('0x37b')](_0x1cd3('0x292f'),_0x1cd3('0x7483')+_0x1cd3('0x7484')+_0x1cd3('0x470d')+_0x1cd3('0x3667')+_0x1cd3('0x7485')+_0x1cd3('0x3857')+_0x1cd3('0x3858')+_0x1cd3('0x3859')+_0x1cd3('0x366a')+_0x1cd3('0x366b')+'\x0a'+_0x1cd3('0x39d7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7486')+_0x1cd3('0x7487')+_0x1cd3('0x7488')+_0x1cd3('0x44da')+_0x1cd3('0x7489')+_0x1cd3('0x748a')+_0x1cd3('0x748b')+_0x1cd3('0x44da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x44dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x748c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Tags\x0a'+_0x1cd3('0x748d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Company\x0a'+_0x1cd3('0x748e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3669')+_0x1cd3('0x748f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7490')+_0x1cd3('0x7491')+_0x1cd3('0x7492')+_0x1cd3('0x44da')+_0x1cd3('0x3669')+_0x1cd3('0x7493')+_0x1cd3('0x7494')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7492')+_0x1cd3('0x44da')+_0x1cd3('0x3669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x7495')+_0x1cd3('0x7496')+_0x1cd3('0x366a')+_0x1cd3('0x366f')+'\x0a'+_0x1cd3('0x7497')+_0x1cd3('0x7498')+_0x1cd3('0x7499')+_0x1cd3('0x3671')+_0x1cd3('0x749a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3671')+_0x1cd3('0x749b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x1cd3('0x3671')+_0x1cd3('0x3675')+_0x1cd3('0x3681')+'');}]); \ No newline at end of file +var _0x77d4=['\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-style=\x22{\x27color\x27:\x20\x27red\x27\x20}\x22\x20md-font-icon=\x22icon-block-helper\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

{{user.name}}\x20<{{user.internal}}>

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

{{user.lastMessage.body\x20|\x20limitTo:20\x20}}{{user.lastMessage.body.length\x20>\x2020\x20?\x20\x27...\x27\x20:\x20\x27\x27\x20}}

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{user.lastMessageAt\x20|\x20formatdate}}

\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm_ct.user.fullname}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22vm_ct.license.webrtc\x20&&\x20vm_ct.currentUser.role\x20===\x20\x27agent\x27\x20&&\x20vm_ct.currentUser.showWebBar\x20===\x202\x20&&\x20vm_ct.user.role\x20===\x20\x27agent\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22md-icon-button\x22\x20aria-label=\x22Call\x22\x20translate\x20translate-attr-aria-label=\x22QUICKPANEL.CALL\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.CALL_NUMBER\x27\x20|\x20translate}}\x20({{vm_ct.user.name}})\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.TRANSFER_NUMBER\x27\x20|\x20translate}}\x20({{vm_ct.user.name}})\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{message.createdAt\x20|\x20formatdate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-font-icon=\x22icon-check-all\x20md-accent\x22>\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-model=\x22vm_ct.replyMessage\x22\x20placeholder=\x22Type\x20and\x20hit\x20enter\x20to\x20send\x20message\x22\x20translate\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-placeholder=\x22QUICKPANEL.REPLY_PLACEHOLDER\x22\x20autofocus>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22QUICKPANEL.SEND_MESSAGE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20must\x20be\x20valid\x20pattern\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Members\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Members\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27QUICKPANEL.ENABLE_WRITING\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','app/quick-panel/tabs/groups/group-tab.html','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{group.unreadGroupMessages}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27QUICKPANEL.NO_AVAILABLE_GROUPS\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm_cg.group.membersByKeys[message.FromId].fullname}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{message.createdAt\x20|\x20formatdate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{user.fullname}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','app/quick-panel/tabs/today/today-tab.html','\x0a','\x20\x20\x20\x20Today\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20th\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-placeholder=\x22RESETPASSWORD.PASSWORD\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Must\x20contain\x20at\x20least\x208\x20characters,\x20with\x20a\x20minimum\x20of\x201\x20lowercase\x20letter,\x201\x20uppercase\x20letter,\x201\x20numeric\x20character\x20and\x201\x20special\x20character\x20~!?*@#$%^&-_=+[{]}.\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20placeholder=\x22Password\x20(Confirm)\x22\x20match-password=\x22password\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-placeholder=\x22RESETPASSWORD.PASSWORD_CONFIRM\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Your\x20password\x20did\x20not\x20match\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22resetPasswordForm.$invalid\x20||\x20resetPasswordForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22RESETPASSWORD.UPDATE_PASSWORD\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Reset\x20Password\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Old\x20Password\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Password\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20New\x20Password\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Must\x20contain\x20at\x20least\x208\x20characters,\x20with\x20a\x20minimum\x20of\x201\x20lowercase\x20letter,\x201\x20uppercase\x20letter,\x201\x20numeric\x20character\x20and\x201\x20special\x20character\x20~!?*@#$%^&-_=+[{]}.\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Confirm\x20Password\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Confirm\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Your\x20password\x20did\x20not\x20match\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Trial\x20Version\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.getLogo()\x20|\x20uppercase\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27TOOLBAR.RESUME\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27TOOLBAR.PAUSE\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{pause.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20days\x20>\x200\x20?\x20days\x20+\x20\x27d\x27\x20:\x20\x27\x27\x20}}\x20{{hhours}}:{{mminutes}}:{{sseconds}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27TOOLBAR.PAUSE_TIME\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.user.pauseType\x20||\x20\x27default\x27\x20|\x20uppercase}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.user.fullname}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.user.name}}\x20<{{vm.user.internal}}>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SETTINGS\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Logout\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.contacts\x20>\x2099\x20?\x20\x2799+\x27\x20:\x20vm.contacts}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Preview\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','app/toolbar/preview/dialog.html','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Preview\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ID\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Queue\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Tags\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20no\x20contacts\x20available\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','app.auth','app.core','ngAria','ngCookies','ngSanitize','ngMaterial','pascalprecht.translate','ui.router','ui.router.state.events','gridster','$inject','module','app.errors.error-404','config','state','/errors/error-404','app/core/layouts/content-only.html','app/errors/404/error-404.html','Error404Controller\x20as\x20vm','app/errors/404','$translatePartialLoaderProvider','app.errors_error-500','MainController\x20as\x20vm','app/errors/500/error-500.html','Error500Controller\x20as\x20vm','addPart','app.errors','app.errors.error-500','app.footer','app/footer','$stateProvider','app.forgot','/forgot','app/forgot/forgot.html','ForgotPasswordController\x20as\x20vm','forgot','app/forgot','app/header','motion','angular-toasty','app.navigation','app.toolbar','app.quick-panel','app.header','app.dashboards','app.staff','app.contactmanager','app.voice','app.chat','app.mail','app.sms','app.openchannel','app.fax','app.tools','app.callysquare','app.analytics','app.integrations','app.settings','app.motiondialer','app.jscripty','app.plugins','app.video','app.whatsapp','app.reset','app.login','app/login/login.html','app/login','msNavigationServiceProvider','ngCsv','ngPassword','mdColorPicker','ckeditor','ng-sortable','mdPickers','mwFormBuilder','mwFormViewer','mwFormUtils','ngclipboard','ngEmbed','angularMaterialFormBuilder','chart.js','app.analytics.reports','app.analytics.metrics','/metrics','app/main/apps/analytics/views/metrics/metrics.html','Auth','hasRole','analyticMetric@get','createdAt,updatedAt,id,name,table,metric,description','-updatedAt','resolve','userProfile@getResources','getCurrentUser','Metrics','apiResolver','admin','id,name,crudPermissions','userProfileId','userProfileSection@get','id,name,enabled,includeAll,autoAssociation,crudPermissions','analytics','app.analytics.extractedReports','/extractedReports','app/main/apps/analytics/views/extractedReports/extractedReports.html','ExtractedReportsController\x20as\x20vm','ExtractedReports','createdAt,updatedAt,id,name,basename,savename,type,startDate,endDate,status,output,reportId,reportType','userProfile@get','app/main/apps/analytics','ngJsTree','app/main/apps/analytics/views/reports/reports.html','analyticTreeReport@get','app/main/apps/analytics/views/reports/edit/view.html','ReportController\x20as\x20vm','$stateParams','describeTable','analyticCustomReport@get','createdAt,updatedAt,id,name,description,table,conditions,joins','then','parse','joins','length','getColumns','log','all','foreignTableFields','difference','keys','$resolved','md.data.table','ngAnimate','angular-cron-jobs','angular.filter','OdbcsController\x20as\x20vm','ODBC','callysquare','app.callysquare.squareRecordings','app/main/apps/callysquare/views/squareRecordings/squareRecordings.html','SquareRecordingsController\x20as\x20vm','squareRecording@get','createdAt,updatedAt,id,filename,projectName,uniqueid,callerid,extension,audio,savePath,format','SquareRecordings','app/main/apps/callysquare','app.callysquare.projects','/projects','app/main/apps/callysquare/views/projects/projects.html','ProjectsController\x20as\x20vm','id,name,description,notes','name','SquareProjects','app.callysquare.projects.edit','app/main/apps/callysquare/views/projects/edit/view.html','ProjectController\x20as\x20vm','user@get','id,fullname,role','trunk@get','id,name','voiceQueue@get','inbound','VoiceQueues','sound@get','Sounds','squareProject@get','voiceContext@get','id,name,IntervalId','Intervals','mailAccount@get','MailAccounts','template@get','Lists','SmsAccounts','pause@get','Pauses','msApiProvider','flow','material.components.expansionPanels','app.chat.realtime','/chat','app.chat.chatQueues','/chatQueues','app/main/apps/chat/views/chatQueues/chatQueues.html','createdAt,updatedAt,id,name,strategy,timeout,description','chat','app.chat.chatQueues.edit','/:id?tab','app/main/apps/chat/views/chatQueues/edit/view.html','chatQueue@get','app.chat.chatWebsites','/chatWebsites','ChatWebsitesController\x20as\x20vm','chatWebsite@get','createdAt,updatedAt,id,token,agentIdentifier,customerAlias,messageFontSize,name,key,address,remote,ListId,fidelity,timeout,agentAlias,closingQuestion,formSubmitSuccessMessage,formSubmitFailureMessage,color,color_focus,color_button,textColor,backgroundColor,fontSize,header_shape,showAgentAvatar,showCustomerAvatar,alignment,verticalAlignment,messagesAlignment,defaultTitle,animation,defaultWhiteLabel,whiteLabel,defaultLogo,conditionAgreement,autoclose,enableUnmanagedNote,unmanagedMessage,skipUnmanaged,sendUnmanaged,enableCustomerWriting,waitingTitle,waitingMessage,closingMessage,noteTitle,placeholderMessage,skipMessageButton,enableRating,ratingType,ratingStarsNumber,enableFeedback,feedbackTitle,forwardTranscript,forwardTranscriptMessage,closingMessageButton,download_transcript,enableCustomerAttachment,enableSendButton,enableCustomerCheckmarks,systemAlias,enquiry_enable,enquiry_forwarding,enquiry_forwarding_address,name_title,username_placeholder,email_title,email_placeholder,header_online,hideWhenOffline,header_offline,start_chat_button,offline_chat_button,offlineMessageSubject,offlineMessageBody,offline_message,message_title,enquiry_message_placeholder,enquiry_button,rating_message,rating_send,rating_skip,onlineForm,offlineForm,mapKey,mapKeyOffline,forwardOffline,forwardOfflineAddress,IntervalId,timezone,waitForTheAssignedAgent,mandatoryDisposition,mandatoryDispositionPauseId,description,notificationSound,notificationShake,notificationTemplate,queueTransfer,queueTransferTimeout,agentTransfer,agentTransferTimeout,vidaooEscalation,vidaooApiKey','ChatWebsites','app.chat.chatWebsites.edit','app/main/apps/chat/views/chatWebsites/edit/view.html','ChatWebsiteController\x20as\x20vm','app/main/apps/chat','/realtime','app/main/apps/chat/views/realtime/realtime.html','ChatRealtimeController\x20as\x20vm','app.chat.realtime.agents','/agents','AgentsChatRealtimeController\x20as\x20vm','app/main/apps/chat/views/realtime/agents/view.html','id,name,fullname,role,userpic,internal,online,voicePause,openchannelPause,faxPause,chatPause,smsPause,whatsappPause,mailPause,pauseType,lastPauseAt,lastLoginAt,lastPauseAt,chatCapacity,mailCapacity,openchannelCapacity,faxCapacity,smsCapacity,whatsappCapacity,screenrecording,phoneBarEnableScreenRecordingByAgent,phoneBarEnableAutomaticScreenRecording','fullname','Agents','agent','rpc@getAgents','app.chat.realtime.queues','/queues','QueuesChatRealtimeController\x20as\x20vm','ChatQueues','rpc@getChatQueues','app.contactmanager.contacts','/contactmanager','app.contactmanager.lists','/lists','app/main/apps/contactmanager/views/lists/lists.html','cmList@get','createdAt,updatedAt,id,name,description,dialPrefix','app.contactmanager.lists.edit','app/main/apps/contactmanager/views/lists/edit/view.html','ListController\x20as\x20vm','contactmanager','/companies','cmCompany@get','createdAt,updatedAt,id,name,phone,vat,fax,companyId,type,website,emailDomain,email,description,sStreet,sPostalCode,sCity,sCountry,street,postalCode,city,country','app.contactmanager.companies.edit','CompanyController\x20as\x20vm','/globalCustomFields','app/main/apps/contactmanager/views/globalCustomFields/globalCustomFields.html','cmCustomField@get','createdAt,updatedAt,id,alias,type,values,required','null','app/main/apps/contactmanager','/contacts?ListId&CompanyId','app/main/apps/contactmanager/views/contacts/contacts.html','cmContact@get','merge','Contacts','lists','rows','Companies','companies','tag@get','ContactController\x20as\x20vm','dateOfBirth','catch','cmContact@getHoppers','id,phone,scheduledat,priority,recallme,VoiceQueueId,CampaignId,UserId','cmContact@getHopperFinals','id,uniqueid,calleridnum,statedesc,starttime,disposition','id,uniqueid,calleridnum,statedesc,scheduledat,starttime,endtime','cmContact@getJscriptySessions','id,starttime,endtime,membername,projectname','contact','cmList@getCustomFields','Tags','app.dashboards.general','app/main/apps/dashboards','app.dashboards.custom','app/main/apps/dashboards/views/custom/custom.html','DashboardCustomController\x20as\x20vm','voice','rpc@getVoiceQueues','find','pick','waiting','total','talking','answered','unmanaged','abandoned','dashboards','ngMaterialDateRangePicker','app.dashboards.general.user','/general','$templateFactory','isAgent','fromUrl','app/main/apps/dashboards/views/general/agent/agent.general.html','app/main/apps/dashboards/views/general/user/user.general.html','AgentDashboardGeneralController\x20as\x20vm','UserDashboardGeneralController\x20as\x20vm','user@getLists','app.dashboards.general.voice','/voice','app/main/apps/dashboards/views/general/user/voice/user.general.voice.html','UserVoiceDashboardGeneralController\x20as\x20vm','rpc@getOutbound','app.dashboards.general.dialer','/dialer','app/main/apps/dashboards/views/general/user/dialer/user.general.dialer.html','UserVoiceDashboardDialerController\x20as\x20vm','outbound','QueueCampaigns','rpc@getCampaigns','app.dashboards.general.chat','app/main/apps/dashboards/views/general/user/chat/user.general.chat.html','chatInteraction@get','startOf','utcOffset','format','endOf','createdAt,updatedAt,id,token,agentIdentifier,customerAlias,messageFontSize,name,key,address,remote,ListId,fidelity,timeout,agentAlias,closingQuestion,formSubmitSuccessMessage,formSubmitFailureMessage,color,color_focus,color_button,textColor,backgroundColor,fontSize,header_shape,showAgentAvatar,showCustomerAvatar,alignment,verticalAlignment,messagesAlignment,defaultTitle,animation,defaultWhiteLabel,whiteLabel,defaultLogo,conditionAgreement,autoclose,enableUnmanagedNote,unmanagedMessage,skipUnmanaged,sendUnmanaged,enableCustomerWriting,waitingTitle,waitingMessage,closingMessage,noteTitle,placeholderMessage,skipMessageButton,enableRating,ratingType,ratingStarsNumber,enableFeedback,forwardTranscript,forwardTranscriptMessage,closingMessageButton,download_transcript,enableCustomerAttachment,systemAlias,enquiry_enable,enquiry_forwarding,enquiry_forwarding_address,name_title,username_placeholder,email_title,email_placeholder,header_online,hideWhenOffline,header_offline,start_chat_button,offline_chat_button,offlineMessageSubject,offlineMessageBody,header_offline,offline_message,message_title,enquiry_message_placeholder,enquiry_button,rating_message,rating_send,rating_skip,acceptMethod,acceptUrl,rejectMethod,rejectUrl,closeMethod,closeUrl,onlineForm,offlineForm,mapKey,mapKeyOffline,forwardTranscript,forwardOffline,forwardOfflineAddress,IntervalId,timezone,waitForTheAssignedAgent,description,notificationSound,notificationShake,notificationTemplate','app.dashboards.general.mail','/mail','app/main/apps/dashboards/views/general/user/mail/user.general.mail.html','UserMailDashboardGeneralController\x20as\x20vm','mailInteraction@get','day','createdAt,updatedAt,id,name,key,email,ListId,active,cservice,Imap.service,Imap.host,Imap.port,Imap.tls,Imap.authentication,Imap.user,Imap.password,Imap.mailbox,Imap.connTimeout,Imap.authTimeout,Smtp.service,Smtp.host,Smtp.port,Smtp.secure,Smtp.authentication,Smtp.user,Smtp.pass,cauthentication,cuser,cpassword,fontFamily,fontSize,template,markAsUnread,waitForTheAssignedAgent,description,notificationSound,notificationShake,notificationTemplate,queueTransfer,queueTransferTimeout,agentTransfer,agentTransferTimeout','app.dashboards.general.sms','/sms','app/main/apps/dashboards/views/general/user/sms/user.general.sms.html','UserSmsDashboardGeneralController\x20as\x20vm','smsAccount@get','createdAt,updatedAt,id,name,key,token,remote,ListId,phone,type,accountSid,authId,authToken,smsMethod,username,password,senderString,deliveryReport,waitForTheAssignedAgent,description,receiveUrl,deliveryReportUrl,notificationSound,notificationShake,notificationTemplate','app.dashboards.general.openchannel','/openchannel','createdAt,updatedAt,id,name,key,token,replyUri,ListId,waitForTheAssignedAgent,mapKey,description,receiveUri,notificationSound,notificationShake,notificationTemplate','OpenchannelAccounts','app.dashboards.general.fax','/fax','app/main/apps/dashboards/views/general/user/fax/user.general.fax.html','UserFaxDashboardGeneralController\x20as\x20vm','faxAccount@get','createdAt,updatedAt,id,name,key,headerinfo,TrunkId,localstationid,ListId,waitForTheAssignedAgent,description,ecm,minrate,maxrate,modem,gateway,faxdetect,t38timeout,tech,acceptMethod,acceptUrl,rejectMethod,rejectUrl,closeMethod,closeUrl,notificationSound,notificationShake,notificationTemplate','FaxAccounts','app.dashboards.general.whatsapp','app/main/apps/dashboards/views/general/user/whatsapp/user.general.whatsapp.html','UserWhatsappDashboardGeneralController\x20as\x20vm','whatsappAccount@get','createdAt,updatedAt,id,name,key,token,remote,ListId,phone,type,accountSid,authId,authToken,whatsappMethod,username,password,senderString,deliveryReport,waitForTheAssignedAgent,description,receiveUrl,deliveryReportUrl,notificationSound,notificationShake,notificationTemplate','WhatsappAccounts','app.fax.faxQueues','app/main/apps/fax/views/faxQueues/faxQueues.html','FaxQueuesController\x20as\x20vm','faxQueue@get','fax','FaxQueues','app.fax.faxQueues.edit','FaxQueueController\x20as\x20vm','app/main/apps/fax/views/faxAccounts/faxAccounts.html','FaxAccountsController\x20as\x20vm','createdAt,updatedAt,id,name,key,headerinfo,TrunkId,localstationid,ListId,waitForTheAssignedAgent,mandatoryDisposition,mandatoryDispositionPauseId,description,ecm,minrate,maxrate,modem,gateway,faxdetect,t38timeout,tech,notificationSound,notificationShake,notificationTemplate,queueTransfer,queueTransferTimeout,agentTransfer,agentTransferTimeout','app.fax.faxAccounts.edit','FaxAccountController\x20as\x20vm','app/main/apps/fax','app/main/apps/fax/views/realtime/realtime.html','AgentsFaxRealtimeController\x20as\x20vm','app/main/apps/fax/views/realtime/agents/view.html','app.fax.realtime.trunks','/trunks','app/main/apps/fax/views/realtime/trunks/view.html','rpc@getTrunks','app.fax.realtime.queues','QueuesFaxRealtimeController\x20as\x20vm','app/main/apps/fax/views/realtime/queues/view.html','app.fax.realtime.accounts','/accounts','FaxAccountsRealtimeController\x20as\x20vm','app/main/apps/fax/views/realtime/accounts/view.html','rpc@getFaxAccounts','app.help.about','app.help','/help','app/main/apps/help','app/main/apps/help/views/about/about.html','help','/integrations','app.integrations.zendeskAccounts','/zendeskAccounts','intZendeskAccount@get','createdAt,updatedAt,id,name,type,username,remoteUri,authType,password,token,serverUrl,description','ZendeskAccounts','integrations','app.integrations.zendeskAccounts.edit','app/main/apps/integrations/views/zendeskAccounts/edit/view.html','ZendeskAccountController\x20as\x20vm','app.integrations.salesforceAccounts','/salesforceAccounts','app/main/apps/integrations/views/salesforceAccounts/salesforceAccounts.html','SalesforceAccountsController\x20as\x20vm','intSalesforceAccount@get','createdAt,updatedAt,id,name,type,username,remoteUri,password,clientId,clientSecret,securityToken,serverUrl,description','SalesforceAccounts','SalesforceAccountController\x20as\x20vm','/freshdeskAccounts','app/main/apps/integrations/views/freshdeskAccounts/freshdeskAccounts.html','intFreshdeskAccount@get','createdAt,updatedAt,id,name,username,remoteUri,apiKey,serverUrl,description','app/main/apps/integrations/views/freshdeskAccounts/edit/view.html','app.integrations.sugarcrmAccounts','/sugarcrmAccounts','app/main/apps/integrations/views/sugarcrmAccounts/sugarcrmAccounts.html','intSugarcrmAccount@get','SugarcrmAccounts','createdAt,updatedAt,id,name,username,remoteUri,password,serverUrl,description','app.integrations.sugarcrmAccounts.edit','SugarcrmAccountController\x20as\x20vm','app.integrations.deskAccounts','/deskAccounts','app/main/apps/integrations/views/deskAccounts/deskAccounts.html','intDeskAccount@get','createdAt,updatedAt,id,name,type,remoteUri,authType,username,password,serverUrl,description','DeskAccounts','app.integrations.deskAccounts.edit','app/main/apps/integrations/views/deskAccounts/edit/view.html','app.integrations.zohoAccounts','ZohoAccountsController\x20as\x20vm','intZohoAccount@get','createdAt,updatedAt,id,name,host,zone,clientId,clientSecret,code,refreshToken,serverUrl,description','ZohoAccounts','app/main/apps/integrations/views/zohoAccounts/edit/view.html','ZohoAccountController\x20as\x20vm','app.integrations.vtigerAccounts','/vtigerAccounts','app/main/apps/integrations/views/vtigerAccounts/vtigerAccounts.html','VtigerAccountsController\x20as\x20vm','intVtigerAccount@get','createdAt,updatedAt,id,name,description,username,accessKey,remoteUri,serverUrl','VtigerAccounts','app.integrations.vtigerAccounts.edit','app/main/apps/integrations/views/vtigerAccounts/edit/view.html','VtigerAccountController\x20as\x20vm','/dynamics365Accounts','app/main/apps/integrations/views/dynamics365Accounts/dynamics365Accounts.html','Dynamics365AccountsController\x20as\x20vm','intDynamics365Account@get','createdAt,updatedAt,id,name,username,password,remoteUri,tenantId,clientId,clientSecret,serverUrl,description','Dynamics365Accounts','app.integrations.dynamics365Accounts.edit','app/main/apps/integrations/views/dynamics365Accounts/edit/view.html','Dynamics365AccountController\x20as\x20vm','app.integrations.servicenowAccounts','/servicenowAccounts','app/main/apps/integrations/views/servicenowAccounts/servicenowAccounts.html','ServicenowAccountsController\x20as\x20vm','intServicenowAccount@get','createdAt,updatedAt,id,name,username,password,email,remoteUri,serverUrl,description','ServicenowAccounts','app/main/apps/integrations/views/servicenowAccounts/edit/view.html','ServicenowAccountController\x20as\x20vm','app.integrations.freshsalesAccounts','/freshsalesAccounts','FreshsalesAccountsController\x20as\x20vm','intFreshsalesAccount@get','FreshsalesAccounts','app.integrations.freshsalesAccounts.edit','app/main/apps/integrations/views/freshsalesAccounts/edit/view.html','FreshsalesAccountController\x20as\x20vm','/jscripty','app.jscripty.projects','app/main/apps/jscripty/views/projects/projects.html','jscriptyProject@get','createdAt,updatedAt,id,name,enableUncompleteSave,sendUnpauseOnSubmit,description,formData','Projects','jscripty','app.jscripty.projects.edit','JscriptyProjectController\x20as\x20vm','app/main/apps/jscripty','app.mail.realtime','app.mail.mailQueues','/mailQueues','app/main/apps/mail/views/mailQueues/mailQueues.html','MailQueuesController\x20as\x20vm','mailQueue@get','MailQueues','mail','app.mail.mailQueues.edit','app/main/apps/mail/views/mailQueues/edit/view.html','MailQueueController\x20as\x20vm','app.mail.mailAccounts','/mailAccounts','MailAccountsController\x20as\x20vm','createdAt,updatedAt,id,name,key,email,ListId,active,cservice,Imap.service,Imap.host,Imap.port,Imap.tls,Imap.authentication,Imap.user,Imap.password,Imap.mailbox,Imap.connTimeout,Imap.authTimeout,Smtp.service,Smtp.host,Smtp.port,Smtp.secure,Smtp.authentication,Smtp.user,Smtp.pass,cauthentication,cuser,cpassword,fontFamily,fontSize,template,markAsUnread,waitForTheAssignedAgent,mandatoryDisposition,mandatoryDispositionPauseId,description,notificationSound,notificationShake,notificationTemplate,queueTransfer,queueTransferTimeout,agentTransfer,agentTransferTimeout','app.mail.mailAccounts.edit','app/main/apps/mail/views/mailAccounts/edit/view.html','MailAccountController\x20as\x20vm','app.mail.mailSubtatuses','app/main/apps/mail/views/mailSubtatuses/mailSubtatuses.html','MailSubstatusesController\x20as\x20vm','mailSubstatus@get','createdAt,updatedAt,id,name,description','app/main/apps/mail','MailRealtimeController\x20as\x20vm','app.mail.realtime.agents','app/main/apps/mail/views/realtime/agents/view.html','app.mail.realtime.queues','QueuesMailRealtimeController\x20as\x20vm','app/main/apps/mail/views/realtime/queues/view.html','rpc@getMailQueues','app.mail.realtime.accounts','MailAccountsRealtimeController\x20as\x20vm','app/main/apps/mail/views/realtime/accounts/view.html','rpc@getMailAccounts','app.marketplace','app.marketplace.plugins','/plugins','app/main/apps/marketplace/views/plugins/plugins.html','MarketplacePluginsController\x20as\x20vm','plugin@get','createdAt,updatedAt,id,name,type,active,description,icon,sidebar,path,adminUrl,agentUrl,scriptName,scriptPath,version','app.marketplace.plugins.edit','app/main/apps/marketplace/views/plugins/edit/view.html','MarketplacePluginController\x20as\x20vm','marketplace','app/main/apps/marketplace','/motiondialer','app.motiondialer.queueCampaigns','app/main/apps/motiondialer/views/queueCampaigns/queueCampaigns.html','QueueCampaignsController\x20as\x20vm','createdAt,updatedAt,id,name,dialActive,TrunkId,TrunkBackupId,type,IntervalId,dialCheckDuplicateType,dialCutDigit,acw,acwTimeout,autopause,ringinuse,memberdelay,timeoutrestart,monitor_format,context,setinterfacevar,setqueuevar,setqueueentryvar,dialOrderByScheduledAt,dialRecallMeTimeout,dialRecallInQueue,dialGlobalInterval,dialTimezone,dialAMDActive,dialAMDInitialSilence,dialAMDGreeting,dialAMDAfterGreetingSilence,dialAMDTotalAnalysisTime,dialAMDMinWordLength,dialAMDBetweenWordsSilence,dialAMDMaximumNumberOfWords,dialAMDSilenceThreshold,dialAMDMaximumWordLength,dialMethod,dialPowerLevel,dialPredictiveOptimization,dialPredictiveOptimizationPercentage,dialPredictiveInterval,dialLimitQueue,dialOriginateCallerIdName,dialOriginateCallerIdNumber,dialRandomLastDigitCallerIdNumber,dialOriginateTimeout,dialPrefix,dialQueueOptions,dialQueueTimeout,strategy,timeout,retry,wrapuptime,weight,musiconhold,dialQueueProject,dialQueueProject2,dialAgiAfterHangupAgent,dialGlobalMaxRetry,dialCongestionMaxRetry,dialCongestionRetryFrequency,dialBusyMaxRetry,dialBusyRetryFrequency,dialNoAnswerMaxRetry,dialNoAnswerRetryFrequency,dialNoSuchNumberMaxRetry,dialNoSuchNumberRetryFrequency,dialDropMaxRetry,dialDropRetryFrequency,dialAbandonedMaxRetry,dialAbandonedRetryFrequency,dialMachineMaxRetry,dialMachineRetryFrequency,dialAgentRejectMaxRetry,dialAgentRejectRetryFrequency,description,mandatoryDisposition,mandatoryDispositionPauseId,dialPredictiveIntervalMaxThreshold,dialPredictiveIntervalMinThreshold','motiondialer','app.motiondialer.queueCampaigns.edit','app/main/apps/motiondialer/views/queueCampaigns/edit/view.html','QueueCampaignController\x20as\x20vm','IvrCampaignsController\x20as\x20vm','createdAt,updatedAt,id,name,active,TrunkId,TrunkBackupId,type,IntervalId,dialCheckDuplicateType,dialCutDigit,SquareProjectId,limitCalls,description,dialOriginateCallerIdName,dialOriginateCallerIdNumber,dialRandomLastDigitCallerIdNumber,dialOriginateTimeout,dialGlobalMaxRetry,dialCongestionMaxRetry,dialCongestionRetryFrequency,dialBusyMaxRetry,dialBusyRetryFrequency,dialNoAnswerMaxRetry,dialNoAnswerRetryFrequency,dialNoSuchNumberMaxRetry,dialNoSuchNumberRetryFrequency,dialDropMaxRetry,dialDropRetryFrequency,dialAbandonedMaxRetry,dialAbandonedRetryFrequency,dialMachineMaxRetry,dialMachineRetryFrequency,dialAgentRejectMaxRetry,dialAgentRejectRetryFrequency,dialOrderByScheduledAt,dialGlobalInterval,dialTimezone,dialPrefix,dialAMDActive,dialAMDInitialSilence,dialAMDGreeting,dialAMDAfterGreetingSilence,dialAMDTotalAnalysisTime,dialAMDMinWordLength,dialAMDBetweenWordsSilence,dialAMDMaximumNumberOfWords,dialAMDSilenceThreshold,dialAMDMaximumWordLength','ivr','IvrCampaigns','app/main/apps/motiondialer/views/ivrCampaigns/edit/view.html','IvrCampaignController\x20as\x20vm','campaign@get','app/main/apps/motiondialer','app.motiondialer.realtime','app/main/apps/motiondialer/views/realtime/realtime.html','MotionDialerRealtimeController\x20as\x20vm','AgentsMotionDialerRealtimeController\x20as\x20vm','app/main/apps/motiondialer/views/realtime/agents/view.html','app.motiondialer.realtime.queues','QueuesMotionDialerRealtimeController\x20as\x20vm','app/main/apps/motiondialer/views/realtime/queues/view.html','app.motiondialer.realtime.queue_calls','/queue_calls','QueueCallsMotionDialerRealtimeController\x20as\x20vm','app/main/apps/motiondialer/views/realtime/queue_calls/view.html','id,name,role,context','app.motiondialer.realtime.abandonedcalls','AbandonedCallsMotionDialerRealtimeController\x20as\x20vm','app/main/apps/motiondialer/views/realtime/abandonedcalls/view.html','disposition@get','Dispositions','/queue_params','app/main/apps/motiondialer/views/realtime/queue_params/view.html','app/main/apps/motiondialer/views/realtime/ivr_campaigns/view.html','app.openchannel.realtime','app.openchannel.openchannelQueues','/openchannelQueues','app/main/apps/openchannel/views/openchannelQueues/openchannelQueues.html','OpenchannelQueuesController\x20as\x20vm','openchannelQueue@get','openchannel','OpenchannelQueues','app.openchannel.openchannelQueues.edit','app/main/apps/openchannel/views/openchannelQueues/edit/view.html','OpenchannelQueueController\x20as\x20vm','/openchannelAccounts','app/main/apps/openchannel/views/openchannelAccounts/openchannelAccounts.html','OpenchannelAccountsController\x20as\x20vm','createdAt,updatedAt,id,name,key,token,replyUri,ListId,waitForTheAssignedAgent,mapKey,mandatoryDisposition,mandatoryDispositionPauseId,description,receiveUri,notificationSound,notificationShake,notificationTemplate,queueTransfer,queueTransferTimeout,agentTransfer,agentTransferTimeout','app.openchannel.openchannelAccounts.edit','app/main/apps/openchannel/views/openchannelAccounts/edit/view.html','OpenchannelAccountController\x20as\x20vm','openchannelAccount@get','app/main/apps/openchannel','OpenchannelRealtimeController\x20as\x20vm','app.openchannel.realtime.agents','AgentsOpenchannelRealtimeController\x20as\x20vm','app/main/apps/openchannel/views/realtime/agents/view.html','app.openchannel.realtime.queues','QueuesOpenchannelRealtimeController\x20as\x20vm','app/main/apps/openchannel/views/realtime/queues/view.html','rpc@getOpenchannelQueues','app.plugins.plugin','app/main/apps/plugins','/plugin/:id','app/main/apps/plugins/views/plugin/plugin.html','PluginController\x20as\x20vm','plugins','app.settings.updates','app.settings.license','/settings','app.settings.generals','/generals','app/main/apps/settings/views/generals/generals.html','setting@get','createdAt,updatedAt,id,min_internal,securePassword,callRecordingEncryption,chatTimeout,phoneBarAutoUpdater,defaultScreenRecordingPath,phoneBarAutoUpdaterUrl,enableEmailPreview,split,splitSizeCsv,splitSizePdf,splitSizeXlsx,messagesAlignment,phoneBarRememberMeEnabled,rtlSupport,allowedLoginAttempts,blockDuration,loginMailFrequency,language,bucket,transcribe,transcribeRegion,transcribeAccountId,sentiment,sentimentRegion,sentimentAccountId,googleSsoEnabled','settings','/smtps','SmtpController\x20as\x20vm','createdAt,updatedAt,id,service,name,email,Smtp.service,Smtp.host,Smtp.port,Smtp.secure,Smtp.authentication,Smtp.user,Smtp.pass,description','app.settings.networks','/networks','app/main/apps/settings/views/networks/networks.html','NetworksController\x20as\x20vm','network@get','createdAt,updatedAt,id,type,value,username,password','app.settings.customizations','/customizations','app/main/apps/settings/views/customizations/customizations.html','CustomizationsController\x20as\x20vm','/cloudProviders','cloudProvider@get','app/main/apps/settings','/license','app/main/apps/settings/views/license/license.html','LicenseController\x20as\x20vm','app.settings.system','/system?tab','app/main/apps/settings/views/system/system.html','system@get','pm2@get','app/main/apps/settings/views/updates/updates.html','UpdatesController\x20as\x20vm','version@get','app.sms.smsQueues','app/main/apps/sms/views/smsQueues/smsQueues.html','SmsQueuesController\x20as\x20vm','smsQueue@get','sms','app.sms.smsQueues.edit','app/main/apps/sms/views/smsQueues/edit/view.html','SmsQueueController\x20as\x20vm','app.sms.smsAccounts','app/main/apps/sms/views/smsAccounts/smsAccounts.html','SmsAccountsController\x20as\x20vm','app.sms.smsAccounts.edit','app/main/apps/sms/views/smsAccounts/edit/view.html','app/main/apps/sms','app.sms.realtime','app/main/apps/sms/views/realtime/realtime.html','SmsRealtimeController\x20as\x20vm','app.sms.realtime.agents','app.sms.realtime.queues','QueuesSmsRealtimeController\x20as\x20vm','app/main/apps/sms/views/realtime/queues/view.html','SmsQueues','/staff','/users','UsersController\x20as\x20vm','admin,user','app.staff.users.edit','app/main/apps/staff/views/users/edit/view.html','UserController\x20as\x20vm','createdAt,updatedAt,role,userProfileId,id,fullname,name,email,phone,mobile,userpic,password,description,autointernal,internal,transport,nat,allow,context,callgroup,pickupgroup,passwordResetAt,apiKey,videosupport,disabled,blocked','staff','app.staff.agents','app/main/apps/staff/views/agents/agents.html','AgentsController\x20as\x20vm','createdAt,updatedAt,id,role,fullname,name,alias,showWebBar,email,phone,mobile,userpic,password,hotdesk,autointernal,internal,loginInPause,description,dtlscertfile,dtlsprivatekey,voicemail,transport,host,nat,type,allow,callerid,context,callgroup,pickupgroup,chanspy,videosupport,extensionMonitor,chatCapacity,mailCapacity,smsCapacity,openchannelCapacity,faxCapacity,whatsappCapacity,phoneBarEnableSettings,phoneBarAutoAnswer,phoneBarAutoAnswerDelay,phoneBarRingInUse,phoneBarEnableRecording,phoneBarEnableDtmfTone,phoneBarDnd,phoneBarUnansweredCallBadge,phoneBarEnableJaws,phoneBarOutboundProxy,phoneBarUnconditional,phoneBarUnconditionalNumber,phoneBarRemoteControl,phoneBarRemoteControlPort,phoneBarExpires,phoneBarListenPort,permissions,allowmessenger,phoneBarPrefixRequired,passwordResetAt,disabled,blocked,phoneBarEnableScreenRecordingByAgent,phoneBarEnableAutomaticScreenRecording','app.staff.agents.edit','app/main/apps/staff/views/agents/edit/view.html','AgentController\x20as\x20vm','app.staff.telephones','/telephones','app/main/apps/staff/views/telephones/telephones.html','TelephonesController\x20as\x20vm','createdAt,updatedAt,id,role,fullname,name,email,password,description,autointernal,internal,voicemail,transport,nat,allow,callerid,context,callgroup,pickupgroup,videosupport,encryption,phone,mobile','telephone','Telephones','app.staff.telephones.edit','app/main/apps/staff/views/telephones/edit/view.html','TelephoneController\x20as\x20vm','app.staff.teams','/teams','app/main/apps/staff/views/teams/teams.html','TeamsController\x20as\x20vm','team@get','Teams','app.staff.userProfiles','UserProfilesController\x20as\x20vm','createdAt,updatedAt,id,name,description,crudPermissions','app.staff.userProfiles.edit','UserProfileController\x20as\x20vm','app/main/apps/staff','/tools','/cannedAnswers','app/main/apps/tools/views/cannedAnswers/cannedAnswers.html','CannedAnswersController\x20as\x20vm','createdAt,updatedAt,id,key,value,description','CannedAnswers','tools','/dispositions','app/main/apps/tools/views/dispositions/dispositions.html','DispositionsController\x20as\x20vm','createdAt,updatedAt,id,name','app.tools.customDashboards','/customDashboards','app/main/apps/tools/views/customDashboards/customDashboards.html','CustomDashboardsController\x20as\x20vm','dashboard@get','CustomDashboards','app.tools.customDashboards.edit','CustomDashboardController\x20as\x20vm','app.tools.intervals','app/main/apps/tools/views/intervals/intervals.html','IntervalsController\x20as\x20vm','app/main/apps/tools/views/intervals/edit/view.html','interval@get','app/main/apps/tools/views/pauses/pauses.html','PausesController\x20as\x20vm','app.tools.schedules','/schedules','app/main/apps/tools/views/schedules/schedules.html','schedule@get','createdAt,updatedAt,id,name,CustomReportId,DefaultReportId,output,active,startAt,endAt,cron,subtractNumber,subtractUnit,sendMail,MailAccountId,email,cc,bcc,sendIfEmpty,description','Scheduler','app.tools.sounds','app/main/apps/tools/views/sounds/sounds.html','SoundsController\x20as\x20vm','app/main/apps/tools/views/tags/tags.html','TagsController\x20as\x20vm','createdAt,updatedAt,id,name,description,color','app.tools.templates','app/main/apps/tools/views/templates/templates.html','TemplatesController\x20as\x20vm','createdAt,updatedAt,id,name,html,description','Templates','app.tools.triggers','app/main/apps/tools/views/triggers/triggers.html','TriggersController\x20as\x20vm','trigger@get','createdAt,updatedAt,id,name,channel,status,description','Triggers','app.tools.triggers.edit','app/main/apps/tools/views/triggers/edit/view.html','app.tools.trunks','app/main/apps/tools/views/trunks/trunks.html','TrunksController\x20as\x20vm','createdAt,updatedAt,id,name,active,host,secret,defaultuser,context,callerid,type,dtmfmode,nat,qualify,allow,insecure,call_limit,registry,description,directmedia,callcounter,fromdomain,fromuser,outboundproxy,usereqphone,trustrpid,sendrpid,encryption,port,transport,t38pt_udptl,videosupport,otherFields','app.tools.trunks.edit','app/main/apps/tools/views/trunks/edit/view.html','TrunkController\x20as\x20vm','app.tools.variables','/variables','app/main/apps/tools/views/variables/variables.html','VariablesController\x20as\x20vm','Variables','app/main/apps/tools','/video','app.video.screenRecordings','app/main/apps/video/views/screenRecordings/screenRecordings.html','ScreenRecordingsController\x20as\x20vm','screenRecording@get','createdAt,updatedAt,id,interactionid,channel,format,value,rating,UserId,duration,startedAt,closedAt','firstLastDayMonth','ScreenRecordings','true','app/main/apps/video','app.voice.realtime','AgentsVoiceRealtimeController\x20as\x20vm','app/main/apps/voice/views/realtime/agents/view.html','app.voice.realtime.telephones','TelephonesVoiceRealtimeController\x20as\x20vm','app/main/apps/voice/views/realtime/telephones/view.html','id,fullname,userpic,internal','app.voice.realtime.trunks','TrunksVoiceRealtimeController\x20as\x20vm','app/main/apps/voice/views/realtime/trunks/view.html','Trunks','app.voice.realtime.queues','QueuesVoiceRealtimeController\x20as\x20vm','app/main/apps/voice/views/realtime/queues/view.html','app.voice.realtime.queue_calls','QueueCallsVoiceRealtimeController\x20as\x20vm','rpc@getVoiceQueuesChannels','app.voice.realtime.abandonedcalls','app/main/apps/voice/views/realtime/abandonedcalls/view.html','app.voice.realtime.queue_params','QueueParamsVoiceRealtimeController\x20as\x20vm','app/main/apps/voice/views/realtime/queue_params/view.html','app.voice.realtime.outbound_calls','/outbound_calls','OutboundCallsVoiceRealtimeController\x20as\x20vm','app/main/apps/voice/views/realtime/outbound_calls/view.html','rpc@getOutboundChannels','/voiceQueues','app/main/apps/voice/views/voiceQueues/voiceQueues.html','createdAt,updatedAt,id,name,type,strategy,timeout,maxlen,retry,wrapuptime,weight,joinempty,leavewhenempty,musiconhold,announce,description,periodic_announce,queue_reporthold,queue_youarenext,queue_thereare,queue_callswaiting,queue_holdtime,queue_minutes,queue_minute,queue_seconds,queue_thankyou,announce_frequency,min_announce_frequency,periodic_announce_frequency,random_periodic_announce,announce_holdtime,announce_position,announce_position_limit,reportholdtime,acw,acwTimeout,autopause,ringinuse,memberdelay,timeoutrestart,monitor_format,context,setinterfacevar,setqueuevar,setqueueentryvar,servicelevel,mandatoryDisposition,mandatoryDispositionPauseId','app.voice.voiceQueues.edit','app/main/apps/voice/views/voiceQueues/edit/view.html','VoiceQueueController\x20as\x20vm','app.voice.inboundroutes','/inboundroutes','InboundRoutesController\x20as\x20vm','voiceExtension@get','createdAt,updatedAt,id,appdata,type,exten,context,description','InboundRoutes','app.voice.inboundroutes.edit','InboundRouteController\x20as\x20vm','app.voice.outboundroutes','/outboundroutes','app/main/apps/voice/views/outboundroutes/outboundroutes.html','OutboundRoutesController\x20as\x20vm','OutboundRoutes','createdAt,updatedAt,id,appdata,type,exten,context,recordingFormat,cutdigits,description','app.voice.outboundroutes.edit','app/main/apps/voice/views/outboundroutes/edit/view.html','OutboundRouteController\x20as\x20vm','/internalroutes','app/main/apps/voice/views/internalroutes/internalroutes.html','internal','InternalRoutes','app.voice.internalroutes.edit','app/main/apps/voice/views/internalroutes/edit/view.html','InternalRouteController\x20as\x20vm','app.voice.contexts','app/main/apps/voice/views/contexts/contexts.html','false','Contexts','app.voice.voicemails','/voicemails','VoicemailsController\x20as\x20vm','voiceMail@get','createdAt,updatedAt,id,customer_id,fullname,email,password,mailbox,context,tz,attach,envelope,delete,emailbody,emailsubject,maxsecs,maxmsg','Voicemails','app.voice.voicemails.edit','app/main/apps/voice/views/voicemails/edit/view.html','VoicemailController\x20as\x20vm','app.voice.musiconholds','/musiconholds','app/main/apps/voice/views/musiconholds/musiconholds.html','MusicOnHoldsController\x20as\x20vm','voiceMusicOnHold@get','createdAt,updatedAt,id,name,mode,directory,application,format,sort','MusicOnHolds','app.voice.musiconholds.edit','app/main/apps/voice/views/musiconholds/edit/view.html','MusicOnHoldController\x20as\x20vm','app/main/apps/voice/views/voiceRecordings/voiceRecordings.html','VoiceRecordingsController\x20as\x20vm','msUtils','createdAt,updatedAt,id,format,value,type,uniqueid,calleridnum,exten,connectedlinenum,queue,membername,rating,audio,userDisposition,transcribeStatus,fileText,failureReason,sentiment,sPositive,sNegative,sNeutral,sMixed','VoiceRecordings','app.voice.voiceRecordings.edit','app/main/apps/voice/views/voiceRecordings/edit/view.html','VoiceRecordingController\x20as\x20vm','voiceRecording@get','/chanSpies','ChanSpiesController\x20as\x20vm','voiceChanSpy@get','createdAt,updatedAt,id,name,prefix,options,auth,password,record,recordingFormat,description','/voicePrefixes','app/main/apps/voice/views/voicePrefixes/voicePrefixes.html','VoicePrefixesController\x20as\x20vm','voicePrefix@get','createdAt,updatedAt,id,name,VoiceExtensionId,callerIdAll,description','app/main/apps/voice','app.whatsapp.realtime','app/main/apps/whatsapp/views/realtime/realtime.html','app.whatsapp.realtime.agents','AgentsWhatsappRealtimeController\x20as\x20vm','app/main/apps/whatsapp/views/realtime/agents/view.html','app.whatsapp.realtime.queues','QueuesWhatsappRealtimeController\x20as\x20vm','app/main/apps/whatsapp/views/realtime/queues/view.html','whatsappQueue@get','WhatsappQueues','whatsapp','rpc@getWhatsappQueues','app.whatsapp.whatsappQueues','/whatsappQueues','app/main/apps/whatsapp/views/whatsappQueues/whatsappQueues.html','WhatsappQueuesController\x20as\x20vm','app.whatsapp.whatsappQueues.edit','app/main/apps/whatsapp/views/whatsappQueues/edit/view.html','WhatsappQueueController\x20as\x20vm','app.whatsapp.whatsappAccounts','/whatsappAccounts','app/main/apps/whatsapp/views/whatsappAccounts/whatsappAccounts.html','createdAt,updatedAt,id,name,key,ListId,remote,token,type,accountSid,authToken,phone,receiveUrl,deliveryReportUrl,notificationShake,notificationSound,notificationTemplate,queueTransfer,queueTransferTimeout,waitForTheAssignedAgent,mandatoryDisposition,mandatoryDispositionPauseId,agentTransfer,agentTransferTimeout,description','WhatsappAccountController\x20as\x20vm','app/main/apps/whatsapp','app/quick-panel','/reset/:token','app/reset/reset.html','app/toolbar','$httpProvider','authInterceptor','$transitions','run','parent','injector','get','stateService','target','retrieveUser','router','$to','hasPermission','permissionId','params','hasResourcePermission','user','onBefore','onStart','onFinish','$mdDialog','$cookies','api','$window','factory','motion.token','login','$promise','logout','YYYY-MM-DD\x20HH:mm:ss','auth','local','put','token','lastLoginAt','LOCAL_LOGIN','showWebBar','show','HotDeskDialogController','app/auth/services/hotdesk/dialog.html','element','body','id,fullname,name,internal','assign','remove','localStorage','removeItem','motion.user:','motion.authenticationtype','role','whoami','permissions','includes','userProfile','getSections','push','sectionId','concat','subsections','some','userProfileSection','autoAssociation','userProfileResource','resourceId','Error\x20retrieving\x20user\x20profile\x20permissions','forEach','isEmpty','filter','enabled','category','value','SSO_LOGIN','/api/auth/','telephones','controller','count','hide','$rootScope','$injector','Util','headers','url','Authorization','status','$state','isFunction','noop','createElement','href','host','urlParse','map','location','hostname','protocol','port','443','extend','$get','isUndefined','msScrollConfigProvider','motionConfigProvider','debugEnabled','motionGenerator','motionConfig','generate','getConfig','disableMdInkRippleOnMobile','isMobile','md-no-ink','html','addClass','is-mobile','browser','version','color','AdvancedSearchController','currentUser','$and','toolbarColor','clearConditions','minimize','hasOwnProperty','advancedSearch','searchOptions','matchType','groupBy','query','operator','chain','flattenDeep','$between','$in','$notIn','join','conditions','getItem','motion2.','setItem','stringify','omit','search','$timeout','directive','focusOn','focus','$interpolate','hljs','code','$eval','when','
','match','replace','highlight','','append','$translate','toasty','app/core/directives/ms-advanced-search/ms-advanced-search.html','operators','availableOperators','$eq','multiselect','$ne','IS_NOT_EQUAL','IS_NOT_AMONG','CONTAINS','$startsWith','a..','STARTS_WITH','text','..a','ENDS_WITH','$lt','IS_LESS_THAN','date','number','$gt','IS_GREATER_THAN','$lte','IS_LESS_THAN_OR_EQUAL_TO','$gte','IS_GREATER_THAN_OR_EQUAL_TO','IS_BETWEEN','addCondition','editCondition','setConditionStatus','removeCondition','onFieldChange','onOperatorChange','onValueChange','checkRange','handleKeyboardAction','endRangeValue','searchText','isValidCondition','autoSelectOperator','selectedOperator','isValidRange','applyTo','type','between','selectedField','options','extraOperators','isExtra','minDateRange','add','excludeFrom','route','autocomplete','@autocomplete','values','displayValue','searchFields','trimEnd','toLowerCase','error','API:','\x20-\x20','statusText','model','toUpperCase','action','data','message','toString','translate','subtract','pendingCondition','style','fields','endValue','findIndex','splice','disabled','chip-disabled','clearFilter','instant','column','YYYY-MM-DD','select','field','maxDateRange','msCard','=ngModel','=viewModel','','ms-card','cardTemplateLoaded','$emit','msCard::cardTemplateLoaded','$observe','msChipColor','hasClass','md-background-bg\x20md-hue-3','className','split','msClickToCall','$scope','$document','showMenu','indexOf','webrtc','getVoicePrefixes','assets/ms-phonebar/prefix/dialog.html','phoneBarPrefixRequired','http://127.0.0.1:','phoneBarRemoteControlPort','9888','/api/originate/','$broadcast','webrtc::call','call','webrtc::transfer','isNil','success','Successful\x20call','Call\x20properly\x20handled!','PhoneBar\x20API\x20Error','CONTACTMANAGER.ERRORS.PHONEBAR_API','app/core/directives/ms-click-to-call/ms-click-to-call.html','provider','msDatepickerFix','toDate','ngModel','$formatters','formatter','$parsers','parser','path','setAttribute','preload','none','controls','audio','video','title','src','onplay','download','buffer','createObjectURL','play','msDualMultiselect','canTransfer','isValid','undefined','transfer','items','selectedItems','transferCallback','isArray','app/core/directives/ms-dual-multiselect/ms-dual-multiselect.html','msEmojiArea','','pickerPosition','placeholder','getText','onReply','emojioneArea','setText','internalControl','ctrlMethods','$watch','fonts','Arial','Arial,Helvetica,sans-serif','Century\x20Gothic','Century\x20Gothic,Futura,Didact\x20Gothic,san-serif','Calibri','Calibri,\x20Verdana,\x20Geneva,\x20sans-serif','Comic\x20Sans\x20MS','Comic\x20Sans\x20MS,cursive','Courier\x20New','Georgia','Georgia,serif','Tahoma,Geneva,sans-serif','Times\x20New\x20Roman','Times\x20New\x20Roman,Times,serif','Trebuchet\x20MS','Trebuchet\x20MS,Helvetica,sans-serif','Verdana,Geneva,sans-serif','app/core/directives/ms-font-family/ms-font-family.html','MsFormWizardController','msFormWizard','msFormWizardForm','forms','selectedIndex','registerForm','previousStep','nextStep','firstStep','lastStep','currentStepInvalid','previousStepInvalid','formsIncomplete','resetForm','isDefined','$invalid','$setPristine','$setUntouched','MsFormWizardController\x20as\x20msWizard','ms-form-wizard','form','^msFormWizard','msInfoBar','app/core/directives/ms-info-bar/ms-info-bar.html','ms-info-bar-active','onClose','removeInfoBar','msMasonryController','msMasonry','msMasonryItem','container','containerPos','columnWidth','reLayout','initialize','$on','imagesLoaded','done','width','cancel','msMasonry:relayoutFinished','reLayoutDebounce','msMasonry:relayoutStarted','ms-masonry-item','apply','columnCount','msMasonryItem:startReLayout','css','respectItemOrder','min','getBoundingClientRect','round','translate3d(','px,0px)','placed','scope','responsive','AEC','waitImagesLoaded','height','$destroy','$mdMenu','msMaterialColorPickerController','selectedPalette','selectedHues','$selectedColor','activateHueSelection','selectedColor','modelCtrl','$viewValue','msModelType','class','obj','-bg','rgba','contrast','palettes','$setViewValue','msMaterialColorPicker','msMaterialColorPickerController\x20as\x20vm','app/core/directives/ms-material-color-picker/ms-material-color-picker.html','nodeType','replaceWith','msNavFoldService','$mdComponentRegistry','$animate','msNavIsFolded','MsNavController','msNav','msNavButton','isNavFoldedOpen','toggleFold','','','setFoldable','ms-nav-folded','msNav::forceCollapse','scrollTop','mouseenter\x20touchstart','preventDefault','ms-nav-folded-open','msNav::expandMatchingToggles','removeClass','off','closeFolded','mouseenter\x20mouseleave','disable','setToggleItem','getLockedItems','setLockedItem','ms-nav','$stateChangeSuccess','close','ms-nav-button','^msNav','collapsed','expanded','ui-sref','children','click','isDisabled','clearLockedItems','msNav::pushToLockedList','msNav::collapse','.ms-nav-button','equals','enable','current','attr','defer','ms-nav-toggle-items','absolute','hidden','$evalAsync','animate','block','0px','expandAnimation','promise','$mdSidenav','msNavigationService','$element','MsNavigationController','MsNavigationNodeController','msNavigationNode','msNavigationItem','msNavigationHorizontal','MsNavigationHorizontalNodeController','msNavigationHorizontalItem','$log','deleteItem','sortByWeight','isString','path\x20must\x20be\x20a\x20string\x20(eg.\x20`dashboard.project`)','_id','uisref','weight','isNumber','_path','sort','pop','stateParams','isObject','toJson','navigation','toggleFolded','root','getNavigation','toggleClass','MsNavigationController\x20as\x20vm','app/core/directives/ms-navigation/templates/vertical.html','ms-navigation','','','getFolded','folded','msNavigation::collapse','ms-navigation-folded','isLockedOpen','getActiveItem','msNavigation::stateMatched','setFolded','ms-navigation-folded\x20ms-navigation-folded-open','#main','setFoldedOpen','ms-navigation-folded-open','$stateChangeStart','node','hasChildren','collapsable','group','animateHeightClass','animate-height','toggleCollapsed','collapse','getClass','isHidden','boolean','setActiveItem','expand','offsetHeight','collapsing','auto','expanding','ms-navigation-node','^msNavigationNode','ms-navigation-item','app/core/directives/ms-navigation/templates/horizontal.html','ms-navigation-horizontal','setNavigationScope','isActive','msNavigation::clearActive','=msNavigationHorizontalNode','ms-navigation-horizontal-node','^msNavigationHorizontalNode','ms-navigation-horizontal-item','$http','motNotification','socket','ringingId','speakerId','microphoneId','ringingVolume','speakerVolume','ringingMute','speakerMute','microphoneMute','motion2.user:','right','md-scale','showDialpad','soundPlayer','remotePlayer','getElementById','remotePlayerId','volume','sessionConf','calls','callbackQueue','canGoInConference','isInConference','currentConferenceSessions','WebSocketInterface','wss://',':8089/ws','URI','sip','conf','ha1','realm','invite','phoneBarExpires','initDeviceInProgress','isJabraEnabled','isJabraInitialized','jabraSession','buttonClicked','originateInProgress','mediaDevices','Unable\x20to\x20shutdown\x20Jabra\x20library','network','turn','stun','stun:','turn:','username','password','credential','registered','bind','unregistered','webbar:originate','webbar:answer','webbar:hold','webbar:unhold','webbar:transfer','getUserMedia','getTracks','stop','enumerateDevices','kind','deviceId','default','communications','groupId','TOOLBAR.WARNING','bottom-right','mediaConstraints','microphone','audiooutput','TOOLBAR.WEBRTC_SPEAKER_NOT_AVAILABLE','speaker','ringing','init','getInstallInfo','getUserDeviceMediaExt','browserGroupId','onHook','acceptcall','addEventListener','mute','unmute','flash','endcall','warn','Error\x20initializing\x20Jabra\x20integration','Unable\x20to\x20init\x20media\x20devices','NotFoundError','warning','TOOLBAR.WEBRTC_AUDIO_DEVICES_NOT_AVAILABLE','finally','load','last','sessions','direction','isInProgress','answer','Unable\x20to\x20find\x20a\x20valid\x20call\x20to\x20answer','Unable\x20to\x20answer\x20the\x20call','localHold','unhold','hasMicrophone','hasSpeakers','Opera','isWebRTCSupported','osName','osVersion','browserName','register','start','license','TOOLBAR.WEBRTC_LICENSE_NOT_ENABELD','https','chrome','safari','debug','onNewRTCSession\x20->\x20data','session','originator','outgoing','request','ruri','X-callback-url','extraHeaders','resume','offHook','remote','voicePause','phoneBarDnd','incoming','from','display_name','getHeader','ring','autoAnswer','autoAnswerDelay','xAnswerMode','auto\x20answer\x20enabled\x20after:','\x20ms','call_id','\x22\x20called\x20successfully','fail\x20callbackurl:\x22','\x22\x20err:','connection','onaddstream','iceCandidateTimeout','ended','failed','$apply','addCall\x20->\x20target,\x20inbound,\x20fullname','unshift','HH:mm','Incoming\x20call\x20from:\x20','notification','answer\x20->\x20session','terminate\x20->\x20session','status_code','isEstablished','terminate','hold','onProgress\x20->\x20session,\x20data','assets/ms-phonebar/sounds/incoming-call.ogg','loop','uniqueid','callbackurl:\x22','Unable\x20to\x20retrieve\x20voice\x20channels','getVoiceChannels\x20->\x20session','sipcalllinkedid','sipcalluniqueid','monitor','monitors','onConfirmed\x20->\x20session,\x20data','div_session_','substr','confirmed','head','getRemoteStreams','srcObject','pause','putOtherCallsOnHold','Unable\x20to\x20play\x20autoAnswer\x20notification','stream','onHold\x20->\x20session,\x20data','onUnhold\x20->\x20session,\x20data','currentconferenceSessions','onFailed\x20->\x20session,\x20data','onIcecandidate\x20->\x20session,\x20data','angucomplete-alt:changeInput','ms-target-wrap','pound','enableDtmfTone','assets/ms-phonebar/sounds/dialpad/','.ogg','isOnHold','muted','setSinkId','info','unknown\x20device','test','ms-target','angucomplete-alt:clearInput','originalObject','PrefixDialogController','key','enter','keyup','keyCode','track','getSenders','createMediaStreamDestination','createMediaStreamSource','connect','addTrack','remote-audio','getReceivers','selectSession\x20->\x20session','unhold\x20->\x20session','record\x20->\x20session','RecordDialogController','assets/ms-phonebar/record/dialog.html','hold\x20->\x20session','refer\x20->\x20session','prompt','Transfer','Type\x20the\x20target','Target','ariaLabel','Cancel','refer','requestSucceeded','top\x20right','onReferCallback\x20->\x20session,\x20textContent,\x20position,\x20delay','simple','textContent','position','ReferAttendedDialogController','reject','SettingsController','assets/ms-phonebar/settings/settings.html','ondevicechange','onRemoteCall\x20->\x20evt,\x20data','onRemoteTransfer\x20->\x20evt,\x20data','requestFailed','has','originateHook\x20->\x20payload','callNumber','callerId','callbackUrl','X-CID:\x20','X-callback-url:\x20','sessionId','call\x20with\x20session\x20Id\x20','\x20not\x20found','hangupHook\x20->\x20sessionToHangup','answerHook\x20->\x20payload','holdHook\x20->\x20payload','sessionId\x20required','transferHook\x20->\x20payload','transferNumber','transferNumber\x20required','findSessionBySessionId\x20->\x20sessionId,\x20vm_pb.sessions','callCallback\x20->\x20url,\x20params','GET','trim','$onInit','record','selectSession','typeWrapper','closeDialpad','initDevice','start3WayConf','patchConference','webrtc::settings','webrtc::logout','$destroy\x20event\x20fired','removeAllListeners','webbar:hangup','msPhonebar','vm_pb','assets/ms-phonebar/ms-phonebar.html','MsPhonebarController','required','closeDialog','prefix','msBlink','display','Record','floor','random','substring','startMonitor','filename','rpc','.wav','mixmonitorid','rec','stopMonitor','Start\x20new\x20recording','Type\x20the\x20file\x20name.','File\x20name','initialValue','Start','$mdToast','Refer\x20Attended','hideDelay','devices','audioinput','microphoneVolume','copy','isCompatibleBrowser','$filter','dateFilterLocalizationFactory','dateRangeManager','msQuickFilter','pickerModels','placeholders','localizationMap','onMultiselectInit','onDateRangeSelection','clearDate','selectAll','dateStart','dateEnd','minutes','seconds','ngValue','clearAll','utc','getFullYear','getDate','getMonth','selectedTemplateName','isSame','Yesterday','dd\x20MMM\x20yyyy','This\x20Week','Last\x20Week','This\x20Month','Last\x20Month','This\x20Year','Last\x20Year','days','isoWeek','weeks','month','months','year','years','msRandomClass','msRecording','controlsList','nodownload','width:\x20265px;','msResponsiveTable','','after','msScrollConfig','msScroll','disableCustomScrollbars','mouseenter','scrollHeight','prop','scrollWidth','update','MsSearchBarController','msSearchBar','queryOptions','debounce','collapseOnBlur','resultsLoading','results','selectedResultIndex','ignoreMouseEvents','onInit','populateResults','blurCollapse','handleKeydown','handleMouseenter','temporarilyIgnoreMouseEvents','handleResultClick','ensureSelectedResultIsVisible','vm.query','$parent','onExpand','onCollapse','mouseEventIgnoreTimeout','onResultClick','.ms-search-bar-results','.result','top','outerHeight','MsSearchBarController\x20as\x20vm','app/core/directives/ms-search-bar/ms-search-bar.html','ms-search-bar','down','h-128','closest','md-toolbar','shortcuts','dragging','saveShortcuts','loadShortcuts','addShortcut','removeShortcut','absorbEvent','MsShortcuts.query','lowercase','fromJson','motion.shortcuts','icon-account-multiple','License','icon-cog','#ms-shortcut-add-menu','.results','mobileBarActive','msShortcuts','MsShortcutsController\x20as\x20MsShortcuts','app/core/directives/ms-shortcuts/ms-shortcuts.html','isOpen','full-height','msSplashScreen','msSplashScreen::remove','leave','MsStepperController','msHorizontalStepperStep','msVerticalStepperStep','mainForm','horizontal','steps','currentStepNumber','registerMainForm','registerStep','setupSteps','setCurrentStep','gotoPreviousStep','gotoFirstStep','gotoLastStep','isFirstStep','isStepCurrent','isStepDisabled','isStepOptional','isStepHidden','isStepValid','isFormValid','step','stepTitle','stepTitleTranslate','stepNumber','orientation','vertical','.ms-stepper-step-content','hideStep','$valid','msHorizontalStepper','MsStepperController\x20as\x20MsStepper','setOrientation','^msHorizontalStepper','optionalStep','msVerticalStepper','ms-stepper','^msVerticalStepper','app/core/directives/ms-stepper/templates/vertical/step/vertical-step.html','ms-stepper-step','stepInfo','MsStepper','MsTabScrollController','msTabScroll','onTabScroll','canScroll','#tab-container','-=400','+=400','both','left','bar-container','tab-container','scrollLeft','app/core/directives/ms-tab-scroll/ms-tab-scroll.html','MsTimelineController','msTimeline','msTimelineItem','setScrollEl','getScrollEl','scrollEl','&?msTimelineLoadMore','ms-timeline','','#content','loadMore','scroll','^msTimeline','ms-timeline-item','img','Image\x20is\x20loaded','No\x20images','$interval','$compile','MsTimerController','timer','prototype','function','autoStart','contents','interval','intervalAttr','startTime','timeoutId','countdown','countdownAttr','isRunning','startTimeAttr','timer-start','timer-resume','timer-stop','endTimeAttr','endTime','diff','clear','timer-stopped','millis','hours','maxTimeUnit','second','minute','secondsS','minutesS','hoursS','daysS','yearsS','sseconds','mminutes','ddays','mmonths','yyears','finishCallback','$digest','timer-tick','=interval','=startTime','&autoStart','msTimezone','timezone','Europe/Andorra','+01:00','Asia/Dubai','+04:00','Asia/Kabul','+04:30','Europe/Tirane','Asia/Yerevan','Antarctica/Rothera','-03:00','Antarctica/Mawson','Antarctica/Davis','+07:00','Antarctica/Casey','+08:00','Antarctica/Vostok','+06:00','Antarctica/DumontDUrville','+10:00','+03:00','Antarctica/Troll','America/Argentina/Buenos_Aires','America/Argentina/Jujuy','America/Argentina/Tucuman','America/Argentina/Catamarca','America/Argentina/La_Rioja','America/Argentina/San_Juan','America/Argentina/Mendoza','America/Argentina/San_Luis','America/Argentina/Ushuaia','Pacific/Pago_Pago','-11:00','Europe/Vienna','+11:00','Antarctica/Macquarie','Australia/Currie','Australia/Melbourne','Australia/Sydney','Australia/Broken_Hill','+10:30','Australia/Brisbane','Australia/Lindeman','Australia/Adelaide','Australia/Darwin','+09:30','Australia/Perth','Australia/Eucla','Asia/Baku','America/Barbados','-04:00','Asia/Dhaka','Europe/Brussels','Europe/Sofia','+02:00','Atlantic/Bermuda','Asia/Brunei','America/La_Paz','America/Noronha','America/Belem','America/Fortaleza','America/Recife','America/Araguaina','America/Maceio','America/Sao_Paulo','America/Campo_Grande','America/Cuiaba','America/Santarem','America/Porto_Velho','America/Boa_Vista','America/Manaus','-05:00','America/Rio_Branco','America/Nassau','Asia/Thimphu','Europe/Minsk','America/Belize','-06:00','America/St_Johns','-03:30','America/Halifax','America/Glace_Bay','America/Moncton','America/Blanc-Sablon','America/Toronto','America/Nipigon','America/Thunder_Bay','America/Iqaluit','America/Resolute','America/Atikokan','America/Winnipeg','America/Rainy_River','America/Regina','America/Edmonton','America/Cambridge_Bay','-07:00','America/Inuvik','America/Creston','America/Dawson_Creek','America/Fort_Nelson','-08:00','America/Dawson','Indian/Cocos','Europe/Zurich','Africa/Abidjan','-10:00','America/Santiago','Asia/Shanghai','Asia/Urumqi','America/Bogota','America/Costa_Rica','America/Havana','Atlantic/Cape_Verde','America/Curacao','Indian/Christmas','Asia/Nicosia','Europe/Prague','Europe/Berlin','Europe/Copenhagen','America/Santo_Domingo','Africa/Algiers','America/Guayaquil','Pacific/Galapagos','Europe/Tallinn','Africa/Cairo','Africa/El_Aaiun','+00:00','Europe/Madrid','Africa/Ceuta','Atlantic/Canary','Europe/Helsinki','Pacific/Fiji','+12:00','Pacific/Chuuk','Pacific/Pohnpei','Atlantic/Faroe','Europe/London','Asia/Tbilisi','Africa/Accra','Europe/Gibraltar','America/Godthab','America/Danmarkshavn','America/Scoresbysund','-01:00','America/Thule','Atlantic/South_Georgia','America/Guatemala','Africa/Bissau','America/Guyana','Asia/Hong_Kong','America/Port-au-Prince','Europe/Budapest','Asia/Makassar','Asia/Jayapura','+09:00','Europe/Dublin','Asia/Jerusalem','+05:30','Indian/Chagos','Asia/Baghdad','Asia/Tehran','Atlantic/Reykjavik','Europe/Rome','America/Jamaica','Asia/Amman','Asia/Tokyo','Africa/Nairobi','Asia/Bishkek','Pacific/Tarawa','Pacific/Enderbury','+13:00','Pacific/Kiritimati','+14:00','Asia/Pyongyang','America/Cayman','Asia/Almaty','+05:00','Asia/Aqtau','Asia/Oral','Asia/Beirut','Asia/Colombo','Africa/Monrovia','Europe/Vilnius','Europe/Luxembourg','Europe/Riga','Africa/Tripoli','Africa/Casablanca','Europe/Monaco','Pacific/Majuro','Pacific/Kwajalein','Asia/Rangoon','+06:30','Asia/Ulaanbaatar','Asia/Hovd','Asia/Choibalsan','America/Martinique','Europe/Malta','America/Mexico_City','America/Monterrey','America/Matamoros','America/Mazatlan','America/Ojinaga','America/Tijuana','America/Santa_Isabel','America/Bahia_Banderas','Asia/Kuching','Africa/Maputo','Africa/Windhoek','Pacific/Noumea','Pacific/Norfolk','Africa/Lagos','America/Managua','Europe/Amsterdam','Europe/Oslo','Asia/Kathmandu','+05:45','Pacific/Nauru','Pacific/Niue','Pacific/Chatham','America/Panama','Pacific/Tahiti','Pacific/Marquesas','-09:30','Pacific/Gambier','-09:00','Pacific/Port_Moresby','Pacific/Bougainville','Asia/Manila','Asia/Karachi','Europe/Warsaw','America/Miquelon','Pacific/Pitcairn','Asia/Gaza','Pacific/Palau','America/Asuncion','Asia/Qatar','Indian/Reunion','Europe/Kaliningrad','Europe/Simferopol','Europe/Volgograd','Europe/Samara','Asia/Yekaterinburg','Asia/Omsk','Asia/Novosibirsk','Asia/Novokuznetsk','Asia/Irkutsk','Asia/Yakutsk','Asia/Khandyga','Asia/Vladivostok','Asia/Sakhalin','Asia/Ust-Nera','Asia/Magadan','Asia/Srednekolymsk','Asia/Kamchatka','Asia/Anadyr','Asia/Riyadh','Indian/Mahe','Africa/Khartoum','Europe/Stockholm','America/Paramaribo','America/El_Salvador','Asia/Damascus','America/Grand_Turk','Africa/Ndjamena','Indian/Kerguelen','Asia/Bangkok','Asia/Dushanbe','Pacific/Fakaofo','Asia/Ashgabat','Africa/Tunis','Pacific/Tongatapu','Pacific/Funafuti','Asia/Taipei','Europe/Kiev','Europe/Uzhgorod','Pacific/Wake','America/Detroit','America/Kentucky/Louisville','America/Kentucky/Monticello','America/Indiana/Indianapolis','America/Indiana/Vincennes','America/Indiana/Winamac','America/Indiana/Petersburg','America/Indiana/Vevay','America/Indiana/Tell_City','America/Indiana/Knox','America/Menominee','America/North_Dakota/New_Salem','America/Denver','America/Boise','America/Phoenix','America/Los_Angeles','America/Metlakatla','America/Anchorage','America/Juneau','America/Sitka','America/Yakutat','America/Nome','America/Adak','Pacific/Honolulu','America/Montevideo','Asia/Samarkand','Pacific/Apia','Africa/Johannesburg','app/core/directives/ms-timezone/ms-timezone.html','fontSize','getCount','attrs','filtered','intersection','voiceQueuesSelected','voiceQueues','MsWidgetEngineMultibarChartController','QUEUE_NAME','TOTAL','#2196f3','getMultiBarChart','attrSerie','series','properties','multiBarChart','TOOLS.','labels','legend','fontColor','scales','xAxes','ticks','foreground','yAxes','ANSWERED','getPieChart','pieChart','MsWidgetEngineWebReportController','countDown','refresh','columns','web','getResults','valueReplacer','field,alias','reportRoute','analyticDefaultReport','analyticCustomReport','isNaN','timeout','offset','limit','YYYY-MM-DDTHH:mm:ssZ','$sce','MsWidgetEngineController','getTrustedURL','trustAsResourceUrl','msWidgetEngine','app/core/directives/ms-widget-engine/ms-widget-engine.html','MsWidgetController','msWidget','msWidgetFront','msWidgetBack','flipped','flip','flippable','empty','ms-widget-front','flipWidget','ms-widget-back','quickFilterManager','resources','DASHBOARDS.NONE','param','DASHBOARDS.CHOOSE','QuickFilterManager::setPlaceholder','now','fromNow','dddd','toTrusted','htmlToPlaintext','nospace','humanizeDoc','trustAsHtml','label','filterByIds','filterByPropIds','filterByTags','filterSingleByTags','every','accept','document','mozHidden','webkitHidden','ready','getNotifications','serviceWorker','notification.js','installing','active','Service\x20worker\x20registration\x20failed','Service\x20Worker\x20is\x20not\x20supported','MyTitle','MyBody','Notification','requestPermission','granted','showNotification','assets/images/business/queueCampaigns.jpg','Accept','Reject','apiResolver.resolve\x20requires\x20correct\x20action\x20parameter\x20(ResourceName@methodName)','Resource\x20\x22','\x22\x20is\x20not\x20defined\x20in\x20the\x20api\x20service!','Resource\x20part\x20\x22','\x22\x20is\x20not\x20defined!','LoadingIndicatorService','loadingProgress','msApi','setBaseUrl','getBaseUrl','getApiObject','\x22path\x22\x20must\x20be\x20a\x20string\x20(eg.\x20`dashboard.project`)','$resource','msApi::resolveStart','msApi.resolve\x20requires\x20correct\x20action\x20parameter\x20(resourceName@methodName)','paramDefaults','actions','msApi::resolveSuccess','msApi::resolveError','msApi::requestStart','msApi::requestError','navigator','userAgent','Edge','Chrome','OmniWeb','OmniWeb/','vendor','Version','opera','iCab','KDE','Konqueror','Firefox','Camino','Netscape','MSIE','Explorer','Trident/7','Gecko','Mozilla','platform','Win','Windows','Mac','Linux','iPhone','iPod','iPad','Android','versionSearch','subString','identity','appVersion','unknown-version','unknown-os','mobile','motionTheming','MsThemeOptionsController','msThemeOptions','themes','layoutModes','boxed','Wide','wide','layoutStyles','verticalNavigation','/assets/images/theme-options/vertical-nav.jpg','Vertical\x20Navigation\x20with\x20Fullwidth\x20Toolbar','verticalNavigationFullwidthToolbar','/assets/images/theme-options/vertical-nav-with-full-toolbar.jpg','Vertical\x20Navigation\x20with\x20Fullwidth\x20Toolbar\x202','verticalNavigationFullwidthToolbar2','/assets/images/theme-options/vertical-nav-with-full-toolbar-2.jpg','horizontalNavigation','/assets/images/theme-options/horizontal-nav.jpg','Content\x20with\x20Toolbar','contentWithToolbar','/assets/images/theme-options/content-with-toolbar.jpg','Content\x20Only','contentOnly','layoutMode','layoutStyle','motion.layoutStyle','getActiveTheme','updateLayoutMode','updateLayoutStyle','reload','MsThemeOptionsController\x20as\x20vm','app/core/theme-options/theme-options.html','ms-theme-options','toggleOptionsSidenav','getRegisteredThemes','getRegisteredPalettes','colors','hues','hue-1','hue-2','hue-3','levels','contrast1','contrast2','contrast3','contrast4','motion.selectedTheme','setActiveTheme','/*\x20Content\x20hack\x20because\x20they\x20wont\x20fix\x20*/\x0a/*\x20https://github.com/angular/material/pull/8067\x20*/\x0a[md-theme=\x22@themeName\x22]\x20md-content.md-hue-1,\x0amd-content.md-@themeName-theme.md-hue-1\x20{\x0a\x20\x20\x20\x20color:\x20@backgroundHue1Contrast1;\x0a\x20\x20\x20\x20background-color:\x20@backgroundHue1Color;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20md-content.md-hue-2,\x0amd-content.md-@themeName-theme.md-hue-2\x20{\x0a\x20\x20\x20\x20color:\x20@backgroundHue2Contrast1;\x0a\x20\x20\x20\x20background-color:\x20@backgroundHue2Color;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20md-content.md-hue-3,\x0a\x20md-content.md-@themeName-theme.md-hue-3\x20{\x0a\x20\x20\x20\x20color:\x20@backgroundHue3Contrast1;\x0a\x20\x20\x20\x20background-color:\x20@backgroundHue3Color;\x0a}\x0a\x0a/*\x20Text\x20Colors\x20*/\x0a[md-theme=\x22@themeName\x22]\x20a\x20{\x0a\x20\x20\x20\x20color:\x20@accentDefaultColor;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.secondary-text,\x0a[md-theme=\x22@themeName\x22]\x20.icon\x20{\x0a\x20\x20\x20\x20color:\x20@backgroundDefaultContrast2;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.hint-text,\x0a[md-theme=\x22@themeName\x22]\x20.disabled-text\x20{\x0a\x20\x20\x20\x20color:\x20@backgroundDefaultContrast3;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.fade-text,\x0a[md-theme=\x22@themeName\x22]\x20.divider\x20{\x0a\x20\x20\x20\x20color:\x20@backgroundDefaultContrast4;\x0a}\x0a\x0a/*\x20Primary\x20*/\x0a[md-theme=\x22@themeName\x22]\x20.md-primary-bg\x20{\x0a\x20\x20\x20\x20background-color:\x20@primaryDefaultColor;\x0a\x20\x20\x20\x20color:\x20@primaryDefaultContrast1;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-primary-bg\x20.secondary-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-primary-bg\x20.icon\x20{\x0a\x20\x20\x20\x20color:\x20@primaryDefaultContrast2;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-primary-bg\x20.hint-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-primary-bg\x20.disabled-text\x20{\x0a\x20\x20\x20\x20color:\x20@primaryDefaultContrast3;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-primary-bg\x20.fade-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-primary-bg\x20.divider\x20{\x0a\x20\x20\x20\x20color:\x20@primaryDefaultContrast4;\x0a}\x0a\x0a/*\x20Primary,\x20Hue-1\x20*/\x0a[md-theme=\x22@themeName\x22]\x20.md-primary-bg.md-hue-1\x20{\x0a\x20\x20\x20\x20background-color:\x20@primaryHue1Color;\x0a\x20\x20\x20\x20color:\x20@primaryHue1Contrast1;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-primary-bg.md-hue-1\x20.secondary-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-primary-bg.md-hue-1\x20.icon\x20{\x0a\x20\x20\x20\x20color:\x20@primaryHue1Contrast2;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-primary-bg.md-hue-1\x20.hint-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-primary-bg.md-hue-1\x20.disabled-text\x20{\x0a\x20\x20\x20\x20color:\x20@primaryHue1Contrast3;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-primary-bg.md-hue-1\x20.fade-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-primary-bg.md-hue-1\x20.divider\x20{\x0a\x20\x20\x20\x20color:\x20@primaryHue1Contrast4;\x0a}\x0a\x0a/*\x20Primary,\x20Hue-2\x20*/\x0a[md-theme=\x22@themeName\x22]\x20.md-primary-bg.md-hue-2\x20{\x0a\x20\x20\x20\x20background-color:\x20@primaryHue2Color;\x0a\x20\x20\x20\x20color:\x20@primaryHue2Contrast1;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-primary-bg.md-hue-2\x20.secondary-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-primary-bg.md-hue-2\x20.icon\x20{\x0a\x20\x20\x20\x20color:\x20@primaryHue2Contrast2;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-primary-bg.md-hue-2\x20.hint-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-primary-bg.md-hue-2\x20.disabled-text\x20{\x0a\x20\x20\x20\x20color:\x20@primaryHue2Contrast3;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-primary-bg.md-hue-2\x20.fade-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-primary-bg.md-hue-2\x20.divider\x20{\x0a\x20\x20\x20\x20color:\x20@primaryHue2Contrast4;\x0a}\x0a\x0a/*\x20Primary,\x20Hue-3\x20*/\x0a[md-theme=\x22@themeName\x22]\x20.md-primary-bg.md-hue-3\x20{\x0a\x20\x20\x20\x20background-color:\x20@primaryHue3Color;\x0a\x20\x20\x20\x20color:\x20@primaryHue3Contrast1;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-primary-bg.md-hue-3\x20.secondary-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-primary-bg.md-hue-3\x20.icon\x20{\x0a\x20\x20\x20\x20color:\x20@primaryHue3Contrast1;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-primary-bg.md-hue-3\x20.hint-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-primary-bg.md-hue-3\x20.disabled-text\x20{\x0a\x20\x20\x20\x20color:\x20@primaryHue3Contrast3;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-primary-bg.md-hue-3\x20.fade-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-primary-bg.md-hue-3\x20.divider\x20{\x0a\x20\x20\x20\x20color:\x20@primaryHue3Contrast4;\x0a}\x0a\x0a/*\x20Primary\x20foreground\x20*/\x0a[md-theme=\x22@themeName\x22]\x20.md-primary-fg\x20{\x0a\x20\x20\x20\x20color:\x20@primaryDefaultColor\x20!important;\x0a}\x0a\x0a/*\x20Primary\x20foreground,\x20Hue-1\x20*/\x0a[md-theme=\x22@themeName\x22]\x20.md-primary-fg.md-hue-1\x20{\x0a\x20\x20\x20\x20color:\x20@primaryHue1Color\x20!important;\x0a}\x0a\x0a/*\x20Primary\x20foreground,\x20Hue-2\x20*/\x0a[md-theme=\x22@themeName\x22]\x20.md-primary-fg.md-hue-2\x20{\x0a\x20\x20\x20\x20color:\x20@primaryHue2Color\x20!important;\x0a}\x0a\x0a/*\x20Primary\x20foreground,\x20Hue-3\x20*/\x0a[md-theme=\x22@themeName\x22]\x20.md-primary-fg.md-hue-3\x20{\x0a\x20\x20\x20\x20color:\x20@primaryHue3Color\x20!important;\x0a}\x0a\x0a/*\x20Accent\x20*/\x0a[md-theme=\x22@themeName\x22]\x20.md-accent-bg\x20{\x0a\x20\x20\x20\x20background-color:\x20@accentDefaultColor;\x0a\x20\x20\x20\x20color:\x20@accentDefaultContrast1;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-accent-bg\x20.secondary-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-accent-bg\x20.icon\x20{\x0a\x20\x20\x20\x20color:\x20@accentDefaultContrast2;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-accent-bg\x20.hint-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-accent-bg\x20.disabled-text\x20{\x0a\x20\x20\x20\x20color:\x20@accentDefaultContrast3;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-accent-bg\x20.fade-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-accent-bg\x20.divider\x20{\x0a\x20\x20\x20\x20color:\x20@accentDefaultContrast4;\x0a}\x0a\x0a/*\x20Accent,\x20Hue-1\x20*/\x0a[md-theme=\x22@themeName\x22]\x20.md-accent-bg.md-hue-1\x20{\x0a\x20\x20\x20\x20background-color:\x20@accentHue1Color;\x0a\x20\x20\x20\x20color:\x20@accentHue1Contrast1;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-accent-bg.md-hue-1\x20.secondary-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-accent-bg.md-hue-1\x20.icon\x20{\x0a\x20\x20\x20\x20color:\x20@accentHue1Contrast2;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-accent-bg.md-hue-1\x20.hint-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-accent-bg.md-hue-1\x20.disabled-text\x20{\x0a\x20\x20\x20\x20color:\x20@accentHue1Contrast3;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-accent-bg.md-hue-1\x20.fade-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-accent-bg.md-hue-1\x20.divider\x20{\x0a\x20\x20\x20\x20color:\x20@accentHue1Contrast4;\x0a}\x0a\x0a/*\x20Accent,\x20Hue-2\x20*/\x0a[md-theme=\x22@themeName\x22]\x20.md-accent-bg.md-hue-2\x20{\x0a\x20\x20\x20\x20background-color:\x20@accentHue2Color;\x0a\x20\x20\x20\x20color:\x20@accentHue2Contrast1;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-accent-bg.md-hue-2\x20.secondary-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-accent-bg.md-hue-2\x20.icon\x20{\x0a\x20\x20\x20\x20color:\x20@accentHue2Contrast2;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-accent-bg.md-hue-2\x20.hint-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-accent-bg.md-hue-2\x20.disabled-text\x20{\x0a\x20\x20\x20\x20color:\x20@accentHue2Contrast3;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-accent-bg.md-hue-2\x20.fade-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-accent-bg.md-hue-2\x20.divider\x20{\x0a\x20\x20\x20\x20color:\x20@accentHue2Contrast4;\x0a}\x0a\x0a/*\x20Accent,\x20Hue-3\x20*/\x0a[md-theme=\x22@themeName\x22]\x20.md-accent-bg.md-hue-3\x20{\x0a\x20\x20\x20\x20background-color:\x20@accentHue3Color;\x0a\x20\x20\x20\x20color:\x20@accentHue3Contrast1;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-accent-bg.md-hue-3\x20.secondary-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-accent-bg.md-hue-3\x20.icon\x20{\x0a\x20\x20\x20\x20color:\x20@accentHue3Contrast1;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-accent-bg.md-hue-3\x20.hint-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-accent-bg.md-hue-3\x20.disabled-text\x20{\x0a\x20\x20\x20\x20color:\x20@accentHue3Contrast3;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-accent-bg.md-hue-3\x20.fade-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-accent-bg.md-hue-3\x20.divider\x20{\x0a\x20\x20\x20\x20color:\x20@accentHue3Contrast4;\x0a}\x0a\x0a/*\x20Accent\x20foreground\x20*/\x0a[md-theme=\x22@themeName\x22]\x20.md-accent-fg\x20{\x0a\x20\x20\x20\x20color:\x20@accentDefaultColor\x20!important;\x0a}\x0a\x0a/*\x20Accent\x20foreground,\x20Hue-1\x20*/\x0a[md-theme=\x22@themeName\x22]\x20.md-accent-fg.md-hue-1\x20{\x0a\x20\x20\x20\x20color:\x20@accentHue1Color\x20!important;\x0a}\x0a\x0a/*\x20Accent\x20foreground,\x20Hue-2\x20*/\x0a[md-theme=\x22@themeName\x22]\x20.md-accent-fg.md-hue-2\x20{\x0a\x20\x20\x20\x20color:\x20@accentHue2Color\x20!important;\x0a}\x0a\x0a/*\x20Accent\x20foreground,\x20Hue-3\x20*/\x0a[md-theme=\x22@themeName\x22]\x20.md-accent-fg.md-hue-3\x20{\x0a\x20\x20\x20\x20color:\x20@accentHue3Color\x20!important;\x0a}\x0a\x0a/*\x20Warn\x20*/\x0a[md-theme=\x22@themeName\x22]\x20.md-warn-bg\x20{\x0a\x20\x20\x20\x20background-color:\x20@warnDefaultColor;\x0a\x20\x20\x20\x20color:\x20@warnDefaultContrast1;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-warn-bg\x20.secondary-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-warn-bg\x20.icon\x20{\x0a\x20\x20\x20\x20color:\x20@warnDefaultContrast2;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-warn-bg\x20.hint-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-warn-bg\x20.disabled-text\x20{\x0a\x20\x20\x20\x20color:\x20@warnDefaultContrast3;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-warn-bg\x20.fade-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-warn-bg\x20.divider\x20{\x0a\x20\x20\x20\x20color:\x20@warnDefaultContrast4;\x0a}\x0a\x0a/*\x20Warn,\x20Hue-1\x20*/\x0a[md-theme=\x22@themeName\x22]\x20.md-warn-bg.md-hue-1\x20{\x0a\x20\x20\x20\x20background-color:\x20@warnHue1Color;\x0a\x20\x20\x20\x20color:\x20@warnHue1Contrast1;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-warn-bg.md-hue-1\x20.secondary-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-warn-bg.md-hue-1\x20.icon\x20{\x0a\x20\x20\x20\x20color:\x20@warnHue1Contrast2;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-warn-bg.md-hue-1\x20.hint-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-warn-bg.md-hue-1\x20.disabled-text\x20{\x0a\x20\x20\x20\x20color:\x20@warnHue1Contrast3;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-warn-bg.md-hue-1\x20.fade-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-warn-bg.md-hue-1\x20.divider\x20{\x0a\x20\x20\x20\x20color:\x20@warnHue1Contrast4;\x0a}\x0a\x0a/*\x20Warn,\x20Hue-2\x20*/\x0a[md-theme=\x22@themeName\x22]\x20.md-warn-bg.md-hue-2\x20{\x0a\x20\x20\x20\x20background-color:\x20@warnHue2Color;\x0a\x20\x20\x20\x20color:\x20@warnHue2Contrast1;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-warn-bg.md-hue-2\x20.secondary-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-warn-bg.md-hue-2\x20.icon\x20{\x0a\x20\x20\x20\x20color:\x20@warnHue2Contrast2;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-warn-bg.md-hue-2\x20.hint-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-warn-bg.md-hue-2\x20.disabled-text\x20{\x0a\x20\x20\x20\x20color:\x20@warnHue2Contrast3;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-warn-bg.md-hue-2\x20.fade-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-warn-bg.md-hue-2\x20.divider\x20{\x0a\x20\x20\x20\x20color:\x20@warnHue2Contrast4;\x0a}\x0a\x0a/*\x20Warn,\x20Hue-3\x20*/\x0a[md-theme=\x22@themeName\x22]\x20.md-warn-bg.md-hue-3\x20{\x0a\x20\x20\x20\x20background-color:\x20@warnHue3Color;\x0a\x20\x20\x20\x20color:\x20@warnHue3Contrast1;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-warn-bg.md-hue-3\x20.secondary-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-warn-bg.md-hue-3\x20.icon\x20{\x0a\x20\x20\x20\x20color:\x20@warnHue3Contrast1;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-warn-bg.md-hue-3\x20.hint-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-warn-bg.md-hue-3\x20.disabled-text\x20{\x0a\x20\x20\x20\x20color:\x20@warnHue3Contrast3;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-warn-bg.md-hue-3\x20.fade-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-warn-bg.md-hue-3\x20.divider\x20{\x0a\x20\x20\x20\x20color:\x20@warnHue3Contrast4;\x0a}\x0a\x0a/*\x20Warn\x20foreground\x20*/\x0a[md-theme=\x22@themeName\x22]\x20.md-warn-fg\x20{\x0a\x20\x20\x20\x20color:\x20@warnDefaultColor\x20!important;\x0a}\x0a\x0a/*\x20Warn\x20foreground,\x20Hue-1\x20*/\x0a[md-theme=\x22@themeName\x22]\x20.md-warn-fg.md-hue-1\x20{\x0a\x20\x20\x20\x20color:\x20@warnHue1Color\x20!important;\x0a}\x0a\x0a/*\x20Warn\x20foreground,\x20Hue-2\x20*/\x0a[md-theme=\x22@themeName\x22]\x20.md-warn-fg.md-hue-2\x20{\x0a\x20\x20\x20\x20color:\x20@warnHue2Color\x20!important;\x0a}\x0a\x0a/*\x20Warn\x20foreground,\x20Hue-3\x20*/\x0a[md-theme=\x22@themeName\x22]\x20.md-warn-fg.md-hue-3\x20{\x0a\x20\x20\x20\x20color:\x20@warnHue3Color\x20!important;\x0a}\x0a\x0a/*\x20Background\x20*/\x0a[md-theme=\x22@themeName\x22]\x20.md-background-bg\x20{\x0a\x20\x20\x20\x20background-color:\x20@backgroundDefaultColor;\x0a\x20\x20\x20\x20color:\x20@backgroundDefaultContrast1;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-background-bg\x20.secondary-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-background-bg\x20.icon\x20{\x0a\x20\x20\x20\x20color:\x20@backgroundDefaultContrast2;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-background-bg\x20.hint-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-background-bg\x20.disabled-text\x20{\x0a\x20\x20\x20\x20color:\x20@backgroundDefaultContrast3;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-background-bg\x20.fade-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-background-bg\x20.divider\x20{\x0a\x20\x20\x20\x20color:\x20@backgroundDefaultContrast4;\x0a}\x0a\x0a/*\x20Background,\x20Hue-1\x20*/\x0a[md-theme=\x22@themeName\x22]\x20.md-background-bg.md-hue-1\x20{\x0a\x20\x20\x20\x20background-color:\x20@backgroundHue1Color;\x0a\x20\x20\x20\x20color:\x20@backgroundHue1Contrast1;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-background-bg.md-hue-1\x20.secondary-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-background-bg.md-hue-1\x20.icon\x20{\x0a\x20\x20\x20\x20color:\x20@backgroundHue1Contrast2;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-background-bg.md-hue-1\x20.hint-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-background-bg.md-hue-1\x20.disabled-text\x20{\x0a\x20\x20\x20\x20color:\x20@backgroundHue1Contrast3;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-background-bg.md-hue-1\x20.fade-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-background-bg.md-hue-1\x20.divider\x20{\x0a\x20\x20\x20\x20color:\x20@backgroundHue1Contrast4;\x0a}\x0a\x0a/*\x20Background,\x20Hue-2\x20*/\x0a[md-theme=\x22@themeName\x22]\x20.md-background-bg.md-hue-2\x20{\x0a\x20\x20\x20\x20background-color:\x20@backgroundHue2Color;\x0a\x20\x20\x20\x20color:\x20@backgroundHue2Contrast1;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-background-bg.md-hue-2\x20.secondary-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-background-bg.md-hue-2\x20.icon\x20{\x0a\x20\x20\x20\x20color:\x20@backgroundHue2Contrast2;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-background-bg.md-hue-2\x20.hint-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-background-bg.md-hue-2\x20.disabled-text\x20{\x0a\x20\x20\x20\x20color:\x20@backgroundHue2Contrast3;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-background-bg.md-hue-2\x20.fade-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-background-bg.md-hue-2\x20.divider\x20{\x0a\x20\x20\x20\x20color:\x20@backgroundHue2Contrast4;\x0a}\x0a\x0a/*\x20Background,\x20Hue-3\x20*/\x0a[md-theme=\x22@themeName\x22]\x20.md-background-bg.md-hue-3\x20{\x0a\x20\x20\x20\x20background-color:\x20@backgroundHue3Color;\x0a\x20\x20\x20\x20color:\x20@backgroundHue3Contrast1;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-background-bg.md-hue-3\x20.secondary-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-background-bg.md-hue-3\x20.icon\x20{\x0a\x20\x20\x20\x20color:\x20@backgroundHue3Contrast1;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-background-bg.md-hue-3\x20.hint-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-background-bg.md-hue-3\x20.disabled-text\x20{\x0a\x20\x20\x20\x20color:\x20@backgroundHue3Contrast3;\x0a}\x0a\x0a[md-theme=\x22@themeName\x22]\x20.md-background-bg.md-hue-3\x20.fade-text,\x0a[md-theme=\x22@themeName\x22]\x20.md-background-bg.md-hue-3\x20.divider\x20{\x0a\x20\x20\x20\x20color:\x20@backgroundHue3Contrast4;\x0a}\x0a\x0a/*\x20Background\x20foreground\x20*/\x0a[md-theme=\x22@themeName\x22]\x20.md-background-fg\x20{\x0a\x20\x20\x20\x20color:\x20@backgroundDefaultColor\x20!important;\x0a}\x0a\x0a/*\x20Background\x20foreground,\x20Hue-1\x20*/\x0a[md-theme=\x22@themeName\x22]\x20.md-background-fg.md-hue-1\x20{\x0a\x20\x20\x20\x20color:\x20@backgroundHue1Color\x20!important;\x0a}\x0a\x0a/*\x20Background\x20foreground,\x20Hue-2\x20*/\x0a[md-theme=\x22@themeName\x22]\x20.md-background-fg.md-hue-2\x20{\x0a\x20\x20\x20\x20color:\x20@backgroundHue2Color\x20!important;\x0a}\x0a\x0a/*\x20Background\x20foreground,\x20Hue-3\x20*/\x0a[md-theme=\x22@themeName\x22]\x20.md-background-fg.md-hue-3\x20{\x0a\x20\x20\x20\x20color:\x20@backgroundHue3Color\x20!important;\x0a}','','rgb(','0.7','0.3','0.12','0.87','0.54','0.26','black','slice','motion-blue','#ebf1fa','#c2d4ef','#9ab8e5','#78a0dc','#5688d3','#2e62b1','#1a3865','#275498','light','50\x20100\x20200\x20A100','300\x20400','motion-paleblue','#ececee','#c5c6cb','#9ea1a9','#5c616f','#353a48','#262933','#1e2129','#2d323e','constant','motionPalettes','500','400','light-blue','600','700','A100','red','grey','300','blue-grey','800','blue','100','teal','motionThemes','$mdThemingProvider','getObject','custom','definePalette','theme','primaryPalette','primary','accent','warnPalette','backgroundPalette','background','$mdTheming','PALETTES','THEMES','list','You\x20must\x20have\x20at\x20least\x20one\x20theme\x20named\x20\x22default\x22','The\x20theme\x20\x22','\x22\x20does\x20not\x20exist!\x20Falling\x20back\x20to\x20the\x20\x22default\x22\x20theme.','getFlatNavigation','Error500Controller','send','sendReport','post','/api/jira','FooterController','cookieAlertHide','motion.cookieAlertHide:','cookieAlertOnClose','ForgotPasswordController','forgotPassword','isLoggedIn','FORGOTPASSWORD.LINK_SENT','FORGOTPASSWORD.LINNK_SENT_MESSAGE','FORGOTPASSWORD.PASSWORD_RESET_ERROR','HeaderController','newsAlertHide','motion.newsAlertHide:','newsAlertOnClose','api/','baseUrl','auth/local','auth/local/forgot','@token','auth/local/user/:token','auth/google','jira','rpc/voice/channels/:uniqueid/mixmonitor','@uniqueid','rpc/voice/channels/:uniqueid/stopmixmonitor','rpc/voice/channels','rpc/voice/queues','rpc/chat/queues','rpc/mail/queues','rpc/sms/queues','rpc/openchannel/queues','rpc/voice/queues/preview/:id','rpc/voice/queues/channels','rpc/voice/queues/channels/:uniqueid','rpc/voice/queues/channels/:uniqueid/hangup','rpc/outbound','rpc/outbound/channels','rpc/agents','@id','rpc/trunks','rpc/campaigns','rpc/mail/accounts','rpc/chat/queues/waitinginteractions','rpc/sms/queues/waitinginteractions','rpc/fax/queues/waitinginteractions','rpc/mail/queues/:id/notify','rpc/fax/queues/:id/notify','rpc/sms/queues/:id/notify','rpc/openchannel/queues/:id/notify','rpc/agents/:id/notify','version/fetch','version/reset','version/restart','system','system/process/:pid/kill','@pid','pm2/:id','users/describe','users/:id/clone','users/:id/contacts','users/:id/password','users/:id/queues','users/:id/avatar','users/:id/queues_rt','users/:id/screen_recordings','users/:id/chat/interactions','users/:id/openchannel/interactions','users/:id/sms/interactions','users/:id/fax/interactions','users/:id/logout','users/:id/pause','users/:id/unpause','users/:id/teams','delete','users/:id/lists','users/:id/agents','users/:id/chat_interactions','users/:id/mail_interactions','users/:id/sms_interactions','users/:id/openchannel_interactions','users/:id/whatsapp_interactions','users/:id/prefixes','users/:id/fax_accounts','users/:id/mail_accounts','users/:id/openchannel_accounts','users/:id/sms_accounts','users/:id/chat_websites','users/:id/whatsapp_accounts','users/:id/square_projects','users/:id/scheduled_calls','users/:id/api_key','users/whoami','voiceChanSpy','voice/chanspy/:id/clone','@includeAll','voiceContext','voice/contexts/:id','voice/contexts/:id/clone','voice/extensions/:id','voice/extensions/describe','voice/extensions/:id/clone','voiceMusicOnHold','voice/mohs/:id','voice/mohs/:id/clone','voice/mohs/:id/sounds/:id2','voice/mohs/:id/sounds','voiceQueue','voice/queues/:id','voice/queues/:id/clone','voice/queues/:id/hoppers','voice/queues/:id/hopper_finals','voice/queues/:id/hopper_black','voice/queues/:id/teams','voice/queues/:id/users','voice/queues/:id/members','voice/queues/:id/lists','voice/queues/:id/blacklists','voiceRecording','voice/recordings/:id','voice/recordings/:id/clone','voice/recordings/:id/download','arraybuffer','content-type','content-length','voice/recordings/:id/downloads','voice/recordings/:id/transcribe','screenRecording','screen/recordings/:id','voiceMail','voice/mails/:id','voice/mails/describe','voice/mails/:id/clone','voiceMailMessage','voice/mails/messages/:id','voice/mails/messages/describe','voice/mails/messages/:id/clone','voice/mails/messages/:id/download','voiceCallReport','voice/calls/reports/:id','voice/calls/reports/describe','voice/calls/reports/:id/clone','voiceDialReport','voice/dials/reports/:id','voice/dials/reports/:id/clone','voiceAgentReport','voice/agents/reports/:id','voice/agents/reports/describe','voice/agents/reports/:id/clone','voiceQueueReport','voice/queues/reports/:id','voice/queues/reports/:id/clone','voice/queues/reports/index','memberReport','members/reports/:id','members/reports/describe','members/reports/:id/clone','trunk','trunks/:id','trunks/describe','trunks/:id/clone','voiceTransferReport','voice/transfers/reports/:id/clone','mail/out_servers/describe','mail/accounts/:id','mail/accounts/describe','mail/accounts/:id/clone','mail/accounts/:id/dispositions','mail/accounts/:id/canned_answers','mail/accounts/:id/in_servers','mail/accounts/:id/out_servers','mail/accounts/:id/interactions','mail/accounts/:id/applications','mail/accounts/:id/messages','mail/accounts/:id/send','mail/accounts/:id/verify','mail/accounts/:id/users','mail/queues/describe','mail/queues/:id/members','mail/queues/:id/teams','mail/queues/:id/users','mailSubstatus','mail/substatuses/:id','mail/substatuses/describe','mailInteraction','mail/interactions/describe','mail/interactions/:id/messages','mail/interactions/:id/tags','mail/interactions/:id/download','mailMessage','mail/messages/:id','mail/messages/describe','mail/messages/:id/accept','mail/messages/:id/reject','mail/applications/:id','mail/applications/:id/clone','mailQueueReport','mail/reports/queue/:id','mail/reports/queue/describe','dashboard','dashboards/:id','dashboards/describe','dashboards/:id/clone','dashboards/:id/items','dashboardItem','dashboards/items/describe','dashboards/items/:id/clone','faxAccount','fax/accounts/:id','fax/accounts/describe','fax/accounts/:id/clone','fax/accounts/:id/dispositions','fax/accounts/:id/canned_answers','fax/accounts/:id/interactions','fax/accounts/:id/applications','fax/accounts/addaccountapplications','fax/accounts/updateaccountapplications','fax/accounts/:id/messages','fax/accounts/:id/users','fax/applications/:id','fax/applications/describe','faxInteraction','fax/interactions/:id','fax/interactions/describe','fax/interactions/:id/clone','fax/interactions/:id/messages','fax/interactions/:id/tags','fax/interactions/:id/download','fax/messages/:id','fax/messages/describe','fax/messages/:id/clone','fax/messages/:id/reject','fax/messages/:id/download','fax/queues/describe','fax/queues/:id/clone','fax/queues/:id/teams','fax/queues/:id/users','faxQueueReport','fax/reports/queue/describe','sms/accounts/:id','sms/accounts/describe','sms/accounts/:id/clone','sms/accounts/:id/dispositions','sms/accounts/:id/canned_answers','sms/accounts/:id/notify','sms/accounts/:id/applications','sms/accounts/:id/interactions','sms/accounts/:id/status','sms/accounts/:id/users','sms/applications/:id','sms/applications/describe','sms/applications/:id/clone','sms/interactions/:id/clone','sms/interactions/:id/messages','sms/interactions/:id/tags','sms/interactions/:id/download','smsMessage','sms/messages/:id','sms/messages/describe','sms/messages/:id/accept','sms/messages/:id/status','smsQueue','sms/queues/:id','sms/queues/describe','sms/queues/:id/members','sms/queues/:id/teams','sms/queues/:id/users','openchannelAccount','openchannel/accounts/describe','openchannel/accounts/:id/dispositions','openchannel/accounts/:id/canned_answers','openchannel/accounts/:id/notify','openchannel/accounts/:id/applications','openchannel/accounts/:id/users','openchannel/accounts/:id/send','openchannelApplication','openchannel/applications/:id','openchannel/applications/describe','openchannel/applications/:id/clone','openchannelInteraction','openchannel/interactions/:id','openchannel/interactions/describe','openchannel/interactions/:id/clone','openchannel/interactions/:id/messages','openchannel/interactions/:id/tags','openchannel/interactions/:id/download','openchannelMessage','openchannel/messages/:id','openchannel/messages/:id/accept','openchannelQueue','openchannel/queues/describe','openchannel/queues/:id/clone','openchannel/queues/:id/members','openchannel/queues/:id/teams','openchannel/queues/:id/users','chatWebsite','chat/websites/:id','chat/websites/describe','chat/websites/:id/clone','chat/websites/:id/canned_answers','chat/websites/:id/logo','chat/websites/:id/avatar','chat/websites/:id/customer_avatar','chat/websites/:id/notify','chat/websites/:id/offline','chat/websites/:id/interactions','chat/websites/:id/snippet','chat/websites/:id/applications','chat/websites/:id/proactive_actions','chat/websites/:id/fields','chat/websites/:id/offline_messages','chat/websites/:id/users','openchannelQueueReport','openchannel/reports/queue/:id','openchannel/reports/queue/describe','openchannel/reports/queue/:id/clone','chatApplication','chat/applications/:id','chat/applications/describe','chatInteraction','chat/interactions/:id','chat/interactions/describe','chat/interactions/:id/custom_update','chat/interactions/:id/close','chat/interactions/:id/messages','chat/interactions/:id/my_messages','chat/interactions/:id/tags','chat/interactions/:id/download','chatMessage','chat/messages/:id','chat/messages/:id/clone','chat/messages/:id/accept','chat/messages/:id/reject','chatOfflineMessage','chat/offline_messages/:id','chat/queues/:id','chat/queues/:id/clone','chat/queues/:id/members','chat/queues/:id/teams','chat/queues/:id/users','chatGroup','chat/groups/:id','chat/groups/describe','chat/groups/:id/unread','chat/groups/:id/members','chat/groups/:id/messages','chatProactiveAction','chat/proactive_actions/:id','chat/proactive_actions/describe','cmCompany','cm/companies/:id','cm/companies/describe','cm/companies/:id/contacts','cmContact','cm/contacts/:id','cm/contacts/describe','cm/contacts/:id/clone','cm/contacts/merge','cm/contacts/create_many','cm/contacts/:id/tags','cm/contacts/:id/hopper_histories','cm/contacts/:id/hopper_finals','cm/contacts/:id/jscripty_sessions','cm/contacts/csv','cm/contacts/upload','cm/contacts/upload/:id','cmHopper','cm/hopper/:id/clone','cm/hopper/preview','cm/hopper/opencontacts','cmHopperBlack','cm/hopper_black/:id','cm/hopper_black/:id/clone','cmHopperFinal','cm/hopper_final/:id','cm/hopper_final/describe','cm/hopper_final/:id/clone','cm/hopper_final/campaign/countAttributes/:id','cm/hopper_final/voice/campaign/moveContacts/:id','cm/hopper_history/:id','cm/hopper_history/describe','cm/hopper_history/:id/clone','cm/custom_fields/:id','cm/custom_fields/describe','cm/custom_fields/:id/clone','actions/:id','automation','automations/:id/clone','automations/:id/conditions','automations/:id/actions','cannedAnswer','canned_answers/:id','canned_answers/describe','canned_answers/:id/clone','disposition','dispositions/describe','dispositions/:id/clone','condition','conditions/:id/clone','intervals/:id','intervals/describe','intervals/:id/clone','intervals/:id/sub_intervals','pauses/:id','pauses/:id/clone','cdr','cdr/:id','cdr/describe','cdr/:id/clone','voiceQueuesLog','voiceQueuesLog/:id','voiceQueuesLog/describe','voiceQueuesLog/:id/clone','schedules/:id','schedules/describe','schedules/:id/clone','schedules/:id/run','sounds/:id','sounds/describe','sounds/:id/clone','sounds/:id/download','tag','tags/:id/clone','template','templates/:id','templates/describe','templates/:id/clone','triggers/:id','triggers/:id/any_conditions','triggers/:id/actions','variable','variables/:id','variables/:id/clone','integration','integrations/:id','integrations/describe','integrations/:id/clone','integrationReport','integrations/reports/:id','integrations/reports/describe','analytics/custom_reports/:id','analytics/custom_reports/describe','analytics/custom_reports/:id/clone','analytics/custom_reports/:id/run','analytics/custom_reports/:id/query','analytics/default_reports/:id','analytics/default_reports/:id/clone','analytics/default_reports/:id/preview','analytics/default_reports/:id/run','analytics/default_reports/:id/query','analyticExtractedReport','analytics/extracted_reports/describe','analytics/extracted_reports/:id/clone','analytics/extracted_reports/:id/download','analyticMetric','analytics/metrics/:id','analytics/metrics/describe','analytics/metrics/:id/clone','analyticFieldReport','analytics/field_reports/:id','analytics/field_reports/:id/clone','analytics/field_reports/create_many','analytics/field_reports/:id/create_many','analyticTreeReport','analytics/tree_reports/:id','analytics/tree_reports/describe','intSalesforceAccount','integrations/salesforce/accounts/:id','integrations/salesforce/accounts/describe','integrations/salesforce/accounts/:id/clone','intSalesforceConfiguration','integrations/salesforce/configurations/:id','integrations/salesforce/configurations/describe','integrations/salesforce/configurations/:id/clone','integrations/salesforce/configurations/:id/fields','integrations/salesforce/configurations/:id/subjects','integrations/salesforce/configurations/:id/descriptions','intSalesforceField','integrations/salesforce/fields/:id','integrations/salesforce/fields/describe','intSugarcrmAccount','integrations/sugarcrm/accounts/:id','integrations/sugarcrm/accounts/:id/clone','integrations/sugarcrm/accounts/:id/configurations','integrations/sugarcrm/accounts/:id/fields','intSugarcrmConfiguration','integrations/sugarcrm/configurations/:id','integrations/sugarcrm/configurations/:id/clone','integrations/sugarcrm/configurations/:id/fields','integrations/sugarcrm/configurations/:id/subjects','integrations/sugarcrm/configurations/:id/descriptions','intSugarcrmField','integrations/sugarcrm/fields/:id','integrations/sugarcrm/fields/describe','integrations/sugarcrm/fields/:id/clone','intDeskAccount','integrations/desk/accounts/describe','integrations/desk/accounts/:id/fields','intDeskConfiguration','integrations/desk/configurations/:id','integrations/desk/configurations/:id/clone','integrations/desk/configurations/:id/fields','integrations/desk/configurations/:id/subjects','integrations/desk/configurations/:id/descriptions','integrations/desk/configurations/:id/tags','intDeskField','integrations/desk/fields/:id','integrations/desk/fields/describe','integrations/desk/fields/:id/clone','intZohoAccount','integrations/zoho/accounts/:id','integrations/zoho/accounts/describe','integrations/zoho/accounts/:id/clone','integrations/zoho/accounts/:id/configurations','integrations/zoho/accounts/:id/fields','integrations/zoho/configurations/:id','integrations/zoho/configurations/describe','integrations/zoho/configurations/:id/clone','integrations/zoho/configurations/:id/subjects','integrations/zoho/configurations/:id/descriptions','intZohoField','integrations/zoho/fields/describe','integrations/zoho/fields/:id/clone','intZendeskAccount','integrations/zendesk/accounts/:id','integrations/zendesk/accounts/describe','integrations/zendesk/accounts/:id/clone','integrations/zendesk/accounts/:id/configurations','integrations/zendesk/accounts/:id/fields','intZendeskConfiguration','integrations/zendesk/configurations/describe','integrations/zendesk/configurations/:id/clone','integrations/zendesk/configurations/:id/fields','integrations/zendesk/configurations/:id/descriptions','integrations/zendesk/configurations/:id/tags','intZendeskField','integrations/zendesk/fields/:id','integrations/zendesk/fields/describe','integrations/zendesk/fields/:id/clone','intFreshdeskAccount','integrations/freshdesk/accounts/:id','integrations/freshdesk/accounts/describe','integrations/freshdesk/accounts/:id/clone','integrations/freshdesk/accounts/:id/configurations','integrations/freshdesk/accounts/:id/fields','intFreshdeskConfiguration','integrations/freshdesk/configurations/describe','integrations/freshdesk/configurations/:id/clone','integrations/freshdesk/configurations/:id/fields','integrations/freshdesk/configurations/:id/subjects','integrations/freshdesk/configurations/:id/descriptions','integrations/freshdesk/configurations/:id/tags','integrations/freshdesk/fields/:id','integrations/freshdesk/fields/describe','integrations/freshdesk/fields/:id/clone','intVtigerAccount','integrations/vtiger/accounts/:id','integrations/vtiger/accounts/describe','integrations/vtiger/accounts/:id/clone','integrations/vtiger/accounts/:id/configurations','intVtigerConfiguration','integrations/vtiger/configurations/:id','integrations/vtiger/configurations/describe','integrations/vtiger/configurations/:id/fields','integrations/vtiger/configurations/:id/subjects','integrations/vtiger/configurations/:id/descriptions','intVtigerField','integrations/vtiger/fields/:id','integrations/vtiger/fields/:id/clone','intServicenowAccount','integrations/servicenow/accounts/describe','integrations/servicenow/accounts/:id/clone','integrations/servicenow/accounts/:id/configurations','integrations/servicenow/accounts/:id/fields','intServicenowConfiguration','integrations/servicenow/configurations/:id','integrations/servicenow/configurations/describe','integrations/servicenow/configurations/:id/clone','integrations/servicenow/configurations/:id/subjects','intServicenowField','integrations/servicenow/fields/:id','integrations/servicenow/fields/describe','integrations/servicenow/fields/:id/clone','intDynamics365Account','integrations/dynamics365/accounts/:id','integrations/dynamics365/accounts/describe','integrations/dynamics365/accounts/:id/clone','integrations/dynamics365/accounts/:id/configurations','integrations/dynamics365/accounts/:id/fields','intDynamics365Configuration','integrations/dynamics365/configurations/describe','integrations/dynamics365/configurations/:id/clone','integrations/dynamics365/configurations/:id/subjects','integrations/dynamics365/fields/:id/clone','intFreshsalesAccount','integrations/freshsales/accounts/describe','integrations/freshsales/accounts/:id/clone','integrations/freshsales/accounts/:id/configurations','integrations/freshsales/accounts/:id/fields','intFreshsalesConfiguration','integrations/freshsales/configurations/:id','integrations/freshsales/configurations/:id/clone','integrations/freshsales/configurations/:id/subjects','integrations/freshsales/configurations/:id/fields','intFreshsalesField','integrations/freshsales/fields/:id','integrations/freshsales/fields/describe','integrations/freshsales/fields/:id/clone','networks/describe','networks/:id/clone','chat/reports/queue/describe','chat/reports/queue/:id/clone','chatInternalMessage','chat/internal/messages/describe','chat/internal/messages/:id/clone','chat/internal/messages/users','jscriptyAnswerReport','jscripty/answers/reports/:id','jscripty/answers/reports/describe','jscripty/answers/reports/:id/clone','jscriptyQuestionReport','jscripty/questions/reports/:id','jscripty/questions/reports/describe','jscripty/questions/reports/:id/clone','jscriptySessionReport','jscripty/sessions/reports/:id','jscripty/sessions/reports/describe','jscripty/sessions/reports/:id/clone','jscripty/sessions/reports/:id/questions','sms/reports/queue/:id','sms/reports/queue/:id/clone','squareReport','square/reports/describe','square/reports/:id/clone','squareReportDetail','square/details/reports/:id','square/details/reports/:id/clone','jscriptyProject','jscripty/projects/:id','jscripty/projects/describe','jscripty/projects/:id/clone','jscripty/projects/:id/answers','jscripty/projects/:id/summary','setting','settings/:id','settings/describe','settings/:id/clone','settings/:id/logo','settings/:id/preferred','settings/:id/favicon','squareOdbc','square/odbc/:id','square/odbc/describe','square/odbc/:id/test','squareProject','square/projects/:id','square/projects/describe','square/projects/:id/clone','square/projects/:id/users','square/recordings/:id','square/recordings/describe','square/recordings/:id/download','squareMessage','square/messages/:id','team','teams/describe','teams/:id/queues','teams/:id/users','license/:id','campaign','campaigns/:id','campaigns/describe','campaigns/:id/clone','campaigns/:id/hoppers','campaigns/:id/hopper_histories','campaigns/:id/hopper_black','campaigns/:id/lists','campaigns/:id/blacklists','migration','migrations/:id','migrations/describe','migrations/:id/clone','attachment','attachments/:id','attachments/describe','attachments/:id/clone','attachments/:id/download','plugin','plugins/:id','plugins/describe','plugins/:id/download','plugins/','plugins/webhook','mail/reports/transfer/:id','mail/reports/transfer/describe','chat/reports/transfer/:id','chat/reports/transfer/describe','chat/reports/transfer/:id/clone','faxTransferReport','fax/reports/transfer/:id/clone','openchannel/reports/transfer/describe','openchannel/reports/transfer/:id/clone','smsTransferReport','sms/reports/transfer/describe','sms/reports/transfer/:id/clone','cm/lists/describe','cm/lists/:id/dispositions','cm/lists/:id/contacts','cm/lists/:id/contacts/csv','cm/lists/:id/fields','cm/lists/:id/users','voicePrefix','voice/prefixes/:id','voice/prefixes/describe','voice/prefixes/:id/clone','voice/prefixes/:id/users','userProfiles/:id','userProfiles/describe','userProfiles/:id/clone','userProfiles/:id/sections','userProfiles/:id/resources','userProfile/sections/:id/clone','userProfile/resources/:id','userProfile/resources/:id/clone','notifications/describe','notifications/','whatsapp/accounts/:id','whatsapp/accounts/:id/clone','whatsapp/accounts/:id/dispositions','whatsapp/accounts/:id/canned_answers','whatsapp/accounts/:id/users','whatsapp/accounts/:id/applications','whatsapp/accounts/:id/notify','whatsapp/accounts/:id/send','whatsapp/applications/describe','whatsapp/applications/:id/clone','whatsappInteraction','whatsapp/interactions/:id','whatsapp/interactions/describe','whatsapp/interactions/:id/clone','whatsapp/interactions/:id/messages','whatsapp/interactions/:id/tags','whatsappMessage','whatsapp/messages/:id','whatsapp/messages/:id/clone','whatsapp/messages/:id/accept','whatsapp/messages/:id/reject','whatsapp/messages/:id/status','whatsappQueueReport','whatsapp/reports/queue/describe','whatsapp/reports/transfer/:id/clone','whatsappQueue','whatsapp/queues/describe','whatsapp/queues/:id/clone','whatsapp/queues/:id/teams','whatsapp/queues/:id/users','cloudProvider','cloudProviders/:id','cloudProviders/describe','cloudProviders/:id/clone','$translateProvider','toastyConfigProvider','setConfig','top-right','material','useLoader','$translatePartialLoader','{part}/i18n/{lang}.json','preferredLanguage','IndexController','ltr','motion.language','use','rtlSupport','rtl','Error','limitObjectFromTo','IndexFactory','Sequence','getTime','shortTime','MMM\x20d,\x20y\x20h:mm\x20a','jan','mar','apr','jul','aug','sep','oct','dec','mon','tue','thu','fri','sun','DASHBOARDS.TODAY','DASHBOARDS.YESTERDAY','DASHBOARDS.THIS_WEEK','DASHBOARDS.LAST_WEEK','DASHBOARDS.THIS_YEAR','DASHBOARDS.LAST_YEAR','DASHBOARDS.JANUARY','DASHBOARDS.FEBRUARY','DASHBOARDS.MARCH','DASHBOARDS.APRIL','DASHBOARDS.MAY','DASHBOARDS.JUNE','DASHBOARDS.JULY','DASHBOARDS.AUGUST','DASHBOARDS.SEPTEMBER','DASHBOARDS.DECEMBER','DASHBOARDS.MON','DASHBOARDS.TUE','DASHBOARDS.WED','DASHBOARDS.THU','DASHBOARDS.SAT','DASHBOARDS.SUN','tail','$urlRouterProvider','$locationProvider','html5Mode','otherwise','app/core/layouts/vertical-navigation.html','app/toolbar/layouts/vertical-navigation/toolbar.html','app/navigation/layouts/vertical-navigation/navigation.html','app/header/layouts/vertical-navigation/header.html','app/footer/layouts/vertical-navigation/footer.html','app/core/layouts/vertical-navigation-fullwidth-toolbar.html','app/toolbar/layouts/vertical-navigation-fullwidth-toolbar/toolbar.html','app/navigation/layouts/vertical-navigation-fullwidth-toolbar-2/navigation.html','app/core/layouts/horizontal-navigation.html','app/toolbar/layouts/horizontal-navigation/toolbar.html','app/core/layouts/content-with-toolbar.html','app/toolbar/layouts/content-with-toolbar/toolbar.html','main','ToolbarController\x20as\x20vm','NavigationController\x20as\x20vm','app/quick-panel/quick-panel.html','QuickPanelController\x20as\x20vm','header','footer','FooterController\x20as\x20vm','license@get','showLoadingIndicator','hideLoadingIndicator','id=','websocket','polling','emit','removeListener','progresslogin','googleSsoEnabled','loginOauth','userId','removeCookies','setCurrentUser','loginSSO','$location','extractedReports','crudPermissions','errors','hasModulePermissions','passwordPattern','ANALYTICS.EDIT_EXTRACTEDREPORT','extractedReport','ANALYTICS.NEW_EXTRACTEDREPORT','newExtractedReport','addNewExtractedReport','getDateFromString','save','toJSON','ExtractedReport\x20properly\x20created','\x20has\x20been\x20created!','api.analyticExtractedReport.save','ExtractedReport\x20properly\x20saved!','\x20has\x20been\x20saved!','api.analyticExtractedReport.update','confirm','Are\x20you\x20sure?','Delete\x20ExtractedReport','Delete','targetEvent','ExtractedReport\x20properly\x20deleted!','\x20has\x20been\x20deleted!','api.analyticExtractedReport.delete','ExtractedReportsController','parseCrudPermissions','table','listOrder','listOrderAsc','selectedExtractedReports','editdialog','downloadfile2','deleteconfirm','getExtractedReports','createOrEditExtractedReport','deleteExtractedReport','deleteSelectedExtractedReports','deselectExtractedReports','CreateOrEditExtractedReportDialogController','appendChild','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20','startCase','htmlContent','','','\x20will\x20be\x20deleted.','delete\x20extractedReport','CANCEL','vm.query.filter','section','getResources','app/main/apps/analytics/views/extractedReports/create/dialog.html','ExtractedReport','\x20deleted!','SYSTEM:DELETEanalyticExtractedReport','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20extractedReports?','\x20selected
','delete\x20ExtractedReports','metrics','metric','securePassword','ANALYTICS.EDIT_METRIC','newMetric','report_agent','addNewMetric','saveMetric','deleteMetric','Metric\x20properly\x20created','api.analyticMetric.save','Metric\x20properly\x20saved!','api.analyticMetric.update','content','Metric\x20properly\x20deleted!','api.analyticMetric.delete','MetricsController','selectedMetrics','arraytable','keyBy','Agent\x20Report','Call\x20Report','\x27report_call\x27','CDR','\x27cdr\x27','Chat\x20Website','\x27chat_websites\x27','\x27chat_interactions\x27','\x27chat_offline_messages\x27','Chat\x20Queues','\x27chat_queues\x27','Chat\x20Report\x20Queue','\x27report_chat_queue\x27','\x27cm_contacts\x27','\x27report_square\x27','CSquare\x20Details\x20Report','\x27report_square_details\x27','Dial\x20Report','Dialer\x20Hopper\x20Processing','\x27cm_hopper\x27','Dialer\x20Hopper\x20Logs','Dialer\x20Hopper\x20Final','\x27mail_accounts\x27','Email\x20Interaction','\x27mail_interactions\x27','Email\x20Messages','\x27mail_messages\x27','Email\x20Queues','Email\x20Report\x20Queue','\x27report_mail_transfer\x27','Fax\x20Account','Fax\x20Interaction','Fax\x20Queues','\x27report_fax_queue\x27','Fax\x20Report\x20Transfer','\x27report_fax_transfer\x27','\x27report_jscripty_sessions\x27','Jscripty\x20Questions','\x27report_jscripty_questions\x27','\x27cm_lists\x27','\x27report_member\x27','\x27openchannel_accounts\x27','Openchannel\x20Interaction','\x27openchannel_interactions\x27','Openchannel\x20Messages','\x27openchannel_messages\x27','Openchannel\x20Queues','\x27openchannel_queues\x27','Openchannel\x20Report\x20Queue','\x27report_openchannel_queue\x27','\x27report_openchannel_transfer\x27','Queue\x20Report','\x27report_queue\x27','SMS\x20Account','SMS\x20Interaction','\x27sms_interactions\x27','SMS\x20Messages','\x27sms_messages\x27','SMS\x20Queues','SMS\x20Report\x20Queue','\x27report_sms_queue\x27','\x27report_sms_transfer\x27','Users','\x27users\x27','\x27voice_recordings\x27','\x27whatsapp_interactions\x27','Whatsapp\x20Messages','\x27whatsapp_messages\x27','Whatsapp\x20Report\x20Queue','Whatsapp\x20Report\x20Transfer','\x27report_whatsapp_transfer\x27','getMetrics','createOrEditMetric','deselectMetrics','selectAllMetrics','CreateOrEditMetricDialogController','app/main/apps/analytics/views/metrics/create/dialog.html','page','Metric','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20metrics?','report','treeCustomData','CopyReportDialogController','-copy','treeCustomConfig','treeCtrl:\x20error\x20from\x20js\x20tree\x20-\x20','treeCustomEvents','copyReport','description','currentNode','\x20has\x20been\x20copied!','CustomReportId','DefaultReportId','bulkCreate','Fields\x20copied!','apiName','CreateOrEditReportDialogController','joinTables','ANALYTICS.EDIT_REPORT','reports','newReport','tables','Join','left_join','Left\x20Join','right_join','Right\x20Join','cross_join','ANALYTICS.NEW_REPORT','saveReport','deleteReport','selectedTableChange','getFields','describe','selectedItem','foreignKey','Report\x20properly\x20created','api.analyticReport.save','Report\x20properly\x20saved!','api.analyticReport.update','The\x20report\x20will\x20be\x20deleted.','Delete\x20Report','Report\x20properly\x20deleted!','api.analyticReport.delete','sqlUtil','ReportConditionsController','getConditions','AND','rules','createdAt','updatedAt','SYSTEM:DESCRIBE','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20item?','delete\x20item','IS\x20NULL','IS\x20NOT\x20NULL','cmHopperHistory','cmList','chatQueue','chatQueueReport','chatTransferReport','mailTransferReport','openchannelTransferReport','smsAccount','smsInteraction','smsQueueReport','faxQueue','faxMessage','whatsappTransferReport','forIn','reportFields','reportField','CreateOrEditReportFieldDialogController','Edit\x20Report\x20Field','newReportField','New\x20Report\x20Field','saveReportField','MetricId','Report\x20field\x20properly\x20created','api.analyticFieldReport.save','Report\x20Field\x20properly\x20saved!','api.analyticFieldReport.update','The\x20field\x20will\x20be\x20deleted.','Report\x20Field\x20properly\x20deleted!','api.analyticReportField.delete','functions','getFunctions','getFormats','getGroupBy','getOrderBy','selectedReportFields','createdAt,updatedAt,id,field,alias,function,format,groupBy,orderBy,custom,MetricId','sortableTable','addFields','models','SYSTEM:ADDFIELDS','deleteConfirm','getReportFields','createOrEditReportField','deleteReportField','deleteSelectedReportFields','getMetricName','getMetricValue','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20field?','vm_rf.query.filter','app/main/apps/analytics/views/reports/edit/field/dialog.html','Field\x20deleted!','SYSTEM:DELETEFIELD','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20fields?','delete\x20fields','ANALYTICS.NO_METRIC_FOUND','SUM','SUM\x20(','COUNT','COUNT\x20(','COUNT\x20DISTINCT','MAX','MAX\x20(','MIN','AVG','AVG\x20(','GROUP_CONCAT','GROUP_CONCAT\x20(','GROUP_CONCAT\x20ASC','\x20ASC)','GROUP_CONCAT\x20DESC','\x20ORDER\x20BY\x20','\x20DESC)','SEC_TO_TIME','SEC_TO_TIME\x20(','DATE','DATE\x20(','HOUR','HOUR\x20(','ROUND\x20(','GROUP\x20BY\x20','ASC','ORDER\x20BY\x20','\x20ASC','DESC','LIKE','NOT\x20LIKE','IS\x20EMPTY','selectedTab','tab','previewReport','queryReport','mapArray','Report\x20updated!','preview','SYSTEM:analyticFieldReport','sql','NO\x20QUERY','queryResult','Loading...','PreviewReportDialogController','treeReports','ReportsController','selectedReports','customTree','editstate','rundialog','downloadfile','createOrEditReport','exportSelectedReports','selectAllReports','tree','treeDefaultConfig','app.analytics.reports.edit','app/main/apps/analytics/views/reports/copy/dialog.html','jstree','get_json','app/main/apps/analytics/views/reports/preview/dialog.html','RunReportDialogController','currentPath','id,name,metric,table','field,alias,function,format,groupBy,orderBy,custom,MetricId','data:text/json;charset=utf-8,','.json','_self','Report\x20downloaded!','SYSTEM:DOWNLOADJSON','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20report?','delete\x20report','getReports','vm.search','treeDefaultInstance','treeCustomInstance','DefaultReports','CustomReports','app/main/apps/analytics/views/reports/create/dialog.html','file','application/json','onload','result','Report\x20saved!','Fields\x20saved!','SYSTEM:GETanalyticReport','Decode\x20File\x20Error','readAsDataURL','Please\x20use\x20only\x20json\x20files','Report\x20deleted!','api.analyticreport.delete','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20reports?','delete\x20Reports','get_path','deselect_all','close_all','Node\x20Updated','\x20has\x20been\x20updated!','SYSTEM:UPDATEanalyticTreeReport','contextmenu','wholerow','canEdit','ANALYTICS.CREATE','edit','ANALYTICS.RENAME','canDelete','ANALYTICS.REMOVE','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20node?','Node','\x20and\x20its\x20subnode\x20will\x20be\x20deleted.','delete\x20node','get_parent','get_node','delete_node','select_node','SYSTEM:DELETEreportsByParents','export','runReport','refreshDate','xlsx','exportDate','WebReportDialogController','app/main/apps/analytics/views/reports/run/web/dialog.html','analyticFieldReport@get','\x20has\x20been\x20run!','odbcs','odbc','CALLYSQUARE.EDIT_ODBC','newOdbc','CALLYSQUARE.NEW_ODBC','addNewOdbc','saveOdbc','deleteOdbc','Odbc\x20properly\x20created','api.squareOdbc.save','Odbc\x20properly\x20saved!','api.squareOdbc.update','Odbc\x20properly\x20deleted!','api.squareOdbc.delete','OdbcsController','createdAt,updatedAt,id,name,dsn,description','testtestOdbc','createOrEditOdbc','exportSelectedODBC','deleteSelectedODBC','selectAllODBC','CreateOrEditOdbcDialogController','Square\x20ODBC\x20properly\x20tested','Connection\x20succeded!','delete\x20odbc','getODBC','app/main/apps/callysquare/views/odbcs/create/dialog.html','SYSTEM:DELETEsquareOdbc','selectedODBC','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20odbcs?','delete\x20Odbcs','projects','project','CreateOrEditSquareProjectDialogController','CALLYSQUARE.EDIT_PROJECT','openFromEditor','CALLYSQUARE.NEW_PROJECT','newProject','addNewProject','saveProject','addSquareProjects','Project\x20properly\x20created','newWindow','/callysquare/projects/','api.squareProject.save','Project\x20properly\x20saved!','api.squareProject.update','The\x20project\x20will\x20be\x20deleted.','Delete\x20Project','getUsers','removeSquareProjects','Project\x20properly\x20deleted!','api.squareProject.delete','ispeechAsrLanguage','googleAsrLanguage','ispeechTtsLanguage','googleCloudTtslanguageCode','googleTtsLanguage','users','trunks','queues','sounds','variables','contexts','mailAccounts','templates','saveCallback','awsPollyVoice','awsPollyRegion','smsAccounts','pauses','dialogFlowLanguage','awsLexRegion','MxGraphDialogController','file_id','response','retry','mindigit','maxdigit','variable_id','hiddendigitsnum','odbc_id','trunk_name','phone','context','extension','command','digits','goalname','queue_id','interval_id','mailbox','project_id','sms_account_id','sms_text','account_id','apiKey','google_cloud_tts_text_type','application','aws_secret_access_key','aws_text_type','grammar','appsecret','uri','findBy','dialogflow_language','aws_access_key_id','aws_lex_region','aws_bot_name','ndauth_url','ndassistant_url','pause_id','bcc','cellName','tagName','attributes','noauth','NO\x20AUTH','hmac','HMAC','yes','Yes','conversationUpdate','Conversation\x20Update','contactRelationUpdate','Contact\x20Relation\x20Update','End\x20of\x20Conversation','first','First','Last','wav','Wav','gsm','Gsm','BEEP','NOBEEP','FEMALE','Female','MALE','ssml','Text','SSML','Highest','Medium','Lowest','Internal','Phone','Mobile','POST','PUT','DELETE','getMap','canSelect','IntervalId','sip_id','trunk_id','template_id','list_id','GET_USER','GET_LIST','GET_TRUNK','GET_VARIABLE','GET_ODBC','GET_PROJECT','GET_CONTEXT','GET_MAIL_ACCOUNT','GET_SMS_ACCOUNT','GET_PAUSE','stringToNumber','ispeechAsrModel','Danish','English','German','Italian','Spanish','French','Indonesian','Japanese','Korean\x20(South\x20Korea)','Dutch','Norwegian','Portuguese\x20(European)','Portuguese\x20(Nrazilian)','Russian','Ukrainian','zh-CN','Chinese\x20(Simplified)','zh-HK','Chinese\x20(Hong\x20Kong)','ar-XA','Arabic','cs-CZ','Czech\x20(Czech\x20Republic)','da-DK','Danish\x20(Denmark)','de-DE','Dutch\x20(Netherlands)','el-GR','Greek\x20(Greece)','en-AU','English\x20(Australian)','English\x20(India)','en-GB','en-US','English\x20(US)','Finnish\x20(Finland)','fil-PH','Filipino\x20(Philippines)','French\x20(Canada)','French\x20(France)','Hindi\x20(India)','hu-HU','Hungarian\x20(Hungary)','id-ID','Italian\x20(Italy)','ja-JP','Japanese\x20(Japan)','ko-KR','cmn-CN','nb-NO','Norwegian\x20(Norway)','pl-PL','pt-BR','pt-PT','ru-RU','Russian\x20(Russia)','sk-SK','es-ES','sv-SE','Swedish\x20(Sweden)','tr-TR','Turkish\x20(Turkey)','Ukrainian\x20(Ukraine)','Vietnamese\x20(Vietnam)','Afrikaans','Amharic','Armenian','Basque','Belarusian','Bengali','Bihari','Breton','Bulgarian','Cambodian','zh-TW','Chinese\x20(Traditional)','Corsican','Estonian','Filipino','Frisian','Galician','Guarani','xx-hacker','Hausa','Hindi','Hungarian','Icelandic','Interlingua','Irish','Javanese','Kazakh','Kinyarwanda','xx-klingon','Klingon','Kurdish','Korean','Kyrgyz','Laothian','Latin','Latvian','Lithuanian','Macedonian','Malagasy','Maltese','Maori','Marathi','Moldavian','sr-ME','Montenegrin','Nepali','Norwegian\x20(Nynorsk)','Occitan','Oriya','Oromo','Pashto','Persian','xx-pirate','Pirate','Polish','Portuguese\x20(Brazil)','Portuguese\x20(Portugal)','Punjabi','Quechua','Romansh','Serbian','Serbo-Croatian','Sesotho','Shona','Sindhi','Sinhalese','Slovak','Slovenian','Somali','Sundanese','Swahili','Swedish','Tamil','Tatar','Thai','Tigrinya','Tonga','Turkish','Turkmen','Twi','Uighur','Urdu','Vietnamese','Yiddish','Yoruba','af-ZA','am-ET','hy-AM','az-AZ','Azerbaijani\x20(Azerbaijan)','Indonesian\x20(Indonesia)','ms-MY','Malay\x20(Malaysia)','Bengali\x20(Bangladesh)','bn-IN','Bengali\x20(India)','Catalan\x20(Spain)','German\x20(Germany)','English\x20(Australia)','English\x20(Canada)','en-GH','English\x20(Ghana)','en-IE','en-KE','English\x20(Kenya)','en-NZ','English\x20(New\x20Zealand)','en-NG','English\x20(Nigeria)','English\x20(Philippines)','English\x20(Tanzania)','es-AR','Spanish\x20(Argentina)','es-BO','Spanish\x20(Bolivia)','Spanish\x20(Chile)','es-CO','es-CR','Spanish\x20(Costa\x20Rica)','Spanish\x20(Ecuador)','Spanish\x20(El\x20Salvador)','Spanish\x20(Spain)','Spanish\x20(United\x20States)','es-GT','Spanish\x20(Guatemala)','es-HN','Spanish\x20(Mexico)','Spanish\x20(Nicaragua)','es-PA','Spanish\x20(Panama)','es-PY','Spanish\x20(Paraguay)','es-PE','es-PR','es-DO','Spanish\x20(Dominican\x20Republic)','es-UY','es-VE','Spanish\x20(Venezuela)','eu-ES','fr-CA','fr-FR','gl-ES','Galician\x20(Spain)','ka-GE','Georgian\x20(Georgia)','Gujarati\x20(India)','hr-HR','Croatian\x20(Croatia)','Zulu\x20(South\x20Africa)','is-IS','Icelandic\x20(Iceland)','kn-IN','Kannada\x20(India)','km-KH','Khmer\x20(Cambodia)','Lao\x20(Laos)','Latvian\x20(Latvia)','lt-LT','ml-IN','Malayalam\x20(India)','mr-IN','Marathi\x20(India)','nl-NL','ne-NP','Nepali\x20(Nepal)','Norwegian\x20Bokmal\x20(Norway)','Polish\x20(Poland)','ro-RO','Romanian\x20(Romania)','si-LK','Slovak\x20(Slovakia)','su-ID','Sundanese\x20(Indonesia)','sw-TZ','Swahili\x20(Kenya)','fi-FI','ta-IN','Tamil\x20(India)','ta-SG','Tamil\x20(Singapore)','Tamil\x20(Sri\x20Lanka)','ta-MY','Tamil\x20(Malaysia)','vi-VN','Urdu\x20(Pakistan)','ur-IN','Urdu\x20(India)','Bulgarian\x20(Bulgaria)','Serbian\x20(Serbia)','uk-UA','he-IL','ar-IL','Arabic\x20(Israel)','ar-JO','Arabic\x20(Jordan)','Arabic\x20(United\x20Arab\x20Emirates)','ar-BH','Arabic\x20(Bahrain)','ar-DZ','Arabic\x20(Algeria)','ar-SA','Arabic\x20(Saudi\x20Arabia)','Arabic\x20(Iraq)','ar-KW','ar-MA','Arabic\x20(Morocco)','ar-TN','Arabic\x20(Tunisia)','ar-PS','Arabic\x20(State\x20of\x20Palestine)','ar-QA','Arabic\x20(Qatar)','ar-LB','Arabic\x20(Lebanon)','ar-EG','hi-IN','th-TH','Thai\x20(Thailand)','cmn-Hant-TW','Chinese,\x20Mandarin\x20(Traditional,\x20Taiwan)','yue-Hant-HK','Chinese,\x20Cantonese\x20(Traditional,\x20Hong\x20Kong)','cmn-Hans-HK','Chinese,\x20Mandarin\x20(Simplified,\x20Hong\x20Kong)','cmn-Hans-CN','usenglishfemale','US\x20English\x20Female','usenglishmale','US\x20English\x20Male','ukenglishfemale','UK\x20English\x20Female','UK\x20English\x20Male','auenglishfemale','Australian\x20English','usspanishfemale','US\x20Spanish\x20Female','Chinese\x20Female','chchinesemale','Chinese\x20Male','hkchinesefemale','Hong\x20Kong\x20Cantonese\x20Female','Taiwan\x20Chinese\x20Female','Japanese\x20Male','krkoreanfemale','Korean\x20Male','caenglishfemale','Canadian\x20English\x20Female','Hungarian\x20Female','Brazilian\x20Portuguese\x20Female','eurportuguesemale','eurspanishfemale','European\x20Spanish\x20Female','eurspanishmale','European\x20Spanish\x20Male','eurcatalanfemale','European\x20Catalan\x20Female','eurczechfemale','European\x20Czech\x20Female','eurdanishfemale','European\x20Danish\x20Female','eurfinnishfemale','eurfrenchfemale','European\x20French\x20Female','eurfrenchmale','European\x20French\x20Male','European\x20Norwegian\x20Female','European\x20Dutch\x20Female','eurpolishfemale','European\x20Polish\x20Female','European\x20Italian\x20Female','euritalianmale','European\x20Italian\x20Male','eurturkishfemale','eurturkishmale','European\x20Turkish\x20Male','eurgermanfemale','eurgermanmale','European\x20German\x20Male','Russian\x20Female','rurussianmale','Canadian\x20French\x20Female','cafrenchmale','Canadian\x20French\x20Male','en-CA','English\x20(UK)','Italian\x20(Italy)\x20/\x20Finnish\x20(Finland)','ca-ES','Catalan\x20(Catalan)','Chinese\x20(Taiwan)','Korean\x20(Korea)','Chinese\x20(China)','Default','Date','usmoney','US\x20Money','numbersto9','Numbers\x20to\x209','numbersto99','Numbers\x20to\x2099','numbersto999','Numbers\x20to\x20999','time','Time','phonenumber','Phone\x20number','streets','citystate','US\x20City/States','Amy','Amy\x20(English,\x20British,\x20Female)','Astrid\x20(Swedish,\x20Female)','Brian\x20(English,\x20British,\x20Male)','Carla\x20(Italian,\x20Female)','Carmen','Carmen\x20(Romanian,\x20Female)','Celine','Celine\x20(French,\x20Female)','Chantal','Chantal\x20(French,\x20Canadian,\x20Female)','Conchita','Conchita\x20(Spanish,\x20Castilian,\x20Female)','Cristiano','Cristiano\x20(Portuguese,\x20Male)','Dora','Dora\x20(Icelandic,\x20Female)','Emma','Emma\x20(English,\x20British,\x20Female)','Enrique\x20(Spanish,\x20Castilian,\x20Male)','Ewa','Filiz','Geraint','Gwineth','Gwineth\x20(Welsh,\x20Female)','Hans','Hans\x20(German,\x20Male)','Ines','Ivy','Ivy\x20(English,\x20US,\x20Female)','Jacek','Jacek\x20(Polish,\x20Male)','Jan','Jan\x20(Polish,\x20Male)','Joanna','Joanna\x20(English,\x20US,\x20Female)','Joey','Joey\x20(English,\x20US,\x20Male)','Justin','Justin\x20(English,\x20US,\x20Male)','Karl','Kendra','Kendra\x20(English,\x20US,\x20Female)','Kimberly','Kimberly\x20(English,\x20US,\x20Female)','Liv','Liv\x20(Norwegian,\x20Female)','Lotte','Lotte\x20(Dutch,\x20Female)','Maja','Marlene','Marlene\x20(German,\x20Female)','Mathieu\x20(French,\x20Male)','Maxim','Maxim\x20(Russian,\x20Male)','Miguel','Miguel\x20(Spanish,\x20US,\x20Male)','Mizuki','Mizuki\x20(Japanese,\x20Female)','Naja','Naja\x20(Danish,\x20Female)','Nicole\x20(English,\x20Austrialian,\x20Female)','Penelope','Penelope\x20(Spanish,\x20US,\x20Female)','Raveena','Raveena\x20(English,\x20Indian,\x20Female)','Ricardo','Ricardo\x20(Portuguese,\x20Brazilian,\x20Male)','Ruben','Ruben\x20(Dutch,\x20Male)','Russell','Russell\x20(English,\x20Austrialian,\x20Male)','Salli','Salli\x20(English,\x20US,\x20Female)','Tatyana','Vitoria','Vitoria\x20(Portuguese,\x20Brazilian,\x20Female)','US\x20East\x20(N.\x20Virginia)','us-east-2','us-west-1','US\x20West\x20(N.\x20California)','US\x20West\x20(Oregon)','ca-central-1','eu-west-1','EU\x20(Ireland)','EU\x20(London)','eu-west-3','Asia\x20Pacific\x20(Singapore)','ap-southeast-2','Asia\x20Pacific\x20(Sydney)','ap-northeast-2','Asia\x20Pacific\x20(Seoul)','ap-northeast-1','ap-south-1','sa-east-1','us-east-1','currentXML','preproduction','ngFlowOptions','dropping','fileAdded','xml','getExtension','The\x20extension\x20','\x20is\x20not\x20supported!','size','The\x20file\x20is\x20too\x20big.\x20The\x20max\x20allowed\x20size\x20is\x20','readAsText','MxGraphUpdateInfoController','clone','notes','MxGraphOpenProjectController','_blank','ProjectspermissionaddController','penalty','dualMultiselectOptions','CALLYSQUARE.ALL_USERS','CALLYSQUARE.SELECTED_USERS','removeUsers','addUsers','Project\x20properly\x20','removed','added','Project\x20has\x20been\x20','SYSTEM:squareProjects.ADDUSERS','id,name,fullname,internal','SYSTEM:GETUSERS','_new','open','databases','saveOrPublishProject','newVariable','editXML','gotoProjects','app/main/apps/callysquare/views/projects/edit/dialog/dialog.html','app/main/apps/callysquare/views/projects/create/dialog.html','MxGraphSaveProjectAsController','CreateOrEditVariableDialogController','app/main/apps/tools/views/variables/create/dialog.html','STAFF.PERMISSIONS_UNAUTHORIZED_REDIRECT_TITLE','API:NEW_VARIABLE','app/main/apps/callysquare/views/projects/edit/info/info.html','MxGraphEditXMLController','app/main/apps/callysquare/views/projects/edit/edit/edit.html','MxGraphImportXMLController','app/main/apps/callysquare/views/projects/edit/import/import.html','production','Project\x20','saved','\x20has\x20been\x20','published','SYSTEM:GETsquareProject','selectedProjects','getProjects','createOrEditProject','deleteProject','exportSelectedProjects','deleteSelectedProjects','selectAllProjects','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20project?','delete\x20project','Project\x20deleted!','api.project.delete','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20projects?','delete\x20Projects','squareRecordings','squareRecording','CreateOrEditSquareRecordingDialogController','CALLYSQUARE.NEW_SQUARERECORDING','newSquareRecording','addNewSquareRecording','saveSquareRecording','deleteSquareRecording','SquareRecording\x20properly\x20created','api.squareRecording.save','SquareRecording\x20properly\x20saved!','api.squareRecording.update','Delete\x20SquareRecording','SquareRecording\x20properly\x20deleted!','api.squareRecording.delete','SquareRecordingsController','selectedSquareRecordings','getSquareRecordings','deleteSelectedSquareRecordings','deselectSquareRecordings','selectAllSquareRecordings','delete\x20squareRecording','app/main/apps/callysquare/views/squareRecordings/create/dialog.html','SYSTEM:DELETEsquareRecording','delete\x20SquareRecordings','ChatQueuesController','chatQueues','\x27beepall\x27','\x27rrmemory\x27','teamadddialog','gotorealtimegoto','getChatQueues','createOrEditChatQueue','deleteChatQueue','exportSelectedChatQueues','deleteSelectedChatQueues','deselectChatQueues','selectAllChatQueues','ChatQueueteamaddController','app/main/apps/chat/views/chatQueues/edit/teamadd/teamadd.html','USERPROFILE:GET_SECTION','CreateOrEditChatQueueDialogController','ChatQueue','SYSTEM:DELETEchatQueue','selectedChatQueues','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20chatQueues?','CHAT.EDIT_CHATQUEUE','newChatQueue','beepall','CHAT.NEW_CHATQUEUE','addNewChatQueue','ChatQueue\x20properly\x20created','api.chatQueue.save','ChatQueue\x20properly\x20saved!','api.chatQueue.update','Delete\x20ChatQueue','ChatQueue\x20properly\x20deleted!','api.chatQueue.delete','realtime','startingAllowedItems','saveAgents','xorBy','pendingChanges','SYSTEM:GET_AGENTS','allowedItems','differenceBy','getAgents','id,name,internal,fullname','addAgents','removeAgents','startingSelectedItems','SUCCESS','Agents\x20association\x20has\x20been\x20updated!','SYSTEM:LISTS_ASSOCIATION','CHAT.ALL_TEAMS','CHAT.SELECTED_TEAMS','saveTeams','SYSTEM:GET_TEAMS','getTeams','removeTeams','Teams\x20association\x20has\x20been\x20updated!','ChatQueueController','://','alert','ChatQueueagentaddController','app/main/apps/chat/views/chatQueues/edit/agentadd/agentadd.html','SYSTEM:GETchatQueue','chatWebsites','ChatWebsitesController','selectedChatWebsites','arrayagentIdentifier','AgentAlias','\x27agent_alias\x27','AgentFullname','arrayheader_shape','Rounded','\x27rounded\x27','\x27squared\x27','bottom_right','\x27bottom_right\x27','\x27right\x27','\x27left\x27','alternate','\x27alternate\x27','\x27centered\x27','arrayratingType','offlinemessagesgoto','agentadddialog','getChatWebsites','createOrEditChatWebsite','deleteChatWebsite','exportSelectedChatWebsites','selectAllChatWebsites','SYSTEM:GET_LISTS','ListId','SYSTEM:GETlists','SYSTEM:GET_INTERVAL','SYSTEM:GETinterval','ChatWebsiteagentaddController','app/main/apps/chat/views/chatWebsites/edit/agentadd/agentadd.html','delete\x20chatWebsite','SYSTEM:DELETEchatWebsite','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20chatWebsites?','CreateOrEditChatWebsiteDialogController','CHAT.EDIT_CHATWEBSITE','newChatWebsite','rounded','CHAT.NEW_CHATWEBSITE','ChatWebsiteId','addNewChatWebsite','saveChatWebsite','ChatWebsite\x20properly\x20created','api.chatWebsite.save','The\x20chatWebsite\x20will\x20be\x20deleted.','Delete\x20ChatWebsite','ChatWebsite\x20properly\x20deleted!','api.chatWebsite.delete','ChatWebsiteActionsController','chatWebsiteApps','selectedChatWebsiteApps','priority','apps','sortBy','Interval','always','icon-apps','*,*,*,*','Command','Variable','apiselect','variable.name','None','gotop','goto','Priority','gotoif','Condition','truepriority','falsepriority','queue','ChatQueueId','Queue','queue.name','Timeout','UserId','agents','Agent','agent.name','Disposition','autoreply','times','TagId','tags','Tag','tag.name','dialogflow','language','\x27da\x27','\x27en\x27','\x27de\x27','\x27it\x27','\x27es\x27','\x27fr\x27','\x27id\x27','\x27ja\x27','\x27ko\x27','\x27no\x27','\x27pt\x27','\x27pt-br\x27','\x27ru\x27','\x27sv\x27','\x27th\x27','\x27uk\x27','\x27zh-CN\x27','\x27zh-TW\x27','welcomemessage','textarea','amazonlex','accesskeyid','secretaccesskey','lexregion','\x27us-east-1\x27','\x27eu-west-1\x27','\x27ap-southeast-2\x27','botname','opt1','applications','opt2','getChatWebsiteApps','editChatWebsiteApp','editInterval','deleteChatWebsiteApp','deleteSelectedChatWebsiteApps','rewriteRouting','isApp','nolimit','getIntervals','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20application?','app','delete\x20application','EditChatWebsiteApp','appType','DialogController','/dialog.html','EditChatWebsiteAppintervalDialogController','intervals','exten','addApplications','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20applications?','delete\x20applications','CHAT.SELECTED_AGENTS','UserChatWebsite','ngFlow','upload','/api/chat/websites/:id/avatar','images','png','jpg','Supported\x20extension:\x20','File\x20too\x20big','uniqueIdentifier','opts','XMLHttpRequest','Bearer\x20','image','chatWebsiteApp','CHAT.EDIT_','appdata','set','agi','outbounddial','callerID','CALLERID(all)=','SYSTEM:GETagents','outboundDial','cutdigits','${EXTEN:','${EXTEN}','recordingFormat','U(xcally-mixmonitor-context)','saveChatWebsiteApp','EditChatWebsiteAppautoreplyDialogController','EditChatWebsiteAppgotoifDialogController','TOOLS.EDIT_INTERVAL','newInterval','types','daysOfWeek','getDaysOfWeek','monthNumber','getMonthNumber','monthName','daysOfMonth','getDaysOfMonth','setHours','setMinutes','timeRangeTo','dayOfWeekTo','monthFrom','monthTo','addNewInterval','id,name,interval,IntervalId','SYSTEM:GET_INTERVALS','timeRangeFrom','getHours','getMinutes','dayOfWeekFrom','monthDayFrom','monthDayTo','Interval\x20properly\x20created','api.interval.save','Interval\x20properly\x20saved!','Interval\x20has\x20been\x20saved!','api.interval.update','EditChatWebsiteAppnoopDialogController','EditChatWebsiteAppqueueDialogController','id,name,type','SYSTEM:GETqueues','capitalize','SYSTEM:GET_VARIABLES','EditChatWebsiteApptagDialogController','SYSTEM:GET_TAGS','SYSTEM:GETtags','ChatWebsiteChatCannedAnswersController','chatWebsiteChatCannedAnswers','selectedChatWebsiteChatCannedAnswers','getChatWebsiteChatCannedAnswers','createOrEditChatWebsiteChatCannedAnswer','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20chatCannedAnswer?','chatCannedAnswer\x20#','chatCannedAnswer','getAnswers','app/main/apps/chat/views/chatWebsites/edit/chatCannedAnswers/dialog.html','ChatCannedAnswer\x20deleted!','SYSTEM:GETchatWebsite','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20chatCannedAnswers?','delete\x20chatCannedAnswers','vm_dc.query.filter','chatCannedAnswers','CreateOrEditChatCannedAnswerDialogController','CHAT.EDIT_CHATCANNEDANSWER','CHAT.NEW_CHATCANNEDANSWER','addNewChatCannedAnswer','saveChatCannedAnswer','deleteChatCannedAnswer','ChatCannedAnswer\x20properly\x20created','api.cannedAnswer.save','ChatCannedAnswer\x20properly\x20saved!','api.cannedAnswer.update','The\x20chatCannedAnswer\x20will\x20be\x20deleted.','api.cannedAnswer.delete','ChatWebsiteChatDispositionsController','getChatWebsiteChatDispositions','exportSelectedChatWebsiteChatDispositions','deleteChatWebsiteChatDisposition','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20chatDisposition?','chatDisposition','delete\x20chatDisposition','chatWebsiteChatDispositions','getDispositions','ChatDisposition\x20deleted!','selectedChatWebsiteChatDispositions','chatDispositions','CreateOrEditChatDispositionDialogController','CHAT.EDIT_CHATDISPOSITION','newChatDisposition','addNewChatDisposition','saveChatDisposition','deleteChatDisposition','ChatDisposition\x20properly\x20created','api.disposition.save','ChatDisposition\x20properly\x20saved!','api.disposition.update','The\x20chatDisposition\x20will\x20be\x20deleted.','api.disposition.delete','ChatWebsiteofflineFormController','offlineForm','buttons','Label','chooseFromList','Select','icon-playlist-plus','input','Input','icon-format-text','multipleChoices','icon-radiobox-marked','checkboxes','icon-checkbox-multiple-marked-outline','agreement','Agreement','icon-checkbox-marked-outline','uselessFields','CompanyId','getCustomFields','customFields','cf_','alias','fromKey','Lucky\x20day','ChatWebsiteonlineFormController','onlineForm','icon-keyboard','Textarea','Radio\x20Buttons','startsWith','The\x20component\x20will\x20be\x20deleted.','ChatWebsitecustomerAvatarController','fileSuccess','/api/chat/websites/:id/customer_avatar',':id','Invalid\x20extension:\x20','The\x20max\x20allowed\x20size\x20is\x20','uploading','ChatWebsiteInteractionsController','chatWebsiteInteractions','selectedChatWebsiteInteractions','-createdAt','getChatWebsiteInteractions','createOrEditChatWebsiteInteraction','spychatInteraction','deleteChatWebsiteInteraction','deleteSelectedChatWebsiteInteractions','quickFilters','Start\x20Date','DASHBOARDS.SELECT_DATE','Messages','read','DASHBOARDS.SELECT_READ_UNREAD','DASHBOARDS.READ','DASHBOARDS.ALL','closed','DASHBOARDS.CLOSED','DASHBOARDS.SELECT_AGENT','DASHBOARDS.NOT_ASSIGNED','DASHBOARDS.SELECT_TAG','DASHBOARDS.TAGS','firstName','lastName','email','$substring','Subject','subject','Body','Status','DASHBOARDS.OPENED','id,name,fullname','Read','app/core/dialogs/advanced-search/dialog.html','chat.chatWebsites','interaction','chat-interaction','.zip','upperFirst','interaction\x20#','delete\x20interaction','CreateOrEditInteractionDialogController','app/main/apps/chat/views/chatWebsites/edit/interactions/dialog.html','AgentGeneralInteractionController','Interaction\x20deleted!','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20interactions?','delete\x20interactions','Contact','contactName','DASHBOARDS.UNKNOWN','DASHBOARDS.ME','Owner','ChatWebsitelogoController','/api/chat/websites/:id/logo','chatWebsiteOfflineMessages','selectedChatWebsiteOfflineMessages','createdAt,updatedAt,id,Contact.firstName','getChatWebsiteOfflineMessages','showOfflineMessageChatWebsiteOfflineMessage','deleteChatWebsiteOfflineMessage','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20offlineMessage?','offlineMessage\x20#','offlineMessage','getOfflineMessages','CreateOrEditOfflineMessageDialogController','ShowOfflineMessageOfflineMessageDialogController','app/main/apps/chat/views/chatWebsites/edit/offlineMessages/dialog.html','chatOfflineMessage@get','id,body','OfflineMessage\x20deleted!','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20offlineMessages?','CHAT.OFFLINE_MESSAGE','ChatWebsiteProactiveActionsController','chatWebsiteProactiveActions','arraytype','MouseOver','\x27timeout\x27','getChatWebsiteProactiveActions','createOrEditChatWebsiteChatProactiveAction','deleteSelectedChatWebsiteProactiveActions','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20chatProactiveAction?','delete\x20chatProactiveAction','CreateOrEditChatProactiveActionDialogController','app/main/apps/chat/views/chatWebsites/edit/proactive/dialog.html','ChatProactiveAction\x20deleted!','selectedChatWebsiteProactiveActions','delete\x20proactive','proactive','CHAT.EDIT_CHATPROACTIVEACTION','newChatProactiveAction','mouseOver','CHAT.NEW_CHATPROACTIVEACTION','addNewChatProactiveAction','saveChatProactiveAction','deleteChatProactiveAction','ChatProactiveAction\x20properly\x20created','api.chatProactiveAction.save','ChatProactiveAction\x20properly\x20saved!','api.chatProactiveAction.update','The\x20chatProactiveAction\x20will\x20be\x20deleted.','Delete\x20ChatProactiveAction','ChatProactiveAction\x20properly\x20deleted!','api.chatProactiveAction.delete','\x0a','script','\x0a\x20\x20\x20\x20','vm_ac.chatWebsite.remote','ChatWebsitesystemAvatarController','ChatWebsiteController','gotoChatWebsites','name,id','SYSTEM:GET_PAUSES','helperClasses','AgentsChatRealtimeController','userpic','lastPauseAt','address','mailPause','whatsappPause','faxPause','openchannelCapacity','mailCapacity','smsCapacity','faxCapacity','chatCurrentCapacity','mailCurrentCapacity','smsCurrentCapacity','faxCurrentCapacity','openchannelStatus','smsStatus','whatsappStatus','faxStatus','voiceStatus','chatStatusTime','openchannelStatusTime','mailStatusTime','faxStatusTime','screenrecording','phoneBarEnableScreenRecordingByAgent','phoneBarEnableAutomaticScreenRecording','chatPause','openchannelPause','smsPause','online','inuse','onhold','not_inuse','rpcAgents','paginatedAgents','order','agentInternal','unPause','showInfo','getAgentStatus','getAgentGlobalStatus','isPause','checkPause','isPartialPause','onSave','onUpdate','onComplete','user:save','onConnect','user:agentcomplete','filteredAgents','globalStatusFilter','globalStatus','pauseTypeFilter','drop','globalStatusTime','destaccountcode','destconnectedlinenum','Agent\x20logout','\x20\x20properly\x20logout','api.staff.save','clickOutsideToClose','
TODO\x20legend\x20status\x20+\x20state
','app/main/apps/staff/views/agents/edit/queueadd/queueadd.html','*pause','idle','unknown','unavailable','Pause','busy','max','smsStatusTime','whatsappStatusTime','desc','asc','orderBy','user:update','user:agentconnect','rpcQueues','available','pTalking','originated','dialMethod','Trunk','paused','agentAdd','updateQueue','onSaveMember','onPause','onLogin','onLogout','chat_queue:save','userChatQueue:save','onRemoveMember','userVoiceQueue:remove','userVoiceQueue:save','loggedInDb','getMembers','getQueues','app/main/apps/chat/views/chatQueues/create/dialog.html','Queue\x20properly\x20updated!','Error\x20creating\x20queue!','userChatQueue:remove','green-300-fg\x20icon-checkbox-marked-circle','red-300-fg\x20icon-close-circle','grey-fg\x20icon-minus-circle','green-300-fg\x20icon-phone-hangup','red-300-fg\x20icon-phone-locked','grey-fg\x20icon-phone-hangup','blue-300-fg\x20icon-phone-incoming','blue-300-fg\x20icon-phone-paused','green-300-fg\x20icon-phone-in-talk','red-300-fg\x20icon-phone-hangup','disconnect','vm.selectedTab','CompaniesController','selectedCompanies','gotocontactsgoto','createOrEditCompany','deleteCompany','deleteSelectedCompanies','STAFF.PERMISSIONS_UNAUTHORIZED_REDIRECT_MESSAGE','company','getCompanies','CreateOrEditCompanyDialogController','app/main/apps/contactmanager/views/companies/create/dialog.html','Company','SYSTEM:DELETEcmCompany','delete\x20Companys','CONTACTMANAGER.EDIT_COMPANY','newCompany','CONTACTMANAGER.NEW_COMPANY','addNewCompany','Company\x20properly\x20created','api.cmCompany.save','Company\x20properly\x20saved!','api.cmCompany.update','The\x20company\x20will\x20be\x20deleted.','Company\x20properly\x20deleted!','api.cmCompany.delete','CompanyController','gotogoto','gotoCompanies','saveCompany','app.contactmanager.companies','Company\x20updated!','SYSTEM:GETcmCompany','contacts','listsMap','companiesMap','ContactsController','api/cm/contacts/upload','cm_contacts','selectedContacts','selectedList','selectedCompany','getContacts','getAssignedCompanies','duplicateContact','createOrEditContact','deleteContact','deleteSelectedContacts','deselectContacts','selectAllContacts','createTag','createList','createCompany','vm.options.isOpen','tooltipVisible','assignIn','GET_COMPANY','What\x20would\x20you\x20name\x20your\x20list?','List\x20name','Invalid\x20list\x20name.','What\x20would\x20you\x20name\x20your\x20company?','Company\x20name','Error\x20creating\x20company!','Invalid\x20company\x20name.','Tag\x20name','Invalid\x20tag\x20name.','Tag\x20properly\x20created!','ImportContactsDialogController','app.contactmanager.contacts.edit','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20contact?','delete\x20contact','csv','vm.selectedList','vm.selectedCompany','vm.selectedTags','CreateOrEditContactDialogController','app/main/apps/contactmanager/views/contacts/create/dialog.html','DuplicateContactDialogController','app/main/apps/contactmanager/views/contacts/duplicate/dialog.html','app/main/apps/contactmanager/views/contacts/merge/dialog.html','api.contact.delete','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20contacts?','CONTACTMANAGER.EDIT_CONTACT','newContact','CONTACTMANAGER.NEW_CONTACT','List','addNewContact','api.contacts.save','Contact\x20properly\x20saved!','api.contact.update','The\x20contact\x20will\x20be\x20deleted.','Contact\x20properly\x20created','api.contact.save','hopper','EditHopperDialogController','CONTACTMANAGER.EDIT_HOPPER','newHopper','saveHopper','hoppers','The\x20hopper\x20will\x20be\x20deleted.','Delete\x20Hopper','Hopper\x20properly\x20deleted!','finals','histories','jscriptySessions','ContactController','journey','timelineOptions','#interaction-content','firstDayMonth','lastDayMonth','arraypriority','\x274\x27','High','\x273\x27','\x272\x27','\x271\x27','\x270\x27','queryFinal','-id','queryHistory','queryJscriptySession','-starttime','gotoContacts','saveContact','editCompany','onSelectList','onSelectListSuccess','getHoppers','getFinals','getHistories','editHopper','createOrEditIvrCampaignHopper','vm.queryHopper.filter','queryHopper','vm.queryFinal.filter','vm.queryHistory.filter','green-A700','orange','amber-A200','blue-grey-A200','lime-A700','FaxAccountId','OpenchannelAccountId','MailAccountId','id,fullname','usersMap','mapValues','Interaction','CreateOrEditHopperVoiceQueueIdDialogController','app/main/apps/motiondialer/views/queueCampaigns/edit/hoppers/dialog.html','CreateOrEditHopperCampaignIdDialogController','app/main/apps/motiondialer/views/ivrCampaigns/edit/hoppers/dialog.html','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20agent?','delete\x20hopper','Hopper\x20deleted!','SYSTEM:DELETEhopper','getHopperFinals','getHopperHistories','Warning!\x20You\x20won\x27t\x20select\x20a\x20different\x20list\x20for\x20the\x20contact\x20','Contact\x20updated!','setTags','processing','stopping','pid','contactFields','country','city','postalCode','scheduledat','duplicate','onChangeList','uploadCsv','getHeaderErrors','unix','contact:import:','import','binding','Import\x20process\x20failed!','Please\x20retry\x20with\x20a\x20new\x20file','finish','affectedRows','duplicates','duplicatedRows','failedRows','elapsed','contact_import_error','row','CSV\x20import\x20process\x20stopped!','Import\x20has\x20been\x20stopped!','CSV\x20stop\x20import\x20process\x20failed!','pid\x20is\x20unknown','MergeContactDialogController','CONTACTMANAGER.MERGE_CONTACT','searchTerm','showConfirm','Would\x20you\x20like\x20to\x20merge\x20your\x20contacs?','All\x20unfilled\x20values\x20of\x20the\x20contact\x20#','\x20will\x20be\x20overwritten\x20by\x20the\x20fields\x20of\x20the\x20contact\x20#','Contact\x20properly\x20merged!','SYSTEM:MERGE_CONTACT','globalCustomFields','CreateOrEditGlobalCustomFieldDialogController','CONTACTMANAGER.EDIT_GLOBALCUSTOMFIELD','sortable','globalCustomFieldForm','globalCustomField','newGlobalCustomField','CONTACTMANAGER.NEW_GLOBALCUSTOMFIELD','vm.globalCustomField.type','addNewGlobalCustomField','saveGlobalCustomField','addItem','removeItems','New\x20Item','$pristine','cmCustomField','GlobalCustomField\x20properly\x20saved!','api.cmCustomField.update','The\x20globalCustomField\x20will\x20be\x20deleted.','Delete\x20GlobalCustomField','GlobalCustomField\x20properly\x20deleted!','api.cmCustomField.delete','GlobalCustomFieldsController','\x27text\x27','\x27select\x27','Number','\x27number\x27','Switch','Datetime','\x27datetime\x27','getGlobalCustomFields','createOrEditGlobalCustomField','deleteSelectedGlobalCustomFields','deselectGlobalCustomFields','app/main/apps/contactmanager/views/globalCustomFields/create/dialog.html','delete\x20globalCustomField','GlobalCustomFields','GlobalCustomField','SYSTEM:DELETEcmCustomField','selectedGlobalCustomFields','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20globalCustomFields?','delete\x20GlobalCustomFields','CONTACTMANAGER.NEW_LIST','newList','addNewList','saveList','List\x20properly\x20created','api.cmList.save','api.cmList.update','Delete\x20List','List\x20properly\x20deleted!','api.cmList.delete','ListagentaddController','CONTACTMANAGER.ALL_AGENTS','CONTACTMANAGER.SELECTED_AGENTS','UserList','penalty\x20','selectedListCustomFields','\x27switch\x27','getListCustomFields','createOrEditListCustomField','deleteListCustomField','deleteSelectedListCustomFields','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20customField?','customField\x20#','customField','delete\x20customField','listCustomFields','CreateOrEditCustomFieldDialogController','CustomField\x20deleted!','SYSTEM:GETcmList','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20customFields?','delete\x20customFields','CONTACTMANAGER.EDIT_CUSTOMFIELD','customFieldForm','newCustomField','CONTACTMANAGER.NEW_CUSTOMFIELD','vm.customField.type','addNewCustomField','saveCustomField','deleteCustomField','addCustomField','api.cmCustomField.save','CustomField\x20properly\x20saved!','Delete\x20CustomField','CustomField\x20properly\x20deleted!','ListController','gotoLists','List\x20updated!','ListVoiceDispositionsController','listVoiceDispositions','getListVoiceDispositions','createOrEditListVoiceDisposition','deleteListVoiceDisposition','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20voiceDisposition?','app/main/apps/contactmanager/views/lists/edit/voiceDispositions/dialog.html','VoiceDisposition\x20deleted!','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20voiceDispositions?','selectedListVoiceDispositions','voiceDispositions','voiceDisposition','CreateOrEditVoiceDispositionDialogController','CONTACTMANAGER.EDIT_VOICEDISPOSITION','newVoiceDisposition','saveVoiceDisposition','deleteVoiceDisposition','VoiceDisposition\x20properly\x20created','The\x20voiceDisposition\x20will\x20be\x20deleted.','Delete\x20VoiceDisposition','VoiceDisposition\x20properly\x20deleted!','ListsController','selectedLists','exportcsvcontactsexport','getLists','deleteList','deleteSelectedLists','deselectLists','selectAllLists','.csv','EXPORT','app/main/apps/contactmanager/views/lists/edit/agentadd/agentadd.html','delete\x20list','CreateOrEditListDialogController','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20lists?','delete\x20Lists','DashboardCustomController','onChangeVoiceQueues','goToEdit','voice_queue:save','customDashboard','widgets','resizable','getItems','templateUrl','.html','globalUserLists','globalLists','globalCompanies','globalTags','desktopNotification','AgentDashboardGeneralController','draftManager','detectBrowser','tabs','agentCapacity','onContactManager','onBot','onBrowserUrl','onBrowserPopup','onVoiceChannelRemove','onClickTab','addInteractionTab','updateLocalStorage','closeTab','trigger:contactmanager','trigger:jscripty','onJscripty','trigger:bot','trigger:browser:popup','notification:save','notification:remove','voice_queue_channel:remove','voice_outbound_channel:remove','currentTab','icon','badges','WhatsappAccountId','capacity','channel','setAgentCapacity','Do\x20you\x20want\x20to\x20close\x20the\x20interaction?','Are\x20you\x20sure\x20want\x20to\x20close\x20the\x20','\x20has\x20been\x20modified.\x20Closing\x20will\x20lose\x20all\x20changes!','Close\x20Contact','YES','mandatoryDisposition','Warning','There\x20is\x20a\x20call\x20that\x20hasn\x27t\x20been\x20disposed\x20yet.','_options','Account','DisposeInteractionDialogController','app/main/apps/dashboards/views/general/agent/interaction/dispose/dialog.html','unpause','Interactions','openedAt','icon-hangouts','icon-email','icon-message-text','icon-google-earth','icon-whatsapp','DASHBOARDS.NEW_CONTACT','icon-account-circle','autoCreate','xmd-cdrtype','answeredAt','agentcalledAt','agentcompleteAt','endtime','disposedAt','dispositions','isDraft','<%3B','=>%3B=','uriLocation','width=','windowWidth',',height=','iframe','popup','calleridnum','Queue:\x20','isSupported','Please\x20enable\x20browser\x20notifications!','Browser\x20notifications\x20are\x20not\x20supported\x20by\x20the\x20browser.\x20Normal\x20notifications\x20will\x20be\x20used.','alreadyExistsTab','msg','sound','Message','Message\x20properly\x20accepted!','Message\x20has\x20been\x20rejected!','notifications','calleridname','','xmd-contactid','xmd-listid','xmd-contactid2','destcalleridnum','destcalleridname','addContactTab','ProjectId','formData','icon-script','render','bot','fas\x20fa-robot','pink','onVoiceChannelRemove\x20->\x20evt','Call\x20%s\x20not\x20found\x20or\x20already\x20completed','DASHBOARDS.ATTENTION','DASHBOARDS.ACCEPT_ELSEWHERE','api.openchannelMessage.accept','drafts','DASHBOARDS.UNTITLED','draft','account','Draft','motion2.home:','currentSidebarTab','motion2.home.','msNavigationAgentService','PERMISSIONS','denied','mozNotification','webkitNotification','DEFAULT','GRANTED','DENIED','permission','Notification\x20API\x20not\x20supported','duration','onClick','focusOnclick','closeOnClick','showOnPageHidden','saveItem','AgentGeneralBotController','messages','showInteraction','getMessagesAlignment','messagesAlignment','in-right-aligned','AgentGeneralContactController','uniqueid,calleridnum,statedesc,starttime,disposition','disposeCall','getJscriptyProjects','getMailAccounts','getSmsAccounts','getWhatsappAccounts','getOpenchannelAccounts','composeInteraction','openInteraction','getColorByItem','isMyAccount','faxAccounts','openchannelAccounts','SmsAccountId','whatsappAccounts','chatAccounts','amaflags','Customer\x20Journey\x20can\x27t\x20open\x20the\x20interaction','blue-A700','vm.detailForm.$pristine','addContacts','userLists','unionBy','InteractionDialogController','new','Mail','attachments','Message\x20properly\x20sent!','Message\x20has\x20been\x20sent!','FAX:SEND','ACCOUNT:SEND','detailForm','customFieldsForm','queryHopper.filter','queryFinal.filter','ContactId','jscriptyProjects','api.jscripty.account','api.mail.account','getFaxAccounts','api.fax.account','api.sms.account','api.whatsapp.account','api.openchannel.account','api.chatAccounts.account','api.cm.lists','ATTENTION','BLACKLIST','DASHBOARDS.CALL_DISPOSED','RESCHEDULE','DASHBOARDS.INFO','DASHBOARDS.CALL_SAVED','LIST:GETCustomFields','addTab','ERROR\x20OPENING\x20JSCRIPTY\x20PROJECT','The\x20project\x20cannot\x20be\x20started','globalDispositions','choice','isReschedule','recallme','queueCampaigns','queueCampaign','note','dialerCall','hasBlackLists','xmd-voicequeueid','api.voiceQueue.getBlackLists','id,name,dialActive','saveDisposition','SYSTEM:UPDATEVOICECALLREPORT','SYSTEM:UPDATEVOICERECORDING','SYSTEM:UPDATECMHOPPERFINAL','SYSTEM:UPDATECMHOPPERHISTORY','getBlackLists','DASHBOARDS.NOTAVAILABLE','blacklist','reschedule','dateTime','DASHBOARDS.RECALLME','DASHBOARDS.RESCHEDULE','saveDialog','AgentHomeAbandonedController','AgentHomeAbandonedBullController','showTooltip','abandonedCalls','id,type,calleridnum,calleridname,queue,queuecallerabandonAt,queuecallerexitAt,queuecallerexitreason,assigned,lastAssignedTo,updatedAt,disposition','TIMEOUT','ABANDONED','getAbandonedCalls','webcall','webtransfer','onSearchBarCollapse','onSearchBarExpand','onWithoutApply','voiceQueueReport:save','voiceQueueReport:update','queuesMap','defaultQueues','motion2.home.abandoned.bull.calls:','isSearchBarVisible','\x27null\x27','getVoiceQueuesReport','vm_bull.query.filter','assigned','AgentHomeAbandonedVoiceController','reserved','motion2.home.abandoned.voice.calls:','Campaign','DASHBOARDS.SELECT_QUEUE','vm_voice.query.filter','AgentGeneralHomeController','sidebar','changeSidebarTab','view','pluginId','vm_home.sidebar','AgentHomeChatController','chatInteractions','id,firstName,lastName,email','Customer\x20Ip','customerIp','$endsWith','User','Website','unreadMessages','DASHBOARDS.UNREAD','sectionColor','getChatInteractions','showChatInteraction','downloadChatInteraction','disposeInteraction','getContactLabel','getChatWebsiteLabel','openAdvancedSearch','motion2.home.chat:','take','lastMessage','includeAll','chatInteraction:save','chatInteraction:update','user_has_chat_interactions:save','user_has_chat_interactions:remove','DASHBOARDS.SELECT_STATUS','DASHBOARDS.SELECT_ACCOUNT','searchInProgress','ChatInteractionId','home.chat','chatMessage:save','chatInteractionTags:save','AgentHomeContactsController','refreshContacts','mergeContact','openContact','id,name,dialPrefix','motion2.home.contacts:','CONTACTMANAGER.SELECT_LIST','DESCRIBE_CM_CONTACTS','displayName','switch','DASHBOARDS.DISABLED','excludedOperators','datetime','columnName','int','ERROR','AgentHomeDashboardController','AgentHomeDashboardBullController','dialActive','voiceQueuesTotal','rpcVoiceQueues','addVoiceQueuesChannels','deleteVoiceQueuesChannels','id,name,type,dialMethod,dialActive','getVoiceQueues','onSaveChannel','onUserVoiceQueue','onUpdateVoiceQueue','onRemoveVoiceQueue','voiceQueue:save','onSaveVoiceQueue','voiceQueue:remove','voiceQueue:update','getVoiceQueuesChannels','rpcVoiceQueuesChannels','queuecallerleaveAt','toInteger','voice_queue_channel:save','paginatedInteractions','deleteChatQueuesWaitingInteractions','rpcChatQueuesWaitingInteractions','id,name,mapAgentsId,waiting','queryChannels','getSize','getColorByChannel','paginate','onSaveQueue','onSaveChatQueue','onSaveUserChatQueue','onSaveChatQueueChannel','chatQueue:update','onRemoveUserChatQueue','chat_queue_waiting_interaction:save','onRemoveChatQueueChannel','rpcChatQueues','myQueues','getChatQueuesWaitingInteractions','interactions','chatQueuesTotal','lime-A700-bg','blue-grey-A200-bg','white-bg','chatQueue:save','chatQueue:remove','chat_queue_waiting_interaction:remove','AgentHomeDashboardMultiChannelFaxController','mapAgentsId','faxQueues','rpcFaxQueues','deleteFaxQueuesWaitingInteractions','rpcFaxQueuesWaitingInteractions','onSaveFaxQueue','onUpdateFaxQueue','onRemoveFaxQueue','onSaveUserFaxQueue','onRemoveUserFaxQueue','onSaveFaxQueueChannel','onRemoveFaxQueueChannel','fax_queue:save','faxQueue:save','faxQueue:update','faxQueue:remove','userFaxQueue:save','userFaxQueue:remove','fax_queue_waiting_interaction:save','getFaxQueues','joinAt','faxQueuesTotal','green-A700-bg','teal-bg','orange-bg','amber-A200-bg','fax_queue_waiting_interaction:remove','AgentHomeDashboardMultiChannelMailController','mailQueues','mailQueuesTotal','rpcMailQueues','deleteMailQueuesWaitingInteractions','rpcMailQueuesWaitingInteractions','getMailQueues','onSaveMailQueue','onUpdateMailQueue','onRemoveMailQueue','onSaveUserMailQueue','onSaveMailQueueChannel','mail_queue:save','mailQueue:save','userMailQueue:save','userMailQueue:remove','onRemoveUserMailQueue','mail_queue_waiting_interaction:save','mail_queue_waiting_interaction:remove','onRemoveMailQueueChannel','getMailQueuesWaitingInteractions','mailQueue:update','mailQueue:remove','AgentHomeDashboardMultiChannelOpenchannelController','openchannelQueues','openchannelQueuesTotal','deleteOpenchannelQueuesWaitingInteractions','rpcOpenchannelQueuesWaitingInteractions','getOpenchannelQueues','onUpdateOpenchannelQueue','onRemoveOpenchannelQueue','onSaveUserOpenchannelQueue','onRemoveUserOpenchannelQueue','onRemoveOpenchannelQueueChannel','openchannel_queue:save','openchannelQueue:save','onSaveOpenchannelQueue','openchannelQueue:update','openchannelQueue:remove','userOpenchannelQueue:save','userOpenchannelQueue:remove','onSaveOpenchannelQueueChannel','getOpenchannelQueuesWaitingInteractions','rpcOpenchannelQueues','openchannel_queue_waiting_interaction:remove','AgentHomeDashboardMultiChannelSmsController','smsQueues','smsQueuesTotal','deleteSmsQueuesWaitingInteractions','rpcSmsQueuesWaitingInteractions','getSmsQueues','onSaveSmsQueue','onUpdateSmsQueue','onRemoveSmsQueue','onSaveUserSmsQueue','onRemoveUserSmsQueue','onSaveSmsQueueChannel','onRemoveSmsQueueChannel','sms_queue:save','smsQueue:save','smsQueue:update','userSmsQueue:save','userSmsQueue:remove','sms_queue_waiting_interaction:save','rpcSmsQueues','getSmsQueuesWaitingInteractions','sms_queue_waiting_interaction:remove','AgentHomeDashboardVoiceController','AgentHomeDashboardMultiChannelWhatsappController','whatsappQueues','whatsappQueuesTotal','rpcWhatsappQueues','deleteWhatsappQueuesWaitingInteractions','rpcWhatsappQueuesWaitingInteractions','getWhatsappQueues','onUpdateWhatsappQueue','onRemoveWhatsappQueue','onSaveUserWhatsappQueue','onRemoveUserWhatsappQueue','onRemoveWhatsappQueueChannel','whatsapp_queue:save','onSaveWhatsappQueue','whatsappQueue:update','whatsappQueue:remove','userWhatsappQueue:save','userWhatsappQueue:remove','whatsapp_queue_waiting_interaction:save','onSaveWhatsappQueueChannel','whatsapp_queue_waiting_interaction:remove','getWhatsappQueuesWaitingInteractions','whatsappQueue:save','faxInteractions','showFaxInteraction','getAgentLabel','getFaxAccountLabel','composeFaxInteraction','openFaxDraft','motion2.home.fax:','faxInteraction:save','faxInteraction:update','faxInteractionTags:save','user_has_fax_interactions:save','user_has_fax_interactions:remove','fax-interaction','downloadFaxInteraction','ComposeFaxInteractionDialogController','app/main/apps/dashboards/views/general/agent/interaction/composeFax/dialog.html','savedAsDraft','FaxInteractionId','faxMessage:save','faxMessage:update','AgentHomeMailController','mailInteractions','Substatus','substatus','getMailInteractions','composeMailInteraction','openMailDraft','subStatuses','motion2.home.mail:','mailInteraction:save','mailInteraction:update','mailInteractionTags:save','mailMessage:save','mailMessage:update','user_has_mail_interactions:remove','DASHBOARDS.SELECT_SUBSTATUS','downloadMailInteraction','contactInfo','ComposeMailInteractionDialogController','mailAccount','MAILACCOUNT:SEND','MailInteractionId','secret','AgentHomeMyContactsController','motion2.home.mycontacts:','advancedQuery','home.mycontacts','||User:=$eq[','AgentHomeOpenchannelController','openchannelInteractions','amber','getOpenchannelInteractions','showOpenchannelInteraction','downloadOpenchannelInteraction','getOpenchannelAccountLabel','openOpenchannelDraft','motion2.home.openchannel:','openchannelInteraction:save','openchannelMessage:update','user_has_openchannel_interactions:save','openchannel-interaction','app/main/apps/dashboards/views/general/agent/interaction/composeOpenchannel/dialog.html','OPENCHANNELACCOUNT:SEND','ComposeOpenchannelInteractionDialogController','OpenchannelInteractionId','trimStart','home.openchannel','openchannelMessage:save','openchannelInteractionTags:save','openchannelInteraction:update','user_has_openchannel_interactions:remove','AgentHomePluginsController','agentUrl','pluginUpdated','AgentHomeRecordingsController','voiceRecordings','createdAt,updatedAt,id,format,value,type,uniqueid,calleridnum,exten,connectedlinenum,queue,rating,audio,transcribeStatus,UserId','downloadtranscribe','getVoiceRecordings','createdAt,updatedAt,id,format,value,type,uniqueid,calleridnum,exten,connectedlinenum,queue,rating,audio,transcribestatus,UserId','SYSTEM:GETvoiceRecording','downloadTranscribe','Type','VOICE.SELECT_TYPE','VOICE.INTERNAL','VOICE.OUTBOUND','dialer','VOICE.DIALER','VOICE.ALL','motion2.home.recordings:','AgentHomeScheduledCallsController','priorities','Low','scheduledCalls','id,phone,scheduledat,recallme,priority,UserId,OwnerId','isDateBeforeToday','motion2.home.scheduled:','Campaigns','VoiceQueueId','getScheduledCalls','Scheduled\x20call\x20has\x20been\x20deleted!','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20scheduled\x20call?','Scheduled\x20call','delete\x20scheduled\x20call','AgentHomeSmsController','smsInteractions','getSmsInteractions','downloadSmsInteraction','openSmsDraft','motion2.home.sms:','smsInteraction:save','smsInteraction:update','smsInteractionTags:save','smsMessage:save','smsMessage:update','user_has_sms_interactions:remove','sms-interaction','ComposeSmsInteractionDialogController','SMSACCOUNT:SEND','app/main/apps/dashboards/views/general/agent/interaction/composeSms/dialog.html','SmsInteractionId','home.sms','AgentHomeVoiceController','voiceCalls','id,type,uniqueid,tag,starttime,endtime,source,destination,userDisposition,note,duration,billableseconds,answertime','getVoiceCalls','showDetails','Init\x20error','motion2.home.voice:','VOICE.INBOUND','AgentHomeVoiceDetailsController','app/main/apps/dashboards/views/general/agent/home/voice/details/dialog.html','AgentHomeWhatsappController','whatsappInteractions','getWhatsappInteractions','showWhatsappInteraction','downloadWhatsappInteraction','getWhatsappAccountLabel','openWhatsappDraft','whatsappInteraction:save','whatsappInteraction:update','whatsappInteractionTags:save','whatsappMessage:update','user_has_whatsapp_interactions:remove','motion2.home.whatsapp:','whatsapp-interaction','ComposeWhatsappInteractionDialogController','app/main/apps/dashboards/views/general/agent/interaction/composeWhatsapp/dialog.html','whatsappAccount','WHATSAPPACCOUNT:SEND','WhatsappInteractionId','home.whatsapp','user_has_whatsapp_interactions:save','AgentGeneralIframeController','ngBindHtmlUnsafe','showFooter','omniChannels','api/attachments','selectedMailShowDetails','selectedMailShowSystemMessage','getLabelByMessage','tagInteraction','composeSmsInteraction','composeWhatsappInteraction','transferLastMessage','downloadMessage','downloadInteraction','onMessageSave','searchTextChange','selectedItemChange','getIconByChannel','displayCannedAnswerInput','changeDisplayCannedAnswerInputValue','setAs','getAttachments','getAttachment','onInteractionOpen','onInteractionClose','loadNextPage','voiceAccounts','queryMessage','acceptedMessages','getMessages','AccountId','.UNKNOWN','Message:save','Message:update','Interaction:save','onInteractionSave','Interaction:update','user_has_','_interactions:save','areaText','removeByInteraction','InteractionId','templateSettings','interpolate','spy','Unable\x20to\x20open\x20the\x20contact','ERROR\x20OPEN\x20INTERACTION','app/main/apps/dashboards/views/general/agent/interaction/tag/dialog.html','id,name,color','app/main/apps/dashboards/views/general/agent/interaction/composeMail/dialog.html','getByInteraction','inReplyTo','findLast','TransferMessageDialogController','app/main/apps/dashboards/views/general/agent/interaction/transfer/dialog.html','Message\x20not\x20found!','','shiftKey','md-content[name*=\x27interaction-content-','loading...','Anonymous','-message','api.inteactionMessage.get','out','MailMessageId','basename','You\x20can\x27t\x20mark\x20as\x20unread','You\x20are\x20not\x20the\x20owner\x20of\x20the\x20last\x20message!','icon-deskphone','out-left-aligned','URL','revokeObjectURL','_interactions:remove','Start\x20Video\x20Call','Session\x20properly\x20created.','Unable\x20to\x20create\x20session!','','xm-mail-content-','See\x20More
From:\x20{{\x20from\x20}}
Subject:\x20{{\x20subject\x20}}
Date:\x20{{\x20date\x20}},\x20at\x20{{\x20time\x20}}
To:\x20{{\x20to\x20}}','Smtp','office2013','font,colorbutton,autogrow,autoembed,autocorrect,googlethisterm,pastebase64','styles','clipboard','undo','basicstyles','paragraph','indent','align','fontFamily','magicline','fontSize_sizes','reply','newMail','forward','editDraft','removeAttachment','loadLastMessage','replyAll','Re:\x20','messageId','hiddenCC','showLastMessage','Fwd:','Fwd:\x20','Attachments','','','This\x20message\x20has\x20no\x20subject.\x20Are\x20you\x20sure\x20you\x20want\x20to\x20send\x20it?','ckEditorInstance','insertHtml','html-area','instances','Unable\x20to\x20get\x20Html\x20Editor\x20instance','You\x20can\x27t\x20reply\x20or\x20send\x20an\x20email.\x20Please\x20contact\x20the\x20administrator!','api.attachment.delete','Email\x20','\x20is\x20not\x20valid','Email\x20field\x20is\x20not\x20valid','firstName,lastName,email','DASHBOARDS.DRAFT_SAVE_WARNING_TITLE','DASHBOARDS.DRAFT_SAVE_WARNING_MESSAGE','Save\x20draft','DASHBOARDS.OVERWRITE',';font-size:','pt\x22>','','D\x20MMM\x20YYYY','escape','

','','addNote','mapKey','firstName,lastName,phone,mobile','Mobile\x20','firstName,lastName,mobile','apiAccountRoute','accountProperty','mandatoryDispositionPause','DEFAULT\x20PAUSE','closeReason','apiRoute','Interaction\x20properly\x20closed!','Interaction\x20has\x20been\x20closed!','api.variable.update','TagInteractionDialogController','autocompleteRequireMatch','saveTag','queueMethod','QueueNotify','onTransfer','queueNotifyMethod','\x20has\x20been\x20done!','api.rpc.notify','AgentGeneralJscriptyController','formViewer','showResetButton','showIncompleteSubmitButton','onSubmit','isJsonString','getResponseSheet','getResponseSheetHeaders','getQuestionWithResponseList','resetViewer','reset','JSCRIPTY.DO_YOU_WANT_TO_RESET_SESSION','JSCRIPTY.ALL_SURVEY_DATA_WILL_BE_LOST','survey','JSCRIPTY.YES','JSCRIPTY.NO','currentPage','Error\x20updating\x20locally\x20stored\x20tabs','starttime','responseData','mwForm.pageEvents.changePage','mwForm.pageEvents.pageCurrentChanged','pages','elements','question','ERROR\x20OPEN\x20CONTACT','Jscripty\x20can\x27t\x20open\x20the\x20contact','sendUnpauseOnSubmit','err','membername','getResponseSheetRow','Unable\x20to\x20convert\x20question','Unable\x20to\x20convert\x20answer','ERROR\x20REMOVE\x20TAB','Error\x20while\x20removing\x20tab','Your\x20survey\x20session\x20has\x20been\x20properly\x20saved!','Session\x20save\x20error','NotificationController','Message\x20has\x20been\x20accepted!','API:ERROR','API\x20accept\x20message\x20not\x20found:\x20','Message\x20properly\x20rejected!','AgentGeneralPopupController','hh:mm:ss','00:00:00','onSaveChatInteraction','sumBillable','closedAt','read1stAt','sumHoldTime','unit','abandonRate','answerRate','avgHoldTime','avgTalkTime','isBetween','initializeRealtimeQueue','outboundQueues','rpcCampaigns','onSaveCampaign','campaign:save','UserFaxDashboardGeneralController','onSaveFaxInteraction','onUpdateFaxInteraction','toNumber','UserMailDashboardGeneralController','onSaveMailInteraction','onUpdateMailInteraction','UserOpenchannelDashboardGeneralController','onSaveOpenchannelInteraction','onUpdateOpenchannelInteraction','onSaveSmsInteraction','onUpdateSmsInteraction','secToTime','initializeRealtimeCampaign','UserDashboardGeneralController','outboundDropCallsDayCallersExit','outboundDropCallsDayTimeout','toISOString','pow','outboundDropRate','outboundAbandonRate','outboundanswerRate','shift','limitCalls','hasDashboardPermissions','messaging','UserVoiceDashboardGeneralController','onSaveOutbound','voice_outbound:save','inboundQueues','UserWhatsappDashboardGeneralController','onSaveWhatsappInteraction','onUpdateWhatsappInteraction','newFaxAccount','FAX.NEW_FAXACCOUNT','addNewFaxAccount','saveFaxAccount','deleteFaxAccount','SYSTEM:GET_TRUNKS','TrunkId','SYSTEM:GETtrunks','addAccountApplications','FaxAccount\x20properly\x20created','api.faxAccount.save','updateAccountApplications','FaxAccount\x20properly\x20saved!','api.faxAccount.update','The\x20faxAccount\x20will\x20be\x20deleted.','Delete\x20FaxAccount','FaxAccount\x20properly\x20deleted!','api.faxAccount.delete','FaxAccountActionsController','selectedFaxAccountApps','Value','FaxQueueId','newIndex','deleteFaxAccountApp','deleteSelectedFaxAccountApps','getFaxAccountApps','faxAccountApps','EditFaxAccountApp','app/main/apps/fax/views/faxAccounts/edit/apps/','SYSTEM:EDITMODALSHOW','EditFaxAccountAppintervalDialogController','id,interval,IntervalId','getApplications','FaxAccountagentaddController','FAX.ALL_AGENTS','UserFaxAccount','faxAccountApp','EditFaxAccountAppagentDialogController','FAX.EDIT_','saveFaxAccountApp','EditFaxAccountAppcloseDialogController','EditFaxAccountAppgotoifDialogController','EditFaxAccountAppgotopDialogController','getMonthName','TOOLS.NEW_INTERVAL','saveInterval','EditFaxAccountAppnoopDialogController','EditFaxAccountAppqueueDialogController','SYSTEM:GET_QUEUES','EditFaxAccountAppsystemDialogController','SYSTEM:GETvariables','FaxAccountFaxDispositionsController','selectedFaxAccountFaxDispositions','getFaxAccountFaxDispositions','createOrEditFaxAccountFaxDisposition','exportSelectedFaxAccountFaxDispositions','deleteFaxAccountFaxDisposition','deleteSelectedFaxAccountFaxDispositions','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20faxDisposition?','faxDisposition','faxAccountFaxDispositions','CreateOrEditFaxDispositionDialogController','app/main/apps/fax/views/faxAccounts/edit/faxDispositions/dialog.html','FaxDisposition\x20deleted!','SYSTEM:GETfaxAccount','delete\x20faxDispositions','faxDispositions','FAX.EDIT_FAXDISPOSITION','newFaxDisposition','FAX.NEW_FAXDISPOSITION','addNewFaxDisposition','FaxDisposition\x20properly\x20saved!','FaxDisposition\x20properly\x20deleted!','FaxAccountInteractionsController','selectedFaxAccountInteractions','faxInteractionDownload','createOrEditFaxAccountInteraction','exportSelectedFaxAccountInteractions','deleteFaxAccountInteraction','plainBody','fax.faxAccounts','faxAccountInteractions','app/main/apps/dashboards/views/general/agent/interaction/agent.general.interaction.dialog.html','FaxAccountController','SYSTEM:GETpauses','app/main/apps/fax/views/faxAccounts/edit/agentadd/agentadd.html','app.fax.faxAccounts','FaxAccount\x20updated!','FaxAccountsController','selectedFaxAccounts','arrayecm','2400','\x272400\x27','4800','\x274800\x27','7200','\x277200\x27','\x279600\x27','12000','14400','\x2714400\x27','9600','\x2712000\x27','\x27SIP\x27','IAX','\x27IAX\x27','DADHI','\x27DADHI\x27','\x27KHOMP\x27','interactionsgoto','createOrEditFaxAccount','exportSelectedFaxAccounts','deleteSelectedFaxAccounts','deselectFaxAccounts','delete\x20faxAccount','app/main/apps/fax/views/faxAccounts/create/dialog.html','FaxAccount','SYSTEM:DELETEfaxAccount','CreateOrEditFaxQueueDialogController','FAX.NEW_FAXQUEUE','newFaxQueue','addNewFaxQueue','FaxQueue\x20properly\x20created','api.faxQueue.save','FaxQueue\x20properly\x20saved!','api.faxQueue.update','The\x20faxQueue\x20will\x20be\x20deleted.','Delete\x20FaxQueue','FaxQueue\x20properly\x20deleted!','api.faxQueue.delete','FaxQueueagentaddController','FAX.SELECTED_AGENTS','UserFaxQueue','FAX.ALL_TEAMS','FAX.SELECTED_TEAMS','addTeams','FaxQueueController','gotoFaxQueues','saveFaxQueue','FaxQueueteamaddController','app/main/apps/fax/views/faxQueues/edit/agentadd/agentadd.html','FaxQueue\x20updated!','SYSTEM:GETfaxQueue','selectedFaxQueues','arraystrategy','createOrEditFaxQueue','exportSelectedFaxQueues','deleteSelectedFaxQueues','selectAllFaxQueues','delete\x20faxQueue','app/main/apps/fax/views/faxQueues/create/dialog.html','SYSTEM:DELETEfaxQueue','delete\x20FaxQueues','rpcFaxAccounts','FaxAccountsRealtimeController','-name','onFaxMessageSave','goToFaxAccount','faxAccount:save','createdAt,','lastOut','faxAccount:update','AgentsFaxRealtimeController','pauseType','chatCapacity','openchannelCurrentCapacity','whatsappCurrentCapacity','chatStatus','voiceStatusTime','queueAdd','Legend','AgentqueueaddController','api.user.update','QueuesFaxRealtimeController','loggedIn','red-300-fg\x20icon-phone-in-talk','blue-300-fg\x20icon-phone-outgoing','app.fax.realtime.agents','rpcTrunks','TrunksFaxRealtimeController','stateRegistry','registry','statusClass','getTrunks','goToTrunk','trunk:save','deskAccounts','deskAccount','INTEGRATIONS.EDIT_DESKACCOUNT','newDeskAccount','integrationTab','INTEGRATIONS.NEW_DESKACCOUNT','addNewDeskAccount','saveDeskAccount','deleteDeskAccount','DeskAccount\x20properly\x20created','api.intDeskAccount.save','DeskAccount\x20properly\x20saved!','api.intDeskAccount.update','The\x20deskAccount\x20will\x20be\x20deleted.','Delete\x20DeskAccount','DeskAccount\x20properly\x20deleted!','api.intDeskAccount.delete','selectedDeskAccounts','Integration_Tab','\x27newTab\x27','Basic','\x27basic\x27','testtestintegrationaccount','getDeskAccounts','deleteSelectedDeskAccounts','deselectDeskAccounts','delete\x20deskAccount','app/main/apps/integrations/views/deskAccounts/create/dialog.html','SYSTEM:DELETEintDeskAccount','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20deskAccounts?','delete\x20DeskAccounts','DeskAccountConfigurationsController','deskConfiguration','configurations','selectedDeskConfiguration','getDeskConfiguration','createOrEditDeskConfiguration','deleteDeskConfiguration','selectedTags','selectTagsChanged','SYSTEM:GETTAGS','Tags\x20has\x20been\x20set!','SYSTEM:ADDTAGS','getConfigurations','SYSTEM:GETCONFIGURATION','getSubjects','subjects','descriptions','SYSTEM:GETConfigurations','CreateOrEditDeskConfigurationDialogController','DeskConfiguration\x20deleted!','SYSTEM:DELETECONFIGURATION','createOrEditSubject','deleteSubjectConfirm','deleteSelectedSubjects','app/main/apps/integrations/views/deskAccounts/edit/item/dialog.html','Subject\x20deleted!','Subject\x20has\x20been\x20deleted!','SYSTEM:DELETECONFIGURATIONFIELD','Subject','selectedSubjects','delete\x20subjects','selectedDescriptions','createOrEditDescription','deleteDescriptionConfirm','Description\x20has\x20been\x20deleted!','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20description?','Description','delete\x20description','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20descriptions?','delete\x20descriptions','createOrEditField','deleteSelectedFields','CreateOrEditDeskAccountItemDialogController','selectedFields','INTEGRATIONS.EDIT_DESKCONFIGURATION','newDeskConfiguration','addNewDeskConfiguration','saveDeskConfiguration','DeskConfiguration\x20properly\x20created','api.intDeskConfiguration.save','api.intDeskConfiguration.update','Delete\x20DeskConfiguration','DeskConfiguration\x20properly\x20deleted!','api.intDeskConfiguration.delete','INTEGRATIONS.EDIT_','toUpper','item','INTEGRATIONS.NEW_','newItem','addNewItem','getSelectedVariable','voiceAgentReportColumns','voiceDialReportColumns','sourceid','recordingURL','SYSTEM:GETVARIABLES','ticketType','accountConnected','\x20properly\x20created','idField','nameField','api.intItem.update','The\x20','\x20properly\x20deleted!','api.item.delete','variableName','Please\x20select\x20a\x20variable','DeskAccountController','gotoDeskAccounts','DeskAccount\x20updated!','CreateOrEditDynamics365AccountDialogController','INTEGRATIONS.EDIT_DYNAMICS365ACCOUNT','dynamics365Account','dynamics365Accounts','newDynamics365Account','INTEGRATIONS.NEW_DYNAMICS365ACCOUNT','addNewDynamics365Account','deleteDynamics365Account','Dynamics365Account\x20properly\x20created','api.intDynamics365Account.save','Dynamics365Account\x20properly\x20saved!','api.intDynamics365Account.update','The\x20dynamics365Account\x20will\x20be\x20deleted.','Delete\x20Dynamics365Account','Dynamics365Account\x20properly\x20deleted!','api.intDynamics365Account.delete','Dynamics365AccountsController','selectedDynamics365Accounts','createOrEditDynamics365Account','deleteSelectedDynamics365Accounts','Dynamics365Account\x20properly\x20tested','delete\x20dynamics365Account','app/main/apps/integrations/views/dynamics365Accounts/create/dialog.html','getDynamics365Accounts','Dynamics365Account','SYSTEM:DELETEintDynamics365Account','delete\x20Dynamics365Accounts','Dynamics365AccountConfigurationsController','dynamics365Configuration','selectedDynamics365Configuration','getDynamics365Configuration','createOrEditDynamics365Configuration','deleteDynamics365Configuration','variablesById','getDescriptions','CreateOrEditDynamics365ConfigurationDialogController','app/main/apps/integrations/views/dynamics365Accounts/edit/configurations/dialog.html','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20dynamics365Configuration?','delete\x20dynamics365Configuration','Dynamics365Configuration\x20deleted!','app/main/apps/integrations/views/dynamics365Accounts/edit/item/dialog.html','delete\x20subject','deleteSelectedDescriptions','CreateOrEditDynamics365AccountItemDialogController','intDynamics365Field','Description\x20deleted!','Field','newDynamics365Configuration','incident','INTEGRATIONS.NEW_DYNAMICS365CONFIGURATION','addNewDynamics365Configuration','saveDynamics365Configuration','addConfiguration','Dynamics365Configuration\x20properly\x20created','api.intDynamics365Configuration.save','The\x20dynamics365Configuration\x20will\x20be\x20deleted.','Delete\x20Dynamics365Configuration','Dynamics365Configuration\x20properly\x20deleted!','api.intDynamics365Configuration.delete','string','api.item.save','\x20properly\x20saved!','Delete\x20','Dynamics365AccountController','gotoDynamics365Accounts','saveDynamics365Account','app.integrations.dynamics365Accounts','Dynamics365Account\x20updated!','SYSTEM:GETintDynamics365Account','freshdeskAccount','CreateOrEditFreshdeskAccountDialogController','INTEGRATIONS.EDIT_FRESHDESKACCOUNT','freshdeskAccounts','INTEGRATIONS.NEW_FRESHDESKACCOUNT','saveFreshdeskAccount','deleteFreshdeskAccount','FreshdeskAccount\x20properly\x20created','FreshdeskAccount\x20properly\x20saved!','api.intFreshdeskAccount.update','The\x20freshdeskAccount\x20will\x20be\x20deleted.','Delete\x20FreshdeskAccount','FreshdeskAccount\x20properly\x20deleted!','api.intFreshdeskAccount.delete','freshdeskConfiguration','selectedFreshdeskConfiguration','createOrEditFreshdeskConfiguration','deleteFreshdeskConfiguration','Tags\x20set!','getFreshdeskConfiguration','app/main/apps/integrations/views/freshdeskAccounts/edit/configurations/dialog.html','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20freshdeskConfiguration?','delete\x20freshdeskConfiguration','FreshdeskConfiguration\x20deleted!','CreateOrEditFreshdeskAccountItemDialogController','intFreshdeskField','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20subject?','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20subjects?','app/main/apps/integrations/views/freshdeskAccounts/edit/item/dialog.html','deleteFieldConfirm','Field\x20has\x20been\x20deleted!','delete\x20field','CreateOrEditFreshdeskConfigurationDialogController','INTEGRATIONS.EDIT_FRESHDESKCONFIGURATION','newFreshdeskConfiguration','addNewFreshdeskConfiguration','saveFreshdeskConfiguration','FreshdeskConfiguration\x20properly\x20created','api.intFreshdeskConfiguration.save','FreshdeskConfiguration\x20properly\x20saved!','api.intFreshdeskConfiguration.update','The\x20freshdeskConfiguration\x20will\x20be\x20deleted.','Delete\x20FreshdeskConfiguration','FreshdeskConfiguration\x20properly\x20deleted!','api.intFreshdeskConfiguration.delete','configuration','FreshdeskAccountController','gotoFreshdeskAccounts','app.integrations.freshdeskAccounts','SYSTEM:GETintFreshdeskAccount','selectedFreshdeskAccounts','getFreshdeskAccounts','createOrEditFreshdeskAccount','exportSelectedFreshdeskAccounts','deselectFreshdeskAccounts','app.integrations.freshdeskAccounts.edit','FreshdeskAccount\x20properly\x20tested','delete\x20freshdeskAccount','FreshdeskAccounts','FreshdeskAccount','SYSTEM:DELETEintFreshdeskAccount','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20freshdeskAccounts?','delete\x20FreshdeskAccounts','freshsalesAccounts','freshsalesAccount','INTEGRATIONS.EDIT_FRESHSALESACCOUNT','newFreshsalesAccount','INTEGRATIONS.NEW_FRESHSALESACCOUNT','addNewFreshsalesAccount','deleteFreshsalesAccount','FreshsalesAccount\x20properly\x20created','api.intFreshsalesAccount.save','FreshsalesAccount\x20properly\x20saved!','api.intFreshsalesAccount.update','The\x20freshsalesAccount\x20will\x20be\x20deleted.','Delete\x20FreshsalesAccount','FreshsalesAccount\x20properly\x20deleted!','api.intFreshsalesAccount.delete','FreshsalesAccountConfigurationsController','freshsalesConfiguration','selectedFreshsalesConfiguration','getFreshsalesConfiguration','createOrEditFreshsalesConfiguration','deleteFreshsalesConfiguration','CreateOrEditFreshsalesConfigurationDialogController','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20freshsalesConfiguration?','delete\x20freshsalesConfiguration','FreshsalesConfiguration\x20deleted!','CreateOrEditFreshsalesAccountItemDialogController','app/main/apps/integrations/views/freshsalesAccounts/edit/item/dialog.html','INTEGRATIONS.EDIT_FRESHSALESCONFIGURATION','newFreshsalesConfiguration','INTEGRATIONS.NEW_FRESHSALESCONFIGURATION','saveFreshsalesConfiguration','FreshsalesConfiguration\x20properly\x20created','api.intFreshsalesConfiguration.save','FreshsalesConfiguration\x20properly\x20saved!','api.intFreshsalesConfiguration.update','Delete\x20FreshsalesConfiguration','FreshsalesConfiguration\x20properly\x20deleted!','api.intFreshsalesConfiguration.delete','gotoFreshsalesAccounts','saveFreshsalesAccount','FreshsalesAccount\x20updated!','SYSTEM:GETintFreshsalesAccount','FreshsalesAccountsController','selectedFreshsalesAccounts','getFreshsalesAccounts','createOrEditFreshsalesAccount','deleteSelectedFreshsalesAccounts','deselectFreshsalesAccounts','FreshsalesAccount\x20properly\x20tested','delete\x20freshsalesAccount','CreateOrEditFreshsalesAccountDialogController','app/main/apps/integrations/views/freshsalesAccounts/create/dialog.html','FreshsalesAccount','SYSTEM:DELETEintFreshsalesAccount','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20freshsalesAccounts?','delete\x20FreshsalesAccounts','salesforceAccount','INTEGRATIONS.EDIT_SALESFORCEACCOUNT','salesforceAccounts','newSalesforceAccount','INTEGRATIONS.NEW_SALESFORCEACCOUNT','addNewSalesforceAccount','api.intSalesforceAccount.save','api.intSalesforceAccount.update','The\x20salesforceAccount\x20will\x20be\x20deleted.','Delete\x20SalesforceAccount','api.intSalesforceAccount.delete','SalesforceAccountConfigurationsController','getSalesforceConfiguration','createOrEditSalesforceConfiguration','deleteSalesforceConfiguration','salesforceConfiguration','Module\x20updated!','CreateOrEditSalesforceConfigurationDialogController','app/main/apps/integrations/views/salesforceAccounts/edit/configurations/dialog.html','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20salesforceConfiguration?','SalesforceConfiguration\x20deleted!','CreateOrEditSalesforceAccountItemDialogController','newSalesforceConfiguration','Task','INTEGRATIONS.NEW_SALESFORCECONFIGURATION','addNewSalesforceConfiguration','saveSalesforceConfiguration','SalesforceConfiguration\x20properly\x20created','api.intSalesforceConfiguration.save','SalesforceConfiguration\x20properly\x20saved!','api.intSalesforceConfiguration.update','The\x20salesforceConfiguration\x20will\x20be\x20deleted.','SalesforceConfiguration\x20properly\x20deleted!','api.intSalesforceConfiguration.delete','SalesforceAccountController','saveSalesforceAccount','SalesforceAccount\x20updated!','SalesforceAccountsController','selectedSalesforceAccounts','\x27integrationTab\x27','New_Tab','getSalesforceAccounts','createOrEditSalesforceAccount','exportSelectedSalesforceAccounts','deselectSalesforceAccounts','selectAllSalesforceAccounts','app.integrations.salesforceAccounts.edit','SalesforceAccount\x20properly\x20tested','delete\x20salesforceAccount','CreateOrEditSalesforceAccountDialogController','app/main/apps/integrations/views/salesforceAccounts/create/dialog.html','SalesforceAccount','SYSTEM:DELETEintSalesforceAccount','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20salesforceAccounts?','delete\x20SalesforceAccounts','servicenowAccounts','servicenowAccount','CreateOrEditServicenowAccountDialogController','INTEGRATIONS.EDIT_SERVICENOWACCOUNT','newServicenowAccount','addNewServicenowAccount','saveServicenowAccount','deleteServicenowAccount','ServicenowAccount\x20properly\x20created','api.intServicenowAccount.save','ServicenowAccount\x20properly\x20saved!','api.intServicenowAccount.update','ServicenowAccount\x20properly\x20deleted!','api.intServicenowAccount.delete','ServicenowAccountConfigurationsController','servicenowConfiguration','selectedServicenowConfiguration','getServicenowConfiguration','createOrEditServicenowConfiguration','CreateOrEditServicenowConfigurationDialogController','app/main/apps/integrations/views/servicenowAccounts/edit/configurations/dialog.html','ServicenowConfiguration\x20deleted!','CreateOrEditServicenowAccountItemDialogController','app/main/apps/integrations/views/servicenowAccounts/edit/item/dialog.html','INTEGRATIONS.EDIT_SERVICENOWCONFIGURATION','newServicenowConfiguration','INTEGRATIONS.NEW_SERVICENOWCONFIGURATION','addNewServicenowConfiguration','deleteServicenowConfiguration','ServicenowConfiguration\x20properly\x20created','api.intServicenowConfiguration.save','ServicenowConfiguration\x20properly\x20saved!','api.intServicenowConfiguration.update','The\x20servicenowConfiguration\x20will\x20be\x20deleted.','Delete\x20ServicenowConfiguration','ServicenowConfiguration\x20properly\x20deleted!','ServicenowAccount\x20updated!','ServicenowAccountsController','createOrEditServicenowAccount','exportSelectedServicenowAccounts','deleteSelectedServicenowAccounts','app.integrations.servicenowAccounts.edit','ServicenowAccount\x20properly\x20tested','delete\x20servicenowAccount','getServicenowAccounts','app/main/apps/integrations/views/servicenowAccounts/create/dialog.html','ServicenowAccount','SYSTEM:DELETEintServicenowAccount','selectedServicenowAccounts','sugarcrmAccounts','sugarcrmAccount','CreateOrEditSugarcrmAccountDialogController','INTEGRATIONS.EDIT_SUGARCRMACCOUNT','newSugarcrmAccount','addNewSugarcrmAccount','saveSugarcrmAccount','SugarcrmAccount\x20properly\x20created','api.intSugarcrmAccount.save','SugarcrmAccount\x20properly\x20saved!','api.intSugarcrmAccount.update','The\x20sugarcrmAccount\x20will\x20be\x20deleted.','SugarcrmAccount\x20properly\x20deleted!','api.intSugarcrmAccount.delete','sugarcrmConfiguration','getSugarcrmConfiguration','deleteSugarcrmConfiguration','CreateOrEditSugarcrmConfigurationDialogController','app/main/apps/integrations/views/sugarcrmAccounts/edit/configurations/dialog.html','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20sugarcrmConfiguration?','delete\x20sugarcrmConfiguration','SugarcrmConfiguration\x20deleted!','CreateOrEditSugarcrmAccountItemDialogController','app/main/apps/integrations/views/sugarcrmAccounts/edit/item/dialog.html','newSugarcrmConfiguration','INTEGRATIONS.NEW_SUGARCRMCONFIGURATION','addNewSugarcrmConfiguration','saveSugarcrmConfiguration','api.intSugarcrmConfiguration.save','SugarcrmConfiguration\x20properly\x20saved!','api.intSugarcrmConfiguration.update','The\x20sugarcrmConfiguration\x20will\x20be\x20deleted.','Delete\x20SugarcrmConfiguration','SugarcrmConfiguration\x20properly\x20deleted!','api.intSugarcrmConfiguration.delete','SugarcrmAccountController','gotoSugarcrmAccounts','SYSTEM:GETintSugarcrmAccount','SugarcrmAccountsController','getSugarcrmAccounts','createOrEditSugarcrmAccount','deleteSugarcrmAccount','exportSelectedSugarcrmAccounts','deleteSelectedSugarcrmAccounts','SugarcrmAccount\x20properly\x20tested','SugarcrmAccount','SYSTEM:DELETEintSugarcrmAccount','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20sugarcrmAccounts?','selectedSugarcrmAccounts','CreateOrEditVtigerAccountDialogController','INTEGRATIONS.EDIT_VTIGERACCOUNT','vtigerAccount','newVtigerAccount','addNewVtigerAccount','vtigerAccounts','api.intVtigerAccount.save','VtigerAccount\x20properly\x20saved!','api.intVtigerAccount.update','The\x20vtigerAccount\x20will\x20be\x20deleted.','Delete\x20VtigerAccount','VtigerAccount\x20properly\x20deleted!','api.intVtigerAccount.delete','VtigerAccountConfigurationsController','vtigerConfiguration','selectedVtigerConfiguration','getVtigerConfiguration','createOrEditVtigerConfiguration','deleteVtigerConfiguration','app/main/apps/integrations/views/vtigerAccounts/edit/configurations/dialog.html','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20vtigerConfiguration?','delete\x20vtigerConfiguration','CreateOrEditVtigerAccountItemDialogController','app/main/apps/integrations/views/vtigerAccounts/edit/item/dialog.html','INTEGRATIONS.EDIT_VTIGERCONFIGURATION','newVtigerConfiguration','addNewVtigerConfiguration','saveVtigerConfiguration','VtigerConfiguration\x20properly\x20created','api.intVtigerConfiguration.save','VtigerConfiguration\x20properly\x20saved!','api.intVtigerConfiguration.update','The\x20vtigerConfiguration\x20will\x20be\x20deleted.','Delete\x20VtigerConfiguration','VtigerConfiguration\x20properly\x20deleted!','api.intVtigerConfiguration.delete','VtigerAccountController','gotoVtigerAccounts','SYSTEM:GETintVtigerAccount','VtigerAccountsController','selectedVtigerAccounts','createOrEditVtigerAccount','deleteVtigerAccount','exportSelectedVtigerAccounts','deleteSelectedVtigerAccounts','deselectVtigerAccounts','VtigerAccount\x20properly\x20tested','delete\x20vtigerAccount','getVtigerAccounts','VtigerAccount','SYSTEM:DELETEintVtigerAccount','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20vtigerAccounts?','delete\x20VtigerAccounts','zendeskAccounts','zendeskAccount','CreateOrEditZendeskAccountDialogController','INTEGRATIONS.EDIT_ZENDESKACCOUNT','newZendeskAccount','addNewZendeskAccount','saveZendeskAccount','deleteZendeskAccount','ZendeskAccount\x20properly\x20created','api.intZendeskAccount.save','api.intZendeskAccount.update','The\x20zendeskAccount\x20will\x20be\x20deleted.','Delete\x20ZendeskAccount','api.intZendeskAccount.delete','CreateOrEditZendeskAccountItemDialogController','ZendeskAccountController','gotoZendeskAccounts','ZendeskAccount\x20updated!','ZendeskAccountConfigurationsController','zendeskConfiguration','zendeskConfigurations','selectedZendeskConfiguration','getZendeskConfiguration','createOrEditZendeskConfiguration','getTags','CreateOrEditZendeskConfigurationDialogController','app/main/apps/integrations/views/zendeskAccounts/edit/zendeskConfigurations/dialog.html','delete\x20zendeskConfiguration','ZendeskConfiguration\x20deleted!','app/main/apps/integrations/views/zendeskAccounts/edit/item/dialog.html','INTEGRATIONS.EDIT_ZENDESKCONFIGURATION','newZendeskConfiguration','addNewZendeskConfiguration','deleteZendeskConfiguration','ZendeskConfiguration\x20properly\x20created','api.intZendeskConfiguration.save','api.intZendeskConfiguration.update','The\x20zendeskConfiguration\x20will\x20be\x20deleted.','Delete\x20ZendeskConfiguration','ZendeskConfiguration\x20properly\x20deleted!','api.intZendeskConfiguration.delete','ZendeskAccountsController','selectedZendeskAccounts','arrayauthType','Password','\x27token\x27','getZendeskAccounts','createOrEditZendeskAccount','exportSelectedZendeskAccounts','deleteSelectedZendeskAccounts','deselectZendeskAccounts','selectAllZendeskAccounts','ZendeskAccount\x20properly\x20tested','delete\x20zendeskAccount','app/main/apps/integrations/views/zendeskAccounts/create/dialog.html','ZendeskAccount','SYSTEM:DELETEintZendeskAccount','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20zendeskAccounts?','delete\x20ZendeskAccounts','zohoAccount','CreateOrEditZohoAccountDialogController','INTEGRATIONS.EDIT_ZOHOACCOUNT','newZohoAccount','zoho.com','INTEGRATIONS.NEW_ZOHOACCOUNT','addNewZohoAccount','deleteZohoAccount','zohoAccounts','api.intZohoAccount.save','ZohoAccount\x20properly\x20saved!','api.intZohoAccount.update','The\x20zohoAccount\x20will\x20be\x20deleted.','Delete\x20ZohoAccount','ZohoAccount\x20properly\x20deleted!','api.intZohoAccount.delete','zohoConfiguration','getZohoConfiguration','createOrEditZohoConfiguration','deleteZohoConfiguration','selectChangedAdvanced','intZohoConfiguration','Module\x20has\x20been\x20updated!','SYSTEM:UPDATECONFIGURATIONFIELD','CreateOrEditZohoConfigurationDialogController','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20zohoConfiguration?','delete\x20zohoConfiguration','CreateOrEditZohoAccountItemDialogController','app/main/apps/integrations/views/zohoAccounts/edit/item/dialog.html','newZohoConfiguration','INTEGRATIONS.NEW_ZOHOCONFIGURATION','addNewZohoConfiguration','saveZohoConfiguration','ZohoConfiguration\x20properly\x20created','api.intZohoConfiguration.save','ZohoConfiguration\x20properly\x20saved!','api.intZohoConfiguration.update','api.intZohoConfiguration.delete','gotoZohoAccounts','ZohoAccount\x20updated!','ZohoAccountsController','selectedZohoAccounts','arrayhost','\x27zoho.com\x27','\x27zoho.eu\x27','arrayzone','\x27US\x27','\x27EU\x27','\x27IN\x27','getZohoAccounts','createOrEditZohoAccount','exportSelectedZohoAccounts','deleteSelectedZohoAccounts','selectAllZohoAccounts','app.integrations.zohoAccounts.edit','ZohoAccount\x20properly\x20tested','delete\x20zohoAccount','app/main/apps/integrations/views/zohoAccounts/create/dialog.html','ZohoAccount','SYSTEM:DELETEintZohoAccount','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20zohoAccounts?','delete\x20ZohoAccounts','CreateOrEditProjectDialogController','JSCRIPTY.EDIT_PROJECT','JSCRIPTY.NEW_PROJECT','api.jscriptyProject.save','api.jscriptyProject.update','api.jscriptyProject.delete','ProjectAnswersController','pickerModel','-createdAt,questionId','answers','questionId','hasIdAnswers','NO_ANSWER','sum','SYSTEM:GETANSWERS','jscriptyProjectSummary_','No\x20answers\x20available','api.jscriptyProject.getSummary','ProjectBuilderController','radio','checkbox','range','isObjectLike','ProjectcloneController','JSCRIPTY.CLONE_PROJECT','cloneProject','Project\x20properly\x20cloned','api.jscriptyProject.clone','ProjectViewerController','Would\x20you\x20like\x20to\x20save\x20your\x20survey?','SAVE','projectSessions','selectedProjectSessions','createdAt,updatedAt,id,starttime,endtime,membername,calleridnum,completed','getProjectSessions','createOrEditProjectSession','showQuestionsProjectSession','exportSelectedProjectSessions','deleteProjectSession','deleteSelectedProjectSessions','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20session?','session\x20#','delete\x20session','getSessions','CreateOrEditSessionDialogController','app/main/apps/jscripty/views/projects/edit/sessions/dialog.html','jscriptySessionReport@getQuestions','Session\x20deleted!','SYSTEM:GETjscriptyProject','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20sessions?','delete\x20sessions','questions','ShowQuestionsSessionDialogController','JSCRIPTY.SESSION_RESULTS','JscriptyProjectController','clonedialog','app/main/apps/jscripty/views/projects/edit/clone/clone.html','JscriptyProjectsController','sessionsgoto','deselectProjects','app/main/apps/jscripty/views/projects/create/dialog.html','SYSTEM:DELETEjscriptyProject','CreateOrEditMailAccountDialogController','MAIL.EDIT_MAILACCOUNT','newMailAccount','MAIL.NEW_MAILACCOUNT','addNewMailAccount','saveMailAccount','deleteMailAccount','api.mailAccount.update','service','Mail\x20Account\x20not\x20deleted!','You\x20can\x27t\x20remove\x20service\x20account','The\x20mailAccount\x20will\x20be\x20deleted.','Delete\x20MailAccount','MailAccount\x20properly\x20deleted!','api.mailAccount.delete','MailAccountActionsController','mailAccountApps','selectedMailAccountApps','MailQueueId','mailQueue','One\x20Time','getMailAccountApps','deleteMailAccountApp','deleteSelectedMailAccountApps','EditMailAccountApp','EditMailAccountAppintervalDialogController','MailAccountagentaddController','MAIL.SELECTED_AGENTS','UserMailAccount','mailAccountApp','EditMailAccountAppagentDialogController','MAIL.EDIT_','saveMailAccountApp','EditMailAccountAppcloseDialogController','EditMailAccountAppgotoifDialogController','EditMailAccountAppgotopDialogController','EditMailAccountAppnoopDialogController','EditMailAccountAppqueueDialogController','EditMailAccountApptagDialogController','MailAccountInteractionsController','mailInteractionDownload','getMailAccountInteractions','createOrEditMailAccountInteraction','spymailInteraction','deleteMailAccountInteraction','deleteSelectedMailAccountInteractions','closed\x20===\x200','mail.mailAccounts','||MailAccountId:=$eq[','mail-interaction','api.mailAccount.save','mailAccountInteractions','SYSTEM:GETmailAccount','selectedMailAccountInteractions','MAIL.UNKNOWN','MailAccountMailCannedAnswersController','mailAccountMailCannedAnswers','selectedMailAccountMailCannedAnswers','getMailAccountMailCannedAnswers','createOrEditMailAccountMailCannedAnswer','exportSelectedMailAccountMailCannedAnswers','deleteMailAccountMailCannedAnswer','deleteSelectedMailAccountMailCannedAnswers','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20mailCannedAnswer?','mailCannedAnswer','delete\x20mailCannedAnswer','CreateOrEditMailCannedAnswerDialogController','app/main/apps/mail/views/mailAccounts/edit/mailCannedAnswers/dialog.html','MailCannedAnswer\x20deleted!','delete\x20mailCannedAnswers','mailCannedAnswers','MAIL.EDIT_MAILCANNEDANSWER','newMailCannedAnswer','addNewMailCannedAnswer','deleteMailCannedAnswer','MailCannedAnswer\x20properly\x20created','MailCannedAnswer\x20properly\x20saved!','The\x20mailCannedAnswer\x20will\x20be\x20deleted.','MailCannedAnswer\x20properly\x20deleted!','MailAccountMailDispositionsController','mailAccountMailDispositions','createOrEditMailAccountMailDisposition','exportSelectedMailAccountMailDispositions','deleteMailAccountMailDisposition','deleteSelectedMailAccountMailDispositions','delete\x20mailDisposition','app/main/apps/mail/views/mailAccounts/edit/mailDispositions/dialog.html','MailDisposition\x20deleted!','selectedMailAccountMailDispositions','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20mailDispositions?','delete\x20mailDispositions','mailDispositions','mailDisposition','CreateOrEditMailDispositionDialogController','MAIL.EDIT_MAILDISPOSITION','newMailDisposition','MAIL.NEW_MAILDISPOSITION','addNewMailDisposition','deleteMailDisposition','MailDisposition\x20properly\x20created','MailDisposition\x20properly\x20saved!','The\x20mailDisposition\x20will\x20be\x20deleted.','Delete\x20MailDisposition','MailDisposition\x20properly\x20deleted!','MailAccountController','gotoMailAccounts','app/main/apps/mail/views/mailAccounts/edit/agentadd/agentadd.html','MailAccount\x20updated!','Custom','Gmail','\x27hotmail\x27','Yahoo','Outlook365','arrayImap.service','\x27gmail\x27','Hotmail','\x27yahoo\x27','\x27outlook365\x27','arraySmtp.service','exportSelectedMailAccounts','deleteSelectedMailAccounts','deselectMailAccounts','selectAllMailAccounts','Smtp\x20properly\x20verified','Smpt\x20id\x20unknown','MailAccount','SYSTEM:DELETEmailAccount','selectedMailAccounts','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20mailAccounts?','CreateOrEditMailQueueDialogController','MAIL.EDIT_MAILQUEUE','newMailQueue','MAIL.NEW_MAILQUEUE','addNewMailQueue','MailQueue\x20properly\x20created','MailQueue\x20properly\x20saved!','api.mailQueue.update','The\x20mailQueue\x20will\x20be\x20deleted.','Delete\x20MailQueue','MailQueue\x20properly\x20deleted!','api.mailQueue.delete','MailQueueagentaddController','MAIL.ALL_AGENTS','UserMailQueue','MailQueueteamaddController','MAIL.ALL_TEAMS','MailQueueController','gotoMailQueues','saveMailQueue','app/main/apps/mail/views/mailQueues/edit/teamadd/teamadd.html','app/main/apps/mail/views/mailQueues/edit/agentadd/agentadd.html','MailQueue\x20updated!','SYSTEM:GETmailQueue','MailQueuesController','selectedMailQueues','Beepall','RR\x20Memory','createOrEditMailQueue','deleteMailQueue','exportSelectedMailQueues','deleteSelectedMailQueues','deselectMailQueues','selectAllMailQueues','delete\x20mailQueue','app/main/apps/mail/views/mailQueues/create/dialog.html','SYSTEM:DELETEmailQueue','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20mailQueues?','delete\x20MailQueues','mailSubtatuses','CreateOrEditMailSubstatusDialogController','MAIL.EDIT_MAILSUBSTATUS','newMailSubstatus','MAIL.NEW_MAILSUBSTATUS','addNewMailSubstatus','saveMailSubstatus','deleteMailSubstatus','MailSubstatus\x20properly\x20created','api.mailSubstatus.save','MailSubstatus\x20properly\x20saved!','Delete\x20MailSubstatus','MailSubstatus\x20properly\x20deleted!','api.mailSubstatus.delete','MailSubstatusesController','selectedMailSubstatuses','getMailSubstatuses','createOrEditMailSubstatus','exportSelectedMailSubstatuses','deselectMailSubstatuses','selectAllMailSubstatuses','app/main/apps/mail/views/mailSubtatuses/create/dialog.html','delete\x20mailSubstatus','MailSubstatuses','SYSTEM:DELETEmailSubstatus','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20mailSubtatuses?','rpcMailAccounts','MailAccountsRealtimeController','onMailMessageSave','goToMailAccount','mailAccount:update','lastIn','mailAccount:save','whatsappCapacity','QueuesMailRealtimeController','onLogged','MailRealtimeController','CreateOrEditPluginDialogController','MARKETPLACE.EDIT_PLUGIN','newPlugin','addNewPlugin','deletePlugin','Plugin\x20properly\x20created','api.plugin.save','Plugin\x20properly\x20saved!','api.plugin.update','The\x20plugin\x20will\x20be\x20deleted.','Plugin\x20properly\x20deleted!','api.plugin.delete','gotoPlugins','savePlugin','SYSTEM:GETplugin','MarketplacePluginsController','selectedPlugins','arraysidebar','Always','\x27adminOnly\x27','Agent\x20Only','\x27agentOnly\x27','Never','\x27never\x27','stopplugin','restartplugin','uninstallplugin','getPlugins','createOrEditPlugin','exportSelectedPlugins','deleteSelectedPlugins','deselectPlugins','selectAllPlugins','uploadPlugin','pm2','scriptPath','Plugin\x20installed!','\x20has\x20been\x20installed!','api.pm2.save','Are\x20you\x20sure\x20want\x20to\x20stop\x20the\x20plugin\x20attached\x20process?','\x20attached\x20process\x20will\x20be\x20stoppped.','stop\x20plugin\x20process','Failed\x20to\x20retrieve\x20pm2\x20processes','scriptName','No\x20corresponding\x20process\x20found','pm_id','stopped','Attached\x20pm2\x20process\x20successfully\x20stopped','api.pm2.update','Are\x20you\x20sure\x20want\x20to\x20restart\x20the\x20plugin\x20attached\x20process?','\x20attached\x20process\x20will\x20be\x20restarted.','restart\x20plugin\x20process','Process\x20restarted!','Attached\x20pm2\x20process\x20successfully\x20restarted','\x20will\x20be\x20uninstalled.','uninstall\x20plugin','Plugin\x20uninstalled!','\x20has\x20been\x20uninstalled!','delete\x20plugin','Plugins','app/main/apps/marketplace/views/plugins/create/dialog.html','No\x20\x27%s\x27\x20process\x20found','PM2\x20process\x20not\x20found!','Failed\x20to\x20delete\x20the\x20attached\x20pm2\x20process','Plugin','SYSTEM:DELETEplugin','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20plugins?','delete\x20Plugins','UploadPluginDialogController','MARKETPLACE.UPLOAD_PLUGIN','api/plugins','uploadError','uploadComplete','uploadState','Upload\x20error','\x20uploaded\x20successfully','ivrCampaigns','CreateOrEditIvrCampaignDialogController','MOTIONDIALER.EDIT_IVRCAMPAIGN','ivrCampaign','addNewIvrCampaign','saveIvrCampaign','deleteIvrCampaign','SYSTEM:GET_PROJECTS','SquareProjectId','SYSTEM:GETprojects','IvrCampaign\x20properly\x20created','api.campaign.save','IvrCampaign\x20properly\x20saved!','Delete\x20IvrCampaign','IvrCampaign\x20properly\x20deleted!','api.campaign.delete','addBlackLists','removeApi','removeBlackLists','loading','MOTIONDIALER.ALL_LISTS','MOTIONDIALER.SELECTED_LISTS','SYSTEM:GETLISTS','getApi','addApi','newIvrCampaign','MOTIONDIALER.CLONE_IVRCAMPAIGN','cloneIvrCampaign','\x20has\x20been\x20cloned!','app.motiondialer.ivrCampaigns.edit','api.campaign.clone','ivrCampaignHopperBlacks','selectedIvrCampaignHopperBlacks','createdAt,updatedAt,ContactId,phone','exportSelectedIvrCampaignHopperBlacks','deleteIvrCampaignHopperBlack','deleteSelectedIvrCampaignHopperBlacks','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20hopperBlack?','hopperBlack\x20#','hopperBlack','delete\x20hopperBlack','getHopperBlacks','CreateOrEditHopperBlackDialogController','HopperBlack\x20deleted!','SYSTEM:GETcampaign','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20hopperBlacks?','IvrCampaignHopperFinalsController','ivrCampaignHopperFinals','selectedIvrCampaignHopperFinals','getIvrCampaignHopperFinals','deleteIvrCampaignHopperFinal','deleteSelectedIvrCampaignHopperFinals','countContactsIvrCampaignHopperFinal','moveConfirm','moveSelectedIvrCampaignHopperFinals','CampaignId','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20hopperFinal?','hopperFinal\x20#','hopperFinal','delete\x20hopperFinal','app/main/apps/motiondialer/views/ivrCampaigns/edit/hopperFinals/dialog.html','HopperFinal\x20deleted!','delete\x20hopperFinals','moveContactsIvrCampaignHopperFinal','Restored\x20Contacts','SYSTEM:GETvoiceQueue','Are\x20you\x20sure\x20want\x20to\x20restore\x20the\x20selected\x20contacts?','\x20will\x20be\x20restored.','Restore\x20Contacts','Are\x20you\x20sure\x20want\x20to\x20restore\x20the\x20contact?','countbusyretry','countnoanswerretry','countglobal','countcongestionretry','editedat','edited','statedesc','Restored','campaigntype','checkContactHopper','Not\x20Found','Contact\x20ID\x20','The\x20contact\x20is\x20in\x20the\x20hopper','selectedIvrCampaignHopperHistories','createdAt,updatedAt,uniqueid,ContactId,calleridnum,calleridname,statedesc,scheduledat,starttime,responsetime,endtime','getIvrCampaignHopperHistories','exportSelectedIvrCampaignHopperHistories','deleteIvrCampaignHopperHistory','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20hopperHistory?','hopperHistory\x20#','hopperHistory','delete\x20hopperHistory','ivrCampaignHopperHistories','CreateOrEditHopperHistoryDialogController','HopperHistory\x20deleted!','delete\x20hopperHistories','IvrCampaignHoppersController','ivrCampaignHoppers','selectedIvrCampaignHoppers','createdAt,updatedAt,id,ContactId,phone,countcongestionretry,countbusyretry,countnoanswerretry,countnosuchnumberretry,countdropretry,countabandonedretry,countmachineretry,countagentrejectretry,scheduledat,priority','getIvrCampaignHoppers','exportSelectedIvrCampaignHoppers','deleteIvrCampaignHopper','deleteSelectedIvrCampaignHoppers','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20hopper?','MOTIONDIALER.NEW_HOPPER','addNewHopper','deleteHopper','Hopper\x20properly\x20created','api.cmHopper.save','OwnerId','Edited','callback','callbackuniqueid','followuptime','Hopper\x20properly\x20saved!','api.cmHopper.delete','IvrCampaignHopperStatisticsController','IvrCampaignlistaddController','removeLists','saveLists','Lists\x20association\x20has\x20been\x20updated!','listsCampaign','exists','isIndeterminate','isChecked','toggleAll','listSelected','selected','enqueue','addLists','never','Reset\x20Succesfull','List\x20','\x20has\x20been\x20reset','listadddialog','blacklistadddialog','resetlistdialog','gotoIvrCampaigns','IvrCampaigncloneController','app/main/apps/motiondialer/views/ivrCampaigns/edit/clone/clone.html','app/main/apps/motiondialer/views/ivrCampaigns/edit/listadd/listadd.html','IvrCampaignblacklistaddController','app/main/apps/motiondialer/views/ivrCampaigns/edit/blacklistadd/blacklistadd.html','SYSTEM:ivrCampaign.REMOVELIST','Campaign\x20Without\x20Lists','Are\x20you\x20sure\x20want\x20to\x20reset\x20the\x20list\x20','Reset\x20List','IvrCampaignresetlistController','app/main/apps/motiondialer/views/ivrCampaigns/edit/resetlist/resetlist.html','SYSTEM:RESETLIST','app.motiondialer.realtime.ivr_campaigns','app.motiondialer.ivrCampaigns','IvrCampaignsController','selectedIvrCampaigns','arraydialCheckDuplicateType','ALWAYS','\x27always\x27','ONLY_IF_OPEN','\x27onlyIfOpen\x27','arraydialOrderByScheduledAt','\x27DESC\x27','\x27ASC\x27','createOrEditIvrCampaign','deleteSelectedIvrCampaigns','selectAllIvrCampaigns','delete\x20ivrCampaign','getIvrCampaigns','app/main/apps/motiondialer/views/ivrCampaigns/create/dialog.html','IvrCampaign','SYSTEM:DELETEcampaign','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20ivrCampaigns?','delete\x20IvrCampaigns','CreateOrEditQueueCampaignDialogController','MOTIONDIALER.EDIT_QUEUECAMPAIGN','newQueueCampaign','07:00-22:00,*,*,*','progressive','tTxX','MOTIONDIALER.NEW_QUEUECAMPAIGN','addNewQueueCampaign','deleteQueueCampaign','api.voiceQueue.save','QueueCampaign\x20properly\x20saved!','api.voiceQueue.update','Delete\x20QueueCampaign','QueueCampaign\x20properly\x20deleted!','api.voiceQueue.delete','MOTIONDIALER.SELECTED_AGENTS','xorWith','UserVoiceQueue','differenceWith','QueueCampaignblacklistaddController','QueueCampaigncloneController','MOTIONDIALER.CLONE_QUEUECAMPAIGN','cloneQueueCampaign','QueueCampaign\x20properly\x20cloned','api.voiceQueue.clone','QueueCampaignHopperBlacksController','queueCampaignHopperBlacks','selectedQueueCampaignHopperBlacks','getQueueCampaignHopperBlacks','exportSelectedQueueCampaignHopperBlacks','deleteQueueCampaignHopperBlack','deleteSelectedQueueCampaignHopperBlacks','delete\x20hopperBlacks','selectedQueueCampaignHopperFinals','createdAt,updatedAt,uniqueid,ContactId,calleridnum,calleridname,statedesc,countcongestionretry,countbusyretry,countnoanswerretry,countnosuchnumberretry,countdropretry,countabandonedretry,countmachineretry,countagentrejectretry,countglobal,scheduledat,starttime,responsetime,endtime,disposition,ListId,UserId,VoiceQueueId,CampaignId,recallme,deleted,campaign','getQueueCampaignHopperFinals','createOrEditQueueCampaignHopperFinal','deleteQueueCampaignHopperFinal','deleteSelectedQueueCampaignHopperFinals','moveQueueCampaignHopperFinal','moveContactsQueueCampaignHopperFinal','queueCampaignHopperFinals','CreateOrEditHopperFinalDialogController','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20hopperFinals?','\x20Contacts\x20selected','Restore\x20Contact','deleted','Validation\x20error','QueueCampaignHopperHistoriesController','queueCampaignHopperHistories','createOrEditQueueCampaignHopperHistory','exportSelectedQueueCampaignHopperHistories','deleteQueueCampaignHopperHistory','deleteSelectedQueueCampaignHopperHistories','app/main/apps/motiondialer/views/queueCampaigns/edit/hopperHistories/dialog.html','selectedQueueCampaignHopperHistories','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20hopperHistories?','queueCampaignHoppers','selectedQueueCampaignHoppers','createdAt,updatedAt,id,ContactId,phone,countcongestionretry,countbusyretry,countnoanswerretry,countnosuchnumberretry,countdropretry,countabandonedretry,countmachineretry,countagentrejectretry,scheduledat,priority,recallme,UserId','createOrEditQueueCampaignHopper','deleteQueueCampaignHopper','deleteSelectedQueueCampaignHoppers','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20hoppers?','api.cmHopper.update','QueueCampaignHopperStatisticsController','fresh','QueueCampaignlistaddController','toggle','SYSTEM:queueCampaign.RESETLIST','QueueCampaignteamaddController','MOTIONDIALER.ALL_TEAMS','MOTIONDIALER.SELECTED_TEAMS','QueueCampaignController','gotoQueueCampaigns','saveQueueCampaign','musiconholds','SYSTEM:GET_MUSICONHOLDS','musiconhold','SYSTEM:GETmusiconholds','dialQueueProject','app/main/apps/motiondialer/views/queueCampaigns/edit/clone/clone.html','app/main/apps/motiondialer/views/queueCampaigns/edit/blacklistadd/blacklistadd.html','app/main/apps/motiondialer/views/queueCampaigns/edit/agentadd/agentadd.html','SYSTEM:queueCampaign.REMOVELIST','QueueCampaignresetlistController','app/main/apps/motiondialer/views/queueCampaigns/edit/resetlist/resetlist.html','QueueCampaign\x20updated!','QueueCampaignsController','arrayautopause','\x27all\x27','arrayringinuse','arraytimeoutrestart','\x27yes\x27','arraymonitor_format','Inactive','\x27wav\x27','\x27wav49\x27','\x27gsm\x27','arraysetqueuevar','arraydialMethod','Progressive','\x27progressive\x27','PowerDialing','\x27power\x27','Predictive','\x27predictive\x27','\x27preview\x27','BookedProgressive','\x27booked\x27','\x27agentBusyFactor\x27','DropRate','\x27dropRate\x27','Round\x20Robin\x20Memory','Round\x20Robin','\x27roundrobin\x27','Least\x20Recent','\x27leastrecent\x27','vm.queueCampaign.dialMethod\x20!==\x20\x27booked\x27','Fewest\x20Calls','\x27fewestcalls\x27','\x27random\x27','\x27linear\x27','Weight\x20Random','\x27wrandom\x27','createOrEditQueueCampaign','exportSelectedQueueCampaigns','deleteSelectedQueueCampaigns','app/main/apps/motiondialer/views/queueCampaigns/edit/listadd/listadd.html','QueueCampaignagentaddController','delete\x20queueCampaign','app/main/apps/motiondialer/views/queueCampaigns/create/dialog.html','QueueCampaign','SYSTEM:DELETEvoiceQueue','selectedQueueCampaigns','delete\x20QueueCampaigns','AbandonedCallsMotionDialerRealtimeController','assignTo','dispose','onSaveVoiceQueueReport','onUpdateVoiceQueueReport','motion2.realtime.abandoned.bull.abandonedCalls:','buildQuickFilters\x20vm.agents.rows','lastAssignedTo','DASHBOARDS.SELECT_CAMPAIGN','AgentsMotionDialerRealtimeController','mailStatus','availableStates','campaigns','IvrCampaignsMotionDialerRealtimeController','ivrAnswerCallsDay','ivrTotalCallsDays','getCampaigns','QueueCallsMotionDialerRealtimeController','rpcVoiceQueuesChannelsTmp','onRemove','hangup','redirectToAgent','getVoiceQueuesChannelHangup','Channel\x20','\x20properly\x20hangup!','getVoiceQueuesChannelRedirect','\x20properly\x20redirect!','Which\x20number\x20do\x20you\x20want\x20transfer\x20the\x20call\x20to?','QueueParamsMotionDialerRealtimeController','sumDuration','outboundBusyCallsDay','outboundCongestionCallsDay','outboundUnknownCallsDay','outboundBlacklistCallsDay','outboundOriginateFailureCallsDay','outboundReCallsDay','startPredictive','startProgressive','erlangBusyFactor','dialPredictiveInterval','dialPredictiveIntervalMinThreshold','predictiveIntervalAvailable','predictiveIntervalTotalCalls','predictiveIntervalAnsweredCalls','predictiveIntervalDroppedCallsTimeout','predictiveIntervalDroppedCallsCallersExit','predictiveIntervalAvgHoldtime','predictiveIntervalAvgTalktime','MotionDialerQueueId','PredictiveQueueCampaignDialogController','app/main/apps/motiondialer/views/realtime/queues/predictive/dialog.html','addMinutes','setFormatTime','HH:mm:ss','MotionDialerRealtimeController','app.motiondialer.realtime.agents','CreateOrEditOpenchannelAccountDialogController','OPENCHANNEL.EDIT_OPENCHANNELACCOUNT','newOpenchannelAccount','OPENCHANNEL.NEW_OPENCHANNELACCOUNT','addNewOpenchannelAccount','saveOpenchannelAccount','deleteOpenchannelAccount','OpenchannelAccount\x20properly\x20created','api.openchannelAccount.save','OpenchannelAccount\x20properly\x20saved!','api.openchannelAccount.update','Delete\x20OpenchannelAccount','OpenchannelAccount\x20properly\x20deleted!','api.openchannelAccount.delete','OpenchannelAccountActionsController','openchannelAccountApps','selectedOpenchannelAccountApps','Key','\x27nl\x27','\x27zh-HK\x27','\x27us-west-2\x27','getOpenchannelAccountApps','editOpenchannelAccountApp','deleteOpenchannelAccountApp','deleteSelectedOpenchannelAccountApps','EditOpenchannelAccountApp','app/main/apps/openchannel/views/openchannelAccounts/edit/apps/','EditOpenchannelAccountAppintervalDialogController','app/main/apps/openchannel/views/openchannelAccounts/edit/apps/interval/dialog.html','OpenchannelAccountagentaddController','OPENCHANNEL.ALL_AGENTS','OPENCHANNEL.SELECTED_AGENTS','UserOpenchannelAccount','openchannelAccountApp','EditOpenchannelAccountAppagentDialogController','OPENCHANNEL.EDIT_','saveOpenchannelAccountApp','EditOpenchannelAccountAppamazonlexDialogController','EditOpenchannelAccountAppcloseDialogController','EditOpenchannelAccountAppgotoifDialogController','EditOpenchannelAccountAppgotopDialogController','EditOpenchannelAccountAppnoopDialogController','openChannel','QueueId','EditOpenchannelAccountAppsystemDialogController','EditOpenchannelAccountApptagDialogController','openchannelAccountInteractions','openchannelInteractionDownload','createOrEditOpenchannelAccountInteraction','exportSelectedOpenchannelAccountInteractions','SYSTEM:GETopenchannelAccount','selectedOpenchannelAccountInteractions','OPENCHANNEL.UNKNOWN','openchannelAccountOpenchannelCannedAnswers','selectedOpenchannelAccountOpenchannelCannedAnswers','createOrEditOpenchannelAccountOpenchannelCannedAnswer','exportSelectedOpenchannelAccountOpenchannelCannedAnswers','deleteSelectedOpenchannelAccountOpenchannelCannedAnswers','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20openchannelCannedAnswer?','openchannelCannedAnswer\x20#','openchannelCannedAnswer','delete\x20openchannelCannedAnswer','CreateOrEditOpenchannelCannedAnswerDialogController','app/main/apps/openchannel/views/openchannelAccounts/edit/openchannelCannedAnswers/dialog.html','OpenchannelCannedAnswer\x20deleted!','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20openchannelCannedAnswers?','delete\x20openchannelCannedAnswers','openchannelCannedAnswers','OPENCHANNEL.EDIT_OPENCHANNELCANNEDANSWER','newOpenchannelCannedAnswer','saveOpenchannelCannedAnswer','deleteOpenchannelCannedAnswer','OpenchannelCannedAnswer\x20properly\x20created','OpenchannelCannedAnswer\x20properly\x20saved!','The\x20openchannelCannedAnswer\x20will\x20be\x20deleted.','Delete\x20OpenchannelCannedAnswer','OpenchannelAccountOpenchannelDispositionsController','openchannelAccountOpenchannelDispositions','createOrEditOpenchannelAccountOpenchannelDisposition','exportSelectedOpenchannelAccountOpenchannelDispositions','deleteOpenchannelAccountOpenchannelDisposition','deleteSelectedOpenchannelAccountOpenchannelDispositions','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20openchannelDisposition?','openchannelDisposition\x20#','openchannelDisposition','delete\x20openchannelDisposition','CreateOrEditOpenchannelDispositionDialogController','OpenchannelDisposition\x20deleted!','selectedOpenchannelAccountOpenchannelDispositions','delete\x20openchannelDispositions','openchannelDispositions','OPENCHANNEL.EDIT_OPENCHANNELDISPOSITION','newOpenchannelDisposition','OPENCHANNEL.NEW_OPENCHANNELDISPOSITION','saveOpenchannelDisposition','The\x20openchannelDisposition\x20will\x20be\x20deleted.','Delete\x20OpenchannelDisposition','OpenchannelAccountController','gotoOpenchannelAccounts','deletedAt','SYSTEM:GET_FIELDS','app/main/apps/openchannel/views/openchannelAccounts/edit/agentadd/agentadd.html','app.openchannel.openchannelAccounts','OpenchannelAccount\x20updated!','OpenchannelAccountsController','createOrEditOpenchannelAccount','deleteSelectedOpenchannelAccounts','deselectOpenchannelAccounts','selectAllOpenchannelAccounts','delete\x20openchannelAccount','app/main/apps/openchannel/views/openchannelAccounts/create/dialog.html','OpenchannelAccount','SYSTEM:DELETEopenchannelAccount','selectedOpenchannelAccounts','delete\x20OpenchannelAccounts','newOpenchannelQueue','OPENCHANNEL.NEW_OPENCHANNELQUEUE','addNewOpenchannelQueue','saveOpenchannelQueue','OpenchannelQueue\x20properly\x20created','api.openchannelQueue.save','OpenchannelQueue\x20properly\x20saved!','api.openchannelQueue.update','The\x20openchannelQueue\x20will\x20be\x20deleted.','Delete\x20OpenchannelQueue','api.openchannelQueue.delete','OpenchannelQueueagentaddController','UserOpenchannelQueue','OpenchannelQueueteamaddController','OPENCHANNEL.ALL_TEAMS','OpenchannelQueueController','gotoOpenchannelQueues','app/main/apps/openchannel/views/openchannelQueues/edit/agentadd/agentadd.html','SYSTEM:GETopenchannelQueue','OpenchannelQueuesController','createOrEditOpenchannelQueue','deleteOpenchannelQueue','exportSelectedOpenchannelQueues','deleteSelectedOpenchannelQueues','selectAllOpenchannelQueues','delete\x20openchannelQueue','CreateOrEditOpenchannelQueueDialogController','app/main/apps/openchannel/views/openchannelQueues/create/dialog.html','OpenchannelQueue','SYSTEM:DELETEopenchannelQueue','selectedOpenchannelQueues','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20openchannelQueues?','delete\x20OpenchannelQueues','AgentsOpenchannelRealtimeController','QueuesOpenchannelRealtimeController','OpenchannelQueueId','cloudProviders','CloudProvidersController','selectedAiTools','arrayservice','AmazonAWS','\x27AmazonAWS\x27','getAiTools','deleteCloudProvider','deselectAiTools','CreateOrEditCloudProviderDialogController','app/main/apps/settings/views/cloudProviders/create/dialog.html','delete\x20cloudProvider','AiTools','CloudProvider','SYSTEM:DELETEcloudProvider','delete\x20CloudProviders','SETTINGS.EDIT_CLOUDPROVIDER','newCloudProvider','SETTINGS.NEW_CLOUDPROVIDER','addNewCloudProvider','saveCloudProvider','CloudProvider\x20properly\x20created','api.cloudProvider.save','api.cloudProvider.update','Delete\x20CloudProvider','CloudProvider\x20properly\x20deleted!','api.cloudProvider.delete','customizations','customization','CreateOrEditCustomizationDialogController','SETTINGS.EDIT_CUSTOMIZATION','newCustomization','addNewCustomization','saveCustomization','deleteCustomization','Customization\x20properly\x20created','Customization\x20properly\x20saved!','api.setting.update','Delete\x20Customization','Customization\x20properly\x20deleted!','api.setting.delete','Customization\x20updated!','SYSTEM:GETsetting','CustomizationfaviconController','/api/settings/1/favicon','CustomizationlogoController','/api/settings/1/logo','generals','SETTINGS.EDIT_GENERAL','general','https://www.xcally.com/bar/phonebar/autoupdater.xml','SETTINGS.NEW_GENERAL','newGeneral','saveGeneral','deleteGeneral','SYSTEM:GET_CLOUDPROVIDERS','General\x20properly\x20created','api.setting.save','The\x20general\x20will\x20be\x20deleted.','Delete\x20General','General\x20properly\x20deleted!','GeneralsController','General\x20updated!','LicenseController','channels','icon-phone','modules','icon-crosshairs','icon-console','addons','jaws','icon-table-edit','icon-text-to-speech','icon-sitemap','virtual','icon-dots-horizontal','others','requestLicense','app/main/apps/settings/views/license/update/dialog.html','RequestLicenseDialogController','||FIELD||OLD||NEW||\x0a','|{color:red}','*|\x0a','Motion\x20License\x20Request','Request\x20sent!','SETTINGS.LICENSE_REQUEST_SENT','SETTINGS.JIRA_ERROR_MESSAGE','api.jira','UpdateLicenseDialogController','licenseKey','updateLicense','License\x20update\x20failed!','Invalid\x20license\x20key','License\x20properly\x20updated!','The\x20license\x20has\x20been\x20updated!','SYSTEM:UPDATElicense','networks','CreateOrEditNetworkDialogController','SETTINGS.EDIT_NETWORK','newNetwork','SETTINGS.NEW_NETWORK','addNewNetwork','saveNetwork','deleteNetwork','api.network.save','Network\x20properly\x20saved!','api.network.update','The\x20network\x20will\x20be\x20deleted.','Delete\x20Network','api.network.delete','NetworksController','selectedNetworks','LocalNET','\x27localnet\x27','ExternIP','\x27externip\x27','Turn','\x27turn\x27','Stun','\x27stun\x27','getNetworks','exportSelectedNetworks','selectAllNetworks','app/main/apps/settings/views/networks/create/dialog.html','Networks','Network','SYSTEM:DELETEnetwork','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20networks?','smtps','smtp','CreateOrEditSmtpDialogController','SETTINGS.EDIT_SMTP','newSmtp','SETTINGS.NEW_SMTP','addNewSmtp','saveSmtp','Smtp\x20properly\x20saved!','The\x20smtp\x20will\x20be\x20deleted.','Delete\x20Smtp','Smtp\x20properly\x20deleted!','Smtp\x20verified!','Smtp\x20not\x20verified!\x20Remember\x20to\x20save\x20before\x20to\x20verify!','Smtp\x20updated!','processes','processLimit','getProcesses','cancelInterval','Would\x20you\x20like\x20to\x20change\x20the\x20status\x20of\x20the\x20process\x20#','The\x20status\x20will\x20be\x20changed\x20to:\x20','Process\x20updated!','Status\x20properly\x20changed\x20to:\x20','getInfo','UpdateDialogController','SETTINGS.UPDATE','progress','updating','Waiting...','stopInterval','fetch','output','...','pull','restart','Waiting\x20to\x20restart\x20motion...','UpdatesController','updateConfirm','Would\x20you\x20like\x20to\x20update\x20your\x20system?','The\x20system\x20request\x20time\x20for\x20the\x20update\x20should\x20be\x20below\x201\x20minute.

Do\x20you\x20agree\x20the\x20terms\x20of\x20this\x20End\x20User\x20License\x20Agreement?','Disagree','app/main/apps/settings/views/updates/update/dialog.html','AgentsSmsRealtimeController','QueuesSmsRealtimeController','createOrEditSmsQueue','SmsQueueId','CreateOrEditSmsQueueDialogController','SmsQueueagentaddController','app/main/apps/sms/views/smsQueues/edit/agentadd/agentadd.html','CreateOrEditSmsAccountDialogController','newSmsAccount','twilio','addNewSmsAccount','saveSmsAccount','deleteSmsAccount','SmsAccount\x20properly\x20created','api.smsAccount.save','SmsAccount\x20properly\x20saved!','api.smsAccount.update','The\x20smsAccount\x20will\x20be\x20deleted.','Delete\x20SmsAccount','SmsAccount\x20properly\x20deleted!','api.smsAccount.delete','SmsAccountActionsController','smsAccountApps','selectedSmsAccountApps','getSmsAccountApps','deleteSelectedSmsAccountApps','EditSmsAccountApp','app/main/apps/sms/views/smsAccounts/edit/apps/','EditSmsAccountAppintervalDialogController','app/main/apps/sms/views/smsAccounts/edit/apps/interval/dialog.html','App\x20deleted!','SmsAccountagentaddController','UserSmsAccount','smsAccountApp','SMS.EDIT_','saveSmsAccountApp','EditSmsAccountAppcloseDialogController','EditSmsAccountAppdialogflowDialogController','EditSmsAccountAppnoopDialogController','EditSmsAccountAppqueueDialogController','EditSmsAccountApptagDialogController','SmsAccountInteractionsController','smsAccountInteractions','selectedSmsAccountInteractions','smsInteractionDownload','getSmsAccountInteractions','createOrEditSmsAccountInteraction','spysmsInteraction','deleteSmsAccountInteraction','sms.smsAccounts','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20interaction?','app/main/apps/sms/views/smsAccounts/edit/interactions/dialog.html','SYSTEM:GETsmsAccount','smsAccountSmsCannedAnswers','selectedSmsAccountSmsCannedAnswers','createOrEditSmsAccountSmsCannedAnswer','deleteSmsAccountSmsCannedAnswer','deleteSelectedSmsAccountSmsCannedAnswers','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20smsCannedAnswer?','smsCannedAnswer','delete\x20smsCannedAnswer','CreateOrEditSmsCannedAnswerDialogController','app/main/apps/sms/views/smsAccounts/edit/smsCannedAnswers/dialog.html','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20smsCannedAnswers?','delete\x20smsCannedAnswers','SMS.EDIT_SMSCANNEDANSWER','smsCannedAnswers','SMS.NEW_SMSCANNEDANSWER','newSmsCannedAnswer','addNewSmsCannedAnswer','saveSmsCannedAnswer','deleteSmsCannedAnswer','SmsCannedAnswer\x20properly\x20created','SmsCannedAnswer\x20properly\x20saved!','The\x20smsCannedAnswer\x20will\x20be\x20deleted.','SmsCannedAnswer\x20properly\x20deleted!','SmsAccountSmsDispositionsController','selectedSmsAccountSmsDispositions','getSmsAccountSmsDispositions','deleteSmsAccountSmsDisposition','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20smsDisposition?','smsDisposition\x20#','smsAccountSmsDispositions','CreateOrEditSmsDispositionDialogController','app/main/apps/sms/views/smsAccounts/edit/smsDispositions/dialog.html','SmsDisposition\x20deleted!','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20smsDispositions?','delete\x20smsDispositions','smsDispositions','smsDisposition','SMS.EDIT_SMSDISPOSITION','newSmsDisposition','SMS.NEW_SMSDISPOSITION','saveSmsDisposition','deleteSmsDisposition','SmsDisposition\x20properly\x20created','SmsDisposition\x20properly\x20saved!','The\x20smsDisposition\x20will\x20be\x20deleted.','SmsAccountController','gotoSmsAccounts','app/main/apps/sms/views/smsAccounts/edit/agentadd/agentadd.html','SmsAccount\x20updated!','SmsAccountsController','createdAt,updatedAt,id,name,key,token,remote,ListId,type,phone,accountSid,authId,authToken,smsMethod,username,password,baseUrl,apiKey,senderString,deliveryReport,waitForTheAssignedAgent,mandatoryDisposition,mandatoryDispositionPauseId,description,receiveUrl,deliveryReportUrl,notificationSound,notificationShake,notificationTemplate,queueTransfer,queueTransferTimeout,agentTransfer,agentTransferTimeout','Twilio','Skebby','Connectel','ClickSend','\x27clicksend\x27','\x27plivo\x27','Infobip','\x27infobip\x27','\x27clickatell\x27','CSCTelecom','\x27csc\x27','Intelepeer','\x27intelepeer\x27','arraysmsMethod','\x27SI\x27','Classic','\x27TI\x27','Classic+','\x27GP\x27','createOrEditSmsAccount','exportSelectedSmsAccounts','deleteSelectedSmsAccounts','selectAllSmsAccounts','delete\x20smsAccount','app/main/apps/sms/views/smsAccounts/create/dialog.html','SmsAccount','SYSTEM:DELETEsmsAccount','selectedSmsAccounts','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20smsAccounts?','delete\x20SmsAccounts','SMS.EDIT_SMSQUEUE','SMS.NEW_SMSQUEUE','addNewSmsQueue','deleteSmsQueue','SmsQueue\x20properly\x20created','api.smsQueue.save','The\x20smsQueue\x20will\x20be\x20deleted.','Delete\x20SmsQueue','SmsQueue\x20properly\x20deleted!','api.smsQueue.delete','SMS.SELECTED_AGENTS','UserSmsQueue','SmsQueueteamaddController','SMS.ALL_TEAMS','SMS.SELECTED_TEAMS','SmsQueueController','gotoSmsQueues','saveSmsQueue','app/main/apps/sms/views/smsQueues/edit/teamadd/teamadd.html','SmsQueue\x20updated!','SYSTEM:GETsmsQueue','SmsQueuesController','exportSelectedSmsQueues','deleteSelectedSmsQueues','deselectSmsQueues','selectAllSmsQueues','delete\x20smsQueue','SmsQueue','SYSTEM:DELETEsmsQueue','selectedSmsQueues','AgentsController','arrayshowWebBar','External','WebRTC','arraytransport','udp','\x27udp\x27','tcp','\x27ws\x27','wss','\x27wss\x27','vm.agent.showWebBar\x20==\x201','tls','force_rport','comedia','\x27comedia\x27','\x27route\x27','\x27friend\x27','\x27user\x27','Peer','arrayallow','\x27ulaw\x27','\x27alaw\x27','\x27g722\x27','g729','opus','\x27opus\x27','h264','\x27h264\x27','wav49','\x27WAV\x27','createOrEditAgent','deleteAgent','exportSelectedAgents','deleteSelectedAgents','AgentteamaddController','app/main/apps/staff/views/agents/edit/teamadd/teamadd.html','delete\x20agent','CreateOrEditAgentDialogController','app/main/apps/staff/views/agents/create/dialog.html','SYSTEM:DELETEuser','selectedAgents','delete\x20Agents','STAFF.EDIT_AGENT','newAgent','friend','from-sip','STAFF.NEW_AGENT','addNewAgent','saveAgent','Agent\x20properly\x20created','Agent\x20properly\x20saved!','The\x20agent\x20will\x20be\x20deleted.','Delete\x20Agent','api.user.delete','Agentchange_avatarController','api/users/','/avatar','oldPassword','vm.password','agentForm','$setValidity','oldPasswordMatch','changePassword','api.agent.changePassword','onChange','uniq','agent\x20updated!','STAFF.ALL_QUEUES_','STAFF.SELECTED_QUEUES_','id,name,strategy,type,penalty','id,name,strategy,type','bull','addQueues','removeQueues','Queues\x20association\x20has\x20been\x20updated!','SYSTEM:QUEUES_ASSOCIATION','STAFF.ALL_TEAMS','STAFF.SELECTED_TEAMS','AgentController','changepassworddialog','onEnableAutomaticScreenRecordingSelection','SYSTEM:GET_CONTEXTS','app/main/apps/staff/views/agents/edit/changepassword/changepassword.html','Agent\x20updated!','SYSTEM:GETuser','teams','CreateOrEditTeamDialogController','STAFF.EDIT_TEAM','newTeam','addNewTeam','saveTeam','deleteTeam','Team\x20properly\x20created','api.team.save','Team\x20properly\x20saved!','api.team.update','The\x20team\x20will\x20be\x20deleted.','Delete\x20Team','api.team.delete','TeamagentaddController','STAFF.ALL_AGENTS','STAFF.SELECTED_AGENTS','UserTeam','selectedTeams','exportSelectedTeams','deleteSelectedTeams','app/main/apps/staff/views/teams/edit/agentadd/agentadd.html','app/main/apps/staff/views/teams/create/dialog.html','Team','SYSTEM:DELETEteam','delete\x20Teams','STAFF.EDIT_TELEPHONE','newTelephone','addNewTelephone','deleteTelephone','Telephone\x20properly\x20created','api.user.save','Telephone\x20properly\x20saved!','The\x20telephone\x20will\x20be\x20deleted.','Delete\x20Telephone','TelephonechangepasswordController','savePassword','telephoneForm','Telephone\x20password\x20properly\x20updated!','api.telephone.save','api.telephone.changePassword','TelephoneController','gotoTelephones','saveTelephone','SYSTEM:GETcontexts','app/main/apps/staff/views/telephones/edit/changepassword/changepassword.html','TelephonesController','selectedTelephones','\x27tls\x27','arraynat','ulaw','alaw','g722','\x27g729\x27','arrayvideosupport','arrayencryption','getTelephones','createOrEditTelephone','deselectTelephones','delete\x20telephone','CreateOrEditTelephoneDialogController','app/main/apps/staff/views/telephones/create/dialog.html','Telephone','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20telephones?','delete\x20Telephones','CreateOrEditUserProfileDialogController','STAFF.EDIT_USERPROFILE','userProfiles','newUserProfile','addNewUserProfile','saveUserProfile','deleteUserProfile','UserProfile\x20properly\x20created','UserProfile\x20properly\x20saved!','api.userProfile.update','The\x20userProfile\x20will\x20be\x20deleted.','Delete\x20UserProfile','UserProfile\x20properly\x20deleted!','api.userProfile.delete','EDIT_PERMISSION','DELETE_PERMISSION','selectedcrudPermissions','STAFF.CLONE_USERPROFILE','UserProfile\x20properly\x20cloned','api.userProfile.clone','READ_PERMISSION','UserProfilePermissionsController','statusList','All\x20resources\x20enabled','Partially\x20Enabled','orange-A700-bg','partial','Disabled','grey-A400-bg','Unlicensed','Module\x20not\x20included\x20in\x20the\x20license','grey-A700-bg','dashboardSections','Dashboards','DASHBOARDS.DASHBOARDS','onChangeEnableAllResources','manageResources','checkSectionResources','association','Marketplace','Fully\x20Enabled','STAFF.PERMISSIONS_WARNING_ENABLE_ALL','STAFF.CONFIRM','STAFF.CANCEL','CallySquare','full','STAFF.NOTIFICATIONS.PERMISSIONS_ENABLED_ALL_SUCCESS_TITLE','SYSTEM:USERPROFILE.ADDSECTIONS','STAFF.NOTIFICATIONS.PERMISSIONS_ENABLED_ALL_SUCCESS_MESSAGE_NO_RESOURCES','Settings','Help','STAFF.NOTIFICATIONS.PERMISSIONS_DISABLED_ALL_SUCCESS_TITLE','STAFF.NOTIFICATIONS.PERMISSIONS_DISABLED_ALL_SUCCESS_MESSAGE','voiceExtension','Reports','reportType','union','AppZone','unlicensed','USERPROFILE:GETRESOURCES(','UserProfilepermissionsmanageController','STAFF.PERMISSIONS_SECTION_TITLE','dashboardItems','loadedSection','onChangeSection','onChangeVisibility','setPermission','saveSection','STAFF.PERMISSIONS_ALL_RESOURCES','STAFF.PERMISSIONS_SELECTED_RESOURCES','STAFF.PERMISSIONS_PLACEHOLDER_SEARCH','pullAllBy','selectedSection','DASHBOARDS.GENERAL','pending','associatedReports','defaultEntry','SYSTEM:GET','allReportsSelected','SYSTEM:GET_TREE_REPORT_STRUCTURE','allowDelete','allowEdit','treeStructure','Integrations','addSections','STAFF.NOTIFICATIONS.PERMISSIONS_SAVED_SUCCESS_TITLE','STAFF.NOTIFICATIONS.PERMISSIONS_SAVED_SUCCESS_MESSAGE','STAFF.PERMISSIONS_WARNING_CLOSE','UserProfileController','permissionsmanagedialog','app/main/apps/staff/views/userProfiles/edit/permissionsmanage/permissionsmanage.html','UserProfilecloneController','app/main/apps/staff/views/userProfiles/edit/clone/clone.html','UserProfile\x20updated!','SYSTEM:GETuserProfile','UserProfilesController','selectedUserProfiles','arraycrudPermissions','Read_permission','\x27r\x27','Delete_permission','option','STAFF.','getUserProfiles','createOrEditUserProfile','exportSelectedUserProfiles','deleteSelectedUserProfiles','deselectUserProfiles','selectAllUserProfiles','delete\x20userProfile','UserProfiles','app/main/apps/staff/views/userProfiles/create/dialog.html','UserProfile','SYSTEM:DELETEuserProfile','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20userProfiles?','delete\x20UserProfiles','CreateOrEditUserDialogController','STAFF.EDIT_USER','addNewUser','saveUser','deleteUser','User\x20properly\x20created','User\x20properly\x20saved!','User\x20not\x20deleted!','You\x20can\x27t\x20remove\x20yourself','The\x20user\x20will\x20be\x20deleted.','Delete\x20User','User\x20properly\x20deleted!','generateApiKey','removeApiKey','createApiKey','N/A','api.user.createApiKey','User\x20API\x20key\x20removed!','api.user.removeApiKey','Userchange_avatarController','UserchangepasswordController','userForm','User\x20password\x20properly\x20updated!','gotoUsers','SYSTEM:GET_USERPROFILES','getApiKey','api_key','SYSTEM:GET_APIKEY','UserapikeymanagerController','app/main/apps/staff/views/users/edit/apikeymanager/apikeymanager.html','app.staff.users','User\x20updated!','UsersController','arrayrole','Admin','\x27admin\x27','\x27tcp\x27','exportSelectedUsers','deleteSelectedUsers','deselectUsers','selectAllUsers','delete\x20user','app/main/apps/staff/views/users/create/dialog.html','selectedUsers','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20users?','delete\x20Users','cannedAnswers','selectedCannedAnswers','getCannedAnswers','deleteCannedAnswer','exportSelectedCannedAnswers','deleteSelectedCannedAnswers','deselectCannedAnswers','selectAllCannedAnswers','CreateOrEditCannedAnswerDialogController','app/main/apps/tools/views/cannedAnswers/create/dialog.html','delete\x20cannedAnswer','SYSTEM:DELETEcannedAnswer','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20cannedAnswers?','TOOLS.EDIT_CANNEDANSWER','newCannedAnswer','TOOLS.NEW_CANNEDANSWER','CannedAnswer\x20properly\x20created','The\x20cannedAnswer\x20will\x20be\x20deleted.','Delete\x20CannedAnswer','CannedAnswer\x20properly\x20deleted!','customDashboards','CreateOrEditCustomDashboardDialogController','TOOLS.EDIT_CUSTOMDASHBOARD','newCustomDashboard','TOOLS.NEW_CUSTOMDASHBOARD','addNewCustomDashboard','deleteCustomDashboard','CustomDashboard\x20properly\x20created','api.dashboard.save','CustomDashboard\x20properly\x20saved!','api.dashboard.update','Delete\x20CustomDashboard','api.dashboard.delete','selectedCustomDashboards','gotodashboardgoto','getCustomDashboards','createOrEditCustomDashboard','deselectCustomDashboards','selectAllCustomDashboards','app/main/apps/tools/views/customDashboards/edit/clone/clone.html','app/main/apps/tools/views/customDashboards/create/dialog.html','SYSTEM:DELETEdashboard','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20customDashboards?','CustomDashboardcloneController','TOOLS.CLONE_CUSTOMDASHBOARD','cloneCustomDashboard','CustomDashboard\x20properly\x20cloned','api.dashboard.clone','CustomDashboardItemsController','createOrEditWidget','deleteWidget','draggable','.draggable','.resizable','/ms-widget-engine.','attrReport','CreateOrEditDashboardItemDialogController','app/main/apps/tools/views/customDashboards/edit/dashboard/dialog.html','app/core/directives/ms-widget-engine/ms-widget-engine-','Would\x20you\x20like\x20to\x20delete\x20','Widget\x20deleted!','Widget\x20has\x20been\x20deleted!','SYSTEM:DELETE.customDashboard','dashboarditem','TOOLS.EDIT_DASHBOARDITEM','newDashboardItem','createdAt,updatedAt,id,name,description,table,parent,conditions,joins','https://','0.00','#ffffff','TOOLS.NEW_DASHBOARDITEM','id,name,parent','currentReport','selectReport','closeReportDialog','SYSTEM:GET_TREEREPORTS','SYSTEM:GET_VOICEQUEUES','attrVoiceQueues','SYSTEM:GETvoiceQueues','DashboardItem\x20properly\x20created','api.dashboardItem.save','DashboardItem\x20properly\x20saved!','api.dashboardItem.update','The\x20dashboarditem\x20will\x20be\x20deleted.','Delete\x20DashboardItem','api.dashboardItem.delete','SYSTEM:GET_REPORTS','selectedReport','treeConfig','app/main/apps/tools/views/customDashboards/partialViews/reports/treeReports.html','dashboarditemForm','$setDirty','gotoCustomDashboards','CustomDashboard\x20updated!','SYSTEM:GETdashboard','CreateOrEditDispositionDialogController','TOOLS.EDIT_DISPOSITION','newDisposition','TOOLS.NEW_DISPOSITION','addNewDisposition','deleteDisposition','Disposition\x20properly\x20created','The\x20disposition\x20will\x20be\x20deleted.','Delete\x20Disposition','Disposition\x20properly\x20deleted!','DispositionsController','selectedDispositions','createOrEditDisposition','exportSelectedDispositions','deleteSelectedDispositions','deselectDispositions','selectAllDispositions','delete\x20disposition','app/main/apps/tools/views/dispositions/create/dialog.html','SYSTEM:DELETEdisposition','CreateOrEditIntervalDialogController','deleteInterval','The\x20interval\x20will\x20be\x20deleted.','Delete\x20Interval','Interval\x20properly\x20deleted!','api.interval.delete','EditAppintervalDialogController','IntervalIntervalsController','intervalIntervals','selectedIntervalIntervals','addIntervals','SYSTEM:SORTABLETABLE','createdAt,updatedAt,id,name,interval','createOrEditIntervalInterval','exportSelectedIntervalIntervals','deleteIntervalInterval','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20interval?','interval\x20#','delete\x20interval','Interval\x20deleted!','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20intervals?','delete\x20intervals','IntervalController','gotoIntervals','Interval\x20updated!','IntervalsController','selectedIntervals','exportSelectedIntervals','deleteSelectedIntervals','deselectIntervals','selectAllIntervals','app.tools.intervals.edit','app/main/apps/tools/views/intervals/create/dialog.html','SYSTEM:DELETEinterval','CreateOrEditPauseDialogController','TOOLS.EDIT_PAUSE','newPause','TOOLS.NEW_PAUSE','addNewPause','deletePause','Pause\x20properly\x20created','api.pause.save','The\x20pause\x20will\x20be\x20deleted.','Pause\x20properly\x20deleted!','api.pause.delete','PausesController','selectedPauses','getPauses','createOrEditPause','exportSelectedPauses','deleteSelectedPauses','deselectPauses','selectAllPauses','app/main/apps/tools/views/pauses/create/dialog.html','delete\x20pause','SYSTEM:DELETEpause','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20pauses?','delete\x20Pauses','schedules','schedule','CreateOrEditScheduleDialogController','TOOLS.EDIT_SCHEDULE','newSchedule','0\x200\x20*\x20*\x20*','addNewSchedule','saveSchedule','deleteSchedule','searchReport','SYSTEM:GET_MAILACCOUNTS','SYSTEM:GETmailAccounts','Schedule\x20properly\x20created','api.schedule.save','Schedule\x20properly\x20saved!','api.schedule.update','api.schedule.delete','treeDefaultData','scheduleForm','SchedulesController','selectedScheduler','CSV','\x27csv\x27','PDF','Excel','\x27xlsx\x27','arraysubtractUnit','Minutes','\x27hours\x27','Days','Weeks','Months','\x27months\x27','Quarters','\x27quarters\x27','Years','\x27years\x27','runconfirm','getScheduler','createOrEditSchedule','exportSelectedScheduler','deleteSelectedScheduler','deselectScheduler','selectAllScheduler','app/main/apps/tools/views/schedules/create/dialog.html','delete\x20schedule','Schedule','SYSTEM:DELETEschedule','delete\x20Schedules','CreateOrEditSoundDialogController','TOOLS.EDIT_SOUND','newSound','TOOLS.NEW_SOUND','addNewSound','deleteSound','api.sound.save','Sound\x20properly\x20saved!','api.sound.update','The\x20sound\x20will\x20be\x20deleted.','api.sound.delete','SoundsController','selectedSounds','createdAt,updatedAt,id,save_name,converted_format,name,audio,description','getSounds','createOrEditSound','deleteSelectedSounds','selectAllSounds','uploadSound','app/main/apps/tools/views/sounds/create/dialog.html','save_name','converted_format','delete\x20sound','Sound','SYSTEM:DELETEsound','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20sounds?','delete\x20Sounds','app/main/apps/tools/views/sounds/upload/dialog.html','UploadSoundDialogController','TOOLS.UPLOAD_SOUND','uploadSounds','api/sounds','Cannot\x20upload\x20the\x20sound','Upload\x20completed','CreateOrEditTagDialogController','newTag','TOOLS.NEW_TAG','addNewTag','api.tag.save','Tag\x20properly\x20saved!','api.tag.update','The\x20tag\x20will\x20be\x20deleted.','Tag\x20properly\x20deleted!','api.tag.delete','TagsController','createOrEditTag','deleteTag','exportSelectedTags','deleteSelectedTags','deselectTags','app/main/apps/tools/views/tags/create/dialog.html','delete\x20tag','delete\x20Tags','CreateOrEditTemplateDialogController','TOOLS.EDIT_TEMPLATE','newTemplate','addNewTemplate','saveTemplate','deleteTemplate','Template\x20properly\x20created','Template\x20properly\x20saved!','api.template.update','The\x20template\x20will\x20be\x20deleted.','api.template.delete','TemplatesController','selectedTemplates','createOrEditTemplate','deleteSelectedTemplates','app/main/apps/tools/views/templates/create/dialog.html','delete\x20template','getTemplates','Template','SYSTEM:DELETEtemplate','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20templates?','triggers','trigger','CreateOrEditTriggerDialogController','TOOLS.EDIT_TRIGGER','newTrigger','TOOLS.NEW_TRIGGER','Trigger\x20properly\x20created','api.trigger.save','Trigger\x20properly\x20saved!','api.trigger.update','The\x20trigger\x20will\x20be\x20deleted.','api.trigger.delete','TriggerActionsController','triggerActions','selectedTriggerActions','createdAt,updatedAt,id,action,data1,data2,data5,data6,data7,data3,data4','arrayaction','CONTACT_MANAGER','\x27contactManager\x27','vm.trigger.channel\x20==\x20\x27voice\x27','INTEGRATIONS','\x27integration\x27','vm.trigger.channel\x20==\x20\x27voice\x27\x20&&\x20((vm.newAction\x20&&\x20vm.hasModulePermissions.Integrations)\x20||\x20!vm.newAction)','JSCRIPTY','\x27jscripty\x27','URL_FORWARD','BROWSER','BOT','SCRIPT','\x27script\x27','Popup','CTI\x20URL','autoCreateContact','urlForwardValues','\x27GET\x27','\x27POST\x27','\x27PUT\x27','\x27DELETE\x27','Zendesk','\x27zendesk\x27','(vm.newAction\x20&&\x20vm.hasSectionPermissions[1301])\x20||\x20!vm.newAction','(!vm.newAction\x20&&\x20!vm.hasSectionPermissions[1301])','Salesforce','\x27salesforce\x27','(vm.newAction\x20&&\x20vm.hasSectionPermissions[1302])\x20||\x20!vm.newAction','(!vm.newAction\x20&&\x20!vm.hasSectionPermissions[1302])','(vm.newAction\x20&&\x20vm.hasSectionPermissions[1305])\x20||\x20!vm.newAction','Freshdesk','\x27freshdesk\x27','(vm.newAction\x20&&\x20vm.hasSectionPermissions[1303])\x20||\x20!vm.newAction','(!vm.newAction\x20&&\x20!vm.hasSectionPermissions[1303])','Desk','(vm.newAction\x20&&\x20vm.hasSectionPermissions[1306])\x20||\x20!vm.newAction','Zoho','\x27zoho\x27','(vm.newAction\x20&&\x20vm.hasSectionPermissions[1307])\x20||\x20!vm.newAction','(!vm.newAction\x20&&\x20!vm.hasSectionPermissions[1307])','(vm.newAction\x20&&\x20vm.hasSectionPermissions[1308])\x20||\x20!vm.newAction','(!vm.newAction\x20&&\x20!vm.hasSectionPermissions[1308])','\x27dynamics365\x27','(vm.newAction\x20&&\x20vm.hasSectionPermissions[1309])\x20||\x20!vm.newAction','ServiceNow','(!vm.newAction\x20&&\x20!vm.hasSectionPermissions[1310])','\x27freshsales\x27','(vm.newAction\x20&&\x20vm.hasSectionPermissions[1311])\x20||\x20!vm.newAction','motionbarValues','Windows\x20App','eventVariables','NEW_TAB','getTriggerActions','createOrEditTriggerAction','exportSelectedTriggerActions','deleteTriggerAction','deleteSelectedTriggerActions','data1','contactManager','SYSTEM:GET_ZENDESKACCOUNTS','SYSTEM:GET_DESKACCOUNTS','SYSTEM:GET_ZOHOACCOUNTS','SYSTEM:GET_FRESHDESKACCOUNTS','SYSTEM:GET_VTIGERACCOUNTS','SYSTEM:GET_DYNAMICS365ACCOUNTS','SYSTEM:GET_SERVICENOWACCOUNTS','SYSTEM:GET_FRESHSALESACCOUNTS','id,name,AccountId','SYSTEM:GET_ZENDESKCONFIGURATIONS','deskConfigurations','zohoConfigurations','SYSTEM:GET_ZOHOCONFIGURATIONS','salesforceConfigurations','SYSTEM:GET_SALESFORCECONFIGURATIONS','SYSTEM:GET_SUGARCRMCONFIGURATIONS','freshdeskConfigurations','SYSTEM:GET_FRESHDESKCONFIGURATIONS','vtigerConfigurations','SYSTEM:GET_VTIGERCONFIGURATIONS','dynamics365Configurations','SYSTEM:GET_DYNAMICS365CONFIGURATIONS','servicenowConfigurations','SYSTEM:GET_SERVICENOWCONFIGURATIONS','freshsalesConfigurations','SYSTEM:GET_TEMPLATES','motionbar','data2','SYSTEM:GETtemplates','ActionId','hasModulesPermissions','hasSectionsPermissions','hasSectionPermissions','SYSTEM:GET_INTEGRATIONS_PERMISSIONS','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20action?','delete\x20action','getActions','CreateOrEditActionDialogController','app/main/apps/tools/views/triggers/edit/actions/dialog.html','Action\x20deleted!','SYSTEM:GETtrigger','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20actions?','delete\x20actions','TOOLS.EDIT_ACTION','TOOLS.NEW_ACTION','newAction','saveAction','deleteAction','onActionInit','onIntegrationInit','SYSTEM:GET_SALESFORCEACCOUNTS','sugarcrmConfigurations','SYSTEM:GET_MODULES_PERMISSIONS','SYSTEM:GET_SECTIONS_PERMISSIONS','addAction','api.action.save','Action\x20properly\x20saved!','The\x20action\x20will\x20be\x20deleted.','Delete\x20Action','Action\x20properly\x20deleted!','api.action.delete','TriggerAllConditionsController','triggerAllConditions','selectedTriggerAllConditions','createdAt,updatedAt,id,field,operator,value','arrayfield','\x27queue\x27','Call_Status','\x27lastevent\x27','\x27routeId\x27','vm.trigger.channel\x20!=\x20\x27voice\x27','\x27interaction\x27','\x27message\x27','arrayoperator','Equals','\x27equals\x27','Not_Equals','\x27not_equals\x27','Abandon','\x27complete\x27','Ring','\x27connect\x27','interactionStatusValues','Opened','\x27opened\x27','Closed','\x27closed\x27','messageStatusValues','Incoming','\x27in\x27','Outgoing','\x27out\x27','\x27accept\x27','Rejected','\x27reject\x27','getTriggerAllConditions','createOrEditTriggerAllCondition','exportSelectedTriggerAllConditions','deleteSelectedTriggerAllConditions','SYSTEM:GET_CHATACCOUNTS','SYSTEM:GETchatAccounts','SYSTEM:GET_SMSACCOUNTS','SYSTEM:GETsmsAccounts','SYSTEM:GET_WHATSAPPACCOUNTS','SYSTEM:GET_FAXACCOUNTS','SYSTEM:GETfaxAccounts','SYSTEM:GET_OPENCHANNELACCOUNTS','id,exten','SYSTEM:GET_OUTBOUNDROUTES','outboundRoutes','routeId','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20allCondition?','allCondition\x20#','allCondition','getAllConditions','CreateOrEditAllConditionDialogController','AllCondition\x20deleted!','delete\x20allconditions','allconditions','newAllCondition','TOOLS.NEW_ALLCONDITION','TriggerAllId','addNewAllCondition','saveAllCondition','deleteAllCondition','SYSTEM:GETwhatsappAccounts','SYSTEM:GETopenchannelAccounts','SYSTEM:GEToutboundRoutes','addAllCondition','api.condition.save','AllCondition\x20properly\x20saved!','api.condition.update','The\x20allCondition\x20will\x20be\x20deleted.','AllCondition\x20properly\x20deleted!','api.condition.delete','TriggerAnyConditionsController','triggerAnyConditions','selectedTriggerAnyConditions','\x27agent\x27','\x27account\x27','callStatusValues','\x27abandoned\x27','\x27called\x27','Answer','Accepted','createOrEditTriggerAnyCondition','exportSelectedTriggerAnyConditions','deleteTriggerAnyCondition','deleteSelectedTriggerAnyConditions','TriggerAnyId','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20anyCondition?','anyCondition','app/main/apps/tools/views/triggers/edit/anyconditions/dialog.html','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20anyconditions?','delete\x20anyconditions','anyconditions','CreateOrEditAnyConditionDialogController','TOOLS.EDIT_ANYCONDITION','newAnyCondition','TOOLS.NEW_ANYCONDITION','addNewAnyCondition','deleteAnyCondition','AnyCondition\x20properly\x20created','AnyCondition\x20properly\x20saved!','The\x20anyCondition\x20will\x20be\x20deleted.','Delete\x20AnyCondition','AnyCondition\x20properly\x20deleted!','TriggerController','gotoTriggers','saveTrigger','Trigger\x20updated!','TriggersController','selectedTriggers','arraychannel','Voice','Openchannel','\x27openchannel\x27','Chat','\x27chat\x27','vm.license.mail','Sms','\x27sms\x27','vm.license.messaging','Fax','\x27fax\x27','vm.license.fax','Whatsapp','\x27whatsapp\x27','vm.license.whatsapp','getTriggers','deleteTrigger','exportSelectedTriggers','deleteSelectedTriggers','delete\x20trigger','app/main/apps/tools/views/triggers/create/dialog.html','SYSTEM:DELETEtrigger','delete\x20Triggers','TOOLS.EDIT_TRUNK','newTrunk','rfc2833','addNewTrunk','saveTrunk','deleteTrunk','Trunk\x20properly\x20created','api.trunk.save','Trunk\x20properly\x20saved!','api.trunk.update','The\x20trunk\x20will\x20be\x20deleted.','Delete\x20Trunk','Trunk\x20properly\x20deleted!','api.trunk.delete','TrunkcloneController','cloneTrunk','Trunk\x20properly\x20cloned','api.trunk.clone','TrunkController','gotoTrunks','app/main/apps/tools/views/trunks/edit/clone/clone.html','Trunk\x20updated!','SYSTEM:GETtrunk','TrunksController','selectedTrunks','Friend','\x27peer\x27','arraydtmfmode','\x27rfc2833\x27','\x27info\x27','shortinfo','\x27shortinfo\x27','inband','\x27auto\x27','g723','\x27g723\x27','\x27g726\x27','ilbc','\x27ilbc\x27','arrayinsecure','\x27port\x27','\x27invite\x27','very','\x27nonat\x27','\x27update\x27','arraycallcounter','arraytrustrpid','arraysendrpid','pai','\x27pai\x27','exportSelectedTrunks','deleteSelectedTrunks','deselectTrunks','selectAllTrunks','delete\x20trunk','CreateOrEditTrunkDialogController','app/main/apps/tools/views/trunks/create/dialog.html','SYSTEM:DELETEtrunk','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20trunks?','delete\x20Trunks','TOOLS.EDIT_VARIABLE','TOOLS.NEW_VARIABLE','saveVariable','Variable\x20properly\x20created','api.variable.save','Variable\x20properly\x20saved!','The\x20variable\x20will\x20be\x20deleted.','Variable\x20properly\x20deleted!','api.variable.delete','VariablesController','selectedVariables','getVariables','createOrEditVariable','deleteVariable','exportSelectedVariables','deleteSelectedVariables','deselectVariables','selectAllVariables','delete\x20variable','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20variables?','delete\x20Variables','screenRecordings','CreateOrEditscreenRecordingDialogController','VIDEO.EDIT_SCREENRECORDING','VIDEO.NEW_SCREENRECORDING','newscreenRecording','addNewscreenRecording','savescreenRecording','deletescreenRecording','screenRecording\x20properly\x20created','api.screenRecording.save','screenRecording\x20properly\x20saved!','api.screenRecording.update','Delete\x20screenRecording','api.screenRecording.delete','recording','actionOptions','varPath','TCL:\x20vm.path','TCL:\x20vm.recording[vm.path]','lastIndexOf','.mp4','found','propertiesList','propertiesDefault','extraData','propertiesExtra','ScreenRecordingsController','@msUtils.firstLastDayMonth()','DASHBOARDS.SELECT_DATE_RANGE','playrecording','createOrEditscreenRecording','exportSelectedScreenRecordings','deselectScreenRecordings','selectAllScreenRecordings','convertDuration','SYSTEM:GET_USERS','icon-video','startedAt','agentname','singular','VIDEO.CANT_DOWNLOAD_THIS_FILE','VIDEO.WRONG_EXTENSION','404','VIDEO.FILE_NOT_FOUND','delete\x20screenRecording','getScreenRecordings','app/main/apps/video/views/screenRecordings/create/dialog.html','selectedScreenRecordings','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20screenRecordings?','delete\x20screenRecordings','chanSpies','selectedChanSpies','arrayoptions','b:\x20Only\x20spy\x20on\x20channels\x20involved\x20in\x20a\x20bridged\x20call.','\x27b\x27','B:\x20Instead\x20of\x20whispering\x20on\x20a\x20single\x20channel\x20barge\x20in\x20on\x20both\x20channels\x20involved\x20in\x20the\x20call.','\x27B\x27','\x27E\x27','o:\x20Only\x20listen\x20to\x20audio\x20coming\x20from\x20this\x20channel.','\x27o\x27','q:\x20Don\x27t\x20play\x20a\x20beep\x20when\x20beginning\x20to\x20spy\x20on\x20a\x20channel,\x20or\x20speak\x20the\x20selected\x20channel\x20name.','\x27q\x27','s:\x20Skip\x20the\x20playback\x20of\x20the\x20channel\x20type\x20(i.e.\x20SIP,\x20IAX,\x20etc)\x20when\x20speaking\x20the\x20selected\x20channel\x20name.','\x27s\x27','S:\x20Stop\x20when\x20no\x20more\x20channels\x20are\x20left\x20to\x20spy\x20on.','\x27W\x27','arrayrecordingFormat','getChanSpies','createOrEditchanSpy','deletechanSpy','deleteSelectedChanSpies','deselectChanSpies','selectAllChanSpies','app/main/apps/voice/views/chanSpies/create/dialog.html','chanSpy','delete\x20chanSpy','ChanSpies','SYSTEM:DELETEvoiceChanSpy','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20chanSpies?','delete\x20chanSpys','CreateOrEditchanSpyDialogController','VOICE.EDIT_CHANSPY','newchanSpy','savechanSpy','chanSpy\x20properly\x20created','api.voiceChanSpy.save','chanSpy\x20properly\x20saved!','api.voiceChanSpy.update','Delete\x20chanSpy','chanSpy\x20properly\x20deleted!','api.voiceChanSpy.delete','ContextsController','getContexts','createOrEditContext','deleteContext','exportSelectedContexts','deleteSelectedContexts','deselectContexts','selectAllContexts','CreateOrEditContextDialogController','app/main/apps/voice/views/contexts/create/dialog.html','delete\x20context','Context','SYSTEM:DELETEvoiceContext','selectedContexts','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20contexts?','delete\x20Contexts','VOICE.EDIT_CONTEXT','newContext','VOICE.NEW_CONTEXT','addNewContext','api.voiceContext.save','Context\x20properly\x20saved!','The\x20context\x20will\x20be\x20deleted.','Delete\x20Context','Context\x20properly\x20deleted!','api.voiceContext.delete','inboundroutes','VOICE.EDIT_INBOUNDROUTE','inboundroute','newInboundRoute','Inbound\x20Call','from-voip-provider','VOICE.NEW_INBOUNDROUTE','addNewInboundRoute','saveInboundRoute','InboundRoute\x20properly\x20created','InboundRoute\x20properly\x20saved!','api.voiceExtension.update','The\x20inboundroute\x20will\x20be\x20deleted.','Delete\x20InboundRoute','InboundRoute\x20properly\x20deleted!','api.voiceExtension.delete','InboundRouteActionsController','selectedInboundRouteApps','Inbound',',xX,,,300,,,,,','/var/opt/motion2/server/files/sounds/converted/','Options','Url','Announce_Overrides','\x27/var/opt/motion2/server/files/sounds/converted/{{sound.save_name}}\x27','sound.name','Agi','Macro','macro','gosub','Rule','Playback','playback','id,name,save_name','Audio_Files','\x27/var/opt/motion2/server/files/sounds/converted/{{appdata.save_name}}\x27','appdata.name','Dial','dial','Technology/Resource','internalDial','id,name,role','\x27SIP/{{user.name}}\x27','user.name','trunk.name','ringGroup','SIP/','\x27SIP/{{multipleUsers.name}}\x27','multipleUsers.name','agi://127.0.0.1/square,','Project','\x27agi://127.0.0.1/square,{{project.name}}\x27','project.name','goTo','context.name','Extension','Hangup_Cause','HANGUPCAUSE_1','\x2716\x27','HANGUPCAUSE_17','\x2717\x27','HANGUPCAUSE_18','\x2718\x27','HANGUPCAUSE_21','\x2721\x27','\x2722\x27','HANGUPCAUSE_27','\x2727\x27','HANGUPCAUSE_38','HANGUPCAUSE_41','\x2741\x27','Set','name.name','Application_Name','Arguments','Voicemail','voicemail','voiceMails','@from-voicemail','Mailbox@Context','\x27{{voiceMail.mailbox}}@from-voicemail\x27','voiceMail.mailbox','getInboundRouteApps','editInboundRouteApp','deleteInboundRouteApp','deleteSelectedInboundRouteApps','inboundrouteApps','EditInboundApp','EditInboundAppintervalDialogController','app/main/apps/voice/views/inboundroutes/edit/apps/interval/dialog.html','CDR(type)=inbound','XCALLY-MOTION-ANSWER=0','XCALLY-MOTION-PROGRESS=0','MONITOR_OPTIONS=ab','ExecIf','$[${XCALLY-MOTION-ANSWER}=0]?Answer','XCALLY-MOTION-ANSWER=1','XCALLY-MOTION-PROGRESS=1','GotoIfTime',',${EXTEN},','inboundrouteApp','EditInboundAppagiDialogController','VOICE.EDIT_','saveInboundRouteApp','EditInboundAppcustomDialogController','EditInboundAppdialDialogController','tech','EditInboundAppexternaldialDialogController','externaldial','SIP','EditInboundAppgotoDialogController','EditInboundApphangupDialogController','EditInboundAppinternaldialDialogController','internaldial','SYSTEM:GETusers','SYSTEM:GETsounds','rule','SYSTEM:GET_SOUNDS','ringgroup','multipleUsers','EditInboundAppsetDialogController','SYSTEM:GET_VOICEMAILS','SYSTEM:GETvoiceMails','InboundRouteController','gotoInboundRoutes','InboundRoute\x20updated!','SYSTEM:GETvoiceExtension','InboundRoutesController','createOrEditInboundRoute','exportSelectedInboundRoutes','deleteSelectedInboundRoutes','deselectInboundRoutes','selectAllInboundRoutes','getInboundRoutes','CreateOrEditInboundRouteDialogController','app/main/apps/voice/views/inboundroutes/create/dialog.html','InboundRoute','SYSTEM:DELETEvoiceExtension','selectedInboundRoutes','internalroutes','internalroute','CreateOrEditInternalRouteDialogController','newInternalRoute','Internal\x20Call','addNewInternalRoute','saveInternalRoute','deleteInternalRoute','InternalRoute\x20properly\x20created','api.voiceExtension.save','InternalRoute\x20properly\x20saved!','The\x20internalroute\x20will\x20be\x20deleted.','Delete\x20InternalRoute','InternalRoute\x20properly\x20deleted!','InternalRouteActionsController','internalrouteApps','selectedInternalRouteApps','externalDial','AGI','HANGUPCAUSE_16','HANGUPCAUSE_22','\x2738\x27','id,mailbox','getInternalRouteApps','editInternalRouteApp','deleteInternalRouteApp','deleteSelectedInternalRouteApps','VoiceExtensionId','EditInternalApp','app/main/apps/voice/views/internalroutes/edit/apps/','app/main/apps/voice/views/internalroutes/edit/apps/interval/dialog.html','$[${XCALLY-MOTION-PROGRESS}=0]?Progress','internalrouteApp','EditInternalAppagiDialogController','saveInternalRouteApp','EditInternalAppcustomDialogController','EditInternalAppgotoDialogController','EditInternalApphangupDialogController','EditInternalAppinternaldialDialogController','EditInternalAppintervalDialogController','EditInternalAppplaybackDialogController','EditInternalAppqueueDialogController','EditInternalAppringgroupDialogController','EditInternalAppvoicemailDialogController','InternalRouteController','gotoInternalRoutes','app.voice.internalroutes','InternalRoutesController','selectedInternalRoutes','getInternalRoutes','createOrEditInternalRoute','exportSelectedInternalRoutes','deleteSelectedInternalRoutes','deselectInternalRoutes','selectAllInternalRoutes','delete\x20internalroute','app/main/apps/voice/views/internalroutes/create/dialog.html','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20internalroutes?','delete\x20InternalRoutes','CreateOrEditMusicOnHoldDialogController','newMusicOnHold','files','VOICE.NEW_MUSICONHOLD','saveMusicOnHold','deleteMusicOnHold','MusicOnHold\x20properly\x20created','api.voiceMusicOnHold.save','MusicOnHold\x20properly\x20saved!','api.voiceMusicOnHold.update','MusicOnHold\x20properly\x20deleted!','api.voiceMusicOnHold.delete','MusicOnHoldMohSoundsController','musiconholdMohSounds','selectedMusicOnHoldMohSounds','createdAt,updatedAt,id,save_name,converted_format,audio','voiceMusicOnHoldDownload','createOrEditMusicOnHoldMohSound','deleteMusicOnHoldMohSound','deleteSelectedMusicOnHoldMohSounds','VoiceMusicOnHoldId','mohSound','delete\x20mohSound','app/main/apps/voice/views/musiconholds/edit/mohSounds/dialog.html','removeSound','MohSound\x20deleted!','SYSTEM:GETvoiceMusicOnHold','delete\x20mohSounds','CreateOrEditMohSoundDialogController','VOICE.EDIT_MOHSOUND','mohSounds','VOICE.NEW_MOHSOUND','newMohSound','addNewMohSound','saveMohSound','addSound','MohSound\x20properly\x20created','The\x20mohSound\x20will\x20be\x20deleted.','Delete\x20MohSound','MohSound\x20properly\x20deleted!','MusicOnHoldController','gotoMusicOnHolds','MusicOnHoldsController','selectedMusicOnHolds','\x27files\x27','arraysort','Random','Alphabetical','\x27alpha\x27','createOrEditMusicOnHold','exportSelectedMusicOnHolds','deleteSelectedMusicOnHolds','deselectMusicOnHolds','selectAllMusicOnHolds','delete\x20musiconhold','getMusicOnHolds','app/main/apps/voice/views/musiconholds/create/dialog.html','SYSTEM:DELETEvoiceMusicOnHold','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20musiconholds?','delete\x20MusicOnHolds','outboundroutes','outboundroute','VOICE.EDIT_OUTBOUNDROUTE','newOutboundRoute','outboundrouteApps','Outbound','Caller_ID','/"(.*)"\x5cs<(.*?)>$/','Prefix','\x27--\x27','Outbound\x20Call','addNewOutboundRoute','saveOutboundRoute','deleteOutboundRoute','OutboundRoute\x20properly\x20saved!','Outbound\x20route\x20not\x20deleted!','The\x20outboundroute\x20will\x20be\x20deleted.','Delete\x20OutboundRoute','OutboundRoute\x20properly\x20deleted!','CDR(type)=outbound','outboundrouteid=','_XCALLY_MIXMONITOR_FORMAT=','CDR(tag)=','$[${LEN(${PREFIX-CALLERIDALL})}\x20>\x200]?Set(CALLERID(all)=${PREFIX-CALLERIDALL}):NoOp(No\x20number\x20available)','Hangup','OutboundRouteActionsController','getOutboundRouteApps','editOutboundRouteApp','onVoiceExtensionUpdate','voiceExtension:update','app/main/apps/voice/views/outboundroutes/edit/apps/interval/dialog.html','CDR(destination)=','$[${LEN(${CDR(prefix)})}\x20>\x200]?Goto(','CDR(prefix)=${EXTEN:0:','CDR(prefix)=noprefix','_XCALLY_MIXMONITOR_UNIQUEID=${UNIQUEID}','$[${LEN(${PREFIX-CALLERIDALL})}\x20>\x200]?Set(CALLERID(all)=${PREFIX-CALLERIDALL}):Set(CALLERID(all)=','selectedOutboundRouteApps','outboundrouteApp','EditoutboundAppintervalDialogController','EditoutboundAppoutbounddialDialogController','saveOutboundRouteApp','OutboundRouteController','gotoOutboundRoutes','OutboundRoute\x20updated!','OutboundRoutesController','\x27none\x27','createOrEditOutboundRoute','exportSelectedOutboundRoutes','deselectOutboundRoutes','selectAllOutboundRoutes','delete\x20outboundroute','getOutboundRoutes','app/main/apps/voice/views/outboundroutes/create/dialog.html','You\x20can\x27t\x20remove\x20an\x20outbound\x20route\x20associated\x20to\x20an\x20out\x20prefix','OutboundRoute','selectedOutboundRoutes','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20outboundroutes?','AbandonedCallsVoiceRealtimeController','refreshAbandonedCalls','motion2.realtime.abandoned.voice.abandonedCalls:','AgentsVoiceRealtimeController','rpcCalls','OutboundCallsVoiceRealtimeController','channelStatusOut','channelstatedesc','voice_outbound_channel:save','QueueCallsVoiceRealtimeController','QueuesVoiceRealtimeController','createOrEditVoiceQueue','CreateOrEditVoiceQueueDialogController','app/main/apps/voice/views/voiceQueues/create/dialog.html','VoiceQueueagentaddController','app/main/apps/voice/views/voiceQueues/edit/agentadd/agentadd.html','VoiceRealtimeController','app.voice.realtime.agents','rpcTelephones','TelephonesVoiceRealtimeController','id,fullname,internal','telephone:save','TrunksVoiceRealtimeController','voicemails','CreateOrEditVoicemailDialogController','VOICE.EDIT_VOICEMAIL','newVoicemail','addNewVoicemail','saveVoicemail','deleteVoicemail','Voicemail\x20properly\x20created','api.voiceMail.save','api.voiceMail.update','The\x20voicemail\x20will\x20be\x20deleted.','Delete\x20Voicemail','Voicemail\x20properly\x20deleted!','api.voiceMail.delete','voicemailMessages','selectedVoicemailMessages','createdAt,updatedAt,id,callerid,duration,audio,stamp,msg_id','-stamp','voiceMailMessageDownload','getVoicemailMessages','createOrEditVoicemailMessage','exportSelectedVoicemailMessages','deleteVoicemailMessage','deleteSelectedVoicemailMessages','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20message?','message\x20#','delete\x20message','CreateOrEditMessageDialogController','app/main/apps/voice/views/voicemails/edit/messages/dialog.html','Message\x20deleted!','SYSTEM:GETvoiceMail','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20messages?','delete\x20messages','VoicemailController','gotoVoicemails','Voicemail\x20updated!','arrayattach','arraydelete','getVoicemails','createOrEditVoicemail','exportSelectedVoicemails','deselectVoicemails','delete\x20voicemail','app/main/apps/voice/views/voicemails/create/dialog.html','SYSTEM:DELETEvoiceMail','selectedVoicemails','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20voicemails?','voicePrefixes','CreateOrEditvoicePrefixDialogController','VOICE.EDIT_VOICEPREFIX','newvoicePrefix','VOICE.NEW_VOICEPREFIX','addNewvoicePrefix','voicePrefix\x20properly\x20created','api.voicePrefix.save','voicePrefix\x20properly\x20saved!','api.voicePrefix.update','The\x20voicePrefix\x20will\x20be\x20deleted.','Delete\x20voicePrefix','voicePrefix\x20properly\x20deleted!','api.voicePrefix.delete','voicePrefixagentaddController','VOICE.ALL_AGENTS','VOICE.SELECTED_AGENTS','UservoicePrefix','VoicePrefixesController','selectedVoicePrefixes','deletevoicePrefix','deselectVoicePrefixes','app/main/apps/voice/views/voicePrefixes/create/dialog.html','app/main/apps/voice/views/voicePrefixes/edit/agentadd/agentadd.html','delete\x20voicePrefix','VoicePrefixes','SYSTEM:DELETEvoicePrefix','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20voicePrefixes?','VOICE.EDIT_VOICEQUEUE','newVoiceQueue','ringall','VOICE.NEW_VOICEQUEUE','addNewVoiceQueue','saveVoiceQueue','deleteVoiceQueue','VoiceQueue\x20properly\x20created','VoiceQueue\x20properly\x20saved!','Delete\x20VoiceQueue','VoiceQueue\x20properly\x20deleted!','VOICE.ALL_TEAMS','VoiceQueueController','gotoVoiceQueues','VoiceQueueteamaddController','app.voice.voiceQueues','VoiceQueue\x20updated!','VoiceQueuesController','selectedVoiceQueues','Ringall','\x27ringall\x27','arrayjoinempty','vm.voiceQueue.joinempty.length\x20===\x201\x20&&\x20vm.voiceQueue.joinempty[0]\x20===\x20\x27yes\x27','\x27strict\x27','loose','\x27loose\x27','vm.voiceQueue.joinempty.length\x20===\x201\x20&&\x20vm.voiceQueue.joinempty[0]\x20===\x20\x27loose\x27','vm.voiceQueue.joinempty.length\x20===\x201\x20&&\x20vm.voiceQueue.joinempty[0]\x20===\x20\x27paused\x27','vm.voiceQueue.joinempty.length\x20===\x201\x20&&\x20vm.voiceQueue.joinempty[0]\x20===\x20\x27penalty\x27','\x27inuse\x27','vm.voiceQueue.joinempty.length\x20===\x201\x20&&\x20vm.voiceQueue.joinempty[0]\x20===\x20\x27inuse\x27','\x27ringing\x27','vm.voiceQueue.joinempty.length\x20===\x201\x20&&\x20vm.voiceQueue.joinempty[0]\x20===\x20\x27unavailable\x27','invalid','vm.voiceQueue.joinempty.length\x20===\x201\x20&&\x20vm.voiceQueue.joinempty[0]\x20===\x20\x27invalid\x27','\x27unknown\x27','vm.voiceQueue.joinempty.length\x20===\x201\x20&&\x20vm.voiceQueue.joinempty[0]\x20===\x20\x27unknown\x27','wrapup','\x27wrapup\x27','vm.voiceQueue.joinempty.length\x20===\x201\x20&&\x20vm.voiceQueue.joinempty[0]\x20===\x20\x27wrapup\x27','arrayleavewhenempty','vm.voiceQueue.leavewhenempty.length\x20===\x201\x20&&\x20vm.voiceQueue.leavewhenempty[0]\x20===\x20\x27yes\x27','vm.voiceQueue.leavewhenempty.length\x20===\x201\x20&&\x20vm.voiceQueue.leavewhenempty[0]\x20===\x20\x27strict\x27','vm.voiceQueue.leavewhenempty.length\x20===\x201\x20&&\x20vm.voiceQueue.leavewhenempty[0]\x20===\x20\x27loose\x27','\x27penalty\x27','vm.voiceQueue.leavewhenempty.length\x20===\x201\x20&&\x20vm.voiceQueue.leavewhenempty[0]\x20===\x20\x27penalty\x27','vm.voiceQueue.leavewhenempty.length\x20===\x201\x20&&\x20vm.voiceQueue.leavewhenempty[0]\x20===\x20\x27inuse\x27','\x27unavailable\x27','\x27invalid\x27','vm.voiceQueue.leavewhenempty.length\x20===\x201\x20&&\x20vm.voiceQueue.leavewhenempty[0]\x20===\x20\x27invalid\x27','vm.voiceQueue.leavewhenempty.length\x20===\x201\x20&&\x20vm.voiceQueue.leavewhenempty[0]\x20===\x20\x27wrapup\x27','arrayrandom_periodic_announce','arrayannounce_holdtime','Once','\x27once\x27','Limit','\x27limit\x27','More','\x27more\x27','arrayreportholdtime','arraysetinterfacevar','exportSelectedVoiceQueues','deleteSelectedVoiceQueues','selectAllVoiceQueues','delete\x20voiceQueue','VoiceQueue','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20voiceQueues?','delete\x20VoiceQueues','CreateOrEditVoiceRecordingDialogController','VOICE.NEW_VOICERECORDING','addNewVoiceRecording','saveVoiceRecording','deleteVoiceRecording','VoiceRecording\x20properly\x20created','api.voiceRecording.save','VoiceRecording\x20properly\x20saved!','api.voiceRecording.update','The\x20voiceRecording\x20will\x20be\x20deleted.','Delete\x20VoiceRecording','VoiceRecordingSentimentStatisticsController','app.voice.voiceRecordings','selectedVoiceRecordings','runsentimentruntranscribesentiment','createOrEditVoiceRecording','exportSelectedVoiceRecordings','deleteSelectedVoiceRecordings','deselectVoiceRecordings','selectAllVoiceRecordings','runtranscribeSelectedVoiceRecordings','runTranscribe','VOICE.RUNTRANSCRIBE_VOICERECORDING','\x20succeded!','transcribeStatus','VOICE.RUNTRANSCRIBESENTIMENT_VOICERECORDING','runsentimentSelectedVoiceRecordings','VOICE.RUNSENTIMENT_VOICERECORDING','.txt','VOICE.CANT_DOWNLOAD_THIS_FILE','VOICE.WRONG_EXTENSION','VOICE.FILE_NOT_FOUND','delete\x20voiceRecording','SYSTEM:DELETEvoiceRecording','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20voiceRecordings?','WhatsappQueueId','WhatsappQueueagentaddController','WhatsappRealtimeController','CreateOrEditWhatsappAccountDialogController','WHATSAPP.EDIT_WHATSAPPACCOUNT','newWhatsappAccount','addNewWhatsappAccount','saveWhatsappAccount','WhatsappAccount\x20properly\x20created','api.whatsappAccount.save','WhatsappAccount\x20properly\x20saved!','api.whatsappAccount.update','Delete\x20WhatsappAccount','WhatsappAccount\x20properly\x20deleted!','api.whatsappAccount.delete','whatsappAccountApps','selectedWhatsappAccountApps','getWhatsappAccountApps','editWhatsappAccountApp','deleteWhatsappAccountApp','deleteSelectedWhatsappAccountApps','EditWhatsappAccountApp','app/main/apps/whatsapp/views/whatsappAccounts/edit/apps/','app/main/apps/whatsapp/views/whatsappAccounts/edit/apps/interval/dialog.html','WHATSAPP.ALL_AGENTS','WHATSAPP.SELECTED_AGENTS','UserWhatsappAccount','whatsappAccountApp','WHATSAPP.EDIT_','saveWhatsappAccountApp','EditWhatsappAccountAppautoreplyDialogController','EditWhatsappAccountAppdialogflowDialogController','EditWhatsappAccountAppgotoifDialogController','EditWhatsappAccountAppgotopDialogController','EditWhatsappAccountAppintervalDialogController','EditWhatsappAccountAppqueueDialogController','EditWhatsappAccountAppsystemDialogController','EditWhatsappAccountApptagDialogController','WhatsappAccountInteractionsController','whatsappAccountInteractions','selectedWhatsappAccountInteractions','whatsappInteractionDownload','getWhatsappAccountInteractions','spywhatsappInteraction','exportSelectedWhatsappAccountInteractions','deleteSelectedWhatsappAccountInteractions','whatsapp.whatsappAccounts','SYSTEM:GETwhatsappAccount','WhatsappAccountController','gotoWhatsappAccounts','WhatsappAccountagentaddController','app/main/apps/whatsapp/views/whatsappAccounts/edit/agentadd/agentadd.html','WhatsappAccountWhatsappCannedAnswersController','whatsappAccountWhatsappCannedAnswers','selectedWhatsappAccountWhatsappCannedAnswers','getWhatsappAccountWhatsappCannedAnswers','createOrEditWhatsappAccountWhatsappCannedAnswer','exportSelectedWhatsappAccountWhatsappCannedAnswers','deleteWhatsappAccountWhatsappCannedAnswer','deleteSelectedWhatsappAccountWhatsappCannedAnswers','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20whatsappCannedAnswer?','whatsappCannedAnswer','CreateOrEditWhatsappCannedAnswerDialogController','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20whatsappCannedAnswers?','delete\x20whatsappCannedAnswers','whatsappCannedAnswers','WHATSAPP.EDIT_WHATSAPPCANNEDANSWER','newWhatsappCannedAnswer','saveWhatsappCannedAnswer','deleteWhatsappCannedAnswer','WhatsappCannedAnswer\x20properly\x20created','The\x20whatsappCannedAnswer\x20will\x20be\x20deleted.','WhatsappAccountWhatsappDispositionsController','whatsappAccountWhatsappDispositions','selectedWhatsappAccountWhatsappDispositions','createOrEditWhatsappAccountWhatsappDisposition','exportSelectedWhatsappAccountWhatsappDispositions','deleteWhatsappAccountWhatsappDisposition','deleteSelectedWhatsappAccountWhatsappDispositions','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20whatsappDisposition?','whatsappDisposition\x20#','whatsappDisposition','delete\x20whatsappDisposition','CreateOrEditWhatsappDispositionDialogController','app/main/apps/whatsapp/views/whatsappAccounts/edit/whatsappDispositions/dialog.html','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20whatsappDispositions?','delete\x20whatsappDispositions','WHATSAPP.EDIT_WHATSAPPDISPOSITION','WHATSAPP.NEW_WHATSAPPDISPOSITION','newWhatsappDisposition','addNewWhatsappDisposition','saveWhatsappDisposition','deleteWhatsappDisposition','whatsappDispositions','WhatsappDisposition\x20properly\x20saved!','The\x20whatsappDisposition\x20will\x20be\x20deleted.','WhatsappAccountsController','selectedWhatsappAccounts','createOrEditWhatsappAccount','deleteWhatsappAccount','deleteSelectedWhatsappAccounts','deselectWhatsappAccounts','selectAllWhatsappAccounts','app.whatsapp.whatsappAccounts.edit','delete\x20whatsappAccount','app/main/apps/whatsapp/views/whatsappAccounts/create/dialog.html','WhatsappAccount','SYSTEM:DELETEwhatsappAccount','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20whatsappAccounts?','newWhatsappQueue','addNewWhatsappQueue','saveWhatsappQueue','deleteWhatsappQueue','api.whatsappQueue.save','api.whatsappQueue.update','WhatsappQueue\x20properly\x20deleted!','api.whatsappQueue.delete','UserWhatsappQueue','WHATSAPP.ALL_TEAMS','WHATSAPP.SELECTED_TEAMS','WhatsappQueueController','gotoWhatsappQueues','app/main/apps/whatsapp/views/whatsappQueues/edit/teamadd/teamadd.html','app/main/apps/whatsapp/views/whatsappQueues/edit/agentadd/agentadd.html','WhatsappQueue\x20updated!','WhatsappQueuesController','selectedWhatsappQueues','exportSelectedWhatsappQueues','deleteSelectedWhatsappQueues','deselectWhatsappQueues','selectAllWhatsappQueues','WhatsappQueueteamaddController','delete\x20whatsappQueue','app/main/apps/whatsapp/views/whatsappQueues/create/dialog.html','SYSTEM:DELETEwhatsappQueue','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20whatsappQueues?','delete\x20WhatsappQueues','NONAME','apps.home.plugin_','plugin_','APPS','UNKNOWN','VERSION\x20','agentOnly','apps.plugins','hasChildrenPermissions','apps.plugins.plugin_','adminOnly','defaultPageTitle','#pageTitle','pageTitle','apps.dashboards','icon-tile-four','apps.dashboards.general','General','apps.staff','Staff','STAFF.STAFF','apps.staff.users','STAFF.USERS','apps.staff.agents','STAFF.TELEPHONES','apps.staff.teams','STAFF.USERPROFILES','apps.contactmanager','ContactManager','CONTACTMANAGER.CONTACTMANAGER','apps.contactmanager.lists','CONTACTMANAGER.LISTS','apps.contactmanager.companies','CONTACTMANAGER.COMPANIES','CONTACTMANAGER.GLOBALCUSTOMFIELDS','app.contactmanager.globalCustomFields','apps.contactmanager.contacts','CONTACTMANAGER.CONTACTS','apps.voice','VOICE.VOICE','apps.voice.voiceQueues','VOICE.VOICEQUEUES','VOICE.INBOUNDROUTES','apps.voice.outboundroutes','VOICE.OUTBOUNDROUTES','apps.voice.internalroutes','VOICE.INTERNALROUTES','VOICE.CONTEXTS','apps.voice.voicemails','VOICE.VOICEMAILS','VOICE.MUSICONHOLDS','apps.voice.voiceRecordings','VOICE.VOICERECORDINGS','apps.voice.chanSpies','VOICE.CHANSPIES','app.voice.chanSpies','apps.voice.voicePrefixes','VOICE.VOICEPREFIXES','apps.voice.realtime','Realtime','VOICE.REALTIME','apps.chat','CHAT.CHAT','apps.chat.chatQueues','CHAT.CHATQUEUES','apps.chat.chatWebsites','CHAT.CHATWEBSITES','apps.chat.realtime','CHAT.REALTIME','apps.mail','MAIL.MAIL','apps.mail.mailQueues','MAIL.MAILQUEUES','apps.mail.mailAccounts','apps.mail.mailSubtatuses','MAIL.MAILSUBSTATUSES','apps.sms','SMS.SMS','apps.sms.smsQueues','apps.sms.smsAccounts','SMS.SMSACCOUNTS','apps.sms.realtime','OPENCHANNEL.OPENCHANNEL','apps.openchannel.openchannelQueues','OPENCHANNEL.OPENCHANNELQUEUES','apps.openchannel.openchannelAccounts','OPENCHANNEL.OPENCHANNELACCOUNTS','apps.openchannel.realtime','OPENCHANNEL.REALTIME','apps.fax','apps.fax.faxQueues','FAX.FAXQUEUES','apps.fax.faxAccounts','FAX.FAXACCOUNTS','apps.fax.realtime','FAX.REALTIME','apps.tools','Tools','TOOLS.TOOLS','apps.tools.cannedAnswers','TOOLS.CANNEDANSWERS','TOOLS.DISPOSITIONS','app.tools.dispositions','apps.tools.customDashboards','TOOLS.CUSTOMDASHBOARDS','apps.tools.intervals','apps.tools.pauses','TOOLS.PAUSES','apps.tools.schedules','TOOLS.SOUNDS','apps.tools.tags','TOOLS.TAGS','app.tools.tags','TOOLS.TEMPLATES','apps.tools.triggers','apps.tools.trunks','TOOLS.TRUNKS','apps.tools.variables','TOOLS.VARIABLES','apps.callysquare','CALLYSQUARE.CALLYSQUARE','app.callysquare.odbcs','apps.callysquare.squareRecordings','CALLYSQUARE.SQUARERECORDINGS','apps.analytics','ANALYTICS.ANALYTICS','icon-chart-line','ANALYTICS.METRICS','ANALYTICS.EXTRACTEDREPORTS','apps.analytics.reports','ANALYTICS.REPORTS','apps.integrations','icon-heart','apps.integrations.zendeskAccounts','INTEGRATIONS.SALESFORCEACCOUNTS','apps.integrations.freshdeskAccounts','INTEGRATIONS.FRESHDESKACCOUNTS','apps.integrations.sugarcrmAccounts','INTEGRATIONS.SUGARCRMACCOUNTS','apps.integrations.deskAccounts','INTEGRATIONS.DESKACCOUNTS','INTEGRATIONS.ZOHOACCOUNTS','INTEGRATIONS.VTIGERACCOUNTS','apps.integrations.dynamics365Accounts','INTEGRATIONS.DYNAMICS365ACCOUNTS','apps.integrations.servicenowAccounts','INTEGRATIONS.SERVICENOWACCOUNTS','apps.integrations.freshsalesAccounts','INTEGRATIONS.FRESHSALESACCOUNTS','SETTINGS.SETTINGS','apps.settings.generals','app.settings.smtps','apps.settings.networks','SETTINGS.NETWORKS','apps.settings.customizations','Customizations','SETTINGS.CUSTOMIZATIONS','apps.settings.cloudProviders','SETTINGS.AITOOLS','app.settings.cloudProviders','SETTINGS.UPDATES','apps.settings.license','SETTINGS.LICENSE','apps.settings.system','SETTINGS.SYSTEM','apps.motiondialer','MotionDialer','MOTIONDIALER.MOTIONDIALER','icon-fire','apps.motiondialer.queueCampaigns','MOTIONDIALER.QUEUECAMPAIGNS','apps.motiondialer.ivrCampaigns','MOTIONDIALER.IVRCAMPAIGNS','apps.motiondialer.realtime','MOTIONDIALER.REALTIME','apps.help','HELP.HELP','icon-help','apps.help.about','About','JSCRIPTY.JSCRIPTY','apps.jscripty.projects','JSCRIPTY.PROJECTS','apps.marketplace','MARKETPLACE.MARKETPLACE','icon-cart','apps.marketplace.plugins','MARKETPLACE.PLUGINS','apps.video','Video','VIDEO.VIDEO','apps.video.screenRecordings','VIDEO.SCREENRECORDINGS','apps.whatsapp','WHATSAPP.WHATSAPP','apps.whatsapp.whatsappQueues','WHATSAPP.WHATSAPPQUEUES','WHATSAPP.WHATSAPPACCOUNTS','apps.whatsapp.realtime','WHATSAPP.REALTIME','Home','apps.home.dashboard','Dashboard','DASHBOARDS.DASHBOARD','cyan-500-fg','DASHBOARDS.CONTACTS','apps.home.mycontacts','DASHBOARDS.MYCONTACTS','mycontacts','red-fg','apps.home.scheduled','Scheduled\x20Calls','DASHBOARDS.SCHEDULED_CALLS','scheduled','icon-calendar-clock','apps.home.voice','DASHBOARDS.VOICE','blue-A700-fg','apps.home.abandoned','icon-phone-missed','blue-fg','apps.home.recordings','Recordings','DASHBOARDS.RECORDINGS','recordings','icon-audiobook','apps.home.chat','DASHBOARDS.CHAT','green-A700-fg','apps.home.mail','DASHBOARDS.MAIL','apps.home.sms','apps.home.openchannel','DASHBOARDS.OPENCHANNEL','amber-fg','DASHBOARDS.FAX','blue-grey-A200-fg','apps.home.whatsapp','DASHBOARDS.WHATSAPP','$viewContentAnimationEnded','$id','msScrollOptions','dashboard:save','dashboard:update','plugin:save','plugin:remove','motion.folded','defaultHeaderWhiteLabel','xCALLY\x20Motion','apps.dashboards.custom_','PLUGINS.PLUGINS','bodyEl','ms-navigation-horizontal-mobile-menu-active','unreadTotalMessages','userIsNotPhonebar','onMessageUpdate','chatInternalMessage:save','FromId','getGroups','getUnread','unreadTotalGroupMessages','ToId','ChatGroupId','chatInternalMessage:update','ChatInternalController','standardDate','unreadMessage','replyMessage','toggleChat','onUserUpdate','countBy','lastMessageAt','allowmessenger','QUICKPANEL.WARNING','QUICKPANEL.MESSENGER_DISABLED','#chat-dialog','members','CreateOrEditChatGroupDialogController','QUICKPANEL.EDIT_CHATGROUP','newChatGroup','QUICKPANEL.NEW_CHATGROUP','saveChatGroup','querySearch','Group\x20properly\x20saved!','ChatGroupController','groups','participants','back','addGroup','deleteGroup','groupsToArray','showMessageInfo','quick-panel','unreadGroupMessages','ShowMessageInfoDialogController','id,name,fullname,userpic','ChatInternalMessageId','addMessage','#chat-group-dialog','write','membersByKeys','Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20group?','Group\x20','delete\x20Group','Group\x20properly\x20deleted!','app/quick-panel/tabs/groups/create/dialog.html','ResetPasswordController','gdpr','RESETPASSWORD.PASSWORD_RESET_MESSAGE','RESETPASSWORD.PASSWORD_RESET_ERROR','changePasswordForm','api.user.changePassword','PreviewDialogController','customFieldsMap','hopperIds','originatePreview','nextContact','isHiddenField','facebook','skype','viber','line','telegram','Contact\x20not\x20available','getVoiceQueuesPreview','disableGetContact','PREVIEW','CAMPAIGN\x20NOT\x20ACTIVE','api\x20preview','getPreview','PREVIOUS\x20CONTACTS\x20NOT\x20AVAILABLE','CONTACTS\x20NOT\x20AVAILABLE.\x20REWINDING\x20THE\x20LIST','next','global','contcts','asterisk','Motion\x20WebRTC\x20Bar\x200.2.0','userStatusOptions','Online','icon-checkbox-marked-circle','#4CAF50','Away','#FFC107','Do\x20not\x20Disturb','#F44336','Invisible','icon-checkbox-blank-circle-outline','#BDBDBD','languages','TOOLBAR.ARABIC','TOOLBAR.ENGLISH','TOOLBAR.SPANISH','TOOLBAR.PERSIAN','Finnish','TOOLBAR.FRENCH','Hebrew','TOOLBAR.INDONESIAN','TOOLBAR.JAPANESE','TOOLBAR.NORWEGIAN','TOOLBAR.POLISH','Portuguese','TOOLBAR.PORTUGUESE','TOOLBAR.TURKISH','ChineseSimplified','TOOLBAR.CHINESESIMPLIFIED','ChineseTraditional','TOOLBAR.CHINESETRADITIONAL','toggleSidenav','changeLanguage','setUserStatus','toggleMsNavigationFolded','searchResultClick','openSettings','onUserCalled','getLogo','onVoiceQueue','md5secret','phoneBarEnableRecording','phoneBarAutoAnswer','enableSettings','phoneBarEnableSettings','phoneBarEnableDtmfTone','phoneBarAutoAnswerDelay','userStatus','selectedLanguage','SYSTEM:GETPAUSES','getAuthenticationType','passwordResetAt','passwordExpiresDays','isAfter','user:called','onInternalMessageSave','onInternalMessageUpdate','notification:send','SYSTEM:PAUSEUSER','CONTACT\x20NOT\x20AVAILABLE','Motion\x20supports\x20multiple\x20translations\x20through\x20angular-translate\x20module,\x20but\x20currently\x20we\x20do\x20not\x20support\x20the\x20selected\x20language.\x20If\x20you\x20want\x20to\x20help\x20us,\x20send\x20us\x20a\x20message.','','','TOOLBAR.CHANGE_LANGUAGE_TITLE','TOOLBAR.CHANGE_LANGUAGE_MESSAGE','ChangePasswordController','app/toolbar/changepassword/changepassword.html','isBoolean','TOOLBAR.SOMEONE_LOGGED_YOU_OUT','TOOLBAR.STAY_LOGGED','Logout','queueLogin','WebRTC\x20Popup','
\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Queue:\x20','
\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Extra:\x20','extravar','Not\x20defined','
\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','headerWhiteLabel','getOpenContacts','onForceLogout\x20->\x20data','escapeToClose','TOOLBAR.USER_FORCE_LOGOUT','recipient','TOOLBAR.NOTIFICATION_TITLE','sender','beep','user:forcelogout','api/square/projects/','/api/variables','/assets/plugins/square/stencils','/assets/plugins/square/shapes','/assets/plugins/square/images','/assets/plugins/square/styles','api/square/projects/open','/assets/plugins/square/templates','/assets/plugins/square/resources','/grapheditor','cookie','=([^;]+)','2.0.0.0','MSIE\x206','documentMode','Mozilla/','Opera/','Presto/2.3.','Presto/2.2.','Presto/2.1.','Presto/2.0.','Presto/1.','AppleWebKit/','Chrome/','Firefox/','Firefox/1.','Iceweasel/1.','Iceweasel/2.','SeaMonkey/1.','Seamonkey/','Iceape/','Galeon/','Epiphany/','Gecko/','Firefox/2.','Camino/1.','Epiphany/2.','appName','MACINTOSH','IPAD','IPOD','IPHONE','ANDROID','http://','IS_VML','IS_SVG','IS_IE6','','link','rel','charset','text/css','getElementsByTagName','\x0a','previousSibling','getTextContent',''','<','>',' ','tagUrn','innerHTML','serializeToString','outerHTML','createTextNode','/transparent.gif\x27,\x20sizingMethod=\x27scale\x27)','execute','textDecoration','underline','pointer','paddingLeft','offsetTop','PrivilegeManager','enablePrivilege','UniversalXPConnect','Permission\x20to\x20read\x20file\x20denied.','classes','@mozilla.org/file/local;1','createInstance','interfaces','nsILocalFile','initWithPath','File\x20not\x20found.','@mozilla.org/scriptableinputstream;1','nsIScriptableInputStream','Scripting.FileSystemObject','OpenTextFile','readAll','security','Permission\x20to\x20write\x20file\x20denied.','@mozilla.org/network/file-output-stream;1','flush','CreateTextFile','Write','Close','contentDocument','Permission\x20to\x20save\x20document\x20denied.','contentWindow','clipboardData','setData','@mozilla.org/widget/clipboard;1','nsIClipboard','addDataFlavor','text/unicode','@mozilla.org/supports-string;1','kGlobalClipboard','simulate','onreadystatechange','readyState','\x20=\x20[null]\x0a','\x20=>\x20[Function]\x0a','getFunctionName','\x20=>\x20[','\x20=\x20','abs','sin','sqrt','atan2','ceil','cos','toRadians','getRotatedPoint','getValue','STYLE_PORT_CONSTRAINT','DIRECTION_MASK_NONE','DIRECTION_MASK_NORTH','DIRECTION_WEST','DIRECTION_MASK_WEST','DIRECTION_SOUTH','DIRECTION_MASK_SOUTH','DIRECTION_MASK_EAST','absolutePoints','ptSegDistSq','getCenterY','STYLE_STARTSIZE','offsetParent','offsetLeft','getScrollOrigin',']+$','rtrim','animateChanges','alpha(opacity=','opacity',':image','borderStyle','border','create','PATH_SEPARATOR','compare','beginUpdate','setStyle','endUpdate','getStyle','ALIGN_CENTER','ALIGN_RIGHT','ALIGN_MIDDLE','DEFAULT_FONTFAMILY','div','lineHeight','LINE_HEIGHT','nowrap','IS_QUIRKS','inline','inline-block','offsetWidth','getModel','getRoot','setEventsEnabled','drawPane','overlayPane','DIALECT_SVG','createElementNS','NS_SVG','canvas','cloneNode','getTranslate','encode','destroy','PAGE_FORMAT_A4_PORTRAIT','getGraphBounds','','base','styleSheets','cssText','','','','DIV','getOuterHtml','','','print','460px','pre','Popup\x20Window','setClosable','
\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.code}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20Your\x20request\x20has\x20been\x20received\x20and\x20will\x20be\x20processed\x20shortly.\x0a','\x20\x20\x20\x20\x20\x20\x20\x20Sorry\x20for\x20the\x20inconvenience.\x20If\x20you\x20have\x20any\x20questions\x20or\x20concerns,\x20please\x20do\x20not\x20hesitate\x20to\x20contact\x20us.\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-placeholder=\x22FORGOTPASSWORD.EMAIL_ADRESS\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-pattern=\x22/^.+@.+\x5c..+$/\x22\x20required>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Email\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Email\x20must\x20be\x20a\x20valid\x20e-mail\x20address\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SEND\x20RESET\x20LINK\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Go\x20back\x20to\x20login\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20-->','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Username\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Password\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Forgot\x20Password?\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20LOG\x20IN\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OR\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ReportName\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ReportName\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ExtractedReports\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Back\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedExtractedReports.length}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20selected\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Select\x20all\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Select\x20none\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27ANALYTICS.ID\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27ANALYTICS.REPORTNAME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27ANALYTICS.NAME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27ANALYTICS.TYPE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27ANALYTICS.DATE_RANGE_FROM\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27ANALYTICS.DATE_RANGE_TO\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27ANALYTICS.GENERATED_AT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27ANALYTICS.STATUS\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27ANALYTICS.OUTPUT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22id\x20\x22\x20>{{extractedReport.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{extractedReport.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22type\x20\x22\x20>{{extractedReport.type}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{extractedReport.startDate\x20|\x20date:\x27medium\x27\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{extractedReport.endDate\x20|\x20date:\x27medium\x27\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22createdAt\x20\x22>{{extractedReport.createdAt\x20|\x20date:\x27medium\x27\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{extractedReport.status}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22output\x20\x22\x20>{{extractedReport.output}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20ExtractedReport\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Download\x20ExtractedReport\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20ExtractedReport\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent\x20Report\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Call\x20Report\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Chat\x20Messages\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Chat\x20Offline\x20Messages\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Chat\x20Queues\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Chat\x20Report\x20Queue\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Chat\x20Report\x20Transfer\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Companies\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Contacts\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CSquare\x20Details\x20Report\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Dial\x20Report\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Dialer\x20Hopper\x20Processing\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Dialer\x20Hopper\x20Final\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Email\x20Account\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Email\x20Interaction\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Email\x20Messages\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Email\x20Queues\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Email\x20Report\x20Transfer\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Fax\x20Interaction\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Fax\x20Messages\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Fax\x20Queues\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Fax\x20Report\x20Queue\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Fax\x20Report\x20Transfer\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Jscripty\x20Questions\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Lists\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Member\x20Report\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Openchannel\x20Account\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Openchannel\x20Interaction\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Openchannel\x20Messages\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Openchannel\x20Queues\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Openchannel\x20Report\x20Queue\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Openchannel\x20Report\x20Transfer\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SMS\x20Messages\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SMS\x20Report\x20Queue\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>SMS\x20Report\x20Transfer\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Users\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Whatsapp\x20Account\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Whatsapp\x20Interaction\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Whatsapp\x20Messages\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Whatsapp\x20Report\x20Transfer\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Table\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Metric\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Metric\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22metricForm.$invalid\x20||\x20metricForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22ANALYTICS.SAVE\x22\x20translate-attr-aria-label=\x22ANALYTICS.SAVE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22ANALYTICS.ADD_METRIC\x22\x20translate-attr-aria-label=\x22ANALYTICS.ADD_METRIC\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20METRIC\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Metrics\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27ANALYTICS.TABLE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27ANALYTICS.DESCRIPTION\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{metric.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{metric.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.arraytable[metric.table].option\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22description\x20\x22\x20>{{metric.description}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22ANALYTICS.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Metric\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20Copy\x20Report\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Select\x20Node\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20COPY\x20REPORT\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{table.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{table.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20states\x20matching\x20\x22{{vm.searchText}}\x22\x20were\x20found.\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{table.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{field}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{join.value}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20REPORT\x0a','app/main/apps/analytics/views/reports/edit/condition/group.html','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AND\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OR\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Operator\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27ANALYTICS.GROUP\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{column}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{field}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Column\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CONDITION\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Condition\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20VALUE\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Value\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20
\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Select\x20a\x20column\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Write\x20a\x20custom\x20metric\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Column\x20Name\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{field}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Metric\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Custom\x20Metric\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Custom\x20Metric\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Alias\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Group\x20By\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{gb.value\x20?\x20\x27Yes\x27\x20:\x20\x27No\x27}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Order\x20By\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{ob.value}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20REPORT\x20FIELD\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.report.id}}\x20{{vm.report.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.report.createdAt\x20|\x20date:\x27medium\x27}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20
\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GENERAL
\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20FIELDS\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20FIELDS\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TABLE\x20{{vm.report.table}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Join\x20{{\x20vm.mapArray(vm.report.joins,\x20\x27foreignTable\x27)\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm_rf.selectedReportFields.length}}\x20{{vm_rf.selectedReportFields.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Alias\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Function\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Format\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Group\x20By\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Order\x20By\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{reportField.MetricId\x20?\x20vm_rf.getMetricName(reportField.MetricId)\x20:\x20reportField.field}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{reportField.alias}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{reportField.format}}--\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YES--\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{reportField.orderBy}}--\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Field\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Field\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CONDITIONS\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CONDITION\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PREVIEW\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ERROR\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20LIMITED\x20RESULT\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Query\x20Error\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
{{vm.error.sql}}
\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Message\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.valueReplacer(key,\x20value)\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NO\x20DATA\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SQL\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
{{vm.error.msg}}
\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ERROR\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Query\x20Error\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
{{vm.error.sql}}
\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
{{vm.error.msg}}
\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{column.alias\x20||\x20column.field}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Reports\x0a','\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedReports.length}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.currentNode.text}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.currentPath}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-label=\x22ANALYTICS.ADD_REPORT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27ANALYTICS.ID\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27ANALYTICS.NAME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27ANALYTICS.DESCRIPTION\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27ANALYTICS.CREATED_AT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22id\x22>{{report.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{report.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22description\x22>{{report.description}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22createdAt\x22>{{report.createdAt\x20|\x20date:\x27medium\x27}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22ANALYTICS.COPY_REPORT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Copy\x20Report\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22ANALYTICS.PREVIEW_REPORT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Preview\x20Report\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22ANALYTICS.RUN_REPORT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Run\x20Report\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Download\x20Json\x20Report\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Report\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Report\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','app/main/apps/analytics/views/reports/run/dialog.html','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Run\x20Report\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20FORMAT\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CSV\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Excel\x20(XLSX)\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Web\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Format\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Date\x20Range\x20From\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Date\x20Range\x20From\x20field\x20is\x20invalid\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Date\x20Range\x20From\x20Max\x20field\x20is\x20invalid\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Date\x20Range\x20From\x20field\x20is\x20invalid\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Date\x20Range\x20From\x20Min\x20field\x20is\x20invalid\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Time\x20Range\x20From\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Time\x20Range\x20From\x20field\x20is\x20invalid\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Time\x20Range\x20From\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Time\x20Range\x20From\x20field\x20is\x20invalid\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20REFRESH\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Web\x20Report\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Message\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NO\x20DATA\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DSN\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','app/main/apps/callysquare/views/odbcs/odbcs.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Back\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedODBC.length}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22CALLYSQUARE.MULTI_SELECT_TOGGLE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CALLYSQUARE.ID\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CALLYSQUARE.NAME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{odbc.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{odbc.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22dsn\x20\x22\x20>{{odbc.dsn}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22description\x20\x22\x20>{{odbc.description}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22CALLYSQUARE.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22CALLYSQUARE.EDIT_ODBC\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Odbc\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Test\x20Odbc\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Odbc\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20must\x20be\x20valid\x20pattern\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20PROJECT\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{attribute.name\x20\x20|\x20ucfirst\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-\x20None\x20-\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{v.option}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20{{attribute.name}}\x20available!\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{v.option}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{v.option}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20Drop\x20to\x20upload\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CLOSE\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a','\x20\x20\x20\x20\x20\x20\x20\x20Description\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20UPDATE\x0a','app/main/apps/callysquare/views/projects/edit/open/open.html','\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20Project\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OPEN\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Add\x20User\x20Permissions\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','app/main/apps/callysquare/views/projects/edit/saveAs/saveAs.html','\x20\x20\x20\x20\x20\x20\x20\x20Name\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20COPY\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.project.id}}\x20{{vm.project.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.project.description}}\x20\x20-\x20\x20{{vm.project.createdAt\x20|\x20date:\x27medium\x27}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Projects\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedProjects.length}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20selected\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CALLYSQUARE.ID\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CALLYSQUARE.NAME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CALLYSQUARE.DESCRIPTION\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CALLYSQUARE.NOTES\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{project.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{project.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{project.description}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Project\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Filename\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Filename\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20SQUARERECORDING\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SquareRecordings\x0a','\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedSquareRecordings.length}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20selected\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22CALLYSQUARE.DELETE_SELECTED\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CALLYSQUARE.FILENAME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CALLYSQUARE.PROJECT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CALLYSQUARE.UNIQUEID\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CALLYSQUARE.PHONE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CALLYSQUARE.EXTEN\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CALLYSQUARE.CREATED_AT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{squareRecording.filename}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{squareRecording.projectName}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22uniqueid\x20\x22\x20>{{squareRecording.uniqueid}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22callerid\x20\x22\x20>{{squareRecording.callerid}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22extension\x20\x22\x20>{{squareRecording.extension}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.CANT_PLAY_GSM_AUDIO_FILES\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{squareRecording.createdAt\x20|\x20date:\x27medium\x27\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Download\x20SquareRecording\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20SquareRecording\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ChatQueues\x0a','\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Back\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedChatQueues.length}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20selected\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22CHAT.MULTI_SELECT_TOGGLE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22CHAT.DELETE_SELECTED\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.ID\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{chatQueue.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{chatQueue.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.arraystrategy[chatQueue.strategy].option\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22CHAT.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20ChatQueue\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20ChatQueue\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20goToRealtime\x20ChatQueue\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20must\x20be\x20valid\x20pattern\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RR\x20Memory\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Strategy\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent_Timeout\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent_Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent_Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x202147483\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Teams\x20Association\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.chatQueue.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.chatQueue.createdAt\x20|\x20date:\x27medium\x27}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SETTINGS\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GENERAL\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Strategy\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Beepall\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent_Timeout\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','app/main/apps/chat/views/chatWebsites/chatWebsites.html','\x0a','\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedChatWebsites.length}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.NAME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.KEY\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.MOTIONADDRESS\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.MOTIONPROXY\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.DESCRIPTION\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22id\x20\x22\x20>{{chatWebsite.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{chatWebsite.key}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22address\x20\x22\x20>{{chatWebsite.address}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22remote\x20\x22\x20>{{chatWebsite.remote}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22description\x20\x22\x20>{{chatWebsite.description}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20ChatWebsite\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Interactions\x20ChatWebsite\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AgentAdd\x20ChatWebsite\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','app/main/apps/chat/views/chatWebsites/create/dialog.html','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20key\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20key\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20key\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x205\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MotionAddress\x20must\x20be\x20a\x20valid\x20url\x20http://www.xcally.com\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MotionProxy\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MotionProxy\x20must\x20be\x20a\x20valid\x20url\x20http://www.xcally.com\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MotionProxy\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20ListId.name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Interval\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Always\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20IntervalId.name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Add\x20Agent\x20to\x20chatWebsite\x0a','app/main/apps/chat/views/chatWebsites/edit/apps/agent/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20agent.name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Timeout\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Timeout\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x202147483\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22chatWebsiteFormApp.$invalid\x20||\x20chatWebsiteFormApp.$pristine\x22\x0a','app/main/apps/chat/views/chatWebsites/edit/apps/amazonlex/dialog.html','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20accesskeyid\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20secretaccesskey\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20lexregion\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20US\x20East\x20(N.\x20Virginia)\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EU\x20(Ireland)\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Asia\x20Pacific\x20(Sydney)\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20lexregion\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20welcomemessage\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20times\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20One\x20Time\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20times\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Text\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','app/main/apps/chat/views/chatWebsites/edit/apps/close/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Disposition\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','app/main/apps/chat/views/chatWebsites/edit/apps/dialogflow/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Key\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Key\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20language\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20English\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Italian\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Spanish\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>French\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Indonesian\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Japanese\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Korean\x20(South\x20Korea)\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Dutch\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Norwegian\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Portuguese\x20(European)\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Portuguese\x20(Nrazilian)\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Russian\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Swedish\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Ukrainian\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Chinese\x20(Simplified)\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Chinese\x20(Hong\x20Kong)\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Chinese\x20(Traditional)\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20welcomemessage\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','app/main/apps/chat/views/chatWebsites/edit/apps/gotoif/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Condition\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Condition\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20truepriority\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20falsepriority\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20falsepriority\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a','app/main/apps/chat/views/chatWebsites/edit/apps/gotop/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Priority\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Priority\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Priority\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a','app/main/apps/chat/views/chatWebsites/edit/apps/interval/dialog.html','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20type\x20|\x20ucfirst\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Intervals\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20interval.name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Time\x20Range\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Time\x20Range\x20From\x20field\x20is\x20invalid\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Time\x20Range\x20To\x20field\x20is\x20invalid\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Time\x20Range\x20To\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Week\x20Days\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20From\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Always\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20day.value\x20|\x20ucfirst\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20To\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20month\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Time\x20Range\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20month.value\x20|\x20ucfirst\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20INTERVAL\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Value\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Value\x20field\x20is\x20required\x0a','app/main/apps/chat/views/chatWebsites/edit/apps/queue/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Queue\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Command\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Command\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Variable\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20None\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20variable.name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Variable\x20field\x20is\x20required\x0a','app/main/apps/chat/views/chatWebsites/edit/apps/tag/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Tag\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Tag\x20field\x20is\x20required\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20CHATCANNEDANSWER\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22chatDispositionForm.$invalid\x20||\x20chatDispositionForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20CHATDISPOSITION\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.MOUSEOVER\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.TIMEOUT\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Selector\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Selector\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20CHATPROACTIVEACTION\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.chatWebsite.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.chatWebsite.createdAt\x20|\x20date:\x27medium\x27}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22md-fab\x20md-warn\x20md-icon-button\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MotionAddress\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MotionAddress\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WaitForTheAssignedAgent\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WaitForTheAssignedAgent\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WaitForTheAssignedAgent\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WaitForTheAssignedAgent\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x202147483\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NOTIFICATION\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20notificationShake\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20notificationTemplate\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TRANSFER\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20queueTransfer\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20queueTransferTimeout\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20queueTransferTimeout\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20queueTransferTimeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20queueTransferTimeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x202147483\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20agentTransfer\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20agentTransferTimeout\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20agentTransferTimeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20agentTransferTimeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x202147483\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADVANCED\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x20\x20SCRIPT\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Motion\x20Proxy\x20must\x20be\x20a\x20valid\x20url\x20e.g.:\x20http://www.xcally.com\x0a','\x20\x20\x20\x20\x20\x20\x20\x20WebsiteScript\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20INTERVAL\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Interval\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Timezone\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Timezone\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DISPOSITION\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MandatoryDispositionPauseId\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22mandatoryDispositionPauseId.canSelect\x20===\x20false\x22>{{\x20mandatoryDispositionPauseId.name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MandatoryDispositionPauseId\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SNIPPET\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fontSize\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.SQUARED\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20headershape\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20showCustomerAvatar\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20snippetSwipeOut\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.BOTTOM_RIGHT\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.RIGHT\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20snippetSwipeOut\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20verticalPosition\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20verticalPosition\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20verticalPosition\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20messagesAlignment\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.ALTERNATE\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27CHAT.CENTERED\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20messagesAlignment\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20defaultTitle\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20defaultTitle\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20defaultTitle\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20header_online\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20header_online\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20start_chat_button\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20start_chat_button\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hideWhenOffline\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20header_offline\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20header_offline\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20header_offline\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20offline_chat_button\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20offline_chat_button\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20offlineMessageSubject\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20offlineMessageSubject\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20offlineMessageBody\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20offlineMessageBody\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CLOSINGFORM\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20closingMessage\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20closingMessage\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20skipMessageButton\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20skipMessageButton\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20enableRating\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ratingType\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Star\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ratingType\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ratingStarsNumber\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ratingStarsNumber\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ratingStarsNumber\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x202\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ratingStarsNumber\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x205\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20enableFeedback\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20feedbackTitle\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20forwardTranscript\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20forwardTranscriptMessage\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20forwardTranscriptMessage\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20closingMessageButton\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20UNMANAGEDSTATUS\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20enableUnmanagedNote\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20unmanagedMessage\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20unmanagedMessage\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20skipUnmanaged\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20skipUnmanaged\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20skipUnmanaged\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20sendUnmanaged\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20sendUnmanaged\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20noteTitle\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20agentIdentifier\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.WEBSITEALIAS\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.AGENTALIAS\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20agentIdentifier\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20customerAlias\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20customerAlias\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20messageFontSize\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20messageFontSize\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20messageFontSize\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20messageFontSize\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x2020\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WebsiteAlias\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WebsiteAlias\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20closingQuestion\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20closingQuestion\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20formSubmitSuccessMessage\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20formSubmitSuccessMessage\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20formSubmitFailureMessage\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20formSubmitFailureMessage\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20waitingTitle\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20waitingTitle\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20waitingMessage\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20waitingMessage\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20placeholderMessage\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20placeholderMessage\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20placeholderMessage\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20downloadTranscript\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20enableSendButton\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20enableCustomerCheckmarks\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20systemAlias\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20systemAlias\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WHITELABEL\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20default\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20whiteLabel\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20whiteLabel\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20whiteLabel\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Drop\x20to\x20upload\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Upload\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20You\x20can\x20also\x20drop\x20images\x20here\x20to\x20upload.\x20Only\x20PNG,\x20JPG\x20-\x20Max.\x208MB\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20AGENTAVATAR\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20CUSTOMERAVATAR\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20SYSTEMAVATAR\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ONLINE\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20BUILDER\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20None\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20field.value\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20FromKey\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20None\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20item.props.title\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{item.props.title\x20||\x20item.type}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{item.props.title\x20||\x20item.type}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Variable\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20None\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20field.value\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20field.value\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PREVIEW\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{button.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20forwardOffline\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20FORWARD\x20OFFLINE\x20ADDRESS\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20forwardOffline\x20must\x20be\x20a\x20valid\x20e-mail\x20address\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MapKey\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20field.value\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20item.props.title\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Contact\x20Manager\x20Field\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PROACTIVEACTIONS\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20ProactiveActions\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20chatProactiveAction\x22\x20translate\x20translate-attr-label=\x22CHAT.ADD_CHATPROACTIVEACTION\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20{{vm_dc.selectedChatWebsiteProactiveActions.length}}\x20{{vm_dc.selectedChatWebsiteProactiveActions.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.NAME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.TYPE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.SELECTOR\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{chatProactiveAction.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{chatProactiveAction.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.\x27\x20+\x20vm_dc.arraytype[chatProactiveAction.type].option\x20|\x20uppercase\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{chatProactiveAction.selector}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20chatProactiveAction.createdAt\x20|\x20formatdate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20ChatProactiveAction\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20ChatProactiveAction\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20chatproactiveaction\x20available\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20{{vm_dc.selectedChatWebsiteChatDispositions.length}}\x20{{vm_dc.selectedChatWebsiteChatDispositions.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{chatDisposition.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{chatDisposition.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20ChatDisposition\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20chatdisposition\x20available\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CANNEDANSWERS\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x20\x20ChatCannedAnswers\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20{{vm_dc.selectedChatWebsiteChatCannedAnswers.length}}\x20{{vm_dc.selectedChatWebsiteChatCannedAnswers.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.ID\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.KEY\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.VALUE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.DESCRIPTION\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.CREATED_AT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{chatCannedAnswer.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{chatCannedAnswer.value}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20chatCannedAnswer.createdAt\x20|\x20formatdate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20ChatCannedAnswer\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20ChatCannedAnswer\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20chatcannedanswer\x20available\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vidaooApiKey\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ACTIONS\x0a','\x20\x20\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Applications\x20List\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20{{a.alias\x20||\x20a.appType}}

\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20{{vm_ac.selectedChatWebsiteApps.length}}\x20{{vm_ac.selectedChatWebsiteApps.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Priority\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Appdata\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Interval\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{app.priority}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{app.app.toLowerCase()\x20===\x20\x27agi\x27\x20?\x20\x27Cally-Square\x27\x20:\x20app.app\x20|\x20ucfirst}}*\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{app.appdata}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{app.IntervalId\x20?\x20\x27From\x20List\x27\x20:\x20app.interval}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Interval\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20App\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20apps\x20available\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x0a','\x0a','\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20INTERACTIONS\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x20\x20Interactions\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20{{vm_dc.selectedChatWebsiteInteractions.length}}\x20{{vm_dc.selectedChatWebsiteInteractions.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.CONTACT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.LASTMESSAGE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.STATUS\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','ng-class=\x22{\x27text-bold\x20text-italic\x27:\x20interaction.unreadMessages\x20>\x200}\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{interaction.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20user.fullname\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20,\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x200\x22\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20interaction.unreadMessages}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20{{\x20interaction.contactName\x20}}\x0a','\x20\x20\x20\x20{{\x20interaction.contactInfo\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20interaction.lastMsgAt\x20|\x20formatdate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-\x20{{\x20interaction.substatus\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.CLOSED\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-\x20{{\x20interaction.disposition\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{tag.name}},\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Spy\x20Interaction\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Download\x20with\x20attachments\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Download\x20without\x20attachments\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Interaction\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20{{vm_dc.selectedChatWebsiteOfflineMessages.length}}\x20{{vm_dc.selectedChatWebsiteOfflineMessages.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20OfflineMessage\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20offlinemessage\x20available\x0a','\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20Agents\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.ALL\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.PAUSE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.PARTIALPAUSE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.BUSY\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.IDLE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20All\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DEFAULT\x20PAUSE\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ACW\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20LOGININPAUSE\x0a','\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.AGENT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.VOICE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.CHAT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.MAIL\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.SMS\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27OPENCHANNEL.OPENCHANNEL\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27FAX.FAX\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.WHATSAPP\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.LOGIN_TIME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.PAUSE_TIME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.STATUS\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Info\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.STATUS\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.CAPACITY\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.STATUS\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.CAPACITY\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.STATUS\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27OPENCHANNEL.STATUS\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27OPENCHANNEL.CAPACITY\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27FAX.STATUS\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.STATUS\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.NO_AGENT_ONLINE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.agents[value].fullname}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.agents[value].internal}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.TOOLTIP_SCREENRECORDING_ON\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20days\x20>\x200\x20?\x20days\x20+\x20\x27d\x27\x20:\x20\x27\x27\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hhours}}:{{mminutes}}:{{sseconds}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20days\x20>\x200\x20?\x20days\x20+\x20\x27d\x27\x20:\x20\x27\x27\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.agents[value].voiceStatus\x20|\x20uppercase\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ONHOLD\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hhours}}:{{mminutes}}:{{sseconds}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.agents[value].chatStatus\x20|\x20uppercase\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.agents[value].chatCurrentCapacity\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27idle\x27:\x27lime-300-fg\x27,\x27maxcapacity\x27:\x27red-A200-fg\x27,\x27working\x27:\x27indigo-100-fg\x27,\x27pause\x27:\x27amber-200-fg\x27}[vm.agents[value].mailStatus]\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.agents[value].mailCurrentCapacity\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27idle\x27:\x27lime-300-bg\x27,\x27maxcapacity\x27:\x27red-A200-bg\x27,\x27working\x27:\x27indigo-100-bg\x27,\x27pause\x27:\x27amber-200-bg\x27}[vm.agents[value].openchannelStatus]\x22>{{\x20vm.agents[value].openchannelStatus\x20|\x20uppercase\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27idle\x27:\x27lime-300-bg\x27,\x27maxcapacity\x27:\x27red-A200-bg\x27,\x27working\x27:\x27indigo-100-bg\x27,\x27pause\x27:\x27amber-200-bg\x27}[vm.agents[value].faxStatus]\x22>{{\x20vm.agents[value].faxStatus\x20|\x20uppercase\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27idle\x27:\x27lime-300-fg\x27,\x27maxcapacity\x27:\x27red-A200-fg\x27,\x27working\x27:\x27indigo-100-fg\x27,\x27pause\x27:\x27amber-200-fg\x27}[vm.agents[value].faxStatus]\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.agents[value].faxCurrentCapacity\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.agents[value].whatsappCurrentCapacity\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22STAFF.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Logout\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Screen\x20Recording\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22CHAT.PAUSE\x22>Pause\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22CHAT.DEFAULT_PAUSE\x22>Default\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Pause\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{pause.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x0a','\x0a','','app/main/apps/chat/views/realtime/queues/view.html','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20Queues\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.NAME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.LOGGED_IN\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.PAUSED\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.READY\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.WAITING\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.queues[value].name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.queues[value].loggedInDb\x20||\x200}}\x20({{vm.queues[value].loggedIn\x20||\x200}})\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.queues[value].paused\x20||\x200}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.queues[value].available\x20||\x200}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.queues[value].waiting\x20||\x200}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Queue\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Add\x20Agents\x20to\x20queue\x0a','\x20\x20\x20\x20\x0a','\x0a','\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agents\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Queues\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20
\x0a','app/main/apps/contactmanager/views/companies/companies.html','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Back\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20selected\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CONTACTMANAGER.ID\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CONTACTMANAGER.NAME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CONTACTMANAGER.DESCRIPTION\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{company.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22name\x20\x22\x20>{{company.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{company.description}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Company\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Phone\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Phone\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Vat\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Vat\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Fax\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Fax\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CompanyId\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CompanyId\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Website\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Website\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Website\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Email_Domain\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Email_Domain\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Email\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Email\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Email\x20must\x20be\x20a\x20valid\x20e-mail\x20address\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a','app/main/apps/contactmanager/views/companies/edit/view.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.company.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.company.createdAt\x20|\x20date:\x27medium\x27}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GENERAL\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADDRESS\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADDRESS\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Street\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Postal_Code\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Postal_Code\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20City\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20City\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Country\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SHIPMENTADDRESS\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Street\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Country\x20field\x20is\x20required\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20selected\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CONTACTMANAGER.ALL_CONTACTS\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Select\x20a\x20list\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{list.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Select\x20a\x20company\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Select\x20one\x20or\x20more\x20tags\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ID\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27CONTACTMANAGER.FULLNAME\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27CONTACTMANAGER.EMAIL\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27CONTACTMANAGER.CREATED_AT\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27CONTACTMANAGER.COMPANY\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27CONTACTMANAGER.TAGS\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{contact.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{contact.firstName}}\x20{{contact.lastName}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{contact.phone}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{contact.email}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{contact.createdAt\x20|\x20date:\x27medium\x27}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.listsMap[contact.ListId]}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.companiesMap[contact.CompanyId]}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{contact.Tags[0].name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{tag.name}},\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Contact\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Merge\x20Contact\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Contact\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20flow-files-submitted=\x22$flow.upload()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20flow-file-added=\x22vm.fileAdded($file)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22Select\x20File\x22\x20translate\x20translate-attr-aria-label=\x22CONTACTMANAGER.IMPORT_CONTACTS\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27CONTACTMANAGER.ADD_CONTACT\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20First\x20name\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20First\x20name\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Last\x20name\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Mobile\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{list.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{value.value}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{customField.alias}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Company\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Postal\x20Code\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Notes\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20CONTACT\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{list.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','app/main/apps/contactmanager/views/contacts/edit/hoppers/dialog.html','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Date\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Date\x20is\x20invalid\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Time\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20HOPPER\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','app/main/apps/contactmanager/views/contacts/edit/view.html','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.contact.id}}\x20{{vm.contact.firstName}}\x20{{vm.contact.lastName}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.contact.createdAt\x20|\x20date:\x27medium\x27}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Channels\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{channel.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DETAIL\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PERSONAL_INFO\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20First\x20Name\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20First\x20name\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Last\x20Name\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Phone\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Mobile\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Fax\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Date\x20of\x20Birth\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Company\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{company.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20None\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Tags\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{tag.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Tags\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Add\x20Tag\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20All\x20Fields\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Postal\x20Code\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Notes\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Fewer\x20Fields\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Social\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CUSTOM\x20FIELDS\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{list.id}}\x20-\x20{{list.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20None\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{value.value}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{customField.alias}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MOTION\x20BULL\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Hopper\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27CONTACTMANAGER.RELOAD\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CONTACTMANAGER.ID\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CONTACTMANAGER.PHONE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CONTACTMANAGER.SCHEDULEDAT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.PRIORITY\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CONTACTMANAGER.CAMPAIGNID\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hopper.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hopper.scheduledat\x20|\x20date:\x27medium\x27}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hopper.CampaignId}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Hopper\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Hopper\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Final\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CONTACTMANAGER.UNIQUEID\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CONTACTMANAGER.PHONE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CONTACTMANAGER.STARTTIME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CONTACTMANAGER.DISPOSITION\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{final.uniqueid}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{final.calleridnum}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{final.statedesc}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20History\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CONTACTMANAGER.STATE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CONTACTMANAGER.ENDTIME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{history.uniqueid}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{history.calleridnum}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{history.endtime\x20|\x20date:\x27medium\x27}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20JSCRIPTY\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Sessions\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CONTACTMANAGER.AGENT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CONTACTMANAGER.PROJECT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{session.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{session.endtime\x20|\x20date:\x27medium\x27}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{session.membername}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{session.projectname}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CUSTOMER\x20JOURNEY\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','app/main/apps/contactmanager/views/contacts/import/import.html','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Import\x20Contacts\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CONTACTMANAGER.NONE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Company\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{company.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20None\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CONTACTMANAGER.\x27\x20+\x20contactField.key\x20|\x20uppercase\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CONTACTMANAGER.NONE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27CONTACTMANAGER.UPLOAD_COMPLETED\x27\x20|\x20translate\x20|\x20uppercase}}\x20({{vm.result.elapsed}}s)
\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Success\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Failure\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Duplicates\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IMPORT\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20STOP\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27CONTACTMANAGER.EXPORT_ERRORS\x27\x20|\x20translate}}\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Filter\x20doesn\x27t\x20match\x20any\x20contact\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

#{{\x20contact.id\x20}}\x20-\x20{{\x20contact.firstName\x20}}\x20{{\x20contact.lastName\x20}}

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

{{\x20contact.email\x20}}

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

{{\x20contact.phone\x20}}

\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Alias\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Text\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Select\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Number\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Switch\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Datetime\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22globalCustomFieldForm.$invalid\x20||\x20globalCustomFieldForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GlobalCustomFields\x0a','\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedGlobalCustomFields.length}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CONTACTMANAGER.ALIAS\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CONTACTMANAGER.REQUIRED\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{globalCustomField.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{globalCustomField.alias}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22CONTACTMANAGER.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20globalCustomField\x22\x20translate\x20translate-attr-aria-label=\x22CONTACTMANAGER.ADD_GLOBALCUSTOMFIELD\x22>\x0a','app/main/apps/contactmanager/views/lists/create/dialog.html','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Add\x20Agent\x20to\x20list\x0a','app/main/apps/contactmanager/views/lists/edit/customFields/dialog.html','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20All\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Items\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.list.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.list.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GENERAL
\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Prefix\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x20\x20CustomFields\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20{{vm_dc.selectedListCustomFields.length}}\x20{{vm_dc.selectedListCustomFields.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CONTACTMANAGER.ID\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CONTACTMANAGER.ALIAS\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CONTACTMANAGER.TYPE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{customField.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{customField.alias}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm_dc.arraytype[customField.type].option\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20CustomField\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20CustomField\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20customfield\x20available\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DISPOSITIONS\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20{{vm_dc.selectedListVoiceDispositions.length}}\x20{{vm_dc.selectedListVoiceDispositions.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CONTACTMANAGER.NAME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CONTACTMANAGER.CREATED_AT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{voiceDisposition.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20voiceDisposition.createdAt\x20|\x20formatdate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20VoiceDisposition\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20VoiceDisposition\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20voicedisposition\x20available\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Lists\x0a','\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedLists.length}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22CONTACTMANAGER.MULTI_SELECT_TOGGLE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{list.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{list.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20List\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20goToContacts\x20List\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AgentAdd\x20List\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22CONTACTMANAGER.DELETE_LIST\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.customDashboard.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Filter\x20Voice\x20Queues\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20voiceQueue.name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27grey-50-bg\x27:\x20vm.isActiveTab(tab.id)}\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{tab.badges}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22vm.isActiveTab(tab.id)\x20?\x20\x27md-primary\x27\x20:\x20\x27grey-300-fg\x27\x22\x20aria-label=\x22close\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.closeTab(tab)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20ng-style=\x22{\x27top\x27:\x20vm.detectBrowser.browser\x20==\x20\x27safari\x27\x20?\x20\x27100px\x27\x20:\x20\x2736px\x27}\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20ng-include=\x22\x27app/main/apps/dashboards/views/general/agent/home/agent.general.home.html\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20ng-controller=\x22AgentGeneralHomeController\x20as\x20vm_home\x22\x20ng-init=\x22vm_home.init(vm.license,\x20vm.setting)\x22>\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-include=\x22\x27app/main/apps/dashboards/views/general/agent/jscripty/agent.general.jscripty.html\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-include=\x22\x27app/main/apps/dashboards/views/general/agent/interaction/agent.general.interaction.html\x27\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-controller=\x22AgentGeneralInteractionController\x20as\x20vm\x22\x20ng-init=\x22vm.init(tab,\x20$parent.vm.setting)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Waiting\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20We\x20are\x20loading\x20the\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20interaction...\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.tab.data.uniqueid}}\x20-\x20{{vm.tab.title}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20layout-wrap>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','app/main/apps/dashboards/views/general/agent/contact/agent.general.contact.html','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Detail\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20days\x20>\x200\x20?\x20days\x20+\x20\x27d\x27\x20:\x20\x27\x27\x20}}\x20{{hhours}}:{{mminutes}}:{{sseconds}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20call.routeId\x20?\x20call.destcalleridnum\x20:\x20call.calleridnum\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x27\x20&&\x20!call.routeId\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name:\x20{{\x20call.calleridname\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Extra:\x20{{call.variables.extravar}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27DASHBOARDS.DISPOSE\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27DASHBOARDS.ADD\x27|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27DASHBOARDS.SAVE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PERSONAL_INFO\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20First\x20Name\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20First\x20name\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{project.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Last\x20Name\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Phone\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{account.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20sms\x20accounts\x20available\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{account.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20whatsapp\x20accounts\x20available\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Email\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{account.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20email\x20accounts\x20available\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Fax\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20fax\x20accounts\x20available\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Date\x20of\x20Birth\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{company.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TAG\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{tag.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20City\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Street\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Postal\x20Code\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Social\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{customField.alias}}*\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Customer\x20Journey\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','app/main/apps/dashboards/views/general/agent/contact/dispose/dialog.html','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Dispositions\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20g.name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20gd.name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Note\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Date\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Date\x20is\x20invalid\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Time\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Time\x20is\x20invalid\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{(vm.choice\x20?\x20\x27DASHBOARDS.DISPOSE\x27\x20:\x20\x27DASHBOARDS.SAVE\x27)\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Reschedule\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Recall\x20Me\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Blacklist\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a','\x20\x20\x20\x20','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Date\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Date\x20is\x20invalid\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Time\x20is\x20invalid\x0a','app/main/apps/dashboards/views/general/agent/home/abandoned/agent.general.abandoned.html','\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20label=\x22{{\x27DASHBOARDS.MOTION_BULL\x27\x20|\x20translate}}\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x0a','app/main/apps/dashboards/views/general/agent/home/abandoned/bull/agent.general.abandoned.bull.html','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ABANDONED\x20QUEUE\x20CALLS\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20on-collapse=\x22vm_bull.onSearchBarCollapse()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20on-expand=\x22vm_bull.onSearchBarExpand()\x22\x20query=\x22vm_bull.query.filter\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.CLICKRELOAD\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.ID\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.FULLNAME\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.PHONE\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.QUEUE\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.QUEUECALLEREXITAT\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.QUEUECALLEREXITREASON\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.DISPOSITION\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.RESERVED\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.LASTASSIGNEDTO\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{abandonedCall.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm_bull.queuesMap[abandonedCall.queue]}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{abandonedCall.queuecallerexitreason}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{abandonedCall.disposition}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Dispose\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{disposition.name}}\x0a','\x20\x20\x20\x20\x0a','app/main/apps/dashboards/views/general/agent/home/abandoned/voice/agent.general.abandoned.voice.html','\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27h-128\x27\x20:\x20vm_voice.isSearchBarVisible\x20===\x20true}\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm_voice.refresh\x20&&\x20vm_voice.refreshAbandonedCalls($event)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.ABANDONAT\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20disabled=\x22abandonedCall.lastAssignedTo\x20!==\x20vm_voice.currentUser.name\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{abandonedCall.disposition}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-change=\x22vm_voice.reserved(abandonedCall,\x20abandonedCall.disposition)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{abandonedCall.lastAssignedTo}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-repeat=\x22disposition\x20in\x20vm_voice.disposition\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20','app/main/apps/dashboards/views/general/agent/home/agent.general.home.html','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22md-raised\x20width-50\x20height-50\x20no-margin\x22\x20style=\x22border-radius:\x200px\x22\x20aria-label=\x22{{button.state}}\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm_home.changeSidebarTab(button)\x22\x20ng-class=\x22{\x27md-primary\x27:\x20vm_home.sidebar\x20!=\x20button.state}\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-controller=\x22AgentHomeWhatsappController\x20as\x20vm\x22\x20ng-init=\x22vm.onInit(vm_home.license,\x20vm_home.setting)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{draft.title}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm_home.draftManager.remove(draft.id)\x22>\x0a','app/main/apps/dashboards/views/general/agent/home/agent.general.home.permissions.html','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20Use\x20the\x20left\x20sidebar\x20to\x20navigate\x20through\x20available\x20sections.\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','app/main/apps/dashboards/views/general/agent/home/chat/agent.general.chat.html','\x20\x20\x0a','\x20\x20\x20\x20\x20\x20Interactions\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x20\x27{{\x20vm.sectionColor\x20}}-fg\x20blink\x27:\x20vm.query.search\x20}\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.RELOAD\x27\x20|\x20translate}}\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.ID\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.CONTACT\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.STARTEDAT\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.AGENT\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.WEBSITE\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.TAGS\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Interaction\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{interaction.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20(u.id\x20==\x20vm.user.id)\x20?\x20\x27DASHBOARDS.ME\x27\x20:\x20u.fullname\x20|\x20translate\x20}},\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x200\x22\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{interaction.unreadMessages}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20interaction.contactInfo\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{interaction.createdAt\x20|\x20formatdate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{interaction.lastMsgAt\x20|\x20formatdate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{interaction.disposition}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{interaction.closedAt\x20|\x20formatdate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.getAgentLabel(interaction)\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{tag.name}},\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20Chat\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Download\x20with\x20attachments\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Download\x20without\x20attachments\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20Contacts\x0a','\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.ADVANCED_SEARCH\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-label=\x22DASHBOARDS.RELOAD\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.openContact($event)\x22\x20aria-label=\x22Add\x20contact\x22\x20translate\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-label=\x22DASHBOARDS.ADD_CONTACT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.ID\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.FULLNAME\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.PHONE\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.FAX\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.EMAIL\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{contact.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{contact.firstName}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{contact.fax}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{contact.Tags[0].name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201\x22\x20layout=\x22column\x22\x20layout-align=\x22center\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Merge\x20Contact\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20md-total=\x22{{vm.contacts.count}}\x22\x20md-on-paginate=\x22vm.getContacts\x22\x20md-page-select>\x0a','app/main/apps/dashboards/views/general/agent/home/dashboard/agent.general.dashboard.html','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','app/main/apps/dashboards/views/general/agent/home/dashboard/bull/agent.general.dashboard.bull.html','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.NAME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.TYPE\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.WAITING\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.ACTIVE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{voiceQueue.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{voiceQueue.dialMethod}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{voiceQueue.waiting\x20||\x200}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.DID\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.QUEUE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.CALLER\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{channel.exten}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{channel.queue}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{channel.calleridnum}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Queues\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27DASHBOARDS.NAME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27DASHBOARDS.WAITING\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{queue.waiting\x20||\x200}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27DASHBOARDS.ACCOUNT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27DASHBOARDS.CHANNEL_QUEUE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27DASHBOARDS.CHANNEL_FROM\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{interaction.queue}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{interaction.from}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{queue.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{interaction.account}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','app/main/apps/dashboards/views/general/agent/home/dashboard/mail/agent.general.dashboard.mail.html','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','app/main/apps/dashboards/views/general/agent/home/dashboard/openchannel/agent.general.dashboard.openchannel.html','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','app/main/apps/dashboards/views/general/agent/home/dashboard/sms/agent.general.dashboard.sms.html','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','app/main/apps/dashboards/views/general/agent/home/dashboard/voice/agent.general.dashboard.voice.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Queues\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.WAITING\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','app/main/apps/dashboards/views/general/agent/home/dashboard/whatsapp/agent.general.dashboard.whatsapp.html','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','app/main/apps/dashboards/views/general/agent/home/fax/agent.general.fax.html','\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22DASHBOARDS.FAX_INTERACTIONS\x22>Interactions\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.LAST_MESSAGE\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.STATUS\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x200}\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20layout-margin>{{\x20interaction.contactName\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20messages\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22red-fg\x20font-size-12\x22>{{\x20\x27DASHBOARDS.CLOSED\x27\x20|\x20translate}}\x20\x20-\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22faxAccount\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-style=\x22{\x27color\x27:\x20interaction.Tags.length\x20==\x201\x20&&\x20interaction.Tags[0].color\x20}\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Download\x20Fax\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Close\x20and\x20Dispose\x0a','\x20\x20\x20\x20md-total=\x22{{vm.faxInteractions.count}}\x22\x20md-on-paginate=\x22vm.getFaxInteractions\x22\x0a','\x20\x20\x20\x20md-page-select>\x0a','app/main/apps/dashboards/views/general/agent/home/mail/agent.general.mail.html','\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22DASHBOARDS.MAIL_INTERACTIONS\x22>Interactions\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.composeMailInteraction($event,\x20mailAccount)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20mailAccount.name\x20}}\x20({{\x20mailAccount.key\x20}})\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.SUBJECT\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20interaction.subject\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20interaction.lastMsgText\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20My\x20Contacts\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20on-expand=\x22vm.onSearchBarExpand()\x22\x20query=\x22vm.query.filter\x22\x20debounce=\x22300\x22\x20direction=\x22down\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20icon-color=\x22white-fg\x22\x20ng-disabled=\x22vm.query.search\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22vm.query.search\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22DASHBOARDS.ADVANCED_SEARCH\x22\x20ng-click=\x22vm.openAdvancedSearch()\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x20\x27{{\x20vm.sectionColor\x20}}-fg\x20blink\x27:\x20vm.query.search\x20}\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.ADVANCED_SEARCH\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.RELOAD\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.FULLNAME\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.PHONE\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.MOBILE\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.EMAIL\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.LIST\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.TAGS\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{contact.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{contact.email}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.listsMap[contact.ListId].name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201\x22\x20layout=\x22column\x22\x20layout-align=\x22center\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{tag.name}},\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Contact\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22DASHBOARDS.DUPLICATE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Duplicate\x20Contact\x0a','\x20\x20\x20\x20\x0a','\x0a','app/main/apps/dashboards/views/general/agent/home/openchannel/agent.general.openchannel.html','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.composeOpenchannelInteraction($event,\x20openchannelAccount)\x22\x0a','ng-disabled=\x22!openchannelAccount.replyUri\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20openchannelAccount.name\x20}}\x20({{\x20openchannelAccount.key\x20}})\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.ACCOUNT\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22openchannelAccount\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.getOpenchannelAccountLabel(interaction)\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20md-total=\x22{{vm.openchannelInteractions.count}}\x22\x20md-on-paginate=\x22vm.getOpenchannelInteractions\x22\x0a','app/main/apps/dashboards/views/general/agent/home/plugins/agent.general.plugins.html','\x0a','app/main/apps/dashboards/views/general/agent/home/recordings/agent.general.recordings.html','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Recordings\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.TYPE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.CALLER\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.CALLED\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.CONNECTED\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.QUEUE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.RATING\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.AUDIO\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.DATE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{voiceRecording.type}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{voiceRecording.queue}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20rating\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{voiceRecording.createdAt\x20|\x20date:\x27medium\x27\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22VOICE.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Download\x20VoiceRecording\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','app/main/apps/dashboards/views/general/agent/home/scheduled/agent.general.scheduled.html','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27MOTIONDIALER.REFRESH_SCHEDULED_CALLS\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27MOTIONDIALER.FULLNAME\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.PHONE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.SCHEDULEDAT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.PRIORITY\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.CAMPAIGN\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{scheduledCall.Contact.firstName}}\x20{{scheduledCall.Contact.lastName}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20scheduledCall.scheduledat\x20|\x20date:\x27medium\x27\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{scheduledCall.Queue.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22MOTIONDIALER.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Hopper\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Interactions\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.getSmsInteractions()\x22>\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.composeSmsInteraction($event,\x20smsAccount)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20smsAccount.name\x20}}\x20({{\x20smsAccount.key\x20}})\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Calls\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.SOURCE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.DESTINATION\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.ENDEDAT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.DISPOSITION\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.NOTE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{voiceCall.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.\x27\x20+\x20voiceCall.type.toUpperCase()\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{voiceCall.starttime\x20|\x20date:\x27medium\x27\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{voiceCall.endtime\x20|\x20date:\x27medium\x27\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{voiceCall.userDisposition}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20Details\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Uniqueid

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

{{vm.call.type\x20?\x20vm.call.type\x20:\x20\x27no\x20type\x27}}

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

{{vm.call.source\x20?\x20vm.call.source\x20:\x20\x27unknown\x27}}

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Destination

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

{{vm.call.destination\x20?\x20vm.call.destination\x20:\x20\x27unknown\x27}}

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Started\x20At

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

{{vm.call.starttime\x20|\x20date:\x27medium\x27}}

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Answered\x20At

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

{{vm.call.answertime\x20?\x20(vm.call.answertime\x20|\x20date:\x27medium\x27)\x20:\x20\x27--\x27}}

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Ended\x20At

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

{{vm.call.endtime\x20?\x20(vm.call.endtime\x20|\x20date:\x27medium\x27)\x20:\x20\x27--\x27}}

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Duration

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Billable\x20Seconds

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

{{vm.call.billableseconds\x20?\x20vm.call.billableseconds\x20:\x20\x27--\x27}}s

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

{{vm.call.note\x20?\x20vm.call.note\x20:\x20\x27--\x27}}

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CLOSE\x0a','app/main/apps/dashboards/views/general/agent/home/whatsapp/agent.general.whatsapp.html','\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22DASHBOARDS.WHATSAPP_INTERACTIONS\x22>Interactions\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.composeWhatsappInteraction($event,\x20whatsappAccount)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20whatsappAccount.name\x20}}\x20({{\x20whatsappAccount.key\x20}})\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22whatsappAccount\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.getWhatsappAccountLabel(interaction)\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','app/main/apps/dashboards/views/general/agent/interaction/agent.general.interaction.html','\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Currently\x20in\x20use\x20by\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x0a','\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20flow-file-added=\x22vm.fileAdded($file)\x22\x20flow-file-success=\x22vm.fileSuccess($file,\x20$message)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.message.from}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20To\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.getContact(contact)\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20To\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20You\x20reached\x20the\x20maximum\x20amount\x20of\x20chips\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{attachment.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{attachment.size\x20|\x20byteFmt:\x200}})\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x27width\x27:\x20{true:\x20\x27620px\x27,\x20false:\x20\x27100%\x27}[\x20vm.secret\x20],\x0a','\x20\x20\x20\x20\x20\x20\x27max-height\x27:\x20{true:\x20undefined,\x20false:\x20\x2797%\x27}[\x20vm.secret\x20]\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MAIL.SEND_AS\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Send\x20as\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{subStatus.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Send\x20and\x20Close\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20(vm.isDraft\x20?\x20\x27DASHBOARDS.UPDATE_DRAFT\x27\x20:\x20\x27DASHBOARDS.SAVE_AS_DRAFT\x27)\x20|\x20translate\x20|\x20uppercase\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Add\x20note\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-aria-label=\x22MAIL.CLOSE_DIALOG\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20To\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20To\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CC\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Bcc\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{attachment.size\x20|\x20byteFmt:\x200}})\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20original\x20message\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20item.key\x20}}\x20-\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20item.value\x20|\x20htmlToPlaintext\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20canned\x20answers\x20were\x20found\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Add\x20note\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.message.from}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20To\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20To\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{item.key}}\x20-\x20{{item.value}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SEND\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Add\x20note\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20To\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20To\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20To\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20canned\x20answers\x20were\x20found\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Dispositions\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NONE\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20d.name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Disposition\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Note\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DISPOSE\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{item.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{$chip.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Queue\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Queues\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20queue.name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Queue\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agents\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20agent.name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TRANSFER\x0a','app/main/apps/dashboards/views/general/agent/interaction/views/agent.general.footer.html','\x0a','\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-min-length=\x221\x22\x20placeholder=\x22{{\x20\x27DASHBOARDS.CANNED_ANSWER_SEARCH\x27\x20|\x20translate}}\x22\x20class=\x22cannedarea\x20input-show-hide\x22>\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{item.key}}\x20-\x20{{item.value}}\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20canned\x20answers\x20were\x20found\x0a','\x0a','app/main/apps/dashboards/views/general/agent/interaction/views/agent.general.info.chat.html','\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Browser\x20Name

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

{{item.browserName}}

\x0a','\x20\x20\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OS\x20Name

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

{{item.osName}}

\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

{{item.deviceModel}}

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

{{item.referer}}

\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Originating\x20IP\x20Address

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

{{item.customerIp}}

\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20Originating\x20TCP\x20Port

\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Feedback

\x0a','app/main/apps/dashboards/views/general/agent/interaction/views/agent.general.info.html','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Email\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Phone\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20More\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Interaction\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.interaction.substatus}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Website

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Account

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

{{vm.account.name}}

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

{{vm.agent.fullname\x20||\x20vm.usersMap[vm.interaction.UserId]}}

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

{{vm.interaction.externalUrl}}

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Tags

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{tag.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Closed\x20At

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

{{vm.interaction.closedAt\x20|\x20date:\x20\x27medium\x27}}

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

{{\x20vm.interaction.disposition\x20}}

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NOTE

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.interaction.note\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Journey\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x0a','app/main/apps/dashboards/views/general/agent/interaction/views/agent.general.info.journey.all.html','\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

{{vm.agent.fullname\x20||\x20vm.usersMap[item.UserId]\x20||\x20\x27DASHBOARDS.NOT_ASSIGNED\x27\x20|\x20translate}}

\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20External\x20URL

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

{{item.externalUrl}}

\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

{{item.createdAt\x20|\x20date:\x20\x27medium\x27}}

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Closed\x20At

\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Disposition

\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NOTE

\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{tag.name}}\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Voice\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Chat\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Mail\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Fax\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Openchannel\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WhatsApp\x20Connector\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{item.id}}\x20-\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20item.Account.key\x20||\x20item.destination\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{item.createdAt\x20|\x20date:\x20\x27medium\x27}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22item.showMore\x20=\x20!item.showMore\x22\x20translate=\x22DASHBOARDS.SHOW_DETAILS\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Hide\x20Details\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{item.Owner.fullname\x20||\x20item.User.fullname}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-include=\x22\x27app/main/apps/dashboards/views/general/agent/interaction/views/agent.general.info.journey.voice.html\x27\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27DASHBOARDS.STATUS\x27\x20|\x20translate}}:\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27DASHBOARDS.OPENED\x27\x20|\x20translate}}\x20-\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20item.substatus\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20No\x20data\x20available\x0a','app/main/apps/dashboards/views/general/agent/interaction/views/agent.general.info.journey.voice.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Source

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

{{item.source\x20?\x20item.source\x20:\x20\x27unknown\x27}}

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Destination

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

{{item.destination\x20?\x20item.destination\x20:\x20\x27unknown\x27}}

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

{{item.callerid\x20?\x20item.callerid\x20:\x20\x27unknown\x27}}

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Started\x20At

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

{{item.starttime\x20|\x20date:\x27medium\x27}}

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

{{item.uniqueid\x20?\x20item.uniqueid\x20:\x20\x27unknown\x27}}

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20End\x20At

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

{{item.endtime\x20|\x20date:\x27medium\x27}}

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Duration

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Note

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

{{item.note\x20?\x20item.note\x20:\x20\x27--\x27}}

\x0a','
\x0a','app/main/apps/dashboards/views/general/agent/interaction/views/agent.general.info.mail.html','\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Subject

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

{{item.subject}}

\x0a','app/main/apps/dashboards/views/general/agent/interaction/views/agent.general.info.openchannel.html','\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Visibility

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Public\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Private\x0a','app/main/apps/dashboards/views/general/agent/interaction/views/agent.general.interaction.html','\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.getLabelByMessage(message)\x20}}\x20-\x20{{message.createdAt\x20|\x20date:\x20\x27medium\x27}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20message.failMessage\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.htmlToPlaintext(message.body)}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{message.createdAt\x20|\x20date:\x27medium\x27}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Attachments\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{message.attach}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20attachment.name\x20||\x20(\x27attachment-\x27\x20+\x20$index)\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20[{{message.createdAt\x20|\x20date:\x20\x27medium\x27}}]\x20{{\x20\x27MAIL.SHOW_AUTOREPLY\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{message.from}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
{{message.subject}}
\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MAIL.TO\x22>To:\x20{{\x20message.originTo\x20||\x20message.to\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20=\x200\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20You\x20are\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20registered\x20as\x20a\x20CC\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20You\x20are\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20registered\x20as\x20a\x20BCC\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.selectedMailShowDetails[message.id]\x20=\x20!vm.selectedMailShowDetails[message.id]\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MAIL.SHOW_DETAILS\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20Details\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MAIL.HIDE_DETAILS\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20To:\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Cc:\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22message.direction\x20===\x20\x27in\x27\x20&&\x20!message.originCc\x20&&\x20!message.originTo\x20&&\x20message.cc\x22>Cc:\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22message.direction\x20===\x20\x27out\x27\x20&&\x20message.cc\x22>Cc:\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Bcc:\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{message.createdAt\x20|\x20date:\x27medium\x27}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{message.from}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{message.originTo\x20||\x20message.to}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20message.originCc\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22message.direction\x20===\x20\x27in\x27\x20&&\x20!message.originCc\x20&&\x20!message.originTo\x20&&\x20message.cc\x22>{{\x20message.cc\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22message.direction\x20===\x20\x27out\x27\x20&&\x20message.cc\x22>{{\x20message.cc\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22message.UserId\x20&&\x20message.direction\x20===\x27in\x27\x22>{{vm.usersMap[message.UserId]}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Draft\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22draft\x22\x20ng-disabled=\x22!vm.draft\x22\x20ng-click=\x22vm.openDraft()\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Reply\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22replyAll\x22\x20ng-click=\x22vm.composeMailInteraction(\x27replyAll\x27,\x20message)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Reply\x20All\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22forward\x22\x20ng-click=\x22vm.composeMailInteraction(\x27forward\x27,\x20message)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Forward\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Download\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MAIL.DOWNLOAD_WITH_ATTACHMENTS\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Download\x20with\x20attachments\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Download\x20without\x20attachments\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.getAttachments(message);\x20$mdOpenMenu($event);\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Attachments\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{message.attach}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20attachment.name\x20||\x20(\x27attachment-\x27\x20+\x20$index)\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','app/main/apps/dashboards/views/general/agent/interaction/views/agent.general.loading.html','\x0a','\x20\x20\x20\x20\x0a','app/main/apps/dashboards/views/general/agent/interaction/views/agent.general.toolbar.fax.html','\x0a','\x20\x20\x20\x20Reply\x0a','\x20\x20Download\x0a','\x20\x20\x0a','','app/main/apps/dashboards/views/general/agent/interaction/views/agent.general.toolbar.html','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20interaction\x20is\x20public\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CLOSED\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OPENED\x20-\x20{{vm.interaction.substatus}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{tag.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Download\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Download\x20with\x20attachments\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Download\x20without\x20attachments\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Start\x20Video\x20Call\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Tag\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set\x20as\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20None\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{subStatus.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Unread\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Dispose\x0a','app/main/apps/dashboards/views/general/agent/interaction/views/agent.general.toolbar.mail.html','\x0a','\x20\x20\x20\x20Draft\x0a','\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20Reply\x0a','\x20\x20\x20\x20Reply\x20All\x0a','\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20Forward\x0a','\x0a','\x20\x20\x20\x20Note\x0a','\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20Note\x0a','\x0a','app/main/apps/dashboards/views/general/agent/interaction/views/agent.general.toolbar.whatsapp.html','\x0a','app/main/apps/dashboards/views/general/agent/jscripty/agent.general.jscripty.html','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20{{vm.contact.firstName}}\x20{{vm.contact.lastName}}\x20{{vm.contact.phone}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27JSCRIPTY.RESET_SESSION\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20Project\x20is\x20not\x20available.\x20Please\x20contact\x20the\x20administrator\x0a','\x20\x20\x20\x20\x0a','app/main/apps/dashboards/views/general/agent/notification/dialog.html','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.notification.id}}\x20{{vm.notification.title}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ACCEPT\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x0a','app/main/apps/dashboards/views/general/agent/popup/agent.general.popup.html','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20Template\x20is\x20empty.\x20Please\x20contact\x20the\x20administrator\x0a','','\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.inbound.waiting\x20||\x200}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.WAITING\x27\x20|\x20translate\x20|\x20uppercase}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.WAITING_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.WAITING\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.inbound.talking\x20||\x200}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.OPENED_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.OPENED\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.inbound.answered\x20||\x200}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.MANAGED_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.MANAGED\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.inbound.abandoned\x20||\x200}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.ABANDONED\x27\x20|\x20translate\x20|\x20uppercase}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.ABANDONED_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.ABANDONED\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.inbound.total\x20||\x200}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.TOTAL_OFFERED_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.TOTAL_OFFERED\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.inbound.avgHoldTime\x20||\x20\x2700:00:00\x27\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.AVG_HOLD_TIME\x27\x20|\x20translate\x20|\x20uppercase}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.AVG_HOLD_TIME\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.AVG_MANAGED_TIME\x27\x20|\x20translate\x20|\x20uppercase}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.AVG_MANAGED_TIME_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.AVG_MANAGED_TIME\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.MANAGED_RATE\x27\x20|\x20translate\x20|\x20uppercase}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.MANAGED_RATE_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.MANAGED_RATE\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.inbound.abandonRate\x20||\x200\x20}}%\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.ABANDONED_RATE\x27\x20|\x20translate\x20|\x20uppercase}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.ABANDONED_RATE_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.ABANDONED_RATE\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.inbound.unmanaged\x20||\x200}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.UNMANAGED\x27\x20|\x20translate\x20|\x20uppercase}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.UNMANAGED_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.UNMANAGED\x27\x20|\x20translate}}\x0a','','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.VOICE_WAITING\x27\x20|\x20translate\x20|\x20uppercase}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.VOICE_WAITING\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{(vm.inbound.talking\x20||\x200)\x20+\x20(vm.inbound.pTalking\x20||\x200)}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.VOICE_TALKING_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.VOICE_TALKING\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.VOICE_ANSWERED\x27\x20|\x20translate\x20|\x20uppercase}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.VOICE_ANSWERED_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.VOICE_ANSWERED\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.inbound.outboundDropCallsDayCallersExit\x20||\x200}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.VOICE_ABANDONED_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.ABANDON_RATE\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.inbound.outboundDropCallsDayTimeout\x20||\x200}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.DROPPED\x27\x20|\x20translate\x20|\x20uppercase}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.inbound.originated\x20||\x200}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.ORIGINATED\x27\x20|\x20translate\x20|\x20uppercase}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.ORIGINATED_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.ORIGINATED\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.inbound.avgTalkTime\x20||\x20\x2700:00:00\x27\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.VOICE_AVG_TALK_TIME_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.VOICE_AVG_TALK_TIME\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.inbound.outboundanswerRate\x20||\x200\x20|number\x20:\x201}}%\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.VOICE_ANSWER_RATE\x27\x20|\x20translate\x20|\x20uppercase}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.VOICE_ANSWER_RATE_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.VOICE_ANSWER_RATE\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.VOICE_ABANDON_RATE\x27\x20|\x20translate\x20|\x20uppercase}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.VOICE_ABANDON_RATE\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.inbound.outboundDropRate\x20}}%\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.DROP_RATE\x27\x20|\x20translate\x20|\x20uppercase}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.DROP_RATE_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.DROP_RATE\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20Today\x20IVR\x20campaigns\x20stats\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.ivr.originated\x20||\x200}}/{{vm.ivr.limitCalls\x20||\x200}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.ORIGINATED\x27\x20|\x20translate\x20|\x20uppercase}}/{{\x27DASHBOARDS.LIMITED\x27\x20|\x20translate\x20|\x20uppercase}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.LIMITED_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.ORIGINATEDLIMITED\x27\x20|\x20translate}}\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Today\x20Interactions\x20STATS\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.OPENED\x27\x20|\x20translate\x20|\x20uppercase}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.MANAGED\x27\x20|\x20translate\x20|\x20uppercase}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.TOTAL_OFFERED\x27\x20|\x20translate\x20|\x20uppercase}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.AVG_HOLD_TIME_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.inbound.answerRate\x20||\x200\x20}}%\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.UNMANAGED_RATE_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.UNMANAGED_RATE\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Today\x20Interactions\x20STATS\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','app/main/apps/dashboards/views/general/user/openchannel/user.general.openchannel.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Today\x20Interactions\x20STATS\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.UNMANAGED_RATE\x27\x20|\x20translate\x20|\x20uppercase}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Today\x20Interactions\x20STATS\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ui-sref=\x22app.dashboards.general.voice\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ui-sref=\x22app.dashboards.general.mail\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ui-sref=\x22app.dashboards.general.sms\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27DASHBOARDS.WELCOME_TO_MOTION\x27\x20|\x20translate\x20}}!\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20navigate\x20through\x20available\x20sections.\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20Today\x20Inbound\x20STATS\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.VOICE_WAITING_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.VOICE_TALKING\x27\x20|\x20translate\x20|\x20uppercase}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.VOICE_ABANDONED\x27\x20|\x20translate\x20|\x20uppercase}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.VOICE_ABANDONED\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.VOICE_TOTAL_OFFERED\x27\x20|\x20translate\x20|\x20uppercase}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.VOICE_TOTAL_OFFERED_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.VOICE_TOTAL_OFFERED\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.VOICE_AVG_HOLD_TIME\x27\x20|\x20translate\x20|\x20uppercase}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.VOICE_AVG_HOLD_TIME_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.VOICE_ABANDON_RATE_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.VOICE_UNMANAGED\x27\x20|\x20translate\x20|\x20uppercase}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.VOICE_UNMANAGED_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}\x0a','\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.outbound.total\x20||\x200}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.TOTAL\x27\x20|\x20translate\x20|\x20uppercase}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.TOTAL_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.outbound.answered\x20||\x200}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.OUTBOUND_ANSWERED\x27\x20|\x20translate\x20|\x20uppercase}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.OUTBOUND_ANSWERED_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.OUTBOUND_ANSWERED\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.outbound.sumDuration\x20||\x200\x20|\x20secToTime\x20|\x20date:\x27HH:mm:ss\x27}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.TOT_DURATION_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.outbound.total\x20?\x20((vm.outbound.sumDuration\x20/\x20vm.outbound.total)\x20|\x20number:\x200)\x20:\x200\x20|\x20secToTime\x20|\x20date:\x27HH:mm:ss\x27}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.AVG_DURATION\x27\x20|\x20translate\x20|\x20uppercase}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.AVG_DURATION\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.outbound.total\x20?\x20(vm.outbound.answered\x20/\x20vm.outbound.total\x20*\x20100)\x20:\x200\x20|\x20number:\x201}}%\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.OUTBOUND_ANSWER_RATE\x27\x20|\x20translate\x20|\x20uppercase}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.OUTBOUND_ANSWER_RATE_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.OUTBOUND_ANSWER_RATE\x27\x20|\x20translate}}\x0a','','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Today\x20Interactions\x20STATS\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20key\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20key\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20key\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x205\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20localstationid\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22faxAccountForm.$invalid\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22FAX.ADD_FAXACCOUNT\x22\x20translate-attr-aria-label=\x22FAX.ADD_FAXACCOUNT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20FAXACCOUNT\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Add\x20Agent\x20to\x20faxAccount\x0a','app/main/apps/fax/views/faxAccounts/edit/apps/agent/dialog.html','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Timeout\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x202147483\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22faxAccountFormApp.$invalid\x20||\x20faxAccountFormApp.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Disposition\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Disposition\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Condition\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Condition\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20truepriority\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20truepriority\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20falsepriority\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20falsepriority\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20falsepriority\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Priority\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Priority\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Priority\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a','app/main/apps/fax/views/faxAccounts/edit/apps/interval/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Time\x20Range\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','app/main/apps/fax/views/faxAccounts/edit/apps/noop/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Value\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Queue\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22queue.canSelect\x20===\x20false\x22>{{\x20queue.name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Queue\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Timeout\x20field\x20is\x20required\x0a','app/main/apps/fax/views/faxAccounts/edit/apps/system/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Command\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Command\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Variable\x20field\x20is\x20required\x0a','app/main/apps/fax/views/faxAccounts/edit/apps/tag/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Tag\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20tag.name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Tag\x20field\x20is\x20required\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','app/main/apps/fax/views/faxAccounts/edit/view.html','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.faxAccount.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.faxAccount.createdAt\x20|\x20date:\x27medium\x27}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SETTINGS\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GENERAL\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20headerinfo\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20trunk\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20TrunkId.name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20trunk\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20localstationid\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WaitForTheAssignedAgent\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WaitForTheAssignedAgent\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WaitForTheAssignedAgent\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x202147483\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NOTIFICATION\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20notificationSound\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20notificationTemplate\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TRANSFER\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20queueTransfer\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20queueTransferTimeout\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20queueTransferTimeout\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20queueTransferTimeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x202147483\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20agentTransfer\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20agentTransferTimeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20agentTransferTimeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x202147483\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADVANCED\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ECM\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20minrate\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>2400\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204800\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2012000\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2014400\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20minrate\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20maxrate\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x207200\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>9600\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20maxrate\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20modem\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gateway\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gateway\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20faxdetect\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20faxdetect\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20t38timeout\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20t38timeout\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SIP\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SIP\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IAX\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DADHI\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20KHOMP\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SIP\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DISPOSITION\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MandatoryDisposition\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MandatoryDispositionPauseId\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x20\x20FaxDispositions\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27FAX.ID\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27FAX.NAME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27FAX.CREATED_AT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{faxDisposition.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20faxDisposition.createdAt\x20|\x20formatdate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20FaxDisposition\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20faxdisposition\x20available\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ACTIONS\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20{{a.alias\x20||\x20a.appType}}

\x0a','\x20\x20\x0a','\x20\x20\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20{{vm_ac.selectedFaxAccountApps.length}}\x20{{vm_ac.selectedFaxAccountApps.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22FAX.DELETE_SELECTED\x22>\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{app.priority}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{app.app.toLowerCase()\x20===\x20\x27agi\x27\x20?\x20\x27Cally-Square\x27\x20:\x20app.app\x20|\x20ucfirst}}*\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20App\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20INTERACTIONS\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x20\x27blink\x27:\x20vm_dc.query.search\x20}\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22FAX.DELETE_SELECTED\x22>\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27FAX.CONTACT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27FAX.STARTEDAT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27FAX.LASTMESSAGE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27FAX.STATUS\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27FAX.AGENT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27FAX.TAGS\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20interaction.createdAt\x20|\x20formatdate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27FAX.OPENED\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27FAX.CLOSED\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{interaction.Owner.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20interaction\x20available\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20FaxAccounts\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22FAX.MULTI_SELECT_TOGGLE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22FAX.DELETE_SELECTED\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27FAX.ID\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27FAX.NAME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27FAX.KEY\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27FAX.TRUNK\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27FAX.LOCALSTATIONID\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27FAX.DESCRIPTION\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22id\x20\x22\x20>{{faxAccount.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{faxAccount.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22TrunkId\x20\x22>{{\x20(vm.trunks\x20|\x20filter\x20:\x20{\x27id\x27:faxAccount.TrunkId}\x20:\x20true)[0].name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{faxAccount.localstationid}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22description\x20\x22\x20>{{faxAccount.description}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22FAX.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22FAX.EDIT_FAXACCOUNT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20goToRealtime\x20FaxAccount\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AgentAdd\x20FaxAccount\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22FAX.DELETE_FAXACCOUNT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20FaxAccount\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.newFaxQueue\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20must\x20be\x20valid\x20pattern\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Strategy\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Strategy\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent_Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x202147483\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Add\x20Agent\x20to\x20faxQueue\x0a','app/main/apps/fax/views/faxQueues/edit/teamadd/teamadd.html','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Teams\x20Association\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','app/main/apps/fax/views/faxQueues/edit/view.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.faxQueue.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.faxQueue.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22md-fab\x20md-orange-500-bg\x20md-icon-button\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22md-fab\x20md-purple-500-bg\x20md-icon-button\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20disabled\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent_Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20FaxQueues\x0a','\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Back\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20selected\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.arraystrategy[faxQueue.strategy].option\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22FAX.EDIT_FAXQUEUE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20FaxQueue\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22FAX.TEAMADD_FAXQUEUE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20teamadd\x20FaxQueue\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20goToRealtime\x20FaxQueue\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27FAX.NAME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27FAX.KEY\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27FAX.TOTAL\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27FAX.IN\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.faxAccounts[value].name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.faxAccounts[value].key}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{(vm.faxAccounts[value].in\x20||\x200)\x20+\x20(vm.faxAccounts[value].out\x20||\x200)}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.faxAccounts[value].in\x20||\x200}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.faxAccounts[value].lastIn\x20?\x20\x20(vm.faxAccounts[value].lastIn\x20|\x20date:\x20\x27shortTime\x27)\x20:\x20\x27\x27}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.faxAccounts[value].out\x20||\x200}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.faxAccounts[value].lastOut\x20?\x20\x20(vm.faxAccounts[value].lastOut\x20|\x20date:\x20\x27shortTime\x27)\x20:\x20\x27\x27}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Account\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20Agents\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-change=\x22vm.query.pauseTypeFilter\x20=\x20\x27\x27;\x20vm.onInit()\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27FAX.PAUSE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27FAX.PARTIALPAUSE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27FAX.BUSY\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27FAX.IDLE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{pause.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27FAX.AGENT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27FAX.NAME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27FAX.PAUSE_TIME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.CAPACITY\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27FAX.CAPACITY\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.CAPACITY\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27FAX.NO_AGENT_ONLINE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-src=\x22{{vm.agents[value].userpic\x20&&\x20\x27api/users/\x27+vm.agents[value].id+\x27/avatar\x27\x20||\x20\x27assets/images/avatars/profile.png\x27}}\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27FAX.TOOLTIP_SCREENRECORDING_ON\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27FAX.TOOLTIP_SCREENRECORDING_OFF\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27idle\x27:\x27lime-300-bg\x27,\x27busy\x27:\x27indigo-100-bg\x27,\x27*pause\x27:\x27amber-50-bg\x27,\x27pause\x27:\x27amber-200-bg\x27}[vm.agents[value].globalStatus]\x22>{{\x20vm.isPause(vm.agents[value].globalStatus)\x20?\x20\x27\x27\x20:\x20vm.agents[value].globalStatus\x20|\x20uppercase\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.isPause(vm.agents[value].globalStatus)\x20?\x20(vm.isPartialPause(vm.agents[value].globalStatus)\x20?\x20\x27*\x27+vm.agents[value].pauseType\x20||\x20\x27DEFAULT\x20PAUSE\x27\x20\x20:\x20vm.agents[value].pauseType\x20||\x20\x27DEFAULT\x20PAUSE\x27)\x20:\x20\x27\x27}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22vm.isPause(vm.agents[value].globalStatus)\x20||\x20vm.isPartialPause(vm.agents[value].globalStatus)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27idle\x27:\x27lime-300-fg\x27,\x27maxcapacity\x27:\x27red-A200-fg\x27,\x27working\x27:\x27indigo-100-fg\x27,\x27pause\x27:\x27amber-200-fg\x27}[vm.agents[value].voiceStatus]\x22>{{\x20vm.agents[value].destconnectedlinenum\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.agents[value].smsStatus\x20|\x20uppercase\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27idle\x27:\x27lime-300-fg\x27,\x27maxcapacity\x27:\x27red-A200-fg\x27,\x27working\x27:\x27indigo-100-fg\x27,\x27pause\x27:\x27amber-200-fg\x27}[vm.agents[value].smsStatus]\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.agents[value].openchannelCurrentCapacity\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.agents[value].whatsappStatus\x20|\x20uppercase\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22FAX.LOGOUT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22FAX.AGENTADD_QUEUE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22FAX.SCREENRECORDING\x22>Screen\x20Recording\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22FAX.START_SCREENRECORDING\x22>Start\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22FAX.STOP_SCREENRECORDING\x22>Stop\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22\x20vm.agents[value].voicePause\x20&&\x20\x27DEFAULT\x20PAUSE\x27\x20===\x20vm.agents[value].pauseType\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.pause(vm.agents[value])\x22>Default\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22FAX.UNPAUSE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Unpause\x0a','\x20\x20\x20\x20md-label=\x22{page:\x20\x27{{\x27FAX.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27FAX.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27FAX.OF\x27\x20|\x20translate}}\x27}\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27FAX.PAUSED\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Queues\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Accounts\x0a','\x20\x20\x20\x20\x20\x20\x20\x20Telephones\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27FAX.\x27\x20+\x20trunk.status\x20|\x20uppercase\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{trunk.address}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27FAX.\x27\x20+\x20trunk.stateRegistry\x20|\x20uppercase\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{trunk.host}}:{{trunk.port}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Registry\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Useful\x20pages\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Wiki\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Motion\x20API\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Phonebar\x20Download\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Playground\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20support@xcally.com\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20xCALLY\x20Motion\x20{{vm.info.current}}\x20|\x20Changelog\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20xCALLY©\x202016\x20-\x202018\x20|\x20Powered\x20by\x20Xenialab\x20|\x20EULA\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20www.xenialab.com\x20|\x20www.xcallymotion.com\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.INTEGRATION_TAB\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.NEW_TAB\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Uri\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Uri\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Uri\x20must\x20be\x20a\x20valid\x20url\x20http://www.xcally.com\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AuthType\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Basic\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AuthType\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Username\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Username\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Password\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MotionProxyAddress\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MotionProxyAddress\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22deskAccountForm.$invalid\x20||\x20deskAccountForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22INTEGRATIONS.SAVE\x22\x20translate-attr-aria-label=\x22INTEGRATIONS.SAVE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedDeskAccounts.length}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22INTEGRATIONS.MULTI_SELECT_TOGGLE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.URI\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.USERNAME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{deskAccount.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{deskAccount.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22username\x20\x22\x20>{{deskAccount.username}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20DeskAccount\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Test\x20DeskAccount\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20DeskAccount\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.VOICE\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.OUTBOUND_CALL\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE
\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20String\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Key\x20Value\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x20field\x20is\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Content\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22deskAccountItemForm.content.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Content\x20field\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Key\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22deskAccountItemForm.key.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Key\x20field\x20is\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Variable\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Custom\x20Variable\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Content\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Content\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Value\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-selected-text=\x22vm.getSelectedVariable()\x22\x20required>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{agentColumn}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{dialColumn}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Variable\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20FIELD\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{standard.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{custom.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22deskAccountItemForm.customField.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Field\x20is\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

No\x20Item

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20Type\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Custom\x20Variable\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20Content\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{option.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Content\x20field\x20is\x0a','\x20\x20\x20\x20\x20\x20\x20\x20Value\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{dialColumn}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{variable.name}}\x0a','\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20String\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Custom\x20Variable\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x0a','\x20\x20\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Content\x20field\x20is\x20required\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x20\x20Value\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{agentColumn}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Variable\x20name\x20field\x20is\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{variable.name}}\x0a','\x20\x20','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22INTEGRATIONS.GO_TO_DESKACCOUNTS\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.deskAccount.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ACCOUNT\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Password\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-placeholder=\x22INTEGRATIONS.PASSWORD\x22\x20\x20required\x20\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Must\x20contain\x20at\x20least\x208\x20characters,\x20with\x20a\x20minimum\x20of\x201\x20lowercase\x20letter,\x201\x20uppercase\x20letter,\x201\x20numeric\x20character\x20and\x201\x20special\x20character\x20~!?*@#$%^&-_=+[{]}.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MotionProxyAddress\x20must\x20be\x20a\x20valid\x20url\x20http://www.xcally.com\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CONFIGURATIONS\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20CONFIGURATIONS\x0a','\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.CONFIGURATIONS\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20deskConfiguration.name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22INTEGRATIONS.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20SUBJECTS\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm_cc.selectedSubjects.length}}\x20{{vm_cc.selectedSubjects.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.ID\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.TYPE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{subject.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{subject.nameField\x20||\x20subject.idField}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{subject.type}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm_cc.variablesById[subject.VariableId].name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{subject.key}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{subject.variableName}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm_cc.variablesById[subject.VariableId].name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{subject.content}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Subject\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20DESCRIPTIONS\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm_cc.selectedDescriptions.length}}\x20{{vm_cc.selectedDescriptions.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.CONTENT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{description.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{description.nameField\x20||\x20description.idField}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{description.type}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{description.content}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{description.variableName}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{description.key}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{description.keyContent}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{description.variableName}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm_cc.variablesById[description.VariableId].name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{description.content}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Description\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm_cc.selectedFields.length}}\x20{{vm_cc.selectedFields.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{field.nameField\x20||\x20field.idField}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{field.type}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{field.content}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{field.variableName}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm_cc.variablesById[field.VariableId].name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{field.key}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{field.keyContent}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{field.variableName}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm_cc.variablesById[field.VariableId].name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Field\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Field\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TAGS\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20CONFIGURATION\x0a','\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TenantId\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ClientId\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ClientSecret\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Back\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20selected\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.ID\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.NAME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Dynamics365Account\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Test\x20Dynamics365Account\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Dynamics365Account\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Channel\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.INBOUND_IN_QUEUE\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TicketType\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.CASE\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.PHONECALL\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20DYNAMICS365CONFIGURATION\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22dynamics365AccountItemForm.key.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20String\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20name\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{variable.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

Account\x20is\x20not\x20connected.\x20Please\x20check\x20your\x20configurations!

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20String\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{agentColumn}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Variable\x20name\x20field\x20is\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Variable\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20Content\x0a','\x20\x20\x20\x20\x20\x20{{dialColumn}}\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.dynamics365Account.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.dynamics365Account.createdAt\x20|\x20date:\x27medium\x27}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GENERAL\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TenantId\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ClientId\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20dynamics365Configuration.name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{subject.content}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{subject.keyContent}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Subject\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm_cc.variablesById[description.VariableId].name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20FIELDS\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{field.content}}\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ApiKey\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20FRESHDESKACCOUNT\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Channel\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Variable\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22freshdeskAccountItemForm.variableName.$touched\x22\x20role=\x22alert\x22>\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.freshdeskAccount.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.freshdeskAccount.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.freshdeskAccount.createdAt\x20|\x20date:\x27medium\x27}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20freshdeskConfiguration.name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20FreshdeskConfiguration\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{subject.variableName}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Description\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{field.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Tags\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20tag.name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20FreshdeskAccounts\x0a','\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedFreshdeskAccounts.length}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{freshdeskAccount.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{freshdeskAccount.username}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22remoteUri\x20\x22\x20>{{freshdeskAccount.remoteUri}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22INTEGRATIONS.EDIT_FRESHDESKACCOUNT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20FreshdeskAccount\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22INTEGRATIONS.TEST_FRESHDESKACCOUNT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20FreshdeskAccount\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ApiKey\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22freshsalesAccountItemForm.keyType.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22freshsalesAccountItemForm.variableName.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Value\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22freshsalesAccountItemForm.variableName.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.freshsalesAccount.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.freshsalesAccount.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.freshsalesAccount.createdAt\x20|\x20date:\x27medium\x27}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20freshsalesConfiguration.name\x20}}\x0a','app/main/apps/integrations/views/freshsalesAccounts/freshsalesAccounts.html','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20FreshsalesAccounts\x0a','\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedFreshsalesAccounts.length}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{freshsalesAccount.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{freshsalesAccount.username}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22remoteUri\x20\x22\x20>{{freshsalesAccount.remoteUri}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22INTEGRATIONS.EDIT_FRESHSALESACCOUNT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20FreshsalesAccount\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20FreshsalesAccount\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ClientSecret\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SecurityToken\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SecurityToken\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20SALESFORCEACCOUNT\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TicketType\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22salesforceConfigurationForm.$invalid\x20||\x20salesforceConfigurationForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20SALESFORCECONFIGURATION\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x20field\x20is\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22salesforceAccountItemForm.keyContent.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','app/main/apps/integrations/views/salesforceAccounts/edit/view.html','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.salesforceAccount.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20SalesforceConfiguration\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20ADVANCED\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20option.value\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20option.value\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SalesforceAccounts\x0a','\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22id\x20\x22\x20>{{salesforceAccount.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{salesforceAccount.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22username\x20\x22\x20>{{salesforceAccount.username}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20SalesforceAccount\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Test\x20SalesforceAccount\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Email\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Host\x20must\x20be\x20a\x20valid\x20url\x20http://www.xcally.com\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20SERVICENOWACCOUNT\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20SERVICENOWCONFIGURATION\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22servicenowAccountItemForm.variableName.$touched\x22\x20role=\x22alert\x22>\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22INTEGRATIONS.GO_TO_SERVICENOWACCOUNTS\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.servicenowAccount.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.servicenowAccount.createdAt\x20|\x20date:\x27medium\x27}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Email\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Host\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Host\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20servicenowConfiguration.name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20ServicenowConfiguration\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ServicenowAccounts\x0a','\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedServicenowAccounts.length}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{servicenowAccount.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22name\x20\x22\x20>{{servicenowAccount.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{servicenowAccount.username}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20ServicenowAccount\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20ServicenowAccount\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','app/main/apps/integrations/views/sugarcrmAccounts/create/dialog.html','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22sugarcrmAccountItemForm.content.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','app/main/apps/integrations/views/sugarcrmAccounts/edit/view.html','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.sugarcrmAccount.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.sugarcrmAccount.createdAt\x20|\x20date:\x27medium\x27}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20sugarcrmConfiguration.name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20SugarcrmConfiguration\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedSugarcrmAccounts.length}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{sugarcrmAccount.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{sugarcrmAccount.remoteUri}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22INTEGRATIONS.EDIT_SUGARCRMACCOUNT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Test\x20SugarcrmAccount\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22INTEGRATIONS.DELETE_SUGARCRMACCOUNT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20SugarcrmAccount\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','app/main/apps/integrations/views/vtigerAccounts/create/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vTiger_User_Name\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Access_Key\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Access_Key\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20VTIGERCONFIGURATION\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22vtigerAccountItemForm.content.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.vtigerAccount.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.vtigerAccount.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.vtigerAccount.createdAt\x20|\x20date:\x27medium\x27}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vTiger_User_Name\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vtigerConfiguration.name\x20}}\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20VtigerAccounts\x0a','\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.HOST\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vtigerAccount.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vtigerAccount.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22username\x20\x22\x20>{{vtigerAccount.username}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20VtigerAccount\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22INTEGRATIONS.TEST_VTIGERACCOUNT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Test\x20VtigerAccount\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Token\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Token\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Token\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20ZENDESKACCOUNT\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22zendeskAccountItemForm.content.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22zendeskAccountItemForm.variableName.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22zendeskAccountItemForm.content.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22zendeskAccountItemForm.content.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22zendeskAccountItemForm.variableName.$touched\x22\x20role=\x22alert\x22>\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.zendeskAccount.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20ZENDESKCONFIGURATIONS\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20zendeskConfiguration.name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20ZendeskConfiguration\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ZendeskAccounts\x0a','\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedZendeskAccounts.length}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{zendeskAccount.username}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20ZendeskAccount\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22INTEGRATIONS.DELETE_ZENDESKACCOUNT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20ZendeskAccount\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>zoho.com\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>zoho.eu\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Zone\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20US\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EU\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IN\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CN\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Code\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20ZOHOACCOUNT\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22zohoAccountItemForm.keyType.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22zohoAccountItemForm.keyContent.$touched\x22\x20role=\x22alert\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22INTEGRATIONS.GO_TO_ZOHOACCOUNTS\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.zohoAccount.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.zohoAccount.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Code\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RefreshToken\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RefreshToken\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20zohoConfiguration.name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ZohoAccounts\x0a','\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.HOST\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.ZONE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{zohoAccount.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{zohoAccount.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.arrayhost[zohoAccount.host].option\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22INTEGRATIONS.TEST_ZOHOACCOUNT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Test\x20ZohoAccount\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20ZohoAccount\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20must\x20be\x20valid\x20pattern\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22JSCRIPTY.DELETE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CLONE\x20PROJECT\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Answers\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Start\x20Time:\x20{{vm.session.starttime\x20|\x20date:\x27medium\x27}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Member\x20Name:\x20{{vm.session.membername}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

{{$index+1}}.\x20{{question.question}}

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

{{question.answer}}

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

No\x20results\x20available

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a','app/main/apps/jscripty/views/projects/edit/view.html','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.project.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.project.createdAt\x20|\x20date:\x27medium\x27}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SETTINGS\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EnableUncompleteSave\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SendUnpauseOnSubmit\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20BUILDER\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PREVIEW\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SESSIONS\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x20\x20Sessions\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20{{vm_dc.selectedProjectSessions.length}}\x20{{vm_dc.selectedProjectSessions.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27JSCRIPTY.ID\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27JSCRIPTY.STARTTIME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27JSCRIPTY.ENDTIME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27JSCRIPTY.MEMBERNAME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27JSCRIPTY.CALLERIDNUM\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27JSCRIPTY.COMPLETE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Results\x20Session\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Session\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20session\x20available\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ANSWERS\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x0a','\x20\x20\x20\x20Answers\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

{{question.question}}

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{key}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{value}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{value*100/question.sum\x20|\x20number:1}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{question.sum}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20No\x20answers\x20available\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Back\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27JSCRIPTY.NAME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27JSCRIPTY.DESCRIPTION\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27JSCRIPTY.CREATED_AT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{project.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{project.description}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22createdAt\x20\x22>{{project.createdAt\x20|\x20date:\x27medium\x27\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22JSCRIPTY.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Sessions\x20Project\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Project\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20project\x22\x20translate\x20translate-attr-aria-label=\x22JSCRIPTY.ADD_PROJECT\x22>\x0a','app/main/apps/mail/views/mailAccounts/create/dialog.html','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20key\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20key\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20key\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x205\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Email_Address\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Email_Address\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Email_Address\x20must\x20be\x20a\x20valid\x20e-mail\x20address\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Active\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Custom\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Hotmail\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Outlook365\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Service\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IMAP_Host\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IMAP_Host\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IMAP_Port\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SMTP_Host\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Authentication\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Username\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Password\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-placeholder=\x22MAIL.PASSWORD\x22\x20\x20required\x20\x20>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Must\x20contain\x20at\x20least\x208\x20characters,\x20with\x20a\x20minimum\x20of\x201\x20lowercase\x20letter,\x201\x20uppercase\x20letter,\x201\x20numeric\x20character\x20and\x201\x20special\x20character\x20~!?*@#$%^&-_=+[{]}.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20MAILACCOUNT\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22MAIL.DELETE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a','\x0a','app/main/apps/mail/views/mailAccounts/edit/apps/agent/dialog.html','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Timeout\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Timeout\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x202147483\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20times\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Always\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20times\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Text\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22mailAccountFormApp.$invalid\x20||\x20mailAccountFormApp.$pristine\x22\x0a','app/main/apps/mail/views/mailAccounts/edit/apps/close/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Disposition\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Disposition\x20field\x20is\x20required\x0a','app/main/apps/mail/views/mailAccounts/edit/apps/gotoif/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Condition\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Condition\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20truepriority\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20truepriority\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20truepriority\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20falsepriority\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20falsepriority\x20field\x20is\x20required\x0a','app/main/apps/mail/views/mailAccounts/edit/apps/gotop/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Priority\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Priority\x20field\x20is\x20required\x0a','app/main/apps/mail/views/mailAccounts/edit/apps/interval/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','app/main/apps/mail/views/mailAccounts/edit/apps/noop/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','app/main/apps/mail/views/mailAccounts/edit/apps/queue/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','app/main/apps/mail/views/mailAccounts/edit/apps/system/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Command\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Variable\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Variable\x20field\x20is\x20required\x0a','app/main/apps/mail/views/mailAccounts/edit/apps/tag/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Key\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20MAILDISPOSITION\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.mailAccount.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.mailAccount.createdAt\x20|\x20date:\x27medium\x27}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SETTINGS\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Font_Family\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Font_Family\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Font_Size\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Font_Size\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x208\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Font_Size\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x2072\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Template\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WaitForTheAssignedAgent\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WaitForTheAssignedAgent\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x202147483\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NOTIFICATION\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20notificationSound\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20notificationShake\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20notificationTemplate\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20queueTransfer\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20queueTransferTimeout\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20queueTransferTimeout\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20queueTransferTimeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20queueTransferTimeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x202147483\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20agentTransfer\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20agentTransferTimeout\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20agentTransferTimeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20agentTransferTimeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x202147483\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Service\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Gmail\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Yahoo\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IMAP_Port\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ssl\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Authentication\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Username\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Password\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mailbox\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20connTimeout\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20connTimeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20authTimeout\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20authTimeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SMTP\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SMTP\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SMTP_Port\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SMTP_Port\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Secure\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Authentication\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADVANCED\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MandatoryDisposition\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MandatoryDispositionPauseId\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MandatoryDispositionPauseId\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x20\x20MailDispositions\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20{{vm_dc.selectedMailAccountMailDispositions.length}}\x20{{vm_dc.selectedMailAccountMailDispositions.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.ID\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.NAME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{mailDisposition.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20mailDisposition.createdAt\x20|\x20formatdate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20MailDisposition\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20maildisposition\x20available\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x20\x20MailCannedAnswers\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20{{vm_dc.selectedMailAccountMailCannedAnswers.length}}\x20{{vm_dc.selectedMailAccountMailCannedAnswers.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.KEY\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.VALUE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.DESCRIPTION\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{mailCannedAnswer.key}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{mailCannedAnswer.value\x20|\x20htmlToPlaintext\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20mailCannedAnswer.createdAt\x20|\x20formatdate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20MailCannedAnswer\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20MailCannedAnswer\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20mailcannedanswer\x20available\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ACTIONS\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20{{a.alias\x20||\x20a.appType}}

\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20Drag\x20&\x20Drop\x20Routing\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{app.priority}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{app.app.toLowerCase()\x20===\x20\x27agi\x27\x20?\x20\x27Cally-Square\x27\x20:\x20app.app\x20|\x20ucfirst}}*\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{app.appdata}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{app.IntervalId\x20?\x20\x27From\x20List\x27\x20:\x20(app.interval\x20===\x20\x27*,*,*,*\x27\x20?\x20\x27Always\x27\x20:\x20\x27Custom\x27)}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22refresh\x20Interactions\x22\x20translate\x20translate-attr-label=\x22MAIL.REFRESH_INTERACTIONS\x22>\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.CONTACT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.SUBJECT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.STATUS\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.AGENT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.TAGS\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{interaction.subject}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.OPENED\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.CLOSED\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20interaction\x20available\x0a','app/main/apps/mail/views/mailAccounts/mailAccounts.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MailAccounts\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Back\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedMailAccounts.length}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20selected\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22MAIL.MULTI_SELECT_TOGGLE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.ID\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.NAME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.KEY\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.EMAIL_ADDRESS\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.DESCRIPTION\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{mailAccount.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22key\x20\x22\x20>{{mailAccount.key}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22email\x20\x22\x20>{{mailAccount.email}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.newMailQueue\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20must\x20be\x20valid\x20pattern\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Strategy\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Strategy\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent_Timeout\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent_Timeout\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent_Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent_Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x202147483\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Add\x20Agent\x20to\x20mailQueue\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Teams\x20Association\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.mailQueue.createdAt\x20|\x20date:\x27medium\x27}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.STRATEGY\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{mailQueue.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{mailQueue.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.arraystrategy[mailQueue.strategy].option\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22MAIL.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MAIL.EDIT_MAILQUEUE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20MailQueue\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20MailQueue\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20MAILSUBSTATUS\x0a','\x0a','\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedMailSubstatuses.length}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{mailSubstatus.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{mailSubstatus.description}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20MailSubstatus\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20MailSubstatus\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.KEY\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.TOTAL\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.IN\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.OUT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.IMAP_STATUS\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.SMTP_STATUS\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.mailAccounts[value].name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{(vm.mailAccounts[value].in\x20||\x200)\x20+\x20(vm.mailAccounts[value].out\x20||\x200)}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.mailAccounts[value].in\x20||\x200}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.mailAccounts[value].lastOut\x20?\x20\x20(vm.mailAccounts[value].lastOut\x20|\x20date:\x20\x27shortTime\x27)\x20:\x20\x27\x27}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.mailAccounts[value].Imap.messageStatus}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20(\x27MAIL.\x27\x20+\x20vm.mailAccounts[value].Imap.status.toUpperCase())\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.mailAccounts[value].Imap.lastSync\x20|\x20date:\x20\x27shortTime\x27}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.mailAccounts[value].Smtp.messageStatus}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.mailAccounts[value].Smtp.lastSync\x20|\x20date:\x20\x27shortTime\x27}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.NEVER_VERIFIED\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20Agents\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.ALL\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.PAUSE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.PARTIALPAUSE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.IDLE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AUTOPAUSE\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.AGENT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.NAME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.STATUS\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.LOGIN_TIME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.PAUSE_TIME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.TOOLTIP_SCREENRECORDING_ON\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.TOOLTIP_SCREENRECORDING_OFF\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27idle\x27:\x27lime-300-fg\x27,\x27maxcapacity\x27:\x27red-A200-fg\x27,\x27working\x27:\x27indigo-100-fg\x27,\x27pause\x27:\x27amber-200-fg\x27}[vm.agents[value].voiceStatus]\x22>{{\x20vm.agents[value].queue\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MAIL.AGENTADD_QUEUE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Add\x20Agent\x20In\x20Queue\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22vm.license.screenrecording\x20&&\x20vm.agents[value].phoneBarEnableScreenRecordingByAgent\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MAIL.SCREENRECORDING\x22>Screen\x20Recording\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MAIL.START_SCREENRECORDING\x22>Start\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MAIL.PAUSE\x22>Pause\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MAIL.DEFAULT_PAUSE\x22>Default\x0a','\x20\x20\x20\x20md-label=\x22{page:\x20\x27{{\x27MAIL.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27MAIL.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27MAIL.OF\x27\x20|\x20translate}}\x27}\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20Queues\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.NAME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.LOGGED_IN\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.PAUSED\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.READY\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x0a','app/main/apps/mail/views/realtime/realtime.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agents\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Accounts\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Active\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Icon\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Icon\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Admin\x20Only\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent\x20Only\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Never\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Sidebar\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AdminUrl\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AdminUrl\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AgentUrl\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ScriptName\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ScriptName\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ScriptPath\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ScriptPath\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Version\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.gotoPlugins()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22MARKETPLACE.GO_TO_PLUGINS\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.plugin.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.plugin.createdAt\x20|\x20date:\x27medium\x27}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SETTINGS\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GENERAL\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Active\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Sidebar\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AgentUrl\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Version\x20field\x20is\x20required\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Plugins\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Back\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedPlugins.length}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20selected\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22MARKETPLACE.MULTI_SELECT_TOGGLE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22MARKETPLACE.DELETE_SELECTED\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MARKETPLACE.NAME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MARKETPLACE.DESCRIPTION\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MARKETPLACE.VERSION\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{plugin.type}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22active\x20\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22description\x20\x22\x20>{{plugin.description}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{plugin.version}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22MARKETPLACE.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Plugin\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Stop\x20Plugin\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MARKETPLACE.RESTART_PLUGIN\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','app/main/apps/marketplace/views/plugins/upload/dialog.html','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20flow-files-submitted=\x22vm.upload()\x22\x20flow-file-added=\x22vm.fileAdded($file)\x22\x20flow-file-success=\x22vm.fileSuccess($file,\x20$message)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20You\x20can\x20also\x20drop\x20your\x20file\x20here\x20to\x20upload.\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Uploading\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.plugin.file.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20FINISH\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.newIvrCampaign\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20must\x20be\x20valid\x20pattern\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Active\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Trunk\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Trunk\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Interval\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CheckDuplicate\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.ALWAYS\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27MOTIONDIALER.NEVER\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27MOTIONDIALER.ONLY_IF_OPEN\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CheckDuplicate\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20SquareProjectId.name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CallySquareProject\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ConcurrentCalls\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ConcurrentCalls\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22ivrCampaignForm.$invalid\x20||\x20ivrCampaignForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22MOTIONDIALER.SAVE\x22\x20translate-attr-aria-label=\x22MOTIONDIALER.SAVE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20IVRCAMPAIGN\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Add\x20List\x20in\x20IVRCAMPAIGN\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Date\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Time\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Time\x20is\x20invalid\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Priority\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Highest\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Medium\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Low\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Lowest\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Priority\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Add\x20List\x20in\x20IVRCAMPAIGN\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Reset\x20List\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2010\x20?\x2050\x20:\x20100\x20}}\x22\x20ng-repeat=\x22item\x20in\x20vm.items\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20item.name\x20|\x20limitTo:40\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.ivrCampaign.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.ivrCampaign.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SETTINGS\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GENERAL
\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20None\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20TrunkBackupId.name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20BackupTrunk\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Interval\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CutDigit\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CutDigit\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x2015\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CAMPAIGN\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CAMPAIGN\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CallySquareProject\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ConcurrentCalls\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x20200\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OriginateCallerIdName\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OriginateCallerIdName\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OriginateCallerIdNumber\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RandomLastDigitCallerIdNumber\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RandomLastDigitCallerIdNumber\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x2015\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OriginateTimeout\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OriginateTimeout\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OriginateTimeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OriginateTimeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x20999\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Prefix\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Prefix\x20must\x20be\x20valid\x20pattern\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GLOBAL\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GlobalMaxRetry\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GlobalMaxRetry\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GlobalMaxRetry\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x20999\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CONGESTION\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CongestionMaxRetry\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CongestionMaxRetry\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CongestionMaxRetry\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CongestionMaxRetry\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x20999\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CongestionRetryTime\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20max=\x2299999\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CongestionRetryTime\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CongestionRetryTime\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CongestionRetryTime\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x2099999\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20BUSY\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20BusyMaxRetry\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20BusyMaxRetry\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20BusyMaxRetry\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x20999\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20BusyRetryTime\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20BusyRetryTime\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20BusyRetryTime\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x2099999\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NOANSWER\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NoAnswerMaxRetry\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NoAnswerMaxRetry\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NoAnswerMaxRetry\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NoAnswerMaxRetry\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x20999\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NoAnswerRetryTime\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NoAnswerRetryTime\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NoAnswerRetryTime\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NoAnswerRetryTime\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x2099999\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NoSuchNumberMaxRetry\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NoSuchNumberMaxRetry\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NoSuchNumberMaxRetry\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NoSuchNumberMaxRetry\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x20999\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NoSuchNumberRetryTime\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NoSuchNumberRetryTime\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DropMaxRetry\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DropMaxRetry\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DropMaxRetry\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x20999\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DropRetryTime\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DropRetryTime\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DropRetryTime\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x2099999\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ABANDONED\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AbandonedMaxRetry\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AbandonedMaxRetry\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AbandonedMaxRetry\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AbandonedMaxRetry\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x20999\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AbandonedRetryTime\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AbandonedRetryTime\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AbandonedRetryTime\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x2099999\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MACHINE\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MachineMaxRetry\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MachineMaxRetry\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MachineMaxRetry\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x20999\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MachineRetryTime\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MachineRetryTime\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MachineRetryTime\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AGENTREJECT\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AgentRejectMaxRetry\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AgentRejectMaxRetry\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AgentRejectMaxRetry\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AgentRejectMaxRetry\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x20999\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AgentRejectRetryTime\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AgentRejectRetryTime\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AgentRejectRetryTime\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x2099999\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADVANCED\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DialOrderByScheduledAt\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.DESC\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27MOTIONDIALER.ASC\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DialOrderByScheduledAt\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GlobalInterval\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TIMEZONE\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Timezone\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AMDActive\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AMDInitialSilence\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AMDInitialSilence\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AMDInitialSilence\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AMDGreeting\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AMDGreeting\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AMDGreeting\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AMDAfterGreetingSilence\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AMDTotalAnalysisTime\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AMDTotalAnalysisTime\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AMDTotalAnalysisTime\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AMDMinWordLength\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AMDMinWordLength\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AMDBetweenWordsSilence\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AMDBetweenWordsSilence\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AMDBetweenWordsSilence\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AMDMaximumNumberOfWords\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AMDMaximumNumberOfWords\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AMDSilenceThreshold\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AMDSilenceThreshold\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AMDMaximumWordLength\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AMDMaximumWordLength\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HOPPERS\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20Hoppers\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{(vm_hs.total\x20||\x200)\x20+\x20(vm_hs.closed\x20||\x200)}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.TOTAL\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm_hs.fresh\x20||\x200}}\x20({{vm_hs.total\x20?\x20((((vm_hs.fresh\x20||\x200)\x20*\x20100)/((vm_hs.closed\x20||\x200)\x20+\x20(vm_hs.total\x20||\x200)))\x20|\x20number:\x202)\x20:\x200}}%)\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.FRESH\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm_hs.total\x20?\x20(vm_hs.total\x20-\x20(vm_hs.fresh\x20||\x200))\x20:\x200}}\x20({{vm_hs.total\x20?\x20((((vm_hs.total\x20-\x20(vm_hs.fresh\x20||\x200))\x20*\x20100)/((vm_hs.closed\x20||\x200)\x20+\x20(vm_hs.total\x20||\x200)))\x20|\x20number:\x202)\x20:\x200}}%)\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm_hs.closed\x20?\x20(vm_hs.closed\x20||\x200)\x20:\x200}}\x20({{vm_hs.closed\x20?\x20((((vm_hs.closed)\x20*\x20100)/(vm_hs.closed\x20+\x20(vm_hs.total\x20||\x200)))\x20|\x20number:\x202)\x20:\x200}}%)\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.CLOSED\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20Hoppers\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20{{vm_dc.selectedIvrCampaignHoppers.length}}\x20{{vm_dc.selectedIvrCampaignHoppers.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.CONTACTID\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.PHONE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.CONGESTION\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.BUSY\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.NOSUCHNUMBER\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.DROP\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.ABANDONED\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.MACHINE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.AGENTREJECT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.SCHEDULEDAT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.PRIORITY\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hopper.countcongestionretry}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hopper.countbusyretry}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hopper.countnoanswerretry}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hopper.countdropretry}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hopper.countabandonedretry}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hopper.countmachineretry}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hopper.countagentrejectretry}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20hopper.scheduledat\x20|\x20formatdate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm_dc.arraypriority[hopper.priority].option\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Hopper\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HISTORY\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20HopperHistories\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.UNIQUEID\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.STATUS\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.STARTTIME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.ENDTIME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20hopperhistory\x20available\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20HopperFinals\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Busy\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{vm_dc.contacts.busyContacts}})\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Congestion\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Drop\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Abandoned\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Recall\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{vm_dc.contacts.reCallContacts}})\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NoSuchNumber\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AnsweringMachine\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{vm_dc.contacts.answeringMachine}})\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20{{vm_dc.selectedIvrCampaignHopperFinals.length}}\x20{{vm_dc.selectedIvrCampaignHopperFinals.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.NOANSWER\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.DISPOSITION\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Move\x20HopperFinal\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20hopperfinal\x20available\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20{{vm_dc.selectedIvrCampaignHopperBlacks.length}}\x20{{vm_dc.selectedIvrCampaignHopperBlacks.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20hopperblack\x20available\x0a','\x20\x20\x20\x20\x0a','app/main/apps/motiondialer/views/ivrCampaigns/ivrCampaigns.html','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IvrCampaigns\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Back\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedIvrCampaigns.length}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20selected\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22MOTIONDIALER.MULTI_SELECT_TOGGLE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.NAME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.ACTIVE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.TRUNK\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.CALLYSQUAREPROJECT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{ivrCampaign.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{ivrCampaign.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20(vm.projects\x20|\x20filter\x20:\x20{\x27id\x27:ivrCampaign.SquareProjectId}\x20:\x20true)[0].name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20IvrCampaign\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20clone\x20IvrCampaign\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20listadd\x20IvrCampaign\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20IvrCampaign\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20goToRealtime\x20IvrCampaign\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Active\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Method\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Progressive\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>PowerDialing\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Predictive\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Preview\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>BookedProgressive\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Method\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PredictiveOptimization\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.AGENTBUSYFACTOR\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.DROPRATE\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PredictiveOptimization\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PredictiveOptimizationPercentage\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PredictiveInterval\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MaxConcurrentCalls\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x209999\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QueueTimeout\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QueueTimeout\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QueueTimeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QueueTimeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x20999\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AgentTimeout\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AgentTimeout\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Penalty\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Min\x20Penalty\x200\x20characters.\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Max\x20Penalty\x203\x20characters.\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CLONE\x20QUEUECAMPAIGN\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ScheduledAt\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Date\x20is\x20invalid\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Add\x20List\x20in\x20QUEUECAMPAIGN\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','app/main/apps/motiondialer/views/queueCampaigns/edit/teamadd/teamadd.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20You\x20must\x20supply\x20a\x20penalty.\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.queueCampaign.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.queueCampaign.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.queueCampaign.createdAt\x20|\x20date:\x27medium\x27}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Active\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CutDigit\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PowerLevel\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MaxConcurrentCalls\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MaxConcurrentCalls\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AgentTimeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QueueOptions\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Strategy\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Round\x20Robin\x20Memory\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Round\x20Robin\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22vm.queueCampaign.dialMethod\x20!==\x20\x27booked\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Least\x20Recent\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Random\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Linear\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Retry\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Retry\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WrapupTime\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WrapupTime\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WrapupTime\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Weight\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Weight\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20musiconhold.name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MusicOnHold\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20dialQueueProject.name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CallySquareProject2\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20dialQueueProject2.name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CallySquareProject2\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CallySquareProjectPreview\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CallySquareProjectPreview\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CallySquareProjectPreview2\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OriginateCallerIdNumber\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RandomLastDigitCallerIdNumber\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Prefix\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RETRYANDFREQUENCY\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20BusyMaxRetry\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NoSuchNumberRetryTime\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x2099999\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DROP\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DropMaxRetry\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AbandonedRetryTime\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MachineMaxRetry\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADVANCED\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AfterCallWork\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AfterCallWorkDuration\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AfterCallWorkDuration\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.YES\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27MOTIONDIALER.NO\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AutoPause\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RingInUse\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RingInUse\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MemberDelay\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MemberDelay\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TimeoutRestart\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TimeoutRestart\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MonitorFormat\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Inactive\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20wav\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20wav49\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gsm\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MonitorFormat\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Context\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Context\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SetInterfaceVariables\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SetInterfaceVariables\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SetQueueVariables\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SetQueueVariables\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SetQueueEntryVariables\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MandatoryDisposition\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MandatoryDispositionPauseId\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MandatoryDispositionPauseId\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AfterCallWorkDuration\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20THRESHOLDS\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PredictiveMaxThreshold\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PredictiveMinThreshold\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DialRecallMeTimeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DialRecallInQueue\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GlobalInterval\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Timezone\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AMDActive\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AMDAfterGreetingSilence\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AMDMinWordLength\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AMDMaximumNumberOfWords\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AMDSilenceThreshold\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20max=\x2232767\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AMDSilenceThreshold\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x2032767\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AMDMaximumWordLength\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20{{vm_dc.selectedQueueCampaignHoppers.length}}\x20{{vm_dc.selectedQueueCampaignHoppers.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.RECALLAGENT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hopper.ContactId}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hopper.phone}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Hopper\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20hopper\x20available\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.NAME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20FINAL\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{vm_dc.contacts.noAnswerContacts}})\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{vm_dc.contacts.congestionContacts}})\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{vm_dc.contacts.dropContacts}})\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{vm_dc.contacts.abandonedContacts}})\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{vm_dc.contacts.noSuchContacts}})\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20{{vm_dc.selectedQueueCampaignHopperFinals.length}}\x20{{vm_dc.selectedQueueCampaignHopperFinals.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20BLACKLIST\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20HopperBlacks\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20{{vm_dc.selectedQueueCampaignHopperBlacks.length}}\x20{{vm_dc.selectedQueueCampaignHopperBlacks.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QueueCampaigns\x0a','\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedQueueCampaigns.length}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.ID\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.ACTIVE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.METHOD\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.STRATEGY\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{queueCampaign.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22TrunkId\x20\x22>{{\x20(vm.trunks\x20|\x20filter\x20:\x20{\x27id\x27:queueCampaign.TrunkId}\x20:\x20true)[0].name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.arraydialMethod[queueCampaign.dialMethod].option\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.arraystrategy[queueCampaign.strategy].option\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22MOTIONDIALER.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20QueueCampaign\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20clone\x20QueueCampaign\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20teamadd\x20QueueCampaign\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20agentadd\x20QueueCampaign\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20QueueCampaign\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20goToRealtime\x20QueueCampaign\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20queueCampaign\x22\x20translate\x20translate-attr-aria-label=\x22MOTIONDIALER.ADD_QUEUECAMPAIGN\x22>\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.CLICKRELOAD\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ID\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.LASTASSIGNEDTO\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.DISPOSITION\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{call.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{call.calleridnum}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.queuesMap[call.queue]}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{call.lastAssignedTo}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{call.disposition}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Assigned\x20to\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Not\x20Assigned\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{agent.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x200\x22\x20ng-repeat=\x22disposition\x20in\x20vm.dispositions.rows\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{disposition.name}}\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.ALL\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.BUSY\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.IDLE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.AGENT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.NAME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.PAUSE_TIME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.NO_AGENT_ONLINE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.TOOLTIP_SCREENRECORDING_ON\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.TOOLTIP_SCREENRECORDING_OFF\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27idle\x27:\x27lime-300-bg\x27,\x27maxcapacity\x27:\x27red-A200-bg\x27,\x27working\x27:\x27indigo-100-bg\x27,\x27pause\x27:\x27amber-200-bg\x27}[vm.agents[value].mailStatus]\x22>{{\x20vm.agents[value].mailStatus\x20|\x20uppercase\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MOTIONDIALER.LOGOUT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MOTIONDIALER.AGENTADD_QUEUE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MOTIONDIALER.START_SCREENRECORDING\x22>Start\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MOTIONDIALER.PAUSE\x22>Pause\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MOTIONDIALER.DEFAULT_PAUSE\x22>Default\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MOTIONDIALER.UNPAUSE\x22>\x0a','\x20\x20\x20\x20md-label=\x22{page:\x20\x27{{\x27MOTIONDIALER.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27MOTIONDIALER.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27MOTIONDIALER.OF\x27\x20|\x20translate}}\x27}\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20Ivr\x20Campaigns\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27MOTIONDIALER.NAME\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27MOTIONDIALER.TOTAL_MANAGED\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27MOTIONDIALER.ORIGINATED\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27MOTIONDIALER.MESSAGE\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{campaign.ivrAnswerCallsDay\x20||\x200}}\x20({{(campaign.ivrTotalCallsDays)\x20?\x20(campaign.ivrAnswerCallsDay\x20||\x200)\x20*\x20100/(campaign.ivrTotalCallsDays\x20)\x20:\x200\x20|\x20number:1}}%)\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{campaign.originated\x20||\x200}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{campaign.message\x20?\x20(\x27MOTIONDIALER.\x27+campaign.message\x20|\x20translate)\x20:\x20\x27--\x27}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{campaign.dialQueueProject\x20||\x20\x27--\x27}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Campaign\x0a','\x0a','\x20\x20\x0a','\x20\x20\x20\x20Queue\x20Calls\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20must\x20be\x20valid\x20pattern\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Strategy\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent_Timeout\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20OPENCHANNELQUEUE\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Add\x20Agent\x20to\x20openchannelQueue\x0a','app/main/apps/openchannel/views/openchannelQueues/edit/teamadd/teamadd.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Teams\x20Association\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.openchannelQueue.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.openchannelQueue.createdAt\x20|\x20date:\x27medium\x27}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Strategy\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent_Timeout\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent_Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OpenchannelQueues\x0a','\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedOpenchannelQueues.length}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27OPENCHANNEL.NAME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27OPENCHANNEL.STRATEGY\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{openchannelQueue.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{openchannelQueue.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22strategy\x20\x22>{{\x20vm.arraystrategy[openchannelQueue.strategy].option\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20agentadd\x20OpenchannelQueue\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20OpenchannelQueue\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20Agents\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27OPENCHANNEL.ALL\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27OPENCHANNEL.PARTIALPAUSE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27OPENCHANNEL.BUSY\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27OPENCHANNEL.IDLE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27OPENCHANNEL.AGENT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27OPENCHANNEL.NAME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27OPENCHANNEL.STATUS\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27OPENCHANNEL.LOGIN_TIME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27OPENCHANNEL.PAUSE_TIME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27OPENCHANNEL.NO_AGENT_ONLINE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27OPENCHANNEL.TOOLTIP_SCREENRECORDING_ON\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27OPENCHANNEL.TOOLTIP_SCREENRECORDING_OFF\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22OPENCHANNEL.LOGOUT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22OPENCHANNEL.AGENTADD_QUEUE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22OPENCHANNEL.START_SCREENRECORDING\x22>Start\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22OPENCHANNEL.STOP_SCREENRECORDING\x22>Stop\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22OPENCHANNEL.PAUSE\x22>Pause\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22OPENCHANNEL.DEFAULT_PAUSE\x22>Default\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22OPENCHANNEL.UNPAUSE\x22>\x0a','\x20\x20\x20\x20md-label=\x22{page:\x20\x27{{\x27OPENCHANNEL.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27OPENCHANNEL.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27OPENCHANNEL.OF\x27\x20|\x20translate}}\x27}\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20Queues\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27OPENCHANNEL.LOGGED_IN\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27OPENCHANNEL.WAITING\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x0a','app/main/apps/openchannel/views/realtime/realtime.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agents\x0a','\x0a','\x20\x20\x20\x20

Plugin\x20not\x20available...

\x0a','\x20\x20\x20\x20\x0a','app/main/apps/settings/views/cloudProviders/cloudProviders.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AiTools\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Back\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20selected\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22SETTINGS.MULTI_SELECT_TOGGLE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SETTINGS.ID\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SETTINGS.NAME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SETTINGS.SERVICE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{cloudProvider.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.arrayservice[cloudProvider.service].option\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20CloudProvider\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Service\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AccessKey\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AccessKey\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SecretAccesskey\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SecretAccesskey\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22cloudProviderForm.$invalid\x20||\x20cloudProviderForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20CLOUDPROVIDER\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a','app/main/apps/settings/views/customizations/create/dialog.html','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default_Logo\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default_Login_Logo\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default_Favicon\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default_Header_WhiteLabel\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Header_WhiteLabel\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Page_Title\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Page_Title\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20CUSTOMIZATION\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Customizations\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CUSTOMIZATIONS\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Header_WhiteLabel\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default_Preferred\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20LOGO\x0a','\x20\x20\x20\x20\x20\x20\x20\x20flow-drag-enter=\x22vm_cl.dropping=true\x22\x20flow-drag-leave=\x22vm_cl.dropping=false\x22\x20ng-class=\x22{\x27dropping\x27:vm.dropping}\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20LOGOLOGIN\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20PREFERRED\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20FAVICON\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20flow-drag-enter=\x22vm_cf.dropping=true\x22\x20flow-drag-leave=\x22vm_cf.dropping=false\x22\x20ng-class=\x22{\x27dropping\x27:vm.dropping}\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20You\x20can\x20also\x20drop\x20images\x20here\x20to\x20upload.\x20Only\x20PNG,\x20JPG,\x20ICO\x20-\x20Max.\x208MB\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','app/main/apps/settings/views/generals/create/dialog.html','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22SETTINGS.SAVE\x22\x20translate-attr-aria-label=\x22SETTINGS.SAVE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20General\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.saveGeneral()\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22(globalForm.$pristine\x20&&\x20motionbarForm.$pristine\x20&&\x20reportForm.$pristine\x20&&\x20agentOmniDesktopInterfaceForm.$pristine\x20&&\x20screenRecordingForm.$pristine\x20&&\x20securityForm.$pristine\x20&&\x20imapGeneralSettingsForm.$pristine\x20&&\x20SSOForm.$pristine\x20&&\x20aiToolsForm.$pristine)\x20||\x20(globalForm.$invalid\x20||\x20motionbarForm.$invalid\x20||\x20reportForm.$invalid\x20||\x20agentOmniDesktopInterfaceForm.$invalid\x20||\x20screenRecordingForm.$invalid\x20||\x20securityForm.$invalid\x20||\x20imapGeneralSettingsForm.$invalid\x20||\x20SSOForm.$invalid\x20||\x20aiToolsForm.$invalid)\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20translate=\x22SETTINGS.SAVE\x22\x20translate-attr-aria-label=\x22SETTINGS.SAVE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GLOBAL\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Min_Internal\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20chatTimeout\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20chatTimeout\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20chatTimeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MOTIONBAR\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MotionbarAutoUpdater\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MotionbarAutoUpdaterUrl\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MotionbarAutoUpdaterUrl\x20must\x20be\x20a\x20valid\x20url\x20http://www.xcally.com\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MotionbarRememberMe\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20REPORT\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Split\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SplitSizeCsv\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SplitSizePdf\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SplitSizePdf\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SplitSizeXlsx\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SplitSizeXlsx\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AGENTOMNIDESKTOPINTERFACE\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20messagesAlignment\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Alternate\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Right\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20messagesAlignment\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SCREENRECORDING\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20defaultScreenRecordingPath\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SECURITY\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Security_Suite\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20allowedLoginAttempts\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20blockDuration\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20blockDuration\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20loginMailFrequency\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x2210\x22\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20loginMailFrequency\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20loginMailFrequency\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x2010\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SSO\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Google_SSO_enabled\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AITOOLS\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Language\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20US\x20English\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20British\x20English\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Scottish\x20English\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Welsh\x20English\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20English\x20(Ireland)\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Indian\x20English\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Hindi\x20(India)\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Canadian\x20French\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20German\x20(Switzerland)\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20US\x20Spanish\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Brazilian\x20Portuguese\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Modern\x20Standard\x20Arabic\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Arabic\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Chinese\x20Mandarin\x20-\x20Mainland\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Korean\x20(Korea)\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Hebrew\x20(Israel)\x20-\x20This\x20language\x20is\x20not\x20available\x20for\x20the\x20Sentiment\x20Analysis\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Farsi\x20(Iran)\x20-\x20This\x20language\x20is\x20not\x20available\x20for\x20the\x20Sentiment\x20Analysis\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Telugu(India)\x20-\x20This\x20language\x20is\x20not\x20available\x20for\x20the\x20Sentiment\x20Analysis\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Tamil\x20-\x20This\x20language\x20is\x20not\x20available\x20for\x20the\x20Sentiment\x20Analysis\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Dutch\x20-\x20This\x20language\x20is\x20not\x20available\x20for\x20the\x20Sentiment\x20Analysis\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Turkish\x20(Turkey)\x20-\x20This\x20language\x20is\x20not\x20available\x20for\x20the\x20Sentiment\x20Analysis\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Indonesian(Indonesia)\x20-\x20This\x20language\x20is\x20not\x20available\x20for\x20the\x20Sentiment\x20Analysis\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Language\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Bucket\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Bucket\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20US\x20East\x20(Ohio)\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Asia\x20Pacific\x20(Mumbai)\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Asia\x20Pacific\x20(Hong\x20Kong)\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Asia\x20Pacific\x20(Seoul)\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Asia\x20Pacific\x20(Singapore)\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Asia\x20Pacific\x20(Tokyo)\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Canada\x20(Central)\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Europe\x20(Frankfurt)\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Europe\x20(Ireland)\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Europe\x20(London)\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TranscribeRegion\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TranscribeAccount\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20transcribeAccountId.name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TranscribeAccount\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SentimentAnalysis\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SentimentRegion\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SentimentAccount\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20sentimentAccountId.name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SentimentAccount\x20field\x20is\x20required\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20LICENSE\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20REQUEST\x20LICENSE\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Prices\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SETTINGS.PLAN\x27\x20|\x20translate\x20}}:\x20ANNUALLY\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.license.machineUuid\x20!==\x20vm.license.uuid\x20?\x20\x27SETTINGS.OLD_TOKEN\x27\x20:\x20\x27SETTINGS.TOKEN\x27\x20|\x20translate\x20}}:\x20{{vm.license.uuid}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SETTINGS.NEW_TOKEN_DETECTED\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27SETTINGS.NEW_TOKEN\x27\x20|\x20translate\x20}}:\x20{{vm.license.machineUuid}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SETTINGS.EXPIRATION_GRAY_PERIOD\x27\x20|\x20translate\x20}}:\x20{{vm.license.deadline\x20|\x20date:\x20\x27longDate\x27}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27SETTINGS.EXPIRATION_REASON\x27\x20|\x20translate\x20}}\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27SETTINGS.EXPIRATION_REASON_MESSAGE_DISABLED\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27SETTINGS.EXPIRATION_CHANGED_ADVISE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SETTINGS.SEND_EMAIL_TO\x27\x20|\x20translate\x20}}:\x20license@xcally.com.\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SETTINGS.TRIAL_VERSION\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SETTINGS.PRICES\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SETTINGS.STAFF\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

{{\x20vm.license.users\x20||\x200\x20}}\x20\x200}\x22>({{vm.license.users\x20>=\x20vm.users\x20?\x20vm.users\x20:\x20vm.license.users}})

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Users

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

{{\x20vm.license.agents\x20||\x200\x20}}\x20\x200)\x20}\x22>({{vm.license.agents\x20>=\x20vm.agents\x20?\x20vm.agents\x20:\x20vm.license.agents}})

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agents

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

{{\x20vm.license.telephones\x20||\x200\x20}}\x20\x200}\x22>({{vm.license.telephones\x20>=\x20vm.telephones\x20?\x20vm.telephones\x20:\x20vm.license.telephones}})

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SETTINGS.CHANNELS\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SETTINGS.\x27\x20+\x20(vm.license[channel.name]\x20?\x20\x27ENABLED\x27\x20:\x20\x27DISABLED\x27)\x20|\x20translate\x20}}

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SETTINGS.MODULES\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Restart\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20UNLIMITED\x20{{\x20\x27SETTINGS.\x27\x20+\x20session.label\x20|\x20uppercase\x20|\x20translate\x20}}

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SETTINGS.DISABLED\x27\x20|\x20translate\x20}}

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SETTINGS.ADDONS\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SETTINGS.\x27\x20+\x20(vm.license[addon.name]\x20?\x20\x27ENABLED\x27\x20:\x20\x27DISABLED\x27)\x20|\x20translate\x20}}

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SETTINGS.OTHERS\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SETTINGS.\x27\x20+\x20(vm.license[other.name]\x20?\x20\x27ENABLED\x27\x20:\x20\x27DISABLED\x27)\x20|\x20translate\x20}}

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20','app/main/apps/settings/views/license/request/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Email\x20must\x20be\x20a\x20valid\x20e-mail\x20address\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Plan\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MONTH\x20TO\x20MONTH\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ANNUALLY\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PERPETUAL\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Plan\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Users\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agents\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agents\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Telephones\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Telephones\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SETTINGS.CHANNELS\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SETTINGS.MODULES\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SETTINGS.SESSIONS\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Mandatory\x20field\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SETTINGS.ADDONS\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SETTINGS.OTHERS\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Update\x20License\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20UPDATE\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ExternIP\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Turn\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Stun\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20localNetAddress\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20localNetAddress\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Address\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-pattern=\x22/^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\x5c.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$/\x22\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Address\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Username\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Username\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Password\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20NETWORK\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Networks\x0a','\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SETTINGS.TYPE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SETTINGS.ADDRESS\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SETTINGS.CREATED_AT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{network.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.arraytype[network.type].option\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{network.createdAt\x20|\x20date:\x27medium\x27\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22SETTINGS.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22SETTINGS.EDIT_NETWORK\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Network\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AccountName\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EmailAddress\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EmailAddress\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EmailAddress\x20must\x20be\x20a\x20valid\x20e-mail\x20address\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SMTP_Service\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SMTP_Host\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SMTP_Host\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SMTP_Port\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SMTP_Secure\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SMTP_Username\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20SMTP\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GENERAL\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SMTP_Port\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SMTP_Authentication\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SMTP_Username\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SMTP_Password\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Must\x20contain\x20at\x20least\x208\x20characters,\x20with\x20a\x20minimum\x20of\x201\x20lowercase\x20letter,\x201\x20uppercase\x20letter,\x201\x20numeric\x20character\x20and\x201\x20special\x20character\x20~!?*@#$%^&-_=+[{]}.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SYSTEM\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GENERAL\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.system.system.manufacturer}}\x20{{vm.system.system.model}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.system.cpu.manufacturer}}\x20{{vm.system.cpu.brand}}\x20-\x20{{vm.system.cpu.speed}}\x20GHz\x20-\x20{{vm.system.cpu.cores}}\x20Cores\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.system.os.distro}}\x20-\x20{{vm.system.os.release}}\x20-\x20Kernel:\x20{{vm.system.os.kernel}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Host:\x20{{vm.system.os.hostname}}\x20-\x20Uptime:\x20{{vm.system.time.uptime\x20/\x2060\x20|\x20number:0}}\x20m\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TimeZone:\x20{{vm.system.time.timezone}}\x20({{vm.system.time.timezoneName}})\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AVG\x20Load\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.system.currentLoad.avgload\x20*\x20100\x20|\x20number:0}}%\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MEM\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27SETTINGS.FREE\x27\x20|\x20translate}}:\x20{{vm.system.mem.available\x20/\x201024\x20/\x201024\x20/\x201024\x20|\x20number:0}}\x20GB\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27SETTINGS.USED\x27\x20|\x20translate}}:\x20{{vm.system.mem.active\x20/\x201024\x20/\x201024\x20/\x201024\x20|\x20number:0}}\x20GB\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{(vm.system.mem.active\x20/\x20vm.system.mem.total)\x20*\x20100\x20|\x20number\x20:\x200}}%\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DISK\x20{{$index\x20+\x201}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27SETTINGS.FILE_SYSTEM\x27\x20|\x20translate}}:\x20{{disk.fs}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27SETTINGS.TOTAL\x27\x20|\x20translate}}:\x20{{disk.size\x20/\x201024\x20/\x201024\x20/\x201024\x20|\x20number:0}}\x20GB\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27SETTINGS.USED\x27\x20|\x20translate}}:\x20{{disk.used\x20/\x201024\x20/\x201024\x20/\x201024\x20|\x20number:0}}\x20GB\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{disk.use\x20|\x20number:0}}%\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NET\x20{{$index\x20+\x201}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27SETTINGS.INTERFACE\x27\x20|\x20translate}}:\x20{{net.iface}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IPv4:\x20{{net.ip4}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IPv6:\x20{{net.ip6}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27SETTINGS.NAME\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27SETTINGS.STATE\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20pmem\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20pcpu\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{process.command}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{process.state\x20|\x20uppercase}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{process.pcpu}}%\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20id\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20pid\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27SETTINGS.NAME\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27SETTINGS.STATE\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MEM\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CPU\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Actions\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{process.pm_id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{process.pid}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{process.name\x20==\x20\x27agi\x27\x20?\x20\x27agi\x20(Cally\x20Square\x20IVR)\x27\x20:\x20process.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{process.pm2_env.status\x20|\x20uppercase}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{process.monit.memory\x20/\x201024\x20/\x201024\x20|\x20number:0}}\x20MB\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{process.monit.cpu}}%\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20(vm.processes\x20|\x20map:\x20\x27monit.memory\x27\x20|\x20sum)\x20/\x201024\x20/\x201024\x20|\x20number:0\x20}}\x20MB\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27SETTINGS.COMMAND\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20pm2\x20list\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SETTINGS.PM2_LIST\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20pm2\x20start\x20<id\x20|\x20name>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SETTINGS.PM2_START\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20pm2\x20stop\x20<id\x20|\x20name\x20|\x20all>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SETTINGS.PM2_STOP\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20pm2\x20restart\x20<id\x20|\x20name>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SETTINGS.PM2_RESTART\x27\x20|\x20translate}}\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Update\x20Completed!\x20Thank\x20you\x20for\x20your\x20time.\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20In\x20order\x20to\x20complete\x20the\x20update,\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20please\x20click\x20on\x20reload\x20button\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Update\x20Error!\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Please\x20contact\x20your\x20administrator!\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RELOAD\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20UPDATES\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CURRENT\x20VERSION\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CHANGELOG\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NEW\x20VERSION\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.version.latest}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NO\x20NEW\x20VERSION\x20AVAILABLE\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20...\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Grab\x20a\x20quick\x20coffee\x20and\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20get\x20back\x20here\x20as\x20soon\x20as\x20completed\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20Agents\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.PAUSE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.PARTIALPAUSE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.IDLE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.AGENT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.NAME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.STATUS\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.LOGIN_TIME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.PAUSE_TIME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.NO_AGENT_ONLINE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.TOOLTIP_SCREENRECORDING_ON\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.TOOLTIP_SCREENRECORDING_OFF\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22SMS.LOGOUT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22SMS.AGENTADD_QUEUE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22SMS.SCREENRECORDING\x22>Screen\x20Recording\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22SMS.START_SCREENRECORDING\x22>Start\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22SMS.STOP_SCREENRECORDING\x22>Stop\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22SMS.PAUSE\x22>Pause\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22SMS.DEFAULT_PAUSE\x22>Default\x0a','\x20\x20\x20\x20\x20\x20\x20\x20Queues\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.LOGGED_IN\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.PAUSED\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.READY\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.WAITING\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agents\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Queues\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20key\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MotionProxy\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MotionProxy\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MotionProxy\x20must\x20be\x20a\x20valid\x20url\x20http://www.xcally.com\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MotionProxy\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Twilio\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Skebby\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Connectel\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Infobip\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Clickatell\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CSCTelecom\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Intelepeer\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Phone\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AccountSID\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AccountSID\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AuthID\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AuthID\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AuthToken\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Classic\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Method\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Username\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Username\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Password\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20BaseURL\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20BaseURL\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ApiKey\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ApiKey\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20SMSACCOUNT\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Add\x20Agent\x20to\x20smsAccount\x0a','app/main/apps/sms/views/smsAccounts/edit/apps/agent/dialog.html','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Timeout\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Timeout\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x202147483\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20accesskeyid\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20secretaccesskey\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20secretaccesskey\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20botname\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20botname\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20welcomemessage\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20welcomemessage\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20welcomemessage\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22SMS.SAVE\x22\x20translate-attr-aria-label=\x22SMS.SAVE\x22>\x0a','app/main/apps/sms/views/smsAccounts/edit/apps/autoreply/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20times\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Text\x20field\x20is\x20required\x0a','app/main/apps/sms/views/smsAccounts/edit/apps/close/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Disposition\x20field\x20is\x20required\x0a','app/main/apps/sms/views/smsAccounts/edit/apps/dialogflow/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Key\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Key\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20language\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Danish\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>German\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Thai\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20language\x20field\x20is\x20required\x0a','app/main/apps/sms/views/smsAccounts/edit/apps/gotoif/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20truepriority\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20truepriority\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20truepriority\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20falsepriority\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a','app/main/apps/sms/views/smsAccounts/edit/apps/gotop/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Priority\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Priority\x20field\x20is\x20required\x0a','app/main/apps/sms/views/smsAccounts/edit/apps/noop/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Value\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Value\x20field\x20is\x20required\x0a','app/main/apps/sms/views/smsAccounts/edit/apps/queue/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Queue\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Queue\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a','app/main/apps/sms/views/smsAccounts/edit/apps/system/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Command\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Variable\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Variable\x20field\x20is\x20required\x0a','app/main/apps/sms/views/smsAccounts/edit/apps/tag/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Tag\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Tag\x20field\x20is\x20required\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20SMSCANNEDANSWER\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20SMSDISPOSITION\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.smsAccount.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.smsAccount.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.smsAccount.createdAt\x20|\x20date:\x27medium\x27}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SETTINGS\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20key\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ClickSend\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Plivo\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Phone\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AuthToken\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Method\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SenderString\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SenderString\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SenderString\x20must\x20be\x20valid\x20pattern\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SenderString\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x2011\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20deliveryReport\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WaitForTheAssignedAgent\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WaitForTheAssignedAgent\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WaitForTheAssignedAgent\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WaitForTheAssignedAgent\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x202147483\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20receiveUrl\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20deliveryReportUrl\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NOTIFICATION\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20notificationShake\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20notificationTemplate\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TRANSFER\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20queueTransfer\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20queueTransferTimeout\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20queueTransferTimeout\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20queueTransferTimeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20agentTransfer\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20agentTransferTimeout\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20agentTransferTimeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PROXY\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20token\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20token\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DISPOSITION\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MandatoryDisposition\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MandatoryDispositionPauseId\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MandatoryDispositionPauseId\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DISPOSITIONS\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x20\x20SmsDispositions\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.ID\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.CREATED_AT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{smsDisposition.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{smsDisposition.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20smsDisposition.createdAt\x20|\x20formatdate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20SmsDisposition\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20SmsDisposition\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20smsdisposition\x20available\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20{{vm_dc.selectedSmsAccountSmsCannedAnswers.length}}\x20{{vm_dc.selectedSmsAccountSmsCannedAnswers.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.VALUE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.DESCRIPTION\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{smsCannedAnswer.key}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{smsCannedAnswer.value}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{smsCannedAnswer.description}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20SmsCannedAnswer\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20smscannedanswer\x20available\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ACTIONS\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{app.priority}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{app.app.toLowerCase()\x20===\x20\x27agi\x27\x20?\x20\x27Cally-Square\x27\x20:\x20app.app\x20|\x20ucfirst}}*\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{app.appdata}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20INTERACTIONS\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x20\x20Interactions\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20{{vm_dc.selectedSmsAccountInteractions.length}}\x20{{vm_dc.selectedSmsAccountInteractions.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.CONTACT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.STARTEDAT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.LASTMESSAGE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.STATUS\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.AGENT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.TAGS\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Download\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20interaction\x20available\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SmsAccounts\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedSmsAccounts.length}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20selected\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.ID\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.NAME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.KEY\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.TYPE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.PHONE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.DESCRIPTION\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{smsAccount.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22name\x20\x22\x20>{{smsAccount.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{smsAccount.key}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.arraytype[smsAccount.type].option\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22SMS.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AgentAdd\x20SmsAccount\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22SMS.DELETE_SMSACCOUNT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20SmsAccount\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','app/main/apps/sms/views/smsQueues/create/dialog.html','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20must\x20be\x20valid\x20pattern\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Strategy\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Strategy\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent_Timeout\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent_Timeout\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent_Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20SMSQUEUE\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Add\x20Agent\x20to\x20smsQueue\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Teams\x20Association\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.smsQueue.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.smsQueue.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.smsQueue.createdAt\x20|\x20date:\x27medium\x27}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent_Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x202147483\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SmsQueues\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Back\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedSmsQueues.length}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22SMS.MULTI_SELECT_TOGGLE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.STRATEGY\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20SmsQueue\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20SmsQueue\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20goToRealtime\x20SmsQueue\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agents\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Back\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22STAFF.MULTI_SELECT_TOGGLE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22STAFF.DELETE_SELECTED\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27STAFF.FULLNAME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27STAFF.USERNAME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27STAFF.SHOWWEBCONTROL\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27STAFF.EMAIL\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27STAFF.MOBILE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27STAFF.BLOCKED\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{agent.fullname}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{agent.email}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22phone\x20\x22\x20>{{agent.phone}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22internal\x20\x22\x20>{{agent.internal}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22disabled\x20\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22blocked\x20\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22STAFF.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Agent\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Agent\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Fullname\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Fullname\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Username\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.newAgent\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Username\x20must\x20be\x20valid\x20pattern\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Alias\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ShowWebControl\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20External\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ShowWebControl\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Email\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Email\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Email\x20must\x20be\x20a\x20valid\x20e-mail\x20address\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Password\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Password\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Must\x20contain\x20at\x20least\x208\x20characters,\x20with\x20a\x20minimum\x20of\x201\x20lowercase\x20letter,\x201\x20uppercase\x20letter,\x201\x20numeric\x20character\x20and\x201\x20special\x20character\x20~!?*@#$%^&-_=+[{]}.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Confirm\x20Password\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Confirm\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Your\x20password\x20did\x20not\x20match\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Internal\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Voicemail\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RemoteControl\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RemoteControlPort\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22agentForm.$invalid\x20||\x20agentForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22STAFF.SAVE\x22\x20translate-attr-aria-label=\x22STAFF.SAVE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20AGENT\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Old\x20Password\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-placeholder=\x22STAFF.OLD_PASSWORD\x22\x20required>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20New\x20Password\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20at\x20least\x208\x20characters,\x20with\x20a\x20minimum\x20of\x201\x20lowercase\x20letter,\x201\x20uppercase\x20letter,\x201\x20numeric\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20character\x20and\x201\x20special\x20character\x20~!?*@#$%^&-_=+[{]}.\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20New\x20password\x20must\x20be\x20different\x20from\x20old\x20one\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Confirm\x20field\x20is\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Your\x20password\x20did\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20not\x20match\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

{{vm.title}}

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Penalty\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Teams\x20Association\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.agent.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.agent.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.agent.createdAt\x20|\x20date:\x27medium\x27}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Channels\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Voice\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Motion\x20Bull\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Chat\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Email\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Sms\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Openchannel\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ACCOUNT\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PERSONAL_INFO\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Username\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Alias\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Phonebar\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>WebRTC\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Phone\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Phone\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Mobile\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Hotdesk\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20LoginInPause\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SECURITY_SUITE\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Last_Password_Reset_At\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No_Password_Change\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No_Password_Change\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Blocked\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20CHANGE_AVATAR\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20VOICE\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GENERAL\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Internal\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Transport\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20udp\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20tcp\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20wss\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>tls\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Host\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Host\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NAT\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20force_rport\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20comedia\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20yes\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>no\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>never\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>route\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Friend\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20User\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Peer\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AllowCodecs\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ulaw\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>alaw\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20g722\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20g729\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20opus\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AllowCodecs\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CallerId\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CallerId\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Context\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20context.name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Callgroup\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Callgroup\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Pickupgroup\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Pickupgroup\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20chanSpy\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Videosupport\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>No\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MonitorExtension\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CAPACITY\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ChatCapacity\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ChatCapacity\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ChatCapacity\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MailCapacity\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MailCapacity\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SMSCapacity\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SMSCapacity\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SMSCapacity\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OpenchannelCapacity\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OpenchannelCapacity\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20FaxCapacity\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20FaxCapacity\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20FaxCapacity\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WhatsappCapacity\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WhatsappCapacity\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WhatsappCapacity\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MOTIONBAR\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SETTINGS\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EnableSettings\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AutoAnswerDelay\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RingInUse\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EnableRecording\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EnableDtmfTone\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Dnd\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20UnansweredCallBadge\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EnableJawsIntegration\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EnableScreenRecordingByAgent\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EnableAutomaticScreenRecording\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20REMOTE_CONTROL\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RemoteControl\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SIP\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SipExpires\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SipExpires\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SipPort\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SipPort\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CALLFORWARDING\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Unconditional\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20UnconditionalNumber\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WEBRTC\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SETTINGS_WEBRTC\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dtlscertfile\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dtlscertfile\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AutoAnswerDelay\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SIP_WEBRTC\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GENERAL_PERMISSIONS\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20PERMISSIONS\x0a','\x0a','\x20\x20\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20{{\x20father.title\x20}}

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20child.title\x20}}

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20
\x0a','\x20\x20\x0a','\x20\x20All\x20modules\x20are\x20already\x20available.\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Add\x20Agent\x20to\x20team\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Teams\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedTeams.length}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20selected\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27STAFF.ID\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27STAFF.NAME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27STAFF.DESCRIPTION\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{team.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{team.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22description\x20\x22\x20>{{team.description}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22STAFF.EDIT_TEAM\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Team\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Team\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20team\x22\x20translate\x20translate-attr-aria-label=\x22STAFF.ADD_TEAM\x22>\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Accountname\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Accountname\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AutoInternal\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Voicemail\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22telephoneForm.$invalid\x20||\x20telephoneForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22telephoneForm.$invalid\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22STAFF.ADD_TELEPHONE\x22\x20translate-attr-aria-label=\x22STAFF.ADD_TELEPHONE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Password\x20field\x20is\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Must\x20contain\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.telephone.createdAt\x20|\x20date:\x27medium\x27}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ACCOUNT\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Mobile\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>ws\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Transport\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NAT\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20h264\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Context\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Yes\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Encryption\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Encryption\x20field\x20is\x20required\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Telephones\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedTelephones.length}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27STAFF.ACCOUNTNAME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27STAFF.INTERNAL\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{telephone.fullname}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22name\x20\x22\x20>{{telephone.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22email\x20\x22\x20>{{telephone.email}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22internal\x20\x22\x20>{{telephone.internal}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Telephone\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Telephone\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CrudPermissions\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27STAFF.READ_PERMISSION\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27STAFF.DELETE_PERMISSION\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CrudPermissions\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20USERPROFILE\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27STAFF.EDIT_PERMISSION\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22CLONE\x22\x20translate=\x22STAFF.CLONE_USERPROFILE\x22\x20translate-attr-aria-label=\x22STAFF.CLONE_USERPROFILE\x22>\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Sections\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22vm.selectedSection.enabled\x20?\x20\x27blue-500-bg\x27\x20:\x20\x27grey-A400-bg\x27\x22\x20ng-click=\x22vm.onChangeVisibility()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27STAFF.PERMISSIONS_SECTION_HIDE\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27STAFF.READ_PERMISSION\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22vm.selectedSection.allowDelete\x20?\x20\x27green-A700-bg\x27\x20:\x20\x27grey-A400-bg\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.setPermission(\x27delete\x27)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-change=\x22vm.onChangeAutoAssociation()\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Report\x20Type\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-change=\x22vm.onChangeReportType()\x22\x20required>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Custom\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','app/main/apps/staff/views/userProfiles/edit/view.html','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.gotoUserProfiles()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.userProfile.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.userProfile.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.userProfile.createdAt\x20|\x20date:\x27medium\x27}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22md-fab\x20md-amber-500-bg\x20md-icon-button\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PERMISSIONS\x0a','\x20\x20\x20\x20MODULES\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-colspan=\x222\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20father.status.info\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27STAFF.PERMISSIONS_MANAGE\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','app/main/apps/staff/views/userProfiles/userProfiles.html','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20UserProfiles\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27STAFF.CRUDPERMISSIONS\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{userProfile.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{userProfile.description}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{userProfile.selectedcrudPermissions}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20UserProfile\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20UserProfile\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20userProfile\x22\x20translate\x20translate-attr-aria-label=\x22STAFF.ADD_USERPROFILE\x22>\x0a','\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Role\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Role\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20UserProfile\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20userProfileId.name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AutoInternal\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20STAFF.MANAGE_API_KEY\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','app/main/apps/staff/views/users/edit/changepassword/changepassword.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22userForm.$invalid\x20||\x20userForm.$pristine\x22\x20aria-label=\x22SAVE\x22\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.gotoUsers()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22STAFF.GO_TO_USERS\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.user.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.user.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.user.createdAt\x20|\x20date:\x27medium\x27}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Admin\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20UserProfile\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Last_Password_Reset_At\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ApiKey\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Disabled\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Blocked\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Videosupport\x20field\x20is\x20required\x0a','app/main/apps/staff/views/users/users.html','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedUsers.length}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27STAFF.ROLE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27STAFF.USERPROFILE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27STAFF.FULLNAME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27STAFF.PHONE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27STAFF.DISABLED\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.arrayrole[user.role].option\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20(vm.userProfiles\x20|\x20filter\x20:\x20{\x27id\x27:user.userProfileId}\x20:\x20true)[0].name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{user.fullname}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22name\x20\x22\x20>{{user.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22email\x20\x22\x20>{{user.email}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{user.phone}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22mobile\x20\x22\x20>{{user.mobile}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22internal\x20\x22\x20>{{user.internal}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Back\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedCannedAnswers.length}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20selected\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.ID\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.KEY\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.VALUE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.DESCRIPTION\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{cannedAnswer.key}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22value\x20\x22\x20>{{cannedAnswer.value}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20CannedAnswer\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Key\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Key\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22cannedAnswerForm.$invalid\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22TOOLS.ADD_CANNEDANSWER\x22\x20translate-attr-aria-label=\x22TOOLS.ADD_CANNEDANSWER\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22customDashboardForm.$invalid\x20||\x20customDashboardForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22customDashboardForm.$invalid\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22TOOLS.ADD_CUSTOMDASHBOARD\x22\x20translate-attr-aria-label=\x22TOOLS.ADD_CUSTOMDASHBOARD\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20CUSTOMDASHBOARD\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CustomDashboards\x0a','\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedCustomDashboards.length}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22TOOLS.MULTI_SELECT_TOGGLE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.NAME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{customDashboard.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{customDashboard.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22description\x20\x22\x20>{{customDashboard.description}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22TOOLS.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20clone\x20CustomDashboard\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CLONE\x20CUSTOMDASHBOARD\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.COUNTER\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.MULTIBARCHART\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.PIECHART\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.IFRAME\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.CUSTOMTYPE\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Title\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Title\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Url\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Url\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Path\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Path\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Format\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Format\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Timezone\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GMT-12.00\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GMT-11.00\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>GMT-10.00\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GMT-9.00\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GMT-7.00\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GMT-6.00\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GMT-5.00\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GMT-4.00\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GMT-3.30\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>GMT-3.00\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>GMT-1.00\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GMT\x200.00\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GMT+2.00\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GMT+3.30\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GMT+4.30\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GMT+5.30\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GMT+5.45\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>GMT+6.00\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>GMT+6.30\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>GMT+7.00\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GMT+9.00\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GMT+9.30\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>GMT+10.00\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GMT+11.00\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>GMT+12.00\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GMT+13.00\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Timezone\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Metric\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.TOTAL\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.WAITING\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.ANSWERED\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.UNMANAGED\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Metric\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.ABANDONED\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27TOOLS.TALKING\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Serie2\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.NONE\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Serie3\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Serie3\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.searchReport()\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Report\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Refresh\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Refresh\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Refresh\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x205\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20attrVoiceQueues.name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20FontSize\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20FontSize\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20FontSize\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x2040\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20link\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20link\x20must\x20be\x20a\x20valid\x20url\x20http://www.xcally.com\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','app/main/apps/tools/views/customDashboards/edit/view.html','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.customDashboard.createdAt\x20|\x20date:\x27medium\x27}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SETTINGS\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DASHBOARD\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.ADD_WIDGET\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

Select\x20Report

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.currentNode.text}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.currentPath}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x22ANALYTICS.ID\x22\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20report.id\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20report.description\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20report.createdAt\x20|\x20date:\x20\x22medium\x22\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20CONFIRM\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22dispositionForm.$invalid\x20||\x20dispositionForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Dispositions\x0a','\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedDispositions.length}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{disposition.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Disposition\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','app/main/apps/tools/views/intervals/edit/intervals/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.interval.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.interval.createdAt\x20|\x20date:\x27medium\x27}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GENERAL\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20INTERVALS\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x20\x20Intervals\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20interval\x22\x20translate\x20translate-attr-label=\x22TOOLS.ADD_INTERVAL\x22>\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.NAME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.INTERVAL\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.CREATED_AT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{interval.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{interval.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{interval.interval}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20interval.createdAt\x20|\x20formatdate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Interval\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Interval\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20intervals\x20available\x0a','\x0a','\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{interval.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{interval.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20interval\x22\x20translate\x20translate-attr-aria-label=\x22TOOLS.ADD_INTERVAL\x22>\x0a','\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22pauseForm.$invalid\x20||\x20pauseForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Pauses\x0a','\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedPauses.length}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{pause.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22TOOLS.EDIT_PAUSE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22TOOLS.DELETE_PAUSE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Pause\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Report\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autocomplete=\x22off\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Output\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PDF\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Excel\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ValidityStart\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Date\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Date\x20is\x20invalid\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Time\x20is\x20invalid\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ValidityEnd\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Time\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Last\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Last\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Minutes\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Days\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Months\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Quarters\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20LastUnit\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SendMail\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MailAccount\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MailAccount\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EmailAddress\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EmailCcAddress\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EmailCcAddress\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EmailBccAddress\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SendIfEmpty\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22scheduleForm.$invalid\x20||\x20scheduleForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20SCHEDULE\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x22ANALYTICS.NAME\x22\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x22ANALYTICS.DESCRIPTION\x22\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x22ANALYTICS.CREATED_AT\x22\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-page=\x22vm.query.page\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20CANCEL\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Scheduler\x0a','\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedScheduler.length}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.ACTIVE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{schedule.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{schedule.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{schedule.startAt\x20|\x20date:\x27medium\x27\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22endAt\x20\x22>{{schedule.endAt\x20|\x20date:\x27medium\x27\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{schedule.description}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22TOOLS.EDIT_SCHEDULE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Schedule\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Schedule\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20SOUND\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Sounds\x0a','\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedSounds.length}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.AUDIO\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{sound.description}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Sound\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22TOOLS.DELETE_SOUND\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Sound\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Drop\x20to\x20upload\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Upload\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Uploading\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedTags.length}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.COLOR\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22id\x20\x22\x20>{{tag.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{tag.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22description\x20\x22\x20>{{tag.description}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22color\x20\x22\x20>{{tag.color}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22TOOLS.EDIT_TAG\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Tag\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Content\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22templateForm.$invalid\x20||\x20templateForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22TOOLS.ADD_TEMPLATE\x22\x20translate-attr-aria-label=\x22TOOLS.ADD_TEMPLATE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedTemplates.length}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22id\x20\x22\x20>{{template.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22name\x20\x22\x20>{{template.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{template.description}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Template\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.VOICE\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22vm.license.openchannel\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27TOOLS.OPENCHANNEL\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.CHAT\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.MAIL\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.SMS\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.FAX\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.WHATSAPP\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20TRIGGER\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.INTEGRATIONS\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.MOTION_BAR\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.JSCRIPTY\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.URL_FORWARD\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.BOT\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Action\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Project\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20data1.name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Project\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Popup\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>CTI\x20URL\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AutoCreateContact\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.NO\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AutoCreateContact\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GET\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20POST\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PUT\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Url\x20must\x20be\x20a\x20valid\x20url\x20http://www.xcally.com\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Timeout\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Timeout\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x2010\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Headers\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Body\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Script_Type\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Script_Type\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Script_Info\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Script_Info\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Script\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Script\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Integration\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-init=\x22vm.onIntegrationInit()\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Zendesk\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22(vm.newAction\x20&&\x20vm.hasSectionPermissions[1302])\x20||\x20!vm.newAction\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22(!vm.newAction\x20&&\x20!vm.hasSectionPermissions[1302])\x22\x20>Salesforce\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SugarCRM\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22(vm.newAction\x20&&\x20vm.hasSectionPermissions[1303])\x20||\x20!vm.newAction\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22(!vm.newAction\x20&&\x20!vm.hasSectionPermissions[1303])\x22\x20>Freshdesk\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Zoho\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22(!vm.newAction\x20&&\x20!vm.hasSectionPermissions[1308])\x22\x20>vTiger\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Dynamics365\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22(vm.newAction\x20&&\x20vm.hasSectionPermissions[1310])\x20||\x20!vm.newAction\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Freshsales\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Integration\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Account\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.newAction\x20&&\x20(!vm.newAction\x20&&\x20!vm.hasSectionPermissions[1301])\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22data2.canSelect\x20===\x20false\x22>{{\x20data2.name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Account\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.newAction\x20&&\x20(!vm.newAction\x20&&\x20!vm.hasSectionPermissions[1305])\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.newAction\x20&&\x20(!vm.newAction\x20&&\x20!vm.hasSectionPermissions[1308])\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.newAction\x20&&\x20(!vm.newAction\x20&&\x20!vm.hasSectionPermissions[1309])\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.newAction\x20&&\x20(!vm.newAction\x20&&\x20!vm.hasSectionPermissions[1310])\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.newAction\x20&&\x20(!vm.newAction\x20&&\x20!vm.hasSectionPermissions[1311])\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Configuration\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Configuration\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20data3.name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.newAction\x20&&\x20(!vm.newAction\x20&&\x20!vm.hasSectionPermissions[1307])\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.newAction\x20&&\x20(!vm.newAction\x20&&\x20!vm.hasSectionPermissions[1302])\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Application\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Application\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Arguments\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Arguments\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Template\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Template\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EventVariables\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27TOOLS.YES\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Location\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.NEW_TAB\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27TOOLS.NEW_WINDOW\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.MOTION_TAB\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Location\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WindowWidth\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WindowWidth\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WindowHeight\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WindowHeight\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20ACTION\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Field\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.QUEUE\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.CALL_STATUS\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.OUTBOUNDROUTE\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27TOOLS.AGENT\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22vm.trigger.channel\x20!=\x20\x27voice\x27\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27TOOLS.ACCOUNT\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.INTERACTION\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27TOOLS.MESSAGE\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Field\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Operator\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.EQUALS\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.NOT_EQUALS\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20value.name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Queue\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Queue\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OutboundRoute\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20value.exten\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OutboundRoute\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22value.canSelect\x20===\x20false\x22>{{\x20value.fullname\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Value\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Timeout\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Reject\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Value\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Opened\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Closed\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Incoming\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Accepted\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Rejected\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Operator\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Abandon\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Hangup\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Answer\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Outgoing\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20ANYCONDITION\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.trigger.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.trigger.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.trigger.createdAt\x20|\x20date:\x27medium\x27}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CONDITIONS&ACTIONS\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x20\x20AllConditions\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.ID\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.FIELD\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.OPERATOR\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.VALUE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.\x27\x20+\x20vm_dc.arrayfield[allCondition.field].option\x20|\x20uppercase\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm_dc.createOrEditTriggerAllCondition($event,\x20allCondition)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.\x27\x20+\x20vm_dc.arrayoperator[allCondition.operator].option\x20|\x20uppercase\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{allCondition.value}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20(vm_dc.smsAccounts\x20|\x20filter\x20:\x20{\x27id\x27:allCondition.value})[0].name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20(vm_dc.whatsappAccounts\x20|\x20filter\x20:\x20{\x27id\x27:allCondition.value})[0].name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20(vm_dc.faxAccounts\x20|\x20filter\x20:\x20{\x27id\x27:allCondition.value})[0].name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20(vm_dc.outboundRoutes\x20|\x20filter\x20:\x20{\x27id\x27:allCondition.value})[0].exten\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22vm.trigger.channel\x20==\x20\x27voice\x27\x20&&\x20allCondition.field\x20==\x20\x27lastevent\x27\x22\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm_dc.callStatusValues[allCondition.value].option\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22vm.trigger.channel\x20!=\x20\x27voice\x27\x20&&\x20allCondition.field\x20==\x20\x27message\x27\x22\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm_dc.messageStatusValues[allCondition.value].option\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20allCondition.createdAt\x20|\x20formatdate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20AllCondition\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20AllCondition\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x20\x20AnyConditions\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20{{vm_dc.selectedTriggerAnyConditions.length}}\x20{{vm_dc.selectedTriggerAnyConditions.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{anyCondition.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm_dc.createOrEditTriggerAnyCondition($event,\x20anyCondition)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.\x27\x20+\x20vm_dc.arrayfield[anyCondition.field].option\x20|\x20uppercase\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20(vm_dc.chatAccounts\x20|\x20filter\x20:\x20{\x27id\x27:anyCondition.value})[0].name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20(vm_dc.mailAccounts\x20|\x20filter\x20:\x20{\x27id\x27:anyCondition.value})[0].name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20(vm_dc.faxAccounts\x20|\x20filter\x20:\x20{\x27id\x27:anyCondition.value})[0].name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20(vm_dc.agents\x20|\x20filter\x20:\x20{\x27name\x27:anyCondition.value})[0].fullname\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22vm.trigger.channel\x20==\x20\x27voice\x27\x20&&\x20anyCondition.field\x20==\x20\x27lastevent\x27\x22\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm_dc.callStatusValues[anyCondition.value].option\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22vm.trigger.channel\x20!=\x20\x27voice\x27\x20&&\x20anyCondition.field\x20==\x20\x27interaction\x27\x22\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm_dc.interactionStatusValues[anyCondition.value].option\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22vm.trigger.channel\x20!=\x20\x27voice\x27\x20&&\x20anyCondition.field\x20==\x20\x27message\x27\x22\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm_dc.messageStatusValues[anyCondition.value].option\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20AnyCondition\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20AnyCondition\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20{{vm_dc.selectedTriggerActions.length}}\x20{{vm_dc.selectedTriggerActions.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.ACTION\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.TYPE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.INFO\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{action.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm_dc.createOrEditTriggerAction($event,\x20action)\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.\x27\x20+\x20vm_dc.arrayaction[action.action].option\x20|\x20uppercase\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20(vm_dc.projects\x20|\x20filter\x20:\x20{\x27id\x27:action.data1})[0].name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm_dc.browserValues[action.data1].option\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20(vm_dc.lists\x20|\x20filter\x20:\x20{\x27id\x27:action.data1})[0].name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22action.action\x20==\x20\x27contactManager\x27\x22\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22action.action\x20==\x20\x27urlForward\x27\x22\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm_dc.urlForwardValues[action.data1].option\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{action.data2}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{action.data1}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22action.action\x20==\x20\x27integration\x27\x22\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm_dc.integrationValues[action.data1].option\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20(vm_dc.zendeskAccounts\x20|\x20filter\x20:\x20{\x27id\x27:action.data2})[0].name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20(vm_dc.deskAccounts\x20|\x20filter\x20:\x20{\x27id\x27:action.data2})[0].name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20(vm_dc.salesforceAccounts\x20|\x20filter\x20:\x20{\x27id\x27:action.data2})[0].name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20(vm_dc.sugarcrmAccounts\x20|\x20filter\x20:\x20{\x27id\x27:action.data2})[0].name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20(vm_dc.vtigerAccounts\x20|\x20filter\x20:\x20{\x27id\x27:action.data2})[0].name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20(vm_dc.dynamics365Accounts\x20|\x20filter\x20:\x20{\x27id\x27:action.data2})[0].name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20(vm_dc.servicenowAccounts\x20|\x20filter\x20:\x20{\x27id\x27:action.data2})[0].name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20(vm_dc.freshsalesAccounts\x20|\x20filter\x20:\x20{\x27id\x27:action.data2})[0].name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22action.action\x20==\x20\x27motionbar\x27\x22\x20md-cell>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm_dc.motionbarValues[action.data1].option\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20(vm_dc.templates\x20|\x20filter\x20:\x20{\x27id\x27:action.data2})[0].name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20(vm_dc.templates\x20|\x20filter\x20:\x20{\x27id\x27:action.data2})[0].name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20action.createdAt\x20|\x20formatdate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Action\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Action\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20action\x20available\x0a','\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Triggers\x0a','\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedTriggers.length}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.CHANNEL\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.STATUS\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22id\x20\x22\x20>{{trigger.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.\x27\x20+\x20vm.arraychannel[trigger.channel].option\x20|\x20uppercase\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{trigger.description}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Trigger\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Trigger\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20trigger\x22\x20translate\x20translate-attr-aria-label=\x22TOOLS.ADD_TRIGGER\x22>\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.newTrunk\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20must\x20be\x20valid\x20pattern\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20active\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20host\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20secret\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20defaultuser\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20defaultuser\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20registry\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20registry\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20TRUNK\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CLONE\x20TRUNK\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.trunk.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20active\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20host\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Password\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20context\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20context\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20callerid\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20callerid\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20rfc2833\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>info\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20inband\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20auto\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dtmfmode\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20nat\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20nat\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20qualify\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AllowCodecs\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20g723\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20g726\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ilbc\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AllowCodecs\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20insecure\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20port\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20invite\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20very\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20insecure\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20call_limit\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20call_limit\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADVANCED\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20directmedia\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20nonat\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20update\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20directmedia\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fromdomain\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fromdomain\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fromuser\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20outboundproxy\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20outboundproxy\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Add_phone_to_URI\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Trust_Remote_Party_ID\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Trust_Remote_Party_ID\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Send_Remote_Party_ID_header\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.PAI\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Send_Remote_Party_ID_header\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20encryption\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20encryption\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20port\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Transport\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Transport\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20t38pt_udptl\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Videosupport\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Videosupport\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OTHERFIELDS\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OTHERFIELDS\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20otherFields\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Trunks\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedTrunks.length}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.HOST\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.REGISTRY\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22id\x20\x22\x20>{{trunk.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22host\x20\x22\x20>{{trunk.host}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22registry\x20\x22\x20>{{trunk.registry}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22description\x20\x22\x20>{{trunk.description}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Trunk\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20clone\x20Trunk\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Trunk\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22variableForm.$invalid\x20||\x20variableForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Variables\x0a','\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{variable.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22name\x20\x22\x20>{{variable.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{variable.description}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22TOOLS.DELETE_VARIABLE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Variable\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Rating\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27VIDEO.NO_RATING\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Rating\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22screenRecordingForm.$invalid\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20SCREENRECORDING\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Play\x20Recording\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.filename\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:\x20{{\x20vm.recording.updatedAt}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.app.toUpperCase()\x20+\x20\x27.CANT_PLAY_THIS_FILE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.filename\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

{{\x20value\x20}}

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ScreenRecordings\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Back\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedScreenRecordings.length}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20selected\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22VIDEO.MULTI_SELECT_TOGGLE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VIDEO.ID\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VIDEO.RATING\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VIDEO.AGENT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VIDEO.RECORDSTARTTIME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{screenRecording.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20(vm.users\x20|\x20filter\x20:\x20{\x27id\x27:screenRecording.UserId}\x20:\x20true)[0].fullname\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{screenRecording.closedAt\x20|\x20date:\x27medium\x27\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22VIDEO.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20play\x20screenRecording\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22VIDEO.DOWNLOAD_SCREENRECORDING\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20screenRecording\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','app/main/apps/voice/views/chanSpies/chanSpies.html','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ChanSpies\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedChanSpies.length}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20selected\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22VOICE.MULTI_SELECT_TOGGLE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.ID\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.NAME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.PREFIX\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.AUTH\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.RECORD\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{chanSpy.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{chanSpy.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22prefix\x20\x22\x20>{{chanSpy.prefix}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{chanSpy.description}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22VOICE.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20chanSpy\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22VOICE.DELETE_CHANSPY\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Prefix\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Options\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>b:\x20Only\x20spy\x20on\x20channels\x20involved\x20in\x20a\x20bridged\x20call.\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>B:\x20Instead\x20of\x20whispering\x20on\x20a\x20single\x20channel\x20barge\x20in\x20on\x20both\x20channels\x20involved\x20in\x20the\x20call.\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20E:\x20Exit\x20when\x20the\x20spied-on\x20channel\x20hangs\x20up.\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20o:\x20Only\x20listen\x20to\x20audio\x20coming\x20from\x20this\x20channel.\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20s:\x20Skip\x20the\x20playback\x20of\x20the\x20channel\x20type\x20(i.e.\x20SIP,\x20IAX,\x20etc)\x20when\x20speaking\x20the\x20selected\x20channel\x20name.\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20S:\x20Stop\x20when\x20no\x20more\x20channels\x20are\x20left\x20to\x20spy\x20on.\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20w:\x20Enable\x20whisper\x20mode,\x20so\x20the\x20spying\x20channel\x20can\x20talk\x20to\x20the\x20spied-on\x20channel.\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Options\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Auth\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Password\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Must\x20contain\x20at\x20least\x208\x20characters,\x20with\x20a\x20minimum\x20of\x201\x20lowercase\x20letter,\x201\x20uppercase\x20letter,\x201\x20numeric\x20character\x20and\x201\x20special\x20character\x20~!?*@#$%^&-_=+[{]}.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20recordingFormat\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Contexts\x0a','\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Back\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{context.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22name\x20\x22\x20>{{context.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22description\x20\x22\x20>{{context.description}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PhoneNumber\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PhoneNumber\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Context\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Context\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Project\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20project.name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Application_Name\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Application_Name\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Arguments\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','app/main/apps/voice/views/inboundroutes/edit/apps/dial/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Technology/Resource\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Technology/Resource\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Timeout\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Timeout\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Url\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Url\x20field\x20is\x20required\x0a','app/main/apps/voice/views/inboundroutes/edit/apps/externaldial/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Trunk\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Trunk\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Phone\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Extension\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Extension\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Priority\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Priority\x20field\x20is\x20required\x0a','app/main/apps/voice/views/inboundroutes/edit/apps/hangup/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.HANGUPCAUSE_1\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.HANGUPCAUSE_17\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.HANGUPCAUSE_18\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.HANGUPCAUSE_22\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.HANGUPCAUSE_27\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.HANGUPCAUSE_38\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20User\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','app/main/apps/voice/views/inboundroutes/edit/apps/playback/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Audio_Files\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20appdata.name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Audio_Files\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Answer\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Queue\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Queue\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Announce_Overrides\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20sound.name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agi\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Macro\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Macro\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Rule\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Rule\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Position\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Position\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Answer\x0a','app/main/apps/voice/views/inboundroutes/edit/apps/ringgroup/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20multipleUsers.name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20User\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Variable\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20name.name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Variable\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Value\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Value\x20field\x20is\x20required\x0a','app/main/apps/voice/views/inboundroutes/edit/apps/voicemail/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Mailbox@Context\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20voiceMail.mailbox\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Mailbox@Context\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.inboundroute.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.inboundroute.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.inboundroute.createdAt\x20|\x20date:\x27medium\x27}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SETTINGS\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{app.app.toLowerCase()\x20===\x20\x27agi\x27\x20?\x20\x27Cally-Square\x27\x20:\x20app.app\x20|\x20ucfirst}}*\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{app.appdata}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','app/main/apps/voice/views/inboundroutes/inboundroutes.html','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20InboundRoutes\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedInboundRoutes.length}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.PHONENUMBER\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{inboundroute.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{inboundroute.exten}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22description\x20\x22\x20>{{inboundroute.description}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22VOICE.EDIT_INBOUNDROUTE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20InboundRoute\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22VOICE.DELETE_INBOUNDROUTE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20inboundroute\x22\x20translate\x20translate-attr-aria-label=\x22VOICE.ADD_INBOUNDROUTE\x22>\x0a','\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20INTERNALROUTE\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Project\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Arguments\x20field\x20is\x20required\x0a','app/main/apps/voice/views/internalroutes/edit/apps/dial/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','app/main/apps/voice/views/internalroutes/edit/apps/externaldial/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20trunk.name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Phone\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','app/main/apps/voice/views/internalroutes/edit/apps/hangup/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Hangup_Cause\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.HANGUPCAUSE_16\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.HANGUPCAUSE_41\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Hangup_Cause\x20field\x20is\x20required\x0a','app/main/apps/voice/views/internalroutes/edit/apps/internaldial/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22user.canSelect\x20===\x20false\x22>{{\x20user.name\x20}}\x0a','app/main/apps/voice/views/internalroutes/edit/apps/playback/dialog.html','app/main/apps/voice/views/internalroutes/edit/apps/queue/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Announce_Overrides\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agi\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GoSub\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Position\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a','app/main/apps/voice/views/internalroutes/edit/apps/ringgroup/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.gotoInternalRoutes()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22VOICE.GO_TO_INTERNALROUTES\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.internalroute.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.internalroute.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.internalroute.createdAt\x20|\x20date:\x27medium\x27}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GENERAL\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20{{a.alias\x20||\x20a.appType}}

\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20{{vm_ac.selectedInternalRouteApps.length}}\x20{{vm_ac.selectedInternalRouteApps.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{app.app.toLowerCase()\x20===\x20\x27agi\x27\x20?\x20\x27Cally-Square\x27\x20:\x20app.app\x20|\x20ucfirst}}*\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{app.appdata}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedInternalRoutes.length}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.DESCRIPTION\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{internalroute.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{internalroute.exten}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22description\x20\x22\x20>{{internalroute.description}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20InternalRoute\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.FILES\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Mode\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Directory\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Directory\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Application\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Application\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.RANDOM\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20id.name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20File\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.gotoMusicOnHolds()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22VOICE.GO_TO_MUSICONHOLDS\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.musiconhold.createdAt\x20|\x20date:\x27medium\x27}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Mode\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.CUSTOM\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Sort\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27VOICE.ALPHABETICAL\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Sort\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x20\x20MohSounds\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20{{vm_dc.selectedMusicOnHoldMohSounds.length}}\x20{{vm_dc.selectedMusicOnHoldMohSounds.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.ID\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.AUDIO\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.CREATED_AT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20mohSound.createdAt\x20|\x20formatdate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20MohSound\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20mohsound\x20available\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MusicOnHolds\x0a','\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.MODE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.SORT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{musiconhold.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20MusicOnHold\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Recording\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20none\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CutDigits\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CutDigits\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CutDigits\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20OUTBOUNDROUTE\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Caller_ID\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Caller_ID\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Tags\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20None\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Tags\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22outboundrouteFormApp.$invalid\x20||\x20outboundrouteFormApp.$pristine\x22\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.outboundroute.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.outboundroute.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.outboundroute.createdAt\x20|\x20date:\x27medium\x27}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Recording\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ACTIONS\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20{{vm_ac.selectedOutboundRouteApps.length}}\x20{{vm_ac.selectedOutboundRouteApps.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{app.app.toLowerCase()\x20===\x20\x27agi\x27\x20?\x20\x27Cally-Square\x27\x20:\x20app.app\x20|\x20ucfirst}}*\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20(*)\x20-\x20Custom\x20application.\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedOutboundRoutes.length}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{outboundroute.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{outboundroute.exten}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22description\x20\x22\x20>{{outboundroute.description}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{call.calleridname}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{call.queuecallerabandonAt\x20?\x20(call.queuecallerabandonAt\x20|\x20formatdate)\x20:\x20undefined\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{call.disposition}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Dispose\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.ALL\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.PAUSE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.IDLE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.AGENT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.NAME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.STATUS\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.PAUSE_TIME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.NO_AGENT_ONLINE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.TOOLTIP_SCREENRECORDING_ON\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.TOOLTIP_SCREENRECORDING_OFF\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22VOICE.LOGOUT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22VOICE.AGENTADD_QUEUE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22VOICE.SCREENRECORDING\x22>Screen\x20Recording\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22VOICE.START_SCREENRECORDING\x22>Start\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22VOICE.STOP_SCREENRECORDING\x22>Stop\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22VOICE.PAUSE\x22>Pause\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22VOICE.DEFAULT_PAUSE\x22>Default\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22VOICE.UNPAUSE\x22>\x0a','\x20\x20\x20\x20md-label=\x22{page:\x20\x27{{\x27VOICE.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27VOICE.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27VOICE.OF\x27\x20|\x20translate}}\x27}\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20Ooutbound\x20Calls\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.SOURCE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.DESTINATION\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.DURATION\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{call.calleridname}},\x20{{call.calleridnum}}\x20{{hhours}}:{{mminutes}}:{{sseconds}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{call.exten}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Closing\x0a','\x0a','app/main/apps/voice/views/realtime/queue_calls/view.html','\x20\x20\x20\x20Queue\x20Calls\x0a','\x20\x20\x20\x20\x20-->\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.DID\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.QUEUE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.AGENT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{channel.connectedlinename}},\x20{{channel.connectedlinenum}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hhours}}:{{mminutes}}:{{sseconds}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Redirect\x20to\x20Agent\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20VOICE.TOTAL_OFFERED\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20VOICE.ANSWERED\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20VOICE.UNMANAGED\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20VOICE.AVG_DURATION\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20VOICE.AVG_BILLABLE\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{queue.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20(queue.answered\x20||\x200)\x20+\x20(queue.abandoned\x20||\x200)\x20+\x20(queue.unmanaged\x20||\x200)\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{queue.abandoned\x20||\x200}}\x20({{(queue.total)\x20?\x20(queue.abandoned\x20||\x200)\x20*\x20100/queue.total\x20:\x200\x20|\x20number:1}}%)\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{queue.unmanaged\x20||\x200}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{queue.answered\x20?\x20((queue.sumBillable\x20||\x200)\x20/\x20queue.answered)\x20:\x200\x20|\x20number:\x200\x20|\x20secToTime\x20|\x20date:\x27HH:mm:ss\x27}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20Queues\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.NAME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.LOGGED_IN\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.PAUSED\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.TALKING\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{(vm.queues[value].talking\x20||\x200)\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x0a','app/main/apps/voice/views/realtime/realtime.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agents\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Telephones\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Trunks\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Queues\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Queue\x20Calls\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Abandoned\x20Queue\x20Calls\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Queue\x20Parameters\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Outbound\x20Calls\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.INTERNAL\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.PHONE_STATE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.PHONE_STATUS\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27VOICE.\x27\x20+\x20telephone.status\x20|\x20uppercase\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{telephone.address}}\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.TRUNK_STATUS\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.REGISTRY\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{trunk.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27VOICE.\x27\x20+\x20trunk.status\x20|\x20uppercase\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27VOICE.\x27\x20+\x20trunk.stateRegistry\x20|\x20uppercase\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20FullName\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20FullName\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Email\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Email\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Email\x20must\x20be\x20a\x20valid\x20e-mail\x20address\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Password\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Confirm\x20Password\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MailBox\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.NO\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Attach\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.voicemail.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.voicemail.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Your\x20password\x20did\x20not\x20match\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Voicemail_Context\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Voicemail_Context\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADVANCED\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TimeZone\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27VOICE.YES\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Envelope\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Envelope\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EmailBody\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EmailSubject\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EmailSubject\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MaxSeconds\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MaxSeconds\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MaxSeconds\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MaxMessages\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MaxMessages\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MaxMessages\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MaxMessages\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x209999\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MESSAGES\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x20\x20Messages\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20{{vm_dc.selectedVoicemailMessages.length}}\x20{{vm_dc.selectedVoicemailMessages.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.RECEIVED_AT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20message.stamp\x20|\x20formatdate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Message\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20message\x20available\x0a','\x20\x20\x20\x20\x0a','app/main/apps/voice/views/voicemails/voicemails.html','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Voicemails\x0a','\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.FULLNAME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.EMAIL\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{voicemail.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22fullname\x20\x22\x20>{{voicemail.fullname}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{voicemail.email}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22mailbox\x20\x22\x20>{{voicemail.mailbox}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22VOICE.EDIT_VOICEMAIL\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Voicemail\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Voicemail\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OutboundRoute\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20VoiceExtensionId.exten\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OutboundRoute\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CallerIdAll\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CallerIdAll\x20must\x20be\x20valid\x20pattern\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20VOICEPREFIX\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Add\x20Agent\x20to\x20voicePrefix\x0a','\x0a','\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedVoicePrefixes.length}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.OUTBOUNDROUTE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.CALLERIDALL\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{voicePrefix.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{voicePrefix.callerIdAll}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20voicePrefix\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22VOICE.AGENTADD_VOICEPREFIX\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AgentAdd\x20voicePrefix\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.newVoiceQueue\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Fewest\x20Calls\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Weight\x20Random\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Strategy\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20VOICEQUEUE\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Penalty\x0a','app/main/apps/voice/views/voiceQueues/edit/teamadd/teamadd.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Teams\x20Association\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.voiceQueue.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Strategy\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Ringall\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MaxLength\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MaxLength\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Retry\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Retry\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WrapupTime\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WrapupTime\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WrapupTime\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Weight\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20JoinWhenEmpty\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20no\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22vm.voiceQueue.joinempty.length\x20===\x201\x20&&\x20vm.voiceQueue.joinempty[0]\x20===\x20\x27yes\x27\x22\x20>yes\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20strict\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20loose\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22vm.voiceQueue.joinempty.length\x20===\x201\x20&&\x20vm.voiceQueue.joinempty[0]\x20===\x20\x27penalty\x27\x22\x20>penalty\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20inuse\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20unknown\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20JoinWhenEmpty\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20no\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22vm.voiceQueue.leavewhenempty.length\x20===\x201\x20&&\x20vm.voiceQueue.leavewhenempty[0]\x20===\x20\x27yes\x27\x22\x20>yes\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22vm.voiceQueue.leavewhenempty.length\x20===\x201\x20&&\x20vm.voiceQueue.leavewhenempty[0]\x20===\x20\x27strict\x27\x22\x20>strict\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22vm.voiceQueue.leavewhenempty.length\x20===\x201\x20&&\x20vm.voiceQueue.leavewhenempty[0]\x20===\x20\x27paused\x27\x22\x20>paused\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20penalty\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22vm.voiceQueue.leavewhenempty.length\x20===\x201\x20&&\x20vm.voiceQueue.leavewhenempty[0]\x20===\x20\x27inuse\x27\x22\x20>inuse\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22vm.voiceQueue.leavewhenempty.length\x20===\x201\x20&&\x20vm.voiceQueue.leavewhenempty[0]\x20===\x20\x27ringing\x27\x22\x20>ringing\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22vm.voiceQueue.leavewhenempty.length\x20===\x201\x20&&\x20vm.voiceQueue.leavewhenempty[0]\x20===\x20\x27unavailable\x27\x22\x20>unavailable\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22vm.voiceQueue.leavewhenempty.length\x20===\x201\x20&&\x20vm.voiceQueue.leavewhenempty[0]\x20===\x20\x27unknown\x27\x22\x20>unknown\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20wrapup\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20LeaveWhenEmpty\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AnnounceToAgent\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20None\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20announce.name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ANNOUNCEMENTS\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SETTINGS\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AnnounceFrequency\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AnnounceFrequency\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MinAnnounceFrequency\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MinAnnounceFrequency\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PeriodicAnnounceFrequency\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PeriodicAnnounceFrequency\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RandomPeriodicAnnounce\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RandomPeriodicAnnounce\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AnnounceHoldtime\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Once\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AnnounceHoldtime\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AnnounceCallerPosition\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20More\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AnnounceCallerPosition\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AnnouncePositionLimit\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ReportHoldtimeAgent\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ReportHoldtimeAgent\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20periodic_announce.name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PeriodicAnnounce\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HoldTimeAnnounce\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Disabled\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20queue_reporthold.name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HoldTimeAnnounce\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YouareNextAnnounce\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YouareNextAnnounce\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20queue_thereare.name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ThereareAnnounce\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WaitingCallsAnnounce\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WaitingCallsAnnounce\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EstimatedHoldTimeAnnounce\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20queue_holdtime.name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EstimatedHoldTimeAnnounce\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MinutesAnnounce\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20queue_minutes.name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20queue_minute.name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MinuteAnnounce\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SecondsAnnounce\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20queue_thankyou.name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADVANCED\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AfterCallWork\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AfterCallWorkDuration\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AutoPause\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MemberDelay\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MemberDelay\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MemberDelay\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TimeoutRestart\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TimeoutRestart\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MonitorFormat\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MonitorFormat\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SetInterfaceVariables\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SetQueueVariables\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SetQueueVariables\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SetQueueEntryVariables\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ServiceLevel\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ServiceLevel\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ServiceLevel\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x20100\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MandatoryDisposition\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MandatoryDispositionPauseId\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedVoiceQueues.length}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.STRATEGY\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{voiceQueue.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{voiceQueue.description}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22VOICE.EDIT_VOICEQUEUE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20VoiceQueue\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20voiceQueue\x22\x20translate\x20translate-attr-aria-label=\x22VOICE.ADD_VOICEQUEUE\x22>\x0a','\x20\x20\x20\x20\x0a','app/main/apps/voice/views/voiceRecordings/create/dialog.html','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Rating\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27VOICE.NO_RATING\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Rating\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22VOICE.GO_TO_VOICERECORDINGS\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.voiceRecording.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.voiceRecording.createdAt\x20|\x20date:\x27medium\x27}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20VOICERECORDINGS\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20UniqueId\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20UniqueId\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Caller\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Caller\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Called\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Connected\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TRANSCRIPTANALYSIS\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TRANSCRIPT\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Text\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20FailureReason\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Sentiment\x20Analysis\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm_ss.voiceRecording.sentiment}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.SENTIMENT\x27\x20|\x20translate\x20|\x20uppercase\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.SENTIMENT_NEGATIVE\x27\x20|\x20translate\x20|\x20uppercase\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{\x20(vm_ss.voiceRecording.sNeutral\x20||\x200)\x20*\x20100\x20|\x20number:\x202\x20\x20}}%)\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.SENTIMENT_NEUTRAL\x27\x20|\x20translate\x20|\x20uppercase\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{\x20(vm_ss.voiceRecording.sMixed\x20||\x200)\x20*\x20100\x20|\x20number:\x202\x20\x20}}%)\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20VoiceRecordings\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedVoiceRecordings.length}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27VOICE.RUNTRANSCRIBE_VOICERECORDING\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27VOICE.RUNSENTIMENT_VOICERECORDING\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.TYPE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.UNIQUEID\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.CALLER\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.CALLED\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.CONNECTED\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.AGENT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.RATING\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.AUDIO\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.DATE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.DISPOSITION\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{voiceRecording.type}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22uniqueid\x20\x22\x20>{{voiceRecording.uniqueid}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22calleridnum\x20\x22\x20>{{voiceRecording.calleridnum}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{voiceRecording.queue}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22membername\x20\x22\x20>{{voiceRecording.membername}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22rating\x20\x22>No\x20rating\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22createdAt\x20\x22>{{voiceRecording.createdAt\x20|\x20date:\x27medium\x27\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{voiceRecording.userDisposition}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22transcribeStatus\x20\x22\x20\x20ng-if=\x22vm.license.ai\x22\x20>{{\x20\x27VOICE.TRANSCRIBESTATUS_\x27\x20+\x20voiceRecording.transcribeStatus\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22sentiment\x20\x22\x20\x20ng-if=\x22vm.license.ai\x22\x20>{{voiceRecording.sentiment}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20VoiceRecording\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RunTranscribe\x20VoiceRecording\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22VOICE.RUNTRANSCRIBESENTIMENT_VOICERECORDING\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RunTranscribeSentiment\x20VoiceRecording\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22VOICE.RUNSENTIMENT_VOICERECORDING\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RunSentiment\x20VoiceRecording\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DownloadTranscribe\x20VoiceRecording\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Download\x20VoiceRecording\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20VoiceRecording\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20Agents\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.ALL\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.PAUSE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.PARTIALPAUSE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.BUSY\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.IDLE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.AGENT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.NAME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.STATUS\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.LOGIN_TIME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.PAUSE_TIME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22WHATSAPP.LOGOUT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22WHATSAPP.AGENTADD_QUEUE\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22WHATSAPP.SCREENRECORDING\x22>Screen\x20Recording\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22WHATSAPP.START_SCREENRECORDING\x22>Start\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22WHATSAPP.PAUSE\x22>Pause\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22WHATSAPP.DEFAULT_PAUSE\x22>Default\x0a','\x20\x20\x20\x20md-label=\x22{page:\x20\x27{{\x27WHATSAPP.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27WHATSAPP.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27WHATSAPP.OF\x27\x20|\x20translate}}\x27}\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20Queues\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.LOGGED_IN\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.READY\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.WAITING\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agents\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20key\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20key\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x205\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MotionProxy\x20must\x20be\x20a\x20valid\x20url\x20http://www.xcally.com\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MotionProxy\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AccountSID\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AuthToken\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20phone\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22whatsappAccountForm.$invalid\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22WHATSAPP.ADD_WHATSAPPACCOUNT\x22\x20translate-attr-aria-label=\x22WHATSAPP.ADD_WHATSAPPACCOUNT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20WHATSAPPACCOUNT\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Add\x20Agent\x20to\x20whatsappAccount\x0a','app/main/apps/whatsapp/views/whatsappAccounts/edit/apps/agent/dialog.html','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Timeout\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Timeout\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x202147483\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20accesskeyid\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20accesskeyid\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20secretaccesskey\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20lexregion\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20lexregion\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20botname\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20botname\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20welcomemessage\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20welcomemessage\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22whatsappAccountFormApp.$invalid\x20||\x20whatsappAccountFormApp.$pristine\x22\x0a','app/main/apps/whatsapp/views/whatsappAccounts/edit/apps/autoreply/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20times\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20times\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Text\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Text\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Disposition\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Disposition\x20field\x20is\x20required\x0a','app/main/apps/whatsapp/views/whatsappAccounts/edit/apps/dialogflow/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Key\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Key\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20language\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20language\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20welcomemessage\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','app/main/apps/whatsapp/views/whatsappAccounts/edit/apps/gotoif/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Condition\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Condition\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20truepriority\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20truepriority\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20truepriority\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20falsepriority\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20falsepriority\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20falsepriority\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Priority\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Priority\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Priority\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a','app/main/apps/whatsapp/views/whatsappAccounts/edit/apps/noop/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Value\x20field\x20is\x20required\x0a','app/main/apps/whatsapp/views/whatsappAccounts/edit/apps/queue/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Queue\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Queue\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a','app/main/apps/whatsapp/views/whatsappAccounts/edit/apps/system/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Command\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Command\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Variable\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','app/main/apps/whatsapp/views/whatsappAccounts/edit/apps/tag/dialog.html','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Tag\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Tag\x20field\x20is\x20required\x0a','app/main/apps/whatsapp/views/whatsappAccounts/edit/view.html','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.whatsappAccount.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.whatsappAccount.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.whatsappAccount.createdAt\x20|\x20date:\x27medium\x27}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SETTINGS\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GENERAL\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AccountSID\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20receiveUrl\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20deliveryReportUrl\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WaitForTheAssignedAgent\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WaitForTheAssignedAgent\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WaitForTheAssignedAgent\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WaitForTheAssignedAgent\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x202147483\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NOTIFICATION\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20notificationShake\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20notificationSound\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20notificationTemplate\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TRANSFER\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20queueTransferTimeout\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20queueTransferTimeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x202147483\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20agentTransfer\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20agentTransferTimeout\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20agentTransferTimeout\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20agentTransferTimeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PROXY\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20token\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20token\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DISPOSITION\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MandatoryDisposition\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MandatoryDispositionPauseId\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MandatoryDispositionPauseId\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DISPOSITIONS\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x20\x20WhatsappDispositions\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.ID\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.NAME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.CREATED_AT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{whatsappDisposition.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{whatsappDisposition.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20whatsappDisposition.createdAt\x20|\x20formatdate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20WhatsappDisposition\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20WhatsappDisposition\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20whatsappCannedAnswer\x22\x20translate\x20translate-attr-label=\x22WHATSAPP.ADD_WHATSAPPCANNEDANSWER\x22>\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20{{vm_dc.selectedWhatsappAccountWhatsappCannedAnswers.length}}\x20{{vm_dc.selectedWhatsappAccountWhatsappCannedAnswers.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.KEY\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.VALUE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.DESCRIPTION\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{whatsappCannedAnswer.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20WhatsappCannedAnswer\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20WhatsappCannedAnswer\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ACTIONS\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20{{vm_ac.selectedWhatsappAccountApps.length}}\x20{{vm_ac.selectedWhatsappAccountApps.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{app.priority}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{app.app.toLowerCase()\x20===\x20\x27agi\x27\x20?\x20\x27Cally-Square\x27\x20:\x20app.app\x20|\x20ucfirst}}*\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{app.appdata}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20INTERACTIONS\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20Interactions\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22refresh\x20Interactions\x22\x20translate\x20translate-attr-label=\x22WHATSAPP.REFRESH_INTERACTIONS\x22>\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20{{vm_dc.selectedWhatsappAccountInteractions.length}}\x20{{vm_dc.selectedWhatsappAccountInteractions.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.CONTACT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.STARTEDAT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.LASTMESSAGE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.AGENT\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.TAGS\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20interaction\x20available\x0a','\x20\x20\x20\x20\x0a','app/main/apps/whatsapp/views/whatsappAccounts/edit/whatsappCannedAnswers/dialog.html','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Value\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22whatsappCannedAnswerForm.$invalid\x20||\x20whatsappCannedAnswerForm.$pristine\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Back\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedWhatsappAccounts.length}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20selected\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.ID\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.KEY\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.LIST\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.PHONE\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.DESCRIPTION\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{whatsappAccount.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{whatsappAccount.key}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22ListId\x20\x22>{{\x20(vm.lists\x20|\x20filter\x20:\x20{\x27id\x27:whatsappAccount.ListId}\x20:\x20true)[0].name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.arraytype[whatsappAccount.type].option\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22phone\x20\x22\x20>{{whatsappAccount.phone}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22description\x20\x22\x20>{{whatsappAccount.description}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20WhatsappAccount\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Interactions\x20WhatsappAccount\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22WHATSAPP.AGENTADD_WHATSAPPACCOUNT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22WHATSAPP.DELETE_WHATSAPPACCOUNT\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20WhatsappAccount\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.newWhatsappQueue\x22\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20must\x20be\x20valid\x20pattern\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Strategy\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent_Timeout\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent_Timeout\x20field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent_Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x202147483\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Add\x20Agent\x20to\x20whatsappQueue\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Teams\x20Association\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.whatsappQueue.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.whatsappQueue.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.whatsappQueue.createdAt\x20|\x20date:\x27medium\x27}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent_Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WhatsappQueues\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedWhatsappQueues.length}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.NAME\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.STRATEGY\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22id\x20\x22\x20>{{whatsappQueue.id}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{whatsappQueue.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20WhatsappQueue\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20teamadd\x20WhatsappQueue\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','app/navigation/layouts/horizontal-navigation/navigation.html','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.unreadTotalMessages}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MESSENGER\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.unreadTotalGroupMessages}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GROUPS\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','app/quick-panel/tabs/activity/activity-tab.html','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20{{contact.unread}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{friend.message}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{friend.time}}

\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20Application\x20Servers\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

{{server.detail}}

\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{stat.title}}\x20({{stat.current}}\x20/\x20{{stat.total}})\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','app/quick-panel/tabs/chat/chat-tab.html','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20All\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Online\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Offline\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-repeat=\x22user\x20in\x20vm_ct.users.rows\x20|\x20orderBy:\x20\x27-lastMessageAt\x27\x20|\x20filter:vm_ct.search\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'];(function(_0xba60f1,_0x3b111b){var _0x120520=function(_0x53334a){while(--_0x53334a){_0xba60f1['push'](_0xba60f1['shift']());}};_0x120520(++_0x3b111b);}(_0x77d4,0x108));var _0x477d=function(_0x4ccf96,_0x34978e){_0x4ccf96=_0x4ccf96-0x0;var _0xd103b7=_0x77d4[_0x4ccf96];return _0xd103b7;};(function(){'use strict';angular['module'](_0x477d('0x0'),[]);}());(function(){'use strict';angular['module'](_0x477d('0x1'),['ngAnimate',_0x477d('0x2'),_0x477d('0x3'),'ngMessages','ngResource',_0x477d('0x4'),_0x477d('0x5'),_0x477d('0x6'),_0x477d('0x7'),_0x477d('0x8'),_0x477d('0x9'),'ds.clock','angucomplete-alt']);}());(function(){'use strict';_0x2c326c[_0x477d('0xa')]=['$stateProvider','$translatePartialLoaderProvider'];angular[_0x477d('0xb')](_0x477d('0xc'),[])[_0x477d('0xd')](_0x2c326c);function _0x2c326c(_0x1cef1c,_0x58ff29){_0x1cef1c[_0x477d('0xe')]('app.errors_error-404',{'url':_0x477d('0xf'),'views':{'main@':{'templateUrl':_0x477d('0x10'),'controller':'MainController\x20as\x20vm'},'content@app.errors_error-404':{'templateUrl':_0x477d('0x11'),'controller':_0x477d('0x12')}},'params':{'status':0x194,'statusText':'','data':{},'config':{}},'bodyClass':'error-404'});_0x58ff29['addPart'](_0x477d('0x13'));}}());(function(){'use strict';_0x38a0a8[_0x477d('0xa')]=['$stateProvider',_0x477d('0x14')];angular[_0x477d('0xb')]('app.errors.error-500',[])['config'](_0x38a0a8);function _0x38a0a8(_0x4bbfef,_0x30481f){_0x4bbfef[_0x477d('0xe')](_0x477d('0x15'),{'url':'/errors/error-500','views':{'main@':{'templateUrl':_0x477d('0x10'),'controller':_0x477d('0x16')},'content@app.errors_error-500':{'templateUrl':_0x477d('0x17'),'controller':_0x477d('0x18')}},'params':{'status':0x1f4,'statusText':'','data':{},'config':{}},'bodyClass':'error-500'});_0x30481f[_0x477d('0x19')]('app/errors/500');}}());(function(){'use strict';angular[_0x477d('0xb')](_0x477d('0x1a'),[_0x477d('0xc'),_0x477d('0x1b')]);}());(function(){'use strict';_0xe934a7[_0x477d('0xa')]=[_0x477d('0x14')];angular['module'](_0x477d('0x1c'),[])['config'](_0xe934a7);function _0xe934a7(_0x24a6d5){_0x24a6d5[_0x477d('0x19')](_0x477d('0x1d'));}}());(function(){'use strict';_0x3d2943[_0x477d('0xa')]=[_0x477d('0x1e'),_0x477d('0x14')];angular[_0x477d('0xb')](_0x477d('0x1f'),[])[_0x477d('0xd')](_0x3d2943);function _0x3d2943(_0x3525e8,_0x43c845){_0x3525e8[_0x477d('0xe')]('app.forgot',{'url':_0x477d('0x20'),'views':{'main@':{'templateUrl':'app/core/layouts/content-only.html','controller':_0x477d('0x16')},'content@app.forgot':{'templateUrl':_0x477d('0x21'),'controller':_0x477d('0x22')}},'bodyClass':_0x477d('0x23')});_0x43c845['addPart'](_0x477d('0x24'));}}());(function(){'use strict';_0x3c6270[_0x477d('0xa')]=[_0x477d('0x14')];angular['module']('app.header',[])[_0x477d('0xd')](_0x3c6270);function _0x3c6270(_0x386df5){_0x386df5['addPart'](_0x477d('0x25'));}}());(function(){'use strict';angular[_0x477d('0xb')](_0x477d('0x26'),[_0x477d('0x27'),_0x477d('0x1'),'app.auth',_0x477d('0x28'),_0x477d('0x29'),_0x477d('0x2a'),_0x477d('0x2b'),_0x477d('0x1c'),_0x477d('0x2c'),_0x477d('0x2d'),_0x477d('0x2e'),_0x477d('0x2f'),_0x477d('0x30'),_0x477d('0x31'),_0x477d('0x32'),_0x477d('0x33'),_0x477d('0x34'),_0x477d('0x35'),_0x477d('0x36'),_0x477d('0x37'),_0x477d('0x38'),_0x477d('0x39'),_0x477d('0x3a'),'app.help',_0x477d('0x3b'),'app.marketplace',_0x477d('0x3c'),_0x477d('0x3d'),_0x477d('0x3e'),'app.login',_0x477d('0x1f'),_0x477d('0x3f'),_0x477d('0x1a')]);}());(function(){'use strict';_0x6ab99b[_0x477d('0xa')]=[_0x477d('0x1e'),_0x477d('0x14')];angular[_0x477d('0xb')](_0x477d('0x40'),[])[_0x477d('0xd')](_0x6ab99b);function _0x6ab99b(_0x5d8405,_0x36a247){_0x5d8405[_0x477d('0xe')](_0x477d('0x40'),{'url':'/login?token&userId','views':{'main@':{'templateUrl':_0x477d('0x10'),'controller':_0x477d('0x16')},'content@app.login':{'templateUrl':_0x477d('0x41'),'controller':'LoginController\x20as\x20vm'}},'bodyClass':'login'});_0x36a247[_0x477d('0x19')](_0x477d('0x42'));}}());(function(){'use strict';_0x131f61[_0x477d('0xa')]=[_0x477d('0x1e'),_0x477d('0x14'),'msApiProvider',_0x477d('0x43')];angular['module'](_0x477d('0x37'),[_0x477d('0x44'),_0x477d('0x45'),'md.data.table','flow',_0x477d('0x46'),_0x477d('0x47'),_0x477d('0x48'),_0x477d('0x2'),'ngAnimate',_0x477d('0x49'),_0x477d('0x4a'),_0x477d('0x4b'),_0x477d('0x4c'),_0x477d('0x4d'),'angular-cron-jobs',_0x477d('0x4e'),_0x477d('0x4f'),'material.components.expansionPanels',_0x477d('0x50'),'angular.filter',_0x477d('0x51')])[_0x477d('0xd')](_0x131f61);function _0x131f61(_0x335b2a,_0x1f9552,_0x10bbed,_0x20a45a){_0x335b2a[_0x477d('0xe')](_0x477d('0x37'),{'abstract':!![],'url':'/analytics'})[_0x477d('0xe')](_0x477d('0x52'),{'url':_0x477d('0x53'),'views':{'content@app':{'templateUrl':_0x477d('0x54'),'controller':'MetricsController\x20as\x20vm'}},'resolve':{'metrics':['apiResolver',_0x477d('0x55'),function(_0x1d2613,_0x5ebe8f){return _0x5ebe8f[_0x477d('0x56')]('admin')?_0x1d2613['resolve'](_0x477d('0x57'),{'fields':_0x477d('0x58'),'sort':_0x477d('0x59'),'limit':0xa,'offset':0x0}):_0x1d2613[_0x477d('0x5a')](_0x477d('0x5b'),{'id':_0x5ebe8f[_0x477d('0x5c')]()['userProfileId'],'section':_0x477d('0x5d'),'fields':_0x477d('0x58'),'sort':_0x477d('0x59'),'limit':0xa,'offset':0x0});}],'userProfile':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x4f80f3,_0x4aad41){return _0x4aad41[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x4f80f3[_0x477d('0x5a')]('userProfile@get',{'fields':_0x477d('0x60'),'id':_0x4aad41[_0x477d('0x5c')]()[_0x477d('0x61')]});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x44785b,_0x13f606){return _0x13f606['hasRole'](_0x477d('0x5f'))?null:_0x44785b[_0x477d('0x5a')](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x13f606[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0x4b1});}]},'authenticate':!![],'permissionId':0x4b1,'bodyClass':_0x477d('0x64')})[_0x477d('0xe')](_0x477d('0x65'),{'url':_0x477d('0x66'),'views':{'content@app':{'templateUrl':_0x477d('0x67'),'controller':_0x477d('0x68')}},'resolve':{'extractedReports':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x38a9b1,_0x5074cd){return _0x5074cd[_0x477d('0x56')](_0x477d('0x5f'))?_0x38a9b1['resolve']('analyticExtractedReport@get',{'fields':'createdAt,updatedAt,id,name,basename,savename,type,startDate,endDate,status,output,reportId,reportType','sort':_0x477d('0x59'),'limit':0xa,'offset':0x0}):_0x38a9b1[_0x477d('0x5a')](_0x477d('0x5b'),{'id':_0x5074cd[_0x477d('0x5c')]()[_0x477d('0x61')],'section':_0x477d('0x69'),'fields':_0x477d('0x6a'),'sort':_0x477d('0x59'),'limit':0xa,'offset':0x0});}],'userProfile':['apiResolver',_0x477d('0x55'),function(_0x470d3e,_0x2a303c){return _0x2a303c[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x470d3e[_0x477d('0x5a')](_0x477d('0x6b'),{'fields':_0x477d('0x60'),'id':_0x2a303c['getCurrentUser']()[_0x477d('0x61')]});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x477889,_0x45cf6d){return _0x45cf6d['hasRole'](_0x477d('0x5f'))?null:_0x477889[_0x477d('0x5a')](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x45cf6d[_0x477d('0x5c')]()['userProfileId'],'sectionId':0x4b2});}]},'authenticate':!![],'permissionId':0x4b2,'bodyClass':'analytics'});_0x1f9552[_0x477d('0x19')](_0x477d('0x6c'));}}());(function(){'use strict';_0x5929d5[_0x477d('0xa')]=[_0x477d('0x1e')];angular[_0x477d('0xb')](_0x477d('0x51'),[_0x477d('0x6d')])[_0x477d('0xd')](_0x5929d5);function _0x5929d5(_0x53aa58){_0x53aa58['state']('app.analytics.reports',{'url':'/reports','views':{'content@app':{'templateUrl':_0x477d('0x6e'),'controller':'ReportsController\x20as\x20vm'}},'resolve':{'treeReports':[_0x477d('0x5e'),function(_0x4ab576){return _0x4ab576[_0x477d('0x5a')](_0x477d('0x6f'),{'fields':'id,tree','limit':0xa,'offset':0x0});}],'userProfile':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x3d8a12,_0x851020){return _0x3d8a12[_0x477d('0x5a')]('userProfile@get',{'fields':_0x477d('0x60'),'id':_0x851020[_0x477d('0x5c')]()['userProfileId']});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x28ff7a,_0x207460){return _0x28ff7a[_0x477d('0x5a')]('userProfileSection@get',{'fields':'id,name,enabled,includeAll,autoAssociation,crudPermissions','userProfileId':_0x207460[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0x4b3});}]},'authenticate':!![],'permissionId':0x4b3,'bodyClass':'analytics'})[_0x477d('0xe')]('app.analytics.reports.edit',{'url':'/:id?tab','views':{'content@app':{'templateUrl':_0x477d('0x70'),'controller':_0x477d('0x71')}},'resolve':{'report':[_0x477d('0x5e'),_0x477d('0x72'),'$q',_0x477d('0x73'),function(_0x5bdc5f,_0x4c17f5,_0x8b74cb,_0x23c435){var _0x3510db;return _0x5bdc5f[_0x477d('0x5a')](_0x477d('0x74'),{'fields':_0x477d('0x75'),'id':_0x4c17f5['id']})[_0x477d('0x76')](function(_0x42b408){var _0x346f62=[];_0x3510db=_0x42b408;if(_0x3510db['joins']){try{_0x3510db['joins']=JSON[_0x477d('0x77')](_0x3510db['joins']);for(var _0x25d7cf=0x0;_0x25d7cf<_0x3510db[_0x477d('0x78')][_0x477d('0x79')];_0x25d7cf+=0x1){_0x346f62['push'](_0x23c435[_0x477d('0x7a')](_0x3510db[_0x477d('0x78')][_0x25d7cf]['foreignTable']));}}catch(_0x2d1e6d){console[_0x477d('0x7b')](_0x2d1e6d);}}return _0x8b74cb[_0x477d('0x7c')](_0x346f62);})[_0x477d('0x76')](function(_0x3f5c88){for(var _0x4592d9=0x0;_0x4592d9<_0x3f5c88['length'];_0x4592d9+=0x1){_0x3510db[_0x477d('0x78')][_0x4592d9][_0x477d('0x7d')]=_[_0x477d('0x7e')](_[_0x477d('0x7f')](_0x3f5c88[_0x4592d9]),['$promise',_0x477d('0x80')]);}return _0x3510db;});}],'userProfileSection':['apiResolver',_0x477d('0x55'),function(_0x2da7b1,_0x48597a){return _0x2da7b1[_0x477d('0x5a')](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x48597a['getCurrentUser']()['userProfileId'],'sectionId':0x4b3});}]},'authenticate':!![],'permissionId':0x4b3,'bodyClass':_0x477d('0x64')});}}());(function(){'use strict';_0x51aaaa[_0x477d('0xa')]=[_0x477d('0x1e'),_0x477d('0x14'),'msApiProvider',_0x477d('0x43')];angular[_0x477d('0xb')]('app.callysquare',[_0x477d('0x44'),_0x477d('0x45'),_0x477d('0x81'),'flow',_0x477d('0x46'),_0x477d('0x47'),_0x477d('0x48'),'ngAria',_0x477d('0x82'),_0x477d('0x49'),_0x477d('0x4a'),_0x477d('0x4b'),_0x477d('0x4c'),_0x477d('0x4d'),_0x477d('0x83'),_0x477d('0x4e'),_0x477d('0x4f'),'material.components.expansionPanels','chart.js',_0x477d('0x84'),'app.callysquare.projects'])[_0x477d('0xd')](_0x51aaaa);function _0x51aaaa(_0x283326,_0x4ac6ae,_0x29e618,_0x2852d5){_0x283326[_0x477d('0xe')](_0x477d('0x36'),{'abstract':!![],'url':'/callysquare'})['state']('app.callysquare.odbcs',{'url':'/odbcs','views':{'content@app':{'templateUrl':'app/main/apps/callysquare/views/odbcs/odbcs.html','controller':_0x477d('0x85')}},'resolve':{'odbcs':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x19f6ae,_0x2757ae){return _0x2757ae[_0x477d('0x56')]('admin')?_0x19f6ae[_0x477d('0x5a')]('squareOdbc@get',{'fields':'createdAt,updatedAt,id,name,dsn,description','sort':_0x477d('0x59'),'limit':0xa,'offset':0x0}):_0x19f6ae[_0x477d('0x5a')](_0x477d('0x5b'),{'id':_0x2757ae[_0x477d('0x5c')]()[_0x477d('0x61')],'section':_0x477d('0x86'),'fields':'createdAt,updatedAt,id,name,dsn,description','sort':'-updatedAt','limit':0xa,'offset':0x0});}],'userProfile':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x3c73ff,_0x506d9b){return _0x506d9b['hasRole'](_0x477d('0x5f'))?null:_0x3c73ff[_0x477d('0x5a')](_0x477d('0x6b'),{'fields':_0x477d('0x60'),'id':_0x506d9b[_0x477d('0x5c')]()[_0x477d('0x61')]});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x2a6560,_0x52dba2){return _0x52dba2[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x2a6560['resolve'](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x52dba2[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0x44d});}]},'authenticate':!![],'permissionId':0x44d,'bodyClass':_0x477d('0x87')})['state'](_0x477d('0x88'),{'url':'/squareRecordings','views':{'content@app':{'templateUrl':_0x477d('0x89'),'controller':_0x477d('0x8a')}},'resolve':{'squareRecordings':['apiResolver',_0x477d('0x55'),function(_0x3fa3f6,_0x4a1d9f){return _0x4a1d9f[_0x477d('0x56')](_0x477d('0x5f'))?_0x3fa3f6['resolve'](_0x477d('0x8b'),{'fields':_0x477d('0x8c'),'sort':_0x477d('0x59'),'limit':0xa,'offset':0x0}):_0x3fa3f6[_0x477d('0x5a')](_0x477d('0x5b'),{'id':_0x4a1d9f[_0x477d('0x5c')]()[_0x477d('0x61')],'section':_0x477d('0x8d'),'fields':_0x477d('0x8c'),'sort':_0x477d('0x59'),'limit':0xa,'offset':0x0});}],'userProfile':[_0x477d('0x5e'),_0x477d('0x55'),function(_0xae416,_0xb6280e){return _0xb6280e[_0x477d('0x56')]('admin')?null:_0xae416[_0x477d('0x5a')]('userProfile@get',{'fields':'id,name,crudPermissions','id':_0xb6280e[_0x477d('0x5c')]()[_0x477d('0x61')]});}],'userProfileSection':['apiResolver',_0x477d('0x55'),function(_0x142967,_0xc49c1e){return _0xc49c1e[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x142967[_0x477d('0x5a')](_0x477d('0x62'),{'fields':'id,name,enabled,includeAll,autoAssociation,crudPermissions','userProfileId':_0xc49c1e[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0x44e});}]},'authenticate':!![],'permissionId':0x44e,'bodyClass':'callysquare'});_0x4ac6ae[_0x477d('0x19')](_0x477d('0x8e'));}}());(function(){'use strict';_0x26c4f9[_0x477d('0xa')]=[_0x477d('0x1e')];angular[_0x477d('0xb')](_0x477d('0x8f'),[])[_0x477d('0xd')](_0x26c4f9);function _0x26c4f9(_0xef7df5){_0xef7df5[_0x477d('0xe')](_0x477d('0x8f'),{'url':_0x477d('0x90'),'views':{'content@app':{'templateUrl':_0x477d('0x91'),'controller':_0x477d('0x92')}},'resolve':{'projects':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x4f1c1c,_0x5a04dd){return _0x5a04dd[_0x477d('0x56')]('admin')?_0x4f1c1c['resolve']('squareProject@get',{'fields':_0x477d('0x93'),'sort':_0x477d('0x94'),'limit':0xa,'offset':0x0}):_0x4f1c1c['resolve'](_0x477d('0x5b'),{'id':_0x5a04dd[_0x477d('0x5c')]()[_0x477d('0x61')],'section':_0x477d('0x95'),'fields':_0x477d('0x93'),'sort':'name','limit':0xa,'offset':0x0});}],'userProfile':['apiResolver',_0x477d('0x55'),function(_0xd9386e,_0x43e046){return _0xd9386e[_0x477d('0x5a')](_0x477d('0x6b'),{'fields':'id,name,crudPermissions','id':_0x43e046['getCurrentUser']()['userProfileId']});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x5957e1,_0x40a5a1){return _0x5957e1[_0x477d('0x5a')](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x40a5a1[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0x44f});}]},'authenticate':!![],'permissionId':0x44f,'bodyClass':_0x477d('0x87')})['state'](_0x477d('0x96'),{'url':'/:id','views':{'content@app':{'templateUrl':_0x477d('0x97'),'controller':_0x477d('0x98')}},'params':{'crudPermissions':undefined},'resolve':{'project':[_0x477d('0x5e'),_0x477d('0x72'),function(_0x26658d,_0x266f99){return _0x26658d[_0x477d('0x5a')]('squareProject@get',{'id':_0x266f99['id']});}],'users':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x59c944,_0x14b027){return _0x14b027['hasRole'](_0x477d('0x5f'))?_0x59c944['resolve'](_0x477d('0x99'),{'fields':_0x477d('0x9a'),'sort':_0x477d('0x94'),'nolimit':!![]}):_0x59c944[_0x477d('0x5a')](_0x477d('0x5b'),{'id':_0x14b027['getCurrentUser']()[_0x477d('0x61')],'section':'Users','mergeResources':!![],'fields':_0x477d('0x9a'),'sort':_0x477d('0x94'),'nolimit':!![]});}],'trunks':[_0x477d('0x5e'),'Auth',function(_0x40112e,_0x2c7a72){return _0x2c7a72[_0x477d('0x56')](_0x477d('0x5f'))?_0x40112e[_0x477d('0x5a')](_0x477d('0x9b'),{'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':!![]}):_0x40112e[_0x477d('0x5a')](_0x477d('0x5b'),{'id':_0x2c7a72[_0x477d('0x5c')]()[_0x477d('0x61')],'section':'Trunks','fields':'id,name','sort':_0x477d('0x94'),'nolimit':!![]});}],'queues':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x5a4b6b,_0x5381b5){return _0x5381b5['hasRole']('admin')?_0x5a4b6b[_0x477d('0x5a')](_0x477d('0x9d'),{'type':_0x477d('0x9e'),'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':!![]}):_0x5a4b6b['resolve'](_0x477d('0x5b'),{'id':_0x5381b5[_0x477d('0x5c')]()[_0x477d('0x61')],'section':_0x477d('0x9f'),'type':_0x477d('0x9e'),'fields':_0x477d('0x9c'),'sort':'name','nolimit':!![]});}],'sounds':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x13bdf2,_0x5a4acc){return _0x5a4acc[_0x477d('0x56')](_0x477d('0x5f'))?_0x13bdf2[_0x477d('0x5a')](_0x477d('0xa0'),{'fields':_0x477d('0x9c'),'sort':'name','nolimit':!![]}):_0x13bdf2[_0x477d('0x5a')](_0x477d('0x5b'),{'id':_0x5a4acc['getCurrentUser']()[_0x477d('0x61')],'section':_0x477d('0xa1'),'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':!![]});}],'variables':['apiResolver',_0x477d('0x55'),function(_0x59d8c5,_0x53e667){return _0x53e667[_0x477d('0x56')](_0x477d('0x5f'))?_0x59d8c5['resolve']('variable@get',{'fields':'id,name','sort':_0x477d('0x94'),'nolimit':!![]}):_0x59d8c5[_0x477d('0x5a')](_0x477d('0x5b'),{'id':_0x53e667[_0x477d('0x5c')]()['userProfileId'],'section':'Variables','fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':!![]});}],'databases':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x2affbd,_0x516dcf){return _0x516dcf[_0x477d('0x56')](_0x477d('0x5f'))?_0x2affbd['resolve']('squareOdbc@get',{'fields':'id,name','sort':_0x477d('0x94'),'nolimit':!![]}):_0x2affbd[_0x477d('0x5a')](_0x477d('0x5b'),{'id':_0x516dcf[_0x477d('0x5c')]()[_0x477d('0x61')],'section':_0x477d('0x86'),'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':!![]});}],'projects':['apiResolver',_0x477d('0x55'),function(_0x137160,_0x59052e){return _0x59052e[_0x477d('0x56')](_0x477d('0x5f'))?_0x137160[_0x477d('0x5a')](_0x477d('0xa2'),{'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':!![]}):_0x137160[_0x477d('0x5a')](_0x477d('0x5b'),{'id':_0x59052e[_0x477d('0x5c')]()[_0x477d('0x61')],'section':'SquareProjects','fields':'id,name','sort':'name','nolimit':!![]});}],'contexts':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x3113ff,_0x3919ab){return _0x3919ab[_0x477d('0x56')](_0x477d('0x5f'))?_0x3113ff['resolve'](_0x477d('0xa3'),{'fields':'id,name','sort':_0x477d('0x94'),'nolimit':!![]}):_0x3113ff[_0x477d('0x5a')](_0x477d('0x5b'),{'id':_0x3919ab['getCurrentUser']()[_0x477d('0x61')],'section':'Contexts','fields':'id,name','sort':'name','nolimit':!![]});}],'intervals':['apiResolver','Auth',function(_0x44c7bf,_0x5029fb){return _0x5029fb[_0x477d('0x56')]('admin')?_0x44c7bf[_0x477d('0x5a')]('interval@get',{'fields':_0x477d('0xa4'),'sort':_0x477d('0x94'),'nolimit':!![]}):_0x44c7bf['resolve'](_0x477d('0x5b'),{'id':_0x5029fb[_0x477d('0x5c')]()[_0x477d('0x61')],'section':_0x477d('0xa5'),'fields':'id,name,IntervalId','sort':_0x477d('0x94'),'nolimit':!![]});}],'mailAccounts':[_0x477d('0x5e'),'Auth',function(_0x4551cf,_0x27fe54){return _0x27fe54[_0x477d('0x56')](_0x477d('0x5f'))?_0x4551cf[_0x477d('0x5a')](_0x477d('0xa6'),{'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':!![]}):_0x4551cf[_0x477d('0x5a')](_0x477d('0x5b'),{'id':_0x27fe54[_0x477d('0x5c')]()[_0x477d('0x61')],'section':_0x477d('0xa7'),'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':!![]});}],'templates':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x3373ef,_0x1740c4){return _0x1740c4['hasRole']('admin')?_0x3373ef[_0x477d('0x5a')](_0x477d('0xa8'),{'fields':_0x477d('0x9c'),'sort':'name','nolimit':!![]}):_0x3373ef['resolve'](_0x477d('0x5b'),{'id':_0x1740c4[_0x477d('0x5c')]()['userProfileId'],'section':'Templates','fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':!![]});}],'lists':[_0x477d('0x5e'),_0x477d('0x55'),function(_0xb2a31,_0x3498ca){return _0x3498ca[_0x477d('0x56')](_0x477d('0x5f'))?_0xb2a31[_0x477d('0x5a')]('cmList@get',{'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':!![]}):_0xb2a31[_0x477d('0x5a')](_0x477d('0x5b'),{'id':_0x3498ca[_0x477d('0x5c')]()['userProfileId'],'section':_0x477d('0xa9'),'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':!![]});}],'smsAccounts':[_0x477d('0x5e'),'Auth',function(_0x1dd201,_0x36e28e){return _0x36e28e['hasRole'](_0x477d('0x5f'))?_0x1dd201['resolve']('smsAccount@get',{'fields':'id,name','sort':'name','nolimit':!![]}):_0x1dd201['resolve'](_0x477d('0x5b'),{'id':_0x36e28e['getCurrentUser']()[_0x477d('0x61')],'section':_0x477d('0xaa'),'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':!![]});}],'pauses':[_0x477d('0x5e'),'Auth',function(_0x1f2dac,_0x1874e5){return _0x1874e5[_0x477d('0x56')](_0x477d('0x5f'))?_0x1f2dac[_0x477d('0x5a')](_0x477d('0xab'),{'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':!![]}):_0x1f2dac[_0x477d('0x5a')](_0x477d('0x5b'),{'id':_0x1874e5['getCurrentUser']()[_0x477d('0x61')],'section':_0x477d('0xac'),'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':!![]});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x49e480,_0x4b3974){return _0x49e480[_0x477d('0x5a')]('userProfileSection@get',{'fields':_0x477d('0x63'),'userProfileId':_0x4b3974[_0x477d('0x5c')]()['userProfileId'],'sectionId':0x44f});}]},'authenticate':!![],'permissionId':0x44f,'bodyClass':_0x477d('0x87')});}}());(function(){'use strict';_0x3f8758[_0x477d('0xa')]=[_0x477d('0x1e'),'$translatePartialLoaderProvider',_0x477d('0xad'),_0x477d('0x43')];angular[_0x477d('0xb')](_0x477d('0x30'),[_0x477d('0x44'),_0x477d('0x45'),_0x477d('0x81'),_0x477d('0xae'),_0x477d('0x46'),'ckeditor',_0x477d('0x48'),'ngAria',_0x477d('0x82'),_0x477d('0x49'),_0x477d('0x4a'),_0x477d('0x4b'),'mwFormUtils',_0x477d('0x4d'),_0x477d('0x83'),'ngEmbed',_0x477d('0x4f'),_0x477d('0xaf'),_0x477d('0x50'),_0x477d('0x84'),_0x477d('0xb0')])[_0x477d('0xd')](_0x3f8758);function _0x3f8758(_0x4220df,_0x33f3c2,_0x4aa065,_0x421470){_0x4220df[_0x477d('0xe')](_0x477d('0x30'),{'abstract':!![],'url':_0x477d('0xb1')})[_0x477d('0xe')](_0x477d('0xb2'),{'url':_0x477d('0xb3'),'views':{'content@app':{'templateUrl':_0x477d('0xb4'),'controller':'ChatQueuesController\x20as\x20vm'}},'resolve':{'chatQueues':[_0x477d('0x5e'),'Auth',function(_0xc1d4bd,_0x17ac6a){return _0x17ac6a[_0x477d('0x56')]('admin')?_0xc1d4bd['resolve']('chatQueue@get',{'fields':_0x477d('0xb5'),'sort':_0x477d('0x59'),'channel':'chat','limit':0xa,'offset':0x0}):_0xc1d4bd[_0x477d('0x5a')](_0x477d('0x5b'),{'id':_0x17ac6a[_0x477d('0x5c')]()[_0x477d('0x61')],'section':'ChatQueues','fields':_0x477d('0xb5'),'sort':_0x477d('0x59'),'channel':_0x477d('0xb6'),'limit':0xa,'offset':0x0});}],'userProfile':[_0x477d('0x5e'),'Auth',function(_0x2702f2,_0x40ca67){return _0x40ca67['hasRole'](_0x477d('0x5f'))?null:_0x2702f2[_0x477d('0x5a')]('userProfile@get',{'fields':'id,name,crudPermissions','id':_0x40ca67[_0x477d('0x5c')]()['userProfileId']});}],'userProfileSection':['apiResolver','Auth',function(_0xd5793e,_0x77d5af){return _0x77d5af[_0x477d('0x56')](_0x477d('0x5f'))?null:_0xd5793e['resolve'](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x77d5af[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0x1f5});}]},'authenticate':!![],'permissionId':0x1f5,'bodyClass':_0x477d('0xb6')})['state'](_0x477d('0xb7'),{'url':_0x477d('0xb8'),'params':{'chatQueue':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':_0x477d('0xb9'),'controller':'ChatQueueController\x20as\x20vm'}},'resolve':{'chatQueue':['apiResolver','$stateParams',function(_0x594078,_0x1d9ba1){return _0x594078[_0x477d('0x5a')](_0x477d('0xba'),{'fields':_0x477d('0xb5'),'id':_0x1d9ba1['id']});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x79ab31,_0x45ec25){return _0x79ab31[_0x477d('0x5a')](_0x477d('0x62'),{'fields':'id,name,enabled,includeAll,autoAssociation,crudPermissions','userProfileId':_0x45ec25[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0x1f5});}]},'authenticate':!![],'permissionId':0x1f5,'bodyClass':'chat'})['state'](_0x477d('0xbb'),{'url':_0x477d('0xbc'),'views':{'content@app':{'templateUrl':'app/main/apps/chat/views/chatWebsites/chatWebsites.html','controller':_0x477d('0xbd')}},'resolve':{'chatWebsites':['apiResolver',_0x477d('0x55'),function(_0x16190a,_0x4c917d){return _0x4c917d[_0x477d('0x56')](_0x477d('0x5f'))?_0x16190a['resolve'](_0x477d('0xbe'),{'fields':_0x477d('0xbf'),'sort':'-updatedAt','limit':0xa,'offset':0x0}):_0x16190a['resolve'](_0x477d('0x5b'),{'id':_0x4c917d[_0x477d('0x5c')]()[_0x477d('0x61')],'section':_0x477d('0xc0'),'fields':_0x477d('0xbf'),'sort':'-updatedAt','limit':0xa,'offset':0x0});}],'userProfile':[_0x477d('0x5e'),'Auth',function(_0xb4000c,_0x473b89){return _0x473b89[_0x477d('0x56')](_0x477d('0x5f'))?null:_0xb4000c[_0x477d('0x5a')](_0x477d('0x6b'),{'fields':'id,name,crudPermissions','id':_0x473b89[_0x477d('0x5c')]()[_0x477d('0x61')]});}],'userProfileSection':['apiResolver','Auth',function(_0x4bcda6,_0x1fd409){return _0x1fd409['hasRole'](_0x477d('0x5f'))?null:_0x4bcda6[_0x477d('0x5a')](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x1fd409[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0x1f6});}]},'authenticate':!![],'permissionId':0x1f6,'bodyClass':_0x477d('0xb6')})[_0x477d('0xe')](_0x477d('0xc1'),{'url':'/:id?tab','params':{'chatWebsite':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':_0x477d('0xc2'),'controller':_0x477d('0xc3')}},'resolve':{'chatWebsite':[_0x477d('0x5e'),_0x477d('0x72'),function(_0x29a2d9,_0x5c6d21){return _0x29a2d9[_0x477d('0x5a')](_0x477d('0xbe'),{'fields':_0x477d('0xbf'),'id':_0x5c6d21['id']});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x24bb45,_0x18f47b){return _0x24bb45['resolve'](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x18f47b[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0x1f6});}]},'authenticate':!![],'permissionId':0x1f6,'bodyClass':_0x477d('0xb6')});_0x33f3c2[_0x477d('0x19')](_0x477d('0xc4'));}}());(function(){'use strict';_0x5cb399['$inject']=[_0x477d('0x1e')];angular['module'](_0x477d('0xb0'),[])[_0x477d('0xd')](_0x5cb399);function _0x5cb399(_0x177ced){_0x177ced[_0x477d('0xe')](_0x477d('0xb0'),{'url':_0x477d('0xc5'),'views':{'content@app':{'templateUrl':_0x477d('0xc6'),'controller':_0x477d('0xc7')}},'resolve':{'userProfile':[_0x477d('0x5e'),'Auth',function(_0x39f99f,_0x4672e8){return _0x4672e8[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x39f99f[_0x477d('0x5a')](_0x477d('0x6b'),{'fields':'id,name,crudPermissions','id':_0x4672e8[_0x477d('0x5c')]()[_0x477d('0x61')]});}],'userProfileSection':[_0x477d('0x5e'),'Auth',function(_0x3c74f1,_0x16cca1){return _0x16cca1[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x3c74f1['resolve'](_0x477d('0x62'),{'fields':'id,name,enabled,includeAll,autoAssociation,crudPermissions','userProfileId':_0x16cca1['getCurrentUser']()[_0x477d('0x61')],'sectionId':0x1fe});}]},'authenticate':!![],'permissionId':0x1fe})[_0x477d('0xe')](_0x477d('0xc8'),{'url':_0x477d('0xc9'),'controller':_0x477d('0xca'),'templateUrl':_0x477d('0xcb'),'resolve':{'pauses':['apiResolver',function(_0x1ca653){return _0x1ca653[_0x477d('0x5a')](_0x477d('0xab'),{'nolimit':!![]});}],'agents':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x2e6c33,_0x75428a){return _0x75428a['hasRole'](_0x477d('0x5f'))?_0x2e6c33[_0x477d('0x5a')](_0x477d('0x99'),{'fields':_0x477d('0xcc'),'role':'agent','sort':_0x477d('0xcd'),'nolimit':!![]}):_0x2e6c33[_0x477d('0x5a')](_0x477d('0x5b'),{'id':_0x75428a[_0x477d('0x5c')]()['userProfileId'],'section':_0x477d('0xce'),'fields':_0x477d('0xcc'),'role':_0x477d('0xcf'),'sort':'fullname','nolimit':!![]});}],'userProfile':[_0x477d('0x5e'),_0x477d('0x55'),function(_0xabfe8a,_0xbe2d3f){return _0xbe2d3f[_0x477d('0x56')](_0x477d('0x5f'))?null:_0xabfe8a['resolve']('userProfile@get',{'fields':_0x477d('0x60'),'id':_0xbe2d3f[_0x477d('0x5c')]()[_0x477d('0x61')]});}],'userProfileSection':[_0x477d('0x5e'),'Auth',function(_0x1f012b,_0x48c4e4){return _0x48c4e4[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x1f012b[_0x477d('0x5a')](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x48c4e4['getCurrentUser']()[_0x477d('0x61')],'sectionId':0xca});}],'rpcAgents':[_0x477d('0x5e'),function(_0x2d62e1){return _0x2d62e1[_0x477d('0x5a')](_0x477d('0xd0'));}]},'authenticate':!![],'permissionId':0x1fe})['state'](_0x477d('0xd1'),{'url':_0x477d('0xd2'),'controller':_0x477d('0xd3'),'templateUrl':'app/main/apps/chat/views/realtime/queues/view.html','resolve':{'queues':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x68bdba,_0x245d95){return _0x245d95['hasRole'](_0x477d('0x5f'))?_0x68bdba[_0x477d('0x5a')](_0x477d('0xba'),{'type':_0x477d('0x9e'),'sort':'-updatedAt','limit':0xa,'offset':0x0}):_0x68bdba[_0x477d('0x5a')]('userProfile@getResources',{'id':_0x245d95[_0x477d('0x5c')]()['userProfileId'],'section':_0x477d('0xd4'),'channel':_0x477d('0xb6'),'type':_0x477d('0x9e'),'sort':'-updatedAt','limit':0xa,'page':0x1});}],'userProfile':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x190f9c,_0xa63cba){return _0xa63cba[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x190f9c['resolve'](_0x477d('0x6b'),{'fields':_0x477d('0x60'),'id':_0xa63cba[_0x477d('0x5c')]()[_0x477d('0x61')]});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x197371,_0x5439a6){return _0x5439a6[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x197371[_0x477d('0x5a')](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x5439a6[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0x1f5});}],'rpcQueues':[_0x477d('0x5e'),function(_0xc85876){return _0xc85876[_0x477d('0x5a')](_0x477d('0xd5'));}]},'authenticate':!![],'permissionId':0x1fe});}}());(function(){'use strict';_0x96b0da[_0x477d('0xa')]=[_0x477d('0x1e'),_0x477d('0x14'),_0x477d('0xad'),_0x477d('0x43')];angular[_0x477d('0xb')]('app.contactmanager',['ngCsv',_0x477d('0x45'),'md.data.table',_0x477d('0xae'),'mdColorPicker',_0x477d('0x47'),'ng-sortable',_0x477d('0x2'),_0x477d('0x82'),'mdPickers',_0x477d('0x4a'),_0x477d('0x4b'),_0x477d('0x4c'),_0x477d('0x4d'),_0x477d('0x83'),'ngEmbed',_0x477d('0x4f'),_0x477d('0xaf'),'chart.js','angular.filter',_0x477d('0xd6')])['config'](_0x96b0da);function _0x96b0da(_0xd5ac06,_0x516ee1,_0x563910,_0x478929){_0xd5ac06[_0x477d('0xe')]('app.contactmanager',{'abstract':!![],'url':_0x477d('0xd7')})[_0x477d('0xe')](_0x477d('0xd8'),{'url':_0x477d('0xd9'),'views':{'content@app':{'templateUrl':_0x477d('0xda'),'controller':'ListsController\x20as\x20vm'}},'resolve':{'lists':[_0x477d('0x5e'),'Auth',function(_0x41a7cd,_0x229695){return _0x229695[_0x477d('0x56')]('admin')?_0x41a7cd[_0x477d('0x5a')](_0x477d('0xdb'),{'fields':_0x477d('0xdc'),'sort':'-updatedAt','limit':0xa,'offset':0x0}):_0x41a7cd['resolve'](_0x477d('0x5b'),{'id':_0x229695['getCurrentUser']()[_0x477d('0x61')],'section':_0x477d('0xa9'),'fields':'createdAt,updatedAt,id,name,description,dialPrefix','sort':_0x477d('0x59'),'limit':0xa,'offset':0x0});}],'userProfile':['apiResolver',_0x477d('0x55'),function(_0x517536,_0x178082){return _0x178082[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x517536[_0x477d('0x5a')](_0x477d('0x6b'),{'fields':'id,name,crudPermissions','id':_0x178082[_0x477d('0x5c')]()[_0x477d('0x61')]});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x18eed3,_0x593e75){return _0x593e75['hasRole'](_0x477d('0x5f'))?null:_0x18eed3['resolve'](_0x477d('0x62'),{'fields':'id,name,enabled,includeAll,autoAssociation,crudPermissions','userProfileId':_0x593e75[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0x12d});}]},'authenticate':!![],'permissionId':0x12d,'bodyClass':'contactmanager'})[_0x477d('0xe')](_0x477d('0xdd'),{'url':_0x477d('0xb8'),'params':{'list':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':_0x477d('0xde'),'controller':_0x477d('0xdf')}},'resolve':{'list':['apiResolver',_0x477d('0x72'),function(_0x298307,_0x4d637f){return _0x298307['resolve'](_0x477d('0xdb'),{'fields':'createdAt,updatedAt,id,name,description,dialPrefix','id':_0x4d637f['id']});}],'userProfileSection':[_0x477d('0x5e'),'Auth',function(_0x463fd7,_0x272aa5){return _0x463fd7['resolve']('userProfileSection@get',{'fields':_0x477d('0x63'),'userProfileId':_0x272aa5['getCurrentUser']()[_0x477d('0x61')],'sectionId':0x12d});}]},'authenticate':!![],'permissionId':0x12d,'bodyClass':_0x477d('0xe0')})[_0x477d('0xe')]('app.contactmanager.companies',{'url':_0x477d('0xe1'),'views':{'content@app':{'templateUrl':'app/main/apps/contactmanager/views/companies/companies.html','controller':'CompaniesController\x20as\x20vm'}},'resolve':{'companies':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x34efb8,_0x332072){return _0x332072['hasRole'](_0x477d('0x5f'))?_0x34efb8[_0x477d('0x5a')](_0x477d('0xe2'),{'fields':_0x477d('0xe3'),'sort':_0x477d('0x59'),'limit':0xa,'offset':0x0}):_0x34efb8[_0x477d('0x5a')](_0x477d('0x5b'),{'id':_0x332072[_0x477d('0x5c')]()[_0x477d('0x61')],'section':'Companies','fields':_0x477d('0xe3'),'sort':_0x477d('0x59'),'limit':0xa,'offset':0x0});}],'userProfile':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x48b93e,_0x5c03f5){return _0x5c03f5[_0x477d('0x56')]('admin')?null:_0x48b93e[_0x477d('0x5a')]('userProfile@get',{'fields':_0x477d('0x60'),'id':_0x5c03f5[_0x477d('0x5c')]()[_0x477d('0x61')]});}],'userProfileSection':['apiResolver',_0x477d('0x55'),function(_0x2720cb,_0x4ffa1a){return _0x4ffa1a[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x2720cb['resolve'](_0x477d('0x62'),{'fields':'id,name,enabled,includeAll,autoAssociation,crudPermissions','userProfileId':_0x4ffa1a[_0x477d('0x5c')]()['userProfileId'],'sectionId':0x12e});}]},'authenticate':!![],'permissionId':0x12e,'bodyClass':'contactmanager'})['state'](_0x477d('0xe4'),{'url':_0x477d('0xb8'),'params':{'company':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':'app/main/apps/contactmanager/views/companies/edit/view.html','controller':_0x477d('0xe5')}},'resolve':{'company':[_0x477d('0x5e'),_0x477d('0x72'),function(_0x385a90,_0x21fee9){return _0x385a90[_0x477d('0x5a')](_0x477d('0xe2'),{'fields':_0x477d('0xe3'),'id':_0x21fee9['id']});}],'userProfileSection':[_0x477d('0x5e'),'Auth',function(_0x2b468d,_0x4fccd2){return _0x2b468d[_0x477d('0x5a')](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x4fccd2[_0x477d('0x5c')]()['userProfileId'],'sectionId':0x12e});}]},'authenticate':!![],'permissionId':0x12e,'bodyClass':'contactmanager'})[_0x477d('0xe')]('app.contactmanager.globalCustomFields',{'url':_0x477d('0xe6'),'views':{'content@app':{'templateUrl':_0x477d('0xe7'),'controller':'GlobalCustomFieldsController\x20as\x20vm'}},'resolve':{'globalCustomFields':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x384628,_0xd8d860){return _0x384628[_0x477d('0x5a')](_0x477d('0xe8'),{'fields':_0x477d('0xe9'),'sort':_0x477d('0x59'),'ListId':_0x477d('0xea'),'limit':0xa,'offset':0x0});}],'userProfile':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x5cff9e,_0x133295){return _0x133295[_0x477d('0x56')]('admin')?null:_0x5cff9e[_0x477d('0x5a')](_0x477d('0x6b'),{'fields':'id,name,crudPermissions','id':_0x133295['getCurrentUser']()[_0x477d('0x61')]});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x2cef13,_0x25b000){return _0x25b000[_0x477d('0x56')]('admin')?null:_0x2cef13['resolve']('userProfileSection@get',{'fields':_0x477d('0x63'),'userProfileId':_0x25b000[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0x130});}]},'authenticate':!![],'permissionId':0x130,'bodyClass':_0x477d('0xe0')});_0x516ee1[_0x477d('0x19')](_0x477d('0xeb'));}}());(function(){'use strict';_0x165527[_0x477d('0xa')]=['$stateProvider'];angular[_0x477d('0xb')](_0x477d('0xd6'),[])['config'](_0x165527);function _0x165527(_0x56371d){_0x56371d['state']('app.contactmanager.contacts',{'url':_0x477d('0xec'),'views':{'content@app':{'templateUrl':_0x477d('0xed'),'controller':'ContactsController\x20as\x20vm'}},'resolve':{'contacts':['apiResolver',_0x477d('0x55'),'$stateParams',function(_0x50133c,_0x4e1e71,_0x5c6e14){return _0x4e1e71['hasRole']('admin')?_0x50133c['resolve'](_0x477d('0xee'),_[_0x477d('0xef')]({'includeAll':!![],'sort':'-updatedAt','limit':0xa,'offset':0x0},_0x5c6e14)):_0x50133c[_0x477d('0x5a')](_0x477d('0x5b'),_[_0x477d('0xef')]({'id':_0x4e1e71[_0x477d('0x5c')]()['userProfileId'],'section':_0x477d('0xf0'),'includeAll':!![],'sort':_0x477d('0x59'),'limit':0xa,'offset':0x0},_0x5c6e14));}],'lists':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x3152d0,_0x43f359){return _0x43f359[_0x477d('0x56')](_0x477d('0x5f'))?_0x3152d0[_0x477d('0x5a')](_0x477d('0xdb'),{'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':!![]}):_0x3152d0[_0x477d('0x5a')]('userProfile@getResources',{'id':_0x43f359[_0x477d('0x5c')]()['userProfileId'],'section':_0x477d('0xa9'),'fields':_0x477d('0x9c'),'sort':_0x477d('0x59'),'nolimit':!![]});}],'listsMap':[_0x477d('0xf1'),function(_0x21725b){var _0x10c4cf={};for(var _0xf7656e=0x0;_0xf7656e<_0x21725b['rows']['length'];_0xf7656e++){_0x10c4cf[_0x21725b[_0x477d('0xf2')][_0xf7656e]['id']]=_0x21725b[_0x477d('0xf2')][_0xf7656e][_0x477d('0x94')];}return _0x10c4cf;}],'companies':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x2db64d,_0x1e28f2){return _0x1e28f2[_0x477d('0x56')](_0x477d('0x5f'))?_0x2db64d[_0x477d('0x5a')]('cmCompany@get',{'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':!![]}):_0x2db64d[_0x477d('0x5a')](_0x477d('0x5b'),{'id':_0x1e28f2[_0x477d('0x5c')]()[_0x477d('0x61')],'section':_0x477d('0xf3'),'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':!![]});}],'companiesMap':[_0x477d('0xf4'),function(_0x4d5b03){var _0x1e484e={};for(var _0x313df0=0x0;_0x313df0<_0x4d5b03[_0x477d('0xf2')][_0x477d('0x79')];_0x313df0++){_0x1e484e[_0x4d5b03[_0x477d('0xf2')][_0x313df0]['id']]=_0x4d5b03['rows'][_0x313df0][_0x477d('0x94')];}return _0x1e484e;}],'tags':['apiResolver','Auth',function(_0x9acbac,_0x185759){return _0x185759['hasRole']('admin')?_0x9acbac[_0x477d('0x5a')](_0x477d('0xf5'),{'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':!![]}):_0x9acbac[_0x477d('0x5a')](_0x477d('0x5b'),{'id':_0x185759['getCurrentUser']()[_0x477d('0x61')],'section':'Tags','fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':!![]});}],'userProfile':[_0x477d('0x5e'),_0x477d('0x55'),function(_0xf299bb,_0x16f8d5){return _0xf299bb[_0x477d('0x5a')](_0x477d('0x6b'),{'fields':_0x477d('0x60'),'id':_0x16f8d5[_0x477d('0x5c')]()[_0x477d('0x61')]});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x18408d,_0x1c850d){return _0x18408d[_0x477d('0x5a')](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x1c850d['getCurrentUser']()[_0x477d('0x61')],'sectionId':0x12f});}]},'authenticate':!![],'permissionId':0x12f,'bodyClass':_0x477d('0xe0')})['state']('app.contactmanager.contacts.edit',{'url':_0x477d('0xb8'),'params':{'crudPermissions':undefined},'views':{'content@app':{'templateUrl':'app/main/apps/contactmanager/views/contacts/edit/view.html','controller':_0x477d('0xf6')}},'resolve':{'contact':[_0x477d('0x5e'),'$stateParams',function(_0x4a52a4,_0x50fc89){return _0x4a52a4[_0x477d('0x5a')](_0x477d('0xee'),{'id':_0x50fc89['id']})[_0x477d('0x76')](function(_0x3f74db){if(_0x3f74db[_0x477d('0xf7')]){_0x3f74db['dateOfBirth']=new Date(_0x3f74db['dateOfBirth']);}return _0x3f74db;})[_0x477d('0xf8')](function(_0x3ba71b){console['error'](_0x3ba71b);});}],'hoppers':[_0x477d('0x5e'),'$stateParams',function(_0x56d05d,_0x2e9a2b){return _0x56d05d[_0x477d('0x5a')](_0x477d('0xf9'),{'id':_0x2e9a2b['id'],'fields':_0x477d('0xfa'),'sort':_0x477d('0x59'),'limit':0xa,'offset':0x0});}],'finals':['apiResolver',_0x477d('0x72'),function(_0x17650d,_0x2c6d44){return _0x17650d[_0x477d('0x5a')](_0x477d('0xfb'),{'id':_0x2c6d44['id'],'fields':_0x477d('0xfc'),'sort':_0x477d('0x59'),'limit':0xa,'offset':0x0});}],'histories':['apiResolver',_0x477d('0x72'),function(_0x3dd192,_0x285b27){return _0x3dd192[_0x477d('0x5a')]('cmContact@getHopperHistories',{'id':_0x285b27['id'],'fields':_0x477d('0xfd'),'sort':_0x477d('0x59'),'limit':0xa,'offset':0x0});}],'jscriptySessions':[_0x477d('0x5e'),'$stateParams',function(_0x106bf1,_0x1b9ad3){return _0x106bf1[_0x477d('0x5a')](_0x477d('0xfe'),{'id':_0x1b9ad3['id'],'fields':_0x477d('0xff'),'sort':'-starttime','limit':0xa,'offset':0x0});}],'companies':[_0x477d('0x5e'),'Auth',function(_0x455581,_0x2d11a9){return _0x2d11a9[_0x477d('0x56')]('admin')?_0x455581['resolve']('cmCompany@get'):_0x455581['resolve']('userProfile@getResources',{'id':_0x2d11a9[_0x477d('0x5c')]()[_0x477d('0x61')],'section':'Companies'});}],'lists':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x61ed39,_0x25c9c6){return _0x25c9c6[_0x477d('0x56')](_0x477d('0x5f'))?_0x61ed39[_0x477d('0x5a')](_0x477d('0xdb'),{'fields':_0x477d('0x9c'),'sort':_0x477d('0x59'),'nolimit':!![]}):_0x61ed39[_0x477d('0x5a')]('userProfile@getResources',{'id':_0x25c9c6[_0x477d('0x5c')]()[_0x477d('0x61')],'section':_0x477d('0xa9'),'fields':_0x477d('0x9c'),'sort':'-updatedAt','nolimit':!![]});}],'customFields':[_0x477d('0x5e'),_0x477d('0x100'),function(_0x1d37d6,_0x256bac){return _0x256bac['ListId']?_0x1d37d6[_0x477d('0x5a')](_0x477d('0x101'),{'id':_0x256bac['ListId']}):null;}],'tags':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x4a9e17,_0x1eaa2e){return _0x1eaa2e[_0x477d('0x56')](_0x477d('0x5f'))?_0x4a9e17[_0x477d('0x5a')](_0x477d('0xf5')):_0x4a9e17[_0x477d('0x5a')](_0x477d('0x5b'),{'id':_0x1eaa2e[_0x477d('0x5c')]()[_0x477d('0x61')],'section':_0x477d('0x102')});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x4f6c15,_0x543500){return _0x4f6c15[_0x477d('0x5a')](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x543500[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0x12f});}]},'authenticate':!![],'permissionId':0x12f,'bodyClass':'contactmanager'});}}());(function(){'use strict';_0x1dfff1[_0x477d('0xa')]=[_0x477d('0x1e'),_0x477d('0x14'),_0x477d('0xad'),'msNavigationServiceProvider'];angular[_0x477d('0xb')](_0x477d('0x2c'),['ngCsv',_0x477d('0x45'),_0x477d('0x81'),_0x477d('0xae'),_0x477d('0x46'),'ckeditor',_0x477d('0x48'),_0x477d('0x2'),'ngAnimate',_0x477d('0x49'),_0x477d('0x4a'),_0x477d('0x4b'),_0x477d('0x4c'),_0x477d('0x4d'),_0x477d('0x83'),_0x477d('0x4e'),_0x477d('0x4f'),_0x477d('0xaf'),_0x477d('0x50'),_0x477d('0x84'),_0x477d('0x103'),'app.dashboards.custom'])['config'](_0x1dfff1);function _0x1dfff1(_0x41ea9d,_0x593320,_0x2b587a,_0x33430e){_0x41ea9d[_0x477d('0xe')](_0x477d('0x2c'),{'abstract':!![],'url':'/dashboards'});_0x593320[_0x477d('0x19')](_0x477d('0x104'));}}());(function(){'use strict';_0x57e6de[_0x477d('0xa')]=[_0x477d('0x1e')];angular['module'](_0x477d('0x105'),[])['config'](_0x57e6de);function _0x57e6de(_0xc26e7c){_0xc26e7c[_0x477d('0xe')](_0x477d('0x105'),{'url':'/custom/:id','views':{'content@app':{'templateUrl':_0x477d('0x106'),'controller':_0x477d('0x107')}},'resolve':{'voiceQueues':['apiResolver',_0x477d('0x55'),function(_0x672c66,_0x4094c1){var _0x2d2844;var _0x2fe982=_0x4094c1[_0x477d('0x56')](_0x477d('0x5f'))?_0x672c66[_0x477d('0x5a')]('voiceQueue@get',{'fields':_0x477d('0x9c'),'nolimit':!![]}):_0x672c66[_0x477d('0x5a')](_0x477d('0x5b'),{'id':_0x4094c1[_0x477d('0x5c')]()[_0x477d('0x61')],'section':_0x477d('0x9f'),'mergeResources':!![],'fields':'id,name','channel':_0x477d('0x108'),'nolimit':!![]});return _0x2fe982[_0x477d('0x76')](function(_0x2643b4){_0x2d2844=_0x2643b4;return _0x672c66[_0x477d('0x5a')](_0x477d('0x109'));})[_0x477d('0x76')](function(_0x1f2bb9){if(_0x1f2bb9){for(var _0x2a58fa=0x0,_0x5ebb35;_0x2a58fa<_0x1f2bb9[_0x477d('0xf2')][_0x477d('0x79')];_0x2a58fa+=0x1){_0x5ebb35=_[_0x477d('0x10a')](_0x2d2844[_0x477d('0xf2')],{'id':_0x1f2bb9[_0x477d('0xf2')][_0x2a58fa]['id']});if(_0x5ebb35){_[_0x477d('0xef')](_0x5ebb35,_[_0x477d('0x10b')](_0x1f2bb9[_0x477d('0xf2')][_0x2a58fa],[_0x477d('0x10c'),_0x477d('0x10d'),_0x477d('0x10e'),_0x477d('0x10f'),_0x477d('0x110'),_0x477d('0x111')]));}}}return _0x2d2844;});}],'userProfile':[_0x477d('0x5e'),'Auth',function(_0x41cd11,_0xec73f0){return _0x41cd11['resolve'](_0x477d('0x6b'),{'fields':_0x477d('0x60'),'id':_0xec73f0[_0x477d('0x5c')]()[_0x477d('0x61')]});}],'userProfileSection':['apiResolver','Auth',function(_0xd2f7b8,_0x4bd3f1){return _0xd2f7b8[_0x477d('0x5a')]('userProfileSection@get',{'fields':'id,name,enabled,includeAll,autoAssociation,crudPermissions','userProfileId':_0x4bd3f1[_0x477d('0x5c')]()['userProfileId'],'sectionId':0x64});}]},'authenticate':!![],'bodyClass':_0x477d('0x112')});}}());(function(){'use strict';_0x1ce9e5[_0x477d('0xa')]=[_0x477d('0x1e')];angular[_0x477d('0xb')](_0x477d('0x103'),[_0x477d('0x113'),_0x477d('0x114')])[_0x477d('0xd')](_0x1ce9e5);function _0x1ce9e5(_0x433971){_0x433971[_0x477d('0xe')](_0x477d('0x103'),{'url':_0x477d('0x115'),'views':{'content@app':{'templateProvider':[_0x477d('0x72'),_0x477d('0x116'),'Auth',function(_0x30842f,_0x87c78,_0x18308d){if(_0x18308d[_0x477d('0x117')]()){return _0x87c78[_0x477d('0x118')](_0x477d('0x119'),_0x30842f);}else{return _0x87c78[_0x477d('0x118')](_0x477d('0x11a'),_0x30842f);}}],'controllerProvider':['Auth',function(_0x3d78a7){if(_0x3d78a7[_0x477d('0x117')]()){return _0x477d('0x11b');}else{return _0x477d('0x11c');}}]}},'resolve':{'globalUserLists':['apiResolver',_0x477d('0x55'),function(_0x303c44,_0x3ec0e4){return _0x303c44['resolve'](_0x477d('0x11d'),{'id':_0x3ec0e4[_0x477d('0x5c')]()['id'],'sort':_0x477d('0x94'),'nolimit':!![]});}],'globalLists':[_0x477d('0x5e'),function(_0x224907){return _0x224907['resolve'](_0x477d('0xdb'),{'sort':_0x477d('0x94'),'nolimit':!![]});}],'globalTags':[_0x477d('0x5e'),function(_0x4175a6){return _0x4175a6[_0x477d('0x5a')](_0x477d('0xf5'),{'sort':_0x477d('0x94'),'nolimit':!![]});}],'globalCompanies':['apiResolver',function(_0x32e698){return _0x32e698['resolve']('cmCompany@get',{'sort':'name','nolimit':!![]});}]},'authenticate':!![],'bodyClass':_0x477d('0x112')});}}());(function(){'use strict';_0x40c3a1['$inject']=[_0x477d('0x1e')];angular['module'](_0x477d('0x114'),[])['config'](_0x40c3a1);function _0x40c3a1(_0x19e6a7){_0x19e6a7[_0x477d('0xe')](_0x477d('0x11e'),{'url':_0x477d('0x11f'),'data':{'selectedTab':0x0},'views':{'voice':{'templateUrl':_0x477d('0x120'),'controller':_0x477d('0x121')}},'resolve':{'rpcQueues':['apiResolver',function(_0x400e3d){return _0x400e3d[_0x477d('0x5a')](_0x477d('0x109'));}],'inboundQueues':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x2ebc9f,_0x3b05d9){return _0x3b05d9[_0x477d('0x56')](_0x477d('0x5f'))?_0x2ebc9f[_0x477d('0x5a')](_0x477d('0x9d'),{'fields':_0x477d('0x9c'),'type':'inbound','nolimit':!![]}):_0x2ebc9f[_0x477d('0x5a')](_0x477d('0x5b'),{'id':_0x3b05d9['getCurrentUser']()['userProfileId'],'section':_0x477d('0x9f'),'fields':_0x477d('0x9c'),'type':_0x477d('0x9e'),'channel':_0x477d('0x108'),'nolimit':!![]});}],'outbound':[_0x477d('0x5e'),function(_0x5030f4){return _0x5030f4[_0x477d('0x5a')](_0x477d('0x122'));}]},'authenticate':!![],'bodyClass':'dashboards'})[_0x477d('0xe')](_0x477d('0x123'),{'url':_0x477d('0x124'),'data':{'selectedTab':0x1},'views':{'dialer':{'templateUrl':_0x477d('0x125'),'controller':_0x477d('0x126')}},'resolve':{'rpcQueues':[_0x477d('0x5e'),function(_0x1d7d9f){return _0x1d7d9f[_0x477d('0x5a')]('rpc@getVoiceQueues');}],'outboundQueues':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x1366d5,_0x56f693){return _0x56f693[_0x477d('0x56')](_0x477d('0x5f'))?_0x1366d5[_0x477d('0x5a')](_0x477d('0x9d'),{'fields':'id,name','type':_0x477d('0x127'),'nolimit':!![]}):_0x1366d5['resolve'](_0x477d('0x5b'),{'id':_0x56f693[_0x477d('0x5c')]()[_0x477d('0x61')],'section':_0x477d('0x128'),'fields':'id,name','type':'outbound','channel':_0x477d('0x108'),'nolimit':!![]});}],'rpcCampaigns':['apiResolver',function(_0x2cf48a){return _0x2cf48a[_0x477d('0x5a')](_0x477d('0x129'));}]},'authenticate':!![],'bodyClass':'dashboards'})[_0x477d('0xe')](_0x477d('0x12a'),{'url':'/chat','data':{'selectedTab':0x2},'views':{'chat':{'templateUrl':_0x477d('0x12b'),'controller':'UserChatDashboardGeneralController\x20as\x20vm'}},'resolve':{'chatInteractions':[_0x477d('0x5e'),function(_0x99846){return _0x99846[_0x477d('0x5a')](_0x477d('0x12c'),{'createdAt':{'$gte':moment()[_0x477d('0x12d')]('day')[_0x477d('0x12e')](0x0,!![])[_0x477d('0x12f')](),'$lte':moment()[_0x477d('0x130')]('day')[_0x477d('0x12e')](0x0,!![])[_0x477d('0x12f')]()},'nolimit':!![]});}],'chatWebsites':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x5e9ed0,_0x5ceb04){return _0x5ceb04[_0x477d('0x56')](_0x477d('0x5f'))?_0x5e9ed0[_0x477d('0x5a')](_0x477d('0xbe'),{'fields':_0x477d('0x131'),'sort':'-updatedAt','limit':0xa,'offset':0x0}):_0x5e9ed0[_0x477d('0x5a')]('userProfile@getResources',{'id':_0x5ceb04['getCurrentUser']()['userProfileId'],'section':'ChatWebsites','fields':'createdAt,updatedAt,id,token,agentIdentifier,customerAlias,messageFontSize,name,key,address,remote,ListId,fidelity,timeout,agentAlias,closingQuestion,formSubmitSuccessMessage,formSubmitFailureMessage,color,color_focus,color_button,textColor,backgroundColor,fontSize,header_shape,showAgentAvatar,showCustomerAvatar,alignment,verticalAlignment,messagesAlignment,defaultTitle,animation,defaultWhiteLabel,whiteLabel,defaultLogo,conditionAgreement,autoclose,enableUnmanagedNote,unmanagedMessage,skipUnmanaged,sendUnmanaged,enableCustomerWriting,waitingTitle,waitingMessage,closingMessage,noteTitle,placeholderMessage,skipMessageButton,enableRating,ratingType,ratingStarsNumber,enableFeedback,forwardTranscript,forwardTranscriptMessage,closingMessageButton,download_transcript,enableCustomerAttachment,systemAlias,enquiry_enable,enquiry_forwarding,enquiry_forwarding_address,name_title,username_placeholder,email_title,email_placeholder,header_online,hideWhenOffline,header_offline,start_chat_button,offline_chat_button,offlineMessageSubject,offlineMessageBody,header_offline,offline_message,message_title,enquiry_message_placeholder,enquiry_button,rating_message,rating_send,rating_skip,acceptMethod,acceptUrl,rejectMethod,rejectUrl,closeMethod,closeUrl,onlineForm,offlineForm,mapKey,mapKeyOffline,forwardTranscript,forwardOffline,forwardOfflineAddress,IntervalId,timezone,waitForTheAssignedAgent,description,notificationSound,notificationShake,notificationTemplate','sort':_0x477d('0x59'),'limit':0xa,'offset':0x0});}]},'authenticate':!![],'bodyClass':_0x477d('0x112')})['state'](_0x477d('0x132'),{'url':_0x477d('0x133'),'data':{'selectedTab':0x3},'views':{'mail':{'templateUrl':_0x477d('0x134'),'controller':_0x477d('0x135')}},'resolve':{'mailInteractions':[_0x477d('0x5e'),function(_0xe85f35){return _0xe85f35[_0x477d('0x5a')](_0x477d('0x136'),{'createdAt':{'$gte':moment()[_0x477d('0x12d')](_0x477d('0x137'))[_0x477d('0x12e')](0x0,!![])['format'](),'$lte':moment()[_0x477d('0x130')]('day')[_0x477d('0x12e')](0x0,!![])['format']()},'nolimit':!![]});}],'mailAccounts':[_0x477d('0x5e'),'Auth',function(_0x2ad7eb,_0x2ac585){return _0x2ac585[_0x477d('0x56')]('admin')?_0x2ad7eb[_0x477d('0x5a')](_0x477d('0xa6'),{'fields':_0x477d('0x138'),'sort':_0x477d('0x59'),'limit':0xa,'offset':0x0}):_0x2ad7eb[_0x477d('0x5a')](_0x477d('0x5b'),{'id':_0x2ac585[_0x477d('0x5c')]()['userProfileId'],'section':_0x477d('0xa7'),'fields':'createdAt,updatedAt,id,name,key,email,ListId,active,cservice,Imap.service,Imap.host,Imap.port,Imap.tls,Imap.authentication,Imap.user,Imap.password,Imap.mailbox,Imap.connTimeout,Imap.authTimeout,Smtp.service,Smtp.host,Smtp.port,Smtp.secure,Smtp.authentication,Smtp.user,Smtp.pass,cauthentication,cuser,cpassword,fontFamily,fontSize,template,markAsUnread,waitForTheAssignedAgent,description,notificationSound,notificationShake,notificationTemplate,queueTransfer,queueTransferTimeout,agentTransfer,agentTransferTimeout','sort':_0x477d('0x59'),'limit':0xa,'offset':0x0});}]},'authenticate':!![],'bodyClass':_0x477d('0x112')})[_0x477d('0xe')](_0x477d('0x139'),{'url':_0x477d('0x13a'),'data':{'selectedTab':0x4},'views':{'sms':{'templateUrl':_0x477d('0x13b'),'controller':_0x477d('0x13c')}},'resolve':{'smsInteractions':[_0x477d('0x5e'),function(_0x442c9a){return _0x442c9a[_0x477d('0x5a')]('smsInteraction@get',{'createdAt':{'$gte':moment()[_0x477d('0x12d')](_0x477d('0x137'))['utcOffset'](0x0,!![])[_0x477d('0x12f')](),'$lte':moment()['endOf']('day')[_0x477d('0x12e')](0x0,!![])['format']()},'nolimit':!![]});}],'smsAccounts':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x2183c8,_0x1d140b){return _0x1d140b['hasRole'](_0x477d('0x5f'))?_0x2183c8[_0x477d('0x5a')](_0x477d('0x13d'),{'fields':_0x477d('0x13e'),'sort':_0x477d('0x59'),'limit':0xa,'offset':0x0}):_0x2183c8[_0x477d('0x5a')](_0x477d('0x5b'),{'id':_0x1d140b[_0x477d('0x5c')]()['userProfileId'],'section':_0x477d('0xaa'),'fields':'createdAt,updatedAt,id,name,key,token,remote,ListId,phone,type,accountSid,authId,authToken,smsMethod,username,password,senderString,deliveryReport,waitForTheAssignedAgent,description,receiveUrl,deliveryReportUrl,notificationSound,notificationShake,notificationTemplate','sort':'-updatedAt','limit':0xa,'offset':0x0});}]},'authenticate':!![],'bodyClass':_0x477d('0x112')})[_0x477d('0xe')](_0x477d('0x13f'),{'url':_0x477d('0x140'),'data':{'selectedTab':0x5},'views':{'openchannel':{'templateUrl':'app/main/apps/dashboards/views/general/user/openchannel/user.general.openchannel.html','controller':'UserOpenchannelDashboardGeneralController\x20as\x20vm'}},'resolve':{'openchannelInteractions':[_0x477d('0x5e'),function(_0x236932){return _0x236932['resolve']('openchannelInteraction@get',{'createdAt':{'$gte':moment()[_0x477d('0x12d')](_0x477d('0x137'))['utcOffset'](0x0,!![])[_0x477d('0x12f')](),'$lte':moment()[_0x477d('0x130')](_0x477d('0x137'))[_0x477d('0x12e')](0x0,!![])[_0x477d('0x12f')]()},'nolimit':!![]});}],'openchannelAccounts':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x5ca65b,_0x1dc498){return _0x1dc498[_0x477d('0x56')]('admin')?_0x5ca65b[_0x477d('0x5a')]('openchannelAccount@get',{'fields':_0x477d('0x141'),'sort':'-updatedAt','nolimit':!![]}):_0x5ca65b[_0x477d('0x5a')](_0x477d('0x5b'),{'id':_0x1dc498[_0x477d('0x5c')]()['userProfileId'],'section':_0x477d('0x142'),'fields':_0x477d('0x141'),'sort':_0x477d('0x59'),'nolimit':!![]});}]},'authenticate':!![],'bodyClass':'dashboards'})['state'](_0x477d('0x143'),{'url':_0x477d('0x144'),'data':{'selectedTab':0x6},'views':{'fax':{'templateUrl':_0x477d('0x145'),'controller':_0x477d('0x146')}},'resolve':{'faxInteractions':[_0x477d('0x5e'),function(_0x36b08f){return _0x36b08f[_0x477d('0x5a')]('faxInteraction@get',{'createdAt':{'$gte':moment()['startOf'](_0x477d('0x137'))[_0x477d('0x12e')](0x0,!![])['format'](),'$lte':moment()['endOf'](_0x477d('0x137'))[_0x477d('0x12e')](0x0,!![])[_0x477d('0x12f')]()},'nolimit':!![]});}],'faxAccounts':['apiResolver','Auth',function(_0x479326,_0x24135c){return _0x24135c[_0x477d('0x56')](_0x477d('0x5f'))?_0x479326[_0x477d('0x5a')](_0x477d('0x147'),{'fields':_0x477d('0x148'),'sort':_0x477d('0x59'),'limit':0xa,'offset':0x0}):_0x479326[_0x477d('0x5a')](_0x477d('0x5b'),{'id':_0x24135c['getCurrentUser']()[_0x477d('0x61')],'section':_0x477d('0x149'),'fields':'createdAt,updatedAt,id,name,key,headerinfo,TrunkId,localstationid,ListId,waitForTheAssignedAgent,description,ecm,minrate,maxrate,modem,gateway,faxdetect,t38timeout,tech,acceptMethod,acceptUrl,rejectMethod,rejectUrl,closeMethod,closeUrl,notificationSound,notificationShake,notificationTemplate','sort':_0x477d('0x59'),'limit':0xa,'offset':0x0});}]},'authenticate':!![],'bodyClass':_0x477d('0x112')})['state'](_0x477d('0x14a'),{'url':'/whatsapp','data':{'selectedTab':0x7},'views':{'whatsapp':{'templateUrl':_0x477d('0x14b'),'controller':_0x477d('0x14c')}},'resolve':{'whatsappInteractions':[_0x477d('0x5e'),function(_0x5e1b84){return _0x5e1b84['resolve']('whatsappInteraction@get',{'createdAt':{'$gte':moment()[_0x477d('0x12d')]('day')['utcOffset'](0x0,!![])[_0x477d('0x12f')](),'$lte':moment()[_0x477d('0x130')]('day')[_0x477d('0x12e')](0x0,!![])['format']()},'nolimit':!![]});}],'whatsappAccounts':['apiResolver',_0x477d('0x55'),function(_0x3b9d06,_0x449970){return _0x449970[_0x477d('0x56')]('admin')?_0x3b9d06['resolve'](_0x477d('0x14d'),{'fields':_0x477d('0x14e'),'sort':_0x477d('0x59'),'limit':0xa,'offset':0x0}):_0x3b9d06['resolve'](_0x477d('0x5b'),{'id':_0x449970[_0x477d('0x5c')]()[_0x477d('0x61')],'section':_0x477d('0x14f'),'fields':'createdAt,updatedAt,id,name,key,token,remote,ListId,phone,type,accountSid,authId,authToken,whatsappMethod,username,password,senderString,deliveryReport,waitForTheAssignedAgent,description,receiveUrl,deliveryReportUrl,notificationSound,notificationShake,notificationTemplate','sort':_0x477d('0x59'),'limit':0xa,'offset':0x0});}]},'authenticate':!![],'bodyClass':_0x477d('0x112')});}}());(function(){'use strict';_0x45b638[_0x477d('0xa')]=['$stateProvider',_0x477d('0x14'),_0x477d('0xad'),_0x477d('0x43')];angular[_0x477d('0xb')]('app.fax',[_0x477d('0x44'),_0x477d('0x45'),'md.data.table',_0x477d('0xae'),_0x477d('0x46'),_0x477d('0x47'),_0x477d('0x48'),'ngAria','ngAnimate',_0x477d('0x49'),_0x477d('0x4a'),_0x477d('0x4b'),_0x477d('0x4c'),_0x477d('0x4d'),'angular-cron-jobs','ngEmbed',_0x477d('0x4f'),_0x477d('0xaf'),'chart.js',_0x477d('0x84'),'app.fax.realtime'])['config'](_0x45b638);function _0x45b638(_0x489ba6,_0x83db1d,_0x38120d,_0x34059f){_0x489ba6[_0x477d('0xe')]('app.fax',{'abstract':!![],'url':_0x477d('0x144')})['state'](_0x477d('0x150'),{'url':'/faxQueues','views':{'content@app':{'templateUrl':_0x477d('0x151'),'controller':_0x477d('0x152')}},'resolve':{'faxQueues':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x586b72,_0x19412f){return _0x19412f[_0x477d('0x56')](_0x477d('0x5f'))?_0x586b72[_0x477d('0x5a')](_0x477d('0x153'),{'fields':_0x477d('0xb5'),'sort':'-updatedAt','channel':_0x477d('0x154'),'limit':0xa,'offset':0x0}):_0x586b72[_0x477d('0x5a')](_0x477d('0x5b'),{'id':_0x19412f[_0x477d('0x5c')]()[_0x477d('0x61')],'section':_0x477d('0x155'),'fields':_0x477d('0xb5'),'sort':'-updatedAt','channel':_0x477d('0x154'),'limit':0xa,'offset':0x0});}],'userProfile':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x11ad2c,_0x10c6a6){return _0x10c6a6[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x11ad2c[_0x477d('0x5a')](_0x477d('0x6b'),{'fields':_0x477d('0x60'),'id':_0x10c6a6['getCurrentUser']()[_0x477d('0x61')]});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x58d2f3,_0x480d30){return _0x480d30[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x58d2f3['resolve'](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x480d30[_0x477d('0x5c')]()['userProfileId'],'sectionId':0x385});}]},'authenticate':!![],'permissionId':0x385,'bodyClass':_0x477d('0x154')})[_0x477d('0xe')](_0x477d('0x156'),{'url':_0x477d('0xb8'),'params':{'faxQueue':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':'app/main/apps/fax/views/faxQueues/edit/view.html','controller':_0x477d('0x157')}},'resolve':{'faxQueue':['apiResolver',_0x477d('0x72'),function(_0x300997,_0x473618){return _0x300997[_0x477d('0x5a')]('faxQueue@get',{'fields':_0x477d('0xb5'),'id':_0x473618['id']});}],'userProfileSection':[_0x477d('0x5e'),'Auth',function(_0x58f3c6,_0x7ad210){return _0x58f3c6[_0x477d('0x5a')]('userProfileSection@get',{'fields':_0x477d('0x63'),'userProfileId':_0x7ad210[_0x477d('0x5c')]()['userProfileId'],'sectionId':0x385});}]},'authenticate':!![],'permissionId':0x385,'bodyClass':_0x477d('0x154')})[_0x477d('0xe')]('app.fax.faxAccounts',{'url':'/faxAccounts','views':{'content@app':{'templateUrl':_0x477d('0x158'),'controller':_0x477d('0x159')}},'resolve':{'faxAccounts':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x631f30,_0x3f1c98){return _0x3f1c98[_0x477d('0x56')](_0x477d('0x5f'))?_0x631f30[_0x477d('0x5a')](_0x477d('0x147'),{'fields':_0x477d('0x15a'),'sort':'-updatedAt','limit':0xa,'offset':0x0}):_0x631f30[_0x477d('0x5a')](_0x477d('0x5b'),{'id':_0x3f1c98[_0x477d('0x5c')]()[_0x477d('0x61')],'section':_0x477d('0x149'),'fields':_0x477d('0x15a'),'sort':_0x477d('0x59'),'limit':0xa,'offset':0x0});}],'userProfile':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x1694a0,_0x4c3b59){return _0x4c3b59['hasRole'](_0x477d('0x5f'))?null:_0x1694a0['resolve'](_0x477d('0x6b'),{'fields':_0x477d('0x60'),'id':_0x4c3b59[_0x477d('0x5c')]()['userProfileId']});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x13b4e9,_0x46651a){return _0x46651a[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x13b4e9[_0x477d('0x5a')](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x46651a['getCurrentUser']()[_0x477d('0x61')],'sectionId':0x386});}]},'authenticate':!![],'permissionId':0x386,'bodyClass':'fax'})['state'](_0x477d('0x15b'),{'url':_0x477d('0xb8'),'params':{'faxAccount':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':'app/main/apps/fax/views/faxAccounts/edit/view.html','controller':_0x477d('0x15c')}},'resolve':{'faxAccount':[_0x477d('0x5e'),'$stateParams',function(_0x2f04ce,_0x52595a){return _0x2f04ce['resolve'](_0x477d('0x147'),{'fields':'createdAt,updatedAt,id,name,key,headerinfo,TrunkId,localstationid,ListId,waitForTheAssignedAgent,mandatoryDisposition,mandatoryDispositionPauseId,description,ecm,minrate,maxrate,modem,gateway,faxdetect,t38timeout,tech,notificationSound,notificationShake,notificationTemplate,queueTransfer,queueTransferTimeout,agentTransfer,agentTransferTimeout','id':_0x52595a['id']});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x4d7cc7,_0x144940){return _0x4d7cc7[_0x477d('0x5a')](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x144940[_0x477d('0x5c')]()['userProfileId'],'sectionId':0x386});}]},'authenticate':!![],'permissionId':0x386,'bodyClass':_0x477d('0x154')});_0x83db1d[_0x477d('0x19')](_0x477d('0x15d'));}}());(function(){'use strict';_0x1195f3[_0x477d('0xa')]=['$stateProvider'];angular['module']('app.fax.realtime',[])[_0x477d('0xd')](_0x1195f3);function _0x1195f3(_0xaf3333){_0xaf3333[_0x477d('0xe')]('app.fax.realtime',{'url':_0x477d('0xc5'),'views':{'content@app':{'templateUrl':_0x477d('0x15e'),'controller':'FaxRealtimeController\x20as\x20vm'}},'resolve':{'userProfile':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x39bf4b,_0x59c598){return _0x59c598[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x39bf4b['resolve'](_0x477d('0x6b'),{'fields':_0x477d('0x60'),'id':_0x59c598[_0x477d('0x5c')]()['userProfileId']});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x1a2d9f,_0x22d2b8){return _0x22d2b8[_0x477d('0x56')]('admin')?null:_0x1a2d9f['resolve'](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x22d2b8[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0x38e});}]},'authenticate':!![],'permissionId':0x38e})[_0x477d('0xe')]('app.fax.realtime.agents',{'url':_0x477d('0xc9'),'controller':_0x477d('0x15f'),'templateUrl':_0x477d('0x160'),'resolve':{'pauses':[_0x477d('0x5e'),function(_0x285257){return _0x285257[_0x477d('0x5a')](_0x477d('0xab'),{'nolimit':!![]});}],'agents':[_0x477d('0x5e'),_0x477d('0x55'),function(_0xe4090e,_0x38bcd6){return _0x38bcd6['hasRole'](_0x477d('0x5f'))?_0xe4090e[_0x477d('0x5a')](_0x477d('0x99'),{'fields':_0x477d('0xcc'),'role':'agent','sort':_0x477d('0xcd'),'nolimit':!![]}):_0xe4090e['resolve'](_0x477d('0x5b'),{'id':_0x38bcd6[_0x477d('0x5c')]()[_0x477d('0x61')],'section':'Agents','fields':_0x477d('0xcc'),'role':_0x477d('0xcf'),'sort':_0x477d('0xcd'),'nolimit':!![]});}],'userProfile':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x5354fa,_0x5b7d2b){return _0x5b7d2b[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x5354fa[_0x477d('0x5a')](_0x477d('0x6b'),{'fields':_0x477d('0x60'),'id':_0x5b7d2b['getCurrentUser']()[_0x477d('0x61')]});}],'userProfileSection':[_0x477d('0x5e'),'Auth',function(_0x1687a7,_0x7dd94f){return _0x7dd94f['hasRole'](_0x477d('0x5f'))?null:_0x1687a7[_0x477d('0x5a')](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x7dd94f[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0xca});}],'rpcAgents':[_0x477d('0x5e'),function(_0x1e76fa){return _0x1e76fa[_0x477d('0x5a')](_0x477d('0xd0'));}]},'authenticate':!![],'permissionId':0x38e})[_0x477d('0xe')](_0x477d('0x161'),{'url':_0x477d('0x162'),'controller':'TrunksFaxRealtimeController\x20as\x20vm','templateUrl':_0x477d('0x163'),'resolve':{'trunks':[_0x477d('0x5e'),'Auth',function(_0x221c60,_0x4e100e){return _0x4e100e[_0x477d('0x56')]('admin')?_0x221c60['resolve'](_0x477d('0x9b'),{'fields':_0x477d('0x9c'),'active':!![],'sort':_0x477d('0x59'),'limit':0xa,'offset':0x0}):_0x221c60[_0x477d('0x5a')](_0x477d('0x5b'),{'id':_0x4e100e[_0x477d('0x5c')]()[_0x477d('0x61')],'section':'Trunks','fields':_0x477d('0x9c'),'active':!![],'sort':_0x477d('0x59'),'limit':0xa,'offset':0x0});}],'userProfile':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x1d5816,_0x4d0a54){return _0x4d0a54[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x1d5816[_0x477d('0x5a')]('userProfile@get',{'fields':_0x477d('0x60'),'id':_0x4d0a54[_0x477d('0x5c')]()[_0x477d('0x61')]});}],'userProfileSection':['apiResolver','Auth',function(_0x40602e,_0x3e3015){return _0x3e3015[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x40602e[_0x477d('0x5a')](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x3e3015['getCurrentUser']()['userProfileId'],'sectionId':0x3f3});}],'rpcTrunks':[_0x477d('0x5e'),function(_0x858a70){return _0x858a70[_0x477d('0x5a')](_0x477d('0x164'));}]},'authenticate':!![],'permissionId':0x38e})[_0x477d('0xe')](_0x477d('0x165'),{'url':'/queues','controller':_0x477d('0x166'),'templateUrl':_0x477d('0x167'),'resolve':{'queues':['apiResolver',_0x477d('0x55'),function(_0x168449,_0x4250d4){return _0x4250d4[_0x477d('0x56')](_0x477d('0x5f'))?_0x168449[_0x477d('0x5a')](_0x477d('0x153'),{'type':_0x477d('0x9e'),'sort':_0x477d('0x59'),'limit':0xa,'offset':0x0}):_0x168449['resolve']('userProfile@getResources',{'id':_0x4250d4['getCurrentUser']()['userProfileId'],'section':_0x477d('0x155'),'channel':_0x477d('0x154'),'type':_0x477d('0x9e'),'sort':_0x477d('0x59'),'limit':0xa,'page':0x1});}],'userProfile':[_0x477d('0x5e'),'Auth',function(_0x2abf2d,_0x1e2b1f){return _0x1e2b1f[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x2abf2d[_0x477d('0x5a')](_0x477d('0x6b'),{'fields':_0x477d('0x60'),'id':_0x1e2b1f['getCurrentUser']()['userProfileId']});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x3605a7,_0x1e12d3){return _0x1e12d3['hasRole']('admin')?null:_0x3605a7[_0x477d('0x5a')]('userProfileSection@get',{'fields':_0x477d('0x63'),'userProfileId':_0x1e12d3[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0x385});}],'rpcQueues':[_0x477d('0x5e'),function(_0x44d198){return _0x44d198[_0x477d('0x5a')]('rpc@getFaxQueues');}]},'authenticate':!![],'permissionId':0x38e})[_0x477d('0xe')](_0x477d('0x168'),{'url':_0x477d('0x169'),'controller':_0x477d('0x16a'),'templateUrl':_0x477d('0x16b'),'resolve':{'faxAccounts':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x21f53b,_0x5a073e){return _0x5a073e['hasRole']('admin')?_0x21f53b[_0x477d('0x5a')](_0x477d('0x147'),{'sort':_0x477d('0x59'),'limit':0xa,'offset':0x0}):_0x21f53b['resolve']('userProfile@getResources',{'id':_0x5a073e['getCurrentUser']()[_0x477d('0x61')],'section':_0x477d('0x149'),'sort':'-updatedAt','limit':0xa,'offset':0x0});}],'userProfile':['apiResolver',_0x477d('0x55'),function(_0x2c0542,_0x39f4b6){return _0x39f4b6['hasRole'](_0x477d('0x5f'))?null:_0x2c0542['resolve'](_0x477d('0x6b'),{'fields':'id,name,crudPermissions','id':_0x39f4b6[_0x477d('0x5c')]()[_0x477d('0x61')]});}],'userProfileSection':[_0x477d('0x5e'),'Auth',function(_0x1f7238,_0x12c8b7){return _0x12c8b7[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x1f7238[_0x477d('0x5a')]('userProfileSection@get',{'fields':_0x477d('0x63'),'userProfileId':_0x12c8b7['getCurrentUser']()[_0x477d('0x61')],'sectionId':0x386});}],'rpcFaxAccounts':[_0x477d('0x5e'),function(_0x85b6be){return _0x85b6be[_0x477d('0x5a')](_0x477d('0x16c'));}]},'authenticate':!![],'permissionId':0x38e});}}());(function(){'use strict';_0x61e2[_0x477d('0xa')]=[_0x477d('0x1e'),_0x477d('0x14'),_0x477d('0xad'),_0x477d('0x43')];angular[_0x477d('0xb')]('app.help',[_0x477d('0x44'),'ngPassword',_0x477d('0x81'),_0x477d('0xae'),_0x477d('0x46'),_0x477d('0x47'),_0x477d('0x48'),_0x477d('0x2'),_0x477d('0x82'),'mdPickers',_0x477d('0x4a'),'mwFormViewer',_0x477d('0x4c'),'ngclipboard',_0x477d('0x83'),_0x477d('0x4e'),'angularMaterialFormBuilder',_0x477d('0xaf'),'chart.js',_0x477d('0x84'),_0x477d('0x16d')])[_0x477d('0xd')](_0x61e2);function _0x61e2(_0x5262c9,_0x897fde,_0x35a5bf,_0x3193a2){_0x5262c9['state'](_0x477d('0x16e'),{'abstract':!![],'url':_0x477d('0x16f')});_0x897fde[_0x477d('0x19')](_0x477d('0x170'));}}());(function(){'use strict';_0x1cbedd[_0x477d('0xa')]=[_0x477d('0x1e')];angular[_0x477d('0xb')](_0x477d('0x16d'),[])[_0x477d('0xd')](_0x1cbedd);function _0x1cbedd(_0x3340f3){_0x3340f3[_0x477d('0xe')]('app.help.about',{'url':'/about','views':{'content@app':{'templateUrl':_0x477d('0x171'),'controller':'AboutController\x20as\x20vm'}},'resolve':{'info':['apiResolver',function(_0x1b2463){return _0x1b2463[_0x477d('0x5a')]('version@get');}]},'authenticate':!![],'permissionId':0x640,'bodyClass':_0x477d('0x172')});}}());(function(){'use strict';_0x2f2188[_0x477d('0xa')]=['$stateProvider',_0x477d('0x14'),_0x477d('0xad'),'msNavigationServiceProvider'];angular[_0x477d('0xb')](_0x477d('0x38'),[_0x477d('0x44'),_0x477d('0x45'),_0x477d('0x81'),'flow','mdColorPicker','ckeditor',_0x477d('0x48'),_0x477d('0x2'),_0x477d('0x82'),_0x477d('0x49'),_0x477d('0x4a'),_0x477d('0x4b'),_0x477d('0x4c'),_0x477d('0x4d'),_0x477d('0x83'),'ngEmbed',_0x477d('0x4f'),_0x477d('0xaf'),'chart.js',_0x477d('0x84')])['config'](_0x2f2188);function _0x2f2188(_0x1d309f,_0x4b7d0a,_0x47afaa,_0x3d05e9){_0x1d309f[_0x477d('0xe')](_0x477d('0x38'),{'abstract':!![],'url':_0x477d('0x173')})[_0x477d('0xe')](_0x477d('0x174'),{'url':_0x477d('0x175'),'views':{'content@app':{'templateUrl':'app/main/apps/integrations/views/zendeskAccounts/zendeskAccounts.html','controller':'ZendeskAccountsController\x20as\x20vm'}},'resolve':{'zendeskAccounts':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x22c7ae,_0x37a739){return _0x37a739[_0x477d('0x56')]('admin')?_0x22c7ae[_0x477d('0x5a')](_0x477d('0x176'),{'fields':_0x477d('0x177'),'limit':0xa,'offset':0x0}):_0x22c7ae['resolve'](_0x477d('0x5b'),{'id':_0x37a739['getCurrentUser']()[_0x477d('0x61')],'section':_0x477d('0x178'),'fields':_0x477d('0x177'),'limit':0xa,'offset':0x0});}],'userProfile':['apiResolver','Auth',function(_0x486805,_0x373615){return _0x373615[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x486805[_0x477d('0x5a')](_0x477d('0x6b'),{'fields':_0x477d('0x60'),'id':_0x373615['getCurrentUser']()[_0x477d('0x61')]});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x1a6b4c,_0x1fcf2f){return _0x1fcf2f[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x1a6b4c[_0x477d('0x5a')](_0x477d('0x62'),{'fields':'id,name,enabled,includeAll,autoAssociation,crudPermissions','userProfileId':_0x1fcf2f['getCurrentUser']()[_0x477d('0x61')],'sectionId':0x515});}]},'authenticate':!![],'permissionId':0x515,'bodyClass':_0x477d('0x179')})[_0x477d('0xe')](_0x477d('0x17a'),{'url':_0x477d('0xb8'),'params':{'zendeskAccount':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':_0x477d('0x17b'),'controller':_0x477d('0x17c')}},'resolve':{'zendeskAccount':['apiResolver','$stateParams',function(_0xf3779b,_0x36cae9){return _0xf3779b[_0x477d('0x5a')](_0x477d('0x176'),{'fields':_0x477d('0x177'),'id':_0x36cae9['id']});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x13200d,_0x45401c){return _0x13200d[_0x477d('0x5a')](_0x477d('0x62'),{'fields':'id,name,enabled,includeAll,autoAssociation,crudPermissions','userProfileId':_0x45401c[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0x515});}]},'authenticate':!![],'permissionId':0x515,'bodyClass':_0x477d('0x179')})[_0x477d('0xe')](_0x477d('0x17d'),{'url':_0x477d('0x17e'),'views':{'content@app':{'templateUrl':_0x477d('0x17f'),'controller':_0x477d('0x180')}},'resolve':{'salesforceAccounts':['apiResolver',_0x477d('0x55'),function(_0x976a18,_0x4c01db){return _0x4c01db[_0x477d('0x56')]('admin')?_0x976a18[_0x477d('0x5a')](_0x477d('0x181'),{'fields':_0x477d('0x182'),'limit':0xa,'offset':0x0}):_0x976a18[_0x477d('0x5a')]('userProfile@getResources',{'id':_0x4c01db[_0x477d('0x5c')]()[_0x477d('0x61')],'section':_0x477d('0x183'),'fields':'createdAt,updatedAt,id,name,type,username,remoteUri,password,clientId,clientSecret,securityToken,serverUrl,description','limit':0xa,'offset':0x0});}],'userProfile':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x42bc2c,_0x457dd3){return _0x457dd3[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x42bc2c[_0x477d('0x5a')]('userProfile@get',{'fields':_0x477d('0x60'),'id':_0x457dd3['getCurrentUser']()[_0x477d('0x61')]});}],'userProfileSection':['apiResolver','Auth',function(_0x2520c0,_0x45304e){return _0x45304e[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x2520c0['resolve'](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x45304e['getCurrentUser']()[_0x477d('0x61')],'sectionId':0x516});}]},'authenticate':!![],'permissionId':0x516,'bodyClass':'integrations'})[_0x477d('0xe')]('app.integrations.salesforceAccounts.edit',{'url':_0x477d('0xb8'),'params':{'salesforceAccount':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':'app/main/apps/integrations/views/salesforceAccounts/edit/view.html','controller':_0x477d('0x184')}},'resolve':{'salesforceAccount':[_0x477d('0x5e'),_0x477d('0x72'),function(_0x542d66,_0x44c874){return _0x542d66[_0x477d('0x5a')](_0x477d('0x181'),{'fields':'createdAt,updatedAt,id,name,type,username,remoteUri,password,clientId,clientSecret,securityToken,serverUrl,description','id':_0x44c874['id']});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x1329ee,_0x5e7fd1){return _0x1329ee[_0x477d('0x5a')](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x5e7fd1['getCurrentUser']()[_0x477d('0x61')],'sectionId':0x516});}]},'authenticate':!![],'permissionId':0x516,'bodyClass':_0x477d('0x179')})[_0x477d('0xe')]('app.integrations.freshdeskAccounts',{'url':_0x477d('0x185'),'views':{'content@app':{'templateUrl':_0x477d('0x186'),'controller':'FreshdeskAccountsController\x20as\x20vm'}},'resolve':{'freshdeskAccounts':[_0x477d('0x5e'),'Auth',function(_0x36ac83,_0x44faa4){return _0x44faa4['hasRole'](_0x477d('0x5f'))?_0x36ac83[_0x477d('0x5a')](_0x477d('0x187'),{'fields':_0x477d('0x188'),'limit':0xa,'offset':0x0}):_0x36ac83[_0x477d('0x5a')]('userProfile@getResources',{'id':_0x44faa4[_0x477d('0x5c')]()[_0x477d('0x61')],'section':'FreshdeskAccounts','fields':'createdAt,updatedAt,id,name,username,remoteUri,apiKey,serverUrl,description','limit':0xa,'offset':0x0});}],'userProfile':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x47f8c1,_0x415da1){return _0x415da1[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x47f8c1[_0x477d('0x5a')]('userProfile@get',{'fields':'id,name,crudPermissions','id':_0x415da1['getCurrentUser']()[_0x477d('0x61')]});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x429b9a,_0x4045e2){return _0x4045e2[_0x477d('0x56')]('admin')?null:_0x429b9a[_0x477d('0x5a')](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x4045e2[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0x517});}]},'authenticate':!![],'permissionId':0x517,'bodyClass':'integrations'})[_0x477d('0xe')]('app.integrations.freshdeskAccounts.edit',{'url':_0x477d('0xb8'),'params':{'freshdeskAccount':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':_0x477d('0x189'),'controller':'FreshdeskAccountController\x20as\x20vm'}},'resolve':{'freshdeskAccount':[_0x477d('0x5e'),_0x477d('0x72'),function(_0x3e5e21,_0x3ff249){return _0x3e5e21[_0x477d('0x5a')](_0x477d('0x187'),{'fields':_0x477d('0x188'),'id':_0x3ff249['id']});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x1589c9,_0x184e97){return _0x1589c9[_0x477d('0x5a')](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x184e97[_0x477d('0x5c')]()['userProfileId'],'sectionId':0x517});}]},'authenticate':!![],'permissionId':0x517,'bodyClass':_0x477d('0x179')})['state'](_0x477d('0x18a'),{'url':_0x477d('0x18b'),'views':{'content@app':{'templateUrl':_0x477d('0x18c'),'controller':'SugarcrmAccountsController\x20as\x20vm'}},'resolve':{'sugarcrmAccounts':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x2ac93c,_0x15dbd9){return _0x15dbd9[_0x477d('0x56')](_0x477d('0x5f'))?_0x2ac93c[_0x477d('0x5a')](_0x477d('0x18d'),{'fields':'createdAt,updatedAt,id,name,username,remoteUri,password,serverUrl,description','limit':0xa,'offset':0x0}):_0x2ac93c[_0x477d('0x5a')](_0x477d('0x5b'),{'id':_0x15dbd9[_0x477d('0x5c')]()[_0x477d('0x61')],'section':_0x477d('0x18e'),'fields':_0x477d('0x18f'),'limit':0xa,'offset':0x0});}],'userProfile':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x321995,_0x432ef9){return _0x432ef9[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x321995[_0x477d('0x5a')](_0x477d('0x6b'),{'fields':'id,name,crudPermissions','id':_0x432ef9[_0x477d('0x5c')]()[_0x477d('0x61')]});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x58b270,_0x74c9eb){return _0x74c9eb[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x58b270[_0x477d('0x5a')](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x74c9eb[_0x477d('0x5c')]()['userProfileId'],'sectionId':0x519});}]},'authenticate':!![],'permissionId':0x519,'bodyClass':_0x477d('0x179')})[_0x477d('0xe')](_0x477d('0x190'),{'url':_0x477d('0xb8'),'params':{'sugarcrmAccount':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':'app/main/apps/integrations/views/sugarcrmAccounts/edit/view.html','controller':_0x477d('0x191')}},'resolve':{'sugarcrmAccount':[_0x477d('0x5e'),'$stateParams',function(_0x491fbe,_0x46b905){return _0x491fbe[_0x477d('0x5a')]('intSugarcrmAccount@get',{'fields':_0x477d('0x18f'),'id':_0x46b905['id']});}],'userProfileSection':[_0x477d('0x5e'),'Auth',function(_0x3cd8b3,_0x4f42b7){return _0x3cd8b3[_0x477d('0x5a')](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x4f42b7[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0x519});}]},'authenticate':!![],'permissionId':0x519,'bodyClass':_0x477d('0x179')})[_0x477d('0xe')](_0x477d('0x192'),{'url':_0x477d('0x193'),'views':{'content@app':{'templateUrl':_0x477d('0x194'),'controller':'DeskAccountsController\x20as\x20vm'}},'resolve':{'deskAccounts':[_0x477d('0x5e'),'Auth',function(_0x4323a3,_0x1c178b){return _0x1c178b[_0x477d('0x56')](_0x477d('0x5f'))?_0x4323a3[_0x477d('0x5a')](_0x477d('0x195'),{'fields':_0x477d('0x196'),'limit':0xa,'offset':0x0}):_0x4323a3[_0x477d('0x5a')](_0x477d('0x5b'),{'id':_0x1c178b['getCurrentUser']()[_0x477d('0x61')],'section':_0x477d('0x197'),'fields':_0x477d('0x196'),'limit':0xa,'offset':0x0});}],'userProfile':[_0x477d('0x5e'),'Auth',function(_0x4b23ac,_0x313c8f){return _0x313c8f['hasRole'](_0x477d('0x5f'))?null:_0x4b23ac[_0x477d('0x5a')](_0x477d('0x6b'),{'fields':_0x477d('0x60'),'id':_0x313c8f[_0x477d('0x5c')]()['userProfileId']});}],'userProfileSection':['apiResolver',_0x477d('0x55'),function(_0x5b0ace,_0x5df485){return _0x5df485[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x5b0ace[_0x477d('0x5a')](_0x477d('0x62'),{'fields':'id,name,enabled,includeAll,autoAssociation,crudPermissions','userProfileId':_0x5df485[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0x51a});}]},'authenticate':!![],'permissionId':0x51a,'bodyClass':_0x477d('0x179')})[_0x477d('0xe')](_0x477d('0x198'),{'url':_0x477d('0xb8'),'params':{'deskAccount':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':_0x477d('0x199'),'controller':'DeskAccountController\x20as\x20vm'}},'resolve':{'deskAccount':[_0x477d('0x5e'),_0x477d('0x72'),function(_0x31ef8c,_0x1fceba){return _0x31ef8c['resolve'](_0x477d('0x195'),{'fields':'createdAt,updatedAt,id,name,type,remoteUri,authType,username,password,serverUrl,description','id':_0x1fceba['id']});}],'userProfileSection':[_0x477d('0x5e'),'Auth',function(_0x13e010,_0x2b6ef4){return _0x13e010['resolve'](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x2b6ef4[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0x51a});}]},'authenticate':!![],'permissionId':0x51a,'bodyClass':_0x477d('0x179')})[_0x477d('0xe')](_0x477d('0x19a'),{'url':'/zohoAccounts','views':{'content@app':{'templateUrl':'app/main/apps/integrations/views/zohoAccounts/zohoAccounts.html','controller':_0x477d('0x19b')}},'resolve':{'zohoAccounts':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x47aff1,_0x5b7bb1){return _0x5b7bb1[_0x477d('0x56')](_0x477d('0x5f'))?_0x47aff1[_0x477d('0x5a')](_0x477d('0x19c'),{'fields':_0x477d('0x19d'),'limit':0xa,'offset':0x0}):_0x47aff1[_0x477d('0x5a')](_0x477d('0x5b'),{'id':_0x5b7bb1['getCurrentUser']()[_0x477d('0x61')],'section':_0x477d('0x19e'),'fields':_0x477d('0x19d'),'limit':0xa,'offset':0x0});}],'userProfile':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x44fd97,_0x3f2edb){return _0x3f2edb['hasRole'](_0x477d('0x5f'))?null:_0x44fd97['resolve'](_0x477d('0x6b'),{'fields':_0x477d('0x60'),'id':_0x3f2edb[_0x477d('0x5c')]()[_0x477d('0x61')]});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x21ead2,_0x3767be){return _0x3767be['hasRole'](_0x477d('0x5f'))?null:_0x21ead2['resolve'](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x3767be[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0x51b});}]},'authenticate':!![],'permissionId':0x51b,'bodyClass':_0x477d('0x179')})[_0x477d('0xe')]('app.integrations.zohoAccounts.edit',{'url':_0x477d('0xb8'),'params':{'zohoAccount':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':_0x477d('0x19f'),'controller':_0x477d('0x1a0')}},'resolve':{'zohoAccount':[_0x477d('0x5e'),_0x477d('0x72'),function(_0x55a214,_0x51a82f){return _0x55a214['resolve'](_0x477d('0x19c'),{'fields':_0x477d('0x19d'),'id':_0x51a82f['id']});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x29896a,_0x54c6c4){return _0x29896a['resolve']('userProfileSection@get',{'fields':_0x477d('0x63'),'userProfileId':_0x54c6c4[_0x477d('0x5c')]()['userProfileId'],'sectionId':0x51b});}]},'authenticate':!![],'permissionId':0x51b,'bodyClass':_0x477d('0x179')})[_0x477d('0xe')](_0x477d('0x1a1'),{'url':_0x477d('0x1a2'),'views':{'content@app':{'templateUrl':_0x477d('0x1a3'),'controller':_0x477d('0x1a4')}},'resolve':{'vtigerAccounts':['apiResolver',_0x477d('0x55'),function(_0xdf834c,_0x1b53e8){return _0x1b53e8['hasRole'](_0x477d('0x5f'))?_0xdf834c[_0x477d('0x5a')](_0x477d('0x1a5'),{'fields':_0x477d('0x1a6'),'limit':0xa,'offset':0x0}):_0xdf834c['resolve'](_0x477d('0x5b'),{'id':_0x1b53e8['getCurrentUser']()[_0x477d('0x61')],'section':_0x477d('0x1a7'),'fields':'createdAt,updatedAt,id,name,description,username,accessKey,remoteUri,serverUrl','limit':0xa,'offset':0x0});}],'userProfile':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x9f6415,_0x31bfde){return _0x31bfde[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x9f6415['resolve'](_0x477d('0x6b'),{'fields':'id,name,crudPermissions','id':_0x31bfde['getCurrentUser']()[_0x477d('0x61')]});}],'userProfileSection':[_0x477d('0x5e'),'Auth',function(_0x45c8b2,_0x158b67){return _0x158b67[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x45c8b2[_0x477d('0x5a')]('userProfileSection@get',{'fields':_0x477d('0x63'),'userProfileId':_0x158b67[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0x51c});}]},'authenticate':!![],'permissionId':0x51c,'bodyClass':_0x477d('0x179')})[_0x477d('0xe')](_0x477d('0x1a8'),{'url':_0x477d('0xb8'),'params':{'vtigerAccount':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':_0x477d('0x1a9'),'controller':_0x477d('0x1aa')}},'resolve':{'vtigerAccount':[_0x477d('0x5e'),_0x477d('0x72'),function(_0x5b9085,_0x138a35){return _0x5b9085[_0x477d('0x5a')](_0x477d('0x1a5'),{'fields':_0x477d('0x1a6'),'id':_0x138a35['id']});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x35930a,_0x439a8d){return _0x35930a['resolve']('userProfileSection@get',{'fields':_0x477d('0x63'),'userProfileId':_0x439a8d['getCurrentUser']()[_0x477d('0x61')],'sectionId':0x51c});}]},'authenticate':!![],'permissionId':0x51c,'bodyClass':_0x477d('0x179')})[_0x477d('0xe')]('app.integrations.dynamics365Accounts',{'url':_0x477d('0x1ab'),'views':{'content@app':{'templateUrl':_0x477d('0x1ac'),'controller':_0x477d('0x1ad')}},'resolve':{'dynamics365Accounts':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x36737b,_0x4f7c1d){return _0x4f7c1d['hasRole'](_0x477d('0x5f'))?_0x36737b[_0x477d('0x5a')](_0x477d('0x1ae'),{'fields':_0x477d('0x1af'),'limit':0xa,'offset':0x0}):_0x36737b[_0x477d('0x5a')](_0x477d('0x5b'),{'id':_0x4f7c1d['getCurrentUser']()[_0x477d('0x61')],'section':_0x477d('0x1b0'),'fields':_0x477d('0x1af'),'limit':0xa,'offset':0x0});}],'userProfile':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x450a74,_0x1b8abf){return _0x1b8abf[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x450a74['resolve'](_0x477d('0x6b'),{'fields':_0x477d('0x60'),'id':_0x1b8abf[_0x477d('0x5c')]()[_0x477d('0x61')]});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0xfdaa70,_0x44ed65){return _0x44ed65[_0x477d('0x56')](_0x477d('0x5f'))?null:_0xfdaa70[_0x477d('0x5a')](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x44ed65[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0x51d});}]},'authenticate':!![],'permissionId':0x51d,'bodyClass':_0x477d('0x179')})[_0x477d('0xe')](_0x477d('0x1b1'),{'url':_0x477d('0xb8'),'params':{'dynamics365Account':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':_0x477d('0x1b2'),'controller':_0x477d('0x1b3')}},'resolve':{'dynamics365Account':[_0x477d('0x5e'),_0x477d('0x72'),function(_0x5cd3c8,_0x40870b){return _0x5cd3c8[_0x477d('0x5a')]('intDynamics365Account@get',{'fields':_0x477d('0x1af'),'id':_0x40870b['id']});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x4873c0,_0x145f73){return _0x4873c0[_0x477d('0x5a')](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x145f73[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0x51d});}]},'authenticate':!![],'permissionId':0x51d,'bodyClass':_0x477d('0x179')})[_0x477d('0xe')](_0x477d('0x1b4'),{'url':_0x477d('0x1b5'),'views':{'content@app':{'templateUrl':_0x477d('0x1b6'),'controller':_0x477d('0x1b7')}},'resolve':{'servicenowAccounts':[_0x477d('0x5e'),'Auth',function(_0x26d646,_0x402274){return _0x402274['hasRole']('admin')?_0x26d646['resolve'](_0x477d('0x1b8'),{'fields':_0x477d('0x1b9'),'limit':0xa,'offset':0x0}):_0x26d646['resolve'](_0x477d('0x5b'),{'id':_0x402274[_0x477d('0x5c')]()[_0x477d('0x61')],'section':_0x477d('0x1ba'),'fields':_0x477d('0x1b9'),'limit':0xa,'offset':0x0});}],'userProfile':['apiResolver','Auth',function(_0x44eef7,_0x1a381f){return _0x1a381f[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x44eef7[_0x477d('0x5a')](_0x477d('0x6b'),{'fields':_0x477d('0x60'),'id':_0x1a381f[_0x477d('0x5c')]()[_0x477d('0x61')]});}],'userProfileSection':[_0x477d('0x5e'),'Auth',function(_0x435f23,_0x4212f3){return _0x4212f3[_0x477d('0x56')]('admin')?null:_0x435f23['resolve'](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x4212f3[_0x477d('0x5c')]()['userProfileId'],'sectionId':0x51e});}]},'authenticate':!![],'permissionId':0x51e,'bodyClass':_0x477d('0x179')})['state']('app.integrations.servicenowAccounts.edit',{'url':_0x477d('0xb8'),'params':{'servicenowAccount':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':_0x477d('0x1bb'),'controller':_0x477d('0x1bc')}},'resolve':{'servicenowAccount':[_0x477d('0x5e'),_0x477d('0x72'),function(_0x322bc1,_0x2c855c){return _0x322bc1[_0x477d('0x5a')](_0x477d('0x1b8'),{'fields':_0x477d('0x1b9'),'id':_0x2c855c['id']});}],'userProfileSection':['apiResolver',_0x477d('0x55'),function(_0x16642e,_0x11b7f4){return _0x16642e[_0x477d('0x5a')](_0x477d('0x62'),{'fields':'id,name,enabled,includeAll,autoAssociation,crudPermissions','userProfileId':_0x11b7f4[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0x51e});}]},'authenticate':!![],'permissionId':0x51e,'bodyClass':'integrations'})[_0x477d('0xe')](_0x477d('0x1bd'),{'url':_0x477d('0x1be'),'views':{'content@app':{'templateUrl':'app/main/apps/integrations/views/freshsalesAccounts/freshsalesAccounts.html','controller':_0x477d('0x1bf')}},'resolve':{'freshsalesAccounts':[_0x477d('0x5e'),'Auth',function(_0xefe959,_0x2a4b74){return _0x2a4b74[_0x477d('0x56')]('admin')?_0xefe959[_0x477d('0x5a')](_0x477d('0x1c0'),{'fields':'createdAt,updatedAt,id,name,username,remoteUri,apiKey,serverUrl,description','limit':0xa,'offset':0x0}):_0xefe959[_0x477d('0x5a')]('userProfile@getResources',{'id':_0x2a4b74[_0x477d('0x5c')]()[_0x477d('0x61')],'section':_0x477d('0x1c1'),'fields':'createdAt,updatedAt,id,name,username,remoteUri,apiKey,serverUrl,description','limit':0xa,'offset':0x0});}],'userProfile':['apiResolver',_0x477d('0x55'),function(_0x444903,_0x347440){return _0x347440[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x444903[_0x477d('0x5a')](_0x477d('0x6b'),{'fields':_0x477d('0x60'),'id':_0x347440['getCurrentUser']()[_0x477d('0x61')]});}],'userProfileSection':['apiResolver',_0x477d('0x55'),function(_0x551fa4,_0xe53677){return _0xe53677[_0x477d('0x56')]('admin')?null:_0x551fa4[_0x477d('0x5a')]('userProfileSection@get',{'fields':_0x477d('0x63'),'userProfileId':_0xe53677[_0x477d('0x5c')]()['userProfileId'],'sectionId':0x518});}]},'authenticate':!![],'permissionId':0x518,'bodyClass':_0x477d('0x179')})['state'](_0x477d('0x1c2'),{'url':_0x477d('0xb8'),'params':{'freshsalesAccount':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':_0x477d('0x1c3'),'controller':_0x477d('0x1c4')}},'resolve':{'freshsalesAccount':[_0x477d('0x5e'),'$stateParams',function(_0x1a8aa7,_0x447896){return _0x1a8aa7[_0x477d('0x5a')](_0x477d('0x1c0'),{'fields':'createdAt,updatedAt,id,name,username,remoteUri,apiKey,serverUrl,description','id':_0x447896['id']});}],'userProfileSection':[_0x477d('0x5e'),'Auth',function(_0x78ed1a,_0x32a25c){return _0x78ed1a[_0x477d('0x5a')]('userProfileSection@get',{'fields':_0x477d('0x63'),'userProfileId':_0x32a25c[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0x518});}]},'authenticate':!![],'permissionId':0x518,'bodyClass':'integrations'});_0x4b7d0a[_0x477d('0x19')]('app/main/apps/integrations');}}());(function(){'use strict';_0x1788df[_0x477d('0xa')]=[_0x477d('0x1e'),_0x477d('0x14'),_0x477d('0xad'),_0x477d('0x43')];angular[_0x477d('0xb')]('app.jscripty',[_0x477d('0x44'),'ngPassword','md.data.table',_0x477d('0xae'),'mdColorPicker',_0x477d('0x47'),_0x477d('0x48'),'ngAria',_0x477d('0x82'),_0x477d('0x49'),'mwFormBuilder','mwFormViewer',_0x477d('0x4c'),_0x477d('0x4d'),_0x477d('0x83'),_0x477d('0x4e'),_0x477d('0x4f'),_0x477d('0xaf'),'chart.js',_0x477d('0x84')])['config'](_0x1788df);function _0x1788df(_0xeb20f2,_0x3a4c88,_0x227f5f,_0x32c7c2){_0xeb20f2[_0x477d('0xe')]('app.jscripty',{'abstract':!![],'url':_0x477d('0x1c5')})[_0x477d('0xe')](_0x477d('0x1c6'),{'url':_0x477d('0x90'),'views':{'content@app':{'templateUrl':_0x477d('0x1c7'),'controller':'JscriptyProjectsController\x20as\x20vm'}},'resolve':{'projects':[_0x477d('0x5e'),'Auth',function(_0x3564f2,_0x2ef7ba){return _0x2ef7ba['hasRole'](_0x477d('0x5f'))?_0x3564f2[_0x477d('0x5a')](_0x477d('0x1c8'),{'fields':_0x477d('0x1c9'),'sort':_0x477d('0x59'),'limit':0xa,'offset':0x0}):_0x3564f2[_0x477d('0x5a')]('userProfile@getResources',{'id':_0x2ef7ba[_0x477d('0x5c')]()[_0x477d('0x61')],'section':_0x477d('0x1ca'),'fields':'createdAt,updatedAt,id,name,enableUncompleteSave,sendUnpauseOnSubmit,description,formData','sort':_0x477d('0x59'),'limit':0xa,'offset':0x0});}],'userProfile':[_0x477d('0x5e'),'Auth',function(_0x3b53c6,_0x59271e){return _0x59271e['hasRole'](_0x477d('0x5f'))?null:_0x3b53c6[_0x477d('0x5a')](_0x477d('0x6b'),{'fields':_0x477d('0x60'),'id':_0x59271e['getCurrentUser']()[_0x477d('0x61')]});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x2fdd5c,_0x7bb7f8){return _0x7bb7f8[_0x477d('0x56')]('admin')?null:_0x2fdd5c[_0x477d('0x5a')]('userProfileSection@get',{'fields':_0x477d('0x63'),'userProfileId':_0x7bb7f8[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0x6a5});}]},'authenticate':!![],'permissionId':0x6a5,'bodyClass':_0x477d('0x1cb')})['state'](_0x477d('0x1cc'),{'url':'/:id?tab','params':{'project':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':'app/main/apps/jscripty/views/projects/edit/view.html','controller':_0x477d('0x1cd')}},'resolve':{'project':[_0x477d('0x5e'),'$stateParams',function(_0x2cd381,_0x45a958){return _0x2cd381['resolve'](_0x477d('0x1c8'),{'fields':_0x477d('0x1c9'),'id':_0x45a958['id']});}],'userProfileSection':['apiResolver',_0x477d('0x55'),function(_0x2887a9,_0x6c38e7){return _0x2887a9[_0x477d('0x5a')](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x6c38e7[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0x6a5});}]},'authenticate':!![],'permissionId':0x6a5,'bodyClass':_0x477d('0x1cb')});_0x3a4c88[_0x477d('0x19')](_0x477d('0x1ce'));}}());(function(){'use strict';_0xd84341['$inject']=[_0x477d('0x1e'),_0x477d('0x14'),'msApiProvider',_0x477d('0x43')];angular[_0x477d('0xb')]('app.mail',[_0x477d('0x44'),_0x477d('0x45'),_0x477d('0x81'),_0x477d('0xae'),_0x477d('0x46'),_0x477d('0x47'),_0x477d('0x48'),'ngAria','ngAnimate',_0x477d('0x49'),'mwFormBuilder',_0x477d('0x4b'),'mwFormUtils',_0x477d('0x4d'),_0x477d('0x83'),_0x477d('0x4e'),_0x477d('0x4f'),'material.components.expansionPanels',_0x477d('0x50'),_0x477d('0x84'),_0x477d('0x1cf')])[_0x477d('0xd')](_0xd84341);function _0xd84341(_0x22bec5,_0xb078a2,_0x29437d,_0x128c3d){_0x22bec5[_0x477d('0xe')]('app.mail',{'abstract':!![],'url':_0x477d('0x133')})[_0x477d('0xe')](_0x477d('0x1d0'),{'url':_0x477d('0x1d1'),'views':{'content@app':{'templateUrl':_0x477d('0x1d2'),'controller':_0x477d('0x1d3')}},'resolve':{'mailQueues':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x1882c9,_0x259c09){return _0x259c09[_0x477d('0x56')](_0x477d('0x5f'))?_0x1882c9[_0x477d('0x5a')](_0x477d('0x1d4'),{'fields':_0x477d('0xb5'),'sort':_0x477d('0x59'),'channel':'mail','limit':0xa,'offset':0x0}):_0x1882c9[_0x477d('0x5a')](_0x477d('0x5b'),{'id':_0x259c09[_0x477d('0x5c')]()['userProfileId'],'section':_0x477d('0x1d5'),'fields':'createdAt,updatedAt,id,name,strategy,timeout,description','sort':_0x477d('0x59'),'channel':_0x477d('0x1d6'),'limit':0xa,'offset':0x0});}],'userProfile':[_0x477d('0x5e'),'Auth',function(_0x1f878c,_0x5d84be){return _0x5d84be[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x1f878c[_0x477d('0x5a')](_0x477d('0x6b'),{'fields':_0x477d('0x60'),'id':_0x5d84be[_0x477d('0x5c')]()[_0x477d('0x61')]});}],'userProfileSection':['apiResolver',_0x477d('0x55'),function(_0x4926ac,_0x4a2d5f){return _0x4a2d5f['hasRole'](_0x477d('0x5f'))?null:_0x4926ac[_0x477d('0x5a')](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x4a2d5f['getCurrentUser']()['userProfileId'],'sectionId':0x259});}]},'authenticate':!![],'permissionId':0x259,'bodyClass':_0x477d('0x1d6')})['state'](_0x477d('0x1d7'),{'url':_0x477d('0xb8'),'params':{'mailQueue':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':_0x477d('0x1d8'),'controller':_0x477d('0x1d9')}},'resolve':{'mailQueue':['apiResolver',_0x477d('0x72'),function(_0x3d4b94,_0x55f630){return _0x3d4b94['resolve'](_0x477d('0x1d4'),{'fields':_0x477d('0xb5'),'id':_0x55f630['id']});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x370738,_0x4841d5){return _0x370738[_0x477d('0x5a')](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x4841d5[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0x259});}]},'authenticate':!![],'permissionId':0x259,'bodyClass':'mail'})[_0x477d('0xe')](_0x477d('0x1da'),{'url':_0x477d('0x1db'),'views':{'content@app':{'templateUrl':'app/main/apps/mail/views/mailAccounts/mailAccounts.html','controller':_0x477d('0x1dc')}},'resolve':{'mailAccounts':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x3f7280,_0x20366c){return _0x20366c[_0x477d('0x56')](_0x477d('0x5f'))?_0x3f7280['resolve'](_0x477d('0xa6'),{'fields':_0x477d('0x1dd'),'sort':'-updatedAt','limit':0xa,'offset':0x0}):_0x3f7280[_0x477d('0x5a')](_0x477d('0x5b'),{'id':_0x20366c[_0x477d('0x5c')]()[_0x477d('0x61')],'section':_0x477d('0xa7'),'fields':_0x477d('0x1dd'),'sort':_0x477d('0x59'),'limit':0xa,'offset':0x0});}],'userProfile':['apiResolver',_0x477d('0x55'),function(_0x24324c,_0x5cc248){return _0x5cc248['hasRole'](_0x477d('0x5f'))?null:_0x24324c[_0x477d('0x5a')](_0x477d('0x6b'),{'fields':_0x477d('0x60'),'id':_0x5cc248[_0x477d('0x5c')]()[_0x477d('0x61')]});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x301655,_0x57e0f3){return _0x57e0f3[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x301655[_0x477d('0x5a')](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x57e0f3['getCurrentUser']()[_0x477d('0x61')],'sectionId':0x25a});}]},'authenticate':!![],'permissionId':0x25a,'bodyClass':_0x477d('0x1d6')})['state'](_0x477d('0x1de'),{'url':'/:id?tab','params':{'mailAccount':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':_0x477d('0x1df'),'controller':_0x477d('0x1e0')}},'resolve':{'mailAccount':['apiResolver','$stateParams',function(_0x13cdf2,_0x14a1c9){return _0x13cdf2[_0x477d('0x5a')](_0x477d('0xa6'),{'fields':_0x477d('0x1dd'),'id':_0x14a1c9['id']});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x5b6b12,_0x10b94a){return _0x5b6b12[_0x477d('0x5a')](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x10b94a[_0x477d('0x5c')]()['userProfileId'],'sectionId':0x25a});}]},'authenticate':!![],'permissionId':0x25a,'bodyClass':_0x477d('0x1d6')})[_0x477d('0xe')](_0x477d('0x1e1'),{'url':'/mailSubtatuses','views':{'content@app':{'templateUrl':_0x477d('0x1e2'),'controller':_0x477d('0x1e3')}},'resolve':{'mailSubtatuses':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x1f0482,_0x5e7d4c){return _0x1f0482['resolve'](_0x477d('0x1e4'),{'fields':_0x477d('0x1e5'),'sort':_0x477d('0x59'),'limit':0xa,'offset':0x0});}],'userProfile':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x3de321,_0x34a545){return _0x34a545[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x3de321[_0x477d('0x5a')](_0x477d('0x6b'),{'fields':_0x477d('0x60'),'id':_0x34a545[_0x477d('0x5c')]()[_0x477d('0x61')]});}],'userProfileSection':['apiResolver',_0x477d('0x55'),function(_0x4307e0,_0x18d8d0){return _0x18d8d0[_0x477d('0x56')]('admin')?null:_0x4307e0[_0x477d('0x5a')](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x18d8d0['getCurrentUser']()[_0x477d('0x61')],'sectionId':0x25b});}]},'authenticate':!![],'permissionId':0x25b,'bodyClass':'mail'});_0xb078a2[_0x477d('0x19')](_0x477d('0x1e6'));}}());(function(){'use strict';_0x45ed90[_0x477d('0xa')]=[_0x477d('0x1e')];angular['module']('app.mail.realtime',[])['config'](_0x45ed90);function _0x45ed90(_0x10f9ba){_0x10f9ba[_0x477d('0xe')](_0x477d('0x1cf'),{'url':_0x477d('0xc5'),'views':{'content@app':{'templateUrl':'app/main/apps/mail/views/realtime/realtime.html','controller':_0x477d('0x1e7')}},'resolve':{'userProfile':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x1b14a9,_0x14d301){return _0x14d301[_0x477d('0x56')]('admin')?null:_0x1b14a9[_0x477d('0x5a')]('userProfile@get',{'fields':_0x477d('0x60'),'id':_0x14d301[_0x477d('0x5c')]()[_0x477d('0x61')]});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x54c4a8,_0x519497){return _0x519497['hasRole'](_0x477d('0x5f'))?null:_0x54c4a8[_0x477d('0x5a')](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x519497[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0x262});}]},'authenticate':!![],'permissionId':0x262})['state'](_0x477d('0x1e8'),{'url':'/agents','controller':'AgentsMailRealtimeController\x20as\x20vm','templateUrl':_0x477d('0x1e9'),'resolve':{'pauses':[_0x477d('0x5e'),function(_0x135fd3){return _0x135fd3[_0x477d('0x5a')](_0x477d('0xab'),{'nolimit':!![]});}],'agents':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x588962,_0x457dfd){return _0x457dfd[_0x477d('0x56')]('admin')?_0x588962[_0x477d('0x5a')](_0x477d('0x99'),{'fields':'id,name,fullname,role,userpic,internal,online,voicePause,openchannelPause,faxPause,chatPause,smsPause,whatsappPause,mailPause,pauseType,lastPauseAt,lastLoginAt,lastPauseAt,chatCapacity,mailCapacity,openchannelCapacity,faxCapacity,smsCapacity,whatsappCapacity,screenrecording,phoneBarEnableScreenRecordingByAgent,phoneBarEnableAutomaticScreenRecording','role':_0x477d('0xcf'),'sort':'fullname','nolimit':!![]}):_0x588962[_0x477d('0x5a')]('userProfile@getResources',{'id':_0x457dfd[_0x477d('0x5c')]()[_0x477d('0x61')],'section':_0x477d('0xce'),'fields':_0x477d('0xcc'),'role':_0x477d('0xcf'),'sort':_0x477d('0xcd'),'nolimit':!![]});}],'userProfile':[_0x477d('0x5e'),'Auth',function(_0x2a2566,_0x3ba3d7){return _0x3ba3d7[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x2a2566[_0x477d('0x5a')]('userProfile@get',{'fields':_0x477d('0x60'),'id':_0x3ba3d7['getCurrentUser']()[_0x477d('0x61')]});}],'userProfileSection':['apiResolver',_0x477d('0x55'),function(_0x371f27,_0x3343de){return _0x3343de[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x371f27[_0x477d('0x5a')](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x3343de[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0xca});}],'rpcAgents':[_0x477d('0x5e'),function(_0x857556){return _0x857556[_0x477d('0x5a')](_0x477d('0xd0'));}]},'authenticate':!![],'permissionId':0x262})[_0x477d('0xe')](_0x477d('0x1ea'),{'url':_0x477d('0xd2'),'controller':_0x477d('0x1eb'),'templateUrl':_0x477d('0x1ec'),'resolve':{'queues':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x3f2788,_0x178ca1){return _0x178ca1[_0x477d('0x56')]('admin')?_0x3f2788[_0x477d('0x5a')](_0x477d('0x1d4'),{'type':'inbound','sort':'-updatedAt','limit':0xa,'offset':0x0}):_0x3f2788[_0x477d('0x5a')]('userProfile@getResources',{'id':_0x178ca1[_0x477d('0x5c')]()[_0x477d('0x61')],'section':_0x477d('0x1d5'),'channel':_0x477d('0x1d6'),'type':'inbound','sort':_0x477d('0x59'),'limit':0xa,'page':0x1});}],'userProfile':['apiResolver','Auth',function(_0x4a424f,_0x39038d){return _0x39038d[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x4a424f[_0x477d('0x5a')](_0x477d('0x6b'),{'fields':_0x477d('0x60'),'id':_0x39038d[_0x477d('0x5c')]()[_0x477d('0x61')]});}],'userProfileSection':[_0x477d('0x5e'),'Auth',function(_0xe52abd,_0x152ddd){return _0x152ddd[_0x477d('0x56')](_0x477d('0x5f'))?null:_0xe52abd[_0x477d('0x5a')]('userProfileSection@get',{'fields':_0x477d('0x63'),'userProfileId':_0x152ddd[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0x259});}],'rpcQueues':['apiResolver',function(_0x146a7b){return _0x146a7b['resolve'](_0x477d('0x1ed'));}]},'authenticate':!![],'permissionId':0x262})['state'](_0x477d('0x1ee'),{'url':'/accounts','controller':_0x477d('0x1ef'),'templateUrl':_0x477d('0x1f0'),'resolve':{'mailAccounts':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x6fcd3a,_0x154686){return _0x154686['hasRole'](_0x477d('0x5f'))?_0x6fcd3a[_0x477d('0x5a')](_0x477d('0xa6'),{'sort':_0x477d('0x59'),'limit':0xa,'offset':0x0}):_0x6fcd3a[_0x477d('0x5a')](_0x477d('0x5b'),{'id':_0x154686[_0x477d('0x5c')]()[_0x477d('0x61')],'section':_0x477d('0xa7'),'sort':_0x477d('0x59'),'limit':0xa,'offset':0x0});}],'userProfile':[_0x477d('0x5e'),'Auth',function(_0x3cdd45,_0x1329b3){return _0x1329b3['hasRole'](_0x477d('0x5f'))?null:_0x3cdd45[_0x477d('0x5a')](_0x477d('0x6b'),{'fields':_0x477d('0x60'),'id':_0x1329b3[_0x477d('0x5c')]()[_0x477d('0x61')]});}],'userProfileSection':[_0x477d('0x5e'),'Auth',function(_0x25ed74,_0x45b30e){return _0x45b30e[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x25ed74[_0x477d('0x5a')](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x45b30e[_0x477d('0x5c')]()['userProfileId'],'sectionId':0x25a});}],'rpcMailAccounts':[_0x477d('0x5e'),function(_0x1fb09a){return _0x1fb09a['resolve'](_0x477d('0x1f1'));}]},'authenticate':!![],'permissionId':0x262});}}());(function(){'use strict';_0x41de64[_0x477d('0xa')]=[_0x477d('0x1e'),_0x477d('0x14'),_0x477d('0xad'),_0x477d('0x43')];angular[_0x477d('0xb')](_0x477d('0x1f2'),['ngCsv',_0x477d('0x45'),_0x477d('0x81'),_0x477d('0xae'),_0x477d('0x46'),_0x477d('0x47'),_0x477d('0x48'),_0x477d('0x2'),_0x477d('0x82'),_0x477d('0x49'),_0x477d('0x4a'),'mwFormViewer','mwFormUtils','ngclipboard',_0x477d('0x83'),'ngEmbed',_0x477d('0x4f'),_0x477d('0xaf'),_0x477d('0x50'),'angular.filter'])[_0x477d('0xd')](_0x41de64);function _0x41de64(_0x2d6602,_0x1f5d82,_0x21e1ac,_0x86e6f9){_0x2d6602[_0x477d('0xe')](_0x477d('0x1f2'),{'abstract':!![],'url':'/marketplace'})[_0x477d('0xe')](_0x477d('0x1f3'),{'url':_0x477d('0x1f4'),'views':{'content@app':{'templateUrl':_0x477d('0x1f5'),'controller':_0x477d('0x1f6')}},'resolve':{'plugins':['apiResolver',_0x477d('0x55'),function(_0x2f0438,_0x4a3eb0){return _0x4a3eb0[_0x477d('0x56')](_0x477d('0x5f'))?_0x2f0438[_0x477d('0x5a')](_0x477d('0x1f7'),{'fields':_0x477d('0x1f8'),'sort':'name','limit':0xa,'offset':0x0}):_0x2f0438[_0x477d('0x5a')](_0x477d('0x5b'),{'id':_0x4a3eb0[_0x477d('0x5c')]()[_0x477d('0x61')],'section':'Plugins','fields':'createdAt,updatedAt,id,name,type,active,description,icon,sidebar,path,adminUrl,agentUrl,scriptName,scriptPath,version','sort':_0x477d('0x94'),'limit':0xa,'offset':0x0});}],'userProfile':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x565cd1,_0x3fae1b){return _0x3fae1b[_0x477d('0x56')]('admin')?null:_0x565cd1[_0x477d('0x5a')](_0x477d('0x6b'),{'fields':_0x477d('0x60'),'id':_0x3fae1b[_0x477d('0x5c')]()[_0x477d('0x61')]});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x5ebf2e,_0x958ac9){return _0x958ac9[_0x477d('0x56')]('admin')?null:_0x5ebf2e[_0x477d('0x5a')](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x958ac9[_0x477d('0x5c')]()['userProfileId'],'sectionId':0x709});}]},'authenticate':!![],'permissionId':0x709,'bodyClass':'marketplace'})[_0x477d('0xe')](_0x477d('0x1f9'),{'url':_0x477d('0xb8'),'params':{'plugin':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':_0x477d('0x1fa'),'controller':_0x477d('0x1fb')}},'resolve':{'plugin':['apiResolver',_0x477d('0x72'),function(_0x4e9e52,_0x3ffe52){return _0x4e9e52[_0x477d('0x5a')](_0x477d('0x1f7'),{'fields':_0x477d('0x1f8'),'id':_0x3ffe52['id']});}],'userProfileSection':['apiResolver','Auth',function(_0x5dcb2b,_0x1275c0){return _0x5dcb2b[_0x477d('0x5a')](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x1275c0[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0x709});}]},'authenticate':!![],'permissionId':0x709,'bodyClass':_0x477d('0x1fc')});_0x1f5d82['addPart'](_0x477d('0x1fd'));}}());(function(){'use strict';_0x9e96ce[_0x477d('0xa')]=[_0x477d('0x1e'),_0x477d('0x14'),_0x477d('0xad'),_0x477d('0x43')];angular[_0x477d('0xb')](_0x477d('0x3a'),[_0x477d('0x44'),'ngPassword','md.data.table',_0x477d('0xae'),_0x477d('0x46'),_0x477d('0x47'),_0x477d('0x48'),_0x477d('0x2'),_0x477d('0x82'),'mdPickers','mwFormBuilder',_0x477d('0x4b'),_0x477d('0x4c'),_0x477d('0x4d'),_0x477d('0x83'),'ngEmbed',_0x477d('0x4f'),'material.components.expansionPanels',_0x477d('0x50'),'angular.filter','app.motiondialer.realtime'])[_0x477d('0xd')](_0x9e96ce);function _0x9e96ce(_0x449c6a,_0x3d1f72,_0x29c0d2,_0x183632){_0x449c6a[_0x477d('0xe')]('app.motiondialer',{'abstract':!![],'url':_0x477d('0x1fe')})[_0x477d('0xe')](_0x477d('0x1ff'),{'url':'/queueCampaigns','views':{'content@app':{'templateUrl':_0x477d('0x200'),'controller':_0x477d('0x201')}},'resolve':{'queueCampaigns':[_0x477d('0x5e'),'Auth',function(_0x3e6079,_0x3b310f){return _0x3b310f[_0x477d('0x56')](_0x477d('0x5f'))?_0x3e6079[_0x477d('0x5a')](_0x477d('0x9d'),{'fields':_0x477d('0x202'),'type':_0x477d('0x127'),'sort':_0x477d('0x59'),'channel':_0x477d('0x108'),'limit':0xa,'offset':0x0}):_0x3e6079[_0x477d('0x5a')]('userProfile@getResources',{'id':_0x3b310f['getCurrentUser']()[_0x477d('0x61')],'section':_0x477d('0x128'),'fields':_0x477d('0x202'),'type':_0x477d('0x127'),'sort':_0x477d('0x59'),'channel':_0x477d('0x108'),'limit':0xa,'offset':0x0});}],'userProfile':[_0x477d('0x5e'),'Auth',function(_0x121a57,_0xd5587a){return _0xd5587a['hasRole']('admin')?null:_0x121a57['resolve'](_0x477d('0x6b'),{'fields':_0x477d('0x60'),'id':_0xd5587a[_0x477d('0x5c')]()[_0x477d('0x61')]});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x5748d8,_0x30e8ea){return _0x30e8ea[_0x477d('0x56')]('admin')?null:_0x5748d8['resolve'](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x30e8ea[_0x477d('0x5c')]()['userProfileId'],'sectionId':0x5dd});}]},'authenticate':!![],'permissionId':0x5dd,'bodyClass':_0x477d('0x203')})[_0x477d('0xe')](_0x477d('0x204'),{'url':'/:id?tab','params':{'queueCampaign':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':_0x477d('0x205'),'controller':_0x477d('0x206')}},'resolve':{'queueCampaign':[_0x477d('0x5e'),_0x477d('0x72'),function(_0x4db485,_0x4a1565){return _0x4db485[_0x477d('0x5a')](_0x477d('0x9d'),{'fields':'createdAt,updatedAt,id,name,dialActive,TrunkId,TrunkBackupId,type,IntervalId,dialCheckDuplicateType,dialCutDigit,acw,acwTimeout,autopause,ringinuse,memberdelay,timeoutrestart,monitor_format,context,setinterfacevar,setqueuevar,setqueueentryvar,dialOrderByScheduledAt,dialRecallMeTimeout,dialRecallInQueue,dialGlobalInterval,dialTimezone,dialAMDActive,dialAMDInitialSilence,dialAMDGreeting,dialAMDAfterGreetingSilence,dialAMDTotalAnalysisTime,dialAMDMinWordLength,dialAMDBetweenWordsSilence,dialAMDMaximumNumberOfWords,dialAMDSilenceThreshold,dialAMDMaximumWordLength,dialMethod,dialPowerLevel,dialPredictiveOptimization,dialPredictiveOptimizationPercentage,dialPredictiveInterval,dialLimitQueue,dialOriginateCallerIdName,dialOriginateCallerIdNumber,dialRandomLastDigitCallerIdNumber,dialOriginateTimeout,dialPrefix,dialQueueOptions,dialQueueTimeout,strategy,timeout,retry,wrapuptime,weight,musiconhold,dialQueueProject,dialQueueProject2,dialAgiAfterHangupAgent,dialGlobalMaxRetry,dialCongestionMaxRetry,dialCongestionRetryFrequency,dialBusyMaxRetry,dialBusyRetryFrequency,dialNoAnswerMaxRetry,dialNoAnswerRetryFrequency,dialNoSuchNumberMaxRetry,dialNoSuchNumberRetryFrequency,dialDropMaxRetry,dialDropRetryFrequency,dialAbandonedMaxRetry,dialAbandonedRetryFrequency,dialMachineMaxRetry,dialMachineRetryFrequency,dialAgentRejectMaxRetry,dialAgentRejectRetryFrequency,description,mandatoryDisposition,mandatoryDispositionPauseId,dialPredictiveIntervalMaxThreshold,dialPredictiveIntervalMinThreshold','id':_0x4a1565['id']});}],'userProfileSection':['apiResolver','Auth',function(_0xc5d2b9,_0x5803e8){return _0xc5d2b9[_0x477d('0x5a')](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x5803e8[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0x5dd});}]},'authenticate':!![],'permissionId':0x5dd,'bodyClass':_0x477d('0x203')})[_0x477d('0xe')]('app.motiondialer.ivrCampaigns',{'url':'/ivrCampaigns','views':{'content@app':{'templateUrl':'app/main/apps/motiondialer/views/ivrCampaigns/ivrCampaigns.html','controller':_0x477d('0x207')}},'resolve':{'ivrCampaigns':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x522bea,_0x1f0c46){return _0x1f0c46[_0x477d('0x56')](_0x477d('0x5f'))?_0x522bea['resolve']('campaign@get',{'fields':_0x477d('0x208'),'type':_0x477d('0x209'),'sort':'-updatedAt','limit':0xa,'offset':0x0}):_0x522bea[_0x477d('0x5a')]('userProfile@getResources',{'id':_0x1f0c46['getCurrentUser']()[_0x477d('0x61')],'section':_0x477d('0x20a'),'fields':'createdAt,updatedAt,id,name,active,TrunkId,TrunkBackupId,type,IntervalId,dialCheckDuplicateType,dialCutDigit,SquareProjectId,limitCalls,description,dialOriginateCallerIdName,dialOriginateCallerIdNumber,dialRandomLastDigitCallerIdNumber,dialOriginateTimeout,dialGlobalMaxRetry,dialCongestionMaxRetry,dialCongestionRetryFrequency,dialBusyMaxRetry,dialBusyRetryFrequency,dialNoAnswerMaxRetry,dialNoAnswerRetryFrequency,dialNoSuchNumberMaxRetry,dialNoSuchNumberRetryFrequency,dialDropMaxRetry,dialDropRetryFrequency,dialAbandonedMaxRetry,dialAbandonedRetryFrequency,dialMachineMaxRetry,dialMachineRetryFrequency,dialAgentRejectMaxRetry,dialAgentRejectRetryFrequency,dialOrderByScheduledAt,dialGlobalInterval,dialTimezone,dialPrefix,dialAMDActive,dialAMDInitialSilence,dialAMDGreeting,dialAMDAfterGreetingSilence,dialAMDTotalAnalysisTime,dialAMDMinWordLength,dialAMDBetweenWordsSilence,dialAMDMaximumNumberOfWords,dialAMDSilenceThreshold,dialAMDMaximumWordLength','type':'ivr','sort':_0x477d('0x59'),'limit':0xa,'offset':0x0});}],'userProfile':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x5cc490,_0x2e0ca2){return _0x2e0ca2[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x5cc490[_0x477d('0x5a')](_0x477d('0x6b'),{'fields':_0x477d('0x60'),'id':_0x2e0ca2['getCurrentUser']()[_0x477d('0x61')]});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x34f3ec,_0x5ff194){return _0x5ff194[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x34f3ec['resolve'](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x5ff194[_0x477d('0x5c')]()['userProfileId'],'sectionId':0x5de});}]},'authenticate':!![],'permissionId':0x5de,'bodyClass':_0x477d('0x203')})[_0x477d('0xe')]('app.motiondialer.ivrCampaigns.edit',{'url':'/:id?tab','params':{'ivrCampaign':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':_0x477d('0x20b'),'controller':_0x477d('0x20c')}},'resolve':{'ivrCampaign':['apiResolver',_0x477d('0x72'),function(_0x3664df,_0xdb8fd7){return _0x3664df['resolve'](_0x477d('0x20d'),{'fields':'createdAt,updatedAt,id,name,active,TrunkId,TrunkBackupId,type,IntervalId,dialCheckDuplicateType,dialCutDigit,SquareProjectId,limitCalls,description,dialOriginateCallerIdName,dialOriginateCallerIdNumber,dialRandomLastDigitCallerIdNumber,dialOriginateTimeout,dialGlobalMaxRetry,dialCongestionMaxRetry,dialCongestionRetryFrequency,dialBusyMaxRetry,dialBusyRetryFrequency,dialNoAnswerMaxRetry,dialNoAnswerRetryFrequency,dialNoSuchNumberMaxRetry,dialNoSuchNumberRetryFrequency,dialDropMaxRetry,dialDropRetryFrequency,dialAbandonedMaxRetry,dialAbandonedRetryFrequency,dialMachineMaxRetry,dialMachineRetryFrequency,dialAgentRejectMaxRetry,dialAgentRejectRetryFrequency,dialOrderByScheduledAt,dialGlobalInterval,dialTimezone,dialPrefix,dialAMDActive,dialAMDInitialSilence,dialAMDGreeting,dialAMDAfterGreetingSilence,dialAMDTotalAnalysisTime,dialAMDMinWordLength,dialAMDBetweenWordsSilence,dialAMDMaximumNumberOfWords,dialAMDSilenceThreshold,dialAMDMaximumWordLength','id':_0xdb8fd7['id']});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x1d5727,_0x561edb){return _0x1d5727['resolve'](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x561edb['getCurrentUser']()[_0x477d('0x61')],'sectionId':0x5de});}]},'authenticate':!![],'permissionId':0x5de,'bodyClass':_0x477d('0x203')});_0x3d1f72[_0x477d('0x19')](_0x477d('0x20e'));}}());(function(){'use strict';_0x33ef1d[_0x477d('0xa')]=[_0x477d('0x1e')];angular['module']('app.motiondialer.realtime',[])[_0x477d('0xd')](_0x33ef1d);function _0x33ef1d(_0x161f2f){_0x161f2f['state'](_0x477d('0x20f'),{'url':_0x477d('0xc5'),'views':{'content@app':{'templateUrl':_0x477d('0x210'),'controller':_0x477d('0x211')}},'resolve':{'userProfile':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x2cec08,_0x35f11c){return _0x35f11c['hasRole'](_0x477d('0x5f'))?null:_0x2cec08[_0x477d('0x5a')]('userProfile@get',{'fields':'id,name,crudPermissions','id':_0x35f11c[_0x477d('0x5c')]()['userProfileId']});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x3817b8,_0x54bead){return _0x54bead[_0x477d('0x56')]('admin')?null:_0x3817b8[_0x477d('0x5a')](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x54bead[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0x5e6});}]},'authenticate':!![],'permissionId':0x5e6})[_0x477d('0xe')]('app.motiondialer.realtime.agents',{'url':_0x477d('0xc9'),'controller':_0x477d('0x212'),'templateUrl':_0x477d('0x213'),'resolve':{'pauses':['apiResolver',function(_0x171ed8){return _0x171ed8[_0x477d('0x5a')](_0x477d('0xab'),{'nolimit':!![]});}],'agents':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x2e0856,_0x58d068){return _0x58d068[_0x477d('0x56')](_0x477d('0x5f'))?_0x2e0856[_0x477d('0x5a')](_0x477d('0x99'),{'fields':_0x477d('0xcc'),'role':_0x477d('0xcf'),'sort':'fullname','nolimit':!![]}):_0x2e0856[_0x477d('0x5a')](_0x477d('0x5b'),{'id':_0x58d068['getCurrentUser']()[_0x477d('0x61')],'section':_0x477d('0xce'),'fields':_0x477d('0xcc'),'role':_0x477d('0xcf'),'sort':_0x477d('0xcd'),'nolimit':!![]});}],'userProfile':['apiResolver',_0x477d('0x55'),function(_0x34b8b2,_0x167e1f){return _0x167e1f[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x34b8b2['resolve'](_0x477d('0x6b'),{'fields':_0x477d('0x60'),'id':_0x167e1f[_0x477d('0x5c')]()[_0x477d('0x61')]});}],'userProfileSection':[_0x477d('0x5e'),'Auth',function(_0x43d45f,_0x592421){return _0x592421[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x43d45f['resolve'](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x592421[_0x477d('0x5c')]()['userProfileId'],'sectionId':0xca});}],'rpcAgents':[_0x477d('0x5e'),function(_0x3642ad){return _0x3642ad[_0x477d('0x5a')](_0x477d('0xd0'));}]},'authenticate':!![],'permissionId':0x5e6})[_0x477d('0xe')](_0x477d('0x214'),{'url':_0x477d('0xd2'),'controller':_0x477d('0x215'),'templateUrl':_0x477d('0x216'),'resolve':{'queues':['apiResolver','Auth',function(_0xebf823,_0x577dff){return _0x577dff[_0x477d('0x56')]('admin')?_0xebf823[_0x477d('0x5a')](_0x477d('0x9d'),{'type':_0x477d('0x127'),'sort':_0x477d('0x59'),'limit':0xa,'offset':0x0}):_0xebf823['resolve'](_0x477d('0x5b'),{'id':_0x577dff['getCurrentUser']()[_0x477d('0x61')],'section':_0x477d('0x128'),'channel':_0x477d('0x108'),'type':_0x477d('0x127'),'sort':_0x477d('0x59'),'limit':0xa,'page':0x1});}],'userProfile':[_0x477d('0x5e'),'Auth',function(_0x3ecdb4,_0x2e263d){return _0x2e263d['hasRole'](_0x477d('0x5f'))?null:_0x3ecdb4[_0x477d('0x5a')](_0x477d('0x6b'),{'fields':_0x477d('0x60'),'id':_0x2e263d[_0x477d('0x5c')]()['userProfileId']});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x5a5876,_0x2108d2){return _0x2108d2[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x5a5876[_0x477d('0x5a')](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x2108d2[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0x5dd});}],'rpcQueues':[_0x477d('0x5e'),function(_0x232aa3){return _0x232aa3[_0x477d('0x5a')](_0x477d('0x109'));}]},'authenticate':!![],'permissionId':0x5e6})['state'](_0x477d('0x217'),{'url':_0x477d('0x218'),'controller':_0x477d('0x219'),'templateUrl':_0x477d('0x21a'),'resolve':{'agents':['apiResolver','Auth',function(_0x2926ed,_0x2da913){return _0x2da913[_0x477d('0x56')](_0x477d('0x5f'))?_0x2926ed[_0x477d('0x5a')](_0x477d('0x99'),{'fields':_0x477d('0x21b'),'role':_0x477d('0xcf'),'nolimit':!![]}):_0x2926ed[_0x477d('0x5a')](_0x477d('0x5b'),{'id':_0x2da913['getCurrentUser']()['userProfileId'],'section':_0x477d('0xce'),'fields':'id,name,role,context','role':_0x477d('0xcf'),'nolimit':!![]});}],'queues':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x201e90,_0x200186){return _0x200186[_0x477d('0x56')]('admin')?_0x201e90[_0x477d('0x5a')](_0x477d('0x9d'),{'type':_0x477d('0x127'),'sort':_0x477d('0x59'),'nolimit':!![]}):_0x201e90[_0x477d('0x5a')](_0x477d('0x5b'),{'id':_0x200186['getCurrentUser']()[_0x477d('0x61')],'section':_0x477d('0x128'),'channel':_0x477d('0x108'),'type':_0x477d('0x127'),'sort':_0x477d('0x59'),'nolimit':!![]});}],'userProfile':['apiResolver',_0x477d('0x55'),function(_0x2eea99,_0x43a991){return _0x43a991[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x2eea99[_0x477d('0x5a')](_0x477d('0x6b'),{'fields':_0x477d('0x60'),'id':_0x43a991[_0x477d('0x5c')]()[_0x477d('0x61')]});}],'userProfileSection':[_0x477d('0x5e'),'Auth',function(_0x544315,_0x4b6575){return _0x4b6575[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x544315[_0x477d('0x5a')]('userProfileSection@get',{'fields':'id,name,enabled,includeAll,autoAssociation,crudPermissions','userProfileId':_0x4b6575['getCurrentUser']()['userProfileId'],'sectionId':0x5dd});}],'rpcVoiceQueuesChannels':[_0x477d('0x5e'),function(_0x2864bd){return _0x2864bd['resolve']('rpc@getVoiceQueuesChannels');}]},'authenticate':!![],'permissionId':0x5e6})[_0x477d('0xe')](_0x477d('0x21c'),{'url':'/abandonedcalls','controller':_0x477d('0x21d'),'templateUrl':_0x477d('0x21e'),'resolve':{'agents':[_0x477d('0x5e'),'Auth',function(_0x2ff9d1,_0x1f69e7){return _0x1f69e7['hasRole'](_0x477d('0x5f'))?_0x2ff9d1[_0x477d('0x5a')]('user@get',{'fields':'id,name,role,context','role':_0x477d('0xcf'),'nolimit':!![]}):_0x2ff9d1[_0x477d('0x5a')](_0x477d('0x5b'),{'id':_0x1f69e7[_0x477d('0x5c')]()[_0x477d('0x61')],'section':_0x477d('0xce'),'fields':'id,name,role,context','role':'agent','nolimit':!![]});}],'queues':[_0x477d('0x5e'),_0x477d('0x55'),function(_0xc3f1bd,_0x2f6c26){return _0x2f6c26[_0x477d('0x56')]('admin')?_0xc3f1bd[_0x477d('0x5a')](_0x477d('0x9d'),{'type':_0x477d('0x127'),'sort':_0x477d('0x59'),'nolimit':!![]}):_0xc3f1bd[_0x477d('0x5a')]('userProfile@getResources',{'id':_0x2f6c26[_0x477d('0x5c')]()['userProfileId'],'section':_0x477d('0x128'),'channel':_0x477d('0x108'),'type':_0x477d('0x127'),'sort':_0x477d('0x59'),'nolimit':!![]});}],'dispositions':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x2fc808,_0x44e7a0){return _0x44e7a0[_0x477d('0x56')](_0x477d('0x5f'))?_0x2fc808[_0x477d('0x5a')](_0x477d('0x21f'),{'fields':'createdAt,updatedAt,id,name','sort':_0x477d('0x59'),'MailAccountId':_0x477d('0xea'),'FaxAccountId':'null','SmsAccountId':'null','WhatsappAccountId':_0x477d('0xea'),'OpenchannelAccountId':'null','ChatWebsiteId':_0x477d('0xea'),'ListId':'null','nolimit':!![]}):_0x2fc808['resolve'](_0x477d('0x5b'),{'id':_0x44e7a0['getCurrentUser']()['userProfileId'],'section':_0x477d('0x220'),'fields':'createdAt,updatedAt,id,name','sort':_0x477d('0x59'),'MailAccountId':'null','FaxAccountId':'null','SmsAccountId':'null','WhatsappAccountId':'null','OpenchannelAccountId':_0x477d('0xea'),'ChatWebsiteId':_0x477d('0xea'),'ListId':_0x477d('0xea'),'nolimit':!![]});}],'userProfile':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x2e8166,_0x31baa7){return _0x31baa7[_0x477d('0x56')]('admin')?null:_0x2e8166['resolve'](_0x477d('0x6b'),{'fields':_0x477d('0x60'),'id':_0x31baa7['getCurrentUser']()[_0x477d('0x61')]});}],'userProfileSection':[_0x477d('0x5e'),'Auth',function(_0x10e6db,_0x1cd5b9){return _0x1cd5b9[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x10e6db[_0x477d('0x5a')]('userProfileSection@get',{'fields':_0x477d('0x63'),'userProfileId':_0x1cd5b9['getCurrentUser']()[_0x477d('0x61')],'sectionId':0x5dd});}]},'authenticate':!![],'permissionId':0x5e6})['state']('app.motiondialer.realtime.queue_params',{'url':_0x477d('0x221'),'controller':'QueueParamsMotionDialerRealtimeController\x20as\x20vm','templateUrl':_0x477d('0x222'),'resolve':{'queues':['apiResolver','Auth',function(_0x1bb6af,_0x137e56){return _0x137e56[_0x477d('0x56')](_0x477d('0x5f'))?_0x1bb6af['resolve'](_0x477d('0x9d'),{'type':_0x477d('0x127'),'fields':'id,name','sort':'-updatedAt','limit':0xa,'offset':0x0}):_0x1bb6af[_0x477d('0x5a')](_0x477d('0x5b'),{'id':_0x137e56['getCurrentUser']()[_0x477d('0x61')],'section':_0x477d('0x128'),'channel':_0x477d('0x108'),'type':'outbound','sort':_0x477d('0x59'),'nolimit':!![]});}],'userProfile':['apiResolver',_0x477d('0x55'),function(_0x1254fc,_0xae3ce0){return _0xae3ce0[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x1254fc[_0x477d('0x5a')](_0x477d('0x6b'),{'fields':_0x477d('0x60'),'id':_0xae3ce0['getCurrentUser']()[_0x477d('0x61')]});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x5b1741,_0x58bc0c){return _0x58bc0c['hasRole']('admin')?null:_0x5b1741[_0x477d('0x5a')](_0x477d('0x62'),{'fields':'id,name,enabled,includeAll,autoAssociation,crudPermissions','userProfileId':_0x58bc0c[_0x477d('0x5c')]()['userProfileId'],'sectionId':0x5dd});}],'rpcQueues':[_0x477d('0x5e'),function(_0x2264eb){return _0x2264eb[_0x477d('0x5a')](_0x477d('0x109'));}]},'authenticate':!![],'permissionId':0x5e6})['state']('app.motiondialer.realtime.ivr_campaigns',{'url':'/ivr_campaigns','controller':'IvrCampaignsMotionDialerRealtimeController\x20as\x20vm','templateUrl':_0x477d('0x223'),'resolve':{'campaigns':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x268097,_0x21ca8b){return _0x21ca8b[_0x477d('0x56')](_0x477d('0x5f'))?_0x268097[_0x477d('0x5a')](_0x477d('0x20d'),{'sort':_0x477d('0x59'),'limit':0xa,'offset':0x0}):_0x268097['resolve'](_0x477d('0x5b'),{'id':_0x21ca8b[_0x477d('0x5c')]()['userProfileId'],'section':'IvrCampaigns','sort':'-updatedAt','limit':0xa,'offset':0x0});}],'userProfile':['apiResolver',_0x477d('0x55'),function(_0x53ebf5,_0x1323b2){return _0x1323b2[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x53ebf5[_0x477d('0x5a')](_0x477d('0x6b'),{'fields':'id,name,crudPermissions','id':_0x1323b2[_0x477d('0x5c')]()[_0x477d('0x61')]});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x4edb9c,_0x4ae45c){return _0x4ae45c[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x4edb9c[_0x477d('0x5a')](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x4ae45c[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0x5de});}],'rpcCampaigns':['apiResolver',function(_0x2461e7){return _0x2461e7[_0x477d('0x5a')]('rpc@getCampaigns');}]},'authenticate':!![],'permissionId':0x5e6});}}());(function(){'use strict';_0x44a981[_0x477d('0xa')]=[_0x477d('0x1e'),_0x477d('0x14'),_0x477d('0xad'),_0x477d('0x43')];angular[_0x477d('0xb')](_0x477d('0x33'),['ngCsv',_0x477d('0x45'),_0x477d('0x81'),_0x477d('0xae'),_0x477d('0x46'),_0x477d('0x47'),'ng-sortable',_0x477d('0x2'),_0x477d('0x82'),_0x477d('0x49'),_0x477d('0x4a'),_0x477d('0x4b'),_0x477d('0x4c'),_0x477d('0x4d'),_0x477d('0x83'),_0x477d('0x4e'),_0x477d('0x4f'),_0x477d('0xaf'),_0x477d('0x50'),'angular.filter',_0x477d('0x224')])[_0x477d('0xd')](_0x44a981);function _0x44a981(_0x17970e,_0x5d9cfe,_0x2c9c66,_0x2be99b){_0x17970e[_0x477d('0xe')](_0x477d('0x33'),{'abstract':!![],'url':_0x477d('0x140')})[_0x477d('0xe')](_0x477d('0x225'),{'url':_0x477d('0x226'),'views':{'content@app':{'templateUrl':_0x477d('0x227'),'controller':_0x477d('0x228')}},'resolve':{'openchannelQueues':['apiResolver',_0x477d('0x55'),function(_0x27dc98,_0x2caa5e){return _0x2caa5e[_0x477d('0x56')](_0x477d('0x5f'))?_0x27dc98[_0x477d('0x5a')](_0x477d('0x229'),{'fields':'createdAt,updatedAt,id,name,strategy,timeout,description','sort':_0x477d('0x59'),'channel':_0x477d('0x22a'),'limit':0xa,'offset':0x0}):_0x27dc98[_0x477d('0x5a')](_0x477d('0x5b'),{'id':_0x2caa5e[_0x477d('0x5c')]()['userProfileId'],'section':_0x477d('0x22b'),'fields':'createdAt,updatedAt,id,name,strategy,timeout,description','sort':_0x477d('0x59'),'channel':_0x477d('0x22a'),'limit':0xa,'offset':0x0});}],'userProfile':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x17e733,_0x313f33){return _0x313f33[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x17e733[_0x477d('0x5a')]('userProfile@get',{'fields':_0x477d('0x60'),'id':_0x313f33[_0x477d('0x5c')]()[_0x477d('0x61')]});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0xc71012,_0x12d18d){return _0x12d18d[_0x477d('0x56')](_0x477d('0x5f'))?null:_0xc71012[_0x477d('0x5a')](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x12d18d[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0x321});}]},'authenticate':!![],'permissionId':0x321,'bodyClass':_0x477d('0x22a')})[_0x477d('0xe')](_0x477d('0x22c'),{'url':_0x477d('0xb8'),'params':{'openchannelQueue':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':_0x477d('0x22d'),'controller':_0x477d('0x22e')}},'resolve':{'openchannelQueue':[_0x477d('0x5e'),_0x477d('0x72'),function(_0x385ce5,_0x37131b){return _0x385ce5[_0x477d('0x5a')](_0x477d('0x229'),{'fields':_0x477d('0xb5'),'id':_0x37131b['id']});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x1172c8,_0x2d0a2b){return _0x1172c8['resolve']('userProfileSection@get',{'fields':_0x477d('0x63'),'userProfileId':_0x2d0a2b[_0x477d('0x5c')]()['userProfileId'],'sectionId':0x321});}]},'authenticate':!![],'permissionId':0x321,'bodyClass':'openchannel'})['state']('app.openchannel.openchannelAccounts',{'url':_0x477d('0x22f'),'views':{'content@app':{'templateUrl':_0x477d('0x230'),'controller':_0x477d('0x231')}},'resolve':{'openchannelAccounts':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x2199bc,_0x153fe0){return _0x153fe0[_0x477d('0x56')](_0x477d('0x5f'))?_0x2199bc['resolve']('openchannelAccount@get',{'fields':_0x477d('0x232'),'sort':_0x477d('0x59'),'limit':0xa,'offset':0x0}):_0x2199bc[_0x477d('0x5a')](_0x477d('0x5b'),{'id':_0x153fe0[_0x477d('0x5c')]()['userProfileId'],'section':_0x477d('0x142'),'fields':'createdAt,updatedAt,id,name,key,token,replyUri,ListId,waitForTheAssignedAgent,mapKey,mandatoryDisposition,mandatoryDispositionPauseId,description,receiveUri,notificationSound,notificationShake,notificationTemplate,queueTransfer,queueTransferTimeout,agentTransfer,agentTransferTimeout','sort':_0x477d('0x59'),'limit':0xa,'offset':0x0});}],'userProfile':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x465c7e,_0x3ddb49){return _0x3ddb49[_0x477d('0x56')]('admin')?null:_0x465c7e[_0x477d('0x5a')](_0x477d('0x6b'),{'fields':_0x477d('0x60'),'id':_0x3ddb49[_0x477d('0x5c')]()[_0x477d('0x61')]});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x20e7b2,_0x4c1771){return _0x4c1771['hasRole'](_0x477d('0x5f'))?null:_0x20e7b2[_0x477d('0x5a')](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x4c1771['getCurrentUser']()[_0x477d('0x61')],'sectionId':0x322});}]},'authenticate':!![],'permissionId':0x322,'bodyClass':_0x477d('0x22a')})['state'](_0x477d('0x233'),{'url':_0x477d('0xb8'),'params':{'openchannelAccount':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':_0x477d('0x234'),'controller':_0x477d('0x235')}},'resolve':{'openchannelAccount':[_0x477d('0x5e'),_0x477d('0x72'),function(_0x474721,_0xafb9c4){return _0x474721[_0x477d('0x5a')](_0x477d('0x236'),{'fields':_0x477d('0x232'),'id':_0xafb9c4['id']});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x5e809c,_0x5b5b37){return _0x5e809c[_0x477d('0x5a')](_0x477d('0x62'),{'fields':'id,name,enabled,includeAll,autoAssociation,crudPermissions','userProfileId':_0x5b5b37['getCurrentUser']()[_0x477d('0x61')],'sectionId':0x322});}]},'authenticate':!![],'permissionId':0x322,'bodyClass':'openchannel'});_0x5d9cfe[_0x477d('0x19')](_0x477d('0x237'));}}());(function(){'use strict';_0x3befc5['$inject']=[_0x477d('0x1e')];angular['module'](_0x477d('0x224'),[])[_0x477d('0xd')](_0x3befc5);function _0x3befc5(_0x5d41e6){_0x5d41e6[_0x477d('0xe')](_0x477d('0x224'),{'url':_0x477d('0xc5'),'views':{'content@app':{'templateUrl':'app/main/apps/openchannel/views/realtime/realtime.html','controller':_0x477d('0x238')}},'resolve':{'userProfile':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x2f7397,_0x534691){return _0x534691['hasRole'](_0x477d('0x5f'))?null:_0x2f7397[_0x477d('0x5a')](_0x477d('0x6b'),{'fields':_0x477d('0x60'),'id':_0x534691['getCurrentUser']()['userProfileId']});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x4002c0,_0x92bf05){return _0x92bf05[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x4002c0['resolve']('userProfileSection@get',{'fields':_0x477d('0x63'),'userProfileId':_0x92bf05[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0x32a});}]},'authenticate':!![],'permissionId':0x32a})[_0x477d('0xe')](_0x477d('0x239'),{'url':_0x477d('0xc9'),'controller':_0x477d('0x23a'),'templateUrl':_0x477d('0x23b'),'resolve':{'pauses':['apiResolver',function(_0x35fba2){return _0x35fba2[_0x477d('0x5a')](_0x477d('0xab'),{'nolimit':!![]});}],'agents':['apiResolver',_0x477d('0x55'),function(_0x562193,_0x41eacb){return _0x41eacb[_0x477d('0x56')](_0x477d('0x5f'))?_0x562193[_0x477d('0x5a')](_0x477d('0x99'),{'fields':_0x477d('0xcc'),'role':_0x477d('0xcf'),'sort':_0x477d('0xcd'),'nolimit':!![]}):_0x562193['resolve'](_0x477d('0x5b'),{'id':_0x41eacb[_0x477d('0x5c')]()['userProfileId'],'section':_0x477d('0xce'),'fields':'id,name,fullname,role,userpic,internal,online,voicePause,openchannelPause,faxPause,chatPause,smsPause,whatsappPause,mailPause,pauseType,lastPauseAt,lastLoginAt,lastPauseAt,chatCapacity,mailCapacity,openchannelCapacity,faxCapacity,smsCapacity,whatsappCapacity,screenrecording,phoneBarEnableScreenRecordingByAgent,phoneBarEnableAutomaticScreenRecording','role':_0x477d('0xcf'),'sort':_0x477d('0xcd'),'nolimit':!![]});}],'userProfile':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x4c8924,_0x189289){return _0x189289[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x4c8924[_0x477d('0x5a')](_0x477d('0x6b'),{'fields':_0x477d('0x60'),'id':_0x189289[_0x477d('0x5c')]()[_0x477d('0x61')]});}],'userProfileSection':['apiResolver',_0x477d('0x55'),function(_0x5ddf06,_0x7d2bdc){return _0x7d2bdc[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x5ddf06[_0x477d('0x5a')]('userProfileSection@get',{'fields':_0x477d('0x63'),'userProfileId':_0x7d2bdc[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0xca});}],'rpcAgents':[_0x477d('0x5e'),function(_0x5a27ea){return _0x5a27ea[_0x477d('0x5a')](_0x477d('0xd0'));}]},'authenticate':!![],'permissionId':0x32a})[_0x477d('0xe')](_0x477d('0x23c'),{'url':_0x477d('0xd2'),'controller':_0x477d('0x23d'),'templateUrl':_0x477d('0x23e'),'resolve':{'queues':['apiResolver',_0x477d('0x55'),function(_0x447f24,_0xfe1e65){return _0xfe1e65[_0x477d('0x56')](_0x477d('0x5f'))?_0x447f24[_0x477d('0x5a')](_0x477d('0x229'),{'type':'inbound','sort':_0x477d('0x59'),'limit':0xa,'offset':0x0}):_0x447f24[_0x477d('0x5a')](_0x477d('0x5b'),{'id':_0xfe1e65['getCurrentUser']()['userProfileId'],'section':_0x477d('0x22b'),'channel':_0x477d('0x22a'),'type':_0x477d('0x9e'),'sort':'-updatedAt','limit':0xa,'page':0x1});}],'userProfile':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x5a0175,_0x5f5ac3){return _0x5f5ac3['hasRole'](_0x477d('0x5f'))?null:_0x5a0175[_0x477d('0x5a')](_0x477d('0x6b'),{'fields':_0x477d('0x60'),'id':_0x5f5ac3[_0x477d('0x5c')]()[_0x477d('0x61')]});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x2c1f1b,_0x371dbe){return _0x371dbe[_0x477d('0x56')]('admin')?null:_0x2c1f1b[_0x477d('0x5a')]('userProfileSection@get',{'fields':_0x477d('0x63'),'userProfileId':_0x371dbe['getCurrentUser']()[_0x477d('0x61')],'sectionId':0x321});}],'rpcQueues':[_0x477d('0x5e'),function(_0x2bdf2b){return _0x2bdf2b[_0x477d('0x5a')](_0x477d('0x23f'));}]},'authenticate':!![],'permissionId':0x32a});}}());(function(){'use strict';_0xed1683['$inject']=['$stateProvider',_0x477d('0x14'),_0x477d('0xad'),_0x477d('0x43')];angular[_0x477d('0xb')](_0x477d('0x3c'),[_0x477d('0x44'),_0x477d('0x45'),'md.data.table','flow',_0x477d('0x46'),_0x477d('0x47'),_0x477d('0x48'),_0x477d('0x2'),_0x477d('0x82'),_0x477d('0x49'),_0x477d('0x4a'),'mwFormViewer','mwFormUtils',_0x477d('0x4d'),_0x477d('0x83'),'ngEmbed','angularMaterialFormBuilder',_0x477d('0xaf'),'chart.js',_0x477d('0x84'),_0x477d('0x240')])['config'](_0xed1683);function _0xed1683(_0x42b62b,_0x3c8a3a,_0x46cbc6,_0x17b6ca){_0x42b62b['state'](_0x477d('0x3c'),{'abstract':!![],'url':_0x477d('0x1f4')});_0x3c8a3a['addPart'](_0x477d('0x241'));}}());(function(){'use strict';_0x1a71c2[_0x477d('0xa')]=[_0x477d('0x1e')];angular[_0x477d('0xb')](_0x477d('0x240'),[])[_0x477d('0xd')](_0x1a71c2);function _0x1a71c2(_0x11fe1e){_0x11fe1e[_0x477d('0xe')](_0x477d('0x240'),{'url':_0x477d('0x242'),'views':{'content@app':{'templateUrl':_0x477d('0x243'),'controller':_0x477d('0x244')}},'resolve':{},'authenticate':!![],'bodyClass':_0x477d('0x245')});}}());(function(){'use strict';_0x3ae976[_0x477d('0xa')]=[_0x477d('0x1e'),_0x477d('0x14'),_0x477d('0xad'),_0x477d('0x43')];angular[_0x477d('0xb')](_0x477d('0x39'),[_0x477d('0x44'),_0x477d('0x45'),_0x477d('0x81'),_0x477d('0xae'),_0x477d('0x46'),'ckeditor',_0x477d('0x48'),'ngAria','ngAnimate',_0x477d('0x49'),'mwFormBuilder',_0x477d('0x4b'),_0x477d('0x4c'),_0x477d('0x4d'),_0x477d('0x83'),_0x477d('0x4e'),_0x477d('0x4f'),_0x477d('0xaf'),_0x477d('0x50'),_0x477d('0x84'),_0x477d('0x246'),_0x477d('0x247'),'app.settings.system'])[_0x477d('0xd')](_0x3ae976);function _0x3ae976(_0x3e573f,_0x11e431,_0x5e62eb,_0x317301){_0x3e573f[_0x477d('0xe')](_0x477d('0x39'),{'abstract':!![],'url':_0x477d('0x248')})[_0x477d('0xe')](_0x477d('0x249'),{'url':_0x477d('0x24a'),'views':{'content@app':{'templateUrl':_0x477d('0x24b'),'controller':'GeneralsController\x20as\x20vm'}},'resolve':{'generals':[_0x477d('0x5e'),function(_0x44b15a){return _0x44b15a[_0x477d('0x5a')](_0x477d('0x24c'),{'fields':_0x477d('0x24d'),'limit':0xa,'offset':0x0});}]},'authenticate':!![],'permissionId':0x578,'bodyClass':_0x477d('0x24e')})['state']('app.settings.smtps',{'url':_0x477d('0x24f'),'views':{'content@app':{'templateUrl':'app/main/apps/settings/views/smtps/smtps.html','controller':_0x477d('0x250')}},'resolve':{'smtps':['apiResolver',function(_0x1833d4){return _0x1833d4['resolve'](_0x477d('0xa6'),{'fields':_0x477d('0x251'),'service':'1','limit':0xa,'offset':0x0});}]},'authenticate':!![],'permissionId':0x578,'bodyClass':_0x477d('0x24e')})[_0x477d('0xe')](_0x477d('0x252'),{'url':_0x477d('0x253'),'views':{'content@app':{'templateUrl':_0x477d('0x254'),'controller':_0x477d('0x255')}},'resolve':{'networks':['apiResolver',function(_0x2be6fd){return _0x2be6fd[_0x477d('0x5a')](_0x477d('0x256'),{'fields':_0x477d('0x257'),'sort':_0x477d('0x59'),'limit':0xa,'offset':0x0});}]},'authenticate':!![],'permissionId':0x578,'bodyClass':_0x477d('0x24e')})[_0x477d('0xe')](_0x477d('0x258'),{'url':_0x477d('0x259'),'views':{'content@app':{'templateUrl':_0x477d('0x25a'),'controller':_0x477d('0x25b')}},'resolve':{'customizations':[_0x477d('0x5e'),function(_0x3170e7){return _0x3170e7[_0x477d('0x5a')](_0x477d('0x24c'),{'fields':'createdAt,updatedAt,id,defaultLogo,defaultLoginLogo,defaultFavicon,defaultHeaderWhiteLabel,headerWhiteLabel,defaultPageTitle,pageTitle,defaultPreferred','limit':0xa,'offset':0x0});}]},'authenticate':!![],'permissionId':0x578,'bodyClass':_0x477d('0x24e')})[_0x477d('0xe')]('app.settings.cloudProviders',{'url':_0x477d('0x25c'),'views':{'content@app':{'templateUrl':'app/main/apps/settings/views/cloudProviders/cloudProviders.html','controller':'CloudProvidersController\x20as\x20vm'}},'resolve':{'cloudProviders':['apiResolver',function(_0x1860e3){return _0x1860e3[_0x477d('0x5a')](_0x477d('0x25d'),{'fields':'createdAt,updatedAt,id,name,service,data2,data1','sort':_0x477d('0x59'),'limit':0xa,'offset':0x0});}]},'authenticate':!![],'permissionId':0x578,'bodyClass':_0x477d('0x24e')});_0x11e431[_0x477d('0x19')](_0x477d('0x25e'));}}());(function(){'use strict';_0x569536[_0x477d('0xa')]=[_0x477d('0x1e')];angular[_0x477d('0xb')](_0x477d('0x247'),[])[_0x477d('0xd')](_0x569536);function _0x569536(_0x600e5c){_0x600e5c[_0x477d('0xe')](_0x477d('0x247'),{'url':_0x477d('0x25f'),'views':{'content@app':{'templateUrl':_0x477d('0x260'),'controller':_0x477d('0x261')}},'authenticate':!![],'permissionId':0x578,'bodyClass':_0x477d('0x24e')});}}());(function(){'use strict';_0x79a359[_0x477d('0xa')]=[_0x477d('0x1e')];angular[_0x477d('0xb')](_0x477d('0x262'),[])['config'](_0x79a359);function _0x79a359(_0xc7a390){_0xc7a390[_0x477d('0xe')]('app.settings.system',{'url':_0x477d('0x263'),'views':{'content@app':{'templateUrl':_0x477d('0x264'),'controller':'SystemController\x20as\x20vm'}},'resolve':{'system':['apiResolver',function(_0x495097){return _0x495097[_0x477d('0x5a')](_0x477d('0x265'));}],'processes':['apiResolver',function(_0x4bd5ad){return _0x4bd5ad['resolve'](_0x477d('0x266'));}]},'authenticate':!![],'permissionId':0x578,'bodyClass':'settings'});}}());(function(){'use strict';_0x278b19[_0x477d('0xa')]=[_0x477d('0x1e')];angular[_0x477d('0xb')](_0x477d('0x246'),[])[_0x477d('0xd')](_0x278b19);function _0x278b19(_0x3e0f4d){_0x3e0f4d[_0x477d('0xe')](_0x477d('0x246'),{'url':'/updates','views':{'content@app':{'templateUrl':_0x477d('0x267'),'controller':_0x477d('0x268')}},'resolve':{'version':[_0x477d('0x5e'),function(_0x1baafb){return _0x1baafb[_0x477d('0x5a')](_0x477d('0x269'),{'latest':!![]});}],'userProfile':['apiResolver',_0x477d('0x55'),function(_0x4c8ea7,_0x3c247c){return _0x4c8ea7['resolve']('userProfile@get',{'fields':'id,name,crudPermissions','id':_0x3c247c['getCurrentUser']()[_0x477d('0x61')]});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x28fef5,_0x47ed6f){return _0x28fef5[_0x477d('0x5a')]('userProfileSection@get',{'fields':'id,name,enabled,includeAll,autoAssociation,crudPermissions','userProfileId':_0x47ed6f[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0x578});}]},'authenticate':!![],'permissionId':0x578,'bodyClass':_0x477d('0x24e')});}}());(function(){'use strict';_0x36e13c['$inject']=[_0x477d('0x1e'),_0x477d('0x14'),_0x477d('0xad'),_0x477d('0x43')];angular['module'](_0x477d('0x32'),[_0x477d('0x44'),_0x477d('0x45'),'md.data.table',_0x477d('0xae'),_0x477d('0x46'),_0x477d('0x47'),_0x477d('0x48'),_0x477d('0x2'),_0x477d('0x82'),_0x477d('0x49'),_0x477d('0x4a'),_0x477d('0x4b'),_0x477d('0x4c'),'ngclipboard','angular-cron-jobs',_0x477d('0x4e'),_0x477d('0x4f'),_0x477d('0xaf'),'chart.js',_0x477d('0x84'),'app.sms.realtime'])[_0x477d('0xd')](_0x36e13c);function _0x36e13c(_0x23a365,_0x22fedc,_0x21989a,_0x531195){_0x23a365[_0x477d('0xe')](_0x477d('0x32'),{'abstract':!![],'url':'/sms'})[_0x477d('0xe')](_0x477d('0x26a'),{'url':'/smsQueues','views':{'content@app':{'templateUrl':_0x477d('0x26b'),'controller':_0x477d('0x26c')}},'resolve':{'smsQueues':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x136653,_0x1f6321){return _0x1f6321[_0x477d('0x56')]('admin')?_0x136653[_0x477d('0x5a')](_0x477d('0x26d'),{'fields':_0x477d('0xb5'),'sort':_0x477d('0x59'),'channel':_0x477d('0x26e'),'limit':0xa,'offset':0x0}):_0x136653[_0x477d('0x5a')](_0x477d('0x5b'),{'id':_0x1f6321[_0x477d('0x5c')]()['userProfileId'],'section':'SmsQueues','fields':'createdAt,updatedAt,id,name,strategy,timeout,description','sort':_0x477d('0x59'),'channel':_0x477d('0x26e'),'limit':0xa,'offset':0x0});}],'userProfile':[_0x477d('0x5e'),'Auth',function(_0x95bf97,_0x280ecb){return _0x280ecb[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x95bf97[_0x477d('0x5a')]('userProfile@get',{'fields':_0x477d('0x60'),'id':_0x280ecb['getCurrentUser']()[_0x477d('0x61')]});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x464f6a,_0x1a0781){return _0x1a0781[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x464f6a[_0x477d('0x5a')](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x1a0781[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0x2bd});}]},'authenticate':!![],'permissionId':0x2bd,'bodyClass':_0x477d('0x26e')})[_0x477d('0xe')](_0x477d('0x26f'),{'url':_0x477d('0xb8'),'params':{'smsQueue':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':_0x477d('0x270'),'controller':_0x477d('0x271')}},'resolve':{'smsQueue':['apiResolver',_0x477d('0x72'),function(_0x55498b,_0x58ce62){return _0x55498b[_0x477d('0x5a')](_0x477d('0x26d'),{'fields':_0x477d('0xb5'),'id':_0x58ce62['id']});}],'userProfileSection':[_0x477d('0x5e'),'Auth',function(_0x11ae4a,_0x423737){return _0x11ae4a[_0x477d('0x5a')](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x423737[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0x2bd});}]},'authenticate':!![],'permissionId':0x2bd,'bodyClass':_0x477d('0x26e')})[_0x477d('0xe')](_0x477d('0x272'),{'url':'/smsAccounts','views':{'content@app':{'templateUrl':_0x477d('0x273'),'controller':_0x477d('0x274')}},'resolve':{'smsAccounts':['apiResolver',_0x477d('0x55'),function(_0x3f83d5,_0xd8f95e){return _0xd8f95e[_0x477d('0x56')](_0x477d('0x5f'))?_0x3f83d5['resolve'](_0x477d('0x13d'),{'fields':'createdAt,updatedAt,id,name,key,token,remote,ListId,type,phone,accountSid,authId,authToken,smsMethod,username,password,baseUrl,apiKey,senderString,deliveryReport,waitForTheAssignedAgent,mandatoryDisposition,mandatoryDispositionPauseId,description,receiveUrl,deliveryReportUrl,notificationSound,notificationShake,notificationTemplate,queueTransfer,queueTransferTimeout,agentTransfer,agentTransferTimeout','sort':'-updatedAt','limit':0xa,'offset':0x0}):_0x3f83d5['resolve'](_0x477d('0x5b'),{'id':_0xd8f95e['getCurrentUser']()['userProfileId'],'section':_0x477d('0xaa'),'fields':'createdAt,updatedAt,id,name,key,token,remote,ListId,type,phone,accountSid,authId,authToken,smsMethod,username,password,baseUrl,apiKey,senderString,deliveryReport,waitForTheAssignedAgent,mandatoryDisposition,mandatoryDispositionPauseId,description,receiveUrl,deliveryReportUrl,notificationSound,notificationShake,notificationTemplate,queueTransfer,queueTransferTimeout,agentTransfer,agentTransferTimeout','sort':'-updatedAt','limit':0xa,'offset':0x0});}],'userProfile':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x5b09b4,_0x36c76c){return _0x36c76c[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x5b09b4['resolve'](_0x477d('0x6b'),{'fields':_0x477d('0x60'),'id':_0x36c76c[_0x477d('0x5c')]()[_0x477d('0x61')]});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x463212,_0x33bbbf){return _0x33bbbf['hasRole'](_0x477d('0x5f'))?null:_0x463212['resolve']('userProfileSection@get',{'fields':_0x477d('0x63'),'userProfileId':_0x33bbbf['getCurrentUser']()[_0x477d('0x61')],'sectionId':0x2be});}]},'authenticate':!![],'permissionId':0x2be,'bodyClass':_0x477d('0x26e')})[_0x477d('0xe')](_0x477d('0x275'),{'url':'/:id?tab','params':{'smsAccount':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':_0x477d('0x276'),'controller':'SmsAccountController\x20as\x20vm'}},'resolve':{'smsAccount':[_0x477d('0x5e'),_0x477d('0x72'),function(_0x3b1dbc,_0x13f284){return _0x3b1dbc[_0x477d('0x5a')](_0x477d('0x13d'),{'fields':'createdAt,updatedAt,id,name,key,token,remote,ListId,type,phone,accountSid,authId,authToken,smsMethod,username,password,baseUrl,apiKey,senderString,deliveryReport,waitForTheAssignedAgent,mandatoryDisposition,mandatoryDispositionPauseId,description,receiveUrl,deliveryReportUrl,notificationSound,notificationShake,notificationTemplate,queueTransfer,queueTransferTimeout,agentTransfer,agentTransferTimeout','id':_0x13f284['id']});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x30494f,_0x30c6bd){return _0x30494f[_0x477d('0x5a')]('userProfileSection@get',{'fields':'id,name,enabled,includeAll,autoAssociation,crudPermissions','userProfileId':_0x30c6bd[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0x2be});}]},'authenticate':!![],'permissionId':0x2be,'bodyClass':_0x477d('0x26e')});_0x22fedc[_0x477d('0x19')](_0x477d('0x277'));}}());(function(){'use strict';_0x3a7855[_0x477d('0xa')]=['$stateProvider'];angular[_0x477d('0xb')](_0x477d('0x278'),[])[_0x477d('0xd')](_0x3a7855);function _0x3a7855(_0x108ec5){_0x108ec5['state'](_0x477d('0x278'),{'url':_0x477d('0xc5'),'views':{'content@app':{'templateUrl':_0x477d('0x279'),'controller':_0x477d('0x27a')}},'resolve':{'userProfile':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x3f7ae1,_0x442e33){return _0x442e33['hasRole'](_0x477d('0x5f'))?null:_0x3f7ae1[_0x477d('0x5a')](_0x477d('0x6b'),{'fields':_0x477d('0x60'),'id':_0x442e33[_0x477d('0x5c')]()[_0x477d('0x61')]});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x462a9a,_0x2a5328){return _0x2a5328['hasRole'](_0x477d('0x5f'))?null:_0x462a9a[_0x477d('0x5a')](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x2a5328[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0x2c6});}]},'authenticate':!![],'permissionId':0x2c6})['state'](_0x477d('0x27b'),{'url':_0x477d('0xc9'),'controller':'AgentsSmsRealtimeController\x20as\x20vm','templateUrl':'app/main/apps/sms/views/realtime/agents/view.html','resolve':{'pauses':[_0x477d('0x5e'),function(_0x1b69b5){return _0x1b69b5[_0x477d('0x5a')]('pause@get',{'nolimit':!![]});}],'agents':['apiResolver',_0x477d('0x55'),function(_0x302529,_0x19308a){return _0x19308a[_0x477d('0x56')]('admin')?_0x302529[_0x477d('0x5a')]('user@get',{'fields':_0x477d('0xcc'),'role':_0x477d('0xcf'),'sort':_0x477d('0xcd'),'nolimit':!![]}):_0x302529[_0x477d('0x5a')](_0x477d('0x5b'),{'id':_0x19308a['getCurrentUser']()[_0x477d('0x61')],'section':_0x477d('0xce'),'fields':_0x477d('0xcc'),'role':_0x477d('0xcf'),'sort':_0x477d('0xcd'),'nolimit':!![]});}],'userProfile':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x4d078,_0x5787e4){return _0x5787e4[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x4d078[_0x477d('0x5a')](_0x477d('0x6b'),{'fields':_0x477d('0x60'),'id':_0x5787e4['getCurrentUser']()[_0x477d('0x61')]});}],'userProfileSection':[_0x477d('0x5e'),'Auth',function(_0x56c990,_0x479b2b){return _0x479b2b[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x56c990['resolve'](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x479b2b[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0xca});}],'rpcAgents':[_0x477d('0x5e'),function(_0x3a467c){return _0x3a467c[_0x477d('0x5a')](_0x477d('0xd0'));}]},'authenticate':!![],'permissionId':0x2c6})[_0x477d('0xe')](_0x477d('0x27c'),{'url':_0x477d('0xd2'),'controller':_0x477d('0x27d'),'templateUrl':_0x477d('0x27e'),'resolve':{'queues':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x4e31fe,_0x113747){return _0x113747[_0x477d('0x56')](_0x477d('0x5f'))?_0x4e31fe['resolve'](_0x477d('0x26d'),{'type':_0x477d('0x9e'),'sort':_0x477d('0x59'),'limit':0xa,'offset':0x0}):_0x4e31fe[_0x477d('0x5a')]('userProfile@getResources',{'id':_0x113747['getCurrentUser']()[_0x477d('0x61')],'section':_0x477d('0x27f'),'channel':'sms','type':_0x477d('0x9e'),'sort':_0x477d('0x59'),'limit':0xa,'page':0x1});}],'userProfile':['apiResolver',_0x477d('0x55'),function(_0x5470c3,_0x2ef62e){return _0x2ef62e['hasRole'](_0x477d('0x5f'))?null:_0x5470c3['resolve']('userProfile@get',{'fields':_0x477d('0x60'),'id':_0x2ef62e['getCurrentUser']()[_0x477d('0x61')]});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x453351,_0x5e55f7){return _0x5e55f7[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x453351[_0x477d('0x5a')](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x5e55f7[_0x477d('0x5c')]()['userProfileId'],'sectionId':0x2bd});}],'rpcQueues':[_0x477d('0x5e'),function(_0x38714d){return _0x38714d[_0x477d('0x5a')]('rpc@getSmsQueues');}]},'authenticate':!![],'permissionId':0x2c6});}}());(function(){'use strict';_0x11d90a[_0x477d('0xa')]=[_0x477d('0x1e'),_0x477d('0x14'),'msApiProvider',_0x477d('0x43')];angular[_0x477d('0xb')](_0x477d('0x2d'),['ngCsv',_0x477d('0x45'),'md.data.table','flow',_0x477d('0x46'),_0x477d('0x47'),'ng-sortable',_0x477d('0x2'),'ngAnimate',_0x477d('0x49'),_0x477d('0x4a'),_0x477d('0x4b'),'mwFormUtils',_0x477d('0x4d'),_0x477d('0x83'),'ngEmbed',_0x477d('0x4f'),_0x477d('0xaf'),_0x477d('0x50'),_0x477d('0x84')])['config'](_0x11d90a);function _0x11d90a(_0x5da7a,_0x16c9e2,_0x42016b,_0xb4b49b){_0x5da7a[_0x477d('0xe')](_0x477d('0x2d'),{'abstract':!![],'url':_0x477d('0x280')})[_0x477d('0xe')]('app.staff.users',{'url':_0x477d('0x281'),'views':{'content@app':{'templateUrl':'app/main/apps/staff/views/users/users.html','controller':_0x477d('0x282')}},'resolve':{'users':[_0x477d('0x5e'),'Auth',function(_0x5d082b,_0x111888){return _0x5d082b[_0x477d('0x5a')](_0x477d('0x99'),{'fields':'createdAt,updatedAt,role,userProfileId,id,fullname,name,email,phone,mobile,userpic,password,description,autointernal,internal,transport,nat,allow,context,callgroup,pickupgroup,passwordResetAt,apiKey,videosupport,disabled,blocked','role':_0x477d('0x283'),'sort':_0x477d('0x59'),'limit':0xa,'offset':0x0});}],'userProfile':[_0x477d('0x5e'),'Auth',function(_0xf01fe3,_0x21e1e8){return _0x21e1e8['hasRole']('admin')?null:_0xf01fe3[_0x477d('0x5a')](_0x477d('0x6b'),{'fields':_0x477d('0x60'),'id':_0x21e1e8[_0x477d('0x5c')]()['userProfileId']});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x22ac99,_0x372034){return _0x372034['hasRole']('admin')?null:_0x22ac99[_0x477d('0x5a')]('userProfileSection@get',{'fields':_0x477d('0x63'),'userProfileId':_0x372034[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0xc9});}]},'authenticate':!![],'permissionId':0xc9,'bodyClass':'staff'})[_0x477d('0xe')](_0x477d('0x284'),{'url':_0x477d('0xb8'),'params':{'user':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':_0x477d('0x285'),'controller':_0x477d('0x286')}},'resolve':{'user':['apiResolver',_0x477d('0x72'),function(_0x4c5ca9,_0xae90fc){return _0x4c5ca9['resolve']('user@get',{'fields':_0x477d('0x287'),'id':_0xae90fc['id']});}],'userProfileSection':['apiResolver',_0x477d('0x55'),function(_0x4ce153,_0x3defa4){return _0x4ce153[_0x477d('0x5a')](_0x477d('0x62'),{'fields':'id,name,enabled,includeAll,autoAssociation,crudPermissions','userProfileId':_0x3defa4['getCurrentUser']()[_0x477d('0x61')],'sectionId':0xc9});}]},'authenticate':!![],'permissionId':0xc9,'bodyClass':_0x477d('0x288')})[_0x477d('0xe')](_0x477d('0x289'),{'url':'/agents','views':{'content@app':{'templateUrl':_0x477d('0x28a'),'controller':_0x477d('0x28b')}},'resolve':{'agents':[_0x477d('0x5e'),_0x477d('0x55'),function(_0xc5bd10,_0x29d52d){return _0x29d52d[_0x477d('0x56')](_0x477d('0x5f'))?_0xc5bd10[_0x477d('0x5a')](_0x477d('0x99'),{'fields':_0x477d('0x28c'),'role':_0x477d('0xcf'),'sort':_0x477d('0x59'),'limit':0xa,'offset':0x0}):_0xc5bd10[_0x477d('0x5a')](_0x477d('0x5b'),{'id':_0x29d52d['getCurrentUser']()['userProfileId'],'section':_0x477d('0xce'),'fields':_0x477d('0x28c'),'role':_0x477d('0xcf'),'sort':_0x477d('0x59'),'limit':0xa,'offset':0x0});}],'userProfile':['apiResolver',_0x477d('0x55'),function(_0xbd5edc,_0x494362){return _0x494362[_0x477d('0x56')](_0x477d('0x5f'))?null:_0xbd5edc[_0x477d('0x5a')]('userProfile@get',{'fields':_0x477d('0x60'),'id':_0x494362[_0x477d('0x5c')]()[_0x477d('0x61')]});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0xc15f0b,_0x51514c){return _0x51514c[_0x477d('0x56')]('admin')?null:_0xc15f0b[_0x477d('0x5a')](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x51514c[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0xca});}]},'authenticate':!![],'permissionId':0xca,'bodyClass':'staff'})[_0x477d('0xe')](_0x477d('0x28d'),{'url':_0x477d('0xb8'),'params':{'agent':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':_0x477d('0x28e'),'controller':_0x477d('0x28f')}},'resolve':{'agent':[_0x477d('0x5e'),_0x477d('0x72'),function(_0x218ef6,_0x3a9eef){return _0x218ef6[_0x477d('0x5a')]('user@get',{'fields':_0x477d('0x28c'),'id':_0x3a9eef['id']});}],'userProfileSection':['apiResolver','Auth',function(_0x87a645,_0x5289e0){return _0x87a645[_0x477d('0x5a')](_0x477d('0x62'),{'fields':'id,name,enabled,includeAll,autoAssociation,crudPermissions','userProfileId':_0x5289e0[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0xca});}]},'authenticate':!![],'permissionId':0xca,'bodyClass':_0x477d('0x288')})[_0x477d('0xe')](_0x477d('0x290'),{'url':_0x477d('0x291'),'views':{'content@app':{'templateUrl':_0x477d('0x292'),'controller':_0x477d('0x293')}},'resolve':{'telephones':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x3e738a,_0x3752e9){return _0x3752e9[_0x477d('0x56')](_0x477d('0x5f'))?_0x3e738a[_0x477d('0x5a')]('user@get',{'fields':_0x477d('0x294'),'role':_0x477d('0x295'),'sort':_0x477d('0x59'),'limit':0xa,'offset':0x0}):_0x3e738a[_0x477d('0x5a')]('userProfile@getResources',{'id':_0x3752e9[_0x477d('0x5c')]()[_0x477d('0x61')],'section':_0x477d('0x296'),'fields':_0x477d('0x294'),'role':_0x477d('0x295'),'sort':_0x477d('0x59'),'limit':0xa,'offset':0x0});}],'userProfile':['apiResolver',_0x477d('0x55'),function(_0x5444f8,_0x21b62e){return _0x21b62e['hasRole']('admin')?null:_0x5444f8[_0x477d('0x5a')]('userProfile@get',{'fields':_0x477d('0x60'),'id':_0x21b62e[_0x477d('0x5c')]()[_0x477d('0x61')]});}],'userProfileSection':['apiResolver',_0x477d('0x55'),function(_0x2d8afc,_0x877585){return _0x877585['hasRole']('admin')?null:_0x2d8afc['resolve'](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x877585[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0xcb});}]},'authenticate':!![],'permissionId':0xcb,'bodyClass':'staff'})[_0x477d('0xe')](_0x477d('0x297'),{'url':'/:id?tab','params':{'telephone':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':_0x477d('0x298'),'controller':_0x477d('0x299')}},'resolve':{'telephone':[_0x477d('0x5e'),'$stateParams',function(_0x42fc99,_0x300194){return _0x42fc99['resolve'](_0x477d('0x99'),{'fields':_0x477d('0x294'),'id':_0x300194['id']});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x5b6bfc,_0x27b055){return _0x5b6bfc['resolve'](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x27b055[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0xcb});}]},'authenticate':!![],'permissionId':0xcb,'bodyClass':_0x477d('0x288')})[_0x477d('0xe')](_0x477d('0x29a'),{'url':_0x477d('0x29b'),'views':{'content@app':{'templateUrl':_0x477d('0x29c'),'controller':_0x477d('0x29d')}},'resolve':{'teams':[_0x477d('0x5e'),_0x477d('0x55'),function(_0xa64124,_0x26ff34){return _0x26ff34[_0x477d('0x56')](_0x477d('0x5f'))?_0xa64124[_0x477d('0x5a')](_0x477d('0x29e'),{'fields':_0x477d('0x1e5'),'sort':'-updatedAt','limit':0xa,'offset':0x0}):_0xa64124[_0x477d('0x5a')](_0x477d('0x5b'),{'id':_0x26ff34[_0x477d('0x5c')]()['userProfileId'],'section':_0x477d('0x29f'),'fields':_0x477d('0x1e5'),'sort':_0x477d('0x59'),'limit':0xa,'offset':0x0});}],'userProfile':['apiResolver',_0x477d('0x55'),function(_0x5a48ec,_0x97e356){return _0x97e356[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x5a48ec[_0x477d('0x5a')]('userProfile@get',{'fields':_0x477d('0x60'),'id':_0x97e356[_0x477d('0x5c')]()[_0x477d('0x61')]});}],'userProfileSection':['apiResolver','Auth',function(_0x1c9414,_0x524c51){return _0x524c51[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x1c9414[_0x477d('0x5a')]('userProfileSection@get',{'fields':'id,name,enabled,includeAll,autoAssociation,crudPermissions','userProfileId':_0x524c51[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0xcc});}]},'authenticate':!![],'permissionId':0xcc,'bodyClass':_0x477d('0x288')})['state'](_0x477d('0x2a0'),{'url':'/userProfiles','views':{'content@app':{'templateUrl':'app/main/apps/staff/views/userProfiles/userProfiles.html','controller':_0x477d('0x2a1')}},'resolve':{'userProfiles':[_0x477d('0x5e'),'Auth',function(_0x1c126a,_0x7ab839){return _0x1c126a[_0x477d('0x5a')]('userProfile@get',{'fields':_0x477d('0x2a2'),'sort':_0x477d('0x59'),'limit':0xa,'offset':0x0});}],'userProfile':['apiResolver','Auth',function(_0x35ec89,_0x1f0140){return _0x1f0140[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x35ec89[_0x477d('0x5a')](_0x477d('0x6b'),{'fields':'id,name,crudPermissions','id':_0x1f0140[_0x477d('0x5c')]()['userProfileId']});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x2e7941,_0x2449a3){return _0x2449a3[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x2e7941[_0x477d('0x5a')](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x2449a3[_0x477d('0x5c')]()['userProfileId'],'sectionId':0xcd});}]},'authenticate':!![],'permissionId':0xcd,'bodyClass':_0x477d('0x288')})[_0x477d('0xe')](_0x477d('0x2a3'),{'url':_0x477d('0xb8'),'params':{'userProfile':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':'app/main/apps/staff/views/userProfiles/edit/view.html','controller':_0x477d('0x2a4')}},'resolve':{'userProfile':[_0x477d('0x5e'),_0x477d('0x72'),function(_0x545ee7,_0x434faa){return _0x545ee7[_0x477d('0x5a')](_0x477d('0x6b'),{'fields':'createdAt,updatedAt,id,name,description,crudPermissions','id':_0x434faa['id']});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x4b0995,_0x14a57d){return _0x4b0995[_0x477d('0x5a')](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x14a57d[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0xcd});}]},'authenticate':!![],'permissionId':0xcd,'bodyClass':_0x477d('0x288')});_0x16c9e2[_0x477d('0x19')](_0x477d('0x2a5'));}}());(function(){'use strict';_0x10b71b['$inject']=[_0x477d('0x1e'),_0x477d('0x14'),_0x477d('0xad'),'msNavigationServiceProvider'];angular['module']('app.tools',[_0x477d('0x44'),_0x477d('0x45'),_0x477d('0x81'),_0x477d('0xae'),'mdColorPicker',_0x477d('0x47'),'ng-sortable',_0x477d('0x2'),'ngAnimate','mdPickers','mwFormBuilder',_0x477d('0x4b'),_0x477d('0x4c'),_0x477d('0x4d'),'angular-cron-jobs',_0x477d('0x4e'),_0x477d('0x4f'),_0x477d('0xaf'),'chart.js',_0x477d('0x84')])['config'](_0x10b71b);function _0x10b71b(_0x44df75,_0x2a35b5,_0x2b5841,_0x202f89){_0x44df75[_0x477d('0xe')](_0x477d('0x35'),{'abstract':!![],'url':_0x477d('0x2a6')})[_0x477d('0xe')]('app.tools.cannedAnswers',{'url':_0x477d('0x2a7'),'views':{'content@app':{'templateUrl':_0x477d('0x2a8'),'controller':_0x477d('0x2a9')}},'resolve':{'cannedAnswers':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x538a11,_0x5249c8){return _0x5249c8[_0x477d('0x56')]('admin')?_0x538a11[_0x477d('0x5a')]('cannedAnswer@get',{'fields':_0x477d('0x2aa'),'sort':'-updatedAt','MailAccountId':_0x477d('0xea'),'FaxAccountId':_0x477d('0xea'),'SmsAccountId':'null','OpenchannelAccountId':'null','ChatWebsiteId':_0x477d('0xea'),'limit':0xa,'offset':0x0}):_0x538a11[_0x477d('0x5a')](_0x477d('0x5b'),{'id':_0x5249c8[_0x477d('0x5c')]()['userProfileId'],'section':_0x477d('0x2ab'),'fields':_0x477d('0x2aa'),'sort':_0x477d('0x59'),'MailAccountId':'null','FaxAccountId':'null','SmsAccountId':_0x477d('0xea'),'OpenchannelAccountId':_0x477d('0xea'),'ChatWebsiteId':'null','limit':0xa,'offset':0x0});}],'userProfile':['apiResolver','Auth',function(_0x54f0a3,_0x52ab1e){return _0x52ab1e[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x54f0a3[_0x477d('0x5a')](_0x477d('0x6b'),{'fields':'id,name,crudPermissions','id':_0x52ab1e[_0x477d('0x5c')]()[_0x477d('0x61')]});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x3f417c,_0x41e131){return _0x41e131['hasRole']('admin')?null:_0x3f417c[_0x477d('0x5a')]('userProfileSection@get',{'fields':'id,name,enabled,includeAll,autoAssociation,crudPermissions','userProfileId':_0x41e131[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0x3e9});}]},'authenticate':!![],'permissionId':0x3e9,'bodyClass':_0x477d('0x2ac')})[_0x477d('0xe')]('app.tools.dispositions',{'url':_0x477d('0x2ad'),'views':{'content@app':{'templateUrl':_0x477d('0x2ae'),'controller':_0x477d('0x2af')}},'resolve':{'dispositions':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x163bf1,_0x520f32){return _0x520f32['hasRole'](_0x477d('0x5f'))?_0x163bf1[_0x477d('0x5a')](_0x477d('0x21f'),{'fields':_0x477d('0x2b0'),'sort':'-updatedAt','MailAccountId':_0x477d('0xea'),'FaxAccountId':_0x477d('0xea'),'SmsAccountId':'null','OpenchannelAccountId':_0x477d('0xea'),'ChatWebsiteId':_0x477d('0xea'),'ListId':_0x477d('0xea'),'limit':0xa,'offset':0x0}):_0x163bf1[_0x477d('0x5a')](_0x477d('0x5b'),{'id':_0x520f32[_0x477d('0x5c')]()[_0x477d('0x61')],'section':_0x477d('0x220'),'fields':_0x477d('0x2b0'),'sort':_0x477d('0x59'),'MailAccountId':'null','FaxAccountId':_0x477d('0xea'),'SmsAccountId':_0x477d('0xea'),'OpenchannelAccountId':'null','ChatWebsiteId':_0x477d('0xea'),'ListId':'null','limit':0xa,'offset':0x0});}],'userProfile':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x5cc3dc,_0x577cc3){return _0x577cc3[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x5cc3dc[_0x477d('0x5a')](_0x477d('0x6b'),{'fields':_0x477d('0x60'),'id':_0x577cc3['getCurrentUser']()['userProfileId']});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0xf8c3f8,_0x342ea8){return _0x342ea8[_0x477d('0x56')](_0x477d('0x5f'))?null:_0xf8c3f8[_0x477d('0x5a')]('userProfileSection@get',{'fields':_0x477d('0x63'),'userProfileId':_0x342ea8['getCurrentUser']()[_0x477d('0x61')],'sectionId':0x3ea});}]},'authenticate':!![],'permissionId':0x3ea,'bodyClass':_0x477d('0x2ac')})['state'](_0x477d('0x2b1'),{'url':_0x477d('0x2b2'),'views':{'content@app':{'templateUrl':_0x477d('0x2b3'),'controller':_0x477d('0x2b4')}},'resolve':{'customDashboards':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x5a8f48,_0x4de404){return _0x4de404[_0x477d('0x56')](_0x477d('0x5f'))?_0x5a8f48[_0x477d('0x5a')](_0x477d('0x2b5'),{'fields':_0x477d('0x1e5'),'sort':_0x477d('0x59'),'limit':0xa,'offset':0x0}):_0x5a8f48[_0x477d('0x5a')](_0x477d('0x5b'),{'id':_0x4de404[_0x477d('0x5c')]()[_0x477d('0x61')],'section':_0x477d('0x2b6'),'fields':_0x477d('0x1e5'),'sort':_0x477d('0x59'),'limit':0xa,'offset':0x0});}],'userProfile':[_0x477d('0x5e'),'Auth',function(_0x4861bf,_0x256bbb){return _0x256bbb[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x4861bf[_0x477d('0x5a')]('userProfile@get',{'fields':'id,name,crudPermissions','id':_0x256bbb[_0x477d('0x5c')]()[_0x477d('0x61')]});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x327c4d,_0x3516b4){return _0x3516b4[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x327c4d['resolve'](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x3516b4['getCurrentUser']()[_0x477d('0x61')],'sectionId':0x3eb});}]},'authenticate':!![],'permissionId':0x3eb,'bodyClass':'tools'})['state'](_0x477d('0x2b7'),{'url':_0x477d('0xb8'),'params':{'customDashboard':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':'app/main/apps/tools/views/customDashboards/edit/view.html','controller':_0x477d('0x2b8')}},'resolve':{'customDashboard':['apiResolver',_0x477d('0x72'),function(_0x3920ae,_0x20f309){return _0x3920ae[_0x477d('0x5a')](_0x477d('0x2b5'),{'fields':_0x477d('0x1e5'),'id':_0x20f309['id']});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x2c6da4,_0x22764f){return _0x2c6da4[_0x477d('0x5a')]('userProfileSection@get',{'fields':_0x477d('0x63'),'userProfileId':_0x22764f[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0x3eb});}]},'authenticate':!![],'permissionId':0x3eb,'bodyClass':_0x477d('0x2ac')})[_0x477d('0xe')](_0x477d('0x2b9'),{'url':'/intervals','views':{'content@app':{'templateUrl':_0x477d('0x2ba'),'controller':_0x477d('0x2bb')}},'resolve':{'intervals':['apiResolver',_0x477d('0x55'),function(_0x2929d9,_0x1bfaf3){return _0x1bfaf3['hasRole']('admin')?_0x2929d9[_0x477d('0x5a')]('interval@get',{'fields':_0x477d('0x1e5'),'sort':_0x477d('0x59'),'IntervalId':_0x477d('0xea'),'limit':0xa,'offset':0x0}):_0x2929d9['resolve'](_0x477d('0x5b'),{'id':_0x1bfaf3[_0x477d('0x5c')]()[_0x477d('0x61')],'section':_0x477d('0xa5'),'fields':_0x477d('0x1e5'),'sort':_0x477d('0x59'),'IntervalId':_0x477d('0xea'),'limit':0xa,'offset':0x0});}],'userProfile':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x3cbfea,_0xc9417b){return _0xc9417b[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x3cbfea[_0x477d('0x5a')](_0x477d('0x6b'),{'fields':_0x477d('0x60'),'id':_0xc9417b[_0x477d('0x5c')]()[_0x477d('0x61')]});}],'userProfileSection':[_0x477d('0x5e'),'Auth',function(_0x345246,_0x1c66ba){return _0x1c66ba[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x345246[_0x477d('0x5a')]('userProfileSection@get',{'fields':_0x477d('0x63'),'userProfileId':_0x1c66ba[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0x3ec});}]},'authenticate':!![],'permissionId':0x3ec,'bodyClass':_0x477d('0x2ac')})[_0x477d('0xe')]('app.tools.intervals.edit',{'url':_0x477d('0xb8'),'params':{'interval':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':_0x477d('0x2bc'),'controller':'IntervalController\x20as\x20vm'}},'resolve':{'interval':[_0x477d('0x5e'),_0x477d('0x72'),function(_0x5b4cd8,_0x1a5f1c){return _0x5b4cd8[_0x477d('0x5a')](_0x477d('0x2bd'),{'fields':_0x477d('0x1e5'),'id':_0x1a5f1c['id']});}],'userProfileSection':['apiResolver',_0x477d('0x55'),function(_0x6511b3,_0x2c37e0){return _0x6511b3[_0x477d('0x5a')]('userProfileSection@get',{'fields':_0x477d('0x63'),'userProfileId':_0x2c37e0[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0x3ec});}]},'authenticate':!![],'permissionId':0x3ec,'bodyClass':_0x477d('0x2ac')})['state']('app.tools.pauses',{'url':'/pauses','views':{'content@app':{'templateUrl':_0x477d('0x2be'),'controller':_0x477d('0x2bf')}},'resolve':{'pauses':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x2325c2,_0x1186e7){return _0x1186e7[_0x477d('0x56')](_0x477d('0x5f'))?_0x2325c2['resolve'](_0x477d('0xab'),{'fields':_0x477d('0x1e5'),'sort':'-updatedAt','limit':0xa,'offset':0x0}):_0x2325c2[_0x477d('0x5a')](_0x477d('0x5b'),{'id':_0x1186e7[_0x477d('0x5c')]()[_0x477d('0x61')],'section':_0x477d('0xac'),'fields':_0x477d('0x1e5'),'sort':_0x477d('0x59'),'limit':0xa,'offset':0x0});}],'userProfile':['apiResolver',_0x477d('0x55'),function(_0x50b27e,_0x2b29d7){return _0x2b29d7[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x50b27e[_0x477d('0x5a')](_0x477d('0x6b'),{'fields':_0x477d('0x60'),'id':_0x2b29d7[_0x477d('0x5c')]()[_0x477d('0x61')]});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x5c77ff,_0x2dee72){return _0x2dee72[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x5c77ff['resolve'](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x2dee72[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0x3ed});}]},'authenticate':!![],'permissionId':0x3ed,'bodyClass':_0x477d('0x2ac')})['state'](_0x477d('0x2c0'),{'url':_0x477d('0x2c1'),'views':{'content@app':{'templateUrl':_0x477d('0x2c2'),'controller':'SchedulesController\x20as\x20vm'}},'resolve':{'schedules':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x101124,_0x3b8817){return _0x3b8817[_0x477d('0x56')](_0x477d('0x5f'))?_0x101124[_0x477d('0x5a')](_0x477d('0x2c3'),{'fields':_0x477d('0x2c4'),'sort':_0x477d('0x59'),'limit':0xa,'offset':0x0}):_0x101124[_0x477d('0x5a')](_0x477d('0x5b'),{'id':_0x3b8817[_0x477d('0x5c')]()[_0x477d('0x61')],'section':_0x477d('0x2c5'),'fields':'createdAt,updatedAt,id,name,CustomReportId,DefaultReportId,output,active,startAt,endAt,cron,subtractNumber,subtractUnit,sendMail,MailAccountId,email,cc,bcc,sendIfEmpty,description','sort':'-updatedAt','limit':0xa,'offset':0x0});}],'userProfile':[_0x477d('0x5e'),_0x477d('0x55'),function(_0xf1b002,_0x1194e5){return _0x1194e5[_0x477d('0x56')](_0x477d('0x5f'))?null:_0xf1b002[_0x477d('0x5a')](_0x477d('0x6b'),{'fields':_0x477d('0x60'),'id':_0x1194e5[_0x477d('0x5c')]()['userProfileId']});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0xd0dcc2,_0x4f36cc){return _0x4f36cc['hasRole'](_0x477d('0x5f'))?null:_0xd0dcc2[_0x477d('0x5a')](_0x477d('0x62'),{'fields':'id,name,enabled,includeAll,autoAssociation,crudPermissions','userProfileId':_0x4f36cc['getCurrentUser']()['userProfileId'],'sectionId':0x3ee});}]},'authenticate':!![],'permissionId':0x3ee,'bodyClass':_0x477d('0x2ac')})[_0x477d('0xe')](_0x477d('0x2c6'),{'url':'/sounds','views':{'content@app':{'templateUrl':_0x477d('0x2c7'),'controller':_0x477d('0x2c8')}},'resolve':{'sounds':[_0x477d('0x5e'),_0x477d('0x55'),function(_0xdf78b2,_0xf896e7){return _0xf896e7[_0x477d('0x56')](_0x477d('0x5f'))?_0xdf78b2[_0x477d('0x5a')]('sound@get',{'fields':'createdAt,updatedAt,id,save_name,converted_format,name,audio,description','sort':_0x477d('0x59'),'limit':0xa,'offset':0x0}):_0xdf78b2['resolve'](_0x477d('0x5b'),{'id':_0xf896e7[_0x477d('0x5c')]()['userProfileId'],'section':_0x477d('0xa1'),'fields':'createdAt,updatedAt,id,save_name,converted_format,name,audio,description','sort':_0x477d('0x59'),'limit':0xa,'offset':0x0});}],'userProfile':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x3d45ea,_0x2e14f7){return _0x2e14f7[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x3d45ea[_0x477d('0x5a')](_0x477d('0x6b'),{'fields':_0x477d('0x60'),'id':_0x2e14f7[_0x477d('0x5c')]()['userProfileId']});}],'userProfileSection':[_0x477d('0x5e'),'Auth',function(_0x5010de,_0x13ab85){return _0x13ab85[_0x477d('0x56')]('admin')?null:_0x5010de[_0x477d('0x5a')](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x13ab85[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0x3ef});}]},'authenticate':!![],'permissionId':0x3ef,'bodyClass':'tools'})[_0x477d('0xe')]('app.tools.tags',{'url':'/tags','views':{'content@app':{'templateUrl':_0x477d('0x2c9'),'controller':_0x477d('0x2ca')}},'resolve':{'tags':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x2d651b,_0x37a400){return _0x37a400[_0x477d('0x56')](_0x477d('0x5f'))?_0x2d651b['resolve']('tag@get',{'fields':_0x477d('0x2cb'),'sort':'-updatedAt','limit':0xa,'offset':0x0}):_0x2d651b[_0x477d('0x5a')](_0x477d('0x5b'),{'id':_0x37a400['getCurrentUser']()[_0x477d('0x61')],'section':_0x477d('0x102'),'fields':'createdAt,updatedAt,id,name,description,color','sort':_0x477d('0x59'),'limit':0xa,'offset':0x0});}],'userProfile':['apiResolver',_0x477d('0x55'),function(_0x284228,_0x164d76){return _0x164d76[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x284228[_0x477d('0x5a')](_0x477d('0x6b'),{'fields':_0x477d('0x60'),'id':_0x164d76[_0x477d('0x5c')]()[_0x477d('0x61')]});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x22fa28,_0x222ddf){return _0x222ddf[_0x477d('0x56')]('admin')?null:_0x22fa28[_0x477d('0x5a')](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x222ddf[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0x3f0});}]},'authenticate':!![],'permissionId':0x3f0,'bodyClass':'tools'})[_0x477d('0xe')](_0x477d('0x2cc'),{'url':'/templates','views':{'content@app':{'templateUrl':_0x477d('0x2cd'),'controller':_0x477d('0x2ce')}},'resolve':{'templates':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x48b0c3,_0x28dfa4){return _0x28dfa4[_0x477d('0x56')](_0x477d('0x5f'))?_0x48b0c3[_0x477d('0x5a')](_0x477d('0xa8'),{'fields':_0x477d('0x2cf'),'sort':_0x477d('0x59'),'limit':0xa,'offset':0x0}):_0x48b0c3['resolve'](_0x477d('0x5b'),{'id':_0x28dfa4[_0x477d('0x5c')]()[_0x477d('0x61')],'section':_0x477d('0x2d0'),'fields':_0x477d('0x2cf'),'sort':_0x477d('0x59'),'limit':0xa,'offset':0x0});}],'userProfile':['apiResolver',_0x477d('0x55'),function(_0x2208cf,_0x14cac0){return _0x14cac0[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x2208cf['resolve'](_0x477d('0x6b'),{'fields':_0x477d('0x60'),'id':_0x14cac0['getCurrentUser']()[_0x477d('0x61')]});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0xdba5e7,_0x540ce6){return _0x540ce6['hasRole']('admin')?null:_0xdba5e7[_0x477d('0x5a')](_0x477d('0x62'),{'fields':'id,name,enabled,includeAll,autoAssociation,crudPermissions','userProfileId':_0x540ce6[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0x3f1});}]},'authenticate':!![],'permissionId':0x3f1,'bodyClass':_0x477d('0x2ac')})[_0x477d('0xe')](_0x477d('0x2d1'),{'url':'/triggers','views':{'content@app':{'templateUrl':_0x477d('0x2d2'),'controller':_0x477d('0x2d3')}},'resolve':{'triggers':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x2d24bf,_0x1139e2){return _0x1139e2[_0x477d('0x56')](_0x477d('0x5f'))?_0x2d24bf[_0x477d('0x5a')](_0x477d('0x2d4'),{'fields':_0x477d('0x2d5'),'sort':'-updatedAt','limit':0xa,'offset':0x0}):_0x2d24bf[_0x477d('0x5a')](_0x477d('0x5b'),{'id':_0x1139e2[_0x477d('0x5c')]()[_0x477d('0x61')],'section':_0x477d('0x2d6'),'fields':_0x477d('0x2d5'),'sort':'-updatedAt','limit':0xa,'offset':0x0});}],'userProfile':[_0x477d('0x5e'),'Auth',function(_0x26bff8,_0x4c53be){return _0x4c53be[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x26bff8[_0x477d('0x5a')](_0x477d('0x6b'),{'fields':_0x477d('0x60'),'id':_0x4c53be[_0x477d('0x5c')]()[_0x477d('0x61')]});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0xb29904,_0x48380b){return _0x48380b[_0x477d('0x56')](_0x477d('0x5f'))?null:_0xb29904['resolve'](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x48380b[_0x477d('0x5c')]()['userProfileId'],'sectionId':0x3f2});}]},'authenticate':!![],'permissionId':0x3f2,'bodyClass':_0x477d('0x2ac')})[_0x477d('0xe')](_0x477d('0x2d7'),{'url':_0x477d('0xb8'),'params':{'trigger':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':_0x477d('0x2d8'),'controller':'TriggerController\x20as\x20vm'}},'resolve':{'trigger':[_0x477d('0x5e'),'$stateParams',function(_0x44d9af,_0x542524){return _0x44d9af[_0x477d('0x5a')](_0x477d('0x2d4'),{'fields':'createdAt,updatedAt,id,name,channel,status,description','id':_0x542524['id']});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x4c696b,_0x2870ec){return _0x4c696b['resolve'](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x2870ec[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0x3f2});}]},'authenticate':!![],'permissionId':0x3f2,'bodyClass':_0x477d('0x2ac')})[_0x477d('0xe')](_0x477d('0x2d9'),{'url':_0x477d('0x162'),'views':{'content@app':{'templateUrl':_0x477d('0x2da'),'controller':_0x477d('0x2db')}},'resolve':{'trunks':['apiResolver',_0x477d('0x55'),function(_0x4fb1ec,_0x5a984d){return _0x5a984d['hasRole']('admin')?_0x4fb1ec['resolve'](_0x477d('0x9b'),{'fields':_0x477d('0x2dc'),'sort':_0x477d('0x59'),'limit':0xa,'offset':0x0}):_0x4fb1ec[_0x477d('0x5a')]('userProfile@getResources',{'id':_0x5a984d[_0x477d('0x5c')]()[_0x477d('0x61')],'section':'Trunks','fields':_0x477d('0x2dc'),'sort':_0x477d('0x59'),'limit':0xa,'offset':0x0});}],'userProfile':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x11936c,_0xb44d7){return _0xb44d7['hasRole']('admin')?null:_0x11936c['resolve'](_0x477d('0x6b'),{'fields':_0x477d('0x60'),'id':_0xb44d7[_0x477d('0x5c')]()[_0x477d('0x61')]});}],'userProfileSection':[_0x477d('0x5e'),'Auth',function(_0x176a48,_0x742784){return _0x742784[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x176a48[_0x477d('0x5a')](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x742784[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0x3f3});}]},'authenticate':!![],'permissionId':0x3f3,'bodyClass':_0x477d('0x2ac')})[_0x477d('0xe')](_0x477d('0x2dd'),{'url':_0x477d('0xb8'),'params':{'trunk':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':_0x477d('0x2de'),'controller':_0x477d('0x2df')}},'resolve':{'trunk':['apiResolver',_0x477d('0x72'),function(_0x4aa7c3,_0x25099c){return _0x4aa7c3[_0x477d('0x5a')]('trunk@get',{'fields':_0x477d('0x2dc'),'id':_0x25099c['id']});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x5abc20,_0x5e94a8){return _0x5abc20[_0x477d('0x5a')]('userProfileSection@get',{'fields':'id,name,enabled,includeAll,autoAssociation,crudPermissions','userProfileId':_0x5e94a8[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0x3f3});}]},'authenticate':!![],'permissionId':0x3f3,'bodyClass':_0x477d('0x2ac')})[_0x477d('0xe')](_0x477d('0x2e0'),{'url':_0x477d('0x2e1'),'views':{'content@app':{'templateUrl':_0x477d('0x2e2'),'controller':_0x477d('0x2e3')}},'resolve':{'variables':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x2d4205,_0x42dc29){return _0x42dc29['hasRole'](_0x477d('0x5f'))?_0x2d4205['resolve']('variable@get',{'fields':_0x477d('0x1e5'),'sort':_0x477d('0x59'),'limit':0xa,'offset':0x0}):_0x2d4205[_0x477d('0x5a')](_0x477d('0x5b'),{'id':_0x42dc29[_0x477d('0x5c')]()['userProfileId'],'section':_0x477d('0x2e4'),'fields':_0x477d('0x1e5'),'sort':_0x477d('0x59'),'limit':0xa,'offset':0x0});}],'userProfile':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x121a74,_0x8fff17){return _0x8fff17[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x121a74['resolve']('userProfile@get',{'fields':_0x477d('0x60'),'id':_0x8fff17[_0x477d('0x5c')]()[_0x477d('0x61')]});}],'userProfileSection':['apiResolver',_0x477d('0x55'),function(_0x242d51,_0x38b477){return _0x38b477[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x242d51['resolve'](_0x477d('0x62'),{'fields':'id,name,enabled,includeAll,autoAssociation,crudPermissions','userProfileId':_0x38b477['getCurrentUser']()[_0x477d('0x61')],'sectionId':0x3f4});}]},'authenticate':!![],'permissionId':0x3f4,'bodyClass':_0x477d('0x2ac')});_0x2a35b5[_0x477d('0x19')](_0x477d('0x2e5'));}}());(function(){'use strict';_0x333902[_0x477d('0xa')]=[_0x477d('0x1e'),_0x477d('0x14'),'msApiProvider',_0x477d('0x43')];angular[_0x477d('0xb')](_0x477d('0x3d'),['ngCsv',_0x477d('0x45'),_0x477d('0x81'),'flow','mdColorPicker','ckeditor',_0x477d('0x48'),'ngAria',_0x477d('0x82'),_0x477d('0x49'),_0x477d('0x4a'),_0x477d('0x4b'),_0x477d('0x4c'),_0x477d('0x4d'),_0x477d('0x83'),_0x477d('0x4e'),_0x477d('0x4f'),_0x477d('0xaf'),_0x477d('0x50'),'angular.filter'])[_0x477d('0xd')](_0x333902);function _0x333902(_0x17615d,_0x5c1e21,_0x57a93a,_0x2c3c16){_0x17615d[_0x477d('0xe')]('app.video',{'abstract':!![],'url':_0x477d('0x2e6')})[_0x477d('0xe')](_0x477d('0x2e7'),{'url':'/screenRecordings','views':{'content@app':{'templateUrl':_0x477d('0x2e8'),'controller':_0x477d('0x2e9')}},'resolve':{'screenRecordings':[_0x477d('0x5e'),_0x477d('0x55'),'msUtils',function(_0x44ee21,_0x264112,_0x329221){return _0x264112[_0x477d('0x56')](_0x477d('0x5f'))?_0x44ee21['resolve'](_0x477d('0x2ea'),{'fields':_0x477d('0x2eb'),'createdAt':_0x329221[_0x477d('0x2ec')](),'includeAll':'true','sort':_0x477d('0x59'),'limit':0xa,'offset':0x0}):_0x44ee21[_0x477d('0x5a')](_0x477d('0x5b'),{'id':_0x264112[_0x477d('0x5c')]()[_0x477d('0x61')],'section':_0x477d('0x2ed'),'fields':_0x477d('0x2eb'),'createdAt':_0x329221[_0x477d('0x2ec')](),'includeAll':_0x477d('0x2ee'),'sort':_0x477d('0x59'),'limit':0xa,'offset':0x0});}],'userProfile':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x2f5758,_0x227523){return _0x227523[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x2f5758[_0x477d('0x5a')](_0x477d('0x6b'),{'fields':'id,name,crudPermissions','id':_0x227523[_0x477d('0x5c')]()['userProfileId']});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x59adc8,_0x1cb8f1){return _0x1cb8f1['hasRole'](_0x477d('0x5f'))?null:_0x59adc8['resolve']('userProfileSection@get',{'fields':_0x477d('0x63'),'userProfileId':_0x1cb8f1['getCurrentUser']()['userProfileId'],'sectionId':0x7d1});}]},'authenticate':!![],'permissionId':0x7d1,'bodyClass':'video'});_0x5c1e21[_0x477d('0x19')](_0x477d('0x2ef'));}}());(function(){'use strict';_0x1fbba8[_0x477d('0xa')]=[_0x477d('0x1e')];angular[_0x477d('0xb')](_0x477d('0x2f0'),[])['config'](_0x1fbba8);function _0x1fbba8(_0x374ea7){_0x374ea7[_0x477d('0xe')]('app.voice.realtime',{'url':_0x477d('0xc5'),'views':{'content@app':{'templateUrl':'app/main/apps/voice/views/realtime/realtime.html','controller':'VoiceRealtimeController\x20as\x20vm'}},'resolve':{'userProfile':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x44ed29,_0x371834){return _0x371834[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x44ed29['resolve'](_0x477d('0x6b'),{'fields':_0x477d('0x60'),'id':_0x371834[_0x477d('0x5c')]()[_0x477d('0x61')]});}],'userProfileSection':[_0x477d('0x5e'),'Auth',function(_0xd015ed,_0x2a560b){return _0x2a560b[_0x477d('0x56')](_0x477d('0x5f'))?null:_0xd015ed['resolve'](_0x477d('0x62'),{'fields':'id,name,enabled,includeAll,autoAssociation,crudPermissions','userProfileId':_0x2a560b[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0x19b});}]},'authenticate':!![],'permissionId':0x19b})['state']('app.voice.realtime.agents',{'url':'/agents','controller':_0x477d('0x2f1'),'templateUrl':_0x477d('0x2f2'),'resolve':{'pauses':[_0x477d('0x5e'),function(_0x4ccf41){return _0x4ccf41['resolve'](_0x477d('0xab'),{'nolimit':!![]});}],'agents':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x3badfb,_0x889069){return _0x889069[_0x477d('0x56')](_0x477d('0x5f'))?_0x3badfb[_0x477d('0x5a')](_0x477d('0x99'),{'fields':_0x477d('0xcc'),'role':_0x477d('0xcf'),'sort':_0x477d('0xcd'),'nolimit':!![]}):_0x3badfb[_0x477d('0x5a')]('userProfile@getResources',{'id':_0x889069[_0x477d('0x5c')]()['userProfileId'],'section':_0x477d('0xce'),'fields':_0x477d('0xcc'),'role':'agent','sort':_0x477d('0xcd'),'nolimit':!![]});}],'userProfile':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x32a32c,_0x68c6c){return _0x68c6c[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x32a32c['resolve'](_0x477d('0x6b'),{'fields':_0x477d('0x60'),'id':_0x68c6c['getCurrentUser']()[_0x477d('0x61')]});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x4c1e55,_0x23c715){return _0x23c715[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x4c1e55[_0x477d('0x5a')](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x23c715[_0x477d('0x5c')]()['userProfileId'],'sectionId':0xca});}],'rpcAgents':[_0x477d('0x5e'),function(_0x11f344){return _0x11f344[_0x477d('0x5a')](_0x477d('0xd0'));}]},'authenticate':!![],'permissionId':0x19b})[_0x477d('0xe')](_0x477d('0x2f3'),{'url':'/telephones','controller':_0x477d('0x2f4'),'templateUrl':_0x477d('0x2f5'),'resolve':{'telephones':['apiResolver',_0x477d('0x55'),function(_0xce9e98,_0x1b29f7){return _0x1b29f7[_0x477d('0x56')](_0x477d('0x5f'))?_0xce9e98[_0x477d('0x5a')](_0x477d('0x99'),{'fields':_0x477d('0x2f6'),'role':_0x477d('0x295'),'sort':'-updatedAt','limit':0xa,'offset':0x0}):_0xce9e98['resolve']('userProfile@getResources',{'id':_0x1b29f7['getCurrentUser']()[_0x477d('0x61')],'section':_0x477d('0x296'),'fields':_0x477d('0x2f6'),'role':'telephone','sort':_0x477d('0x59'),'limit':0xa,'offset':0x0});}],'userProfile':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x4609c7,_0x1cb2fd){return _0x1cb2fd[_0x477d('0x56')]('admin')?null:_0x4609c7[_0x477d('0x5a')](_0x477d('0x6b'),{'fields':_0x477d('0x60'),'id':_0x1cb2fd[_0x477d('0x5c')]()[_0x477d('0x61')]});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x21bd4a,_0x5e3df9){return _0x5e3df9[_0x477d('0x56')]('admin')?null:_0x21bd4a[_0x477d('0x5a')](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x5e3df9[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0xcb});}],'rpcTelephones':['apiResolver',function(_0x56ecc9){return _0x56ecc9['resolve']('rpc@getTelephones');}]},'authenticate':!![],'permissionId':0x19b})['state'](_0x477d('0x2f7'),{'url':'/trunks','controller':_0x477d('0x2f8'),'templateUrl':_0x477d('0x2f9'),'resolve':{'trunks':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x23dad4,_0x10aabc){return _0x10aabc['hasRole'](_0x477d('0x5f'))?_0x23dad4['resolve'](_0x477d('0x9b'),{'fields':_0x477d('0x9c'),'active':!![],'sort':_0x477d('0x59'),'limit':0xa,'offset':0x0}):_0x23dad4[_0x477d('0x5a')](_0x477d('0x5b'),{'id':_0x10aabc[_0x477d('0x5c')]()[_0x477d('0x61')],'section':_0x477d('0x2fa'),'fields':_0x477d('0x9c'),'active':!![],'sort':_0x477d('0x59'),'limit':0xa,'offset':0x0});}],'userProfile':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x21668f,_0x2c801f){return _0x2c801f[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x21668f[_0x477d('0x5a')](_0x477d('0x6b'),{'fields':_0x477d('0x60'),'id':_0x2c801f[_0x477d('0x5c')]()[_0x477d('0x61')]});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0xd7d8a1,_0xc8c1d5){return _0xc8c1d5[_0x477d('0x56')]('admin')?null:_0xd7d8a1[_0x477d('0x5a')](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0xc8c1d5[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0x3f3});}],'rpcTrunks':[_0x477d('0x5e'),function(_0xd6a292){return _0xd6a292[_0x477d('0x5a')]('rpc@getTrunks');}]},'authenticate':!![],'permissionId':0x19b})[_0x477d('0xe')](_0x477d('0x2fb'),{'url':'/queues','controller':_0x477d('0x2fc'),'templateUrl':_0x477d('0x2fd'),'resolve':{'queues':[_0x477d('0x5e'),_0x477d('0x55'),function(_0xf08212,_0x1c9e8e){return _0x1c9e8e[_0x477d('0x56')](_0x477d('0x5f'))?_0xf08212[_0x477d('0x5a')](_0x477d('0x9d'),{'type':_0x477d('0x9e'),'sort':'-updatedAt','limit':0xa,'offset':0x0}):_0xf08212[_0x477d('0x5a')](_0x477d('0x5b'),{'id':_0x1c9e8e['getCurrentUser']()[_0x477d('0x61')],'section':'VoiceQueues','channel':_0x477d('0x108'),'type':_0x477d('0x9e'),'sort':_0x477d('0x59'),'limit':0xa,'page':0x1});}],'userProfile':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x38f1a5,_0x27290b){return _0x27290b[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x38f1a5[_0x477d('0x5a')](_0x477d('0x6b'),{'fields':_0x477d('0x60'),'id':_0x27290b['getCurrentUser']()[_0x477d('0x61')]});}],'userProfileSection':[_0x477d('0x5e'),'Auth',function(_0x137767,_0x55174d){return _0x55174d['hasRole'](_0x477d('0x5f'))?null:_0x137767['resolve']('userProfileSection@get',{'fields':_0x477d('0x63'),'userProfileId':_0x55174d[_0x477d('0x5c')]()['userProfileId'],'sectionId':0x191});}],'rpcQueues':[_0x477d('0x5e'),function(_0x2f206d){return _0x2f206d['resolve']('rpc@getVoiceQueues');}]},'authenticate':!![],'permissionId':0x19b})[_0x477d('0xe')](_0x477d('0x2fe'),{'url':_0x477d('0x218'),'controller':_0x477d('0x2ff'),'templateUrl':'app/main/apps/voice/views/realtime/queue_calls/view.html','resolve':{'agents':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x7ebd3d,_0x46da66){return _0x46da66[_0x477d('0x56')]('admin')?_0x7ebd3d[_0x477d('0x5a')](_0x477d('0x99'),{'fields':_0x477d('0x21b'),'role':_0x477d('0xcf'),'nolimit':!![]}):_0x7ebd3d['resolve'](_0x477d('0x5b'),{'id':_0x46da66[_0x477d('0x5c')]()[_0x477d('0x61')],'section':_0x477d('0xce'),'fields':_0x477d('0x21b'),'role':_0x477d('0xcf'),'nolimit':!![]});}],'queues':['apiResolver','Auth',function(_0x229929,_0x23f31b){return _0x23f31b[_0x477d('0x56')]('admin')?_0x229929['resolve'](_0x477d('0x9d'),{'type':'inbound','sort':_0x477d('0x59'),'nolimit':!![]}):_0x229929[_0x477d('0x5a')](_0x477d('0x5b'),{'id':_0x23f31b['getCurrentUser']()[_0x477d('0x61')],'section':_0x477d('0x9f'),'channel':_0x477d('0x108'),'type':_0x477d('0x9e'),'sort':_0x477d('0x59'),'nolimit':!![]});}],'userProfile':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x22dba9,_0x4f1c60){return _0x4f1c60['hasRole']('admin')?null:_0x22dba9[_0x477d('0x5a')](_0x477d('0x6b'),{'fields':_0x477d('0x60'),'id':_0x4f1c60[_0x477d('0x5c')]()[_0x477d('0x61')]});}],'userProfileSection':['apiResolver',_0x477d('0x55'),function(_0x2c95a7,_0x5e5bfc){return _0x5e5bfc['hasRole'](_0x477d('0x5f'))?null:_0x2c95a7[_0x477d('0x5a')](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x5e5bfc[_0x477d('0x5c')]()['userProfileId'],'sectionId':0x191});}],'rpcVoiceQueuesChannels':['apiResolver',function(_0x3bac25){return _0x3bac25[_0x477d('0x5a')](_0x477d('0x300'));}]},'authenticate':!![],'permissionId':0x19b})[_0x477d('0xe')](_0x477d('0x301'),{'url':'/abandonedcalls','controller':'AbandonedCallsVoiceRealtimeController\x20as\x20vm','templateUrl':_0x477d('0x302'),'resolve':{'agents':[_0x477d('0x5e'),'Auth',function(_0x57e3c9,_0x4efb61){return _0x4efb61[_0x477d('0x56')](_0x477d('0x5f'))?_0x57e3c9[_0x477d('0x5a')]('user@get',{'fields':_0x477d('0x21b'),'role':'agent','nolimit':!![]}):_0x57e3c9[_0x477d('0x5a')]('userProfile@getResources',{'id':_0x4efb61[_0x477d('0x5c')]()[_0x477d('0x61')],'section':_0x477d('0xce'),'fields':_0x477d('0x21b'),'role':'agent','nolimit':!![]});}],'queues':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x426d97,_0x5aefac){return _0x5aefac[_0x477d('0x56')]('admin')?_0x426d97[_0x477d('0x5a')]('voiceQueue@get',{'type':_0x477d('0x9e'),'sort':_0x477d('0x59'),'nolimit':!![]}):_0x426d97[_0x477d('0x5a')]('userProfile@getResources',{'id':_0x5aefac[_0x477d('0x5c')]()['userProfileId'],'section':_0x477d('0x9f'),'channel':'voice','type':_0x477d('0x9e'),'sort':_0x477d('0x59'),'nolimit':!![]});}],'dispositions':['apiResolver',_0x477d('0x55'),function(_0x29b747,_0x424b0b){return _0x424b0b[_0x477d('0x56')](_0x477d('0x5f'))?_0x29b747[_0x477d('0x5a')](_0x477d('0x21f'),{'fields':_0x477d('0x2b0'),'sort':_0x477d('0x59'),'MailAccountId':'null','FaxAccountId':_0x477d('0xea'),'SmsAccountId':'null','WhatsappAccountId':_0x477d('0xea'),'OpenchannelAccountId':'null','ChatWebsiteId':'null','ListId':'null','nolimit':!![]}):_0x29b747[_0x477d('0x5a')](_0x477d('0x5b'),{'id':_0x424b0b[_0x477d('0x5c')]()[_0x477d('0x61')],'section':_0x477d('0x220'),'fields':_0x477d('0x2b0'),'sort':_0x477d('0x59'),'MailAccountId':'null','FaxAccountId':_0x477d('0xea'),'SmsAccountId':'null','WhatsappAccountId':_0x477d('0xea'),'OpenchannelAccountId':_0x477d('0xea'),'ChatWebsiteId':_0x477d('0xea'),'ListId':_0x477d('0xea'),'nolimit':!![]});}],'userProfile':['apiResolver',_0x477d('0x55'),function(_0x57779e,_0x53714f){return _0x53714f[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x57779e[_0x477d('0x5a')](_0x477d('0x6b'),{'fields':_0x477d('0x60'),'id':_0x53714f[_0x477d('0x5c')]()[_0x477d('0x61')]});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x988688,_0x2e69a6){return _0x2e69a6['hasRole'](_0x477d('0x5f'))?null:_0x988688[_0x477d('0x5a')](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x2e69a6[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0x191});}]},'authenticate':!![],'permissionId':0x19b})[_0x477d('0xe')](_0x477d('0x303'),{'url':_0x477d('0x221'),'controller':_0x477d('0x304'),'templateUrl':_0x477d('0x305'),'resolve':{'queues':['apiResolver',_0x477d('0x55'),function(_0xda5dd5,_0x4023c5){return _0x4023c5[_0x477d('0x56')](_0x477d('0x5f'))?_0xda5dd5[_0x477d('0x5a')](_0x477d('0x9d'),{'type':_0x477d('0x9e'),'fields':'id,name','sort':_0x477d('0x59'),'limit':0xa,'offset':0x0}):_0xda5dd5[_0x477d('0x5a')]('userProfile@getResources',{'id':_0x4023c5[_0x477d('0x5c')]()[_0x477d('0x61')],'section':_0x477d('0x9f'),'channel':'voice','type':_0x477d('0x9e'),'sort':_0x477d('0x59'),'nolimit':!![]});}],'userProfile':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x1a713b,_0x297d35){return _0x297d35['hasRole']('admin')?null:_0x1a713b[_0x477d('0x5a')]('userProfile@get',{'fields':_0x477d('0x60'),'id':_0x297d35['getCurrentUser']()[_0x477d('0x61')]});}],'userProfileSection':['apiResolver',_0x477d('0x55'),function(_0x115bd7,_0x300b50){return _0x300b50[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x115bd7[_0x477d('0x5a')]('userProfileSection@get',{'fields':_0x477d('0x63'),'userProfileId':_0x300b50[_0x477d('0x5c')]()['userProfileId'],'sectionId':0x191});}],'rpcQueues':[_0x477d('0x5e'),function(_0x2c0d6e){return _0x2c0d6e[_0x477d('0x5a')](_0x477d('0x109'));}]},'authenticate':!![],'permissionId':0x19b})[_0x477d('0xe')](_0x477d('0x306'),{'url':_0x477d('0x307'),'controller':_0x477d('0x308'),'templateUrl':_0x477d('0x309'),'resolve':{'rpcCalls':[_0x477d('0x5e'),function(_0x17f9c9){return _0x17f9c9[_0x477d('0x5a')](_0x477d('0x30a'));}]},'authenticate':!![],'permissionId':0x19b});}}());(function(){'use strict';_0x43e8e7[_0x477d('0xa')]=[_0x477d('0x1e'),_0x477d('0x14'),_0x477d('0xad'),'msNavigationServiceProvider'];angular[_0x477d('0xb')](_0x477d('0x2f'),['ngCsv',_0x477d('0x45'),_0x477d('0x81'),_0x477d('0xae'),_0x477d('0x46'),_0x477d('0x47'),'ng-sortable','ngAria',_0x477d('0x82'),_0x477d('0x49'),_0x477d('0x4a'),_0x477d('0x4b'),_0x477d('0x4c'),_0x477d('0x4d'),'angular-cron-jobs',_0x477d('0x4e'),_0x477d('0x4f'),_0x477d('0xaf'),_0x477d('0x50'),_0x477d('0x84'),_0x477d('0x2f0')])[_0x477d('0xd')](_0x43e8e7);function _0x43e8e7(_0x118b7e,_0x1d87d7,_0x399ba0,_0x581d5e){_0x118b7e[_0x477d('0xe')](_0x477d('0x2f'),{'abstract':!![],'url':_0x477d('0x11f')})[_0x477d('0xe')]('app.voice.voiceQueues',{'url':_0x477d('0x30b'),'views':{'content@app':{'templateUrl':_0x477d('0x30c'),'controller':'VoiceQueuesController\x20as\x20vm'}},'resolve':{'voiceQueues':[_0x477d('0x5e'),'Auth',function(_0x544a5d,_0x25c244){return _0x25c244[_0x477d('0x56')](_0x477d('0x5f'))?_0x544a5d[_0x477d('0x5a')](_0x477d('0x9d'),{'fields':_0x477d('0x30d'),'type':'inbound','sort':'-updatedAt','channel':_0x477d('0x108'),'limit':0xa,'offset':0x0}):_0x544a5d[_0x477d('0x5a')](_0x477d('0x5b'),{'id':_0x25c244[_0x477d('0x5c')]()[_0x477d('0x61')],'section':_0x477d('0x9f'),'fields':_0x477d('0x30d'),'type':_0x477d('0x9e'),'sort':_0x477d('0x59'),'channel':_0x477d('0x108'),'limit':0xa,'offset':0x0});}],'userProfile':[_0x477d('0x5e'),'Auth',function(_0x227660,_0x183dfc){return _0x183dfc[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x227660[_0x477d('0x5a')](_0x477d('0x6b'),{'fields':_0x477d('0x60'),'id':_0x183dfc['getCurrentUser']()['userProfileId']});}],'userProfileSection':['apiResolver',_0x477d('0x55'),function(_0x9ce915,_0x55758e){return _0x55758e[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x9ce915[_0x477d('0x5a')](_0x477d('0x62'),{'fields':'id,name,enabled,includeAll,autoAssociation,crudPermissions','userProfileId':_0x55758e[_0x477d('0x5c')]()['userProfileId'],'sectionId':0x191});}]},'authenticate':!![],'permissionId':0x191,'bodyClass':_0x477d('0x108')})[_0x477d('0xe')](_0x477d('0x30e'),{'url':_0x477d('0xb8'),'params':{'voiceQueue':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':_0x477d('0x30f'),'controller':_0x477d('0x310')}},'resolve':{'voiceQueue':[_0x477d('0x5e'),_0x477d('0x72'),function(_0x45dadc,_0x38a11a){return _0x45dadc[_0x477d('0x5a')]('voiceQueue@get',{'fields':_0x477d('0x30d'),'id':_0x38a11a['id']});}],'userProfileSection':['apiResolver',_0x477d('0x55'),function(_0x792537,_0x37ae2c){return _0x792537[_0x477d('0x5a')](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x37ae2c['getCurrentUser']()[_0x477d('0x61')],'sectionId':0x191});}]},'authenticate':!![],'permissionId':0x191,'bodyClass':_0x477d('0x108')})[_0x477d('0xe')](_0x477d('0x311'),{'url':_0x477d('0x312'),'views':{'content@app':{'templateUrl':'app/main/apps/voice/views/inboundroutes/inboundroutes.html','controller':_0x477d('0x313')}},'resolve':{'inboundroutes':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x455497,_0x173f2d){return _0x173f2d['hasRole']('admin')?_0x455497['resolve'](_0x477d('0x314'),{'fields':_0x477d('0x315'),'type':_0x477d('0x9e'),'sort':'-updatedAt','VoiceExtensionId':_0x477d('0xea'),'limit':0xa,'offset':0x0}):_0x455497[_0x477d('0x5a')](_0x477d('0x5b'),{'id':_0x173f2d[_0x477d('0x5c')]()[_0x477d('0x61')],'section':_0x477d('0x316'),'fields':_0x477d('0x315'),'type':'inbound','sort':_0x477d('0x59'),'VoiceExtensionId':_0x477d('0xea'),'limit':0xa,'offset':0x0});}],'userProfile':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x2a2a0d,_0x3a35f1){return _0x3a35f1[_0x477d('0x56')]('admin')?null:_0x2a2a0d['resolve'](_0x477d('0x6b'),{'fields':_0x477d('0x60'),'id':_0x3a35f1[_0x477d('0x5c')]()[_0x477d('0x61')]});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x4f7241,_0x38afc4){return _0x38afc4[_0x477d('0x56')]('admin')?null:_0x4f7241[_0x477d('0x5a')](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x38afc4[_0x477d('0x5c')]()['userProfileId'],'sectionId':0x192});}]},'authenticate':!![],'permissionId':0x192,'bodyClass':_0x477d('0x108')})['state'](_0x477d('0x317'),{'url':_0x477d('0xb8'),'params':{'inboundroute':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':'app/main/apps/voice/views/inboundroutes/edit/view.html','controller':_0x477d('0x318')}},'resolve':{'inboundroute':[_0x477d('0x5e'),_0x477d('0x72'),function(_0x439894,_0x4c16d3){return _0x439894[_0x477d('0x5a')](_0x477d('0x314'),{'fields':_0x477d('0x315'),'id':_0x4c16d3['id']});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0xf60519,_0x45dc97){return _0xf60519[_0x477d('0x5a')]('userProfileSection@get',{'fields':_0x477d('0x63'),'userProfileId':_0x45dc97[_0x477d('0x5c')]()['userProfileId'],'sectionId':0x192});}]},'authenticate':!![],'permissionId':0x192,'bodyClass':_0x477d('0x108')})[_0x477d('0xe')](_0x477d('0x319'),{'url':_0x477d('0x31a'),'views':{'content@app':{'templateUrl':_0x477d('0x31b'),'controller':_0x477d('0x31c')}},'resolve':{'outboundroutes':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x5c50a8,_0xf0575b){return _0xf0575b[_0x477d('0x56')](_0x477d('0x5f'))?_0x5c50a8['resolve'](_0x477d('0x314'),{'fields':'createdAt,updatedAt,id,appdata,type,exten,context,recordingFormat,cutdigits,description','type':'outbound','sort':'-updatedAt','VoiceExtensionId':_0x477d('0xea'),'limit':0xa,'offset':0x0}):_0x5c50a8['resolve'](_0x477d('0x5b'),{'id':_0xf0575b[_0x477d('0x5c')]()[_0x477d('0x61')],'section':_0x477d('0x31d'),'fields':_0x477d('0x31e'),'type':_0x477d('0x127'),'sort':_0x477d('0x59'),'VoiceExtensionId':'null','limit':0xa,'offset':0x0});}],'userProfile':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x184dcf,_0x18c32d){return _0x18c32d[_0x477d('0x56')]('admin')?null:_0x184dcf[_0x477d('0x5a')]('userProfile@get',{'fields':_0x477d('0x60'),'id':_0x18c32d[_0x477d('0x5c')]()[_0x477d('0x61')]});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x4f69b,_0x43283d){return _0x43283d['hasRole'](_0x477d('0x5f'))?null:_0x4f69b['resolve'](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x43283d[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0x193});}]},'authenticate':!![],'permissionId':0x193,'bodyClass':_0x477d('0x108')})[_0x477d('0xe')](_0x477d('0x31f'),{'url':_0x477d('0xb8'),'params':{'outboundroute':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':_0x477d('0x320'),'controller':_0x477d('0x321')}},'resolve':{'outboundroute':[_0x477d('0x5e'),_0x477d('0x72'),function(_0x3cc5d4,_0x24b18c){return _0x3cc5d4['resolve'](_0x477d('0x314'),{'fields':_0x477d('0x31e'),'id':_0x24b18c['id']});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x2ffc16,_0x4f7a90){return _0x2ffc16['resolve'](_0x477d('0x62'),{'fields':'id,name,enabled,includeAll,autoAssociation,crudPermissions','userProfileId':_0x4f7a90[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0x193});}]},'authenticate':!![],'permissionId':0x193,'bodyClass':_0x477d('0x108')})[_0x477d('0xe')]('app.voice.internalroutes',{'url':_0x477d('0x322'),'views':{'content@app':{'templateUrl':_0x477d('0x323'),'controller':'InternalRoutesController\x20as\x20vm'}},'resolve':{'internalroutes':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x4ca03d,_0x1424b7){return _0x1424b7[_0x477d('0x56')](_0x477d('0x5f'))?_0x4ca03d[_0x477d('0x5a')]('voiceExtension@get',{'fields':_0x477d('0x315'),'type':_0x477d('0x324'),'sort':'-updatedAt','VoiceExtensionId':_0x477d('0xea'),'limit':0xa,'offset':0x0}):_0x4ca03d[_0x477d('0x5a')]('userProfile@getResources',{'id':_0x1424b7[_0x477d('0x5c')]()['userProfileId'],'section':_0x477d('0x325'),'fields':_0x477d('0x315'),'type':_0x477d('0x324'),'sort':_0x477d('0x59'),'VoiceExtensionId':_0x477d('0xea'),'limit':0xa,'offset':0x0});}],'userProfile':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x49d30a,_0x270b3e){return _0x270b3e['hasRole']('admin')?null:_0x49d30a[_0x477d('0x5a')](_0x477d('0x6b'),{'fields':_0x477d('0x60'),'id':_0x270b3e[_0x477d('0x5c')]()[_0x477d('0x61')]});}],'userProfileSection':['apiResolver','Auth',function(_0x4dc92a,_0xfdc0b9){return _0xfdc0b9[_0x477d('0x56')]('admin')?null:_0x4dc92a['resolve'](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0xfdc0b9[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0x194});}]},'authenticate':!![],'permissionId':0x194,'bodyClass':_0x477d('0x108')})[_0x477d('0xe')](_0x477d('0x326'),{'url':_0x477d('0xb8'),'params':{'internalroute':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':_0x477d('0x327'),'controller':_0x477d('0x328')}},'resolve':{'internalroute':[_0x477d('0x5e'),'$stateParams',function(_0x26a8af,_0x21069c){return _0x26a8af['resolve']('voiceExtension@get',{'fields':_0x477d('0x315'),'id':_0x21069c['id']});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x24b218,_0x26dc89){return _0x24b218[_0x477d('0x5a')]('userProfileSection@get',{'fields':'id,name,enabled,includeAll,autoAssociation,crudPermissions','userProfileId':_0x26dc89['getCurrentUser']()[_0x477d('0x61')],'sectionId':0x194});}]},'authenticate':!![],'permissionId':0x194,'bodyClass':_0x477d('0x108')})[_0x477d('0xe')](_0x477d('0x329'),{'url':'/contexts','views':{'content@app':{'templateUrl':_0x477d('0x32a'),'controller':'ContextsController\x20as\x20vm'}},'resolve':{'contexts':['apiResolver',_0x477d('0x55'),function(_0x4f4ae9,_0x31ed89){return _0x31ed89[_0x477d('0x56')](_0x477d('0x5f'))?_0x4f4ae9['resolve'](_0x477d('0xa3'),{'fields':_0x477d('0x1e5'),'sort':_0x477d('0x59'),'defaultEntry':_0x477d('0x32b'),'limit':0xa,'offset':0x0}):_0x4f4ae9[_0x477d('0x5a')](_0x477d('0x5b'),{'id':_0x31ed89[_0x477d('0x5c')]()[_0x477d('0x61')],'section':_0x477d('0x32c'),'fields':_0x477d('0x1e5'),'sort':_0x477d('0x59'),'defaultEntry':_0x477d('0x32b'),'limit':0xa,'offset':0x0});}],'userProfile':['apiResolver','Auth',function(_0x424e16,_0x39ce81){return _0x39ce81[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x424e16[_0x477d('0x5a')](_0x477d('0x6b'),{'fields':_0x477d('0x60'),'id':_0x39ce81[_0x477d('0x5c')]()[_0x477d('0x61')]});}],'userProfileSection':['apiResolver',_0x477d('0x55'),function(_0x51dcf6,_0x323c9f){return _0x323c9f['hasRole'](_0x477d('0x5f'))?null:_0x51dcf6[_0x477d('0x5a')]('userProfileSection@get',{'fields':_0x477d('0x63'),'userProfileId':_0x323c9f['getCurrentUser']()['userProfileId'],'sectionId':0x195});}]},'authenticate':!![],'permissionId':0x195,'bodyClass':'voice'})[_0x477d('0xe')](_0x477d('0x32d'),{'url':_0x477d('0x32e'),'views':{'content@app':{'templateUrl':'app/main/apps/voice/views/voicemails/voicemails.html','controller':_0x477d('0x32f')}},'resolve':{'voicemails':[_0x477d('0x5e'),'Auth',function(_0x1a98bb,_0x12a623){return _0x12a623[_0x477d('0x56')](_0x477d('0x5f'))?_0x1a98bb['resolve'](_0x477d('0x330'),{'fields':_0x477d('0x331'),'sort':_0x477d('0x59'),'limit':0xa,'offset':0x0}):_0x1a98bb[_0x477d('0x5a')]('userProfile@getResources',{'id':_0x12a623[_0x477d('0x5c')]()[_0x477d('0x61')],'section':_0x477d('0x332'),'fields':'createdAt,updatedAt,id,customer_id,fullname,email,password,mailbox,context,tz,attach,envelope,delete,emailbody,emailsubject,maxsecs,maxmsg','sort':_0x477d('0x59'),'limit':0xa,'offset':0x0});}],'userProfile':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x34b3b2,_0x22886b){return _0x22886b[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x34b3b2[_0x477d('0x5a')](_0x477d('0x6b'),{'fields':'id,name,crudPermissions','id':_0x22886b[_0x477d('0x5c')]()[_0x477d('0x61')]});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x4ef061,_0x4e7a9b){return _0x4e7a9b[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x4ef061[_0x477d('0x5a')](_0x477d('0x62'),{'fields':'id,name,enabled,includeAll,autoAssociation,crudPermissions','userProfileId':_0x4e7a9b['getCurrentUser']()['userProfileId'],'sectionId':0x196});}]},'authenticate':!![],'permissionId':0x196,'bodyClass':_0x477d('0x108')})[_0x477d('0xe')](_0x477d('0x333'),{'url':_0x477d('0xb8'),'params':{'voicemail':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':_0x477d('0x334'),'controller':_0x477d('0x335')}},'resolve':{'voicemail':[_0x477d('0x5e'),_0x477d('0x72'),function(_0x3ce30e,_0x6c15df){return _0x3ce30e[_0x477d('0x5a')]('voiceMail@get',{'fields':'createdAt,updatedAt,id,customer_id,fullname,email,password,mailbox,context,tz,attach,envelope,delete,emailbody,emailsubject,maxsecs,maxmsg','id':_0x6c15df['id']});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x31dd6d,_0x3c7149){return _0x31dd6d[_0x477d('0x5a')](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x3c7149[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0x196});}]},'authenticate':!![],'permissionId':0x196,'bodyClass':_0x477d('0x108')})[_0x477d('0xe')](_0x477d('0x336'),{'url':_0x477d('0x337'),'views':{'content@app':{'templateUrl':_0x477d('0x338'),'controller':_0x477d('0x339')}},'resolve':{'musiconholds':['apiResolver',_0x477d('0x55'),function(_0x41b37b,_0xd4d422){return _0xd4d422['hasRole']('admin')?_0x41b37b[_0x477d('0x5a')](_0x477d('0x33a'),{'fields':_0x477d('0x33b'),'defaultEntry':_0x477d('0x32b'),'limit':0xa,'offset':0x0}):_0x41b37b[_0x477d('0x5a')]('userProfile@getResources',{'id':_0xd4d422['getCurrentUser']()[_0x477d('0x61')],'section':_0x477d('0x33c'),'fields':_0x477d('0x33b'),'defaultEntry':'false','limit':0xa,'offset':0x0});}],'userProfile':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x554697,_0x20357c){return _0x20357c[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x554697[_0x477d('0x5a')](_0x477d('0x6b'),{'fields':_0x477d('0x60'),'id':_0x20357c[_0x477d('0x5c')]()[_0x477d('0x61')]});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x421417,_0x168ec7){return _0x168ec7[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x421417[_0x477d('0x5a')](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x168ec7[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0x197});}]},'authenticate':!![],'permissionId':0x197,'bodyClass':_0x477d('0x108')})['state'](_0x477d('0x33d'),{'url':'/:id?tab','params':{'musiconhold':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':_0x477d('0x33e'),'controller':_0x477d('0x33f')}},'resolve':{'musiconhold':['apiResolver',_0x477d('0x72'),function(_0x390ea9,_0x196e58){return _0x390ea9[_0x477d('0x5a')](_0x477d('0x33a'),{'fields':_0x477d('0x33b'),'id':_0x196e58['id']});}],'userProfileSection':['apiResolver',_0x477d('0x55'),function(_0x546678,_0x153a3e){return _0x546678['resolve']('userProfileSection@get',{'fields':_0x477d('0x63'),'userProfileId':_0x153a3e[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0x197});}]},'authenticate':!![],'permissionId':0x197,'bodyClass':'voice'})[_0x477d('0xe')]('app.voice.voiceRecordings',{'url':'/voiceRecordings','views':{'content@app':{'templateUrl':_0x477d('0x340'),'controller':_0x477d('0x341')}},'resolve':{'voiceRecordings':['apiResolver','Auth',_0x477d('0x342'),function(_0x598d07,_0x31a435,_0x57f5f2){return _0x31a435[_0x477d('0x56')](_0x477d('0x5f'))?_0x598d07[_0x477d('0x5a')]('voiceRecording@get',{'fields':_0x477d('0x343'),'sort':'-updatedAt','createdAt':_0x57f5f2[_0x477d('0x2ec')](),'limit':0xa,'offset':0x0}):_0x598d07['resolve']('userProfile@getResources',{'id':_0x31a435[_0x477d('0x5c')]()[_0x477d('0x61')],'section':_0x477d('0x344'),'fields':_0x477d('0x343'),'sort':_0x477d('0x59'),'createdAt':_0x57f5f2[_0x477d('0x2ec')](),'limit':0xa,'offset':0x0});}],'userProfile':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x52b4a0,_0x2f39b9){return _0x2f39b9[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x52b4a0[_0x477d('0x5a')]('userProfile@get',{'fields':_0x477d('0x60'),'id':_0x2f39b9[_0x477d('0x5c')]()[_0x477d('0x61')]});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x80a1c7,_0x1a1a66){return _0x1a1a66[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x80a1c7[_0x477d('0x5a')]('userProfileSection@get',{'fields':_0x477d('0x63'),'userProfileId':_0x1a1a66[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0x198});}]},'authenticate':!![],'permissionId':0x198,'bodyClass':_0x477d('0x108')})['state'](_0x477d('0x345'),{'url':_0x477d('0xb8'),'params':{'voiceRecording':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':_0x477d('0x346'),'controller':_0x477d('0x347')}},'resolve':{'voiceRecording':[_0x477d('0x5e'),_0x477d('0x72'),function(_0x2d75b6,_0x17beb9){return _0x2d75b6[_0x477d('0x5a')](_0x477d('0x348'),{'fields':_0x477d('0x343'),'id':_0x17beb9['id']});}],'userProfileSection':[_0x477d('0x5e'),'Auth',function(_0x2d5fc2,_0x3b8287){return _0x2d5fc2['resolve']('userProfileSection@get',{'fields':_0x477d('0x63'),'userProfileId':_0x3b8287[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0x198});}]},'authenticate':!![],'permissionId':0x198,'bodyClass':_0x477d('0x108')})[_0x477d('0xe')]('app.voice.chanSpies',{'url':_0x477d('0x349'),'views':{'content@app':{'templateUrl':'app/main/apps/voice/views/chanSpies/chanSpies.html','controller':_0x477d('0x34a')}},'resolve':{'chanSpies':[_0x477d('0x5e'),'Auth',function(_0x3a565e,_0x15fbf7){return _0x15fbf7[_0x477d('0x56')](_0x477d('0x5f'))?_0x3a565e[_0x477d('0x5a')](_0x477d('0x34b'),{'fields':_0x477d('0x34c'),'sort':_0x477d('0x59'),'limit':0xa,'offset':0x0}):_0x3a565e[_0x477d('0x5a')](_0x477d('0x5b'),{'id':_0x15fbf7[_0x477d('0x5c')]()['userProfileId'],'section':'ChanSpies','fields':_0x477d('0x34c'),'sort':_0x477d('0x59'),'limit':0xa,'offset':0x0});}],'userProfile':['apiResolver',_0x477d('0x55'),function(_0x2c3240,_0x3f738d){return _0x3f738d[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x2c3240[_0x477d('0x5a')]('userProfile@get',{'fields':_0x477d('0x60'),'id':_0x3f738d[_0x477d('0x5c')]()[_0x477d('0x61')]});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x3002e3,_0x35efbb){return _0x35efbb[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x3002e3['resolve']('userProfileSection@get',{'fields':_0x477d('0x63'),'userProfileId':_0x35efbb['getCurrentUser']()[_0x477d('0x61')],'sectionId':0x199});}]},'authenticate':!![],'permissionId':0x199,'bodyClass':'voice'})[_0x477d('0xe')]('app.voice.voicePrefixes',{'url':_0x477d('0x34d'),'views':{'content@app':{'templateUrl':_0x477d('0x34e'),'controller':_0x477d('0x34f')}},'resolve':{'voicePrefixes':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x45e29c,_0x303ca7){return _0x303ca7[_0x477d('0x56')](_0x477d('0x5f'))?_0x45e29c['resolve'](_0x477d('0x350'),{'fields':_0x477d('0x351'),'limit':0xa,'offset':0x0}):_0x45e29c[_0x477d('0x5a')]('userProfile@getResources',{'id':_0x303ca7['getCurrentUser']()[_0x477d('0x61')],'section':'VoicePrefixes','fields':_0x477d('0x351'),'limit':0xa,'offset':0x0});}],'userProfile':[_0x477d('0x5e'),'Auth',function(_0x5d17d7,_0x518793){return _0x518793[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x5d17d7[_0x477d('0x5a')](_0x477d('0x6b'),{'fields':_0x477d('0x60'),'id':_0x518793[_0x477d('0x5c')]()[_0x477d('0x61')]});}],'userProfileSection':[_0x477d('0x5e'),'Auth',function(_0x73010a,_0x59b7fd){return _0x59b7fd[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x73010a[_0x477d('0x5a')](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x59b7fd[_0x477d('0x5c')]()['userProfileId'],'sectionId':0x19a});}]},'authenticate':!![],'permissionId':0x19a,'bodyClass':_0x477d('0x108')});_0x1d87d7[_0x477d('0x19')](_0x477d('0x352'));}}());(function(){'use strict';_0xe97790[_0x477d('0xa')]=[_0x477d('0x1e')];angular['module'](_0x477d('0x353'),[])['config'](_0xe97790);function _0xe97790(_0x4b9f59){_0x4b9f59[_0x477d('0xe')](_0x477d('0x353'),{'url':_0x477d('0xc5'),'views':{'content@app':{'templateUrl':_0x477d('0x354'),'controller':'WhatsappRealtimeController\x20as\x20vm'}},'resolve':{'userProfile':['apiResolver','Auth',function(_0x51dbe6,_0x51988b){return _0x51988b[_0x477d('0x56')]('admin')?null:_0x51dbe6['resolve'](_0x477d('0x6b'),{'fields':_0x477d('0x60'),'id':_0x51988b[_0x477d('0x5c')]()[_0x477d('0x61')]});}],'userProfileSection':['apiResolver','Auth',function(_0x37988d,_0x560861){return _0x560861['hasRole'](_0x477d('0x5f'))?null:_0x37988d['resolve']('userProfileSection@get',{'fields':_0x477d('0x63'),'userProfileId':_0x560861[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0x83e});}]},'authenticate':!![],'permissionId':0x83e})['state'](_0x477d('0x355'),{'url':_0x477d('0xc9'),'controller':_0x477d('0x356'),'templateUrl':_0x477d('0x357'),'resolve':{'pauses':['apiResolver',function(_0x2ba126){return _0x2ba126[_0x477d('0x5a')]('pause@get',{'nolimit':!![]});}],'agents':[_0x477d('0x5e'),'Auth',function(_0x2df645,_0x131512){return _0x131512[_0x477d('0x56')](_0x477d('0x5f'))?_0x2df645[_0x477d('0x5a')]('user@get',{'fields':_0x477d('0xcc'),'role':_0x477d('0xcf'),'sort':'fullname','nolimit':!![]}):_0x2df645[_0x477d('0x5a')](_0x477d('0x5b'),{'id':_0x131512['getCurrentUser']()[_0x477d('0x61')],'section':_0x477d('0xce'),'fields':'id,name,fullname,role,userpic,internal,online,voicePause,openchannelPause,faxPause,chatPause,smsPause,whatsappPause,mailPause,pauseType,lastPauseAt,lastLoginAt,lastPauseAt,chatCapacity,mailCapacity,openchannelCapacity,faxCapacity,smsCapacity,whatsappCapacity,screenrecording,phoneBarEnableScreenRecordingByAgent,phoneBarEnableAutomaticScreenRecording','role':'agent','sort':_0x477d('0xcd'),'nolimit':!![]});}],'userProfile':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x5b4b6f,_0x11e038){return _0x11e038[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x5b4b6f[_0x477d('0x5a')]('userProfile@get',{'fields':_0x477d('0x60'),'id':_0x11e038[_0x477d('0x5c')]()['userProfileId']});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x2992b9,_0x298b5f){return _0x298b5f[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x2992b9[_0x477d('0x5a')](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x298b5f[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0xca});}],'rpcAgents':['apiResolver',function(_0x57dad9){return _0x57dad9['resolve'](_0x477d('0xd0'));}]},'authenticate':!![],'permissionId':0x83e})[_0x477d('0xe')](_0x477d('0x358'),{'url':_0x477d('0xd2'),'controller':_0x477d('0x359'),'templateUrl':_0x477d('0x35a'),'resolve':{'queues':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x30efc9,_0x12bbae){return _0x12bbae['hasRole']('admin')?_0x30efc9[_0x477d('0x5a')](_0x477d('0x35b'),{'type':_0x477d('0x9e'),'sort':_0x477d('0x59'),'limit':0xa,'offset':0x0}):_0x30efc9[_0x477d('0x5a')](_0x477d('0x5b'),{'id':_0x12bbae['getCurrentUser']()[_0x477d('0x61')],'section':_0x477d('0x35c'),'channel':_0x477d('0x35d'),'type':_0x477d('0x9e'),'sort':_0x477d('0x59'),'limit':0xa,'page':0x1});}],'userProfile':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x51a62a,_0x17dc91){return _0x17dc91['hasRole'](_0x477d('0x5f'))?null:_0x51a62a[_0x477d('0x5a')]('userProfile@get',{'fields':_0x477d('0x60'),'id':_0x17dc91['getCurrentUser']()[_0x477d('0x61')]});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x59c60a,_0x439a34){return _0x439a34[_0x477d('0x56')]('admin')?null:_0x59c60a[_0x477d('0x5a')](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x439a34[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0x835});}],'rpcQueues':[_0x477d('0x5e'),function(_0xe021e5){return _0xe021e5[_0x477d('0x5a')](_0x477d('0x35e'));}]},'authenticate':!![],'permissionId':0x83e});}}());(function(){'use strict';_0x3d00d8[_0x477d('0xa')]=['$stateProvider',_0x477d('0x14'),_0x477d('0xad'),_0x477d('0x43')];angular['module'](_0x477d('0x3e'),[_0x477d('0x44'),'ngPassword',_0x477d('0x81'),_0x477d('0xae'),_0x477d('0x46'),_0x477d('0x47'),_0x477d('0x48'),'ngAria',_0x477d('0x82'),'mdPickers',_0x477d('0x4a'),'mwFormViewer',_0x477d('0x4c'),_0x477d('0x4d'),_0x477d('0x83'),_0x477d('0x4e'),_0x477d('0x4f'),_0x477d('0xaf'),'chart.js',_0x477d('0x84'),'app.whatsapp.realtime'])['config'](_0x3d00d8);function _0x3d00d8(_0xbdab6d,_0x2ea605,_0x3435a6,_0x180755){_0xbdab6d['state'](_0x477d('0x3e'),{'abstract':!![],'url':'/whatsapp'})['state'](_0x477d('0x35f'),{'url':_0x477d('0x360'),'views':{'content@app':{'templateUrl':_0x477d('0x361'),'controller':_0x477d('0x362')}},'resolve':{'whatsappQueues':[_0x477d('0x5e'),'Auth',function(_0x2af473,_0x4d8304){return _0x4d8304['hasRole'](_0x477d('0x5f'))?_0x2af473[_0x477d('0x5a')]('whatsappQueue@get',{'fields':_0x477d('0xb5'),'sort':_0x477d('0x59'),'channel':_0x477d('0x35d'),'limit':0xa,'offset':0x0}):_0x2af473[_0x477d('0x5a')](_0x477d('0x5b'),{'id':_0x4d8304[_0x477d('0x5c')]()[_0x477d('0x61')],'section':_0x477d('0x35c'),'fields':'createdAt,updatedAt,id,name,strategy,timeout,description','sort':'-updatedAt','channel':'whatsapp','limit':0xa,'offset':0x0});}],'userProfile':['apiResolver',_0x477d('0x55'),function(_0x160c83,_0x17a18a){return _0x17a18a['hasRole'](_0x477d('0x5f'))?null:_0x160c83[_0x477d('0x5a')](_0x477d('0x6b'),{'fields':'id,name,crudPermissions','id':_0x17a18a[_0x477d('0x5c')]()['userProfileId']});}],'userProfileSection':['apiResolver',_0x477d('0x55'),function(_0x273a5c,_0x11888e){return _0x11888e[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x273a5c[_0x477d('0x5a')](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x11888e[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0x835});}]},'authenticate':!![],'permissionId':0x835,'bodyClass':_0x477d('0x35d')})[_0x477d('0xe')](_0x477d('0x363'),{'url':'/:id?tab','params':{'whatsappQueue':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':_0x477d('0x364'),'controller':_0x477d('0x365')}},'resolve':{'whatsappQueue':[_0x477d('0x5e'),'$stateParams',function(_0x511adc,_0x4d61a8){return _0x511adc['resolve'](_0x477d('0x35b'),{'fields':_0x477d('0xb5'),'id':_0x4d61a8['id']});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0xa1183d,_0x5ba107){return _0xa1183d[_0x477d('0x5a')](_0x477d('0x62'),{'fields':_0x477d('0x63'),'userProfileId':_0x5ba107[_0x477d('0x5c')]()['userProfileId'],'sectionId':0x835});}]},'authenticate':!![],'permissionId':0x835,'bodyClass':_0x477d('0x35d')})['state'](_0x477d('0x366'),{'url':_0x477d('0x367'),'views':{'content@app':{'templateUrl':_0x477d('0x368'),'controller':'WhatsappAccountsController\x20as\x20vm'}},'resolve':{'whatsappAccounts':['apiResolver',_0x477d('0x55'),function(_0x349e7b,_0x19e60c){return _0x19e60c[_0x477d('0x56')](_0x477d('0x5f'))?_0x349e7b[_0x477d('0x5a')](_0x477d('0x14d'),{'fields':_0x477d('0x369'),'sort':_0x477d('0x59'),'limit':0xa,'offset':0x0}):_0x349e7b['resolve']('userProfile@getResources',{'id':_0x19e60c[_0x477d('0x5c')]()['userProfileId'],'section':_0x477d('0x14f'),'fields':_0x477d('0x369'),'sort':'-updatedAt','limit':0xa,'offset':0x0});}],'userProfile':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x16cf01,_0x343a57){return _0x343a57[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x16cf01['resolve'](_0x477d('0x6b'),{'fields':'id,name,crudPermissions','id':_0x343a57[_0x477d('0x5c')]()[_0x477d('0x61')]});}],'userProfileSection':[_0x477d('0x5e'),'Auth',function(_0x5b85f4,_0x21c9a7){return _0x21c9a7[_0x477d('0x56')](_0x477d('0x5f'))?null:_0x5b85f4['resolve']('userProfileSection@get',{'fields':_0x477d('0x63'),'userProfileId':_0x21c9a7[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0x836});}]},'authenticate':!![],'permissionId':0x836,'bodyClass':_0x477d('0x35d')})[_0x477d('0xe')]('app.whatsapp.whatsappAccounts.edit',{'url':_0x477d('0xb8'),'params':{'whatsappAccount':undefined,'crudPermissions':undefined},'views':{'content@app':{'templateUrl':'app/main/apps/whatsapp/views/whatsappAccounts/edit/view.html','controller':_0x477d('0x36a')}},'resolve':{'whatsappAccount':['apiResolver',_0x477d('0x72'),function(_0x278cd3,_0x4260b9){return _0x278cd3[_0x477d('0x5a')](_0x477d('0x14d'),{'fields':_0x477d('0x369'),'id':_0x4260b9['id']});}],'userProfileSection':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x4a8e95,_0x47c03e){return _0x4a8e95[_0x477d('0x5a')]('userProfileSection@get',{'fields':_0x477d('0x63'),'userProfileId':_0x47c03e[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0x836});}]},'authenticate':!![],'permissionId':0x836,'bodyClass':'whatsapp'});_0x2ea605[_0x477d('0x19')](_0x477d('0x36b'));}}());(function(){'use strict';angular[_0x477d('0xb')](_0x477d('0x28'),[])[_0x477d('0xd')](_0x3cd1de);function _0x3cd1de(){}}());(function(){'use strict';_0x413480[_0x477d('0xa')]=[_0x477d('0x14'),_0x477d('0xad')];angular[_0x477d('0xb')](_0x477d('0x2a'),[])[_0x477d('0xd')](_0x413480);function _0x413480(_0x42c3b2,_0x39af76){_0x42c3b2[_0x477d('0x19')](_0x477d('0x36c'));}}());(function(){'use strict';_0x32e2e8['$inject']=['$stateProvider',_0x477d('0x14')];angular[_0x477d('0xb')](_0x477d('0x3f'),[])[_0x477d('0xd')](_0x32e2e8);function _0x32e2e8(_0x5a5bed,_0xc45307){_0x5a5bed['state'](_0x477d('0x3f'),{'url':_0x477d('0x36d'),'views':{'main@':{'templateUrl':_0x477d('0x10'),'controller':'MainController\x20as\x20vm'},'content@app.reset':{'templateUrl':_0x477d('0x36e'),'controller':'ResetPasswordController\x20as\x20vm'}},'bodyClass':'reset'});_0xc45307[_0x477d('0x19')]('app/reset');}}());(function(){'use strict';_0x42c2fb[_0x477d('0xa')]=[_0x477d('0x14')];angular[_0x477d('0xb')](_0x477d('0x29'),[])[_0x477d('0xd')](_0x42c2fb);function _0x42c2fb(_0x45d81a){_0x45d81a[_0x477d('0x19')](_0x477d('0x36f'));}}());(function(){'use strict';_0xc0f90[_0x477d('0xa')]=[_0x477d('0x370')];angular[_0x477d('0xb')](_0x477d('0x0'))[_0x477d('0xd')](_0xc0f90);function _0xc0f90(_0x54e674){_0x54e674['interceptors']['push'](_0x477d('0x371'));}}());(function(){'use strict';_0x131694['$inject']=[_0x477d('0x372')];angular[_0x477d('0xb')](_0x477d('0x0'))[_0x477d('0x373')](_0x131694);function _0x131694(_0x2a4a9b){var _0x35d84d={'to':function(_0x5d4158){return _0x5d4158['authenticate']===!![];}};var _0x5cc7fb={'to':function(_0x24f50b){return _0x24f50b[_0x477d('0x94')]!==_0x477d('0x40');}};var _0x19392c={'to':function(_0x1bc811){return _0x1bc811['permissionId'];}};var _0x44d021={'to':function(_0x3f7339){return _0x3f7339[_0x477d('0x374')]['name']===_0x477d('0x103');}};var _0x55c56c=function(_0x45c004){var _0x4b636d=_0x45c004[_0x477d('0x375')]()[_0x477d('0x376')]('Auth');var _0x33082a=_0x45c004['router'][_0x477d('0x377')];if(!_0x4b636d['isLoggedIn']()){return _0x33082a[_0x477d('0x378')](_0x477d('0x40'),undefined,{'reload':!![]});}else{return _0x4b636d[_0x477d('0x379')]()[_0x477d('0xf8')](function(){return _0x33082a[_0x477d('0x378')](_0x477d('0x40'),undefined,{'reload':!![]});});}};var _0x3f5040=function(_0x18f1c9){var _0x1601de=_0x18f1c9[_0x477d('0x375')]()[_0x477d('0x376')](_0x477d('0x55'));var _0x35d03c=_0x18f1c9[_0x477d('0x37a')][_0x477d('0x377')];var _0x2bb523=_0x18f1c9[_0x477d('0x37b')]();if(_0x1601de['hasRole'](_0x477d('0xcf'))&&_0x2bb523['name']!='app.dashboards.general'){return _0x35d03c[_0x477d('0x378')]('app.dashboards.general',{'redirect':![]},{'reload':!![]});}};var _0x44aba8=function(_0x39767a){var _0x303eb8=_0x39767a[_0x477d('0x375')]()[_0x477d('0x376')](_0x477d('0x55'));var _0x292909=_0x39767a[_0x477d('0x37a')][_0x477d('0x377')];var _0x47f5fe=_0x39767a[_0x477d('0x37b')]();if(_0x303eb8[_0x477d('0x56')]('user')){if(!_0x303eb8[_0x477d('0x37c')](_0x47f5fe[_0x477d('0x37d')])){return _0x292909[_0x477d('0x378')](_0x477d('0x103'),{'redirect':![]},{'reload':!![]});}else{var _0xf6ff3=_0x39767a[_0x477d('0x37e')]()['id']?Number(_0x39767a[_0x477d('0x37e')]()['id']):undefined;if(_0xf6ff3){return _0x303eb8[_0x477d('0x37f')](_0x47f5fe[_0x477d('0x37d')],_0xf6ff3)[_0x477d('0xf8')](function(){return _0x292909['target'](_0x47f5fe[_0x477d('0x374')][_0x477d('0x94')],{'redirect':![]},{'reload':!![]});});}}}};var _0x1e7dfa=function(_0x636a25){var _0x2734a3=_0x636a25['injector']()['get'](_0x477d('0x55'));var _0x1435bd=_0x636a25[_0x477d('0x37a')][_0x477d('0x377')];var _0x1e1ee2=_0x636a25[_0x477d('0x37b')]();if(_0x2734a3[_0x477d('0x56')](_0x477d('0x380'))&&!_0x2734a3[_0x477d('0x37c')](0x64)){return _0x1435bd['target'](_0x477d('0x103'),{'redirect':![]},{'reload':!![]});}};_0x2a4a9b[_0x477d('0x381')](_0x35d84d,_0x55c56c);_0x2a4a9b[_0x477d('0x382')](_0x5cc7fb,_0x3f5040);_0x2a4a9b['onFinish'](_0x19392c,_0x44aba8);_0x2a4a9b[_0x477d('0x383')](_0x44d021,_0x1e7dfa);}}());(function(){'use strict';_0x18e87d['$inject']=[_0x477d('0x384'),_0x477d('0x385'),'$q',_0x477d('0x386'),_0x477d('0x387'),'$document'];angular[_0x477d('0xb')](_0x477d('0x0'))[_0x477d('0x388')](_0x477d('0x55'),_0x18e87d);function _0x18e87d(_0x535009,_0x8a5549,_0x134242,_0x4699d1,_0x29e656,_0x2fec1d){var _0x42975e;var _0x552c43={'getToken':_0x5c8fd8,'getCurrentUser':_0x3e3b92,'getPermissions':_0x522704,'hasChildrenPermissions':_0x281e49,'hasModulePermissions':_0xbcfebc,'hasModulesPermissions':_0xa5b5c,'hasRole':_0x4f887b,'hasPermission':_0x2d90d2,'hasResourcePermission':_0x42b1de,'hasSectionPermissions':_0x6cccf6,'hasSectionsPermissions':_0x54cff6,'isAgent':_0x1ee6c3,'isAdmin':_0x3719df,'isLoggedIn':_0xbd88de,'isTelephone':_0xa5791c,'isUser':_0x4e8e3c,'login':_0x44d662,'logout':_0x2eacdc,'parseCrudPermissions':_0x1950f6,'queueLogin':_0x579689,'reloadPermissions':_0x425dbd,'removeCookies':_0xdb95cd,'retrieveUser':_0x4f19ee,'setCurrentUser':_0x90e53a,'getAuthenticationType':_0x56a50f,'loginSSO':_0x63f720};return _0x552c43;function _0x5c8fd8(){return _0x8a5549[_0x477d('0x376')](_0x477d('0x389'));}function _0x3e3b92(){return _0x42975e;}function _0x90e53a(_0x43b944){_0x42975e=_[_0x477d('0xef')](_0x42975e,_0x43b944);}function _0x579689(_0x44edf8){return _0x134242(function(_0x1cde13,_0x1974e9){_0x4699d1[_0x477d('0x380')][_0x477d('0x38a')]({'id':_0x42975e['id'],'device':'web','intrf':_0x44edf8})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x259e1f){_0x1cde13(_0x259e1f);})['catch'](function(_0x509b39){_0x1974e9(_0x509b39);});});}function _0x3c6eb1(){return _0x134242(function(_0x7ba545,_0x3e9e08){_0x4699d1['user'][_0x477d('0x38c')]({'id':_0x42975e['id'],'device':'web'})[_0x477d('0x38b')]['then'](function(){_0x7ba545();})[_0x477d('0xf8')](function(_0xe3ad2d){_0x3e9e08(_0xe3ad2d);});});}function _0x310a6b(_0x1ec53b){return _0x134242(function(_0x5b11c8,_0x7d1e40){var _0x364b68={'online':_0x1ec53b,'lastLoginAt':_0x1ec53b?moment()[_0x477d('0x12f')](_0x477d('0x38d')):undefined};_0x4699d1[_0x477d('0x380')]['update']({'id':_0x42975e['id']},_0x364b68)['$promise']['then'](function(_0x5ea3ee){_0x5b11c8(_0x5ea3ee);})[_0x477d('0xf8')](function(_0x51e5b6){_0x7d1e40(_0x51e5b6);});});}function _0x44d662(_0x92fe1){return _0x134242(function(_0x87f24c,_0x58faa9){_0x4699d1[_0x477d('0x38e')][_0x477d('0x38f')](_0x92fe1)[_0x477d('0x38b')]['then'](function(_0xebca7b){_0x8a5549[_0x477d('0x390')](_0x477d('0x389'),_0xebca7b[_0x477d('0x391')]);return _0x4699d1[_0x477d('0x380')][_0x477d('0x376')]({'id':_0xebca7b['id']})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x2f5f75){_0x42975e=_0x2f5f75;_0x42975e[_0x477d('0x392')]=moment()[_0x477d('0x12f')](_0x477d('0x38d'));_0x3c61b9(_0x477d('0x393'));})['then'](function(){if(_0x1ee6c3()&&_0x42975e[_0x477d('0x394')]===0x1&&_0x42975e['hotdesk']){return _0x535009[_0x477d('0x395')]({'controller':_0x477d('0x396'),'controllerAs':'vm','templateUrl':_0x477d('0x397'),'parent':angular[_0x477d('0x398')](_0x2fec1d[_0x477d('0x399')]),'clickOutsideToClose':![],'resolve':{'telephones':['apiResolver',function(_0xca4e28){return _0xca4e28[_0x477d('0x5a')](_0x477d('0x99'),{'fields':_0x477d('0x39a'),'role':_0x477d('0x295'),'nolimit':!![]});}]}});}})[_0x477d('0x76')](function(_0x3dc18d){if(_0x1ee6c3()&&_0x42975e[_0x477d('0x394')]!==0x0){return _0x579689(_0x3dc18d);}else if(_0x3719df()||_0x4e8e3c()){return _0x310a6b(!![]);}else{return;}})['then'](function(_0x59a3e9){_0x42975e=_[_0x477d('0x39b')](_0x42975e,_0x59a3e9);_0x87f24c();})[_0x477d('0xf8')](function(_0x53137d){_0x58faa9(_0x53137d);});});}function _0xdb95cd(){_0x8a5549[_0x477d('0x39c')]('motion.token');if(_0x42975e){_0x29e656[_0x477d('0x39d')][_0x477d('0x39e')](_0x477d('0x39f')+_0x42975e['id']);_0x29e656['localStorage']['removeItem'](_0x477d('0x3a0'));_0x42975e=null;}}function _0x2eacdc(_0x1d50bf){return _0x134242(function(_0xe6ec8d,_0x1de0d4){if(_0x1d50bf){_0xdb95cd();_0xe6ec8d();}else{_0x134242['resolve']()[_0x477d('0x76')](function(){if(_0x1ee6c3()&&_0x42975e[_0x477d('0x394')]!==0x0){return _0x3c6eb1();}else if(_0x3719df()||_0x4e8e3c()){return _0x310a6b(![]);}else{return;}})['then'](function(){_0xdb95cd();_0xe6ec8d();})[_0x477d('0xf8')](function(_0x5bb086){_0x1de0d4(_0x5bb086);});}});}function _0xbd88de(){return _0x5c8fd8()?!![]:![];}function _0x1ee6c3(){return _0x42975e['role']==='agent';}function _0x3719df(){return _0x42975e[_0x477d('0x3a1')]===_0x477d('0x5f');}function _0x4e8e3c(){return _0x42975e['role']==='user';}function _0xa5791c(){return _0x42975e[_0x477d('0x3a1')]===_0x477d('0x295');}function _0x4f19ee(){return _0x134242(function(_0x231b9b,_0x26a401){_0x4699d1[_0x477d('0x380')][_0x477d('0x3a2')]()[_0x477d('0x38b')][_0x477d('0x76')](function(_0x1580dc){if(_0x1580dc['role']===_0x477d('0x380')){return _0x522704(_0x1580dc[_0x477d('0x61')])['then'](function(_0x3a6be2){_0x1580dc[_0x477d('0x3a3')]=_0x3a6be2;return _0x1580dc;});}else{return _0x1580dc;}})[_0x477d('0x76')](function(_0x3e062f){_0x42975e=_0x3e062f;_0x231b9b(_0x42975e);})[_0x477d('0xf8')](function(_0xef5999){_0x26a401(_0xef5999);});});}function _0x4f887b(_0x7db485){return _0x42975e?_0x42975e['role']===_0x7db485:![];}function _0x2d90d2(_0x31bdaa){return _0x42975e?_[_0x477d('0x3a4')](_0x42975e['permissions'],_0x31bdaa):![];}function _0x522704(_0x32d7b3){var _0x4cc680=[];return _0x134242(function(_0x13f1bd,_0x59c1ec){if(!_0x32d7b3){_0x13f1bd(_0x4cc680);}return _0x4699d1[_0x477d('0x3a5')][_0x477d('0x3a6')]({'id':_0x32d7b3})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x5a1486){for(var _0x57ac77=0x0;_0x57ac77<_0x5a1486[_0x477d('0x79')];_0x57ac77++){var _0xbb355e=_0x5a1486[_0x57ac77];_0x4cc680[_0x477d('0x3a7')](_0xbb355e[_0x477d('0x3a8')]);if(_0xbb355e['subsections']){_0x4cc680=_[_0x477d('0x3a9')](_0x4cc680,_0xbb355e[_0x477d('0x3aa')]);}}return _0x4cc680;})[_0x477d('0x76')](function(_0x436f71){_0x13f1bd(_0x436f71);})[_0x477d('0xf8')](function(_0x4e78e3){_0x59c1ec('Error\x20retrieving\x20user\x20profile\x20permissions',_0x4e78e3);});});}function _0x281e49(_0x3436ed){if(!_0x3436ed)return![];return _[_0x477d('0x3ab')](_0x3436ed,function(_0xe203a1){return _0x2d90d2(_0xe203a1);});}function _0x425dbd(){return _0x134242(function(_0x5e041c,_0x4abb63){_0x522704(_0x42975e['userProfileId'])['then'](function(_0x303e84){_0x42975e[_0x477d('0x3a3')]=_0x303e84;_0x5e041c();})[_0x477d('0xf8')](function(_0x431f04){_0x4abb63(_0x431f04);});});}function _0x1950f6(_0x43cb94){if(_0x3719df()){return{'readOnly':![],'canEdit':!![],'canDelete':!![]};}else{if(!_0x43cb94){return{'readOnly':!![],'canEdit':![],'canDelete':![]};}else{return{'readOnly':_[_0x477d('0x3a4')](_0x43cb94,'r')&&_0x43cb94[_0x477d('0x79')]===0x1?!![]:![],'canEdit':_[_0x477d('0x3a4')](_0x43cb94,'e')?!![]:![],'canDelete':_[_0x477d('0x3a4')](_0x43cb94,'d')?!![]:![]};}}}function _0x42b1de(_0x2c1d00,_0x2ebc35){return _0x134242(function(_0x201ecd,_0x566aa8){return _0x4699d1[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x42975e['userProfileId'],'sectionId':_0x2c1d00})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x5b6e40){var _0x26e59d=_0x5b6e40['rows'][0x0];if(_0x26e59d[_0x477d('0x3ad')]){_0x201ecd();}else{return _0x4699d1[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x26e59d['id'],'nolimit':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x236fd4){var _0x25a12d=_0x236fd4[_0x477d('0xf2')];_['some'](_0x25a12d,[_0x477d('0x3af'),_0x2ebc35])?_0x201ecd():_0x566aa8();});}})[_0x477d('0xf8')](function(_0xc48f8a){_0x566aa8(_0x477d('0x3b0'),_0xc48f8a);});});}function _0x6cccf6(_0x3ac2bf){return _0x134242(function(_0x50f464,_0x372106){var _0x11f166={};return _0x425dbd()[_0x477d('0x76')](function(){if(_[_0x477d('0x3a4')](_0x42975e['permissions'],_0x3ac2bf)){_0x11f166[_0x3ac2bf]=!![];}_0x50f464(_0x11f166);})['catch'](function(_0x1ed2a0){_0x372106(_0x1ed2a0);});});}function _0x54cff6(_0x36a20a){return _0x134242(function(_0x376e35,_0x597319){var _0x1d0950={};if(_0x3719df()){_0x36a20a[_0x477d('0x3b1')](function(_0x4a6e52){_0x1d0950[_0x4a6e52]=!![];});_0x376e35(_0x1d0950);}else{return _0x425dbd()['then'](function(){_0x36a20a[_0x477d('0x3b1')](function(_0xbe218c){if(_['includes'](_0x42975e['permissions'],_0xbe218c)){_0x1d0950[_0xbe218c]=!![];}});_0x376e35(_0x1d0950);})[_0x477d('0xf8')](function(_0x4ddf2e){_0x597319(_0x4ddf2e);});}});}function _0xbcfebc(_0x5e8e2f){return _0x134242(function(_0x3b6c31,_0x2f0a16){if(_0x3719df()){_0x3b6c31(!![]);}else{_0x4699d1['userProfileSection'][_0x477d('0x376')]({'userProfileId':_0x42975e['userProfileId']})[_0x477d('0x38b')]['then'](function(_0x41fbc0){var _0x493853=_0x41fbc0&&_0x41fbc0[_0x477d('0xf2')]?_0x41fbc0[_0x477d('0xf2')]:[];if(!_[_0x477d('0x3b2')](_0x493853)){var _0x2ae538=_[_0x477d('0x3b3')](_0x493853,function(_0x5ad0cd){return _0x5ad0cd[_0x477d('0x3b4')];});_0x3b6c31(_[_0x477d('0x3ab')](_0x2ae538,[_0x477d('0x3b5'),_0x5e8e2f]));}else{_0x3b6c31(![]);}})[_0x477d('0xf8')](function(_0x591ea9){_0x2f0a16(_0x591ea9);});}});}function _0xa5b5c(_0x3dd54e){return _0x134242(function(_0x566238,_0x1a2249){var _0x41d34f={};if(_0x3719df()){_0x3dd54e[_0x477d('0x3b1')](function(_0x5eebad){_0x41d34f[_0x5eebad]=!![];});_0x566238(_0x41d34f);}else{_0x4699d1[_0x477d('0x3ac')]['get']({'userProfileId':_0x42975e[_0x477d('0x61')]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x386fbc){var _0x12ed61=_0x386fbc&&_0x386fbc[_0x477d('0xf2')]?_0x386fbc[_0x477d('0xf2')]:[];if(!_[_0x477d('0x3b2')](_0x12ed61)){var _0x209092=_(_0x12ed61)[_0x477d('0x3b3')](function(_0x4b3c52){return _0x4b3c52['enabled']&&_[_0x477d('0x3a4')](_0x3dd54e,_0x4b3c52[_0x477d('0x3b5')]);})['uniqBy'](function(_0x3e30de){return _0x3e30de['category'];})['map'](function(_0x224ff4){return _0x224ff4['category'];})[_0x477d('0x3b6')]();_0x209092[_0x477d('0x3b1')](function(_0x3ad3bd){_0x41d34f[_0x3ad3bd]=!![];});_0x566238(_0x41d34f);}else{_0x566238({});}})[_0x477d('0xf8')](function(_0x5b7db9){_0x1a2249(_0x5b7db9);});}});}function _0x56a50f(){return _0x29e656[_0x477d('0x39d')]['motion.authenticationtype']||'NONE';}function _0x3c61b9(_0x3364c7){_0x29e656[_0x477d('0x39d')][_0x477d('0x3a0')]=_0x3364c7;}function _0x63f720(_0x3b7185){_0x3c61b9(_0x477d('0x3b7'));return _0x477d('0x3b8')+_0x3b7185;}}}());(function(){'use strict';_0x5b8bc1['$inject']=['$mdDialog',_0x477d('0x3b9')];angular[_0x477d('0xb')](_0x477d('0x0'))[_0x477d('0x3ba')]('HotDeskDialogController',_0x5b8bc1);function _0x5b8bc1(_0x40b21f,_0x2cd3fe){var _0x186532=this;_0x186532['telephones']=_0x2cd3fe;_0x186532['closeDialog']=_0x2788bc;if(_0x2cd3fe[_0x477d('0x3bb')]){_0x186532[_0x477d('0x94')]=_0x2cd3fe[_0x477d('0xf2')][0x0]['name'];}function _0x2788bc(_0x510f31){_0x40b21f[_0x477d('0x3bc')](_0x510f31);}}}());(function(){'use strict';_0x5de062[_0x477d('0xa')]=[_0x477d('0x3bd'),'$q',_0x477d('0x385'),_0x477d('0x3be'),_0x477d('0x3bf')];angular['module'](_0x477d('0x0'))['factory'](_0x477d('0x371'),_0x5de062);function _0x5de062(_0x3844a8,_0x1d181b,_0x13bde3,_0x1fb7c5,_0x52baa3){var _0x2aa8a2;return{'request':function(_0x3f8ac1){var _0x191e1c=_0x13bde3[_0x477d('0x376')](_0x477d('0x389'));_0x3f8ac1[_0x477d('0x3c0')]=_0x3f8ac1[_0x477d('0x3c0')]||{};if(_0x52baa3['isSameOrigin'](_0x3f8ac1[_0x477d('0x3c1')])&&_0x191e1c){_0x3f8ac1[_0x477d('0x3c0')][_0x477d('0x3c2')]='Bearer\x20'+_0x191e1c;}return _0x3f8ac1;},'responseError':function(_0x11ecdd){switch(_0x11ecdd[_0x477d('0x3c3')]){case 0x191:_0x13bde3[_0x477d('0x39c')](_0x477d('0x389'));(_0x2aa8a2||(_0x2aa8a2=_0x1fb7c5[_0x477d('0x376')](_0x477d('0x3c4'))))['go'](_0x477d('0x40'));break;case 0x194:break;default:break;}return _0x1d181b['reject'](_0x11ecdd);}};}}());(function(){'use strict';_0x141481['$inject']=[_0x477d('0x387')];angular[_0x477d('0xb')](_0x477d('0x0'))['factory'](_0x477d('0x3bf'),_0x141481);function _0x141481(_0x447bb2){var _0x17dcd5={'safeCb':function(_0x4d5778){return angular[_0x477d('0x3c5')](_0x4d5778)?_0x4d5778:angular[_0x477d('0x3c6')];},'urlParse':function(_0x102bff){var _0x4c5c9b=document[_0x477d('0x3c7')]('a');_0x4c5c9b[_0x477d('0x3c8')]=_0x102bff;if(_0x4c5c9b[_0x477d('0x3c9')]===''){_0x4c5c9b[_0x477d('0x3c8')]=_0x4c5c9b[_0x477d('0x3c8')];}return _0x4c5c9b;},'isSameOrigin':function(_0x5baf5b,_0x55dcbd){_0x5baf5b=_0x17dcd5[_0x477d('0x3ca')](_0x5baf5b);_0x55dcbd=_0x55dcbd&&[]['concat'](_0x55dcbd)||[];_0x55dcbd=_0x55dcbd[_0x477d('0x3cb')](_0x17dcd5[_0x477d('0x3ca')]);_0x55dcbd[_0x477d('0x3a7')](_0x447bb2[_0x477d('0x3cc')]);_0x55dcbd=_0x55dcbd[_0x477d('0x3b3')](function(_0x257d91){var _0x2bcab7=_0x5baf5b[_0x477d('0x3cd')]===_0x257d91[_0x477d('0x3cd')];var _0x2998ca=_0x5baf5b[_0x477d('0x3ce')]===_0x257d91[_0x477d('0x3ce')];var _0x59927e=_0x5baf5b['port']===_0x257d91['port']||_0x257d91[_0x477d('0x3cf')]===''&&(_0x5baf5b['port']==='80'||_0x5baf5b[_0x477d('0x3cf')]===_0x477d('0x3d0'));return _0x2bcab7&&_0x2998ca&&_0x59927e;});return _0x55dcbd[_0x477d('0x79')]>=0x1;}};return _0x17dcd5;}}());(function(){'use strict';angular['module'](_0x477d('0x1'))['provider']('motionConfig',_0x1f7339);function _0x1f7339(){var _0x527653={'disableCustomScrollbars':![],'disableMdInkRippleOnMobile':!![],'disableCustomScrollbarsOnMobile':!![]};this['config']=_0x3ec81c;function _0x3ec81c(_0x5544c7){_0x527653=angular[_0x477d('0x3d1')]({},_0x527653,_0x5544c7);}this[_0x477d('0x3d2')]=function(){var _0x299d45={'getConfig':_0x5cef1f,'setConfig':_0xbcaf91};return _0x299d45;function _0x5cef1f(_0xc3c9b1){if(angular[_0x477d('0x3d3')](_0x527653[_0xc3c9b1])){return![];}return _0x527653[_0xc3c9b1];}function _0xbcaf91(_0x45615d,_0x4f0cbf){_0x527653[_0x45615d]=_0x4f0cbf;}};}}());(function(){'use strict';_0xa3aa4c['$inject']=['$ariaProvider','$logProvider',_0x477d('0x3d4'),_0x477d('0x3d5')];angular['module'](_0x477d('0x1'))[_0x477d('0xd')](_0xa3aa4c);function _0xa3aa4c(_0x5eac1b,_0x5b36ed,_0x2ee753,_0x2d1a66){_0x5b36ed[_0x477d('0x3d6')](!![]);_0x5eac1b[_0x477d('0xd')]({'tabindex':![]});_0x2d1a66[_0x477d('0xd')]({'disableCustomScrollbars':![],'disableCustomScrollbarsOnMobile':!![],'disableMdInkRippleOnMobile':!![]});_0x2ee753[_0x477d('0xd')]({'wheelPropagation':!![]});}}());(function(){'use strict';_0xf994f5[_0x477d('0xa')]=['msUtils',_0x477d('0x3d7'),_0x477d('0x3d8')];angular[_0x477d('0xb')](_0x477d('0x1'))[_0x477d('0x373')](_0xf994f5);function _0xf994f5(_0xf7cac4,_0x44fdb8,_0x5499bc){_0x44fdb8[_0x477d('0x3d9')]();if(_0x5499bc[_0x477d('0x3da')](_0x477d('0x3db'))&&_0xf7cac4[_0x477d('0x3dc')]()){var _0x523e6e=angular[_0x477d('0x398')]('body');_0x523e6e['attr'](_0x477d('0x3dd'),!![]);}if(_0xf7cac4[_0x477d('0x3dc')]()){angular[_0x477d('0x398')](_0x477d('0x3de'))[_0x477d('0x3df')](_0x477d('0x3e0'));}var _0x43b749=_0xf7cac4['detectBrowser']();if(_0x43b749){var _0x574fdf=_0x43b749[_0x477d('0x3e1')]+'\x20'+_0x43b749[_0x477d('0x3e2')]+'\x20'+_0x43b749['os'];angular[_0x477d('0x398')](_0x477d('0x3de'))[_0x477d('0x3df')](_0x574fdf);}}}());(function(){'use strict';_0x40b14c[_0x477d('0xa')]=['$window',_0x477d('0x384'),_0x477d('0x55'),_0x477d('0x3e3'),'fields','storagePath'];angular['module'](_0x477d('0x1'))[_0x477d('0x3ba')](_0x477d('0x3e4'),_0x40b14c);function _0x40b14c(_0x5f4d06,_0x430faf,_0x51facd,_0x4a2caa,_0x5b68c7,_0x4e4f57){var _0x466a97=this;_0x466a97[_0x477d('0x3e5')]=_0x51facd[_0x477d('0x5c')]();_0x466a97['searchOptions']={'matchType':_0x477d('0x3e6'),'conditions':[],'fields':_0x5b68c7};_0x466a97[_0x477d('0x3e7')]=_0x4a2caa;_0x466a97['onInit']=_0x11827c;_0x466a97['applyFilter']=_0x536449;_0x466a97[_0x477d('0x3e8')]=_0xa5e04e;_0x466a97[_0x477d('0x3e9')]=_0x5b2964;_0x466a97['close']=_0x2747f4;function _0x11827c(){if(_0x4e4f57){var _0xf87e68=_0x1991a4();if(_0xf87e68[_0x477d('0x3ea')](_0x477d('0x3eb'))){_0x466a97[_0x477d('0x3ec')]=_[_0x477d('0xef')](_0x466a97['searchOptions'],_0xf87e68[_0x477d('0x3eb')]);}}}function _0x536449(){var _0x32c034=_[_0x477d('0x3b3')](_0x466a97['searchOptions']['conditions'],['disabled',![]]);var _0xcd8988='['+_0x466a97[_0x477d('0x3ec')][_0x477d('0x3ed')]+']';var _0x3a1e69=[];var _0x33ae21='';_(_0x32c034)[_0x477d('0x3ee')]('name')[_0x477d('0x3b1')](function(_0x5aff56){var _0x395110=_0x5aff56[0x0];var _0x5110b3=_0x5aff56[_0x477d('0x79')]>0x1?!![]:![];var _0x4d9e4a=_0x395110[_0x477d('0x3ef')]['column'];if(_0x5110b3){var _0x16f577=_(_0x5aff56)['groupBy'](function(_0x4ed4cf){return _0x4ed4cf['query'][_0x477d('0x3f0')];})['mapValues'](function(_0x361e0c){return _[_0x477d('0x3f1')](_0x361e0c)[_0x477d('0x3cb')](function(_0x30d818){return _0x30d818[_0x477d('0x3ef')]['value'];})[_0x477d('0x3f2')]()[_0x477d('0x3b6')]();})[_0x477d('0x3b6')]();var _0x4c8149=[];_[_0x477d('0x7f')](_0x16f577)[_0x477d('0x3b1')](function(_0xf8434c){var _0x75bd34=_0x16f577[_0xf8434c];var _0xd1a3e7=_0xf8434c;if(_[_0x477d('0x3a4')]([_0x477d('0x3f3'),_0x477d('0x3f4'),_0x477d('0x3f5')],_0xf8434c)){_0xd1a3e7+='['+_0x75bd34+']';}else{_0x75bd34[_0x477d('0x3b1')](function(_0x3e2841){_0xd1a3e7+='['+_0x3e2841+']';});}_0x4c8149[_0x477d('0x3a7')](_0xd1a3e7);});_0x33ae21+=_0x4d9e4a+':='+_0x4c8149[_0x477d('0x3f6')](':=');}else{_0x33ae21=_0x4d9e4a+':='+_0x395110[_0x477d('0x3ef')][_0x477d('0x3f0')]+'['+_0x395110['query'][_0x477d('0x3b6')]+']';}_0x3a1e69[_0x477d('0x3a7')](_0x33ae21);});_0xcd8988+=_0x3a1e69[_0x477d('0x3f6')]('||');_0x1f1b2d();_0x430faf[_0x477d('0x3bc')](_0xcd8988);}function _0xa5e04e(){_0x466a97['searchOptions'][_0x477d('0x3f7')]=[];_0x25f182();}function _0x5b2964(){_0x1f1b2d();_0x430faf['hide']();}function _0x2747f4(){_0x430faf[_0x477d('0x3bc')](![]);}function _0x1991a4(){var _0x5d6c9a=_0x5f4d06[_0x477d('0x39d')][_0x477d('0x3f8')](_0x477d('0x3f9')+_0x4e4f57+':'+_0x466a97[_0x477d('0x3e5')]['id']);return _0x5d6c9a?JSON[_0x477d('0x77')](_0x5d6c9a):{};}function _0x3cceae(_0x209732){_0x5f4d06[_0x477d('0x39d')][_0x477d('0x3fa')](_0x477d('0x3f9')+_0x4e4f57+':'+_0x466a97[_0x477d('0x3e5')]['id'],JSON[_0x477d('0x3fb')](_0x209732));}function _0x1f1b2d(){if(_0x4e4f57){var _0x173159=_0x1991a4();_0x173159['advancedSearch']=_[_0x477d('0x3fc')](_0x466a97['searchOptions'],'fields');_0x3cceae(_0x173159);}}function _0x25f182(){if(_0x4e4f57){var _0x292997=_0x1991a4();delete _0x292997[_0x477d('0x3eb')];if(_0x292997[_0x477d('0x3ef')])delete _0x292997[_0x477d('0x3ef')][_0x477d('0x3fd')];_0x3cceae(_0x292997);}}}}());(function(){'use strict';_0x566900[_0x477d('0xa')]=[_0x477d('0x3fe')];angular[_0x477d('0xb')](_0x477d('0x1'))[_0x477d('0x3ff')](_0x477d('0x400'),_0x566900);function _0x566900(_0x5aeff1){return{'restrict':'A','link':function(_0x5e75d8,_0x2dbc01,_0x48829a){_0x5e75d8['$watch'](_0x48829a[_0x477d('0x400')],function(_0x3b0cc0){_0x5aeff1(function(){_0x3b0cc0?_0x2dbc01[0x0][_0x477d('0x401')]():_0x2dbc01[0x0]['blur']();});});}};}}());(function(){'use strict';_0x5110ef['$inject']=[_0x477d('0x3fe'),'$q',_0x477d('0x402')];angular[_0x477d('0xb')](_0x477d('0x1'))[_0x477d('0x3ff')](_0x477d('0x403'),_0x5110ef);function _0x5110ef(_0x161958,_0x362181,_0x16c539){return{'restrict':'E','compile':function(_0x15d9b8,_0x1ad247){var _0x298108;if(!_0x1ad247[_0x477d('0x404')]){_0x298108=_0x15d9b8[_0x477d('0x3de')]();_0x15d9b8['empty']();}return function(_0x592034,_0x111f7b,_0x44fa50){if(_0x44fa50[_0x477d('0x404')]){_0x298108=_0x592034[_0x477d('0x405')](_0x44fa50[_0x477d('0x404')]);}var _0x4d3634=_0x592034['$eval'](_0x44fa50['shouldInterpolate']);_0x362181[_0x477d('0x406')](_0x298108)['then'](function(_0x23d5ae){if(_0x23d5ae){if(_0x4d3634){_0x23d5ae=_0x16c539(_0x23d5ae)(_0x592034);}var _0x439a70=angular['element'](_0x477d('0x407'));_0x111f7b['append'](_0x439a70);_0x161958(function(){_0x2f8c6b(_0x23d5ae,_0x439a70);},0x22,![]);}});function _0x2f8c6b(_0x552bfc,_0x204949){var _0x532119=_0x204949[_0x477d('0x10a')](_0x477d('0x404'));var _0x1212b3=_0x552bfc['split']('\x0a');_0x1212b3=_0x1212b3[_0x477d('0x3b3')](function(_0x5a7224){return _0x5a7224['trim']()['length'];});var _0x46e55b=_0x1212b3[0x0][_0x477d('0x408')](/^\s*/)[0x0];var _0x5ad36b=new RegExp('^'+_0x46e55b);_0x1212b3=_0x1212b3[_0x477d('0x3cb')](function(_0x3b6160){return _0x3b6160[_0x477d('0x409')](_0x5ad36b,'')[_0x477d('0x409')](/\s+$/,'');});var _0x396055=hljs[_0x477d('0x40a')](_0x44fa50['language']||_0x44fa50['lang'],_0x1212b3[_0x477d('0x3f6')]('\x0a'),!![]);_0x396055[_0x477d('0x3b6')]=_0x396055[_0x477d('0x3b6')][_0x477d('0x409')](/=""<\/span>/gi,'')[_0x477d('0x409')](_0x477d('0x40b'),'')[_0x477d('0x409')]('','');_0x532119[_0x477d('0x40c')](_0x396055[_0x477d('0x3b6')])[_0x477d('0x3df')](_0x477d('0x40a'));}};}};}}());(function(){'use strict';_0x1afb74['$inject']=[_0x477d('0x40d'),'$q','api',_0x477d('0x40e')];angular['module'](_0x477d('0x1'))[_0x477d('0x3ff')]('msAdvancedSearch',_0x1d91f4);function _0x1d91f4(){return{'restrict':'E','scope':{'options':'=','clearFilter':'&'},'controller':_0x1afb74,'controllerAs':'vm','bindToController':!![],'templateUrl':_0x477d('0x40f')};}function _0x1afb74(_0x148938,_0x5b4102,_0x1f8fb3,_0x216759){var _0x3ca899=this;_0x3ca899[_0x477d('0x410')]=_0x3ca899[_0x477d('0x411')]=[{'type':_0x477d('0x412'),'symbol':'=','translate':'EQUALS','excludeFrom':[_0x477d('0x413')]},{'type':_0x477d('0x414'),'symbol':'≠','translate':_0x477d('0x415'),'excludeFrom':[_0x477d('0x413')]},{'type':_0x477d('0x3f4'),'symbol':'∈','translate':'IS_AMONG','applyTo':[_0x477d('0x413')]},{'type':_0x477d('0x3f5'),'symbol':'∉','translate':_0x477d('0x416'),'applyTo':['multiselect']},{'type':'$substring','symbol':'⊃','translate':_0x477d('0x417'),'applyTo':['text']},{'type':_0x477d('0x418'),'symbol':_0x477d('0x419'),'translate':_0x477d('0x41a'),'applyTo':[_0x477d('0x41b')]},{'type':'$endsWith','symbol':_0x477d('0x41c'),'translate':_0x477d('0x41d'),'applyTo':['text']},{'type':_0x477d('0x41e'),'symbol':'<','translate':_0x477d('0x41f'),'applyTo':[_0x477d('0x420'),_0x477d('0x421')]},{'type':_0x477d('0x422'),'symbol':'>','translate':_0x477d('0x423'),'applyTo':[_0x477d('0x420'),'number']},{'type':_0x477d('0x424'),'symbol':'≤','translate':_0x477d('0x425'),'applyTo':[_0x477d('0x420'),'number']},{'type':_0x477d('0x426'),'symbol':'≥','translate':_0x477d('0x427'),'applyTo':[_0x477d('0x420'),_0x477d('0x421')]},{'type':_0x477d('0x3f3'),'symbol':'≬','translate':_0x477d('0x428'),'applyTo':['date',_0x477d('0x421')]}];_0x3ca899[_0x477d('0x429')]=_0x3cb6c7;_0x3ca899[_0x477d('0x42a')]=_0x51410e;_0x3ca899['updateCondition']=_0x467375;_0x3ca899['cancelUpdateCondition']=_0x401216;_0x3ca899[_0x477d('0x42b')]=_0x55db2a;_0x3ca899[_0x477d('0x42c')]=_0x86df1d;_0x3ca899['getValues']=_0x210e3d;_0x3ca899[_0x477d('0x42d')]=_0x2089c8;_0x3ca899[_0x477d('0x42e')]=_0x5b9e08;_0x3ca899[_0x477d('0x42f')]=_0xc4ac59;_0x3ca899[_0x477d('0x430')]=_0x127e1f;_0x3ca899[_0x477d('0x431')]=_0x225f79;function _0x2089c8(){_0x3ca899[_0x477d('0x3b6')]=undefined;_0x3ca899[_0x477d('0x432')]=undefined;_0x3ca899[_0x477d('0x433')]=undefined;_0x3ca899[_0x477d('0x434')]=![];_0x1affee();_0x3ca899['autoSelectOperator']=_0x3ca899[_0x477d('0x411')][_0x477d('0x79')]===0x1?!![]:![];if(!_0x3ca899[_0x477d('0x435')])_0x3ca899[_0x477d('0x436')]=undefined;}function _0x5b9e08(_0x11d60d){_0x3ca899[_0x477d('0x437')]=!![];if(_0x3ca899[_0x477d('0x436')]){if(_0x11d60d){if(_0x11d60d[_0x477d('0x438')]){if(_[_0x477d('0x7e')](_0x3ca899['selectedOperator']['applyTo'],_0x11d60d[_0x477d('0x438')])['length']>0x0){_0x3ca899[_0x477d('0x3b6')]=null;}}else{if(_0x3ca899[_0x477d('0x436')][_0x477d('0x438')]){_0x3ca899[_0x477d('0x3b6')]=null;}}}else{_0x3ca899[_0x477d('0x3b6')]=null;}if(_0x3ca899[_0x477d('0x436')][_0x477d('0x439')]!=_0x477d('0x43a')){_0x3ca899[_0x477d('0x432')]=null;}if(_0x3ca899[_0x477d('0x43b')][_0x477d('0x43c')]&&!_[_0x477d('0x3b2')](_0x3ca899['selectedField'][_0x477d('0x43c')][_0x477d('0x43d')])){_0x3ca899['selectedOperator'][_0x477d('0x43e')]=_[_0x477d('0x3ab')](_0x3ca899[_0x477d('0x43b')][_0x477d('0x43c')][_0x477d('0x43d')],function(_0x2b961f){return _0x2b961f===_0x3ca899[_0x477d('0x436')][_0x477d('0x439')];});}}_0x210165();}function _0xc4ac59(){if(_0x3ca899[_0x477d('0x436')]&&_0x3ca899[_0x477d('0x436')][_0x477d('0x439')]==='$between'){if(_0x3ca899[_0x477d('0x43b')][_0x477d('0x439')]===_0x477d('0x421')){_0x127e1f();}else if(_0x3ca899[_0x477d('0x43b')][_0x477d('0x439')]==='date'){_0x3ca899[_0x477d('0x43f')]=moment(_0x3ca899[_0x477d('0x3b6')])[_0x477d('0x440')](0x1,'day');_0x210165();}}else{_0x210165();}}function _0x1affee(){var _0x44055b=_0x3ca899[_0x477d('0x43b')]['options']&&!_[_0x477d('0x3b2')](_0x3ca899[_0x477d('0x43b')][_0x477d('0x43c')][_0x477d('0x43d')]);var _0x356ba1=_0x3ca899[_0x477d('0x43b')]['options']&&!_[_0x477d('0x3b2')](_0x3ca899[_0x477d('0x43b')][_0x477d('0x43c')]['excludedOperators']);_0x3ca899['availableOperators']=_['filter'](_0x3ca899[_0x477d('0x410')],function(_0x3afe57){var _0x2728a0=!_0x3afe57[_0x477d('0x438')]||_['includes'](_0x3afe57[_0x477d('0x438')],_0x3ca899[_0x477d('0x43b')][_0x477d('0x439')]);_0x3afe57[_0x477d('0x43e')]=_0x44055b&&_[_0x477d('0x3ab')](_0x3ca899[_0x477d('0x43b')][_0x477d('0x43c')][_0x477d('0x43d')],function(_0x52f1b8){return _0x52f1b8===_0x3afe57[_0x477d('0x439')];});var _0x1221fd=_[_0x477d('0x3a4')](_0x3afe57[_0x477d('0x441')],_0x3ca899[_0x477d('0x43b')]['type'])||_0x356ba1&&_[_0x477d('0x3a4')](_0x3ca899[_0x477d('0x43b')][_0x477d('0x43c')]['excludedOperators'],_0x3afe57['type']);if((_0x2728a0||_0x3afe57[_0x477d('0x43e')])&&!_0x1221fd){return _0x3afe57;}});}function _0x210e3d(){var _0x26c904=angular['copy'](_0x3ca899[_0x477d('0x43b')][_0x477d('0x43c')][_0x477d('0x442')]);if(_0x3ca899['selectedField'][_0x477d('0x439')]===_0x477d('0x443')){for(var _0x2a1afb=0x0;_0x2a1afbNumber(_0x3ca899[_0x477d('0x3b6')])?!![]:![];}else{_0x3ca899[_0x477d('0x437')]=!![];}}else if(_0x3ca899[_0x477d('0x43b')][_0x477d('0x439')]===_0x477d('0x420')){_0x3ca899['maxDateRange']=moment(_0x3ca899['endRangeValue'])[_0x477d('0x455')](0x1,_0x477d('0x137'));_0x3ca899['isValidRange']=!![];}_0x210165();}function _0x3cb6c7(){var _0x390584=_0x50d86b();_0x3ca899[_0x477d('0x43c')][_0x477d('0x3f7')]['push'](_0x390584);_0x73f527();}function _0x51410e(_0x16d48b){_0x3ca899[_0x477d('0x456')]=_0x16d48b;_0x3ca899[_0x477d('0x456')][_0x477d('0x457')]='md-amber-200-bg';_0x3ca899[_0x477d('0x43b')]=_[_0x477d('0x10a')](_0x3ca899['options'][_0x477d('0x458')],[_0x477d('0x94'),_0x3ca899[_0x477d('0x456')]['name']]);_0x1affee();_0x3ca899['selectedOperator']=_[_0x477d('0x10a')](_0x3ca899[_0x477d('0x411')],[_0x477d('0x439'),_0x3ca899[_0x477d('0x456')]['query'][_0x477d('0x3f0')]]);if(_0x3ca899[_0x477d('0x43b')]['type']===_0x477d('0x420')&&typeof _0x3ca899[_0x477d('0x456')][_0x477d('0x3b6')]==='string'){_0x3ca899[_0x477d('0x3b6')]=new Date(_0x3ca899[_0x477d('0x456')]['value']);_0x3ca899[_0x477d('0x43f')]=moment(_0x3ca899[_0x477d('0x3b6')])[_0x477d('0x440')](0x1,_0x477d('0x137'));_0x3ca899[_0x477d('0x432')]=_0x3ca899[_0x477d('0x456')][_0x477d('0x459')]?new Date(_0x3ca899[_0x477d('0x456')][_0x477d('0x459')]):undefined;}else{_0x3ca899[_0x477d('0x3b6')]=_0x3ca899[_0x477d('0x456')][_0x477d('0x3b6')];_0x3ca899[_0x477d('0x432')]=_0x3ca899[_0x477d('0x456')]['endValue'];}_0x3ca899[_0x477d('0x437')]=!![];_0x3ca899[_0x477d('0x434')]=!![];}function _0x467375(){var _0x318abf=_0x50d86b();var _0x232be0=_[_0x477d('0x45a')](_0x3ca899['options'][_0x477d('0x3f7')],_0x477d('0x457'));_0x3ca899[_0x477d('0x43c')][_0x477d('0x3f7')][_0x477d('0x45b')](_0x232be0,0x1,_0x318abf);_0x73f527();_0x3ca899[_0x477d('0x456')]['style']=null;_0x3ca899['pendingCondition']=undefined;}function _0x401216(){_0x3ca899['pendingCondition']['style']=null;_0x3ca899[_0x477d('0x456')]=undefined;}function _0x55db2a(_0xd0f99){_0xd0f99[_0x477d('0x457')]=_0xd0f99[_0x477d('0x45c')]?undefined:_0x477d('0x45d');_0xd0f99[_0x477d('0x45c')]=!_0xd0f99[_0x477d('0x45c')];}function _0x86df1d(){if(_['isEmpty'](_0x3ca899[_0x477d('0x43c')][_0x477d('0x3f7')]))_0x3ca899[_0x477d('0x45e')]();}function _0x225f79(){_0x3ca899[_0x477d('0x456')]?_0x467375():_0x3cb6c7();}function _0x50d86b(){return{'name':_0x3ca899[_0x477d('0x43b')][_0x477d('0x94')],'operator':_0x148938[_0x477d('0x45f')]('DASHBOARDS.'+_0x3ca899['selectedOperator'][_0x477d('0x454')]),'value':_0x3ca899[_0x477d('0x3b6')],'endValue':_0x3ca899['endRangeValue'],'displayValue':_0x4bbffa(_0x3ca899['value']),'displayEndValue':_0x4bbffa(_0x3ca899[_0x477d('0x432')]),'query':{'column':_0x3ca899[_0x477d('0x43b')][_0x477d('0x460')],'operator':_0x3ca899[_0x477d('0x436')][_0x477d('0x439')],'value':_0x2d9e13()},'disabled':![]};}function _0x4bbffa(_0x517d01){var _0x1b6a9e;if(!_0x517d01)return undefined;switch(_0x3ca899[_0x477d('0x43b')][_0x477d('0x439')]){case'date':_0x1b6a9e=moment(_0x517d01)[_0x477d('0x12f')](_0x477d('0x461'));break;case _0x477d('0x413'):var _0x2140b6=_['map'](_0x517d01,function(_0x47115b){return _0x47115b[_0x477d('0x94')];});_0x1b6a9e=_0x3ca899[_0x477d('0x436')][_0x477d('0x439')]==='$eq'?_0x2140b6[_0x477d('0x3f6')]('\x20or\x20'):_0x2140b6[_0x477d('0x3f6')]('\x20and\x20');break;case _0x477d('0x462'):_0x1b6a9e=_0x517d01[_0x477d('0x94')];break;case _0x477d('0x443'):_0x1b6a9e=_0x3ca899[_0x477d('0x436')][_0x477d('0x43e')]?_0x517d01:_0x517d01[_0x477d('0x446')];break;default:_0x1b6a9e=_0x517d01;break;}return _0x1b6a9e;}function _0x2d9e13(){var _0x2597ed=_0x3ca899['value'];var _0x544b51=_0x3ca899['endRangeValue'];var _0x224a9a;switch(_0x3ca899['selectedField'][_0x477d('0x439')]){case'date':var _0x4604c5=moment(_0x2597ed)[_0x477d('0x12e')](0x0,!![])[_0x477d('0x12f')](_0x477d('0x461'));if(_0x3ca899[_0x477d('0x436')][_0x477d('0x439')]===_0x477d('0x3f3')){var _0x4901e2=moment(_0x544b51)[_0x477d('0x12e')](0x0,!![])['format'](_0x477d('0x461'));_0x224a9a=[_0x4604c5,_0x4901e2];}else{_0x224a9a=_0x4604c5;}break;case _0x477d('0x421'):_0x224a9a=_0x3ca899[_0x477d('0x436')][_0x477d('0x439')]==='$between'?[_0x2597ed,_0x544b51]:_0x2597ed;break;case _0x477d('0x413'):var _0x399b18=_0x3ca899['selectedField']['options'][_0x477d('0x463')]||'id';_0x224a9a=_[_0x477d('0x3cb')](_0x2597ed,_0x399b18);break;case _0x477d('0x462'):_0x224a9a=_0x2597ed['id'];break;case _0x477d('0x443'):_0x224a9a=_0x3ca899[_0x477d('0x436')][_0x477d('0x43e')]?_0x2597ed:_0x2597ed['id'];break;default:_0x224a9a=_0x2597ed;break;}return _0x224a9a;}function _0x73f527(){_0x3ca899[_0x477d('0x3b6')]=null;_0x3ca899[_0x477d('0x432')]=null;_0x3ca899[_0x477d('0x43f')]=null;_0x3ca899[_0x477d('0x464')]=null;_0x3ca899[_0x477d('0x434')]=![];}}}());(function(){'use strict';angular[_0x477d('0xb')](_0x477d('0x1'))[_0x477d('0x3ff')](_0x477d('0x465'),_0x48e5bb);function _0x48e5bb(){return{'restrict':'E','scope':{'templatePath':'=template','card':_0x477d('0x466'),'vm':_0x477d('0x467')},'template':_0x477d('0x468'),'compile':function(_0x32c09f){_0x32c09f['addClass'](_0x477d('0x469'));return function postLink(_0x407a49,_0x4f6613){_0x407a49[_0x477d('0x46a')]=_0x2a72d1;function _0x2a72d1(){_0x407a49[_0x477d('0x46b')](_0x477d('0x46c'),_0x4f6613);}};}};}}());(function(){'use strict';angular[_0x477d('0xb')](_0x477d('0x1'))['directive']('msChipColor',_0x26c3cd);function _0x26c3cd(){return{'restrict':'A','link':function(_0x241e4f,_0x2dd363,_0x5a4075){_0x5a4075[_0x477d('0x46d')](_0x477d('0x46e'),function(_0x3c493b){var _0x1c7994=_0x2dd363[_0x477d('0x374')]()['parent']();if(!_0x1c7994[_0x477d('0x46f')](_0x477d('0x470'))){_0x1c7994[_0x477d('0x3df')](_0x477d('0x470'));}if(!_[_0x477d('0x3b2')](_0x3c493b)){_0x1c7994['addClass'](_0x3c493b);}else{var _0x24d306=_0x1c7994[0x0][_0x477d('0x471')][_0x477d('0x472')]('\x20');var _0x1d557e=_0x24d306['indexOf']('md-hue-3');_0x24d306[_0x477d('0x79')]=_0x1d557e+0x1;_0x1c7994[0x0]['className']=_0x24d306[_0x477d('0x3f6')]('\x20');}});}};}}());(function(){'use strict';angular['module']('app.core')[_0x477d('0x3ff')](_0x477d('0x473'),_0x21ea86);function _0x21ea86(){return{'restrict':'E','scope':{'type':'=','disabled':'=','target':'=','prefix':'=','license':'='},'controller':[_0x477d('0x474'),'$rootScope','$http',_0x477d('0x40d'),_0x477d('0x475'),_0x477d('0x384'),_0x477d('0x55'),_0x477d('0x40e'),_0x477d('0x386'),function(_0x14f4ab,_0x3ee7f0,_0x31c26b,_0x3a4e8a,_0x18133c,_0x13ac48,_0x104eb9,_0x5d964f,_0x28705a){_0x14f4ab[_0x477d('0x3e5')]=_0x104eb9[_0x477d('0x5c')]();_0x14f4ab[_0x477d('0x476')]=function(){return _0x14f4ab[_0x477d('0x378')]&&_0x14f4ab['target'][_0x477d('0x477')]('@')<0x0&&(_0x14f4ab['target']!=_0x14f4ab[_0x477d('0x3e5')]['internal']&&_0x14f4ab[_0x477d('0x378')]!=_0x14f4ab[_0x477d('0x3e5')][_0x477d('0x94')])&&(_0x14f4ab[_0x477d('0x3e5')]['showWebBar']==0x0&&_0x14f4ab[_0x477d('0x3e5')]['phoneBarRemoteControl']||_0x14f4ab[_0x477d('0x3e5')][_0x477d('0x394')]==0x2&&_0x14f4ab['license'][_0x477d('0x478')])&&!_0x14f4ab[_0x477d('0x45c')];};function _0x50a41d(_0x3088c7){return _0x28705a[_0x477d('0x380')][_0x477d('0x479')]({'id':_0x14f4ab[_0x477d('0x3e5')]['id']})[_0x477d('0x38b')]['then'](function(_0x552f14){if(_0x552f14[_0x477d('0x3bb')]){return _0x13ac48[_0x477d('0x395')]({'controller':'PrefixDialogController','controllerAs':'vm','templateUrl':_0x477d('0x47a'),'parent':angular['element'](_0x18133c[_0x477d('0x399')]),'clickOutsideToClose':!![],'locals':{'prefixes':_0x552f14,'required':_0x14f4ab[_0x477d('0x3e5')]['phoneBarPrefixRequired']}});}})[_0x477d('0x76')](function(_0x3927d4){if(!_0x14f4ab['currentUser'][_0x477d('0x47b')]){if(_0x3927d4&&_0x3927d4!==-0x1){_0xb737bd(_0x3927d4+_0x3088c7);}else if(!_0x3927d4){_0xb737bd(_0x3088c7);}}else{if(_0x3927d4&&_0x3927d4!==-0x1){_0xb737bd(_0x3927d4+_0x3088c7);}}});}function _0xb737bd(_0x5e6634){switch(_0x14f4ab[_0x477d('0x3e5')][_0x477d('0x394')]){case 0x0:return _0x3a42b6(_0x477d('0x47c')+(_0x14f4ab[_0x477d('0x3e5')][_0x477d('0x47d')]||_0x477d('0x47e'))+_0x477d('0x47f')+_0x4590ac(_0x5e6634));case 0x2:return _0x3ee7f0[_0x477d('0x480')](_0x477d('0x481'),{'target':_0x4590ac(_0x5e6634)});break;default:}}_0x14f4ab[_0x477d('0x482')]=function(_0x10b005){if(_0x14f4ab[_0x477d('0x3e5')][_0x477d('0x394')]!==0x2){return _0x50a41d(_0x10b005);}else{return _0xb737bd(_0x10b005);}};_0x14f4ab['transfer']=function(_0x1a86c1){switch(_0x14f4ab[_0x477d('0x3e5')][_0x477d('0x394')]){case 0x0:return _0x3a42b6(_0x477d('0x47c')+(_0x14f4ab['currentUser'][_0x477d('0x47d')]||_0x477d('0x47e'))+'/api/transfer?number='+_0x4590ac(_0x1a86c1));case 0x2:_0x3ee7f0[_0x477d('0x480')](_0x477d('0x483'),{'target':_0x4590ac(_0x1a86c1)});break;default:}};function _0x4590ac(_0xcb5690){return!_[_0x477d('0x484')](_0xcb5690)?_0xcb5690[_0x477d('0x409')](/[^\w.+#*\-]+/g,''):'';}function _0x3a42b6(_0x59276b){return _0x31c26b[_0x477d('0x376')](_0x59276b)['success'](function(){_0x5d964f[_0x477d('0x485')]({'title':_0x477d('0x486'),'msg':_0x477d('0x487')});})['error'](function(_0x55d005){_0x5d964f['error']({'title':_0x477d('0x488'),'msg':_0x3a4e8a['instant'](_0x477d('0x489'))});});}}],'templateUrl':_0x477d('0x48a')};}}());(function(){'use strict';_0x398649[_0x477d('0xa')]=['msDatepickerFixConfig'];angular[_0x477d('0xb')](_0x477d('0x1'))[_0x477d('0x48b')]('msDatepickerFixConfig',_0x500f19)['directive'](_0x477d('0x48c'),_0x398649);function _0x500f19(){var _0x200c7d=this;var _0x38acb8={'formatter':function(_0x19796e){if(!_0x19796e){return'';}return _0x19796e===''?_0x19796e:new Date(_0x19796e);},'parser':function(_0x3ab31c){if(!_0x3ab31c){return'';}return moment(_0x3ab31c)[_0x477d('0x440')](moment(_0x3ab31c)['utcOffset'](),'m')[_0x477d('0x48d')]();}};_0x200c7d[_0x477d('0xd')]=_0x393cf9;function _0x393cf9(_0x3c53fd){_0x38acb8=angular[_0x477d('0x3d1')]({},_0x38acb8,_0x3c53fd);}_0x200c7d[_0x477d('0x3d2')]=function(){return _0x38acb8;};}function _0x398649(_0x6a0bad){return{'require':_0x477d('0x48e'),'priority':0x1,'link':function(_0x307864,_0x6a3dad,_0x1e2c21,_0x407c8f){_0x407c8f[_0x477d('0x48f')][_0x477d('0x3a7')](_0x6a0bad[_0x477d('0x490')]);_0x407c8f[_0x477d('0x491')]['push'](_0x6a0bad[_0x477d('0x492')]);}};}}());(function(){'use strict';_0x1522ec['$inject']=[_0x477d('0x386')];function _0x1522ec(_0x5aa796){return{'restrict':'E','scope':{'id':'=','model':'=','element':'=','title':'=','path':'='},'replace':!![],'link':function(_0x285705,_0x40fcbf){var _0x2439c2=![];var _0x5b87e1={};_0x5b87e1['id']=_0x285705['id'];if(!_[_0x477d('0x484')](_0x285705[_0x477d('0x493')])){_0x5b87e1[_0x477d('0x493')]=_0x285705[_0x477d('0x493')];}var _0x5030cf=document['createElement'](_0x285705['element']);_0x5030cf[_0x477d('0x494')](_0x477d('0x495'),_0x477d('0x496'));_0x5030cf['setAttribute'](_0x477d('0x497'),_0x477d('0x2ee'));if(_0x285705[_0x477d('0x398')]===_0x477d('0x498')){_0x5030cf[_0x477d('0x494')](_0x477d('0x457'),'width:\x20265px;');}if(_0x285705[_0x477d('0x398')]===_0x477d('0x499')){_0x5030cf['setAttribute'](_0x477d('0x457'),'max-width:\x20500px;');}_0x5030cf['setAttribute'](_0x477d('0x49a'),_0x285705['title']);_0x5030cf[_0x477d('0x494')](_0x477d('0x49b'),'\x20');_0x5030cf[_0x477d('0x49c')]=function(_0x37c2d4){if(!_0x2439c2){_0x2439c2=!![];_0x37c2d4['preventDefault']();_0x5aa796[_0x285705[_0x477d('0x44e')]][_0x477d('0x49d')](_0x5b87e1)[_0x477d('0x38b')]['then'](function(_0x269b41){var _0x3b0594=[_0x269b41[_0x477d('0x49e')]];var _0x5ae4e5=new Blob(_0x3b0594,{'type':_0x269b41[_0x477d('0x439')]});_0x5030cf[_0x477d('0x494')](_0x477d('0x439'),_0x269b41[_0x477d('0x439')]);_0x5030cf[_0x477d('0x494')](_0x477d('0x49b'),URL[_0x477d('0x49f')](_0x5ae4e5));_0x5030cf[_0x477d('0x4a0')]();})['catch'](function(_0x24c8a9){console['error'](_0x24c8a9);});}};_0x40fcbf[_0x477d('0x40c')](_0x5030cf);}};}angular[_0x477d('0xb')](_0x477d('0x1'))['directive']('msDialogRecording',_0x1522ec);}());(function(){'use strict';angular['module'](_0x477d('0x1'))['directive'](_0x477d('0x4a1'),_0x37a895);function _0x37a895(){return{'restrict':'E','scope':{'options':'='},'controller':[_0x477d('0x474'),function(_0x517684){_0x517684[_0x477d('0x4a2')]=function(_0x37b7ab,_0x42ac2f,_0x2f1487){if(_0x42ac2f['readOnly']){return;}else{if(typeof _0x37b7ab[_0x477d('0x4a3')]!==_0x477d('0x4a4')&&_0x37b7ab[_0x477d('0x4a3')]){if(_0x2f1487){return _0x517684[_0x477d('0x4a5')](_0x42ac2f['selectedItems'],_0x42ac2f['items'],_0x42ac2f['selectedItems'][_0x477d('0x477')](_0x37b7ab),_0x2f1487);}else{return _0x517684[_0x477d('0x4a5')](_0x42ac2f[_0x477d('0x4a6')],_0x42ac2f[_0x477d('0x4a7')],_0x42ac2f[_0x477d('0x4a6')][_0x477d('0x477')](_0x37b7ab),_0x2f1487);}}}};_0x517684['transfer']=function(_0x13f3e7,_0x7d661,_0x5048a5,_0x594afa){var _0x521928=[];if(_0x5048a5>=0x0){_0x521928['push'](_0x13f3e7[_0x5048a5]);_0x7d661[_0x477d('0x3a7')](_0x13f3e7[_0x5048a5]);_0x13f3e7['splice'](_0x5048a5,0x1);}else{for(var _0x51371c=0x0;_0x51371c<_0x13f3e7[_0x477d('0x79')];_0x51371c++){if(typeof _0x13f3e7[_0x51371c][_0x477d('0x4a3')]!==_0x477d('0x4a4')&&_0x13f3e7[_0x51371c][_0x477d('0x4a3')]){_0x7d661['push'](_0x13f3e7[_0x51371c]);}}for(var _0x51371c=_0x13f3e7['length']-0x1;_0x51371c>=0x0;_0x51371c--){if(_0x13f3e7[_0x51371c][_0x477d('0x4a3')]){_0x13f3e7[_0x477d('0x45b')](_0x51371c,0x1);}}_0x521928=_0x7d661;}if(_0x517684[_0x477d('0x43c')][_0x477d('0x4a8')]){_0x517684['options'][_0x477d('0x4a8')](_0x521928,_0x594afa);}};_0x517684['getLine']=function(_0x482fbb,_0x1349c3){var _0x4a42ce='';if(_[_0x477d('0x484')](_0x1349c3)){return _0x4a42ce;}if(_[_0x477d('0x4a9')](_0x1349c3)){for(var _0x1bb6f5=0x0;_0x1bb6f5<_0x1349c3[_0x477d('0x79')];_0x1bb6f5++){_0x4a42ce+='\x20'+(_0x482fbb[_0x1349c3[_0x1bb6f5]]?_0x482fbb[_0x1349c3[_0x1bb6f5]]:'');}return _0x4a42ce;}else{return _0x482fbb[_0x1349c3]?_0x482fbb[_0x1349c3]:'';}};}],'templateUrl':_0x477d('0x4aa')};}}());(function(){'use strict';_0x4a5bcc[_0x477d('0xa')]=[_0x477d('0x40d')];angular[_0x477d('0xb')]('app.core')['directive'](_0x477d('0x4ab'),_0x4a5bcc);function _0x4a5bcc(_0x1eb849){return{'restrict':'E','replace':!![],'scope':{'onReply':'&','ngModel':'=','ctrlMethods':'=','pickerPosition':'=','search':'=','recentEmojis':'=','placeholder':'='},'template':_0x477d('0x4ac'),'link':function(_0xa8ea0d,_0x44feae){var _0x4224b8=_0x44feae['emojioneArea']({'pickerPosition':_0xa8ea0d[_0x477d('0x4ad')],'search':_0xa8ea0d[_0x477d('0x3fd')],'recentEmojis':_0xa8ea0d['recentEmojis'],'placeholder':_0x1eb849[_0x477d('0x45f')](_0xa8ea0d[_0x477d('0x4ae')]||'Type\x20a\x20message'),'attributes':{'spellcheck':!![]},'events':{'keypress':function(_0xa07a0f,_0x1c23f8){_0xa8ea0d[_0x477d('0x48e')]=this[_0x477d('0x4af')]();_0xa8ea0d[_0x477d('0x4b0')]({'event':_0x1c23f8,'body':this[_0x477d('0x4af')]()});},'emojibtn_click':function(){_0xa8ea0d[_0x477d('0x48e')]=this['getText']();}}});if(_0xa8ea0d[_0x477d('0x48e')]){_0x4224b8[0x0][_0x477d('0x4b1')][_0x477d('0x4b2')](_0xa8ea0d[_0x477d('0x48e')]);}_0xa8ea0d[_0x477d('0x4b3')]=_0xa8ea0d[_0x477d('0x4b4')]||{};_0xa8ea0d[_0x477d('0x4b3')][_0x477d('0x4b2')]=function(_0x3b56c4){_0x4224b8[0x0][_0x477d('0x4b1')][_0x477d('0x4b2')](_0x3b56c4);};_0xa8ea0d[_0x477d('0x4b3')]['getText']=function(){return _0x4224b8[0x0][_0x477d('0x4b1')]['getText']();};_0xa8ea0d[_0x477d('0x4b5')](_0x477d('0x48e'),function(_0x29d0c1){if(!_0x29d0c1){_0x4224b8[0x0][_0x477d('0x4b1')][_0x477d('0x4b2')]('');}});}};}}());(function(){'use strict';angular['module'](_0x477d('0x1'))[_0x477d('0x3ff')]('msFontFamily',_0x1ca73e);function _0x1ca73e(){return{'restrict':'E','scope':{'ngModel':'='},'controller':[_0x477d('0x474'),function(_0x49772d){_0x49772d[_0x477d('0x4b6')]=[{'option':_0x477d('0x4b7'),'value':_0x477d('0x4b8')},{'option':_0x477d('0x4b9'),'value':_0x477d('0x4ba')},{'option':_0x477d('0x4bb'),'value':_0x477d('0x4bc')},{'option':_0x477d('0x4bd'),'value':_0x477d('0x4be')},{'option':_0x477d('0x4bf'),'value':'Courier\x20New,Courier,monospace'},{'option':_0x477d('0x4c0'),'value':_0x477d('0x4c1')},{'option':'Lucida\x20Sans\x20Unicode','value':'Lucida\x20Sans\x20Unicode,Lucida\x20Grande,sans-serif'},{'option':'Tahoma','value':_0x477d('0x4c2')},{'option':_0x477d('0x4c3'),'value':_0x477d('0x4c4')},{'option':_0x477d('0x4c5'),'value':_0x477d('0x4c6')},{'option':'Verdana','value':_0x477d('0x4c7')}];}],'templateUrl':_0x477d('0x4c8')};}}());(function(){'use strict';angular[_0x477d('0xb')](_0x477d('0x1'))[_0x477d('0x3ba')](_0x477d('0x4c9'),_0x1ef7e5)[_0x477d('0x3ff')](_0x477d('0x4ca'),_0x49b946)[_0x477d('0x3ff')](_0x477d('0x4cb'),_0x20aef2);function _0x1ef7e5(){var _0x3799ff=this;_0x3799ff[_0x477d('0x4cc')]=[];_0x3799ff[_0x477d('0x4cd')]=0x0;_0x3799ff[_0x477d('0x4ce')]=_0x26d7c3;_0x3799ff[_0x477d('0x4cf')]=_0x45efbc;_0x3799ff[_0x477d('0x4d0')]=_0x5769ba;_0x3799ff[_0x477d('0x4d1')]=_0x3caaeb;_0x3799ff[_0x477d('0x4d2')]=_0x179241;_0x3799ff['totalSteps']=_0x4ba0a4;_0x3799ff['isFirstStep']=_0x11646f;_0x3799ff['isLastStep']=_0x89b762;_0x3799ff[_0x477d('0x4d3')]=_0x3ec63a;_0x3799ff[_0x477d('0x4d4')]=_0xa445b8;_0x3799ff[_0x477d('0x4d5')]=_0x384b39;_0x3799ff[_0x477d('0x4d6')]=_0x16971e;function _0x26d7c3(_0x230ffc){_0x3799ff[_0x477d('0x4cc')][_0x477d('0x3a7')](_0x230ffc);}function _0x45efbc(){if(_0x11646f()){return;}_0x3799ff['selectedIndex']--;}function _0x5769ba(){if(_0x89b762()){return;}_0x3799ff[_0x477d('0x4cd')]++;}function _0x3caaeb(){_0x3799ff['selectedIndex']=0x0;}function _0x179241(){_0x3799ff[_0x477d('0x4cd')]=_0x4ba0a4()-0x1;}function _0x4ba0a4(){return _0x3799ff[_0x477d('0x4cc')][_0x477d('0x79')];}function _0x11646f(){return _0x3799ff[_0x477d('0x4cd')]===0x0;}function _0x89b762(){return _0x3799ff['selectedIndex']===_0x4ba0a4()-0x1;}function _0x3ec63a(){return angular[_0x477d('0x4d7')](_0x3799ff[_0x477d('0x4cc')][_0x3799ff[_0x477d('0x4cd')]])&&_0x3799ff[_0x477d('0x4cc')][_0x3799ff[_0x477d('0x4cd')]][_0x477d('0x4d8')];}function _0xa445b8(){return _0x3799ff[_0x477d('0x4cd')]>0x0&&angular[_0x477d('0x4d7')](_0x3799ff[_0x477d('0x4cc')][_0x3799ff['selectedIndex']-0x1])&&_0x3799ff['forms'][_0x3799ff['selectedIndex']-0x1]['$invalid'];}function _0x384b39(){for(var _0x4626e2=0x0;_0x4626e2<_0x3799ff[_0x477d('0x4cc')]['length'];_0x4626e2++){if(_0x3799ff[_0x477d('0x4cc')][_0x4626e2][_0x477d('0x4d8')]){return!![];}}return![];}function _0x16971e(){_0x3799ff['selectedIndex']=0x0;for(var _0x153b48=0x0;_0x153b48<_0x3799ff[_0x477d('0x4cc')]['length'];_0x153b48++){_0x3799ff['forms'][_0x153b48][_0x477d('0x4d9')]();_0x3799ff[_0x477d('0x4cc')][_0x153b48][_0x477d('0x4da')]();}}}function _0x49b946(){return{'restrict':'E','scope':!![],'controller':_0x477d('0x4db'),'compile':function(_0x4a77c5){_0x4a77c5[_0x477d('0x3df')](_0x477d('0x4dc'));return function postLink(){};}};}function _0x20aef2(){return{'restrict':'A','require':[_0x477d('0x4dd'),_0x477d('0x4de')],'compile':function(_0x2bc4ca){_0x2bc4ca['addClass']('ms-form-wizard-form');return function postLink(_0x392ba8,_0x16a240,_0x19d93a,_0x4a4f42){var _0x405f32=_0x4a4f42[0x0],_0x258a12=_0x4a4f42[0x1];_0x258a12[_0x477d('0x4ce')](_0x405f32);};}};}}());(function(){'use strict';_0x468b6c[_0x477d('0xa')]=[_0x477d('0x475')];angular[_0x477d('0xb')](_0x477d('0x1'))['directive'](_0x477d('0x4df'),_0x468b6c);function _0x468b6c(_0x34df3c){return{'restrict':'E','scope':{'onClose':'&'},'transclude':!![],'templateUrl':_0x477d('0x4e0'),'link':function(_0x374c8b,_0x5885b0){var _0x527423=_0x34df3c[_0x477d('0x10a')]('ms-info-bar-active'),_0x33acb1=_0x477d('0x4e1');_0x527423[_0x477d('0x3df')](_0x33acb1);function _0x526a5c(){_0x527423['removeClass'](_0x33acb1);_0x5885b0[_0x477d('0x39c')]();if(_0x374c8b['onClose']){_0x374c8b[_0x477d('0x4e2')]();}_0x374c8b['$destroy']();}_0x374c8b[_0x477d('0x4e3')]=_0x526a5c;}};}}());(function(){'use strict';_0xda9da6[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x387'),'$mdMedia',_0x477d('0x3fe')];_0x76ded6[_0x477d('0xa')]=[_0x477d('0x3fe')];angular['module'](_0x477d('0x1'))[_0x477d('0x3ba')](_0x477d('0x4e4'),_0xda9da6)[_0x477d('0x3ff')](_0x477d('0x4e5'),_0x76ded6)[_0x477d('0x3ff')](_0x477d('0x4e6'),_0x3be96a);function _0xda9da6(_0x179a11,_0x21e447,_0x4490c5,_0x45d082){var _0x48c750=this,_0x3fede7={'columnCount':0x5,'respectItemOrder':![],'reLayoutDebounce':0x190,'responsive':{'md':0x3,'sm':0x2,'xs':0x1}},_0x2765cb=!![];_0x48c750[_0x477d('0x43c')]=null;_0x48c750[_0x477d('0x4e7')]=[];_0x48c750[_0x477d('0x4e8')]='';_0x48c750[_0x477d('0x4e9')]='';_0x48c750[_0x477d('0x4a6')]=[];_0x48c750[_0x477d('0x4ea')]=_0xd9d987;_0x48c750[_0x477d('0x4eb')]=_0x2ae9e7;_0x48c750['waitImagesLoaded']=_0x3518cc;function _0x2ae9e7(){_0x48c750[_0x477d('0x43c')]=!_0x48c750[_0x477d('0x43c')]?_0x3fede7:angular[_0x477d('0x3d1')](_0x3fede7,_0x48c750[_0x477d('0x43c')]);_0xd1f5b4();}_0x179a11[_0x477d('0x4ec')]('msMasonry:relayout',function(){_0xd9d987();});function _0x3518cc(_0x185db9,_0x5e89f3){if(typeof imagesLoaded!==_0x477d('0x4a4')){var _0x4eabbf=_0x21e447[_0x477d('0x4ed')](_0x185db9);_0x4eabbf['on'](_0x477d('0x4ee'),function(){_0x5e89f3();});}else{_0x5e89f3();}}function _0xd1f5b4(){_0x179a11[_0x477d('0x4b5')](function(){return _0x48c750['container'][_0x477d('0x4ef')]();},function(_0x1c5b95,_0x26a652){if(_0x1c5b95!==_0x26a652){_0xd9d987();}});}function _0xd9d987(){if(_0x2765cb){_0x45d082[_0x477d('0x4f0')](_0x2765cb);}_0x2765cb=_0x45d082(function(){_0x3702a0();_0x179a11[_0x477d('0x480')](_0x477d('0x4f1'));},_0x48c750[_0x477d('0x43c')][_0x477d('0x4f2')]);function _0x3702a0(){_0x48c750[_0x477d('0x4e8')]=_0x48c750[_0x477d('0x4e7')][0x0]['getBoundingClientRect']();_0x2a1a59();_0x179a11[_0x477d('0x480')](_0x477d('0x4f3'));_0x48c750[_0x477d('0x4a6')]=_0x48c750['container'][_0x477d('0x10a')](_0x477d('0x4f4'));var _0x56a554=Array[_0x477d('0x4f5')](null,new Array(_0x48c750[_0x477d('0x4f6')]))['map'](function(){return 0x0;});for(var _0x3f7293=0x0;_0x3f7293<_0x48c750[_0x477d('0x4a6')][_0x477d('0x79')];_0x3f7293++){var _0x513508=_0x48c750[_0x477d('0x4a6')][_0x3f7293],_0x1c82d1,_0x4e611b,_0x1d1672,_0x4c5169;_0x513508=angular['element'](_0x513508);if(_0x513508['scope']()){_0x513508['scope']()['$broadcast'](_0x477d('0x4f7'));}_0x513508[_0x477d('0x4f8')]({'width':_0x48c750[_0x477d('0x4e9')]});if(_0x48c750[_0x477d('0x43c')][_0x477d('0x4f9')]){_0x1d1672=_0x3f7293%_0x48c750[_0x477d('0x4f6')];_0x4c5169=_0x56a554[_0x1d1672];}else{_0x4c5169=Math[_0x477d('0x4fa')][_0x477d('0x4f5')](Math,_0x56a554);_0x1d1672=_0x56a554[_0x477d('0x477')](_0x4c5169);}_0x56a554[_0x1d1672]=_0x4c5169+_0x513508[0x0][_0x477d('0x4fb')]()['height'];_0x1c82d1=Math[_0x477d('0x4fc')](_0x1d1672*_0x48c750['columnWidth']);_0x4e611b=_0x4c5169;_0x513508[_0x477d('0x4f8')]({'transform':_0x477d('0x4fd')+_0x1c82d1+'px,'+_0x4e611b+_0x477d('0x4fe')});_0x513508[_0x477d('0x3df')](_0x477d('0x4ff'));if(_0x513508[_0x477d('0x500')]()){_0x513508[_0x477d('0x500')]()[_0x477d('0x480')]('msMasonryItem:finishReLayout');}}}}function _0x2a1a59(){_0x48c750[_0x477d('0x4f6')]=_0x48c750[_0x477d('0x43c')]['columnCount'];if(_0x4490c5('gt-md')){_0x48c750['columnCount']=_0x48c750['options']['columnCount'];}else if(_0x4490c5('md')){_0x48c750[_0x477d('0x4f6')]=_0x48c750[_0x477d('0x4f6')]>_0x48c750[_0x477d('0x43c')][_0x477d('0x501')]['md']?_0x48c750[_0x477d('0x43c')][_0x477d('0x501')]['md']:_0x48c750[_0x477d('0x4f6')];}else if(_0x4490c5('sm')){_0x48c750[_0x477d('0x4f6')]=_0x48c750[_0x477d('0x4f6')]>_0x48c750[_0x477d('0x43c')][_0x477d('0x501')]['sm']?_0x48c750[_0x477d('0x43c')][_0x477d('0x501')]['sm']:_0x48c750['columnCount'];}else{_0x48c750['columnCount']=_0x48c750[_0x477d('0x43c')][_0x477d('0x501')]['xs'];}_0x48c750[_0x477d('0x4e9')]=_0x48c750['containerPos'][_0x477d('0x4ef')]/_0x48c750['columnCount'];}}function _0x76ded6(_0x31c885){return{'restrict':_0x477d('0x502'),'controller':'msMasonryController','compile':_0x27b621};function _0x27b621(_0x1e64a2,_0x59df61){return{'pre':function preLink(_0x47e34e,_0xb49758,_0x1e1d7e,_0x37b84a){_0x37b84a['options']=angular['fromJson'](_0x59df61['options']||'{}');_0x37b84a[_0x477d('0x4e7')]=_0x1e64a2;},'post':function postLink(_0x2e1e8c,_0x5b2b7a,_0x530fdb,_0x9fffc6){_0x31c885(function(){_0x9fffc6[_0x477d('0x4eb')]();});}};}}function _0x3be96a(){return{'restrict':_0x477d('0x502'),'require':'^msMasonry','priority':0x1,'link':_0xca533e};function _0xca533e(_0x552824,_0x38db4e,_0x2a11db,_0x52b946){_0x52b946[_0x477d('0x503')](_0x38db4e,function(){_0x52b946['reLayout']();});_0x552824[_0x477d('0x4ec')]('msMasonryItem:finishReLayout',function(){_0x552824[_0x477d('0x4b5')](function(){return _0x38db4e[_0x477d('0x504')]();},function(_0x4c0c22,_0x4fe6bf){if(_0x4c0c22!==_0x4fe6bf){_0x52b946[_0x477d('0x4ea')]();}});});_0x38db4e['on'](_0x477d('0x505'),function(){_0x52b946[_0x477d('0x4ea')]();});}}}());(function(){'use strict';_0x3d9c9b[_0x477d('0xa')]=[_0x477d('0x474'),'$mdColorPalette',_0x477d('0x506'),'motionGenerator'];angular[_0x477d('0xb')]('app.core')[_0x477d('0x3ba')](_0x477d('0x507'),_0x3d9c9b)[_0x477d('0x3ff')]('msMaterialColorPicker',_0x56bd4d);function _0x3d9c9b(_0x4ef6c7,_0x4e00ea,_0x49ead9,_0x1733bb){var _0x5aafa8=this;_0x5aafa8['palettes']=_0x4e00ea;_0x5aafa8[_0x477d('0x508')]=![];_0x5aafa8[_0x477d('0x509')]=![];_0x4ef6c7[_0x477d('0x50a')]={};_0x5aafa8[_0x477d('0x50b')]=_0x4133a1;_0x5aafa8['selectColor']=_0x469e59;_0x5aafa8['removeColor']=_0x40fd3b;_0x4ef6c7['$watch'](_0x477d('0x48e'),_0x48b720);function _0x4133a1(_0x4b76ef,_0xc922b1){_0x5aafa8[_0x477d('0x508')]=_0x4b76ef;_0x5aafa8[_0x477d('0x509')]=_0xc922b1;}function _0x469e59(_0x8b0875,_0x4734fc){_0x4cdc7d(_0x8b0875,_0x4734fc);_0x2706e9();_0x49ead9[_0x477d('0x3bc')]();}function _0x40fd3b(){_0x5aafa8[_0x477d('0x50c')]={'palette':'','hue':'','class':''};_0x4133a1(![],![]);_0x2706e9();}function _0x48b720(){if(!_0x5aafa8[_0x477d('0x50d')][_0x477d('0x50e')]||_0x5aafa8[_0x477d('0x50d')]['$viewValue']===''){_0x40fd3b();return;}var _0x3875bc,_0x5a9c54;if(_0x5aafa8[_0x477d('0x50f')]===_0x477d('0x510')){var _0x12a952=_0x5aafa8[_0x477d('0x50d')][_0x477d('0x50e')]['split']('-');if(_0x12a952[_0x477d('0x79')]>=0x5){_0x3875bc=_0x12a952[0x1]+'-'+_0x12a952[0x2];_0x5a9c54=_0x12a952[0x3];}else{_0x3875bc=_0x12a952[0x1];_0x5a9c54=_0x12a952[0x2];}}else if(_0x5aafa8['msModelType']===_0x477d('0x511')){_0x3875bc=_0x5aafa8[_0x477d('0x50d')][_0x477d('0x50e')]['palette'];_0x5a9c54=_0x5aafa8[_0x477d('0x50d')]['$viewValue']['hue']||0x1f4;}_0x4cdc7d(_0x3875bc,_0x5a9c54);}function _0x4cdc7d(_0x1a8a1f,_0x2fd78b){_0x5aafa8['selectedColor']={'palette':_0x1a8a1f,'hue':_0x2fd78b,'class':'md-'+_0x1a8a1f+'-'+_0x2fd78b+_0x477d('0x512'),'bgColorValue':_0x1733bb[_0x477d('0x513')](_0x5aafa8['palettes'][_0x1a8a1f][_0x2fd78b]['value']),'fgColorValue':_0x1733bb['rgba'](_0x5aafa8['palettes'][_0x1a8a1f][_0x2fd78b][_0x477d('0x514')])};if(_0x5aafa8['msModelType']===_0x477d('0x511')&&!angular['equals'](_0x5aafa8['selectedColor'],_0x5aafa8['modelCtrl'][_0x477d('0x50e')])){_0x2706e9();}_0x4133a1(_0x1a8a1f,_0x5aafa8[_0x477d('0x515')][_0x1a8a1f]);_0x4ef6c7[_0x477d('0x50a')]=_0x5aafa8[_0x477d('0x50c')];}function _0x2706e9(){if(_0x5aafa8[_0x477d('0x50f')]==='class'){_0x5aafa8[_0x477d('0x50d')][_0x477d('0x516')](_0x5aafa8[_0x477d('0x50c')][_0x477d('0x510')]);}else if(_0x5aafa8['msModelType']===_0x477d('0x511')){_0x5aafa8['modelCtrl'][_0x477d('0x516')](_0x5aafa8[_0x477d('0x50c')]);}}}function _0x56bd4d(){return{'require':[_0x477d('0x517'),_0x477d('0x48e')],'restrict':'E','scope':{'ngModel':'=','msModelType':'@?'},'controller':_0x477d('0x518'),'transclude':!![],'templateUrl':_0x477d('0x519'),'link':function(_0x36ea48,_0x5b517f,_0xb7ab41,_0xaeb65,_0x2b4ac7){var _0x340261=_0xaeb65[0x0];_0x340261['modelCtrl']=_0xaeb65[0x1];_0x340261['msModelType']=_0x36ea48[_0x477d('0x50f')]||_0x477d('0x510');_0x2b4ac7(_0x36ea48,function(_0x28afe9){_0x28afe9=_0x28afe9[_0x477d('0x3b3')](function(_0x5a4e48,_0x5a03ea){return _0x5a03ea[_0x477d('0x51a')]===0x1?!![]:![];});if(_0x28afe9[_0x477d('0x79')]){_0x5b517f[_0x477d('0x10a')]('ms-color-picker-button')[_0x477d('0x51b')](_0x28afe9);}});}};}}());(function(){'use strict';_0x2ea15f['$inject']=[_0x477d('0x475'),_0x477d('0x3bd'),_0x477d('0x51c')];_0x5e8ea9[_0x477d('0xa')]=[_0x477d('0x3bd'),_0x477d('0x51d'),_0x477d('0x51c')];_0x20204d[_0x477d('0xa')]=[_0x477d('0x3bd'),'$q',_0x477d('0x51e'),_0x477d('0x3c4')];angular[_0x477d('0xb')]('app.core')[_0x477d('0x388')](_0x477d('0x51c'),_0x310c99)[_0x477d('0x3ff')](_0x477d('0x51f'),_0x2ea15f)[_0x477d('0x3ba')](_0x477d('0x520'),_0x146a68)[_0x477d('0x3ff')](_0x477d('0x521'),_0x5e8ea9)['directive']('msNavTitle',_0x4954d2)[_0x477d('0x3ff')](_0x477d('0x522'),_0x428e1e)[_0x477d('0x3ff')]('msNavToggle',_0x20204d);function _0x310c99(){var _0x3d054f={};var _0x50f00e={'setFoldable':_0x151fe0,'isNavFoldedOpen':_0x529164,'toggleFold':_0x2f4c80,'openFolded':_0x4fe38d,'closeFolded':_0x40d4dc};return _0x50f00e;function _0x151fe0(_0x1ba902,_0x3425af){_0x3d054f={'scope':_0x1ba902,'element':_0x3425af};}function _0x529164(){return _0x3d054f[_0x477d('0x500')][_0x477d('0x523')]();}function _0x2f4c80(){_0x3d054f[_0x477d('0x500')][_0x477d('0x524')]();}function _0x4fe38d(){_0x3d054f[_0x477d('0x500')]['openFolded']();}function _0x40d4dc(){_0x3d054f[_0x477d('0x500')]['closeFolded']();}}function _0x2ea15f(_0x2f8683,_0x2d3962,_0x2af0f7){return{'restrict':'A','link':function(_0x223beb,_0x41ebc8,_0x233d6e){var _0x222211=_0x233d6e[_0x477d('0x51f')]===_0x477d('0x2ee'),_0x557474=![],_0x579910=angular[_0x477d('0x398')](_0x2f8683[0x0][_0x477d('0x399')]),_0x3a5bb3=angular[_0x477d('0x398')](_0x477d('0x525')),_0x5f10ba=angular['element'](_0x477d('0x526')),_0x307a35=_0x41ebc8[_0x477d('0x374')]();_0x2af0f7[_0x477d('0x527')](_0x223beb,_0x41ebc8,_0x222211);if(_0x222211){_0x22c7c6();}else{_0x39daa9();}function _0x1b40e1(){return _0x557474;}function _0x56d4ca(){_0x222211=!_0x222211;if(_0x222211){_0x22c7c6();}else{_0x39daa9();}}function _0x22c7c6(){_0x579910[_0x477d('0x3df')](_0x477d('0x528'));_0x2d3962['$broadcast'](_0x477d('0x529'));_0x41ebc8[_0x477d('0x52a')](0x0);_0x307a35[_0x477d('0x40c')](_0x3a5bb3);_0x3a5bb3['on'](_0x477d('0x52b'),function(_0x865576){_0x4a5e32(_0x865576);_0x557474=!![];});}function _0x4a5e32(_0x9ff8ec){if(angular[_0x477d('0x4d7')](_0x9ff8ec)){_0x9ff8ec[_0x477d('0x52c')]();}_0x579910[_0x477d('0x3df')](_0x477d('0x52d'));_0x2d3962[_0x477d('0x480')](_0x477d('0x52e'));_0x307a35[_0x477d('0x10a')](_0x3a5bb3)[_0x477d('0x39c')]();_0x307a35['parent']()[_0x477d('0x40c')](_0x5f10ba);_0x5f10ba['on']('mouseenter\x20touchstart',function(_0x5ef29d){_0x33685f(_0x5ef29d);_0x557474=![];});}function _0x33685f(_0x58f556){if(angular[_0x477d('0x4d7')](_0x58f556)){_0x58f556['preventDefault']();}_0x2d3962[_0x477d('0x480')](_0x477d('0x529'));_0x41ebc8['scrollTop'](0x0);_0x579910[_0x477d('0x52f')](_0x477d('0x52d'));_0x307a35[_0x477d('0x374')]()[_0x477d('0x10a')](_0x5f10ba)[_0x477d('0x39c')]();_0x307a35[_0x477d('0x40c')](_0x3a5bb3);_0x3a5bb3['on']('mouseenter\x20touchstart',function(_0x52bcb0){_0x4a5e32(_0x52bcb0);_0x557474=!![];});}function _0x39daa9(){_0x579910[_0x477d('0x52f')]('ms-nav-folded\x20ms-nav-folded-open');_0x2d3962[_0x477d('0x480')](_0x477d('0x52e'));_0x41ebc8[_0x477d('0x530')]('mouseenter\x20mouseleave');}_0x223beb[_0x477d('0x524')]=_0x56d4ca;_0x223beb['openFolded']=_0x4a5e32;_0x223beb[_0x477d('0x531')]=_0x33685f;_0x223beb[_0x477d('0x523')]=_0x1b40e1;_0x223beb[_0x477d('0x4ec')](_0x477d('0x505'),function(){_0x3a5bb3[_0x477d('0x530')]('mouseenter\x20touchstart');_0x5f10ba[_0x477d('0x530')](_0x477d('0x52b'));_0x41ebc8['off'](_0x477d('0x532'));});}};}function _0x146a68(){var _0x832c2c=this,_0x3f9eec=![],_0x3a5ca8=[],_0x53d2fb=[];_0x832c2c['isDisabled']=_0x14b704;_0x832c2c['enable']=_0x2a2496;_0x832c2c[_0x477d('0x533')]=_0x384879;_0x832c2c[_0x477d('0x534')]=_0x214b2b;_0x832c2c[_0x477d('0x535')]=_0x5b39c5;_0x832c2c[_0x477d('0x536')]=_0x558424;_0x832c2c['clearLockedItems']=_0x280506;function _0x14b704(){return _0x3f9eec;}function _0x384879(){_0x3f9eec=!![];}function _0x2a2496(){_0x3f9eec=![];}function _0x214b2b(_0x582713,_0x1622b1){_0x3a5ca8[_0x477d('0x3a7')]({'element':_0x582713,'scope':_0x1622b1});}function _0x5b39c5(){return _0x53d2fb;}function _0x558424(_0x33f251,_0x2abeb4){_0x53d2fb['push']({'element':_0x33f251,'scope':_0x2abeb4});}function _0x280506(){_0x53d2fb=[];}}function _0x5e8ea9(_0x2476d2,_0x485b66,_0x1d8b43){return{'restrict':'E','scope':{},'controller':'MsNavController','compile':function(_0x492d24){_0x492d24['addClass'](_0x477d('0x537'));return function postLink(_0x14c0e7){_0x2476d2[_0x477d('0x480')](_0x477d('0x52e'));var _0x355485=_0x2476d2[_0x477d('0x4ec')](_0x477d('0x538'),function(){_0x2476d2['$broadcast'](_0x477d('0x52e'));_0x485b66[_0x477d('0x406')]('navigation')['then'](function(_0x27cbd7){_0x27cbd7[_0x477d('0x539')]();if(_0x1d8b43[_0x477d('0x523')]()){_0x1d8b43[_0x477d('0x531')]();}});});_0x14c0e7[_0x477d('0x4ec')](_0x477d('0x505'),function(){_0x355485();});};}};}function _0x4954d2(){return{'restrict':'A','compile':function(_0x48b889){_0x48b889['addClass']('ms-nav-title');return function postLink(){};}};}function _0x428e1e(){return{'restrict':'AE','compile':function(_0x104547){_0x104547[_0x477d('0x3df')](_0x477d('0x53a'));return function postLink(){};}};}function _0x20204d(_0x1a0241,_0x7e011d,_0x13d74f,_0x3258f3){return{'restrict':'A','require':_0x477d('0x53b'),'scope':!![],'compile':function(_0x5e0d47,_0x4f2598){_0x5e0d47['addClass']('ms-nav-toggle');if(angular['isUndefined'](_0x4f2598[_0x477d('0x53c')])){_0x4f2598[_0x477d('0x53c')]=!![];}_0x5e0d47['attr']('collapsed',_0x4f2598['collapsed']);return function postLink(_0x518454,_0x37a973,_0x1bd96d,_0x11c416){var _0x11d7d1={'expanded':_0x477d('0x53d'),'expandAnimation':'expand-animation','collapseAnimation':'collapse-animation'};var _0x4f6848=_0x37a973[_0x477d('0x10a')]('a');var _0x375712=[];var _0x5bd62e=/\(.*\)/g;angular[_0x477d('0x3b1')](_0x4f6848,function(_0x51f483){var _0x2ed24d=angular['element'](_0x51f483)['attr'](_0x477d('0x53e'));if(angular[_0x477d('0x3d3')](_0x2ed24d)){return;}_0x2ed24d=_0x2ed24d[_0x477d('0x409')](_0x5bd62e,'');_0x375712['push'](_0x2ed24d);});_0x11c416[_0x477d('0x534')](_0x37a973,_0x518454);_0x37a973[_0x477d('0x53f')]('.ms-nav-button')['on'](_0x477d('0x540'),_0x47bd7e);function _0x47bd7e(){if(_0x11c416[_0x477d('0x541')]()){return;}_0x11c416[_0x477d('0x533')]();if(_0x19bb51()){_0x11c416[_0x477d('0x542')]();_0x518454['$emit'](_0x477d('0x543'));_0x1a0241[_0x477d('0x480')](_0x477d('0x544'));_0x961821()['then'](function(){_0x11c416['enable']();});}else{_0x518454[_0x477d('0x480')](_0x477d('0x529'));}}_0x518454[_0x477d('0x4ec')](_0x477d('0x505'),function(){_0x37a973['children'](_0x477d('0x545'))['off']('click');});_0x518454[_0x477d('0x4ec')](_0x477d('0x544'),function(){var _0x366671=_0x11c416[_0x477d('0x535')]();var _0x23f822=![];angular['forEach'](_0x366671,function(_0x1dbbb3){if(angular[_0x477d('0x546')](_0x1dbbb3[_0x477d('0x500')],_0x518454)){_0x23f822=!![];}});if(_0x23f822){return;}_0x1cfdf3()['then'](function(){_0x11c416['enable']();});});_0x518454['$on'](_0x477d('0x529'),function(){_0x1cfdf3()['then'](function(){_0x11c416[_0x477d('0x547')]();});});_0x518454[_0x477d('0x4ec')](_0x477d('0x52e'),function(){var _0x111766=_0x3258f3[_0x477d('0x548')][_0x477d('0x94')];var _0x46f3c7=![];angular[_0x477d('0x3b1')](_0x375712,function(_0x340816){if(_0x111766===_0x340816){_0x46f3c7=!![];}});if(_0x46f3c7){_0x961821();}else{_0x1cfdf3();}});_0x518454[_0x477d('0x4ec')](_0x477d('0x543'),function(){_0x11c416[_0x477d('0x536')](_0x37a973,_0x518454);});function _0x19bb51(){return _0x37a973[_0x477d('0x549')]('collapsed')==='true';}function _0x5895b0(){return!_0x19bb51();}function _0x961821(){var _0x5eddb8=_0x7e011d[_0x477d('0x54a')]();if(_0x5895b0()){_0x5eddb8['reject']({'error':!![]});return _0x5eddb8['promise'];}_0x37a973[_0x477d('0x549')]('collapsed',![]);var _0x4f313d=angular[_0x477d('0x398')](_0x37a973[_0x477d('0x10a')](_0x477d('0x54b'))[0x0]);_0x4f313d[_0x477d('0x4f8')]({'position':_0x477d('0x54c'),'visibility':_0x477d('0x54d'),'display':'block','height':'auto'});var _0x34b3cf=_0x4f313d[0x0]['offsetHeight'];_0x4f313d[_0x477d('0x4f8')]({'position':'','visibility':'','display':'','height':''});_0x518454[_0x477d('0x54e')](function(){_0x13d74f[_0x477d('0x54f')](_0x4f313d,{'display':_0x477d('0x550'),'height':_0x477d('0x551')},{'height':_0x34b3cf+'px'},_0x11d7d1[_0x477d('0x552')])['then'](function(){_0x4f313d[_0x477d('0x3df')](_0x11d7d1['expanded']);_0x4f313d[_0x477d('0x4f8')]({'height':''});_0x5eddb8[_0x477d('0x5a')]({'success':!![]});});});return _0x5eddb8[_0x477d('0x553')];}function _0x1cfdf3(){var _0x120dd7=_0x7e011d['defer']();if(_0x19bb51()){_0x120dd7['reject']({'error':!![]});return _0x120dd7[_0x477d('0x553')];}_0x37a973[_0x477d('0x549')](_0x477d('0x53c'),!![]);var _0x18d272=angular[_0x477d('0x398')](_0x37a973[_0x477d('0x10a')]('ms-nav-toggle-items')[0x0]);var _0x1fe9ba=_0x18d272[0x0]['offsetHeight'];_0x518454[_0x477d('0x54e')](function(){_0x13d74f[_0x477d('0x54f')](_0x18d272,{'height':_0x1fe9ba+'px'},{'height':'0px'},_0x11d7d1['collapseAnimation'])[_0x477d('0x76')](function(){_0x18d272['removeClass'](_0x11d7d1[_0x477d('0x53d')]);_0x18d272[_0x477d('0x4f8')]({'display':'','height':''});_0x120dd7['resolve']({'success':!![]});});});return _0x120dd7['promise'];}};}};}}());(function(){'use strict';_0x4fd6eb['$inject']=[_0x477d('0x474'),'msNavigationService'];_0x1875d7['$inject']=[_0x477d('0x3bd'),_0x477d('0x3fe'),_0x477d('0x554'),_0x477d('0x555')];_0x30707b[_0x477d('0xa')]=['$scope',_0x477d('0x556'),_0x477d('0x3bd'),_0x477d('0x51e'),_0x477d('0x3c4'),_0x477d('0x555')];_0x836b7b[_0x477d('0xa')]=[_0x477d('0x555')];_0x44cbb4[_0x477d('0xa')]=['$scope',_0x477d('0x556'),'$rootScope','$state',_0x477d('0x555')];_0x9302f7[_0x477d('0xa')]=['$mdMedia'];angular[_0x477d('0xb')](_0x477d('0x1'))[_0x477d('0x48b')](_0x477d('0x555'),_0x51e892)[_0x477d('0x3ba')](_0x477d('0x557'),_0x4fd6eb)['directive']('msNavigation',_0x1875d7)[_0x477d('0x3ba')](_0x477d('0x558'),_0x30707b)[_0x477d('0x3ff')](_0x477d('0x559'),_0x2adfdb)[_0x477d('0x3ff')](_0x477d('0x55a'),_0x54044f)[_0x477d('0x3ff')](_0x477d('0x55b'),_0x836b7b)[_0x477d('0x3ba')](_0x477d('0x55c'),_0x44cbb4)[_0x477d('0x3ff')]('msNavigationHorizontalNode',_0x5ae878)[_0x477d('0x3ff')](_0x477d('0x55d'),_0x9302f7);function _0x51e892(){var _0x4dde21=angular[_0x477d('0x375')](['ng'])[_0x477d('0x376')](_0x477d('0x55e'));var _0x10921a=[];var _0x380d84=this;_0x380d84['saveItem']=_0x5e2422;_0x380d84[_0x477d('0x55f')]=_0x4b8aa6;_0x380d84[_0x477d('0x560')]=_0x59f836;function _0x5e2422(_0x4e22a3,_0x481eaa){if(!angular[_0x477d('0x561')](_0x4e22a3)){_0x4dde21[_0x477d('0x44a')](_0x477d('0x562'));return;}var _0x4cf4be=_0x4e22a3[_0x477d('0x472')]('.');var _0x1ffc12=_0x4cf4be[_0x4cf4be[_0x477d('0x79')]-0x1];var _0x467339=_0x35c1a7(_0x4cf4be);var _0x44f4b1=![];for(var _0x35b258=0x0;_0x35b258<_0x467339[_0x477d('0x79')];_0x35b258++){if(_0x467339[_0x35b258][_0x477d('0x563')]===_0x1ffc12){_0x44f4b1=_0x467339[_0x35b258];break;}}if(_0x44f4b1){angular[_0x477d('0x3d1')](_0x44f4b1,_0x481eaa);_0x44f4b1[_0x477d('0x564')]=_0x1d1c32(_0x44f4b1);}else{_0x481eaa[_0x477d('0x53f')]=[];if(angular[_0x477d('0x3d3')](_0x481eaa[_0x477d('0x565')])||!angular[_0x477d('0x566')](_0x481eaa['weight'])){_0x481eaa['weight']=0x1;}_0x481eaa['_id']=_0x1ffc12;_0x481eaa[_0x477d('0x567')]=_0x4e22a3;_0x481eaa['uisref']=_0x1d1c32(_0x481eaa);_0x467339[_0x477d('0x3a7')](_0x481eaa);}}function _0x4b8aa6(_0x520445){if(!angular[_0x477d('0x561')](_0x520445)){_0x4dde21['error'](_0x477d('0x562'));return;}var _0x11fca6=_0x10921a,_0xf7578e=_0x520445['split']('.');for(var _0x48b40b=0x0;_0x48b40b<_0xf7578e[_0x477d('0x79')];_0x48b40b++){var _0x47fde4=_0xf7578e[_0x48b40b];for(var _0x4f5410=0x0;_0x4f5410<_0x11fca6[_0x477d('0x79')];_0x4f5410++){if(_0x11fca6[_0x4f5410][_0x477d('0x563')]===_0x47fde4){if(_0x11fca6[_0x4f5410][_0x477d('0x567')]===_0x520445){_0x11fca6[_0x477d('0x45b')](_0x4f5410,0x1);return!![];}_0x11fca6=_0x11fca6[_0x4f5410][_0x477d('0x53f')];break;}}}return![];}function _0x59f836(_0xd9fef7){if(!_0xd9fef7){_0xd9fef7=_0x10921a;_0xd9fef7[_0x477d('0x568')](_0x29deda);}for(var _0x103ce2=0x0;_0x103ce2<_0xd9fef7['length'];_0x103ce2++){var _0x280422=_0xd9fef7[_0x103ce2][_0x477d('0x53f')];if(_0x280422[_0x477d('0x79')]>0x1){_0x280422[_0x477d('0x568')](_0x29deda);}if(_0x280422['length']>0x0){_0x59f836(_0x280422);}}}function _0x35c1a7(_0x2afaaf){var _0xe5a1b2=_0x10921a;if(_0x2afaaf['length']===0x1){return _0xe5a1b2;}_0x2afaaf[_0x477d('0x569')]();for(var _0x2a7485=0x0;_0x2a7485<_0x2afaaf[_0x477d('0x79')];_0x2a7485++){var _0x2509e3=_0x2afaaf[_0x2a7485],_0x597ea3=!![];for(var _0x1b514f=0x0;_0x1b514f<_0xe5a1b2['length'];_0x1b514f++){if(_0xe5a1b2[_0x1b514f]['_id']===_0x2509e3){_0xe5a1b2=_0xe5a1b2[_0x1b514f][_0x477d('0x53f')];_0x597ea3=![];break;}}if(_0x597ea3){var _0x4104b6={'_id':_0x2509e3,'_path':_0x2afaaf[_0x477d('0x3f6')]('.'),'title':_0x2509e3,'weight':0x1,'children':[]};_0xe5a1b2['push'](_0x4104b6);_0xe5a1b2=_0x4104b6[_0x477d('0x53f')];}}return _0xe5a1b2;}function _0x29deda(_0x21fee2,_0x4651b0){return parseInt(_0x21fee2[_0x477d('0x565')])-parseInt(_0x4651b0['weight']);}function _0x1d1c32(_0x4c4648){var _0x694296='';if(angular['isDefined'](_0x4c4648['state'])){_0x694296=_0x4c4648['state'];if(angular[_0x477d('0x4d7')](_0x4c4648[_0x477d('0x56a')])&&angular[_0x477d('0x56b')](_0x4c4648[_0x477d('0x56a')])){_0x694296=_0x694296+'('+angular[_0x477d('0x56c')](_0x4c4648[_0x477d('0x56a')])+')';}}return _0x694296;}this[_0x477d('0x3d2')]=function(){var _0x12b051=null,_0x1da4c6=null,_0x2abb75=null,_0x21188c=null;var _0x427650={'saveItem':_0x5e2422,'deleteItem':_0x4b8aa6,'sort':_0x59f836,'clearNavigation':_0x4d452b,'setActiveItem':_0x24f273,'getActiveItem':_0x5ff55b,'getNavigation':_0x6edae2,'getFlatNavigation':_0x43cb1c,'setNavigationScope':_0x50b83b,'setFolded':_0x139993,'getFolded':_0x4f350d,'setFoldedOpen':_0x23f36f,'getFoldedOpen':_0x55cea2,'toggleFolded':_0x4ec1cc};return _0x427650;function _0x4d452b(){_0x10921a=[];if(_0x1da4c6){_0x1da4c6['vm'][_0x477d('0x56d')]=_0x10921a;}}function _0x24f273(_0x4a395e,_0x141a26){_0x12b051={'node':_0x4a395e,'scope':_0x141a26};}function _0x5ff55b(){return _0x12b051;}function _0x6edae2(_0x479941){if(_0x479941){for(var _0x37a854=0x0;_0x37a854<_0x10921a[_0x477d('0x79')];_0x37a854++){if(_0x10921a[_0x37a854][_0x477d('0x563')]===_0x479941){return[_0x10921a[_0x37a854]];}}return null;}return _0x10921a;}function _0x43cb1c(_0x51b8b5){var _0x14df62=_0x6edae2(_0x51b8b5);return _0x12d89e(_0x14df62);}function _0x50b83b(_0x373184){_0x1da4c6=_0x373184;}function _0x139993(_0x4a4b58){_0x2abb75=_0x4a4b58;}function _0x4f350d(){return _0x2abb75;}function _0x23f36f(_0x559de0){_0x21188c=_0x559de0;}function _0x55cea2(){return _0x21188c;}function _0x4ec1cc(){_0x1da4c6[_0x477d('0x56e')]();}function _0x12d89e(_0x2676b6){var _0x4254fd=[];for(var _0x22b41a=0x0;_0x22b41a<_0x2676b6[_0x477d('0x79')];_0x22b41a++){var _0x2dd52e=angular['copy'](_0x2676b6[_0x22b41a]);_0x2dd52e['children']=[];_0x4254fd[_0x477d('0x3a7')](_0x2dd52e);if(_0x2676b6[_0x22b41a][_0x477d('0x53f')][_0x477d('0x79')]>0x0){_0x4254fd=_0x4254fd[_0x477d('0x3a9')](_0x12d89e(_0x2676b6[_0x22b41a]['children']));}}return _0x4254fd;}};}function _0x4fd6eb(_0x5d6040,_0x24de79){var _0x13d795=this;if(_0x5d6040[_0x477d('0x56f')]){_0x13d795[_0x477d('0x56d')]=_0x24de79[_0x477d('0x570')](_0x5d6040[_0x477d('0x56f')]);}else{_0x13d795[_0x477d('0x56d')]=_0x24de79[_0x477d('0x570')]();}_0x13d795['toggleHorizontalMobileMenu']=_0x1cbc6a;_0x228ba5();function _0x228ba5(){_0x24de79[_0x477d('0x568')]();}function _0x1cbc6a(){angular[_0x477d('0x398')](_0x477d('0x399'))[_0x477d('0x571')]('ms-navigation-horizontal-mobile-menu-active');}}function _0x1875d7(_0x41293d,_0x4b73e3,_0x544d67,_0x1ac667){return{'restrict':'E','scope':{'folded':'=','root':'@'},'controller':_0x477d('0x572'),'templateUrl':_0x477d('0x573'),'transclude':!![],'compile':function(_0x34bddd){_0x34bddd[_0x477d('0x3df')](_0x477d('0x574'));return function postLink(_0x23ecab,_0x2aec91){var _0x51a4f3=angular[_0x477d('0x398')]('body'),_0x198d6e=angular['element'](_0x477d('0x575')),_0x585d7b=angular[_0x477d('0x398')](_0x477d('0x576')),_0x2daaf1=_0x544d67(_0x477d('0x56d'));_0x1ac667['setNavigationScope'](_0x23ecab);_0x37577b();function _0x37577b(){if(_0x1ac667[_0x477d('0x577')]()===null){_0x1ac667['setFolded'](_0x23ecab[_0x477d('0x578')]);}if(_0x1ac667['getFolded']()){_0x4b73e3(function(){_0x41293d[_0x477d('0x480')](_0x477d('0x579'));});_0x51a4f3[_0x477d('0x3df')](_0x477d('0x57a'));_0x1ed255();}}_0x23ecab[_0x477d('0x4b5')](function(){return _0x2daaf1[_0x477d('0x57b')]();},function(_0x283c3d,_0x4b4f1f){if(angular[_0x477d('0x3d3')](_0x283c3d)||angular[_0x477d('0x546')](_0x283c3d,_0x4b4f1f)){return;}var _0x1ebae6=_0x1ac667[_0x477d('0x577')]();if(_0x1ebae6){if(_0x283c3d){_0x41293d[_0x477d('0x480')]('msNavigation::collapse');}else{var _0x4b7751=_0x1ac667[_0x477d('0x57c')]();if(_0x4b7751){_0x4b7751[_0x477d('0x500')][_0x477d('0x46b')](_0x477d('0x57d'));}}}});_0x23ecab[_0x477d('0x4b5')](_0x477d('0x578'),function(_0x3c3f89,_0x1abac3){if(angular['isUndefined'](_0x3c3f89)||angular['equals'](_0x3c3f89,_0x1abac3)){return;}_0x31f05f(_0x3c3f89);});function _0x31f05f(_0x142dd0){_0x1ac667[_0x477d('0x57e')](_0x142dd0);if(_0x142dd0){_0x41293d[_0x477d('0x480')](_0x477d('0x579'));_0x51a4f3[_0x477d('0x3df')](_0x477d('0x57a'));_0x1ed255();}else{var _0x3f0c11=_0x1ac667[_0x477d('0x57c')]();if(_0x3f0c11){_0x3f0c11[_0x477d('0x500')][_0x477d('0x46b')](_0x477d('0x57d'));}_0x51a4f3[_0x477d('0x52f')](_0x477d('0x57f'));_0xd30fe7();}}function _0x1ed255(){_0x2aec91[_0x477d('0x374')]()['append'](_0x198d6e);_0x4b73e3(function(){_0x198d6e['on'](_0x477d('0x52b'),_0x751e47);});}function _0x29ed5c(){_0x51a4f3['find'](_0x477d('0x580'))['append'](_0x585d7b);_0x585d7b['on'](_0x477d('0x52b'),_0x3688ff);}function _0xd30fe7(){_0x585d7b[_0x477d('0x39c')]();}function _0x751e47(_0x40579e){if(_0x40579e){_0x40579e[_0x477d('0x52c')]();}_0x1ac667[_0x477d('0x581')](!![]);var _0xb86327=_0x1ac667[_0x477d('0x57c')]();if(_0xb86327){_0xb86327[_0x477d('0x500')]['$emit'](_0x477d('0x57d'));}_0x51a4f3[_0x477d('0x3df')](_0x477d('0x582'));_0x198d6e['remove']();_0x29ed5c();}function _0x3688ff(_0x457f99){if(_0x457f99){_0x457f99['preventDefault']();}_0x1ac667[_0x477d('0x581')](![]);_0x41293d[_0x477d('0x480')]('msNavigation::collapse');_0x51a4f3[_0x477d('0x52f')](_0x477d('0x582'));_0x585d7b[_0x477d('0x39c')]();_0x1ed255();}_0x23ecab[_0x477d('0x56e')]=function(){var _0x3345c5=_0x1ac667[_0x477d('0x577')]();_0x31f05f(!_0x3345c5);};_0x23ecab[_0x477d('0x4ec')](_0x477d('0x583'),function(){_0x2daaf1['close']();});_0x23ecab[_0x477d('0x4ec')](_0x477d('0x505'),function(){_0x585d7b[_0x477d('0x530')](_0x477d('0x52b'));_0x198d6e['off'](_0x477d('0x52b'));});};}};}function _0x30707b(_0xc4e779,_0x8cabe2,_0xfcb562,_0x5d1d72,_0x2ae99c,_0x606d40){var _0x1c3e16=this;_0x1c3e16[_0x477d('0x398')]=_0x8cabe2;_0x1c3e16['node']=_0xc4e779[_0x477d('0x584')];_0x1c3e16[_0x477d('0x585')]=undefined;_0x1c3e16['collapsed']=undefined;_0x1c3e16[_0x477d('0x586')]=undefined;_0x1c3e16[_0x477d('0x587')]=undefined;_0x1c3e16[_0x477d('0x588')]=_0x477d('0x589');_0x1c3e16[_0x477d('0x58a')]=_0x1eaf27;_0x1c3e16[_0x477d('0x58b')]=_0x21245b;_0x1c3e16['expand']=_0x2c4211;_0x1c3e16[_0x477d('0x58c')]=_0x3d7000;_0x1c3e16[_0x477d('0x58d')]=_0x33a7d6;_0x231f95();function _0x231f95(){_0x1c3e16['hasChildren']=_0x1c3e16['node'][_0x477d('0x53f')][_0x477d('0x79')]>0x0;_0x1c3e16[_0x477d('0x587')]=!!(angular[_0x477d('0x4d7')](_0x1c3e16[_0x477d('0x584')][_0x477d('0x587')])&&_0x1c3e16[_0x477d('0x584')][_0x477d('0x587')]===!![]);if(!_0x1c3e16['hasChildren']||_0x1c3e16['group']){_0x1c3e16[_0x477d('0x586')]=![];}else{_0x1c3e16[_0x477d('0x586')]=!!(angular['isUndefined'](_0x1c3e16['node']['collapsable'])||typeof _0x1c3e16[_0x477d('0x584')]['collapsable']!==_0x477d('0x58e')||_0x1c3e16['node'][_0x477d('0x586')]===!![]);}if(!_0x1c3e16[_0x477d('0x586')]){_0x1c3e16[_0x477d('0x53c')]=![];}else{_0x1c3e16[_0x477d('0x53c')]=!!(angular[_0x477d('0x3d3')](_0x1c3e16[_0x477d('0x584')][_0x477d('0x53c')])||typeof _0x1c3e16[_0x477d('0x584')][_0x477d('0x53c')]!==_0x477d('0x58e')||_0x1c3e16[_0x477d('0x584')][_0x477d('0x53c')]===!![]);}if(_0x1c3e16[_0x477d('0x584')]['state']===_0x2ae99c[_0x477d('0x548')][_0x477d('0x94')]||_0x2ae99c[_0x477d('0x3a4')](_0x1c3e16[_0x477d('0x584')]['state'])){if(angular[_0x477d('0x4d7')](_0x1c3e16[_0x477d('0x584')][_0x477d('0x56a')])&&angular[_0x477d('0x4d7')](_0x2ae99c[_0x477d('0x37e')])&&!angular[_0x477d('0x546')](_0x1c3e16[_0x477d('0x584')][_0x477d('0x56a')],_0x2ae99c[_0x477d('0x37e')])){return;}_0xc4e779[_0x477d('0x46b')](_0x477d('0x57d'));_0x606d40[_0x477d('0x58f')](_0x1c3e16['node'],_0xc4e779);}_0xc4e779[_0x477d('0x4ec')](_0x477d('0x57d'),function(){if(_0x1c3e16['collapsable']&&_0x1c3e16[_0x477d('0x53c')]){_0xc4e779[_0x477d('0x54e')](function(){_0x1c3e16['collapsed']=![];});}});_0xc4e779[_0x477d('0x4ec')](_0x477d('0x579'),function(_0x2679ae,_0x45365d){if(_0x1c3e16[_0x477d('0x53c')]||!_0x1c3e16[_0x477d('0x586')]){return;}if(angular[_0x477d('0x3d3')](_0x45365d)){_0x1c3e16['collapse']();}else{var _0x2b29e7=_0x45365d[_0x477d('0x472')]('.'),_0x5c9120=[];var _0x917703=_0x606d40[_0x477d('0x57c')]();if(_0x917703){_0x5c9120=_0x917703[_0x477d('0x584')][_0x477d('0x567')][_0x477d('0x472')]('.');}if(_0x2b29e7[_0x477d('0x477')](_0x1c3e16[_0x477d('0x584')][_0x477d('0x563')])>-0x1){return;}if(_0x5c9120['indexOf'](_0x1c3e16[_0x477d('0x584')][_0x477d('0x563')])>-0x1){return;}_0x1c3e16[_0x477d('0x58b')]();}});_0xc4e779[_0x477d('0x4ec')]('$stateChangeSuccess',function(){if(_0x1c3e16['node'][_0x477d('0xe')]===_0x2ae99c[_0x477d('0x548')][_0x477d('0x94')]){if(angular[_0x477d('0x4d7')](_0x1c3e16['node'][_0x477d('0x56a')])&&angular[_0x477d('0x4d7')](_0x2ae99c[_0x477d('0x37e')])&&!angular['equals'](_0x1c3e16[_0x477d('0x584')]['stateParams'],_0x2ae99c[_0x477d('0x37e')])){return;}_0x606d40[_0x477d('0x58f')](_0x1c3e16[_0x477d('0x584')],_0xc4e779);_0xfcb562[_0x477d('0x480')](_0x477d('0x579'),_0x1c3e16[_0x477d('0x584')]['_path']);}if(_0x2ae99c[_0x477d('0x3a4')](_0x1c3e16['node'][_0x477d('0xe')])){if(angular[_0x477d('0x4d7')](_0x1c3e16['node']['stateParams'])&&angular['isDefined'](_0x2ae99c[_0x477d('0x37e')])&&!angular[_0x477d('0x546')](_0x1c3e16[_0x477d('0x584')][_0x477d('0x56a')],_0x2ae99c[_0x477d('0x37e')])){return;}_0xc4e779[_0x477d('0x46b')](_0x477d('0x57d'));}});}function _0x1eaf27(){if(_0x1c3e16[_0x477d('0x53c')]){_0x1c3e16[_0x477d('0x590')]();}else{_0x1c3e16[_0x477d('0x58b')]();}}function _0x21245b(){var _0x5d5fe1=_0x1c3e16[_0x477d('0x398')][_0x477d('0x53f')]('ul');var _0x1009de=_0x5d5fe1[0x0][_0x477d('0x591')];_0xc4e779[_0x477d('0x54e')](function(){_0x1c3e16[_0x477d('0x53c')]=!![];_0x1c3e16[_0x477d('0x398')]['addClass'](_0x477d('0x592'));_0x5d1d72['animate'](_0x5d5fe1,{'display':'block','height':_0x1009de+'px'},{'height':'0px'},_0x1c3e16[_0x477d('0x588')])[_0x477d('0x76')](function(){_0x5d5fe1[_0x477d('0x4f8')]({'display':'','height':''});_0x1c3e16[_0x477d('0x398')][_0x477d('0x52f')](_0x477d('0x592'));});_0xc4e779[_0x477d('0x480')](_0x477d('0x579'));});}function _0x2c4211(){var _0x2b4592=_0x1c3e16[_0x477d('0x398')][_0x477d('0x53f')]('ul');_0x2b4592[_0x477d('0x4f8')]({'position':_0x477d('0x54c'),'visibility':_0x477d('0x54d'),'display':_0x477d('0x550'),'height':_0x477d('0x593')});var _0x445117=_0x2b4592[0x0][_0x477d('0x591')];_0x2b4592['css']({'position':'','visibility':'','display':'','height':''});_0xc4e779['$evalAsync'](function(){_0x1c3e16['collapsed']=![];_0x1c3e16[_0x477d('0x398')][_0x477d('0x3df')](_0x477d('0x594'));_0x5d1d72[_0x477d('0x54f')](_0x2b4592,{'display':_0x477d('0x550'),'height':_0x477d('0x551')},{'height':_0x445117+'px'},_0x1c3e16['animateHeightClass'])[_0x477d('0x76')](function(){_0x2b4592[_0x477d('0x4f8')]({'height':''});_0x1c3e16[_0x477d('0x398')][_0x477d('0x52f')](_0x477d('0x594'));});_0xfcb562['$broadcast'](_0x477d('0x579'),_0x1c3e16['node'][_0x477d('0x567')]);});}function _0x3d7000(){return _0x1c3e16[_0x477d('0x584')][_0x477d('0x510')];}function _0x33a7d6(){if(angular['isDefined'](_0x1c3e16['node'][_0x477d('0x54d')])&&angular['isFunction'](_0x1c3e16[_0x477d('0x584')]['hidden'])){return _0x1c3e16['node'][_0x477d('0x54d')]();}return![];}}function _0x2adfdb(){return{'restrict':'A','bindToController':{'node':'=msNavigationNode'},'controller':'MsNavigationNodeController\x20as\x20vm','compile':function(_0x3218c4){_0x3218c4[_0x477d('0x3df')](_0x477d('0x595'));return function postLink(_0x156459,_0x45c854,_0x62f7fa,_0x2f1393){_0x45c854['addClass'](_0x2f1393[_0x477d('0x58c')]());if(_0x2f1393[_0x477d('0x587')]){_0x45c854[_0x477d('0x3df')](_0x477d('0x587'));}};}};}function _0x54044f(){return{'restrict':'A','require':_0x477d('0x596'),'compile':function(_0x1a2930){_0x1a2930['addClass'](_0x477d('0x597'));return function postLink(_0x26b7fc,_0x4867a7,_0x5ab2fe,_0x267fd4){if(_0x267fd4['collapsable']){_0x4867a7['on'](_0x477d('0x540'),_0x267fd4[_0x477d('0x58a')]);}_0x26b7fc[_0x477d('0x4ec')](_0x477d('0x505'),function(){_0x4867a7[_0x477d('0x530')](_0x477d('0x540'));});};}};}function _0x836b7b(_0x9059e2){return{'restrict':'E','scope':{'root':'@'},'controller':_0x477d('0x572'),'templateUrl':_0x477d('0x598'),'transclude':!![],'compile':function(_0x3e17a7){_0x3e17a7[_0x477d('0x3df')](_0x477d('0x599'));return function postLink(_0x2a404d){_0x9059e2[_0x477d('0x59a')](_0x2a404d);};}};}function _0x44cbb4(_0x1ff019,_0x549c4f,_0xa957a0,_0x5c3916,_0x12f5d2){var _0x4a64b6=this;_0x4a64b6[_0x477d('0x398')]=_0x549c4f;_0x4a64b6[_0x477d('0x584')]=_0x1ff019['node'];_0x4a64b6[_0x477d('0x585')]=undefined;_0x4a64b6[_0x477d('0x587')]=undefined;_0x4a64b6[_0x477d('0x58c')]=_0x457e55;_0x12a4ea();function _0x12a4ea(){_0x4a64b6[_0x477d('0x59b')]=![];_0x4a64b6['hasChildren']=_0x4a64b6[_0x477d('0x584')][_0x477d('0x53f')][_0x477d('0x79')]>0x0;_0x4a64b6[_0x477d('0x587')]=!!(angular['isDefined'](_0x4a64b6[_0x477d('0x584')]['group'])&&_0x4a64b6[_0x477d('0x584')][_0x477d('0x587')]===!![]);if(_0x4a64b6[_0x477d('0x584')][_0x477d('0xe')]===_0x5c3916[_0x477d('0x548')][_0x477d('0x94')]||_0x5c3916[_0x477d('0x3a4')](_0x4a64b6[_0x477d('0x584')]['state'])){if(angular[_0x477d('0x4d7')](_0x4a64b6[_0x477d('0x584')][_0x477d('0x56a')])&&angular[_0x477d('0x4d7')](_0x5c3916[_0x477d('0x37e')])&&!angular[_0x477d('0x546')](_0x4a64b6[_0x477d('0x584')]['stateParams'],_0x5c3916[_0x477d('0x37e')])){return;}_0x1ff019[_0x477d('0x46b')](_0x477d('0x57d'));_0x12f5d2[_0x477d('0x58f')](_0x4a64b6[_0x477d('0x584')],_0x1ff019);}_0x1ff019[_0x477d('0x4ec')](_0x477d('0x57d'),function(){if(_0x4a64b6['hasChildren']){_0x1ff019['$evalAsync'](function(){_0x4a64b6[_0x477d('0x59b')]=!![];});}});_0x1ff019[_0x477d('0x4ec')](_0x477d('0x59c'),function(){if(!_0x4a64b6[_0x477d('0x585')]){return;}var _0x10175b=[];var _0x12f3f9=_0x12f5d2['getActiveItem']();if(_0x12f3f9){_0x10175b=_0x12f3f9[_0x477d('0x584')]['_path'][_0x477d('0x472')]('.');}if(_0x10175b[_0x477d('0x477')](_0x4a64b6[_0x477d('0x584')][_0x477d('0x563')])>-0x1){_0x1ff019[_0x477d('0x54e')](function(){_0x4a64b6[_0x477d('0x59b')]=!![];});}else{_0x1ff019[_0x477d('0x54e')](function(){_0x4a64b6[_0x477d('0x59b')]=![];});}});_0x1ff019[_0x477d('0x4ec')](_0x477d('0x538'),function(){if(_0x4a64b6[_0x477d('0x584')]['state']===_0x5c3916[_0x477d('0x548')][_0x477d('0x94')]||_0x5c3916[_0x477d('0x3a4')](_0x4a64b6[_0x477d('0x584')][_0x477d('0xe')])){if(angular[_0x477d('0x4d7')](_0x4a64b6[_0x477d('0x584')][_0x477d('0x56a')])&&angular[_0x477d('0x4d7')](_0x5c3916[_0x477d('0x37e')])&&!angular[_0x477d('0x546')](_0x4a64b6[_0x477d('0x584')]['stateParams'],_0x5c3916['params'])){return;}_0x12f5d2[_0x477d('0x58f')](_0x4a64b6[_0x477d('0x584')],_0x1ff019);_0xa957a0[_0x477d('0x480')](_0x477d('0x59c'));}});}function _0x457e55(){return _0x4a64b6['node'][_0x477d('0x510')];}}function _0x5ae878(){return{'restrict':'A','bindToController':{'node':_0x477d('0x59d')},'controller':'MsNavigationHorizontalNodeController\x20as\x20vm','compile':function(_0x142760){_0x142760[_0x477d('0x3df')](_0x477d('0x59e'));return function postLink(_0x45aa7f,_0x14061c,_0x34259d,_0x515ca){_0x14061c['addClass'](_0x515ca['getClass']());if(_0x515ca['group']){_0x14061c[_0x477d('0x3df')](_0x477d('0x587'));}};}};}function _0x9302f7(_0x4b91b7){return{'restrict':'A','require':_0x477d('0x59f'),'compile':function(_0xfbc6fa){_0xfbc6fa['addClass'](_0x477d('0x5a0'));return function postLink(_0xd58662,_0x5839d7,_0x2bf813,_0x35b684){_0x5839d7['on'](_0x477d('0x540'),_0x3334fe);function _0x3334fe(){if(!_0x35b684[_0x477d('0x585')]||_0x4b91b7('gt-md')){return;}_0x5839d7[_0x477d('0x571')](_0x477d('0x53d'));}_0xd58662[_0x477d('0x4ec')](_0x477d('0x505'),function(){_0x5839d7['off'](_0x477d('0x540'));});};}};}}());(function(){'use strict';_0x6e9865['$inject']=['$scope',_0x477d('0x475'),_0x477d('0x3fe'),'$interval',_0x477d('0x384'),'$mdToast',_0x477d('0x387'),_0x477d('0x40d'),_0x477d('0x5a1'),_0x477d('0x40e'),_0x477d('0x386'),_0x477d('0x5a2'),'Auth',_0x477d('0x5a3')];function _0x6e9865(_0x59cb26,_0x5205d3,_0x38c2a4,_0x7d88a9,_0x16e424,_0x59f3be,_0x4793d6,_0x321c97,_0x5e52de,_0x4e8277,_0x313200,_0x2265fb,_0x564bbe,_0x35bd95){var _0x9d7929=this;var _0x233924=[_0x477d('0x5a4'),_0x477d('0x5a5'),_0x477d('0x5a6'),_0x477d('0x5a7'),_0x477d('0x5a8'),'microphoneVolume',_0x477d('0x5a9'),_0x477d('0x5aa'),_0x477d('0x5ab')];var _0x1e704d=JSON[_0x477d('0x77')](_0x4793d6[_0x477d('0x39d')][_0x477d('0x3f8')](_0x477d('0x5ac')+_0x9d7929['conf']['id']))||{'webrtc':{'ringingVolume':0.5,'speakerVolume':0.5,'microphoneVolume':0x1,'ringingMute':![],'speakerMute':![],'microphoneMute':![]}};_0x7d88a9(function(){},0x3e7);_0x9d7929['direction']=_0x477d('0x5ad');_0x9d7929['selectedMode']=_0x477d('0x5ae');_0x9d7929[_0x477d('0x378')]='';_0x9d7929[_0x477d('0x5af')]=![];_0x9d7929[_0x477d('0x5b0')]=document['createElement'](_0x477d('0x498'));_0x9d7929[_0x477d('0x5b1')]=document[_0x477d('0x5b2')](_0x9d7929['conf'][_0x477d('0x5b3')]);_0x9d7929[_0x477d('0x5b0')][_0x477d('0x5b4')]=0x1;_0x9d7929[_0x477d('0x5b5')]={'mediaConstraints':{'audio':!![],'video':![]},'pcConfig':{'iceServers':[]}};_0x9d7929['sessions']=[];_0x9d7929[_0x477d('0x5b6')]=[];_0x9d7929[_0x477d('0x5b7')]=[];_0x9d7929[_0x477d('0x5b8')]=![];_0x9d7929[_0x477d('0x5b9')]=![];_0x9d7929[_0x477d('0x5ba')]=[];_0x9d7929['ua']=new JsSIP['UA']({'sockets':[new JsSIP[(_0x477d('0x5bb'))](_0x477d('0x5bc')+_0x9d7929['conf']['host']+_0x477d('0x5bd'))],'uri':new JsSIP[(_0x477d('0x5be'))](_0x477d('0x5bf'),_0x9d7929['conf'][_0x477d('0x94')],_0x9d7929['conf'][_0x477d('0x3c9')],0x13c4,null,null)['toString'](),'authorization_user':_0x9d7929[_0x477d('0x5c0')][_0x477d('0x94')],'ha1':_0x9d7929[_0x477d('0x5c0')][_0x477d('0x5c1')],'realm':_0x9d7929[_0x477d('0x5c0')][_0x477d('0x5c2')],'user_agent':_0x9d7929[_0x477d('0x5c0')]['ua'],'session_timers_refresh_method':_0x477d('0x5c3'),'register_expires':_0x9d7929['conf'][_0x477d('0x5c4')]||0x3c,'register':!![]});_0x9d7929[_0x477d('0x5c0')]=_[_0x477d('0xef')](_0x1e704d['webrtc'],_0x9d7929[_0x477d('0x5c0')]);_0x9d7929[_0x477d('0x5c5')]=![];_0x9d7929[_0x477d('0x5c6')]=![];_0x9d7929[_0x477d('0x5c7')]=![];_0x9d7929[_0x477d('0x5c8')]=null;_0x9d7929['jabraClicked']=![];_0x9d7929[_0x477d('0x5c9')]=![];_0x9d7929[_0x477d('0x5ca')]=![];function _0x55db0c(){_0x5e1914(![]);navigator[_0x477d('0x5cb')]['ondevicechange']=function(_0xb4b5bf){if(!_0x9d7929[_0x477d('0x5c5')]){_0x9d7929[_0x477d('0x5c5')]=!![];if(jabra&&_0x9d7929['isJabraInitialized']){jabra['shutdown']()[_0x477d('0x76')](function(){_0x9d7929['isJabraInitialized']=![];_0x9d7929['isJabraEnabled']=![];_0x5e1914(!![]);})[_0x477d('0xf8')](function(_0x37421d){console[_0x477d('0x44a')](_0x477d('0x5cc'),_0x37421d);});}else{_0x5e1914(!![]);}}};var _0x27551b=[_0x313200[_0x477d('0x5cd')][_0x477d('0x376')]({'type':_0x477d('0x5ce'),'nolimit':!![]})[_0x477d('0x38b')],_0x313200[_0x477d('0x5cd')]['get']({'type':_0x477d('0x5cf'),'nolimit':!![]})[_0x477d('0x38b')]];Promise['all'](_0x27551b)[_0x477d('0x76')](function(_0x3a1a52){var _0x3ecf9b=_0x3a1a52[0x0][_0x477d('0xf2')];var _0x57e138=_0x3a1a52[0x1][_0x477d('0xf2')];var _0x195993=[];var _0x1294cc=[];_0x57e138[_0x477d('0x3b1')](function(_0x43eb36){_0x1294cc['push'](_0x477d('0x5d0')+_0x43eb36[_0x477d('0x3b6')]);});_0x195993[_0x477d('0x3a7')]({'urls':_0x1294cc});_0x3ecf9b[_0x477d('0x3b1')](function(_0x340c10){var _0x8a5798={'urls':_0x477d('0x5d1')+_0x340c10['value']};if(_0x340c10[_0x477d('0x5d2')]){_0x8a5798['username']=_0x340c10['username'];}if(_0x340c10[_0x477d('0x5d3')]){_0x8a5798[_0x477d('0x5d4')]=_0x340c10['password'];}_0x195993['push'](_0x8a5798);});_0x9d7929[_0x477d('0x5b5')]['pcConfig']={'iceServers':_0x195993};});this['ua']['on'](_0x477d('0x5d5'),_0x424f31[_0x477d('0x5d6')](this));this['ua']['on'](_0x477d('0x5d7'),_0x1e3132['bind'](this));this['ua']['on']('newRTCSession',_0x4ebd2c[_0x477d('0x5d6')](this));_0x35bd95['on'](_0x477d('0x5d8'),_0x95f170[_0x477d('0x5d6')](this));_0x35bd95['on']('webbar:hangup',_0x451bc0[_0x477d('0x5d6')](this));_0x35bd95['on'](_0x477d('0x5d9'),_0xae0c50['bind'](this));_0x35bd95['on'](_0x477d('0x5da'),_0x3b1a47[_0x477d('0x5d6')](this));_0x35bd95['on'](_0x477d('0x5db'),_0x1400b7[_0x477d('0x5d6')](this));_0x35bd95['on'](_0x477d('0x5dc'),_0x238168[_0x477d('0x5d6')](this));}function _0x5e1914(_0x3c09d2){var _0x4491cd,_0x5f1b2c,_0x116f0d;_0x9d7929[_0x477d('0x5c5')]=!![];return navigator[_0x477d('0x5cb')][_0x477d('0x5dd')]({'audio':!![]})[_0x477d('0x76')](function(_0x23b312){_0x23b312[_0x477d('0x5de')]()[_0x477d('0x3b1')](function(_0x4b7bed){_0x4b7bed[_0x477d('0x5df')]();});return navigator[_0x477d('0x5cb')][_0x477d('0x5e0')]();})[_0x477d('0x76')](function(_0x2839f2){var _0x260c58=_[_0x477d('0x3b3')](_0x2839f2,function(_0x3f81b8){return _0x3f81b8[_0x477d('0x5e1')]==='audioinput'&&(_0x3f81b8[_0x477d('0x5e2')]!==_0x477d('0x5e3')&&_0x3f81b8['deviceId']!==_0x477d('0x5e4'));});if(_0x260c58[_0x477d('0x79')]>0x0){var _0x4d7a71=_[_0x477d('0x10a')](_0x2839f2,function(_0x548c56){return _0x548c56[_0x477d('0x5e2')]===_0x477d('0x5e3')&&_0x548c56[_0x477d('0x5e1')]==='audioinput';});_0x116f0d=_[_0x477d('0x10a')](_0x260c58,function(_0x29dd8b){return _0x29dd8b[_0x477d('0x5e5')]===_0x4d7a71[_0x477d('0x5e5')];});if(_0x9d7929[_0x477d('0x5c0')]['microphoneId']&&!_0x3c09d2){var _0x4bcfa2=_[_0x477d('0x10a')](_0x260c58,function(_0x5be914){return _0x5be914['deviceId']===_0x9d7929[_0x477d('0x5c0')][_0x477d('0x5a6')];});if(_0x4bcfa2){_0x116f0d=_0x4bcfa2;}}_0x9d7929[_0x477d('0x5c0')][_0x477d('0x5a6')]=_0x116f0d[_0x477d('0x5e2')];}else{_0x4e8277['warning']({'title':_0x321c97['instant'](_0x477d('0x5e6')),'msg':_0x321c97[_0x477d('0x45f')]('TOOLBAR.WEBRTC_MICROPHONE_NOT_AVAILABLE'),'clickToClose':!![],'showClose':!![],'shake':![],'timeout':![],'position':_0x477d('0x5e7')});}if(_0x9d7929['conf'][_0x477d('0x5a6')]){_0x9d7929[_0x477d('0x5b5')][_0x477d('0x5e8')][_0x477d('0x498')]={'deviceId':_0x9d7929['conf']['microphoneId']};}else{_0x9d7929[_0x477d('0x5b5')]['mediaConstraints'][_0x477d('0x498')]=!![];}_0x220b3a(_0x477d('0x5e9'),![]);var _0x16eab8=_[_0x477d('0x3b3')](_0x2839f2,function(_0x34a039){return _0x34a039[_0x477d('0x5e1')]===_0x477d('0x5ea')&&(_0x34a039[_0x477d('0x5e2')]!==_0x477d('0x5e3')&&_0x34a039[_0x477d('0x5e2')]!=='communications');});if(_0x16eab8[_0x477d('0x79')]>0x0){var _0x2024bb=_[_0x477d('0x10a')](_0x2839f2,function(_0xc403de){return _0xc403de[_0x477d('0x5e2')]==='default'&&_0xc403de['kind']==='audiooutput';});_0x5f1b2c=_0x4491cd=_[_0x477d('0x10a')](_0x16eab8,function(_0xac59c9){return _0xac59c9[_0x477d('0x5e5')]===_0x2024bb['groupId'];});if(_0x9d7929[_0x477d('0x5c0')][_0x477d('0x5a5')]&&!_0x3c09d2){var _0x43900d=_[_0x477d('0x10a')](_0x16eab8,function(_0x51986b){return _0x51986b['deviceId']===_0x9d7929[_0x477d('0x5c0')]['speakerId'];});if(_0x43900d){_0x5f1b2c=_0x43900d;}}_0x9d7929[_0x477d('0x5c0')][_0x477d('0x5a5')]=_0x5f1b2c[_0x477d('0x5e2')];if(_0x9d7929[_0x477d('0x5c0')][_0x477d('0x5a4')]&&!_0x3c09d2){var _0x29b4ec=_[_0x477d('0x10a')](_0x16eab8,function(_0x11cbf6){return _0x11cbf6[_0x477d('0x5e2')]===_0x9d7929['conf'][_0x477d('0x5a4')];});if(_0x29b4ec){_0x4491cd=_0x29b4ec;}}_0x9d7929[_0x477d('0x5c0')][_0x477d('0x5a4')]=_0x4491cd['deviceId'];}else{_0x4e8277['warning']({'title':_0x321c97[_0x477d('0x45f')](_0x477d('0x5e6')),'msg':_0x321c97['instant'](_0x477d('0x5eb')),'clickToClose':!![],'showClose':!![],'shake':![],'timeout':![],'position':'bottom-right'});}return _0x220b3a(_0x477d('0x5ec'),![]);})[_0x477d('0x76')](function(){return _0x220b3a(_0x477d('0x5ed'),![]);})[_0x477d('0x76')](function(){if(jabra){return jabra[_0x477d('0x5ee')]()['then'](function(){_0x9d7929[_0x477d('0x5c7')]=!![];return jabra[_0x477d('0x5ef')]();})[_0x477d('0x76')](function(_0x133cb4){return jabra[_0x477d('0x5f0')]();})[_0x477d('0x76')](function(_0x468b77){if(_0x116f0d&&_0x5f1b2c&&_0x4491cd&&_0x468b77){if(_['includes']([_0x116f0d[_0x477d('0x5e5')],_0x5f1b2c['groupId'],_0x4491cd[_0x477d('0x5e5')]],_0x468b77['deviceInfo'][_0x477d('0x5f1')])){console[_0x477d('0x7b')]('Jabra\x20library\x20correctly\x20initialized\x20and\x20device\x20correctly\x20installed');_0x9d7929[_0x477d('0x5c6')]=!![];jabra[_0x477d('0x5f2')]();jabra['addEventListener'](_0x477d('0x5f3'),_0x5435d7[_0x477d('0x5d6')](this));jabra[_0x477d('0x5f4')](_0x477d('0x5f5'),_0x2836db[_0x477d('0x5d6')](this));jabra[_0x477d('0x5f4')](_0x477d('0x5f6'),_0x20a685[_0x477d('0x5d6')](this));jabra[_0x477d('0x5f4')](_0x477d('0x5f7'),_0x222db3[_0x477d('0x5d6')](this));jabra[_0x477d('0x5f4')](_0x477d('0x5f8'),_0x14c269['bind'](this));}}})[_0x477d('0xf8')](function(_0x306309){console[_0x477d('0x5f9')](_0x477d('0x5fa'),_0x306309);});}})[_0x477d('0xf8')](function(_0x42c461){console[_0x477d('0x44a')](_0x477d('0x5fb'),_0x42c461);if(_0x42c461[_0x477d('0x94')]===_0x477d('0x5fc')){_0x4e8277[_0x477d('0x5fd')]({'title':_0x321c97[_0x477d('0x45f')](_0x477d('0x5e6')),'msg':_0x321c97[_0x477d('0x45f')](_0x477d('0x5fe')),'clickToClose':!![],'showClose':!![],'shake':![],'timeout':![],'position':_0x477d('0x5e7')});}})[_0x477d('0x5ff')](function(){_0x9d7929['initDeviceInProgress']=![];_0x197ce4();DetectRTC[_0x477d('0x600')](_0x2b63c0['bind'](this));});}function _0x5435d7(_0x3bb72c){var _0x5a9df7=_[_0x477d('0x601')](_0x9d7929[_0x477d('0x602')]);if(_0x5a9df7){if(_0x5a9df7[_0x477d('0x603')]==='incoming'&&_0x5a9df7[_0x477d('0x604')]()){_0x9d7929[_0x477d('0x605')](_0x5a9df7);}else{console['error'](_0x477d('0x606'),_0x3bb72c);}}else{console[_0x477d('0x44a')](_0x477d('0x607'),_0x3bb72c);}}function _0x2836db(_0x37652e){_0x9d7929[_0x477d('0x5c0')][_0x477d('0x5ab')]=!![];_0x220b3a('microphone',!![]);}function _0x20a685(_0x29f258){_0x9d7929[_0x477d('0x5c0')][_0x477d('0x5ab')]=![];_0x220b3a('microphone',!![]);}function _0x222db3(_0x52dbe4){if(_0x9d7929[_0x477d('0x5c8')][_0x477d('0x608')]){_0x9d7929[_0x477d('0x609')](_0x9d7929['jabraSession']);}else{_0x9d7929['hold'](_0x9d7929[_0x477d('0x5c8')]);}}function _0x14c269(_0x3491cf){_0x1c8f1a()['then'](function(_0x548ea3){if(_0x548ea3!==null){_0x9d7929['terminate'](_0x548ea3);}});}function _0x197ce4(){_0x1e704d[_0x477d('0x478')]=_[_0x477d('0x10b')](_0x9d7929[_0x477d('0x5c0')],_0x233924);_0x4793d6[_0x477d('0x39d')][_0x477d('0x3fa')]('motion2.user:'+_0x9d7929[_0x477d('0x5c0')]['id'],JSON[_0x477d('0x3fb')](_0x1e704d));}function _0x424f31(){this[_0x477d('0x5d5')]=!![];}function _0x1e3132(){this[_0x477d('0x5d5')]=![];}function _0x2b63c0(){_0x9d7929[_0x477d('0x5c0')]['hasMicrophone']=DetectRTC[_0x477d('0x60a')];_0x9d7929['conf'][_0x477d('0x60b')]=DetectRTC['browser']['name']==='Chrome'||DetectRTC[_0x477d('0x3e1')][_0x477d('0x94')]==='Edge'||DetectRTC[_0x477d('0x3e1')][_0x477d('0x94')]===_0x477d('0x60c')?DetectRTC[_0x477d('0x60b')]:!![];_0x9d7929[_0x477d('0x5c0')][_0x477d('0x60d')]=DetectRTC[_0x477d('0x60d')];_0x9d7929[_0x477d('0x5c0')][_0x477d('0x60e')]=DetectRTC['osName'];_0x9d7929[_0x477d('0x5c0')][_0x477d('0x60f')]=DetectRTC[_0x477d('0x60f')];_0x9d7929['conf'][_0x477d('0x610')]=DetectRTC['browser'][_0x477d('0x94')];_0x9d7929[_0x477d('0x5c0')]['browserVersion']=DetectRTC[_0x477d('0x3e1')][_0x477d('0x3e2')];if(_0x20b6b8()){if(!_0x9d7929[_0x477d('0x611')]){_0x9d7929['ua'][_0x477d('0x612')]();}}else if(!_0x9d7929['conf'][_0x477d('0x613')]){_0x4e8277['warning']({'title':_0x321c97[_0x477d('0x45f')]('TOOLBAR.WARNING'),'msg':_0x321c97[_0x477d('0x45f')](_0x477d('0x614')),'clickToClose':!![],'showClose':!![],'shake':![],'timeout':![],'position':_0x477d('0x5e7')});}}function _0x20b6b8(){return _0x9d7929[_0x477d('0x5c0')][_0x477d('0x613')]&&_0x9d7929[_0x477d('0x5c0')][_0x477d('0x60d')]&&_0x9d7929[_0x477d('0x5c0')][_0x477d('0x60a')]&&_0x9d7929[_0x477d('0x5c0')][_0x477d('0x60b')]&&_0x9d7929[_0x477d('0x5c0')][_0x477d('0x3ce')]===_0x477d('0x615')&&_0x22551b();}function _0x22551b(){return _0x9d7929['conf'][_0x477d('0x610')][_0x477d('0x449')]()===_0x477d('0x616')||_0x9d7929['conf'][_0x477d('0x610')][_0x477d('0x449')]()==='opera'||_0x9d7929[_0x477d('0x5c0')][_0x477d('0x610')][_0x477d('0x449')]()===_0x477d('0x617');}function _0x4ebd2c(_0x52b055){console[_0x477d('0x618')](_0x477d('0x619'),_0x52b055);var _0x533aef=_0x52b055[_0x477d('0x61a')];var _0x584efc=!![];var _0x4aa515='';var _0x412d3c=0x0;var _0x283154;switch(_0x52b055[_0x477d('0x61b')]){case _0x477d('0x38f'):_0x533aef[_0x477d('0x61c')]=!![];_0x533aef[_0x477d('0x94')]=_0x52b055[_0x477d('0x61d')]['ruri'][_0x477d('0x380')];_0x533aef['user']=_0x52b055[_0x477d('0x61d')][_0x477d('0x61e')][_0x477d('0x380')];_0x10da4b(_0x533aef[_0x477d('0x380')],![]);var _0x2eb2c8=_0x477d('0x61f');_0x283154=_0x3ea86f(_0x52b055[_0x477d('0x61d')][_0x477d('0x620')],_0x2eb2c8);if(_0x9d7929[_0x477d('0x5c6')]){if(_0x9d7929['jabraSession']){jabra[_0x477d('0x621')]();}_0x9d7929[_0x477d('0x5c8')]=_0x533aef;jabra[_0x477d('0x622')]();}break;case _0x477d('0x623'):var _0xe990c8=_0x564bbe[_0x477d('0x5c')]();if(_0xe990c8[_0x477d('0x624')]&&_0xe990c8[_0x477d('0x625')]||_0x9d7929[_0x477d('0x5ca')]){_0x584efc=![];}else{_0x533aef[_0x477d('0x626')]=!![];_0x533aef['name']=_0x52b055[_0x477d('0x61d')][_0x477d('0x627')][_0x477d('0x628')];_0x533aef[_0x477d('0x380')]=_0x52b055['request'][_0x477d('0x627')]['uri'][_0x477d('0x380')];_0x4aa515=_0x52b055[_0x477d('0x61d')][_0x477d('0x629')]('X-Answer-Mode')||'';_0x412d3c=_0x52b055[_0x477d('0x61d')]['getHeader']('X-Answer-After')||0x0;_0x114909(_0x52b055[_0x477d('0x61a')]);_0x10da4b(_0x52b055[_0x477d('0x61a')][_0x477d('0x380')],!![]);if(_0x9d7929['isJabraEnabled']){jabra[_0x477d('0x62a')]();}if(_0x9d7929[_0x477d('0x5c0')]['autoAnswer']){_0x38c2a4(function(){if(_0x533aef['isInProgress']()){_0x533aef[_0x477d('0x62b')]=!![];_0x1fddb7(_0x533aef);}},_0x9d7929[_0x477d('0x5c0')][_0x477d('0x62c')]?_0x9d7929[_0x477d('0x5c0')]['autoAnswerDelay']*0x3e8:0x0);}console['debug'](_0x477d('0x62d'),_0x4aa515);console['debug']('xAnswerAfterSec',_0x412d3c);if(_0x4aa515['toLowerCase']()==_0x477d('0x593')){var _0x307465=_0x412d3c==0x0?0x1f4:_0x412d3c*0x3e8;console[_0x477d('0x618')](_0x477d('0x62e')+_0x307465+_0x477d('0x62f'));_0x38c2a4(function(){if(_0x533aef['isInProgress']()){_0x533aef[_0x477d('0x62b')]=!![];_0x1fddb7(_0x533aef);}},_0x307465);}}break;default:}if(_0x584efc){_0x533aef[_0x477d('0x630')]=_0x52b055[_0x477d('0x61d')][_0x477d('0x630')];if(_0x283154){_0x9d7929[_0x477d('0x5b7')][_0x533aef[_0x477d('0x630')]]=_0x283154;_0x4dbdc3(_0x283154,{'call_id':_0x533aef[_0x477d('0x630')]})[_0x477d('0x76')](function(){console[_0x477d('0x7b')]('callbackurl:\x22'+_0x283154+_0x477d('0x631'));})[_0x477d('0xf8')](function(_0x344368){console[_0x477d('0x7b')](_0x477d('0x632')+_0x283154+_0x477d('0x633'),_0x344368);});}if(_0x533aef[_0x477d('0x634')]){_0x533aef['connection'][_0x477d('0x635')]=_0x241e4d[_0x477d('0x5d6')](this);}_0x533aef[_0x477d('0x636')]=null;_0x533aef['on']('progress',_0x191178['bind'](this,_0x533aef));_0x533aef['on']('confirmed',_0x19d260[_0x477d('0x5d6')](this,_0x533aef));_0x533aef['on']('hold',_0x502fbf[_0x477d('0x5d6')](this,_0x533aef));_0x533aef['on'](_0x477d('0x609'),_0x1a6ffe[_0x477d('0x5d6')](this,_0x533aef));_0x533aef['on'](_0x477d('0x637'),_0x20ec7b[_0x477d('0x5d6')](this,_0x533aef));_0x533aef['on'](_0x477d('0x638'),_0x50ec48[_0x477d('0x5d6')](this,_0x533aef));_0x533aef['on']('icecandidate',_0x5dc892[_0x477d('0x5d6')](this,_0x533aef));_0x9d7929[_0x477d('0x602')][_0x477d('0x3a7')](_0x533aef);_0x38c2a4(function(){_0x59cb26[_0x477d('0x639')]();console['debug']('onNewRTCSession\x20->\x20vm_pb.sessions',_0x9d7929[_0x477d('0x602')]);});}else{_0x477994(_0x533aef,0x1e6);}}function _0x10da4b(_0x16a05b,_0x3acbab,_0x2d4523){console['debug'](_0x477d('0x63a'),_0x16a05b,_0x3acbab,_0x2d4523);_0x9d7929['calls'][_0x477d('0x63b')]({'target':_0x16a05b,'fullname':_0x2d4523||_0x16a05b,'inbound':_0x3acbab,'time':moment()[_0x477d('0x12f')](_0x477d('0x63c'))});if(_0x9d7929[_0x477d('0x5b6')][_0x477d('0x79')]>0x32){_0x9d7929[_0x477d('0x5b6')][_0x477d('0x569')]();}}function _0x114909(_0x19ab13){console[_0x477d('0x618')]('getNotification\x20->\x20session',_0x19ab13);var _0x22fabb=_0x19ab13['name']?_0x19ab13['name']+'\x20<'+_0x19ab13[_0x477d('0x380')]+'>':_0x19ab13[_0x477d('0x380')];_0x2265fb['create'](_0x477d('0x63d'),_0x22fabb,null,function(){_0x1fddb7(_0x19ab13);},function(){_0x477994(_0x19ab13);})[_0x477d('0x76')](function(_0x452148){_0x19ab13[_0x477d('0x63e')]=_0x452148;})['catch'](function(_0x32960b){console[_0x477d('0x44a')]('Error\x20creating\x20notification\x20for\x20incoming\x20call',_0x32960b);});}function _0x1fddb7(_0x1cf0c5){console[_0x477d('0x618')](_0x477d('0x63f'),_0x1cf0c5);if(_0x9d7929[_0x477d('0x5c0')][_0x477d('0x5a6')]){_0x9d7929[_0x477d('0x5b5')][_0x477d('0x5e8')]['audio']={'deviceId':_0x9d7929['conf'][_0x477d('0x5a6')]};}else{_0x9d7929[_0x477d('0x5b5')][_0x477d('0x5e8')][_0x477d('0x498')]=!![];}_0x1cf0c5[_0x477d('0x605')](_0x9d7929[_0x477d('0x5b5')]);if(_0x9d7929[_0x477d('0x5c6')]){jabra['offHook']();_0x9d7929[_0x477d('0x5c8')]=_0x1cf0c5;}}function _0x477994(_0x9ddd4e,_0x4b1dc7){console['debug'](_0x477d('0x640'),_0x9ddd4e);var _0x16c839={};if(_0x4b1dc7){_0x16c839[_0x477d('0x641')]=_0x4b1dc7;}else if(!_0x9ddd4e[_0x477d('0x642')]()){_0x16c839['status_code']=0x25b;}_0x9ddd4e[_0x477d('0x643')](_0x16c839);if(_0x9d7929['isJabraEnabled']){if(_0x9d7929[_0x477d('0x602')][_0x477d('0x79')]===0x0){if(_0x9ddd4e['localHold']){jabra[_0x477d('0x621')]();}jabra['onHook']();_0x9d7929['jabraSession']=null;}else{var _0x15ca75=_[_0x477d('0x601')](_0x9d7929[_0x477d('0x602')]);if(_0x15ca75['localHold']){jabra[_0x477d('0x5f2')]();jabra[_0x477d('0x644')]();_0x9d7929[_0x477d('0x5c8')]=_0x15ca75;}else{jabra[_0x477d('0x622')]();}}}}function _0x191178(_0x249872,_0x3db75b){console[_0x477d('0x618')](_0x477d('0x645'),_0x249872,_0x3db75b);var _0x2b28f6=![];switch(_0x3db75b[_0x477d('0x61b')]){case _0x477d('0x38f'):if(!this[_0x477d('0x5c0')]['ringingMute']){this['soundPlayer'][_0x477d('0x494')](_0x477d('0x49b'),_0x477d('0x646'));_0x2b28f6=!![];}break;case _0x477d('0x623'):this['putOtherCallsOnHold'](_0x249872);this[_0x477d('0x5b0')]['setAttribute'](_0x477d('0x49b'),'assets/ms-phonebar/sounds/outgoing-call.ogg');_0x2b28f6=!![];break;}if(_0x9d7929['originateInProgress']){_0x9d7929[_0x477d('0x5ca')]=![];}if(_0x2b28f6){this['soundPlayer'][_0x477d('0x647')]=_0x477d('0x647');this[_0x477d('0x5b0')][_0x477d('0x4a0')]()[_0x477d('0xf8')](function(_0x39f376){console[_0x477d('0x7b')](_0x39f376['message']);});}_0x229e94(_0x249872)['then'](function(){var _0x14cc37=_0x9d7929[_0x477d('0x5b7')][_0x249872[_0x477d('0x630')]];if(_0x14cc37){_0x4dbdc3(_0x14cc37,{'uniqueid':_0x249872[_0x477d('0x648')],'call_id':_0x249872[_0x477d('0x630')],'number_called':_0x249872['user']})[_0x477d('0x76')](function(){console['log'](_0x477d('0x649')+_0x14cc37+_0x477d('0x631'));})['catch'](function(_0x4a215e){console[_0x477d('0x7b')](_0x477d('0x632')+_0x14cc37+_0x477d('0x633'),_0x4a215e);})[_0x477d('0x5ff')](function(){delete _0x9d7929[_0x477d('0x5b7')][_0x249872[_0x477d('0x630')]];});}})[_0x477d('0xf8')](function(_0x5c9400){console['error'](_0x477d('0x64a'),_0x5c9400);});}function _0x229e94(_0x3f88c5){console[_0x477d('0x618')](_0x477d('0x64b'),_0x3f88c5);return _0x313200['rpc']['getVoiceChannels']()['$promise'][_0x477d('0x76')](function(_0x32ab17){var _0x200b69=_[_0x477d('0x10a')](_0x32ab17['rows'],function(_0x4cf327){if(_0x4cf327[_0x477d('0x64c')]===_0x3f88c5[_0x477d('0x630')]){return _0x4cf327;}if(_0x4cf327[_0x477d('0x64d')]===_0x3f88c5[_0x477d('0x630')]){return _0x4cf327;}return null;});if(_0x200b69){_0x3f88c5[_0x477d('0x64e')]=_0x200b69['monitor'];_0x3f88c5[_0x477d('0x648')]=_0x200b69[_0x477d('0x648')];_0x3f88c5['monitors']=_0x200b69[_0x477d('0x64f')];}return;});}function _0x19d260(_0x4d551d,_0x212224){console[_0x477d('0x618')](_0x477d('0x650'),_0x4d551d,_0x212224);var _0x13aa8c=document[_0x477d('0x5b2')](_0x477d('0x651')+_0x4d551d['id'][_0x477d('0x652')](0x0,0x20));if(_0x13aa8c){$(_0x13aa8c)['scope']()[_0x477d('0x480')]('timer-start');}_0x4d551d[_0x477d('0x653')]=!![];if(_0x212224['originator']===_0x477d('0x623')&&_0x4d551d[_0x477d('0x634')]){_0x4d551d[_0x477d('0x634')][_0x477d('0x635')]=_0x241e4d[_0x477d('0x5d6')](this);if(_[_0x477d('0x654')](_0x4d551d['connection'][_0x477d('0x655')]())){this['remotePlayer'][_0x477d('0x656')]=_['head'](_0x4d551d[_0x477d('0x634')][_0x477d('0x655')]());this['remotePlayer'][_0x477d('0x4a0')]();}}this['soundPlayer'][_0x477d('0x657')]();this[_0x477d('0x5b0')][_0x477d('0x647')]=null;this[_0x477d('0x658')](_0x4d551d);if(_0x4d551d[_0x477d('0x62b')]){this[_0x477d('0x5b0')][_0x477d('0x494')](_0x477d('0x49b'),'assets/ms-phonebar/sounds/beep.ogg');this[_0x477d('0x5b0')][_0x477d('0x4a0')]()[_0x477d('0xf8')](function(_0x40aa13){console[_0x477d('0x7b')](_0x477d('0x659'),_0x40aa13);});}_0x9d7929['canGoInConference']=_0x9d7929['sessions']['length']==0x2;_0x229e94(_0x4d551d)[_0x477d('0xf8')](function(_0x371ced){console[_0x477d('0x44a')]('Unable\x20to\x20retrieve\x20voice\x20channels',_0x371ced);});}function _0x241e4d(_0x24e30a){console[_0x477d('0x618')]('onAddstream\x20->\x20data',_0x24e30a);this[_0x477d('0x5b1')][_0x477d('0x656')]=_0x24e30a[_0x477d('0x65a')];this[_0x477d('0x5b1')][_0x477d('0x4a0')]();}function _0x502fbf(_0x1c2125,_0x1770b6){console[_0x477d('0x618')](_0x477d('0x65b'),_0x1c2125,_0x1770b6);if(_0x1770b6[_0x477d('0x61b')]===_0x477d('0x38f')){_0x1c2125[_0x477d('0x608')]=!![];}}function _0x1a6ffe(_0x50ba5e,_0x51a018){console[_0x477d('0x618')](_0x477d('0x65c'),_0x50ba5e,_0x51a018);if(_0x51a018[_0x477d('0x61b')]===_0x477d('0x38f')){_0x50ba5e[_0x477d('0x608')]=![];}}function _0x20ec7b(_0x12fb1d,_0x154b6e){console[_0x477d('0x618')]('onEnded\x20->\x20session,\x20data',_0x12fb1d,_0x154b6e);if(_0x9d7929[_0x477d('0x5b9')]){if(_[_0x477d('0x3a4')](_0x9d7929['currentConferenceSessions'],_0x12fb1d['id'])){_0x152fc8();_0x9d7929[_0x477d('0x5c9')]=!![];}}_[_0x477d('0x39c')](this[_0x477d('0x602')],{'id':_0x12fb1d['id']});if(_0x9d7929['sessions']['length']!==0x2){_0x9d7929[_0x477d('0x5b8')]=![];}if(_0x9d7929['isJabraEnabled']){if(_0x9d7929[_0x477d('0x602')][_0x477d('0x79')]===0x0){if(_0x12fb1d[_0x477d('0x608')]){jabra[_0x477d('0x621')]();}jabra[_0x477d('0x5f2')]();_0x9d7929[_0x477d('0x5c8')]=null;}else{var _0x3a19e3=_['last'](_0x9d7929[_0x477d('0x602')]);if(_0x3a19e3[_0x477d('0x608')]){jabra[_0x477d('0x5f2')]();jabra['hold']();_0x9d7929[_0x477d('0x5c8')]=_0x3a19e3;}else{jabra[_0x477d('0x622')]();}}}}function _0x152fc8(){_0x9d7929['canGoInConference']=![];_0x9d7929[_0x477d('0x5b9')]=![];_0x9d7929[_0x477d('0x65d')]=[];}function _0x50ec48(_0x233b87,_0x3b2883){console[_0x477d('0x618')](_0x477d('0x65e'),_0x233b87,_0x3b2883);this[_0x477d('0x5b0')]['pause']();this['soundPlayer'][_0x477d('0x647')]=null;if(_0x233b87[_0x477d('0x63e')]){_0x233b87['notification'][_0x477d('0x539')]();}if(_0x9d7929[_0x477d('0x5b9')]){if(_[_0x477d('0x3a4')](_0x9d7929[_0x477d('0x5ba')],_0x233b87['id'])){_0x152fc8();}}if(_0x9d7929[_0x477d('0x5ca')]){_0x9d7929[_0x477d('0x5ca')]=![];}_[_0x477d('0x39c')](this[_0x477d('0x602')],{'id':_0x233b87['id']});if(_0x9d7929[_0x477d('0x602')]['length']!==0x2){_0x9d7929['canGoInConference']=![];}if(_0x9d7929['isJabraEnabled']){if(_0x9d7929[_0x477d('0x602')][_0x477d('0x79')]===0x0){if(_0x233b87[_0x477d('0x608')]){jabra[_0x477d('0x621')]();}jabra[_0x477d('0x5f2')]();_0x9d7929['jabraSession']=null;}else{var _0x5aa0e3=_['last'](_0x9d7929[_0x477d('0x602')]);if(_0x5aa0e3[_0x477d('0x608')]){jabra[_0x477d('0x5f2')]();jabra['hold']();_0x9d7929[_0x477d('0x5c8')]=_0x5aa0e3;}else{jabra[_0x477d('0x622')]();}}}}function _0x5dc892(_0x4a9f0b,_0xe44ae5){console[_0x477d('0x618')](_0x477d('0x65f'),_0x4a9f0b,_0xe44ae5);if(_0x4a9f0b['iceCandidateTimeout']!==null){clearTimeout(_0x4a9f0b['iceCandidateTimeout']);}_0x4a9f0b[_0x477d('0x636')]=setTimeout(_0xe44ae5['ready'],0x1*0x3e8);}function _0x2dd40a(){_0x9d7929[_0x477d('0x5af')]=![];}function _0x511f2d(_0x597805,_0x46d7e3){var _0x5e6e6e=_0x597805;if(!_0x9d7929[_0x477d('0x378')]){_0x9d7929[_0x477d('0x378')]='';}if(_0x46d7e3){_0x9d7929[_0x477d('0x378')]+=_0x597805;_0x59cb26[_0x477d('0x480')](_0x477d('0x660'),_0x477d('0x661'),_0x9d7929[_0x477d('0x378')]);}switch(_0x597805){case'*':_0x5e6e6e='asterisk';break;case'#':_0x5e6e6e=_0x477d('0x662');break;default:}if(_0x9d7929['conf'][_0x477d('0x663')]){_0x9d7929[_0x477d('0x5b0')][_0x477d('0x494')](_0x477d('0x49b'),_0x477d('0x664')+_0x5e6e6e+_0x477d('0x665'));_0x9d7929['soundPlayer'][_0x477d('0x4a0')]()['catch'](function(_0x5a9708){console[_0x477d('0x7b')](_0x5a9708['message']);});}for(var _0x4cb8bd=0x0;_0x4cb8bd<_0x9d7929['sessions']['length'];_0x4cb8bd+=0x1){if(_0x9d7929['sessions'][_0x4cb8bd][_0x477d('0x642')]()&&!_0x9d7929[_0x477d('0x602')][_0x4cb8bd][_0x477d('0x666')]()[_0x477d('0x38f')]){_0x9d7929['sessions'][_0x4cb8bd]['sendDTMF'](_0x597805);}}}function _0x220b3a(_0x4334e1,_0x276760){switch(_0x4334e1){case _0x477d('0x5ed'):_0x9d7929[_0x477d('0x5b0')][_0x477d('0x667')]=_0x9d7929[_0x477d('0x5c0')]['ringingMute'];if(_0x9d7929[_0x477d('0x5c0')][_0x477d('0x5a4')]){_0x9d7929[_0x477d('0x5b0')][_0x477d('0x668')](_0x9d7929[_0x477d('0x5c0')][_0x477d('0x5a4')])[_0x477d('0x76')](function(){_0x9d7929[_0x477d('0x5b0')][_0x477d('0x5b4')]=_0x9d7929[_0x477d('0x5c0')][_0x477d('0x5a7')];})[_0x477d('0x76')](function(){if(_0x276760){_0x197ce4();}})[_0x477d('0xf8')](function(_0x4ed303){console[_0x477d('0x669')](_0x4ed303[_0x477d('0x452')],_0x9d7929[_0x477d('0x5c0')][_0x477d('0x5a4')]);});}break;case'speaker':_0x9d7929[_0x477d('0x5b1')][_0x477d('0x667')]=_0x9d7929[_0x477d('0x5c0')][_0x477d('0x5aa')];if(_0x9d7929[_0x477d('0x5c0')][_0x477d('0x5a5')]){_0x9d7929[_0x477d('0x5b1')]['setSinkId'](_0x9d7929[_0x477d('0x5c0')][_0x477d('0x5a5')])['then'](function(){_0x9d7929[_0x477d('0x5b1')][_0x477d('0x5b4')]=_0x9d7929[_0x477d('0x5c0')][_0x477d('0x5a8')];})[_0x477d('0x76')](function(){if(_0x276760){_0x197ce4();}})['catch'](function(_0x27a916){console[_0x477d('0x669')](_0x27a916[_0x477d('0x452')],_0x9d7929[_0x477d('0x5c0')][_0x477d('0x5a5')]);});}break;case'microphone':for(var _0x479816=0x0;_0x479816<_0x9d7929[_0x477d('0x602')][_0x477d('0x79')];_0x479816+=0x1){if(_0x9d7929[_0x477d('0x5c0')]['microphoneMute']){_0x9d7929[_0x477d('0x602')][_0x479816]['mute']();}else{_0x9d7929[_0x477d('0x602')][_0x479816][_0x477d('0x5f6')]();}}if(jabra&&_0x9d7929['isJabraEnabled']){if(_0x9d7929['conf']['microphoneMute']){jabra['mute']();}else{jabra[_0x477d('0x5f6')]();}}if(_0x276760){_0x197ce4();}break;default:console[_0x477d('0x7b')](_0x477d('0x66a'));}}function _0x2f369d(_0x13040f){if(!_0x13040f){_0x460112();}else if(/^(\w|\.|\+|#|\*|\(|\)|\s|\-)*$/[_0x477d('0x66b')](_0x13040f)){_0x9d7929[_0x477d('0x378')]=_0x13040f;_0x59cb26[_0x477d('0x480')](_0x477d('0x660'),_0x477d('0x661'),_0x9d7929['target']);}else{if(_0x9d7929['target']){_0x59cb26[_0x477d('0x480')](_0x477d('0x660'),'ms-target-wrap',_0x9d7929[_0x477d('0x378')]);}else{_0x460112();}}}function _0x460112(){_0x9d7929[_0x477d('0x378')]='';document[_0x477d('0x5b2')](_0x477d('0x66c'))['blur']();document[_0x477d('0x5b2')](_0x477d('0x66c'))[_0x477d('0x3b6')]='';_0x59cb26[_0x477d('0x480')](_0x477d('0x66d'),_0x477d('0x661'));}function _0x3ceef3(_0x15fd17){if(_0x15fd17){_0x9d7929['target']=_0x15fd17[_0x477d('0x66e')]['target'];_0x9d7929[_0x477d('0x482')]();_0x460112();}}function _0x417131(){if(_0x9d7929[_0x477d('0x378')]&&_0x9d7929[_0x477d('0x378')]!==_0x9d7929[_0x477d('0x5c0')][_0x477d('0x94')]&&_0x9d7929[_0x477d('0x378')]!==_0x9d7929['conf'][_0x477d('0x324')]){if(_0x9d7929['conf']['microphoneId']){_0x9d7929[_0x477d('0x5b5')][_0x477d('0x5e8')][_0x477d('0x498')]={'deviceId':_0x9d7929[_0x477d('0x5c0')]['microphoneId']};}else{_0x9d7929[_0x477d('0x5b5')][_0x477d('0x5e8')][_0x477d('0x498')]=!![];}var _0x4f7e87=_0x9d7929['target'][_0x477d('0x409')](/ /g,'');_0x4f7e87=_0x4f7e87[_0x477d('0x409')](/\(/g,'');_0x4f7e87=_0x4f7e87[_0x477d('0x409')](/\)/g,'');return _0x91245f(_0x4f7e87)['then'](function(_0x3119ce){if(_0x3119ce){_0x9d7929['ua'][_0x477d('0x482')](_0x3119ce,_0x9d7929[_0x477d('0x5b5')]);}})[_0x477d('0x76')](function(){_0x460112();});}}function _0x91245f(_0x56bcae){return _0x313200['user']['getVoicePrefixes']({'id':_0x9d7929[_0x477d('0x5c0')]['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x528c0a){if(_0x528c0a[_0x477d('0x3bb')]){return _0x16e424[_0x477d('0x395')]({'controller':_0x477d('0x66f'),'controllerAs':'vm','templateUrl':_0x477d('0x47a'),'parent':angular[_0x477d('0x398')](_0x5205d3[_0x477d('0x399')]),'clickOutsideToClose':!![],'locals':{'prefixes':_0x528c0a,'required':_0x9d7929[_0x477d('0x5c0')]['phoneBarPrefixRequired']}});}})[_0x477d('0x76')](function(_0x1af996){if(!_0x9d7929[_0x477d('0x5c0')]['phoneBarPrefixRequired']){if(_0x1af996&&_0x1af996!==-0x1){return _0x1af996+_0x56bcae;}else if(!_0x1af996){return _0x56bcae;}}else{if(_0x1af996&&_0x1af996!==-0x1){return _0x1af996+_0x56bcae;}}});}function _0x29f9fe(_0x2c2811){switch(_0x2c2811[_0x477d('0x670')][_0x477d('0x449')]()){case'0':case'1':case'2':case'3':case'4':case'5':case'6':case'7':case'8':case'9':case'*':case'#':_0x9d7929[_0x477d('0x439')](_0x2c2811[_0x477d('0x670')]);break;case _0x477d('0x671'):_0x9d7929[_0x477d('0x482')]();break;default:}}function _0x14b5b1(){_0x9d7929[_0x477d('0x5af')]=!_0x9d7929[_0x477d('0x5af')];}_0x5205d3[_0x477d('0x5d6')](_0x477d('0x672'),function(_0x4f2fa2){switch(_0x4f2fa2[_0x477d('0x673')]){case 0x1b:_0x38c2a4(function(){_0x9d7929[_0x477d('0x5af')]=![];});break;default:}});function _0x1c0a10(){_0x9d7929[_0x477d('0x5b9')]=!![];_0x9d7929[_0x477d('0x5b8')]=![];_0x9d7929[_0x477d('0x5ba')][_0x477d('0x3a7')](_0x9d7929[_0x477d('0x602')][0x0]['id']);_0x9d7929[_0x477d('0x5ba')][_0x477d('0x3a7')](_0x9d7929[_0x477d('0x602')][0x1]['id']);var _0x12ee96=new AudioContext();var _0x3872df=_0x9d7929[_0x477d('0x602')][0x0][_0x477d('0x634')]['getSenders']()[0x0];var _0xbbbf36=_0x9d7929[_0x477d('0x602')][0x0]['connection']['getReceivers']()[0x0];_0xbbbf36[_0x477d('0x674')][_0x477d('0x5f4')](_0x477d('0x5f6'),function(_0x3da69a){setTimeout(function(){_0x3d0df6();},0x3e8);},![]);var _0x5ccce5=_0x9d7929[_0x477d('0x602')][0x1][_0x477d('0x634')][_0x477d('0x675')]()[0x0];var _0x3100a1=_0x9d7929[_0x477d('0x602')][0x1][_0x477d('0x634')]['getReceivers']()[0x0];_0x3100a1[_0x477d('0x674')][_0x477d('0x5f4')](_0x477d('0x5f6'),function(_0x1f3cca){setTimeout(function(){_0x3d0df6();},0x3e8);},![]);_0x9d7929[_0x477d('0x602')][0x0]['unhold']({'useUpdate':![]});_0x9d7929[_0x477d('0x602')][0x1][_0x477d('0x609')]({'useUpdate':![]});_0xbbbf36[_0x477d('0x674')]['enabled']=!![];_0x3100a1['track'][_0x477d('0x3b4')]=!![];var _0x5c9c15=new MediaStream();var _0x46171b=_0x12ee96[_0x477d('0x676')]();var _0x12ee96=new AudioContext();var _0x46171b=_0x12ee96['createMediaStreamDestination']();var _0x13773d=_0x12ee96[_0x477d('0x677')](new MediaStream([_0x3100a1['track']]));_0x13773d[_0x477d('0x678')](_0x46171b);var _0x13773d=_0x12ee96[_0x477d('0x677')](new MediaStream([_0x3872df['track']]));_0x13773d['connect'](_0x46171b);_0x3872df['replaceTrack'](_0x46171b[_0x477d('0x65a')][_0x477d('0x5de')]()[0x0])[_0x477d('0x76')](function(){});_0x46171b=_0x12ee96[_0x477d('0x676')]();var _0x13773d=_0x12ee96['createMediaStreamSource'](new MediaStream([_0xbbbf36[_0x477d('0x674')]]));_0x13773d[_0x477d('0x678')](_0x46171b);var _0x13773d=_0x12ee96[_0x477d('0x677')](new MediaStream([_0x5ccce5[_0x477d('0x674')]]));_0x13773d[_0x477d('0x678')](_0x46171b);_0x5ccce5['replaceTrack'](_0x46171b['stream'][_0x477d('0x5de')]()[0x0])[_0x477d('0x76')](function(){_0x5c9c15[_0x477d('0x679')](_0xbbbf36[_0x477d('0x674')]);_0x5c9c15[_0x477d('0x679')](_0x3100a1[_0x477d('0x674')]);var _0x19e526=document[_0x477d('0x5b2')](_0x477d('0x67a'));_0x19e526['srcObject']=_0x5c9c15;var _0x4b6556=_0x19e526[_0x477d('0x4a0')]();if(_0x4b6556!==undefined){_0x4b6556['then'](function(){})[_0x477d('0xf8')](function(_0x310215){console['log'](_0x310215);});}});}function _0x3d0df6(){if(_0x9d7929[_0x477d('0x5b9')]){var _0x1e8738=_0x9d7929['sessions'][0x0]['connection'][_0x477d('0x67b')]()[0x0];var _0x16c170=_0x9d7929[_0x477d('0x602')][0x1]['connection'][_0x477d('0x67b')]()[0x0];var _0x46d914=new MediaStream();_0x46d914[_0x477d('0x679')](_0x1e8738[_0x477d('0x674')]);_0x46d914[_0x477d('0x679')](_0x16c170[_0x477d('0x674')]);var _0x5529c8=document[_0x477d('0x5b2')](_0x477d('0x67a'));_0x5529c8[_0x477d('0x656')]=_0x46d914;var _0x442e2b=_0x5529c8[_0x477d('0x4a0')]();if(_0x442e2b!==undefined){_0x442e2b[_0x477d('0x76')](function(){})[_0x477d('0xf8')](function(_0x2b324c){console[_0x477d('0x7b')](_0x2b324c);});}}}function _0x24758e(_0xb2f883){console['debug'](_0x477d('0x67c'),_0xb2f883);_0x9d7929[_0x477d('0x609')](_0xb2f883);}function _0x35a45d(_0x2cc8e0){console[_0x477d('0x618')](_0x477d('0x67d'),_0x2cc8e0);_0x2cc8e0[_0x477d('0x609')]({'useUpdate':![]});_0x9d7929[_0x477d('0x658')](_0x2cc8e0);if(_0x9d7929[_0x477d('0x5c6')]){jabra[_0x477d('0x622')]();jabra[_0x477d('0x621')]();}}function _0x48bb84(_0x2fbd81){console[_0x477d('0x618')](_0x477d('0x67e'),_0x2fbd81);_0x16e424[_0x477d('0x395')]({'controller':_0x477d('0x67f'),'controllerAs':'vm','templateUrl':_0x477d('0x680'),'parent':angular[_0x477d('0x398')](_0x5205d3[_0x477d('0x399')]),'clickOutsideToClose':!![],'locals':{'session':_0x2fbd81,'sessions':_0x9d7929['sessions']}});}function _0xae3d46(_0x22fa13){console[_0x477d('0x618')](_0x477d('0x681'),_0x22fa13);_0x22fa13['hold']({'useUpdate':![]});if(_0x9d7929[_0x477d('0x5c6')]){jabra[_0x477d('0x644')]();jabra['onHook']();}}function _0x4ffdf1(_0x9a732b){console['debug'](_0x477d('0x682'),_0x9a732b);var _0x14ea1a=_0x16e424[_0x477d('0x683')]()[_0x477d('0x49a')](_0x477d('0x684'))['textContent'](_0x477d('0x685'))[_0x477d('0x4ae')](_0x477d('0x686'))[_0x477d('0x687')](_0x477d('0x686'))['ok'](_0x477d('0x684'))['cancel'](_0x477d('0x688'));_0x16e424[_0x477d('0x395')](_0x14ea1a)['then'](function(_0x49e551){return _0x91245f(_0x49e551);})[_0x477d('0x76')](function(_0x4e7901){_0x9a732b[_0x477d('0x689')](_0x4e7901,{'eventHandlers':{'requestSucceeded':_0x3ba810(_0x9a732b,_0x477d('0x68a'),_0x477d('0x68b'),0xbb8),'requestFailed':_0x3ba810(_0x9a732b,'requestFailed',_0x477d('0x68b'),0xbb8)}});});}function _0x3ba810(_0x9b331f,_0x1e63ac,_0x42c14a,_0x46c2bb){console[_0x477d('0x618')](_0x477d('0x68c'),_0x9b331f,_0x1e63ac,_0x42c14a,_0x46c2bb);return function(){_0x59f3be[_0x477d('0x395')](_0x59f3be[_0x477d('0x68d')]()[_0x477d('0x68e')](_0x1e63ac)[_0x477d('0x68f')](_0x42c14a)['hideDelay'](_0x46c2bb));_0x477994(_0x9b331f);};}function _0x408a00(_0x3fa6cd){console[_0x477d('0x618')]('referAttended\x20->\x20session',_0x3fa6cd);_0x16e424[_0x477d('0x395')]({'controller':_0x477d('0x690'),'controllerAs':'vm','templateUrl':'assets/ms-phonebar/referAttended/dialog.html','parent':angular[_0x477d('0x398')](_0x5205d3[_0x477d('0x399')]),'clickOutsideToClose':!![],'locals':{'session':_0x3fa6cd,'sessions':_[_0x477d('0x691')](_0x9d7929[_0x477d('0x602')],{'id':_0x3fa6cd['id']}),'isJabraEnabled':_0x9d7929[_0x477d('0x5c6')]}});}function _0x3d7028(_0xb59705){console[_0x477d('0x618')]('putOtherCallsOnHold\x20->\x20session',_0xb59705);if(_0x9d7929['sessions'][_0x477d('0x79')]>0x1){for(var _0x4b044b=0x0;_0x4b044b<_0x9d7929['sessions'][_0x477d('0x79')];_0x4b044b+=0x1){if(_0x9d7929[_0x477d('0x602')][_0x4b044b]['id']!==_0xb59705['id']&&!_0x9d7929[_0x477d('0x602')][_0x4b044b][_0x477d('0x666')]()[_0x477d('0x623')]){_0x9d7929[_0x477d('0x602')][_0x4b044b]['hold']({'useUpdate':![]});}}}}function _0xa829f0(_0x4c22ac){_0x16e424[_0x477d('0x395')]({'controller':_0x477d('0x692'),'controllerAs':'vm','templateUrl':_0x477d('0x693'),'parent':angular[_0x477d('0x398')](_0x5205d3['body']),'targetEvent':_0x4c22ac,'clickOutsideToClose':!![],'resolve':{'devices':function(){return navigator[_0x477d('0x5cb')]['enumerateDevices']();}},'locals':{'conf':_0x9d7929[_0x477d('0x5c0')]}})['then'](function(_0x41fa50){if(_0x41fa50){_0x9d7929[_0x477d('0x5c0')]=_0x41fa50;if(!_0x9d7929[_0x477d('0x5c5')]){_0x9d7929[_0x477d('0x5c5')]=!![];if(jabra&&_0x9d7929[_0x477d('0x5c7')]){jabra['shutdown']()['then'](function(){_0x9d7929[_0x477d('0x5c7')]=![];_0x9d7929[_0x477d('0x5c6')]=![];_0x5e1914(![]);})[_0x477d('0xf8')](function(_0x1c1e2a){console[_0x477d('0x44a')](_0x477d('0x5cc'),_0x1c1e2a);});}else{_0x5e1914(![]);}}}});}function _0x4b75b7(){_0x9d7929['ua'][_0x477d('0x5df')]();if(jabra&&_0x9d7929[_0x477d('0x5c7')]){jabra['shutdown']();}navigator[_0x477d('0x5cb')][_0x477d('0x694')]=function(_0x1f5d3b){};}function _0x5ec6aa(_0x5c03dc,_0x3e4af8){console['debug'](_0x477d('0x695'),_0x5c03dc,_0x3e4af8);if(_0x3e4af8[_0x477d('0x378')]){_0x9d7929[_0x477d('0x378')]=_0x3e4af8[_0x477d('0x378')];_0x9d7929[_0x477d('0x482')]();}}function _0x450dbb(_0x31df89,_0x2e5e1d){console[_0x477d('0x618')](_0x477d('0x696'),_0x31df89,_0x2e5e1d);if(_0x2e5e1d[_0x477d('0x378')]){for(var _0x4e44df=0x0;_0x4e44df<_0x9d7929['sessions'][_0x477d('0x79')];_0x4e44df+=0x1){if(_0x9d7929[_0x477d('0x602')][_0x4e44df][_0x477d('0x642')]()&&!_0x9d7929[_0x477d('0x602')][_0x4e44df][_0x477d('0x666')]()[_0x477d('0x38f')]){return _0x91245f(_0x2e5e1d['target'])['then'](function(_0x27c939){if(_0x27c939){_0x9d7929[_0x477d('0x602')][_0x4e44df]['refer'](_0x27c939,{'eventHandlers':{'requestSucceeded':_0x3ba810(_0x9d7929['sessions'][_0x4e44df],_0x477d('0x68a'),'top\x20right',0xbb8),'requestFailed':_0x3ba810(_0x9d7929[_0x477d('0x602')][_0x4e44df],_0x477d('0x697'),'top\x20right',0xbb8)}});}});}}}}function _0x1c8f1a(){return new Promise(function(_0x5a9983,_0x2a6ae9){var _0x3ce812=null;for(var _0x45c40d=0x0;_0x45c40d<_0x9d7929[_0x477d('0x602')][_0x477d('0x79')];_0x45c40d++){if(!_[_0x477d('0x698')](_0x9d7929[_0x477d('0x602')][_0x45c40d],_0x477d('0x608'))){_0x3ce812=_0x9d7929[_0x477d('0x602')][_0x45c40d];}else{if(!_0x9d7929[_0x477d('0x602')][_0x45c40d][_0x477d('0x608')]){_0x3ce812=_0x9d7929[_0x477d('0x602')][_0x45c40d];}}}_0x5a9983(_0x3ce812);});}function _0x95f170(_0x36b63b){console[_0x477d('0x618')](_0x477d('0x699'),_0x36b63b);var _0x302a3a=_0x36b63b[_0x477d('0x69a')];var _0x5d7b4d=_0x36b63b[_0x477d('0x69b')];var _0x40ab7c=_0x36b63b[_0x477d('0x69c')];if(_0x9d7929['conf']['microphoneId']){_0x9d7929['sessionConf'][_0x477d('0x5e8')]['audio']={'deviceId':_0x9d7929[_0x477d('0x5c0')][_0x477d('0x5a6')]};}else{_0x9d7929[_0x477d('0x5b5')][_0x477d('0x5e8')][_0x477d('0x498')]=!![];}var _0x20eda1=_0x302a3a[_0x477d('0x409')](/ /g,'');_0x20eda1=_0x20eda1[_0x477d('0x409')](/\(/g,'');_0x20eda1=_0x20eda1[_0x477d('0x409')](/\)/g,'');if(_0x20eda1){var _0x604ffc=_0x9d7929[_0x477d('0x5b5')];_0x604ffc[_0x477d('0x620')]=[];if(_0x5d7b4d){_0x604ffc[_0x477d('0x620')][_0x477d('0x3a7')](_0x477d('0x69d')+_0x5d7b4d);}if(_0x40ab7c){_0x604ffc[_0x477d('0x620')][_0x477d('0x3a7')](_0x477d('0x69e')+_0x40ab7c);}_0x9d7929[_0x477d('0x5ca')]=!![];_0x9d7929['ua'][_0x477d('0x482')](_0x20eda1,_0x604ffc);}}function _0x451bc0(_0x2a6b9d){console['debug']('hangupHook\x20->\x20payload',_0x2a6b9d);var _0x31196d=_0x9d7929[_0x477d('0x602')];if(_0x2a6b9d[_0x477d('0x69f')]){_0x31196d=[];_0x31196d['push'](_0x5a1fa6(_0x2a6b9d[_0x477d('0x69f')]));if(_0x31196d[_0x477d('0x79')]==0x0){console[_0x477d('0x5f9')](_0x477d('0x6a0')+sessionId+_0x477d('0x6a1'));return;}}for(var _0x323cc2=0x0;_0x323cc2<_0x31196d[_0x477d('0x79')];_0x323cc2++){var _0x231723=_0x31196d[_0x323cc2];console[_0x477d('0x7b')](_0x477d('0x6a2'),_0x231723);_0x9d7929[_0x477d('0x643')](_0x231723);}}function _0xae0c50(_0x59d8f2){console['debug'](_0x477d('0x6a3'),_0x59d8f2);var _0x2666e9=_0x318be8();if(_0x59d8f2['sessionId']){var _0x482791=_0x5a1fa6(_0x59d8f2[_0x477d('0x69f')]);if(!_0x482791){console[_0x477d('0x5f9')]('call\x20with\x20session\x20Id\x20'+sessionId+_0x477d('0x6a1'));return;}_0x2666e9=[_0x482791];}for(var _0x3a4348=0x0;_0x3a4348<_0x2666e9[_0x477d('0x79')];_0x3a4348++){var _0x515395=_0x2666e9[_0x3a4348];_0x9d7929[_0x477d('0x605')](_0x515395);}}function _0x318be8(){var _0x26b2ec=_['find'](_0x9d7929[_0x477d('0x602')],function(_0x5be7ba){return _0x5be7ba['incoming']&&!_0x5be7ba['confirmed'];});return _0x26b2ec;}function _0x3b1a47(_0x37a158){console[_0x477d('0x618')]('holdHook\x20->\x20payload',_0x37a158);var _0x21767e=_0x9d7929[_0x477d('0x602')];if(_0x37a158['sessionId']){_0x21767e=[];_0x21767e['push'](_0x5a1fa6(_0x37a158[_0x477d('0x69f')]));if(_0x21767e[_0x477d('0x79')]==0x0){console[_0x477d('0x5f9')](_0x477d('0x6a0')+sessionId+_0x477d('0x6a1'));return;}}for(var _0x53f380=0x0;_0x53f380<_0x21767e[_0x477d('0x79')];_0x53f380++){var _0x45cb36=_0x21767e[_0x53f380];_0x9d7929[_0x477d('0x644')](_0x45cb36);}}function _0x1400b7(_0x56dc1e){console['debug'](_0x477d('0x6a4'),_0x56dc1e);if(!_0x56dc1e[_0x477d('0x69f')]){console[_0x477d('0x44a')](_0x477d('0x6a5'));return;}var _0x34213f=_0x5a1fa6(_0x56dc1e[_0x477d('0x69f')]);if(!_0x34213f){console[_0x477d('0x5f9')](_0x477d('0x6a0')+sessionId+_0x477d('0x6a1'));return;}_0x9d7929[_0x477d('0x609')](_0x34213f);}function _0x238168(_0x227902){console[_0x477d('0x618')](_0x477d('0x6a6'),_0x227902);if(!_0x227902[_0x477d('0x69f')]){console[_0x477d('0x44a')]('sessionId\x20required');return;}if(!_0x227902[_0x477d('0x6a7')]){console[_0x477d('0x44a')](_0x477d('0x6a8'));return;}var _0x16b18f=_0x5a1fa6(_0x227902[_0x477d('0x69f')]);if(!_0x16b18f){console[_0x477d('0x5f9')]('call\x20with\x20session\x20Id\x20'+sessionId+_0x477d('0x6a1'));return;}_0x16b18f['refer'](_0x227902['transferNumber'],{'eventHandlers':{'requestSucceeded':_0x3ba810(_0x16b18f,'requestSucceeded','top\x20right',0xbb8),'requestFailed':_0x3ba810(_0x16b18f,_0x477d('0x697'),_0x477d('0x68b'),0xbb8)}});}function _0x5a1fa6(_0x544bd8){console[_0x477d('0x618')](_0x477d('0x6a9'),_0x544bd8,_0x9d7929[_0x477d('0x602')]);var _0x59e06f=_['find'](_0x9d7929[_0x477d('0x602')],function(_0x3e7f4f){return _0x3e7f4f[_0x477d('0x630')]==_0x544bd8;});return _0x59e06f;}function _0x4dbdc3(_0x13d0e2,_0x39a7d1){console['debug'](_0x477d('0x6aa'),_0x13d0e2,_0x39a7d1);return _0x5e52de({'url':_0x13d0e2,'method':_0x477d('0x6ab'),'params':_0x39a7d1});}function _0x3ea86f(_0x15758c,_0x4d31a6,_0x1b0e99){var _0x35b2d7=_[_0x477d('0x10a')](_0x15758c,function(_0x444708){return _['startsWith'](_0x444708,_0x4d31a6);});if(_0x35b2d7){return _[_0x477d('0x6ac')](_0x35b2d7['replace'](_0x4d31a6,'')[_0x477d('0x409')](_0x1b0e99||':',''));}return![];}_0x9d7929[_0x477d('0x6ad')]=_0x55db0c[_0x477d('0x5d6')](this);_0x9d7929[_0x477d('0x439')]=_0x511f2d;_0x9d7929['call']=_0x417131;_0x9d7929[_0x477d('0x644')]=_0xae3d46;_0x9d7929[_0x477d('0x689')]=_0x4ffdf1;_0x9d7929[_0x477d('0x6ae')]=_0x48bb84;_0x9d7929[_0x477d('0x609')]=_0x35a45d;_0x9d7929[_0x477d('0x605')]=_0x1fddb7;_0x9d7929['terminate']=_0x477994;_0x9d7929[_0x477d('0x6af')]=_0x24758e;_0x9d7929[_0x477d('0x6b0')]=_0x29f9fe;_0x9d7929['toggleDialpad']=_0x14b5b1;_0x9d7929['referAttended']=_0x408a00;_0x9d7929[_0x477d('0x6b1')]=_0x2dd40a;_0x9d7929[_0x477d('0x6b2')]=_0x220b3a;_0x9d7929[_0x477d('0x658')]=_0x3d7028;_0x9d7929['targetChanged']=_0x2f369d;_0x9d7929['targetSelected']=_0x3ceef3;_0x9d7929[_0x477d('0x6b3')]=_0x1c0a10;_0x9d7929[_0x477d('0x6b4')]=_0x3d0df6;_0x59cb26[_0x477d('0x4ec')](_0x477d('0x6b5'),_0xa829f0);_0x59cb26[_0x477d('0x4ec')](_0x477d('0x6b6'),_0x4b75b7);_0x59cb26[_0x477d('0x4ec')](_0x477d('0x481'),_0x5ec6aa);_0x59cb26['$on'](_0x477d('0x483'),_0x450dbb);_0x59cb26[_0x477d('0x4ec')](_0x477d('0x505'),function(){console[_0x477d('0x618')](_0x477d('0x6b7'));_0x35bd95['removeAllListeners'](_0x477d('0x5d8'));_0x35bd95[_0x477d('0x6b8')](_0x477d('0x6b9'));_0x35bd95[_0x477d('0x6b8')](_0x477d('0x5d9'));_0x35bd95[_0x477d('0x6b8')](_0x477d('0x5da'));_0x35bd95[_0x477d('0x6b8')](_0x477d('0x5db'));_0x35bd95[_0x477d('0x6b8')](_0x477d('0x5dc'));});}function _0x217fb2(){return{'restrict':'E','scope':{'conf':'='},'require':_0x477d('0x6ba'),'controller':'MsPhonebarController','controllerAs':_0x477d('0x6bb'),'bindToController':!![],'templateUrl':_0x477d('0x6bc')};}angular['module'](_0x477d('0x1'))[_0x477d('0x3ba')](_0x477d('0x6bd'),_0x6e9865)[_0x477d('0x3ff')](_0x477d('0x6ba'),_0x217fb2);}());(function(){'use strict';_0x425b6b[_0x477d('0xa')]=[_0x477d('0x384'),'prefixes',_0x477d('0x6be')];angular[_0x477d('0xb')]('app.core')[_0x477d('0x3ba')](_0x477d('0x66f'),_0x425b6b);function _0x425b6b(_0x2fef0f,_0x5d6ea8,_0x2d414b){var _0x3a4bf7=this;_0x3a4bf7['prefixes']=_0x5d6ea8;_0x3a4bf7[_0x477d('0x6be')]=_0x2d414b;_0x3a4bf7[_0x477d('0x6bf')]=_0x307b56;_0x3a4bf7[_0x477d('0x482')]=_0x18193b;function _0x18193b(){_0x2fef0f[_0x477d('0x3bc')](_0x3a4bf7[_0x477d('0x6c0')]);}function _0x307b56(_0xa54991){_0x2fef0f[_0x477d('0x3bc')](_0xa54991);}}}());(function(){'use strict';_0x4b1c4a[_0x477d('0xa')]=[_0x477d('0x3fe')];_0x13baa6[_0x477d('0xa')]=['$mdDialog','$q',_0x477d('0x386'),'sessions',_0x477d('0x61a')];angular[_0x477d('0xb')](_0x477d('0x1'))['directive'](_0x477d('0x6c1'),_0x4b1c4a)[_0x477d('0x3ba')](_0x477d('0x67f'),_0x13baa6);function _0x4b1c4a(_0x5b9700){return{'restrict':'C','controller':[_0x477d('0x474'),_0x477d('0x556'),function(_0x3f8cb2,_0x4afc04){function _0x133bde(){_0x4afc04[_0x477d('0x4f8')]('display','inline');_0x5b9700(_0x204b11,0x3e8);}function _0x204b11(){_0x4afc04[_0x477d('0x4f8')](_0x477d('0x6c2'),_0x477d('0x496'));_0x5b9700(_0x133bde,0x3e8);}_0x133bde();}],'replace':!![]};}function _0x13baa6(_0x49e2bc,_0x3e9688,_0x3434e6,_0x295bc4,_0x514b16){var _0x1a82ff=this;_0x1a82ff['title']=_0x477d('0x6c3');_0x1a82ff[_0x477d('0x602')]=_0x295bc4;_0x1a82ff['session']=_0x514b16;_0x1a82ff[_0x477d('0x6bf')]=_0x8b0ba7;_0x1a82ff['addRecording']=_0x149e61;_0x1a82ff[_0x477d('0x5df')]=_0x73351d;_0x1a82ff['start']=_0x57d950;function _0x1c9565(){function _0x56258a(){return Math[_0x477d('0x6c4')]((0x1+Math[_0x477d('0x6c5')]())*0x10000)[_0x477d('0x453')](0x10)[_0x477d('0x6c6')](0x1);}return _0x56258a()+_0x56258a()+'-'+_0x56258a()+'-'+_0x56258a()+'-'+_0x56258a()+'-'+_0x56258a()+_0x56258a()+_0x56258a();}function _0x57d950(_0xb2f4c9,_0x4db040){console[_0x477d('0x7b')](_0x477d('0x6c7'));var _0xf2cdeb=_0x3e9688[_0x477d('0x54a')]();var _0x19fba8=_0x4db040||_0xb2f4c9[_0x477d('0x6c8')][_0x477d('0x409')](/^.*[\\\/]/,'');var _0x40c38f=_0x19fba8[_0x477d('0x472')]('.')[0x0];_0x3434e6[_0x477d('0x6c9')][_0x477d('0x6c7')]({'uniqueid':_0x1a82ff['session'][_0x477d('0x648')],'filename':_0x40c38f,'format':'wav'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x4bc139){_0xb2f4c9['filename']=_0x40c38f+_0x477d('0x6ca');_0xb2f4c9[_0x477d('0x6cb')]=_0x4bc139[_0x477d('0x6cb')];_0xb2f4c9[_0x477d('0x3c3')]=_0x477d('0x6cc');_0x1a82ff[_0x477d('0x61a')][_0x477d('0x64e')]=!![];_0xf2cdeb[_0x477d('0x5a')](_0xb2f4c9);})[_0x477d('0xf8')](function(_0x14ba75){_0xf2cdeb[_0x477d('0x691')](_0x14ba75);});return _0xf2cdeb['promise'];}function _0x73351d(_0x13b18b){console[_0x477d('0x7b')](_0x477d('0x6cd'));return _0x3434e6[_0x477d('0x6c9')][_0x477d('0x6cd')]({'uniqueid':_0x1a82ff[_0x477d('0x61a')][_0x477d('0x648')],'mixmonitorid':_0x13b18b[_0x477d('0x6cb')]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x507a0c){_0x13b18b[_0x477d('0x3c3')]=_0x477d('0x657');_0x1a82ff[_0x477d('0x61a')][_0x477d('0x64e')]=_[_0x477d('0x3a4')](_0x1a82ff[_0x477d('0x61a')][_0x477d('0x64f')],{'status':_0x477d('0x6cc')});})['catch'](function(_0x3d8f2a){console[_0x477d('0x44a')](_0x3d8f2a);});}function _0x149e61(){var _0x4c1036=_0x49e2bc['prompt']({'skipHide':!![]})[_0x477d('0x49a')](_0x477d('0x6ce'))[_0x477d('0x68e')](_0x477d('0x6cf'))[_0x477d('0x4ae')](_0x477d('0x6d0'))[_0x477d('0x687')](_0x477d('0x6d0'))[_0x477d('0x6d1')](_0x1c9565())['ok'](_0x477d('0x6d2'))[_0x477d('0x4f0')](_0x477d('0x688'));_0x49e2bc[_0x477d('0x395')](_0x4c1036)[_0x477d('0x76')](function(_0x4ba18e){return _0x57d950({},_0x4ba18e);})[_0x477d('0x76')](function(_0x4d4d22){_0x1a82ff[_0x477d('0x61a')][_0x477d('0x64f')]['push'](_0x4d4d22);});}function _0x8b0ba7(){_0x49e2bc[_0x477d('0x3bc')]();}}}());(function(){'use strict';_0x2df5dc[_0x477d('0xa')]=[_0x477d('0x384'),_0x477d('0x6d3'),_0x477d('0x602'),_0x477d('0x61a'),'isJabraEnabled'];angular[_0x477d('0xb')]('app.core')[_0x477d('0x3ba')]('ReferAttendedDialogController',_0x2df5dc);function _0x2df5dc(_0x1102cc,_0x38941a,_0x236cc8,_0x483984,_0x1faeb3){var _0x131beb=this;_0x131beb[_0x477d('0x49a')]=_0x477d('0x6d4');_0x131beb[_0x477d('0x602')]=_0x236cc8;_0x131beb[_0x477d('0x61a')]=_0x483984;_0x131beb['isJabraEnabled']=_0x1faeb3;_0x131beb['sessionTarget']=null;if(_0x236cc8[_0x477d('0x79')]){_0x131beb['target']=_0x236cc8[0x0]['user'];}_0x131beb['closeDialog']=_0x1f2841;_0x131beb['transfer']=_0x339dbb;function _0x339dbb(){var _0x4ec5dd,_0x1bd524;var _0x421c65=_[_0x477d('0x10a')](_0x236cc8,function(_0x4809c5){if(_0x4809c5[_0x477d('0x380')]===_0x131beb[_0x477d('0x378')]){return _0x4809c5;}});if(_0x421c65[_0x477d('0x61c')]){_0x4ec5dd=_0x421c65;_0x1bd524=_0x131beb[_0x477d('0x61a')];}else{_0x4ec5dd=_0x131beb['session'];_0x1bd524=_0x421c65;}_0x1bd524[_0x477d('0x689')](_0x4ec5dd[_0x477d('0x380')],{'replaces':_0x4ec5dd,'eventHandlers':{'requestSucceeded':_0x5421f9(_0x483984,'requestSucceeded',_0x477d('0x68b'),0xbb8,_0x131beb[_0x477d('0x5c6')]),'requestFailed':_0x5421f9(_0x483984,'requestFailed',_0x477d('0x68b'),0xbb8,_0x131beb['isJabraEnabled'])}});}function _0x5421f9(_0x2c5fe8,_0x17840e,_0x1c2c4e,_0x344092,_0x5a06a6){console[_0x477d('0x618')]('onTransferCallback\x20->\x20session,\x20textContent,\x20position,\x20delay',_0x2c5fe8,_0x17840e,_0x1c2c4e,_0x344092);return function(){_0x38941a['show'](_0x38941a[_0x477d('0x68d')]()[_0x477d('0x68e')](_0x17840e)['position'](_0x1c2c4e)[_0x477d('0x6d5')](_0x344092));_0x2c5fe8[_0x477d('0x643')]();if(jabra&&_0x5a06a6){jabra['onHook']();}_0x1f2841();};}function _0x1f2841(_0x5da83f){_0x1102cc[_0x477d('0x3bc')](_0x5da83f);}}}());(function(){'use strict';_0x532cdf['$inject']=['$mdDialog',_0x477d('0x5c0'),_0x477d('0x6d6')];angular[_0x477d('0xb')](_0x477d('0x29'))['controller'](_0x477d('0x692'),_0x532cdf);function _0x532cdf(_0x4e016e,_0x38aa49,_0x9c1cef){var _0xe48e3=this;_[_0x477d('0x39c')](_0x9c1cef,function(_0x481f8f){return _0x481f8f['kind']===_0x477d('0x6d7')&&(_0x481f8f['deviceId']===_0x477d('0x5e3')||_0x481f8f[_0x477d('0x5e2')]===_0x477d('0x5e4'))||_0x481f8f[_0x477d('0x5e1')]===_0x477d('0x5ea')&&(_0x481f8f['deviceId']==='default'||_0x481f8f[_0x477d('0x5e2')]===_0x477d('0x5e4'));});_0x38aa49[_0x477d('0x5a4')]=_0x472ecb(_0x9c1cef,_0x477d('0x5ea'),_0x477d('0x5a4'));_0x38aa49[_0x477d('0x5a5')]=_0x472ecb(_0x9c1cef,_0x477d('0x5ea'),'speakerId');_0x38aa49[_0x477d('0x5a6')]=_0x472ecb(_0x9c1cef,_0x477d('0x6d7'),_0x477d('0x5a6'));_0x38aa49[_0x477d('0x5a7')]=_0x38aa49[_0x477d('0x5a7')]||0.5;_0x38aa49[_0x477d('0x5a8')]=_0x38aa49[_0x477d('0x5a8')]||0.5;_0x38aa49['microphoneVolume']=_0x38aa49[_0x477d('0x6d8')]||0x1;_0x38aa49[_0x477d('0x5a9')]=_0x38aa49[_0x477d('0x5a9')]||![];_0x38aa49[_0x477d('0x5aa')]=_0x38aa49[_0x477d('0x5aa')]||![];_0x38aa49[_0x477d('0x5ab')]=_0x38aa49[_0x477d('0x5ab')]||![];_0xe48e3['conf']=angular[_0x477d('0x6d9')](_0x38aa49);_0xe48e3['devices']=_0x9c1cef;_0xe48e3['saveSettings']=_0xc6acdc;_0xe48e3[_0x477d('0x6bf')]=_0x488629;_0xe48e3[_0x477d('0x6da')]=_0x59853e;function _0x59853e(){return _0xe48e3[_0x477d('0x5c0')][_0x477d('0x610')][_0x477d('0x449')]()==='chrome'||_0xe48e3[_0x477d('0x5c0')][_0x477d('0x610')][_0x477d('0x449')]()==='opera'||_0xe48e3[_0x477d('0x5c0')][_0x477d('0x610')]['toLowerCase']()===_0x477d('0x617');}function _0x472ecb(_0x3594f2,_0x385716,_0x3b775f){var _0x370b9d;if(!_0x38aa49[_0x3b775f]){_0x370b9d=_[_0x477d('0x10a')](_0x3594f2,function(_0x35c6e4){return _0x35c6e4[_0x477d('0x5e1')]===_0x385716;});if(_0x370b9d){_0x38aa49[_0x3b775f]=_0x370b9d[_0x477d('0x5e2')];}}else{_0x370b9d=_[_0x477d('0x10a')](_0x3594f2,function(_0xef9fe8){return _0xef9fe8[_0x477d('0x5e2')]===_0x38aa49[_0x3b775f];});if(_0x370b9d){return _0x370b9d[_0x477d('0x5e2')];}var _0x138be8=_[_0x477d('0x45a')](_0x3594f2,function(_0xd265ba){return _0xd265ba[_0x477d('0x5e1')]===_0x385716;});if(_0x138be8>=0x0){return _0x3594f2[_0x138be8][_0x477d('0x5e2')];}}return _0x38aa49[_0x3b775f]||null;}function _0xc6acdc(){_0x4e016e[_0x477d('0x3bc')](_0xe48e3[_0x477d('0x5c0')]);}function _0x488629(){_0x4e016e[_0x477d('0x3bc')]();}}}());(function(){'use strict';_0x125fcc['$inject']=[_0x477d('0x6db'),_0x477d('0x6dc')];_0x500f6b[_0x477d('0xa')]=[_0x477d('0x6dd'),'quickFilterManager'];angular[_0x477d('0xb')](_0x477d('0x1'))['directive'](_0x477d('0x6de'),_0x149ced)[_0x477d('0x388')](_0x477d('0x6dd'),_0x125fcc);function _0x149ced(){return{'restrict':'E','scope':{'query':'=','filters':'=','search':'&'},'controller':_0x500f6b,'controllerAs':'vm','bindToController':!![],'templateUrl':'app/core/directives/ms-quick-filter/ms-quick-filter.html'};}function _0x500f6b(_0x5b0069,_0xe4543){var _0x4a7bb=this;_0x4a7bb[_0x477d('0x6df')]={};_0x4a7bb[_0x477d('0x6e0')]={};_0x4a7bb[_0x477d('0x6e1')]=_0x5b0069[_0x477d('0x6e1')];_0x4a7bb[_0x477d('0x6e2')]=_0x140f36;_0x4a7bb['onDateRangeInit']=_0x62d615;_0x4a7bb['onMultiselectSelection']=_0x726a99;_0x4a7bb[_0x477d('0x6e3')]=_0x19bb4f;_0x4a7bb[_0x477d('0x6e4')]=_0x212239;_0x4a7bb['clearSelection']=_0x4c33fe;_0x4a7bb[_0x477d('0x6e5')]=_0x4e53a1;function _0x140f36(_0x1cb410){_0x4768c2(_0x1cb410);}function _0x62d615(_0x2f7f2c){var _0x4dec3d=_0x2f7f2c[_0x477d('0x670')];if(_0x4a7bb[_0x477d('0x3ef')][_0x4dec3d]){_0x4a7bb[_0x477d('0x6df')][_0x4dec3d]=_0x5b0069['setSelectedDate'](_0x4a7bb[_0x477d('0x3ef')][_0x4dec3d]);}else{_0x4a7bb[_0x477d('0x6df')][_0x4dec3d]={'dateStart':null};}}function _0x726a99(_0x3ac937){_0x4768c2(_0x3ac937);_0x4a7bb[_0x477d('0x3fd')]();}function _0x19bb4f(_0x51aa3f){var _0x1e2aa3=_0x51aa3f[_0x477d('0x670')];if(_0x4a7bb[_0x477d('0x6df')][_0x1e2aa3][_0x477d('0x6e6')]){_0x4a7bb[_0x477d('0x3ef')][_0x1e2aa3]={'$gte':moment(_0x4a7bb[_0x477d('0x6df')][_0x1e2aa3][_0x477d('0x6e6')])['utcOffset'](0x0,!![])[_0x477d('0x12f')](),'$lte':moment(_0x4a7bb['pickerModels'][_0x1e2aa3][_0x477d('0x6e7')])[_0x477d('0x12e')](0x0,!![])[_0x477d('0x440')](0x17,'hours')[_0x477d('0x440')](0x3b,_0x477d('0x6e8'))['add'](0x3b,_0x477d('0x6e9'))[_0x477d('0x12f')]()};}else{_0x4a7bb[_0x477d('0x3ef')][_0x1e2aa3]=undefined;}_0x4a7bb[_0x477d('0x3fd')]();}function _0x212239(_0x35367f){var _0x36d3ff=_0x35367f['key'];_0x4a7bb[_0x477d('0x6df')][_0x36d3ff]={'dateStart':null};delete _0x4a7bb[_0x477d('0x3ef')][_0x36d3ff];_0x4a7bb[_0x477d('0x3fd')]();}function _0x4e53a1(_0x528751){var _0x22e177=_0x528751[_0x477d('0x670')];var _0x28237f=_0x528751[_0x477d('0x6ea')]||'id';_0x4a7bb[_0x477d('0x3ef')][_0x22e177]=_[_0x477d('0x3cb')](_0x528751[_0x477d('0x43c')],_0x28237f);_0x4768c2(_0x528751);_0x4a7bb[_0x477d('0x3fd')]();}function _0x4c33fe(_0x4dfc28){var _0x5ba6fe=_0x4dfc28['key'];var _0x415c46=_0x4dfc28[_0x477d('0x6ea')]||'id';_0x4a7bb[_0x477d('0x3ef')][_0x5ba6fe]=_0x4dfc28[_0x477d('0x6eb')]===![]?[_[_0x477d('0x654')](_0x4dfc28[_0x477d('0x43c')])[_0x415c46]]:[];_0x4768c2(_0x4dfc28);_0x4a7bb[_0x477d('0x3fd')]();}function _0x4768c2(_0x509e73){var _0x52f7ac=_0x509e73['key'];var _0x216b9b={'param':_0x4a7bb[_0x477d('0x3ef')][_0x52f7ac],'resources':_0x509e73[_0x477d('0x43c')],'placeholder':_0x509e73[_0x477d('0x4ae')],'ngValue':_0x509e73[_0x477d('0x6ea')]};_0xe4543['setPlaceholder'](_0x216b9b)[_0x477d('0x76')](function(_0x1e1e65){_0x4a7bb[_0x477d('0x6e0')][_0x52f7ac]=_0x1e1e65;});}}function _0x125fcc(_0x3c89af,_0x985aec){var _0x127f72={'localizationMap':_0x985aec,'setSelectedDate':_0x463f9a};function _0x463f9a(_0x3e0223){var _0x4ace03=new Date(moment[_0x477d('0x6ec')](_0x3e0223['$gte'])['format'](_0x477d('0x461')));var _0x47105f=new Date(moment[_0x477d('0x6ec')](_0x3e0223['$lte'])['format'](_0x477d('0x461')));var _0x2e2480={'dateStart':new Date(_0x4ace03[_0x477d('0x6ed')](),_0x4ace03['getMonth'](),_0x4ace03[_0x477d('0x6ee')]()),'dateEnd':new Date(_0x47105f['getFullYear'](),_0x47105f[_0x477d('0x6ef')](),_0x47105f['getDate']())};_0x2e2480[_0x477d('0x6f0')]=_0x5a6376(_0x2e2480);return _0x2e2480;}function _0x5a6376(_0x4b1a63){if(moment(_0x4b1a63['dateStart'])[_0x477d('0x6f1')](_0x4b1a63[_0x477d('0x6e7')])){if(_0x3833e0(_0x4b1a63)){return _0x127f72[_0x477d('0x6e1')]['Today'];}else if(_0x317f16(_0x4b1a63)){return _0x127f72[_0x477d('0x6e1')][_0x477d('0x6f2')];}else{return _0x3c89af(_0x477d('0x420'))(_0x4b1a63['dateStart'],_0x477d('0x6f3'));}}else{if(_0xc31d49(_0x4b1a63)){return _0x127f72[_0x477d('0x6e1')][_0x477d('0x6f4')];}else if(_0x2be1ea(_0x4b1a63)){return _0x127f72[_0x477d('0x6e1')][_0x477d('0x6f5')];}else if(_0x201244(_0x4b1a63)){return _0x127f72[_0x477d('0x6e1')][_0x477d('0x6f6')];}else if(_0x4c0c89(_0x4b1a63)){return _0x127f72['localizationMap'][_0x477d('0x6f7')];}else if(_0x53d40b(_0x4b1a63)){return _0x127f72[_0x477d('0x6e1')][_0x477d('0x6f8')];}else if(_0x8256b7(_0x4b1a63)){return _0x127f72[_0x477d('0x6e1')][_0x477d('0x6f9')];}else{return _0x3c89af('date')(_0x4b1a63[_0x477d('0x6e6')],'dd'+(_0x4b1a63[_0x477d('0x6e6')]['getMonth']()!==_0x4b1a63['dateEnd'][_0x477d('0x6ef')]()||_0x4b1a63[_0x477d('0x6e6')]['getFullYear']()!==_0x4b1a63[_0x477d('0x6e7')][_0x477d('0x6ed')]()?'\x20MMM':'')+(_0x4b1a63['dateStart'][_0x477d('0x6ed')]()!==_0x4b1a63[_0x477d('0x6e7')][_0x477d('0x6ed')]()?'\x20yyyy':''))+_0x477d('0x44c')+_0x3c89af('date')(_0x4b1a63[_0x477d('0x6e7')],_0x477d('0x6f3'));}}}function _0x3833e0(_0x3fe93c){return moment()[_0x477d('0x12d')](_0x477d('0x137'))[_0x477d('0x6f1')](_0x3fe93c[_0x477d('0x6e6')]);}function _0x317f16(_0x4c4b7d){return moment()[_0x477d('0x455')](0x1,_0x477d('0x6fa'))[_0x477d('0x12d')](_0x477d('0x137'))[_0x477d('0x6f1')](_0x4c4b7d['dateStart']);}function _0xc31d49(_0x3e0972){return moment()[_0x477d('0x12d')]('isoWeek')['isSame'](_0x3e0972[_0x477d('0x6e6')],_0x477d('0x137'))&&moment()['endOf'](_0x477d('0x6fb'))[_0x477d('0x6f1')](_0x3e0972[_0x477d('0x6e7')],_0x477d('0x137'));}function _0x2be1ea(_0x8d220d){return moment()[_0x477d('0x455')](0x1,'weeks')[_0x477d('0x12d')](_0x477d('0x6fb'))[_0x477d('0x6f1')](_0x8d220d[_0x477d('0x6e6')],_0x477d('0x137'))&&moment()[_0x477d('0x455')](0x1,_0x477d('0x6fc'))[_0x477d('0x130')]('isoWeek')[_0x477d('0x6f1')](_0x8d220d[_0x477d('0x6e7')],_0x477d('0x137'));}function _0x201244(_0x9d17b7){return moment()[_0x477d('0x12d')](_0x477d('0x6fd'))[_0x477d('0x6f1')](_0x9d17b7['dateStart'],_0x477d('0x137'))&&moment()[_0x477d('0x130')]('month')[_0x477d('0x6f1')](_0x9d17b7[_0x477d('0x6e7')],_0x477d('0x137'));}function _0x4c0c89(_0x149a39){return moment()[_0x477d('0x455')](0x1,_0x477d('0x6fe'))[_0x477d('0x12d')](_0x477d('0x6fd'))[_0x477d('0x6f1')](_0x149a39['dateStart'],_0x477d('0x137'))&&moment()['subtract'](0x1,_0x477d('0x6fe'))[_0x477d('0x130')](_0x477d('0x6fd'))[_0x477d('0x6f1')](_0x149a39[_0x477d('0x6e7')],_0x477d('0x137'));}function _0x53d40b(_0x4ea1f7){return moment()['startOf'](_0x477d('0x6ff'))[_0x477d('0x6f1')](_0x4ea1f7['dateStart'],_0x477d('0x137'))&&moment()['endOf']('year')[_0x477d('0x6f1')](_0x4ea1f7['dateEnd'],_0x477d('0x137'));}function _0x8256b7(_0x36f229){return moment()[_0x477d('0x455')](0x1,_0x477d('0x700'))[_0x477d('0x12d')](_0x477d('0x6ff'))[_0x477d('0x6f1')](_0x36f229['dateStart'],'day')&&moment()['subtract'](0x1,'years')['endOf'](_0x477d('0x6ff'))['isSame'](_0x36f229[_0x477d('0x6e7')],_0x477d('0x137'));}return _0x127f72;}}());(function(){'use strict';angular[_0x477d('0xb')]('app.core')[_0x477d('0x3ff')]('msRandomClass',_0x3b1aad);function _0x3b1aad(){return{'restrict':'A','scope':{'msRandomClass':'='},'link':function(_0x1b3301,_0x211c8f){var _0x588a1b=_0x1b3301[_0x477d('0x701')][Math[_0x477d('0x6c4')](Math['random']()*_0x1b3301['msRandomClass'][_0x477d('0x79')])];_0x211c8f[_0x477d('0x3df')](_0x588a1b);}};}}());(function(){'use strict';_0x254842['$inject']=[_0x477d('0x386')];angular[_0x477d('0xb')](_0x477d('0x1'))[_0x477d('0x3ff')](_0x477d('0x702'),_0x254842);function _0x254842(_0x3ff571){return{'restrict':'E','scope':{'id':'=','model':'=','download':'='},'replace':!![],'link':function(_0x1cb789,_0x2a4173){var _0x16fa6a=![];var _0x1098e3=document['createElement'](_0x477d('0x498'));if(!_0x1cb789[_0x477d('0x49d')]){_0x1098e3['setAttribute'](_0x477d('0x703'),_0x477d('0x704'));}_0x1098e3['setAttribute'](_0x477d('0x495'),_0x477d('0x496'));_0x1098e3[_0x477d('0x494')]('controls','');_0x1098e3[_0x477d('0x494')]('style',_0x477d('0x705'));_0x1098e3['setAttribute'](_0x477d('0x49b'),'\x20');_0x1098e3[_0x477d('0x49c')]=function(_0x397da2){if(!_0x16fa6a){_0x16fa6a=!![];_0x397da2[_0x477d('0x52c')]();_0x3ff571[_0x1cb789[_0x477d('0x44e')]||'voiceRecording'][_0x477d('0x49d')]({'id':_0x1cb789['id']})[_0x477d('0x38b')]['then'](function(_0x330200){var _0x82b3b3=[_0x330200[_0x477d('0x49e')]];var _0x4b8496=new Blob(_0x82b3b3,{'type':_0x330200[_0x477d('0x439')]});_0x1098e3[_0x477d('0x494')](_0x477d('0x439'),_0x330200[_0x477d('0x439')]);_0x1098e3['setAttribute'](_0x477d('0x49b'),URL[_0x477d('0x49f')](_0x4b8496));_0x1098e3[_0x477d('0x4a0')]();})[_0x477d('0xf8')](function(_0x468087){console['error'](_0x468087);});}};_0x2a4173['append'](_0x1098e3);}};}}());(function(){'use strict';angular[_0x477d('0xb')](_0x477d('0x1'))['directive'](_0x477d('0x706'),_0x200e4c);function _0x200e4c(){return{'restrict':'A','link':function(_0x43add0,_0x191bee){var _0x5e8195=angular[_0x477d('0x398')](_0x477d('0x707'));_0x191bee[_0x477d('0x708')](_0x5e8195);_0x5e8195['append'](_0x191bee);}};}}());(function(){'use strict';_0x514775[_0x477d('0xa')]=[_0x477d('0x3fe'),_0x477d('0x709'),'msUtils','motionConfig'];angular['module'](_0x477d('0x1'))[_0x477d('0x48b')](_0x477d('0x709'),_0x55cf41)[_0x477d('0x3ff')](_0x477d('0x70a'),_0x514775);function _0x55cf41(){var _0x3634d5={'wheelSpeed':0x1,'wheelPropagation':![],'swipePropagation':!![],'minScrollbarLength':null,'maxScrollbarLength':null,'useBothWheelAxes':![],'useKeyboard':!![],'suppressScrollX':![],'suppressScrollY':![],'scrollXMarginOffset':0x0,'scrollYMarginOffset':0x0,'stopPropagationOnClick':!![]};this[_0x477d('0xd')]=_0x4811f7;function _0x4811f7(_0x4bd4fb){_0x3634d5=angular['extend']({},_0x3634d5,_0x4bd4fb);}this[_0x477d('0x3d2')]=function(){var _0x4e58bb={'getConfig':_0xe2e784};return _0x4e58bb;function _0xe2e784(){return _0x3634d5;}};}function _0x514775(_0x56ed85,_0x6b5eac,_0x28a25f,_0x201a58){return{'restrict':'AE','compile':function(_0x2c5697){if(_0x201a58[_0x477d('0x3da')](_0x477d('0x70b'))){return;}if(_0x201a58[_0x477d('0x3da')]('disableCustomScrollbarsOnMobile')&&_0x28a25f[_0x477d('0x3dc')]()){return;}_0x2c5697[_0x477d('0x3df')]('ms-scroll');return function postLink(_0x21a394,_0x1f1157,_0x53af80){var _0x24629f={};if(_0x53af80['msScroll']){_0x24629f=_0x21a394[_0x477d('0x405')](_0x53af80[_0x477d('0x70a')]);}_0x24629f=angular[_0x477d('0x3d1')]({},_0x6b5eac[_0x477d('0x3da')](),_0x24629f);_0x56ed85(function(){PerfectScrollbar[_0x477d('0x4eb')](_0x1f1157[0x0],_0x24629f);},0x0);_0x1f1157['on'](_0x477d('0x70c'),_0x22f03e);_0x21a394[_0x477d('0x4b5')](function(){return _0x1f1157['prop'](_0x477d('0x70d'));},function(_0xe2cace,_0x34b7e8){if(angular[_0x477d('0x3d3')](_0xe2cace)||angular[_0x477d('0x546')](_0xe2cace,_0x34b7e8)){return;}_0x22f03e();});_0x21a394[_0x477d('0x4b5')](function(){return _0x1f1157[_0x477d('0x70e')](_0x477d('0x70f'));},function(_0x35e6d6,_0x1bf689){if(angular[_0x477d('0x3d3')](_0x35e6d6)||angular['equals'](_0x35e6d6,_0x1bf689)){return;}_0x22f03e();});function _0x22f03e(){PerfectScrollbar[_0x477d('0x710')](_0x1f1157[0x0]);}_0x21a394[_0x477d('0x4ec')](_0x477d('0x505'),function(){_0x1f1157[_0x477d('0x530')](_0x477d('0x70c'));PerfectScrollbar['destroy'](_0x1f1157[0x0]);});};}};}}());(function(){'use strict';_0x477c65[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x556'),_0x477d('0x3fe')];_0xce88ed[_0x477d('0xa')]=[_0x477d('0x475')];angular[_0x477d('0xb')](_0x477d('0x1'))[_0x477d('0x3ba')](_0x477d('0x711'),_0x477c65)[_0x477d('0x3ff')](_0x477d('0x712'),_0xce88ed);function _0x477c65(_0x3a9435,_0xc706b1,_0x302639){var _0x4f4a9e=this;_0x4f4a9e['collapsed']=!![];_0x4f4a9e['query']=undefined;_0x4f4a9e[_0x477d('0x713')]={'debounce':_0x4f4a9e[_0x477d('0x714')]||0x0};var _0x31aa9b=_0x4f4a9e[_0x477d('0x715')]&&_0x4f4a9e[_0x477d('0x715')]=='true'?!![]:![];_0x4f4a9e[_0x477d('0x716')]=![];_0x4f4a9e[_0x477d('0x717')]=null;_0x4f4a9e[_0x477d('0x718')]=0x0;_0x4f4a9e[_0x477d('0x719')]=![];_0x4f4a9e[_0x477d('0x71a')]=_0x527a3f;_0x4f4a9e[_0x477d('0x71b')]=_0x4d2979;_0x4f4a9e[_0x477d('0x590')]=_0x6bef15;_0x4f4a9e[_0x477d('0x58b')]=_0x58e0fe;_0x4f4a9e[_0x477d('0x71c')]=_0xe51860;_0x4f4a9e['absorbEvent']=_0x1873c9;_0x4f4a9e[_0x477d('0x71d')]=_0x247d95;_0x4f4a9e[_0x477d('0x71e')]=_0xa2a237;_0x4f4a9e[_0x477d('0x71f')]=_0x4a8838;_0x4f4a9e[_0x477d('0x720')]=_0x4fb0ba;_0x4f4a9e[_0x477d('0x721')]=_0x4a3241;function _0x527a3f(){_0x3a9435[_0x477d('0x4b5')](_0x477d('0x722'),function(_0x3381dd,_0x4d3fa2){if(angular[_0x477d('0x3d3')](_0x3381dd)){return;}if(angular[_0x477d('0x546')](_0x3381dd,_0x4d3fa2)){return;}if(_0x4f4a9e['collapsed']){if(_0x3381dd){_0x3a9435['expand']();}else{return;}}var _0x520a56=_0x3a9435[_0x477d('0x723')][_0x477d('0x405')](_0x4f4a9e['onSearch'],{'query':_0x3381dd}),_0x3ed56a=angular[_0x477d('0x4a9')](_0x520a56),_0x46de67=_0x520a56&&!!_0x520a56[_0x477d('0x76')];if(_0x3ed56a){_0x4f4a9e['populateResults'](_0x520a56);}if(_0x46de67){_0x4f4a9e[_0x477d('0x716')]=!![];_0x520a56[_0x477d('0x76')](function(_0x45aeab){_0x4f4a9e[_0x477d('0x71b')](_0x45aeab);},function(){_0x4f4a9e['populateResults']([]);})[_0x477d('0x5ff')](function(){_0x4f4a9e[_0x477d('0x716')]=![];});}});}function _0x4d2979(_0x49899f){if(_0x4f4a9e[_0x477d('0x53c')]){return;}var _0x2119b1=angular[_0x477d('0x4a9')](_0x49899f),_0x299b2e=_0x49899f===null;if(!_0x2119b1&&!_0x299b2e){return;}_0x4f4a9e['selectedResultIndex']=0x0;_0x4f4a9e['results']=_0x49899f;}function _0x6bef15(){_0x4f4a9e[_0x477d('0x53c')]=![];_0x3a9435['expand']();if(_0x4f4a9e[_0x477d('0x724')]&&angular[_0x477d('0x3c5')](_0x4f4a9e[_0x477d('0x724')])){_0x4f4a9e[_0x477d('0x724')]();}}function _0x58e0fe(){_0x4f4a9e[_0x477d('0x3ef')]='';_0x4f4a9e['populateResults'](null);_0x4f4a9e[_0x477d('0x53c')]=!![];_0x3a9435[_0x477d('0x58b')]();if(_0x4f4a9e[_0x477d('0x725')]&&angular['isFunction'](_0x4f4a9e[_0x477d('0x725')])){_0x4f4a9e[_0x477d('0x725')]();}}function _0xe51860(){if(!_0x31aa9b){return;}_0x4f4a9e[_0x477d('0x58b')]();}function _0x1873c9(_0x4fe77a){_0x4fe77a[_0x477d('0x52c')]();}function _0x247d95(_0x1efeeb){var _0x2ff911=_0x1efeeb['keyCode'],_0x429b23=[0x1b,0x26,0x28];if(_0x429b23['indexOf'](_0x2ff911)>-0x1){_0x1efeeb[_0x477d('0x52c')]();}switch(_0x2ff911){case 0xd:if(!_0x4f4a9e[_0x477d('0x717')]){return;}_0x4f4a9e[_0x477d('0x720')](_0x4f4a9e[_0x477d('0x717')][_0x4f4a9e[_0x477d('0x718')]]);break;case 0x1b:_0x4f4a9e[_0x477d('0x58b')]();break;case 0x26:if(_0x4f4a9e['selectedResultIndex']-0x1>=0x0){_0x4f4a9e[_0x477d('0x718')]--;_0x4f4a9e[_0x477d('0x721')]();}break;case 0x28:if(!_0x4f4a9e[_0x477d('0x717')]){return;}if(_0x4f4a9e[_0x477d('0x718')]+0x1<_0x4f4a9e['results']['length']){_0x4f4a9e[_0x477d('0x718')]++;_0x4f4a9e[_0x477d('0x721')]();}break;default:break;}}function _0xa2a237(_0x570bab){if(_0x4f4a9e[_0x477d('0x719')]){return;}_0x4f4a9e[_0x477d('0x718')]=_0x570bab;}function _0x4a8838(){_0x4f4a9e[_0x477d('0x719')]=!![];_0x302639['cancel'](_0x4f4a9e[_0x477d('0x726')]);_0x4f4a9e[_0x477d('0x726')]=_0x302639(function(){_0x4f4a9e['ignoreMouseEvents']=![];},0xfa);}function _0x4fb0ba(_0x1449d0){if(_0x4f4a9e[_0x477d('0x727')]){_0x4f4a9e[_0x477d('0x727')]({'item':_0x1449d0});}_0x4f4a9e[_0x477d('0x58b')]();}function _0x4a3241(){var _0x144117=_0xc706b1[_0x477d('0x10a')](_0x477d('0x728')),_0x51e9ff=angular['element'](_0x144117[_0x477d('0x10a')](_0x477d('0x729'))[_0x4f4a9e['selectedResultIndex']]);if(_0x144117&&_0x51e9ff){var _0x1b06b8=_0x51e9ff[_0x477d('0x68f')]()[_0x477d('0x72a')]-0x8,_0x2007dc=_0x51e9ff[_0x477d('0x68f')]()[_0x477d('0x72a')]+_0x51e9ff[_0x477d('0x72b')]()+0x8;_0x4f4a9e[_0x477d('0x71f')]();if(_0x144117['scrollTop']()>_0x1b06b8){_0x144117['scrollTop'](_0x1b06b8);}if(_0x2007dc>_0x144117['height']()+_0x144117[_0x477d('0x52a')]()){_0x144117[_0x477d('0x52a')](_0x2007dc-_0x144117[_0x477d('0x504')]());}}}}function _0xce88ed(_0x2bb9d0){return{'restrict':'E','scope':{},'require':'msSearchBar','controller':_0x477d('0x72c'),'bindToController':{'query':'=?','debounce':'=?','direction':'@','iconColor':'@','onSearch':'@','onResultClick':'&?','onExpand':'&?','onCollapse':'&?','collapseOnBlur':'@'},'templateUrl':_0x477d('0x72d'),'compile':function(_0x41c0a2){_0x41c0a2[_0x477d('0x3df')](_0x477d('0x72e'));return function postLink(_0x32b548,_0x4d8e56){var _0x2a99bf=_0x2bb9d0['find'](_0x477d('0x399'));_0x32b548[_0x477d('0x58b')]=_0xdc1bba;_0x32b548[_0x477d('0x590')]=_0x2a858a;function _0x2a858a(){_0x4d8e56['addClass'](_0x477d('0x53d'));if(_0x32b548['vm'][_0x477d('0x603')]===_0x477d('0x72f')){_0x4d8e56['addClass']('down');var _0x5a13e8=_0x4d8e56['closest']('md-toolbar');if(_0x5a13e8)_0x5a13e8[_0x477d('0x3df')](_0x477d('0x730'));}_0x2a99bf[_0x477d('0x3df')]('ms-search-bar-expanded');}function _0xdc1bba(){_0x4d8e56[_0x477d('0x52f')](_0x477d('0x53d'));if(_0x32b548['vm'][_0x477d('0x603')]===_0x477d('0x72f')){_0x4d8e56['removeClass'](_0x477d('0x72f'));var _0x4e6d68=_0x4d8e56[_0x477d('0x731')](_0x477d('0x732'));if(_0x4e6d68)_0x4e6d68[_0x477d('0x52f')](_0x477d('0x730'));}_0x2a99bf['removeClass']('ms-search-bar-expanded');}};}};}}());(function(){'use strict';_0x2d82da[_0x477d('0xa')]=[_0x477d('0x474'),'$cookies',_0x477d('0x475'),_0x477d('0x3fe'),'$q',_0x477d('0x555')];angular[_0x477d('0xb')](_0x477d('0x1'))[_0x477d('0x3ba')]('MsShortcutsController',_0x2d82da)[_0x477d('0x3ff')]('msShortcuts',_0x2896f3);function _0x2d82da(_0x407247,_0x3e15a2,_0x1593a5,_0x3920a6,_0x57781d,_0x5c4ac5){var _0x117a6d=this;_0x117a6d[_0x477d('0x3ef')]='';_0x117a6d['queryOptions']={'debounce':0x12c};_0x117a6d[_0x477d('0x716')]=![];_0x117a6d[_0x477d('0x718')]=0x0;_0x117a6d[_0x477d('0x719')]=![];_0x117a6d['mobileBarActive']=![];_0x117a6d[_0x477d('0x717')]=null;_0x117a6d[_0x477d('0x733')]=[];_0x117a6d['sortableOptions']={'ghostClass':'ghost','forceFallback':!![],'fallbackClass':_0x477d('0x734'),'onSort':function(){_0x117a6d[_0x477d('0x735')]();}};_0x117a6d[_0x477d('0x71b')]=_0x5f1c9e;_0x117a6d[_0x477d('0x736')]=_0x43e5a7;_0x117a6d['saveShortcuts']=_0x43d27b;_0x117a6d[_0x477d('0x737')]=_0x27e69e;_0x117a6d[_0x477d('0x738')]=_0x389720;_0x117a6d[_0x477d('0x720')]=_0x44dcb0;_0x117a6d[_0x477d('0x739')]=_0x2757fd;_0x117a6d[_0x477d('0x71d')]=_0x1c46cf;_0x117a6d['handleMouseenter']=_0x48804f;_0x117a6d[_0x477d('0x71f')]=_0x36f19a;_0x117a6d['ensureSelectedResultIsVisible']=_0x51bfc6;_0x117a6d['toggleMobileBar']=_0xfbf414;_0x2aa7b9();function _0x2aa7b9(){_0x117a6d['loadShortcuts']()['then'](function(_0xf36d43){_0x117a6d[_0x477d('0x733')]=_0xf36d43;if(_0x117a6d[_0x477d('0x733')]['length']>0x0){_0x117a6d[_0x477d('0x717')]=_0xf36d43;}});_0x407247['$watch'](_0x477d('0x73a'),function(_0x21a965,_0x27d923){if(angular[_0x477d('0x3d3')](_0x21a965)){return;}if(angular['equals'](_0x21a965,_0x27d923)){return;}_0x117a6d['resultsLoading']=!![];_0x117a6d[_0x477d('0x71b')]()['then'](function(_0x1a6403){_0x117a6d[_0x477d('0x717')]=_0x1a6403;},function(){_0x117a6d['results']=[];})[_0x477d('0x5ff')](function(){_0x117a6d[_0x477d('0x716')]=![];});});}function _0x5f1c9e(){var _0x354958=[],_0x49736a=_0x5c4ac5['getFlatNavigation'](),_0x3be34c=_0x57781d[_0x477d('0x54a')]();for(var _0x17532a=0x0;_0x17532a<_0x49736a[_0x477d('0x79')];_0x17532a++){if(_0x49736a[_0x17532a][_0x477d('0x564')]){_0x354958[_0x477d('0x3a7')](_0x49736a[_0x17532a]);}}if(_0x117a6d[_0x477d('0x3ef')]){_0x354958=_0x354958[_0x477d('0x3b3')](function(_0x49f7be){if(angular[_0x477d('0x73b')](_0x49f7be['title'])[_0x477d('0x3fd')](angular[_0x477d('0x73b')](_0x117a6d['query']))>-0x1){return!![];}});for(var _0x3255c7=0x0;_0x3255c7<_0x354958[_0x477d('0x79')];_0x3255c7++){_0x354958[_0x3255c7]['hasShortcut']=![];for(var _0x1bbbdb=0x0;_0x1bbbdb<_0x117a6d[_0x477d('0x733')][_0x477d('0x79')];_0x1bbbdb++){if(_0x117a6d[_0x477d('0x733')][_0x1bbbdb]['_id']===_0x354958[_0x3255c7][_0x477d('0x563')]){_0x354958[_0x3255c7]['hasShortcut']=!![];break;}}}}else{if(_0x117a6d[_0x477d('0x733')][_0x477d('0x79')]>0x0){_0x354958=_0x117a6d[_0x477d('0x733')];}}_0x117a6d[_0x477d('0x718')]=0x0;_0x3920a6(function(){_0x3be34c[_0x477d('0x5a')](_0x354958);},0xfa);return _0x3be34c[_0x477d('0x553')];}function _0x43e5a7(){var _0x52126f=_0x57781d[_0x477d('0x54a')]();var _0x49104d=angular[_0x477d('0x73c')](_0x3e15a2[_0x477d('0x376')](_0x477d('0x73d')));if(angular[_0x477d('0x3d3')](_0x49104d)){_0x49104d=[{'title':_0x477d('0xce'),'icon':_0x477d('0x73e'),'state':'app.staff.agents','weight':0x5,'children':[],'uisref':_0x477d('0x289'),'hasShortcut':!![]},{'title':_0x477d('0x73f'),'icon':_0x477d('0x740'),'state':_0x477d('0x247'),'weight':0xa,'children':[],'uisref':_0x477d('0x247'),'hasShortcut':!![]}];_0x3e15a2['put'](_0x477d('0x73d'),angular[_0x477d('0x56c')](_0x49104d));}_0x52126f[_0x477d('0x5a')](_0x49104d);return _0x52126f[_0x477d('0x553')];}function _0x43d27b(){var _0xb10985=_0x57781d[_0x477d('0x54a')]();_0x3e15a2[_0x477d('0x390')](_0x477d('0x73d'),angular[_0x477d('0x56c')](_0x117a6d[_0x477d('0x733')]));_0x3920a6(function(){_0xb10985['resolve']({'success':!![]});},0xfa);return _0xb10985['promise'];}function _0x27e69e(_0x29158b){_0x29158b['hasShortcut']=!![];_0x117a6d['shortcuts'][_0x477d('0x3a7')](_0x29158b);_0x117a6d[_0x477d('0x735')]();}function _0x389720(_0x53738f){_0x53738f['hasShortcut']=![];for(var _0x1aef15=0x0;_0x1aef15<_0x117a6d[_0x477d('0x733')]['length'];_0x1aef15++){if(_0x117a6d[_0x477d('0x733')][_0x1aef15][_0x477d('0x563')]===_0x53738f['_id']){_0x117a6d['shortcuts']['splice'](_0x1aef15,0x1);if(!_0x117a6d[_0x477d('0x3ef')]){if(_0x117a6d['shortcuts'][_0x477d('0x79')]===0x0){_0x117a6d[_0x477d('0x717')]=null;}else{if(_0x1aef15>=_0x117a6d[_0x477d('0x733')][_0x477d('0x79')]){_0x117a6d[_0x477d('0x718')]=_0x117a6d[_0x477d('0x733')]['length']-0x1;}}}}}_0x117a6d[_0x477d('0x735')]();}function _0x44dcb0(_0x3a1612){if(_0x3a1612['hasShortcut']){_0x117a6d[_0x477d('0x738')](_0x3a1612);}else{_0x117a6d[_0x477d('0x737')](_0x3a1612);}}function _0x2757fd(_0x40dbed){_0x40dbed['preventDefault']();}function _0x1c46cf(_0x555555){var _0x1ebec3=_0x555555[_0x477d('0x673')],_0x26a996=[0x26,0x28];if(_0x26a996[_0x477d('0x477')](_0x1ebec3)>-0x1){_0x555555[_0x477d('0x52c')]();}switch(_0x1ebec3){case 0xd:_0x117a6d[_0x477d('0x720')](_0x117a6d[_0x477d('0x717')][_0x117a6d[_0x477d('0x718')]]);break;case 0x26:if(_0x117a6d[_0x477d('0x718')]-0x1>=0x0){_0x117a6d[_0x477d('0x718')]--;_0x117a6d[_0x477d('0x721')]();}break;case 0x28:if(_0x117a6d[_0x477d('0x718')]+0x1<_0x117a6d[_0x477d('0x717')][_0x477d('0x79')]){_0x117a6d[_0x477d('0x718')]++;_0x117a6d[_0x477d('0x721')]();}break;default:break;}}function _0x48804f(_0x1216cc){if(_0x117a6d[_0x477d('0x719')]){return;}_0x117a6d[_0x477d('0x718')]=_0x1216cc;}function _0x36f19a(){_0x117a6d[_0x477d('0x719')]=!![];_0x3920a6[_0x477d('0x4f0')](_0x117a6d[_0x477d('0x726')]);_0x117a6d[_0x477d('0x726')]=_0x3920a6(function(){_0x117a6d['ignoreMouseEvents']=![];},0xfa);}function _0x51bfc6(){var _0x5a5937=_0x1593a5[_0x477d('0x10a')](_0x477d('0x741'))[_0x477d('0x10a')](_0x477d('0x742')),_0x501622=angular[_0x477d('0x398')](_0x5a5937[_0x477d('0x10a')](_0x477d('0x729'))[_0x117a6d['selectedResultIndex']]);if(_0x5a5937&&_0x501622){var _0x9b6534=_0x501622[_0x477d('0x68f')]()[_0x477d('0x72a')]-0x8,_0xd889bd=_0x501622['position']()[_0x477d('0x72a')]+_0x501622[_0x477d('0x72b')]()+0x8;_0x117a6d[_0x477d('0x71f')]();if(_0x5a5937[_0x477d('0x52a')]()>_0x9b6534){_0x5a5937[_0x477d('0x52a')](_0x9b6534);}if(_0xd889bd>_0x5a5937[_0x477d('0x504')]()+_0x5a5937[_0x477d('0x52a')]()){_0x5a5937[_0x477d('0x52a')](_0xd889bd-_0x5a5937[_0x477d('0x504')]());}}}function _0xfbf414(){_0x117a6d[_0x477d('0x743')]=!_0x117a6d[_0x477d('0x743')];}}function _0x2896f3(){return{'restrict':'E','scope':{},'require':_0x477d('0x744'),'controller':_0x477d('0x745'),'bindToController':{},'templateUrl':_0x477d('0x746'),'compile':function(_0x57f2a6){_0x57f2a6['addClass']('ms-shortcuts');return function postLink(_0x32d30c,_0x142b32){};}};}}());(function(){'use strict';angular[_0x477d('0xb')](_0x477d('0x1'))[_0x477d('0x3ff')]('msSidenavHelper',_0x3a26f7);function _0x3a26f7(){return{'restrict':'A','require':'^mdSidenav','link':function(_0x385d37,_0x480120,_0x4d4c20,_0x4d98fb){_0x385d37[_0x477d('0x4b5')](function(){return _0x4d98fb[_0x477d('0x747')]()&&!_0x4d98fb['isLockedOpen']();},function(_0x3f9d49){if(angular['isUndefined'](_0x3f9d49)){return;}_0x480120['parent']()['toggleClass'](_0x477d('0x748'),_0x3f9d49);angular[_0x477d('0x398')]('html')[_0x477d('0x571')]('sidenav-open',_0x3f9d49);});}};}}());(function(){'use strict';_0x1b5c87[_0x477d('0xa')]=['$animate'];angular['module'](_0x477d('0x1'))[_0x477d('0x3ff')](_0x477d('0x749'),_0x1b5c87);function _0x1b5c87(_0x22aadd){return{'restrict':'E','link':function(_0x253f14,_0x4c5e2a){var _0x34bf4a=_0x253f14['$on'](_0x477d('0x74a'),function(){_0x22aadd[_0x477d('0x74b')](_0x4c5e2a)['then'](function(){_0x34bf4a();_0x253f14=_0x4c5e2a=null;});});}};}}());(function(){'use strict';_0x28bb17[_0x477d('0xa')]=[_0x477d('0x3fe')];_0x4b458b['$inject']=['$timeout'];angular[_0x477d('0xb')](_0x477d('0x1'))[_0x477d('0x3ba')](_0x477d('0x74c'),_0x28bb17)[_0x477d('0x3ff')]('msHorizontalStepper',_0x577e87)[_0x477d('0x3ff')](_0x477d('0x74d'),_0x5f3683)[_0x477d('0x3ff')]('msVerticalStepper',_0x4b458b)[_0x477d('0x3ff')](_0x477d('0x74e'),_0x447a73);function _0x28bb17(_0x1b7045){var _0x51bc94=this;_0x51bc94[_0x477d('0x74f')]=undefined;_0x51bc94['orientation']=_0x477d('0x750');_0x51bc94[_0x477d('0x751')]=[];_0x51bc94['currentStep']=undefined;_0x51bc94[_0x477d('0x752')]=0x1;_0x51bc94['setOrientation']=_0x2d541a;_0x51bc94[_0x477d('0x753')]=_0x2c5589;_0x51bc94[_0x477d('0x754')]=_0xfc9a5;_0x51bc94[_0x477d('0x755')]=_0x370897;_0x51bc94[_0x477d('0x4d6')]=_0x50c136;_0x51bc94[_0x477d('0x756')]=_0x427aad;_0x51bc94['gotoStep']=_0x51e1d6;_0x51bc94[_0x477d('0x757')]=_0x11d6db;_0x51bc94['gotoNextStep']=_0x2a55f1;_0x51bc94[_0x477d('0x758')]=_0x4a7547;_0x51bc94[_0x477d('0x759')]=_0x1462d8;_0x51bc94[_0x477d('0x75a')]=_0xbd63fe;_0x51bc94['isLastStep']=_0x3e6de4;_0x51bc94[_0x477d('0x75b')]=_0x22db50;_0x51bc94[_0x477d('0x75c')]=_0x52624f;_0x51bc94[_0x477d('0x75d')]=_0x1b397a;_0x51bc94[_0x477d('0x75e')]=_0xe76e8d;_0x51bc94['filterHiddenStep']=_0x2cf0df;_0x51bc94[_0x477d('0x75f')]=_0x3eaf02;_0x51bc94['isStepNumberValid']=_0x5717f4;_0x51bc94[_0x477d('0x760')]=_0x41010c;function _0x2d541a(_0x416bac){_0x51bc94['orientation']=_0x416bac||_0x477d('0x750');}function _0x2c5589(_0x289b70){_0x51bc94[_0x477d('0x74f')]=_0x289b70;}function _0xfc9a5(_0x210a7a,_0x311d3f,_0xafc7d){var _0x4c5452={'element':_0x210a7a,'scope':_0x311d3f,'form':_0xafc7d,'stepNumber':_0x311d3f[_0x477d('0x761')]||_0x51bc94[_0x477d('0x751')][_0x477d('0x79')]+0x1,'stepTitle':_0x311d3f[_0x477d('0x762')],'stepTitleTranslate':_0x311d3f[_0x477d('0x763')]};_0x51bc94[_0x477d('0x751')][_0x477d('0x3a7')](_0x4c5452);_0x51bc94['steps']['sort'](function(_0x1001a8,_0xf2bbd1){return _0x1001a8['stepNumber']-_0xf2bbd1[_0x477d('0x764')];});return _0x4c5452;}function _0x370897(){_0x51bc94[_0x477d('0x756')](_0x51bc94['currentStepNumber']);}function _0x50c136(){_0x1b7045(function(){for(var _0x133058=0x0;_0x133058<_0x51bc94[_0x477d('0x751')][_0x477d('0x79')];_0x133058++){_0x51bc94['steps'][_0x133058][_0x477d('0x4dd')][_0x477d('0x4d9')]();_0x51bc94['steps'][_0x133058]['form']['$setUntouched']();}_0x51bc94['mainForm'][_0x477d('0x4d9')]();_0x51bc94[_0x477d('0x74f')][_0x477d('0x4da')]();_0x4a7547();});}function _0x427aad(_0x1fed16){if(!_0x5717f4(_0x1fed16)){return;}_0x51bc94[_0x477d('0x752')]=_0x1fed16;if(_0x51bc94[_0x477d('0x765')]===_0x477d('0x750')){for(var _0x4a13f8=0x0;_0x4a13f8<_0x51bc94['steps'][_0x477d('0x79')];_0x4a13f8++){_0x51bc94['steps'][_0x4a13f8][_0x477d('0x398')]['hide']();}_0x51bc94['steps'][_0x51bc94[_0x477d('0x752')]-0x1][_0x477d('0x398')][_0x477d('0x395')]();}else if(_0x51bc94['orientation']===_0x477d('0x766')){for(var _0x435681=0x0;_0x435681<_0x51bc94[_0x477d('0x751')][_0x477d('0x79')];_0x435681++){_0x51bc94[_0x477d('0x751')][_0x435681][_0x477d('0x398')]['find'](_0x477d('0x767'))['hide']();}_0x51bc94[_0x477d('0x751')][_0x51bc94[_0x477d('0x752')]-0x1]['element']['find'](_0x477d('0x767'))[_0x477d('0x395')]();}}function _0x51e1d6(_0x4c7742){if(_0xe76e8d(_0x4c7742)){return;}_0x51bc94[_0x477d('0x756')](_0x4c7742);}function _0x11d6db(){var _0x555530=_0x51bc94[_0x477d('0x752')]-0x1;for(var _0x51a450=_0x555530;_0x51a450>=0x1;_0x51a450--){if(!_0xe76e8d(_0x51a450)){_0x555530=_0x51a450;break;}}_0x51bc94[_0x477d('0x756')](_0x555530);}function _0x2a55f1(){var _0x1a8fc6=_0x51bc94[_0x477d('0x752')]+0x1;for(var _0x5799f0=_0x1a8fc6;_0x5799f0<=_0x51bc94[_0x477d('0x751')][_0x477d('0x79')];_0x5799f0++){if(!_0xe76e8d(_0x5799f0)){_0x1a8fc6=_0x5799f0;break;}}_0x51bc94['setCurrentStep'](_0x1a8fc6);}function _0x4a7547(){_0x51bc94['setCurrentStep'](0x1);}function _0x1462d8(){_0x51bc94[_0x477d('0x756')](_0x51bc94[_0x477d('0x751')][_0x477d('0x79')]);}function _0xbd63fe(){return _0x51bc94['currentStepNumber']===0x1;}function _0x3e6de4(){return _0x51bc94[_0x477d('0x752')]===_0x51bc94[_0x477d('0x751')]['length'];}function _0x22db50(_0x5054d6){if(!_0x5717f4(_0x5054d6)){return null;}return _0x51bc94[_0x477d('0x752')]===_0x5054d6;}function _0x52624f(_0x4cef17){if(!_0x5717f4(_0x4cef17)){return null;}var _0x48a5b3=![];for(var _0x211812=0x1;_0x211812<_0x4cef17;_0x211812++){if(!_0x3eaf02(_0x211812)){_0x48a5b3=!![];break;}}return _0x48a5b3;}function _0x1b397a(_0x505053){if(!_0x5717f4(_0x505053)){return null;}return _0x51bc94[_0x477d('0x751')][_0x505053-0x1]['scope']['optionalStep'];}function _0xe76e8d(_0x521624){if(!_0x5717f4(_0x521624)){return null;}return!!_0x51bc94[_0x477d('0x751')][_0x521624-0x1][_0x477d('0x500')][_0x477d('0x768')];}function _0x2cf0df(_0x443302){return!_0xe76e8d(_0x443302[_0x477d('0x764')]);}function _0x3eaf02(_0x76fe64){if(!_0x5717f4(_0x76fe64)){return null;}if(_0x1b397a(_0x76fe64)){return!![];}return _0x51bc94[_0x477d('0x751')][_0x76fe64-0x1][_0x477d('0x4dd')][_0x477d('0x769')];}function _0x5717f4(_0x51e942){return!(angular[_0x477d('0x3d3')](_0x51e942)||_0x51e942<0x1||_0x51e942>_0x51bc94['steps']['length']);}function _0x41010c(){return _0x51bc94[_0x477d('0x74f')][_0x477d('0x769')];}}function _0x577e87(){return{'restrict':'A','scope':{},'require':[_0x477d('0x4dd'),_0x477d('0x76a')],'priority':0x3e9,'controller':_0x477d('0x76b'),'bindToController':{'model':'=ngModel'},'transclude':!![],'templateUrl':'app/core/directives/ms-stepper/templates/horizontal/horizontal.html','compile':function(_0x1a0f46){_0x1a0f46[_0x477d('0x3df')]('ms-stepper');return function postLink(_0x2ce4b7,_0x2efa06,_0x509d5e,_0x31b50b){var _0x457992=_0x31b50b[0x0],_0x5c4c14=_0x31b50b[0x1];_0x5c4c14[_0x477d('0x76c')]('horizontal');_0x5c4c14[_0x477d('0x753')](_0x457992);_0x5c4c14[_0x477d('0x755')]();};}};}function _0x5f3683(){return{'restrict':'E','require':[_0x477d('0x4dd'),_0x477d('0x76d')],'priority':0x3e8,'scope':{'step':'=?','stepTitle':'=?','stepTitleTranslate':'=?','optionalStep':'=?','hideStep':'=?'},'compile':function(_0x45e231){_0x45e231['addClass']('ms-stepper-step');return function postLink(_0x235e96,_0x278288,_0x34d3b6,_0x37b7f5){var _0x2edeae=_0x37b7f5[0x0],_0x15d926=_0x37b7f5[0x1];_0x235e96[_0x477d('0x76e')]=angular['isDefined'](_0x34d3b6[_0x477d('0x76e')]);_0x15d926['registerStep'](_0x278288,_0x235e96,_0x2edeae);_0x278288['hide']();};}};}function _0x4b458b(_0xf3938b){return{'restrict':'A','scope':{},'require':[_0x477d('0x4dd'),_0x477d('0x76f')],'priority':0x3e9,'controller':_0x477d('0x76b'),'bindToController':{'model':'=ngModel'},'transclude':!![],'templateUrl':'app/core/directives/ms-stepper/templates/vertical/vertical.html','compile':function(_0x57b36a){_0x57b36a['addClass'](_0x477d('0x770'));return function postLink(_0xb512ef,_0x5d8f3b,_0x31c8be,_0x4adb15){var _0x464042=_0x4adb15[0x0],_0x59a1d3=_0x4adb15[0x1];_0xf3938b(function(){_0x59a1d3[_0x477d('0x76c')](_0x477d('0x766'));_0x59a1d3[_0x477d('0x753')](_0x464042);_0x59a1d3['setupSteps']();});};}};}function _0x447a73(){return{'restrict':'E','require':[_0x477d('0x4dd'),_0x477d('0x771')],'priority':0x3e8,'scope':{'step':'=?','stepTitle':'=?','stepTitleTranslate':'=?','optionalStep':'=?','hideStep':'=?'},'transclude':!![],'templateUrl':_0x477d('0x772'),'compile':function(_0x1dc9f8){_0x1dc9f8[_0x477d('0x3df')](_0x477d('0x773'));return function postLink(_0x3a7c34,_0x478784,_0x442448,_0x1e96fd){var _0x315202=_0x1e96fd[0x0],_0x25133b=_0x1e96fd[0x1];_0x3a7c34['optionalStep']=angular[_0x477d('0x4d7')](_0x442448[_0x477d('0x76e')]);_0x3a7c34[_0x477d('0x774')]=_0x25133b[_0x477d('0x754')](_0x478784,_0x3a7c34,_0x315202);_0x3a7c34[_0x477d('0x775')]=_0x25133b;_0x478784[_0x477d('0x10a')](_0x477d('0x767'))[_0x477d('0x3bc')]();};}};}}());(function(){'use strict';_0x1db17b[_0x477d('0xa')]=[_0x477d('0x475')];angular[_0x477d('0xb')](_0x477d('0x1'))[_0x477d('0x3ba')](_0x477d('0x776'),_0x477396)['directive'](_0x477d('0x777'),_0x1db17b);function _0x477396(){var _0x969d38=this;_0x969d38[_0x477d('0x778')]=_0x47cef9;_0x969d38[_0x477d('0x779')]=_0x1d95e9;function _0x47cef9(_0x3bd312){if(_0x3bd312=='left'){$(_0x477d('0x77a'))[_0x477d('0x5df')]()[_0x477d('0x54f')]({'scrollLeft':_0x477d('0x77b')},0x3e8);}else{$(_0x477d('0x77a'))[_0x477d('0x5df')]()[_0x477d('0x54f')]({'scrollLeft':_0x477d('0x77c')},0x3e8);}}function _0x1d95e9(_0xc747cc){switch(_0xa4f7ef()){case _0x477d('0x77d'):return!![];case _0x477d('0x77e'):if(_0xc747cc==_0x477d('0x77e')){return!![];}else{return![];}case _0x477d('0x5ad'):if(_0xc747cc==_0x477d('0x5ad')){return!![];}else{return![];}case'none':return![];default:return![];}}function _0xa4f7ef(){var _0x4237d0=document[_0x477d('0x5b2')](_0x477d('0x77f'));var _0x576dde=document['getElementById'](_0x477d('0x780'));if(_0x576dde['scrollWidth']>_0x4237d0[_0x477d('0x70f')]&&_0x4237d0[_0x477d('0x781')]==0x0&&_0x576dde[_0x477d('0x781')]==0x0){return _0x477d('0x5ad');}else if(_0x576dde[_0x477d('0x70f')]>_0x4237d0[_0x477d('0x70f')]&&_0x576dde[_0x477d('0x781')]>_0x4237d0[_0x477d('0x781')]&&_0x4237d0['scrollWidth']+_0x576dde[_0x477d('0x781')]>=_0x576dde[_0x477d('0x70f')]){return _0x477d('0x77e');}else if(_0x576dde[_0x477d('0x70f')]>_0x4237d0[_0x477d('0x70f')]&&_0x576dde['scrollLeft']>_0x4237d0['scrollLeft']&&_0x4237d0[_0x477d('0x70f')]+_0x576dde[_0x477d('0x781')]<_0x576dde[_0x477d('0x70f')]){return _0x477d('0x77d');}else{return'none';}}}function _0x1db17b(_0x55ebd4){return{'restrict':'E','scope':{},'transclude':!![],'controller':_0x477d('0x776'),'controllerAs':'vm','bindToController':!![],'templateUrl':_0x477d('0x782'),'compile':function(_0x42a949){_0x42a949[_0x477d('0x3df')]('ms-tab-scroll');return function postLink(_0x583553,_0x3eb105){};}};}}());(function(){'use strict';_0x930f10['$inject']=[_0x477d('0x3fe'),'$q'];angular['module']('app.core')[_0x477d('0x3ba')](_0x477d('0x783'),_0x4878a2)['directive'](_0x477d('0x784'),_0x12d2b4)[_0x477d('0x3ff')](_0x477d('0x785'),_0x930f10);function _0x4878a2(){var _0x1a9d94=this;_0x1a9d94['scrollEl']=undefined;_0x1a9d94[_0x477d('0x786')]=_0x4fbca9;_0x1a9d94[_0x477d('0x787')]=_0x42f829;function _0x4fbca9(_0x243e60){_0x1a9d94[_0x477d('0x788')]=_0x243e60;}function _0x42f829(){return _0x1a9d94[_0x477d('0x788')];}}function _0x12d2b4(){return{'scope':{'msTimeline':'=?','loadMore':_0x477d('0x789')},'controller':_0x477d('0x783'),'compile':function(_0x346017){_0x346017[_0x477d('0x3df')](_0x477d('0x78a'));return function postLink(_0x4413f4,_0x4c558d,_0x3d15ea,_0x2191aa){var _0x2d919e=angular['element'](_0x477d('0x78b'));_0x4c558d[_0x477d('0x40c')](_0x2d919e);var _0x1cf83f={'scrollEl':_0x477d('0x78c')};_0x1cf83f=angular[_0x477d('0x3d1')](_0x1cf83f,_0x4413f4[_0x477d('0x784')],{});var _0x4459f5=angular[_0x477d('0x398')](_0x1cf83f['scrollEl']);_0x2191aa[_0x477d('0x786')](_0x4459f5);var _0x32a708=0x90;_0x417c0c();function _0x2e0e0d(){if(_0x4459f5[_0x477d('0x52a')]()+_0x4459f5[_0x477d('0x504')]()+_0x32a708>_0x2d919e[_0x477d('0x68f')]()['top']){_0x2d919e[_0x477d('0x3df')](_0x477d('0x395'));_0x11d03b();_0x4413f4[_0x477d('0x78d')]()['then'](function(){_0x2d919e['removeClass'](_0x477d('0x395'));_0x417c0c();},function(){_0x2d919e['remove']();});}}function _0x417c0c(){_0x4459f5['on']('scroll',_0x2e0e0d);}function _0x11d03b(){_0x4459f5[_0x477d('0x530')](_0x477d('0x78e'),_0x2e0e0d);}_0x4413f4[_0x477d('0x4ec')](_0x477d('0x505'),function(){_0x11d03b();});};}};}function _0x930f10(_0x26dc30,_0x13f259){return{'scope':!![],'require':_0x477d('0x78f'),'compile':function(_0x10c584){_0x10c584['addClass'](_0x477d('0x790'))['addClass'](_0x477d('0x54d'));return function postLink(_0x1a8c4b,_0x3136c1,_0xbb51e6,_0x5103d1){var _0x3a8ecb=0x48,_0x168ad4=![],_0x4de523=![],_0x47df56=_0x5103d1[_0x477d('0x787')]();_0x5e05b5();function _0x5e05b5(){if(_0x3136c1['find'](_0x477d('0x469'))){_0x1a8c4b[_0x477d('0x4ec')](_0x477d('0x46c'),function(_0x559128,_0x1c09f6){var _0x100e58=angular[_0x477d('0x398')](_0x1c09f6[0x0]);_0x4ccf61(_0x100e58)['then'](function(){_0x26dc30(function(){_0x168ad4=!![];});});});}else{_0x4ccf61(_0x3136c1)[_0x477d('0x76')](function(){_0x26dc30(function(){_0x168ad4=!![];});});}_0x47df56['on']('scroll',_0x1e3143);_0x1e3143();}var _0x10d4b6=_0x1a8c4b['$watch'](function(){return _0x168ad4&&_0x4de523;},function(_0x14ad57,_0x2d46aa){if(angular['equals'](_0x14ad57,_0x2d46aa)){return;}if(_0x14ad57){_0x3136c1[_0x477d('0x52f')](_0x477d('0x54d'))[_0x477d('0x3df')](_0x477d('0x54f'));_0x10d4b6();}},!![]);function _0x4ccf61(_0x59f2b8){var _0xa74bb9=_0x13f259['defer'](),_0x52586f=_0x59f2b8['find'](_0x477d('0x791'));if(_0x52586f[_0x477d('0x79')]>0x0){_0x52586f['on']('load',function(){_0xa74bb9[_0x477d('0x5a')](_0x477d('0x792'));});}else{_0xa74bb9[_0x477d('0x5a')](_0x477d('0x793'));}return _0xa74bb9[_0x477d('0x553')];}function _0x1e3143(){if(_0x47df56['scrollTop']()+_0x47df56[_0x477d('0x504')]()>_0x3136c1[_0x477d('0x68f')]()[_0x477d('0x72a')]+_0x3a8ecb){_0x26dc30(function(){_0x4de523=!![];});_0x47df56[_0x477d('0x530')](_0x477d('0x78e'),_0x1e3143);}}};}};}}());(function(){'use strict';_0x569fe0[_0x477d('0xa')]=['$scope',_0x477d('0x475'),_0x477d('0x3fe'),_0x477d('0x794'),_0x477d('0x387'),_0x477d('0x40d'),'$attrs',_0x477d('0x556'),_0x477d('0x795')];angular[_0x477d('0xb')](_0x477d('0x1'))[_0x477d('0x3ba')](_0x477d('0x796'),_0x569fe0)[_0x477d('0x3ff')](_0x477d('0x797'),_0x15bf9e);function _0x569fe0(_0x18fa8c,_0xdb21cf,_0x17c88f,_0x247c1f,_0x4fb919,_0x146464,_0x4c9d10,_0xeb8ef6,_0x25d072){if(typeof String[_0x477d('0x798')][_0x477d('0x6ac')]!==_0x477d('0x799')){String[_0x477d('0x798')][_0x477d('0x6ac')]=function(){return this[_0x477d('0x409')](/^\s+|\s+$/g,'');};}_0x18fa8c[_0x477d('0x79a')]=_0x4c9d10['autoStart']||_0x4c9d10['autostart'];if(_0xeb8ef6[_0x477d('0x3de')]()[_0x477d('0x6ac')]()['length']===0x0){_0xeb8ef6['append'](_0x25d072('{{millis}}')(_0x18fa8c));}else{_0xeb8ef6[_0x477d('0x40c')](_0x25d072(_0xeb8ef6[_0x477d('0x79b')]())(_0x18fa8c));}_0x18fa8c[_0x477d('0x79c')]=_0x18fa8c[_0x477d('0x79d')]||0x3e8;_0x18fa8c[_0x477d('0x79e')]=null;_0x18fa8c['endTime']=null;_0x18fa8c[_0x477d('0x79f')]=null;_0x18fa8c[_0x477d('0x7a0')]=_0x18fa8c['countdownAttr']&&parseInt(_0x18fa8c[_0x477d('0x7a1')],0xa)>=0x0?parseInt(_0x18fa8c[_0x477d('0x7a1')],0xa):undefined;_0x18fa8c[_0x477d('0x7a2')]=![];_0x18fa8c[_0x477d('0x4b5')](_0x477d('0x7a3'),function(_0x5b1113,_0x281046){if(_0x5b1113!==_0x281046&&_0x18fa8c[_0x477d('0x7a2')]){_0x18fa8c[_0x477d('0x612')]();}});_0x18fa8c['$on'](_0x477d('0x7a4'),function(){_0x18fa8c[_0x477d('0x612')]();});_0x18fa8c[_0x477d('0x4ec')](_0x477d('0x7a5'),function(){_0x18fa8c['resume']();});_0x18fa8c[_0x477d('0x4ec')](_0x477d('0x7a6'),function(){_0x18fa8c[_0x477d('0x5df')]();});_0x18fa8c[_0x477d('0x4ec')]('timer-clear',function(){_0x18fa8c['clear']();});_0x18fa8c[_0x477d('0x4ec')]('timer-set-countdown',function(_0x4b6d23,_0x311ed7){_0x18fa8c[_0x477d('0x7a0')]=_0x311ed7;});function _0x4b9b92(){if(_0x18fa8c['timeoutId']){clearTimeout(_0x18fa8c['timeoutId']);}}_0x18fa8c[_0x477d('0x612')]=_0xeb8ef6[0x0]['start']=function(){var _0x82725c=moment();var _0x2460f8=_0x18fa8c[_0x477d('0x7a3')]?moment(_0x18fa8c[_0x477d('0x7a3')]):null;if(!_0x2460f8||_0x2460f8>_0x82725c){_0x18fa8c[_0x477d('0x79e')]=_0x82725c;}else{_0x18fa8c['startTime']=_0x2460f8;}var _0xd9469e=_0x18fa8c['endTimeAttr']?moment(_0x18fa8c[_0x477d('0x7a7')]):null;if(!_0xd9469e||_0xd9469e<_0x82725c){_0x18fa8c[_0x477d('0x7a8')]=null;}else{_0x18fa8c[_0x477d('0x7a8')]=_0xd9469e;}if(!_0x18fa8c[_0x477d('0x7a0')]){_0x18fa8c[_0x477d('0x7a0')]=_0x18fa8c['countdownAttr']&&parseInt(_0x18fa8c[_0x477d('0x7a1')],0xa)>0x0?parseInt(_0x18fa8c['countdownattr'],0xa):undefined;}_0x4b9b92();_0x3304cd();_0x18fa8c[_0x477d('0x7a2')]=!![];};_0x18fa8c[_0x477d('0x621')]=_0xeb8ef6[0x0][_0x477d('0x621')]=function(){_0x4b9b92();if(_0x18fa8c['countdownAttr']){_0x18fa8c['countdown']+=0x1;}_0x18fa8c[_0x477d('0x79e')]=moment()[_0x477d('0x7a9')](moment(_0x18fa8c['stoppedTime'])['diff'](moment(_0x18fa8c[_0x477d('0x79e')])));_0x3304cd();_0x18fa8c[_0x477d('0x7a2')]=!![];};_0x18fa8c[_0x477d('0x5df')]=_0x18fa8c['pause']=_0xeb8ef6[0x0][_0x477d('0x5df')]=_0xeb8ef6[0x0]['pause']=function(){_0x18fa8c[_0x477d('0x7aa')]();_0x18fa8c[_0x477d('0x46b')](_0x477d('0x7ab'),{'timeoutId':_0x18fa8c['timeoutId'],'millis':_0x18fa8c[_0x477d('0x7ac')],'seconds':_0x18fa8c['seconds'],'minutes':_0x18fa8c[_0x477d('0x6e8')],'hours':_0x18fa8c[_0x477d('0x7ad')],'days':_0x18fa8c['days']});};_0x18fa8c[_0x477d('0x7aa')]=_0xeb8ef6[0x0][_0x477d('0x7aa')]=function(){_0x18fa8c['stoppedTime']=moment();_0x4b9b92();_0x18fa8c[_0x477d('0x79f')]=null;_0x18fa8c[_0x477d('0x7a2')]=![];};_0xeb8ef6[_0x477d('0x5d6')](_0x477d('0x505'),function(){_0x4b9b92();_0x18fa8c[_0x477d('0x7a2')]=![];});function _0x10db82(){if(_0x4c9d10['startTime']!==undefined){_0x18fa8c['millis']=moment()[_0x477d('0x7a9')](moment(_0x18fa8c[_0x477d('0x79e')]));}if(!_0x18fa8c['maxTimeUnit']||_0x18fa8c[_0x477d('0x7ae')]===_0x477d('0x137')){_0x18fa8c[_0x477d('0x6e9')]=Math[_0x477d('0x6c4')](_0x18fa8c[_0x477d('0x7ac')]/0x3e8%0x3c);_0x18fa8c[_0x477d('0x6e8')]=Math[_0x477d('0x6c4')](_0x18fa8c[_0x477d('0x7ac')]/0xea60%0x3c);_0x18fa8c[_0x477d('0x7ad')]=Math[_0x477d('0x6c4')](_0x18fa8c[_0x477d('0x7ac')]/0x36ee80%0x18);_0x18fa8c[_0x477d('0x6fa')]=Math[_0x477d('0x6c4')](_0x18fa8c[_0x477d('0x7ac')]/0x36ee80/0x18);_0x18fa8c[_0x477d('0x6fe')]=0x0;_0x18fa8c[_0x477d('0x700')]=0x0;}else if(_0x18fa8c[_0x477d('0x7ae')]===_0x477d('0x7af')){_0x18fa8c['seconds']=Math[_0x477d('0x6c4')](_0x18fa8c[_0x477d('0x7ac')]/0x3e8);_0x18fa8c[_0x477d('0x6e8')]=0x0;_0x18fa8c[_0x477d('0x7ad')]=0x0;_0x18fa8c[_0x477d('0x6fa')]=0x0;_0x18fa8c['months']=0x0;_0x18fa8c[_0x477d('0x700')]=0x0;}else if(_0x18fa8c[_0x477d('0x7ae')]===_0x477d('0x7b0')){_0x18fa8c[_0x477d('0x6e9')]=Math[_0x477d('0x6c4')](_0x18fa8c['millis']/0x3e8%0x3c);_0x18fa8c[_0x477d('0x6e8')]=Math['floor'](_0x18fa8c[_0x477d('0x7ac')]/0xea60);_0x18fa8c['hours']=0x0;_0x18fa8c[_0x477d('0x6fa')]=0x0;_0x18fa8c[_0x477d('0x6fe')]=0x0;_0x18fa8c[_0x477d('0x700')]=0x0;}else if(_0x18fa8c[_0x477d('0x7ae')]==='hour'){_0x18fa8c[_0x477d('0x6e9')]=Math[_0x477d('0x6c4')](_0x18fa8c[_0x477d('0x7ac')]/0x3e8%0x3c);_0x18fa8c['minutes']=Math['floor'](_0x18fa8c[_0x477d('0x7ac')]/0xea60%0x3c);_0x18fa8c[_0x477d('0x7ad')]=Math['floor'](_0x18fa8c['millis']/0x36ee80);_0x18fa8c['days']=0x0;_0x18fa8c['months']=0x0;_0x18fa8c[_0x477d('0x700')]=0x0;}else if(_0x18fa8c['maxTimeUnit']==='month'){_0x18fa8c['seconds']=Math[_0x477d('0x6c4')](_0x18fa8c['millis']/0x3e8%0x3c);_0x18fa8c[_0x477d('0x6e8')]=Math[_0x477d('0x6c4')](_0x18fa8c[_0x477d('0x7ac')]/0xea60%0x3c);_0x18fa8c[_0x477d('0x7ad')]=Math['floor'](_0x18fa8c[_0x477d('0x7ac')]/0x36ee80%0x18);_0x18fa8c[_0x477d('0x6fa')]=Math[_0x477d('0x6c4')](_0x18fa8c[_0x477d('0x7ac')]/0x36ee80/0x18%0x1e);_0x18fa8c[_0x477d('0x6fe')]=Math['floor'](_0x18fa8c[_0x477d('0x7ac')]/0x36ee80/0x18/0x1e);_0x18fa8c[_0x477d('0x700')]=0x0;}else if(_0x18fa8c[_0x477d('0x7ae')]==='year'){_0x18fa8c[_0x477d('0x6e9')]=Math[_0x477d('0x6c4')](_0x18fa8c['millis']/0x3e8%0x3c);_0x18fa8c['minutes']=Math[_0x477d('0x6c4')](_0x18fa8c['millis']/0xea60%0x3c);_0x18fa8c[_0x477d('0x7ad')]=Math[_0x477d('0x6c4')](_0x18fa8c[_0x477d('0x7ac')]/0x36ee80%0x18);_0x18fa8c[_0x477d('0x6fa')]=Math[_0x477d('0x6c4')](_0x18fa8c[_0x477d('0x7ac')]/0x36ee80/0x18%0x1e);_0x18fa8c[_0x477d('0x6fe')]=Math['floor'](_0x18fa8c[_0x477d('0x7ac')]/0x36ee80/0x18/0x1e%0xc);_0x18fa8c['years']=Math[_0x477d('0x6c4')](_0x18fa8c[_0x477d('0x7ac')]/0x36ee80/0x18/0x16d);}_0x18fa8c[_0x477d('0x7b1')]=_0x18fa8c['seconds']===0x1||_0x18fa8c[_0x477d('0x6e9')]===0x0?'':'s';_0x18fa8c[_0x477d('0x7b2')]=_0x18fa8c[_0x477d('0x6e8')]===0x1||_0x18fa8c[_0x477d('0x6e8')]===0x0?'':'s';_0x18fa8c[_0x477d('0x7b3')]=_0x18fa8c[_0x477d('0x7ad')]===0x1||_0x18fa8c['hours']===0x0?'':'s';_0x18fa8c[_0x477d('0x7b4')]=_0x18fa8c[_0x477d('0x6fa')]===0x1||_0x18fa8c[_0x477d('0x6fa')]===0x0?'':'s';_0x18fa8c['monthsS']=_0x18fa8c['months']===0x1||_0x18fa8c[_0x477d('0x6fe')]===0x0?'':'s';_0x18fa8c[_0x477d('0x7b5')]=_0x18fa8c[_0x477d('0x700')]===0x1||_0x18fa8c[_0x477d('0x700')]===0x0?'':'s';_0x18fa8c[_0x477d('0x7b6')]=_0x18fa8c[_0x477d('0x6e9')]<0xa?'0'+_0x18fa8c[_0x477d('0x6e9')]:_0x18fa8c['seconds'];_0x18fa8c[_0x477d('0x7b7')]=_0x18fa8c[_0x477d('0x6e8')]<0xa?'0'+_0x18fa8c[_0x477d('0x6e8')]:_0x18fa8c['minutes'];_0x18fa8c['hhours']=_0x18fa8c[_0x477d('0x7ad')]<0xa?'0'+_0x18fa8c[_0x477d('0x7ad')]:_0x18fa8c[_0x477d('0x7ad')];_0x18fa8c[_0x477d('0x7b8')]=_0x18fa8c['days']<0xa?'0'+_0x18fa8c['days']:_0x18fa8c['days'];_0x18fa8c[_0x477d('0x7b9')]=_0x18fa8c['months']<0xa?'0'+_0x18fa8c[_0x477d('0x6fe')]:_0x18fa8c[_0x477d('0x6fe')];_0x18fa8c[_0x477d('0x7ba')]=_0x18fa8c[_0x477d('0x700')]<0xa?'0'+_0x18fa8c[_0x477d('0x700')]:_0x18fa8c[_0x477d('0x700')];}var _0x3304cd=function(){_0x18fa8c[_0x477d('0x7ac')]=moment()[_0x477d('0x7a9')](_0x18fa8c[_0x477d('0x79e')]);var _0xed2ad8=_0x18fa8c[_0x477d('0x7ac')]%0x3e8;if(_0x18fa8c[_0x477d('0x7a7')]){_0x18fa8c[_0x477d('0x7ac')]=moment(_0x18fa8c[_0x477d('0x7a8')])[_0x477d('0x7a9')](moment());_0xed2ad8=_0x18fa8c['interval']-_0x18fa8c[_0x477d('0x7ac')]%0x3e8;}if(_0x18fa8c[_0x477d('0x7a1')]){_0x18fa8c[_0x477d('0x7ac')]=_0x18fa8c[_0x477d('0x7a0')]*0x3e8;}if(_0x18fa8c[_0x477d('0x7ac')]<0x0){_0x18fa8c[_0x477d('0x5df')]();_0x18fa8c[_0x477d('0x7ac')]=0x0;_0x10db82();if(_0x18fa8c[_0x477d('0x7bb')]){_0x18fa8c[_0x477d('0x405')](_0x18fa8c[_0x477d('0x7bb')]);}return;}_0x10db82();_0x18fa8c[_0x477d('0x79f')]=setTimeout(function(){_0x3304cd();_0x18fa8c[_0x477d('0x7bc')]();},_0x18fa8c[_0x477d('0x79c')]-_0xed2ad8);_0x18fa8c[_0x477d('0x46b')](_0x477d('0x7bd'),{'timeoutId':_0x18fa8c['timeoutId'],'millis':_0x18fa8c[_0x477d('0x7ac')]});if(_0x18fa8c[_0x477d('0x7a0')]>0x0){_0x18fa8c[_0x477d('0x7a0')]--;}else if(_0x18fa8c[_0x477d('0x7a0')]<=0x0){_0x18fa8c[_0x477d('0x5df')]();if(_0x18fa8c[_0x477d('0x7bb')]){_0x18fa8c[_0x477d('0x405')](_0x18fa8c[_0x477d('0x7bb')]);}}};if(_0x18fa8c['autoStart']===undefined||_0x18fa8c[_0x477d('0x79a')]===!![]){_0x18fa8c[_0x477d('0x612')]();}}function _0x15bf9e(){return{'restrict':'EA','replace':![],'scope':{'intervalAttr':_0x477d('0x7be'),'startTimeAttr':_0x477d('0x7bf'),'endTimeAttr':'=endTime','countdownAttr':'=countdown','autoStart':_0x477d('0x7c0'),'maxTimeUnit':'='},'controller':_0x477d('0x796')};}}());(function(){'use strict';angular[_0x477d('0xb')](_0x477d('0x1'))[_0x477d('0x3ff')](_0x477d('0x7c1'),_0x532cef);function _0x532cef(){return{'restrict':'E','scope':{'ngModel':'='},'controller':[_0x477d('0x474'),function(_0x5cb5e2){_0x5cb5e2[_0x477d('0x7c2')]=[{'name':_0x477d('0x7c3'),'utcOffset':0x3c,'offsetStr':_0x477d('0x7c4'),'countries':['AD']},{'name':_0x477d('0x7c5'),'utcOffset':0xf0,'offsetStr':_0x477d('0x7c6'),'countries':['AE','OM']},{'name':_0x477d('0x7c7'),'utcOffset':0x10e,'offsetStr':_0x477d('0x7c8'),'countries':['AF']},{'name':_0x477d('0x7c9'),'utcOffset':0x3c,'offsetStr':_0x477d('0x7c4'),'countries':['AL']},{'name':_0x477d('0x7ca'),'utcOffset':0xf0,'offsetStr':'+04:00','countries':['AM']},{'name':_0x477d('0x7cb'),'utcOffset':-0xb4,'offsetStr':_0x477d('0x7cc'),'countries':['AQ']},{'name':'Antarctica/Palmer','utcOffset':-0xb4,'offsetStr':_0x477d('0x7cc'),'countries':['AQ']},{'name':_0x477d('0x7cd'),'utcOffset':0x12c,'offsetStr':'+05:00','countries':['AQ']},{'name':_0x477d('0x7ce'),'utcOffset':0x1a4,'offsetStr':_0x477d('0x7cf'),'countries':['AQ']},{'name':_0x477d('0x7d0'),'utcOffset':0x1e0,'offsetStr':_0x477d('0x7d1'),'countries':['AQ']},{'name':_0x477d('0x7d2'),'utcOffset':0x168,'offsetStr':_0x477d('0x7d3'),'countries':['AQ']},{'name':_0x477d('0x7d4'),'utcOffset':0x258,'offsetStr':_0x477d('0x7d5'),'countries':['AQ']},{'name':'Antarctica/Syowa','utcOffset':0xb4,'offsetStr':_0x477d('0x7d6'),'countries':['AQ']},{'name':_0x477d('0x7d7'),'utcOffset':0x0,'offsetStr':'+00:00','countries':['AQ']},{'name':_0x477d('0x7d8'),'utcOffset':-0xb4,'offsetStr':_0x477d('0x7cc'),'countries':['AR']},{'name':'America/Argentina/Cordoba','utcOffset':-0xb4,'offsetStr':_0x477d('0x7cc'),'countries':['AR']},{'name':'America/Argentina/Salta','utcOffset':-0xb4,'offsetStr':_0x477d('0x7cc'),'countries':['AR']},{'name':_0x477d('0x7d9'),'utcOffset':-0xb4,'offsetStr':_0x477d('0x7cc'),'countries':['AR']},{'name':_0x477d('0x7da'),'utcOffset':-0xb4,'offsetStr':_0x477d('0x7cc'),'countries':['AR']},{'name':_0x477d('0x7db'),'utcOffset':-0xb4,'offsetStr':'-03:00','countries':['AR']},{'name':_0x477d('0x7dc'),'utcOffset':-0xb4,'offsetStr':_0x477d('0x7cc'),'countries':['AR']},{'name':_0x477d('0x7dd'),'utcOffset':-0xb4,'offsetStr':_0x477d('0x7cc'),'countries':['AR']},{'name':_0x477d('0x7de'),'utcOffset':-0xb4,'offsetStr':'-03:00','countries':['AR']},{'name':_0x477d('0x7df'),'utcOffset':-0xb4,'offsetStr':'-03:00','countries':['AR']},{'name':'America/Argentina/Rio_Gallegos','utcOffset':-0xb4,'offsetStr':_0x477d('0x7cc'),'countries':['AR']},{'name':_0x477d('0x7e0'),'utcOffset':-0xb4,'offsetStr':_0x477d('0x7cc'),'countries':['AR']},{'name':_0x477d('0x7e1'),'utcOffset':-0x294,'offsetStr':_0x477d('0x7e2'),'countries':['AS','UM']},{'name':_0x477d('0x7e3'),'utcOffset':0x3c,'offsetStr':_0x477d('0x7c4'),'countries':['AT']},{'name':'Australia/Lord_Howe','utcOffset':0x294,'offsetStr':_0x477d('0x7e4'),'countries':['AU']},{'name':_0x477d('0x7e5'),'utcOffset':0x294,'offsetStr':_0x477d('0x7e4'),'countries':['AU']},{'name':'Australia/Hobart','utcOffset':0x294,'offsetStr':'+11:00','countries':['AU']},{'name':_0x477d('0x7e6'),'utcOffset':0x294,'offsetStr':_0x477d('0x7e4'),'countries':['AU']},{'name':_0x477d('0x7e7'),'utcOffset':0x294,'offsetStr':_0x477d('0x7e4'),'countries':['AU']},{'name':_0x477d('0x7e8'),'utcOffset':0x294,'offsetStr':_0x477d('0x7e4'),'countries':['AU']},{'name':_0x477d('0x7e9'),'utcOffset':0x276,'offsetStr':_0x477d('0x7ea'),'countries':['AU']},{'name':_0x477d('0x7eb'),'utcOffset':0x258,'offsetStr':_0x477d('0x7d5'),'countries':['AU']},{'name':_0x477d('0x7ec'),'utcOffset':0x258,'offsetStr':'+10:00','countries':['AU']},{'name':_0x477d('0x7ed'),'utcOffset':0x276,'offsetStr':_0x477d('0x7ea'),'countries':['AU']},{'name':_0x477d('0x7ee'),'utcOffset':0x23a,'offsetStr':_0x477d('0x7ef'),'countries':['AU']},{'name':_0x477d('0x7f0'),'utcOffset':0x1e0,'offsetStr':'+08:00','countries':['AU']},{'name':_0x477d('0x7f1'),'utcOffset':0x20d,'offsetStr':'+08:45','countries':['AU']},{'name':_0x477d('0x7f2'),'utcOffset':0xf0,'offsetStr':_0x477d('0x7c6'),'countries':['AZ']},{'name':_0x477d('0x7f3'),'utcOffset':-0xf0,'offsetStr':_0x477d('0x7f4'),'countries':['BB']},{'name':_0x477d('0x7f5'),'utcOffset':0x168,'offsetStr':_0x477d('0x7d3'),'countries':['BD']},{'name':_0x477d('0x7f6'),'utcOffset':0x3c,'offsetStr':_0x477d('0x7c4'),'countries':['BE']},{'name':_0x477d('0x7f7'),'utcOffset':0x78,'offsetStr':_0x477d('0x7f8'),'countries':['BG']},{'name':_0x477d('0x7f9'),'utcOffset':-0xf0,'offsetStr':_0x477d('0x7f4'),'countries':['BM']},{'name':_0x477d('0x7fa'),'utcOffset':0x1e0,'offsetStr':_0x477d('0x7d1'),'countries':['BN']},{'name':_0x477d('0x7fb'),'utcOffset':-0xf0,'offsetStr':_0x477d('0x7f4'),'countries':['BO']},{'name':_0x477d('0x7fc'),'utcOffset':-0x78,'offsetStr':'-02:00','countries':['BR']},{'name':_0x477d('0x7fd'),'utcOffset':-0xb4,'offsetStr':_0x477d('0x7cc'),'countries':['BR']},{'name':_0x477d('0x7fe'),'utcOffset':-0xb4,'offsetStr':_0x477d('0x7cc'),'countries':['BR']},{'name':_0x477d('0x7ff'),'utcOffset':-0xb4,'offsetStr':'-03:00','countries':['BR']},{'name':_0x477d('0x800'),'utcOffset':-0xb4,'offsetStr':_0x477d('0x7cc'),'countries':['BR']},{'name':_0x477d('0x801'),'utcOffset':-0xb4,'offsetStr':_0x477d('0x7cc'),'countries':['BR']},{'name':'America/Bahia','utcOffset':-0xb4,'offsetStr':'-03:00','countries':['BR']},{'name':_0x477d('0x802'),'utcOffset':-0x78,'offsetStr':'-02:00','countries':['BR']},{'name':_0x477d('0x803'),'utcOffset':-0xb4,'offsetStr':_0x477d('0x7cc'),'countries':['BR']},{'name':_0x477d('0x804'),'utcOffset':-0xb4,'offsetStr':_0x477d('0x7cc'),'countries':['BR']},{'name':_0x477d('0x805'),'utcOffset':-0xb4,'offsetStr':_0x477d('0x7cc'),'countries':['BR']},{'name':_0x477d('0x806'),'utcOffset':-0xf0,'offsetStr':'-04:00','countries':['BR']},{'name':_0x477d('0x807'),'utcOffset':-0xf0,'offsetStr':_0x477d('0x7f4'),'countries':['BR']},{'name':_0x477d('0x808'),'utcOffset':-0xf0,'offsetStr':_0x477d('0x7f4'),'countries':['BR']},{'name':'America/Eirunepe','utcOffset':-0x12c,'offsetStr':_0x477d('0x809'),'countries':['BR']},{'name':_0x477d('0x80a'),'utcOffset':-0x12c,'offsetStr':_0x477d('0x809'),'countries':['BR']},{'name':_0x477d('0x80b'),'utcOffset':-0x12c,'offsetStr':_0x477d('0x809'),'countries':['BS']},{'name':_0x477d('0x80c'),'utcOffset':0x168,'offsetStr':'+06:00','countries':['BT']},{'name':_0x477d('0x80d'),'utcOffset':0xb4,'offsetStr':'+03:00','countries':['BY']},{'name':_0x477d('0x80e'),'utcOffset':-0x168,'offsetStr':_0x477d('0x80f'),'countries':['BZ']},{'name':_0x477d('0x810'),'utcOffset':-0xd2,'offsetStr':_0x477d('0x811'),'countries':['CA']},{'name':_0x477d('0x812'),'utcOffset':-0xf0,'offsetStr':_0x477d('0x7f4'),'countries':['CA']},{'name':_0x477d('0x813'),'utcOffset':-0xf0,'offsetStr':_0x477d('0x7f4'),'countries':['CA']},{'name':_0x477d('0x814'),'utcOffset':-0xf0,'offsetStr':_0x477d('0x7f4'),'countries':['CA']},{'name':'America/Goose_Bay','utcOffset':-0xf0,'offsetStr':_0x477d('0x7f4'),'countries':['CA']},{'name':_0x477d('0x815'),'utcOffset':-0xf0,'offsetStr':_0x477d('0x7f4'),'countries':['CA']},{'name':_0x477d('0x816'),'utcOffset':-0x12c,'offsetStr':_0x477d('0x809'),'countries':['CA']},{'name':_0x477d('0x817'),'utcOffset':-0x12c,'offsetStr':'-05:00','countries':['CA']},{'name':_0x477d('0x818'),'utcOffset':-0x12c,'offsetStr':'-05:00','countries':['CA']},{'name':_0x477d('0x819'),'utcOffset':-0x12c,'offsetStr':_0x477d('0x809'),'countries':['CA']},{'name':'America/Pangnirtung','utcOffset':-0x12c,'offsetStr':'-05:00','countries':['CA']},{'name':_0x477d('0x81a'),'utcOffset':-0x168,'offsetStr':_0x477d('0x80f'),'countries':['CA']},{'name':_0x477d('0x81b'),'utcOffset':-0x12c,'offsetStr':_0x477d('0x809'),'countries':['CA']},{'name':'America/Rankin_Inlet','utcOffset':-0x168,'offsetStr':_0x477d('0x80f'),'countries':['CA']},{'name':_0x477d('0x81c'),'utcOffset':-0x168,'offsetStr':_0x477d('0x80f'),'countries':['CA']},{'name':_0x477d('0x81d'),'utcOffset':-0x168,'offsetStr':_0x477d('0x80f'),'countries':['CA']},{'name':_0x477d('0x81e'),'utcOffset':-0x168,'offsetStr':_0x477d('0x80f'),'countries':['CA']},{'name':'America/Swift_Current','utcOffset':-0x168,'offsetStr':_0x477d('0x80f'),'countries':['CA']},{'name':_0x477d('0x81f'),'utcOffset':-0x1a4,'offsetStr':'-07:00','countries':['CA']},{'name':_0x477d('0x820'),'utcOffset':-0x1a4,'offsetStr':_0x477d('0x821'),'countries':['CA']},{'name':'America/Yellowknife','utcOffset':-0x1a4,'offsetStr':'-07:00','countries':['CA']},{'name':_0x477d('0x822'),'utcOffset':-0x1a4,'offsetStr':_0x477d('0x821'),'countries':['CA']},{'name':_0x477d('0x823'),'utcOffset':-0x1a4,'offsetStr':'-07:00','countries':['CA']},{'name':_0x477d('0x824'),'utcOffset':-0x1a4,'offsetStr':'-07:00','countries':['CA']},{'name':_0x477d('0x825'),'utcOffset':-0x1a4,'offsetStr':_0x477d('0x821'),'countries':['CA']},{'name':'America/Vancouver','utcOffset':-0x1e0,'offsetStr':_0x477d('0x826'),'countries':['CA']},{'name':'America/Whitehorse','utcOffset':-0x1e0,'offsetStr':_0x477d('0x826'),'countries':['CA']},{'name':_0x477d('0x827'),'utcOffset':-0x1e0,'offsetStr':'-08:00','countries':['CA']},{'name':_0x477d('0x828'),'utcOffset':0x186,'offsetStr':'+06:30','countries':['CC']},{'name':_0x477d('0x829'),'utcOffset':0x3c,'offsetStr':_0x477d('0x7c4'),'countries':['CH','DE','LI']},{'name':_0x477d('0x82a'),'utcOffset':0x0,'offsetStr':'+00:00','countries':['CI','BF','GM','GN','ML','MR','SH','SL','SN','ST','TG']},{'name':'Pacific/Rarotonga','utcOffset':-0x258,'offsetStr':_0x477d('0x82b'),'countries':['CK']},{'name':_0x477d('0x82c'),'utcOffset':-0xb4,'offsetStr':_0x477d('0x7cc'),'countries':['CL']},{'name':'Pacific/Easter','utcOffset':-0x12c,'offsetStr':_0x477d('0x809'),'countries':['CL']},{'name':_0x477d('0x82d'),'utcOffset':0x1e0,'offsetStr':_0x477d('0x7d1'),'countries':['CN']},{'name':_0x477d('0x82e'),'utcOffset':0x168,'offsetStr':_0x477d('0x7d3'),'countries':['CN']},{'name':_0x477d('0x82f'),'utcOffset':-0x12c,'offsetStr':_0x477d('0x809'),'countries':['CO']},{'name':_0x477d('0x830'),'utcOffset':-0x168,'offsetStr':_0x477d('0x80f'),'countries':['CR']},{'name':_0x477d('0x831'),'utcOffset':-0x12c,'offsetStr':_0x477d('0x809'),'countries':['CU']},{'name':_0x477d('0x832'),'utcOffset':-0x3c,'offsetStr':'-01:00','countries':['CV']},{'name':_0x477d('0x833'),'utcOffset':-0xf0,'offsetStr':'-04:00','countries':['CW','AW','BQ','SX']},{'name':_0x477d('0x834'),'utcOffset':0x1a4,'offsetStr':'+07:00','countries':['CX']},{'name':_0x477d('0x835'),'utcOffset':0x78,'offsetStr':_0x477d('0x7f8'),'countries':['CY']},{'name':_0x477d('0x836'),'utcOffset':0x3c,'offsetStr':_0x477d('0x7c4'),'countries':['CZ','SK']},{'name':_0x477d('0x837'),'utcOffset':0x3c,'offsetStr':_0x477d('0x7c4'),'countries':['DE']},{'name':_0x477d('0x838'),'utcOffset':0x3c,'offsetStr':_0x477d('0x7c4'),'countries':['DK']},{'name':_0x477d('0x839'),'utcOffset':-0xf0,'offsetStr':_0x477d('0x7f4'),'countries':['DO']},{'name':_0x477d('0x83a'),'utcOffset':0x3c,'offsetStr':_0x477d('0x7c4'),'countries':['DZ']},{'name':_0x477d('0x83b'),'utcOffset':-0x12c,'offsetStr':_0x477d('0x809'),'countries':['EC']},{'name':_0x477d('0x83c'),'utcOffset':-0x168,'offsetStr':_0x477d('0x80f'),'countries':['EC']},{'name':_0x477d('0x83d'),'utcOffset':0x78,'offsetStr':_0x477d('0x7f8'),'countries':['EE']},{'name':_0x477d('0x83e'),'utcOffset':0x78,'offsetStr':_0x477d('0x7f8'),'countries':['EG']},{'name':_0x477d('0x83f'),'utcOffset':0x0,'offsetStr':_0x477d('0x840'),'countries':['EH']},{'name':_0x477d('0x841'),'utcOffset':0x3c,'offsetStr':'+01:00','countries':['ES']},{'name':_0x477d('0x842'),'utcOffset':0x3c,'offsetStr':_0x477d('0x7c4'),'countries':['ES']},{'name':_0x477d('0x843'),'utcOffset':0x0,'offsetStr':_0x477d('0x840'),'countries':['ES']},{'name':_0x477d('0x844'),'utcOffset':0x78,'offsetStr':'+02:00','countries':['FI','AX']},{'name':_0x477d('0x845'),'utcOffset':0x2d0,'offsetStr':_0x477d('0x846'),'countries':['FJ']},{'name':'Atlantic/Stanley','utcOffset':-0xb4,'offsetStr':_0x477d('0x7cc'),'countries':['FK']},{'name':_0x477d('0x847'),'utcOffset':0x258,'offsetStr':_0x477d('0x7d5'),'countries':['FM']},{'name':_0x477d('0x848'),'utcOffset':0x294,'offsetStr':'+11:00','countries':['FM']},{'name':'Pacific/Kosrae','utcOffset':0x294,'offsetStr':_0x477d('0x7e4'),'countries':['FM']},{'name':_0x477d('0x849'),'utcOffset':0x0,'offsetStr':'+00:00','countries':['FO']},{'name':'Europe/Paris','utcOffset':0x3c,'offsetStr':_0x477d('0x7c4'),'countries':['FR']},{'name':_0x477d('0x84a'),'utcOffset':0x0,'offsetStr':_0x477d('0x840'),'countries':['GB','GG','IM','JE']},{'name':_0x477d('0x84b'),'utcOffset':0xf0,'offsetStr':'+04:00','countries':['GE']},{'name':'America/Cayenne','utcOffset':-0xb4,'offsetStr':_0x477d('0x7cc'),'countries':['GF']},{'name':_0x477d('0x84c'),'utcOffset':0x0,'offsetStr':'+00:00','countries':['GH']},{'name':_0x477d('0x84d'),'utcOffset':0x3c,'offsetStr':_0x477d('0x7c4'),'countries':['GI']},{'name':_0x477d('0x84e'),'utcOffset':-0xb4,'offsetStr':_0x477d('0x7cc'),'countries':['GL']},{'name':_0x477d('0x84f'),'utcOffset':0x0,'offsetStr':_0x477d('0x840'),'countries':['GL']},{'name':_0x477d('0x850'),'utcOffset':-0x3c,'offsetStr':_0x477d('0x851'),'countries':['GL']},{'name':_0x477d('0x852'),'utcOffset':-0xf0,'offsetStr':'-04:00','countries':['GL']},{'name':'Europe/Athens','utcOffset':0x78,'offsetStr':_0x477d('0x7f8'),'countries':['GR']},{'name':_0x477d('0x853'),'utcOffset':-0x78,'offsetStr':'-02:00','countries':['GS']},{'name':_0x477d('0x854'),'utcOffset':-0x168,'offsetStr':_0x477d('0x80f'),'countries':['GT']},{'name':'Pacific/Guam','utcOffset':0x258,'offsetStr':'+10:00','countries':['GU','MP']},{'name':_0x477d('0x855'),'utcOffset':0x0,'offsetStr':_0x477d('0x840'),'countries':['GW']},{'name':_0x477d('0x856'),'utcOffset':-0xf0,'offsetStr':_0x477d('0x7f4'),'countries':['GY']},{'name':_0x477d('0x857'),'utcOffset':0x1e0,'offsetStr':_0x477d('0x7d1'),'countries':['HK']},{'name':'America/Tegucigalpa','utcOffset':-0x168,'offsetStr':_0x477d('0x80f'),'countries':['HN']},{'name':_0x477d('0x858'),'utcOffset':-0x12c,'offsetStr':'-05:00','countries':['HT']},{'name':_0x477d('0x859'),'utcOffset':0x3c,'offsetStr':'+01:00','countries':['HU']},{'name':'Asia/Jakarta','utcOffset':0x1a4,'offsetStr':_0x477d('0x7cf'),'countries':['ID']},{'name':'Asia/Pontianak','utcOffset':0x1a4,'offsetStr':'+07:00','countries':['ID']},{'name':_0x477d('0x85a'),'utcOffset':0x1e0,'offsetStr':_0x477d('0x7d1'),'countries':['ID']},{'name':_0x477d('0x85b'),'utcOffset':0x21c,'offsetStr':_0x477d('0x85c'),'countries':['ID']},{'name':_0x477d('0x85d'),'utcOffset':0x0,'offsetStr':_0x477d('0x840'),'countries':['IE']},{'name':_0x477d('0x85e'),'utcOffset':0x78,'offsetStr':'+02:00','countries':['IL']},{'name':'Asia/Kolkata','utcOffset':0x14a,'offsetStr':_0x477d('0x85f'),'countries':['IN']},{'name':_0x477d('0x860'),'utcOffset':0x168,'offsetStr':_0x477d('0x7d3'),'countries':['IO']},{'name':_0x477d('0x861'),'utcOffset':0xb4,'offsetStr':_0x477d('0x7d6'),'countries':['IQ']},{'name':_0x477d('0x862'),'utcOffset':0xd2,'offsetStr':'+03:30','countries':['IR']},{'name':_0x477d('0x863'),'utcOffset':0x0,'offsetStr':_0x477d('0x840'),'countries':['IS']},{'name':_0x477d('0x864'),'utcOffset':0x3c,'offsetStr':_0x477d('0x7c4'),'countries':['IT','SM','VA']},{'name':_0x477d('0x865'),'utcOffset':-0x12c,'offsetStr':_0x477d('0x809'),'countries':['JM']},{'name':_0x477d('0x866'),'utcOffset':0x78,'offsetStr':_0x477d('0x7f8'),'countries':['JO']},{'name':_0x477d('0x867'),'utcOffset':0x21c,'offsetStr':_0x477d('0x85c'),'countries':['JP']},{'name':_0x477d('0x868'),'utcOffset':0xb4,'offsetStr':_0x477d('0x7d6'),'countries':['KE','DJ','ER','ET','KM','MG','SO','TZ','UG','YT']},{'name':_0x477d('0x869'),'utcOffset':0x168,'offsetStr':_0x477d('0x7d3'),'countries':['KG']},{'name':_0x477d('0x86a'),'utcOffset':0x2d0,'offsetStr':_0x477d('0x846'),'countries':['KI']},{'name':_0x477d('0x86b'),'utcOffset':0x30c,'offsetStr':_0x477d('0x86c'),'countries':['KI']},{'name':_0x477d('0x86d'),'utcOffset':0x348,'offsetStr':_0x477d('0x86e'),'countries':['KI']},{'name':_0x477d('0x86f'),'utcOffset':0x1fe,'offsetStr':'+08:30','countries':['KP']},{'name':'Asia/Seoul','utcOffset':0x21c,'offsetStr':_0x477d('0x85c'),'countries':['KR']},{'name':_0x477d('0x870'),'utcOffset':-0x12c,'offsetStr':_0x477d('0x809'),'countries':['KY']},{'name':_0x477d('0x871'),'utcOffset':0x168,'offsetStr':'+06:00','countries':['KZ']},{'name':'Asia/Qyzylorda','utcOffset':0x168,'offsetStr':_0x477d('0x7d3'),'countries':['KZ']},{'name':'Asia/Aqtobe','utcOffset':0x12c,'offsetStr':_0x477d('0x872'),'countries':['KZ']},{'name':_0x477d('0x873'),'utcOffset':0x12c,'offsetStr':'+05:00','countries':['KZ']},{'name':_0x477d('0x874'),'utcOffset':0x12c,'offsetStr':_0x477d('0x872'),'countries':['KZ']},{'name':_0x477d('0x875'),'utcOffset':0x78,'offsetStr':'+02:00','countries':['LB']},{'name':_0x477d('0x876'),'utcOffset':0x14a,'offsetStr':'+05:30','countries':['LK']},{'name':_0x477d('0x877'),'utcOffset':0x0,'offsetStr':_0x477d('0x840'),'countries':['LR']},{'name':_0x477d('0x878'),'utcOffset':0x78,'offsetStr':_0x477d('0x7f8'),'countries':['LT']},{'name':_0x477d('0x879'),'utcOffset':0x3c,'offsetStr':_0x477d('0x7c4'),'countries':['LU']},{'name':_0x477d('0x87a'),'utcOffset':0x78,'offsetStr':_0x477d('0x7f8'),'countries':['LV']},{'name':_0x477d('0x87b'),'utcOffset':0x78,'offsetStr':_0x477d('0x7f8'),'countries':['LY']},{'name':_0x477d('0x87c'),'utcOffset':0x0,'offsetStr':_0x477d('0x840'),'countries':['MA']},{'name':_0x477d('0x87d'),'utcOffset':0x3c,'offsetStr':'+01:00','countries':['MC']},{'name':'Europe/Chisinau','utcOffset':0x78,'offsetStr':_0x477d('0x7f8'),'countries':['MD']},{'name':_0x477d('0x87e'),'utcOffset':0x2d0,'offsetStr':_0x477d('0x846'),'countries':['MH']},{'name':_0x477d('0x87f'),'utcOffset':0x2d0,'offsetStr':'+12:00','countries':['MH']},{'name':_0x477d('0x880'),'utcOffset':0x186,'offsetStr':_0x477d('0x881'),'countries':['MM']},{'name':_0x477d('0x882'),'utcOffset':0x1e0,'offsetStr':_0x477d('0x7d1'),'countries':['MN']},{'name':_0x477d('0x883'),'utcOffset':0x1a4,'offsetStr':_0x477d('0x7cf'),'countries':['MN']},{'name':_0x477d('0x884'),'utcOffset':0x1e0,'offsetStr':_0x477d('0x7d1'),'countries':['MN']},{'name':'Asia/Macau','utcOffset':0x1e0,'offsetStr':'+08:00','countries':['MO']},{'name':_0x477d('0x885'),'utcOffset':-0xf0,'offsetStr':'-04:00','countries':['MQ']},{'name':_0x477d('0x886'),'utcOffset':0x3c,'offsetStr':_0x477d('0x7c4'),'countries':['MT']},{'name':'Indian/Mauritius','utcOffset':0xf0,'offsetStr':'+04:00','countries':['MU']},{'name':'Indian/Maldives','utcOffset':0x12c,'offsetStr':_0x477d('0x872'),'countries':['MV']},{'name':_0x477d('0x887'),'utcOffset':-0x168,'offsetStr':_0x477d('0x80f'),'countries':['MX']},{'name':'America/Cancun','utcOffset':-0x12c,'offsetStr':'-05:00','countries':['MX']},{'name':'America/Merida','utcOffset':-0x168,'offsetStr':'-06:00','countries':['MX']},{'name':_0x477d('0x888'),'utcOffset':-0x168,'offsetStr':_0x477d('0x80f'),'countries':['MX']},{'name':_0x477d('0x889'),'utcOffset':-0x168,'offsetStr':'-06:00','countries':['MX']},{'name':_0x477d('0x88a'),'utcOffset':-0x1a4,'offsetStr':_0x477d('0x821'),'countries':['MX']},{'name':'America/Chihuahua','utcOffset':-0x1a4,'offsetStr':_0x477d('0x821'),'countries':['MX']},{'name':_0x477d('0x88b'),'utcOffset':-0x1a4,'offsetStr':'-07:00','countries':['MX']},{'name':'America/Hermosillo','utcOffset':-0x1a4,'offsetStr':'-07:00','countries':['MX']},{'name':_0x477d('0x88c'),'utcOffset':-0x1e0,'offsetStr':_0x477d('0x826'),'countries':['MX']},{'name':_0x477d('0x88d'),'utcOffset':-0x1e0,'offsetStr':_0x477d('0x826'),'countries':['MX']},{'name':_0x477d('0x88e'),'utcOffset':-0x168,'offsetStr':_0x477d('0x80f'),'countries':['MX']},{'name':'Asia/Kuala_Lumpur','utcOffset':0x1e0,'offsetStr':_0x477d('0x7d1'),'countries':['MY']},{'name':_0x477d('0x88f'),'utcOffset':0x1e0,'offsetStr':_0x477d('0x7d1'),'countries':['MY']},{'name':_0x477d('0x890'),'utcOffset':0x78,'offsetStr':'+02:00','countries':['MZ','BI','BW','CD','MW','RW','ZM','ZW']},{'name':_0x477d('0x891'),'utcOffset':0x78,'offsetStr':_0x477d('0x7f8'),'countries':['NA']},{'name':_0x477d('0x892'),'utcOffset':0x294,'offsetStr':_0x477d('0x7e4'),'countries':['NC']},{'name':_0x477d('0x893'),'utcOffset':0x294,'offsetStr':_0x477d('0x7e4'),'countries':['NF']},{'name':_0x477d('0x894'),'utcOffset':0x3c,'offsetStr':_0x477d('0x7c4'),'countries':['NG','AO','BJ','CD','CF','CG','CM','GA','GQ','NE']},{'name':_0x477d('0x895'),'utcOffset':-0x168,'offsetStr':'-06:00','countries':['NI']},{'name':_0x477d('0x896'),'utcOffset':0x3c,'offsetStr':_0x477d('0x7c4'),'countries':['NL']},{'name':_0x477d('0x897'),'utcOffset':0x3c,'offsetStr':_0x477d('0x7c4'),'countries':['NO','SJ']},{'name':_0x477d('0x898'),'utcOffset':0x159,'offsetStr':_0x477d('0x899'),'countries':['NP']},{'name':_0x477d('0x89a'),'utcOffset':0x2d0,'offsetStr':_0x477d('0x846'),'countries':['NR']},{'name':_0x477d('0x89b'),'utcOffset':-0x294,'offsetStr':_0x477d('0x7e2'),'countries':['NU']},{'name':'Pacific/Auckland','utcOffset':0x30c,'offsetStr':_0x477d('0x86c'),'countries':['NZ','AQ']},{'name':_0x477d('0x89c'),'utcOffset':0x339,'offsetStr':'+13:45','countries':['NZ']},{'name':_0x477d('0x89d'),'utcOffset':-0x12c,'offsetStr':_0x477d('0x809'),'countries':['PA']},{'name':'America/Lima','utcOffset':-0x12c,'offsetStr':_0x477d('0x809'),'countries':['PE']},{'name':_0x477d('0x89e'),'utcOffset':-0x258,'offsetStr':_0x477d('0x82b'),'countries':['PF']},{'name':_0x477d('0x89f'),'utcOffset':-0x23a,'offsetStr':_0x477d('0x8a0'),'countries':['PF']},{'name':_0x477d('0x8a1'),'utcOffset':-0x21c,'offsetStr':_0x477d('0x8a2'),'countries':['PF']},{'name':_0x477d('0x8a3'),'utcOffset':0x258,'offsetStr':_0x477d('0x7d5'),'countries':['PG']},{'name':_0x477d('0x8a4'),'utcOffset':0x294,'offsetStr':_0x477d('0x7e4'),'countries':['PG']},{'name':_0x477d('0x8a5'),'utcOffset':0x1e0,'offsetStr':_0x477d('0x7d1'),'countries':['PH']},{'name':_0x477d('0x8a6'),'utcOffset':0x12c,'offsetStr':_0x477d('0x872'),'countries':['PK']},{'name':_0x477d('0x8a7'),'utcOffset':0x3c,'offsetStr':_0x477d('0x7c4'),'countries':['PL']},{'name':_0x477d('0x8a8'),'utcOffset':-0xb4,'offsetStr':_0x477d('0x7cc'),'countries':['PM']},{'name':_0x477d('0x8a9'),'utcOffset':-0x1e0,'offsetStr':_0x477d('0x826'),'countries':['PN']},{'name':'America/Puerto_Rico','utcOffset':-0xf0,'offsetStr':_0x477d('0x7f4'),'countries':['PR']},{'name':_0x477d('0x8aa'),'utcOffset':0x78,'offsetStr':_0x477d('0x7f8'),'countries':['PS']},{'name':'Asia/Hebron','utcOffset':0x78,'offsetStr':'+02:00','countries':['PS']},{'name':'Europe/Lisbon','utcOffset':0x0,'offsetStr':'+00:00','countries':['PT']},{'name':'Atlantic/Madeira','utcOffset':0x0,'offsetStr':'+00:00','countries':['PT']},{'name':'Atlantic/Azores','utcOffset':-0x3c,'offsetStr':_0x477d('0x851'),'countries':['PT']},{'name':_0x477d('0x8ab'),'utcOffset':0x21c,'offsetStr':_0x477d('0x85c'),'countries':['PW']},{'name':_0x477d('0x8ac'),'utcOffset':-0xb4,'offsetStr':'-03:00','countries':['PY']},{'name':_0x477d('0x8ad'),'utcOffset':0xb4,'offsetStr':'+03:00','countries':['QA','BH']},{'name':_0x477d('0x8ae'),'utcOffset':0xf0,'offsetStr':'+04:00','countries':['RE','TF']},{'name':'Europe/Bucharest','utcOffset':0x78,'offsetStr':'+02:00','countries':['RO']},{'name':'Europe/Belgrade','utcOffset':0x3c,'offsetStr':_0x477d('0x7c4'),'countries':['RS','BA','HR','ME','MK','SI']},{'name':_0x477d('0x8af'),'utcOffset':0x78,'offsetStr':_0x477d('0x7f8'),'countries':['RU']},{'name':'Europe/Moscow','utcOffset':0xb4,'offsetStr':'+03:00','countries':['RU']},{'name':_0x477d('0x8b0'),'utcOffset':0xb4,'offsetStr':_0x477d('0x7d6'),'countries':['RU']},{'name':_0x477d('0x8b1'),'utcOffset':0xb4,'offsetStr':_0x477d('0x7d6'),'countries':['RU']},{'name':_0x477d('0x8b2'),'utcOffset':0xf0,'offsetStr':'+04:00','countries':['RU']},{'name':_0x477d('0x8b3'),'utcOffset':0x12c,'offsetStr':_0x477d('0x872'),'countries':['RU']},{'name':_0x477d('0x8b4'),'utcOffset':0x168,'offsetStr':_0x477d('0x7d3'),'countries':['RU']},{'name':_0x477d('0x8b5'),'utcOffset':0x168,'offsetStr':_0x477d('0x7d3'),'countries':['RU']},{'name':_0x477d('0x8b6'),'utcOffset':0x1a4,'offsetStr':_0x477d('0x7cf'),'countries':['RU']},{'name':'Asia/Krasnoyarsk','utcOffset':0x1a4,'offsetStr':_0x477d('0x7cf'),'countries':['RU']},{'name':_0x477d('0x8b7'),'utcOffset':0x1e0,'offsetStr':_0x477d('0x7d1'),'countries':['RU']},{'name':'Asia/Chita','utcOffset':0x1e0,'offsetStr':_0x477d('0x7d1'),'countries':['RU']},{'name':_0x477d('0x8b8'),'utcOffset':0x21c,'offsetStr':_0x477d('0x85c'),'countries':['RU']},{'name':_0x477d('0x8b9'),'utcOffset':0x21c,'offsetStr':_0x477d('0x85c'),'countries':['RU']},{'name':_0x477d('0x8ba'),'utcOffset':0x258,'offsetStr':_0x477d('0x7d5'),'countries':['RU']},{'name':_0x477d('0x8bb'),'utcOffset':0x258,'offsetStr':'+10:00','countries':['RU']},{'name':_0x477d('0x8bc'),'utcOffset':0x258,'offsetStr':'+10:00','countries':['RU']},{'name':_0x477d('0x8bd'),'utcOffset':0x258,'offsetStr':_0x477d('0x7d5'),'countries':['RU']},{'name':_0x477d('0x8be'),'utcOffset':0x294,'offsetStr':_0x477d('0x7e4'),'countries':['RU']},{'name':_0x477d('0x8bf'),'utcOffset':0x2d0,'offsetStr':_0x477d('0x846'),'countries':['RU']},{'name':_0x477d('0x8c0'),'utcOffset':0x2d0,'offsetStr':_0x477d('0x846'),'countries':['RU']},{'name':_0x477d('0x8c1'),'utcOffset':0xb4,'offsetStr':_0x477d('0x7d6'),'countries':['SA','KW','YE']},{'name':'Pacific/Guadalcanal','utcOffset':0x294,'offsetStr':'+11:00','countries':['SB']},{'name':_0x477d('0x8c2'),'utcOffset':0xf0,'offsetStr':_0x477d('0x7c6'),'countries':['SC']},{'name':_0x477d('0x8c3'),'utcOffset':0xb4,'offsetStr':_0x477d('0x7d6'),'countries':['SD','SS']},{'name':_0x477d('0x8c4'),'utcOffset':0x3c,'offsetStr':_0x477d('0x7c4'),'countries':['SE']},{'name':'Asia/Singapore','utcOffset':0x1e0,'offsetStr':_0x477d('0x7d1'),'countries':['SG']},{'name':_0x477d('0x8c5'),'utcOffset':-0xb4,'offsetStr':_0x477d('0x7cc'),'countries':['SR']},{'name':_0x477d('0x8c6'),'utcOffset':-0x168,'offsetStr':_0x477d('0x80f'),'countries':['SV']},{'name':_0x477d('0x8c7'),'utcOffset':0x78,'offsetStr':_0x477d('0x7f8'),'countries':['SY']},{'name':_0x477d('0x8c8'),'utcOffset':-0xf0,'offsetStr':_0x477d('0x7f4'),'countries':['TC']},{'name':_0x477d('0x8c9'),'utcOffset':0x3c,'offsetStr':_0x477d('0x7c4'),'countries':['TD']},{'name':_0x477d('0x8ca'),'utcOffset':0x12c,'offsetStr':'+05:00','countries':['TF']},{'name':_0x477d('0x8cb'),'utcOffset':0x1a4,'offsetStr':_0x477d('0x7cf'),'countries':['TH','KH','LA','VN']},{'name':_0x477d('0x8cc'),'utcOffset':0x12c,'offsetStr':_0x477d('0x872'),'countries':['TJ']},{'name':_0x477d('0x8cd'),'utcOffset':0x30c,'offsetStr':_0x477d('0x86c'),'countries':['TK']},{'name':'Asia/Dili','utcOffset':0x21c,'offsetStr':_0x477d('0x85c'),'countries':['TL']},{'name':_0x477d('0x8ce'),'utcOffset':0x12c,'offsetStr':_0x477d('0x872'),'countries':['TM']},{'name':_0x477d('0x8cf'),'utcOffset':0x3c,'offsetStr':_0x477d('0x7c4'),'countries':['TN']},{'name':_0x477d('0x8d0'),'utcOffset':0x30c,'offsetStr':_0x477d('0x86c'),'countries':['TO']},{'name':'Europe/Istanbul','utcOffset':0x78,'offsetStr':_0x477d('0x7f8'),'countries':['TR']},{'name':'America/Port_of_Spain','utcOffset':-0xf0,'offsetStr':'-04:00','countries':['TT','AG','AI','BL','DM','GD','GP','KN','LC','MF','MS','VC','VG','VI']},{'name':_0x477d('0x8d1'),'utcOffset':0x2d0,'offsetStr':_0x477d('0x846'),'countries':['TV']},{'name':_0x477d('0x8d2'),'utcOffset':0x1e0,'offsetStr':_0x477d('0x7d1'),'countries':['TW']},{'name':_0x477d('0x8d3'),'utcOffset':0x78,'offsetStr':_0x477d('0x7f8'),'countries':['UA']},{'name':_0x477d('0x8d4'),'utcOffset':0x78,'offsetStr':_0x477d('0x7f8'),'countries':['UA']},{'name':'Europe/Zaporozhye','utcOffset':0x78,'offsetStr':'+02:00','countries':['UA']},{'name':_0x477d('0x8d5'),'utcOffset':0x2d0,'offsetStr':_0x477d('0x846'),'countries':['UM']},{'name':'America/New_York','utcOffset':-0x12c,'offsetStr':_0x477d('0x809'),'countries':['US']},{'name':_0x477d('0x8d6'),'utcOffset':-0x12c,'offsetStr':'-05:00','countries':['US']},{'name':_0x477d('0x8d7'),'utcOffset':-0x12c,'offsetStr':_0x477d('0x809'),'countries':['US']},{'name':_0x477d('0x8d8'),'utcOffset':-0x12c,'offsetStr':_0x477d('0x809'),'countries':['US']},{'name':_0x477d('0x8d9'),'utcOffset':-0x12c,'offsetStr':_0x477d('0x809'),'countries':['US']},{'name':_0x477d('0x8da'),'utcOffset':-0x12c,'offsetStr':'-05:00','countries':['US']},{'name':_0x477d('0x8db'),'utcOffset':-0x12c,'offsetStr':_0x477d('0x809'),'countries':['US']},{'name':'America/Indiana/Marengo','utcOffset':-0x12c,'offsetStr':_0x477d('0x809'),'countries':['US']},{'name':_0x477d('0x8dc'),'utcOffset':-0x12c,'offsetStr':'-05:00','countries':['US']},{'name':_0x477d('0x8dd'),'utcOffset':-0x12c,'offsetStr':_0x477d('0x809'),'countries':['US']},{'name':'America/Chicago','utcOffset':-0x168,'offsetStr':'-06:00','countries':['US']},{'name':_0x477d('0x8de'),'utcOffset':-0x168,'offsetStr':_0x477d('0x80f'),'countries':['US']},{'name':_0x477d('0x8df'),'utcOffset':-0x168,'offsetStr':_0x477d('0x80f'),'countries':['US']},{'name':_0x477d('0x8e0'),'utcOffset':-0x168,'offsetStr':_0x477d('0x80f'),'countries':['US']},{'name':'America/North_Dakota/Center','utcOffset':-0x168,'offsetStr':_0x477d('0x80f'),'countries':['US']},{'name':_0x477d('0x8e1'),'utcOffset':-0x168,'offsetStr':_0x477d('0x80f'),'countries':['US']},{'name':'America/North_Dakota/Beulah','utcOffset':-0x168,'offsetStr':_0x477d('0x80f'),'countries':['US']},{'name':_0x477d('0x8e2'),'utcOffset':-0x1a4,'offsetStr':_0x477d('0x821'),'countries':['US']},{'name':_0x477d('0x8e3'),'utcOffset':-0x1a4,'offsetStr':_0x477d('0x821'),'countries':['US']},{'name':_0x477d('0x8e4'),'utcOffset':-0x1a4,'offsetStr':'-07:00','countries':['US']},{'name':_0x477d('0x8e5'),'utcOffset':-0x1e0,'offsetStr':'-08:00','countries':['US']},{'name':_0x477d('0x8e6'),'utcOffset':-0x1e0,'offsetStr':_0x477d('0x826'),'countries':['US']},{'name':_0x477d('0x8e7'),'utcOffset':-0x21c,'offsetStr':'-09:00','countries':['US']},{'name':_0x477d('0x8e8'),'utcOffset':-0x21c,'offsetStr':_0x477d('0x8a2'),'countries':['US']},{'name':_0x477d('0x8e9'),'utcOffset':-0x21c,'offsetStr':_0x477d('0x8a2'),'countries':['US']},{'name':_0x477d('0x8ea'),'utcOffset':-0x21c,'offsetStr':_0x477d('0x8a2'),'countries':['US']},{'name':_0x477d('0x8eb'),'utcOffset':-0x21c,'offsetStr':_0x477d('0x8a2'),'countries':['US']},{'name':_0x477d('0x8ec'),'utcOffset':-0x258,'offsetStr':_0x477d('0x82b'),'countries':['US']},{'name':_0x477d('0x8ed'),'utcOffset':-0x258,'offsetStr':'-10:00','countries':['US','UM']},{'name':_0x477d('0x8ee'),'utcOffset':-0xb4,'offsetStr':_0x477d('0x7cc'),'countries':['UY']},{'name':_0x477d('0x8ef'),'utcOffset':0x12c,'offsetStr':_0x477d('0x872'),'countries':['UZ']},{'name':'Asia/Tashkent','utcOffset':0x12c,'offsetStr':_0x477d('0x872'),'countries':['UZ']},{'name':'America/Caracas','utcOffset':-0x10e,'offsetStr':'-04:30','countries':['VE']},{'name':'Asia/Ho_Chi_Minh','utcOffset':0x1a4,'offsetStr':_0x477d('0x7cf'),'countries':['VN']},{'name':'Pacific/Efate','utcOffset':0x294,'offsetStr':_0x477d('0x7e4'),'countries':['VU']},{'name':'Pacific/Wallis','utcOffset':0x2d0,'offsetStr':_0x477d('0x846'),'countries':['WF']},{'name':_0x477d('0x8f0'),'utcOffset':0x348,'offsetStr':_0x477d('0x86e'),'countries':['WS']},{'name':_0x477d('0x8f1'),'utcOffset':0x78,'offsetStr':_0x477d('0x7f8'),'countries':['ZA','LS','SZ']}];}],'templateUrl':_0x477d('0x8f2')};}}());(function(){'use strict';angular['module'](_0x477d('0x1'))[_0x477d('0x3ba')]('MsWidgetEngineCounterController',_0x4f0462);function _0x4f0462(){var _0x201b16=this;_0x201b16[_0x477d('0x3b3')]=[];_0x201b16['filtered']=![];_0x201b16[_0x477d('0x8f3')]=0x14;_0x201b16[_0x477d('0x8f4')]=_0x806a9e;function _0x806a9e(_0x5db9d6){var _0x26524b=0x0;if(_0x5db9d6){_0x201b16[_0x477d('0x8f3')]=_0x5db9d6[_0x477d('0x8f5')][0x2]&&_0x5db9d6[_0x477d('0x8f5')][0x2][_0x477d('0x3b6')]?parseInt(_0x5db9d6[_0x477d('0x8f5')][0x2][_0x477d('0x3b6')])-parseInt(_0x5db9d6[_0x477d('0x8f5')][0x2]['value'])%0x2:0x14;if(_0x5db9d6[_0x477d('0x8f5')][0x1][_0x477d('0x3b6')]&&_0x5db9d6['attrs'][0x1][_0x477d('0x3b6')][_0x477d('0x79')]){_0x201b16[_0x477d('0x8f6')]=!![];_0x201b16[_0x477d('0x3b3')]=_[_0x477d('0x8f7')](_0x5db9d6['voiceQueuesSelected'],_0x5db9d6[_0x477d('0x8f5')][0x1][_0x477d('0x3b6')]);}else{_0x201b16['filtered']=![];_0x201b16[_0x477d('0x3b3')]=_0x5db9d6[_0x477d('0x8f8')];}for(var _0x343ecf=0x0;_0x343ecf<_0x5db9d6[_0x477d('0x8f9')][_0x477d('0xf2')][_0x477d('0x79')];_0x343ecf+=0x1){if(_[_0x477d('0x3a4')](_0x201b16['filter'],_0x5db9d6[_0x477d('0x8f9')]['rows'][_0x343ecf]['id'])){_0x26524b+=_0x5db9d6[_0x477d('0x8f9')]['rows'][_0x343ecf][_0x5db9d6[_0x477d('0x8f5')][0x0][_0x477d('0x3b6')]]?parseInt(_0x5db9d6[_0x477d('0x8f9')][_0x477d('0xf2')][_0x343ecf][_0x5db9d6[_0x477d('0x8f5')][0x0][_0x477d('0x3b6')]]):0x0;}}}return _0x26524b;}}}());(function(){'use strict';_0x4a9d39[_0x477d('0xa')]=['$translate','socket'];angular[_0x477d('0xb')](_0x477d('0x1'))[_0x477d('0x3ba')](_0x477d('0x8fa'),_0x4a9d39);function _0x4a9d39(_0x328dae,_0x18bb68){var _0x4028e7=this;_0x4028e7[_0x477d('0x3b3')]=[];_0x4028e7[_0x477d('0x8f6')]=![];_0x4028e7['properties']=[];_0x4028e7['multiBarChart']={'labels':[_0x477d('0x8fb')],'series':[_0x477d('0x8fc')],'data':[[0x32]],'options':{'responsive':!![],'legend':{'display':!![],'fontColor':_0x477d('0x8fd')},'scales':{'xAxes':[{'gridLines':{'display':!![]},'ticks':{'fontColor':_0x477d('0x8fd'),'stepSize':0x1,'beginAtZero':!![]}}],'yAxes':[{'gridLines':{'display':![]},'ticks':{'fontColor':_0x477d('0x8fd')}}]}}};_0x4028e7[_0x477d('0x8fe')]=_0x31ad0f;function _0x41347d(_0x5477bd){_0x4028e7['properties']=_[_0x477d('0x3cb')](_[_0x477d('0x3b3')](_0x5477bd[_0x477d('0x8f5')],function(_0x47312e){return _0x47312e['name']&&_0x47312e[_0x477d('0x94')][_0x477d('0x477')](_0x477d('0x8ff'))>=0x0&&_0x47312e[_0x477d('0x3b6')]&&_0x47312e[_0x477d('0x3b6')]!==_0x477d('0xea');}),_0x477d('0x3b6'));if(_0x5477bd[_0x477d('0x8f5')][0x3][_0x477d('0x3b6')]&&_0x5477bd[_0x477d('0x8f5')][0x3][_0x477d('0x3b6')][_0x477d('0x79')]){_0x4028e7[_0x477d('0x8f6')]=!![];_0x4028e7[_0x477d('0x3b3')]=_[_0x477d('0x8f7')](_0x5477bd[_0x477d('0x8f8')],_0x5477bd[_0x477d('0x8f5')][0x3][_0x477d('0x3b6')]);}else{_0x4028e7[_0x477d('0x8f6')]=![];_0x4028e7['filter']=_0x5477bd[_0x477d('0x8f8')];}if(_0x4028e7['multiBarChart'][_0x477d('0x900')][_0x477d('0x79')]>_0x4028e7[_0x477d('0x901')]['length']){var _0x4ae96a=_0x4028e7['multiBarChart'][_0x477d('0x900')][_0x477d('0x79')]-_0x4028e7[_0x477d('0x901')][_0x477d('0x79')];_0x4028e7[_0x477d('0x902')][_0x477d('0x900')]['splice'](0x0,_0x4ae96a);_0x4028e7['multiBarChart']['data']['splice'](0x0,_0x4ae96a);}for(var _0xf01662=0x0;_0xf01662<_0x4028e7[_0x477d('0x901')]['length'];_0xf01662+=0x1){_0x4028e7['multiBarChart'][_0x477d('0x900')][_0xf01662]=_0x328dae[_0x477d('0x45f')](_0x477d('0x903')+_0x4028e7[_0x477d('0x901')][_0xf01662]['toUpperCase']());if(_[_0x477d('0x484')](_0x4028e7[_0x477d('0x902')]['data'][_0xf01662])){_0x4028e7['multiBarChart'][_0x477d('0x451')][_0xf01662]=[];}if(_0x4028e7[_0x477d('0x902')][_0x477d('0x904')][_0x477d('0x79')]>_0x4028e7[_0x477d('0x3b3')][_0x477d('0x79')]){var _0x2bc7d7=_0x4028e7[_0x477d('0x902')][_0x477d('0x904')]['length']-_0x4028e7['filter'][_0x477d('0x79')];_0x4028e7[_0x477d('0x902')][_0x477d('0x904')]['splice'](0x0,_0x2bc7d7);_0x4028e7[_0x477d('0x902')][_0x477d('0x451')][_0xf01662]['splice'](0x0,_0x2bc7d7);}for(var _0x507c40=0x0,_0x1ee958=0x0;_0x507c40<_0x5477bd[_0x477d('0x8f9')][_0x477d('0xf2')][_0x477d('0x79')];_0x507c40+=0x1){if(_[_0x477d('0x3a4')](_0x4028e7[_0x477d('0x3b3')],_0x5477bd[_0x477d('0x8f9')][_0x477d('0xf2')][_0x507c40]['id'])){_0x4028e7['multiBarChart'][_0x477d('0x904')][_0x1ee958]=_0x5477bd[_0x477d('0x8f9')]['rows'][_0x507c40][_0x477d('0x94')];_0x4028e7[_0x477d('0x902')][_0x477d('0x451')][_0xf01662][_0x1ee958]=_0x5477bd[_0x477d('0x8f9')]['rows'][_0x507c40][_0x4028e7[_0x477d('0x901')][_0xf01662]]?parseInt(_0x5477bd[_0x477d('0x8f9')][_0x477d('0xf2')][_0x507c40][_0x4028e7[_0x477d('0x901')][_0xf01662]]):0x0;_0x1ee958+=0x1;}}}}function _0x1694af(_0x3404dc){_0x4028e7[_0x477d('0x902')][_0x477d('0x43c')][_0x477d('0x905')][_0x477d('0x906')]=_0x3404dc['foreground'];for(var _0x236d2f=0x0;_0x236d2f<_0x4028e7[_0x477d('0x902')]['options'][_0x477d('0x907')][_0x477d('0x908')][_0x477d('0x79')];_0x236d2f+=0x1){_0x4028e7[_0x477d('0x902')][_0x477d('0x43c')][_0x477d('0x907')][_0x477d('0x908')][_0x236d2f][_0x477d('0x909')][_0x477d('0x906')]=_0x3404dc[_0x477d('0x90a')];}for(var _0x5a14b0=0x0;_0x5a14b0<_0x4028e7[_0x477d('0x902')][_0x477d('0x43c')][_0x477d('0x907')][_0x477d('0x90b')]['length'];_0x5a14b0+=0x1){_0x4028e7[_0x477d('0x902')][_0x477d('0x43c')]['scales'][_0x477d('0x90b')][_0x5a14b0][_0x477d('0x909')][_0x477d('0x906')]=_0x3404dc['foreground'];}}function _0x31ad0f(_0x599a81){if(_0x599a81){if(_0x599a81['attrs']){_0x41347d(_0x599a81);}if(_0x599a81['foreground']){_0x1694af(_0x599a81);}}}}}());(function(){'use strict';_0x4d5a79[_0x477d('0xa')]=[_0x477d('0x40d')];angular['module'](_0x477d('0x1'))[_0x477d('0x3ba')]('MsWidgetEnginePieChartController',_0x4d5a79);function _0x4d5a79(_0x375efc){var _0x5aa67c=this;_0x5aa67c['filter']=[];_0x5aa67c[_0x477d('0x8f6')]=![];_0x5aa67c[_0x477d('0x901')]=[];_0x5aa67c['pieChart']={'labels':[_0x477d('0x90c')],'data':[0x1e],'options':{'responsive':!![],'legend':{'display':!![]}}};_0x5aa67c[_0x477d('0x90d')]=_0x586860;function _0x3b822b(_0x4f2112){_0x5aa67c[_0x477d('0x901')]=_['map'](_['filter'](_0x4f2112[_0x477d('0x8f5')],function(_0x342f91){return _0x342f91[_0x477d('0x94')]&&_0x342f91['name']['indexOf'](_0x477d('0x8ff'))>=0x0&&_0x342f91[_0x477d('0x3b6')]&&_0x342f91[_0x477d('0x3b6')]!==_0x477d('0xea');}),_0x477d('0x3b6'));if(_0x4f2112[_0x477d('0x8f5')][0x3]['value']&&_0x4f2112['attrs'][0x3][_0x477d('0x3b6')][_0x477d('0x79')]){_0x5aa67c[_0x477d('0x8f6')]=!![];_0x5aa67c[_0x477d('0x3b3')]=_[_0x477d('0x8f7')](_0x4f2112[_0x477d('0x8f8')],_0x4f2112[_0x477d('0x8f5')][0x3][_0x477d('0x3b6')]);}else{_0x5aa67c[_0x477d('0x8f6')]=![];_0x5aa67c['filter']=_0x4f2112[_0x477d('0x8f8')];}if(_0x5aa67c[_0x477d('0x90e')][_0x477d('0x904')]['length']>_0x5aa67c['properties'][_0x477d('0x79')]){var _0x4df07e=_0x5aa67c[_0x477d('0x90e')][_0x477d('0x904')][_0x477d('0x79')]-_0x5aa67c[_0x477d('0x901')][_0x477d('0x79')];_0x5aa67c[_0x477d('0x90e')][_0x477d('0x904')][_0x477d('0x45b')](0x0,_0x4df07e);_0x5aa67c[_0x477d('0x90e')]['data'][_0x477d('0x45b')](0x0,_0x4df07e);}for(var _0x3eb86e=0x0,_0x1bc19d=0x0;_0x3eb86e<_0x5aa67c[_0x477d('0x901')][_0x477d('0x79')];_0x3eb86e+=0x1){_0x5aa67c[_0x477d('0x90e')]['labels'][_0x3eb86e]=_0x375efc[_0x477d('0x45f')](_0x477d('0x903')+_0x5aa67c['properties'][_0x3eb86e][_0x477d('0x44f')]());for(var _0x25e48a=0x0;_0x25e48a<_0x4f2112[_0x477d('0x8f9')][_0x477d('0xf2')][_0x477d('0x79')];_0x25e48a+=0x1){if(_[_0x477d('0x3a4')](_0x5aa67c[_0x477d('0x3b3')],_0x4f2112['voiceQueues'][_0x477d('0xf2')][_0x25e48a]['id'])){_0x1bc19d+=_0x4f2112[_0x477d('0x8f9')][_0x477d('0xf2')][_0x25e48a][_0x5aa67c['properties'][_0x3eb86e]]?parseInt(_0x4f2112[_0x477d('0x8f9')][_0x477d('0xf2')][_0x25e48a][_0x5aa67c[_0x477d('0x901')][_0x3eb86e]]):0x0;}}_0x5aa67c[_0x477d('0x90e')][_0x477d('0x451')][_0x3eb86e]=_0x1bc19d;_0x1bc19d=0x0;}}function _0xfedcff(_0x594640){_0x5aa67c[_0x477d('0x90e')][_0x477d('0x43c')][_0x477d('0x905')][_0x477d('0x906')]=_0x594640[_0x477d('0x90a')];}function _0x586860(_0x1f2d80){if(_0x1f2d80){if(_0x1f2d80['attrs']){_0x3b822b(_0x1f2d80);}if(_0x1f2d80[_0x477d('0x90a')]){_0xfedcff(_0x1f2d80);}}}}}());(function(){'use strict';_0x1032d5[_0x477d('0xa')]=['$scope','$timeout',_0x477d('0x794'),_0x477d('0x386')];angular[_0x477d('0xb')](_0x477d('0x1'))[_0x477d('0x3ba')](_0x477d('0x90f'),_0x1032d5);function _0x1032d5(_0x1fa8b1,_0x1fd0a1,_0x43514b,_0x287fcb){var _0x2087f3=this;_0x2087f3[_0x477d('0x910')]=0x0;_0x2087f3[_0x477d('0x911')]=0x0;_0x2087f3['title']='';_0x2087f3[_0x477d('0x912')]=[];_0x2087f3[_0x477d('0x717')]={'rows':[],'count':0x0};_0x2087f3['query']={'limit':0xa,'page':0x1,'startDate':moment()[_0x477d('0x12d')](_0x477d('0x137'))[_0x477d('0x12f')](_0x477d('0x38d')),'endDate':moment()[_0x477d('0x130')](_0x477d('0x137'))[_0x477d('0x12f')](_0x477d('0x38d')),'output':_0x477d('0x913')};_0x2087f3[_0x477d('0x71a')]=_0x20332d;_0x2087f3[_0x477d('0x914')]=_0x4f8467;_0x2087f3[_0x477d('0x915')]=_0x45eb9b;function _0x20332d(_0x622da7){if(_0x622da7){if(_0x622da7[_0x477d('0x8f5')]){if(_0x622da7[_0x477d('0x8f5')][0x0]&&_0x622da7[_0x477d('0x8f5')][0x0][_0x477d('0x3b6')]){_0x2087f3[_0x477d('0x3ef')]['id']=_0x622da7['attrs'][0x0][_0x477d('0x3b6')];_0x287fcb['analyticFieldReport'][_0x477d('0x376')]({'fields':_0x477d('0x916'),'nolimit':!![],'DefaultReportId':_0x622da7[_0x477d('0x8f5')][0x0][_0x477d('0x439')]==='default'?_0x622da7[_0x477d('0x8f5')][0x0]['value']:undefined,'CustomReportId':_0x622da7['attrs'][0x0][_0x477d('0x439')]==='custom'?_0x622da7[_0x477d('0x8f5')][0x0]['value']:undefined})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x38c1bf){if(_0x38c1bf&&_0x38c1bf['rows']){_0x2087f3['columns']=_0x38c1bf[_0x477d('0xf2')];}switch(_0x622da7[_0x477d('0x8f5')][0x0][_0x477d('0x439')]){case _0x477d('0x5e3'):_0x2087f3[_0x477d('0x917')]=_0x477d('0x918');break;case'custom':_0x2087f3[_0x477d('0x917')]=_0x477d('0x919');break;}return _0x287fcb[_0x2087f3['reportRoute']]['get']({'id':_0x622da7[_0x477d('0x8f5')][0x0][_0x477d('0x3b6')],'fields':'id,name'})['$promise'];})[_0x477d('0x76')](function(_0x4dda2e){if(_0x4dda2e&&_0x4dda2e[_0x477d('0x94')]){_0x2087f3['title']=_0x4dda2e[_0x477d('0x94')];}_0x4f8467();})['catch'](function(_0x47f2c3){console[_0x477d('0x7b')](_0x47f2c3);});}if(_0x622da7['attrs'][0x1]&&_0x622da7[_0x477d('0x8f5')][0x1][_0x477d('0x3b6')]){_0x2087f3[_0x477d('0x911')]=parseInt(_0x622da7[_0x477d('0x8f5')][0x1]['value']);if(!_[_0x477d('0x91a')](_0x2087f3[_0x477d('0x911')])&&_0x2087f3['refresh']>0x0){_0x2087f3[_0x477d('0x910')]=parseInt(_0x622da7[_0x477d('0x8f5')][0x1][_0x477d('0x3b6')]);_0x2087f3[_0x477d('0x79c')]=_0x43514b(function(){_0x2087f3[_0x477d('0x910')]-=0x1;},0x3e8,0x0);_0x2087f3['timeout']=_0x1fd0a1(function(){_0x2087f3['interval']&&_0x43514b['cancel'](_0x2087f3[_0x477d('0x79c')]);_0x20332d(_0x622da7);},_0x2087f3[_0x477d('0x911')]*0x3e8);}else{_0x2087f3[_0x477d('0x79c')]&&_0x43514b['cancel'](_0x2087f3[_0x477d('0x79c')]);_0x2087f3[_0x477d('0x91b')]&&_0x1fd0a1['cancel'](_0x2087f3[_0x477d('0x91b')]);}}}}}function _0x4be6f5(_0x364149){_0x2087f3['results']=_0x364149||{'count':0x0,'rows':[]};}function _0x4f8467(){_0x2087f3['query'][_0x477d('0x91c')]=(_0x2087f3[_0x477d('0x3ef')]['page']-0x1)*_0x2087f3[_0x477d('0x3ef')][_0x477d('0x91d')];_0x2087f3['promise']=_0x287fcb[_0x2087f3['reportRoute']][_0x477d('0x373')](_0x2087f3['query'],_0x4be6f5)[_0x477d('0x38b')];}function _0x45eb9b(_0x55c3e1,_0x444223){if(moment(_0x444223,_0x477d('0x91e'),!![])['isValid']()){_0x444223=moment(_0x444223,'')['format'](_0x477d('0x38d'));}return _0x444223;}_0x1fa8b1[_0x477d('0x4ec')](_0x477d('0x505'),function(){_0x2087f3[_0x477d('0x79c')]&&_0x43514b[_0x477d('0x4f0')](_0x2087f3[_0x477d('0x79c')]);_0x2087f3[_0x477d('0x91b')]&&_0x1fd0a1[_0x477d('0x4f0')](_0x2087f3['timeout']);});}}());(function(){'use strict';_0x566e6f[_0x477d('0xa')]=[_0x477d('0x384'),_0x477d('0x91f')];_0x3aa318[_0x477d('0xa')]=[_0x477d('0x475')];angular[_0x477d('0xb')](_0x477d('0x1'))[_0x477d('0x3ba')](_0x477d('0x920'),_0x566e6f)[_0x477d('0x3ff')]('msWidgetEngine',_0x3aa318);function _0x566e6f(_0x2d7a9b,_0x373ac0){var _0x301989=this;_0x301989[_0x477d('0x921')]=_0x10f557;function _0x10f557(_0x41d769){return _0x373ac0[_0x477d('0x922')](_0x41d769);}}function _0x3aa318(_0x20ce31){return{'restrict':'E','scope':{'config':'=?','onEdit':'&?','onDelete':'&?'},'require':_0x477d('0x923'),'controller':'MsWidgetEngineController','controllerAs':'vm','bindToController':!![],'templateUrl':_0x477d('0x924')};}}());(function(){'use strict';_0x28792b[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x556')];angular[_0x477d('0xb')](_0x477d('0x1'))[_0x477d('0x3ba')](_0x477d('0x925'),_0x28792b)[_0x477d('0x3ff')](_0x477d('0x926'),_0x65feae)[_0x477d('0x3ff')](_0x477d('0x927'),_0x412802)['directive'](_0x477d('0x928'),_0x2f41c0);function _0x28792b(_0x52d587,_0x35b634){var _0x5339ba=this;_0x5339ba[_0x477d('0x929')]=![];_0x5339ba[_0x477d('0x92a')]=_0x2c11cc;function _0x2c11cc(){if(!_0x1cc71a()){return;}_0x5339ba['flipped']=!_0x5339ba[_0x477d('0x929')];_0x35b634[_0x477d('0x571')](_0x477d('0x929'),_0x5339ba[_0x477d('0x929')]);}function _0x1cc71a(){return angular[_0x477d('0x4d7')](_0x52d587[_0x477d('0x92b')])&&_0x52d587['flippable']===!![];}}function _0x65feae(){return{'restrict':'E','scope':{'flippable':'=?'},'controller':_0x477d('0x925'),'transclude':!![],'compile':function(_0x1303e0){_0x1303e0['addClass']('ms-widget');return function postLink(_0xbc80c7,_0x45a88e,_0x4c21e4,_0x255a4e,_0x14d65a){_0x14d65a(function(_0x4000d1){_0x45a88e[_0x477d('0x92c')]();_0x45a88e['append'](_0x4000d1);});};}};}function _0x412802(){return{'restrict':'E','require':'^msWidget','transclude':!![],'compile':function(_0x58bb13){_0x58bb13[_0x477d('0x3df')](_0x477d('0x92d'));return function postLink(_0x1a1f48,_0x27fb2a,_0x53e16d,_0x24d1e3,_0x3480a1){_0x3480a1(function(_0x278a6d){_0x27fb2a[_0x477d('0x92c')]();_0x27fb2a[_0x477d('0x40c')](_0x278a6d);});_0x1a1f48[_0x477d('0x92e')]=_0x24d1e3[_0x477d('0x92a')];};}};}function _0x2f41c0(){return{'restrict':'E','require':'^msWidget','transclude':!![],'compile':function(_0x301e07){_0x301e07[_0x477d('0x3df')](_0x477d('0x92f'));return function postLink(_0x4f80a4,_0x3a0b48,_0x30e782,_0x26db94,_0x5c728a){_0x5c728a(function(_0x509ae0){_0x3a0b48['empty']();_0x3a0b48['append'](_0x509ae0);});_0x4f80a4[_0x477d('0x92e')]=_0x26db94[_0x477d('0x92a')];};}};}}());(function(){'use strict';_0x2b5231[_0x477d('0xa')]=['$q','$translate'];angular['module'](_0x477d('0x1'))['factory'](_0x477d('0x930'),_0x2b5231);function _0x2b5231(_0x4deac7,_0x198914){var _0x3c60d2={'setPlaceholder':_0x3e2514};function _0x3e2514(_0x1f68f8){var _0x5173bb;return _0x4deac7(function(_0x5c2753,_0x3807f5){try{if(_[_0x477d('0x3b2')](_0x1f68f8[_0x477d('0x931')])){_0x5173bb=_0x198914[_0x477d('0x45f')](_0x477d('0x932'));}else if(_[_0x477d('0x3b2')](_0x1f68f8[_0x477d('0x933')])){_0x5173bb=_0x1f68f8['placeholder']?_0x198914[_0x477d('0x45f')](_0x1f68f8[_0x477d('0x4ae')]):_0x198914['instant'](_0x477d('0x934'));}else if(_0x1f68f8['param'][_0x477d('0x79')]===_0x1f68f8[_0x477d('0x931')][_0x477d('0x79')]){_0x5173bb=_0x198914['instant']('DASHBOARDS.ALL');}else{var _0x5061eb=_0x1f68f8[_0x477d('0x6ea')]||'id';_0x5173bb=_(_0x1f68f8[_0x477d('0x931')])[_0x477d('0x3b3')](function(_0x36a1fc){return _['includes'](_0x1f68f8[_0x477d('0x933')],_0x36a1fc[_0x5061eb]);})['map'](_0x477d('0x94'))[_0x477d('0x3b6')]()[_0x477d('0x3f6')](',\x20');}_0x5c2753(_0x5173bb);}catch(_0xb14b2f){console[_0x477d('0x7b')](_0x477d('0x935'),_0xb14b2f);_0x5c2753(null);}});}return _0x3c60d2;}}());(function(){'use strict';angular[_0x477d('0xb')]('app.core')[_0x477d('0x3b3')]('altDate',_0x2ab6d7);function _0x2ab6d7(){return function(_0x2767a8){var _0x38b602=Date[_0x477d('0x936')]()-new Date(_0x2767a8);if(_0x38b602<0x3c*0x3c*0x3e8){return moment(_0x2767a8)[_0x477d('0x937')]();}else if(_0x38b602<0x3c*0x3c*0x18*0x3e8){return moment(_0x2767a8)['format'](_0x477d('0x63c'));}else if(_0x38b602<0x3c*0x3c*0x18*0x7*0x3e8){return moment(_0x2767a8)[_0x477d('0x12f')](_0x477d('0x938'));}else{return moment(_0x2767a8)['calendar']();}};}}());(function(){'use strict';_0x556fc8[_0x477d('0xa')]=[_0x477d('0x91f')];angular[_0x477d('0xb')](_0x477d('0x1'))[_0x477d('0x3b3')](_0x477d('0x939'),_0x556fc8)[_0x477d('0x3b3')](_0x477d('0x93a'),_0x14a009)['filter'](_0x477d('0x93b'),_0xea0891)[_0x477d('0x3b3')](_0x477d('0x93c'),_0x3fcdaf);function _0x556fc8(_0x316fdf){return function(_0xd29024){return _0x316fdf[_0x477d('0x93d')](_0xd29024);};}function _0x14a009(){return function(_0x55e878){return String(_0x55e878)['replace'](/<[^>]+>/gm,'');};}function _0xea0891(){return function(_0x42ec60){return!_0x42ec60?'':_0x42ec60[_0x477d('0x409')](/ /g,'');};}function _0x3fcdaf(){return function(_0x17e137){if(!_0x17e137){return;}if(_0x17e137[_0x477d('0x439')]==='directive'){return _0x17e137[_0x477d('0x94')][_0x477d('0x409')](/([A-Z])/g,function(_0x228c27){return'-'+_0x228c27[_0x477d('0x449')]();});}return _0x17e137[_0x477d('0x93e')]||_0x17e137['name'];};}}());(function(){'use strict';angular[_0x477d('0xb')](_0x477d('0x1'))[_0x477d('0x3b3')](_0x477d('0x93f'),_0x3633d5);function _0x3633d5(){return function(_0x332633,_0x4d3bf4){if(_0x332633['length']===0x0||!_0x4d3bf4){return _0x332633;}if(_0x4d3bf4[_0x477d('0x79')]===0x0){return[];}var _0x45c16b=[];for(var _0x681561=0x0;_0x681561<_0x332633[_0x477d('0x79')];_0x681561++){var _0x3c9755=_0x332633[_0x681561];var _0x18469e=![];for(var _0x574c14=0x0;_0x574c14<_0x4d3bf4['length'];_0x574c14++){var _0x14e122=_0x4d3bf4[_0x574c14];if(_0x3c9755['id']===_0x14e122){_0x18469e=!![];break;}}if(_0x18469e){_0x45c16b['push'](_0x3c9755);}}return _0x45c16b;};}}());(function(){'use strict';angular['module']('app.core')[_0x477d('0x3b3')](_0x477d('0x940'),_0x2c68f3);function _0x2c68f3(){return function(_0x515ee2,_0xe8674d,_0x58c58c){if(_0x515ee2['length']===0x0||!_0x58c58c||_0x58c58c[_0x477d('0x79')]===0x0){return _0x515ee2;}var _0x1e5c30=[];for(var _0x69fd84=0x0;_0x69fd84<_0x515ee2[_0x477d('0x79')];_0x69fd84++){var _0xe95403=_0x515ee2[_0x69fd84];var _0x190aa1=![];for(var _0x230f03=0x0;_0x230f03<_0x58c58c[_0x477d('0x79')];_0x230f03++){var _0x3362f9=_0x58c58c[_0x230f03];if(_0xe95403[_0xe8674d]['indexOf'](_0x3362f9)>-0x1){_0x190aa1=!![];break;}}if(_0x190aa1){_0x1e5c30[_0x477d('0x3a7')](_0xe95403);}}return _0x1e5c30;};}}());(function(){'use strict';angular['module'](_0x477d('0x1'))[_0x477d('0x3b3')](_0x477d('0x941'),_0x4a98d4)[_0x477d('0x3b3')](_0x477d('0x942'),_0x3eca4d);function _0x4a98d4(){return function(_0x3c9e34,_0x41ad03){if(_0x3c9e34[_0x477d('0x79')]===0x0||_0x41ad03['length']===0x0){return _0x3c9e34;}var _0x20f84a=[];_0x3c9e34[_0x477d('0x3b1')](function(_0x38b4d6){var _0x10d405=_0x41ad03[_0x477d('0x943')](function(_0x5272f8){var _0x4e615d=![];_0x38b4d6['tags']['forEach'](function(_0x22a018){if(_0x22a018['name']===_0x5272f8[_0x477d('0x94')]){_0x4e615d=!![];return;}});return _0x4e615d;});if(_0x10d405){_0x20f84a[_0x477d('0x3a7')](_0x38b4d6);}});return _0x20f84a;};}function _0x3eca4d(){return function(_0xf48039,_0x46541b){if(_0xf48039[_0x477d('0x79')]===0x0||_0x46541b[_0x477d('0x79')]===0x0){return;}if(_0xf48039['length']<_0x46541b[_0x477d('0x79')]){return[];}var _0x2bc2c7=[];var _0x29d3a0=_0x46541b[_0x477d('0x943')](function(_0x2b7f36){var _0x4a3113=![];_0xf48039[_0x477d('0x3b1')](function(_0x3c3d97){if(_0x3c3d97[_0x477d('0x94')]===_0x2b7f36[_0x477d('0x94')]){_0x4a3113=!![];return;}});return _0x4a3113;});if(_0x29d3a0){_0x2bc2c7[_0x477d('0x3a7')](_0xf48039);}return _0x2bc2c7;};}}());(function(){'use strict';angular[_0x477d('0xb')](_0x477d('0x2c'))[_0x477d('0x48b')](_0x477d('0x5a2'),_0x2ac209);function _0xdd3ac5(_0x36b2ce,_0x2cca5e,_0x41b323,_0x7d4d1){var _0x500e0c=this;this['id']=Math['random']()[_0x477d('0x453')](0x24)['substring'](0x2,0xf)+Math[_0x477d('0x6c5')]()[_0x477d('0x453')](0x24)[_0x477d('0x6c6')](0x2,0xf);this[_0x477d('0x49a')]=_0x36b2ce;this[_0x477d('0x399')]=_0x2cca5e;this[_0x477d('0x944')]=_0x41b323;this[_0x477d('0x691')]=_0x7d4d1;this[_0x477d('0x539')]=_0x2d2c20;}function _0x56ef3f(){return!(window[_0x477d('0x945')][_0x477d('0x54d')]||window['document'][_0x477d('0x946')]||window[_0x477d('0x945')][_0x477d('0x947')]);}function _0x195bf1(){return/Chrome/[_0x477d('0x66b')](navigator['userAgent'])&&/Google Inc/[_0x477d('0x66b')](navigator['vendor']);}function _0x2d2c20(){var _0x2bcd18=this;navigator['serviceWorker'][_0x477d('0x948')][_0x477d('0x76')](function(_0x2f02c1){_0x2f02c1[_0x477d('0x949')]()[_0x477d('0x76')](function(_0x1f571b){var _0xd272c9=_['find'](_0x1f571b,function(_0x26fc4a){return _0x26fc4a['data']['id']===_0x2bcd18['id'];});if(_0xd272c9){_0xd272c9[_0x477d('0x539')]();}});});}function _0x2ac209(){return{'$get':[_0x14c548]};function _0x14c548(){var _0x503e51=[];var _0x3724ef;var _0x1e21ba;if(_0x477d('0x94a')in navigator&&_0x195bf1()){navigator[_0x477d('0x94a')][_0x477d('0x611')](_0x477d('0x94b'))[_0x477d('0x76')](function(_0x5f7e54){_0x3724ef=_0x5f7e54;_0x3724ef[_0x477d('0x710')]();if(_0x3724ef['installing']){_0x1e21ba=_0x3724ef[_0x477d('0x94c')];}else if(_0x3724ef[_0x477d('0x10c')]){_0x1e21ba=_0x3724ef[_0x477d('0x10c')];}else if(_0x3724ef[_0x477d('0x94d')]){_0x1e21ba=_0x3724ef[_0x477d('0x94d')];}})['catch'](function(_0x248659){console[_0x477d('0x44a')](_0x477d('0x94e'),_0x248659);});}else{console[_0x477d('0x44a')](_0x477d('0x94f'));}navigator[_0x477d('0x94a')][_0x477d('0x5f4')]('message',function(_0x5b72c1){if(_0x5b72c1['source']!==_0x1e21ba){return;}var _0x5638ce=_['find'](_0x503e51,{'id':_0x5b72c1[_0x477d('0x451')]['id']});if(_0x5638ce){switch(_0x5b72c1[_0x477d('0x451')][_0x477d('0x450')]){case _0x477d('0x944'):if(_0x5638ce[_0x477d('0x944')]){_0x5638ce['accept']();}break;case'reject':if(_0x5638ce[_0x477d('0x691')]){_0x5638ce['reject']();}break;default:}}});return{'create':function(_0x27376d,_0x5c19cc,_0x13fa86,_0x19bd58,_0x5c2a26){return new Promise(function(_0x3dd552,_0x57ba89){var _0x30c651;if(_0x195bf1()&&!_0x56ef3f()){_0x30c651=new _0xdd3ac5(_0x27376d||_0x477d('0x950'),_0x5c19cc||_0x477d('0x951'),_0x19bd58,_0x5c2a26);_0x503e51[_0x477d('0x3a7')](_0x30c651);if(_0x30c651){window[_0x477d('0x952')][_0x477d('0x953')]()[_0x477d('0x76')](function(_0x35059a){if(_0x35059a===_0x477d('0x954')){return _0x3724ef[_0x477d('0x955')](_0x30c651[_0x477d('0x49a')],{'body':_0x30c651[_0x477d('0x399')],'requireInteraction':!![],'icon':_0x13fa86||_0x477d('0x956'),'data':{'id':_0x30c651['id']},'actions':[{'action':_0x477d('0x944'),'title':_0x477d('0x957')},{'action':_0x477d('0x691'),'title':_0x477d('0x958')}]});}})[_0x477d('0x76')](function(_0x1a9bb3){_0x3dd552(_0x30c651);})[_0x477d('0xf8')](function(_0x4cf4f5){_0x57ba89(_0x4cf4f5);});}else{_0x57ba89(new Error('Notification\x20creating\x20error'));}}else{_0x3dd552();}});}};}}}());(function(){'use strict';_0x48a394[_0x477d('0xa')]=['$q',_0x477d('0x55e'),'api'];angular[_0x477d('0xb')]('app.core')['factory']('apiResolver',_0x48a394);function _0x48a394(_0x385574,_0x5c926a,_0x5bd39f){var _0x58cf94={'resolve':_0x5538bd};return _0x58cf94;function _0x5538bd(_0x24af27,_0x1f6474){var _0xefb543=_0x24af27['split']('@'),_0x3db78d=_0xefb543[0x0],_0x265a26=_0xefb543[0x1],_0x26a651=_0x1f6474||{};if(!_0x3db78d||!_0x265a26){_0x5c926a[_0x477d('0x44a')](_0x477d('0x959'));return![];}var _0x532825=_0x385574[_0x477d('0x54a')]();var _0x2517c9=_0x31e15b(_0x3db78d);if(!_0x2517c9){_0x5c926a[_0x477d('0x44a')](_0x477d('0x95a')+_0x3db78d+_0x477d('0x95b'));_0x532825[_0x477d('0x691')](_0x477d('0x95a')+_0x3db78d+'\x22\x20is\x20not\x20defined\x20in\x20the\x20api\x20service!');}else{_0x2517c9[_0x265a26](_0x26a651,function(_0xba553d){_0x532825[_0x477d('0x5a')](_0xba553d);},function(_0x27eb82){_0x532825[_0x477d('0x691')](_0x27eb82);});}return _0x532825[_0x477d('0x553')];}function _0x31e15b(_0x57ad15){var _0x171937=_0x57ad15[_0x477d('0x472')]('.'),_0xd0867f=_0x5bd39f;for(var _0x246975=0x0;_0x246975<_0x171937[_0x477d('0x79')];_0x246975++){if(angular[_0x477d('0x3d3')](_0xd0867f[_0x171937[_0x246975]])){_0x5c926a[_0x477d('0x44a')](_0x477d('0x95c')+_0x171937[_0x246975]+_0x477d('0x95d'));_0xd0867f=![];break;}_0xd0867f=_0xd0867f[_0x171937[_0x246975]];}if(!_0xd0867f){return![];}return _0xd0867f;}}}());(function(){'use strict';_0x1475ff['$inject']=[_0x477d('0x3bd')];angular['module'](_0x477d('0x1'))[_0x477d('0x388')](_0x477d('0x95e'),_0x1475ff);function _0x1475ff(_0x2c6b6a){var _0x1fa3b6={'showLoadingIndicator':_0x29e81c,'hideLoadingIndicator':_0x2d4aea};return _0x1fa3b6;function _0x29e81c(){_0x2c6b6a[_0x477d('0x95f')]=!![];}function _0x2d4aea(){_0x2c6b6a[_0x477d('0x95f')]=![];}}}());(function(){'use strict';angular[_0x477d('0xb')]('app.core')[_0x477d('0x48b')](_0x477d('0x960'),_0xc8d7f6);function _0xc8d7f6(){var _0x5ea57b=this;var _0x472918=angular[_0x477d('0x375')](['ng'])[_0x477d('0x376')](_0x477d('0x55e'));var _0x1b72ca='';var _0x1a5d61=[];_0x5ea57b[_0x477d('0x961')]=_0x4e0720;_0x5ea57b[_0x477d('0x962')]=_0x2412f8;_0x5ea57b[_0x477d('0x963')]=_0x4cc9c6;_0x5ea57b['register']=_0x37597c;function _0x4e0720(_0x43e783){_0x1b72ca=_0x43e783;}function _0x2412f8(){return _0x1b72ca;}function _0x4cc9c6(){return _0x1a5d61;}function _0x37597c(_0x2547c1,_0x1b7ca9){if(!angular[_0x477d('0x561')](_0x2547c1)){_0x472918['error'](_0x477d('0x964'));return;}if(!angular[_0x477d('0x4a9')](_0x1b7ca9)){_0x472918['error']('\x22resource\x22\x20must\x20be\x20an\x20array\x20and\x20it\x20must\x20follow\x20$resource\x20definition');return;}_0x1a5d61[_0x2547c1]={'url':_0x1b72ca+(_0x1b7ca9[0x0]||''),'paramDefaults':_0x1b7ca9[0x1]||[],'actions':_0x1b7ca9[0x2]||[],'options':_0x1b7ca9[0x3]||{}};}this['$get']=['$log','$q',_0x477d('0x965'),'$rootScope',function(_0x4308f1,_0x3786d1,_0x561360,_0x536829){var _0x4e2383={'setBaseUrl':_0x4e0720,'getBaseUrl':_0x2412f8,'register':_0x37597c,'resolve':_0x4cdc51,'request':_0x300879};return _0x4e2383;function _0x4cdc51(_0x29e8b2,_0x203084){_0x536829['$broadcast'](_0x477d('0x966'));var _0x2ca482=_0x29e8b2[_0x477d('0x472')]('@'),_0x3b7da7=_0x2ca482[0x0],_0x1b7181=_0x2ca482[0x1],_0x9efaa8=_0x203084||{};if(!_0x3b7da7||!_0x1b7181){_0x4308f1['error'](_0x477d('0x967'));return![];}var _0x444040=_0x3786d1[_0x477d('0x54a')]();var _0x2e8d36=_0x1a5d61[_0x3b7da7];if(!_0x2e8d36){_0x4308f1[_0x477d('0x44a')](_0x477d('0x95a')+_0x3b7da7+_0x477d('0x95b'));_0x444040[_0x477d('0x691')]('Resource\x20\x22'+_0x3b7da7+'\x22\x20is\x20not\x20defined\x20in\x20the\x20api\x20service!');}else{var _0x5776b7=_0x561360(_0x2e8d36[_0x477d('0x3c1')],_0x2e8d36[_0x477d('0x968')],_0x2e8d36[_0x477d('0x969')],_0x2e8d36[_0x477d('0x43c')]);_0x5776b7[_0x1b7181](_0x9efaa8,function(_0x5f0a81){_0x444040[_0x477d('0x5a')](_0x5f0a81);_0x536829[_0x477d('0x480')](_0x477d('0x96a'));},function(_0x405528){_0x444040[_0x477d('0x691')](_0x405528);_0x536829[_0x477d('0x480')](_0x477d('0x96b'));});}return _0x444040[_0x477d('0x553')];}function _0x300879(_0x492424,_0x3e3b7e,_0x5cedcc,_0x235268){_0x536829['$broadcast'](_0x477d('0x96c'));var _0x8ebcb4=_0x492424[_0x477d('0x472')]('@'),_0x125872=_0x8ebcb4[0x0],_0x32278b=_0x8ebcb4[0x1],_0x1b0ad1=_0x3e3b7e||{};if(!_0x125872||!_0x32278b){_0x4308f1[_0x477d('0x44a')](_0x477d('0x967'));return![];}var _0x5476a8=_0x3786d1['defer']();var _0x352a88=_0x1a5d61[_0x125872];if(!_0x352a88){_0x4308f1[_0x477d('0x44a')]('Resource\x20\x22'+_0x125872+'\x22\x20is\x20not\x20defined\x20in\x20the\x20api\x20service!');_0x5476a8[_0x477d('0x691')](_0x477d('0x95a')+_0x125872+_0x477d('0x95b'));}else{var _0x4042d1=_0x561360(_0x352a88[_0x477d('0x3c1')],_0x352a88[_0x477d('0x968')],_0x352a88[_0x477d('0x969')],_0x352a88['options']);_0x4042d1[_0x32278b](_0x1b0ad1,function(_0x4e864c){_0x536829[_0x477d('0x480')]('msApi::requestSuccess');_0x5476a8[_0x477d('0x5a')](_0x4e864c);if(angular[_0x477d('0x4d7')](_0x5cedcc)&&angular[_0x477d('0x3c5')](_0x5cedcc)){_0x5cedcc(_0x4e864c);}},function(_0x39ea5a){_0x536829[_0x477d('0x480')](_0x477d('0x96d'));_0x5476a8['reject'](_0x39ea5a);if(angular[_0x477d('0x4d7')](_0x235268)&&angular[_0x477d('0x3c5')](_0x235268)){_0x235268(_0x39ea5a);}});}return _0x5476a8[_0x477d('0x553')];}}];}}());(function(){'use strict';_0x1ce77b[_0x477d('0xa')]=[_0x477d('0x387')];angular[_0x477d('0xb')]('app.core')[_0x477d('0x388')](_0x477d('0x342'),_0x1ce77b);function _0x1ce77b(_0x15344f){var _0xc55619=new MobileDetect(_0x15344f[_0x477d('0x96e')][_0x477d('0x96f')]),_0x3a03a2=null;var _0x322863={'exists':_0x4cc211,'detectBrowser':_0x8fa235,'guidGenerator':_0x1c1f05,'isMobile':_0x3b51d5,'toggleInArray':_0x18565e,'firstLastDayMonth':_0x8eb469};return _0x322863;function _0x4cc211(_0xea7094,_0x1f33da){return _0x1f33da[_0x477d('0x477')](_0xea7094)>-0x1;}function _0x8fa235(){if(_0x3a03a2){return _0x3a03a2;}var _0x47a512=[{'string':_0x15344f[_0x477d('0x96e')]['userAgent'],'subString':_0x477d('0x970'),'versionSearch':'Edge','identity':'Edge'},{'string':_0x15344f[_0x477d('0x96e')][_0x477d('0x96f')],'subString':_0x477d('0x971'),'identity':_0x477d('0x971')},{'string':_0x15344f['navigator'][_0x477d('0x96f')],'subString':_0x477d('0x972'),'versionSearch':_0x477d('0x973'),'identity':_0x477d('0x972')},{'string':_0x15344f[_0x477d('0x96e')][_0x477d('0x974')],'subString':'Apple','versionSearch':_0x477d('0x975'),'identity':'Safari'},{'prop':_0x15344f[_0x477d('0x976')],'identity':_0x477d('0x60c')},{'string':_0x15344f[_0x477d('0x96e')][_0x477d('0x974')],'subString':_0x477d('0x977'),'identity':_0x477d('0x977')},{'string':_0x15344f[_0x477d('0x96e')][_0x477d('0x974')],'subString':_0x477d('0x978'),'identity':_0x477d('0x979')},{'string':_0x15344f[_0x477d('0x96e')][_0x477d('0x96f')],'subString':_0x477d('0x97a'),'identity':'Firefox'},{'string':_0x15344f['navigator'][_0x477d('0x974')],'subString':_0x477d('0x97b'),'identity':'Camino'},{'string':_0x15344f[_0x477d('0x96e')][_0x477d('0x96f')],'subString':_0x477d('0x97c'),'identity':_0x477d('0x97c')},{'string':_0x15344f[_0x477d('0x96e')][_0x477d('0x96f')],'subString':_0x477d('0x97d'),'identity':_0x477d('0x97e'),'versionSearch':_0x477d('0x97d')},{'string':_0x15344f[_0x477d('0x96e')][_0x477d('0x96f')],'subString':_0x477d('0x97f'),'identity':_0x477d('0x97e'),'versionSearch':'rv'},{'string':_0x15344f[_0x477d('0x96e')]['userAgent'],'subString':_0x477d('0x980'),'identity':_0x477d('0x981'),'versionSearch':'rv'},{'string':_0x15344f[_0x477d('0x96e')][_0x477d('0x96f')],'subString':_0x477d('0x981'),'identity':_0x477d('0x97c'),'versionSearch':'Mozilla'}];var _0x23bcd2=[{'string':_0x15344f[_0x477d('0x96e')][_0x477d('0x982')],'subString':_0x477d('0x983'),'identity':_0x477d('0x984')},{'string':_0x15344f[_0x477d('0x96e')]['platform'],'subString':_0x477d('0x985'),'identity':_0x477d('0x985')},{'string':_0x15344f['navigator'][_0x477d('0x982')],'subString':_0x477d('0x986'),'identity':_0x477d('0x986')},{'string':_0x15344f['navigator']['platform'],'subString':_0x477d('0x987'),'identity':_0x477d('0x987')},{'string':_0x15344f[_0x477d('0x96e')][_0x477d('0x982')],'subString':'iPod','identity':_0x477d('0x988')},{'string':_0x15344f['navigator'][_0x477d('0x982')],'subString':_0x477d('0x989'),'identity':_0x477d('0x989')},{'string':_0x15344f['navigator']['platform'],'subString':'Android','identity':_0x477d('0x98a')}];var _0x4e6979='';function _0x30d581(_0x4e1c26){for(var _0x54afc8=0x0;_0x54afc8<_0x4e1c26[_0x477d('0x79')];_0x54afc8++){var _0xf10bd3=_0x4e1c26[_0x54afc8]['string'];var _0x1b2cf1=_0x4e1c26[_0x54afc8][_0x477d('0x70e')];_0x4e6979=_0x4e1c26[_0x54afc8][_0x477d('0x98b')]||_0x4e1c26[_0x54afc8]['identity'];if(_0xf10bd3){if(_0xf10bd3[_0x477d('0x477')](_0x4e1c26[_0x54afc8][_0x477d('0x98c')])!==-0x1){return _0x4e1c26[_0x54afc8][_0x477d('0x98d')];}}else if(_0x1b2cf1){return _0x4e1c26[_0x54afc8]['identity'];}}}function _0xc8a074(_0x504652){var _0x380e35=_0x504652['indexOf'](_0x4e6979);if(_0x380e35===-0x1){return;}return parseInt(_0x504652[_0x477d('0x6c6')](_0x380e35+_0x4e6979[_0x477d('0x79')]+0x1));}var _0x10d094=_0x30d581(_0x47a512)||'unknown-browser';var _0x4cc67f=_0xc8a074(_0x15344f[_0x477d('0x96e')][_0x477d('0x96f')])||_0xc8a074(_0x15344f[_0x477d('0x96e')][_0x477d('0x98e')])||_0x477d('0x98f');var _0x499b97=_0x30d581(_0x23bcd2)||_0x477d('0x990');_0x10d094=_0x10d094['toLowerCase']();_0x4cc67f=_0x10d094+'-'+_0x4cc67f;_0x499b97=_0x499b97[_0x477d('0x449')]();_0x3a03a2={'browser':_0x10d094,'version':_0x4cc67f,'os':_0x499b97};return _0x3a03a2;}function _0x1c1f05(){var _0x137637=function(){return((0x1+Math[_0x477d('0x6c5')]())*0x10000||0x0)[_0x477d('0x453')](0x10)[_0x477d('0x6c6')](0x1);};return _0x137637()+_0x137637()+_0x137637()+_0x137637()+_0x137637()+_0x137637();}function _0x3b51d5(){return _0xc55619[_0x477d('0x991')]();}function _0x18565e(_0x8c1d0f,_0x55102f){if(_0x55102f['indexOf'](_0x8c1d0f)===-0x1){_0x55102f[_0x477d('0x3a7')](_0x8c1d0f);}else{_0x55102f[_0x477d('0x45b')](_0x55102f[_0x477d('0x477')](_0x8c1d0f),0x1);}}function _0x8eb469(){return{'$gte':moment()[_0x477d('0x12d')](_0x477d('0x6fd'))[_0x477d('0x12e')](0x0,!![])['format'](),'$lte':moment()[_0x477d('0x130')](_0x477d('0x6fd'))['utcOffset'](0x0,!![])[_0x477d('0x12f')]()};}}}());(function(){'use strict';_0x2aa93c[_0x477d('0xa')]=['$cookies',_0x477d('0x992')];_0x111ee5[_0x477d('0xa')]=['$mdSidenav'];angular['module']('app.core')['controller'](_0x477d('0x993'),_0x2aa93c)['directive'](_0x477d('0x994'),_0x111ee5);function _0x2aa93c(_0x4b93a4,_0x227306){var _0x4e6663=this;_0x4e6663[_0x477d('0x995')]=_0x227306[_0x477d('0x995')];_0x4e6663[_0x477d('0x996')]=[{'label':'Boxed','value':_0x477d('0x997')},{'label':_0x477d('0x998'),'value':_0x477d('0x999')}];_0x4e6663[_0x477d('0x99a')]=[{'label':'Vertical\x20Navigation','value':_0x477d('0x99b'),'figure':_0x477d('0x99c')},{'label':_0x477d('0x99d'),'value':_0x477d('0x99e'),'figure':_0x477d('0x99f')},{'label':_0x477d('0x9a0'),'value':_0x477d('0x9a1'),'figure':_0x477d('0x9a2')},{'label':'Horizontal\x20Navigation','value':_0x477d('0x9a3'),'figure':_0x477d('0x9a4')},{'label':_0x477d('0x9a5'),'value':_0x477d('0x9a6'),'figure':_0x477d('0x9a7')},{'label':_0x477d('0x9a8'),'value':_0x477d('0x9a9'),'figure':'/assets/images/theme-options/content-only.jpg'}];_0x4e6663[_0x477d('0x9aa')]=_0x477d('0x999');_0x4e6663[_0x477d('0x9ab')]=_0x4b93a4[_0x477d('0x376')](_0x477d('0x9ac'))||_0x477d('0x99b');_0x4e6663['setActiveTheme']=_0x183b1f;_0x4e6663[_0x477d('0x9ad')]=_0x4a4703;_0x4e6663[_0x477d('0x9ae')]=_0x15bab5;_0x4e6663[_0x477d('0x9af')]=_0x300991;function _0x183b1f(_0x4e4c16){_0x227306['setActiveTheme'](_0x4e4c16);}function _0x4a4703(){return _0x227306['themes'][_0x477d('0x94d')];}function _0x15bab5(){var _0x3c8603=angular[_0x477d('0x398')](_0x477d('0x399'));_0x3c8603['toggleClass'](_0x477d('0x997'),_0x4e6663[_0x477d('0x9aa')]===_0x477d('0x997'));}function _0x300991(){_0x4b93a4[_0x477d('0x390')](_0x477d('0x9ac'),_0x4e6663[_0x477d('0x9ab')]);location[_0x477d('0x9b0')]();}}function _0x111ee5(_0x59972e){return{'restrict':'E','scope':{},'controller':_0x477d('0x9b1'),'templateUrl':_0x477d('0x9b2'),'compile':function(_0x5aca02){_0x5aca02[_0x477d('0x3df')](_0x477d('0x9b3'));return function postLink(_0x53fa94){function _0xce66b4(){_0x59972e('motion-theme-options')['toggle']();}_0x53fa94[_0x477d('0x9b4')]=_0xce66b4;};}};}}());(function(){'use strict';_0x31805e['$inject']=[_0x477d('0x385'),'$log',_0x477d('0x992')];angular['module'](_0x477d('0x1'))[_0x477d('0x388')]('motionGenerator',_0x31805e);function _0x31805e(_0x3aa9c9,_0x2cd623,_0x1b17ca){var _0x2f765b={};var _0xcae3fa={'generate':_0x57fcbd,'rgba':_0x445b7a};return _0xcae3fa;function _0x57fcbd(){var _0x3047f0=angular[_0x477d('0x6d9')](_0x1b17ca[_0x477d('0x9b5')]());var _0x512fcd=angular[_0x477d('0x6d9')](_0x1b17ca[_0x477d('0x9b6')]());angular['forEach'](_0x3047f0,function(_0x1d83c5){_0x2f765b[_0x1d83c5[_0x477d('0x94')]]={};angular['forEach'](_0x1d83c5[_0x477d('0x9b7')],function(_0x4e8264,_0x92b7da){_0x2f765b[_0x1d83c5[_0x477d('0x94')]][_0x92b7da]={'name':_0x4e8264[_0x477d('0x94')],'levels':{'default':{'color':_0x445b7a(_0x512fcd[_0x4e8264[_0x477d('0x94')]][_0x4e8264['hues'][_0x477d('0x5e3')]][_0x477d('0x3b6')]),'contrast1':_0x445b7a(_0x512fcd[_0x4e8264[_0x477d('0x94')]][_0x4e8264['hues'][_0x477d('0x5e3')]]['contrast'],0x1),'contrast2':_0x445b7a(_0x512fcd[_0x4e8264[_0x477d('0x94')]][_0x4e8264[_0x477d('0x9b8')][_0x477d('0x5e3')]]['contrast'],0x2),'contrast3':_0x445b7a(_0x512fcd[_0x4e8264[_0x477d('0x94')]][_0x4e8264[_0x477d('0x9b8')]['default']][_0x477d('0x514')],0x3),'contrast4':_0x445b7a(_0x512fcd[_0x4e8264[_0x477d('0x94')]][_0x4e8264[_0x477d('0x9b8')]['default']][_0x477d('0x514')],0x4)},'hue1':{'color':_0x445b7a(_0x512fcd[_0x4e8264['name']][_0x4e8264['hues'][_0x477d('0x9b9')]]['value']),'contrast1':_0x445b7a(_0x512fcd[_0x4e8264['name']][_0x4e8264['hues'][_0x477d('0x9b9')]]['contrast'],0x1),'contrast2':_0x445b7a(_0x512fcd[_0x4e8264['name']][_0x4e8264[_0x477d('0x9b8')][_0x477d('0x9b9')]]['contrast'],0x2),'contrast3':_0x445b7a(_0x512fcd[_0x4e8264[_0x477d('0x94')]][_0x4e8264[_0x477d('0x9b8')][_0x477d('0x9b9')]][_0x477d('0x514')],0x3),'contrast4':_0x445b7a(_0x512fcd[_0x4e8264[_0x477d('0x94')]][_0x4e8264['hues'][_0x477d('0x9b9')]][_0x477d('0x514')],0x4)},'hue2':{'color':_0x445b7a(_0x512fcd[_0x4e8264['name']][_0x4e8264['hues'][_0x477d('0x9ba')]][_0x477d('0x3b6')]),'contrast1':_0x445b7a(_0x512fcd[_0x4e8264[_0x477d('0x94')]][_0x4e8264[_0x477d('0x9b8')]['hue-2']][_0x477d('0x514')],0x1),'contrast2':_0x445b7a(_0x512fcd[_0x4e8264['name']][_0x4e8264[_0x477d('0x9b8')][_0x477d('0x9ba')]]['contrast'],0x2),'contrast3':_0x445b7a(_0x512fcd[_0x4e8264['name']][_0x4e8264[_0x477d('0x9b8')][_0x477d('0x9ba')]]['contrast'],0x3),'contrast4':_0x445b7a(_0x512fcd[_0x4e8264[_0x477d('0x94')]][_0x4e8264['hues'][_0x477d('0x9ba')]][_0x477d('0x514')],0x4)},'hue3':{'color':_0x445b7a(_0x512fcd[_0x4e8264[_0x477d('0x94')]][_0x4e8264['hues'][_0x477d('0x9bb')]][_0x477d('0x3b6')]),'contrast1':_0x445b7a(_0x512fcd[_0x4e8264['name']][_0x4e8264[_0x477d('0x9b8')][_0x477d('0x9bb')]][_0x477d('0x514')],0x1),'contrast2':_0x445b7a(_0x512fcd[_0x4e8264['name']][_0x4e8264[_0x477d('0x9b8')][_0x477d('0x9bb')]][_0x477d('0x514')],0x2),'contrast3':_0x445b7a(_0x512fcd[_0x4e8264[_0x477d('0x94')]][_0x4e8264[_0x477d('0x9b8')][_0x477d('0x9bb')]][_0x477d('0x514')],0x3),'contrast4':_0x445b7a(_0x512fcd[_0x4e8264[_0x477d('0x94')]][_0x4e8264[_0x477d('0x9b8')][_0x477d('0x9bb')]][_0x477d('0x514')],0x4)}}};});});_0x1ae2d0(_0x2f765b);var _0x767e54={};angular[_0x477d('0x3b1')](_0x2f765b,function(_0x1a6969,_0x559eef){_0x767e54={};_0x767e54['@themeName']=_0x559eef;angular[_0x477d('0x3b1')](_0x1a6969,function(_0x3209b2,_0x1a15a1){angular[_0x477d('0x3b1')](_0x3209b2[_0x477d('0x9bc')],function(_0x2ee14f,_0x1c8bf8){angular[_0x477d('0x3b1')](_0x2ee14f,function(_0x4c3bca,_0x43bbf0){_0x767e54['@'+_0x1a15a1+_0x2b07f6(_0x1c8bf8)+_0x2b07f6(_0x43bbf0)]=_0x4c3bca;});});});_0x2e949d(_0x767e54);});}function _0x1ae2d0(_0x33f2f2){var _0x54ceab=angular['copy'](_0x33f2f2);angular[_0x477d('0x3b1')](_0x54ceab,function(_0x4d3a82){angular['forEach'](_0x4d3a82,function(_0x5a1273,_0x5c031d){_0x4d3a82[_0x5c031d]=_0x5a1273[_0x477d('0x9bc')];_0x4d3a82[_0x5c031d][_0x477d('0x3e3')]=_0x5a1273[_0x477d('0x9bc')]['default']['color'];_0x4d3a82[_0x5c031d][_0x477d('0x9bd')]=_0x5a1273['levels'][_0x477d('0x5e3')][_0x477d('0x9bd')];_0x4d3a82[_0x5c031d]['contrast2']=_0x5a1273[_0x477d('0x9bc')][_0x477d('0x5e3')][_0x477d('0x9be')];_0x4d3a82[_0x5c031d][_0x477d('0x9bf')]=_0x5a1273[_0x477d('0x9bc')][_0x477d('0x5e3')][_0x477d('0x9bf')];_0x4d3a82[_0x5c031d]['contrast4']=_0x5a1273[_0x477d('0x9bc')][_0x477d('0x5e3')][_0x477d('0x9c0')];delete _0x4d3a82[_0x5c031d]['default'];});});_0x1b17ca['setThemesList'](_0x54ceab);var _0x506db2=_0x3aa9c9[_0x477d('0x376')](_0x477d('0x9c1'));if(_0x506db2){_0x1b17ca['setActiveTheme'](_0x506db2);}else{_0x1b17ca[_0x477d('0x9c2')](_0x477d('0x5e3'));}}function _0x2e949d(_0x1bf86f){var _0x94541d=_0x477d('0x9c3');var _0x49115e=new RegExp(Object[_0x477d('0x7f')](_0x1bf86f)[_0x477d('0x3f6')]('|'),'gi');var _0x21c374=_0x94541d[_0x477d('0x409')](_0x49115e,function(_0x4b2d21){return _0x1bf86f[_0x4b2d21];});var _0x15d33c=angular[_0x477d('0x398')](_0x477d('0x654'));var _0x44c9e4=angular[_0x477d('0x398')](_0x477d('0x9c4'));_0x44c9e4[_0x477d('0x3de')](_0x21c374);_0x15d33c[_0x477d('0x40c')](_0x44c9e4);}function _0x445b7a(_0x11407d,_0x3ce8d3){var _0x24037e=_0x3ce8d3||![];if(_0x11407d[_0x477d('0x79')]===0x4&&_0x11407d[0x0]===0xff&&_0x11407d[0x1]===0xff&&_0x11407d[0x2]===0xff){_0x11407d[_0x477d('0x45b')](0x3,0x4);}if(_0x24037e){_0x11407d=_0x27afaa(_0x11407d,_0x24037e);}if(_0x11407d[_0x477d('0x79')]===0x3){return _0x477d('0x9c5')+_0x11407d[_0x477d('0x3f6')](',')+')';}else if(_0x11407d[_0x477d('0x79')]===0x4){return'rgba('+_0x11407d[_0x477d('0x3f6')](',')+')';}else{_0x2cd623[_0x477d('0x44a')]('Invalid\x20number\x20of\x20arguments\x20supplied\x20in\x20the\x20color\x20array:\x20'+_0x11407d['length']+'\x0a'+'The\x20array\x20must\x20have\x203\x20or\x204\x20colors.');}}function _0x27afaa(_0x30ef9d,_0x371a1c){var _0x5cbe29={'white':{'1':'1','2':_0x477d('0x9c6'),'3':_0x477d('0x9c7'),'4':_0x477d('0x9c8')},'black':{'1':_0x477d('0x9c9'),'2':_0x477d('0x9ca'),'3':_0x477d('0x9cb'),'4':'0.12'}};if(_0x30ef9d[0x0]===0xff&&_0x30ef9d[0x1]===0xff&&_0x30ef9d[0x2]===0xff){_0x30ef9d[0x3]=_0x5cbe29['white'][_0x371a1c];}else if(_0x30ef9d[0x0]===0x0&&_0x30ef9d[0x1]===0x0&&_0x30ef9d[0x2]===0x0){_0x30ef9d[0x3]=_0x5cbe29[_0x477d('0x9cc')][_0x371a1c];}return _0x30ef9d;}function _0x2b07f6(_0x3bde7a){return _0x3bde7a['charAt'](0x0)[_0x477d('0x44f')]()+_0x3bde7a[_0x477d('0x9cd')](0x1);}}}());(function(){'use strict';var _0xa2fed9=[{'name':_0x477d('0x9ce'),'options':{'50':_0x477d('0x9cf'),'100':_0x477d('0x9d0'),'200':_0x477d('0x9d1'),'300':_0x477d('0x9d2'),'400':_0x477d('0x9d3'),'500':'#3470ca','600':_0x477d('0x9d4'),'700':'#275498','800':'#21467e','900':_0x477d('0x9d5'),'A100':_0x477d('0x9d0'),'A200':_0x477d('0x9d1'),'A400':_0x477d('0x9d3'),'A700':_0x477d('0x9d6'),'contrastDefaultColor':_0x477d('0x9d7'),'contrastDarkColors':_0x477d('0x9d8'),'contrastStrongLightColors':_0x477d('0x9d9')}},{'name':_0x477d('0x9da'),'options':{'50':_0x477d('0x9db'),'100':_0x477d('0x9dc'),'200':_0x477d('0x9dd'),'300':'#7d818c','400':_0x477d('0x9de'),'500':'#3c4252','600':_0x477d('0x9df'),'700':'#2d323e','800':_0x477d('0x9e0'),'900':_0x477d('0x9e1'),'A100':_0x477d('0x9dc'),'A200':_0x477d('0x9dd'),'A400':_0x477d('0x9de'),'A700':_0x477d('0x9e2'),'contrastDefaultColor':_0x477d('0x9d7'),'contrastDarkColors':_0x477d('0x9d8'),'contrastStrongLightColors':_0x477d('0x9d9')}}];angular[_0x477d('0xb')](_0x477d('0x1'))[_0x477d('0x9e3')](_0x477d('0x9e4'),_0xa2fed9);}());(function(){'use strict';var _0x4b4e10={'default':{'primary':{'name':'motion-paleblue','hues':{'default':'700','hue-1':_0x477d('0x9e5'),'hue-2':'600','hue-3':_0x477d('0x9e6')}},'accent':{'name':_0x477d('0x9e7'),'hues':{'default':_0x477d('0x9e8'),'hue-1':_0x477d('0x9e6'),'hue-2':_0x477d('0x9e9'),'hue-3':_0x477d('0x9ea')}},'warn':{'name':_0x477d('0x9eb')},'background':{'name':_0x477d('0x9ec'),'hues':{'default':_0x477d('0x9ea'),'hue-1':_0x477d('0x9ea'),'hue-2':'100','hue-3':_0x477d('0x9ed')}}},'pinkTheme':{'primary':{'name':_0x477d('0x9ee'),'hues':{'default':_0x477d('0x9ef'),'hue-1':_0x477d('0x9e8'),'hue-2':_0x477d('0x9e6'),'hue-3':'A100'}},'accent':{'name':'pink','hues':{'default':_0x477d('0x9e6'),'hue-1':_0x477d('0x9ed'),'hue-2':'600','hue-3':_0x477d('0x9ea')}},'warn':{'name':_0x477d('0x9f0')},'background':{'name':_0x477d('0x9ec'),'hues':{'default':_0x477d('0x9ea'),'hue-1':_0x477d('0x9ea'),'hue-2':_0x477d('0x9f1'),'hue-3':_0x477d('0x9ed')}}},'tealTheme':{'primary':{'name':_0x477d('0x9ce'),'hues':{'default':'900','hue-1':_0x477d('0x9e8'),'hue-2':'500','hue-3':_0x477d('0x9ea')}},'accent':{'name':_0x477d('0x9f2'),'hues':{'default':_0x477d('0x9e5'),'hue-1':_0x477d('0x9e6'),'hue-2':_0x477d('0x9e8'),'hue-3':_0x477d('0x9ea')}},'warn':{'name':'deep-orange'},'background':{'name':_0x477d('0x9ec'),'hues':{'default':_0x477d('0x9ea'),'hue-1':_0x477d('0x9ea'),'hue-2':'100','hue-3':_0x477d('0x9ed')}}}};angular[_0x477d('0xb')](_0x477d('0x1'))['constant'](_0x477d('0x9f3'),_0x4b4e10);}());(function(){'use strict';_0x2bd269[_0x477d('0xa')]=[_0x477d('0x9f4'),_0x477d('0x9e4'),_0x477d('0x9f3')];angular[_0x477d('0xb')](_0x477d('0x1'))[_0x477d('0xd')](_0x2bd269);function _0x2bd269(_0x2e3fa,_0x371e9c,_0x558356){var _0x33a22c;angular[_0x477d('0x375')]([_0x477d('0x3')])['invoke']([_0x477d('0x385'),function(_0x53ce5b){_0x33a22c=_0x53ce5b;}]);var _0x3fa39a=_0x33a22c[_0x477d('0x9f5')]('motion.customTheme');if(_0x3fa39a){_0x558356[_0x477d('0x9f6')]=_0x3fa39a;}_0x2e3fa['alwaysWatchTheme'](!![]);angular[_0x477d('0x3b1')](_0x371e9c,function(_0x267bc4){_0x2e3fa[_0x477d('0x9f7')](_0x267bc4[_0x477d('0x94')],_0x267bc4[_0x477d('0x43c')]);});angular[_0x477d('0x3b1')](_0x558356,function(_0x5afc51,_0x29d697){_0x2e3fa[_0x477d('0x9f8')](_0x29d697)[_0x477d('0x9f9')](_0x5afc51[_0x477d('0x9fa')][_0x477d('0x94')],_0x5afc51[_0x477d('0x9fa')][_0x477d('0x9b8')])['accentPalette'](_0x5afc51[_0x477d('0x9fb')][_0x477d('0x94')],_0x5afc51[_0x477d('0x9fb')][_0x477d('0x9b8')])[_0x477d('0x9fc')](_0x5afc51[_0x477d('0x5f9')][_0x477d('0x94')],_0x5afc51[_0x477d('0x5f9')]['hues'])[_0x477d('0x9fd')](_0x5afc51[_0x477d('0x9fe')][_0x477d('0x94')],_0x5afc51[_0x477d('0x9fe')][_0x477d('0x9b8')]);});}}());(function(){'use strict';_0x3b6c44['$inject']=[_0x477d('0x385'),_0x477d('0x55e'),_0x477d('0x9ff')];angular[_0x477d('0xb')](_0x477d('0x1'))['service'](_0x477d('0x992'),_0x3b6c44);function _0x3b6c44(_0x44ac75,_0x39bcd6,_0x463985){var _0x2f883a={'getRegisteredPalettes':_0x36cde6,'getRegisteredThemes':_0x1fbde3,'setActiveTheme':_0x49ead4,'setThemesList':_0x5347be,'themes':{'list':{},'active':{'name':'','theme':{}}}};return _0x2f883a;function _0x36cde6(){return _0x463985[_0x477d('0xa00')];}function _0x1fbde3(){return _0x463985[_0x477d('0xa01')];}function _0x49ead4(_0x28c3e3){if(angular[_0x477d('0x3d3')](_0x2f883a[_0x477d('0x995')][_0x477d('0xa02')][_0x28c3e3])){if(angular[_0x477d('0x3d3')](_0x2f883a[_0x477d('0x995')][_0x477d('0xa02')]['default'])){_0x39bcd6[_0x477d('0x44a')](_0x477d('0xa03'));return;}_0x39bcd6[_0x477d('0x5f9')](_0x477d('0xa04')+_0x28c3e3+_0x477d('0xa05'));_0x2f883a[_0x477d('0x995')]['active'][_0x477d('0x94')]=_0x477d('0x5e3');_0x2f883a[_0x477d('0x995')][_0x477d('0x94d')][_0x477d('0x9f8')]=_0x2f883a[_0x477d('0x995')][_0x477d('0xa02')][_0x477d('0x5e3')];_0x44ac75[_0x477d('0x390')](_0x477d('0x9c1'),_0x2f883a[_0x477d('0x995')][_0x477d('0x94d')][_0x477d('0x94')]);return;}_0x2f883a[_0x477d('0x995')]['active'][_0x477d('0x94')]=_0x28c3e3;_0x2f883a[_0x477d('0x995')][_0x477d('0x94d')][_0x477d('0x9f8')]=_0x2f883a[_0x477d('0x995')][_0x477d('0xa02')][_0x28c3e3];_0x44ac75['put'](_0x477d('0x9c1'),_0x28c3e3);}function _0x5347be(_0xcf2047){_0x2f883a[_0x477d('0x995')]['list']=_0xcf2047;}}}());(function(){'use strict';_0x22a504['$inject']=[_0x477d('0x3c4'),'$timeout','$q','msNavigationService'];angular['module'](_0x477d('0xc'))[_0x477d('0x3ba')]('Error404Controller',_0x22a504);function _0x22a504(_0x2f434b,_0x951ab4,_0x3fc1e8,_0x216b77){var _0x29ef46=this;_0x29ef46[_0x477d('0x3fd')]=_0x533c44;_0x29ef46['searchResultClick']=_0x5946ee;function _0x533c44(_0x2329a7){var _0x36b914=[],_0x12b85b=_0x216b77[_0x477d('0xa06')](),_0x245151=_0x3fc1e8[_0x477d('0x54a')]();for(var _0x34b296=0x0;_0x34b296<_0x12b85b[_0x477d('0x79')];_0x34b296+=0x1){if(_0x12b85b[_0x34b296][_0x477d('0x564')]){_0x36b914[_0x477d('0x3a7')](_0x12b85b[_0x34b296]);}}if(_0x2329a7){_0x36b914=_0x36b914[_0x477d('0x3b3')](function(_0x587cbe){if(angular['lowercase'](_0x587cbe[_0x477d('0x49a')])[_0x477d('0x3fd')](angular[_0x477d('0x73b')](_0x2329a7))>-0x1){return!![];}});}_0x951ab4(function(){_0x245151['resolve'](_0x36b914);},0x3e8);return _0x245151[_0x477d('0x553')];}function _0x5946ee(_0x12468b){if(_0x12468b[_0x477d('0x564')]){if(_0x12468b[_0x477d('0x56a')]){_0x2f434b['go'](_0x12468b[_0x477d('0xe')],_0x12468b[_0x477d('0x56a')]);}else{_0x2f434b['go'](_0x12468b['state']);}}}}}());(function(){'use strict';_0x307228[_0x477d('0xa')]=['$state',_0x477d('0x5a1')];angular[_0x477d('0xb')]('app.errors.error-500')[_0x477d('0x3ba')](_0x477d('0xa07'),_0x307228);function _0x307228(_0x27d99a,_0x5e0a2d){var _0x16d08d=this;_0x16d08d['code']='';_0x16d08d[_0x477d('0xa08')]=![];_0x16d08d[_0x477d('0x44a')]=_0x27d99a[_0x477d('0x37e')];_0x16d08d[_0x477d('0xa09')]=_0x149b30;function _0x149b30(){_0x5e0a2d[_0x477d('0xa0a')](_0x477d('0xa0b'),_0x16d08d[_0x477d('0x44a')])[_0x477d('0x76')](function(_0x430b21){_0x16d08d['send']=!![];if(_0x430b21['data']){_0x16d08d['code']=_0x430b21[_0x477d('0x451')]['id'];}},function(_0x51b842){_0x16d08d['send']=![];});}}}());(function(){'use strict';_0x3a734d[_0x477d('0xa')]=[_0x477d('0x55'),'$cookies'];angular[_0x477d('0xb')](_0x477d('0x1c'))[_0x477d('0x3ba')](_0x477d('0xa0c'),_0x3a734d);function _0x3a734d(_0x53553f,_0x4120cd){var _0x155a61=this;_0x155a61[_0x477d('0x3e5')]=_0x53553f['getCurrentUser']();_0x155a61[_0x477d('0xa0d')]=_0x4120cd['get'](_0x477d('0xa0e')+_0x155a61[_0x477d('0x3e5')]['id'])||![];_0x155a61[_0x477d('0xa0f')]=_0x1691a6;function _0x1691a6(){_0x4120cd[_0x477d('0x390')](_0x477d('0xa0e')+_0x155a61['currentUser']['id'],!![]);}}}());(function(){'use strict';_0x4c92ea['$inject']=['Auth',_0x477d('0x40e'),_0x477d('0x40d'),_0x477d('0x3c4'),_0x477d('0x386')];angular[_0x477d('0xb')]('app.forgot')[_0x477d('0x3ba')](_0x477d('0xa10'),_0x4c92ea);function _0x4c92ea(_0x1a15d1,_0x5074ea,_0x9b2b45,_0x14118e,_0x50cd37){var _0x2601af=this;_0x2601af[_0x477d('0x4dd')]={};_0x2601af[_0x477d('0xa11')]=_0x1a6776;_0x2601af['onInit']=_0x23008b;function _0x23008b(){if(_0x1a15d1[_0x477d('0xa12')]()){_0x14118e['go'](_0x477d('0x103'));}}function _0x1a6776(){return _0x50cd37[_0x477d('0x38e')][_0x477d('0x23')](_0x2601af[_0x477d('0x4dd')])[_0x477d('0x38b')][_0x477d('0x76')](function(){_0x5074ea[_0x477d('0x485')]({'title':_0x9b2b45[_0x477d('0x45f')](_0x477d('0xa13')),'msg':_0x9b2b45['instant'](_0x477d('0xa14'))});})[_0x477d('0xf8')](function(_0x242885){if(_0x242885){_0x5074ea[_0x477d('0x44a')]({'title':_0x9b2b45[_0x477d('0x45f')](_0x477d('0xa15')),'msg':_0x242885['data']?_0x242885[_0x477d('0x451')][_0x477d('0x452')]||_0x242885['message']||_0x242885:_0x242885[_0x477d('0x452')]||_0x242885});}});}}}());(function(){'use strict';_0x3ae338['$inject']=[_0x477d('0x55'),_0x477d('0x385')];angular[_0x477d('0xb')](_0x477d('0x2b'))['controller'](_0x477d('0xa16'),_0x3ae338);function _0x3ae338(_0x163076,_0x2e1043){var _0x1cd214=this;_0x1cd214[_0x477d('0x3e5')]=_0x163076[_0x477d('0x5c')]();_0x1cd214[_0x477d('0xa17')]=_0x2e1043['get'](_0x477d('0xa18')+_0x1cd214[_0x477d('0x3e5')]['id'])||![];_0x1cd214[_0x477d('0xa19')]=_0x12abaa;function _0x12abaa(){_0x2e1043['put'](_0x477d('0xa18')+_0x1cd214['currentUser']['id'],!![]);}}}());(function(){'use strict';_0x57397a[_0x477d('0xa')]=[_0x477d('0x965')];angular[_0x477d('0xb')]('motion')[_0x477d('0x388')](_0x477d('0x386'),_0x57397a);function _0x57397a(_0x26122a){var _0x4a9c83={};_0x4a9c83['baseUrl']=_0x477d('0xa1a');_0x4a9c83[_0x477d('0x38e')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa1c'),{},{'local':{'method':'post','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa1c')},'forgot':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa1d')},'reset':{'method':'post','url':_0x4a9c83['baseUrl']+'auth/local/reset/:token','params':{'token':_0x477d('0xa1e')}},'user':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa1f'),'params':{'token':_0x477d('0xa1e')}},'google':{'method':_0x477d('0xa0a'),'url':_0x4a9c83['baseUrl']+_0x477d('0xa20')}});_0x4a9c83[_0x477d('0xa21')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa21'));_0x4a9c83[_0x477d('0x6c9')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0x6c9'),{},{'startMonitor':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa22'),'params':{'uniqueid':_0x477d('0xa23')}},'stopMonitor':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa24'),'params':{'uniqueid':_0x477d('0xa23')}},'getVoiceChannels':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa25')},'getVoiceQueues':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa26')},'getChatQueues':{'method':'get','url':_0x4a9c83['baseUrl']+_0x477d('0xa27')},'getMailQueues':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa28')},'getSmsQueues':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa29')},'getWhatsappQueues':{'method':_0x477d('0x376'),'url':_0x4a9c83['baseUrl']+_0x477d('0xa29')},'getOpenchannelQueues':{'method':_0x477d('0x376'),'url':_0x4a9c83['baseUrl']+_0x477d('0xa2a')},'getFaxQueues':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+'rpc/fax/queues'},'getVoiceQueuesPreview':{'method':'get','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa2b')},'getVoiceQueuesChannels':{'method':_0x477d('0x376'),'url':_0x4a9c83['baseUrl']+_0x477d('0xa2c')},'getVoiceQueuesChannel':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa2d')},'getVoiceQueuesChannelHangup':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa2e')},'getVoiceQueuesChannelRedirect':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+'rpc/voice/queues/channels/:uniqueid/redirect/:exten'},'getOutbound':{'method':'get','url':_0x4a9c83['baseUrl']+_0x477d('0xa2f')},'getOutboundChannels':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa30')},'getAgents':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa31')},'setAgentCapacity':{'method':_0x477d('0x390'),'url':_0x4a9c83[_0x477d('0xa1b')]+'rpc/agents/:id/capacity','params':{'id':_0x477d('0xa32')}},'getTelephones':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+'rpc/telephones'},'getTrunks':{'method':_0x477d('0x376'),'url':_0x4a9c83['baseUrl']+_0x477d('0xa33')},'getCampaigns':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa34')},'getMailAccounts':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa35')},'getFaxAccounts':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+'rpc/fax/accounts'},'getChatQueuesWaitingInteractions':{'method':'get','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa36')},'getMailQueuesWaitingInteractions':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+'rpc/mail/queues/waitinginteractions'},'getOpenchannelQueuesWaitingInteractions':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+'rpc/openchannel/queues/waitinginteractions'},'getSmsQueuesWaitingInteractions':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa37')},'getFaxQueuesWaitingInteractions':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa38')},'getWhatsappQueuesWaitingInteractions':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+'rpc/whatsapp/queues/waitinginteractions'},'mailQueueNotify':{'method':'post','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa39'),'params':{'id':_0x477d('0xa32')}},'chatQueueNotify':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+'rpc/chat/queues/:id/notify','params':{'id':'@id'}},'faxQueueNotify':{'method':'post','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa3a'),'params':{'id':_0x477d('0xa32')}},'smsQueueNotify':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa3b'),'params':{'id':_0x477d('0xa32')}},'openchannelQueueNotify':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa3c'),'params':{'id':_0x477d('0xa32')}},'agentNotify':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa3d'),'params':{'id':'@id'}}});_0x4a9c83[_0x477d('0x3e2')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0x3e2'),{},{'fetch':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa3e')},'reset':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa3f')},'pull':{'method':'get','url':_0x4a9c83['baseUrl']+'version/pull'},'restart':{'method':'get','url':_0x4a9c83['baseUrl']+_0x477d('0xa40')},'migrations':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+'version/migrations'}});_0x4a9c83[_0x477d('0xa41')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa41'),{},{'killProcess':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa42'),'params':{'pid':_0x477d('0xa43')}}});_0x4a9c83['pm2']=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa44'),{'id':_0x477d('0xa32')},{'update':{'method':'put','isArray':!![]}});_0x4a9c83[_0x477d('0x380')]=_0x26122a(_0x4a9c83['baseUrl']+'users/:id',{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83['baseUrl']+_0x477d('0xa45')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa46'),'params':{'includeAll':'@includeAll'}},'bulkCreate':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+'users/create_many','isArray':!![]},'addContacts':{'isArray':!![],'method':'post','url':_0x4a9c83['baseUrl']+_0x477d('0xa47')},'changePassword':{'isArray':![],'method':_0x477d('0x390'),'url':_0x4a9c83['baseUrl']+_0x477d('0xa48')},'addQueues':{'isArray':!![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa49')},'removeQueues':{'isArray':![],'method':'delete','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa49')},'addAvatar':{'isArray':![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa4a')},'getAvatar':{'isArray':![],'method':'get','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa4a')},'getContacts':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83['baseUrl']+'users/:id/contacts'},'getQueues':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa49')},'getVoiceQueuesRt':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa4b')},'getGroups':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+'users/:id/groups'},'getRecordings':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+'users/:id/recordings'},'getScreenRecordings':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa4c')},'getChatInteractions':{'isArray':![],'method':'get','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa4d')},'getOpenchannelInteractions':{'isArray':![],'method':'get','url':_0x4a9c83['baseUrl']+_0x477d('0xa4e')},'getMailInteractions':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+'users/:id/mail/interactions'},'getSmsInteractions':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83['baseUrl']+_0x477d('0xa4f')},'getFaxInteractions':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa50')},'getWhatsappInteractions':{'isArray':![],'method':'get','url':_0x4a9c83[_0x477d('0xa1b')]+'users/:id/whatsapp/interactions'},'login':{'isArray':![],'method':'post','url':_0x4a9c83['baseUrl']+'users/:id/login'},'logout':{'isArray':![],'method':_0x477d('0xa0a'),'url':_0x4a9c83['baseUrl']+_0x477d('0xa51')},'pause':{'isArray':![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa52')},'unpause':{'isArray':![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa53')},'getTeams':{'isArray':![],'method':'get','url':_0x4a9c83[_0x477d('0xa1b')]+'users/:id/teams'},'addTeams':{'isArray':!![],'method':'post','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa54')},'removeTeams':{'isArray':![],'method':_0x477d('0xa55'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa54')},'getLists':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa56')},'getAgents':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa57')},'addChatInteractions':{'isArray':!![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa58')},'removeChatInteractions':{'isArray':![],'method':_0x477d('0xa55'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa58')},'addMailInteractions':{'isArray':!![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa59')},'removeMailInteractions':{'isArray':![],'method':_0x477d('0xa55'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa59')},'addFaxInteractions':{'isArray':!![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+'users/:id/fax_interactions'},'removeFaxInteractions':{'isArray':![],'method':_0x477d('0xa55'),'url':_0x4a9c83[_0x477d('0xa1b')]+'users/:id/fax_interactions'},'addSmsInteractions':{'isArray':!![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa5a')},'removeSmsInteractions':{'isArray':![],'method':_0x477d('0xa55'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa5a')},'addOpenchannelInteractions':{'isArray':!![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+'users/:id/openchannel_interactions'},'removeOpenchannelInteractions':{'isArray':![],'method':_0x477d('0xa55'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa5b')},'addWhatsappInteractions':{'isArray':!![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa5c')},'removeWhatsappInteractions':{'isArray':![],'method':_0x477d('0xa55'),'url':_0x4a9c83['baseUrl']+_0x477d('0xa5c')},'getVoicePrefixes':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa5d')},'getFaxAccounts':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa5e')},'addFaxAccounts':{'isArray':!![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa5e')},'removeFaxAccounts':{'isArray':![],'method':'delete','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa5e')},'getMailAccounts':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa5f')},'addMailAccounts':{'isArray':!![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa5f')},'removeMailAccounts':{'isArray':![],'method':'delete','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa5f')},'getOpenchannelAccounts':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa60')},'addOpenchannelAccounts':{'isArray':!![],'method':_0x477d('0xa0a'),'url':_0x4a9c83['baseUrl']+'users/:id/openchannel_accounts'},'removeOpenchannelAccounts':{'isArray':![],'method':'delete','url':_0x4a9c83[_0x477d('0xa1b')]+'users/:id/openchannel_accounts'},'getSmsAccounts':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa61')},'addSmsAccounts':{'isArray':!![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa61')},'removeSmsAccounts':{'isArray':![],'method':'delete','url':_0x4a9c83[_0x477d('0xa1b')]+'users/:id/sms_accounts'},'getChatWebsites':{'isArray':![],'method':'get','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa62')},'addChatWebsites':{'isArray':!![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa62')},'removeChatWebsites':{'isArray':![],'method':_0x477d('0xa55'),'url':_0x4a9c83[_0x477d('0xa1b')]+'users/:id/chat_websites'},'getWhatsappAccounts':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa63')},'addWhatsappAccounts':{'isArray':!![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa63')},'removeWhatsappAccounts':{'isArray':![],'method':_0x477d('0xa55'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa63')},'getSquareProjects':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+'users/:id/square_projects'},'addSquareProjects':{'isArray':!![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa64')},'removeSquareProjects':{'isArray':![],'method':_0x477d('0xa55'),'url':_0x4a9c83['baseUrl']+'users/:id/square_projects'},'getScheduledCalls':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83['baseUrl']+_0x477d('0xa65')},'getApiKey':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa66')},'createApiKey':{'isArray':![],'method':'post','url':_0x4a9c83['baseUrl']+_0x477d('0xa66')},'removeApiKey':{'isArray':![],'method':'delete','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa66')},'whoami':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa67')}});_0x4a9c83[_0x477d('0xa68')]=_0x26122a(_0x4a9c83['baseUrl']+'voice/chanspy/:id',{'id':'@id'},{'update':{'method':'put'},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+'voice/chanspy/describe'},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa69'),'params':{'includeAll':_0x477d('0xa6a')}}});_0x4a9c83[_0x477d('0xa6b')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa6c'),{'id':'@id'},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83['baseUrl']+'voice/contexts/describe'},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa6d'),'params':{'includeAll':_0x477d('0xa6a')}}});_0x4a9c83['voiceExtension']=_0x26122a(_0x4a9c83['baseUrl']+_0x477d('0xa6e'),{'id':_0x477d('0xa32')},{'update':{'method':'put'},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa6f')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa70'),'params':{'includeAll':_0x477d('0xa6a')}},'addApplications':{'isArray':![],'method':'post','url':_0x4a9c83[_0x477d('0xa1b')]+'voice/extensions/:id/applications'}});_0x4a9c83[_0x477d('0xa71')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa72'),{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+'voice/mohs/describe'},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa73'),'params':{'includeAll':_0x477d('0xa6a')}},'addSound':{'isArray':![],'method':'post','url':_0x4a9c83[_0x477d('0xa1b')]+'voice/mohs/:id/sounds'},'removeSound':{'isArray':![],'method':'delete','url':_0x4a9c83['baseUrl']+_0x477d('0xa74')},'getSounds':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa75')}});_0x4a9c83[_0x477d('0xa76')]=_0x26122a(_0x4a9c83['baseUrl']+_0x477d('0xa77'),{'id':_0x477d('0xa32')},{'update':{'method':'put'},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+'voice/queues/describe'},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa78'),'params':{'includeAll':_0x477d('0xa6a')}},'getHoppers':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa79')},'getHopperHistories':{'isArray':![],'method':'get','url':_0x4a9c83[_0x477d('0xa1b')]+'voice/queues/:id/hopper_histories'},'getHopperFinals':{'isArray':![],'method':'get','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa7a')},'getHopperBlacks':{'isArray':![],'method':'get','url':_0x4a9c83['baseUrl']+_0x477d('0xa7b')},'getTeams':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa7c')},'addTeams':{'isArray':!![],'method':_0x477d('0xa0a'),'url':_0x4a9c83['baseUrl']+'voice/queues/:id/teams'},'removeTeams':{'isArray':![],'method':_0x477d('0xa55'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa7c')},'addAgents':{'isArray':!![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa7d')},'removeAgents':{'isArray':![],'method':_0x477d('0xa55'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa7d')},'getAgents':{'isArray':![],'method':'get','url':_0x4a9c83[_0x477d('0xa1b')]+'voice/queues/:id/users'},'getMembers':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83['baseUrl']+_0x477d('0xa7e')},'getLists':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa7f')},'addLists':{'isArray':!![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa7f')},'removeLists':{'isArray':!![],'method':_0x477d('0xa55'),'url':_0x4a9c83['baseUrl']+'voice/queues/:id/lists'},'getBlackLists':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa80')},'addBlackLists':{'isArray':!![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa80')},'removeBlackLists':{'isArray':!![],'method':_0x477d('0xa55'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa80')}});_0x4a9c83[_0x477d('0xa81')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa82'),{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+'voice/recordings/describe'},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa83'),'params':{'includeAll':'@includeAll'}},'download':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa84'),'responseType':_0x477d('0xa85'),'cache':![],'transformResponse':function(_0x1e3082,_0x557288){var _0x1743c5=_0x557288();return{'type':_0x1743c5[_0x477d('0xa86')],'length':_0x1743c5[_0x477d('0xa87')],'buffer':_0x1e3082};}},'downloads':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa88')},'runTranscribe':{'isArray':![],'method':_0x477d('0xa0a'),'url':_0x4a9c83['baseUrl']+_0x477d('0xa89')},'downloadTranscribe':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa89'),'responseType':_0x477d('0xa85'),'cache':![],'transformResponse':function(_0x25f4ac,_0x20b3d4){var _0x5a6048=_0x20b3d4();return{'type':_0x5a6048[_0x477d('0xa86')],'length':_0x5a6048[_0x477d('0xa87')],'buffer':_0x25f4ac};}}});_0x4a9c83[_0x477d('0xa8a')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa8b'),{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+'screen/recordings/describe'},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+'screen/recordings/:id/clone','params':{'includeAll':_0x477d('0xa6a')}},'download':{'isArray':![],'method':'get','url':_0x4a9c83[_0x477d('0xa1b')]+'screen/recordings/:id/download','responseType':_0x477d('0xa85'),'cache':![],'transformResponse':function(_0x1c7203,_0x322279){var _0x426c89=_0x322279();return{'type':_0x426c89[_0x477d('0xa86')],'length':_0x426c89[_0x477d('0xa87')],'buffer':_0x1c7203};}}});_0x4a9c83[_0x477d('0xa8c')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa8d'),{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':'get','url':_0x4a9c83['baseUrl']+_0x477d('0xa8e')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83['baseUrl']+_0x477d('0xa8f'),'params':{'includeAll':'@includeAll'}},'getMessages':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+'voice/mails/:id/messages'}});_0x4a9c83[_0x477d('0xa90')]=_0x26122a(_0x4a9c83['baseUrl']+_0x477d('0xa91'),{'id':'@id'},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa92')},'clone':{'method':'post','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa93'),'params':{'includeAll':_0x477d('0xa6a')}},'download':{'isArray':![],'method':'get','url':_0x4a9c83['baseUrl']+_0x477d('0xa94'),'responseType':_0x477d('0xa85'),'cache':![],'transformResponse':function(_0x2eb4b8,_0x1bc7be){var _0x5d740f=_0x1bc7be();return{'type':_0x5d740f['content-type'],'length':_0x5d740f[_0x477d('0xa87')],'buffer':_0x2eb4b8};}}});_0x4a9c83[_0x477d('0xa95')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa96'),{'id':'@id'},{'update':{'method':_0x477d('0x390')},'describe':{'method':'get','url':_0x4a9c83['baseUrl']+_0x477d('0xa97')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa98'),'params':{'includeAll':'@includeAll'}}});_0x4a9c83[_0x477d('0xa99')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa9a'),{'id':'@id'},{'update':{'method':'put'},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83['baseUrl']+'voice/dials/reports/describe'},'clone':{'method':'post','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa9b'),'params':{'includeAll':_0x477d('0xa6a')}}});_0x4a9c83[_0x477d('0xa9c')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa9d'),{'id':_0x477d('0xa32')},{'update':{'method':'put'},'describe':{'method':'get','url':_0x4a9c83['baseUrl']+_0x477d('0xa9e')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xa9f'),'params':{'includeAll':_0x477d('0xa6a')}}});_0x4a9c83[_0x477d('0xaa0')]=_0x26122a(_0x4a9c83['baseUrl']+_0x477d('0xaa1'),{'id':_0x477d('0xa32')},{'update':{'method':'put'},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+'voice/queues/reports/describe'},'clone':{'method':'post','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xaa2'),'params':{'includeAll':_0x477d('0xa6a')}},'getVoiceQueuesReport':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83['baseUrl']+_0x477d('0xaa3')}});_0x4a9c83[_0x477d('0xaa4')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xaa5'),{'id':'@id'},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xaa6')},'clone':{'method':'post','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xaa7'),'params':{'includeAll':_0x477d('0xa6a')}}});_0x4a9c83[_0x477d('0xaa8')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xaa9'),{'id':'@id'},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xaaa')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xaab'),'params':{'includeAll':'@includeAll'}}});_0x4a9c83[_0x477d('0xaac')]=_0x26122a(_0x4a9c83['baseUrl']+'voice/transfers/reports/:id',{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83['baseUrl']+'voice/transfers/reports/describe'},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xaad'),'params':{'includeAll':'@includeAll'}}});_0x4a9c83['mailServerOut']=_0x26122a(_0x4a9c83['baseUrl']+'mail/out_servers/:id',{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':'get','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xaae')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+'mail/out_servers/:id/clone','params':{'includeAll':'@includeAll'}}});_0x4a9c83['mailAccount']=_0x26122a(_0x4a9c83['baseUrl']+_0x477d('0xaaf'),{'id':'@id'},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xab0')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xab1'),'params':{'includeAll':_0x477d('0xa6a')}},'addDisposition':{'isArray':![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xab2')},'getDispositions':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xab2')},'removeDispositions':{'isArray':![],'method':_0x477d('0xa55'),'url':_0x4a9c83[_0x477d('0xa1b')]+'mail/accounts/:id/dispositions'},'addAnswer':{'isArray':![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xab3')},'getAnswers':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+'mail/accounts/:id/canned_answers'},'removeAnswers':{'isArray':![],'method':_0x477d('0xa55'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xab3')},'getImap':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xab4')},'addImap':{'isArray':![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+'mail/accounts/:id/in_servers'},'removeImap':{'isArray':![],'method':'delete','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xab4')},'getSmtp':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+'mail/accounts/:id/out_servers'},'addSmtp':{'isArray':![],'method':'post','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xab5')},'removeSmtp':{'isArray':![],'method':'delete','url':_0x4a9c83['baseUrl']+'mail/accounts/:id/out_servers'},'addInteraction':{'isArray':![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+'mail/accounts/:id/interactions'},'getInteractions':{'isArray':![],'method':'get','url':_0x4a9c83['baseUrl']+_0x477d('0xab6')},'addApplications':{'isArray':![],'method':_0x477d('0xa0a'),'url':_0x4a9c83['baseUrl']+_0x477d('0xab7')},'getApplications':{'isArray':![],'method':'get','url':_0x4a9c83['baseUrl']+_0x477d('0xab7')},'getMessages':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83['baseUrl']+_0x477d('0xab8')},'send':{'isArray':![],'method':'post','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xab9')},'verifySmtp':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xaba')},'addAgents':{'isArray':!![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xabb')},'removeAgents':{'isArray':![],'method':_0x477d('0xa55'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xabb')},'getAgents':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83['baseUrl']+_0x477d('0xabb')}});_0x4a9c83['mailQueue']=_0x26122a(_0x4a9c83['baseUrl']+'mail/queues/:id',{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83['baseUrl']+_0x477d('0xabc')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83['baseUrl']+'mail/queues/:id/clone','params':{'includeAll':_0x477d('0xa6a')}},'getMembers':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xabd')},'getTeams':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83['baseUrl']+_0x477d('0xabe')},'addTeams':{'isArray':!![],'method':_0x477d('0xa0a'),'url':_0x4a9c83['baseUrl']+'mail/queues/:id/teams'},'removeTeams':{'isArray':![],'method':_0x477d('0xa55'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xabe')},'addAgents':{'isArray':!![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xabf')},'removeAgents':{'isArray':![],'method':_0x477d('0xa55'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xabf')},'getAgents':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+'mail/queues/:id/users'}});_0x4a9c83[_0x477d('0xac0')]=_0x26122a(_0x4a9c83['baseUrl']+_0x477d('0xac1'),{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83['baseUrl']+_0x477d('0xac2')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+'mail/substatuses/:id/clone','params':{'includeAll':_0x477d('0xa6a')}}});_0x4a9c83[_0x477d('0xac3')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+'mail/interactions/:id',{'id':_0x477d('0xa32')},{'update':{'method':'put'},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xac4')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83['baseUrl']+'mail/interactions/:id/clone','params':{'includeAll':_0x477d('0xa6a')}},'addMessage':{'isArray':![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+'mail/interactions/:id/messages'},'getMessages':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xac5')},'addTags':{'isArray':![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xac6')},'removeTags':{'isArray':![],'method':_0x477d('0xa55'),'url':_0x4a9c83[_0x477d('0xa1b')]+'mail/interactions/:id/tags'},'download':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xac7'),'responseType':'arraybuffer','cache':![],'transformResponse':function(_0x323399,_0x183db1){var _0x1820d9=_0x183db1();return{'type':_0x1820d9[_0x477d('0xa86')],'length':_0x1820d9[_0x477d('0xa87')],'buffer':_0x323399};}}});_0x4a9c83[_0x477d('0xac8')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xac9'),{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xaca')},'clone':{'method':'post','url':_0x4a9c83['baseUrl']+'mail/messages/:id/clone','params':{'includeAll':_0x477d('0xa6a')}},'accept':{'isArray':![],'method':_0x477d('0x390'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xacb')},'reject':{'isArray':![],'method':_0x477d('0x390'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xacc')},'download':{'isArray':![],'method':'get','url':_0x4a9c83[_0x477d('0xa1b')]+'mail/messages/:id/download','responseType':_0x477d('0xa85'),'cache':![],'transformResponse':function(_0x4be3f4,_0x516959){var _0x5c2fe9=_0x516959();return{'type':_0x5c2fe9[_0x477d('0xa86')],'length':_0x5c2fe9[_0x477d('0xa87')],'buffer':_0x4be3f4};}}});_0x4a9c83['mailApplication']=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xacd'),{'id':_0x477d('0xa32')},{'update':{'method':'put'},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+'mail/applications/describe'},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xace'),'params':{'includeAll':_0x477d('0xa6a')}}});_0x4a9c83[_0x477d('0xacf')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xad0'),{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xad1')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+'mail/reports/queue/:id/clone','params':{'includeAll':_0x477d('0xa6a')}}});_0x4a9c83[_0x477d('0xad2')]=_0x26122a(_0x4a9c83['baseUrl']+_0x477d('0xad3'),{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xad4')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xad5'),'params':{'includeAll':_0x477d('0xa6a')}},'addItem':{'isArray':![],'method':'post','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xad6')},'getItems':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xad6')}});_0x4a9c83[_0x477d('0xad7')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+'dashboards/items/:id',{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xad8')},'clone':{'method':'post','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xad9'),'params':{'includeAll':_0x477d('0xa6a')}}});_0x4a9c83[_0x477d('0xada')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xadb'),{'id':'@id'},{'update':{'method':'put'},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83['baseUrl']+_0x477d('0xadc')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xadd'),'params':{'includeAll':_0x477d('0xa6a')}},'addDisposition':{'isArray':![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xade')},'getDispositions':{'isArray':![],'method':'get','url':_0x4a9c83['baseUrl']+_0x477d('0xade')},'removeDispositions':{'isArray':![],'method':_0x477d('0xa55'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xade')},'addAnswer':{'isArray':![],'method':_0x477d('0xa0a'),'url':_0x4a9c83['baseUrl']+_0x477d('0xadf')},'getAnswers':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83['baseUrl']+'fax/accounts/:id/canned_answers'},'removeAnswers':{'isArray':![],'method':'delete','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xadf')},'addInteraction':{'isArray':![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xae0')},'getInteractions':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83['baseUrl']+'fax/accounts/:id/interactions'},'addApplications':{'isArray':![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xae1')},'getApplications':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xae1')},'addAccountApplications':{'isArray':![],'method':_0x477d('0xa0a'),'url':_0x4a9c83['baseUrl']+_0x477d('0xae2')},'updateAccountApplications':{'isArray':![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xae3')},'getMessages':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83['baseUrl']+_0x477d('0xae4')},'send':{'isArray':![],'method':'post','url':_0x4a9c83[_0x477d('0xa1b')]+'fax/accounts/:id/send'},'addAgents':{'isArray':!![],'method':_0x477d('0xa0a'),'url':_0x4a9c83['baseUrl']+_0x477d('0xae5')},'removeAgents':{'isArray':![],'method':_0x477d('0xa55'),'url':_0x4a9c83['baseUrl']+_0x477d('0xae5')},'getAgents':{'isArray':![],'method':'get','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xae5')}});_0x4a9c83['faxApplication']=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xae6'),{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xae7')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+'fax/applications/:id/clone','params':{'includeAll':'@includeAll'}}});_0x4a9c83[_0x477d('0xae8')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xae9'),{'id':'@id'},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xaea')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xaeb'),'params':{'includeAll':_0x477d('0xa6a')}},'addMessage':{'isArray':![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+'fax/interactions/:id/messages'},'getMessages':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xaec')},'addTags':{'isArray':![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+'fax/interactions/:id/tags'},'removeTags':{'isArray':![],'method':_0x477d('0xa55'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xaed')},'download':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xaee'),'responseType':_0x477d('0xa85'),'cache':![],'transformResponse':function(_0xc6ae64,_0xddf2f0){var _0xc63e5d=_0xddf2f0();return{'type':_0xc63e5d[_0x477d('0xa86')],'length':_0xc63e5d[_0x477d('0xa87')],'buffer':_0xc6ae64};}}});_0x4a9c83['faxMessage']=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xaef'),{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xaf0')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xaf1'),'params':{'includeAll':_0x477d('0xa6a')}},'accept':{'isArray':![],'method':'put','url':_0x4a9c83[_0x477d('0xa1b')]+'fax/messages/:id/accept'},'reject':{'isArray':![],'method':'put','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xaf2')},'download':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83['baseUrl']+_0x477d('0xaf3'),'responseType':_0x477d('0xa85'),'cache':![],'transformResponse':function(_0xef9e33,_0x42a36c){var _0x55e6bd=_0x42a36c();return{'type':_0x55e6bd['content-type'],'length':_0x55e6bd[_0x477d('0xa87')],'buffer':_0xef9e33};}}});_0x4a9c83['faxQueue']=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+'fax/queues/:id',{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xaf4')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xaf5'),'params':{'includeAll':_0x477d('0xa6a')}},'getMembers':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+'fax/queues/:id/members'},'getTeams':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xaf6')},'addTeams':{'isArray':!![],'method':_0x477d('0xa0a'),'url':_0x4a9c83['baseUrl']+_0x477d('0xaf6')},'removeTeams':{'isArray':![],'method':_0x477d('0xa55'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xaf6')},'addAgents':{'isArray':!![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+'fax/queues/:id/users'},'removeAgents':{'isArray':![],'method':_0x477d('0xa55'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xaf7')},'getAgents':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xaf7')}});_0x4a9c83[_0x477d('0xaf8')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+'fax/reports/queue/:id',{'id':'@id'},{'update':{'method':_0x477d('0x390')},'describe':{'method':'get','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xaf9')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+'fax/reports/queue/:id/clone','params':{'includeAll':'@includeAll'}}});_0x4a9c83['smsAccount']=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xafa'),{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xafb')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xafc'),'params':{'includeAll':_0x477d('0xa6a')}},'addDisposition':{'isArray':![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xafd')},'getDispositions':{'isArray':![],'method':'get','url':_0x4a9c83['baseUrl']+'sms/accounts/:id/dispositions'},'removeDispositions':{'isArray':![],'method':_0x477d('0xa55'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xafd')},'addAnswer':{'isArray':![],'method':_0x477d('0xa0a'),'url':_0x4a9c83['baseUrl']+_0x477d('0xafe')},'getAnswers':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xafe')},'removeAnswers':{'isArray':![],'method':_0x477d('0xa55'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xafe')},'notify':{'isArray':![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xaff')},'addApplications':{'isArray':![],'method':_0x477d('0xa0a'),'url':_0x4a9c83['baseUrl']+_0x477d('0xb00')},'getApplications':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83['baseUrl']+'sms/accounts/:id/applications'},'getInteractions':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb01')},'send':{'isArray':![],'method':'post','url':_0x4a9c83[_0x477d('0xa1b')]+'sms/accounts/:id/send'},'status':{'isArray':![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb02')},'statusGet':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb02')},'addAgents':{'isArray':!![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb03')},'removeAgents':{'isArray':![],'method':'delete','url':_0x4a9c83[_0x477d('0xa1b')]+'sms/accounts/:id/users'},'getAgents':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+'sms/accounts/:id/users'}});_0x4a9c83['smsApplication']=_0x26122a(_0x4a9c83['baseUrl']+_0x477d('0xb04'),{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb05')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83['baseUrl']+_0x477d('0xb06'),'params':{'includeAll':_0x477d('0xa6a')}}});_0x4a9c83['smsInteraction']=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+'sms/interactions/:id',{'id':_0x477d('0xa32')},{'update':{'method':'put'},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+'sms/interactions/describe'},'clone':{'method':'post','url':_0x4a9c83['baseUrl']+_0x477d('0xb07'),'params':{'includeAll':'@includeAll'}},'addMessage':{'isArray':![],'method':_0x477d('0xa0a'),'url':_0x4a9c83['baseUrl']+'sms/interactions/:id/messages'},'getMessages':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb08')},'addTags':{'isArray':![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb09')},'removeTags':{'isArray':![],'method':'delete','url':_0x4a9c83[_0x477d('0xa1b')]+'sms/interactions/:id/tags'},'download':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb0a'),'responseType':_0x477d('0xa85'),'cache':![],'transformResponse':function(_0x13844a,_0x436433){var _0x371684=_0x436433();return{'type':_0x371684[_0x477d('0xa86')],'length':_0x371684[_0x477d('0xa87')],'buffer':_0x13844a};}}});_0x4a9c83[_0x477d('0xb0b')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb0c'),{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb0d')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+'sms/messages/:id/clone','params':{'includeAll':'@includeAll'}},'accept':{'isArray':![],'method':_0x477d('0x390'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb0e')},'reject':{'isArray':![],'method':_0x477d('0x390'),'url':_0x4a9c83[_0x477d('0xa1b')]+'sms/messages/:id/reject'},'status':{'isArray':![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb0f')}});_0x4a9c83[_0x477d('0xb10')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb11'),{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb12')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+'sms/queues/:id/clone','params':{'includeAll':'@includeAll'}},'getMembers':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb13')},'getTeams':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb14')},'addTeams':{'isArray':!![],'method':'post','url':_0x4a9c83['baseUrl']+_0x477d('0xb14')},'removeTeams':{'isArray':![],'method':_0x477d('0xa55'),'url':_0x4a9c83[_0x477d('0xa1b')]+'sms/queues/:id/teams'},'addAgents':{'isArray':!![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb15')},'removeAgents':{'isArray':![],'method':_0x477d('0xa55'),'url':_0x4a9c83['baseUrl']+_0x477d('0xb15')},'getAgents':{'isArray':![],'method':'get','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb15')}});_0x4a9c83[_0x477d('0xb16')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+'openchannel/accounts/:id',{'id':'@id'},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb17')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+'openchannel/accounts/:id/clone','params':{'includeAll':_0x477d('0xa6a')}},'addDisposition':{'isArray':![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb18')},'getDispositions':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb18')},'removeDispositions':{'isArray':![],'method':'delete','url':_0x4a9c83[_0x477d('0xa1b')]+'openchannel/accounts/:id/dispositions'},'addAnswer':{'isArray':![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb19')},'getAnswers':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb19')},'removeAnswers':{'isArray':![],'method':'delete','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb19')},'notify':{'isArray':![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb1a')},'addApplications':{'isArray':![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb1b')},'getApplications':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83['baseUrl']+_0x477d('0xb1b')},'getInteractions':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83['baseUrl']+'openchannel/accounts/:id/interactions'},'addAgents':{'isArray':!![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb1c')},'removeAgents':{'isArray':![],'method':_0x477d('0xa55'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb1c')},'getAgents':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+'openchannel/accounts/:id/users'},'send':{'isArray':![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb1d')}});_0x4a9c83[_0x477d('0xb1e')]=_0x26122a(_0x4a9c83['baseUrl']+_0x477d('0xb1f'),{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83['baseUrl']+_0x477d('0xb20')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83['baseUrl']+_0x477d('0xb21'),'params':{'includeAll':_0x477d('0xa6a')}}});_0x4a9c83[_0x477d('0xb22')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb23'),{'id':'@id'},{'update':{'method':'put'},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb24')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83['baseUrl']+_0x477d('0xb25'),'params':{'includeAll':_0x477d('0xa6a')}},'addMessage':{'isArray':![],'method':'post','url':_0x4a9c83[_0x477d('0xa1b')]+'openchannel/interactions/:id/messages'},'getMessages':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb26')},'addTags':{'isArray':![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb27')},'removeTags':{'isArray':![],'method':_0x477d('0xa55'),'url':_0x4a9c83[_0x477d('0xa1b')]+'openchannel/interactions/:id/tags'},'download':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83['baseUrl']+_0x477d('0xb28'),'responseType':_0x477d('0xa85'),'cache':![],'transformResponse':function(_0x48f1ee,_0x16a40c){var _0x4b0548=_0x16a40c();return{'type':_0x4b0548[_0x477d('0xa86')],'length':_0x4b0548[_0x477d('0xa87')],'buffer':_0x48f1ee};}}});_0x4a9c83[_0x477d('0xb29')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb2a'),{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+'openchannel/messages/describe'},'clone':{'method':'post','url':_0x4a9c83[_0x477d('0xa1b')]+'openchannel/messages/:id/clone','params':{'includeAll':'@includeAll'}},'accept':{'isArray':![],'method':_0x477d('0x390'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb2b')},'reject':{'isArray':![],'method':_0x477d('0x390'),'url':_0x4a9c83[_0x477d('0xa1b')]+'openchannel/messages/:id/reject'}});_0x4a9c83[_0x477d('0xb2c')]=_0x26122a(_0x4a9c83['baseUrl']+'openchannel/queues/:id',{'id':'@id'},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb2d')},'clone':{'method':'post','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb2e'),'params':{'includeAll':'@includeAll'}},'getMembers':{'isArray':![],'method':'get','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb2f')},'getTeams':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb30')},'addTeams':{'isArray':!![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb30')},'removeTeams':{'isArray':![],'method':_0x477d('0xa55'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb30')},'addAgents':{'isArray':!![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb31')},'removeAgents':{'isArray':![],'method':_0x477d('0xa55'),'url':_0x4a9c83[_0x477d('0xa1b')]+'openchannel/queues/:id/users'},'getAgents':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb31')}});_0x4a9c83[_0x477d('0xb32')]=_0x26122a(_0x4a9c83['baseUrl']+_0x477d('0xb33'),{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':'get','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb34')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb35'),'params':{'includeAll':_0x477d('0xa6a')}},'addDisposition':{'isArray':![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+'chat/websites/:id/dispositions'},'getDispositions':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+'chat/websites/:id/dispositions'},'removeDispositions':{'isArray':![],'method':_0x477d('0xa55'),'url':_0x4a9c83[_0x477d('0xa1b')]+'chat/websites/:id/dispositions'},'addAnswer':{'isArray':![],'method':'post','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb36')},'getAnswers':{'isArray':![],'method':'get','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb36')},'removeAnswers':{'isArray':![],'method':_0x477d('0xa55'),'url':_0x4a9c83['baseUrl']+'chat/websites/:id/canned_answers'},'addLogo':{'isArray':![],'method':'post','url':_0x4a9c83['baseUrl']+_0x477d('0xb37')},'addAvatar':{'isArray':![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb38')},'addCustomerAvatar':{'isArray':![],'method':'post','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb39')},'addSystemAvatar':{'isArray':![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+'chat/websites/:id/system_avatar'},'getLogo':{'isArray':![],'method':'get','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb37')},'getAvatar':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb38')},'getCustomerAvatar':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83['baseUrl']+_0x477d('0xb39')},'getSystemAvatar':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+'chat/websites/:id/system_avatar'},'notify':{'isArray':![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb3a')},'offline':{'isArray':![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb3b')},'addInteraction':{'isArray':![],'method':'post','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb3c')},'getInteractions':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb3c')},'getSnippet':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb3d')},'addApplications':{'isArray':![],'method':'post','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb3e')},'getApplications':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb3e')},'addProactiveActions':{'isArray':![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb3f')},'getProactiveActions':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83['baseUrl']+'chat/websites/:id/proactive_actions'},'getFields':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb40')},'getOfflineMessages':{'isArray':![],'method':'get','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb41')},'addAgents':{'isArray':!![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb42')},'removeAgents':{'isArray':![],'method':_0x477d('0xa55'),'url':_0x4a9c83[_0x477d('0xa1b')]+'chat/websites/:id/users'},'getAgents':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb42')}});_0x4a9c83[_0x477d('0xb43')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb44'),{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb45')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb46'),'params':{'includeAll':_0x477d('0xa6a')}}});_0x4a9c83[_0x477d('0xb47')]=_0x26122a(_0x4a9c83['baseUrl']+_0x477d('0xb48'),{'id':_0x477d('0xa32')},{'update':{'method':'put'},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb49')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+'chat/applications/:id/clone','params':{'includeAll':'@includeAll'}}});_0x4a9c83[_0x477d('0xb4a')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb4b'),{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb4c')},'clone':{'method':'post','url':_0x4a9c83[_0x477d('0xa1b')]+'chat/interactions/:id/clone','params':{'includeAll':_0x477d('0xa6a')}},'createVidaooSession':{'isArray':![],'method':_0x477d('0xa0a'),'url':_0x4a9c83['baseUrl']+'chat/interactions/:id/vidaoo'},'customUpdate':{'isArray':![],'method':_0x477d('0x390'),'url':_0x4a9c83['baseUrl']+_0x477d('0xb4d')},'abandon':{'isArray':![],'method':_0x477d('0x390'),'url':_0x4a9c83[_0x477d('0xa1b')]+'chat/interactions/:id/abandon'},'attachmentUpload':{'isArray':![],'method':_0x477d('0xa0a'),'url':_0x4a9c83['baseUrl']+'chat/interactions/:id/attachment_upload'},'attachmentDownload':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83['baseUrl']+'chat/interactions/:id/attachment_download'},'close':{'isArray':![],'method':_0x477d('0x390'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb4e')},'addMessage':{'isArray':![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb4f')},'getMessages':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb4f')},'getMyMessages':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb50')},'addTags':{'isArray':![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb51')},'removeTags':{'isArray':![],'method':_0x477d('0xa55'),'url':_0x4a9c83['baseUrl']+_0x477d('0xb51')},'download':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb52'),'responseType':_0x477d('0xa85'),'cache':![],'transformResponse':function(_0x367d51,_0x504bd6){var _0x2f09ad=_0x504bd6();return{'type':_0x2f09ad[_0x477d('0xa86')],'length':_0x2f09ad['content-length'],'buffer':_0x367d51};}}});_0x4a9c83[_0x477d('0xb53')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb54'),{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+'chat/messages/describe'},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb55'),'params':{'includeAll':'@includeAll'}},'accept':{'isArray':![],'method':_0x477d('0x390'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb56')},'reject':{'isArray':![],'method':_0x477d('0x390'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb57')}});_0x4a9c83[_0x477d('0xb58')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb59'),{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+'chat/offline_messages/describe'},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+'chat/offline_messages/:id/clone','params':{'includeAll':_0x477d('0xa6a')}}});_0x4a9c83['chatQueue']=_0x26122a(_0x4a9c83['baseUrl']+_0x477d('0xb5a'),{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+'chat/queues/describe'},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb5b'),'params':{'includeAll':_0x477d('0xa6a')}},'getMembers':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb5c')},'getTeams':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb5d')},'addTeams':{'isArray':!![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb5d')},'removeTeams':{'isArray':![],'method':_0x477d('0xa55'),'url':_0x4a9c83['baseUrl']+'chat/queues/:id/teams'},'addAgents':{'isArray':!![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb5e')},'removeAgents':{'isArray':![],'method':_0x477d('0xa55'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb5e')},'getAgents':{'isArray':![],'method':'get','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb5e')}});_0x4a9c83[_0x477d('0xb5f')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb60'),{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb61')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+'chat/groups/:id/clone','params':{'includeAll':_0x477d('0xa6a')}},'getUnread':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb62')},'addMembers':{'isArray':!![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb63')},'getMembers':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb63')},'removeMembers':{'isArray':![],'method':'delete','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb63')},'addMessage':{'isArray':![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb64')},'getMessages':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83['baseUrl']+_0x477d('0xb64')}});_0x4a9c83[_0x477d('0xb65')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb66'),{'id':_0x477d('0xa32')},{'update':{'method':'put'},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb67')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83['baseUrl']+'chat/proactive_actions/:id/clone','params':{'includeAll':_0x477d('0xa6a')}}});_0x4a9c83[_0x477d('0xb68')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb69'),{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':'get','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb6a')},'clone':{'method':'post','url':_0x4a9c83[_0x477d('0xa1b')]+'cm/companies/:id/clone','params':{'includeAll':'@includeAll'}},'addContacts':{'isArray':![],'method':_0x477d('0xa0a'),'url':_0x4a9c83['baseUrl']+_0x477d('0xb6b')},'getContacts':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb6b')}});_0x4a9c83[_0x477d('0xb6c')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb6d'),{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb6e')},'clone':{'method':'post','url':_0x4a9c83['baseUrl']+_0x477d('0xb6f'),'params':{'includeAll':_0x477d('0xa6a')}},'merge':{'isArray':![],'method':_0x477d('0xa0a'),'url':_0x4a9c83['baseUrl']+_0x477d('0xb70')},'bulkCreate':{'isArray':![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb71')},'getTags':{'isArray':![],'method':'get','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb72')},'setTags':{'isArray':!![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb72')},'getHoppers':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83['baseUrl']+'cm/contacts/:id/hoppers'},'getHopperHistories':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb73')},'getHopperFinals':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb74')},'getJscriptySessions':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb75')},'uploadCsv':{'isArray':![],'method':'post','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb76')},'upload':{'isArray':![],'method':'post','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb77')},'import':{'isArray':![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb78')}});_0x4a9c83[_0x477d('0xb79')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+'cm/hopper/:id',{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+'cm/hopper/describe'},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb7a'),'params':{'includeAll':'@includeAll'}},'getPreview':{'isArray':![],'method':_0x477d('0xa0a'),'url':_0x4a9c83['baseUrl']+_0x477d('0xb7b')},'getOpenContacts':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb7c')}});_0x4a9c83[_0x477d('0xb7d')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb7e'),{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':'get','url':_0x4a9c83[_0x477d('0xa1b')]+'cm/hopper_black/describe'},'clone':{'method':'post','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb7f'),'params':{'includeAll':'@includeAll'}}});_0x4a9c83[_0x477d('0xb80')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb81'),{'id':'@id'},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb82')},'clone':{'method':'post','url':_0x4a9c83['baseUrl']+_0x477d('0xb83'),'params':{'includeAll':_0x477d('0xa6a')}},'countContactsQueueCampaignHopperFinal':{'isArray':!![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+'cm/hopper_final/voice/queue/countAttributes/:id'},'countContactsIvrCampaignHopperFinal':{'isArray':!![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb84')},'moveContactsQueueCampaignHopperFinal':{'isArray':!![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+'cm/hopper_final/voice/queue/moveContacts/:id'},'moveContactsIvrCampaignHopperFinal':{'isArray':!![],'method':_0x477d('0xa0a'),'url':_0x4a9c83['baseUrl']+_0x477d('0xb85')},'checkContactHopper':{'isArray':![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+'cm/hopper_final/checkContactHopper'}});_0x4a9c83['cmHopperHistory']=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb86'),{'id':'@id'},{'update':{'method':_0x477d('0x390')},'describe':{'method':'get','url':_0x4a9c83['baseUrl']+_0x477d('0xb87')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83['baseUrl']+_0x477d('0xb88'),'params':{'includeAll':_0x477d('0xa6a')}}});_0x4a9c83['cmCustomField']=_0x26122a(_0x4a9c83['baseUrl']+_0x477d('0xb89'),{'id':'@id'},{'update':{'method':'put'},'describe':{'method':'get','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb8a')},'clone':{'method':'post','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb8b'),'params':{'includeAll':_0x477d('0xa6a')}}});_0x4a9c83[_0x477d('0x450')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb8c'),{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+'actions/describe'},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+'actions/:id/clone','params':{'includeAll':_0x477d('0xa6a')}}});_0x4a9c83[_0x477d('0xb8d')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+'automations/:id',{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+'automations/describe'},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83['baseUrl']+_0x477d('0xb8e'),'params':{'includeAll':_0x477d('0xa6a')}},'addConditions':{'isArray':![],'method':_0x477d('0xa0a'),'url':_0x4a9c83['baseUrl']+_0x477d('0xb8f')},'getConditions':{'isArray':![],'method':'get','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb8f')},'addActions':{'isArray':![],'method':_0x477d('0xa0a'),'url':_0x4a9c83['baseUrl']+_0x477d('0xb90')},'getActions':{'isArray':![],'method':'get','url':_0x4a9c83['baseUrl']+'automations/:id/actions'}});_0x4a9c83[_0x477d('0xb91')]=_0x26122a(_0x4a9c83['baseUrl']+_0x477d('0xb92'),{'id':'@id'},{'update':{'method':'put'},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb93')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb94'),'params':{'includeAll':'@includeAll'}}});_0x4a9c83[_0x477d('0xb95')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+'dispositions/:id',{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb96')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83['baseUrl']+_0x477d('0xb97'),'params':{'includeAll':_0x477d('0xa6a')}}});_0x4a9c83[_0x477d('0xb98')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+'conditions/:id',{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83['baseUrl']+'conditions/describe'},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb99'),'params':{'includeAll':_0x477d('0xa6a')}}});_0x4a9c83[_0x477d('0x79c')]=_0x26122a(_0x4a9c83['baseUrl']+_0x477d('0xb9a'),{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb9b')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb9c'),'params':{'includeAll':_0x477d('0xa6a')}},'addInterval':{'isArray':![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb9d')},'getIntervals':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb9d')},'addIntervals':{'isArray':!![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+'intervals/:id/sub_intervals/create_many'}});_0x4a9c83[_0x477d('0x657')]=_0x26122a(_0x4a9c83['baseUrl']+_0x477d('0xb9e'),{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+'pauses/describe'},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xb9f'),'params':{'includeAll':_0x477d('0xa6a')}}});_0x4a9c83[_0x477d('0xba0')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xba1'),{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xba2')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xba3'),'params':{'includeAll':_0x477d('0xa6a')}}});_0x4a9c83[_0x477d('0xba4')]=_0x26122a(_0x4a9c83['baseUrl']+_0x477d('0xba5'),{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xba6')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xba7'),'params':{'includeAll':_0x477d('0xa6a')}}});_0x4a9c83['schedule']=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xba8'),{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xba9')},'clone':{'method':'post','url':_0x4a9c83['baseUrl']+_0x477d('0xbaa'),'params':{'includeAll':'@includeAll'}},'run':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83['baseUrl']+_0x477d('0xbab')}});_0x4a9c83['sound']=_0x26122a(_0x4a9c83['baseUrl']+_0x477d('0xbac'),{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':'get','url':_0x4a9c83['baseUrl']+_0x477d('0xbad')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83['baseUrl']+_0x477d('0xbae'),'params':{'includeAll':_0x477d('0xa6a')}},'download':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83['baseUrl']+_0x477d('0xbaf'),'responseType':_0x477d('0xa85'),'cache':![],'transformResponse':function(_0x2735da,_0x23f850){var _0x510a33=_0x23f850();return{'type':_0x510a33['content-type'],'length':_0x510a33[_0x477d('0xa87')],'buffer':_0x2735da};}},'delete':{'isArray':![],'method':_0x477d('0xa55'),'url':_0x4a9c83['baseUrl']+_0x477d('0xbac')}});_0x4a9c83[_0x477d('0xbb0')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+'tags/:id',{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83['baseUrl']+'tags/describe'},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xbb1'),'params':{'includeAll':_0x477d('0xa6a')}}});_0x4a9c83[_0x477d('0xbb2')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xbb3'),{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xbb4')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xbb5'),'params':{'includeAll':'@includeAll'}}});_0x4a9c83['trigger']=_0x26122a(_0x4a9c83['baseUrl']+_0x477d('0xbb6'),{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':'get','url':_0x4a9c83[_0x477d('0xa1b')]+'triggers/describe'},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83['baseUrl']+'triggers/:id/clone','params':{'includeAll':_0x477d('0xa6a')}},'addAllCondition':{'isArray':![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+'triggers/:id/all_conditions'},'addAnyCondition':{'isArray':![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+'triggers/:id/any_conditions'},'getAllConditions':{'isArray':![],'method':'get','url':_0x4a9c83[_0x477d('0xa1b')]+'triggers/:id/all_conditions'},'getAnyConditions':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xbb7')},'addAction':{'isArray':![],'method':_0x477d('0xa0a'),'url':_0x4a9c83['baseUrl']+_0x477d('0xbb8')},'getActions':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83['baseUrl']+_0x477d('0xbb8')}});_0x4a9c83[_0x477d('0xbb9')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xbba'),{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':'get','url':_0x4a9c83[_0x477d('0xa1b')]+'variables/describe'},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83['baseUrl']+_0x477d('0xbbb'),'params':{'includeAll':_0x477d('0xa6a')}}});_0x4a9c83[_0x477d('0xbbc')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xbbd'),{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xbbe')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83['baseUrl']+_0x477d('0xbbf'),'params':{'includeAll':_0x477d('0xa6a')}}});_0x4a9c83[_0x477d('0xbc0')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xbc1'),{'id':'@id'},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83['baseUrl']+_0x477d('0xbc2')},'clone':{'method':'post','url':_0x4a9c83[_0x477d('0xa1b')]+'integrations/reports/:id/clone','params':{'includeAll':_0x477d('0xa6a')}}});_0x4a9c83['analyticCustomReport']=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xbc3'),{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xbc4')},'clone':{'method':'post','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xbc5'),'params':{'includeAll':'@includeAll'}},'preview':{'isArray':!![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+'analytics/custom_reports/:id/preview'},'run':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83['baseUrl']+_0x477d('0xbc6')},'query':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xbc7')}});_0x4a9c83[_0x477d('0x918')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xbc8'),{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+'analytics/default_reports/describe'},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83['baseUrl']+_0x477d('0xbc9'),'params':{'includeAll':_0x477d('0xa6a')}},'preview':{'isArray':!![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xbca')},'run':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xbcb')},'query':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xbcc')}});_0x4a9c83[_0x477d('0xbcd')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+'analytics/extracted_reports/:id',{'id':'@id'},{'update':{'method':'put'},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xbce')},'clone':{'method':'post','url':_0x4a9c83['baseUrl']+_0x477d('0xbcf'),'params':{'includeAll':'@includeAll'}},'download':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83['baseUrl']+_0x477d('0xbd0'),'responseType':'arraybuffer','cache':![],'transformResponse':function(_0x351a0d,_0x660c2c){var _0x554f05=_0x660c2c();return{'type':_0x554f05[_0x477d('0xa86')],'length':_0x554f05['content-length'],'buffer':_0x351a0d};}}});_0x4a9c83[_0x477d('0xbd1')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xbd2'),{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':'get','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xbd3')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83['baseUrl']+_0x477d('0xbd4'),'params':{'includeAll':'@includeAll'}}});_0x4a9c83[_0x477d('0xbd5')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xbd6'),{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+'analytics/field_reports/describe'},'clone':{'method':'post','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xbd7'),'params':{'includeAll':_0x477d('0xa6a')}},'bulkCreate':{'method':'post','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xbd8'),'isArray':!![]},'bulkDestroy':{'method':_0x477d('0xa55'),'url':_0x4a9c83['baseUrl']+'analytics/field_reports/destroy_many','isArray':!![]},'addFields':{'isArray':!![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xbd9')}});_0x4a9c83[_0x477d('0xbda')]=_0x26122a(_0x4a9c83['baseUrl']+_0x477d('0xbdb'),{'id':'@id'},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83['baseUrl']+_0x477d('0xbdc')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83['baseUrl']+'analytics/tree_reports/:id/clone','params':{'includeAll':'@includeAll'}}});_0x4a9c83[_0x477d('0xbdd')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xbde'),{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xbdf')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xbe0'),'params':{'includeAll':_0x477d('0xa6a')}},'getConfigurations':{'isArray':![],'method':'get','url':_0x4a9c83[_0x477d('0xa1b')]+'integrations/salesforce/accounts/:id/configurations'},'addConfiguration':{'isArray':![],'method':_0x477d('0xa0a'),'url':_0x4a9c83['baseUrl']+'integrations/salesforce/accounts/:id/configurations'},'getFields':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+'integrations/salesforce/accounts/:id/fields'}});_0x4a9c83[_0x477d('0xbe1')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xbe2'),{'id':'@id'},{'update':{'method':_0x477d('0x390')},'describe':{'method':'get','url':_0x4a9c83['baseUrl']+_0x477d('0xbe3')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xbe4'),'params':{'includeAll':_0x477d('0xa6a')}},'getFields':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xbe5')},'getSubjects':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xbe6')},'getDescriptions':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xbe7')}});_0x4a9c83[_0x477d('0xbe8')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xbe9'),{'id':'@id'},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xbea')},'clone':{'method':'post','url':_0x4a9c83[_0x477d('0xa1b')]+'integrations/salesforce/fields/:id/clone','params':{'includeAll':_0x477d('0xa6a')}}});_0x4a9c83[_0x477d('0xbeb')]=_0x26122a(_0x4a9c83['baseUrl']+_0x477d('0xbec'),{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83['baseUrl']+'integrations/sugarcrm/accounts/describe'},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xbed'),'params':{'includeAll':_0x477d('0xa6a')}},'getConfigurations':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xbee')},'addConfiguration':{'isArray':![],'method':'post','url':_0x4a9c83[_0x477d('0xa1b')]+'integrations/sugarcrm/accounts/:id/configurations'},'getFields':{'isArray':![],'method':'get','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xbef')}});_0x4a9c83[_0x477d('0xbf0')]=_0x26122a(_0x4a9c83['baseUrl']+_0x477d('0xbf1'),{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+'integrations/sugarcrm/configurations/describe'},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83['baseUrl']+_0x477d('0xbf2'),'params':{'includeAll':_0x477d('0xa6a')}},'getFields':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83['baseUrl']+_0x477d('0xbf3')},'getSubjects':{'isArray':![],'method':'get','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xbf4')},'getDescriptions':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xbf5')}});_0x4a9c83[_0x477d('0xbf6')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xbf7'),{'id':'@id'},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xbf8')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xbf9'),'params':{'includeAll':_0x477d('0xa6a')}}});_0x4a9c83[_0x477d('0xbfa')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+'integrations/desk/accounts/:id',{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83['baseUrl']+_0x477d('0xbfb')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83['baseUrl']+'integrations/desk/accounts/:id/clone','params':{'includeAll':'@includeAll'}},'getConfigurations':{'isArray':![],'method':'get','url':_0x4a9c83[_0x477d('0xa1b')]+'integrations/desk/accounts/:id/configurations'},'addConfiguration':{'isArray':![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+'integrations/desk/accounts/:id/configurations'},'getFields':{'isArray':![],'method':'get','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xbfc')}});_0x4a9c83[_0x477d('0xbfd')]=_0x26122a(_0x4a9c83['baseUrl']+_0x477d('0xbfe'),{'id':'@id'},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+'integrations/desk/configurations/describe'},'clone':{'method':'post','url':_0x4a9c83['baseUrl']+_0x477d('0xbff'),'params':{'includeAll':'@includeAll'}},'getFields':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc00')},'getSubjects':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc01')},'getDescriptions':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc02')},'getTags':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc03')},'setTags':{'isArray':!![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc03')}});_0x4a9c83[_0x477d('0xc04')]=_0x26122a(_0x4a9c83['baseUrl']+_0x477d('0xc05'),{'id':'@id'},{'update':{'method':_0x477d('0x390')},'describe':{'method':'get','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc06')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83['baseUrl']+_0x477d('0xc07'),'params':{'includeAll':_0x477d('0xa6a')}}});_0x4a9c83[_0x477d('0xc08')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc09'),{'id':'@id'},{'update':{'method':'put'},'describe':{'method':'get','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc0a')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc0b'),'params':{'includeAll':_0x477d('0xa6a')}},'getConfigurations':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+'integrations/zoho/accounts/:id/configurations'},'addConfiguration':{'isArray':![],'method':'post','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc0c')},'getFields':{'isArray':![],'method':'get','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc0d')}});_0x4a9c83['intZohoConfiguration']=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc0e'),{'id':_0x477d('0xa32')},{'update':{'method':'put'},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc0f')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc10'),'params':{'includeAll':_0x477d('0xa6a')}},'getFields':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83['baseUrl']+'integrations/zoho/configurations/:id/fields'},'getSubjects':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc11')},'getDescriptions':{'isArray':![],'method':'get','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc12')}});_0x4a9c83[_0x477d('0xc13')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+'integrations/zoho/fields/:id',{'id':_0x477d('0xa32')},{'update':{'method':'put'},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83['baseUrl']+_0x477d('0xc14')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc15'),'params':{'includeAll':_0x477d('0xa6a')}}});_0x4a9c83[_0x477d('0xc16')]=_0x26122a(_0x4a9c83['baseUrl']+_0x477d('0xc17'),{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':'get','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc18')},'clone':{'method':'post','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc19'),'params':{'includeAll':'@includeAll'}},'getConfigurations':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+'integrations/zendesk/accounts/:id/configurations'},'addConfiguration':{'isArray':![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc1a')},'getFields':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83['baseUrl']+_0x477d('0xc1b')}});_0x4a9c83[_0x477d('0xc1c')]=_0x26122a(_0x4a9c83['baseUrl']+'integrations/zendesk/configurations/:id',{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc1d')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc1e'),'params':{'includeAll':'@includeAll'}},'getFields':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83['baseUrl']+_0x477d('0xc1f')},'getSubjects':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+'integrations/zendesk/configurations/:id/subjects'},'getDescriptions':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc20')},'getTags':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83['baseUrl']+_0x477d('0xc21')},'setTags':{'isArray':!![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc21')}});_0x4a9c83[_0x477d('0xc22')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc23'),{'id':_0x477d('0xa32')},{'update':{'method':'put'},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83['baseUrl']+_0x477d('0xc24')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc25'),'params':{'includeAll':_0x477d('0xa6a')}}});_0x4a9c83[_0x477d('0xc26')]=_0x26122a(_0x4a9c83['baseUrl']+_0x477d('0xc27'),{'id':_0x477d('0xa32')},{'update':{'method':'put'},'describe':{'method':'get','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc28')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83['baseUrl']+_0x477d('0xc29'),'params':{'includeAll':'@includeAll'}},'getConfigurations':{'isArray':![],'method':'get','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc2a')},'addConfiguration':{'isArray':![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc2a')},'getFields':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc2b')}});_0x4a9c83[_0x477d('0xc2c')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+'integrations/freshdesk/configurations/:id',{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':'get','url':_0x4a9c83['baseUrl']+_0x477d('0xc2d')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc2e'),'params':{'includeAll':_0x477d('0xa6a')}},'getFields':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc2f')},'getSubjects':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc30')},'getDescriptions':{'isArray':![],'method':'get','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc31')},'getTags':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83['baseUrl']+_0x477d('0xc32')},'setTags':{'isArray':!![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc32')}});_0x4a9c83['intFreshdeskField']=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc33'),{'id':'@id'},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc34')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83['baseUrl']+_0x477d('0xc35'),'params':{'includeAll':_0x477d('0xa6a')}}});_0x4a9c83[_0x477d('0xc36')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc37'),{'id':'@id'},{'update':{'method':_0x477d('0x390')},'describe':{'method':'get','url':_0x4a9c83['baseUrl']+_0x477d('0xc38')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc39'),'params':{'includeAll':'@includeAll'}},'getConfigurations':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc3a')},'addConfiguration':{'isArray':![],'method':'post','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc3a')},'getFields':{'isArray':![],'method':'get','url':_0x4a9c83[_0x477d('0xa1b')]+'integrations/vtiger/accounts/:id/fields'}});_0x4a9c83[_0x477d('0xc3b')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc3c'),{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':'get','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc3d')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+'integrations/vtiger/configurations/:id/clone','params':{'includeAll':_0x477d('0xa6a')}},'getFields':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc3e')},'getSubjects':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc3f')},'getDescriptions':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc40')}});_0x4a9c83[_0x477d('0xc41')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc42'),{'id':'@id'},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+'integrations/vtiger/fields/describe'},'clone':{'method':'post','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc43'),'params':{'includeAll':_0x477d('0xa6a')}}});_0x4a9c83[_0x477d('0xc44')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+'integrations/servicenow/accounts/:id',{'id':_0x477d('0xa32')},{'update':{'method':'put'},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc45')},'clone':{'method':'post','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc46'),'params':{'includeAll':_0x477d('0xa6a')}},'getConfigurations':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83['baseUrl']+'integrations/servicenow/accounts/:id/configurations'},'addConfiguration':{'isArray':![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc47')},'getFields':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc48')}});_0x4a9c83[_0x477d('0xc49')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc4a'),{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':'get','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc4b')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc4c'),'params':{'includeAll':_0x477d('0xa6a')}},'getFields':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+'integrations/servicenow/configurations/:id/fields'},'getSubjects':{'isArray':![],'method':'get','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc4d')},'getDescriptions':{'isArray':![],'method':'get','url':_0x4a9c83[_0x477d('0xa1b')]+'integrations/servicenow/configurations/:id/descriptions'}});_0x4a9c83[_0x477d('0xc4e')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc4f'),{'id':_0x477d('0xa32')},{'update':{'method':'put'},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83['baseUrl']+_0x477d('0xc50')},'clone':{'method':'post','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc51'),'params':{'includeAll':_0x477d('0xa6a')}}});_0x4a9c83[_0x477d('0xc52')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc53'),{'id':_0x477d('0xa32')},{'update':{'method':'put'},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83['baseUrl']+_0x477d('0xc54')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc55'),'params':{'includeAll':_0x477d('0xa6a')}},'getConfigurations':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc56')},'addConfiguration':{'isArray':![],'method':'post','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc56')},'getFields':{'isArray':![],'method':'get','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc57')}});_0x4a9c83[_0x477d('0xc58')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+'integrations/dynamics365/configurations/:id',{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':'get','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc59')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc5a'),'params':{'includeAll':_0x477d('0xa6a')}},'getFields':{'isArray':![],'method':'get','url':_0x4a9c83['baseUrl']+'integrations/dynamics365/configurations/:id/fields'},'getSubjects':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc5b')},'getDescriptions':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83['baseUrl']+'integrations/dynamics365/configurations/:id/descriptions'}});_0x4a9c83['intDynamics365Field']=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+'integrations/dynamics365/fields/:id',{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+'integrations/dynamics365/fields/describe'},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83['baseUrl']+_0x477d('0xc5c'),'params':{'includeAll':_0x477d('0xa6a')}}});_0x4a9c83[_0x477d('0xc5d')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+'integrations/freshsales/accounts/:id',{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83['baseUrl']+_0x477d('0xc5e')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83['baseUrl']+_0x477d('0xc5f'),'params':{'includeAll':_0x477d('0xa6a')}},'getConfigurations':{'isArray':![],'method':'get','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc60')},'addConfiguration':{'isArray':![],'method':_0x477d('0xa0a'),'url':_0x4a9c83['baseUrl']+'integrations/freshsales/accounts/:id/configurations'},'getFields':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc61')}});_0x4a9c83[_0x477d('0xc62')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc63'),{'id':_0x477d('0xa32')},{'update':{'method':'put'},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83['baseUrl']+'integrations/freshsales/configurations/describe'},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc64'),'params':{'includeAll':_0x477d('0xa6a')}},'getSubjects':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc65')},'getDescriptions':{'isArray':![],'method':'get','url':_0x4a9c83[_0x477d('0xa1b')]+'integrations/freshsales/configurations/:id/descriptions'},'getFields':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc66')}});_0x4a9c83[_0x477d('0xc67')]=_0x26122a(_0x4a9c83['baseUrl']+_0x477d('0xc68'),{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc69')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc6a'),'params':{'includeAll':'@includeAll'}}});_0x4a9c83['network']=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+'networks/:id',{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':'get','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc6b')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83['baseUrl']+_0x477d('0xc6c'),'params':{'includeAll':'@includeAll'}}});_0x4a9c83['chatQueueReport']=_0x26122a(_0x4a9c83['baseUrl']+'chat/reports/queue/:id',{'id':_0x477d('0xa32')},{'update':{'method':'put'},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83['baseUrl']+_0x477d('0xc6d')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc6e'),'params':{'includeAll':_0x477d('0xa6a')}}});_0x4a9c83[_0x477d('0xc6f')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+'chat/internal/messages/:id',{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83['baseUrl']+_0x477d('0xc70')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83['baseUrl']+_0x477d('0xc71'),'params':{'includeAll':_0x477d('0xa6a')}},'getUsers':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc72')}});_0x4a9c83[_0x477d('0xc73')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc74'),{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc75')},'clone':{'method':'post','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc76'),'params':{'includeAll':_0x477d('0xa6a')}}});_0x4a9c83[_0x477d('0xc77')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc78'),{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':'get','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc79')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc7a'),'params':{'includeAll':_0x477d('0xa6a')}}});_0x4a9c83[_0x477d('0xc7b')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc7c'),{'id':_0x477d('0xa32')},{'update':{'method':'put'},'describe':{'method':'get','url':_0x4a9c83['baseUrl']+_0x477d('0xc7d')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc7e'),'params':{'includeAll':_0x477d('0xa6a')}},'getQuestions':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc7f')}});_0x4a9c83['smsQueueReport']=_0x26122a(_0x4a9c83['baseUrl']+_0x477d('0xc80'),{'id':'@id'},{'update':{'method':'put'},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+'sms/reports/queue/describe'},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc81'),'params':{'includeAll':_0x477d('0xa6a')}}});_0x4a9c83[_0x477d('0xc82')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+'square/reports/:id',{'id':_0x477d('0xa32')},{'update':{'method':'put'},'describe':{'method':'get','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc83')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc84'),'params':{'includeAll':_0x477d('0xa6a')}}});_0x4a9c83[_0x477d('0xc85')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc86'),{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83['baseUrl']+'square/details/reports/describe'},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83['baseUrl']+_0x477d('0xc87'),'params':{'includeAll':'@includeAll'}}});_0x4a9c83[_0x477d('0xc88')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc89'),{'id':'@id'},{'update':{'method':'put'},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc8a')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc8b'),'params':{'includeAll':_0x477d('0xa6a')}},'getSessions':{'isArray':![],'method':'get','url':_0x4a9c83[_0x477d('0xa1b')]+'jscripty/projects/:id/sessions'},'getAnswers':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc8c')},'getSummary':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc8d'),'responseType':'arraybuffer','cache':![],'transformResponse':function(_0x1893c0,_0x30016e){var _0x560f67=_0x30016e();return{'type':_0x560f67['content-type'],'length':_0x560f67[_0x477d('0xa87')],'buffer':_0x1893c0};}}});_0x4a9c83[_0x477d('0xc8e')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc8f'),{'id':'@id'},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc90')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc91'),'params':{'includeAll':_0x477d('0xa6a')}},'addLogo':{'isArray':![],'method':'post','url':_0x4a9c83[_0x477d('0xa1b')]+'settings/:id/logo'},'addLogoLogin':{'isArray':![],'method':_0x477d('0xa0a'),'url':_0x4a9c83['baseUrl']+'settings/:id/logo_login'},'getLogo':{'isArray':![],'method':'get','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc92')},'getLogoLogin':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83['baseUrl']+'settings/:id/logo_login'},'gdpr':{'isArray':![],'method':'get','url':_0x4a9c83[_0x477d('0xa1b')]+'settings/:id/gdpr'},'addPreferred':{'isArray':![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc93')},'getPreferred':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+'settings/:id/preferred'},'addFavicon':{'isArray':![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc94')},'getFavicon':{'isArray':![],'method':'get','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc94')}});_0x4a9c83[_0x477d('0xc95')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc96'),{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':'get','url':_0x4a9c83['baseUrl']+_0x477d('0xc97')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83['baseUrl']+'square/odbc/:id/clone','params':{'includeAll':'@includeAll'}},'test':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc98')}});_0x4a9c83[_0x477d('0xc99')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc9a'),{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc9b')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc9c'),'params':{'includeAll':'@includeAll'}},'addUsers':{'isArray':!![],'method':_0x477d('0xa0a'),'url':_0x4a9c83['baseUrl']+_0x477d('0xc9d')},'removeUsers':{'isArray':![],'method':'delete','url':_0x4a9c83['baseUrl']+_0x477d('0xc9d')},'getUsers':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83['baseUrl']+_0x477d('0xc9d')}});_0x4a9c83['squareRecording']=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc9e'),{'id':'@id'},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xc9f')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+'square/recordings/:id/clone','params':{'includeAll':_0x477d('0xa6a')}},'download':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83['baseUrl']+_0x477d('0xca0'),'responseType':_0x477d('0xa85'),'cache':![],'transformResponse':function(_0x4fab26,_0x22e5a7){var _0x43133d=_0x22e5a7();return{'type':_0x43133d[_0x477d('0xa86')],'length':_0x43133d[_0x477d('0xa87')],'buffer':_0x4fab26};}}});_0x4a9c83[_0x477d('0xca1')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xca2'),{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83['baseUrl']+'square/messages/describe'},'clone':{'method':'post','url':_0x4a9c83[_0x477d('0xa1b')]+'square/messages/:id/clone','params':{'includeAll':'@includeAll'}}});_0x4a9c83[_0x477d('0xca3')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+'teams/:id',{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xca4')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83['baseUrl']+'teams/:id/clone','params':{'includeAll':'@includeAll'}},'getQueues':{'isArray':!![],'method':_0x477d('0x376'),'url':_0x4a9c83['baseUrl']+_0x477d('0xca5')},'addQueues':{'isArray':!![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xca5')},'removeQueues':{'isArray':![],'method':_0x477d('0xa55'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xca5')},'addAgents':{'isArray':!![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xca6')},'removeAgents':{'isArray':![],'method':'delete','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xca6')},'getAgents':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xca6')}});_0x4a9c83['license']=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xca7'),{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+'license/describe'},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+'license/:id/clone','params':{'includeAll':_0x477d('0xa6a')}}});_0x4a9c83[_0x477d('0xca8')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xca9'),{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xcaa')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xcab'),'params':{'includeAll':_0x477d('0xa6a')}},'getHoppers':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xcac')},'getHopperHistories':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83['baseUrl']+_0x477d('0xcad')},'getHopperFinals':{'isArray':![],'method':'get','url':_0x4a9c83[_0x477d('0xa1b')]+'campaigns/:id/hopper_finals'},'getHopperBlacks':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xcae')},'getLists':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83['baseUrl']+_0x477d('0xcaf')},'addLists':{'isArray':!![],'method':'post','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xcaf')},'removeLists':{'isArray':!![],'method':_0x477d('0xa55'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xcaf')},'getBlackLists':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xcb0')},'addBlackLists':{'isArray':!![],'method':_0x477d('0xa0a'),'url':_0x4a9c83['baseUrl']+_0x477d('0xcb0')},'removeBlackLists':{'isArray':!![],'method':'delete','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xcb0')}});_0x4a9c83[_0x477d('0xcb1')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xcb2'),{'id':'@id'},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xcb3')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xcb4'),'params':{'includeAll':'@includeAll'}}});_0x4a9c83[_0x477d('0xcb5')]=_0x26122a(_0x4a9c83['baseUrl']+_0x477d('0xcb6'),{'id':'@id'},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xcb7')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xcb8'),'params':{'includeAll':_0x477d('0xa6a')}},'download':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xcb9'),'responseType':_0x477d('0xa85'),'cache':![],'transformResponse':function(_0x20bd18,_0x4b1741){var _0x11e6fc=_0x4b1741();return{'type':_0x11e6fc[_0x477d('0xa86')],'length':_0x11e6fc['content-length'],'buffer':_0x20bd18};}}});_0x4a9c83[_0x477d('0xcba')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xcbb'),{'id':'@id'},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xcbc')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+'plugins/:id/clone','params':{'includeAll':'@includeAll'}},'download':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xcbd'),'responseType':_0x477d('0xa85'),'cache':![],'transformResponse':function(_0x24794a,_0x30fe27){var _0x5e7e75=_0x30fe27();return{'type':_0x5e7e75[_0x477d('0xa86')],'length':_0x5e7e75[_0x477d('0xa87')],'buffer':_0x24794a};}},'upload':{'isArray':![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xcbe')},'delete':{'isArray':![],'method':_0x477d('0xa55'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xcbb')},'webhookGet':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xcbf')},'webhookPost':{'isArray':![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xcbf')}});_0x4a9c83['mailTransferReport']=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xcc0'),{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xcc1')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+'mail/reports/transfer/:id/clone','params':{'includeAll':'@includeAll'}}});_0x4a9c83['chatTransferReport']=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xcc2'),{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':'get','url':_0x4a9c83['baseUrl']+_0x477d('0xcc3')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83['baseUrl']+_0x477d('0xcc4'),'params':{'includeAll':'@includeAll'}}});_0x4a9c83[_0x477d('0xcc5')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+'fax/reports/transfer/:id',{'id':'@id'},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83['baseUrl']+'fax/reports/transfer/describe'},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xcc6'),'params':{'includeAll':_0x477d('0xa6a')}}});_0x4a9c83['openchannelTransferReport']=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+'openchannel/reports/transfer/:id',{'id':_0x477d('0xa32')},{'update':{'method':'put'},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xcc7')},'clone':{'method':'post','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xcc8'),'params':{'includeAll':_0x477d('0xa6a')}}});_0x4a9c83[_0x477d('0xcc9')]=_0x26122a(_0x4a9c83['baseUrl']+'sms/reports/transfer/:id',{'id':_0x477d('0xa32')},{'update':{'method':'put'},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83['baseUrl']+_0x477d('0xcca')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xccb'),'params':{'includeAll':_0x477d('0xa6a')}}});_0x4a9c83['cmList']=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+'cm/lists/:id',{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':'get','url':_0x4a9c83['baseUrl']+_0x477d('0xccc')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+'cm/lists/:id/clone','params':{'includeAll':_0x477d('0xa6a')}},'addDisposition':{'isArray':![],'method':'post','url':_0x4a9c83['baseUrl']+'cm/lists/:id/dispositions'},'getDispositions':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83['baseUrl']+'cm/lists/:id/dispositions'},'removeDispositions':{'isArray':![],'method':_0x477d('0xa55'),'url':_0x4a9c83['baseUrl']+_0x477d('0xccd')},'addContacts':{'isArray':![],'method':'post','url':_0x4a9c83['baseUrl']+_0x477d('0xcce')},'getContacts':{'isArray':!![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xcce')},'getContactsCsv':{'isArray':![],'method':'get','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xccf'),'responseType':_0x477d('0xa85'),'cache':![],'transformResponse':function(_0x1c6b55,_0x1f6d91){var _0x117e17=_0x1f6d91();return{'type':_0x117e17[_0x477d('0xa86')],'length':_0x117e17[_0x477d('0xa87')],'buffer':_0x1c6b55};}},'addCustomField':{'isArray':![],'method':'post','url':_0x4a9c83[_0x477d('0xa1b')]+'cm/lists/:id/fields'},'getCustomFields':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xcd0')},'addAgents':{'isArray':!![],'method':'post','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xcd1')},'removeAgents':{'isArray':![],'method':_0x477d('0xa55'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xcd1')},'getAgents':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xcd1')}});_0x4a9c83[_0x477d('0xcd2')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xcd3'),{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':'get','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xcd4')},'clone':{'method':'post','url':_0x4a9c83['baseUrl']+_0x477d('0xcd5'),'params':{'includeAll':'@includeAll'}},'addAgents':{'isArray':!![],'method':'post','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xcd6')},'removeAgents':{'isArray':![],'method':_0x477d('0xa55'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xcd6')},'getAgents':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+'voice/prefixes/:id/users'}});_0x4a9c83['userProfile']=_0x26122a(_0x4a9c83['baseUrl']+_0x477d('0xcd7'),{'id':'@id'},{'update':{'method':'put'},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xcd8')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xcd9'),'params':{'includeAll':_0x477d('0xa6a')}},'addSections':{'isArray':!![],'method':'post','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xcda')},'removeSections':{'isArray':![],'method':_0x477d('0xa55'),'url':_0x4a9c83['baseUrl']+_0x477d('0xcda')},'getSections':{'isArray':!![],'method':'get','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xcda')},'addResources':{'isArray':!![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xcdb')},'removeResources':{'isArray':![],'method':_0x477d('0xa55'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xcdb')},'getResources':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83['baseUrl']+_0x477d('0xcdb')}});_0x4a9c83['userProfileSection']=_0x26122a(_0x4a9c83['baseUrl']+'userProfile/sections/:id',{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':'get','url':_0x4a9c83[_0x477d('0xa1b')]+'userProfile/sections/describe'},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xcdc'),'params':{'includeAll':'@includeAll'}}});_0x4a9c83['userProfileResource']=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xcdd'),{'id':_0x477d('0xa32')},{'update':{'method':'put'},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+'userProfile/resources/describe'},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xcde'),'params':{'includeAll':_0x477d('0xa6a')}}});_0x4a9c83['notification']=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+'notifications/:id',{'id':'@id'},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83['baseUrl']+_0x477d('0xcdf')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83['baseUrl']+'notifications/:id/clone','params':{'includeAll':_0x477d('0xa6a')}},'sendNotification':{'isArray':![],'method':_0x477d('0xa0a'),'url':_0x4a9c83['baseUrl']+_0x477d('0xce0')}});_0x4a9c83['whatsappAccount']=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xce1'),{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':'get','url':_0x4a9c83['baseUrl']+'whatsapp/accounts/describe'},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xce2'),'params':{'includeAll':_0x477d('0xa6a')}},'addDisposition':{'isArray':![],'method':'post','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xce3')},'getDispositions':{'isArray':![],'method':'get','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xce3')},'removeDispositions':{'isArray':![],'method':_0x477d('0xa55'),'url':_0x4a9c83[_0x477d('0xa1b')]+'whatsapp/accounts/:id/dispositions'},'addAnswer':{'isArray':![],'method':_0x477d('0xa0a'),'url':_0x4a9c83['baseUrl']+_0x477d('0xce4')},'getAnswers':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xce4')},'removeAnswers':{'isArray':![],'method':_0x477d('0xa55'),'url':_0x4a9c83[_0x477d('0xa1b')]+'whatsapp/accounts/:id/canned_answers'},'addAgents':{'isArray':!![],'method':'post','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xce5')},'removeAgents':{'isArray':![],'method':'delete','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xce5')},'getAgents':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83['baseUrl']+_0x477d('0xce5')},'addApplications':{'isArray':![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+'whatsapp/accounts/:id/applications'},'getApplications':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xce6')},'notify':{'isArray':![],'method':_0x477d('0xa0a'),'url':_0x4a9c83['baseUrl']+_0x477d('0xce7')},'send':{'isArray':![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xce8')}});_0x4a9c83['whatsappApplication']=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+'whatsapp/applications/:id',{'id':'@id'},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xce9')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xcea'),'params':{'includeAll':_0x477d('0xa6a')}}});_0x4a9c83[_0x477d('0xceb')]=_0x26122a(_0x4a9c83['baseUrl']+_0x477d('0xcec'),{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xced')},'clone':{'method':'post','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xcee'),'params':{'includeAll':'@includeAll'}},'addMessage':{'isArray':![],'method':'post','url':_0x4a9c83[_0x477d('0xa1b')]+'whatsapp/interactions/:id/messages'},'getMessages':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83['baseUrl']+_0x477d('0xcef')},'addTags':{'isArray':![],'method':_0x477d('0xa0a'),'url':_0x4a9c83['baseUrl']+_0x477d('0xcf0')},'removeTags':{'isArray':![],'method':_0x477d('0xa55'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xcf0')},'download':{'isArray':![],'method':'get','url':_0x4a9c83['baseUrl']+'whatsapp/interactions/:id/download','responseType':'arraybuffer','cache':![],'transformResponse':function(_0x479ce6,_0x37ee76){var _0x51da4c=_0x37ee76();return{'type':_0x51da4c['content-type'],'length':_0x51da4c[_0x477d('0xa87')],'buffer':_0x479ce6};}}});_0x4a9c83[_0x477d('0xcf1')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xcf2'),{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':'get','url':_0x4a9c83[_0x477d('0xa1b')]+'whatsapp/messages/describe'},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83['baseUrl']+_0x477d('0xcf3'),'params':{'includeAll':_0x477d('0xa6a')}},'accept':{'isArray':![],'method':_0x477d('0x390'),'url':_0x4a9c83['baseUrl']+_0x477d('0xcf4')},'reject':{'isArray':![],'method':_0x477d('0x390'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xcf5')},'status':{'isArray':![],'method':'post','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xcf6')}});_0x4a9c83[_0x477d('0xcf7')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+'whatsapp/reports/queue/:id',{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':'get','url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xcf8')},'clone':{'method':'post','url':_0x4a9c83[_0x477d('0xa1b')]+'whatsapp/reports/queue/:id/clone','params':{'includeAll':_0x477d('0xa6a')}}});_0x4a9c83['whatsappTransferReport']=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+'whatsapp/reports/transfer/:id',{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':'get','url':_0x4a9c83[_0x477d('0xa1b')]+'whatsapp/reports/transfer/describe'},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xcf9'),'params':{'includeAll':'@includeAll'}}});_0x4a9c83[_0x477d('0xcfa')]=_0x26122a(_0x4a9c83[_0x477d('0xa1b')]+'whatsapp/queues/:id',{'id':_0x477d('0xa32')},{'update':{'method':_0x477d('0x390')},'describe':{'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xcfb')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xcfc'),'params':{'includeAll':_0x477d('0xa6a')}},'getMembers':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+'whatsapp/queues/:id/members'},'getTeams':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xcfd')},'addTeams':{'isArray':!![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xcfd')},'removeTeams':{'isArray':![],'method':'delete','url':_0x4a9c83['baseUrl']+_0x477d('0xcfd')},'addAgents':{'isArray':!![],'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xcfe')},'removeAgents':{'isArray':![],'method':_0x477d('0xa55'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xcfe')},'getAgents':{'isArray':![],'method':_0x477d('0x376'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xcfe')}});_0x4a9c83[_0x477d('0xcff')]=_0x26122a(_0x4a9c83['baseUrl']+_0x477d('0xd00'),{'id':_0x477d('0xa32')},{'update':{'method':'put'},'describe':{'method':'get','url':_0x4a9c83['baseUrl']+_0x477d('0xd01')},'clone':{'method':_0x477d('0xa0a'),'url':_0x4a9c83[_0x477d('0xa1b')]+_0x477d('0xd02'),'params':{'includeAll':'@includeAll'}}});return _0x4a9c83;}}());(function(){'use strict';_0x5d9431[_0x477d('0xa')]=[_0x477d('0xd03'),_0x477d('0xd04')];angular[_0x477d('0xb')](_0x477d('0x26'))[_0x477d('0xd')](_0x5d9431);function _0x5d9431(_0x6f0f85,_0x213c32){_0x213c32[_0x477d('0xd05')]({'position':_0x477d('0xd06'),'sound':![],'html':!![],'theme':_0x477d('0xd07')});_0x6f0f85[_0x477d('0xd08')](_0x477d('0xd09'),{'urlTemplate':_0x477d('0xd0a')});_0x6f0f85[_0x477d('0xd0b')]('en');_0x6f0f85['useSanitizeValueStrategy'](null);}}());(function(){'use strict';angular[_0x477d('0xb')](_0x477d('0x26'));}());(function(){'use strict';_0x20e3d4[_0x477d('0xa')]=[_0x477d('0x992'),_0x477d('0x40d'),'$cookies',_0x477d('0x386')];angular[_0x477d('0xb')]('motion')[_0x477d('0x3ba')](_0x477d('0xd0c'),_0x20e3d4);function _0x20e3d4(_0x1cdd09,_0x12123c,_0x2107e9,_0x15e5a9){var _0x3559db=this;_0x3559db[_0x477d('0x995')]=_0x1cdd09['themes'];_0x3559db[_0x477d('0x603')]=_0x477d('0xd0d');var _0x19af23=['ar','fa','he'];var _0x4f1f3c=_0x2107e9[_0x477d('0x376')](_0x477d('0xd0e'));if(_0x4f1f3c){_0x12123c[_0x477d('0xd0f')](_0x4f1f3c);if(_0x19af23[_0x477d('0x477')](_0x4f1f3c)>=0x0){_0x15e5a9[_0x477d('0xc8e')]['get']({'id':0x1})[_0x477d('0x38b')]['then'](function(_0x5c95dd){if(_0x5c95dd&&_0x5c95dd[_0x477d('0xd10')]){_0x3559db['direction']=_0x477d('0xd11');}})[_0x477d('0xf8')](function(_0x298c26){if(_0x298c26){toasty['error']({'title':_0x477d('0xd12'),'msg':_0x298c26[_0x477d('0x451')]?_0x298c26['data'][_0x477d('0x452')]||_0x298c26[_0x477d('0x452')]||_0x298c26:_0x298c26['message']||_0x298c26});}});}}}}());(function(){'use strict';_0x5f2495[_0x477d('0xa')]=[_0x477d('0x6db'),_0x477d('0x40d')];_0x518c31[_0x477d('0xa')]=[_0x477d('0x40d')];angular[_0x477d('0xb')](_0x477d('0x26'))[_0x477d('0x3b3')](_0x477d('0xd13'),_0x27955b)[_0x477d('0x3b3')]('formatdate',_0x5f2495)[_0x477d('0x388')](_0x477d('0xd14'),_0x15a68e)[_0x477d('0x388')](_0x477d('0x6dc'),_0x518c31)[_0x477d('0x388')](_0x477d('0xd15'),_0x44561b);function _0x5f2495(_0x3ceb24,_0x2710c8){return function(_0x5c26d8){var _0x4f0996=new Date();var _0x3aab7b=new Date(_0x5c26d8);if(_0x3aab7b[_0x477d('0x6ee')]()===_0x4f0996[_0x477d('0x6ee')]()&&_0x3aab7b[_0x477d('0x6ef')]()===_0x4f0996['getMonth']()&&_0x3aab7b[_0x477d('0x6ed')]()===_0x4f0996[_0x477d('0x6ed')]()){return _0x3ceb24(_0x477d('0x420'))(_0x3aab7b[_0x477d('0xd16')](),_0x477d('0xd17'));}if(_0x3aab7b[_0x477d('0x6ee')]()===_0x4f0996[_0x477d('0x6ee')]()-0x1&&_0x3aab7b['getMonth']()===_0x4f0996[_0x477d('0x6ef')]()&&_0x3aab7b[_0x477d('0x6ed')]()===_0x4f0996[_0x477d('0x6ed')]()){return _0x2710c8[_0x477d('0x45f')]('DASHBOARDS.YESTERDAY')+'\x20'+_0x3ceb24('date')(_0x3aab7b[_0x477d('0xd16')](),_0x477d('0xd17'));}return _0x3ceb24('date')(_0x3aab7b[_0x477d('0xd16')](),_0x477d('0xd18'));};}function _0x27955b(){return function(_0x4a8e0c,_0x2256ae,_0x1d7e59){var _0x463d59={},_0x3e9ec5=0x0,_0x35b491;for(_0x35b491 in _0x4a8e0c){if(_0x3e9ec5>=_0x1d7e59){_0x463d59[_0x35b491]=_0x4a8e0c[_0x35b491];}if(++_0x3e9ec5===_0x1d7e59+_0x2256ae){break;}}return _0x463d59;};}function _0x15a68e(){var _0xb55a02=[{'value':_0x477d('0xd19')},{'value':'feb'},{'value':_0x477d('0xd1a')},{'value':_0x477d('0xd1b')},{'value':'may'},{'value':'jun'},{'value':_0x477d('0xd1c')},{'value':_0x477d('0xd1d')},{'value':_0x477d('0xd1e')},{'value':_0x477d('0xd1f')},{'value':'nov'},{'value':_0x477d('0xd20')}];var _0x26c8a5=[{'value':'1'},{'value':'2'},{'value':'3'},{'value':'4'},{'value':'5'},{'value':'6'},{'value':'7'},{'value':'8'},{'value':'9'},{'value':'10'},{'value':'11'},{'value':'12'}];var _0x25ba11=[{'value':_0x477d('0xd21')},{'value':_0x477d('0xd22')},{'value':'wed'},{'value':_0x477d('0xd23')},{'value':_0x477d('0xd24')},{'value':'sat'},{'value':_0x477d('0xd25')}];var _0x2c9c12=[0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xa,0xb,0xc,0xd,0xe,0xf,0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x1d,0x1e,0x1f];return{'getMonthName':function(){return _0xb55a02;},'getMonthNumber':function(){return _0x26c8a5;},'getDaysOfWeek':function(){return _0x25ba11;},'getDaysOfMonth':function(){return _0x2c9c12;}};}function _0x518c31(_0x590009){return{'Today':_0x590009[_0x477d('0x45f')](_0x477d('0xd26')),'Yesterday':_0x590009[_0x477d('0x45f')](_0x477d('0xd27')),'This Week':_0x590009[_0x477d('0x45f')](_0x477d('0xd28')),'Last Week':_0x590009[_0x477d('0x45f')](_0x477d('0xd29')),'This Month':_0x590009[_0x477d('0x45f')]('DASHBOARDS.THIS_MONTH'),'Last Month':_0x590009[_0x477d('0x45f')]('DASHBOARDS.LAST_MONTH'),'This Year':_0x590009[_0x477d('0x45f')](_0x477d('0xd2a')),'Last Year':_0x590009[_0x477d('0x45f')](_0x477d('0xd2b')),'January':_0x590009[_0x477d('0x45f')](_0x477d('0xd2c')),'February':_0x590009[_0x477d('0x45f')](_0x477d('0xd2d')),'March':_0x590009[_0x477d('0x45f')](_0x477d('0xd2e')),'April':_0x590009['instant'](_0x477d('0xd2f')),'May':_0x590009[_0x477d('0x45f')](_0x477d('0xd30')),'June':_0x590009[_0x477d('0x45f')](_0x477d('0xd31')),'July':_0x590009[_0x477d('0x45f')](_0x477d('0xd32')),'August':_0x590009['instant'](_0x477d('0xd33')),'September':_0x590009[_0x477d('0x45f')](_0x477d('0xd34')),'October':_0x590009['instant']('DASHBOARDS.OCTOBER'),'November':_0x590009[_0x477d('0x45f')]('DASHBOARDS.NOVEMBER'),'December':_0x590009[_0x477d('0x45f')](_0x477d('0xd35')),'Mon':_0x590009['instant'](_0x477d('0xd36')),'Tue':_0x590009['instant'](_0x477d('0xd37')),'Wed':_0x590009[_0x477d('0x45f')](_0x477d('0xd38')),'Thu':_0x590009[_0x477d('0x45f')](_0x477d('0xd39')),'Fri':_0x590009['instant']('DASHBOARDS.FRI'),'Sat':_0x590009[_0x477d('0x45f')](_0x477d('0xd3a')),'Sun':_0x590009[_0x477d('0x45f')](_0x477d('0xd3b'))};}function _0x44561b(){return{'enqueue':function(_0x8dbe51){this[_0x477d('0xd3c')]=this[_0x477d('0xd3c')]?this['tail']['finally'](_0x8dbe51):_0x8dbe51();}};}}());(function(){'use strict';_0x42f515[_0x477d('0xa')]=[_0x477d('0x1e'),_0x477d('0xd3d'),_0x477d('0xd3e')];angular[_0x477d('0xb')]('motion')['config'](_0x42f515);function _0x42f515(_0x5940be,_0x5b200c,_0xdb4674){_0xdb4674[_0x477d('0xd3f')](!![]);_0x5b200c[_0x477d('0xd40')]('/dashboards/general');var _0x29684e;angular['injector']([_0x477d('0x3')])['invoke'](['$cookies',function(_0x30869e){_0x29684e=_0x30869e;}]);var _0x2d4104=_0x29684e[_0x477d('0x376')](_0x477d('0x9ac'))||_0x477d('0x99b');var _0x582276={'verticalNavigation':{'main':_0x477d('0xd41'),'toolbar':_0x477d('0xd42'),'navigation':_0x477d('0xd43'),'header':_0x477d('0xd44'),'footer':_0x477d('0xd45')},'verticalNavigationFullwidthToolbar':{'main':_0x477d('0xd46'),'toolbar':_0x477d('0xd47'),'navigation':_0x477d('0xd43')},'verticalNavigationFullwidthToolbar2':{'main':'app/core/layouts/vertical-navigation-fullwidth-toolbar-2.html','toolbar':'app/toolbar/layouts/vertical-navigation-fullwidth-toolbar-2/toolbar.html','navigation':_0x477d('0xd48')},'horizontalNavigation':{'main':_0x477d('0xd49'),'toolbar':_0x477d('0xd4a'),'navigation':'app/navigation/layouts/horizontal-navigation/navigation.html'},'contentOnly':{'main':_0x477d('0x10'),'toolbar':'','navigation':''},'contentWithToolbar':{'main':_0x477d('0xd4b'),'toolbar':_0x477d('0xd4c'),'navigation':''}};_0x5940be[_0x477d('0xe')]('app',{'abstract':!![],'views':{'main@':{'templateUrl':_0x582276[_0x2d4104][_0x477d('0xd4d')],'controller':_0x477d('0x16')},'toolbar@app':{'templateUrl':_0x582276[_0x2d4104]['toolbar'],'controller':_0x477d('0xd4e')},'navigation@app':{'templateUrl':_0x582276[_0x2d4104][_0x477d('0x56d')],'controller':_0x477d('0xd4f')},'quickPanel@app':{'templateUrl':_0x477d('0xd50'),'controller':_0x477d('0xd51')},'header@app':{'templateUrl':_0x582276[_0x2d4104][_0x477d('0xd52')],'controller':'HeaderController\x20as\x20vm'},'footer@app':{'templateUrl':_0x582276[_0x2d4104][_0x477d('0xd53')],'controller':_0x477d('0xd54')}},'resolve':{'license':[_0x477d('0x5e'),function(_0x2e93af){return _0x2e93af[_0x477d('0x5a')](_0x477d('0xd55'));}],'setting':[_0x477d('0x5e'),function(_0x313682){return _0x313682[_0x477d('0x5a')](_0x477d('0x24c'),{'id':0x1});}]}});}}());(function(){'use strict';_0x3a00ca[_0x477d('0xa')]=['$transitions',_0x477d('0x95e')];angular[_0x477d('0xb')]('motion')[_0x477d('0x373')](_0x3a00ca);function _0x3a00ca(_0x28a9f9,_0x51c289){_0x28a9f9[_0x477d('0x382')]({},_0x51c289[_0x477d('0xd56')]);_0x28a9f9['onFinish']({},_0x51c289[_0x477d('0xd57')]);}}());(function(){'use strict';_0x59ee57[_0x477d('0xa')]=['$rootScope',_0x477d('0x55')];angular[_0x477d('0xb')](_0x477d('0x26'))['factory'](_0x477d('0x5a3'),_0x59ee57);function _0x59ee57(_0x4568d1,_0x2a238c){var _0x3f1c26;function _0x1dee06(){_0x3f1c26=io({'query':_0x477d('0xd58')+_0x2a238c['getCurrentUser']()['id'],'transports':[_0x477d('0xd59'),_0x477d('0xd5a')]});}return{'connect':_0x1dee06,'on':function(_0x17b317,_0x5f0f01){_0x5f0f01=_0x5f0f01||angular[_0x477d('0x3c6')];if(!_0x3f1c26){_0x1dee06();}_0x3f1c26['on'](_0x17b317,function(){var _0x28a1c6=arguments;_0x4568d1[_0x477d('0x639')](function(){_0x5f0f01[_0x477d('0x4f5')](_0x3f1c26,_0x28a1c6);});});},'onWithoutApply':function(_0x311e2c,_0x5117d3){_0x5117d3=_0x5117d3||angular[_0x477d('0x3c6')];if(!_0x3f1c26){_0x1dee06();}_0x3f1c26['on'](_0x311e2c,function(){_0x5117d3['apply'](_0x3f1c26,arguments);});},'emit':function(_0x416b3b,_0x594ae8,_0xc8c0c0){_0xc8c0c0=_0xc8c0c0||angular[_0x477d('0x3c6')];if(!_0x3f1c26){_0x1dee06();}_0x3f1c26[_0x477d('0xd5b')](_0x416b3b,_0x594ae8,function(){var _0x2862eb=arguments;_0x4568d1[_0x477d('0x639')](function(){_0xc8c0c0[_0x477d('0x4f5')](_0x3f1c26,_0x2862eb);});});},'removeAllListeners':function(_0x1a0a02){if(!_0x3f1c26){_0x1dee06();}_0x3f1c26['removeAllListeners'](_0x1a0a02);},'removeListener':function(_0x21f164,_0x3c8bac){if(!_0x3f1c26){_0x1dee06();}_0x3f1c26[_0x477d('0xd5c')](_0x21f164,_0x3c8bac);},'disconnect':function(){if(!_0x3f1c26){_0x1dee06();}_0x3f1c26['disconnect']();}};}}());(function(){'use strict';_0x1fc937['$inject']=[_0x477d('0x3c4'),_0x477d('0x387'),'$cookies',_0x477d('0x3fe'),'api','Auth',_0x477d('0xc8e')];angular['module'](_0x477d('0x40'))['controller']('LoginController',_0x1fc937);function _0x1fc937(_0x10315a,_0xa553be,_0x341314,_0x1b3a07,_0xdf640,_0x1b7ac0,_0x3a6234){var _0x34f7f0=this;_0x34f7f0[_0x477d('0xd5d')]=![];_0x34f7f0[_0x477d('0xd5e')]=![];_0x34f7f0[_0x477d('0x38a')]=_0x284343;_0x34f7f0[_0x477d('0xd5f')]=_0x368533;_0x34f7f0[_0x477d('0x71a')]=_0x526661;_0x34f7f0[_0x477d('0x71a')]();function _0x526661(){if(_0x10315a[_0x477d('0x37e')][_0x477d('0x391')]&&_0x10315a[_0x477d('0x37e')][_0x477d('0xd60')]){_0x1b7ac0[_0x477d('0xd61')]();_0x34f7f0[_0x477d('0xd5d')]=!![];_0x341314[_0x477d('0x390')](_0x477d('0x389'),_0x10315a[_0x477d('0x37e')][_0x477d('0x391')]);return _0xdf640[_0x477d('0x380')][_0x477d('0x376')]({'id':_0x10315a[_0x477d('0x37e')][_0x477d('0xd60')]})['$promise'][_0x477d('0x76')](function(_0x210469){if(_0x210469){_0x1b7ac0[_0x477d('0xd62')](_0x210469);_0x10315a['go'](_0x477d('0x103'));}})['finally'](function(){_0x34f7f0['progresslogin']=![];});}else if(_0x1b7ac0['isLoggedIn']()){_0x10315a['go']('app.dashboards.general');}_0x34f7f0[_0x477d('0xd5e')]=_0x3a6234[_0x477d('0xd5e')];}function _0x284343(){_0x34f7f0[_0x477d('0xd5d')]=!![];_0x34f7f0[_0x477d('0x452')]='';return _0x1b7ac0[_0x477d('0x38a')](_0x34f7f0['form'])[_0x477d('0x76')](function(){return _0x10315a['go'](_0x477d('0x103'));})[_0x477d('0xf8')](function(_0x2ce632){_0x34f7f0[_0x477d('0x452')]=_0x2ce632['data']?_0x2ce632['data']['message']:_0x2ce632[_0x477d('0x452')];})[_0x477d('0x5ff')](function(){_0x34f7f0['progresslogin']=![];});}function _0x368533(_0x30437c){_0x34f7f0[_0x477d('0x452')]='';_0xa553be[_0x477d('0x3cc')][_0x477d('0x3c8')]=_0x1b7ac0[_0x477d('0xd63')](_0x30437c);}}}());(function(){'use strict';_0x17bba7['$inject']=[_0x477d('0x474'),_0x477d('0x3c4'),_0x477d('0xd64'),_0x477d('0x384'),'$q',_0x477d('0x40d'),'toasty',_0x477d('0xd65'),'extractedReport','api',_0x477d('0x55'),_0x477d('0x613'),_0x477d('0xc8e'),_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x37'))[_0x477d('0x3ba')]('CreateOrEditExtractedReportDialogController',_0x17bba7);function _0x17bba7(_0x52e1f9,_0x4f2a2a,_0x2cb30b,_0x5cc277,_0x48fe45,_0x5a2f82,_0x805cf9,_0x46db95,_0x5e1910,_0x28aaaa,_0xb6d44e,_0x21228f,_0x5a9a5e,_0x38ea30){var _0x2e77af=this;_0x2e77af[_0x477d('0x3e5')]=_0xb6d44e[_0x477d('0x5c')]();_0x2e77af[_0x477d('0xd67')]=[];_0x2e77af[_0x477d('0xc8e')]=_0x5a9a5e;_0x2e77af['license']=_0x21228f;_0x2e77af[_0x477d('0xd66')]=_0x38ea30;_0x2e77af[_0x477d('0xd68')]={};_0x2e77af[_0x477d('0xd69')]=_0x2e77af[_0x477d('0xc8e')]&&_0x2e77af[_0x477d('0xc8e')]['securePassword']?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x2e77af[_0x477d('0x49a')]=_0x477d('0xd6a');_0x2e77af[_0x477d('0xd6b')]=angular[_0x477d('0x6d9')](_0x5e1910);_0x2e77af[_0x477d('0xd65')]=_0x46db95;_0x2e77af['newExtractedReport']=![];if(!_0x2e77af[_0x477d('0xd6b')]){_0x2e77af['extractedReport']={};_0x2e77af[_0x477d('0x49a')]=_0x477d('0xd6c');_0x2e77af[_0x477d('0xd6d')]=!![];}_0x2e77af[_0x477d('0xd6e')]=_0x52d602;_0x2e77af['saveExtractedReport']=_0x189b6a;_0x2e77af['deleteExtractedReport']=_0x2734c2;_0x2e77af[_0x477d('0xd6f')]=_0x26d63e;_0x2e77af[_0x477d('0x6bf')]=_0x4fa16a;function _0x52d602(){_0x2e77af[_0x477d('0xd67')]=[];_0x28aaaa[_0x477d('0xbcd')][_0x477d('0xd70')](_0x2e77af[_0x477d('0xd6b')])['$promise'][_0x477d('0x76')](function(_0x458347){_0x2e77af[_0x477d('0xd65')][_0x477d('0x63b')](_0x458347[_0x477d('0xd71')]());_0x805cf9[_0x477d('0x485')]({'title':_0x477d('0xd72'),'msg':_0x2e77af[_0x477d('0xd6b')]['name']?_0x2e77af[_0x477d('0xd6b')][_0x477d('0x94')]+_0x477d('0xd73'):''});_0x4fa16a(_0x458347);})['catch'](function(_0x17aa7d){if(_0x17aa7d[_0x477d('0x451')]&&_0x17aa7d[_0x477d('0x451')][_0x477d('0xd67')]&&_0x17aa7d['data']['errors'][_0x477d('0x79')]){_0x2e77af['errors']=_0x17aa7d[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x17aa7d['toString'](),'type':'api.analyticExtractedReport.save'}];for(var _0x3d5ad5=0x0;_0x3d5ad5<_0x17aa7d[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x3d5ad5+=0x1){_0x805cf9[_0x477d('0x44a')]({'title':_0x17aa7d[_0x477d('0x451')]['errors'][_0x3d5ad5][_0x477d('0x439')],'msg':_0x17aa7d[_0x477d('0x451')][_0x477d('0xd67')][_0x3d5ad5]['message']});}}else{_0x805cf9[_0x477d('0x44a')]({'title':_0x17aa7d[_0x477d('0x3c3')]?'API:'+_0x17aa7d[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x17aa7d[_0x477d('0x44d')]:_0x477d('0xd74'),'msg':_0x17aa7d[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x17aa7d[_0x477d('0x451')][_0x477d('0x452')]):_0x17aa7d[_0x477d('0x453')]()});}});}function _0x189b6a(){_0x2e77af[_0x477d('0xd67')]=[];_0x28aaaa[_0x477d('0xbcd')]['update']({'id':_0x2e77af['extractedReport']['id']},_0x2e77af[_0x477d('0xd6b')])[_0x477d('0x38b')]['then'](function(_0x9066ec){var _0x3a9432=_['find'](_0x2e77af[_0x477d('0xd65')],{'id':_0x9066ec['id']});if(_0x3a9432){_[_0x477d('0xef')](_0x3a9432,_[_0x477d('0x10b')](_0x9066ec[_0x477d('0xd71')](),_[_0x477d('0x7f')](_0x3a9432)));}_0x805cf9[_0x477d('0x485')]({'title':_0x477d('0xd75'),'msg':_0x2e77af[_0x477d('0xd6b')][_0x477d('0x94')]?_0x2e77af[_0x477d('0xd6b')][_0x477d('0x94')]+_0x477d('0xd76'):''});_0x4fa16a(_0x9066ec);})[_0x477d('0xf8')](function(_0x4a3efa){if(_0x4a3efa[_0x477d('0x451')]&&_0x4a3efa[_0x477d('0x451')][_0x477d('0xd67')]&&_0x4a3efa['data'][_0x477d('0xd67')][_0x477d('0x79')]){_0x2e77af[_0x477d('0xd67')]=_0x4a3efa['data'][_0x477d('0xd67')]||[{'message':_0x4a3efa[_0x477d('0x453')](),'type':_0x477d('0xd77')}];for(var _0x2dc7f6=0x0;_0x2dc7f6<_0x4a3efa[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x2dc7f6++){_0x805cf9[_0x477d('0x44a')]({'title':_0x4a3efa[_0x477d('0x451')]['errors'][_0x2dc7f6][_0x477d('0x439')],'msg':_0x4a3efa[_0x477d('0x451')][_0x477d('0xd67')][_0x2dc7f6][_0x477d('0x452')]});}}else{_0x805cf9[_0x477d('0x44a')]({'title':_0x4a3efa['status']?_0x477d('0x44b')+_0x4a3efa[_0x477d('0x3c3')]+'\x20-\x20'+_0x4a3efa[_0x477d('0x44d')]:_0x477d('0xd77'),'msg':_0x4a3efa[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x4a3efa['data']['message']):_0x4a3efa[_0x477d('0x453')]()});}});}function _0x2734c2(_0x46ac47){_0x2e77af['errors']=[];var _0x225eb6=_0x5cc277[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xd79'))['content']('The\x20extractedReport\x20will\x20be\x20deleted.')[_0x477d('0x687')](_0x477d('0xd7a'))['ok'](_0x477d('0xd7b'))[_0x477d('0x4f0')](_0x477d('0x688'))[_0x477d('0xd7c')](_0x46ac47);_0x5cc277['show'](_0x225eb6)[_0x477d('0x76')](function(){_0x28aaaa[_0x477d('0xbcd')][_0x477d('0xa55')]({'id':_0x2e77af[_0x477d('0xd6b')]['id']})['$promise']['then'](function(){_[_0x477d('0x39c')](_0x2e77af[_0x477d('0xd65')],{'id':_0x2e77af[_0x477d('0xd6b')]['id']});_0x805cf9[_0x477d('0x485')]({'title':_0x477d('0xd7d'),'msg':(_0x2e77af['extractedReport'][_0x477d('0x94')]||'extractedReport')+_0x477d('0xd7e')});_0x4fa16a(_0x2e77af[_0x477d('0xd6b')]);})['catch'](function(_0x3faa3a){if(_0x3faa3a['data']&&_0x3faa3a[_0x477d('0x451')][_0x477d('0xd67')]&&_0x3faa3a['data'][_0x477d('0xd67')]['length']){_0x2e77af[_0x477d('0xd67')]=_0x3faa3a[_0x477d('0x451')]['errors']||[{'message':_0x3faa3a['toString'](),'type':_0x477d('0xd7f')}];for(var _0x6a13c9=0x0;_0x6a13c9<_0x3faa3a[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x6a13c9++){_0x805cf9[_0x477d('0x44a')]({'title':_0x3faa3a[_0x477d('0x451')][_0x477d('0xd67')][_0x6a13c9]['type'],'msg':_0x3faa3a[_0x477d('0x451')][_0x477d('0xd67')][_0x6a13c9][_0x477d('0x452')]});}}else{_0x805cf9[_0x477d('0x44a')]({'title':_0x3faa3a[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x3faa3a[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x3faa3a['statusText']:'api.analyticExtractedReport.delete','msg':_0x3faa3a[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x3faa3a[_0x477d('0x451')]['message']):_0x3faa3a[_0x477d('0x452')]||_0x3faa3a['toString']()});}});},function(){});}function _0x26d63e(_0x5bc0f6){return _0x5bc0f6===null?undefined:new Date(_0x5bc0f6);}function _0x4fa16a(_0x37e265){_0x5cc277[_0x477d('0x3bc')](_0x37e265);}}}());(function(){'use strict';_0x218a10[_0x477d('0xa')]=['$scope',_0x477d('0x387'),_0x477d('0x3c4'),_0x477d('0x554'),'$mdDialog',_0x477d('0x475'),_0x477d('0x3fe'),_0x477d('0x40d'),_0x477d('0xd65'),'userProfile',_0x477d('0x3ac'),'api',_0x477d('0x342'),_0x477d('0x40e'),_0x477d('0x55'),'license',_0x477d('0xc8e')];angular['module']('app.analytics')[_0x477d('0x3ba')](_0x477d('0xd80'),_0x218a10);function _0x218a10(_0x184a51,_0x2d0d59,_0x3d4a11,_0x55fba9,_0x4d9d12,_0x12835a,_0x402df6,_0x3c14c0,_0xd7ad7,_0x252f96,_0x4b7a4d,_0x26fb95,_0xa66e12,_0x2cab08,_0x219a33,_0x28c632,_0x26bb71){var _0x12ccef=this;_0x12ccef[_0x477d('0x613')]=_0x28c632;_0x12ccef[_0x477d('0xc8e')]=_0x26bb71;_0x12ccef[_0x477d('0x3e5')]=_0x219a33[_0x477d('0x5c')]();_0x12ccef[_0x477d('0xd65')]=_0xd7ad7||{'count':0x0,'rows':[]};_0x12ccef['userProfile']=_0x252f96;_0x12ccef[_0x477d('0x3ac')]=_0x4b7a4d&&_0x4b7a4d[_0x477d('0x3bb')]==0x1?_0x4b7a4d['rows'][0x0]:null;_0x12ccef[_0x477d('0xd66')]=_0x219a33[_0x477d('0xd81')](_0x12ccef[_0x477d('0x3ac')]?_0x12ccef[_0x477d('0x3ac')][_0x477d('0xd66')]:null);_0x12ccef[_0x477d('0xd82')]='extractedReports';_0x12ccef[_0x477d('0xd83')]='';_0x12ccef[_0x477d('0xd84')]=null;_0x12ccef[_0x477d('0xd85')]=[];_0x12ccef['query']={'fields':_0x477d('0x6a'),'sort':_0x477d('0x59'),'limit':0xa,'page':0x1};_0x12ccef[_0x477d('0xd86')]=_0x404412;_0x12ccef[_0x477d('0xd87')]=_0x5c90d5;_0x12ccef[_0x477d('0xd88')]=_0x4be9d0;_0x12ccef[_0x477d('0x485')]=_0x41f20d;_0x12ccef[_0x477d('0xd89')]=_0x1d8d05;_0x12ccef[_0x477d('0xd8a')]=_0x39d24b;_0x12ccef[_0x477d('0xd8b')]=_0xa59c78;_0x12ccef['exportSelectedExtractedReports']=_0x1f6c4a;_0x12ccef[_0x477d('0xd8c')]=_0x3255cc;_0x12ccef[_0x477d('0xd8d')]=_0x30a1a5;_0x12ccef['selectAllExtractedReports']=_0x1a94b8;function _0x404412(_0x5f0a34,_0x47193d){_0x4d9d12[_0x477d('0x395')]({'controller':_0x477d('0xd8e'),'controllerAs':'vm','templateUrl':'app/main/apps/analytics/views/extractedReports/create/dialog.html','parent':angular[_0x477d('0x398')](_0x12835a[_0x477d('0x399')]),'targetEvent':_0x47193d,'clickOutsideToClose':!![],'locals':{'extractedReport':_0x5f0a34,'extractedReports':_0x12ccef[_0x477d('0xd65')][_0x477d('0xf2')],'license':_0x12ccef[_0x477d('0x613')],'setting':null,'crudPermissions':_0x12ccef[_0x477d('0xd66')]}});}function _0x5c90d5(_0x3dc71d,_0x5a4d51){return _0x26fb95[_0x477d('0xbcd')]['download']({'id':_0x3dc71d['id']})[_0x477d('0x38b')]['then'](function(_0x4e2617){var _0x12a8dc=[_0x4e2617[_0x477d('0x49e')]];var _0x4e6b22=_0x477d('0x49d');var _0x49e986=new Blob(_0x12a8dc,{'type':_0x4e2617[_0x477d('0x439')]});_0x4e6b22=_0x3dc71d['savename'];var _0x2ce641=window[_0x477d('0x945')][_0x477d('0x3c7')]('a');_0x2ce641[_0x477d('0x494')]('href',URL[_0x477d('0x49f')](_0x49e986));_0x2ce641[_0x477d('0x494')](_0x477d('0x49d'),_0x4e6b22);document[_0x477d('0x399')][_0x477d('0xd8f')](_0x2ce641);_0x2ce641[_0x477d('0x540')]();})[_0x477d('0xf8')](function(_0x5ddd9e){if(_0x5ddd9e[_0x477d('0x451')]&&_0x5ddd9e[_0x477d('0x451')][_0x477d('0xd67')]&&_0x5ddd9e[_0x477d('0x451')][_0x477d('0xd67')]['length']){for(var _0x3f9428=0x0;_0x3f9428<_0x5ddd9e[_0x477d('0x451')]['errors'][_0x477d('0x79')];_0x3f9428++){_0x2cab08[_0x477d('0x44a')]({'title':_0x5ddd9e[_0x477d('0x451')][_0x477d('0xd67')][_0x3f9428][_0x477d('0x439')],'msg':_0x5ddd9e['data'][_0x477d('0xd67')][_0x3f9428][_0x477d('0x452')]});}}else{_0x2cab08[_0x477d('0x44a')]({'title':_0x5ddd9e[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x5ddd9e['status']+_0x477d('0x44c')+_0x5ddd9e[_0x477d('0x44d')]:'api.analyticExtractedReport.save','msg':_0x5ddd9e['data']?JSON['stringify'](_0x5ddd9e['data']['message']):_0x5ddd9e[_0x477d('0x453')]()});}});}function _0x4be9d0(_0x5d36b9,_0x557e9b){var _0x2cb631=_0x4d9d12[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xd90')+_[_0x477d('0xd91')](_0x477d('0xd6b'))+'?')[_0x477d('0xd92')](_0x477d('0xd93')+(_0x5d36b9['name']||_0x477d('0xd6b'))+_0x477d('0xd94')+_0x477d('0xd95'))['ariaLabel'](_0x477d('0xd96'))[_0x477d('0xd7c')](_0x557e9b)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x4d9d12[_0x477d('0x395')](_0x2cb631)[_0x477d('0x76')](function(){_0xa59c78(_0x5d36b9);},function(){console[_0x477d('0x7b')](_0x477d('0xd97'));});}var _0x296d01=!![];var _0x32b75a=0x1;_0x184a51[_0x477d('0x4b5')](_0x477d('0xd98'),function(_0x3945f2,_0x23aed3){if(_0x296d01){_0x402df6(function(){_0x296d01=![];});}else{if(!_0x23aed3){_0x32b75a=_0x12ccef[_0x477d('0x3ef')]['page'];}if(_0x3945f2!==_0x23aed3){_0x12ccef[_0x477d('0x3ef')]['page']=0x1;}if(!_0x3945f2){_0x12ccef['query']['page']=_0x32b75a;}_0x12ccef[_0x477d('0xd89')]();}});function _0x41f20d(_0x32cf18){_0x12ccef['extractedReports']=_0x32cf18||{'count':0x0,'rows':[]};}function _0x1d8d05(){_0x12ccef[_0x477d('0x3ef')][_0x477d('0x91c')]=(_0x12ccef[_0x477d('0x3ef')]['page']-0x1)*_0x12ccef[_0x477d('0x3ef')][_0x477d('0x91d')];if(_0x219a33[_0x477d('0x56')]('admin')){_0x12ccef['promise']=_0x26fb95[_0x477d('0xbcd')]['get'](_0x12ccef[_0x477d('0x3ef')],_0x41f20d)[_0x477d('0x38b')];}else{_0x12ccef[_0x477d('0x3ef')]['id']=_0x12ccef[_0x477d('0x3a5')]['id'];_0x12ccef[_0x477d('0x3ef')][_0x477d('0xd99')]=_0x477d('0x69');_0x12ccef[_0x477d('0x553')]=_0x26fb95['userProfile'][_0x477d('0xd9a')](_0x12ccef[_0x477d('0x3ef')],_0x41f20d)['$promise'];}}function _0x39d24b(_0x35fede,_0xac829f){_0x4d9d12[_0x477d('0x395')]({'controller':_0x477d('0xd8e'),'controllerAs':'vm','templateUrl':_0x477d('0xd9b'),'parent':angular[_0x477d('0x398')](_0x12835a[_0x477d('0x399')]),'targetEvent':_0x35fede,'clickOutsideToClose':!![],'locals':{'extractedReport':_0xac829f,'extractedReports':_0x12ccef[_0x477d('0xd65')][_0x477d('0xf2')],'license':_0x12ccef[_0x477d('0x613')],'setting':_0x12ccef[_0x477d('0xc8e')],'crudPermissions':_0x12ccef[_0x477d('0xd66')]}});}function _0xa59c78(_0x35bb03){_0x26fb95[_0x477d('0xbcd')]['delete']({'id':_0x35bb03['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x12ccef[_0x477d('0xd65')][_0x477d('0xf2')],{'id':_0x35bb03['id']});_0x12ccef[_0x477d('0xd65')]['count']-=0x1;if(!_0x12ccef['extractedReports'][_0x477d('0xf2')][_0x477d('0x79')]){_0x12ccef['getExtractedReports']();}_0x2cab08[_0x477d('0x485')]({'title':_['startCase'](_0x477d('0xd9c'))+_0x477d('0xd9d'),'msg':_0x35bb03[_0x477d('0x94')]?_0x35bb03[_0x477d('0x94')]+_0x477d('0xd7e'):''});})[_0x477d('0xf8')](function(_0x1108d3){if(_0x1108d3[_0x477d('0x451')]&&_0x1108d3['data']['errors']&&_0x1108d3[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x12ccef[_0x477d('0xd67')]=_0x1108d3[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x1108d3[_0x477d('0x453')](),'type':_0x477d('0xd9e')}];for(var _0x3cb3d2=0x0;_0x3cb3d2<_0x1108d3[_0x477d('0x451')]['errors'][_0x477d('0x79')];_0x3cb3d2++){_0x2cab08['error']({'title':_0x1108d3[_0x477d('0x451')]['errors'][_0x3cb3d2][_0x477d('0x439')],'msg':_0x1108d3[_0x477d('0x451')][_0x477d('0xd67')][_0x3cb3d2][_0x477d('0x452')]});}}else{_0x2cab08['error']({'title':_0x1108d3[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x1108d3['status']+'\x20-\x20'+_0x1108d3[_0x477d('0x44d')]:_0x477d('0xd9e'),'msg':_0x1108d3[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x1108d3[_0x477d('0x451')][_0x477d('0x452')]):_0x1108d3[_0x477d('0x452')]||_0x1108d3[_0x477d('0x453')]()});}});}function _0x1f6c4a(){var _0x296c26=angular['copy'](_0x12ccef[_0x477d('0xd85')]);_0x12ccef[_0x477d('0xd85')]=[];return _0x296c26;}function _0x3255cc(_0x270650){var _0x46a5bd=_0x4d9d12['confirm']()[_0x477d('0x49a')](_0x477d('0xd9f'))['htmlContent'](_0x477d('0xd93')+_0x12ccef['selectedExtractedReports'][_0x477d('0x79')]+_0x477d('0xda0')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0xda1'))['targetEvent'](_0x270650)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x4d9d12[_0x477d('0x395')](_0x46a5bd)[_0x477d('0x76')](function(){_0x12ccef['selectedExtractedReports']['forEach'](function(_0x484b62){_0xa59c78(_0x484b62);});_0x12ccef[_0x477d('0xd85')]=[];});}function _0x30a1a5(){_0x12ccef['selectedExtractedReports']=[];}function _0x1a94b8(){_0x12ccef['selectedExtractedReports']=_0x12ccef[_0x477d('0xd65')][_0x477d('0xf2')];}}}());(function(){'use strict';_0x44c784['$inject']=[_0x477d('0x474'),_0x477d('0x3c4'),_0x477d('0xd64'),_0x477d('0x384'),'$q',_0x477d('0x40d'),'toasty',_0x477d('0xda2'),_0x477d('0xda3'),'api',_0x477d('0x55'),'license',_0x477d('0xc8e'),_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x37'))[_0x477d('0x3ba')]('CreateOrEditMetricDialogController',_0x44c784);function _0x44c784(_0x4dc3d0,_0x4a79bb,_0x625c9a,_0x1ea98a,_0x415a58,_0x36cad2,_0x37ccf0,_0x140315,_0x38f4eb,_0x603104,_0x38fe52,_0x40fe6c,_0x37c3b2,_0x4153ff){var _0x37f512=this;_0x37f512[_0x477d('0x3e5')]=_0x38fe52[_0x477d('0x5c')]();_0x37f512[_0x477d('0xd67')]=[];_0x37f512[_0x477d('0xc8e')]=_0x37c3b2;_0x37f512[_0x477d('0x613')]=_0x40fe6c;_0x37f512['crudPermissions']=_0x4153ff;_0x37f512[_0x477d('0xd68')]={};_0x37f512[_0x477d('0xd69')]=_0x37f512['setting']&&_0x37f512['setting'][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x37f512[_0x477d('0x49a')]=_0x477d('0xda5');_0x37f512[_0x477d('0xda3')]=angular[_0x477d('0x6d9')](_0x38f4eb);_0x37f512[_0x477d('0xda2')]=_0x140315;_0x37f512[_0x477d('0xda6')]=![];if(!_0x37f512[_0x477d('0xda3')]){_0x37f512[_0x477d('0xda3')]={'table':_0x477d('0xda7')};_0x37f512[_0x477d('0x49a')]='ANALYTICS.NEW_METRIC';_0x37f512[_0x477d('0xda6')]=!![];}_0x37f512[_0x477d('0xda8')]=_0x3809c4;_0x37f512[_0x477d('0xda9')]=_0xce4e9b;_0x37f512[_0x477d('0xdaa')]=_0x5f3a57;_0x37f512[_0x477d('0xd6f')]=_0x357214;_0x37f512[_0x477d('0x6bf')]=_0x2fb056;function _0x3809c4(){_0x37f512[_0x477d('0xd67')]=[];_0x603104['analyticMetric'][_0x477d('0xd70')](_0x37f512[_0x477d('0xda3')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x388dc5){_0x37f512[_0x477d('0xda2')][_0x477d('0x63b')](_0x388dc5[_0x477d('0xd71')]());_0x37ccf0[_0x477d('0x485')]({'title':_0x477d('0xdab'),'msg':_0x37f512[_0x477d('0xda3')][_0x477d('0x94')]?_0x37f512['metric'][_0x477d('0x94')]+_0x477d('0xd73'):''});_0x2fb056(_0x388dc5);})[_0x477d('0xf8')](function(_0x4d2a0b){if(_0x4d2a0b['data']&&_0x4d2a0b[_0x477d('0x451')]['errors']&&_0x4d2a0b[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x37f512['errors']=_0x4d2a0b[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x4d2a0b[_0x477d('0x453')](),'type':_0x477d('0xdac')}];for(var _0x4a7c91=0x0;_0x4a7c91<_0x4d2a0b[_0x477d('0x451')][_0x477d('0xd67')]['length'];_0x4a7c91+=0x1){_0x37ccf0[_0x477d('0x44a')]({'title':_0x4d2a0b[_0x477d('0x451')][_0x477d('0xd67')][_0x4a7c91][_0x477d('0x439')],'msg':_0x4d2a0b[_0x477d('0x451')]['errors'][_0x4a7c91][_0x477d('0x452')]});}}else{_0x37ccf0[_0x477d('0x44a')]({'title':_0x4d2a0b['status']?'API:'+_0x4d2a0b[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x4d2a0b[_0x477d('0x44d')]:'api.analyticMetric.save','msg':_0x4d2a0b[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x4d2a0b[_0x477d('0x451')][_0x477d('0x452')]):_0x4d2a0b[_0x477d('0x453')]()});}});}function _0xce4e9b(){_0x37f512[_0x477d('0xd67')]=[];_0x603104['analyticMetric'][_0x477d('0x710')]({'id':_0x37f512['metric']['id']},_0x37f512[_0x477d('0xda3')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x52c795){var _0x161fce=_[_0x477d('0x10a')](_0x37f512[_0x477d('0xda2')],{'id':_0x52c795['id']});if(_0x161fce){_['merge'](_0x161fce,_[_0x477d('0x10b')](_0x52c795[_0x477d('0xd71')](),_['keys'](_0x161fce)));}_0x37ccf0[_0x477d('0x485')]({'title':_0x477d('0xdad'),'msg':_0x37f512['metric'][_0x477d('0x94')]?_0x37f512['metric']['name']+'\x20has\x20been\x20saved!':''});_0x2fb056(_0x52c795);})['catch'](function(_0x54efe1){if(_0x54efe1[_0x477d('0x451')]&&_0x54efe1[_0x477d('0x451')][_0x477d('0xd67')]&&_0x54efe1[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x37f512[_0x477d('0xd67')]=_0x54efe1[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x54efe1[_0x477d('0x453')](),'type':'api.analyticMetric.update'}];for(var _0x53ded0=0x0;_0x53ded0<_0x54efe1[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x53ded0++){_0x37ccf0['error']({'title':_0x54efe1['data']['errors'][_0x53ded0][_0x477d('0x439')],'msg':_0x54efe1[_0x477d('0x451')][_0x477d('0xd67')][_0x53ded0]['message']});}}else{_0x37ccf0[_0x477d('0x44a')]({'title':_0x54efe1[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x54efe1[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x54efe1[_0x477d('0x44d')]:_0x477d('0xdae'),'msg':_0x54efe1[_0x477d('0x451')]?JSON['stringify'](_0x54efe1[_0x477d('0x451')][_0x477d('0x452')]):_0x54efe1[_0x477d('0x453')]()});}});}function _0x5f3a57(_0x26d16e){_0x37f512['errors']=[];var _0xcd79a=_0x1ea98a[_0x477d('0xd78')]()[_0x477d('0x49a')]('Are\x20you\x20sure?')[_0x477d('0xdaf')]('The\x20metric\x20will\x20be\x20deleted.')[_0x477d('0x687')]('Delete\x20Metric')['ok'](_0x477d('0xd7b'))[_0x477d('0x4f0')](_0x477d('0x688'))['targetEvent'](_0x26d16e);_0x1ea98a['show'](_0xcd79a)[_0x477d('0x76')](function(){_0x603104[_0x477d('0xbd1')]['delete']({'id':_0x37f512[_0x477d('0xda3')]['id']})['$promise']['then'](function(){_[_0x477d('0x39c')](_0x37f512[_0x477d('0xda2')],{'id':_0x37f512['metric']['id']});_0x37ccf0[_0x477d('0x485')]({'title':_0x477d('0xdb0'),'msg':(_0x37f512[_0x477d('0xda3')][_0x477d('0x94')]||_0x477d('0xda3'))+'\x20has\x20been\x20deleted!'});_0x2fb056(_0x37f512[_0x477d('0xda3')]);})[_0x477d('0xf8')](function(_0xdc5a15){if(_0xdc5a15[_0x477d('0x451')]&&_0xdc5a15[_0x477d('0x451')]['errors']&&_0xdc5a15[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x37f512['errors']=_0xdc5a15[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0xdc5a15['toString'](),'type':_0x477d('0xdb1')}];for(var _0x57ee81=0x0;_0x57ee81<_0xdc5a15[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x57ee81++){_0x37ccf0[_0x477d('0x44a')]({'title':_0xdc5a15[_0x477d('0x451')][_0x477d('0xd67')][_0x57ee81]['type'],'msg':_0xdc5a15[_0x477d('0x451')][_0x477d('0xd67')][_0x57ee81][_0x477d('0x452')]});}}else{_0x37ccf0[_0x477d('0x44a')]({'title':_0xdc5a15['status']?_0x477d('0x44b')+_0xdc5a15[_0x477d('0x3c3')]+'\x20-\x20'+_0xdc5a15[_0x477d('0x44d')]:_0x477d('0xdb1'),'msg':_0xdc5a15['data']?JSON[_0x477d('0x3fb')](_0xdc5a15[_0x477d('0x451')][_0x477d('0x452')]):_0xdc5a15[_0x477d('0x452')]||_0xdc5a15[_0x477d('0x453')]()});}});},function(){});}function _0x357214(_0x294195){return _0x294195===null?undefined:new Date(_0x294195);}function _0x2fb056(_0x585484){_0x1ea98a['hide'](_0x585484);}}}());(function(){'use strict';_0x588241['$inject']=[_0x477d('0x474'),_0x477d('0x387'),_0x477d('0x3c4'),_0x477d('0x554'),_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x3fe'),_0x477d('0x40d'),_0x477d('0xda2'),_0x477d('0x3a5'),_0x477d('0x3ac'),_0x477d('0x386'),_0x477d('0x342'),_0x477d('0x40e'),_0x477d('0x55'),'license',_0x477d('0xc8e')];angular[_0x477d('0xb')](_0x477d('0x37'))[_0x477d('0x3ba')](_0x477d('0xdb2'),_0x588241);function _0x588241(_0x405240,_0x34270e,_0x3fb097,_0x2e4ae3,_0x3d8402,_0xe11d9f,_0x335071,_0x55b96a,_0x5fedd9,_0x401df3,_0x7be09a,_0x44a1dc,_0x4317a3,_0x8bce2f,_0x2a03ad,_0x4ac52d,_0x3deedc){var _0x1a7ab7=this;_0x1a7ab7[_0x477d('0x613')]=_0x4ac52d;_0x1a7ab7[_0x477d('0xc8e')]=_0x3deedc;_0x1a7ab7[_0x477d('0x3e5')]=_0x2a03ad[_0x477d('0x5c')]();_0x1a7ab7['metrics']=_0x5fedd9||{'count':0x0,'rows':[]};_0x1a7ab7[_0x477d('0x3a5')]=_0x401df3;_0x1a7ab7[_0x477d('0x3ac')]=_0x7be09a&&_0x7be09a['count']==0x1?_0x7be09a['rows'][0x0]:null;_0x1a7ab7[_0x477d('0xd66')]=_0x2a03ad[_0x477d('0xd81')](_0x1a7ab7[_0x477d('0x3ac')]?_0x1a7ab7[_0x477d('0x3ac')]['crudPermissions']:null);_0x1a7ab7[_0x477d('0xd82')]='metrics';_0x1a7ab7[_0x477d('0xd83')]='';_0x1a7ab7['listOrderAsc']=null;_0x1a7ab7[_0x477d('0xdb3')]=[];_0x1a7ab7[_0x477d('0x3ef')]={'fields':_0x477d('0x58'),'sort':_0x477d('0x59'),'limit':0xa,'page':0x1};_0x1a7ab7[_0x477d('0xdb4')]=_[_0x477d('0xdb5')]([{'option':_0x477d('0xdb6'),'value':'\x27report_agent\x27'},{'option':_0x477d('0xdb7'),'value':_0x477d('0xdb8')},{'option':_0x477d('0xdb9'),'value':_0x477d('0xdba')},{'option':_0x477d('0xdbb'),'value':_0x477d('0xdbc')},{'option':'Chat\x20Interaction','value':_0x477d('0xdbd')},{'option':'Chat\x20Messages','value':'\x27chat_messages\x27'},{'option':'Chat\x20Offline\x20Messages','value':_0x477d('0xdbe')},{'option':_0x477d('0xdbf'),'value':_0x477d('0xdc0')},{'option':_0x477d('0xdc1'),'value':_0x477d('0xdc2')},{'option':'Chat\x20Report\x20Transfer','value':'\x27report_chat_transfer\x27'},{'option':_0x477d('0xf3'),'value':'\x27cm_companies\x27'},{'option':_0x477d('0xf0'),'value':_0x477d('0xdc3')},{'option':'CSquare\x20Report','value':_0x477d('0xdc4')},{'option':_0x477d('0xdc5'),'value':_0x477d('0xdc6')},{'option':_0x477d('0xdc7'),'value':'\x27report_dial\x27'},{'option':_0x477d('0xdc8'),'value':_0x477d('0xdc9')},{'option':_0x477d('0xdca'),'value':'\x27cm_hopper_history\x27'},{'option':_0x477d('0xdcb'),'value':'\x27cm_hopper_final\x27'},{'option':'Email\x20Account','value':_0x477d('0xdcc')},{'option':_0x477d('0xdcd'),'value':_0x477d('0xdce')},{'option':_0x477d('0xdcf'),'value':_0x477d('0xdd0')},{'option':_0x477d('0xdd1'),'value':'\x27mail_queues\x27'},{'option':_0x477d('0xdd2'),'value':'\x27report_mail_queue\x27'},{'option':'Email\x20Report\x20Transfer','value':_0x477d('0xdd3')},{'option':_0x477d('0xdd4'),'value':'\x27fax_accounts\x27'},{'option':_0x477d('0xdd5'),'value':'\x27fax_interactions\x27'},{'option':'Fax\x20Messages','value':'\x27fax_messages\x27'},{'option':_0x477d('0xdd6'),'value':'\x27fax_queues\x27'},{'option':'Fax\x20Report\x20Queue','value':_0x477d('0xdd7')},{'option':_0x477d('0xdd8'),'value':_0x477d('0xdd9')},{'option':'Jscripty\x20Sessions','value':_0x477d('0xdda')},{'option':_0x477d('0xddb'),'value':_0x477d('0xddc')},{'option':'Jscripty\x20Answers','value':'\x27report_jscripty_answers\x27'},{'option':'Lists','value':_0x477d('0xddd')},{'option':'Member\x20Report','value':_0x477d('0xdde')},{'option':'Openchannel\x20Account','value':_0x477d('0xddf')},{'option':_0x477d('0xde0'),'value':_0x477d('0xde1')},{'option':_0x477d('0xde2'),'value':_0x477d('0xde3')},{'option':_0x477d('0xde4'),'value':_0x477d('0xde5')},{'option':_0x477d('0xde6'),'value':_0x477d('0xde7')},{'option':'Openchannel\x20Report\x20Transfer','value':_0x477d('0xde8')},{'option':_0x477d('0xde9'),'value':_0x477d('0xdea')},{'option':_0x477d('0xdeb'),'value':'\x27sms_accounts\x27'},{'option':_0x477d('0xdec'),'value':_0x477d('0xded')},{'option':_0x477d('0xdee'),'value':_0x477d('0xdef')},{'option':_0x477d('0xdf0'),'value':'\x27sms_queues\x27'},{'option':_0x477d('0xdf1'),'value':_0x477d('0xdf2')},{'option':'SMS\x20Report\x20Transfer','value':_0x477d('0xdf3')},{'option':_0x477d('0xdf4'),'value':_0x477d('0xdf5')},{'option':'Voice\x20Recordings','value':_0x477d('0xdf6')},{'option':'Whatsapp\x20Account','value':'\x27whatsapp_accounts\x27'},{'option':'Whatsapp\x20Interaction','value':_0x477d('0xdf7')},{'option':_0x477d('0xdf8'),'value':_0x477d('0xdf9')},{'option':'Whatsapp\x20Queues','value':'\x27whatsapp_queues\x27'},{'option':_0x477d('0xdfa'),'value':'\x27report_whatsapp_queue\x27'},{'option':_0x477d('0xdfb'),'value':_0x477d('0xdfc')}],function(_0x1777aa){return _[_0x477d('0x409')](_0x1777aa['value'],new RegExp('\x27','g'),'');});_0x1a7ab7['editdialog']=_0x5dcd17;_0x1a7ab7[_0x477d('0xd88')]=_0x23aa52;_0x1a7ab7[_0x477d('0x485')]=_0x1dbeb5;_0x1a7ab7[_0x477d('0xdfd')]=_0x27daf0;_0x1a7ab7[_0x477d('0xdfe')]=_0x566ad7;_0x1a7ab7['deleteMetric']=_0x208f11;_0x1a7ab7['exportSelectedMetrics']=_0x6db1e3;_0x1a7ab7['deleteSelectedMetrics']=_0x47aa6e;_0x1a7ab7[_0x477d('0xdff')]=_0x5ef75b;_0x1a7ab7[_0x477d('0xe00')]=_0x5823ad;function _0x5dcd17(_0x531b26,_0x3f4e48){_0x3d8402[_0x477d('0x395')]({'controller':_0x477d('0xe01'),'controllerAs':'vm','templateUrl':_0x477d('0xe02'),'parent':angular[_0x477d('0x398')](_0xe11d9f[_0x477d('0x399')]),'targetEvent':_0x3f4e48,'clickOutsideToClose':!![],'locals':{'metric':_0x531b26,'metrics':_0x1a7ab7[_0x477d('0xda2')][_0x477d('0xf2')],'license':_0x1a7ab7['license'],'setting':null,'crudPermissions':_0x1a7ab7[_0x477d('0xd66')]}});}function _0x23aa52(_0x289925,_0x2d3a6c){var _0x3a535c=_0x3d8402[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xd90')+_['startCase']('metric')+'?')[_0x477d('0xd92')](''+(_0x289925[_0x477d('0x94')]||'metric')+_0x477d('0xd94')+_0x477d('0xd95'))['ariaLabel']('delete\x20metric')[_0x477d('0xd7c')](_0x2d3a6c)['ok']('OK')['cancel'](_0x477d('0xd97'));_0x3d8402[_0x477d('0x395')](_0x3a535c)['then'](function(){_0x208f11(_0x289925);},function(){console[_0x477d('0x7b')]('CANCEL');});}var _0x3e9689=!![];var _0x240756=0x1;_0x405240[_0x477d('0x4b5')](_0x477d('0xd98'),function(_0x117d5b,_0x38d613){if(_0x3e9689){_0x335071(function(){_0x3e9689=![];});}else{if(!_0x38d613){_0x240756=_0x1a7ab7[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x117d5b!==_0x38d613){_0x1a7ab7[_0x477d('0x3ef')]['page']=0x1;}if(!_0x117d5b){_0x1a7ab7[_0x477d('0x3ef')]['page']=_0x240756;}_0x1a7ab7['getMetrics']();}});function _0x1dbeb5(_0x4df42b){_0x1a7ab7[_0x477d('0xda2')]=_0x4df42b||{'count':0x0,'rows':[]};}function _0x27daf0(){_0x1a7ab7[_0x477d('0x3ef')][_0x477d('0x91c')]=(_0x1a7ab7[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x1a7ab7[_0x477d('0x3ef')]['limit'];if(_0x2a03ad[_0x477d('0x56')]('admin')){_0x1a7ab7[_0x477d('0x553')]=_0x44a1dc[_0x477d('0xbd1')]['get'](_0x1a7ab7['query'],_0x1dbeb5)[_0x477d('0x38b')];}else{_0x1a7ab7[_0x477d('0x3ef')]['id']=_0x1a7ab7[_0x477d('0x3a5')]['id'];_0x1a7ab7[_0x477d('0x3ef')]['section']=_0x477d('0x5d');_0x1a7ab7['promise']=_0x44a1dc[_0x477d('0x3a5')]['getResources'](_0x1a7ab7[_0x477d('0x3ef')],_0x1dbeb5)[_0x477d('0x38b')];}}function _0x566ad7(_0x12a740,_0x23fc38){_0x3d8402[_0x477d('0x395')]({'controller':'CreateOrEditMetricDialogController','controllerAs':'vm','templateUrl':'app/main/apps/analytics/views/metrics/create/dialog.html','parent':angular[_0x477d('0x398')](_0xe11d9f[_0x477d('0x399')]),'targetEvent':_0x12a740,'clickOutsideToClose':!![],'locals':{'metric':_0x23fc38,'metrics':_0x1a7ab7[_0x477d('0xda2')]['rows'],'license':_0x1a7ab7[_0x477d('0x613')],'setting':_0x1a7ab7['setting'],'crudPermissions':_0x1a7ab7[_0x477d('0xd66')]}});}function _0x208f11(_0x101544){_0x44a1dc['analyticMetric'][_0x477d('0xa55')]({'id':_0x101544['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_['remove'](_0x1a7ab7[_0x477d('0xda2')][_0x477d('0xf2')],{'id':_0x101544['id']});_0x1a7ab7[_0x477d('0xda2')][_0x477d('0x3bb')]-=0x1;if(!_0x1a7ab7['metrics'][_0x477d('0xf2')]['length']){_0x1a7ab7['getMetrics']();}_0x8bce2f[_0x477d('0x485')]({'title':_[_0x477d('0xd91')](_0x477d('0xe04'))+'\x20deleted!','msg':_0x101544[_0x477d('0x94')]?_0x101544[_0x477d('0x94')]+_0x477d('0xd7e'):''});})['catch'](function(_0x4bfec4){if(_0x4bfec4['data']&&_0x4bfec4['data'][_0x477d('0xd67')]&&_0x4bfec4['data'][_0x477d('0xd67')][_0x477d('0x79')]){_0x1a7ab7[_0x477d('0xd67')]=_0x4bfec4[_0x477d('0x451')]['errors']||[{'message':_0x4bfec4[_0x477d('0x453')](),'type':'SYSTEM:DELETEanalyticMetric'}];for(var _0x354838=0x0;_0x354838<_0x4bfec4[_0x477d('0x451')][_0x477d('0xd67')]['length'];_0x354838++){_0x8bce2f[_0x477d('0x44a')]({'title':_0x4bfec4[_0x477d('0x451')][_0x477d('0xd67')][_0x354838][_0x477d('0x439')],'msg':_0x4bfec4['data'][_0x477d('0xd67')][_0x354838][_0x477d('0x452')]});}}else{_0x8bce2f[_0x477d('0x44a')]({'title':_0x4bfec4[_0x477d('0x3c3')]?'API:'+_0x4bfec4[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x4bfec4[_0x477d('0x44d')]:'SYSTEM:DELETEanalyticMetric','msg':_0x4bfec4['data']?JSON[_0x477d('0x3fb')](_0x4bfec4[_0x477d('0x451')][_0x477d('0x452')]):_0x4bfec4['message']||_0x4bfec4[_0x477d('0x453')]()});}});}function _0x6db1e3(){var _0x5e7c9c=angular['copy'](_0x1a7ab7[_0x477d('0xdb3')]);_0x1a7ab7['selectedMetrics']=[];return _0x5e7c9c;}function _0x47aa6e(_0xca9c8c){var _0xc61f1a=_0x3d8402[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xe05'))[_0x477d('0xd92')](''+_0x1a7ab7[_0x477d('0xdb3')]['length']+_0x477d('0xda0')+'\x20will\x20be\x20deleted.')['ariaLabel']('delete\x20Metrics')['targetEvent'](_0xca9c8c)['ok']('OK')['cancel'](_0x477d('0xd97'));_0x3d8402['show'](_0xc61f1a)[_0x477d('0x76')](function(){_0x1a7ab7[_0x477d('0xdb3')][_0x477d('0x3b1')](function(_0x32bc20){_0x208f11(_0x32bc20);});_0x1a7ab7['selectedMetrics']=[];});}function _0x5ef75b(){_0x1a7ab7[_0x477d('0xdb3')]=[];}function _0x5823ad(){_0x1a7ab7[_0x477d('0xdb3')]=_0x1a7ab7[_0x477d('0xda2')][_0x477d('0xf2')];}}}());(function(){'use strict';_0x42146a[_0x477d('0xa')]=[_0x477d('0xd64'),_0x477d('0x384'),_0x477d('0x40e'),_0x477d('0xe06'),_0x477d('0x386'),'apiName',_0x477d('0xe07')];angular['module'](_0x477d('0x37'))[_0x477d('0x3ba')](_0x477d('0xe08'),_0x42146a);function _0x42146a(_0x2e0de6,_0x486acf,_0x350ad0,_0x1a6336,_0x1becf2,_0x13cb9f,_0x4e5514){var _0x311f5e=this;_0x311f5e['errors']=[];_0x311f5e[_0x477d('0xe06')]=angular[_0x477d('0x6d9')](_0x1a6336);_0x311f5e[_0x477d('0xe06')][_0x477d('0x94')]+=_0x477d('0xe09');_0x311f5e['treeCustomData']=_0x4e5514;_0x311f5e[_0x477d('0xe0a')]={'core':{'multiple':![],'animation':!![],'error':function(_0x593c5d){console[_0x477d('0x44a')](_0x477d('0xe0b')+angular[_0x477d('0x56c')](_0x593c5d));},'check_callback':!![],'worker':!![]},'version':0x1,'plugins':['wholerow']};_0x311f5e[_0x477d('0xe0c')]={'select_node':_0x3e317e};_0x311f5e[_0x477d('0xe0d')]=_0x4e2c49;_0x311f5e[_0x477d('0x6bf')]=_0x312b75;function _0x4e2c49(){_0x311f5e[_0x477d('0xd67')]=[];var _0x26408c;_0x1becf2[_0x477d('0x919')][_0x477d('0xd70')]({'name':_0x311f5e[_0x477d('0xe06')][_0x477d('0x94')],'description':_0x311f5e[_0x477d('0xe06')][_0x477d('0xe0e')],'table':_0x311f5e[_0x477d('0xe06')][_0x477d('0xd82')],'conditions':_0x311f5e['report'][_0x477d('0x3f7')],'joins':_0x311f5e[_0x477d('0xe06')]['joins'],'parent':_0x311f5e[_0x477d('0xe0f')]['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x4a0046){_0x26408c=_0x4a0046;_0x350ad0['success']({'title':'Report\x20properly\x20copied!','msg':_0x311f5e[_0x477d('0xe06')][_0x477d('0x94')]?_0x311f5e['report'][_0x477d('0x94')]+_0x477d('0xe10'):''});var _0xe4c2b4={'fields':'field,alias,function,format,groupBy,orderBy,custom,MetricId','nolimit':!![]};_0xe4c2b4[_0x13cb9f===_0x477d('0x919')?_0x477d('0xe11'):_0x477d('0xe12')]=_0x311f5e[_0x477d('0xe06')]['id'];return _0x1becf2[_0x477d('0xbd5')][_0x477d('0x376')](_0xe4c2b4)[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x963926){var _0x963926=_[_0x477d('0x3cb')](_0x963926[_0x477d('0xf2')],function(_0x197f13){return _[_0x477d('0x3d1')]({},_0x197f13,{'CustomReportId':_0x26408c['id']});});return _0x1becf2[_0x477d('0xbd5')][_0x477d('0xe13')](_0x963926)[_0x477d('0x38b')];})[_0x477d('0x76')](function(){_0x350ad0[_0x477d('0x485')]({'title':_0x477d('0xe14'),'msg':'Fields\x20has\x20been\x20copied!'});_0x312b75();})[_0x477d('0xf8')](function(_0x5d8be5){_0x350ad0['error']({'title':_0x5d8be5[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x5d8be5[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x5d8be5[_0x477d('0x44d')]:'SYSTEM:COPYREPORT','msg':_0x5d8be5[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x5d8be5[_0x477d('0x451')][_0x477d('0x452')]):_0x5d8be5[_0x477d('0x453')]()});});}function _0x3e317e(_0x46d64f,_0x1e3a65){_0x311f5e[_0x477d('0xe0f')]=_0x1e3a65[_0x477d('0x584')];}function _0x312b75(){_0x486acf[_0x477d('0x3bc')]();}}}());(function(){'use strict';_0xca7ea1[_0x477d('0xa')]=[_0x477d('0xd64'),'$mdDialog','toasty','reports',_0x477d('0xe06'),'api',_0x477d('0xe15'),_0x477d('0xe0f'),_0x477d('0x73'),_0x477d('0xd66')];angular['module']('app.analytics')[_0x477d('0x3ba')](_0x477d('0xe16'),_0xca7ea1);function _0xca7ea1(_0x26bc50,_0x441a84,_0x16f1d8,_0xa9dd7f,_0x3bcaa8,_0xc13135,_0x163f8c,_0x2951cf,_0x2e0576,_0x23d789){var _0x56313c=this;_0x56313c[_0x477d('0xd67')]=[];_0x56313c[_0x477d('0xe17')]=[];_0x56313c['title']=_0x477d('0xe18');_0x56313c[_0x477d('0xd66')]=_0x23d789;_0x56313c[_0x477d('0xe06')]=angular[_0x477d('0x6d9')](_0x3bcaa8);_0x56313c[_0x477d('0xe19')]=_0xa9dd7f;_0x56313c[_0x477d('0xe1a')]=![];_0x56313c[_0x477d('0xe1b')]=_0x2e0576['getMap']();_0x56313c['joinTypes']=[{'key':_0x477d('0x3f6'),'value':_0x477d('0xe1c')},{'key':_0x477d('0xe1d'),'value':_0x477d('0xe1e')},{'key':_0x477d('0xe1f'),'value':_0x477d('0xe20')},{'key':_0x477d('0xe21'),'value':'Cross\x20Join'}];if(!_0x56313c[_0x477d('0xe06')]){_0x56313c['report']={'name':'','table':_0x477d('0xda7'),'description':'','parent':_0x2951cf['id']};_0x56313c[_0x477d('0x49a')]=_0x477d('0xe22');_0x56313c[_0x477d('0xe1a')]=!![];}_0x56313c['addNewReport']=_0x14761b;_0x56313c[_0x477d('0xe23')]=_0x100c11;_0x56313c[_0x477d('0xe24')]=_0x4e459e;_0x56313c[_0x477d('0x6bf')]=_0x23fdd4;_0x56313c[_0x477d('0xe25')]=_0x1f6af3;_0x56313c['removeJoin']=_0x5404e2;_0x56313c[_0x477d('0xe26')]=_0x2c00fc;function _0x5404e2(_0x5c007c){_0x56313c['joinTables'][_0x477d('0x45b')](_0x5c007c,0x1);}function _0x2c00fc(_0x19ff0e,_0x97d732,_0x51e8f8){var _0x59e46e=_[_0x477d('0x10a')](_0x56313c[_0x477d('0xe1b')],{'name':_0x51e8f8});if(_0x59e46e&&_0x59e46e['api']){_0xc13135[_0x59e46e['api']][_0x477d('0xe27')]()[_0x477d('0x38b')]['then'](function(_0x45b76d){_0x19ff0e[_0x97d732]=_[_0x477d('0x7e')](_[_0x477d('0x7f')](_0x45b76d),['$promise',_0x477d('0x80')]);})[_0x477d('0xf8')](function(_0x1f945a){console[_0x477d('0x44a')](_0x1f945a);});}}function _0x1f6af3(_0x2c92ea){if(_0x2c92ea){delete _0x56313c[_0x477d('0xe28')];_0x56313c[_0x477d('0xe17')][_0x477d('0x3a7')](_0x2c92ea);}}function _0x14761b(){_0x56313c['errors']=[];_0x56313c[_0x477d('0xe06')][_0x477d('0x78')]=_['map'](_0x56313c['joinTables']||[],function(_0x22b5b9){return{'parentKey':_0x22b5b9['parentKey'],'foreignTable':_0x22b5b9[_0x477d('0x94')],'foreignKey':_0x22b5b9[_0x477d('0xe29')],'type':_0x22b5b9['type']['toLowerCase']()};});_0x56313c['report'][_0x477d('0x78')]=JSON[_0x477d('0x3fb')](_0x56313c[_0x477d('0xe06')][_0x477d('0x78')]);_0xc13135[_0x163f8c][_0x477d('0xd70')](_0x56313c[_0x477d('0xe06')])[_0x477d('0x38b')]['then'](function(_0x2f9b04){_0x56313c[_0x477d('0xe19')]['unshift'](_0x2f9b04);_0x16f1d8[_0x477d('0x485')]({'title':_0x477d('0xe2a'),'msg':_0x56313c[_0x477d('0xe06')]['name']?_0x56313c['report']['name']+_0x477d('0xd73'):''});_0x23fdd4();})['catch'](function(_0x58f18d){if(_0x58f18d[_0x477d('0x451')]&&_0x58f18d['data'][_0x477d('0xd67')]&&_0x58f18d[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x56313c[_0x477d('0xd67')]=_0x58f18d[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x58f18d['toString'](),'type':_0x477d('0xe2b')}];for(var _0x2d30f1=0x0;_0x2d30f1<_0x58f18d[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x2d30f1++){_0x16f1d8['error']({'title':_0x58f18d[_0x477d('0x451')][_0x477d('0xd67')][_0x2d30f1]['type'],'msg':_0x58f18d['data'][_0x477d('0xd67')][_0x2d30f1][_0x477d('0x452')]});}}else{_0x16f1d8['error']({'title':_0x58f18d[_0x477d('0x3c3')]?'API:'+_0x58f18d[_0x477d('0x3c3')]+'\x20-\x20'+_0x58f18d[_0x477d('0x44d')]:_0x477d('0xe2b'),'msg':_0x58f18d[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x58f18d[_0x477d('0x451')][_0x477d('0x452')]):_0x58f18d[_0x477d('0x453')]()});}});}function _0x100c11(){_0x56313c[_0x477d('0xd67')]=[];_0xc13135[_0x163f8c][_0x477d('0x710')]({'id':_0x56313c[_0x477d('0xe06')]['id']},_0x56313c[_0x477d('0xe06')])[_0x477d('0x38b')]['then'](function(_0x2e3813){var _0x1567a3=_[_0x477d('0x10a')](_0x56313c['reports'],{'id':_0x2e3813['id']});if(_0x1567a3){_[_0x477d('0xef')](_0x1567a3,_0x2e3813);}_0x16f1d8[_0x477d('0x485')]({'title':_0x477d('0xe2c'),'msg':_0x56313c[_0x477d('0xe06')][_0x477d('0x94')]?_0x56313c[_0x477d('0xe06')][_0x477d('0x94')]+_0x477d('0xd76'):''});_0x23fdd4();})[_0x477d('0xf8')](function(_0x2a5c00){if(_0x2a5c00['data']&&_0x2a5c00[_0x477d('0x451')][_0x477d('0xd67')]&&_0x2a5c00['data'][_0x477d('0xd67')]['length']){_0x56313c[_0x477d('0xd67')]=_0x2a5c00[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x2a5c00['toString'](),'type':_0x477d('0xe2d')}];for(var _0x8c198a=0x0;_0x8c198a<_0x2a5c00[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x8c198a++){_0x16f1d8[_0x477d('0x44a')]({'title':_0x2a5c00[_0x477d('0x451')][_0x477d('0xd67')][_0x8c198a]['type'],'msg':_0x2a5c00[_0x477d('0x451')][_0x477d('0xd67')][_0x8c198a][_0x477d('0x452')]});}}else{_0x16f1d8['error']({'title':_0x2a5c00[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x2a5c00[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x2a5c00[_0x477d('0x44d')]:'api.analyticReport.update','msg':_0x2a5c00['data']?JSON[_0x477d('0x3fb')](_0x2a5c00[_0x477d('0x451')][_0x477d('0x452')]):_0x2a5c00[_0x477d('0x453')]()});}});}function _0x4e459e(){_0x56313c[_0x477d('0xd67')]=[];var _0xc4affa=_0x441a84[_0x477d('0xd78')]()['title'](_0x477d('0xd79'))['content'](_0x477d('0xe2e'))[_0x477d('0x687')](_0x477d('0xe2f'))['ok']('Delete')[_0x477d('0x4f0')](_0x477d('0x688'))[_0x477d('0xd7c')](event);_0x441a84[_0x477d('0x395')](_0xc4affa)[_0x477d('0x76')](function(){_0xc13135[_0x163f8c][_0x477d('0xa55')]({'id':_0x56313c[_0x477d('0xe06')]['id']})[_0x477d('0x38b')]['then'](function(){_['remove'](_0x56313c[_0x477d('0xe19')],{'id':_0x56313c[_0x477d('0xe06')]['id']});_0x16f1d8[_0x477d('0x485')]({'title':_0x477d('0xe30'),'msg':_0x56313c[_0x477d('0xe06')][_0x477d('0x94')]?_0x56313c[_0x477d('0xe06')][_0x477d('0x94')]+_0x477d('0xd7e'):''});_0x23fdd4();})[_0x477d('0xf8')](function(_0x806958){_0x56313c[_0x477d('0xd67')]=_0x806958['data'][_0x477d('0xd67')]||[{'message':_0x806958[_0x477d('0x453')](),'type':_0x477d('0xe31')}];});},function(){});}function _0x23fdd4(){_0x441a84['hide']();}}}());(function(){'use strict';_0x101f43[_0x477d('0xa')]=[_0x477d('0x384'),_0x477d('0x73'),_0x477d('0x40e'),_0x477d('0xe32')];angular[_0x477d('0xb')]('app.analytics')[_0x477d('0x3ba')](_0x477d('0xe33'),_0x101f43);function _0x101f43(_0x49fe86,_0x1f1dab,_0xa9186,_0x236ee9){var _0x337ca1=this;_0x337ca1[_0x477d('0xe06')]={};_0x337ca1[_0x477d('0x3f7')]=_0x236ee9[_0x477d('0xe34')];_0x337ca1[_0x477d('0x5ee')]=_0x5f47dc;_0x337ca1[_0x477d('0x429')]=_0x93f34b;_0x337ca1['addGroup']=_0x379b78;_0x337ca1['deleteConfirm']=_0x15961c;_0x337ca1['isValueByCondition']=_0x3ebfd9;function _0x5f47dc(_0x3af703,_0x5bc9b3){_0x337ca1[_0x477d('0xe06')]=_0x3af703;_0x337ca1['report'][_0x477d('0xb98')]=angular[_0x477d('0x73c')](_0x3af703[_0x477d('0x3f7')])||{'group':{'operator':_0x477d('0xe35'),'rules':[]}};_0x337ca1[_0x477d('0xd66')]=typeof _0x5bc9b3!==_0x477d('0x4a4')?_0x5bc9b3:{'readOnly':!![],'canEdit':![],'canDelete':![]};for(var _0x4ef373=0x0;_0x4ef373<_0x337ca1[_0x477d('0xe06')][_0x477d('0xb98')]['group'][_0x477d('0xe36')]['length'];_0x4ef373++){if(_0x337ca1[_0x477d('0xe06')]['condition'][_0x477d('0x587')][_0x477d('0xe36')][_0x4ef373]['field']){var _0x436a8d=_0x337ca1[_0x477d('0xe06')][_0x477d('0xb98')][_0x477d('0x587')][_0x477d('0xe36')][_0x4ef373][_0x477d('0x463')][_0x477d('0x472')]('.');if(_0x436a8d[_0x477d('0x79')]===0x1){_0x337ca1[_0x477d('0xe06')][_0x477d('0xb98')][_0x477d('0x587')][_0x477d('0xe36')][_0x4ef373][_0x477d('0x463')]=_0x337ca1['report'][_0x477d('0xd82')]+'.'+_0x337ca1['report']['condition'][_0x477d('0x587')][_0x477d('0xe36')][_0x4ef373]['field'];}}}_0x1f1dab[_0x477d('0x7a')](_0x337ca1[_0x477d('0xe06')][_0x477d('0xd82')])['then'](function(_0x3eb9c5){_0x337ca1[_0x477d('0x912')]=_[_0x477d('0x7e')](_[_0x477d('0x7f')](_0x3eb9c5),['$promise','$resolved',_0x477d('0xe37'),_0x477d('0xe38')]);})[_0x477d('0xf8')](function(_0xd0e5aa){_0xa9186[_0x477d('0x44a')]({'title':_0xd0e5aa['status']?_0x477d('0x44b')+_0xd0e5aa[_0x477d('0x3c3')]+'\x20-\x20'+_0xd0e5aa[_0x477d('0x44d')]:_0x477d('0xe39'),'msg':_0xd0e5aa[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0xd0e5aa['data']):_0xd0e5aa['toString']()});});}function _0x93f34b(_0x283c29){_0x283c29['unshift']({'condition':'=','field':'','value':''});}function _0x379b78(_0xac0c90){_0xac0c90[_0x477d('0x3a7')]({'group':{'operator':'AND','rules':[]}});}function _0x15961c(_0x225208,_0x26aeb6,_0x409ddb){var _0xf58de7=_0x49fe86[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xe3a'))['htmlContent']('The\x20item\x20will\x20be\x20deleted.')['ariaLabel'](_0x477d('0xe3b'))[_0x477d('0xd7c')](_0x409ddb)['ok']('OK')['cancel'](_0x477d('0xd97'));_0x49fe86[_0x477d('0x395')](_0xf58de7)['then'](function(){_0x225208[_0x477d('0x45b')](_0x26aeb6,0x1);},function(){console[_0x477d('0x7b')](_0x477d('0xd97'));});}function _0x3ebfd9(_0x104ece){return!_[_0x477d('0x3a4')]([_0x477d('0xe3c'),_0x477d('0xe3d'),'IS\x20EMPTY','IS\x20NOT\x20EMPTY'],_0x104ece);}}}());(function(){'use strict';_0x562577[_0x477d('0xa')]=['api'];angular['module']('app.analytics')['factory'](_0x477d('0x73'),_0x562577);function _0x562577(_0x26cb04){var _0x4c1fe0={'cm_companies':_0x477d('0xb68'),'cm_contacts':'cmContact','cm_hopper':_0x477d('0xb79'),'cm_hopper_final':_0x477d('0xb80'),'cm_hopper_history':_0x477d('0xe3e'),'cm_lists':_0x477d('0xe3f'),'chat_websites':_0x477d('0xb32'),'chat_queues':_0x477d('0xe40'),'chat_interactions':_0x477d('0xb4a'),'chat_messages':'chatMessage','chat_offline_messages':'chatOfflineMessage','report_chat_queue':_0x477d('0xe41'),'report_chat_transfer':_0x477d('0xe42'),'mail_accounts':'mailAccount','mail_queues':'mailQueue','mail_interactions':_0x477d('0xac3'),'mail_messages':'mailMessage','report_mail_queue':_0x477d('0xacf'),'report_mail_transfer':_0x477d('0xe43'),'openchannel_accounts':_0x477d('0xb16'),'openchannel_queues':'openchannelQueue','openchannel_interactions':_0x477d('0xb22'),'openchannel_messages':_0x477d('0xb29'),'report_openchannel_queue':_0x477d('0xb43'),'report_openchannel_transfer':_0x477d('0xe44'),'sms_accounts':_0x477d('0xe45'),'sms_queues':'smsQueue','sms_interactions':_0x477d('0xe46'),'sms_messages':'smsMessage','report_sms_queue':_0x477d('0xe47'),'report_sms_transfer':_0x477d('0xcc9'),'fax_accounts':_0x477d('0xada'),'fax_queues':_0x477d('0xe48'),'fax_interactions':_0x477d('0xae8'),'fax_messages':_0x477d('0xe49'),'report_fax_transfer':'faxTransferReport','report_fax_queue':_0x477d('0xaf8'),'report_call':'voiceCallReport','report_agent':_0x477d('0xa9c'),'report_square':_0x477d('0xc82'),'report_member':_0x477d('0xaa4'),'report_queue':_0x477d('0xaa0'),'report_square_details':_0x477d('0xc85'),'report_dial':_0x477d('0xa99'),'report_jscripty_sessions':_0x477d('0xc7b'),'report_jscripty_questions':'jscriptyQuestionReport','report_jscripty_answers':_0x477d('0xc73'),'users':_0x477d('0x380'),'voice_recordings':_0x477d('0xa81'),'cdr':_0x477d('0xba0'),'whatsapp_accounts':'whatsappAccount','whatsapp_queues':_0x477d('0xcfa'),'whatsapp_interactions':_0x477d('0xceb'),'whatsapp_messages':_0x477d('0xcf1'),'report_whatsapp_queue':_0x477d('0xcf7'),'report_whatsapp_transfer':_0x477d('0xe4a')};return{'getMap':function(){var _0x358edd=[];_[_0x477d('0xe4b')](_0x4c1fe0,function(_0x6f000,_0x579816){_0x358edd[_0x477d('0x3a7')]({'name':_0x579816,'api':_0x6f000});});return _0x358edd;},'getColumns':function(_0x42fa34){var _0x396d83=_0x4c1fe0[_0x42fa34];return _0x26cb04[_0x396d83][_0x477d('0xe27')]()[_0x477d('0x38b')];}};}}());(function(){'use strict';_0x46e114[_0x477d('0xa')]=['$scope','$location',_0x477d('0x384'),_0x477d('0x40e'),_0x477d('0xe06'),_0x477d('0xe4c'),_0x477d('0xe4d'),_0x477d('0xda2'),_0x477d('0x912'),_0x477d('0xe32'),_0x477d('0x386'),'crudPermissions'];angular[_0x477d('0xb')](_0x477d('0x37'))[_0x477d('0x3ba')](_0x477d('0xe4e'),_0x46e114);function _0x46e114(_0x5a23e9,_0x4b5ae0,_0x1d4a09,_0x66aafe,_0x1e5d9f,_0xdee9f,_0x36d556,_0x40302b,_0x175a7d,_0x571ad2,_0x166ea9,_0x2b0cf1){var _0x38fedd=this;_0x38fedd[_0x477d('0xd67')]=[];_0x38fedd[_0x477d('0x49a')]=_0x477d('0xe4f');_0x38fedd[_0x477d('0xe06')]=_0x1e5d9f;_0x38fedd[_0x477d('0xe4d')]=angular[_0x477d('0x6d9')](_0x36d556);_0x38fedd['reportFields']=_0xdee9f;_0x38fedd[_0x477d('0xda2')]=_0x40302b;_0x38fedd[_0x477d('0x912')]=_0x175a7d;_0x38fedd['sqlUtil']=_0x571ad2;_0x38fedd[_0x477d('0xe50')]=![];_0x38fedd[_0x477d('0xd66')]=_0x2b0cf1;if(!_0x38fedd[_0x477d('0xe4d')]){_0x38fedd[_0x477d('0xe4d')]={'type':'column','function':null,'format':null,'groupBy':![],'orderBy':null};_0x38fedd[_0x477d('0x49a')]=_0x477d('0xe51');_0x38fedd[_0x477d('0xe50')]=!![];}else{_0x38fedd['reportField'][_0x477d('0x439')]=_0x38fedd['reportField']['custom']?_0x477d('0x9f6'):_0x38fedd[_0x477d('0xe4d')]['MetricId']?_0x477d('0xda3'):_0x477d('0x460');if(_0x38fedd[_0x477d('0xe4d')][_0x477d('0x463')]&&!_0x38fedd[_0x477d('0xe4d')]['custom']&&_['isNil'](_0x38fedd[_0x477d('0xe4d')]['MetricId'])){var _0x36c346=_0x38fedd[_0x477d('0xe4d')]['field'][_0x477d('0x472')]('.');if(_0x36c346[_0x477d('0x79')]===0x1){_0x38fedd[_0x477d('0xe4d')][_0x477d('0x463')]=_0x38fedd[_0x477d('0xe06')][_0x477d('0xd82')]+'.'+_0x38fedd['reportField']['field'];}}}_0x38fedd['addNewReportField']=_0x305207;_0x38fedd[_0x477d('0xe52')]=_0x45d9f2;_0x38fedd['deleteReportField']=_0x3e6edc;_0x38fedd['closeDialog']=_0x38517c;function _0x305207(){_0x38fedd[_0x477d('0xd67')]=[];_0x38fedd['reportField']['custom']=_0x38fedd[_0x477d('0xe4d')][_0x477d('0x439')]===_0x477d('0x9f6');_0x38fedd[_0x477d('0xe4d')][_0x477d('0xe53')]=_0x38fedd['reportField'][_0x477d('0x439')]===_0x477d('0xda3')?_0x38fedd['reportField'][_0x477d('0xe53')]:null;_0x38fedd[_0x477d('0xe4d')][_0x477d('0xe11')]=_0x38fedd[_0x477d('0xe06')]['id'];_0x166ea9[_0x477d('0xbd5')][_0x477d('0xd70')](_0x38fedd[_0x477d('0xe4d')])['$promise'][_0x477d('0x76')](function(_0xe7a0f3){_0x38fedd['reportFields'][_0x477d('0x3a7')](_0xe7a0f3);_0x66aafe[_0x477d('0x485')]({'title':_0x477d('0xe54'),'msg':_0x38fedd[_0x477d('0xe4d')][_0x477d('0x463')]?_0x38fedd[_0x477d('0xe4d')][_0x477d('0x463')]+'\x20has\x20been\x20created!':_0x38fedd['reportField'][_0x477d('0x439')]+_0x477d('0xd73')});_0x38517c();})[_0x477d('0xf8')](function(_0xc37b16){_0x38fedd[_0x477d('0xd67')]=_0xc37b16[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0xc37b16[_0x477d('0x453')](),'type':_0x477d('0xe55')}];});}function _0x45d9f2(){_0x38fedd[_0x477d('0xd67')]=[];_0x38fedd[_0x477d('0xe4d')][_0x477d('0x9f6')]=_0x38fedd[_0x477d('0xe4d')][_0x477d('0x439')]===_0x477d('0x9f6');_0x38fedd[_0x477d('0xe4d')][_0x477d('0xe53')]=_0x38fedd[_0x477d('0xe4d')][_0x477d('0x439')]===_0x477d('0xda3')?_0x38fedd[_0x477d('0xe4d')][_0x477d('0xe53')]:null;_0x166ea9['analyticFieldReport'][_0x477d('0x710')]({'id':_0x38fedd['reportField']['id']},_0x38fedd[_0x477d('0xe4d')])[_0x477d('0x38b')]['then'](function(_0x1c489b){var _0x8191fc=_[_0x477d('0x10a')](_0x38fedd[_0x477d('0xe4c')],{'id':_0x1c489b['id']});if(_0x8191fc){_[_0x477d('0xef')](_0x8191fc,_0x1c489b);}_0x66aafe[_0x477d('0x485')]({'title':_0x477d('0xe56'),'msg':_0x38fedd[_0x477d('0xe4d')][_0x477d('0x463')]?_0x38fedd[_0x477d('0xe4d')][_0x477d('0x463')]+_0x477d('0xd76'):''});_0x38517c();})[_0x477d('0xf8')](function(_0x5a9195){_0x38fedd['errors']=_0x5a9195[_0x477d('0x451')]['errors']||[{'message':_0x5a9195['toString'](),'type':_0x477d('0xe57')}];});}function _0x3e6edc(_0x232f54){_0x38fedd[_0x477d('0xd67')]=[];var _0x2cc374=_0x1d4a09[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xd79'))[_0x477d('0xdaf')](_0x477d('0xe58'))['ariaLabel'](_0x477d('0xe2f'))['ok'](_0x477d('0xd7b'))[_0x477d('0x4f0')](_0x477d('0x688'))[_0x477d('0xd7c')](_0x232f54);_0x1d4a09[_0x477d('0x395')](_0x2cc374)[_0x477d('0x76')](function(){_0x166ea9[_0x477d('0xbd5')][_0x477d('0xa55')]({'id':_0x38fedd[_0x477d('0xe4d')]['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x38fedd['reportFields'],{'id':_0x38fedd[_0x477d('0xe4d')]['id']});_0x66aafe['success']({'title':_0x477d('0xe59'),'msg':_0x38fedd[_0x477d('0xe4d')][_0x477d('0x463')]?_0x38fedd[_0x477d('0xe4d')][_0x477d('0x463')]+_0x477d('0xd7e'):''});_0x38517c();})[_0x477d('0xf8')](function(_0x3c01ca){_0x38fedd['errors']=_0x3c01ca[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x3c01ca['toString'](),'type':_0x477d('0xe5a')}];});},function(){});}function _0x38517c(){_0x1d4a09['hide']();}}}());(function(){'use strict';_0x232f9b[_0x477d('0xa')]=['$cookies',_0x477d('0x474'),_0x477d('0x3fe'),_0x477d('0x384'),'$document',_0x477d('0x40e'),_0x477d('0x386'),_0x477d('0x73'),_0x477d('0xe32'),_0x477d('0x40d')];angular['module'](_0x477d('0x37'))[_0x477d('0x3ba')]('ReportFieldsController',_0x232f9b);function _0x232f9b(_0x561905,_0x5e3d09,_0x3ff0a9,_0x23814a,_0x28aa47,_0x3019a4,_0x1d827b,_0x34e9c9,_0x4f4e0b,_0x24225f){var _0x160ddf=this;_0x160ddf['report']={};_0x160ddf[_0x477d('0xe4c')]={'count':0x0,'rows':[]};_0x160ddf[_0x477d('0xe5b')]=_[_0x477d('0xdb5')](_0x4f4e0b[_0x477d('0xe5c')],'value');_0x160ddf['formats']=_[_0x477d('0xdb5')](_0x4f4e0b[_0x477d('0xe5d')],'value');_0x160ddf['groupBy']=_[_0x477d('0xdb5')](_0x4f4e0b[_0x477d('0xe5e')],_0x477d('0x3b6'));_0x160ddf['orderBy']=_['keyBy'](_0x4f4e0b[_0x477d('0xe5f')],_0x477d('0x3b6'));_0x160ddf[_0x477d('0xe60')]=[];_0x160ddf['query']={'fields':_0x477d('0xe61'),'nolimit':!![]};_0x160ddf[_0x477d('0xe62')]={'animation':0x64,'onSort':function(_0x5716aa){_0x1d827b['analyticFieldReport'][_0x477d('0xe63')]({'id':_0x160ddf[_0x477d('0xe06')]['id']},_0x5716aa[_0x477d('0xe64')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x5c1e01){_0x160ddf[_0x477d('0xe4c')]['rows']=_0x5c1e01;})[_0x477d('0xf8')](function(_0x5604da){_0x3019a4[_0x477d('0x44a')]({'title':_0x5604da[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x5604da[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x5604da['statusText']:_0x477d('0xe65')});});}};_0x160ddf[_0x477d('0x5ee')]=_0xe1000f;_0x160ddf[_0x477d('0xe66')]=_0x26c2b3;_0x160ddf[_0x477d('0x485')]=_0x3b11aa;_0x160ddf[_0x477d('0xe67')]=_0x56894d;_0x160ddf[_0x477d('0xe68')]=_0x415d34;_0x160ddf[_0x477d('0xe69')]=_0x2c8176;_0x160ddf[_0x477d('0xe6a')]=_0x44d6e5;_0x160ddf[_0x477d('0xe6b')]=_0x3e2048;_0x160ddf[_0x477d('0xe6c')]=_0x46a525;function _0xe1000f(_0x4faa94,_0x223710){_0x160ddf[_0x477d('0xe06')]=_0x4faa94;_0x160ddf['query']['CustomReportId']=_0x160ddf[_0x477d('0xe06')]['id'];_0x160ddf[_0x477d('0xd66')]=typeof _0x223710!==_0x477d('0x4a4')?_0x223710:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x160ddf['sortableTable'][_0x477d('0x45c')]=!_0x160ddf[_0x477d('0xd66')]['canEdit']?!![]:![];_0x34e9c9[_0x477d('0x7a')](_0x160ddf[_0x477d('0xe06')][_0x477d('0xd82')])['then'](function(_0x4c3629){_0x160ddf['columns']=_[_0x477d('0x7e')](_[_0x477d('0x7f')](_0x4c3629),[_0x477d('0x38b'),_0x477d('0x80')]);return _0x1d827b[_0x477d('0xbd1')]['get']({'fields':'id,name,metric,table','nolimit':!![]})['$promise'];})[_0x477d('0x76')](function(_0x43f423){_0x160ddf['metrics']=_0x43f423[_0x477d('0xf2')];})[_0x477d('0xf8')](function(_0x593926){_0x3019a4[_0x477d('0x44a')]({'title':_0x593926['status']?'API:'+_0x593926['status']+_0x477d('0x44c')+_0x593926[_0x477d('0x44d')]:_0x477d('0xe39'),'msg':_0x593926['data']?JSON[_0x477d('0x3fb')](_0x593926[_0x477d('0x451')]):_0x593926[_0x477d('0x453')]()});});_0x160ddf['getReportFields']();}function _0x26c2b3(_0x196788,_0x3eb507){var _0x39e94a=_0x23814a['confirm']()['title'](_0x477d('0xe6d'))[_0x477d('0xd92')](_0x477d('0xd93')+_0x196788[_0x477d('0x463')]+_0x477d('0xd94')+'\x20will\x20be\x20deleted.')['ariaLabel']('delete\x20field')[_0x477d('0xd7c')](_0x3eb507)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x23814a[_0x477d('0x395')](_0x39e94a)[_0x477d('0x76')](function(){_0x2c8176(_0x196788);},function(){console['log'](_0x477d('0xd97'));});}var _0x2a961a=!![];_0x5e3d09[_0x477d('0x4b5')](_0x477d('0xe6e'),function(_0x75e599,_0x16c987){if(_0x2a961a){_0x3ff0a9(function(){_0x2a961a=![];});}else{_0x160ddf[_0x477d('0xe67')]();}});function _0x3b11aa(_0x23116b){_0x160ddf[_0x477d('0xe4c')]=_0x23116b||{'count':0x0,'rows':[]};}function _0x56894d(){_0x160ddf[_0x477d('0x553')]=_0x1d827b[_0x477d('0xbd5')]['get'](_0x160ddf['query'],_0x3b11aa)['$promise'];}function _0x415d34(_0x24bb24,_0x402b81){_0x23814a[_0x477d('0x395')]({'controller':_0x477d('0xe4e'),'controllerAs':'vm','templateUrl':_0x477d('0xe6f'),'parent':angular[_0x477d('0x398')](_0x28aa47[_0x477d('0x399')]),'targetEvent':_0x24bb24,'clickOutsideToClose':!![],'locals':{'report':_0x160ddf[_0x477d('0xe06')],'reportField':_0x402b81,'reportFields':_0x160ddf['reportFields'][_0x477d('0xf2')],'metrics':_0x160ddf[_0x477d('0xda2')],'columns':_0x160ddf[_0x477d('0x912')],'setting':null,'crudPermissions':_0x160ddf['crudPermissions']}});}function _0x2c8176(_0x42c2cd){_0x1d827b[_0x477d('0xbd5')]['delete']({'id':_0x42c2cd['id']})[_0x477d('0x38b')]['then'](function(){_0x160ddf[_0x477d('0xe60')]=[];_[_0x477d('0x39c')](_0x160ddf['reportFields']['rows'],{'id':_0x42c2cd['id']});_0x160ddf[_0x477d('0xe4c')][_0x477d('0x3bb')]-=0x1;if(!_0x160ddf[_0x477d('0xe4c')][_0x477d('0xf2')][_0x477d('0x79')]){_0x160ddf['getReportFields']();}_0x3019a4[_0x477d('0x485')]({'title':_0x477d('0xe70'),'msg':_0x42c2cd[_0x477d('0x463')]?_0x42c2cd['field']+'\x20has\x20been\x20deleted!':''});})[_0x477d('0xf8')](function(_0x8dfd16){_0x3019a4[_0x477d('0x44a')]({'title':_0x8dfd16[_0x477d('0x3c3')]?'API:'+_0x8dfd16[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x8dfd16[_0x477d('0x44d')]:_0x477d('0xe71'),'msg':_0x8dfd16['data']?JSON[_0x477d('0x3fb')](_0x8dfd16[_0x477d('0x451')]):_0x8dfd16['toString']()});});}function _0x44d6e5(_0x388c3b){var _0x33c318=_0x23814a[_0x477d('0xd78')]()['title'](_0x477d('0xe72'))[_0x477d('0xd92')](_0x477d('0xd93')+_0x160ddf[_0x477d('0xe60')][_0x477d('0x79')]+'\x20selected'+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0xe73'))[_0x477d('0xd7c')](_0x388c3b)['ok']('OK')['cancel'](_0x477d('0xd97'));_0x23814a[_0x477d('0x395')](_0x33c318)[_0x477d('0x76')](function(){_0x160ddf['selectedReportFields'][_0x477d('0x3b1')](function(_0x15e23e){_0x2c8176(_0x15e23e);});_0x160ddf[_0x477d('0xe60')]=[];});}function _0x3e2048(_0x36e0a6){var _0x144c7a=_[_0x477d('0x10a')](_0x160ddf[_0x477d('0xda2')],{'id':_0x36e0a6});return _0x144c7a?_0x144c7a[_0x477d('0x94')]:_0x24225f[_0x477d('0x45f')](_0x477d('0xe74'));}function _0x46a525(_0x603788){var _0x172f57=_[_0x477d('0x10a')](_0x160ddf[_0x477d('0xda2')],{'id':_0x603788});return _0x172f57?_0x172f57[_0x477d('0xda3')]:_0x24225f['instant'](_0x477d('0xe74'));}}}());(function(){'use strict';angular[_0x477d('0xb')](_0x477d('0x37'))[_0x477d('0x388')](_0x477d('0xe32'),_0x396d7c);function _0x396d7c(){var _0x3d0b5a=[{'value':_0x477d('0xe75'),'option':function(_0x5314f9){return _0x477d('0xe76')+_0x5314f9+')';}},{'value':_0x477d('0xe77'),'option':function(_0x505205){return _0x477d('0xe78')+_0x505205+')';}},{'value':_0x477d('0xe79'),'option':function(_0x4747fb){return'COUNT\x20(DISTINCT\x20'+_0x4747fb+')';}},{'value':_0x477d('0xe7a'),'option':function(_0x1fb7ad){return _0x477d('0xe7b')+_0x1fb7ad+')';}},{'value':_0x477d('0xe7c'),'option':function(_0x5627ec){return'MIN\x20('+_0x5627ec+')';}},{'value':_0x477d('0xe7d'),'option':function(_0x662d59){return _0x477d('0xe7e')+_0x662d59+')';}},{'value':_0x477d('0xe7f'),'option':function(_0x185050){return _0x477d('0xe80')+_0x185050+')';}},{'value':_0x477d('0xe81'),'option':function(_0x1d430f){return _0x477d('0xe80')+_0x1d430f+'\x20ORDER\x20BY\x20'+_0x1d430f+_0x477d('0xe82');}},{'value':_0x477d('0xe83'),'option':function(_0x211d12){return _0x477d('0xe80')+_0x211d12+_0x477d('0xe84')+_0x211d12+_0x477d('0xe85');}}];var _0x58843f=[{'value':_0x477d('0xe86'),'option':function(_0x22e05c){return _0x477d('0xe87')+_0x22e05c+')';}},{'value':_0x477d('0xe88'),'option':function(_0x48b3a3){return _0x477d('0xe89')+_0x48b3a3+')';}},{'value':_0x477d('0xe8a'),'option':function(_0x94a8f9){return _0x477d('0xe8b')+_0x94a8f9+')';}},{'value':'ROUND','option':function(_0x36b0a0){return _0x477d('0xe8c')+_0x36b0a0+')';}},{'value':'UNIX_TIMESTAMP','option':function(_0x3942ae){return'UNIX_TIMESTAMP\x20('+_0x3942ae+')';}}];var _0x5a407b=[{'value':![],'option':function(){return'No';}},{'value':!![],'option':function(_0x2df00f){return _0x477d('0xe8d')+_0x2df00f;}}];var _0x5176d3=[{'value':_0x477d('0xe8e'),'option':function(_0x3657fa){return _0x477d('0xe8f')+_0x3657fa+_0x477d('0xe90');}},{'value':_0x477d('0xe91'),'option':function(_0x5a5c3e){return'ORDER\x20BY\x20'+_0x5a5c3e+'\x20DESC';}}];var _0x2f9729=['=','!=','<','<=','>','>=',_0x477d('0xe92'),_0x477d('0xe93'),_0x477d('0xe3c'),_0x477d('0xe3d'),_0x477d('0xe94'),'IS\x20NOT\x20EMPTY'];return{'getFunctions':_0x3d0b5a,'getFormats':_0x58843f,'getGroupBy':_0x5a407b,'getOrderBy':_0x5176d3,'getConditions':_0x2f9729};}}());(function(){'use strict';_0x3f3791[_0x477d('0xa')]=['$state',_0x477d('0x40e'),'api',_0x477d('0xe06'),_0x477d('0x55'),'userProfileSection'];angular['module'](_0x477d('0x37'))[_0x477d('0x3ba')]('ReportController',_0x3f3791);function _0x3f3791(_0x458f94,_0x122aba,_0x1cb56d,_0x5b82c5,_0xfa4229,_0x465251){var _0x3fc83d=this;_0x3fc83d[_0x477d('0xe06')]=_0x5b82c5||{};_0x3fc83d[_0x477d('0x3ac')]=_0x465251&&_0x465251['count']==0x1?_0x465251[_0x477d('0xf2')][0x0]:null;_0x3fc83d[_0x477d('0xd66')]=_0xfa4229[_0x477d('0xd81')](_0x3fc83d[_0x477d('0x3ac')]?_0x3fc83d[_0x477d('0x3ac')][_0x477d('0xd66')]:null);_0x3fc83d[_0x477d('0xe95')]=_0x458f94[_0x477d('0x37e')][_0x477d('0xe96')]||0x0;_0x3fc83d['gotoReports']=_0x59b6c5;_0x3fc83d[_0x477d('0xe23')]=_0x12ee4d;_0x3fc83d[_0x477d('0xe97')]=_0xfc6389;_0x3fc83d[_0x477d('0xe98')]=_0x5a7973;_0x3fc83d[_0x477d('0xe99')]=_0x320e37;_0x3fc83d[_0x477d('0x4a9')]=_0x4b0da8;_0x3fc83d['valueReplacer']=_0x18044f;function _0x59b6c5(){_0x458f94['go'](_0x477d('0x51'),{},{'reload':_0x477d('0x51')});}function _0x12ee4d(){_0x3fc83d['report']['conditions']=angular['toJson'](_0x3fc83d['report'][_0x477d('0xb98')]);_0x1cb56d[_0x477d('0x919')]['update']({'id':_0x3fc83d[_0x477d('0xe06')]['id']},_[_0x477d('0x3fc')](_0x3fc83d[_0x477d('0xe06')],_0x477d('0x78')))['$promise'][_0x477d('0x76')](function(){_0x122aba[_0x477d('0x485')]({'title':_0x477d('0xe9a'),'msg':_0x3fc83d[_0x477d('0xe06')][_0x477d('0x94')]?_0x3fc83d[_0x477d('0xe06')]['name']+'\x20has\x20been\x20updated!':''});})[_0x477d('0xf8')](function(_0x5487c0){_0x122aba[_0x477d('0x44a')]({'title':_0x5487c0['status']?'API:'+_0x5487c0[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x5487c0['statusText']:'SYSTEM:GETreport','msg':_0x5487c0['data']?JSON[_0x477d('0x3fb')](_0x5487c0[_0x477d('0x451')]):_0x5487c0[_0x477d('0x453')]()});});}function _0xfc6389(){_0x3fc83d[_0x477d('0x912')]=[];_0x3fc83d[_0x477d('0xf2')]=[];_0x3fc83d[_0x477d('0x44a')]=![];_0x1cb56d[_0x477d('0xbd5')][_0x477d('0x376')]({'fields':_0x477d('0x916'),'nolimit':!![],'CustomReportId':_0x3fc83d[_0x477d('0xe06')]['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x5a25de){_0x3fc83d[_0x477d('0x912')]=_0x5a25de?_0x5a25de[_0x477d('0xf2')]:[];return _0x1cb56d[_0x477d('0x919')][_0x477d('0xe9b')]({'id':_0x3fc83d[_0x477d('0xe06')]['id']})[_0x477d('0x38b')];})['then'](function(_0x4baa43){_0x3fc83d[_0x477d('0xf2')]=_0x4baa43;})[_0x477d('0xf8')](function(_0x4ed09b){console[_0x477d('0x7b')](_0x4ed09b);_0x3fc83d[_0x477d('0x44a')]={'title':_0x4ed09b[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x4ed09b[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x4ed09b[_0x477d('0x44d')]:_0x477d('0xe9c'),'msg':_0x4ed09b[_0x477d('0x451')]?_0x4ed09b[_0x477d('0x451')]['message']:_0x4ed09b['toString'](),'sql':_0x4ed09b[_0x477d('0x451')]?_0x4ed09b[_0x477d('0x451')]['parent']?_0x4ed09b[_0x477d('0x451')][_0x477d('0x374')][_0x477d('0xe9d')]:'NO\x20QUERY':_0x477d('0xe9e')};_0x122aba[_0x477d('0x44a')](_0x3fc83d[_0x477d('0x44a')]);});}function _0x18044f(_0x39477e,_0x432f72){if(moment(_0x432f72,'YYYY-MM-DDTHH:mm:ssZ',!![])['isValid']()){_0x432f72=moment(_0x432f72,'')[_0x477d('0x12f')](_0x477d('0x38d'));}return _0x432f72;}function _0x5a7973(){_0x3fc83d[_0x477d('0xe9f')]=_0x477d('0xea0');return _0x1cb56d[_0x477d('0x919')][_0x477d('0x3ef')]({'id':_0x3fc83d[_0x477d('0xe06')]['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x298de8){_0x3fc83d[_0x477d('0xe9f')]=_0x298de8[_0x477d('0xe9d')];})[_0x477d('0xf8')](function(_0x1aac6a){_0x3fc83d['queryResult']='';console[_0x477d('0x7b')](_0x1aac6a);_0x3fc83d[_0x477d('0x44a')]={'title':_0x1aac6a[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x1aac6a[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x1aac6a[_0x477d('0x44d')]:_0x477d('0xe9c'),'msg':_0x1aac6a[_0x477d('0x451')]?_0x1aac6a[_0x477d('0x451')][_0x477d('0x452')]:_0x1aac6a[_0x477d('0x453')](),'sql':_0x1aac6a['data']?_0x1aac6a[_0x477d('0x451')]['parent']?_0x1aac6a[_0x477d('0x451')][_0x477d('0x374')][_0x477d('0xe9d')]:_0x477d('0xe9e'):_0x477d('0xe9e')};_0x122aba[_0x477d('0x44a')](_0x3fc83d[_0x477d('0x44a')]);});}function _0x320e37(_0x18a343,_0x4d9bd3){if(_0x4b0da8(_0x18a343)){return _[_0x477d('0x3cb')](_0x18a343,_0x4d9bd3)[_0x477d('0x3f6')](',');}return'';}function _0x4b0da8(_0x3bd423){return _[_0x477d('0x4a9')](_0x3bd423);}}}());(function(){'use strict';_0x3fe7f2[_0x477d('0xa')]=['$location',_0x477d('0x384'),'toasty',_0x477d('0xe06'),_0x477d('0x386'),_0x477d('0xe15')];angular[_0x477d('0xb')](_0x477d('0x37'))['controller'](_0x477d('0xea1'),_0x3fe7f2);function _0x3fe7f2(_0x1838a4,_0x5a9fa0,_0x571a21,_0x3ebf6e,_0x47a9e0,_0x5552b5){var _0x3df7d6=this;_0x3df7d6['errors']=[];_0x3df7d6['report']=angular[_0x477d('0x6d9')](_0x3ebf6e);_0x3df7d6[_0x477d('0x915')]=_0x8dd8c1;_0x3df7d6['closeDialog']=_0x22c9b0;_0x5bda4f();function _0x5bda4f(){_0x3df7d6['columns']=[];_0x3df7d6[_0x477d('0xf2')]=[];_0x3df7d6[_0x477d('0x44a')]=![];var _0x1b129c={'fields':_0x477d('0x916'),'nolimit':!![]};_0x1b129c[_0x5552b5==='analyticCustomReport'?'CustomReportId':_0x477d('0xe12')]=_0x3df7d6['report']['id'];_0x3df7d6['promise']=_0x47a9e0[_0x477d('0xbd5')]['get'](_0x1b129c)['$promise']['then'](function(_0x4c786b){_0x3df7d6[_0x477d('0x912')]=_0x4c786b?_0x4c786b[_0x477d('0xf2')]:[];return _0x47a9e0[_0x5552b5][_0x477d('0xe9b')]({'id':_0x3df7d6[_0x477d('0xe06')]['id']})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x5d055b){_0x3df7d6[_0x477d('0xf2')]=_0x5d055b;})[_0x477d('0xf8')](function(_0xfbfc8b){console['log'](_0xfbfc8b);_0x3df7d6[_0x477d('0x44a')]={'title':_0xfbfc8b[_0x477d('0x3c3')]?'API:'+_0xfbfc8b['status']+_0x477d('0x44c')+_0xfbfc8b[_0x477d('0x44d')]:_0x477d('0xe9c'),'msg':_0xfbfc8b[_0x477d('0x451')]?_0xfbfc8b[_0x477d('0x451')][_0x477d('0x452')]:_0xfbfc8b[_0x477d('0x453')](),'sql':_0xfbfc8b[_0x477d('0x451')]?_0xfbfc8b[_0x477d('0x451')][_0x477d('0x374')]?_0xfbfc8b['data'][_0x477d('0x374')][_0x477d('0xe9d')]:_0x477d('0xe9e'):_0x477d('0xe9e')};_0x571a21['error'](_0x3df7d6[_0x477d('0x44a')]);});}function _0x8dd8c1(_0x2a593d,_0x37a87a){if(moment(_0x37a87a,'YYYY-MM-DDTHH:mm:ssZ',!![])[_0x477d('0x4a3')]()){_0x37a87a=moment(_0x37a87a,'')['format'](_0x477d('0x38d'));}return _0x37a87a;}function _0x22c9b0(){_0x5a9fa0[_0x477d('0x3bc')]();}}}());(function(){'use strict';_0xc2da4f[_0x477d('0xa')]=['$scope',_0x477d('0x3fe'),'$document',_0x477d('0x384'),_0x477d('0x3c4'),'$window','$translate',_0x477d('0x3a5'),_0x477d('0x3ac'),_0x477d('0x386'),_0x477d('0xea2'),'toasty',_0x477d('0x55')];angular[_0x477d('0xb')](_0x477d('0x37'))[_0x477d('0x3ba')](_0x477d('0xea3'),_0xc2da4f);function _0xc2da4f(_0x25f4d9,_0x18c997,_0xfa8790,_0x40d5e3,_0x2bbb6c,_0x1dadb4,_0x35047d,_0x37a362,_0x2ab11a,_0x526cd2,_0x4ccf56,_0x1e5a2b,_0x1b5173){var _0x301fcb=this;_0x301fcb[_0x477d('0x3e5')]=_0x1b5173['getCurrentUser']();_0x301fcb['reports']={'count':0x0,'rows':[]};_0x301fcb[_0x477d('0x3a5')]=_0x37a362;_0x301fcb[_0x477d('0x3ac')]=_0x2ab11a&&_0x2ab11a[_0x477d('0x3bb')]==0x1?_0x2ab11a[_0x477d('0xf2')][0x0]:null;_0x301fcb[_0x477d('0xd66')]=_0x1b5173[_0x477d('0xd81')](_0x301fcb[_0x477d('0x3ac')]?_0x301fcb['userProfileSection'][_0x477d('0xd66')]:null);_0x301fcb[_0x477d('0xea4')]=[];_0x301fcb[_0x477d('0x3ef')]={'fields':'createdAt,updatedAt,id,name,description,table,parent,conditions,joins','limit':0xa,'page':0x1,'sort':_0x477d('0x59')};_0x301fcb['apiName']=null;_0x301fcb['currentPath']='';_0x301fcb[_0x477d('0xea5')]=!![];_0x301fcb[_0x477d('0xea6')]=_0x2b73da;_0x301fcb['copydialog']=_0x1c75e1;_0x301fcb['previewdialog']=_0xfcee38;_0x301fcb[_0x477d('0xea7')]=_0x315c9f;_0x301fcb[_0x477d('0xea8')]=_0x1c7240;_0x301fcb[_0x477d('0xd88')]=_0x270862;_0x301fcb[_0x477d('0x485')]=_0x6f2f51;_0x301fcb['getReports']=_0x48d6db;_0x301fcb[_0x477d('0xea9')]=_0x555e19;_0x301fcb['importReport']=_0x2885f0;_0x301fcb['deleteReport']=_0x3904cb;_0x301fcb[_0x477d('0xeaa')]=_0x28b00f;_0x301fcb['deleteSelectedReports']=_0xfecddf;_0x301fcb['deselectReports']=_0x5e1ee4;_0x301fcb[_0x477d('0xeab')]=_0x4557ce;_0x301fcb['treeDefaultData']=_0x4ccf56[_0x477d('0xf2')][0x0]?angular[_0x477d('0x73c')](_0x4ccf56[_0x477d('0xf2')][0x0][_0x477d('0xeac')]):[];_0x301fcb[_0x477d('0xe07')]=_0x4ccf56['rows'][0x1]?angular['fromJson'](_0x4ccf56[_0x477d('0xf2')][0x1]['tree']):[];_0x301fcb[_0x477d('0xead')]=_0x16b51f(![]);_0x301fcb['treeCustomConfig']=_0x16b51f(!![]);_0x301fcb['treeDefaultEvents']=_0x21f395(![]);_0x301fcb['treeCustomEvents']=_0x21f395(!![]);function _0x2b73da(_0x4af41f,_0x332bad){_0x2bbb6c['go'](_0x477d('0xeae'),{'id':_0x4af41f['id'],'crudPermissions':_0x301fcb[_0x477d('0xd66')]});}function _0x1c75e1(_0xd19a2d,_0xb9e159){_0x40d5e3[_0x477d('0x395')]({'controller':_0x477d('0xe08'),'controllerAs':'vm','templateUrl':_0x477d('0xeaf'),'parent':angular[_0x477d('0x398')](_0xfa8790['body']),'targetEvent':_0xb9e159,'clickOutsideToClose':!![],'locals':{'report':_0xd19a2d,'apiName':_0x301fcb[_0x477d('0xe15')],'treeCustomData':_0x301fcb['treeCustomInstance'][_0x477d('0xeb0')](!![])[_0x477d('0xeb1')]('#')}})[_0x477d('0x5ff')](function(){});}function _0xfcee38(_0x359c8d,_0x4aad94){_0x40d5e3['show']({'controller':_0x477d('0xea1'),'controllerAs':'vm','templateUrl':_0x477d('0xeb2'),'parent':angular['element'](_0xfa8790['body']),'targetEvent':_0x4aad94,'clickOutsideToClose':!![],'locals':{'report':_0x359c8d,'apiName':_0x301fcb['apiName']}});}function _0x315c9f(_0x5533ca,_0x5e3948){_0x40d5e3[_0x477d('0x395')]({'controller':_0x477d('0xeb3'),'controllerAs':'vm','templateUrl':'app/main/apps/analytics/views/reports/run/dialog.html','parent':angular[_0x477d('0x398')](_0xfa8790[_0x477d('0x399')]),'targetEvent':_0x5e3948,'clickOutsideToClose':!![],'locals':{'report':_0x5533ca,'apiName':_0x301fcb[_0x477d('0xe15')],'currentPath':_0x301fcb[_0x477d('0xeb4')]}});}function _0x1c7240(_0xa7ef6f,_0x2995a8){var _0x45df64;_0x526cd2['analyticMetric']['get']({'fields':_0x477d('0xeb5'),'nolimit':!![]})['$promise']['then'](function(_0x3e2ed6){_0x45df64=_[_0x477d('0xdb5')](_0x3e2ed6['rows'],'id');var _0x2ee58d={'fields':_0x477d('0xeb6'),'nolimit':!![]};_0x2ee58d[_0x301fcb[_0x477d('0xe15')]===_0x477d('0x919')?_0x477d('0xe11'):'DefaultReportId']=_0xa7ef6f['id'];return _0x526cd2[_0x477d('0xbd5')][_0x477d('0x376')](_0x2ee58d)[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x3127af){for(var _0x5b1a22=0x0;_0x5b1a22<_0x3127af['rows'][_0x477d('0x79')];_0x5b1a22+=0x1){if(_0x3127af[_0x477d('0xf2')][_0x5b1a22]['MetricId']){_0x3127af[_0x477d('0xf2')][_0x5b1a22][_0x477d('0x463')]=_0x45df64[_0x3127af[_0x477d('0xf2')][_0x5b1a22][_0x477d('0xe53')]][_0x477d('0xda3')];_0x3127af[_0x477d('0xf2')][_0x5b1a22][_0x477d('0x9f6')]=!![];}delete _0x3127af[_0x477d('0xf2')][_0x5b1a22][_0x477d('0xe53')];}var _0x430018=_0x1dadb4['document']['createElement']('a');_0x430018[_0x477d('0x3c8')]=_0x477d('0xeb7')+_0x1dadb4['encodeURIComponent'](angular['toJson']({'name':_0xa7ef6f[_0x477d('0x94')],'description':_0xa7ef6f[_0x477d('0xe0e')],'table':_0xa7ef6f[_0x477d('0xd82')],'conditions':_0xa7ef6f[_0x477d('0x3f7')],'joins':_0xa7ef6f[_0x477d('0x78')],'fields':_0x3127af['rows']}));_0x430018['download']=_0xa7ef6f['name']+_0x477d('0xeb8');_0x430018[_0x477d('0x378')]=_0x477d('0xeb9');_0x430018[_0x477d('0x540')]();_0x1e5a2b['success']({'title':_0x477d('0xeba'),'msg':_0xa7ef6f['name']?_0xa7ef6f[_0x477d('0x94')]+'\x20has\x20been\x20downloaded!':''});})[_0x477d('0xf8')](function(_0x57d7f4){_0x1e5a2b[_0x477d('0x44a')]({'title':_0x57d7f4[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x57d7f4['status']+_0x477d('0x44c')+_0x57d7f4[_0x477d('0x44d')]:_0x477d('0xebb'),'msg':_0x57d7f4['data']?JSON[_0x477d('0x3fb')](_0x57d7f4[_0x477d('0x451')]):_0x57d7f4[_0x477d('0x453')]()});});}function _0x270862(_0x42918b,_0x3dfbf2){var _0xa7ccb4=_0x40d5e3[_0x477d('0xd78')]()['title'](_0x477d('0xebc'))[_0x477d('0xd92')](_0x477d('0xd93')+_0x42918b[_0x477d('0x94')]+_0x477d('0xd94')+'\x20will\x20be\x20deleted.')['ariaLabel'](_0x477d('0xebd'))[_0x477d('0xd7c')](_0x3dfbf2)['ok']('OK')['cancel'](_0x477d('0xd97'));_0x40d5e3[_0x477d('0x395')](_0xa7ccb4)[_0x477d('0x76')](function(){_0x3904cb(_0x42918b);},function(){console[_0x477d('0x7b')]('CANCEL');});}var _0xa0c116=!![];var _0x3ec05b=0x1;_0x25f4d9['$watch']('vm.query.filter',function(_0x3bfc8b,_0x19557f){if(_0xa0c116){_0x18c997(function(){_0xa0c116=![];});}else{if(!_0x19557f){_0x3ec05b=_0x301fcb['query'][_0x477d('0xe03')];}if(_0x3bfc8b!==_0x19557f){_0x301fcb['query'][_0x477d('0xe03')]=0x1;}if(!_0x3bfc8b){_0x301fcb[_0x477d('0x3ef')][_0x477d('0xe03')]=_0x3ec05b;}_0x301fcb[_0x477d('0xebe')]();}});_0x25f4d9['$watch'](_0x477d('0xebf'),function(_0x507173,_0x2dd8a5){if(_0x301fcb[_0x477d('0xec0')]){_0x301fcb[_0x477d('0xec0')][_0x477d('0xeb0')](!![])[_0x477d('0x3fd')](_0x507173);}if(_0x301fcb['treeCustomInstance']){_0x301fcb[_0x477d('0xec1')]['jstree'](!![])[_0x477d('0x3fd')](_0x507173);}});function _0x6f2f51(_0x4e87ba){_0x301fcb[_0x477d('0xe19')]=_0x4e87ba||{'count':0x0,'rows':[]};}function _0x48d6db(){_0x301fcb[_0x477d('0x3ef')]['offset']=(_0x301fcb[_0x477d('0x3ef')]['page']-0x1)*_0x301fcb[_0x477d('0x3ef')][_0x477d('0x91d')];if(_0x301fcb['apiName']){if(_0x301fcb[_0x477d('0x3e5')][_0x477d('0x3a1')]===_0x477d('0x5f')||_0x301fcb[_0x477d('0x3ac')]['autoAssociation']){_0x301fcb[_0x477d('0x553')]=_0x526cd2[_0x301fcb['apiName']][_0x477d('0x376')](_0x301fcb['query'],_0x6f2f51)[_0x477d('0x38b')];}else{var _0x430fd7=[];_0x301fcb['promise']=_0x526cd2[_0x301fcb[_0x477d('0xe15')]][_0x477d('0x376')](_0x301fcb[_0x477d('0x3ef')])[_0x477d('0x38b')]['then'](function(_0x416366){_0x430fd7=_0x416366&&_0x416366[_0x477d('0xf2')]?_0x416366[_0x477d('0xf2')]:[];if(_0x430fd7[_0x477d('0x79')]>0x0){return _0x526cd2[_0x477d('0x3ae')]['get']({'sectionId':_0x301fcb[_0x477d('0x3ac')]['id'],'type':_0x301fcb[_0x477d('0xe15')]==='analyticDefaultReport'?_0x477d('0xec2'):_0x477d('0xec3')})['$promise'][_0x477d('0x76')](function(_0x3325ec){var _0xa0619f=_0x3325ec&&_0x3325ec['rows']?_0x3325ec[_0x477d('0xf2')]:[];if(_0xa0619f[_0x477d('0x79')]>0x0){var _0x5b93a1=[];_0x430fd7[_0x477d('0x3b1')](function(_0x5cbd4e){var _0x21306d=_['find'](_0xa0619f,[_0x477d('0x3af'),_0x5cbd4e['id']]);if(_0x21306d)_0x5b93a1[_0x477d('0x3a7')](_0x5cbd4e);});return _0x6f2f51({'count':_0x5b93a1[_0x477d('0x79')],'rows':_0x5b93a1});}else{return _0x6f2f51(null);}});}else{return _0x6f2f51(null);}});}}}function _0x555e19(_0x2ac35f,_0x903032){_0x40d5e3[_0x477d('0x395')]({'controller':_0x477d('0xe16'),'controllerAs':'vm','templateUrl':_0x477d('0xec4'),'parent':angular[_0x477d('0x398')](_0xfa8790[_0x477d('0x399')]),'targetEvent':_0x2ac35f,'clickOutsideToClose':!![],'locals':{'report':_0x903032,'reports':_0x301fcb['reports'][_0x477d('0xf2')],'apiName':_0x301fcb['apiName'],'currentNode':_0x301fcb[_0x477d('0xe0f')],'setting':null,'crudPermissions':_0x301fcb[_0x477d('0xd66')]}});}function _0x2885f0(_0x1f4026,_0x7fc484,_0x26dcf6){if(_0x1f4026[_0x477d('0xec5')][_0x477d('0x439')]===_0x477d('0xec6')){var _0x43852c=new FileReader();_0x43852c[_0x477d('0xec7')]=function(_0x40df74){console[_0x477d('0x7b')](_0x40df74[_0x477d('0x378')][_0x477d('0xec8')]);try{var _0x5d821b=atob(_0x40df74['target'][_0x477d('0xec8')][_0x477d('0x472')](',')[0x1]);_0x5d821b=angular[_0x477d('0x73c')](_0x5d821b);_0x526cd2[_0x477d('0x919')][_0x477d('0xd70')]({'name':_0x5d821b[_0x477d('0x94')],'description':_0x5d821b[_0x477d('0xe0e')],'table':_0x5d821b[_0x477d('0xd82')],'conditions':_0x5d821b[_0x477d('0x3f7')],'joins':_0x5d821b['joins'],'parent':_0x301fcb[_0x477d('0xe0f')]['id']})[_0x477d('0x38b')]['then'](function(_0x3561ea){_0x301fcb[_0x477d('0xe19')]['rows'][_0x477d('0x63b')](_0x3561ea);_0x1e5a2b['success']({'title':_0x477d('0xec9'),'msg':_0x3561ea[_0x477d('0x94')]?_0x3561ea[_0x477d('0x94')]+_0x477d('0xd76'):''});var _0x4c5628=_['map'](_0x5d821b[_0x477d('0x458')],function(_0x5d2239){return _[_0x477d('0x3d1')]({},_0x5d2239,{'CustomReportId':_0x3561ea['id']});});return _0x526cd2[_0x477d('0xbd5')][_0x477d('0xe13')](_0x4c5628)[_0x477d('0x38b')];})['then'](function(_0x40842f){_0x1e5a2b[_0x477d('0x485')]({'title':_0x477d('0xeca'),'msg':'Fields\x20has\x20been\x20saved!'});})[_0x477d('0xf8')](function(_0x5c3bba){_0x1e5a2b[_0x477d('0x44a')]({'title':_0x5c3bba['status']?_0x477d('0x44b')+_0x5c3bba[_0x477d('0x3c3')]+'\x20-\x20'+_0x5c3bba[_0x477d('0x44d')]:_0x477d('0xecb'),'msg':_0x5c3bba[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x5c3bba[_0x477d('0x451')]):_0x5c3bba[_0x477d('0x453')]()});});}catch(_0x3a7883){console[_0x477d('0x44a')](_0x3a7883);_0x1e5a2b[_0x477d('0x44a')]({'title':_0x477d('0xecc'),'msg':_0x3a7883[_0x477d('0x453')]()});}};_0x43852c[_0x477d('0xecd')](_0x1f4026[_0x477d('0xec5')]);}else{_0x1e5a2b['error']({'title':'Format\x20Error','msg':_0x477d('0xece')});}}function _0x3904cb(_0x55e4a2){if(_0x301fcb[_0x477d('0xe15')]){_0x526cd2[_0x301fcb[_0x477d('0xe15')]][_0x477d('0xa55')]({'id':_0x55e4a2['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x301fcb[_0x477d('0xe19')][_0x477d('0xf2')],{'id':_0x55e4a2['id']});_0x301fcb['reports'][_0x477d('0x3bb')]-=0x1;if(!_0x301fcb[_0x477d('0xe19')][_0x477d('0xf2')][_0x477d('0x79')]){_0x301fcb['getReports']();}_0x1e5a2b[_0x477d('0x485')]({'title':_0x477d('0xecf'),'msg':_0x55e4a2['name']?_0x55e4a2['name']+_0x477d('0xd7e'):''});})[_0x477d('0xf8')](function(_0x324e3f){if(_0x324e3f['data']&&_0x324e3f[_0x477d('0x451')][_0x477d('0xd67')]&&_0x324e3f['data'][_0x477d('0xd67')][_0x477d('0x79')]){_0x301fcb[_0x477d('0xd67')]=_0x324e3f['data'][_0x477d('0xd67')]||[{'message':_0x324e3f[_0x477d('0x453')](),'type':_0x477d('0xed0')}];for(var _0x101893=0x0;_0x101893<_0x324e3f[_0x477d('0x451')]['errors'][_0x477d('0x79')];_0x101893++){_0x1e5a2b[_0x477d('0x44a')]({'title':_0x324e3f['data'][_0x477d('0xd67')][_0x101893][_0x477d('0x439')],'msg':_0x324e3f[_0x477d('0x451')]['errors'][_0x101893][_0x477d('0x452')]});}}else{_0x1e5a2b[_0x477d('0x44a')]({'title':_0x324e3f[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x324e3f['status']+_0x477d('0x44c')+_0x324e3f['statusText']:_0x477d('0xed0'),'msg':_0x324e3f[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x324e3f[_0x477d('0x451')][_0x477d('0x452')]):_0x324e3f[_0x477d('0x452')]||_0x324e3f['toString']()});}});}}function _0x28b00f(){var _0xbabcf3=angular[_0x477d('0x6d9')](_0x301fcb[_0x477d('0xea4')]);_0x301fcb['selectedReports']=[];return _0xbabcf3;}function _0xfecddf(_0xead54d){var _0x3d52cc=_0x40d5e3[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xed1'))['htmlContent'](_0x477d('0xd93')+_0x301fcb['selectedReports'][_0x477d('0x79')]+'\x20selected'+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0xed2'))[_0x477d('0xd7c')](_0xead54d)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x40d5e3[_0x477d('0x395')](_0x3d52cc)[_0x477d('0x76')](function(){_0x301fcb[_0x477d('0xea4')]['forEach'](function(_0x4a61a2){_0x3904cb(_0x4a61a2);});_0x301fcb[_0x477d('0xea4')]=[];});}function _0x5e1ee4(){_0x301fcb[_0x477d('0xea4')]=[];}function _0x4557ce(){_0x301fcb[_0x477d('0xea4')]=_0x301fcb['reports'][_0x477d('0xf2')];}function _0x17e5fe(_0x34c944,_0x1e73ed){_0x301fcb['treeDefaultInstance']['jstree'](!![])['deselect_all']();_0x301fcb[_0x477d('0xec0')][_0x477d('0xeb0')](!![])['close_all']();_0x301fcb[_0x477d('0xe0f')]=_0x1e73ed[_0x477d('0x584')];_0x301fcb['currentNode'][_0x477d('0x9f6')]=!![];_0x301fcb[_0x477d('0xeb4')]=_0x301fcb[_0x477d('0xec1')]['jstree'](!![])[_0x477d('0xed3')](_0x301fcb[_0x477d('0xe0f')])[_0x477d('0x3f6')]('/\x20');_0x301fcb['apiName']='analyticCustomReport';_0x301fcb[_0x477d('0x3ef')][_0x477d('0x374')]=_0x1e73ed[_0x477d('0x584')]['id'];_0x48d6db();}function _0x122dda(_0x24c94e,_0x9261c0){_0x301fcb['treeCustomInstance']['jstree'](!![])[_0x477d('0xed4')]();_0x301fcb[_0x477d('0xec1')][_0x477d('0xeb0')](!![])[_0x477d('0xed5')]();_0x301fcb[_0x477d('0xe0f')]=_0x9261c0[_0x477d('0x584')];_0x301fcb[_0x477d('0xe0f')][_0x477d('0x9f6')]=![];_0x301fcb['currentPath']=_0x301fcb['treeDefaultInstance'][_0x477d('0xeb0')](!![])[_0x477d('0xed3')](_0x301fcb[_0x477d('0xe0f')])['join']('/\x20');_0x301fcb['apiName']='analyticDefaultReport';_0x301fcb['query']['parent']=_0x9261c0[_0x477d('0x584')]['id'];_0x48d6db();}function _0x3c3bcd(_0x48ddde,_0x4c3c8b){}function _0x1f0c19(_0x552ad2,_0x710ef4){var _0x5536b5=angular[_0x477d('0x56c')](_0x301fcb[_0x477d('0xec1')][_0x477d('0xeb0')](!![])[_0x477d('0xeb1')]('#'));_0x526cd2[_0x477d('0xbda')][_0x477d('0x710')]({'id':0x2,'tree':_0x5536b5})['$promise']['then'](function(){if(_0x4ccf56[_0x477d('0xf2')][0x1]){_0x4ccf56[_0x477d('0xf2')][0x1][_0x477d('0xeac')]=_0x5536b5;}_0x1e5a2b[_0x477d('0x485')]({'title':_0x477d('0xed6'),'msg':_0x710ef4[_0x477d('0x584')][_0x477d('0x41b')]?_0x710ef4[_0x477d('0x584')][_0x477d('0x41b')]+_0x477d('0xed7'):'Node\x20has\x20been\x20updated!'});})[_0x477d('0xf8')](function(_0x514703){_0x1e5a2b[_0x477d('0x44a')]({'title':_0x514703[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x514703['status']+_0x477d('0x44c')+_0x514703['statusText']:_0x477d('0xed8'),'msg':_0x514703[_0x477d('0x451')]?JSON['stringify'](_0x514703[_0x477d('0x451')]):_0x514703[_0x477d('0x453')]()});});}function _0x16b51f(_0x489af0){return{'core':{'multiple':![],'animation':!![],'error':function(_0x29ad2c){console[_0x477d('0x44a')](_0x477d('0xe0b')+angular[_0x477d('0x56c')](_0x29ad2c));},'check_callback':!![],'worker':!![]},'version':0x1,'plugins':_0x489af0?[_0x477d('0xed9'),'dnd',_0x477d('0x3fd'),_0x477d('0xe'),_0x477d('0xeda')]:['search',_0x477d('0xe'),'wholerow'],'contextmenu':{'items':function(_0x4457e5){var _0xdb7d1e={};if(_0x301fcb[_0x477d('0xd66')][_0x477d('0xedb')]){_[_0x477d('0x39b')](_0xdb7d1e,{'create':{'label':_0x35047d[_0x477d('0x45f')](_0x477d('0xedc')),'action':function(){_0x4457e5=_0x301fcb['treeCustomInstance']['jstree'](!![])['create_node'](_0x4457e5);_0x301fcb[_0x477d('0xec1')]['jstree'](!![])[_0x477d('0xedd')](_0x4457e5);}},'rename':{'_disabled':_0x4457e5[_0x477d('0x374')]==='#','label':_0x35047d[_0x477d('0x45f')](_0x477d('0xede')),'action':function(){_0x301fcb[_0x477d('0xec1')][_0x477d('0xeb0')](!![])[_0x477d('0xedd')](_0x4457e5);}}});}if(_0x301fcb[_0x477d('0xd66')][_0x477d('0xedf')]){_[_0x477d('0x39b')](_0xdb7d1e,{'remove':{'_disabled':_0x4457e5[_0x477d('0x374')]==='#','label':_0x35047d[_0x477d('0x45f')](_0x477d('0xee0')),'action':function(){var _0x121484=_0x40d5e3[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xee1'))[_0x477d('0xd92')](_0x477d('0xd93')+(_0x4457e5[_0x477d('0x41b')]?_0x4457e5[_0x477d('0x41b')]:_0x477d('0xee2'))+_0x477d('0xd94')+_0x477d('0xee3'))[_0x477d('0x687')](_0x477d('0xee4'))['ok']('OK')['cancel'](_0x477d('0xd97'));_0x40d5e3[_0x477d('0x395')](_0x121484)[_0x477d('0x76')](function(){var _0x241a14=_0x301fcb[_0x477d('0xec1')][_0x477d('0xeb0')](!![])[_0x477d('0xee5')](_0x4457e5);_0x241a14=_0x301fcb[_0x477d('0xec1')][_0x477d('0xeb0')](!![])[_0x477d('0xee6')](_0x241a14);_0x301fcb['treeCustomInstance'][_0x477d('0xeb0')](!![])[_0x477d('0xee7')](_0x4457e5);_0x279b73([_0x4457e5['id']][_0x477d('0x3a9')](_0x4457e5['children_d']||[]));_0x301fcb[_0x477d('0xec1')][_0x477d('0xeb0')](!![])[_0x477d('0xee8')](_0x241a14);});}}});}return _0xdb7d1e;}}};}function _0x279b73(_0x4d9b62){return _0x526cd2[_0x477d('0x919')][_0x477d('0x376')]({'parent':_0x4d9b62[_0x477d('0x3f6')](','),'fields':_0x477d('0x9c')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x397cf0){if(_0x397cf0&&_0x397cf0['rows']){_0x397cf0[_0x477d('0xf2')][_0x477d('0x3b1')](function(_0x8b7ea3){_0x3904cb(_0x8b7ea3);});}})[_0x477d('0xf8')](function(_0x2dcdc9){_0x1e5a2b['error']({'title':_0x2dcdc9[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x2dcdc9[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x2dcdc9[_0x477d('0x44d')]:_0x477d('0xee9'),'msg':_0x2dcdc9[_0x477d('0x451')]?JSON['stringify'](_0x2dcdc9['data']):_0x2dcdc9[_0x477d('0x453')]()});});}function _0x21f395(_0x3ef6a0){return _0x3ef6a0?{'create_node':_0x1f0c19,'rename_node':_0x1f0c19,'move_node':_0x1f0c19,'delete_node':_0x1f0c19,'select_node':_0x17e5fe}:{'select_node':_0x122dda};}}}());(function(){'use strict';_0x7879c6['$inject']=[_0x477d('0xd64'),_0x477d('0x384'),_0x477d('0x40e'),_0x477d('0xe06'),_0x477d('0x386'),_0x477d('0xe15'),_0x477d('0x475'),_0x477d('0xeb4')];angular[_0x477d('0xb')]('app.analytics')['controller']('RunReportDialogController',_0x7879c6);function _0x7879c6(_0x5bd48a,_0x54df1b,_0xa2f8e5,_0x136dcc,_0x4bd5b5,_0x26ec60,_0x8277e7,_0x1d2148){var _0x1840e2=this;_0x1840e2[_0x477d('0xd67')]=[];_0x1840e2['report']=angular[_0x477d('0x6d9')](_0x136dcc);_0x1840e2[_0x477d('0xeea')]={};_0x1840e2[_0x477d('0xeeb')]=_0x324aa5;_0x1840e2[_0x477d('0x6bf')]=_0x2e68f0;_0x1840e2[_0x477d('0xeec')]=_0x4ca972;_0x4ca972();function _0x4ca972(){_0x1840e2[_0x477d('0xeea')]={'id':_0x1840e2[_0x477d('0xe06')]['id'],'name':_0x1840e2[_0x477d('0xe06')][_0x477d('0x94')],'startDate':new Date(moment()['startOf']('day')),'endDate':new Date(moment()[_0x477d('0x130')](_0x477d('0x137'))),'output':_0x477d('0xeed'),'fullPath':_0x1d2148?_0x1d2148+'/'+_0x1840e2[_0x477d('0xe06')]['name']:_0x1840e2[_0x477d('0xe06')][_0x477d('0x94')]};}function _0x324aa5(_0x3c3933){_0x1840e2['errors']=[];_0x1840e2[_0x477d('0xeee')]=_['assign']({},_0x1840e2[_0x477d('0xeea')],{'startDate':moment(_0x1840e2['export']['startDate'])[_0x477d('0x12f')](_0x477d('0x38d')),'endDate':moment(_0x1840e2[_0x477d('0xeea')]['endDate'])[_0x477d('0x12f')](_0x477d('0x38d'))});_0x4bd5b5[_0x26ec60]['run'](_0x1840e2[_0x477d('0xeee')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x103062){if(_0x1840e2[_0x477d('0xeea')]['output']==='web'){_0x54df1b[_0x477d('0x395')]({'controller':_0x477d('0xeef'),'controllerAs':'vm','templateUrl':_0x477d('0xef0'),'parent':angular[_0x477d('0x398')](_0x8277e7[_0x477d('0x399')]),'targetEvent':_0x3c3933,'skipHide':!![],'locals':{'apiName':_0x26ec60,'exportDate':_0x1840e2[_0x477d('0xeee')],'results':_0x103062},'resolve':{'columns':[_0x477d('0x5e'),function(_0x40f8f4){var _0x329c89={'fields':_0x477d('0x916'),'nolimit':!![]};_0x329c89[_0x26ec60==='analyticCustomReport'?_0x477d('0xe11'):_0x477d('0xe12')]=_0x1840e2['report']['id'];return _0x40f8f4[_0x477d('0x5a')](_0x477d('0xef1'),_0x329c89);}]}});}else{_0xa2f8e5[_0x477d('0x485')]({'title':'Report\x20properly\x20run!','msg':_0x1840e2[_0x477d('0xe06')][_0x477d('0x94')]?_0x1840e2[_0x477d('0xe06')][_0x477d('0x94')]+_0x477d('0xef2'):''});_0x2e68f0();}})[_0x477d('0xf8')](function(_0x3de365){_0xa2f8e5[_0x477d('0x44a')]({'title':_0x3de365[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x3de365[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x3de365[_0x477d('0x44d')]:_0x477d('0xe39'),'msg':_0x3de365[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x3de365[_0x477d('0x451')][_0x477d('0x452')]):_0x3de365['toString']()});});}function _0x2e68f0(){_0x54df1b[_0x477d('0x3bc')]();}}}());(function(){'use strict';_0x59dce6[_0x477d('0xa')]=['$mdDialog',_0x477d('0x40e'),_0x477d('0x386'),'columns',_0x477d('0x717'),'apiName',_0x477d('0xeee')];angular[_0x477d('0xb')](_0x477d('0x37'))[_0x477d('0x3ba')]('WebReportDialogController',_0x59dce6);function _0x59dce6(_0x21c929,_0x2fdf2b,_0xba73cd,_0xcccb61,_0x3e1207,_0x505878,_0x3d8faa){var _0x35f519=this;_0x35f519[_0x477d('0xd67')]=[];_0x35f519[_0x477d('0x912')]=_0xcccb61?_0xcccb61['rows']:[];_0x35f519[_0x477d('0x717')]=_0x3e1207||{'rows':[],'count':0x0};_0x35f519[_0x477d('0x3ef')]={'limit':0xa,'page':0x1};_0x35f519[_0x477d('0x6bf')]=_0x593d05;_0x35f519[_0x477d('0x914')]=_0x34c599;_0x35f519[_0x477d('0x915')]=_0x2063e2;function _0x34c599(){_0x3d8faa[_0x477d('0x91c')]=(_0x35f519[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x35f519[_0x477d('0x3ef')][_0x477d('0x91d')];_0x3d8faa[_0x477d('0x91d')]=_0x35f519[_0x477d('0x3ef')][_0x477d('0x91d')];_0x35f519[_0x477d('0x553')]=_0xba73cd[_0x505878][_0x477d('0x373')](_0x3d8faa,_0x3504b1)[_0x477d('0x38b')];}function _0x2063e2(_0x4a80aa,_0x8dc98b){if(moment(_0x8dc98b,_0x477d('0x91e'),!![])[_0x477d('0x4a3')]()){_0x8dc98b=moment(_0x8dc98b,'')[_0x477d('0x12f')](_0x477d('0x38d'));}return _0x8dc98b;}function _0x3504b1(_0x43238d){_0x35f519[_0x477d('0x717')]=_0x43238d||{'count':0x0,'rows':[]};}function _0x593d05(){_0x21c929[_0x477d('0x3bc')]();}}}());(function(){'use strict';_0x50857a[_0x477d('0xa')]=[_0x477d('0x474'),'$state',_0x477d('0xd64'),_0x477d('0x384'),'$q','$translate','toasty',_0x477d('0xef3'),_0x477d('0xef4'),_0x477d('0x386'),_0x477d('0x55'),_0x477d('0x613'),_0x477d('0xc8e'),'crudPermissions'];angular[_0x477d('0xb')](_0x477d('0x36'))[_0x477d('0x3ba')]('CreateOrEditOdbcDialogController',_0x50857a);function _0x50857a(_0x4906bf,_0x528bf7,_0x8333d6,_0x1571e9,_0x1fe7ba,_0xcad59b,_0x522105,_0x355ceb,_0x5cecde,_0x37ba69,_0x277764,_0x59ea51,_0x26b042,_0x29eb56){var _0x249d28=this;_0x249d28[_0x477d('0x3e5')]=_0x277764[_0x477d('0x5c')]();_0x249d28[_0x477d('0xd67')]=[];_0x249d28[_0x477d('0xc8e')]=_0x26b042;_0x249d28[_0x477d('0x613')]=_0x59ea51;_0x249d28[_0x477d('0xd66')]=_0x29eb56;_0x249d28[_0x477d('0xd68')]={};_0x249d28['passwordPattern']=_0x249d28['setting']&&_0x249d28[_0x477d('0xc8e')]['securePassword']?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x249d28[_0x477d('0x49a')]=_0x477d('0xef5');_0x249d28[_0x477d('0xef4')]=angular[_0x477d('0x6d9')](_0x5cecde);_0x249d28['odbcs']=_0x355ceb;_0x249d28[_0x477d('0xef6')]=![];if(!_0x249d28[_0x477d('0xef4')]){_0x249d28[_0x477d('0xef4')]={};_0x249d28[_0x477d('0x49a')]=_0x477d('0xef7');_0x249d28['newOdbc']=!![];}_0x249d28[_0x477d('0xef8')]=_0x2ad7a0;_0x249d28[_0x477d('0xef9')]=_0x518231;_0x249d28[_0x477d('0xefa')]=_0x724e94;_0x249d28[_0x477d('0xd6f')]=_0x41788c;_0x249d28[_0x477d('0x6bf')]=_0x513c2d;function _0x2ad7a0(){_0x249d28[_0x477d('0xd67')]=[];_0x37ba69['squareOdbc']['save'](_0x249d28[_0x477d('0xef4')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x44e824){_0x249d28[_0x477d('0xef3')]['unshift'](_0x44e824['toJSON']());_0x522105['success']({'title':_0x477d('0xefb'),'msg':_0x249d28[_0x477d('0xef4')][_0x477d('0x94')]?_0x249d28[_0x477d('0xef4')][_0x477d('0x94')]+_0x477d('0xd73'):''});_0x513c2d(_0x44e824);})['catch'](function(_0x575e2a){if(_0x575e2a[_0x477d('0x451')]&&_0x575e2a[_0x477d('0x451')]['errors']&&_0x575e2a[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x249d28[_0x477d('0xd67')]=_0x575e2a[_0x477d('0x451')]['errors']||[{'message':_0x575e2a[_0x477d('0x453')](),'type':'api.squareOdbc.save'}];for(var _0x11e59f=0x0;_0x11e59f<_0x575e2a['data'][_0x477d('0xd67')][_0x477d('0x79')];_0x11e59f+=0x1){_0x522105[_0x477d('0x44a')]({'title':_0x575e2a[_0x477d('0x451')][_0x477d('0xd67')][_0x11e59f][_0x477d('0x439')],'msg':_0x575e2a[_0x477d('0x451')][_0x477d('0xd67')][_0x11e59f][_0x477d('0x452')]});}}else{_0x522105[_0x477d('0x44a')]({'title':_0x575e2a[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x575e2a[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x575e2a[_0x477d('0x44d')]:_0x477d('0xefc'),'msg':_0x575e2a[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x575e2a[_0x477d('0x451')]['message']):_0x575e2a['toString']()});}});}function _0x518231(){_0x249d28[_0x477d('0xd67')]=[];_0x37ba69[_0x477d('0xc95')][_0x477d('0x710')]({'id':_0x249d28[_0x477d('0xef4')]['id']},_0x249d28['odbc'])['$promise'][_0x477d('0x76')](function(_0x3d2328){var _0x58b31d=_['find'](_0x249d28['odbcs'],{'id':_0x3d2328['id']});if(_0x58b31d){_[_0x477d('0xef')](_0x58b31d,_[_0x477d('0x10b')](_0x3d2328['toJSON'](),_[_0x477d('0x7f')](_0x58b31d)));}_0x522105[_0x477d('0x485')]({'title':_0x477d('0xefd'),'msg':_0x249d28['odbc'][_0x477d('0x94')]?_0x249d28[_0x477d('0xef4')][_0x477d('0x94')]+_0x477d('0xd76'):''});_0x513c2d(_0x3d2328);})['catch'](function(_0x326073){if(_0x326073[_0x477d('0x451')]&&_0x326073['data'][_0x477d('0xd67')]&&_0x326073['data'][_0x477d('0xd67')][_0x477d('0x79')]){_0x249d28[_0x477d('0xd67')]=_0x326073[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x326073['toString'](),'type':_0x477d('0xefe')}];for(var _0x39e429=0x0;_0x39e429<_0x326073[_0x477d('0x451')]['errors'][_0x477d('0x79')];_0x39e429++){_0x522105[_0x477d('0x44a')]({'title':_0x326073['data']['errors'][_0x39e429][_0x477d('0x439')],'msg':_0x326073[_0x477d('0x451')]['errors'][_0x39e429][_0x477d('0x452')]});}}else{_0x522105[_0x477d('0x44a')]({'title':_0x326073[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x326073[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x326073[_0x477d('0x44d')]:_0x477d('0xefe'),'msg':_0x326073['data']?JSON[_0x477d('0x3fb')](_0x326073[_0x477d('0x451')]['message']):_0x326073[_0x477d('0x453')]()});}});}function _0x724e94(_0x113f3c){_0x249d28[_0x477d('0xd67')]=[];var _0x479854=_0x1571e9[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xd79'))[_0x477d('0xdaf')]('The\x20odbc\x20will\x20be\x20deleted.')['ariaLabel']('Delete\x20Odbc')['ok'](_0x477d('0xd7b'))[_0x477d('0x4f0')](_0x477d('0x688'))['targetEvent'](_0x113f3c);_0x1571e9[_0x477d('0x395')](_0x479854)['then'](function(){_0x37ba69[_0x477d('0xc95')][_0x477d('0xa55')]({'id':_0x249d28[_0x477d('0xef4')]['id']})['$promise'][_0x477d('0x76')](function(){_['remove'](_0x249d28[_0x477d('0xef3')],{'id':_0x249d28[_0x477d('0xef4')]['id']});_0x522105[_0x477d('0x485')]({'title':_0x477d('0xeff'),'msg':(_0x249d28[_0x477d('0xef4')]['name']||_0x477d('0xef4'))+'\x20has\x20been\x20deleted!'});_0x513c2d(_0x249d28['odbc']);})[_0x477d('0xf8')](function(_0x170d77){if(_0x170d77[_0x477d('0x451')]&&_0x170d77[_0x477d('0x451')][_0x477d('0xd67')]&&_0x170d77[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x249d28[_0x477d('0xd67')]=_0x170d77[_0x477d('0x451')]['errors']||[{'message':_0x170d77['toString'](),'type':'api.squareOdbc.delete'}];for(var _0x1907a7=0x0;_0x1907a7<_0x170d77[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x1907a7++){_0x522105['error']({'title':_0x170d77[_0x477d('0x451')][_0x477d('0xd67')][_0x1907a7]['type'],'msg':_0x170d77[_0x477d('0x451')][_0x477d('0xd67')][_0x1907a7][_0x477d('0x452')]});}}else{_0x522105[_0x477d('0x44a')]({'title':_0x170d77[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x170d77[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x170d77[_0x477d('0x44d')]:_0x477d('0xf00'),'msg':_0x170d77['data']?JSON[_0x477d('0x3fb')](_0x170d77[_0x477d('0x451')][_0x477d('0x452')]):_0x170d77[_0x477d('0x452')]||_0x170d77[_0x477d('0x453')]()});}});},function(){});}function _0x41788c(_0x3e2871){return _0x3e2871===null?undefined:new Date(_0x3e2871);}function _0x513c2d(_0x5988bd){_0x1571e9['hide'](_0x5988bd);}}}());(function(){'use strict';_0x530fae[_0x477d('0xa')]=[_0x477d('0x474'),'$window',_0x477d('0x3c4'),_0x477d('0x554'),_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x3fe'),_0x477d('0x40d'),_0x477d('0xef3'),_0x477d('0x3a5'),_0x477d('0x3ac'),'api',_0x477d('0x342'),_0x477d('0x40e'),_0x477d('0x55'),_0x477d('0x613'),'setting'];angular[_0x477d('0xb')]('app.callysquare')[_0x477d('0x3ba')](_0x477d('0xf01'),_0x530fae);function _0x530fae(_0x56752d,_0x3a1e88,_0x9b959a,_0x3055b0,_0x2b5da1,_0x593e96,_0x334c50,_0x247900,_0x553e88,_0x4ab79b,_0x30bee8,_0x4a3537,_0x3eb3da,_0x1ea614,_0xa31d61,_0x515572,_0x4067a0){var _0x386861=this;_0x386861[_0x477d('0x613')]=_0x515572;_0x386861['setting']=_0x4067a0;_0x386861[_0x477d('0x3e5')]=_0xa31d61['getCurrentUser']();_0x386861['odbcs']=_0x553e88||{'count':0x0,'rows':[]};_0x386861['userProfile']=_0x4ab79b;_0x386861[_0x477d('0x3ac')]=_0x30bee8&&_0x30bee8[_0x477d('0x3bb')]==0x1?_0x30bee8['rows'][0x0]:null;_0x386861[_0x477d('0xd66')]=_0xa31d61[_0x477d('0xd81')](_0x386861[_0x477d('0x3ac')]?_0x386861['userProfileSection']['crudPermissions']:null);_0x386861[_0x477d('0xd82')]='odbcs';_0x386861[_0x477d('0xd83')]='';_0x386861[_0x477d('0xd84')]=null;_0x386861['selectedODBC']=[];_0x386861['query']={'fields':_0x477d('0xf02'),'sort':_0x477d('0x59'),'limit':0xa,'page':0x1};_0x386861[_0x477d('0xd86')]=_0x24d63d;_0x386861[_0x477d('0xf03')]=_0x1140c0;_0x386861['deleteconfirm']=_0x3533dd;_0x386861[_0x477d('0x485')]=_0x4aa9fa;_0x386861['getODBC']=_0x3489ea;_0x386861[_0x477d('0xf04')]=_0x3c4cab;_0x386861['deleteOdbc']=_0x4002db;_0x386861[_0x477d('0xf05')]=_0x5dfc7e;_0x386861[_0x477d('0xf06')]=_0x37fb26;_0x386861['deselectODBC']=_0x35d973;_0x386861[_0x477d('0xf07')]=_0x13bfba;function _0x24d63d(_0x31cb99,_0x8c92b9){_0x2b5da1[_0x477d('0x395')]({'controller':_0x477d('0xf08'),'controllerAs':'vm','templateUrl':'app/main/apps/callysquare/views/odbcs/create/dialog.html','parent':angular[_0x477d('0x398')](_0x593e96[_0x477d('0x399')]),'targetEvent':_0x8c92b9,'clickOutsideToClose':!![],'locals':{'odbc':_0x31cb99,'odbcs':_0x386861[_0x477d('0xef3')][_0x477d('0xf2')],'license':_0x386861['license'],'setting':null,'crudPermissions':_0x386861[_0x477d('0xd66')]}});}function _0x1140c0(_0x228cbd,_0xf70980){return _0x4a3537[_0x477d('0xc95')]['test']({'id':_0x228cbd['id']})[_0x477d('0x38b')]['then'](function(){_0x1ea614[_0x477d('0x485')]({'title':_0x477d('0xf09'),'msg':_0x477d('0xf0a')});})[_0x477d('0xf8')](function(_0x417b82){_0x1ea614[_0x477d('0x44a')]({'title':'Square\x20ODBC\x20properly\x20tested','msg':_0x417b82['data']?JSON[_0x477d('0x3fb')](_0x417b82[_0x477d('0x451')]):_0x417b82[_0x477d('0x453')]()});});}function _0x3533dd(_0x7b7d77,_0xb9a298){var _0x5ed571=_0x2b5da1[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xd90')+_[_0x477d('0xd91')](_0x477d('0xef4'))+'?')[_0x477d('0xd92')](_0x477d('0xd93')+(_0x7b7d77[_0x477d('0x94')]||_0x477d('0xef4'))+_0x477d('0xd94')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0xf0b'))[_0x477d('0xd7c')](_0xb9a298)['ok']('OK')['cancel'](_0x477d('0xd97'));_0x2b5da1[_0x477d('0x395')](_0x5ed571)['then'](function(){_0x4002db(_0x7b7d77);},function(){console['log'](_0x477d('0xd97'));});}var _0xbccaac=!![];var _0x2208a1=0x1;_0x56752d[_0x477d('0x4b5')](_0x477d('0xd98'),function(_0x5b7a00,_0x41a287){if(_0xbccaac){_0x334c50(function(){_0xbccaac=![];});}else{if(!_0x41a287){_0x2208a1=_0x386861[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x5b7a00!==_0x41a287){_0x386861[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0x5b7a00){_0x386861['query'][_0x477d('0xe03')]=_0x2208a1;}_0x386861[_0x477d('0xf0c')]();}});function _0x4aa9fa(_0x4733d5){_0x386861['odbcs']=_0x4733d5||{'count':0x0,'rows':[]};}function _0x3489ea(){_0x386861[_0x477d('0x3ef')]['offset']=(_0x386861[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x386861[_0x477d('0x3ef')][_0x477d('0x91d')];if(_0xa31d61[_0x477d('0x56')]('admin')){_0x386861[_0x477d('0x553')]=_0x4a3537['squareOdbc']['get'](_0x386861[_0x477d('0x3ef')],_0x4aa9fa)[_0x477d('0x38b')];}else{_0x386861[_0x477d('0x3ef')]['id']=_0x386861[_0x477d('0x3a5')]['id'];_0x386861['query'][_0x477d('0xd99')]=_0x477d('0x86');_0x386861[_0x477d('0x553')]=_0x4a3537[_0x477d('0x3a5')][_0x477d('0xd9a')](_0x386861[_0x477d('0x3ef')],_0x4aa9fa)[_0x477d('0x38b')];}}function _0x3c4cab(_0x40fd16,_0x512175){_0x2b5da1['show']({'controller':'CreateOrEditOdbcDialogController','controllerAs':'vm','templateUrl':_0x477d('0xf0d'),'parent':angular[_0x477d('0x398')](_0x593e96[_0x477d('0x399')]),'targetEvent':_0x40fd16,'clickOutsideToClose':!![],'locals':{'odbc':_0x512175,'odbcs':_0x386861[_0x477d('0xef3')]['rows'],'license':_0x386861[_0x477d('0x613')],'setting':_0x386861[_0x477d('0xc8e')],'crudPermissions':_0x386861[_0x477d('0xd66')]}});}function _0x4002db(_0x15c63f){_0x4a3537[_0x477d('0xc95')][_0x477d('0xa55')]({'id':_0x15c63f['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x386861['odbcs'][_0x477d('0xf2')],{'id':_0x15c63f['id']});_0x386861[_0x477d('0xef3')][_0x477d('0x3bb')]-=0x1;if(!_0x386861[_0x477d('0xef3')][_0x477d('0xf2')]['length']){_0x386861[_0x477d('0xf0c')]();}_0x1ea614[_0x477d('0x485')]({'title':_[_0x477d('0xd91')]('Odbc')+_0x477d('0xd9d'),'msg':_0x15c63f[_0x477d('0x94')]?_0x15c63f[_0x477d('0x94')]+'\x20has\x20been\x20deleted!':''});})['catch'](function(_0x3386ea){if(_0x3386ea['data']&&_0x3386ea[_0x477d('0x451')][_0x477d('0xd67')]&&_0x3386ea[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x386861['errors']=_0x3386ea[_0x477d('0x451')]['errors']||[{'message':_0x3386ea[_0x477d('0x453')](),'type':_0x477d('0xf0e')}];for(var _0x49776d=0x0;_0x49776d<_0x3386ea[_0x477d('0x451')][_0x477d('0xd67')]['length'];_0x49776d++){_0x1ea614[_0x477d('0x44a')]({'title':_0x3386ea['data'][_0x477d('0xd67')][_0x49776d][_0x477d('0x439')],'msg':_0x3386ea[_0x477d('0x451')]['errors'][_0x49776d]['message']});}}else{_0x1ea614[_0x477d('0x44a')]({'title':_0x3386ea[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x3386ea['status']+_0x477d('0x44c')+_0x3386ea[_0x477d('0x44d')]:_0x477d('0xf0e'),'msg':_0x3386ea[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x3386ea['data'][_0x477d('0x452')]):_0x3386ea[_0x477d('0x452')]||_0x3386ea[_0x477d('0x453')]()});}});}function _0x5dfc7e(){var _0xdb5276=angular['copy'](_0x386861[_0x477d('0xf0f')]);_0x386861[_0x477d('0xf0f')]=[];return _0xdb5276;}function _0x37fb26(_0x44c73f){var _0x4ce1d5=_0x2b5da1[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xf10'))['htmlContent'](_0x477d('0xd93')+_0x386861[_0x477d('0xf0f')][_0x477d('0x79')]+'\x20selected'+_0x477d('0xd95'))['ariaLabel'](_0x477d('0xf11'))[_0x477d('0xd7c')](_0x44c73f)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x2b5da1[_0x477d('0x395')](_0x4ce1d5)[_0x477d('0x76')](function(){_0x386861['selectedODBC'][_0x477d('0x3b1')](function(_0x3d4970){_0x4002db(_0x3d4970);});_0x386861[_0x477d('0xf0f')]=[];});}function _0x35d973(){_0x386861[_0x477d('0xf0f')]=[];}function _0x13bfba(){_0x386861['selectedODBC']=_0x386861[_0x477d('0xef3')]['rows'];}}}());(function(){'use strict';_0x52d9a8[_0x477d('0xa')]=['$mdDialog','$window',_0x477d('0x3c4'),_0x477d('0x55'),_0x477d('0x40e'),_0x477d('0xf12'),_0x477d('0xf13'),_0x477d('0x386'),'openFromEditor',_0x477d('0xd66')];angular['module'](_0x477d('0x36'))[_0x477d('0x3ba')](_0x477d('0xf14'),_0x52d9a8);function _0x52d9a8(_0x2a38a6,_0x27af9a,_0x442638,_0x1a1d00,_0x56640e,_0x206264,_0x22b499,_0x399a6b,_0x2c9990,_0x1de839){var _0x2f0b20=this;_0x2f0b20['errors']=[];_0x2f0b20['title']=_0x477d('0xf15');_0x2f0b20[_0x477d('0xd66')]=_0x1de839;_0x2f0b20[_0x477d('0xf13')]=angular[_0x477d('0x6d9')](_0x22b499);_0x2f0b20['newWindow']=!![];_0x2f0b20['projects']=_0x206264;_0x2f0b20['newProject']=![];_0x2f0b20[_0x477d('0xf16')]=_0x2c9990;if(!_0x2f0b20[_0x477d('0xf13')]){_0x2f0b20[_0x477d('0xf13')]={'name':'','description':''};_0x2f0b20[_0x477d('0x49a')]=_0x477d('0xf17');_0x2f0b20[_0x477d('0xf18')]=!![];}_0x2f0b20[_0x477d('0xf19')]=_0x5f3d21;_0x2f0b20[_0x477d('0xf1a')]=_0x385571;_0x2f0b20['deleteProject']=_0x1a4f00;_0x2f0b20[_0x477d('0x6bf')]=_0x205b9a;function _0x5f3d21(){_0x2f0b20[_0x477d('0xd67')]=[];_0x399a6b[_0x477d('0xc99')][_0x477d('0xd70')](_0x2f0b20[_0x477d('0xf13')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x1e6730){_0x399a6b['user'][_0x477d('0xf1b')]({'id':_0x1a1d00['getCurrentUser']()['id'],'ids':[_0x1e6730['id']]})['$promise'];return _0x1e6730;})['then'](function(_0x28ff04){_0x2f0b20['projects'][_0x477d('0x63b')](_0x28ff04);_0x56640e[_0x477d('0x485')]({'title':_0x477d('0xf1c'),'msg':_0x2f0b20[_0x477d('0xf13')]['name']?_0x2f0b20[_0x477d('0xf13')][_0x477d('0x94')]+'\x20has\x20been\x20created!':''});_0x205b9a(_0x28ff04);if(_0x2f0b20[_0x477d('0xf16')]){_0x2f0b20[_0x477d('0xf1d')]?_0x27af9a['open'](_0x477d('0xf1e')+_0x28ff04['id'],'_blank'):_0x442638['go'](_0x477d('0x96'),{'id':_0x28ff04['id']});}})[_0x477d('0xf8')](function(_0x2fa5df){if(_0x2fa5df[_0x477d('0x451')]&&_0x2fa5df[_0x477d('0x451')]['errors']&&_0x2fa5df['data'][_0x477d('0xd67')][_0x477d('0x79')]){_0x2f0b20[_0x477d('0xd67')]=_0x2fa5df[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x2fa5df[_0x477d('0x453')](),'type':_0x477d('0xf1f')}];for(var _0x72a0e7=0x0;_0x72a0e7<_0x2fa5df[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x72a0e7++){_0x56640e[_0x477d('0x44a')]({'title':_0x2fa5df[_0x477d('0x451')]['errors'][_0x72a0e7][_0x477d('0x439')],'msg':_0x2fa5df[_0x477d('0x451')][_0x477d('0xd67')][_0x72a0e7][_0x477d('0x452')]});}}else{_0x56640e[_0x477d('0x44a')]({'title':_0x2fa5df[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x2fa5df[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x2fa5df[_0x477d('0x44d')]:_0x477d('0xf1f'),'msg':_0x2fa5df[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x2fa5df['data']['message']):_0x2fa5df[_0x477d('0x453')]()});}});}function _0x385571(){_0x2f0b20[_0x477d('0xd67')]=[];_0x399a6b['squareProject'][_0x477d('0x710')]({'id':_0x2f0b20[_0x477d('0xf13')]['id']},_0x2f0b20[_0x477d('0xf13')])[_0x477d('0x38b')]['then'](function(_0x48c853){var _0x1501fc=_[_0x477d('0x10a')](_0x2f0b20['projects'],{'id':_0x48c853['id']});if(_0x1501fc){_['merge'](_0x1501fc,_0x48c853);}_0x56640e[_0x477d('0x485')]({'title':_0x477d('0xf20'),'msg':_0x2f0b20[_0x477d('0xf13')][_0x477d('0x94')]?_0x2f0b20[_0x477d('0xf13')][_0x477d('0x94')]+_0x477d('0xd76'):''});_0x205b9a(_0x48c853);})[_0x477d('0xf8')](function(_0x5760f4){if(_0x5760f4[_0x477d('0x451')]&&_0x5760f4[_0x477d('0x451')][_0x477d('0xd67')]&&_0x5760f4[_0x477d('0x451')]['errors'][_0x477d('0x79')]){_0x2f0b20[_0x477d('0xd67')]=_0x5760f4[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x5760f4[_0x477d('0x453')](),'type':'api.squareProject.update'}];for(var _0xbc4184=0x0;_0xbc4184<_0x5760f4[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0xbc4184++){_0x56640e[_0x477d('0x44a')]({'title':_0x5760f4['data'][_0x477d('0xd67')][_0xbc4184][_0x477d('0x439')],'msg':_0x5760f4['data']['errors'][_0xbc4184][_0x477d('0x452')]});}}else{_0x56640e[_0x477d('0x44a')]({'title':_0x5760f4['status']?_0x477d('0x44b')+_0x5760f4[_0x477d('0x3c3')]+'\x20-\x20'+_0x5760f4['statusText']:_0x477d('0xf21'),'msg':_0x5760f4[_0x477d('0x451')]?JSON['stringify'](_0x5760f4[_0x477d('0x451')][_0x477d('0x452')]):_0x5760f4[_0x477d('0x453')]()});}});}function _0x1a4f00(){_0x2f0b20[_0x477d('0xd67')]=[];var _0x37cd44=_0x2a38a6[_0x477d('0xd78')]()['title'](_0x477d('0xd79'))[_0x477d('0xdaf')](_0x477d('0xf22'))[_0x477d('0x687')](_0x477d('0xf23'))['ok'](_0x477d('0xd7b'))[_0x477d('0x4f0')](_0x477d('0x688'))[_0x477d('0xd7c')](event);_0x2a38a6[_0x477d('0x395')](_0x37cd44)[_0x477d('0x76')](function(){_0x399a6b[_0x477d('0xc99')][_0x477d('0xa55')]({'id':_0x2f0b20[_0x477d('0xf13')]['id']})['$promise'][_0x477d('0x76')](function(){return _0x399a6b[_0x477d('0xc99')][_0x477d('0xf24')]({'id':_0x2f0b20[_0x477d('0xf13')]['id']})['$promise'];})[_0x477d('0x76')](function(_0xe51b24){var _0x386e0b=[];var _0x2099a8=_0xe51b24[_0x477d('0xf2')];for(var _0x457177=0x0;_0x457177<_0x2099a8[_0x477d('0x79')];_0x457177++){_0x386e0b[_0x477d('0x3a7')](_0x399a6b[_0x477d('0x380')][_0x477d('0xf25')]({'id':_0x1a1d00['getCurrentUser']()['id'],'ids':[_0x2f0b20['project']['id']]})['$promise']);}return $q[_0x477d('0x7c')](_0x386e0b);})['then'](function(){_[_0x477d('0x39c')](_0x2f0b20['projects'],{'id':_0x2f0b20[_0x477d('0xf13')]['id']});_0x56640e['success']({'title':_0x477d('0xf26'),'msg':_0x2f0b20[_0x477d('0xf13')][_0x477d('0x94')]?_0x2f0b20[_0x477d('0xf13')][_0x477d('0x94')]+_0x477d('0xd7e'):''});_0x205b9a(_0x2f0b20[_0x477d('0xf13')]);})[_0x477d('0xf8')](function(_0x49cf21){console['error'](_0x49cf21);_0x2f0b20['errors']=_0x49cf21['data'][_0x477d('0xd67')]||[{'message':_0x49cf21['toString'](),'type':_0x477d('0xf27')}];});},function(){});}function _0x205b9a(_0x2f7e79){_0x2a38a6['hide'](_0x2f7e79);}}}());(function(){'use strict';_0x2059df['$inject']=['$mdDialog',_0x477d('0x386'),_0x477d('0x40e'),'ispeechAsrModel',_0x477d('0xf28'),_0x477d('0xf29'),_0x477d('0xf2a'),_0x477d('0xf2b'),_0x477d('0xf2c'),_0x477d('0xf2d'),_0x477d('0xf2e'),_0x477d('0xf2f'),_0x477d('0xf30'),_0x477d('0xf31'),'databases','projects',_0x477d('0xf32'),'intervals',_0x477d('0xf33'),_0x477d('0xf34'),_0x477d('0xf1'),'cell',_0x477d('0xf35'),_0x477d('0xf36'),_0x477d('0xf37'),_0x477d('0xf38'),_0x477d('0xf39'),_0x477d('0xf3a'),_0x477d('0xf3b'),_0x477d('0x55'),_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x36'))[_0x477d('0x3ba')](_0x477d('0xf3c'),_0x2059df);function _0x2059df(_0x236201,_0x559cf9,_0x16c675,_0x80e40a,_0x18b314,_0x4770a9,_0xa90ad6,_0x2fe483,_0x54640a,_0x168028,_0x4dd69a,_0x553664,_0x24c1ec,_0x54e653,_0x4bbed3,_0x5e2ac8,_0x5d29ff,_0x6d921a,_0x52a1d0,_0x2f403f,_0x57e51b,_0x34a4f3,_0x3828ff,_0x3b2bcc,_0x36ee9b,_0x462afc,_0x3b3ec3,_0x336d29,_0x223feb,_0x49fde2,_0x5d4d7d){var _0x45d701=this;var _0x418da8={'playback':[_0x477d('0xf3d')],'answer':[_0x477d('0x91b')],'menu':[_0x477d('0xf3d'),'digit',_0x477d('0xf3e'),_0x477d('0xf3f')],'getdigits':['file_id','variable_id',_0x477d('0xf40'),_0x477d('0xf41'),'retry'],'getsecretdigits':['file_id',_0x477d('0xf42'),'mindigit',_0x477d('0xf41'),_0x477d('0xf43'),'retry'],'vswitch':[_0x477d('0xf42')],'database':[_0x477d('0xf44'),_0x477d('0x3ef')],'ext_dial':[_0x477d('0xf45'),_0x477d('0xf46'),_0x477d('0x91b')],'set':[_0x477d('0xf42')],'math':['variable_id'],'gotoc':[_0x477d('0xf47'),_0x477d('0xf48'),'priority'],'system':[_0x477d('0xf49')],'agi':['command'],'gotoif':[_0x477d('0xb98')],'saydigits':[_0x477d('0xf4a')],'saynumber':[_0x477d('0x421')],'sayphonetic':[_0x477d('0x41b')],'record':[_0x477d('0xec5'),_0x477d('0x91b')],'goal':[_0x477d('0xf4b')],'dial':['sip_id','timeout'],'queue':[_0x477d('0xf4c'),_0x477d('0x91b')],'callback':['list_id','name','phone','delay'],'gotoiftime':[_0x477d('0xf4d')],'voicemail':[_0x477d('0xf4e')],'subproject':[_0x477d('0xf4f')],'sendSMS':[_0x477d('0xf50'),'to',_0x477d('0xf51')],'sendMail':['account_id','to'],'sendFax':[_0x477d('0xf52'),'to','attachment_path'],'google_cloud_tts':[_0x477d('0xf53'),_0x477d('0xf54'),_0x477d('0x41b')],'tts':[_0x477d('0x41b')],'ispeechtts':['text','key','speed'],'ispeechasr':[_0x477d('0x670'),'timeout'],'custom_app':[_0x477d('0xf55')],'googleasr':[_0x477d('0x670'),_0x477d('0x91b')],'awspolly':['aws_access_key_id',_0x477d('0xf56'),_0x477d('0x41b'),_0x477d('0xf57')],'lumenvoxtts':[_0x477d('0x41b')],'sestektts':[_0x477d('0x41b')],'lumenvoxasr':[_0x477d('0xf58')],'sestekasr':['grammar'],'tildeasr':['appid',_0x477d('0xf59'),_0x477d('0xf5a')],'login':['findBy'],'pause':[_0x477d('0xf5b'),'pause_id'],'unpause':[_0x477d('0xf5b')],'logout':['findBy'],'dialogflow':['key',_0x477d('0x41b'),_0x477d('0xf5c')],'awslex':[_0x477d('0xf5d'),'aws_secret_access_key',_0x477d('0xf5e'),_0x477d('0xf5f'),'text'],'sesteknda':[_0x477d('0x41b'),_0x477d('0xf60'),_0x477d('0x5d2'),'password',_0x477d('0xf61')],'restapi':[_0x477d('0x3c1'),'method'],'mrcpsynth':[_0x477d('0x41b')],'mrcprecog':[_0x477d('0xf58')]};var _0x1dd72e={'queue':[_0x477d('0xf3d')],'database':[_0x477d('0xf42')],'pause':[_0x477d('0xf62')]};var _0x1d0df3={'sendMail':['to','cc',_0x477d('0xf63')],'voicemail':[_0x477d('0xf4e')]};_0x45d701[_0x477d('0xf64')]=_0x34a4f3[_0x477d('0xf65')];_0x45d701[_0x477d('0xf66')]=_['map'](_0x34a4f3[_0x477d('0xf66')],function(_0x5c4489){return{'name':_0x5c4489['name'],'value':_0x5c4489[_0x477d('0x3b6')],'defaultValue':_0x1dd72e[_0x45d701[_0x477d('0xf64')]]&&_[_0x477d('0x3a4')](_0x1dd72e[_0x45d701[_0x477d('0xf64')]],_0x5c4489[_0x477d('0x94')]),'required':_0x418da8[_0x45d701['cellName']]&&_[_0x477d('0x3a4')](_0x418da8[_0x45d701[_0x477d('0xf64')]],_0x5c4489[_0x477d('0x94')]),'help':_0x1d0df3[_0x45d701[_0x477d('0xf64')]]&&_['includes'](_0x1d0df3[_0x45d701['cellName']],_0x5c4489[_0x477d('0x94')])};});_0x45d701[_0x477d('0x445')]={'authMethod':[{'value':_0x477d('0xf67'),'option':_0x477d('0xf68')},{'value':_0x477d('0xf69'),'option':_0x477d('0xf6a')}],'answer':[{'value':_0x477d('0xf6b'),'option':_0x477d('0xf6c')},{'value':'no','option':'No'}],'ndagenerate_audio':[{'value':0x1,'option':_0x477d('0xf6c')},{'value':0x0,'option':'No'}],'ndaactivity_type':[{'value':_0x477d('0x452'),'option':'Message'},{'value':_0x477d('0xf6d'),'option':_0x477d('0xf6e')},{'value':_0x477d('0xf6f'),'option':_0x477d('0xf70')},{'value':'endOfConversation','option':_0x477d('0xf71')}],'hiddendigitspos':[{'value':_0x477d('0xf72'),'option':_0x477d('0xf73')},{'value':'last','option':_0x477d('0xf74')}],'recordingFormat':[{'value':_0x477d('0xf75'),'option':_0x477d('0xf76')},{'value':_0x477d('0xf77'),'option':_0x477d('0xf78')}],'intkey':[{'value':'#','option':'#'},{'value':'*','option':'*'}],'beep':[{'value':_0x477d('0xf79'),'option':'Yes'},{'value':_0x477d('0xf7a'),'option':'No'}],'model':_0x80e40a,'ispeech_asr_language':_0x18b314,'ispeech_tts_language':_0xa90ad6,'languageCode':_0x2fe483,'ssmlGender':[{'value':_0x477d('0xf7b'),'option':_0x477d('0xf7c')},{'value':_0x477d('0xf7d'),'option':'Male'}],'google_tts_language':_0x54640a,'google_asr_language':_0x4770a9,'google_cloud_tts_text_type':[{'value':'text','option':'Text'},{'value':_0x477d('0xf7e'),'option':'SSML'}],'aws_polly_region':_0x36ee9b,'aws_polly_voice':_0x3b2bcc,'aws_text_type':[{'value':_0x477d('0x41b'),'option':_0x477d('0xf7f')},{'value':_0x477d('0xf7e'),'option':_0x477d('0xf80')}],'callback_priority':[{'option':_0x477d('0xf81'),'value':0x4},{'option':'High','value':0x3},{'option':_0x477d('0xf82'),'value':0x2},{'option':'Low','value':0x1},{'option':_0x477d('0xf83'),'value':0x0}],'findBy':[{'value':_0x477d('0x324'),'option':_0x477d('0xf84')},{'value':_0x477d('0xf46'),'option':_0x477d('0xf85')},{'value':_0x477d('0x991'),'option':_0x477d('0xf86')}],'dialogflow_language':_0x336d29,'aws_lex_region':_0x223feb,'method':[{'value':_0x477d('0x6ab'),'option':_0x477d('0x6ab')},{'value':_0x477d('0xf87'),'option':_0x477d('0xf87')},{'value':_0x477d('0xf88'),'option':_0x477d('0xf88')},{'value':'DELETE','option':_0x477d('0xf89')}]};_0x45d701['crudPermissions']=_0x5d4d7d;_0x45d701[_0x477d('0x71a')]=_0x229927;_0x45d701[_0x477d('0x6bf')]=_0x198015;_0x45d701[_0x477d('0xf8a')]=_0x4fa57c;function _0x229927(){_0x49fde2['hasRole'](_0x477d('0x5f'))?_0x34c992():_0x5c872d();}function _0x4fa57c(_0x3870c1,_0x536e2b,_0x575d3b,_0xf6dd21){return _[_0x477d('0x3cb')](_0x3870c1,function(_0x223e63){return{'value':_0x223e63[_0x536e2b],'option':_0x223e63[_0x575d3b],'group':_0xf6dd21?_0x223e63[_0xf6dd21]:undefined,'canSelect':typeof _0x223e63[_0x477d('0xf8b')]!==_0x477d('0x4a4')?_0x223e63[_0x477d('0xf8b')]:!![]};});}function _0x315a6f(_0x474430,_0x5baaf1,_0x236cac,_0x174e6b){var _0x151e80=_[_0x477d('0x3b3')](_0x474430,function(_0x573f64){return _0x573f64[_0x174e6b]===null;}),_0x4582c6=[];_[_0x477d('0x3b1')](_0x151e80,function(_0x1ce961){_0x4582c6['push']({'value':_0x1ce961[_0x5baaf1],'option':_0x1ce961[_0x236cac]});var _0x442943=_[_0x477d('0x3b3')](_0x474430,function(_0x5092a8){return _0x5092a8[_0x174e6b]===_0x1ce961['id'];});_['forEach'](_0x442943,function(_0x342181){_0x4582c6[_0x477d('0x3a7')]({'value':_0x342181[_0x5baaf1],'option':_0x477d('0x44c')+_0x342181[_0x236cac]});});});return _0x4582c6;}function _0x34c992(){var _0x3324e1={'sip_id':_0x4fa57c(_0x168028,'id',_0x477d('0xcd'),_0x477d('0x3a1')),'trunk_name':_0x4fa57c(_0x4dd69a,_0x477d('0x94'),_0x477d('0x94')),'trunk_id':_0x4fa57c(_0x4dd69a,'id','name'),'queue_id':_0x4fa57c(_0x553664,'id',_0x477d('0x94')),'file_id':_0x4fa57c(_0x24c1ec,'id',_0x477d('0x94')),'variable_id':_0x4fa57c(_0x54e653,'id',_0x477d('0x94')),'odbc_id':_0x4fa57c(_0x4bbed3,'id','name'),'project_id':_0x4fa57c(_0x5e2ac8,'id','name'),'context':_0x4fa57c(_0x5d29ff,'id','name'),'interval_id':_0x315a6f(_0x6d921a,'id','name',_0x477d('0xf8c')),'account_id':_0x4fa57c(_0x52a1d0,'id',_0x477d('0x94')),'template_id':_0x4fa57c(_0x2f403f,'id',_0x477d('0x94')),'list_id':_0x4fa57c(_0x57e51b,'id',_0x477d('0x94')),'sms_account_id':_0x4fa57c(_0x462afc,'id',_0x477d('0x94')),'pause_id':_0x4fa57c(_0x3b3ec3,'id',_0x477d('0x94'))};var _0x2a56d0=_[_0x477d('0xef')](_0x45d701[_0x477d('0x445')],_0x3324e1);_0x45d701[_0x477d('0x445')]=_0x2a56d0;}function _0x5c872d(){var _0x5dcc36=[_0x477d('0xf8d'),'trunk_name',_0x477d('0xf8e'),_0x477d('0xf4c'),_0x477d('0xf3d'),'variable_id',_0x477d('0xf44'),'project_id',_0x477d('0xf47'),'interval_id',_0x477d('0xf52'),'template_id','list_id',_0x477d('0xf50'),'pause_id'];for(var _0x1dc423=0x0;_0x1dc423<_0x45d701['attributes']['length'];_0x1dc423++){if(_[_0x477d('0x3a4')](_0x5dcc36,_0x45d701[_0x477d('0xf66')][_0x1dc423]['name'])){switch(_0x45d701[_0x477d('0xf66')][_0x1dc423][_0x477d('0x94')]){case _0x477d('0xf8d'):_0x21b6b0();break;case _0x477d('0xf45'):_0x3d2e8a();break;case _0x477d('0xf8e'):_0x494000();break;case _0x477d('0xf4c'):_0x395523();break;case _0x477d('0xf3d'):_0x503d97();break;case _0x477d('0xf42'):_0x2b4d31();break;case'odbc_id':_0x2833e8();break;case _0x477d('0xf4f'):_0x47203b();break;case _0x477d('0xf47'):_0x3d111d();break;case _0x477d('0xf4d'):_0x597f58();break;case _0x477d('0xf52'):_0x55e920();break;case _0x477d('0xf8f'):_0x1047db();break;case _0x477d('0xf90'):_0x48b925();break;case _0x477d('0xf50'):_0x139511();break;case _0x477d('0xf62'):_0x3af535();break;}}}}function _0x21b6b0(){var _0x550739=Number(_['find'](_0x45d701[_0x477d('0xf66')],{'name':_0x477d('0xf8d')})['value']);var _0x108057=_[_0x477d('0x3ab')](_0x168028,{'id':_0x550739});if(!_0x108057&&_0x550739>0x0){return _0x559cf9['user'][_0x477d('0x376')]({'id':_0x550739,'fields':_0x477d('0x9a')})['$promise'][_0x477d('0x76')](function(_0x2f73b4){var _0x51182f=_0x2f73b4[_0x477d('0xd71')]();_0x51182f[_0x477d('0xf8b')]=![];_0x168028[_0x477d('0x3a7')](_0x51182f);_0x45d701[_0x477d('0x445')]['sip_id']=_0x4fa57c(_0x168028,'id','fullname','role');})[_0x477d('0xf8')](function(_0x452549){_0x16c675[_0x477d('0x44a')]({'title':_0x452549[_0x477d('0x3c3')]?'API:'+_0x452549[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x452549[_0x477d('0x44d')]:_0x477d('0xf91'),'msg':_0x452549[_0x477d('0x451')]?JSON['stringify'](_0x452549[_0x477d('0x451')]['message']):_0x452549[_0x477d('0x453')]()});});}else{_0x45d701['values'][_0x477d('0xf8d')]=_0x4fa57c(_0x168028,'id',_0x477d('0xcd'),_0x477d('0x3a1'));}}function _0x48b925(){var _0x269677=Number(_[_0x477d('0x10a')](_0x45d701[_0x477d('0xf66')],{'name':'list_id'})[_0x477d('0x3b6')]);var _0x22ae18=_['some'](_0x57e51b,{'id':_0x269677});if(!_0x22ae18&&_0x269677>0x0){return _0x559cf9['cmList']['get']({'id':_0x269677,'fields':'id,name'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x4b39ba){var _0x1aaa2b=_0x4b39ba[_0x477d('0xd71')]();_0x1aaa2b[_0x477d('0xf8b')]=![];_0x57e51b[_0x477d('0x3a7')](_0x1aaa2b);_0x45d701[_0x477d('0x445')][_0x477d('0xf90')]=_0x4fa57c(_0x57e51b,'id',_0x477d('0x94'));})['catch'](function(_0x2c1636){_0x16c675[_0x477d('0x44a')]({'title':_0x2c1636[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x2c1636[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x2c1636[_0x477d('0x44d')]:_0x477d('0xf92'),'msg':_0x2c1636['data']?JSON['stringify'](_0x2c1636[_0x477d('0x451')][_0x477d('0x452')]):_0x2c1636['toString']()});});}else{_0x45d701['values'][_0x477d('0xf90')]=_0x4fa57c(_0x57e51b,'id',_0x477d('0x94'));}}function _0x494000(){var _0x545839=Number(_[_0x477d('0x10a')](_0x45d701[_0x477d('0xf66')],{'name':_0x477d('0xf8e')})[_0x477d('0x3b6')]);var _0xeff615=_[_0x477d('0x3ab')](_0x4dd69a,{'id':_0x545839});if(!_0xeff615&&_0x545839>0x0){return _0x559cf9[_0x477d('0xaa8')]['get']({'id':_0x545839,'fields':_0x477d('0x9c')})['$promise']['then'](function(_0x34dcab){var _0x7f29f=_0x34dcab[_0x477d('0xd71')]();_0x7f29f[_0x477d('0xf8b')]=![];_0x4dd69a[_0x477d('0x3a7')](_0x7f29f);_0x45d701[_0x477d('0x445')]['trunk_id']=_0x4fa57c(_0x4dd69a,'id','name');})[_0x477d('0xf8')](function(_0x1cf29f){_0x16c675['error']({'title':_0x1cf29f[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x1cf29f[_0x477d('0x3c3')]+'\x20-\x20'+_0x1cf29f[_0x477d('0x44d')]:_0x477d('0xf93'),'msg':_0x1cf29f[_0x477d('0x451')]?JSON['stringify'](_0x1cf29f[_0x477d('0x451')][_0x477d('0x452')]):_0x1cf29f[_0x477d('0x453')]()});});}else{_0x45d701[_0x477d('0x445')][_0x477d('0xf8e')]=_0x4fa57c(_0x4dd69a,'id',_0x477d('0x94'));}}function _0x3d2e8a(){var _0xe15fcf=_[_0x477d('0x10a')](_0x45d701[_0x477d('0xf66')],{'name':'trunk_name'})['value'];var _0x12d915=_[_0x477d('0x3ab')](_0x4dd69a,{'name':_0xe15fcf});if(!_0x12d915&&_0xe15fcf){return _0x559cf9[_0x477d('0xaa8')]['get']({'name':_0xe15fcf,'fields':'id,name'})['$promise'][_0x477d('0x76')](function(_0x385922){if(_0x385922[_0x477d('0x3bb')]>0x0&&_0x385922['rows']['length']>0x0){var _0x38c4ee=_0x385922['rows'][0x0];_0x38c4ee[_0x477d('0xf8b')]=![];_0x4dd69a[_0x477d('0x3a7')](_0x38c4ee);_0x45d701['values'][_0x477d('0xf45')]=_0x4fa57c(_0x4dd69a,_0x477d('0x94'),'name');}})[_0x477d('0xf8')](function(_0x5a73e0){_0x16c675[_0x477d('0x44a')]({'title':_0x5a73e0[_0x477d('0x3c3')]?'API:'+_0x5a73e0['status']+'\x20-\x20'+_0x5a73e0[_0x477d('0x44d')]:'GET_TRUNK','msg':_0x5a73e0[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x5a73e0[_0x477d('0x451')][_0x477d('0x452')]):_0x5a73e0['toString']()});});}else{_0x45d701[_0x477d('0x445')][_0x477d('0xf45')]=_0x4fa57c(_0x4dd69a,_0x477d('0x94'),'name');}}function _0x395523(){var _0x17c42b=Number(_[_0x477d('0x10a')](_0x45d701[_0x477d('0xf66')],{'name':_0x477d('0xf4c')})['value']);var _0x22f910=_[_0x477d('0x3ab')](_0x553664,{'id':_0x17c42b});if(!_0x22f910&&_0x17c42b>0x0){return _0x559cf9[_0x477d('0xa76')]['get']({'id':_0x17c42b,'fields':_0x477d('0x9c')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0xad4b44){var _0x2cd468=_0xad4b44[_0x477d('0xd71')]();_0x2cd468[_0x477d('0xf8b')]=![];_0x553664[_0x477d('0x3a7')](_0x2cd468);_0x45d701[_0x477d('0x445')][_0x477d('0xf4c')]=_0x4fa57c(_0x553664,'id','name');})[_0x477d('0xf8')](function(_0x5cfd38){_0x16c675[_0x477d('0x44a')]({'title':_0x5cfd38[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x5cfd38[_0x477d('0x3c3')]+'\x20-\x20'+_0x5cfd38[_0x477d('0x44d')]:'GET_QUEUE','msg':_0x5cfd38[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x5cfd38[_0x477d('0x451')]['message']):_0x5cfd38[_0x477d('0x453')]()});});}else{_0x45d701[_0x477d('0x445')][_0x477d('0xf4c')]=_0x4fa57c(_0x553664,'id',_0x477d('0x94'));}}function _0x503d97(){var _0x2b1139=Number(_['find'](_0x45d701['attributes'],{'name':_0x477d('0xf3d')})[_0x477d('0x3b6')]);var _0x294ffd=_[_0x477d('0x3ab')](_0x24c1ec,{'id':_0x2b1139});if(!_0x294ffd&&_0x2b1139>0x0){return _0x559cf9['sound'][_0x477d('0x376')]({'id':_0x2b1139,'fields':'id,name'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x238e13){var _0xfbda3d=_0x238e13['toJSON']();_0xfbda3d[_0x477d('0xf8b')]=![];_0x24c1ec['push'](_0xfbda3d);_0x45d701[_0x477d('0x445')][_0x477d('0xf3d')]=_0x4fa57c(_0x24c1ec,'id',_0x477d('0x94'));})[_0x477d('0xf8')](function(_0x4e85e6){_0x16c675[_0x477d('0x44a')]({'title':_0x4e85e6[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x4e85e6[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x4e85e6[_0x477d('0x44d')]:'GET_SOUND','msg':_0x4e85e6[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x4e85e6[_0x477d('0x451')][_0x477d('0x452')]):_0x4e85e6[_0x477d('0x453')]()});});}else{_0x45d701[_0x477d('0x445')]['file_id']=_0x4fa57c(_0x24c1ec,'id',_0x477d('0x94'));}}function _0x2b4d31(){var _0xbb0a8e=Number(_[_0x477d('0x10a')](_0x45d701['attributes'],{'name':_0x477d('0xf42')})[_0x477d('0x3b6')]);var _0x32eb95=_[_0x477d('0x3ab')](_0x54e653,{'id':_0xbb0a8e});if(!_0x32eb95&&_0xbb0a8e>0x0){return _0x559cf9[_0x477d('0xbb9')]['get']({'id':_0xbb0a8e,'fields':'id,name'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x4df7b3){var _0x5156be=_0x4df7b3[_0x477d('0xd71')]();_0x5156be[_0x477d('0xf8b')]=![];_0x54e653[_0x477d('0x3a7')](_0x5156be);_0x45d701[_0x477d('0x445')][_0x477d('0xf42')]=_0x4fa57c(_0x54e653,'id',_0x477d('0x94'));})[_0x477d('0xf8')](function(_0x30ff35){_0x16c675[_0x477d('0x44a')]({'title':_0x30ff35[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x30ff35[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x30ff35[_0x477d('0x44d')]:_0x477d('0xf94'),'msg':_0x30ff35['data']?JSON[_0x477d('0x3fb')](_0x30ff35[_0x477d('0x451')][_0x477d('0x452')]):_0x30ff35[_0x477d('0x453')]()});});}else{_0x45d701[_0x477d('0x445')][_0x477d('0xf42')]=_0x4fa57c(_0x54e653,'id',_0x477d('0x94'));}}function _0x2833e8(){var _0x72f5ac=Number(_[_0x477d('0x10a')](_0x45d701[_0x477d('0xf66')],{'name':_0x477d('0xf44')})['value']);var _0x3d2f8b=_['some'](_0x4bbed3,{'id':_0x72f5ac});if(!_0x3d2f8b&&_0x72f5ac>0x0){return _0x559cf9[_0x477d('0xc95')][_0x477d('0x376')]({'id':_0x72f5ac,'fields':_0x477d('0x9c')})['$promise'][_0x477d('0x76')](function(_0xdd4e29){var _0x25e334=_0xdd4e29['toJSON']();_0x25e334[_0x477d('0xf8b')]=![];_0x4bbed3[_0x477d('0x3a7')](_0x25e334);_0x45d701['values'][_0x477d('0xf44')]=_0x4fa57c(_0x4bbed3,'id',_0x477d('0x94'));})['catch'](function(_0x57a546){_0x16c675[_0x477d('0x44a')]({'title':_0x57a546[_0x477d('0x3c3')]?'API:'+_0x57a546['status']+_0x477d('0x44c')+_0x57a546[_0x477d('0x44d')]:_0x477d('0xf95'),'msg':_0x57a546[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x57a546['data'][_0x477d('0x452')]):_0x57a546[_0x477d('0x453')]()});});}else{_0x45d701[_0x477d('0x445')]['odbc_id']=_0x4fa57c(_0x4bbed3,'id','name');}}function _0x47203b(){var _0x5b6572=Number(_[_0x477d('0x10a')](_0x45d701[_0x477d('0xf66')],{'name':_0x477d('0xf4f')})['value']);var _0x27e73f=_['some'](_0x5e2ac8,{'id':_0x5b6572});if(!_0x27e73f&&_0x5b6572>0x0){return _0x559cf9[_0x477d('0xc99')][_0x477d('0x376')]({'id':_0x5b6572,'fields':'id,name'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x32eae7){var _0x3e2821=_0x32eae7[_0x477d('0xd71')]();_0x3e2821[_0x477d('0xf8b')]=![];_0x5e2ac8[_0x477d('0x3a7')](_0x3e2821);_0x45d701['values'][_0x477d('0xf4f')]=_0x4fa57c(_0x5e2ac8,'id',_0x477d('0x94'));})[_0x477d('0xf8')](function(_0x222ef9){_0x16c675[_0x477d('0x44a')]({'title':_0x222ef9[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x222ef9[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x222ef9[_0x477d('0x44d')]:_0x477d('0xf96'),'msg':_0x222ef9[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x222ef9[_0x477d('0x451')]['message']):_0x222ef9[_0x477d('0x453')]()});});}else{_0x45d701[_0x477d('0x445')][_0x477d('0xf4f')]=_0x4fa57c(_0x5e2ac8,'id',_0x477d('0x94'));}}function _0x3d111d(){var _0x3d9415=Number(_[_0x477d('0x10a')](_0x45d701[_0x477d('0xf66')],{'name':'context'})[_0x477d('0x3b6')]);var _0x1fa218=_[_0x477d('0x3ab')](_0x5d29ff,{'id':_0x3d9415});if(!_0x1fa218&&_0x3d9415>0x0){return _0x559cf9[_0x477d('0xa6b')][_0x477d('0x376')]({'id':_0x3d9415,'fields':_0x477d('0x9c')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0xc38293){var _0x2a957f=_0xc38293[_0x477d('0xd71')]();_0x2a957f[_0x477d('0xf8b')]=![];_0x5d29ff['push'](_0x2a957f);_0x45d701[_0x477d('0x445')][_0x477d('0xf47')]=_0x4fa57c(_0x5d29ff,'id',_0x477d('0x94'));})[_0x477d('0xf8')](function(_0xbe43f7){_0x16c675[_0x477d('0x44a')]({'title':_0xbe43f7['status']?'API:'+_0xbe43f7['status']+'\x20-\x20'+_0xbe43f7[_0x477d('0x44d')]:_0x477d('0xf97'),'msg':_0xbe43f7['data']?JSON[_0x477d('0x3fb')](_0xbe43f7['data'][_0x477d('0x452')]):_0xbe43f7[_0x477d('0x453')]()});});}else{_0x45d701['values'][_0x477d('0xf47')]=_0x4fa57c(_0x5d29ff,'id',_0x477d('0x94'));}}function _0x597f58(){var _0x27cd98=Number(_['find'](_0x45d701['attributes'],{'name':_0x477d('0xf4d')})[_0x477d('0x3b6')]);var _0x211fdc=_['some'](_0x6d921a,{'id':_0x27cd98});if(!_0x211fdc&&_0x27cd98>0x0){return _0x559cf9[_0x477d('0x79c')][_0x477d('0x376')]({'id':_0x27cd98,'fields':'id,name,IntervalId'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x13b22a){var _0x42c38c=_0x13b22a[_0x477d('0xd71')]();_0x42c38c[_0x477d('0xf8b')]=![];_0x6d921a[_0x477d('0x3a7')](_0x42c38c);_0x45d701[_0x477d('0x445')][_0x477d('0xf4d')]=_0x4fa57c(_0x6d921a,'id',_0x477d('0x94'),_0x477d('0xf8c'));})[_0x477d('0xf8')](function(_0x2bb69b){_0x16c675['error']({'title':_0x2bb69b[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x2bb69b[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x2bb69b['statusText']:'GET_INTERVAL','msg':_0x2bb69b[_0x477d('0x451')]?JSON['stringify'](_0x2bb69b[_0x477d('0x451')][_0x477d('0x452')]):_0x2bb69b[_0x477d('0x453')]()});});}else{_0x45d701['values'][_0x477d('0xf4d')]=_0x4fa57c(_0x6d921a,'id',_0x477d('0x94'),_0x477d('0xf8c'));}}function _0x55e920(){var _0x462f96=Number(_[_0x477d('0x10a')](_0x45d701['attributes'],{'name':_0x477d('0xf52')})[_0x477d('0x3b6')]);var _0x39b33f=_[_0x477d('0x3ab')](_0x52a1d0,{'id':_0x462f96});if(!_0x39b33f&&_0x462f96>0x0){return _0x559cf9['mailAccount'][_0x477d('0x376')]({'id':_0x462f96,'fields':_0x477d('0x9c')})[_0x477d('0x38b')]['then'](function(_0x4bc252){var _0x2ad019=_0x4bc252[_0x477d('0xd71')]();_0x2ad019['canSelect']=![];_0x52a1d0[_0x477d('0x3a7')](_0x2ad019);_0x45d701[_0x477d('0x445')]['account_id']=_0x4fa57c(_0x52a1d0,'id',_0x477d('0x94'));})['catch'](function(_0x2d6632){_0x16c675['error']({'title':_0x2d6632[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x2d6632[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x2d6632[_0x477d('0x44d')]:_0x477d('0xf98'),'msg':_0x2d6632['data']?JSON[_0x477d('0x3fb')](_0x2d6632[_0x477d('0x451')][_0x477d('0x452')]):_0x2d6632[_0x477d('0x453')]()});});}else{_0x45d701[_0x477d('0x445')]['account_id']=_0x4fa57c(_0x52a1d0,'id','name');}}function _0x139511(){var _0x39e6fc=Number(_['find'](_0x45d701['attributes'],{'name':_0x477d('0xf50')})['value']);var _0x2dbc15=_[_0x477d('0x3ab')](_0x462afc,{'id':_0x39e6fc});if(!_0x2dbc15&&_0x39e6fc>0x0){return _0x559cf9[_0x477d('0xe45')][_0x477d('0x376')]({'id':_0x39e6fc,'fields':'id,name'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x5e38d1){var _0x23d58a=_0x5e38d1[_0x477d('0xd71')]();_0x23d58a[_0x477d('0xf8b')]=![];_0x462afc[_0x477d('0x3a7')](_0x23d58a);_0x45d701[_0x477d('0x445')]['sms_account_id']=_0x4fa57c(_0x462afc,'id','name');})[_0x477d('0xf8')](function(_0x8b7418){_0x16c675[_0x477d('0x44a')]({'title':_0x8b7418[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x8b7418[_0x477d('0x3c3')]+'\x20-\x20'+_0x8b7418['statusText']:_0x477d('0xf99'),'msg':_0x8b7418[_0x477d('0x451')]?JSON['stringify'](_0x8b7418[_0x477d('0x451')][_0x477d('0x452')]):_0x8b7418[_0x477d('0x453')]()});});}else{_0x45d701[_0x477d('0x445')][_0x477d('0xf50')]=_0x4fa57c(_0x462afc,'id','name');}}function _0x1047db(){var _0x23e7eb=Number(_[_0x477d('0x10a')](_0x45d701['attributes'],{'name':_0x477d('0xf8f')})['value']);var _0x1b5bfb=_[_0x477d('0x3ab')](_0x2f403f,{'id':_0x23e7eb});if(!_0x1b5bfb&&_0x23e7eb>0x0){return _0x559cf9[_0x477d('0xbb2')][_0x477d('0x376')]({'id':_0x23e7eb,'fields':_0x477d('0x9c')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x3206ec){var _0x3b9815=_0x3206ec['toJSON']();_0x3b9815[_0x477d('0xf8b')]=![];_0x2f403f[_0x477d('0x3a7')](_0x3b9815);_0x45d701['values']['template_id']=_0x4fa57c(_0x2f403f,'id','name');})[_0x477d('0xf8')](function(_0x19a981){_0x16c675[_0x477d('0x44a')]({'title':_0x19a981['status']?'API:'+_0x19a981[_0x477d('0x3c3')]+'\x20-\x20'+_0x19a981['statusText']:'GET_TEMPLATE','msg':_0x19a981[_0x477d('0x451')]?JSON['stringify'](_0x19a981[_0x477d('0x451')][_0x477d('0x452')]):_0x19a981[_0x477d('0x453')]()});});}else{_0x45d701[_0x477d('0x445')][_0x477d('0xf8f')]=_0x4fa57c(_0x2f403f,'id','name');}}function _0x3af535(){var _0x4937b3=Number(_[_0x477d('0x10a')](_0x45d701[_0x477d('0xf66')],{'name':'pause_id'})[_0x477d('0x3b6')]);var _0x144d7f=_[_0x477d('0x3ab')](_0x3b3ec3,{'id':_0x4937b3});if(!_0x144d7f&&_0x4937b3>0x0){return _0x559cf9[_0x477d('0x657')][_0x477d('0x376')]({'id':_0x4937b3,'fields':'id,name'})[_0x477d('0x38b')]['then'](function(_0x11011d){var _0x5cfdd7=_0x11011d[_0x477d('0xd71')]();_0x5cfdd7[_0x477d('0xf8b')]=![];_0x3b3ec3[_0x477d('0x3a7')](_0x5cfdd7);_0x45d701[_0x477d('0x445')][_0x477d('0xf62')]=_0x4fa57c(_0x3b3ec3,'id',_0x477d('0x94'));})[_0x477d('0xf8')](function(_0x45219b){_0x16c675['error']({'title':_0x45219b['status']?_0x477d('0x44b')+_0x45219b[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x45219b['statusText']:_0x477d('0xf9a'),'msg':_0x45219b['data']?JSON[_0x477d('0x3fb')](_0x45219b[_0x477d('0x451')][_0x477d('0x452')]):_0x45219b[_0x477d('0x453')]()});});}else{_0x45d701[_0x477d('0x445')][_0x477d('0xf62')]=_0x4fa57c(_0x3b3ec3,'id',_0x477d('0x94'));}}function _0x198015(_0x3438a7){_0x3438a7&&_0x3828ff(_0x45d701['attributes']);_0x236201[_0x477d('0x3bc')]();}}}());(function(){'use strict';angular['module']('app.callysquare')[_0x477d('0x3ff')](_0x477d('0xf9b'),_0x1cf56b);function _0x1cf56b(){return{'require':'ngModel','link':function(_0xb67786,_0x488617,_0x5acf39,_0x3f23c6){_0x3f23c6[_0x477d('0x491')][_0x477d('0x3a7')](function(_0x2d3e20){return''+_0x2d3e20;});_0x3f23c6[_0x477d('0x48f')][_0x477d('0x3a7')](function(_0x4681b8){return parseFloat(_0x4681b8);});}};}}());(function(){'use strict';angular[_0x477d('0xb')](_0x477d('0x36'))[_0x477d('0x388')](_0x477d('0xf9c'),_0x327093)[_0x477d('0x388')]('ispeechAsrLanguage',_0x2b57de)[_0x477d('0x388')](_0x477d('0xf2a'),_0x29d149)[_0x477d('0x388')]('googleCloudTtslanguageCode',_0x31a36f)[_0x477d('0x388')](_0x477d('0xf2c'),_0x1a7457)[_0x477d('0x388')](_0x477d('0xf29'),_0x30fb75)[_0x477d('0x388')](_0x477d('0xf36'),_0x2738c8)[_0x477d('0x388')]('awsPollyRegion',_0x4e2cf9)[_0x477d('0x388')](_0x477d('0xf3b'),_0x4d7ac8)[_0x477d('0x388')](_0x477d('0xf3a'),_0x5431d5);function _0x5431d5(){return[{'value':'da','option':_0x477d('0xf9d')},{'value':'en','option':_0x477d('0xf9e')},{'value':'de','option':_0x477d('0xf9f')},{'value':'it','option':_0x477d('0xfa0')},{'value':'es','option':_0x477d('0xfa1')},{'value':'fr','option':_0x477d('0xfa2')},{'value':'id','option':_0x477d('0xfa3')},{'value':'ja','option':_0x477d('0xfa4')},{'value':'ko','option':_0x477d('0xfa5')},{'value':'nl','option':_0x477d('0xfa6')},{'value':'no','option':_0x477d('0xfa7')},{'value':'pt','option':_0x477d('0xfa8')},{'value':'pt-br','option':_0x477d('0xfa9')},{'value':'ru','option':_0x477d('0xfaa')},{'value':'sv','option':'Swedish'},{'value':'th','option':'Thai'},{'value':'uk','option':_0x477d('0xfab')},{'value':_0x477d('0xfac'),'option':_0x477d('0xfad')},{'value':_0x477d('0xfae'),'option':_0x477d('0xfaf')},{'value':'zh-TW','option':'Chinese\x20(Traditional)'}];}function _0x31a36f(){return[{'value':_0x477d('0xfb0'),'option':_0x477d('0xfb1')},{'value':_0x477d('0xfb2'),'option':_0x477d('0xfb3')},{'value':_0x477d('0xfb4'),'option':_0x477d('0xfb5')},{'value':_0x477d('0xfb6'),'option':_0x477d('0xfb7')},{'value':_0x477d('0xfb8'),'option':_0x477d('0xfb9')},{'value':_0x477d('0xfba'),'option':_0x477d('0xfbb')},{'value':'en-IN','option':_0x477d('0xfbc')},{'value':_0x477d('0xfbd'),'option':'English\x20(UK)'},{'value':_0x477d('0xfbe'),'option':_0x477d('0xfbf')},{'value':'fi-FI','option':_0x477d('0xfc0')},{'value':_0x477d('0xfc1'),'option':_0x477d('0xfc2')},{'value':'fr-CA','option':_0x477d('0xfc3')},{'value':'fr-FR','option':_0x477d('0xfc4')},{'value':'hi-IN','option':_0x477d('0xfc5')},{'value':_0x477d('0xfc6'),'option':_0x477d('0xfc7')},{'value':_0x477d('0xfc8'),'option':'Indonesian\x20(Indonesia)'},{'value':'it-IT','option':_0x477d('0xfc9')},{'value':_0x477d('0xfca'),'option':_0x477d('0xfcb')},{'value':_0x477d('0xfcc'),'option':_0x477d('0xfa5')},{'value':_0x477d('0xfcd'),'option':'Mandarin\x20Chinese'},{'value':_0x477d('0xfce'),'option':_0x477d('0xfcf')},{'value':_0x477d('0xfd0'),'option':'Polish\x20(Poland)'},{'value':_0x477d('0xfd1'),'option':'Portuguese\x20(Brazil)'},{'value':_0x477d('0xfd2'),'option':'Portuguese\x20(Portugal)'},{'value':_0x477d('0xfd3'),'option':_0x477d('0xfd4')},{'value':_0x477d('0xfd5'),'option':'Slovak\x20(Slovakia)'},{'value':_0x477d('0xfd6'),'option':'Spanish\x20(Spain)'},{'value':_0x477d('0xfd7'),'option':_0x477d('0xfd8')},{'value':_0x477d('0xfd9'),'option':_0x477d('0xfda')},{'value':'uk-UA','option':_0x477d('0xfdb')},{'value':'vi-VN','option':_0x477d('0xfdc')}];}function _0x1a7457(){return[{'value':'af','option':_0x477d('0xfdd')},{'value':'sq','option':'Albanian'},{'value':'am','option':_0x477d('0xfde')},{'value':'ar','option':_0x477d('0xfb1')},{'value':'hy','option':_0x477d('0xfdf')},{'value':'az','option':'Azerbaijani'},{'value':'eu','option':_0x477d('0xfe0')},{'value':'be','option':_0x477d('0xfe1')},{'value':'bn','option':_0x477d('0xfe2')},{'value':'bh','option':_0x477d('0xfe3')},{'value':'bs','option':'Bosnian'},{'value':'br','option':_0x477d('0xfe4')},{'value':'bg','option':_0x477d('0xfe5')},{'value':'km','option':_0x477d('0xfe6')},{'value':'ca','option':'Catalan'},{'value':_0x477d('0xfac'),'option':_0x477d('0xfad')},{'value':_0x477d('0xfe7'),'option':_0x477d('0xfe8')},{'value':'co','option':_0x477d('0xfe9')},{'value':'hr','option':'Croatian'},{'value':'cs','option':'Czech'},{'value':'da','option':_0x477d('0xf9d')},{'value':'nl','option':_0x477d('0xfa6')},{'value':'en','option':_0x477d('0xf9e')},{'value':'eo','option':'Esperanto'},{'value':'et','option':_0x477d('0xfea')},{'value':'fo','option':'Faroese'},{'value':'tl','option':_0x477d('0xfeb')},{'value':'fi','option':'Finnish'},{'value':'fr','option':_0x477d('0xfa2')},{'value':'fy','option':_0x477d('0xfec')},{'value':'gl','option':_0x477d('0xfed')},{'value':'ka','option':'Georgian'},{'value':'de','option':_0x477d('0xf9f')},{'value':'el','option':'Greek'},{'value':'gn','option':_0x477d('0xfee')},{'value':'gu','option':'Gujarati'},{'value':_0x477d('0xfef'),'option':'Hacker'},{'value':'ha','option':_0x477d('0xff0')},{'value':'iw','option':'Hebrew'},{'value':'hi','option':_0x477d('0xff1')},{'value':'hu','option':_0x477d('0xff2')},{'value':'is','option':_0x477d('0xff3')},{'value':'id','option':_0x477d('0xfa3')},{'value':'ia','option':_0x477d('0xff4')},{'value':'ga','option':_0x477d('0xff5')},{'value':'it','option':_0x477d('0xfa0')},{'value':'jw','option':_0x477d('0xff6')},{'value':'ja','option':'Japanese'},{'value':'kn','option':'Kannada'},{'value':'kk','option':_0x477d('0xff7')},{'value':'rw','option':_0x477d('0xff8')},{'value':'rn','option':'Kirundi'},{'value':_0x477d('0xff9'),'option':_0x477d('0xffa')},{'value':'ku','option':_0x477d('0xffb')},{'value':'ko','option':_0x477d('0xffc')},{'value':'ky','option':_0x477d('0xffd')},{'value':'lo','option':_0x477d('0xffe')},{'value':'la','option':_0x477d('0xfff')},{'value':'lv','option':_0x477d('0x1000')},{'value':'ln','option':'Lingala'},{'value':'lt','option':_0x477d('0x1001')},{'value':'mk','option':_0x477d('0x1002')},{'value':'mg','option':_0x477d('0x1003')},{'value':'ml','option':'Malayalam'},{'value':'mt','option':_0x477d('0x1004')},{'value':'mi','option':_0x477d('0x1005')},{'value':'mr','option':_0x477d('0x1006')},{'value':'mo','option':_0x477d('0x1007')},{'value':'mn','option':'Mongolian'},{'value':_0x477d('0x1008'),'option':_0x477d('0x1009')},{'value':'ne','option':_0x477d('0x100a')},{'value':'no','option':_0x477d('0xfa7')},{'value':'nn','option':_0x477d('0x100b')},{'value':'oc','option':_0x477d('0x100c')},{'value':'or','option':_0x477d('0x100d')},{'value':'om','option':_0x477d('0x100e')},{'value':'ps','option':_0x477d('0x100f')},{'value':'fa','option':_0x477d('0x1010')},{'value':_0x477d('0x1011'),'option':_0x477d('0x1012')},{'value':'pl','option':_0x477d('0x1013')},{'value':_0x477d('0xfd1'),'option':_0x477d('0x1014')},{'value':_0x477d('0xfd2'),'option':_0x477d('0x1015')},{'value':'pa','option':_0x477d('0x1016')},{'value':'qu','option':_0x477d('0x1017')},{'value':'ro','option':'Romanian'},{'value':'rm','option':_0x477d('0x1018')},{'value':'ru','option':_0x477d('0xfaa')},{'value':'gd','option':'Scots\x20Gaelic'},{'value':'sr','option':_0x477d('0x1019')},{'value':'sh','option':_0x477d('0x101a')},{'value':'st','option':_0x477d('0x101b')},{'value':'sn','option':_0x477d('0x101c')},{'value':'sd','option':_0x477d('0x101d')},{'value':'si','option':_0x477d('0x101e')},{'value':'sk','option':_0x477d('0x101f')},{'value':'sl','option':_0x477d('0x1020')},{'value':'so','option':_0x477d('0x1021')},{'value':'es','option':'Spanish'},{'value':'su','option':_0x477d('0x1022')},{'value':'sw','option':_0x477d('0x1023')},{'value':'sv','option':_0x477d('0x1024')},{'value':'tg','option':'Tajik'},{'value':'ta','option':_0x477d('0x1025')},{'value':'tt','option':_0x477d('0x1026')},{'value':'te','option':'Telugu'},{'value':'th','option':_0x477d('0x1027')},{'value':'ti','option':_0x477d('0x1028')},{'value':'to','option':_0x477d('0x1029')},{'value':'tr','option':_0x477d('0x102a')},{'value':'tk','option':_0x477d('0x102b')},{'value':'tw','option':_0x477d('0x102c')},{'value':'ug','option':_0x477d('0x102d')},{'value':'uk','option':_0x477d('0xfab')},{'value':'ur','option':_0x477d('0x102e')},{'value':'uz','option':'Uzbek'},{'value':'vi','option':_0x477d('0x102f')},{'value':'cy','option':'Welsh'},{'value':'xh','option':'Xhosa'},{'value':'yi','option':_0x477d('0x1030')},{'value':'yo','option':_0x477d('0x1031')},{'value':'zu','option':'Zulu'}];}function _0x30fb75(){return[{'value':_0x477d('0x1032'),'option':'Afrikaans\x20(South\x20Africa)'},{'value':_0x477d('0x1033'),'option':'Amharic\x20(Ethiopia)'},{'value':_0x477d('0x1034'),'option':'Armenian\x20(Armenia)'},{'value':_0x477d('0x1035'),'option':_0x477d('0x1036')},{'value':_0x477d('0xfc8'),'option':_0x477d('0x1037')},{'value':_0x477d('0x1038'),'option':_0x477d('0x1039')},{'value':'bn-BD','option':_0x477d('0x103a')},{'value':_0x477d('0x103b'),'option':_0x477d('0x103c')},{'value':'ca-ES','option':_0x477d('0x103d')},{'value':'cs-CZ','option':'Czech\x20(Czech\x20Republic)'},{'value':_0x477d('0xfb4'),'option':_0x477d('0xfb5')},{'value':_0x477d('0xfb6'),'option':_0x477d('0x103e')},{'value':_0x477d('0xfba'),'option':_0x477d('0x103f')},{'value':'en-CA','option':_0x477d('0x1040')},{'value':_0x477d('0x1041'),'option':_0x477d('0x1042')},{'value':_0x477d('0xfbd'),'option':'English\x20(United\x20Kingdom)'},{'value':'en-IN','option':_0x477d('0xfbc')},{'value':_0x477d('0x1043'),'option':'English\x20(Ireland)'},{'value':_0x477d('0x1044'),'option':_0x477d('0x1045')},{'value':_0x477d('0x1046'),'option':_0x477d('0x1047')},{'value':_0x477d('0x1048'),'option':_0x477d('0x1049')},{'value':'en-PH','option':_0x477d('0x104a')},{'value':'en-ZA','option':'English\x20(South\x20Africa)'},{'value':'en-TZ','option':_0x477d('0x104b')},{'value':_0x477d('0xfbe'),'option':'English\x20(United\x20States)'},{'value':_0x477d('0x104c'),'option':_0x477d('0x104d')},{'value':_0x477d('0x104e'),'option':_0x477d('0x104f')},{'value':'es-CL','option':_0x477d('0x1050')},{'value':_0x477d('0x1051'),'option':'Spanish\x20(Colombia)'},{'value':_0x477d('0x1052'),'option':_0x477d('0x1053')},{'value':'es-EC','option':_0x477d('0x1054')},{'value':'es-SV','option':_0x477d('0x1055')},{'value':_0x477d('0xfd6'),'option':_0x477d('0x1056')},{'value':'es-US','option':_0x477d('0x1057')},{'value':_0x477d('0x1058'),'option':_0x477d('0x1059')},{'value':_0x477d('0x105a'),'option':'Spanish\x20(Honduras)'},{'value':'es-MX','option':_0x477d('0x105b')},{'value':'es-NI','option':_0x477d('0x105c')},{'value':_0x477d('0x105d'),'option':_0x477d('0x105e')},{'value':_0x477d('0x105f'),'option':_0x477d('0x1060')},{'value':_0x477d('0x1061'),'option':'Spanish\x20(Peru)'},{'value':_0x477d('0x1062'),'option':'Spanish\x20(Puerto\x20Rico)'},{'value':_0x477d('0x1063'),'option':_0x477d('0x1064')},{'value':_0x477d('0x1065'),'option':'Spanish\x20(Uruguay)'},{'value':_0x477d('0x1066'),'option':_0x477d('0x1067')},{'value':_0x477d('0x1068'),'option':'Basque\x20(Spain)'},{'value':'fil-PH','option':_0x477d('0xfc2')},{'value':_0x477d('0x1069'),'option':_0x477d('0xfc3')},{'value':_0x477d('0x106a'),'option':_0x477d('0xfc4')},{'value':_0x477d('0x106b'),'option':_0x477d('0x106c')},{'value':_0x477d('0x106d'),'option':_0x477d('0x106e')},{'value':'gu-IN','option':_0x477d('0x106f')},{'value':_0x477d('0x1070'),'option':_0x477d('0x1071')},{'value':'zu-ZA','option':_0x477d('0x1072')},{'value':_0x477d('0x1073'),'option':_0x477d('0x1074')},{'value':'it-IT','option':'Italian\x20(Italy)'},{'value':'jv-ID','option':'Javanese\x20(Indonesia)'},{'value':_0x477d('0x1075'),'option':_0x477d('0x1076')},{'value':_0x477d('0x1077'),'option':_0x477d('0x1078')},{'value':'lo-LA','option':_0x477d('0x1079')},{'value':'lv-LV','option':_0x477d('0x107a')},{'value':_0x477d('0x107b'),'option':'Lithuanian\x20(Lithuania)'},{'value':_0x477d('0xfc6'),'option':'Hungarian\x20(Hungary)'},{'value':_0x477d('0x107c'),'option':_0x477d('0x107d')},{'value':_0x477d('0x107e'),'option':_0x477d('0x107f')},{'value':_0x477d('0x1080'),'option':_0x477d('0xfb7')},{'value':_0x477d('0x1081'),'option':_0x477d('0x1082')},{'value':_0x477d('0xfce'),'option':_0x477d('0x1083')},{'value':_0x477d('0xfd0'),'option':_0x477d('0x1084')},{'value':_0x477d('0xfd1'),'option':'Portuguese\x20(Brazil)'},{'value':_0x477d('0xfd2'),'option':_0x477d('0x1015')},{'value':_0x477d('0x1085'),'option':_0x477d('0x1086')},{'value':_0x477d('0x1087'),'option':'Sinhala\x20(Srilanka)'},{'value':_0x477d('0xfd5'),'option':_0x477d('0x1088')},{'value':'sl-SI','option':'Slovenian\x20(Slovenia)'},{'value':_0x477d('0x1089'),'option':_0x477d('0x108a')},{'value':_0x477d('0x108b'),'option':'Swahili\x20(Tanzania)'},{'value':'sw-KE','option':_0x477d('0x108c')},{'value':_0x477d('0x108d'),'option':'Finnish\x20(Finland)'},{'value':_0x477d('0xfd7'),'option':_0x477d('0xfd8')},{'value':_0x477d('0x108e'),'option':_0x477d('0x108f')},{'value':_0x477d('0x1090'),'option':_0x477d('0x1091')},{'value':'ta-LK','option':_0x477d('0x1092')},{'value':_0x477d('0x1093'),'option':_0x477d('0x1094')},{'value':'te-IN','option':'Telugu\x20(India)'},{'value':_0x477d('0x1095'),'option':_0x477d('0xfdc')},{'value':_0x477d('0xfd9'),'option':_0x477d('0xfda')},{'value':'ur-PK','option':_0x477d('0x1096')},{'value':_0x477d('0x1097'),'option':_0x477d('0x1098')},{'value':_0x477d('0xfb8'),'option':_0x477d('0xfb9')},{'value':'bg-BG','option':_0x477d('0x1099')},{'value':'ru-RU','option':'Russian\x20(Russia)'},{'value':'sr-RS','option':_0x477d('0x109a')},{'value':_0x477d('0x109b'),'option':'Ukrainian\x20(Ukraine)'},{'value':_0x477d('0x109c'),'option':'Hebrew\x20(Israel)'},{'value':_0x477d('0x109d'),'option':_0x477d('0x109e')},{'value':_0x477d('0x109f'),'option':_0x477d('0x10a0')},{'value':'ar-AE','option':_0x477d('0x10a1')},{'value':_0x477d('0x10a2'),'option':_0x477d('0x10a3')},{'value':_0x477d('0x10a4'),'option':_0x477d('0x10a5')},{'value':_0x477d('0x10a6'),'option':_0x477d('0x10a7')},{'value':'ar-IQ','option':_0x477d('0x10a8')},{'value':_0x477d('0x10a9'),'option':'Arabic\x20(Kuwait)'},{'value':_0x477d('0x10aa'),'option':_0x477d('0x10ab')},{'value':_0x477d('0x10ac'),'option':_0x477d('0x10ad')},{'value':'ar-OM','option':'Arabic\x20(Oman)'},{'value':_0x477d('0x10ae'),'option':_0x477d('0x10af')},{'value':_0x477d('0x10b0'),'option':_0x477d('0x10b1')},{'value':_0x477d('0x10b2'),'option':_0x477d('0x10b3')},{'value':_0x477d('0x10b4'),'option':'Arabic\x20(Egypt)'},{'value':'fa-IR','option':'Persian\x20(Iran)'},{'value':_0x477d('0x10b5'),'option':'Hindi\x20(India)'},{'value':_0x477d('0x10b6'),'option':_0x477d('0x10b7')},{'value':_0x477d('0xfcc'),'option':_0x477d('0xfa5')},{'value':_0x477d('0x10b8'),'option':_0x477d('0x10b9')},{'value':_0x477d('0x10ba'),'option':_0x477d('0x10bb')},{'value':_0x477d('0xfca'),'option':_0x477d('0xfcb')},{'value':_0x477d('0x10bc'),'option':_0x477d('0x10bd')},{'value':_0x477d('0x10be'),'option':'Chinese,\x20Mandarin\x20(Simplified,\x20China)'}];}function _0x29d149(){return[{'value':_0x477d('0x10bf'),'option':_0x477d('0x10c0')},{'value':_0x477d('0x10c1'),'option':_0x477d('0x10c2')},{'value':_0x477d('0x10c3'),'option':_0x477d('0x10c4')},{'value':'ukenglishmale','option':_0x477d('0x10c5')},{'value':_0x477d('0x10c6'),'option':_0x477d('0x10c7')},{'value':_0x477d('0x10c8'),'option':_0x477d('0x10c9')},{'value':'usspanishmale','option':'US\x20Spanish\x20Male'},{'value':'chchinesefemale','option':_0x477d('0x10ca')},{'value':_0x477d('0x10cb'),'option':_0x477d('0x10cc')},{'value':_0x477d('0x10cd'),'option':_0x477d('0x10ce')},{'value':'twchinesefemale','option':_0x477d('0x10cf')},{'value':'jpjapanesefemale','option':'Japanese\x20Female'},{'value':'jpjapanesemale','option':_0x477d('0x10d0')},{'value':_0x477d('0x10d1'),'option':'Korean\x20Female'},{'value':'krkoreanmale','option':_0x477d('0x10d2')},{'value':_0x477d('0x10d3'),'option':_0x477d('0x10d4')},{'value':'huhungarianfemale','option':_0x477d('0x10d5')},{'value':'brportuguesefemale','option':_0x477d('0x10d6')},{'value':'eurportuguesefemale','option':'European\x20Portuguese\x20Female'},{'value':_0x477d('0x10d7'),'option':'European\x20Portuguese\x20Male'},{'value':_0x477d('0x10d8'),'option':_0x477d('0x10d9')},{'value':_0x477d('0x10da'),'option':_0x477d('0x10db')},{'value':_0x477d('0x10dc'),'option':_0x477d('0x10dd')},{'value':_0x477d('0x10de'),'option':_0x477d('0x10df')},{'value':_0x477d('0x10e0'),'option':_0x477d('0x10e1')},{'value':_0x477d('0x10e2'),'option':'European\x20Finnish\x20Female'},{'value':_0x477d('0x10e3'),'option':_0x477d('0x10e4')},{'value':_0x477d('0x10e5'),'option':_0x477d('0x10e6')},{'value':'eurnorwegianfemale','option':_0x477d('0x10e7')},{'value':'eurdutchfemale','option':_0x477d('0x10e8')},{'value':_0x477d('0x10e9'),'option':_0x477d('0x10ea')},{'value':'euritalianfemale','option':_0x477d('0x10eb')},{'value':_0x477d('0x10ec'),'option':_0x477d('0x10ed')},{'value':_0x477d('0x10ee'),'option':'European\x20Turkish\x20Female'},{'value':_0x477d('0x10ef'),'option':_0x477d('0x10f0')},{'value':_0x477d('0x10f1'),'option':'European\x20German\x20Female'},{'value':_0x477d('0x10f2'),'option':_0x477d('0x10f3')},{'value':'rurussianfemale','option':_0x477d('0x10f4')},{'value':_0x477d('0x10f5'),'option':'Russian\x20Male'},{'value':'swswedishfemale','option':'Swedish\x20Female'},{'value':'cafrenchfemale','option':_0x477d('0x10f6')},{'value':_0x477d('0x10f7'),'option':_0x477d('0x10f8')}];}function _0x2b57de(){return[{'value':_0x477d('0xfbe'),'option':_0x477d('0xfbf')},{'value':_0x477d('0x10f9'),'option':_0x477d('0x1040')},{'value':_0x477d('0xfbd'),'option':_0x477d('0x10fa')},{'value':_0x477d('0xfba'),'option':_0x477d('0x103f')},{'value':_0x477d('0xfd6'),'option':_0x477d('0x1056')},{'value':'es-MX','option':_0x477d('0x105b')},{'value':'it-IT','option':_0x477d('0x10fb')},{'value':'fr-FR','option':_0x477d('0x103e')},{'value':_0x477d('0x1069'),'option':'French\x20(Canada)'},{'value':_0x477d('0xfd0'),'option':_0x477d('0x1084')},{'value':'pt-PT','option':_0x477d('0x1015')},{'value':_0x477d('0x10fc'),'option':_0x477d('0x10fd')},{'value':_0x477d('0xfe7'),'option':_0x477d('0x10fe')},{'value':'da-DK','option':_0x477d('0xfb5')},{'value':_0x477d('0xfca'),'option':'Japanese\x20(Japan)'},{'value':'ko-KR','option':_0x477d('0x10ff')},{'value':'nl-NL','option':_0x477d('0xfb7')},{'value':_0x477d('0xfce'),'option':_0x477d('0xfcf')},{'value':'pt-BR','option':_0x477d('0x1014')},{'value':_0x477d('0xfd3'),'option':'Russian\x20(Russia)'},{'value':_0x477d('0xfd7'),'option':_0x477d('0xfd8')},{'value':'zh-CN','option':_0x477d('0x1100')},{'value':_0x477d('0xfae'),'option':'Chinese\x20(Hong\x20Kong)'}];}function _0x327093(){return[{'value':'0','option':_0x477d('0x1101')},{'value':'date','option':_0x477d('0x1102')},{'value':_0x477d('0x1103'),'option':_0x477d('0x1104')},{'value':_0x477d('0x1105'),'option':_0x477d('0x1106')},{'value':_0x477d('0x1107'),'option':_0x477d('0x1108')},{'value':_0x477d('0x1109'),'option':_0x477d('0x110a')},{'value':_0x477d('0x110b'),'option':_0x477d('0x110c')},{'value':_0x477d('0x110d'),'option':_0x477d('0x110e')},{'value':_0x477d('0x110f'),'option':'Streets'},{'value':_0x477d('0x1110'),'option':_0x477d('0x1111')}];}function _0x2738c8(){return[{'value':_0x477d('0x1112'),'option':_0x477d('0x1113')},{'value':'Astrid','option':_0x477d('0x1114')},{'value':'Brian','option':_0x477d('0x1115')},{'value':'Carla','option':_0x477d('0x1116')},{'value':_0x477d('0x1117'),'option':_0x477d('0x1118')},{'value':_0x477d('0x1119'),'option':_0x477d('0x111a')},{'value':_0x477d('0x111b'),'option':_0x477d('0x111c')},{'value':_0x477d('0x111d'),'option':_0x477d('0x111e')},{'value':_0x477d('0x111f'),'option':_0x477d('0x1120')},{'value':_0x477d('0x1121'),'option':_0x477d('0x1122')},{'value':_0x477d('0x1123'),'option':_0x477d('0x1124')},{'value':'Enrique','option':_0x477d('0x1125')},{'value':_0x477d('0x1126'),'option':'Ewa\x20(Polish,\x20Female)'},{'value':_0x477d('0x1127'),'option':'Filiz\x20(Turkish,\x20Female)'},{'value':_0x477d('0x1128'),'option':'Geraint\x20(English,\x20Welsh,\x20Male)'},{'value':'Giorgio','option':'Giorgio\x20(Italian,\x20Male)'},{'value':_0x477d('0x1129'),'option':_0x477d('0x112a')},{'value':_0x477d('0x112b'),'option':_0x477d('0x112c')},{'value':_0x477d('0x112d'),'option':'Ines\x20(Portuguese,\x20Female)'},{'value':_0x477d('0x112e'),'option':_0x477d('0x112f')},{'value':_0x477d('0x1130'),'option':_0x477d('0x1131')},{'value':_0x477d('0x1132'),'option':_0x477d('0x1133')},{'value':_0x477d('0x1134'),'option':_0x477d('0x1135')},{'value':_0x477d('0x1136'),'option':_0x477d('0x1137')},{'value':_0x477d('0x1138'),'option':_0x477d('0x1139')},{'value':_0x477d('0x113a'),'option':'Karl\x20(Icelandic,\x20Male)'},{'value':_0x477d('0x113b'),'option':_0x477d('0x113c')},{'value':_0x477d('0x113d'),'option':_0x477d('0x113e')},{'value':_0x477d('0x113f'),'option':_0x477d('0x1140')},{'value':_0x477d('0x1141'),'option':_0x477d('0x1142')},{'value':'Mads','option':'Mads\x20(Danish,\x20Male)'},{'value':_0x477d('0x1143'),'option':'Maja\x20(Polish,\x20Female)'},{'value':_0x477d('0x1144'),'option':_0x477d('0x1145')},{'value':'Mathieu','option':_0x477d('0x1146')},{'value':_0x477d('0x1147'),'option':_0x477d('0x1148')},{'value':_0x477d('0x1149'),'option':_0x477d('0x114a')},{'value':_0x477d('0x114b'),'option':_0x477d('0x114c')},{'value':_0x477d('0x114d'),'option':_0x477d('0x114e')},{'value':'Nicole','option':_0x477d('0x114f')},{'value':_0x477d('0x1150'),'option':_0x477d('0x1151')},{'value':_0x477d('0x1152'),'option':_0x477d('0x1153')},{'value':_0x477d('0x1154'),'option':_0x477d('0x1155')},{'value':_0x477d('0x1156'),'option':_0x477d('0x1157')},{'value':_0x477d('0x1158'),'option':_0x477d('0x1159')},{'value':_0x477d('0x115a'),'option':_0x477d('0x115b')},{'value':_0x477d('0x115c'),'option':'Tatyana\x20(Russian,\x20Female)'},{'value':_0x477d('0x115d'),'option':_0x477d('0x115e')}];}function _0x4e2cf9(){return[{'value':'us-east-1','option':_0x477d('0x115f')},{'value':_0x477d('0x1160'),'option':'US\x20East\x20(Ohio)'},{'value':_0x477d('0x1161'),'option':_0x477d('0x1162')},{'value':'us-west-2','option':_0x477d('0x1163')},{'value':_0x477d('0x1164'),'option':'Canada\x20(Central)'},{'value':_0x477d('0x1165'),'option':_0x477d('0x1166')},{'value':'eu-central-1','option':'EU\x20(Frankfurt)'},{'value':'eu-west-2','option':_0x477d('0x1167')},{'value':_0x477d('0x1168'),'option':'EU\x20(Paris)'},{'value':'ap-southeast-1','option':_0x477d('0x1169')},{'value':_0x477d('0x116a'),'option':_0x477d('0x116b')},{'value':_0x477d('0x116c'),'option':_0x477d('0x116d')},{'value':_0x477d('0x116e'),'option':'Asia\x20Pacific\x20(Tokyo)'},{'value':_0x477d('0x116f'),'option':'Asia\x20Pacific\x20(Mumbai)'},{'value':_0x477d('0x1170'),'option':'South\x20America\x20(São\x20Paulo)'}];}function _0x4d7ac8(){return[{'value':_0x477d('0x1171'),'option':_0x477d('0x115f')},{'value':'us-west-2','option':_0x477d('0x1163')},{'value':'eu-west-1','option':_0x477d('0x1166')},{'value':_0x477d('0x116a'),'option':'Asia\x20Pacific\x20(Sydney)'}];}}());(function(){'use strict';_0x41f7e4[_0x477d('0xa')]=[_0x477d('0x384'),_0x477d('0x40e'),_0x477d('0x1172'),_0x477d('0xf35')];angular[_0x477d('0xb')](_0x477d('0x36'))[_0x477d('0x3ba')]('MxGraphEditXMLController',_0x41f7e4);function _0x41f7e4(_0x262472,_0x29deef,_0x1fd969,_0x37a403){var _0x25ec06=this;_0x25ec06[_0x477d('0xf13')]={'preproduction':_0x1fd969};_0x25ec06['closeDialog']=_0x14d1bb;function _0x14d1bb(_0xe5f8fb){if(_0xe5f8fb){_0x37a403(_0x25ec06[_0x477d('0xf13')][_0x477d('0x1173')]);_0x262472['hide'](_0x25ec06['project'][_0x477d('0x1173')]);}else{_0x262472[_0x477d('0x3bc')]();}}}}());(function(){'use strict';_0x316469['$inject']=['$mdDialog',_0x477d('0xf35')];angular['module'](_0x477d('0x36'))[_0x477d('0x3ba')]('MxGraphImportXMLController',_0x316469);function _0x316469(_0xd5ed8b,_0x6d7c44){var _0x1a076d=this;var _0x38b1e0=0x5;var _0x4c25b8=_0x38b1e0*0x400*0x400;_0x1a076d[_0x477d('0xd67')]=[];_0x1a076d[_0x477d('0x1174')]={'singleFile':!![],'maxChunkRetries':0x1,'chunkSize':_0x4c25b8,'simultaneousUploads':0x1,'testChunks':![],'progressCallbacksInterval':0x3e8,'allowDuplicateUploads':!![]};_0x1a076d['ngFlow']={'flow':{}};_0x1a076d[_0x477d('0x1175')]=![];_0x1a076d[_0x477d('0x6bf')]=_0x5b6a08;_0x1a076d[_0x477d('0x1176')]=_0xb7dc1e;function _0xb7dc1e(_0xd28764){_0x1a076d[_0x477d('0xd67')]=[];var _0x13acd5=[_0x477d('0x1177')];if(!_[_0x477d('0x3a4')](_0x13acd5,_0xd28764[_0x477d('0x1178')]())){_0x1a076d[_0x477d('0xd67')][_0x477d('0x3a7')]({'message':_0x477d('0x1179')+_0xd28764[_0x477d('0x1178')]()+_0x477d('0x117a')});}if(_0xd28764[_0x477d('0x117b')]>_0x4c25b8){_0x1a076d['errors'][_0x477d('0x3a7')]({'message':_0x477d('0x117c')+_0x38b1e0+'MB'});}if(!_0x1a076d[_0x477d('0xd67')][_0x477d('0x79')]){var _0xd7db58=new FileReader();_0xd7db58['onload']=function(_0x492e35){_0x5b6a08(_0x492e35[_0x477d('0x378')]['result']);};_0xd7db58[_0x477d('0x117d')](_0xd28764[_0x477d('0xec5')]);}}function _0x5b6a08(_0x542485){if(_0x542485){_0x6d7c44(_0x542485);_0xd5ed8b['hide'](_0x542485);}else{_0xd5ed8b[_0x477d('0x3bc')]();}}}}());(function(){'use strict';_0x5610ea['$inject']=[_0x477d('0x384'),_0x477d('0x40e'),'project','api'];angular[_0x477d('0xb')](_0x477d('0x36'))[_0x477d('0x3ba')](_0x477d('0x117e'),_0x5610ea);function _0x5610ea(_0x3829b4,_0x3fb174,_0x14c8d8,_0xbf01aa){var _0x37174c=this;_0x37174c['project']=_[_0x477d('0x117f')](_0x14c8d8);_0x37174c[_0x477d('0x6bf')]=_0x1b0b6f;_0x37174c['save']=_0x15c51d;function _0x15c51d(){_0x37174c[_0x477d('0xd67')]=[];_0xbf01aa['squareProject'][_0x477d('0x710')]({'id':_0x37174c[_0x477d('0xf13')]['id']},{'notes':_0x37174c[_0x477d('0xf13')][_0x477d('0x1180')],'description':_0x37174c['project'][_0x477d('0xe0e')]})['$promise'][_0x477d('0x76')](function(_0x5e9c10){_0x3fb174[_0x477d('0x485')]({'title':'Project\x20updated!','msg':_0x37174c[_0x477d('0xf13')][_0x477d('0x94')]?_0x37174c[_0x477d('0xf13')][_0x477d('0x94')]+'\x20has\x20been\x20updated!':''});_0x3829b4[_0x477d('0x3bc')](_0x5e9c10);})['catch'](function(_0x37cf4c){console[_0x477d('0x44a')](_0x37cf4c);_0x37174c[_0x477d('0xd67')]=_0x37cf4c[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x37cf4c['toString'](),'type':_0x477d('0xf21')}];});}function _0x1b0b6f(){_0x3829b4[_0x477d('0x3bc')]();}}}());(function(){'use strict';_0x5b2ca7[_0x477d('0xa')]=['$mdDialog','toasty',_0x477d('0xf12'),_0x477d('0x387'),'$state'];angular['module'](_0x477d('0x36'))[_0x477d('0x3ba')](_0x477d('0x1181'),_0x5b2ca7);function _0x5b2ca7(_0x49b62a,_0x716c3e,_0xd30436,_0x2cb99e,_0xb37fbb){var _0x4b63c1=this;_0x4b63c1[_0x477d('0xf12')]=_0xd30436;_0x4b63c1['id']='';_0x4b63c1[_0x477d('0xf1d')]=!![];_0x4b63c1[_0x477d('0x6bf')]=_0x53acf0;function _0x53acf0(_0x3914ad){_0x4b63c1[_0x477d('0xd67')]=[];if(_0x3914ad){_0x49b62a[_0x477d('0x3bc')]();_0x4b63c1[_0x477d('0xf1d')]?_0x2cb99e['open'](_0x477d('0xf1e')+_0x4b63c1['id'],_0x477d('0x1182')):_0xb37fbb['go'](_0x477d('0x96'),{'id':_0x4b63c1['id']});}else{_0x49b62a[_0x477d('0x3bc')]();}}}}());(function(){'use strict';_0x873f87[_0x477d('0xa')]=[_0x477d('0x384'),_0x477d('0x40e'),'api','project','projects',_0x477d('0x40d'),_0x477d('0x55')];angular[_0x477d('0xb')](_0x477d('0x36'))[_0x477d('0x3ba')](_0x477d('0x1183'),_0x873f87);function _0x873f87(_0x5d4e55,_0x5375c2,_0x575de5,_0x565645,_0x37d4db,_0x2e3d3d,_0x478b65){var _0x2f4732=this;_0x2f4732['project']=_0x565645;_0x2f4732[_0x477d('0x1184')]=0x0;_0x2f4732[_0x477d('0x4a6')]=[];_0x2f4732['selectedItems']=[];_0x2f4732[_0x477d('0x6bf')]=_0x6f528;_0x2f4732[_0x477d('0x1185')]={'readOnly':![],'items':[],'selectedItems':[],'showSelectAndDeselectAll':!![],'orderBy':'name','line1':_0x477d('0xcd'),'line2':[_0x477d('0x94'),_0x477d('0x324')],'line3':_0x477d('0x1184'),'labelAll':_0x2e3d3d[_0x477d('0x45f')](_0x477d('0x1186')),'labelSelected':_0x2e3d3d[_0x477d('0x45f')](_0x477d('0x1187')),'transferCallback':function(_0x43e7ce,_0x3e2437){_0x575de5[_0x477d('0xc99')][_0x3e2437?_0x477d('0x1188'):_0x477d('0x1189')]({'id':_0x2f4732['project']['id'],'ids':_[_0x477d('0x3cb')](_0x43e7ce,'id'),'penalty':_0x2f4732[_0x477d('0x1184')]||0x0})['$promise']['then'](function(){_0x5375c2[_0x477d('0x485')]({'title':_0x477d('0x118a')+(_0x3e2437?_0x477d('0x118b'):_0x477d('0x118c')),'msg':_0x477d('0x118d')+(_0x3e2437?_0x477d('0x118b'):_0x477d('0x118c'))+'!'});if(!_0x3e2437){_0x46c009();}})[_0x477d('0xf8')](function(_0x14eee2){_0x5375c2['error']({'title':_0x14eee2[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x14eee2[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x14eee2['statusText']:_0x477d('0x118e'),'msg':_0x14eee2[_0x477d('0x3c3')]?JSON[_0x477d('0x3fb')](_0x14eee2[_0x477d('0x451')]):_0x14eee2[_0x477d('0x453')]()});});}};function _0x46c009(){return _0x575de5[_0x477d('0xc99')][_0x477d('0xf24')]({'id':_0x2f4732[_0x477d('0xf13')]['id'],'fields':_0x477d('0x118f'),'nolimit':!![],'role':_0x477d('0x380')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x5e7746){_0x2f4732[_0x477d('0x4a7')]=_0x5e7746['rows']?_[_0x477d('0x3cb')](_0x5e7746[_0x477d('0xf2')],function(_0x174cbf){return _0x174cbf;}):[];_0x2f4732[_0x477d('0x1185')][_0x477d('0x4a7')]=_0x2f4732[_0x477d('0x4a7')];return _0x575de5[_0x477d('0x380')][_0x477d('0x376')]({'fields':_0x477d('0x39a'),'role':_0x477d('0x380'),'nolimit':!![]})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x454e2f){_0x2f4732[_0x477d('0x4a6')]=_0x454e2f[_0x477d('0xf2')]?_[_0x477d('0x3cb')](_0x454e2f[_0x477d('0xf2')],function(_0x1fae67){return _0x1fae67;}):[];_0x2f4732[_0x477d('0x1185')][_0x477d('0x4a6')]=_['differenceBy'](_0x2f4732['items'],_0x2f4732[_0x477d('0x4a7')],'id');})[_0x477d('0xf8')](function(_0x26570b){_0x5375c2[_0x477d('0x44a')]({'title':_0x26570b[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x26570b[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x26570b[_0x477d('0x44d')]:_0x477d('0x1190'),'msg':_0x26570b[_0x477d('0x3c3')]?JSON[_0x477d('0x3fb')](_0x26570b[_0x477d('0x451')]):_0x26570b['toString']()});});}function _0x6f528(){_0x5d4e55['hide']();}_0x46c009();}}());(function(){'use strict';_0x98ee9a['$inject']=[_0x477d('0x384'),'toasty',_0x477d('0xf13'),_0x477d('0x1172'),_0x477d('0x386'),'$window',_0x477d('0x3c4')];angular[_0x477d('0xb')](_0x477d('0x36'))[_0x477d('0x3ba')]('MxGraphSaveProjectAsController',_0x98ee9a);function _0x98ee9a(_0x373b1a,_0x1b87b2,_0x59318c,_0x2b54d5,_0x6c0f0a,_0x45cd4e,_0xa88996){var _0x2ef27f=this;_0x2ef27f[_0x477d('0xf13')]=angular[_0x477d('0x6d9')](_0x59318c);_0x2ef27f[_0x477d('0xf13')][_0x477d('0x94')]+=_0x477d('0x1191');_0x2ef27f[_0x477d('0xf13')][_0x477d('0x1173')]=_0x2b54d5;_0x2ef27f[_0x477d('0xf1d')]=!![];_0x2ef27f[_0x477d('0x6bf')]=_0x50f7e7;_0x2ef27f[_0x477d('0xd70')]=_0xd1a325;function _0xd1a325(){delete _0x2ef27f['project']['id'];_0x6c0f0a[_0x477d('0xc99')]['save'](_0x2ef27f[_0x477d('0xf13')])['$promise'][_0x477d('0x76')](function(_0x32ed25){_0x1b87b2['success']({'title':'Project\x20properly\x20created','msg':_0x2ef27f[_0x477d('0xf13')][_0x477d('0x94')]?_0x2ef27f[_0x477d('0xf13')][_0x477d('0x94')]+'\x20has\x20been\x20created!':''});_0x373b1a['hide'](_0x32ed25);_0x2ef27f[_0x477d('0xf1d')]?_0x45cd4e[_0x477d('0x1192')](_0x477d('0xf1e')+_0x32ed25['id'],_0x477d('0x1182')):_0xa88996['go'](_0x477d('0x96'),{'id':_0x32ed25['id']});})[_0x477d('0xf8')](function(_0x196546){console[_0x477d('0x44a')](_0x196546);_0x2ef27f[_0x477d('0xd67')]=_0x196546[_0x477d('0x451')]['errors']||[{'message':_0x196546['toString'](),'type':_0x477d('0xf1f')}];});}function _0x50f7e7(){_0x373b1a[_0x477d('0x3bc')]();}}}());(function(){'use strict';_0x38de66['$inject']=[_0x477d('0x3c4'),_0x477d('0x475'),_0x477d('0x384'),'$q','$translate',_0x477d('0x40e'),_0x477d('0x386'),_0x477d('0xf13'),'users','trunks','queues','sounds',_0x477d('0xf31'),_0x477d('0x1193'),_0x477d('0xf32'),'projects','intervals',_0x477d('0xf33'),_0x477d('0xf34'),_0x477d('0xf1'),_0x477d('0xf38'),'pauses',_0x477d('0x3ac'),_0x477d('0x55')];angular[_0x477d('0xb')](_0x477d('0x36'))[_0x477d('0x3ba')]('ProjectController',_0x38de66);function _0x38de66(_0x22dc21,_0x245178,_0x4d8045,_0x56ed74,_0x24be6e,_0x109b91,_0x141c95,_0x1b5e09,_0x1d1bb3,_0xd50640,_0x407c43,_0x4190cc,_0x4e5781,_0xe591a8,_0x2ede35,_0x173335,_0x342a17,_0x9ee8b6,_0x5d57de,_0x2b40bf,_0x55b32b,_0x5da2bd,_0x171709,_0x49285a){var _0x2d75d2=this;_0x2d75d2['currentUser']=_0x49285a['getCurrentUser']();_0x2d75d2[_0x477d('0xf13')]=_0x1b5e09||{};_0x2d75d2[_0x477d('0x3ac')]=_0x171709&&_0x171709[_0x477d('0x3bb')]==0x1?_0x171709[_0x477d('0xf2')][0x0]:null;_0x2d75d2['crudPermissions']=_0x49285a[_0x477d('0xd81')](_0x2d75d2[_0x477d('0x3ac')]?_0x2d75d2[_0x477d('0x3ac')]['crudPermissions']:null);_0x2d75d2['onInit']=_0x115bbe;_0x2d75d2[_0x477d('0x1194')]=_0x584182;_0x2d75d2['openDialog']=_0x12ea91;_0x2d75d2[_0x477d('0xf18')]=_0xb99d8a;_0x2d75d2['openProject']=_0x58f78f;_0x2d75d2['saveProjectAs']=_0x51777b;_0x2d75d2[_0x477d('0x1195')]=_0x371b26;_0x2d75d2['updateInfo']=_0x5cbfec;_0x2d75d2[_0x477d('0x1196')]=_0x2cb5e7;_0x2d75d2['importXML']=_0x33faba;_0x2d75d2[_0x477d('0x1197')]=_0x27ae62;function _0x115bbe(){var _0x5baf10=new EditorUi(_0x2d75d2,new Editor(),document[_0x477d('0x5b2')]('geEditor'));_0x5baf10['openString'](_0x2d75d2['project'][_0x477d('0x1173')],_0x2d75d2[_0x477d('0xf13')][_0x477d('0x94')],_0x2d75d2[_0x477d('0xf13')]);}function _0x12ea91(_0x1e74e4,_0x3c4d08){_0x4d8045[_0x477d('0x395')]({'controller':_0x477d('0xf3c'),'controllerAs':'vm','templateUrl':_0x477d('0x1198'),'parent':angular[_0x477d('0x398')](_0x245178['body']),'clickOutsideToClose':!![],'locals':{'users':_0x1d1bb3[_0x477d('0xf2')]||[],'trunks':_0xd50640[_0x477d('0xf2')]||[],'queues':_0x407c43['rows']||[],'sounds':_0x4190cc[_0x477d('0xf2')]||[],'variables':_0x4e5781[_0x477d('0xf2')]||[],'databases':_0xe591a8[_0x477d('0xf2')]||[],'contexts':_0x2ede35[_0x477d('0xf2')]||[],'projects':_0x173335[_0x477d('0xf2')]||[],'intervals':_0x342a17['rows']||[],'mailAccounts':_0x9ee8b6[_0x477d('0xf2')]||[],'smsAccounts':_0x55b32b[_0x477d('0xf2')]||[],'pauses':_0x5da2bd[_0x477d('0xf2')]||[],'templates':_0x5d57de['rows']||[],'lists':_0x2b40bf[_0x477d('0xf2')]||[],'cell':_0x1e74e4,'saveCallback':_0x3c4d08,'crudPermissions':_0x2d75d2[_0x477d('0xd66')]}});}function _0xb99d8a(_0x14160b){_0x4d8045['show']({'controller':_0x477d('0xf14'),'controllerAs':'vm','templateUrl':_0x477d('0x1199'),'parent':angular[_0x477d('0x398')](_0x245178[_0x477d('0x399')]),'clickOutsideToClose':!![],'locals':{'project':_0x14160b,'projects':_0x173335['rows'],'openFromEditor':!![],'license':null,'setting':null,'crudPermissions':_0x2d75d2[_0x477d('0xd66')]}});}function _0x58f78f(){_0x4d8045[_0x477d('0x395')]({'controller':'MxGraphOpenProjectController','controllerAs':'vm','templateUrl':'app/main/apps/callysquare/views/projects/edit/open/open.html','parent':angular[_0x477d('0x398')](_0x245178[_0x477d('0x399')]),'clickOutsideToClose':!![],'locals':{'projects':_0x173335[_0x477d('0xf2')]||[]}});}function _0x51777b(_0x29faed){_0x4d8045[_0x477d('0x395')]({'controller':_0x477d('0x119a'),'controllerAs':'vm','templateUrl':'app/main/apps/callysquare/views/projects/edit/saveAs/saveAs.html','parent':angular['element'](_0x245178[_0x477d('0x399')]),'clickOutsideToClose':!![],'locals':{'project':_0x2d75d2[_0x477d('0xf13')],'currentXML':_0x29faed}})['then'](function(_0x4ced53){if(_0x4ced53){_0x173335['rows'][_0x477d('0x3a7')](_0x4ced53);}});}function _0x2779a5(){return _0x56ed74(function(_0x23020c,_0x30e728){return _0x141c95[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x2d75d2[_0x477d('0x3e5')]['userProfileId'],'sectionId':0x3f4})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x3c0f51){var _0x4d8941=_0x3c0f51[_0x477d('0xf2')]?_0x3c0f51[_0x477d('0xf2')][0x0]:null;var _0x598889=_0x49285a[_0x477d('0xd81')](_0x4d8941?_0x4d8941[_0x477d('0xd66')]:null);_0x23020c(_0x598889);})[_0x477d('0xf8')](function(_0x3235dd){_0x30e728(_0x3235dd);});});}function _0x371b26(_0x11875e){return _0x2779a5()[_0x477d('0x76')](function(_0x469f91){if(_0x469f91[_0x477d('0xedb')]){_0x4d8045['show']({'controller':_0x477d('0x119b'),'controllerAs':'vm','templateUrl':_0x477d('0x119c'),'parent':angular['element'](_0x245178[_0x477d('0x399')]),'clickOutsideToClose':!![],'locals':{'variable':_0x11875e,'variables':_0x4e5781['rows'],'license':null,'setting':null,'crudPermissions':_0x469f91}});}else{_0x109b91[_0x477d('0x669')]({'title':_0x24be6e[_0x477d('0x45f')](_0x477d('0x119d')),'msg':_0x24be6e['instant']('STAFF.PERMISSIONS_UNAUTHORIZED_CREATION_MESSAGE')});}})[_0x477d('0xf8')](function(_0x4043f3){_0x109b91[_0x477d('0x44a')]({'title':_0x4043f3[_0x477d('0x3c3')]?'API:'+_0x4043f3[_0x477d('0x3c3')]+'\x20-\x20'+_0x4043f3[_0x477d('0x44d')]:_0x477d('0x119e'),'msg':_0x4043f3[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x4043f3[_0x477d('0x451')]):_0x4043f3[_0x477d('0x453')]()});});}function _0x5cbfec(_0x18dbf4){_0x4d8045['show']({'controller':_0x477d('0x117e'),'controllerAs':'vm','templateUrl':_0x477d('0x119f'),'parent':angular[_0x477d('0x398')](_0x245178[_0x477d('0x399')]),'targetEvent':_0x18dbf4,'clickOutsideToClose':!![],'locals':{'project':_0x2d75d2[_0x477d('0xf13')]}})[_0x477d('0x76')](function(_0x55f35b){if(_0x55f35b){_[_0x477d('0xef')](_0x2d75d2[_0x477d('0xf13')],_0x55f35b);}});}function _0x2cb5e7(_0x399356,_0xd78971){_0x4d8045[_0x477d('0x395')]({'controller':_0x477d('0x11a0'),'controllerAs':'vm','templateUrl':_0x477d('0x11a1'),'parent':angular[_0x477d('0x398')](_0x245178[_0x477d('0x399')]),'clickOutsideToClose':!![],'locals':{'currentXML':_0x399356,'saveCallback':_0xd78971}})[_0x477d('0x76')](function(_0x3fa16c){if(_0x3fa16c){_0x2d75d2[_0x477d('0xf13')][_0x477d('0x1173')]=_0x3fa16c;}});}function _0x33faba(_0xb9c80a){_0x4d8045[_0x477d('0x395')]({'controller':_0x477d('0x11a2'),'controllerAs':'vm','templateUrl':_0x477d('0x11a3'),'parent':angular[_0x477d('0x398')](_0x245178['body']),'clickOutsideToClose':!![],'locals':{'saveCallback':_0xb9c80a}})['then'](function(_0x46219b){if(_0x46219b){_0x2d75d2['project'][_0x477d('0x1173')]=_0x46219b;}});}function _0x584182(_0x4f94e8,_0x2b1ec4){var _0x17ee08={'preproduction':_0x4f94e8};if(_0x2b1ec4){_0x17ee08[_0x477d('0x11a4')]=_0x4f94e8;}_0x141c95[_0x477d('0xc99')][_0x477d('0x710')]({'id':_0x2d75d2[_0x477d('0xf13')]['id']},_0x17ee08)['$promise'][_0x477d('0x76')](function(_0xea96e0){_0x109b91[_0x477d('0x485')]({'title':_0x477d('0x11a5')+(_0x2b1ec4?'published':_0x477d('0x11a6'))+'!','msg':_0x2d75d2[_0x477d('0xf13')][_0x477d('0x94')]?_0x2d75d2[_0x477d('0xf13')][_0x477d('0x94')]+_0x477d('0x11a7')+(_0x2b1ec4?_0x477d('0x11a8'):_0x477d('0x11a6'))+'!':''});_0x2d75d2[_0x477d('0xf13')]['preproduction']=_0xea96e0[_0x477d('0x1173')];})[_0x477d('0xf8')](function(_0x38c483){_0x109b91[_0x477d('0x44a')]({'title':_0x38c483[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x38c483[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x38c483[_0x477d('0x44d')]:_0x477d('0x11a9'),'msg':_0x38c483[_0x477d('0x451')]?JSON['stringify'](_0x38c483[_0x477d('0x451')]):_0x38c483[_0x477d('0x453')]()});});}function _0x27ae62(){_0x22dc21['go']('app.callysquare.projects',{},{'reload':'app.callysquare.projects'});}}}());(function(){'use strict';_0x23f6b0['$inject']=['$scope',_0x477d('0x3c4'),_0x477d('0x554'),'projects',_0x477d('0x3a5'),_0x477d('0x3ac'),_0x477d('0x386'),_0x477d('0x342'),_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x3fe'),_0x477d('0x40e'),_0x477d('0x55')];angular['module'](_0x477d('0x36'))['controller']('ProjectsController',_0x23f6b0);function _0x23f6b0(_0x296873,_0x3541fd,_0x3cdeae,_0x27cc74,_0x550e9b,_0x16f27c,_0x1e0dea,_0x4487d0,_0x154adf,_0xc2a027,_0x1f9217,_0x215446,_0x2294c6){var _0x43670d=this;_0x43670d[_0x477d('0x3e5')]=_0x2294c6['getCurrentUser']();_0x43670d[_0x477d('0xf12')]=_0x27cc74||{'count':0x0,'rows':[]};_0x43670d[_0x477d('0x3a5')]=_0x550e9b;_0x43670d['userProfileSection']=_0x16f27c&&_0x16f27c[_0x477d('0x3bb')]==0x1?_0x16f27c[_0x477d('0xf2')][0x0]:null;_0x43670d['crudPermissions']=_0x2294c6[_0x477d('0xd81')](_0x43670d[_0x477d('0x3ac')]?_0x43670d['userProfileSection'][_0x477d('0xd66')]:null);_0x43670d[_0x477d('0xd82')]=_0x477d('0xf12');_0x43670d['listOrder']='';_0x43670d['listOrderAsc']=null;_0x43670d[_0x477d('0x11aa')]=[];_0x43670d[_0x477d('0x3ef')]={'fields':_0x477d('0x93'),'sort':_0x477d('0x59'),'limit':0xa,'page':0x1};_0x43670d[_0x477d('0xea6')]=_0x3bf99f;_0x43670d['deleteconfirm']=_0x40ce58;_0x43670d[_0x477d('0x485')]=_0x529934;_0x43670d[_0x477d('0x11ab')]=_0x3ebf42;_0x43670d[_0x477d('0x11ac')]=_0x2507ec;_0x43670d[_0x477d('0x11ad')]=_0x42d21a;_0x43670d[_0x477d('0x11ae')]=_0x2df93c;_0x43670d[_0x477d('0x11af')]=_0x2f0bb8;_0x43670d['deselectProjects']=_0x19ee75;_0x43670d[_0x477d('0x11b0')]=_0x33ad34;function _0x3bf99f(_0x286580,_0x4c76a9){_0x3541fd['go'](_0x477d('0x96'),{'id':_0x286580['id'],'crudPermissions':_0x43670d['crudPermissions']});}function _0x40ce58(_0x5e2863,_0x6064a9){var _0x101a9d=_0x154adf[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x11b1'))[_0x477d('0xd92')](_0x477d('0xd93')+_0x5e2863['name']+_0x477d('0xd94')+'\x20will\x20be\x20deleted.')[_0x477d('0x687')](_0x477d('0x11b2'))[_0x477d('0xd7c')](_0x6064a9)['ok']('OK')['cancel'](_0x477d('0xd97'));_0x154adf[_0x477d('0x395')](_0x101a9d)[_0x477d('0x76')](function(){_0x42d21a(_0x5e2863);},function(){console[_0x477d('0x7b')](_0x477d('0xd97'));});}var _0x57f96b=!![];var _0x3d95eb=0x1;_0x296873[_0x477d('0x4b5')](_0x477d('0xd98'),function(_0x4c3e6e,_0x4f18fe){if(_0x57f96b){_0x1f9217(function(){_0x57f96b=![];});}else{if(!_0x4f18fe){_0x3d95eb=_0x43670d[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x4c3e6e!==_0x4f18fe){_0x43670d[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0x4c3e6e){_0x43670d['query']['page']=_0x3d95eb;}_0x43670d[_0x477d('0x11ab')]();}});function _0x529934(_0x49af62){_0x43670d[_0x477d('0xf12')]=_0x49af62||{'count':0x0,'rows':[]};}function _0x3ebf42(){_0x43670d['query'][_0x477d('0x91c')]=(_0x43670d['query'][_0x477d('0xe03')]-0x1)*_0x43670d['query'][_0x477d('0x91d')];if(_0x2294c6[_0x477d('0x56')](_0x477d('0x5f'))){_0x43670d[_0x477d('0x553')]=_0x1e0dea['squareProject'][_0x477d('0x376')](_0x43670d[_0x477d('0x3ef')],_0x529934)['$promise'];}else{_0x43670d[_0x477d('0x3ef')]['id']=_0x43670d[_0x477d('0x3a5')]['id'];_0x43670d['query']['section']=_0x477d('0x95');_0x43670d[_0x477d('0x553')]=_0x1e0dea[_0x477d('0x3a5')][_0x477d('0xd9a')](_0x43670d[_0x477d('0x3ef')],_0x529934)[_0x477d('0x38b')];}}function _0x2507ec(_0x4c5d31,_0x422457){_0x154adf[_0x477d('0x395')]({'controller':_0x477d('0xf14'),'controllerAs':'vm','templateUrl':_0x477d('0x1199'),'parent':angular[_0x477d('0x398')](_0xc2a027[_0x477d('0x399')]),'targetEvent':_0x4c5d31,'clickOutsideToClose':!![],'locals':{'project':_0x422457,'projects':_0x43670d[_0x477d('0xf12')][_0x477d('0xf2')],'openFromEditor':null,'setting':null,'crudPermissions':_0x43670d[_0x477d('0xd66')]}});}function _0x42d21a(_0x1fbda0){_0x1e0dea[_0x477d('0xc99')][_0x477d('0xa55')]({'id':_0x1fbda0['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x43670d['projects'][_0x477d('0xf2')],{'id':_0x1fbda0['id']});_0x43670d[_0x477d('0xf12')][_0x477d('0x3bb')]-=0x1;if(!_0x43670d[_0x477d('0xf12')][_0x477d('0xf2')][_0x477d('0x79')]){_0x43670d['getProjects']();}_0x215446[_0x477d('0x485')]({'title':_0x477d('0x11b3'),'msg':_0x1fbda0['name']?_0x1fbda0['name']+'\x20has\x20been\x20deleted!':''});})['catch'](function(_0x565427){if(_0x565427[_0x477d('0x451')]&&_0x565427[_0x477d('0x451')][_0x477d('0xd67')]&&_0x565427[_0x477d('0x451')][_0x477d('0xd67')]['length']){_0x43670d[_0x477d('0xd67')]=_0x565427[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x565427[_0x477d('0x453')](),'type':_0x477d('0x11b4')}];for(var _0x19ac10=0x0;_0x19ac10<_0x565427[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x19ac10++){_0x215446[_0x477d('0x44a')]({'title':_0x565427[_0x477d('0x451')][_0x477d('0xd67')][_0x19ac10]['type'],'msg':_0x565427[_0x477d('0x451')][_0x477d('0xd67')][_0x19ac10][_0x477d('0x452')]});}}else{_0x215446['error']({'title':_0x565427[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x565427[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x565427[_0x477d('0x44d')]:'api.project.delete','msg':_0x565427[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x565427[_0x477d('0x451')][_0x477d('0x452')]):_0x565427['message']||_0x565427[_0x477d('0x453')]()});}});}function _0x2df93c(){var _0x5390b6=angular['copy'](_0x43670d[_0x477d('0x11aa')]);_0x43670d[_0x477d('0x11aa')]=[];return _0x5390b6;}function _0x2f0bb8(_0x3bd10b){var _0x137f16=_0x154adf[_0x477d('0xd78')]()['title'](_0x477d('0x11b5'))[_0x477d('0xd92')](_0x477d('0xd93')+_0x43670d['selectedProjects']['length']+'\x20selected'+'\x20will\x20be\x20deleted.')[_0x477d('0x687')](_0x477d('0x11b6'))['targetEvent'](_0x3bd10b)['ok']('OK')[_0x477d('0x4f0')]('CANCEL');_0x154adf[_0x477d('0x395')](_0x137f16)[_0x477d('0x76')](function(){_0x43670d['selectedProjects']['forEach'](function(_0x3efef1){_0x42d21a(_0x3efef1);});_0x43670d[_0x477d('0x11aa')]=[];});}function _0x19ee75(){_0x43670d[_0x477d('0x11aa')]=[];}function _0x33ad34(){_0x43670d[_0x477d('0x11aa')]=_0x43670d['projects'][_0x477d('0xf2')];}}}());(function(){'use strict';_0x52ab34[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x3c4'),_0x477d('0xd64'),'$mdDialog','$q',_0x477d('0x40d'),_0x477d('0x40e'),_0x477d('0x11b7'),_0x477d('0x11b8'),_0x477d('0x386'),_0x477d('0x55'),_0x477d('0x613'),'setting','crudPermissions'];angular['module'](_0x477d('0x36'))[_0x477d('0x3ba')](_0x477d('0x11b9'),_0x52ab34);function _0x52ab34(_0x14d03e,_0x3c4143,_0x3190da,_0xc0fb3b,_0x501625,_0x4a9cad,_0x58f4da,_0x44cd20,_0x4e10ec,_0x1da455,_0x5db958,_0x3ce19f,_0x5267ad,_0x28efeb){var _0x21fc09=this;_0x21fc09[_0x477d('0x3e5')]=_0x5db958[_0x477d('0x5c')]();_0x21fc09[_0x477d('0xd67')]=[];_0x21fc09[_0x477d('0xc8e')]=_0x5267ad;_0x21fc09[_0x477d('0x613')]=_0x3ce19f;_0x21fc09[_0x477d('0xd66')]=_0x28efeb;_0x21fc09[_0x477d('0xd68')]={};_0x21fc09['passwordPattern']=_0x21fc09['setting']&&_0x21fc09[_0x477d('0xc8e')][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x21fc09['title']='CALLYSQUARE.EDIT_SQUARERECORDING';_0x21fc09[_0x477d('0x11b8')]=angular['copy'](_0x4e10ec);_0x21fc09[_0x477d('0x11b7')]=_0x44cd20;_0x21fc09['newSquareRecording']=![];if(!_0x21fc09[_0x477d('0x11b8')]){_0x21fc09[_0x477d('0x11b8')]={};_0x21fc09[_0x477d('0x49a')]=_0x477d('0x11ba');_0x21fc09[_0x477d('0x11bb')]=!![];}_0x21fc09[_0x477d('0x11bc')]=_0x432c25;_0x21fc09[_0x477d('0x11bd')]=_0x5c8eef;_0x21fc09[_0x477d('0x11be')]=_0x11ca3e;_0x21fc09[_0x477d('0xd6f')]=_0x2be121;_0x21fc09['closeDialog']=_0x493320;function _0x432c25(){_0x21fc09['errors']=[];_0x1da455[_0x477d('0x11b8')][_0x477d('0xd70')](_0x21fc09[_0x477d('0x11b8')])['$promise'][_0x477d('0x76')](function(_0xede1be){_0x21fc09[_0x477d('0x11b7')][_0x477d('0x63b')](_0xede1be['toJSON']());_0x58f4da[_0x477d('0x485')]({'title':_0x477d('0x11bf'),'msg':_0x21fc09[_0x477d('0x11b8')][_0x477d('0x94')]?_0x21fc09[_0x477d('0x11b8')]['name']+_0x477d('0xd73'):''});_0x493320(_0xede1be);})[_0x477d('0xf8')](function(_0x137c03){if(_0x137c03['data']&&_0x137c03[_0x477d('0x451')][_0x477d('0xd67')]&&_0x137c03[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x21fc09['errors']=_0x137c03[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x137c03[_0x477d('0x453')](),'type':_0x477d('0x11c0')}];for(var _0x157507=0x0;_0x157507<_0x137c03[_0x477d('0x451')]['errors'][_0x477d('0x79')];_0x157507+=0x1){_0x58f4da[_0x477d('0x44a')]({'title':_0x137c03['data'][_0x477d('0xd67')][_0x157507]['type'],'msg':_0x137c03[_0x477d('0x451')][_0x477d('0xd67')][_0x157507][_0x477d('0x452')]});}}else{_0x58f4da[_0x477d('0x44a')]({'title':_0x137c03[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x137c03[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x137c03[_0x477d('0x44d')]:_0x477d('0x11c0'),'msg':_0x137c03[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x137c03[_0x477d('0x451')][_0x477d('0x452')]):_0x137c03['toString']()});}});}function _0x5c8eef(){_0x21fc09[_0x477d('0xd67')]=[];_0x1da455[_0x477d('0x11b8')]['update']({'id':_0x21fc09[_0x477d('0x11b8')]['id']},_0x21fc09[_0x477d('0x11b8')])[_0x477d('0x38b')]['then'](function(_0x105359){var _0x116921=_['find'](_0x21fc09[_0x477d('0x11b7')],{'id':_0x105359['id']});if(_0x116921){_[_0x477d('0xef')](_0x116921,_['pick'](_0x105359[_0x477d('0xd71')](),_['keys'](_0x116921)));}_0x58f4da[_0x477d('0x485')]({'title':_0x477d('0x11c1'),'msg':_0x21fc09[_0x477d('0x11b8')]['name']?_0x21fc09[_0x477d('0x11b8')][_0x477d('0x94')]+_0x477d('0xd76'):''});_0x493320(_0x105359);})[_0x477d('0xf8')](function(_0x19642e){if(_0x19642e[_0x477d('0x451')]&&_0x19642e['data'][_0x477d('0xd67')]&&_0x19642e[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x21fc09[_0x477d('0xd67')]=_0x19642e[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x19642e[_0x477d('0x453')](),'type':_0x477d('0x11c2')}];for(var _0x167191=0x0;_0x167191<_0x19642e[_0x477d('0x451')]['errors'][_0x477d('0x79')];_0x167191++){_0x58f4da[_0x477d('0x44a')]({'title':_0x19642e['data'][_0x477d('0xd67')][_0x167191][_0x477d('0x439')],'msg':_0x19642e['data'][_0x477d('0xd67')][_0x167191]['message']});}}else{_0x58f4da[_0x477d('0x44a')]({'title':_0x19642e[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x19642e[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x19642e[_0x477d('0x44d')]:_0x477d('0x11c2'),'msg':_0x19642e['data']?JSON['stringify'](_0x19642e['data'][_0x477d('0x452')]):_0x19642e[_0x477d('0x453')]()});}});}function _0x11ca3e(_0x479b79){_0x21fc09[_0x477d('0xd67')]=[];var _0x41325e=_0xc0fb3b[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xd79'))[_0x477d('0xdaf')]('The\x20squareRecording\x20will\x20be\x20deleted.')['ariaLabel'](_0x477d('0x11c3'))['ok']('Delete')[_0x477d('0x4f0')](_0x477d('0x688'))[_0x477d('0xd7c')](_0x479b79);_0xc0fb3b[_0x477d('0x395')](_0x41325e)[_0x477d('0x76')](function(){_0x1da455[_0x477d('0x11b8')][_0x477d('0xa55')]({'id':_0x21fc09[_0x477d('0x11b8')]['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_['remove'](_0x21fc09[_0x477d('0x11b7')],{'id':_0x21fc09[_0x477d('0x11b8')]['id']});_0x58f4da[_0x477d('0x485')]({'title':_0x477d('0x11c4'),'msg':(_0x21fc09[_0x477d('0x11b8')]['name']||_0x477d('0x11b8'))+_0x477d('0xd7e')});_0x493320(_0x21fc09[_0x477d('0x11b8')]);})[_0x477d('0xf8')](function(_0x1c2c3b){if(_0x1c2c3b['data']&&_0x1c2c3b[_0x477d('0x451')][_0x477d('0xd67')]&&_0x1c2c3b[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x21fc09[_0x477d('0xd67')]=_0x1c2c3b['data'][_0x477d('0xd67')]||[{'message':_0x1c2c3b[_0x477d('0x453')](),'type':_0x477d('0x11c5')}];for(var _0x514219=0x0;_0x514219<_0x1c2c3b['data']['errors'][_0x477d('0x79')];_0x514219++){_0x58f4da[_0x477d('0x44a')]({'title':_0x1c2c3b[_0x477d('0x451')][_0x477d('0xd67')][_0x514219][_0x477d('0x439')],'msg':_0x1c2c3b[_0x477d('0x451')][_0x477d('0xd67')][_0x514219]['message']});}}else{_0x58f4da[_0x477d('0x44a')]({'title':_0x1c2c3b[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x1c2c3b[_0x477d('0x3c3')]+'\x20-\x20'+_0x1c2c3b[_0x477d('0x44d')]:_0x477d('0x11c5'),'msg':_0x1c2c3b[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x1c2c3b[_0x477d('0x451')][_0x477d('0x452')]):_0x1c2c3b[_0x477d('0x452')]||_0x1c2c3b[_0x477d('0x453')]()});}});},function(){});}function _0x2be121(_0x4ee801){return _0x4ee801===null?undefined:new Date(_0x4ee801);}function _0x493320(_0x497849){_0xc0fb3b['hide'](_0x497849);}}}());(function(){'use strict';_0x59b375[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x387'),_0x477d('0x3c4'),_0x477d('0x554'),_0x477d('0x384'),'$document',_0x477d('0x3fe'),_0x477d('0x40d'),'squareRecordings',_0x477d('0x3a5'),_0x477d('0x3ac'),_0x477d('0x386'),_0x477d('0x342'),_0x477d('0x40e'),_0x477d('0x55'),_0x477d('0x613'),'setting'];angular[_0x477d('0xb')](_0x477d('0x36'))[_0x477d('0x3ba')](_0x477d('0x11c6'),_0x59b375);function _0x59b375(_0x5e977e,_0x1a6e4d,_0x664b80,_0x515b64,_0x591237,_0x511d4f,_0x16bd60,_0x571563,_0x55cd15,_0x1f47aa,_0x1eec36,_0x449d4a,_0x3694aa,_0x2c95ae,_0x265ef6,_0x2c36b4,_0x507308){var _0x42f8be=this;_0x42f8be[_0x477d('0x613')]=_0x2c36b4;_0x42f8be['setting']=_0x507308;_0x42f8be[_0x477d('0x3e5')]=_0x265ef6[_0x477d('0x5c')]();_0x42f8be[_0x477d('0x11b7')]=_0x55cd15||{'count':0x0,'rows':[]};_0x42f8be[_0x477d('0x3a5')]=_0x1f47aa;_0x42f8be[_0x477d('0x3ac')]=_0x1eec36&&_0x1eec36['count']==0x1?_0x1eec36[_0x477d('0xf2')][0x0]:null;_0x42f8be[_0x477d('0xd66')]=_0x265ef6[_0x477d('0xd81')](_0x42f8be[_0x477d('0x3ac')]?_0x42f8be[_0x477d('0x3ac')][_0x477d('0xd66')]:null);_0x42f8be['table']=_0x477d('0x11b7');_0x42f8be[_0x477d('0xd83')]='';_0x42f8be[_0x477d('0xd84')]=null;_0x42f8be[_0x477d('0x11c7')]=[];_0x42f8be[_0x477d('0x3ef')]={'fields':'createdAt,updatedAt,id,filename,projectName,uniqueid,callerid,extension,audio,savePath,format','sort':'-updatedAt','limit':0xa,'page':0x1};_0x42f8be[_0x477d('0xd87')]=_0xd6dd68;_0x42f8be[_0x477d('0xd88')]=_0x349482;_0x42f8be[_0x477d('0x485')]=_0x16a47f;_0x42f8be[_0x477d('0x11c8')]=_0x51ca61;_0x42f8be['createOrEditSquareRecording']=_0x3b5fa4;_0x42f8be[_0x477d('0x11be')]=_0x3055f9;_0x42f8be['exportSelectedSquareRecordings']=_0x4dbda4;_0x42f8be[_0x477d('0x11c9')]=_0x2522e1;_0x42f8be[_0x477d('0x11ca')]=_0x25dbf0;_0x42f8be[_0x477d('0x11cb')]=_0x303841;function _0xd6dd68(_0xdd3328,_0x4c7e52){return _0x449d4a['squareRecording'][_0x477d('0x49d')]({'id':_0xdd3328['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x1be95e){var _0x4f4fb5=[_0x1be95e[_0x477d('0x49e')]];var _0x32f633=_0x477d('0x49d');var _0x23791c=new Blob(_0x4f4fb5,{'type':_0x1be95e[_0x477d('0x439')]});_0x32f633=_0xdd3328[_0x477d('0x648')]+_0xdd3328[_0x477d('0x12f')];var _0x4f0cda=window['document'][_0x477d('0x3c7')]('a');_0x4f0cda[_0x477d('0x494')]('href',URL['createObjectURL'](_0x23791c));_0x4f0cda[_0x477d('0x494')](_0x477d('0x49d'),_0x32f633);document[_0x477d('0x399')]['appendChild'](_0x4f0cda);_0x4f0cda[_0x477d('0x540')]();})[_0x477d('0xf8')](function(_0x945951){if(_0x945951[_0x477d('0x451')]&&_0x945951[_0x477d('0x451')][_0x477d('0xd67')]&&_0x945951[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){for(var _0x301804=0x0;_0x301804<_0x945951[_0x477d('0x451')][_0x477d('0xd67')]['length'];_0x301804++){_0x2c95ae[_0x477d('0x44a')]({'title':_0x945951[_0x477d('0x451')][_0x477d('0xd67')][_0x301804][_0x477d('0x439')],'msg':_0x945951['data']['errors'][_0x301804][_0x477d('0x452')]});}}else{_0x2c95ae[_0x477d('0x44a')]({'title':_0x945951[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x945951[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x945951[_0x477d('0x44d')]:'api.squareRecording.save','msg':_0x945951[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x945951[_0x477d('0x451')][_0x477d('0x452')]):_0x945951[_0x477d('0x453')]()});}});}function _0x349482(_0x33b757,_0x23a517){var _0xe7de24=_0x591237['confirm']()[_0x477d('0x49a')](_0x477d('0xd90')+_[_0x477d('0xd91')](_0x477d('0x11b8'))+'?')['htmlContent'](''+(_0x33b757[_0x477d('0x94')]||_0x477d('0x11b8'))+_0x477d('0xd94')+'\x20will\x20be\x20deleted.')[_0x477d('0x687')](_0x477d('0x11cc'))['targetEvent'](_0x23a517)['ok']('OK')['cancel']('CANCEL');_0x591237[_0x477d('0x395')](_0xe7de24)['then'](function(){_0x3055f9(_0x33b757);},function(){console[_0x477d('0x7b')](_0x477d('0xd97'));});}var _0x1c7b21=!![];var _0x40bbad=0x1;_0x5e977e['$watch'](_0x477d('0xd98'),function(_0x5c4e8b,_0x4ee332){if(_0x1c7b21){_0x16bd60(function(){_0x1c7b21=![];});}else{if(!_0x4ee332){_0x40bbad=_0x42f8be[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x5c4e8b!==_0x4ee332){_0x42f8be['query']['page']=0x1;}if(!_0x5c4e8b){_0x42f8be['query'][_0x477d('0xe03')]=_0x40bbad;}_0x42f8be[_0x477d('0x11c8')]();}});function _0x16a47f(_0x225d52){_0x42f8be[_0x477d('0x11b7')]=_0x225d52||{'count':0x0,'rows':[]};}function _0x51ca61(){_0x42f8be[_0x477d('0x3ef')]['offset']=(_0x42f8be[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x42f8be[_0x477d('0x3ef')][_0x477d('0x91d')];if(_0x265ef6[_0x477d('0x56')](_0x477d('0x5f'))){_0x42f8be[_0x477d('0x553')]=_0x449d4a[_0x477d('0x11b8')][_0x477d('0x376')](_0x42f8be[_0x477d('0x3ef')],_0x16a47f)['$promise'];}else{_0x42f8be[_0x477d('0x3ef')]['id']=_0x42f8be[_0x477d('0x3a5')]['id'];_0x42f8be['query'][_0x477d('0xd99')]=_0x477d('0x8d');_0x42f8be[_0x477d('0x553')]=_0x449d4a['userProfile'][_0x477d('0xd9a')](_0x42f8be[_0x477d('0x3ef')],_0x16a47f)[_0x477d('0x38b')];}}function _0x3b5fa4(_0x180719,_0x439d86){_0x591237[_0x477d('0x395')]({'controller':_0x477d('0x11b9'),'controllerAs':'vm','templateUrl':_0x477d('0x11cd'),'parent':angular['element'](_0x511d4f[_0x477d('0x399')]),'targetEvent':_0x180719,'clickOutsideToClose':!![],'locals':{'squareRecording':_0x439d86,'squareRecordings':_0x42f8be['squareRecordings']['rows'],'license':_0x42f8be['license'],'setting':_0x42f8be['setting'],'crudPermissions':_0x42f8be[_0x477d('0xd66')]}});}function _0x3055f9(_0x55a5f1){_0x449d4a[_0x477d('0x11b8')]['delete']({'id':_0x55a5f1['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_['remove'](_0x42f8be['squareRecordings'][_0x477d('0xf2')],{'id':_0x55a5f1['id']});_0x42f8be['squareRecordings'][_0x477d('0x3bb')]-=0x1;if(!_0x42f8be[_0x477d('0x11b7')][_0x477d('0xf2')][_0x477d('0x79')]){_0x42f8be[_0x477d('0x11c8')]();}_0x2c95ae[_0x477d('0x485')]({'title':_[_0x477d('0xd91')]('SquareRecording')+_0x477d('0xd9d'),'msg':_0x55a5f1[_0x477d('0x94')]?_0x55a5f1[_0x477d('0x94')]+_0x477d('0xd7e'):''});})[_0x477d('0xf8')](function(_0x1895ae){if(_0x1895ae[_0x477d('0x451')]&&_0x1895ae[_0x477d('0x451')][_0x477d('0xd67')]&&_0x1895ae[_0x477d('0x451')]['errors'][_0x477d('0x79')]){_0x42f8be[_0x477d('0xd67')]=_0x1895ae[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x1895ae[_0x477d('0x453')](),'type':_0x477d('0x11ce')}];for(var _0xcd5e05=0x0;_0xcd5e05<_0x1895ae[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0xcd5e05++){_0x2c95ae[_0x477d('0x44a')]({'title':_0x1895ae[_0x477d('0x451')][_0x477d('0xd67')][_0xcd5e05][_0x477d('0x439')],'msg':_0x1895ae['data'][_0x477d('0xd67')][_0xcd5e05][_0x477d('0x452')]});}}else{_0x2c95ae[_0x477d('0x44a')]({'title':_0x1895ae[_0x477d('0x3c3')]?'API:'+_0x1895ae['status']+_0x477d('0x44c')+_0x1895ae['statusText']:_0x477d('0x11ce'),'msg':_0x1895ae[_0x477d('0x451')]?JSON['stringify'](_0x1895ae[_0x477d('0x451')][_0x477d('0x452')]):_0x1895ae['message']||_0x1895ae[_0x477d('0x453')]()});}});}function _0x4dbda4(){var _0x46e895=angular[_0x477d('0x6d9')](_0x42f8be['selectedSquareRecordings']);_0x42f8be['selectedSquareRecordings']=[];return _0x46e895;}function _0x2522e1(_0x4f1ebe){var _0x268f6c=_0x591237[_0x477d('0xd78')]()[_0x477d('0x49a')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20squareRecordings?')['htmlContent'](''+_0x42f8be[_0x477d('0x11c7')][_0x477d('0x79')]+_0x477d('0xda0')+'\x20will\x20be\x20deleted.')[_0x477d('0x687')](_0x477d('0x11cf'))[_0x477d('0xd7c')](_0x4f1ebe)['ok']('OK')[_0x477d('0x4f0')]('CANCEL');_0x591237['show'](_0x268f6c)['then'](function(){_0x42f8be[_0x477d('0x11c7')]['forEach'](function(_0x101473){_0x3055f9(_0x101473);});_0x42f8be[_0x477d('0x11c7')]=[];});}function _0x25dbf0(){_0x42f8be['selectedSquareRecordings']=[];}function _0x303841(){_0x42f8be[_0x477d('0x11c7')]=_0x42f8be['squareRecordings']['rows'];}}}());(function(){'use strict';_0x119cf7[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x387'),_0x477d('0x3c4'),_0x477d('0x554'),'$mdDialog',_0x477d('0x475'),_0x477d('0x3fe'),'$translate','chatQueues',_0x477d('0x3a5'),'userProfileSection',_0x477d('0x386'),_0x477d('0x342'),_0x477d('0x40e'),_0x477d('0x55'),_0x477d('0x613'),_0x477d('0xc8e')];angular['module'](_0x477d('0x30'))[_0x477d('0x3ba')](_0x477d('0x11d0'),_0x119cf7);function _0x119cf7(_0x2ac3a9,_0x52c453,_0x25051c,_0x33592f,_0x51933c,_0x3cf091,_0x17036b,_0x473785,_0xd7e700,_0xd47671,_0x3e3e3e,_0x4e147c,_0x21b0c5,_0x10aff4,_0x235707,_0x13a18e,_0x54ea64){var _0x1553e0=this;_0x1553e0[_0x477d('0x613')]=_0x13a18e;_0x1553e0[_0x477d('0xc8e')]=_0x54ea64;_0x1553e0['currentUser']=_0x235707['getCurrentUser']();_0x1553e0[_0x477d('0x11d1')]=_0xd7e700||{'count':0x0,'rows':[]};_0x1553e0[_0x477d('0x3a5')]=_0xd47671;_0x1553e0['userProfileSection']=_0x3e3e3e&&_0x3e3e3e[_0x477d('0x3bb')]==0x1?_0x3e3e3e[_0x477d('0xf2')][0x0]:null;_0x1553e0[_0x477d('0xd66')]=_0x235707['parseCrudPermissions'](_0x1553e0['userProfileSection']?_0x1553e0[_0x477d('0x3ac')][_0x477d('0xd66')]:null);_0x1553e0[_0x477d('0xd82')]=_0x477d('0x11d1');_0x1553e0[_0x477d('0xd83')]='';_0x1553e0['listOrderAsc']=null;_0x1553e0['selectedChatQueues']=[];_0x1553e0[_0x477d('0x3ef')]={'fields':'createdAt,updatedAt,id,name,strategy,timeout,description','sort':_0x477d('0x59'),'channel':_0x477d('0xb6'),'limit':0xa,'page':0x1};_0x1553e0['arraystrategy']=_['keyBy']([{'option':'Beepall','value':_0x477d('0x11d2')},{'option':'RR\x20Memory','value':_0x477d('0x11d3')}],function(_0x5e9d0c){return _[_0x477d('0x409')](_0x5e9d0c[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x1553e0[_0x477d('0xea6')]=_0x23e622;_0x1553e0[_0x477d('0x11d4')]=_0x1d32ab;_0x1553e0['agentadddialog']=_0x4bba0c;_0x1553e0['deleteconfirm']=_0x446e41;_0x1553e0[_0x477d('0x11d5')]=_0x35140e;_0x1553e0[_0x477d('0x485')]=_0x40eb6a;_0x1553e0[_0x477d('0x11d6')]=_0x1153be;_0x1553e0[_0x477d('0x11d7')]=_0x3d8d14;_0x1553e0[_0x477d('0x11d8')]=_0x4acdfb;_0x1553e0[_0x477d('0x11d9')]=_0x11f4f4;_0x1553e0[_0x477d('0x11da')]=_0x119464;_0x1553e0[_0x477d('0x11db')]=_0xe0eb0;_0x1553e0[_0x477d('0x11dc')]=_0x1cde96;function _0x23e622(_0x190763,_0x652051){_0x25051c['go']('app.chat.chatQueues.edit',{'id':_0x190763['id'],'chatQueue':_0x190763,'crudPermissions':_0x1553e0[_0x477d('0xd66')]});}function _0x1d32ab(_0x4be4ad,_0x5a6c71){_0x51933c['show']({'controller':_0x477d('0x11dd'),'controllerAs':'vm','templateUrl':_0x477d('0x11de'),'parent':angular['element'](_0x3cf091[_0x477d('0x399')]),'targetEvent':_0x5a6c71,'clickOutsideToClose':!![],'locals':{'chatQueue':_0x4be4ad,'chatQueues':_0x1553e0[_0x477d('0x11d1')]?_0x1553e0[_0x477d('0x11d1')][_0x477d('0xf2')]:[],'crudPermissions':_0x1553e0[_0x477d('0xd66')]}});}function _0x4bba0c(_0x5d5691,_0x33ef3c){_0x51933c[_0x477d('0x395')]({'controller':'ChatQueueagentaddController','controllerAs':'vm','templateUrl':'app/main/apps/chat/views/chatQueues/edit/agentadd/agentadd.html','parent':angular['element'](_0x3cf091[_0x477d('0x399')]),'targetEvent':_0x33ef3c,'clickOutsideToClose':!![],'locals':{'chatQueue':_0x5d5691,'chatQueues':_0x1553e0[_0x477d('0x11d1')]?_0x1553e0[_0x477d('0x11d1')][_0x477d('0xf2')]:[],'crudPermissions':_0x1553e0[_0x477d('0xd66')],'realtime':![]}});}function _0x446e41(_0x1682f1,_0x1890b6){var _0x1b23ab=_0x51933c[_0x477d('0xd78')]()[_0x477d('0x49a')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20'+_[_0x477d('0xd91')](_0x477d('0xe40'))+'?')[_0x477d('0xd92')](_0x477d('0xd93')+(_0x1682f1[_0x477d('0x94')]||_0x477d('0xe40'))+_0x477d('0xd94')+_0x477d('0xd95'))[_0x477d('0x687')]('delete\x20chatQueue')[_0x477d('0xd7c')](_0x1890b6)['ok']('OK')['cancel']('CANCEL');_0x51933c[_0x477d('0x395')](_0x1b23ab)['then'](function(){_0x4acdfb(_0x1682f1);},function(){console['log'](_0x477d('0xd97'));});}function _0x35140e(_0x21939d,_0xcacfc3){if(_0x235707['hasRole']('admin')){_0x25051c['go'](_0x477d('0xd1'),{});}else{return _0x4e147c[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x235707[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0x1fe})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x209578){var _0x5cf8ea=_0x209578&&_0x209578[_0x477d('0xf2')]?_0x209578[_0x477d('0xf2')][0x0]:null;if(_0x5cf8ea&&_0x5cf8ea[_0x477d('0x3b4')]){_0x25051c['go']('app.chat.realtime.queues',{});}else{_0x10aff4[_0x477d('0x669')]({'title':_0x473785['instant']('STAFF.PERMISSIONS_UNAUTHORIZED_REDIRECT_TITLE'),'msg':_0x473785[_0x477d('0x45f')]('STAFF.PERMISSIONS_UNAUTHORIZED_REDIRECT_MESSAGE')});}})[_0x477d('0xf8')](function(_0x59738b){_0x10aff4[_0x477d('0x44a')]({'title':_0x59738b[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x59738b[_0x477d('0x3c3')]+'\x20-\x20'+_0x59738b[_0x477d('0x44d')]:_0x477d('0x11df'),'msg':_0x59738b[_0x477d('0x3c3')]?JSON[_0x477d('0x3fb')](_0x59738b[_0x477d('0x451')]):_0x59738b[_0x477d('0x453')]()});});}}var _0x5ea441=!![];var _0x4fc0a5=0x1;_0x2ac3a9['$watch'](_0x477d('0xd98'),function(_0x4e3b85,_0x145f55){if(_0x5ea441){_0x17036b(function(){_0x5ea441=![];});}else{if(!_0x145f55){_0x4fc0a5=_0x1553e0['query']['page'];}if(_0x4e3b85!==_0x145f55){_0x1553e0[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0x4e3b85){_0x1553e0[_0x477d('0x3ef')]['page']=_0x4fc0a5;}_0x1553e0[_0x477d('0x11d6')]();}});function _0x40eb6a(_0x4555cc){_0x1553e0[_0x477d('0x11d1')]=_0x4555cc||{'count':0x0,'rows':[]};}function _0x1153be(){_0x1553e0[_0x477d('0x3ef')]['offset']=(_0x1553e0[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x1553e0[_0x477d('0x3ef')][_0x477d('0x91d')];if(_0x235707[_0x477d('0x56')](_0x477d('0x5f'))){_0x1553e0[_0x477d('0x553')]=_0x4e147c[_0x477d('0xe40')]['get'](_0x1553e0[_0x477d('0x3ef')],_0x40eb6a)['$promise'];}else{_0x1553e0['query']['id']=_0x1553e0[_0x477d('0x3a5')]['id'];_0x1553e0['query'][_0x477d('0xd99')]=_0x477d('0xd4');_0x1553e0[_0x477d('0x553')]=_0x4e147c[_0x477d('0x3a5')][_0x477d('0xd9a')](_0x1553e0[_0x477d('0x3ef')],_0x40eb6a)[_0x477d('0x38b')];}}function _0x3d8d14(_0x392bae,_0x40e316){_0x51933c[_0x477d('0x395')]({'controller':_0x477d('0x11e0'),'controllerAs':'vm','templateUrl':'app/main/apps/chat/views/chatQueues/create/dialog.html','parent':angular[_0x477d('0x398')](_0x3cf091[_0x477d('0x399')]),'targetEvent':_0x392bae,'clickOutsideToClose':!![],'locals':{'chatQueue':_0x40e316,'chatQueues':_0x1553e0[_0x477d('0x11d1')][_0x477d('0xf2')],'license':_0x1553e0[_0x477d('0x613')],'setting':_0x1553e0[_0x477d('0xc8e')],'crudPermissions':_0x1553e0[_0x477d('0xd66')]}});}function _0x4acdfb(_0x3e2a00){_0x4e147c[_0x477d('0xe40')][_0x477d('0xa55')]({'id':_0x3e2a00['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x1553e0[_0x477d('0x11d1')][_0x477d('0xf2')],{'id':_0x3e2a00['id']});_0x1553e0[_0x477d('0x11d1')]['count']-=0x1;if(!_0x1553e0[_0x477d('0x11d1')][_0x477d('0xf2')][_0x477d('0x79')]){_0x1553e0['getChatQueues']();}_0x10aff4[_0x477d('0x485')]({'title':_[_0x477d('0xd91')](_0x477d('0x11e1'))+'\x20deleted!','msg':_0x3e2a00[_0x477d('0x94')]?_0x3e2a00['name']+_0x477d('0xd7e'):''});})['catch'](function(_0x2b4c4e){if(_0x2b4c4e['data']&&_0x2b4c4e[_0x477d('0x451')][_0x477d('0xd67')]&&_0x2b4c4e['data'][_0x477d('0xd67')][_0x477d('0x79')]){_0x1553e0['errors']=_0x2b4c4e[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x2b4c4e[_0x477d('0x453')](),'type':_0x477d('0x11e2')}];for(var _0x45b0e0=0x0;_0x45b0e0<_0x2b4c4e['data'][_0x477d('0xd67')][_0x477d('0x79')];_0x45b0e0++){_0x10aff4[_0x477d('0x44a')]({'title':_0x2b4c4e[_0x477d('0x451')][_0x477d('0xd67')][_0x45b0e0]['type'],'msg':_0x2b4c4e['data']['errors'][_0x45b0e0]['message']});}}else{_0x10aff4[_0x477d('0x44a')]({'title':_0x2b4c4e[_0x477d('0x3c3')]?'API:'+_0x2b4c4e[_0x477d('0x3c3')]+'\x20-\x20'+_0x2b4c4e['statusText']:_0x477d('0x11e2'),'msg':_0x2b4c4e['data']?JSON[_0x477d('0x3fb')](_0x2b4c4e[_0x477d('0x451')][_0x477d('0x452')]):_0x2b4c4e[_0x477d('0x452')]||_0x2b4c4e['toString']()});}});}function _0x11f4f4(){var _0x4d326a=angular['copy'](_0x1553e0[_0x477d('0x11e3')]);_0x1553e0[_0x477d('0x11e3')]=[];return _0x4d326a;}function _0x119464(_0x38de85){var _0x234b89=_0x51933c['confirm']()[_0x477d('0x49a')](_0x477d('0x11e4'))['htmlContent'](_0x477d('0xd93')+_0x1553e0[_0x477d('0x11e3')][_0x477d('0x79')]+_0x477d('0xda0')+_0x477d('0xd95'))['ariaLabel']('delete\x20ChatQueues')[_0x477d('0xd7c')](_0x38de85)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x51933c['show'](_0x234b89)[_0x477d('0x76')](function(){_0x1553e0[_0x477d('0x11e3')][_0x477d('0x3b1')](function(_0x34bce6){_0x4acdfb(_0x34bce6);});_0x1553e0[_0x477d('0x11e3')]=[];});}function _0xe0eb0(){_0x1553e0[_0x477d('0x11e3')]=[];}function _0x1cde96(){_0x1553e0[_0x477d('0x11e3')]=_0x1553e0[_0x477d('0x11d1')][_0x477d('0xf2')];}}}());(function(){'use strict';_0x5887ca[_0x477d('0xa')]=['$scope',_0x477d('0x3c4'),_0x477d('0xd64'),_0x477d('0x384'),'$q',_0x477d('0x40d'),_0x477d('0x40e'),_0x477d('0x11d1'),_0x477d('0xe40'),_0x477d('0x386'),_0x477d('0x55'),'license',_0x477d('0xc8e'),_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x30'))['controller'](_0x477d('0x11e0'),_0x5887ca);function _0x5887ca(_0x41cc6a,_0x227a4d,_0x4c62b4,_0x504003,_0x5342b8,_0x5226df,_0x55267e,_0x1b6932,_0x1e515a,_0x42623c,_0x5e856c,_0x412985,_0x4f359e,_0xa65b8a){var _0x140d9b=this;_0x140d9b[_0x477d('0x3e5')]=_0x5e856c[_0x477d('0x5c')]();_0x140d9b[_0x477d('0xd67')]=[];_0x140d9b['setting']=_0x4f359e;_0x140d9b[_0x477d('0x613')]=_0x412985;_0x140d9b[_0x477d('0xd66')]=_0xa65b8a;_0x140d9b[_0x477d('0xd68')]={};_0x140d9b[_0x477d('0xd69')]=_0x140d9b[_0x477d('0xc8e')]&&_0x140d9b[_0x477d('0xc8e')][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x140d9b[_0x477d('0x49a')]=_0x477d('0x11e5');_0x140d9b[_0x477d('0xe40')]=angular[_0x477d('0x6d9')](_0x1e515a);_0x140d9b['chatQueues']=_0x1b6932;_0x140d9b[_0x477d('0x11e6')]=![];if(!_0x140d9b[_0x477d('0xe40')]){_0x140d9b['chatQueue']={'strategy':_0x477d('0x11e7'),'timeout':0xa};_0x140d9b[_0x477d('0x49a')]=_0x477d('0x11e8');_0x140d9b['newChatQueue']=!![];}_0x140d9b[_0x477d('0x11e9')]=_0x26975a;_0x140d9b['saveChatQueue']=_0x4c80eb;_0x140d9b[_0x477d('0x11d8')]=_0x4c1955;_0x140d9b[_0x477d('0xd6f')]=_0x4c15b7;_0x140d9b['closeDialog']=_0x2611f9;function _0x26975a(){_0x140d9b[_0x477d('0xd67')]=[];_0x42623c['chatQueue']['save'](_0x140d9b[_0x477d('0xe40')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x2eeda6){_0x140d9b[_0x477d('0x11d1')][_0x477d('0x63b')](_0x2eeda6['toJSON']());_0x55267e[_0x477d('0x485')]({'title':_0x477d('0x11ea'),'msg':_0x140d9b[_0x477d('0xe40')][_0x477d('0x94')]?_0x140d9b[_0x477d('0xe40')]['name']+_0x477d('0xd73'):''});_0x2611f9(_0x2eeda6);})['catch'](function(_0x200ea9){if(_0x200ea9['data']&&_0x200ea9[_0x477d('0x451')]['errors']&&_0x200ea9['data'][_0x477d('0xd67')][_0x477d('0x79')]){_0x140d9b[_0x477d('0xd67')]=_0x200ea9[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x200ea9[_0x477d('0x453')](),'type':_0x477d('0x11eb')}];for(var _0x53a7a8=0x0;_0x53a7a8<_0x200ea9[_0x477d('0x451')][_0x477d('0xd67')]['length'];_0x53a7a8+=0x1){_0x55267e[_0x477d('0x44a')]({'title':_0x200ea9[_0x477d('0x451')]['errors'][_0x53a7a8][_0x477d('0x439')],'msg':_0x200ea9[_0x477d('0x451')][_0x477d('0xd67')][_0x53a7a8][_0x477d('0x452')]});}}else{_0x55267e[_0x477d('0x44a')]({'title':_0x200ea9[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x200ea9[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x200ea9[_0x477d('0x44d')]:_0x477d('0x11eb'),'msg':_0x200ea9['data']?JSON[_0x477d('0x3fb')](_0x200ea9['data'][_0x477d('0x452')]):_0x200ea9[_0x477d('0x453')]()});}});}function _0x4c80eb(){_0x140d9b[_0x477d('0xd67')]=[];_0x42623c[_0x477d('0xe40')][_0x477d('0x710')]({'id':_0x140d9b[_0x477d('0xe40')]['id']},_0x140d9b[_0x477d('0xe40')])['$promise']['then'](function(_0x38c4bd){var _0x55918e=_[_0x477d('0x10a')](_0x140d9b[_0x477d('0x11d1')],{'id':_0x38c4bd['id']});if(_0x55918e){_[_0x477d('0xef')](_0x55918e,_[_0x477d('0x10b')](_0x38c4bd['toJSON'](),_[_0x477d('0x7f')](_0x55918e)));}_0x55267e[_0x477d('0x485')]({'title':_0x477d('0x11ec'),'msg':_0x140d9b[_0x477d('0xe40')]['name']?_0x140d9b[_0x477d('0xe40')][_0x477d('0x94')]+_0x477d('0xd76'):''});_0x2611f9(_0x38c4bd);})[_0x477d('0xf8')](function(_0x218db9){if(_0x218db9[_0x477d('0x451')]&&_0x218db9[_0x477d('0x451')]['errors']&&_0x218db9[_0x477d('0x451')]['errors'][_0x477d('0x79')]){_0x140d9b[_0x477d('0xd67')]=_0x218db9[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x218db9['toString'](),'type':'api.chatQueue.update'}];for(var _0x310ca3=0x0;_0x310ca3<_0x218db9[_0x477d('0x451')][_0x477d('0xd67')]['length'];_0x310ca3++){_0x55267e[_0x477d('0x44a')]({'title':_0x218db9[_0x477d('0x451')][_0x477d('0xd67')][_0x310ca3][_0x477d('0x439')],'msg':_0x218db9[_0x477d('0x451')]['errors'][_0x310ca3][_0x477d('0x452')]});}}else{_0x55267e[_0x477d('0x44a')]({'title':_0x218db9[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x218db9[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x218db9[_0x477d('0x44d')]:_0x477d('0x11ed'),'msg':_0x218db9['data']?JSON[_0x477d('0x3fb')](_0x218db9[_0x477d('0x451')]['message']):_0x218db9[_0x477d('0x453')]()});}});}function _0x4c1955(_0x2be25c){_0x140d9b[_0x477d('0xd67')]=[];var _0x1244fb=_0x504003['confirm']()[_0x477d('0x49a')](_0x477d('0xd79'))[_0x477d('0xdaf')]('The\x20chatQueue\x20will\x20be\x20deleted.')[_0x477d('0x687')](_0x477d('0x11ee'))['ok'](_0x477d('0xd7b'))[_0x477d('0x4f0')](_0x477d('0x688'))[_0x477d('0xd7c')](_0x2be25c);_0x504003['show'](_0x1244fb)['then'](function(){_0x42623c[_0x477d('0xe40')][_0x477d('0xa55')]({'id':_0x140d9b[_0x477d('0xe40')]['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_['remove'](_0x140d9b[_0x477d('0x11d1')],{'id':_0x140d9b['chatQueue']['id']});_0x55267e[_0x477d('0x485')]({'title':_0x477d('0x11ef'),'msg':(_0x140d9b[_0x477d('0xe40')][_0x477d('0x94')]||_0x477d('0xe40'))+_0x477d('0xd7e')});_0x2611f9(_0x140d9b[_0x477d('0xe40')]);})['catch'](function(_0x405875){if(_0x405875[_0x477d('0x451')]&&_0x405875[_0x477d('0x451')][_0x477d('0xd67')]&&_0x405875[_0x477d('0x451')][_0x477d('0xd67')]['length']){_0x140d9b[_0x477d('0xd67')]=_0x405875['data'][_0x477d('0xd67')]||[{'message':_0x405875['toString'](),'type':_0x477d('0x11f0')}];for(var _0x42f88f=0x0;_0x42f88f<_0x405875[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x42f88f++){_0x55267e[_0x477d('0x44a')]({'title':_0x405875[_0x477d('0x451')][_0x477d('0xd67')][_0x42f88f][_0x477d('0x439')],'msg':_0x405875[_0x477d('0x451')][_0x477d('0xd67')][_0x42f88f][_0x477d('0x452')]});}}else{_0x55267e[_0x477d('0x44a')]({'title':_0x405875[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x405875[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x405875[_0x477d('0x44d')]:_0x477d('0x11f0'),'msg':_0x405875[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x405875[_0x477d('0x451')][_0x477d('0x452')]):_0x405875[_0x477d('0x452')]||_0x405875[_0x477d('0x453')]()});}});},function(){});}function _0x4c15b7(_0x151788){return _0x151788===null?undefined:new Date(_0x151788);}function _0x2611f9(_0x291ce4){_0x504003[_0x477d('0x3bc')](_0x291ce4);}}}());(function(){'use strict';_0x488445[_0x477d('0xa')]=['$mdDialog','$q',_0x477d('0x40e'),_0x477d('0x386'),_0x477d('0xe40'),_0x477d('0x11d1'),'realtime','$translate','Auth',_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x30'))[_0x477d('0x3ba')]('ChatQueueagentaddController',_0x488445);function _0x488445(_0x9783c,_0x4ade0a,_0x416786,_0x3db21f,_0x48069d,_0x48463e,_0x1d9752,_0x470083,_0x5b3657,_0x5d9ed6){var _0x1b7e5d=this;_0x1b7e5d[_0x477d('0x3e5')]=_0x5b3657[_0x477d('0x5c')]();_0x1b7e5d[_0x477d('0xe40')]=_0x48069d;_0x1b7e5d['crudPermissions']=_0x5d9ed6;_0x1b7e5d[_0x477d('0x11f1')]=_0x1d9752;_0x1b7e5d[_0x477d('0x4a6')]=[];_0x1b7e5d['allowedItems']=[];_0x1b7e5d[_0x477d('0x4a7')]=[];_0x1b7e5d[_0x477d('0x11f2')]=[];_0x1b7e5d['startingSelectedItems']=[];_0x1b7e5d['pendingChanges']=![];_0x1b7e5d[_0x477d('0x71a')]=_0x382fd6;_0x1b7e5d[_0x477d('0x11f3')]=_0x2de0ba;_0x1b7e5d['closeDialog']=_0x508237;_0x1b7e5d[_0x477d('0x1185')]={'readOnly':!_0x1b7e5d[_0x477d('0xd66')][_0x477d('0xedb')],'items':[],'selectedItems':[],'showSelectAndDeselectAll':!![],'orderBy':_0x477d('0x94'),'line1':_0x477d('0xcd'),'line2':[_0x477d('0x94'),_0x477d('0x324')],'line3':'','labelAll':_0x470083[_0x477d('0x45f')]('CHAT.ALL_AGENTS'),'labelSelected':_0x470083[_0x477d('0x45f')]('CHAT.SELECTED_AGENTS'),'transferCallback':function(_0x2a1dd5,_0x513f53){var _0x34d826=_[_0x477d('0x11f4')](_0x1b7e5d['startingSelectedItems'],_0x1b7e5d['selectedItems'],'id');_0x1b7e5d[_0x477d('0x11f5')]=_['isEmpty'](_0x34d826)?![]:!![];}};function _0x382fd6(){return _0x5b3657[_0x477d('0x56')](_0x477d('0x5f'))?_0x3ddf67()[_0x477d('0xf8')](function(_0x1c3054){_0x416786[_0x477d('0x44a')]({'title':_0x1c3054['status']?_0x477d('0x44b')+_0x1c3054[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x1c3054[_0x477d('0x44d')]:_0x477d('0x11f6'),'msg':_0x1c3054[_0x477d('0x3c3')]?JSON[_0x477d('0x3fb')](_0x1c3054[_0x477d('0x451')]):_0x1c3054[_0x477d('0x453')]()});}):_0x55a254()[_0x477d('0x76')](function(_0x28fd4d){_0x1b7e5d['section']=_0x28fd4d;return _0x3ddf67();})[_0x477d('0xf8')](function(_0xfaeec){_0x416786['error']({'title':_0xfaeec['status']?'API:'+_0xfaeec[_0x477d('0x3c3')]+'\x20-\x20'+_0xfaeec[_0x477d('0x44d')]:_0x477d('0x11f6'),'msg':_0xfaeec[_0x477d('0x3c3')]?JSON[_0x477d('0x3fb')](_0xfaeec[_0x477d('0x451')]):_0xfaeec[_0x477d('0x453')]()});});}function _0x55a254(){return _0x4ade0a(function(_0x4689ab,_0x36a713){_0x3db21f[_0x477d('0x3ac')]['get']({'userProfileId':_0x1b7e5d['currentUser']['userProfileId'],'name':'Agents'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x2b3230){var _0x5cebc8=_0x2b3230&&_0x2b3230[_0x477d('0xf2')]?_0x2b3230[_0x477d('0xf2')][0x0]:null;_0x4689ab(_0x5cebc8);})[_0x477d('0xf8')](function(_0x17a446){_0x36a713(_0x17a446);});});}function _0x3ddf67(){return _0x4ade0a(function(_0x52c2b1,_0x2cf6b8){return _0x35082a()[_0x477d('0x76')](function(_0x3c0a16){_0x1b7e5d[_0x477d('0x4a6')]=_0x3c0a16[_0x477d('0xf2')]?_0x3c0a16[_0x477d('0xf2')]:[];if(_0x5b3657[_0x477d('0x56')](_0x477d('0x5f'))){return _0x3c0a16;}else{if(_0x1b7e5d['section']){return _0x1b7e5d[_0x477d('0xd99')][_0x477d('0x3ad')]?_0x3c0a16:_0x891039();}else{return null;}}})[_0x477d('0x76')](function(_0x375f1c){var _0x33330b=_0x375f1c&&_0x375f1c[_0x477d('0xf2')]?_0x375f1c[_0x477d('0xf2')]:[];_0x1b7e5d[_0x477d('0x11f7')]=_[_0x477d('0x3cb')](_0x33330b,function(_0x2f52f5){return _['find'](_0x1b7e5d[_0x477d('0x4a6')],{'id':_0x5b3657[_0x477d('0x56')]('admin')||_0x1b7e5d[_0x477d('0xd99')][_0x477d('0x3ad')]?_0x2f52f5['id']:_0x2f52f5['resourceId']});});_0x1b7e5d[_0x477d('0x11f2')]=angular[_0x477d('0x6d9')](_0x1b7e5d['allowedItems']);_0x1b7e5d['items'][_0x477d('0x3b1')](function(_0x59cf46){var _0x50511c=_[_0x477d('0x10a')](_0x1b7e5d[_0x477d('0x11f7')],{'id':_0x59cf46['id']});if(_0x5b3657[_0x477d('0x56')](_0x477d('0x5f'))){_0x59cf46[_0x477d('0x4a3')]=!![];}else{_0x59cf46[_0x477d('0x4a3')]=typeof _0x50511c!==_0x477d('0x4a4')?!![]:![];}});return _0x14b79f();})['then'](function(_0x4b934f){var _0x2e9e9e=_0x4b934f&&_0x4b934f[_0x477d('0xf2')]?_0x4b934f['rows']:[];_0x1b7e5d[_0x477d('0x4a7')]=_[_0x477d('0x3cb')](_0x2e9e9e,function(_0x3a386f){var _0x22325e=_[_0x477d('0x10a')](_0x1b7e5d['items'],{'id':_0x3a386f['id']});_0x22325e['penalty']=_0x3a386f['UserChatQueue']?'penalty\x20'+_0x3a386f['UserChatQueue'][_0x477d('0x1184')]:'';_0x22325e[_0x477d('0x324')]=_0x3a386f[_0x477d('0x3ea')](_0x477d('0x324'))?'<'+_0x3a386f['internal']+'>':'';return _0x22325e;});_0x1b7e5d['startingSelectedItems']=angular[_0x477d('0x6d9')](_0x1b7e5d[_0x477d('0x4a7')]);_0x1b7e5d[_0x477d('0x1185')][_0x477d('0x4a7')]=_0x1b7e5d[_0x477d('0x4a7')];_0x1b7e5d[_0x477d('0x1185')]['items']=_[_0x477d('0x11f8')](_0x1b7e5d['allowedItems'],_0x1b7e5d[_0x477d('0x1185')]['selectedItems'],'id');_0x52c2b1();})['catch'](function(_0x217d87){_0x2cf6b8(_0x217d87);});});}function _0x891039(){return _0x4ade0a(function(_0x3962ae,_0x157832){return _0x3db21f['userProfileResource']['get']({'sectionId':_0x1b7e5d[_0x477d('0xd99')]['id'],'nolimit':!![]})[_0x477d('0x38b')]['then'](function(_0x48b564){_0x3962ae(_0x48b564);})[_0x477d('0xf8')](function(_0x2d4741){_0x157832(_0x2d4741);});});}function _0x14b79f(){return _0x4ade0a(function(_0x106cf6,_0x454cb1){return _0x3db21f['chatQueue'][_0x477d('0x11f9')]({'id':_0x1b7e5d['chatQueue']['id'],'fields':_0x477d('0x11fa'),'nolimit':!![],'role':'agent'})['$promise'][_0x477d('0x76')](function(_0x43232a){_0x106cf6(_0x43232a);})[_0x477d('0xf8')](function(_0x198332){_0x454cb1(_0x198332);});});}function _0x35082a(){return _0x4ade0a(function(_0x267f86,_0x1c8864){return _0x3db21f[_0x477d('0x380')][_0x477d('0x376')]({'fields':_0x477d('0x11fa'),'nolimit':!![],'role':_0x477d('0xcf')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x496006){_0x267f86(_0x496006);})[_0x477d('0xf8')](function(_0x22d682){_0x1c8864(_0x22d682);});});}function _0x4ddf13(_0x50893d){return _0x4ade0a(function(_0x50ab3a,_0x4a2652){if(_[_0x477d('0x3b2')](_0x50893d)){_0x50ab3a();}else{_0x3db21f[_0x477d('0xe40')][_0x477d('0x11fb')]({'id':_0x1b7e5d[_0x477d('0xe40')]['id'],'ids':_[_0x477d('0x3cb')](_0x50893d,'id')})['$promise'][_0x477d('0x76')](function(){_0x50ab3a();})['catch'](function(_0x314205){_0x4a2652(_0x314205);});}});}function _0x42e82b(_0x20b51a){return _0x4ade0a(function(_0x1615f5,_0x4e2031){if(_[_0x477d('0x3b2')](_0x20b51a)){_0x1615f5();}else{_0x3db21f[_0x477d('0xe40')][_0x477d('0x11fc')]({'id':_0x1b7e5d[_0x477d('0xe40')]['id'],'ids':_[_0x477d('0x3cb')](_0x20b51a,'id')})['$promise'][_0x477d('0x76')](function(){_0x1615f5();})[_0x477d('0xf8')](function(_0x500ea7){_0x4e2031(_0x500ea7);});}});}function _0x2de0ba(){var _0x499ff3=_[_0x477d('0x11f8')](_0x1b7e5d[_0x477d('0x11fd')],_0x1b7e5d[_0x477d('0x4a7')],'id');var _0x30a6c0=_[_0x477d('0x11f8')](_0x1b7e5d[_0x477d('0x4a7')],_0x1b7e5d[_0x477d('0x11fd')],'id');return _0x42e82b(_0x499ff3)['then'](function(){return _0x4ddf13(_0x30a6c0);})['then'](function(){_0x1b7e5d[_0x477d('0x11f5')]=![];_0x1b7e5d[_0x477d('0x11f2')]=angular[_0x477d('0x6d9')](_0x1b7e5d[_0x477d('0x11f7')]);_0x1b7e5d[_0x477d('0x11fd')]=angular[_0x477d('0x6d9')](_0x1b7e5d[_0x477d('0x4a7')]);_0x416786[_0x477d('0x485')]({'title':_0x477d('0x11fe'),'msg':_0x477d('0x11ff')});})[_0x477d('0xf8')](function(_0x1bb73a){_0x416786[_0x477d('0x44a')]({'title':_0x1bb73a[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x1bb73a['status']+_0x477d('0x44c')+_0x1bb73a[_0x477d('0x44d')]:_0x477d('0x1200'),'msg':_0x1bb73a[_0x477d('0x3c3')]?JSON[_0x477d('0x3fb')](_0x1bb73a[_0x477d('0x451')]):_0x1bb73a[_0x477d('0x453')]()});});}function _0x508237(){_0x9783c['hide']();}}}());(function(){'use strict';_0x2bbc65[_0x477d('0xa')]=[_0x477d('0x384'),'$q',_0x477d('0x40e'),_0x477d('0x386'),_0x477d('0xe40'),_0x477d('0x40d'),_0x477d('0x55'),_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x30'))['controller']('ChatQueueteamaddController',_0x2bbc65);function _0x2bbc65(_0x348f0b,_0x8537e3,_0x2527d9,_0x519a18,_0x3509fa,_0x5f0fa3,_0x244225,_0x32c4f9){var _0x5291f4=this;_0x5291f4['currentUser']=_0x244225['getCurrentUser']();_0x5291f4['chatQueue']=_0x3509fa;_0x5291f4[_0x477d('0xd66')]=_0x32c4f9;_0x5291f4[_0x477d('0x4a6')]=[];_0x5291f4[_0x477d('0x11f7')]=[];_0x5291f4[_0x477d('0x4a7')]=[];_0x5291f4[_0x477d('0x11f2')]=[];_0x5291f4[_0x477d('0x11fd')]=[];_0x5291f4['pendingChanges']=![];_0x5291f4[_0x477d('0x1185')]={'readOnly':!_0x5291f4['crudPermissions'][_0x477d('0xedb')],'allowedItems':[],'selectedItems':[],'showSelectAndDeselectAll':!![],'orderBy':_0x477d('0x94'),'line1':_0x477d('0x94'),'line2':'','line3':'','labelAll':_0x5f0fa3['instant'](_0x477d('0x1201')),'labelSelected':_0x5f0fa3[_0x477d('0x45f')](_0x477d('0x1202')),'transferCallback':function(_0x164775,_0x101b31){var _0x3a97a9=_[_0x477d('0x11f4')](_0x5291f4[_0x477d('0x11fd')],_0x5291f4[_0x477d('0x4a7')],'id');_0x5291f4[_0x477d('0x11f5')]=_['isEmpty'](_0x3a97a9)?![]:!![];}};_0x5291f4[_0x477d('0x71a')]=_0x2fbc66;_0x5291f4[_0x477d('0x1203')]=_0x49e61e;_0x5291f4[_0x477d('0x6bf')]=_0x7fbca5;function _0x2fbc66(){return _0x244225[_0x477d('0x56')](_0x477d('0x5f'))?_0x3b243d()[_0x477d('0xf8')](function(_0x1a567b){_0x2527d9[_0x477d('0x44a')]({'title':_0x1a567b[_0x477d('0x3c3')]?'API:'+_0x1a567b[_0x477d('0x3c3')]+'\x20-\x20'+_0x1a567b[_0x477d('0x44d')]:_0x477d('0x1204'),'msg':_0x1a567b[_0x477d('0x3c3')]?JSON['stringify'](_0x1a567b[_0x477d('0x451')]):_0x1a567b[_0x477d('0x453')]()});}):_0x4afa84()[_0x477d('0x76')](function(_0x5432e4){_0x5291f4[_0x477d('0xd99')]=_0x5432e4;return _0x3b243d();})[_0x477d('0xf8')](function(_0x3f12a9){_0x2527d9[_0x477d('0x44a')]({'title':_0x3f12a9[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x3f12a9[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x3f12a9['statusText']:_0x477d('0x1204'),'msg':_0x3f12a9[_0x477d('0x3c3')]?JSON[_0x477d('0x3fb')](_0x3f12a9[_0x477d('0x451')]):_0x3f12a9[_0x477d('0x453')]()});});}function _0x4afa84(){return _0x8537e3(function(_0x33a3a9,_0x5c9f93){_0x519a18[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x5291f4[_0x477d('0x3e5')]['userProfileId'],'name':_0x477d('0x29f')})[_0x477d('0x38b')]['then'](function(_0x1ad920){var _0x1d7f2f=_0x1ad920&&_0x1ad920[_0x477d('0xf2')]?_0x1ad920[_0x477d('0xf2')][0x0]:null;_0x33a3a9(_0x1d7f2f);})[_0x477d('0xf8')](function(_0x2d1061){_0x5c9f93(_0x2d1061);});});}function _0x3b243d(){return _0x8537e3(function(_0x504808,_0x240293){return _0x597786()[_0x477d('0x76')](function(_0x4de53d){_0x5291f4['items']=_0x4de53d[_0x477d('0xf2')]?_0x4de53d[_0x477d('0xf2')]:[];if(_0x244225[_0x477d('0x56')](_0x477d('0x5f'))){return _0x4de53d;}else{if(_0x5291f4['section']){return _0x5291f4[_0x477d('0xd99')][_0x477d('0x3ad')]?_0x4de53d:_0x1f61ee();}else{return null;}}})['then'](function(_0x591b4e){var _0x53f3fb=_0x591b4e&&_0x591b4e[_0x477d('0xf2')]?_0x591b4e[_0x477d('0xf2')]:[];_0x5291f4[_0x477d('0x11f7')]=_[_0x477d('0x3cb')](_0x53f3fb,function(_0x5ab293){return _[_0x477d('0x10a')](_0x5291f4[_0x477d('0x4a6')],{'id':_0x244225[_0x477d('0x56')](_0x477d('0x5f'))||_0x5291f4['section'][_0x477d('0x3ad')]?_0x5ab293['id']:_0x5ab293['resourceId']});});_0x5291f4[_0x477d('0x4a6')][_0x477d('0x3b1')](function(_0x530222){var _0x2c7ba5=_['find'](_0x5291f4[_0x477d('0x11f7')],{'id':_0x530222['id']});if(_0x244225['hasRole'](_0x477d('0x5f'))){_0x530222['isValid']=!![];}else{_0x530222[_0x477d('0x4a3')]=typeof _0x2c7ba5!==_0x477d('0x4a4')?!![]:![];}});return _0x37d129();})[_0x477d('0x76')](function(_0x49d6ed){var _0x1ede57=_0x49d6ed&&_0x49d6ed['rows']?_0x49d6ed['rows']:[];_0x5291f4[_0x477d('0x4a7')]=_[_0x477d('0x3cb')](_0x1ede57,function(_0x3be521){return _['find'](_0x5291f4['items'],{'id':_0x3be521['id']});});_0x5291f4[_0x477d('0x11fd')]=angular['copy'](_0x5291f4[_0x477d('0x4a7')]);_0x5291f4[_0x477d('0x1185')]['selectedItems']=_0x5291f4[_0x477d('0x4a7')];_0x5291f4['dualMultiselectOptions'][_0x477d('0x4a6')]=_[_0x477d('0x11f8')](_0x5291f4[_0x477d('0x11f7')],_0x5291f4[_0x477d('0x1185')][_0x477d('0x4a7')],'id');_0x504808();})['catch'](function(_0x339d54){_0x240293(_0x339d54);});});}function _0x1f61ee(){return _0x8537e3(function(_0x3de915,_0x5b57db){return _0x519a18[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x5291f4[_0x477d('0xd99')]['id'],'nolimit':!![]})['$promise']['then'](function(_0x3bdd1b){_0x3de915(_0x3bdd1b);})[_0x477d('0xf8')](function(_0x2e14ba){_0x5b57db(_0x2e14ba);});});}function _0x37d129(){return _0x8537e3(function(_0x5889c2,_0x508eaf){return _0x519a18[_0x477d('0xe40')][_0x477d('0x1205')]({'id':_0x5291f4[_0x477d('0xe40')]['id'],'fields':_0x477d('0x9c'),'nolimit':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x295769){_0x5889c2(_0x295769);})[_0x477d('0xf8')](function(_0x58f353){_0x508eaf(_0x58f353);});});}function _0x597786(){return _0x8537e3(function(_0x40d82d,_0x117cad){return _0x519a18[_0x477d('0xca3')]['get']({'fields':_0x477d('0x9c'),'nolimit':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x4cc83d){_0x40d82d(_0x4cc83d);})['catch'](function(_0x5ed121){_0x117cad(_0x5ed121);});});}function _0x3436cc(_0xf5b12f){return _0x8537e3(function(_0x185fcf,_0x14af6b){if(_['isEmpty'](_0xf5b12f)){_0x185fcf();}else{_0x519a18[_0x477d('0xe40')]['addTeams']({'id':_0x5291f4['chatQueue']['id'],'ids':_[_0x477d('0x3cb')](_0xf5b12f,'id')})['$promise'][_0x477d('0x76')](function(){_0x185fcf();})['catch'](function(_0x4f91a1){_0x14af6b(_0x4f91a1);});}});}function _0x2bebb1(_0x23953c){return _0x8537e3(function(_0x406450,_0x1e6964){if(_[_0x477d('0x3b2')](_0x23953c)){_0x406450();}else{_0x519a18[_0x477d('0xe40')][_0x477d('0x1206')]({'id':_0x5291f4[_0x477d('0xe40')]['id'],'ids':_[_0x477d('0x3cb')](_0x23953c,'id')})[_0x477d('0x38b')][_0x477d('0x76')](function(){_0x406450();})[_0x477d('0xf8')](function(_0x1c4dbe){_0x1e6964(_0x1c4dbe);});}});}function _0x49e61e(){var _0x443a3f=_[_0x477d('0x11f8')](_0x5291f4[_0x477d('0x11fd')],_0x5291f4['selectedItems'],'id');var _0x37fd74=_[_0x477d('0x11f8')](_0x5291f4[_0x477d('0x4a7')],_0x5291f4[_0x477d('0x11fd')],'id');return _0x2bebb1(_0x443a3f)[_0x477d('0x76')](function(){return _0x3436cc(_0x37fd74);})[_0x477d('0x76')](function(){_0x5291f4[_0x477d('0x11f5')]=![];_0x5291f4['startingAllowedItems']=angular[_0x477d('0x6d9')](_0x5291f4[_0x477d('0x11f7')]);_0x5291f4['startingSelectedItems']=angular['copy'](_0x5291f4['selectedItems']);_0x2527d9[_0x477d('0x485')]({'title':_0x477d('0x11fe'),'msg':_0x477d('0x1207')});})['catch'](function(_0x2b566b){_0x2527d9['error']({'title':_0x2b566b[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x2b566b[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x2b566b['statusText']:'SYSTEM:LISTS_ASSOCIATION','msg':_0x2b566b[_0x477d('0x3c3')]?JSON[_0x477d('0x3fb')](_0x2b566b[_0x477d('0x451')]):_0x2b566b[_0x477d('0x453')]()});});}function _0x7fbca5(){_0x348f0b[_0x477d('0x3bc')]();}}}());(function(){'use strict';_0x445801['$inject']=['$state',_0x477d('0xd64'),_0x477d('0x384'),'$document','$translate',_0x477d('0x613'),_0x477d('0xc8e'),'api',_0x477d('0x40e'),_0x477d('0x55'),'chatQueue','userProfileSection'];angular['module'](_0x477d('0x30'))[_0x477d('0x3ba')](_0x477d('0x1208'),_0x445801);function _0x445801(_0x2dd7e9,_0x4d7f77,_0x5b362b,_0xa15eab,_0x245758,_0x1d1c87,_0x404aee,_0x47cac7,_0x3e9fa3,_0x429238,_0x48dc19,_0x1d1bdf){var _0x3e168e=this;_0x3e168e[_0x477d('0x3e5')]=_0x429238[_0x477d('0x5c')]();_0x3e168e[_0x477d('0x613')]=_0x1d1c87;_0x3e168e[_0x477d('0xc8e')]=_0x404aee;_0x3e168e[_0x477d('0xd69')]=_0x3e168e[_0x477d('0xc8e')]['securePassword']?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x3e168e[_0x477d('0x3cc')]=_0x4d7f77[_0x477d('0x3ce')]()+_0x477d('0x1209')+_0x4d7f77['host']();_0x3e168e['chatQueue']=_0x48dc19||_0x2dd7e9[_0x477d('0x37e')][_0x477d('0xe40')]||{};_0x3e168e[_0x477d('0x3ac')]=_0x1d1bdf&&_0x1d1bdf[_0x477d('0x3bb')]==0x1?_0x1d1bdf[_0x477d('0xf2')][0x0]:null;_0x3e168e[_0x477d('0xd66')]=_0x429238[_0x477d('0xd81')](_0x3e168e[_0x477d('0x3ac')]?_0x3e168e[_0x477d('0x3ac')]['crudPermissions']:null);_0x3e168e[_0x477d('0xd68')]={};_0x3e168e[_0x477d('0xe95')]=_0x2dd7e9[_0x477d('0x37e')][_0x477d('0xe96')]||0x0;_0x3e168e[_0x477d('0x11d4')]=_0x2ad657;_0x3e168e['agentadddialog']=_0x9978af;_0x3e168e[_0x477d('0x120a')]=_0x3e9fa3[_0x477d('0x669')];_0x3e168e['gotoChatQueues']=_0x181675;_0x3e168e['saveChatQueue']=_0x35effb;function _0x2ad657(_0x1a83da,_0x3f0e70){_0x5b362b[_0x477d('0x395')]({'controller':_0x477d('0x11dd'),'controllerAs':'vm','templateUrl':_0x477d('0x11de'),'parent':angular[_0x477d('0x398')](_0xa15eab[_0x477d('0x399')]),'targetEvent':_0x3f0e70,'clickOutsideToClose':!![],'locals':{'chatQueue':_0x1a83da,'chatQueues':_0x3e168e[_0x477d('0x11d1')]?_0x3e168e[_0x477d('0x11d1')][_0x477d('0xf2')]:[],'crudPermissions':_0x3e168e[_0x477d('0xd66')]}});}function _0x9978af(_0x728f99,_0x3f501d){_0x5b362b['show']({'controller':_0x477d('0x120b'),'controllerAs':'vm','templateUrl':_0x477d('0x120c'),'parent':angular[_0x477d('0x398')](_0xa15eab[_0x477d('0x399')]),'targetEvent':_0x3f501d,'clickOutsideToClose':!![],'locals':{'chatQueue':_0x728f99,'chatQueues':_0x3e168e[_0x477d('0x11d1')]?_0x3e168e[_0x477d('0x11d1')][_0x477d('0xf2')]:[],'crudPermissions':_0x3e168e[_0x477d('0xd66')],'realtime':![]}});}function _0x181675(){_0x2dd7e9['go']('app.chat.chatQueues',{},{'reload':_0x477d('0xb2')});}function _0x35effb(){_0x47cac7[_0x477d('0xe40')][_0x477d('0x710')]({'id':_0x3e168e[_0x477d('0xe40')]['id']},_0x3e168e['chatQueue'])[_0x477d('0x38b')][_0x477d('0x76')](function(){_0x3e9fa3[_0x477d('0x485')]({'title':'ChatQueue\x20updated!','msg':_0x3e168e[_0x477d('0xe40')][_0x477d('0x94')]?_0x3e168e[_0x477d('0xe40')][_0x477d('0x94')]+'\x20has\x20been\x20updated!':''});})[_0x477d('0xf8')](function(_0x44d06d){_0x3e9fa3[_0x477d('0x44a')]({'title':_0x44d06d[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x44d06d[_0x477d('0x3c3')]+'\x20-\x20'+_0x44d06d['statusText']:_0x477d('0x120d'),'msg':_0x44d06d[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x44d06d[_0x477d('0x451')]):_0x44d06d[_0x477d('0x453')]()});});}}}());(function(){'use strict';_0xe6084c[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x387'),_0x477d('0x3c4'),'$mdSidenav','$mdDialog',_0x477d('0x475'),_0x477d('0x3fe'),'$translate',_0x477d('0x120e'),_0x477d('0x3a5'),_0x477d('0x3ac'),_0x477d('0x386'),_0x477d('0x342'),'toasty',_0x477d('0x55'),_0x477d('0x613'),_0x477d('0xc8e')];angular['module'](_0x477d('0x30'))['controller'](_0x477d('0x120f'),_0xe6084c);function _0xe6084c(_0x1dff55,_0x3e23a2,_0x4bd502,_0x39636a,_0x59a5f4,_0x371dc1,_0x390359,_0x429f47,_0x379dd1,_0x368999,_0x4244b0,_0x33dc30,_0x1bc789,_0x4e1855,_0x409a05,_0x3590e1,_0x10d4c8){var _0x107bd2=this;_0x107bd2[_0x477d('0x613')]=_0x3590e1;_0x107bd2[_0x477d('0xc8e')]=_0x10d4c8;_0x107bd2['currentUser']=_0x409a05[_0x477d('0x5c')]();_0x107bd2[_0x477d('0x120e')]=_0x379dd1||{'count':0x0,'rows':[]};_0x107bd2[_0x477d('0x3a5')]=_0x368999;_0x107bd2[_0x477d('0x3ac')]=_0x4244b0&&_0x4244b0[_0x477d('0x3bb')]==0x1?_0x4244b0[_0x477d('0xf2')][0x0]:null;_0x107bd2['crudPermissions']=_0x409a05[_0x477d('0xd81')](_0x107bd2[_0x477d('0x3ac')]?_0x107bd2[_0x477d('0x3ac')][_0x477d('0xd66')]:null);_0x107bd2[_0x477d('0xd82')]=_0x477d('0x120e');_0x107bd2[_0x477d('0xd83')]='';_0x107bd2['listOrderAsc']=null;_0x107bd2[_0x477d('0x1210')]=[];_0x107bd2[_0x477d('0x3ef')]={'fields':'createdAt,updatedAt,id,token,agentIdentifier,customerAlias,messageFontSize,name,key,address,remote,ListId,fidelity,timeout,agentAlias,closingQuestion,formSubmitSuccessMessage,formSubmitFailureMessage,color,color_focus,color_button,textColor,backgroundColor,fontSize,header_shape,showAgentAvatar,showCustomerAvatar,alignment,verticalAlignment,messagesAlignment,defaultTitle,animation,defaultWhiteLabel,whiteLabel,defaultLogo,conditionAgreement,autoclose,enableUnmanagedNote,unmanagedMessage,skipUnmanaged,sendUnmanaged,enableCustomerWriting,waitingTitle,waitingMessage,closingMessage,noteTitle,placeholderMessage,skipMessageButton,enableRating,ratingType,ratingStarsNumber,enableFeedback,feedbackTitle,forwardTranscript,forwardTranscriptMessage,closingMessageButton,download_transcript,enableCustomerAttachment,enableSendButton,enableCustomerCheckmarks,systemAlias,enquiry_enable,enquiry_forwarding,enquiry_forwarding_address,name_title,username_placeholder,email_title,email_placeholder,header_online,hideWhenOffline,header_offline,start_chat_button,offline_chat_button,offlineMessageSubject,offlineMessageBody,offline_message,message_title,enquiry_message_placeholder,enquiry_button,rating_message,rating_send,rating_skip,onlineForm,offlineForm,mapKey,mapKeyOffline,forwardOffline,forwardOfflineAddress,IntervalId,timezone,waitForTheAssignedAgent,mandatoryDisposition,mandatoryDispositionPauseId,description,notificationSound,notificationShake,notificationTemplate,queueTransfer,queueTransferTimeout,agentTransfer,agentTransferTimeout,vidaooEscalation,vidaooApiKey','sort':_0x477d('0x59'),'limit':0xa,'page':0x1};_0x107bd2[_0x477d('0x1211')]=_['keyBy']([{'option':'WebsiteAlias','value':'\x27website_alias\x27'},{'option':_0x477d('0x1212'),'value':_0x477d('0x1213')},{'option':_0x477d('0x1214'),'value':'\x27agent_fullname\x27'}],function(_0x4ec735){return _[_0x477d('0x409')](_0x4ec735[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x107bd2[_0x477d('0x1215')]=_[_0x477d('0xdb5')]([{'option':_0x477d('0x1216'),'value':_0x477d('0x1217')},{'option':'Squared','value':_0x477d('0x1218')}],function(_0x2824a6){return _[_0x477d('0x409')](_0x2824a6[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x107bd2['arrayalignment']=_[_0x477d('0xdb5')]([{'option':_0x477d('0x1219'),'value':_0x477d('0x121a')},{'option':_0x477d('0x5ad'),'value':_0x477d('0x121b')},{'option':_0x477d('0x77e'),'value':_0x477d('0x121c')}],function(_0x1c9dc2){return _[_0x477d('0x409')](_0x1c9dc2[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x107bd2['arraymessagesAlignment']=_[_0x477d('0xdb5')]([{'option':_0x477d('0x121d'),'value':_0x477d('0x121e')},{'option':'centered','value':_0x477d('0x121f')}],function(_0x685502){return _[_0x477d('0x409')](_0x685502[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x107bd2[_0x477d('0x1220')]=_[_0x477d('0xdb5')]([{'option':'Star','value':'\x27star\x27'},{'option':'Thumb','value':'\x27thumb\x27'}],function(_0x49d17e){return _['replace'](_0x49d17e[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x107bd2[_0x477d('0xea6')]=_0x2abec4;_0x107bd2['interactionsgoto']=_0x33bfc4;_0x107bd2[_0x477d('0x1221')]=_0x2e714b;_0x107bd2[_0x477d('0x1222')]=_0x414b42;_0x107bd2[_0x477d('0xd88')]=_0x2ed05f;_0x107bd2[_0x477d('0x485')]=_0x2d8db5;_0x107bd2[_0x477d('0x1223')]=_0x457df2;_0x107bd2[_0x477d('0x1224')]=_0x577e77;_0x107bd2[_0x477d('0x1225')]=_0x56a89b;_0x107bd2[_0x477d('0x1226')]=_0x5b34dc;_0x107bd2['deleteSelectedChatWebsites']=_0x3f9dd7;_0x107bd2['deselectChatWebsites']=_0x118493;_0x107bd2[_0x477d('0x1227')]=_0x2a3bec;_0x409a05[_0x477d('0x56')](_0x477d('0x5f'))?_0x33dc30[_0x477d('0xe3f')]['get']({'fields':'id,name','sort':_0x477d('0x94')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x3d4f47){_0x107bd2[_0x477d('0xf1')]=_0x3d4f47[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x44f058){_0x4e1855[_0x477d('0x44a')]({'title':_0x44f058[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x44f058[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x44f058[_0x477d('0x44d')]:_0x477d('0x1228'),'msg':_0x44f058[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x44f058[_0x477d('0x451')]):_0x44f058[_0x477d('0x453')]()});}):_0x33dc30[_0x477d('0xe3f')][_0x477d('0x376')]({'fields':'id,name','sort':_0x477d('0x94')})[_0x477d('0x38b')]['then'](function(_0x2eb7b0){_0x107bd2['lists']=_0x2eb7b0[_0x477d('0xf2')]||[];})['then'](function(){return _0x33dc30['userProfileSection'][_0x477d('0x376')]({'userProfileId':_0x107bd2[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x12d})[_0x477d('0x38b')];})['then'](function(_0x4d8966){var _0xb661e6=_0x4d8966&&_0x4d8966[_0x477d('0xf2')]?_0x4d8966[_0x477d('0xf2')][0x0]:null;if(!_0xb661e6){var _0x5db68a=[];var _0x451918=null;if(_0x107bd2[_0x477d('0xb32')]){_0x451918=_['find'](_0x107bd2['lists'],{'id':Number(_0x107bd2['chatWebsite']['ListId'])});}for(var _0x59fc80=0x0;_0x59fc80<_0x107bd2['lists']['length'];_0x59fc80++){if(_0x451918&&_0x107bd2[_0x477d('0xf1')][_0x59fc80]['id']===_0x451918['id']){_0x107bd2['lists'][_0x59fc80]['canSelect']=![];_0x5db68a['push'](_0x107bd2[_0x477d('0xf1')][_0x59fc80]);}}_0x107bd2[_0x477d('0xf1')]=_0x5db68a;}else{if(!_0xb661e6[_0x477d('0x3ad')]){return _0x33dc30[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0xb661e6['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x285d01){var _0x423acd=_['map'](_0x285d01[_0x477d('0xf2')],function(_0x5b81fa){return _[_0x477d('0x10a')](_0x107bd2[_0x477d('0xf1')],{'id':_0x5b81fa['resourceId']});});var _0x464608=null;if(_0x107bd2[_0x477d('0xb32')]){_0x464608=_[_0x477d('0x10a')](_0x107bd2[_0x477d('0xf1')],{'id':Number(_0x107bd2[_0x477d('0xb32')][_0x477d('0x1229')])});}if(_0x464608&&!_[_0x477d('0x3ab')](_0x423acd,['id',_0x464608['id']])){var _0x6bff3=_[_0x477d('0x10a')](_0x107bd2[_0x477d('0xf1')],{'id':_0x464608['id']});_0x6bff3[_0x477d('0xf8b')]=![];_0x423acd[_0x477d('0x3a7')](_0x6bff3);}_0x107bd2[_0x477d('0xf1')]=_0x423acd;});}}})[_0x477d('0xf8')](function(_0x3b8c5a){_0x4e1855[_0x477d('0x44a')]({'title':_0x3b8c5a['status']?_0x477d('0x44b')+_0x3b8c5a['status']+_0x477d('0x44c')+_0x3b8c5a[_0x477d('0x44d')]:_0x477d('0x122a'),'msg':_0x3b8c5a[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x3b8c5a[_0x477d('0x451')]):_0x3b8c5a[_0x477d('0x453')]()});});_0x409a05[_0x477d('0x56')](_0x477d('0x5f'))?_0x33dc30[_0x477d('0x79c')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'IntervalId':_0x477d('0xea')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x5596e3){_0x107bd2['interval']=_0x5596e3[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x36c185){_0x4e1855['error']({'title':_0x36c185[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x36c185['status']+'\x20-\x20'+_0x36c185['statusText']:_0x477d('0x122b'),'msg':_0x36c185[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x36c185[_0x477d('0x451')]):_0x36c185['toString']()});}):_0x33dc30['interval'][_0x477d('0x376')]({'fields':'id,name','sort':_0x477d('0x94'),'IntervalId':_0x477d('0xea')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0xbe5ffa){_0x107bd2[_0x477d('0x79c')]=_0xbe5ffa[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x33dc30['userProfileSection'][_0x477d('0x376')]({'userProfileId':_0x107bd2[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x3ec})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x47e86e){var _0xca112d=_0x47e86e&&_0x47e86e['rows']?_0x47e86e[_0x477d('0xf2')][0x0]:null;if(!_0xca112d){var _0x4bd8e0=[];var _0x23d83a=null;if(_0x107bd2[_0x477d('0xb32')]){_0x23d83a=_[_0x477d('0x10a')](_0x107bd2[_0x477d('0x79c')],{'id':Number(_0x107bd2['chatWebsite'][_0x477d('0xf8c')])});}for(var _0x42e7b1=0x0;_0x42e7b1<_0x107bd2['interval'][_0x477d('0x79')];_0x42e7b1++){if(_0x23d83a&&_0x107bd2[_0x477d('0x79c')][_0x42e7b1]['id']===_0x23d83a['id']){_0x107bd2[_0x477d('0x79c')][_0x42e7b1][_0x477d('0xf8b')]=![];_0x4bd8e0['push'](_0x107bd2[_0x477d('0x79c')][_0x42e7b1]);}}_0x107bd2[_0x477d('0x79c')]=_0x4bd8e0;}else{if(!_0xca112d[_0x477d('0x3ad')]){return _0x33dc30['userProfileResource'][_0x477d('0x376')]({'sectionId':_0xca112d['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x2296be){var _0xa6d6be=_[_0x477d('0x3cb')](_0x2296be[_0x477d('0xf2')],function(_0x5dc5fd){return _[_0x477d('0x10a')](_0x107bd2[_0x477d('0x79c')],{'id':_0x5dc5fd[_0x477d('0x3af')]});});var _0x1e1db1=null;if(_0x107bd2['chatWebsite']){_0x1e1db1=_[_0x477d('0x10a')](_0x107bd2['interval'],{'id':Number(_0x107bd2[_0x477d('0xb32')][_0x477d('0xf8c')])});}if(_0x1e1db1&&!_[_0x477d('0x3ab')](_0xa6d6be,['id',_0x1e1db1['id']])){var _0x24eb59=_[_0x477d('0x10a')](_0x107bd2[_0x477d('0x79c')],{'id':_0x1e1db1['id']});_0x24eb59[_0x477d('0xf8b')]=![];_0xa6d6be['push'](_0x24eb59);}_0x107bd2[_0x477d('0x79c')]=_0xa6d6be;});}}})[_0x477d('0xf8')](function(_0x2e4a94){_0x4e1855[_0x477d('0x44a')]({'title':_0x2e4a94[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x2e4a94[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x2e4a94[_0x477d('0x44d')]:_0x477d('0x122c'),'msg':_0x2e4a94[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x2e4a94[_0x477d('0x451')]):_0x2e4a94[_0x477d('0x453')]()});});function _0x2abec4(_0x1fb333,_0x132c9c){_0x4bd502['go']('app.chat.chatWebsites.edit',{'id':_0x1fb333['id'],'chatWebsite':_0x1fb333,'crudPermissions':_0x107bd2['crudPermissions']});}function _0x33bfc4(_0x4e65bb,_0x2043da){_0x4bd502['go'](_0x477d('0xc1'),{'id':_0x4e65bb['id'],'tab':0xa});}function _0x2e714b(_0x1303b0,_0x1a1a44){_0x4bd502['go']('app.chat.chatWebsites.edit',{'id':_0x1303b0['id'],'tab':0xb});}function _0x414b42(_0x17ed67,_0xc53f7b){_0x59a5f4['show']({'controller':_0x477d('0x122d'),'controllerAs':'vm','templateUrl':_0x477d('0x122e'),'parent':angular[_0x477d('0x398')](_0x371dc1['body']),'targetEvent':_0xc53f7b,'clickOutsideToClose':!![],'locals':{'chatWebsite':_0x17ed67,'chatWebsites':_0x107bd2[_0x477d('0x120e')]?_0x107bd2[_0x477d('0x120e')][_0x477d('0xf2')]:[],'crudPermissions':_0x107bd2[_0x477d('0xd66')],'realtime':![]}});}function _0x2ed05f(_0x460184,_0x203f14){var _0x3d8349=_0x59a5f4[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xd90')+_['startCase'](_0x477d('0xb32'))+'?')[_0x477d('0xd92')](''+(_0x460184[_0x477d('0x94')]||_0x477d('0xb32'))+_0x477d('0xd94')+_0x477d('0xd95'))['ariaLabel'](_0x477d('0x122f'))[_0x477d('0xd7c')](_0x203f14)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x59a5f4[_0x477d('0x395')](_0x3d8349)[_0x477d('0x76')](function(){_0x56a89b(_0x460184);},function(){console[_0x477d('0x7b')](_0x477d('0xd97'));});}var _0x49731b=!![];var _0x1eeadc=0x1;_0x1dff55['$watch'](_0x477d('0xd98'),function(_0x3dd822,_0x345287){if(_0x49731b){_0x390359(function(){_0x49731b=![];});}else{if(!_0x345287){_0x1eeadc=_0x107bd2['query'][_0x477d('0xe03')];}if(_0x3dd822!==_0x345287){_0x107bd2['query']['page']=0x1;}if(!_0x3dd822){_0x107bd2[_0x477d('0x3ef')][_0x477d('0xe03')]=_0x1eeadc;}_0x107bd2['getChatWebsites']();}});function _0x2d8db5(_0x2745a9){_0x107bd2[_0x477d('0x120e')]=_0x2745a9||{'count':0x0,'rows':[]};}function _0x457df2(){_0x107bd2[_0x477d('0x3ef')][_0x477d('0x91c')]=(_0x107bd2[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x107bd2[_0x477d('0x3ef')][_0x477d('0x91d')];if(_0x409a05[_0x477d('0x56')](_0x477d('0x5f'))){_0x107bd2[_0x477d('0x553')]=_0x33dc30[_0x477d('0xb32')][_0x477d('0x376')](_0x107bd2['query'],_0x2d8db5)[_0x477d('0x38b')];}else{_0x107bd2[_0x477d('0x3ef')]['id']=_0x107bd2[_0x477d('0x3a5')]['id'];_0x107bd2[_0x477d('0x3ef')][_0x477d('0xd99')]=_0x477d('0xc0');_0x107bd2[_0x477d('0x553')]=_0x33dc30['userProfile'][_0x477d('0xd9a')](_0x107bd2[_0x477d('0x3ef')],_0x2d8db5)['$promise'];}}function _0x577e77(_0x5be5ef,_0x409707){_0x59a5f4['show']({'controller':'CreateOrEditChatWebsiteDialogController','controllerAs':'vm','templateUrl':'app/main/apps/chat/views/chatWebsites/create/dialog.html','parent':angular['element'](_0x371dc1[_0x477d('0x399')]),'targetEvent':_0x5be5ef,'clickOutsideToClose':!![],'locals':{'chatWebsite':_0x409707,'chatWebsites':_0x107bd2[_0x477d('0x120e')][_0x477d('0xf2')],'license':_0x107bd2[_0x477d('0x613')],'setting':_0x107bd2['setting'],'crudPermissions':_0x107bd2[_0x477d('0xd66')]}});}function _0x56a89b(_0x2a6dfa){_0x33dc30[_0x477d('0xb32')][_0x477d('0xa55')]({'id':_0x2a6dfa['id']})[_0x477d('0x38b')]['then'](function(){_[_0x477d('0x39c')](_0x107bd2['chatWebsites']['rows'],{'id':_0x2a6dfa['id']});_0x107bd2[_0x477d('0x120e')]['count']-=0x1;if(!_0x107bd2[_0x477d('0x120e')][_0x477d('0xf2')]['length']){_0x107bd2[_0x477d('0x1223')]();}_0x4e1855['success']({'title':_['startCase']('ChatWebsite')+'\x20deleted!','msg':_0x2a6dfa[_0x477d('0x94')]?_0x2a6dfa['name']+_0x477d('0xd7e'):''});})[_0x477d('0xf8')](function(_0x3290f6){if(_0x3290f6[_0x477d('0x451')]&&_0x3290f6[_0x477d('0x451')]['errors']&&_0x3290f6['data']['errors'][_0x477d('0x79')]){_0x107bd2[_0x477d('0xd67')]=_0x3290f6['data']['errors']||[{'message':_0x3290f6['toString'](),'type':_0x477d('0x1230')}];for(var _0x2b47da=0x0;_0x2b47da<_0x3290f6[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x2b47da++){_0x4e1855[_0x477d('0x44a')]({'title':_0x3290f6[_0x477d('0x451')][_0x477d('0xd67')][_0x2b47da][_0x477d('0x439')],'msg':_0x3290f6[_0x477d('0x451')][_0x477d('0xd67')][_0x2b47da][_0x477d('0x452')]});}}else{_0x4e1855[_0x477d('0x44a')]({'title':_0x3290f6[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x3290f6[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x3290f6[_0x477d('0x44d')]:'SYSTEM:DELETEchatWebsite','msg':_0x3290f6[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x3290f6['data'][_0x477d('0x452')]):_0x3290f6['message']||_0x3290f6[_0x477d('0x453')]()});}});}function _0x5b34dc(){var _0x2ebc76=angular[_0x477d('0x6d9')](_0x107bd2[_0x477d('0x1210')]);_0x107bd2[_0x477d('0x1210')]=[];return _0x2ebc76;}function _0x3f9dd7(_0x4c3488){var _0x112d53=_0x59a5f4[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x1231'))['htmlContent'](_0x477d('0xd93')+_0x107bd2[_0x477d('0x1210')][_0x477d('0x79')]+'\x20selected'+'\x20will\x20be\x20deleted.')['ariaLabel']('delete\x20ChatWebsites')[_0x477d('0xd7c')](_0x4c3488)['ok']('OK')['cancel']('CANCEL');_0x59a5f4[_0x477d('0x395')](_0x112d53)[_0x477d('0x76')](function(){_0x107bd2['selectedChatWebsites']['forEach'](function(_0x52591e){_0x56a89b(_0x52591e);});_0x107bd2[_0x477d('0x1210')]=[];});}function _0x118493(){_0x107bd2['selectedChatWebsites']=[];}function _0x2a3bec(){_0x107bd2[_0x477d('0x1210')]=_0x107bd2['chatWebsites']['rows'];}}}());(function(){'use strict';_0x2c4886[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x3c4'),_0x477d('0xd64'),_0x477d('0x384'),'$q',_0x477d('0x40d'),_0x477d('0x40e'),_0x477d('0x120e'),_0x477d('0xb32'),_0x477d('0x386'),_0x477d('0x55'),_0x477d('0x613'),_0x477d('0xc8e'),'crudPermissions'];angular[_0x477d('0xb')](_0x477d('0x30'))[_0x477d('0x3ba')](_0x477d('0x1232'),_0x2c4886);function _0x2c4886(_0x11e76d,_0x5c7ecd,_0x25044e,_0x1fa8c9,_0x338889,_0xa3c742,_0x404b7c,_0x415c05,_0x97ee44,_0x5aca71,_0x1e9995,_0x370ccb,_0x21f4f4,_0x329654){var _0x9d48cf=this;_0x9d48cf[_0x477d('0x3e5')]=_0x1e9995[_0x477d('0x5c')]();_0x9d48cf[_0x477d('0xd67')]=[];_0x9d48cf[_0x477d('0xc8e')]=_0x21f4f4;_0x9d48cf['license']=_0x370ccb;_0x9d48cf[_0x477d('0xd66')]=_0x329654;_0x9d48cf[_0x477d('0xd68')]={};_0x9d48cf[_0x477d('0xd69')]=_0x9d48cf[_0x477d('0xc8e')]&&_0x9d48cf[_0x477d('0xc8e')][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x9d48cf['title']=_0x477d('0x1233');_0x9d48cf['chatWebsite']=angular[_0x477d('0x6d9')](_0x97ee44);_0x9d48cf['chatWebsites']=_0x415c05;_0x9d48cf[_0x477d('0x1234')]=![];if(!_0x9d48cf['chatWebsite']){_0x9d48cf[_0x477d('0xb32')]={'remote':_0x25044e[_0x477d('0x3ce')]()+_0x477d('0x1209')+_0x25044e[_0x477d('0x3c9')]()+(_0x25044e[_0x477d('0x3cf')]()?':'+_0x25044e[_0x477d('0x3cf')]():''),'header_shape':_0x477d('0x1235'),'alignment':'bottom_right','verticalAlignment':0x1e,'messagesAlignment':_0x477d('0x121d'),'IntervalId':_0x477d('0xea'),'timezone':'null','waitForTheAssignedAgent':0xa,'notificationSound':!![],'queueTransferTimeout':0x12c,'agentTransferTimeout':0x12c};_0x9d48cf['title']=_0x477d('0x1236');_0x9d48cf[_0x477d('0x1234')]=!![];}if(_0x5c7ecd[_0x477d('0x37e')]['id']){_0x9d48cf['chatWebsite'][_0x477d('0x1237')]=_0x5c7ecd[_0x477d('0x37e')]['id'];}_0x9d48cf[_0x477d('0x1238')]=_0x57912a;_0x9d48cf[_0x477d('0x1239')]=_0x350d57;_0x9d48cf[_0x477d('0x1225')]=_0x56ce47;_0x9d48cf[_0x477d('0xd6f')]=_0x2d531c;_0x9d48cf[_0x477d('0x6bf')]=_0x1171c0;_0x1e9995[_0x477d('0x56')](_0x477d('0x5f'))?_0x5aca71['cmList'][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0xc71cef){_0x9d48cf['lists']=_0xc71cef[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x294475){_0x404b7c[_0x477d('0x44a')]({'title':_0x294475[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x294475[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x294475[_0x477d('0x44d')]:_0x477d('0x1228'),'msg':_0x294475['data']?JSON['stringify'](_0x294475[_0x477d('0x451')]):_0x294475[_0x477d('0x453')]()});}):_0x5aca71[_0x477d('0xe3f')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':'name'})['$promise'][_0x477d('0x76')](function(_0x363511){_0x9d48cf[_0x477d('0xf1')]=_0x363511['rows']||[];})[_0x477d('0x76')](function(){return _0x5aca71[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x9d48cf[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x12d})['$promise'];})[_0x477d('0x76')](function(_0x4f21af){var _0x377914=_0x4f21af&&_0x4f21af[_0x477d('0xf2')]?_0x4f21af[_0x477d('0xf2')][0x0]:null;if(!_0x377914){var _0x252ffc=[];var _0x50a09e=null;if(_0x9d48cf[_0x477d('0xb32')]){_0x50a09e=_[_0x477d('0x10a')](_0x9d48cf[_0x477d('0xf1')],{'id':Number(_0x9d48cf[_0x477d('0xb32')][_0x477d('0x1229')])});}for(var _0x145d10=0x0;_0x145d10<_0x9d48cf[_0x477d('0xf1')][_0x477d('0x79')];_0x145d10++){if(_0x50a09e&&_0x9d48cf[_0x477d('0xf1')][_0x145d10]['id']===_0x50a09e['id']){_0x9d48cf[_0x477d('0xf1')][_0x145d10][_0x477d('0xf8b')]=![];_0x252ffc['push'](_0x9d48cf['lists'][_0x145d10]);}}_0x9d48cf['lists']=_0x252ffc;}else{if(!_0x377914['autoAssociation']){return _0x5aca71[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x377914['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0xc9f22c){var _0x1f8ca4=_[_0x477d('0x3cb')](_0xc9f22c[_0x477d('0xf2')],function(_0x41a554){return _[_0x477d('0x10a')](_0x9d48cf[_0x477d('0xf1')],{'id':_0x41a554[_0x477d('0x3af')]});});var _0x1818a4=null;if(_0x9d48cf[_0x477d('0xb32')]){_0x1818a4=_[_0x477d('0x10a')](_0x9d48cf['lists'],{'id':Number(_0x9d48cf[_0x477d('0xb32')][_0x477d('0x1229')])});}if(_0x1818a4&&!_['some'](_0x1f8ca4,['id',_0x1818a4['id']])){var _0x5a2dea=_['find'](_0x9d48cf[_0x477d('0xf1')],{'id':_0x1818a4['id']});_0x5a2dea[_0x477d('0xf8b')]=![];_0x1f8ca4[_0x477d('0x3a7')](_0x5a2dea);}_0x9d48cf[_0x477d('0xf1')]=_0x1f8ca4;});}}})[_0x477d('0xf8')](function(_0x527e57){_0x404b7c[_0x477d('0x44a')]({'title':_0x527e57['status']?'API:'+_0x527e57['status']+_0x477d('0x44c')+_0x527e57[_0x477d('0x44d')]:_0x477d('0x122a'),'msg':_0x527e57['data']?JSON[_0x477d('0x3fb')](_0x527e57[_0x477d('0x451')]):_0x527e57[_0x477d('0x453')]()});});_0x1e9995['hasRole'](_0x477d('0x5f'))?_0x5aca71[_0x477d('0x79c')]['get']({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'IntervalId':_0x477d('0xea')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0xed3c00){_0x9d48cf['interval']=_0xed3c00[_0x477d('0xf2')]||[];})['catch'](function(_0x4623eb){_0x404b7c[_0x477d('0x44a')]({'title':_0x4623eb[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x4623eb[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x4623eb['statusText']:_0x477d('0x122b'),'msg':_0x4623eb[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x4623eb[_0x477d('0x451')]):_0x4623eb[_0x477d('0x453')]()});}):_0x5aca71['interval'][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'IntervalId':_0x477d('0xea')})[_0x477d('0x38b')]['then'](function(_0x1bf72c){_0x9d48cf[_0x477d('0x79c')]=_0x1bf72c[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x5aca71['userProfileSection'][_0x477d('0x376')]({'userProfileId':_0x9d48cf[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x3ec})['$promise'];})[_0x477d('0x76')](function(_0x38fee0){var _0x30e9f0=_0x38fee0&&_0x38fee0['rows']?_0x38fee0[_0x477d('0xf2')][0x0]:null;if(!_0x30e9f0){var _0x3d13a9=[];var _0x4898dc=null;if(_0x9d48cf['chatWebsite']){_0x4898dc=_['find'](_0x9d48cf[_0x477d('0x79c')],{'id':Number(_0x9d48cf['chatWebsite'][_0x477d('0xf8c')])});}for(var _0x51add0=0x0;_0x51add0<_0x9d48cf[_0x477d('0x79c')]['length'];_0x51add0++){if(_0x4898dc&&_0x9d48cf[_0x477d('0x79c')][_0x51add0]['id']===_0x4898dc['id']){_0x9d48cf[_0x477d('0x79c')][_0x51add0][_0x477d('0xf8b')]=![];_0x3d13a9[_0x477d('0x3a7')](_0x9d48cf['interval'][_0x51add0]);}}_0x9d48cf[_0x477d('0x79c')]=_0x3d13a9;}else{if(!_0x30e9f0[_0x477d('0x3ad')]){return _0x5aca71[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x30e9f0['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x8b9674){var _0x5d65c0=_['map'](_0x8b9674['rows'],function(_0x3d9951){return _[_0x477d('0x10a')](_0x9d48cf['interval'],{'id':_0x3d9951[_0x477d('0x3af')]});});var _0x296b24=null;if(_0x9d48cf[_0x477d('0xb32')]){_0x296b24=_[_0x477d('0x10a')](_0x9d48cf[_0x477d('0x79c')],{'id':Number(_0x9d48cf[_0x477d('0xb32')]['IntervalId'])});}if(_0x296b24&&!_[_0x477d('0x3ab')](_0x5d65c0,['id',_0x296b24['id']])){var _0x9ddfe=_['find'](_0x9d48cf[_0x477d('0x79c')],{'id':_0x296b24['id']});_0x9ddfe['canSelect']=![];_0x5d65c0[_0x477d('0x3a7')](_0x9ddfe);}_0x9d48cf['interval']=_0x5d65c0;});}}})[_0x477d('0xf8')](function(_0x6bd913){_0x404b7c[_0x477d('0x44a')]({'title':_0x6bd913[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x6bd913['status']+_0x477d('0x44c')+_0x6bd913['statusText']:_0x477d('0x122c'),'msg':_0x6bd913[_0x477d('0x451')]?JSON['stringify'](_0x6bd913['data']):_0x6bd913[_0x477d('0x453')]()});});function _0x57912a(){_0x9d48cf['errors']=[];_0x5aca71[_0x477d('0xb32')][_0x477d('0xd70')](_0x9d48cf[_0x477d('0xb32')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x4c1f05){_0x9d48cf[_0x477d('0x120e')][_0x477d('0x63b')](_0x4c1f05[_0x477d('0xd71')]());_0x404b7c[_0x477d('0x485')]({'title':_0x477d('0x123a'),'msg':_0x9d48cf[_0x477d('0xb32')]['name']?_0x9d48cf[_0x477d('0xb32')][_0x477d('0x94')]+_0x477d('0xd73'):''});_0x1171c0(_0x4c1f05);})['catch'](function(_0x18b807){if(_0x18b807[_0x477d('0x451')]&&_0x18b807['data'][_0x477d('0xd67')]&&_0x18b807[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x9d48cf[_0x477d('0xd67')]=_0x18b807[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x18b807['toString'](),'type':_0x477d('0x123b')}];for(var _0x58ee86=0x0;_0x58ee86<_0x18b807[_0x477d('0x451')]['errors']['length'];_0x58ee86+=0x1){_0x404b7c['error']({'title':_0x18b807[_0x477d('0x451')][_0x477d('0xd67')][_0x58ee86]['type'],'msg':_0x18b807[_0x477d('0x451')][_0x477d('0xd67')][_0x58ee86][_0x477d('0x452')]});}}else{_0x404b7c[_0x477d('0x44a')]({'title':_0x18b807[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x18b807[_0x477d('0x3c3')]+'\x20-\x20'+_0x18b807[_0x477d('0x44d')]:_0x477d('0x123b'),'msg':_0x18b807[_0x477d('0x451')]?JSON['stringify'](_0x18b807['data'][_0x477d('0x452')]):_0x18b807['toString']()});}});}function _0x350d57(){_0x9d48cf[_0x477d('0xd67')]=[];_0x5aca71[_0x477d('0xb32')]['update']({'id':_0x9d48cf[_0x477d('0xb32')]['id']},_0x9d48cf['chatWebsite'])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x56b6e5){var _0x59ea61=_[_0x477d('0x10a')](_0x9d48cf[_0x477d('0x120e')],{'id':_0x56b6e5['id']});if(_0x59ea61){_[_0x477d('0xef')](_0x59ea61,_[_0x477d('0x10b')](_0x56b6e5['toJSON'](),_[_0x477d('0x7f')](_0x59ea61)));}_0x404b7c['success']({'title':'ChatWebsite\x20properly\x20saved!','msg':_0x9d48cf[_0x477d('0xb32')]['name']?_0x9d48cf['chatWebsite'][_0x477d('0x94')]+_0x477d('0xd76'):''});_0x1171c0(_0x56b6e5);})[_0x477d('0xf8')](function(_0xbf5132){if(_0xbf5132[_0x477d('0x451')]&&_0xbf5132[_0x477d('0x451')][_0x477d('0xd67')]&&_0xbf5132[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x9d48cf[_0x477d('0xd67')]=_0xbf5132['data'][_0x477d('0xd67')]||[{'message':_0xbf5132[_0x477d('0x453')](),'type':'api.chatWebsite.update'}];for(var _0x173a3f=0x0;_0x173a3f<_0xbf5132[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x173a3f++){_0x404b7c['error']({'title':_0xbf5132[_0x477d('0x451')][_0x477d('0xd67')][_0x173a3f][_0x477d('0x439')],'msg':_0xbf5132[_0x477d('0x451')]['errors'][_0x173a3f][_0x477d('0x452')]});}}else{_0x404b7c[_0x477d('0x44a')]({'title':_0xbf5132[_0x477d('0x3c3')]?_0x477d('0x44b')+_0xbf5132[_0x477d('0x3c3')]+_0x477d('0x44c')+_0xbf5132[_0x477d('0x44d')]:'api.chatWebsite.update','msg':_0xbf5132['data']?JSON[_0x477d('0x3fb')](_0xbf5132[_0x477d('0x451')][_0x477d('0x452')]):_0xbf5132[_0x477d('0x453')]()});}});}function _0x56ce47(_0x230e4a){_0x9d48cf[_0x477d('0xd67')]=[];var _0xd82c13=_0x1fa8c9['confirm']()[_0x477d('0x49a')](_0x477d('0xd79'))['content'](_0x477d('0x123c'))[_0x477d('0x687')](_0x477d('0x123d'))['ok'](_0x477d('0xd7b'))[_0x477d('0x4f0')](_0x477d('0x688'))[_0x477d('0xd7c')](_0x230e4a);_0x1fa8c9[_0x477d('0x395')](_0xd82c13)[_0x477d('0x76')](function(){_0x5aca71[_0x477d('0xb32')]['delete']({'id':_0x9d48cf[_0x477d('0xb32')]['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x9d48cf[_0x477d('0x120e')],{'id':_0x9d48cf[_0x477d('0xb32')]['id']});_0x404b7c['success']({'title':_0x477d('0x123e'),'msg':(_0x9d48cf['chatWebsite'][_0x477d('0x94')]||_0x477d('0xb32'))+_0x477d('0xd7e')});_0x1171c0(_0x9d48cf[_0x477d('0xb32')]);})[_0x477d('0xf8')](function(_0x17ad3f){if(_0x17ad3f['data']&&_0x17ad3f[_0x477d('0x451')][_0x477d('0xd67')]&&_0x17ad3f[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x9d48cf[_0x477d('0xd67')]=_0x17ad3f['data'][_0x477d('0xd67')]||[{'message':_0x17ad3f['toString'](),'type':_0x477d('0x123f')}];for(var _0x5c8729=0x0;_0x5c8729<_0x17ad3f[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x5c8729++){_0x404b7c['error']({'title':_0x17ad3f['data'][_0x477d('0xd67')][_0x5c8729][_0x477d('0x439')],'msg':_0x17ad3f[_0x477d('0x451')][_0x477d('0xd67')][_0x5c8729][_0x477d('0x452')]});}}else{_0x404b7c[_0x477d('0x44a')]({'title':_0x17ad3f[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x17ad3f[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x17ad3f[_0x477d('0x44d')]:_0x477d('0x123f'),'msg':_0x17ad3f[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x17ad3f[_0x477d('0x451')][_0x477d('0x452')]):_0x17ad3f[_0x477d('0x452')]||_0x17ad3f[_0x477d('0x453')]()});}});},function(){});}function _0x2d531c(_0x568502){return _0x568502===null?undefined:new Date(_0x568502);}function _0x1171c0(_0x2b4051){_0x1fa8c9[_0x477d('0x3bc')](_0x2b4051);}}}());(function(){'use strict';_0x543cb5['$inject']=['api',_0x477d('0x384'),_0x477d('0x475'),'toasty',_0x477d('0x55')];angular[_0x477d('0xb')](_0x477d('0x30'))[_0x477d('0x3ba')](_0x477d('0x1240'),_0x543cb5);function _0x543cb5(_0x69cbd0,_0x2fc63e,_0x300305,_0x1b88ef,_0x1e95f7){var _0x3ce16f=this;_0x3ce16f[_0x477d('0x3e5')]=_0x1e95f7[_0x477d('0x5c')]();_0x3ce16f[_0x477d('0xb32')]={};_0x3ce16f[_0x477d('0x1241')]={'count':0x0,'rows':[]};_0x3ce16f[_0x477d('0x1242')]=[];_0x3ce16f[_0x477d('0xd66')];_0x3ce16f[_0x477d('0x3ef')]={'sort':_0x477d('0x1243')};_0x3ce16f[_0x477d('0x1244')]=_[_0x477d('0x691')](_[_0x477d('0x1245')]([{'app':_0x477d('0x1246'),'appType':_0x477d('0x79c'),'types':[_0x477d('0x1247'),'custom','list'],'fields':[],'isApp':![]},{'app':_0x477d('0x3c6'),'appType':_0x477d('0x3c6'),'type':_0x477d('0x3c6'),'icon':_0x477d('0x1248'),'interval':'*,*,*,*','required':!![],'isApp':!![],'fields':[{'title':'Value','name':_0x477d('0x3b6'),'type':_0x477d('0x41b'),'param':0x0}]},{'app':_0x477d('0xa41'),'appType':_0x477d('0xa41'),'type':_0x477d('0xa41'),'icon':_0x477d('0x1248'),'interval':_0x477d('0x1249'),'required':!![],'isApp':!![],'extraApi':[{'name':_0x477d('0xf31'),'field':{'name':_0x477d('0xbb9'),'key':_0x477d('0x94')},'route':_0x477d('0xbb9'),'filters':{'fields':'id,name','sort':_0x477d('0x94'),'nolimit':!![]},'permissions':{'section':0x3f4}}],'fields':[{'title':_0x477d('0x124a'),'name':_0x477d('0xf49'),'type':_0x477d('0x41b'),'required':!![],'param':0x0},{'title':_0x477d('0x124b'),'name':_0x477d('0xbb9'),'type':_0x477d('0x124c'),'values':'variables','value':_0x477d('0x124d'),'option':'variable.name','defaultValues':[{'value':'\x27\x27','option':_0x477d('0x124e')}],'defaultValue':'\x27\x27','param':0x1}]},{'app':_0x477d('0x124f'),'appType':'gotop','type':_0x477d('0x1250'),'icon':'icon-apps','interval':'*,*,*,*','isApp':!![],'fields':[{'title':_0x477d('0x1251'),'name':_0x477d('0x1243'),'type':_0x477d('0x421'),'required':!![],'min':0x0,'param':0x0}]},{'app':'gotoif','appType':_0x477d('0x1252'),'type':_0x477d('0x1252'),'icon':_0x477d('0x1248'),'interval':_0x477d('0x1249'),'isApp':!![],'fields':[{'title':_0x477d('0x1253'),'name':_0x477d('0xb98'),'type':'text','required':!![],'param':0x0},{'title':_0x477d('0x1254'),'name':_0x477d('0x1254'),'type':_0x477d('0x421'),'min':0x1,'required':!![],'param':0x1},{'title':'falsepriority','name':_0x477d('0x1255'),'type':_0x477d('0x421'),'min':0x1,'required':!![],'param':0x2}]},{'app':_0x477d('0x1256'),'appType':_0x477d('0x1256'),'foreignKey':_0x477d('0x1257'),'type':_0x477d('0x1256'),'icon':_0x477d('0x1248'),'interval':'*,*,*,*','isApp':!![],'extraApi':[{'name':_0x477d('0xf2f'),'field':{'name':'queue','key':_0x477d('0x94')},'route':_0x477d('0xe40'),'filters':{'fields':'id,name,type','sort':_0x477d('0x94'),'nolimit':!![]},'permissions':{'section':0x1f5}}],'fields':[{'title':_0x477d('0x1258'),'name':'queue','type':'apiselect','values':_0x477d('0xf2f'),'value':'queue.name','option':_0x477d('0x1259'),'defaultValue':0x12c,'required':!![],'param':0x0},{'title':_0x477d('0x125a'),'name':'timeout','type':_0x477d('0x421'),'max':0x20c49b,'min':0x0,'required':!![],'defaultValue':0x12c,'param':0x1}]},{'app':_0x477d('0xcf'),'appType':_0x477d('0xcf'),'type':_0x477d('0xcf'),'foreignKey':_0x477d('0x125b'),'icon':'icon-apps','interval':'*,*,*,*','isApp':!![],'extraApi':[{'name':_0x477d('0x125c'),'field':{'name':'agent','key':_0x477d('0x94')},'route':'user','filters':{'fields':_0x477d('0x9c'),'role':_0x477d('0xcf'),'sort':_0x477d('0x94'),'nolimit':!![]},'permissions':{'section':0xca}}],'fields':[{'title':_0x477d('0x125d'),'name':'agent','type':_0x477d('0x124c'),'values':_0x477d('0x125c'),'value':_0x477d('0x125e'),'option':_0x477d('0x125e'),'required':!![],'param':0x0},{'title':'Timeout','name':'timeout','type':_0x477d('0x421'),'max':0x20c49b,'min':0x0,'required':!![],'defaultValue':0x1e,'param':0x1}]},{'app':_0x477d('0x539'),'appType':_0x477d('0x539'),'type':_0x477d('0x539'),'icon':_0x477d('0x1248'),'interval':_0x477d('0x1249'),'isApp':!![],'fields':[{'title':_0x477d('0x125f'),'name':_0x477d('0xb95'),'type':'text','required':!![],'param':0x0}]},{'app':_0x477d('0x1260'),'appType':'autoreply','type':'autoreply','icon':_0x477d('0x1248'),'interval':_0x477d('0x1249'),'isApp':!![],'fields':[{'title':_0x477d('0x1261'),'name':'times','type':'select','defaultValue':'1','values':[{'option':'One\x20Time','value':'1'},{'option':'Always','value':'0'}],'required':!![],'param':0x0},{'title':'Text','name':'text','type':'textarea','required':!![],'param':0x1}]},{'app':_0x477d('0xbb0'),'appType':'tag','type':_0x477d('0xbb0'),'foreignKey':_0x477d('0x1262'),'icon':_0x477d('0x1248'),'interval':_0x477d('0x1249'),'isApp':!![],'extraApi':[{'name':_0x477d('0x1263'),'field':{'name':_0x477d('0xbb0'),'key':_0x477d('0x94')},'route':_0x477d('0xbb0'),'filters':{'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':!![]},'permissions':{'section':0x3f0}}],'fields':[{'title':_0x477d('0x1264'),'name':'tag','type':_0x477d('0x124c'),'values':_0x477d('0x1263'),'value':'tag.name','option':_0x477d('0x1265'),'required':!![],'param':0x0}]},{'app':_0x477d('0x1266'),'appType':_0x477d('0x1266'),'type':_0x477d('0x1266'),'icon':'icon-apps','interval':_0x477d('0x1249'),'isApp':!![],'fields':[{'title':'Key','name':_0x477d('0x670'),'type':_0x477d('0x41b'),'required':!![],'param':0x0},{'title':_0x477d('0x1267'),'name':_0x477d('0x1267'),'type':'select','defaultValue':'\x27en\x27','values':[{'option':_0x477d('0xf9d'),'value':_0x477d('0x1268')},{'option':_0x477d('0xf9e'),'value':_0x477d('0x1269')},{'option':'German','value':_0x477d('0x126a')},{'option':_0x477d('0xfa0'),'value':_0x477d('0x126b')},{'option':_0x477d('0xfa1'),'value':_0x477d('0x126c')},{'option':_0x477d('0xfa2'),'value':_0x477d('0x126d')},{'option':_0x477d('0xfa3'),'value':_0x477d('0x126e')},{'option':_0x477d('0xfa4'),'value':_0x477d('0x126f')},{'option':_0x477d('0xfa5'),'value':_0x477d('0x1270')},{'option':_0x477d('0xfa6'),'value':'\x27nl\x27'},{'option':_0x477d('0xfa7'),'value':_0x477d('0x1271')},{'option':_0x477d('0xfa8'),'value':_0x477d('0x1272')},{'option':_0x477d('0xfa9'),'value':_0x477d('0x1273')},{'option':_0x477d('0xfaa'),'value':_0x477d('0x1274')},{'option':_0x477d('0x1024'),'value':_0x477d('0x1275')},{'option':_0x477d('0x1027'),'value':_0x477d('0x1276')},{'option':'Ukrainian','value':_0x477d('0x1277')},{'option':'Chinese\x20(Simplified)','value':_0x477d('0x1278')},{'option':'Chinese\x20(Hong\x20Kong)','value':'\x27zh-HK\x27'},{'option':_0x477d('0xfe8'),'value':_0x477d('0x1279')}],'required':!![],'param':0x1},{'title':_0x477d('0x127a'),'name':'welcomemessage','type':_0x477d('0x127b'),'maxlength':0xff,'param':0x2,'help':!![]}]},{'app':_0x477d('0x127c'),'appType':_0x477d('0x127c'),'type':_0x477d('0x127c'),'icon':_0x477d('0x1248'),'interval':_0x477d('0x1249'),'isApp':!![],'fields':[{'title':_0x477d('0x127d'),'name':_0x477d('0x127d'),'type':_0x477d('0x41b'),'required':!![],'param':0x0},{'title':_0x477d('0x127e'),'name':_0x477d('0x127e'),'type':_0x477d('0x41b'),'required':!![],'param':0x1},{'title':'lexregion','name':_0x477d('0x127f'),'type':'select','defaultValue':_0x477d('0x1280'),'values':[{'option':'US\x20East\x20(N.\x20Virginia)','value':_0x477d('0x1280')},{'option':_0x477d('0x1163'),'value':'\x27us-west-2\x27'},{'option':_0x477d('0x1166'),'value':_0x477d('0x1281')},{'option':'Asia\x20Pacific\x20(Sydney)','value':_0x477d('0x1282')}],'required':!![],'param':0x2},{'title':'botname','name':_0x477d('0x1283'),'type':_0x477d('0x41b'),'required':!![],'param':0x3},{'title':_0x477d('0x127a'),'name':_0x477d('0x127a'),'type':_0x477d('0x127b'),'maxlength':0xff,'param':0x4,'help':!![]}]}],['app']),{'isApp':![]});_0x3ce16f['list']={'group':{'name':_0x477d('0x1284'),'pull':_0x477d('0x117f')},'animation':0x64,'sort':![]};_0x3ce16f[_0x477d('0x1285')]={'group':{'name':_0x477d('0x1286'),'put':_0x477d('0x1284')},'animation':0x64,'onAdd':function(_0x2f2c92){_0x12d2e4(_0x2f2c92,_0x2f2c92['newIndex']);},'onSort':function(_0x28d65a){_0x3f20cd();}};_0x3ce16f[_0x477d('0x5ee')]=_0x30f2b7;_0x3ce16f[_0x477d('0xe66')]=_0x3b07e9;_0x3ce16f[_0x477d('0x1287')]=_0x37e9d1;_0x3ce16f[_0x477d('0x1288')]=_0x12d2e4;_0x3ce16f[_0x477d('0x1289')]=_0x41cec9;_0x3ce16f[_0x477d('0x128a')]=_0x56d8c5;_0x3ce16f[_0x477d('0x128b')]=_0x102304;_0x3ce16f[_0x477d('0x128c')]=_0x3f20cd;_0x3ce16f['getIntervals']=_0x259372;function _0x30f2b7(_0x34a000,_0x5361d9){_0x3ce16f[_0x477d('0xb32')]=_0x34a000;_0x3ce16f[_0x477d('0xd66')]=typeof _0x5361d9!=='undefined'?_0x5361d9:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x3ce16f['applications'][_0x477d('0x45c')]=!_0x3ce16f[_0x477d('0xd66')][_0x477d('0xedb')]?!![]:![];_0x3ce16f[_0x477d('0x3ef')]['id']=_0x34a000['id'];_0x3ce16f[_0x477d('0x3ef')][_0x477d('0x128d')]=!![];_0x3ce16f[_0x477d('0x3ef')][_0x477d('0x128e')]=!![];_0x3ce16f[_0x477d('0x1287')]();_0x3ce16f[_0x477d('0x128f')]();}function _0x3b07e9(_0x5b0a5c,_0x223c99,_0xa3fc73){var _0x5dd725=_0x2fc63e[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x1290'))['htmlContent'](''+_0x5b0a5c[_0x477d('0x1291')]+_0x477d('0xd94')+_0x477d('0xd95'))['ariaLabel'](_0x477d('0x1292'))[_0x477d('0xd7c')](_0xa3fc73)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x2fc63e['show'](_0x5dd725)[_0x477d('0x76')](function(){_0x3ce16f[_0x477d('0x1241')][_0x477d('0xf2')]['splice'](_0x223c99,0x1);_0x3f20cd();},function(){console[_0x477d('0x7b')](_0x477d('0xd97'));});}function _0x12d2e4(_0x510f46,_0x58c0dd){if(_0x3ce16f[_0x477d('0x1241')]['rows'][_0x477d('0x79')]){var _0x265484=_0x3ce16f[_0x477d('0x1241')][_0x477d('0xf2')][_0x58c0dd]?_0x3ce16f['chatWebsiteApps'][_0x477d('0xf2')][_0x58c0dd]:_0x3ce16f[_0x477d('0x1241')][_0x477d('0xf2')][0x0];_0x2fc63e[_0x477d('0x395')]({'controller':_0x477d('0x1293')+(_0x265484[_0x477d('0x1294')]||_0x265484[_0x477d('0x1291')])[_0x477d('0x449')]()+_0x477d('0x1295'),'controllerAs':'vm','templateUrl':'app/main/apps/chat/views/chatWebsites/edit/apps/'+(_0x265484[_0x477d('0x1294')]||_0x265484['app'])[_0x477d('0x449')]()+_0x477d('0x1296'),'parent':angular[_0x477d('0x398')](_0x300305[_0x477d('0x399')]),'targetEvent':_0x510f46,'clickOutsideToClose':!![],'locals':{'chatWebsiteApp':_0x265484,'chatWebsite':_0x3ce16f[_0x477d('0xb32')],'crudPermissions':_0x3ce16f[_0x477d('0xd66')]}})[_0x477d('0x76')](function(_0x4fb1f2){if(_0x4fb1f2){if(_0x4fb1f2['id']){_0x3ce16f[_0x477d('0x1241')]['rows'][_0x58c0dd]=_0x4fb1f2;}else{_0x3ce16f[_0x477d('0x1241')][_0x477d('0xf2')][_0x477d('0x45b')](_0x58c0dd,0x0,_0x4fb1f2);}_0x3f20cd();}})[_0x477d('0xf8')](function(_0x1e3b09){if(_0x1e3b09){_0x1b88ef[_0x477d('0x44a')]({'title':_0x1e3b09[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x1e3b09[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x1e3b09['statusText']:'SYSTEM:EDITMODALSHOW','msg':_0x1e3b09[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x1e3b09[_0x477d('0x451')]):_0x1e3b09[_0x477d('0x453')]()});}});}}function _0x41cec9(_0x9f9dc2,_0x49ca6b){if(_0x3ce16f[_0x477d('0x1241')][_0x477d('0xf2')][_0x477d('0x79')]){var _0x6425ba=_0x3ce16f[_0x477d('0x1241')]['rows'][_0x49ca6b]?_0x3ce16f[_0x477d('0x1241')]['rows'][_0x49ca6b]:_0x3ce16f[_0x477d('0x1241')]['rows'][0x0];_0x2fc63e['show']({'controller':_0x477d('0x1297'),'controllerAs':'vm','templateUrl':'app/main/apps/chat/views/chatWebsites/edit/apps/interval/dialog.html','parent':angular[_0x477d('0x398')](_0x300305[_0x477d('0x399')]),'targetEvent':_0x9f9dc2,'clickOutsideToClose':!![],'locals':{'interval':{'interval':_0x6425ba[_0x477d('0x79c')],'IntervalId':_0x6425ba[_0x477d('0xf8c')],'application':!![]},'intervals':[],'crudPermissions':_0x3ce16f['crudPermissions']}})[_0x477d('0x76')](function(_0xb25e31){if(_0xb25e31){_0x6425ba['interval']=_0xb25e31[_0x477d('0x79c')]||_0x477d('0x1249');_0x6425ba[_0x477d('0xf8c')]=_0xb25e31['IntervalId']||null;_0x3f20cd();}});}}function _0x3f20cd(){var _0x56b2b8=0x1;var _0x40978d=[];for(var _0x33eef4=0x0,_0x589180=0x0;_0x33eef4<_0x3ce16f['chatWebsiteApps'][_0x477d('0xf2')][_0x477d('0x79')];_0x33eef4++,_0x589180=0x0){var _0x4c58ec=_0x3ce16f[_0x477d('0x1241')][_0x477d('0xf2')][_0x33eef4];var _0x52e88f=[];var _0x3a18e8=[];_0x4c58ec[_0x477d('0x1298')]=_0x4c58ec[_0x477d('0x79c')]!==_0x477d('0x1249')?[_0x4c58ec[_0x477d('0x79c')]]:_0x4c58ec[_0x477d('0xf8c')]?_[_0x477d('0x3cb')](_[_0x477d('0x3b3')](_0x3ce16f[_0x477d('0x1298')][_0x477d('0xf2')],{'IntervalId':_0x4c58ec[_0x477d('0xf8c')]}),'interval'):[];_0x4c58ec[_0x477d('0xf47')]=_0x3ce16f[_0x477d('0xb32')]['context'];_0x4c58ec[_0x477d('0x1299')]=_0x3ce16f[_0x477d('0xb32')][_0x477d('0x1299')];if(_0x4c58ec[_0x477d('0x439')]){_0x4c58ec[_0x477d('0x439')]=_0x4c58ec['type']['toLowerCase']();}_0x4c58ec['priority']=_0x52e88f[_0x477d('0x79')]?_['last'](_0x52e88f)['priority']+0x1:_0x56b2b8;_0x56b2b8=(_0x3a18e8[_0x477d('0x79')]?_[_0x477d('0x601')](_0x3a18e8)['priority']:_0x4c58ec['priority'])+0x1;_0x40978d=_['concat'](_0x40978d,_0x52e88f,[_0x4c58ec],_0x3a18e8);}_0x69cbd0[_0x477d('0xb32')][_0x477d('0x129a')]({'id':_0x3ce16f['chatWebsite']['id']},_[_0x477d('0x1245')](_0x40978d,_0x477d('0x1243')))[_0x477d('0x38b')]['then'](function(_0x39e33c){_0x3ce16f[_0x477d('0x1241')][_0x477d('0xf2')]=_0x39e33c[_0x477d('0xf2')];})[_0x477d('0xf8')](function(_0xe84187){console[_0x477d('0x44a')](_0xe84187);});}function _0x55a4c4(_0x36e830){_0x3ce16f['chatWebsiteApps']=_0x36e830||{'count':0x0,'rows':[]};}function _0x259372(){return _0x69cbd0['interval'][_0x477d('0x376')]({'fields':'id,interval,IntervalId'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x2988ec){_0x3ce16f[_0x477d('0x1298')]=_0x2988ec;})[_0x477d('0xf8')](function(_0x5c7228){console[_0x477d('0x44a')](_0x5c7228);});}function _0x37e9d1(){_0x3ce16f[_0x477d('0x553')]=_0x69cbd0[_0x477d('0xb32')]['getApplications'](_0x3ce16f[_0x477d('0x3ef')],_0x55a4c4)[_0x477d('0x38b')];}function _0x56d8c5(_0x1a108d){_[_0x477d('0x39c')](_0x3ce16f[_0x477d('0x1241')][_0x477d('0xf2')],{'id':_0x1a108d['id']});_0x3f20cd();_0x1b88ef[_0x477d('0x485')]({'title':'App\x20deleted!','msg':_0x1a108d['app']?_0x1a108d[_0x477d('0x1291')]+_0x477d('0xd7e'):''});}function _0x102304(_0x13d31b){var _0x2186b0=_0x2fc63e['confirm']()[_0x477d('0x49a')](_0x477d('0x129b'))['htmlContent'](''+_0x3ce16f[_0x477d('0x1242')][_0x477d('0x79')]+_0x477d('0xda0')+'\x20will\x20be\x20deleted.')[_0x477d('0x687')](_0x477d('0x129c'))[_0x477d('0xd7c')](_0x13d31b)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x2fc63e[_0x477d('0x395')](_0x2186b0)['then'](function(){_0x3ce16f[_0x477d('0x1242')][_0x477d('0x3b1')](function(_0x3034fe){_['remove'](_0x3ce16f[_0x477d('0x1241')][_0x477d('0xf2')],{'id':_0x3034fe['id']});});_0x3ce16f[_0x477d('0x1242')]=[];_0x3f20cd();});}}}());(function(){'use strict';_0x585bc5['$inject']=['$mdDialog','$q',_0x477d('0x40e'),_0x477d('0x386'),_0x477d('0xb32'),_0x477d('0x120e'),_0x477d('0x11f1'),'$translate','Auth',_0x477d('0xd66')];angular['module'](_0x477d('0x30'))[_0x477d('0x3ba')](_0x477d('0x122d'),_0x585bc5);function _0x585bc5(_0x11d66e,_0x2316d5,_0x3fe6d3,_0x209bb0,_0x985f84,_0x1a12be,_0x454e83,_0x2db3ed,_0xac0987,_0x4df417){var _0x33658c=this;_0x33658c[_0x477d('0x3e5')]=_0xac0987['getCurrentUser']();_0x33658c[_0x477d('0xb32')]=_0x985f84;_0x33658c['crudPermissions']=_0x4df417;_0x33658c['realtime']=_0x454e83;_0x33658c['items']=[];_0x33658c[_0x477d('0x11f7')]=[];_0x33658c[_0x477d('0x4a7')]=[];_0x33658c[_0x477d('0x11f2')]=[];_0x33658c['startingSelectedItems']=[];_0x33658c[_0x477d('0x11f5')]=![];_0x33658c['onInit']=_0x480a48;_0x33658c[_0x477d('0x11f3')]=_0x1ff2d2;_0x33658c[_0x477d('0x6bf')]=_0x46a081;_0x33658c[_0x477d('0x1185')]={'readOnly':!_0x33658c[_0x477d('0xd66')]['canEdit'],'items':[],'selectedItems':[],'showSelectAndDeselectAll':!![],'orderBy':_0x477d('0x94'),'line1':'fullname','line2':['name',_0x477d('0x324')],'line3':'','labelAll':_0x2db3ed[_0x477d('0x45f')]('CHAT.ALL_AGENTS'),'labelSelected':_0x2db3ed['instant'](_0x477d('0x129d')),'transferCallback':function(_0x460e79,_0x1aae2b){var _0x2ddfc6=_[_0x477d('0x11f4')](_0x33658c['startingSelectedItems'],_0x33658c[_0x477d('0x4a7')],'id');_0x33658c[_0x477d('0x11f5')]=_[_0x477d('0x3b2')](_0x2ddfc6)?![]:!![];}};function _0x480a48(){return _0xac0987[_0x477d('0x56')](_0x477d('0x5f'))?_0x26169a()[_0x477d('0xf8')](function(_0x17d16b){_0x3fe6d3[_0x477d('0x44a')]({'title':_0x17d16b[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x17d16b[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x17d16b['statusText']:'SYSTEM:GET_AGENTS','msg':_0x17d16b[_0x477d('0x3c3')]?JSON[_0x477d('0x3fb')](_0x17d16b[_0x477d('0x451')]):_0x17d16b[_0x477d('0x453')]()});}):_0x2b5c55()[_0x477d('0x76')](function(_0x1376f4){_0x33658c['section']=_0x1376f4;return _0x26169a();})[_0x477d('0xf8')](function(_0x1f45a8){_0x3fe6d3['error']({'title':_0x1f45a8[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x1f45a8[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x1f45a8[_0x477d('0x44d')]:'SYSTEM:GET_AGENTS','msg':_0x1f45a8['status']?JSON[_0x477d('0x3fb')](_0x1f45a8['data']):_0x1f45a8[_0x477d('0x453')]()});});}function _0x2b5c55(){return _0x2316d5(function(_0x283990,_0x443ea3){_0x209bb0[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x33658c[_0x477d('0x3e5')][_0x477d('0x61')],'name':'Agents'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x4683e2){var _0x1d004b=_0x4683e2&&_0x4683e2[_0x477d('0xf2')]?_0x4683e2[_0x477d('0xf2')][0x0]:null;_0x283990(_0x1d004b);})[_0x477d('0xf8')](function(_0x106b7e){_0x443ea3(_0x106b7e);});});}function _0x26169a(){return _0x2316d5(function(_0x458d71,_0x2c1076){return _0x21bcb3()[_0x477d('0x76')](function(_0x3d4e68){_0x33658c[_0x477d('0x4a6')]=_0x3d4e68[_0x477d('0xf2')]?_0x3d4e68['rows']:[];if(_0xac0987[_0x477d('0x56')](_0x477d('0x5f'))){return _0x3d4e68;}else{if(_0x33658c[_0x477d('0xd99')]){return _0x33658c[_0x477d('0xd99')][_0x477d('0x3ad')]?_0x3d4e68:_0x346f9b();}else{return null;}}})[_0x477d('0x76')](function(_0x41f2b8){var _0x79aadd=_0x41f2b8&&_0x41f2b8[_0x477d('0xf2')]?_0x41f2b8[_0x477d('0xf2')]:[];_0x33658c['allowedItems']=_[_0x477d('0x3cb')](_0x79aadd,function(_0x25faac){return _['find'](_0x33658c['items'],{'id':_0xac0987['hasRole']('admin')||_0x33658c[_0x477d('0xd99')][_0x477d('0x3ad')]?_0x25faac['id']:_0x25faac[_0x477d('0x3af')]});});_0x33658c['startingAllowedItems']=angular[_0x477d('0x6d9')](_0x33658c[_0x477d('0x11f7')]);_0x33658c[_0x477d('0x4a6')][_0x477d('0x3b1')](function(_0x5e159f){var _0x7cd2ff=_[_0x477d('0x10a')](_0x33658c[_0x477d('0x11f7')],{'id':_0x5e159f['id']});if(_0xac0987[_0x477d('0x56')]('admin')){_0x5e159f[_0x477d('0x4a3')]=!![];}else{_0x5e159f['isValid']=typeof _0x7cd2ff!==_0x477d('0x4a4')?!![]:![];}});return _0x441482();})[_0x477d('0x76')](function(_0x53a0b3){var _0xf17135=_0x53a0b3&&_0x53a0b3[_0x477d('0xf2')]?_0x53a0b3[_0x477d('0xf2')]:[];_0x33658c[_0x477d('0x4a7')]=_[_0x477d('0x3cb')](_0xf17135,function(_0x59e715){var _0x5171be=_['find'](_0x33658c['items'],{'id':_0x59e715['id']});_0x5171be['penalty']=_0x59e715[_0x477d('0x129e')]?'penalty\x20'+_0x59e715['UserChatWebsite'][_0x477d('0x1184')]:'';_0x5171be[_0x477d('0x324')]=_0x59e715[_0x477d('0x3ea')](_0x477d('0x324'))?'<'+_0x59e715[_0x477d('0x324')]+'>':'';return _0x5171be;});_0x33658c[_0x477d('0x11fd')]=angular['copy'](_0x33658c[_0x477d('0x4a7')]);_0x33658c[_0x477d('0x1185')][_0x477d('0x4a7')]=_0x33658c['selectedItems'];_0x33658c[_0x477d('0x1185')][_0x477d('0x4a6')]=_[_0x477d('0x11f8')](_0x33658c[_0x477d('0x11f7')],_0x33658c['dualMultiselectOptions'][_0x477d('0x4a7')],'id');_0x458d71();})[_0x477d('0xf8')](function(_0x53d741){_0x2c1076(_0x53d741);});});}function _0x346f9b(){return _0x2316d5(function(_0xb6d046,_0x14588c){return _0x209bb0['userProfileResource'][_0x477d('0x376')]({'sectionId':_0x33658c['section']['id'],'nolimit':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x22b0af){_0xb6d046(_0x22b0af);})[_0x477d('0xf8')](function(_0x505efa){_0x14588c(_0x505efa);});});}function _0x441482(){return _0x2316d5(function(_0x25ca45,_0x3d04bc){return _0x209bb0[_0x477d('0xb32')][_0x477d('0x11f9')]({'id':_0x33658c[_0x477d('0xb32')]['id'],'fields':_0x477d('0x11fa'),'nolimit':!![],'role':_0x477d('0xcf')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x81273d){_0x25ca45(_0x81273d);})[_0x477d('0xf8')](function(_0x20e28a){_0x3d04bc(_0x20e28a);});});}function _0x21bcb3(){return _0x2316d5(function(_0x3eabba,_0x449abe){return _0x209bb0[_0x477d('0x380')]['get']({'fields':_0x477d('0x11fa'),'nolimit':!![],'role':_0x477d('0xcf')})[_0x477d('0x38b')]['then'](function(_0x4e4282){_0x3eabba(_0x4e4282);})[_0x477d('0xf8')](function(_0x264046){_0x449abe(_0x264046);});});}function _0x22ebb4(_0x5d668c){return _0x2316d5(function(_0x160001,_0x4bff0a){if(_[_0x477d('0x3b2')](_0x5d668c)){_0x160001();}else{_0x209bb0[_0x477d('0xb32')][_0x477d('0x11fb')]({'id':_0x33658c[_0x477d('0xb32')]['id'],'ids':_[_0x477d('0x3cb')](_0x5d668c,'id')})[_0x477d('0x38b')][_0x477d('0x76')](function(){_0x160001();})[_0x477d('0xf8')](function(_0x293cad){_0x4bff0a(_0x293cad);});}});}function _0x460d1c(_0x5369b8){return _0x2316d5(function(_0x1270dc,_0x1b2df4){if(_['isEmpty'](_0x5369b8)){_0x1270dc();}else{_0x209bb0[_0x477d('0xb32')]['removeAgents']({'id':_0x33658c[_0x477d('0xb32')]['id'],'ids':_[_0x477d('0x3cb')](_0x5369b8,'id')})[_0x477d('0x38b')][_0x477d('0x76')](function(){_0x1270dc();})['catch'](function(_0x216a57){_0x1b2df4(_0x216a57);});}});}function _0x1ff2d2(){var _0x227987=_['differenceBy'](_0x33658c[_0x477d('0x11fd')],_0x33658c[_0x477d('0x4a7')],'id');var _0x3b76eb=_['differenceBy'](_0x33658c['selectedItems'],_0x33658c['startingSelectedItems'],'id');return _0x460d1c(_0x227987)['then'](function(){return _0x22ebb4(_0x3b76eb);})['then'](function(){_0x33658c[_0x477d('0x11f5')]=![];_0x33658c[_0x477d('0x11f2')]=angular[_0x477d('0x6d9')](_0x33658c[_0x477d('0x11f7')]);_0x33658c[_0x477d('0x11fd')]=angular[_0x477d('0x6d9')](_0x33658c[_0x477d('0x4a7')]);_0x3fe6d3[_0x477d('0x485')]({'title':_0x477d('0x11fe'),'msg':'Agents\x20association\x20has\x20been\x20updated!'});})[_0x477d('0xf8')](function(_0xd6adad){_0x3fe6d3[_0x477d('0x44a')]({'title':_0xd6adad['status']?'API:'+_0xd6adad[_0x477d('0x3c3')]+'\x20-\x20'+_0xd6adad['statusText']:_0x477d('0x1200'),'msg':_0xd6adad['status']?JSON[_0x477d('0x3fb')](_0xd6adad['data']):_0xd6adad['toString']()});});}function _0x46a081(){_0x11d66e[_0x477d('0x3bc')]();}}}());(function(){'use strict';_0x14e0c8[_0x477d('0xa')]=[_0x477d('0x385'),_0x477d('0x40e')];angular[_0x477d('0xb')](_0x477d('0x30'))[_0x477d('0x3ba')]('ChatWebsiteagentAvatarController',_0x14e0c8);function _0x14e0c8(_0x7ee104,_0x5980dc){var _0x1676db=this;var _0x4ad6c4=0x8;var _0x1ab675=_0x4ad6c4*0x400*0x400;_0x1676db[_0x477d('0xb32')]={};_0x1676db[_0x477d('0xd66')];_0x1676db[_0x477d('0x1174')]={'singleFile':!![],'maxChunkRetries':0x1,'chunkSize':_0x1ab675,'simultaneousUploads':0x1,'testChunks':![],'progressCallbacksInterval':0x3e8,'allowDuplicateUploads':!![]};_0x1676db[_0x477d('0x129f')]={'flow':{}};_0x1676db[_0x477d('0x1175')]=![];_0x1676db['fileAdded']=_0x2f0109;_0x1676db[_0x477d('0x12a0')]=_0x27471d;_0x1676db['fileSuccess']=_0x83800f;_0x1676db[_0x477d('0x5ee')]=_0x593134;function _0x593134(_0x3f6826,_0x4213d9){_0x1676db[_0x477d('0xb32')]=angular[_0x477d('0x6d9')](_0x3f6826);_0x1676db[_0x477d('0xd66')]=typeof _0x4213d9!==_0x477d('0x4a4')?_0x4213d9:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x1676db['ngFlowOptions']['target']=_0x477d('0x12a1')[_0x477d('0x409')](':id',_0x1676db[_0x477d('0xb32')]['id']);_0x1676db[_0x477d('0xb32')][_0x477d('0x12a2')]=[];}function _0x2f0109(_0x3a7605){var _0x3c6d49=[_0x477d('0x12a3'),_0x477d('0x12a4')];if(!_[_0x477d('0x3a4')](_0x3c6d49,_0x3a7605['getExtension']())){_0x5980dc['error']({'title':'Invalid\x20extension:\x20'+_0x3a7605['getExtension'](),'msg':_0x477d('0x12a5')+_0x3c6d49[_0x477d('0x3f6')]()});return![];}if(_0x3a7605[_0x477d('0x117b')]>_0x1ab675){_0x5980dc[_0x477d('0x44a')]({'title':_0x477d('0x12a6'),'msg':'The\x20max\x20allowed\x20size\x20is\x20'+_0x4ad6c4+'MB'});return![];}var _0x1f2c16={'id':_0x3a7605[_0x477d('0x12a7')],'file':_0x3a7605,'type':'uploading'};_0x1676db[_0x477d('0xb32')][_0x477d('0x12a2')][_0x477d('0x63b')](_0x1f2c16);return!![];}function _0x27471d(){_0x1676db[_0x477d('0x129f')]['flow'][_0x477d('0x12a8')]['headers']={'X-Requested-With':_0x477d('0x12a9'),'Authorization':_0x477d('0x12aa')+_0x7ee104[_0x477d('0x376')](_0x477d('0x389'))};_0x1676db[_0x477d('0x129f')][_0x477d('0xae')][_0x477d('0x12a0')]();}function _0x83800f(_0x29ba3d,_0x3bfd8f){angular[_0x477d('0x3b1')](_0x1676db['chatWebsite'][_0x477d('0x12a2')],function(_0x472e9e,_0x296db9){if(_0x472e9e['id']===_0x29ba3d[_0x477d('0x12a7')]){var _0x12dc6f=new FileReader();_0x12dc6f[_0x477d('0xecd')](_0x472e9e[_0x477d('0xec5')][_0x477d('0xec5')]);_0x12dc6f[_0x477d('0xec7')]=function(_0x50471f){_0x472e9e['url']=_0x50471f[_0x477d('0x378')][_0x477d('0xec8')];};_0x472e9e['type']=_0x477d('0x12ab');}});}}}());(function(){'use strict';_0x1342a3[_0x477d('0xa')]=[_0x477d('0x384'),'$q',_0x477d('0x40e'),_0x477d('0x12ac'),_0x477d('0xb32'),_0x477d('0x386'),'Auth',_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x30'))[_0x477d('0x3ba')]('EditChatWebsiteAppagentDialogController',_0x1342a3);function _0x1342a3(_0x717512,_0x5c76ed,_0x2882e6,_0x1013be,_0xcbfa59,_0x107cd4,_0x877e24,_0x44054a){var _0x13bf4b=this;_0x13bf4b[_0x477d('0x3e5')]=_0x877e24[_0x477d('0x5c')]();_0x13bf4b[_0x477d('0xd67')]=[];_0x13bf4b[_0x477d('0x49a')]=_0x477d('0x12ad')+(_0x1013be[_0x477d('0x1294')]||_0x1013be[_0x477d('0x1291')])[_0x477d('0x44f')]();_0x13bf4b[_0x477d('0xcf')]=angular[_0x477d('0x6d9')](_0x1013be);_0x13bf4b[_0x477d('0xd66')]=_0x44054a;_0x13bf4b['hasModulePermissions']={};if(_0x13bf4b[_0x477d('0xcf')][_0x477d('0x12ae')]){switch(_0x13bf4b[_0x477d('0xcf')][_0x477d('0x1294')]?_0x13bf4b[_0x477d('0xcf')]['appType'][_0x477d('0x449')]():_0x13bf4b[_0x477d('0xcf')]['app']['toLowerCase']()){case _0x477d('0x9f6'):break;case _0x477d('0x1266'):var _0x38460d=_0x13bf4b[_0x477d('0xcf')][_0x477d('0x12ae')]['split'](',');_0x13bf4b['agent'][_0x477d('0x670')]=_0x38460d[0x0];_0x13bf4b[_0x477d('0xcf')][_0x477d('0x1267')]=_0x38460d[0x1];_0x13bf4b[_0x477d('0xcf')]['welcomemessage']=_0x38460d[_0x477d('0x9cd')](0x2,_0x38460d['length'])[_0x477d('0x3f6')](',');break;case _0x477d('0x127c'):var _0x38460d=_0x13bf4b[_0x477d('0xcf')][_0x477d('0x12ae')]['split'](',');_0x13bf4b[_0x477d('0xcf')][_0x477d('0x127d')]=_0x38460d[0x0];_0x13bf4b[_0x477d('0xcf')][_0x477d('0x127e')]=_0x38460d[0x1];_0x13bf4b[_0x477d('0xcf')]['lexregion']=_0x38460d[0x2];_0x13bf4b[_0x477d('0xcf')][_0x477d('0x1283')]=_0x38460d[0x3];_0x13bf4b['agent'][_0x477d('0x127a')]=_0x38460d[_0x477d('0x9cd')](0x4,_0x38460d[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x1260'):var _0x38460d=_0x13bf4b[_0x477d('0xcf')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x13bf4b['agent']['times']=isNaN(_0x38460d[0x0])?_0x38460d[0x0]:parseInt(_0x38460d[0x0],0xa);_0x13bf4b['agent']['text']=_0x38460d['slice'](0x1,_0x38460d[_0x477d('0x79')])['join'](',');break;case'message':_0x13bf4b['agent'][_0x477d('0x41b')]=_0x13bf4b[_0x477d('0xcf')][_0x477d('0x12ae')];break;case _0x477d('0x12af'):_0x13bf4b[_0x477d('0xcf')][_0x477d('0x94')]=_0x13bf4b[_0x477d('0xcf')][_0x477d('0x12ae')]['split']('=')[0x0];_0x13bf4b['agent'][_0x477d('0x3b6')]=_0x13bf4b['agent'][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x1];break;case _0x477d('0x12b0'):_0x13bf4b[_0x477d('0xcf')][_0x477d('0xf13')]=_0x13bf4b[_0x477d('0xcf')][_0x477d('0x12ae')];break;default:var _0x137a77=_0x13bf4b[_0x477d('0xcf')]['appdata'][_0x477d('0x472')](',');_0x13bf4b[_0x477d('0xcf')][_0x477d('0xcf')]=_[_0x477d('0x3b2')](_0x137a77[0x0])?_0x137a77[0x0]:isNaN(_0x137a77[0x0])?_0x137a77[0x0]:parseInt(_0x137a77[0x0],0xa);_0x13bf4b[_0x477d('0xcf')][_0x477d('0x91b')]=_[_0x477d('0x3b2')](_0x137a77[0x1])?_0x137a77[0x1]:isNaN(_0x137a77[0x1])?_0x137a77[0x1]:parseInt(_0x137a77[0x1],0xa);}}else{_0x13bf4b[_0x477d('0xcf')][_0x477d('0x91b')]=0x1e;}if(_0x13bf4b[_0x477d('0xcf')][_0x477d('0x439')]&&_0x13bf4b['agent'][_0x477d('0x439')]['toLowerCase']()===_0x477d('0x127')&&_0x13bf4b[_0x477d('0xcf')][_0x477d('0x1294')][_0x477d('0x449')]()===_0x477d('0x12b1')){_0x13bf4b[_0x477d('0xcf')][_0x477d('0x6c0')]=_0x13bf4b[_0x477d('0xcf')]['phone']?_0x13bf4b['agent'][_0x477d('0xf46')]['split']('$')[0x0]:undefined;_0x13bf4b[_0x477d('0xcf')][_0x477d('0x69b')]=_0x13bf4b[_0x477d('0xcf')][_0x477d('0x12b2')]?_0x477d('0x12b3')+_0x13bf4b['agent'][_0x477d('0x12b2')]:undefined;}_0x13bf4b['saveChatWebsiteApp']=_0x330daa;_0x13bf4b[_0x477d('0x6bf')]=_0x295031;_0x877e24['hasRole'](_0x477d('0x5f'))?_0x107cd4['user']['get']({'fields':_0x477d('0x9c'),'role':'agent','sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x302db1){_0x13bf4b[_0x477d('0x125c')]=_0x302db1[_0x477d('0xf2')]||[];})['catch'](function(_0x3e943d){_0x2882e6['error']({'title':_0x3e943d[_0x477d('0x3c3')]?'API:'+_0x3e943d['status']+_0x477d('0x44c')+_0x3e943d[_0x477d('0x44d')]:_0x477d('0x11f6'),'msg':_0x3e943d['data']?JSON[_0x477d('0x3fb')](_0x3e943d['data']):_0x3e943d[_0x477d('0x453')]()});}):_0x107cd4[_0x477d('0x380')][_0x477d('0x376')]({'fields':'id,name','role':_0x477d('0xcf'),'sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})['$promise'][_0x477d('0x76')](function(_0x58c9f8){_0x13bf4b[_0x477d('0x125c')]=_0x58c9f8[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x107cd4[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x13bf4b['currentUser']['userProfileId'],'sectionId':0xca})[_0x477d('0x38b')];})['then'](function(_0x1114d0){var _0xe975b=_0x1114d0&&_0x1114d0['rows']?_0x1114d0[_0x477d('0xf2')][0x0]:null;if(!_0xe975b){var _0x31c04c=[];var _0x3691d1=null;if(_0x13bf4b[_0x477d('0xcf')]){_0x3691d1=_[_0x477d('0x10a')](_0x13bf4b[_0x477d('0x125c')],{'name':_0x13bf4b['agent'][_0x477d('0xcf')]});}for(var _0x340a32=0x0;_0x340a32<_0x13bf4b[_0x477d('0x125c')]['length'];_0x340a32++){if(_0x3691d1&&_0x13bf4b[_0x477d('0x125c')][_0x340a32]['id']===_0x3691d1['id']){_0x13bf4b[_0x477d('0x125c')][_0x340a32][_0x477d('0xf8b')]=![];_0x31c04c[_0x477d('0x3a7')](_0x13bf4b[_0x477d('0x125c')][_0x340a32]);}}_0x13bf4b['agents']=_0x31c04c;}else{if(!_0xe975b[_0x477d('0x3ad')]){return _0x107cd4[_0x477d('0x3ae')]['get']({'sectionId':_0xe975b['id']})['$promise']['then'](function(_0x2a7126){var _0x562f79=_[_0x477d('0x3cb')](_0x2a7126[_0x477d('0xf2')],function(_0x29fed6){return _[_0x477d('0x10a')](_0x13bf4b[_0x477d('0x125c')],{'id':_0x29fed6[_0x477d('0x3af')]});});var _0x353c65=null;if(_0x13bf4b[_0x477d('0xcf')]){_0x353c65=_[_0x477d('0x10a')](_0x13bf4b[_0x477d('0x125c')],{'name':_0x13bf4b[_0x477d('0xcf')]['agent']});}if(_0x353c65&&!_['some'](_0x562f79,['id',_0x353c65['id']])){var _0x3c6b3e=_[_0x477d('0x10a')](_0x13bf4b['agents'],{'id':_0x353c65['id']});_0x3c6b3e['canSelect']=![];_0x562f79[_0x477d('0x3a7')](_0x3c6b3e);}_0x13bf4b[_0x477d('0x125c')]=_0x562f79;});}}})[_0x477d('0xf8')](function(_0x26af69){_0x2882e6[_0x477d('0x44a')]({'title':_0x26af69[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x26af69[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x26af69[_0x477d('0x44d')]:_0x477d('0x12b4'),'msg':_0x26af69[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x26af69[_0x477d('0x451')]):_0x26af69[_0x477d('0x453')]()});});function _0x330daa(){_0x13bf4b['errors']=[];var _0x1ccf50=[];if(_0x13bf4b[_0x477d('0xcf')]['type']&&_0x13bf4b[_0x477d('0xcf')][_0x477d('0x439')]['toLowerCase']()===_0x477d('0x127')&&_0x13bf4b[_0x477d('0xcf')][_0x477d('0x1294')]===_0x477d('0x12b5')){_0x13bf4b[_0x477d('0xcf')]['phone']=_0xcbfa59[_0x477d('0x12b6')]?(_0x13bf4b[_0x477d('0xcf')]['prefix']||'')+_0x477d('0x12b7')+_0xcbfa59[_0x477d('0x12b6')]+'}':(_0x13bf4b['agent']['prefix']||'')+_0x477d('0x12b8');if(_0xcbfa59[_0x477d('0x12b9')]!==_0x477d('0x496')){if(_0x13bf4b[_0x477d('0xcf')][_0x477d('0x43c')][_0x477d('0x477')](_0x477d('0x12ba'))<0x0){_0x13bf4b[_0x477d('0xcf')][_0x477d('0x43c')]+=_0x477d('0x12ba');}}else{_0x13bf4b['agent'][_0x477d('0x43c')]=_0x13bf4b[_0x477d('0xcf')][_0x477d('0x43c')][_0x477d('0x409')]('U(xcally-mixmonitor-context)','');}}var _0x50815f=_[_0x477d('0x10a')](_0x13bf4b['agents'],{'name':_0x13bf4b[_0x477d('0xcf')][_0x477d('0xcf')]});if(_0x50815f){_0x13bf4b[_0x477d('0xcf')][_0x477d('0x125b')]=_0x50815f['id'];}if(_0x13bf4b[_0x477d('0xcf')]['appType']&&_0x13bf4b[_0x477d('0xcf')]['appType']===_0x477d('0x9f6')){}else{switch((_0x13bf4b['agent'][_0x477d('0x1291')]||_0x13bf4b[_0x477d('0xcf')][_0x477d('0x1294')])[_0x477d('0x449')]()){case'set':_0x13bf4b[_0x477d('0xcf')]['appdata']=_0x13bf4b[_0x477d('0xcf')]['name']+'='+_0x13bf4b[_0x477d('0xcf')][_0x477d('0x3b6')];break;case _0x477d('0x9f6'):break;default:_0x1ccf50[0x0]=_0x13bf4b[_0x477d('0xcf')][_0x477d('0xcf')];_0x1ccf50[0x1]=_0x13bf4b['agent']['timeout'];_0x13bf4b[_0x477d('0xcf')][_0x477d('0x12ae')]=_0x1ccf50[_0x477d('0x3f6')](',');}}_0x295031(_0x13bf4b[_0x477d('0xcf')]);}function _0x295031(_0x4c6819){_0x717512[_0x477d('0x3bc')](_0x4c6819);}}}());(function(){'use strict';_0x3a52a7['$inject']=[_0x477d('0x384'),'$q','toasty',_0x477d('0x12ac'),_0x477d('0xb32'),'api',_0x477d('0x55'),_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x30'))[_0x477d('0x3ba')]('EditChatWebsiteAppamazonlexDialogController',_0x3a52a7);function _0x3a52a7(_0x13ff85,_0x32b280,_0x4da893,_0x3545f,_0x657a82,_0x3e0e80,_0x10c5fd,_0x1ca8b2){var _0x148fe1=this;_0x148fe1[_0x477d('0x3e5')]=_0x10c5fd[_0x477d('0x5c')]();_0x148fe1['errors']=[];_0x148fe1[_0x477d('0x49a')]=_0x477d('0x12ad')+(_0x3545f[_0x477d('0x1294')]||_0x3545f[_0x477d('0x1291')])[_0x477d('0x44f')]();_0x148fe1[_0x477d('0x127c')]=angular[_0x477d('0x6d9')](_0x3545f);_0x148fe1[_0x477d('0xd66')]=_0x1ca8b2;_0x148fe1[_0x477d('0xd68')]={};if(_0x148fe1[_0x477d('0x127c')]['appdata']){switch(_0x148fe1[_0x477d('0x127c')]['appType']?_0x148fe1[_0x477d('0x127c')]['appType']['toLowerCase']():_0x148fe1[_0x477d('0x127c')]['app'][_0x477d('0x449')]()){case _0x477d('0x9f6'):break;case _0x477d('0x1266'):var _0x189f53=_0x148fe1['amazonlex'][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x148fe1['amazonlex'][_0x477d('0x670')]=_0x189f53[0x0];_0x148fe1[_0x477d('0x127c')]['language']=_0x189f53[0x1];_0x148fe1[_0x477d('0x127c')]['welcomemessage']=_0x189f53[_0x477d('0x9cd')](0x2,_0x189f53[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x127c'):var _0x189f53=_0x148fe1[_0x477d('0x127c')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x148fe1[_0x477d('0x127c')]['accesskeyid']=_0x189f53[0x0];_0x148fe1[_0x477d('0x127c')][_0x477d('0x127e')]=_0x189f53[0x1];_0x148fe1['amazonlex'][_0x477d('0x127f')]=_0x189f53[0x2];_0x148fe1[_0x477d('0x127c')][_0x477d('0x1283')]=_0x189f53[0x3];_0x148fe1[_0x477d('0x127c')][_0x477d('0x127a')]=_0x189f53[_0x477d('0x9cd')](0x4,_0x189f53[_0x477d('0x79')])['join'](',');break;case _0x477d('0x1260'):var _0x189f53=_0x148fe1[_0x477d('0x127c')]['appdata'][_0x477d('0x472')](',');_0x148fe1[_0x477d('0x127c')][_0x477d('0x1261')]=isNaN(_0x189f53[0x0])?_0x189f53[0x0]:parseInt(_0x189f53[0x0],0xa);_0x148fe1['amazonlex'][_0x477d('0x41b')]=_0x189f53[_0x477d('0x9cd')](0x1,_0x189f53[_0x477d('0x79')])['join'](',');break;case _0x477d('0x452'):_0x148fe1['amazonlex'][_0x477d('0x41b')]=_0x148fe1[_0x477d('0x127c')][_0x477d('0x12ae')];break;case _0x477d('0x12af'):_0x148fe1[_0x477d('0x127c')][_0x477d('0x94')]=_0x148fe1['amazonlex'][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x0];_0x148fe1[_0x477d('0x127c')][_0x477d('0x3b6')]=_0x148fe1[_0x477d('0x127c')][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x1];break;case _0x477d('0x12b0'):_0x148fe1['amazonlex'][_0x477d('0xf13')]=_0x148fe1[_0x477d('0x127c')][_0x477d('0x12ae')];break;default:var _0x1b0cc7=_0x148fe1[_0x477d('0x127c')]['appdata'][_0x477d('0x472')](',');_0x148fe1[_0x477d('0x127c')][_0x477d('0x127d')]=_[_0x477d('0x3b2')](_0x1b0cc7[0x0])?_0x1b0cc7[0x0]:isNaN(_0x1b0cc7[0x0])?_0x1b0cc7[0x0]:parseInt(_0x1b0cc7[0x0],0xa);_0x148fe1['amazonlex'][_0x477d('0x127e')]=_[_0x477d('0x3b2')](_0x1b0cc7[0x1])?_0x1b0cc7[0x1]:isNaN(_0x1b0cc7[0x1])?_0x1b0cc7[0x1]:parseInt(_0x1b0cc7[0x1],0xa);_0x148fe1['amazonlex'][_0x477d('0x127f')]=_['isEmpty'](_0x1b0cc7[0x2])?_0x1b0cc7[0x2]:isNaN(_0x1b0cc7[0x2])?_0x1b0cc7[0x2]:parseInt(_0x1b0cc7[0x2],0xa);_0x148fe1['amazonlex'][_0x477d('0x1283')]=_['isEmpty'](_0x1b0cc7[0x3])?_0x1b0cc7[0x3]:isNaN(_0x1b0cc7[0x3])?_0x1b0cc7[0x3]:parseInt(_0x1b0cc7[0x3],0xa);_0x148fe1[_0x477d('0x127c')][_0x477d('0x127a')]=_[_0x477d('0x3b2')](_0x1b0cc7[0x4])?_0x1b0cc7[0x4]:isNaN(_0x1b0cc7[0x4])?_0x1b0cc7[0x4]:parseInt(_0x1b0cc7[0x4],0xa);}}else{_0x148fe1[_0x477d('0x127c')]['lexregion']=_0x477d('0x1171');}if(_0x148fe1[_0x477d('0x127c')][_0x477d('0x439')]&&_0x148fe1[_0x477d('0x127c')][_0x477d('0x439')][_0x477d('0x449')]()===_0x477d('0x127')&&_0x148fe1[_0x477d('0x127c')][_0x477d('0x1294')][_0x477d('0x449')]()==='outbounddial'){_0x148fe1['amazonlex'][_0x477d('0x6c0')]=_0x148fe1[_0x477d('0x127c')][_0x477d('0xf46')]?_0x148fe1['amazonlex'][_0x477d('0xf46')][_0x477d('0x472')]('$')[0x0]:undefined;_0x148fe1[_0x477d('0x127c')][_0x477d('0x69b')]=_0x148fe1[_0x477d('0x127c')]['callerID']?'CALLERID(all)='+_0x148fe1[_0x477d('0x127c')][_0x477d('0x12b2')]:undefined;}_0x148fe1[_0x477d('0x12bb')]=_0x5e4735;_0x148fe1[_0x477d('0x6bf')]=_0x2260bb;function _0x5e4735(){_0x148fe1[_0x477d('0xd67')]=[];var _0x155262=[];if(_0x148fe1[_0x477d('0x127c')][_0x477d('0x439')]&&_0x148fe1[_0x477d('0x127c')][_0x477d('0x439')][_0x477d('0x449')]()===_0x477d('0x127')&&_0x148fe1[_0x477d('0x127c')]['appType']===_0x477d('0x12b5')){_0x148fe1[_0x477d('0x127c')][_0x477d('0xf46')]=_0x657a82[_0x477d('0x12b6')]?(_0x148fe1[_0x477d('0x127c')][_0x477d('0x6c0')]||'')+_0x477d('0x12b7')+_0x657a82[_0x477d('0x12b6')]+'}':(_0x148fe1[_0x477d('0x127c')][_0x477d('0x6c0')]||'')+_0x477d('0x12b8');if(_0x657a82['recordingFormat']!==_0x477d('0x496')){if(_0x148fe1[_0x477d('0x127c')][_0x477d('0x43c')][_0x477d('0x477')](_0x477d('0x12ba'))<0x0){_0x148fe1[_0x477d('0x127c')][_0x477d('0x43c')]+=_0x477d('0x12ba');}}else{_0x148fe1[_0x477d('0x127c')][_0x477d('0x43c')]=_0x148fe1['amazonlex']['options'][_0x477d('0x409')](_0x477d('0x12ba'),'');}}if(_0x148fe1['amazonlex']['appType']&&_0x148fe1[_0x477d('0x127c')][_0x477d('0x1294')]===_0x477d('0x9f6')){}else{switch((_0x148fe1[_0x477d('0x127c')][_0x477d('0x1291')]||_0x148fe1['amazonlex']['appType'])[_0x477d('0x449')]()){case _0x477d('0x12af'):_0x148fe1[_0x477d('0x127c')][_0x477d('0x12ae')]=_0x148fe1[_0x477d('0x127c')][_0x477d('0x94')]+'='+_0x148fe1[_0x477d('0x127c')][_0x477d('0x3b6')];break;case _0x477d('0x9f6'):break;default:_0x155262[0x0]=_0x148fe1[_0x477d('0x127c')]['accesskeyid'];_0x155262[0x1]=_0x148fe1[_0x477d('0x127c')][_0x477d('0x127e')];_0x155262[0x2]=_0x148fe1[_0x477d('0x127c')][_0x477d('0x127f')];_0x155262[0x3]=_0x148fe1['amazonlex']['botname'];_0x155262[0x4]=_0x148fe1[_0x477d('0x127c')]['welcomemessage'];_0x148fe1['amazonlex'][_0x477d('0x12ae')]=_0x155262[_0x477d('0x3f6')](',');}}_0x2260bb(_0x148fe1[_0x477d('0x127c')]);}function _0x2260bb(_0x306596){_0x13ff85['hide'](_0x306596);}}}());(function(){'use strict';_0x58264c['$inject']=['$mdDialog','$q','toasty','chatWebsiteApp',_0x477d('0xb32'),'api',_0x477d('0x55'),'crudPermissions'];angular[_0x477d('0xb')](_0x477d('0x30'))[_0x477d('0x3ba')](_0x477d('0x12bc'),_0x58264c);function _0x58264c(_0x483a0d,_0x2f24d3,_0x4997e6,_0x2ba59e,_0x22bffe,_0x24dc93,_0x15485b,_0x317a53){var _0x1a1c2e=this;_0x1a1c2e[_0x477d('0x3e5')]=_0x15485b[_0x477d('0x5c')]();_0x1a1c2e[_0x477d('0xd67')]=[];_0x1a1c2e['title']=_0x477d('0x12ad')+(_0x2ba59e[_0x477d('0x1294')]||_0x2ba59e[_0x477d('0x1291')])['toUpperCase']();_0x1a1c2e[_0x477d('0x1260')]=angular[_0x477d('0x6d9')](_0x2ba59e);_0x1a1c2e['crudPermissions']=_0x317a53;_0x1a1c2e[_0x477d('0xd68')]={};if(_0x1a1c2e[_0x477d('0x1260')][_0x477d('0x12ae')]){switch(_0x1a1c2e['autoreply'][_0x477d('0x1294')]?_0x1a1c2e['autoreply']['appType']['toLowerCase']():_0x1a1c2e['autoreply'][_0x477d('0x1291')][_0x477d('0x449')]()){case _0x477d('0x9f6'):break;case _0x477d('0x1266'):var _0x17764e=_0x1a1c2e[_0x477d('0x1260')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x1a1c2e[_0x477d('0x1260')]['key']=_0x17764e[0x0];_0x1a1c2e['autoreply']['language']=_0x17764e[0x1];_0x1a1c2e[_0x477d('0x1260')][_0x477d('0x127a')]=_0x17764e[_0x477d('0x9cd')](0x2,_0x17764e[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case'amazonlex':var _0x17764e=_0x1a1c2e['autoreply'][_0x477d('0x12ae')]['split'](',');_0x1a1c2e['autoreply'][_0x477d('0x127d')]=_0x17764e[0x0];_0x1a1c2e[_0x477d('0x1260')][_0x477d('0x127e')]=_0x17764e[0x1];_0x1a1c2e[_0x477d('0x1260')][_0x477d('0x127f')]=_0x17764e[0x2];_0x1a1c2e[_0x477d('0x1260')][_0x477d('0x1283')]=_0x17764e[0x3];_0x1a1c2e[_0x477d('0x1260')][_0x477d('0x127a')]=_0x17764e[_0x477d('0x9cd')](0x4,_0x17764e[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x1260'):var _0x17764e=_0x1a1c2e[_0x477d('0x1260')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x1a1c2e[_0x477d('0x1260')][_0x477d('0x1261')]=isNaN(_0x17764e[0x0])?_0x17764e[0x0]:parseInt(_0x17764e[0x0],0xa);_0x1a1c2e[_0x477d('0x1260')]['text']=_0x17764e['slice'](0x1,_0x17764e['length'])[_0x477d('0x3f6')](',');break;case _0x477d('0x452'):_0x1a1c2e[_0x477d('0x1260')][_0x477d('0x41b')]=_0x1a1c2e[_0x477d('0x1260')][_0x477d('0x12ae')];break;case _0x477d('0x12af'):_0x1a1c2e[_0x477d('0x1260')]['name']=_0x1a1c2e[_0x477d('0x1260')][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x0];_0x1a1c2e[_0x477d('0x1260')][_0x477d('0x3b6')]=_0x1a1c2e[_0x477d('0x1260')][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x1];break;case _0x477d('0x12b0'):_0x1a1c2e['autoreply'][_0x477d('0xf13')]=_0x1a1c2e[_0x477d('0x1260')][_0x477d('0x12ae')];break;default:var _0x43f702=_0x1a1c2e[_0x477d('0x1260')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x1a1c2e['autoreply'][_0x477d('0x1261')]=_['isEmpty'](_0x43f702[0x0])?_0x43f702[0x0]:isNaN(_0x43f702[0x0])?_0x43f702[0x0]:parseInt(_0x43f702[0x0],0xa);_0x1a1c2e[_0x477d('0x1260')][_0x477d('0x41b')]=_[_0x477d('0x3b2')](_0x43f702[0x1])?_0x43f702[0x1]:isNaN(_0x43f702[0x1])?_0x43f702[0x1]:parseInt(_0x43f702[0x1],0xa);}}else{_0x1a1c2e[_0x477d('0x1260')]['times']=0x1;}if(_0x1a1c2e[_0x477d('0x1260')]['type']&&_0x1a1c2e['autoreply'][_0x477d('0x439')][_0x477d('0x449')]()===_0x477d('0x127')&&_0x1a1c2e[_0x477d('0x1260')]['appType']['toLowerCase']()===_0x477d('0x12b1')){_0x1a1c2e[_0x477d('0x1260')][_0x477d('0x6c0')]=_0x1a1c2e[_0x477d('0x1260')][_0x477d('0xf46')]?_0x1a1c2e[_0x477d('0x1260')][_0x477d('0xf46')][_0x477d('0x472')]('$')[0x0]:undefined;_0x1a1c2e[_0x477d('0x1260')]['callerId']=_0x1a1c2e[_0x477d('0x1260')]['callerID']?_0x477d('0x12b3')+_0x1a1c2e['autoreply'][_0x477d('0x12b2')]:undefined;}_0x1a1c2e[_0x477d('0x12bb')]=_0x4051e3;_0x1a1c2e[_0x477d('0x6bf')]=_0x52c530;function _0x4051e3(){_0x1a1c2e[_0x477d('0xd67')]=[];var _0x5b0b08=[];if(_0x1a1c2e[_0x477d('0x1260')]['type']&&_0x1a1c2e['autoreply']['type'][_0x477d('0x449')]()===_0x477d('0x127')&&_0x1a1c2e[_0x477d('0x1260')][_0x477d('0x1294')]===_0x477d('0x12b5')){_0x1a1c2e[_0x477d('0x1260')][_0x477d('0xf46')]=_0x22bffe[_0x477d('0x12b6')]?(_0x1a1c2e[_0x477d('0x1260')][_0x477d('0x6c0')]||'')+_0x477d('0x12b7')+_0x22bffe['cutdigits']+'}':(_0x1a1c2e['autoreply']['prefix']||'')+'${EXTEN}';if(_0x22bffe[_0x477d('0x12b9')]!==_0x477d('0x496')){if(_0x1a1c2e[_0x477d('0x1260')][_0x477d('0x43c')][_0x477d('0x477')](_0x477d('0x12ba'))<0x0){_0x1a1c2e[_0x477d('0x1260')]['options']+=_0x477d('0x12ba');}}else{_0x1a1c2e[_0x477d('0x1260')]['options']=_0x1a1c2e[_0x477d('0x1260')][_0x477d('0x43c')][_0x477d('0x409')](_0x477d('0x12ba'),'');}}if(_0x1a1c2e[_0x477d('0x1260')]['appType']&&_0x1a1c2e['autoreply'][_0x477d('0x1294')]===_0x477d('0x9f6')){}else{switch((_0x1a1c2e['autoreply']['app']||_0x1a1c2e['autoreply'][_0x477d('0x1294')])[_0x477d('0x449')]()){case _0x477d('0x12af'):_0x1a1c2e[_0x477d('0x1260')][_0x477d('0x12ae')]=_0x1a1c2e[_0x477d('0x1260')]['name']+'='+_0x1a1c2e[_0x477d('0x1260')]['value'];break;case _0x477d('0x9f6'):break;default:_0x5b0b08[0x0]=_0x1a1c2e['autoreply'][_0x477d('0x1261')];_0x5b0b08[0x1]=_0x1a1c2e[_0x477d('0x1260')][_0x477d('0x41b')];_0x1a1c2e['autoreply'][_0x477d('0x12ae')]=_0x5b0b08[_0x477d('0x3f6')](',');}}_0x52c530(_0x1a1c2e[_0x477d('0x1260')]);}function _0x52c530(_0x51311b){_0x483a0d[_0x477d('0x3bc')](_0x51311b);}}}());(function(){'use strict';_0x3d5c71[_0x477d('0xa')]=[_0x477d('0x384'),'$q',_0x477d('0x40e'),_0x477d('0x12ac'),_0x477d('0xb32'),_0x477d('0x386'),_0x477d('0x55'),_0x477d('0xd66')];angular['module']('app.chat')[_0x477d('0x3ba')]('EditChatWebsiteAppcloseDialogController',_0x3d5c71);function _0x3d5c71(_0x283f17,_0x2f7742,_0x2f78ba,_0x39dff6,_0x2b6b91,_0x48e4ff,_0x5c49da,_0x2c84b8){var _0x130e5e=this;_0x130e5e['currentUser']=_0x5c49da['getCurrentUser']();_0x130e5e[_0x477d('0xd67')]=[];_0x130e5e[_0x477d('0x49a')]='CHAT.EDIT_'+(_0x39dff6['appType']||_0x39dff6[_0x477d('0x1291')])[_0x477d('0x44f')]();_0x130e5e[_0x477d('0x539')]=angular[_0x477d('0x6d9')](_0x39dff6);_0x130e5e[_0x477d('0xd66')]=_0x2c84b8;_0x130e5e[_0x477d('0xd68')]={};if(_0x130e5e[_0x477d('0x539')]['appdata']){switch(_0x130e5e[_0x477d('0x539')][_0x477d('0x1294')]?_0x130e5e[_0x477d('0x539')][_0x477d('0x1294')][_0x477d('0x449')]():_0x130e5e[_0x477d('0x539')][_0x477d('0x1291')]['toLowerCase']()){case _0x477d('0x9f6'):break;case _0x477d('0x1266'):var _0x399ef0=_0x130e5e[_0x477d('0x539')]['appdata'][_0x477d('0x472')](',');_0x130e5e[_0x477d('0x539')][_0x477d('0x670')]=_0x399ef0[0x0];_0x130e5e['close'][_0x477d('0x1267')]=_0x399ef0[0x1];_0x130e5e[_0x477d('0x539')][_0x477d('0x127a')]=_0x399ef0[_0x477d('0x9cd')](0x2,_0x399ef0[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case'amazonlex':var _0x399ef0=_0x130e5e[_0x477d('0x539')][_0x477d('0x12ae')]['split'](',');_0x130e5e[_0x477d('0x539')][_0x477d('0x127d')]=_0x399ef0[0x0];_0x130e5e[_0x477d('0x539')]['secretaccesskey']=_0x399ef0[0x1];_0x130e5e[_0x477d('0x539')][_0x477d('0x127f')]=_0x399ef0[0x2];_0x130e5e[_0x477d('0x539')]['botname']=_0x399ef0[0x3];_0x130e5e[_0x477d('0x539')][_0x477d('0x127a')]=_0x399ef0['slice'](0x4,_0x399ef0['length'])[_0x477d('0x3f6')](',');break;case _0x477d('0x1260'):var _0x399ef0=_0x130e5e[_0x477d('0x539')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x130e5e[_0x477d('0x539')]['times']=isNaN(_0x399ef0[0x0])?_0x399ef0[0x0]:parseInt(_0x399ef0[0x0],0xa);_0x130e5e['close']['text']=_0x399ef0[_0x477d('0x9cd')](0x1,_0x399ef0['length'])['join'](',');break;case _0x477d('0x452'):_0x130e5e[_0x477d('0x539')][_0x477d('0x41b')]=_0x130e5e[_0x477d('0x539')][_0x477d('0x12ae')];break;case _0x477d('0x12af'):_0x130e5e['close']['name']=_0x130e5e[_0x477d('0x539')][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x0];_0x130e5e[_0x477d('0x539')][_0x477d('0x3b6')]=_0x130e5e[_0x477d('0x539')][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x1];break;case _0x477d('0x12b0'):_0x130e5e[_0x477d('0x539')]['project']=_0x130e5e[_0x477d('0x539')]['appdata'];break;default:var _0x5b5d7c=_0x130e5e[_0x477d('0x539')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x130e5e['close'][_0x477d('0xb95')]=_[_0x477d('0x3b2')](_0x5b5d7c[0x0])?_0x5b5d7c[0x0]:isNaN(_0x5b5d7c[0x0])?_0x5b5d7c[0x0]:parseInt(_0x5b5d7c[0x0],0xa);}}else{}if(_0x130e5e['close'][_0x477d('0x439')]&&_0x130e5e[_0x477d('0x539')][_0x477d('0x439')][_0x477d('0x449')]()===_0x477d('0x127')&&_0x130e5e[_0x477d('0x539')][_0x477d('0x1294')][_0x477d('0x449')]()==='outbounddial'){_0x130e5e[_0x477d('0x539')][_0x477d('0x6c0')]=_0x130e5e[_0x477d('0x539')][_0x477d('0xf46')]?_0x130e5e['close'][_0x477d('0xf46')][_0x477d('0x472')]('$')[0x0]:undefined;_0x130e5e[_0x477d('0x539')][_0x477d('0x69b')]=_0x130e5e[_0x477d('0x539')]['callerID']?_0x477d('0x12b3')+_0x130e5e[_0x477d('0x539')][_0x477d('0x12b2')]:undefined;}_0x130e5e[_0x477d('0x12bb')]=_0x568183;_0x130e5e[_0x477d('0x6bf')]=_0x4c2826;function _0x568183(){_0x130e5e['errors']=[];var _0x3817d1=[];if(_0x130e5e[_0x477d('0x539')][_0x477d('0x439')]&&_0x130e5e[_0x477d('0x539')][_0x477d('0x439')]['toLowerCase']()==='outbound'&&_0x130e5e[_0x477d('0x539')][_0x477d('0x1294')]===_0x477d('0x12b5')){_0x130e5e['close'][_0x477d('0xf46')]=_0x2b6b91[_0x477d('0x12b6')]?(_0x130e5e[_0x477d('0x539')][_0x477d('0x6c0')]||'')+_0x477d('0x12b7')+_0x2b6b91[_0x477d('0x12b6')]+'}':(_0x130e5e[_0x477d('0x539')]['prefix']||'')+_0x477d('0x12b8');if(_0x2b6b91[_0x477d('0x12b9')]!==_0x477d('0x496')){if(_0x130e5e[_0x477d('0x539')][_0x477d('0x43c')][_0x477d('0x477')]('U(xcally-mixmonitor-context)')<0x0){_0x130e5e[_0x477d('0x539')][_0x477d('0x43c')]+=_0x477d('0x12ba');}}else{_0x130e5e['close'][_0x477d('0x43c')]=_0x130e5e['close'][_0x477d('0x43c')][_0x477d('0x409')]('U(xcally-mixmonitor-context)','');}}if(_0x130e5e[_0x477d('0x539')][_0x477d('0x1294')]&&_0x130e5e[_0x477d('0x539')]['appType']===_0x477d('0x9f6')){}else{switch((_0x130e5e[_0x477d('0x539')]['app']||_0x130e5e[_0x477d('0x539')][_0x477d('0x1294')])[_0x477d('0x449')]()){case _0x477d('0x12af'):_0x130e5e[_0x477d('0x539')][_0x477d('0x12ae')]=_0x130e5e['close']['name']+'='+_0x130e5e[_0x477d('0x539')][_0x477d('0x3b6')];break;case _0x477d('0x9f6'):break;default:_0x3817d1[0x0]=_0x130e5e['close'][_0x477d('0xb95')];_0x130e5e['close'][_0x477d('0x12ae')]=_0x3817d1[_0x477d('0x3f6')](',');}}_0x4c2826(_0x130e5e['close']);}function _0x4c2826(_0x42fd9a){_0x283f17['hide'](_0x42fd9a);}}}());(function(){'use strict';_0x28667a[_0x477d('0xa')]=[_0x477d('0x384'),'$q',_0x477d('0x40e'),_0x477d('0x12ac'),_0x477d('0xb32'),_0x477d('0x386'),_0x477d('0x55'),_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x30'))[_0x477d('0x3ba')]('EditChatWebsiteAppdialogflowDialogController',_0x28667a);function _0x28667a(_0x1e19f6,_0x4f08ab,_0x54e198,_0x45ffa3,_0xd2221b,_0x5c21ae,_0x3f179c,_0x39b3d0){var _0x54982d=this;_0x54982d[_0x477d('0x3e5')]=_0x3f179c[_0x477d('0x5c')]();_0x54982d[_0x477d('0xd67')]=[];_0x54982d[_0x477d('0x49a')]=_0x477d('0x12ad')+(_0x45ffa3[_0x477d('0x1294')]||_0x45ffa3['app'])[_0x477d('0x44f')]();_0x54982d[_0x477d('0x1266')]=angular[_0x477d('0x6d9')](_0x45ffa3);_0x54982d['crudPermissions']=_0x39b3d0;_0x54982d[_0x477d('0xd68')]={};if(_0x54982d[_0x477d('0x1266')]['appdata']){switch(_0x54982d[_0x477d('0x1266')][_0x477d('0x1294')]?_0x54982d[_0x477d('0x1266')][_0x477d('0x1294')][_0x477d('0x449')]():_0x54982d[_0x477d('0x1266')][_0x477d('0x1291')][_0x477d('0x449')]()){case _0x477d('0x9f6'):break;case _0x477d('0x1266'):var _0x560c77=_0x54982d[_0x477d('0x1266')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x54982d[_0x477d('0x1266')][_0x477d('0x670')]=_0x560c77[0x0];_0x54982d['dialogflow'][_0x477d('0x1267')]=_0x560c77[0x1];_0x54982d[_0x477d('0x1266')][_0x477d('0x127a')]=_0x560c77[_0x477d('0x9cd')](0x2,_0x560c77[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x127c'):var _0x560c77=_0x54982d[_0x477d('0x1266')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x54982d[_0x477d('0x1266')]['accesskeyid']=_0x560c77[0x0];_0x54982d[_0x477d('0x1266')][_0x477d('0x127e')]=_0x560c77[0x1];_0x54982d[_0x477d('0x1266')][_0x477d('0x127f')]=_0x560c77[0x2];_0x54982d['dialogflow'][_0x477d('0x1283')]=_0x560c77[0x3];_0x54982d['dialogflow'][_0x477d('0x127a')]=_0x560c77['slice'](0x4,_0x560c77[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x1260'):var _0x560c77=_0x54982d['dialogflow'][_0x477d('0x12ae')]['split'](',');_0x54982d[_0x477d('0x1266')][_0x477d('0x1261')]=isNaN(_0x560c77[0x0])?_0x560c77[0x0]:parseInt(_0x560c77[0x0],0xa);_0x54982d[_0x477d('0x1266')][_0x477d('0x41b')]=_0x560c77[_0x477d('0x9cd')](0x1,_0x560c77['length'])[_0x477d('0x3f6')](',');break;case _0x477d('0x452'):_0x54982d[_0x477d('0x1266')][_0x477d('0x41b')]=_0x54982d[_0x477d('0x1266')][_0x477d('0x12ae')];break;case _0x477d('0x12af'):_0x54982d[_0x477d('0x1266')][_0x477d('0x94')]=_0x54982d[_0x477d('0x1266')]['appdata']['split']('=')[0x0];_0x54982d[_0x477d('0x1266')][_0x477d('0x3b6')]=_0x54982d['dialogflow'][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x1];break;case _0x477d('0x12b0'):_0x54982d[_0x477d('0x1266')][_0x477d('0xf13')]=_0x54982d[_0x477d('0x1266')][_0x477d('0x12ae')];break;default:var _0x4d3622=_0x54982d[_0x477d('0x1266')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x54982d[_0x477d('0x1266')][_0x477d('0x670')]=_[_0x477d('0x3b2')](_0x4d3622[0x0])?_0x4d3622[0x0]:isNaN(_0x4d3622[0x0])?_0x4d3622[0x0]:parseInt(_0x4d3622[0x0],0xa);_0x54982d[_0x477d('0x1266')][_0x477d('0x1267')]=_[_0x477d('0x3b2')](_0x4d3622[0x1])?_0x4d3622[0x1]:isNaN(_0x4d3622[0x1])?_0x4d3622[0x1]:parseInt(_0x4d3622[0x1],0xa);_0x54982d[_0x477d('0x1266')]['welcomemessage']=_[_0x477d('0x3b2')](_0x4d3622[0x2])?_0x4d3622[0x2]:isNaN(_0x4d3622[0x2])?_0x4d3622[0x2]:parseInt(_0x4d3622[0x2],0xa);}}else{_0x54982d[_0x477d('0x1266')]['language']='en';}if(_0x54982d[_0x477d('0x1266')]['type']&&_0x54982d['dialogflow'][_0x477d('0x439')]['toLowerCase']()===_0x477d('0x127')&&_0x54982d[_0x477d('0x1266')][_0x477d('0x1294')][_0x477d('0x449')]()===_0x477d('0x12b1')){_0x54982d[_0x477d('0x1266')][_0x477d('0x6c0')]=_0x54982d[_0x477d('0x1266')][_0x477d('0xf46')]?_0x54982d[_0x477d('0x1266')][_0x477d('0xf46')]['split']('$')[0x0]:undefined;_0x54982d[_0x477d('0x1266')][_0x477d('0x69b')]=_0x54982d[_0x477d('0x1266')]['callerID']?_0x477d('0x12b3')+_0x54982d[_0x477d('0x1266')][_0x477d('0x12b2')]:undefined;}_0x54982d[_0x477d('0x12bb')]=_0x409d8b;_0x54982d[_0x477d('0x6bf')]=_0x55b2d7;function _0x409d8b(){_0x54982d[_0x477d('0xd67')]=[];var _0x3eab18=[];if(_0x54982d[_0x477d('0x1266')]['type']&&_0x54982d[_0x477d('0x1266')]['type'][_0x477d('0x449')]()===_0x477d('0x127')&&_0x54982d[_0x477d('0x1266')]['appType']==='outboundDial'){_0x54982d[_0x477d('0x1266')]['phone']=_0xd2221b[_0x477d('0x12b6')]?(_0x54982d['dialogflow'][_0x477d('0x6c0')]||'')+_0x477d('0x12b7')+_0xd2221b[_0x477d('0x12b6')]+'}':(_0x54982d[_0x477d('0x1266')][_0x477d('0x6c0')]||'')+_0x477d('0x12b8');if(_0xd2221b['recordingFormat']!==_0x477d('0x496')){if(_0x54982d['dialogflow'][_0x477d('0x43c')][_0x477d('0x477')](_0x477d('0x12ba'))<0x0){_0x54982d[_0x477d('0x1266')][_0x477d('0x43c')]+=_0x477d('0x12ba');}}else{_0x54982d['dialogflow']['options']=_0x54982d[_0x477d('0x1266')][_0x477d('0x43c')][_0x477d('0x409')](_0x477d('0x12ba'),'');}}if(_0x54982d['dialogflow']['appType']&&_0x54982d[_0x477d('0x1266')]['appType']==='custom'){}else{switch((_0x54982d[_0x477d('0x1266')][_0x477d('0x1291')]||_0x54982d[_0x477d('0x1266')]['appType'])[_0x477d('0x449')]()){case _0x477d('0x12af'):_0x54982d[_0x477d('0x1266')][_0x477d('0x12ae')]=_0x54982d[_0x477d('0x1266')][_0x477d('0x94')]+'='+_0x54982d[_0x477d('0x1266')][_0x477d('0x3b6')];break;case'custom':break;default:_0x3eab18[0x0]=_0x54982d['dialogflow'][_0x477d('0x670')];_0x3eab18[0x1]=_0x54982d[_0x477d('0x1266')][_0x477d('0x1267')];_0x3eab18[0x2]=_0x54982d[_0x477d('0x1266')][_0x477d('0x127a')];_0x54982d[_0x477d('0x1266')][_0x477d('0x12ae')]=_0x3eab18[_0x477d('0x3f6')](',');}}_0x55b2d7(_0x54982d[_0x477d('0x1266')]);}function _0x55b2d7(_0x1e2fd2){_0x1e19f6['hide'](_0x1e2fd2);}}}());(function(){'use strict';_0x56c2f7[_0x477d('0xa')]=[_0x477d('0x384'),'$q','toasty',_0x477d('0x12ac'),_0x477d('0xb32'),'api','Auth',_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x30'))[_0x477d('0x3ba')](_0x477d('0x12bd'),_0x56c2f7);function _0x56c2f7(_0x405bfa,_0x18c665,_0xedfb20,_0x199b92,_0x42bdbb,_0x183899,_0x3e5ab1,_0x125212){var _0x34ea40=this;_0x34ea40[_0x477d('0x3e5')]=_0x3e5ab1[_0x477d('0x5c')]();_0x34ea40[_0x477d('0xd67')]=[];_0x34ea40[_0x477d('0x49a')]='CHAT.EDIT_'+(_0x199b92[_0x477d('0x1294')]||_0x199b92[_0x477d('0x1291')])['toUpperCase']();_0x34ea40['gotoif']=angular[_0x477d('0x6d9')](_0x199b92);_0x34ea40[_0x477d('0xd66')]=_0x125212;_0x34ea40[_0x477d('0xd68')]={};if(_0x34ea40[_0x477d('0x1252')][_0x477d('0x12ae')]){switch(_0x34ea40['gotoif'][_0x477d('0x1294')]?_0x34ea40[_0x477d('0x1252')][_0x477d('0x1294')][_0x477d('0x449')]():_0x34ea40[_0x477d('0x1252')][_0x477d('0x1291')][_0x477d('0x449')]()){case _0x477d('0x9f6'):break;case _0x477d('0x1266'):var _0x487e7e=_0x34ea40[_0x477d('0x1252')][_0x477d('0x12ae')]['split'](',');_0x34ea40[_0x477d('0x1252')][_0x477d('0x670')]=_0x487e7e[0x0];_0x34ea40[_0x477d('0x1252')][_0x477d('0x1267')]=_0x487e7e[0x1];_0x34ea40['gotoif']['welcomemessage']=_0x487e7e[_0x477d('0x9cd')](0x2,_0x487e7e[_0x477d('0x79')])['join'](',');break;case'amazonlex':var _0x487e7e=_0x34ea40['gotoif'][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x34ea40[_0x477d('0x1252')][_0x477d('0x127d')]=_0x487e7e[0x0];_0x34ea40[_0x477d('0x1252')]['secretaccesskey']=_0x487e7e[0x1];_0x34ea40['gotoif'][_0x477d('0x127f')]=_0x487e7e[0x2];_0x34ea40['gotoif']['botname']=_0x487e7e[0x3];_0x34ea40['gotoif'][_0x477d('0x127a')]=_0x487e7e[_0x477d('0x9cd')](0x4,_0x487e7e['length'])[_0x477d('0x3f6')](',');break;case _0x477d('0x1260'):var _0x487e7e=_0x34ea40['gotoif'][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x34ea40[_0x477d('0x1252')][_0x477d('0x1261')]=isNaN(_0x487e7e[0x0])?_0x487e7e[0x0]:parseInt(_0x487e7e[0x0],0xa);_0x34ea40[_0x477d('0x1252')][_0x477d('0x41b')]=_0x487e7e[_0x477d('0x9cd')](0x1,_0x487e7e['length'])['join'](',');break;case _0x477d('0x452'):_0x34ea40['gotoif']['text']=_0x34ea40[_0x477d('0x1252')][_0x477d('0x12ae')];break;case'set':_0x34ea40[_0x477d('0x1252')][_0x477d('0x94')]=_0x34ea40['gotoif']['appdata']['split']('=')[0x0];_0x34ea40['gotoif'][_0x477d('0x3b6')]=_0x34ea40[_0x477d('0x1252')]['appdata'][_0x477d('0x472')]('=')[0x1];break;case'agi':_0x34ea40[_0x477d('0x1252')][_0x477d('0xf13')]=_0x34ea40[_0x477d('0x1252')]['appdata'];break;default:var _0x476d2d=_0x34ea40[_0x477d('0x1252')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x34ea40['gotoif'][_0x477d('0xb98')]=_[_0x477d('0x3b2')](_0x476d2d[0x0])?_0x476d2d[0x0]:isNaN(_0x476d2d[0x0])?_0x476d2d[0x0]:parseInt(_0x476d2d[0x0],0xa);_0x34ea40[_0x477d('0x1252')][_0x477d('0x1254')]=_[_0x477d('0x3b2')](_0x476d2d[0x1])?_0x476d2d[0x1]:isNaN(_0x476d2d[0x1])?_0x476d2d[0x1]:parseInt(_0x476d2d[0x1],0xa);_0x34ea40[_0x477d('0x1252')][_0x477d('0x1255')]=_['isEmpty'](_0x476d2d[0x2])?_0x476d2d[0x2]:isNaN(_0x476d2d[0x2])?_0x476d2d[0x2]:parseInt(_0x476d2d[0x2],0xa);}}else{}if(_0x34ea40[_0x477d('0x1252')][_0x477d('0x439')]&&_0x34ea40[_0x477d('0x1252')]['type']['toLowerCase']()===_0x477d('0x127')&&_0x34ea40[_0x477d('0x1252')]['appType'][_0x477d('0x449')]()===_0x477d('0x12b1')){_0x34ea40[_0x477d('0x1252')][_0x477d('0x6c0')]=_0x34ea40[_0x477d('0x1252')]['phone']?_0x34ea40[_0x477d('0x1252')]['phone'][_0x477d('0x472')]('$')[0x0]:undefined;_0x34ea40[_0x477d('0x1252')][_0x477d('0x69b')]=_0x34ea40['gotoif'][_0x477d('0x12b2')]?_0x477d('0x12b3')+_0x34ea40['gotoif'][_0x477d('0x12b2')]:undefined;}_0x34ea40[_0x477d('0x12bb')]=_0x239b48;_0x34ea40[_0x477d('0x6bf')]=_0x43f48d;function _0x239b48(){_0x34ea40[_0x477d('0xd67')]=[];var _0x25b1c2=[];if(_0x34ea40[_0x477d('0x1252')][_0x477d('0x439')]&&_0x34ea40[_0x477d('0x1252')][_0x477d('0x439')]['toLowerCase']()===_0x477d('0x127')&&_0x34ea40[_0x477d('0x1252')][_0x477d('0x1294')]===_0x477d('0x12b5')){_0x34ea40['gotoif'][_0x477d('0xf46')]=_0x42bdbb['cutdigits']?(_0x34ea40[_0x477d('0x1252')][_0x477d('0x6c0')]||'')+_0x477d('0x12b7')+_0x42bdbb['cutdigits']+'}':(_0x34ea40[_0x477d('0x1252')][_0x477d('0x6c0')]||'')+_0x477d('0x12b8');if(_0x42bdbb[_0x477d('0x12b9')]!==_0x477d('0x496')){if(_0x34ea40['gotoif'][_0x477d('0x43c')][_0x477d('0x477')](_0x477d('0x12ba'))<0x0){_0x34ea40['gotoif'][_0x477d('0x43c')]+=_0x477d('0x12ba');}}else{_0x34ea40[_0x477d('0x1252')]['options']=_0x34ea40[_0x477d('0x1252')][_0x477d('0x43c')][_0x477d('0x409')](_0x477d('0x12ba'),'');}}if(_0x34ea40[_0x477d('0x1252')][_0x477d('0x1294')]&&_0x34ea40[_0x477d('0x1252')]['appType']===_0x477d('0x9f6')){}else{switch((_0x34ea40[_0x477d('0x1252')][_0x477d('0x1291')]||_0x34ea40[_0x477d('0x1252')][_0x477d('0x1294')])[_0x477d('0x449')]()){case _0x477d('0x12af'):_0x34ea40['gotoif'][_0x477d('0x12ae')]=_0x34ea40[_0x477d('0x1252')][_0x477d('0x94')]+'='+_0x34ea40['gotoif'][_0x477d('0x3b6')];break;case _0x477d('0x9f6'):break;default:_0x25b1c2[0x0]=_0x34ea40[_0x477d('0x1252')][_0x477d('0xb98')];_0x25b1c2[0x1]=_0x34ea40[_0x477d('0x1252')][_0x477d('0x1254')];_0x25b1c2[0x2]=_0x34ea40[_0x477d('0x1252')][_0x477d('0x1255')];_0x34ea40[_0x477d('0x1252')][_0x477d('0x12ae')]=_0x25b1c2[_0x477d('0x3f6')](',');}}_0x43f48d(_0x34ea40[_0x477d('0x1252')]);}function _0x43f48d(_0x129bca){_0x405bfa['hide'](_0x129bca);}}}());(function(){'use strict';_0x70b2be[_0x477d('0xa')]=[_0x477d('0x384'),'$q',_0x477d('0x40e'),_0x477d('0x12ac'),_0x477d('0xb32'),_0x477d('0x386'),_0x477d('0x55'),'crudPermissions'];angular[_0x477d('0xb')](_0x477d('0x30'))[_0x477d('0x3ba')]('EditChatWebsiteAppgotopDialogController',_0x70b2be);function _0x70b2be(_0x328615,_0x3ff85e,_0x1350e0,_0x3a62cd,_0x15cd04,_0x56de1c,_0x4c81ba,_0x2fca3a){var _0x61557b=this;_0x61557b[_0x477d('0x3e5')]=_0x4c81ba[_0x477d('0x5c')]();_0x61557b[_0x477d('0xd67')]=[];_0x61557b['title']=_0x477d('0x12ad')+(_0x3a62cd[_0x477d('0x1294')]||_0x3a62cd['app'])[_0x477d('0x44f')]();_0x61557b['gotop']=angular[_0x477d('0x6d9')](_0x3a62cd);_0x61557b[_0x477d('0xd66')]=_0x2fca3a;_0x61557b[_0x477d('0xd68')]={};if(_0x61557b[_0x477d('0x124f')][_0x477d('0x12ae')]){switch(_0x61557b[_0x477d('0x124f')][_0x477d('0x1294')]?_0x61557b[_0x477d('0x124f')][_0x477d('0x1294')][_0x477d('0x449')]():_0x61557b[_0x477d('0x124f')]['app'][_0x477d('0x449')]()){case _0x477d('0x9f6'):break;case _0x477d('0x1266'):var _0x51f0e7=_0x61557b[_0x477d('0x124f')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x61557b[_0x477d('0x124f')][_0x477d('0x670')]=_0x51f0e7[0x0];_0x61557b[_0x477d('0x124f')][_0x477d('0x1267')]=_0x51f0e7[0x1];_0x61557b[_0x477d('0x124f')]['welcomemessage']=_0x51f0e7[_0x477d('0x9cd')](0x2,_0x51f0e7[_0x477d('0x79')])['join'](',');break;case'amazonlex':var _0x51f0e7=_0x61557b[_0x477d('0x124f')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x61557b[_0x477d('0x124f')][_0x477d('0x127d')]=_0x51f0e7[0x0];_0x61557b[_0x477d('0x124f')][_0x477d('0x127e')]=_0x51f0e7[0x1];_0x61557b[_0x477d('0x124f')][_0x477d('0x127f')]=_0x51f0e7[0x2];_0x61557b[_0x477d('0x124f')][_0x477d('0x1283')]=_0x51f0e7[0x3];_0x61557b[_0x477d('0x124f')]['welcomemessage']=_0x51f0e7['slice'](0x4,_0x51f0e7[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case'autoreply':var _0x51f0e7=_0x61557b[_0x477d('0x124f')][_0x477d('0x12ae')]['split'](',');_0x61557b[_0x477d('0x124f')][_0x477d('0x1261')]=isNaN(_0x51f0e7[0x0])?_0x51f0e7[0x0]:parseInt(_0x51f0e7[0x0],0xa);_0x61557b[_0x477d('0x124f')][_0x477d('0x41b')]=_0x51f0e7[_0x477d('0x9cd')](0x1,_0x51f0e7['length'])[_0x477d('0x3f6')](',');break;case'message':_0x61557b[_0x477d('0x124f')][_0x477d('0x41b')]=_0x61557b['gotop']['appdata'];break;case'set':_0x61557b[_0x477d('0x124f')][_0x477d('0x94')]=_0x61557b[_0x477d('0x124f')]['appdata']['split']('=')[0x0];_0x61557b[_0x477d('0x124f')][_0x477d('0x3b6')]=_0x61557b['gotop']['appdata'][_0x477d('0x472')]('=')[0x1];break;case _0x477d('0x12b0'):_0x61557b[_0x477d('0x124f')][_0x477d('0xf13')]=_0x61557b['gotop']['appdata'];break;default:var _0x11dede=_0x61557b[_0x477d('0x124f')]['appdata'][_0x477d('0x472')](',');_0x61557b[_0x477d('0x124f')][_0x477d('0x1243')]=_[_0x477d('0x3b2')](_0x11dede[0x0])?_0x11dede[0x0]:isNaN(_0x11dede[0x0])?_0x11dede[0x0]:parseInt(_0x11dede[0x0],0xa);}}else{}if(_0x61557b[_0x477d('0x124f')][_0x477d('0x439')]&&_0x61557b['gotop'][_0x477d('0x439')][_0x477d('0x449')]()==='outbound'&&_0x61557b[_0x477d('0x124f')][_0x477d('0x1294')][_0x477d('0x449')]()===_0x477d('0x12b1')){_0x61557b[_0x477d('0x124f')][_0x477d('0x6c0')]=_0x61557b[_0x477d('0x124f')][_0x477d('0xf46')]?_0x61557b[_0x477d('0x124f')][_0x477d('0xf46')]['split']('$')[0x0]:undefined;_0x61557b['gotop'][_0x477d('0x69b')]=_0x61557b[_0x477d('0x124f')][_0x477d('0x12b2')]?_0x477d('0x12b3')+_0x61557b['gotop']['callerID']:undefined;}_0x61557b[_0x477d('0x12bb')]=_0x246ec4;_0x61557b[_0x477d('0x6bf')]=_0x17df1b;function _0x246ec4(){_0x61557b[_0x477d('0xd67')]=[];var _0x3e8997=[];if(_0x61557b[_0x477d('0x124f')]['type']&&_0x61557b[_0x477d('0x124f')][_0x477d('0x439')][_0x477d('0x449')]()==='outbound'&&_0x61557b[_0x477d('0x124f')][_0x477d('0x1294')]===_0x477d('0x12b5')){_0x61557b[_0x477d('0x124f')][_0x477d('0xf46')]=_0x15cd04[_0x477d('0x12b6')]?(_0x61557b['gotop']['prefix']||'')+_0x477d('0x12b7')+_0x15cd04[_0x477d('0x12b6')]+'}':(_0x61557b[_0x477d('0x124f')][_0x477d('0x6c0')]||'')+_0x477d('0x12b8');if(_0x15cd04[_0x477d('0x12b9')]!=='none'){if(_0x61557b[_0x477d('0x124f')][_0x477d('0x43c')][_0x477d('0x477')]('U(xcally-mixmonitor-context)')<0x0){_0x61557b['gotop'][_0x477d('0x43c')]+=_0x477d('0x12ba');}}else{_0x61557b[_0x477d('0x124f')][_0x477d('0x43c')]=_0x61557b['gotop']['options'][_0x477d('0x409')](_0x477d('0x12ba'),'');}}if(_0x61557b[_0x477d('0x124f')][_0x477d('0x1294')]&&_0x61557b['gotop'][_0x477d('0x1294')]===_0x477d('0x9f6')){}else{switch((_0x61557b[_0x477d('0x124f')]['app']||_0x61557b['gotop'][_0x477d('0x1294')])[_0x477d('0x449')]()){case _0x477d('0x12af'):_0x61557b['gotop'][_0x477d('0x12ae')]=_0x61557b[_0x477d('0x124f')][_0x477d('0x94')]+'='+_0x61557b['gotop'][_0x477d('0x3b6')];break;case _0x477d('0x9f6'):break;default:_0x3e8997[0x0]=_0x61557b[_0x477d('0x124f')][_0x477d('0x1243')];_0x61557b[_0x477d('0x124f')][_0x477d('0x12ae')]=_0x3e8997[_0x477d('0x3f6')](',');}}_0x17df1b(_0x61557b['gotop']);}function _0x17df1b(_0x54e943){_0x328615[_0x477d('0x3bc')](_0x54e943);}}}());(function(){'use strict';_0x4dd05c[_0x477d('0xa')]=[_0x477d('0x3c4'),_0x477d('0x384'),_0x477d('0x6d3'),_0x477d('0xd14'),_0x477d('0x79c'),_0x477d('0x1298'),'toasty',_0x477d('0x386'),'Auth',_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x2f'))[_0x477d('0x3ba')](_0x477d('0x1297'),_0x4dd05c);function _0x4dd05c(_0x33c8f7,_0x4755f8,_0x3f1ceb,_0x480674,_0x3842ec,_0x455ea5,_0x33c90b,_0x2e30fc,_0x416564,_0x3fbc67){var _0x1562af=this;_0x1562af[_0x477d('0x3e5')]=_0x416564[_0x477d('0x5c')]();_0x1562af[_0x477d('0xd67')]=[];_0x1562af[_0x477d('0x49a')]=_0x477d('0x12be');_0x1562af['interval']=angular['copy'](_0x3842ec);_0x1562af[_0x477d('0x1298')]=_0x455ea5;_0x1562af[_0x477d('0x12bf')]=![];_0x1562af[_0x477d('0x12c0')]=[_0x477d('0x1247'),'custom',_0x477d('0xa02')];_0x1562af[_0x477d('0xd66')]=_0x3fbc67;_0x1562af[_0x477d('0x12c1')]=_0x480674[_0x477d('0x12c2')]();_0x1562af[_0x477d('0x12c3')]=_0x480674[_0x477d('0x12c4')]();_0x1562af[_0x477d('0x12c5')]=_0x480674['getMonthName']();_0x1562af[_0x477d('0x12c6')]=_0x480674[_0x477d('0x12c7')]();if(!_0x1562af['interval']){_0x1562af[_0x477d('0x79c')]={'interval':_0x477d('0x1249')};_0x1562af[_0x477d('0x439')]=_0x477d('0x1247');_0x1562af['title']='TOOLS.NEW_INTERVAL';_0x1562af[_0x477d('0x12bf')]=!![];}else{if(_0x1562af['interval']['interval']!=='*,*,*,*'){_0x1562af[_0x477d('0x439')]='custom';var _0x44f28e=_0x1562af[_0x477d('0x79c')][_0x477d('0x79c')][_0x477d('0x472')](',');var _0x40e6c8=_0x44f28e[0x0];var _0x204590=_0x44f28e[0x1];var _0x4f5b50=_0x44f28e[0x2];var _0x476d21=_0x44f28e[0x3];if(_0x40e6c8!=='*'){var _0x1e74e8=_0x40e6c8[_0x477d('0x472')]('-')[0x0];var _0x231931=_0x40e6c8['split']('-')[0x1];var _0x225608;_0x225608=new Date();_0x225608[_0x477d('0x12c8')](Number(_0x1e74e8['split'](':')[0x0]));_0x225608['setMinutes'](Number(_0x1e74e8['split'](':')[0x1]));_0x1562af['timeRangeFrom']=_0x225608;_0x225608=new Date();_0x225608['setHours'](Number(_0x231931[_0x477d('0x472')](':')[0x0]));_0x225608[_0x477d('0x12c9')](Number(_0x231931[_0x477d('0x472')](':')[0x1]));_0x1562af[_0x477d('0x12ca')]=_0x225608;}if(_0x204590!=='*'){_0x1562af['dayOfWeekFrom']=_0x204590['split']('-')[0x0];_0x1562af[_0x477d('0x12cb')]=_0x204590[_0x477d('0x472')]('-')[0x1];}if(_0x4f5b50!=='*'){_0x1562af['monthDayFrom']=_0x4f5b50['split']('-')[0x0];_0x1562af['monthDayTo']=_0x4f5b50[_0x477d('0x472')]('-')[0x1];}if(_0x476d21!=='*'){_0x1562af[_0x477d('0x12cc')]=_0x476d21[_0x477d('0x472')]('-')[0x0];_0x1562af[_0x477d('0x12cd')]=_0x476d21[_0x477d('0x472')]('-')[0x1];}}else{_0x1562af[_0x477d('0x439')]=_0x477d('0x1247');}}if(_0x33c8f7[_0x477d('0x37e')]['id']&&!_0x1562af[_0x477d('0x79c')][_0x477d('0xf55')]){_0x1562af[_0x477d('0x79c')]['IntervalId']=_0x33c8f7[_0x477d('0x37e')]['id'];}if(_0x1562af[_0x477d('0x79c')][_0x477d('0xf8c')]&&_0x1562af[_0x477d('0x79c')][_0x477d('0xf55')]){_0x1562af['type']=_0x477d('0xa02');}_0x1562af[_0x477d('0x12ce')]=_0x513460;_0x1562af['saveInterval']=_0x22dad5;_0x1562af['closeDialog']=_0x423c9e;if(_0x1562af[_0x477d('0x79c')][_0x477d('0xf55')]){_0x416564[_0x477d('0x56')](_0x477d('0x5f'))?_0x2e30fc[_0x477d('0x79c')][_0x477d('0x376')]({'fields':_0x477d('0x12cf'),'IntervalId':'null','nolimit':!![]})[_0x477d('0x38b')]['then'](function(_0x5f221d){_0x1562af[_0x477d('0x1298')]=_0x5f221d[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x10b284){_0x33c90b[_0x477d('0x44a')]({'title':_0x10b284['status']?'API:'+_0x10b284['status']+'\x20-\x20'+_0x10b284[_0x477d('0x44d')]:'SYSTEM:GET_INTERVALS','msg':_0x10b284[_0x477d('0x451')]?JSON['stringify'](_0x10b284[_0x477d('0x451')]):_0x10b284[_0x477d('0x453')]()});}):_0x2e30fc[_0x477d('0x79c')][_0x477d('0x376')]({'fields':_0x477d('0x12cf'),'IntervalId':_0x477d('0xea'),'nolimit':!![]})['$promise'][_0x477d('0x76')](function(_0x2507af){_0x1562af[_0x477d('0x1298')]=_0x2507af['rows']||[];})[_0x477d('0x76')](function(){return _0x2e30fc[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x1562af[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x3ec})[_0x477d('0x38b')];})['then'](function(_0x2fb2dc){var _0x5a4cf5=_0x2fb2dc&&_0x2fb2dc['rows']?_0x2fb2dc[_0x477d('0xf2')][0x0]:null;if(!_0x5a4cf5){_0x1562af['intervals']=[];}else{if(!_0x5a4cf5['autoAssociation']){return _0x2e30fc[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x5a4cf5['id']})[_0x477d('0x38b')]['then'](function(_0x237810){var _0x4342e0=_0x237810&&_0x237810[_0x477d('0xf2')]?_0x237810[_0x477d('0xf2')]:[];var _0x43aab6=[];var _0x3a862d=null;if(_0x1562af[_0x477d('0x79c')]){_0x3a862d=_[_0x477d('0x10a')](_0x1562af[_0x477d('0x1298')],{'name':_0x1562af[_0x477d('0x79c')][_0x477d('0xf8c')]});}if(_0x3a862d&&!_['some'](_0x4342e0,[_0x477d('0x3af'),_0x3a862d['id']])){_0x1562af['intervals'][_0x477d('0x3b1')](function(_0x530d5b){if(_0x530d5b['id']===_0x3a862d['id']){_0x530d5b[_0x477d('0xf8b')]=![];_0x43aab6[_0x477d('0x3a7')](_0x530d5b);}});}_0x1562af[_0x477d('0x1298')]=_0x43aab6;});}}})['catch'](function(_0xeef41f){_0x33c90b[_0x477d('0x44a')]({'title':_0xeef41f['status']?'API:'+_0xeef41f['status']+_0x477d('0x44c')+_0xeef41f[_0x477d('0x44d')]:_0x477d('0x12d0'),'msg':_0xeef41f[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0xeef41f[_0x477d('0x451')]):_0xeef41f['toString']()});});}function _0x54e43c(){switch(_0x1562af[_0x477d('0x439')]){case _0x477d('0x1247'):case _0x477d('0xa02'):return _0x477d('0x1249');case _0x477d('0x9f6'):var _0x5a3a42=[];if(_0x1562af[_0x477d('0x12d1')]!=='*'&&_0x1562af['timeRangeFrom']&&_0x1562af[_0x477d('0x12ca')]){var _0x25aaa4=(_0x1562af[_0x477d('0x12d1')][_0x477d('0x12d2')]()<0xa?'0':'')+_0x1562af[_0x477d('0x12d1')][_0x477d('0x12d2')]()+':'+((_0x1562af[_0x477d('0x12d1')][_0x477d('0x12d3')]()<0xa?'0':'')+_0x1562af[_0x477d('0x12d1')][_0x477d('0x12d3')]());var _0x4e0ff1=(_0x1562af[_0x477d('0x12ca')][_0x477d('0x12d2')]()<0xa?'0':'')+_0x1562af[_0x477d('0x12ca')]['getHours']()+':'+((_0x1562af[_0x477d('0x12ca')][_0x477d('0x12d3')]()<0xa?'0':'')+_0x1562af[_0x477d('0x12ca')][_0x477d('0x12d3')]());_0x5a3a42[_0x477d('0x3a7')](_0x25aaa4+'-'+_0x4e0ff1);}else{_0x5a3a42[_0x477d('0x3a7')]('*');}if(_0x1562af[_0x477d('0x12d4')]){if(_0x1562af[_0x477d('0x12cb')]){_0x5a3a42[_0x477d('0x3a7')](_0x1562af['dayOfWeekFrom']+'-'+_0x1562af[_0x477d('0x12cb')]);}else{_0x5a3a42[_0x477d('0x3a7')](_0x1562af[_0x477d('0x12d4')]);}}else{_0x5a3a42[_0x477d('0x3a7')]('*');}if(_0x1562af[_0x477d('0x12d5')]){if(_0x1562af[_0x477d('0x12d6')]){_0x5a3a42[_0x477d('0x3a7')](_0x1562af[_0x477d('0x12d5')]+'-'+_0x1562af[_0x477d('0x12d6')]);}else{_0x5a3a42[_0x477d('0x3a7')](_0x1562af[_0x477d('0x12d5')]);}}else{_0x5a3a42[_0x477d('0x3a7')]('*');}if(_0x1562af[_0x477d('0x12cc')]){if(_0x1562af[_0x477d('0x12cd')]){_0x5a3a42['push'](_0x1562af[_0x477d('0x12cc')]+'-'+_0x1562af[_0x477d('0x12cd')]);}else{_0x5a3a42[_0x477d('0x3a7')](_0x1562af[_0x477d('0x12cc')]);}}else{_0x5a3a42[_0x477d('0x3a7')]('*');}return _0x5a3a42[_0x477d('0x3f6')]();}}function _0x513460(){_0x1562af[_0x477d('0xd67')]=[];_0x1562af[_0x477d('0x79c')][_0x477d('0x79c')]=_0x54e43c();_0x2e30fc[_0x477d('0x79c')][_0x477d('0xd70')](_0x1562af[_0x477d('0x79c')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x1fee6f){_0x1562af['intervals'][_0x477d('0x3a7')](_0x1fee6f);_0x33c90b[_0x477d('0x485')]({'title':_0x477d('0x12d7'),'msg':_0x1562af['interval'][_0x477d('0x94')]?_0x1562af[_0x477d('0x79c')][_0x477d('0x94')]+_0x477d('0xd73'):''});_0x423c9e();})[_0x477d('0xf8')](function(_0x4740bb){console[_0x477d('0x44a')](_0x4740bb);_0x1562af[_0x477d('0xd67')]=_0x4740bb[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x4740bb['toString'](),'type':_0x477d('0x12d8')}];});}function _0x22dad5(){_0x1562af[_0x477d('0xd67')]=[];_0x1562af[_0x477d('0x79c')][_0x477d('0x79c')]=_0x54e43c();if(_0x1562af[_0x477d('0x79c')][_0x477d('0xf55')]){_0x1562af[_0x477d('0x439')]!==_0x477d('0xa02')&&(_0x1562af[_0x477d('0x79c')][_0x477d('0xf8c')]=null);_0x423c9e(_0x1562af[_0x477d('0x79c')]);}else{_0x2e30fc[_0x477d('0x79c')][_0x477d('0x710')]({'id':_0x1562af[_0x477d('0x79c')]['id']},_0x1562af[_0x477d('0x79c')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x33a3fd){var _0x5e17d9=_[_0x477d('0x10a')](_0x1562af[_0x477d('0x1298')],{'id':_0x33a3fd['id']});if(_0x5e17d9){_[_0x477d('0xef')](_0x5e17d9,_0x33a3fd);}_0x33c90b[_0x477d('0x485')]({'title':_0x477d('0x12d9'),'msg':_0x477d('0x12da')});_0x423c9e();})[_0x477d('0xf8')](function(_0xa2985e){console[_0x477d('0x44a')](_0xa2985e);_0x1562af[_0x477d('0xd67')]=_0xa2985e[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0xa2985e[_0x477d('0x453')](),'type':_0x477d('0x12db')}];});}}function _0x423c9e(_0x322949){_0x4755f8[_0x477d('0x3bc')](_0x322949);}}}());(function(){'use strict';_0x48e2e3[_0x477d('0xa')]=[_0x477d('0x384'),'$q',_0x477d('0x40e'),_0x477d('0x12ac'),_0x477d('0xb32'),_0x477d('0x386'),_0x477d('0x55'),_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x30'))[_0x477d('0x3ba')](_0x477d('0x12dc'),_0x48e2e3);function _0x48e2e3(_0x5efe26,_0xda84fe,_0x32ccc5,_0x23ee77,_0x56add0,_0x1aa354,_0x2c701c,_0x24eff1){var _0x188f73=this;_0x188f73[_0x477d('0x3e5')]=_0x2c701c['getCurrentUser']();_0x188f73['errors']=[];_0x188f73[_0x477d('0x49a')]='CHAT.EDIT_'+(_0x23ee77['appType']||_0x23ee77[_0x477d('0x1291')])[_0x477d('0x44f')]();_0x188f73['noop']=angular[_0x477d('0x6d9')](_0x23ee77);_0x188f73[_0x477d('0xd66')]=_0x24eff1;_0x188f73[_0x477d('0xd68')]={};if(_0x188f73[_0x477d('0x3c6')][_0x477d('0x12ae')]){switch(_0x188f73[_0x477d('0x3c6')]['appType']?_0x188f73['noop'][_0x477d('0x1294')][_0x477d('0x449')]():_0x188f73[_0x477d('0x3c6')]['app'][_0x477d('0x449')]()){case _0x477d('0x9f6'):break;case'dialogflow':var _0x45c624=_0x188f73['noop']['appdata'][_0x477d('0x472')](',');_0x188f73[_0x477d('0x3c6')][_0x477d('0x670')]=_0x45c624[0x0];_0x188f73['noop'][_0x477d('0x1267')]=_0x45c624[0x1];_0x188f73[_0x477d('0x3c6')][_0x477d('0x127a')]=_0x45c624[_0x477d('0x9cd')](0x2,_0x45c624[_0x477d('0x79')])['join'](',');break;case'amazonlex':var _0x45c624=_0x188f73[_0x477d('0x3c6')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x188f73['noop'][_0x477d('0x127d')]=_0x45c624[0x0];_0x188f73[_0x477d('0x3c6')]['secretaccesskey']=_0x45c624[0x1];_0x188f73[_0x477d('0x3c6')]['lexregion']=_0x45c624[0x2];_0x188f73[_0x477d('0x3c6')]['botname']=_0x45c624[0x3];_0x188f73['noop']['welcomemessage']=_0x45c624[_0x477d('0x9cd')](0x4,_0x45c624[_0x477d('0x79')])['join'](',');break;case _0x477d('0x1260'):var _0x45c624=_0x188f73[_0x477d('0x3c6')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x188f73[_0x477d('0x3c6')]['times']=isNaN(_0x45c624[0x0])?_0x45c624[0x0]:parseInt(_0x45c624[0x0],0xa);_0x188f73['noop'][_0x477d('0x41b')]=_0x45c624[_0x477d('0x9cd')](0x1,_0x45c624[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x452'):_0x188f73[_0x477d('0x3c6')][_0x477d('0x41b')]=_0x188f73[_0x477d('0x3c6')][_0x477d('0x12ae')];break;case'set':_0x188f73[_0x477d('0x3c6')][_0x477d('0x94')]=_0x188f73[_0x477d('0x3c6')][_0x477d('0x12ae')]['split']('=')[0x0];_0x188f73[_0x477d('0x3c6')]['value']=_0x188f73[_0x477d('0x3c6')]['appdata'][_0x477d('0x472')]('=')[0x1];break;case _0x477d('0x12b0'):_0x188f73[_0x477d('0x3c6')][_0x477d('0xf13')]=_0x188f73['noop']['appdata'];break;default:var _0x2e53ab=_0x188f73[_0x477d('0x3c6')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x188f73[_0x477d('0x3c6')][_0x477d('0x3b6')]=_[_0x477d('0x3b2')](_0x2e53ab[0x0])?_0x2e53ab[0x0]:isNaN(_0x2e53ab[0x0])?_0x2e53ab[0x0]:parseInt(_0x2e53ab[0x0],0xa);}}else{}if(_0x188f73[_0x477d('0x3c6')][_0x477d('0x439')]&&_0x188f73['noop'][_0x477d('0x439')][_0x477d('0x449')]()==='outbound'&&_0x188f73[_0x477d('0x3c6')][_0x477d('0x1294')]['toLowerCase']()===_0x477d('0x12b1')){_0x188f73[_0x477d('0x3c6')][_0x477d('0x6c0')]=_0x188f73[_0x477d('0x3c6')][_0x477d('0xf46')]?_0x188f73[_0x477d('0x3c6')][_0x477d('0xf46')][_0x477d('0x472')]('$')[0x0]:undefined;_0x188f73[_0x477d('0x3c6')][_0x477d('0x69b')]=_0x188f73[_0x477d('0x3c6')][_0x477d('0x12b2')]?_0x477d('0x12b3')+_0x188f73['noop']['callerID']:undefined;}_0x188f73[_0x477d('0x12bb')]=_0x4c2c6c;_0x188f73[_0x477d('0x6bf')]=_0x16b181;function _0x4c2c6c(){_0x188f73[_0x477d('0xd67')]=[];var _0x132875=[];if(_0x188f73[_0x477d('0x3c6')]['type']&&_0x188f73[_0x477d('0x3c6')][_0x477d('0x439')][_0x477d('0x449')]()===_0x477d('0x127')&&_0x188f73['noop'][_0x477d('0x1294')]===_0x477d('0x12b5')){_0x188f73[_0x477d('0x3c6')][_0x477d('0xf46')]=_0x56add0['cutdigits']?(_0x188f73[_0x477d('0x3c6')][_0x477d('0x6c0')]||'')+_0x477d('0x12b7')+_0x56add0[_0x477d('0x12b6')]+'}':(_0x188f73['noop'][_0x477d('0x6c0')]||'')+_0x477d('0x12b8');if(_0x56add0[_0x477d('0x12b9')]!==_0x477d('0x496')){if(_0x188f73[_0x477d('0x3c6')]['options'][_0x477d('0x477')](_0x477d('0x12ba'))<0x0){_0x188f73[_0x477d('0x3c6')][_0x477d('0x43c')]+='U(xcally-mixmonitor-context)';}}else{_0x188f73[_0x477d('0x3c6')]['options']=_0x188f73[_0x477d('0x3c6')]['options'][_0x477d('0x409')](_0x477d('0x12ba'),'');}}if(_0x188f73[_0x477d('0x3c6')][_0x477d('0x1294')]&&_0x188f73[_0x477d('0x3c6')][_0x477d('0x1294')]==='custom'){}else{switch((_0x188f73[_0x477d('0x3c6')][_0x477d('0x1291')]||_0x188f73[_0x477d('0x3c6')][_0x477d('0x1294')])[_0x477d('0x449')]()){case _0x477d('0x12af'):_0x188f73[_0x477d('0x3c6')][_0x477d('0x12ae')]=_0x188f73[_0x477d('0x3c6')]['name']+'='+_0x188f73[_0x477d('0x3c6')][_0x477d('0x3b6')];break;case _0x477d('0x9f6'):break;default:_0x132875[0x0]=_0x188f73['noop'][_0x477d('0x3b6')];_0x188f73[_0x477d('0x3c6')][_0x477d('0x12ae')]=_0x132875[_0x477d('0x3f6')](',');}}_0x16b181(_0x188f73['noop']);}function _0x16b181(_0x17f4c0){_0x5efe26['hide'](_0x17f4c0);}}}());(function(){'use strict';_0x24c58c[_0x477d('0xa')]=[_0x477d('0x384'),'$q',_0x477d('0x40e'),'chatWebsiteApp','chatWebsite',_0x477d('0x386'),_0x477d('0x55'),_0x477d('0xd66')];angular[_0x477d('0xb')]('app.chat')['controller'](_0x477d('0x12dd'),_0x24c58c);function _0x24c58c(_0x4734c1,_0x37b0c1,_0x4adb8e,_0x130bf2,_0x28197b,_0x156bcc,_0x12d90e,_0xdbe484){var _0x3048f7=this;_0x3048f7['currentUser']=_0x12d90e[_0x477d('0x5c')]();_0x3048f7[_0x477d('0xd67')]=[];_0x3048f7['title']=_0x477d('0x12ad')+(_0x130bf2['appType']||_0x130bf2[_0x477d('0x1291')])['toUpperCase']();_0x3048f7[_0x477d('0x1256')]=angular[_0x477d('0x6d9')](_0x130bf2);_0x3048f7[_0x477d('0xd66')]=_0xdbe484;_0x3048f7[_0x477d('0xd68')]={};if(_0x3048f7[_0x477d('0x1256')][_0x477d('0x12ae')]){switch(_0x3048f7[_0x477d('0x1256')]['appType']?_0x3048f7[_0x477d('0x1256')][_0x477d('0x1294')][_0x477d('0x449')]():_0x3048f7[_0x477d('0x1256')][_0x477d('0x1291')][_0x477d('0x449')]()){case _0x477d('0x9f6'):break;case _0x477d('0x1266'):var _0x282e33=_0x3048f7['queue'][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x3048f7[_0x477d('0x1256')]['key']=_0x282e33[0x0];_0x3048f7[_0x477d('0x1256')]['language']=_0x282e33[0x1];_0x3048f7['queue'][_0x477d('0x127a')]=_0x282e33['slice'](0x2,_0x282e33[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x127c'):var _0x282e33=_0x3048f7['queue'][_0x477d('0x12ae')]['split'](',');_0x3048f7[_0x477d('0x1256')][_0x477d('0x127d')]=_0x282e33[0x0];_0x3048f7[_0x477d('0x1256')][_0x477d('0x127e')]=_0x282e33[0x1];_0x3048f7[_0x477d('0x1256')][_0x477d('0x127f')]=_0x282e33[0x2];_0x3048f7[_0x477d('0x1256')]['botname']=_0x282e33[0x3];_0x3048f7[_0x477d('0x1256')][_0x477d('0x127a')]=_0x282e33[_0x477d('0x9cd')](0x4,_0x282e33[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case'autoreply':var _0x282e33=_0x3048f7['queue'][_0x477d('0x12ae')]['split'](',');_0x3048f7[_0x477d('0x1256')]['times']=isNaN(_0x282e33[0x0])?_0x282e33[0x0]:parseInt(_0x282e33[0x0],0xa);_0x3048f7[_0x477d('0x1256')]['text']=_0x282e33[_0x477d('0x9cd')](0x1,_0x282e33[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x452'):_0x3048f7[_0x477d('0x1256')][_0x477d('0x41b')]=_0x3048f7[_0x477d('0x1256')]['appdata'];break;case'set':_0x3048f7[_0x477d('0x1256')]['name']=_0x3048f7[_0x477d('0x1256')]['appdata'][_0x477d('0x472')]('=')[0x0];_0x3048f7[_0x477d('0x1256')]['value']=_0x3048f7[_0x477d('0x1256')][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x1];break;case _0x477d('0x12b0'):_0x3048f7[_0x477d('0x1256')][_0x477d('0xf13')]=_0x3048f7['queue'][_0x477d('0x12ae')];break;default:var _0x18d33c=_0x3048f7['queue']['appdata']['split'](',');_0x3048f7['queue'][_0x477d('0x1256')]=_['isEmpty'](_0x18d33c[0x0])?_0x18d33c[0x0]:isNaN(_0x18d33c[0x0])?_0x18d33c[0x0]:parseInt(_0x18d33c[0x0],0xa);_0x3048f7[_0x477d('0x1256')][_0x477d('0x91b')]=_[_0x477d('0x3b2')](_0x18d33c[0x1])?_0x18d33c[0x1]:isNaN(_0x18d33c[0x1])?_0x18d33c[0x1]:parseInt(_0x18d33c[0x1],0xa);}}else{_0x3048f7[_0x477d('0x1256')][_0x477d('0x1256')]=0x12c;_0x3048f7[_0x477d('0x1256')][_0x477d('0x91b')]=0x12c;}if(_0x3048f7[_0x477d('0x1256')][_0x477d('0x439')]&&_0x3048f7[_0x477d('0x1256')]['type'][_0x477d('0x449')]()===_0x477d('0x127')&&_0x3048f7[_0x477d('0x1256')]['appType'][_0x477d('0x449')]()===_0x477d('0x12b1')){_0x3048f7[_0x477d('0x1256')][_0x477d('0x6c0')]=_0x3048f7[_0x477d('0x1256')]['phone']?_0x3048f7[_0x477d('0x1256')][_0x477d('0xf46')][_0x477d('0x472')]('$')[0x0]:undefined;_0x3048f7['queue'][_0x477d('0x69b')]=_0x3048f7[_0x477d('0x1256')][_0x477d('0x12b2')]?_0x477d('0x12b3')+_0x3048f7[_0x477d('0x1256')][_0x477d('0x12b2')]:undefined;}_0x3048f7['saveChatWebsiteApp']=_0x11e86e;_0x3048f7[_0x477d('0x6bf')]=_0x1238cc;_0x12d90e[_0x477d('0x56')](_0x477d('0x5f'))?_0x156bcc[_0x477d('0xe40')][_0x477d('0x376')]({'fields':_0x477d('0x12de'),'sort':_0x477d('0x94'),'nolimit':'true'})['$promise'][_0x477d('0x76')](function(_0xcaff67){_0x3048f7[_0x477d('0xf2f')]=_0xcaff67[_0x477d('0xf2')]||[];})['catch'](function(_0x5b13df){_0x4adb8e[_0x477d('0x44a')]({'title':_0x5b13df[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x5b13df[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x5b13df[_0x477d('0x44d')]:'SYSTEM:GET_QUEUES','msg':_0x5b13df[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x5b13df[_0x477d('0x451')]):_0x5b13df[_0x477d('0x453')]()});}):_0x156bcc['chatQueue'][_0x477d('0x376')]({'fields':'id,name,type','sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})['$promise'][_0x477d('0x76')](function(_0x5876be){_0x3048f7[_0x477d('0xf2f')]=_0x5876be[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x156bcc['userProfileSection'][_0x477d('0x376')]({'userProfileId':_0x3048f7['currentUser'][_0x477d('0x61')],'sectionId':0x1f5})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x3a4f65){var _0x5398da=_0x3a4f65&&_0x3a4f65[_0x477d('0xf2')]?_0x3a4f65[_0x477d('0xf2')][0x0]:null;if(!_0x5398da){var _0x504aa9=[];var _0x51bb1c=null;if(_0x3048f7['queue']){_0x51bb1c=_['find'](_0x3048f7[_0x477d('0xf2f')],{'name':_0x3048f7[_0x477d('0x1256')]['queue']});}for(var _0x10cf41=0x0;_0x10cf41<_0x3048f7[_0x477d('0xf2f')][_0x477d('0x79')];_0x10cf41++){if(_0x51bb1c&&_0x3048f7[_0x477d('0xf2f')][_0x10cf41]['id']===_0x51bb1c['id']){_0x3048f7[_0x477d('0xf2f')][_0x10cf41][_0x477d('0xf8b')]=![];_0x504aa9[_0x477d('0x3a7')](_0x3048f7[_0x477d('0xf2f')][_0x10cf41]);}}_0x3048f7['queues']=_0x504aa9;}else{if(!_0x5398da[_0x477d('0x3ad')]){return _0x156bcc[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x5398da['id']})['$promise']['then'](function(_0x4e5fef){var _0x32c4ad=_['map'](_0x4e5fef[_0x477d('0xf2')],function(_0x53547c){return _['find'](_0x3048f7['queues'],{'id':_0x53547c[_0x477d('0x3af')]});});var _0x220560=null;if(_0x3048f7[_0x477d('0x1256')]){_0x220560=_[_0x477d('0x10a')](_0x3048f7[_0x477d('0xf2f')],{'name':_0x3048f7['queue'][_0x477d('0x1256')]});}if(_0x220560&&!_[_0x477d('0x3ab')](_0x32c4ad,['id',_0x220560['id']])){var _0x563f20=_[_0x477d('0x10a')](_0x3048f7['queues'],{'id':_0x220560['id']});_0x563f20['canSelect']=![];_0x32c4ad[_0x477d('0x3a7')](_0x563f20);}_0x3048f7['queues']=_0x32c4ad;});}}})[_0x477d('0xf8')](function(_0x5edd54){_0x4adb8e[_0x477d('0x44a')]({'title':_0x5edd54[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x5edd54[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x5edd54['statusText']:_0x477d('0x12df'),'msg':_0x5edd54[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x5edd54[_0x477d('0x451')]):_0x5edd54['toString']()});});function _0x11e86e(){_0x3048f7[_0x477d('0xd67')]=[];var _0x42a46f=[];if(_0x3048f7['queue'][_0x477d('0x439')]&&_0x3048f7['queue']['type']['toLowerCase']()===_0x477d('0x127')&&_0x3048f7[_0x477d('0x1256')][_0x477d('0x1294')]==='outboundDial'){_0x3048f7['queue'][_0x477d('0xf46')]=_0x28197b[_0x477d('0x12b6')]?(_0x3048f7[_0x477d('0x1256')][_0x477d('0x6c0')]||'')+'${EXTEN:'+_0x28197b[_0x477d('0x12b6')]+'}':(_0x3048f7[_0x477d('0x1256')][_0x477d('0x6c0')]||'')+_0x477d('0x12b8');if(_0x28197b[_0x477d('0x12b9')]!==_0x477d('0x496')){if(_0x3048f7['queue']['options'][_0x477d('0x477')]('U(xcally-mixmonitor-context)')<0x0){_0x3048f7[_0x477d('0x1256')][_0x477d('0x43c')]+='U(xcally-mixmonitor-context)';}}else{_0x3048f7[_0x477d('0x1256')][_0x477d('0x43c')]=_0x3048f7['queue']['options']['replace'](_0x477d('0x12ba'),'');}}var _0x2853b8=_[_0x477d('0x10a')](_0x3048f7[_0x477d('0xf2f')],{'name':_0x3048f7[_0x477d('0x1256')][_0x477d('0x1256')]});if(_0x2853b8){_0x3048f7[_0x477d('0x1256')][_[_0x477d('0x12e0')](_0x477d('0xb6'))+'QueueId']=_0x2853b8['id'];}if(_0x3048f7['queue'][_0x477d('0x1294')]&&_0x3048f7['queue'][_0x477d('0x1294')]==='custom'){}else{switch((_0x3048f7['queue']['app']||_0x3048f7[_0x477d('0x1256')][_0x477d('0x1294')])[_0x477d('0x449')]()){case'set':_0x3048f7[_0x477d('0x1256')][_0x477d('0x12ae')]=_0x3048f7[_0x477d('0x1256')][_0x477d('0x94')]+'='+_0x3048f7[_0x477d('0x1256')][_0x477d('0x3b6')];break;case _0x477d('0x9f6'):break;default:_0x42a46f[0x0]=_0x3048f7['queue'][_0x477d('0x1256')];_0x42a46f[0x1]=_0x3048f7[_0x477d('0x1256')][_0x477d('0x91b')];_0x3048f7[_0x477d('0x1256')][_0x477d('0x12ae')]=_0x42a46f[_0x477d('0x3f6')](',');}}_0x1238cc(_0x3048f7['queue']);}function _0x1238cc(_0x1afc65){_0x4734c1[_0x477d('0x3bc')](_0x1afc65);}}}());(function(){'use strict';_0x433824[_0x477d('0xa')]=[_0x477d('0x384'),'$q',_0x477d('0x40e'),_0x477d('0x12ac'),'chatWebsite',_0x477d('0x386'),_0x477d('0x55'),_0x477d('0xd66')];angular['module'](_0x477d('0x30'))[_0x477d('0x3ba')]('EditChatWebsiteAppsystemDialogController',_0x433824);function _0x433824(_0xc2274e,_0x32fd18,_0x50bbca,_0x470354,_0x57d21d,_0x4cebf2,_0x200b1b,_0x262585){var _0xb0da93=this;_0xb0da93[_0x477d('0x3e5')]=_0x200b1b[_0x477d('0x5c')]();_0xb0da93[_0x477d('0xd67')]=[];_0xb0da93[_0x477d('0x49a')]=_0x477d('0x12ad')+(_0x470354['appType']||_0x470354[_0x477d('0x1291')])[_0x477d('0x44f')]();_0xb0da93[_0x477d('0xa41')]=angular['copy'](_0x470354);_0xb0da93[_0x477d('0xd66')]=_0x262585;_0xb0da93['hasModulePermissions']={};if(_0xb0da93[_0x477d('0xa41')][_0x477d('0x12ae')]){switch(_0xb0da93['system'][_0x477d('0x1294')]?_0xb0da93['system'][_0x477d('0x1294')][_0x477d('0x449')]():_0xb0da93[_0x477d('0xa41')][_0x477d('0x1291')][_0x477d('0x449')]()){case _0x477d('0x9f6'):break;case _0x477d('0x1266'):var _0x5b2163=_0xb0da93[_0x477d('0xa41')]['appdata'][_0x477d('0x472')](',');_0xb0da93['system'][_0x477d('0x670')]=_0x5b2163[0x0];_0xb0da93[_0x477d('0xa41')]['language']=_0x5b2163[0x1];_0xb0da93[_0x477d('0xa41')][_0x477d('0x127a')]=_0x5b2163['slice'](0x2,_0x5b2163[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x127c'):var _0x5b2163=_0xb0da93['system'][_0x477d('0x12ae')][_0x477d('0x472')](',');_0xb0da93['system'][_0x477d('0x127d')]=_0x5b2163[0x0];_0xb0da93[_0x477d('0xa41')][_0x477d('0x127e')]=_0x5b2163[0x1];_0xb0da93[_0x477d('0xa41')][_0x477d('0x127f')]=_0x5b2163[0x2];_0xb0da93[_0x477d('0xa41')]['botname']=_0x5b2163[0x3];_0xb0da93[_0x477d('0xa41')][_0x477d('0x127a')]=_0x5b2163[_0x477d('0x9cd')](0x4,_0x5b2163[_0x477d('0x79')])['join'](',');break;case'autoreply':var _0x5b2163=_0xb0da93[_0x477d('0xa41')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0xb0da93[_0x477d('0xa41')]['times']=isNaN(_0x5b2163[0x0])?_0x5b2163[0x0]:parseInt(_0x5b2163[0x0],0xa);_0xb0da93['system'][_0x477d('0x41b')]=_0x5b2163[_0x477d('0x9cd')](0x1,_0x5b2163[_0x477d('0x79')])['join'](',');break;case _0x477d('0x452'):_0xb0da93[_0x477d('0xa41')]['text']=_0xb0da93[_0x477d('0xa41')][_0x477d('0x12ae')];break;case _0x477d('0x12af'):_0xb0da93[_0x477d('0xa41')]['name']=_0xb0da93[_0x477d('0xa41')][_0x477d('0x12ae')]['split']('=')[0x0];_0xb0da93['system'][_0x477d('0x3b6')]=_0xb0da93[_0x477d('0xa41')][_0x477d('0x12ae')]['split']('=')[0x1];break;case _0x477d('0x12b0'):_0xb0da93[_0x477d('0xa41')][_0x477d('0xf13')]=_0xb0da93[_0x477d('0xa41')]['appdata'];break;default:var _0x56dddc=_0xb0da93[_0x477d('0xa41')]['appdata']['split'](',');_0xb0da93[_0x477d('0xa41')][_0x477d('0xf49')]=_[_0x477d('0x3b2')](_0x56dddc[0x0])?_0x56dddc[0x0]:isNaN(_0x56dddc[0x0])?_0x56dddc[0x0]:parseInt(_0x56dddc[0x0],0xa);_0xb0da93['system'][_0x477d('0xbb9')]=_[_0x477d('0x3b2')](_0x56dddc[0x1])?_0x56dddc[0x1]:isNaN(_0x56dddc[0x1])?_0x56dddc[0x1]:parseInt(_0x56dddc[0x1],0xa);}}else{_0xb0da93[_0x477d('0xa41')][_0x477d('0xbb9')]='';}if(_0xb0da93['system'][_0x477d('0x439')]&&_0xb0da93['system'][_0x477d('0x439')][_0x477d('0x449')]()===_0x477d('0x127')&&_0xb0da93[_0x477d('0xa41')][_0x477d('0x1294')][_0x477d('0x449')]()==='outbounddial'){_0xb0da93[_0x477d('0xa41')][_0x477d('0x6c0')]=_0xb0da93[_0x477d('0xa41')][_0x477d('0xf46')]?_0xb0da93['system'][_0x477d('0xf46')][_0x477d('0x472')]('$')[0x0]:undefined;_0xb0da93['system'][_0x477d('0x69b')]=_0xb0da93[_0x477d('0xa41')][_0x477d('0x12b2')]?_0x477d('0x12b3')+_0xb0da93[_0x477d('0xa41')][_0x477d('0x12b2')]:undefined;}_0xb0da93[_0x477d('0x12bb')]=_0x51c220;_0xb0da93[_0x477d('0x6bf')]=_0x230a0c;_0x200b1b[_0x477d('0x56')](_0x477d('0x5f'))?_0x4cebf2[_0x477d('0xbb9')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':'true'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x19ea4f){_0xb0da93[_0x477d('0xf31')]=_0x19ea4f['rows']||[];})['catch'](function(_0x204768){_0x50bbca[_0x477d('0x44a')]({'title':_0x204768[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x204768[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x204768[_0x477d('0x44d')]:_0x477d('0x12e1'),'msg':_0x204768['data']?JSON[_0x477d('0x3fb')](_0x204768[_0x477d('0x451')]):_0x204768[_0x477d('0x453')]()});}):_0x4cebf2[_0x477d('0xbb9')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x14b29a){_0xb0da93[_0x477d('0xf31')]=_0x14b29a['rows']||[];})['then'](function(){return _0x4cebf2[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0xb0da93['currentUser']['userProfileId'],'sectionId':0x3f4})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x5dc15c){var _0xde2c4c=_0x5dc15c&&_0x5dc15c[_0x477d('0xf2')]?_0x5dc15c[_0x477d('0xf2')][0x0]:null;if(!_0xde2c4c){var _0x7ff0ea=[];var _0x404e8e=null;if(_0xb0da93[_0x477d('0xa41')]){_0x404e8e=_[_0x477d('0x10a')](_0xb0da93[_0x477d('0xf31')],{'name':_0xb0da93[_0x477d('0xa41')]['variable']});}for(var _0x1f70ca=0x0;_0x1f70ca<_0xb0da93[_0x477d('0xf31')]['length'];_0x1f70ca++){if(_0x404e8e&&_0xb0da93['variables'][_0x1f70ca]['id']===_0x404e8e['id']){_0xb0da93[_0x477d('0xf31')][_0x1f70ca][_0x477d('0xf8b')]=![];_0x7ff0ea['push'](_0xb0da93['variables'][_0x1f70ca]);}}_0xb0da93['variables']=_0x7ff0ea;}else{if(!_0xde2c4c['autoAssociation']){return _0x4cebf2[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0xde2c4c['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x15c441){var _0x2b5bd8=_[_0x477d('0x3cb')](_0x15c441[_0x477d('0xf2')],function(_0x3608a0){return _['find'](_0xb0da93[_0x477d('0xf31')],{'id':_0x3608a0[_0x477d('0x3af')]});});var _0x57bcb0=null;if(_0xb0da93[_0x477d('0xa41')]){_0x57bcb0=_['find'](_0xb0da93[_0x477d('0xf31')],{'name':_0xb0da93[_0x477d('0xa41')][_0x477d('0xbb9')]});}if(_0x57bcb0&&!_[_0x477d('0x3ab')](_0x2b5bd8,['id',_0x57bcb0['id']])){var _0x2753c0=_['find'](_0xb0da93[_0x477d('0xf31')],{'id':_0x57bcb0['id']});_0x2753c0[_0x477d('0xf8b')]=![];_0x2b5bd8[_0x477d('0x3a7')](_0x2753c0);}_0xb0da93[_0x477d('0xf31')]=_0x2b5bd8;});}}})[_0x477d('0xf8')](function(_0x5ea767){_0x50bbca[_0x477d('0x44a')]({'title':_0x5ea767['status']?_0x477d('0x44b')+_0x5ea767[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x5ea767['statusText']:'SYSTEM:GETvariables','msg':_0x5ea767['data']?JSON['stringify'](_0x5ea767[_0x477d('0x451')]):_0x5ea767[_0x477d('0x453')]()});});function _0x51c220(){_0xb0da93[_0x477d('0xd67')]=[];var _0x451681=[];if(_0xb0da93[_0x477d('0xa41')][_0x477d('0x439')]&&_0xb0da93['system']['type'][_0x477d('0x449')]()==='outbound'&&_0xb0da93[_0x477d('0xa41')][_0x477d('0x1294')]===_0x477d('0x12b5')){_0xb0da93['system'][_0x477d('0xf46')]=_0x57d21d[_0x477d('0x12b6')]?(_0xb0da93[_0x477d('0xa41')]['prefix']||'')+_0x477d('0x12b7')+_0x57d21d[_0x477d('0x12b6')]+'}':(_0xb0da93['system'][_0x477d('0x6c0')]||'')+_0x477d('0x12b8');if(_0x57d21d['recordingFormat']!=='none'){if(_0xb0da93['system'][_0x477d('0x43c')][_0x477d('0x477')](_0x477d('0x12ba'))<0x0){_0xb0da93[_0x477d('0xa41')][_0x477d('0x43c')]+='U(xcally-mixmonitor-context)';}}else{_0xb0da93[_0x477d('0xa41')][_0x477d('0x43c')]=_0xb0da93[_0x477d('0xa41')]['options']['replace'](_0x477d('0x12ba'),'');}}if(_0xb0da93[_0x477d('0xa41')][_0x477d('0x1294')]&&_0xb0da93[_0x477d('0xa41')][_0x477d('0x1294')]===_0x477d('0x9f6')){}else{switch((_0xb0da93[_0x477d('0xa41')]['app']||_0xb0da93[_0x477d('0xa41')][_0x477d('0x1294')])[_0x477d('0x449')]()){case _0x477d('0x12af'):_0xb0da93[_0x477d('0xa41')]['appdata']=_0xb0da93['system'][_0x477d('0x94')]+'='+_0xb0da93[_0x477d('0xa41')][_0x477d('0x3b6')];break;case _0x477d('0x9f6'):break;default:_0x451681[0x0]=_0xb0da93[_0x477d('0xa41')][_0x477d('0xf49')];_0x451681[0x1]=_0xb0da93[_0x477d('0xa41')][_0x477d('0xbb9')];_0xb0da93[_0x477d('0xa41')][_0x477d('0x12ae')]=_0x451681[_0x477d('0x3f6')](',');}}_0x230a0c(_0xb0da93[_0x477d('0xa41')]);}function _0x230a0c(_0x1bbd9c){_0xc2274e[_0x477d('0x3bc')](_0x1bbd9c);}}}());(function(){'use strict';_0x17f86f[_0x477d('0xa')]=[_0x477d('0x384'),'$q',_0x477d('0x40e'),_0x477d('0x12ac'),_0x477d('0xb32'),_0x477d('0x386'),'Auth','crudPermissions'];angular[_0x477d('0xb')](_0x477d('0x30'))[_0x477d('0x3ba')](_0x477d('0x12e2'),_0x17f86f);function _0x17f86f(_0x15a6b4,_0x1b86ba,_0x2ff0ce,_0x14efcf,_0x1edbce,_0x3f13e9,_0xf5c369,_0x37bdcd){var _0x4cf9bc=this;_0x4cf9bc['currentUser']=_0xf5c369['getCurrentUser']();_0x4cf9bc[_0x477d('0xd67')]=[];_0x4cf9bc[_0x477d('0x49a')]=_0x477d('0x12ad')+(_0x14efcf[_0x477d('0x1294')]||_0x14efcf['app'])[_0x477d('0x44f')]();_0x4cf9bc[_0x477d('0xbb0')]=angular[_0x477d('0x6d9')](_0x14efcf);_0x4cf9bc[_0x477d('0xd66')]=_0x37bdcd;_0x4cf9bc[_0x477d('0xd68')]={};if(_0x4cf9bc[_0x477d('0xbb0')]['appdata']){switch(_0x4cf9bc[_0x477d('0xbb0')][_0x477d('0x1294')]?_0x4cf9bc[_0x477d('0xbb0')][_0x477d('0x1294')][_0x477d('0x449')]():_0x4cf9bc[_0x477d('0xbb0')]['app']['toLowerCase']()){case _0x477d('0x9f6'):break;case _0x477d('0x1266'):var _0x493f8d=_0x4cf9bc[_0x477d('0xbb0')]['appdata'][_0x477d('0x472')](',');_0x4cf9bc[_0x477d('0xbb0')][_0x477d('0x670')]=_0x493f8d[0x0];_0x4cf9bc[_0x477d('0xbb0')][_0x477d('0x1267')]=_0x493f8d[0x1];_0x4cf9bc['tag']['welcomemessage']=_0x493f8d['slice'](0x2,_0x493f8d[_0x477d('0x79')])['join'](',');break;case _0x477d('0x127c'):var _0x493f8d=_0x4cf9bc[_0x477d('0xbb0')][_0x477d('0x12ae')]['split'](',');_0x4cf9bc[_0x477d('0xbb0')][_0x477d('0x127d')]=_0x493f8d[0x0];_0x4cf9bc[_0x477d('0xbb0')][_0x477d('0x127e')]=_0x493f8d[0x1];_0x4cf9bc[_0x477d('0xbb0')][_0x477d('0x127f')]=_0x493f8d[0x2];_0x4cf9bc[_0x477d('0xbb0')][_0x477d('0x1283')]=_0x493f8d[0x3];_0x4cf9bc['tag'][_0x477d('0x127a')]=_0x493f8d['slice'](0x4,_0x493f8d[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case'autoreply':var _0x493f8d=_0x4cf9bc['tag'][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x4cf9bc[_0x477d('0xbb0')]['times']=isNaN(_0x493f8d[0x0])?_0x493f8d[0x0]:parseInt(_0x493f8d[0x0],0xa);_0x4cf9bc['tag']['text']=_0x493f8d[_0x477d('0x9cd')](0x1,_0x493f8d['length'])['join'](',');break;case'message':_0x4cf9bc[_0x477d('0xbb0')][_0x477d('0x41b')]=_0x4cf9bc[_0x477d('0xbb0')][_0x477d('0x12ae')];break;case _0x477d('0x12af'):_0x4cf9bc[_0x477d('0xbb0')][_0x477d('0x94')]=_0x4cf9bc['tag'][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x0];_0x4cf9bc[_0x477d('0xbb0')][_0x477d('0x3b6')]=_0x4cf9bc['tag'][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x1];break;case _0x477d('0x12b0'):_0x4cf9bc['tag']['project']=_0x4cf9bc[_0x477d('0xbb0')]['appdata'];break;default:var _0x1b12c3=_0x4cf9bc[_0x477d('0xbb0')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x4cf9bc[_0x477d('0xbb0')][_0x477d('0xbb0')]=_['isEmpty'](_0x1b12c3[0x0])?_0x1b12c3[0x0]:isNaN(_0x1b12c3[0x0])?_0x1b12c3[0x0]:parseInt(_0x1b12c3[0x0],0xa);}}else{}if(_0x4cf9bc[_0x477d('0xbb0')][_0x477d('0x439')]&&_0x4cf9bc[_0x477d('0xbb0')][_0x477d('0x439')][_0x477d('0x449')]()===_0x477d('0x127')&&_0x4cf9bc[_0x477d('0xbb0')][_0x477d('0x1294')][_0x477d('0x449')]()===_0x477d('0x12b1')){_0x4cf9bc['tag'][_0x477d('0x6c0')]=_0x4cf9bc[_0x477d('0xbb0')][_0x477d('0xf46')]?_0x4cf9bc[_0x477d('0xbb0')][_0x477d('0xf46')][_0x477d('0x472')]('$')[0x0]:undefined;_0x4cf9bc['tag']['callerId']=_0x4cf9bc[_0x477d('0xbb0')]['callerID']?_0x477d('0x12b3')+_0x4cf9bc['tag'][_0x477d('0x12b2')]:undefined;}_0x4cf9bc['saveChatWebsiteApp']=_0xb8948c;_0x4cf9bc[_0x477d('0x6bf')]=_0xf4151e;_0xf5c369[_0x477d('0x56')](_0x477d('0x5f'))?_0x3f13e9[_0x477d('0xbb0')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':'name','nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0xa018ea){_0x4cf9bc[_0x477d('0x1263')]=_0xa018ea['rows']||[];})[_0x477d('0xf8')](function(_0x34bbc6){_0x2ff0ce['error']({'title':_0x34bbc6[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x34bbc6[_0x477d('0x3c3')]+'\x20-\x20'+_0x34bbc6['statusText']:_0x477d('0x12e3'),'msg':_0x34bbc6[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x34bbc6[_0x477d('0x451')]):_0x34bbc6['toString']()});}):_0x3f13e9[_0x477d('0xbb0')]['get']({'fields':'id,name','sort':'name','nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')]['then'](function(_0x6b1efb){_0x4cf9bc[_0x477d('0x1263')]=_0x6b1efb[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x3f13e9[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x4cf9bc[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x3f0})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x1d9c99){var _0x3460ab=_0x1d9c99&&_0x1d9c99[_0x477d('0xf2')]?_0x1d9c99[_0x477d('0xf2')][0x0]:null;if(!_0x3460ab){var _0x1e79c7=[];var _0x46769a=null;if(_0x4cf9bc['tag']){_0x46769a=_[_0x477d('0x10a')](_0x4cf9bc[_0x477d('0x1263')],{'name':_0x4cf9bc[_0x477d('0xbb0')][_0x477d('0xbb0')]});}for(var _0xb55031=0x0;_0xb55031<_0x4cf9bc['tags']['length'];_0xb55031++){if(_0x46769a&&_0x4cf9bc['tags'][_0xb55031]['id']===_0x46769a['id']){_0x4cf9bc[_0x477d('0x1263')][_0xb55031][_0x477d('0xf8b')]=![];_0x1e79c7[_0x477d('0x3a7')](_0x4cf9bc[_0x477d('0x1263')][_0xb55031]);}}_0x4cf9bc[_0x477d('0x1263')]=_0x1e79c7;}else{if(!_0x3460ab[_0x477d('0x3ad')]){return _0x3f13e9[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x3460ab['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x26ebc5){var _0x63c354=_[_0x477d('0x3cb')](_0x26ebc5['rows'],function(_0x306cef){return _[_0x477d('0x10a')](_0x4cf9bc[_0x477d('0x1263')],{'id':_0x306cef[_0x477d('0x3af')]});});var _0x36d5cf=null;if(_0x4cf9bc[_0x477d('0xbb0')]){_0x36d5cf=_[_0x477d('0x10a')](_0x4cf9bc[_0x477d('0x1263')],{'name':_0x4cf9bc[_0x477d('0xbb0')]['tag']});}if(_0x36d5cf&&!_[_0x477d('0x3ab')](_0x63c354,['id',_0x36d5cf['id']])){var _0x5248bd=_[_0x477d('0x10a')](_0x4cf9bc['tags'],{'id':_0x36d5cf['id']});_0x5248bd[_0x477d('0xf8b')]=![];_0x63c354[_0x477d('0x3a7')](_0x5248bd);}_0x4cf9bc[_0x477d('0x1263')]=_0x63c354;});}}})[_0x477d('0xf8')](function(_0x3c8fe8){_0x2ff0ce['error']({'title':_0x3c8fe8[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x3c8fe8[_0x477d('0x3c3')]+'\x20-\x20'+_0x3c8fe8[_0x477d('0x44d')]:_0x477d('0x12e4'),'msg':_0x3c8fe8['data']?JSON[_0x477d('0x3fb')](_0x3c8fe8[_0x477d('0x451')]):_0x3c8fe8[_0x477d('0x453')]()});});function _0xb8948c(){_0x4cf9bc[_0x477d('0xd67')]=[];var _0x4d6b22=[];if(_0x4cf9bc[_0x477d('0xbb0')][_0x477d('0x439')]&&_0x4cf9bc['tag']['type'][_0x477d('0x449')]()===_0x477d('0x127')&&_0x4cf9bc[_0x477d('0xbb0')][_0x477d('0x1294')]===_0x477d('0x12b5')){_0x4cf9bc[_0x477d('0xbb0')]['phone']=_0x1edbce[_0x477d('0x12b6')]?(_0x4cf9bc[_0x477d('0xbb0')][_0x477d('0x6c0')]||'')+_0x477d('0x12b7')+_0x1edbce[_0x477d('0x12b6')]+'}':(_0x4cf9bc[_0x477d('0xbb0')][_0x477d('0x6c0')]||'')+_0x477d('0x12b8');if(_0x1edbce[_0x477d('0x12b9')]!==_0x477d('0x496')){if(_0x4cf9bc[_0x477d('0xbb0')][_0x477d('0x43c')]['indexOf']('U(xcally-mixmonitor-context)')<0x0){_0x4cf9bc['tag'][_0x477d('0x43c')]+=_0x477d('0x12ba');}}else{_0x4cf9bc[_0x477d('0xbb0')][_0x477d('0x43c')]=_0x4cf9bc[_0x477d('0xbb0')]['options'][_0x477d('0x409')](_0x477d('0x12ba'),'');}}var _0x48dd52=_[_0x477d('0x10a')](_0x4cf9bc['tags'],{'name':_0x4cf9bc['tag'][_0x477d('0xbb0')]});if(_0x48dd52){_0x4cf9bc[_0x477d('0xbb0')][_0x477d('0x1262')]=_0x48dd52['id'];}if(_0x4cf9bc[_0x477d('0xbb0')][_0x477d('0x1294')]&&_0x4cf9bc[_0x477d('0xbb0')][_0x477d('0x1294')]===_0x477d('0x9f6')){}else{switch((_0x4cf9bc[_0x477d('0xbb0')]['app']||_0x4cf9bc[_0x477d('0xbb0')]['appType'])[_0x477d('0x449')]()){case _0x477d('0x12af'):_0x4cf9bc[_0x477d('0xbb0')]['appdata']=_0x4cf9bc[_0x477d('0xbb0')][_0x477d('0x94')]+'='+_0x4cf9bc['tag'][_0x477d('0x3b6')];break;case _0x477d('0x9f6'):break;default:_0x4d6b22[0x0]=_0x4cf9bc[_0x477d('0xbb0')]['tag'];_0x4cf9bc['tag'][_0x477d('0x12ae')]=_0x4d6b22[_0x477d('0x3f6')](',');}}_0xf4151e(_0x4cf9bc['tag']);}function _0xf4151e(_0x4ca575){_0x15a6b4[_0x477d('0x3bc')](_0x4ca575);}}}());(function(){'use strict';_0x11af8a['$inject']=[_0x477d('0x385'),_0x477d('0x474'),_0x477d('0x3c4'),'$q',_0x477d('0x40d'),'$timeout',_0x477d('0x384'),'$document',_0x477d('0x40e'),_0x477d('0x386'),_0x477d('0x55')];angular[_0x477d('0xb')]('app.chat')[_0x477d('0x3ba')](_0x477d('0x12e5'),_0x11af8a);function _0x11af8a(_0x58c968,_0x7cdbff,_0x4389af,_0x48ce8b,_0xae5d,_0x4b26ea,_0x1630ae,_0x3abb8b,_0x3d21d5,_0x4bda3d,_0x262c7d){var _0x42c53e=this;_0x42c53e[_0x477d('0x3e5')]=_0x262c7d['getCurrentUser']();_0x42c53e[_0x477d('0xb32')]={};_0x42c53e[_0x477d('0x12e6')]={'count':0x0,'rows':[]};_0x42c53e[_0x477d('0x12e7')]=[];_0x42c53e[_0x477d('0xd66')];_0x42c53e[_0x477d('0x3ef')]={'fields':_0x477d('0x2aa'),'limit':0xa,'page':0x1};_0x42c53e[_0x477d('0x5ee')]=_0x153f57;_0x42c53e[_0x477d('0xe66')]=_0x285fa4;_0x42c53e[_0x477d('0x485')]=_0x786e80;_0x42c53e[_0x477d('0x12e8')]=_0x4d5fe0;_0x42c53e[_0x477d('0x12e9')]=_0x2948bd;_0x42c53e['exportSelectedChatWebsiteChatCannedAnswers']=_0x28b148;_0x42c53e['deleteChatWebsiteChatCannedAnswer']=_0x87338e;_0x42c53e['deleteSelectedChatWebsiteChatCannedAnswers']=_0x5be199;function _0x153f57(_0xc637c4,_0x2e6eba){_0x42c53e[_0x477d('0xb32')]=_0xc637c4;_0x42c53e[_0x477d('0xd66')]=typeof _0x2e6eba!=='undefined'?_0x2e6eba:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x42c53e['query'][_0x477d('0x1237')]=_0x42c53e[_0x477d('0xb32')]['id'];_0x42c53e['query']['id']=_0x42c53e['chatWebsite']['id'];_0x4d5fe0();}function _0x285fa4(_0x4fe051,_0x4f6d79){var _0x519f84=_0x1630ae[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x12ea'))[_0x477d('0xd92')](_0x477d('0xd93')+(_0x4fe051[_0x477d('0x94')]||_0x4fe051['id']&&_['upperFirst'](_0x477d('0x12eb'))+_0x4fe051['id']||_0x477d('0x12ec'))+_0x477d('0xd94')+_0x477d('0xd95'))[_0x477d('0x687')]('delete\x20chatCannedAnswer')[_0x477d('0xd7c')](_0x4f6d79)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x1630ae[_0x477d('0x395')](_0x519f84)['then'](function(){_0x87338e(_0x4fe051);},function(){console['log']('CANCEL');});}function _0x786e80(_0x16141f){_0x42c53e[_0x477d('0x12e6')]=_0x16141f||{'count':0x0,'rows':[]};}function _0x4d5fe0(){_0x42c53e[_0x477d('0x3ef')]['offset']=(_0x42c53e[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x42c53e[_0x477d('0x3ef')]['limit'];_0x42c53e[_0x477d('0x553')]=_0x4bda3d['chatWebsite'][_0x477d('0x12ed')](_0x42c53e[_0x477d('0x3ef')],_0x786e80)[_0x477d('0x38b')];}function _0x2948bd(_0x38fd46,_0x43213a){_0x1630ae[_0x477d('0x395')]({'controller':'CreateOrEditChatCannedAnswerDialogController','controllerAs':'vm','templateUrl':_0x477d('0x12ee'),'parent':angular[_0x477d('0x398')](_0x3abb8b[_0x477d('0x399')]),'targetEvent':_0x38fd46,'clickOutsideToClose':!![],'locals':{'chatWebsite':_0x42c53e['chatWebsite'],'chatCannedAnswer':_0x43213a,'chatCannedAnswers':_0x42c53e[_0x477d('0x12e6')][_0x477d('0xf2')],'license':null,'setting':null,'crudPermissions':_0x42c53e['crudPermissions']}});}function _0x87338e(_0xf80c8e){_0x4bda3d[_0x477d('0xb91')][_0x477d('0xa55')]({'id':_0xf80c8e['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_['remove'](_0x42c53e[_0x477d('0x12e6')]['rows'],{'id':_0xf80c8e['id']});_0x42c53e['chatWebsiteChatCannedAnswers'][_0x477d('0x3bb')]-=0x1;if(!_0x42c53e[_0x477d('0x12e6')][_0x477d('0xf2')][_0x477d('0x79')]){_0x4d5fe0();}_0x3d21d5[_0x477d('0x485')]({'title':_0x477d('0x12ef'),'msg':_0xf80c8e[_0x477d('0x94')]?_0xf80c8e[_0x477d('0x94')]+_0x477d('0xd7e'):''});})[_0x477d('0xf8')](function(_0x21d0dd){if(_0x21d0dd[_0x477d('0x451')]&&_0x21d0dd[_0x477d('0x451')][_0x477d('0xd67')]&&_0x21d0dd['data']['errors'][_0x477d('0x79')]){vm['errors']=_0x21d0dd[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x21d0dd[_0x477d('0x453')](),'type':_0x477d('0x12f0')}];for(var _0x16ecb1=0x0;_0x16ecb1<_0x21d0dd[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x16ecb1++){_0x3d21d5['error']({'title':_0x21d0dd['data'][_0x477d('0xd67')][_0x16ecb1][_0x477d('0x439')],'msg':_0x21d0dd[_0x477d('0x451')][_0x477d('0xd67')][_0x16ecb1][_0x477d('0x452')]});}}else{_0x3d21d5[_0x477d('0x44a')]({'title':_0x21d0dd[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x21d0dd['status']+_0x477d('0x44c')+_0x21d0dd[_0x477d('0x44d')]:'SYSTEM:GETchatWebsite','msg':_0x21d0dd[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x21d0dd['data']['message']):_0x21d0dd[_0x477d('0x452')]||_0x21d0dd[_0x477d('0x453')]()});}});}function _0x28b148(){var _0x3d5599=angular['copy'](_0x42c53e[_0x477d('0x12e7')]);_0x42c53e['selectedChatWebsiteChatCannedAnswers']=[];return _0x3d5599;}function _0x5be199(_0x5b08cf){var _0x450a77=_0x1630ae[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x12f1'))['htmlContent'](_0x477d('0xd93')+_0x42c53e[_0x477d('0x12e7')][_0x477d('0x79')]+'\x20selected'+'\x20will\x20be\x20deleted.')[_0x477d('0x687')](_0x477d('0x12f2'))['targetEvent'](_0x5b08cf)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x1630ae[_0x477d('0x395')](_0x450a77)[_0x477d('0x76')](function(){_0x42c53e[_0x477d('0x12e7')]['forEach'](function(_0x213f49){_0x87338e(_0x213f49);});_0x42c53e['selectedChatWebsiteChatCannedAnswers']=[];});}var _0x3f869f=!![];var _0x25c36c=0x1;_0x7cdbff[_0x477d('0x4b5')](_0x477d('0x12f3'),function(_0x459d69,_0x29ec4e){if(_0x3f869f){_0x4b26ea(function(){_0x3f869f=![];});}else{if(!_0x29ec4e){_0x25c36c=_0x42c53e[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x459d69!==_0x29ec4e){_0x42c53e[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0x459d69){_0x42c53e[_0x477d('0x3ef')][_0x477d('0xe03')]=_0x25c36c;}_0x4d5fe0();}});}}());(function(){'use strict';_0x432a78['$inject']=[_0x477d('0x474'),_0x477d('0x3c4'),_0x477d('0xd64'),'$mdDialog','$q','$translate',_0x477d('0x40e'),_0x477d('0x12f4'),_0x477d('0x12ec'),_0x477d('0x386'),_0x477d('0x55'),_0x477d('0x613'),'setting','crudPermissions'];angular[_0x477d('0xb')](_0x477d('0x30'))[_0x477d('0x3ba')](_0x477d('0x12f5'),_0x432a78);function _0x432a78(_0x3fb763,_0x5490ba,_0x2302b6,_0x7c7924,_0x2ba42e,_0x337f26,_0x181ee6,_0x273ac1,_0x474652,_0x1a5766,_0x413f9b,_0x22ba9c,_0x5e8899,_0x1f11bc){var _0x24fc7a=this;_0x24fc7a[_0x477d('0x3e5')]=_0x413f9b[_0x477d('0x5c')]();_0x24fc7a['errors']=[];_0x24fc7a[_0x477d('0xc8e')]=_0x5e8899;_0x24fc7a['license']=_0x22ba9c;_0x24fc7a[_0x477d('0xd66')]=_0x1f11bc;_0x24fc7a['hasModulePermissions']={};_0x24fc7a[_0x477d('0xd69')]=_0x24fc7a[_0x477d('0xc8e')]&&_0x24fc7a[_0x477d('0xc8e')][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x24fc7a['title']=_0x477d('0x12f6');_0x24fc7a[_0x477d('0x12ec')]=angular[_0x477d('0x6d9')](_0x474652);_0x24fc7a[_0x477d('0x12f4')]=_0x273ac1;_0x24fc7a['newChatCannedAnswer']=![];if(!_0x24fc7a[_0x477d('0x12ec')]){_0x24fc7a['chatCannedAnswer']={};_0x24fc7a[_0x477d('0x49a')]=_0x477d('0x12f7');_0x24fc7a['newChatCannedAnswer']=!![];}if(_0x5490ba[_0x477d('0x37e')]['id']){_0x24fc7a[_0x477d('0x12ec')][_0x477d('0x1237')]=_0x5490ba['params']['id'];}_0x24fc7a[_0x477d('0x12f8')]=_0x4de706;_0x24fc7a[_0x477d('0x12f9')]=_0xde21a8;_0x24fc7a[_0x477d('0x12fa')]=_0x17695e;_0x24fc7a['getDateFromString']=_0x2660d2;_0x24fc7a[_0x477d('0x6bf')]=_0x186b61;function _0x4de706(){_0x24fc7a[_0x477d('0xd67')]=[];_0x1a5766[_0x477d('0xb91')][_0x477d('0xd70')](_0x24fc7a[_0x477d('0x12ec')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x41f8fc){_0x24fc7a['chatCannedAnswers'][_0x477d('0x63b')](_0x41f8fc['toJSON']());_0x181ee6[_0x477d('0x485')]({'title':_0x477d('0x12fb'),'msg':_0x24fc7a['chatCannedAnswer'][_0x477d('0x94')]?_0x24fc7a[_0x477d('0x12ec')][_0x477d('0x94')]+_0x477d('0xd73'):''});_0x186b61(_0x41f8fc);})[_0x477d('0xf8')](function(_0x55e44b){if(_0x55e44b[_0x477d('0x451')]&&_0x55e44b[_0x477d('0x451')][_0x477d('0xd67')]&&_0x55e44b[_0x477d('0x451')][_0x477d('0xd67')]['length']){_0x24fc7a['errors']=_0x55e44b[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x55e44b[_0x477d('0x453')](),'type':_0x477d('0x12fc')}];for(var _0x2fde0c=0x0;_0x2fde0c<_0x55e44b[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x2fde0c+=0x1){_0x181ee6[_0x477d('0x44a')]({'title':_0x55e44b['data']['errors'][_0x2fde0c][_0x477d('0x439')],'msg':_0x55e44b[_0x477d('0x451')][_0x477d('0xd67')][_0x2fde0c][_0x477d('0x452')]});}}else{_0x181ee6['error']({'title':_0x55e44b['status']?_0x477d('0x44b')+_0x55e44b[_0x477d('0x3c3')]+'\x20-\x20'+_0x55e44b[_0x477d('0x44d')]:_0x477d('0x12fc'),'msg':_0x55e44b[_0x477d('0x451')]?JSON['stringify'](_0x55e44b[_0x477d('0x451')][_0x477d('0x452')]):_0x55e44b[_0x477d('0x453')]()});}});}function _0xde21a8(){_0x24fc7a['errors']=[];_0x1a5766[_0x477d('0xb91')][_0x477d('0x710')]({'id':_0x24fc7a[_0x477d('0x12ec')]['id']},_0x24fc7a[_0x477d('0x12ec')])['$promise'][_0x477d('0x76')](function(_0x291bd8){var _0xb81fc7=_[_0x477d('0x10a')](_0x24fc7a[_0x477d('0x12f4')],{'id':_0x291bd8['id']});if(_0xb81fc7){_[_0x477d('0xef')](_0xb81fc7,_[_0x477d('0x10b')](_0x291bd8['toJSON'](),_['keys'](_0xb81fc7)));}_0x181ee6[_0x477d('0x485')]({'title':_0x477d('0x12fd'),'msg':_0x24fc7a[_0x477d('0x12ec')][_0x477d('0x94')]?_0x24fc7a[_0x477d('0x12ec')][_0x477d('0x94')]+_0x477d('0xd76'):''});_0x186b61(_0x291bd8);})['catch'](function(_0x46cea7){if(_0x46cea7[_0x477d('0x451')]&&_0x46cea7[_0x477d('0x451')]['errors']&&_0x46cea7[_0x477d('0x451')][_0x477d('0xd67')]['length']){_0x24fc7a['errors']=_0x46cea7[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x46cea7[_0x477d('0x453')](),'type':_0x477d('0x12fe')}];for(var _0xf9bd89=0x0;_0xf9bd89<_0x46cea7['data'][_0x477d('0xd67')][_0x477d('0x79')];_0xf9bd89++){_0x181ee6['error']({'title':_0x46cea7['data'][_0x477d('0xd67')][_0xf9bd89][_0x477d('0x439')],'msg':_0x46cea7[_0x477d('0x451')]['errors'][_0xf9bd89][_0x477d('0x452')]});}}else{_0x181ee6[_0x477d('0x44a')]({'title':_0x46cea7[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x46cea7[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x46cea7[_0x477d('0x44d')]:_0x477d('0x12fe'),'msg':_0x46cea7[_0x477d('0x451')]?JSON['stringify'](_0x46cea7[_0x477d('0x451')][_0x477d('0x452')]):_0x46cea7[_0x477d('0x453')]()});}});}function _0x17695e(_0x2d2eb8){_0x24fc7a[_0x477d('0xd67')]=[];var _0x55ed18=_0x7c7924[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xd79'))[_0x477d('0xdaf')](_0x477d('0x12ff'))[_0x477d('0x687')]('Delete\x20ChatCannedAnswer')['ok'](_0x477d('0xd7b'))[_0x477d('0x4f0')]('Cancel')[_0x477d('0xd7c')](_0x2d2eb8);_0x7c7924['show'](_0x55ed18)['then'](function(){_0x1a5766[_0x477d('0xb91')][_0x477d('0xa55')]({'id':_0x24fc7a[_0x477d('0x12ec')]['id']})['$promise'][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x24fc7a[_0x477d('0x12f4')],{'id':_0x24fc7a[_0x477d('0x12ec')]['id']});_0x181ee6[_0x477d('0x485')]({'title':'ChatCannedAnswer\x20properly\x20deleted!','msg':(_0x24fc7a[_0x477d('0x12ec')][_0x477d('0x94')]||_0x477d('0x12ec'))+_0x477d('0xd7e')});_0x186b61(_0x24fc7a[_0x477d('0x12ec')]);})['catch'](function(_0xfda9b2){if(_0xfda9b2[_0x477d('0x451')]&&_0xfda9b2['data'][_0x477d('0xd67')]&&_0xfda9b2[_0x477d('0x451')][_0x477d('0xd67')]['length']){_0x24fc7a['errors']=_0xfda9b2[_0x477d('0x451')]['errors']||[{'message':_0xfda9b2[_0x477d('0x453')](),'type':_0x477d('0x1300')}];for(var _0x255409=0x0;_0x255409<_0xfda9b2[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x255409++){_0x181ee6[_0x477d('0x44a')]({'title':_0xfda9b2[_0x477d('0x451')][_0x477d('0xd67')][_0x255409][_0x477d('0x439')],'msg':_0xfda9b2[_0x477d('0x451')][_0x477d('0xd67')][_0x255409][_0x477d('0x452')]});}}else{_0x181ee6['error']({'title':_0xfda9b2[_0x477d('0x3c3')]?_0x477d('0x44b')+_0xfda9b2[_0x477d('0x3c3')]+_0x477d('0x44c')+_0xfda9b2[_0x477d('0x44d')]:_0x477d('0x1300'),'msg':_0xfda9b2[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0xfda9b2['data'][_0x477d('0x452')]):_0xfda9b2[_0x477d('0x452')]||_0xfda9b2['toString']()});}});},function(){});}function _0x2660d2(_0x4763a3){return _0x4763a3===null?undefined:new Date(_0x4763a3);}function _0x186b61(_0x5e26e9){_0x7c7924[_0x477d('0x3bc')](_0x5e26e9);}}}());(function(){'use strict';_0x5bc1e8[_0x477d('0xa')]=[_0x477d('0x385'),_0x477d('0x474'),_0x477d('0x3c4'),'$q',_0x477d('0x40d'),_0x477d('0x3fe'),_0x477d('0x384'),_0x477d('0x475'),'toasty',_0x477d('0x386'),_0x477d('0x55')];angular[_0x477d('0xb')](_0x477d('0x30'))[_0x477d('0x3ba')](_0x477d('0x1301'),_0x5bc1e8);function _0x5bc1e8(_0x2b910b,_0x57665c,_0x4e4264,_0xf46df6,_0x4b2a6e,_0x471db9,_0x463759,_0x5e6744,_0xc7d637,_0x23fbb4,_0x45467a){var _0x9e7ddd=this;_0x9e7ddd[_0x477d('0x3e5')]=_0x45467a[_0x477d('0x5c')]();_0x9e7ddd[_0x477d('0xb32')]={};_0x9e7ddd['chatWebsiteChatDispositions']={'count':0x0,'rows':[]};_0x9e7ddd['selectedChatWebsiteChatDispositions']=[];_0x9e7ddd[_0x477d('0xd66')];_0x9e7ddd[_0x477d('0x3ef')]={'fields':'createdAt,updatedAt,id,name','limit':0xa,'page':0x1};_0x9e7ddd[_0x477d('0x5ee')]=_0x3664fd;_0x9e7ddd['deleteConfirm']=_0x583b9d;_0x9e7ddd[_0x477d('0x485')]=_0x57b53d;_0x9e7ddd[_0x477d('0x1302')]=_0x26ea9b;_0x9e7ddd['createOrEditChatWebsiteChatDisposition']=_0x88b3a;_0x9e7ddd[_0x477d('0x1303')]=_0x37295f;_0x9e7ddd[_0x477d('0x1304')]=_0x465031;_0x9e7ddd['deleteSelectedChatWebsiteChatDispositions']=_0x3224c4;function _0x3664fd(_0x423596,_0x2fa4bc){_0x9e7ddd['chatWebsite']=_0x423596;_0x9e7ddd['crudPermissions']=typeof _0x2fa4bc!==_0x477d('0x4a4')?_0x2fa4bc:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x9e7ddd[_0x477d('0x3ef')]['ChatWebsiteId']=_0x9e7ddd[_0x477d('0xb32')]['id'];_0x9e7ddd['query']['id']=_0x9e7ddd[_0x477d('0xb32')]['id'];_0x26ea9b();}function _0x583b9d(_0xd7236b,_0x41565a){var _0x5efd83=_0x463759['confirm']()[_0x477d('0x49a')](_0x477d('0x1305'))[_0x477d('0xd92')](_0x477d('0xd93')+(_0xd7236b[_0x477d('0x94')]||_0xd7236b['id']&&_['upperFirst']('chatDisposition\x20#')+_0xd7236b['id']||_0x477d('0x1306'))+_0x477d('0xd94')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x1307'))[_0x477d('0xd7c')](_0x41565a)['ok']('OK')['cancel'](_0x477d('0xd97'));_0x463759[_0x477d('0x395')](_0x5efd83)['then'](function(){_0x465031(_0xd7236b);},function(){console['log'](_0x477d('0xd97'));});}function _0x57b53d(_0x2a8982){_0x9e7ddd[_0x477d('0x1308')]=_0x2a8982||{'count':0x0,'rows':[]};}function _0x26ea9b(){_0x9e7ddd['query'][_0x477d('0x91c')]=(_0x9e7ddd['query'][_0x477d('0xe03')]-0x1)*_0x9e7ddd['query'][_0x477d('0x91d')];_0x9e7ddd[_0x477d('0x553')]=_0x23fbb4['chatWebsite'][_0x477d('0x1309')](_0x9e7ddd['query'],_0x57b53d)[_0x477d('0x38b')];}function _0x88b3a(_0x4ded74,_0x294f6c){_0x463759['show']({'controller':'CreateOrEditChatDispositionDialogController','controllerAs':'vm','templateUrl':'app/main/apps/chat/views/chatWebsites/edit/chatDispositions/dialog.html','parent':angular['element'](_0x5e6744[_0x477d('0x399')]),'targetEvent':_0x4ded74,'clickOutsideToClose':!![],'locals':{'chatWebsite':_0x9e7ddd['chatWebsite'],'chatDisposition':_0x294f6c,'chatDispositions':_0x9e7ddd['chatWebsiteChatDispositions'][_0x477d('0xf2')],'license':null,'setting':null,'crudPermissions':_0x9e7ddd[_0x477d('0xd66')]}});}function _0x465031(_0x4cec59){_0x23fbb4['disposition'][_0x477d('0xa55')]({'id':_0x4cec59['id']})['$promise'][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x9e7ddd[_0x477d('0x1308')]['rows'],{'id':_0x4cec59['id']});_0x9e7ddd['chatWebsiteChatDispositions'][_0x477d('0x3bb')]-=0x1;if(!_0x9e7ddd[_0x477d('0x1308')]['rows']['length']){_0x26ea9b();}_0xc7d637[_0x477d('0x485')]({'title':_0x477d('0x130a'),'msg':_0x4cec59['name']?_0x4cec59[_0x477d('0x94')]+'\x20has\x20been\x20deleted!':''});})['catch'](function(_0x17b279){if(_0x17b279[_0x477d('0x451')]&&_0x17b279[_0x477d('0x451')][_0x477d('0xd67')]&&_0x17b279['data'][_0x477d('0xd67')][_0x477d('0x79')]){vm[_0x477d('0xd67')]=_0x17b279['data'][_0x477d('0xd67')]||[{'message':_0x17b279['toString'](),'type':_0x477d('0x12f0')}];for(var _0x2d0d99=0x0;_0x2d0d99<_0x17b279['data'][_0x477d('0xd67')][_0x477d('0x79')];_0x2d0d99++){_0xc7d637[_0x477d('0x44a')]({'title':_0x17b279[_0x477d('0x451')][_0x477d('0xd67')][_0x2d0d99][_0x477d('0x439')],'msg':_0x17b279[_0x477d('0x451')][_0x477d('0xd67')][_0x2d0d99]['message']});}}else{_0xc7d637[_0x477d('0x44a')]({'title':_0x17b279['status']?_0x477d('0x44b')+_0x17b279['status']+_0x477d('0x44c')+_0x17b279[_0x477d('0x44d')]:_0x477d('0x12f0'),'msg':_0x17b279[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x17b279[_0x477d('0x451')][_0x477d('0x452')]):_0x17b279[_0x477d('0x452')]||_0x17b279[_0x477d('0x453')]()});}});}function _0x37295f(){var _0x419568=angular[_0x477d('0x6d9')](_0x9e7ddd['selectedChatWebsiteChatDispositions']);_0x9e7ddd[_0x477d('0x130b')]=[];return _0x419568;}function _0x3224c4(_0x37d091){var _0x1f817c=_0x463759[_0x477d('0xd78')]()[_0x477d('0x49a')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20chatDispositions?')[_0x477d('0xd92')](_0x477d('0xd93')+_0x9e7ddd[_0x477d('0x130b')][_0x477d('0x79')]+'\x20selected'+_0x477d('0xd95'))[_0x477d('0x687')]('delete\x20chatDispositions')[_0x477d('0xd7c')](_0x37d091)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x463759[_0x477d('0x395')](_0x1f817c)[_0x477d('0x76')](function(){_0x9e7ddd[_0x477d('0x130b')][_0x477d('0x3b1')](function(_0x1299c7){_0x465031(_0x1299c7);});_0x9e7ddd['selectedChatWebsiteChatDispositions']=[];});}var _0x531261=!![];var _0x2df86e=0x1;_0x57665c[_0x477d('0x4b5')](_0x477d('0x12f3'),function(_0x51b969,_0x101d13){if(_0x531261){_0x471db9(function(){_0x531261=![];});}else{if(!_0x101d13){_0x2df86e=_0x9e7ddd[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x51b969!==_0x101d13){_0x9e7ddd[_0x477d('0x3ef')]['page']=0x1;}if(!_0x51b969){_0x9e7ddd['query']['page']=_0x2df86e;}_0x26ea9b();}});}}());(function(){'use strict';_0x16e551[_0x477d('0xa')]=['$scope',_0x477d('0x3c4'),'$location',_0x477d('0x384'),'$q',_0x477d('0x40d'),_0x477d('0x40e'),_0x477d('0x130c'),_0x477d('0x1306'),_0x477d('0x386'),'Auth',_0x477d('0x613'),_0x477d('0xc8e'),_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x30'))['controller'](_0x477d('0x130d'),_0x16e551);function _0x16e551(_0x11a68a,_0x3cc0cd,_0x17bd50,_0x11b31e,_0x3cb7ab,_0x3cd602,_0x17776f,_0x3955f4,_0x4db51f,_0x2fbb22,_0x36a2df,_0x5c2abe,_0xc0175d,_0x51501b){var _0x149edc=this;_0x149edc[_0x477d('0x3e5')]=_0x36a2df[_0x477d('0x5c')]();_0x149edc[_0x477d('0xd67')]=[];_0x149edc[_0x477d('0xc8e')]=_0xc0175d;_0x149edc[_0x477d('0x613')]=_0x5c2abe;_0x149edc['crudPermissions']=_0x51501b;_0x149edc[_0x477d('0xd68')]={};_0x149edc[_0x477d('0xd69')]=_0x149edc[_0x477d('0xc8e')]&&_0x149edc[_0x477d('0xc8e')][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x149edc[_0x477d('0x49a')]=_0x477d('0x130e');_0x149edc[_0x477d('0x1306')]=angular[_0x477d('0x6d9')](_0x4db51f);_0x149edc[_0x477d('0x130c')]=_0x3955f4;_0x149edc[_0x477d('0x130f')]=![];if(!_0x149edc[_0x477d('0x1306')]){_0x149edc['chatDisposition']={};_0x149edc[_0x477d('0x49a')]='CHAT.NEW_CHATDISPOSITION';_0x149edc['newChatDisposition']=!![];}if(_0x3cc0cd[_0x477d('0x37e')]['id']){_0x149edc['chatDisposition']['ChatWebsiteId']=_0x3cc0cd['params']['id'];}_0x149edc[_0x477d('0x1310')]=_0x7db67b;_0x149edc[_0x477d('0x1311')]=_0x2ae542;_0x149edc[_0x477d('0x1312')]=_0x1d040e;_0x149edc[_0x477d('0xd6f')]=_0x5e39b7;_0x149edc[_0x477d('0x6bf')]=_0x505dd2;function _0x7db67b(){_0x149edc[_0x477d('0xd67')]=[];_0x2fbb22[_0x477d('0xb95')][_0x477d('0xd70')](_0x149edc['chatDisposition'])['$promise'][_0x477d('0x76')](function(_0x1d379f){_0x149edc[_0x477d('0x130c')][_0x477d('0x63b')](_0x1d379f['toJSON']());_0x17776f[_0x477d('0x485')]({'title':_0x477d('0x1313'),'msg':_0x149edc[_0x477d('0x1306')][_0x477d('0x94')]?_0x149edc[_0x477d('0x1306')][_0x477d('0x94')]+_0x477d('0xd73'):''});_0x505dd2(_0x1d379f);})['catch'](function(_0xe95a55){if(_0xe95a55[_0x477d('0x451')]&&_0xe95a55[_0x477d('0x451')]['errors']&&_0xe95a55[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x149edc[_0x477d('0xd67')]=_0xe95a55[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0xe95a55[_0x477d('0x453')](),'type':_0x477d('0x1314')}];for(var _0x137959=0x0;_0x137959<_0xe95a55[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x137959+=0x1){_0x17776f[_0x477d('0x44a')]({'title':_0xe95a55[_0x477d('0x451')][_0x477d('0xd67')][_0x137959]['type'],'msg':_0xe95a55[_0x477d('0x451')]['errors'][_0x137959]['message']});}}else{_0x17776f[_0x477d('0x44a')]({'title':_0xe95a55[_0x477d('0x3c3')]?_0x477d('0x44b')+_0xe95a55['status']+_0x477d('0x44c')+_0xe95a55[_0x477d('0x44d')]:_0x477d('0x1314'),'msg':_0xe95a55['data']?JSON[_0x477d('0x3fb')](_0xe95a55['data']['message']):_0xe95a55[_0x477d('0x453')]()});}});}function _0x2ae542(){_0x149edc[_0x477d('0xd67')]=[];_0x2fbb22['disposition'][_0x477d('0x710')]({'id':_0x149edc['chatDisposition']['id']},_0x149edc[_0x477d('0x1306')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x1eea1b){var _0x3c7501=_[_0x477d('0x10a')](_0x149edc[_0x477d('0x130c')],{'id':_0x1eea1b['id']});if(_0x3c7501){_[_0x477d('0xef')](_0x3c7501,_[_0x477d('0x10b')](_0x1eea1b[_0x477d('0xd71')](),_[_0x477d('0x7f')](_0x3c7501)));}_0x17776f['success']({'title':_0x477d('0x1315'),'msg':_0x149edc[_0x477d('0x1306')][_0x477d('0x94')]?_0x149edc[_0x477d('0x1306')][_0x477d('0x94')]+_0x477d('0xd76'):''});_0x505dd2(_0x1eea1b);})[_0x477d('0xf8')](function(_0xaedee){if(_0xaedee[_0x477d('0x451')]&&_0xaedee['data'][_0x477d('0xd67')]&&_0xaedee[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x149edc[_0x477d('0xd67')]=_0xaedee[_0x477d('0x451')]['errors']||[{'message':_0xaedee['toString'](),'type':_0x477d('0x1316')}];for(var _0x3e7568=0x0;_0x3e7568<_0xaedee[_0x477d('0x451')]['errors'][_0x477d('0x79')];_0x3e7568++){_0x17776f[_0x477d('0x44a')]({'title':_0xaedee[_0x477d('0x451')][_0x477d('0xd67')][_0x3e7568][_0x477d('0x439')],'msg':_0xaedee[_0x477d('0x451')][_0x477d('0xd67')][_0x3e7568][_0x477d('0x452')]});}}else{_0x17776f[_0x477d('0x44a')]({'title':_0xaedee['status']?_0x477d('0x44b')+_0xaedee[_0x477d('0x3c3')]+'\x20-\x20'+_0xaedee[_0x477d('0x44d')]:_0x477d('0x1316'),'msg':_0xaedee[_0x477d('0x451')]?JSON['stringify'](_0xaedee['data'][_0x477d('0x452')]):_0xaedee[_0x477d('0x453')]()});}});}function _0x1d040e(_0x272b8a){_0x149edc[_0x477d('0xd67')]=[];var _0x29e717=_0x11b31e[_0x477d('0xd78')]()[_0x477d('0x49a')]('Are\x20you\x20sure?')[_0x477d('0xdaf')](_0x477d('0x1317'))[_0x477d('0x687')]('Delete\x20ChatDisposition')['ok'](_0x477d('0xd7b'))[_0x477d('0x4f0')](_0x477d('0x688'))[_0x477d('0xd7c')](_0x272b8a);_0x11b31e[_0x477d('0x395')](_0x29e717)['then'](function(){_0x2fbb22[_0x477d('0xb95')][_0x477d('0xa55')]({'id':_0x149edc['chatDisposition']['id']})['$promise'][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x149edc[_0x477d('0x130c')],{'id':_0x149edc[_0x477d('0x1306')]['id']});_0x17776f[_0x477d('0x485')]({'title':'ChatDisposition\x20properly\x20deleted!','msg':(_0x149edc[_0x477d('0x1306')][_0x477d('0x94')]||'chatDisposition')+_0x477d('0xd7e')});_0x505dd2(_0x149edc['chatDisposition']);})[_0x477d('0xf8')](function(_0xba5346){if(_0xba5346[_0x477d('0x451')]&&_0xba5346[_0x477d('0x451')][_0x477d('0xd67')]&&_0xba5346['data'][_0x477d('0xd67')][_0x477d('0x79')]){_0x149edc[_0x477d('0xd67')]=_0xba5346[_0x477d('0x451')]['errors']||[{'message':_0xba5346['toString'](),'type':_0x477d('0x1318')}];for(var _0x1edae6=0x0;_0x1edae6<_0xba5346[_0x477d('0x451')]['errors'][_0x477d('0x79')];_0x1edae6++){_0x17776f[_0x477d('0x44a')]({'title':_0xba5346[_0x477d('0x451')][_0x477d('0xd67')][_0x1edae6][_0x477d('0x439')],'msg':_0xba5346[_0x477d('0x451')]['errors'][_0x1edae6][_0x477d('0x452')]});}}else{_0x17776f[_0x477d('0x44a')]({'title':_0xba5346['status']?_0x477d('0x44b')+_0xba5346[_0x477d('0x3c3')]+_0x477d('0x44c')+_0xba5346['statusText']:'api.disposition.delete','msg':_0xba5346[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0xba5346[_0x477d('0x451')][_0x477d('0x452')]):_0xba5346['message']||_0xba5346[_0x477d('0x453')]()});}});},function(){});}function _0x5e39b7(_0x2b7077){return _0x2b7077===null?undefined:new Date(_0x2b7077);}function _0x505dd2(_0x4cee28){_0x11b31e['hide'](_0x4cee28);}}}());(function(){'use strict';_0x380b2d['$inject']=['$mdDialog','$document',_0x477d('0x386')];angular['module'](_0x477d('0x30'))[_0x477d('0x3ba')](_0x477d('0x1319'),_0x380b2d);function _0x380b2d(_0x5337e1,_0xec516e,_0x4bfb0b){var _0x3f533d=this;_0x3f533d[_0x477d('0xb32')]={};_0x3f533d[_0x477d('0x131a')]={};_0x3f533d[_0x477d('0x131b')]=[{'type':_0x477d('0x93e'),'name':_0x477d('0x131c'),'icon':'icon-label'},{'type':_0x477d('0x131d'),'name':_0x477d('0x131e'),'icon':_0x477d('0x131f')},{'type':_0x477d('0x1320'),'name':_0x477d('0x1321'),'icon':'icon-keyboard'},{'type':'textarea','name':'Textarea','icon':_0x477d('0x1322')},{'type':_0x477d('0x1323'),'name':'Radio\x20Buttons','icon':_0x477d('0x1324')},{'type':_0x477d('0x1325'),'name':'Checkboxes','icon':_0x477d('0x1326')},{'type':_0x477d('0x1327'),'name':_0x477d('0x1328'),'icon':_0x477d('0x1329')}];_0x3f533d[_0x477d('0x5ee')]=_0x2db59a;_0x3f533d['up']=_0x5d1b13;_0x3f533d[_0x477d('0x72f')]=_0x525928;_0x3f533d[_0x477d('0x440')]=_0x1c1784;_0x3f533d[_0x477d('0x39c')]=_0x50a4b9;function _0x2db59a(_0x557e8a){_0x3f533d[_0x477d('0x458')]=[];_0x3f533d['customFields']=[];_0x3f533d[_0x477d('0x132a')]=['id',_0x477d('0xe37'),_0x477d('0xe38'),'ListId',_0x477d('0x132b'),_0x477d('0x38b'),_0x477d('0x80')];_0x3f533d[_0x477d('0xb32')]=_0x557e8a;if(_[_0x477d('0x3b2')](_0x3f533d[_0x477d('0xb32')][_0x477d('0x131a')])){_0x3f533d[_0x477d('0xb32')]['offlineForm']={'items':[],'fromKey':null};}_0x4bfb0b[_0x477d('0xe3f')][_0x477d('0x132c')]({'id':_0x3f533d['chatWebsite'][_0x477d('0x1229')]})['$promise'][_0x477d('0x76')](function(_0x4e7ae7){for(var _0x6883a2=0x0;_0x6883a2<_0x4e7ae7[_0x477d('0xf2')][_0x477d('0x79')];_0x6883a2++){_0x3f533d[_0x477d('0x132d')][_0x477d('0x3a7')]({'key':_0x477d('0x132e')+_0x4e7ae7[_0x477d('0xf2')][_0x6883a2]['id'],'value':_0x4e7ae7[_0x477d('0xf2')][_0x6883a2][_0x477d('0x132f')]});}return _0x4bfb0b[_0x477d('0xb6c')][_0x477d('0xe27')]()[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x3a2d20){var _0x758870=_[_0x477d('0x7f')](_0x3a2d20);for(var _0x42b8d6=0x0;_0x42b8d6<_0x758870['length'];_0x42b8d6++){if(!_[_0x477d('0x3a4')](_0x3f533d[_0x477d('0x132a')],_0x758870[_0x42b8d6])&&!_['startsWith'](_0x758870[_0x42b8d6],'cf_')){_0x3f533d[_0x477d('0x458')][_0x477d('0x63b')]({'key':_0x758870[_0x42b8d6],'value':_0x758870[_0x42b8d6]});}}return _0x4bfb0b[_0x477d('0xbb9')][_0x477d('0x376')]()['$promise'];})['then'](function(_0x5bb5cd){_0x3f533d[_0x477d('0xf31')]=_0x5bb5cd['rows'];})['catch'](function(_0x47b4ff){console['error'](_0x47b4ff);});}function _0x5d1b13(_0x126c5a,_0x222f30){if(_0x222f30!==0x0){var _0x113edf=_0x3f533d['chatWebsite'][_0x477d('0x131a')][_0x477d('0x4a6')][_0x222f30-0x1];_0x3f533d[_0x477d('0xb32')][_0x477d('0x131a')][_0x477d('0x4a6')][_0x222f30]=_0x113edf;_0x3f533d['chatWebsite'][_0x477d('0x131a')][_0x477d('0x4a6')][_0x222f30-0x1]=angular[_0x477d('0x6d9')](_0x126c5a);if(_0x3f533d[_0x477d('0xb32')]['offlineForm'][_0x477d('0x1330')]===_0x222f30){_0x3f533d['chatWebsite'][_0x477d('0x131a')][_0x477d('0x1330')]--;}else if(_0x3f533d[_0x477d('0xb32')][_0x477d('0x131a')][_0x477d('0x1330')]===_0x222f30-0x1){_0x3f533d['chatWebsite']['offlineForm']['fromKey']++;}}}function _0x525928(_0x54c20d,_0x11ca1a){if(_0x11ca1a!==_0x3f533d['chatWebsite']['offlineForm'][_0x477d('0x4a6')][_0x477d('0x79')]-0x1){var _0x9a2d9d=_0x3f533d['chatWebsite'][_0x477d('0x131a')]['items'][_0x11ca1a+0x1];_0x3f533d['chatWebsite'][_0x477d('0x131a')][_0x477d('0x4a6')][_0x11ca1a]=_0x9a2d9d;_0x3f533d[_0x477d('0xb32')][_0x477d('0x131a')][_0x477d('0x4a6')][_0x11ca1a+0x1]=angular['copy'](_0x54c20d);if(_0x3f533d[_0x477d('0xb32')][_0x477d('0x131a')]['fromKey']===_0x11ca1a){_0x3f533d[_0x477d('0xb32')][_0x477d('0x131a')]['fromKey']++;}else if(_0x3f533d[_0x477d('0xb32')][_0x477d('0x131a')][_0x477d('0x1330')]===_0x11ca1a+0x1){_0x3f533d[_0x477d('0xb32')][_0x477d('0x131a')][_0x477d('0x1330')]--;}}}function _0x1c1784(_0x4043b7){_0x3f533d[_0x477d('0xb32')][_0x477d('0x131a')][_0x477d('0x4a6')][_0x477d('0x3a7')]({'type':_0x4043b7,'cmField':null,'variable':null});}function _0x50a4b9(_0x335738){var _0x224a1d=_0x5337e1['confirm']()[_0x477d('0x49a')]('The\x20component\x20will\x20be\x20deleted.')[_0x477d('0x68e')](_0x477d('0xd79'))[_0x477d('0x687')](_0x477d('0x1331'))['ok']('Ok')[_0x477d('0x4f0')](_0x477d('0x688'));_0x5337e1[_0x477d('0x395')](_0x224a1d)[_0x477d('0x76')](function(){_0x3f533d['chatWebsite'][_0x477d('0x131a')]['items'][_0x477d('0x45b')](_0x335738,0x1);});}}}());(function(){'use strict';_0x2cdd4d[_0x477d('0xa')]=['$mdDialog',_0x477d('0x475'),'api'];angular[_0x477d('0xb')](_0x477d('0x30'))[_0x477d('0x3ba')](_0x477d('0x1332'),_0x2cdd4d);function _0x2cdd4d(_0x3e6980,_0x171955,_0x22d507){var _0x1ace08=this;_0x1ace08['chatWebsite']={};_0x1ace08[_0x477d('0x1333')]={};_0x1ace08[_0x477d('0x131b')]=[{'type':_0x477d('0x93e'),'name':_0x477d('0x131c'),'icon':'icon-label'},{'type':_0x477d('0x131d'),'name':_0x477d('0x131e'),'icon':_0x477d('0x131f')},{'type':_0x477d('0x1320'),'name':_0x477d('0x1321'),'icon':_0x477d('0x1334')},{'type':_0x477d('0x127b'),'name':_0x477d('0x1335'),'icon':'icon-format-text'},{'type':_0x477d('0x1323'),'name':_0x477d('0x1336'),'icon':'icon-radiobox-marked'},{'type':_0x477d('0x1325'),'name':'Checkboxes','icon':_0x477d('0x1326')},{'type':_0x477d('0x1327'),'name':_0x477d('0x1328'),'icon':'icon-checkbox-marked-outline'}];_0x1ace08['init']=_0x2ae0c7;_0x1ace08['up']=_0x204ad6;_0x1ace08['down']=_0x24fb2a;_0x1ace08['add']=_0x32155b;_0x1ace08[_0x477d('0x39c')]=_0x59be62;function _0x2ae0c7(_0x5801a5){_0x1ace08[_0x477d('0x458')]=[];_0x1ace08[_0x477d('0x132d')]=[];_0x1ace08['uselessFields']=['id',_0x477d('0xe37'),_0x477d('0xe38'),_0x477d('0x1229'),_0x477d('0x132b'),'$promise',_0x477d('0x80')];_0x1ace08[_0x477d('0xb32')]=_0x5801a5;if(_['isEmpty'](_0x1ace08[_0x477d('0xb32')][_0x477d('0x1333')])){_0x1ace08[_0x477d('0xb32')]['onlineForm']={'items':[],'fromKey':null};}_0x22d507['cmList']['getCustomFields']({'id':_0x1ace08[_0x477d('0xb32')][_0x477d('0x1229')]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x3c317f){for(var _0x3aefe7=0x0;_0x3aefe7<_0x3c317f[_0x477d('0xf2')]['length'];_0x3aefe7++){_0x1ace08[_0x477d('0x132d')]['push']({'key':_0x477d('0x132e')+_0x3c317f[_0x477d('0xf2')][_0x3aefe7]['id'],'value':_0x3c317f['rows'][_0x3aefe7][_0x477d('0x132f')]});}return _0x22d507['cmContact']['describe']()[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x390f59){var _0x11ff67=_[_0x477d('0x7f')](_0x390f59);for(var _0x431623=0x0;_0x431623<_0x11ff67[_0x477d('0x79')];_0x431623++){if(!_['includes'](_0x1ace08[_0x477d('0x132a')],_0x11ff67[_0x431623])&&!_[_0x477d('0x1337')](_0x11ff67[_0x431623],'cf_')){_0x1ace08['fields'][_0x477d('0x63b')]({'key':_0x11ff67[_0x431623],'value':_0x11ff67[_0x431623]});}}return _0x22d507[_0x477d('0xbb9')][_0x477d('0x376')]()[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x19716b){_0x1ace08[_0x477d('0xf31')]=_0x19716b[_0x477d('0xf2')];})[_0x477d('0xf8')](function(_0x48a43a){console['error'](_0x48a43a);});}function _0x204ad6(_0x3f5f3e,_0x4650d2){if(_0x4650d2!==0x0){var _0x1ea879=_0x1ace08[_0x477d('0xb32')][_0x477d('0x1333')][_0x477d('0x4a6')][_0x4650d2-0x1];_0x1ace08[_0x477d('0xb32')][_0x477d('0x1333')][_0x477d('0x4a6')][_0x4650d2]=_0x1ea879;_0x1ace08['chatWebsite'][_0x477d('0x1333')][_0x477d('0x4a6')][_0x4650d2-0x1]=angular[_0x477d('0x6d9')](_0x3f5f3e);if(_0x1ace08['chatWebsite'][_0x477d('0x1333')]['fromKey']===_0x4650d2){_0x1ace08[_0x477d('0xb32')][_0x477d('0x1333')][_0x477d('0x1330')]--;}else if(_0x1ace08[_0x477d('0xb32')][_0x477d('0x1333')][_0x477d('0x1330')]===_0x4650d2-0x1){_0x1ace08['chatWebsite']['onlineForm'][_0x477d('0x1330')]++;}}}function _0x24fb2a(_0x5e5586,_0x2f4bdb){if(_0x2f4bdb!==_0x1ace08[_0x477d('0xb32')][_0x477d('0x1333')][_0x477d('0x4a6')][_0x477d('0x79')]-0x1){var _0x4c030b=_0x1ace08[_0x477d('0xb32')][_0x477d('0x1333')]['items'][_0x2f4bdb+0x1];_0x1ace08[_0x477d('0xb32')]['onlineForm'][_0x477d('0x4a6')][_0x2f4bdb]=_0x4c030b;_0x1ace08[_0x477d('0xb32')][_0x477d('0x1333')][_0x477d('0x4a6')][_0x2f4bdb+0x1]=angular['copy'](_0x5e5586);if(_0x1ace08[_0x477d('0xb32')][_0x477d('0x1333')]['fromKey']===_0x2f4bdb){_0x1ace08['chatWebsite']['onlineForm'][_0x477d('0x1330')]++;}else if(_0x1ace08[_0x477d('0xb32')]['onlineForm']['fromKey']===_0x2f4bdb+0x1){_0x1ace08[_0x477d('0xb32')][_0x477d('0x1333')][_0x477d('0x1330')]--;}}}function _0x32155b(_0x43de9f){_0x1ace08[_0x477d('0xb32')][_0x477d('0x1333')][_0x477d('0x4a6')][_0x477d('0x3a7')]({'type':_0x43de9f,'cmField':null,'variable':null});}function _0x59be62(_0x4b868c){var _0x3e5bc7=_0x3e6980[_0x477d('0xd78')]()['title'](_0x477d('0x1338'))[_0x477d('0x68e')](_0x477d('0xd79'))[_0x477d('0x687')](_0x477d('0x1331'))['ok']('Ok')[_0x477d('0x4f0')](_0x477d('0x688'));_0x3e6980[_0x477d('0x395')](_0x3e5bc7)['then'](function(){if(_0x1ace08[_0x477d('0xb32')][_0x477d('0x1333')][_0x477d('0x1330')]===_0x4b868c){_0x1ace08[_0x477d('0xb32')][_0x477d('0x1333')][_0x477d('0x1330')]=null;}_0x1ace08['chatWebsite'][_0x477d('0x1333')][_0x477d('0x4a6')][_0x477d('0x45b')](_0x4b868c,0x1);if(!_0x1ace08[_0x477d('0xb32')][_0x477d('0x1333')][_0x477d('0x4a6')]['length']){_0x1ace08['chatWebsite'][_0x477d('0x1333')][_0x477d('0x1330')]=null;}});}}}());(function(){'use strict';_0x1d17c7['$inject']=['$cookies',_0x477d('0x40e')];angular['module'](_0x477d('0x30'))[_0x477d('0x3ba')](_0x477d('0x1339'),_0x1d17c7);function _0x1d17c7(_0x4ff353,_0x3c9703){var _0x2aaa2e=this;var _0x41e394=0x8;var _0x1bb191=_0x41e394*0x400*0x400;_0x2aaa2e[_0x477d('0xb32')]={};_0x2aaa2e['crudPermissions'];_0x2aaa2e[_0x477d('0x1174')]={'singleFile':!![],'maxChunkRetries':0x1,'chunkSize':_0x1bb191,'simultaneousUploads':0x1,'testChunks':![],'progressCallbacksInterval':0x3e8,'allowDuplicateUploads':!![]};_0x2aaa2e[_0x477d('0x129f')]={'flow':{}};_0x2aaa2e['dropping']=![];_0x2aaa2e[_0x477d('0x1176')]=_0x17f38e;_0x2aaa2e['upload']=_0x1012d0;_0x2aaa2e[_0x477d('0x133a')]=_0x5817ff;_0x2aaa2e[_0x477d('0x5ee')]=_0x4a0c48;function _0x4a0c48(_0x388bb6,_0x51e049){_0x2aaa2e[_0x477d('0xb32')]=angular[_0x477d('0x6d9')](_0x388bb6);_0x2aaa2e[_0x477d('0xd66')]=typeof _0x51e049!=='undefined'?_0x51e049:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x2aaa2e['ngFlowOptions'][_0x477d('0x378')]=_0x477d('0x133b')['replace'](_0x477d('0x133c'),_0x2aaa2e[_0x477d('0xb32')]['id']);_0x2aaa2e['chatWebsite'][_0x477d('0x12a2')]=[];}function _0x17f38e(_0x2bd3b2){var _0x37383b=[_0x477d('0x12a3'),_0x477d('0x12a4')];if(!_[_0x477d('0x3a4')](_0x37383b,_0x2bd3b2[_0x477d('0x1178')]())){_0x3c9703[_0x477d('0x44a')]({'title':_0x477d('0x133d')+_0x2bd3b2[_0x477d('0x1178')](),'msg':_0x477d('0x12a5')+_0x37383b[_0x477d('0x3f6')]()});return![];}if(_0x2bd3b2['size']>_0x1bb191){_0x3c9703[_0x477d('0x44a')]({'title':_0x477d('0x12a6'),'msg':_0x477d('0x133e')+_0x41e394+'MB'});return![];}var _0x344bff={'id':_0x2bd3b2[_0x477d('0x12a7')],'file':_0x2bd3b2,'type':_0x477d('0x133f')};_0x2aaa2e['chatWebsite'][_0x477d('0x12a2')][_0x477d('0x63b')](_0x344bff);return!![];}function _0x1012d0(){_0x2aaa2e[_0x477d('0x129f')]['flow'][_0x477d('0x12a8')][_0x477d('0x3c0')]={'X-Requested-With':_0x477d('0x12a9'),'Authorization':_0x477d('0x12aa')+_0x4ff353[_0x477d('0x376')](_0x477d('0x389'))};_0x2aaa2e['ngFlow'][_0x477d('0xae')][_0x477d('0x12a0')]();}function _0x5817ff(_0x1ac6aa,_0x267afc){angular['forEach'](_0x2aaa2e[_0x477d('0xb32')][_0x477d('0x12a2')],function(_0x4750d3,_0x50bfd9){if(_0x4750d3['id']===_0x1ac6aa[_0x477d('0x12a7')]){var _0x3f5f2d=new FileReader();_0x3f5f2d['readAsDataURL'](_0x4750d3[_0x477d('0xec5')]['file']);_0x3f5f2d[_0x477d('0xec7')]=function(_0x5843f1){_0x4750d3[_0x477d('0x3c1')]=_0x5843f1[_0x477d('0x378')][_0x477d('0xec8')];};_0x4750d3['type']=_0x477d('0x12ab');}});}}}());(function(){'use strict';_0x307b85[_0x477d('0xa')]=[_0x477d('0x385'),_0x477d('0x474'),_0x477d('0x3c4'),'$q',_0x477d('0x40d'),'$timeout',_0x477d('0x384'),'$document',_0x477d('0x40e'),'api',_0x477d('0x55')];angular[_0x477d('0xb')](_0x477d('0x30'))[_0x477d('0x3ba')](_0x477d('0x1340'),_0x307b85);function _0x307b85(_0x45b529,_0x2537fb,_0xbefd87,_0xfc3ccf,_0x562cda,_0x4fc829,_0x1feab2,_0x21e018,_0x30ad52,_0x3f8818,_0x2e222b){var _0x4fbece=this;_0x4fbece['currentUser']=_0x2e222b[_0x477d('0x5c')]();_0x4fbece[_0x477d('0xb32')]={};_0x4fbece[_0x477d('0x1341')]={'count':0x0,'rows':[]};_0x4fbece[_0x477d('0x1342')]=[];_0x4fbece[_0x477d('0xd66')];_0x4fbece[_0x477d('0x3ef')]={'read':_0x477d('0xea'),'closed':_0x477d('0xea'),'sort':_0x477d('0x1343'),'includeAll':_0x477d('0x2ee'),'limit':0xa,'page':0x1};_0x4fbece['init']=_0x2c2edc;_0x4fbece[_0x477d('0xe66')]=_0x51d5f4;_0x4fbece['chatInteractionDownload']=_0x232e84;_0x4fbece[_0x477d('0x485')]=_0x33d45c;_0x4fbece[_0x477d('0x1344')]=_0x187835;_0x4fbece[_0x477d('0x1345')]=_0x2ecac9;_0x4fbece[_0x477d('0x1346')]=_0x171526;_0x4fbece['openAdvancedSearch']=_0x203845;_0x4fbece['exportSelectedChatWebsiteInteractions']=_0xdaa990;_0x4fbece[_0x477d('0x1347')]=_0x521b16;_0x4fbece[_0x477d('0x1348')]=_0xd2e164;function _0x2c2edc(_0x50e7c7,_0x94b855){_0x4fbece[_0x477d('0xb32')]=_0x50e7c7;_0x4fbece[_0x477d('0xd66')]=typeof _0x94b855!==_0x477d('0x4a4')?_0x94b855:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x4fbece[_0x477d('0x3ef')][_0x477d('0x1237')]=_0x4fbece[_0x477d('0xb32')]['id'];_0x4fbece[_0x477d('0x3eb')]={'fields':_0x4815fd()};_0x2a210e();}function _0x2a210e(){return _0x3f8818['tag'][_0x477d('0x376')]()[_0x477d('0x38b')]['then'](function(_0x238bd5){_0x4fbece[_0x477d('0x1263')]=_0x238bd5||{'count':0x0,'rows':[]};})['then'](function(){_0x4fbece[_0x477d('0x1349')]=_0xb371d6();});}function _0xb371d6(){return[{'name':_0x477d('0x134a'),'key':_0x477d('0xe37'),'type':'date','label':_0x477d('0x134b')},{'name':_0x477d('0x134c'),'key':_0x477d('0x134d'),'type':_0x477d('0x462'),'label':_0x477d('0x134e'),'customOptions':[{'value':0x0,'translate':'DASHBOARDS.UNREAD'},{'value':0x1,'translate':_0x477d('0x134f')},{'value':null,'translate':_0x477d('0x1350')}]},{'name':'Status','key':_0x477d('0x1351'),'type':_0x477d('0x462'),'label':'DASHBOARDS.SELECT_STATUS','customOptions':[{'value':0x0,'translate':'DASHBOARDS.OPENED'},{'value':0x1,'translate':_0x477d('0x1352')},{'value':null,'translate':'DASHBOARDS.ALL'}]},{'name':_0x477d('0x125d'),'key':_0x477d('0x125b'),'type':_0x477d('0x462'),'label':_0x477d('0x1353'),'customOptions':[{'value':_0x477d('0xea'),'translate':_0x477d('0x1354')},{'value':undefined,'translate':_0x477d('0x1350')}]},{'name':'Tag','key':_0x477d('0xbb0'),'type':_0x477d('0x413'),'label':_0x477d('0x1355'),'options':_0x4fbece[_0x477d('0x1263')][_0x477d('0xf2')],'placeholder':_0x477d('0x1356')}];}function _0x4815fd(){return[{'name':'Id','column':'id','type':_0x477d('0x421')},{'name':'Contact','column':'Contact','type':_0x477d('0x443'),'options':{'searchFields':[_0x477d('0x1357'),_0x477d('0x1358'),_0x477d('0x1359')],'route':{'model':_0x477d('0xb6c'),'action':'get','params':{'fields':'id,firstName,lastName,email','Contact':_0x477d('0x444'),'nolimit':!![]}},'extraOperators':[_0x477d('0x135a')],'excludedOperators':['$ne']}},{'name':_0x477d('0x135b'),'column':_0x477d('0x135c'),'type':_0x477d('0x41b'),'options':{'excludedOperators':[_0x477d('0x412'),'$ne']}},{'name':_0x477d('0x135d'),'column':'plainBody','type':_0x477d('0x41b'),'options':{'excludedOperators':[_0x477d('0x412'),_0x477d('0x414')]}},{'name':_0x477d('0x135e'),'column':_0x477d('0x1351'),'type':_0x477d('0x462'),'values':[{'id':0x0,'translate':_0x477d('0x135f')},{'id':0x1,'translate':'DASHBOARDS.CLOSED'}],'options':{'excludedOperators':[_0x477d('0x414')]}},{'name':_0x477d('0x125d'),'column':'User','type':'autocomplete','options':{'table':'i','route':{'model':_0x477d('0x380'),'action':_0x477d('0x376'),'params':{'role':_0x477d('0xcf'),'fields':_0x477d('0x1360'),'nolimit':!![]}},'searchFields':[_0x477d('0xcd'),'name'],'extraOperators':[_0x477d('0x135a')],'excludedOperators':['$ne']}},{'name':_0x477d('0x102'),'column':_0x477d('0x1264'),'type':_0x477d('0x413'),'options':{'route':{'model':_0x477d('0xbb0'),'action':_0x477d('0x376'),'params':{'nolimit':!![]}},'excludedOperators':[_0x477d('0x3f5')]}},{'name':_0x477d('0x134a'),'column':'createdAt','type':'date','options':{'excludedOperators':[_0x477d('0x414')]}},{'name':_0x477d('0x1361'),'column':'unreadMessages','type':_0x477d('0x462'),'values':[{'id':0x1,'translate':_0x477d('0x134f')},{'id':0x0,'translate':'DASHBOARDS.UNREAD'}],'options':{'excludedOperators':[_0x477d('0x414')]}}];}function _0x203845(){_0x1feab2[_0x477d('0x395')]({'controller':_0x477d('0x3e4'),'controllerAs':'vm','templateUrl':_0x477d('0x1362'),'parent':angular['element'](_0x21e018[_0x477d('0x399')]),'clickOutsideToClose':![],'locals':{'fields':_0x4fbece['advancedSearch'][_0x477d('0x458')],'color':undefined,'storagePath':_0x477d('0x1363')},'fullscreen':!![]})['then'](function(_0x2016d8){_0x4fbece[_0x477d('0x3ef')]['search']=_0x2016d8===![]?undefined:_0x2016d8;if(_0x4fbece['query'][_0x477d('0x3fd')]){_0x187835();}else if(_0x2016d8===![]){_0x187835();}})[_0x477d('0xf8')](function(_0xe0be8b){_0x30ad52['error']({'title':'ERROR','msg':_0xe0be8b['data']?JSON[_0x477d('0x3fb')](_0xe0be8b[_0x477d('0x451')][_0x477d('0x452')]):_0xe0be8b[_0x477d('0x453')]()});});}function _0x232e84(_0x418020,_0x1855b4,_0x2fe90e){return _0x3f8818[_0x477d('0xb4a')][_0x477d('0x49d')]({'id':_0x418020['id'],'exists':!![],'attachments':_0x2fe90e})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x4922f1){var _0x2af9fa=[_0x4922f1['buffer']];var _0x353c16=_0x477d('0x1364')+_0x418020['id'];var _0x484003=new Blob(_0x2af9fa,{'type':_0x4922f1[_0x477d('0x439')]});_0x353c16=_0x477d('0x1365')+_0x418020['id']+_0x477d('0x1366');var _0x29ffc2=window['document'][_0x477d('0x3c7')]('a');_0x29ffc2[_0x477d('0x494')]('href',URL[_0x477d('0x49f')](_0x484003));_0x29ffc2[_0x477d('0x494')](_0x477d('0x49d'),_0x353c16);document['body'][_0x477d('0xd8f')](_0x29ffc2);_0x29ffc2[_0x477d('0x540')]();})['catch'](function(_0x572740){if(_0x572740[_0x477d('0x451')]&&_0x572740['data'][_0x477d('0xd67')]&&_0x572740['data']['errors'][_0x477d('0x79')]){for(var _0x23f2c1=0x0;_0x23f2c1<_0x572740['data'][_0x477d('0xd67')][_0x477d('0x79')];_0x23f2c1+=0x1){_0x30ad52[_0x477d('0x44a')]({'title':_0x572740['data']['errors'][_0x23f2c1]['type'],'msg':_0x572740['data'][_0x477d('0xd67')][_0x23f2c1][_0x477d('0x452')]});}}else{_0x30ad52[_0x477d('0x44a')]({'title':_0x572740[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x572740[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x572740[_0x477d('0x44d')]:_0x477d('0x123b'),'msg':_0x572740[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x572740[_0x477d('0x451')][_0x477d('0x452')]):_0x572740[_0x477d('0x453')]()});}});}function _0x51d5f4(_0xe17e0d,_0xcea29d){var _0x3e77f3=_0x1feab2[_0x477d('0xd78')]()[_0x477d('0x49a')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20interaction?')[_0x477d('0xd92')](_0x477d('0xd93')+(_0xe17e0d[_0x477d('0x94')]||_0xe17e0d['id']&&_[_0x477d('0x1367')](_0x477d('0x1368'))+_0xe17e0d['id']||'interaction')+_0x477d('0xd94')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x1369'))[_0x477d('0xd7c')](_0xcea29d)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x1feab2['show'](_0x3e77f3)[_0x477d('0x76')](function(){_0x521b16(_0xe17e0d);},function(){console[_0x477d('0x7b')](_0x477d('0xd97'));});}function _0x33d45c(_0x2b6b83){_0x4fbece['chatWebsiteInteractions']=_0x2b6b83||{'count':0x0,'rows':[]};for(var _0x2239dc=0x0;_0x2239dc<_0x4fbece[_0x477d('0x1341')]['rows']['length'];_0x2239dc+=0x1){var _0x1eaee0=_0x4fbece[_0x477d('0x1341')][_0x477d('0xf2')][_0x2239dc];_0x1caa46(_0x1eaee0);_0x1eaee0['Owner'][_0x477d('0x94')]=_0xffc8db(_0x1eaee0);}}function _0x187835(){_0x4fbece[_0x477d('0x3ef')][_0x477d('0x91c')]=(_0x4fbece[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x4fbece[_0x477d('0x3ef')][_0x477d('0x91d')];_0x4fbece[_0x477d('0x553')]=_0x3f8818[_0x477d('0xb4a')][_0x477d('0x376')](_0x4fbece['query'],_0x33d45c)[_0x477d('0x38b')];}function _0x2ecac9(_0x4de27b,_0x1836d2){_0x1feab2['show']({'controller':_0x477d('0x136a'),'controllerAs':'vm','templateUrl':_0x477d('0x136b'),'parent':angular[_0x477d('0x398')](_0x21e018[_0x477d('0x399')]),'targetEvent':_0x4de27b,'clickOutsideToClose':!![],'locals':{'chatWebsite':_0x4fbece['chatWebsite'],'interaction':_0x1836d2,'interactions':_0x4fbece['chatWebsiteInteractions']['rows'],'license':null,'setting':null,'crudPermissions':_0x4fbece['crudPermissions']}});}function _0x171526(_0x2579d5,_0x3eb1ce){_0x1feab2[_0x477d('0x395')]({'controller':_0x477d('0x136c'),'controllerAs':'vm','templateUrl':'app/main/apps/dashboards/views/general/agent/interaction/agent.general.interaction.dialog.html','parent':angular[_0x477d('0x398')](_0x21e018['body']),'targetEvent':_0x2579d5,'clickOutsideToClose':!![],'onShowing':function(_0x3ebeac,_0x44ea11){_0x3ebeac['vm']['init']({'id':0x1,'channel':'chat','interaction':_0x3eb1ce,'spy':!![]},_0x2537fb['$parent']['vm'][_0x477d('0xc8e')]);}});}function _0x521b16(_0xa883){_0x3f8818[_0x477d('0xb4a')]['delete']({'id':_0xa883['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x4fbece['chatWebsiteInteractions']['rows'],{'id':_0xa883['id']});_0x4fbece[_0x477d('0x1341')][_0x477d('0x3bb')]-=0x1;if(!_0x4fbece['chatWebsiteInteractions'][_0x477d('0xf2')][_0x477d('0x79')]){_0x187835();}_0x30ad52[_0x477d('0x485')]({'title':_0x477d('0x136d'),'msg':_0xa883[_0x477d('0x94')]?_0xa883[_0x477d('0x94')]+_0x477d('0xd7e'):''});})[_0x477d('0xf8')](function(_0x220304){if(_0x220304[_0x477d('0x451')]&&_0x220304[_0x477d('0x451')]['errors']&&_0x220304[_0x477d('0x451')]['errors']['length']){vm[_0x477d('0xd67')]=_0x220304['data'][_0x477d('0xd67')]||[{'message':_0x220304['toString'](),'type':_0x477d('0x12f0')}];for(var _0x34667e=0x0;_0x34667e<_0x220304['data'][_0x477d('0xd67')]['length'];_0x34667e++){_0x30ad52['error']({'title':_0x220304[_0x477d('0x451')][_0x477d('0xd67')][_0x34667e][_0x477d('0x439')],'msg':_0x220304[_0x477d('0x451')][_0x477d('0xd67')][_0x34667e]['message']});}}else{_0x30ad52[_0x477d('0x44a')]({'title':_0x220304[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x220304['status']+'\x20-\x20'+_0x220304[_0x477d('0x44d')]:_0x477d('0x12f0'),'msg':_0x220304['data']?JSON[_0x477d('0x3fb')](_0x220304['data'][_0x477d('0x452')]):_0x220304[_0x477d('0x452')]||_0x220304[_0x477d('0x453')]()});}});}function _0xdaa990(){var _0x2f08cd=angular['copy'](_0x4fbece[_0x477d('0x1342')]);_0x4fbece[_0x477d('0x1342')]=[];return _0x2f08cd;}function _0xd2e164(_0x349777){var _0x344956=_0x1feab2['confirm']()['title'](_0x477d('0x136e'))[_0x477d('0xd92')](_0x477d('0xd93')+_0x4fbece[_0x477d('0x1342')]['length']+_0x477d('0xda0')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x136f'))[_0x477d('0xd7c')](_0x349777)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x1feab2[_0x477d('0x395')](_0x344956)['then'](function(){_0x4fbece[_0x477d('0x1342')]['forEach'](function(_0x3d329f){_0x521b16(_0x3d329f);});_0x4fbece['selectedChatWebsiteInteractions']=[];});}function _0x1caa46(_0x3874a1){if(_0x3874a1[_0x477d('0x1370')]){_0x3874a1[_0x477d('0x1371')]=(_0x3874a1[_0x477d('0x1370')]['firstName']||'')+'\x20'+(_0x3874a1['Contact']['lastName']||'');}else{_0x3874a1[_0x477d('0x1371')]=_0x562cda[_0x477d('0x45f')](_0x477d('0x1372'));}}function _0xffc8db(_0x89f093){if(_0x89f093[_0x477d('0x125b')]){if(_0x89f093[_0x477d('0x125b')]===_0x4fbece[_0x477d('0x3e5')]['id']){return _0x562cda['instant'](_0x477d('0x1373'));}else{return _0x89f093[_0x477d('0x1374')][_0x477d('0xcd')]+'\x20<'+_0x89f093['Owner'][_0x477d('0x324')]+'>';}}return _0x562cda[_0x477d('0x45f')](_0x477d('0x1354'));}var _0x7c7d98=!![];var _0x1c5fbf=0x1;_0x2537fb[_0x477d('0x4b5')](_0x477d('0x12f3'),function(_0x219b58,_0x2d8d83){if(_0x7c7d98){_0x4fc829(function(){_0x7c7d98=![];});}else{if(!_0x2d8d83){_0x1c5fbf=_0x4fbece['query']['page'];}if(_0x219b58!==_0x2d8d83){_0x4fbece[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0x219b58){_0x4fbece['query']['page']=_0x1c5fbf;}_0x187835();}});}}());(function(){'use strict';_0x1dfb15[_0x477d('0xa')]=[_0x477d('0x385'),_0x477d('0x40e')];angular[_0x477d('0xb')](_0x477d('0x30'))[_0x477d('0x3ba')](_0x477d('0x1375'),_0x1dfb15);function _0x1dfb15(_0x998f56,_0xd4a8a4){var _0x93860a=this;var _0x565545=0x8;var _0x4022db=_0x565545*0x400*0x400;_0x93860a['chatWebsite']={};_0x93860a[_0x477d('0xd66')];_0x93860a[_0x477d('0x1174')]={'singleFile':!![],'maxChunkRetries':0x1,'chunkSize':_0x4022db,'simultaneousUploads':0x1,'testChunks':![],'progressCallbacksInterval':0x3e8,'allowDuplicateUploads':!![]};_0x93860a[_0x477d('0x129f')]={'flow':{}};_0x93860a[_0x477d('0x1175')]=![];_0x93860a['fileAdded']=_0x3d8561;_0x93860a[_0x477d('0x12a0')]=_0x21fdab;_0x93860a[_0x477d('0x133a')]=_0x2fcff8;_0x93860a['init']=_0xa8c3f7;function _0xa8c3f7(_0x4d6b7c,_0x26d392){_0x93860a[_0x477d('0xb32')]=angular[_0x477d('0x6d9')](_0x4d6b7c);_0x93860a[_0x477d('0xd66')]=typeof _0x26d392!==_0x477d('0x4a4')?_0x26d392:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x93860a['ngFlowOptions'][_0x477d('0x378')]=_0x477d('0x1376')[_0x477d('0x409')](_0x477d('0x133c'),_0x93860a[_0x477d('0xb32')]['id']);_0x93860a[_0x477d('0xb32')][_0x477d('0x12a2')]=[];}function _0x3d8561(_0x158d27){var _0xb003d4=[_0x477d('0x12a3'),'jpg'];if(!_[_0x477d('0x3a4')](_0xb003d4,_0x158d27[_0x477d('0x1178')]())){_0xd4a8a4[_0x477d('0x44a')]({'title':'Invalid\x20extension:\x20'+_0x158d27[_0x477d('0x1178')](),'msg':_0x477d('0x12a5')+_0xb003d4['join']()});return![];}if(_0x158d27[_0x477d('0x117b')]>_0x4022db){_0xd4a8a4[_0x477d('0x44a')]({'title':_0x477d('0x12a6'),'msg':'The\x20max\x20allowed\x20size\x20is\x20'+_0x565545+'MB'});return![];}var _0x978246={'id':_0x158d27[_0x477d('0x12a7')],'file':_0x158d27,'type':'uploading'};_0x93860a[_0x477d('0xb32')][_0x477d('0x12a2')][_0x477d('0x63b')](_0x978246);return!![];}function _0x21fdab(){_0x93860a[_0x477d('0x129f')]['flow'][_0x477d('0x12a8')][_0x477d('0x3c0')]={'X-Requested-With':'XMLHttpRequest','Authorization':_0x477d('0x12aa')+_0x998f56[_0x477d('0x376')](_0x477d('0x389'))};_0x93860a[_0x477d('0x129f')][_0x477d('0xae')][_0x477d('0x12a0')]();}function _0x2fcff8(_0x2a326c,_0x4ad126){angular[_0x477d('0x3b1')](_0x93860a[_0x477d('0xb32')][_0x477d('0x12a2')],function(_0x13be8c,_0xad5c95){if(_0x13be8c['id']===_0x2a326c[_0x477d('0x12a7')]){var _0x19fb41=new FileReader();_0x19fb41[_0x477d('0xecd')](_0x13be8c['file']['file']);_0x19fb41[_0x477d('0xec7')]=function(_0x3eb582){_0x13be8c[_0x477d('0x3c1')]=_0x3eb582[_0x477d('0x378')]['result'];};_0x13be8c[_0x477d('0x439')]=_0x477d('0x12ab');}});}}}());(function(){'use strict';_0x27ff29[_0x477d('0xa')]=[_0x477d('0x385'),_0x477d('0x474'),_0x477d('0x3c4'),'$q',_0x477d('0x40d'),'$timeout','$mdDialog',_0x477d('0x475'),_0x477d('0x40e'),_0x477d('0x386'),_0x477d('0x55')];angular[_0x477d('0xb')](_0x477d('0x30'))[_0x477d('0x3ba')]('ChatWebsiteOfflineMessagesController',_0x27ff29);function _0x27ff29(_0x2f8a12,_0x1dfcfc,_0x226279,_0x4726b4,_0x21decb,_0x4ea1bf,_0x2f7158,_0x1d3005,_0x4d1bf8,_0x4bcf6c,_0xf0ef9c){var _0x1335e0=this;_0x1335e0['currentUser']=_0xf0ef9c[_0x477d('0x5c')]();_0x1335e0['chatWebsite']={};_0x1335e0[_0x477d('0x1377')]={'count':0x0,'rows':[]};_0x1335e0[_0x477d('0x1378')]=[];_0x1335e0['crudPermissions'];_0x1335e0[_0x477d('0x3ef')]={'fields':_0x477d('0x1379'),'sort':_0x477d('0x1343'),'limit':0xa,'page':0x1};_0x1335e0[_0x477d('0x5ee')]=_0x55512f;_0x1335e0[_0x477d('0xe66')]=_0xa190b2;_0x1335e0[_0x477d('0x485')]=_0x4eda9f;_0x1335e0[_0x477d('0x137a')]=_0x1e2b1c;_0x1335e0['createOrEditChatWebsiteOfflineMessage']=_0x21db78;_0x1335e0[_0x477d('0x137b')]=_0x2e54a0;_0x1335e0['exportSelectedChatWebsiteOfflineMessages']=_0x45dace;_0x1335e0[_0x477d('0x137c')]=_0x32fc58;_0x1335e0['deleteSelectedChatWebsiteOfflineMessages']=_0x144d3f;function _0x55512f(_0x4b75c6,_0x1f251c){_0x1335e0['chatWebsite']=_0x4b75c6;_0x1335e0[_0x477d('0xd66')]=typeof _0x1f251c!==_0x477d('0x4a4')?_0x1f251c:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x1335e0['query']['id']=_0x1335e0['chatWebsite']['id'];_0x1e2b1c();}function _0xa190b2(_0x2122f4,_0x254452){var _0x23d41e=_0x2f7158['confirm']()[_0x477d('0x49a')](_0x477d('0x137d'))[_0x477d('0xd92')](_0x477d('0xd93')+(_0x2122f4[_0x477d('0x94')]||_0x2122f4['id']&&_[_0x477d('0x1367')](_0x477d('0x137e'))+_0x2122f4['id']||_0x477d('0x137f'))+_0x477d('0xd94')+'\x20will\x20be\x20deleted.')[_0x477d('0x687')]('delete\x20offlineMessage')[_0x477d('0xd7c')](_0x254452)['ok']('OK')[_0x477d('0x4f0')]('CANCEL');_0x2f7158[_0x477d('0x395')](_0x23d41e)[_0x477d('0x76')](function(){_0x32fc58(_0x2122f4);},function(){console[_0x477d('0x7b')]('CANCEL');});}function _0x4eda9f(_0x511cb9){_0x1335e0['chatWebsiteOfflineMessages']=_0x511cb9||{'count':0x0,'rows':[]};}function _0x1e2b1c(){_0x1335e0['query'][_0x477d('0x91c')]=(_0x1335e0[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x1335e0['query'][_0x477d('0x91d')];_0x1335e0[_0x477d('0x553')]=_0x4bcf6c[_0x477d('0xb32')][_0x477d('0x1380')](_0x1335e0[_0x477d('0x3ef')],_0x4eda9f)[_0x477d('0x38b')];}function _0x21db78(_0x283406,_0x5733f2){_0x2f7158[_0x477d('0x395')]({'controller':_0x477d('0x1381'),'controllerAs':'vm','templateUrl':'app/main/apps/chat/views/chatWebsites/edit/offlineMessages/dialog.html','parent':angular[_0x477d('0x398')](_0x1d3005['body']),'targetEvent':_0x283406,'clickOutsideToClose':!![],'locals':{'chatWebsite':_0x1335e0[_0x477d('0xb32')],'offlineMessage':_0x5733f2,'offlineMessages':_0x1335e0[_0x477d('0x1377')][_0x477d('0xf2')],'license':null,'setting':null,'crudPermissions':_0x1335e0['crudPermissions']}});}function _0x2e54a0(_0x3fb1a2,_0x15014c){_0x2f7158[_0x477d('0x395')]({'controller':_0x477d('0x1382'),'controllerAs':'vm','templateUrl':_0x477d('0x1383'),'parent':angular[_0x477d('0x398')](_0x1d3005['body']),'targetEvent':_0x3fb1a2,'clickOutsideToClose':!![],'resolve':{'message':[_0x477d('0x5e'),'$stateParams',function(_0x27ec3d,_0x129268){return _0x27ec3d[_0x477d('0x5a')](_0x477d('0x1384'),{'fields':_0x477d('0x1385'),'id':_0x15014c['id']});}]}});}function _0x32fc58(_0x1c448b){_0x4bcf6c[_0x477d('0xb58')][_0x477d('0xa55')]({'id':_0x1c448b['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x1335e0[_0x477d('0x1377')]['rows'],{'id':_0x1c448b['id']});_0x1335e0[_0x477d('0x1377')][_0x477d('0x3bb')]-=0x1;if(!_0x1335e0['chatWebsiteOfflineMessages'][_0x477d('0xf2')]['length']){_0x1e2b1c();}_0x4d1bf8[_0x477d('0x485')]({'title':_0x477d('0x1386'),'msg':_0x1c448b[_0x477d('0x94')]?_0x1c448b['name']+_0x477d('0xd7e'):''});})[_0x477d('0xf8')](function(_0x218147){if(_0x218147[_0x477d('0x451')]&&_0x218147['data'][_0x477d('0xd67')]&&_0x218147[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){vm[_0x477d('0xd67')]=_0x218147['data'][_0x477d('0xd67')]||[{'message':_0x218147[_0x477d('0x453')](),'type':_0x477d('0x12f0')}];for(var _0x306522=0x0;_0x306522<_0x218147['data'][_0x477d('0xd67')]['length'];_0x306522++){_0x4d1bf8[_0x477d('0x44a')]({'title':_0x218147['data'][_0x477d('0xd67')][_0x306522][_0x477d('0x439')],'msg':_0x218147[_0x477d('0x451')]['errors'][_0x306522][_0x477d('0x452')]});}}else{_0x4d1bf8[_0x477d('0x44a')]({'title':_0x218147[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x218147['status']+_0x477d('0x44c')+_0x218147[_0x477d('0x44d')]:_0x477d('0x12f0'),'msg':_0x218147['data']?JSON[_0x477d('0x3fb')](_0x218147[_0x477d('0x451')][_0x477d('0x452')]):_0x218147[_0x477d('0x452')]||_0x218147['toString']()});}});}function _0x45dace(){var _0x24d847=angular['copy'](_0x1335e0[_0x477d('0x1378')]);_0x1335e0[_0x477d('0x1378')]=[];return _0x24d847;}function _0x144d3f(_0x2ea6b4){var _0x2356f5=_0x2f7158[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x1387'))[_0x477d('0xd92')](_0x477d('0xd93')+_0x1335e0[_0x477d('0x1378')]['length']+_0x477d('0xda0')+_0x477d('0xd95'))['ariaLabel']('delete\x20offlineMessages')[_0x477d('0xd7c')](_0x2ea6b4)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x2f7158[_0x477d('0x395')](_0x2356f5)[_0x477d('0x76')](function(){_0x1335e0['selectedChatWebsiteOfflineMessages'][_0x477d('0x3b1')](function(_0x14a227){_0x32fc58(_0x14a227);});_0x1335e0[_0x477d('0x1378')]=[];});}var _0x4ecf4b=!![];var _0x4d56c6=0x1;_0x1dfcfc[_0x477d('0x4b5')](_0x477d('0x12f3'),function(_0x3f3b14,_0x574eb7){if(_0x4ecf4b){_0x4ea1bf(function(){_0x4ecf4b=![];});}else{if(!_0x574eb7){_0x4d56c6=_0x1335e0['query']['page'];}if(_0x3f3b14!==_0x574eb7){_0x1335e0[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0x3f3b14){_0x1335e0[_0x477d('0x3ef')][_0x477d('0xe03')]=_0x4d56c6;}_0x1e2b1c();}});}}());(function(){'use strict';_0x4ea9c4[_0x477d('0xa')]=['$mdDialog',_0x477d('0x452')];angular['module'](_0x477d('0x30'))[_0x477d('0x3ba')](_0x477d('0x1382'),_0x4ea9c4);function _0x4ea9c4(_0x3e88d6,_0x2cae74){var _0x5da04d=this;_0x5da04d['title']=_0x477d('0x1388');_0x5da04d[_0x477d('0x452')]=_0x2cae74;_0x5da04d[_0x477d('0x6bf')]=_0x22d0c1;function _0x22d0c1(_0x20920e){_0x3e88d6['hide'](_0x20920e);}}}());(function(){'use strict';_0x47152c[_0x477d('0xa')]=[_0x477d('0x385'),'$scope',_0x477d('0x3c4'),'$q','$translate',_0x477d('0x3fe'),'$mdDialog',_0x477d('0x475'),'toasty','api',_0x477d('0x55')];angular[_0x477d('0xb')]('app.chat')[_0x477d('0x3ba')](_0x477d('0x1389'),_0x47152c);function _0x47152c(_0x2b171a,_0x3bb60d,_0x42efc2,_0x283960,_0x3afcda,_0x523eef,_0x2e7f1c,_0x5cbd94,_0x362e47,_0x44cd85,_0x1db1bc){var _0x463594=this;_0x463594['currentUser']=_0x1db1bc[_0x477d('0x5c')]();_0x463594[_0x477d('0xb32')]={};_0x463594[_0x477d('0x138a')]={'count':0x0,'rows':[]};_0x463594['selectedChatWebsiteProactiveActions']=[];_0x463594[_0x477d('0xd66')];_0x463594[_0x477d('0x3ef')]={'fields':'createdAt,updatedAt,id,name,type,selector,timeout','limit':0xa,'page':0x1};_0x463594[_0x477d('0x138b')]=_['keyBy']([{'option':_0x477d('0x138c'),'value':'\x27mouseOver\x27'},{'option':_0x477d('0x125a'),'value':_0x477d('0x138d')}],function(_0x58f913){return _[_0x477d('0x409')](_0x58f913[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x463594['init']=_0x45e7cc;_0x463594[_0x477d('0xe66')]=_0x4fb360;_0x463594[_0x477d('0x485')]=_0x5d53f4;_0x463594[_0x477d('0x138e')]=_0x1c9b55;_0x463594[_0x477d('0x138f')]=_0x187e2e;_0x463594['exportSelectedChatWebsiteProactiveActions']=_0x3629be;_0x463594['deleteChatWebsiteChatProactiveAction']=_0x1f9b6c;_0x463594[_0x477d('0x1390')]=_0x15fe4a;function _0x45e7cc(_0x338553,_0xaef30e){_0x463594[_0x477d('0xb32')]=_0x338553;_0x463594[_0x477d('0xd66')]=typeof _0xaef30e!==_0x477d('0x4a4')?_0xaef30e:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x463594[_0x477d('0x3ef')][_0x477d('0x1237')]=_0x463594[_0x477d('0xb32')]['id'];_0x463594[_0x477d('0x3ef')]['id']=_0x463594['chatWebsite']['id'];_0x1c9b55();}function _0x4fb360(_0x1c1b28,_0x2ed3f2){var _0x176243=_0x2e7f1c['confirm']()[_0x477d('0x49a')](_0x477d('0x1391'))['htmlContent'](_0x477d('0xd93')+(_0x1c1b28['name']||_0x1c1b28['id']&&_['upperFirst']('chatProactiveAction\x20#')+_0x1c1b28['id']||_0x477d('0xb65'))+''+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x1392'))[_0x477d('0xd7c')](_0x2ed3f2)['ok']('OK')['cancel']('CANCEL');_0x2e7f1c[_0x477d('0x395')](_0x176243)['then'](function(){_0x1f9b6c(_0x1c1b28);},function(){console[_0x477d('0x7b')](_0x477d('0xd97'));});}function _0x5d53f4(_0x1d3c6b){_0x463594[_0x477d('0x138a')]=_0x1d3c6b||{'count':0x0,'rows':[]};}function _0x1c9b55(){_0x463594[_0x477d('0x3ef')][_0x477d('0x91c')]=(_0x463594['query']['page']-0x1)*_0x463594['query'][_0x477d('0x91d')];_0x463594[_0x477d('0x553')]=_0x44cd85[_0x477d('0xb32')]['getProactiveActions'](_0x463594[_0x477d('0x3ef')],_0x5d53f4)[_0x477d('0x38b')];}function _0x187e2e(_0x471727,_0x528e15){_0x2e7f1c[_0x477d('0x395')]({'controller':_0x477d('0x1393'),'controllerAs':'vm','templateUrl':_0x477d('0x1394'),'parent':angular[_0x477d('0x398')](_0x5cbd94[_0x477d('0x399')]),'targetEvent':_0x471727,'clickOutsideToClose':!![],'locals':{'chatWebsite':_0x463594[_0x477d('0xb32')],'chatProactiveAction':_0x528e15,'proactive':_0x463594['chatWebsiteProactiveActions'][_0x477d('0xf2')],'license':null,'setting':null,'crudPermissions':_0x463594[_0x477d('0xd66')]}});}function _0x1f9b6c(_0x12a971){_0x44cd85[_0x477d('0xb65')]['delete']({'id':_0x12a971['id']})['$promise'][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x463594[_0x477d('0x138a')][_0x477d('0xf2')],{'id':_0x12a971['id']});_0x463594[_0x477d('0x138a')]['count']-=0x1;if(!_0x463594[_0x477d('0x138a')][_0x477d('0xf2')]['length']){_0x1c9b55();}_0x362e47['success']({'title':_0x477d('0x1395'),'msg':_0x12a971[_0x477d('0x94')]?_0x12a971[_0x477d('0x94')]+_0x477d('0xd7e'):''});})[_0x477d('0xf8')](function(_0x4dd07c){if(_0x4dd07c[_0x477d('0x451')]&&_0x4dd07c['data'][_0x477d('0xd67')]&&_0x4dd07c[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){vm[_0x477d('0xd67')]=_0x4dd07c[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x4dd07c[_0x477d('0x453')](),'type':_0x477d('0x12f0')}];for(var _0x48a2d4=0x0;_0x48a2d4<_0x4dd07c[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x48a2d4++){_0x362e47['error']({'title':_0x4dd07c[_0x477d('0x451')]['errors'][_0x48a2d4][_0x477d('0x439')],'msg':_0x4dd07c[_0x477d('0x451')]['errors'][_0x48a2d4][_0x477d('0x452')]});}}else{_0x362e47[_0x477d('0x44a')]({'title':_0x4dd07c[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x4dd07c[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x4dd07c[_0x477d('0x44d')]:'SYSTEM:GETchatWebsite','msg':_0x4dd07c[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x4dd07c[_0x477d('0x451')][_0x477d('0x452')]):_0x4dd07c['message']||_0x4dd07c[_0x477d('0x453')]()});}});}function _0x3629be(){var _0x24edeb=angular['copy'](_0x463594[_0x477d('0x1396')]);_0x463594[_0x477d('0x1396')]=[];return _0x24edeb;}function _0x15fe4a(_0x53a028){var _0x5be52f=_0x2e7f1c['confirm']()['title']('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20proactive?')[_0x477d('0xd92')](''+_0x463594[_0x477d('0x1396')][_0x477d('0x79')]+_0x477d('0xda0')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x1397'))[_0x477d('0xd7c')](_0x53a028)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x2e7f1c[_0x477d('0x395')](_0x5be52f)[_0x477d('0x76')](function(){_0x463594[_0x477d('0x1396')][_0x477d('0x3b1')](function(_0x5d2aac){_0x1f9b6c(_0x5d2aac);});_0x463594['selectedChatWebsiteProactiveActions']=[];});}var _0x1b76e3=!![];var _0x11755b=0x1;_0x3bb60d[_0x477d('0x4b5')](_0x477d('0x12f3'),function(_0x2da0ba,_0x126cdb){if(_0x1b76e3){_0x523eef(function(){_0x1b76e3=![];});}else{if(!_0x126cdb){_0x11755b=_0x463594[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x2da0ba!==_0x126cdb){_0x463594['query'][_0x477d('0xe03')]=0x1;}if(!_0x2da0ba){_0x463594[_0x477d('0x3ef')][_0x477d('0xe03')]=_0x11755b;}_0x1c9b55();}});}}());(function(){'use strict';_0x593a88['$inject']=[_0x477d('0x474'),'$state',_0x477d('0xd64'),_0x477d('0x384'),'$q','$translate',_0x477d('0x40e'),_0x477d('0x1398'),_0x477d('0xb65'),_0x477d('0x386'),'Auth',_0x477d('0x613'),'setting',_0x477d('0xd66')];angular['module'](_0x477d('0x30'))[_0x477d('0x3ba')](_0x477d('0x1393'),_0x593a88);function _0x593a88(_0x598184,_0x165005,_0x3a7488,_0x514bf0,_0x363ff8,_0x3657c5,_0x363847,_0x2a8cad,_0x5d9622,_0x550eef,_0x4927f7,_0x130374,_0x3cba9b,_0x2d6be2){var _0x21809e=this;_0x21809e[_0x477d('0x3e5')]=_0x4927f7['getCurrentUser']();_0x21809e[_0x477d('0xd67')]=[];_0x21809e[_0x477d('0xc8e')]=_0x3cba9b;_0x21809e[_0x477d('0x613')]=_0x130374;_0x21809e[_0x477d('0xd66')]=_0x2d6be2;_0x21809e[_0x477d('0xd68')]={};_0x21809e[_0x477d('0xd69')]=_0x21809e['setting']&&_0x21809e[_0x477d('0xc8e')]['securePassword']?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x21809e[_0x477d('0x49a')]=_0x477d('0x1399');_0x21809e[_0x477d('0xb65')]=angular[_0x477d('0x6d9')](_0x5d9622);_0x21809e[_0x477d('0x1398')]=_0x2a8cad;_0x21809e[_0x477d('0x139a')]=![];if(!_0x21809e[_0x477d('0xb65')]){_0x21809e[_0x477d('0xb65')]={'type':_0x477d('0x139b')};_0x21809e[_0x477d('0x49a')]=_0x477d('0x139c');_0x21809e['newChatProactiveAction']=!![];}if(_0x165005[_0x477d('0x37e')]['id']){_0x21809e[_0x477d('0xb65')]['ChatWebsiteId']=_0x165005['params']['id'];}_0x21809e[_0x477d('0x139d')]=_0x1c1514;_0x21809e[_0x477d('0x139e')]=_0xf9f609;_0x21809e[_0x477d('0x139f')]=_0x1a7cdb;_0x21809e[_0x477d('0xd6f')]=_0x35a35c;_0x21809e[_0x477d('0x6bf')]=_0x231f11;function _0x1c1514(){_0x21809e[_0x477d('0xd67')]=[];_0x550eef[_0x477d('0xb65')]['save'](_0x21809e['chatProactiveAction'])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x13d71c){_0x21809e[_0x477d('0x1398')][_0x477d('0x63b')](_0x13d71c[_0x477d('0xd71')]());_0x363847[_0x477d('0x485')]({'title':_0x477d('0x13a0'),'msg':_0x21809e[_0x477d('0xb65')][_0x477d('0x94')]?_0x21809e[_0x477d('0xb65')][_0x477d('0x94')]+_0x477d('0xd73'):''});_0x231f11(_0x13d71c);})[_0x477d('0xf8')](function(_0x5d70b2){if(_0x5d70b2[_0x477d('0x451')]&&_0x5d70b2[_0x477d('0x451')][_0x477d('0xd67')]&&_0x5d70b2[_0x477d('0x451')]['errors'][_0x477d('0x79')]){_0x21809e['errors']=_0x5d70b2[_0x477d('0x451')]['errors']||[{'message':_0x5d70b2[_0x477d('0x453')](),'type':_0x477d('0x13a1')}];for(var _0x538a46=0x0;_0x538a46<_0x5d70b2[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x538a46+=0x1){_0x363847[_0x477d('0x44a')]({'title':_0x5d70b2[_0x477d('0x451')]['errors'][_0x538a46][_0x477d('0x439')],'msg':_0x5d70b2[_0x477d('0x451')][_0x477d('0xd67')][_0x538a46]['message']});}}else{_0x363847['error']({'title':_0x5d70b2[_0x477d('0x3c3')]?'API:'+_0x5d70b2[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x5d70b2[_0x477d('0x44d')]:_0x477d('0x13a1'),'msg':_0x5d70b2[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x5d70b2[_0x477d('0x451')][_0x477d('0x452')]):_0x5d70b2[_0x477d('0x453')]()});}});}function _0xf9f609(){_0x21809e[_0x477d('0xd67')]=[];_0x550eef['chatProactiveAction'][_0x477d('0x710')]({'id':_0x21809e[_0x477d('0xb65')]['id']},_0x21809e[_0x477d('0xb65')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0xc3a624){var _0x5d45ff=_[_0x477d('0x10a')](_0x21809e[_0x477d('0x1398')],{'id':_0xc3a624['id']});if(_0x5d45ff){_[_0x477d('0xef')](_0x5d45ff,_[_0x477d('0x10b')](_0xc3a624['toJSON'](),_['keys'](_0x5d45ff)));}_0x363847[_0x477d('0x485')]({'title':_0x477d('0x13a2'),'msg':_0x21809e[_0x477d('0xb65')]['name']?_0x21809e['chatProactiveAction'][_0x477d('0x94')]+'\x20has\x20been\x20saved!':''});_0x231f11(_0xc3a624);})[_0x477d('0xf8')](function(_0x37c256){if(_0x37c256['data']&&_0x37c256[_0x477d('0x451')][_0x477d('0xd67')]&&_0x37c256[_0x477d('0x451')][_0x477d('0xd67')]['length']){_0x21809e[_0x477d('0xd67')]=_0x37c256[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x37c256[_0x477d('0x453')](),'type':'api.chatProactiveAction.update'}];for(var _0x47998d=0x0;_0x47998d<_0x37c256['data'][_0x477d('0xd67')][_0x477d('0x79')];_0x47998d++){_0x363847[_0x477d('0x44a')]({'title':_0x37c256[_0x477d('0x451')]['errors'][_0x47998d]['type'],'msg':_0x37c256[_0x477d('0x451')][_0x477d('0xd67')][_0x47998d][_0x477d('0x452')]});}}else{_0x363847['error']({'title':_0x37c256[_0x477d('0x3c3')]?'API:'+_0x37c256[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x37c256[_0x477d('0x44d')]:_0x477d('0x13a3'),'msg':_0x37c256[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x37c256[_0x477d('0x451')][_0x477d('0x452')]):_0x37c256[_0x477d('0x453')]()});}});}function _0x1a7cdb(_0x2cd8c2){_0x21809e[_0x477d('0xd67')]=[];var _0x204bb5=_0x514bf0[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xd79'))['content'](_0x477d('0x13a4'))[_0x477d('0x687')](_0x477d('0x13a5'))['ok'](_0x477d('0xd7b'))['cancel'](_0x477d('0x688'))['targetEvent'](_0x2cd8c2);_0x514bf0[_0x477d('0x395')](_0x204bb5)[_0x477d('0x76')](function(){_0x550eef[_0x477d('0xb65')][_0x477d('0xa55')]({'id':_0x21809e[_0x477d('0xb65')]['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_['remove'](_0x21809e[_0x477d('0x1398')],{'id':_0x21809e[_0x477d('0xb65')]['id']});_0x363847[_0x477d('0x485')]({'title':_0x477d('0x13a6'),'msg':(_0x21809e[_0x477d('0xb65')][_0x477d('0x94')]||_0x477d('0xb65'))+_0x477d('0xd7e')});_0x231f11(_0x21809e[_0x477d('0xb65')]);})[_0x477d('0xf8')](function(_0x3d75d2){if(_0x3d75d2[_0x477d('0x451')]&&_0x3d75d2[_0x477d('0x451')][_0x477d('0xd67')]&&_0x3d75d2['data'][_0x477d('0xd67')]['length']){_0x21809e['errors']=_0x3d75d2[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x3d75d2['toString'](),'type':'api.chatProactiveAction.delete'}];for(var _0x324608=0x0;_0x324608<_0x3d75d2['data'][_0x477d('0xd67')]['length'];_0x324608++){_0x363847[_0x477d('0x44a')]({'title':_0x3d75d2[_0x477d('0x451')][_0x477d('0xd67')][_0x324608]['type'],'msg':_0x3d75d2[_0x477d('0x451')][_0x477d('0xd67')][_0x324608][_0x477d('0x452')]});}}else{_0x363847['error']({'title':_0x3d75d2[_0x477d('0x3c3')]?'API:'+_0x3d75d2[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x3d75d2[_0x477d('0x44d')]:_0x477d('0x13a7'),'msg':_0x3d75d2[_0x477d('0x451')]?JSON['stringify'](_0x3d75d2[_0x477d('0x451')][_0x477d('0x452')]):_0x3d75d2[_0x477d('0x452')]||_0x3d75d2['toString']()});}});},function(){});}function _0x35a35c(_0x3ec1e7){return _0x3ec1e7===null?undefined:new Date(_0x3ec1e7);}function _0x231f11(_0x197525){_0x514bf0[_0x477d('0x3bc')](_0x197525);}}}());(function(){'use strict';_0x59915b[_0x477d('0xa')]=['$scope'];angular[_0x477d('0xb')](_0x477d('0x30'))['controller']('ChatWebsiteScriptController',_0x59915b);function _0x59915b(_0x4d87c3){var _0x4b04f9=this;_0x4b04f9[_0x477d('0xb32')]={};_0x4b04f9[_0x477d('0x5ee')]=_0x5d9334;_0x4b04f9['info']={};function _0x5d9334(_0xb9bb6a){_0x4b04f9[_0x477d('0xb32')]=_0xb9bb6a;_0x4b04f9[_0x477d('0x612')]=_0x477d('0x13a8');_0x4b04f9[_0x477d('0x13a9')]=_0x477d('0x13aa')+_0x4b04f9['chatWebsite']['remote']+_0x477d('0x13ab')+_0x4b04f9[_0x477d('0xb32')]['id']+_0x477d('0x13ac')+_0x4b04f9['chatWebsite']['token']+_0x477d('0x13ad');_0x4b04f9['end']=_0x477d('0x13a8');}_0x4d87c3[_0x477d('0x4b5')](_0x477d('0x13ae'),function(_0x4ed52c){_0x4b04f9[_0x477d('0x13a9')]='\x0a\x20\x20\x20\x20_0x20d62c){_0x3a4cf2[_0x477d('0x44a')]({'title':_0x477d('0x12a6'),'msg':_0x477d('0x133e')+_0x12c208+'MB'});return![];}var _0x18cf4e={'id':_0x4f1b53[_0x477d('0x12a7')],'file':_0x4f1b53,'type':_0x477d('0x133f')};_0x8887a['chatWebsite'][_0x477d('0x12a2')]['unshift'](_0x18cf4e);return!![];}function _0x48de25(){_0x8887a[_0x477d('0x129f')]['flow'][_0x477d('0x12a8')][_0x477d('0x3c0')]={'X-Requested-With':_0x477d('0x12a9'),'Authorization':_0x477d('0x12aa')+_0x145c12[_0x477d('0x376')](_0x477d('0x389'))};_0x8887a[_0x477d('0x129f')][_0x477d('0xae')]['upload']();}function _0x4997d2(_0x482689,_0x1ed780){angular[_0x477d('0x3b1')](_0x8887a[_0x477d('0xb32')]['images'],function(_0x184b01,_0x423161){if(_0x184b01['id']===_0x482689['uniqueIdentifier']){var _0x27b313=new FileReader();_0x27b313[_0x477d('0xecd')](_0x184b01[_0x477d('0xec5')]['file']);_0x27b313[_0x477d('0xec7')]=function(_0x26f702){_0x184b01[_0x477d('0x3c1')]=_0x26f702[_0x477d('0x378')][_0x477d('0xec8')];};_0x184b01[_0x477d('0x439')]=_0x477d('0x12ab');}});}}}());(function(){'use strict';_0x1f5584['$inject']=['$state',_0x477d('0xd64'),_0x477d('0x384'),'$document','$translate','license',_0x477d('0xc8e'),_0x477d('0x386'),_0x477d('0x40e'),'Auth',_0x477d('0xb32'),_0x477d('0x3ac')];angular[_0x477d('0xb')]('app.chat')[_0x477d('0x3ba')](_0x477d('0x13b0'),_0x1f5584);function _0x1f5584(_0x4ea49b,_0x4c1df6,_0x12c075,_0xd0c073,_0x4257da,_0x30b25a,_0x1e733a,_0x186663,_0x39ab19,_0x434162,_0x3925b8,_0x2b4dcf){var _0x24f6b2=this;_0x24f6b2[_0x477d('0x3e5')]=_0x434162['getCurrentUser']();_0x24f6b2[_0x477d('0x613')]=_0x30b25a;_0x24f6b2['setting']=_0x1e733a;_0x24f6b2['passwordPattern']=_0x24f6b2[_0x477d('0xc8e')][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x24f6b2[_0x477d('0x3cc')]=_0x4c1df6[_0x477d('0x3ce')]()+_0x477d('0x1209')+_0x4c1df6['host']();_0x24f6b2['chatWebsite']=_0x3925b8||_0x4ea49b['params'][_0x477d('0xb32')]||{};_0x24f6b2[_0x477d('0x3ac')]=_0x2b4dcf&&_0x2b4dcf[_0x477d('0x3bb')]==0x1?_0x2b4dcf['rows'][0x0]:null;_0x24f6b2[_0x477d('0xd66')]=_0x434162[_0x477d('0xd81')](_0x24f6b2['userProfileSection']?_0x24f6b2[_0x477d('0x3ac')][_0x477d('0xd66')]:null);_0x24f6b2[_0x477d('0xd68')]={};_0x24f6b2['selectedTab']=_0x4ea49b[_0x477d('0x37e')][_0x477d('0xe96')]||0x0;_0x24f6b2[_0x477d('0x1222')]=_0x4825fe;_0x24f6b2[_0x477d('0x120a')]=_0x39ab19['info'];_0x24f6b2[_0x477d('0x13b1')]=_0x558a85;_0x24f6b2[_0x477d('0x1239')]=_0x4f0dd0;_0x434162[_0x477d('0x56')](_0x477d('0x5f'))?_0x186663[_0x477d('0xe3f')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x34ae9d){_0x24f6b2['lists']=_0x34ae9d['rows']||[];})[_0x477d('0xf8')](function(_0x23e0dc){_0x39ab19[_0x477d('0x44a')]({'title':_0x23e0dc[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x23e0dc[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x23e0dc['statusText']:_0x477d('0x1228'),'msg':_0x23e0dc[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x23e0dc[_0x477d('0x451')]):_0x23e0dc[_0x477d('0x453')]()});}):_0x186663[_0x477d('0xe3f')][_0x477d('0x376')]({'fields':'id,name','sort':_0x477d('0x94')})['$promise']['then'](function(_0x517c50){_0x24f6b2['lists']=_0x517c50[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x186663[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x24f6b2[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x12d})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x10b5ca){var _0x41d418=_0x10b5ca&&_0x10b5ca[_0x477d('0xf2')]?_0x10b5ca[_0x477d('0xf2')][0x0]:null;if(!_0x41d418){var _0x4fa005=[];var _0x4b6455=null;if(_0x24f6b2[_0x477d('0xb32')]){_0x4b6455=_['find'](_0x24f6b2[_0x477d('0xf1')],{'id':Number(_0x24f6b2[_0x477d('0xb32')]['ListId'])});}for(var _0x192ef2=0x0;_0x192ef2<_0x24f6b2['lists']['length'];_0x192ef2++){if(_0x4b6455&&_0x24f6b2[_0x477d('0xf1')][_0x192ef2]['id']===_0x4b6455['id']){_0x24f6b2[_0x477d('0xf1')][_0x192ef2][_0x477d('0xf8b')]=![];_0x4fa005[_0x477d('0x3a7')](_0x24f6b2[_0x477d('0xf1')][_0x192ef2]);}}_0x24f6b2['lists']=_0x4fa005;}else{if(!_0x41d418[_0x477d('0x3ad')]){return _0x186663[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x41d418['id']})['$promise'][_0x477d('0x76')](function(_0x4195b3){var _0x10b249=_[_0x477d('0x3cb')](_0x4195b3[_0x477d('0xf2')],function(_0x493ea7){return _['find'](_0x24f6b2['lists'],{'id':_0x493ea7[_0x477d('0x3af')]});});var _0x54d0ac=null;if(_0x24f6b2['chatWebsite']){_0x54d0ac=_[_0x477d('0x10a')](_0x24f6b2[_0x477d('0xf1')],{'id':Number(_0x24f6b2[_0x477d('0xb32')][_0x477d('0x1229')])});}if(_0x54d0ac&&!_[_0x477d('0x3ab')](_0x10b249,['id',_0x54d0ac['id']])){var _0x372fd5=_[_0x477d('0x10a')](_0x24f6b2[_0x477d('0xf1')],{'id':_0x54d0ac['id']});_0x372fd5[_0x477d('0xf8b')]=![];_0x10b249[_0x477d('0x3a7')](_0x372fd5);}_0x24f6b2[_0x477d('0xf1')]=_0x10b249;});}}})['catch'](function(_0x580acc){_0x39ab19[_0x477d('0x44a')]({'title':_0x580acc[_0x477d('0x3c3')]?'API:'+_0x580acc[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x580acc[_0x477d('0x44d')]:_0x477d('0x122a'),'msg':_0x580acc['data']?JSON[_0x477d('0x3fb')](_0x580acc[_0x477d('0x451')]):_0x580acc['toString']()});});_0x434162[_0x477d('0x56')](_0x477d('0x5f'))?_0x186663[_0x477d('0x79c')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':'name','IntervalId':_0x477d('0xea')})['$promise'][_0x477d('0x76')](function(_0x1ddba4){_0x24f6b2[_0x477d('0x79c')]=_0x1ddba4['rows']||[];})[_0x477d('0xf8')](function(_0x4cc2b4){_0x39ab19[_0x477d('0x44a')]({'title':_0x4cc2b4[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x4cc2b4[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x4cc2b4['statusText']:_0x477d('0x122b'),'msg':_0x4cc2b4[_0x477d('0x451')]?JSON['stringify'](_0x4cc2b4[_0x477d('0x451')]):_0x4cc2b4[_0x477d('0x453')]()});}):_0x186663['interval'][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'IntervalId':_0x477d('0xea')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x29ae10){_0x24f6b2[_0x477d('0x79c')]=_0x29ae10[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x186663[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x24f6b2[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x3ec})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x19bf27){var _0x2c68c8=_0x19bf27&&_0x19bf27[_0x477d('0xf2')]?_0x19bf27[_0x477d('0xf2')][0x0]:null;if(!_0x2c68c8){var _0x1b407c=[];var _0x31c84a=null;if(_0x24f6b2['chatWebsite']){_0x31c84a=_[_0x477d('0x10a')](_0x24f6b2[_0x477d('0x79c')],{'id':Number(_0x24f6b2['chatWebsite'][_0x477d('0xf8c')])});}for(var _0xd74a56=0x0;_0xd74a56<_0x24f6b2[_0x477d('0x79c')][_0x477d('0x79')];_0xd74a56++){if(_0x31c84a&&_0x24f6b2[_0x477d('0x79c')][_0xd74a56]['id']===_0x31c84a['id']){_0x24f6b2[_0x477d('0x79c')][_0xd74a56][_0x477d('0xf8b')]=![];_0x1b407c['push'](_0x24f6b2[_0x477d('0x79c')][_0xd74a56]);}}_0x24f6b2['interval']=_0x1b407c;}else{if(!_0x2c68c8[_0x477d('0x3ad')]){return _0x186663[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x2c68c8['id']})['$promise'][_0x477d('0x76')](function(_0x521757){var _0x264419=_[_0x477d('0x3cb')](_0x521757[_0x477d('0xf2')],function(_0x2aaf91){return _[_0x477d('0x10a')](_0x24f6b2['interval'],{'id':_0x2aaf91[_0x477d('0x3af')]});});var _0x2457c1=null;if(_0x24f6b2[_0x477d('0xb32')]){_0x2457c1=_[_0x477d('0x10a')](_0x24f6b2[_0x477d('0x79c')],{'id':Number(_0x24f6b2[_0x477d('0xb32')]['IntervalId'])});}if(_0x2457c1&&!_['some'](_0x264419,['id',_0x2457c1['id']])){var _0x728986=_[_0x477d('0x10a')](_0x24f6b2[_0x477d('0x79c')],{'id':_0x2457c1['id']});_0x728986[_0x477d('0xf8b')]=![];_0x264419[_0x477d('0x3a7')](_0x728986);}_0x24f6b2[_0x477d('0x79c')]=_0x264419;});}}})['catch'](function(_0x3b44f8){_0x39ab19[_0x477d('0x44a')]({'title':_0x3b44f8[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x3b44f8['status']+_0x477d('0x44c')+_0x3b44f8[_0x477d('0x44d')]:_0x477d('0x122c'),'msg':_0x3b44f8[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x3b44f8[_0x477d('0x451')]):_0x3b44f8[_0x477d('0x453')]()});});_0x434162['hasRole'](_0x477d('0x5f'))?_0x186663[_0x477d('0x657')]['get']({'fields':_0x477d('0x13b2'),'sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x270d29){_0x24f6b2[_0x477d('0xf39')]=_0x270d29[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x5a0502){_0x39ab19[_0x477d('0x44a')]({'title':_0x5a0502[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x5a0502[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x5a0502[_0x477d('0x44d')]:_0x477d('0x13b3'),'msg':_0x5a0502['data']?JSON[_0x477d('0x3fb')](_0x5a0502[_0x477d('0x451')]):_0x5a0502[_0x477d('0x453')]()});}):_0x186663[_0x477d('0x657')][_0x477d('0x376')]({'fields':_0x477d('0x13b2'),'sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x5fd0e0){_0x24f6b2[_0x477d('0xf39')]=_0x5fd0e0[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x186663['userProfileSection'][_0x477d('0x376')]({'userProfileId':_0x24f6b2['currentUser'][_0x477d('0x61')],'sectionId':0x3ed})['$promise'];})['then'](function(_0x1014e6){var _0x5c3216=_0x1014e6&&_0x1014e6['rows']?_0x1014e6[_0x477d('0xf2')][0x0]:null;if(!_0x5c3216){_0x24f6b2[_0x477d('0xf39')]=[];}else{if(!_0x5c3216[_0x477d('0x3ad')]){return _0x186663[_0x477d('0x3ae')]['get']({'sectionId':_0x5c3216['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x35c937){var _0x3a2ed0=_[_0x477d('0x3cb')](_0x35c937[_0x477d('0xf2')],function(_0x481da6){return _[_0x477d('0x10a')](_0x24f6b2[_0x477d('0xf39')],{'id':_0x481da6[_0x477d('0x3af')]});});_0x24f6b2['pauses'][_0x477d('0x3b1')](function(_0x3cfd21){if(!_['some'](_0x3a2ed0,['id',_0x3cfd21['id']])){_0x3cfd21[_0x477d('0xf8b')]=![];}_0x3a2ed0[_0x477d('0x3a7')](_0x3cfd21);});_0x24f6b2['pauses']=_0x3a2ed0;});}}})['catch'](function(_0x1664a6){_0x39ab19[_0x477d('0x44a')]({'title':_0x1664a6[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x1664a6[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x1664a6[_0x477d('0x44d')]:'SYSTEM:GETpauses','msg':_0x1664a6[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x1664a6[_0x477d('0x451')]):_0x1664a6['toString']()});});function _0x4825fe(_0x39fbb2,_0x4abe93){_0x12c075[_0x477d('0x395')]({'controller':_0x477d('0x122d'),'controllerAs':'vm','templateUrl':'app/main/apps/chat/views/chatWebsites/edit/agentadd/agentadd.html','parent':angular['element'](_0xd0c073['body']),'targetEvent':_0x4abe93,'clickOutsideToClose':!![],'locals':{'chatWebsite':_0x39fbb2,'chatWebsites':_0x24f6b2[_0x477d('0x120e')]?_0x24f6b2[_0x477d('0x120e')][_0x477d('0xf2')]:[],'crudPermissions':_0x24f6b2['crudPermissions'],'realtime':![]}});}function _0x558a85(){_0x4ea49b['go'](_0x477d('0xbb'),{},{'reload':_0x477d('0xbb')});}function _0x4f0dd0(){_0x186663[_0x477d('0xb32')]['update']({'id':_0x24f6b2[_0x477d('0xb32')]['id']},_0x24f6b2['chatWebsite'])[_0x477d('0x38b')][_0x477d('0x76')](function(){_0x39ab19['success']({'title':'ChatWebsite\x20updated!','msg':_0x24f6b2['chatWebsite'][_0x477d('0x94')]?_0x24f6b2[_0x477d('0xb32')][_0x477d('0x94')]+'\x20has\x20been\x20updated!':''});})['catch'](function(_0x5ef2fb){_0x39ab19[_0x477d('0x44a')]({'title':_0x5ef2fb[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x5ef2fb[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x5ef2fb['statusText']:_0x477d('0x12f0'),'msg':_0x5ef2fb[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x5ef2fb[_0x477d('0x451')]):_0x5ef2fb[_0x477d('0x453')]()});});}}}());(function(){'use strict';_0x32fc9e['$inject']=[_0x477d('0x474'),'$q',_0x477d('0x3fe'),'$mdDialog',_0x477d('0x475'),_0x477d('0x6db'),'pauses',_0x477d('0x125c'),'rpcAgents',_0x477d('0x386'),_0x477d('0x5a3'),'toasty',_0x477d('0x13b4'),'userProfile',_0x477d('0x3ac'),'Auth',_0x477d('0x613'),_0x477d('0x794')];angular[_0x477d('0xb')]('app.voice')[_0x477d('0x3ba')](_0x477d('0x13b5'),_0x32fc9e);function _0x32fc9e(_0x2d02a4,_0x4775a0,_0x8d5dc1,_0x25b0ae,_0x1432c8,_0x86095a,_0x5eff4d,_0x5a2c2a,_0x20dc10,_0x3af3dd,_0x142ff1,_0x5fb6e,_0x11b11b,_0x45d5df,_0x2dc89b,_0x2582b3,_0x1fa1c3,_0x20e34a){var _0x5ca2c6=this;var _0x43ff74=[_0x477d('0x13b6'),'online','lastLoginAt',_0x477d('0x13b7'),'pauseType',_0x477d('0x13b7'),'internal',_0x477d('0x13b8'),'chatPause','openchannelPause',_0x477d('0x13b9'),'smsPause',_0x477d('0x13ba'),_0x477d('0x13bb'),_0x477d('0x624'),'chatCapacity',_0x477d('0x13bc'),_0x477d('0x13bd'),_0x477d('0x13be'),'whatsappCapacity',_0x477d('0x13bf'),_0x477d('0x13c0'),'openchannelCurrentCapacity',_0x477d('0x13c1'),_0x477d('0x13c2'),'whatsappCurrentCapacity',_0x477d('0x13c3'),'chatStatus',_0x477d('0x13c4'),'mailStatus',_0x477d('0x13c5'),_0x477d('0x13c6'),_0x477d('0x13c7'),_0x477d('0x13c8'),_0x477d('0x13c9'),_0x477d('0x13ca'),_0x477d('0x13cb'),'smsStatusTime','whatsappStatusTime',_0x477d('0x13cc'),'voiceStatusTime',_0x477d('0x1256'),'destconnectedlinenum',_0x477d('0x13cd'),_0x477d('0x13ce'),_0x477d('0x13cf')];var _0x45547c=[_0x477d('0x13d0'),_0x477d('0x13d1'),'mailPause',_0x477d('0x13d2'),_0x477d('0x13ba'),_0x477d('0x13bb'),_0x477d('0x624'),_0x477d('0x13d3')];_0x5ca2c6[_0x477d('0x3e5')]=_0x2582b3[_0x477d('0x5c')]();_0x5ca2c6['availableStates']=[_0x477d('0x5ed'),_0x477d('0x13d4'),'busy',_0x477d('0x13d5'),_0x477d('0x13d6')];_0x5ca2c6[_0x477d('0xf39')]=_0x5eff4d||{'count':0x0,'rows':[]};_0x5ca2c6[_0x477d('0x613')]=_0x1fa1c3;_0x5ca2c6[_0x477d('0x3a5')]=_0x45d5df;_0x5ca2c6['userProfileSection']=_0x2dc89b&&_0x2dc89b[_0x477d('0x3bb')]==0x1?_0x2dc89b[_0x477d('0xf2')][0x0]:null;_0x5ca2c6['crudPermissions']=_0x2582b3['parseCrudPermissions'](_0x5ca2c6[_0x477d('0x3ac')]?_0x5ca2c6[_0x477d('0x3ac')][_0x477d('0xd66')]:null);_0x5ca2c6[_0x477d('0x125c')]=_0x5a2c2a?_[_0x477d('0xdb5')](_0x5a2c2a[_0x477d('0xf2')]?_0x5a2c2a['rows']:[],'id'):{};_0x5ca2c6[_0x477d('0x13d7')]=_0x20dc10?_['keyBy'](_0x20dc10[_0x477d('0xf2')]?_0x20dc10[_0x477d('0xf2')]:[],'id'):{};_0x5ca2c6[_0x477d('0x13d8')]={};_0x5ca2c6[_0x477d('0x600')]=![];_0x5ca2c6[_0x477d('0x13d9')]=[];_0x5ca2c6[_0x477d('0x13da')]={};for(var _0x31ef3c in _0x5ca2c6[_0x477d('0x125c')]){if(_0x5ca2c6[_0x477d('0x125c')][_0x477d('0x3ea')](_0x31ef3c)){_0x5ca2c6[_0x477d('0x125c')][_0x31ef3c][_0x477d('0x5ee')]=!![];}}_0x5ca2c6[_0x477d('0x3ef')]={'limit':0xa,'page':0x1,'order':_0x477d('0xcd'),'globalStatusFilter':'','pauseTypeFilter':''};_0x5ca2c6[_0x477d('0x38c')]=_0x172d03;_0x5ca2c6['queueAdd']=_0x4a896d;_0x5ca2c6[_0x477d('0x657')]=_0x466124;_0x5ca2c6[_0x477d('0x13db')]=_0x940166;_0x5ca2c6[_0x477d('0x13dc')]=_0x500b64;_0x5ca2c6[_0x477d('0x13dd')]=_0x2a23e1;_0x5ca2c6[_0x477d('0x13de')]=_0x11aac5;_0x5ca2c6[_0x477d('0x13df')]=_0x13ad0f;_0x5ca2c6[_0x477d('0x13e0')]=_0x190452;_0x5ca2c6[_0x477d('0x13e1')]=_0x4e8f44;_0x5ca2c6[_0x477d('0x13e2')]=_0x5a671f;_0x5ca2c6[_0x477d('0x13e3')]=_0x5ab7d4;_0x5ca2c6[_0x477d('0x71a')]=_0x3679d5;_0x5ca2c6['onConnect']=_0x2cd907;_0x5ca2c6[_0x477d('0x13e4')]=_0x25b099;_0x5ca2c6[_0x477d('0xa8a')]=_0x4ceb65;_0x142ff1['on'](_0x477d('0x13e5'),_0x5ca2c6[_0x477d('0x13e2')]);_0x142ff1['on']('user:update',_0x5ca2c6['onUpdate']);_0x142ff1['on']('user:agentconnect',_0x5ca2c6[_0x477d('0x13e6')]);_0x142ff1['on'](_0x477d('0x13e7'),_0x5ca2c6['onComplete']);_0x3679d5();var _0x18e3b4=_0x20e34a(function(){if(_0x5ca2c6['load']){_0x5ca2c6[_0x477d('0x600')]=![];_0x3679d5();}},0x3e7);function _0x3679d5(_0x38e8f9){_0x5ca2c6[_0x477d('0x600')]=![];var _0x57864e=_0x4775a0[_0x477d('0x54a')]();_0x5ca2c6[_0x477d('0x553')]=_0x57864e['promise'];_0x5ca2c6[_0x477d('0x13e8')]=[];_0x5ca2c6[_0x477d('0x13d9')]=[];_[_0x477d('0xe4b')](_0x5ca2c6[_0x477d('0x125c')],function(_0x1400aa,_0x4826b9){if(_0x5ca2c6['rpcAgents'][_0x4826b9]){_[_0x477d('0xef')](_0x1400aa,_['pick'](_[_0x477d('0x3fc')](_0x5ca2c6['rpcAgents'][_0x4826b9],_0x45547c),_0x43ff74));}_0x11aac5(_0x1400aa);if(_0x1400aa['online']){_0x5ca2c6[_0x477d('0x13e8')][_0x477d('0x3a7')](_0x1400aa);_0x5ca2c6[_0x477d('0x13da')][_0x1400aa['internal']]=_0x4826b9;}else{_0x1400aa['globalStatusTime']=_['toNumber'](moment()[_0x477d('0x12f')]('x'));}});if(_0x5ca2c6['query'][_0x477d('0x13e9')]){_[_0x477d('0x39c')](_0x5ca2c6[_0x477d('0x13e8')],function(_0x1414cc){return _0x1414cc[_0x477d('0x13ea')]!==_0x5ca2c6[_0x477d('0x3ef')][_0x477d('0x13e9')];});}if(_0x5ca2c6[_0x477d('0x3ef')]['pauseTypeFilter']){_['remove'](_0x5ca2c6[_0x477d('0x13e8')],function(_0x596e88){return _0x596e88['pauseType']!==_0x5ca2c6[_0x477d('0x3ef')][_0x477d('0x13eb')];});}if(_0x5ca2c6[_0x477d('0x3ef')][_0x477d('0x3b3')]){_[_0x477d('0x39c')](_0x5ca2c6[_0x477d('0x13e8')],function(_0x41e18f){return _0x41e18f[_0x477d('0xcd')][_0x477d('0x449')]()[_0x477d('0x477')](_0x5ca2c6[_0x477d('0x3ef')][_0x477d('0x3b3')][_0x477d('0x449')]())<0x0;});}_0x5ca2c6[_0x477d('0x13e8')]=_0x2df0b3(_0x5ca2c6['filteredAgents']);var _0x388ffb=(_0x5ca2c6[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x5ca2c6['query'][_0x477d('0x91d')];_0x5ca2c6[_0x477d('0x13d8')]=_[_0x477d('0x13ec')](_0x5ca2c6[_0x477d('0x13e8')],_0x388ffb)[_0x477d('0x9cd')](0x0,_0x5ca2c6['query'][_0x477d('0x91d')]);for(var _0x2acb5a=0x0;_0x2acb5a<_0x5ca2c6[_0x477d('0x13d8')][_0x477d('0x79')];_0x2acb5a+=0x1){_0x5ca2c6['order']['push'](_0x5ca2c6[_0x477d('0x13d8')][_0x2acb5a]['id']);}_0x57864e[_0x477d('0x5a')]();_0x5ca2c6[_0x477d('0x600')]=!![];}function _0x5a671f(_0x407b72){if(_0x5ca2c6[_0x477d('0x125c')][_0x407b72['id']]){_[_0x477d('0xef')](_0x5ca2c6[_0x477d('0x125c')][_0x407b72['id']],_[_0x477d('0x10b')](_['omit'](_0x407b72,_0x45547c),_0x43ff74));_['merge'](_0x5ca2c6[_0x477d('0x13d7')][_0x407b72['id']],_[_0x477d('0x10b')](_[_0x477d('0x3fc')](_0x407b72,_0x45547c),_0x43ff74));_0x11aac5(_0x5ca2c6[_0x477d('0x125c')][_0x407b72['id']]);}}function _0x5ab7d4(_0x596553){if(_0x5ca2c6['agents'][_0x596553['id']]){_['merge'](_0x5ca2c6['agents'][_0x596553['id']],_[_0x477d('0x10b')](_0x596553,_0x43ff74));_['merge'](_0x5ca2c6[_0x477d('0x13d7')][_0x596553['id']],_[_0x477d('0x10b')](_0x596553,_0x43ff74));if(_0x596553['lastPauseAt']){_0x5ca2c6['agents'][_0x596553['id']]['globalStatusTime']=_0x596553['lastPauseAt'];_0x5ca2c6[_0x477d('0x13d7')][_0x596553['id']][_0x477d('0x13ed')]=_0x596553[_0x477d('0x13b7')];}_0x11aac5(_0x5ca2c6[_0x477d('0x125c')][_0x596553['id']]);}}function _0x2cd907(_0x195dc8){if(_0x5ca2c6[_0x477d('0x125c')][_0x5ca2c6[_0x477d('0x13da')][_0x195dc8[_0x477d('0x13ee')]]]){_[_0x477d('0xef')](_0x5ca2c6[_0x477d('0x125c')][_0x5ca2c6['agentInternal'][_0x195dc8[_0x477d('0x13ee')]]],_[_0x477d('0x10b')](_0x195dc8,['queue',_0x477d('0x13ef')]));_[_0x477d('0xef')](_0x5ca2c6[_0x477d('0x13d7')][_0x5ca2c6[_0x477d('0x13da')][_0x195dc8[_0x477d('0x13ee')]]],_[_0x477d('0x10b')](_0x195dc8,['queue',_0x477d('0x13ef')]));}}function _0x25b099(_0x4b0084){if(_0x5ca2c6[_0x477d('0x125c')][_0x5ca2c6[_0x477d('0x13da')][_0x4b0084['destaccountcode']]]){_0x5ca2c6[_0x477d('0x125c')][_0x5ca2c6[_0x477d('0x13da')][_0x4b0084[_0x477d('0x13ee')]]]=_[_0x477d('0x3fc')](_0x5ca2c6[_0x477d('0x125c')][_0x5ca2c6[_0x477d('0x13da')][_0x4b0084[_0x477d('0x13ee')]]],['queue',_0x477d('0x13ef')]);_0x5ca2c6[_0x477d('0x13d7')][_0x5ca2c6[_0x477d('0x13da')][_0x4b0084[_0x477d('0x13ee')]]]=_[_0x477d('0x3fc')](_0x5ca2c6['rpcAgents'][_0x5ca2c6['agentInternal'][_0x4b0084[_0x477d('0x13ee')]]],[_0x477d('0x1256'),_0x477d('0x13ef')]);}}function _0x172d03(_0x171b70,_0x4e0594){return _0x3af3dd[_0x477d('0x380')][_0x477d('0x38c')]({'id':_0x171b70['id'],'device':_0x477d('0x11f1'),'agent_id':_0x171b70['id'],'agent_name':_0x171b70['name']})[_0x477d('0x38b')]['then'](function(){_0x5fb6e['success']({'title':_0x477d('0x13f0'),'msg':_0x171b70[_0x477d('0xcd')]+_0x477d('0x13f1')});if(_0x5ca2c6[_0x477d('0x125c')][_0x171b70['id']]){_0x5ca2c6['agents'][_0x171b70['id']]['online']=![];}if(_0x5ca2c6[_0x477d('0x13d7')][_0x171b70['id']]){_0x5ca2c6['rpcAgents'][_0x171b70['id']][_0x477d('0x13d3')]=![];}_0x3679d5();})['catch'](function(_0x64a272){_0x5fb6e[_0x477d('0x44a')]({'title':_0x64a272[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x64a272[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x64a272[_0x477d('0x44d')]:'api.staff.save','msg':_0x64a272['data']?JSON[_0x477d('0x3fb')](_0x64a272[_0x477d('0x451')][_0x477d('0x452')]):_0x64a272[_0x477d('0x453')]()});});}function _0x466124(_0x161454,_0x525e20){return _0x3af3dd['user'][_0x477d('0x657')]({'id':_0x161454['id'],'type':_0x525e20})[_0x477d('0x38b')][_0x477d('0x76')](function(_0xd9cb9c){if(_0x5ca2c6['agents'][_0x161454['id']]){_[_0x477d('0xef')](_0x5ca2c6['agents'][_0x161454['id']],_[_0x477d('0x10b')](_0xd9cb9c,_0x43ff74));}if(_0x5ca2c6[_0x477d('0x13d7')][_0x161454['id']]){_[_0x477d('0xef')](_0x5ca2c6['rpcAgents'][_0x161454['id']],_['pick'](_0xd9cb9c,_0x43ff74));}_0x11aac5(_0x5ca2c6[_0x477d('0x125c')][_0x161454['id']]);})[_0x477d('0xf8')](function(_0x489ece){_0x5fb6e[_0x477d('0x44a')]({'title':_0x489ece[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x489ece[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x489ece[_0x477d('0x44d')]:_0x477d('0x13f2'),'msg':_0x489ece[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x489ece[_0x477d('0x451')][_0x477d('0x452')]):_0x489ece[_0x477d('0x453')]()});});}function _0x940166(_0x30c157){return _0x3af3dd['user']['unpause']({'id':_0x30c157['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x57ed86){if(_0x5ca2c6[_0x477d('0x125c')][_0x30c157['id']]){_['merge'](_0x5ca2c6['agents'][_0x30c157['id']],_['pick'](_0x57ed86,_0x43ff74));}if(_0x5ca2c6[_0x477d('0x13d7')][_0x30c157['id']]){_[_0x477d('0xef')](_0x5ca2c6[_0x477d('0x13d7')][_0x30c157['id']],_[_0x477d('0x10b')](_0x57ed86,_0x43ff74));}_0x11aac5(_0x5ca2c6['agents'][_0x30c157['id']]);})[_0x477d('0xf8')](function(_0x2b9e25){_0x5fb6e[_0x477d('0x44a')]({'title':_0x2b9e25[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x2b9e25[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x2b9e25['statusText']:_0x477d('0x13f2'),'msg':_0x2b9e25['data']?JSON[_0x477d('0x3fb')](_0x2b9e25[_0x477d('0x451')][_0x477d('0x452')]):_0x2b9e25[_0x477d('0x453')]()});});}function _0x500b64(_0xdbd4ce){_0x25b0ae[_0x477d('0x395')](_0x25b0ae[_0x477d('0x120a')]()[_0x477d('0x13f3')](!![])[_0x477d('0x49a')]('Legend')[_0x477d('0xd92')](_0x477d('0x13f4'))['ok']('Ok')[_0x477d('0xd7c')](_0xdbd4ce));}function _0x4a896d(_0x363c21,_0x4d6846){_0x25b0ae['show']({'controller':'AgentqueueaddController','controllerAs':'vm','templateUrl':_0x477d('0x13f5'),'parent':angular['element'](_0x1432c8[_0x477d('0x399')]),'targetEvent':_0x4d6846,'clickOutsideToClose':!![],'locals':{'agent':_0x363c21,'agents':[],'channel':_0x477d('0xb6'),'direction':_0x477d('0x9e'),'crudPermissions':_0x5ca2c6[_0x477d('0xd66')]}});}function _0x13ad0f(_0x224a4c){return _0x224a4c==='pause'||_0x224a4c===_0x477d('0x13f6');}function _0x190452(_0x28d0e2){return _0x28d0e2==='pause';}function _0x4e8f44(_0x57c78f){return _0x57c78f===_0x477d('0x13f6');}function _0x2aec5e(_0x3f288d){return _0x3f288d===_0x477d('0x13f7')||_0x3f288d===_0x477d('0x13f8')||_0x3f288d===_0x477d('0x13f9')||_0x3f288d==='ringing'||_[_0x477d('0x484')](_0x3f288d);}function _0x2a23e1(_0x2d92bc,_0x1af824){if(_0x1af824===_0x477d('0x108')){if(_0x2d92bc[_0x1af824+_0x477d('0x135e')]!==_0x477d('0x13f7')){return _0x2d92bc[_0x1af824+_0x477d('0x135e')];}if(_0x2d92bc[_0x1af824+_0x477d('0x13fa')]){_0x2d92bc[_0x1af824+_0x477d('0x135e')]=_0x477d('0x657');return _0x477d('0x657');}return _0x477d('0x13f7');}else{if(_0x2d92bc[_0x1af824+'Pause']){_0x2d92bc[_0x1af824+_0x477d('0x135e')]='pause';return _0x477d('0x657');}return _0x2d92bc[_0x1af824+'Status'];}}function _0x11aac5(_0x2a59ee){var _0x275c17=_0x477d('0x13f8');if(_[_0x477d('0x943')]([_0x2a23e1(_0x2a59ee,'voice'),_0x2a23e1(_0x2a59ee,_0x477d('0xb6')),_0x2a23e1(_0x2a59ee,_0x477d('0x1d6')),_0x2a23e1(_0x2a59ee,_0x477d('0x22a')),_0x2a23e1(_0x2a59ee,'sms'),_0x2a23e1(_0x2a59ee,_0x477d('0x35d')),_0x2a23e1(_0x2a59ee,'fax')],_0x13ad0f)){_0x275c17='pause';}else if(_[_0x477d('0x3ab')]([_0x2a23e1(_0x2a59ee,_0x477d('0x108')),_0x2a23e1(_0x2a59ee,_0x477d('0xb6')),_0x2a23e1(_0x2a59ee,'mail'),_0x2a23e1(_0x2a59ee,_0x477d('0x22a')),_0x2a23e1(_0x2a59ee,_0x477d('0x26e')),_0x2a23e1(_0x2a59ee,_0x477d('0x35d')),_0x2a23e1(_0x2a59ee,'fax')],_0x13ad0f)){_0x275c17=_0x477d('0x13f6');}else if(_[_0x477d('0x943')]([_0x2a23e1(_0x2a59ee,_0x477d('0x108')),_0x2a23e1(_0x2a59ee,_0x477d('0xb6')),_0x2a23e1(_0x2a59ee,'mail'),_0x2a23e1(_0x2a59ee,_0x477d('0x22a')),_0x2a23e1(_0x2a59ee,_0x477d('0x26e')),_0x2a23e1(_0x2a59ee,_0x477d('0x35d')),_0x2a23e1(_0x2a59ee,_0x477d('0x154'))],_0x2aec5e)){_0x275c17=_0x477d('0x13f7');}else{_0x275c17=_0x477d('0x13fb');}if(_0x2a59ee[_0x477d('0x13ea')]!==_0x275c17){_0x2a59ee[_0x477d('0x13ea')]=_0x275c17;if(_0x2a59ee[_0x477d('0x5ee')]){_0x2a59ee[_0x477d('0x5ee')]=![];_0x2a59ee['globalStatusTime']=_0x13ad0f(_0x275c17)?_['toNumber'](moment(_0x2a59ee[_0x477d('0x13b7')])[_0x477d('0x12f')]('x')):_[_0x477d('0x13fc')]([_0x2a59ee['voiceStatusTime'],_0x2a59ee[_0x477d('0x13c9')],_0x2a59ee[_0x477d('0x13cb')],_0x2a59ee[_0x477d('0x13fd')],_0x2a59ee[_0x477d('0x13fe')],_0x2a59ee[_0x477d('0x13ca')],_0x2a59ee['faxStatusTime']]);}else{_0x2a59ee['globalStatusTime']=_['toNumber'](moment()[_0x477d('0x12f')]('x'));}}}function _0x2df0b3(_0x139451){var _0x520ce0=_[_0x477d('0x1337')](_0x5ca2c6[_0x477d('0x3ef')]['order'],'-')?_0x477d('0x13ff'):_0x477d('0x1400');return _[_0x477d('0x1401')](_0x139451,[_0x5ca2c6['query'][_0x477d('0x13d9')][_0x477d('0x409')]('-','')],[_0x520ce0]);}function _0x3de4c2(){if(_0x18e3b4){_0x20e34a['cancel'](_0x18e3b4);_0x18e3b4=null;}}function _0x4ceb65(_0x49d013,_0x5a4c64){return _0x3af3dd[_0x477d('0x380')][_0x477d('0x710')]({'id':_0x49d013['id']},{'screenrecording':_0x5a4c64})[_0x477d('0x38b')]['catch'](function(_0x45b32a){_0x5fb6e['error']({'title':_0x45b32a[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x45b32a['status']+'\x20-\x20'+_0x45b32a['statusText']:'api.user.update','msg':_0x45b32a[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x45b32a['data'][_0x477d('0x452')]):_0x45b32a['toString']()});});}_0x2d02a4['$on'](_0x477d('0x505'),function(){_0x142ff1[_0x477d('0x6b8')]('user:save');_0x142ff1[_0x477d('0x6b8')](_0x477d('0x1402'));_0x142ff1['removeAllListeners'](_0x477d('0x1403'));_0x142ff1['removeAllListeners'](_0x477d('0x13e7'));_0x3de4c2();});}}());(function(){'use strict';_0x4589a9['$inject']=[_0x477d('0x474'),_0x477d('0x3fe'),_0x477d('0x384'),'$q','$document','$interval','queues',_0x477d('0x1404'),'api',_0x477d('0x5a3'),_0x477d('0x40e'),_0x477d('0x3a5'),_0x477d('0x3ac'),_0x477d('0x55')];angular[_0x477d('0xb')]('app.chat')['controller']('QueuesChatRealtimeController',_0x4589a9);function _0x4589a9(_0x34a6ea,_0x5d493d,_0x4e785b,_0x3d37d5,_0x4a46e5,_0x1202c7,_0x2905ef,_0x5a9df9,_0x1956cc,_0x2467da,_0x404fc1,_0x1e816d,_0x359678,_0x132dc5){var _0x53263a=this;var _0x1d98ad=['loggedIn',_0x477d('0x1405'),_0x477d('0x10c'),_0x477d('0x10e'),_0x477d('0x1406'),_0x477d('0x1407'),_0x477d('0x452'),'dialActive',_0x477d('0x1408'),_0x477d('0x1409'),_0x477d('0x140a')];_0x53263a[_0x477d('0x3e5')]=_0x132dc5[_0x477d('0x5c')]();_0x53263a[_0x477d('0x3bb')]=_0x2905ef[_0x477d('0x3bb')]?_0x2905ef['count']:0x0;_0x53263a[_0x477d('0xf2f')]=_0x2905ef?_[_0x477d('0xdb5')](_0x2905ef[_0x477d('0xf2')]?_0x2905ef[_0x477d('0xf2')]:[],'id'):{};_0x53263a[_0x477d('0x1404')]=_0x5a9df9?_[_0x477d('0xdb5')](_0x5a9df9[_0x477d('0xf2')]?_0x5a9df9[_0x477d('0xf2')]:[],'id'):{};_0x53263a[_0x477d('0x3a5')]=_0x1e816d;_0x53263a[_0x477d('0x3ac')]=_0x359678&&_0x359678['count']==0x1?_0x359678[_0x477d('0xf2')][0x0]:null;_0x53263a[_0x477d('0xd66')]=_0x132dc5[_0x477d('0xd81')](_0x53263a[_0x477d('0x3ac')]?_0x53263a[_0x477d('0x3ac')][_0x477d('0xd66')]:null);if(_0x132dc5[_0x477d('0x56')](_0x477d('0x5f'))){_0x53263a[_0x477d('0x3ef')]={'type':_0x477d('0x9e'),'sort':'-updatedAt','limit':0xa,'page':0x1};}else{_0x53263a[_0x477d('0x3ef')]={'id':_0x53263a[_0x477d('0x3e5')]['id'],'channel':_0x477d('0xb6'),'type':'inbound','sort':'-updatedAt','limit':0xa,'page':0x1};}_0x53263a['success']=_0x57b320;_0x53263a['getQueues']=_0x558a11;_0x53263a[_0x477d('0x11d7')]=_0x5891f7;_0x53263a[_0x477d('0x140b')]=_0x3c1f88;_0x53263a[_0x477d('0x140c')]=_0x1e9039;_0x53263a[_0x477d('0x13e2')]=_0x3f46eb;_0x53263a[_0x477d('0x140d')]=_0x1ad5f1;_0x53263a['onRemoveMember']=_0x2d2acd;_0x53263a[_0x477d('0x140e')]=_0x2f8e41;_0x53263a[_0x477d('0x140f')]=_0x428a89;_0x53263a[_0x477d('0x1410')]=_0x7de549;_0x53263a[_0x477d('0x6ad')]=_0x15a471;_0x53263a[_0x477d('0x13d9')]=[];_[_0x477d('0xe4b')](_0x53263a['queues'],function(_0x5aeb86,_0x47c0b5){_0x53263a['order']['push'](_0x5aeb86['id']);});_0x2467da['on'](_0x477d('0x1411'),_0x53263a[_0x477d('0x13e2')]);_0x2467da['on'](_0x477d('0x1412'),_0x53263a['onSaveMember']);_0x2467da['on']('userChatQueue:remove',_0x53263a[_0x477d('0x1413')]);_0x2467da['on']('user:update',_0x53263a[_0x477d('0x140e')]);_0x2467da['on'](_0x477d('0x1414'),_0x53263a[_0x477d('0x1410')]);_0x2467da['on'](_0x477d('0x1415'),_0x53263a['onLogin']);function _0x15a471(){var _0xe15672=[];_[_0x477d('0xe4b')](_0x53263a[_0x477d('0xf2f')],function(_0x5289ce,_0xaaaf99){_0x5289ce['paused']=0x0;_0x5289ce[_0x477d('0x1416')]=0x0;_0x53263a[_0x477d('0xf2f')][_0xaaaf99][_0x477d('0x125c')]={};_0xe15672[_0x477d('0x3a7')](_0x1956cc['chatQueue'][_0x477d('0x1417')]({'id':_0xaaaf99})[_0x477d('0x38b')]);if(_0x53263a[_0x477d('0x1404')][_0xaaaf99]){_['merge'](_0x5289ce,_[_0x477d('0x10b')](_0x53263a[_0x477d('0x1404')][_0xaaaf99],_0x1d98ad));}});return _0x3d37d5[_0x477d('0x7c')](_0xe15672)[_0x477d('0x76')](function(_0x25d1a8){for(var _0x34b034=0x0;_0x34b034<_0x25d1a8['length'];_0x34b034+=0x1){for(var _0x3be99c=0x0;_0x3be99c<_0x25d1a8[_0x34b034]['rows'][_0x477d('0x79')];_0x3be99c++){if(_0x25d1a8[_0x34b034]['rows'][_0x3be99c][_0x477d('0x140a')]){_0x53263a[_0x477d('0xf2f')][_0x25d1a8[_0x34b034][_0x477d('0xf2')][_0x3be99c][_0x477d('0x1257')]][_0x477d('0x140a')]++;}_0x53263a[_0x477d('0xf2f')][_0x25d1a8[_0x34b034][_0x477d('0xf2')][_0x3be99c][_0x477d('0x1257')]][_0x477d('0x1416')]++;_0x53263a[_0x477d('0xf2f')][_0x25d1a8[_0x34b034]['rows'][_0x3be99c][_0x477d('0x1257')]][_0x477d('0x125c')][_0x25d1a8[_0x34b034]['rows'][_0x3be99c]['UserId']]=_0x25d1a8[_0x34b034][_0x477d('0xf2')][_0x3be99c][_0x477d('0x1257')];}}})[_0x477d('0xf8')](function(_0x23ca62){console['error'](_0x23ca62);});}function _0x3f46eb(_0x2424c1){if(_0x53263a['queues'][_0x2424c1['id']]){_['merge'](_0x53263a[_0x477d('0xf2f')][_0x2424c1['id']],_[_0x477d('0x10b')](_0x2424c1,_0x1d98ad));}}function _0x1ad5f1(_0x11b3a8){if(_0x53263a[_0x477d('0xf2f')][_0x11b3a8[_0x477d('0x1257')]]){_0x53263a[_0x477d('0xf2f')][_0x11b3a8['ChatQueueId']]['loggedInDb']++;}}function _0x2d2acd(_0x375e31){if(_0x53263a[_0x477d('0xf2f')][_0x375e31[_0x477d('0x1257')]]){_0x53263a[_0x477d('0xf2f')][_0x375e31[_0x477d('0x1257')]][_0x477d('0x1416')]--;}}function _0x2f8e41(_0x58067d){console[_0x477d('0x7b')](_0x477d('0x140e'),_0x58067d);if(_0x58067d[_0x477d('0x624')]){_[_0x477d('0xe4b')](_0x53263a['queues'],function(_0x45f787,_0x3fca76){if(_0x45f787[_0x477d('0x125c')][_0x58067d['id']]){_0x45f787[_0x477d('0x140a')]+=0x1;console[_0x477d('0x7b')](_0x477d('0x657'));}});}else if(!_0x58067d[_0x477d('0x624')]){_['forIn'](_0x53263a['queues'],function(_0x1dfb74,_0x295507){if(_0x1dfb74[_0x477d('0x125c')][_0x58067d['id']]){if(_0x1dfb74[_0x477d('0x140a')]>0x0){_0x1dfb74[_0x477d('0x140a')]-=0x1;console[_0x477d('0x7b')]('unpause');}}});}}function _0x428a89(_0x32563c){console[_0x477d('0x7b')]('onLogged',_0x32563c);if(_0x53263a[_0x477d('0xf2f')][_0x32563c[_0x477d('0x1257')]]){_0x53263a[_0x477d('0xf2f')][_0x32563c['ChatQueueId']][_0x477d('0x1416')]+=0x1;_0x53263a['queues'][_0x32563c[_0x477d('0x1257')]][_0x477d('0x125c')][_0x32563c[_0x477d('0x125b')]]=_0x32563c[_0x477d('0x1257')];}}function _0x7de549(_0x19911b){console[_0x477d('0x7b')](_0x477d('0x1410'),_0x19911b);if(_0x53263a[_0x477d('0xf2f')][_0x19911b[_0x477d('0x1257')]]&&_0x53263a[_0x477d('0xf2f')][_0x19911b['ChatQueueId']][_0x477d('0x1416')]>0x0){_0x53263a['queues'][_0x19911b[_0x477d('0x1257')]][_0x477d('0x1416')]-=0x1;delete _0x53263a[_0x477d('0xf2f')][_0x19911b[_0x477d('0x1257')]][_0x477d('0x125c')][_0x19911b['UserId']];}}var _0x4d1740=!![];var _0x5bce63=0x1;_0x34a6ea[_0x477d('0x4b5')](_0x477d('0xd98'),function(_0xb4f9e9,_0x4a221b){if(_0x4d1740){_0x5d493d(function(){_0x4d1740=![];});}else{if(!_0x4a221b){_0x5bce63=_0x53263a[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0xb4f9e9!==_0x4a221b){_0x53263a[_0x477d('0x3ef')]['page']=0x1;}if(!_0xb4f9e9){_0x53263a[_0x477d('0x3ef')]['page']=_0x5bce63;}_0x53263a[_0x477d('0x1418')]();}});function _0x57b320(_0x4cd9a4){_0x53263a[_0x477d('0x3bb')]=_0x4cd9a4['count'];_0x53263a['queues']=_0x4cd9a4?_['keyBy'](_0x4cd9a4[_0x477d('0xf2')]?_0x4cd9a4['rows']:[],'id'):{};if(_0x4cd9a4[_0x477d('0xf2')]){_0x53263a['order']=[];for(var _0x92aff1=0x0;_0x92aff1<_0x4cd9a4['rows']['length'];_0x92aff1++){_0x53263a[_0x477d('0x13d9')][_0x477d('0x3a7')](_0x4cd9a4[_0x477d('0xf2')][_0x92aff1]['id']);}}_0x15a471();}function _0x558a11(){_0x53263a[_0x477d('0x3ef')]['offset']=(_0x53263a[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x53263a[_0x477d('0x3ef')][_0x477d('0x91d')];if(_0x132dc5[_0x477d('0x56')]('admin')){_0x53263a[_0x477d('0x553')]=_0x1956cc[_0x477d('0xe40')][_0x477d('0x376')](_0x53263a[_0x477d('0x3ef')],_0x57b320)['$promise'];}else{_0x53263a[_0x477d('0x3ef')]['id']=_0x53263a[_0x477d('0x3a5')]['id'];_0x53263a[_0x477d('0x3ef')][_0x477d('0xd99')]=_0x477d('0xd4');_0x53263a[_0x477d('0x553')]=_0x1956cc[_0x477d('0x3a5')][_0x477d('0xd9a')](_0x53263a[_0x477d('0x3ef')],_0x57b320)[_0x477d('0x38b')];}}function _0x5891f7(_0x500c14,_0x4ba5bc){_0x4e785b[_0x477d('0x395')]({'controller':'CreateOrEditChatQueueDialogController','controllerAs':'vm','templateUrl':_0x477d('0x1419'),'parent':angular[_0x477d('0x398')](_0x4a46e5[_0x477d('0x399')]),'targetEvent':_0x500c14,'clickOutsideToClose':!![],'locals':{'chatQueue':_0x4ba5bc,'chatQueues':_[_0x477d('0x445')](_0x53263a[_0x477d('0xf2f')]),'license':null,'setting':null,'crudPermissions':_0x53263a[_0x477d('0xd66')]}});}function _0x3c1f88(_0x377073,_0x1f609d){_0x4e785b[_0x477d('0x395')]({'controller':'ChatQueueagentaddController','controllerAs':'vm','templateUrl':_0x477d('0x120c'),'parent':angular['element'](_0x4a46e5[_0x477d('0x399')]),'targetEvent':_0x377073,'clickOutsideToClose':!![],'locals':{'chatQueue':_0x1f609d,'chatQueues':_0x53263a[_0x477d('0xf2f')]?_0x53263a[_0x477d('0xf2f')]['rows']:[],'realtime':![],'crudPermissions':_0x53263a['crudPermissions']}});}function _0x1e9039(_0xbca578){return _0x1956cc[_0x477d('0xe40')][_0x477d('0x710')](_0xbca578)[_0x477d('0x38b')]['then'](function(){_0x404fc1[_0x477d('0x485')]({'title':_0x477d('0x141a'),'msg':_0xbca578[_0x477d('0x94')]?_0xbca578['name']+_0x477d('0xed7'):''});})[_0x477d('0xf8')](function(_0x569f03){_0x404fc1[_0x477d('0x44a')]({'title':_0x477d('0x141b'),'msg':_0x569f03[_0x477d('0x452')]});});}_0x34a6ea[_0x477d('0x4ec')](_0x477d('0x505'),function(){_0x2467da[_0x477d('0x6b8')](_0x477d('0x1411'));_0x2467da[_0x477d('0x6b8')](_0x477d('0x141c'));_0x2467da[_0x477d('0x6b8')](_0x477d('0x1412'));_0x2467da[_0x477d('0x6b8')](_0x477d('0x1402'));_0x2467da[_0x477d('0x6b8')](_0x477d('0x1414'));_0x2467da[_0x477d('0x6b8')]('userVoiceQueue:save');});}}());(function(){'use strict';angular[_0x477d('0xb')](_0x477d('0x0'))['factory'](_0x477d('0x13b4'),_0x3aba10);function _0x3aba10(){return{'status':{'registered':_0x477d('0x141d'),'unregistered':_0x477d('0x141e'),'lagged':'red-300-fg\x20icon-close-circle','reachable':_0x477d('0x141d'),'unreachable':_0x477d('0x141e'),'unknown':_0x477d('0x141f')},'state':{'unknown':'grey-fg\x20icon-phone-hangup','not_inuse':_0x477d('0x1420'),'inuse':'red-300-fg\x20icon-phone-in-talk','busy':_0x477d('0x1421'),'invalid':'grey-fg\x20icon-phone-hangup','unavailable':_0x477d('0x1422'),'ringing':_0x477d('0x1423'),'ringinuse':_0x477d('0x1423'),'onhold':_0x477d('0x1424')},'channelStatus':{'ring':_0x477d('0x1423'),'up':_0x477d('0x1425'),'hangup':_0x477d('0x1426')},'channelStatusOut':{'ring':'blue-300-fg\x20icon-phone-outgoing','up':_0x477d('0x1425'),'hangup':_0x477d('0x1426')}};}}());(function(){'use strict';_0x497399[_0x477d('0xa')]=['$scope',_0x477d('0x3c4'),_0x477d('0x5a3')];angular[_0x477d('0xb')](_0x477d('0x30'))[_0x477d('0x3ba')]('ChatRealtimeController',_0x497399);function _0x497399(_0x1672cb,_0x1f7093,_0x6ed0f5){var _0x24d8df=this;_0x6ed0f5[_0x477d('0x1427')]();_0x6ed0f5[_0x477d('0x678')]();_0x24d8df[_0x477d('0xe95')]=0x0;switch(_0x1f7093[_0x477d('0x548')]['name']){case _0x477d('0xc8'):_0x24d8df[_0x477d('0xe95')]=0x0;break;case _0x477d('0xd1'):_0x24d8df[_0x477d('0xe95')]=0x1;break;default:_0x24d8df[_0x477d('0xe95')]=0x0;_0x1f7093['go']('app.chat.realtime.agents');}_0x1672cb['$watch'](_0x477d('0x1428'),function(_0xe54521,_0x13e2da){if(_0xe54521!==_0x13e2da){switch(_0xe54521){case 0x0:_0x1f7093['go']('app.chat.realtime.agents');break;case 0x1:_0x1f7093['go'](_0x477d('0xd1'));break;default:_0x1f7093['go']('app.chat.realtime.agents');}}});}}());(function(){'use strict';_0x34822a['$inject']=['$scope',_0x477d('0x387'),_0x477d('0x3c4'),'$mdSidenav','$mdDialog','$document',_0x477d('0x3fe'),_0x477d('0x40d'),'companies',_0x477d('0x3a5'),_0x477d('0x3ac'),_0x477d('0x386'),'msUtils','toasty',_0x477d('0x55'),_0x477d('0x613'),_0x477d('0xc8e')];angular['module'](_0x477d('0x2e'))['controller'](_0x477d('0x1429'),_0x34822a);function _0x34822a(_0x4a89e0,_0x697288,_0x5256c7,_0x1ff712,_0x16e984,_0x530e86,_0x449bc5,_0x277026,_0x5bce5a,_0x14bdb6,_0x417746,_0x4ef3d2,_0x11ba25,_0x59c000,_0x2cf7fa,_0x107125,_0x595725){var _0xeea661=this;_0xeea661[_0x477d('0x613')]=_0x107125;_0xeea661['setting']=_0x595725;_0xeea661[_0x477d('0x3e5')]=_0x2cf7fa[_0x477d('0x5c')]();_0xeea661[_0x477d('0xf4')]=_0x5bce5a||{'count':0x0,'rows':[]};_0xeea661['userProfile']=_0x14bdb6;_0xeea661[_0x477d('0x3ac')]=_0x417746&&_0x417746['count']==0x1?_0x417746[_0x477d('0xf2')][0x0]:null;_0xeea661[_0x477d('0xd66')]=_0x2cf7fa[_0x477d('0xd81')](_0xeea661[_0x477d('0x3ac')]?_0xeea661['userProfileSection'][_0x477d('0xd66')]:null);_0xeea661[_0x477d('0xd82')]=_0x477d('0xf4');_0xeea661['listOrder']='';_0xeea661[_0x477d('0xd84')]=null;_0xeea661[_0x477d('0x142a')]=[];_0xeea661[_0x477d('0x3ef')]={'fields':_0x477d('0xe3'),'sort':_0x477d('0x59'),'limit':0xa,'page':0x1};_0xeea661['editstate']=_0x576b8d;_0xeea661[_0x477d('0x142b')]=_0x34166a;_0xeea661[_0x477d('0xd88')]=_0x22d303;_0xeea661['success']=_0x301b79;_0xeea661['getCompanies']=_0x410ccd;_0xeea661[_0x477d('0x142c')]=_0x205c5d;_0xeea661[_0x477d('0x142d')]=_0x7e1662;_0xeea661['exportSelectedCompanies']=_0x5ec2ee;_0xeea661[_0x477d('0x142e')]=_0x52f122;_0xeea661['deselectCompanies']=_0x5b456b;_0xeea661['selectAllCompanies']=_0x572433;function _0x576b8d(_0x12f650,_0x2bdd2d){_0x5256c7['go'](_0x477d('0xe4'),{'id':_0x12f650['id'],'company':_0x12f650,'crudPermissions':_0xeea661[_0x477d('0xd66')]});}function _0x34166a(_0x4f456f,_0x1271fb){if(_0x2cf7fa[_0x477d('0x56')](_0x477d('0x5f'))){_0x5256c7['go']('app.contactmanager.contacts',{'CompanyId':_0x4f456f['id']});}else{return _0x4ef3d2[_0x477d('0x3ac')]['get']({'userProfileId':_0x2cf7fa[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0x12f})[_0x477d('0x38b')]['then'](function(_0x5dc127){var _0x329353=_0x5dc127&&_0x5dc127[_0x477d('0xf2')]?_0x5dc127[_0x477d('0xf2')][0x0]:null;if(_0x329353&&_0x329353[_0x477d('0x3b4')]){_0x5256c7['go'](_0x477d('0xd6'),{'CompanyId':_0x4f456f['id']});}else{_0x59c000[_0x477d('0x669')]({'title':_0x277026[_0x477d('0x45f')]('STAFF.PERMISSIONS_UNAUTHORIZED_REDIRECT_TITLE'),'msg':_0x277026['instant'](_0x477d('0x142f'))});}})[_0x477d('0xf8')](function(_0x5c97c7){_0x59c000[_0x477d('0x44a')]({'title':_0x5c97c7[_0x477d('0x3c3')]?'API:'+_0x5c97c7[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x5c97c7[_0x477d('0x44d')]:'USERPROFILE:GET_SECTION','msg':_0x5c97c7['status']?JSON[_0x477d('0x3fb')](_0x5c97c7[_0x477d('0x451')]):_0x5c97c7[_0x477d('0x453')]()});});}}function _0x22d303(_0x3ad12d,_0x332c80){var _0x5f576e=_0x16e984[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xd90')+_[_0x477d('0xd91')]('company')+'?')[_0x477d('0xd92')](_0x477d('0xd93')+(_0x3ad12d['name']||_0x477d('0x1430'))+_0x477d('0xd94')+'\x20will\x20be\x20deleted.')['ariaLabel']('delete\x20company')['targetEvent'](_0x332c80)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x16e984[_0x477d('0x395')](_0x5f576e)['then'](function(){_0x7e1662(_0x3ad12d);},function(){console['log']('CANCEL');});}var _0x3cbdb0=!![];var _0x1b53af=0x1;_0x4a89e0['$watch']('vm.query.filter',function(_0x1e0c8b,_0x5b4170){if(_0x3cbdb0){_0x449bc5(function(){_0x3cbdb0=![];});}else{if(!_0x5b4170){_0x1b53af=_0xeea661['query'][_0x477d('0xe03')];}if(_0x1e0c8b!==_0x5b4170){_0xeea661[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0x1e0c8b){_0xeea661[_0x477d('0x3ef')][_0x477d('0xe03')]=_0x1b53af;}_0xeea661[_0x477d('0x1431')]();}});function _0x301b79(_0x31264e){_0xeea661[_0x477d('0xf4')]=_0x31264e||{'count':0x0,'rows':[]};}function _0x410ccd(){_0xeea661[_0x477d('0x3ef')][_0x477d('0x91c')]=(_0xeea661[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0xeea661[_0x477d('0x3ef')][_0x477d('0x91d')];if(_0x2cf7fa[_0x477d('0x56')]('admin')){_0xeea661['promise']=_0x4ef3d2[_0x477d('0xb68')][_0x477d('0x376')](_0xeea661[_0x477d('0x3ef')],_0x301b79)[_0x477d('0x38b')];}else{_0xeea661[_0x477d('0x3ef')]['id']=_0xeea661['userProfile']['id'];_0xeea661[_0x477d('0x3ef')]['section']='Companies';_0xeea661['promise']=_0x4ef3d2[_0x477d('0x3a5')][_0x477d('0xd9a')](_0xeea661[_0x477d('0x3ef')],_0x301b79)['$promise'];}}function _0x205c5d(_0x10b3ee,_0x16fa8c){_0x16e984[_0x477d('0x395')]({'controller':_0x477d('0x1432'),'controllerAs':'vm','templateUrl':_0x477d('0x1433'),'parent':angular['element'](_0x530e86['body']),'targetEvent':_0x10b3ee,'clickOutsideToClose':!![],'locals':{'company':_0x16fa8c,'companies':_0xeea661[_0x477d('0xf4')][_0x477d('0xf2')],'license':_0xeea661['license'],'setting':_0xeea661[_0x477d('0xc8e')],'crudPermissions':_0xeea661[_0x477d('0xd66')]}});}function _0x7e1662(_0x46db7d){_0x4ef3d2[_0x477d('0xb68')][_0x477d('0xa55')]({'id':_0x46db7d['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0xeea661[_0x477d('0xf4')][_0x477d('0xf2')],{'id':_0x46db7d['id']});_0xeea661[_0x477d('0xf4')][_0x477d('0x3bb')]-=0x1;if(!_0xeea661[_0x477d('0xf4')][_0x477d('0xf2')][_0x477d('0x79')]){_0xeea661['getCompanies']();}_0x59c000[_0x477d('0x485')]({'title':_[_0x477d('0xd91')](_0x477d('0x1434'))+_0x477d('0xd9d'),'msg':_0x46db7d[_0x477d('0x94')]?_0x46db7d['name']+_0x477d('0xd7e'):''});})[_0x477d('0xf8')](function(_0x1d516a){if(_0x1d516a[_0x477d('0x451')]&&_0x1d516a[_0x477d('0x451')][_0x477d('0xd67')]&&_0x1d516a[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0xeea661[_0x477d('0xd67')]=_0x1d516a[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x1d516a[_0x477d('0x453')](),'type':_0x477d('0x1435')}];for(var _0x490f0f=0x0;_0x490f0f<_0x1d516a[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x490f0f++){_0x59c000[_0x477d('0x44a')]({'title':_0x1d516a['data'][_0x477d('0xd67')][_0x490f0f][_0x477d('0x439')],'msg':_0x1d516a[_0x477d('0x451')][_0x477d('0xd67')][_0x490f0f][_0x477d('0x452')]});}}else{_0x59c000['error']({'title':_0x1d516a[_0x477d('0x3c3')]?'API:'+_0x1d516a['status']+_0x477d('0x44c')+_0x1d516a['statusText']:_0x477d('0x1435'),'msg':_0x1d516a['data']?JSON[_0x477d('0x3fb')](_0x1d516a['data'][_0x477d('0x452')]):_0x1d516a[_0x477d('0x452')]||_0x1d516a[_0x477d('0x453')]()});}});}function _0x5ec2ee(){var _0x93dd46=angular[_0x477d('0x6d9')](_0xeea661[_0x477d('0x142a')]);_0xeea661[_0x477d('0x142a')]=[];return _0x93dd46;}function _0x52f122(_0xb0ede5){var _0x41106d=_0x16e984['confirm']()[_0x477d('0x49a')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20companies?')[_0x477d('0xd92')](_0x477d('0xd93')+_0xeea661[_0x477d('0x142a')][_0x477d('0x79')]+_0x477d('0xda0')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x1436'))[_0x477d('0xd7c')](_0xb0ede5)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x16e984[_0x477d('0x395')](_0x41106d)['then'](function(){_0xeea661[_0x477d('0x142a')][_0x477d('0x3b1')](function(_0x204953){_0x7e1662(_0x204953);});_0xeea661[_0x477d('0x142a')]=[];});}function _0x5b456b(){_0xeea661[_0x477d('0x142a')]=[];}function _0x572433(){_0xeea661[_0x477d('0x142a')]=_0xeea661['companies'][_0x477d('0xf2')];}}}());(function(){'use strict';_0x50726c['$inject']=[_0x477d('0x474'),_0x477d('0x3c4'),_0x477d('0xd64'),_0x477d('0x384'),'$q',_0x477d('0x40d'),_0x477d('0x40e'),_0x477d('0xf4'),'company',_0x477d('0x386'),_0x477d('0x55'),_0x477d('0x613'),_0x477d('0xc8e'),'crudPermissions'];angular['module']('app.contactmanager')[_0x477d('0x3ba')](_0x477d('0x1432'),_0x50726c);function _0x50726c(_0x3cc082,_0x168b6d,_0x444fe4,_0x54b61d,_0x5caef6,_0x3c85cc,_0x44d7a0,_0x43637f,_0x40a60b,_0x5128b8,_0xcf5e0e,_0x6969b3,_0x470238,_0x1d1ecd){var _0x40a73a=this;_0x40a73a[_0x477d('0x3e5')]=_0xcf5e0e[_0x477d('0x5c')]();_0x40a73a[_0x477d('0xd67')]=[];_0x40a73a[_0x477d('0xc8e')]=_0x470238;_0x40a73a[_0x477d('0x613')]=_0x6969b3;_0x40a73a[_0x477d('0xd66')]=_0x1d1ecd;_0x40a73a[_0x477d('0xd68')]={};_0x40a73a[_0x477d('0xd69')]=_0x40a73a[_0x477d('0xc8e')]&&_0x40a73a['setting'][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x40a73a[_0x477d('0x49a')]=_0x477d('0x1437');_0x40a73a['company']=angular[_0x477d('0x6d9')](_0x40a60b);_0x40a73a[_0x477d('0xf4')]=_0x43637f;_0x40a73a[_0x477d('0x1438')]=![];if(!_0x40a73a[_0x477d('0x1430')]){_0x40a73a['company']={};_0x40a73a['title']=_0x477d('0x1439');_0x40a73a[_0x477d('0x1438')]=!![];}_0x40a73a[_0x477d('0x143a')]=_0x442ba8;_0x40a73a['saveCompany']=_0x382bcb;_0x40a73a[_0x477d('0x142d')]=_0x3770ef;_0x40a73a[_0x477d('0xd6f')]=_0x28bc8a;_0x40a73a[_0x477d('0x6bf')]=_0x51e58a;function _0x442ba8(){_0x40a73a[_0x477d('0xd67')]=[];_0x5128b8['cmCompany'][_0x477d('0xd70')](_0x40a73a['company'])[_0x477d('0x38b')]['then'](function(_0xb49bd2){_0x40a73a[_0x477d('0xf4')][_0x477d('0x63b')](_0xb49bd2[_0x477d('0xd71')]());_0x44d7a0[_0x477d('0x485')]({'title':_0x477d('0x143b'),'msg':_0x40a73a[_0x477d('0x1430')]['name']?_0x40a73a['company']['name']+_0x477d('0xd73'):''});_0x51e58a(_0xb49bd2);})[_0x477d('0xf8')](function(_0x1201e7){if(_0x1201e7[_0x477d('0x451')]&&_0x1201e7['data'][_0x477d('0xd67')]&&_0x1201e7['data'][_0x477d('0xd67')][_0x477d('0x79')]){_0x40a73a['errors']=_0x1201e7[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x1201e7[_0x477d('0x453')](),'type':_0x477d('0x143c')}];for(var _0x293710=0x0;_0x293710<_0x1201e7[_0x477d('0x451')]['errors'][_0x477d('0x79')];_0x293710+=0x1){_0x44d7a0[_0x477d('0x44a')]({'title':_0x1201e7[_0x477d('0x451')][_0x477d('0xd67')][_0x293710]['type'],'msg':_0x1201e7['data']['errors'][_0x293710][_0x477d('0x452')]});}}else{_0x44d7a0[_0x477d('0x44a')]({'title':_0x1201e7[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x1201e7[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x1201e7['statusText']:_0x477d('0x143c'),'msg':_0x1201e7[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x1201e7[_0x477d('0x451')][_0x477d('0x452')]):_0x1201e7[_0x477d('0x453')]()});}});}function _0x382bcb(){_0x40a73a['errors']=[];_0x5128b8[_0x477d('0xb68')][_0x477d('0x710')]({'id':_0x40a73a[_0x477d('0x1430')]['id']},_0x40a73a[_0x477d('0x1430')])[_0x477d('0x38b')]['then'](function(_0x15e400){var _0x12a2be=_[_0x477d('0x10a')](_0x40a73a[_0x477d('0xf4')],{'id':_0x15e400['id']});if(_0x12a2be){_[_0x477d('0xef')](_0x12a2be,_[_0x477d('0x10b')](_0x15e400['toJSON'](),_['keys'](_0x12a2be)));}_0x44d7a0[_0x477d('0x485')]({'title':_0x477d('0x143d'),'msg':_0x40a73a['company']['name']?_0x40a73a['company'][_0x477d('0x94')]+_0x477d('0xd76'):''});_0x51e58a(_0x15e400);})['catch'](function(_0x4bfa88){if(_0x4bfa88[_0x477d('0x451')]&&_0x4bfa88[_0x477d('0x451')]['errors']&&_0x4bfa88[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x40a73a[_0x477d('0xd67')]=_0x4bfa88[_0x477d('0x451')]['errors']||[{'message':_0x4bfa88[_0x477d('0x453')](),'type':'api.cmCompany.update'}];for(var _0x26947b=0x0;_0x26947b<_0x4bfa88['data'][_0x477d('0xd67')]['length'];_0x26947b++){_0x44d7a0['error']({'title':_0x4bfa88[_0x477d('0x451')]['errors'][_0x26947b][_0x477d('0x439')],'msg':_0x4bfa88[_0x477d('0x451')][_0x477d('0xd67')][_0x26947b][_0x477d('0x452')]});}}else{_0x44d7a0[_0x477d('0x44a')]({'title':_0x4bfa88[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x4bfa88[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x4bfa88[_0x477d('0x44d')]:_0x477d('0x143e'),'msg':_0x4bfa88['data']?JSON[_0x477d('0x3fb')](_0x4bfa88[_0x477d('0x451')][_0x477d('0x452')]):_0x4bfa88['toString']()});}});}function _0x3770ef(_0x1539a3){_0x40a73a['errors']=[];var _0x2d5570=_0x54b61d['confirm']()[_0x477d('0x49a')](_0x477d('0xd79'))[_0x477d('0xdaf')](_0x477d('0x143f'))[_0x477d('0x687')]('Delete\x20Company')['ok']('Delete')['cancel'](_0x477d('0x688'))[_0x477d('0xd7c')](_0x1539a3);_0x54b61d[_0x477d('0x395')](_0x2d5570)[_0x477d('0x76')](function(){_0x5128b8[_0x477d('0xb68')][_0x477d('0xa55')]({'id':_0x40a73a[_0x477d('0x1430')]['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x40a73a['companies'],{'id':_0x40a73a[_0x477d('0x1430')]['id']});_0x44d7a0[_0x477d('0x485')]({'title':_0x477d('0x1440'),'msg':(_0x40a73a[_0x477d('0x1430')][_0x477d('0x94')]||_0x477d('0x1430'))+'\x20has\x20been\x20deleted!'});_0x51e58a(_0x40a73a[_0x477d('0x1430')]);})[_0x477d('0xf8')](function(_0x3aca31){if(_0x3aca31['data']&&_0x3aca31['data']['errors']&&_0x3aca31['data'][_0x477d('0xd67')][_0x477d('0x79')]){_0x40a73a[_0x477d('0xd67')]=_0x3aca31[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x3aca31[_0x477d('0x453')](),'type':_0x477d('0x1441')}];for(var _0x695c2a=0x0;_0x695c2a<_0x3aca31[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x695c2a++){_0x44d7a0[_0x477d('0x44a')]({'title':_0x3aca31[_0x477d('0x451')][_0x477d('0xd67')][_0x695c2a][_0x477d('0x439')],'msg':_0x3aca31[_0x477d('0x451')][_0x477d('0xd67')][_0x695c2a][_0x477d('0x452')]});}}else{_0x44d7a0[_0x477d('0x44a')]({'title':_0x3aca31[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x3aca31[_0x477d('0x3c3')]+'\x20-\x20'+_0x3aca31[_0x477d('0x44d')]:'api.cmCompany.delete','msg':_0x3aca31[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x3aca31[_0x477d('0x451')][_0x477d('0x452')]):_0x3aca31[_0x477d('0x452')]||_0x3aca31[_0x477d('0x453')]()});}});},function(){});}function _0x28bc8a(_0x23b676){return _0x23b676===null?undefined:new Date(_0x23b676);}function _0x51e58a(_0x4dd8b3){_0x54b61d[_0x477d('0x3bc')](_0x4dd8b3);}}}());(function(){'use strict';_0x1308e7['$inject']=[_0x477d('0x3c4'),_0x477d('0xd64'),'$mdDialog',_0x477d('0x475'),'$translate',_0x477d('0x613'),_0x477d('0xc8e'),_0x477d('0x386'),_0x477d('0x40e'),_0x477d('0x55'),_0x477d('0x1430'),_0x477d('0x3ac')];angular['module'](_0x477d('0x2e'))[_0x477d('0x3ba')](_0x477d('0x1442'),_0x1308e7);function _0x1308e7(_0x1af25e,_0x4dd157,_0x37aa28,_0x37ed21,_0x2eca4e,_0x36fd10,_0x25391e,_0x5a8835,_0x88635d,_0x2ade52,_0x2b7c3f,_0x324235){var _0x341464=this;_0x341464['currentUser']=_0x2ade52[_0x477d('0x5c')]();_0x341464[_0x477d('0x613')]=_0x36fd10;_0x341464['setting']=_0x25391e;_0x341464[_0x477d('0xd69')]=_0x341464[_0x477d('0xc8e')][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x341464['location']=_0x4dd157[_0x477d('0x3ce')]()+_0x477d('0x1209')+_0x4dd157[_0x477d('0x3c9')]();_0x341464['company']=_0x2b7c3f||_0x1af25e['params'][_0x477d('0x1430')]||{};_0x341464[_0x477d('0x3ac')]=_0x324235&&_0x324235[_0x477d('0x3bb')]==0x1?_0x324235[_0x477d('0xf2')][0x0]:null;_0x341464['crudPermissions']=_0x2ade52[_0x477d('0xd81')](_0x341464['userProfileSection']?_0x341464['userProfileSection'][_0x477d('0xd66')]:null);_0x341464['hasModulePermissions']={};_0x341464[_0x477d('0xe95')]=_0x1af25e[_0x477d('0x37e')]['tab']||0x0;_0x341464[_0x477d('0x1443')]=_0x45ac56;_0x341464[_0x477d('0x120a')]=_0x88635d[_0x477d('0x669')];_0x341464[_0x477d('0x1444')]=_0x1da7a9;_0x341464[_0x477d('0x1445')]=_0x4b7f73;function _0x45ac56(_0x3f1936,_0x59dff8){if(_0x2ade52[_0x477d('0x56')]('admin')){_0x1af25e['go'](_0x477d('0xd6'),{'CompanyId':_0x3f1936['id']});}else{return _0x5a8835[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x2ade52[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0x12f})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x3c1cf6){var _0x1ae51a=_0x3c1cf6&&_0x3c1cf6[_0x477d('0xf2')]?_0x3c1cf6['rows'][0x0]:null;if(_0x1ae51a&&_0x1ae51a[_0x477d('0x3b4')]){_0x1af25e['go'](_0x477d('0xd6'),{'CompanyId':_0x3f1936['id']});}else{_0x88635d[_0x477d('0x669')]({'title':_0x2eca4e['instant'](_0x477d('0x119d')),'msg':_0x2eca4e[_0x477d('0x45f')](_0x477d('0x142f'))});}})[_0x477d('0xf8')](function(_0x5827de){_0x88635d[_0x477d('0x44a')]({'title':_0x5827de[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x5827de[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x5827de[_0x477d('0x44d')]:_0x477d('0x11df'),'msg':_0x5827de['status']?JSON[_0x477d('0x3fb')](_0x5827de[_0x477d('0x451')]):_0x5827de[_0x477d('0x453')]()});});}}function _0x1da7a9(){_0x1af25e['go'](_0x477d('0x1446'),{},{'reload':'app.contactmanager.companies'});}function _0x4b7f73(){_0x5a8835['cmCompany'][_0x477d('0x710')]({'id':_0x341464[_0x477d('0x1430')]['id']},_0x341464[_0x477d('0x1430')])[_0x477d('0x38b')][_0x477d('0x76')](function(){_0x88635d[_0x477d('0x485')]({'title':_0x477d('0x1447'),'msg':_0x341464[_0x477d('0x1430')]['name']?_0x341464['company'][_0x477d('0x94')]+_0x477d('0xed7'):''});})[_0x477d('0xf8')](function(_0x535ee6){_0x88635d[_0x477d('0x44a')]({'title':_0x535ee6[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x535ee6[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x535ee6[_0x477d('0x44d')]:_0x477d('0x1448'),'msg':_0x535ee6[_0x477d('0x451')]?JSON['stringify'](_0x535ee6[_0x477d('0x451')]):_0x535ee6[_0x477d('0x453')]()});});}}}());(function(){'use strict';_0x16d92d[_0x477d('0xa')]=['$scope','$document',_0x477d('0x3fe'),_0x477d('0x3c4'),'$stateParams',_0x477d('0x384'),'$q',_0x477d('0x3a5'),'userProfileSection','api',_0x477d('0x1449'),_0x477d('0xf1'),_0x477d('0x144a'),'companies',_0x477d('0x144b'),_0x477d('0x1263'),_0x477d('0x40e'),_0x477d('0x55'),'license'];angular[_0x477d('0xb')](_0x477d('0x2e'))[_0x477d('0x3ba')](_0x477d('0x144c'),_0x16d92d);function _0x16d92d(_0x2e1f0b,_0x1625eb,_0x19d86f,_0x43b485,_0x596550,_0x27d85c,_0x1ef39f,_0x2cc965,_0x366185,_0x16fddd,_0x18b44b,_0x1fdca7,_0x5d330a,_0x1999d3,_0x3ffaf4,_0x4bed69,_0x529b4d,_0x330079,_0x1bd60a){var _0x24c90b=this;_0x24c90b[_0x477d('0x3e5')]=_0x330079[_0x477d('0x5c')]();_0x24c90b[_0x477d('0x613')]=_0x1bd60a;_0x24c90b[_0x477d('0x3a5')]=_0x2cc965;_0x24c90b[_0x477d('0x3ac')]=_0x366185&&_0x366185[_0x477d('0x3bb')]==0x1?_0x366185['rows'][0x0]:null;_0x24c90b[_0x477d('0xd66')]=_0x330079[_0x477d('0xd81')](_0x24c90b[_0x477d('0x3ac')]?_0x24c90b[_0x477d('0x3ac')][_0x477d('0xd66')]:null);var _0x5c7611=0x3c;var _0x95eba5=_0x5c7611*0x400*0x400;_0x24c90b['ngFlowOptions']={'target':_0x477d('0x144d'),'singleFile':!![],'maxChunkRetries':0x1,'chunkSize':_0x95eba5,'simultaneousUploads':0x1,'testChunks':![],'progressCallbacksInterval':0x3e8,'allowDuplicateUploads':!![]};_0x24c90b[_0x477d('0x1449')]=_0x18b44b||{'count':0x0,'rows':[]};_0x24c90b[_0x477d('0x43c')]={'hidden':![],'hover':![],'isOpen':![]};_0x24c90b['table']=_0x477d('0x144e');_0x24c90b[_0x477d('0x144f')]=[];_0x24c90b[_0x477d('0xf1')]=_0x1fdca7||{'rows':[],'count':0x0};_0x24c90b[_0x477d('0xf4')]=_0x1999d3||{'rows':[],'count':0x0};_0x24c90b[_0x477d('0x1263')]=_0x4bed69||{'rows':[],'count':0x0};_0x24c90b[_0x477d('0x144a')]=_0x5d330a;_0x24c90b[_0x477d('0x144b')]=_0x3ffaf4;_0x24c90b['selectedTags']=[];_0x24c90b[_0x477d('0x1450')]=null;_0x24c90b[_0x477d('0x1451')]=null;_0x24c90b['query']=_[_0x477d('0xef')]({'includeAll':!![],'sort':'-updatedAt','limit':0xa,'offset':0x0,'page':0x1},_0x596550);_0x24c90b['editdialog']=_0x4f1316;_0x24c90b[_0x477d('0xd88')]=_0x5b3c08;_0x24c90b['success']=_0xb3e525;_0x24c90b[_0x477d('0x1452')]=_0x5e6342;_0x24c90b[_0x477d('0x1453')]=_0x151495;_0x24c90b['mergeContact']=_0x42dbf6;_0x24c90b[_0x477d('0x1454')]=_0x2333fd;_0x24c90b[_0x477d('0x1455')]=_0x3d6553;_0x24c90b[_0x477d('0x1456')]=_0x11d8cc;_0x24c90b['exportSelectedContacts']=_0x1f14f4;_0x24c90b[_0x477d('0x1457')]=_0x20aa21;_0x24c90b[_0x477d('0x1458')]=_0xd801ba;_0x24c90b[_0x477d('0x1459')]=_0x176a90;_0x24c90b[_0x477d('0x145a')]=_0x4a8258;_0x24c90b[_0x477d('0x145b')]=_0x566bb6;_0x24c90b[_0x477d('0x145c')]=_0x69fc0;_0x24c90b['importContacts']=_0x304449;_0x24c90b['hasPermission']=_0xb78a2;_0x24c90b['fileAdded']=_0x30311a;if(_0x43b485['params'][_0x477d('0x1229')]){_0x24c90b[_0x477d('0x1450')]=_0x43b485[_0x477d('0x37e')][_0x477d('0x1229')];}if(_0x43b485[_0x477d('0x37e')][_0x477d('0x132b')]){_0x24c90b[_0x477d('0x1451')]=_0x43b485[_0x477d('0x37e')][_0x477d('0x132b')];}_0x2e1f0b[_0x477d('0x4b5')](_0x477d('0x145d'),function(_0x3fa0fc){if(_0x3fa0fc){_0x19d86f(function(){_0x2e1f0b[_0x477d('0x145e')]=_0x24c90b[_0x477d('0x43c')][_0x477d('0x747')];},0x258);}else{_0x2e1f0b[_0x477d('0x145e')]=_0x24c90b[_0x477d('0x43c')]['isOpen'];}});function _0x151495(){if(!_0x330079[_0x477d('0x56')](_0x477d('0x5f'))){var _0x578c5c=_(_0x24c90b[_0x477d('0x1449')][_0x477d('0xf2')])[_0x477d('0x3cb')](function(_0x27da0f){return{'id':_0x27da0f[_0x477d('0x132b')]};})['uniqBy']('id')[_0x477d('0x3b3')](function(_0x451cdc){return _0x451cdc['id']&&_0x451cdc['id']>0x0;})['pullAllBy'](_0x24c90b['companies']['rows'],'id')['value']();if(!_[_0x477d('0x3b2')](_0x578c5c)){var _0x353902=[];_0x578c5c[_0x477d('0x3b1')](function(_0x1dd4c1){_0x353902['push'](_0x16fddd[_0x477d('0xb68')][_0x477d('0x376')]({'id':_0x1dd4c1['id'],'fields':_0x477d('0x9c')})[_0x477d('0x38b')]);});_0x1ef39f[_0x477d('0x7c')](_0x353902)[_0x477d('0x76')](function(_0x26dd34){_0x26dd34[_0x477d('0x3b1')](function(_0x7a2b8a){var _0x58a1a9=_0x7a2b8a[_0x477d('0xd71')]();_0x58a1a9['canSelect']=![];_0x24c90b[_0x477d('0xf4')][_0x477d('0xf2')][_0x477d('0x3a7')](_0x58a1a9);var _0x14a3cf={};_0x14a3cf[_0x58a1a9['id']]=_0x58a1a9[_0x477d('0x94')];_0x24c90b['companiesMap']=_[_0x477d('0x145f')](_0x24c90b['companiesMap'],_0x14a3cf);});})['catch'](function(_0x3ac8f6){_0x529b4d[_0x477d('0x44a')]({'title':_0x3ac8f6[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x3ac8f6[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x3ac8f6[_0x477d('0x44d')]:_0x477d('0x1460'),'msg':_0x3ac8f6['data']?JSON[_0x477d('0x3fb')](_0x3ac8f6[_0x477d('0x451')]['message']):_0x3ac8f6['toString']()});});}}}function _0x566bb6(_0x1b5004){var _0x125156=_0x27d85c[_0x477d('0x683')]()['title'](_0x477d('0x1461'))[_0x477d('0x4ae')](_0x477d('0x1462'))[_0x477d('0x687')](_0x477d('0x1462'))[_0x477d('0xd7c')](_0x1b5004)['ok']('Ok')['cancel'](_0x477d('0x688'));return _0x27d85c[_0x477d('0x395')](_0x125156)[_0x477d('0x76')](function(_0x13786d){if(_0x13786d){return _0x16fddd[_0x477d('0xe3f')][_0x477d('0xd70')]({'name':_0x13786d});}else{_0x529b4d[_0x477d('0x44a')]({'title':'Error\x20creating\x20list!','msg':_0x477d('0x1463')});}})[_0x477d('0x76')](function(_0x52cf40){if(_0x52cf40){_0x24c90b['lists'][_0x477d('0xf2')][_0x477d('0x3a7')](_0x52cf40);_0x529b4d[_0x477d('0x485')]({'title':'List\x20properly\x20created!','msg':_0x52cf40[_0x477d('0x94')]?_0x52cf40[_0x477d('0x94')]+_0x477d('0xd73'):''});}});}function _0xb78a2(){return _0x330079['hasPermission'](0x12f)||_0x330079[_0x477d('0x56')](_0x477d('0x5f'));}function _0x69fc0(_0x146743){var _0x5d9e85=_0x27d85c[_0x477d('0x683')]()[_0x477d('0x49a')](_0x477d('0x1464'))[_0x477d('0x4ae')](_0x477d('0x1465'))[_0x477d('0x687')]('Company\x20name')['targetEvent'](_0x146743)['ok']('Ok')['cancel'](_0x477d('0x688'));return _0x27d85c[_0x477d('0x395')](_0x5d9e85)[_0x477d('0x76')](function(_0x8acec2){if(_0x8acec2){return _0x16fddd[_0x477d('0xb68')][_0x477d('0xd70')]({'name':_0x8acec2});}else{_0x529b4d['error']({'title':_0x477d('0x1466'),'msg':_0x477d('0x1467')});}})[_0x477d('0x76')](function(_0x1d35e9){if(_0x1d35e9){_0x24c90b['companies'][_0x477d('0xf2')][_0x477d('0x3a7')](_0x1d35e9);_0x529b4d['success']({'title':'Company\x20properly\x20created!','msg':_0x1d35e9[_0x477d('0x94')]?_0x1d35e9['name']+_0x477d('0xd73'):''});}});}function _0x4a8258(_0x60f9a9){var _0x46d549=_0x27d85c[_0x477d('0x683')]()['title']('What\x20would\x20you\x20name\x20your\x20tag?')[_0x477d('0x4ae')](_0x477d('0x1468'))[_0x477d('0x687')]('Tag\x20name')[_0x477d('0xd7c')](_0x60f9a9)['ok']('Ok')['cancel'](_0x477d('0x688'));return _0x27d85c[_0x477d('0x395')](_0x46d549)[_0x477d('0x76')](function(_0x166d46){if(_0x166d46){return _0x16fddd[_0x477d('0xbb0')][_0x477d('0xd70')]({'name':_0x166d46});}else{_0x529b4d[_0x477d('0x44a')]({'title':'Error\x20creating\x20tag!','msg':_0x477d('0x1469')});}})['then'](function(_0x53961d){if(_0x53961d){_0x24c90b['tags'][_0x477d('0xf2')][_0x477d('0x3a7')](_0x53961d);_0x529b4d[_0x477d('0x485')]({'title':_0x477d('0x146a'),'msg':_0x53961d[_0x477d('0xbb0')]?_0x53961d['name']+'\x20has\x20been\x20created!':''});}});}function _0x304449(_0x5371b2,_0x4bf13f,_0x150221){var _0x112c6b=JSON[_0x477d('0x77')](_0x4bf13f);_0x27d85c[_0x477d('0x395')]({'controller':_0x477d('0x146b'),'controllerAs':'vm','templateUrl':'app/main/apps/contactmanager/views/contacts/import/import.html','parent':angular[_0x477d('0x398')](_0x1625eb[_0x477d('0x399')]),'clickOutsideToClose':![],'locals':{'lists':_0x1fdca7,'companies':_0x1999d3,'file':_0x112c6b['file'],'fields':_0x112c6b[_0x477d('0x458')],'license':_0x24c90b[_0x477d('0x613')]}})[_0x477d('0x76')](function(){_0x24c90b[_0x477d('0x1452')]();})[_0x477d('0xf8')](function(_0x2b045d){console[_0x477d('0x44a')]();});}function _0x4f1316(_0x48a2ec,_0x22230e){_0x43b485['go'](_0x477d('0x146c'),{'id':_0x48a2ec['id'],'crudPermissions':_0x24c90b[_0x477d('0xd66')]});}function _0x5b3c08(_0x52284d,_0x4e73e6){var _0x243a19=_0x27d85c[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x146d'))[_0x477d('0xd92')](''+(_0x52284d[_0x477d('0x1357')]||_0x52284d[_0x477d('0x1359')]||_0x52284d['phone']||'Contact')+_0x477d('0xd94')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x146e'))['targetEvent'](_0x4e73e6)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x27d85c['show'](_0x243a19)[_0x477d('0x76')](function(){_0x11d8cc(_0x52284d);});}function _0x30311a(_0x160ba3){var _0x96539a=[_0x477d('0x146f')];if(!_[_0x477d('0x3a4')](_0x96539a,_0x160ba3[_0x477d('0x1178')]())){_0x529b4d['error']({'title':_0x477d('0x133d')+_0x160ba3['getExtension'](),'msg':'Supported\x20extension:\x20'+_0x96539a[_0x477d('0x3f6')]()});return![];}if(_0x160ba3[_0x477d('0x117b')]>_0x95eba5){_0x529b4d[_0x477d('0x44a')]({'title':_0x477d('0x12a6'),'msg':_0x477d('0x133e')+_0x5c7611+'MB'});return![];}return!![];}var _0x4c8109=!![];var _0x33c7c7=0x1;_0x2e1f0b['$watch'](_0x477d('0xd98'),function(_0x8d06f5,_0xcac1a4){if(_0x4c8109){_0x19d86f(function(){_0x4c8109=![];});}else{if(!_0xcac1a4){_0x33c7c7=_0x24c90b[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x8d06f5!==_0xcac1a4){_0x24c90b[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0x8d06f5){_0x24c90b[_0x477d('0x3ef')]['page']=_0x33c7c7;}_0x24c90b[_0x477d('0x1452')]();}},!![]);_0x2e1f0b['$watch'](_0x477d('0x1470'),function(_0x1ef2d2,_0x511266){if(_0x1ef2d2!==_0x511266){_0x24c90b['query'][_0x477d('0x1229')]=_0x24c90b['selectedList']||undefined;_0x24c90b[_0x477d('0x1452')]();}});_0x2e1f0b[_0x477d('0x4b5')](_0x477d('0x1471'),function(_0x12bb57,_0xb45d8){if(_0x12bb57!==_0xb45d8){_0x24c90b[_0x477d('0x3ef')]['CompanyId']=_0x24c90b[_0x477d('0x1451')]||undefined;_0x24c90b[_0x477d('0x1452')]();}});_0x2e1f0b[_0x477d('0x4b5')](_0x477d('0x1472'),function(_0x2d48b,_0x595546){if(_0x2d48b['length']||_0x595546['length']){_0x24c90b[_0x477d('0x1452')]();}});function _0xb3e525(_0x46289a){_0x24c90b['contacts']=_0x46289a||{'count':0x0,'rows':[]};}function _0x5e6342(){_0x24c90b[_0x477d('0x3ef')]['offset']=(_0x24c90b[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x24c90b[_0x477d('0x3ef')][_0x477d('0x91d')];if(_0x330079[_0x477d('0x56')](_0x477d('0x5f'))){_0x24c90b[_0x477d('0x553')]=_0x16fddd[_0x477d('0xb6c')][_0x477d('0x376')](_0x24c90b[_0x477d('0x3ef')],_0xb3e525)[_0x477d('0x38b')];}else{_0x24c90b[_0x477d('0x3ef')]['id']=_0x24c90b[_0x477d('0x3a5')]['id'];_0x24c90b[_0x477d('0x3ef')][_0x477d('0x1229')]=!_0x24c90b[_0x477d('0x3ef')][_0x477d('0x1229')]?_[_0x477d('0x3cb')](_0x24c90b[_0x477d('0xf1')][_0x477d('0xf2')],'id'):_0x24c90b[_0x477d('0x3ef')][_0x477d('0x1229')];_0x24c90b[_0x477d('0x3ef')][_0x477d('0x132b')]=!_0x24c90b[_0x477d('0x3ef')][_0x477d('0x132b')]?_(_0x24c90b[_0x477d('0xf4')][_0x477d('0xf2')])['filter']({'canSelect':undefined})[_0x477d('0x3cb')]('id')[_0x477d('0x3b6')]():_0x24c90b['query']['CompanyId'];_0x24c90b['query'][_0x477d('0xd99')]=_0x477d('0xf0');_0x24c90b[_0x477d('0x553')]=_0x16fddd[_0x477d('0x3a5')][_0x477d('0xd9a')](_0x24c90b[_0x477d('0x3ef')],_0xb3e525)['$promise'];}}function _0x3d6553(_0x4db83c,_0x2f2705){if(_0x2f2705&&_0x2f2705['dateOfBirth']){_0x2f2705['dateOfBirth']=new Date(_0x2f2705[_0x477d('0xf7')]);}_0x27d85c[_0x477d('0x395')]({'controller':_0x477d('0x1473'),'controllerAs':'vm','templateUrl':_0x477d('0x1474'),'parent':angular[_0x477d('0x398')](_0x1625eb['body']),'targetEvent':_0x4db83c,'clickOutsideToClose':!![],'locals':{'ListId':_0x24c90b[_0x477d('0x3ef')][_0x477d('0x1229')]||_0x43b485[_0x477d('0x37e')][_0x477d('0x1229')],'CompanyId':_0x24c90b[_0x477d('0x3ef')]['CompanyId']||_0x43b485[_0x477d('0x37e')][_0x477d('0x132b')],'contact':_0x2f2705,'contacts':_0x24c90b[_0x477d('0x1449')][_0x477d('0xf2')],'companies':_0x24c90b['companies'],'lists':_0x24c90b['lists'],'setting':null,'crudPermissions':_0x24c90b[_0x477d('0xd66')]}});}function _0x2333fd(_0x1ee628,_0x1465f9){_0x27d85c['show']({'controller':_0x477d('0x1475'),'controllerAs':'vm','templateUrl':_0x477d('0x1476'),'parent':angular['element'](_0x1625eb[_0x477d('0x399')]),'targetEvent':_0x1ee628,'clickOutsideToClose':!![],'resolve':{'contact':[_0x477d('0x5e'),function(_0x58084e){return _0x58084e['resolve'](_0x477d('0xee'),{'id':_0x1465f9['id']});}],'lists':[_0x477d('0x5e'),'Auth',function(_0x513e68,_0x14b2b2){return _0x14b2b2[_0x477d('0x56')](_0x477d('0x5f'))?_0x513e68['resolve']('cmList@get',{'fields':'id,name','nolimit':!![]}):_0x513e68[_0x477d('0x5a')](_0x477d('0x5b'),{'id':_0x14b2b2['getCurrentUser']()[_0x477d('0x61')],'section':_0x477d('0xa9'),'fields':_0x477d('0x9c'),'nolimit':!![]});}]},'locals':{'contacts':_0x24c90b[_0x477d('0x1449')][_0x477d('0xf2')]}});}function _0x42dbf6(_0xc1e26a,_0x522dd9){_0x27d85c[_0x477d('0x395')]({'controller':'MergeContactDialogController','controllerAs':'vm','templateUrl':_0x477d('0x1477'),'parent':angular[_0x477d('0x398')](_0x1625eb['body']),'targetEvent':_0xc1e26a,'clickOutsideToClose':!![],'resolve':{'contact':[_0x477d('0x5e'),function(_0x4614fa){return _0x4614fa[_0x477d('0x5a')](_0x477d('0xee'),{'id':_0x522dd9['id']});}],'lists':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x138740,_0x282e76){return _0x282e76[_0x477d('0x56')]('admin')?_0x138740[_0x477d('0x5a')](_0x477d('0xdb'),{'fields':_0x477d('0x9c'),'nolimit':!![]}):_0x138740[_0x477d('0x5a')](_0x477d('0x5b'),{'id':_0x282e76[_0x477d('0x5c')]()['userProfileId'],'section':_0x477d('0xa9'),'fields':'id,name','nolimit':!![]});}]},'locals':{'contacts':_0x24c90b[_0x477d('0x1449')][_0x477d('0xf2')]}});}function _0x11d8cc(_0x56da42){_0x16fddd[_0x477d('0xb6c')][_0x477d('0xa55')]({'id':_0x56da42['id']})['$promise']['then'](function(){_[_0x477d('0x39c')](_0x24c90b['contacts']['rows'],{'id':_0x56da42['id']});_0x24c90b['contacts'][_0x477d('0x3bb')]-=0x1;if(!_0x24c90b[_0x477d('0x1449')][_0x477d('0xf2')][_0x477d('0x79')]){_0x24c90b[_0x477d('0x1452')]();}_0x529b4d[_0x477d('0x485')]({'title':'Contact\x20deleted!','msg':_0x56da42[_0x477d('0x94')]?_0x56da42[_0x477d('0x94')]+'\x20has\x20been\x20deleted!':''});})[_0x477d('0xf8')](function(_0x4140d7){if(_0x4140d7[_0x477d('0x451')]&&_0x4140d7[_0x477d('0x451')][_0x477d('0xd67')]&&_0x4140d7[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x24c90b['errors']=_0x4140d7['data']['errors']||[{'message':_0x4140d7['toString'](),'type':_0x477d('0x1478')}];for(var _0x13e0f4=0x0;_0x13e0f4<_0x4140d7[_0x477d('0x451')]['errors'][_0x477d('0x79')];_0x13e0f4++){_0x529b4d[_0x477d('0x44a')]({'title':_0x4140d7[_0x477d('0x451')]['errors'][_0x13e0f4][_0x477d('0x439')],'msg':_0x4140d7[_0x477d('0x451')]['errors'][_0x13e0f4][_0x477d('0x452')]});}}else{_0x529b4d[_0x477d('0x44a')]({'title':_0x4140d7[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x4140d7[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x4140d7[_0x477d('0x44d')]:_0x477d('0x1478'),'msg':_0x4140d7[_0x477d('0x451')]?JSON['stringify'](_0x4140d7['data'][_0x477d('0x452')]):_0x4140d7['message']||_0x4140d7[_0x477d('0x453')]()});}});}function _0x1f14f4(){var _0x2297d6=angular[_0x477d('0x6d9')](_0x24c90b['selectedContacts']);_0x24c90b[_0x477d('0x144f')]=[];return _0x2297d6;}function _0x20aa21(_0x282e42){var _0x1a2af9=_0x27d85c['confirm']()[_0x477d('0x49a')](_0x477d('0x1479'))[_0x477d('0xd92')](_0x477d('0xd93')+_0x24c90b['selectedContacts']['length']+_0x477d('0xda0')+'\x20will\x20be\x20deleted.')[_0x477d('0x687')]('delete\x20Contacts')[_0x477d('0xd7c')](_0x282e42)['ok']('OK')['cancel'](_0x477d('0xd97'));_0x27d85c['show'](_0x1a2af9)[_0x477d('0x76')](function(){_0x24c90b['selectedContacts']['forEach'](function(_0x244ded){_0x11d8cc(_0x244ded);});_0x24c90b['selectedContacts']=[];});}function _0xd801ba(){_0x24c90b['selectedContacts']=[];}function _0x176a90(){_0x24c90b[_0x477d('0x144f')]=_0x24c90b[_0x477d('0x1449')][_0x477d('0xf2')];}}}());(function(){'use strict';_0x2aedba['$inject']=['$mdDialog','toasty',_0x477d('0x1449'),_0x477d('0xf1'),_0x477d('0xf4'),_0x477d('0x100'),_0x477d('0x1229'),_0x477d('0x132b'),_0x477d('0x386'),'crudPermissions'];angular[_0x477d('0xb')]('app.tools')[_0x477d('0x3ba')](_0x477d('0x1473'),_0x2aedba);function _0x2aedba(_0x15d16a,_0x13217e,_0x156a29,_0x414346,_0x4c28d0,_0x25884d,_0x278528,_0x519182,_0x527274,_0x25945f){var _0x43c9c0=this;_0x43c9c0['errors']=[];_0x43c9c0[_0x477d('0x49a')]=_0x477d('0x147a');_0x43c9c0[_0x477d('0xd66')]=_0x25945f;_0x43c9c0[_0x477d('0x100')]=angular[_0x477d('0x6d9')](_0x25884d);_0x43c9c0[_0x477d('0x1449')]=_0x156a29||{'rows':[],'count':0x0};_0x43c9c0[_0x477d('0xf1')]=_0x414346||{'rows':[],'count':0x0};_0x43c9c0[_0x477d('0xf4')]=_0x4c28d0||{'rows':[],'count':0x0};_0x43c9c0[_0x477d('0x132d')]={'rows':[],'count':0x0};_0x43c9c0[_0x477d('0x147b')]=![];if(!_0x43c9c0[_0x477d('0x100')]){_0x43c9c0[_0x477d('0x100')]={'ListId':_0x278528?parseInt(_0x278528,0xa):undefined,'CompanyId':_0x519182?parseInt(_0x519182,0xa):undefined};_0x43c9c0[_0x477d('0x49a')]=_0x477d('0x147c');_0x43c9c0[_0x477d('0x147b')]=!![];}else{delete _0x43c9c0['contact'][_0x477d('0x147d')];_0x43c9c0[_0x477d('0x1229')]=_0x43c9c0[_0x477d('0x100')][_0x477d('0x1229')]||undefined;}_0x43c9c0[_0x477d('0x147e')]=_0x2dd3e8;_0x43c9c0['saveContact']=_0x57965f;_0x43c9c0[_0x477d('0x1456')]=_0x3398ed;_0x43c9c0[_0x477d('0x6bf')]=_0x3d29d9;_0x43c9c0[_0x477d('0x132c')]=_0x5235c6;_0x43c9c0['getDateFromString']=_0x3a7963;function _0x2dd3e8(){_0x43c9c0[_0x477d('0xd67')]=[];_0x527274['cmContact']['save'](_0x43c9c0['contact'])[_0x477d('0x38b')]['then'](function(_0x45bc4e){_0x43c9c0[_0x477d('0x1449')][_0x477d('0x63b')](_0x45bc4e);_0x13217e[_0x477d('0x485')]({'title':'Contact\x20properly\x20created','msg':_0x43c9c0[_0x477d('0x100')][_0x477d('0x94')]?_0x43c9c0['contact']['name']+'\x20has\x20been\x20created!':''});_0x3d29d9();})[_0x477d('0xf8')](function(_0x1492fb){if(_0x1492fb[_0x477d('0x451')]&&_0x1492fb[_0x477d('0x451')][_0x477d('0xd67')]&&_0x1492fb[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x43c9c0['errors']=_0x1492fb[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x1492fb['toString'](),'type':'api.user.save'}];for(var _0x218c82=0x0;_0x218c82<_0x1492fb[_0x477d('0x451')]['errors'][_0x477d('0x79')];_0x218c82++){_0x13217e['error']({'title':_0x1492fb['data'][_0x477d('0xd67')][_0x218c82][_0x477d('0x439')],'msg':_0x1492fb[_0x477d('0x451')][_0x477d('0xd67')][_0x218c82][_0x477d('0x452')]});}}else{_0x13217e[_0x477d('0x44a')]({'title':_0x1492fb[_0x477d('0x3c3')]?'API:'+_0x1492fb[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x1492fb[_0x477d('0x44d')]:_0x477d('0x147f'),'msg':_0x1492fb[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x1492fb[_0x477d('0x451')][_0x477d('0x452')]):_0x1492fb[_0x477d('0x453')]()});}});}function _0x57965f(){_0x43c9c0[_0x477d('0xd67')]=[];_0x527274[_0x477d('0xb6c')][_0x477d('0x710')]({'id':_0x43c9c0[_0x477d('0x100')]['id']},_0x43c9c0[_0x477d('0x100')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x3d06ef){var _0x57d719=_[_0x477d('0x10a')](_0x43c9c0[_0x477d('0x1449')],{'id':_0x3d06ef['id']});if(_0x57d719){_[_0x477d('0xef')](_0x57d719,_0x3d06ef);}_0x13217e[_0x477d('0x485')]({'title':_0x477d('0x1480'),'msg':_0x43c9c0[_0x477d('0x100')][_0x477d('0x94')]?_0x43c9c0[_0x477d('0x100')][_0x477d('0x94')]+_0x477d('0xd76'):''});_0x3d29d9();})[_0x477d('0xf8')](function(_0x36c066){if(_0x36c066[_0x477d('0x451')]&&_0x36c066[_0x477d('0x451')][_0x477d('0xd67')]&&_0x36c066['data'][_0x477d('0xd67')][_0x477d('0x79')]){_0x43c9c0['errors']=_0x36c066[_0x477d('0x451')]['errors']||[{'message':_0x36c066[_0x477d('0x453')](),'type':_0x477d('0x1481')}];for(var _0x9d9d54=0x0;_0x9d9d54<_0x36c066[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x9d9d54++){_0x13217e[_0x477d('0x44a')]({'title':_0x36c066[_0x477d('0x451')][_0x477d('0xd67')][_0x9d9d54]['type'],'msg':_0x36c066[_0x477d('0x451')][_0x477d('0xd67')][_0x9d9d54][_0x477d('0x452')]});}}else{_0x13217e[_0x477d('0x44a')]({'title':_0x36c066[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x36c066['status']+_0x477d('0x44c')+_0x36c066[_0x477d('0x44d')]:_0x477d('0x1481'),'msg':_0x36c066[_0x477d('0x451')]?JSON['stringify'](_0x36c066['data'][_0x477d('0x452')]):_0x36c066[_0x477d('0x453')]()});}});}function _0x5235c6(_0x2269dd){if(_0x2269dd){return _0x527274['cmList']['getCustomFields']({'id':_0x2269dd})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x46cbda){if(_0x46cbda){_0x43c9c0['customFields']=_0x46cbda;}})[_0x477d('0xf8')](function(_0x1d8593){console[_0x477d('0x44a')](_0x1d8593);});}else{_0x43c9c0['customFields']={'rows':[],'count':0x0};}}function _0x3398ed(_0x5430f1){_0x43c9c0[_0x477d('0xd67')]=[];var _0x168ea5=_0x15d16a[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xd79'))[_0x477d('0xdaf')](_0x477d('0x1482'))[_0x477d('0x687')]('Delete\x20Contact')['ok'](_0x477d('0xd7b'))[_0x477d('0x4f0')](_0x477d('0x688'))[_0x477d('0xd7c')](_0x5430f1);_0x15d16a[_0x477d('0x395')](_0x168ea5)['then'](function(){_0x527274[_0x477d('0xb6c')]['delete']({'id':_0x43c9c0[_0x477d('0x100')]['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x43c9c0[_0x477d('0x1449')],{'id':_0x43c9c0[_0x477d('0x100')]['id']});_0x13217e[_0x477d('0x485')]({'title':'Contact\x20properly\x20deleted!','msg':_0x43c9c0[_0x477d('0x100')][_0x477d('0x94')]?_0x43c9c0[_0x477d('0x100')][_0x477d('0x94')]+_0x477d('0xd7e'):''});_0x3d29d9();})[_0x477d('0xf8')](function(_0x29b54a){console['error'](_0x29b54a);_0x43c9c0[_0x477d('0xd67')]=_0x29b54a[_0x477d('0x451')]['errors']||[{'message':_0x29b54a['toString'](),'type':_0x477d('0x1478')}];});},function(){});}function _0x3a7963(_0x237aea){return _0x237aea===null?undefined:new Date(_0x237aea);}function _0x3d29d9(){_0x15d16a['hide']();}}}());(function(){'use strict';_0x1fb5dc[_0x477d('0xa')]=[_0x477d('0x384'),_0x477d('0x40e'),_0x477d('0x100'),_0x477d('0x1449'),_0x477d('0xf1'),'api'];angular[_0x477d('0xb')](_0x477d('0x35'))['controller'](_0x477d('0x1475'),_0x1fb5dc);function _0x1fb5dc(_0xb20496,_0x13404b,_0xbd27f0,_0x49625c,_0x3d1f9c,_0x54342e){var _0x48e374=this;_0x48e374[_0x477d('0xd67')]=[];_0x48e374['title']='CONTACTMANAGER.COPY_CONTACT';_0x48e374[_0x477d('0x100')]=angular[_0x477d('0x6d9')](_0xbd27f0);_0x48e374[_0x477d('0xf1')]=_0x3d1f9c||{'rows':[],'count':0x0};_0x48e374[_0x477d('0x147e')]=_0x51faeb;_0x48e374[_0x477d('0x6bf')]=_0x11e7fc;function _0x51faeb(){_0x48e374[_0x477d('0xd67')]=[];delete _0x48e374['contact']['id'];if(_0x48e374[_0x477d('0x100')][_0x477d('0x1263')]&&!_0x48e374[_0x477d('0x100')][_0x477d('0x1263')][_0x477d('0x79')]){delete _0x48e374[_0x477d('0x100')][_0x477d('0x1263')];}_0x54342e[_0x477d('0xb6c')][_0x477d('0xd70')](_0x48e374[_0x477d('0x100')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x50ec56){_0x49625c[_0x477d('0x63b')](_0x50ec56);_0x13404b[_0x477d('0x485')]({'title':_0x477d('0x1483'),'msg':_0x48e374[_0x477d('0x100')][_0x477d('0x94')]?_0x48e374[_0x477d('0x100')][_0x477d('0x94')]+_0x477d('0xd73'):''});_0x11e7fc();})[_0x477d('0xf8')](function(_0x1d3650){console[_0x477d('0x44a')](_0x1d3650);_0x48e374['errors']=_0x1d3650[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x1d3650[_0x477d('0x453')](),'type':_0x477d('0x1484')}];});}function _0x11e7fc(){_0xb20496[_0x477d('0x3bc')]();}}}());(function(){'use strict';_0x4fa1d3[_0x477d('0xa')]=[_0x477d('0x474'),'$state',_0x477d('0xd64'),_0x477d('0x384'),_0x477d('0x40e'),'hoppers',_0x477d('0x1485'),_0x477d('0x386'),'crudPermissions'];angular[_0x477d('0xb')](_0x477d('0xd6'))['controller'](_0x477d('0x1486'),_0x4fa1d3);function _0x4fa1d3(_0x5e8cd0,_0x5246e8,_0x465713,_0x16851f,_0x41301d,_0x1338af,_0x10cbf3,_0x21d7ee,_0x34b1c3){var _0x4562c5=this;_0x4562c5['errors']=[];_0x4562c5['title']=_0x477d('0x1487');_0x4562c5['hopper']=angular[_0x477d('0x6d9')](_0x10cbf3);_0x4562c5['hoppers']=_0x1338af;_0x4562c5['newHopper']=![];_0x4562c5[_0x477d('0xd66')]=_0x34b1c3;if(!_0x4562c5[_0x477d('0x1485')]){_0x4562c5['hopper']={};_0x4562c5[_0x477d('0x49a')]='CONTACTMANAGER.NEW_HOPPER';_0x4562c5[_0x477d('0x1488')]=!![];}_0x4562c5[_0x477d('0x1489')]=_0x140649;_0x4562c5[_0x477d('0xd6f')]=_0x25e038;_0x4562c5[_0x477d('0x6bf')]=_0x17133c;function _0x140649(){_0x4562c5[_0x477d('0xd67')]=[];_0x21d7ee[_0x477d('0xb79')][_0x477d('0x710')]({'id':_0x4562c5[_0x477d('0x1485')]['id']},_0x4562c5[_0x477d('0x1485')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x5ad555){var _0x344e17=_['find'](_0x4562c5[_0x477d('0x148a')],{'id':_0x5ad555['id']});if(_0x344e17){_[_0x477d('0xef')](_0x344e17,_0x5ad555);}_0x41301d[_0x477d('0x485')]({'title':'Hopper\x20properly\x20saved!','msg':_0x4562c5[_0x477d('0x1485')][_0x477d('0x94')]?_0x4562c5[_0x477d('0x1485')][_0x477d('0x94')]+'\x20has\x20been\x20saved!':''});_0x17133c(_0x5ad555);})[_0x477d('0xf8')](function(_0x3218fb){console[_0x477d('0x44a')](_0x3218fb);_0x4562c5['errors']=_0x3218fb[_0x477d('0x451')]['errors']||[{'message':_0x3218fb[_0x477d('0x453')](),'type':'api.cmHopper.update'}];});}function _0xcebc3d(){_0x4562c5[_0x477d('0xd67')]=[];var _0x190049=_0x16851f[_0x477d('0xd78')]()['title'](_0x477d('0xd79'))[_0x477d('0xdaf')](_0x477d('0x148b'))[_0x477d('0x687')](_0x477d('0x148c'))['ok'](_0x477d('0xd7b'))[_0x477d('0x4f0')](_0x477d('0x688'))[_0x477d('0xd7c')](event);_0x16851f[_0x477d('0x395')](_0x190049)[_0x477d('0x76')](function(){_0x21d7ee[_0x477d('0xb79')][_0x477d('0xa55')]({'id':_0x4562c5['hopper']['id']})[_0x477d('0x38b')]['then'](function(){_[_0x477d('0x39c')](_0x4562c5[_0x477d('0x148a')],{'id':_0x4562c5[_0x477d('0x1485')]['id']});_0x41301d[_0x477d('0x485')]({'title':_0x477d('0x148d'),'msg':(_0x4562c5['hopper'][_0x477d('0x94')]||_0x477d('0x1485'))+'\x20has\x20been\x20deleted!'});_0x17133c(_0x4562c5[_0x477d('0x1485')]);})['catch'](function(_0x3ac5b2){console[_0x477d('0x44a')](_0x3ac5b2);_0x4562c5[_0x477d('0xd67')]=_0x3ac5b2[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x3ac5b2[_0x477d('0x453')](),'type':'api.cmHopper.delete'}];});},function(){});}function _0x25e038(_0x3eab1c){return _0x3eab1c===null?undefined:new Date(_0x3eab1c);}function _0x17133c(_0x556595){_0x16851f['hide'](_0x556595);}}}());(function(){'use strict';_0x19f791[_0x477d('0xa')]=['$scope',_0x477d('0x3fe'),'$state',_0x477d('0x475'),_0x477d('0x384'),_0x477d('0x40e'),_0x477d('0x386'),_0x477d('0x100'),_0x477d('0x148a'),_0x477d('0x148e'),_0x477d('0x148f'),'contacts',_0x477d('0xf4'),_0x477d('0xf1'),'customFields',_0x477d('0x1263'),_0x477d('0x1490'),'license','Auth',_0x477d('0x3ac')];angular['module'](_0x477d('0xd6'))[_0x477d('0x3ba')](_0x477d('0x1491'),_0x19f791);function _0x19f791(_0xd75f88,_0x92a32d,_0x588f6d,_0x13d16b,_0x1471a6,_0x5070d7,_0x3e04c7,_0x1093a2,_0x1ef8ee,_0x3e53a8,_0x3503e6,_0x283fbd,_0x568071,_0x3006cc,_0x164e19,_0xe6c6e3,_0xfdc132,_0x31983a,_0x5b032b,_0x5db254){var _0x1f33d9=this;_0x1f33d9[_0x477d('0x3e5')]=_0x5b032b[_0x477d('0x5c')]();_0x1f33d9[_0x477d('0x613')]=_0x31983a;_0x1f33d9[_0x477d('0x1492')]=[];_0x1f33d9[_0x477d('0x100')]=_0x1093a2||{};_0x1f33d9['hoppers']=_0x1ef8ee||{'rows':[],'count':0x0};_0x1f33d9[_0x477d('0x148e')]=_0x3e53a8||{'rows':[],'count':0x0};_0x1f33d9[_0x477d('0x148f')]=_0x3503e6||{'rows':[],'count':0x0};_0x1f33d9['companies']=_0x568071||{'rows':[],'count':0x0};_0x1f33d9['lists']=_0x3006cc||{'rows':[],'count':0x0};_0x1f33d9[_0x477d('0x132d')]=_0x164e19||{'rows':[],'count':0x0};_0x1f33d9[_0x477d('0x1263')]=_0xe6c6e3||{'rows':[],'count':0x0};_0x1f33d9[_0x477d('0x1490')]=_0xfdc132||{'rows':[],'count':0x0};_0x1f33d9[_0x477d('0x1493')]={'scrollEl':_0x477d('0x1494')};_0x1f33d9[_0x477d('0x1495')]=new Date(moment()['startOf'](_0x477d('0x6fd'))[_0x477d('0x455')](0x1,_0x477d('0x6e9'))[_0x477d('0x12e')](0x0,!![])[_0x477d('0x12f')]());_0x1f33d9[_0x477d('0x1496')]=new Date(moment()[_0x477d('0x130')](_0x477d('0x6fd'))[_0x477d('0x455')](0x1,_0x477d('0x137'))[_0x477d('0x12e')](0x0,!![])['format']());_0x1f33d9[_0x477d('0x3ac')]=_0x5db254&&_0x5db254[_0x477d('0x3bb')]==0x1?_0x5db254['rows'][0x0]:null;_0x1f33d9[_0x477d('0xd66')]=_0x5b032b[_0x477d('0xd81')](_0x1f33d9[_0x477d('0x3ac')]?_0x1f33d9[_0x477d('0x3ac')][_0x477d('0xd66')]:null);_0x1f33d9[_0x477d('0x1497')]=_[_0x477d('0xdb5')]([{'option':_0x477d('0xf81'),'value':_0x477d('0x1498')},{'option':_0x477d('0x1499'),'value':_0x477d('0x149a')},{'option':_0x477d('0xf82'),'value':_0x477d('0x149b')},{'option':'Low','value':_0x477d('0x149c')},{'option':_0x477d('0xf83'),'value':_0x477d('0x149d')}],function(_0xef86d7){return _[_0x477d('0x409')](_0xef86d7[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x1f33d9['queryHopper']={'fields':_0x477d('0xfa'),'sort':_0x477d('0x59'),'limit':0xa,'page':0x1};_0x1f33d9[_0x477d('0x149e')]={'fields':'id,uniqueid,calleridnum,statedesc,starttime,disposition','sort':_0x477d('0x149f'),'limit':0xa,'page':0x1};_0x1f33d9[_0x477d('0x14a0')]={'fields':'id,uniqueid,calleridnum,statedesc,scheduledat,starttime,endtime','sort':'-id','limit':0xa,'page':0x1};_0x1f33d9[_0x477d('0x14a1')]={'fields':_0x477d('0xff'),'sort':_0x477d('0x14a2'),'limit':0xa,'page':0x1};_0x1f33d9['selectedTab']=_0x588f6d[_0x477d('0x37e')][_0x477d('0xe96')]||0x0;_0x1f33d9[_0x477d('0x71a')]=_0x3a0783;_0x1f33d9[_0x477d('0x14a3')]=_0x3e7c60;_0x1f33d9[_0x477d('0x1454')]=_0x52198b;_0x1f33d9[_0x477d('0x14a4')]=_0x859da9;_0x1f33d9[_0x477d('0x14a5')]=_0x4530d4;_0x1f33d9[_0x477d('0x14a6')]=_0xbe393c;_0x1f33d9[_0x477d('0x14a7')]=_0x2d73b8;_0x1f33d9[_0x477d('0xd6f')]=_0x3bb78a;_0x1f33d9[_0x477d('0x14a8')]=_0x2cdf8a;_0x1f33d9[_0x477d('0x14a9')]=_0x249fea;_0x1f33d9[_0x477d('0x14aa')]=_0x1fff16;_0x1f33d9['getJscriptySessions']=_0x11892c;_0x1f33d9['deleteconfirm']=_0x18c2c7;_0x1f33d9[_0x477d('0x14ab')]=_0x4be21a;_0x1f33d9[_0x477d('0x14ac')]=_0x5020c5;_0x1f33d9['getColorByItem']=_0x25a83a;var _0x56f953=!![];var _0x20f6d8=0x1;_0xd75f88[_0x477d('0x4b5')](_0x477d('0x14ad'),function(_0x45254c,_0x5c1f81){if(_0x56f953){_0x92a32d(function(){_0x56f953=![];});}else{if(!_0x5c1f81){_0x20f6d8=_0x1f33d9['queryHopper'][_0x477d('0xe03')];}if(_0x45254c!==_0x5c1f81){_0x1f33d9[_0x477d('0x14ae')][_0x477d('0xe03')]=0x1;}if(!_0x45254c){_0x1f33d9[_0x477d('0x14ae')][_0x477d('0xe03')]=_0x20f6d8;}_0x1f33d9['getHoppers']();}});_0xd75f88[_0x477d('0x4b5')](_0x477d('0x14af'),function(_0x5292b2,_0x2ee5c9){if(_0x56f953){_0x92a32d(function(){_0x56f953=![];});}else{if(!_0x2ee5c9){_0x20f6d8=_0x1f33d9[_0x477d('0x149e')][_0x477d('0xe03')];}if(_0x5292b2!==_0x2ee5c9){_0x1f33d9[_0x477d('0x149e')]['page']=0x1;}if(!_0x5292b2){_0x1f33d9[_0x477d('0x149e')][_0x477d('0xe03')]=_0x20f6d8;}_0x1f33d9[_0x477d('0x14a9')]();}});_0xd75f88[_0x477d('0x4b5')](_0x477d('0x14b0'),function(_0x30fdba,_0xae5483){if(_0x56f953){_0x92a32d(function(){_0x56f953=![];});}else{if(!_0xae5483){_0x20f6d8=_0x1f33d9[_0x477d('0x14a0')]['page'];}if(_0x30fdba!==_0xae5483){_0x1f33d9['queryHistory'][_0x477d('0xe03')]=0x1;}if(!_0x30fdba){_0x1f33d9['queryHistory'][_0x477d('0xe03')]=_0x20f6d8;}_0x1f33d9['getHistories']();}});function _0x5d992a(_0x1f4bb9){switch(_0x1f4bb9){case'chat':return _0x477d('0x14b1');case _0x477d('0x1d6'):return _0x477d('0x9f2');case _0x477d('0x26e'):return _0x477d('0x14b2');case'openchannel':return _0x477d('0x14b3');case'fax':return _0x477d('0x14b4');case _0x477d('0x35d'):return _0x477d('0x14b5');default:return'blue-A700';}}function _0x25a83a(_0x4f9a49){var _0x3e8f5c='';if(_0x4f9a49[_0x477d('0x14b6')]){_0x3e8f5c=_0x477d('0x154');}else if(_0x4f9a49[_0x477d('0x14b7')]){_0x3e8f5c=_0x477d('0x22a');}else if(_0x4f9a49['SmsAccountId']){_0x3e8f5c=_0x477d('0x26e');}else if(_0x4f9a49[_0x477d('0x14b8')]){_0x3e8f5c=_0x477d('0x1d6');}else if(_0x4f9a49[_0x477d('0x1237')]){_0x3e8f5c=_0x477d('0xb6');}else if(_0x4f9a49['amaflags']){_0x3e8f5c=_0x477d('0x108');}return _0x5d992a(_0x3e8f5c);}function _0x2efd07(_0x47eac6){return function(_0x3bf7dd){_0x1f33d9[_0x47eac6]=_0x3bf7dd||{'count':0x0,'rows':[]};};}function _0x3a0783(){if(!_0x5b032b[_0x477d('0x56')](_0x477d('0x5f'))){_0x29f61c();_0xc6cf52();}return _0x3e04c7[_0x477d('0x380')]['get']({'fields':_0x477d('0x14b9'),'nolimit':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0xecf717){_0x1f33d9[_0x477d('0xf2d')]=_0xecf717||{'count':0x0,'rows':[]};_0x1f33d9[_0x477d('0x14ba')]=_[_0x477d('0x14bb')](_['keyBy'](_0x1f33d9[_0x477d('0xf2d')][_0x477d('0xf2')],'id'),_0x477d('0xcd'));_0x1f33d9['Tags']=_['map'](_0x1f33d9[_0x477d('0x100')][_0x477d('0x102')],'id');})[_0x477d('0x76')](_0x27199a(_0x1093a2));}function _0x29f61c(){var _0x453c60=_[_0x477d('0x3ab')](_0x1f33d9[_0x477d('0xf4')]['rows'],{'id':_0x1f33d9[_0x477d('0x100')][_0x477d('0x132b')]});if(!_0x453c60){return _0x3e04c7[_0x477d('0xb68')]['get']({'id':_0x1f33d9[_0x477d('0x100')][_0x477d('0x132b')],'fields':'id,name'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x4b8165){var _0x7f8ced=_0x4b8165[_0x477d('0xd71')]();_0x7f8ced[_0x477d('0xf8b')]=![];_0x1f33d9['companies'][_0x477d('0xf2')][_0x477d('0x3a7')](_0x7f8ced);})[_0x477d('0xf8')](function(_0xe75ab5){_0x5070d7[_0x477d('0x44a')]({'title':_0xe75ab5['status']?_0x477d('0x44b')+_0xe75ab5[_0x477d('0x3c3')]+_0x477d('0x44c')+_0xe75ab5[_0x477d('0x44d')]:_0x477d('0x1460'),'msg':_0xe75ab5['data']?JSON['stringify'](_0xe75ab5['data'][_0x477d('0x452')]):_0xe75ab5[_0x477d('0x453')]()});});}}function _0xc6cf52(){var _0x4d1ae1=_[_0x477d('0x3cb')](_0x1f33d9['contact'][_0x477d('0x102')],function(_0x3cc116){return{'id':_0x3cc116['id'],'name':_0x3cc116[_0x477d('0x94')]};});if(!_[_0x477d('0x3b2')](_0x4d1ae1)){for(var _0x1b5dd1=0x0;_0x1b5dd1<_0x4d1ae1[_0x477d('0x79')];_0x1b5dd1++){if(!_['some'](_0x1f33d9['tags'][_0x477d('0xf2')],{'id':_0x4d1ae1['id']})){_0x4d1ae1[_0x1b5dd1][_0x477d('0xf8b')]=![];_0x1f33d9[_0x477d('0x1263')][_0x477d('0xf2')]['push'](_0x4d1ae1[_0x1b5dd1]);}}}}function _0x3f2581(_0x2d90d1){if(_0x2d90d1&&_0x2d90d1['count']&&_0x2d90d1[_0x477d('0xf2')][_0x477d('0x79')]){_0x1f33d9[_0x477d('0x1492')]=_['concat'](_0x1f33d9[_0x477d('0x1492')],_0x2d90d1[_0x477d('0xf2')]);}}function _0x27199a(_0x27352d){var _0x19a5a7=[_0x477d('0x1d6'),_0x477d('0xb6'),_0x477d('0x26e'),_0x477d('0x22a'),_0x477d('0x154')];if(_0x27352d&&_0x27352d['id']){for(var _0x48c02a=0x0;_0x48c02a<_0x19a5a7[_0x477d('0x79')];_0x48c02a++){_0x3e04c7[_0x19a5a7[_0x48c02a]+_0x477d('0x14bc')][_0x477d('0x376')]({'ContactId':_0x27352d['id'],'includeAll':!![]})[_0x477d('0x38b')][_0x477d('0x76')](_0x3f2581);}_0x3e04c7[_0x477d('0xa95')][_0x477d('0x376')]({'ContactId':_0x27352d['id'],'includeAll':!![]})[_0x477d('0x38b')]['then'](_0x3f2581)['catch'](function(_0x5630f8){console['error'](_0x5630f8);});}}function _0x4be21a(_0x910d46,_0x16adc0){_0x1471a6[_0x477d('0x395')]({'controller':_0x477d('0x14bd'),'controllerAs':'vm','templateUrl':_0x477d('0x14be'),'parent':angular[_0x477d('0x398')](_0x13d16b[_0x477d('0x399')]),'targetEvent':_0x910d46,'clickOutsideToClose':!![],'locals':{'hopper':_0x16adc0,'hoppers':_0x1f33d9[_0x477d('0x148a')][_0x477d('0xf2')],'license':null,'setting':null,'crudPermissions':_0x1f33d9[_0x477d('0xd66')]}});}function _0x5020c5(_0x3acef9,_0x537c3b){_0x1471a6[_0x477d('0x395')]({'controller':_0x477d('0x14bf'),'controllerAs':'vm','templateUrl':_0x477d('0x14c0'),'parent':angular[_0x477d('0x398')](_0x13d16b[_0x477d('0x399')]),'targetEvent':_0x3acef9,'clickOutsideToClose':!![],'locals':{'hopper':_0x537c3b,'hoppers':_0x1f33d9[_0x477d('0x148a')][_0x477d('0xf2')],'license':null,'setting':null,'crudPermissions':_0x1f33d9[_0x477d('0xd66')]}});}function _0x18c2c7(_0x38a3b9,_0x90d9f7){var _0x5807f3=_0x1471a6['confirm']()[_0x477d('0x49a')](_0x477d('0x14c1'))[_0x477d('0xd92')](_0x477d('0xd93')+(_0x38a3b9[_0x477d('0xf46')]||'hopper')+_0x477d('0xd94')+_0x477d('0xd95'))['ariaLabel'](_0x477d('0x14c2'))['targetEvent'](_0x90d9f7)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x1471a6[_0x477d('0x395')](_0x5807f3)[_0x477d('0x76')](function(){_0x57dda1(_0x38a3b9);},function(){console['log'](_0x477d('0xd97'));});}function _0x57dda1(_0x1ea915){return _0x3e04c7[_0x477d('0xb79')][_0x477d('0xa55')]({'id':_0x1ea915['id']})[_0x477d('0x38b')]['then'](function(){_[_0x477d('0x39c')](_0x1f33d9[_0x477d('0x148a')][_0x477d('0xf2')],{'id':_0x1ea915['id']});_0x1f33d9[_0x477d('0x148a')][_0x477d('0x3bb')]--;if(!_0x1f33d9[_0x477d('0x148a')][_0x477d('0xf2')]['length']){_0x1f33d9[_0x477d('0x14a8')]();}_0x5070d7[_0x477d('0x485')]({'title':_0x477d('0x14c3'),'msg':_0x1ea915[_0x477d('0xf46')]?_0x1ea915[_0x477d('0xf46')]+'\x20has\x20been\x20deleted!':''});})[_0x477d('0xf8')](function(_0x397201){_0x5070d7[_0x477d('0x44a')]({'title':_0x397201['status']?_0x477d('0x44b')+_0x397201[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x397201[_0x477d('0x44d')]:_0x477d('0x14c4'),'msg':_0x397201[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x397201['data']):_0x397201[_0x477d('0x453')]()});});}function _0x2cdf8a(){_0x1f33d9['queryHopper'][_0x477d('0x91c')]=(_0x1f33d9[_0x477d('0x14ae')][_0x477d('0xe03')]-0x1)*_0x1f33d9[_0x477d('0x14ae')][_0x477d('0x91d')];_0x1f33d9[_0x477d('0x14ae')]['id']=_0x1f33d9[_0x477d('0x100')]['id'];_0x1f33d9[_0x477d('0x553')]=_0x3e04c7[_0x477d('0xb6c')][_0x477d('0x14a8')](_0x1f33d9[_0x477d('0x14ae')],_0x2efd07(_0x477d('0x148a')))[_0x477d('0x38b')];}function _0x249fea(){_0x1f33d9[_0x477d('0x149e')][_0x477d('0x91c')]=(_0x1f33d9[_0x477d('0x149e')][_0x477d('0xe03')]-0x1)*_0x1f33d9['queryFinal'][_0x477d('0x91d')];_0x1f33d9[_0x477d('0x149e')]['id']=_0x1f33d9['contact']['id'];_0x1f33d9[_0x477d('0x553')]=_0x3e04c7['cmContact'][_0x477d('0x14c5')](_0x1f33d9[_0x477d('0x149e')],_0x2efd07(_0x477d('0x148e')))[_0x477d('0x38b')];}function _0x1fff16(){_0x1f33d9[_0x477d('0x14a0')][_0x477d('0x91c')]=(_0x1f33d9['queryHistory'][_0x477d('0xe03')]-0x1)*_0x1f33d9[_0x477d('0x14a0')][_0x477d('0x91d')];_0x1f33d9['queryHistory']['id']=_0x1f33d9[_0x477d('0x100')]['id'];_0x1f33d9[_0x477d('0x553')]=_0x3e04c7[_0x477d('0xb6c')][_0x477d('0x14c6')](_0x1f33d9['queryHistory'],_0x2efd07(_0x477d('0x148f')))['$promise'];}function _0x11892c(){_0x1f33d9['queryJscriptySession'][_0x477d('0x91c')]=(_0x1f33d9[_0x477d('0x14a1')][_0x477d('0xe03')]-0x1)*_0x1f33d9[_0x477d('0x14a1')][_0x477d('0x91d')];_0x1f33d9[_0x477d('0x14a1')]['id']=_0x1f33d9['contact']['id'];_0x1f33d9[_0x477d('0x553')]=_0x3e04c7['cmContact']['getJscriptySessions'](_0x1f33d9[_0x477d('0x14a1')],_0x2efd07(_0x477d('0x1490')))[_0x477d('0x38b')];}function _0xbe393c(_0xda9cef){if(_0x1f33d9[_0x477d('0x100')][_0x477d('0x1229')]){var _0x2330c2=_0x1471a6[_0x477d('0xd78')]()[_0x477d('0x49a')]('You\x20are\x20selecting\x20the\x20list\x20number:\x20'+_0x1f33d9[_0x477d('0x100')]['ListId'])['textContent'](_0x477d('0x14c7')+_0x1f33d9[_0x477d('0x100')][_0x477d('0x1357')]||_0x1f33d9[_0x477d('0x100')]['lastName']||_0x1f33d9[_0x477d('0x100')]['id'])[_0x477d('0xd7c')](_0xda9cef)['ok']('Ok')[_0x477d('0x4f0')](_0x477d('0x688'));return _0x1471a6[_0x477d('0x395')](_0x2330c2)['then'](_0x1f33d9['onSelectListSuccess'])[_0x477d('0xf8')](function(){_0x1f33d9[_0x477d('0x100')][_0x477d('0x1229')]=null;});}}function _0x2d73b8(){return _0x3e04c7['cmList'][_0x477d('0x132c')]({'id':_0x1f33d9[_0x477d('0x100')][_0x477d('0x1229')]})['$promise'][_0x477d('0x76')](function(_0x3dc51e){_0x1f33d9[_0x477d('0x132d')]=_0x3dc51e||{'rows':[],'count':0x0};})[_0x477d('0xf8')](function(_0x4e0619){console['error'](_0x4e0619);});}function _0x26996b(){return _0x3e04c7[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x1f33d9[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x12e})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x4298ae){var _0x25db17=_0x4298ae['rows']?_0x4298ae[_0x477d('0xf2')][0x0]:null;return _0x5b032b['parseCrudPermissions'](_0x25db17?_0x25db17[_0x477d('0xd66')]:null);})[_0x477d('0xf8')](function(_0x416be2){_0x5070d7[_0x477d('0x44a')]({'title':_0x416be2[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x416be2[_0x477d('0x3c3')]+'\x20-\x20'+_0x416be2[_0x477d('0x44d')]:'API:GET_COMPANY_SECTION','msg':_0x416be2['data']?JSON['stringify'](_0x416be2[_0x477d('0x451')]):_0x416be2['toString']()});});}function _0x4530d4(_0xb784b7,_0x4c836f){var _0x79f5a9=_['find'](_0x1f33d9['companies'][_0x477d('0xf2')],{'id':_0x4c836f});_0x1471a6[_0x477d('0x395')]({'controller':_0x477d('0x1432'),'controllerAs':'vm','templateUrl':_0x477d('0x1433'),'parent':angular[_0x477d('0x398')](_0x13d16b[_0x477d('0x399')]),'targetEvent':_0xb784b7,'clickOutsideToClose':!![],'locals':{'companies':[],'license':null,'setting':null,'crudPermissions':_0x79f5a9[_0x477d('0xf8b')]===![]?{'readOnly':!![],'canEdit':![],'canDelete':![]}:_0x26996b()},'resolve':{'company':[_0x477d('0x5e'),function(_0xbcc70c){return _0xbcc70c[_0x477d('0x5a')](_0x477d('0xe2'),{'id':_0x4c836f});}]}});}function _0x52198b(_0x299dc0){_0x1471a6[_0x477d('0x395')]({'controller':_0x477d('0x1475'),'controllerAs':'vm','templateUrl':_0x477d('0x1476'),'parent':angular[_0x477d('0x398')](_0x13d16b[_0x477d('0x399')]),'targetEvent':_0x299dc0,'clickOutsideToClose':!![],'resolve':{'lists':[_0x477d('0x5e'),_0x477d('0x55'),function(_0x4098ad,_0x17c6b6){return _0x17c6b6[_0x477d('0x56')](_0x477d('0x5f'))?_0x4098ad[_0x477d('0x5a')]('cmList@get',{'fields':_0x477d('0x9c')}):_0x4098ad['resolve'](_0x477d('0x5b'),{'id':_0x1f33d9['currentUser']['userProfileId'],'section':'Lists','fields':_0x477d('0x9c')});}]},'locals':{'contacts':_0x283fbd[_0x477d('0xf2')],'contact':_0x1093a2}});}function _0x859da9(){_0x3e04c7[_0x477d('0xb6c')][_0x477d('0x710')]({'id':_0x1f33d9[_0x477d('0x100')]['id']},_0x1f33d9['contact'])[_0x477d('0x38b')][_0x477d('0x76')](function(){_0x5070d7[_0x477d('0x485')]({'title':_0x477d('0x14c8'),'msg':_0x1f33d9[_0x477d('0x100')]['name']?_0x1f33d9['contact'][_0x477d('0x94')]+_0x477d('0xed7'):''});})[_0x477d('0x76')](function(){return _0x3e04c7['cmContact'][_0x477d('0x14c9')]({'id':_0x1f33d9[_0x477d('0x100')]['id'],'ids':_0x1f33d9['Tags']})[_0x477d('0x38b')];})[_0x477d('0xf8')](function(_0xea3d85){_0x5070d7[_0x477d('0x44a')]({'title':_0xea3d85['status']?_0x477d('0x44b')+_0xea3d85[_0x477d('0x3c3')]+_0x477d('0x44c')+_0xea3d85['statusText']:'SYSTEM:UPDATEcontact','msg':_0xea3d85[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0xea3d85[_0x477d('0x451')]):_0xea3d85['toString']()});});}function _0x3bb78a(_0x3c2408){return _0x3c2408===null?undefined:new Date(_0x3c2408);}function _0x3e7c60(){_0x588f6d['go']('app.contactmanager.contacts',{},{'reload':!![],'notify':!![]});}}}());(function(){'use strict';_0x1fc5f1[_0x477d('0xa')]=[_0x477d('0x385'),'$mdDialog',_0x477d('0x794'),'$q',_0x477d('0x3fe'),'lists',_0x477d('0xf4'),_0x477d('0x40e'),_0x477d('0x386'),_0x477d('0x5a3'),_0x477d('0x474'),_0x477d('0xec5'),'fields',_0x477d('0x613')];angular[_0x477d('0xb')](_0x477d('0x35'))[_0x477d('0x3ba')](_0x477d('0x146b'),_0x1fc5f1);function _0x1fc5f1(_0x24b295,_0x9273db,_0x904ddd,_0x23f162,_0x46e0db,_0x4d58e1,_0x5cd3f6,_0x382365,_0x2a8f3e,_0x10fed8,_0x1a9011,_0x170175,_0x3f9cce,_0x775b39){var _0x1dc341=this;_0x1dc341[_0x477d('0x14ca')]=![];_0x1dc341[_0x477d('0x14cb')]=!![];_0x1dc341[_0x477d('0x613')]=_0x775b39;_0x1dc341[_0x477d('0x14cc')]=0x0;_0x1dc341[_0x477d('0xec8')]={'finish':![],'rows':0x0,'affectedRows':0x0,'failedRows':0x0,'duplicatedRows':0x0,'errors':[]};_0x1dc341[_0x477d('0x14cd')]=[{'key':_0x477d('0x1357'),'required':!![]},{'key':_0x477d('0x1358'),'required':![]},{'key':_0x477d('0xf46'),'required':!![]},{'key':'mobile','required':![]},{'key':_0x477d('0x1359'),'required':![]},{'key':_0x477d('0xf7'),'required':![]},{'key':_0x477d('0x14ce'),'required':![]},{'key':_0x477d('0x14cf'),'required':![]},{'key':'street','required':![]},{'key':_0x477d('0x14d0'),'required':![]},{'key':_0x477d('0x154'),'required':![]}];_0x1dc341['motionBullFields']=[{'key':_0x477d('0x125b'),'required':![]},{'key':_0x477d('0x14d1'),'required':![]},{'key':'priority','required':![]}];_0x1dc341['binding']={};_0x1dc341[_0x477d('0x14d2')]=[];_0x1dc341[_0x477d('0xf1')]=_0x4d58e1||{'rows':[],'count':0x0};_0x1dc341['companies']=_0x5cd3f6||{'rows':[],'count':0x0};_0x1dc341[_0x477d('0x132d')]={'rows':[],'count':0x0};_0x1dc341[_0x477d('0x458')]=_0x3f9cce||[];_0x1dc341[_0x477d('0x6bf')]=_0x16b3d8;_0x1dc341[_0x477d('0x14d3')]=_0x2acf4a;_0x1dc341[_0x477d('0x14d4')]=_0x588622;_0x1dc341[_0x477d('0x14d5')]=_0x46ac3f;_0x1dc341['getArrayErrors']=_0x153cb2;_0x1dc341['stopUpload']=_0x202c1c;var _0x40d459=moment()[_0x477d('0x14d6')]();_0x10fed8['on'](_0x477d('0x14d7')+_0x40d459,_0x449483);function _0x2acf4a(){return _0x2a8f3e['cmList'][_0x477d('0x132c')]({'id':_0x1dc341[_0x477d('0x1229')]})['$promise'][_0x477d('0x76')](function(_0x4d1baf){_0x1dc341[_0x477d('0x132d')]=_0x4d1baf;})[_0x477d('0xf8')](function(_0x473159){console[_0x477d('0x44a')](_0x473159);});}function _0x588622(){_0x1dc341[_0x477d('0x14ca')]=moment();_0x2a8f3e[_0x477d('0xb6c')][_0x477d('0x14d8')]({'id':_0x170175[_0x477d('0x6c8')],'binding':_0x1dc341[_0x477d('0x14d9')],'ListId':_0x1dc341['ListId'],'CompanyId':_0x1dc341[_0x477d('0x132b')],'duplicates':_0x1dc341['duplicates'],'socket_timestamp':_0x40d459})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x5a96e8){_0x1dc341[_0x477d('0x14cb')]=![];if(_0x5a96e8&&_0x5a96e8[_0x477d('0x14cc')]){_0x1dc341['pid']=_0x5a96e8[_0x477d('0x14cc')];}})[_0x477d('0xf8')](function(_0x5dded7){_0x1dc341[_0x477d('0x14ca')]=![];_0x382365[_0x477d('0x44a')]({'title':_0x477d('0x14da'),'msg':_0x477d('0x14db')});});}function _0x449483(_0x36a67c){_0x46e0db(function(){_0x1dc341[_0x477d('0xec8')][_0x477d('0xf2')]=_0x36a67c['rows'];if(_0x36a67c[_0x477d('0xd67')]){for(var _0x425c38=0x0;_0x425c38<_0x36a67c['errors'][_0x477d('0x79')];_0x425c38++){_0x1dc341[_0x477d('0xec8')][_0x477d('0xd67')][_0x477d('0x3a7')](_0x36a67c[_0x477d('0xd67')][_0x425c38]);}}if(_0x36a67c[_0x477d('0x14dc')]){_0x1dc341[_0x477d('0xec8')][_0x477d('0x14dc')]=!![];_0x1dc341[_0x477d('0xec8')][_0x477d('0x14dd')]=_0x36a67c['affectedRows'];_0x1dc341[_0x477d('0xec8')]['failedRows']=_0x1dc341[_0x477d('0xec8')][_0x477d('0xd67')][_0x477d('0x79')];var _0x2a688a=_0x1dc341[_0x477d('0xec8')][_0x477d('0xf2')]-_0x1dc341[_0x477d('0xec8')]['affectedRows']-_0x1dc341[_0x477d('0xec8')][_0x477d('0xd67')][_0x477d('0x79')];if(_0x2a688a&&_0x2a688a>0x0){if(_0x1dc341[_0x477d('0x14de')][_0x477d('0x79')]){_0x1dc341['result'][_0x477d('0x14df')]=_0x2a688a;}else{_0x1dc341[_0x477d('0xec8')][_0x477d('0x14e0')]+=_0x2a688a;}}_0x1dc341['result'][_0x477d('0x14e1')]=moment()[_0x477d('0x7a9')](_0x1dc341[_0x477d('0x14ca')],_0x477d('0x6e9'));}});}function _0x46ac3f(){var _0x160fa1=_0x3f9cce;_0x160fa1[_0x477d('0x3a7')](_0x477d('0x14e2'));return _0x160fa1;}function _0x153cb2(){var _0x5ba4b0=[];for(var _0x333e28=0x0;_0x333e28<_0x1dc341[_0x477d('0xec8')][_0x477d('0xd67')]['length'];_0x333e28+=0x1){var _0x369868=_0x1dc341[_0x477d('0xec8')][_0x477d('0xd67')][_0x333e28][_0x477d('0x14e3')];_0x369868[_0x477d('0x14e2')]=_0x1dc341['result'][_0x477d('0xd67')][_0x333e28]['message'];_0x5ba4b0[_0x477d('0x3a7')](_0x369868);}return _0x5ba4b0;}function _0x202c1c(){_0x1dc341[_0x477d('0x14cb')]=!![];if(_0x1dc341[_0x477d('0x14cc')]){return _0x2a8f3e[_0x477d('0xa41')]['killProcess']({'pid':_0x1dc341[_0x477d('0x14cc')]})['$promise'][_0x477d('0x76')](function(_0x1b2a08){_0x382365[_0x477d('0x485')]({'title':_0x477d('0x14e4'),'msg':_0x477d('0x14e5')});})[_0x477d('0xf8')](function(_0x5ea460){_0x382365[_0x477d('0x44a')]({'title':_0x477d('0x14e6'),'msg':_0x477d('0x14e7')});});}}_0x1a9011[_0x477d('0x4ec')](_0x477d('0x505'),function(){_0x10fed8['removeAllListeners'](_0x477d('0x14d7')+_0x40d459);});function _0x16b3d8(){_0x10fed8[_0x477d('0x6b8')](_0x477d('0x14d7')+_0x40d459);_0x9273db[_0x477d('0x3bc')]();}}}());(function(){'use strict';_0x18e9e1[_0x477d('0xa')]=[_0x477d('0x384'),'$scope',_0x477d('0x40e'),_0x477d('0x100'),_0x477d('0x1449'),'lists',_0x477d('0x386')];angular['module'](_0x477d('0x35'))['controller'](_0x477d('0x14e8'),_0x18e9e1);function _0x18e9e1(_0x4248a7,_0x382ca0,_0x376611,_0x4d28a6,_0x59939c,_0x3bedc3,_0x492ffd){var _0x1def32=this;_0x1def32[_0x477d('0xd67')]=[];_0x1def32[_0x477d('0x49a')]=_0x477d('0x14e9');_0x1def32[_0x477d('0x100')]=angular[_0x477d('0x6d9')](_0x4d28a6);_0x1def32['lists']=_0x3bedc3||[];_0x1def32['change']=function(){if(_0x1def32[_0x477d('0x14ea')]){_0x492ffd[_0x477d('0xb6c')]['get']({'fields':'id,firstName,lastName,phone,email','filter':_0x1def32[_0x477d('0x14ea')],'ListId':_0x4d28a6[_0x477d('0x1229')]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x2eaa7a){_0x1def32[_0x477d('0x1449')]=_0x2eaa7a[_0x477d('0xf2')];})[_0x477d('0xf8')](function(_0x3aa4f9){console[_0x477d('0x44a')](_0x3aa4f9);});}else{_0x1def32[_0x477d('0x1449')]=[];}};_0x1def32[_0x477d('0x14eb')]=_0x3429c6;_0x1def32[_0x477d('0x6bf')]=_0x5246c7;function _0x3429c6(_0x1b57e8,_0x4e50d6,_0x3ecfd3){var _0x1b9559=_0x4248a7[_0x477d('0xd78')]({'skipHide':!![]})[_0x477d('0x49a')](_0x477d('0x14ec'))['textContent'](_0x477d('0x14ed')+_0x3ecfd3['id']+_0x477d('0x14ee')+_0x4e50d6['id']+'.')[_0x477d('0xd7c')](_0x1b57e8)['ok']('Ok')[_0x477d('0x4f0')](_0x477d('0x688'));_0x4248a7[_0x477d('0x395')](_0x1b9559)[_0x477d('0x76')](function(){return _0x492ffd[_0x477d('0xb6c')][_0x477d('0xef')]({'to':_0x3ecfd3['id'],'from':_0x4e50d6['id']})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x13185d){_0x4248a7[_0x477d('0x3bc')]({'new':_0x13185d,'to':_0x3ecfd3,'from':_0x4e50d6});_['remove'](_0x59939c,{'id':_0x3ecfd3['id']});_['remove'](_0x59939c,{'id':_0x4e50d6['id']});_0x59939c['unshift'](_0x13185d);})[_0x477d('0x76')](function(){_0x376611['success']({'title':_0x477d('0x14ef')});})[_0x477d('0xf8')](function(_0x270c41){if(_0x270c41&&_0x270c41[_0x477d('0x3c3')]){_0x376611[_0x477d('0x44a')]({'title':_0x270c41[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x270c41[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x270c41[_0x477d('0x44d')]:_0x477d('0x14f0'),'msg':_0x270c41['data']?JSON[_0x477d('0x3fb')](_0x270c41[_0x477d('0x451')]):_0x270c41[_0x477d('0x453')]()});}});}function _0x5246c7(){_0x4248a7[_0x477d('0x3bc')]();}}}());(function(){'use strict';_0x4643b2[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x3c4'),_0x477d('0xd64'),'$mdDialog','$q',_0x477d('0x40d'),_0x477d('0x40e'),_0x477d('0x14f1'),'globalCustomField',_0x477d('0x386'),_0x477d('0x55'),_0x477d('0x613'),_0x477d('0xc8e'),_0x477d('0xd66')];angular['module'](_0x477d('0x2e'))[_0x477d('0x3ba')](_0x477d('0x14f2'),_0x4643b2);function _0x4643b2(_0x457ba5,_0x2bba5c,_0x5aeb56,_0x22da9c,_0x18c18d,_0x326d12,_0x4280ad,_0x21016d,_0x4e200d,_0x3e543d,_0x3e7d9b,_0x562f16,_0x131fc7,_0x36fbc1){var _0x24956a=this;_0x24956a[_0x477d('0x3e5')]=_0x3e7d9b[_0x477d('0x5c')]();_0x24956a[_0x477d('0xd67')]=[];_0x24956a['setting']=_0x131fc7;_0x24956a[_0x477d('0x613')]=_0x562f16;_0x24956a[_0x477d('0xd66')]=_0x36fbc1;_0x24956a['hasModulePermissions']={};_0x24956a[_0x477d('0xd69')]=_0x24956a[_0x477d('0xc8e')]&&_0x24956a['setting']['securePassword']?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x24956a[_0x477d('0x49a')]=_0x477d('0x14f3');_0x24956a[_0x477d('0x14f4')]={'animation':0x320,'sort':!![],'onSort':function(_0x5f2962){_0x457ba5[_0x477d('0x14f5')]['$pristine']=![];}};_0x24956a[_0x477d('0x14f6')]=_0x4e200d;_0x24956a[_0x477d('0x14f1')]=_0x21016d;_0x24956a[_0x477d('0x14f7')]=![];if(!_0x24956a['globalCustomField']){_0x24956a[_0x477d('0x14f6')]={'type':_0x477d('0x41b')};_0x24956a[_0x477d('0x49a')]=_0x477d('0x14f8');_0x24956a[_0x477d('0x14f7')]=!![];}_0x457ba5[_0x477d('0x4b5')](_0x477d('0x14f9'),function(_0x42ef5d,_0x185464){if(_0x42ef5d!==_0x185464){switch(_0x42ef5d){case _0x477d('0x41b'):_0x24956a[_0x477d('0x14f6')][_0x477d('0x445')]='';break;case _0x477d('0x462'):_0x24956a[_0x477d('0x14f6')][_0x477d('0x445')]=[];break;default:}}});_0x24956a[_0x477d('0x14fa')]=_0x579376;_0x24956a[_0x477d('0x14fb')]=_0x48ff95;_0x24956a['deleteGlobalCustomField']=_0x210df7;_0x24956a['getDateFromString']=_0x167b6d;_0x24956a[_0x477d('0x14fc')]=_0x14ffb2;_0x24956a[_0x477d('0x39e')]=_0x3b4022;_0x24956a[_0x477d('0x14fd')]=_0x49ae20;_0x24956a[_0x477d('0x6bf')]=_0x5c412c;function _0x14ffb2(_0x850489){_0x850489[_0x477d('0x3a7')]({'value':_0x477d('0x14fe')});_0x457ba5[_0x477d('0x14f5')][_0x477d('0x14ff')]=![];}function _0x3b4022(_0x1c5585,_0x86a9e3){_0x1c5585[_0x477d('0x45b')](_0x86a9e3,0x1);_0x457ba5[_0x477d('0x14f5')]['$pristine']=![];}function _0x49ae20(_0x317b4a){var _0x1c32e=_0x317b4a[_0x477d('0x79')];for(var _0x10b7d6=0x0;_0x10b7d6<_0x1c32e;_0x10b7d6++){_0x317b4a[_0x477d('0x45b')](0x0,0x1);}_0x457ba5[_0x477d('0x14f5')][_0x477d('0x14ff')]=![];}function _0x579376(){_0x24956a[_0x477d('0xd67')]=[];_0x3e543d[_0x477d('0x1500')][_0x477d('0xd70')](_0x24956a[_0x477d('0x14f6')])['$promise'][_0x477d('0x76')](function(_0x4a14bc){_0x24956a[_0x477d('0x14f1')][_0x477d('0x63b')](_0x4a14bc[_0x477d('0xd71')]());_0x4280ad[_0x477d('0x485')]({'title':'GlobalCustomField\x20properly\x20created','msg':_0x24956a[_0x477d('0x14f6')][_0x477d('0x94')]?_0x24956a['globalCustomField'][_0x477d('0x94')]+_0x477d('0xd73'):''});_0x5c412c(_0x4a14bc);})[_0x477d('0xf8')](function(_0x2a4eb2){if(_0x2a4eb2[_0x477d('0x451')]&&_0x2a4eb2[_0x477d('0x451')][_0x477d('0xd67')]&&_0x2a4eb2[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x24956a[_0x477d('0xd67')]=_0x2a4eb2['data']['errors']||[{'message':_0x2a4eb2[_0x477d('0x453')](),'type':'api.cmCustomField.save'}];for(var _0x2d2b40=0x0;_0x2d2b40<_0x2a4eb2['data'][_0x477d('0xd67')][_0x477d('0x79')];_0x2d2b40+=0x1){_0x4280ad[_0x477d('0x44a')]({'title':_0x2a4eb2[_0x477d('0x451')][_0x477d('0xd67')][_0x2d2b40]['type'],'msg':_0x2a4eb2[_0x477d('0x451')][_0x477d('0xd67')][_0x2d2b40][_0x477d('0x452')]});}}else{_0x4280ad['error']({'title':_0x2a4eb2[_0x477d('0x3c3')]?'API:'+_0x2a4eb2['status']+_0x477d('0x44c')+_0x2a4eb2[_0x477d('0x44d')]:'api.cmCustomField.save','msg':_0x2a4eb2[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x2a4eb2['data'][_0x477d('0x452')]):_0x2a4eb2[_0x477d('0x453')]()});}});}function _0x48ff95(){_0x24956a[_0x477d('0xd67')]=[];_0x3e543d['cmCustomField'][_0x477d('0x710')]({'id':_0x24956a['globalCustomField']['id']},_0x24956a[_0x477d('0x14f6')])['$promise'][_0x477d('0x76')](function(_0xd083a){var _0x448570=_['find'](_0x24956a[_0x477d('0x14f1')],{'id':_0xd083a['id']});if(_0x448570){_[_0x477d('0xef')](_0x448570,_[_0x477d('0x10b')](_0xd083a[_0x477d('0xd71')](),_['keys'](_0x448570)));}_0x4280ad[_0x477d('0x485')]({'title':_0x477d('0x1501'),'msg':_0x24956a[_0x477d('0x14f6')][_0x477d('0x94')]?_0x24956a['globalCustomField']['name']+_0x477d('0xd76'):''});_0x5c412c(_0xd083a);})[_0x477d('0xf8')](function(_0x17b18d){if(_0x17b18d[_0x477d('0x451')]&&_0x17b18d['data'][_0x477d('0xd67')]&&_0x17b18d['data'][_0x477d('0xd67')][_0x477d('0x79')]){_0x24956a[_0x477d('0xd67')]=_0x17b18d[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x17b18d[_0x477d('0x453')](),'type':_0x477d('0x1502')}];for(var _0x8ea7d4=0x0;_0x8ea7d4<_0x17b18d['data'][_0x477d('0xd67')]['length'];_0x8ea7d4++){_0x4280ad[_0x477d('0x44a')]({'title':_0x17b18d['data'][_0x477d('0xd67')][_0x8ea7d4][_0x477d('0x439')],'msg':_0x17b18d['data']['errors'][_0x8ea7d4][_0x477d('0x452')]});}}else{_0x4280ad[_0x477d('0x44a')]({'title':_0x17b18d[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x17b18d[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x17b18d['statusText']:_0x477d('0x1502'),'msg':_0x17b18d[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x17b18d[_0x477d('0x451')][_0x477d('0x452')]):_0x17b18d['toString']()});}});}function _0x210df7(_0x1bcf82){_0x24956a[_0x477d('0xd67')]=[];var _0x2bb097=_0x22da9c['confirm']()['title'](_0x477d('0xd79'))[_0x477d('0xdaf')](_0x477d('0x1503'))[_0x477d('0x687')](_0x477d('0x1504'))['ok'](_0x477d('0xd7b'))['cancel'](_0x477d('0x688'))['targetEvent'](_0x1bcf82);_0x22da9c[_0x477d('0x395')](_0x2bb097)[_0x477d('0x76')](function(){_0x3e543d[_0x477d('0x1500')][_0x477d('0xa55')]({'id':_0x24956a[_0x477d('0x14f6')]['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x24956a[_0x477d('0x14f1')],{'id':_0x24956a[_0x477d('0x14f6')]['id']});_0x4280ad[_0x477d('0x485')]({'title':_0x477d('0x1505'),'msg':(_0x24956a['globalCustomField'][_0x477d('0x94')]||'globalCustomField')+_0x477d('0xd7e')});_0x5c412c(_0x24956a[_0x477d('0x14f6')]);})[_0x477d('0xf8')](function(_0xbf5522){if(_0xbf5522['data']&&_0xbf5522[_0x477d('0x451')]['errors']&&_0xbf5522[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x24956a[_0x477d('0xd67')]=_0xbf5522[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0xbf5522[_0x477d('0x453')](),'type':_0x477d('0x1506')}];for(var _0x290b0b=0x0;_0x290b0b<_0xbf5522[_0x477d('0x451')][_0x477d('0xd67')]['length'];_0x290b0b++){_0x4280ad[_0x477d('0x44a')]({'title':_0xbf5522[_0x477d('0x451')][_0x477d('0xd67')][_0x290b0b]['type'],'msg':_0xbf5522[_0x477d('0x451')][_0x477d('0xd67')][_0x290b0b][_0x477d('0x452')]});}}else{_0x4280ad[_0x477d('0x44a')]({'title':_0xbf5522[_0x477d('0x3c3')]?_0x477d('0x44b')+_0xbf5522[_0x477d('0x3c3')]+_0x477d('0x44c')+_0xbf5522[_0x477d('0x44d')]:_0x477d('0x1506'),'msg':_0xbf5522['data']?JSON[_0x477d('0x3fb')](_0xbf5522[_0x477d('0x451')][_0x477d('0x452')]):_0xbf5522[_0x477d('0x452')]||_0xbf5522[_0x477d('0x453')]()});}});},function(){});}function _0x167b6d(_0x5938fd){return _0x5938fd===null?undefined:new Date(_0x5938fd);}function _0x5c412c(_0x5b64d2){_0x22da9c[_0x477d('0x3bc')](_0x5b64d2);}}}());(function(){'use strict';_0x1fa132[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x387'),_0x477d('0x3c4'),_0x477d('0x554'),_0x477d('0x384'),'$document',_0x477d('0x3fe'),_0x477d('0x40d'),_0x477d('0x14f1'),'userProfile',_0x477d('0x3ac'),_0x477d('0x386'),_0x477d('0x342'),_0x477d('0x40e'),_0x477d('0x55'),_0x477d('0x613'),_0x477d('0xc8e')];angular[_0x477d('0xb')](_0x477d('0x2e'))[_0x477d('0x3ba')](_0x477d('0x1507'),_0x1fa132);function _0x1fa132(_0x3cd11f,_0x944b6,_0x3db6d0,_0x31e4b3,_0x6e5e97,_0x4bcd9a,_0x45a208,_0x4c0cda,_0x3a7de4,_0x155580,_0x3d6514,_0x1abcfa,_0x103cba,_0x5b7175,_0x5a5caa,_0x334159,_0x175ef6){var _0x2dd2f2=this;_0x2dd2f2[_0x477d('0x613')]=_0x334159;_0x2dd2f2[_0x477d('0xc8e')]=_0x175ef6;_0x2dd2f2[_0x477d('0x3e5')]=_0x5a5caa[_0x477d('0x5c')]();_0x2dd2f2['globalCustomFields']=_0x3a7de4||{'count':0x0,'rows':[]};_0x2dd2f2[_0x477d('0x3a5')]=_0x155580;_0x2dd2f2[_0x477d('0x3ac')]=_0x3d6514&&_0x3d6514[_0x477d('0x3bb')]==0x1?_0x3d6514[_0x477d('0xf2')][0x0]:null;_0x2dd2f2[_0x477d('0xd66')]=_0x5a5caa['parseCrudPermissions'](_0x2dd2f2['userProfileSection']?_0x2dd2f2[_0x477d('0x3ac')][_0x477d('0xd66')]:null);_0x2dd2f2[_0x477d('0xd82')]=_0x477d('0x14f1');_0x2dd2f2[_0x477d('0xd83')]='';_0x2dd2f2[_0x477d('0xd84')]=null;_0x2dd2f2['selectedGlobalCustomFields']=[];_0x2dd2f2[_0x477d('0x3ef')]={'fields':'createdAt,updatedAt,id,alias,type,values,required','sort':_0x477d('0x59'),'ListId':_0x477d('0xea'),'limit':0xa,'page':0x1};_0x2dd2f2[_0x477d('0x138b')]=_['keyBy']([{'option':'Text','value':_0x477d('0x1508')},{'option':_0x477d('0x131e'),'value':_0x477d('0x1509')},{'option':_0x477d('0x150a'),'value':_0x477d('0x150b')},{'option':_0x477d('0x150c'),'value':'\x27switch\x27'},{'option':_0x477d('0x150d'),'value':_0x477d('0x150e')}],function(_0x4fc54f){return _[_0x477d('0x409')](_0x4fc54f['value'],new RegExp('\x27','g'),'');});_0x2dd2f2[_0x477d('0xd86')]=_0x24067e;_0x2dd2f2[_0x477d('0xd88')]=_0x2ff4df;_0x2dd2f2[_0x477d('0x485')]=_0x22cfc6;_0x2dd2f2[_0x477d('0x150f')]=_0x2465fa;_0x2dd2f2[_0x477d('0x1510')]=_0x2da430;_0x2dd2f2['deleteGlobalCustomField']=_0xfcb2b0;_0x2dd2f2['exportSelectedGlobalCustomFields']=_0x2a521a;_0x2dd2f2[_0x477d('0x1511')]=_0x125c1a;_0x2dd2f2[_0x477d('0x1512')]=_0x2bad2e;_0x2dd2f2['selectAllGlobalCustomFields']=_0x489410;function _0x24067e(_0x40173d,_0xda46d3){_0x6e5e97[_0x477d('0x395')]({'controller':_0x477d('0x14f2'),'controllerAs':'vm','templateUrl':_0x477d('0x1513'),'parent':angular[_0x477d('0x398')](_0x4bcd9a[_0x477d('0x399')]),'targetEvent':_0xda46d3,'clickOutsideToClose':!![],'locals':{'globalCustomField':_0x40173d,'globalCustomFields':_0x2dd2f2[_0x477d('0x14f1')][_0x477d('0xf2')],'license':_0x2dd2f2[_0x477d('0x613')],'setting':null,'crudPermissions':_0x2dd2f2['crudPermissions']}});}function _0x2ff4df(_0x858150,_0x2c7950){var _0x1fb850=_0x6e5e97[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xd90')+_[_0x477d('0xd91')]('globalCustomField')+'?')[_0x477d('0xd92')](''+(_0x858150[_0x477d('0x94')]||'globalCustomField')+_0x477d('0xd94')+'\x20will\x20be\x20deleted.')[_0x477d('0x687')](_0x477d('0x1514'))['targetEvent'](_0x2c7950)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x6e5e97[_0x477d('0x395')](_0x1fb850)[_0x477d('0x76')](function(){_0xfcb2b0(_0x858150);},function(){console['log'](_0x477d('0xd97'));});}var _0x570dc0=!![];var _0x1a597d=0x1;_0x3cd11f[_0x477d('0x4b5')]('vm.query.filter',function(_0x4817a2,_0x3fd95c){if(_0x570dc0){_0x45a208(function(){_0x570dc0=![];});}else{if(!_0x3fd95c){_0x1a597d=_0x2dd2f2[_0x477d('0x3ef')]['page'];}if(_0x4817a2!==_0x3fd95c){_0x2dd2f2[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0x4817a2){_0x2dd2f2[_0x477d('0x3ef')][_0x477d('0xe03')]=_0x1a597d;}_0x2dd2f2[_0x477d('0x150f')]();}});function _0x22cfc6(_0x35fbb7){_0x2dd2f2[_0x477d('0x14f1')]=_0x35fbb7||{'count':0x0,'rows':[]};}function _0x2465fa(){_0x2dd2f2['query'][_0x477d('0x91c')]=(_0x2dd2f2[_0x477d('0x3ef')]['page']-0x1)*_0x2dd2f2[_0x477d('0x3ef')][_0x477d('0x91d')];if(_0x5a5caa['hasRole'](_0x477d('0x5f'))){_0x2dd2f2[_0x477d('0x553')]=_0x1abcfa['cmCustomField'][_0x477d('0x376')](_0x2dd2f2[_0x477d('0x3ef')],_0x22cfc6)[_0x477d('0x38b')];}else{_0x2dd2f2[_0x477d('0x3ef')]['id']=_0x2dd2f2['userProfile']['id'];_0x2dd2f2['query'][_0x477d('0xd99')]=_0x477d('0x1515');_0x2dd2f2['promise']=_0x1abcfa['userProfile'][_0x477d('0xd9a')](_0x2dd2f2[_0x477d('0x3ef')],_0x22cfc6)[_0x477d('0x38b')];}}function _0x2da430(_0x124d62,_0x56f1db){_0x6e5e97[_0x477d('0x395')]({'controller':_0x477d('0x14f2'),'controllerAs':'vm','templateUrl':_0x477d('0x1513'),'parent':angular['element'](_0x4bcd9a[_0x477d('0x399')]),'targetEvent':_0x124d62,'clickOutsideToClose':!![],'locals':{'globalCustomField':_0x56f1db,'globalCustomFields':_0x2dd2f2[_0x477d('0x14f1')][_0x477d('0xf2')],'license':_0x2dd2f2[_0x477d('0x613')],'setting':_0x2dd2f2['setting'],'crudPermissions':_0x2dd2f2[_0x477d('0xd66')]}});}function _0xfcb2b0(_0xc3f47c){_0x1abcfa[_0x477d('0x1500')][_0x477d('0xa55')]({'id':_0xc3f47c['id']})['$promise']['then'](function(){_[_0x477d('0x39c')](_0x2dd2f2[_0x477d('0x14f1')][_0x477d('0xf2')],{'id':_0xc3f47c['id']});_0x2dd2f2[_0x477d('0x14f1')][_0x477d('0x3bb')]-=0x1;if(!_0x2dd2f2[_0x477d('0x14f1')][_0x477d('0xf2')]['length']){_0x2dd2f2[_0x477d('0x150f')]();}_0x5b7175[_0x477d('0x485')]({'title':_['startCase'](_0x477d('0x1516'))+_0x477d('0xd9d'),'msg':_0xc3f47c[_0x477d('0x94')]?_0xc3f47c[_0x477d('0x94')]+'\x20has\x20been\x20deleted!':''});})[_0x477d('0xf8')](function(_0x9e457a){if(_0x9e457a[_0x477d('0x451')]&&_0x9e457a['data']['errors']&&_0x9e457a[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x2dd2f2[_0x477d('0xd67')]=_0x9e457a['data'][_0x477d('0xd67')]||[{'message':_0x9e457a[_0x477d('0x453')](),'type':'SYSTEM:DELETEcmCustomField'}];for(var _0x20d5bd=0x0;_0x20d5bd<_0x9e457a['data'][_0x477d('0xd67')][_0x477d('0x79')];_0x20d5bd++){_0x5b7175[_0x477d('0x44a')]({'title':_0x9e457a[_0x477d('0x451')][_0x477d('0xd67')][_0x20d5bd]['type'],'msg':_0x9e457a[_0x477d('0x451')][_0x477d('0xd67')][_0x20d5bd]['message']});}}else{_0x5b7175[_0x477d('0x44a')]({'title':_0x9e457a['status']?_0x477d('0x44b')+_0x9e457a[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x9e457a[_0x477d('0x44d')]:_0x477d('0x1517'),'msg':_0x9e457a[_0x477d('0x451')]?JSON['stringify'](_0x9e457a[_0x477d('0x451')][_0x477d('0x452')]):_0x9e457a[_0x477d('0x452')]||_0x9e457a[_0x477d('0x453')]()});}});}function _0x2a521a(){var _0x9f8aaf=angular['copy'](_0x2dd2f2[_0x477d('0x1518')]);_0x2dd2f2[_0x477d('0x1518')]=[];return _0x9f8aaf;}function _0x125c1a(_0x31fe76){var _0x1c402f=_0x6e5e97[_0x477d('0xd78')]()['title'](_0x477d('0x1519'))[_0x477d('0xd92')](''+_0x2dd2f2[_0x477d('0x1518')]['length']+_0x477d('0xda0')+'\x20will\x20be\x20deleted.')['ariaLabel'](_0x477d('0x151a'))[_0x477d('0xd7c')](_0x31fe76)['ok']('OK')['cancel'](_0x477d('0xd97'));_0x6e5e97[_0x477d('0x395')](_0x1c402f)[_0x477d('0x76')](function(){_0x2dd2f2[_0x477d('0x1518')][_0x477d('0x3b1')](function(_0x324379){_0xfcb2b0(_0x324379);});_0x2dd2f2[_0x477d('0x1518')]=[];});}function _0x2bad2e(){_0x2dd2f2['selectedGlobalCustomFields']=[];}function _0x489410(){_0x2dd2f2[_0x477d('0x1518')]=_0x2dd2f2['globalCustomFields'][_0x477d('0xf2')];}}}());(function(){'use strict';_0x2e3157['$inject']=[_0x477d('0x474'),_0x477d('0x3c4'),'$location',_0x477d('0x384'),'$q',_0x477d('0x40d'),'toasty',_0x477d('0xf1'),'list',_0x477d('0x386'),_0x477d('0x55'),_0x477d('0x613'),_0x477d('0xc8e'),'crudPermissions'];angular['module']('app.contactmanager')[_0x477d('0x3ba')]('CreateOrEditListDialogController',_0x2e3157);function _0x2e3157(_0x137844,_0x46dc5e,_0x51f580,_0x29d892,_0x366abb,_0xe9023c,_0x23509e,_0x2c8be9,_0x350d54,_0x317006,_0x5291fd,_0x1b71f7,_0x47078b,_0x164787){var _0x3ac891=this;_0x3ac891[_0x477d('0x3e5')]=_0x5291fd[_0x477d('0x5c')]();_0x3ac891['errors']=[];_0x3ac891[_0x477d('0xc8e')]=_0x47078b;_0x3ac891['license']=_0x1b71f7;_0x3ac891[_0x477d('0xd66')]=_0x164787;_0x3ac891[_0x477d('0xd68')]={};_0x3ac891[_0x477d('0xd69')]=_0x3ac891['setting']&&_0x3ac891[_0x477d('0xc8e')][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x3ac891['title']='CONTACTMANAGER.EDIT_LIST';_0x3ac891[_0x477d('0xa02')]=angular[_0x477d('0x6d9')](_0x350d54);_0x3ac891[_0x477d('0xf1')]=_0x2c8be9;_0x3ac891['newList']=![];if(!_0x3ac891[_0x477d('0xa02')]){_0x3ac891[_0x477d('0xa02')]={};_0x3ac891[_0x477d('0x49a')]=_0x477d('0x151b');_0x3ac891[_0x477d('0x151c')]=!![];}_0x3ac891[_0x477d('0x151d')]=_0x468b7c;_0x3ac891[_0x477d('0x151e')]=_0xf26690;_0x3ac891['deleteList']=_0x216845;_0x3ac891['getDateFromString']=_0x38229f;_0x3ac891[_0x477d('0x6bf')]=_0x438269;function _0x468b7c(){_0x3ac891['errors']=[];_0x317006[_0x477d('0xe3f')][_0x477d('0xd70')](_0x3ac891[_0x477d('0xa02')])['$promise'][_0x477d('0x76')](function(_0x1ab1be){_0x3ac891['lists'][_0x477d('0x63b')](_0x1ab1be['toJSON']());_0x23509e[_0x477d('0x485')]({'title':_0x477d('0x151f'),'msg':_0x3ac891[_0x477d('0xa02')][_0x477d('0x94')]?_0x3ac891['list']['name']+'\x20has\x20been\x20created!':''});_0x438269(_0x1ab1be);})[_0x477d('0xf8')](function(_0x351e9e){if(_0x351e9e[_0x477d('0x451')]&&_0x351e9e[_0x477d('0x451')][_0x477d('0xd67')]&&_0x351e9e[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x3ac891['errors']=_0x351e9e['data'][_0x477d('0xd67')]||[{'message':_0x351e9e['toString'](),'type':_0x477d('0x1520')}];for(var _0x30db8b=0x0;_0x30db8b<_0x351e9e[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x30db8b+=0x1){_0x23509e[_0x477d('0x44a')]({'title':_0x351e9e[_0x477d('0x451')]['errors'][_0x30db8b][_0x477d('0x439')],'msg':_0x351e9e[_0x477d('0x451')]['errors'][_0x30db8b][_0x477d('0x452')]});}}else{_0x23509e[_0x477d('0x44a')]({'title':_0x351e9e[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x351e9e['status']+_0x477d('0x44c')+_0x351e9e[_0x477d('0x44d')]:_0x477d('0x1520'),'msg':_0x351e9e[_0x477d('0x451')]?JSON['stringify'](_0x351e9e[_0x477d('0x451')]['message']):_0x351e9e['toString']()});}});}function _0xf26690(){_0x3ac891[_0x477d('0xd67')]=[];_0x317006[_0x477d('0xe3f')]['update']({'id':_0x3ac891[_0x477d('0xa02')]['id']},_0x3ac891[_0x477d('0xa02')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x42b6a0){var _0x4178d1=_[_0x477d('0x10a')](_0x3ac891[_0x477d('0xf1')],{'id':_0x42b6a0['id']});if(_0x4178d1){_[_0x477d('0xef')](_0x4178d1,_[_0x477d('0x10b')](_0x42b6a0[_0x477d('0xd71')](),_[_0x477d('0x7f')](_0x4178d1)));}_0x23509e[_0x477d('0x485')]({'title':'List\x20properly\x20saved!','msg':_0x3ac891[_0x477d('0xa02')][_0x477d('0x94')]?_0x3ac891['list'][_0x477d('0x94')]+_0x477d('0xd76'):''});_0x438269(_0x42b6a0);})[_0x477d('0xf8')](function(_0xe62d66){if(_0xe62d66['data']&&_0xe62d66[_0x477d('0x451')]['errors']&&_0xe62d66['data'][_0x477d('0xd67')][_0x477d('0x79')]){_0x3ac891[_0x477d('0xd67')]=_0xe62d66[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0xe62d66[_0x477d('0x453')](),'type':_0x477d('0x1521')}];for(var _0x3a90ee=0x0;_0x3a90ee<_0xe62d66['data'][_0x477d('0xd67')][_0x477d('0x79')];_0x3a90ee++){_0x23509e[_0x477d('0x44a')]({'title':_0xe62d66[_0x477d('0x451')][_0x477d('0xd67')][_0x3a90ee]['type'],'msg':_0xe62d66[_0x477d('0x451')][_0x477d('0xd67')][_0x3a90ee][_0x477d('0x452')]});}}else{_0x23509e['error']({'title':_0xe62d66[_0x477d('0x3c3')]?_0x477d('0x44b')+_0xe62d66['status']+_0x477d('0x44c')+_0xe62d66[_0x477d('0x44d')]:_0x477d('0x1521'),'msg':_0xe62d66['data']?JSON[_0x477d('0x3fb')](_0xe62d66[_0x477d('0x451')]['message']):_0xe62d66[_0x477d('0x453')]()});}});}function _0x216845(_0x231639){_0x3ac891['errors']=[];var _0x55f0de=_0x29d892['confirm']()[_0x477d('0x49a')]('Are\x20you\x20sure?')[_0x477d('0xdaf')]('The\x20list\x20will\x20be\x20deleted.')[_0x477d('0x687')](_0x477d('0x1522'))['ok'](_0x477d('0xd7b'))[_0x477d('0x4f0')]('Cancel')[_0x477d('0xd7c')](_0x231639);_0x29d892[_0x477d('0x395')](_0x55f0de)[_0x477d('0x76')](function(){_0x317006['cmList'][_0x477d('0xa55')]({'id':_0x3ac891[_0x477d('0xa02')]['id']})['$promise']['then'](function(){_[_0x477d('0x39c')](_0x3ac891[_0x477d('0xf1')],{'id':_0x3ac891[_0x477d('0xa02')]['id']});_0x23509e[_0x477d('0x485')]({'title':_0x477d('0x1523'),'msg':(_0x3ac891['list'][_0x477d('0x94')]||_0x477d('0xa02'))+_0x477d('0xd7e')});_0x438269(_0x3ac891[_0x477d('0xa02')]);})[_0x477d('0xf8')](function(_0x2bb1b1){if(_0x2bb1b1[_0x477d('0x451')]&&_0x2bb1b1[_0x477d('0x451')]['errors']&&_0x2bb1b1[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x3ac891[_0x477d('0xd67')]=_0x2bb1b1['data'][_0x477d('0xd67')]||[{'message':_0x2bb1b1[_0x477d('0x453')](),'type':_0x477d('0x1524')}];for(var _0x5dd96a=0x0;_0x5dd96a<_0x2bb1b1[_0x477d('0x451')][_0x477d('0xd67')]['length'];_0x5dd96a++){_0x23509e[_0x477d('0x44a')]({'title':_0x2bb1b1[_0x477d('0x451')][_0x477d('0xd67')][_0x5dd96a][_0x477d('0x439')],'msg':_0x2bb1b1[_0x477d('0x451')][_0x477d('0xd67')][_0x5dd96a]['message']});}}else{_0x23509e[_0x477d('0x44a')]({'title':_0x2bb1b1['status']?_0x477d('0x44b')+_0x2bb1b1[_0x477d('0x3c3')]+'\x20-\x20'+_0x2bb1b1[_0x477d('0x44d')]:'api.cmList.delete','msg':_0x2bb1b1[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x2bb1b1[_0x477d('0x451')][_0x477d('0x452')]):_0x2bb1b1[_0x477d('0x452')]||_0x2bb1b1[_0x477d('0x453')]()});}});},function(){});}function _0x38229f(_0x30f04d){return _0x30f04d===null?undefined:new Date(_0x30f04d);}function _0x438269(_0x3ca477){_0x29d892[_0x477d('0x3bc')](_0x3ca477);}}}());(function(){'use strict';_0xa9cb22[_0x477d('0xa')]=[_0x477d('0x384'),'$q',_0x477d('0x40e'),_0x477d('0x386'),_0x477d('0xa02'),_0x477d('0xf1'),_0x477d('0x11f1'),_0x477d('0x40d'),_0x477d('0x55'),_0x477d('0xd66')];angular[_0x477d('0xb')]('app.contactmanager')['controller'](_0x477d('0x1525'),_0xa9cb22);function _0xa9cb22(_0x33d9b4,_0x319bb2,_0x5e0b6b,_0x389f87,_0x183c45,_0x550b85,_0x457381,_0x27804a,_0x2e3805,_0x469a41){var _0x276aba=this;_0x276aba[_0x477d('0x3e5')]=_0x2e3805[_0x477d('0x5c')]();_0x276aba[_0x477d('0xa02')]=_0x183c45;_0x276aba[_0x477d('0xd66')]=_0x469a41;_0x276aba['realtime']=_0x457381;_0x276aba[_0x477d('0x4a6')]=[];_0x276aba[_0x477d('0x11f7')]=[];_0x276aba[_0x477d('0x4a7')]=[];_0x276aba[_0x477d('0x11f2')]=[];_0x276aba['startingSelectedItems']=[];_0x276aba[_0x477d('0x11f5')]=![];_0x276aba[_0x477d('0x71a')]=_0x53c644;_0x276aba[_0x477d('0x11f3')]=_0x4ed1da;_0x276aba[_0x477d('0x6bf')]=_0xd2a1a4;_0x276aba['dualMultiselectOptions']={'readOnly':!_0x276aba[_0x477d('0xd66')][_0x477d('0xedb')],'items':[],'selectedItems':[],'showSelectAndDeselectAll':!![],'orderBy':_0x477d('0x94'),'line1':_0x477d('0xcd'),'line2':[_0x477d('0x94'),'internal'],'line3':'','labelAll':_0x27804a['instant'](_0x477d('0x1526')),'labelSelected':_0x27804a[_0x477d('0x45f')](_0x477d('0x1527')),'transferCallback':function(_0x1bb891,_0x19d6a5){var _0x1e61b8=_['xorBy'](_0x276aba[_0x477d('0x11fd')],_0x276aba['selectedItems'],'id');_0x276aba[_0x477d('0x11f5')]=_[_0x477d('0x3b2')](_0x1e61b8)?![]:!![];}};function _0x53c644(){return _0x2e3805['hasRole'](_0x477d('0x5f'))?_0x19428d()[_0x477d('0xf8')](function(_0x46f754){_0x5e0b6b[_0x477d('0x44a')]({'title':_0x46f754[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x46f754[_0x477d('0x3c3')]+'\x20-\x20'+_0x46f754[_0x477d('0x44d')]:_0x477d('0x11f6'),'msg':_0x46f754['status']?JSON[_0x477d('0x3fb')](_0x46f754['data']):_0x46f754[_0x477d('0x453')]()});}):_0x5af1c6()['then'](function(_0x18485a){_0x276aba[_0x477d('0xd99')]=_0x18485a;return _0x19428d();})[_0x477d('0xf8')](function(_0x1e5459){_0x5e0b6b[_0x477d('0x44a')]({'title':_0x1e5459[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x1e5459[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x1e5459[_0x477d('0x44d')]:_0x477d('0x11f6'),'msg':_0x1e5459[_0x477d('0x3c3')]?JSON['stringify'](_0x1e5459[_0x477d('0x451')]):_0x1e5459[_0x477d('0x453')]()});});}function _0x5af1c6(){return _0x319bb2(function(_0x2a44b3,_0x38f9d6){_0x389f87[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x276aba[_0x477d('0x3e5')][_0x477d('0x61')],'name':'Agents'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x585ca2){var _0x5e403c=_0x585ca2&&_0x585ca2[_0x477d('0xf2')]?_0x585ca2[_0x477d('0xf2')][0x0]:null;_0x2a44b3(_0x5e403c);})[_0x477d('0xf8')](function(_0x1fdb54){_0x38f9d6(_0x1fdb54);});});}function _0x19428d(){return _0x319bb2(function(_0x293fa6,_0x28c2f5){return _0x3d7fbb()['then'](function(_0x3b84eb){_0x276aba[_0x477d('0x4a6')]=_0x3b84eb[_0x477d('0xf2')]?_0x3b84eb['rows']:[];if(_0x2e3805['hasRole']('admin')){return _0x3b84eb;}else{if(_0x276aba[_0x477d('0xd99')]){return _0x276aba['section'][_0x477d('0x3ad')]?_0x3b84eb:_0x3f3873();}else{return null;}}})[_0x477d('0x76')](function(_0x4df890){var _0x24a9d3=_0x4df890&&_0x4df890[_0x477d('0xf2')]?_0x4df890['rows']:[];_0x276aba[_0x477d('0x11f7')]=_[_0x477d('0x3cb')](_0x24a9d3,function(_0x25a6e7){return _['find'](_0x276aba['items'],{'id':_0x2e3805[_0x477d('0x56')]('admin')||_0x276aba['section'][_0x477d('0x3ad')]?_0x25a6e7['id']:_0x25a6e7[_0x477d('0x3af')]});});_0x276aba[_0x477d('0x11f2')]=angular[_0x477d('0x6d9')](_0x276aba[_0x477d('0x11f7')]);_0x276aba[_0x477d('0x4a6')]['forEach'](function(_0x39e89b){var _0x20c268=_['find'](_0x276aba['allowedItems'],{'id':_0x39e89b['id']});if(_0x2e3805['hasRole'](_0x477d('0x5f'))){_0x39e89b[_0x477d('0x4a3')]=!![];}else{_0x39e89b[_0x477d('0x4a3')]=typeof _0x20c268!==_0x477d('0x4a4')?!![]:![];}});return _0x106aaa();})[_0x477d('0x76')](function(_0xe0310){var _0x1c00ec=_0xe0310&&_0xe0310[_0x477d('0xf2')]?_0xe0310['rows']:[];_0x276aba['selectedItems']=_[_0x477d('0x3cb')](_0x1c00ec,function(_0x430f5c){var _0x5c435e=_['find'](_0x276aba['items'],{'id':_0x430f5c['id']});_0x5c435e[_0x477d('0x1184')]=_0x430f5c[_0x477d('0x1528')]?_0x477d('0x1529')+_0x430f5c[_0x477d('0x1528')][_0x477d('0x1184')]:'';_0x5c435e[_0x477d('0x324')]=_0x430f5c[_0x477d('0x3ea')](_0x477d('0x324'))?'<'+_0x430f5c['internal']+'>':'';return _0x5c435e;});_0x276aba[_0x477d('0x11fd')]=angular[_0x477d('0x6d9')](_0x276aba[_0x477d('0x4a7')]);_0x276aba[_0x477d('0x1185')][_0x477d('0x4a7')]=_0x276aba[_0x477d('0x4a7')];_0x276aba[_0x477d('0x1185')][_0x477d('0x4a6')]=_['differenceBy'](_0x276aba['allowedItems'],_0x276aba[_0x477d('0x1185')][_0x477d('0x4a7')],'id');_0x293fa6();})[_0x477d('0xf8')](function(_0x36832e){_0x28c2f5(_0x36832e);});});}function _0x3f3873(){return _0x319bb2(function(_0x50393d,_0x4e019e){return _0x389f87[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x276aba[_0x477d('0xd99')]['id'],'nolimit':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x10d48a){_0x50393d(_0x10d48a);})[_0x477d('0xf8')](function(_0x477e07){_0x4e019e(_0x477e07);});});}function _0x106aaa(){return _0x319bb2(function(_0xcb854f,_0x25082b){return _0x389f87[_0x477d('0xe3f')][_0x477d('0x11f9')]({'id':_0x276aba['list']['id'],'fields':_0x477d('0x11fa'),'nolimit':!![],'role':_0x477d('0xcf')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x1a14e2){_0xcb854f(_0x1a14e2);})[_0x477d('0xf8')](function(_0x576a1e){_0x25082b(_0x576a1e);});});}function _0x3d7fbb(){return _0x319bb2(function(_0x1b826d,_0x4bc7f8){return _0x389f87['user']['get']({'fields':_0x477d('0x11fa'),'nolimit':!![],'role':'agent'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x11667b){_0x1b826d(_0x11667b);})['catch'](function(_0x3d8e13){_0x4bc7f8(_0x3d8e13);});});}function _0x3ddb08(_0x4101b6){return _0x319bb2(function(_0x27c510,_0x444f13){if(_[_0x477d('0x3b2')](_0x4101b6)){_0x27c510();}else{_0x389f87['cmList'][_0x477d('0x11fb')]({'id':_0x276aba[_0x477d('0xa02')]['id'],'ids':_[_0x477d('0x3cb')](_0x4101b6,'id')})[_0x477d('0x38b')][_0x477d('0x76')](function(){_0x27c510();})[_0x477d('0xf8')](function(_0x99ecfb){_0x444f13(_0x99ecfb);});}});}function _0x4b4f07(_0x3d4e0a){return _0x319bb2(function(_0x4f4264,_0x3811e9){if(_[_0x477d('0x3b2')](_0x3d4e0a)){_0x4f4264();}else{_0x389f87[_0x477d('0xe3f')][_0x477d('0x11fc')]({'id':_0x276aba[_0x477d('0xa02')]['id'],'ids':_[_0x477d('0x3cb')](_0x3d4e0a,'id')})['$promise'][_0x477d('0x76')](function(){_0x4f4264();})['catch'](function(_0x43a8f9){_0x3811e9(_0x43a8f9);});}});}function _0x4ed1da(){var _0x2082dc=_['differenceBy'](_0x276aba[_0x477d('0x11fd')],_0x276aba[_0x477d('0x4a7')],'id');var _0x220e8c=_[_0x477d('0x11f8')](_0x276aba[_0x477d('0x4a7')],_0x276aba[_0x477d('0x11fd')],'id');return _0x4b4f07(_0x2082dc)[_0x477d('0x76')](function(){return _0x3ddb08(_0x220e8c);})[_0x477d('0x76')](function(){_0x276aba[_0x477d('0x11f5')]=![];_0x276aba[_0x477d('0x11f2')]=angular['copy'](_0x276aba[_0x477d('0x11f7')]);_0x276aba[_0x477d('0x11fd')]=angular[_0x477d('0x6d9')](_0x276aba[_0x477d('0x4a7')]);_0x5e0b6b['success']({'title':_0x477d('0x11fe'),'msg':'Agents\x20association\x20has\x20been\x20updated!'});})['catch'](function(_0x3cac0a){_0x5e0b6b[_0x477d('0x44a')]({'title':_0x3cac0a[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x3cac0a['status']+_0x477d('0x44c')+_0x3cac0a['statusText']:_0x477d('0x1200'),'msg':_0x3cac0a[_0x477d('0x3c3')]?JSON['stringify'](_0x3cac0a['data']):_0x3cac0a[_0x477d('0x453')]()});});}function _0xd2a1a4(){_0x33d9b4['hide']();}}}());(function(){'use strict';_0x4ba51a[_0x477d('0xa')]=['$cookies',_0x477d('0x474'),_0x477d('0x3c4'),'$q',_0x477d('0x40d'),'$timeout',_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x40e'),'api',_0x477d('0x55')];angular[_0x477d('0xb')](_0x477d('0x2e'))[_0x477d('0x3ba')]('ListCustomFieldsController',_0x4ba51a);function _0x4ba51a(_0x1311ca,_0x402312,_0x1072e9,_0x1dc2a4,_0x1f0bd5,_0x244948,_0x3731e4,_0x304638,_0x7a21d6,_0x57303e,_0x124acf){var _0x1009d6=this;_0x1009d6['currentUser']=_0x124acf['getCurrentUser']();_0x1009d6['list']={};_0x1009d6['listCustomFields']={'count':0x0,'rows':[]};_0x1009d6[_0x477d('0x152a')]=[];_0x1009d6[_0x477d('0xd66')];_0x1009d6[_0x477d('0x3ef')]={'fields':_0x477d('0xe9'),'limit':0xa,'page':0x1};_0x1009d6[_0x477d('0x138b')]=_[_0x477d('0xdb5')]([{'option':_0x477d('0xf7f'),'value':'\x27text\x27'},{'option':'Select','value':'\x27select\x27'},{'option':'Number','value':'\x27number\x27'},{'option':_0x477d('0x150c'),'value':_0x477d('0x152b')},{'option':_0x477d('0x150d'),'value':_0x477d('0x150e')}],function(_0x1658f6){return _[_0x477d('0x409')](_0x1658f6['value'],new RegExp('\x27','g'),'');});_0x1009d6[_0x477d('0x5ee')]=_0x5157d6;_0x1009d6['deleteConfirm']=_0x52cad3;_0x1009d6[_0x477d('0x485')]=_0x5af85e;_0x1009d6[_0x477d('0x152c')]=_0x1a1ea2;_0x1009d6[_0x477d('0x152d')]=_0x51b8cd;_0x1009d6['exportSelectedListCustomFields']=_0x404071;_0x1009d6[_0x477d('0x152e')]=_0x455907;_0x1009d6[_0x477d('0x152f')]=_0x10eee4;function _0x5157d6(_0x23351d,_0x58293c){_0x1009d6[_0x477d('0xa02')]=_0x23351d;_0x1009d6[_0x477d('0xd66')]=typeof _0x58293c!=='undefined'?_0x58293c:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x1009d6['query']['ListId']=_0x1009d6[_0x477d('0xa02')]['id'];_0x1009d6[_0x477d('0x3ef')]['id']=_0x1009d6['list']['id'];_0x1a1ea2();}function _0x52cad3(_0x329452,_0x5d02b8){var _0x885af1=_0x3731e4[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x1530'))[_0x477d('0xd92')](_0x477d('0xd93')+(_0x329452[_0x477d('0x94')]||_0x329452['id']&&_[_0x477d('0x1367')](_0x477d('0x1531'))+_0x329452['id']||_0x477d('0x1532'))+_0x477d('0xd94')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x1533'))['targetEvent'](_0x5d02b8)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x3731e4[_0x477d('0x395')](_0x885af1)[_0x477d('0x76')](function(){_0x455907(_0x329452);},function(){console[_0x477d('0x7b')](_0x477d('0xd97'));});}function _0x5af85e(_0x3cee2c){_0x1009d6[_0x477d('0x1534')]=_0x3cee2c||{'count':0x0,'rows':[]};}function _0x1a1ea2(){_0x1009d6[_0x477d('0x3ef')][_0x477d('0x91c')]=(_0x1009d6['query'][_0x477d('0xe03')]-0x1)*_0x1009d6[_0x477d('0x3ef')]['limit'];_0x1009d6[_0x477d('0x553')]=_0x57303e['cmList']['getCustomFields'](_0x1009d6['query'],_0x5af85e)[_0x477d('0x38b')];}function _0x51b8cd(_0x2738da,_0x3cb8bf){_0x3731e4[_0x477d('0x395')]({'controller':_0x477d('0x1535'),'controllerAs':'vm','templateUrl':'app/main/apps/contactmanager/views/lists/edit/customFields/dialog.html','parent':angular[_0x477d('0x398')](_0x304638['body']),'targetEvent':_0x2738da,'clickOutsideToClose':!![],'locals':{'list':_0x1009d6[_0x477d('0xa02')],'customField':_0x3cb8bf,'customFields':_0x1009d6['listCustomFields']['rows'],'license':null,'setting':null,'crudPermissions':_0x1009d6['crudPermissions']}});}function _0x455907(_0x35f8ed){_0x57303e['cmCustomField'][_0x477d('0xa55')]({'id':_0x35f8ed['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x1009d6[_0x477d('0x1534')]['rows'],{'id':_0x35f8ed['id']});_0x1009d6[_0x477d('0x1534')][_0x477d('0x3bb')]-=0x1;if(!_0x1009d6[_0x477d('0x1534')]['rows'][_0x477d('0x79')]){_0x1a1ea2();}_0x7a21d6['success']({'title':_0x477d('0x1536'),'msg':_0x35f8ed[_0x477d('0x94')]?_0x35f8ed[_0x477d('0x94')]+'\x20has\x20been\x20deleted!':''});})['catch'](function(_0x1a5c40){if(_0x1a5c40[_0x477d('0x451')]&&_0x1a5c40[_0x477d('0x451')][_0x477d('0xd67')]&&_0x1a5c40[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){vm[_0x477d('0xd67')]=_0x1a5c40[_0x477d('0x451')]['errors']||[{'message':_0x1a5c40[_0x477d('0x453')](),'type':'SYSTEM:GETcmList'}];for(var _0x7365fd=0x0;_0x7365fd<_0x1a5c40[_0x477d('0x451')]['errors']['length'];_0x7365fd++){_0x7a21d6[_0x477d('0x44a')]({'title':_0x1a5c40[_0x477d('0x451')][_0x477d('0xd67')][_0x7365fd][_0x477d('0x439')],'msg':_0x1a5c40['data'][_0x477d('0xd67')][_0x7365fd][_0x477d('0x452')]});}}else{_0x7a21d6[_0x477d('0x44a')]({'title':_0x1a5c40['status']?_0x477d('0x44b')+_0x1a5c40[_0x477d('0x3c3')]+'\x20-\x20'+_0x1a5c40[_0x477d('0x44d')]:_0x477d('0x1537'),'msg':_0x1a5c40[_0x477d('0x451')]?JSON['stringify'](_0x1a5c40[_0x477d('0x451')][_0x477d('0x452')]):_0x1a5c40[_0x477d('0x452')]||_0x1a5c40[_0x477d('0x453')]()});}});}function _0x404071(){var _0x141cc8=angular[_0x477d('0x6d9')](_0x1009d6[_0x477d('0x152a')]);_0x1009d6[_0x477d('0x152a')]=[];return _0x141cc8;}function _0x10eee4(_0x5650f4){var _0x5e3da2=_0x3731e4[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x1538'))[_0x477d('0xd92')](_0x477d('0xd93')+_0x1009d6['selectedListCustomFields']['length']+_0x477d('0xda0')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x1539'))['targetEvent'](_0x5650f4)['ok']('OK')['cancel'](_0x477d('0xd97'));_0x3731e4[_0x477d('0x395')](_0x5e3da2)[_0x477d('0x76')](function(){_0x1009d6[_0x477d('0x152a')][_0x477d('0x3b1')](function(_0x47ab2a){_0x455907(_0x47ab2a);});_0x1009d6['selectedListCustomFields']=[];});}var _0x170e60=!![];var _0x14eda4=0x1;_0x402312[_0x477d('0x4b5')](_0x477d('0x12f3'),function(_0x40264f,_0x485565){if(_0x170e60){_0x244948(function(){_0x170e60=![];});}else{if(!_0x485565){_0x14eda4=_0x1009d6[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x40264f!==_0x485565){_0x1009d6['query']['page']=0x1;}if(!_0x40264f){_0x1009d6[_0x477d('0x3ef')][_0x477d('0xe03')]=_0x14eda4;}_0x1a1ea2();}});}}());(function(){'use strict';_0x2b2213[_0x477d('0xa')]=['$scope',_0x477d('0x3c4'),'$location','$mdDialog','$q',_0x477d('0x40d'),_0x477d('0x40e'),_0x477d('0x132d'),_0x477d('0x1532'),_0x477d('0x386'),_0x477d('0x55'),'license',_0x477d('0xc8e'),_0x477d('0xd66')];angular[_0x477d('0xb')]('app.contactmanager')[_0x477d('0x3ba')](_0x477d('0x1535'),_0x2b2213);function _0x2b2213(_0x5d2ebe,_0x46e8f8,_0x2b1274,_0x32f405,_0x3a6f27,_0x372942,_0x25c67b,_0x5481ba,_0x17a7fb,_0x4aef71,_0x9afb28,_0x543db8,_0x23217c,_0x23832e){var _0x37787e=this;_0x37787e[_0x477d('0x3e5')]=_0x9afb28['getCurrentUser']();_0x37787e[_0x477d('0xd67')]=[];_0x37787e[_0x477d('0xc8e')]=_0x23217c;_0x37787e[_0x477d('0x613')]=_0x543db8;_0x37787e['crudPermissions']=_0x23832e;_0x37787e[_0x477d('0xd68')]={};_0x37787e[_0x477d('0xd69')]=_0x37787e['setting']&&_0x37787e[_0x477d('0xc8e')]['securePassword']?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x37787e['title']=_0x477d('0x153a');_0x37787e['sortable']={'animation':0x320,'sort':!![],'onSort':function(_0x1f369a){_0x5d2ebe[_0x477d('0x153b')][_0x477d('0x14ff')]=![];}};_0x37787e[_0x477d('0x1532')]=_0x17a7fb;_0x37787e[_0x477d('0x132d')]=_0x5481ba;_0x37787e[_0x477d('0x153c')]=![];if(!_0x37787e['customField']){_0x37787e['customField']={'type':_0x477d('0x41b')};_0x37787e['title']=_0x477d('0x153d');_0x37787e[_0x477d('0x153c')]=!![];}if(_0x46e8f8[_0x477d('0x37e')]['id']){_0x37787e[_0x477d('0x1532')]['ListId']=_0x46e8f8[_0x477d('0x37e')]['id'];}_0x5d2ebe[_0x477d('0x4b5')](_0x477d('0x153e'),function(_0x34ba24,_0x3caee7){if(_0x34ba24!==_0x3caee7){switch(_0x34ba24){case'text':_0x37787e[_0x477d('0x1532')][_0x477d('0x445')]='';break;case _0x477d('0x462'):_0x37787e[_0x477d('0x1532')][_0x477d('0x445')]=[];break;default:}}});_0x37787e[_0x477d('0x153f')]=_0x3b82be;_0x37787e[_0x477d('0x1540')]=_0x449131;_0x37787e[_0x477d('0x1541')]=_0x478e18;_0x37787e['getDateFromString']=_0x42688d;_0x37787e[_0x477d('0x14fc')]=_0x2c10a5;_0x37787e[_0x477d('0x39e')]=_0x20ec60;_0x37787e[_0x477d('0x14fd')]=_0x545390;_0x37787e[_0x477d('0x6bf')]=_0x36c4b5;function _0x2c10a5(_0x4c0afa){_0x4c0afa['push']({'value':_0x477d('0x14fe')});_0x5d2ebe[_0x477d('0x153b')][_0x477d('0x14ff')]=![];}function _0x20ec60(_0x87dfef,_0xf3533e){_0x87dfef[_0x477d('0x45b')](_0xf3533e,0x1);_0x5d2ebe[_0x477d('0x153b')]['$pristine']=![];}function _0x545390(_0x35dc3a){var _0x5dc8e6=_0x35dc3a[_0x477d('0x79')];for(var _0x2820a0=0x0;_0x2820a0<_0x5dc8e6;_0x2820a0++){_0x35dc3a['splice'](0x0,0x1);}_0x5d2ebe[_0x477d('0x153b')]['$pristine']=![];}function _0x3b82be(){_0x37787e[_0x477d('0xd67')]=[];_0x4aef71[_0x477d('0xe3f')][_0x477d('0x1542')]({'id':_0x46e8f8[_0x477d('0x37e')]['id']},_0x37787e[_0x477d('0x1532')])['$promise'][_0x477d('0x76')](function(_0x603f30){_0x37787e[_0x477d('0x132d')][_0x477d('0x63b')](_0x603f30[_0x477d('0xd71')]());_0x25c67b[_0x477d('0x485')]({'title':'CustomField\x20properly\x20created','msg':_0x37787e[_0x477d('0x1532')][_0x477d('0x94')]?_0x37787e[_0x477d('0x1532')][_0x477d('0x94')]+_0x477d('0xd73'):''});_0x36c4b5(_0x603f30);})[_0x477d('0xf8')](function(_0x2344de){if(_0x2344de['data']&&_0x2344de[_0x477d('0x451')][_0x477d('0xd67')]&&_0x2344de[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x37787e['errors']=_0x2344de[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x2344de[_0x477d('0x453')](),'type':_0x477d('0x1543')}];for(var _0x29e695=0x0;_0x29e695<_0x2344de[_0x477d('0x451')][_0x477d('0xd67')]['length'];_0x29e695+=0x1){_0x25c67b[_0x477d('0x44a')]({'title':_0x2344de[_0x477d('0x451')][_0x477d('0xd67')][_0x29e695][_0x477d('0x439')],'msg':_0x2344de[_0x477d('0x451')]['errors'][_0x29e695]['message']});}}else{_0x25c67b['error']({'title':_0x2344de[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x2344de['status']+_0x477d('0x44c')+_0x2344de[_0x477d('0x44d')]:'api.cmCustomField.save','msg':_0x2344de['data']?JSON[_0x477d('0x3fb')](_0x2344de[_0x477d('0x451')]['message']):_0x2344de['toString']()});}});}function _0x449131(){_0x37787e[_0x477d('0xd67')]=[];_0x4aef71[_0x477d('0x1500')][_0x477d('0x710')]({'id':_0x37787e['customField']['id']},_0x37787e[_0x477d('0x1532')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x30d272){var _0x27f37e=_[_0x477d('0x10a')](_0x37787e[_0x477d('0x132d')],{'id':_0x30d272['id']});if(_0x27f37e){_['merge'](_0x27f37e,_[_0x477d('0x10b')](_0x30d272['toJSON'](),_[_0x477d('0x7f')](_0x27f37e)));}_0x25c67b['success']({'title':_0x477d('0x1544'),'msg':_0x37787e[_0x477d('0x1532')][_0x477d('0x94')]?_0x37787e['customField']['name']+_0x477d('0xd76'):''});_0x36c4b5(_0x30d272);})[_0x477d('0xf8')](function(_0x1b28cc){if(_0x1b28cc[_0x477d('0x451')]&&_0x1b28cc[_0x477d('0x451')][_0x477d('0xd67')]&&_0x1b28cc[_0x477d('0x451')][_0x477d('0xd67')]['length']){_0x37787e[_0x477d('0xd67')]=_0x1b28cc[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x1b28cc['toString'](),'type':_0x477d('0x1502')}];for(var _0x4d76bf=0x0;_0x4d76bf<_0x1b28cc['data'][_0x477d('0xd67')][_0x477d('0x79')];_0x4d76bf++){_0x25c67b['error']({'title':_0x1b28cc[_0x477d('0x451')][_0x477d('0xd67')][_0x4d76bf]['type'],'msg':_0x1b28cc[_0x477d('0x451')]['errors'][_0x4d76bf]['message']});}}else{_0x25c67b[_0x477d('0x44a')]({'title':_0x1b28cc[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x1b28cc[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x1b28cc[_0x477d('0x44d')]:_0x477d('0x1502'),'msg':_0x1b28cc[_0x477d('0x451')]?JSON['stringify'](_0x1b28cc[_0x477d('0x451')][_0x477d('0x452')]):_0x1b28cc[_0x477d('0x453')]()});}});}function _0x478e18(_0x5adf62){_0x37787e[_0x477d('0xd67')]=[];var _0x989db9=_0x32f405['confirm']()[_0x477d('0x49a')](_0x477d('0xd79'))['content']('The\x20customField\x20will\x20be\x20deleted.')[_0x477d('0x687')](_0x477d('0x1545'))['ok']('Delete')[_0x477d('0x4f0')](_0x477d('0x688'))[_0x477d('0xd7c')](_0x5adf62);_0x32f405[_0x477d('0x395')](_0x989db9)[_0x477d('0x76')](function(){_0x4aef71[_0x477d('0x1500')][_0x477d('0xa55')]({'id':_0x37787e['customField']['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x37787e[_0x477d('0x132d')],{'id':_0x37787e['customField']['id']});_0x25c67b['success']({'title':_0x477d('0x1546'),'msg':(_0x37787e['customField']['name']||_0x477d('0x1532'))+_0x477d('0xd7e')});_0x36c4b5(_0x37787e[_0x477d('0x1532')]);})[_0x477d('0xf8')](function(_0x477349){if(_0x477349[_0x477d('0x451')]&&_0x477349[_0x477d('0x451')][_0x477d('0xd67')]&&_0x477349[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x37787e[_0x477d('0xd67')]=_0x477349['data'][_0x477d('0xd67')]||[{'message':_0x477349[_0x477d('0x453')](),'type':_0x477d('0x1506')}];for(var _0x4ac42d=0x0;_0x4ac42d<_0x477349[_0x477d('0x451')]['errors'][_0x477d('0x79')];_0x4ac42d++){_0x25c67b[_0x477d('0x44a')]({'title':_0x477349[_0x477d('0x451')][_0x477d('0xd67')][_0x4ac42d]['type'],'msg':_0x477349['data']['errors'][_0x4ac42d][_0x477d('0x452')]});}}else{_0x25c67b[_0x477d('0x44a')]({'title':_0x477349[_0x477d('0x3c3')]?'API:'+_0x477349[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x477349[_0x477d('0x44d')]:_0x477d('0x1506'),'msg':_0x477349[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x477349['data']['message']):_0x477349[_0x477d('0x452')]||_0x477349['toString']()});}});},function(){});}function _0x42688d(_0x1fdaab){return _0x1fdaab===null?undefined:new Date(_0x1fdaab);}function _0x36c4b5(_0x36c6a1){_0x32f405[_0x477d('0x3bc')](_0x36c6a1);}}}());(function(){'use strict';_0x180f8b[_0x477d('0xa')]=[_0x477d('0x3c4'),_0x477d('0xd64'),'$mdDialog',_0x477d('0x475'),_0x477d('0x40d'),_0x477d('0x613'),_0x477d('0xc8e'),_0x477d('0x386'),'toasty',_0x477d('0x55'),_0x477d('0xa02'),'userProfileSection'];angular[_0x477d('0xb')](_0x477d('0x2e'))['controller'](_0x477d('0x1547'),_0x180f8b);function _0x180f8b(_0x1d71d8,_0x33faf7,_0x3c7f0b,_0x4bf9c2,_0x4fb77c,_0x4cda0f,_0x34545b,_0x4fa3e9,_0x2937c6,_0x3e8d5b,_0x57e1d0,_0x291bab){var _0x4681a6=this;_0x4681a6[_0x477d('0x3e5')]=_0x3e8d5b[_0x477d('0x5c')]();_0x4681a6['license']=_0x4cda0f;_0x4681a6[_0x477d('0xc8e')]=_0x34545b;_0x4681a6[_0x477d('0xd69')]=_0x4681a6[_0x477d('0xc8e')][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x4681a6[_0x477d('0x3cc')]=_0x33faf7[_0x477d('0x3ce')]()+_0x477d('0x1209')+_0x33faf7[_0x477d('0x3c9')]();_0x4681a6[_0x477d('0xa02')]=_0x57e1d0||_0x1d71d8[_0x477d('0x37e')][_0x477d('0xa02')]||{};_0x4681a6[_0x477d('0x3ac')]=_0x291bab&&_0x291bab[_0x477d('0x3bb')]==0x1?_0x291bab[_0x477d('0xf2')][0x0]:null;_0x4681a6['crudPermissions']=_0x3e8d5b['parseCrudPermissions'](_0x4681a6[_0x477d('0x3ac')]?_0x4681a6[_0x477d('0x3ac')]['crudPermissions']:null);_0x4681a6[_0x477d('0xd68')]={};_0x4681a6[_0x477d('0xe95')]=_0x1d71d8[_0x477d('0x37e')][_0x477d('0xe96')]||0x0;_0x4681a6[_0x477d('0x1443')]=_0x4b8bee;_0x4681a6[_0x477d('0x1222')]=_0x1dbdc0;_0x4681a6[_0x477d('0x120a')]=_0x2937c6[_0x477d('0x669')];_0x4681a6[_0x477d('0x1548')]=_0x544ee8;_0x4681a6['saveList']=_0x25a0ab;function _0x4b8bee(_0x39e1c4,_0x3f29d1){if(_0x3e8d5b['hasRole'](_0x477d('0x5f'))){_0x1d71d8['go'](_0x477d('0xd6'),{'ListId':_0x39e1c4['id']});}else{return _0x4fa3e9[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x3e8d5b[_0x477d('0x5c')]()['userProfileId'],'sectionId':0x12f})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x4591b5){var _0x326eac=_0x4591b5&&_0x4591b5['rows']?_0x4591b5['rows'][0x0]:null;if(_0x326eac&&_0x326eac['enabled']){_0x1d71d8['go']('app.contactmanager.contacts',{'ListId':_0x39e1c4['id']});}else{_0x2937c6[_0x477d('0x669')]({'title':_0x4fb77c[_0x477d('0x45f')](_0x477d('0x119d')),'msg':_0x4fb77c['instant'](_0x477d('0x142f'))});}})[_0x477d('0xf8')](function(_0x345266){_0x2937c6[_0x477d('0x44a')]({'title':_0x345266[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x345266[_0x477d('0x3c3')]+'\x20-\x20'+_0x345266[_0x477d('0x44d')]:_0x477d('0x11df'),'msg':_0x345266[_0x477d('0x3c3')]?JSON[_0x477d('0x3fb')](_0x345266[_0x477d('0x451')]):_0x345266[_0x477d('0x453')]()});});}}function _0x1dbdc0(_0x27aacc,_0x575ebc){_0x3c7f0b['show']({'controller':_0x477d('0x1525'),'controllerAs':'vm','templateUrl':'app/main/apps/contactmanager/views/lists/edit/agentadd/agentadd.html','parent':angular[_0x477d('0x398')](_0x4bf9c2['body']),'targetEvent':_0x575ebc,'clickOutsideToClose':!![],'locals':{'list':_0x27aacc,'lists':_0x4681a6['lists']?_0x4681a6[_0x477d('0xf1')]['rows']:[],'crudPermissions':_0x4681a6[_0x477d('0xd66')],'realtime':![]}});}function _0x544ee8(){_0x1d71d8['go'](_0x477d('0xd8'),{},{'reload':_0x477d('0xd8')});}function _0x25a0ab(){_0x4fa3e9[_0x477d('0xe3f')]['update']({'id':_0x4681a6[_0x477d('0xa02')]['id']},_0x4681a6['list'])['$promise'][_0x477d('0x76')](function(){_0x2937c6[_0x477d('0x485')]({'title':_0x477d('0x1549'),'msg':_0x4681a6[_0x477d('0xa02')][_0x477d('0x94')]?_0x4681a6[_0x477d('0xa02')]['name']+_0x477d('0xed7'):''});})[_0x477d('0xf8')](function(_0x7c821b){_0x2937c6[_0x477d('0x44a')]({'title':_0x7c821b[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x7c821b[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x7c821b[_0x477d('0x44d')]:'SYSTEM:GETcmList','msg':_0x7c821b[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x7c821b[_0x477d('0x451')]):_0x7c821b[_0x477d('0x453')]()});});}}}());(function(){'use strict';_0x47187d[_0x477d('0xa')]=['$cookies','$scope',_0x477d('0x3c4'),'$q',_0x477d('0x40d'),'$timeout',_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x40e'),'api',_0x477d('0x55')];angular[_0x477d('0xb')]('app.contactmanager')[_0x477d('0x3ba')](_0x477d('0x154a'),_0x47187d);function _0x47187d(_0xac8224,_0x1b52a4,_0x1ea816,_0x198251,_0x19f660,_0x9ba0df,_0xa0b39b,_0x5cb52e,_0x43bb56,_0x554aa0,_0x4792d9){var _0x4c2f8b=this;_0x4c2f8b['currentUser']=_0x4792d9[_0x477d('0x5c')]();_0x4c2f8b[_0x477d('0xa02')]={};_0x4c2f8b[_0x477d('0x154b')]={'count':0x0,'rows':[]};_0x4c2f8b['selectedListVoiceDispositions']=[];_0x4c2f8b[_0x477d('0xd66')];_0x4c2f8b[_0x477d('0x3ef')]={'fields':'createdAt,updatedAt,id,name','limit':0xa,'page':0x1};_0x4c2f8b['init']=_0x1412d8;_0x4c2f8b[_0x477d('0xe66')]=_0x2dc781;_0x4c2f8b['success']=_0x24795a;_0x4c2f8b[_0x477d('0x154c')]=_0x577fd4;_0x4c2f8b[_0x477d('0x154d')]=_0x3f0f55;_0x4c2f8b['exportSelectedListVoiceDispositions']=_0x38c3ac;_0x4c2f8b[_0x477d('0x154e')]=_0x2a9f2f;_0x4c2f8b['deleteSelectedListVoiceDispositions']=_0x5314f5;function _0x1412d8(_0x246967,_0x413d64){_0x4c2f8b['list']=_0x246967;_0x4c2f8b['crudPermissions']=typeof _0x413d64!==_0x477d('0x4a4')?_0x413d64:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x4c2f8b['query'][_0x477d('0x1229')]=_0x4c2f8b[_0x477d('0xa02')]['id'];_0x4c2f8b[_0x477d('0x3ef')]['id']=_0x4c2f8b[_0x477d('0xa02')]['id'];_0x577fd4();}function _0x2dc781(_0x3ee5d6,_0x2b13aa){var _0x8214b1=_0xa0b39b[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x154f'))[_0x477d('0xd92')](_0x477d('0xd93')+(_0x3ee5d6[_0x477d('0x94')]||_0x3ee5d6['id']&&_['upperFirst']('voiceDisposition\x20#')+_0x3ee5d6['id']||'voiceDisposition')+_0x477d('0xd94')+_0x477d('0xd95'))[_0x477d('0x687')]('delete\x20voiceDisposition')[_0x477d('0xd7c')](_0x2b13aa)['ok']('OK')[_0x477d('0x4f0')]('CANCEL');_0xa0b39b[_0x477d('0x395')](_0x8214b1)[_0x477d('0x76')](function(){_0x2a9f2f(_0x3ee5d6);},function(){console['log'](_0x477d('0xd97'));});}function _0x24795a(_0x301545){_0x4c2f8b[_0x477d('0x154b')]=_0x301545||{'count':0x0,'rows':[]};}function _0x577fd4(){_0x4c2f8b[_0x477d('0x3ef')][_0x477d('0x91c')]=(_0x4c2f8b[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x4c2f8b[_0x477d('0x3ef')][_0x477d('0x91d')];_0x4c2f8b[_0x477d('0x553')]=_0x554aa0['cmList'][_0x477d('0x1309')](_0x4c2f8b[_0x477d('0x3ef')],_0x24795a)['$promise'];}function _0x3f0f55(_0x4cffb2,_0x12e4c6){_0xa0b39b[_0x477d('0x395')]({'controller':'CreateOrEditVoiceDispositionDialogController','controllerAs':'vm','templateUrl':_0x477d('0x1550'),'parent':angular[_0x477d('0x398')](_0x5cb52e['body']),'targetEvent':_0x4cffb2,'clickOutsideToClose':!![],'locals':{'list':_0x4c2f8b[_0x477d('0xa02')],'voiceDisposition':_0x12e4c6,'voiceDispositions':_0x4c2f8b['listVoiceDispositions'][_0x477d('0xf2')],'license':null,'setting':null,'crudPermissions':_0x4c2f8b[_0x477d('0xd66')]}});}function _0x2a9f2f(_0xb2f077){_0x554aa0['disposition']['delete']({'id':_0xb2f077['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x4c2f8b[_0x477d('0x154b')][_0x477d('0xf2')],{'id':_0xb2f077['id']});_0x4c2f8b[_0x477d('0x154b')][_0x477d('0x3bb')]-=0x1;if(!_0x4c2f8b[_0x477d('0x154b')][_0x477d('0xf2')][_0x477d('0x79')]){_0x577fd4();}_0x43bb56[_0x477d('0x485')]({'title':_0x477d('0x1551'),'msg':_0xb2f077[_0x477d('0x94')]?_0xb2f077[_0x477d('0x94')]+_0x477d('0xd7e'):''});})['catch'](function(_0xe22bd3){if(_0xe22bd3[_0x477d('0x451')]&&_0xe22bd3[_0x477d('0x451')][_0x477d('0xd67')]&&_0xe22bd3[_0x477d('0x451')]['errors'][_0x477d('0x79')]){vm[_0x477d('0xd67')]=_0xe22bd3[_0x477d('0x451')]['errors']||[{'message':_0xe22bd3['toString'](),'type':_0x477d('0x1537')}];for(var _0x4c6d22=0x0;_0x4c6d22<_0xe22bd3[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x4c6d22++){_0x43bb56['error']({'title':_0xe22bd3[_0x477d('0x451')]['errors'][_0x4c6d22][_0x477d('0x439')],'msg':_0xe22bd3['data'][_0x477d('0xd67')][_0x4c6d22]['message']});}}else{_0x43bb56[_0x477d('0x44a')]({'title':_0xe22bd3['status']?'API:'+_0xe22bd3[_0x477d('0x3c3')]+'\x20-\x20'+_0xe22bd3['statusText']:_0x477d('0x1537'),'msg':_0xe22bd3[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0xe22bd3[_0x477d('0x451')]['message']):_0xe22bd3[_0x477d('0x452')]||_0xe22bd3[_0x477d('0x453')]()});}});}function _0x38c3ac(){var _0x5951aa=angular[_0x477d('0x6d9')](_0x4c2f8b['selectedListVoiceDispositions']);_0x4c2f8b['selectedListVoiceDispositions']=[];return _0x5951aa;}function _0x5314f5(_0x515602){var _0x470773=_0xa0b39b[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x1552'))[_0x477d('0xd92')](''+_0x4c2f8b['selectedListVoiceDispositions'][_0x477d('0x79')]+_0x477d('0xda0')+'\x20will\x20be\x20deleted.')['ariaLabel']('delete\x20voiceDispositions')[_0x477d('0xd7c')](_0x515602)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0xa0b39b[_0x477d('0x395')](_0x470773)[_0x477d('0x76')](function(){_0x4c2f8b[_0x477d('0x1553')][_0x477d('0x3b1')](function(_0x17f1b4){_0x2a9f2f(_0x17f1b4);});_0x4c2f8b[_0x477d('0x1553')]=[];});}var _0x5af2c2=!![];var _0x3878cf=0x1;_0x1b52a4[_0x477d('0x4b5')](_0x477d('0x12f3'),function(_0x15e8bd,_0x167364){if(_0x5af2c2){_0x9ba0df(function(){_0x5af2c2=![];});}else{if(!_0x167364){_0x3878cf=_0x4c2f8b[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x15e8bd!==_0x167364){_0x4c2f8b[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0x15e8bd){_0x4c2f8b[_0x477d('0x3ef')]['page']=_0x3878cf;}_0x577fd4();}});}}());(function(){'use strict';_0x3c96e0[_0x477d('0xa')]=[_0x477d('0x474'),'$state',_0x477d('0xd64'),_0x477d('0x384'),'$q','$translate',_0x477d('0x40e'),_0x477d('0x1554'),_0x477d('0x1555'),_0x477d('0x386'),_0x477d('0x55'),_0x477d('0x613'),'setting',_0x477d('0xd66')];angular[_0x477d('0xb')]('app.contactmanager')[_0x477d('0x3ba')](_0x477d('0x1556'),_0x3c96e0);function _0x3c96e0(_0xc09e17,_0x384cac,_0x5367fb,_0x260f35,_0x227802,_0x509c86,_0x291b4b,_0x5277fd,_0x2ef404,_0x24cb49,_0x349688,_0x244086,_0x5009c7,_0x467049){var _0x33e317=this;_0x33e317[_0x477d('0x3e5')]=_0x349688[_0x477d('0x5c')]();_0x33e317['errors']=[];_0x33e317[_0x477d('0xc8e')]=_0x5009c7;_0x33e317[_0x477d('0x613')]=_0x244086;_0x33e317[_0x477d('0xd66')]=_0x467049;_0x33e317[_0x477d('0xd68')]={};_0x33e317[_0x477d('0xd69')]=_0x33e317[_0x477d('0xc8e')]&&_0x33e317['setting'][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x33e317[_0x477d('0x49a')]=_0x477d('0x1557');_0x33e317[_0x477d('0x1555')]=angular['copy'](_0x2ef404);_0x33e317[_0x477d('0x1554')]=_0x5277fd;_0x33e317[_0x477d('0x1558')]=![];if(!_0x33e317[_0x477d('0x1555')]){_0x33e317['voiceDisposition']={};_0x33e317['title']='CONTACTMANAGER.NEW_VOICEDISPOSITION';_0x33e317[_0x477d('0x1558')]=!![];}if(_0x384cac[_0x477d('0x37e')]['id']){_0x33e317[_0x477d('0x1555')]['ListId']=_0x384cac['params']['id'];}_0x33e317['addNewVoiceDisposition']=_0xbbe417;_0x33e317[_0x477d('0x1559')]=_0x278487;_0x33e317[_0x477d('0x155a')]=_0x1e1af5;_0x33e317[_0x477d('0xd6f')]=_0x1c98b4;_0x33e317[_0x477d('0x6bf')]=_0x253431;function _0xbbe417(){_0x33e317['errors']=[];_0x24cb49[_0x477d('0xb95')][_0x477d('0xd70')](_0x33e317['voiceDisposition'])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x4689a4){_0x33e317['voiceDispositions']['unshift'](_0x4689a4[_0x477d('0xd71')]());_0x291b4b[_0x477d('0x485')]({'title':_0x477d('0x155b'),'msg':_0x33e317['voiceDisposition'][_0x477d('0x94')]?_0x33e317['voiceDisposition'][_0x477d('0x94')]+_0x477d('0xd73'):''});_0x253431(_0x4689a4);})[_0x477d('0xf8')](function(_0x4bddf7){if(_0x4bddf7['data']&&_0x4bddf7[_0x477d('0x451')][_0x477d('0xd67')]&&_0x4bddf7['data']['errors'][_0x477d('0x79')]){_0x33e317['errors']=_0x4bddf7['data'][_0x477d('0xd67')]||[{'message':_0x4bddf7[_0x477d('0x453')](),'type':_0x477d('0x1314')}];for(var _0x4c56e4=0x0;_0x4c56e4<_0x4bddf7[_0x477d('0x451')][_0x477d('0xd67')]['length'];_0x4c56e4+=0x1){_0x291b4b['error']({'title':_0x4bddf7[_0x477d('0x451')][_0x477d('0xd67')][_0x4c56e4][_0x477d('0x439')],'msg':_0x4bddf7[_0x477d('0x451')][_0x477d('0xd67')][_0x4c56e4][_0x477d('0x452')]});}}else{_0x291b4b[_0x477d('0x44a')]({'title':_0x4bddf7['status']?'API:'+_0x4bddf7[_0x477d('0x3c3')]+'\x20-\x20'+_0x4bddf7[_0x477d('0x44d')]:_0x477d('0x1314'),'msg':_0x4bddf7['data']?JSON[_0x477d('0x3fb')](_0x4bddf7['data'][_0x477d('0x452')]):_0x4bddf7[_0x477d('0x453')]()});}});}function _0x278487(){_0x33e317[_0x477d('0xd67')]=[];_0x24cb49['disposition'][_0x477d('0x710')]({'id':_0x33e317['voiceDisposition']['id']},_0x33e317[_0x477d('0x1555')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0xd137c){var _0x36340b=_[_0x477d('0x10a')](_0x33e317[_0x477d('0x1554')],{'id':_0xd137c['id']});if(_0x36340b){_['merge'](_0x36340b,_[_0x477d('0x10b')](_0xd137c[_0x477d('0xd71')](),_[_0x477d('0x7f')](_0x36340b)));}_0x291b4b[_0x477d('0x485')]({'title':'VoiceDisposition\x20properly\x20saved!','msg':_0x33e317[_0x477d('0x1555')][_0x477d('0x94')]?_0x33e317[_0x477d('0x1555')]['name']+_0x477d('0xd76'):''});_0x253431(_0xd137c);})['catch'](function(_0x1394b0){if(_0x1394b0[_0x477d('0x451')]&&_0x1394b0['data'][_0x477d('0xd67')]&&_0x1394b0['data'][_0x477d('0xd67')]['length']){_0x33e317[_0x477d('0xd67')]=_0x1394b0[_0x477d('0x451')]['errors']||[{'message':_0x1394b0[_0x477d('0x453')](),'type':_0x477d('0x1316')}];for(var _0x35bfbb=0x0;_0x35bfbb<_0x1394b0[_0x477d('0x451')][_0x477d('0xd67')]['length'];_0x35bfbb++){_0x291b4b['error']({'title':_0x1394b0['data'][_0x477d('0xd67')][_0x35bfbb]['type'],'msg':_0x1394b0[_0x477d('0x451')][_0x477d('0xd67')][_0x35bfbb][_0x477d('0x452')]});}}else{_0x291b4b[_0x477d('0x44a')]({'title':_0x1394b0[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x1394b0[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x1394b0[_0x477d('0x44d')]:'api.disposition.update','msg':_0x1394b0[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x1394b0[_0x477d('0x451')][_0x477d('0x452')]):_0x1394b0[_0x477d('0x453')]()});}});}function _0x1e1af5(_0x183911){_0x33e317[_0x477d('0xd67')]=[];var _0x4c9f5=_0x260f35[_0x477d('0xd78')]()['title'](_0x477d('0xd79'))[_0x477d('0xdaf')](_0x477d('0x155c'))['ariaLabel'](_0x477d('0x155d'))['ok'](_0x477d('0xd7b'))['cancel']('Cancel')['targetEvent'](_0x183911);_0x260f35[_0x477d('0x395')](_0x4c9f5)[_0x477d('0x76')](function(){_0x24cb49['disposition'][_0x477d('0xa55')]({'id':_0x33e317[_0x477d('0x1555')]['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x33e317['voiceDispositions'],{'id':_0x33e317[_0x477d('0x1555')]['id']});_0x291b4b[_0x477d('0x485')]({'title':_0x477d('0x155e'),'msg':(_0x33e317['voiceDisposition'][_0x477d('0x94')]||_0x477d('0x1555'))+_0x477d('0xd7e')});_0x253431(_0x33e317[_0x477d('0x1555')]);})[_0x477d('0xf8')](function(_0x32d0d8){if(_0x32d0d8[_0x477d('0x451')]&&_0x32d0d8[_0x477d('0x451')][_0x477d('0xd67')]&&_0x32d0d8[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x33e317['errors']=_0x32d0d8['data']['errors']||[{'message':_0x32d0d8['toString'](),'type':_0x477d('0x1318')}];for(var _0x252831=0x0;_0x252831<_0x32d0d8[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x252831++){_0x291b4b[_0x477d('0x44a')]({'title':_0x32d0d8[_0x477d('0x451')][_0x477d('0xd67')][_0x252831][_0x477d('0x439')],'msg':_0x32d0d8[_0x477d('0x451')][_0x477d('0xd67')][_0x252831]['message']});}}else{_0x291b4b['error']({'title':_0x32d0d8[_0x477d('0x3c3')]?'API:'+_0x32d0d8['status']+'\x20-\x20'+_0x32d0d8[_0x477d('0x44d')]:_0x477d('0x1318'),'msg':_0x32d0d8[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x32d0d8['data'][_0x477d('0x452')]):_0x32d0d8[_0x477d('0x452')]||_0x32d0d8['toString']()});}});},function(){});}function _0x1c98b4(_0x55a1f4){return _0x55a1f4===null?undefined:new Date(_0x55a1f4);}function _0x253431(_0x35f8e7){_0x260f35['hide'](_0x35f8e7);}}}());(function(){'use strict';_0x37f67d[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x387'),_0x477d('0x3c4'),'$mdSidenav',_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x3fe'),_0x477d('0x40d'),'lists',_0x477d('0x3a5'),'userProfileSection',_0x477d('0x386'),_0x477d('0x342'),_0x477d('0x40e'),'Auth',_0x477d('0x613'),_0x477d('0xc8e')];angular[_0x477d('0xb')](_0x477d('0x2e'))[_0x477d('0x3ba')](_0x477d('0x155f'),_0x37f67d);function _0x37f67d(_0x4813e7,_0x567652,_0x204c82,_0x2a2844,_0x4fa6c2,_0xf7ff79,_0x484252,_0x3241bd,_0x30737f,_0x4c6cbe,_0x2b9f37,_0x100fd1,_0x4002a0,_0x2d04e3,_0xa77bfe,_0x487bd8,_0x302352){var _0x1b4540=this;_0x1b4540[_0x477d('0x613')]=_0x487bd8;_0x1b4540[_0x477d('0xc8e')]=_0x302352;_0x1b4540[_0x477d('0x3e5')]=_0xa77bfe[_0x477d('0x5c')]();_0x1b4540[_0x477d('0xf1')]=_0x30737f||{'count':0x0,'rows':[]};_0x1b4540[_0x477d('0x3a5')]=_0x4c6cbe;_0x1b4540[_0x477d('0x3ac')]=_0x2b9f37&&_0x2b9f37[_0x477d('0x3bb')]==0x1?_0x2b9f37[_0x477d('0xf2')][0x0]:null;_0x1b4540[_0x477d('0xd66')]=_0xa77bfe[_0x477d('0xd81')](_0x1b4540[_0x477d('0x3ac')]?_0x1b4540[_0x477d('0x3ac')][_0x477d('0xd66')]:null);_0x1b4540[_0x477d('0xd82')]=_0x477d('0xf1');_0x1b4540['listOrder']='';_0x1b4540[_0x477d('0xd84')]=null;_0x1b4540[_0x477d('0x1560')]=[];_0x1b4540[_0x477d('0x3ef')]={'fields':'createdAt,updatedAt,id,name,description,dialPrefix','sort':_0x477d('0x59'),'limit':0xa,'page':0x1};_0x1b4540[_0x477d('0xea6')]=_0x20110c;_0x1b4540['gotocontactsgoto']=_0x420a12;_0x1b4540[_0x477d('0x1561')]=_0x1be050;_0x1b4540['agentadddialog']=_0x16a30a;_0x1b4540[_0x477d('0xd88')]=_0x20ee6b;_0x1b4540[_0x477d('0x485')]=_0xd4a24b;_0x1b4540[_0x477d('0x1562')]=_0xd84086;_0x1b4540['createOrEditList']=_0x2bb9db;_0x1b4540[_0x477d('0x1563')]=_0x45c94d;_0x1b4540['exportSelectedLists']=_0x2501fb;_0x1b4540[_0x477d('0x1564')]=_0x96967e;_0x1b4540[_0x477d('0x1565')]=_0x260b5a;_0x1b4540[_0x477d('0x1566')]=_0x2ae2d1;function _0x20110c(_0xbc0e95,_0x1729c4){_0x204c82['go'](_0x477d('0xdd'),{'id':_0xbc0e95['id'],'list':_0xbc0e95,'crudPermissions':_0x1b4540[_0x477d('0xd66')]});}function _0x420a12(_0x314a78,_0x15fcf4){if(_0xa77bfe[_0x477d('0x56')](_0x477d('0x5f'))){_0x204c82['go'](_0x477d('0xd6'),{'ListId':_0x314a78['id']});}else{return _0x100fd1[_0x477d('0x3ac')]['get']({'userProfileId':_0xa77bfe[_0x477d('0x5c')]()['userProfileId'],'sectionId':0x12f})['$promise'][_0x477d('0x76')](function(_0x5e81a6){var _0x562e23=_0x5e81a6&&_0x5e81a6[_0x477d('0xf2')]?_0x5e81a6[_0x477d('0xf2')][0x0]:null;if(_0x562e23&&_0x562e23['enabled']){_0x204c82['go'](_0x477d('0xd6'),{'ListId':_0x314a78['id']});}else{_0x2d04e3['info']({'title':_0x3241bd[_0x477d('0x45f')](_0x477d('0x119d')),'msg':_0x3241bd['instant'](_0x477d('0x142f'))});}})[_0x477d('0xf8')](function(_0x1e5edc){_0x2d04e3['error']({'title':_0x1e5edc['status']?'API:'+_0x1e5edc[_0x477d('0x3c3')]+'\x20-\x20'+_0x1e5edc[_0x477d('0x44d')]:_0x477d('0x11df'),'msg':_0x1e5edc['status']?JSON[_0x477d('0x3fb')](_0x1e5edc[_0x477d('0x451')]):_0x1e5edc['toString']()});});}}function _0x1be050(_0x21d0eb,_0xb2e4e7){return _0x100fd1[_0x477d('0xe3f')]['getContactsCsv']({'id':_0x21d0eb['id'],'nolimit':!![]})['$promise']['then'](function(_0x2cea09){if(typeof _0x2cea09[_0x477d('0x79')]!==_0x477d('0x4a4')){var _0x1857dd=[_0x2cea09[_0x477d('0x49e')]];var _0x2c8653=new Blob(_0x1857dd,{'type':_0x2cea09[_0x477d('0x439')]});var _0x2f76d0=window[_0x477d('0x945')][_0x477d('0x3c7')]('a');_0x2f76d0[_0x477d('0x494')](_0x477d('0x3c8'),URL['createObjectURL'](_0x2c8653));_0x2f76d0[_0x477d('0x494')](_0x477d('0x49d'),'exportContacts_'+_0x21d0eb['id']+_0x477d('0x1567'));_0x2f76d0['click']();}else{_0x2d04e3[_0x477d('0x669')]({'title':_0x477d('0x1568'),'msg':'The\x20list\x20is\x20empty'});}})['catch'](function(_0x54572b){_0x2d04e3['error']({'title':_0x54572b[_0x477d('0x3c3')]?'API:'+_0x54572b[_0x477d('0x3c3')]+'\x20-\x20'+_0x54572b[_0x477d('0x44d')]:_0x477d('0x1537'),'msg':_0x54572b[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x54572b['data']):_0x54572b[_0x477d('0x453')]()});});}function _0x16a30a(_0x2c29e7,_0x4e5d5a){_0x4fa6c2[_0x477d('0x395')]({'controller':_0x477d('0x1525'),'controllerAs':'vm','templateUrl':_0x477d('0x1569'),'parent':angular[_0x477d('0x398')](_0xf7ff79[_0x477d('0x399')]),'targetEvent':_0x4e5d5a,'clickOutsideToClose':!![],'locals':{'list':_0x2c29e7,'lists':_0x1b4540[_0x477d('0xf1')]?_0x1b4540[_0x477d('0xf1')]['rows']:[],'crudPermissions':_0x1b4540['crudPermissions'],'realtime':![]}});}function _0x20ee6b(_0x212576,_0x4f947c){var _0x1b6169=_0x4fa6c2['confirm']()[_0x477d('0x49a')](_0x477d('0xd90')+_[_0x477d('0xd91')](_0x477d('0xa02'))+'?')[_0x477d('0xd92')](_0x477d('0xd93')+(_0x212576[_0x477d('0x94')]||_0x477d('0xa02'))+''+'\x20will\x20be\x20deleted.')['ariaLabel'](_0x477d('0x156a'))['targetEvent'](_0x4f947c)['ok']('OK')['cancel'](_0x477d('0xd97'));_0x4fa6c2[_0x477d('0x395')](_0x1b6169)[_0x477d('0x76')](function(){_0x45c94d(_0x212576);},function(){console[_0x477d('0x7b')](_0x477d('0xd97'));});}var _0x4574ca=!![];var _0x58f4ee=0x1;_0x4813e7[_0x477d('0x4b5')]('vm.query.filter',function(_0x5a4e40,_0x2e88bc){if(_0x4574ca){_0x484252(function(){_0x4574ca=![];});}else{if(!_0x2e88bc){_0x58f4ee=_0x1b4540[_0x477d('0x3ef')]['page'];}if(_0x5a4e40!==_0x2e88bc){_0x1b4540[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0x5a4e40){_0x1b4540['query']['page']=_0x58f4ee;}_0x1b4540[_0x477d('0x1562')]();}});function _0xd4a24b(_0x325852){_0x1b4540['lists']=_0x325852||{'count':0x0,'rows':[]};}function _0xd84086(){_0x1b4540['query'][_0x477d('0x91c')]=(_0x1b4540['query']['page']-0x1)*_0x1b4540[_0x477d('0x3ef')][_0x477d('0x91d')];if(_0xa77bfe[_0x477d('0x56')](_0x477d('0x5f'))){_0x1b4540[_0x477d('0x553')]=_0x100fd1[_0x477d('0xe3f')][_0x477d('0x376')](_0x1b4540[_0x477d('0x3ef')],_0xd4a24b)[_0x477d('0x38b')];}else{_0x1b4540['query']['id']=_0x1b4540[_0x477d('0x3a5')]['id'];_0x1b4540[_0x477d('0x3ef')]['section']=_0x477d('0xa9');_0x1b4540['promise']=_0x100fd1[_0x477d('0x3a5')][_0x477d('0xd9a')](_0x1b4540[_0x477d('0x3ef')],_0xd4a24b)[_0x477d('0x38b')];}}function _0x2bb9db(_0x5a5f31,_0x1d99b5){_0x4fa6c2[_0x477d('0x395')]({'controller':_0x477d('0x156b'),'controllerAs':'vm','templateUrl':'app/main/apps/contactmanager/views/lists/create/dialog.html','parent':angular[_0x477d('0x398')](_0xf7ff79[_0x477d('0x399')]),'targetEvent':_0x5a5f31,'clickOutsideToClose':!![],'locals':{'list':_0x1d99b5,'lists':_0x1b4540[_0x477d('0xf1')][_0x477d('0xf2')],'license':_0x1b4540[_0x477d('0x613')],'setting':_0x1b4540[_0x477d('0xc8e')],'crudPermissions':_0x1b4540[_0x477d('0xd66')]}});}function _0x45c94d(_0x3b6025){_0x100fd1[_0x477d('0xe3f')]['delete']({'id':_0x3b6025['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x1b4540[_0x477d('0xf1')][_0x477d('0xf2')],{'id':_0x3b6025['id']});_0x1b4540[_0x477d('0xf1')][_0x477d('0x3bb')]-=0x1;if(!_0x1b4540[_0x477d('0xf1')][_0x477d('0xf2')][_0x477d('0x79')]){_0x1b4540['getLists']();}_0x2d04e3[_0x477d('0x485')]({'title':_['startCase']('List')+_0x477d('0xd9d'),'msg':_0x3b6025['name']?_0x3b6025['name']+_0x477d('0xd7e'):''});})['catch'](function(_0x5b33c6){if(_0x5b33c6[_0x477d('0x451')]&&_0x5b33c6['data'][_0x477d('0xd67')]&&_0x5b33c6[_0x477d('0x451')]['errors'][_0x477d('0x79')]){_0x1b4540[_0x477d('0xd67')]=_0x5b33c6[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x5b33c6[_0x477d('0x453')](),'type':'SYSTEM:DELETEcmList'}];for(var _0x270d42=0x0;_0x270d42<_0x5b33c6[_0x477d('0x451')]['errors'][_0x477d('0x79')];_0x270d42++){_0x2d04e3[_0x477d('0x44a')]({'title':_0x5b33c6['data'][_0x477d('0xd67')][_0x270d42][_0x477d('0x439')],'msg':_0x5b33c6[_0x477d('0x451')][_0x477d('0xd67')][_0x270d42][_0x477d('0x452')]});}}else{_0x2d04e3[_0x477d('0x44a')]({'title':_0x5b33c6[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x5b33c6[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x5b33c6[_0x477d('0x44d')]:'SYSTEM:DELETEcmList','msg':_0x5b33c6[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x5b33c6[_0x477d('0x451')]['message']):_0x5b33c6[_0x477d('0x452')]||_0x5b33c6[_0x477d('0x453')]()});}});}function _0x2501fb(){var _0x4b6fb8=angular[_0x477d('0x6d9')](_0x1b4540[_0x477d('0x1560')]);_0x1b4540[_0x477d('0x1560')]=[];return _0x4b6fb8;}function _0x96967e(_0x17a368){var _0x39a548=_0x4fa6c2[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x156c'))[_0x477d('0xd92')](_0x477d('0xd93')+_0x1b4540[_0x477d('0x1560')][_0x477d('0x79')]+_0x477d('0xda0')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x156d'))[_0x477d('0xd7c')](_0x17a368)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x4fa6c2[_0x477d('0x395')](_0x39a548)[_0x477d('0x76')](function(){_0x1b4540[_0x477d('0x1560')][_0x477d('0x3b1')](function(_0x10150a){_0x45c94d(_0x10150a);});_0x1b4540[_0x477d('0x1560')]=[];});}function _0x260b5a(){_0x1b4540['selectedLists']=[];}function _0x2ae2d1(){_0x1b4540[_0x477d('0x1560')]=_0x1b4540['lists'][_0x477d('0xf2')];}}}());(function(){'use strict';_0x2a95fc['$inject']=[_0x477d('0x3c4'),_0x477d('0x794'),_0x477d('0x474'),_0x477d('0x386'),_0x477d('0x5a3'),_0x477d('0x55'),_0x477d('0x8f9'),'userProfile','userProfileSection'];angular[_0x477d('0xb')](_0x477d('0x105'))['controller'](_0x477d('0x156e'),_0x2a95fc);function _0x2a95fc(_0x2d9b0a,_0x3bc759,_0xdcd51,_0x4eac5e,_0x8e22e3,_0x252621,_0x6e6614,_0x5031db,_0x27c54a){var _0x2e957f=this;_0x2e957f[_0x477d('0x3e5')]=_0x252621[_0x477d('0x5c')]();_0x2e957f[_0x477d('0x3a5')]=_0x5031db;_0x2e957f[_0x477d('0x3ac')]=_0x27c54a&&_0x27c54a[_0x477d('0x3bb')]==0x1?_0x27c54a[_0x477d('0xf2')][0x0]:null;_0x2e957f[_0x477d('0xd66')]=_0x252621[_0x477d('0xd81')](_0x2e957f['userProfileSection']?_0x2e957f['userProfileSection'][_0x477d('0xd66')]:null);_0x2e957f['customDashboard']={};_0x2e957f[_0x477d('0x8f9')]=_0x6e6614&&_0x6e6614[_0x477d('0x3bb')]?_0x6e6614:{'count':0x0,'rows':[]};_0x2e957f[_0x477d('0x8f8')]=_0x6e6614&&_0x6e6614[_0x477d('0x3bb')]?_[_0x477d('0x3cb')](_0x6e6614[_0x477d('0xf2')],'id'):[];_0x2e957f['interval']=_0x3bc759(function(){},0x3e8);_0x2e957f[_0x477d('0x156f')]=_0x15bc65;_0x2e957f[_0x477d('0x1570')]=_0x327d30;_0x8e22e3['onWithoutApply'](_0x477d('0x1571'),_0x45a4e5);_0x4eac5e['dashboard'][_0x477d('0x376')]({'id':_0x2d9b0a[_0x477d('0x37e')]['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x4125e8){if(_0x4125e8){_0x2e957f[_0x477d('0x1572')]=_0x4125e8;_0x2e957f[_0x477d('0x1572')][_0x477d('0x1573')]=[];_0x2e957f[_0x477d('0x1572')]['preview']=!![];_0x2e957f[_0x477d('0x1572')]['draggable']={'enabled':![]};_0x2e957f[_0x477d('0x1572')][_0x477d('0x1574')]={'enabled':![]};return _0x4eac5e[_0x477d('0xad2')][_0x477d('0x1575')]({'id':_0x2e957f[_0x477d('0x1572')]['id']})[_0x477d('0x38b')];}})[_0x477d('0x76')](function(_0x413819){if(_0x413819&&_0x413819['count']&&_0x413819['rows']){for(var _0x44b8ec=0x0;_0x44b8ec<_0x413819['rows'][_0x477d('0x79')];_0x44b8ec+=0x1){_0x413819[_0x477d('0xf2')][_0x44b8ec][_0x477d('0x1576')]='app/core/directives/ms-widget-engine/ms-widget-engine-'+_0x413819[_0x477d('0xf2')][_0x44b8ec][_0x477d('0x439')]+'/ms-widget-engine.'+_0x413819[_0x477d('0xf2')][_0x44b8ec]['type']+_0x477d('0x1577');_0x413819[_0x477d('0xf2')][_0x44b8ec]['voiceQueues']=_0x2e957f['voiceQueues'];_0x413819[_0x477d('0xf2')][_0x44b8ec]['voiceQueuesSelected']=_0x2e957f[_0x477d('0x8f8')];_0x2e957f[_0x477d('0x1572')][_0x477d('0x1573')][_0x477d('0x3a7')](_0x413819['rows'][_0x44b8ec]);}}})[_0x477d('0xf8')](function(_0x41e4fa){_0x2e957f[_0x477d('0x1572')]=undefined;});function _0x45a4e5(_0x7235c2){var _0x23a381=_[_0x477d('0x10a')](_0x2e957f[_0x477d('0x8f9')]['rows'],{'id':_0x7235c2['id']});if(_0x23a381){_['merge'](_0x23a381,_[_0x477d('0x10b')](_0x7235c2,_[_0x477d('0x7f')](_0x23a381)));}}function _0x15bc65(){for(var _0x5a0f65=0x0;_0x5a0f65<_0x2e957f['customDashboard'][_0x477d('0x1573')][_0x477d('0x79')];_0x5a0f65+=0x1){_0x2e957f[_0x477d('0x1572')][_0x477d('0x1573')][_0x5a0f65]['voiceQueuesSelected']=_0x2e957f[_0x477d('0x8f8')];}}function _0x327d30(){_0x2d9b0a['go'](_0x477d('0x2b7'),{'id':_0x2e957f[_0x477d('0x1572')]['id'],'tab':0x1});}_0xdcd51[_0x477d('0x4ec')](_0x477d('0x505'),function(){_0x8e22e3['removeAllListeners'](_0x477d('0x1571'));_0x2e957f[_0x477d('0x79c')]&&_0x3bc759[_0x477d('0x4f0')](_0x2e957f[_0x477d('0x79c')]);});}}());(function(){'use strict';_0x177b25[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x384'),_0x477d('0x387'),'$translate',_0x477d('0x475'),_0x477d('0x55'),_0x477d('0x386'),_0x477d('0x5a3'),'toasty',_0x477d('0x1578'),_0x477d('0x1579'),_0x477d('0x157a'),_0x477d('0x157b'),_0x477d('0x613'),_0x477d('0xc8e'),_0x477d('0x157c'),_0x477d('0x342')];_0x48c930[_0x477d('0xa')]=[_0x477d('0x3bd'),_0x477d('0x40d'),_0x477d('0x387'),_0x477d('0x55')];angular['module'](_0x477d('0x2c'))[_0x477d('0x3ba')](_0x477d('0x157d'),_0x177b25)[_0x477d('0x388')](_0x477d('0x157e'),_0x48c930);function _0x177b25(_0x2155b8,_0x18539b,_0x567324,_0x81b323,_0x2e7aff,_0x2d61e6,_0x36d012,_0x37bdeb,_0x4a03fb,_0xbfa8f,_0x21034c,_0x42798f,_0x579522,_0x5545d2,_0x25fee7,_0x221901,_0x2d80b9){var _0x263d4b=this;_0x263d4b[_0x477d('0x613')]=_0x5545d2;_0x263d4b['setting']=_0x25fee7;_0x263d4b['detectBrowser']=_0x2d80b9[_0x477d('0x157f')]();_0x263d4b[_0x477d('0x380')]=_0x2d61e6[_0x477d('0x5c')]();_0x263d4b['currentTab']=0x0;_0x263d4b['notifications']={};_0x263d4b[_0x477d('0x1580')]={};_0x263d4b[_0x477d('0x1581')]={};_0x263d4b[_0x477d('0x1578')]=_0xbfa8f||{'count':0x0,'rows':[]};_0x263d4b[_0x477d('0x1579')]=_0x21034c||{'count':0x0,'rows':[]};_0x263d4b[_0x477d('0x157a')]=_0x42798f||{'count':0x0,'rows':[]};_0x263d4b[_0x477d('0x157b')]=_0x579522||{'count':0x0,'rows':[]};_0x263d4b[_0x477d('0x1582')]=_0xac584a;_0x263d4b['onJscripty']=_0x544d97;_0x263d4b[_0x477d('0x1583')]=_0x150c75;_0x263d4b[_0x477d('0x1584')]=_0x1a94ed;_0x263d4b[_0x477d('0x1585')]=_0x4bd128;_0x263d4b['onNotificationSave']=_0xb7403f;_0x263d4b['onNotificationRemove']=_0x59568a;_0x263d4b[_0x477d('0x1586')]=_0x3ad2ae;_0x263d4b[_0x477d('0x1587')]=_0x265052;_0x263d4b['isActiveTab']=_0x260531;_0x263d4b['alreadyExistsTab']=_0xb245a5;_0x263d4b['addContactTab']=_0x10ba6a;_0x263d4b[_0x477d('0x1588')]=_0x414211;_0x263d4b['addTab']=_0x55a9d4;_0x263d4b['removeTab']=_0x22c04a;_0x263d4b[_0x477d('0x1589')]=_0x257585;_0x263d4b[_0x477d('0x158a')]=_0x209608;_0x37bdeb['on'](_0x477d('0x158b'),_0x263d4b[_0x477d('0x1582')]);_0x37bdeb['on'](_0x477d('0x158c'),_0x263d4b[_0x477d('0x158d')]);_0x37bdeb['on'](_0x477d('0x158e'),_0x263d4b['onBot']);_0x37bdeb['on']('trigger:browser:url',_0x263d4b['onBrowserUrl']);_0x37bdeb['on'](_0x477d('0x158f'),_0x263d4b[_0x477d('0x1585')]);_0x37bdeb['on'](_0x477d('0x1590'),_0x263d4b['onNotificationSave']);_0x37bdeb['on'](_0x477d('0x1591'),_0x263d4b['onNotificationRemove']);_0x37bdeb['on'](_0x477d('0x1592'),_0x263d4b[_0x477d('0x1586')]);_0x37bdeb['on'](_0x477d('0x1593'),_0x263d4b[_0x477d('0x1586')]);_0x1e9df9();function _0x1e9df9(){var _0x21b08f=_0x567324[_0x477d('0x39d')][_0x477d('0x3f8')](_0x477d('0x5ac')+_0x263d4b[_0x477d('0x380')]['id']);if(_0x21b08f){try{_0x21b08f=JSON[_0x477d('0x77')](_0x21b08f);_0x263d4b[_0x477d('0x1580')]=_0x21b08f['tabs']?_0x21b08f[_0x477d('0x1580')]:{};_0x263d4b[_0x477d('0x1594')]=_0x21b08f['currentTab']?_0x21b08f[_0x477d('0x1594')]:0x0;_0x32938c(_0x263d4b['tabs'][_0x263d4b[_0x477d('0x1594')]]);}catch(_0x1ad2dc){console[_0x477d('0x44a')](_0x1ad2dc);}}}function _0x257585(_0xd4ac0d){var _0xf6e7a8={};for(var _0x3b3152 in _0x263d4b[_0x477d('0x1580')]){if(_0x263d4b[_0x477d('0x1580')][_0x477d('0x3ea')](_0x3b3152)){_0xf6e7a8[_0x3b3152]=_[_0x477d('0x10b')](_0x263d4b[_0x477d('0x1580')][_0x3b3152],['type',_0x477d('0x49a'),'channel',_0x477d('0x1595'),_0x477d('0x3e3'),'autoCreate','id',_0x477d('0x11a6'),_0x477d('0x1596')]);if(!_[_0x477d('0x484')](_0x263d4b[_0x477d('0x1580')][_0x3b3152][_0x477d('0x100')])){_0xf6e7a8[_0x3b3152][_0x477d('0x100')]=_[_0x477d('0x10b')](_0x263d4b[_0x477d('0x1580')][_0x3b3152]['contact'],['id',_0x477d('0x1229')]);}if(!_['isNil'](_0x263d4b[_0x477d('0x1580')][_0x3b3152][_0x477d('0x5b6')])){_0xf6e7a8[_0x3b3152][_0x477d('0x5b6')]=_0x263d4b[_0x477d('0x1580')][_0x3b3152]['calls'];}if(_0x263d4b['tabs'][_0x3b3152][_0x477d('0x1364')]){_0xf6e7a8[_0x3b3152]['interaction']=_['pick'](_0x263d4b[_0x477d('0x1580')][_0x3b3152][_0x477d('0x1364')],['id','OpenchannelAccountId',_0x477d('0x14b8'),_0x477d('0x1237'),_0x477d('0x14b6'),'SmsAccountId',_0x477d('0x1597'),_0x477d('0x1351'),'draft']);}}}var _0x4383f2=JSON[_0x477d('0x77')](_0x567324[_0x477d('0x39d')][_0x477d('0x3f8')](_0x477d('0x5ac')+_0x263d4b[_0x477d('0x380')]['id']));if(_0x4383f2){_0x4383f2[_0x477d('0x1580')]=_0xf6e7a8;_0x4383f2['currentTab']=_0x263d4b[_0x477d('0x1594')];}else{_0x4383f2={'tabs':_0xf6e7a8,'currentTab':_0x263d4b['currentTab']};}_0x567324['localStorage']['setItem'](_0x477d('0x5ac')+_0x263d4b['user']['id'],JSON[_0x477d('0x3fb')](_0x4383f2));if(_0xd4ac0d){_0x32938c(_0xd4ac0d);}}function _0x32938c(_0x1e2fac){if(_[_0x477d('0x484')](_0x1e2fac)||_0x1e2fac&&_0x1e2fac[_0x477d('0x439')]===_0x477d('0x1364')){var _0x21d369={'id':_0x263d4b[_0x477d('0x380')]['id'],'online':!![],'capacity':{'mail':0x0,'fax':0x0,'sms':0x0,'whatsapp':0x0,'openchannel':0x0,'chat':0x0},'interaction':{'mail':[],'fax':[],'sms':[],'whatsapp':[],'openchannel':[],'chat':[]}};for(var _0x1bbd04 in _0x263d4b['tabs']){if(_0x263d4b[_0x477d('0x1580')][_0x477d('0x3ea')](_0x1bbd04)){if(_0x21d369[_0x477d('0x1598')]['hasOwnProperty'](_0x263d4b['tabs'][_0x1bbd04]['channel'])&&_0x263d4b[_0x477d('0x1580')][_0x1bbd04]['interaction']&&!_0x263d4b[_0x477d('0x1580')][_0x1bbd04][_0x477d('0x1364')][_0x477d('0x1351')]){_0x21d369[_0x477d('0x1598')][_0x263d4b[_0x477d('0x1580')][_0x1bbd04][_0x477d('0x1599')]]+=0x1;_0x21d369['interaction'][_0x263d4b[_0x477d('0x1580')][_0x1bbd04][_0x477d('0x1599')]][_0x477d('0x3a7')](_0x263d4b[_0x477d('0x1580')][_0x1bbd04][_0x477d('0x1364')]['id']);}}}if(!_['isEqual'](_0x263d4b[_0x477d('0x1581')],_0x21d369[_0x477d('0x1598')])){_0x263d4b[_0x477d('0x1581')]=_0x21d369[_0x477d('0x1598')];return _0x36d012[_0x477d('0x6c9')][_0x477d('0x159a')](_0x21d369);}}}function _0x209608(_0x27ce4d){var _0x1196be=_0x18539b[_0x477d('0xd78')]()['title'](_0x27ce4d['type']===_0x477d('0x1364')?_0x477d('0x159b'):_0x477d('0x159c')+_0x27ce4d[_0x477d('0x439')]+'?')['textContent'](_0x27ce4d['type']===_0x477d('0x1364')?'':'The\x20'+_0x27ce4d[_0x477d('0x439')]+_0x477d('0x159d'))[_0x477d('0x687')](_0x477d('0x159e'))['ok'](_0x27ce4d[_0x477d('0x439')]==='interaction'?_0x477d('0x159f'):'OK')[_0x477d('0x4f0')](_0x27ce4d['type']===_0x477d('0x1364')?'NO':_0x477d('0xd97'));if(_0x27ce4d['saved']){var _0x4f8786=![];_[_0x477d('0x3b1')](_0x27ce4d[_0x477d('0x5b6')],function(_0xf6cdf9){if(_0xf6cdf9[_0x477d('0x15a0')]){_0x4f8786=!![];}});if(_0x27ce4d['type']===_0x477d('0x100')&&_0x27ce4d[_0x477d('0x5b6')][_0x477d('0x79')]>0x0){if(_0x4f8786){alert=_0x18539b[_0x477d('0x120a')]()[_0x477d('0x49a')](_0x477d('0x15a1'))[_0x477d('0x68e')](_0x477d('0x15a2'))['ok']('OK');_0x18539b[_0x477d('0x395')](alert)[_0x477d('0x5ff')](function(){alert=undefined;});}else{_0x1196be[_0x477d('0x15a3')]['textContent']='There\x20is\x20a\x20call\x20that\x20hasn\x27t\x20been\x20disposed\x20yet.';return _0x18539b['show'](_0x1196be)[_0x477d('0x76')](function(){_0x22c04a(_0x27ce4d);});}}else{_0x22c04a(_0x27ce4d);}}else{var _0x10492c=_0x263d4b[_0x477d('0x380')]['voicePause']||_0x263d4b[_0x477d('0x380')][_0x477d('0x13d0')]||_0x263d4b[_0x477d('0x380')][_0x477d('0x13b9')]||_0x263d4b[_0x477d('0x380')][_0x477d('0x13d1')]||_0x263d4b[_0x477d('0x380')]['faxPause'];var _0x4f8786=![];if(_0x27ce4d['type']===_0x477d('0x1364')){_0x4f8786=_0x27ce4d[_0x477d('0x1364')][_0x477d('0x15a4')][_0x477d('0x15a0')];}return _0x18539b['show'](_0x1196be)[_0x477d('0x76')](function(){if(_0x27ce4d[_0x477d('0x439')]===_0x477d('0x1364')){_0x18539b[_0x477d('0x395')]({'controller':_0x477d('0x15a5'),'controllerAs':'vm','templateUrl':_0x477d('0x15a6'),'parent':angular[_0x477d('0x398')](_0x2e7aff[_0x477d('0x399')]),'onRemoving':function(_0x1dcf13,_0x51f3cb){if(_0x263d4b[_0x477d('0x380')]&&_0x4f8786&&!_0x10492c){_0x36d012[_0x477d('0x380')][_0x477d('0x15a7')]({'id':_0x263d4b['user']['id']})[_0x477d('0x38b')]['catch'](function(_0xf6d4d8){console[_0x477d('0x44a')](_0xf6d4d8);});}},'clickOutsideToClose':!_0x4f8786,'escapeToClose':!_0x4f8786,'locals':{'user':_0x263d4b[_0x477d('0x380')],'channel':_0x27ce4d[_0x477d('0x1599')],'interaction':_0x27ce4d[_0x477d('0x1364')]}});}_0x22c04a(_0x27ce4d);})[_0x477d('0xf8')](function(){if(_0x27ce4d[_0x477d('0x439')]==='interaction'){_0x22c04a(_0x27ce4d);}});}}function _0x12631e(_0x5c39c5){if(_0x5c39c5['channel']&&_0x5c39c5[_0x477d('0x1364')]){return _0x36d012[_0x477d('0x380')][_0x477d('0x39c')+_[_0x477d('0x1367')](_0x5c39c5[_0x477d('0x1599')])+_0x477d('0x15a8')]({'id':_0x263d4b[_0x477d('0x380')]['id'],'ids':[_0x5c39c5[_0x477d('0x1364')]['id']]})[_0x477d('0x38b')][_0x477d('0xf8')](function(_0x1997e2){console[_0x477d('0x44a')](_0x1997e2);});}}function _0x22c04a(_0x160e1c){if(_0x263d4b['tabs'][_0x160e1c['id']]){_0x12631e(_0x263d4b[_0x477d('0x1580')][_0x160e1c['id']]);delete _0x263d4b[_0x477d('0x1580')][_0x160e1c['id']];_0x263d4b['currentTab']=0x0;_0x257585(_0x160e1c);if(_0x160e1c[_0x477d('0x439')]==='interaction'){return _0x36d012[_0x160e1c[_0x477d('0x1599')]+_0x477d('0x14bc')][_0x477d('0x376')]({'id':_0x160e1c[_0x477d('0x1364')]['id']})['$promise'][_0x477d('0x76')](function(_0x43fa4d){return _0x36d012[_0x477d('0x380')][_0x477d('0x39c')+_['upperFirst'](_0x160e1c[_0x477d('0x1599')])+_0x477d('0x15a8')]({'id':_0x263d4b[_0x477d('0x380')]['id'],'ids':[_0x43fa4d['id']]})[_0x477d('0x38b')];})[_0x477d('0xf8')](function(_0x3f6b){console[_0x477d('0x44a')](_0x3f6b);});}}}function _0x55a9d4(_0x5a2fc3){_0x5a2fc3['id']=_['random'](0x2540be400);_0x5a2fc3[_0x477d('0x15a9')]=new Date();_0x5a2fc3['saved']=![];_0x5a2fc3[_0x477d('0x1596')]=0x0;_0x263d4b[_0x477d('0x1580')][_0x5a2fc3['id']]=_0x5a2fc3;_0x263d4b[_0x477d('0x1594')]=_0x5a2fc3['id'];_0x257585(_0x5a2fc3);}function _0x260531(_0xae6d34){return _0xae6d34===_0x263d4b['currentTab'];}function _0x265052(_0x23b4a1){_0x263d4b[_0x477d('0x1594')]=_0x23b4a1;_0x257585(_0x263d4b['tabs'][_0x23b4a1]);}function _0xb245a5(_0x4d4436){return _[_0x477d('0x10a')](_0x263d4b['tabs'],function(_0x2454f9){return _0x2454f9['type']==='interaction'&&_0x2454f9[_0x477d('0x1364')]&&_0x2454f9[_0x477d('0x1364')]['id']==_0x4d4436['interactionId']&&_0x2454f9[_0x477d('0x1599')]==_0x4d4436['channel'];});}function _0x37a99a(_0xdd2c56){var _0x4333ee='';if(_0xdd2c56){if(_0xdd2c56[_0x477d('0x1357')]||_0xdd2c56[_0x477d('0x1358')]){_0xdd2c56['firstName']&&(_0x4333ee+=_0xdd2c56['firstName']+'\x20');_0xdd2c56[_0x477d('0x1358')]&&(_0x4333ee+=_0xdd2c56[_0x477d('0x1358')]);}else if(_0xdd2c56[_0x477d('0xf46')]){_0x4333ee=_0xdd2c56[_0x477d('0xf46')];}}return _0x4333ee;}function _0x2c869b(_0x3e63ee){switch(_0x3e63ee){case _0x477d('0xb6'):return _0x477d('0x15aa');case'mail':return _0x477d('0x15ab');case _0x477d('0x26e'):return _0x477d('0x15ac');case _0x477d('0x22a'):return _0x477d('0x15ad');case _0x477d('0x154'):return'icon-deskphone';case _0x477d('0x35d'):return _0x477d('0x15ae');default:return _0x477d('0x15aa');}}function _0x8f29c5(_0x37fba4){switch(_0x37fba4){case'chat':return _0x477d('0x14b1');case _0x477d('0x1d6'):return'teal';case _0x477d('0x26e'):return _0x477d('0x14b2');case _0x477d('0x22a'):return _0x477d('0x14b3');case'fax':return _0x477d('0x14b4');case'whatsapp':return _0x477d('0x14b5');default:return _0x477d('0x9ec');}}function _0x10ba6a(_0x1de6a7,_0x42db04){var _0x459175={'type':_0x477d('0x100'),'title':_0x1de6a7?_0x37a99a(_0x1de6a7):_0x81b323[_0x477d('0x45f')](_0x477d('0x15af')),'icon':_0x477d('0x15b0'),'color':'red','contact':_0x1de6a7,'userLists':_0xbfa8f,'lists':_0x21034c,'companies':_0x42798f,'tags':_0x579522,'calls':_0x42db04?[_0x42db04]:[],'autoCreate':_0x42db04?_0x42db04[_0x477d('0x15b1')]:0x0};if(_0x42db04){if(_0x42db04[_0x477d('0x15b2')]&&_0x42db04['xmd-cdrtype']==='dialer'){_0x42db04[_0x477d('0x15b3')]=_0x42db04[_0x477d('0x15b4')]?moment(_0x42db04[_0x477d('0x15b4')],'YYYY-MM-DD\x20HH:mm:ss')['toDate']():new Date();}else if(_0x42db04[_0x477d('0x648')]){var _0x480c26=_0x42db04['uniqueid'][_0x477d('0x472')]('.')[0x0];_0x42db04[_0x477d('0x15b3')]=_0x480c26?new Date(parseInt(_0x480c26)*0x3e8):new Date();}if(_0x42db04[_0x477d('0x15b5')]||_0x42db04[_0x477d('0x15b6')]){_0x15e852(_0x42db04);}}if(_0x1de6a7){var _0x1eb998=_[_0x477d('0x10a')](_0x263d4b[_0x477d('0x1580')],function(_0x53d626){if(_0x53d626[_0x477d('0x100')]&&_0x53d626['contact']['id']){return _0x53d626[_0x477d('0x439')]===_0x477d('0x100')&&_0x53d626[_0x477d('0x100')]&&_0x53d626[_0x477d('0x100')]['id']==_0x1de6a7['id'];}return _0x53d626[_0x477d('0x439')]===_0x477d('0x100')&&_0x53d626[_0x477d('0x100')]&&_0x53d626[_0x477d('0x100')][_0x477d('0xf46')]==_0x1de6a7[_0x477d('0xf46')];});if(_0x1eb998){if(_0x42db04){return _0x36d012[_0x477d('0xa95')][_0x477d('0x376')]({'uniqueid':_0x42db04['uniqueid']})['$promise']['then'](function(_0x20994a){if(_0x20994a&&_0x20994a['rows'][_0x477d('0x79')]>0x0){_0x42db04[_0x477d('0x15b7')]=_[_0x477d('0xf72')](_0x20994a[_0x477d('0xf2')])[_0x477d('0x15b6')];}if(_0x1eb998[_0x477d('0x5b6')]){var _0x3fb87b=_['find'](_0x1eb998[_0x477d('0x5b6')],function(_0x4113ea){return _0x4113ea['uniqueid']===_0x42db04[_0x477d('0x648')];});if(!_0x3fb87b){_0x1eb998[_0x477d('0x5b6')][_0x477d('0x3a7')](_0x42db04);}}else{_0x1eb998[_0x477d('0x5b6')]=[_0x42db04];}_0x263d4b[_0x477d('0x1594')]=_0x1eb998['id'];});}}else if(_0x1de6a7[_0x477d('0x1229')]){return _0x36d012[_0x477d('0xb95')][_0x477d('0x376')]({'ListId':_0x1de6a7[_0x477d('0x1229')]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x546651){_0x459175[_0x477d('0x15b8')]=_0x546651;return _0x36d012[_0x477d('0xe3f')][_0x477d('0x132c')]({'id':_0x1de6a7[_0x477d('0x1229')]})['$promise'];})[_0x477d('0x76')](function(_0x837e18){_0x459175[_0x477d('0x132d')]=_0x837e18;})[_0x477d('0xf8')](_0x460360())[_0x477d('0x5ff')](function(){_0x55a9d4(_0x459175);});}else{_0x55a9d4(_0x459175);}}else{_0x55a9d4(_0x459175);}}function _0x414211(_0x323a68,_0x5d154d){var _0x19ed4e=_[_0x477d('0x10a')](_0x263d4b[_0x477d('0x1580')],function(_0x3d37f5){return _0x3d37f5['type']===_0x477d('0x1364')&&_0x3d37f5[_0x477d('0x1364')]&&_0x3d37f5[_0x477d('0x1364')]['id']===_0x5d154d['id']&&_0x3d37f5[_0x477d('0x1599')]===_0x323a68;});if(_0x19ed4e){_0x19ed4e[_0x477d('0x15b9')]=_0x5d154d[_0x477d('0x15b9')]||![];_0x263d4b['currentTab']=_0x19ed4e['id'];}else{_0x19ed4e={'type':'interaction','title':_0x323a68?_0x323a68[_0x477d('0x44f')]():_0x477d('0x22a'),'icon':_0x2c869b(_0x323a68),'color':_0x8f29c5(_0x323a68),'channel':_0x323a68,'interaction':_0x5d154d,'isDraft':_0x5d154d[_0x477d('0x15b9')]||![]};_0x55a9d4(_0x19ed4e);}}function _0x1a94ed(_0x3b221f){if(_0x3b221f&&_0x3b221f[_0x477d('0xf5a')]){_0x3b221f[_0x477d('0xf5a')]=_[_0x477d('0x409')](_0x3b221f[_0x477d('0xf5a')],_0x477d('0x15ba'),'');_0x3b221f['uri']=_[_0x477d('0x409')](_0x3b221f[_0x477d('0xf5a')],_0x477d('0x15bb'),'');if(_0x3b221f['uriLocation']){switch(_0x3b221f[_0x477d('0x15bc')]){case'0':_0x567324['open'](_0x3b221f[_0x477d('0xf5a')]);break;case'1':_0x567324[_0x477d('0x1192')](_0x3b221f[_0x477d('0xf5a')],_0x477d('0x1182'),_0x477d('0x15bd')+(_0x3b221f[_0x477d('0x15be')]||_0x477d('0x9ef'))+_0x477d('0x15bf')+_0x3b221f['windowHeight']||_0x477d('0x9e8'));break;case'2':var _0x2ea5bc={'type':_0x477d('0x15c0'),'title':_0x3b221f[_0x477d('0xf5a')],'icon':_0x477d('0x15ad'),'color':_0x477d('0x9f0'),'src':_0x3b221f['uri']};_0x55a9d4(_0x2ea5bc);break;default:_0x567324[_0x477d('0x1192')](_0x3b221f[_0x477d('0xf5a')]);}}else{_0x567324[_0x477d('0x1192')](_0x3b221f['uri']);}}}function _0x4bd128(_0x169819){if(_0x169819&&_0x169819[_0x477d('0x3de')]){_0x55a9d4({'type':_0x477d('0x15c1'),'title':_0x169819[_0x477d('0x15c2')]||_0x477d('0x15c1'),'icon':'icon-tablet','color':'grey','html':_0x169819[_0x477d('0x3de')]});}}function _0x3af896(_0xa5fa81){var _0x5e224b={'autoClose':!![],'duration':0xa,'showOnPageHidden':!![],'icon':'../../../../../../../assets/images/avatars/customer.png','body':_0xa5fa81[_0x477d('0x1256')]?_0x477d('0x15c3')+_0xa5fa81[_0x477d('0x1256')]:'','focusOnclick':!![],'closeOnClick':!![]};_0x221901[_0x477d('0x395')](_0xa5fa81[_0x477d('0x49a')],_0x5e224b);}function _0x20019f(_0x8b1484){if(_0x221901[_0x477d('0x15c4')]()){_0x221901[_0x477d('0x953')]()['then'](function(){_0x3af896(_0x8b1484);},function(_0x48676e){console[_0x477d('0x44a')](_0x477d('0x15c5'),_0x48676e);});}else{console[_0x477d('0x44a')](_0x477d('0x15c6'));}}function _0xb7403f(_0x3413d6){if(_0x3413d6&&_0x3413d6[_0x477d('0x648')]){_0x20019f(_0x3413d6);var _0x423f99=_0x263d4b[_0x477d('0x15c7')](_0x3413d6);if(_0x423f99){if(_0x36d012[_0x3413d6[_0x477d('0x1599')]+'Message']){if(_0x263d4b['currentTab']!==_0x423f99['id']){_0x423f99[_0x477d('0x1596')]+=0x1;}return _0x36d012[_0x3413d6[_0x477d('0x1599')]+'Message'][_0x477d('0x944')]({'id':_0x3413d6['id'],'UserId':_0x263d4b['user']['id']})[_0x477d('0x38b')][_0x477d('0xf8')](_0x460360());}}else{_0x4a03fb['wait']({'title':_0x3413d6[_0x477d('0x49a')],'msg':_0x3413d6[_0x477d('0x15c8')]||'','showClose':![],'clickToClose':![],'timeout':![],'sound':_0x3413d6[_0x477d('0x15c9')],'html':!![],'shake':_0x3413d6['shake']||![],'onAdd':function(){_0x263d4b['notifications'][_0x3413d6[_0x477d('0x648')]]=this['id'];},'onAccept':function(){_0x59568a(_0x3413d6);if(_0x36d012[_0x3413d6['channel']+_0x477d('0x15ca')]){return _0x36d012[_0x3413d6[_0x477d('0x1599')]+_0x477d('0x15ca')][_0x477d('0x944')]({'id':_0x3413d6['id'],'UserId':_0x263d4b[_0x477d('0x380')]['id'],'manual':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0xb07bad){_0x414211(_0xb07bad['channel'],_0xb07bad['interaction']);_0x4a03fb[_0x477d('0x485')]({'title':_0x477d('0x15cb'),'msg':'Message\x20has\x20been\x20accepted!'});})['catch'](_0x460360());}},'onReject':function(){_0x59568a(_0x3413d6);if(_0x36d012[_0x3413d6[_0x477d('0x1599')]+_0x477d('0x15ca')]){return _0x36d012[_0x3413d6[_0x477d('0x1599')]+_0x477d('0x15ca')][_0x477d('0x691')]({'id':_0x3413d6['id'],'UserId':_0x263d4b[_0x477d('0x380')]['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x5cc419){_0x4a03fb[_0x477d('0x485')]({'title':'Message\x20properly\x20rejected!','msg':_0x477d('0x15cc')});})[_0x477d('0xf8')](_0x460360());}}});}}}function _0x59568a(_0xaf9331){if(_0xaf9331&&_0xaf9331['uniqueid']){if(_0x263d4b[_0x477d('0x15cd')][_0xaf9331[_0x477d('0x648')]]){_0x4a03fb[_0x477d('0x7aa')](_0x263d4b[_0x477d('0x15cd')][_0xaf9331[_0x477d('0x648')]]);delete _0x263d4b[_0x477d('0x15cd')][_0xaf9331[_0x477d('0x648')]];}}}function _0xac584a(_0x74aace){var _0x2835a6={'ListId':_0x74aace[_0x477d('0x1229')],'limit':0x1,'offset':0x0,'sort':_0x477d('0x59')},_0x370fb8=![];var _0x1ab056=_0x74aace['calleridname']&&_0x74aace[_0x477d('0x15ce')]!==_0x477d('0x15cf')?_0x74aace[_0x477d('0x15ce')]:_0x74aace[_0x477d('0x15c2')]||_0x74aace[_0x477d('0x648')];var _0x4162e0=_0x74aace['calleridnum'];if(!_[_0x477d('0x484')](_0x74aace[_0x477d('0x15d0')])){_0x2835a6['id']=_0x74aace['xmd-contactid'];_0x370fb8=!![];if(!_['isNil'](_0x74aace['xmd-listid'])&&parseInt(_0x74aace[_0x477d('0x15d1')],0xa)!==_0x74aace['ListId']){if(_0x74aace[_0x477d('0x15d2')]){_0x2835a6['id']=_0x74aace[_0x477d('0x15d2')];}}}else if(!_[_0x477d('0x484')](_0x74aace['routeId'])){_0x2835a6['phone']=_0x74aace[_0x477d('0x15d3')];_0x1ab056=_0x74aace[_0x477d('0x15d4')]&&_0x74aace[_0x477d('0x15d4')]!==_0x477d('0x15cf')?_0x74aace[_0x477d('0x15d4')]:_0x74aace[_0x477d('0x15d3')]||_0x74aace['uniqueid'];_0x4162e0=_0x74aace['destcalleridnum'];}else{_0x2835a6[_0x477d('0xf46')]=_0x74aace[_0x477d('0x15c2')];}return _0x36d012[_0x477d('0xb6c')][_0x477d('0x376')](_0x2835a6)[_0x477d('0x38b')][_0x477d('0x76')](function(_0x2b505f){if(_0x370fb8){if(_0x2b505f){_0x263d4b[_0x477d('0x15d5')](_0x2b505f,_0x74aace);}}else if(_0x2b505f[_0x477d('0x3bb')]&&_0x2b505f[_0x477d('0xf2')][0x0]){_0x263d4b['addContactTab'](_0x2b505f[_0x477d('0xf2')][0x0],_0x74aace);}else{_0x263d4b[_0x477d('0x15d5')]({'firstName':_0x1ab056,'ListId':_0x74aace[_0x477d('0x1229')],'phone':_0x4162e0},_0x74aace);}})[_0x477d('0xf8')](_0x460360());}function _0x544d97(_0x22aed4){return _0x36d012[_0x477d('0xc88')][_0x477d('0x376')]({'id':_0x22aed4[_0x477d('0x15d6')]})[_0x477d('0x38b')]['then'](function(_0x3b1865){if(_0x3b1865){if(_[_0x477d('0x3d3')](_0x22aed4[_0x477d('0x15d0')])){try{_0x3b1865[_0x477d('0x15d7')]=Mustache['render'](_0x3b1865['formData'],_['merge'](_0x22aed4,{'user':_0x263d4b['user']}));}catch(_0x2bc15f){console[_0x477d('0x44a')](_0x2bc15f);}_0x55a9d4({'type':'jscripty','title':_0x3b1865[_0x477d('0x94')],'icon':_0x477d('0x15d8'),'color':'grey','project':_0x3b1865,'call':_0x22aed4});}else{return _0x36d012[_0x477d('0xb6c')][_0x477d('0x376')]({'id':_0x22aed4[_0x477d('0x15d0')]})['$promise'][_0x477d('0x76')](function(_0x2695fb){try{_0x3b1865[_0x477d('0x15d7')]=Mustache[_0x477d('0x15d9')](_0x3b1865['formData'],_[_0x477d('0xef')](_0x22aed4,{'user':_0x263d4b[_0x477d('0x380')],'contact':_0x2695fb}));}catch(_0x5975fd){console[_0x477d('0x44a')](_0x5975fd);}_0x55a9d4({'type':_0x477d('0x1cb'),'title':_0x3b1865[_0x477d('0x94')],'icon':_0x477d('0x15d8'),'color':_0x477d('0x9ec'),'project':_0x3b1865,'call':_0x22aed4,'contact':_0x2695fb});})[_0x477d('0xf8')](_0x460360());}}})[_0x477d('0xf8')](_0x460360());}function _0x150c75(_0x5e63d9){var _0x54087b=_0x5e63d9[_0x477d('0x15ce')]&&_0x5e63d9[_0x477d('0x15ce')]!==_0x477d('0x15cf')?_0x5e63d9[_0x477d('0x15ce')]:_0x5e63d9[_0x477d('0x15c2')];var _0x34cec5=_0x5e63d9[_0x477d('0x15c2')];return _0x36d012[_0x477d('0xca1')][_0x477d('0x376')]({'fields':'id','limit':0x1,'offset':0x0,'uniqueid':_0x5e63d9[_0x477d('0x648')]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x584268){if(_0x584268[_0x477d('0x3bb')]){_0x55a9d4({'type':_0x477d('0x15da'),'title':_0x54087b+'\x20<'+_0x34cec5+'>','icon':_0x477d('0x15db'),'color':_0x477d('0x15dc'),'data':{'uniqueid':_0x5e63d9['uniqueid']}});}});}function _0x3ad2ae(_0x15328e){console[_0x477d('0x618')](_0x477d('0x15dd'),_0x15328e);for(var _0x170e2e in _0x263d4b[_0x477d('0x1580')]){if(_0x263d4b[_0x477d('0x1580')][_0x477d('0x3ea')](_0x170e2e)){var _0x3abc4f=_0x263d4b['tabs'][_0x170e2e];if(_0x3abc4f[_0x477d('0x5b6')]){console[_0x477d('0x618')]('onVoiceChannelRemove\x20->\x20\x20key,\x20tab,\x20tab.calls',_0x170e2e,_0x3abc4f,_0x3abc4f[_0x477d('0x5b6')]);var _0x2cddf6=_['findIndex'](_0x3abc4f[_0x477d('0x5b6')],function(_0x3744a0){return _0x3744a0[_0x477d('0x648')]===_0x15328e[_0x477d('0x648')];});if(_0x2cddf6>=0x0&&!_0x3abc4f[_0x477d('0x5b6')][_0x2cddf6][_0x477d('0x15b7')]){console['debug']('Allowing\x20disposition\x20for\x20call\x20%s',_0x15328e['uniqueid']);_0x15e852(_0x3abc4f[_0x477d('0x5b6')][_0x2cddf6]);}else{console['debug'](_0x477d('0x15de'),_0x15328e['uniqueid']);}if(_0x263d4b[_0x477d('0x100')]&&_0x263d4b[_0x477d('0x100')]['id']){$timeout(_0x457405(_0x15328e['uniqueid'],_0x263d4b[_0x477d('0x100')]['id'],_0x3abc4f),0x3e8);}}}}_0x257585();}function _0x457405(_0x35a7e7,_0x278559,_0x35a5bc){return function(){var _0xddf81e=_[_0x477d('0x10a')](_0x35a5bc[_0x477d('0x5b6')],function(_0x3a9ea9){return _0x3a9ea9['uniqueid']===_0x35a7e7;});if(_0xddf81e){return _0x36d012[_0x477d('0xa95')]['update']({'id':_0x35a7e7,'ContactId':_0x278559})['$promise'][_0x477d('0xf8')](function(_0x43e61a){console[_0x477d('0x44a')](_0x43e61a);});}};}function _0x15e852(_0x2abdec){_0x2abdec[_0x477d('0x15b7')]=new Date();}function _0x460360(){return function(_0x55becb){if(_0x55becb[_0x477d('0x3c3')]===0x194){_0x4a03fb[_0x477d('0x5fd')]({'title':_0x81b323[_0x477d('0x45f')](_0x477d('0x15df')),'msg':_0x81b323[_0x477d('0x45f')](_0x477d('0x15e0'))});}else if(_0x55becb[_0x477d('0x451')]&&_0x55becb['data']['errors']&&_0x55becb[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x263d4b[_0x477d('0xd67')]=_0x55becb[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x55becb[_0x477d('0x453')](),'type':_0x477d('0x15e1')}];for(var _0x323c59=0x0;_0x323c59<_0x55becb['data'][_0x477d('0xd67')][_0x477d('0x79')];_0x323c59+=0x1){_0x4a03fb[_0x477d('0x44a')]({'title':_0x55becb[_0x477d('0x451')][_0x477d('0xd67')][_0x323c59][_0x477d('0x439')],'msg':_0x55becb[_0x477d('0x451')][_0x477d('0xd67')][_0x323c59][_0x477d('0x452')]});}}else{_0x4a03fb[_0x477d('0x44a')]({'title':_0x55becb[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x55becb[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x55becb[_0x477d('0x44d')]:_0x477d('0x15e1'),'msg':_0x55becb[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x55becb[_0x477d('0x451')]['message']):_0x55becb[_0x477d('0x453')]()});}};}_0x2155b8[_0x477d('0x4ec')](_0x477d('0x505'),function(){for(var _0xd13529 in _0x263d4b['notifications']){if(_0x263d4b['notifications'][_0x477d('0x3ea')](_0xd13529)){_0x59568a({'uniqueid':_0xd13529});}}_0x37bdeb['removeAllListeners'](_0x477d('0x158b'));_0x37bdeb[_0x477d('0x6b8')](_0x477d('0x158c'));_0x37bdeb[_0x477d('0x6b8')]('trigger:browser:url');_0x37bdeb[_0x477d('0x6b8')](_0x477d('0x158f'));_0x37bdeb[_0x477d('0x6b8')]('notification:save');_0x37bdeb[_0x477d('0x6b8')](_0x477d('0x1591'));_0x37bdeb[_0x477d('0x6b8')](_0x477d('0x1592'));_0x37bdeb[_0x477d('0x6b8')](_0x477d('0x1593'));});}function _0x48c930(_0x9388ab,_0x754bbb,_0x14a32c,_0x129813){var _0x3d0444={};var _0x2f3636={};var _0x37088d={};var _0x145c90={};_0x3d0444[_0x477d('0x5ee')]=function(){_0x3d0444['drafts']=_0x386263();};_0x3d0444['getByInteraction']=function(_0x552e5e){_0x3d0444[_0x477d('0x15e2')]=_0x386263();return _['find'](_[_0x477d('0x445')](_0x3d0444[_0x477d('0x15e2')]),function(_0x1432c7){return _0x1432c7[_0x477d('0x1364')]&&_0x1432c7[_0x477d('0x1364')]['id']===_0x552e5e;});};_0x3d0444['removeByInteraction']=function(_0x5aa5a5){_0x3d0444[_0x477d('0x15e2')]=_0x386263();var _0x1e374d=_[_0x477d('0x10a')](_[_0x477d('0x445')](_0x3d0444[_0x477d('0x15e2')]),function(_0xe8531d){return _0xe8531d[_0x477d('0x1364')]&&_0xe8531d[_0x477d('0x1364')]['id']===_0x5aa5a5;});if(_0x1e374d){delete _0x3d0444[_0x477d('0x15e2')][_0x1e374d['id']];_0x5c5ccd();}};_0x3d0444[_0x477d('0x440')]=function(_0x3887a4){_0x3d0444['drafts']=_0x386263();var _0x23a9c4=_0x754bbb[_0x477d('0x45f')](_0x477d('0x15e3'));if(_0x3887a4[_0x477d('0x100')]){_0x23a9c4=_0x3887a4[_0x477d('0x100')][_0x477d('0x1357')]||_0x3887a4['contact']['email'];}else if(!_[_0x477d('0x3b2')](_0x3887a4[_0x477d('0x452')][_0x477d('0x135c')])){_0x23a9c4=_0x3887a4[_0x477d('0x452')]['subject'];}var _0xcc746b={'type':_0x477d('0x15e4'),'title':_0x3887a4['account'][_0x477d('0x670')]+_0x477d('0x44c')+_0x23a9c4,'channel':_0x3887a4[_0x477d('0x1599')],'content':_0x3887a4[_0x477d('0x452')],'account':_0x3887a4[_0x477d('0x15e5')],'interaction':_0x3887a4[_0x477d('0x1364')],'id':_[_0x477d('0x6c5')](0x2540be400),'openedAt':new Date(),'saved':![]};_0x3d0444[_0x477d('0x15e2')][_0xcc746b['id']]=_0xcc746b;_0x5c5ccd();};_0x3d0444[_0x477d('0x710')]=function(_0x590e90){_0x3d0444['drafts']=_0x386263();var _0x437631=_0x3d0444[_0x477d('0x15e2')][_0x590e90['id']];if(_0x437631){_0x437631[_0x477d('0xdaf')]=_0x590e90[_0x477d('0x452')];_0x3d0444['drafts'][_0x590e90['id']]=_0x437631;_0x5c5ccd();}};_0x3d0444[_0x477d('0x1192')]=function(_0xd39f07){_0x3d0444['drafts']=_0x386263();var _0x157158=_0x3d0444[_0x477d('0x15e2')][_0xd39f07];if(_0x157158){_0x9388ab[_0x477d('0x480')]('open'+_[_0x477d('0xd91')](_0x37088d)+_0x477d('0x15e6'),_0x157158);}};_0x3d0444[_0x477d('0x39c')]=function(_0x1f0879){_0x3d0444[_0x477d('0x15e2')]=_0x386263();if(_0x3d0444[_0x477d('0x15e2')][_0x1f0879]){delete _0x3d0444[_0x477d('0x15e2')][_0x1f0879];_0x5c5ccd();}};function _0x386263(){_0x2f3636=_0x129813['getCurrentUser']();var _0x58010d=_0x14a32c[_0x477d('0x39d')][_0x477d('0x3f8')](_0x477d('0x15e7')+_0x2f3636['id']);if(_0x58010d){_0x37088d=JSON[_0x477d('0x77')](_0x58010d)[_0x477d('0x15e8')];}else{_0x37088d=_0x477d('0xad2');}_0x145c90=_0x14a32c['localStorage'][_0x477d('0x3f8')](_0x477d('0x15e9')+_0x37088d+':'+_0x2f3636['id']);if(_0x145c90){var _0x5b2504=JSON[_0x477d('0x77')](_0x145c90);if(!_0x5b2504[_0x477d('0x15e2')]){_0x5b2504[_0x477d('0x15e2')]={};}_0x145c90=_0x5b2504;}else{_0x145c90={'drafts':{}};}return _0x145c90[_0x477d('0x15e2')];}function _0x5c5ccd(){if(_[_0x477d('0x3b2')](_0x3d0444[_0x477d('0x15e2')])){delete _0x145c90[_0x477d('0x15e2')];}else{_0x145c90[_0x477d('0x15e2')]=_0x3d0444['drafts'];}_0x14a32c[_0x477d('0x39d')][_0x477d('0x3fa')](_0x477d('0x15e9')+_0x37088d+':'+_0x2f3636['id'],JSON[_0x477d('0x3fb')](_0x145c90));}return _0x3d0444;}}());(function(){'use strict';angular[_0x477d('0xb')](_0x477d('0x2c'))[_0x477d('0x48b')]('desktopNotification',_0xf12560)[_0x477d('0x48b')](_0x477d('0x15ea'),_0x544b60)[_0x477d('0x9e3')](_0x477d('0x15eb'),{'DEFAULT':_0x477d('0x5e3'),'GRANTED':'granted','DENIED':_0x477d('0x15ec')});function _0xf12560(){var _0x26598d={'autoClose':!![],'duration':0x5,'showOnPageHidden':![]};return{'config':_0xf152ca,'$get':['$q',_0x477d('0x3fe'),'$window',_0x477d('0x15eb'),_0x40e972]};function _0xf152ca(_0x1f9412){for(var _0x376f75 in _0x1f9412){if(_0x26598d[_0x477d('0x3ea')](_0x376f75)&&_0x1f9412[_0x376f75]!=undefined){_0x26598d[_0x376f75]=_0x1f9412[_0x376f75];}}}function _0x40e972(_0x32b613,_0x566c12,_0x17ff53,_0x235ad6){var _0x2a34ed=_0x17ff53['Notification']||_0x17ff53[_0x477d('0x15ed')]||_0x17ff53[_0x477d('0x15ee')];var _0xa4ac05={'isSupported':_0x1e36d2,'currentPermission':_0x2424ae,'requestPermission':_0x164dac,'show':_0x548e6f,'permissions':{'default':_0x235ad6[_0x477d('0x15ef')],'granted':_0x235ad6[_0x477d('0x15f0')],'denied':_0x235ad6[_0x477d('0x15f1')]}};return _0xa4ac05;function _0x1e36d2(){return!(typeof _0x2a34ed===_0x477d('0x4a4'));}function _0x2424ae(){return(_0x2a34ed||{})[_0x477d('0x15f2')];}function _0x164dac(){if(!_0x1e36d2())return _0x32b613[_0x477d('0x691')](_0x477d('0x15f3'));var _0x3a980d=_0x32b613[_0x477d('0x54a')]();if(Promise['resolve'](_0x2a34ed[_0x477d('0x953')])==_0x2a34ed[_0x477d('0x953')]){_0x2a34ed['requestPermission']()['then'](function(_0x472430){if(_0x235ad6[_0x477d('0x15f0')]===_0x472430){_0x3a980d[_0x477d('0x5a')](_0x472430);}else{_0x3a980d[_0x477d('0x691')](_0x472430);}});}else{_0x2a34ed['requestPermission'](function(_0x9795bc,_0x52dd3e){if(_0x235ad6[_0x477d('0x15f0')]===_0x9795bc){_0x3a980d[_0x477d('0x5a')](_0x9795bc);}else{_0x3a980d[_0x477d('0x691')](_0x9795bc);}});}return _0x3a980d['promise'];}function _0x548e6f(_0x320951,_0x5a7c6f){_0x5a7c6f=_0x5a7c6f||{};if(!_0x1e36d2()||!_0x1c6380(_0x320951,_0x5a7c6f)||_0x247cef(_0x5a7c6f['showOnPageHidden'])||_0x2424ae()!==_0x235ad6[_0x477d('0x15f0')])return;var _0x33ffeb=new _0x2a34ed(_0x320951,_0x5a7c6f);var _0x10bd84=_0x5a7c6f[_0x477d('0x15f4')]||_0x26598d[_0x477d('0x15f4')];var _0x1332c6=_0x5a7c6f['autoClose']===undefined?_0x26598d['autoClose']:_0x5a7c6f['autoClose'];_0x33ffeb['onclick']=function(){_0x5a7c6f[_0x477d('0x15f5')]&&_0x5a7c6f['onClick']();if(_0x5a7c6f[_0x477d('0x15f6')]){window[_0x477d('0x401')]();}if(_0x5a7c6f[_0x477d('0x15f7')]){_0x33ffeb[_0x477d('0x539')]();}};if(_0x1332c6)_0x462476(_0x33ffeb,_0x10bd84);return _0x33ffeb;}function _0x1c6380(_0x550f15,_0x3a7a1e){var _0xc0983e=angular[_0x477d('0x561')](_0x550f15),_0x32e71f=!_0x3a7a1e['onClick']||angular['isFunction'](_0x3a7a1e[_0x477d('0x15f5')]);return _0xc0983e&&_0x32e71f;}function _0x247cef(_0x28fe2a){if(!_0x28fe2a&&!_0x26598d[_0x477d('0x15f8')])return;return!(window['document'][_0x477d('0x54d')]||window[_0x477d('0x945')][_0x477d('0x946')]||window[_0x477d('0x945')][_0x477d('0x947')]);}function _0x462476(_0x52e15c,_0xa958cd){var _0x564e97=_0xa958cd*0x3e8;_0x566c12(_0x52e15c['close']['bind'](_0x52e15c),_0x564e97,![]);}}}function _0x544b60(){var _0x4bc702=angular[_0x477d('0x375')](['ng'])[_0x477d('0x376')]('$log');var _0x50c49b=[];var _0x24d807=this;_0x24d807[_0x477d('0x15f9')]=_0xa4d63b;_0x24d807[_0x477d('0x55f')]=_0x38ab87;function _0xa4d63b(_0x422d44,_0x5c0444){if(!angular[_0x477d('0x561')](_0x422d44)){_0x4bc702[_0x477d('0x44a')]('path\x20must\x20be\x20a\x20string\x20(eg.\x20`dashboard.project`)');return;}var _0x4341d5=_0x422d44[_0x477d('0x472')]('.');var _0x2e82d6=_0x4341d5[_0x4341d5[_0x477d('0x79')]-0x1];var _0x410790=_0x44f2b2(_0x4341d5);var _0x3f1ad8=![];for(var _0x434daf=0x0;_0x434daf<_0x410790['length'];_0x434daf++){if(_0x410790[_0x434daf][_0x477d('0x563')]===_0x2e82d6){_0x3f1ad8=_0x410790[_0x434daf];break;}}if(_0x3f1ad8){angular['extend'](_0x3f1ad8,_0x5c0444);_0x3f1ad8[_0x477d('0x564')]=_0x555abe(_0x3f1ad8);}else{_0x5c0444[_0x477d('0x53f')]=[];if(angular['isUndefined'](_0x5c0444[_0x477d('0x565')])||!angular[_0x477d('0x566')](_0x5c0444[_0x477d('0x565')])){_0x5c0444[_0x477d('0x565')]=0x1;}_0x5c0444[_0x477d('0x563')]=_0x2e82d6;_0x5c0444[_0x477d('0x567')]=_0x422d44;_0x5c0444[_0x477d('0x564')]=_0x555abe(_0x5c0444);_0x410790[_0x477d('0x3a7')](_0x5c0444);}}function _0x38ab87(_0x3485f9){if(!angular['isString'](_0x3485f9)){_0x4bc702[_0x477d('0x44a')](_0x477d('0x562'));return;}var _0x57bb6e=_0x50c49b,_0x1b7795=_0x3485f9[_0x477d('0x472')]('.');for(var _0x3ca3d5=0x0;_0x3ca3d5<_0x1b7795['length'];_0x3ca3d5++){var _0x1019ed=_0x1b7795[_0x3ca3d5];for(var _0x23cd1b=0x0;_0x23cd1b<_0x57bb6e[_0x477d('0x79')];_0x23cd1b++){if(_0x57bb6e[_0x23cd1b][_0x477d('0x563')]===_0x1019ed){if(_0x57bb6e[_0x23cd1b][_0x477d('0x567')]===_0x3485f9){_0x57bb6e[_0x477d('0x45b')](_0x23cd1b,0x1);return!![];}_0x57bb6e=_0x57bb6e[_0x23cd1b][_0x477d('0x53f')];break;}}}return![];}function _0x44f2b2(_0xf46afc){var _0x2443c6=_0x50c49b;if(_0xf46afc[_0x477d('0x79')]===0x1){return _0x2443c6;}_0xf46afc[_0x477d('0x569')]();for(var _0x50db85=0x0;_0x50db85<_0xf46afc[_0x477d('0x79')];_0x50db85++){var _0x47fc6b=_0xf46afc[_0x50db85],_0x131133=!![];for(var _0x22e73a=0x0;_0x22e73a<_0x2443c6[_0x477d('0x79')];_0x22e73a++){if(_0x2443c6[_0x22e73a][_0x477d('0x563')]===_0x47fc6b){_0x2443c6=_0x2443c6[_0x22e73a]['children'];_0x131133=![];break;}}if(_0x131133){var _0xf7bce0={'_id':_0x47fc6b,'_path':_0xf46afc[_0x477d('0x3f6')]('.'),'title':_0x47fc6b,'weight':0x1,'children':[]};_0x2443c6[_0x477d('0x3a7')](_0xf7bce0);_0x2443c6=_0xf7bce0[_0x477d('0x53f')];}}return _0x2443c6;}function _0x555abe(_0x149249){var _0x466958='';if(angular[_0x477d('0x4d7')](_0x149249['state'])){_0x466958=_0x149249[_0x477d('0xe')];if(angular[_0x477d('0x4d7')](_0x149249['stateParams'])&&angular[_0x477d('0x56b')](_0x149249['stateParams'])){_0x466958=_0x466958+'('+angular[_0x477d('0x56c')](_0x149249[_0x477d('0x56a')])+')';}}return _0x466958;}this[_0x477d('0x3d2')]=function(){var _0x3cc3cd={'saveItem':_0xa4d63b,'getNavigation':_0x488faf};return _0x3cc3cd;function _0x488faf(_0xf2da9d){if(_0xf2da9d){for(var _0x2a6bce=0x0;_0x2a6bce<_0x50c49b['length'];_0x2a6bce++){if(_0x50c49b[_0x2a6bce][_0x477d('0x563')]===_0xf2da9d){return[_0x50c49b[_0x2a6bce]];}}return null;}return _0x50c49b;}};}}());(function(){'use strict';_0x35e3b2[_0x477d('0xa')]=[_0x477d('0x386')];angular[_0x477d('0xb')]('app.dashboards')[_0x477d('0x3ba')](_0x477d('0x15fa'),_0x35e3b2);function _0x35e3b2(_0x508582){var _0x1b1a7f=this;_0x1b1a7f[_0x477d('0xc8e')]={};_0x1b1a7f[_0x477d('0x15fb')]={'count':0x0,'rows':[]};_0x1b1a7f[_0x477d('0x15fc')]=![];_0x1b1a7f[_0x477d('0x5ee')]=_0x59a616;_0x1b1a7f[_0x477d('0x15fd')]=_0x17691a;function _0x59a616(_0x21bbef,_0x1a2dc3){_0x1b1a7f['setting']=_0x1a2dc3;_0x1b1a7f[_0x477d('0xe96')]=_0x21bbef;_0x1b1a7f[_0x477d('0xe96')][_0x477d('0x11a6')]=!![];if(_0x1b1a7f[_0x477d('0xe96')]&&_0x1b1a7f[_0x477d('0xe96')][_0x477d('0x451')]&&_0x1b1a7f['tab'][_0x477d('0x451')][_0x477d('0x648')]){return _0x508582[_0x477d('0xca1')][_0x477d('0x376')]({'uniqueid':_0x1b1a7f[_0x477d('0xe96')][_0x477d('0x451')][_0x477d('0x648')]})[_0x477d('0x38b')]['then'](function(_0x1fb606){_0x1b1a7f[_0x477d('0x15fb')]=_0x1fb606;})[_0x477d('0x5ff')](function(){_0x1b1a7f[_0x477d('0x15fc')]=!![];});}else{_0x1b1a7f['showInteraction']=!![];}}function _0x17691a(_0x3f72f0){switch(_0x1b1a7f[_0x477d('0xc8e')][_0x477d('0x15fe')]){case'left':if(_0x3f72f0[_0x477d('0x603')]=='in'){return _0x3f72f0[_0x477d('0x603')];}return'out-left-aligned';case _0x477d('0x5ad'):if(_0x3f72f0[_0x477d('0x603')]=='in'){return _0x477d('0x15ff');}return _0x3f72f0[_0x477d('0x603')];default:return _0x3f72f0[_0x477d('0x603')];}}}}());(function(){'use strict';_0x8adf4f[_0x477d('0xa')]=['$mdDialog',_0x477d('0x475'),_0x477d('0x3fe'),_0x477d('0x474'),'$q',_0x477d('0x386'),_0x477d('0x40e'),_0x477d('0x55'),_0x477d('0x40d'),_0x477d('0x342')];angular[_0x477d('0xb')](_0x477d('0x2c'))[_0x477d('0x3ba')](_0x477d('0x1600'),_0x8adf4f);function _0x8adf4f(_0x3ea925,_0x472f46,_0x39fc14,_0xdff93a,_0x5e83df,_0x54e006,_0x39627e,_0x238f8d,_0x1fb884,_0xbd9bd1){var _0x12b0d0=this;_0x12b0d0[_0x477d('0x380')]=_0x238f8d[_0x477d('0x5c')]();_0x12b0d0['detectBrowser']=_0xbd9bd1[_0x477d('0x157f')]();_0x12b0d0['journey']=[];_0x12b0d0['queryHopper']={'fields':'id,phone,scheduledat','sort':'-updatedAt','limit':0xa,'page':0x1};_0x12b0d0[_0x477d('0x149e')]={'fields':_0x477d('0x1601'),'sort':_0x477d('0x59'),'limit':0xa,'page':0x1};_0x12b0d0[_0x477d('0x14a0')]={'fields':'uniqueid,calleridnum,statedesc,scheduledat,starttime,endtime','sort':_0x477d('0x59'),'limit':0xa,'page':0x1};_0x12b0d0['hoppers']={'rows':[],'count':0x0};_0x12b0d0['finals']={'rows':[],'count':0x0};_0x12b0d0[_0x477d('0x148f')]={'rows':[],'count':0x0};_0x12b0d0[_0x477d('0x1495')]=new Date(moment()[_0x477d('0x12d')]('month')[_0x477d('0x455')](0x1,_0x477d('0x6e9'))[_0x477d('0x12e')](0x0,!![])[_0x477d('0x12f')]());_0x12b0d0[_0x477d('0x1496')]=new Date(moment()[_0x477d('0x130')](_0x477d('0x6fd'))['subtract'](0x1,_0x477d('0x137'))[_0x477d('0x12e')](0x0,!![])[_0x477d('0x12f')]());_0x12b0d0['addNewContact']=_0x5299e0;_0x12b0d0[_0x477d('0x14a4')]=_0x2ce73f;_0x12b0d0[_0x477d('0x132c')]=_0x566d89;_0x12b0d0[_0x477d('0x482')]=_0xdff93a[_0x477d('0x723')]['vm'][_0x477d('0x482')];_0x12b0d0[_0x477d('0x1602')]=_0xcf112c;_0x12b0d0[_0x477d('0x1454')]=_0x3fc212;_0x12b0d0['mergeContact']=_0x15bbc4;_0x12b0d0[_0x477d('0xd6f')]=_0x354bc6;_0x12b0d0['addJscriptyTab']=_0x48a5c1;_0x12b0d0[_0x477d('0x14a8')]=_0x2a86da;_0x12b0d0['getFinals']=_0x179db7;_0x12b0d0[_0x477d('0x14aa')]=_0x587622;_0x12b0d0[_0x477d('0x1603')]=_0x3fd6a7;_0x12b0d0[_0x477d('0x1604')]=_0x3b7994;_0x12b0d0['getFaxAccounts']=_0x575c60;_0x12b0d0[_0x477d('0x1605')]=_0x2b253c;_0x12b0d0[_0x477d('0x1606')]=_0x248113;_0x12b0d0[_0x477d('0x1607')]=_0x3869f3;_0x12b0d0['getChatWebsites']=_0x24cb6f;_0x12b0d0[_0x477d('0x1562')]=_0x57cf2d;_0x12b0d0[_0x477d('0x1608')]=_0x982bc;_0x12b0d0[_0x477d('0x5ee')]=_0x33a0cc;_0x12b0d0[_0x477d('0x37c')]=_0xdfe29a;_0x12b0d0[_0x477d('0x1609')]=_0x52f0bf;_0x12b0d0[_0x477d('0x160a')]=_0x3c4531;_0x12b0d0[_0x477d('0x160b')]=_0x2de3eb;_0x12b0d0[_0x477d('0x1603')]();function _0x2de3eb(_0xfc588){if(_0xfc588[_0x477d('0x14b6')]){return _[_0x477d('0x3a4')](_['map'](_0x12b0d0[_0x477d('0x160c')]?_0x12b0d0['faxAccounts'][_0x477d('0xf2')]:[],'id'),_0xfc588['FaxAccountId']);}else if(_0xfc588[_0x477d('0x14b7')]){return _[_0x477d('0x3a4')](_[_0x477d('0x3cb')](_0x12b0d0[_0x477d('0x160d')]?_0x12b0d0[_0x477d('0x160d')]['rows']:[],'id'),_0xfc588[_0x477d('0x14b7')]);}else if(_0xfc588['SmsAccountId']){return _[_0x477d('0x3a4')](_[_0x477d('0x3cb')](_0x12b0d0[_0x477d('0xf38')]?_0x12b0d0[_0x477d('0xf38')][_0x477d('0xf2')]:[],'id'),_0xfc588[_0x477d('0x160e')]);}else if(_0xfc588[_0x477d('0x1597')]){return _[_0x477d('0x3a4')](_[_0x477d('0x3cb')](_0x12b0d0[_0x477d('0x160f')]?_0x12b0d0[_0x477d('0x160f')][_0x477d('0xf2')]:[],'id'),_0xfc588[_0x477d('0x1597')]);}else if(_0xfc588[_0x477d('0x14b8')]){return _[_0x477d('0x3a4')](_['map'](_0x12b0d0['mailAccounts']?_0x12b0d0['mailAccounts'][_0x477d('0xf2')]:[],'id'),_0xfc588[_0x477d('0x14b8')]);}else if(_0xfc588[_0x477d('0x1237')]){return _[_0x477d('0x3a4')](_['map'](_0x12b0d0[_0x477d('0x1610')]?_0x12b0d0[_0x477d('0x1610')]['rows']:[],'id'),_0xfc588[_0x477d('0x1237')]);}else if(_0xfc588[_0x477d('0x1611')]){return!![];}return![];}function _0x52f0bf(_0x368ecb,_0xd08e66){try{if(_0xd08e66[_0x477d('0x14b8')]){return _0xdff93a['$parent'][_0x477d('0x723')][_0x477d('0x723')]['vm'][_0x477d('0x1588')]('mail',_0xd08e66);}else if(_0xd08e66[_0x477d('0x1237')]){return _0xdff93a['$parent']['$parent'][_0x477d('0x723')]['vm'][_0x477d('0x1588')]('chat',_0xd08e66);}else if(_0xd08e66[_0x477d('0x160e')]){return _0xdff93a['$parent'][_0x477d('0x723')][_0x477d('0x723')]['vm'][_0x477d('0x1588')](_0x477d('0x26e'),_0xd08e66);}else if(_0xd08e66[_0x477d('0x1597')]){return _0xdff93a[_0x477d('0x723')]['$parent'][_0x477d('0x723')]['vm'][_0x477d('0x1588')]('whatsapp',_0xd08e66);}else if(_0xd08e66[_0x477d('0x14b7')]){return _0xdff93a['$parent']['$parent'][_0x477d('0x723')]['vm'][_0x477d('0x1588')]('openchannel',_0xd08e66);}else if(_0xd08e66[_0x477d('0x14b6')]){return _0xdff93a[_0x477d('0x723')][_0x477d('0x723')]['$parent']['vm'][_0x477d('0x1588')](_0x477d('0x154'),_0xd08e66);}}catch(_0x116adb){_0x39627e[_0x477d('0x44a')]({'title':'ERROR\x20OPEN\x20INTERACTION','msg':_0x477d('0x1612')});}}function _0x25b661(_0x18e49c){if(_0x18e49c&&_0x18e49c[_0x477d('0x3bb')]&&_0x18e49c[_0x477d('0xf2')][_0x477d('0x79')]){_0x12b0d0[_0x477d('0x1492')]=_[_0x477d('0x3a9')](_0x12b0d0[_0x477d('0x1492')],_0x18e49c[_0x477d('0xf2')]);}}function _0x202de0(_0xef43ca){var _0x2ba7ee=[_0x477d('0x1d6'),_0x477d('0xb6'),'sms','openchannel',_0x477d('0x154'),_0x477d('0x35d')];if(_0xef43ca&&_0xef43ca['id']){for(var _0x4227a6=0x0;_0x4227a6<_0x2ba7ee[_0x477d('0x79')];_0x4227a6++){_0x54e006[_0x2ba7ee[_0x4227a6]+'Interaction']['get']({'ContactId':_0xef43ca['id'],'journey':!![],'includeAll':!![]})[_0x477d('0x38b')]['then'](_0x25b661);}_0x54e006[_0x477d('0xa95')][_0x477d('0x376')]({'ContactId':_0xef43ca['id'],'includeAll':!![]})['$promise'][_0x477d('0x76')](_0x25b661)[_0x477d('0xf8')](function(_0x4fbdbe){console[_0x477d('0x44a')](_0x4fbdbe);});}}function _0xd208bc(_0x293edd){switch(_0x293edd){case _0x477d('0xb6'):return _0x477d('0x14b1');case'mail':return _0x477d('0x9f2');case _0x477d('0x26e'):return _0x477d('0x14b2');case _0x477d('0x22a'):return _0x477d('0x14b3');case _0x477d('0x154'):return'blue-grey-A200';case _0x477d('0x35d'):return _0x477d('0x14b5');default:return _0x477d('0x1613');}}function _0x3c4531(_0x23b4d9){var _0x5abfba='';if(_0x23b4d9[_0x477d('0x14b6')]){_0x5abfba='fax';}else if(_0x23b4d9[_0x477d('0x14b7')]){_0x5abfba='openchannel';}else if(_0x23b4d9[_0x477d('0x160e')]){_0x5abfba=_0x477d('0x26e');}else if(_0x23b4d9[_0x477d('0x1597')]){_0x5abfba=_0x477d('0x35d');}else if(_0x23b4d9[_0x477d('0x14b8')]){_0x5abfba='mail';}else if(_0x23b4d9[_0x477d('0x1237')]){_0x5abfba=_0x477d('0xb6');}else if(_0x23b4d9[_0x477d('0x1611')]){_0x5abfba=_0x477d('0x108');}return _0xd208bc(_0x5abfba);}function _0x33a0cc(_0x526908,_0x5474d3){_0x12b0d0[_0x477d('0xe96')]=_0x526908;_0xdff93a['$watchGroup']([_0x477d('0x1614'),'vm.customFieldsForm.$pristine'],function(_0x4372de){_0x12b0d0[_0x477d('0xe96')][_0x477d('0x11a6')]=_0x4372de[0x0]&&_0x4372de[0x1];});_0x12b0d0['license']=_0x5474d3;_0x12b0d0[_0x477d('0x100')]=_0x12b0d0[_0x477d('0xe96')][_0x477d('0x100')];_0x12b0d0[_0x477d('0x147b')]=![];_0x12b0d0[_0x477d('0x1594')]=0x0;return _0x54e006[_0x477d('0x380')][_0x477d('0x376')]({'fields':_0x477d('0x14b9'),'nolimit':!![]})['$promise']['then'](function(_0xb454c4){_0x12b0d0['users']=_0xb454c4||{'count':0x0,'rows':[]};_0x12b0d0[_0x477d('0x14ba')]=_[_0x477d('0x14bb')](_['keyBy'](_0x12b0d0['users'][_0x477d('0xf2')],'id'),_0x477d('0xcd'));return;})['then'](function(){var _0x51740f=[];for(var _0x20731f=0x0;_0x20731f<_0x12b0d0['tab'][_0x477d('0x5b6')]['length'];_0x20731f++){var _0x106846=_0x12b0d0[_0x477d('0xe96')]['calls'][_0x20731f];_0x51740f[_0x477d('0x3a7')](_0x54e006[_0x477d('0xa95')][_0x477d('0x376')]({'uniqueid':_0x106846[_0x477d('0x648')]})[_0x477d('0x38b')]['then'](function(_0x5dbb08){if(_0x5dbb08&&_0x5dbb08['rows'][_0x477d('0x79')]>0x0){_0x106846[_0x477d('0x15b7')]=_[_0x477d('0xf72')](_0x5dbb08['rows'])[_0x477d('0x15b6')];}return;}));}return _0x5e83df[_0x477d('0x7c')](_0x51740f);})[_0x477d('0x76')](function(){if(_0x12b0d0[_0x477d('0x100')]&&_0x12b0d0['contact']['id']){var _0x42ed0f={'id':_0x12b0d0['contact']['id'],'ListId':_0x12b0d0['contact'][_0x477d('0x1229')],'limit':0x1,'offset':0x0,'sort':'-updatedAt'};return _0x54e006[_0x477d('0xb6c')][_0x477d('0x376')](_0x42ed0f)['$promise'][_0x477d('0x76')](function(_0xe7fc3f){_0x12b0d0[_0x477d('0x100')]=_0xe7fc3f;_0x12b0d0[_0x477d('0xe96')][_0x477d('0x100')]=_0xe7fc3f;return _0x54e006[_0x477d('0x380')][_0x477d('0x1615')]({'id':_0x12b0d0[_0x477d('0x380')]['id'],'ids':[_0x12b0d0[_0x477d('0x100')]['id']]});})[_0x477d('0x76')](function(){if(_0x12b0d0[_0x477d('0x100')][_0x477d('0x1229')]){return _0x54e006[_0x477d('0xb95')][_0x477d('0x376')]({'ListId':_0x12b0d0[_0x477d('0x100')]['ListId']})['$promise'][_0x477d('0x76')](function(_0x246663){_0x12b0d0['tab'][_0x477d('0x15b8')]=_0x246663;return _0x54e006[_0x477d('0xe3f')][_0x477d('0x132c')]({'id':_0x12b0d0[_0x477d('0x100')][_0x477d('0x1229')]})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x36ae93){_0x12b0d0['tab'][_0x477d('0x132d')]=_0x36ae93;return;});}return;})[_0x477d('0x76')](function(){try{_0x12b0d0[_0x477d('0xe96')][_0x477d('0x1616')]=_0xdff93a['$parent']['$parent']['$parent']['vm'][_0x477d('0x1578')];_0x12b0d0[_0x477d('0xe96')][_0x477d('0xf1')]=_0xdff93a[_0x477d('0x723')][_0x477d('0x723')][_0x477d('0x723')]['vm']['globalLists'];_0x12b0d0[_0x477d('0xe96')]['companies']=_0xdff93a['$parent'][_0x477d('0x723')][_0x477d('0x723')]['vm'][_0x477d('0x157a')];_0x12b0d0[_0x477d('0xe96')][_0x477d('0x1263')]=_0xdff93a['$parent'][_0x477d('0x723')][_0x477d('0x723')]['vm'][_0x477d('0x157b')];_0x12b0d0['tab'][_0x477d('0x15b1')]=0x0;if(_0x12b0d0['contact'][_0x477d('0x1229')]){_0x12b0d0[_0x477d('0xe96')][_0x477d('0x1616')][_0x477d('0xf2')]=_[_0x477d('0x1617')](_0x12b0d0[_0x477d('0xe96')][_0x477d('0x1616')][_0x477d('0xf2')],_[_0x477d('0x3b3')](_0x12b0d0[_0x477d('0xe96')][_0x477d('0xf1')][_0x477d('0xf2')],{'id':_0x12b0d0[_0x477d('0x100')]['ListId']}),'id');_0x12b0d0[_0x477d('0xa02')]=_['find'](_0x12b0d0[_0x477d('0xe96')][_0x477d('0x1616')][_0x477d('0xf2')],{'id':_0x12b0d0[_0x477d('0x100')][_0x477d('0x1229')]});}}catch(_0x241caf){}_0x12b0d0[_0x477d('0x14a8')]();_0x12b0d0[_0x477d('0x14a9')]();_0x12b0d0[_0x477d('0x14aa')]();_0x12b0d0[_0x477d('0x1604')]();_0x12b0d0['getFaxAccounts']();_0x12b0d0[_0x477d('0x1605')]();_0x12b0d0[_0x477d('0x1606')]();_0x12b0d0[_0x477d('0x1607')]();_0x12b0d0[_0x477d('0x1223')]();_0x12b0d0[_0x477d('0x1562')]();return;})[_0x477d('0x76')](function(){return _0x54e006[_0x477d('0xb6c')]['getTags']({'id':_0x12b0d0[_0x477d('0x100')]['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x4aa96d){_0x12b0d0[_0x477d('0xe96')]['Tags']=_['map'](_0x4aa96d['rows'],'id');return;});});}else{_0x12b0d0['newContact']=!![];if(_0x526908[_0x477d('0x15b1')]){console[_0x477d('0x7b')](_0x477d('0x15b1'));return _0x12b0d0[_0x477d('0x147e')]();}return;}})[_0x477d('0x76')](_0x202de0(_0x12b0d0[_0x477d('0x100')]));}function _0x982bc(_0x73b5c2,_0x2f2220,_0x54d9a6,_0x5257a7){var _0x3971e3=_0x2f2220[_0x477d('0x449')]();_0x3ea925[_0x477d('0x395')]({'controller':'Compose'+_0x2f2220+_0x477d('0x1618'),'controllerAs':'vm','templateUrl':'app/main/apps/dashboards/views/general/agent/interaction/compose'+_0x2f2220+_0x477d('0x1296'),'parent':angular[_0x477d('0x398')](_0x472f46[_0x477d('0x399')]),'clickOutsideToClose':![],'locals':{'account':_0x54d9a6,'message':{'to':_0x3971e3==_0x477d('0x1d6')?_0x5257a7:_0x5257a7['split'](',')},'type':_0x477d('0x1619'),'interaction':{'Contact':_0x12b0d0[_0x477d('0x100')]}},'fullscreen':!![]})[_0x477d('0x76')](function(_0x7dc2d0){return _0x54e006[_0x3971e3+_0x477d('0x15a4')][_0x477d('0xa08')]({'id':_0x54d9a6['id']},_0x7dc2d0)[_0x477d('0x38b')][_0x477d('0x76')](function(_0x532f11){if(_0x2f2220===_0x477d('0x161a')){var _0x386953=_0x532f11;if(_0x386953&&_0x386953[_0x477d('0x134c')]&&_0x386953[_0x477d('0x134c')][_0x477d('0x79')]){if(_0x7dc2d0['attachments']&&_0x7dc2d0[_0x477d('0x161b')]['length']){for(var _0x5033fa=0x0;_0x5033fa<_0x7dc2d0['attachments'][_0x477d('0x79')];_0x5033fa+=0x1){_0x54e006[_0x477d('0xcb5')][_0x477d('0x710')]({'id':_0x7dc2d0[_0x477d('0x161b')][_0x5033fa]['id']},{'MailMessageId':_[_0x477d('0x654')](_0x386953['Messages'])['id']});}}_0x39627e['success']({'title':_0x477d('0x161c'),'msg':_0x477d('0x161d')});if(_0x386953[_0x477d('0x1351')]){_0x386953['disposition']=null;var _0x331f88=!_0x54d9a6[_0x477d('0x15a0')];var _0x3c07e1=_0x12b0d0[_0x477d('0x380')][_0x477d('0x624')]||_0x12b0d0[_0x477d('0x380')][_0x477d('0x13d0')]||_0x12b0d0[_0x477d('0x380')]['mailPause']||_0x12b0d0[_0x477d('0x380')][_0x477d('0x13d1')]||_0x12b0d0[_0x477d('0x380')]['faxPause'];_0x3ea925['show']({'controller':_0x477d('0x15a5'),'controllerAs':'vm','templateUrl':_0x477d('0x15a6'),'parent':angular['element'](_0x472f46['body']),'onRemoving':function(_0x5f21e2,_0x1bd8a6){if(_0x12b0d0[_0x477d('0x380')]&&_0x54d9a6['mandatoryDisposition']&&!_0x3c07e1){_0x54e006[_0x477d('0x380')][_0x477d('0x15a7')]({'id':_0x12b0d0[_0x477d('0x380')]['id']})[_0x477d('0x38b')][_0x477d('0xf8')](function(_0x236cb5){console['error'](_0x236cb5);});}},'clickOutsideToClose':_0x331f88,'escapeToClose':_0x331f88,'locals':{'user':_0x12b0d0[_0x477d('0x380')],'channel':_0x477d('0x1d6'),'interaction':_0x386953}});}else{_0xdff93a[_0x477d('0x723')]['vm']['addInteractionTab']('mail',_0x386953);}}}else{_0x39627e[_0x477d('0x485')]({'title':_0x477d('0x161c'),'msg':_0x477d('0x161d')});_0xdff93a[_0x477d('0x723')]['vm']['addInteractionTab'](_0x3971e3,_0x532f11);}})[_0x477d('0xf8')](function(_0x30a9db){if(_0x30a9db[_0x477d('0x451')]&&_0x30a9db[_0x477d('0x451')][_0x477d('0xd67')]&&_0x30a9db['data'][_0x477d('0xd67')]['length']){for(var _0x2af5b8=0x0;_0x2af5b8<_0x30a9db[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x2af5b8+=0x1){_0x39627e[_0x477d('0x44a')]({'title':_0x30a9db[_0x477d('0x451')][_0x477d('0xd67')][_0x2af5b8][_0x477d('0x439')],'msg':_0x30a9db['data'][_0x477d('0xd67')][_0x2af5b8]['message']});}}else if(_0x3971e3===_0x477d('0x154')){_0x39627e[_0x477d('0x44a')]({'title':_0x477d('0x161e'),'msg':_0x30a9db[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x30a9db['data']):_0x30a9db['message']||_0x30a9db[_0x477d('0x453')]()});}else{_0x39627e[_0x477d('0x44a')]({'title':_0x30a9db[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x30a9db[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x30a9db[_0x477d('0x44d')]:_0x2f2220['toUpperCase']()+_0x477d('0x161f'),'msg':_0x30a9db[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x30a9db['data'][_0x477d('0x452')]):_0x30a9db[_0x477d('0x452')]||_0x30a9db['toString']()});}});});}function _0x5299e0(){_0x12b0d0['errors']=[];_0x54e006[_0x477d('0xb6c')][_0x477d('0xd70')](_0x12b0d0[_0x477d('0x100')])[_0x477d('0x38b')]['then'](function(_0x37d384){_0x12b0d0['contact']['id']=_0x37d384['id'];_0x12b0d0[_0x477d('0x147b')]=![];_0x12b0d0[_0x477d('0xe96')][_0x477d('0x49a')]=_0x37d384[_0x477d('0x1357')]||_0x37d384[_0x477d('0xf46')];_0x12b0d0[_0x477d('0xe96')][_0x477d('0x100')]=_0x12b0d0[_0x477d('0x100')];return _0x54e006[_0x477d('0x380')]['addContacts']({'id':_0x238f8d[_0x477d('0x5c')]()['id'],'ids':[_0x37d384['id']]});})[_0x477d('0x76')](function(){_0x12b0d0[_0x477d('0x1620')][_0x477d('0x14ff')]=!![];_0x12b0d0[_0x477d('0x1621')][_0x477d('0x14ff')]=!![];_0x39627e[_0x477d('0x485')]({'title':_0x477d('0x1483'),'msg':_0x12b0d0[_0x477d('0x100')][_0x477d('0x1357')]?_0x12b0d0['contact'][_0x477d('0x1357')]+_0x477d('0xd73'):''});})[_0x477d('0x76')](function(){return _0x54e006[_0x477d('0xb6c')][_0x477d('0x14c9')]({'id':_0x12b0d0[_0x477d('0x100')]['id'],'ids':_0x12b0d0[_0x477d('0xe96')][_0x477d('0x102')]})[_0x477d('0x38b')];})[_0x477d('0xf8')](function(_0x51f9c3){if(_0x51f9c3[_0x477d('0x451')]&&_0x51f9c3['data'][_0x477d('0xd67')]&&_0x51f9c3[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x12b0d0[_0x477d('0xd67')]=_0x51f9c3[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x51f9c3['toString'](),'type':'api.contact.save'}];for(var _0x1260ed=0x0;_0x1260ed<_0x51f9c3['data']['errors'][_0x477d('0x79')];_0x1260ed+=0x1){_0x39627e['error']({'title':_0x51f9c3[_0x477d('0x451')][_0x477d('0xd67')][_0x1260ed][_0x477d('0x439')],'msg':_0x51f9c3[_0x477d('0x451')]['errors'][_0x1260ed][_0x477d('0x452')]});}}else{_0x39627e[_0x477d('0x44a')]({'title':_0x51f9c3['status']?_0x477d('0x44b')+_0x51f9c3[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x51f9c3[_0x477d('0x44d')]:'api.contact.save','msg':_0x51f9c3[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x51f9c3[_0x477d('0x451')][_0x477d('0x452')]):_0x51f9c3[_0x477d('0x453')]()});}});}function _0x2ce73f(){_0x12b0d0[_0x477d('0xd67')]=[];_0x54e006[_0x477d('0xb6c')][_0x477d('0x710')]({'id':_0x12b0d0[_0x477d('0x100')]['id']},_0x12b0d0['contact'])[_0x477d('0x38b')]['then'](function(_0x431c6f){_0x12b0d0[_0x477d('0xe96')][_0x477d('0x49a')]=_0x431c6f[_0x477d('0x1357')]||_0x431c6f[_0x477d('0xf46')];_0x12b0d0[_0x477d('0xe96')][_0x477d('0x100')]=_0x12b0d0[_0x477d('0x100')];_0xdff93a[_0x477d('0x723')]['vm'][_0x477d('0x1589')]();return _0x54e006[_0x477d('0x380')][_0x477d('0x1615')]({'id':_0x238f8d[_0x477d('0x5c')]()['id'],'ids':[_0x431c6f['id']]});})['then'](function(){return _0x54e006[_0x477d('0xb6c')][_0x477d('0x14c9')]({'id':_0x12b0d0['contact']['id'],'ids':_0x12b0d0[_0x477d('0xe96')]['Tags']})[_0x477d('0x38b')];})['then'](function(){_0x12b0d0[_0x477d('0x1620')][_0x477d('0x14ff')]=!![];_0x12b0d0['customFieldsForm'][_0x477d('0x14ff')]=!![];_0x39627e[_0x477d('0x485')]({'title':'Contact\x20properly\x20updated!','msg':_0x12b0d0[_0x477d('0x100')]['name']?_0x12b0d0['contact'][_0x477d('0x94')]+_0x477d('0xed7'):''});})[_0x477d('0xf8')](function(_0x314b61){if(_0x314b61['data']&&_0x314b61[_0x477d('0x451')][_0x477d('0xd67')]&&_0x314b61[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x12b0d0[_0x477d('0xd67')]=_0x314b61['data']['errors']||[{'message':_0x314b61[_0x477d('0x453')](),'type':'api.contact.save'}];for(var _0x4fba14=0x0;_0x4fba14<_0x314b61[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x4fba14+=0x1){_0x39627e['error']({'title':_0x314b61[_0x477d('0x451')][_0x477d('0xd67')][_0x4fba14][_0x477d('0x439')],'msg':_0x314b61['data'][_0x477d('0xd67')][_0x4fba14]['message']});}}else{_0x39627e[_0x477d('0x44a')]({'title':_0x314b61['status']?'API:'+_0x314b61[_0x477d('0x3c3')]+'\x20-\x20'+_0x314b61[_0x477d('0x44d')]:_0x477d('0x1484'),'msg':_0x314b61[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x314b61[_0x477d('0x451')][_0x477d('0x452')]):_0x314b61[_0x477d('0x453')]()});}});}_0xdff93a[_0x477d('0x4b5')](_0x477d('0x1594'),function(_0xe46453,_0x4a6d5d){if(_0x12b0d0[_0x477d('0x1594')]===0x1){_0x12b0d0[_0x477d('0x14a8')]();_0x12b0d0[_0x477d('0x14a9')]();_0x12b0d0[_0x477d('0x14aa')]();}});var _0xb20282=!![];var _0x1b614b=0x1;_0xdff93a[_0x477d('0x4b5')](_0x477d('0x1622'),function(_0x159f0a,_0x37b39c){if(_0xb20282){_0x39fc14(function(){_0xb20282=![];});}else{if(!_0x37b39c){_0x1b614b=_0x12b0d0[_0x477d('0x14ae')][_0x477d('0xe03')];}if(_0x159f0a!==_0x37b39c){_0x12b0d0[_0x477d('0x14ae')][_0x477d('0xe03')]=0x1;}if(!_0x159f0a){_0x12b0d0[_0x477d('0x14ae')][_0x477d('0xe03')]=_0x1b614b;}_0x12b0d0[_0x477d('0x14a8')]();}});_0xdff93a[_0x477d('0x4b5')](_0x477d('0x1623'),function(_0x167719,_0x5e4b47){if(_0xb20282){_0x39fc14(function(){_0xb20282=![];});}else{if(!_0x5e4b47){_0x1b614b=_0x12b0d0[_0x477d('0x149e')]['page'];}if(_0x167719!==_0x5e4b47){_0x12b0d0[_0x477d('0x149e')][_0x477d('0xe03')]=0x1;}if(!_0x167719){_0x12b0d0[_0x477d('0x149e')]['page']=_0x1b614b;}_0x12b0d0['getFinals']();}});_0xdff93a[_0x477d('0x4b5')]('queryHistory.filter',function(_0x3d7447,_0x9a7d77){if(_0xb20282){_0x39fc14(function(){_0xb20282=![];});}else{if(!_0x9a7d77){_0x1b614b=_0x12b0d0[_0x477d('0x14a0')][_0x477d('0xe03')];}if(_0x3d7447!==_0x9a7d77){_0x12b0d0[_0x477d('0x14a0')][_0x477d('0xe03')]=0x1;}if(!_0x3d7447){_0x12b0d0['queryHistory'][_0x477d('0xe03')]=_0x1b614b;}_0x12b0d0[_0x477d('0x14aa')]();}});function _0x3c2f84(_0x19d7c9){return function(_0x2ac7e5){_0x12b0d0[_0x19d7c9]=_0x2ac7e5||{'count':0x0,'rows':[]};};}function _0x2a86da(){if(_0x12b0d0[_0x477d('0x100')]&&_0x12b0d0['contact']['id']){_0x12b0d0[_0x477d('0x14ae')][_0x477d('0x1624')]=_0x12b0d0['contact']['id'];_0x12b0d0['queryHopper'][_0x477d('0x91c')]=(_0x12b0d0[_0x477d('0x14ae')][_0x477d('0xe03')]-0x1)*_0x12b0d0[_0x477d('0x14ae')]['limit'];_0x12b0d0['promise']=_0x54e006['cmHopper'][_0x477d('0x376')](_0x12b0d0[_0x477d('0x14ae')],_0x3c2f84(_0x477d('0x148a')))['$promise'];}}function _0x179db7(){if(_0x12b0d0[_0x477d('0x100')]&&_0x12b0d0[_0x477d('0x100')]['id']){_0x12b0d0[_0x477d('0x149e')]['ContactId']=_0x12b0d0[_0x477d('0x100')]['id'];_0x12b0d0[_0x477d('0x149e')][_0x477d('0x91c')]=(_0x12b0d0[_0x477d('0x149e')][_0x477d('0xe03')]-0x1)*_0x12b0d0[_0x477d('0x149e')]['limit'];_0x12b0d0[_0x477d('0x553')]=_0x54e006['cmHopperFinal'][_0x477d('0x376')](_0x12b0d0[_0x477d('0x149e')],_0x3c2f84(_0x477d('0x148e')))[_0x477d('0x38b')];}}function _0x587622(){if(_0x12b0d0['contact']&&_0x12b0d0['contact']['id']){_0x12b0d0[_0x477d('0x14a0')][_0x477d('0x1624')]=_0x12b0d0[_0x477d('0x100')]['id'];_0x12b0d0[_0x477d('0x14a0')][_0x477d('0x91c')]=(_0x12b0d0[_0x477d('0x14a0')][_0x477d('0xe03')]-0x1)*_0x12b0d0[_0x477d('0x14a0')][_0x477d('0x91d')];_0x12b0d0[_0x477d('0x553')]=_0x54e006['cmHopperHistory']['get'](_0x12b0d0[_0x477d('0x14a0')],_0x3c2f84('histories'))[_0x477d('0x38b')];}}function _0x3fd6a7(){_0x54e006[_0x477d('0xc88')]['get']({'fields':'createdAt,updatedAt,id,name,description,createdAt,formData,enableUncompleteSave','sort':_0x477d('0x59'),'nolimit':!![]})[_0x477d('0x38b')]['then'](function(_0x4168fb){_0x12b0d0[_0x477d('0x1625')]=_0x4168fb||{'count':0x0,'rows':[]};})[_0x477d('0xf8')](function(_0x4d0ee6){if(_0x4d0ee6[_0x477d('0x451')]&&_0x4d0ee6[_0x477d('0x451')][_0x477d('0xd67')]&&_0x4d0ee6[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x12b0d0[_0x477d('0xd67')]=_0x4d0ee6[_0x477d('0x451')]['errors']||[{'message':_0x4d0ee6['toString'](),'type':_0x477d('0x1626')}];for(var _0x3bdf36=0x0;_0x3bdf36<_0x4d0ee6[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x3bdf36+=0x1){_0x39627e[_0x477d('0x44a')]({'title':_0x4d0ee6['data'][_0x477d('0xd67')][_0x3bdf36][_0x477d('0x439')],'msg':_0x4d0ee6[_0x477d('0x451')]['errors'][_0x3bdf36][_0x477d('0x452')]});}}else{_0x39627e[_0x477d('0x44a')]({'title':_0x4d0ee6['status']?_0x477d('0x44b')+_0x4d0ee6[_0x477d('0x3c3')]+'\x20-\x20'+_0x4d0ee6[_0x477d('0x44d')]:_0x477d('0x1626'),'msg':_0x4d0ee6[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x4d0ee6['data'][_0x477d('0x452')]):_0x4d0ee6['toString']()});}});}function _0x3b7994(){_0x54e006[_0x477d('0x380')][_0x477d('0x1604')]({'id':_0x12b0d0[_0x477d('0x380')]['id'],'nolimit':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x458649){_0x12b0d0[_0x477d('0xf33')]=_0x458649||{'count':0x0,'rows':[]};})[_0x477d('0xf8')](function(_0x44b3fc){if(_0x44b3fc[_0x477d('0x451')]&&_0x44b3fc['data']['errors']&&_0x44b3fc[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x12b0d0[_0x477d('0xd67')]=_0x44b3fc[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x44b3fc[_0x477d('0x453')](),'type':'api.mail.account'}];for(var _0x58d462=0x0;_0x58d462<_0x44b3fc[_0x477d('0x451')]['errors']['length'];_0x58d462+=0x1){_0x39627e[_0x477d('0x44a')]({'title':_0x44b3fc[_0x477d('0x451')][_0x477d('0xd67')][_0x58d462][_0x477d('0x439')],'msg':_0x44b3fc[_0x477d('0x451')][_0x477d('0xd67')][_0x58d462]['message']});}}else{_0x39627e['error']({'title':_0x44b3fc['status']?_0x477d('0x44b')+_0x44b3fc[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x44b3fc[_0x477d('0x44d')]:_0x477d('0x1627'),'msg':_0x44b3fc[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x44b3fc[_0x477d('0x451')][_0x477d('0x452')]):_0x44b3fc[_0x477d('0x453')]()});}});}function _0x575c60(){_0x54e006[_0x477d('0x380')][_0x477d('0x1628')]({'id':_0x12b0d0[_0x477d('0x380')]['id'],'nolimit':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x17eccf){_0x12b0d0['faxAccounts']=_0x17eccf||{'count':0x0,'rows':[]};})[_0x477d('0xf8')](function(_0x1c83e7){if(_0x1c83e7[_0x477d('0x451')]&&_0x1c83e7[_0x477d('0x451')]['errors']&&_0x1c83e7[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x12b0d0['errors']=_0x1c83e7['data'][_0x477d('0xd67')]||[{'message':_0x1c83e7[_0x477d('0x453')](),'type':_0x477d('0x1629')}];for(var _0x4dd4b3=0x0;_0x4dd4b3<_0x1c83e7['data']['errors']['length'];_0x4dd4b3+=0x1){_0x39627e[_0x477d('0x44a')]({'title':_0x1c83e7[_0x477d('0x451')][_0x477d('0xd67')][_0x4dd4b3][_0x477d('0x439')],'msg':_0x1c83e7[_0x477d('0x451')][_0x477d('0xd67')][_0x4dd4b3][_0x477d('0x452')]});}}else{_0x39627e['error']({'title':_0x1c83e7[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x1c83e7[_0x477d('0x3c3')]+'\x20-\x20'+_0x1c83e7[_0x477d('0x44d')]:_0x477d('0x1629'),'msg':_0x1c83e7[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x1c83e7[_0x477d('0x451')][_0x477d('0x452')]):_0x1c83e7[_0x477d('0x453')]()});}});}function _0x2b253c(){_0x54e006[_0x477d('0x380')][_0x477d('0x1605')]({'id':_0x12b0d0['user']['id'],'nolimit':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x974508){_0x12b0d0[_0x477d('0xf38')]=_0x974508||{'count':0x0,'rows':[]};})[_0x477d('0xf8')](function(_0x4f8021){if(_0x4f8021[_0x477d('0x451')]&&_0x4f8021[_0x477d('0x451')][_0x477d('0xd67')]&&_0x4f8021[_0x477d('0x451')][_0x477d('0xd67')]['length']){_0x12b0d0[_0x477d('0xd67')]=_0x4f8021[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x4f8021[_0x477d('0x453')](),'type':_0x477d('0x162a')}];for(var _0x4e4c83=0x0;_0x4e4c83<_0x4f8021[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x4e4c83+=0x1){_0x39627e[_0x477d('0x44a')]({'title':_0x4f8021[_0x477d('0x451')]['errors'][_0x4e4c83][_0x477d('0x439')],'msg':_0x4f8021[_0x477d('0x451')][_0x477d('0xd67')][_0x4e4c83][_0x477d('0x452')]});}}else{_0x39627e[_0x477d('0x44a')]({'title':_0x4f8021['status']?_0x477d('0x44b')+_0x4f8021[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x4f8021[_0x477d('0x44d')]:_0x477d('0x162a'),'msg':_0x4f8021[_0x477d('0x451')]?JSON['stringify'](_0x4f8021['data']['message']):_0x4f8021[_0x477d('0x453')]()});}});}function _0x248113(){_0x54e006[_0x477d('0x380')][_0x477d('0x1606')]({'id':_0x12b0d0['user']['id'],'nolimit':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x5d94bd){_0x12b0d0['whatsappAccounts']=_0x5d94bd||{'count':0x0,'rows':[]};})[_0x477d('0xf8')](function(_0x2711d3){if(_0x2711d3[_0x477d('0x451')]&&_0x2711d3[_0x477d('0x451')]['errors']&&_0x2711d3[_0x477d('0x451')]['errors'][_0x477d('0x79')]){_0x12b0d0[_0x477d('0xd67')]=_0x2711d3[_0x477d('0x451')]['errors']||[{'message':_0x2711d3['toString'](),'type':_0x477d('0x162b')}];for(var _0x1c38d7=0x0;_0x1c38d7<_0x2711d3[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x1c38d7+=0x1){_0x39627e[_0x477d('0x44a')]({'title':_0x2711d3[_0x477d('0x451')][_0x477d('0xd67')][_0x1c38d7]['type'],'msg':_0x2711d3['data']['errors'][_0x1c38d7]['message']});}}else{_0x39627e['error']({'title':_0x2711d3[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x2711d3[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x2711d3[_0x477d('0x44d')]:'api.whatsapp.account','msg':_0x2711d3[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x2711d3[_0x477d('0x451')][_0x477d('0x452')]):_0x2711d3['toString']()});}});}function _0x3869f3(){_0x54e006[_0x477d('0x380')][_0x477d('0x1607')]({'id':_0x12b0d0['user']['id'],'nolimit':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x2f3a51){_0x12b0d0[_0x477d('0x160d')]=_0x2f3a51||{'count':0x0,'rows':[]};})[_0x477d('0xf8')](function(_0x587106){if(_0x587106['data']&&_0x587106[_0x477d('0x451')]['errors']&&_0x587106[_0x477d('0x451')][_0x477d('0xd67')]['length']){_0x12b0d0['errors']=_0x587106[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x587106['toString'](),'type':_0x477d('0x162c')}];for(var _0x3f329c=0x0;_0x3f329c<_0x587106[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x3f329c+=0x1){_0x39627e['error']({'title':_0x587106[_0x477d('0x451')][_0x477d('0xd67')][_0x3f329c][_0x477d('0x439')],'msg':_0x587106['data'][_0x477d('0xd67')][_0x3f329c][_0x477d('0x452')]});}}else{_0x39627e[_0x477d('0x44a')]({'title':_0x587106[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x587106[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x587106['statusText']:_0x477d('0x162c'),'msg':_0x587106[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x587106['data'][_0x477d('0x452')]):_0x587106[_0x477d('0x453')]()});}});}function _0x24cb6f(){_0x54e006['user'][_0x477d('0x1223')]({'id':_0x12b0d0[_0x477d('0x380')]['id'],'nolimit':!![]})[_0x477d('0x38b')]['then'](function(_0x5d9b11){_0x12b0d0['chatAccounts']=_0x5d9b11||{'count':0x0,'rows':[]};})[_0x477d('0xf8')](function(_0x48ad14){if(_0x48ad14[_0x477d('0x451')]&&_0x48ad14[_0x477d('0x451')]['errors']&&_0x48ad14['data'][_0x477d('0xd67')][_0x477d('0x79')]){_0x12b0d0[_0x477d('0xd67')]=_0x48ad14['data'][_0x477d('0xd67')]||[{'message':_0x48ad14[_0x477d('0x453')](),'type':_0x477d('0x162d')}];for(var _0x3cc786=0x0;_0x3cc786<_0x48ad14[_0x477d('0x451')][_0x477d('0xd67')]['length'];_0x3cc786+=0x1){_0x39627e[_0x477d('0x44a')]({'title':_0x48ad14[_0x477d('0x451')]['errors'][_0x3cc786]['type'],'msg':_0x48ad14['data'][_0x477d('0xd67')][_0x3cc786][_0x477d('0x452')]});}}else{_0x39627e[_0x477d('0x44a')]({'title':_0x48ad14[_0x477d('0x3c3')]?'API:'+_0x48ad14['status']+'\x20-\x20'+_0x48ad14['statusText']:_0x477d('0x162d'),'msg':_0x48ad14[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x48ad14[_0x477d('0x451')][_0x477d('0x452')]):_0x48ad14[_0x477d('0x453')]()});}});}function _0x57cf2d(){_0x54e006['user'][_0x477d('0x1562')]({'id':_0x12b0d0[_0x477d('0x380')]['id'],'nolimit':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x39f8a8){_0x12b0d0[_0x477d('0xf1')]=_0x39f8a8||{'count':0x0,'rows':[]};})['catch'](function(_0x186c13){if(_0x186c13['data']&&_0x186c13['data']['errors']&&_0x186c13[_0x477d('0x451')]['errors'][_0x477d('0x79')]){_0x12b0d0[_0x477d('0xd67')]=_0x186c13[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x186c13['toString'](),'type':_0x477d('0x162e')}];for(var _0x1009a0=0x0;_0x1009a0<_0x186c13[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x1009a0+=0x1){_0x39627e['error']({'title':_0x186c13[_0x477d('0x451')][_0x477d('0xd67')][_0x1009a0][_0x477d('0x439')],'msg':_0x186c13[_0x477d('0x451')]['errors'][_0x1009a0]['message']});}}else{_0x39627e[_0x477d('0x44a')]({'title':_0x186c13['status']?_0x477d('0x44b')+_0x186c13[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x186c13['statusText']:_0x477d('0x162e'),'msg':_0x186c13['data']?JSON[_0x477d('0x3fb')](_0x186c13[_0x477d('0x451')][_0x477d('0x452')]):_0x186c13['toString']()});}});}function _0x3fc212(_0x2b88ff){_0x3ea925[_0x477d('0x395')]({'controller':_0x477d('0x1475'),'controllerAs':'vm','templateUrl':'app/main/apps/contactmanager/views/contacts/duplicate/dialog.html','parent':angular[_0x477d('0x398')](_0x472f46[_0x477d('0x399')]),'targetEvent':_0x2b88ff,'clickOutsideToClose':!![],'resolve':{'contact':[_0x477d('0x5e'),function(_0x52bf2d){return _0x52bf2d[_0x477d('0x5a')](_0x477d('0xee'),{'id':_0x12b0d0['contact']['id']});}],'lists':[_0x477d('0x5e'),function(_0x586b14){return _0x586b14['resolve'](_0x477d('0x11d'),{'id':_0x238f8d[_0x477d('0x5c')]()['id'],'fields':'id,name'});}]},'locals':{'contacts':[]}});}function _0x15bbc4(_0x3a9fa7){_0x3ea925[_0x477d('0x395')]({'controller':'MergeContactDialogController','controllerAs':'vm','templateUrl':'app/main/apps/contactmanager/views/contacts/merge/dialog.html','parent':angular['element'](_0x472f46['body']),'targetEvent':_0x3a9fa7,'clickOutsideToClose':!![],'resolve':{'contact':[_0x477d('0x5e'),function(_0x43fad5){return _0x43fad5[_0x477d('0x5a')](_0x477d('0xee'),{'id':_0x12b0d0[_0x477d('0x100')]['id']});}],'lists':[_0x477d('0x5e'),function(_0x48b238){return _0x48b238[_0x477d('0x5a')](_0x477d('0x11d'),{'id':_0x238f8d[_0x477d('0x5c')]()['id'],'fields':_0x477d('0x9c')});}]},'locals':{'contacts':[]}})['then'](function(_0x5ace14){if(_0x5ace14){for(var _0x250813 in _0xdff93a['$parent']['$parent'][_0x477d('0x723')]['vm'][_0x477d('0x1580')]){if(_0xdff93a[_0x477d('0x723')][_0x477d('0x723')][_0x477d('0x723')]['vm']['tabs'][_0x477d('0x3ea')](_0x250813)){var _0x49542e=_0xdff93a[_0x477d('0x723')][_0x477d('0x723')][_0x477d('0x723')]['vm']['tabs'][_0x250813];if(_0x49542e&&_0x49542e[_0x477d('0x100')]){if(_0x5ace14[_0x477d('0x627')]&&_0x5ace14[_0x477d('0x627')]['id']&&_0x5ace14[_0x477d('0x627')]['id']===_0x49542e[_0x477d('0x100')]['id']){_0xdff93a[_0x477d('0x723')]['$parent'][_0x477d('0x723')]['vm']['removeTab'](_0x49542e);}if(_0x5ace14['to']&&_0x5ace14['to']['id']&&_0x5ace14['to']['id']===_0x49542e['contact']['id']){_0xdff93a[_0x477d('0x723')][_0x477d('0x723')][_0x477d('0x723')]['vm']['removeTab'](_0x49542e);}}}}if(_0x5ace14[_0x477d('0x1619')]){_0xdff93a[_0x477d('0x723')][_0x477d('0x723')][_0x477d('0x723')]['vm']['addContactTab'](_0x5ace14[_0x477d('0x1619')]);}}});}function _0xcf112c(_0x3b8239,_0x29d0b8){var _0x361955=_0x12b0d0['user'][_0x477d('0x624')]||_0x12b0d0[_0x477d('0x380')][_0x477d('0x13d0')]||_0x12b0d0[_0x477d('0x380')][_0x477d('0x13b9')]||_0x12b0d0[_0x477d('0x380')][_0x477d('0x13d1')]||_0x12b0d0['user']['faxPause'];var _0x48e038=_0x29d0b8[_0x477d('0x15a0')];if(_0x12b0d0['newContact']){_0x39627e['error']({'title':_0x477d('0x162f'),'msg':'Please\x20save\x20the\x20contact\x20before\x20disposing!'});return;}_0x3ea925[_0x477d('0x395')]({'controller':'DisposeCallDialogController','controllerAs':'vm','templateUrl':'app/main/apps/dashboards/views/general/agent/contact/dispose/dialog.html','parent':angular[_0x477d('0x398')](_0x472f46[_0x477d('0x399')]),'targetEvent':_0x29d0b8,'clickOutsideToClose':!_0x29d0b8[_0x477d('0x15a0')],'escapeToClose':!_0x29d0b8['mandatoryDisposition'],'resolve':{'globalDispositions':[_0x477d('0x5e'),function(_0x3fa150){return _0x3fa150[_0x477d('0x5a')]('disposition@get',{'MailAccountId':_0x477d('0xea'),'FaxAccountId':_0x477d('0xea'),'SmsAccountId':'null','WhatsappAccountId':_0x477d('0xea'),'OpenchannelAccountId':'null','ChatWebsiteId':_0x477d('0xea'),'ListId':'null'});}]},'onRemoving':function(_0x366bb9,_0x374930){if(_0x12b0d0['user']&&_0x48e038&&!_0x361955){_0x54e006[_0x477d('0x380')][_0x477d('0x15a7')]({'id':_0x12b0d0[_0x477d('0x380')]['id']})[_0x477d('0x38b')][_0x477d('0xf8')](function(_0x2ac9b1){console[_0x477d('0x44a')](_0x2ac9b1);});}},'locals':{'dispositions':_0x12b0d0[_0x477d('0xe96')][_0x477d('0x15b8')],'contact':_0x12b0d0['contact'],'call':_0x29d0b8}})[_0x477d('0x76')](function(_0x591649){if(_0x591649){if(_0x591649===_0x477d('0x1630')){_0x39627e[_0x477d('0x485')]({'title':_0x1fb884[_0x477d('0x45f')]('DASHBOARDS.INFO'),'msg':_0x1fb884[_0x477d('0x45f')](_0x477d('0x1631'))+'\x20'+_0x591649});}else if(_0x591649==='RECALLME'||_0x591649===_0x477d('0x1632')){}else{_0x39627e['success']({'title':_0x1fb884['instant'](_0x477d('0x1633')),'msg':_0x1fb884[_0x477d('0x45f')](_0x477d('0x1634'))});}}for(var _0x1d3637 in _0xdff93a[_0x477d('0x723')][_0x477d('0x723')][_0x477d('0x723')]['vm'][_0x477d('0x1580')]){if(_0xdff93a[_0x477d('0x723')][_0x477d('0x723')]['$parent']['vm'][_0x477d('0x1580')]['hasOwnProperty'](_0x1d3637)){var _0x3c446f=_0xdff93a['$parent'][_0x477d('0x723')][_0x477d('0x723')]['vm']['tabs'][_0x1d3637];_[_0x477d('0x39c')](_0x3c446f[_0x477d('0x5b6')],function(_0x57f613){return _0x57f613[_0x477d('0x648')]===_0x29d0b8[_0x477d('0x648')];});}}_0xdff93a[_0x477d('0x723')]['vm'][_0x477d('0x1589')]();});}function _0x566d89(_0x5d514d){return _0x54e006['cmList'][_0x477d('0x132c')]({'id':_0x5d514d})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x20ef57){_0x12b0d0['tab'][_0x477d('0x132d')]=_0x20ef57;})[_0x477d('0xf8')](function(_0x2549ef){_0x39627e[_0x477d('0x44a')]({'title':_0x2549ef['status']?_0x477d('0x44b')+_0x2549ef['status']+_0x477d('0x44c')+_0x2549ef[_0x477d('0x44d')]:_0x477d('0x1635'),'msg':_0x2549ef[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x2549ef[_0x477d('0x451')]):_0x2549ef[_0x477d('0x453')]()});});}function _0x354bc6(_0x5f49da){return _0x5f49da===null?undefined:new Date(_0x5f49da);}function _0x48a5c1(_0x950072){try{_0x950072[_0x477d('0x15d7')]=Mustache['render'](_0x950072[_0x477d('0x15d7')],{'contact':_0x12b0d0[_0x477d('0x100')],'user':_0x12b0d0[_0x477d('0x380')]});}catch(_0x262524){console[_0x477d('0x44a')](_0x262524);}try{_0xdff93a[_0x477d('0x723')][_0x477d('0x723')][_0x477d('0x723')]['vm'][_0x477d('0x1636')]({'type':_0x477d('0x1cb'),'title':_0x950072['name'],'icon':'icon-script','color':_0x477d('0x9ec'),'project':_0x950072,'contact':_0x12b0d0['contact']});}catch(_0x4e694c){_0x39627e[_0x477d('0x44a')]({'title':_0x477d('0x1637'),'msg':_0x477d('0x1638')+JSON[_0x477d('0x3fb')](_0x4e694c)});}}function _0xdfe29a(_0x2402dd){return _0x238f8d[_0x477d('0x37c')](_0x2402dd);}_0xdff93a[_0x477d('0x4ec')]('$destroy',function(){});}}());(function(){'use strict';_0xe5b91d[_0x477d('0xa')]=[_0x477d('0x384'),'$q',_0x477d('0x40e'),_0x477d('0x386'),_0x477d('0x15b8'),_0x477d('0x1639'),_0x477d('0x482'),_0x477d('0x100'),_0x477d('0x55'),_0x477d('0x40d')];angular[_0x477d('0xb')]('app.staff')[_0x477d('0x3ba')]('DisposeCallDialogController',_0xe5b91d);function _0xe5b91d(_0x542fcc,_0x71806c,_0x6ea3d8,_0x46c7f9,_0x1f9c1e,_0x43d810,_0x15874c,_0x44189c,_0x16ee4f,_0x519575){var _0x408d8e=this;_0x408d8e[_0x477d('0x163a')]=null;_0x408d8e[_0x477d('0x163b')]=![];_0x408d8e[_0x477d('0x163c')]=![];_0x408d8e[_0x477d('0x163d')]={'count':0x0,'rows':[]};_0x408d8e[_0x477d('0x163e')]=undefined;_0x408d8e['dispositions']=_0x1f9c1e;_0x408d8e[_0x477d('0x1639')]=_0x43d810;_0x408d8e['contact']=_0x44189c;_0x408d8e[_0x477d('0x482')]=_0x15874c;_0x408d8e['note']=_0x408d8e[_0x477d('0x482')][_0x477d('0x163f')]||undefined;_0x408d8e[_0x477d('0x1640')]=![];_0x408d8e[_0x477d('0x1641')]=![];_0x408d8e[_0x477d('0x1485')]={'minDate':new Date(),'dateTime':new Date()};if(_0x408d8e[_0x477d('0x482')]&&_0x408d8e['call']['variables']&&_0x408d8e[_0x477d('0x482')]['variables'][_0x477d('0x1642')]){_0x408d8e[_0x477d('0x1640')]=!![];_0x46c7f9[_0x477d('0xa76')]['getBlackLists']({'id':_0x408d8e['call'][_0x477d('0xf31')][_0x477d('0x1642')]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x545714){if(_0x545714&&_0x545714[_0x477d('0xf2')]&&_0x545714['rows'][_0x477d('0x79')]>0x0){_0x408d8e['hasBlackLists']=!![];}})['catch'](function(_0x1a33b9){_0x6ea3d8['error']({'title':_0x1a33b9[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x1a33b9[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x1a33b9[_0x477d('0x44d')]:_0x477d('0x1643'),'msg':_0x1a33b9[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x1a33b9[_0x477d('0x451')]):_0x1a33b9['toString']()});});}else{_0x46c7f9['user'][_0x477d('0x1418')]({'id':_0x16ee4f[_0x477d('0x5c')]()['id'],'fields':_0x477d('0x1644'),'channel':_0x477d('0x108'),'type':'outbound','nolimit':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x28b5e0){_0x408d8e[_0x477d('0x163d')]=_0x28b5e0||{'count':0x0,'rows':[]};})[_0x477d('0xf8')](function(_0x4ebad7){console[_0x477d('0x44a')](_0x4ebad7);});}_0x408d8e[_0x477d('0x1645')]=_0x4adc64;_0x408d8e['closeDialog']=_0x2f3cac;_0x408d8e['saveReschedule']=_0x834fea;function _0x2e3cbd(){var _0x37c278=_0x408d8e['choice']?_0x408d8e[_0x477d('0x163a')][_0x477d('0x449')]():undefined;return{'id':_0x408d8e[_0x477d('0x482')][_0x477d('0x648')],'disposition':_0x408d8e[_0x477d('0x163a')],'dispositionat':moment(),'amd':_0x37c278==='amd','fax':_0x37c278==='fax','blacklist':_0x37c278==='blacklist','recallme':_0x37c278==='recallme','UserId':_0x37c278===_0x477d('0x163c')?_0x16ee4f[_0x477d('0x5c')]()['id']:null,'OwnerId':_0x16ee4f[_0x477d('0x5c')]()['id']};}function _0x4a7b65(){return _0x46c7f9[_0x477d('0xa95')][_0x477d('0x710')]({'id':_0x408d8e['call']['uniqueid'],'userDisposition':_0x408d8e['choice'],'note':_0x408d8e[_0x477d('0x163f')],'UserId':_0x16ee4f['getCurrentUser']()['id'],'ContactId':_0x408d8e[_0x477d('0x100')]['id']})[_0x477d('0x38b')]['catch'](function(_0x3c177d){_0x6ea3d8[_0x477d('0x44a')]({'title':_0x3c177d[_0x477d('0x3c3')]?'API:'+_0x3c177d[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x3c177d[_0x477d('0x44d')]:_0x477d('0x1646'),'msg':_0x3c177d[_0x477d('0x451')]?JSON['stringify'](_0x3c177d['data']):_0x3c177d[_0x477d('0x453')]()});});}function _0x574477(){return _0x46c7f9[_0x477d('0xa81')][_0x477d('0x376')]({'uniqueid':_0x408d8e[_0x477d('0x482')][_0x477d('0x648')]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x27c911){if(_0x27c911){for(var _0x490edf=0x0;_0x490edf<_0x27c911[_0x477d('0xf2')][_0x477d('0x79')];_0x490edf+=0x1){_0x46c7f9[_0x477d('0xa81')][_0x477d('0x710')]({'id':_0x27c911[_0x477d('0xf2')][_0x490edf]['id'],'userDisposition':_0x408d8e[_0x477d('0x163a')]})[_0x477d('0x38b')]['catch'](function(_0x30258b){_0x6ea3d8[_0x477d('0x44a')]({'title':_0x30258b['status']?'API:'+_0x30258b['status']+_0x477d('0x44c')+_0x30258b[_0x477d('0x44d')]:_0x477d('0x1647'),'msg':_0x30258b[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x30258b[_0x477d('0x451')]):_0x30258b['toString']()});});}}})[_0x477d('0xf8')](function(_0x45a76d){_0x6ea3d8['error']({'title':_0x45a76d[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x45a76d[_0x477d('0x3c3')]+'\x20-\x20'+_0x45a76d[_0x477d('0x44d')]:_0x477d('0x1647'),'msg':_0x45a76d['data']?JSON[_0x477d('0x3fb')](_0x45a76d['data']):_0x45a76d[_0x477d('0x453')]()});});}function _0x3eef1a(){return _0x46c7f9['cmHopperFinal'][_0x477d('0x710')](_0x2e3cbd())[_0x477d('0x38b')][_0x477d('0xf8')](function(_0x32cee6){_0x6ea3d8[_0x477d('0x44a')]({'title':_0x32cee6[_0x477d('0x3c3')]?'API:'+_0x32cee6[_0x477d('0x3c3')]+'\x20-\x20'+_0x32cee6['statusText']:_0x477d('0x1648'),'msg':_0x32cee6[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x32cee6[_0x477d('0x451')]):_0x32cee6[_0x477d('0x453')]()});});}function _0x56f5e8(){return _0x46c7f9[_0x477d('0xe3e')][_0x477d('0x710')](_0x2e3cbd())[_0x477d('0x38b')][_0x477d('0xf8')](function(_0x3fe119){_0x6ea3d8[_0x477d('0x44a')]({'title':_0x3fe119[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x3fe119[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x3fe119[_0x477d('0x44d')]:_0x477d('0x1649'),'msg':_0x3fe119['data']?JSON['stringify'](_0x3fe119[_0x477d('0x451')]):_0x3fe119[_0x477d('0x453')]()});});}function _0x2f9616(_0x3f7c24){if(_0x3f7c24){return _0x46c7f9[_0x477d('0xa76')][_0x477d('0x164a')]({'id':_0x3f7c24,'type':_0x477d('0x127'),'fields':'id'})['$promise'][_0x477d('0x76')](function(_0x139cf1){var _0x2b56e8=[];if(_0x139cf1&&_0x139cf1[_0x477d('0x3bb')]>0x0){for(var _0x422f7a=0x0;_0x422f7a<_0x139cf1[_0x477d('0xf2')][_0x477d('0x79')];_0x422f7a+=0x1){var _0x44189c=angular[_0x477d('0x6d9')](_0x408d8e[_0x477d('0x100')]);delete _0x44189c['id'];_0x44189c[_0x477d('0x1229')]=_0x139cf1[_0x477d('0xf2')][_0x422f7a]['id'];_0x2b56e8[_0x477d('0x3a7')](_0x46c7f9[_0x477d('0xb6c')][_0x477d('0xd70')](_0x44189c)['$promise']);}return _0x71806c['all'](_0x2b56e8);}_0x6ea3d8['success']({'title':_0x519575[_0x477d('0x45f')]('DASHBOARDS.INFO'),'msg':_0x519575[_0x477d('0x45f')](_0x477d('0x164b'))+'\x20'+_0x408d8e[_0x477d('0x163a')]});_0x408d8e[_0x477d('0x163a')]=undefined;return;})[_0x477d('0x76')](function(_0x1790ed){if(_0x1790ed){_0x542fcc[_0x477d('0x3bc')](_0x408d8e[_0x477d('0x163a')]?_0x408d8e[_0x477d('0x163a')]['toUpperCase']():'');}})['catch'](function(_0x9ff43f){_0x6ea3d8[_0x477d('0x44a')]({'title':_0x9ff43f['status']?_0x477d('0x44b')+_0x9ff43f[_0x477d('0x3c3')]+'\x20-\x20'+_0x9ff43f[_0x477d('0x44d')]:'SYSTEM:UPDATEBLACKLIST','msg':_0x9ff43f[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x9ff43f['data']):_0x9ff43f['toString']()});_0x542fcc[_0x477d('0x3bc')](_0x408d8e['choice']?_0x408d8e['choice'][_0x477d('0x44f')]():'');});}}function _0x4adc64(_0x23838f){_0x408d8e[_0x477d('0x163a')]=_[_0x477d('0x484')](_0x23838f)?_0x408d8e[_0x477d('0x163a')]:_0x23838f;_0x408d8e[_0x477d('0x482')][_0x477d('0x163f')]=_0x408d8e['note'];_0x4a7b65();_0x574477();if(_0x408d8e[_0x477d('0x1640')]){_0x3eef1a();_0x56f5e8();}if(!_[_0x477d('0x484')](_0x408d8e[_0x477d('0x163a')])){switch(_0x408d8e[_0x477d('0x163a')][_0x477d('0x449')]()){case _0x477d('0x164c'):if(_0x408d8e['call']&&_0x408d8e[_0x477d('0x482')]['variables']&&_0x408d8e[_0x477d('0x482')][_0x477d('0xf31')][_0x477d('0x1642')]){_0x2f9616(_0x408d8e[_0x477d('0x482')][_0x477d('0xf31')][_0x477d('0x1642')]);}break;case _0x477d('0x164d'):_0x408d8e[_0x477d('0x163b')]=!![];_0x408d8e['recallme']=![];break;case _0x477d('0x163c'):_0x408d8e['isReschedule']=!![];_0x408d8e[_0x477d('0x163c')]=!![];break;default:_0x542fcc[_0x477d('0x3bc')](_0x408d8e[_0x477d('0x163a')]?_0x408d8e[_0x477d('0x163a')][_0x477d('0x44f')]():'');}}else{_0x542fcc[_0x477d('0x3bc')](_0x408d8e[_0x477d('0x163a')]?_0x408d8e[_0x477d('0x163a')][_0x477d('0x44f')]():'');}}function _0x2f3cac(){_0x542fcc['cancel']();}function _0x834fea(){_0x408d8e[_0x477d('0x533')]=!![];return _0x46c7f9[_0x477d('0xb79')][_0x477d('0xd70')]({'phone':_0x408d8e['contact']['phone'],'UserId':_0x408d8e[_0x477d('0x163c')]?_0x16ee4f[_0x477d('0x5c')]()['id']:null,'ContactId':_0x408d8e[_0x477d('0x100')]['id'],'ListId':_0x408d8e[_0x477d('0x100')][_0x477d('0x1229')],'VoiceQueueId':_0x408d8e[_0x477d('0x1640')]?Number(_0x408d8e[_0x477d('0x482')]['xmd-voicequeueid']):_0x408d8e[_0x477d('0x163e')]?_0x408d8e[_0x477d('0x163e')]['id']:null,'scheduledat':moment(_0x408d8e[_0x477d('0x1485')][_0x477d('0x164e')])[_0x477d('0x12f')]('YYYY-MM-DD\x20HH:mm:ss'),'priority':0x3,'recallme':_0x408d8e['recallme'],'OwnerId':_0x16ee4f[_0x477d('0x5c')]()['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){if(_0x408d8e['dialerCall']){_0x46c7f9['cmHopperFinal'][_0x477d('0x710')]({'id':_0x408d8e[_0x477d('0x482')]['uniqueid'],'rescheduled':!![],'rescheduledat':moment(_0x408d8e['hopper']['dateTime'])['format'](_0x477d('0x38d')),'recallme':_0x408d8e[_0x477d('0x163c')]})[_0x477d('0x38b')][_0x477d('0xf8')](function(_0xfb6958){console['log'](_0xfb6958);});}})['then'](function(){_0x6ea3d8[_0x477d('0x485')]({'title':_0x519575[_0x477d('0x45f')]('DASHBOARDS.INFO'),'msg':_0x519575['instant']('DASHBOARDS.CALL_DISPOSED')+'\x20'+(_0x408d8e['recallme']?_0x519575[_0x477d('0x45f')](_0x477d('0x164f')):_0x519575['instant'](_0x477d('0x1650')))});})[_0x477d('0xf8')](function(_0x251af7){_0x542fcc['hide'](_0x408d8e[_0x477d('0x163a')]?_0x408d8e[_0x477d('0x163a')][_0x477d('0x44f')]():'');})['finally'](function(){_0x408d8e[_0x477d('0x533')]=![];_0x542fcc[_0x477d('0x3bc')](_0x408d8e[_0x477d('0x163a')]?_0x408d8e[_0x477d('0x163a')]['toUpperCase']():'');});}}}());(function(){'use strict';_0x78cea9[_0x477d('0xa')]=['$scope','$state',_0x477d('0xd64'),'$mdDialog','$timeout',_0x477d('0x40e'),_0x477d('0x386'),_0x477d('0x100'),_0x477d('0x482'),_0x477d('0x55'),_0x477d('0x163c'),_0x477d('0x40d')];angular['module'](_0x477d('0x2d'))['controller']('RescheduleCallDialogController',_0x78cea9);function _0x78cea9(_0x522b7f,_0x3611a2,_0x468fea,_0x4e71c3,_0x2e1245,_0x19cacd,_0x19d401,_0x4a78b7,_0x144ce3,_0x4cce3d,_0x24c3b8,_0x4ca25a){var _0x123aa4=this;_0x123aa4[_0x477d('0x482')]=_0x144ce3;_0x123aa4[_0x477d('0x100')]=_0x4a78b7;_0x123aa4[_0x477d('0x1485')]={'minDate':new Date(),'dateTime':new Date()};_0x123aa4[_0x477d('0x6bf')]=_0x1a4c59;_0x123aa4[_0x477d('0x1651')]=_0x316ba4;function _0x316ba4(){_0x123aa4[_0x477d('0x533')]=!![];return _0x19d401[_0x477d('0xb79')][_0x477d('0xd70')]({'phone':_0x123aa4[_0x477d('0x100')][_0x477d('0xf46')],'UserId':_0x24c3b8?_0x4cce3d[_0x477d('0x5c')]()['id']:null,'ContactId':_0x123aa4[_0x477d('0x100')]['id'],'ListId':_0x123aa4[_0x477d('0x100')]['ListId'],'VoiceQueueId':Number(_0x123aa4[_0x477d('0x482')][_0x477d('0x1642')]),'scheduledat':moment(_0x123aa4[_0x477d('0x1485')][_0x477d('0x164e')])[_0x477d('0x12f')](_0x477d('0x38d')),'priority':0x3,'recallme':_0x24c3b8,'OwnerId':_0x4cce3d[_0x477d('0x5c')]()['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_0x19d401[_0x477d('0xb80')][_0x477d('0x710')]({'id':_0x123aa4[_0x477d('0x482')][_0x477d('0x648')],'rescheduled':!![],'rescheduledat':moment(_0x123aa4[_0x477d('0x1485')][_0x477d('0x164e')])[_0x477d('0x12f')]('YYYY-MM-DD\x20HH:mm:ss'),'recallme':_0x24c3b8})[_0x477d('0x38b')];})[_0x477d('0x76')](function(){_0x19cacd[_0x477d('0x485')]({'title':_0x4ca25a[_0x477d('0x45f')](_0x477d('0x1633')),'msg':_0x4ca25a['instant']('DASHBOARDS.CALL_DISPOSED')+'\x20'+(_0x24c3b8?_0x4ca25a[_0x477d('0x45f')](_0x477d('0x164f')):_0x4ca25a[_0x477d('0x45f')](_0x477d('0x1650')))});_0x4e71c3[_0x477d('0x3bc')]();})['catch'](function(_0x4db34e){_0x4e71c3[_0x477d('0x4f0')](_0x4db34e);})[_0x477d('0x5ff')](function(){_0x123aa4['disable']=![];});}function _0x1a4c59(){_0x4e71c3[_0x477d('0x4f0')]();}}}());(function(){'use strict';_0x3d9d4a[_0x477d('0xa')]=['$scope','$interval'];angular[_0x477d('0xb')](_0x477d('0x2c'))[_0x477d('0x3ba')](_0x477d('0x1652'),_0x3d9d4a);function _0x3d9d4a(_0x520a36,_0x204dd0){var _0x429780=this;var _0x3867f3=_0x204dd0(function(){},0x3e7);_0x520a36[_0x477d('0x4ec')](_0x477d('0x505'),function(){if(_0x3867f3){_0x204dd0[_0x477d('0x4f0')](_0x3867f3);_0x3867f3=null;}});}}());(function(){'use strict';_0x3149f2[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x3fe'),'$mdDialog',_0x477d('0x475'),_0x477d('0x387'),_0x477d('0x40d'),_0x477d('0x386'),'Auth',_0x477d('0x5a3'),_0x477d('0x40e')];angular[_0x477d('0xb')](_0x477d('0x2c'))[_0x477d('0x3ba')](_0x477d('0x1653'),_0x3149f2);function _0x3149f2(_0x4330f1,_0x222a79,_0x2864ea,_0x4c2e96,_0x9ccdc3,_0xd8105c,_0x2ff4ce,_0x3ad71e,_0x59a828,_0x57439a){var _0x2de890=this;_0x2de890[_0x477d('0x1654')]=![];_0x2de890[_0x477d('0x911')]=!![];_0x2de890[_0x477d('0x533')]=[];_0x2de890[_0x477d('0xb95')]={'count':0x0,'rows':[]};_0x2de890[_0x477d('0x3e5')]=_0x3ad71e['getCurrentUser']();_0x2de890['queues']={};_0x2de890[_0x477d('0x1655')]={'count':0x0,'rows':[]};_0x2de890[_0x477d('0x3ef')]={'fields':_0x477d('0x1656'),'type':_0x477d('0x127'),'queuecallerexitreason':_0x477d('0x1657')+','+_0x477d('0x1658'),'sort':_0x477d('0x59'),'limit':0xa,'page':0x1};_0x2de890[_0x477d('0x1659')]=_0x1cbc23;_0x2de890['refreshAbandonedCalls']=_0x26f48a;_0x2de890[_0x477d('0x71a')]=_0x3b251a;_0x2de890['reserved']=_0x152281;_0x2de890[_0x477d('0x482')]=_0x4330f1[_0x477d('0x723')][_0x477d('0x723')][_0x477d('0x723')][_0x477d('0x723')]['vm'][_0x477d('0x482')];_0x2de890[_0x477d('0x4a5')]=_0x4330f1[_0x477d('0x723')]['$parent'][_0x477d('0x723')][_0x477d('0x723')]['vm'][_0x477d('0x4a5')];_0x2de890['webcall']=_0x4330f1['$parent']['$parent']['$parent'][_0x477d('0x723')]['vm'][_0x477d('0x165a')];_0x2de890['webtransfer']=_0x4330f1[_0x477d('0x723')][_0x477d('0x723')][_0x477d('0x723')][_0x477d('0x723')]['vm'][_0x477d('0x165b')];_0x2de890[_0x477d('0x165c')]=_0x3f53ff;_0x2de890[_0x477d('0x165d')]=_0x39547a;_0x59a828[_0x477d('0x165e')](_0x477d('0x165f'),_0x17e357);_0x59a828['onWithoutApply'](_0x477d('0x1660'),_0x5c2ddf);_0x3b251a();function _0x3b251a(){return _0x2ff4ce[_0x477d('0xb95')]['get']({'MailAccountId':_0x477d('0xea'),'FaxAccountId':_0x477d('0xea'),'SmsAccountId':_0x477d('0xea'),'WhatsappAccountId':_0x477d('0xea'),'OpenchannelAccountId':_0x477d('0xea'),'ChatWebsiteId':_0x477d('0xea')})[_0x477d('0x38b')]['then'](function(_0xc2fda3){_0x2de890[_0x477d('0xb95')]=_0xc2fda3?_0xc2fda3[_0x477d('0xf2')]:[];return _0x2ff4ce['user'][_0x477d('0x1418')]({'id':_0x3ad71e[_0x477d('0x5c')]()['id'],'fields':_0x477d('0x9c'),'channel':_0x477d('0x108'),'type':_0x477d('0x127'),'nolimit':!![]})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x8b2d2c){_0x2de890['queues']=_0x8b2d2c||{'count':0x0,'rows':[]};_0x2de890[_0x477d('0x1661')]=_[_0x477d('0x14bb')](_[_0x477d('0xdb5')](_0x2de890['queues'][_0x477d('0xf2')],_0x477d('0x94')),_0x477d('0x94'));_0x2de890[_0x477d('0x1662')]=_0x2de890[_0x477d('0xf2f')][_0x477d('0xf2')]?_['map'](_0x2de890[_0x477d('0xf2f')][_0x477d('0xf2')],_0x477d('0x94'))[_0x477d('0x3f6')](','):undefined;})[_0x477d('0x76')](function(){_0x2de890[_0x477d('0x1349')]=_0x2b4ddd();})[_0x477d('0xf8')](function(_0x3082b1){console[_0x477d('0x7b')](_0x3082b1);})['finally'](function(){var _0x43b83e=_0x9ccdc3[_0x477d('0x39d')][_0x477d('0x3f8')](_0x477d('0x1663')+_0x2de890[_0x477d('0x3e5')]['id']);if(_0x43b83e){_0x43b83e=JSON[_0x477d('0x77')](_0x43b83e);if(_0x43b83e[_0x477d('0x3ef')]){_0x2de890[_0x477d('0x3ef')]=_['merge'](_0x43b83e[_0x477d('0x3ef')],_[_0x477d('0x3fc')](_0x2de890['query'],[_0x477d('0x568'),_0x477d('0x91d'),_0x477d('0xe03')]));_0x2de890[_0x477d('0x3ef')]=_[_0x477d('0x3fc')](_0x2de890[_0x477d('0x3ef')],_0x477d('0x3b3'));}}else{var _0x21c786={'$gte':moment()['startOf'](_0x477d('0x6fd'))[_0x477d('0x12e')](0x0,!![])['format'](),'$lte':moment()['endOf'](_0x477d('0x6fd'))[_0x477d('0x12e')](0x0,!![])[_0x477d('0x12f')]()};_0x2de890[_0x477d('0x3ef')]['createdAt']=_0x21c786;}_0x2de890[_0x477d('0x1664')]=_0x2de890['query'][_0x477d('0x3b3')]?!![]:![];_0x2de890[_0x477d('0x1659')]();});}function _0x2b4ddd(){return[{'name':_0x477d('0x134a'),'key':_0x477d('0xe37'),'type':_0x477d('0x420'),'label':'DASHBOARDS.SELECT_DATE'},{'name':_0x477d('0x125d'),'key':_0x477d('0x125b'),'type':'select','label':_0x477d('0x1353'),'customOptions':[{'value':_0x2de890['currentUser']['id'],'translate':_0x477d('0x1373')},{'value':_0x477d('0x1665'),'translate':_0x477d('0x1354')},{'value':undefined,'translate':'DASHBOARDS.ALL'}]},{'name':'Campaign','key':_0x477d('0x1256'),'type':_0x477d('0x413'),'label':'DASHBOARDS.SELECT_CAMPAIGN','options':_0x2de890[_0x477d('0xf2f')][_0x477d('0xf2')],'ngValue':'name','clearAll':![]}];}function _0x1cbc23(){_0x2de890[_0x477d('0x3ef')][_0x477d('0x1256')]=_0x2de890[_0x477d('0x3ef')][_0x477d('0x1256')]||_0x2de890['defaultQueues'][_0x477d('0x472')](',');_0x2de890[_0x477d('0x3ef')]['offset']=(_0x2de890[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x2de890[_0x477d('0x3ef')][_0x477d('0x91d')];var _0x23b474={'query':_0x2de890[_0x477d('0x3ef')]};_0x9ccdc3[_0x477d('0x39d')][_0x477d('0x3fa')](_0x477d('0x1663')+_0x2de890[_0x477d('0x3e5')]['id'],JSON[_0x477d('0x3fb')](_0x23b474));_0x2de890[_0x477d('0x553')]=_0x2ff4ce['voiceQueueReport'][_0x477d('0x1666')](_0x2de890[_0x477d('0x3ef')],_0x53bf84)[_0x477d('0x38b')];}function _0x53bf84(_0x328454){_0x2de890[_0x477d('0x1655')]=_0x328454||{'count':0x0,'rows':[]};_0x2de890[_0x477d('0x911')]=!![];}function _0x3f53ff(){_0x2de890[_0x477d('0x3ef')][_0x477d('0x3b3')]=undefined;_0x2de890[_0x477d('0x1664')]=![];}function _0x39547a(){_0x2de890[_0x477d('0x1664')]=!![];}var _0x5d6413=!![];var _0x12b241=0x1;_0x4330f1[_0x477d('0x4b5')](_0x477d('0x1667'),function(_0x1bcd2d,_0x3fb194){if(_0x5d6413){_0x222a79(function(){_0x5d6413=![];});}else{if(!_0x3fb194){_0x12b241=_0x2de890[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x1bcd2d!==_0x3fb194){_0x2de890[_0x477d('0x3ef')]['page']=0x1;}if(!_0x1bcd2d){_0x2de890[_0x477d('0x3ef')][_0x477d('0xe03')]=_0x12b241;}_0x2de890[_0x477d('0x1659')]();}});function _0x26f48a(){_0x2de890[_0x477d('0x1654')]=![];_0x2de890['getAbandonedCalls']();}function _0x152281(_0x2e4f59,_0x3ca756){if(_0x2e4f59){_0x2de890[_0x477d('0x533')][_0x2e4f59['id']]=!![];_0x2ff4ce[_0x477d('0xaa0')]['update']({'id':_0x2e4f59['id'],'lastAssignedTo':_0x2e4f59[_0x477d('0x1668')]?_0x2de890['currentUser'][_0x477d('0x94')]:null,'assigned':_0x2e4f59[_0x477d('0x1668')],'disposition':_0x3ca756?_0x3ca756:null})[_0x477d('0x38b')][_0x477d('0xf8')](function(_0x8ce565){console[_0x477d('0x7b')](_0x8ce565);})[_0x477d('0x5ff')](function(){_0x2de890[_0x477d('0x533')][_0x2e4f59['id']]=![];});}}function _0x17e357(_0x5f25d9){if(_0x2de890['queuesMap']&&_0x5f25d9[_0x477d('0x439')]===_0x477d('0x127')&&_0x2de890[_0x477d('0x1661')][_0x5f25d9[_0x477d('0x1256')]]){_0x2de890['showTooltip']=!![];}}function _0x5c2ddf(_0x264444){if(_0x264444){var _0x31f2d8=_['findIndex'](_0x2de890['abandonedCalls'][_0x477d('0xf2')],['id',_0x264444['id']]);if(_0x31f2d8>=0x0){_[_0x477d('0xef')](_0x2de890[_0x477d('0x1655')][_0x477d('0xf2')][_0x31f2d8],_0x264444);}}}_0x4330f1[_0x477d('0x4ec')](_0x477d('0x505'),function(){_0x59a828[_0x477d('0x6b8')]('voiceQueueReport:save');_0x59a828[_0x477d('0x6b8')](_0x477d('0x1660'));});}}());(function(){'use strict';_0x114024[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x3fe'),_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x387'),_0x477d('0x40d'),'api',_0x477d('0x55'),'socket',_0x477d('0x40e')];angular[_0x477d('0xb')](_0x477d('0x2c'))[_0x477d('0x3ba')](_0x477d('0x1669'),_0x114024);function _0x114024(_0x34ed27,_0x3532eb,_0xd2f611,_0x1138c4,_0x2a4747,_0x5e0253,_0x4ca5e8,_0x4a0f37,_0x3e4982,_0x51619f){var _0x14d566=this;_0x14d566['showTooltip']=![];_0x14d566[_0x477d('0x911')]=!![];_0x14d566[_0x477d('0x533')]=[];_0x14d566[_0x477d('0xb95')]={'count':0x0,'rows':[]};_0x14d566[_0x477d('0x3e5')]=_0x4a0f37[_0x477d('0x5c')]();_0x14d566[_0x477d('0xf2f')]={};_0x14d566[_0x477d('0x1655')]={'count':0x0,'rows':[]};_0x14d566[_0x477d('0x3ef')]={'fields':_0x477d('0x1656'),'type':'inbound','queuecallerexitreason':_0x477d('0x1657')+','+_0x477d('0x1658'),'sort':_0x477d('0x59'),'limit':0xa,'page':0x1};_0x14d566[_0x477d('0x1659')]=_0x58e84d;_0x14d566['refreshAbandonedCalls']=_0x5bef01;_0x14d566[_0x477d('0x71a')]=_0x4a50d8;_0x14d566[_0x477d('0x166a')]=_0x29a0fb;_0x14d566[_0x477d('0x482')]=_0x34ed27[_0x477d('0x723')][_0x477d('0x723')][_0x477d('0x723')][_0x477d('0x723')]['vm'][_0x477d('0x482')];_0x14d566['transfer']=_0x34ed27[_0x477d('0x723')][_0x477d('0x723')][_0x477d('0x723')][_0x477d('0x723')]['vm'][_0x477d('0x4a5')];_0x14d566['webcall']=_0x34ed27[_0x477d('0x723')][_0x477d('0x723')][_0x477d('0x723')][_0x477d('0x723')]['vm'][_0x477d('0x165a')];_0x14d566[_0x477d('0x165b')]=_0x34ed27['$parent'][_0x477d('0x723')][_0x477d('0x723')][_0x477d('0x723')]['vm'][_0x477d('0x165b')];_0x14d566[_0x477d('0x165c')]=_0x456032;_0x14d566[_0x477d('0x165d')]=_0x1091b7;_0x3e4982[_0x477d('0x165e')](_0x477d('0x165f'),_0xdb4970);_0x3e4982[_0x477d('0x165e')]('voiceQueueReport:update',_0xcd57f5);_0x4a50d8();function _0x4a50d8(){return _0x4ca5e8[_0x477d('0xb95')][_0x477d('0x376')]({'MailAccountId':_0x477d('0xea'),'FaxAccountId':_0x477d('0xea'),'SmsAccountId':'null','WhatsappAccountId':_0x477d('0xea'),'OpenchannelAccountId':_0x477d('0xea'),'ChatWebsiteId':'null'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0xf7c2f1){_0x14d566[_0x477d('0xb95')]=_0xf7c2f1?_0xf7c2f1['rows']:[];return _0x4ca5e8['user'][_0x477d('0x1418')]({'id':_0x4a0f37[_0x477d('0x5c')]()['id'],'fields':_0x477d('0x9c'),'channel':_0x477d('0x108'),'type':_0x477d('0x9e'),'nolimit':!![]})['$promise'];})[_0x477d('0x76')](function(_0x296fcb){_0x14d566['queues']=_0x296fcb||{'count':0x0,'rows':[]};_0x14d566[_0x477d('0x1661')]=_[_0x477d('0x14bb')](_[_0x477d('0xdb5')](_0x14d566[_0x477d('0xf2f')][_0x477d('0xf2')],_0x477d('0x94')),'name');_0x14d566[_0x477d('0x1662')]=_0x14d566[_0x477d('0xf2f')][_0x477d('0xf2')]?_['map'](_0x14d566[_0x477d('0xf2f')][_0x477d('0xf2')],'name')[_0x477d('0x3f6')](','):undefined;})[_0x477d('0x76')](function(){_0x14d566[_0x477d('0x1349')]=_0x181709();})['catch'](function(_0x567a04){console['log'](_0x567a04);})['finally'](function(){var _0x11202d=_0x2a4747['localStorage'][_0x477d('0x3f8')](_0x477d('0x166b')+_0x14d566['currentUser']['id']);if(_0x11202d){_0x11202d=JSON['parse'](_0x11202d);if(_0x11202d[_0x477d('0x3ef')]){_0x14d566[_0x477d('0x3ef')]=_[_0x477d('0xef')](_0x11202d['query'],_[_0x477d('0x3fc')](_0x14d566[_0x477d('0x3ef')],[_0x477d('0x568'),'limit',_0x477d('0xe03')]));_0x14d566[_0x477d('0x3ef')]=_[_0x477d('0x3fc')](_0x14d566[_0x477d('0x3ef')],_0x477d('0x3b3'));}}else{var _0x551fe6={'$gte':moment()[_0x477d('0x12d')](_0x477d('0x6fd'))[_0x477d('0x12e')](0x0,!![])[_0x477d('0x12f')](),'$lte':moment()[_0x477d('0x130')](_0x477d('0x6fd'))[_0x477d('0x12e')](0x0,!![])[_0x477d('0x12f')]()};_0x14d566[_0x477d('0x3ef')][_0x477d('0xe37')]=_0x551fe6;}_0x14d566[_0x477d('0x1664')]=_0x14d566['query']['filter']?!![]:![];_0x14d566[_0x477d('0x1659')]();});}function _0x181709(){return[{'name':_0x477d('0x134a'),'key':'createdAt','type':'date','label':_0x477d('0x134b')},{'name':_0x477d('0x125d'),'key':_0x477d('0x125b'),'type':_0x477d('0x462'),'label':_0x477d('0x1353'),'customOptions':[{'value':_0x14d566[_0x477d('0x3e5')]['id'],'translate':_0x477d('0x1373')},{'value':_0x477d('0x1665'),'translate':'DASHBOARDS.NOT_ASSIGNED'},{'value':undefined,'translate':'DASHBOARDS.ALL'}]},{'name':_0x477d('0x166c'),'key':'queue','type':_0x477d('0x413'),'label':_0x477d('0x166d'),'options':_0x14d566[_0x477d('0xf2f')]['rows'],'ngValue':_0x477d('0x94'),'clearAll':![]}];}function _0x58e84d(){_0x14d566[_0x477d('0x3ef')][_0x477d('0x1256')]=_0x14d566['query'][_0x477d('0x1256')]||_0x14d566['defaultQueues'][_0x477d('0x472')](',');_0x14d566['query'][_0x477d('0x91c')]=(_0x14d566['query'][_0x477d('0xe03')]-0x1)*_0x14d566['query'][_0x477d('0x91d')];var _0x3fd0d9={'query':_0x14d566[_0x477d('0x3ef')]};_0x2a4747[_0x477d('0x39d')][_0x477d('0x3fa')](_0x477d('0x166b')+_0x14d566[_0x477d('0x3e5')]['id'],JSON['stringify'](_0x3fd0d9));_0x14d566[_0x477d('0x553')]=_0x4ca5e8['voiceQueueReport'][_0x477d('0x1666')](_0x14d566[_0x477d('0x3ef')],_0x50bf7f)[_0x477d('0x38b')];}function _0x50bf7f(_0xdfa6e0){_0x14d566[_0x477d('0x1655')]=_0xdfa6e0||{'count':0x0,'rows':[]};_0x14d566[_0x477d('0x911')]=!![];}function _0x456032(){_0x14d566['query']['filter']=undefined;_0x14d566['isSearchBarVisible']=![];}function _0x1091b7(){_0x14d566[_0x477d('0x1664')]=!![];}var _0x47234d=!![];var _0x5bd189=0x1;_0x34ed27['$watch'](_0x477d('0x166e'),function(_0x92d982,_0x50e2d9){if(_0x47234d){_0x3532eb(function(){_0x47234d=![];});}else{if(!_0x50e2d9){_0x5bd189=_0x14d566[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x92d982!==_0x50e2d9){_0x14d566[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0x92d982){_0x14d566[_0x477d('0x3ef')]['page']=_0x5bd189;}_0x14d566['getAbandonedCalls']();}});function _0x5bef01(){_0x14d566['showTooltip']=![];_0x14d566[_0x477d('0x1659')]();}function _0x29a0fb(_0x3aa048,_0xb52eea){if(_0x3aa048){_0x14d566['disable'][_0x3aa048['id']]=!![];_0x4ca5e8[_0x477d('0xaa0')][_0x477d('0x710')]({'id':_0x3aa048['id'],'lastAssignedTo':_0x3aa048['assigned']?_0x14d566[_0x477d('0x3e5')][_0x477d('0x94')]:null,'assigned':_0x3aa048[_0x477d('0x1668')],'disposition':_0xb52eea?_0xb52eea:null})[_0x477d('0x38b')][_0x477d('0xf8')](function(_0x34a982){console[_0x477d('0x7b')](_0x34a982);})['finally'](function(){_0x14d566['disable'][_0x3aa048['id']]=![];});}}function _0xdb4970(_0x5df930){if(_0x14d566[_0x477d('0x1661')]&&_0x5df930['type']===_0x477d('0x9e')&&_0x14d566[_0x477d('0x1661')][_0x5df930[_0x477d('0x1256')]]){_0x14d566['showTooltip']=!![];}}function _0xcd57f5(_0x2ec2d6){if(_0x2ec2d6){var _0x2e4a79=_[_0x477d('0x45a')](_0x14d566[_0x477d('0x1655')]['rows'],['id',_0x2ec2d6['id']]);if(_0x2e4a79>=0x0){_[_0x477d('0xef')](_0x14d566[_0x477d('0x1655')][_0x477d('0xf2')][_0x2e4a79],_0x2ec2d6);}}}_0x34ed27['$on'](_0x477d('0x505'),function(){_0x3e4982[_0x477d('0x6b8')]('voiceQueueReport:save');_0x3e4982[_0x477d('0x6b8')](_0x477d('0x1660'));});}}());(function(){'use strict';_0x36ea16['$inject']=['$scope',_0x477d('0x387'),'Auth',_0x477d('0x15ea'),_0x477d('0x157e')];angular[_0x477d('0xb')]('app.dashboards')[_0x477d('0x3ba')](_0x477d('0x166f'),_0x36ea16);function _0x36ea16(_0x40ec5b,_0x5f52c8,_0x222810,_0x25a4c3,_0x53cf9f){var _0xdf5d45=this;_0xdf5d45[_0x477d('0x380')]=_0x222810[_0x477d('0x5c')]();_0xdf5d45['license']={};_0xdf5d45[_0x477d('0xcba')]={};_0xdf5d45[_0x477d('0xc8e')]={};_0xdf5d45[_0x477d('0x1670')]=_0x477d('0xad2');_0xdf5d45[_0x477d('0x157e')]=_0x53cf9f;_0xdf5d45[_0x477d('0x56d')]=_0x25a4c3['getNavigation']();_0xdf5d45[_0x477d('0x15d5')]=_0x40ec5b[_0x477d('0x723')]['vm'][_0x477d('0x15d5')];_0xdf5d45[_0x477d('0x1588')]=_0x40ec5b[_0x477d('0x723')]['vm'][_0x477d('0x1588')];_0xdf5d45[_0x477d('0x5ee')]=_0x44e4e3;_0xdf5d45[_0x477d('0x1671')]=_0x49e7c4;_0xdf5d45[_0x477d('0x37c')]=_0x221062;function _0x44e4e3(_0x1400c6,_0x4ca2f1){_0xdf5d45[_0x477d('0x613')]=_0x1400c6;_0xdf5d45[_0x477d('0xc8e')]=_0x4ca2f1;var _0x1bfb68=_0x5f52c8[_0x477d('0x39d')]['getItem']('motion2.home:'+_0xdf5d45['user']['id']);if(_0x1bfb68){try{_0x1bfb68=JSON[_0x477d('0x77')](_0x1bfb68);_0xdf5d45[_0x477d('0x1670')]=_0x1bfb68[_0x477d('0x15e8')]?_0x1bfb68[_0x477d('0x15e8')]:_0x477d('0xad2');}catch(_0x62fd1b){console[_0x477d('0x44a')](_0x62fd1b);_0xdf5d45['sidebar']='dashboard';}if(_0xdf5d45['sidebar']===_0x477d('0x1d6')){_0xdf5d45[_0x477d('0x157e')][_0x477d('0x5ee')]();}}}function _0x221062(_0x140696){return _0x222810[_0x477d('0x37c')](_0x140696);}function _0x49e7c4(_0x580b66){_0xdf5d45[_0x477d('0x1670')]=_0x580b66[_0x477d('0x1672')];if(_0xdf5d45[_0x477d('0x1670')]===_0x477d('0xcba')){_0xdf5d45[_0x477d('0xcba')]=_0x580b66[_0x477d('0x56a')];_0xdf5d45[_0x477d('0x1673')]=_0x580b66['id'];_0x40ec5b['$broadcast']('pluginUpdated',{'plugin':_0xdf5d45['plugin']});}_0x5f52c8[_0x477d('0x39d')]['setItem'](_0x477d('0x15e7')+_0xdf5d45[_0x477d('0x380')]['id'],JSON[_0x477d('0x3fb')]({'currentSidebarTab':_0x580b66[_0x477d('0x1672')]}));}_0x40ec5b['$watch'](_0x477d('0x1674'),function(_0x19715a,_0x36dc40){if(_0x19715a==='mail'){_0xdf5d45[_0x477d('0x157e')][_0x477d('0x5ee')]();}else{_0xdf5d45[_0x477d('0x157e')][_0x477d('0x15e2')]={};}});}}());(function(){'use strict';_0x4e960d[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x3fe'),'$mdDialog',_0x477d('0x475'),_0x477d('0x387'),_0x477d('0x40d'),_0x477d('0x386'),_0x477d('0x55'),_0x477d('0x5a3'),'toasty'];angular[_0x477d('0xb')](_0x477d('0x2c'))[_0x477d('0x3ba')](_0x477d('0x1675'),_0x4e960d);function _0x4e960d(_0x5622e0,_0x1f1440,_0x2a888e,_0xd4c24d,_0x10d1ba,_0x509892,_0x3b1742,_0x2e731a,_0x3d3c55,_0x1f43e1){var _0xce3931=this;_0xce3931[_0x477d('0x380')]=_0x2e731a[_0x477d('0x5c')]();_0xce3931['license']={};_0xce3931[_0x477d('0xc8e')]={};_0xce3931[_0x477d('0x1263')]={'count':0x0,'rows':[]};_0xce3931[_0x477d('0x1676')]={'count':0x0,'rows':[]};_0xce3931[_0x477d('0x3ef')]={'includeAll':!![],'sort':_0x477d('0x59'),'limit':0xa,'page':0x1,'read':null,'closed':null};_0xce3931[_0x477d('0x3eb')]={'fields':[{'name':'Id','column':'id','type':_0x477d('0x421')},{'name':_0x477d('0x1370'),'column':_0x477d('0x1370'),'type':_0x477d('0x443'),'options':{'searchFields':[_0x477d('0x1357'),_0x477d('0x1358'),_0x477d('0x1359')],'route':{'model':_0x477d('0xb6c'),'action':'get','params':{'fields':_0x477d('0x1677'),'Contact':_0x477d('0x444'),'nolimit':!![]}},'extraOperators':[_0x477d('0x135a')],'excludedOperators':['$ne']}},{'name':_0x477d('0x135d'),'column':_0x477d('0x399'),'type':_0x477d('0x41b'),'options':{'excludedOperators':[_0x477d('0x412'),_0x477d('0x414')]}},{'name':_0x477d('0x135e'),'column':_0x477d('0x1351'),'type':'select','values':[{'id':0x0,'translate':_0x477d('0x135f')},{'id':0x1,'translate':_0x477d('0x1352')}],'options':{'excludedOperators':['$ne']}},{'name':_0x477d('0x1678'),'column':_0x477d('0x1679'),'type':_0x477d('0x41b'),'options':{'excludedOperators':[_0x477d('0x412'),_0x477d('0x414'),_0x477d('0x418'),_0x477d('0x167a')]}},{'name':_0x477d('0x125d'),'column':_0x477d('0x167b'),'type':_0x477d('0x443'),'options':{'table':'i','route':{'model':_0x477d('0x380'),'action':_0x477d('0x376'),'params':{'role':_0x477d('0xcf'),'fields':_0x477d('0x1360'),'nolimit':!![]}},'searchFields':[_0x477d('0xcd'),_0x477d('0x94')],'extraOperators':[_0x477d('0x135a')],'excludedOperators':[_0x477d('0x414')]}},{'name':_0x477d('0x167c'),'column':_0x477d('0x1237'),'type':_0x477d('0x413'),'options':{'route':{'model':_0x477d('0x380'),'action':_0x477d('0x1223'),'params':{'id':_0xce3931[_0x477d('0x380')]['id'],'nolimit':!![]}}}},{'name':_0x477d('0x102'),'column':'Tag','type':_0x477d('0x413'),'options':{'route':{'model':_0x477d('0xbb0'),'action':_0x477d('0x376'),'params':{'nolimit':!![]}},'excludedOperators':[_0x477d('0x3f5')]}},{'name':_0x477d('0x134a'),'column':_0x477d('0xe37'),'type':'date','options':{'excludedOperators':[_0x477d('0x414')]}},{'name':'Read','column':_0x477d('0x167d'),'type':_0x477d('0x462'),'values':[{'id':0x1,'translate':_0x477d('0x134f')},{'id':0x0,'translate':_0x477d('0x167e')}],'options':{'excludedOperators':['$ne']}}]};_0xce3931[_0x477d('0x167f')]=_0x477d('0x14b1');_0xce3931[_0x477d('0x71a')]=_0x563bb4;_0xce3931[_0x477d('0x485')]=_0x38456f;_0xce3931[_0x477d('0x1680')]=_0x1a5c1b;_0xce3931[_0x477d('0x1681')]=_0x488112;_0xce3931[_0x477d('0x1682')]=_0x58d100;_0xce3931[_0x477d('0x1683')]=_0x3a887f;_0xce3931[_0x477d('0x1684')]=_0x3d4e3f;_0xce3931['getAgentLabel']=_0x255ac2;_0xce3931[_0x477d('0x1685')]=_0x5cc563;_0xce3931[_0x477d('0x165c')]=_0x4a3815;_0xce3931[_0x477d('0x165d')]=_0x1f32c7;_0xce3931[_0x477d('0x1686')]=_0x1a7aee;function _0x563bb4(_0x61c759,_0x3f2690){_0xce3931[_0x477d('0x613')]=_0x61c759;_0xce3931[_0x477d('0xc8e')]=_0x3f2690;return _0x3b1742[_0x477d('0x380')][_0x477d('0x376')+_[_0x477d('0x1367')](_0x477d('0xc0'))]({'id':_0xce3931[_0x477d('0x380')]['id'],'nolimit':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x548064){_0xce3931[_0x477d('0x1610')]=_0x548064||{'count':0x0,'rows':[]};return _0x3b1742['tag'][_0x477d('0x376')]()[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x38f7cb){_0xce3931[_0x477d('0x1263')]=_0x38f7cb||{'count':0x0,'rows':[]};})[_0x477d('0x76')](function(){_0xce3931['quickFilters']=_0x5dfc6d();})[_0x477d('0xf8')](function(_0x25cff1){console['error'](_0x25cff1);})[_0x477d('0x5ff')](function(){var _0x5ed78a=_0x10d1ba['localStorage'][_0x477d('0x3f8')](_0x477d('0x1687')+_0xce3931[_0x477d('0x380')]['id']);if(_0x5ed78a){try{_0x5ed78a=JSON[_0x477d('0x77')](_0x5ed78a);if(_0x5ed78a[_0x477d('0x3ef')]){_0xce3931[_0x477d('0x3ef')]=_[_0x477d('0xef')](_0xce3931[_0x477d('0x3ef')],_0x5ed78a[_0x477d('0x3ef')]);if(_[_0x477d('0x3b2')](_0xce3931[_0x477d('0x1610')]['rows'])){_0xce3931['query'][_0x477d('0x1237')]=[];}else if(_[_0x477d('0x3b2')](_0xce3931['query']['ChatWebsiteId'])){_0xce3931[_0x477d('0x3ef')][_0x477d('0x1237')]=_(_0xce3931[_0x477d('0x1610')][_0x477d('0xf2')])['map']('id')[_0x477d('0x1688')]()[_0x477d('0x3b6')]();}if(_0xce3931[_0x477d('0x3ef')][_0x477d('0x568')]&&_0xce3931[_0x477d('0x3ef')]['sort'][_0x477d('0x477')](_0x477d('0x1689'))>=0x0){_0xce3931[_0x477d('0x3ef')]=_['omit'](_0xce3931[_0x477d('0x3ef')],_0x477d('0x568'));}_0xce3931['query'][_0x477d('0x168a')]=!![];_0xce3931['isSearchBarVisible']=_0xce3931[_0x477d('0x3ef')][_0x477d('0x3b3')]?!![]:![];}}catch(_0x53c9f0){console[_0x477d('0x44a')](_0x53c9f0);}}else{var _0x263786={'$gte':moment()['startOf'](_0x477d('0x6fd'))[_0x477d('0x12e')](0x0,!![])[_0x477d('0x12f')](),'$lte':moment()[_0x477d('0x130')]('month')[_0x477d('0x12e')](0x0,!![])['format']()};var _0x3b58fa={'ChatWebsiteId':_['map'](_0xce3931[_0x477d('0x1610')][_0x477d('0xf2')],'id'),'createdAt':_0x263786};_0xce3931[_0x477d('0x3ef')]=_['merge'](_0xce3931[_0x477d('0x3ef')],_0x3b58fa);}_0x3d3c55['on'](_0x477d('0x168b'),_0x228289);_0x3d3c55['on'](_0x477d('0x168c'),_0x228289);_0x3d3c55['on']('chatInteractionTags:save',_0x2219a2);_0x3d3c55['on']('chatMessage:save',_0x3e9f44);_0x3d3c55['on']('chatMessage:update',_0x3e9f44);_0x3d3c55['on'](_0x477d('0x168d'),_0x529a35);_0x3d3c55['on'](_0x477d('0x168e'),_0x4c05ab);_0x1a5c1b(_0xce3931[_0x477d('0x3ef')][_0x477d('0xe03')]);});}function _0x5dfc6d(){return[{'name':_0x477d('0x134a'),'key':'createdAt','type':_0x477d('0x420'),'label':_0x477d('0x134b')},{'name':_0x477d('0x134c'),'key':_0x477d('0x134d'),'type':'select','label':_0x477d('0x134e'),'customOptions':[{'value':0x0,'translate':'DASHBOARDS.UNREAD'},{'value':0x1,'translate':_0x477d('0x134f')},{'value':null,'translate':'DASHBOARDS.ALL'}]},{'name':_0x477d('0x135e'),'key':_0x477d('0x1351'),'type':_0x477d('0x462'),'label':_0x477d('0x168f'),'customOptions':[{'value':0x0,'translate':_0x477d('0x135f')},{'value':0x1,'translate':_0x477d('0x1352')},{'value':null,'translate':'DASHBOARDS.ALL'}]},{'name':_0x477d('0x167c'),'key':'ChatWebsiteId','type':'multiselect','label':_0x477d('0x1690'),'options':_0xce3931['chatAccounts'][_0x477d('0xf2')],'clearAll':![]},{'name':_0x477d('0x125d'),'key':_0x477d('0x125b'),'type':_0x477d('0x462'),'label':'DASHBOARDS.SELECT_AGENT','customOptions':[{'value':_0xce3931[_0x477d('0x380')]['id'],'translate':_0x477d('0x1373')},{'value':_0x477d('0xea'),'translate':_0x477d('0x1354')},{'value':undefined,'translate':_0x477d('0x1350')}]},{'name':_0x477d('0x1264'),'key':_0x477d('0xbb0'),'type':_0x477d('0x413'),'label':'DASHBOARDS.SELECT_TAG','options':_0xce3931[_0x477d('0x1263')][_0x477d('0xf2')],'placeholder':_0x477d('0x1356')}];}function _0x38456f(_0x5bca7c){_0xce3931[_0x477d('0x1691')]=![];_0xce3931[_0x477d('0x1676')]=_0x5bca7c||{'count':0x0,'rows':[]};for(var _0x198ce5=0x0;_0x198ce5<_0xce3931[_0x477d('0x1676')][_0x477d('0xf2')][_0x477d('0x79')];_0x198ce5+=0x1){_0x3d4e3f(_0xce3931[_0x477d('0x1676')][_0x477d('0xf2')][_0x198ce5]);}}function _0x1a5c1b(_0x3658d9,_0x7f862a){_0xce3931[_0x477d('0x1691')]=!![];if(!_0x3658d9){_0xce3931[_0x477d('0x3ef')]['page']=0x1;}_0xce3931['query']['offset']=(_0xce3931['query']['page']-0x1)*_0xce3931['query'][_0x477d('0x91d')];var _0x5f0bd5=_0x10d1ba['localStorage'][_0x477d('0x3f8')](_0x477d('0x1687')+_0xce3931[_0x477d('0x380')]['id']);_0x5f0bd5=_0x5f0bd5?JSON[_0x477d('0x77')](_0x5f0bd5):{};_0x5f0bd5['query']=_0xce3931[_0x477d('0x3ef')];_0x10d1ba['localStorage'][_0x477d('0x3fa')](_0x477d('0x1687')+_0xce3931[_0x477d('0x380')]['id'],JSON['stringify'](_0x5f0bd5));_0xce3931[_0x477d('0x553')]=_0x3b1742[_0x477d('0xb4a')][_0x477d('0x376')](_0xce3931[_0x477d('0x3ef')],_0x38456f)[_0x477d('0x38b')];}function _0x488112(_0x4bbf62,_0x3d6931){_0x5622e0[_0x477d('0x723')]['vm'][_0x477d('0x1588')](_0x477d('0xb6'),_0x3d6931);}function _0x58d100(_0x1a7b33,_0x36eb71,_0x5dcd46){_0x3b1742['chatInteraction'][_0x477d('0x49d')]({'id':_0x36eb71['id'],'attachments':_0x5dcd46})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x4c29f4){var _0x437f18=[_0x4c29f4[_0x477d('0x49e')]];var _0x4a6918=_0x477d('0x1365')+_0x36eb71['id']+_0x477d('0x1366');var _0x595809=new Blob(_0x437f18,{'type':_0x4c29f4[_0x477d('0x439')]});var _0x1cac27=window['document'][_0x477d('0x3c7')]('a');_0x1cac27[_0x477d('0x494')](_0x477d('0x3c8'),URL[_0x477d('0x49f')](_0x595809));_0x1cac27['setAttribute'](_0x477d('0x49d'),_0x4a6918);document[_0x477d('0x399')][_0x477d('0xd8f')](_0x1cac27);_0x1cac27[_0x477d('0x540')]();})[_0x477d('0xf8')](function(_0x517228){if(_0x517228[_0x477d('0x451')]&&_0x517228[_0x477d('0x451')][_0x477d('0xd67')]&&_0x517228[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){for(var _0x5e061e=0x0;_0x5e061e<_0x517228[_0x477d('0x451')][_0x477d('0xd67')]['length'];_0x5e061e+=0x1){_0x1f43e1['error']({'title':_0x517228[_0x477d('0x451')][_0x477d('0xd67')][_0x5e061e][_0x477d('0x439')],'msg':_0x517228['data']['errors'][_0x5e061e]['message']});}}else{_0x1f43e1[_0x477d('0x44a')]({'title':_0x517228[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x517228[_0x477d('0x3c3')]+'\x20-\x20'+_0x517228[_0x477d('0x44d')]:_0x477d('0x1682'),'msg':_0x517228[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x517228[_0x477d('0x451')][_0x477d('0x452')]):_0x517228['toString']()});}});}function _0x3a887f(_0x571557,_0x4573e0){var _0x4a6a4d=_0xce3931[_0x477d('0x380')][_0x477d('0x624')]||_0xce3931[_0x477d('0x380')]['chatPause']||_0xce3931['user'][_0x477d('0x13b9')]||_0xce3931[_0x477d('0x380')][_0x477d('0x13d1')]||_0xce3931[_0x477d('0x380')][_0x477d('0x13bb')];var _0x26581c=!_0x4573e0[_0x477d('0x15a4')][_0x477d('0x15a0')];_0x2a888e[_0x477d('0x395')]({'controller':_0x477d('0x15a5'),'controllerAs':'vm','templateUrl':_0x477d('0x15a6'),'parent':angular[_0x477d('0x398')](_0xd4c24d[_0x477d('0x399')]),'clickOutsideToClose':_0x26581c,'escapeToClose':_0x26581c,'onRemoving':function(_0x58eadd,_0xd6653f){if(_0xce3931['user']&&_0x4573e0[_0x477d('0x15a4')][_0x477d('0x15a0')]&&!_0x4a6a4d){_0x3b1742[_0x477d('0x380')][_0x477d('0x15a7')]({'id':_0xce3931['user']['id']})[_0x477d('0x38b')][_0x477d('0xf8')](function(_0x1ecd96){console['error'](_0x1ecd96);});}},'locals':{'user':_0xce3931[_0x477d('0x380')],'channel':_0x477d('0xb6'),'interaction':_0x4573e0}});}function _0x3d4e3f(_0x4a93ce){if(_0x4a93ce['Contact']){_0x4a93ce[_0x477d('0x1371')]=(_0x4a93ce[_0x477d('0x1370')][_0x477d('0x1357')]||'')+'\x20'+(_0x4a93ce[_0x477d('0x1370')]['lastName']||'');}else{_0x4a93ce['contactName']=_0x509892[_0x477d('0x45f')]('DASHBOARDS.UNKNOWN');}}function _0x255ac2(_0xcfab43){if(_0xcfab43[_0x477d('0x125b')]){if(_0xcfab43[_0x477d('0x125b')]===_0xce3931[_0x477d('0x380')]['id']){return _0x509892[_0x477d('0x45f')]('DASHBOARDS.ME');}else{return _0xcfab43[_0x477d('0x1374')][_0x477d('0xcd')]+'\x20<'+_0xcfab43[_0x477d('0x1374')][_0x477d('0x324')]+'>';}}return _0x509892[_0x477d('0x45f')]('DASHBOARDS.NOT_ASSIGNED');}function _0x5cc563(_0x3acea6){if(_0x3acea6[_0x477d('0x15a4')]){return _0x3acea6[_0x477d('0x15a4')][_0x477d('0x670')];}return _0x509892[_0x477d('0x45f')](_0x477d('0x1372'));}function _0x529a35(_0x4a6981){var _0x3a155c;var _0x248b26=_['find'](_0xce3931[_0x477d('0x1676')]['rows'],{'id':_0x4a6981[_0x477d('0x1692')]});if(_0x248b26&&_0x248b26[_0x477d('0xdf4')]){_0x3a155c=_[_0x477d('0x10a')](_0x248b26['Users'],{'id':_0x4a6981[_0x477d('0x125b')]});if(!_0x3a155c){_0x248b26['Users']['push']({'id':_0x4a6981[_0x477d('0x125b')]});}}}function _0x4c05ab(_0x3983c3){var _0x46e744=_[_0x477d('0x10a')](_0xce3931['chatInteractions']['rows'],{'id':_0x3983c3[_0x477d('0x1692')]});if(_0x46e744&&_0x46e744[_0x477d('0xdf4')]){_[_0x477d('0x39c')](_0x46e744['Users'],{'id':_0x3983c3[_0x477d('0x125b')]});}}function _0x228289(_0x4c52aa){if(_0x4c52aa){var _0x242e43=_[_0x477d('0x10a')](_0xce3931[_0x477d('0x1676')][_0x477d('0xf2')],{'id':_0x4c52aa['id']});if(_0x242e43){_0x242e43['Users']=[];if(_0x4c52aa[_0x477d('0x1351')]){_0x242e43[_0x477d('0x167d')]=0x0;}if(_0xce3931[_0x477d('0x3ef')][_0x477d('0x568')]){var _0x5e26a7=_[_0x477d('0x1337')](_0xce3931['query'][_0x477d('0x568')],'-')?_0x477d('0x13ff'):'asc';_0xce3931['chatInteractions'][_0x477d('0xf2')]=_[_0x477d('0x1401')](_0xce3931['chatInteractions']['rows'],_['trimStart'](_0xce3931['query']['sort'],'-'),_0x5e26a7);}_[_0x477d('0xef')](_0x242e43,_['pick'](_0x4c52aa,_[_0x477d('0x7f')](_0x242e43)));}else{_0x1a5c1b(_0xce3931[_0x477d('0x3ef')][_0x477d('0xe03')]);}}}function _0x2219a2(_0x18877e){if(_0x18877e){var _0x33c7e3=_[_0x477d('0x10a')](_0xce3931[_0x477d('0x1676')][_0x477d('0xf2')],{'id':_0x18877e['id']});if(_0x33c7e3){_0x33c7e3[_0x477d('0x102')]=_0x18877e[_0x477d('0x1263')]||[];_[_0x477d('0xef')](_0x33c7e3,_[_0x477d('0x10b')](_0x18877e,_[_0x477d('0x7f')](_0x33c7e3)));}}}function _0x3e9f44(_0x50148b){if(_0x50148b&&!_0x50148b['secret']){var _0x533829=_[_0x477d('0x10a')](_0xce3931[_0x477d('0x1676')][_0x477d('0xf2')],{'id':_0x50148b[_0x477d('0x1692')]});if(_0x533829){var _0x2510da=_[_0x477d('0x10a')](_0x533829[_0x477d('0x134c')],{'id':_0x50148b['id']});if(_0x2510da){_[_0x477d('0xef')](_0x2510da,_[_0x477d('0x10b')](_0x50148b,_[_0x477d('0x7f')](_0x2510da)));}else{if(_[_0x477d('0x484')](_0x533829[_0x477d('0x134c')])){_0x533829[_0x477d('0x134c')]={'count':0x0};}if(!_0x50148b['read']){_0x533829[_0x477d('0x134c')][_0x477d('0x3bb')]+=0x1;}}}}}function _0x4a3815(){_0xce3931['isSearchBarVisible']=![];}function _0x1f32c7(){_0xce3931[_0x477d('0x1664')]=!![];}function _0x1a7aee(){_0xce3931[_0x477d('0x1664')]=![];_0x2a888e['show']({'controller':_0x477d('0x3e4'),'controllerAs':'vm','templateUrl':'app/core/dialogs/advanced-search/dialog.html','parent':angular['element'](_0xd4c24d[_0x477d('0x399')]),'clickOutsideToClose':![],'locals':{'color':_0xce3931['sectionColor'],'fields':_0xce3931[_0x477d('0x3eb')][_0x477d('0x458')],'storagePath':_0x477d('0x1693')},'fullscreen':!![]})['then'](function(_0x324d8e){_0xce3931['query']['search']=_0x324d8e===![]?undefined:_0x324d8e;if(_0xce3931[_0x477d('0x3ef')][_0x477d('0x3fd')]||_0x324d8e===![])_0x1a5c1b();})[_0x477d('0xf8')](function(_0x3e52bd){_0x1f43e1['error']({'title':'ERROR','msg':_0x3e52bd[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x3e52bd['data']['message']):_0x3e52bd[_0x477d('0x453')]()});});}var _0x2bab16=!![];var _0x339ac0=0x1;_0x5622e0[_0x477d('0x4b5')](_0x477d('0xd98'),function(_0x4655b8,_0x17b3ed){if(_0x2bab16){_0x1f1440(function(){_0x2bab16=![];});}else{if(!_0x17b3ed){_0x339ac0=_0xce3931[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x4655b8!==_0x17b3ed){_0xce3931[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0x4655b8){_0xce3931[_0x477d('0x3ef')][_0x477d('0xe03')]=_0x339ac0;}_0x1a5c1b(_0xce3931[_0x477d('0x3ef')][_0x477d('0xe03')]);}});_0x5622e0['$on'](_0x477d('0x505'),function(){_0x3d3c55[_0x477d('0x6b8')](_0x477d('0x1694'));_0x3d3c55[_0x477d('0x6b8')]('chatMessage:update');_0x3d3c55[_0x477d('0x6b8')]('chatInteraction:save');_0x3d3c55[_0x477d('0x6b8')](_0x477d('0x1695'));_0x3d3c55[_0x477d('0x6b8')](_0x477d('0x168c'));_0x3d3c55[_0x477d('0x6b8')](_0x477d('0x168d'));_0x3d3c55['removeAllListeners']('user_has_chat_interactions:remove');});}}());(function(){'use strict';_0x4ce343['$inject']=[_0x477d('0x475'),_0x477d('0x474'),_0x477d('0x3fe'),_0x477d('0x384'),_0x477d('0x387'),_0x477d('0x55'),'api',_0x477d('0x40e')];angular[_0x477d('0xb')](_0x477d('0x2c'))['controller'](_0x477d('0x1696'),_0x4ce343);function _0x4ce343(_0x57b403,_0x11bbdc,_0x2c551d,_0x3dbc9a,_0x44b8dc,_0x4e3e82,_0x3a325d,_0x45f40f){var _0x356dd7=this;_0x356dd7['currentUser']=_0x4e3e82[_0x477d('0x5c')]();_0x356dd7['lists']={};_0x356dd7['contacts']={'count':0x0,'rows':[]};_0x356dd7[_0x477d('0x1263')]={'count':0x0,'rows':[]};_0x356dd7[_0x477d('0x3ef')]={'includeAll':!![],'sort':'-updatedAt','limit':0xa,'page':0x1};_0x356dd7[_0x477d('0x3eb')]={'fields':[]};_0x356dd7[_0x477d('0x167f')]=_0x477d('0x9eb');_0x356dd7[_0x477d('0x1452')]=_0x288f2b;_0x356dd7[_0x477d('0x1697')]=_0x31c714;_0x356dd7[_0x477d('0x1698')]=_0x59b4dc;_0x356dd7[_0x477d('0x1454')]=_0x4ab5cc;_0x356dd7[_0x477d('0x1699')]=_0x506f6e;_0x356dd7['call']=_0x11bbdc['$parent']['vm']['call'];_0x356dd7[_0x477d('0x71a')]=_0x34969d;_0x356dd7[_0x477d('0x165c')]=_0x583978;_0x356dd7[_0x477d('0x165d')]=_0x50b105;_0x356dd7[_0x477d('0x1686')]=_0x296953;function _0x34969d(){_0x3a325d[_0x477d('0x380')][_0x477d('0x1562')]({'id':_0x356dd7[_0x477d('0x3e5')]['id'],'fields':_0x477d('0x169a'),'sort':_0x477d('0x94'),'nolimit':!![]})[_0x477d('0x38b')]['then'](function(_0x5d44fb){_0x356dd7[_0x477d('0xf1')]=_0x5d44fb||{'count':0x0,'rows':[]};_0x356dd7[_0x477d('0x144a')]=_['keyBy'](_0x356dd7[_0x477d('0xf1')][_0x477d('0xf2')],'id');return _0x3a325d[_0x477d('0xbb0')][_0x477d('0x376')]()['$promise'];})['then'](function(_0x44bc4d){_0x356dd7['tags']=_0x44bc4d||{'count':0x0,'rows':[]};})[_0x477d('0x76')](function(){_0x356dd7['quickFilters']=_0x1d629d();})['catch'](function(_0x43f9dc){console['error'](_0x43f9dc);})[_0x477d('0x5ff')](function(){var _0x2ec4bd=_0x44b8dc[_0x477d('0x39d')][_0x477d('0x3f8')](_0x477d('0x169b')+_0x356dd7['currentUser']['id']);if(_0x2ec4bd){try{_0x2ec4bd=JSON[_0x477d('0x77')](_0x2ec4bd);if(_0x2ec4bd[_0x477d('0x3ef')]){_0x356dd7[_0x477d('0x3ef')]=_[_0x477d('0xef')](_0x356dd7[_0x477d('0x3ef')],_0x2ec4bd[_0x477d('0x3ef')]);if(_[_0x477d('0x3b2')](_0x356dd7[_0x477d('0xf1')][_0x477d('0xf2')])){_0x356dd7[_0x477d('0x3ef')][_0x477d('0x1229')]=[];}else if(_[_0x477d('0x3b2')](_0x356dd7[_0x477d('0x3ef')][_0x477d('0x1229')])){_0x356dd7[_0x477d('0x3ef')][_0x477d('0x1229')]=_(_0x356dd7[_0x477d('0xf1')][_0x477d('0xf2')])['map']('id')[_0x477d('0x1688')]()[_0x477d('0x3b6')]();}}}catch(_0x4d52d2){console[_0x477d('0x7b')](_0x4d52d2);}}else{_0x356dd7[_0x477d('0x3ef')][_0x477d('0x1229')]=_['map'](_0x356dd7['lists'][_0x477d('0xf2')],'id');}_0x356dd7['isSearchBarVisible']=_0x356dd7['query'][_0x477d('0x3b3')]?!![]:![];_0x288f2b();});}function _0x1d629d(){return[{'name':_0x477d('0x147d'),'key':_0x477d('0x1229'),'type':_0x477d('0x413'),'label':_0x477d('0x169c'),'options':_0x356dd7[_0x477d('0xf1')]['rows'],'clearAll':![]},{'name':_0x477d('0x1264'),'key':_0x477d('0xbb0'),'type':_0x477d('0x413'),'label':_0x477d('0x1355'),'options':_0x356dd7[_0x477d('0x1263')]['rows'],'placeholder':_0x477d('0x1356')}];}function _0x32e816(_0x50fdff){_0x356dd7[_0x477d('0x1691')]=![];_0x356dd7[_0x477d('0x1449')]=_0x50fdff||{'count':0x0,'rows':[]};}function _0x288f2b(_0x22a2d8,_0xfc6166){_0x356dd7['searchInProgress']=!![];_0x23352a();if(!_0x22a2d8){_0x356dd7['query'][_0x477d('0xe03')]=0x1;}_0x356dd7['query'][_0x477d('0x91c')]=(_0x356dd7[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x356dd7['query'][_0x477d('0x91d')];var _0x45b3fe=_0x44b8dc[_0x477d('0x39d')]['getItem'](_0x477d('0x169b')+_0x356dd7[_0x477d('0x3e5')]['id']);_0x45b3fe=_0x45b3fe?JSON[_0x477d('0x77')](_0x45b3fe):{};_0x45b3fe[_0x477d('0x3ef')]=_0x356dd7['query'];_0x44b8dc[_0x477d('0x39d')]['setItem'](_0x477d('0x169b')+_0x356dd7[_0x477d('0x3e5')]['id'],JSON[_0x477d('0x3fb')](_0x45b3fe));_0x356dd7['promise']=_0x3a325d['cmContact'][_0x477d('0x376')](_0x356dd7[_0x477d('0x3ef')],_0x32e816)[_0x477d('0x38b')];}function _0x506f6e(_0x22b240){return _0x3a325d[_0x477d('0xb6c')][_0x477d('0x376')]({'id':_0x22b240})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x36e576){_0x11bbdc[_0x477d('0x723')]['vm']['addContactTab'](_0x36e576);});}function _0x31c714(){_0x288f2b();}function _0x4ab5cc(_0x4c83cb,_0x3eb323){_0x3dbc9a[_0x477d('0x395')]({'controller':_0x477d('0x1475'),'controllerAs':'vm','templateUrl':_0x477d('0x1476'),'parent':angular[_0x477d('0x398')](_0x57b403[_0x477d('0x399')]),'targetEvent':_0x4c83cb,'clickOutsideToClose':!![],'resolve':{'contact':['apiResolver',function(_0x2f5589){return _0x2f5589[_0x477d('0x5a')](_0x477d('0xee'),{'id':_0x3eb323['id']});}],'lists':[_0x477d('0x5e'),function(_0x2caba5){return _0x2caba5[_0x477d('0x5a')](_0x477d('0x11d'),{'id':_0x356dd7[_0x477d('0x3e5')]['id'],'fields':_0x477d('0x9c')});}]},'locals':{'contacts':_0x356dd7['contacts'][_0x477d('0xf2')]}});}function _0x59b4dc(_0x1982ff,_0x3f3595){_0x3dbc9a[_0x477d('0x395')]({'controller':_0x477d('0x14e8'),'controllerAs':'vm','templateUrl':_0x477d('0x1477'),'parent':angular[_0x477d('0x398')](_0x57b403[_0x477d('0x399')]),'targetEvent':_0x1982ff,'clickOutsideToClose':!![],'resolve':{'contact':[_0x477d('0x5e'),function(_0xb12289){return _0xb12289[_0x477d('0x5a')](_0x477d('0xee'),{'id':_0x3f3595['id']});}],'lists':['apiResolver',function(_0x539af3){return _0x539af3[_0x477d('0x5a')]('user@getLists',{'id':_0x356dd7[_0x477d('0x3e5')]['id'],'fields':_0x477d('0x9c')});}]},'locals':{'contacts':_0x356dd7['contacts'][_0x477d('0xf2')]}});}function _0x583978(){_0x356dd7[_0x477d('0x1664')]=![];}function _0x50b105(){_0x356dd7[_0x477d('0x1664')]=!![];}function _0x23352a(){return _0x3a325d[_0x477d('0xb6c')][_0x477d('0xe27')]({'id':_0x356dd7[_0x477d('0x3ef')][_0x477d('0x1229')]})[_0x477d('0x38b')]['then'](function(_0x4b7e58){return _(_0x4b7e58['toJSON']())['omit']('UserId')[_0x477d('0x445')]()[_0x477d('0x3cb')](function(_0x122f7c){return _0x1f81c4(_0x122f7c);})['value']();})[_0x477d('0x76')](function(_0x558cd7){_0x356dd7[_0x477d('0x3eb')][_0x477d('0x458')]=_0x558cd7;var _0xfa471={'name':'Tags','column':_0x477d('0x1264'),'type':'multiselect','options':{'route':{'model':_0x477d('0xbb0'),'action':_0x477d('0x376'),'params':{'nolimit':!![]}},'excludedOperators':['$notIn']}};var _0x131b3c=_[_0x477d('0x45a')](_0x558cd7,function(_0x292448){return _[_0x477d('0x1337')](_0x292448[_0x477d('0x460')],_0x477d('0x132e'));})||_0x558cd7[_0x477d('0x79')]-0x1;if(_0x131b3c<0x0)_0x131b3c=_0x558cd7[_0x477d('0x79')];_0x356dd7[_0x477d('0x3eb')][_0x477d('0x458')][_0x477d('0x45b')](_0x131b3c,0x0,_0xfa471);})[_0x477d('0xf8')](function(_0x357afc){_0x45f40f[_0x477d('0x44a')]({'title':_0x357afc[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x357afc[_0x477d('0x3c3')]+'\x20-\x20'+_0x357afc[_0x477d('0x44d')]:_0x477d('0x169d'),'msg':_0x357afc[_0x477d('0x451')]?JSON['stringify'](_0x357afc[_0x477d('0x451')][_0x477d('0x452')]):_0x357afc[_0x477d('0x453')]()});});}function _0x1f81c4(_0x44d053){var _0x120dc5={'name':_[_0x477d('0xd91')](_0x44d053[_0x477d('0x169e')]),'column':_0x44d053['columnName'],'options':{}};if(_0x44d053['custom']){switch(_0x44d053[_0x477d('0x9f6')][_0x477d('0x439')]){case'text':_0x120dc5['type']='text';break;case _0x477d('0x462'):_0x120dc5['type']=_0x477d('0x413');_0x120dc5['values']=_[_0x477d('0x3cb')](JSON[_0x477d('0x77')](_0x44d053[_0x477d('0x9f6')][_0x477d('0x445')]),function(_0x1f7892,_0x4bfb50){return{'id':_0x4bfb50,'name':_0x1f7892[_0x477d('0x3b6')],'value':_0x1f7892[_0x477d('0x3b6')]};});_0x120dc5['options'][_0x477d('0x463')]=_0x477d('0x94');break;case _0x477d('0x169f'):_0x120dc5[_0x477d('0x439')]=_0x477d('0x462');_0x120dc5[_0x477d('0x445')]=[{'id':0x1,'translate':'DASHBOARDS.ENABLED'},{'id':0x0,'translate':_0x477d('0x16a0')}];_0x120dc5['options'][_0x477d('0x16a1')]=[_0x477d('0x414')];break;case _0x477d('0x421'):_0x120dc5['type']='number';break;case _0x477d('0x16a2'):_0x120dc5[_0x477d('0x439')]=_0x477d('0x420');break;}}else{switch(_0x44d053[_0x477d('0x16a3')]){case'dateOfBirth':_0x120dc5[_0x477d('0x439')]=_0x477d('0x420');break;case _0x477d('0x132b'):_0x120dc5[_0x477d('0x94')]=_0x477d('0x1434');_0x120dc5[_0x477d('0x439')]=_0x477d('0x443');_0x120dc5[_0x477d('0x43c')][_0x477d('0x442')]={'model':_0x477d('0xb68'),'action':_0x477d('0x376'),'params':{'fields':_0x477d('0x9c'),'nolimit':!![]}};_0x120dc5[_0x477d('0x43c')][_0x477d('0x447')]=[_0x477d('0x94')];_0x120dc5['options'][_0x477d('0x16a1')]=['$ne'];break;case _0x477d('0x1229'):_0x120dc5[_0x477d('0x94')]=_0x477d('0x147d');_0x120dc5['type']='autocomplete';_0x120dc5[_0x477d('0x43c')]['route']={'model':_0x477d('0x380'),'action':'getLists','params':{'id':_0x356dd7[_0x477d('0x3e5')]['id'],'fields':'id,name','nolimit':!![]}};_0x120dc5[_0x477d('0x43c')][_0x477d('0x447')]=[_0x477d('0x94')];_0x120dc5[_0x477d('0x43c')][_0x477d('0x16a1')]=[_0x477d('0x414')];break;default:if(_[_0x477d('0x3a4')](_0x44d053['type']['toLowerCase'](),_0x477d('0x16a4'))){_0x120dc5['type']='number';}else if(_['includes'](_0x44d053['type'][_0x477d('0x449')](),'date')){_0x120dc5[_0x477d('0x439')]='date';}else{_0x120dc5[_0x477d('0x439')]=_0x477d('0x41b');}break;}}return _0x120dc5;}function _0x296953(){_0x356dd7[_0x477d('0x1664')]=![];_0x3dbc9a['show']({'controller':_0x477d('0x3e4'),'controllerAs':'vm','templateUrl':'app/core/dialogs/advanced-search/dialog.html','parent':angular[_0x477d('0x398')](_0x57b403['body']),'clickOutsideToClose':![],'locals':{'color':_0x356dd7[_0x477d('0x167f')],'fields':_0x356dd7[_0x477d('0x3eb')]['fields'],'storagePath':'home.contacts'},'fullscreen':!![]})[_0x477d('0x76')](function(_0x22a97e){_0x356dd7[_0x477d('0x3ef')][_0x477d('0x3fd')]=_0x22a97e===![]?undefined:_0x22a97e;if(_0x356dd7[_0x477d('0x3ef')][_0x477d('0x3fd')]||_0x22a97e===![])_0x288f2b();})[_0x477d('0xf8')](function(_0x11dd28){_0x45f40f[_0x477d('0x44a')]({'title':_0x477d('0x16a5'),'msg':_0x11dd28[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x11dd28['data'][_0x477d('0x452')]):_0x11dd28[_0x477d('0x453')]()});});}var _0x4a5e2e=!![];var _0x2fa06d=0x1;_0x11bbdc[_0x477d('0x4b5')](_0x477d('0xd98'),function(_0x5d1ac9,_0x5745cc){if(_0x4a5e2e){_0x2c551d(function(){_0x4a5e2e=![];});}else{if(!_0x5745cc){_0x2fa06d=_0x356dd7[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x5d1ac9!==_0x5745cc){_0x356dd7[_0x477d('0x3ef')]['page']=0x1;}if(!_0x5d1ac9){_0x356dd7[_0x477d('0x3ef')][_0x477d('0xe03')]=_0x2fa06d;}_0x288f2b();}});}}());(function(){'use strict';_0x3de16d[_0x477d('0xa')]=[_0x477d('0x474'),'$interval'];angular['module']('app.dashboards')[_0x477d('0x3ba')](_0x477d('0x16a6'),_0x3de16d);function _0x3de16d(_0x3070d5,_0x1af13c){var _0xfd7d21=_0x1af13c(function(){},0x3e7);_0x3070d5[_0x477d('0x4ec')](_0x477d('0x505'),function(){if(_0xfd7d21){_0x1af13c[_0x477d('0x4f0')](_0xfd7d21);_0xfd7d21=null;}});}}());(function(){'use strict';_0x3de6d0['$inject']=[_0x477d('0x474'),_0x477d('0x3fe'),_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x387'),'$translate',_0x477d('0x386'),'Auth','socket',_0x477d('0x40e')];angular[_0x477d('0xb')](_0x477d('0x2c'))[_0x477d('0x3ba')](_0x477d('0x16a7'),_0x3de6d0);function _0x3de6d0(_0x330e2c,_0x123459,_0x4fbc0c,_0x6a0001,_0x45d45c,_0xde3c07,_0x4c64d6,_0x4489f4,_0x94b7b3,_0x3cad8e){var _0x4fee13=this;var _0xeae553=['type',_0x477d('0x10c'),_0x477d('0x1408'),_0x477d('0x16a8')];_0x4fee13[_0x477d('0x8f9')]={};_0x4fee13[_0x477d('0x16a9')]=0x0;_0x4fee13[_0x477d('0x16aa')]={};_0x4fee13['getVoiceQueues']={};_0x4fee13['rpcVoiceQueuesChannels']={};_0x4fee13[_0x477d('0x16ab')]={};_0x4fee13[_0x477d('0x16ac')]=[];_0x4fee13['load']=!![];_0x4fee13[_0x477d('0x3ef')]={'id':_0x4489f4[_0x477d('0x5c')]()['id'],'fields':_0x477d('0x16ad'),'channel':_0x477d('0x108'),'type':_0x477d('0x127'),'limit':0xa,'page':0x1};_0x4fee13['queryChannels']={'limit':0xa,'page':0x1};_0x4fee13[_0x477d('0x485')]=_0x58de69;_0x4fee13[_0x477d('0x16ae')]=_0x23f68f;_0x4fee13['getSize']=_0x2eb47f;_0x4fee13['onSaveQueue']=_0x571145;_0x4fee13[_0x477d('0x16af')]=_0x8dcfcd;_0x4fee13[_0x477d('0x16b0')]=_0x5e0044;_0x4fee13['onSaveVoiceQueue']=_0x25c20e;_0x4fee13[_0x477d('0x16b1')]=_0x41e8c3;_0x4fee13[_0x477d('0x16b2')]=_0xf9589b;_0x94b7b3[_0x477d('0x165e')](_0x477d('0x1571'),_0x4fee13['onSaveQueue']);_0x94b7b3[_0x477d('0x165e')]('voice_queue_channel:save',_0x4fee13[_0x477d('0x16af')]);_0x94b7b3[_0x477d('0x165e')](_0x477d('0x1415'),_0x4fee13['onUserVoiceQueue']);_0x94b7b3['onWithoutApply'](_0x477d('0x1414'),_0x4fee13[_0x477d('0x16b0')]);_0x94b7b3[_0x477d('0x165e')](_0x477d('0x16b3'),_0x4fee13[_0x477d('0x16b4')]);_0x94b7b3['onWithoutApply'](_0x477d('0x16b5'),_0x4fee13[_0x477d('0x16b2')]);_0x94b7b3[_0x477d('0x165e')](_0x477d('0x16b6'),_0x4fee13[_0x477d('0x16b1')]);_0x4c64d6[_0x477d('0x6c9')][_0x477d('0x16ae')]()[_0x477d('0x38b')][_0x477d('0x76')](function(_0x579310){_0x4fee13[_0x477d('0x16aa')]=_0x579310?_[_0x477d('0xdb5')](_0x579310['rows']?_0x579310[_0x477d('0xf2')]:[],'id'):{};return _0x4c64d6[_0x477d('0x6c9')][_0x477d('0x16b7')]()[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x59353f){_0x4fee13['rpcVoiceQueuesChannels']=_0x59353f?_['keyBy'](_0x59353f[_0x477d('0xf2')]?_['filter'](_0x59353f[_0x477d('0xf2')],{'type':_0x477d('0x127'),'queuecallerleaveAt':null}):[],_0x477d('0x648')):{};})[_0x477d('0xf8')](function(_0xc1cd22){console['error'](_0xc1cd22);})[_0x477d('0x5ff')](function(){_[_0x477d('0xef')](_0x4fee13[_0x477d('0x16b8')],_0x4fee13[_0x477d('0x16ab')]);for(var _0x114771=0x0;_0x114771<_0x4fee13['deleteVoiceQueuesChannels']['length'];_0x114771+=0x1){delete _0x4fee13['rpcVoiceQueuesChannels'][_0x4fee13['deleteVoiceQueuesChannels'][_0x114771]];}_0x4fee13[_0x477d('0x600')]=![];_0x4fee13[_0x477d('0x16ab')]={};_0x4fee13[_0x477d('0x16ac')]=[];_0x4fee13['getVoiceQueues']();});function _0x58de69(_0x5a44c6){_0x4fee13[_0x477d('0x16a9')]=_0x5a44c6[_0x477d('0x3bb')]?_0x5a44c6[_0x477d('0x3bb')]:0x0;_0x4fee13['voiceQueues']=_0x5a44c6?_[_0x477d('0xdb5')](_0x5a44c6['rows']?_0x5a44c6[_0x477d('0xf2')]:[],'id'):{};_0x2f7692();}function _0x23f68f(){_0x4fee13['query'][_0x477d('0x91c')]=(_0x4fee13[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x4fee13['query'][_0x477d('0x91d')];_0x4fee13[_0x477d('0x553')]=_0x4c64d6[_0x477d('0x380')][_0x477d('0x1418')](_0x4fee13[_0x477d('0x3ef')],_0x58de69)[_0x477d('0x38b')];}var _0x54c2b0=!![];var _0x4d588f=0x1;_0x330e2c[_0x477d('0x4b5')](_0x477d('0x12f3'),function(_0x3381cf,_0x533ae4){if(_0x54c2b0){_0x123459(function(){_0x54c2b0=![];});}else{if(!_0x533ae4){_0x4d588f=_0x4fee13[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x3381cf!==_0x533ae4){_0x4fee13[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0x3381cf){_0x4fee13[_0x477d('0x3ef')][_0x477d('0xe03')]=_0x4d588f;}_0x4fee13['getVoiceQueues']();}});function _0x2eb47f(_0x1c4132){return _[_0x477d('0x117b')](_0x1c4132);}function _0x2f7692(){_[_0x477d('0xe4b')](_0x4fee13[_0x477d('0x8f9')],function(_0x46209f,_0x339c5b){if(_0x4fee13[_0x477d('0x16aa')][_0x339c5b]){_0x4fee13[_0x477d('0x8f9')][_0x339c5b]['waiting']=_0x4fee13[_0x477d('0x16aa')][_0x339c5b]['waiting']||0x0;}});}function _0x571145(_0x114e8c){if(_0x4fee13[_0x477d('0x8f9')][_0x114e8c['id']]){if(_0x4fee13['rpcVoiceQueues'][_0x114e8c['id']]){_0x4fee13['rpcVoiceQueues'][_0x114e8c['id']]=_0x114e8c;_['merge'](_0x4fee13[_0x477d('0x8f9')][_0x114e8c['id']],_['pick'](_0x114e8c,_0xeae553));}}}function _0x8dcfcd(_0xf98af2){if(_0xf98af2[_0x477d('0x439')]==='outbound'){if(_0xf98af2[_0x477d('0x16b9')]){delete _0x4fee13['rpcVoiceQueuesChannels'][_0xf98af2[_0x477d('0x648')]];if(_0x4fee13[_0x477d('0x600')]){_0x4fee13[_0x477d('0x16ac')][_0x477d('0x3a7')](_0xf98af2[_0x477d('0x648')]);}}else{_0x4fee13[_0x477d('0x16b8')][_0xf98af2[_0x477d('0x648')]]=_0xf98af2;if(_0x4fee13[_0x477d('0x600')]){_0x4fee13[_0x477d('0x16ab')][_0xf98af2[_0x477d('0x648')]]=_0xf98af2;}}}}function _0x25c20e(_0x5c0d4c){if(!_[_0x477d('0x484')](_0x5c0d4c)){_0x4fee13[_0x477d('0x16aa')][_0x5c0d4c['id']]=_[_0x477d('0x10b')](_0x5c0d4c,_0xeae553);}}function _0x41e8c3(_0x526d14){if(!_[_0x477d('0x484')](_0x526d14)){if(_0x4fee13[_0x477d('0x16aa')][_0x526d14['id']]){_['merge'](_0x4fee13[_0x477d('0x16aa')][_0x526d14['id']],_[_0x477d('0x10b')](_0x526d14,_0xeae553));}if(_0x4fee13['voiceQueues'][_0x526d14['id']]){_[_0x477d('0xef')](_0x4fee13[_0x477d('0x8f9')][_0x526d14['id']],_[_0x477d('0x10b')](_0x526d14,_0xeae553));}}}function _0xf9589b(_0x2d14ee){if(!_[_0x477d('0x484')](_0x2d14ee)){delete _0x4fee13['rpcVoiceQueues'][_0x2d14ee['id']];delete _0x4fee13[_0x477d('0x8f9')][_0x2d14ee['id']];}}function _0x5e0044(_0x4ab336){if(_[_0x477d('0x16ba')](_0x4ab336[_0x477d('0x125b')])===_0x4489f4[_0x477d('0x5c')]()['id']){_0x4fee13[_0x477d('0x16ae')]();}}_0x330e2c['$on'](_0x477d('0x505'),function(){_0x94b7b3[_0x477d('0x6b8')](_0x477d('0x1571'));_0x94b7b3[_0x477d('0x6b8')](_0x477d('0x16bb'));_0x94b7b3[_0x477d('0x6b8')]('userVoiceQueue:save');_0x94b7b3[_0x477d('0x6b8')](_0x477d('0x1414'));_0x94b7b3[_0x477d('0x6b8')](_0x477d('0x16b3'));_0x94b7b3[_0x477d('0x6b8')](_0x477d('0x16b6'));_0x94b7b3[_0x477d('0x6b8')]('voiceQueue:remove');});}}());(function(){'use strict';_0x4596da[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x3fe'),_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x387'),_0x477d('0x40d'),_0x477d('0x386'),_0x477d('0x55'),'socket',_0x477d('0x40e')];angular['module'](_0x477d('0x2c'))['controller']('AgentHomeDashboardMultiChannelChatController',_0x4596da);function _0x4596da(_0x566fb8,_0x8c4280,_0x22918b,_0x59003a,_0x906f86,_0x49905d,_0x55c695,_0x37afbf,_0x447d76,_0x9987c9){var _0x5d7783=this;var _0x221321=['id',_0x477d('0x94'),'mapAgentsId',_0x477d('0x10c')];var _0x47f25e=!![];_0x5d7783[_0x477d('0x11d1')]={};_0x5d7783['chatQueuesTotal']=0x0;_0x5d7783['rpcChatQueues']={};_0x5d7783[_0x477d('0x16bc')]=[];_0x5d7783[_0x477d('0x16bd')]=[];_0x5d7783[_0x477d('0x16be')]={};_0x5d7783[_0x477d('0x3ef')]={'id':_0x37afbf[_0x477d('0x5c')]()['id'],'channel':_0x477d('0xb6'),'fields':_0x477d('0x16bf'),'limit':0xa,'page':0x1};_0x5d7783[_0x477d('0x16c0')]={'limit':0xa,'page':0x1};_0x5d7783[_0x477d('0x485')]=_0x50db01;_0x5d7783[_0x477d('0x11d6')]=_0x5ebd6f;_0x5d7783[_0x477d('0x16c1')]=_0x8b07ab;_0x5d7783[_0x477d('0x16c2')]=_0x4406d7;_0x5d7783[_0x477d('0x16c3')]=_0x20845f;_0x5d7783[_0x477d('0x16c4')]=_0x438fcc;_0x5d7783[_0x477d('0x16c5')]=_0x3ca037;_0x5d7783['onUpdateChatQueue']=_0x14a254;_0x5d7783['onRemoveChatQueue']=_0x994d65;_0x5d7783[_0x477d('0x16c6')]=_0x5219cf;_0x5d7783['onRemoveUserChatQueue']=_0x3fc301;_0x5d7783[_0x477d('0x16c7')]=_0x25c427;_0x5d7783['onRemoveChatQueueChannel']=_0x599009;_0x447d76['onWithoutApply']('chat_queue:save',_0x5d7783[_0x477d('0x16c4')]);_0x447d76[_0x477d('0x165e')]('chatQueue:save',_0x5d7783['onSaveChatQueue']);_0x447d76[_0x477d('0x165e')](_0x477d('0x16c8'),_0x5d7783['onUpdateChatQueue']);_0x447d76[_0x477d('0x165e')]('chatQueue:remove',_0x5d7783['onRemoveChatQueue']);_0x447d76[_0x477d('0x165e')](_0x477d('0x1412'),_0x5d7783[_0x477d('0x16c6')]);_0x447d76[_0x477d('0x165e')](_0x477d('0x141c'),_0x5d7783[_0x477d('0x16c9')]);_0x447d76[_0x477d('0x165e')](_0x477d('0x16ca'),_0x5d7783[_0x477d('0x16c7')]);_0x447d76[_0x477d('0x165e')]('chat_queue_waiting_interaction:remove',_0x5d7783[_0x477d('0x16cb')]);_0x55c695[_0x477d('0x6c9')]['getChatQueues']()[_0x477d('0x38b')][_0x477d('0x76')](function(_0x436641){_0x5d7783[_0x477d('0x16cc')]=_0x436641?_['keyBy'](_0x436641['rows']?_0x436641[_0x477d('0xf2')]:[],'id'):{};})['then'](function(_0x3a320e){return _0x55c695['user'][_0x477d('0x1418')]({'id':_0x37afbf[_0x477d('0x5c')]()['id'],'channel':_0x477d('0xb6')})['$promise'];})[_0x477d('0x76')](function(_0x1eb383){_0x5d7783[_0x477d('0x16cd')]=_0x1eb383[_0x477d('0xf2')];return _0x55c695[_0x477d('0x6c9')][_0x477d('0x16ce')]()[_0x477d('0x38b')];})['then'](function(_0x1966d7){var _0x1b2099=_[_0x477d('0x3b3')](_0x1966d7[_0x477d('0xf2')],function(_0xe0d416){return _[_0x477d('0x3a4')](_0x5d7783[_0x477d('0x16cd')],{'id':_0xe0d416[_0x477d('0xf4c')]});});_0x1966d7['rows']=_0x1b2099;_0x1966d7['count']=_0x1b2099[_0x477d('0x79')];_[_0x477d('0xef')](_0x5d7783[_0x477d('0x16be')],_0x1966d7?_['keyBy'](_0x1966d7['rows']?_0x1966d7[_0x477d('0xf2')]:[],'id'):{});})[_0x477d('0xf8')](function(_0x1a75e2){console['error'](_0x1a75e2);})[_0x477d('0x5ff')](function(){for(var _0x2c7d50=0x0;_0x2c7d50<_0x5d7783[_0x477d('0x16bd')]['length'];_0x2c7d50+=0x1){delete _0x5d7783[_0x477d('0x16be')][_0x5d7783[_0x477d('0x16bd')][_0x2c7d50]];}_0x47f25e=![];_0x5d7783['deleteChatQueuesWaitingInteractions']=[];_0x5ebd6f();_0x20845f();});function _0x20845f(){var _0x4c7606=(_0x5d7783[_0x477d('0x16c0')][_0x477d('0xe03')]-0x1)*_0x5d7783[_0x477d('0x16c0')][_0x477d('0x91d')];_0x5d7783['paginatedInteractions']=_[_0x477d('0x1401')](_0x5d7783[_0x477d('0x16be')],['joinAt'],['desc']);_0x5d7783[_0x477d('0x16cf')]=_[_0x477d('0x13ec')](_0x5d7783[_0x477d('0x16bc')],_0x4c7606)[_0x477d('0x9cd')](0x0,_0x5d7783[_0x477d('0x16c0')][_0x477d('0x91d')]);}function _0x50db01(_0x5ef6d3){_0x5d7783[_0x477d('0x16d0')]=_0x5ef6d3['count']?_0x5ef6d3[_0x477d('0x3bb')]:0x0;_0x5d7783[_0x477d('0x11d1')]=_0x5ef6d3?_['keyBy'](_0x5ef6d3['rows']?_0x5ef6d3[_0x477d('0xf2')]:[],'id'):{};_0x4d0af6();}function _0x5ebd6f(){_0x5d7783[_0x477d('0x3ef')]['offset']=(_0x5d7783[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x5d7783[_0x477d('0x3ef')][_0x477d('0x91d')];_0x5d7783[_0x477d('0x553')]=_0x55c695['user']['getQueues'](_0x5d7783[_0x477d('0x3ef')],_0x50db01)[_0x477d('0x38b')];}var _0x9780cb=!![];var _0x53f733=0x1;_0x566fb8[_0x477d('0x4b5')](_0x477d('0x12f3'),function(_0x50542d,_0x43f4ef){if(_0x9780cb){_0x8c4280(function(){_0x9780cb=![];});}else{if(!_0x43f4ef){_0x53f733=_0x5d7783[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x50542d!==_0x43f4ef){_0x5d7783[_0x477d('0x3ef')]['page']=0x1;}if(!_0x50542d){_0x5d7783['query'][_0x477d('0xe03')]=_0x53f733;}_0x5d7783[_0x477d('0x11d6')]();}});function _0x8b07ab(_0x394e9c){return _[_0x477d('0x117b')](_0x394e9c);}function _0x4d0af6(){_[_0x477d('0xe4b')](_0x5d7783[_0x477d('0x11d1')],function(_0x55215a,_0x5a9993){if(_0x5d7783['rpcChatQueues'][_0x5a9993]){_0x5d7783[_0x477d('0x11d1')][_0x5a9993][_0x477d('0x10c')]=_0x5d7783[_0x477d('0x16cc')][_0x5a9993][_0x477d('0x10c')]||0x0;}});}function _0x438fcc(_0x32e0f2){if(_0x5d7783['chatQueues'][_0x32e0f2['id']]){if(_0x5d7783[_0x477d('0x16cc')][_0x32e0f2['id']]){_['merge'](_0x5d7783[_0x477d('0x16cc')][_0x32e0f2['id']],_[_0x477d('0x10b')](_0x32e0f2,_0x221321));_[_0x477d('0xef')](_0x5d7783[_0x477d('0x11d1')][_0x32e0f2['id']],_['pick'](_0x32e0f2,_0x221321));}}}function _0x3ca037(_0x1407d5){if(!_[_0x477d('0x484')](_0x1407d5)){_0x5d7783[_0x477d('0x16cc')][_0x1407d5['id']]=_[_0x477d('0x10b')](_0x1407d5,_0x221321);}}function _0x14a254(_0x1be25b){if(!_['isNil'](_0x1be25b)){if(_0x5d7783[_0x477d('0x16cc')][_0x1be25b['id']]){_[_0x477d('0xef')](_0x5d7783[_0x477d('0x16cc')][_0x1be25b['id']],_[_0x477d('0x10b')](_0x1be25b,_0x221321));}if(_0x5d7783[_0x477d('0x11d1')][_0x1be25b['id']]){_[_0x477d('0xef')](_0x5d7783['chatQueues'][_0x1be25b['id']],_[_0x477d('0x10b')](_0x1be25b,_0x221321));}}}function _0x994d65(_0x4d88a3){if(!_[_0x477d('0x484')](_0x4d88a3)){delete _0x5d7783[_0x477d('0x16cc')][_0x4d88a3['id']];delete _0x5d7783[_0x477d('0x11d1')][_0x4d88a3['id']];}}function _0x5219cf(_0x1b8a22){if(_[_0x477d('0x16ba')](_0x1b8a22[_0x477d('0x125b')])===_0x37afbf[_0x477d('0x5c')]()['id']){_0x5d7783['getChatQueues']();}}function _0x3fc301(_0x78c1){if(_['toInteger'](_0x78c1[_0x477d('0x125b')])===_0x37afbf[_0x477d('0x5c')]()['id']){_0x5d7783[_0x477d('0x11d6')]();}}function _0x25c427(_0x5604a2){if(_0x5d7783['chatQueues'][_0x5604a2[_0x477d('0xf4c')]]){_0x5d7783[_0x477d('0x16be')][_0x5604a2['id']]=_0x5604a2;_0x20845f();}}function _0x599009(_0x44d8e4){delete _0x5d7783[_0x477d('0x16be')][_0x44d8e4['id']];if(_0x47f25e){_0x5d7783[_0x477d('0x16bd')]['push'](_0x44d8e4['id']);}_0x20845f();}function _0x4406d7(_0x273829){switch(_0x273829){case _0x477d('0xb6'):return'green-A700-bg';case _0x477d('0x1d6'):return'teal-bg';case _0x477d('0x26e'):return'orange-bg';case _0x477d('0x35d'):return _0x477d('0x16d1');case _0x477d('0x22a'):return'amber-A200-bg';case _0x477d('0x154'):return _0x477d('0x16d2');default:return _0x477d('0x16d3');}}_0x566fb8[_0x477d('0x4ec')](_0x477d('0x505'),function(){_0x447d76['removeAllListeners'](_0x477d('0x1411'));_0x447d76[_0x477d('0x6b8')](_0x477d('0x16d4'));_0x447d76[_0x477d('0x6b8')](_0x477d('0x16c8'));_0x447d76['removeAllListeners'](_0x477d('0x16d5'));_0x447d76[_0x477d('0x6b8')](_0x477d('0x1412'));_0x447d76[_0x477d('0x6b8')]('userChatQueue:remove');_0x447d76[_0x477d('0x6b8')]('chat_queue_waiting_interaction:save');_0x447d76[_0x477d('0x6b8')](_0x477d('0x16d6'));});}}());(function(){'use strict';_0x3f265d[_0x477d('0xa')]=['$scope',_0x477d('0x3fe'),'$mdDialog',_0x477d('0x475'),_0x477d('0x387'),_0x477d('0x40d'),'api','Auth',_0x477d('0x5a3'),_0x477d('0x40e')];angular[_0x477d('0xb')](_0x477d('0x2c'))[_0x477d('0x3ba')](_0x477d('0x16d7'),_0x3f265d);function _0x3f265d(_0x59e830,_0x1d3bd6,_0x52d9fd,_0x5d6f0f,_0x11117e,_0x21e141,_0x529684,_0x2d4dce,_0x490248,_0x153fe5){var _0x670046=this;var _0x2fadaa=['id','name',_0x477d('0x16d8'),'waiting'];var _0x3d9011=!![];_0x670046[_0x477d('0x16d9')]={};_0x670046['faxQueuesTotal']=0x0;_0x670046[_0x477d('0x16da')]={};_0x670046[_0x477d('0x16bc')]=[];_0x670046[_0x477d('0x16db')]=[];_0x670046[_0x477d('0x16dc')]={};_0x670046[_0x477d('0x3ef')]={'id':_0x2d4dce[_0x477d('0x5c')]()['id'],'channel':_0x477d('0x154'),'fields':_0x477d('0x16bf'),'limit':0xa,'page':0x1};_0x670046[_0x477d('0x16c0')]={'limit':0xa,'page':0x1};_0x670046['success']=_0x83384c;_0x670046['getFaxQueues']=_0x421355;_0x670046[_0x477d('0x16c1')]=_0x45c48a;_0x670046[_0x477d('0x16c2')]=_0x3218ab;_0x670046[_0x477d('0x16c3')]=_0x24914d;_0x670046['onSaveQueue']=_0x3aa07f;_0x670046[_0x477d('0x16dd')]=_0x50d760;_0x670046[_0x477d('0x16de')]=_0x4c740a;_0x670046[_0x477d('0x16df')]=_0x256d7c;_0x670046[_0x477d('0x16e0')]=_0x2f3133;_0x670046[_0x477d('0x16e1')]=_0x43b3ac;_0x670046[_0x477d('0x16e2')]=_0xa69321;_0x670046[_0x477d('0x16e3')]=_0x4de5c9;_0x490248['onWithoutApply'](_0x477d('0x16e4'),_0x670046['onSaveQueue']);_0x490248[_0x477d('0x165e')](_0x477d('0x16e5'),_0x670046[_0x477d('0x16dd')]);_0x490248[_0x477d('0x165e')](_0x477d('0x16e6'),_0x670046['onUpdateFaxQueue']);_0x490248[_0x477d('0x165e')](_0x477d('0x16e7'),_0x670046[_0x477d('0x16df')]);_0x490248['onWithoutApply'](_0x477d('0x16e8'),_0x670046['onSaveUserFaxQueue']);_0x490248[_0x477d('0x165e')](_0x477d('0x16e9'),_0x670046[_0x477d('0x16e1')]);_0x490248['onWithoutApply'](_0x477d('0x16ea'),_0x670046[_0x477d('0x16e2')]);_0x490248['onWithoutApply']('fax_queue_waiting_interaction:remove',_0x670046[_0x477d('0x16e3')]);_0x529684['rpc'][_0x477d('0x16eb')]()[_0x477d('0x38b')]['then'](function(_0x2a5347){_0x670046['rpcFaxQueues']=_0x2a5347?_[_0x477d('0xdb5')](_0x2a5347[_0x477d('0xf2')]?_0x2a5347['rows']:[],'id'):{};})['then'](function(_0x3cda37){return _0x529684[_0x477d('0x380')][_0x477d('0x1418')]({'id':_0x2d4dce[_0x477d('0x5c')]()['id'],'channel':_0x477d('0x154')})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x7f9dec){_0x670046[_0x477d('0x16cd')]=_0x7f9dec[_0x477d('0xf2')];return _0x529684[_0x477d('0x6c9')]['getFaxQueuesWaitingInteractions']()[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0xa04d03){var _0x117b1c=_['filter'](_0xa04d03[_0x477d('0xf2')],function(_0x40d506){return _[_0x477d('0x3a4')](_0x670046[_0x477d('0x16cd')],{'id':_0x40d506[_0x477d('0xf4c')]});});_0xa04d03[_0x477d('0xf2')]=_0x117b1c;_0xa04d03[_0x477d('0x3bb')]=_0x117b1c[_0x477d('0x79')];_['merge'](_0x670046[_0x477d('0x16dc')],_0xa04d03?_['keyBy'](_0xa04d03[_0x477d('0xf2')]?_0xa04d03[_0x477d('0xf2')]:[],'id'):{});})[_0x477d('0xf8')](function(_0x5bf082){console[_0x477d('0x44a')](_0x5bf082);})[_0x477d('0x5ff')](function(){for(var _0x1e31f1=0x0;_0x1e31f1<_0x670046['deleteFaxQueuesWaitingInteractions'][_0x477d('0x79')];_0x1e31f1+=0x1){delete _0x670046[_0x477d('0x16dc')][_0x670046[_0x477d('0x16db')][_0x1e31f1]];}_0x3d9011=![];_0x670046[_0x477d('0x16db')]=[];_0x421355();_0x24914d();});function _0x24914d(){var _0x31fe55=(_0x670046[_0x477d('0x16c0')][_0x477d('0xe03')]-0x1)*_0x670046['queryChannels'][_0x477d('0x91d')];_0x670046[_0x477d('0x16bc')]=_['orderBy'](_0x670046[_0x477d('0x16dc')],[_0x477d('0x16ec')],[_0x477d('0x13ff')]);_0x670046['interactions']=_[_0x477d('0x13ec')](_0x670046[_0x477d('0x16bc')],_0x31fe55)[_0x477d('0x9cd')](0x0,_0x670046[_0x477d('0x16c0')][_0x477d('0x91d')]);}function _0x83384c(_0x473387){_0x670046[_0x477d('0x16ed')]=_0x473387[_0x477d('0x3bb')]?_0x473387[_0x477d('0x3bb')]:0x0;_0x670046['faxQueues']=_0x473387?_[_0x477d('0xdb5')](_0x473387[_0x477d('0xf2')]?_0x473387[_0x477d('0xf2')]:[],'id'):{};_0x258b6a();}function _0x421355(){_0x670046[_0x477d('0x3ef')][_0x477d('0x91c')]=(_0x670046[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x670046[_0x477d('0x3ef')]['limit'];_0x670046[_0x477d('0x553')]=_0x529684[_0x477d('0x380')][_0x477d('0x1418')](_0x670046[_0x477d('0x3ef')],_0x83384c)[_0x477d('0x38b')];}var _0x3d6ee3=!![];var _0x3ecade=0x1;_0x59e830[_0x477d('0x4b5')](_0x477d('0x12f3'),function(_0x217370,_0x2ae099){if(_0x3d6ee3){_0x1d3bd6(function(){_0x3d6ee3=![];});}else{if(!_0x2ae099){_0x3ecade=_0x670046[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x217370!==_0x2ae099){_0x670046[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0x217370){_0x670046[_0x477d('0x3ef')][_0x477d('0xe03')]=_0x3ecade;}_0x670046[_0x477d('0x16eb')]();}});function _0x45c48a(_0x346426){return _[_0x477d('0x117b')](_0x346426);}function _0x258b6a(){_[_0x477d('0xe4b')](_0x670046[_0x477d('0x16d9')],function(_0x3424ae,_0x49c73d){if(_0x670046['rpcFaxQueues'][_0x49c73d]){_0x670046[_0x477d('0x16d9')][_0x49c73d][_0x477d('0x10c')]=_0x670046[_0x477d('0x16da')][_0x49c73d][_0x477d('0x10c')]||0x0;}});}function _0x3aa07f(_0x5bc177){if(_0x670046[_0x477d('0x16d9')][_0x5bc177['id']]){if(_0x670046[_0x477d('0x16da')][_0x5bc177['id']]){_['merge'](_0x670046[_0x477d('0x16da')][_0x5bc177['id']],_[_0x477d('0x10b')](_0x5bc177,_0x2fadaa));_['merge'](_0x670046[_0x477d('0x16d9')][_0x5bc177['id']],_[_0x477d('0x10b')](_0x5bc177,_0x2fadaa));}}}function _0x50d760(_0x175903){if(!_[_0x477d('0x484')](_0x175903)){_0x670046[_0x477d('0x16da')][_0x175903['id']]=_[_0x477d('0x10b')](_0x175903,_0x2fadaa);}}function _0x4c740a(_0x452016){if(!_[_0x477d('0x484')](_0x452016)){if(_0x670046[_0x477d('0x16da')][_0x452016['id']]){_[_0x477d('0xef')](_0x670046[_0x477d('0x16da')][_0x452016['id']],_[_0x477d('0x10b')](_0x452016,_0x2fadaa));}if(_0x670046[_0x477d('0x16d9')][_0x452016['id']]){_[_0x477d('0xef')](_0x670046['faxQueues'][_0x452016['id']],_[_0x477d('0x10b')](_0x452016,_0x2fadaa));}}}function _0x256d7c(_0x5c9ef2){if(!_[_0x477d('0x484')](_0x5c9ef2)){delete _0x670046[_0x477d('0x16da')][_0x5c9ef2['id']];delete _0x670046[_0x477d('0x16d9')][_0x5c9ef2['id']];}}function _0x2f3133(_0xc150a3){if(_[_0x477d('0x16ba')](_0xc150a3[_0x477d('0x125b')])===_0x2d4dce[_0x477d('0x5c')]()['id']){_0x670046[_0x477d('0x16eb')]();}}function _0x43b3ac(_0x44d251){if(_['toInteger'](_0x44d251[_0x477d('0x125b')])===_0x2d4dce[_0x477d('0x5c')]()['id']){_0x670046[_0x477d('0x16eb')]();}}function _0xa69321(_0xcc4c2){if(_0x670046[_0x477d('0x16d9')][_0xcc4c2[_0x477d('0xf4c')]]){_0x670046[_0x477d('0x16dc')][_0xcc4c2['id']]=_0xcc4c2;_0x24914d();}}function _0x4de5c9(_0x3bf927){delete _0x670046[_0x477d('0x16dc')][_0x3bf927['id']];if(_0x3d9011){_0x670046[_0x477d('0x16db')][_0x477d('0x3a7')](_0x3bf927['id']);}_0x24914d();}function _0x3218ab(_0x440caa){switch(_0x440caa){case _0x477d('0xb6'):return _0x477d('0x16ee');case _0x477d('0x1d6'):return _0x477d('0x16ef');case _0x477d('0x26e'):return _0x477d('0x16f0');case'whatsapp':return _0x477d('0x16d1');case _0x477d('0x22a'):return _0x477d('0x16f1');case _0x477d('0x154'):return'blue-grey-A200-bg';default:return _0x477d('0x16d3');}}_0x59e830[_0x477d('0x4ec')](_0x477d('0x505'),function(){_0x490248[_0x477d('0x6b8')]('fax_queue:save');_0x490248[_0x477d('0x6b8')](_0x477d('0x16e5'));_0x490248[_0x477d('0x6b8')](_0x477d('0x16e6'));_0x490248[_0x477d('0x6b8')]('faxQueue:remove');_0x490248[_0x477d('0x6b8')](_0x477d('0x16e8'));_0x490248['removeAllListeners'](_0x477d('0x16e9'));_0x490248[_0x477d('0x6b8')](_0x477d('0x16ea'));_0x490248[_0x477d('0x6b8')](_0x477d('0x16f2'));});}}());(function(){'use strict';_0x42bff3[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x3fe'),_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x387'),'$translate',_0x477d('0x386'),_0x477d('0x55'),_0x477d('0x5a3'),'toasty'];angular[_0x477d('0xb')](_0x477d('0x2c'))['controller'](_0x477d('0x16f3'),_0x42bff3);function _0x42bff3(_0x12b406,_0x14dec4,_0x20f6cd,_0x15c1f8,_0x19e901,_0x5e89a5,_0x184927,_0x474838,_0x1402e0,_0x4bf877){var _0x46893b=this;var _0x28cb63=['id',_0x477d('0x94'),_0x477d('0x16d8'),_0x477d('0x10c')];var _0x1de228=!![];_0x46893b[_0x477d('0x16f4')]={};_0x46893b[_0x477d('0x16f5')]=0x0;_0x46893b[_0x477d('0x16f6')]={};_0x46893b['paginatedInteractions']=[];_0x46893b[_0x477d('0x16f7')]=[];_0x46893b[_0x477d('0x16f8')]={};_0x46893b[_0x477d('0x3ef')]={'id':_0x474838[_0x477d('0x5c')]()['id'],'channel':_0x477d('0x1d6'),'fields':_0x477d('0x16bf'),'limit':0xa,'page':0x1};_0x46893b[_0x477d('0x16c0')]={'limit':0xa,'page':0x1};_0x46893b[_0x477d('0x485')]=_0x55a073;_0x46893b[_0x477d('0x16f9')]=_0xe8c933;_0x46893b['getSize']=_0x179851;_0x46893b[_0x477d('0x16c2')]=_0x435135;_0x46893b[_0x477d('0x16c3')]=_0x14c0d5;_0x46893b[_0x477d('0x16c4')]=_0x4010c2;_0x46893b[_0x477d('0x16fa')]=_0x5b2d96;_0x46893b[_0x477d('0x16fb')]=_0x53eb1a;_0x46893b[_0x477d('0x16fc')]=_0x1cb397;_0x46893b[_0x477d('0x16fd')]=_0x34520c;_0x46893b['onRemoveUserMailQueue']=_0x4bf150;_0x46893b[_0x477d('0x16fe')]=_0x10c7f0;_0x46893b['onRemoveMailQueueChannel']=_0xc39276;_0x1402e0['onWithoutApply'](_0x477d('0x16ff'),_0x46893b[_0x477d('0x16c4')]);_0x1402e0[_0x477d('0x165e')](_0x477d('0x1700'),_0x46893b[_0x477d('0x16fa')]);_0x1402e0[_0x477d('0x165e')]('mailQueue:update',_0x46893b[_0x477d('0x16fb')]);_0x1402e0['onWithoutApply']('mailQueue:remove',_0x46893b['onRemoveMailQueue']);_0x1402e0[_0x477d('0x165e')](_0x477d('0x1701'),_0x46893b['onSaveUserMailQueue']);_0x1402e0[_0x477d('0x165e')](_0x477d('0x1702'),_0x46893b[_0x477d('0x1703')]);_0x1402e0[_0x477d('0x165e')](_0x477d('0x1704'),_0x46893b[_0x477d('0x16fe')]);_0x1402e0[_0x477d('0x165e')](_0x477d('0x1705'),_0x46893b[_0x477d('0x1706')]);_0x184927[_0x477d('0x6c9')][_0x477d('0x16f9')]()[_0x477d('0x38b')][_0x477d('0x76')](function(_0x4f4b11){_0x46893b['rpcMailQueues']=_0x4f4b11?_[_0x477d('0xdb5')](_0x4f4b11[_0x477d('0xf2')]?_0x4f4b11['rows']:[],'id'):{};})[_0x477d('0x76')](function(_0x156f33){return _0x184927[_0x477d('0x380')][_0x477d('0x1418')]({'id':_0x474838[_0x477d('0x5c')]()['id'],'channel':_0x477d('0x1d6')})[_0x477d('0x38b')];})['then'](function(_0x3c8823){_0x46893b[_0x477d('0x16cd')]=_0x3c8823['rows'];return _0x184927[_0x477d('0x6c9')][_0x477d('0x1707')]()[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x1e713f){var _0x12fa33=_[_0x477d('0x3b3')](_0x1e713f[_0x477d('0xf2')],function(_0x5ba0c9){return _[_0x477d('0x3a4')](_0x46893b[_0x477d('0x16cd')],{'id':_0x5ba0c9['queue_id']});});_0x1e713f[_0x477d('0xf2')]=_0x12fa33;_0x1e713f[_0x477d('0x3bb')]=_0x12fa33[_0x477d('0x79')];_[_0x477d('0xef')](_0x46893b[_0x477d('0x16f8')],_0x1e713f?_[_0x477d('0xdb5')](_0x1e713f['rows']?_0x1e713f[_0x477d('0xf2')]:[],'id'):{});})[_0x477d('0xf8')](function(_0x5752e5){console[_0x477d('0x44a')](_0x5752e5);})[_0x477d('0x5ff')](function(){for(var _0x4aefaa=0x0;_0x4aefaa<_0x46893b[_0x477d('0x16f7')]['length'];_0x4aefaa+=0x1){delete _0x46893b['rpcMailQueuesWaitingInteractions'][_0x46893b[_0x477d('0x16f7')][_0x4aefaa]];}_0x1de228=![];_0x46893b[_0x477d('0x16f7')]=[];_0xe8c933();_0x14c0d5();});function _0x14c0d5(){var _0x56037e=(_0x46893b['queryChannels'][_0x477d('0xe03')]-0x1)*_0x46893b[_0x477d('0x16c0')][_0x477d('0x91d')];_0x46893b[_0x477d('0x16bc')]=_['orderBy'](_0x46893b[_0x477d('0x16f8')],[_0x477d('0x16ec')],['desc']);_0x46893b['interactions']=_['drop'](_0x46893b['paginatedInteractions'],_0x56037e)[_0x477d('0x9cd')](0x0,_0x46893b[_0x477d('0x16c0')][_0x477d('0x91d')]);}function _0x55a073(_0x3ad1e0){_0x46893b['mailQueuesTotal']=_0x3ad1e0[_0x477d('0x3bb')]?_0x3ad1e0['count']:0x0;_0x46893b[_0x477d('0x16f4')]=_0x3ad1e0?_[_0x477d('0xdb5')](_0x3ad1e0['rows']?_0x3ad1e0[_0x477d('0xf2')]:[],'id'):{};_0x4dc1f5();}function _0xe8c933(){_0x46893b[_0x477d('0x3ef')][_0x477d('0x91c')]=(_0x46893b['query'][_0x477d('0xe03')]-0x1)*_0x46893b[_0x477d('0x3ef')][_0x477d('0x91d')];_0x46893b['promise']=_0x184927[_0x477d('0x380')][_0x477d('0x1418')](_0x46893b[_0x477d('0x3ef')],_0x55a073)[_0x477d('0x38b')];}var _0x527bd=!![];var _0x426064=0x1;_0x12b406[_0x477d('0x4b5')](_0x477d('0x12f3'),function(_0x9e07cf,_0x3d5695){if(_0x527bd){_0x14dec4(function(){_0x527bd=![];});}else{if(!_0x3d5695){_0x426064=_0x46893b['query'][_0x477d('0xe03')];}if(_0x9e07cf!==_0x3d5695){_0x46893b['query'][_0x477d('0xe03')]=0x1;}if(!_0x9e07cf){_0x46893b['query'][_0x477d('0xe03')]=_0x426064;}_0x46893b[_0x477d('0x16f9')]();}});function _0x179851(_0x210adc){return _[_0x477d('0x117b')](_0x210adc);}function _0x4dc1f5(){_[_0x477d('0xe4b')](_0x46893b['mailQueues'],function(_0x5304a9,_0x219ed6){if(_0x46893b[_0x477d('0x16f6')][_0x219ed6]){_0x46893b[_0x477d('0x16f4')][_0x219ed6][_0x477d('0x10c')]=_0x46893b[_0x477d('0x16f6')][_0x219ed6][_0x477d('0x10c')]||0x0;}});}function _0x4010c2(_0x1e582a){if(_0x46893b[_0x477d('0x16f4')][_0x1e582a['id']]){if(_0x46893b['rpcMailQueues'][_0x1e582a['id']]){_[_0x477d('0xef')](_0x46893b[_0x477d('0x16f6')][_0x1e582a['id']],_[_0x477d('0x10b')](_0x1e582a,_0x28cb63));_[_0x477d('0xef')](_0x46893b['mailQueues'][_0x1e582a['id']],_[_0x477d('0x10b')](_0x1e582a,_0x28cb63));}}}function _0x5b2d96(_0x214620){if(!_['isNil'](_0x214620)){_0x46893b['rpcMailQueues'][_0x214620['id']]=_[_0x477d('0x10b')](_0x214620,_0x28cb63);}}function _0x53eb1a(_0x2d8775){if(!_[_0x477d('0x484')](_0x2d8775)){if(_0x46893b[_0x477d('0x16f6')][_0x2d8775['id']]){_[_0x477d('0xef')](_0x46893b[_0x477d('0x16f6')][_0x2d8775['id']],_[_0x477d('0x10b')](_0x2d8775,_0x28cb63));}if(_0x46893b[_0x477d('0x16f4')][_0x2d8775['id']]){_[_0x477d('0xef')](_0x46893b[_0x477d('0x16f4')][_0x2d8775['id']],_['pick'](_0x2d8775,_0x28cb63));}}}function _0x1cb397(_0x5c356c){if(!_[_0x477d('0x484')](_0x5c356c)){delete _0x46893b[_0x477d('0x16f6')][_0x5c356c['id']];delete _0x46893b[_0x477d('0x16f4')][_0x5c356c['id']];}}function _0x34520c(_0x30fede){if(_[_0x477d('0x16ba')](_0x30fede[_0x477d('0x125b')])===_0x474838['getCurrentUser']()['id']){_0x46893b[_0x477d('0x16f9')]();}}function _0x4bf150(_0x190b6f){if(_['toInteger'](_0x190b6f['UserId'])===_0x474838[_0x477d('0x5c')]()['id']){_0x46893b[_0x477d('0x16f9')]();}}function _0x10c7f0(_0x5a2f96){if(_0x46893b[_0x477d('0x16f4')][_0x5a2f96[_0x477d('0xf4c')]]){_0x46893b[_0x477d('0x16f8')][_0x5a2f96['id']]=_0x5a2f96;_0x14c0d5();}}function _0xc39276(_0x5e00e0){delete _0x46893b[_0x477d('0x16f8')][_0x5e00e0['id']];if(_0x1de228){_0x46893b['deleteMailQueuesWaitingInteractions'][_0x477d('0x3a7')](_0x5e00e0['id']);}_0x14c0d5();}function _0x435135(_0x1896d6){switch(_0x1896d6){case _0x477d('0xb6'):return _0x477d('0x16ee');case'mail':return'teal-bg';case'sms':return _0x477d('0x16f0');case'whatsapp':return _0x477d('0x16d1');case _0x477d('0x22a'):return _0x477d('0x16f1');case'fax':return _0x477d('0x16d2');default:return _0x477d('0x16d3');}}_0x12b406[_0x477d('0x4ec')]('$destroy',function(){_0x1402e0['removeAllListeners'](_0x477d('0x16ff'));_0x1402e0[_0x477d('0x6b8')](_0x477d('0x1700'));_0x1402e0['removeAllListeners'](_0x477d('0x1708'));_0x1402e0['removeAllListeners'](_0x477d('0x1709'));_0x1402e0[_0x477d('0x6b8')](_0x477d('0x1701'));_0x1402e0['removeAllListeners']('userMailQueue:remove');_0x1402e0['removeAllListeners']('mail_queue_waiting_interaction:save');_0x1402e0[_0x477d('0x6b8')](_0x477d('0x1705'));});}}());(function(){'use strict';_0x282434[_0x477d('0xa')]=['$scope','$timeout',_0x477d('0x384'),_0x477d('0x475'),'$window',_0x477d('0x40d'),_0x477d('0x386'),_0x477d('0x55'),_0x477d('0x5a3'),_0x477d('0x40e')];angular[_0x477d('0xb')](_0x477d('0x2c'))[_0x477d('0x3ba')](_0x477d('0x170a'),_0x282434);function _0x282434(_0x455bd8,_0x273345,_0x42e3aa,_0x2c6521,_0x231f80,_0x126c60,_0x5f14a0,_0x25c4c3,_0x5025bc,_0x1a6499){var _0x2e581b=this;var _0x10b5c3=['id',_0x477d('0x94'),_0x477d('0x16d8'),'waiting'];var _0x45b322=!![];_0x2e581b[_0x477d('0x170b')]={};_0x2e581b[_0x477d('0x170c')]=0x0;_0x2e581b['rpcOpenchannelQueues']={};_0x2e581b[_0x477d('0x16bc')]=[];_0x2e581b[_0x477d('0x170d')]=[];_0x2e581b[_0x477d('0x170e')]={};_0x2e581b['query']={'id':_0x25c4c3[_0x477d('0x5c')]()['id'],'channel':_0x477d('0x22a'),'fields':_0x477d('0x16bf'),'limit':0xa,'page':0x1};_0x2e581b[_0x477d('0x16c0')]={'limit':0xa,'page':0x1};_0x2e581b[_0x477d('0x485')]=_0x40a14c;_0x2e581b[_0x477d('0x170f')]=_0x43a078;_0x2e581b[_0x477d('0x16c1')]=_0xbbdb6d;_0x2e581b[_0x477d('0x16c2')]=_0x1fa335;_0x2e581b[_0x477d('0x16c3')]=_0x388294;_0x2e581b[_0x477d('0x16c4')]=_0x449102;_0x2e581b['onSaveOpenchannelQueue']=_0x1789b8;_0x2e581b[_0x477d('0x1710')]=_0x2f0037;_0x2e581b[_0x477d('0x1711')]=_0x159b70;_0x2e581b[_0x477d('0x1712')]=_0x3a9db0;_0x2e581b[_0x477d('0x1713')]=_0xeb48c4;_0x2e581b['onSaveOpenchannelQueueChannel']=_0x130582;_0x2e581b[_0x477d('0x1714')]=_0x40f679;_0x5025bc[_0x477d('0x165e')](_0x477d('0x1715'),_0x2e581b[_0x477d('0x16c4')]);_0x5025bc[_0x477d('0x165e')](_0x477d('0x1716'),_0x2e581b[_0x477d('0x1717')]);_0x5025bc[_0x477d('0x165e')](_0x477d('0x1718'),_0x2e581b[_0x477d('0x1710')]);_0x5025bc[_0x477d('0x165e')](_0x477d('0x1719'),_0x2e581b[_0x477d('0x1711')]);_0x5025bc[_0x477d('0x165e')](_0x477d('0x171a'),_0x2e581b[_0x477d('0x1712')]);_0x5025bc[_0x477d('0x165e')](_0x477d('0x171b'),_0x2e581b['onRemoveUserOpenchannelQueue']);_0x5025bc[_0x477d('0x165e')]('openchannel_queue_waiting_interaction:save',_0x2e581b[_0x477d('0x171c')]);_0x5025bc['onWithoutApply']('openchannel_queue_waiting_interaction:remove',_0x2e581b['onRemoveOpenchannelQueueChannel']);_0x5f14a0['rpc'][_0x477d('0x170f')]()[_0x477d('0x38b')][_0x477d('0x76')](function(_0x3504c9){_0x2e581b['rpcOpenchannelQueues']=_0x3504c9?_['keyBy'](_0x3504c9[_0x477d('0xf2')]?_0x3504c9[_0x477d('0xf2')]:[],'id'):{};})[_0x477d('0x76')](function(_0xe168f4){return _0x5f14a0[_0x477d('0x380')][_0x477d('0x1418')]({'id':_0x25c4c3[_0x477d('0x5c')]()['id'],'channel':'openchannel'})[_0x477d('0x38b')];})['then'](function(_0x26d98a){_0x2e581b[_0x477d('0x16cd')]=_0x26d98a[_0x477d('0xf2')];return _0x5f14a0[_0x477d('0x6c9')][_0x477d('0x171d')]()[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x4e0e49){var _0x5004f5=_[_0x477d('0x3b3')](_0x4e0e49[_0x477d('0xf2')],function(_0x29ab10){return _[_0x477d('0x3a4')](_0x2e581b[_0x477d('0x16cd')],{'id':_0x29ab10['queue_id']});});_0x4e0e49['rows']=_0x5004f5;_0x4e0e49[_0x477d('0x3bb')]=_0x5004f5[_0x477d('0x79')];_[_0x477d('0xef')](_0x2e581b[_0x477d('0x170e')],_0x4e0e49?_[_0x477d('0xdb5')](_0x4e0e49['rows']?_0x4e0e49[_0x477d('0xf2')]:[],'id'):{});})[_0x477d('0xf8')](function(_0x4c5bc4){console['error'](_0x4c5bc4);})[_0x477d('0x5ff')](function(){for(var _0x18ebd7=0x0;_0x18ebd7<_0x2e581b[_0x477d('0x170d')][_0x477d('0x79')];_0x18ebd7+=0x1){delete _0x2e581b['rpcOpenchannelQueuesWaitingInteractions'][_0x2e581b[_0x477d('0x170d')][_0x18ebd7]];}_0x45b322=![];_0x2e581b[_0x477d('0x170d')]=[];_0x43a078();_0x388294();});function _0x388294(){var _0x3ef8d1=(_0x2e581b[_0x477d('0x16c0')]['page']-0x1)*_0x2e581b[_0x477d('0x16c0')][_0x477d('0x91d')];_0x2e581b[_0x477d('0x16bc')]=_[_0x477d('0x1401')](_0x2e581b[_0x477d('0x170e')],[_0x477d('0x16ec')],[_0x477d('0x13ff')]);_0x2e581b['interactions']=_[_0x477d('0x13ec')](_0x2e581b[_0x477d('0x16bc')],_0x3ef8d1)['slice'](0x0,_0x2e581b['queryChannels'][_0x477d('0x91d')]);}function _0x40a14c(_0x21837){_0x2e581b['openchannelQueuesTotal']=_0x21837[_0x477d('0x3bb')]?_0x21837[_0x477d('0x3bb')]:0x0;_0x2e581b[_0x477d('0x170b')]=_0x21837?_[_0x477d('0xdb5')](_0x21837[_0x477d('0xf2')]?_0x21837[_0x477d('0xf2')]:[],'id'):{};_0x2ae016();}function _0x43a078(){_0x2e581b[_0x477d('0x3ef')][_0x477d('0x91c')]=(_0x2e581b[_0x477d('0x3ef')]['page']-0x1)*_0x2e581b[_0x477d('0x3ef')]['limit'];_0x2e581b[_0x477d('0x553')]=_0x5f14a0['user']['getQueues'](_0x2e581b[_0x477d('0x3ef')],_0x40a14c)[_0x477d('0x38b')];}var _0x5c60ad=!![];var _0x32b234=0x1;_0x455bd8[_0x477d('0x4b5')](_0x477d('0x12f3'),function(_0x242bd8,_0x5ba614){if(_0x5c60ad){_0x273345(function(){_0x5c60ad=![];});}else{if(!_0x5ba614){_0x32b234=_0x2e581b[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x242bd8!==_0x5ba614){_0x2e581b[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0x242bd8){_0x2e581b[_0x477d('0x3ef')]['page']=_0x32b234;}_0x2e581b[_0x477d('0x170f')]();}});function _0xbbdb6d(_0x42aebf){return _[_0x477d('0x117b')](_0x42aebf);}function _0x2ae016(){_[_0x477d('0xe4b')](_0x2e581b[_0x477d('0x170b')],function(_0x3c675c,_0x2f9b21){if(_0x2e581b[_0x477d('0x171e')][_0x2f9b21]){_0x2e581b[_0x477d('0x170b')][_0x2f9b21]['waiting']=_0x2e581b[_0x477d('0x171e')][_0x2f9b21]['waiting']||0x0;}});}function _0x449102(_0x523546){if(_0x2e581b[_0x477d('0x170b')][_0x523546['id']]){if(_0x2e581b[_0x477d('0x171e')][_0x523546['id']]){_['merge'](_0x2e581b[_0x477d('0x171e')][_0x523546['id']],_[_0x477d('0x10b')](_0x523546,_0x10b5c3));_[_0x477d('0xef')](_0x2e581b['openchannelQueues'][_0x523546['id']],_[_0x477d('0x10b')](_0x523546,_0x10b5c3));}}}function _0x1789b8(_0x350338){if(!_[_0x477d('0x484')](_0x350338)){_0x2e581b[_0x477d('0x171e')][_0x350338['id']]=_[_0x477d('0x10b')](_0x350338,_0x10b5c3);}}function _0x2f0037(_0x20c970){if(!_[_0x477d('0x484')](_0x20c970)){if(_0x2e581b[_0x477d('0x171e')][_0x20c970['id']]){_[_0x477d('0xef')](_0x2e581b[_0x477d('0x171e')][_0x20c970['id']],_[_0x477d('0x10b')](_0x20c970,_0x10b5c3));}if(_0x2e581b[_0x477d('0x170b')][_0x20c970['id']]){_[_0x477d('0xef')](_0x2e581b[_0x477d('0x170b')][_0x20c970['id']],_['pick'](_0x20c970,_0x10b5c3));}}}function _0x159b70(_0x4678ca){if(!_[_0x477d('0x484')](_0x4678ca)){delete _0x2e581b[_0x477d('0x171e')][_0x4678ca['id']];delete _0x2e581b[_0x477d('0x170b')][_0x4678ca['id']];}}function _0x3a9db0(_0x41f0d2){if(_['toInteger'](_0x41f0d2['UserId'])===_0x25c4c3[_0x477d('0x5c')]()['id']){_0x2e581b[_0x477d('0x170f')]();}}function _0xeb48c4(_0x1d7426){if(_['toInteger'](_0x1d7426[_0x477d('0x125b')])===_0x25c4c3['getCurrentUser']()['id']){_0x2e581b[_0x477d('0x170f')]();}}function _0x130582(_0x5ec71f){if(_0x2e581b[_0x477d('0x170b')][_0x5ec71f[_0x477d('0xf4c')]]){_0x2e581b[_0x477d('0x170e')][_0x5ec71f['id']]=_0x5ec71f;_0x388294();}}function _0x40f679(_0x5d41c2){delete _0x2e581b['rpcOpenchannelQueuesWaitingInteractions'][_0x5d41c2['id']];if(_0x45b322){_0x2e581b[_0x477d('0x170d')][_0x477d('0x3a7')](_0x5d41c2['id']);}_0x388294();}function _0x1fa335(_0x104245){switch(_0x104245){case _0x477d('0xb6'):return _0x477d('0x16ee');case'mail':return _0x477d('0x16ef');case _0x477d('0x26e'):return _0x477d('0x16f0');case _0x477d('0x35d'):return _0x477d('0x16d1');case _0x477d('0x22a'):return _0x477d('0x16f1');case _0x477d('0x154'):return'blue-grey-A200-bg';default:return _0x477d('0x16d3');}}_0x455bd8[_0x477d('0x4ec')](_0x477d('0x505'),function(){_0x5025bc[_0x477d('0x6b8')](_0x477d('0x1715'));_0x5025bc[_0x477d('0x6b8')](_0x477d('0x1716'));_0x5025bc[_0x477d('0x6b8')](_0x477d('0x1718'));_0x5025bc['removeAllListeners'](_0x477d('0x1719'));_0x5025bc[_0x477d('0x6b8')](_0x477d('0x171a'));_0x5025bc[_0x477d('0x6b8')](_0x477d('0x171b'));_0x5025bc[_0x477d('0x6b8')]('openchannel_queue_waiting_interaction:save');_0x5025bc[_0x477d('0x6b8')](_0x477d('0x171f'));});}}());(function(){'use strict';_0x3a3409[_0x477d('0xa')]=['$scope',_0x477d('0x3fe'),_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x387'),_0x477d('0x40d'),_0x477d('0x386'),_0x477d('0x55'),_0x477d('0x5a3'),_0x477d('0x40e')];angular[_0x477d('0xb')](_0x477d('0x2c'))[_0x477d('0x3ba')](_0x477d('0x1720'),_0x3a3409);function _0x3a3409(_0x1674a4,_0xf16df0,_0x17e880,_0x161b06,_0x5cf02d,_0xa75507,_0xa96b80,_0x5d02c8,_0x417d32,_0x33959d){var _0x43d980=this;var _0x46b868=['id',_0x477d('0x94'),_0x477d('0x16d8'),_0x477d('0x10c')];var _0x3db59a=!![];_0x43d980[_0x477d('0x1721')]={};_0x43d980[_0x477d('0x1722')]=0x0;_0x43d980['rpcSmsQueues']={};_0x43d980[_0x477d('0x16bc')]=[];_0x43d980[_0x477d('0x1723')]=[];_0x43d980[_0x477d('0x1724')]={};_0x43d980[_0x477d('0x3ef')]={'id':_0x5d02c8[_0x477d('0x5c')]()['id'],'channel':_0x477d('0x26e'),'fields':_0x477d('0x16bf'),'limit':0xa,'page':0x1};_0x43d980['queryChannels']={'limit':0xa,'page':0x1};_0x43d980[_0x477d('0x485')]=_0xd8166b;_0x43d980[_0x477d('0x1725')]=_0x2e1db9;_0x43d980[_0x477d('0x16c1')]=_0x5284d8;_0x43d980['getColorByChannel']=_0x17d4ea;_0x43d980[_0x477d('0x16c3')]=_0x210876;_0x43d980[_0x477d('0x16c4')]=_0x4fab72;_0x43d980[_0x477d('0x1726')]=_0x302590;_0x43d980[_0x477d('0x1727')]=_0x3e02ed;_0x43d980[_0x477d('0x1728')]=_0x2a4de0;_0x43d980[_0x477d('0x1729')]=_0x5a5d37;_0x43d980[_0x477d('0x172a')]=_0x10b453;_0x43d980[_0x477d('0x172b')]=_0x5ea913;_0x43d980[_0x477d('0x172c')]=_0x1a5758;_0x417d32['onWithoutApply'](_0x477d('0x172d'),_0x43d980[_0x477d('0x16c4')]);_0x417d32[_0x477d('0x165e')](_0x477d('0x172e'),_0x43d980[_0x477d('0x1726')]);_0x417d32[_0x477d('0x165e')](_0x477d('0x172f'),_0x43d980[_0x477d('0x1727')]);_0x417d32[_0x477d('0x165e')]('smsQueue:remove',_0x43d980['onRemoveSmsQueue']);_0x417d32[_0x477d('0x165e')](_0x477d('0x1730'),_0x43d980[_0x477d('0x1729')]);_0x417d32['onWithoutApply'](_0x477d('0x1731'),_0x43d980[_0x477d('0x172a')]);_0x417d32[_0x477d('0x165e')](_0x477d('0x1732'),_0x43d980[_0x477d('0x172b')]);_0x417d32[_0x477d('0x165e')]('sms_queue_waiting_interaction:remove',_0x43d980[_0x477d('0x172c')]);_0xa96b80[_0x477d('0x6c9')]['getSmsQueues']()[_0x477d('0x38b')][_0x477d('0x76')](function(_0x3fbb65){_0x43d980[_0x477d('0x1733')]=_0x3fbb65?_['keyBy'](_0x3fbb65[_0x477d('0xf2')]?_0x3fbb65[_0x477d('0xf2')]:[],'id'):{};})[_0x477d('0x76')](function(_0xa5ba){return _0xa96b80[_0x477d('0x380')][_0x477d('0x1418')]({'id':_0x5d02c8['getCurrentUser']()['id'],'channel':_0x477d('0x26e')})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x437baf){_0x43d980[_0x477d('0x16cd')]=_0x437baf[_0x477d('0xf2')];return _0xa96b80[_0x477d('0x6c9')][_0x477d('0x1734')]()[_0x477d('0x38b')];})['then'](function(_0x434b0e){var _0x568d3c=_[_0x477d('0x3b3')](_0x434b0e[_0x477d('0xf2')],function(_0x17d08d){return _[_0x477d('0x3a4')](_0x43d980[_0x477d('0x16cd')],{'id':_0x17d08d[_0x477d('0xf4c')]});});_0x434b0e['rows']=_0x568d3c;_0x434b0e[_0x477d('0x3bb')]=_0x568d3c[_0x477d('0x79')];_[_0x477d('0xef')](_0x43d980[_0x477d('0x1724')],_0x434b0e?_[_0x477d('0xdb5')](_0x434b0e['rows']?_0x434b0e[_0x477d('0xf2')]:[],'id'):{});})['catch'](function(_0x162a9f){console['error'](_0x162a9f);})[_0x477d('0x5ff')](function(){for(var _0x1aa80b=0x0;_0x1aa80b<_0x43d980[_0x477d('0x1723')][_0x477d('0x79')];_0x1aa80b+=0x1){delete _0x43d980['rpcSmsQueuesWaitingInteractions'][_0x43d980[_0x477d('0x1723')][_0x1aa80b]];}_0x3db59a=![];_0x43d980[_0x477d('0x1723')]=[];_0x2e1db9();_0x210876();});function _0x210876(){var _0x170527=(_0x43d980[_0x477d('0x16c0')][_0x477d('0xe03')]-0x1)*_0x43d980[_0x477d('0x16c0')][_0x477d('0x91d')];_0x43d980[_0x477d('0x16bc')]=_[_0x477d('0x1401')](_0x43d980[_0x477d('0x1724')],[_0x477d('0x16ec')],[_0x477d('0x13ff')]);_0x43d980[_0x477d('0x16cf')]=_['drop'](_0x43d980[_0x477d('0x16bc')],_0x170527)['slice'](0x0,_0x43d980[_0x477d('0x16c0')][_0x477d('0x91d')]);}function _0xd8166b(_0x1c4e20){_0x43d980[_0x477d('0x1722')]=_0x1c4e20['count']?_0x1c4e20[_0x477d('0x3bb')]:0x0;_0x43d980[_0x477d('0x1721')]=_0x1c4e20?_[_0x477d('0xdb5')](_0x1c4e20[_0x477d('0xf2')]?_0x1c4e20[_0x477d('0xf2')]:[],'id'):{};_0x262d48();}function _0x2e1db9(){_0x43d980[_0x477d('0x3ef')]['offset']=(_0x43d980[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x43d980[_0x477d('0x3ef')][_0x477d('0x91d')];_0x43d980['promise']=_0xa96b80['user'][_0x477d('0x1418')](_0x43d980['query'],_0xd8166b)['$promise'];}var _0xc66533=!![];var _0xce0d17=0x1;_0x1674a4['$watch'](_0x477d('0x12f3'),function(_0x1b0fe4,_0x1186be){if(_0xc66533){_0xf16df0(function(){_0xc66533=![];});}else{if(!_0x1186be){_0xce0d17=_0x43d980['query']['page'];}if(_0x1b0fe4!==_0x1186be){_0x43d980['query']['page']=0x1;}if(!_0x1b0fe4){_0x43d980['query']['page']=_0xce0d17;}_0x43d980[_0x477d('0x1725')]();}});function _0x5284d8(_0x72af6b){return _['size'](_0x72af6b);}function _0x262d48(){_[_0x477d('0xe4b')](_0x43d980['smsQueues'],function(_0x33b6e2,_0x2d0087){if(_0x43d980[_0x477d('0x1733')][_0x2d0087]){_0x43d980['smsQueues'][_0x2d0087][_0x477d('0x10c')]=_0x43d980[_0x477d('0x1733')][_0x2d0087][_0x477d('0x10c')]||0x0;}});}function _0x4fab72(_0x18480a){if(_0x43d980['smsQueues'][_0x18480a['id']]){if(_0x43d980['rpcSmsQueues'][_0x18480a['id']]){_[_0x477d('0xef')](_0x43d980[_0x477d('0x1733')][_0x18480a['id']],_[_0x477d('0x10b')](_0x18480a,_0x46b868));_[_0x477d('0xef')](_0x43d980[_0x477d('0x1721')][_0x18480a['id']],_[_0x477d('0x10b')](_0x18480a,_0x46b868));}}}function _0x302590(_0x12039b){if(!_['isNil'](_0x12039b)){_0x43d980[_0x477d('0x1733')][_0x12039b['id']]=_[_0x477d('0x10b')](_0x12039b,_0x46b868);}}function _0x3e02ed(_0x5c9835){if(!_[_0x477d('0x484')](_0x5c9835)){if(_0x43d980[_0x477d('0x1733')][_0x5c9835['id']]){_[_0x477d('0xef')](_0x43d980[_0x477d('0x1733')][_0x5c9835['id']],_[_0x477d('0x10b')](_0x5c9835,_0x46b868));}if(_0x43d980[_0x477d('0x1721')][_0x5c9835['id']]){_[_0x477d('0xef')](_0x43d980[_0x477d('0x1721')][_0x5c9835['id']],_[_0x477d('0x10b')](_0x5c9835,_0x46b868));}}}function _0x2a4de0(_0xe48194){if(!_[_0x477d('0x484')](_0xe48194)){delete _0x43d980[_0x477d('0x1733')][_0xe48194['id']];delete _0x43d980['smsQueues'][_0xe48194['id']];}}function _0x5a5d37(_0x1e8384){if(_['toInteger'](_0x1e8384[_0x477d('0x125b')])===_0x5d02c8[_0x477d('0x5c')]()['id']){_0x43d980[_0x477d('0x1725')]();}}function _0x10b453(_0x21b359){if(_[_0x477d('0x16ba')](_0x21b359[_0x477d('0x125b')])===_0x5d02c8[_0x477d('0x5c')]()['id']){_0x43d980[_0x477d('0x1725')]();}}function _0x5ea913(_0x286b43){if(_0x43d980[_0x477d('0x1721')][_0x286b43[_0x477d('0xf4c')]]){_0x43d980['rpcSmsQueuesWaitingInteractions'][_0x286b43['id']]=_0x286b43;_0x210876();}}function _0x1a5758(_0x83ae22){delete _0x43d980[_0x477d('0x1724')][_0x83ae22['id']];if(_0x3db59a){_0x43d980[_0x477d('0x1723')][_0x477d('0x3a7')](_0x83ae22['id']);}_0x210876();}function _0x17d4ea(_0x5bdfd3){switch(_0x5bdfd3){case _0x477d('0xb6'):return _0x477d('0x16ee');case _0x477d('0x1d6'):return _0x477d('0x16ef');case _0x477d('0x26e'):return'orange-bg';case'whatsapp':return _0x477d('0x16d1');case _0x477d('0x22a'):return _0x477d('0x16f1');case _0x477d('0x154'):return _0x477d('0x16d2');default:return _0x477d('0x16d3');}}_0x1674a4[_0x477d('0x4ec')](_0x477d('0x505'),function(){_0x417d32['removeAllListeners']('sms_queue:save');_0x417d32['removeAllListeners'](_0x477d('0x172e'));_0x417d32['removeAllListeners'](_0x477d('0x172f'));_0x417d32[_0x477d('0x6b8')]('smsQueue:remove');_0x417d32[_0x477d('0x6b8')](_0x477d('0x1730'));_0x417d32[_0x477d('0x6b8')](_0x477d('0x1731'));_0x417d32[_0x477d('0x6b8')]('sms_queue_waiting_interaction:save');_0x417d32[_0x477d('0x6b8')](_0x477d('0x1735'));});}}());(function(){'use strict';_0x18c56f[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x3fe'),_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x387'),_0x477d('0x40d'),'api','Auth',_0x477d('0x5a3'),'toasty'];angular[_0x477d('0xb')](_0x477d('0x2c'))[_0x477d('0x3ba')](_0x477d('0x1736'),_0x18c56f);function _0x18c56f(_0x2ab5e5,_0xc6e4ab,_0x57d174,_0x3295f2,_0x1ec8bb,_0x4b08e8,_0x1ef7fc,_0x2e011b,_0x28f57a,_0x8490bd){var _0x44464b=this;var _0x3e3769=[_0x477d('0x439'),_0x477d('0x10c'),_0x477d('0x1408'),_0x477d('0x16a8')];_0x44464b[_0x477d('0x8f9')]={};_0x44464b['voiceQueuesTotal']=0x0;_0x44464b[_0x477d('0x16aa')]={};_0x44464b['getVoiceQueues']={};_0x44464b[_0x477d('0x16b8')]={};_0x44464b[_0x477d('0x16ab')]={};_0x44464b[_0x477d('0x16ac')]=[];_0x44464b[_0x477d('0x600')]=!![];_0x44464b[_0x477d('0x3ef')]={'id':_0x2e011b[_0x477d('0x5c')]()['id'],'fields':_0x477d('0x16ad'),'channel':_0x477d('0x108'),'type':'inbound','limit':0xa,'page':0x1};_0x44464b[_0x477d('0x16c0')]={'limit':0xa,'page':0x1};_0x44464b['success']=_0x3641d2;_0x44464b['getVoiceQueues']=_0x4f3d45;_0x44464b[_0x477d('0x16c1')]=_0x196e8c;_0x44464b[_0x477d('0x16c4')]=_0x32b10f;_0x44464b[_0x477d('0x16af')]=_0x102e47;_0x44464b['onUserVoiceQueue']=_0x21a52e;_0x44464b['onSaveVoiceQueue']=_0x4b1a0c;_0x44464b[_0x477d('0x16b1')]=_0x187f45;_0x44464b['onRemoveVoiceQueue']=_0x541dab;_0x28f57a[_0x477d('0x165e')](_0x477d('0x1571'),_0x44464b[_0x477d('0x16c4')]);_0x28f57a[_0x477d('0x165e')](_0x477d('0x16bb'),_0x44464b[_0x477d('0x16af')]);_0x28f57a[_0x477d('0x165e')]('userVoiceQueue:save',_0x44464b['onUserVoiceQueue']);_0x28f57a[_0x477d('0x165e')](_0x477d('0x1414'),_0x44464b[_0x477d('0x16b0')]);_0x28f57a[_0x477d('0x165e')](_0x477d('0x16b3'),_0x44464b[_0x477d('0x16b4')]);_0x28f57a[_0x477d('0x165e')]('voiceQueue:remove',_0x44464b[_0x477d('0x16b2')]);_0x28f57a['onWithoutApply']('voiceQueue:update',_0x44464b[_0x477d('0x16b1')]);_0x1ef7fc['user'][_0x477d('0x1418')](_0x44464b[_0x477d('0x3ef')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x440c56){_0x44464b['myQueues']=_0x440c56;return _0x1ef7fc[_0x477d('0x6c9')][_0x477d('0x16ae')]()[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x2741aa){var _0x1b8dcc=_0x2741aa['rows'];var _0x25b811=_['keyBy'](_0x1b8dcc,'id');for(var _0x8f3124=0x0;_0x8f3124<_0x44464b[_0x477d('0x16cd')][_0x477d('0x3bb')];_0x8f3124++){var _0x416686=_0x44464b[_0x477d('0x16cd')][_0x477d('0xf2')][_0x8f3124];_0x44464b[_0x477d('0x16aa')][_0x416686['id']]=_0x25b811[_0x416686['id']];}return _0x1ef7fc[_0x477d('0x6c9')][_0x477d('0x16b7')]()[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x20db81){_0x44464b['rpcVoiceQueuesChannels']=_0x20db81?_[_0x477d('0xdb5')](_0x20db81[_0x477d('0xf2')]?_[_0x477d('0x3b3')](_0x20db81[_0x477d('0xf2')],function(_0x48ec67){if(_0x48ec67[_0x477d('0x439')]==='inbound'&&!_0x48ec67[_0x477d('0x16b9')]&&_[_0x477d('0x10a')](_0x44464b['myQueues'][_0x477d('0xf2')],{'name':_0x48ec67['queue']})){return!![];}return![];}):[],_0x477d('0x648')):{};})[_0x477d('0xf8')](function(_0x25b22b){console[_0x477d('0x44a')](_0x25b22b);})[_0x477d('0x5ff')](function(){_[_0x477d('0xef')](_0x44464b[_0x477d('0x16b8')],_0x44464b[_0x477d('0x16ab')]);for(var _0x4eda02=0x0;_0x4eda02<_0x44464b[_0x477d('0x16ac')][_0x477d('0x79')];_0x4eda02+=0x1){delete _0x44464b[_0x477d('0x16b8')][_0x44464b['deleteVoiceQueuesChannels'][_0x4eda02]];}_0x44464b[_0x477d('0x600')]=![];_0x44464b[_0x477d('0x16ab')]={};_0x44464b[_0x477d('0x16ac')]=[];_0x44464b['getVoiceQueues']();});function _0x3641d2(_0x2407a2){_0x44464b['voiceQueuesTotal']=_0x2407a2[_0x477d('0x3bb')]?_0x2407a2[_0x477d('0x3bb')]:0x0;_0x44464b[_0x477d('0x8f9')]=_0x2407a2?_['keyBy'](_0x2407a2[_0x477d('0xf2')]?_0x2407a2[_0x477d('0xf2')]:[],'id'):{};_0x4edc3c();}function _0x4f3d45(){_0x44464b[_0x477d('0x3ef')][_0x477d('0x91c')]=(_0x44464b['query'][_0x477d('0xe03')]-0x1)*_0x44464b[_0x477d('0x3ef')][_0x477d('0x91d')];_0x44464b[_0x477d('0x553')]=_0x1ef7fc[_0x477d('0x380')]['getQueues'](_0x44464b[_0x477d('0x3ef')],_0x3641d2)[_0x477d('0x38b')];}var _0x5456d4=!![];var _0x9a39af=0x1;_0x2ab5e5['$watch'](_0x477d('0x12f3'),function(_0x1e22b9,_0x54d156){if(_0x5456d4){_0xc6e4ab(function(){_0x5456d4=![];});}else{if(!_0x54d156){_0x9a39af=_0x44464b[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x1e22b9!==_0x54d156){_0x44464b['query']['page']=0x1;}if(!_0x1e22b9){_0x44464b[_0x477d('0x3ef')][_0x477d('0xe03')]=_0x9a39af;}_0x44464b['getVoiceQueues']();}});function _0x196e8c(_0x2374b2){return _['size'](_0x2374b2);}function _0x4edc3c(){_[_0x477d('0xe4b')](_0x44464b[_0x477d('0x8f9')],function(_0x4db926,_0x38954e){if(_0x44464b['rpcVoiceQueues'][_0x38954e]){_0x44464b['voiceQueues'][_0x38954e][_0x477d('0x10c')]=_0x44464b[_0x477d('0x16aa')][_0x38954e][_0x477d('0x10c')]||0x0;}});}function _0x32b10f(_0x10dad5){if(_0x44464b[_0x477d('0x8f9')][_0x10dad5['id']]){if(_0x44464b['rpcVoiceQueues'][_0x10dad5['id']]){_0x44464b[_0x477d('0x16aa')][_0x10dad5['id']]=_0x10dad5;_[_0x477d('0xef')](_0x44464b[_0x477d('0x8f9')][_0x10dad5['id']],_['pick'](_0x10dad5,_0x3e3769));}}}function _0x102e47(_0x267f49){if(_0x267f49[_0x477d('0x439')]===_0x477d('0x9e')){if(_0x267f49[_0x477d('0x16b9')]){delete _0x44464b[_0x477d('0x16b8')][_0x267f49['uniqueid']];if(_0x44464b[_0x477d('0x600')]){_0x44464b[_0x477d('0x16ac')][_0x477d('0x3a7')](_0x267f49[_0x477d('0x648')]);}}else{_0x44464b[_0x477d('0x16b8')][_0x267f49['uniqueid']]=_0x267f49;if(_0x44464b['load']){_0x44464b['addVoiceQueuesChannels'][_0x267f49[_0x477d('0x648')]]=_0x267f49;}}}}function _0x4b1a0c(_0x57dfb3){if(!_[_0x477d('0x484')](_0x57dfb3)){_0x44464b[_0x477d('0x16aa')][_0x57dfb3['id']]=_[_0x477d('0x10b')](_0x57dfb3,_0x3e3769);}}function _0x187f45(_0x20e7de){if(!_['isNil'](_0x20e7de)){if(_0x44464b[_0x477d('0x16aa')][_0x20e7de['id']]){_['merge'](_0x44464b[_0x477d('0x16aa')][_0x20e7de['id']],_[_0x477d('0x10b')](_0x20e7de,_0x3e3769));}if(_0x44464b[_0x477d('0x8f9')][_0x20e7de['id']]){_['merge'](_0x44464b[_0x477d('0x8f9')][_0x20e7de['id']],_[_0x477d('0x10b')](_0x20e7de,_0x3e3769));}}}function _0x541dab(_0x5ef8ec){if(!_[_0x477d('0x484')](_0x5ef8ec)){delete _0x44464b[_0x477d('0x16aa')][_0x5ef8ec['id']];delete _0x44464b[_0x477d('0x8f9')][_0x5ef8ec['id']];}}function _0x21a52e(_0x5ea0d2){if(_[_0x477d('0x16ba')](_0x5ea0d2[_0x477d('0x125b')])===_0x2e011b[_0x477d('0x5c')]()['id']){_0x44464b[_0x477d('0x16ae')]();}}_0x2ab5e5['$on'](_0x477d('0x505'),function(){_0x28f57a[_0x477d('0x6b8')](_0x477d('0x1571'));_0x28f57a[_0x477d('0x6b8')](_0x477d('0x16bb'));_0x28f57a[_0x477d('0x6b8')]('userVoiceQueue:save');_0x28f57a[_0x477d('0x6b8')](_0x477d('0x1414'));_0x28f57a[_0x477d('0x6b8')]('voiceQueue:save');_0x28f57a[_0x477d('0x6b8')](_0x477d('0x16b6'));_0x28f57a[_0x477d('0x6b8')](_0x477d('0x16b5'));});}}());(function(){'use strict';_0x418a74[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x3fe'),_0x477d('0x384'),_0x477d('0x475'),'$window',_0x477d('0x40d'),_0x477d('0x386'),_0x477d('0x55'),_0x477d('0x5a3'),_0x477d('0x40e')];angular[_0x477d('0xb')](_0x477d('0x2c'))[_0x477d('0x3ba')](_0x477d('0x1737'),_0x418a74);function _0x418a74(_0x5b02ea,_0x36a1f0,_0x45f9bd,_0x25ad79,_0x3fb3bc,_0x46ffba,_0x12d57d,_0x256991,_0x338f81,_0x40dc83){var _0x35f2cc=this;var _0x49502f=['id',_0x477d('0x94'),'mapAgentsId',_0x477d('0x10c')];var _0x350aac=!![];_0x35f2cc[_0x477d('0x1738')]={};_0x35f2cc[_0x477d('0x1739')]=0x0;_0x35f2cc[_0x477d('0x173a')]={};_0x35f2cc[_0x477d('0x16bc')]=[];_0x35f2cc[_0x477d('0x173b')]=[];_0x35f2cc[_0x477d('0x173c')]={};_0x35f2cc[_0x477d('0x3ef')]={'id':_0x256991[_0x477d('0x5c')]()['id'],'channel':'whatsapp','fields':_0x477d('0x16bf'),'limit':0xa,'page':0x1};_0x35f2cc[_0x477d('0x16c0')]={'limit':0xa,'page':0x1};_0x35f2cc[_0x477d('0x485')]=_0x105ba6;_0x35f2cc[_0x477d('0x173d')]=_0x1c2325;_0x35f2cc[_0x477d('0x16c1')]=_0x4ccdd0;_0x35f2cc[_0x477d('0x16c2')]=_0x25fd38;_0x35f2cc['paginate']=_0x360ea9;_0x35f2cc[_0x477d('0x16c4')]=_0x2abaf2;_0x35f2cc['onSaveWhatsappQueue']=_0x22033c;_0x35f2cc[_0x477d('0x173e')]=_0x3ef7a3;_0x35f2cc[_0x477d('0x173f')]=_0x34c2c1;_0x35f2cc[_0x477d('0x1740')]=_0x14be5e;_0x35f2cc[_0x477d('0x1741')]=_0x56335c;_0x35f2cc['onSaveWhatsappQueueChannel']=_0x269e64;_0x35f2cc[_0x477d('0x1742')]=_0x306083;_0x338f81['onWithoutApply'](_0x477d('0x1743'),_0x35f2cc[_0x477d('0x16c4')]);_0x338f81['onWithoutApply']('whatsappQueue:save',_0x35f2cc[_0x477d('0x1744')]);_0x338f81['onWithoutApply'](_0x477d('0x1745'),_0x35f2cc['onUpdateWhatsappQueue']);_0x338f81[_0x477d('0x165e')](_0x477d('0x1746'),_0x35f2cc[_0x477d('0x173f')]);_0x338f81[_0x477d('0x165e')](_0x477d('0x1747'),_0x35f2cc[_0x477d('0x1740')]);_0x338f81[_0x477d('0x165e')](_0x477d('0x1748'),_0x35f2cc[_0x477d('0x1741')]);_0x338f81[_0x477d('0x165e')](_0x477d('0x1749'),_0x35f2cc[_0x477d('0x174a')]);_0x338f81[_0x477d('0x165e')](_0x477d('0x174b'),_0x35f2cc[_0x477d('0x1742')]);_0x12d57d[_0x477d('0x6c9')][_0x477d('0x173d')]()['$promise'][_0x477d('0x76')](function(_0x1c6da8){_0x35f2cc[_0x477d('0x173a')]=_0x1c6da8?_[_0x477d('0xdb5')](_0x1c6da8[_0x477d('0xf2')]?_0x1c6da8[_0x477d('0xf2')]:[],'id'):{};})['then'](function(_0x1f37a3){return _0x12d57d['user']['getQueues']({'id':_0x256991['getCurrentUser']()['id'],'channel':'whatsapp'})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x5593a7){_0x35f2cc[_0x477d('0x16cd')]=_0x5593a7[_0x477d('0xf2')];return _0x12d57d[_0x477d('0x6c9')][_0x477d('0x174c')]()[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x984a2a){var _0x54bb7d=_[_0x477d('0x3b3')](_0x984a2a['rows'],function(_0xdff28c){return _[_0x477d('0x3a4')](_0x35f2cc[_0x477d('0x16cd')],{'id':_0xdff28c[_0x477d('0xf4c')]});});_0x984a2a[_0x477d('0xf2')]=_0x54bb7d;_0x984a2a['count']=_0x54bb7d[_0x477d('0x79')];_['merge'](_0x35f2cc[_0x477d('0x173c')],_0x984a2a?_['keyBy'](_0x984a2a['rows']?_0x984a2a[_0x477d('0xf2')]:[],'id'):{});})[_0x477d('0xf8')](function(_0x56b6a5){console[_0x477d('0x44a')](_0x56b6a5);})[_0x477d('0x5ff')](function(){for(var _0x474e7d=0x0;_0x474e7d<_0x35f2cc[_0x477d('0x173b')]['length'];_0x474e7d+=0x1){delete _0x35f2cc[_0x477d('0x173c')][_0x35f2cc[_0x477d('0x173b')][_0x474e7d]];}_0x350aac=![];_0x35f2cc[_0x477d('0x173b')]=[];_0x1c2325();_0x360ea9();});function _0x360ea9(){var _0x1b406d=(_0x35f2cc[_0x477d('0x16c0')][_0x477d('0xe03')]-0x1)*_0x35f2cc[_0x477d('0x16c0')][_0x477d('0x91d')];_0x35f2cc[_0x477d('0x16bc')]=_[_0x477d('0x1401')](_0x35f2cc[_0x477d('0x173c')],[_0x477d('0x16ec')],[_0x477d('0x13ff')]);_0x35f2cc[_0x477d('0x16cf')]=_[_0x477d('0x13ec')](_0x35f2cc['paginatedInteractions'],_0x1b406d)[_0x477d('0x9cd')](0x0,_0x35f2cc[_0x477d('0x16c0')][_0x477d('0x91d')]);}function _0x105ba6(_0x1ca159){_0x35f2cc['whatsappQueuesTotal']=_0x1ca159[_0x477d('0x3bb')]?_0x1ca159['count']:0x0;_0x35f2cc[_0x477d('0x1738')]=_0x1ca159?_['keyBy'](_0x1ca159[_0x477d('0xf2')]?_0x1ca159[_0x477d('0xf2')]:[],'id'):{};_0x3b22e6();}function _0x1c2325(){_0x35f2cc['query']['offset']=(_0x35f2cc[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x35f2cc[_0x477d('0x3ef')][_0x477d('0x91d')];_0x35f2cc[_0x477d('0x553')]=_0x12d57d['user'][_0x477d('0x1418')](_0x35f2cc[_0x477d('0x3ef')],_0x105ba6)[_0x477d('0x38b')];}var _0x52c657=!![];var _0x43fddf=0x1;_0x5b02ea[_0x477d('0x4b5')](_0x477d('0x12f3'),function(_0x59f8bb,_0x8e34ec){if(_0x52c657){_0x36a1f0(function(){_0x52c657=![];});}else{if(!_0x8e34ec){_0x43fddf=_0x35f2cc['query'][_0x477d('0xe03')];}if(_0x59f8bb!==_0x8e34ec){_0x35f2cc['query'][_0x477d('0xe03')]=0x1;}if(!_0x59f8bb){_0x35f2cc[_0x477d('0x3ef')]['page']=_0x43fddf;}_0x35f2cc[_0x477d('0x173d')]();}});function _0x4ccdd0(_0x558bf1){return _['size'](_0x558bf1);}function _0x3b22e6(){_[_0x477d('0xe4b')](_0x35f2cc[_0x477d('0x1738')],function(_0x242b44,_0x3c6519){if(_0x35f2cc[_0x477d('0x173a')][_0x3c6519]){_0x35f2cc[_0x477d('0x1738')][_0x3c6519]['waiting']=_0x35f2cc['rpcWhatsappQueues'][_0x3c6519]['waiting']||0x0;}});}function _0x2abaf2(_0xe5b192){if(_0x35f2cc[_0x477d('0x1738')][_0xe5b192['id']]){if(_0x35f2cc['rpcWhatsappQueues'][_0xe5b192['id']]){_[_0x477d('0xef')](_0x35f2cc['rpcWhatsappQueues'][_0xe5b192['id']],_['pick'](_0xe5b192,_0x49502f));_[_0x477d('0xef')](_0x35f2cc[_0x477d('0x1738')][_0xe5b192['id']],_['pick'](_0xe5b192,_0x49502f));}}}function _0x22033c(_0x39e58f){if(!_[_0x477d('0x484')](_0x39e58f)){_0x35f2cc[_0x477d('0x173a')][_0x39e58f['id']]=_[_0x477d('0x10b')](_0x39e58f,_0x49502f);}}function _0x3ef7a3(_0x433d58){if(!_[_0x477d('0x484')](_0x433d58)){if(_0x35f2cc[_0x477d('0x173a')][_0x433d58['id']]){_[_0x477d('0xef')](_0x35f2cc['rpcWhatsappQueues'][_0x433d58['id']],_[_0x477d('0x10b')](_0x433d58,_0x49502f));}if(_0x35f2cc['whatsappQueues'][_0x433d58['id']]){_[_0x477d('0xef')](_0x35f2cc[_0x477d('0x1738')][_0x433d58['id']],_['pick'](_0x433d58,_0x49502f));}}}function _0x34c2c1(_0xe8fa67){if(!_[_0x477d('0x484')](_0xe8fa67)){delete _0x35f2cc[_0x477d('0x173a')][_0xe8fa67['id']];delete _0x35f2cc[_0x477d('0x1738')][_0xe8fa67['id']];}}function _0x14be5e(_0x36b57e){if(_[_0x477d('0x16ba')](_0x36b57e[_0x477d('0x125b')])===_0x256991['getCurrentUser']()['id']){_0x35f2cc[_0x477d('0x173d')]();}}function _0x56335c(_0x54c5da){if(_[_0x477d('0x16ba')](_0x54c5da['UserId'])===_0x256991[_0x477d('0x5c')]()['id']){_0x35f2cc[_0x477d('0x173d')]();}}function _0x269e64(_0x898598){if(_0x35f2cc[_0x477d('0x1738')][_0x898598[_0x477d('0xf4c')]]){_0x35f2cc[_0x477d('0x173c')][_0x898598['id']]=_0x898598;_0x360ea9();}}function _0x306083(_0x121d81){delete _0x35f2cc['rpcWhatsappQueuesWaitingInteractions'][_0x121d81['id']];if(_0x350aac){_0x35f2cc[_0x477d('0x173b')][_0x477d('0x3a7')](_0x121d81['id']);}_0x360ea9();}function _0x25fd38(_0x19d2e0){switch(_0x19d2e0){case _0x477d('0xb6'):return _0x477d('0x16ee');case _0x477d('0x1d6'):return _0x477d('0x16ef');case _0x477d('0x26e'):return _0x477d('0x16f0');case _0x477d('0x35d'):return _0x477d('0x16d1');case'openchannel':return'amber-A200-bg';case _0x477d('0x154'):return _0x477d('0x16d2');default:return _0x477d('0x16d3');}}_0x5b02ea[_0x477d('0x4ec')](_0x477d('0x505'),function(){_0x338f81[_0x477d('0x6b8')](_0x477d('0x1743'));_0x338f81[_0x477d('0x6b8')](_0x477d('0x174d'));_0x338f81[_0x477d('0x6b8')](_0x477d('0x1745'));_0x338f81[_0x477d('0x6b8')](_0x477d('0x1746'));_0x338f81['removeAllListeners'](_0x477d('0x1747'));_0x338f81[_0x477d('0x6b8')]('userWhatsappQueue:remove');_0x338f81['removeAllListeners'](_0x477d('0x1749'));_0x338f81[_0x477d('0x6b8')](_0x477d('0x174b'));});}}());(function(){'use strict';_0x1b48f[_0x477d('0xa')]=[_0x477d('0x474'),'$timeout',_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x387'),_0x477d('0x40d'),_0x477d('0x386'),_0x477d('0x55'),_0x477d('0x5a3'),_0x477d('0x40e'),_0x477d('0x157e')];angular['module']('app.dashboards')[_0x477d('0x3ba')]('AgentHomeFaxController',_0x1b48f);function _0x1b48f(_0x1ceea4,_0xbd0345,_0x493b20,_0x1a055d,_0x39679c,_0x263b09,_0x551590,_0x5b4ca5,_0x4bc54e,_0x5dcf56,_0x4e7fa9){var _0x4455d2=this;_0x4455d2[_0x477d('0x380')]=_0x5b4ca5['getCurrentUser']();_0x4455d2[_0x477d('0x613')]={};_0x4455d2[_0x477d('0xc8e')]={};_0x4455d2[_0x477d('0x1263')]={'count':0x0,'rows':[]};_0x4455d2[_0x477d('0x174e')]={'count':0x0,'rows':[]};_0x4455d2[_0x477d('0x3ef')]={'includeAll':!![],'sort':'-updatedAt','limit':0xa,'page':0x1,'read':null,'closed':null};_0x4455d2['advancedSearch']={'fields':[{'name':'Id','column':'id','type':_0x477d('0x421')},{'name':'Contact','column':_0x477d('0x1370'),'type':'autocomplete','options':{'searchFields':['firstName',_0x477d('0x1358'),_0x477d('0x1359')],'route':{'model':_0x477d('0xb6c'),'action':'get','params':{'fields':'id,firstName,lastName,email','Contact':'@autocomplete','nolimit':!![]}},'extraOperators':[_0x477d('0x135a')],'excludedOperators':[_0x477d('0x414')]}},{'name':_0x477d('0x135d'),'column':_0x477d('0x399'),'type':_0x477d('0x41b'),'options':{'excludedOperators':[_0x477d('0x412'),_0x477d('0x414')]}},{'name':'Status','column':_0x477d('0x1351'),'type':_0x477d('0x462'),'values':[{'id':0x0,'translate':_0x477d('0x135f')},{'id':0x1,'translate':_0x477d('0x1352')}],'options':{'excludedOperators':[_0x477d('0x414')]}},{'name':_0x477d('0x125d'),'column':_0x477d('0x167b'),'type':_0x477d('0x443'),'options':{'table':'i','route':{'model':_0x477d('0x380'),'action':_0x477d('0x376'),'params':{'role':_0x477d('0xcf'),'fields':_0x477d('0x1360'),'nolimit':!![]}},'searchFields':['fullname',_0x477d('0x94')],'extraOperators':[_0x477d('0x135a')],'excludedOperators':[_0x477d('0x414')]}},{'name':_0x477d('0x15a4'),'column':_0x477d('0x14b6'),'type':_0x477d('0x413'),'options':{'route':{'model':'user','action':_0x477d('0x1628'),'params':{'id':_0x4455d2[_0x477d('0x380')]['id'],'nolimit':!![]}}}},{'name':_0x477d('0x102'),'column':_0x477d('0x1264'),'type':_0x477d('0x413'),'options':{'route':{'model':_0x477d('0xbb0'),'action':_0x477d('0x376'),'params':{'nolimit':!![]}},'excludedOperators':[_0x477d('0x3f5')]}},{'name':_0x477d('0x134a'),'column':'createdAt','type':'date','options':{'excludedOperators':['$ne']}},{'name':'Read','column':'unreadMessages','type':_0x477d('0x462'),'values':[{'id':0x1,'translate':_0x477d('0x134f')},{'id':0x0,'translate':_0x477d('0x167e')}],'options':{'excludedOperators':[_0x477d('0x414')]}}]};_0x4455d2[_0x477d('0x167f')]=_0x477d('0x9ee');_0x4455d2[_0x477d('0x71a')]=_0x5c0c09;_0x4455d2[_0x477d('0x485')]=_0x2ef78a;_0x4455d2['getFaxInteractions']=_0x377b0e;_0x4455d2[_0x477d('0x174f')]=_0x1e406b;_0x4455d2['downloadFaxInteraction']=_0x458891;_0x4455d2['disposeInteraction']=_0x51ae51;_0x4455d2[_0x477d('0x1684')]=_0x2a37d0;_0x4455d2[_0x477d('0x1750')]=_0x1cfa44;_0x4455d2[_0x477d('0x1751')]=_0xf80af1;_0x4455d2[_0x477d('0x1752')]=_0x4cb1b5;_0x4455d2[_0x477d('0x165c')]=_0x5834fb;_0x4455d2[_0x477d('0x165d')]=_0x5d78ed;_0x4455d2['openAdvancedSearch']=_0xb03b42;_0x1ceea4[_0x477d('0x4ec')](_0x477d('0x1753'),_0x5d4689);function _0x5c0c09(_0x10482e,_0x4f19d8){_0x4455d2[_0x477d('0x613')]=_0x10482e;_0x4455d2[_0x477d('0xc8e')]=_0x4f19d8;return _0x551590[_0x477d('0x380')][_0x477d('0x376')+_[_0x477d('0x1367')](_0x477d('0x160c'))]({'id':_0x4455d2[_0x477d('0x380')]['id'],'nolimit':!![]})['$promise'][_0x477d('0x76')](function(_0x1f8252){_0x4455d2[_0x477d('0x160c')]=_0x1f8252||{'count':0x0,'rows':[]};return _0x551590[_0x477d('0xbb0')]['get']()[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x32c3ee){_0x4455d2[_0x477d('0x1263')]=_0x32c3ee||{'count':0x0,'rows':[]};})[_0x477d('0x76')](function(){_0x4455d2[_0x477d('0x1349')]=_0xc1b277();})[_0x477d('0xf8')](function(_0x16232e){console[_0x477d('0x44a')](_0x16232e);})[_0x477d('0x5ff')](function(){var _0xbac1f2=_0x39679c[_0x477d('0x39d')][_0x477d('0x3f8')](_0x477d('0x1754')+_0x4455d2[_0x477d('0x380')]['id']);if(_0xbac1f2){try{_0xbac1f2=JSON[_0x477d('0x77')](_0xbac1f2);if(_0xbac1f2[_0x477d('0x3ef')]){_0x4455d2[_0x477d('0x3ef')]=_[_0x477d('0xef')](_0x4455d2[_0x477d('0x3ef')],_0xbac1f2[_0x477d('0x3ef')]);if(_[_0x477d('0x3b2')](_0x4455d2[_0x477d('0x160c')][_0x477d('0xf2')])){_0x4455d2['query'][_0x477d('0x14b6')]=[];}else if(_[_0x477d('0x3b2')](_0x4455d2[_0x477d('0x3ef')][_0x477d('0x14b6')])){_0x4455d2['query'][_0x477d('0x14b6')]=_(_0x4455d2[_0x477d('0x160c')][_0x477d('0xf2')])['map']('id')[_0x477d('0x1688')]()['value']();}if(_0x4455d2[_0x477d('0x3ef')][_0x477d('0x568')]&&_0x4455d2[_0x477d('0x3ef')][_0x477d('0x568')][_0x477d('0x477')](_0x477d('0x1689'))>=0x0){_0x4455d2[_0x477d('0x3ef')]=_[_0x477d('0x3fc')](_0x4455d2['query'],_0x477d('0x568'));}_0x4455d2[_0x477d('0x3ef')][_0x477d('0x168a')]=!![];_0x4455d2[_0x477d('0x1664')]=_0x4455d2[_0x477d('0x3ef')][_0x477d('0x3b3')]?!![]:![];}}catch(_0x38c50f){console[_0x477d('0x44a')](_0x38c50f);}}else{var _0x33a9ff={'$gte':moment()[_0x477d('0x12d')]('month')[_0x477d('0x12e')](0x0,!![])[_0x477d('0x12f')](),'$lte':moment()[_0x477d('0x130')](_0x477d('0x6fd'))['utcOffset'](0x0,!![])['format']()};var _0x4e0f73={'FaxAccountId':_['map'](_0x4455d2[_0x477d('0x160c')][_0x477d('0xf2')],'id'),'createdAt':_0x33a9ff};_0x4455d2['query']=_[_0x477d('0xef')](_0x4455d2[_0x477d('0x3ef')],_0x4e0f73);}_0x4bc54e['on'](_0x477d('0x1755'),_0x28ad18);_0x4bc54e['on'](_0x477d('0x1756'),_0x28ad18);_0x4bc54e['on'](_0x477d('0x1757'),_0x4664ab);_0x4bc54e['on']('faxMessage:save',_0x500f56);_0x4bc54e['on']('faxMessage:update',_0x500f56);_0x4bc54e['on'](_0x477d('0x1758'),_0xe4b66d);_0x4bc54e['on'](_0x477d('0x1759'),_0x21c54a);_0x377b0e(_0x4455d2[_0x477d('0x3ef')][_0x477d('0xe03')]);});}function _0xc1b277(){return[{'name':_0x477d('0x134a'),'key':_0x477d('0xe37'),'type':_0x477d('0x420'),'label':_0x477d('0x134b')},{'name':_0x477d('0x134c'),'key':'read','type':_0x477d('0x462'),'label':'DASHBOARDS.SELECT_READ_UNREAD','customOptions':[{'value':0x0,'translate':'DASHBOARDS.UNREAD'},{'value':0x1,'translate':_0x477d('0x134f')},{'value':null,'translate':_0x477d('0x1350')}]},{'name':_0x477d('0x135e'),'key':'closed','type':_0x477d('0x462'),'label':_0x477d('0x168f'),'customOptions':[{'value':0x0,'translate':_0x477d('0x135f')},{'value':0x1,'translate':_0x477d('0x1352')},{'value':null,'translate':'DASHBOARDS.ALL'}]},{'name':'Account','key':'FaxAccountId','type':'multiselect','label':_0x477d('0x1690'),'options':_0x4455d2[_0x477d('0x160c')][_0x477d('0xf2')],'clearAll':![]},{'name':_0x477d('0x125d'),'key':_0x477d('0x125b'),'type':_0x477d('0x462'),'label':'DASHBOARDS.SELECT_AGENT','customOptions':[{'value':_0x4455d2['user']['id'],'translate':_0x477d('0x1373')},{'value':_0x477d('0xea'),'translate':_0x477d('0x1354')},{'value':undefined,'translate':_0x477d('0x1350')}]},{'name':_0x477d('0x1264'),'key':_0x477d('0xbb0'),'type':_0x477d('0x413'),'label':'DASHBOARDS.SELECT_TAG','options':_0x4455d2['tags'][_0x477d('0xf2')],'placeholder':_0x477d('0x1356')}];}function _0x2ef78a(_0x9b8864){_0x4455d2[_0x477d('0x1691')]=![];_0x4455d2[_0x477d('0x174e')]=_0x9b8864||{'count':0x0,'rows':[]};for(var _0x41ee69=0x0;_0x41ee69<_0x4455d2[_0x477d('0x174e')][_0x477d('0xf2')][_0x477d('0x79')];_0x41ee69+=0x1){_0x2a37d0(_0x4455d2[_0x477d('0x174e')][_0x477d('0xf2')][_0x41ee69]);}}function _0x377b0e(_0x1aba53,_0xc47b34){_0x4455d2[_0x477d('0x1691')]=!![];if(!_0x1aba53){_0x4455d2['query'][_0x477d('0xe03')]=0x1;}_0x4455d2[_0x477d('0x3ef')][_0x477d('0x91c')]=(_0x4455d2[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x4455d2[_0x477d('0x3ef')][_0x477d('0x91d')];var _0xa6d2fb=_0x39679c[_0x477d('0x39d')][_0x477d('0x3f8')]('motion2.home.fax:'+_0x4455d2[_0x477d('0x380')]['id']);_0xa6d2fb=_0xa6d2fb?JSON[_0x477d('0x77')](_0xa6d2fb):{};_0xa6d2fb[_0x477d('0x3ef')]=_0x4455d2[_0x477d('0x3ef')];_0x39679c[_0x477d('0x39d')][_0x477d('0x3fa')](_0x477d('0x1754')+_0x4455d2[_0x477d('0x380')]['id'],JSON[_0x477d('0x3fb')](_0xa6d2fb));_0x4455d2[_0x477d('0x553')]=_0x551590[_0x477d('0xae8')][_0x477d('0x376')](_0x4455d2[_0x477d('0x3ef')],_0x2ef78a)['$promise'];}function _0x1e406b(_0x5e17ee,_0x59d188){_0x1ceea4[_0x477d('0x723')]['vm'][_0x477d('0x1588')](_0x477d('0x154'),_0x59d188);}function _0x458891(_0x956f97,_0x1029eb,_0x290007){_0x551590['faxInteraction'][_0x477d('0x49d')]({'id':_0x1029eb['id'],'attachments':_0x290007})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x2bec28){var _0x206409=[_0x2bec28['buffer']];var _0x4b508a=_0x477d('0x175a')+_0x1029eb['id']+'.zip';var _0x348feb=new Blob(_0x206409,{'type':_0x2bec28['type']});var _0x592cca=window['document'][_0x477d('0x3c7')]('a');_0x592cca[_0x477d('0x494')]('href',URL['createObjectURL'](_0x348feb));_0x592cca[_0x477d('0x494')](_0x477d('0x49d'),_0x4b508a);document[_0x477d('0x399')][_0x477d('0xd8f')](_0x592cca);_0x592cca[_0x477d('0x540')]();})[_0x477d('0xf8')](function(_0x14c437){if(_0x14c437['data']&&_0x14c437[_0x477d('0x451')][_0x477d('0xd67')]&&_0x14c437[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){for(var _0x4f6489=0x0;_0x4f6489<_0x14c437['data']['errors']['length'];_0x4f6489+=0x1){_0x5dcf56[_0x477d('0x44a')]({'title':_0x14c437[_0x477d('0x451')][_0x477d('0xd67')][_0x4f6489][_0x477d('0x439')],'msg':_0x14c437[_0x477d('0x451')][_0x477d('0xd67')][_0x4f6489][_0x477d('0x452')]});}}else{_0x5dcf56[_0x477d('0x44a')]({'title':_0x14c437[_0x477d('0x3c3')]?'API:'+_0x14c437['status']+'\x20-\x20'+_0x14c437[_0x477d('0x44d')]:_0x477d('0x175b'),'msg':_0x14c437[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x14c437[_0x477d('0x451')][_0x477d('0x452')]):_0x14c437[_0x477d('0x453')]()});}});}function _0x51ae51(_0xa55a6,_0x28a940){var _0x3c56a9=_0x4455d2[_0x477d('0x380')][_0x477d('0x624')]||_0x4455d2[_0x477d('0x380')][_0x477d('0x13d0')]||_0x4455d2[_0x477d('0x380')][_0x477d('0x13b9')]||_0x4455d2[_0x477d('0x380')][_0x477d('0x13d1')]||_0x4455d2[_0x477d('0x380')][_0x477d('0x13bb')];var _0x251652=!_0x28a940[_0x477d('0x15a4')][_0x477d('0x15a0')];_0x493b20[_0x477d('0x395')]({'controller':_0x477d('0x15a5'),'controllerAs':'vm','templateUrl':_0x477d('0x15a6'),'parent':angular[_0x477d('0x398')](_0x1a055d[_0x477d('0x399')]),'clickOutsideToClose':_0x251652,'escapeToClose':_0x251652,'onRemoving':function(_0x56dc30,_0x382d79){if(_0x4455d2[_0x477d('0x380')]&&_0x28a940[_0x477d('0x15a4')][_0x477d('0x15a0')]&&!_0x3c56a9){_0x551590[_0x477d('0x380')][_0x477d('0x15a7')]({'id':_0x4455d2['user']['id']})[_0x477d('0x38b')]['catch'](function(_0x52aca5){console['error'](_0x52aca5);});}},'locals':{'user':_0x4455d2[_0x477d('0x380')],'channel':_0x477d('0x154'),'interaction':_0x28a940}});}function _0x2a37d0(_0x1a4c6c){if(_0x1a4c6c[_0x477d('0x1370')]){_0x1a4c6c[_0x477d('0x1371')]=(_0x1a4c6c[_0x477d('0x1370')][_0x477d('0x1357')]||'')+'\x20'+(_0x1a4c6c[_0x477d('0x1370')][_0x477d('0x1358')]||'');_0x1a4c6c['contactInfo']=_0x1a4c6c[_0x477d('0x1370')][_0x477d('0x154')];}else{_0x1a4c6c['contactName']=_0x263b09[_0x477d('0x45f')](_0x477d('0x1372'));}}function _0x1cfa44(_0x4396ca){if(_0x4396ca[_0x477d('0x125b')]){if(_0x4396ca[_0x477d('0x125b')]===_0x4455d2[_0x477d('0x380')]['id']){return _0x263b09[_0x477d('0x45f')](_0x477d('0x1373'));}else{return _0x4396ca[_0x477d('0x1374')][_0x477d('0xcd')]+'\x20<'+_0x4396ca[_0x477d('0x1374')][_0x477d('0x324')]+'>';}}return _0x263b09['instant'](_0x477d('0x1354'));}function _0xf80af1(_0x1c90b5){if(_0x1c90b5['Account']){return _0x1c90b5[_0x477d('0x15a4')][_0x477d('0x670')];}return _0x263b09[_0x477d('0x45f')](_0x477d('0x1372'));}function _0x5d4689(_0x476fea,_0x4db4d1){if(_0x4db4d1[_0x477d('0x1364')]){_0x4db4d1['interaction'][_0x477d('0x15b9')]=!![];showMailInteraction(null,_0x4db4d1[_0x477d('0x1364')]);}else{_0x493b20[_0x477d('0x395')]({'controller':_0x477d('0x175c'),'controllerAs':'vm','templateUrl':_0x477d('0x175d'),'parent':angular[_0x477d('0x398')](_0x1a055d[_0x477d('0x399')]),'clickOutsideToClose':![],'locals':{'account':_0x4db4d1[_0x477d('0x15e5')],'message':_0x4db4d1[_0x477d('0xdaf')],'type':_0x477d('0x15e4'),'interaction':{}},'fullscreen':!![]})[_0x477d('0x76')](function(_0x5706e3){if(_0x5706e3){if(_0x5706e3[_0x477d('0x452')]&&_0x5706e3[_0x477d('0x452')][_0x477d('0x175e')]){var _0x57c7c3={'id':_0x4db4d1['id'],'channel':_0x477d('0x154'),'account':_0x5706e3[_0x477d('0x15e5')],'message':_0x5706e3[_0x477d('0x452')]};_0x4e7fa9[_0x477d('0x710')](_0x57c7c3);}else{var _0x31242b=_0x5706e3;return _0x551590['faxAccount'][_0x477d('0xa08')]({'id':_0x4db4d1['account']['id']},_0x31242b)[_0x477d('0x38b')]['then'](function(_0x44f690){_0x5dcf56['success']({'title':_0x477d('0x161c'),'msg':_0x477d('0x161d')});_0x1ceea4[_0x477d('0x723')]['vm']['addInteractionTab'](_0x477d('0x154'),_0x44f690);})[_0x477d('0xf8')](function(_0x22a65f){if(_0x22a65f[_0x477d('0x451')]&&_0x22a65f[_0x477d('0x451')][_0x477d('0xd67')]&&_0x22a65f[_0x477d('0x451')][_0x477d('0xd67')]['length']){for(var _0x38db38=0x0;_0x38db38<_0x22a65f[_0x477d('0x451')]['errors'][_0x477d('0x79')];_0x38db38++){_0x5dcf56[_0x477d('0x44a')]({'title':_0x22a65f['data'][_0x477d('0xd67')][_0x38db38][_0x477d('0x439')],'msg':_0x22a65f[_0x477d('0x451')][_0x477d('0xd67')][_0x38db38][_0x477d('0x452')]});}}else{_0x5dcf56[_0x477d('0x44a')]({'title':_0x477d('0x161e'),'msg':_0x22a65f['data']?JSON[_0x477d('0x3fb')](_0x22a65f['data']):_0x22a65f[_0x477d('0x452')]||_0x22a65f[_0x477d('0x453')]()});}});}}});}}function _0x4cb1b5(_0x29b215,_0x36eb7c){_0x493b20[_0x477d('0x395')]({'controller':_0x477d('0x175c'),'controllerAs':'vm','templateUrl':_0x477d('0x175d'),'parent':angular[_0x477d('0x398')](_0x1a055d[_0x477d('0x399')]),'clickOutsideToClose':![],'locals':{'account':_0x36eb7c,'message':{},'type':_0x477d('0x1619'),'interaction':{}},'fullscreen':!![]})['then'](function(_0x3c5277){if(_0x3c5277){if(_0x3c5277[_0x477d('0x452')]&&_0x3c5277['message']['savedAsDraft']){var _0x9010a7={'channel':_0x477d('0x154'),'account':_0x36eb7c,'message':_0x3c5277['message'],'contact':_0x3c5277[_0x477d('0x100')]};_0x4e7fa9[_0x477d('0x440')](_0x9010a7);}else{var _0x293e38=_0x3c5277;return _0x551590[_0x477d('0xada')][_0x477d('0xa08')]({'id':_0x36eb7c['id']},_0x293e38)[_0x477d('0x38b')]['then'](function(_0x2a5196){_0x5dcf56[_0x477d('0x485')]({'title':_0x477d('0x161c'),'msg':_0x477d('0x161d')});_0x1ceea4[_0x477d('0x723')]['vm']['addInteractionTab']('fax',_0x2a5196);})['catch'](function(_0xf089e4){if(_0xf089e4[_0x477d('0x451')]&&_0xf089e4['data'][_0x477d('0xd67')]&&_0xf089e4[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){for(var _0x5b0719=0x0;_0x5b0719<_0xf089e4[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x5b0719++){_0x5dcf56[_0x477d('0x44a')]({'title':_0xf089e4[_0x477d('0x451')][_0x477d('0xd67')][_0x5b0719][_0x477d('0x439')],'msg':_0xf089e4[_0x477d('0x451')][_0x477d('0xd67')][_0x5b0719][_0x477d('0x452')]});}}else{_0x5dcf56['error']({'title':_0x477d('0x161e'),'msg':_0xf089e4[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0xf089e4[_0x477d('0x451')]):_0xf089e4['message']||_0xf089e4['toString']()});}});}}});}function _0xe4b66d(_0x282468){var _0x24063f;var _0x52ac42=_['find'](_0x4455d2[_0x477d('0x174e')][_0x477d('0xf2')],{'id':_0x282468[_0x477d('0x175f')]});if(_0x52ac42&&_0x52ac42[_0x477d('0xdf4')]){_0x24063f=_['find'](_0x52ac42[_0x477d('0xdf4')],{'id':_0x282468[_0x477d('0x125b')]});if(!_0x24063f){_0x52ac42['Users'][_0x477d('0x3a7')]({'id':_0x282468['UserId']});}}}function _0x21c54a(_0x477352){var _0x281ca9=_['find'](_0x4455d2['faxInteractions'][_0x477d('0xf2')],{'id':_0x477352[_0x477d('0x175f')]});if(_0x281ca9&&_0x281ca9[_0x477d('0xdf4')]){_[_0x477d('0x39c')](_0x281ca9[_0x477d('0xdf4')],{'id':_0x477352['UserId']});}}function _0x28ad18(_0x6b116c){if(_0x6b116c){var _0x30f13e=_[_0x477d('0x10a')](_0x4455d2[_0x477d('0x174e')][_0x477d('0xf2')],{'id':_0x6b116c['id']});if(_0x30f13e){_0x30f13e[_0x477d('0xdf4')]=[];if(_0x6b116c[_0x477d('0x1351')]){_0x30f13e['unreadMessages']=0x0;}if(_0x4455d2[_0x477d('0x3ef')][_0x477d('0x568')]){var _0x16c89b=_[_0x477d('0x1337')](_0x4455d2[_0x477d('0x3ef')][_0x477d('0x568')],'-')?_0x477d('0x13ff'):'asc';_0x4455d2[_0x477d('0x174e')]['rows']=_['orderBy'](_0x4455d2[_0x477d('0x174e')][_0x477d('0xf2')],_['trimStart'](_0x4455d2[_0x477d('0x3ef')]['sort'],'-'),_0x16c89b);}_['merge'](_0x30f13e,_[_0x477d('0x10b')](_0x6b116c,_[_0x477d('0x7f')](_0x30f13e)));}else{_0x377b0e(_0x4455d2[_0x477d('0x3ef')][_0x477d('0xe03')]);}}}function _0x4664ab(_0x50ce7e){if(_0x50ce7e){var _0x29c0eb=_[_0x477d('0x10a')](_0x4455d2[_0x477d('0x174e')][_0x477d('0xf2')],{'id':_0x50ce7e['id']});if(_0x29c0eb){_0x29c0eb['Tags']=_0x50ce7e[_0x477d('0x1263')]||[];_[_0x477d('0xef')](_0x29c0eb,_[_0x477d('0x10b')](_0x50ce7e,_[_0x477d('0x7f')](_0x29c0eb)));}}}function _0x500f56(_0x14ddb0){if(_0x14ddb0&&!_0x14ddb0['secret']){var _0x255dda=_[_0x477d('0x10a')](_0x4455d2['faxInteractions'][_0x477d('0xf2')],{'id':_0x14ddb0[_0x477d('0x175f')]});if(_0x255dda){var _0x2a1dda=_['find'](_0x255dda['Messages'],{'id':_0x14ddb0['id']});if(_0x2a1dda){_[_0x477d('0xef')](_0x2a1dda,_['pick'](_0x14ddb0,_[_0x477d('0x7f')](_0x2a1dda)));}else{if(_[_0x477d('0x484')](_0x255dda[_0x477d('0x134c')])){_0x255dda['Messages']={'count':0x0};}if(!_0x14ddb0[_0x477d('0x134d')]){_0x255dda[_0x477d('0x134c')]['count']+=0x1;}}}}}function _0x5834fb(){_0x4455d2['isSearchBarVisible']=![];}function _0x5d78ed(){_0x4455d2[_0x477d('0x1664')]=!![];}function _0xb03b42(){_0x4455d2[_0x477d('0x1664')]=![];_0x493b20['show']({'controller':_0x477d('0x3e4'),'controllerAs':'vm','templateUrl':'app/core/dialogs/advanced-search/dialog.html','parent':angular[_0x477d('0x398')](_0x1a055d[_0x477d('0x399')]),'clickOutsideToClose':![],'locals':{'color':_0x4455d2['sectionColor'],'fields':_0x4455d2[_0x477d('0x3eb')][_0x477d('0x458')],'storagePath':'home.fax'},'fullscreen':!![]})['then'](function(_0x41bbb1){_0x4455d2['query'][_0x477d('0x3fd')]=_0x41bbb1===![]?undefined:_0x41bbb1;if(_0x4455d2['query']['search']||_0x41bbb1===![])_0x377b0e();})[_0x477d('0xf8')](function(_0x4bd21c){_0x5dcf56[_0x477d('0x44a')]({'title':_0x477d('0x16a5'),'msg':_0x4bd21c['data']?JSON[_0x477d('0x3fb')](_0x4bd21c[_0x477d('0x451')][_0x477d('0x452')]):_0x4bd21c[_0x477d('0x453')]()});});}var _0x18c360=!![];var _0x3d54b3=0x1;_0x1ceea4[_0x477d('0x4b5')](_0x477d('0xd98'),function(_0x1d6695,_0xca9f06){if(_0x18c360){_0xbd0345(function(){_0x18c360=![];});}else{if(!_0xca9f06){_0x3d54b3=_0x4455d2[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x1d6695!==_0xca9f06){_0x4455d2[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0x1d6695){_0x4455d2[_0x477d('0x3ef')][_0x477d('0xe03')]=_0x3d54b3;}_0x377b0e(_0x4455d2[_0x477d('0x3ef')][_0x477d('0xe03')]);}});_0x1ceea4[_0x477d('0x4ec')]('$destroy',function(){_0x4bc54e[_0x477d('0x6b8')](_0x477d('0x1760'));_0x4bc54e['removeAllListeners'](_0x477d('0x1761'));_0x4bc54e[_0x477d('0x6b8')](_0x477d('0x1755'));_0x4bc54e['removeAllListeners'](_0x477d('0x1757'));_0x4bc54e[_0x477d('0x6b8')](_0x477d('0x1756'));_0x4bc54e[_0x477d('0x6b8')](_0x477d('0x1758'));_0x4bc54e[_0x477d('0x6b8')](_0x477d('0x1759'));});}}());(function(){'use strict';_0x38c236[_0x477d('0xa')]=['$scope',_0x477d('0x3fe'),'$mdDialog','$document',_0x477d('0x387'),_0x477d('0x40d'),_0x477d('0x386'),_0x477d('0x55'),_0x477d('0x5a3'),'toasty','draftManager'];angular[_0x477d('0xb')](_0x477d('0x2c'))[_0x477d('0x3ba')](_0x477d('0x1762'),_0x38c236);function _0x38c236(_0xe84c3a,_0x30cdc0,_0x284e54,_0x3e1685,_0x1b6a53,_0x23e88e,_0x5051cf,_0x54efb1,_0x42a8c1,_0x47b13,_0x4f136d){var _0x1799e6=this;_0x1799e6[_0x477d('0x380')]=_0x54efb1[_0x477d('0x5c')]();_0x1799e6['license']={};_0x1799e6[_0x477d('0xc8e')]={};_0x1799e6[_0x477d('0x1263')]={'count':0x0,'rows':[]};_0x1799e6[_0x477d('0x1763')]={'count':0x0,'rows':[]};_0x1799e6['query']={'includeAll':!![],'sort':'-updatedAt','limit':0xa,'page':0x1,'read':null,'closed':null};_0x1799e6[_0x477d('0x3eb')]={'fields':[{'name':'Id','column':'id','type':'number'},{'name':_0x477d('0x1370'),'column':_0x477d('0x1370'),'type':_0x477d('0x443'),'options':{'searchFields':['firstName',_0x477d('0x1358'),_0x477d('0x1359')],'route':{'model':_0x477d('0xb6c'),'action':_0x477d('0x376'),'params':{'fields':_0x477d('0x1677'),'Contact':_0x477d('0x444'),'nolimit':!![]}},'extraOperators':[_0x477d('0x135a')],'excludedOperators':[_0x477d('0x414')]}},{'name':_0x477d('0x135b'),'column':_0x477d('0x135c'),'type':_0x477d('0x41b'),'options':{'excludedOperators':[_0x477d('0x412'),_0x477d('0x414')]}},{'name':_0x477d('0x135d'),'column':'plainBody','type':_0x477d('0x41b'),'options':{'excludedOperators':['$eq',_0x477d('0x414')]}},{'name':_0x477d('0x135e'),'column':_0x477d('0x1351'),'type':'select','values':[{'id':0x0,'translate':'DASHBOARDS.OPENED'},{'id':0x1,'translate':_0x477d('0x1352')}],'options':{'excludedOperators':[_0x477d('0x414')]}},{'name':_0x477d('0x1764'),'column':_0x477d('0x1765'),'type':_0x477d('0x413'),'options':{'field':'name','route':{'model':'mailSubstatus','action':_0x477d('0x376'),'params':{'nolimit':!![]}},'excludedOperators':['$notIn']}},{'name':_0x477d('0x125d'),'column':_0x477d('0x167b'),'type':_0x477d('0x443'),'options':{'table':'i','route':{'model':_0x477d('0x380'),'action':_0x477d('0x376'),'params':{'role':_0x477d('0xcf'),'fields':_0x477d('0x1360'),'nolimit':!![]}},'searchFields':[_0x477d('0xcd'),_0x477d('0x94')],'extraOperators':[_0x477d('0x135a')],'excludedOperators':['$ne']}},{'name':_0x477d('0x15a4'),'column':'MailAccountId','type':_0x477d('0x413'),'options':{'route':{'model':'user','action':_0x477d('0x1604'),'params':{'id':_0x1799e6[_0x477d('0x380')]['id'],'nolimit':!![]}}}},{'name':_0x477d('0x102'),'column':_0x477d('0x1264'),'type':_0x477d('0x413'),'options':{'route':{'model':_0x477d('0xbb0'),'action':_0x477d('0x376'),'params':{'nolimit':!![]}},'excludedOperators':[_0x477d('0x3f5')]}},{'name':_0x477d('0x134a'),'column':_0x477d('0xe37'),'type':_0x477d('0x420'),'options':{'excludedOperators':['$ne']}},{'name':'Read','column':_0x477d('0x167d'),'type':_0x477d('0x462'),'values':[{'id':0x1,'translate':_0x477d('0x134f')},{'id':0x0,'translate':_0x477d('0x167e')}],'options':{'excludedOperators':[_0x477d('0x414')]}}]};_0x1799e6[_0x477d('0x167f')]=_0x477d('0x9f2');_0x1799e6['onInit']=_0x3272fd;_0x1799e6[_0x477d('0x485')]=_0x287d9b;_0x1799e6[_0x477d('0x1766')]=_0x18ba58;_0x1799e6['showMailInteraction']=_0x417da9;_0x1799e6['downloadMailInteraction']=_0x3c5a6a;_0x1799e6[_0x477d('0x1683')]=_0x4e5ccd;_0x1799e6[_0x477d('0x1684')]=_0x528b30;_0x1799e6['getAgentLabel']=_0x42e784;_0x1799e6['getMailAccountLabel']=_0x3c8e9e;_0x1799e6[_0x477d('0x1767')]=_0x4a9934;_0x1799e6[_0x477d('0x165c')]=_0x5e05d7;_0x1799e6['onSearchBarExpand']=_0x2d131f;_0x1799e6[_0x477d('0x1686')]=_0xf56d7d;_0xe84c3a[_0x477d('0x4ec')](_0x477d('0x1768'),_0x224799);function _0x3272fd(_0x255e50,_0x4b3207){_0x1799e6[_0x477d('0x613')]=_0x255e50;_0x1799e6['setting']=_0x4b3207;return _0x5051cf[_0x477d('0x380')]['get'+_[_0x477d('0x1367')](_0x477d('0xf33'))]({'id':_0x1799e6[_0x477d('0x380')]['id'],'nolimit':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x10e30f){_0x1799e6['mailAccounts']=_0x10e30f||{'count':0x0,'rows':[]};return _0x5051cf[_0x477d('0xbb0')][_0x477d('0x376')]()[_0x477d('0x38b')];})['then'](function(_0x5c9422){_0x1799e6[_0x477d('0x1263')]=_0x5c9422||{'count':0x0,'rows':[]};})['then'](function(){return _0x5051cf['mailSubstatus'][_0x477d('0x376')]({'nolimit':!![]})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x332bde){_0x1799e6[_0x477d('0x1769')]=_0x332bde||{'count':0x0,'rows':[]};})['then'](function(){_0x1799e6[_0x477d('0x1349')]=_0x159dfa();})[_0x477d('0xf8')](function(_0x196f4c){console[_0x477d('0x44a')](_0x196f4c);})['finally'](function(){var _0xa44ba6=_0x1b6a53[_0x477d('0x39d')][_0x477d('0x3f8')](_0x477d('0x176a')+_0x1799e6[_0x477d('0x380')]['id']);if(_0xa44ba6){try{_0xa44ba6=JSON[_0x477d('0x77')](_0xa44ba6);if(_0xa44ba6[_0x477d('0x3ef')]){_0x1799e6[_0x477d('0x3ef')]=_[_0x477d('0xef')](_0x1799e6[_0x477d('0x3ef')],_0xa44ba6[_0x477d('0x3ef')]);if(_['isEmpty'](_0x1799e6[_0x477d('0xf33')][_0x477d('0xf2')])){_0x1799e6[_0x477d('0x3ef')][_0x477d('0x14b8')]=[];}else if(_[_0x477d('0x3b2')](_0x1799e6[_0x477d('0x3ef')][_0x477d('0x14b8')])){_0x1799e6[_0x477d('0x3ef')][_0x477d('0x14b8')]=_(_0x1799e6[_0x477d('0xf33')][_0x477d('0xf2')])[_0x477d('0x3cb')]('id')[_0x477d('0x1688')]()[_0x477d('0x3b6')]();}if(_0x1799e6[_0x477d('0x3ef')][_0x477d('0x568')]&&_0x1799e6['query'][_0x477d('0x568')][_0x477d('0x477')](_0x477d('0x1689'))>=0x0){_0x1799e6[_0x477d('0x3ef')]=_[_0x477d('0x3fc')](_0x1799e6['query'],_0x477d('0x568'));}_0x1799e6[_0x477d('0x3ef')][_0x477d('0x168a')]=!![];_0x1799e6[_0x477d('0x1664')]=_0x1799e6[_0x477d('0x3ef')][_0x477d('0x3b3')]?!![]:![];}}catch(_0x7f2c0a){console[_0x477d('0x44a')](_0x7f2c0a);}}else{var _0x2ea328={'$gte':moment()[_0x477d('0x12d')](_0x477d('0x6fd'))[_0x477d('0x12e')](0x0,!![])[_0x477d('0x12f')](),'$lte':moment()[_0x477d('0x130')](_0x477d('0x6fd'))['utcOffset'](0x0,!![])[_0x477d('0x12f')]()};var _0x12fcd5={'MailAccountId':_[_0x477d('0x3cb')](_0x1799e6[_0x477d('0xf33')][_0x477d('0xf2')],'id'),'createdAt':_0x2ea328};_0x1799e6['query']=_['merge'](_0x1799e6['query'],_0x12fcd5);}_0x42a8c1['on'](_0x477d('0x176b'),_0x2f71a5);_0x42a8c1['on'](_0x477d('0x176c'),_0x2f71a5);_0x42a8c1['on'](_0x477d('0x176d'),_0x18bb79);_0x42a8c1['on'](_0x477d('0x176e'),_0x2a6a50);_0x42a8c1['on'](_0x477d('0x176f'),_0x2a6a50);_0x42a8c1['on']('user_has_mail_interactions:save',_0x51df58);_0x42a8c1['on'](_0x477d('0x1770'),_0x341b13);_0x18ba58(_0x1799e6[_0x477d('0x3ef')][_0x477d('0xe03')]);});}function _0x159dfa(){return[{'name':'Start\x20Date','key':_0x477d('0xe37'),'type':_0x477d('0x420'),'label':'DASHBOARDS.SELECT_DATE'},{'name':_0x477d('0x134c'),'key':_0x477d('0x134d'),'type':_0x477d('0x462'),'label':_0x477d('0x134e'),'customOptions':[{'value':0x0,'translate':_0x477d('0x167e')},{'value':0x1,'translate':_0x477d('0x134f')},{'value':null,'translate':_0x477d('0x1350')}]},{'name':_0x477d('0x135e'),'key':'closed','type':_0x477d('0x462'),'label':_0x477d('0x168f'),'customOptions':[{'value':0x0,'translate':_0x477d('0x135f')},{'value':0x1,'translate':_0x477d('0x1352')},{'value':null,'translate':_0x477d('0x1350')}]},{'name':_0x477d('0x1764'),'key':_0x477d('0x1765'),'type':_0x477d('0x462'),'label':_0x477d('0x1771'),'options':_0x1799e6[_0x477d('0x1769')]['rows'],'customOptions':[{'value':_0x477d('0xea'),'translate':_0x477d('0x932')},{'value':undefined,'translate':_0x477d('0x1350')}],'ngValue':_0x477d('0x94'),'ngIf':'closed\x20===\x200'},{'name':_0x477d('0x15a4'),'key':_0x477d('0x14b8'),'type':_0x477d('0x413'),'label':_0x477d('0x1690'),'options':_0x1799e6[_0x477d('0xf33')][_0x477d('0xf2')],'clearAll':![]},{'name':_0x477d('0x125d'),'key':_0x477d('0x125b'),'type':'select','label':_0x477d('0x1353'),'customOptions':[{'value':_0x1799e6[_0x477d('0x380')]['id'],'translate':_0x477d('0x1373')},{'value':_0x477d('0xea'),'translate':'DASHBOARDS.NOT_ASSIGNED'},{'value':undefined,'translate':'DASHBOARDS.ALL'}]},{'name':'Tag','key':_0x477d('0xbb0'),'type':_0x477d('0x413'),'label':'DASHBOARDS.SELECT_TAG','options':_0x1799e6['tags'][_0x477d('0xf2')],'placeholder':'DASHBOARDS.TAGS'}];}function _0x287d9b(_0x1d06bb){_0x1799e6[_0x477d('0x1691')]=![];_0x1799e6['mailInteractions']=_0x1d06bb||{'count':0x0,'rows':[]};for(var _0x4f7ea6=0x0;_0x4f7ea6<_0x1799e6[_0x477d('0x1763')][_0x477d('0xf2')][_0x477d('0x79')];_0x4f7ea6+=0x1){_0x528b30(_0x1799e6[_0x477d('0x1763')][_0x477d('0xf2')][_0x4f7ea6]);}}function _0x18ba58(_0x150d98,_0x218197){_0x1799e6[_0x477d('0x1691')]=!![];if(!_0x150d98){_0x1799e6[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}_0x1799e6[_0x477d('0x3ef')][_0x477d('0x91c')]=(_0x1799e6['query'][_0x477d('0xe03')]-0x1)*_0x1799e6['query'][_0x477d('0x91d')];var _0x365d95=_0x1b6a53[_0x477d('0x39d')]['getItem'](_0x477d('0x176a')+_0x1799e6['user']['id']);_0x365d95=_0x365d95?JSON[_0x477d('0x77')](_0x365d95):{};_0x365d95[_0x477d('0x3ef')]=_0x1799e6[_0x477d('0x3ef')];_0x1b6a53[_0x477d('0x39d')]['setItem'](_0x477d('0x176a')+_0x1799e6[_0x477d('0x380')]['id'],JSON[_0x477d('0x3fb')](_0x365d95));_0x1799e6[_0x477d('0x553')]=_0x5051cf[_0x477d('0xac3')][_0x477d('0x376')](_0x1799e6[_0x477d('0x3ef')],_0x287d9b)[_0x477d('0x38b')];}function _0x417da9(_0x528941,_0x2eccc2){_0xe84c3a[_0x477d('0x723')]['vm'][_0x477d('0x1588')](_0x477d('0x1d6'),_0x2eccc2);}function _0x3c5a6a(_0x4aad7a,_0x236399,_0x47b80b){_0x5051cf[_0x477d('0xac3')][_0x477d('0x49d')]({'id':_0x236399['id'],'attachments':_0x47b80b})[_0x477d('0x38b')]['then'](function(_0x42b002){var _0x5b086d=[_0x42b002[_0x477d('0x49e')]];var _0x365b27='mail-interaction'+_0x236399['id']+_0x477d('0x1366');var _0x4ecdd7=new Blob(_0x5b086d,{'type':_0x42b002[_0x477d('0x439')]});var _0x231683=window[_0x477d('0x945')][_0x477d('0x3c7')]('a');_0x231683['setAttribute'](_0x477d('0x3c8'),URL['createObjectURL'](_0x4ecdd7));_0x231683[_0x477d('0x494')](_0x477d('0x49d'),_0x365b27);document['body'][_0x477d('0xd8f')](_0x231683);_0x231683[_0x477d('0x540')]();})[_0x477d('0xf8')](function(_0x21d7af){if(_0x21d7af['data']&&_0x21d7af[_0x477d('0x451')]['errors']&&_0x21d7af[_0x477d('0x451')]['errors'][_0x477d('0x79')]){for(var _0xc8a49a=0x0;_0xc8a49a<_0x21d7af[_0x477d('0x451')][_0x477d('0xd67')]['length'];_0xc8a49a+=0x1){_0x47b13['error']({'title':_0x21d7af[_0x477d('0x451')]['errors'][_0xc8a49a][_0x477d('0x439')],'msg':_0x21d7af[_0x477d('0x451')][_0x477d('0xd67')][_0xc8a49a][_0x477d('0x452')]});}}else{_0x47b13[_0x477d('0x44a')]({'title':_0x21d7af[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x21d7af[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x21d7af[_0x477d('0x44d')]:_0x477d('0x1772'),'msg':_0x21d7af[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x21d7af['data'][_0x477d('0x452')]):_0x21d7af['toString']()});}});}function _0x4e5ccd(_0x556367,_0x3dd256){var _0x11dc9c=_0x1799e6[_0x477d('0x380')][_0x477d('0x624')]||_0x1799e6['user'][_0x477d('0x13d0')]||_0x1799e6[_0x477d('0x380')]['mailPause']||_0x1799e6[_0x477d('0x380')][_0x477d('0x13d1')]||_0x1799e6[_0x477d('0x380')][_0x477d('0x13bb')];var _0x287b6f=!_0x3dd256[_0x477d('0x15a4')][_0x477d('0x15a0')];_0x284e54[_0x477d('0x395')]({'controller':_0x477d('0x15a5'),'controllerAs':'vm','templateUrl':_0x477d('0x15a6'),'parent':angular[_0x477d('0x398')](_0x3e1685[_0x477d('0x399')]),'clickOutsideToClose':_0x287b6f,'escapeToClose':_0x287b6f,'onRemoving':function(_0x52c5cd,_0x4c580f){if(_0x1799e6[_0x477d('0x380')]&&_0x3dd256[_0x477d('0x15a4')][_0x477d('0x15a0')]&&!_0x11dc9c){_0x5051cf[_0x477d('0x380')][_0x477d('0x15a7')]({'id':_0x1799e6['user']['id']})[_0x477d('0x38b')][_0x477d('0xf8')](function(_0x138118){console[_0x477d('0x44a')](_0x138118);});}},'locals':{'user':_0x1799e6[_0x477d('0x380')],'channel':_0x477d('0x1d6'),'interaction':_0x3dd256}});}function _0x528b30(_0x306315){if(!_['isEmpty'](_0x306315['to'])&&_0x306315[_0x477d('0x15a4')]&&!_[_0x477d('0x3a4')](_0x306315['to'],_0x306315['Account'][_0x477d('0x1359')])){_0x306315[_0x477d('0x1371')]=_0x306315['to'][_0x477d('0x472')]('\x20<')[0x0];_0x306315[_0x477d('0x1773')]=_0x306315['to'][_0x477d('0x472')]('<')['pop']()[_0x477d('0x472')]('>')[0x0];}else if(_0x306315['Contact']){_0x306315['contactName']=(_0x306315[_0x477d('0x1370')]['firstName']||'')+'\x20'+(_0x306315[_0x477d('0x1370')][_0x477d('0x1358')]||'');_0x306315[_0x477d('0x1773')]=_0x306315[_0x477d('0x1370')][_0x477d('0x1359')]||'';}else{_0x306315[_0x477d('0x1371')]=_0x23e88e[_0x477d('0x45f')](_0x477d('0x1372'));}}function _0x42e784(_0x43b617){if(_0x43b617['UserId']){if(_0x43b617['UserId']===_0x1799e6[_0x477d('0x380')]['id']){return _0x23e88e[_0x477d('0x45f')](_0x477d('0x1373'));}else{return _0x43b617['Owner'][_0x477d('0xcd')]+'\x20<'+_0x43b617[_0x477d('0x1374')][_0x477d('0x324')]+'>';}}return _0x23e88e[_0x477d('0x45f')](_0x477d('0x1354'));}function _0x3c8e9e(_0x261863){if(_0x261863['Account']){return _0x261863[_0x477d('0x15a4')][_0x477d('0x670')];}return _0x23e88e[_0x477d('0x45f')](_0x477d('0x1372'));}function _0x224799(_0x4b0ca7,_0x1eade1){if(_0x1eade1[_0x477d('0x1364')]){_0x1eade1[_0x477d('0x1364')]['isDraft']=!![];_0x417da9(null,_0x1eade1[_0x477d('0x1364')]);}else{_0x284e54['show']({'controller':_0x477d('0x1774'),'controllerAs':'vm','templateUrl':'app/main/apps/dashboards/views/general/agent/interaction/composeMail/dialog.html','parent':angular['element'](_0x3e1685[_0x477d('0x399')]),'clickOutsideToClose':![],'locals':{'account':_0x1eade1['account'],'message':_0x1eade1[_0x477d('0xdaf')],'type':_0x477d('0x15e4'),'interaction':{}},'fullscreen':!![]})[_0x477d('0x76')](function(_0x5b6de9){if(_0x5b6de9){if(_0x5b6de9['message']&&_0x5b6de9[_0x477d('0x452')]['savedAsDraft']){var _0x299445={'id':_0x1eade1['id'],'channel':_0x477d('0x1d6'),'account':_0x5b6de9[_0x477d('0x15e5')],'message':_0x5b6de9[_0x477d('0x452')]};_0x4f136d[_0x477d('0x710')](_0x299445);}else{var _0x42bba8=_0x5b6de9;return _0x5051cf[_0x477d('0x1775')][_0x477d('0xa08')]({'id':_0x1eade1['account']['id']},_0x42bba8)['$promise'][_0x477d('0x76')](function(_0x1a80cd){_0x4f136d[_0x477d('0x39c')](_0x1eade1['id']);if(_0x1a80cd&&_0x1a80cd['Messages']&&_0x1a80cd[_0x477d('0x134c')][_0x477d('0x79')]){if(_0x42bba8[_0x477d('0x161b')]&&_0x42bba8[_0x477d('0x161b')]['length']){for(var _0x699d7b=0x0;_0x699d7b<_0x42bba8[_0x477d('0x161b')][_0x477d('0x79')];_0x699d7b+=0x1){_0x5051cf['attachment']['update']({'id':_0x42bba8[_0x477d('0x161b')][_0x699d7b]['id']},{'MailMessageId':_[_0x477d('0x654')](_0x1a80cd[_0x477d('0x134c')])['id']});}}_0x47b13[_0x477d('0x485')]({'title':'Message\x20properly\x20sent!','msg':_0x477d('0x161d')});if(_0x1a80cd['closed']){_0x1a80cd[_0x477d('0xb95')]=null;var _0x4338e0=!_0x1eade1[_0x477d('0x15e5')]['mandatoryDisposition'];var _0x43ed9f=_0x1799e6[_0x477d('0x380')][_0x477d('0x624')]||_0x1799e6[_0x477d('0x380')][_0x477d('0x13d0')]||_0x1799e6[_0x477d('0x380')][_0x477d('0x13b9')]||_0x1799e6['user']['openchannelPause']||_0x1799e6['user'][_0x477d('0x13bb')];_0x284e54['show']({'controller':_0x477d('0x15a5'),'controllerAs':'vm','templateUrl':'app/main/apps/dashboards/views/general/agent/interaction/dispose/dialog.html','parent':angular[_0x477d('0x398')](_0x3e1685[_0x477d('0x399')]),'onRemoving':function(_0x15ec7a,_0x1e3896){if(_0x1799e6[_0x477d('0x380')]&&_0x1eade1['account'][_0x477d('0x15a0')]&&!_0x43ed9f){_0x5051cf[_0x477d('0x380')][_0x477d('0x15a7')]({'id':_0x1799e6[_0x477d('0x380')]['id']})[_0x477d('0x38b')]['catch'](function(_0x1ee4e2){console['error'](_0x1ee4e2);});}},'clickOutsideToClose':_0x4338e0,'escapeToClose':_0x4338e0,'locals':{'user':_0x1799e6[_0x477d('0x380')],'channel':'mail','interaction':_0x1a80cd}});}else{_0xe84c3a['$parent']['vm']['addInteractionTab'](_0x477d('0x1d6'),_0x1a80cd);}}})[_0x477d('0xf8')](function(_0x3e4b52){if(_0x3e4b52[_0x477d('0x451')]&&_0x3e4b52['data'][_0x477d('0xd67')]&&_0x3e4b52['data'][_0x477d('0xd67')][_0x477d('0x79')]){for(var _0x500665=0x0;_0x500665<_0x3e4b52[_0x477d('0x451')][_0x477d('0xd67')]['length'];_0x500665++){_0x47b13[_0x477d('0x44a')]({'title':_0x3e4b52[_0x477d('0x451')][_0x477d('0xd67')][_0x500665]['type'],'msg':_0x3e4b52['data'][_0x477d('0xd67')][_0x500665][_0x477d('0x452')]});}}else{_0x47b13[_0x477d('0x44a')]({'title':_0x3e4b52[_0x477d('0x3c3')]?'API:'+_0x3e4b52[_0x477d('0x3c3')]+'\x20-\x20'+_0x3e4b52[_0x477d('0x44d')]:'MAILACCOUNT:SEND','msg':_0x3e4b52['data']?JSON['stringify'](_0x3e4b52[_0x477d('0x451')][_0x477d('0x452')]):_0x3e4b52[_0x477d('0x452')]||_0x3e4b52[_0x477d('0x453')]()});}});}}});}}function _0x4a9934(_0x1131d2,_0x539423){_0x284e54['show']({'controller':_0x477d('0x1774'),'controllerAs':'vm','templateUrl':'app/main/apps/dashboards/views/general/agent/interaction/composeMail/dialog.html','parent':angular['element'](_0x3e1685[_0x477d('0x399')]),'clickOutsideToClose':![],'locals':{'account':_0x539423,'message':{},'type':'new','interaction':{}},'fullscreen':!![]})[_0x477d('0x76')](function(_0x69ed21){if(_0x69ed21){if(_0x69ed21['message']&&_0x69ed21[_0x477d('0x452')][_0x477d('0x175e')]){var _0x2ca740={'channel':_0x477d('0x1d6'),'account':_0x539423,'message':_0x69ed21[_0x477d('0x452')],'contact':_0x69ed21[_0x477d('0x100')]};_0x4f136d[_0x477d('0x440')](_0x2ca740);}else{var _0x158e55=_0x69ed21;return _0x5051cf['mailAccount']['send']({'id':_0x539423['id']},_0x158e55)[_0x477d('0x38b')][_0x477d('0x76')](function(_0x1361d3){if(_0x1361d3&&_0x1361d3['Messages']&&_0x1361d3[_0x477d('0x134c')]['length']){if(_0x158e55[_0x477d('0x161b')]&&_0x158e55[_0x477d('0x161b')][_0x477d('0x79')]){for(var _0x55dd8e=0x0;_0x55dd8e<_0x158e55['attachments'][_0x477d('0x79')];_0x55dd8e+=0x1){_0x5051cf[_0x477d('0xcb5')]['update']({'id':_0x158e55['attachments'][_0x55dd8e]['id']},{'MailMessageId':_[_0x477d('0x654')](_0x1361d3[_0x477d('0x134c')])['id']});}}_0x47b13[_0x477d('0x485')]({'title':_0x477d('0x161c'),'msg':_0x477d('0x161d')});if(_0x1361d3[_0x477d('0x1351')]){_0x1361d3[_0x477d('0xb95')]=null;var _0x58381e=!_0x539423[_0x477d('0x15a0')];var _0x3b1e0f=_0x1799e6[_0x477d('0x380')][_0x477d('0x624')]||_0x1799e6[_0x477d('0x380')][_0x477d('0x13d0')]||_0x1799e6[_0x477d('0x380')]['mailPause']||_0x1799e6[_0x477d('0x380')][_0x477d('0x13d1')]||_0x1799e6['user'][_0x477d('0x13bb')];_0x284e54[_0x477d('0x395')]({'controller':_0x477d('0x15a5'),'controllerAs':'vm','templateUrl':'app/main/apps/dashboards/views/general/agent/interaction/dispose/dialog.html','parent':angular[_0x477d('0x398')](_0x3e1685[_0x477d('0x399')]),'onRemoving':function(_0x12919a,_0x29ef56){if(_0x1799e6[_0x477d('0x380')]&&_0x539423['mandatoryDisposition']&&!_0x3b1e0f){_0x5051cf[_0x477d('0x380')][_0x477d('0x15a7')]({'id':_0x1799e6[_0x477d('0x380')]['id']})[_0x477d('0x38b')][_0x477d('0xf8')](function(_0x2ce768){console['error'](_0x2ce768);});}},'clickOutsideToClose':_0x58381e,'escapeToClose':_0x58381e,'locals':{'user':_0x1799e6[_0x477d('0x380')],'channel':_0x477d('0x1d6'),'interaction':_0x1361d3}});}else{_0xe84c3a[_0x477d('0x723')]['vm'][_0x477d('0x1588')]('mail',_0x1361d3);}}})['catch'](function(_0x59556a){if(_0x59556a[_0x477d('0x451')]&&_0x59556a[_0x477d('0x451')][_0x477d('0xd67')]&&_0x59556a[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){for(var _0x3c629c=0x0;_0x3c629c<_0x59556a[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x3c629c++){_0x47b13[_0x477d('0x44a')]({'title':_0x59556a['data'][_0x477d('0xd67')][_0x3c629c][_0x477d('0x439')],'msg':_0x59556a[_0x477d('0x451')][_0x477d('0xd67')][_0x3c629c][_0x477d('0x452')]});}}else{_0x47b13['error']({'title':_0x59556a[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x59556a[_0x477d('0x3c3')]+'\x20-\x20'+_0x59556a['statusText']:_0x477d('0x1776'),'msg':_0x59556a[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x59556a[_0x477d('0x451')][_0x477d('0x452')]):_0x59556a['message']||_0x59556a[_0x477d('0x453')]()});}});}}});}function _0x51df58(_0x863495){var _0x3d5618;var _0x3fa185=_['find'](_0x1799e6[_0x477d('0x1763')][_0x477d('0xf2')],{'id':_0x863495[_0x477d('0x1777')]});if(_0x3fa185&&_0x3fa185[_0x477d('0xdf4')]){_0x3d5618=_[_0x477d('0x10a')](_0x3fa185['Users'],{'id':_0x863495[_0x477d('0x125b')]});if(!_0x3d5618){_0x3fa185[_0x477d('0xdf4')][_0x477d('0x3a7')]({'id':_0x863495[_0x477d('0x125b')]});}}}function _0x341b13(_0x3f4ff0){var _0x5a18b0=_[_0x477d('0x10a')](_0x1799e6[_0x477d('0x1763')][_0x477d('0xf2')],{'id':_0x3f4ff0[_0x477d('0x1777')]});if(_0x5a18b0&&_0x5a18b0['Users']){_['remove'](_0x5a18b0[_0x477d('0xdf4')],{'id':_0x3f4ff0[_0x477d('0x125b')]});}}function _0x2f71a5(_0x318fb2){if(_0x318fb2){var _0x1268bf=_[_0x477d('0x10a')](_0x1799e6[_0x477d('0x1763')]['rows'],{'id':_0x318fb2['id']});if(_0x1268bf){_0x1268bf[_0x477d('0xdf4')]=[];if(_0x318fb2[_0x477d('0x1351')]){_0x1268bf[_0x477d('0x167d')]=0x0;}if(_0x1799e6[_0x477d('0x3ef')][_0x477d('0x568')]){var _0x25fca5=_['startsWith'](_0x1799e6['query']['sort'],'-')?_0x477d('0x13ff'):_0x477d('0x1400');_0x1799e6[_0x477d('0x1763')][_0x477d('0xf2')]=_['orderBy'](_0x1799e6[_0x477d('0x1763')][_0x477d('0xf2')],_['trimStart'](_0x1799e6[_0x477d('0x3ef')][_0x477d('0x568')],'-'),_0x25fca5);}_[_0x477d('0xef')](_0x1268bf,_[_0x477d('0x10b')](_0x318fb2,_[_0x477d('0x7f')](_0x1268bf)));}else{_0x18ba58(_0x1799e6[_0x477d('0x3ef')][_0x477d('0xe03')]);}}}function _0x18bb79(_0x8a389b){if(_0x8a389b){var _0x187db0=_[_0x477d('0x10a')](_0x1799e6[_0x477d('0x1763')][_0x477d('0xf2')],{'id':_0x8a389b['id']});if(_0x187db0){_0x187db0[_0x477d('0x102')]=_0x8a389b[_0x477d('0x1263')]||[];_[_0x477d('0xef')](_0x187db0,_[_0x477d('0x10b')](_0x8a389b,_[_0x477d('0x7f')](_0x187db0)));}}}function _0x2a6a50(_0x9e0fe8){if(_0x9e0fe8&&!_0x9e0fe8[_0x477d('0x1778')]){var _0x586976=_[_0x477d('0x10a')](_0x1799e6['mailInteractions'][_0x477d('0xf2')],{'id':_0x9e0fe8[_0x477d('0x1777')]});if(_0x586976){var _0xa4ed46=_['find'](_0x586976[_0x477d('0x134c')],{'id':_0x9e0fe8['id']});if(_0xa4ed46){_[_0x477d('0xef')](_0xa4ed46,_['pick'](_0x9e0fe8,_[_0x477d('0x7f')](_0xa4ed46)));}else{if(_[_0x477d('0x484')](_0x586976[_0x477d('0x134c')])){_0x586976[_0x477d('0x134c')]={'count':0x0};}if(!_0x9e0fe8['read']){_0x586976[_0x477d('0x134c')][_0x477d('0x3bb')]+=0x1;}}}}}function _0x5e05d7(){_0x1799e6[_0x477d('0x1664')]=![];}function _0x2d131f(){_0x1799e6['isSearchBarVisible']=!![];}function _0xf56d7d(){_0x1799e6['isSearchBarVisible']=![];_0x284e54[_0x477d('0x395')]({'controller':_0x477d('0x3e4'),'controllerAs':'vm','templateUrl':'app/core/dialogs/advanced-search/dialog.html','parent':angular['element'](_0x3e1685[_0x477d('0x399')]),'clickOutsideToClose':![],'locals':{'color':_0x1799e6[_0x477d('0x167f')],'fields':_0x1799e6[_0x477d('0x3eb')][_0x477d('0x458')],'storagePath':'home.mail'},'fullscreen':!![]})[_0x477d('0x76')](function(_0xe2f26d){_0x1799e6['query'][_0x477d('0x3fd')]=_0xe2f26d===![]?undefined:_0xe2f26d;if(_0x1799e6['query']['search']||_0xe2f26d===![])_0x18ba58();})[_0x477d('0xf8')](function(_0x1aefb9){_0x47b13['error']({'title':_0x477d('0x16a5'),'msg':_0x1aefb9[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x1aefb9['data'][_0x477d('0x452')]):_0x1aefb9[_0x477d('0x453')]()});});}var _0x2a488a=!![];var _0x1994fa=0x1;_0xe84c3a[_0x477d('0x4b5')]('vm.query.filter',function(_0x4007d5,_0x3fd87a){if(_0x2a488a){_0x30cdc0(function(){_0x2a488a=![];});}else{if(!_0x3fd87a){_0x1994fa=_0x1799e6[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x4007d5!==_0x3fd87a){_0x1799e6[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0x4007d5){_0x1799e6[_0x477d('0x3ef')][_0x477d('0xe03')]=_0x1994fa;}_0x18ba58(_0x1799e6[_0x477d('0x3ef')][_0x477d('0xe03')]);}});_0xe84c3a[_0x477d('0x4ec')](_0x477d('0x505'),function(){_0x42a8c1[_0x477d('0x6b8')]('mailMessage:save');_0x42a8c1[_0x477d('0x6b8')]('mailMessage:update');_0x42a8c1[_0x477d('0x6b8')](_0x477d('0x176b'));_0x42a8c1[_0x477d('0x6b8')](_0x477d('0x176d'));_0x42a8c1[_0x477d('0x6b8')]('mailInteraction:update');_0x42a8c1[_0x477d('0x6b8')]('user_has_mail_interactions:save');_0x42a8c1['removeAllListeners'](_0x477d('0x1770'));});}}());(function(){'use strict';_0x40537c['$inject']=[_0x477d('0x475'),_0x477d('0x474'),_0x477d('0x3fe'),_0x477d('0x384'),_0x477d('0x55'),_0x477d('0x386'),_0x477d('0x387'),_0x477d('0x40e')];angular[_0x477d('0xb')](_0x477d('0x2c'))['controller'](_0x477d('0x1779'),_0x40537c);function _0x40537c(_0x223eee,_0xfa1b54,_0x2650d7,_0x447818,_0x20ed2d,_0x219441,_0x508eb8,_0x3a2dc5){var _0x5786a8=this;_0x5786a8[_0x477d('0x3e5')]=_0x20ed2d[_0x477d('0x5c')]();_0x5786a8[_0x477d('0xf1')]={};_0x5786a8[_0x477d('0x1449')]={'count':0x0,'rows':[]};_0x5786a8['tags']={'count':0x0,'rows':[]};_0x5786a8[_0x477d('0x3ef')]={'includeAll':!![],'id':_0x5786a8[_0x477d('0x3e5')]['id'],'sort':_0x477d('0x59'),'limit':0xa,'page':0x1};_0x5786a8[_0x477d('0x3eb')]={'fields':[]};_0x5786a8['sectionColor']='red';_0x5786a8['getContacts']=_0x42c830;_0x5786a8[_0x477d('0x1697')]=_0x359531;_0x5786a8['mergeContact']=_0x301ce8;_0x5786a8[_0x477d('0x1454')]=_0x299fa4;_0x5786a8[_0x477d('0x1699')]=_0x2d3ec4;_0x5786a8[_0x477d('0x482')]=_0xfa1b54[_0x477d('0x723')]['vm']['call'];_0x5786a8['onInit']=_0x212ca3;_0x5786a8[_0x477d('0x165c')]=_0x5d7966;_0x5786a8['onSearchBarExpand']=_0x5b1c64;_0x5786a8['openAdvancedSearch']=_0x18a3f7;function _0x212ca3(){_0x219441[_0x477d('0xe3f')][_0x477d('0x376')]({'fields':'id,name,dialPrefix','sort':_0x477d('0x94'),'nolimit':!![]})[_0x477d('0x38b')]['then'](function(_0x3d5662){_0x5786a8[_0x477d('0xf1')]=_0x3d5662||{'count':0x0,'rows':[]};_0x5786a8[_0x477d('0x144a')]=_['keyBy'](_0x5786a8[_0x477d('0xf1')][_0x477d('0xf2')],'id');return _0x219441['tag']['get']()[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x419c83){_0x5786a8[_0x477d('0x1263')]=_0x419c83||{'count':0x0,'rows':[]};})[_0x477d('0x76')](function(){_0x5786a8[_0x477d('0x1349')]=_0xe2245c();})['catch'](function(_0x8d93c0){console['error'](_0x8d93c0);})[_0x477d('0x5ff')](function(){var _0x414dc5=_0x508eb8[_0x477d('0x39d')]['getItem'](_0x477d('0x177a')+_0x5786a8[_0x477d('0x3e5')]['id']);if(_0x414dc5){try{_0x414dc5=JSON['parse'](_0x414dc5);if(_0x414dc5['query']){_0x5786a8[_0x477d('0x3ef')]=_[_0x477d('0xef')](_0x5786a8['query'],_0x414dc5['query']);if(_['isEmpty'](_0x5786a8[_0x477d('0xf1')][_0x477d('0xf2')])){_0x5786a8[_0x477d('0x3ef')][_0x477d('0x1229')]=[];}else if(_[_0x477d('0x3b2')](_0x5786a8[_0x477d('0x3ef')][_0x477d('0x1229')])){_0x5786a8[_0x477d('0x3ef')]['ListId']=_(_0x5786a8[_0x477d('0xf1')][_0x477d('0xf2')])[_0x477d('0x3cb')]('id')['take']()[_0x477d('0x3b6')]();}}}catch(_0x59e0a2){console[_0x477d('0x44a')](_0x59e0a2);}}else{_0x5786a8[_0x477d('0x3ef')][_0x477d('0x1229')]=_[_0x477d('0x3cb')](_0x5786a8[_0x477d('0xf1')]['rows'],'id');}_0x5786a8[_0x477d('0x1664')]=_0x5786a8['query']['filter']?!![]:![];_0x42c830();});}function _0xe2245c(){return[{'name':_0x477d('0x147d'),'key':_0x477d('0x1229'),'type':'multiselect','label':_0x477d('0x169c'),'options':_0x5786a8['lists'][_0x477d('0xf2')],'clearAll':![]},{'name':'Tag','key':_0x477d('0xbb0'),'type':_0x477d('0x413'),'label':_0x477d('0x1355'),'options':_0x5786a8[_0x477d('0x1263')]['rows'],'placeholder':_0x477d('0x1356')}];}function _0x45a1fa(_0x1a3ab7){_0x5786a8[_0x477d('0x1691')]=![];_0x5786a8[_0x477d('0x1449')]=_0x1a3ab7||{'count':0x0,'rows':[]};}function _0x42c830(_0x4d976a,_0x12373b){_0x5786a8['searchInProgress']=!![];_0x41df0d();if(!_0x4d976a){_0x5786a8[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}_0x5786a8[_0x477d('0x3ef')][_0x477d('0x91c')]=(_0x5786a8['query'][_0x477d('0xe03')]-0x1)*_0x5786a8[_0x477d('0x3ef')]['limit'];var _0x4e6fd5=_0x508eb8[_0x477d('0x39d')][_0x477d('0x3f8')](_0x477d('0x177a')+_0x5786a8[_0x477d('0x3e5')]['id']);_0x4e6fd5=_0x4e6fd5?JSON['parse'](_0x4e6fd5):{};_0x4e6fd5[_0x477d('0x3ef')]=_0x5786a8[_0x477d('0x3ef')];_0x508eb8[_0x477d('0x39d')][_0x477d('0x3fa')](_0x477d('0x177a')+_0x5786a8['currentUser']['id'],JSON[_0x477d('0x3fb')](_0x4e6fd5));if(_0x5786a8[_0x477d('0x3ef')][_0x477d('0x3fd')])_0x5786a8[_0x477d('0x177b')]=_[_0x477d('0x3fc')](_0x5786a8['query'],'id');_0x5786a8['promise']=_0x5786a8['query']['search']?_0x219441[_0x477d('0xb6c')]['get'](_0x5786a8[_0x477d('0x177b')],_0x45a1fa)['$promise']:_0x219441[_0x477d('0x380')][_0x477d('0x1452')](_0x5786a8[_0x477d('0x3ef')],_0x45a1fa)[_0x477d('0x38b')];}function _0x2d3ec4(_0x6ce387,_0x1fe545){_0xfa1b54[_0x477d('0x723')]['vm'][_0x477d('0x15d5')](_0x1fe545);}function _0x359531(){_0x42c830();}function _0x299fa4(_0x5e025a,_0x4db758){_0x447818[_0x477d('0x395')]({'controller':_0x477d('0x1475'),'controllerAs':'vm','templateUrl':_0x477d('0x1476'),'parent':angular[_0x477d('0x398')](_0x223eee[_0x477d('0x399')]),'targetEvent':_0x5e025a,'clickOutsideToClose':!![],'resolve':{'contact':[_0x477d('0x5e'),function(_0x46c237){return _0x46c237['resolve']('cmContact@get',{'id':_0x4db758['id']});}],'lists':['apiResolver',function(_0xc22ded){return _0xc22ded[_0x477d('0x5a')](_0x477d('0x11d'),{'id':_0x5786a8['currentUser']['id'],'fields':_0x477d('0x9c')});}]},'locals':{'contacts':_0x5786a8['contacts'][_0x477d('0xf2')]}});}function _0x301ce8(_0x241653,_0x151459){_0x447818[_0x477d('0x395')]({'controller':_0x477d('0x14e8'),'controllerAs':'vm','templateUrl':'app/main/apps/contactmanager/views/contacts/merge/dialog.html','parent':angular[_0x477d('0x398')](_0x223eee[_0x477d('0x399')]),'targetEvent':_0x241653,'clickOutsideToClose':!![],'resolve':{'contact':[_0x477d('0x5e'),function(_0x1e5170){return _0x1e5170[_0x477d('0x5a')]('cmContact@get',{'id':_0x151459['id']});}],'lists':[_0x477d('0x5e'),function(_0x58555a){return _0x58555a['resolve'](_0x477d('0x11d'),{'id':_0x5786a8[_0x477d('0x3e5')]['id'],'fields':_0x477d('0x9c')});}]},'locals':{'contacts':_0x5786a8[_0x477d('0x1449')][_0x477d('0xf2')]}});}function _0x5d7966(){_0x5786a8[_0x477d('0x1664')]=![];}function _0x5b1c64(){_0x5786a8['isSearchBarVisible']=!![];}function _0x41df0d(){return _0x219441[_0x477d('0xb6c')]['describe']({'id':_0x5786a8[_0x477d('0x3ef')][_0x477d('0x1229')]})['$promise'][_0x477d('0x76')](function(_0x340ea2){return _(_0x340ea2['toJSON']())['omit']('UserId')[_0x477d('0x445')]()['map'](function(_0x1776e2){return _0x113d77(_0x1776e2);})[_0x477d('0x3b6')]();})[_0x477d('0x76')](function(_0x48fb4b){_0x5786a8['advancedSearch'][_0x477d('0x458')]=_0x48fb4b;var _0x485ae7={'name':'Tags','column':_0x477d('0x1264'),'type':'multiselect','options':{'route':{'model':_0x477d('0xbb0'),'action':_0x477d('0x376'),'params':{'nolimit':!![]}},'excludedOperators':[_0x477d('0x3f5')]}};var _0xe700e1=_[_0x477d('0x45a')](_0x48fb4b,function(_0x36b24e){return _['startsWith'](_0x36b24e[_0x477d('0x460')],_0x477d('0x132e'));})||_0x48fb4b['length']-0x1;if(_0xe700e1<0x0)_0xe700e1=_0x48fb4b['length'];_0x5786a8['advancedSearch'][_0x477d('0x458')]['splice'](_0xe700e1,0x0,_0x485ae7);})['catch'](function(_0x2ba9c4){_0x3a2dc5['error']({'title':_0x2ba9c4[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x2ba9c4[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x2ba9c4[_0x477d('0x44d')]:_0x477d('0x169d'),'msg':_0x2ba9c4[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x2ba9c4[_0x477d('0x451')]['message']):_0x2ba9c4[_0x477d('0x453')]()});});}function _0x113d77(_0x4bac4f){var _0x5604a0={'name':_[_0x477d('0xd91')](_0x4bac4f[_0x477d('0x169e')]),'column':_0x4bac4f[_0x477d('0x16a3')],'options':{}};if(_0x4bac4f[_0x477d('0x9f6')]){switch(_0x4bac4f[_0x477d('0x9f6')][_0x477d('0x439')]){case _0x477d('0x41b'):_0x5604a0[_0x477d('0x439')]=_0x477d('0x41b');break;case _0x477d('0x462'):_0x5604a0[_0x477d('0x439')]='multiselect';_0x5604a0[_0x477d('0x445')]=_[_0x477d('0x3cb')](JSON[_0x477d('0x77')](_0x4bac4f[_0x477d('0x9f6')][_0x477d('0x445')]),function(_0x946d1c,_0xb11137){return{'id':_0xb11137,'name':_0x946d1c[_0x477d('0x3b6')],'value':_0x946d1c[_0x477d('0x3b6')]};});_0x5604a0[_0x477d('0x43c')][_0x477d('0x463')]=_0x477d('0x94');break;case _0x477d('0x169f'):_0x5604a0[_0x477d('0x439')]=_0x477d('0x462');_0x5604a0['values']=[{'id':0x1,'translate':'DASHBOARDS.ENABLED'},{'id':0x0,'translate':_0x477d('0x16a0')}];_0x5604a0[_0x477d('0x43c')][_0x477d('0x16a1')]=[_0x477d('0x414')];break;case _0x477d('0x421'):_0x5604a0[_0x477d('0x439')]=_0x477d('0x421');break;case _0x477d('0x16a2'):_0x5604a0['type']=_0x477d('0x420');break;}}else{switch(_0x4bac4f[_0x477d('0x16a3')]){case'dateOfBirth':_0x5604a0[_0x477d('0x439')]=_0x477d('0x420');break;case _0x477d('0x132b'):_0x5604a0[_0x477d('0x94')]=_0x477d('0x1434');_0x5604a0[_0x477d('0x439')]='autocomplete';_0x5604a0[_0x477d('0x43c')][_0x477d('0x442')]={'model':_0x477d('0xb68'),'action':'get','params':{'fields':_0x477d('0x9c'),'nolimit':!![]}};_0x5604a0[_0x477d('0x43c')][_0x477d('0x447')]=[_0x477d('0x94')];_0x5604a0['options']['excludedOperators']=[_0x477d('0x414')];break;case _0x477d('0x1229'):_0x5604a0[_0x477d('0x94')]=_0x477d('0x147d');_0x5604a0['type']=_0x477d('0x443');_0x5604a0[_0x477d('0x43c')]['route']={'model':_0x477d('0x380'),'action':'getLists','params':{'id':_0x5786a8[_0x477d('0x3e5')]['id'],'fields':_0x477d('0x9c'),'nolimit':!![]}};_0x5604a0[_0x477d('0x43c')]['searchFields']=[_0x477d('0x94')];_0x5604a0[_0x477d('0x43c')][_0x477d('0x16a1')]=[_0x477d('0x414')];break;default:if(_[_0x477d('0x3a4')](_0x4bac4f[_0x477d('0x439')]['toLowerCase'](),_0x477d('0x16a4'))){_0x5604a0['type']='number';}else if(_[_0x477d('0x3a4')](_0x4bac4f[_0x477d('0x439')][_0x477d('0x449')](),_0x477d('0x420'))){_0x5604a0[_0x477d('0x439')]=_0x477d('0x420');}else{_0x5604a0[_0x477d('0x439')]=_0x477d('0x41b');}break;}}return _0x5604a0;}function _0x18a3f7(){_0x5786a8[_0x477d('0x1664')]=![];_0x447818[_0x477d('0x395')]({'controller':'AdvancedSearchController','controllerAs':'vm','templateUrl':_0x477d('0x1362'),'parent':angular[_0x477d('0x398')](_0x223eee[_0x477d('0x399')]),'clickOutsideToClose':![],'locals':{'color':_0x5786a8[_0x477d('0x167f')],'fields':_0x5786a8['advancedSearch'][_0x477d('0x458')],'storagePath':_0x477d('0x177c')},'fullscreen':!![]})[_0x477d('0x76')](function(_0x5de34c){_0x5786a8['query']['search']=_0x5de34c===![]?undefined:_0x5de34c;if(_0x5de34c===![]){_0x42c830();}else if(_0x5786a8[_0x477d('0x3ef')][_0x477d('0x3fd')]){_0x5786a8[_0x477d('0x3ef')][_0x477d('0x3fd')]+=_0x477d('0x177d')+_0x5786a8[_0x477d('0x3e5')]['id']+']';_0x42c830();}})['catch'](function(_0x13cef6){_0x3a2dc5[_0x477d('0x44a')]({'title':_0x477d('0x16a5'),'msg':_0x13cef6['data']?JSON[_0x477d('0x3fb')](_0x13cef6[_0x477d('0x451')]['message']):_0x13cef6[_0x477d('0x453')]()});});}var _0x368712=!![];var _0x6fa71c=0x1;_0xfa1b54[_0x477d('0x4b5')](_0x477d('0xd98'),function(_0x3d98ba,_0x229df2){if(_0x368712){_0x2650d7(function(){_0x368712=![];});}else{if(!_0x229df2){_0x6fa71c=_0x5786a8[_0x477d('0x3ef')]['page'];}if(_0x3d98ba!==_0x229df2){_0x5786a8[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0x3d98ba){_0x5786a8[_0x477d('0x3ef')][_0x477d('0xe03')]=_0x6fa71c;}_0x42c830();}});}}());(function(){'use strict';_0x4f3bfc[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x3fe'),_0x477d('0x384'),_0x477d('0x475'),'$window','$translate','api',_0x477d('0x55'),_0x477d('0x5a3'),_0x477d('0x40e'),'draftManager'];angular[_0x477d('0xb')](_0x477d('0x2c'))[_0x477d('0x3ba')](_0x477d('0x177e'),_0x4f3bfc);function _0x4f3bfc(_0x588209,_0x81a53a,_0x57290d,_0x1b1309,_0x141451,_0x5a202e,_0x5a7aa0,_0x58800f,_0x2db558,_0x13dcdc,_0x27a8cf){var _0x5aa006=this;_0x5aa006[_0x477d('0x380')]=_0x58800f[_0x477d('0x5c')]();_0x5aa006[_0x477d('0x613')]={};_0x5aa006[_0x477d('0xc8e')]={};_0x5aa006[_0x477d('0x1263')]={'count':0x0,'rows':[]};_0x5aa006[_0x477d('0x177f')]={'count':0x0,'rows':[]};_0x5aa006[_0x477d('0x3ef')]={'includeAll':!![],'sort':_0x477d('0x59'),'limit':0xa,'page':0x1,'read':null,'closed':null};_0x5aa006[_0x477d('0x3eb')]={'fields':[{'name':'Id','column':'id','type':_0x477d('0x421')},{'name':_0x477d('0x1370'),'column':'Contact','type':_0x477d('0x443'),'options':{'searchFields':[_0x477d('0x1357'),_0x477d('0x1358'),_0x477d('0x1359')],'route':{'model':_0x477d('0xb6c'),'action':_0x477d('0x376'),'params':{'fields':_0x477d('0x1677'),'Contact':_0x477d('0x444'),'nolimit':!![]}},'extraOperators':[_0x477d('0x135a')],'excludedOperators':[_0x477d('0x414')]}},{'name':'Body','column':_0x477d('0x399'),'type':'text','options':{'excludedOperators':[_0x477d('0x412'),'$ne']}},{'name':'Status','column':_0x477d('0x1351'),'type':_0x477d('0x462'),'values':[{'id':0x0,'translate':_0x477d('0x135f')},{'id':0x1,'translate':_0x477d('0x1352')}],'options':{'excludedOperators':[_0x477d('0x414')]}},{'name':'Agent','column':_0x477d('0x167b'),'type':'autocomplete','options':{'table':'i','route':{'model':'user','action':'get','params':{'role':_0x477d('0xcf'),'fields':_0x477d('0x1360'),'nolimit':!![]}},'searchFields':['fullname',_0x477d('0x94')],'extraOperators':[_0x477d('0x135a')],'excludedOperators':['$ne']}},{'name':'Account','column':_0x477d('0x14b7'),'type':_0x477d('0x413'),'options':{'route':{'model':_0x477d('0x380'),'action':_0x477d('0x1607'),'params':{'id':_0x5aa006['user']['id'],'nolimit':!![]}}}},{'name':_0x477d('0x102'),'column':_0x477d('0x1264'),'type':_0x477d('0x413'),'options':{'route':{'model':_0x477d('0xbb0'),'action':'get','params':{'nolimit':!![]}},'excludedOperators':['$notIn']}},{'name':_0x477d('0x134a'),'column':_0x477d('0xe37'),'type':_0x477d('0x420'),'options':{'excludedOperators':[_0x477d('0x414')]}},{'name':_0x477d('0x1361'),'column':_0x477d('0x167d'),'type':_0x477d('0x462'),'values':[{'id':0x1,'translate':_0x477d('0x134f')},{'id':0x0,'translate':'DASHBOARDS.UNREAD'}],'options':{'excludedOperators':[_0x477d('0x414')]}}]};_0x5aa006[_0x477d('0x167f')]=_0x477d('0x1780');_0x5aa006[_0x477d('0x71a')]=_0x12d666;_0x5aa006[_0x477d('0x485')]=_0x1bb285;_0x5aa006[_0x477d('0x1781')]=_0x13d484;_0x5aa006[_0x477d('0x1782')]=_0xddf7bd;_0x5aa006[_0x477d('0x1783')]=_0x887694;_0x5aa006['disposeInteraction']=_0x59adc0;_0x5aa006[_0x477d('0x1684')]=_0x3a38a9;_0x5aa006[_0x477d('0x1750')]=_0x546a32;_0x5aa006[_0x477d('0x1784')]=_0x5da8ec;_0x5aa006['composeOpenchannelInteraction']=_0x1b7c4a;_0x5aa006[_0x477d('0x165c')]=_0x136e9f;_0x5aa006[_0x477d('0x165d')]=_0x570793;_0x5aa006['openAdvancedSearch']=_0x11cb9d;_0x588209[_0x477d('0x4ec')](_0x477d('0x1785'),_0x42fd54);function _0x12d666(_0x37e67c,_0x15d38d){_0x5aa006['license']=_0x37e67c;_0x5aa006[_0x477d('0xc8e')]=_0x15d38d;return _0x5a7aa0[_0x477d('0x380')][_0x477d('0x376')+_[_0x477d('0x1367')](_0x477d('0x160d'))]({'id':_0x5aa006[_0x477d('0x380')]['id'],'nolimit':!![]})['$promise']['then'](function(_0x4b63e6){_0x5aa006['openchannelAccounts']=_0x4b63e6||{'count':0x0,'rows':[]};return _0x5a7aa0[_0x477d('0xbb0')][_0x477d('0x376')]()[_0x477d('0x38b')];})['then'](function(_0x2d7e7d){_0x5aa006[_0x477d('0x1263')]=_0x2d7e7d||{'count':0x0,'rows':[]};})[_0x477d('0x76')](function(){_0x5aa006[_0x477d('0x1349')]=_0x59d947();})[_0x477d('0xf8')](function(_0x4f8268){console[_0x477d('0x44a')](_0x4f8268);})[_0x477d('0x5ff')](function(){var _0x1827eb=_0x141451[_0x477d('0x39d')]['getItem'](_0x477d('0x1786')+_0x5aa006[_0x477d('0x380')]['id']);if(_0x1827eb){try{_0x1827eb=JSON[_0x477d('0x77')](_0x1827eb);if(_0x1827eb[_0x477d('0x3ef')]){_0x5aa006[_0x477d('0x3ef')]=_[_0x477d('0xef')](_0x5aa006[_0x477d('0x3ef')],_0x1827eb[_0x477d('0x3ef')]);if(_[_0x477d('0x3b2')](_0x5aa006[_0x477d('0x160d')][_0x477d('0xf2')])){_0x5aa006['query'][_0x477d('0x14b7')]=[];}else if(_['isEmpty'](_0x5aa006['query'][_0x477d('0x14b7')])){_0x5aa006['query'][_0x477d('0x14b7')]=_(_0x5aa006['openchannelAccounts']['rows'])[_0x477d('0x3cb')]('id')[_0x477d('0x1688')]()['value']();}if(_0x5aa006[_0x477d('0x3ef')]['sort']&&_0x5aa006[_0x477d('0x3ef')][_0x477d('0x568')]['indexOf'](_0x477d('0x1689'))>=0x0){_0x5aa006[_0x477d('0x3ef')]=_[_0x477d('0x3fc')](_0x5aa006[_0x477d('0x3ef')],_0x477d('0x568'));}_0x5aa006[_0x477d('0x3ef')][_0x477d('0x168a')]=!![];_0x5aa006[_0x477d('0x1664')]=_0x5aa006[_0x477d('0x3ef')][_0x477d('0x3b3')]?!![]:![];}}catch(_0x119d90){console[_0x477d('0x44a')](_0x119d90);}}else{var _0xb024ae={'$gte':moment()[_0x477d('0x12d')](_0x477d('0x6fd'))[_0x477d('0x12e')](0x0,!![])[_0x477d('0x12f')](),'$lte':moment()[_0x477d('0x130')](_0x477d('0x6fd'))['utcOffset'](0x0,!![])[_0x477d('0x12f')]()};var _0x2c17a7={'OpenchannelAccountId':_['map'](_0x5aa006[_0x477d('0x160d')][_0x477d('0xf2')],'id'),'createdAt':_0xb024ae};_0x5aa006[_0x477d('0x3ef')]=_[_0x477d('0xef')](_0x5aa006[_0x477d('0x3ef')],_0x2c17a7);}_0x2db558['on'](_0x477d('0x1787'),_0x18ec29);_0x2db558['on']('openchannelInteraction:update',_0x18ec29);_0x2db558['on']('openchannelInteractionTags:save',_0x14accc);_0x2db558['on']('openchannelMessage:save',_0x524722);_0x2db558['on'](_0x477d('0x1788'),_0x524722);_0x2db558['on'](_0x477d('0x1789'),_0x344af3);_0x2db558['on']('user_has_openchannel_interactions:remove',_0x338691);_0x13d484(_0x5aa006[_0x477d('0x3ef')]['page']);});}function _0x59d947(){return[{'name':_0x477d('0x134a'),'key':_0x477d('0xe37'),'type':_0x477d('0x420'),'label':'DASHBOARDS.SELECT_DATE'},{'name':_0x477d('0x134c'),'key':'read','type':_0x477d('0x462'),'label':'DASHBOARDS.SELECT_READ_UNREAD','customOptions':[{'value':0x0,'translate':_0x477d('0x167e')},{'value':0x1,'translate':_0x477d('0x134f')},{'value':null,'translate':'DASHBOARDS.ALL'}]},{'name':_0x477d('0x135e'),'key':_0x477d('0x1351'),'type':_0x477d('0x462'),'label':_0x477d('0x168f'),'customOptions':[{'value':0x0,'translate':'DASHBOARDS.OPENED'},{'value':0x1,'translate':_0x477d('0x1352')},{'value':null,'translate':'DASHBOARDS.ALL'}]},{'name':'Account','key':_0x477d('0x14b7'),'type':_0x477d('0x413'),'label':'DASHBOARDS.SELECT_ACCOUNT','options':_0x5aa006[_0x477d('0x160d')][_0x477d('0xf2')],'clearAll':![]},{'name':_0x477d('0x125d'),'key':_0x477d('0x125b'),'type':_0x477d('0x462'),'label':_0x477d('0x1353'),'customOptions':[{'value':_0x5aa006[_0x477d('0x380')]['id'],'translate':_0x477d('0x1373')},{'value':'null','translate':_0x477d('0x1354')},{'value':undefined,'translate':_0x477d('0x1350')}]},{'name':_0x477d('0x1264'),'key':_0x477d('0xbb0'),'type':_0x477d('0x413'),'label':_0x477d('0x1355'),'options':_0x5aa006[_0x477d('0x1263')][_0x477d('0xf2')],'placeholder':_0x477d('0x1356')}];}function _0x1bb285(_0x13d766){_0x5aa006[_0x477d('0x1691')]=![];_0x5aa006['openchannelInteractions']=_0x13d766||{'count':0x0,'rows':[]};for(var _0x58496e=0x0;_0x58496e<_0x5aa006[_0x477d('0x177f')][_0x477d('0xf2')][_0x477d('0x79')];_0x58496e+=0x1){_0x3a38a9(_0x5aa006['openchannelInteractions']['rows'][_0x58496e]);}}function _0x13d484(_0x2ee9ec,_0x39de45){_0x5aa006[_0x477d('0x1691')]=!![];if(!_0x2ee9ec){_0x5aa006[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}_0x5aa006['query']['offset']=(_0x5aa006[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x5aa006[_0x477d('0x3ef')][_0x477d('0x91d')];var _0x430885=_0x141451[_0x477d('0x39d')]['getItem']('motion2.home.openchannel:'+_0x5aa006['user']['id']);_0x430885=_0x430885?JSON['parse'](_0x430885):{};_0x430885['query']=_0x5aa006[_0x477d('0x3ef')];_0x141451[_0x477d('0x39d')][_0x477d('0x3fa')](_0x477d('0x1786')+_0x5aa006[_0x477d('0x380')]['id'],JSON['stringify'](_0x430885));_0x5aa006[_0x477d('0x553')]=_0x5a7aa0[_0x477d('0xb22')]['get'](_0x5aa006[_0x477d('0x3ef')],_0x1bb285)[_0x477d('0x38b')];}function _0xddf7bd(_0x33342d,_0x12d12e){_0x588209[_0x477d('0x723')]['vm'][_0x477d('0x1588')]('openchannel',_0x12d12e);}function _0x887694(_0x597a43,_0x3598e7,_0x2aee58){_0x5a7aa0['openchannelInteraction'][_0x477d('0x49d')]({'id':_0x3598e7['id'],'attachments':_0x2aee58})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x2d6980){var _0x50e5e0=[_0x2d6980[_0x477d('0x49e')]];var _0x52bbe4=_0x477d('0x178a')+_0x3598e7['id']+'.zip';var _0x196a9b=new Blob(_0x50e5e0,{'type':_0x2d6980[_0x477d('0x439')]});var _0x2bc618=window['document']['createElement']('a');_0x2bc618[_0x477d('0x494')](_0x477d('0x3c8'),URL[_0x477d('0x49f')](_0x196a9b));_0x2bc618[_0x477d('0x494')](_0x477d('0x49d'),_0x52bbe4);document[_0x477d('0x399')][_0x477d('0xd8f')](_0x2bc618);_0x2bc618[_0x477d('0x540')]();})[_0x477d('0xf8')](function(_0x14a599){if(_0x14a599[_0x477d('0x451')]&&_0x14a599['data'][_0x477d('0xd67')]&&_0x14a599['data'][_0x477d('0xd67')][_0x477d('0x79')]){for(var _0x43f3bf=0x0;_0x43f3bf<_0x14a599['data'][_0x477d('0xd67')][_0x477d('0x79')];_0x43f3bf+=0x1){_0x13dcdc[_0x477d('0x44a')]({'title':_0x14a599[_0x477d('0x451')][_0x477d('0xd67')][_0x43f3bf]['type'],'msg':_0x14a599['data'][_0x477d('0xd67')][_0x43f3bf]['message']});}}else{_0x13dcdc[_0x477d('0x44a')]({'title':_0x14a599[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x14a599[_0x477d('0x3c3')]+'\x20-\x20'+_0x14a599[_0x477d('0x44d')]:_0x477d('0x1783'),'msg':_0x14a599[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x14a599[_0x477d('0x451')]['message']):_0x14a599[_0x477d('0x453')]()});}});}function _0x59adc0(_0x4cbd6e,_0x2202ce){var _0x476762=_0x5aa006['user']['voicePause']||_0x5aa006[_0x477d('0x380')][_0x477d('0x13d0')]||_0x5aa006[_0x477d('0x380')]['mailPause']||_0x5aa006[_0x477d('0x380')][_0x477d('0x13d1')]||_0x5aa006[_0x477d('0x380')]['faxPause'];var _0x45859d=!_0x2202ce['Account'][_0x477d('0x15a0')];_0x57290d[_0x477d('0x395')]({'controller':_0x477d('0x15a5'),'controllerAs':'vm','templateUrl':_0x477d('0x15a6'),'parent':angular['element'](_0x1b1309[_0x477d('0x399')]),'clickOutsideToClose':_0x45859d,'escapeToClose':_0x45859d,'onRemoving':function(_0x59b121,_0x3cae20){if(_0x5aa006[_0x477d('0x380')]&&_0x2202ce[_0x477d('0x15a4')][_0x477d('0x15a0')]&&!_0x476762){_0x5a7aa0[_0x477d('0x380')][_0x477d('0x15a7')]({'id':_0x5aa006['user']['id']})[_0x477d('0x38b')][_0x477d('0xf8')](function(_0x3bebae){console[_0x477d('0x44a')](_0x3bebae);});}},'locals':{'user':_0x5aa006[_0x477d('0x380')],'channel':_0x477d('0x22a'),'interaction':_0x2202ce}});}function _0x3a38a9(_0x1782ea){if(_0x1782ea[_0x477d('0x627')]){_0x1782ea[_0x477d('0x1371')]=_0x1782ea[_0x477d('0x627')];}else if(_0x1782ea[_0x477d('0x1370')]){_0x1782ea['contactName']=(_0x1782ea[_0x477d('0x1370')]['firstName']||'')+'\x20'+(_0x1782ea[_0x477d('0x1370')]['lastName']||'');}else{_0x1782ea[_0x477d('0x1371')]=_0x5a202e[_0x477d('0x45f')](_0x477d('0x1372'));}}function _0x546a32(_0x336eaf){if(_0x336eaf[_0x477d('0x125b')]){if(_0x336eaf[_0x477d('0x125b')]===_0x5aa006['user']['id']){return _0x5a202e[_0x477d('0x45f')](_0x477d('0x1373'));}else{return _0x336eaf[_0x477d('0x1374')][_0x477d('0xcd')]+'\x20<'+_0x336eaf['Owner'][_0x477d('0x324')]+'>';}}return _0x5a202e[_0x477d('0x45f')]('DASHBOARDS.NOT_ASSIGNED');}function _0x5da8ec(_0x4f13bc){if(_0x4f13bc[_0x477d('0x15a4')]){return _0x4f13bc[_0x477d('0x15a4')]['key'];}return _0x5a202e[_0x477d('0x45f')]('DASHBOARDS.UNKNOWN');}function _0x42fd54(_0x492671,_0xcccf21){if(_0xcccf21[_0x477d('0x1364')]){_0xcccf21[_0x477d('0x1364')]['isDraft']=!![];showMailInteraction(null,_0xcccf21[_0x477d('0x1364')]);}else{_0x57290d[_0x477d('0x395')]({'controller':'ComposeOpenchannelInteractionDialogController','controllerAs':'vm','templateUrl':_0x477d('0x178b'),'parent':angular['element'](_0x1b1309[_0x477d('0x399')]),'clickOutsideToClose':![],'locals':{'account':_0xcccf21[_0x477d('0x15e5')],'message':_0xcccf21['content'],'type':'draft','interaction':{}},'fullscreen':!![]})[_0x477d('0x76')](function(_0x334d41){if(_0x334d41){if(_0x334d41[_0x477d('0x452')]&&_0x334d41[_0x477d('0x452')][_0x477d('0x175e')]){var _0x4324c9={'id':_0xcccf21['id'],'channel':_0x477d('0x22a'),'account':_0x334d41[_0x477d('0x15e5')],'message':_0x334d41[_0x477d('0x452')]};_0x27a8cf[_0x477d('0x710')](_0x4324c9);}else{var _0x2246fe=_0x334d41;return _0x5a7aa0['openchannelAccount']['send']({'id':_0xcccf21['account']['id']},_0x2246fe)['$promise'][_0x477d('0x76')](function(_0x3a084b){_0x13dcdc[_0x477d('0x485')]({'title':_0x477d('0x161c'),'msg':_0x477d('0x161d')});_0x588209[_0x477d('0x723')]['vm'][_0x477d('0x1588')]('openchannel',_0x3a084b);})[_0x477d('0xf8')](function(_0x5b5df7){if(_0x5b5df7['data']&&_0x5b5df7['data'][_0x477d('0xd67')]&&_0x5b5df7[_0x477d('0x451')]['errors'][_0x477d('0x79')]){for(var _0x11ff01=0x0;_0x11ff01<_0x5b5df7['data'][_0x477d('0xd67')][_0x477d('0x79')];_0x11ff01++){_0x13dcdc[_0x477d('0x44a')]({'title':_0x5b5df7['data'][_0x477d('0xd67')][_0x11ff01][_0x477d('0x439')],'msg':_0x5b5df7[_0x477d('0x451')][_0x477d('0xd67')][_0x11ff01][_0x477d('0x452')]});}}else{_0x13dcdc[_0x477d('0x44a')]({'title':_0x5b5df7[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x5b5df7[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x5b5df7[_0x477d('0x44d')]:_0x477d('0x178c'),'msg':_0x5b5df7[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x5b5df7[_0x477d('0x451')][_0x477d('0x452')]):_0x5b5df7[_0x477d('0x452')]||_0x5b5df7[_0x477d('0x453')]()});}});}}});}}function _0x1b7c4a(_0x472fd1,_0x30dd55){_0x57290d[_0x477d('0x395')]({'controller':_0x477d('0x178d'),'controllerAs':'vm','templateUrl':'app/main/apps/dashboards/views/general/agent/interaction/composeOpenchannel/dialog.html','parent':angular[_0x477d('0x398')](_0x1b1309[_0x477d('0x399')]),'clickOutsideToClose':![],'locals':{'account':_0x30dd55,'message':{},'type':_0x477d('0x1619'),'interaction':{}},'fullscreen':!![]})['then'](function(_0xfa62e7){if(_0xfa62e7){if(_0xfa62e7[_0x477d('0x452')]&&_0xfa62e7[_0x477d('0x452')][_0x477d('0x175e')]){var _0x2e5036={'channel':_0x477d('0x22a'),'account':_0x30dd55,'message':_0xfa62e7[_0x477d('0x452')],'contact':_0xfa62e7[_0x477d('0x100')]};_0x27a8cf[_0x477d('0x440')](_0x2e5036);}else{var _0x461ebe=_0xfa62e7;return _0x5a7aa0[_0x477d('0xb16')][_0x477d('0xa08')]({'id':_0x30dd55['id']},_0x461ebe)[_0x477d('0x38b')][_0x477d('0x76')](function(_0x3c4d56){_0x13dcdc[_0x477d('0x485')]({'title':'Message\x20properly\x20sent!','msg':_0x477d('0x161d')});_0x588209[_0x477d('0x723')]['vm'][_0x477d('0x1588')](_0x477d('0x22a'),_0x3c4d56);})[_0x477d('0xf8')](function(_0x33e9b7){if(_0x33e9b7[_0x477d('0x451')]&&_0x33e9b7['data'][_0x477d('0xd67')]&&_0x33e9b7['data'][_0x477d('0xd67')][_0x477d('0x79')]){for(var _0x1c2596=0x0;_0x1c2596<_0x33e9b7[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x1c2596++){_0x13dcdc['error']({'title':_0x33e9b7['data'][_0x477d('0xd67')][_0x1c2596][_0x477d('0x439')],'msg':_0x33e9b7['data']['errors'][_0x1c2596][_0x477d('0x452')]});}}else{_0x13dcdc[_0x477d('0x44a')]({'title':_0x33e9b7[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x33e9b7[_0x477d('0x3c3')]+'\x20-\x20'+_0x33e9b7[_0x477d('0x44d')]:_0x477d('0x178c'),'msg':_0x33e9b7[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x33e9b7['data'][_0x477d('0x452')]):_0x33e9b7['message']||_0x33e9b7['toString']()});}});}}});}function _0x344af3(_0x2e886a){var _0x891db0;var _0xddb4c0=_[_0x477d('0x10a')](_0x5aa006[_0x477d('0x177f')][_0x477d('0xf2')],{'id':_0x2e886a['OpenchannelInteractionId']});if(_0xddb4c0&&_0xddb4c0[_0x477d('0xdf4')]){_0x891db0=_['find'](_0xddb4c0[_0x477d('0xdf4')],{'id':_0x2e886a[_0x477d('0x125b')]});if(!_0x891db0){_0xddb4c0['Users'][_0x477d('0x3a7')]({'id':_0x2e886a[_0x477d('0x125b')]});}}}function _0x338691(_0x8ce9ff){var _0x27cec5=_[_0x477d('0x10a')](_0x5aa006['openchannelInteractions']['rows'],{'id':_0x8ce9ff[_0x477d('0x178e')]});if(_0x27cec5&&_0x27cec5[_0x477d('0xdf4')]){_[_0x477d('0x39c')](_0x27cec5[_0x477d('0xdf4')],{'id':_0x8ce9ff[_0x477d('0x125b')]});}}function _0x18ec29(_0x12b752){if(_0x12b752){var _0x5621df=_['find'](_0x5aa006[_0x477d('0x177f')][_0x477d('0xf2')],{'id':_0x12b752['id']});if(_0x5621df){_0x5621df[_0x477d('0xdf4')]=[];if(_0x12b752[_0x477d('0x1351')]){_0x5621df['unreadMessages']=0x0;}if(_0x5aa006[_0x477d('0x3ef')][_0x477d('0x568')]){var _0x263950=_[_0x477d('0x1337')](_0x5aa006[_0x477d('0x3ef')]['sort'],'-')?_0x477d('0x13ff'):'asc';_0x5aa006[_0x477d('0x177f')][_0x477d('0xf2')]=_[_0x477d('0x1401')](_0x5aa006['openchannelInteractions'][_0x477d('0xf2')],_[_0x477d('0x178f')](_0x5aa006[_0x477d('0x3ef')][_0x477d('0x568')],'-'),_0x263950);}_['merge'](_0x5621df,_[_0x477d('0x10b')](_0x12b752,_['keys'](_0x5621df)));}else{_0x13d484(_0x5aa006[_0x477d('0x3ef')][_0x477d('0xe03')]);}}}function _0x14accc(_0xd71628){if(_0xd71628){var _0x5cdcd7=_[_0x477d('0x10a')](_0x5aa006[_0x477d('0x177f')][_0x477d('0xf2')],{'id':_0xd71628['id']});if(_0x5cdcd7){_0x5cdcd7[_0x477d('0x102')]=_0xd71628[_0x477d('0x1263')]||[];_[_0x477d('0xef')](_0x5cdcd7,_[_0x477d('0x10b')](_0xd71628,_[_0x477d('0x7f')](_0x5cdcd7)));}}}function _0x524722(_0x37957a){if(_0x37957a&&!_0x37957a[_0x477d('0x1778')]){var _0x5619bf=_['find'](_0x5aa006[_0x477d('0x177f')][_0x477d('0xf2')],{'id':_0x37957a['OpenchannelInteractionId']});if(_0x5619bf){var _0x121940=_['find'](_0x5619bf[_0x477d('0x134c')],{'id':_0x37957a['id']});if(_0x121940){_[_0x477d('0xef')](_0x121940,_[_0x477d('0x10b')](_0x37957a,_[_0x477d('0x7f')](_0x121940)));}else{if(_[_0x477d('0x484')](_0x5619bf[_0x477d('0x134c')])){_0x5619bf[_0x477d('0x134c')]={'count':0x0};}if(!_0x37957a[_0x477d('0x134d')]){_0x5619bf['Messages']['count']+=0x1;}}}}}function _0x136e9f(){_0x5aa006[_0x477d('0x1664')]=![];}function _0x570793(){_0x5aa006[_0x477d('0x1664')]=!![];}function _0x11cb9d(){_0x5aa006[_0x477d('0x1664')]=![];_0x57290d[_0x477d('0x395')]({'controller':_0x477d('0x3e4'),'controllerAs':'vm','templateUrl':_0x477d('0x1362'),'parent':angular[_0x477d('0x398')](_0x1b1309[_0x477d('0x399')]),'clickOutsideToClose':![],'locals':{'color':_0x5aa006[_0x477d('0x167f')],'fields':_0x5aa006[_0x477d('0x3eb')][_0x477d('0x458')],'storagePath':_0x477d('0x1790')},'fullscreen':!![]})[_0x477d('0x76')](function(_0x45b21d){_0x5aa006[_0x477d('0x3ef')]['search']=_0x45b21d===![]?undefined:_0x45b21d;if(_0x5aa006[_0x477d('0x3ef')][_0x477d('0x3fd')]||_0x45b21d===![])_0x13d484();})[_0x477d('0xf8')](function(_0x9dc946){_0x13dcdc[_0x477d('0x44a')]({'title':_0x477d('0x16a5'),'msg':_0x9dc946[_0x477d('0x451')]?JSON['stringify'](_0x9dc946[_0x477d('0x451')]['message']):_0x9dc946[_0x477d('0x453')]()});});}var _0x3a058b=!![];var _0x24bfa1=0x1;_0x588209[_0x477d('0x4b5')](_0x477d('0xd98'),function(_0x55b368,_0xec9aac){if(_0x3a058b){_0x81a53a(function(){_0x3a058b=![];});}else{if(!_0xec9aac){_0x24bfa1=_0x5aa006[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x55b368!==_0xec9aac){_0x5aa006['query']['page']=0x1;}if(!_0x55b368){_0x5aa006[_0x477d('0x3ef')][_0x477d('0xe03')]=_0x24bfa1;}_0x13d484(_0x5aa006[_0x477d('0x3ef')][_0x477d('0xe03')]);}});_0x588209[_0x477d('0x4ec')](_0x477d('0x505'),function(){_0x2db558[_0x477d('0x6b8')](_0x477d('0x1791'));_0x2db558[_0x477d('0x6b8')]('openchannelMessage:update');_0x2db558[_0x477d('0x6b8')](_0x477d('0x1787'));_0x2db558[_0x477d('0x6b8')](_0x477d('0x1792'));_0x2db558['removeAllListeners'](_0x477d('0x1793'));_0x2db558['removeAllListeners'](_0x477d('0x1789'));_0x2db558[_0x477d('0x6b8')](_0x477d('0x1794'));});}}());(function(){'use strict';_0x4cc369['$inject']=[_0x477d('0x475'),'$scope','$timeout','$mdDialog',_0x477d('0x72'),_0x477d('0x91f'),'Auth',_0x477d('0x386'),_0x477d('0x387')];angular[_0x477d('0xb')](_0x477d('0x2c'))[_0x477d('0x3ba')](_0x477d('0x1795'),_0x4cc369);function _0x4cc369(_0x554769,_0x12ed74,_0x53558a,_0x3f97cd,_0x39deef,_0x60dd79,_0x402eea,_0x54533c,_0x26c122){var _0x2cbac6=this;_0x2cbac6[_0x477d('0x3e5')]=_0x402eea[_0x477d('0x5c')]();_0x2cbac6['plugin']={};_0x2cbac6[_0x477d('0x71a')]=_0x465dca;_0x2cbac6[_0x477d('0x921')]=_0x131232;_0x465dca();function _0x465dca(_0x12b069,_0x1b7c79,_0x525795){_0x2cbac6[_0x477d('0x613')]=_0x12b069;_0x2cbac6['setting']=_0x1b7c79;_0x2cbac6[_0x477d('0xcba')]=_0x525795;}function _0x131232(){return _0x60dd79[_0x477d('0x922')](_0x2cbac6[_0x477d('0xcba')][_0x477d('0x1796')]);}_0x12ed74[_0x477d('0x4ec')](_0x477d('0x1797'),function(_0x32fbd7,_0x4c3fe8){_0x2cbac6[_0x477d('0xcba')]=_0x4c3fe8['plugin'];});}}());(function(){'use strict';_0x3f119e['$inject']=['$scope',_0x477d('0x387'),_0x477d('0x3fe'),'api',_0x477d('0x40e'),_0x477d('0x55')];angular[_0x477d('0xb')](_0x477d('0x2c'))[_0x477d('0x3ba')](_0x477d('0x1798'),_0x3f119e);function _0x3f119e(_0x582e04,_0x1b5c21,_0x2e55c4,_0x32682d,_0x423324,_0x3cd888){var _0x34b07d=this;_0x34b07d[_0x477d('0x3e5')]=_0x3cd888[_0x477d('0x5c')]();_0x34b07d['voiceRecordings']={};_0x34b07d['table']=_0x477d('0x1799');_0x34b07d[_0x477d('0x3ef')]={'UserId':_0x34b07d[_0x477d('0x3e5')]['id'],'fields':_0x477d('0x179a'),'sort':_0x477d('0x59'),'limit':0xa,'page':0x1,'type':null};_0x34b07d['downloadfile']=_0x46a9d1;_0x34b07d[_0x477d('0x179b')]=_0x3f5143;_0x34b07d[_0x477d('0x485')]=_0x128605;_0x34b07d[_0x477d('0x179c')]=_0x4933d1;_0x34b07d[_0x477d('0x71a')]=_0x33ec13;_0x34b07d['onSearchBarCollapse']=_0x36495c;_0x34b07d[_0x477d('0x165d')]=_0x1b1690;function _0x33ec13(){_0x34b07d[_0x477d('0x1349')]=_0x4c8d1b();var _0x432ce5=_0x1b5c21[_0x477d('0x39d')][_0x477d('0x3f8')]('motion2.home.recordings:'+_0x34b07d[_0x477d('0x3e5')]['id']);if(_0x432ce5){try{_0x432ce5=JSON[_0x477d('0x77')](_0x432ce5);if(_0x432ce5[_0x477d('0x3ef')]){_0x34b07d[_0x477d('0x3ef')]=_[_0x477d('0x3fc')](_0x432ce5[_0x477d('0x3ef')],[_0x477d('0x3b3'),'id']);_0x34b07d[_0x477d('0x3ef')]['fields']=_0x477d('0x179d');_0x34b07d['query'][_0x477d('0x125b')]=_0x34b07d[_0x477d('0x3e5')]['id'];}}catch(_0x8b77e5){console[_0x477d('0x44a')](_0x8b77e5);}}else{var _0x2e64cd={'$gte':moment()[_0x477d('0x12d')](_0x477d('0x6fd'))[_0x477d('0x12e')](0x0,!![])['format'](),'$lte':moment()['endOf']('month')[_0x477d('0x12e')](0x0,!![])[_0x477d('0x12f')]()};_0x34b07d[_0x477d('0x3ef')][_0x477d('0xe37')]=_0x2e64cd;}_0x34b07d[_0x477d('0x1664')]=_0x34b07d[_0x477d('0x3ef')][_0x477d('0x3b3')]?!![]:![];_0x34b07d[_0x477d('0x179c')]();}function _0x46a9d1(_0x37581d,_0x4f0d9e){return _0x32682d['voiceRecording'][_0x477d('0x49d')]({'id':_0x37581d['id'],'exists':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x58e98e){var _0x1cceea=[_0x58e98e[_0x477d('0x49e')]];var _0x3b0893=new Blob(_0x1cceea,{'type':_0x58e98e['type']});var _0x573dea=window[_0x477d('0x945')][_0x477d('0x3c7')]('a');_0x573dea[_0x477d('0x494')]('href',URL[_0x477d('0x49f')](_0x3b0893));_0x573dea[_0x477d('0x494')]('download',_0x37581d[_0x477d('0x648')]+_0x37581d[_0x477d('0x12f')]);_0x573dea[_0x477d('0x540')]();})['catch'](function(_0x26ee44){_0x423324[_0x477d('0x44a')]({'title':_0x26ee44[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x26ee44[_0x477d('0x3c3')]+'\x20-\x20'+_0x26ee44[_0x477d('0x44d')]:_0x477d('0x179e'),'msg':_0x26ee44[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x26ee44[_0x477d('0x451')]):_0x26ee44[_0x477d('0x453')]()});});}function _0x3f5143(_0x3f12eb,_0x1b2bfd){return _0x32682d[_0x477d('0xa81')][_0x477d('0x179f')]({'id':_0x3f12eb['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x40c098){var _0x173981=[_0x40c098['buffer']];var _0x5c51d4=_0x477d('0x49d');var _0x31ea65=new Blob(_0x173981,{'type':_0x40c098['type']});_0x5c51d4=_0x3f12eb[_0x477d('0x648')];var _0x1eac1f=window[_0x477d('0x945')][_0x477d('0x3c7')]('a');_0x1eac1f['setAttribute'](_0x477d('0x3c8'),URL[_0x477d('0x49f')](_0x31ea65));_0x1eac1f['setAttribute'](_0x477d('0x49d'),_0x5c51d4);document[_0x477d('0x399')][_0x477d('0xd8f')](_0x1eac1f);_0x1eac1f['click']();})[_0x477d('0xf8')](function(_0x2f5235){_0x423324[_0x477d('0x44a')]({'title':_0x2f5235[_0x477d('0x3c3')]?'API:'+_0x2f5235['status']+_0x477d('0x44c')+_0x2f5235['statusText']:_0x477d('0x179e'),'msg':_0x2f5235[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x2f5235[_0x477d('0x451')]):_0x2f5235[_0x477d('0x453')]()});});}function _0x4c8d1b(){return[{'name':_0x477d('0x134a'),'key':_0x477d('0xe37'),'type':'date','label':_0x477d('0x134b')},{'name':_0x477d('0x17a0'),'key':_0x477d('0x439'),'type':_0x477d('0x462'),'label':_0x477d('0x17a1'),'customOptions':[{'value':_0x477d('0x324'),'translate':_0x477d('0x17a2')},{'value':'inbound','translate':'VOICE.INBOUND'},{'value':'outbound','translate':_0x477d('0x17a3')},{'value':_0x477d('0x17a4'),'translate':_0x477d('0x17a5')},{'value':null,'translate':_0x477d('0x17a6')}]}];}function _0x128605(_0x14a2d4){_0x34b07d[_0x477d('0x1691')]=![];_0x34b07d[_0x477d('0x1799')]=_0x14a2d4||{'count':0x0,'rows':[]};}function _0x4933d1(){_0x34b07d[_0x477d('0x1691')]=!![];_0x34b07d[_0x477d('0x3ef')][_0x477d('0x91c')]=(_0x34b07d['query'][_0x477d('0xe03')]-0x1)*_0x34b07d[_0x477d('0x3ef')][_0x477d('0x91d')];var _0x2b9de2={'query':_0x34b07d[_0x477d('0x3ef')]};_0x1b5c21['localStorage'][_0x477d('0x3fa')](_0x477d('0x17a7')+_0x34b07d['currentUser']['id'],JSON[_0x477d('0x3fb')](_0x2b9de2));_0x34b07d[_0x477d('0x553')]=_0x32682d['voiceRecording'][_0x477d('0x376')](_0x34b07d[_0x477d('0x3ef')],_0x128605)[_0x477d('0x38b')];}function _0x36495c(){_0x34b07d[_0x477d('0x3ef')][_0x477d('0x3b3')]=undefined;_0x34b07d[_0x477d('0x1664')]=![];}function _0x1b1690(){_0x34b07d[_0x477d('0x1664')]=!![];}var _0x399d58=!![];var _0x3088fb=0x1;_0x582e04[_0x477d('0x4b5')](_0x477d('0xd98'),function(_0x1f644e,_0x4fdfe9){if(_0x399d58){_0x2e55c4(function(){_0x399d58=![];});}else{if(!_0x4fdfe9){_0x3088fb=_0x34b07d['query'][_0x477d('0xe03')];}if(_0x1f644e!==_0x4fdfe9){_0x34b07d[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0x1f644e){_0x34b07d[_0x477d('0x3ef')][_0x477d('0xe03')]=_0x3088fb;}_0x34b07d['getVoiceRecordings']();}});}}());(function(){'use strict';_0x284e52[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x387'),_0x477d('0x3fe'),_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x40e'),'api',_0x477d('0x55')];angular[_0x477d('0xb')]('app.dashboards')[_0x477d('0x3ba')](_0x477d('0x17a8'),_0x284e52);function _0x284e52(_0x4aa3f5,_0x2d4994,_0x431d5c,_0x47473e,_0x259d13,_0x832660,_0x2eab99,_0x3cf1b7){var _0x5c8fdb=this;_0x5c8fdb[_0x477d('0x3e5')]=_0x3cf1b7['getCurrentUser']();_0x5c8fdb[_0x477d('0x17a9')]=[_0x477d('0xf83'),_0x477d('0x17aa'),_0x477d('0xf82'),_0x477d('0x1499'),_0x477d('0xf81')];_0x5c8fdb[_0x477d('0xd66')]={'readOnly':![],'canEdit':!![],'canDelete':!![]};_0x5c8fdb[_0x477d('0x17ab')]={};_0x5c8fdb['query']={'id':_0x5c8fdb[_0x477d('0x3e5')]['id'],'fields':_0x477d('0x17ac'),'sort':'scheduledat','limit':0xa,'page':0x1};_0x5c8fdb[_0x477d('0x163d')]={'rows':[],'count':0x0};_0x5c8fdb[_0x477d('0x485')]=_0x5005c1;_0x5c8fdb['getScheduledCalls']=_0x1d7609;_0x5c8fdb[_0x477d('0x71a')]=_0x5b9876;_0x5c8fdb[_0x477d('0x17ad')]=_0x241f72;_0x5c8fdb['createOrEditQueueCampaignHopper']=_0x4fd60b;_0x5c8fdb['deleteConfirm']=_0xc702ee;function _0x5b9876(){_0x2eab99[_0x477d('0x380')][_0x477d('0x1418')]({'id':_0x3cf1b7['getCurrentUser']()['id'],'fields':'id,name','channel':'voice','type':_0x477d('0x127'),'nolimit':!![]})[_0x477d('0x38b')]['then'](function(_0x2db7c3){_0x5c8fdb[_0x477d('0x163d')]=_0x2db7c3||{'count':0x0,'rows':[]};})[_0x477d('0x76')](function(){_0x5c8fdb['quickFilters']=_0x438c57();})[_0x477d('0xf8')](function(_0x4078b2){console['error'](_0x4078b2);})[_0x477d('0x5ff')](function(){var _0x344349=_0x2d4994[_0x477d('0x39d')][_0x477d('0x3f8')](_0x477d('0x17ae')+_0x5c8fdb[_0x477d('0x3e5')]['id']);if(_0x344349){try{_0x344349=JSON[_0x477d('0x77')](_0x344349);if(_0x344349[_0x477d('0x3ef')]){_0x5c8fdb[_0x477d('0x3ef')]=_[_0x477d('0x3fc')](_0x344349['query'],[_0x477d('0x3b3')]);}}catch(_0x4be0cd){console[_0x477d('0x44a')](_0x4be0cd);}}else{var _0x3d6ed5={'$gte':moment()[_0x477d('0x12d')](_0x477d('0x6fd'))[_0x477d('0x12e')](0x0,!![])['format'](),'$lte':moment()[_0x477d('0x130')](_0x477d('0x6fd'))[_0x477d('0x12e')](0x0,!![])['format']()};_0x5c8fdb[_0x477d('0x3ef')][_0x477d('0xe37')]=_0x3d6ed5;}_0x5c8fdb['getScheduledCalls']();});}function _0x5005c1(_0x597bfd){_0x5c8fdb[_0x477d('0x1691')]=![];_0x5c8fdb['scheduledCalls']=_0x597bfd||{'count':0x0,'rows':[]};}function _0x438c57(){return[{'name':_0x477d('0x134a'),'key':'createdAt','type':_0x477d('0x420'),'label':_0x477d('0x134b')},{'name':_0x477d('0x17af'),'key':_0x477d('0x17b0'),'type':'multiselect','label':'MOTIONDIALER.SELECT_CAMPAIGN','options':_0x5c8fdb['queueCampaigns']['rows']}];}function _0x1d7609(){_0x5c8fdb['searchInProgress']=!![];_0x5c8fdb['query']['id']=_0x5c8fdb[_0x477d('0x3e5')]['id'];_0x5c8fdb[_0x477d('0x3ef')][_0x477d('0x168a')]=!![];_0x5c8fdb[_0x477d('0x3ef')][_0x477d('0x91c')]=(_0x5c8fdb['query'][_0x477d('0xe03')]-0x1)*_0x5c8fdb['query']['limit'];var _0x508ebd={'query':_0x5c8fdb[_0x477d('0x3ef')]};_0x2d4994[_0x477d('0x39d')][_0x477d('0x3fa')](_0x477d('0x17ae')+_0x5c8fdb['currentUser']['id'],JSON['stringify'](_0x508ebd));_0x5c8fdb[_0x477d('0x553')]=_0x2eab99['user'][_0x477d('0x17b1')](_0x5c8fdb[_0x477d('0x3ef')],_0x5005c1)[_0x477d('0x38b')];}function _0x4fd60b(_0x57b0fe,_0x2af9ac){_0x47473e[_0x477d('0x395')]({'controller':_0x477d('0x14bd'),'controllerAs':'vm','templateUrl':_0x477d('0x14be'),'parent':angular['element'](_0x259d13[_0x477d('0x399')]),'targetEvent':_0x57b0fe,'clickOutsideToClose':!![],'locals':{'queueCampaign':null,'hopper':_0x2af9ac,'hoppers':_0x5c8fdb['scheduledCalls'][_0x477d('0xf2')],'license':null,'setting':null,'crudPermissions':_0x5c8fdb[_0x477d('0xd66')]}});}function _0x3b2ac9(_0x4f3b96){_0x2eab99[_0x477d('0xb79')]['delete']({'id':_0x4f3b96['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x5c8fdb[_0x477d('0x17ab')][_0x477d('0xf2')],{'id':_0x4f3b96['id']});_0x5c8fdb[_0x477d('0x17ab')][_0x477d('0x3bb')]-=0x1;if(!_0x5c8fdb[_0x477d('0x17ab')][_0x477d('0xf2')][_0x477d('0x79')]){_0x5c8fdb[_0x477d('0x17b1')]();}_0x832660[_0x477d('0x485')]({'title':'Scheduled\x20call\x20deleted!','msg':_0x4f3b96['name']?_0x477d('0x17b2'):''});})[_0x477d('0xf8')](function(_0x51723e){if(_0x51723e[_0x477d('0x451')]&&_0x51723e[_0x477d('0x451')][_0x477d('0xd67')]&&_0x51723e[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x5c8fdb[_0x477d('0xd67')]=_0x51723e[_0x477d('0x451')]['errors']||[{'message':_0x51723e[_0x477d('0x453')](),'type':'SYSTEM:DELETE_HOPPER'}];for(var _0x13d776=0x0;_0x13d776<_0x51723e['data'][_0x477d('0xd67')][_0x477d('0x79')];_0x13d776++){_0x832660['error']({'title':_0x51723e[_0x477d('0x451')][_0x477d('0xd67')][_0x13d776][_0x477d('0x439')],'msg':_0x51723e[_0x477d('0x451')][_0x477d('0xd67')][_0x13d776][_0x477d('0x452')]});}}else{_0x832660[_0x477d('0x44a')]({'title':_0x51723e['status']?'API:'+_0x51723e['status']+_0x477d('0x44c')+_0x51723e[_0x477d('0x44d')]:'SYSTEM:DELETE_HOPPER','msg':_0x51723e['data']?JSON[_0x477d('0x3fb')](_0x51723e[_0x477d('0x451')][_0x477d('0x452')]):_0x51723e[_0x477d('0x452')]||_0x51723e[_0x477d('0x453')]()});}});}function _0xc702ee(_0x3dd9d8,_0x19e002){var _0xb83440=_0x47473e[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x17b3'))['htmlContent'](_0x477d('0x17b4')+'\x20will\x20be\x20deleted.')['ariaLabel'](_0x477d('0x17b5'))[_0x477d('0xd7c')](_0x19e002)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x47473e[_0x477d('0x395')](_0xb83440)['then'](function(){_0x3b2ac9(_0x3dd9d8);},function(){console['log'](_0x477d('0xd97'));});}function _0x241f72(_0x3f8681){return moment(_0x3f8681)['isBefore'](moment());}var _0x165a1f=!![];var _0x364c85=0x1;_0x4aa3f5['$watch']('vm.query.filter',function(_0x3e2555,_0x5d6f3f){if(_0x165a1f){_0x431d5c(function(){_0x165a1f=![];});}else{if(!_0x5d6f3f){_0x364c85=_0x5c8fdb[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x3e2555!==_0x5d6f3f){_0x5c8fdb[_0x477d('0x3ef')]['page']=0x1;}if(!_0x3e2555){_0x5c8fdb[_0x477d('0x3ef')]['page']=_0x364c85;}_0x5c8fdb[_0x477d('0x17b1')]();}});}}());(function(){'use strict';_0x42cac1[_0x477d('0xa')]=['$scope',_0x477d('0x3fe'),_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x387'),_0x477d('0x40d'),'api',_0x477d('0x55'),'socket',_0x477d('0x40e'),_0x477d('0x157e')];angular[_0x477d('0xb')](_0x477d('0x2c'))[_0x477d('0x3ba')](_0x477d('0x17b6'),_0x42cac1);function _0x42cac1(_0x212144,_0x1f36e3,_0x5b868d,_0xcd5c41,_0x29fa73,_0x375d72,_0x3511f1,_0x4830e6,_0x3701b4,_0x276d7e,_0xcd27c){var _0x2ece05=this;_0x2ece05[_0x477d('0x380')]=_0x4830e6[_0x477d('0x5c')]();_0x2ece05[_0x477d('0x613')]={};_0x2ece05[_0x477d('0xc8e')]={};_0x2ece05['tags']={'count':0x0,'rows':[]};_0x2ece05[_0x477d('0x17b7')]={'count':0x0,'rows':[]};_0x2ece05[_0x477d('0x3ef')]={'includeAll':!![],'sort':'-updatedAt','limit':0xa,'page':0x1,'read':null,'closed':null};_0x2ece05[_0x477d('0x3eb')]={'fields':[{'name':'Id','column':'id','type':_0x477d('0x421')},{'name':_0x477d('0x1370'),'column':_0x477d('0x1370'),'type':_0x477d('0x443'),'options':{'searchFields':['firstName',_0x477d('0x1358'),_0x477d('0x1359')],'route':{'model':_0x477d('0xb6c'),'action':_0x477d('0x376'),'params':{'fields':_0x477d('0x1677'),'Contact':'@autocomplete','nolimit':!![]}},'extraOperators':[_0x477d('0x135a')],'excludedOperators':[_0x477d('0x414')]}},{'name':'Body','column':_0x477d('0x399'),'type':_0x477d('0x41b'),'options':{'excludedOperators':[_0x477d('0x412'),_0x477d('0x414')]}},{'name':'Status','column':'closed','type':_0x477d('0x462'),'values':[{'id':0x0,'translate':_0x477d('0x135f')},{'id':0x1,'translate':_0x477d('0x1352')}],'options':{'excludedOperators':[_0x477d('0x414')]}},{'name':_0x477d('0x125d'),'column':_0x477d('0x167b'),'type':_0x477d('0x443'),'options':{'table':'i','route':{'model':_0x477d('0x380'),'action':_0x477d('0x376'),'params':{'role':_0x477d('0xcf'),'fields':_0x477d('0x1360'),'nolimit':!![]}},'searchFields':[_0x477d('0xcd'),_0x477d('0x94')],'extraOperators':[_0x477d('0x135a')],'excludedOperators':[_0x477d('0x414')]}},{'name':'Account','column':_0x477d('0x160e'),'type':_0x477d('0x413'),'options':{'route':{'model':'user','action':_0x477d('0x1605'),'params':{'id':_0x2ece05[_0x477d('0x380')]['id'],'nolimit':!![]}}}},{'name':_0x477d('0x102'),'column':_0x477d('0x1264'),'type':_0x477d('0x413'),'options':{'route':{'model':_0x477d('0xbb0'),'action':'get','params':{'nolimit':!![]}},'excludedOperators':['$notIn']}},{'name':_0x477d('0x134a'),'column':'createdAt','type':_0x477d('0x420'),'options':{'excludedOperators':['$ne']}},{'name':_0x477d('0x1361'),'column':_0x477d('0x167d'),'type':'select','values':[{'id':0x1,'translate':'DASHBOARDS.READ'},{'id':0x0,'translate':_0x477d('0x167e')}],'options':{'excludedOperators':['$ne']}}]};_0x2ece05[_0x477d('0x167f')]=_0x477d('0x14b2');_0x2ece05[_0x477d('0x71a')]=_0x52244b;_0x2ece05[_0x477d('0x485')]=_0x29b45e;_0x2ece05[_0x477d('0x17b8')]=_0x50f992;_0x2ece05['showSmsInteraction']=_0x35319a;_0x2ece05[_0x477d('0x17b9')]=_0x208fba;_0x2ece05[_0x477d('0x1683')]=_0x2e9350;_0x2ece05[_0x477d('0x1684')]=_0x3ab58f;_0x2ece05[_0x477d('0x1750')]=_0x293280;_0x2ece05['getSmsAccountLabel']=_0x4c3290;_0x2ece05['composeSmsInteraction']=_0x17fd6d;_0x2ece05[_0x477d('0x165c')]=_0x55581e;_0x2ece05[_0x477d('0x165d')]=_0x4f9e00;_0x2ece05[_0x477d('0x1686')]=_0x4da691;_0x212144['$on'](_0x477d('0x17ba'),_0x44c950);function _0x52244b(_0x4c5392,_0x3361d5){_0x2ece05[_0x477d('0x613')]=_0x4c5392;_0x2ece05['setting']=_0x3361d5;return _0x3511f1[_0x477d('0x380')]['get'+_[_0x477d('0x1367')](_0x477d('0xf38'))]({'id':_0x2ece05[_0x477d('0x380')]['id'],'nolimit':!![]})[_0x477d('0x38b')]['then'](function(_0x3894d5){_0x2ece05[_0x477d('0xf38')]=_0x3894d5||{'count':0x0,'rows':[]};return _0x3511f1[_0x477d('0xbb0')][_0x477d('0x376')]()[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x2c2460){_0x2ece05[_0x477d('0x1263')]=_0x2c2460||{'count':0x0,'rows':[]};})[_0x477d('0x76')](function(){_0x2ece05[_0x477d('0x1349')]=_0x12513a();})[_0x477d('0xf8')](function(_0x3a9a0d){console[_0x477d('0x44a')](_0x3a9a0d);})[_0x477d('0x5ff')](function(){var _0x1f1d0f=_0x29fa73['localStorage']['getItem'](_0x477d('0x17bb')+_0x2ece05[_0x477d('0x380')]['id']);if(_0x1f1d0f){try{_0x1f1d0f=JSON[_0x477d('0x77')](_0x1f1d0f);if(_0x1f1d0f[_0x477d('0x3ef')]){_0x2ece05['query']=_[_0x477d('0xef')](_0x2ece05[_0x477d('0x3ef')],_0x1f1d0f[_0x477d('0x3ef')]);if(_[_0x477d('0x3b2')](_0x2ece05[_0x477d('0xf38')]['rows'])){_0x2ece05['query'][_0x477d('0x160e')]=[];}else if(_[_0x477d('0x3b2')](_0x2ece05[_0x477d('0x3ef')][_0x477d('0x160e')])){_0x2ece05['query'][_0x477d('0x160e')]=_(_0x2ece05[_0x477d('0xf38')][_0x477d('0xf2')])[_0x477d('0x3cb')]('id')[_0x477d('0x1688')]()['value']();}if(_0x2ece05[_0x477d('0x3ef')][_0x477d('0x568')]&&_0x2ece05[_0x477d('0x3ef')][_0x477d('0x568')][_0x477d('0x477')](_0x477d('0x1689'))>=0x0){_0x2ece05[_0x477d('0x3ef')]=_[_0x477d('0x3fc')](_0x2ece05[_0x477d('0x3ef')],_0x477d('0x568'));}_0x2ece05[_0x477d('0x3ef')][_0x477d('0x168a')]=!![];_0x2ece05['isSearchBarVisible']=_0x2ece05[_0x477d('0x3ef')][_0x477d('0x3b3')]?!![]:![];}}catch(_0x3402ee){console[_0x477d('0x44a')](_0x3402ee);}}else{var _0x5bd26f={'$gte':moment()[_0x477d('0x12d')](_0x477d('0x6fd'))[_0x477d('0x12e')](0x0,!![])[_0x477d('0x12f')](),'$lte':moment()[_0x477d('0x130')](_0x477d('0x6fd'))[_0x477d('0x12e')](0x0,!![])[_0x477d('0x12f')]()};var _0x2df819={'SmsAccountId':_[_0x477d('0x3cb')](_0x2ece05['smsAccounts'][_0x477d('0xf2')],'id'),'createdAt':_0x5bd26f};_0x2ece05[_0x477d('0x3ef')]=_[_0x477d('0xef')](_0x2ece05[_0x477d('0x3ef')],_0x2df819);}_0x3701b4['on'](_0x477d('0x17bc'),_0x316910);_0x3701b4['on'](_0x477d('0x17bd'),_0x316910);_0x3701b4['on'](_0x477d('0x17be'),_0x556369);_0x3701b4['on'](_0x477d('0x17bf'),_0x1d8784);_0x3701b4['on'](_0x477d('0x17c0'),_0x1d8784);_0x3701b4['on']('user_has_sms_interactions:save',_0x559aeb);_0x3701b4['on'](_0x477d('0x17c1'),_0x5d5324);_0x50f992(_0x2ece05[_0x477d('0x3ef')]['page']);});}function _0x12513a(){return[{'name':'Start\x20Date','key':_0x477d('0xe37'),'type':'date','label':_0x477d('0x134b')},{'name':_0x477d('0x134c'),'key':'read','type':_0x477d('0x462'),'label':_0x477d('0x134e'),'customOptions':[{'value':0x0,'translate':_0x477d('0x167e')},{'value':0x1,'translate':'DASHBOARDS.READ'},{'value':null,'translate':_0x477d('0x1350')}]},{'name':_0x477d('0x135e'),'key':_0x477d('0x1351'),'type':_0x477d('0x462'),'label':_0x477d('0x168f'),'customOptions':[{'value':0x0,'translate':_0x477d('0x135f')},{'value':0x1,'translate':'DASHBOARDS.CLOSED'},{'value':null,'translate':'DASHBOARDS.ALL'}]},{'name':_0x477d('0x15a4'),'key':_0x477d('0x160e'),'type':_0x477d('0x413'),'label':_0x477d('0x1690'),'options':_0x2ece05['smsAccounts'][_0x477d('0xf2')],'clearAll':![]},{'name':'Agent','key':_0x477d('0x125b'),'type':_0x477d('0x462'),'label':'DASHBOARDS.SELECT_AGENT','customOptions':[{'value':_0x2ece05['user']['id'],'translate':_0x477d('0x1373')},{'value':_0x477d('0xea'),'translate':_0x477d('0x1354')},{'value':undefined,'translate':_0x477d('0x1350')}]},{'name':_0x477d('0x1264'),'key':_0x477d('0xbb0'),'type':_0x477d('0x413'),'label':'DASHBOARDS.SELECT_TAG','options':_0x2ece05['tags']['rows'],'placeholder':_0x477d('0x1356')}];}function _0x29b45e(_0x38a323){_0x2ece05[_0x477d('0x1691')]=![];_0x2ece05['smsInteractions']=_0x38a323||{'count':0x0,'rows':[]};for(var _0x48426a=0x0;_0x48426a<_0x2ece05['smsInteractions'][_0x477d('0xf2')][_0x477d('0x79')];_0x48426a+=0x1){_0x3ab58f(_0x2ece05[_0x477d('0x17b7')]['rows'][_0x48426a]);}}function _0x50f992(_0x59a35f,_0x5a9382){_0x2ece05[_0x477d('0x1691')]=!![];if(!_0x59a35f){_0x2ece05['query'][_0x477d('0xe03')]=0x1;}_0x2ece05[_0x477d('0x3ef')][_0x477d('0x91c')]=(_0x2ece05[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x2ece05[_0x477d('0x3ef')][_0x477d('0x91d')];var _0x46a06e=_0x29fa73[_0x477d('0x39d')][_0x477d('0x3f8')](_0x477d('0x17bb')+_0x2ece05['user']['id']);_0x46a06e=_0x46a06e?JSON[_0x477d('0x77')](_0x46a06e):{};_0x46a06e[_0x477d('0x3ef')]=_0x2ece05[_0x477d('0x3ef')];_0x29fa73['localStorage'][_0x477d('0x3fa')](_0x477d('0x17bb')+_0x2ece05[_0x477d('0x380')]['id'],JSON[_0x477d('0x3fb')](_0x46a06e));_0x2ece05[_0x477d('0x553')]=_0x3511f1[_0x477d('0xe46')][_0x477d('0x376')](_0x2ece05[_0x477d('0x3ef')],_0x29b45e)[_0x477d('0x38b')];}function _0x35319a(_0x2be03b,_0x1ab496){_0x212144['$parent']['vm'][_0x477d('0x1588')](_0x477d('0x26e'),_0x1ab496);}function _0x208fba(_0x4b39e7,_0x248e86,_0xfb4ec){_0x3511f1[_0x477d('0xe46')][_0x477d('0x49d')]({'id':_0x248e86['id'],'attachments':_0xfb4ec})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x11293c){var _0x64c17a=[_0x11293c[_0x477d('0x49e')]];var _0xcdcab6=_0x477d('0x17c2')+_0x248e86['id']+'.zip';var _0xdebdd7=new Blob(_0x64c17a,{'type':_0x11293c['type']});var _0x7ae652=window[_0x477d('0x945')]['createElement']('a');_0x7ae652[_0x477d('0x494')](_0x477d('0x3c8'),URL[_0x477d('0x49f')](_0xdebdd7));_0x7ae652[_0x477d('0x494')](_0x477d('0x49d'),_0xcdcab6);document[_0x477d('0x399')][_0x477d('0xd8f')](_0x7ae652);_0x7ae652[_0x477d('0x540')]();})[_0x477d('0xf8')](function(_0x4ffa32){if(_0x4ffa32['data']&&_0x4ffa32[_0x477d('0x451')][_0x477d('0xd67')]&&_0x4ffa32[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){for(var _0xdfc3e=0x0;_0xdfc3e<_0x4ffa32['data'][_0x477d('0xd67')][_0x477d('0x79')];_0xdfc3e+=0x1){_0x276d7e['error']({'title':_0x4ffa32[_0x477d('0x451')][_0x477d('0xd67')][_0xdfc3e][_0x477d('0x439')],'msg':_0x4ffa32[_0x477d('0x451')][_0x477d('0xd67')][_0xdfc3e][_0x477d('0x452')]});}}else{_0x276d7e['error']({'title':_0x4ffa32[_0x477d('0x3c3')]?'API:'+_0x4ffa32['status']+_0x477d('0x44c')+_0x4ffa32[_0x477d('0x44d')]:_0x477d('0x17b9'),'msg':_0x4ffa32['data']?JSON['stringify'](_0x4ffa32[_0x477d('0x451')][_0x477d('0x452')]):_0x4ffa32['toString']()});}});}function _0x2e9350(_0x366781,_0x183e98){var _0x172a18=_0x2ece05[_0x477d('0x380')][_0x477d('0x624')]||_0x2ece05[_0x477d('0x380')][_0x477d('0x13d0')]||_0x2ece05['user'][_0x477d('0x13b9')]||_0x2ece05[_0x477d('0x380')][_0x477d('0x13d1')]||_0x2ece05[_0x477d('0x380')]['faxPause'];var _0x17d2b8=!_0x183e98[_0x477d('0x15a4')][_0x477d('0x15a0')];_0x5b868d['show']({'controller':'DisposeInteractionDialogController','controllerAs':'vm','templateUrl':'app/main/apps/dashboards/views/general/agent/interaction/dispose/dialog.html','parent':angular[_0x477d('0x398')](_0xcd5c41['body']),'clickOutsideToClose':_0x17d2b8,'escapeToClose':_0x17d2b8,'onRemoving':function(_0x4b05fd,_0x415941){if(_0x2ece05[_0x477d('0x380')]&&_0x183e98[_0x477d('0x15a4')][_0x477d('0x15a0')]&&!_0x172a18){_0x3511f1['user'][_0x477d('0x15a7')]({'id':_0x2ece05[_0x477d('0x380')]['id']})[_0x477d('0x38b')]['catch'](function(_0x34bfb7){console[_0x477d('0x44a')](_0x34bfb7);});}},'locals':{'user':_0x2ece05['user'],'channel':_0x477d('0x26e'),'interaction':_0x183e98}});}function _0x3ab58f(_0x1b12de){if(_0x1b12de['Contact']){_0x1b12de[_0x477d('0x1371')]=(_0x1b12de['Contact']['firstName']||'')+'\x20'+(_0x1b12de['Contact'][_0x477d('0x1358')]||'');_0x1b12de['contactInfo']=_0x1b12de[_0x477d('0x1370')][_0x477d('0x991')];}else{_0x1b12de[_0x477d('0x1371')]=_0x375d72[_0x477d('0x45f')]('DASHBOARDS.UNKNOWN');}}function _0x293280(_0xf18a7f){if(_0xf18a7f['UserId']){if(_0xf18a7f[_0x477d('0x125b')]===_0x2ece05[_0x477d('0x380')]['id']){return _0x375d72[_0x477d('0x45f')](_0x477d('0x1373'));}else{return _0xf18a7f[_0x477d('0x1374')][_0x477d('0xcd')]+'\x20<'+_0xf18a7f[_0x477d('0x1374')][_0x477d('0x324')]+'>';}}return _0x375d72[_0x477d('0x45f')](_0x477d('0x1354'));}function _0x4c3290(_0xff632e){if(_0xff632e['Account']){return _0xff632e[_0x477d('0x15a4')]['key'];}return _0x375d72['instant'](_0x477d('0x1372'));}function _0x44c950(_0x2c5013,_0x111ba1){if(_0x111ba1[_0x477d('0x1364')]){_0x111ba1[_0x477d('0x1364')][_0x477d('0x15b9')]=!![];showMailInteraction(null,_0x111ba1[_0x477d('0x1364')]);}else{_0x5b868d[_0x477d('0x395')]({'controller':_0x477d('0x17c3'),'controllerAs':'vm','templateUrl':'app/main/apps/dashboards/views/general/agent/interaction/composeSms/dialog.html','parent':angular[_0x477d('0x398')](_0xcd5c41[_0x477d('0x399')]),'clickOutsideToClose':![],'locals':{'account':_0x111ba1[_0x477d('0x15e5')],'message':_0x111ba1[_0x477d('0xdaf')],'type':_0x477d('0x15e4'),'interaction':{}},'fullscreen':!![]})[_0x477d('0x76')](function(_0x145aad){if(_0x145aad){if(_0x145aad['message']&&_0x145aad[_0x477d('0x452')][_0x477d('0x175e')]){var _0x221ffa={'id':_0x111ba1['id'],'channel':_0x477d('0x26e'),'account':_0x145aad[_0x477d('0x15e5')],'message':_0x145aad[_0x477d('0x452')]};_0xcd27c[_0x477d('0x710')](_0x221ffa);}else{var _0x7c66ec=_0x145aad;return _0x3511f1['smsAccount'][_0x477d('0xa08')]({'id':_0x111ba1[_0x477d('0x15e5')]['id']},_0x7c66ec)[_0x477d('0x38b')]['then'](function(_0x300d40){_0x276d7e['success']({'title':_0x477d('0x161c'),'msg':_0x477d('0x161d')});_0x212144[_0x477d('0x723')]['vm'][_0x477d('0x1588')](_0x477d('0x26e'),_0x300d40);})[_0x477d('0xf8')](function(_0x57eae2){if(_0x57eae2[_0x477d('0x451')]&&_0x57eae2['data'][_0x477d('0xd67')]&&_0x57eae2['data']['errors'][_0x477d('0x79')]){for(var _0x53dedd=0x0;_0x53dedd<_0x57eae2[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x53dedd++){_0x276d7e[_0x477d('0x44a')]({'title':_0x57eae2[_0x477d('0x451')][_0x477d('0xd67')][_0x53dedd][_0x477d('0x439')],'msg':_0x57eae2[_0x477d('0x451')]['errors'][_0x53dedd][_0x477d('0x452')]});}}else{_0x276d7e[_0x477d('0x44a')]({'title':_0x57eae2[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x57eae2[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x57eae2[_0x477d('0x44d')]:_0x477d('0x17c4'),'msg':_0x57eae2[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x57eae2['data']['message']):_0x57eae2['message']||_0x57eae2[_0x477d('0x453')]()});}});}}});}}function _0x17fd6d(_0x17b096,_0x53cf4d){_0x5b868d[_0x477d('0x395')]({'controller':_0x477d('0x17c3'),'controllerAs':'vm','templateUrl':_0x477d('0x17c5'),'parent':angular[_0x477d('0x398')](_0xcd5c41['body']),'clickOutsideToClose':![],'locals':{'account':_0x53cf4d,'message':{},'type':_0x477d('0x1619'),'interaction':{}},'fullscreen':!![]})[_0x477d('0x76')](function(_0x268032){if(_0x268032){if(_0x268032[_0x477d('0x452')]&&_0x268032['message']['savedAsDraft']){var _0xa94e5={'channel':_0x477d('0x26e'),'account':_0x53cf4d,'message':_0x268032[_0x477d('0x452')],'contact':_0x268032[_0x477d('0x100')]};_0xcd27c[_0x477d('0x440')](_0xa94e5);}else{var _0x5e7ae7=_0x268032;return _0x3511f1[_0x477d('0xe45')]['send']({'id':_0x53cf4d['id']},_0x5e7ae7)[_0x477d('0x38b')][_0x477d('0x76')](function(_0xb3530a){_0x276d7e['success']({'title':_0x477d('0x161c'),'msg':'Message\x20has\x20been\x20sent!'});_0x212144[_0x477d('0x723')]['vm'][_0x477d('0x1588')](_0x477d('0x26e'),_0xb3530a);})['catch'](function(_0x5c73f7){if(_0x5c73f7[_0x477d('0x451')]&&_0x5c73f7[_0x477d('0x451')]['errors']&&_0x5c73f7['data']['errors'][_0x477d('0x79')]){for(var _0x251414=0x0;_0x251414<_0x5c73f7[_0x477d('0x451')]['errors']['length'];_0x251414++){_0x276d7e['error']({'title':_0x5c73f7[_0x477d('0x451')][_0x477d('0xd67')][_0x251414][_0x477d('0x439')],'msg':_0x5c73f7[_0x477d('0x451')]['errors'][_0x251414][_0x477d('0x452')]});}}else{_0x276d7e[_0x477d('0x44a')]({'title':_0x5c73f7[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x5c73f7[_0x477d('0x3c3')]+'\x20-\x20'+_0x5c73f7[_0x477d('0x44d')]:_0x477d('0x17c4'),'msg':_0x5c73f7[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x5c73f7['data']['message']):_0x5c73f7['message']||_0x5c73f7['toString']()});}});}}});}function _0x559aeb(_0x25c197){var _0x25abd5;var _0xe45bcd=_[_0x477d('0x10a')](_0x2ece05[_0x477d('0x17b7')][_0x477d('0xf2')],{'id':_0x25c197[_0x477d('0x17c6')]});if(_0xe45bcd&&_0xe45bcd['Users']){_0x25abd5=_['find'](_0xe45bcd[_0x477d('0xdf4')],{'id':_0x25c197[_0x477d('0x125b')]});if(!_0x25abd5){_0xe45bcd[_0x477d('0xdf4')]['push']({'id':_0x25c197[_0x477d('0x125b')]});}}}function _0x5d5324(_0x25c66f){var _0x4465dc=_['find'](_0x2ece05[_0x477d('0x17b7')][_0x477d('0xf2')],{'id':_0x25c66f[_0x477d('0x17c6')]});if(_0x4465dc&&_0x4465dc['Users']){_['remove'](_0x4465dc[_0x477d('0xdf4')],{'id':_0x25c66f[_0x477d('0x125b')]});}}function _0x316910(_0x4ec446){if(_0x4ec446){var _0x4a26f2=_['find'](_0x2ece05[_0x477d('0x17b7')]['rows'],{'id':_0x4ec446['id']});if(_0x4a26f2){_0x4a26f2['Users']=[];if(_0x4ec446[_0x477d('0x1351')]){_0x4a26f2[_0x477d('0x167d')]=0x0;}if(_0x2ece05[_0x477d('0x3ef')]['sort']){var _0x563030=_[_0x477d('0x1337')](_0x2ece05[_0x477d('0x3ef')][_0x477d('0x568')],'-')?_0x477d('0x13ff'):_0x477d('0x1400');_0x2ece05[_0x477d('0x17b7')][_0x477d('0xf2')]=_['orderBy'](_0x2ece05['smsInteractions'][_0x477d('0xf2')],_[_0x477d('0x178f')](_0x2ece05[_0x477d('0x3ef')]['sort'],'-'),_0x563030);}_[_0x477d('0xef')](_0x4a26f2,_[_0x477d('0x10b')](_0x4ec446,_[_0x477d('0x7f')](_0x4a26f2)));}else{_0x50f992(_0x2ece05[_0x477d('0x3ef')][_0x477d('0xe03')]);}}}function _0x556369(_0x24ec2d){if(_0x24ec2d){var _0x572f46=_['find'](_0x2ece05[_0x477d('0x17b7')][_0x477d('0xf2')],{'id':_0x24ec2d['id']});if(_0x572f46){_0x572f46[_0x477d('0x102')]=_0x24ec2d[_0x477d('0x1263')]||[];_['merge'](_0x572f46,_[_0x477d('0x10b')](_0x24ec2d,_[_0x477d('0x7f')](_0x572f46)));}}}function _0x1d8784(_0x400a7c){if(_0x400a7c&&!_0x400a7c['secret']){var _0x12805e=_['find'](_0x2ece05[_0x477d('0x17b7')]['rows'],{'id':_0x400a7c[_0x477d('0x17c6')]});if(_0x12805e){var _0x50987f=_[_0x477d('0x10a')](_0x12805e[_0x477d('0x134c')],{'id':_0x400a7c['id']});if(_0x50987f){_['merge'](_0x50987f,_[_0x477d('0x10b')](_0x400a7c,_[_0x477d('0x7f')](_0x50987f)));}else{if(_[_0x477d('0x484')](_0x12805e[_0x477d('0x134c')])){_0x12805e['Messages']={'count':0x0};}if(!_0x400a7c[_0x477d('0x134d')]){_0x12805e[_0x477d('0x134c')][_0x477d('0x3bb')]+=0x1;}}}}}function _0x55581e(){_0x2ece05['isSearchBarVisible']=![];}function _0x4f9e00(){_0x2ece05[_0x477d('0x1664')]=!![];}function _0x4da691(){_0x2ece05[_0x477d('0x1664')]=![];_0x5b868d[_0x477d('0x395')]({'controller':_0x477d('0x3e4'),'controllerAs':'vm','templateUrl':_0x477d('0x1362'),'parent':angular['element'](_0xcd5c41['body']),'clickOutsideToClose':![],'locals':{'color':_0x2ece05['sectionColor'],'fields':_0x2ece05[_0x477d('0x3eb')][_0x477d('0x458')],'storagePath':_0x477d('0x17c7')},'fullscreen':!![]})['then'](function(_0x1915bb){_0x2ece05[_0x477d('0x3ef')]['search']=_0x1915bb===![]?undefined:_0x1915bb;if(_0x2ece05[_0x477d('0x3ef')][_0x477d('0x3fd')]||_0x1915bb===![])_0x50f992();})[_0x477d('0xf8')](function(_0x120c64){_0x276d7e['error']({'title':'ERROR','msg':_0x120c64[_0x477d('0x451')]?JSON['stringify'](_0x120c64[_0x477d('0x451')][_0x477d('0x452')]):_0x120c64[_0x477d('0x453')]()});});}var _0x4a4e5b=!![];var _0x3b0c88=0x1;_0x212144['$watch'](_0x477d('0xd98'),function(_0x5afaa1,_0x5b62b9){if(_0x4a4e5b){_0x1f36e3(function(){_0x4a4e5b=![];});}else{if(!_0x5b62b9){_0x3b0c88=_0x2ece05[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x5afaa1!==_0x5b62b9){_0x2ece05[_0x477d('0x3ef')]['page']=0x1;}if(!_0x5afaa1){_0x2ece05[_0x477d('0x3ef')][_0x477d('0xe03')]=_0x3b0c88;}_0x50f992(_0x2ece05['query'][_0x477d('0xe03')]);}});_0x212144['$on']('$destroy',function(){_0x3701b4[_0x477d('0x6b8')](_0x477d('0x17bf'));_0x3701b4[_0x477d('0x6b8')](_0x477d('0x17c0'));_0x3701b4['removeAllListeners']('smsInteraction:save');_0x3701b4['removeAllListeners'](_0x477d('0x17be'));_0x3701b4['removeAllListeners'](_0x477d('0x17bd'));_0x3701b4['removeAllListeners']('user_has_sms_interactions:save');_0x3701b4[_0x477d('0x6b8')](_0x477d('0x17c1'));});}}());(function(){'use strict';_0x50c75a[_0x477d('0xa')]=[_0x477d('0x384'),_0x477d('0x475'),'api','toasty',_0x477d('0x55'),_0x477d('0x387'),_0x477d('0x474'),_0x477d('0x3fe')];angular['module']('app.dashboards')[_0x477d('0x3ba')](_0x477d('0x17c8'),_0x50c75a);function _0x50c75a(_0x5a0884,_0x1607e8,_0x4adb9b,_0x653b23,_0x39ad58,_0x14cdb2,_0x2b5283,_0xf4ae7){var _0x1d89dc=this;_0x1d89dc['currentUser']=_0x39ad58[_0x477d('0x5c')]();_0x1d89dc[_0x477d('0x17c9')]={};_0x1d89dc['table']='voiceCalls';_0x1d89dc[_0x477d('0x3ef')]={'UserId':_0x1d89dc[_0x477d('0x3e5')]['id'],'fields':_0x477d('0x17ca'),'sort':'-updatedAt','limit':0xa,'page':0x1,'type':null};_0x1d89dc[_0x477d('0x485')]=_0x359c36;_0x1d89dc[_0x477d('0x17cb')]=_0x55811f;_0x1d89dc[_0x477d('0x71a')]=_0x1d7a63;_0x1d89dc[_0x477d('0x17cc')]=_0x394572;_0x1d89dc[_0x477d('0x165c')]=_0x2f0328;_0x1d89dc[_0x477d('0x165d')]=_0x99a27e;function _0x1d7a63(){return _0x4adb9b['tag'][_0x477d('0x376')]()[_0x477d('0x38b')][_0x477d('0x76')](function(_0x21e919){_0x1d89dc[_0x477d('0x1263')]=_0x21e919||{'count':0x0,'rows':[]};})[_0x477d('0x76')](function(){_0x1d89dc[_0x477d('0x1349')]=_0x99c95b();})[_0x477d('0xf8')](function(_0x81d549){_0x653b23[_0x477d('0x44a')]({'title':_0x477d('0x17cd'),'msg':_0x81d549['data']?JSON['stringify'](_0x81d549[_0x477d('0x451')][_0x477d('0x452')]):_0x81d549['message']||_0x81d549[_0x477d('0x453')]()});_0x1d89dc[_0x477d('0x1263')]={'count':0x0,'rows':[]};})[_0x477d('0x5ff')](function(){var _0x403c4b=_0x14cdb2['localStorage'][_0x477d('0x3f8')](_0x477d('0x17ce')+_0x1d89dc[_0x477d('0x3e5')]['id']);if(_0x403c4b){try{_0x403c4b=JSON[_0x477d('0x77')](_0x403c4b);if(_0x403c4b['query']){_0x1d89dc['query']=_[_0x477d('0x3fc')](_0x403c4b[_0x477d('0x3ef')],_0x477d('0x3b3'));}}catch(_0x137f54){console[_0x477d('0x44a')](_0x137f54);}}else{var _0xb298de={'$gte':moment()[_0x477d('0x12d')](_0x477d('0x6fd'))[_0x477d('0x12e')](0x0,!![])[_0x477d('0x12f')](),'$lte':moment()[_0x477d('0x130')](_0x477d('0x6fd'))['utcOffset'](0x0,!![])[_0x477d('0x12f')]()};_0x1d89dc['query'][_0x477d('0xe37')]=_0xb298de;}_0x55811f();});}function _0x99c95b(){return[{'name':_0x477d('0x134a'),'key':_0x477d('0xe37'),'type':_0x477d('0x420'),'label':'DASHBOARDS.SELECT_DATE'},{'name':_0x477d('0x17a0'),'key':'type','type':_0x477d('0x462'),'label':_0x477d('0x17a1'),'customOptions':[{'value':_0x477d('0x324'),'translate':_0x477d('0x17a2')},{'value':_0x477d('0x9e'),'translate':_0x477d('0x17cf')},{'value':'outbound','translate':_0x477d('0x17a3')},{'value':_0x477d('0x17a4'),'translate':_0x477d('0x17a5')},{'value':null,'translate':_0x477d('0x17a6')}]}];}function _0x359c36(_0x4efc73){_0x1d89dc['searchInProgress']=![];_0x1d89dc[_0x477d('0x17c9')]=_0x4efc73||{'count':0x0,'rows':[]};}function _0x55811f(){_0x1d89dc[_0x477d('0x1691')]=!![];_0x1d89dc[_0x477d('0x3ef')][_0x477d('0x91c')]=(_0x1d89dc[_0x477d('0x3ef')]['page']-0x1)*_0x1d89dc[_0x477d('0x3ef')][_0x477d('0x91d')];var _0x31c294={'query':_0x1d89dc['query']};_0x14cdb2[_0x477d('0x39d')][_0x477d('0x3fa')](_0x477d('0x17ce')+_0x1d89dc[_0x477d('0x3e5')]['id'],JSON[_0x477d('0x3fb')](_0x31c294));_0x1d89dc[_0x477d('0x553')]=_0x4adb9b['voiceCallReport'][_0x477d('0x376')](_0x1d89dc[_0x477d('0x3ef')],_0x359c36)['$promise'];}function _0x394572(_0x31b610){_0x5a0884['show']({'controller':_0x477d('0x17d0'),'controllerAs':'vm','templateUrl':_0x477d('0x17d1'),'parent':angular[_0x477d('0x398')](_0x1607e8[_0x477d('0x399')]),'clickOutsideToClose':!![],'locals':{'call':_0x31b610}});}function _0x2f0328(){_0x1d89dc['query'][_0x477d('0x3b3')]=undefined;_0x1d89dc['isSearchBarVisible']=![];}function _0x99a27e(){_0x1d89dc[_0x477d('0x1664')]=!![];}var _0x49ef17=!![];var _0x315699=0x1;_0x2b5283[_0x477d('0x4b5')](_0x477d('0xd98'),function(_0x283cf4,_0x3ae5de){if(_0x49ef17){_0xf4ae7(function(){_0x49ef17=![];});}else{if(!_0x3ae5de){_0x315699=_0x1d89dc[_0x477d('0x3ef')]['page'];}if(_0x283cf4!==_0x3ae5de){_0x1d89dc[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0x283cf4){_0x1d89dc['query'][_0x477d('0xe03')]=_0x315699;}_0x1d89dc[_0x477d('0x17cb')]();}});}}());(function(){'use strict';_0x39f8e6[_0x477d('0xa')]=['$mdDialog',_0x477d('0x482')];angular[_0x477d('0xb')]('app.dashboards')['controller'](_0x477d('0x17d0'),_0x39f8e6);function _0x39f8e6(_0x25ecc8,_0x352efa){var _0x3dc1ad=this;_0x3dc1ad[_0x477d('0x482')]=_0x352efa;_0x3dc1ad[_0x477d('0x6bf')]=_0x3b2e7a;function _0x3b2e7a(){_0x25ecc8[_0x477d('0x3bc')]();}}}());(function(){'use strict';_0x2e1529[_0x477d('0xa')]=['$scope','$timeout',_0x477d('0x384'),'$document',_0x477d('0x387'),'$translate',_0x477d('0x386'),_0x477d('0x55'),_0x477d('0x5a3'),_0x477d('0x40e'),_0x477d('0x157e')];angular[_0x477d('0xb')]('app.dashboards')[_0x477d('0x3ba')](_0x477d('0x17d2'),_0x2e1529);function _0x2e1529(_0x35cf3f,_0xd1cbdd,_0x11ec27,_0x504eaa,_0x17ef1c,_0x2ef661,_0x23d693,_0x7ba627,_0x524d01,_0x1eaa71,_0x192dc5){var _0x3d7686=this;_0x3d7686['user']=_0x7ba627['getCurrentUser']();_0x3d7686[_0x477d('0x613')]={};_0x3d7686[_0x477d('0xc8e')]={};_0x3d7686[_0x477d('0x1263')]={'count':0x0,'rows':[]};_0x3d7686[_0x477d('0x17d3')]={'count':0x0,'rows':[]};_0x3d7686['query']={'includeAll':!![],'sort':'-updatedAt','limit':0xa,'page':0x1,'read':null,'closed':null};_0x3d7686['advancedSearch']={'fields':[{'name':'Id','column':'id','type':_0x477d('0x421')},{'name':_0x477d('0x1370'),'column':'Contact','type':_0x477d('0x443'),'options':{'searchFields':['firstName',_0x477d('0x1358'),'email'],'route':{'model':_0x477d('0xb6c'),'action':_0x477d('0x376'),'params':{'fields':_0x477d('0x1677'),'Contact':_0x477d('0x444'),'nolimit':!![]}},'extraOperators':[_0x477d('0x135a')],'excludedOperators':['$ne']}},{'name':_0x477d('0x135d'),'column':_0x477d('0x399'),'type':_0x477d('0x41b'),'options':{'excludedOperators':[_0x477d('0x412'),'$ne']}},{'name':_0x477d('0x135e'),'column':_0x477d('0x1351'),'type':_0x477d('0x462'),'values':[{'id':0x0,'translate':_0x477d('0x135f')},{'id':0x1,'translate':_0x477d('0x1352')}],'options':{'excludedOperators':[_0x477d('0x414')]}},{'name':_0x477d('0x125d'),'column':_0x477d('0x167b'),'type':_0x477d('0x443'),'options':{'table':'i','route':{'model':_0x477d('0x380'),'action':_0x477d('0x376'),'params':{'role':_0x477d('0xcf'),'fields':_0x477d('0x1360'),'nolimit':!![]}},'searchFields':[_0x477d('0xcd'),'name'],'extraOperators':[_0x477d('0x135a')],'excludedOperators':[_0x477d('0x414')]}},{'name':_0x477d('0x15a4'),'column':_0x477d('0x1597'),'type':_0x477d('0x413'),'options':{'route':{'model':_0x477d('0x380'),'action':_0x477d('0x1606'),'params':{'id':_0x3d7686[_0x477d('0x380')]['id'],'nolimit':!![]}}}},{'name':_0x477d('0x102'),'column':_0x477d('0x1264'),'type':_0x477d('0x413'),'options':{'route':{'model':_0x477d('0xbb0'),'action':_0x477d('0x376'),'params':{'nolimit':!![]}},'excludedOperators':[_0x477d('0x3f5')]}},{'name':_0x477d('0x134a'),'column':'createdAt','type':_0x477d('0x420'),'options':{'excludedOperators':['$ne']}},{'name':'Read','column':_0x477d('0x167d'),'type':_0x477d('0x462'),'values':[{'id':0x1,'translate':'DASHBOARDS.READ'},{'id':0x0,'translate':'DASHBOARDS.UNREAD'}],'options':{'excludedOperators':[_0x477d('0x414')]}}]};_0x3d7686[_0x477d('0x167f')]='lime-A700';_0x3d7686['onInit']=_0x4faa38;_0x3d7686[_0x477d('0x485')]=_0x5f810e;_0x3d7686[_0x477d('0x17d4')]=_0x37d070;_0x3d7686[_0x477d('0x17d5')]=_0x120908;_0x3d7686[_0x477d('0x17d6')]=_0x289fd2;_0x3d7686['disposeInteraction']=_0x5eb809;_0x3d7686['getContactLabel']=_0x36354a;_0x3d7686['getAgentLabel']=_0x39143c;_0x3d7686[_0x477d('0x17d7')]=_0x50674c;_0x3d7686['composeWhatsappInteraction']=_0x28a1c0;_0x3d7686[_0x477d('0x165c')]=_0x53b0b7;_0x3d7686['onSearchBarExpand']=_0x2cd7fa;_0x3d7686[_0x477d('0x1686')]=_0x98453a;_0x35cf3f[_0x477d('0x4ec')](_0x477d('0x17d8'),_0x93825);function _0x4faa38(_0x51a467,_0x22dc35){_0x3d7686[_0x477d('0x613')]=_0x51a467;_0x3d7686[_0x477d('0xc8e')]=_0x22dc35;return _0x23d693[_0x477d('0x380')][_0x477d('0x376')+_['upperFirst']('whatsappAccounts')]({'id':_0x3d7686['user']['id'],'nolimit':!![]})['$promise']['then'](function(_0x10b4bb){_0x3d7686[_0x477d('0x160f')]=_0x10b4bb||{'count':0x0,'rows':[]};return _0x23d693[_0x477d('0xbb0')][_0x477d('0x376')]()[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x454864){_0x3d7686[_0x477d('0x1263')]=_0x454864||{'count':0x0,'rows':[]};})[_0x477d('0x76')](function(){_0x3d7686[_0x477d('0x1349')]=_0x5b53ea();})[_0x477d('0xf8')](function(_0x33e3c7){console[_0x477d('0x44a')](_0x33e3c7);})['finally'](function(){var _0x22576e=_0x17ef1c[_0x477d('0x39d')]['getItem']('motion2.home.whatsapp:'+_0x3d7686[_0x477d('0x380')]['id']);if(_0x22576e){try{_0x22576e=JSON[_0x477d('0x77')](_0x22576e);if(_0x22576e['query']){_0x3d7686[_0x477d('0x3ef')]=_['merge'](_0x3d7686[_0x477d('0x3ef')],_0x22576e[_0x477d('0x3ef')]);if(_[_0x477d('0x3b2')](_0x3d7686['whatsappAccounts'][_0x477d('0xf2')])){_0x3d7686[_0x477d('0x3ef')][_0x477d('0x1597')]=[];}else if(_[_0x477d('0x3b2')](_0x3d7686[_0x477d('0x3ef')][_0x477d('0x1597')])){_0x3d7686[_0x477d('0x3ef')][_0x477d('0x1597')]=_(_0x3d7686['whatsappAccounts'][_0x477d('0xf2')])['map']('id')['take']()[_0x477d('0x3b6')]();}if(_0x3d7686[_0x477d('0x3ef')][_0x477d('0x568')]&&_0x3d7686[_0x477d('0x3ef')][_0x477d('0x568')][_0x477d('0x477')]('lastMessage')>=0x0){_0x3d7686[_0x477d('0x3ef')]=_[_0x477d('0x3fc')](_0x3d7686['query'],_0x477d('0x568'));}_0x3d7686[_0x477d('0x3ef')][_0x477d('0x168a')]=!![];_0x3d7686[_0x477d('0x1664')]=_0x3d7686[_0x477d('0x3ef')][_0x477d('0x3b3')]?!![]:![];}}catch(_0x4d9078){console[_0x477d('0x44a')](_0x4d9078);}}else{var _0x4685fa={'$gte':moment()['startOf'](_0x477d('0x6fd'))[_0x477d('0x12e')](0x0,!![])['format'](),'$lte':moment()[_0x477d('0x130')]('month')[_0x477d('0x12e')](0x0,!![])[_0x477d('0x12f')]()};var _0x32ea7e={'WhatsappAccountId':_[_0x477d('0x3cb')](_0x3d7686[_0x477d('0x160f')][_0x477d('0xf2')],'id'),'createdAt':_0x4685fa};_0x3d7686['query']=_[_0x477d('0xef')](_0x3d7686[_0x477d('0x3ef')],_0x32ea7e);}_0x524d01['on'](_0x477d('0x17d9'),_0x1e5cb2);_0x524d01['on'](_0x477d('0x17da'),_0x1e5cb2);_0x524d01['on'](_0x477d('0x17db'),_0x5d5a92);_0x524d01['on']('whatsappMessage:save',_0x56350d);_0x524d01['on'](_0x477d('0x17dc'),_0x56350d);_0x524d01['on']('user_has_whatsapp_interactions:save',_0x6d3e2e);_0x524d01['on'](_0x477d('0x17dd'),_0x4a33b4);_0x37d070(_0x3d7686[_0x477d('0x3ef')]['page']);});}function _0x5b53ea(){return[{'name':'Start\x20Date','key':_0x477d('0xe37'),'type':_0x477d('0x420'),'label':_0x477d('0x134b')},{'name':'Messages','key':'read','type':_0x477d('0x462'),'label':_0x477d('0x134e'),'customOptions':[{'value':0x0,'translate':_0x477d('0x167e')},{'value':0x1,'translate':_0x477d('0x134f')},{'value':null,'translate':'DASHBOARDS.ALL'}]},{'name':_0x477d('0x135e'),'key':'closed','type':_0x477d('0x462'),'label':'DASHBOARDS.SELECT_STATUS','customOptions':[{'value':0x0,'translate':_0x477d('0x135f')},{'value':0x1,'translate':_0x477d('0x1352')},{'value':null,'translate':_0x477d('0x1350')}]},{'name':_0x477d('0x15a4'),'key':_0x477d('0x1597'),'type':_0x477d('0x413'),'label':_0x477d('0x1690'),'options':_0x3d7686[_0x477d('0x160f')][_0x477d('0xf2')],'clearAll':![]},{'name':_0x477d('0x125d'),'key':'UserId','type':'select','label':'DASHBOARDS.SELECT_AGENT','customOptions':[{'value':_0x3d7686['user']['id'],'translate':'DASHBOARDS.ME'},{'value':_0x477d('0xea'),'translate':_0x477d('0x1354')},{'value':undefined,'translate':_0x477d('0x1350')}]},{'name':_0x477d('0x1264'),'key':'tag','type':_0x477d('0x413'),'label':'DASHBOARDS.SELECT_TAG','options':_0x3d7686[_0x477d('0x1263')][_0x477d('0xf2')],'placeholder':'DASHBOARDS.TAGS'}];}function _0x5f810e(_0x31791e){_0x3d7686[_0x477d('0x1691')]=![];_0x3d7686[_0x477d('0x17d3')]=_0x31791e||{'count':0x0,'rows':[]};for(var _0x1db44e=0x0;_0x1db44e<_0x3d7686[_0x477d('0x17d3')][_0x477d('0xf2')][_0x477d('0x79')];_0x1db44e+=0x1){_0x36354a(_0x3d7686[_0x477d('0x17d3')][_0x477d('0xf2')][_0x1db44e]);}}function _0x37d070(_0x4bf577,_0x376bd6){_0x3d7686[_0x477d('0x1691')]=!![];if(!_0x4bf577){_0x3d7686['query'][_0x477d('0xe03')]=0x1;}_0x3d7686[_0x477d('0x3ef')]['offset']=(_0x3d7686[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x3d7686[_0x477d('0x3ef')][_0x477d('0x91d')];var _0x5737b6=_0x17ef1c['localStorage'][_0x477d('0x3f8')]('motion2.home.whatsapp:'+_0x3d7686[_0x477d('0x380')]['id']);_0x5737b6=_0x5737b6?JSON[_0x477d('0x77')](_0x5737b6):{};_0x5737b6['query']=_0x3d7686['query'];_0x17ef1c[_0x477d('0x39d')][_0x477d('0x3fa')](_0x477d('0x17de')+_0x3d7686[_0x477d('0x380')]['id'],JSON[_0x477d('0x3fb')](_0x5737b6));_0x3d7686[_0x477d('0x553')]=_0x23d693[_0x477d('0xceb')]['get'](_0x3d7686[_0x477d('0x3ef')],_0x5f810e)[_0x477d('0x38b')];}function _0x120908(_0x4fa1ef,_0x9f3aa4){_0x35cf3f[_0x477d('0x723')]['vm']['addInteractionTab'](_0x477d('0x35d'),_0x9f3aa4);}function _0x289fd2(_0xd70ec1,_0x5a8f46,_0x3070af){_0x23d693[_0x477d('0xceb')][_0x477d('0x49d')]({'id':_0x5a8f46['id'],'attachments':_0x3070af})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x5d3003){var _0xc8277d=[_0x5d3003[_0x477d('0x49e')]];var _0x120975=_0x477d('0x17df')+_0x5a8f46['id']+'.zip';var _0x2b4be0=new Blob(_0xc8277d,{'type':_0x5d3003['type']});var _0x28a0fe=window[_0x477d('0x945')][_0x477d('0x3c7')]('a');_0x28a0fe['setAttribute'](_0x477d('0x3c8'),URL[_0x477d('0x49f')](_0x2b4be0));_0x28a0fe[_0x477d('0x494')](_0x477d('0x49d'),_0x120975);document[_0x477d('0x399')][_0x477d('0xd8f')](_0x28a0fe);_0x28a0fe[_0x477d('0x540')]();})[_0x477d('0xf8')](function(_0x2a0920){if(_0x2a0920[_0x477d('0x451')]&&_0x2a0920[_0x477d('0x451')][_0x477d('0xd67')]&&_0x2a0920[_0x477d('0x451')][_0x477d('0xd67')]['length']){for(var _0x317188=0x0;_0x317188<_0x2a0920[_0x477d('0x451')]['errors'][_0x477d('0x79')];_0x317188+=0x1){_0x1eaa71[_0x477d('0x44a')]({'title':_0x2a0920[_0x477d('0x451')][_0x477d('0xd67')][_0x317188][_0x477d('0x439')],'msg':_0x2a0920[_0x477d('0x451')][_0x477d('0xd67')][_0x317188][_0x477d('0x452')]});}}else{_0x1eaa71['error']({'title':_0x2a0920['status']?'API:'+_0x2a0920['status']+_0x477d('0x44c')+_0x2a0920[_0x477d('0x44d')]:_0x477d('0x17d6'),'msg':_0x2a0920[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x2a0920['data'][_0x477d('0x452')]):_0x2a0920['toString']()});}});}function _0x5eb809(_0x394828,_0x259e28){var _0xb3da12=_0x3d7686[_0x477d('0x380')][_0x477d('0x624')]||_0x3d7686['user']['chatPause']||_0x3d7686['user'][_0x477d('0x13b9')]||_0x3d7686[_0x477d('0x380')]['openchannelPause']||_0x3d7686['user'][_0x477d('0x13bb')];var _0x125b38=!_0x259e28[_0x477d('0x15a4')][_0x477d('0x15a0')];_0x11ec27['show']({'controller':'DisposeInteractionDialogController','controllerAs':'vm','templateUrl':_0x477d('0x15a6'),'parent':angular[_0x477d('0x398')](_0x504eaa[_0x477d('0x399')]),'clickOutsideToClose':_0x125b38,'escapeToClose':_0x125b38,'onRemoving':function(_0x171589,_0x3a961e){if(_0x3d7686['user']&&_0x259e28[_0x477d('0x15a4')][_0x477d('0x15a0')]&&!_0xb3da12){_0x23d693[_0x477d('0x380')][_0x477d('0x15a7')]({'id':_0x3d7686[_0x477d('0x380')]['id']})[_0x477d('0x38b')]['catch'](function(_0x54e7e3){console['error'](_0x54e7e3);});}},'locals':{'user':_0x3d7686['user'],'channel':'whatsapp','interaction':_0x259e28}});}function _0x36354a(_0x459187){if(_0x459187['Contact']){_0x459187[_0x477d('0x1371')]=(_0x459187['Contact'][_0x477d('0x1357')]||'')+'\x20'+(_0x459187[_0x477d('0x1370')][_0x477d('0x1358')]||'');_0x459187[_0x477d('0x1773')]=_0x459187[_0x477d('0x1370')][_0x477d('0x991')];}else{_0x459187[_0x477d('0x1371')]=_0x2ef661[_0x477d('0x45f')](_0x477d('0x1372'));}}function _0x39143c(_0x31e676){if(_0x31e676[_0x477d('0x125b')]){if(_0x31e676[_0x477d('0x125b')]===_0x3d7686[_0x477d('0x380')]['id']){return _0x2ef661[_0x477d('0x45f')](_0x477d('0x1373'));}else{return _0x31e676[_0x477d('0x1374')]['fullname']+'\x20<'+_0x31e676[_0x477d('0x1374')]['internal']+'>';}}return _0x2ef661[_0x477d('0x45f')]('DASHBOARDS.NOT_ASSIGNED');}function _0x50674c(_0x599134){if(_0x599134[_0x477d('0x15a4')]){return _0x599134[_0x477d('0x15a4')]['key'];}return _0x2ef661[_0x477d('0x45f')](_0x477d('0x1372'));}function _0x93825(_0x1205e9,_0x537839){if(_0x537839[_0x477d('0x1364')]){_0x537839[_0x477d('0x1364')]['isDraft']=!![];showMailInteraction(null,_0x537839['interaction']);}else{_0x11ec27[_0x477d('0x395')]({'controller':_0x477d('0x17e0'),'controllerAs':'vm','templateUrl':_0x477d('0x17e1'),'parent':angular[_0x477d('0x398')](_0x504eaa[_0x477d('0x399')]),'clickOutsideToClose':![],'locals':{'account':_0x537839[_0x477d('0x15e5')],'message':_0x537839['content'],'type':_0x477d('0x15e4'),'interaction':{}},'fullscreen':!![]})['then'](function(_0x4dee9b){if(_0x4dee9b){if(_0x4dee9b[_0x477d('0x452')]&&_0x4dee9b[_0x477d('0x452')][_0x477d('0x175e')]){var _0x496ff3={'id':_0x537839['id'],'channel':_0x477d('0x35d'),'account':_0x4dee9b[_0x477d('0x15e5')],'message':_0x4dee9b['message']};_0x192dc5[_0x477d('0x710')](_0x496ff3);}else{var _0x1f6fac=_0x4dee9b;return _0x23d693[_0x477d('0x17e2')][_0x477d('0xa08')]({'id':_0x537839[_0x477d('0x15e5')]['id']},_0x1f6fac)[_0x477d('0x38b')][_0x477d('0x76')](function(_0x256d6a){_0x1eaa71[_0x477d('0x485')]({'title':'Message\x20properly\x20sent!','msg':_0x477d('0x161d')});_0x35cf3f[_0x477d('0x723')]['vm'][_0x477d('0x1588')]('whatsapp',_0x256d6a);})[_0x477d('0xf8')](function(_0x3f7b91){if(_0x3f7b91[_0x477d('0x451')]&&_0x3f7b91[_0x477d('0x451')][_0x477d('0xd67')]&&_0x3f7b91[_0x477d('0x451')]['errors'][_0x477d('0x79')]){for(var _0x1067ba=0x0;_0x1067ba<_0x3f7b91[_0x477d('0x451')][_0x477d('0xd67')]['length'];_0x1067ba++){_0x1eaa71[_0x477d('0x44a')]({'title':_0x3f7b91[_0x477d('0x451')][_0x477d('0xd67')][_0x1067ba][_0x477d('0x439')],'msg':_0x3f7b91[_0x477d('0x451')][_0x477d('0xd67')][_0x1067ba]['message']});}}else{_0x1eaa71[_0x477d('0x44a')]({'title':_0x3f7b91[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x3f7b91[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x3f7b91[_0x477d('0x44d')]:'WHATSAPPACCOUNT:SEND','msg':_0x3f7b91[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x3f7b91['data'][_0x477d('0x452')]):_0x3f7b91[_0x477d('0x452')]||_0x3f7b91[_0x477d('0x453')]()});}});}}});}}function _0x28a1c0(_0x4a1ca3,_0xd0b073){_0x11ec27[_0x477d('0x395')]({'controller':_0x477d('0x17e0'),'controllerAs':'vm','templateUrl':_0x477d('0x17e1'),'parent':angular[_0x477d('0x398')](_0x504eaa[_0x477d('0x399')]),'clickOutsideToClose':![],'locals':{'account':_0xd0b073,'message':{},'type':_0x477d('0x1619'),'interaction':{}},'fullscreen':!![]})[_0x477d('0x76')](function(_0x46e7cc){if(_0x46e7cc){if(_0x46e7cc[_0x477d('0x452')]&&_0x46e7cc[_0x477d('0x452')]['savedAsDraft']){var _0x89f88b={'channel':_0x477d('0x35d'),'account':_0xd0b073,'message':_0x46e7cc[_0x477d('0x452')],'contact':_0x46e7cc['contact']};_0x192dc5[_0x477d('0x440')](_0x89f88b);}else{var _0x2ebefc=_0x46e7cc;return _0x23d693[_0x477d('0x17e2')][_0x477d('0xa08')]({'id':_0xd0b073['id']},_0x2ebefc)[_0x477d('0x38b')][_0x477d('0x76')](function(_0x400b1f){_0x1eaa71[_0x477d('0x485')]({'title':_0x477d('0x161c'),'msg':'Message\x20has\x20been\x20sent!'});_0x35cf3f['$parent']['vm'][_0x477d('0x1588')](_0x477d('0x35d'),_0x400b1f);})['catch'](function(_0x164e87){if(_0x164e87['data']&&_0x164e87[_0x477d('0x451')][_0x477d('0xd67')]&&_0x164e87[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){for(var _0x41d100=0x0;_0x41d100<_0x164e87['data']['errors']['length'];_0x41d100++){_0x1eaa71[_0x477d('0x44a')]({'title':_0x164e87['data'][_0x477d('0xd67')][_0x41d100][_0x477d('0x439')],'msg':_0x164e87[_0x477d('0x451')]['errors'][_0x41d100][_0x477d('0x452')]});}}else{_0x1eaa71[_0x477d('0x44a')]({'title':_0x164e87[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x164e87[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x164e87['statusText']:_0x477d('0x17e3'),'msg':_0x164e87[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x164e87['data'][_0x477d('0x452')]):_0x164e87['message']||_0x164e87['toString']()});}});}}});}function _0x6d3e2e(_0x38a4f9){var _0x131c86;var _0x2a12d9=_['find'](_0x3d7686[_0x477d('0x17d3')][_0x477d('0xf2')],{'id':_0x38a4f9['WhatsappInteractionId']});if(_0x2a12d9&&_0x2a12d9[_0x477d('0xdf4')]){_0x131c86=_[_0x477d('0x10a')](_0x2a12d9[_0x477d('0xdf4')],{'id':_0x38a4f9[_0x477d('0x125b')]});if(!_0x131c86){_0x2a12d9['Users']['push']({'id':_0x38a4f9[_0x477d('0x125b')]});}}}function _0x4a33b4(_0x448b54){var _0x3c10f9=_[_0x477d('0x10a')](_0x3d7686[_0x477d('0x17d3')][_0x477d('0xf2')],{'id':_0x448b54[_0x477d('0x17e4')]});if(_0x3c10f9&&_0x3c10f9[_0x477d('0xdf4')]){_[_0x477d('0x39c')](_0x3c10f9[_0x477d('0xdf4')],{'id':_0x448b54['UserId']});}}function _0x1e5cb2(_0x584cd5){if(_0x584cd5){var _0x25b8fd=_[_0x477d('0x10a')](_0x3d7686[_0x477d('0x17d3')][_0x477d('0xf2')],{'id':_0x584cd5['id']});if(_0x25b8fd){_0x25b8fd[_0x477d('0xdf4')]=[];if(_0x584cd5[_0x477d('0x1351')]){_0x25b8fd[_0x477d('0x167d')]=0x0;}if(_0x3d7686[_0x477d('0x3ef')][_0x477d('0x568')]){var _0x419d32=_[_0x477d('0x1337')](_0x3d7686['query'][_0x477d('0x568')],'-')?_0x477d('0x13ff'):_0x477d('0x1400');_0x3d7686[_0x477d('0x17d3')][_0x477d('0xf2')]=_['orderBy'](_0x3d7686[_0x477d('0x17d3')]['rows'],_[_0x477d('0x178f')](_0x3d7686[_0x477d('0x3ef')][_0x477d('0x568')],'-'),_0x419d32);}_['merge'](_0x25b8fd,_[_0x477d('0x10b')](_0x584cd5,_[_0x477d('0x7f')](_0x25b8fd)));}else{_0x37d070(_0x3d7686[_0x477d('0x3ef')]['page']);}}}function _0x5d5a92(_0x5e436f){if(_0x5e436f){var _0x2ff0bd=_[_0x477d('0x10a')](_0x3d7686['whatsappInteractions'][_0x477d('0xf2')],{'id':_0x5e436f['id']});if(_0x2ff0bd){_0x2ff0bd[_0x477d('0x102')]=_0x5e436f[_0x477d('0x1263')]||[];_['merge'](_0x2ff0bd,_[_0x477d('0x10b')](_0x5e436f,_[_0x477d('0x7f')](_0x2ff0bd)));}}}function _0x56350d(_0x5191e3){if(_0x5191e3&&!_0x5191e3[_0x477d('0x1778')]){var _0x167883=_[_0x477d('0x10a')](_0x3d7686[_0x477d('0x17d3')][_0x477d('0xf2')],{'id':_0x5191e3['WhatsappInteractionId']});if(_0x167883){var _0x36aee8=_['find'](_0x167883['Messages'],{'id':_0x5191e3['id']});if(_0x36aee8){_[_0x477d('0xef')](_0x36aee8,_[_0x477d('0x10b')](_0x5191e3,_[_0x477d('0x7f')](_0x36aee8)));}else{if(_[_0x477d('0x484')](_0x167883[_0x477d('0x134c')])){_0x167883[_0x477d('0x134c')]={'count':0x0};}if(!_0x5191e3[_0x477d('0x134d')]){_0x167883[_0x477d('0x134c')]['count']+=0x1;}}}}}function _0x53b0b7(){_0x3d7686[_0x477d('0x1664')]=![];}function _0x2cd7fa(){_0x3d7686[_0x477d('0x1664')]=!![];}function _0x98453a(){_0x3d7686[_0x477d('0x1664')]=![];_0x11ec27[_0x477d('0x395')]({'controller':_0x477d('0x3e4'),'controllerAs':'vm','templateUrl':'app/core/dialogs/advanced-search/dialog.html','parent':angular[_0x477d('0x398')](_0x504eaa[_0x477d('0x399')]),'clickOutsideToClose':![],'locals':{'color':_0x3d7686[_0x477d('0x167f')],'fields':_0x3d7686['advancedSearch'][_0x477d('0x458')],'storagePath':_0x477d('0x17e5')},'fullscreen':!![]})[_0x477d('0x76')](function(_0x449d25){_0x3d7686[_0x477d('0x3ef')]['search']=_0x449d25===![]?undefined:_0x449d25;if(_0x3d7686[_0x477d('0x3ef')]['search']||_0x449d25===![])_0x37d070();})[_0x477d('0xf8')](function(_0x3cbbee){_0x1eaa71[_0x477d('0x44a')]({'title':'ERROR','msg':_0x3cbbee[_0x477d('0x451')]?JSON['stringify'](_0x3cbbee[_0x477d('0x451')][_0x477d('0x452')]):_0x3cbbee[_0x477d('0x453')]()});});}var _0x3b85fe=!![];var _0xa48615=0x1;_0x35cf3f[_0x477d('0x4b5')](_0x477d('0xd98'),function(_0x3694d9,_0xfef3ed){if(_0x3b85fe){_0xd1cbdd(function(){_0x3b85fe=![];});}else{if(!_0xfef3ed){_0xa48615=_0x3d7686[_0x477d('0x3ef')]['page'];}if(_0x3694d9!==_0xfef3ed){_0x3d7686[_0x477d('0x3ef')]['page']=0x1;}if(!_0x3694d9){_0x3d7686[_0x477d('0x3ef')][_0x477d('0xe03')]=_0xa48615;}_0x37d070(_0x3d7686['query'][_0x477d('0xe03')]);}});_0x35cf3f[_0x477d('0x4ec')](_0x477d('0x505'),function(){_0x524d01[_0x477d('0x6b8')]('whatsappMessage:save');_0x524d01['removeAllListeners']('whatsappMessage:update');_0x524d01['removeAllListeners']('whatsappInteraction:save');_0x524d01[_0x477d('0x6b8')](_0x477d('0x17db'));_0x524d01[_0x477d('0x6b8')](_0x477d('0x17da'));_0x524d01['removeAllListeners'](_0x477d('0x17e6'));_0x524d01[_0x477d('0x6b8')](_0x477d('0x17dd'));});}}());(function(){'use strict';_0x2efcf8[_0x477d('0xa')]=['$scope',_0x477d('0x91f')];angular[_0x477d('0xb')](_0x477d('0x2c'))['controller'](_0x477d('0x17e7'),_0x2efcf8);function _0x2efcf8(_0x394772,_0x89da25){var _0x144ec2=this;_0x144ec2[_0x477d('0xc8e')]={};_0x144ec2['messages']={'count':0x0,'rows':[]};_0x144ec2[_0x477d('0x15fc')]=![];_0x144ec2[_0x477d('0x5ee')]=_0x4af651;_0x144ec2[_0x477d('0x921')]=_0x4b2191;function _0x4af651(_0x36b26d,_0x4e7abf){_0x144ec2['setting']=_0x4e7abf;_0x144ec2[_0x477d('0xe96')]=_0x36b26d;_0x144ec2['tab'][_0x477d('0x11a6')]=!![];}function _0x4b2191(){return _0x89da25['trustAsResourceUrl'](_0x144ec2[_0x477d('0xe96')][_0x477d('0x49b')]);}}}());(function(){'use strict';_0x51601b[_0x477d('0xa')]=[_0x477d('0x385'),_0x477d('0x3fe'),_0x477d('0x475'),_0x477d('0x474'),_0x477d('0x384'),'$q',_0x477d('0xd64'),_0x477d('0x40d'),_0x477d('0x386'),_0x477d('0x40e'),'Auth',_0x477d('0x5a3'),_0x477d('0x342'),'draftManager'];_0x29aea4[_0x477d('0xa')]=['$sce'];angular['module']('app.dashboards')[_0x477d('0x3ff')](_0x477d('0x17e8'),_0x29aea4)[_0x477d('0x3b3')]('getChannelByItem',function(){return function(_0x11284e,_0x15466b,_0x12fa3a,_0x5250a8){var _0x465230=[];for(var _0x4deb4e=0x0;_0x4deb4e<_0x11284e['length'];_0x4deb4e+=0x1){var _0xebc208=!![];switch(_0x15466b){case _0x477d('0x108'):_0xebc208=Boolean(_0x11284e[_0x4deb4e]['uniqueid']);break;case _0x477d('0xb6'):_0xebc208=Boolean(_0x11284e[_0x4deb4e]['ChatWebsiteId']);break;case _0x477d('0x1d6'):_0xebc208=Boolean(_0x11284e[_0x4deb4e][_0x477d('0x14b8')]);break;case _0x477d('0x26e'):_0xebc208=Boolean(_0x11284e[_0x4deb4e][_0x477d('0x160e')]);break;case _0x477d('0x35d'):_0xebc208=Boolean(_0x11284e[_0x4deb4e]['WhatsappAccountId']);break;case _0x477d('0x154'):_0xebc208=Boolean(_0x11284e[_0x4deb4e][_0x477d('0x14b6')]);break;case _0x477d('0x22a'):_0xebc208=Boolean(_0x11284e[_0x4deb4e][_0x477d('0x14b7')]);break;default:_0xebc208=!![];break;}if(_0xebc208){if(_0x12fa3a&&_0x5250a8){_0xebc208=moment(_0x11284e[_0x4deb4e]['createdAt'])['isBetween'](moment(_0x12fa3a)[_0x477d('0x12e')](0x0,!![]),moment(_0x5250a8)['utcOffset'](0x0,!![])[_0x477d('0x440')](0x17,_0x477d('0x7ad'))['add'](0x3b,_0x477d('0x6e8'))[_0x477d('0x440')](0x3b,_0x477d('0x6e9')));}}if(_0xebc208){_0x465230['push'](_0x11284e[_0x4deb4e]);}}return _0x465230;};})[_0x477d('0x3ba')](_0x477d('0x136c'),_0x51601b);function _0x51601b(_0x43ee20,_0x243cd3,_0x1fffe5,_0x2371d3,_0x37f8d9,_0xf328b3,_0x474f83,_0xe269ef,_0x2bf5cc,_0xf5f21e,_0x674895,_0x2b228a,_0x526b13,_0x366d8a){var _0x32bec1=this;var _0x4ec0e3=0x19;var _0x353868=_0x4ec0e3*0x400*0x400;_0x32bec1[_0x477d('0x17e9')]=![];_0x32bec1[_0x477d('0x15fc')]=![];_0x32bec1[_0x477d('0x380')]=_0x674895['getCurrentUser']();_0x32bec1[_0x477d('0x157f')]=_0x526b13['detectBrowser']();_0x32bec1[_0x477d('0x1492')]=[];_0x32bec1['acceptedMessages']=[];_0x32bec1[_0x477d('0x17ea')]=[_0x477d('0x1d6'),_0x477d('0xb6'),'sms',_0x477d('0x22a'),_0x477d('0x154'),_0x477d('0x35d')];_0x32bec1[_0x477d('0x1174')]={'target':_0x477d('0x17eb'),'singleFile':!![],'maxChunkRetries':0x1,'chunkSize':_0x353868,'simultaneousUploads':0x1,'testChunks':![],'progressCallbacksInterval':0x3e8,'allowDuplicateUploads':!![]};_0x32bec1[_0x477d('0x129f')]={'flow':{}};_0x32bec1[_0x477d('0x17ec')]={};_0x32bec1[_0x477d('0x17ed')]={};_0x32bec1[_0x477d('0xc8e')]={};_0x32bec1[_0x477d('0x4b4')]={};_0x32bec1['embedOptions']={'fontSmiley':!![],'sanitizeHtml':!![],'emoji':!![],'link':!![],'linkTarget':_0x477d('0x1182')};_0x32bec1[_0x477d('0x1495')]=new Date(moment()[_0x477d('0x12d')](_0x477d('0x6fd'))[_0x477d('0x455')](0x1,_0x477d('0x6e9'))[_0x477d('0x12e')](0x0,!![])['format']());_0x32bec1[_0x477d('0x1496')]=new Date(moment()[_0x477d('0x130')](_0x477d('0x6fd'))[_0x477d('0x455')](0x1,_0x477d('0x137'))[_0x477d('0x12e')](0x0,!![])[_0x477d('0x12f')]());_0x32bec1[_0x477d('0x5ee')]=_0xec4360;_0x32bec1[_0x477d('0x17ee')]=_0x52c87d;_0x32bec1['openContact']=_0x25a3c0;_0x32bec1[_0x477d('0x1609')]=_0x3bb4b3;_0x32bec1[_0x477d('0x1683')]=_0x12af32;_0x32bec1[_0x477d('0x17ef')]=_0x4f47e1;_0x32bec1[_0x477d('0x1767')]=_0x5f065f;_0x32bec1[_0x477d('0x1752')]=_0x188660;_0x32bec1[_0x477d('0x17f0')]=_0x3c1bc7;_0x32bec1[_0x477d('0x17f1')]=_0x320045;_0x32bec1[_0x477d('0x17f2')]=_0x1314a2;_0x32bec1[_0x477d('0x17f3')]=_0x339feb;_0x32bec1[_0x477d('0x17f4')]=_0x5dcaa7;_0x32bec1['openDraft']=_0x567605;_0x32bec1['createVidaooSession']=_0x5e7790;_0x32bec1[_0x477d('0x1604')]=_0x1ff76f;_0x32bec1[_0x477d('0x1628')]=_0x20acf2;_0x32bec1[_0x477d('0x1605')]=_0x1f88f9;_0x32bec1[_0x477d('0x1606')]=_0x4cade0;_0x32bec1[_0x477d('0x1607')]=_0x166eab;_0x32bec1[_0x477d('0x1223')]=_0x162b1e;_0x32bec1[_0x477d('0x1562')]=_0x492f84;_0x32bec1['reply']=_0x28515d;_0x32bec1[_0x477d('0x12a0')]=_0x3f00fe;_0x32bec1['fileAdded']=_0x4b68ab;_0x32bec1['fileSuccess']=_0x31b451;_0x32bec1[_0x477d('0x17f5')]=_0x2ea15e;_0x32bec1['onInteractionSave']=_0x1820ca;_0x32bec1[_0x477d('0x17f6')]=_0x10dd7a;_0x32bec1[_0x477d('0x17f7')]=_0x12b371;_0x32bec1[_0x477d('0x17f8')]=_0x52dd8c;_0x32bec1[_0x477d('0x16c2')]=_0x302940;_0x32bec1[_0x477d('0x160a')]=_0x1df2c6;_0x32bec1[_0x477d('0x15fd')]=_0x28ccee;_0x32bec1[_0x477d('0x17f9')]=![];_0x32bec1[_0x477d('0x17fa')]=_0x4e7fc3;_0x32bec1[_0x477d('0x17fb')]=_0x541e2a;_0x32bec1['markAsUnread']=_0xb9f0dc;_0x32bec1[_0x477d('0x160b')]=_0x289d50;_0x32bec1[_0x477d('0x17fc')]=_0x15ae5a;_0x32bec1[_0x477d('0x17fd')]=_0x3ad462;_0x32bec1['htmlToPlaintext']=_0x339a2f;_0x32bec1[_0x477d('0x17fe')]=_0x481363;_0x32bec1[_0x477d('0x17ff')]=_0x16805c;_0x32bec1[_0x477d('0x1800')]=_0x30e969;_0x32bec1[_0x477d('0x1493')]={'scrollEl':_0x477d('0x1494')};function _0x162b1e(){_0x2bf5cc[_0x477d('0x380')]['getChatWebsites']({'id':_0x32bec1[_0x477d('0x380')]['id'],'nolimit':!![]})['$promise']['then'](function(_0x25b295){_0x32bec1['chatAccounts']=_0x25b295||{'count':0x0,'rows':[]};});}function _0x492f84(){_0x2bf5cc[_0x477d('0x380')]['getLists']({'id':_0x32bec1['user']['id'],'nolimit':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x468088){_0x32bec1[_0x477d('0x1801')]=_0x468088||{'count':0x0,'rows':[]};});}function _0x166eab(){_0x2bf5cc[_0x477d('0x380')][_0x477d('0x1607')]({'id':_0x32bec1[_0x477d('0x380')]['id'],'nolimit':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x392f54){_0x32bec1[_0x477d('0x160d')]=_0x392f54||{'count':0x0,'rows':[]};})['catch'](function(_0x23d619){if(_0x23d619[_0x477d('0x451')]&&_0x23d619[_0x477d('0x451')][_0x477d('0xd67')]&&_0x23d619['data'][_0x477d('0xd67')][_0x477d('0x79')]){_0x32bec1[_0x477d('0xd67')]=_0x23d619[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x23d619['toString'](),'type':_0x477d('0x1627')}];for(var _0x4cf9f7=0x0;_0x4cf9f7<_0x23d619[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x4cf9f7+=0x1){_0xf5f21e[_0x477d('0x44a')]({'title':_0x23d619['data'][_0x477d('0xd67')][_0x4cf9f7][_0x477d('0x439')],'msg':_0x23d619[_0x477d('0x451')][_0x477d('0xd67')][_0x4cf9f7][_0x477d('0x452')]});}}else{_0xf5f21e[_0x477d('0x44a')]({'title':_0x23d619['status']?'API:'+_0x23d619[_0x477d('0x3c3')]+'\x20-\x20'+_0x23d619['statusText']:_0x477d('0x1627'),'msg':_0x23d619[_0x477d('0x451')]?JSON['stringify'](_0x23d619[_0x477d('0x451')][_0x477d('0x452')]):_0x23d619[_0x477d('0x453')]()});}});}function _0x1ff76f(){_0x2bf5cc[_0x477d('0x380')]['getMailAccounts']({'id':_0x32bec1[_0x477d('0x380')]['id'],'nolimit':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x1cb692){_0x32bec1[_0x477d('0xf33')]=_0x1cb692||{'count':0x0,'rows':[]};});}function _0x20acf2(){_0x2bf5cc[_0x477d('0x380')]['getFaxAccounts']({'id':_0x32bec1[_0x477d('0x380')]['id'],'nolimit':!![]})[_0x477d('0x38b')]['then'](function(_0x3ef435){_0x32bec1[_0x477d('0x160c')]=_0x3ef435||{'count':0x0,'rows':[]};});}function _0x1f88f9(){_0x2bf5cc[_0x477d('0x380')][_0x477d('0x1605')]({'id':_0x32bec1[_0x477d('0x380')]['id'],'nolimit':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x3fdd47){_0x32bec1[_0x477d('0xf38')]=_0x3fdd47||{'count':0x0,'rows':[]};});}function _0x4cade0(){_0x2bf5cc[_0x477d('0x380')][_0x477d('0x1606')]({'id':_0x32bec1['user']['id'],'nolimit':!![]})['$promise']['then'](function(_0x354600){_0x32bec1['whatsappAccounts']=_0x354600||{'count':0x0,'rows':[]};});}function _0x30e969(){var _0x1dea0c=_0xf328b3[_0x477d('0x54a')]();if(_0x32bec1[_0x477d('0x1802')]){_0x32bec1[_0x477d('0x1802')]['offset']=_0x32bec1[_0x477d('0x15fb')][_0x477d('0xf2')][_0x477d('0x79')];return _0x2bf5cc[_0x32bec1[_0x477d('0xe96')]['channel']+_0x477d('0x14bc')]['getMessages'](_0x32bec1[_0x477d('0x1802')])['$promise'][_0x477d('0x76')](function(_0xebc3f0){for(var _0x18fcb8=0x0;_0x18fcb8<_0xebc3f0[_0x477d('0xf2')][_0x477d('0x79')];_0x18fcb8+=0x1){_0x32bec1['messages'][_0x477d('0xf2')][_0x477d('0x3a7')](_0xebc3f0[_0x477d('0xf2')][_0x18fcb8]);if(!_0x32bec1['interaction'][_0x477d('0x1351')]&&_0xebc3f0[_0x477d('0xf2')][_0x18fcb8][_0x477d('0x603')]==='in'&&!_0xebc3f0[_0x477d('0xf2')][_0x18fcb8]['read']){_0x2bf5cc[_0x32bec1['tab'][_0x477d('0x1599')]+'Message']['accept']({'id':_0xebc3f0[_0x477d('0xf2')][_0x18fcb8]['id'],'UserId':_0x32bec1[_0x477d('0x380')]['id']});_0x32bec1[_0x477d('0x1803')][_0x477d('0x3a7')](_0xebc3f0[_0x477d('0xf2')][_0x18fcb8]['id']);}}return _0x1dea0c['resolve'](_0xebc3f0);})[_0x477d('0xf8')](function(_0x1fb5f5){return _0x1dea0c[_0x477d('0x691')](_0x1fb5f5);});}return _0x1dea0c['reject']();}function _0xec4360(_0x41f2cc,_0x23f712){_0x32bec1[_0x477d('0xe96')]=_0x41f2cc;_0x32bec1[_0x477d('0xe96')][_0x477d('0x11a6')]=!![];_0x32bec1['tab'][_0x477d('0x1596')]=0x0;_0x32bec1[_0x477d('0xc8e')]=_0x23f712||{};if(_0x32bec1[_0x477d('0xe96')]&&_0x32bec1[_0x477d('0xe96')][_0x477d('0x1599')]&&_0x32bec1[_0x477d('0xe96')][_0x477d('0x1364')]){_0x32bec1[_0x477d('0x1364')]=_0x32bec1[_0x477d('0xe96')][_0x477d('0x1364')];_0x2bf5cc[_0x32bec1[_0x477d('0xe96')][_0x477d('0x1599')]+'Interaction']['get']({'id':_0x32bec1[_0x477d('0xe96')][_0x477d('0x1364')]['id'],'includeAll':!![]})[_0x477d('0x38b')]['then'](function(_0x205c3c){if(_0x205c3c){_0x32bec1[_0x477d('0x1364')]=_0x205c3c;_0x32bec1['tab'][_0x477d('0x1364')]=_0x205c3c;}_0x32bec1[_0x477d('0xe96')][_0x477d('0x11a6')]=_0x32bec1[_0x477d('0x1364')]['closed'];_0x32bec1['queryMessage']={'id':_0x32bec1[_0x477d('0x1364')]['id'],'includeAll':!![]};if(_0x32bec1[_0x477d('0xe96')][_0x477d('0x1599')]===_0x477d('0x1d6')){_0x32bec1[_0x477d('0x1802')][_0x477d('0x568')]='-id';_0x32bec1[_0x477d('0x1802')][_0x477d('0x91c')]=0x0;_0x32bec1[_0x477d('0x1802')][_0x477d('0x91d')]=0x3;}else{_0x32bec1[_0x477d('0x1802')][_0x477d('0x568')]='id';_0x32bec1[_0x477d('0x1802')][_0x477d('0x128e')]=!![];}return _0x2bf5cc[_0x32bec1[_0x477d('0xe96')]['channel']+_0x477d('0x14bc')][_0x477d('0x1804')](_0x32bec1[_0x477d('0x1802')])[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x151327){_0x32bec1['messages']=_0x151327||{'count':0x0,'rows':[]};return _0x2bf5cc[_0x32bec1[_0x477d('0xe96')][_0x477d('0x1599')]===_0x477d('0xb6')?'chatWebsite':_0x32bec1[_0x477d('0xe96')]['channel']+'Account']['get']({'id':_0x32bec1[_0x477d('0x1364')][_0x32bec1[_0x477d('0xe96')]['channel']===_0x477d('0xb6')?'ChatWebsiteId':_[_0x477d('0x12e0')](_0x32bec1[_0x477d('0xe96')]['channel'])+_0x477d('0x1805')]})['$promise'];})[_0x477d('0x76')](function(_0x360110){_0x32bec1[_0x477d('0x15e5')]=_0x360110;_0x32bec1[_0x477d('0xe96')]['title']=_0x32bec1[_0x477d('0x15e5')][_0x477d('0x670')]||_0x32bec1[_0x477d('0x15e5')]['name'];if(_0x32bec1[_0x477d('0x1364')]['ContactId']){return _0x2bf5cc[_0x477d('0xb6c')][_0x477d('0x376')]({'id':_0x32bec1[_0x477d('0x1364')]['ContactId']})['$promise'];}})['then'](function(_0x48e092){if(_0x48e092){_0x32bec1[_0x477d('0x100')]=_0x48e092;}_0x32bec1[_0x477d('0x15fc')]=!![];if(_0x32bec1[_0x477d('0x100')]){_0x37f1bd(_0x32bec1[_0x477d('0x100')]);_0x32bec1['tab'][_0x477d('0x49a')]+=_0x477d('0x44c')+_0x32bec1[_0x477d('0x100')]['firstName'];}else{_0x32bec1['tab'][_0x477d('0x49a')]+=_0x477d('0x44c')+_0xe269ef['instant'](_0x32bec1[_0x477d('0xe96')][_0x477d('0x1599')][_0x477d('0x44f')]()+_0x477d('0x1806'));}return _0x2bf5cc[_0x477d('0x380')]['get']({'fields':_0x477d('0x14b9'),'nolimit':!![]})[_0x477d('0x38b')];})['then'](function(_0x156e5d){_0x32bec1['users']=_0x156e5d||{'count':0x0,'rows':[]};_0x32bec1[_0x477d('0x14ba')]=_[_0x477d('0x14bb')](_[_0x477d('0xdb5')](_0x32bec1['users'][_0x477d('0xf2')],'id'),_0x477d('0xcd'));})[_0x477d('0x76')](function(){if(_0x32bec1[_0x477d('0xe96')]['channel']&&_0x32bec1['interaction']){return _0x2bf5cc[_0x477d('0x380')]['add'+_['upperFirst'](_0x32bec1[_0x477d('0xe96')][_0x477d('0x1599')])+_0x477d('0x15a8')]({'id':_0x32bec1[_0x477d('0x380')]['id'],'ids':[_0x32bec1['interaction']['id']]});}})['then'](function(){return _0x2bf5cc['mailSubstatus']['get']({'sort':_0x477d('0x94'),'nolimit':!![]})['$promise'];})['then'](function(_0x1cc063){_0x32bec1[_0x477d('0x1769')]=_0x1cc063||{'count':0x0,'rows':[]};})[_0x477d('0x76')](function(){return _0x32bec1['getMailAccounts']();})[_0x477d('0x76')](function(){return _0x32bec1[_0x477d('0x1628')]();})['then'](function(){return _0x32bec1[_0x477d('0x1605')]();})[_0x477d('0x76')](function(){return _0x32bec1[_0x477d('0x1606')]();})[_0x477d('0x76')](function(){return _0x32bec1[_0x477d('0x1607')]();})[_0x477d('0x76')](function(){return _0x32bec1[_0x477d('0x1223')]();})['then'](function(){return _0x32bec1[_0x477d('0x1562')]();})['catch'](function(_0x73c69){_0x32bec1[_0x477d('0x15fc')]=!![];})['finally'](function(){_0x48b7ef();_0xbcbdb5();_0x2b228a['on'](_0x32bec1[_0x477d('0xe96')][_0x477d('0x1599')]+_0x477d('0x1807'),_0x32bec1['onMessageSave']);_0x2b228a['on'](_0x32bec1[_0x477d('0xe96')][_0x477d('0x1599')]+_0x477d('0x1808'),_0x32bec1[_0x477d('0x17f5')]);_0x2b228a['on'](_0x32bec1[_0x477d('0xe96')][_0x477d('0x1599')]+_0x477d('0x1809'),_0x32bec1[_0x477d('0x180a')]);_0x2b228a['on'](_0x32bec1[_0x477d('0xe96')][_0x477d('0x1599')]+_0x477d('0x180b'),_0x32bec1[_0x477d('0x180a')]);_0x2b228a['on'](_0x477d('0x180c')+_0x32bec1[_0x477d('0xe96')][_0x477d('0x1599')]+_0x477d('0x180d'),_0x32bec1[_0x477d('0x17fe')]);_0x2b228a['on']('user_has_'+_0x32bec1[_0x477d('0xe96')][_0x477d('0x1599')]+'_interactions:remove',_0x32bec1[_0x477d('0x17ff')]);_0x32bec1['tab'][_0x477d('0x180e')]=_0x32bec1[_0x477d('0xe96')][_0x477d('0x180e')]?_0x32bec1[_0x477d('0xe96')][_0x477d('0x180e')]:'';_0x32bec1[_0x477d('0x17e9')]=!![];if(_0x32bec1[_0x477d('0xe96')][_0x477d('0x1599')]==='mail'){_0x32bec1[_0x477d('0x15e4')]=_0x366d8a['getByInteraction'](_0x32bec1[_0x477d('0xe96')][_0x477d('0x1364')]['id']);if(_0x32bec1[_0x477d('0xe96')][_0x477d('0x15b9')]){if(_0x32bec1[_0x477d('0xe96')][_0x477d('0x1364')][_0x477d('0x1351')]){_0x366d8a[_0x477d('0x180f')](_0x32bec1[_0x477d('0xe96')]['interaction']['id']);_0x32bec1[_0x477d('0x15e4')]=null;}else{_0x567605();}}}});}}function _0x289d50(_0xb54ed){if(_0xb54ed[_0x477d('0x14b6')]){return _['includes'](_['map'](_0x32bec1['faxAccounts']?_0x32bec1['faxAccounts'][_0x477d('0xf2')]:[],'id'),_0xb54ed[_0x477d('0x14b6')]);}else if(_0xb54ed[_0x477d('0x14b7')]){return _[_0x477d('0x3a4')](_[_0x477d('0x3cb')](_0x32bec1['openchannelAccounts']?_0x32bec1['openchannelAccounts'][_0x477d('0xf2')]:[],'id'),_0xb54ed[_0x477d('0x14b7')]);}else if(_0xb54ed['SmsAccountId']){return _['includes'](_[_0x477d('0x3cb')](_0x32bec1['smsAccounts']?_0x32bec1[_0x477d('0xf38')][_0x477d('0xf2')]:[],'id'),_0xb54ed[_0x477d('0x160e')]);}else if(_0xb54ed[_0x477d('0x1597')]){return _[_0x477d('0x3a4')](_['map'](_0x32bec1[_0x477d('0x160f')]?_0x32bec1[_0x477d('0x160f')][_0x477d('0xf2')]:[],'id'),_0xb54ed['WhatsappAccountId']);}else if(_0xb54ed['MailAccountId']){return _[_0x477d('0x3a4')](_[_0x477d('0x3cb')](_0x32bec1[_0x477d('0xf33')]?_0x32bec1[_0x477d('0xf33')]['rows']:[],'id'),_0xb54ed[_0x477d('0x14b8')]);}else if(_0xb54ed[_0x477d('0x1237')]){return _[_0x477d('0x3a4')](_['map'](_0x32bec1[_0x477d('0x1610')]?_0x32bec1[_0x477d('0x1610')][_0x477d('0xf2')]:[],'id'),_0xb54ed[_0x477d('0x1237')]);}else if(_0xb54ed[_0x477d('0x1611')]){return!![];}return![];}function _0x481363(_0x3bfaed){var _0x5bde90;if(_0x32bec1[_0x477d('0x1364')]['id']==_0x3bfaed[_[_0x477d('0x1367')](_0x32bec1[_0x477d('0xe96')][_0x477d('0x1599')])+_0x477d('0x1810')]){if(_0x32bec1['interaction']['Users']){_0x5bde90=_[_0x477d('0x10a')](_0x32bec1[_0x477d('0x1364')][_0x477d('0xdf4')],{'id':_0x3bfaed[_0x477d('0x125b')]});}if(!_0x5bde90){_0x32bec1[_0x477d('0x1364')][_0x477d('0xdf4')][_0x477d('0x3a7')]({'id':_0x3bfaed[_0x477d('0x125b')]});}}}function _0x16805c(_0x44c76d){if(_0x32bec1[_0x477d('0x1364')]['id']==_0x44c76d[_[_0x477d('0x1367')](_0x32bec1['tab'][_0x477d('0x1599')])+_0x477d('0x1810')]){if(_0x32bec1[_0x477d('0x1364')][_0x477d('0xdf4')]){_[_0x477d('0x39c')](_0x32bec1['interaction'][_0x477d('0xdf4')],{'id':_0x44c76d[_0x477d('0x125b')]});}}}function _0x12b371(_0x1d0ffa){if(_0x1d0ffa){try{_[_0x477d('0x1811')][_0x477d('0x1812')]=/{{([\s\S]+?)}}/g;var _0x2c8f41=_[_0x477d('0xbb2')](_0x1d0ffa[_0x477d('0x3b6')]);var _0x14e019={'user':_0x32bec1[_0x477d('0x380')],'account':_0x32bec1[_0x477d('0x15e5')],'interaction':_0x32bec1[_0x477d('0x1364')],'contact':_0x32bec1['interaction']&&_0x32bec1[_0x477d('0x1364')]['Contact']?_0x32bec1[_0x477d('0x1364')][_0x477d('0x1370')]:{}};_0x32bec1[_0x477d('0xe96')][_0x477d('0x180e')]+='\x20'+_0x2c8f41(_0x14e019);_0x32bec1['ctrlMethods']['setText'](_0x32bec1[_0x477d('0xe96')][_0x477d('0x180e')]);}catch(_0x52b737){_0x32bec1[_0x477d('0xe96')][_0x477d('0x180e')]+='\x20'+_0x1d0ffa['value'];_0x32bec1[_0x477d('0x4b4')]['setText'](_0x32bec1[_0x477d('0xe96')][_0x477d('0x180e')]);}_0x32bec1['selectedItem']=null;_0x32bec1['changeDisplayCannedAnswerInputValue']();}}function _0x10dd7a(_0x7f54a){var _0x428d6d=_0xf328b3[_0x477d('0x54a')]();var _0x4406cc=[];var _0xf4a869={};var _0x51905a=_0x32bec1['tab'][_0x477d('0x1599')]===_0x477d('0xb6')?_0x477d('0x1237'):_[_0x477d('0x12e0')](_0x32bec1[_0x477d('0xe96')]['channel'])+_0x477d('0x1805');_0xf4a869[_0x477d('0x3b3')]=_0x7f54a;_0xf4a869[_0x51905a]=_0x32bec1[_0x477d('0x15e5')]['id'];_0x2bf5cc[_0x477d('0xb91')][_0x477d('0x376')](_0xf4a869)[_0x477d('0x38b')][_0x477d('0x76')](function(_0x2a25f7){_0x4406cc=_[_0x477d('0x3a9')](_0x4406cc,_0x2a25f7['rows']);return _0x2bf5cc['cannedAnswer']['get']({'filter':_0x7f54a})[_0x477d('0x38b')];})['then'](function(_0x404ca5){_0x4406cc=_['concat'](_0x4406cc,_[_0x477d('0x3b3')](_0x404ca5[_0x477d('0xf2')],function(_0x5e10af){return!_0x5e10af[_0x477d('0x14b8')]&&!_0x5e10af[_0x477d('0x14b6')]&&!_0x5e10af[_0x477d('0x160e')]&&!_0x5e10af[_0x477d('0x1597')]&&!_0x5e10af['OpenchannelAccountId']&&!_0x5e10af[_0x477d('0x1237')];}));_0x428d6d['resolve'](_0x4406cc);})[_0x477d('0xf8')](function(_0x164bb1){_0x428d6d[_0x477d('0x691')](_0x164bb1);});return _0x428d6d['promise'];}function _0x25a3c0(_0x47ccba,_0x3c8271){try{if(_0x32bec1[_0x477d('0xe96')]&&!_0x32bec1[_0x477d('0xe96')][_0x477d('0x1813')]){_0x2371d3[_0x477d('0x723')][_0x477d('0x723')]['$parent']['vm'][_0x477d('0x15d5')](_0x3c8271||_0x32bec1[_0x477d('0x100')]);}}catch(_0x458cba){_0xf5f21e['error']({'title':'ERROR\x20OPEN\x20CONTACT','msg':_0x477d('0x1814')});}}function _0x3bb4b3(_0x6786e0,_0xc17349){try{if(_0xc17349[_0x477d('0x14b8')]){return _0x2371d3[_0x477d('0x723')][_0x477d('0x723')][_0x477d('0x723')]['vm']['addInteractionTab'](_0x477d('0x1d6'),_0xc17349);}else if(_0xc17349[_0x477d('0x1237')]){return _0x2371d3[_0x477d('0x723')][_0x477d('0x723')][_0x477d('0x723')]['vm'][_0x477d('0x1588')](_0x477d('0xb6'),_0xc17349);}else if(_0xc17349[_0x477d('0x160e')]){return _0x2371d3[_0x477d('0x723')]['$parent'][_0x477d('0x723')]['vm'][_0x477d('0x1588')]('sms',_0xc17349);}else if(_0xc17349[_0x477d('0x1597')]){return _0x2371d3[_0x477d('0x723')]['$parent'][_0x477d('0x723')]['vm'][_0x477d('0x1588')](_0x477d('0x35d'),_0xc17349);}else if(_0xc17349[_0x477d('0x14b7')]){return _0x2371d3['$parent']['$parent'][_0x477d('0x723')]['vm'][_0x477d('0x1588')](_0x477d('0x22a'),_0xc17349);}else if(_0xc17349[_0x477d('0x14b6')]){return _0x2371d3[_0x477d('0x723')][_0x477d('0x723')][_0x477d('0x723')]['vm'][_0x477d('0x1588')](_0x477d('0x154'),_0xc17349);}}catch(_0x489b8a){_0xf5f21e[_0x477d('0x44a')]({'title':_0x477d('0x1815'),'msg':_0x477d('0x1612')});}}function _0x4f47e1(){_0x37f8d9['show']({'controller':'TagInteractionDialogController','controllerAs':'vm','templateUrl':_0x477d('0x1816'),'parent':angular[_0x477d('0x398')](_0x1fffe5[_0x477d('0x399')]),'clickOutsideToClose':!![],'skipHide':Boolean(_0x32bec1[_0x477d('0xe96')][_0x477d('0x1813')]),'resolve':{'tags':['apiResolver',function(_0x1f91ae){return _0x1f91ae[_0x477d('0x5a')]('tag@get',{'sort':_0x477d('0x94'),'nolimit':!![],'fields':_0x477d('0x1817')});}]},'locals':{'channel':_0x32bec1[_0x477d('0xe96')]['channel'],'interaction':_0x32bec1[_0x477d('0xe96')][_0x477d('0x1364')]}});}function _0x12af32(){var _0x1eac06=_0x32bec1['user'][_0x477d('0x624')]||_0x32bec1[_0x477d('0x380')]['chatPause']||_0x32bec1[_0x477d('0x380')][_0x477d('0x13b9')]||_0x32bec1[_0x477d('0x380')][_0x477d('0x13d1')]||_0x32bec1[_0x477d('0x380')]['faxPause'];var _0x549fd3=!_0x32bec1[_0x477d('0xe96')][_0x477d('0x1364')][_0x477d('0x15a4')][_0x477d('0x15a0')];_0x37f8d9[_0x477d('0x395')]({'controller':_0x477d('0x15a5'),'controllerAs':'vm','templateUrl':'app/main/apps/dashboards/views/general/agent/interaction/dispose/dialog.html','parent':angular[_0x477d('0x398')](_0x1fffe5['body']),'clickOutsideToClose':_0x549fd3,'escapeToClose':_0x549fd3,'onRemoving':function(_0x54ac8b,_0x511d2f){if(_0x32bec1[_0x477d('0x380')]&&_0x32bec1[_0x477d('0x1364')][_0x477d('0x15a4')][_0x477d('0x15a0')]&&!_0x1eac06){_0x2bf5cc[_0x477d('0x380')][_0x477d('0x15a7')]({'id':_0x32bec1[_0x477d('0x380')]['id']})[_0x477d('0x38b')][_0x477d('0xf8')](function(_0x3602cf){console['error'](_0x3602cf);});}},'locals':{'user':_0x32bec1[_0x477d('0x380')],'channel':_0x32bec1[_0x477d('0xe96')][_0x477d('0x1599')],'interaction':_0x32bec1['tab'][_0x477d('0x1364')]}})[_0x477d('0x76')](function(_0x27a53a){_0x32bec1[_0x477d('0xe96')][_0x477d('0x11a6')]=Boolean(_0x27a53a);if(_0x27a53a){_0x2371d3['$parent'][_0x477d('0x723')][_0x477d('0x723')]['vm'][_0x477d('0x158a')](_0x32bec1[_0x477d('0xe96')]);}});}function _0x3f9511(_0x4f6653,_0x5438a2){if(!_0x32bec1['tab'][_0x477d('0x452')]||_0x32bec1[_0x477d('0x15e4')]){_0x32bec1[_0x477d('0xe96')][_0x477d('0x452')]=_0x5438a2;}_0x37f8d9[_0x477d('0x395')]({'controller':_0x477d('0x1774'),'controllerAs':'vm','templateUrl':_0x477d('0x1818'),'parent':angular[_0x477d('0x398')](_0x1fffe5[_0x477d('0x399')]),'clickOutsideToClose':![],'locals':{'account':_0x32bec1[_0x477d('0x15e5')],'message':_0x32bec1[_0x477d('0xe96')][_0x477d('0x452')],'type':_0x4f6653,'interaction':_0x32bec1[_0x477d('0x1364')]},'fullscreen':!![],'skipHide':Boolean(_0x32bec1['tab'][_0x477d('0x1813')])})[_0x477d('0x76')](function(_0x1a51d7){if(_0x1a51d7){if(_0x1a51d7[_0x477d('0x452')]&&_0x1a51d7['message'][_0x477d('0x175e')]){if(_0x32bec1['draft']){_0x366d8a['update']({'id':_0x32bec1[_0x477d('0x15e4')]['id'],'channel':_0x477d('0x1d6'),'account':_0x32bec1['account'],'message':_0x1a51d7[_0x477d('0x452')],'contact':_0x32bec1[_0x477d('0x100')],'interaction':_0x32bec1[_0x477d('0x1364')]});}else{_0x366d8a[_0x477d('0x440')]({'channel':_0x477d('0x1d6'),'account':_0x32bec1[_0x477d('0x15e5')],'message':_0x1a51d7['message'],'contact':_0x32bec1[_0x477d('0x100')],'interaction':_0x32bec1['interaction']});}_0x32bec1[_0x477d('0x15e4')]=_0x366d8a[_0x477d('0x1819')](_0x32bec1[_0x477d('0xe96')][_0x477d('0x1364')]['id']);}else{var _0x5438a2=_0x1a51d7;if(_0x5438a2){_0x9f666a(_0x5438a2);}if(_0x5438a2['Interaction']&&_0x32bec1['interaction']&&_0x32bec1[_0x477d('0x1364')]['id']){_0x5438a2[_0x477d('0x14bc')]['id']=_0x32bec1['interaction']['id'];_0x2bf5cc[_0x477d('0xac3')][_0x477d('0x710')](_0x5438a2['Interaction'])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x214a66){if(_0x214a66&&_0x214a66['closed']){_0x32bec1[_0x477d('0xe96')][_0x477d('0x11a6')]=!![];_0x32bec1[_0x477d('0x1364')][_0x477d('0x1351')]=!![];_0x12af32();}else if(_0x5438a2['Interaction'][_0x477d('0x1765')]!==null){_0x32bec1['tab'][_0x477d('0x11a6')]=!![];_0x32bec1['tab'][_0x477d('0x1364')]['substatus']=_0x5438a2[_0x477d('0x14bc')][_0x477d('0x1765')];_0x2371d3['$parent'][_0x477d('0x723')]['$parent']['vm'][_0x477d('0x158a')](_0x32bec1[_0x477d('0xe96')]);}})[_0x477d('0xf8')](function(_0xf10cd0){console[_0x477d('0x44a')](_0xf10cd0);});}}}})['finally'](function(){_0x32bec1['tab'][_0x477d('0x15b9')]=![];});}function _0x5f065f(_0x4d9512,_0x3b1a50){if(_0x3b1a50[_0x477d('0x181a')]){var _0x45aeae=_[_0x477d('0x10a')](_0x32bec1[_0x477d('0x15fb')][_0x477d('0xf2')],{'messageId':_0x3b1a50[_0x477d('0x181a')]});if(_0x45aeae){_0x3f9511(_0x4d9512,_0x45aeae);}else{return _0x2bf5cc['mailMessage'][_0x477d('0x376')]({'messageId':_0x3b1a50[_0x477d('0x181a')]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x143cbf){_0x3f9511(_0x4d9512,_0x143cbf&&_0x143cbf[_0x477d('0x3bb')]?_0x143cbf['rows'][0x0]:undefined);})[_0x477d('0xf8')](function(_0x48a7a0){console[_0x477d('0x44a')](_0x48a7a0);_0x3f9511(_0x4d9512,undefined);});}}else{_0x3f9511(_0x4d9512,_0x3b1a50);}}function _0x188660(_0x22d92e){var _0xd6c35f={'to':[]};_0xd6c35f['to']['push'](_0x32bec1['contact'][_0x477d('0x154')]);_0x37f8d9[_0x477d('0x395')]({'controller':_0x477d('0x175c'),'controllerAs':'vm','templateUrl':_0x477d('0x175d'),'parent':angular[_0x477d('0x398')](_0x1fffe5['body']),'clickOutsideToClose':![],'locals':{'account':_0x32bec1[_0x477d('0x15e5')],'message':_0xd6c35f,'type':_0x22d92e},'fullscreen':!![]})[_0x477d('0x76')](function(_0x5efe40){return _0x2bf5cc['faxAccount'][_0x477d('0xa08')]({'id':_0x32bec1[_0x477d('0x15e5')]['id']},_0x5efe40)[_0x477d('0x38b')][_0x477d('0x76')](function(_0x10e09f){_0xf5f21e['success']({'title':'Message\x20properly\x20sent!','msg':_0x477d('0x161d')});_0x2371d3[_0x477d('0x723')]['vm'][_0x477d('0x1588')]('fax',_0x10e09f);})['catch'](function(_0x2f9c31){if(_0x2f9c31[_0x477d('0x451')]&&_0x2f9c31[_0x477d('0x451')][_0x477d('0xd67')]&&_0x2f9c31[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){for(var _0x5d2b0e=0x0;_0x5d2b0e<_0x2f9c31['data']['errors'][_0x477d('0x79')];_0x5d2b0e++){_0xf5f21e[_0x477d('0x44a')]({'title':_0x2f9c31[_0x477d('0x451')][_0x477d('0xd67')][_0x5d2b0e][_0x477d('0x439')],'msg':_0x2f9c31['data'][_0x477d('0xd67')][_0x5d2b0e][_0x477d('0x452')]});}}else{_0xf5f21e['error']({'title':_0x477d('0x161e'),'msg':_0x2f9c31['data']?JSON['stringify'](_0x2f9c31['data']):_0x2f9c31[_0x477d('0x452')]||_0x2f9c31[_0x477d('0x453')]()});}});});}function _0x3c1bc7(_0x113841,_0x52e030){_0x37f8d9[_0x477d('0x395')]({'controller':_0x477d('0x17c3'),'controllerAs':'vm','templateUrl':_0x477d('0x17c5'),'parent':angular[_0x477d('0x398')](_0x1fffe5[_0x477d('0x399')]),'clickOutsideToClose':![],'locals':{'account':_0x32bec1[_0x477d('0x15e5')],'message':_0x52e030,'type':_0x113841},'fullscreen':!![],'skipHide':Boolean(_0x32bec1['tab']['spy'])})[_0x477d('0x76')](function(_0x5c8dfa){if(_0x5c8dfa){_0x9f666a(_0x5c8dfa);}});}function _0x320045(_0x401aa3,_0x407260){_0x37f8d9[_0x477d('0x395')]({'controller':'ComposeWhatsappInteractionDialogController','controllerAs':'vm','templateUrl':_0x477d('0x17e1'),'parent':angular[_0x477d('0x398')](_0x1fffe5['body']),'clickOutsideToClose':![],'locals':{'account':_0x32bec1[_0x477d('0x15e5')],'message':_0x407260,'type':_0x401aa3},'fullscreen':!![],'skipHide':Boolean(_0x32bec1[_0x477d('0xe96')]['spy'])})['then'](function(_0x50b6b9){if(_0x50b6b9){_0x9f666a(_0x50b6b9);}});}function _0x1314a2(){if(_0x32bec1[_0x477d('0x1364')]){var _0x435614=_[_0x477d('0x181b')](_0x32bec1['messages']['rows'],function(_0x2e7780){return _0x2e7780[_0x477d('0x603')]==='in';});if(_0x435614){_0x37f8d9[_0x477d('0x395')]({'controller':_0x477d('0x181c'),'controllerAs':'vm','templateUrl':_0x477d('0x181d'),'parent':angular[_0x477d('0x398')](_0x1fffe5['body']),'clickOutsideToClose':![],'locals':{'account':_0x32bec1[_0x477d('0x15e5')],'interaction':_0x32bec1['interaction'],'message':_0x435614,'channel':_0x32bec1[_0x477d('0xe96')][_0x477d('0x1599')]}})[_0x477d('0x76')](function(_0x147c53){_0x32bec1[_0x477d('0xe96')][_0x477d('0x11a6')]=Boolean(_0x147c53);if(_0x147c53){_0x2371d3['$parent'][_0x477d('0x723')][_0x477d('0x723')]['vm'][_0x477d('0x158a')](_0x32bec1[_0x477d('0xe96')]);}});}else{_0xf5f21e['error']({'title':'Invalid\x20transfer','msg':_0x477d('0x181e')});}}}function _0x37ba81(_0x5b6036){var _0x12b795={};var _0x149a78=_0x32bec1[_0x477d('0xe96')][_0x477d('0x1599')]===_0x477d('0xb6')?_0x477d('0x1237'):_['capitalize'](_0x32bec1[_0x477d('0xe96')][_0x477d('0x1599')])+'AccountId';_0x12b795[_0x149a78]=_0x32bec1[_0x477d('0x1364')][_0x149a78][_0x477d('0x453')]();_0x12b795[_[_0x477d('0x12e0')](_0x32bec1[_0x477d('0xe96')][_0x477d('0x1599')])+'InteractionId']=_0x32bec1[_0x477d('0x1364')]['id'];if(_0x32bec1[_0x477d('0xe96')]['channel']===_0x477d('0x26e')||_0x32bec1[_0x477d('0xe96')][_0x477d('0x1599')]==='whatsapp'){_0x12b795['phone']=_0x32bec1['interaction'][_0x477d('0xf46')];}if(_0x5b6036){_0x12b795[_0x477d('0x125b')]=_0x32bec1[_0x477d('0x380')]['id'];_0x12b795[_0x477d('0x1624')]=_0x32bec1['interaction']['ContactId'];_0x12b795['body']=_0x5b6036;}return _0x12b795;}function _0x4b68ab(_0x51826c){if(_0x51826c[_0x477d('0x117b')]>_0x353868){_0xf5f21e[_0x477d('0x44a')]({'title':_0x477d('0x12a6'),'msg':_0x477d('0x133e')+_0x4ec0e3+'MB'});return![];}return!![];}function _0x31b451(_0x5d64df,_0x329caa){var _0x1b4c28=JSON[_0x477d('0x77')](_0x329caa);var _0x19f904=_0x1b4c28[_0x477d('0x94')];if(_0x32bec1['tab'][_0x477d('0x1599')]===_0x477d('0xb6')){_0x19f904=_0x477d('0x181f')+(_0x32bec1['account']['remote']?_0x32bec1['account'][_0x477d('0x623')]:_0x474f83[_0x477d('0x3ce')]()+'://'+_0x474f83[_0x477d('0x3c9')]())+_0x477d('0x1820')+_0x32bec1[_0x477d('0x1364')]['id']+_0x477d('0x1821')+_0x1b4c28['id']+_0x477d('0x1822')+_0x32bec1[_0x477d('0x15e5')][_0x477d('0x391')]+'\x22\x20target=\x22_self\x22>'+_0x1b4c28['name']+_0x477d('0x1823');}_0x9f666a({'body':_0x19f904,'AttachmentId':_0x1b4c28['id']});}function _0x3f00fe(){_0x32bec1[_0x477d('0x129f')][_0x477d('0xae')][_0x477d('0x12a8')][_0x477d('0x3c0')]={'X-Requested-With':_0x477d('0x12a9'),'Authorization':_0x477d('0x12aa')+_0x43ee20[_0x477d('0x376')](_0x477d('0x389'))};_0x32bec1[_0x477d('0x129f')]['flow'][_0x477d('0x12a0')]();}function _0x28515d(_0x32049d,_0x48b5b0){if(_0x32049d&&_0x32049d[_0x477d('0x673')]===0xd&&_0x32049d[_0x477d('0x1824')]){return;}if(_0x32049d&&_0x32049d[_0x477d('0x673')]!==0xd){return;}if(_0x48b5b0[_0x477d('0x6ac')]()===''){return;}_0x9f666a(_0x37ba81(_0x48b5b0[_0x477d('0x409')](/\n$/,'')));}function _0xbcbdb5(){if(_0x32bec1[_0x477d('0xe96')]['channel']!==_0x477d('0x1d6')){_0x243cd3(function(){var _0x9214d3=angular['element'](_0x1fffe5[_0x477d('0x10a')](_0x477d('0x1825')+_0x32bec1[_0x477d('0xe96')]['id']+'\x27]'));if(_0x9214d3&&_0x9214d3[0x0]){_0x9214d3[0x0]['scrollTop']=_0x9214d3[0x0][_0x477d('0x70d')];}},0x0);}}function _0x52c87d(_0x11780c){var _0x48a8fb=_0x477d('0x1826');if(_0x11780c){if(_0x11780c[_0x477d('0x603')]==='in'){return _0x11780c['Contact']?_0x11780c['Contact'][_0x477d('0x1357')]||_0x477d('0x1827'):_0x48a8fb;}else if(_0x11780c[_0x477d('0x125b')]){return _0x32bec1[_0x477d('0x14ba')]?_0x32bec1[_0x477d('0x14ba')][_0x11780c['UserId']]:_0x48a8fb;}return'System'||_0x48a8fb;}}function _0x339feb(_0x2640bb,_0x48591e){if(_0x32bec1[_0x477d('0xe96')][_0x477d('0x1599')]&&_0x2640bb['id']){_0x2bf5cc[_0x32bec1[_0x477d('0xe96')]['channel']+_0x477d('0x15ca')][_0x477d('0x49d')]({'id':_0x2640bb['id'],'attachments':_0x48591e})['$promise'][_0x477d('0x76')](function(_0x1ff7fd){var _0x12bf69=[_0x1ff7fd[_0x477d('0x49e')]];var _0x1f1824=_0x477d('0x49d');var _0x301ea8=new Blob(_0x12bf69,{'type':_0x1ff7fd['type']});_0x1f1824=_0x32bec1[_0x477d('0xe96')][_0x477d('0x1599')]+_0x477d('0x1828')+_0x2640bb['id']+'.eml';var _0x599072=window[_0x477d('0x945')]['createElement']('a');_0x599072[_0x477d('0x494')](_0x477d('0x3c8'),URL[_0x477d('0x49f')](_0x301ea8));_0x599072['setAttribute'](_0x477d('0x49d'),_0x1f1824);document[_0x477d('0x399')][_0x477d('0xd8f')](_0x599072);_0x599072[_0x477d('0x540')]();})[_0x477d('0xf8')](function(_0x4a53a2){if(_0x4a53a2[_0x477d('0x451')]&&_0x4a53a2[_0x477d('0x451')][_0x477d('0xd67')]&&_0x4a53a2[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){for(var _0xd27563=0x0;_0xd27563<_0x4a53a2[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0xd27563+=0x1){_0xf5f21e[_0x477d('0x44a')]({'title':_0x4a53a2[_0x477d('0x451')][_0x477d('0xd67')][_0xd27563][_0x477d('0x439')],'msg':_0x4a53a2[_0x477d('0x451')][_0x477d('0xd67')][_0xd27563][_0x477d('0x452')]});}}else{_0xf5f21e[_0x477d('0x44a')]({'title':_0x4a53a2[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x4a53a2[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x4a53a2['statusText']:'api.downloadMessage.get','msg':_0x4a53a2[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x4a53a2[_0x477d('0x451')]['message']):_0x4a53a2['toString']()});}});}}function _0x5dcaa7(_0x23d3a3,_0x528961){if(_0x32bec1[_0x477d('0xe96')][_0x477d('0x1599')]&&_0x23d3a3['id']){_0x2bf5cc[_0x32bec1[_0x477d('0xe96')][_0x477d('0x1599')]+_0x477d('0x14bc')]['download']({'id':_0x23d3a3['id'],'attachments':_0x528961})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x1e2ccc){var _0x53c5d1=[_0x1e2ccc[_0x477d('0x49e')]];var _0x443bec=_0x32bec1[_0x477d('0xe96')]['channel']+'-interaction'+_0x23d3a3['id']+_0x477d('0x1366');var _0x4ee7d1=new Blob(_0x53c5d1,{'type':_0x1e2ccc[_0x477d('0x439')]});var _0x4bf18a=window['document'][_0x477d('0x3c7')]('a');_0x4bf18a[_0x477d('0x494')]('href',URL[_0x477d('0x49f')](_0x4ee7d1));_0x4bf18a[_0x477d('0x494')](_0x477d('0x49d'),_0x443bec);document[_0x477d('0x399')]['appendChild'](_0x4bf18a);_0x4bf18a['click']();})[_0x477d('0xf8')](function(_0x43387c){if(_0x43387c[_0x477d('0x451')]&&_0x43387c[_0x477d('0x451')][_0x477d('0xd67')]&&_0x43387c[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){for(var _0x2ba9a3=0x0;_0x2ba9a3<_0x43387c['data'][_0x477d('0xd67')][_0x477d('0x79')];_0x2ba9a3+=0x1){_0xf5f21e[_0x477d('0x44a')]({'title':_0x43387c[_0x477d('0x451')][_0x477d('0xd67')][_0x2ba9a3][_0x477d('0x439')],'msg':_0x43387c[_0x477d('0x451')][_0x477d('0xd67')][_0x2ba9a3][_0x477d('0x452')]});}}else{_0xf5f21e[_0x477d('0x44a')]({'title':_0x43387c[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x43387c[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x43387c[_0x477d('0x44d')]:_0x477d('0x1829'),'msg':_0x43387c[_0x477d('0x451')]?JSON['stringify'](_0x43387c[_0x477d('0x451')][_0x477d('0x452')]):_0x43387c['toString']()});}});}}function _0x9f666a(_0x1d82ba){if(_0x1d82ba){_0x1d82ba[_0x32bec1[_0x477d('0xe96')][_0x477d('0x1599')]===_0x477d('0xb6')?'ChatWebsiteId':_[_0x477d('0x12e0')](_0x32bec1[_0x477d('0xe96')][_0x477d('0x1599')])+_0x477d('0x1805')]=_0x32bec1[_0x477d('0x1364')][_0x32bec1['tab'][_0x477d('0x1599')]===_0x477d('0xb6')?_0x477d('0x1237'):_[_0x477d('0x12e0')](_0x32bec1[_0x477d('0xe96')][_0x477d('0x1599')])+_0x477d('0x1805')];_0x1d82ba[_[_0x477d('0x12e0')](_0x32bec1[_0x477d('0xe96')][_0x477d('0x1599')])+_0x477d('0x1810')]=_0x32bec1[_0x477d('0x1364')]['id'];_0x1d82ba['UserId']=_0x32bec1[_0x477d('0x380')]['id'];_0x1d82ba[_0x477d('0x1624')]=_0x32bec1['interaction'][_0x477d('0x1624')];_0x1d82ba[_0x477d('0x603')]=_0x477d('0x182a');_0x1d82ba[_0x477d('0x1778')]=Boolean(_0x32bec1[_0x477d('0xe96')]['spy']||_0x1d82ba[_0x477d('0x1778')]);return _0x2bf5cc[_0x32bec1[_0x477d('0xe96')]['channel']+_0x477d('0x15ca')][_0x477d('0xd70')](_0x1d82ba)[_0x477d('0x38b')][_0x477d('0x76')](function(_0x57edd8){if(_0x57edd8&&_0x57edd8['id']){if(!_[_0x477d('0x3b2')](_0x1d82ba[_0x477d('0x161b')])){var _0x479cd2=[];for(var _0x4f3e4a=0x0;_0x4f3e4a<_0x1d82ba[_0x477d('0x161b')][_0x477d('0x79')];_0x4f3e4a++){var _0x4105fc=_0x1d82ba[_0x477d('0x161b')][_0x4f3e4a];if(_0x4105fc[_0x477d('0x182b')]){_0x479cd2[_0x477d('0x3a7')](_0x2bf5cc['attachment'][_0x477d('0x117f')]({'id':_0x4105fc['id']},{'name':_0x4105fc[_0x477d('0x94')],'basename':_0x4105fc[_0x477d('0x182c')],'type':_0x4105fc[_0x477d('0x439')],'MailMessageId':_0x57edd8['id']})[_0x477d('0x38b')]);}else{_0x479cd2[_0x477d('0x3a7')](_0x2bf5cc['attachment']['update']({'id':_0x4105fc['id']},{'MailMessageId':_0x57edd8['id']})[_0x477d('0x38b')]);}}return _0xf328b3[_0x477d('0x7c')](_0x479cd2);}}})[_0x477d('0xf8')](function(_0x114df8){_0xf5f21e[_0x477d('0x44a')]({'title':_0x114df8['status']?_0x477d('0x44b')+_0x114df8['status']+_0x477d('0x44c')+_0x114df8[_0x477d('0x44d')]:'SYSTEM:SENDMESSAGE','msg':_0x114df8[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x114df8[_0x477d('0x451')]):_0x114df8[_0x477d('0x453')]()});})[_0x477d('0x5ff')](function(){if(_0x32bec1[_0x477d('0xe96')][_0x477d('0x1599')]==='mail'){if(_0x1d82ba[_0x477d('0x15b9')]){_0x366d8a[_0x477d('0x180f')](_0x32bec1['interaction']['id']);_0x32bec1[_0x477d('0x15e4')]=null;}}_0x32bec1[_0x477d('0xe96')][_0x477d('0x180e')]='';_0xbcbdb5();});}}function _0x541e2a(_0x16ec0a){if(_0x32bec1[_0x477d('0xe96')][_0x477d('0x1599')]&&_0x32bec1[_0x477d('0x1364')]&&_0x32bec1[_0x477d('0x1364')]['id']){_0x2bf5cc[_0x32bec1[_0x477d('0xe96')][_0x477d('0x1599')]+'Interaction']['update']({'id':_0x32bec1[_0x477d('0x1364')]['id'],'substatus':_0x16ec0a})[_0x477d('0x38b')][_0x477d('0xf8')](function(_0x29cc98){console[_0x477d('0x44a')](_0x29cc98);});}}function _0xb9f0dc(){if(_0x32bec1[_0x477d('0xe96')][_0x477d('0x1599')]&&_0x32bec1[_0x477d('0x1364')]&&_0x32bec1[_0x477d('0x1364')]['id']){if(_0x32bec1[_0x477d('0x1803')][_0x477d('0x79')]){for(var _0x238a2e=0x0;_0x238a2e<_0x32bec1[_0x477d('0x1803')][_0x477d('0x79')];_0x238a2e+=0x1){_0x2bf5cc[_0x32bec1['tab'][_0x477d('0x1599')]+'Message'][_0x477d('0x710')]({'id':_0x32bec1[_0x477d('0x1803')][_0x238a2e],'read':![],'UserId':null});}}else{for(var _0x530ef0=0x0;_0x530ef0<_0x32bec1[_0x477d('0x15fb')]['rows'][_0x477d('0x79')];_0x530ef0+=0x1){if(_0x32bec1[_0x477d('0x15fb')]['rows'][_0x530ef0]['direction']==='in'){if(_0x32bec1[_0x477d('0x15fb')]['rows'][_0x530ef0][_0x477d('0x125b')]===_0x32bec1[_0x477d('0x380')]['id']){_0x2bf5cc[_0x32bec1['tab'][_0x477d('0x1599')]+'Message'][_0x477d('0x710')]({'id':_0x32bec1['messages'][_0x477d('0xf2')][_0x530ef0]['id'],'read':![],'UserId':null});}else{_0xf5f21e['error']({'title':_0x477d('0x182d'),'msg':_0x477d('0x182e')});}break;}}}}_0x32bec1[_0x477d('0xe96')][_0x477d('0x11a6')]=!![];_0x2371d3[_0x477d('0x723')]['$parent'][_0x477d('0x723')]['vm'][_0x477d('0x158a')](_0x32bec1[_0x477d('0xe96')]);}function _0x1820ca(_0x446dda){if(_0x446dda&&_0x32bec1[_0x477d('0x1364')]['id']!==_0x446dda['id']){return;}if(_0x446dda['closed']){_0x32bec1[_0x477d('0xe96')][_0x477d('0x11a6')]=!![];}_[_0x477d('0xef')](_0x32bec1[_0x477d('0x1364')],_0x446dda);}function _0x2ea15e(_0x84c450){if(_0x84c450&&_0x32bec1['interaction']['id']!=_0x84c450[_[_0x477d('0x12e0')](_0x32bec1['tab'][_0x477d('0x1599')])+'InteractionId']){return;}var _0x8443f0=![];if(_0x32bec1[_0x477d('0x15fb')]){_0x8443f0=_['find'](_0x32bec1[_0x477d('0x15fb')][_0x477d('0xf2')],{'id':_0x84c450['id']});}else{_0x32bec1[_0x477d('0x15fb')]={'rows':[],'count':0x0};}if(_0x8443f0){_['merge'](_0x8443f0,_0x84c450);}else{if(_0x32bec1[_0x477d('0xe96')][_0x477d('0x1599')]==='mail'){_0x32bec1['messages'][_0x477d('0xf2')]['unshift'](_0x84c450);}else{_0x32bec1[_0x477d('0x15fb')][_0x477d('0xf2')][_0x477d('0x3a7')](_0x84c450);}_0xbcbdb5();}}function _0x52dd8c(_0x507ebb){switch(_0x507ebb){case'chat':return _0x477d('0x15aa');case _0x477d('0x1d6'):return _0x477d('0x15ab');case _0x477d('0x26e'):return _0x477d('0x15ac');case _0x477d('0x35d'):return _0x477d('0x15ae');case _0x477d('0x22a'):return _0x477d('0x15ad');case'fax':return _0x477d('0x182f');default:return'icon-hangouts';}}function _0x302940(_0x44cddd){switch(_0x44cddd){case _0x477d('0xb6'):return'green-A700';case'mail':return _0x477d('0x9f2');case'sms':return _0x477d('0x14b2');case'openchannel':return _0x477d('0x14b3');case _0x477d('0x154'):return _0x477d('0x14b4');case _0x477d('0x35d'):return _0x477d('0x14b5');default:return'blue-A700';}}function _0x1df2c6(_0xae4165){var _0x16ddec='';if(_0xae4165[_0x477d('0x14b6')]){_0x16ddec=_0x477d('0x154');}else if(_0xae4165[_0x477d('0x14b7')]){_0x16ddec=_0x477d('0x22a');}else if(_0xae4165[_0x477d('0x160e')]){_0x16ddec=_0x477d('0x26e');}else if(_0xae4165[_0x477d('0x1597')]){_0x16ddec=_0x477d('0x35d');}else if(_0xae4165[_0x477d('0x14b8')]){_0x16ddec=_0x477d('0x1d6');}else if(_0xae4165['ChatWebsiteId']){_0x16ddec=_0x477d('0xb6');}else if(_0xae4165[_0x477d('0x1611')]){_0x16ddec=_0x477d('0x108');}return _0x302940(_0x16ddec);}function _0x28ccee(_0x352041){if(_0x352041[_0x477d('0x1778')]&&_0x32bec1['user']['id']!=_0x352041[_0x477d('0x125b')]){return'in';}switch(_0x32bec1[_0x477d('0xc8e')][_0x477d('0x15fe')]){case _0x477d('0x77e'):if(_0x352041[_0x477d('0x603')]=='in'){return _0x352041[_0x477d('0x603')];}return _0x477d('0x1830');case _0x477d('0x5ad'):if(_0x352041[_0x477d('0x603')]=='in'){return'in-right-aligned';}return _0x352041[_0x477d('0x603')];default:return _0x352041[_0x477d('0x603')];}}function _0x4e7fc3(){_0x32bec1[_0x477d('0x17f9')]=!_0x32bec1[_0x477d('0x17f9')];}function _0x15ae5a(_0x5e0a03){return _0x2bf5cc['attachment']['get']({'MailMessageId':_0x5e0a03['id']})['$promise'][_0x477d('0x76')](function(_0x1d7705){if(_0x1d7705&&_0x1d7705[_0x477d('0xf2')]){_0x5e0a03['attachments']=_0x1d7705[_0x477d('0xf2')];}})['catch'](function(_0x13ddce){_0xf5f21e[_0x477d('0x44a')]({'title':_0x13ddce['status']?'API:'+_0x13ddce[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x13ddce[_0x477d('0x44d')]:'ATTACHMENTS:GET','msg':_0x13ddce[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x13ddce[_0x477d('0x451')]):_0x13ddce[_0x477d('0x453')]()});});}function _0x3ad462(_0x103679){return _0x2bf5cc[_0x477d('0xcb5')][_0x477d('0x49d')]({'id':_0x103679['id']})['$promise'][_0x477d('0x76')](function(_0x2fd750){if(_0x2fd750){var _0x6266c3=new Blob([_0x2fd750[_0x477d('0x49e')]],{'type':_0x2fd750['type']});var _0x50501e=document[_0x477d('0x3c7')]('a');var _0x3d3238=window[_0x477d('0x1831')][_0x477d('0x49f')](_0x6266c3);_0x50501e[_0x477d('0x3c8')]=_0x3d3238;_0x50501e[_0x477d('0x378')]=_0x477d('0xeb9');_0x50501e[_0x477d('0x49d')]=_0x103679['name'];document[_0x477d('0x399')][_0x477d('0xd8f')](_0x50501e);_0x50501e[_0x477d('0x540')]();setTimeout(function(){document[_0x477d('0x399')]['removeChild'](_0x50501e);window[_0x477d('0x1831')][_0x477d('0x1832')](_0x3d3238);},0x64);}})[_0x477d('0xf8')](function(_0x3c7411){_0xf5f21e[_0x477d('0x44a')]({'title':_0x3c7411[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x3c7411[_0x477d('0x3c3')]+'\x20-\x20'+_0x3c7411['statusText']:'ATTACHMENTS:GET','msg':_0x3c7411[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x3c7411['data']):_0x3c7411[_0x477d('0x453')]()});});}function _0x48b7ef(){if(!_0x32bec1['tab'][_0x477d('0x1813')]&&!_0x32bec1[_0x477d('0x1364')][_0x477d('0x1351')]){for(var _0x3a606f=0x0;_0x3a606f<_0x32bec1['messages'][_0x477d('0xf2')][_0x477d('0x79')];_0x3a606f+=0x1){if(_0x32bec1[_0x477d('0x15fb')]['rows'][_0x3a606f][_0x477d('0x603')]==='in'&&!_0x32bec1[_0x477d('0x15fb')][_0x477d('0xf2')][_0x3a606f][_0x477d('0x134d')]){_0x2bf5cc[_0x32bec1[_0x477d('0xe96')][_0x477d('0x1599')]+_0x477d('0x15ca')][_0x477d('0x944')]({'id':_0x32bec1[_0x477d('0x15fb')][_0x477d('0xf2')][_0x3a606f]['id'],'UserId':_0x32bec1[_0x477d('0x380')]['id']});_0x32bec1['acceptedMessages'][_0x477d('0x3a7')](_0x32bec1[_0x477d('0x15fb')][_0x477d('0xf2')][_0x3a606f]['id']);}}}}function _0x2281c9(_0x3359bd){if(_0x3359bd&&_0x3359bd[_0x477d('0x3bb')]&&_0x3359bd[_0x477d('0xf2')][_0x477d('0x79')]){_0x32bec1['journey']=_[_0x477d('0x3a9')](_0x32bec1['journey'],_0x3359bd['rows']);}}function _0x37f1bd(_0x599993){if(_0x599993&&_0x599993['id']){for(var _0x15a9c4=0x0;_0x15a9c4<_0x32bec1[_0x477d('0x17ea')]['length'];_0x15a9c4++){_0x2bf5cc[_0x32bec1['omniChannels'][_0x15a9c4]+_0x477d('0x14bc')][_0x477d('0x376')]({'ContactId':_0x599993['id'],'journey':!![],'includeAll':!![]})['$promise']['then'](_0x2281c9);}_0x2bf5cc[_0x477d('0xa95')][_0x477d('0x376')]({'ContactId':_0x599993['id'],'includeAll':!![]})[_0x477d('0x38b')][_0x477d('0x76')](_0x2281c9);}}function _0x339a2f(_0x251ad3){return _0x251ad3?String(_0x251ad3)[_0x477d('0x409')](/<[^>]+>/gm,''):'';}function _0x567605(){switch(_0x32bec1[_0x477d('0xe96')][_0x477d('0x1599')]){case _0x477d('0x1d6'):_0x3f9511(_0x32bec1[_0x477d('0x15e4')][_0x477d('0x439')],_0x32bec1[_0x477d('0x15e4')][_0x477d('0xdaf')]);break;case _0x477d('0x154'):break;case _0x477d('0x22a'):break;case _0x477d('0x26e'):break;case _0x477d('0x35d'):break;}}_0x2371d3[_0x477d('0x4ec')]('$destroy',function(){_0x2b228a['removeAllListeners'](_0x32bec1[_0x477d('0xe96')][_0x477d('0x1599')]+'Message:save');_0x2b228a['removeAllListeners'](_0x32bec1[_0x477d('0xe96')]['channel']+_0x477d('0x1808'));_0x2b228a[_0x477d('0x6b8')](_0x32bec1[_0x477d('0xe96')][_0x477d('0x1599')]+'Interaction:save');_0x2b228a[_0x477d('0x6b8')](_0x32bec1[_0x477d('0xe96')]['channel']+'Interaction:update');_0x2b228a[_0x477d('0x6b8')](_0x477d('0x180c')+_0x32bec1[_0x477d('0xe96')][_0x477d('0x1599')]+'_interactions:save');_0x2b228a[_0x477d('0x6b8')]('user_has_'+_0x32bec1['tab'][_0x477d('0x1599')]+_0x477d('0x1833'));});function _0x5e7790(_0x454f44){var _0x493bc6={'id':_0x454f44['id']};return _0x2bf5cc[_0x477d('0xb4a')]['createVidaooSession'](_0x493bc6)[_0x477d('0x38b')]['then'](function(){_0xf5f21e[_0x477d('0x485')]({'title':_0x477d('0x1834'),'msg':_0x477d('0x1835')});})[_0x477d('0xf8')](function(){_0xf5f21e[_0x477d('0x44a')]({'title':_0x477d('0x1834'),'msg':_0x477d('0x1836')});});}}function _0x29aea4(_0x38238d){return{'scope':{'ngBindHtmlUnsafe':'='},'template':_0x477d('0x1837'),'link':function(_0x4d42fa){function _0x366683(){var _0xe1de38=_0x477d('0x1838')+Math[_0x477d('0x6c4')](Math[_0x477d('0x6c5')]()*0x270f+0x1);return _0x477d('0x1839')+_0xe1de38+_0x477d('0x183a')+_0xe1de38+_0x477d('0x183b');}_0x4d42fa['updateView']=function(){var _0x139b96=_[_0x477d('0x409')](_0x4d42fa[_0x477d('0x17e8')],_0x477d('0x183c'),_0x366683());_0x4d42fa[_0x477d('0x183d')]=_0x38238d[_0x477d('0x93d')](_0x139b96);};_0x4d42fa[_0x477d('0x4b5')](_0x477d('0x17e8'),function(_0x22e6e5,_0x1cf6dc){_0x4d42fa[_0x477d('0x183e')](_0x22e6e5);});}};}}());(function(){'use strict';angular[_0x477d('0xb')]('app.dashboards')[_0x477d('0x388')](_0x477d('0x183f'),_0x1aee40);function _0x1aee40(){return{'watchEmbedData':![],'sanitizeHtml':![],'fontSmiley':![],'emoji':!![],'link':!![],'linkTarget':_0x477d('0x1182'),'pdf':{'embed':!![]},'image':{'embed':!![]},'audio':{'embed':!![]},'basicVideo':![],'gdevAuth':_0x477d('0x1840'),'video':{'embed':![],'width':null,'height':null,'ytTheme':_0x477d('0x1841'),'details':![],'thumbnailQuality':_0x477d('0x1842'),'autoPlay':!![]},'twitchtvEmbed':!![],'dailymotionEmbed':!![],'tedEmbed':!![],'dotsubEmbed':!![],'liveleakEmbed':!![],'ustreamEmbed':!![],'soundCloudEmbed':!![],'soundCloudOptions':{'height':0xa0,'themeColor':_0x477d('0x1843'),'autoPlay':![],'hideRelated':![],'showComments':!![],'showUser':!![],'showReposts':![],'visual':![],'download':![]},'spotifyEmbed':!![],'tweetEmbed':!![],'tweetOptions':{'maxWidth':0x226,'hideMedia':![],'hideThread':![],'align':_0x477d('0x496'),'lang':'en'},'code':{'highlight':!![],'lineNumbers':![]},'codepenEmbed':!![],'codepenHeight':0x12c,'jsfiddleEmbed':!![],'jsfiddleHeight':0x12c,'jsbinEmbed':!![],'jsbinHeight':0x12c,'plunkerEmbed':!![],'githubgistEmbed':!![],'ideoneEmbed':!![],'ideoneHeight':0x12c};}}());(function(){'use strict';_0x8167f3[_0x477d('0xa')]=[_0x477d('0x385'),_0x477d('0x387'),_0x477d('0x384'),_0x477d('0x1844'),'account','message',_0x477d('0x439'),_0x477d('0x386'),_0x477d('0x40e'),'$q'];angular[_0x477d('0xb')]('app.dashboards')[_0x477d('0x3ba')]('ComposeFaxInteractionDialogController',_0x8167f3);function _0x8167f3(_0x4f9207,_0xc5b702,_0x27c34f,_0x20f867,_0xd09930,_0x5c0774,_0x44dd45,_0x236618,_0x5cefa9,_0x306441){var _0x28be69=this;var _0x4597e2=0x19;var _0x1472eb=_0x4597e2*0x400*0x400;_0x28be69[_0x477d('0x1845')]=[_0x20f867[_0x477d('0x1846')]['ENTER'],_0x20f867[_0x477d('0x1846')][_0x477d('0x1847')],_0x20f867[_0x477d('0x1846')][_0x477d('0x1848')]];_0x28be69[_0x477d('0x452')]={'from':_0xd09930[_0x477d('0x1849')],'to':_['isNil'](_0x5c0774['to'])||_[_0x477d('0x3b2')](_0x5c0774['to'])?[]:_0x5c0774['to'],'attachments':[]};_0x28be69[_0x477d('0x1174')]={'target':_0x477d('0x17eb'),'singleFile':!![],'maxChunkRetries':0x1,'chunkSize':_0x1472eb,'simultaneousUploads':0x1,'testChunks':![],'progressCallbacksInterval':0x3e8,'allowDuplicateUploads':!![]};_0x28be69[_0x477d('0x129f')]={'flow':{}};_0x28be69['send']=_0x16a83a;_0x28be69[_0x477d('0x12a0')]=_0x39af82;_0x28be69[_0x477d('0x133a')]=_0x52ac91;_0x28be69[_0x477d('0x1176')]=_0x47cb71;_0x28be69[_0x477d('0x184a')]=_0x2b56f3;_0x28be69[_0x477d('0x184b')]=_0x56c1f7;_0x28be69[_0x477d('0x184c')]=_0x846538;_0x28be69[_0x477d('0x6bf')]=_0x9e66aa;function _0x26347b(){_0x27c34f[_0x477d('0x3bc')]({'from':_0x28be69[_0x477d('0x452')][_0x477d('0x627')],'to':_0x28be69[_0x477d('0x452')]['to'],'attach':_0x28be69[_0x477d('0x452')][_0x477d('0x161b')][_0x477d('0x79')],'attachments':_0x28be69[_0x477d('0x452')]['attachments']});}function _0x16a83a(_0x5b59a8){if(_0x28be69[_0x477d('0x452')][_0x477d('0x161b')][_0x477d('0x79')]===0x1){if(_0x28be69[_0x477d('0x452')]['to'][_0x477d('0x79')]){_0x5c0774[_0x477d('0x15e4')]=undefined;_0x26347b();}else{_0x5cefa9['error'](_0x477d('0x184d'));}}else{_0x5cefa9[_0x477d('0x44a')]('Attachment\x20is\x20mandatory');}}function _0x39af82(){_0x28be69[_0x477d('0x129f')]['flow'][_0x477d('0x12a8')][_0x477d('0x3c0')]={'X-Requested-With':_0x477d('0x12a9'),'Authorization':_0x477d('0x12aa')+_0x4f9207['get'](_0x477d('0x389'))};_0x28be69[_0x477d('0x129f')][_0x477d('0xae')][_0x477d('0x12a0')]();}function _0x47cb71(_0x1b7fe4){var _0x3c56cf=[_0x477d('0x184e'),_0x477d('0x184f')];if(!_['includes'](_0x3c56cf,_0x1b7fe4['getExtension']())){_0x5cefa9[_0x477d('0x44a')]({'title':_0x477d('0x133d')+_0x1b7fe4[_0x477d('0x1178')](),'msg':_0x477d('0x1850')+_0x3c56cf['join']()});return![];}if(_0x1b7fe4[_0x477d('0x117b')]>_0x1472eb){_0x5cefa9[_0x477d('0x44a')]({'title':_0x477d('0x12a6'),'msg':_0x477d('0x133e')+_0x4597e2+'MB'});return![];}return!![];}function _0x52ac91(_0x39224c,_0x2f800b){try{_0x2f800b=JSON['parse'](_0x2f800b);_0x2f800b[_0x477d('0x117b')]=_0x39224c[_0x477d('0x117b')];_0x28be69[_0x477d('0x452')][_0x477d('0x161b')][_0x477d('0x3a7')](_0x2f800b);}catch(_0x1d8bd7){console['error'](_0x1d8bd7);}}function _0x2b56f3(_0x19d421){var _0xac0044='';if(_0x19d421[_0x477d('0x1357')]&&_0x19d421[_0x477d('0x1357')]!==_0x19d421[_0x477d('0x154')]){_0xac0044+=_0x19d421[_0x477d('0x1357')]+'\x20';}if(_0x19d421['lastName']&&_0x19d421['lastName']!==_0x19d421[_0x477d('0x154')]){_0xac0044+=_0x19d421['lastName']+'\x20';}return _0xac0044+='<'+_0x19d421['fax']+'>';}function _0x846538(_0x902dee){var _0x17f2be=_0x902dee;if(_[_0x477d('0x56b')](_0x902dee)){return _0x902dee[_0x477d('0x154')];}if(_0x228697(_0x17f2be)){return _0x17f2be;}_0x5cefa9[_0x477d('0x44a')](_0x477d('0x1851')+_0x17f2be+'\x20is\x20not\x20valid');return null;}function _0x228697(_0xc83a5c){var _0x35b05a=/[&\/\\#,()$~%.'":;*?<>{}\s\\|a-zA-Z\pS!òàùè…_§°çéì-]/;return!_0x35b05a[_0x477d('0x66b')](_0xc83a5c);}function _0x56c1f7(_0x565aa0){if(_0xd09930&&_0xd09930[_0x477d('0x1229')]){return _0x236618[_0x477d('0xb6c')][_0x477d('0x376')]({'ListId':_0xd09930[_0x477d('0x1229')],'nolimit':!![],'filter':_0x565aa0,'fields':'firstName,lastName,fax'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x156033){return _0x156033[_0x477d('0xf2')];});}else{return[];}}function _0x9e66aa(){_0x5c0774[_0x477d('0x15e4')]=_0x28be69[_0x477d('0x452')];_0x27c34f[_0x477d('0x4f0')]();}}}());(function(){'use strict';_0x4b0e4c[_0x477d('0xa')]=[_0x477d('0x385'),_0x477d('0x387'),_0x477d('0x384'),_0x477d('0x1844'),'$translate',_0x477d('0x15e5'),'message',_0x477d('0x439'),_0x477d('0x386'),'toasty','$q','Auth',_0x477d('0x1364'),'draftManager'];angular[_0x477d('0xb')]('app.dashboards')['controller'](_0x477d('0x1774'),_0x4b0e4c);function _0x4b0e4c(_0x448c67,_0x35c412,_0x528870,_0x4a6c8d,_0x4815a9,_0x10a026,_0x21aed6,_0x5b5620,_0x1fd841,_0x1c03e8,_0x17fc05,_0x329508,_0x58d98f,_0x5b1765){var _0xece032=this;var _0x14d5e9=0x19;var _0x52fca6=_0x14d5e9*0x400*0x400;_0xece032[_0x477d('0x3e5')]=_0x329508[_0x477d('0x5c')]();_0xece032[_0x477d('0x1778')]=_0x5b5620==='note'?!![]:![];_0xece032['hiddenCC']=!![];_0xece032['hiddenBCC']=!![];_0xece032[_0x477d('0x1852')]=!![];_0xece032[_0x477d('0xd67')]=[];_0xece032[_0x477d('0x1845')]=[_0x4a6c8d[_0x477d('0x1846')][_0x477d('0x1853')],_0x4a6c8d['KEY_CODE'][_0x477d('0x1847')],_0x4a6c8d[_0x477d('0x1846')][_0x477d('0x1848')]];_0xece032[_0x477d('0x17f6')]=_0x40a862;_0xece032[_0x477d('0x17f7')]=_0x9f6360;_0xece032[_0x477d('0x1854')]=_0x2b2d53;_['templateSettings']['interpolate']=/{{([\s\S]+?)}}/g;_0xece032[_0x477d('0x1855')]=_[_0x477d('0xbb2')]('{{\x20name\x20}}\x20<{{\x20email\x20}}>');_0xece032[_0x477d('0x1856')]=_['template'](_0x477d('0x1857'));_0xece032[_0x477d('0x1858')]=_[_0x477d('0xbb2')](_0x477d('0x1859'));_0xece032[_0x477d('0x452')]={'from':_0xece032['fromTemplate']({'name':_0x10a026[_0x477d('0x94')],'email':_0x10a026[_0x477d('0x1359')]||_0x10a026[_0x477d('0x185a')][_0x477d('0x380')]}),'to':[],'cc':[],'bcc':[],'body':_0x81d123(),'type':_0x5b5620,'attachments':[],'showLastMessage':!![]};_0xece032[_0x477d('0x15e4')]=null;_0xece032[_0x477d('0x47')]={'skin':_0x477d('0x185b'),'startupFocus':!![],'language':'en','allowedContent':!![],'extraPlugins':_0x477d('0x185c'),'toolbarGroups':[{'name':_0x477d('0x185d'),'groups':[_0x477d('0x185d')]},{'name':_0x477d('0x185e'),'groups':[_0x477d('0x185f')]},{'name':_0x477d('0x9b7'),'groups':[_0x477d('0x9b7')]},{'name':_0x477d('0x1860'),'groups':[_0x477d('0x1860')]},{'name':_0x477d('0x1861'),'groups':[_0x477d('0xa02'),_0x477d('0x1862'),_0x477d('0x1863')]}],'autoGrow_onStartup':!![],'autoGrow_minHeight':_0xece032['secret']?0xa0:0x12c,'autoGrow_maxHeight':_0x35c412['innerHeight']-0x190,'autocorrect_enabled':!![],'disableNativeSpellChecker':![],'enterMode':CKEDITOR['ENTER_BR'],'font_defaultLabel':_0x10a026[_0x477d('0x1864')]?_0x10a026[_0x477d('0x1864')]['split'](',')[0x0]:_0x477d('0x4b7'),'fontSize_defaultLabel':_0x10a026['fontSize']||'12','removePlugins':_0x477d('0x1865')};var _0x343297=[];for(var _0x35b330=0x8;_0x35b330<=0x48;_0x35b330++){_0x343297[_0x477d('0x3a7')](_0x35b330+'/'+_0x35b330+'pt');}_0xece032[_0x477d('0x47')][_0x477d('0x1866')]=_0x343297[_0x477d('0x3f6')](';');_0xece032[_0x477d('0x1174')]={'target':_0x477d('0x17eb'),'singleFile':!![],'maxChunkRetries':0x1,'chunkSize':_0x52fca6,'simultaneousUploads':0x1,'testChunks':![],'progressCallbacksInterval':0x3e8,'allowDuplicateUploads':!![]};_0xece032[_0x477d('0x129f')]={'flow':{}};_0xece032[_0x477d('0x1867')]=_0x7952df;_0xece032[_0x477d('0x1868')]=_0x269b6f;_0xece032[_0x477d('0x1869')]=_0x570e20;_0xece032[_0x477d('0x186a')]=_0x53bf85;_0xece032[_0x477d('0xa08')]=_0x56a474;_0xece032[_0x477d('0x163f')]=_0x9b0a36;_0xece032['addNote']=_0x42a375;_0xece032[_0x477d('0x12a0')]=_0x3f0004;_0xece032[_0x477d('0x133a')]=_0x437a50;_0xece032[_0x477d('0x186b')]=_0x27c449;_0xece032['fileAdded']=_0x39a094;_0xece032[_0x477d('0x184a')]=_0x591fa9;_0xece032[_0x477d('0x184b')]=_0x32d5e9;_0xece032[_0x477d('0x184c')]=_0x1b2eeb;_0xece032['saveDraft']=_0x218c07;_0xece032[_0x477d('0x6bf')]=_0x27ccac;_0xece032[_0x477d('0x186c')]=_0x1d3dfa;switch(_0x5b5620){case _0x477d('0x1867'):_0xece032[_0x477d('0x1867')](![]);break;case _0x477d('0x186d'):_0xece032['reply'](!![]);break;case _0x477d('0x1869'):_0xece032[_0x477d('0x1869')]();break;case _0x477d('0x15e4'):_0xece032[_0x477d('0x186a')]();break;case _0x477d('0x1619'):_0xece032[_0x477d('0x1868')]();break;case _0x477d('0x163f'):_0xece032['note']();break;}_0x1fd841[_0x477d('0xac0')]['get']({'nolimit':!![]})['$promise'][_0x477d('0x76')](function(_0x49f0d7){_0xece032['subStatuses']=_0x49f0d7||{'count':0x0,'rows':[]};})[_0x477d('0xf8')](function(_0x49aa07){console['error'](_0x49aa07);});if(!_0xece032['secret']){_0x48ed23();}function _0x7952df(_0x5b025e){if(angular['isDefined'](_0x21aed6)){_0xece032[_0x477d('0x452')]['type']=_0x477d('0x1867');_0xece032[_0x477d('0x452')]['to']=_0x21aed6[_0x477d('0x603')]==='in'?_0x21aed6['from']['split'](','):_0x21aed6['to']['split'](',');_0xece032['message'][_0x477d('0x135c')]=_['startsWith'](_0x21aed6[_0x477d('0x135c')],'Re:')?_0x21aed6[_0x477d('0x135c')]:_0x477d('0x186e')+_0x21aed6['subject'];_0xece032[_0x477d('0x452')][_0x477d('0x181a')]=_0x21aed6[_0x477d('0x186f')];_0xece032[_0x477d('0x452')]['body']=_0x81d123();_0xece032['message']['attachments']=[];if(_0x5b025e&&_0x21aed6['cc']){_0xece032[_0x477d('0x1870')]=![];_0xece032[_0x477d('0x452')]['cc']=_0x21aed6['cc'][_0x477d('0x472')](',');}_0xece032['message'][_0x477d('0x1871')]=![];}}function _0x269b6f(){if(angular[_0x477d('0x4d7')](_0x21aed6)){_0xece032['message'][_0x477d('0x439')]='new';_0xece032[_0x477d('0x452')]['to']=_0x21aed6['to']?_0x21aed6['to'][_0x477d('0x472')](','):[];}}function _0x53bf85(){_0xece032[_0x477d('0x15b9')]=!![];if(angular[_0x477d('0x4d7')](_0x21aed6)){_0x21aed6[_0x477d('0x175e')]=![];_0xece032['message']=angular[_0x477d('0x6d9')](_0x21aed6);if(!_[_0x477d('0x3b2')](_0xece032[_0x477d('0x452')]['cc'])){_0xece032[_0x477d('0x1870')]=![];}if(!_[_0x477d('0x3b2')](_0xece032[_0x477d('0x452')][_0x477d('0xf63')])){_0xece032['hiddenBCC']=![];}}}function _0x570e20(){if(angular[_0x477d('0x4d7')](_0x21aed6)){_0xece032[_0x477d('0x452')][_0x477d('0x439')]=_0x477d('0x1869');_0xece032[_0x477d('0x452')]['subject']=_[_0x477d('0x1337')](_0x21aed6['subject'],_0x477d('0x1872'))?_0x21aed6[_0x477d('0x135c')]:_0x477d('0x1873')+_0x21aed6[_0x477d('0x135c')];_0xece032[_0x477d('0x452')][_0x477d('0x399')]=_0x81d123();if(_0x21aed6[_0x477d('0x1874')]&&_0x21aed6[_0x477d('0x1874')][_0x477d('0x79')]){for(var _0x16ebfb=0x0;_0x16ebfb<_0x21aed6['Attachments'][_0x477d('0x79')];_0x16ebfb++){_0xece032['message'][_0x477d('0x161b')][_0x477d('0x3a7')](_0x21aed6[_0x477d('0x1874')][_0x16ebfb]);}}_0xece032[_0x477d('0x452')][_0x477d('0x1871')]=![];}}function _0x9b0a36(){_0xece032[_0x477d('0x439')]='note';_0xece032[_0x477d('0x1778')]=!![];_0xece032[_0x477d('0x452')][_0x477d('0x399')]='

';}function _0x1ce9af(_0x481d00,_0x3a0ffb){var _0x5e291e={'from':_0xece032[_0x477d('0x452')]['from'],'to':_0xece032[_0x477d('0x452')]['to'][_0x477d('0x3f6')](','),'cc':_0xece032[_0x477d('0x452')]['cc']['join'](','),'bcc':_0xece032[_0x477d('0x452')][_0x477d('0xf63')][_0x477d('0x3f6')](','),'subject':_0xece032[_0x477d('0x452')]['subject'],'body':_0xece032[_0x477d('0x452')]['showLastMessage']?_0xece032[_0x477d('0x452')]['body']:_0xece032[_0x477d('0x452')][_0x477d('0x399')]+_0x399ea0(_0xece032[_0x477d('0x452')][_0x477d('0x439')]),'inReplyTo':_0xece032[_0x477d('0x452')][_0x477d('0x181a')],'attach':_0xece032[_0x477d('0x452')]['attachments'][_0x477d('0x79')],'attachments':_0xece032[_0x477d('0x452')][_0x477d('0x161b')],'Interaction':{'lastMsgDirection':_0x477d('0x182a'),'lastMsgBody':_0xece032[_0x477d('0x452')][_0x477d('0x399')],'substatus':_0x3a0ffb},'isDraft':_0xece032[_0x477d('0x15b9')]};_0x5e291e[_0x477d('0x3de')]=_0x477d('0x1875')+_[_0x477d('0x409')](_0x5e291e['body'],_0x477d('0x183c'),_0x477d('0x1876'))+_0x477d('0x1877');if(_0x481d00){_0x5e291e[_0x477d('0x14bc')][_0x477d('0x1351')]=!![];}_0x528870[_0x477d('0x3bc')](_0x5e291e);}function _0x56a474(_0x628cfd,_0x18b54b,_0x517ac9){if(_0xece032[_0x477d('0x452')]['to']&&_0xece032['message'][_0x477d('0x399')]){if(_0xece032[_0x477d('0x452')]['to'][_0x477d('0x79')]){if(_[_0x477d('0x3b2')](_0xece032[_0x477d('0x452')][_0x477d('0x135c')])){var _0x2e8729=_0x528870[_0x477d('0xd78')]({'skipHide':!![]})[_0x477d('0x49a')]('Warning')[_0x477d('0x68e')](_0x477d('0x1878'))[_0x477d('0x687')](_0x477d('0x15a1'))[_0x477d('0xd7c')](_0x628cfd)['ok']('Send\x20Anyway')[_0x477d('0x4f0')](_0x477d('0x688'));_0x528870[_0x477d('0x395')](_0x2e8729)[_0x477d('0x76')](function(){_0x1ce9af(_0x18b54b,_0x517ac9);});}else{_0x1ce9af(_0x18b54b,_0x517ac9);}}else{_0x1c03e8[_0x477d('0x44a')](_0x477d('0x184d'));}}}function _0x42a375(){if(_0xece032[_0x477d('0x452')][_0x477d('0x399')]){_0x528870[_0x477d('0x3bc')]({'secret':!![],'body':_0xece032[_0x477d('0x452')][_0x477d('0x399')],'attach':_0xece032[_0x477d('0x452')]['attachments'][_0x477d('0x79')],'attachments':_0xece032[_0x477d('0x452')][_0x477d('0x161b')]});}}function _0x9f6360(_0x4fd7b0){if(_0x4fd7b0&&_0x4fd7b0['value']&&_0xece032[_0x477d('0x1879')]){try{var _0x419db4=_[_0x477d('0xbb2')](_0x4fd7b0[_0x477d('0x3b6')]);var _0x43b434={'user':_0xece032[_0x477d('0x3e5')],'account':_0x10a026,'interaction':_0x58d98f,'contact':_0x58d98f&&_0x58d98f[_0x477d('0x1370')]?_0x58d98f[_0x477d('0x1370')]:{}};_0xece032[_0x477d('0x1879')][_0x477d('0x187a')](_0x419db4(_0x43b434));}catch(_0x12e582){console[_0x477d('0x44a')](_0x12e582);_0xece032['ckEditorInstance'][_0x477d('0x187a')](_0x4fd7b0[_0x477d('0x3b6')]);}}document['getElementById'](_0x477d('0x187b'))[_0x477d('0x401')]();_0xece032[_0x477d('0xe28')]=null;}function _0x40a862(_0x393ed6){var _0x5a0a13=_0x17fc05[_0x477d('0x54a')]();var _0xca067b=[];_0x1fd841[_0x477d('0xb91')][_0x477d('0x376')]({'filter':_0x393ed6,'MailAccountId':_0x10a026['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x3b2897){_0xca067b=_['concat'](_0xca067b,_0x3b2897[_0x477d('0xf2')]);return _0x1fd841[_0x477d('0xb91')][_0x477d('0x376')]({'filter':_0x393ed6})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x9fd4d1){_0xca067b=_[_0x477d('0x3a9')](_0xca067b,_[_0x477d('0x3b3')](_0x9fd4d1[_0x477d('0xf2')],function(_0x3bcec7){return!_0x3bcec7[_0x477d('0x14b8')]&&!_0x3bcec7[_0x477d('0x14b6')]&&!_0x3bcec7[_0x477d('0x160e')]&&!_0x3bcec7[_0x477d('0x1597')]&&!_0x3bcec7[_0x477d('0x14b7')]&&!_0x3bcec7[_0x477d('0x1237')];}));_0x5a0a13[_0x477d('0x5a')](_0xca067b);})['catch'](function(_0x4b831e){_0x5a0a13[_0x477d('0x691')](_0x4b831e);});return _0x5a0a13[_0x477d('0x553')];}function _0x2b2d53(_0x583143){try{_0xece032[_0x477d('0x1879')]=CKEDITOR[_0x477d('0x187c')][_0x477d('0x187b')];}catch(_0x287d4b){console[_0x477d('0x44a')](_0x477d('0x187d'),_0x287d4b);}}function _0x48ed23(){return _0x1fd841[_0x477d('0x1775')][_0x477d('0x1852')]({'id':_0x10a026['id']})['$promise'][_0x477d('0xf8')](function(_0x4cb28e){_0xece032[_0x477d('0x1852')]=![];_0xece032[_0x477d('0xd67')]['push']({'message':_0x4cb28e[_0x477d('0x451')],'type':_0x4cb28e['status']});_0xece032[_0x477d('0xd67')][_0x477d('0x3a7')]({'message':_0x477d('0x187e'),'type':'500'});});}function _0x39a094(_0x5c12b2){if(_0x5c12b2[_0x477d('0x117b')]>_0x52fca6){_0x1c03e8[_0x477d('0x44a')]({'title':_0x477d('0x12a6'),'msg':_0x477d('0x133e')+_0x14d5e9+'MB'});return![];}return!![];}function _0x3f0004(_0x51e7ff){_0xece032[_0x477d('0x129f')][_0x477d('0xae')][_0x477d('0x12a8')][_0x477d('0x3c0')]={'X-Requested-With':_0x477d('0x12a9'),'Authorization':_0x477d('0x12aa')+_0x448c67[_0x477d('0x376')](_0x477d('0x389'))};_0xece032[_0x477d('0x129f')][_0x477d('0xae')]['upload']();}function _0x437a50(_0x303141,_0x219c3d){try{_0x219c3d=JSON[_0x477d('0x77')](_0x219c3d);_0x219c3d[_0x477d('0x117b')]=_0x303141[_0x477d('0x117b')];_0xece032[_0x477d('0x452')]['attachments']['push'](_0x219c3d);}catch(_0x2c29b3){console['error'](_0x2c29b3);}}function _0x27c449(_0x2401ef){_0xece032['message'][_0x477d('0x161b')]=_[_0x477d('0x691')](_0xece032[_0x477d('0x452')][_0x477d('0x161b')],{'id':_0x2401ef['id']});if(!_0x2401ef[_0x477d('0x182b')]){_0x1fd841[_0x477d('0xcb5')][_0x477d('0xa55')]({'id':_0x2401ef['id']})[_0x477d('0x38b')][_0x477d('0xf8')](function(_0x254dfc){_0x1c03e8['error']({'title':_0x254dfc[_0x477d('0x3c3')]?'API:'+_0x254dfc[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x254dfc['statusText']:_0x477d('0x187f'),'msg':_0x254dfc[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x254dfc[_0x477d('0x451')][_0x477d('0x452')]):_0x254dfc[_0x477d('0x453')]()});});}}function _0x591fa9(_0xd37f9){var _0x18cd37='';if(_0xd37f9['firstName']&&_0xd37f9['firstName']!==_0xd37f9[_0x477d('0x1359')]){_0x18cd37+=_0xd37f9[_0x477d('0x1357')]+'\x20';}if(_0xd37f9[_0x477d('0x1358')]&&_0xd37f9['lastName']!==_0xd37f9[_0x477d('0x1359')]){_0x18cd37+=_0xd37f9[_0x477d('0x1358')]+'\x20';}return _0x18cd37+='<'+_0xd37f9['email']+'>';}function _0x1b2eeb(_0x26226b,_0x1102ca){if(_[_0x477d('0x56b')](_0x26226b)){_0xece032[_0x477d('0x100')]=_0x26226b;return _0x26226b['email'];}if(_['isString'](_0x26226b)){if(_0x4d857b(_0x26226b)){_0xece032['contact']={'email':_0x26226b};return _0x26226b;}else{var _0x35b9cd=_0x26226b['split'](',');for(var _0x1900eb=0x0;_0x1900eb<_0x35b9cd[_0x477d('0x79')];_0x1900eb+=0x1){if(_0x4d857b(_0x35b9cd[_0x1900eb])){if(_[_0x477d('0x4a9')](_0x1102ca)&&_['indexOf'](_0x1102ca,_0x35b9cd[_0x1900eb])<0x0){_0x1102ca['push'](_0x35b9cd[_0x1900eb]);}}else{_0x1c03e8['error'](_0x477d('0x1880')+_0x35b9cd[_0x1900eb]+_0x477d('0x1881'));}}_0xece032[_0x477d('0x100')]={'email':_0x26226b['split'](',')[0x0]};return null;}}_0x1c03e8[_0x477d('0x44a')](_0x477d('0x1882'));return null;}function _0x32d5e9(_0x19525c){if(_0x10a026&&_0x10a026[_0x477d('0x1229')]){return _0x1fd841[_0x477d('0xb6c')][_0x477d('0x376')]({'ListId':_0x10a026[_0x477d('0x1229')],'nolimit':!![],'filter':_0x19525c,'fields':_0x477d('0x1883')})[_0x477d('0x38b')]['then'](function(_0x109fac){return _0x109fac[_0x477d('0xf2')];});}else{return[];}}function _0x218c07(){_0xece032[_0x477d('0x452')][_0x477d('0x175e')]=!![];_0xece032[_0x477d('0x15e4')]=_0x5b1765['getByInteraction'](_0x58d98f['id']);var _0xc6399={'account':_0x10a026,'message':_0xece032[_0x477d('0x452')],'contact':_0xece032[_0x477d('0x100')],'interaction':_0x58d98f};if(_0xece032[_0x477d('0x15e4')]&&!_0xece032[_0x477d('0x15b9')]){var _0x536b30=_0x528870[_0x477d('0xd78')]({'skipHide':!![]})['title'](_0x4815a9['instant'](_0x477d('0x1884')))[_0x477d('0xdaf')](_0x4815a9[_0x477d('0x45f')](_0x477d('0x1885')))[_0x477d('0x687')](_0x477d('0x1886'))['ok'](_0x4815a9[_0x477d('0x45f')](_0x477d('0x1887')))[_0x477d('0x4f0')](_0x4815a9[_0x477d('0x45f')]('DASHBOARDS.CANCEL'));_0x528870[_0x477d('0x395')](_0x536b30)[_0x477d('0x76')](function(){_0x528870[_0x477d('0x3bc')](_0xc6399);});}else{_0x528870['hide'](_0xc6399);}}function _0x27ccac(){_0x528870['cancel']();}function _0x4d857b(_0xaaa934){var _0x3a212f=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;return _0x3a212f[_0x477d('0x66b')](_0xaaa934);}function _0x12280f(_0x3d74d1){var _0x1073d1=/\]*\>([^]*)\<\/body/m;var _0x21343d=_0x3d74d1[_0x477d('0x408')](_0x1073d1);if(_0x21343d){return _0x21343d[0x1];}return _0x3d74d1;}function _0x37e649(){if(_['isNil'](_0x10a026[_0x477d('0xbb2')])){return'';}try{var _0x250695=_[_0x477d('0xbb2')](_0x10a026[_0x477d('0xbb2')]);var _0x59ebc5={'user':_0xece032[_0x477d('0x3e5')],'account':_0x10a026,'interaction':_0x58d98f,'contact':_0x58d98f&&_0x58d98f[_0x477d('0x1370')]?_0x58d98f[_0x477d('0x1370')]:{}};return _0x250695(_0x59ebc5);}catch(_0x4df6ac){console[_0x477d('0x44a')](_0x4df6ac);return'';}}function _0x81d123(){return'';}function _0x399ea0(_0x95b937){var _0x49394c=_0x477d('0x188a');switch(_0x95b937){case _0x477d('0x1867'):case'replyAll':_0x49394c+=_0xece032[_0x477d('0x1856')]({'date':moment(_0x21aed6['createdAt'])[_0x477d('0x12f')](_0x477d('0x188b'))||'','time':moment(_0x21aed6[_0x477d('0xe37')])[_0x477d('0x12f')]('HH:mm')||'','from':_[_0x477d('0x188c')](_0x21aed6[_0x477d('0x627')])||''});break;case _0x477d('0x1869'):_0x49394c+=_0xece032[_0x477d('0x1858')]({'date':moment(_0x21aed6[_0x477d('0xe37')])[_0x477d('0x12f')](_0x477d('0x188b'))||'','time':moment(_0x21aed6['createdAt'])[_0x477d('0x12f')](_0x477d('0x63c'))||'','from':_[_0x477d('0x188c')](_0x21aed6['from'])||'','to':_[_0x477d('0x188c')](_0x21aed6['to'])||'','subject':_[_0x477d('0x188c')](_0x21aed6[_0x477d('0x135c')])||''});break;}_0x49394c+=_0x477d('0x188d');_0x49394c+=_0x12280f(_0x21aed6[_0x477d('0x399')]?_[_0x477d('0x409')](_0x21aed6[_0x477d('0x399')],'';}function _0x30cced(_0x180841){var _0x49433a=_0x180841;if(_['isObject'](_0x49433a)){return _0x180841[_0x205164[_0x477d('0x1890')]];}return _0x49433a;}function _0x4e20fd(_0x32e7a9){if(_0x205164&&_0x205164['ListId']){var _0x3de87e=_0x477d('0x1891');if(_0x205164[_0x477d('0x1890')]){_0x3de87e+=','+_0x205164[_0x477d('0x1890')];}return _0x36d862[_0x477d('0xb6c')][_0x477d('0x376')]({'ListId':_0x205164[_0x477d('0x1229')],'nolimit':!![],'filter':_0x32e7a9,'fields':_0x3de87e})['$promise'][_0x477d('0x76')](function(_0x57f565){return _0x57f565[_0x477d('0xf2')];});}return[];}function _0x1d0a60(){_0x966c81['cancel']();}function _0x3df055(){_0x1ef087[_0x477d('0x1778')]=!![];}function _0x2390d9(){if(_0x1ef087[_0x477d('0x452')][_0x477d('0x399')]){_0x966c81[_0x477d('0x3bc')]({'secret':!![],'body':_0x1ef087[_0x477d('0x452')]['body']});}}}}());(function(){'use strict';_0x309a4b[_0x477d('0xa')]=[_0x477d('0x385'),'$timeout',_0x477d('0x387'),_0x477d('0x384'),_0x477d('0x1844'),_0x477d('0x15e5'),_0x477d('0x452'),'type',_0x477d('0x386'),_0x477d('0x40e'),'$q',_0x477d('0x40d'),'Auth'];angular[_0x477d('0xb')](_0x477d('0x2c'))[_0x477d('0x3ba')](_0x477d('0x17c3'),_0x309a4b);function _0x309a4b(_0x57091f,_0x4405d0,_0x77a6d5,_0x25e7fb,_0x194a5f,_0x4c65a7,_0x54cb16,_0x255413,_0x329f83,_0x26b22c,_0x513024,_0x366298,_0x54fac4){var _0x3f1bc0=this;_0x3f1bc0['currentUser']=_0x54fac4['getCurrentUser']();_0x3f1bc0[_0x477d('0xd67')]=[];_0x3f1bc0[_0x477d('0x1845')]=[_0x194a5f[_0x477d('0x1846')][_0x477d('0x1853')],_0x194a5f[_0x477d('0x1846')][_0x477d('0x1847')],_0x194a5f[_0x477d('0x1846')][_0x477d('0x1848')]];_0x3f1bc0['searchTextChange']=_0x5b8170;_0x3f1bc0[_0x477d('0x17f7')]=_0x2556bd;_0x3f1bc0['note']=_0x450474;_0x3f1bc0[_0x477d('0x188f')]=_0x2e5429;_0x3f1bc0[_0x477d('0x4b4')]={};_0x3f1bc0[_0x477d('0x452')]={'from':_0x4c65a7[_0x477d('0xf46')],'to':_[_0x477d('0x484')](_0x54cb16['to'])||_[_0x477d('0x3b2')](_0x54cb16['to'])?[]:_0x54cb16['to'],'body':''};_0x3f1bc0[_0x477d('0xa08')]=_0x76cf51;_0x3f1bc0['getContact']=_0x2b1b53;_0x3f1bc0['closeDialog']=_0x23feae;_0x3f1bc0[_0x477d('0x184b')]=_0x334438;_0x3f1bc0[_0x477d('0x184c')]=_0x2d22d6;switch(_0x255413){case _0x477d('0x163f'):_0x3f1bc0['note']();break;}function _0x5515e1(_0x511ee3){_0x25e7fb['hide']({'to':_0x3f1bc0[_0x477d('0x452')]['to'][_0x477d('0x3f6')](','),'body':_0x511ee3});}function _0x76cf51(_0x16e85b){if(_0x3f1bc0[_0x477d('0x452')]['to']&&_0x3f1bc0[_0x477d('0x452')][_0x477d('0x399')]){if(_0x3f1bc0[_0x477d('0x452')]['to'][_0x477d('0x79')]){_0x5515e1(_0x3f1bc0[_0x477d('0x452')][_0x477d('0x399')]);}else{_0x26b22c[_0x477d('0x44a')](_0x477d('0x184d'));}}}function _0x2556bd(_0x2ff7da){if(_0x2ff7da){try{_[_0x477d('0x1811')]['interpolate']=/{{([\s\S]+?)}}/g;var _0x2adf58=_[_0x477d('0xbb2')](_0x2ff7da[_0x477d('0x3b6')]);var _0x5bc9f3={'user':_0x3f1bc0[_0x477d('0x3e5')],'account':_0x4c65a7};_0x3f1bc0['message'][_0x477d('0x399')]+='\x20'+_0x2adf58(_0x5bc9f3);_0x3f1bc0[_0x477d('0x4b4')][_0x477d('0x4b2')](_0x3f1bc0[_0x477d('0x452')][_0x477d('0x399')]);}catch(_0xde5850){_0x3f1bc0[_0x477d('0x452')][_0x477d('0x399')]+='\x20'+_0x2ff7da[_0x477d('0x3b6')];_0x3f1bc0['ctrlMethods'][_0x477d('0x4b2')](_0x3f1bc0[_0x477d('0x452')][_0x477d('0x399')]);}_0x3f1bc0[_0x477d('0xe28')]=null;}}function _0x5b8170(_0x11b04f){var _0x3b78da=_0x513024['defer']();var _0x141117=[];_0x329f83[_0x477d('0xb91')][_0x477d('0x376')]({'filter':_0x11b04f,'SmsAccountId':_0x4c65a7['id']})[_0x477d('0x38b')]['then'](function(_0x53337b){_0x141117=_['concat'](_0x141117,_0x53337b['rows']);return _0x329f83[_0x477d('0xb91')]['get']({'filter':_0x11b04f})['$promise'];})[_0x477d('0x76')](function(_0x22f1dc){_0x141117=_[_0x477d('0x3a9')](_0x141117,_[_0x477d('0x3b3')](_0x22f1dc[_0x477d('0xf2')],function(_0x145486){return!_0x145486[_0x477d('0x14b8')]&&!_0x145486[_0x477d('0x14b6')]&&!_0x145486['SmsAccountId']&&!_0x145486[_0x477d('0x14b7')]&&!_0x145486[_0x477d('0x1237')];}));_0x3b78da[_0x477d('0x5a')](_0x141117);})['catch'](function(_0x1372fc){_0x3b78da[_0x477d('0x691')](_0x1372fc);});return _0x3b78da[_0x477d('0x553')];}function _0x2b1b53(_0x2ed0f0){var _0x355090='';if(_0x2ed0f0['firstName']&&_0x2ed0f0[_0x477d('0x1357')]!==_0x2ed0f0['mobile']){_0x355090+=_0x2ed0f0[_0x477d('0x1357')]+'\x20';}if(_0x2ed0f0['lastName']&&_0x2ed0f0[_0x477d('0x1358')]!==_0x2ed0f0[_0x477d('0x991')]){_0x355090+=_0x2ed0f0[_0x477d('0x1358')]+'\x20';}return _0x355090+='<'+_0x2ed0f0[_0x477d('0x991')]+'>';}function _0x2d22d6(_0x50903d){var _0x433069=_0x50903d;if(_['isObject'](_0x433069)){return _0x50903d['mobile'];}if(_0x211f7e(_0x433069)){return _0x433069;}_0x26b22c[_0x477d('0x44a')](_0x477d('0x1892')+_0x433069+_0x477d('0x1881'));return null;}function _0x334438(_0x32f1dd){if(_0x4c65a7&&_0x4c65a7[_0x477d('0x1229')]){return _0x329f83['cmContact'][_0x477d('0x376')]({'ListId':_0x4c65a7[_0x477d('0x1229')],'nolimit':!![],'filter':_0x32f1dd,'fields':_0x477d('0x1893')})[_0x477d('0x38b')]['then'](function(_0xf8174e){return _0xf8174e['rows'];});}return[];}function _0x23feae(){_0x25e7fb[_0x477d('0x4f0')]();}function _0x211f7e(_0x5cd12d){var _0x3071bd=/^(\+|\d)[0-9]{7,16}$/;return _0x3071bd['test'](_0x5cd12d);}function _0x450474(){_0x3f1bc0[_0x477d('0x1778')]=!![];}function _0x2e5429(){if(_0x3f1bc0[_0x477d('0x452')][_0x477d('0x399')]){_0x25e7fb['hide']({'secret':!![],'body':_0x3f1bc0[_0x477d('0x452')]['body']});}}}}());(function(){'use strict';_0x58f5bc[_0x477d('0xa')]=[_0x477d('0x385'),_0x477d('0x3fe'),'$window',_0x477d('0x384'),_0x477d('0x1844'),_0x477d('0x15e5'),'message','type',_0x477d('0x386'),_0x477d('0x40e'),'$q','$translate',_0x477d('0x55')];angular[_0x477d('0xb')](_0x477d('0x2c'))[_0x477d('0x3ba')](_0x477d('0x17e0'),_0x58f5bc);function _0x58f5bc(_0x17c9f6,_0x14e844,_0x57a21f,_0x3c3824,_0x1dadec,_0x1a9131,_0x319f79,_0x156c1a,_0x41adfe,_0x4051b9,_0x22a7ab,_0x17da9e,_0x152a18){var _0x5a7667=this;_0x5a7667[_0x477d('0x3e5')]=_0x152a18[_0x477d('0x5c')]();_0x5a7667[_0x477d('0xd67')]=[];_0x5a7667['separatorKeys']=[_0x1dadec['KEY_CODE'][_0x477d('0x1853')],_0x1dadec[_0x477d('0x1846')][_0x477d('0x1847')],_0x1dadec[_0x477d('0x1846')][_0x477d('0x1848')]];_0x5a7667['searchTextChange']=_0x437c4c;_0x5a7667[_0x477d('0x17f7')]=_0x341493;_0x5a7667[_0x477d('0x163f')]=_0x1f4752;_0x5a7667['addNote']=_0x4d1b19;_0x5a7667[_0x477d('0x4b4')]={};_0x5a7667[_0x477d('0x452')]={'from':_0x1a9131[_0x477d('0xf46')],'to':_['isNil'](_0x319f79['to'])||_[_0x477d('0x3b2')](_0x319f79['to'])?[]:_0x319f79['to'],'body':''};_0x5a7667[_0x477d('0xa08')]=_0x153e52;_0x5a7667[_0x477d('0x184a')]=_0x23cdd9;_0x5a7667['closeDialog']=_0xb9ae61;_0x5a7667[_0x477d('0x184b')]=_0xdeb6e;_0x5a7667[_0x477d('0x184c')]=_0x53d4cf;switch(_0x156c1a){case _0x477d('0x163f'):_0x5a7667[_0x477d('0x163f')]();break;}function _0x5b06c4(_0x5f2670){_0x3c3824['hide']({'to':_0x5a7667[_0x477d('0x452')]['to']['join'](','),'body':_0x5f2670});}function _0x153e52(_0x4e28ff){if(_0x5a7667[_0x477d('0x452')]['to']&&_0x5a7667[_0x477d('0x452')]['body']){if(_0x5a7667[_0x477d('0x452')]['to'][_0x477d('0x79')]){_0x5b06c4(_0x5a7667['message'][_0x477d('0x399')]);}else{_0x4051b9[_0x477d('0x44a')]('To\x20is\x20mandatory');}}}function _0x341493(_0x434513){if(_0x434513){try{_[_0x477d('0x1811')][_0x477d('0x1812')]=/{{([\s\S]+?)}}/g;var _0x55620c=_[_0x477d('0xbb2')](_0x434513[_0x477d('0x3b6')]);var _0x4d81cc={'user':_0x5a7667[_0x477d('0x3e5')],'account':_0x1a9131};_0x5a7667[_0x477d('0x452')][_0x477d('0x399')]+='\x20'+_0x55620c(_0x4d81cc);_0x5a7667[_0x477d('0x4b4')][_0x477d('0x4b2')](_0x5a7667[_0x477d('0x452')][_0x477d('0x399')]);}catch(_0x4b3d9c){_0x5a7667[_0x477d('0x452')][_0x477d('0x399')]+='\x20'+_0x434513[_0x477d('0x3b6')];_0x5a7667['ctrlMethods'][_0x477d('0x4b2')](_0x5a7667[_0x477d('0x452')][_0x477d('0x399')]);}_0x5a7667[_0x477d('0xe28')]=null;}}function _0x437c4c(_0x516fb8){var _0x29cb50=_0x22a7ab[_0x477d('0x54a')]();var _0x451a8a=[];_0x41adfe[_0x477d('0xb91')][_0x477d('0x376')]({'filter':_0x516fb8,'WhatsappAccountId':_0x1a9131['id']})['$promise']['then'](function(_0x2c26cc){_0x451a8a=_[_0x477d('0x3a9')](_0x451a8a,_0x2c26cc[_0x477d('0xf2')]);return _0x41adfe[_0x477d('0xb91')][_0x477d('0x376')]({'filter':_0x516fb8})['$promise'];})[_0x477d('0x76')](function(_0x458f5d){_0x451a8a=_['concat'](_0x451a8a,_['filter'](_0x458f5d['rows'],function(_0x30afb4){return!_0x30afb4[_0x477d('0x14b8')]&&!_0x30afb4[_0x477d('0x14b6')]&&!_0x30afb4[_0x477d('0x1597')]&&!_0x30afb4[_0x477d('0x14b7')]&&!_0x30afb4[_0x477d('0x1237')];}));_0x29cb50[_0x477d('0x5a')](_0x451a8a);})[_0x477d('0xf8')](function(_0xfc6bab){_0x29cb50[_0x477d('0x691')](_0xfc6bab);});return _0x29cb50[_0x477d('0x553')];}function _0x23cdd9(_0x38ae8a){var _0x4c6acc='';if(_0x38ae8a[_0x477d('0x1357')]&&_0x38ae8a[_0x477d('0x1357')]!==_0x38ae8a[_0x477d('0x991')]){_0x4c6acc+=_0x38ae8a[_0x477d('0x1357')]+'\x20';}if(_0x38ae8a[_0x477d('0x1358')]&&_0x38ae8a[_0x477d('0x1358')]!==_0x38ae8a['mobile']){_0x4c6acc+=_0x38ae8a[_0x477d('0x1358')]+'\x20';}return _0x4c6acc+='<'+_0x38ae8a[_0x477d('0x991')]+'>';}function _0x53d4cf(_0x291f0f){var _0xcb68ea=_0x291f0f;if(_[_0x477d('0x56b')](_0xcb68ea)){return _0x291f0f[_0x477d('0x991')];}if(_0x5841ee(_0xcb68ea)){return _0xcb68ea;}_0x4051b9[_0x477d('0x44a')]('Mobile\x20'+_0xcb68ea+_0x477d('0x1881'));return null;}function _0xdeb6e(_0x1c3bb5){if(_0x1a9131&&_0x1a9131[_0x477d('0x1229')]){return _0x41adfe[_0x477d('0xb6c')][_0x477d('0x376')]({'ListId':_0x1a9131[_0x477d('0x1229')],'nolimit':!![],'filter':_0x1c3bb5,'fields':_0x477d('0x1893')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x20220b){return _0x20220b[_0x477d('0xf2')];});}return[];}function _0xb9ae61(){_0x3c3824['cancel']();}function _0x5841ee(_0x111da9){var _0x23f235=/^(\+|\d)[0-9]{7,16}$/;return _0x23f235[_0x477d('0x66b')](_0x111da9);}function _0x1f4752(){_0x5a7667[_0x477d('0x1778')]=!![];}function _0x4d1b19(){if(_0x5a7667['message']['body']){_0x3c3824[_0x477d('0x3bc')]({'secret':!![],'body':_0x5a7667['message'][_0x477d('0x399')]});}}}}());(function(){'use strict';_0x47b768[_0x477d('0xa')]=[_0x477d('0x384'),_0x477d('0x40e'),_0x477d('0x386'),_0x477d('0x1364'),'channel',_0x477d('0x380'),_0x477d('0x157e')];angular[_0x477d('0xb')](_0x477d('0x2c'))[_0x477d('0x3ba')](_0x477d('0x15a5'),_0x47b768);function _0x47b768(_0x2e1975,_0x4a190a,_0x4458d1,_0xf4c43c,_0x5686d0,_0x21bdf2,_0x32de23){var _0x21f3b2=this;_0x21f3b2['errors']=[];_0x21f3b2[_0x477d('0x15b8')]=[];_0x21f3b2[_0x477d('0x1364')]=angular[_0x477d('0x6d9')](_0xf4c43c);if(!_0x21f3b2['interaction'][_0x477d('0xb95')]){_0x21f3b2[_0x477d('0x1364')][_0x477d('0xb95')]=null;}_0x21f3b2[_0x477d('0x1599')]=_0x5686d0;_0x21f3b2['apiRoute']=_0x21f3b2[_0x477d('0x1599')]+_0x477d('0x14bc');_0x21f3b2[_0x477d('0x1894')]=_0x21f3b2[_0x477d('0x1599')]+(_0x21f3b2['channel']===_0x477d('0xb6')?_0x477d('0x167c'):_0x477d('0x15a4'));_0x21f3b2[_0x477d('0x1895')]=_[_0x477d('0x12e0')](_0x21f3b2['channel'])+(_0x21f3b2[_0x477d('0x1599')]==='chat'?_0x477d('0x167c'):_0x477d('0x15a4'))+'Id';_0x21f3b2[_0x477d('0x15a0')]=![];_0x21f3b2[_0x477d('0x1896')]='';_0x21f3b2['wasUserInPause']=_0x21bdf2[_0x477d('0x624')]||_0x21bdf2[_0x477d('0x13d0')]||_0x21bdf2['mailPause']||_0x21bdf2[_0x477d('0x13d1')]||_0x21bdf2[_0x477d('0x13bb')];_0x21f3b2['saveDisposition']=_0x4c8aea;_0x21f3b2[_0x477d('0x6bf')]=_0x3fa1cc;function _0x4d77fa(){var _0x2785e7=[];var _0x2b1381={'fields':_0x477d('0x9c'),'sort':'name','nolimit':!![]};_0x2b1381[_0x21f3b2['accountProperty']]=_0xf4c43c[_0x21f3b2[_0x477d('0x1895')]];_0x4458d1[_0x21f3b2['apiAccountRoute']][_0x477d('0x376')]({'id':_0xf4c43c[_0x21f3b2[_0x477d('0x1895')]]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x21064c){_0x21f3b2[_0x477d('0x15a0')]=_0x21064c[_0x477d('0x15a0')];if(_0x21f3b2['mandatoryDisposition']){_0x21f3b2['mandatoryDispositionPause']=_0x21064c[_0x477d('0x1896')][_0x477d('0x94')];}return _0x4458d1[_0x477d('0xb95')][_0x477d('0x376')](_0x2b1381)[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x2c1d49){if(_0x2c1d49[_0x477d('0xf2')][_0x477d('0x79')]){_0x2785e7=_['concat'](_0x2785e7,_0x2c1d49[_0x477d('0xf2')]);}return _0x4458d1['disposition'][_0x477d('0x376')]({'MailAccountId':'null','FaxAccountId':'null','SmsAccountId':'null','WhatsappAccountId':'null','OpenchannelAccountId':_0x477d('0xea'),'ChatWebsiteId':_0x477d('0xea'),'ListId':_0x477d('0xea')})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0xc6f559){if(_0xc6f559[_0x477d('0xf2')]['length']){_0x2785e7=_['concat'](_0x2785e7,_0xc6f559[_0x477d('0xf2')]);}})[_0x477d('0xf8')](function(_0x71ce45){console['error'](_0x71ce45);})['finally'](function(){_0x21f3b2[_0x477d('0x15b8')]=_[_0x477d('0x1401')](_0x2785e7,[_0x477d('0x94')],[_0x477d('0x1400')]);_0x27a423();});}function _0x27a423(){if(_0x21f3b2[_0x477d('0x15a0')]&&!_0x21f3b2['wasUserInPause']){_0x4458d1[_0x477d('0x380')]['pause']({'id':_0x21bdf2['id'],'type':_0x21f3b2[_0x477d('0x1896')]||_0x477d('0x1897')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x1b50d1){})['catch'](function(_0xb18bdd){console[_0x477d('0x44a')](_0xb18bdd);});}}function _0x4c8aea(_0x3a8383){_0x21f3b2['errors']=[];_0x21f3b2[_0x477d('0x1364')][_0x477d('0x125b')]=_0x21bdf2['id'];_0x21f3b2[_0x477d('0x1364')]['closed']=!![];_0x21f3b2[_0x477d('0x1364')][_0x477d('0x1898')]=_0x477d('0xcf');if(_0x4458d1[_0x21f3b2[_0x477d('0x1899')]]){_0x4458d1[_0x21f3b2[_0x477d('0x1899')]][_0x477d('0x710')](_[_0x477d('0x10b')](_0x21f3b2[_0x477d('0x1364')],[_0x477d('0x14b8'),'FaxAccountId','SmsAccountId',_0x477d('0x1597'),_0x477d('0x1237'),_0x477d('0x14b7'),_0x477d('0x1351'),_0x477d('0x1898'),'disposition','id',_0x477d('0x163f'),_0x477d('0x125b')]))['$promise'][_0x477d('0x76')](function(_0x24ab30){_0x21f3b2[_0x477d('0x1364')]=_0x24ab30;if(_0x21f3b2[_0x477d('0x1599')]===_0x477d('0x1d6')){_0x32de23[_0x477d('0x180f')](_0x21f3b2[_0x477d('0x1364')]['id']);}_0x4a190a[_0x477d('0x485')]({'title':_0x477d('0x189a'),'msg':_0x477d('0x189b')});})[_0x477d('0x76')](function(){_0x3fa1cc(!![]);})[_0x477d('0xf8')](function(_0x265f7b){if(_0x265f7b[_0x477d('0x451')]&&_0x265f7b['data'][_0x477d('0xd67')]&&_0x265f7b[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x21f3b2['errors']=_0x265f7b['data']['errors']||[{'message':_0x265f7b[_0x477d('0x453')](),'type':_0x477d('0x189c')}];for(var _0x130b2c=0x0;_0x130b2c<_0x265f7b[_0x477d('0x451')]['errors'][_0x477d('0x79')];_0x130b2c++){_0x4a190a['error']({'title':_0x265f7b[_0x477d('0x451')][_0x477d('0xd67')][_0x130b2c][_0x477d('0x439')],'msg':_0x265f7b[_0x477d('0x451')][_0x477d('0xd67')][_0x130b2c][_0x477d('0x452')]});}}else{_0x4a190a[_0x477d('0x44a')]({'title':_0x265f7b[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x265f7b[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x265f7b['statusText']:_0x477d('0x189c'),'msg':_0x265f7b[_0x477d('0x451')]?JSON['stringify'](_0x265f7b[_0x477d('0x451')][_0x477d('0x452')]):_0x265f7b['toString']()});}});}else{_0x3fa1cc(![]);}}function _0x3fa1cc(_0x1046ea){_0x2e1975[_0x477d('0x3bc')](_0x1046ea);}_0x4d77fa();}}());(function(){'use strict';_0x1882a5[_0x477d('0xa')]=[_0x477d('0x384'),'toasty','api',_0x477d('0x1364'),_0x477d('0x1599'),_0x477d('0x1263')];angular[_0x477d('0xb')](_0x477d('0x2c'))[_0x477d('0x3ba')](_0x477d('0x189d'),_0x1882a5);function _0x1882a5(_0x19ba5b,_0x5a058b,_0x4e1c9f,_0x43d91f,_0x2785bc,_0x1e2696){var _0x30a38a=this;_0x30a38a[_0x477d('0xd67')]=[];_0x30a38a[_0x477d('0x1263')]=_0x1e2696;_0x30a38a['interaction']=angular[_0x477d('0x6d9')](_0x43d91f);_0x30a38a['interaction'][_0x477d('0x102')]=_[_0x477d('0x3cb')](_0x30a38a[_0x477d('0x1364')][_0x477d('0x102')],function(_0x1f0880){return{'id':_0x1f0880['id'],'name':_0x1f0880[_0x477d('0x94')],'color':_0x1f0880[_0x477d('0x3e3')]};});_0x30a38a[_0x477d('0x1599')]=_0x2785bc;_0x30a38a[_0x477d('0x189e')]=!![];_0x30a38a[_0x477d('0x189f')]=_0x5b0d06;_0x30a38a[_0x477d('0x6bf')]=_0x1636b6;_0x30a38a[_0x477d('0x1899')]=_0x30a38a[_0x477d('0x1599')]+_0x477d('0x14bc');function _0x5b0d06(){_0x30a38a['errors']=[];if(_0x4e1c9f[_0x30a38a[_0x477d('0x1899')]]){return _0x4e1c9f[_0x30a38a[_0x477d('0x1899')]]['addTags']({'id':_0x30a38a[_0x477d('0x1364')]['id'],'ids':_['map'](_0x30a38a[_0x477d('0x1364')]['Tags'],'id')})[_0x477d('0x38b')][_0x477d('0x76')](function(){_0x5a058b[_0x477d('0x485')]({'title':'Interaction\x20properly\x20tagged!','msg':'Interaction\x20has\x20been\x20tagged!'});_0x43d91f[_0x477d('0x102')]=_0x30a38a[_0x477d('0x1364')][_0x477d('0x102')];_0x1636b6(!![]);})['catch'](function(_0x51f73e){if(_0x51f73e[_0x477d('0x451')]&&_0x51f73e[_0x477d('0x451')]['errors']&&_0x51f73e[_0x477d('0x451')][_0x477d('0xd67')]['length']){for(var _0x228001=0x0;_0x228001<_0x51f73e[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x228001+=0x1){_0x5a058b[_0x477d('0x44a')]({'title':_0x51f73e['data'][_0x477d('0xd67')][_0x228001][_0x477d('0x439')],'msg':_0x51f73e[_0x477d('0x451')][_0x477d('0xd67')][_0x228001][_0x477d('0x452')]});}}else{_0x5a058b[_0x477d('0x44a')]({'title':_0x51f73e[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x51f73e['status']+_0x477d('0x44c')+_0x51f73e['statusText']:_0x477d('0x189c'),'msg':_0x51f73e[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x51f73e[_0x477d('0x451')][_0x477d('0x452')]):_0x51f73e[_0x477d('0x453')]()});}});}else{_0x1636b6(![]);}}function _0x1636b6(_0x227781){_0x19ba5b['hide'](_0x227781);}}}());(function(){'use strict';_0x2a4965[_0x477d('0xa')]=[_0x477d('0x384'),_0x477d('0x3fe'),_0x477d('0x55'),_0x477d('0x386'),_0x477d('0x40e'),'channel',_0x477d('0x452'),_0x477d('0x15e5')];angular[_0x477d('0xb')](_0x477d('0x2c'))[_0x477d('0x3ba')](_0x477d('0x181c'),_0x2a4965);function _0x2a4965(_0x4d8290,_0x5990bc,_0x3093d7,_0x4e3a07,_0x21f28b,_0x2ab96a,_0x35cd67,_0xdfced){var _0x59c502=this;_0x59c502['currentUser']=_0x3093d7['getCurrentUser']();_0x59c502[_0x477d('0x1599')]=_0x2ab96a[_0x477d('0x449')]();_0x59c502[_0x477d('0x452')]=_0x35cd67;_0x59c502['account']=_0xdfced;_0x59c502['transfer']={'id':0x0,'type':'queue'};_0x59c502[_0x477d('0x125c')]=_0x59c502[_0x477d('0xf2f')]={'count':0x0,'rows':[]};_0x59c502[_0x477d('0x18a0')]=_0x59c502[_0x477d('0x1599')]+_0x477d('0x1258');_0x59c502['queueNotifyMethod']=_0x59c502[_0x477d('0x1599')]+_0x477d('0x18a1');_0x59c502[_0x477d('0x18a2')]=_0x39f07e;_0x59c502[_0x477d('0x6bf')]=_0x40f299;_0x59c502[_0x477d('0x5ee')]=_0x15dbd0;_0x59c502['init']();function _0x15dbd0(){return _0x4e3a07[_0x477d('0x380')]['get']({'fields':_0x477d('0x9c'),'role':_0x477d('0xcf'),'sort':_0x477d('0x94'),'nolimit':!![]})[_0x477d('0x38b')]['then'](function(_0xb8caf5){_0x59c502[_0x477d('0x125c')]=_0xb8caf5||{'count':0x0,'rows':[]};return _0x4e3a07[_0x59c502[_0x477d('0x18a0')]][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':!![]})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x33d4f2){_0x59c502[_0x477d('0xf2f')]=_0x33d4f2||{'count':0x0,'rows':[]};})[_0x477d('0xf8')](function(_0x3f8c84){console[_0x477d('0x44a')](_0x3f8c84);});}function _0x40f299(_0xc1361f){_0x4d8290[_0x477d('0x3bc')](_0xc1361f);}function _0x39f07e(){_0x40f299(!![]);_0x5990bc(function(){return _0x4e3a07[_0x477d('0x6c9')][_0x59c502[_0x477d('0x4a5')][_0x477d('0x439')]===_0x477d('0xcf')?'agentNotify':_0x59c502[_0x477d('0x18a3')]]({'id':_0x59c502[_0x477d('0x4a5')]['id'],'messageId':_0x59c502['message']['id'],'channel':_0x59c502[_0x477d('0x1599')]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x18f8b5){_0x21f28b[_0x477d('0x485')]({'title':'Trasfer\x20properly\x20done!','msg':'Transfer\x20'+_0x59c502[_0x477d('0x4a5')][_0x477d('0x439')]+_0x477d('0x18a4')});})[_0x477d('0xf8')](function(_0x1262d5){if(_0x1262d5['data']&&_0x1262d5[_0x477d('0x451')][_0x477d('0xd67')]&&_0x1262d5['data'][_0x477d('0xd67')][_0x477d('0x79')]){_0x59c502[_0x477d('0xd67')]=_0x1262d5[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x1262d5[_0x477d('0x453')](),'type':_0x477d('0x18a5')}];for(var _0x40257b=0x0;_0x40257b<_0x1262d5[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x40257b++){_0x21f28b[_0x477d('0x44a')]({'title':_0x1262d5['data'][_0x477d('0xd67')][_0x40257b][_0x477d('0x439')],'msg':_0x1262d5[_0x477d('0x451')][_0x477d('0xd67')][_0x40257b]['message']});}}else{_0x21f28b[_0x477d('0x44a')]({'title':_0x1262d5[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x1262d5[_0x477d('0x3c3')]+'\x20-\x20'+_0x1262d5['statusText']:_0x477d('0x18a5'),'msg':_0x1262d5[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x1262d5[_0x477d('0x451')]['message']):_0x1262d5[_0x477d('0x453')]()});}});},0x1388);}}}());(function(){'use strict';_0x1cebb8[_0x477d('0xa')]=[_0x477d('0x474'),'$q',_0x477d('0x384'),'mwFormResponseUtils',_0x477d('0x386'),_0x477d('0x40e'),_0x477d('0x55'),_0x477d('0x40d'),'$rootScope',_0x477d('0x3fe'),'msUtils'];angular[_0x477d('0xb')]('app.dashboards')[_0x477d('0x3ba')](_0x477d('0x18a6'),_0x1cebb8);function _0x1cebb8(_0x33c707,_0x25d945,_0x202e72,_0x2b37af,_0x3b29cc,_0x3dd469,_0x513263,_0x45a12f,_0x30c552,_0x214a8b,_0x434999){var _0x2d1d41=this;_0x2d1d41[_0x477d('0x18a7')]={};_0x2d1d41[_0x477d('0x18a8')]=!![];_0x2d1d41[_0x477d('0x18a9')]=![];_0x2d1d41[_0x477d('0x157f')]=_0x434999[_0x477d('0x157f')]();_0x2d1d41[_0x477d('0x18aa')]=_0x354e0c;_0x2d1d41['openContact']=_0x567684;_0x2d1d41[_0x477d('0x18ab')]=_0x1696af;_0x2d1d41[_0x477d('0x18ac')]=_0x4caf45;_0x2d1d41['getResponseSheetRow']=_0x419161;_0x2d1d41[_0x477d('0x18ad')]=_0xf85e35;_0x2d1d41[_0x477d('0x18ae')]=_0x2015c2;_0x2d1d41[_0x477d('0x5ee')]=_0x24f40f;_0x2d1d41[_0x477d('0x18af')]=function(_0x5053f3){if(_0x2d1d41['formViewer'][_0x477d('0x18b0')]){var _0x547841=_0x202e72[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x45a12f[_0x477d('0x45f')](_0x477d('0x18b1')))[_0x477d('0xdaf')](_0x45a12f[_0x477d('0x45f')](_0x477d('0x18b2')))[_0x477d('0x68e')]('')[_0x477d('0x687')](_0x477d('0x18b3'))[_0x477d('0xd7c')](_0x5053f3)['ok'](_0x45a12f[_0x477d('0x45f')](_0x477d('0x18b4')))[_0x477d('0x4f0')](_0x45a12f['instant'](_0x477d('0x18b5')));_0x202e72['show'](_0x547841)[_0x477d('0x76')](function(){_0x2d1d41[_0x477d('0x18a9')]=![];_0x2d1d41['project'][_0x477d('0x18b6')]=undefined;_0x1e4504();_0x2d1d41[_0x477d('0x18a7')]['reset']();});}};function _0x1e4504(){try{_0x33c707[_0x477d('0x723')][_0x477d('0x723')][_0x477d('0x723')]['vm'][_0x477d('0x1589')]();}catch(_0x3632cb){_0x3dd469[_0x477d('0x44a')]({'title':'ERROR\x20UPDATE\x20LOCAL\x20TABS','msg':_0x477d('0x18b7')});}}function _0x24f40f(_0x2905dd){_0x2d1d41['tab']=_0x2905dd;if(_0x2d1d41[_0x477d('0xe96')]){_0x2d1d41[_0x477d('0x482')]=_0x2d1d41[_0x477d('0xe96')][_0x477d('0x482')];_0x2d1d41[_0x477d('0x18b8')]=_0x2d1d41[_0x477d('0xe96')]['openedAt'];_0x2d1d41[_0x477d('0x100')]=_0x2d1d41['tab']['contact'];_0x2d1d41[_0x477d('0xf13')]=_0x2d1d41[_0x477d('0xe96')][_0x477d('0xf13')];if(_0x2d1d41[_0x477d('0xf13')]){if(_['isObjectLike'](_0x2d1d41['project']['formData'])){_0x2d1d41[_0x477d('0xf13')]['formData']=_0x2d1d41[_0x477d('0xf13')]['formData'];}else if(_0x2d1d41[_0x477d('0x18ab')](_0x2d1d41[_0x477d('0xf13')][_0x477d('0x15d7')])){_0x2d1d41[_0x477d('0xf13')]['formData']=JSON[_0x477d('0x77')](_0x2d1d41['project'][_0x477d('0x15d7')]);}else{_0x2d1d41[_0x477d('0xf13')][_0x477d('0x15d7')]=undefined;}_0x2d1d41[_0x477d('0xf13')]['responseData']=_0x2d1d41[_0x477d('0xf13')][_0x477d('0x18b9')]||{};if(_0x2d1d41[_0x477d('0xf13')][_0x477d('0x18b6')]!==undefined){_0x214a8b(function(){_0x30c552['$broadcast'](_0x477d('0x18ba'),{'page':_0x2d1d41[_0x477d('0xf13')][_0x477d('0x18b6')]});});}_0x33c707[_0x477d('0x4ec')](_0x477d('0x18bb'),function(_0x3fe85d,_0x15066c){if(_0x15066c['currentPage']){_0x2d1d41[_0x477d('0xf13')][_0x477d('0x18b6')]=_0x15066c[_0x477d('0x18b6')]['number']-0x1;_0x1e4504();if(_0x2d1d41[_0x477d('0xf13')]['enableUncompleteSave']){if(_0x15066c[_0x477d('0x18b6')][_0x477d('0x421')]>=0x1&&_0x15066c[_0x477d('0x18b6')][_0x477d('0x421')]<_0x2d1d41['project']['formData'][_0x477d('0x18bc')][_0x477d('0x79')]){_0x2d1d41['showIncompleteSubmitButton']=!![];}else{_0x2d1d41[_0x477d('0x18a9')]=![];}}if(_0x2d1d41[_0x477d('0xf13')]['formData']&&_0x2d1d41[_0x477d('0xf13')][_0x477d('0x15d7')][_0x477d('0x18bc')]){for(var _0x46ce88=0x0,_0x26da74=_0x2d1d41[_0x477d('0xf13')][_0x477d('0x15d7')][_0x477d('0x18bc')][_0x477d('0x79')];_0x46ce88<_0x26da74;_0x46ce88++){if(_0x15066c[_0x477d('0x18b6')][_0x477d('0x421')]<_0x46ce88+0x1&&_0x2d1d41['project']['formData'][_0x477d('0x18bc')][_0x46ce88][_0x477d('0x18bd')]){for(var _0x51072f=0x0,_0x4b13c8=_0x2d1d41[_0x477d('0xf13')][_0x477d('0x15d7')][_0x477d('0x18bc')][_0x46ce88][_0x477d('0x18bd')]['length'];_0x51072f<_0x4b13c8;_0x51072f++){if(_0x2d1d41['project'][_0x477d('0x15d7')][_0x477d('0x18bc')][_0x46ce88][_0x477d('0x18bd')][_0x51072f]['type']===_0x477d('0x18be')&&_0x2d1d41['project']['formData'][_0x477d('0x18bc')][_0x46ce88][_0x477d('0x18bd')][_0x51072f][_0x477d('0x18be')]){delete _0x2d1d41[_0x477d('0xf13')][_0x477d('0x18b9')][_0x2d1d41[_0x477d('0xf13')]['formData'][_0x477d('0x18bc')][_0x46ce88][_0x477d('0x18bd')][_0x51072f][_0x477d('0x18be')]['id']];}}}}}}});}}}function _0x1696af(_0x21e9c0){if(_[_0x477d('0x484')](_0x21e9c0)){return![];}try{JSON[_0x477d('0x77')](_0x21e9c0);}catch(_0x17d3df){return![];}return!![];}function _0x567684(_0xc8915d,_0x36f405){try{_0x33c707[_0x477d('0x723')][_0x477d('0x723')][_0x477d('0x723')]['vm'][_0x477d('0x15d5')](_0x36f405);}catch(_0x30eeda){_0x3dd469[_0x477d('0x44a')]({'title':_0x477d('0x18bf'),'msg':_0x477d('0x18c0')});}}function _0x22c1af(_0x343082){var _0x3a5ef0=_0x25d945[_0x477d('0x54a')]();if(_0x2d1d41['project'][_0x477d('0x18c1')]){_0x3b29cc[_0x477d('0x380')]['unpause']({'id':_0x343082['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x2e2048){_0x3a5ef0[_0x477d('0x5a')]();})[_0x477d('0xf8')](function(_0x38f671){console[_0x477d('0x7b')](_0x477d('0x18c2'));_0x3a5ef0['resolve']();});}else{_0x3a5ef0[_0x477d('0x5a')]();}return _0x3a5ef0[_0x477d('0x553')];}function _0x33c033(_0x7d38ea,_0x3207c4){var _0x3416bd=[];var _0x5a3480=[];var _0x5a2aae=_0x513263[_0x477d('0x5c')]();_0x22c1af(_0x5a2aae)['then'](function(){return _0x3b29cc[_0x477d('0xc7b')][_0x477d('0xd70')]({'starttime':_0x2d1d41['starttime'],'membername':_0x2d1d41[_0x477d('0x482')]&&_0x2d1d41['call'][_0x477d('0x18c3')]?_0x2d1d41[_0x477d('0x482')]['membername']:_0x5a2aae[_0x477d('0x94')],'calleridname':_0x2d1d41['call']&&_0x2d1d41[_0x477d('0x482')][_0x477d('0x15ce')]?_0x2d1d41['call'][_0x477d('0x15ce')]:undefined,'calleridnum':_0x2d1d41[_0x477d('0x482')]&&_0x2d1d41['call'][_0x477d('0x15c2')]?_0x2d1d41['call'][_0x477d('0x15c2')]:undefined,'queue':_0x2d1d41[_0x477d('0x482')]&&_0x2d1d41[_0x477d('0x482')]['queue']?_0x2d1d41[_0x477d('0x482')]['queue']:undefined,'uniqueid':_0x2d1d41[_0x477d('0x482')]&&_0x2d1d41[_0x477d('0x482')][_0x477d('0x648')]?_0x2d1d41[_0x477d('0x482')][_0x477d('0x648')]:undefined,'VoiceQueueId':_0x2d1d41[_0x477d('0x482')]&&_0x2d1d41[_0x477d('0x482')][_0x477d('0x1642')]?_0x2d1d41[_0x477d('0x482')][_0x477d('0x1642')]:undefined,'ProjectId':_0x2d1d41[_0x477d('0xf13')]&&_0x2d1d41[_0x477d('0xf13')]['id']?_0x2d1d41[_0x477d('0xf13')]['id']:undefined,'projectname':_0x2d1d41[_0x477d('0xf13')]&&_0x2d1d41[_0x477d('0xf13')]['name']?_0x2d1d41[_0x477d('0xf13')][_0x477d('0x94')]:undefined,'ContactId':_0x2d1d41['contact']&&_0x2d1d41[_0x477d('0x100')]['id']?_0x2d1d41['contact']['id']:undefined,'completed':_0x3207c4})['$promise'];})['then'](function(_0x97bcef){if(_0x97bcef){var _0x55b945=_0x2d1d41[_0x477d('0x18ad')]();var _0x1a372b=_0x2d1d41[_0x477d('0x18c4')]();var _0x128ec6=_0x2d1d41[_0x477d('0x18ae')]();for(var _0x431d82=0x0;_0x431d82<_0x55b945['length'];_0x431d82+=0x1){if(!_[_0x477d('0x3b2')](String(_0x1a372b[_0x431d82]))){try{_0x3416bd[_0x477d('0x3a7')](_0x3b29cc['jscriptyQuestionReport']['save']({'question':_0x55b945[_0x431d82],'answer':_0x128ec6[_0x431d82]['type']===_0x477d('0x420')?moment(String(_0x1a372b[_0x431d82]))['format'](_0x477d('0x461')):_0x128ec6[_0x431d82][_0x477d('0x439')]===_0x477d('0x110b')?moment(String(_0x1a372b[_0x431d82]))[_0x477d('0x12f')](_0x477d('0x63c')):String(_0x1a372b[_0x431d82]),'questionId':_0x128ec6[_0x431d82]['id'],'membername':_0x2d1d41[_0x477d('0x482')]&&_0x2d1d41[_0x477d('0x482')][_0x477d('0x18c3')]?_0x2d1d41['call'][_0x477d('0x18c3')]:_0x5a2aae['name'],'calleridname':_0x2d1d41[_0x477d('0x482')]&&_0x2d1d41[_0x477d('0x482')][_0x477d('0x15ce')]?_0x2d1d41[_0x477d('0x482')][_0x477d('0x15ce')]:undefined,'calleridnum':_0x2d1d41[_0x477d('0x482')]&&_0x2d1d41['call'][_0x477d('0x15c2')]?_0x2d1d41[_0x477d('0x482')]['calleridnum']:undefined,'queue':_0x2d1d41[_0x477d('0x482')]&&_0x2d1d41[_0x477d('0x482')][_0x477d('0x1256')]?_0x2d1d41[_0x477d('0x482')][_0x477d('0x1256')]:undefined,'uniqueid':_0x2d1d41[_0x477d('0x482')]&&_0x2d1d41[_0x477d('0x482')]['uniqueid']?_0x2d1d41[_0x477d('0x482')]['uniqueid']:undefined,'SessionId':_0x97bcef['id'],'ProjectId':_0x2d1d41['project']['id'],'projectname':_0x2d1d41[_0x477d('0xf13')][_0x477d('0x94')]}));}catch(_0x83ca94){console[_0x477d('0x44a')](_0x477d('0x18c5'),_0x83ca94);}var _0x4afd02=String(_0x1a372b[_0x431d82])[_0x477d('0x472')](';');for(var _0xb6599a=0x0;_0xb6599a<_0x4afd02[_0x477d('0x79')];_0xb6599a+=0x1){var _0x3ff2ff=_0x4afd02[_0xb6599a]['trim']();try{_0x5a3480[_0x477d('0x3a7')](_0x3b29cc[_0x477d('0xc73')][_0x477d('0xd70')]({'question':_0x55b945[_0x431d82],'questionId':_0x128ec6[_0x431d82]['id'],'answer':_0x128ec6[_0x431d82][_0x477d('0x439')]===_0x477d('0x420')?moment(_0x3ff2ff)[_0x477d('0x12f')](_0x477d('0x461')):_0x128ec6[_0x431d82][_0x477d('0x439')]==='time'?moment(_0x3ff2ff)[_0x477d('0x12f')](_0x477d('0x63c')):_0x3ff2ff,'membername':_0x2d1d41['call']&&_0x2d1d41[_0x477d('0x482')]['membername']?_0x2d1d41['call'][_0x477d('0x18c3')]:_0x5a2aae[_0x477d('0x94')],'calleridname':_0x2d1d41[_0x477d('0x482')]&&_0x2d1d41[_0x477d('0x482')]['calleridname']?_0x2d1d41[_0x477d('0x482')][_0x477d('0x15ce')]:undefined,'calleridnum':_0x2d1d41[_0x477d('0x482')]&&_0x2d1d41[_0x477d('0x482')][_0x477d('0x15c2')]?_0x2d1d41['call'][_0x477d('0x15c2')]:undefined,'queue':_0x2d1d41['call']&&_0x2d1d41[_0x477d('0x482')][_0x477d('0x1256')]?_0x2d1d41[_0x477d('0x482')][_0x477d('0x1256')]:undefined,'uniqueid':_0x2d1d41[_0x477d('0x482')]&&_0x2d1d41[_0x477d('0x482')][_0x477d('0x648')]?_0x2d1d41['call'][_0x477d('0x648')]:undefined,'SessionId':_0x97bcef['id'],'ProjectId':_0x2d1d41['project']['id'],'projectname':_0x2d1d41['project'][_0x477d('0x94')]}));}catch(_0x4479e8){console['error'](_0x477d('0x18c6'),_0x4479e8);}}}}}return _0x25d945[_0x477d('0x7c')](_0x3416bd)[_0x477d('0x76')](function(){return _0x25d945[_0x477d('0x7c')](_0x5a3480)[_0x477d('0x76')](function(){return _0x97bcef;});});})[_0x477d('0x76')](function(_0xe8313f){if(_0xe8313f){_0x7d38ea[_0x477d('0x5a')](!![]);}else{_0x7d38ea['reject']();}})['catch'](function(_0x455476){if(_0x455476['data']&&_0x455476['data'][_0x477d('0xd67')]&&_0x455476[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x2d1d41[_0x477d('0xd67')]=_0x455476[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x455476['toString'](),'type':_0x477d('0x1484')}];for(var _0x1d9b52=0x0;_0x1d9b52<_0x455476[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x1d9b52+=0x1){_0x3dd469['error']({'title':_0x455476[_0x477d('0x451')][_0x477d('0xd67')][_0x1d9b52][_0x477d('0x439')],'msg':_0x455476['data'][_0x477d('0xd67')][_0x1d9b52][_0x477d('0x452')]});}}else{_0x3dd469[_0x477d('0x44a')]({'title':_0x455476[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x455476[_0x477d('0x3c3')]+'\x20-\x20'+_0x455476[_0x477d('0x44d')]:_0x477d('0x1484'),'msg':_0x455476['data']?JSON[_0x477d('0x3fb')](_0x455476['data']['message']):_0x455476[_0x477d('0x453')]()});}_0x7d38ea[_0x477d('0x691')]();});}function _0x362e22(_0x3382ea){try{_0x33c707[_0x477d('0x723')][_0x477d('0x723')][_0x477d('0x723')]['vm']['removeTab'](_0x3382ea);}catch(_0x41dc7e){_0x3dd469[_0x477d('0x44a')]({'title':_0x477d('0x18c7'),'msg':_0x477d('0x18c8')});}}function _0x354e0c(_0x2c8858,_0x52cc47){var _0x159d24=_0x25d945[_0x477d('0x54a')]();if(_0x52cc47){var _0x2a9c2f=_0x202e72[_0x477d('0xd78')]()[_0x477d('0x49a')]('Would\x20you\x20like\x20to\x20save\x20your\x20survey?')[_0x477d('0x68e')]('')[_0x477d('0x687')](_0x477d('0x18b3'))[_0x477d('0xd7c')](_0x2c8858)['ok'](_0x477d('0x159f'))[_0x477d('0x4f0')]('NO');_0x202e72['show'](_0x2a9c2f)[_0x477d('0x76')](function(){_0x33c033(_0x159d24,![]);},function(){_0x159d24[_0x477d('0x5a')]();});}else{_0x33c033(_0x159d24,!![]);}return _0x159d24['promise'][_0x477d('0x76')](function(_0x154b29){if(_0x154b29){_0x3dd469[_0x477d('0x485')]({'title':'Session\x20saved','msg':_0x477d('0x18c9')});_0x362e22(_0x2d1d41[_0x477d('0xe96')]);}})[_0x477d('0xf8')](function(_0x6354f8){_0x3dd469[_0x477d('0x44a')]({'title':_0x477d('0x18ca'),'msg':'There\x20has\x20been\x20an\x20error\x20while\x20trying\x20to\x20save\x20your\x20survey\x20session!'});});}function _0x4caf45(){return _0x2b37af[_0x477d('0x18ac')](_0x2d1d41[_0x477d('0xf13')][_0x477d('0x15d7')],_0x2d1d41['project'][_0x477d('0x18b9')],![]);}function _0x419161(){return _0x2b37af['getResponseSheetRow'](_0x2d1d41[_0x477d('0xf13')][_0x477d('0x15d7')],_0x2d1d41[_0x477d('0xf13')][_0x477d('0x18b9')]);}function _0xf85e35(){return _0x2b37af['getResponseSheetHeaders'](_0x2d1d41[_0x477d('0xf13')][_0x477d('0x15d7')],![]);}function _0x2015c2(){return _0x2b37af[_0x477d('0x18ae')](_0x2d1d41[_0x477d('0xf13')]['formData'],_0x2d1d41[_0x477d('0xf13')][_0x477d('0x18b9')]);}}}());(function(){'use strict';_0x409f36[_0x477d('0xa')]=[_0x477d('0x40d'),_0x477d('0x40e'),_0x477d('0x63e'),_0x477d('0x386'),_0x477d('0x55')];angular[_0x477d('0xb')]('app.dashboards')[_0x477d('0x3ba')](_0x477d('0x18cb'),_0x409f36);function _0x409f36(_0x238156,_0x391a62,_0x3b5ecf,_0x54f9fc,_0x797350){var _0x41cf8f=this;_0x41cf8f[_0x477d('0x63e')]=_0x3b5ecf;_0x41cf8f['user']=_0x797350[_0x477d('0x5c')]();_0x41cf8f[_0x477d('0x944')]=_0x289afe;_0x41cf8f[_0x477d('0x691')]=_0xe8ee20;function _0x4a23c6(){return function(_0x261181){if(_0x261181[_0x477d('0x3c3')]===0x194){_0x391a62[_0x477d('0x669')]({'title':_0x238156['instant'](_0x477d('0x15df')),'msg':_0x238156[_0x477d('0x45f')](_0x477d('0x15e0'))});}else if(_0x261181[_0x477d('0x451')]&&_0x261181[_0x477d('0x451')][_0x477d('0xd67')]&&_0x261181[_0x477d('0x451')][_0x477d('0xd67')]['length']){_0x41cf8f[_0x477d('0xd67')]=_0x261181['data'][_0x477d('0xd67')]||[{'message':_0x261181[_0x477d('0x453')](),'type':_0x477d('0x15e1')}];for(var _0x41cdba=0x0;_0x41cdba<_0x261181[_0x477d('0x451')]['errors']['length'];_0x41cdba+=0x1){_0x391a62[_0x477d('0x44a')]({'title':_0x261181[_0x477d('0x451')]['errors'][_0x41cdba][_0x477d('0x439')],'msg':_0x261181[_0x477d('0x451')]['errors'][_0x41cdba][_0x477d('0x452')]});}}else{_0x391a62['error']({'title':_0x261181[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x261181[_0x477d('0x3c3')]+'\x20-\x20'+_0x261181['statusText']:_0x477d('0x15e1'),'msg':_0x261181[_0x477d('0x451')]?JSON['stringify'](_0x261181[_0x477d('0x451')][_0x477d('0x452')]):_0x261181[_0x477d('0x453')]()});}};}function _0x289afe(_0x38eccb){if(_0x54f9fc[_0x41cf8f[_0x477d('0x63e')][_0x477d('0x1599')]+_0x477d('0x15ca')]){return _0x54f9fc[_0x41cf8f[_0x477d('0x63e')]['channel']+'Message'][_0x477d('0x944')]({'id':_0x41cf8f[_0x477d('0x63e')]['id'],'UserId':_0x41cf8f['user']['id'],'manual':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x184f22){_0x391a62[_0x477d('0x485')]({'title':_0x477d('0x15cb'),'msg':_0x477d('0x18cc')});})[_0x477d('0xf8')](_0x4a23c6());}else{_0x391a62['error']({'title':_0x477d('0x18cd'),'msg':_0x477d('0x18ce')+_0x41cf8f[_0x477d('0x63e')]['channel']+'Message'});}}function _0xe8ee20(_0x47bad5){if(_0x54f9fc[_0x41cf8f[_0x477d('0x63e')]['channel']+_0x477d('0x15ca')]){return _0x54f9fc[_0x41cf8f[_0x477d('0x63e')]['channel']+_0x477d('0x15ca')][_0x477d('0x691')]({'id':_0x41cf8f[_0x477d('0x63e')]['id'],'UserId':_0x41cf8f[_0x477d('0x380')]['id']})['$promise']['then'](function(_0x4818d3){_0x391a62['success']({'title':_0x477d('0x18cf'),'msg':_0x477d('0x15cc')});})[_0x477d('0xf8')](_0x4a23c6());}else{_0x391a62[_0x477d('0x44a')]({'title':'API:ERROR','msg':'API\x20reject\x20message\x20not\x20found:\x20'+_0x41cf8f[_0x477d('0x63e')]['channel']+'Message'});}}}}());(function(){'use strict';angular[_0x477d('0xb')]('app.dashboards')[_0x477d('0x3ba')](_0x477d('0x18d0'),_0x4e3009);function _0x4e3009(){var _0x4839b7=this;_0x4839b7[_0x477d('0x5ee')]=_0x1fd705;function _0x1fd705(_0x19e80c){_0x4839b7[_0x477d('0xe96')]=_0x19e80c;if(_0x4839b7['tab']){_0x4839b7[_0x477d('0xe96')]['saved']=!![];_0x4839b7[_0x477d('0x3de')]=_0x4839b7[_0x477d('0xe96')][_0x477d('0x3de')];}}}}());(function(){'use strict';_0x173ba7['$inject']=[_0x477d('0x474'),'socket',_0x477d('0x1676'),'chatWebsites'];angular[_0x477d('0xb')](_0x477d('0x2c'))[_0x477d('0x3ba')]('UserChatDashboardGeneralController',_0x173ba7);function _0x173ba7(_0x4fcc23,_0x3e3f97,_0x1635f4,_0x2619e0){var _0xd97e28=this;var _0x26a767=[];_0xd97e28[_0x477d('0xd')]={'format':_0x477d('0x18d1'),'unit':'seconds','trim':![]};_0xd97e28[_0x477d('0x9e')]={'waiting':0x0,'talking':0x0,'answered':0x0,'abandoned':0x0,'unmanaged':0x0,'sumHoldTime':0x0,'sumBillable':0x0,'total':0x0,'avgHoldTime':'00:00:00','avgTalkTime':_0x477d('0x18d2'),'answerRate':0x0,'abandonRate':0x0};_0xd97e28[_0x477d('0x120e')]=_0x2619e0?_[_0x477d('0xdb5')](_0x2619e0[_0x477d('0xf2')]?_0x2619e0[_0x477d('0xf2')]:[],'id'):{};_0xd97e28[_0x477d('0x18d3')]=_0x51c41e;_0xd97e28['onUpdateChatInteraction']=_0x945cd9;_0x3e3f97['on']('chatInteraction:save',_0xd97e28[_0x477d('0x18d3')]);_0x3e3f97['on']('chatInteraction:update',_0xd97e28['onUpdateChatInteraction']);_0x417625();function _0x511450(_0x4fa2a4,_0x34db37){if(!_0x4fa2a4['closed']&&!_0x4fa2a4[_0x477d('0x125b')]&&_0x34db37){_0xd97e28[_0x477d('0x9e')][_0x477d('0x10c')]+=0x1;}if(!_0x4fa2a4['closed']&&_0x4fa2a4[_0x477d('0x125b')]&&!_[_0x477d('0x3a4')](_0x26a767,_0x4fa2a4['id'])){_0xd97e28[_0x477d('0x9e')][_0x477d('0x10e')]+=0x1;_0x26a767[_0x477d('0x3a7')](_0x4fa2a4['id']);if(!_0x34db37&&_0xd97e28[_0x477d('0x9e')][_0x477d('0x10c')]){_0xd97e28[_0x477d('0x9e')]['waiting']-=0x1;}}if(_0x4fa2a4[_0x477d('0x1351')]&&_0x4fa2a4[_0x477d('0xb95')]==='abandoned'){_0xd97e28[_0x477d('0x9e')][_0x477d('0x111')]+=0x1;if(!_0x34db37&&_0xd97e28['inbound']['waiting']){_0xd97e28[_0x477d('0x9e')][_0x477d('0x10c')]-=0x1;}}else if(_0x4fa2a4[_0x477d('0x1351')]&&!_0x4fa2a4[_0x477d('0x125b')]&&_0x4fa2a4[_0x477d('0xb95')]){_0xd97e28[_0x477d('0x9e')][_0x477d('0x110')]+=0x1;if(!_0x34db37&&_0xd97e28[_0x477d('0x9e')][_0x477d('0x10c')]){_0xd97e28[_0x477d('0x9e')]['waiting']-=0x1;}}else if(_0x4fa2a4[_0x477d('0x1351')]&&_0x4fa2a4[_0x477d('0x125b')]){_0xd97e28[_0x477d('0x9e')][_0x477d('0x18d4')]+=moment(_0x4fa2a4[_0x477d('0x18d5')])[_0x477d('0x7a9')](moment(_0x4fa2a4[_0x477d('0x18d6')]),_0xd97e28[_0x477d('0xd')]['unit']);_0xd97e28[_0x477d('0x9e')][_0x477d('0x18d7')]+=moment(_0x4fa2a4[_0x477d('0x18d6')])['diff'](moment(_0x4fa2a4[_0x477d('0xe37')]),_0xd97e28[_0x477d('0xd')][_0x477d('0x18d8')]);_0xd97e28['inbound'][_0x477d('0x10f')]+=0x1;if(!_0x34db37&&_0xd97e28[_0x477d('0x9e')][_0x477d('0x10e')]){_0xd97e28[_0x477d('0x9e')][_0x477d('0x10e')]-=0x1;}}if(_0x34db37){_0xd97e28[_0x477d('0x9e')]['total']+=0x1;}}function _0x2f1ad2(){_0xd97e28[_0x477d('0x9e')][_0x477d('0x18d9')]=Math['round']((_0xd97e28['inbound'][_0x477d('0x111')]+_0xd97e28[_0x477d('0x9e')][_0x477d('0x110')])/(_0xd97e28[_0x477d('0x9e')][_0x477d('0x10d')]-_0xd97e28[_0x477d('0x9e')]['talking']-_0xd97e28[_0x477d('0x9e')][_0x477d('0x10c')])*0x64,-0x2);_0xd97e28['inbound'][_0x477d('0x18da')]=Math[_0x477d('0x4fc')](_0xd97e28[_0x477d('0x9e')][_0x477d('0x10f')]/(_0xd97e28[_0x477d('0x9e')][_0x477d('0x10d')]-_0xd97e28[_0x477d('0x9e')]['talking']-_0xd97e28['inbound'][_0x477d('0x10c')])*0x64,-0x2);_0xd97e28[_0x477d('0x9e')][_0x477d('0x18db')]=moment['duration'](Math['round'](_0xd97e28[_0x477d('0x9e')][_0x477d('0x18d7')]/_0xd97e28[_0x477d('0x9e')][_0x477d('0x10f')]),_0xd97e28[_0x477d('0xd')][_0x477d('0x18d8')])[_0x477d('0x12f')](_0xd97e28['config'][_0x477d('0x12f')],_0xd97e28['config']);_0xd97e28[_0x477d('0x9e')][_0x477d('0x18dc')]=moment[_0x477d('0x15f4')](Math[_0x477d('0x4fc')](_0xd97e28[_0x477d('0x9e')][_0x477d('0x18d4')]/_0xd97e28[_0x477d('0x9e')][_0x477d('0x10f')]),_0xd97e28[_0x477d('0xd')][_0x477d('0x18d8')])[_0x477d('0x12f')](_0xd97e28[_0x477d('0xd')][_0x477d('0x12f')],_0xd97e28[_0x477d('0xd')]);}function _0x417625(){if(Object[_0x477d('0x7f')](_0xd97e28['chatWebsites'])[_0x477d('0x79')]>0x0){for(var _0x3c148d=0x0;_0x3c148d<_0x1635f4['rows']['length'];_0x3c148d+=0x1){if(_0x2fe37d(_0x1635f4[_0x477d('0xf2')][_0x3c148d])){var _0xe1aca7=_0x1635f4['rows'][_0x3c148d];_0x511450(_0xe1aca7,!![]);_0x2f1ad2();}}}}function _0x2fe37d(_0x488b0f){if(_[_0x477d('0x3ab')](_0xd97e28[_0x477d('0x120e')],{'id':_['toNumber'](_0x488b0f['ChatWebsiteId'])})){return!![];}return![];}function _0x1235fc(_0x16d7c0){var _0x2d8f76=moment()[_0x477d('0x12e')](0x0,!![])[_0x477d('0x12d')]('day');var _0x484a06=moment()[_0x477d('0x12e')](0x0,!![])['endOf'](_0x477d('0x137'));return moment(_0x16d7c0)[_0x477d('0x12e')](0x0,!![])[_0x477d('0x18dd')](_0x2d8f76,_0x484a06);}function _0x51c41e(_0x5075ae){if(_0x2fe37d(_0x5075ae)&&_0x1235fc(_0x5075ae[_0x477d('0xe37')])){_0x511450(_0x5075ae,!![]);_0x2f1ad2();}}function _0x945cd9(_0x2c4207){if(_0x2fe37d(_0x2c4207)&&_0x1235fc(_0x2c4207[_0x477d('0xe37')])){_0x511450(_0x2c4207,![]);_0x2f1ad2();}}_0x4fcc23[_0x477d('0x4ec')](_0x477d('0x505'),function(){_0x3e3f97[_0x477d('0x6b8')]('chatInteraction:save');_0x3e3f97['removeAllListeners'](_0x477d('0x168c'));});}}());(function(){'use strict';_0x5ac13a[_0x477d('0xa')]=[_0x477d('0x474'),'$interval',_0x477d('0x5a3'),'outboundQueues',_0x477d('0x1404'),_0x477d('0x18de'),'initializeRealtimeCampaign','rpcCampaigns'];angular[_0x477d('0xb')](_0x477d('0x2c'))[_0x477d('0x3ba')]('UserVoiceDashboardDialerController',_0x5ac13a);function _0x5ac13a(_0x546b23,_0x306beb,_0x85f6bf,_0x1a4567,_0x11f111,_0x1359eb,_0x3850e4,_0x259ed4){var _0x2125e4=this;_0x2125e4[_0x477d('0x18df')]=_0x1a4567?_[_0x477d('0xdb5')](_0x1a4567[_0x477d('0xf2')]?_0x1a4567['rows']:[],'id'):{};_0x2125e4[_0x477d('0x1404')]=_0x11f111?_[_0x477d('0xdb5')](_0x11f111['rows']?_0x11f111[_0x477d('0xf2')]:[],'id'):{};_0x2125e4[_0x477d('0x18e0')]=_0x259ed4?_[_0x477d('0xdb5')](_0x259ed4[_0x477d('0xf2')]?_0x259ed4[_0x477d('0xf2')]:[],'id'):{};_0x2125e4[_0x477d('0x209')]={'originated':0x0,'limitCalls':0x0};_0x2125e4[_0x477d('0x9e')]={'waiting':0x0,'talking':0x0,'pTalking':0x0,'answered':0x0,'abandoned':0x0,'unmanaged':0x0,'sumHoldTime':0x0,'sumBillable':0x0,'total':0x0,'avgHoldTime':_0x477d('0x18d2'),'avgTalkTime':_0x477d('0x18d2'),'answerRate':0x0,'abandonRate':0x0,'outboundDropCallsDayCallersExit':0x0,'outboundDropCallsDayTimeout':0x0};_0x2125e4['onSaveQueue']=_0x675fe1;_0x2125e4[_0x477d('0x18e1')]=_0x489abe;_0x85f6bf[_0x477d('0x165e')](_0x477d('0x1571'),_0x2125e4[_0x477d('0x16c4')]);_0x2125e4[_0x477d('0x79c')]=_0x306beb(function(){_0x464c94();_0x11957b();},0x3e7);_0x85f6bf[_0x477d('0x165e')](_0x477d('0x18e2'),_0x2125e4[_0x477d('0x18e1')]);_0x464c94();_0x11957b();function _0x464c94(){_0x1359eb({'queues':_0x2125e4[_0x477d('0x18df')],'rpcQueues':_0x2125e4[_0x477d('0x1404')]})['then'](function(_0x4025ec){_0x2125e4['inbound']=_0x4025ec;});}function _0x11957b(){_0x3850e4({'rpcCampaigns':_0x2125e4[_0x477d('0x18e0')]})['then'](function(_0x1e8bb1){_0x2125e4[_0x477d('0x209')]=_0x1e8bb1;});}function _0x675fe1(_0xc933ac){if(_0x2125e4[_0x477d('0x18df')][_0xc933ac['id']]){if(_0x2125e4[_0x477d('0x1404')][_0xc933ac['id']]){_0x2125e4[_0x477d('0x1404')][_0xc933ac['id']]=_0xc933ac;}}}function _0x489abe(_0x11e3a7){if(_0x2125e4[_0x477d('0x18e0')][_0x11e3a7['id']]){_0x2125e4[_0x477d('0x18e0')][_0x11e3a7['id']]=_0x11e3a7;}}_0x546b23[_0x477d('0x4ec')](_0x477d('0x505'),function(){_0x85f6bf['removeAllListeners'](_0x477d('0x1571'));_0x85f6bf['removeAllListeners']('campaign:save');_0x2125e4[_0x477d('0x79c')]&&_0x306beb[_0x477d('0x4f0')](_0x2125e4[_0x477d('0x79c')]);});}}());(function(){'use strict';_0x3a800e[_0x477d('0xa')]=[_0x477d('0x474'),'socket',_0x477d('0x174e'),_0x477d('0x160c')];angular[_0x477d('0xb')](_0x477d('0x2c'))[_0x477d('0x3ba')](_0x477d('0x18e3'),_0x3a800e);function _0x3a800e(_0x5afb53,_0x3b1e04,_0x2a0055,_0x2d2ba9){var _0x49aec6=this;var _0x256c52=[];_0x49aec6['config']={'format':_0x477d('0x18d1'),'unit':_0x477d('0x6e9'),'trim':![]};_0x49aec6['inbound']={'waiting':0x0,'talking':0x0,'answered':0x0,'abandoned':0x0,'unmanaged':0x0,'sumHoldTime':0x0,'sumBillable':0x0,'total':0x0,'avgHoldTime':_0x477d('0x18d2'),'avgTalkTime':_0x477d('0x18d2'),'answerRate':0x0,'abandonRate':0x0};_0x49aec6[_0x477d('0x160c')]=_0x2d2ba9?_[_0x477d('0xdb5')](_0x2d2ba9[_0x477d('0xf2')]?_0x2d2ba9[_0x477d('0xf2')]:[],'id'):{};_0x49aec6[_0x477d('0x18e4')]=_0x1ad052;_0x49aec6['onUpdateFaxInteraction']=_0x13f904;_0x3b1e04['on'](_0x477d('0x1755'),_0x49aec6[_0x477d('0x18e4')]);_0x3b1e04['on']('faxInteraction:update',_0x49aec6[_0x477d('0x18e5')]);_0x457d12();function _0x3411ec(_0x3b01ad,_0x54c8a8){if(!_0x3b01ad[_0x477d('0x1351')]&&!_0x3b01ad[_0x477d('0x125b')]&&_0x54c8a8){_0x49aec6[_0x477d('0x9e')][_0x477d('0x10c')]+=0x1;}if(!_0x3b01ad[_0x477d('0x1351')]&&_0x3b01ad[_0x477d('0x125b')]&&!_[_0x477d('0x3a4')](_0x256c52,_0x3b01ad['id'])){_0x49aec6[_0x477d('0x9e')][_0x477d('0x10e')]+=0x1;_0x256c52['push'](_0x3b01ad['id']);if(!_0x54c8a8&&_0x49aec6[_0x477d('0x9e')][_0x477d('0x10c')]){_0x49aec6['inbound'][_0x477d('0x10c')]-=0x1;}}if(_0x3b01ad[_0x477d('0x1351')]&&_0x3b01ad[_0x477d('0x125b')]){_0x49aec6['inbound'][_0x477d('0x18d4')]+=moment(_0x3b01ad['closedAt'])[_0x477d('0x7a9')](moment(_0x3b01ad['read1stAt']),_0x49aec6[_0x477d('0xd')][_0x477d('0x18d8')]);_0x49aec6[_0x477d('0x9e')]['sumHoldTime']+=moment(_0x3b01ad[_0x477d('0x18d6')])[_0x477d('0x7a9')](moment(_0x3b01ad[_0x477d('0xe37')]),_0x49aec6[_0x477d('0xd')]['unit']);_0x49aec6[_0x477d('0x9e')][_0x477d('0x10f')]+=0x1;if(!_0x54c8a8&&_0x49aec6['inbound'][_0x477d('0x10e')]){_0x49aec6[_0x477d('0x9e')][_0x477d('0x10e')]-=0x1;}}if(_0x3b01ad[_0x477d('0x1351')]&&!_0x3b01ad[_0x477d('0x125b')]){_0x49aec6[_0x477d('0x9e')][_0x477d('0x110')]+=0x1;if(!_0x54c8a8&&_0x49aec6['inbound'][_0x477d('0x10c')]){_0x49aec6['inbound'][_0x477d('0x10c')]-=0x1;}}if(_0x54c8a8){_0x49aec6['inbound']['total']+=0x1;}}function _0x2af359(){_0x49aec6[_0x477d('0x9e')]['abandonRate']=Math[_0x477d('0x4fc')]((_0x49aec6[_0x477d('0x9e')][_0x477d('0x111')]+_0x49aec6[_0x477d('0x9e')][_0x477d('0x110')])/(_0x49aec6[_0x477d('0x9e')][_0x477d('0x10d')]-_0x49aec6[_0x477d('0x9e')][_0x477d('0x10e')]-_0x49aec6[_0x477d('0x9e')][_0x477d('0x10c')])*0x64,-0x2);_0x49aec6[_0x477d('0x9e')][_0x477d('0x18da')]=Math['round'](_0x49aec6[_0x477d('0x9e')][_0x477d('0x10f')]/(_0x49aec6[_0x477d('0x9e')][_0x477d('0x10d')]-_0x49aec6['inbound']['talking']-_0x49aec6[_0x477d('0x9e')][_0x477d('0x10c')])*0x64,-0x2);_0x49aec6[_0x477d('0x9e')][_0x477d('0x18db')]=moment[_0x477d('0x15f4')](Math[_0x477d('0x4fc')](_0x49aec6[_0x477d('0x9e')][_0x477d('0x18d7')]/_0x49aec6[_0x477d('0x9e')][_0x477d('0x10f')]),_0x49aec6['config'][_0x477d('0x18d8')])[_0x477d('0x12f')](_0x49aec6[_0x477d('0xd')][_0x477d('0x12f')],_0x49aec6['config']);_0x49aec6[_0x477d('0x9e')][_0x477d('0x18dc')]=moment[_0x477d('0x15f4')](Math[_0x477d('0x4fc')](_0x49aec6[_0x477d('0x9e')][_0x477d('0x18d4')]/_0x49aec6[_0x477d('0x9e')]['answered']),_0x49aec6[_0x477d('0xd')][_0x477d('0x18d8')])[_0x477d('0x12f')](_0x49aec6[_0x477d('0xd')]['format'],_0x49aec6[_0x477d('0xd')]);}function _0x457d12(){if(Object['keys'](_0x49aec6[_0x477d('0x160c')])['length']>0x0){for(var _0x27de6a=0x0;_0x27de6a<_0x2a0055[_0x477d('0xf2')][_0x477d('0x79')];_0x27de6a+=0x1){if(_0x414638(_0x2a0055[_0x477d('0xf2')][_0x27de6a])){var _0x3c0698=_0x2a0055[_0x477d('0xf2')][_0x27de6a];_0x3411ec(_0x3c0698,!![]);_0x2af359();}}}}function _0x414638(_0x36a8d2){if(_[_0x477d('0x3ab')](_0x49aec6[_0x477d('0x160c')],{'id':_[_0x477d('0x18e6')](_0x36a8d2[_0x477d('0x14b6')])})){return!![];}return![];}function _0x1cfb53(_0x3770c9){var _0x6660a9=moment()[_0x477d('0x12e')](0x0,!![])[_0x477d('0x12d')](_0x477d('0x137'));var _0xc9e41d=moment()[_0x477d('0x12e')](0x0,!![])[_0x477d('0x130')](_0x477d('0x137'));return moment(_0x3770c9)[_0x477d('0x12e')](0x0,!![])[_0x477d('0x18dd')](_0x6660a9,_0xc9e41d);}function _0x1ad052(_0x23349e){if(_0x414638(_0x23349e)&&_0x1cfb53(_0x23349e[_0x477d('0xe37')])){_0x3411ec(_0x23349e,!![]);_0x2af359();}}function _0x13f904(_0x2599f2){if(_0x414638(_0x2599f2)&&_0x1cfb53(_0x2599f2[_0x477d('0xe37')])){_0x3411ec(_0x2599f2,![]);_0x2af359();}}_0x5afb53[_0x477d('0x4ec')](_0x477d('0x505'),function(){_0x3b1e04[_0x477d('0x6b8')]('faxInteraction:save');_0x3b1e04[_0x477d('0x6b8')](_0x477d('0x1756'));});}}());(function(){'use strict';_0x3537cf[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x5a3'),_0x477d('0x1763'),_0x477d('0xf33')];angular['module'](_0x477d('0x2c'))[_0x477d('0x3ba')](_0x477d('0x18e7'),_0x3537cf);function _0x3537cf(_0x2522e3,_0x5b42f2,_0x829d5,_0xeb25aa){var _0xaaa827=this;var _0x4de66a=[];_0xaaa827['config']={'format':_0x477d('0x18d1'),'unit':_0x477d('0x6e9'),'trim':![]};_0xaaa827[_0x477d('0x9e')]={'waiting':0x0,'talking':0x0,'answered':0x0,'abandoned':0x0,'unmanaged':0x0,'sumHoldTime':0x0,'sumBillable':0x0,'total':0x0,'avgHoldTime':_0x477d('0x18d2'),'avgTalkTime':_0x477d('0x18d2'),'answerRate':0x0,'abandonRate':0x0};_0xaaa827['mailAccounts']=_0xeb25aa?_[_0x477d('0xdb5')](_0xeb25aa[_0x477d('0xf2')]?_0xeb25aa[_0x477d('0xf2')]:[],'id'):{};_0xaaa827[_0x477d('0x18e8')]=_0x17b7c2;_0xaaa827[_0x477d('0x18e9')]=_0x503b3e;_0x5b42f2['on'](_0x477d('0x176b'),_0xaaa827[_0x477d('0x18e8')]);_0x5b42f2['on']('mailInteraction:update',_0xaaa827[_0x477d('0x18e9')]);_0x1b2ff5();function _0x42aeb7(_0x301003,_0xafab50){if(!_0x301003[_0x477d('0x1351')]&&!_0x301003[_0x477d('0x125b')]&&_0xafab50){_0xaaa827['inbound']['waiting']+=0x1;}if(!_0x301003[_0x477d('0x1351')]&&_0x301003[_0x477d('0x125b')]&&!_[_0x477d('0x3a4')](_0x4de66a,_0x301003['id'])){_0xaaa827[_0x477d('0x9e')][_0x477d('0x10e')]+=0x1;_0x4de66a[_0x477d('0x3a7')](_0x301003['id']);if(!_0xafab50&&_0xaaa827[_0x477d('0x9e')][_0x477d('0x10c')]){_0xaaa827[_0x477d('0x9e')]['waiting']-=0x1;}}if(_0x301003[_0x477d('0x1351')]&&_0x301003[_0x477d('0x125b')]){_0xaaa827[_0x477d('0x9e')][_0x477d('0x18d4')]+=moment(_0x301003[_0x477d('0x18d5')])[_0x477d('0x7a9')](moment(_0x301003[_0x477d('0x18d6')]),_0xaaa827[_0x477d('0xd')]['unit']);_0xaaa827[_0x477d('0x9e')][_0x477d('0x18d7')]+=moment(_0x301003[_0x477d('0x18d6')])['diff'](moment(_0x301003[_0x477d('0xe37')]),_0xaaa827[_0x477d('0xd')][_0x477d('0x18d8')]);_0xaaa827[_0x477d('0x9e')][_0x477d('0x10f')]+=0x1;if(!_0xafab50&&_0xaaa827[_0x477d('0x9e')][_0x477d('0x10e')]){_0xaaa827[_0x477d('0x9e')]['talking']-=0x1;}}if(_0x301003[_0x477d('0x1351')]&&!_0x301003[_0x477d('0x125b')]){_0xaaa827[_0x477d('0x9e')]['unmanaged']+=0x1;if(!_0xafab50&&_0xaaa827['inbound'][_0x477d('0x10c')]){_0xaaa827['inbound'][_0x477d('0x10c')]-=0x1;}}if(_0xafab50){_0xaaa827[_0x477d('0x9e')][_0x477d('0x10d')]+=0x1;}}function _0x2b3c03(){_0xaaa827[_0x477d('0x9e')][_0x477d('0x18d9')]=Math['round']((_0xaaa827[_0x477d('0x9e')][_0x477d('0x111')]+_0xaaa827[_0x477d('0x9e')]['unmanaged'])/(_0xaaa827['inbound'][_0x477d('0x10d')]-_0xaaa827[_0x477d('0x9e')][_0x477d('0x10e')]-_0xaaa827['inbound']['waiting'])*0x64,-0x2);_0xaaa827[_0x477d('0x9e')][_0x477d('0x18da')]=Math[_0x477d('0x4fc')](_0xaaa827[_0x477d('0x9e')]['answered']/(_0xaaa827['inbound'][_0x477d('0x10d')]-_0xaaa827[_0x477d('0x9e')][_0x477d('0x10e')]-_0xaaa827[_0x477d('0x9e')][_0x477d('0x10c')])*0x64,-0x2);_0xaaa827[_0x477d('0x9e')]['avgHoldTime']=moment[_0x477d('0x15f4')](Math[_0x477d('0x4fc')](_0xaaa827[_0x477d('0x9e')][_0x477d('0x18d7')]/_0xaaa827[_0x477d('0x9e')]['answered']),_0xaaa827[_0x477d('0xd')][_0x477d('0x18d8')])[_0x477d('0x12f')](_0xaaa827['config'][_0x477d('0x12f')],_0xaaa827[_0x477d('0xd')]);_0xaaa827[_0x477d('0x9e')][_0x477d('0x18dc')]=moment[_0x477d('0x15f4')](Math[_0x477d('0x4fc')](_0xaaa827['inbound']['sumBillable']/_0xaaa827['inbound']['answered']),_0xaaa827['config']['unit'])[_0x477d('0x12f')](_0xaaa827['config'][_0x477d('0x12f')],_0xaaa827['config']);}function _0x1b2ff5(){if(Object[_0x477d('0x7f')](_0xaaa827[_0x477d('0xf33')])[_0x477d('0x79')]>0x0){for(var _0xd80c2c=0x0;_0xd80c2c<_0x829d5['rows'][_0x477d('0x79')];_0xd80c2c+=0x1){if(_0x2d5e9b(_0x829d5[_0x477d('0xf2')][_0xd80c2c])){var _0x33a761=_0x829d5[_0x477d('0xf2')][_0xd80c2c];_0x42aeb7(_0x33a761,!![]);_0x2b3c03();}}}}function _0x2d5e9b(_0x11ab8a){if(_[_0x477d('0x3ab')](_0xaaa827['mailAccounts'],{'id':_[_0x477d('0x18e6')](_0x11ab8a[_0x477d('0x14b8')])})){return!![];}return![];}function _0x30ea8d(_0x5c0e82){var _0x1389f7=moment()['utcOffset'](0x0,!![])[_0x477d('0x12d')](_0x477d('0x137'));var _0x5c4fc5=moment()['utcOffset'](0x0,!![])[_0x477d('0x130')](_0x477d('0x137'));return moment(_0x5c0e82)[_0x477d('0x12e')](0x0,!![])['isBetween'](_0x1389f7,_0x5c4fc5);}function _0x17b7c2(_0x5b5ab5){if(_0x2d5e9b(_0x5b5ab5)&&_0x30ea8d(_0x5b5ab5['createdAt'])){_0x42aeb7(_0x5b5ab5,!![]);_0x2b3c03();}}function _0x503b3e(_0x120955){if(_0x2d5e9b(_0x120955)&&_0x30ea8d(_0x120955[_0x477d('0xe37')])){_0x42aeb7(_0x120955,![]);_0x2b3c03();}}_0x2522e3[_0x477d('0x4ec')](_0x477d('0x505'),function(){_0x5b42f2[_0x477d('0x6b8')](_0x477d('0x176b'));_0x5b42f2[_0x477d('0x6b8')](_0x477d('0x176c'));});}}());(function(){'use strict';_0xbe2c3f['$inject']=[_0x477d('0x474'),_0x477d('0x5a3'),_0x477d('0x177f'),_0x477d('0x160d')];angular[_0x477d('0xb')]('app.dashboards')[_0x477d('0x3ba')](_0x477d('0x18ea'),_0xbe2c3f);function _0xbe2c3f(_0x1040c4,_0x299936,_0x22e172,_0x484f2e){var _0x191abd=this;var _0x3f7ce0=[];_0x191abd[_0x477d('0xd')]={'format':_0x477d('0x18d1'),'unit':_0x477d('0x6e9'),'trim':![]};_0x191abd[_0x477d('0x9e')]={'waiting':0x0,'talking':0x0,'answered':0x0,'abandoned':0x0,'unmanaged':0x0,'sumHoldTime':0x0,'sumBillable':0x0,'total':0x0,'avgHoldTime':_0x477d('0x18d2'),'avgTalkTime':_0x477d('0x18d2'),'answerRate':0x0,'abandonRate':0x0};_0x191abd['openchannelAccounts']=_0x484f2e?_[_0x477d('0xdb5')](_0x484f2e[_0x477d('0xf2')]?_0x484f2e[_0x477d('0xf2')]:[],'id'):{};_0x191abd[_0x477d('0x18eb')]=_0x3ed90a;_0x191abd['onUpdateOpenchannelInteraction']=_0x5ec518;_0x299936['on'](_0x477d('0x1787'),_0x191abd[_0x477d('0x18eb')]);_0x299936['on'](_0x477d('0x1793'),_0x191abd[_0x477d('0x18ec')]);_0x10a780();function _0x483584(_0x4babbb,_0x366bbb){if(!_0x4babbb[_0x477d('0x1351')]&&!_0x4babbb[_0x477d('0x125b')]&&_0x366bbb){_0x191abd[_0x477d('0x9e')]['waiting']+=0x1;}if(!_0x4babbb[_0x477d('0x1351')]&&_0x4babbb['UserId']&&!_[_0x477d('0x3a4')](_0x3f7ce0,_0x4babbb['id'])){_0x191abd[_0x477d('0x9e')]['talking']+=0x1;_0x3f7ce0[_0x477d('0x3a7')](_0x4babbb['id']);if(!_0x366bbb&&_0x191abd['inbound'][_0x477d('0x10c')]){_0x191abd[_0x477d('0x9e')]['waiting']-=0x1;}}if(_0x4babbb[_0x477d('0x1351')]&&_0x4babbb['UserId']){_0x191abd[_0x477d('0x9e')][_0x477d('0x18d4')]+=moment(_0x4babbb[_0x477d('0x18d5')])[_0x477d('0x7a9')](moment(_0x4babbb[_0x477d('0x18d6')]),_0x191abd[_0x477d('0xd')][_0x477d('0x18d8')]);_0x191abd['inbound']['sumHoldTime']+=moment(_0x4babbb[_0x477d('0x18d6')])[_0x477d('0x7a9')](moment(_0x4babbb[_0x477d('0xe37')]),_0x191abd['config'][_0x477d('0x18d8')]);_0x191abd[_0x477d('0x9e')]['answered']+=0x1;if(!_0x366bbb&&_0x191abd['inbound'][_0x477d('0x10e')]){_0x191abd[_0x477d('0x9e')][_0x477d('0x10e')]-=0x1;}}if(_0x4babbb['closed']&&!_0x4babbb[_0x477d('0x125b')]){_0x191abd['inbound']['unmanaged']+=0x1;if(!_0x366bbb&&_0x191abd[_0x477d('0x9e')]['waiting']){_0x191abd['inbound'][_0x477d('0x10c')]-=0x1;}}if(_0x366bbb){_0x191abd[_0x477d('0x9e')]['total']+=0x1;}}function _0x5030b5(){_0x191abd[_0x477d('0x9e')][_0x477d('0x18d9')]=Math[_0x477d('0x4fc')]((_0x191abd[_0x477d('0x9e')][_0x477d('0x111')]+_0x191abd[_0x477d('0x9e')][_0x477d('0x110')])/(_0x191abd[_0x477d('0x9e')][_0x477d('0x10d')]-_0x191abd[_0x477d('0x9e')][_0x477d('0x10e')]-_0x191abd[_0x477d('0x9e')]['waiting'])*0x64,-0x2);_0x191abd['inbound'][_0x477d('0x18da')]=Math['round'](_0x191abd[_0x477d('0x9e')][_0x477d('0x10f')]/(_0x191abd['inbound']['total']-_0x191abd['inbound'][_0x477d('0x10e')]-_0x191abd[_0x477d('0x9e')][_0x477d('0x10c')])*0x64,-0x2);_0x191abd[_0x477d('0x9e')][_0x477d('0x18db')]=moment['duration'](Math[_0x477d('0x4fc')](_0x191abd['inbound'][_0x477d('0x18d7')]/_0x191abd[_0x477d('0x9e')][_0x477d('0x10f')]),_0x191abd[_0x477d('0xd')][_0x477d('0x18d8')])[_0x477d('0x12f')](_0x191abd[_0x477d('0xd')]['format'],_0x191abd[_0x477d('0xd')]);_0x191abd[_0x477d('0x9e')][_0x477d('0x18dc')]=moment['duration'](Math['round'](_0x191abd['inbound']['sumBillable']/_0x191abd[_0x477d('0x9e')]['answered']),_0x191abd[_0x477d('0xd')][_0x477d('0x18d8')])[_0x477d('0x12f')](_0x191abd[_0x477d('0xd')]['format'],_0x191abd[_0x477d('0xd')]);}function _0x10a780(){if(Object[_0x477d('0x7f')](_0x191abd[_0x477d('0x160d')])[_0x477d('0x79')]>0x0){for(var _0x30d29a=0x0;_0x30d29a<_0x22e172['rows'][_0x477d('0x79')];_0x30d29a+=0x1){if(_0x328846(_0x22e172[_0x477d('0xf2')][_0x30d29a])){var _0x329ca8=_0x22e172[_0x477d('0xf2')][_0x30d29a];_0x483584(_0x329ca8,!![]);_0x5030b5();}}}}function _0x328846(_0x4f03b8){if(_[_0x477d('0x3ab')](_0x191abd[_0x477d('0x160d')],{'id':_[_0x477d('0x18e6')](_0x4f03b8['OpenchannelAccountId'])})){return!![];}return![];}function _0x579358(_0x2bb6de){var _0x464431=moment()[_0x477d('0x12e')](0x0,!![])[_0x477d('0x12d')]('day');var _0x1a0522=moment()[_0x477d('0x12e')](0x0,!![])[_0x477d('0x130')](_0x477d('0x137'));return moment(_0x2bb6de)['utcOffset'](0x0,!![])['isBetween'](_0x464431,_0x1a0522);}function _0x3ed90a(_0x4ac41d){if(_0x328846(_0x4ac41d)&&_0x579358(_0x4ac41d[_0x477d('0xe37')])){_0x483584(_0x4ac41d,!![]);_0x5030b5();}}function _0x5ec518(_0x50fb6f){if(_0x328846(_0x50fb6f)&&_0x579358(_0x50fb6f[_0x477d('0xe37')])){_0x483584(_0x50fb6f,![]);_0x5030b5();}}_0x1040c4[_0x477d('0x4ec')]('$destroy',function(){_0x299936[_0x477d('0x6b8')](_0x477d('0x1787'));_0x299936[_0x477d('0x6b8')]('openchannelInteraction:update');});}}());(function(){'use strict';_0x5a3296['$inject']=[_0x477d('0x474'),_0x477d('0x5a3'),'smsInteractions',_0x477d('0xf38')];angular['module']('app.dashboards')['controller']('UserSmsDashboardGeneralController',_0x5a3296);function _0x5a3296(_0x3d3467,_0x3aaafb,_0x31f8f5,_0x26c839){var _0x105315=this;var _0x50b7d6=[];_0x105315[_0x477d('0xd')]={'format':_0x477d('0x18d1'),'unit':_0x477d('0x6e9'),'trim':![]};_0x105315['inbound']={'waiting':0x0,'talking':0x0,'answered':0x0,'abandoned':0x0,'unmanaged':0x0,'sumHoldTime':0x0,'sumBillable':0x0,'total':0x0,'avgHoldTime':'00:00:00','avgTalkTime':_0x477d('0x18d2'),'answerRate':0x0,'abandonRate':0x0};_0x105315[_0x477d('0xf38')]=_0x26c839?_[_0x477d('0xdb5')](_0x26c839[_0x477d('0xf2')]?_0x26c839[_0x477d('0xf2')]:[],'id'):{};_0x105315[_0x477d('0x18ed')]=_0x18fe63;_0x105315[_0x477d('0x18ee')]=_0x90f6fa;_0x3aaafb['on']('smsInteraction:save',_0x105315[_0x477d('0x18ed')]);_0x3aaafb['on'](_0x477d('0x17bd'),_0x105315[_0x477d('0x18ee')]);_0x42eba0();function _0x17a195(_0x4340f2,_0x481c6f){if(!_0x4340f2['closed']&&!_0x4340f2[_0x477d('0x125b')]&&_0x481c6f){_0x105315['inbound'][_0x477d('0x10c')]+=0x1;}if(!_0x4340f2[_0x477d('0x1351')]&&_0x4340f2[_0x477d('0x125b')]&&!_[_0x477d('0x3a4')](_0x50b7d6,_0x4340f2['id'])){_0x105315[_0x477d('0x9e')][_0x477d('0x10e')]+=0x1;_0x50b7d6[_0x477d('0x3a7')](_0x4340f2['id']);if(!_0x481c6f&&_0x105315['inbound']['waiting']){_0x105315['inbound'][_0x477d('0x10c')]-=0x1;}}if(_0x4340f2[_0x477d('0x1351')]&&_0x4340f2[_0x477d('0x125b')]){_0x105315[_0x477d('0x9e')][_0x477d('0x18d4')]+=moment(_0x4340f2['closedAt'])[_0x477d('0x7a9')](moment(_0x4340f2[_0x477d('0x18d6')]),_0x105315[_0x477d('0xd')][_0x477d('0x18d8')]);_0x105315[_0x477d('0x9e')][_0x477d('0x18d7')]+=moment(_0x4340f2[_0x477d('0x18d6')])['diff'](moment(_0x4340f2[_0x477d('0xe37')]),_0x105315['config'][_0x477d('0x18d8')]);_0x105315[_0x477d('0x9e')][_0x477d('0x10f')]+=0x1;if(!_0x481c6f&&_0x105315[_0x477d('0x9e')][_0x477d('0x10e')]){_0x105315[_0x477d('0x9e')][_0x477d('0x10e')]-=0x1;}}if(_0x4340f2['closed']&&!_0x4340f2[_0x477d('0x125b')]){_0x105315[_0x477d('0x9e')][_0x477d('0x110')]+=0x1;if(!_0x481c6f&&_0x105315[_0x477d('0x9e')][_0x477d('0x10c')]){_0x105315[_0x477d('0x9e')][_0x477d('0x10c')]-=0x1;}}if(_0x481c6f){_0x105315['inbound'][_0x477d('0x10d')]+=0x1;}}function _0x2693de(){_0x105315['inbound']['abandonRate']=Math[_0x477d('0x4fc')]((_0x105315[_0x477d('0x9e')][_0x477d('0x111')]+_0x105315[_0x477d('0x9e')][_0x477d('0x110')])/(_0x105315['inbound'][_0x477d('0x10d')]-_0x105315['inbound']['talking']-_0x105315[_0x477d('0x9e')][_0x477d('0x10c')])*0x64,-0x2);_0x105315['inbound'][_0x477d('0x18da')]=Math[_0x477d('0x4fc')](_0x105315[_0x477d('0x9e')][_0x477d('0x10f')]/(_0x105315['inbound'][_0x477d('0x10d')]-_0x105315[_0x477d('0x9e')][_0x477d('0x10e')]-_0x105315['inbound'][_0x477d('0x10c')])*0x64,-0x2);_0x105315[_0x477d('0x9e')][_0x477d('0x18db')]=moment[_0x477d('0x15f4')](Math[_0x477d('0x4fc')](_0x105315[_0x477d('0x9e')]['sumHoldTime']/_0x105315[_0x477d('0x9e')][_0x477d('0x10f')]),_0x105315[_0x477d('0xd')][_0x477d('0x18d8')])[_0x477d('0x12f')](_0x105315['config']['format'],_0x105315[_0x477d('0xd')]);_0x105315['inbound'][_0x477d('0x18dc')]=moment[_0x477d('0x15f4')](Math[_0x477d('0x4fc')](_0x105315[_0x477d('0x9e')][_0x477d('0x18d4')]/_0x105315[_0x477d('0x9e')][_0x477d('0x10f')]),_0x105315['config']['unit'])[_0x477d('0x12f')](_0x105315['config'][_0x477d('0x12f')],_0x105315['config']);}function _0x42eba0(){if(Object[_0x477d('0x7f')](_0x105315[_0x477d('0xf38')])['length']>0x0){for(var _0x4941d7=0x0;_0x4941d7<_0x31f8f5[_0x477d('0xf2')][_0x477d('0x79')];_0x4941d7+=0x1){if(_0x268aa9(_0x31f8f5[_0x477d('0xf2')][_0x4941d7])){var _0x187c0f=_0x31f8f5[_0x477d('0xf2')][_0x4941d7];_0x17a195(_0x187c0f,!![]);_0x2693de();}}}}function _0x268aa9(_0x450741){if(_[_0x477d('0x3ab')](_0x105315[_0x477d('0xf38')],{'id':_[_0x477d('0x18e6')](_0x450741[_0x477d('0x160e')])})){return!![];}return![];}function _0x301935(_0x51fe70){var _0x43a22c=moment()[_0x477d('0x12e')](0x0,!![])[_0x477d('0x12d')]('day');var _0x2492b5=moment()[_0x477d('0x12e')](0x0,!![])[_0x477d('0x130')](_0x477d('0x137'));return moment(_0x51fe70)[_0x477d('0x12e')](0x0,!![])[_0x477d('0x18dd')](_0x43a22c,_0x2492b5);}function _0x18fe63(_0x5bf88a){if(_0x268aa9(_0x5bf88a)&&_0x301935(_0x5bf88a[_0x477d('0xe37')])){_0x17a195(_0x5bf88a,!![]);_0x2693de();}}function _0x90f6fa(_0xb6d28f){if(_0x268aa9(_0xb6d28f)&&_0x301935(_0xb6d28f[_0x477d('0xe37')])){_0x17a195(_0xb6d28f,![]);_0x2693de();}}_0x3d3467[_0x477d('0x4ec')]('$destroy',function(){_0x3aaafb['removeAllListeners'](_0x477d('0x17bc'));_0x3aaafb['removeAllListeners'](_0x477d('0x17bd'));});}}());(function(){'use strict';_0xdc597a[_0x477d('0xa')]=['$q'];_0xb82a4e[_0x477d('0xa')]=['$q'];_0xdae8d[_0x477d('0xa')]=[_0x477d('0x3c4'),'Auth',_0x477d('0x613')];angular[_0x477d('0xb')](_0x477d('0x2c'))[_0x477d('0x3b3')](_0x477d('0x18ef'),_0x19ed4b)[_0x477d('0x388')](_0x477d('0x18de'),_0xdc597a)[_0x477d('0x388')](_0x477d('0x18f0'),_0xb82a4e)[_0x477d('0x3ba')](_0x477d('0x18f1'),_0xdae8d);function _0xdc597a(_0x13ab41){var _0x2a8045=[];var _0x8c995e=function(){var _0x1b8eae=_0x2a8045[0x0];var _0x2a2722={'waiting':0x0,'talking':0x0,'pTalking':0x0,'answered':0x0,'abandoned':0x0,'unmanaged':0x0,'sumHoldTime':0x0,'sumBillable':0x0,'total':0x0,'avgHoldTime':'00:00:00','avgTalkTime':_0x477d('0x18d2'),'answerRate':0x0,'abandonRate':0x0,'originated':0x0,'outboundDropCallsDayCallersExit':0x0,'outboundDropCallsDayTimeout':0x0};_['forIn'](_0x1b8eae[_0x477d('0xf2f')],function(_0x803896,_0x2ca7c8){if(_0x1b8eae['rpcQueues'][_0x2ca7c8]){_0x2a2722['waiting']+=_0x1b8eae[_0x477d('0x1404')][_0x2ca7c8][_0x477d('0x10c')]||0x0;_0x2a2722['talking']+=(_0x1b8eae['rpcQueues'][_0x2ca7c8][_0x477d('0x10e')]||0x0)+(_0x1b8eae[_0x477d('0x1404')][_0x2ca7c8][_0x477d('0x1406')]||0x0);_0x2a2722[_0x477d('0x10f')]+=_0x1b8eae['rpcQueues'][_0x2ca7c8][_0x477d('0x10f')]||0x0;_0x2a2722[_0x477d('0x111')]+=_0x1b8eae['rpcQueues'][_0x2ca7c8][_0x477d('0x111')]||0x0;_0x2a2722['sumHoldTime']+=_0x1b8eae[_0x477d('0x1404')][_0x2ca7c8]['sumHoldTime']||0x0;_0x2a2722['sumBillable']+=_0x1b8eae['rpcQueues'][_0x2ca7c8][_0x477d('0x18d4')]||0x0;_0x2a2722[_0x477d('0x10d')]+=_0x1b8eae[_0x477d('0x1404')][_0x2ca7c8]['total']||0x0;_0x2a2722[_0x477d('0x1407')]+=_0x1b8eae['rpcQueues'][_0x2ca7c8][_0x477d('0x1407')]||0x0;_0x2a2722[_0x477d('0x18f2')]+=_0x1b8eae['rpcQueues'][_0x2ca7c8]['outboundDropCallsDayCallersExit']||0x0;_0x2a2722['outboundDropCallsDayTimeout']+=_0x1b8eae[_0x477d('0x1404')][_0x2ca7c8][_0x477d('0x18f3')]||0x0;}});var _0xbbf292=_0x2a2722[_0x477d('0x10d')]-_0x2a2722[_0x477d('0x10f')]-_0x2a2722[_0x477d('0x111')];_0x2a2722[_0x477d('0x110')]=_0xbbf292>0x0?_0xbbf292:0x0;_0x2a2722[_0x477d('0x18db')]=Math[_0x477d('0x4fc')](_0x2a2722['total']>0x0?_0x2a2722[_0x477d('0x18d7')]/_0x2a2722[_0x477d('0x10d')]:0x0);_0x2a2722['avgHoldTime']=new Date(_0x2a2722['avgHoldTime']*0x3e8)['toISOString']()[_0x477d('0x652')](0xb,0x8);_0x2a2722['avgTalkTime']=Math['round'](_0x2a2722[_0x477d('0x10f')]>0x0?_0x2a2722['sumBillable']/_0x2a2722['answered']:0x0);_0x2a2722[_0x477d('0x18dc')]=new Date(_0x2a2722[_0x477d('0x18dc')]*0x3e8)[_0x477d('0x18f4')]()['substr'](0xb,0x8);_0x2a2722[_0x477d('0x18da')]=Math['round']((_0x2a2722['total']>0x0?_0x2a2722[_0x477d('0x10f')]/_0x2a2722['total']*0x64:0x0)*Math[_0x477d('0x18f5')](0xa,0x1))/Math[_0x477d('0x18f5')](0xa,0x1);_0x2a2722[_0x477d('0x18d9')]=Math['round']((_0x2a2722[_0x477d('0x10d')]>0x0?_0x2a2722['abandoned']/_0x2a2722[_0x477d('0x10d')]*0x64:0x0)*Math[_0x477d('0x18f5')](0xa,0x1))/Math['pow'](0xa,0x1);_0x2a2722[_0x477d('0x18f6')]=Math['round']((_0x2a2722['total']>0x0?_0x2a2722[_0x477d('0x18f3')]/_0x2a2722[_0x477d('0x10d')]*0x64:0x0)*Math['pow'](0xa,0x1))/Math[_0x477d('0x18f5')](0xa,0x1);_0x2a2722[_0x477d('0x18f7')]=Math[_0x477d('0x4fc')]((_0x2a2722['total']>0x0?_0x2a2722[_0x477d('0x18f2')]/_0x2a2722[_0x477d('0x10d')]*0x64:0x0)*Math[_0x477d('0x18f5')](0xa,0x1))/Math['pow'](0xa,0x1);_0x2a2722[_0x477d('0x18f8')]=0x64-_0x2a2722[_0x477d('0x18f6')]-_0x2a2722['outboundAbandonRate']>0x0&&(_0x2a2722[_0x477d('0x10d')]||0x0>0x0)?0x64-_0x2a2722[_0x477d('0x18f6')]-_0x2a2722[_0x477d('0x18f7')]:0x0;_0x2a8045[_0x477d('0x18f9')]();_0x1b8eae[_0x477d('0x54a')]['resolve'](_0x2a2722);if(_0x2a8045[_0x477d('0x79')]>0x0){_0x8c995e();}};return function(_0x3ad312){var _0x3ec655=_0x13ab41[_0x477d('0x54a')]();_0x2a8045[_0x477d('0x3a7')]({'queues':_0x3ad312[_0x477d('0xf2f')],'rpcQueues':_0x3ad312[_0x477d('0x1404')],'defer':_0x3ec655});if(_0x2a8045[_0x477d('0x79')]===0x1){_0x8c995e();}return _0x3ec655[_0x477d('0x553')];};}function _0xb82a4e(_0x263fc8){var _0x205ccd=[];var _0x345f58=function(){var _0x18ed60=_0x205ccd[0x0];var _0x5aee23={'originated':0x0,'limitCalls':0x0};_[_0x477d('0xe4b')](_0x18ed60['rpcCampaigns'],function(_0x1e37db,_0x13930f){if(_0x18ed60[_0x477d('0x18e0')][_0x13930f]){_0x5aee23[_0x477d('0x1407')]+=_0x18ed60[_0x477d('0x18e0')][_0x13930f][_0x477d('0x1407')]||0x0;_0x5aee23[_0x477d('0x18fa')]+=_0x18ed60[_0x477d('0x18e0')][_0x13930f][_0x477d('0x18fa')]||0x0;}});_0x205ccd[_0x477d('0x18f9')]();_0x18ed60[_0x477d('0x54a')][_0x477d('0x5a')](_0x5aee23);if(_0x205ccd[_0x477d('0x79')]>0x0){_0x345f58();}};return function(_0xd4ac6f){var _0x3be49b=_0x263fc8[_0x477d('0x54a')]();_0x205ccd[_0x477d('0x3a7')]({'rpcCampaigns':_0xd4ac6f[_0x477d('0x18e0')],'defer':_0x3be49b});if(_0x205ccd[_0x477d('0x79')]===0x1){_0x345f58();}return _0x3be49b['promise'];};}function _0x19ed4b(){return function(_0x29efbe){return new Date(_0x29efbe*0x3e8)['toISOString']()[_0x477d('0x652')](0xb,0x8);};}function _0xdae8d(_0x43943c,_0x194069,_0xc20ae6){var _0x5b4572=this;_0x5b4572[_0x477d('0x613')]=_0xc20ae6;_0x5b4572[_0x477d('0x71a')]=_0x5ba011;function _0x5ba011(){_0x5b4572['hasDashboardPermissions']=_0x194069['hasRole'](_0x477d('0x380'))?_0x194069[_0x477d('0x37c')](0x65):!![];if(_0x5b4572[_0x477d('0x18fb')]){var _0x4405ad=_0x43943c[_0x477d('0x548')][_0x477d('0x94')];switch(_0x4405ad){case'app.dashboards.general':_0x73fdc();break;case _0x477d('0x11e'):_0x5b4572['selectedTab']=0x0;break;case _0x477d('0x123'):_0x5b4572[_0x477d('0xe95')]=0x1;break;case _0x477d('0x12a'):_0x5b4572['selectedTab']=0x2;break;case _0x477d('0x132'):_0x5b4572[_0x477d('0xe95')]=0x3;break;case _0x477d('0x139'):_0x5b4572[_0x477d('0xe95')]=0x4;break;case _0x477d('0x13f'):_0x5b4572[_0x477d('0xe95')]=0x5;break;case _0x477d('0x143'):_0x5b4572[_0x477d('0xe95')]=0x6;break;case _0x477d('0x14a'):_0x5b4572[_0x477d('0xe95')]=0x7;break;}}}function _0x73fdc(){var _0x25d0a8=[];_0x5b4572[_0x477d('0x613')][_0x477d('0x108')]&&_0x25d0a8[_0x477d('0x3a7')](_0x477d('0x11e'));_0x5b4572[_0x477d('0x613')][_0x477d('0x17a4')]&&_0x25d0a8[_0x477d('0x3a7')](_0x477d('0x123'));_0x5b4572[_0x477d('0x613')][_0x477d('0xb6')]&&_0x25d0a8['push'](_0x477d('0x12a'));_0x5b4572[_0x477d('0x613')][_0x477d('0x1d6')]&&_0x25d0a8[_0x477d('0x3a7')](_0x477d('0x132'));_0x5b4572['license'][_0x477d('0x18fc')]&&_0x25d0a8[_0x477d('0x3a7')]('app.dashboards.general.sms');_0x5b4572[_0x477d('0x613')]['openchannel']&&_0x25d0a8[_0x477d('0x3a7')](_0x477d('0x13f'));_0x5b4572[_0x477d('0x613')][_0x477d('0x154')]&&_0x25d0a8[_0x477d('0x3a7')]('app.dashboards.general.fax');_0x5b4572[_0x477d('0x613')][_0x477d('0x35d')]&&_0x25d0a8[_0x477d('0x3a7')]('app.dashboards.general.whatsapp');if(_0x25d0a8[_0x477d('0x79')]>0x0)_0x43943c['go'](_['first'](_0x25d0a8));}}}());(function(){'use strict';_0x4b32b4[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x5a3'),'inboundQueues',_0x477d('0x1404'),'outbound',_0x477d('0x18de')];angular['module'](_0x477d('0x2c'))[_0x477d('0x3ba')](_0x477d('0x18fd'),_0x4b32b4);function _0x4b32b4(_0x4d7964,_0xc7d71a,_0x476a2c,_0x2b5878,_0x344403,_0x240415){var _0x23ec7a=this;_0x23ec7a['inboundQueues']=_0x476a2c?_[_0x477d('0xdb5')](_0x476a2c[_0x477d('0xf2')]?_0x476a2c[_0x477d('0xf2')]:[],'id'):{};_0x23ec7a[_0x477d('0x1404')]=_0x2b5878?_[_0x477d('0xdb5')](_0x2b5878['rows']?_0x2b5878[_0x477d('0xf2')]:[],'id'):{};_0x23ec7a[_0x477d('0x9e')]={'waiting':0x0,'talking':0x0,'answered':0x0,'abandoned':0x0,'unmanaged':0x0,'sumHoldTime':0x0,'sumBillable':0x0,'total':0x0,'avgHoldTime':'00:00:00','avgTalkTime':_0x477d('0x18d2'),'answerRate':0x0,'abandonRate':0x0};_0x23ec7a[_0x477d('0x127')]=_0x344403||{'answered':0x0,'sumBillable':0x0,'sumDuration':0x0,'sumHoldTime':0x0,'total':0x0};_0x23ec7a[_0x477d('0x16c4')]=_0x3a722f;_0x23ec7a[_0x477d('0x18fe')]=_0xab6ac7;_0xc7d71a['on']('voice_queue:save',_0x23ec7a[_0x477d('0x16c4')]);_0xc7d71a['on'](_0x477d('0x18ff'),_0x23ec7a[_0x477d('0x18fe')]);_0x5fe484();function _0x5fe484(){_0x240415({'queues':_0x23ec7a['inboundQueues'],'rpcQueues':_0x23ec7a[_0x477d('0x1404')]})['then'](function(_0x11f91a){_0x23ec7a[_0x477d('0x9e')]=_0x11f91a;});}function _0x3a722f(_0xba9c82){if(_0x23ec7a[_0x477d('0x1900')][_0xba9c82['id']]){if(_0x23ec7a[_0x477d('0x1404')][_0xba9c82['id']]){_0x23ec7a[_0x477d('0x1404')][_0xba9c82['id']]=_0xba9c82;_0x5fe484();}}}function _0xab6ac7(_0x2573a0){_0x23ec7a['outbound']=_0x2573a0;}_0x4d7964[_0x477d('0x4ec')](_0x477d('0x505'),function(){_0xc7d71a['removeAllListeners'](_0x477d('0x1571'));_0xc7d71a['removeAllListeners'](_0x477d('0x18ff'));});}}());(function(){'use strict';_0x26e572['$inject']=[_0x477d('0x474'),'socket',_0x477d('0x17d3'),'whatsappAccounts'];angular['module']('app.dashboards')['controller'](_0x477d('0x1901'),_0x26e572);function _0x26e572(_0x10fd7f,_0x4a6de6,_0x36374c,_0xddc772){var _0x42b018=this;var _0x5cbd72=[];_0x42b018[_0x477d('0xd')]={'format':_0x477d('0x18d1'),'unit':_0x477d('0x6e9'),'trim':![]};_0x42b018[_0x477d('0x9e')]={'waiting':0x0,'talking':0x0,'answered':0x0,'abandoned':0x0,'unmanaged':0x0,'sumHoldTime':0x0,'sumBillable':0x0,'total':0x0,'avgHoldTime':'00:00:00','avgTalkTime':'00:00:00','answerRate':0x0,'abandonRate':0x0};_0x42b018[_0x477d('0x160f')]=_0xddc772?_[_0x477d('0xdb5')](_0xddc772['rows']?_0xddc772['rows']:[],'id'):{};_0x42b018[_0x477d('0x1902')]=_0x551ef2;_0x42b018[_0x477d('0x1903')]=_0x515271;_0x4a6de6['on'](_0x477d('0x17d9'),_0x42b018['onSaveWhatsappInteraction']);_0x4a6de6['on'](_0x477d('0x17da'),_0x42b018['onUpdateWhatsappInteraction']);_0x198fcb();function _0x427c03(_0x4c5b28,_0x139c40){if(!_0x4c5b28[_0x477d('0x1351')]&&!_0x4c5b28[_0x477d('0x125b')]&&_0x139c40){_0x42b018['inbound'][_0x477d('0x10c')]+=0x1;}if(!_0x4c5b28[_0x477d('0x1351')]&&_0x4c5b28['UserId']&&!_['includes'](_0x5cbd72,_0x4c5b28['id'])){_0x42b018[_0x477d('0x9e')][_0x477d('0x10e')]+=0x1;_0x5cbd72['push'](_0x4c5b28['id']);if(!_0x139c40&&_0x42b018[_0x477d('0x9e')]['waiting']){_0x42b018[_0x477d('0x9e')][_0x477d('0x10c')]-=0x1;}}if(_0x4c5b28[_0x477d('0x1351')]&&_0x4c5b28[_0x477d('0x125b')]){_0x42b018[_0x477d('0x9e')][_0x477d('0x18d4')]+=moment(_0x4c5b28[_0x477d('0x18d5')])[_0x477d('0x7a9')](moment(_0x4c5b28[_0x477d('0x18d6')]),_0x42b018[_0x477d('0xd')]['unit']);_0x42b018[_0x477d('0x9e')][_0x477d('0x18d7')]+=moment(_0x4c5b28[_0x477d('0x18d6')])['diff'](moment(_0x4c5b28[_0x477d('0xe37')]),_0x42b018[_0x477d('0xd')][_0x477d('0x18d8')]);_0x42b018[_0x477d('0x9e')]['answered']+=0x1;if(!_0x139c40&&_0x42b018[_0x477d('0x9e')]['talking']){_0x42b018[_0x477d('0x9e')][_0x477d('0x10e')]-=0x1;}}if(_0x4c5b28[_0x477d('0x1351')]&&!_0x4c5b28[_0x477d('0x125b')]){_0x42b018['inbound'][_0x477d('0x110')]+=0x1;if(!_0x139c40&&_0x42b018[_0x477d('0x9e')][_0x477d('0x10c')]){_0x42b018[_0x477d('0x9e')][_0x477d('0x10c')]-=0x1;}}if(_0x139c40){_0x42b018[_0x477d('0x9e')]['total']+=0x1;}}function _0x2a7e99(){_0x42b018[_0x477d('0x9e')]['abandonRate']=Math[_0x477d('0x4fc')]((_0x42b018[_0x477d('0x9e')][_0x477d('0x111')]+_0x42b018[_0x477d('0x9e')]['unmanaged'])/(_0x42b018[_0x477d('0x9e')][_0x477d('0x10d')]-_0x42b018[_0x477d('0x9e')]['talking']-_0x42b018[_0x477d('0x9e')]['waiting'])*0x64,-0x2);_0x42b018[_0x477d('0x9e')][_0x477d('0x18da')]=Math['round'](_0x42b018['inbound'][_0x477d('0x10f')]/(_0x42b018['inbound'][_0x477d('0x10d')]-_0x42b018[_0x477d('0x9e')][_0x477d('0x10e')]-_0x42b018[_0x477d('0x9e')]['waiting'])*0x64,-0x2);_0x42b018['inbound']['avgHoldTime']=moment[_0x477d('0x15f4')](Math[_0x477d('0x4fc')](_0x42b018['inbound'][_0x477d('0x18d7')]/_0x42b018['inbound'][_0x477d('0x10f')]),_0x42b018['config'][_0x477d('0x18d8')])['format'](_0x42b018[_0x477d('0xd')][_0x477d('0x12f')],_0x42b018[_0x477d('0xd')]);_0x42b018[_0x477d('0x9e')]['avgTalkTime']=moment[_0x477d('0x15f4')](Math[_0x477d('0x4fc')](_0x42b018[_0x477d('0x9e')]['sumBillable']/_0x42b018[_0x477d('0x9e')]['answered']),_0x42b018['config']['unit'])[_0x477d('0x12f')](_0x42b018[_0x477d('0xd')]['format'],_0x42b018[_0x477d('0xd')]);}function _0x198fcb(){if(Object['keys'](_0x42b018[_0x477d('0x160f')])['length']>0x0){for(var _0x2fef53=0x0;_0x2fef53<_0x36374c[_0x477d('0xf2')][_0x477d('0x79')];_0x2fef53+=0x1){if(_0x3f64d7(_0x36374c[_0x477d('0xf2')][_0x2fef53])){var _0x939d3f=_0x36374c[_0x477d('0xf2')][_0x2fef53];_0x427c03(_0x939d3f,!![]);_0x2a7e99();}}}}function _0x3f64d7(_0x2a5d3e){if(_['some'](_0x42b018[_0x477d('0x160f')],{'id':_[_0x477d('0x18e6')](_0x2a5d3e[_0x477d('0x1597')])})){return!![];}return![];}function _0x4fb49a(_0x24cb35){var _0x5447b5=moment()[_0x477d('0x12e')](0x0,!![])[_0x477d('0x12d')]('day');var _0x4d2dc4=moment()[_0x477d('0x12e')](0x0,!![])[_0x477d('0x130')]('day');return moment(_0x24cb35)[_0x477d('0x12e')](0x0,!![])[_0x477d('0x18dd')](_0x5447b5,_0x4d2dc4);}function _0x551ef2(_0x10b32f){if(_0x3f64d7(_0x10b32f)&&_0x4fb49a(_0x10b32f['createdAt'])){_0x427c03(_0x10b32f,!![]);_0x2a7e99();}}function _0x515271(_0x50c926){if(_0x3f64d7(_0x50c926)&&_0x4fb49a(_0x50c926['createdAt'])){_0x427c03(_0x50c926,![]);_0x2a7e99();}}_0x10fd7f[_0x477d('0x4ec')](_0x477d('0x505'),function(){_0x4a6de6[_0x477d('0x6b8')](_0x477d('0x17d9'));_0x4a6de6['removeAllListeners']('whatsappInteraction:update');});}}());(function(){'use strict';_0x4f4e7b[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x3c4'),'$location',_0x477d('0x384'),'$q',_0x477d('0x40d'),_0x477d('0x40e'),_0x477d('0x160c'),_0x477d('0xada'),'api',_0x477d('0x55'),_0x477d('0x613'),_0x477d('0xc8e'),_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x34'))[_0x477d('0x3ba')]('CreateOrEditFaxAccountDialogController',_0x4f4e7b);function _0x4f4e7b(_0x59f8b2,_0x44d8c7,_0x33baa2,_0x4a6ef5,_0x214b98,_0x36c793,_0x109af1,_0x20b365,_0x46c67a,_0xfc6875,_0x2b1804,_0x186cf0,_0x54b1e6,_0x8e9404){var _0x512059=this;_0x512059[_0x477d('0x3e5')]=_0x2b1804[_0x477d('0x5c')]();_0x512059['errors']=[];_0x512059[_0x477d('0xc8e')]=_0x54b1e6;_0x512059[_0x477d('0x613')]=_0x186cf0;_0x512059['crudPermissions']=_0x8e9404;_0x512059[_0x477d('0xd68')]={};_0x512059['passwordPattern']=_0x512059[_0x477d('0xc8e')]&&_0x512059[_0x477d('0xc8e')][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x512059[_0x477d('0x49a')]='FAX.EDIT_FAXACCOUNT';_0x512059[_0x477d('0xada')]=angular[_0x477d('0x6d9')](_0x46c67a);_0x512059[_0x477d('0x160c')]=_0x20b365;_0x512059[_0x477d('0x1904')]=![];if(!_0x512059[_0x477d('0xada')]){_0x512059[_0x477d('0xada')]={'waitForTheAssignedAgent':0xa,'notificationSound':!![],'queueTransferTimeout':0x12c,'agentTransferTimeout':0x12c};_0x512059[_0x477d('0x49a')]=_0x477d('0x1905');_0x512059[_0x477d('0x1904')]=!![];}if(_0x44d8c7[_0x477d('0x37e')]['id']){_0x512059['faxAccount'][_0x477d('0x14b6')]=_0x44d8c7[_0x477d('0x37e')]['id'];}_0x512059[_0x477d('0x1906')]=_0x952b7f;_0x512059[_0x477d('0x1907')]=_0x569bd1;_0x512059[_0x477d('0x1908')]=_0x3ade74;_0x512059[_0x477d('0xd6f')]=_0x59261d;_0x512059['closeDialog']=_0x1bc31c;_0x2b1804[_0x477d('0x56')](_0x477d('0x5f'))?_0xfc6875[_0x477d('0xaa8')]['get']({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94')})[_0x477d('0x38b')]['then'](function(_0x154266){_0x512059[_0x477d('0xf2e')]=_0x154266[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x15c6ab){_0x109af1[_0x477d('0x44a')]({'title':_0x15c6ab[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x15c6ab[_0x477d('0x3c3')]+'\x20-\x20'+_0x15c6ab[_0x477d('0x44d')]:_0x477d('0x1909'),'msg':_0x15c6ab['data']?JSON[_0x477d('0x3fb')](_0x15c6ab['data']):_0x15c6ab[_0x477d('0x453')]()});}):_0xfc6875[_0x477d('0xaa8')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94')})['$promise'][_0x477d('0x76')](function(_0x1aa83c){_0x512059[_0x477d('0xf2e')]=_0x1aa83c[_0x477d('0xf2')]||[];})['then'](function(){return _0xfc6875['userProfileSection']['get']({'userProfileId':_0x512059[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x3f3})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x19b4b8){var _0x1c5efe=_0x19b4b8&&_0x19b4b8[_0x477d('0xf2')]?_0x19b4b8['rows'][0x0]:null;if(!_0x1c5efe){var _0x5892a0=[];var _0x20c85f=null;if(_0x512059['faxAccount']){_0x20c85f=_[_0x477d('0x10a')](_0x512059[_0x477d('0xf2e')],{'id':Number(_0x512059[_0x477d('0xada')][_0x477d('0x190a')])});}for(var _0x2f6dfe=0x0;_0x2f6dfe<_0x512059[_0x477d('0xf2e')][_0x477d('0x79')];_0x2f6dfe++){if(_0x20c85f&&_0x512059[_0x477d('0xf2e')][_0x2f6dfe]['id']===_0x20c85f['id']){_0x512059[_0x477d('0xf2e')][_0x2f6dfe][_0x477d('0xf8b')]=![];_0x5892a0[_0x477d('0x3a7')](_0x512059[_0x477d('0xf2e')][_0x2f6dfe]);}}_0x512059[_0x477d('0xf2e')]=_0x5892a0;}else{if(!_0x1c5efe['autoAssociation']){return _0xfc6875['userProfileResource'][_0x477d('0x376')]({'sectionId':_0x1c5efe['id']})['$promise']['then'](function(_0x2a3814){var _0x4c7be3=_['map'](_0x2a3814[_0x477d('0xf2')],function(_0x4f8527){return _['find'](_0x512059[_0x477d('0xf2e')],{'id':_0x4f8527[_0x477d('0x3af')]});});var _0x3103de=null;if(_0x512059[_0x477d('0xada')]){_0x3103de=_[_0x477d('0x10a')](_0x512059[_0x477d('0xf2e')],{'id':Number(_0x512059[_0x477d('0xada')][_0x477d('0x190a')])});}if(_0x3103de&&!_[_0x477d('0x3ab')](_0x4c7be3,['id',_0x3103de['id']])){var _0x32870a=_['find'](_0x512059[_0x477d('0xf2e')],{'id':_0x3103de['id']});_0x32870a[_0x477d('0xf8b')]=![];_0x4c7be3['push'](_0x32870a);}_0x512059['trunks']=_0x4c7be3;});}}})[_0x477d('0xf8')](function(_0x43f889){_0x109af1['error']({'title':_0x43f889[_0x477d('0x3c3')]?'API:'+_0x43f889[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x43f889[_0x477d('0x44d')]:_0x477d('0x190b'),'msg':_0x43f889['data']?JSON[_0x477d('0x3fb')](_0x43f889[_0x477d('0x451')]):_0x43f889[_0x477d('0x453')]()});});_0x2b1804[_0x477d('0x56')](_0x477d('0x5f'))?_0xfc6875['cmList'][_0x477d('0x376')]({'fields':'id,name','sort':_0x477d('0x94')})[_0x477d('0x38b')]['then'](function(_0x4d538f){_0x512059[_0x477d('0xf1')]=_0x4d538f[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x10b7f3){_0x109af1['error']({'title':_0x10b7f3[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x10b7f3[_0x477d('0x3c3')]+'\x20-\x20'+_0x10b7f3[_0x477d('0x44d')]:_0x477d('0x1228'),'msg':_0x10b7f3[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x10b7f3['data']):_0x10b7f3['toString']()});}):_0xfc6875[_0x477d('0xe3f')]['get']({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x5b11d0){_0x512059[_0x477d('0xf1')]=_0x5b11d0['rows']||[];})[_0x477d('0x76')](function(){return _0xfc6875[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x512059[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x12d})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x57a152){var _0x95195b=_0x57a152&&_0x57a152[_0x477d('0xf2')]?_0x57a152[_0x477d('0xf2')][0x0]:null;if(!_0x95195b){var _0x15f4fa=[];var _0x3d5533=null;if(_0x512059[_0x477d('0xada')]){_0x3d5533=_[_0x477d('0x10a')](_0x512059[_0x477d('0xf1')],{'id':Number(_0x512059[_0x477d('0xada')][_0x477d('0x1229')])});}for(var _0x19b09a=0x0;_0x19b09a<_0x512059[_0x477d('0xf1')][_0x477d('0x79')];_0x19b09a++){if(_0x3d5533&&_0x512059['lists'][_0x19b09a]['id']===_0x3d5533['id']){_0x512059[_0x477d('0xf1')][_0x19b09a][_0x477d('0xf8b')]=![];_0x15f4fa[_0x477d('0x3a7')](_0x512059['lists'][_0x19b09a]);}}_0x512059['lists']=_0x15f4fa;}else{if(!_0x95195b[_0x477d('0x3ad')]){return _0xfc6875[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x95195b['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x16687c){var _0x2c8740=_['map'](_0x16687c[_0x477d('0xf2')],function(_0x31df4c){return _[_0x477d('0x10a')](_0x512059[_0x477d('0xf1')],{'id':_0x31df4c[_0x477d('0x3af')]});});var _0x3a0641=null;if(_0x512059['faxAccount']){_0x3a0641=_[_0x477d('0x10a')](_0x512059['lists'],{'id':Number(_0x512059['faxAccount']['ListId'])});}if(_0x3a0641&&!_['some'](_0x2c8740,['id',_0x3a0641['id']])){var _0x3211ae=_[_0x477d('0x10a')](_0x512059[_0x477d('0xf1')],{'id':_0x3a0641['id']});_0x3211ae[_0x477d('0xf8b')]=![];_0x2c8740[_0x477d('0x3a7')](_0x3211ae);}_0x512059[_0x477d('0xf1')]=_0x2c8740;});}}})['catch'](function(_0x42c960){_0x109af1[_0x477d('0x44a')]({'title':_0x42c960[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x42c960[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x42c960[_0x477d('0x44d')]:_0x477d('0x122a'),'msg':_0x42c960[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x42c960[_0x477d('0x451')]):_0x42c960[_0x477d('0x453')]()});});function _0x952b7f(){_0x512059[_0x477d('0xd67')]=[];_0xfc6875[_0x477d('0xada')][_0x477d('0x190c')](_0x512059['faxAccount'])['$promise'][_0x477d('0x76')](function(_0x35e38c){_0x512059[_0x477d('0x160c')][_0x477d('0x63b')](_0x35e38c[_0x477d('0xd71')]());_0x109af1[_0x477d('0x485')]({'title':_0x477d('0x190d'),'msg':_0x512059[_0x477d('0xada')][_0x477d('0x94')]?_0x512059[_0x477d('0xada')][_0x477d('0x94')]+'\x20has\x20been\x20created!':''});_0x1bc31c(_0x35e38c);})[_0x477d('0xf8')](function(_0x16a38){if(_0x16a38[_0x477d('0x451')]&&_0x16a38['data'][_0x477d('0xd67')]&&_0x16a38[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x512059['errors']=_0x16a38[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x16a38[_0x477d('0x453')](),'type':_0x477d('0x190e')}];for(var _0x232c47=0x0;_0x232c47<_0x16a38['data'][_0x477d('0xd67')][_0x477d('0x79')];_0x232c47+=0x1){_0x109af1[_0x477d('0x44a')]({'title':_0x16a38[_0x477d('0x451')][_0x477d('0xd67')][_0x232c47][_0x477d('0x439')],'msg':_0x16a38['data'][_0x477d('0xd67')][_0x232c47][_0x477d('0x452')]});}}else{_0x109af1[_0x477d('0x44a')]({'title':_0x16a38[_0x477d('0x3c3')]?'API:'+_0x16a38[_0x477d('0x3c3')]+'\x20-\x20'+_0x16a38[_0x477d('0x44d')]:_0x477d('0x190e'),'msg':_0x16a38[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x16a38['data'][_0x477d('0x452')]):_0x16a38[_0x477d('0x453')]()});}});}function _0x569bd1(){_0x512059[_0x477d('0xd67')]=[];_0xfc6875[_0x477d('0xada')][_0x477d('0x190f')](_0x512059[_0x477d('0xada')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x438440){var _0x3ef811=_[_0x477d('0x10a')](_0x512059[_0x477d('0x160c')],{'id':_0x438440['id']});if(_0x3ef811){_[_0x477d('0xef')](_0x3ef811,_['pick'](_0x438440[_0x477d('0xd71')](),_[_0x477d('0x7f')](_0x3ef811)));}_0x109af1[_0x477d('0x485')]({'title':_0x477d('0x1910'),'msg':_0x512059[_0x477d('0xada')][_0x477d('0x94')]?_0x512059[_0x477d('0xada')][_0x477d('0x94')]+_0x477d('0xd76'):''});_0x1bc31c(_0x438440);})[_0x477d('0xf8')](function(_0x5040a8){if(_0x5040a8[_0x477d('0x451')]&&_0x5040a8['data'][_0x477d('0xd67')]&&_0x5040a8[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x512059[_0x477d('0xd67')]=_0x5040a8['data'][_0x477d('0xd67')]||[{'message':_0x5040a8[_0x477d('0x453')](),'type':_0x477d('0x1911')}];for(var _0x2a4058=0x0;_0x2a4058<_0x5040a8[_0x477d('0x451')][_0x477d('0xd67')]['length'];_0x2a4058++){_0x109af1[_0x477d('0x44a')]({'title':_0x5040a8['data']['errors'][_0x2a4058][_0x477d('0x439')],'msg':_0x5040a8['data'][_0x477d('0xd67')][_0x2a4058][_0x477d('0x452')]});}}else{_0x109af1[_0x477d('0x44a')]({'title':_0x5040a8['status']?'API:'+_0x5040a8[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x5040a8['statusText']:_0x477d('0x1911'),'msg':_0x5040a8[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x5040a8[_0x477d('0x451')][_0x477d('0x452')]):_0x5040a8[_0x477d('0x453')]()});}});}function _0x3ade74(_0x5dd6ca){_0x512059[_0x477d('0xd67')]=[];var _0x39d3ec=_0x4a6ef5['confirm']()[_0x477d('0x49a')]('Are\x20you\x20sure?')[_0x477d('0xdaf')](_0x477d('0x1912'))[_0x477d('0x687')](_0x477d('0x1913'))['ok']('Delete')[_0x477d('0x4f0')](_0x477d('0x688'))[_0x477d('0xd7c')](_0x5dd6ca);_0x4a6ef5[_0x477d('0x395')](_0x39d3ec)[_0x477d('0x76')](function(){_0xfc6875[_0x477d('0xada')]['delete']({'id':_0x512059[_0x477d('0xada')]['id']})[_0x477d('0x38b')]['then'](function(){_[_0x477d('0x39c')](_0x512059[_0x477d('0x160c')],{'id':_0x512059['faxAccount']['id']});_0x109af1[_0x477d('0x485')]({'title':_0x477d('0x1914'),'msg':(_0x512059['faxAccount'][_0x477d('0x94')]||_0x477d('0xada'))+'\x20has\x20been\x20deleted!'});_0x1bc31c(_0x512059[_0x477d('0xada')]);})[_0x477d('0xf8')](function(_0x35cf68){if(_0x35cf68[_0x477d('0x451')]&&_0x35cf68[_0x477d('0x451')][_0x477d('0xd67')]&&_0x35cf68[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x512059[_0x477d('0xd67')]=_0x35cf68[_0x477d('0x451')]['errors']||[{'message':_0x35cf68[_0x477d('0x453')](),'type':_0x477d('0x1915')}];for(var _0x4d5b34=0x0;_0x4d5b34<_0x35cf68[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x4d5b34++){_0x109af1[_0x477d('0x44a')]({'title':_0x35cf68[_0x477d('0x451')][_0x477d('0xd67')][_0x4d5b34]['type'],'msg':_0x35cf68[_0x477d('0x451')][_0x477d('0xd67')][_0x4d5b34][_0x477d('0x452')]});}}else{_0x109af1['error']({'title':_0x35cf68[_0x477d('0x3c3')]?'API:'+_0x35cf68['status']+'\x20-\x20'+_0x35cf68[_0x477d('0x44d')]:'api.faxAccount.delete','msg':_0x35cf68['data']?JSON[_0x477d('0x3fb')](_0x35cf68[_0x477d('0x451')]['message']):_0x35cf68[_0x477d('0x452')]||_0x35cf68[_0x477d('0x453')]()});}});},function(){});}function _0x59261d(_0x2d8de5){return _0x2d8de5===null?undefined:new Date(_0x2d8de5);}function _0x1bc31c(_0x5383bd){_0x4a6ef5[_0x477d('0x3bc')](_0x5383bd);}}}());(function(){'use strict';_0x16aa24[_0x477d('0xa')]=['api',_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x40e'),_0x477d('0x55')];angular[_0x477d('0xb')]('app.fax')['controller'](_0x477d('0x1916'),_0x16aa24);function _0x16aa24(_0x50e3f0,_0xbe6871,_0x1c7b27,_0x51883a,_0x4e00c0){var _0x508ddc=this;_0x508ddc[_0x477d('0x3e5')]=_0x4e00c0[_0x477d('0x5c')]();_0x508ddc[_0x477d('0xada')]={};_0x508ddc['faxAccountApps']={'count':0x0,'rows':[]};_0x508ddc[_0x477d('0x1917')]=[];_0x508ddc[_0x477d('0xd66')];_0x508ddc[_0x477d('0x3ef')]={'sort':_0x477d('0x1243')};_0x508ddc[_0x477d('0x1244')]=_['reject'](_[_0x477d('0x1245')]([{'app':'Interval','appType':_0x477d('0x79c'),'types':[_0x477d('0x1247'),'custom',_0x477d('0xa02')],'fields':[],'isApp':![]},{'app':'noop','appType':_0x477d('0x3c6'),'type':_0x477d('0x3c6'),'icon':_0x477d('0x1248'),'interval':'*,*,*,*','required':!![],'isApp':!![],'fields':[{'title':_0x477d('0x1918'),'name':_0x477d('0x3b6'),'type':'text','param':0x0}]},{'app':_0x477d('0xa41'),'appType':_0x477d('0xa41'),'type':_0x477d('0xa41'),'icon':_0x477d('0x1248'),'interval':'*,*,*,*','required':!![],'isApp':!![],'extraApi':[{'name':_0x477d('0xf31'),'field':{'name':_0x477d('0xbb9'),'key':'name'},'route':_0x477d('0xbb9'),'filters':{'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':!![]},'permissions':{'section':0x3f4}}],'fields':[{'title':_0x477d('0x124a'),'name':'command','type':_0x477d('0x41b'),'required':!![],'param':0x0},{'title':_0x477d('0x124b'),'name':_0x477d('0xbb9'),'type':_0x477d('0x124c'),'values':_0x477d('0xf31'),'value':_0x477d('0x124d'),'option':_0x477d('0x124d'),'defaultValues':[{'value':'\x27\x27','option':_0x477d('0x124e')}],'defaultValue':'\x27\x27','param':0x1}]},{'app':_0x477d('0x124f'),'appType':_0x477d('0x124f'),'type':'goto','icon':_0x477d('0x1248'),'interval':_0x477d('0x1249'),'isApp':!![],'fields':[{'title':_0x477d('0x1251'),'name':'priority','type':_0x477d('0x421'),'required':!![],'min':0x0,'param':0x0}]},{'app':_0x477d('0x1252'),'appType':_0x477d('0x1252'),'type':_0x477d('0x1252'),'icon':'icon-apps','interval':_0x477d('0x1249'),'isApp':!![],'fields':[{'title':_0x477d('0x1253'),'name':'condition','type':'text','required':!![],'param':0x0},{'title':'truepriority','name':'truepriority','type':_0x477d('0x421'),'min':0x1,'required':!![],'param':0x1},{'title':_0x477d('0x1255'),'name':_0x477d('0x1255'),'type':_0x477d('0x421'),'min':0x1,'required':!![],'param':0x2}]},{'app':'queue','appType':_0x477d('0x1256'),'foreignKey':_0x477d('0x1919'),'type':'queue','icon':_0x477d('0x1248'),'interval':_0x477d('0x1249'),'isApp':!![],'extraApi':[{'name':'queues','field':{'name':_0x477d('0x1256'),'key':_0x477d('0x94')},'route':_0x477d('0xe48'),'filters':{'fields':_0x477d('0x12de'),'sort':_0x477d('0x94'),'nolimit':!![]},'permissions':{'section':0x385}}],'fields':[{'title':_0x477d('0x1258'),'name':'queue','type':_0x477d('0x124c'),'values':_0x477d('0xf2f'),'value':_0x477d('0x1259'),'option':_0x477d('0x1259'),'defaultValue':0x12c,'required':!![],'param':0x0},{'title':_0x477d('0x125a'),'name':_0x477d('0x91b'),'type':_0x477d('0x421'),'max':0x20c49b,'min':0x0,'defaultValue':0x12c,'required':!![],'param':0x1}]},{'app':'agent','appType':_0x477d('0xcf'),'type':'agent','foreignKey':'UserId','icon':_0x477d('0x1248'),'interval':_0x477d('0x1249'),'isApp':!![],'extraApi':[{'name':'agents','field':{'name':'agent','key':'name'},'route':_0x477d('0x380'),'filters':{'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'role':_0x477d('0xcf'),'nolimit':!![]},'permissions':{'section':0xca}}],'fields':[{'title':_0x477d('0x125d'),'name':'agent','type':_0x477d('0x124c'),'values':'agents','value':_0x477d('0x125e'),'option':_0x477d('0x125e'),'required':!![],'param':0x0},{'title':_0x477d('0x125a'),'name':_0x477d('0x91b'),'type':_0x477d('0x421'),'max':0x20c49b,'min':0x0,'required':!![],'defaultValue':0x1e,'param':0x1}]},{'app':_0x477d('0x539'),'appType':_0x477d('0x539'),'type':_0x477d('0x539'),'icon':_0x477d('0x1248'),'interval':'*,*,*,*','isApp':!![],'fields':[{'title':_0x477d('0x125f'),'name':_0x477d('0xb95'),'type':_0x477d('0x41b'),'required':!![],'param':0x0}]},{'app':_0x477d('0xbb0'),'appType':'tag','type':_0x477d('0xbb0'),'foreignKey':'TagId','icon':_0x477d('0x1248'),'interval':_0x477d('0x1249'),'isApp':!![],'extraApi':[{'name':_0x477d('0x1263'),'field':{'name':'tag','key':_0x477d('0x94')},'route':'tag','filters':{'fields':'id,name','sort':_0x477d('0x94'),'nolimit':!![]},'permissions':{'section':0x3f0}}],'fields':[{'title':'Tag','name':_0x477d('0xbb0'),'type':'apiselect','values':_0x477d('0x1263'),'value':_0x477d('0x1265'),'option':'tag.name','required':!![],'param':0x0}]}],[_0x477d('0x1291')]),{'isApp':![]});_0x508ddc['list']={'group':{'name':_0x477d('0x1284'),'pull':_0x477d('0x117f')},'animation':0x64,'sort':![]};_0x508ddc[_0x477d('0x1285')]={'group':{'name':_0x477d('0x1286'),'put':_0x477d('0x1284')},'animation':0x64,'onAdd':function(_0x58a311){_0x496bbb(_0x58a311,_0x58a311[_0x477d('0x191a')]);},'onSort':function(_0x7049b){_0x31d448();}};_0x508ddc['init']=_0x118c0b;_0x508ddc[_0x477d('0xe66')]=_0x2ab8ef;_0x508ddc['getFaxAccountApps']=_0x263ce5;_0x508ddc['editFaxAccountApp']=_0x496bbb;_0x508ddc[_0x477d('0x1289')]=_0x1f4ee9;_0x508ddc[_0x477d('0x191b')]=_0x3b395b;_0x508ddc[_0x477d('0x191c')]=_0x49c9e0;_0x508ddc[_0x477d('0x128c')]=_0x31d448;_0x508ddc[_0x477d('0x128f')]=_0xd45ee0;function _0x118c0b(_0x567c02,_0x38c234){_0x508ddc['faxAccount']=_0x567c02;_0x508ddc[_0x477d('0xd66')]=typeof _0x38c234!==_0x477d('0x4a4')?_0x38c234:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x508ddc[_0x477d('0x1285')][_0x477d('0x45c')]=!_0x508ddc[_0x477d('0xd66')][_0x477d('0xedb')]?!![]:![];_0x508ddc['query']['id']=_0x567c02['id'];_0x508ddc[_0x477d('0x3ef')][_0x477d('0x128d')]=!![];_0x508ddc[_0x477d('0x3ef')]['nolimit']=!![];_0x508ddc[_0x477d('0x191d')]();_0x508ddc[_0x477d('0x128f')]();}function _0x2ab8ef(_0x450f82,_0x51bc0b,_0x219ec2){var _0x4a3543=_0xbe6871[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x1290'))[_0x477d('0xd92')](_0x477d('0xd93')+_0x450f82[_0x477d('0x1291')]+_0x477d('0xd94')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x1292'))['targetEvent'](_0x219ec2)['ok']('OK')[_0x477d('0x4f0')]('CANCEL');_0xbe6871['show'](_0x4a3543)[_0x477d('0x76')](function(){_0x508ddc['faxAccountApps'][_0x477d('0xf2')]['splice'](_0x51bc0b,0x1);_0x31d448();},function(){console['log'](_0x477d('0xd97'));});}function _0x496bbb(_0x365aa5,_0x151282){if(_0x508ddc['faxAccountApps'][_0x477d('0xf2')][_0x477d('0x79')]){var _0x13eda0=_0x508ddc[_0x477d('0x191e')]['rows'][_0x151282]?_0x508ddc['faxAccountApps'][_0x477d('0xf2')][_0x151282]:_0x508ddc[_0x477d('0x191e')][_0x477d('0xf2')][0x0];_0xbe6871['show']({'controller':_0x477d('0x191f')+(_0x13eda0[_0x477d('0x1294')]||_0x13eda0[_0x477d('0x1291')])[_0x477d('0x449')]()+_0x477d('0x1295'),'controllerAs':'vm','templateUrl':_0x477d('0x1920')+(_0x13eda0[_0x477d('0x1294')]||_0x13eda0[_0x477d('0x1291')])['toLowerCase']()+_0x477d('0x1296'),'parent':angular[_0x477d('0x398')](_0x1c7b27[_0x477d('0x399')]),'targetEvent':_0x365aa5,'clickOutsideToClose':!![],'locals':{'faxAccountApp':_0x13eda0,'faxAccount':_0x508ddc[_0x477d('0xada')],'crudPermissions':_0x508ddc[_0x477d('0xd66')]}})['then'](function(_0x2e5e7c){if(_0x2e5e7c){if(_0x2e5e7c['id']){_0x508ddc[_0x477d('0x191e')][_0x477d('0xf2')][_0x151282]=_0x2e5e7c;}else{_0x508ddc['faxAccountApps'][_0x477d('0xf2')][_0x477d('0x45b')](_0x151282,0x0,_0x2e5e7c);}_0x31d448();}})[_0x477d('0xf8')](function(_0x2bc73e){if(_0x2bc73e){_0x51883a[_0x477d('0x44a')]({'title':_0x2bc73e[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x2bc73e[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x2bc73e[_0x477d('0x44d')]:_0x477d('0x1921'),'msg':_0x2bc73e[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x2bc73e['data']):_0x2bc73e[_0x477d('0x453')]()});}});}}function _0x1f4ee9(_0x12709a,_0x667049){if(_0x508ddc[_0x477d('0x191e')][_0x477d('0xf2')][_0x477d('0x79')]){var _0x451393=_0x508ddc['faxAccountApps']['rows'][_0x667049]?_0x508ddc['faxAccountApps'][_0x477d('0xf2')][_0x667049]:_0x508ddc['faxAccountApps'][_0x477d('0xf2')][0x0];_0xbe6871[_0x477d('0x395')]({'controller':_0x477d('0x1922'),'controllerAs':'vm','templateUrl':'app/main/apps/fax/views/faxAccounts/edit/apps/interval/dialog.html','parent':angular[_0x477d('0x398')](_0x1c7b27[_0x477d('0x399')]),'targetEvent':_0x12709a,'clickOutsideToClose':!![],'locals':{'interval':{'interval':_0x451393[_0x477d('0x79c')],'IntervalId':_0x451393[_0x477d('0xf8c')],'application':!![]},'intervals':[],'crudPermissions':_0x508ddc['crudPermissions']}})[_0x477d('0x76')](function(_0x32b675){if(_0x32b675){_0x451393['interval']=_0x32b675[_0x477d('0x79c')]||_0x477d('0x1249');_0x451393[_0x477d('0xf8c')]=_0x32b675[_0x477d('0xf8c')]||null;_0x31d448();}});}}function _0x31d448(){var _0x226ef5=0x1;var _0x2b9ce8=[];for(var _0x592a26=0x0,_0x512898=0x0;_0x592a26<_0x508ddc['faxAccountApps'][_0x477d('0xf2')][_0x477d('0x79')];_0x592a26++,_0x512898=0x0){var _0x5a5964=_0x508ddc['faxAccountApps'][_0x477d('0xf2')][_0x592a26];var _0x4d50a5=[];var _0x200f98=[];_0x5a5964[_0x477d('0x1298')]=_0x5a5964[_0x477d('0x79c')]!==_0x477d('0x1249')?[_0x5a5964['interval']]:_0x5a5964[_0x477d('0xf8c')]?_[_0x477d('0x3cb')](_[_0x477d('0x3b3')](_0x508ddc[_0x477d('0x1298')][_0x477d('0xf2')],{'IntervalId':_0x5a5964[_0x477d('0xf8c')]}),_0x477d('0x79c')):[];_0x5a5964[_0x477d('0xf47')]=_0x508ddc[_0x477d('0xada')][_0x477d('0xf47')];_0x5a5964[_0x477d('0x1299')]=_0x508ddc[_0x477d('0xada')][_0x477d('0x1299')];if(_0x5a5964['type']){_0x5a5964[_0x477d('0x439')]=_0x5a5964[_0x477d('0x439')][_0x477d('0x449')]();}_0x5a5964['priority']=_0x4d50a5[_0x477d('0x79')]?_[_0x477d('0x601')](_0x4d50a5)['priority']+0x1:_0x226ef5;_0x226ef5=(_0x200f98[_0x477d('0x79')]?_['last'](_0x200f98)[_0x477d('0x1243')]:_0x5a5964[_0x477d('0x1243')])+0x1;_0x2b9ce8=_['concat'](_0x2b9ce8,_0x4d50a5,[_0x5a5964],_0x200f98);}_0x50e3f0[_0x477d('0xada')][_0x477d('0x129a')]({'id':_0x508ddc[_0x477d('0xada')]['id']},_[_0x477d('0x1245')](_0x2b9ce8,_0x477d('0x1243')))[_0x477d('0x38b')][_0x477d('0x76')](function(_0x4f165e){_0x508ddc[_0x477d('0x191e')][_0x477d('0xf2')]=_0x4f165e['rows'];})[_0x477d('0xf8')](function(_0xd54f67){console[_0x477d('0x44a')](_0xd54f67);});}function _0x4a142f(_0x42434d){_0x508ddc['faxAccountApps']=_0x42434d||{'count':0x0,'rows':[]};}function _0xd45ee0(){return _0x50e3f0[_0x477d('0x79c')][_0x477d('0x376')]({'fields':_0x477d('0x1923')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x28dbfb){_0x508ddc['intervals']=_0x28dbfb;})[_0x477d('0xf8')](function(_0x140d15){console[_0x477d('0x44a')](_0x140d15);});}function _0x263ce5(){_0x508ddc['promise']=_0x50e3f0['faxAccount'][_0x477d('0x1924')](_0x508ddc[_0x477d('0x3ef')],_0x4a142f)[_0x477d('0x38b')];}function _0x3b395b(_0x5a7741){_['remove'](_0x508ddc['faxAccountApps'][_0x477d('0xf2')],{'id':_0x5a7741['id']});_0x31d448();_0x51883a['success']({'title':'App\x20deleted!','msg':_0x5a7741[_0x477d('0x1291')]?_0x5a7741[_0x477d('0x1291')]+_0x477d('0xd7e'):''});}function _0x49c9e0(_0x5526e9){var _0xa93494=_0xbe6871[_0x477d('0xd78')]()['title']('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20applications?')['htmlContent'](_0x477d('0xd93')+_0x508ddc[_0x477d('0x1917')][_0x477d('0x79')]+_0x477d('0xda0')+_0x477d('0xd95'))[_0x477d('0x687')]('delete\x20applications')[_0x477d('0xd7c')](_0x5526e9)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0xbe6871['show'](_0xa93494)[_0x477d('0x76')](function(){_0x508ddc[_0x477d('0x1917')]['forEach'](function(_0x12e052){_['remove'](_0x508ddc['faxAccountApps']['rows'],{'id':_0x12e052['id']});});_0x508ddc[_0x477d('0x1917')]=[];_0x31d448();});}}}());(function(){'use strict';_0x3af3f1[_0x477d('0xa')]=[_0x477d('0x384'),'$q','toasty','api',_0x477d('0xada'),_0x477d('0x160c'),_0x477d('0x11f1'),_0x477d('0x40d'),'Auth',_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x34'))['controller'](_0x477d('0x1925'),_0x3af3f1);function _0x3af3f1(_0x354857,_0x2081b0,_0x1fe21e,_0x2aa464,_0x2ccf13,_0x3059a2,_0x184c8a,_0x1a4866,_0x525a75,_0x18fc1a){var _0x258d01=this;_0x258d01[_0x477d('0x3e5')]=_0x525a75[_0x477d('0x5c')]();_0x258d01['faxAccount']=_0x2ccf13;_0x258d01[_0x477d('0xd66')]=_0x18fc1a;_0x258d01[_0x477d('0x11f1')]=_0x184c8a;_0x258d01['items']=[];_0x258d01['allowedItems']=[];_0x258d01['selectedItems']=[];_0x258d01[_0x477d('0x11f2')]=[];_0x258d01[_0x477d('0x11fd')]=[];_0x258d01[_0x477d('0x11f5')]=![];_0x258d01[_0x477d('0x71a')]=_0x10bf9b;_0x258d01[_0x477d('0x11f3')]=_0x2b547a;_0x258d01[_0x477d('0x6bf')]=_0x5c6348;_0x258d01[_0x477d('0x1185')]={'readOnly':!_0x258d01[_0x477d('0xd66')][_0x477d('0xedb')],'items':[],'selectedItems':[],'showSelectAndDeselectAll':!![],'orderBy':'name','line1':_0x477d('0xcd'),'line2':[_0x477d('0x94'),_0x477d('0x324')],'line3':'','labelAll':_0x1a4866['instant'](_0x477d('0x1926')),'labelSelected':_0x1a4866[_0x477d('0x45f')]('FAX.SELECTED_AGENTS'),'transferCallback':function(_0x3944eb,_0x42c94f){var _0x28eb6a=_[_0x477d('0x11f4')](_0x258d01[_0x477d('0x11fd')],_0x258d01[_0x477d('0x4a7')],'id');_0x258d01[_0x477d('0x11f5')]=_[_0x477d('0x3b2')](_0x28eb6a)?![]:!![];}};function _0x10bf9b(){return _0x525a75[_0x477d('0x56')]('admin')?_0xdbf94c()[_0x477d('0xf8')](function(_0x5bbfd6){_0x1fe21e[_0x477d('0x44a')]({'title':_0x5bbfd6[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x5bbfd6[_0x477d('0x3c3')]+'\x20-\x20'+_0x5bbfd6[_0x477d('0x44d')]:_0x477d('0x11f6'),'msg':_0x5bbfd6[_0x477d('0x3c3')]?JSON[_0x477d('0x3fb')](_0x5bbfd6['data']):_0x5bbfd6['toString']()});}):_0x2991ca()[_0x477d('0x76')](function(_0x25edd0){_0x258d01[_0x477d('0xd99')]=_0x25edd0;return _0xdbf94c();})[_0x477d('0xf8')](function(_0x47e898){_0x1fe21e[_0x477d('0x44a')]({'title':_0x47e898[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x47e898['status']+_0x477d('0x44c')+_0x47e898[_0x477d('0x44d')]:_0x477d('0x11f6'),'msg':_0x47e898['status']?JSON[_0x477d('0x3fb')](_0x47e898[_0x477d('0x451')]):_0x47e898[_0x477d('0x453')]()});});}function _0x2991ca(){return _0x2081b0(function(_0x46cb93,_0x337660){_0x2aa464[_0x477d('0x3ac')]['get']({'userProfileId':_0x258d01[_0x477d('0x3e5')]['userProfileId'],'name':_0x477d('0xce')})['$promise']['then'](function(_0x8ebfac){var _0x151438=_0x8ebfac&&_0x8ebfac[_0x477d('0xf2')]?_0x8ebfac[_0x477d('0xf2')][0x0]:null;_0x46cb93(_0x151438);})[_0x477d('0xf8')](function(_0x48498b){_0x337660(_0x48498b);});});}function _0xdbf94c(){return _0x2081b0(function(_0x1ff87f,_0x46ccbe){return _0x3a3441()[_0x477d('0x76')](function(_0x559655){_0x258d01[_0x477d('0x4a6')]=_0x559655['rows']?_0x559655['rows']:[];if(_0x525a75[_0x477d('0x56')](_0x477d('0x5f'))){return _0x559655;}else{if(_0x258d01[_0x477d('0xd99')]){return _0x258d01[_0x477d('0xd99')][_0x477d('0x3ad')]?_0x559655:_0x3d8a7d();}else{return null;}}})[_0x477d('0x76')](function(_0xe017c8){var _0x1318d9=_0xe017c8&&_0xe017c8[_0x477d('0xf2')]?_0xe017c8[_0x477d('0xf2')]:[];_0x258d01[_0x477d('0x11f7')]=_[_0x477d('0x3cb')](_0x1318d9,function(_0x3f4d15){return _[_0x477d('0x10a')](_0x258d01[_0x477d('0x4a6')],{'id':_0x525a75[_0x477d('0x56')](_0x477d('0x5f'))||_0x258d01['section'][_0x477d('0x3ad')]?_0x3f4d15['id']:_0x3f4d15['resourceId']});});_0x258d01[_0x477d('0x11f2')]=angular[_0x477d('0x6d9')](_0x258d01[_0x477d('0x11f7')]);_0x258d01[_0x477d('0x4a6')][_0x477d('0x3b1')](function(_0x2c769){var _0x41972b=_[_0x477d('0x10a')](_0x258d01[_0x477d('0x11f7')],{'id':_0x2c769['id']});if(_0x525a75[_0x477d('0x56')](_0x477d('0x5f'))){_0x2c769[_0x477d('0x4a3')]=!![];}else{_0x2c769[_0x477d('0x4a3')]=typeof _0x41972b!==_0x477d('0x4a4')?!![]:![];}});return _0x2b1b25();})[_0x477d('0x76')](function(_0x10e65b){var _0xd03bf8=_0x10e65b&&_0x10e65b['rows']?_0x10e65b[_0x477d('0xf2')]:[];_0x258d01[_0x477d('0x4a7')]=_[_0x477d('0x3cb')](_0xd03bf8,function(_0x40106e){var _0x358e6b=_[_0x477d('0x10a')](_0x258d01[_0x477d('0x4a6')],{'id':_0x40106e['id']});_0x358e6b[_0x477d('0x1184')]=_0x40106e['UserFaxAccount']?_0x477d('0x1529')+_0x40106e[_0x477d('0x1927')][_0x477d('0x1184')]:'';_0x358e6b[_0x477d('0x324')]=_0x40106e[_0x477d('0x3ea')](_0x477d('0x324'))?'<'+_0x40106e['internal']+'>':'';return _0x358e6b;});_0x258d01['startingSelectedItems']=angular[_0x477d('0x6d9')](_0x258d01[_0x477d('0x4a7')]);_0x258d01['dualMultiselectOptions'][_0x477d('0x4a7')]=_0x258d01['selectedItems'];_0x258d01['dualMultiselectOptions'][_0x477d('0x4a6')]=_[_0x477d('0x11f8')](_0x258d01[_0x477d('0x11f7')],_0x258d01[_0x477d('0x1185')][_0x477d('0x4a7')],'id');_0x1ff87f();})[_0x477d('0xf8')](function(_0x2a1c44){_0x46ccbe(_0x2a1c44);});});}function _0x3d8a7d(){return _0x2081b0(function(_0x91ea73,_0x90a920){return _0x2aa464[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x258d01[_0x477d('0xd99')]['id'],'nolimit':!![]})['$promise'][_0x477d('0x76')](function(_0x171f23){_0x91ea73(_0x171f23);})['catch'](function(_0x56a5a7){_0x90a920(_0x56a5a7);});});}function _0x2b1b25(){return _0x2081b0(function(_0x2d5f70,_0x2db101){return _0x2aa464[_0x477d('0xada')][_0x477d('0x11f9')]({'id':_0x258d01[_0x477d('0xada')]['id'],'fields':_0x477d('0x11fa'),'nolimit':!![],'role':_0x477d('0xcf')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x57894a){_0x2d5f70(_0x57894a);})['catch'](function(_0x42445a){_0x2db101(_0x42445a);});});}function _0x3a3441(){return _0x2081b0(function(_0x198459,_0x59bb21){return _0x2aa464['user'][_0x477d('0x376')]({'fields':_0x477d('0x11fa'),'nolimit':!![],'role':_0x477d('0xcf')})[_0x477d('0x38b')]['then'](function(_0x38fd40){_0x198459(_0x38fd40);})[_0x477d('0xf8')](function(_0x19be0d){_0x59bb21(_0x19be0d);});});}function _0x387119(_0x19b193){return _0x2081b0(function(_0x5c445c,_0x4d9e04){if(_[_0x477d('0x3b2')](_0x19b193)){_0x5c445c();}else{_0x2aa464[_0x477d('0xada')][_0x477d('0x11fb')]({'id':_0x258d01[_0x477d('0xada')]['id'],'ids':_[_0x477d('0x3cb')](_0x19b193,'id')})[_0x477d('0x38b')][_0x477d('0x76')](function(){_0x5c445c();})[_0x477d('0xf8')](function(_0x51e4da){_0x4d9e04(_0x51e4da);});}});}function _0x12af05(_0x327e61){return _0x2081b0(function(_0x371141,_0x50bfae){if(_['isEmpty'](_0x327e61)){_0x371141();}else{_0x2aa464['faxAccount'][_0x477d('0x11fc')]({'id':_0x258d01[_0x477d('0xada')]['id'],'ids':_[_0x477d('0x3cb')](_0x327e61,'id')})[_0x477d('0x38b')][_0x477d('0x76')](function(){_0x371141();})[_0x477d('0xf8')](function(_0x12ff09){_0x50bfae(_0x12ff09);});}});}function _0x2b547a(){var _0x5d2423=_[_0x477d('0x11f8')](_0x258d01['startingSelectedItems'],_0x258d01[_0x477d('0x4a7')],'id');var _0x4510d6=_[_0x477d('0x11f8')](_0x258d01[_0x477d('0x4a7')],_0x258d01['startingSelectedItems'],'id');return _0x12af05(_0x5d2423)[_0x477d('0x76')](function(){return _0x387119(_0x4510d6);})[_0x477d('0x76')](function(){_0x258d01[_0x477d('0x11f5')]=![];_0x258d01[_0x477d('0x11f2')]=angular[_0x477d('0x6d9')](_0x258d01[_0x477d('0x11f7')]);_0x258d01[_0x477d('0x11fd')]=angular['copy'](_0x258d01[_0x477d('0x4a7')]);_0x1fe21e[_0x477d('0x485')]({'title':'SUCCESS','msg':_0x477d('0x11ff')});})[_0x477d('0xf8')](function(_0x61f95a){_0x1fe21e[_0x477d('0x44a')]({'title':_0x61f95a['status']?_0x477d('0x44b')+_0x61f95a[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x61f95a['statusText']:_0x477d('0x1200'),'msg':_0x61f95a[_0x477d('0x3c3')]?JSON[_0x477d('0x3fb')](_0x61f95a['data']):_0x61f95a[_0x477d('0x453')]()});});}function _0x5c6348(){_0x354857[_0x477d('0x3bc')]();}}}());(function(){'use strict';_0x1f72fe[_0x477d('0xa')]=['$mdDialog','$q','toasty',_0x477d('0x1928'),'faxAccount',_0x477d('0x386'),'Auth',_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x34'))['controller'](_0x477d('0x1929'),_0x1f72fe);function _0x1f72fe(_0x20b31a,_0xf2b5e3,_0x1ad44d,_0x2ac23e,_0x582a91,_0x4f7725,_0x58a8fc,_0x1be891){var _0x53b74f=this;_0x53b74f[_0x477d('0x3e5')]=_0x58a8fc[_0x477d('0x5c')]();_0x53b74f['errors']=[];_0x53b74f[_0x477d('0x49a')]=_0x477d('0x192a')+(_0x2ac23e['appType']||_0x2ac23e['app'])['toUpperCase']();_0x53b74f['agent']=angular[_0x477d('0x6d9')](_0x2ac23e);_0x53b74f[_0x477d('0xd66')]=_0x1be891;_0x53b74f[_0x477d('0xd68')]={};if(_0x53b74f[_0x477d('0xcf')][_0x477d('0x12ae')]){switch(_0x53b74f[_0x477d('0xcf')][_0x477d('0x1294')]?_0x53b74f[_0x477d('0xcf')][_0x477d('0x1294')][_0x477d('0x449')]():_0x53b74f['agent']['app'][_0x477d('0x449')]()){case'custom':break;case _0x477d('0x1266'):var _0x3ad1bb=_0x53b74f[_0x477d('0xcf')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x53b74f[_0x477d('0xcf')][_0x477d('0x670')]=_0x3ad1bb[0x0];_0x53b74f['agent'][_0x477d('0x1267')]=_0x3ad1bb[0x1];_0x53b74f[_0x477d('0xcf')]['welcomemessage']=_0x3ad1bb[_0x477d('0x9cd')](0x2,_0x3ad1bb[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x127c'):var _0x3ad1bb=_0x53b74f[_0x477d('0xcf')][_0x477d('0x12ae')]['split'](',');_0x53b74f['agent'][_0x477d('0x127d')]=_0x3ad1bb[0x0];_0x53b74f[_0x477d('0xcf')][_0x477d('0x127e')]=_0x3ad1bb[0x1];_0x53b74f[_0x477d('0xcf')][_0x477d('0x127f')]=_0x3ad1bb[0x2];_0x53b74f[_0x477d('0xcf')][_0x477d('0x1283')]=_0x3ad1bb[0x3];_0x53b74f['agent']['welcomemessage']=_0x3ad1bb[_0x477d('0x9cd')](0x4,_0x3ad1bb['length'])[_0x477d('0x3f6')](',');break;case _0x477d('0x1260'):var _0x3ad1bb=_0x53b74f[_0x477d('0xcf')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x53b74f['agent']['times']=isNaN(_0x3ad1bb[0x0])?_0x3ad1bb[0x0]:parseInt(_0x3ad1bb[0x0],0xa);_0x53b74f[_0x477d('0xcf')][_0x477d('0x41b')]=_0x3ad1bb[_0x477d('0x9cd')](0x1,_0x3ad1bb[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x452'):_0x53b74f[_0x477d('0xcf')][_0x477d('0x41b')]=_0x53b74f[_0x477d('0xcf')][_0x477d('0x12ae')];break;case _0x477d('0x12af'):_0x53b74f[_0x477d('0xcf')][_0x477d('0x94')]=_0x53b74f[_0x477d('0xcf')]['appdata']['split']('=')[0x0];_0x53b74f[_0x477d('0xcf')]['value']=_0x53b74f[_0x477d('0xcf')][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x1];break;case _0x477d('0x12b0'):_0x53b74f[_0x477d('0xcf')][_0x477d('0xf13')]=_0x53b74f['agent']['appdata'];break;default:var _0x88cf50=_0x53b74f[_0x477d('0xcf')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x53b74f[_0x477d('0xcf')]['agent']=_[_0x477d('0x3b2')](_0x88cf50[0x0])?_0x88cf50[0x0]:isNaN(_0x88cf50[0x0])?_0x88cf50[0x0]:parseInt(_0x88cf50[0x0],0xa);_0x53b74f[_0x477d('0xcf')]['timeout']=_[_0x477d('0x3b2')](_0x88cf50[0x1])?_0x88cf50[0x1]:isNaN(_0x88cf50[0x1])?_0x88cf50[0x1]:parseInt(_0x88cf50[0x1],0xa);}}else{_0x53b74f[_0x477d('0xcf')][_0x477d('0x91b')]=0x1e;}if(_0x53b74f[_0x477d('0xcf')][_0x477d('0x439')]&&_0x53b74f[_0x477d('0xcf')][_0x477d('0x439')]['toLowerCase']()===_0x477d('0x127')&&_0x53b74f['agent'][_0x477d('0x1294')]['toLowerCase']()===_0x477d('0x12b1')){_0x53b74f[_0x477d('0xcf')][_0x477d('0x6c0')]=_0x53b74f[_0x477d('0xcf')][_0x477d('0xf46')]?_0x53b74f[_0x477d('0xcf')][_0x477d('0xf46')][_0x477d('0x472')]('$')[0x0]:undefined;_0x53b74f[_0x477d('0xcf')][_0x477d('0x69b')]=_0x53b74f['agent'][_0x477d('0x12b2')]?_0x477d('0x12b3')+_0x53b74f[_0x477d('0xcf')][_0x477d('0x12b2')]:undefined;}_0x53b74f[_0x477d('0x192b')]=_0x51788e;_0x53b74f[_0x477d('0x6bf')]=_0x2cfd71;_0x58a8fc['hasRole'](_0x477d('0x5f'))?_0x4f7725[_0x477d('0x380')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'role':_0x477d('0xcf'),'nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0xac0d5e){_0x53b74f[_0x477d('0x125c')]=_0xac0d5e['rows']||[];})['catch'](function(_0x2b847e){_0x1ad44d[_0x477d('0x44a')]({'title':_0x2b847e[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x2b847e[_0x477d('0x3c3')]+'\x20-\x20'+_0x2b847e[_0x477d('0x44d')]:_0x477d('0x11f6'),'msg':_0x2b847e[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x2b847e['data']):_0x2b847e['toString']()});}):_0x4f7725[_0x477d('0x380')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'role':_0x477d('0xcf'),'nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x5cddc3){_0x53b74f[_0x477d('0x125c')]=_0x5cddc3['rows']||[];})[_0x477d('0x76')](function(){return _0x4f7725['userProfileSection'][_0x477d('0x376')]({'userProfileId':_0x53b74f[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0xca})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x17bcdf){var _0x5cb83e=_0x17bcdf&&_0x17bcdf[_0x477d('0xf2')]?_0x17bcdf[_0x477d('0xf2')][0x0]:null;if(!_0x5cb83e){var _0x2f381f=[];var _0x4d6989=null;if(_0x53b74f[_0x477d('0xcf')]){_0x4d6989=_[_0x477d('0x10a')](_0x53b74f[_0x477d('0x125c')],{'name':_0x53b74f[_0x477d('0xcf')][_0x477d('0xcf')]});}for(var _0x294e62=0x0;_0x294e62<_0x53b74f['agents'][_0x477d('0x79')];_0x294e62++){if(_0x4d6989&&_0x53b74f[_0x477d('0x125c')][_0x294e62]['id']===_0x4d6989['id']){_0x53b74f[_0x477d('0x125c')][_0x294e62][_0x477d('0xf8b')]=![];_0x2f381f[_0x477d('0x3a7')](_0x53b74f[_0x477d('0x125c')][_0x294e62]);}}_0x53b74f['agents']=_0x2f381f;}else{if(!_0x5cb83e[_0x477d('0x3ad')]){return _0x4f7725[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x5cb83e['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x4fea58){var _0x514ad6=_[_0x477d('0x3cb')](_0x4fea58['rows'],function(_0x2b4377){return _['find'](_0x53b74f['agents'],{'id':_0x2b4377[_0x477d('0x3af')]});});var _0x1ff59c=null;if(_0x53b74f[_0x477d('0xcf')]){_0x1ff59c=_['find'](_0x53b74f[_0x477d('0x125c')],{'name':_0x53b74f[_0x477d('0xcf')][_0x477d('0xcf')]});}if(_0x1ff59c&&!_[_0x477d('0x3ab')](_0x514ad6,['id',_0x1ff59c['id']])){var _0x30c8dd=_[_0x477d('0x10a')](_0x53b74f['agents'],{'id':_0x1ff59c['id']});_0x30c8dd[_0x477d('0xf8b')]=![];_0x514ad6['push'](_0x30c8dd);}_0x53b74f[_0x477d('0x125c')]=_0x514ad6;});}}})['catch'](function(_0x489e23){_0x1ad44d[_0x477d('0x44a')]({'title':_0x489e23[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x489e23[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x489e23[_0x477d('0x44d')]:_0x477d('0x12b4'),'msg':_0x489e23[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x489e23[_0x477d('0x451')]):_0x489e23['toString']()});});function _0x51788e(){_0x53b74f['errors']=[];var _0x1ca84f=[];if(_0x53b74f[_0x477d('0xcf')][_0x477d('0x439')]&&_0x53b74f[_0x477d('0xcf')][_0x477d('0x439')][_0x477d('0x449')]()===_0x477d('0x127')&&_0x53b74f[_0x477d('0xcf')][_0x477d('0x1294')]==='outboundDial'){_0x53b74f[_0x477d('0xcf')][_0x477d('0xf46')]=_0x582a91[_0x477d('0x12b6')]?(_0x53b74f[_0x477d('0xcf')][_0x477d('0x6c0')]||'')+_0x477d('0x12b7')+_0x582a91[_0x477d('0x12b6')]+'}':(_0x53b74f['agent'][_0x477d('0x6c0')]||'')+'${EXTEN}';if(_0x582a91['recordingFormat']!=='none'){if(_0x53b74f[_0x477d('0xcf')][_0x477d('0x43c')][_0x477d('0x477')](_0x477d('0x12ba'))<0x0){_0x53b74f[_0x477d('0xcf')][_0x477d('0x43c')]+=_0x477d('0x12ba');}}else{_0x53b74f[_0x477d('0xcf')][_0x477d('0x43c')]=_0x53b74f[_0x477d('0xcf')]['options']['replace'](_0x477d('0x12ba'),'');}}var _0x259410=_[_0x477d('0x10a')](_0x53b74f[_0x477d('0x125c')],{'name':_0x53b74f[_0x477d('0xcf')][_0x477d('0xcf')]});if(_0x259410){_0x53b74f[_0x477d('0xcf')]['UserId']=_0x259410['id'];}if(_0x53b74f['agent'][_0x477d('0x1294')]&&_0x53b74f[_0x477d('0xcf')]['appType']==='custom'){}else{switch((_0x53b74f[_0x477d('0xcf')][_0x477d('0x1291')]||_0x53b74f[_0x477d('0xcf')]['appType'])[_0x477d('0x449')]()){case _0x477d('0x12af'):_0x53b74f[_0x477d('0xcf')][_0x477d('0x12ae')]=_0x53b74f['agent']['name']+'='+_0x53b74f['agent'][_0x477d('0x3b6')];break;case _0x477d('0x9f6'):break;default:_0x1ca84f[0x0]=_0x53b74f[_0x477d('0xcf')]['agent'];_0x1ca84f[0x1]=_0x53b74f[_0x477d('0xcf')][_0x477d('0x91b')];_0x53b74f[_0x477d('0xcf')][_0x477d('0x12ae')]=_0x1ca84f[_0x477d('0x3f6')](',');}}_0x2cfd71(_0x53b74f[_0x477d('0xcf')]);}function _0x2cfd71(_0x9865ee){_0x20b31a[_0x477d('0x3bc')](_0x9865ee);}}}());(function(){'use strict';_0x179ae8['$inject']=[_0x477d('0x384'),'$q','toasty',_0x477d('0x1928'),_0x477d('0xada'),'api',_0x477d('0x55'),_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x34'))[_0x477d('0x3ba')](_0x477d('0x192c'),_0x179ae8);function _0x179ae8(_0x125699,_0x34be6b,_0x1c24e7,_0x1be836,_0xdf39b4,_0x514b45,_0x1ed7ec,_0x28e472){var _0x5b63a6=this;_0x5b63a6[_0x477d('0x3e5')]=_0x1ed7ec[_0x477d('0x5c')]();_0x5b63a6[_0x477d('0xd67')]=[];_0x5b63a6['title']=_0x477d('0x192a')+(_0x1be836[_0x477d('0x1294')]||_0x1be836['app'])[_0x477d('0x44f')]();_0x5b63a6['close']=angular['copy'](_0x1be836);_0x5b63a6[_0x477d('0xd66')]=_0x28e472;_0x5b63a6['hasModulePermissions']={};if(_0x5b63a6['close'][_0x477d('0x12ae')]){switch(_0x5b63a6[_0x477d('0x539')]['appType']?_0x5b63a6[_0x477d('0x539')]['appType'][_0x477d('0x449')]():_0x5b63a6[_0x477d('0x539')][_0x477d('0x1291')][_0x477d('0x449')]()){case _0x477d('0x9f6'):break;case _0x477d('0x1266'):var _0x5d4124=_0x5b63a6[_0x477d('0x539')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x5b63a6[_0x477d('0x539')][_0x477d('0x670')]=_0x5d4124[0x0];_0x5b63a6['close'][_0x477d('0x1267')]=_0x5d4124[0x1];_0x5b63a6['close'][_0x477d('0x127a')]=_0x5d4124[_0x477d('0x9cd')](0x2,_0x5d4124[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x127c'):var _0x5d4124=_0x5b63a6[_0x477d('0x539')][_0x477d('0x12ae')]['split'](',');_0x5b63a6[_0x477d('0x539')]['accesskeyid']=_0x5d4124[0x0];_0x5b63a6[_0x477d('0x539')][_0x477d('0x127e')]=_0x5d4124[0x1];_0x5b63a6[_0x477d('0x539')][_0x477d('0x127f')]=_0x5d4124[0x2];_0x5b63a6[_0x477d('0x539')][_0x477d('0x1283')]=_0x5d4124[0x3];_0x5b63a6[_0x477d('0x539')][_0x477d('0x127a')]=_0x5d4124[_0x477d('0x9cd')](0x4,_0x5d4124['length'])[_0x477d('0x3f6')](',');break;case _0x477d('0x1260'):var _0x5d4124=_0x5b63a6[_0x477d('0x539')][_0x477d('0x12ae')]['split'](',');_0x5b63a6[_0x477d('0x539')][_0x477d('0x1261')]=isNaN(_0x5d4124[0x0])?_0x5d4124[0x0]:parseInt(_0x5d4124[0x0],0xa);_0x5b63a6[_0x477d('0x539')][_0x477d('0x41b')]=_0x5d4124[_0x477d('0x9cd')](0x1,_0x5d4124['length'])[_0x477d('0x3f6')](',');break;case _0x477d('0x452'):_0x5b63a6['close'][_0x477d('0x41b')]=_0x5b63a6[_0x477d('0x539')][_0x477d('0x12ae')];break;case _0x477d('0x12af'):_0x5b63a6['close'][_0x477d('0x94')]=_0x5b63a6[_0x477d('0x539')][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x0];_0x5b63a6[_0x477d('0x539')][_0x477d('0x3b6')]=_0x5b63a6[_0x477d('0x539')][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x1];break;case _0x477d('0x12b0'):_0x5b63a6[_0x477d('0x539')]['project']=_0x5b63a6[_0x477d('0x539')]['appdata'];break;default:var _0x34a0a6=_0x5b63a6[_0x477d('0x539')]['appdata'][_0x477d('0x472')](',');_0x5b63a6['close'][_0x477d('0xb95')]=_['isEmpty'](_0x34a0a6[0x0])?_0x34a0a6[0x0]:isNaN(_0x34a0a6[0x0])?_0x34a0a6[0x0]:parseInt(_0x34a0a6[0x0],0xa);}}else{}if(_0x5b63a6[_0x477d('0x539')]['type']&&_0x5b63a6[_0x477d('0x539')][_0x477d('0x439')][_0x477d('0x449')]()===_0x477d('0x127')&&_0x5b63a6['close'][_0x477d('0x1294')][_0x477d('0x449')]()==='outbounddial'){_0x5b63a6[_0x477d('0x539')][_0x477d('0x6c0')]=_0x5b63a6['close'][_0x477d('0xf46')]?_0x5b63a6[_0x477d('0x539')][_0x477d('0xf46')][_0x477d('0x472')]('$')[0x0]:undefined;_0x5b63a6[_0x477d('0x539')][_0x477d('0x69b')]=_0x5b63a6[_0x477d('0x539')][_0x477d('0x12b2')]?_0x477d('0x12b3')+_0x5b63a6[_0x477d('0x539')][_0x477d('0x12b2')]:undefined;}_0x5b63a6[_0x477d('0x192b')]=_0x37a655;_0x5b63a6[_0x477d('0x6bf')]=_0x4fffa8;function _0x37a655(){_0x5b63a6[_0x477d('0xd67')]=[];var _0x3b7caf=[];if(_0x5b63a6[_0x477d('0x539')][_0x477d('0x439')]&&_0x5b63a6['close'][_0x477d('0x439')][_0x477d('0x449')]()===_0x477d('0x127')&&_0x5b63a6[_0x477d('0x539')][_0x477d('0x1294')]==='outboundDial'){_0x5b63a6[_0x477d('0x539')][_0x477d('0xf46')]=_0xdf39b4['cutdigits']?(_0x5b63a6[_0x477d('0x539')]['prefix']||'')+_0x477d('0x12b7')+_0xdf39b4[_0x477d('0x12b6')]+'}':(_0x5b63a6[_0x477d('0x539')][_0x477d('0x6c0')]||'')+_0x477d('0x12b8');if(_0xdf39b4[_0x477d('0x12b9')]!=='none'){if(_0x5b63a6[_0x477d('0x539')][_0x477d('0x43c')][_0x477d('0x477')](_0x477d('0x12ba'))<0x0){_0x5b63a6['close'][_0x477d('0x43c')]+='U(xcally-mixmonitor-context)';}}else{_0x5b63a6[_0x477d('0x539')]['options']=_0x5b63a6[_0x477d('0x539')][_0x477d('0x43c')][_0x477d('0x409')](_0x477d('0x12ba'),'');}}if(_0x5b63a6['close'][_0x477d('0x1294')]&&_0x5b63a6[_0x477d('0x539')]['appType']==='custom'){}else{switch((_0x5b63a6[_0x477d('0x539')][_0x477d('0x1291')]||_0x5b63a6['close'][_0x477d('0x1294')])[_0x477d('0x449')]()){case'set':_0x5b63a6[_0x477d('0x539')]['appdata']=_0x5b63a6[_0x477d('0x539')][_0x477d('0x94')]+'='+_0x5b63a6['close']['value'];break;case _0x477d('0x9f6'):break;default:_0x3b7caf[0x0]=_0x5b63a6[_0x477d('0x539')][_0x477d('0xb95')];_0x5b63a6[_0x477d('0x539')][_0x477d('0x12ae')]=_0x3b7caf[_0x477d('0x3f6')](',');}}_0x4fffa8(_0x5b63a6['close']);}function _0x4fffa8(_0x3e434b){_0x125699[_0x477d('0x3bc')](_0x3e434b);}}}());(function(){'use strict';_0x55eda3[_0x477d('0xa')]=[_0x477d('0x384'),'$q',_0x477d('0x40e'),_0x477d('0x1928'),_0x477d('0xada'),_0x477d('0x386'),'Auth','crudPermissions'];angular[_0x477d('0xb')]('app.fax')[_0x477d('0x3ba')](_0x477d('0x192d'),_0x55eda3);function _0x55eda3(_0x52bd71,_0x3f47e8,_0x717fca,_0x160e87,_0x24922b,_0x4b798f,_0x3feb21,_0x19c1d0){var _0x333763=this;_0x333763[_0x477d('0x3e5')]=_0x3feb21['getCurrentUser']();_0x333763[_0x477d('0xd67')]=[];_0x333763['title']=_0x477d('0x192a')+(_0x160e87[_0x477d('0x1294')]||_0x160e87[_0x477d('0x1291')])[_0x477d('0x44f')]();_0x333763[_0x477d('0x1252')]=angular[_0x477d('0x6d9')](_0x160e87);_0x333763[_0x477d('0xd66')]=_0x19c1d0;_0x333763[_0x477d('0xd68')]={};if(_0x333763[_0x477d('0x1252')][_0x477d('0x12ae')]){switch(_0x333763[_0x477d('0x1252')]['appType']?_0x333763[_0x477d('0x1252')][_0x477d('0x1294')][_0x477d('0x449')]():_0x333763[_0x477d('0x1252')][_0x477d('0x1291')][_0x477d('0x449')]()){case _0x477d('0x9f6'):break;case _0x477d('0x1266'):var _0x44ecae=_0x333763[_0x477d('0x1252')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x333763[_0x477d('0x1252')][_0x477d('0x670')]=_0x44ecae[0x0];_0x333763[_0x477d('0x1252')][_0x477d('0x1267')]=_0x44ecae[0x1];_0x333763[_0x477d('0x1252')][_0x477d('0x127a')]=_0x44ecae[_0x477d('0x9cd')](0x2,_0x44ecae[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x127c'):var _0x44ecae=_0x333763[_0x477d('0x1252')][_0x477d('0x12ae')]['split'](',');_0x333763[_0x477d('0x1252')][_0x477d('0x127d')]=_0x44ecae[0x0];_0x333763[_0x477d('0x1252')][_0x477d('0x127e')]=_0x44ecae[0x1];_0x333763[_0x477d('0x1252')][_0x477d('0x127f')]=_0x44ecae[0x2];_0x333763[_0x477d('0x1252')][_0x477d('0x1283')]=_0x44ecae[0x3];_0x333763[_0x477d('0x1252')][_0x477d('0x127a')]=_0x44ecae[_0x477d('0x9cd')](0x4,_0x44ecae[_0x477d('0x79')])['join'](',');break;case'autoreply':var _0x44ecae=_0x333763[_0x477d('0x1252')][_0x477d('0x12ae')]['split'](',');_0x333763[_0x477d('0x1252')][_0x477d('0x1261')]=isNaN(_0x44ecae[0x0])?_0x44ecae[0x0]:parseInt(_0x44ecae[0x0],0xa);_0x333763['gotoif'][_0x477d('0x41b')]=_0x44ecae['slice'](0x1,_0x44ecae[_0x477d('0x79')])['join'](',');break;case'message':_0x333763[_0x477d('0x1252')]['text']=_0x333763[_0x477d('0x1252')][_0x477d('0x12ae')];break;case _0x477d('0x12af'):_0x333763[_0x477d('0x1252')][_0x477d('0x94')]=_0x333763[_0x477d('0x1252')][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x0];_0x333763['gotoif'][_0x477d('0x3b6')]=_0x333763['gotoif']['appdata'][_0x477d('0x472')]('=')[0x1];break;case _0x477d('0x12b0'):_0x333763['gotoif'][_0x477d('0xf13')]=_0x333763[_0x477d('0x1252')]['appdata'];break;default:var _0x44616c=_0x333763[_0x477d('0x1252')][_0x477d('0x12ae')]['split'](',');_0x333763['gotoif']['condition']=_['isEmpty'](_0x44616c[0x0])?_0x44616c[0x0]:isNaN(_0x44616c[0x0])?_0x44616c[0x0]:parseInt(_0x44616c[0x0],0xa);_0x333763['gotoif'][_0x477d('0x1254')]=_[_0x477d('0x3b2')](_0x44616c[0x1])?_0x44616c[0x1]:isNaN(_0x44616c[0x1])?_0x44616c[0x1]:parseInt(_0x44616c[0x1],0xa);_0x333763[_0x477d('0x1252')][_0x477d('0x1255')]=_[_0x477d('0x3b2')](_0x44616c[0x2])?_0x44616c[0x2]:isNaN(_0x44616c[0x2])?_0x44616c[0x2]:parseInt(_0x44616c[0x2],0xa);}}else{}if(_0x333763['gotoif'][_0x477d('0x439')]&&_0x333763['gotoif'][_0x477d('0x439')][_0x477d('0x449')]()===_0x477d('0x127')&&_0x333763[_0x477d('0x1252')]['appType'][_0x477d('0x449')]()==='outbounddial'){_0x333763[_0x477d('0x1252')][_0x477d('0x6c0')]=_0x333763[_0x477d('0x1252')][_0x477d('0xf46')]?_0x333763[_0x477d('0x1252')][_0x477d('0xf46')]['split']('$')[0x0]:undefined;_0x333763[_0x477d('0x1252')][_0x477d('0x69b')]=_0x333763[_0x477d('0x1252')][_0x477d('0x12b2')]?'CALLERID(all)='+_0x333763[_0x477d('0x1252')][_0x477d('0x12b2')]:undefined;}_0x333763[_0x477d('0x192b')]=_0x38254a;_0x333763[_0x477d('0x6bf')]=_0x448151;function _0x38254a(){_0x333763['errors']=[];var _0x2df5ef=[];if(_0x333763[_0x477d('0x1252')][_0x477d('0x439')]&&_0x333763[_0x477d('0x1252')][_0x477d('0x439')][_0x477d('0x449')]()===_0x477d('0x127')&&_0x333763[_0x477d('0x1252')][_0x477d('0x1294')]===_0x477d('0x12b5')){_0x333763[_0x477d('0x1252')][_0x477d('0xf46')]=_0x24922b[_0x477d('0x12b6')]?(_0x333763[_0x477d('0x1252')][_0x477d('0x6c0')]||'')+_0x477d('0x12b7')+_0x24922b[_0x477d('0x12b6')]+'}':(_0x333763[_0x477d('0x1252')][_0x477d('0x6c0')]||'')+_0x477d('0x12b8');if(_0x24922b['recordingFormat']!=='none'){if(_0x333763[_0x477d('0x1252')][_0x477d('0x43c')][_0x477d('0x477')](_0x477d('0x12ba'))<0x0){_0x333763[_0x477d('0x1252')][_0x477d('0x43c')]+='U(xcally-mixmonitor-context)';}}else{_0x333763[_0x477d('0x1252')][_0x477d('0x43c')]=_0x333763[_0x477d('0x1252')]['options'][_0x477d('0x409')]('U(xcally-mixmonitor-context)','');}}if(_0x333763['gotoif'][_0x477d('0x1294')]&&_0x333763[_0x477d('0x1252')][_0x477d('0x1294')]===_0x477d('0x9f6')){}else{switch((_0x333763[_0x477d('0x1252')][_0x477d('0x1291')]||_0x333763[_0x477d('0x1252')][_0x477d('0x1294')])[_0x477d('0x449')]()){case _0x477d('0x12af'):_0x333763['gotoif'][_0x477d('0x12ae')]=_0x333763[_0x477d('0x1252')][_0x477d('0x94')]+'='+_0x333763[_0x477d('0x1252')][_0x477d('0x3b6')];break;case _0x477d('0x9f6'):break;default:_0x2df5ef[0x0]=_0x333763[_0x477d('0x1252')]['condition'];_0x2df5ef[0x1]=_0x333763[_0x477d('0x1252')][_0x477d('0x1254')];_0x2df5ef[0x2]=_0x333763[_0x477d('0x1252')]['falsepriority'];_0x333763[_0x477d('0x1252')][_0x477d('0x12ae')]=_0x2df5ef['join'](',');}}_0x448151(_0x333763[_0x477d('0x1252')]);}function _0x448151(_0x30e8cc){_0x52bd71[_0x477d('0x3bc')](_0x30e8cc);}}}());(function(){'use strict';_0x121b79[_0x477d('0xa')]=[_0x477d('0x384'),'$q',_0x477d('0x40e'),_0x477d('0x1928'),_0x477d('0xada'),_0x477d('0x386'),_0x477d('0x55'),_0x477d('0xd66')];angular[_0x477d('0xb')]('app.fax')['controller'](_0x477d('0x192e'),_0x121b79);function _0x121b79(_0x22ffdb,_0x3322b7,_0x13b188,_0x534278,_0x562c04,_0x11f5c6,_0xf76a02,_0x16bcd8){var _0x5178e5=this;_0x5178e5['currentUser']=_0xf76a02[_0x477d('0x5c')]();_0x5178e5['errors']=[];_0x5178e5[_0x477d('0x49a')]=_0x477d('0x192a')+(_0x534278[_0x477d('0x1294')]||_0x534278['app'])[_0x477d('0x44f')]();_0x5178e5[_0x477d('0x124f')]=angular['copy'](_0x534278);_0x5178e5[_0x477d('0xd66')]=_0x16bcd8;_0x5178e5[_0x477d('0xd68')]={};if(_0x5178e5['gotop']['appdata']){switch(_0x5178e5[_0x477d('0x124f')]['appType']?_0x5178e5[_0x477d('0x124f')][_0x477d('0x1294')][_0x477d('0x449')]():_0x5178e5[_0x477d('0x124f')][_0x477d('0x1291')][_0x477d('0x449')]()){case _0x477d('0x9f6'):break;case _0x477d('0x1266'):var _0x4eac1f=_0x5178e5[_0x477d('0x124f')][_0x477d('0x12ae')]['split'](',');_0x5178e5[_0x477d('0x124f')][_0x477d('0x670')]=_0x4eac1f[0x0];_0x5178e5[_0x477d('0x124f')][_0x477d('0x1267')]=_0x4eac1f[0x1];_0x5178e5[_0x477d('0x124f')][_0x477d('0x127a')]=_0x4eac1f[_0x477d('0x9cd')](0x2,_0x4eac1f[_0x477d('0x79')])['join'](',');break;case'amazonlex':var _0x4eac1f=_0x5178e5[_0x477d('0x124f')][_0x477d('0x12ae')]['split'](',');_0x5178e5[_0x477d('0x124f')]['accesskeyid']=_0x4eac1f[0x0];_0x5178e5[_0x477d('0x124f')]['secretaccesskey']=_0x4eac1f[0x1];_0x5178e5[_0x477d('0x124f')][_0x477d('0x127f')]=_0x4eac1f[0x2];_0x5178e5[_0x477d('0x124f')][_0x477d('0x1283')]=_0x4eac1f[0x3];_0x5178e5[_0x477d('0x124f')][_0x477d('0x127a')]=_0x4eac1f[_0x477d('0x9cd')](0x4,_0x4eac1f[_0x477d('0x79')])['join'](',');break;case _0x477d('0x1260'):var _0x4eac1f=_0x5178e5[_0x477d('0x124f')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x5178e5['gotop'][_0x477d('0x1261')]=isNaN(_0x4eac1f[0x0])?_0x4eac1f[0x0]:parseInt(_0x4eac1f[0x0],0xa);_0x5178e5['gotop'][_0x477d('0x41b')]=_0x4eac1f['slice'](0x1,_0x4eac1f['length'])[_0x477d('0x3f6')](',');break;case _0x477d('0x452'):_0x5178e5[_0x477d('0x124f')]['text']=_0x5178e5[_0x477d('0x124f')][_0x477d('0x12ae')];break;case _0x477d('0x12af'):_0x5178e5[_0x477d('0x124f')][_0x477d('0x94')]=_0x5178e5[_0x477d('0x124f')][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x0];_0x5178e5[_0x477d('0x124f')][_0x477d('0x3b6')]=_0x5178e5[_0x477d('0x124f')]['appdata'][_0x477d('0x472')]('=')[0x1];break;case _0x477d('0x12b0'):_0x5178e5[_0x477d('0x124f')][_0x477d('0xf13')]=_0x5178e5[_0x477d('0x124f')]['appdata'];break;default:var _0x2f3d20=_0x5178e5[_0x477d('0x124f')]['appdata'][_0x477d('0x472')](',');_0x5178e5['gotop'][_0x477d('0x1243')]=_[_0x477d('0x3b2')](_0x2f3d20[0x0])?_0x2f3d20[0x0]:isNaN(_0x2f3d20[0x0])?_0x2f3d20[0x0]:parseInt(_0x2f3d20[0x0],0xa);}}else{}if(_0x5178e5[_0x477d('0x124f')][_0x477d('0x439')]&&_0x5178e5[_0x477d('0x124f')]['type'][_0x477d('0x449')]()===_0x477d('0x127')&&_0x5178e5['gotop'][_0x477d('0x1294')][_0x477d('0x449')]()===_0x477d('0x12b1')){_0x5178e5[_0x477d('0x124f')][_0x477d('0x6c0')]=_0x5178e5[_0x477d('0x124f')][_0x477d('0xf46')]?_0x5178e5[_0x477d('0x124f')][_0x477d('0xf46')][_0x477d('0x472')]('$')[0x0]:undefined;_0x5178e5['gotop'][_0x477d('0x69b')]=_0x5178e5[_0x477d('0x124f')]['callerID']?_0x477d('0x12b3')+_0x5178e5[_0x477d('0x124f')][_0x477d('0x12b2')]:undefined;}_0x5178e5[_0x477d('0x192b')]=_0x21bd0c;_0x5178e5['closeDialog']=_0x3edf7a;function _0x21bd0c(){_0x5178e5[_0x477d('0xd67')]=[];var _0x11ed91=[];if(_0x5178e5[_0x477d('0x124f')]['type']&&_0x5178e5[_0x477d('0x124f')][_0x477d('0x439')][_0x477d('0x449')]()===_0x477d('0x127')&&_0x5178e5['gotop'][_0x477d('0x1294')]==='outboundDial'){_0x5178e5[_0x477d('0x124f')][_0x477d('0xf46')]=_0x562c04[_0x477d('0x12b6')]?(_0x5178e5[_0x477d('0x124f')][_0x477d('0x6c0')]||'')+_0x477d('0x12b7')+_0x562c04[_0x477d('0x12b6')]+'}':(_0x5178e5[_0x477d('0x124f')][_0x477d('0x6c0')]||'')+'${EXTEN}';if(_0x562c04['recordingFormat']!==_0x477d('0x496')){if(_0x5178e5['gotop'][_0x477d('0x43c')][_0x477d('0x477')](_0x477d('0x12ba'))<0x0){_0x5178e5[_0x477d('0x124f')][_0x477d('0x43c')]+=_0x477d('0x12ba');}}else{_0x5178e5[_0x477d('0x124f')][_0x477d('0x43c')]=_0x5178e5[_0x477d('0x124f')][_0x477d('0x43c')][_0x477d('0x409')]('U(xcally-mixmonitor-context)','');}}if(_0x5178e5[_0x477d('0x124f')][_0x477d('0x1294')]&&_0x5178e5[_0x477d('0x124f')]['appType']==='custom'){}else{switch((_0x5178e5[_0x477d('0x124f')][_0x477d('0x1291')]||_0x5178e5[_0x477d('0x124f')][_0x477d('0x1294')])['toLowerCase']()){case _0x477d('0x12af'):_0x5178e5[_0x477d('0x124f')]['appdata']=_0x5178e5[_0x477d('0x124f')][_0x477d('0x94')]+'='+_0x5178e5[_0x477d('0x124f')][_0x477d('0x3b6')];break;case _0x477d('0x9f6'):break;default:_0x11ed91[0x0]=_0x5178e5[_0x477d('0x124f')][_0x477d('0x1243')];_0x5178e5['gotop'][_0x477d('0x12ae')]=_0x11ed91[_0x477d('0x3f6')](',');}}_0x3edf7a(_0x5178e5['gotop']);}function _0x3edf7a(_0x447788){_0x22ffdb[_0x477d('0x3bc')](_0x447788);}}}());(function(){'use strict';_0x4d7c15[_0x477d('0xa')]=['$state',_0x477d('0x384'),_0x477d('0x6d3'),'IndexFactory',_0x477d('0x79c'),'intervals',_0x477d('0x40e'),'api',_0x477d('0x55'),_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x2f'))[_0x477d('0x3ba')](_0x477d('0x1922'),_0x4d7c15);function _0x4d7c15(_0x7a0694,_0x4ecf0c,_0x4e8d0c,_0x31ee7d,_0x166124,_0x201334,_0x461389,_0x7ac432,_0x5f9194,_0x1e98f0){var _0x130bf8=this;_0x130bf8['currentUser']=_0x5f9194[_0x477d('0x5c')]();_0x130bf8['errors']=[];_0x130bf8[_0x477d('0x49a')]='TOOLS.EDIT_INTERVAL';_0x130bf8[_0x477d('0x79c')]=angular[_0x477d('0x6d9')](_0x166124);_0x130bf8['intervals']=_0x201334;_0x130bf8[_0x477d('0x12bf')]=![];_0x130bf8[_0x477d('0x12c0')]=[_0x477d('0x1247'),'custom',_0x477d('0xa02')];_0x130bf8[_0x477d('0xd66')]=_0x1e98f0;_0x130bf8['daysOfWeek']=_0x31ee7d[_0x477d('0x12c2')]();_0x130bf8[_0x477d('0x12c3')]=_0x31ee7d[_0x477d('0x12c4')]();_0x130bf8['monthName']=_0x31ee7d[_0x477d('0x192f')]();_0x130bf8[_0x477d('0x12c6')]=_0x31ee7d['getDaysOfMonth']();if(!_0x130bf8[_0x477d('0x79c')]){_0x130bf8[_0x477d('0x79c')]={'interval':'*,*,*,*'};_0x130bf8[_0x477d('0x439')]='always';_0x130bf8[_0x477d('0x49a')]=_0x477d('0x1930');_0x130bf8[_0x477d('0x12bf')]=!![];}else{if(_0x130bf8[_0x477d('0x79c')][_0x477d('0x79c')]!==_0x477d('0x1249')){_0x130bf8[_0x477d('0x439')]=_0x477d('0x9f6');var _0x259a7f=_0x130bf8[_0x477d('0x79c')][_0x477d('0x79c')][_0x477d('0x472')](',');var _0x416a0c=_0x259a7f[0x0];var _0x17e69c=_0x259a7f[0x1];var _0x44c1ff=_0x259a7f[0x2];var _0x3890d3=_0x259a7f[0x3];if(_0x416a0c!=='*'){var _0x34b89f=_0x416a0c[_0x477d('0x472')]('-')[0x0];var _0x53491a=_0x416a0c['split']('-')[0x1];var _0x5d4d81;_0x5d4d81=new Date();_0x5d4d81['setHours'](Number(_0x34b89f[_0x477d('0x472')](':')[0x0]));_0x5d4d81[_0x477d('0x12c9')](Number(_0x34b89f[_0x477d('0x472')](':')[0x1]));_0x130bf8[_0x477d('0x12d1')]=_0x5d4d81;_0x5d4d81=new Date();_0x5d4d81['setHours'](Number(_0x53491a[_0x477d('0x472')](':')[0x0]));_0x5d4d81[_0x477d('0x12c9')](Number(_0x53491a[_0x477d('0x472')](':')[0x1]));_0x130bf8[_0x477d('0x12ca')]=_0x5d4d81;}if(_0x17e69c!=='*'){_0x130bf8[_0x477d('0x12d4')]=_0x17e69c['split']('-')[0x0];_0x130bf8[_0x477d('0x12cb')]=_0x17e69c[_0x477d('0x472')]('-')[0x1];}if(_0x44c1ff!=='*'){_0x130bf8['monthDayFrom']=_0x44c1ff[_0x477d('0x472')]('-')[0x0];_0x130bf8['monthDayTo']=_0x44c1ff[_0x477d('0x472')]('-')[0x1];}if(_0x3890d3!=='*'){_0x130bf8[_0x477d('0x12cc')]=_0x3890d3[_0x477d('0x472')]('-')[0x0];_0x130bf8['monthTo']=_0x3890d3['split']('-')[0x1];}}else{_0x130bf8[_0x477d('0x439')]=_0x477d('0x1247');}}if(_0x7a0694[_0x477d('0x37e')]['id']&&!_0x130bf8['interval'][_0x477d('0xf55')]){_0x130bf8[_0x477d('0x79c')]['IntervalId']=_0x7a0694[_0x477d('0x37e')]['id'];}if(_0x130bf8[_0x477d('0x79c')][_0x477d('0xf8c')]&&_0x130bf8['interval'][_0x477d('0xf55')]){_0x130bf8[_0x477d('0x439')]=_0x477d('0xa02');}_0x130bf8[_0x477d('0x12ce')]=_0x3d55f8;_0x130bf8[_0x477d('0x1931')]=_0x529732;_0x130bf8['closeDialog']=_0x34d249;if(_0x130bf8[_0x477d('0x79c')][_0x477d('0xf55')]){_0x5f9194[_0x477d('0x56')](_0x477d('0x5f'))?_0x7ac432[_0x477d('0x79c')][_0x477d('0x376')]({'fields':'id,name,interval,IntervalId','IntervalId':'null','nolimit':!![]})['$promise']['then'](function(_0x4305a3){_0x130bf8[_0x477d('0x1298')]=_0x4305a3['rows']||[];})[_0x477d('0xf8')](function(_0x1ccbfc){_0x461389[_0x477d('0x44a')]({'title':_0x1ccbfc[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x1ccbfc[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x1ccbfc[_0x477d('0x44d')]:_0x477d('0x12d0'),'msg':_0x1ccbfc[_0x477d('0x451')]?JSON['stringify'](_0x1ccbfc[_0x477d('0x451')]):_0x1ccbfc['toString']()});}):_0x7ac432['interval'][_0x477d('0x376')]({'fields':_0x477d('0x12cf'),'IntervalId':_0x477d('0xea'),'nolimit':!![]})[_0x477d('0x38b')]['then'](function(_0x595aee){_0x130bf8[_0x477d('0x1298')]=_0x595aee[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x7ac432[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x130bf8[_0x477d('0x3e5')]['userProfileId'],'sectionId':0x3ec})['$promise'];})[_0x477d('0x76')](function(_0x572b68){var _0x109f64=_0x572b68&&_0x572b68[_0x477d('0xf2')]?_0x572b68[_0x477d('0xf2')][0x0]:null;if(!_0x109f64){_0x130bf8[_0x477d('0x1298')]=[];}else{if(!_0x109f64[_0x477d('0x3ad')]){return _0x7ac432[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x109f64['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x44106b){var _0x4ea128=_0x44106b&&_0x44106b[_0x477d('0xf2')]?_0x44106b[_0x477d('0xf2')]:[];var _0x4f34db=[];var _0xb3e4d3=null;if(_0x130bf8[_0x477d('0x79c')]){_0xb3e4d3=_[_0x477d('0x10a')](_0x130bf8['intervals'],{'name':_0x130bf8['interval'][_0x477d('0xf8c')]});}if(_0xb3e4d3&&!_[_0x477d('0x3ab')](_0x4ea128,['resourceId',_0xb3e4d3['id']])){_0x130bf8['intervals']['forEach'](function(_0x1ca21b){if(_0x1ca21b['id']===_0xb3e4d3['id']){_0x1ca21b[_0x477d('0xf8b')]=![];_0x4f34db[_0x477d('0x3a7')](_0x1ca21b);}});}_0x130bf8[_0x477d('0x1298')]=_0x4f34db;});}}})[_0x477d('0xf8')](function(_0x258196){_0x461389[_0x477d('0x44a')]({'title':_0x258196['status']?_0x477d('0x44b')+_0x258196['status']+_0x477d('0x44c')+_0x258196[_0x477d('0x44d')]:'SYSTEM:GET_INTERVALS','msg':_0x258196[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x258196[_0x477d('0x451')]):_0x258196[_0x477d('0x453')]()});});}function _0x2f8552(){switch(_0x130bf8[_0x477d('0x439')]){case _0x477d('0x1247'):case _0x477d('0xa02'):return _0x477d('0x1249');case _0x477d('0x9f6'):var _0x5ac332=[];if(_0x130bf8[_0x477d('0x12d1')]!=='*'&&_0x130bf8[_0x477d('0x12d1')]&&_0x130bf8['timeRangeTo']){var _0x2599cb=(_0x130bf8[_0x477d('0x12d1')]['getHours']()<0xa?'0':'')+_0x130bf8[_0x477d('0x12d1')][_0x477d('0x12d2')]()+':'+((_0x130bf8[_0x477d('0x12d1')][_0x477d('0x12d3')]()<0xa?'0':'')+_0x130bf8['timeRangeFrom'][_0x477d('0x12d3')]());var _0x284ee2=(_0x130bf8[_0x477d('0x12ca')][_0x477d('0x12d2')]()<0xa?'0':'')+_0x130bf8[_0x477d('0x12ca')][_0x477d('0x12d2')]()+':'+((_0x130bf8[_0x477d('0x12ca')][_0x477d('0x12d3')]()<0xa?'0':'')+_0x130bf8[_0x477d('0x12ca')]['getMinutes']());_0x5ac332[_0x477d('0x3a7')](_0x2599cb+'-'+_0x284ee2);}else{_0x5ac332[_0x477d('0x3a7')]('*');}if(_0x130bf8['dayOfWeekFrom']){if(_0x130bf8[_0x477d('0x12cb')]){_0x5ac332[_0x477d('0x3a7')](_0x130bf8[_0x477d('0x12d4')]+'-'+_0x130bf8[_0x477d('0x12cb')]);}else{_0x5ac332[_0x477d('0x3a7')](_0x130bf8[_0x477d('0x12d4')]);}}else{_0x5ac332['push']('*');}if(_0x130bf8[_0x477d('0x12d5')]){if(_0x130bf8[_0x477d('0x12d6')]){_0x5ac332[_0x477d('0x3a7')](_0x130bf8['monthDayFrom']+'-'+_0x130bf8[_0x477d('0x12d6')]);}else{_0x5ac332['push'](_0x130bf8['monthDayFrom']);}}else{_0x5ac332[_0x477d('0x3a7')]('*');}if(_0x130bf8[_0x477d('0x12cc')]){if(_0x130bf8[_0x477d('0x12cd')]){_0x5ac332[_0x477d('0x3a7')](_0x130bf8[_0x477d('0x12cc')]+'-'+_0x130bf8[_0x477d('0x12cd')]);}else{_0x5ac332['push'](_0x130bf8[_0x477d('0x12cc')]);}}else{_0x5ac332[_0x477d('0x3a7')]('*');}return _0x5ac332[_0x477d('0x3f6')]();}}function _0x3d55f8(){_0x130bf8['errors']=[];_0x130bf8['interval'][_0x477d('0x79c')]=_0x2f8552();_0x7ac432[_0x477d('0x79c')][_0x477d('0xd70')](_0x130bf8[_0x477d('0x79c')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x5b2b0e){_0x130bf8[_0x477d('0x1298')][_0x477d('0x3a7')](_0x5b2b0e);_0x461389[_0x477d('0x485')]({'title':_0x477d('0x12d7'),'msg':_0x130bf8[_0x477d('0x79c')][_0x477d('0x94')]?_0x130bf8['interval'][_0x477d('0x94')]+_0x477d('0xd73'):''});_0x34d249();})[_0x477d('0xf8')](function(_0x1445c7){console[_0x477d('0x44a')](_0x1445c7);_0x130bf8['errors']=_0x1445c7[_0x477d('0x451')]['errors']||[{'message':_0x1445c7[_0x477d('0x453')](),'type':'api.interval.save'}];});}function _0x529732(){_0x130bf8[_0x477d('0xd67')]=[];_0x130bf8[_0x477d('0x79c')]['interval']=_0x2f8552();if(_0x130bf8[_0x477d('0x79c')][_0x477d('0xf55')]){_0x130bf8[_0x477d('0x439')]!==_0x477d('0xa02')&&(_0x130bf8['interval']['IntervalId']=null);_0x34d249(_0x130bf8[_0x477d('0x79c')]);}else{_0x7ac432[_0x477d('0x79c')][_0x477d('0x710')]({'id':_0x130bf8[_0x477d('0x79c')]['id']},_0x130bf8[_0x477d('0x79c')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x47f249){var _0x333e3f=_['find'](_0x130bf8[_0x477d('0x1298')],{'id':_0x47f249['id']});if(_0x333e3f){_[_0x477d('0xef')](_0x333e3f,_0x47f249);}_0x461389['success']({'title':'Interval\x20properly\x20saved!','msg':'Interval\x20has\x20been\x20saved!'});_0x34d249();})[_0x477d('0xf8')](function(_0x3be7bc){console[_0x477d('0x44a')](_0x3be7bc);_0x130bf8[_0x477d('0xd67')]=_0x3be7bc[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x3be7bc[_0x477d('0x453')](),'type':'api.interval.update'}];});}}function _0x34d249(_0x1e1a97){_0x4ecf0c['hide'](_0x1e1a97);}}}());(function(){'use strict';_0x11973c[_0x477d('0xa')]=[_0x477d('0x384'),'$q','toasty',_0x477d('0x1928'),_0x477d('0xada'),_0x477d('0x386'),'Auth','crudPermissions'];angular[_0x477d('0xb')](_0x477d('0x34'))[_0x477d('0x3ba')](_0x477d('0x1932'),_0x11973c);function _0x11973c(_0x33b6c6,_0x163ed9,_0x30bf6a,_0x33bae5,_0x19fbe0,_0x509795,_0x16a9b2,_0x491ce9){var _0x35fff5=this;_0x35fff5['currentUser']=_0x16a9b2[_0x477d('0x5c')]();_0x35fff5[_0x477d('0xd67')]=[];_0x35fff5['title']=_0x477d('0x192a')+(_0x33bae5[_0x477d('0x1294')]||_0x33bae5['app'])[_0x477d('0x44f')]();_0x35fff5[_0x477d('0x3c6')]=angular[_0x477d('0x6d9')](_0x33bae5);_0x35fff5[_0x477d('0xd66')]=_0x491ce9;_0x35fff5[_0x477d('0xd68')]={};if(_0x35fff5[_0x477d('0x3c6')][_0x477d('0x12ae')]){switch(_0x35fff5[_0x477d('0x3c6')][_0x477d('0x1294')]?_0x35fff5[_0x477d('0x3c6')]['appType'][_0x477d('0x449')]():_0x35fff5[_0x477d('0x3c6')][_0x477d('0x1291')]['toLowerCase']()){case'custom':break;case _0x477d('0x1266'):var _0x1972c5=_0x35fff5[_0x477d('0x3c6')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x35fff5[_0x477d('0x3c6')]['key']=_0x1972c5[0x0];_0x35fff5[_0x477d('0x3c6')][_0x477d('0x1267')]=_0x1972c5[0x1];_0x35fff5[_0x477d('0x3c6')][_0x477d('0x127a')]=_0x1972c5['slice'](0x2,_0x1972c5['length'])[_0x477d('0x3f6')](',');break;case _0x477d('0x127c'):var _0x1972c5=_0x35fff5['noop'][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x35fff5['noop'][_0x477d('0x127d')]=_0x1972c5[0x0];_0x35fff5[_0x477d('0x3c6')][_0x477d('0x127e')]=_0x1972c5[0x1];_0x35fff5[_0x477d('0x3c6')][_0x477d('0x127f')]=_0x1972c5[0x2];_0x35fff5[_0x477d('0x3c6')][_0x477d('0x1283')]=_0x1972c5[0x3];_0x35fff5[_0x477d('0x3c6')][_0x477d('0x127a')]=_0x1972c5['slice'](0x4,_0x1972c5[_0x477d('0x79')])['join'](',');break;case _0x477d('0x1260'):var _0x1972c5=_0x35fff5[_0x477d('0x3c6')][_0x477d('0x12ae')]['split'](',');_0x35fff5[_0x477d('0x3c6')][_0x477d('0x1261')]=isNaN(_0x1972c5[0x0])?_0x1972c5[0x0]:parseInt(_0x1972c5[0x0],0xa);_0x35fff5['noop'][_0x477d('0x41b')]=_0x1972c5[_0x477d('0x9cd')](0x1,_0x1972c5[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case'message':_0x35fff5['noop'][_0x477d('0x41b')]=_0x35fff5[_0x477d('0x3c6')][_0x477d('0x12ae')];break;case _0x477d('0x12af'):_0x35fff5[_0x477d('0x3c6')]['name']=_0x35fff5['noop'][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x0];_0x35fff5[_0x477d('0x3c6')]['value']=_0x35fff5[_0x477d('0x3c6')][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x1];break;case _0x477d('0x12b0'):_0x35fff5[_0x477d('0x3c6')][_0x477d('0xf13')]=_0x35fff5[_0x477d('0x3c6')][_0x477d('0x12ae')];break;default:var _0x247c98=_0x35fff5[_0x477d('0x3c6')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x35fff5['noop']['value']=_[_0x477d('0x3b2')](_0x247c98[0x0])?_0x247c98[0x0]:isNaN(_0x247c98[0x0])?_0x247c98[0x0]:parseInt(_0x247c98[0x0],0xa);}}else{}if(_0x35fff5[_0x477d('0x3c6')][_0x477d('0x439')]&&_0x35fff5['noop'][_0x477d('0x439')][_0x477d('0x449')]()===_0x477d('0x127')&&_0x35fff5[_0x477d('0x3c6')]['appType'][_0x477d('0x449')]()===_0x477d('0x12b1')){_0x35fff5['noop']['prefix']=_0x35fff5[_0x477d('0x3c6')][_0x477d('0xf46')]?_0x35fff5[_0x477d('0x3c6')][_0x477d('0xf46')][_0x477d('0x472')]('$')[0x0]:undefined;_0x35fff5['noop']['callerId']=_0x35fff5['noop']['callerID']?_0x477d('0x12b3')+_0x35fff5['noop'][_0x477d('0x12b2')]:undefined;}_0x35fff5[_0x477d('0x192b')]=_0x451738;_0x35fff5['closeDialog']=_0x2dda00;function _0x451738(){_0x35fff5['errors']=[];var _0x2fc998=[];if(_0x35fff5[_0x477d('0x3c6')][_0x477d('0x439')]&&_0x35fff5[_0x477d('0x3c6')][_0x477d('0x439')]['toLowerCase']()===_0x477d('0x127')&&_0x35fff5[_0x477d('0x3c6')]['appType']===_0x477d('0x12b5')){_0x35fff5['noop']['phone']=_0x19fbe0['cutdigits']?(_0x35fff5[_0x477d('0x3c6')]['prefix']||'')+_0x477d('0x12b7')+_0x19fbe0[_0x477d('0x12b6')]+'}':(_0x35fff5[_0x477d('0x3c6')]['prefix']||'')+_0x477d('0x12b8');if(_0x19fbe0[_0x477d('0x12b9')]!==_0x477d('0x496')){if(_0x35fff5['noop'][_0x477d('0x43c')][_0x477d('0x477')](_0x477d('0x12ba'))<0x0){_0x35fff5[_0x477d('0x3c6')][_0x477d('0x43c')]+=_0x477d('0x12ba');}}else{_0x35fff5[_0x477d('0x3c6')]['options']=_0x35fff5['noop'][_0x477d('0x43c')][_0x477d('0x409')](_0x477d('0x12ba'),'');}}if(_0x35fff5[_0x477d('0x3c6')][_0x477d('0x1294')]&&_0x35fff5[_0x477d('0x3c6')][_0x477d('0x1294')]===_0x477d('0x9f6')){}else{switch((_0x35fff5[_0x477d('0x3c6')][_0x477d('0x1291')]||_0x35fff5[_0x477d('0x3c6')][_0x477d('0x1294')])['toLowerCase']()){case'set':_0x35fff5['noop']['appdata']=_0x35fff5[_0x477d('0x3c6')]['name']+'='+_0x35fff5['noop'][_0x477d('0x3b6')];break;case _0x477d('0x9f6'):break;default:_0x2fc998[0x0]=_0x35fff5[_0x477d('0x3c6')][_0x477d('0x3b6')];_0x35fff5[_0x477d('0x3c6')]['appdata']=_0x2fc998[_0x477d('0x3f6')](',');}}_0x2dda00(_0x35fff5['noop']);}function _0x2dda00(_0x30362c){_0x33b6c6[_0x477d('0x3bc')](_0x30362c);}}}());(function(){'use strict';_0x148a9c['$inject']=[_0x477d('0x384'),'$q','toasty',_0x477d('0x1928'),'faxAccount',_0x477d('0x386'),_0x477d('0x55'),'crudPermissions'];angular[_0x477d('0xb')](_0x477d('0x34'))[_0x477d('0x3ba')](_0x477d('0x1933'),_0x148a9c);function _0x148a9c(_0x3a1012,_0x305554,_0x4f7e91,_0x34cf77,_0x23ade5,_0x529821,_0x3b1fb6,_0x52d731){var _0xf84fb8=this;_0xf84fb8['currentUser']=_0x3b1fb6[_0x477d('0x5c')]();_0xf84fb8[_0x477d('0xd67')]=[];_0xf84fb8[_0x477d('0x49a')]='FAX.EDIT_'+(_0x34cf77[_0x477d('0x1294')]||_0x34cf77[_0x477d('0x1291')])[_0x477d('0x44f')]();_0xf84fb8[_0x477d('0x1256')]=angular['copy'](_0x34cf77);_0xf84fb8[_0x477d('0xd66')]=_0x52d731;_0xf84fb8[_0x477d('0xd68')]={};if(_0xf84fb8['queue'][_0x477d('0x12ae')]){switch(_0xf84fb8['queue'][_0x477d('0x1294')]?_0xf84fb8[_0x477d('0x1256')][_0x477d('0x1294')][_0x477d('0x449')]():_0xf84fb8[_0x477d('0x1256')]['app'][_0x477d('0x449')]()){case'custom':break;case _0x477d('0x1266'):var _0x576e8e=_0xf84fb8['queue'][_0x477d('0x12ae')]['split'](',');_0xf84fb8[_0x477d('0x1256')][_0x477d('0x670')]=_0x576e8e[0x0];_0xf84fb8['queue'][_0x477d('0x1267')]=_0x576e8e[0x1];_0xf84fb8[_0x477d('0x1256')][_0x477d('0x127a')]=_0x576e8e[_0x477d('0x9cd')](0x2,_0x576e8e[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x127c'):var _0x576e8e=_0xf84fb8[_0x477d('0x1256')][_0x477d('0x12ae')]['split'](',');_0xf84fb8['queue'][_0x477d('0x127d')]=_0x576e8e[0x0];_0xf84fb8['queue'][_0x477d('0x127e')]=_0x576e8e[0x1];_0xf84fb8['queue'][_0x477d('0x127f')]=_0x576e8e[0x2];_0xf84fb8[_0x477d('0x1256')][_0x477d('0x1283')]=_0x576e8e[0x3];_0xf84fb8[_0x477d('0x1256')][_0x477d('0x127a')]=_0x576e8e[_0x477d('0x9cd')](0x4,_0x576e8e[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x1260'):var _0x576e8e=_0xf84fb8[_0x477d('0x1256')]['appdata']['split'](',');_0xf84fb8[_0x477d('0x1256')][_0x477d('0x1261')]=isNaN(_0x576e8e[0x0])?_0x576e8e[0x0]:parseInt(_0x576e8e[0x0],0xa);_0xf84fb8['queue'][_0x477d('0x41b')]=_0x576e8e[_0x477d('0x9cd')](0x1,_0x576e8e[_0x477d('0x79')])['join'](',');break;case _0x477d('0x452'):_0xf84fb8[_0x477d('0x1256')][_0x477d('0x41b')]=_0xf84fb8['queue'][_0x477d('0x12ae')];break;case _0x477d('0x12af'):_0xf84fb8[_0x477d('0x1256')][_0x477d('0x94')]=_0xf84fb8['queue'][_0x477d('0x12ae')]['split']('=')[0x0];_0xf84fb8[_0x477d('0x1256')]['value']=_0xf84fb8[_0x477d('0x1256')][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x1];break;case _0x477d('0x12b0'):_0xf84fb8[_0x477d('0x1256')]['project']=_0xf84fb8[_0x477d('0x1256')][_0x477d('0x12ae')];break;default:var _0x5cd620=_0xf84fb8['queue'][_0x477d('0x12ae')][_0x477d('0x472')](',');_0xf84fb8[_0x477d('0x1256')][_0x477d('0x1256')]=_[_0x477d('0x3b2')](_0x5cd620[0x0])?_0x5cd620[0x0]:isNaN(_0x5cd620[0x0])?_0x5cd620[0x0]:parseInt(_0x5cd620[0x0],0xa);_0xf84fb8[_0x477d('0x1256')][_0x477d('0x91b')]=_[_0x477d('0x3b2')](_0x5cd620[0x1])?_0x5cd620[0x1]:isNaN(_0x5cd620[0x1])?_0x5cd620[0x1]:parseInt(_0x5cd620[0x1],0xa);}}else{_0xf84fb8[_0x477d('0x1256')]['queue']=0x12c;_0xf84fb8[_0x477d('0x1256')][_0x477d('0x91b')]=0x12c;}if(_0xf84fb8[_0x477d('0x1256')][_0x477d('0x439')]&&_0xf84fb8[_0x477d('0x1256')][_0x477d('0x439')][_0x477d('0x449')]()==='outbound'&&_0xf84fb8[_0x477d('0x1256')][_0x477d('0x1294')]['toLowerCase']()===_0x477d('0x12b1')){_0xf84fb8[_0x477d('0x1256')][_0x477d('0x6c0')]=_0xf84fb8[_0x477d('0x1256')]['phone']?_0xf84fb8[_0x477d('0x1256')]['phone'][_0x477d('0x472')]('$')[0x0]:undefined;_0xf84fb8[_0x477d('0x1256')][_0x477d('0x69b')]=_0xf84fb8[_0x477d('0x1256')][_0x477d('0x12b2')]?_0x477d('0x12b3')+_0xf84fb8[_0x477d('0x1256')][_0x477d('0x12b2')]:undefined;}_0xf84fb8[_0x477d('0x192b')]=_0x28dd3e;_0xf84fb8[_0x477d('0x6bf')]=_0x242ede;_0x3b1fb6[_0x477d('0x56')](_0x477d('0x5f'))?_0x529821[_0x477d('0xe48')][_0x477d('0x376')]({'fields':_0x477d('0x12de'),'sort':'name','nolimit':'true'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x328afa){_0xf84fb8['queues']=_0x328afa[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0xedd2ea){_0x4f7e91[_0x477d('0x44a')]({'title':_0xedd2ea[_0x477d('0x3c3')]?_0x477d('0x44b')+_0xedd2ea['status']+_0x477d('0x44c')+_0xedd2ea[_0x477d('0x44d')]:_0x477d('0x1934'),'msg':_0xedd2ea[_0x477d('0x451')]?JSON['stringify'](_0xedd2ea[_0x477d('0x451')]):_0xedd2ea[_0x477d('0x453')]()});}):_0x529821[_0x477d('0xe48')]['get']({'fields':_0x477d('0x12de'),'sort':_0x477d('0x94'),'nolimit':'true'})[_0x477d('0x38b')]['then'](function(_0x51a285){_0xf84fb8[_0x477d('0xf2f')]=_0x51a285[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x529821['userProfileSection'][_0x477d('0x376')]({'userProfileId':_0xf84fb8['currentUser'][_0x477d('0x61')],'sectionId':0x385})['$promise'];})['then'](function(_0x456fa0){var _0x2e336b=_0x456fa0&&_0x456fa0[_0x477d('0xf2')]?_0x456fa0[_0x477d('0xf2')][0x0]:null;if(!_0x2e336b){var _0x4bac3d=[];var _0x50c60f=null;if(_0xf84fb8[_0x477d('0x1256')]){_0x50c60f=_[_0x477d('0x10a')](_0xf84fb8['queues'],{'name':_0xf84fb8[_0x477d('0x1256')][_0x477d('0x1256')]});}for(var _0x5e626a=0x0;_0x5e626a<_0xf84fb8['queues'][_0x477d('0x79')];_0x5e626a++){if(_0x50c60f&&_0xf84fb8[_0x477d('0xf2f')][_0x5e626a]['id']===_0x50c60f['id']){_0xf84fb8[_0x477d('0xf2f')][_0x5e626a]['canSelect']=![];_0x4bac3d[_0x477d('0x3a7')](_0xf84fb8[_0x477d('0xf2f')][_0x5e626a]);}}_0xf84fb8[_0x477d('0xf2f')]=_0x4bac3d;}else{if(!_0x2e336b[_0x477d('0x3ad')]){return _0x529821['userProfileResource'][_0x477d('0x376')]({'sectionId':_0x2e336b['id']})[_0x477d('0x38b')]['then'](function(_0x4e8971){var _0x22a51a=_[_0x477d('0x3cb')](_0x4e8971['rows'],function(_0x2c5b82){return _[_0x477d('0x10a')](_0xf84fb8[_0x477d('0xf2f')],{'id':_0x2c5b82[_0x477d('0x3af')]});});var _0x2297f0=null;if(_0xf84fb8[_0x477d('0x1256')]){_0x2297f0=_[_0x477d('0x10a')](_0xf84fb8[_0x477d('0xf2f')],{'name':_0xf84fb8[_0x477d('0x1256')][_0x477d('0x1256')]});}if(_0x2297f0&&!_['some'](_0x22a51a,['id',_0x2297f0['id']])){var _0x11f576=_[_0x477d('0x10a')](_0xf84fb8['queues'],{'id':_0x2297f0['id']});_0x11f576[_0x477d('0xf8b')]=![];_0x22a51a[_0x477d('0x3a7')](_0x11f576);}_0xf84fb8[_0x477d('0xf2f')]=_0x22a51a;});}}})[_0x477d('0xf8')](function(_0x123965){_0x4f7e91[_0x477d('0x44a')]({'title':_0x123965[_0x477d('0x3c3')]?'API:'+_0x123965[_0x477d('0x3c3')]+'\x20-\x20'+_0x123965[_0x477d('0x44d')]:_0x477d('0x12df'),'msg':_0x123965[_0x477d('0x451')]?JSON['stringify'](_0x123965[_0x477d('0x451')]):_0x123965['toString']()});});function _0x28dd3e(){_0xf84fb8[_0x477d('0xd67')]=[];var _0x2cae3d=[];if(_0xf84fb8['queue']['type']&&_0xf84fb8[_0x477d('0x1256')][_0x477d('0x439')][_0x477d('0x449')]()===_0x477d('0x127')&&_0xf84fb8[_0x477d('0x1256')][_0x477d('0x1294')]===_0x477d('0x12b5')){_0xf84fb8[_0x477d('0x1256')]['phone']=_0x23ade5['cutdigits']?(_0xf84fb8[_0x477d('0x1256')][_0x477d('0x6c0')]||'')+_0x477d('0x12b7')+_0x23ade5['cutdigits']+'}':(_0xf84fb8[_0x477d('0x1256')]['prefix']||'')+_0x477d('0x12b8');if(_0x23ade5[_0x477d('0x12b9')]!==_0x477d('0x496')){if(_0xf84fb8[_0x477d('0x1256')]['options']['indexOf']('U(xcally-mixmonitor-context)')<0x0){_0xf84fb8['queue'][_0x477d('0x43c')]+='U(xcally-mixmonitor-context)';}}else{_0xf84fb8['queue'][_0x477d('0x43c')]=_0xf84fb8[_0x477d('0x1256')]['options'][_0x477d('0x409')](_0x477d('0x12ba'),'');}}var _0x4ef34f=_[_0x477d('0x10a')](_0xf84fb8[_0x477d('0xf2f')],{'name':_0xf84fb8['queue'][_0x477d('0x1256')]});if(_0x4ef34f){_0xf84fb8[_0x477d('0x1256')][_[_0x477d('0x12e0')](_0x477d('0x154'))+'QueueId']=_0x4ef34f['id'];}if(_0xf84fb8[_0x477d('0x1256')]['appType']&&_0xf84fb8[_0x477d('0x1256')][_0x477d('0x1294')]===_0x477d('0x9f6')){}else{switch((_0xf84fb8['queue'][_0x477d('0x1291')]||_0xf84fb8[_0x477d('0x1256')][_0x477d('0x1294')])[_0x477d('0x449')]()){case _0x477d('0x12af'):_0xf84fb8['queue'][_0x477d('0x12ae')]=_0xf84fb8[_0x477d('0x1256')][_0x477d('0x94')]+'='+_0xf84fb8['queue'][_0x477d('0x3b6')];break;case'custom':break;default:_0x2cae3d[0x0]=_0xf84fb8[_0x477d('0x1256')][_0x477d('0x1256')];_0x2cae3d[0x1]=_0xf84fb8[_0x477d('0x1256')][_0x477d('0x91b')];_0xf84fb8['queue'][_0x477d('0x12ae')]=_0x2cae3d[_0x477d('0x3f6')](',');}}_0x242ede(_0xf84fb8[_0x477d('0x1256')]);}function _0x242ede(_0xca0f5d){_0x3a1012[_0x477d('0x3bc')](_0xca0f5d);}}}());(function(){'use strict';_0x17dadc[_0x477d('0xa')]=[_0x477d('0x384'),'$q',_0x477d('0x40e'),_0x477d('0x1928'),'faxAccount','api',_0x477d('0x55'),_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x34'))['controller'](_0x477d('0x1935'),_0x17dadc);function _0x17dadc(_0x27e5cc,_0x1d7cdb,_0x12ed1a,_0x1a65df,_0x14edfb,_0x15c7d7,_0x31343c,_0x404c27){var _0x50aeed=this;_0x50aeed[_0x477d('0x3e5')]=_0x31343c['getCurrentUser']();_0x50aeed[_0x477d('0xd67')]=[];_0x50aeed[_0x477d('0x49a')]='FAX.EDIT_'+(_0x1a65df[_0x477d('0x1294')]||_0x1a65df[_0x477d('0x1291')])['toUpperCase']();_0x50aeed[_0x477d('0xa41')]=angular[_0x477d('0x6d9')](_0x1a65df);_0x50aeed[_0x477d('0xd66')]=_0x404c27;_0x50aeed[_0x477d('0xd68')]={};if(_0x50aeed[_0x477d('0xa41')][_0x477d('0x12ae')]){switch(_0x50aeed[_0x477d('0xa41')][_0x477d('0x1294')]?_0x50aeed[_0x477d('0xa41')]['appType']['toLowerCase']():_0x50aeed['system'][_0x477d('0x1291')][_0x477d('0x449')]()){case _0x477d('0x9f6'):break;case'dialogflow':var _0x2e31bd=_0x50aeed[_0x477d('0xa41')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x50aeed[_0x477d('0xa41')][_0x477d('0x670')]=_0x2e31bd[0x0];_0x50aeed[_0x477d('0xa41')][_0x477d('0x1267')]=_0x2e31bd[0x1];_0x50aeed[_0x477d('0xa41')][_0x477d('0x127a')]=_0x2e31bd[_0x477d('0x9cd')](0x2,_0x2e31bd[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x127c'):var _0x2e31bd=_0x50aeed[_0x477d('0xa41')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x50aeed[_0x477d('0xa41')][_0x477d('0x127d')]=_0x2e31bd[0x0];_0x50aeed[_0x477d('0xa41')][_0x477d('0x127e')]=_0x2e31bd[0x1];_0x50aeed[_0x477d('0xa41')]['lexregion']=_0x2e31bd[0x2];_0x50aeed[_0x477d('0xa41')]['botname']=_0x2e31bd[0x3];_0x50aeed[_0x477d('0xa41')][_0x477d('0x127a')]=_0x2e31bd[_0x477d('0x9cd')](0x4,_0x2e31bd[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x1260'):var _0x2e31bd=_0x50aeed['system'][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x50aeed['system'][_0x477d('0x1261')]=isNaN(_0x2e31bd[0x0])?_0x2e31bd[0x0]:parseInt(_0x2e31bd[0x0],0xa);_0x50aeed[_0x477d('0xa41')][_0x477d('0x41b')]=_0x2e31bd[_0x477d('0x9cd')](0x1,_0x2e31bd[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x452'):_0x50aeed[_0x477d('0xa41')]['text']=_0x50aeed[_0x477d('0xa41')]['appdata'];break;case'set':_0x50aeed[_0x477d('0xa41')]['name']=_0x50aeed['system'][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x0];_0x50aeed[_0x477d('0xa41')][_0x477d('0x3b6')]=_0x50aeed[_0x477d('0xa41')][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x1];break;case _0x477d('0x12b0'):_0x50aeed[_0x477d('0xa41')]['project']=_0x50aeed[_0x477d('0xa41')][_0x477d('0x12ae')];break;default:var _0x4ef4ff=_0x50aeed['system'][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x50aeed[_0x477d('0xa41')][_0x477d('0xf49')]=_[_0x477d('0x3b2')](_0x4ef4ff[0x0])?_0x4ef4ff[0x0]:isNaN(_0x4ef4ff[0x0])?_0x4ef4ff[0x0]:parseInt(_0x4ef4ff[0x0],0xa);_0x50aeed[_0x477d('0xa41')][_0x477d('0xbb9')]=_['isEmpty'](_0x4ef4ff[0x1])?_0x4ef4ff[0x1]:isNaN(_0x4ef4ff[0x1])?_0x4ef4ff[0x1]:parseInt(_0x4ef4ff[0x1],0xa);}}else{_0x50aeed[_0x477d('0xa41')][_0x477d('0xbb9')]='';}if(_0x50aeed[_0x477d('0xa41')][_0x477d('0x439')]&&_0x50aeed[_0x477d('0xa41')]['type']['toLowerCase']()===_0x477d('0x127')&&_0x50aeed[_0x477d('0xa41')]['appType'][_0x477d('0x449')]()===_0x477d('0x12b1')){_0x50aeed[_0x477d('0xa41')][_0x477d('0x6c0')]=_0x50aeed[_0x477d('0xa41')][_0x477d('0xf46')]?_0x50aeed[_0x477d('0xa41')][_0x477d('0xf46')]['split']('$')[0x0]:undefined;_0x50aeed[_0x477d('0xa41')][_0x477d('0x69b')]=_0x50aeed[_0x477d('0xa41')][_0x477d('0x12b2')]?_0x477d('0x12b3')+_0x50aeed[_0x477d('0xa41')]['callerID']:undefined;}_0x50aeed[_0x477d('0x192b')]=_0x199a10;_0x50aeed[_0x477d('0x6bf')]=_0x18364d;_0x31343c[_0x477d('0x56')]('admin')?_0x15c7d7['variable'][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':'name','nolimit':'true'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x18f0ec){_0x50aeed[_0x477d('0xf31')]=_0x18f0ec[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x3f73ce){_0x12ed1a['error']({'title':_0x3f73ce[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x3f73ce['status']+_0x477d('0x44c')+_0x3f73ce[_0x477d('0x44d')]:_0x477d('0x12e1'),'msg':_0x3f73ce[_0x477d('0x451')]?JSON['stringify'](_0x3f73ce['data']):_0x3f73ce[_0x477d('0x453')]()});}):_0x15c7d7[_0x477d('0xbb9')]['get']({'fields':'id,name','sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})['$promise'][_0x477d('0x76')](function(_0x39da48){_0x50aeed[_0x477d('0xf31')]=_0x39da48[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x15c7d7['userProfileSection']['get']({'userProfileId':_0x50aeed[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x3f4})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x25e7ef){var _0x1c1eaa=_0x25e7ef&&_0x25e7ef[_0x477d('0xf2')]?_0x25e7ef[_0x477d('0xf2')][0x0]:null;if(!_0x1c1eaa){var _0x116e39=[];var _0x35e9a3=null;if(_0x50aeed[_0x477d('0xa41')]){_0x35e9a3=_[_0x477d('0x10a')](_0x50aeed[_0x477d('0xf31')],{'name':_0x50aeed[_0x477d('0xa41')][_0x477d('0xbb9')]});}for(var _0x219047=0x0;_0x219047<_0x50aeed[_0x477d('0xf31')][_0x477d('0x79')];_0x219047++){if(_0x35e9a3&&_0x50aeed[_0x477d('0xf31')][_0x219047]['id']===_0x35e9a3['id']){_0x50aeed['variables'][_0x219047][_0x477d('0xf8b')]=![];_0x116e39[_0x477d('0x3a7')](_0x50aeed[_0x477d('0xf31')][_0x219047]);}}_0x50aeed['variables']=_0x116e39;}else{if(!_0x1c1eaa[_0x477d('0x3ad')]){return _0x15c7d7[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x1c1eaa['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x22aa9b){var _0x33d812=_[_0x477d('0x3cb')](_0x22aa9b[_0x477d('0xf2')],function(_0x24a170){return _[_0x477d('0x10a')](_0x50aeed[_0x477d('0xf31')],{'id':_0x24a170['resourceId']});});var _0xd909e1=null;if(_0x50aeed[_0x477d('0xa41')]){_0xd909e1=_['find'](_0x50aeed[_0x477d('0xf31')],{'name':_0x50aeed['system'][_0x477d('0xbb9')]});}if(_0xd909e1&&!_[_0x477d('0x3ab')](_0x33d812,['id',_0xd909e1['id']])){var _0x546635=_[_0x477d('0x10a')](_0x50aeed['variables'],{'id':_0xd909e1['id']});_0x546635[_0x477d('0xf8b')]=![];_0x33d812[_0x477d('0x3a7')](_0x546635);}_0x50aeed[_0x477d('0xf31')]=_0x33d812;});}}})['catch'](function(_0xd80dd3){_0x12ed1a[_0x477d('0x44a')]({'title':_0xd80dd3[_0x477d('0x3c3')]?_0x477d('0x44b')+_0xd80dd3[_0x477d('0x3c3')]+_0x477d('0x44c')+_0xd80dd3[_0x477d('0x44d')]:_0x477d('0x1936'),'msg':_0xd80dd3[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0xd80dd3['data']):_0xd80dd3[_0x477d('0x453')]()});});function _0x199a10(){_0x50aeed['errors']=[];var _0x579aa4=[];if(_0x50aeed[_0x477d('0xa41')][_0x477d('0x439')]&&_0x50aeed[_0x477d('0xa41')]['type'][_0x477d('0x449')]()===_0x477d('0x127')&&_0x50aeed['system']['appType']===_0x477d('0x12b5')){_0x50aeed[_0x477d('0xa41')][_0x477d('0xf46')]=_0x14edfb[_0x477d('0x12b6')]?(_0x50aeed[_0x477d('0xa41')][_0x477d('0x6c0')]||'')+_0x477d('0x12b7')+_0x14edfb[_0x477d('0x12b6')]+'}':(_0x50aeed[_0x477d('0xa41')]['prefix']||'')+'${EXTEN}';if(_0x14edfb[_0x477d('0x12b9')]!==_0x477d('0x496')){if(_0x50aeed[_0x477d('0xa41')]['options'][_0x477d('0x477')](_0x477d('0x12ba'))<0x0){_0x50aeed[_0x477d('0xa41')]['options']+=_0x477d('0x12ba');}}else{_0x50aeed['system'][_0x477d('0x43c')]=_0x50aeed[_0x477d('0xa41')][_0x477d('0x43c')][_0x477d('0x409')](_0x477d('0x12ba'),'');}}if(_0x50aeed['system'][_0x477d('0x1294')]&&_0x50aeed[_0x477d('0xa41')][_0x477d('0x1294')]===_0x477d('0x9f6')){}else{switch((_0x50aeed[_0x477d('0xa41')][_0x477d('0x1291')]||_0x50aeed['system'][_0x477d('0x1294')])[_0x477d('0x449')]()){case'set':_0x50aeed[_0x477d('0xa41')][_0x477d('0x12ae')]=_0x50aeed['system'][_0x477d('0x94')]+'='+_0x50aeed[_0x477d('0xa41')]['value'];break;case _0x477d('0x9f6'):break;default:_0x579aa4[0x0]=_0x50aeed['system'][_0x477d('0xf49')];_0x579aa4[0x1]=_0x50aeed[_0x477d('0xa41')][_0x477d('0xbb9')];_0x50aeed[_0x477d('0xa41')][_0x477d('0x12ae')]=_0x579aa4['join'](',');}}_0x18364d(_0x50aeed[_0x477d('0xa41')]);}function _0x18364d(_0x35433e){_0x27e5cc[_0x477d('0x3bc')](_0x35433e);}}}());(function(){'use strict';_0x2bc3dc['$inject']=['$mdDialog','$q','toasty',_0x477d('0x1928'),_0x477d('0xada'),_0x477d('0x386'),_0x477d('0x55'),'crudPermissions'];angular['module'](_0x477d('0x34'))[_0x477d('0x3ba')]('EditFaxAccountApptagDialogController',_0x2bc3dc);function _0x2bc3dc(_0x3f9b1f,_0xc00e7b,_0x32759f,_0x2169e1,_0x51005c,_0x3fc399,_0x737a81,_0x4ef079){var _0x2d5a18=this;_0x2d5a18[_0x477d('0x3e5')]=_0x737a81[_0x477d('0x5c')]();_0x2d5a18[_0x477d('0xd67')]=[];_0x2d5a18[_0x477d('0x49a')]=_0x477d('0x192a')+(_0x2169e1[_0x477d('0x1294')]||_0x2169e1[_0x477d('0x1291')])[_0x477d('0x44f')]();_0x2d5a18[_0x477d('0xbb0')]=angular[_0x477d('0x6d9')](_0x2169e1);_0x2d5a18[_0x477d('0xd66')]=_0x4ef079;_0x2d5a18[_0x477d('0xd68')]={};if(_0x2d5a18[_0x477d('0xbb0')][_0x477d('0x12ae')]){switch(_0x2d5a18['tag']['appType']?_0x2d5a18[_0x477d('0xbb0')][_0x477d('0x1294')][_0x477d('0x449')]():_0x2d5a18[_0x477d('0xbb0')][_0x477d('0x1291')][_0x477d('0x449')]()){case _0x477d('0x9f6'):break;case _0x477d('0x1266'):var _0x45d778=_0x2d5a18['tag'][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x2d5a18[_0x477d('0xbb0')][_0x477d('0x670')]=_0x45d778[0x0];_0x2d5a18[_0x477d('0xbb0')]['language']=_0x45d778[0x1];_0x2d5a18[_0x477d('0xbb0')][_0x477d('0x127a')]=_0x45d778[_0x477d('0x9cd')](0x2,_0x45d778[_0x477d('0x79')])['join'](',');break;case'amazonlex':var _0x45d778=_0x2d5a18['tag'][_0x477d('0x12ae')]['split'](',');_0x2d5a18[_0x477d('0xbb0')][_0x477d('0x127d')]=_0x45d778[0x0];_0x2d5a18[_0x477d('0xbb0')][_0x477d('0x127e')]=_0x45d778[0x1];_0x2d5a18[_0x477d('0xbb0')][_0x477d('0x127f')]=_0x45d778[0x2];_0x2d5a18[_0x477d('0xbb0')]['botname']=_0x45d778[0x3];_0x2d5a18['tag'][_0x477d('0x127a')]=_0x45d778['slice'](0x4,_0x45d778['length'])[_0x477d('0x3f6')](',');break;case'autoreply':var _0x45d778=_0x2d5a18['tag']['appdata'][_0x477d('0x472')](',');_0x2d5a18[_0x477d('0xbb0')]['times']=isNaN(_0x45d778[0x0])?_0x45d778[0x0]:parseInt(_0x45d778[0x0],0xa);_0x2d5a18[_0x477d('0xbb0')][_0x477d('0x41b')]=_0x45d778[_0x477d('0x9cd')](0x1,_0x45d778[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case'message':_0x2d5a18[_0x477d('0xbb0')][_0x477d('0x41b')]=_0x2d5a18['tag'][_0x477d('0x12ae')];break;case'set':_0x2d5a18[_0x477d('0xbb0')]['name']=_0x2d5a18[_0x477d('0xbb0')][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x0];_0x2d5a18[_0x477d('0xbb0')]['value']=_0x2d5a18[_0x477d('0xbb0')][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x1];break;case _0x477d('0x12b0'):_0x2d5a18['tag'][_0x477d('0xf13')]=_0x2d5a18[_0x477d('0xbb0')][_0x477d('0x12ae')];break;default:var _0x556964=_0x2d5a18['tag']['appdata'][_0x477d('0x472')](',');_0x2d5a18[_0x477d('0xbb0')]['tag']=_[_0x477d('0x3b2')](_0x556964[0x0])?_0x556964[0x0]:isNaN(_0x556964[0x0])?_0x556964[0x0]:parseInt(_0x556964[0x0],0xa);}}else{}if(_0x2d5a18['tag'][_0x477d('0x439')]&&_0x2d5a18['tag'][_0x477d('0x439')]['toLowerCase']()==='outbound'&&_0x2d5a18[_0x477d('0xbb0')]['appType'][_0x477d('0x449')]()==='outbounddial'){_0x2d5a18[_0x477d('0xbb0')][_0x477d('0x6c0')]=_0x2d5a18[_0x477d('0xbb0')][_0x477d('0xf46')]?_0x2d5a18[_0x477d('0xbb0')][_0x477d('0xf46')]['split']('$')[0x0]:undefined;_0x2d5a18[_0x477d('0xbb0')][_0x477d('0x69b')]=_0x2d5a18[_0x477d('0xbb0')][_0x477d('0x12b2')]?_0x477d('0x12b3')+_0x2d5a18[_0x477d('0xbb0')]['callerID']:undefined;}_0x2d5a18[_0x477d('0x192b')]=_0x4a5257;_0x2d5a18[_0x477d('0x6bf')]=_0x3a93a5;_0x737a81[_0x477d('0x56')](_0x477d('0x5f'))?_0x3fc399[_0x477d('0xbb0')]['get']({'fields':'id,name','sort':_0x477d('0x94'),'nolimit':'true'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0xa9343e){_0x2d5a18[_0x477d('0x1263')]=_0xa9343e[_0x477d('0xf2')]||[];})['catch'](function(_0x215277){_0x32759f[_0x477d('0x44a')]({'title':_0x215277[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x215277['status']+_0x477d('0x44c')+_0x215277['statusText']:_0x477d('0x12e3'),'msg':_0x215277[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x215277[_0x477d('0x451')]):_0x215277['toString']()});}):_0x3fc399[_0x477d('0xbb0')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')]['then'](function(_0x12369f){_0x2d5a18[_0x477d('0x1263')]=_0x12369f[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x3fc399['userProfileSection'][_0x477d('0x376')]({'userProfileId':_0x2d5a18[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x3f0})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x5304c0){var _0x5e9e84=_0x5304c0&&_0x5304c0[_0x477d('0xf2')]?_0x5304c0[_0x477d('0xf2')][0x0]:null;if(!_0x5e9e84){var _0x4cb4d4=[];var _0x5ba898=null;if(_0x2d5a18[_0x477d('0xbb0')]){_0x5ba898=_['find'](_0x2d5a18[_0x477d('0x1263')],{'name':_0x2d5a18[_0x477d('0xbb0')][_0x477d('0xbb0')]});}for(var _0x52b333=0x0;_0x52b333<_0x2d5a18[_0x477d('0x1263')]['length'];_0x52b333++){if(_0x5ba898&&_0x2d5a18['tags'][_0x52b333]['id']===_0x5ba898['id']){_0x2d5a18[_0x477d('0x1263')][_0x52b333][_0x477d('0xf8b')]=![];_0x4cb4d4[_0x477d('0x3a7')](_0x2d5a18[_0x477d('0x1263')][_0x52b333]);}}_0x2d5a18[_0x477d('0x1263')]=_0x4cb4d4;}else{if(!_0x5e9e84['autoAssociation']){return _0x3fc399[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x5e9e84['id']})['$promise'][_0x477d('0x76')](function(_0x2ffad5){var _0xcd6802=_['map'](_0x2ffad5[_0x477d('0xf2')],function(_0x33589a){return _[_0x477d('0x10a')](_0x2d5a18[_0x477d('0x1263')],{'id':_0x33589a[_0x477d('0x3af')]});});var _0x3abaea=null;if(_0x2d5a18[_0x477d('0xbb0')]){_0x3abaea=_[_0x477d('0x10a')](_0x2d5a18[_0x477d('0x1263')],{'name':_0x2d5a18[_0x477d('0xbb0')][_0x477d('0xbb0')]});}if(_0x3abaea&&!_[_0x477d('0x3ab')](_0xcd6802,['id',_0x3abaea['id']])){var _0x18fa41=_['find'](_0x2d5a18[_0x477d('0x1263')],{'id':_0x3abaea['id']});_0x18fa41[_0x477d('0xf8b')]=![];_0xcd6802['push'](_0x18fa41);}_0x2d5a18[_0x477d('0x1263')]=_0xcd6802;});}}})[_0x477d('0xf8')](function(_0x2c025f){_0x32759f['error']({'title':_0x2c025f[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x2c025f['status']+_0x477d('0x44c')+_0x2c025f[_0x477d('0x44d')]:'SYSTEM:GETtags','msg':_0x2c025f[_0x477d('0x451')]?JSON['stringify'](_0x2c025f[_0x477d('0x451')]):_0x2c025f[_0x477d('0x453')]()});});function _0x4a5257(){_0x2d5a18['errors']=[];var _0x28d132=[];if(_0x2d5a18['tag'][_0x477d('0x439')]&&_0x2d5a18['tag'][_0x477d('0x439')][_0x477d('0x449')]()===_0x477d('0x127')&&_0x2d5a18[_0x477d('0xbb0')][_0x477d('0x1294')]===_0x477d('0x12b5')){_0x2d5a18[_0x477d('0xbb0')]['phone']=_0x51005c[_0x477d('0x12b6')]?(_0x2d5a18['tag'][_0x477d('0x6c0')]||'')+_0x477d('0x12b7')+_0x51005c[_0x477d('0x12b6')]+'}':(_0x2d5a18[_0x477d('0xbb0')][_0x477d('0x6c0')]||'')+_0x477d('0x12b8');if(_0x51005c[_0x477d('0x12b9')]!==_0x477d('0x496')){if(_0x2d5a18[_0x477d('0xbb0')]['options'][_0x477d('0x477')](_0x477d('0x12ba'))<0x0){_0x2d5a18[_0x477d('0xbb0')][_0x477d('0x43c')]+=_0x477d('0x12ba');}}else{_0x2d5a18[_0x477d('0xbb0')][_0x477d('0x43c')]=_0x2d5a18['tag']['options'][_0x477d('0x409')](_0x477d('0x12ba'),'');}}var _0x65b779=_['find'](_0x2d5a18[_0x477d('0x1263')],{'name':_0x2d5a18[_0x477d('0xbb0')]['tag']});if(_0x65b779){_0x2d5a18[_0x477d('0xbb0')][_0x477d('0x1262')]=_0x65b779['id'];}if(_0x2d5a18[_0x477d('0xbb0')][_0x477d('0x1294')]&&_0x2d5a18[_0x477d('0xbb0')][_0x477d('0x1294')]===_0x477d('0x9f6')){}else{switch((_0x2d5a18[_0x477d('0xbb0')][_0x477d('0x1291')]||_0x2d5a18[_0x477d('0xbb0')][_0x477d('0x1294')])[_0x477d('0x449')]()){case _0x477d('0x12af'):_0x2d5a18['tag'][_0x477d('0x12ae')]=_0x2d5a18['tag']['name']+'='+_0x2d5a18[_0x477d('0xbb0')]['value'];break;case _0x477d('0x9f6'):break;default:_0x28d132[0x0]=_0x2d5a18[_0x477d('0xbb0')][_0x477d('0xbb0')];_0x2d5a18['tag'][_0x477d('0x12ae')]=_0x28d132['join'](',');}}_0x3a93a5(_0x2d5a18[_0x477d('0xbb0')]);}function _0x3a93a5(_0x134adc){_0x3f9b1f[_0x477d('0x3bc')](_0x134adc);}}}());(function(){'use strict';_0x39ac23['$inject']=[_0x477d('0x385'),_0x477d('0x474'),_0x477d('0x3c4'),'$q',_0x477d('0x40d'),'$timeout',_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x40e'),'api','Auth'];angular[_0x477d('0xb')](_0x477d('0x34'))[_0x477d('0x3ba')](_0x477d('0x1937'),_0x39ac23);function _0x39ac23(_0x2aa294,_0x422680,_0x5a481e,_0x4a3d61,_0x143e89,_0x58ceb2,_0x5a7b72,_0x2265fc,_0x345ea1,_0x4f018e,_0x415ba0){var _0x4c0427=this;_0x4c0427[_0x477d('0x3e5')]=_0x415ba0['getCurrentUser']();_0x4c0427[_0x477d('0xada')]={};_0x4c0427['faxAccountFaxDispositions']={'count':0x0,'rows':[]};_0x4c0427[_0x477d('0x1938')]=[];_0x4c0427[_0x477d('0xd66')];_0x4c0427['query']={'fields':_0x477d('0x2b0'),'limit':0xa,'page':0x1};_0x4c0427[_0x477d('0x5ee')]=_0x850783;_0x4c0427[_0x477d('0xe66')]=_0x364d25;_0x4c0427[_0x477d('0x485')]=_0x4b1fcf;_0x4c0427[_0x477d('0x1939')]=_0x4da255;_0x4c0427[_0x477d('0x193a')]=_0x1a174a;_0x4c0427[_0x477d('0x193b')]=_0x490467;_0x4c0427[_0x477d('0x193c')]=_0x3645e0;_0x4c0427[_0x477d('0x193d')]=_0x2cd0bb;function _0x850783(_0x2bacf6,_0x1ca1c2){_0x4c0427[_0x477d('0xada')]=_0x2bacf6;_0x4c0427[_0x477d('0xd66')]=typeof _0x1ca1c2!==_0x477d('0x4a4')?_0x1ca1c2:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x4c0427['query'][_0x477d('0x14b6')]=_0x4c0427[_0x477d('0xada')]['id'];_0x4c0427['query']['id']=_0x4c0427[_0x477d('0xada')]['id'];_0x4da255();}function _0x364d25(_0x3ea6cc,_0x341290){var _0xc67219=_0x5a7b72['confirm']()['title'](_0x477d('0x193e'))[_0x477d('0xd92')](''+(_0x3ea6cc[_0x477d('0x94')]||_0x3ea6cc['id']&&_[_0x477d('0x1367')]('faxDisposition\x20#')+_0x3ea6cc['id']||_0x477d('0x193f'))+_0x477d('0xd94')+_0x477d('0xd95'))[_0x477d('0x687')]('delete\x20faxDisposition')[_0x477d('0xd7c')](_0x341290)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x5a7b72[_0x477d('0x395')](_0xc67219)[_0x477d('0x76')](function(){_0x3645e0(_0x3ea6cc);},function(){console[_0x477d('0x7b')]('CANCEL');});}function _0x4b1fcf(_0x5f3c20){_0x4c0427[_0x477d('0x1940')]=_0x5f3c20||{'count':0x0,'rows':[]};}function _0x4da255(){_0x4c0427[_0x477d('0x3ef')][_0x477d('0x91c')]=(_0x4c0427['query'][_0x477d('0xe03')]-0x1)*_0x4c0427[_0x477d('0x3ef')][_0x477d('0x91d')];_0x4c0427['promise']=_0x4f018e[_0x477d('0xada')][_0x477d('0x1309')](_0x4c0427[_0x477d('0x3ef')],_0x4b1fcf)[_0x477d('0x38b')];}function _0x1a174a(_0x2df00d,_0x29d6fb){_0x5a7b72[_0x477d('0x395')]({'controller':_0x477d('0x1941'),'controllerAs':'vm','templateUrl':_0x477d('0x1942'),'parent':angular['element'](_0x2265fc[_0x477d('0x399')]),'targetEvent':_0x2df00d,'clickOutsideToClose':!![],'locals':{'faxAccount':_0x4c0427[_0x477d('0xada')],'faxDisposition':_0x29d6fb,'faxDispositions':_0x4c0427[_0x477d('0x1940')][_0x477d('0xf2')],'license':null,'setting':null,'crudPermissions':_0x4c0427[_0x477d('0xd66')]}});}function _0x3645e0(_0x2eecf5){_0x4f018e[_0x477d('0xb95')][_0x477d('0xa55')]({'id':_0x2eecf5['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x4c0427['faxAccountFaxDispositions']['rows'],{'id':_0x2eecf5['id']});_0x4c0427[_0x477d('0x1940')][_0x477d('0x3bb')]-=0x1;if(!_0x4c0427[_0x477d('0x1940')][_0x477d('0xf2')]['length']){_0x4da255();}_0x345ea1[_0x477d('0x485')]({'title':_0x477d('0x1943'),'msg':_0x2eecf5[_0x477d('0x94')]?_0x2eecf5[_0x477d('0x94')]+_0x477d('0xd7e'):''});})[_0x477d('0xf8')](function(_0x502521){if(_0x502521[_0x477d('0x451')]&&_0x502521[_0x477d('0x451')]['errors']&&_0x502521[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){vm[_0x477d('0xd67')]=_0x502521[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x502521['toString'](),'type':_0x477d('0x1944')}];for(var _0x3951b0=0x0;_0x3951b0<_0x502521['data']['errors'][_0x477d('0x79')];_0x3951b0++){_0x345ea1[_0x477d('0x44a')]({'title':_0x502521[_0x477d('0x451')][_0x477d('0xd67')][_0x3951b0][_0x477d('0x439')],'msg':_0x502521['data'][_0x477d('0xd67')][_0x3951b0][_0x477d('0x452')]});}}else{_0x345ea1[_0x477d('0x44a')]({'title':_0x502521[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x502521[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x502521[_0x477d('0x44d')]:_0x477d('0x1944'),'msg':_0x502521[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x502521[_0x477d('0x451')][_0x477d('0x452')]):_0x502521['message']||_0x502521['toString']()});}});}function _0x490467(){var _0xcdd46e=angular[_0x477d('0x6d9')](_0x4c0427['selectedFaxAccountFaxDispositions']);_0x4c0427['selectedFaxAccountFaxDispositions']=[];return _0xcdd46e;}function _0x2cd0bb(_0x878d92){var _0x40f9b0=_0x5a7b72[_0x477d('0xd78')]()[_0x477d('0x49a')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20faxDispositions?')['htmlContent'](_0x477d('0xd93')+_0x4c0427[_0x477d('0x1938')]['length']+_0x477d('0xda0')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x1945'))['targetEvent'](_0x878d92)['ok']('OK')[_0x477d('0x4f0')]('CANCEL');_0x5a7b72[_0x477d('0x395')](_0x40f9b0)[_0x477d('0x76')](function(){_0x4c0427['selectedFaxAccountFaxDispositions'][_0x477d('0x3b1')](function(_0x3918a0){_0x3645e0(_0x3918a0);});_0x4c0427[_0x477d('0x1938')]=[];});}var _0xdffc8f=!![];var _0x5ef161=0x1;_0x422680[_0x477d('0x4b5')](_0x477d('0x12f3'),function(_0x1ce916,_0x38e6be){if(_0xdffc8f){_0x58ceb2(function(){_0xdffc8f=![];});}else{if(!_0x38e6be){_0x5ef161=_0x4c0427[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x1ce916!==_0x38e6be){_0x4c0427[_0x477d('0x3ef')]['page']=0x1;}if(!_0x1ce916){_0x4c0427['query'][_0x477d('0xe03')]=_0x5ef161;}_0x4da255();}});}}());(function(){'use strict';_0x5c9c3d['$inject']=[_0x477d('0x474'),_0x477d('0x3c4'),_0x477d('0xd64'),_0x477d('0x384'),'$q',_0x477d('0x40d'),_0x477d('0x40e'),_0x477d('0x1946'),'faxDisposition','api','Auth',_0x477d('0x613'),_0x477d('0xc8e'),_0x477d('0xd66')];angular[_0x477d('0xb')]('app.fax')[_0x477d('0x3ba')]('CreateOrEditFaxDispositionDialogController',_0x5c9c3d);function _0x5c9c3d(_0x1956b5,_0x27c44d,_0x4df4c2,_0x15aa5c,_0x1036d5,_0x40be27,_0x54c799,_0x8b486d,_0x42bb11,_0x2ed8f0,_0x32dd9a,_0x271581,_0x5e5a8a,_0x235aad){var _0x444a39=this;_0x444a39['currentUser']=_0x32dd9a[_0x477d('0x5c')]();_0x444a39[_0x477d('0xd67')]=[];_0x444a39['setting']=_0x5e5a8a;_0x444a39[_0x477d('0x613')]=_0x271581;_0x444a39[_0x477d('0xd66')]=_0x235aad;_0x444a39['hasModulePermissions']={};_0x444a39[_0x477d('0xd69')]=_0x444a39[_0x477d('0xc8e')]&&_0x444a39[_0x477d('0xc8e')][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x444a39[_0x477d('0x49a')]=_0x477d('0x1947');_0x444a39[_0x477d('0x193f')]=angular[_0x477d('0x6d9')](_0x42bb11);_0x444a39[_0x477d('0x1946')]=_0x8b486d;_0x444a39[_0x477d('0x1948')]=![];if(!_0x444a39[_0x477d('0x193f')]){_0x444a39['faxDisposition']={};_0x444a39[_0x477d('0x49a')]=_0x477d('0x1949');_0x444a39['newFaxDisposition']=!![];}if(_0x27c44d[_0x477d('0x37e')]['id']){_0x444a39[_0x477d('0x193f')][_0x477d('0x14b6')]=_0x27c44d['params']['id'];}_0x444a39[_0x477d('0x194a')]=_0x4cde25;_0x444a39['saveFaxDisposition']=_0x45abbf;_0x444a39['deleteFaxDisposition']=_0x260e62;_0x444a39[_0x477d('0xd6f')]=_0x14076b;_0x444a39[_0x477d('0x6bf')]=_0x32a97b;function _0x4cde25(){_0x444a39[_0x477d('0xd67')]=[];_0x2ed8f0['disposition']['save'](_0x444a39[_0x477d('0x193f')])['$promise'][_0x477d('0x76')](function(_0x3132e6){_0x444a39[_0x477d('0x1946')][_0x477d('0x63b')](_0x3132e6[_0x477d('0xd71')]());_0x54c799[_0x477d('0x485')]({'title':'FaxDisposition\x20properly\x20created','msg':_0x444a39[_0x477d('0x193f')][_0x477d('0x94')]?_0x444a39[_0x477d('0x193f')][_0x477d('0x94')]+_0x477d('0xd73'):''});_0x32a97b(_0x3132e6);})[_0x477d('0xf8')](function(_0x4f98fb){if(_0x4f98fb[_0x477d('0x451')]&&_0x4f98fb[_0x477d('0x451')]['errors']&&_0x4f98fb[_0x477d('0x451')]['errors'][_0x477d('0x79')]){_0x444a39[_0x477d('0xd67')]=_0x4f98fb[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x4f98fb[_0x477d('0x453')](),'type':'api.disposition.save'}];for(var _0x454d17=0x0;_0x454d17<_0x4f98fb[_0x477d('0x451')][_0x477d('0xd67')]['length'];_0x454d17+=0x1){_0x54c799[_0x477d('0x44a')]({'title':_0x4f98fb['data'][_0x477d('0xd67')][_0x454d17][_0x477d('0x439')],'msg':_0x4f98fb[_0x477d('0x451')][_0x477d('0xd67')][_0x454d17][_0x477d('0x452')]});}}else{_0x54c799['error']({'title':_0x4f98fb[_0x477d('0x3c3')]?'API:'+_0x4f98fb[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x4f98fb[_0x477d('0x44d')]:'api.disposition.save','msg':_0x4f98fb[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x4f98fb[_0x477d('0x451')][_0x477d('0x452')]):_0x4f98fb[_0x477d('0x453')]()});}});}function _0x45abbf(){_0x444a39[_0x477d('0xd67')]=[];_0x2ed8f0[_0x477d('0xb95')][_0x477d('0x710')]({'id':_0x444a39['faxDisposition']['id']},_0x444a39[_0x477d('0x193f')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x26dd0a){var _0x951927=_[_0x477d('0x10a')](_0x444a39[_0x477d('0x1946')],{'id':_0x26dd0a['id']});if(_0x951927){_['merge'](_0x951927,_[_0x477d('0x10b')](_0x26dd0a[_0x477d('0xd71')](),_[_0x477d('0x7f')](_0x951927)));}_0x54c799[_0x477d('0x485')]({'title':_0x477d('0x194b'),'msg':_0x444a39[_0x477d('0x193f')][_0x477d('0x94')]?_0x444a39[_0x477d('0x193f')][_0x477d('0x94')]+_0x477d('0xd76'):''});_0x32a97b(_0x26dd0a);})[_0x477d('0xf8')](function(_0xe88e01){if(_0xe88e01[_0x477d('0x451')]&&_0xe88e01[_0x477d('0x451')][_0x477d('0xd67')]&&_0xe88e01[_0x477d('0x451')][_0x477d('0xd67')]['length']){_0x444a39[_0x477d('0xd67')]=_0xe88e01[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0xe88e01['toString'](),'type':'api.disposition.update'}];for(var _0x623cee=0x0;_0x623cee<_0xe88e01[_0x477d('0x451')]['errors']['length'];_0x623cee++){_0x54c799[_0x477d('0x44a')]({'title':_0xe88e01['data'][_0x477d('0xd67')][_0x623cee][_0x477d('0x439')],'msg':_0xe88e01[_0x477d('0x451')]['errors'][_0x623cee][_0x477d('0x452')]});}}else{_0x54c799[_0x477d('0x44a')]({'title':_0xe88e01[_0x477d('0x3c3')]?'API:'+_0xe88e01[_0x477d('0x3c3')]+_0x477d('0x44c')+_0xe88e01[_0x477d('0x44d')]:_0x477d('0x1316'),'msg':_0xe88e01['data']?JSON[_0x477d('0x3fb')](_0xe88e01[_0x477d('0x451')][_0x477d('0x452')]):_0xe88e01['toString']()});}});}function _0x260e62(_0x3ddef0){_0x444a39[_0x477d('0xd67')]=[];var _0x1ebc00=_0x15aa5c[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xd79'))[_0x477d('0xdaf')]('The\x20faxDisposition\x20will\x20be\x20deleted.')[_0x477d('0x687')]('Delete\x20FaxDisposition')['ok'](_0x477d('0xd7b'))[_0x477d('0x4f0')]('Cancel')[_0x477d('0xd7c')](_0x3ddef0);_0x15aa5c[_0x477d('0x395')](_0x1ebc00)[_0x477d('0x76')](function(){_0x2ed8f0['disposition'][_0x477d('0xa55')]({'id':_0x444a39[_0x477d('0x193f')]['id']})['$promise'][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x444a39[_0x477d('0x1946')],{'id':_0x444a39[_0x477d('0x193f')]['id']});_0x54c799[_0x477d('0x485')]({'title':_0x477d('0x194c'),'msg':(_0x444a39[_0x477d('0x193f')][_0x477d('0x94')]||_0x477d('0x193f'))+'\x20has\x20been\x20deleted!'});_0x32a97b(_0x444a39[_0x477d('0x193f')]);})[_0x477d('0xf8')](function(_0x347a49){if(_0x347a49[_0x477d('0x451')]&&_0x347a49[_0x477d('0x451')][_0x477d('0xd67')]&&_0x347a49[_0x477d('0x451')][_0x477d('0xd67')]['length']){_0x444a39[_0x477d('0xd67')]=_0x347a49[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x347a49['toString'](),'type':'api.disposition.delete'}];for(var _0x35d642=0x0;_0x35d642<_0x347a49[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x35d642++){_0x54c799['error']({'title':_0x347a49[_0x477d('0x451')][_0x477d('0xd67')][_0x35d642]['type'],'msg':_0x347a49[_0x477d('0x451')]['errors'][_0x35d642]['message']});}}else{_0x54c799[_0x477d('0x44a')]({'title':_0x347a49[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x347a49[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x347a49['statusText']:'api.disposition.delete','msg':_0x347a49[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x347a49[_0x477d('0x451')][_0x477d('0x452')]):_0x347a49[_0x477d('0x452')]||_0x347a49[_0x477d('0x453')]()});}});},function(){});}function _0x14076b(_0xf83670){return _0xf83670===null?undefined:new Date(_0xf83670);}function _0x32a97b(_0x193a20){_0x15aa5c[_0x477d('0x3bc')](_0x193a20);}}}());(function(){'use strict';_0x50f748[_0x477d('0xa')]=[_0x477d('0x385'),'$scope','$state','$q',_0x477d('0x40d'),'$timeout',_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x40e'),'api',_0x477d('0x55')];angular[_0x477d('0xb')](_0x477d('0x34'))[_0x477d('0x3ba')](_0x477d('0x194d'),_0x50f748);function _0x50f748(_0x541f8d,_0x5b6b61,_0xdef7d3,_0x46115e,_0x28833a,_0x481843,_0x5ceb12,_0x142e5a,_0x2e5b46,_0x5d7eee,_0x3cb09c){var _0x36c3ae=this;_0x36c3ae[_0x477d('0x3e5')]=_0x3cb09c[_0x477d('0x5c')]();_0x36c3ae[_0x477d('0xada')]={};_0x36c3ae['faxAccountInteractions']={'count':0x0,'rows':[]};_0x36c3ae[_0x477d('0x194e')]=[];_0x36c3ae[_0x477d('0xd66')];_0x36c3ae[_0x477d('0x3ef')]={'read':_0x477d('0xea'),'closed':_0x477d('0xea'),'sort':'-createdAt','includeAll':_0x477d('0x2ee'),'limit':0xa,'page':0x1};_0x36c3ae['init']=_0x457c9f;_0x36c3ae['deleteConfirm']=_0x2830f1;_0x36c3ae[_0x477d('0x194f')]=_0x2fc19e;_0x36c3ae[_0x477d('0x485')]=_0x18a78b;_0x36c3ae['getFaxAccountInteractions']=_0x58a4f0;_0x36c3ae[_0x477d('0x1950')]=_0x519886;_0x36c3ae['spyfaxInteraction']=_0x14d18f;_0x36c3ae[_0x477d('0x1686')]=_0x1310f2;_0x36c3ae[_0x477d('0x1951')]=_0x51d9f8;_0x36c3ae[_0x477d('0x1952')]=_0x381ad3;_0x36c3ae['deleteSelectedFaxAccountInteractions']=_0x5cb1c2;function _0x457c9f(_0x133976,_0x19383a){_0x36c3ae[_0x477d('0xada')]=_0x133976;_0x36c3ae[_0x477d('0xd66')]=typeof _0x19383a!==_0x477d('0x4a4')?_0x19383a:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x36c3ae[_0x477d('0x3ef')][_0x477d('0x14b6')]=_0x36c3ae[_0x477d('0xada')]['id'];_0x36c3ae['advancedSearch']={'fields':_0x3230e8()};_0x2a81a9();}function _0x2a81a9(){return _0x5d7eee[_0x477d('0xbb0')]['get']()[_0x477d('0x38b')][_0x477d('0x76')](function(_0x2636c1){_0x36c3ae[_0x477d('0x1263')]=_0x2636c1||{'count':0x0,'rows':[]};})[_0x477d('0x76')](function(){_0x36c3ae[_0x477d('0x1349')]=_0x1cdf8a();});}function _0x1cdf8a(){return[{'name':'Start\x20Date','key':_0x477d('0xe37'),'type':_0x477d('0x420'),'label':'DASHBOARDS.SELECT_DATE'},{'name':_0x477d('0x134c'),'key':'read','type':_0x477d('0x462'),'label':'DASHBOARDS.SELECT_READ_UNREAD','customOptions':[{'value':0x0,'translate':_0x477d('0x167e')},{'value':0x1,'translate':_0x477d('0x134f')},{'value':null,'translate':_0x477d('0x1350')}]},{'name':_0x477d('0x135e'),'key':_0x477d('0x1351'),'type':_0x477d('0x462'),'label':_0x477d('0x168f'),'customOptions':[{'value':0x0,'translate':_0x477d('0x135f')},{'value':0x1,'translate':_0x477d('0x1352')},{'value':null,'translate':_0x477d('0x1350')}]},{'name':'Agent','key':'UserId','type':'select','label':_0x477d('0x1353'),'customOptions':[{'value':_0x477d('0xea'),'translate':'DASHBOARDS.NOT_ASSIGNED'},{'value':undefined,'translate':_0x477d('0x1350')}]},{'name':_0x477d('0x1264'),'key':'tag','type':_0x477d('0x413'),'label':_0x477d('0x1355'),'options':_0x36c3ae[_0x477d('0x1263')][_0x477d('0xf2')],'placeholder':_0x477d('0x1356')}];}function _0x3230e8(){return[{'name':'Id','column':'id','type':_0x477d('0x421')},{'name':_0x477d('0x1370'),'column':'Contact','type':_0x477d('0x443'),'options':{'searchFields':[_0x477d('0x1357'),_0x477d('0x1358'),_0x477d('0x1359')],'route':{'model':'cmContact','action':_0x477d('0x376'),'params':{'fields':_0x477d('0x1677'),'Contact':_0x477d('0x444'),'nolimit':!![]}},'extraOperators':[_0x477d('0x135a')],'excludedOperators':['$ne']}},{'name':_0x477d('0x135b'),'column':'subject','type':_0x477d('0x41b'),'options':{'excludedOperators':[_0x477d('0x412'),'$ne']}},{'name':'Body','column':_0x477d('0x1953'),'type':_0x477d('0x41b'),'options':{'excludedOperators':['$eq',_0x477d('0x414')]}},{'name':'Status','column':_0x477d('0x1351'),'type':_0x477d('0x462'),'values':[{'id':0x0,'translate':_0x477d('0x135f')},{'id':0x1,'translate':'DASHBOARDS.CLOSED'}],'options':{'excludedOperators':[_0x477d('0x414')]}},{'name':_0x477d('0x125d'),'column':_0x477d('0x167b'),'type':_0x477d('0x443'),'options':{'table':'i','route':{'model':_0x477d('0x380'),'action':_0x477d('0x376'),'params':{'role':_0x477d('0xcf'),'fields':_0x477d('0x1360'),'nolimit':!![]}},'searchFields':['fullname',_0x477d('0x94')],'extraOperators':['$substring'],'excludedOperators':[_0x477d('0x414')]}},{'name':_0x477d('0x102'),'column':_0x477d('0x1264'),'type':'multiselect','options':{'route':{'model':_0x477d('0xbb0'),'action':_0x477d('0x376'),'params':{'nolimit':!![]}},'excludedOperators':[_0x477d('0x3f5')]}},{'name':'Start\x20Date','column':_0x477d('0xe37'),'type':'date','options':{'excludedOperators':[_0x477d('0x414')]}},{'name':_0x477d('0x1361'),'column':_0x477d('0x167d'),'type':_0x477d('0x462'),'values':[{'id':0x1,'translate':'DASHBOARDS.READ'},{'id':0x0,'translate':'DASHBOARDS.UNREAD'}],'options':{'excludedOperators':['$ne']}}];}function _0x1310f2(){_0x5ceb12['show']({'controller':'AdvancedSearchController','controllerAs':'vm','templateUrl':'app/core/dialogs/advanced-search/dialog.html','parent':angular['element'](_0x142e5a[_0x477d('0x399')]),'clickOutsideToClose':![],'locals':{'fields':_0x36c3ae[_0x477d('0x3eb')][_0x477d('0x458')],'color':undefined,'storagePath':_0x477d('0x1954')},'fullscreen':!![]})[_0x477d('0x76')](function(_0x1ccf8d){_0x36c3ae[_0x477d('0x3ef')][_0x477d('0x3fd')]=_0x1ccf8d===![]?undefined:_0x1ccf8d;if(_0x36c3ae[_0x477d('0x3ef')][_0x477d('0x3fd')]){_0x58a4f0();}else if(_0x1ccf8d===![]){_0x58a4f0();}})[_0x477d('0xf8')](function(_0x494bf0){_0x2e5b46[_0x477d('0x44a')]({'title':_0x477d('0x16a5'),'msg':_0x494bf0['data']?JSON[_0x477d('0x3fb')](_0x494bf0[_0x477d('0x451')][_0x477d('0x452')]):_0x494bf0[_0x477d('0x453')]()});});}function _0x2fc19e(_0x47abb8,_0x5c9a36,_0x5d8a24){return _0x5d7eee['faxInteraction']['download']({'id':_0x47abb8['id'],'exists':!![],'attachments':_0x5d8a24})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x676eb1){var _0x4b11c8=[_0x676eb1['buffer']];var _0x338362='interaction'+_0x47abb8['id'];var _0x17870c=new Blob(_0x4b11c8,{'type':_0x676eb1[_0x477d('0x439')]});_0x338362='fax-interaction'+_0x47abb8['id']+_0x477d('0x1366');var _0xe77cc0=window['document']['createElement']('a');_0xe77cc0[_0x477d('0x494')](_0x477d('0x3c8'),URL['createObjectURL'](_0x17870c));_0xe77cc0[_0x477d('0x494')](_0x477d('0x49d'),_0x338362);document[_0x477d('0x399')][_0x477d('0xd8f')](_0xe77cc0);_0xe77cc0[_0x477d('0x540')]();})[_0x477d('0xf8')](function(_0x417c21){if(_0x417c21['data']&&_0x417c21[_0x477d('0x451')][_0x477d('0xd67')]&&_0x417c21[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){for(var _0x8f8f85=0x0;_0x8f8f85<_0x417c21[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x8f8f85+=0x1){_0x2e5b46[_0x477d('0x44a')]({'title':_0x417c21['data'][_0x477d('0xd67')][_0x8f8f85][_0x477d('0x439')],'msg':_0x417c21[_0x477d('0x451')][_0x477d('0xd67')][_0x8f8f85][_0x477d('0x452')]});}}else{_0x2e5b46[_0x477d('0x44a')]({'title':_0x417c21['status']?'API:'+_0x417c21[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x417c21[_0x477d('0x44d')]:'api.faxAccount.save','msg':_0x417c21[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x417c21[_0x477d('0x451')][_0x477d('0x452')]):_0x417c21[_0x477d('0x453')]()});}});}function _0x2830f1(_0x11a31a,_0x583095){var _0x16cade=_0x5ceb12['confirm']()[_0x477d('0x49a')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20interaction?')['htmlContent'](''+(_0x11a31a[_0x477d('0x94')]||_0x11a31a['id']&&_[_0x477d('0x1367')]('interaction\x20#')+_0x11a31a['id']||'interaction')+_0x477d('0xd94')+_0x477d('0xd95'))[_0x477d('0x687')]('delete\x20interaction')[_0x477d('0xd7c')](_0x583095)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x5ceb12[_0x477d('0x395')](_0x16cade)[_0x477d('0x76')](function(){_0x381ad3(_0x11a31a);},function(){console['log']('CANCEL');});}function _0x18a78b(_0x10cf7d){_0x36c3ae[_0x477d('0x1955')]=_0x10cf7d||{'count':0x0,'rows':[]};for(var _0x583147=0x0;_0x583147<_0x36c3ae[_0x477d('0x1955')][_0x477d('0xf2')][_0x477d('0x79')];_0x583147+=0x1){var _0xa98055=_0x36c3ae[_0x477d('0x1955')][_0x477d('0xf2')][_0x583147];_0x20bd0e(_0xa98055);_0xa98055['Owner'][_0x477d('0x94')]=_0x6f9829(_0xa98055);}}function _0x58a4f0(){_0x36c3ae[_0x477d('0x3ef')][_0x477d('0x91c')]=(_0x36c3ae['query'][_0x477d('0xe03')]-0x1)*_0x36c3ae['query'][_0x477d('0x91d')];_0x36c3ae[_0x477d('0x553')]=_0x5d7eee[_0x477d('0xae8')][_0x477d('0x376')](_0x36c3ae[_0x477d('0x3ef')],_0x18a78b)[_0x477d('0x38b')];}function _0x519886(_0x3a14e5,_0x462251){_0x5ceb12[_0x477d('0x395')]({'controller':'CreateOrEditInteractionDialogController','controllerAs':'vm','templateUrl':'app/main/apps/fax/views/faxAccounts/edit/interactions/dialog.html','parent':angular[_0x477d('0x398')](_0x142e5a[_0x477d('0x399')]),'targetEvent':_0x3a14e5,'clickOutsideToClose':!![],'locals':{'faxAccount':_0x36c3ae[_0x477d('0xada')],'interaction':_0x462251,'interactions':_0x36c3ae['faxAccountInteractions']['rows'],'license':null,'setting':null,'crudPermissions':_0x36c3ae[_0x477d('0xd66')]}});}function _0x14d18f(_0x105509,_0x56ad37){_0x5ceb12[_0x477d('0x395')]({'controller':_0x477d('0x136c'),'controllerAs':'vm','templateUrl':_0x477d('0x1956'),'parent':angular[_0x477d('0x398')](_0x142e5a[_0x477d('0x399')]),'targetEvent':_0x105509,'clickOutsideToClose':!![],'onShowing':function(_0x5bc001,_0x3134bd){_0x5bc001['vm']['init']({'id':0x1,'channel':_0x477d('0x154'),'interaction':_0x56ad37,'spy':!![]},_0x5b6b61[_0x477d('0x723')]['vm'][_0x477d('0xc8e')]);}});}function _0x381ad3(_0xa475f8){_0x5d7eee[_0x477d('0xae8')][_0x477d('0xa55')]({'id':_0xa475f8['id']})[_0x477d('0x38b')]['then'](function(){_[_0x477d('0x39c')](_0x36c3ae[_0x477d('0x1955')][_0x477d('0xf2')],{'id':_0xa475f8['id']});_0x36c3ae[_0x477d('0x1955')][_0x477d('0x3bb')]-=0x1;if(!_0x36c3ae[_0x477d('0x1955')][_0x477d('0xf2')][_0x477d('0x79')]){_0x58a4f0();}_0x2e5b46[_0x477d('0x485')]({'title':_0x477d('0x136d'),'msg':_0xa475f8['name']?_0xa475f8[_0x477d('0x94')]+_0x477d('0xd7e'):''});})['catch'](function(_0x278400){if(_0x278400[_0x477d('0x451')]&&_0x278400[_0x477d('0x451')][_0x477d('0xd67')]&&_0x278400[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){vm[_0x477d('0xd67')]=_0x278400[_0x477d('0x451')]['errors']||[{'message':_0x278400['toString'](),'type':_0x477d('0x1944')}];for(var _0x3cf08a=0x0;_0x3cf08a<_0x278400['data'][_0x477d('0xd67')]['length'];_0x3cf08a++){_0x2e5b46[_0x477d('0x44a')]({'title':_0x278400[_0x477d('0x451')][_0x477d('0xd67')][_0x3cf08a][_0x477d('0x439')],'msg':_0x278400['data']['errors'][_0x3cf08a][_0x477d('0x452')]});}}else{_0x2e5b46[_0x477d('0x44a')]({'title':_0x278400[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x278400[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x278400[_0x477d('0x44d')]:_0x477d('0x1944'),'msg':_0x278400['data']?JSON[_0x477d('0x3fb')](_0x278400[_0x477d('0x451')][_0x477d('0x452')]):_0x278400['message']||_0x278400[_0x477d('0x453')]()});}});}function _0x51d9f8(){var _0x4536d3=angular[_0x477d('0x6d9')](_0x36c3ae[_0x477d('0x194e')]);_0x36c3ae[_0x477d('0x194e')]=[];return _0x4536d3;}function _0x5cb1c2(_0x9f4edd){var _0x429cea=_0x5ceb12[_0x477d('0xd78')]()['title'](_0x477d('0x136e'))[_0x477d('0xd92')](_0x477d('0xd93')+_0x36c3ae[_0x477d('0x194e')]['length']+_0x477d('0xda0')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x136f'))[_0x477d('0xd7c')](_0x9f4edd)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x5ceb12[_0x477d('0x395')](_0x429cea)[_0x477d('0x76')](function(){_0x36c3ae['selectedFaxAccountInteractions'][_0x477d('0x3b1')](function(_0x2e46e2){_0x381ad3(_0x2e46e2);});_0x36c3ae[_0x477d('0x194e')]=[];});}function _0x20bd0e(_0x4ec59c){if(_0x4ec59c[_0x477d('0x1370')]){_0x4ec59c[_0x477d('0x1371')]=(_0x4ec59c[_0x477d('0x1370')][_0x477d('0x1357')]||'')+'\x20'+(_0x4ec59c[_0x477d('0x1370')][_0x477d('0x1358')]||'');_0x4ec59c[_0x477d('0x1773')]=_0x4ec59c[_0x477d('0x1370')][_0x477d('0x154')];}else{_0x4ec59c['contactName']=_0x28833a[_0x477d('0x45f')](_0x477d('0x1372'));}}function _0x6f9829(_0x2ccbc1){if(_0x2ccbc1[_0x477d('0x125b')]){if(_0x2ccbc1[_0x477d('0x125b')]===_0x36c3ae[_0x477d('0x3e5')]['id']){return _0x28833a[_0x477d('0x45f')](_0x477d('0x1373'));}else{return _0x2ccbc1[_0x477d('0x1374')]['fullname']+'\x20<'+_0x2ccbc1[_0x477d('0x1374')][_0x477d('0x324')]+'>';}}return _0x28833a[_0x477d('0x45f')](_0x477d('0x1354'));}var _0x1b1ddb=!![];var _0xd4351e=0x1;_0x5b6b61[_0x477d('0x4b5')](_0x477d('0x12f3'),function(_0x4c7128,_0x20b8ca){if(_0x1b1ddb){_0x481843(function(){_0x1b1ddb=![];});}else{if(!_0x20b8ca){_0xd4351e=_0x36c3ae['query'][_0x477d('0xe03')];}if(_0x4c7128!==_0x20b8ca){_0x36c3ae[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0x4c7128){_0x36c3ae[_0x477d('0x3ef')][_0x477d('0xe03')]=_0xd4351e;}_0x58a4f0();}});}}());(function(){'use strict';_0x55c3d4[_0x477d('0xa')]=[_0x477d('0x3c4'),_0x477d('0xd64'),_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x40d'),_0x477d('0x613'),'setting',_0x477d('0x386'),_0x477d('0x40e'),'Auth',_0x477d('0xada'),_0x477d('0x3ac')];angular['module'](_0x477d('0x34'))['controller'](_0x477d('0x1957'),_0x55c3d4);function _0x55c3d4(_0x236d7f,_0x1d7425,_0x439ecb,_0x40ea44,_0xedcffa,_0x44b4fa,_0x17eea6,_0x5c18ef,_0x257eb6,_0x4313ca,_0x3ba432,_0x270143){var _0x4d5ccd=this;_0x4d5ccd[_0x477d('0x3e5')]=_0x4313ca[_0x477d('0x5c')]();_0x4d5ccd[_0x477d('0x613')]=_0x44b4fa;_0x4d5ccd[_0x477d('0xc8e')]=_0x17eea6;_0x4d5ccd[_0x477d('0xd69')]=_0x4d5ccd[_0x477d('0xc8e')][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x4d5ccd['location']=_0x1d7425[_0x477d('0x3ce')]()+_0x477d('0x1209')+_0x1d7425[_0x477d('0x3c9')]();_0x4d5ccd[_0x477d('0xada')]=_0x3ba432||_0x236d7f[_0x477d('0x37e')][_0x477d('0xada')]||{};_0x4d5ccd[_0x477d('0x3ac')]=_0x270143&&_0x270143[_0x477d('0x3bb')]==0x1?_0x270143[_0x477d('0xf2')][0x0]:null;_0x4d5ccd['crudPermissions']=_0x4313ca[_0x477d('0xd81')](_0x4d5ccd['userProfileSection']?_0x4d5ccd[_0x477d('0x3ac')][_0x477d('0xd66')]:null);_0x4d5ccd[_0x477d('0xd68')]={};_0x4d5ccd[_0x477d('0xe95')]=_0x236d7f['params'][_0x477d('0xe96')]||0x0;_0x4d5ccd[_0x477d('0x1443')]=_0x4cd987;_0x4d5ccd[_0x477d('0x1222')]=_0x1e18f5;_0x4d5ccd[_0x477d('0x120a')]=_0x257eb6[_0x477d('0x669')];_0x4d5ccd['gotoFaxAccounts']=_0x3cadb7;_0x4d5ccd[_0x477d('0x1907')]=_0x1a7d8e;_0x4313ca[_0x477d('0x56')]('admin')?_0x5c18ef['trunk']['get']({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x3e7561){_0x4d5ccd[_0x477d('0xf2e')]=_0x3e7561[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x5bec26){_0x257eb6['error']({'title':_0x5bec26[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x5bec26['status']+'\x20-\x20'+_0x5bec26[_0x477d('0x44d')]:_0x477d('0x1909'),'msg':_0x5bec26[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x5bec26[_0x477d('0x451')]):_0x5bec26[_0x477d('0x453')]()});}):_0x5c18ef[_0x477d('0xaa8')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x5d3ee5){_0x4d5ccd[_0x477d('0xf2e')]=_0x5d3ee5[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x5c18ef[_0x477d('0x3ac')]['get']({'userProfileId':_0x4d5ccd[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x3f3})[_0x477d('0x38b')];})['then'](function(_0x463ec5){var _0x1ceba0=_0x463ec5&&_0x463ec5[_0x477d('0xf2')]?_0x463ec5[_0x477d('0xf2')][0x0]:null;if(!_0x1ceba0){var _0x301a17=[];var _0x9e802c=null;if(_0x4d5ccd['faxAccount']){_0x9e802c=_[_0x477d('0x10a')](_0x4d5ccd[_0x477d('0xf2e')],{'id':Number(_0x4d5ccd[_0x477d('0xada')][_0x477d('0x190a')])});}for(var _0x35d059=0x0;_0x35d059<_0x4d5ccd[_0x477d('0xf2e')][_0x477d('0x79')];_0x35d059++){if(_0x9e802c&&_0x4d5ccd[_0x477d('0xf2e')][_0x35d059]['id']===_0x9e802c['id']){_0x4d5ccd[_0x477d('0xf2e')][_0x35d059][_0x477d('0xf8b')]=![];_0x301a17[_0x477d('0x3a7')](_0x4d5ccd[_0x477d('0xf2e')][_0x35d059]);}}_0x4d5ccd['trunks']=_0x301a17;}else{if(!_0x1ceba0['autoAssociation']){return _0x5c18ef[_0x477d('0x3ae')]['get']({'sectionId':_0x1ceba0['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x2d69b9){var _0x4db8fa=_[_0x477d('0x3cb')](_0x2d69b9['rows'],function(_0x17e4a5){return _['find'](_0x4d5ccd[_0x477d('0xf2e')],{'id':_0x17e4a5[_0x477d('0x3af')]});});var _0x179b70=null;if(_0x4d5ccd[_0x477d('0xada')]){_0x179b70=_[_0x477d('0x10a')](_0x4d5ccd[_0x477d('0xf2e')],{'id':Number(_0x4d5ccd[_0x477d('0xada')][_0x477d('0x190a')])});}if(_0x179b70&&!_[_0x477d('0x3ab')](_0x4db8fa,['id',_0x179b70['id']])){var _0x59f8b5=_[_0x477d('0x10a')](_0x4d5ccd[_0x477d('0xf2e')],{'id':_0x179b70['id']});_0x59f8b5[_0x477d('0xf8b')]=![];_0x4db8fa[_0x477d('0x3a7')](_0x59f8b5);}_0x4d5ccd[_0x477d('0xf2e')]=_0x4db8fa;});}}})[_0x477d('0xf8')](function(_0x17aa53){_0x257eb6[_0x477d('0x44a')]({'title':_0x17aa53[_0x477d('0x3c3')]?'API:'+_0x17aa53['status']+_0x477d('0x44c')+_0x17aa53['statusText']:_0x477d('0x190b'),'msg':_0x17aa53[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x17aa53[_0x477d('0x451')]):_0x17aa53[_0x477d('0x453')]()});});_0x4313ca[_0x477d('0x56')](_0x477d('0x5f'))?_0x5c18ef['cmList'][_0x477d('0x376')]({'fields':'id,name','sort':_0x477d('0x94')})['$promise'][_0x477d('0x76')](function(_0x232b16){_0x4d5ccd[_0x477d('0xf1')]=_0x232b16[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x233d80){_0x257eb6[_0x477d('0x44a')]({'title':_0x233d80[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x233d80[_0x477d('0x3c3')]+'\x20-\x20'+_0x233d80['statusText']:_0x477d('0x1228'),'msg':_0x233d80['data']?JSON[_0x477d('0x3fb')](_0x233d80['data']):_0x233d80['toString']()});}):_0x5c18ef[_0x477d('0xe3f')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0xd723ef){_0x4d5ccd[_0x477d('0xf1')]=_0xd723ef[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x5c18ef['userProfileSection']['get']({'userProfileId':_0x4d5ccd[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x12d})['$promise'];})['then'](function(_0x39e0bb){var _0x368bda=_0x39e0bb&&_0x39e0bb[_0x477d('0xf2')]?_0x39e0bb['rows'][0x0]:null;if(!_0x368bda){var _0x55fdb5=[];var _0x5ef75e=null;if(_0x4d5ccd[_0x477d('0xada')]){_0x5ef75e=_[_0x477d('0x10a')](_0x4d5ccd[_0x477d('0xf1')],{'id':Number(_0x4d5ccd[_0x477d('0xada')]['ListId'])});}for(var _0x12f8df=0x0;_0x12f8df<_0x4d5ccd['lists'][_0x477d('0x79')];_0x12f8df++){if(_0x5ef75e&&_0x4d5ccd[_0x477d('0xf1')][_0x12f8df]['id']===_0x5ef75e['id']){_0x4d5ccd[_0x477d('0xf1')][_0x12f8df]['canSelect']=![];_0x55fdb5[_0x477d('0x3a7')](_0x4d5ccd['lists'][_0x12f8df]);}}_0x4d5ccd[_0x477d('0xf1')]=_0x55fdb5;}else{if(!_0x368bda['autoAssociation']){return _0x5c18ef[_0x477d('0x3ae')]['get']({'sectionId':_0x368bda['id']})[_0x477d('0x38b')]['then'](function(_0x3d6aba){var _0xb10f87=_[_0x477d('0x3cb')](_0x3d6aba[_0x477d('0xf2')],function(_0xa0f07c){return _['find'](_0x4d5ccd[_0x477d('0xf1')],{'id':_0xa0f07c[_0x477d('0x3af')]});});var _0x30fc82=null;if(_0x4d5ccd[_0x477d('0xada')]){_0x30fc82=_[_0x477d('0x10a')](_0x4d5ccd['lists'],{'id':Number(_0x4d5ccd[_0x477d('0xada')][_0x477d('0x1229')])});}if(_0x30fc82&&!_[_0x477d('0x3ab')](_0xb10f87,['id',_0x30fc82['id']])){var _0x14dcb3=_[_0x477d('0x10a')](_0x4d5ccd[_0x477d('0xf1')],{'id':_0x30fc82['id']});_0x14dcb3[_0x477d('0xf8b')]=![];_0xb10f87['push'](_0x14dcb3);}_0x4d5ccd[_0x477d('0xf1')]=_0xb10f87;});}}})[_0x477d('0xf8')](function(_0x40cc6a){_0x257eb6['error']({'title':_0x40cc6a[_0x477d('0x3c3')]?'API:'+_0x40cc6a['status']+_0x477d('0x44c')+_0x40cc6a[_0x477d('0x44d')]:_0x477d('0x122a'),'msg':_0x40cc6a[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x40cc6a[_0x477d('0x451')]):_0x40cc6a[_0x477d('0x453')]()});});_0x4313ca['hasRole'](_0x477d('0x5f'))?_0x5c18ef[_0x477d('0x657')][_0x477d('0x376')]({'fields':_0x477d('0x13b2'),'sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0xf15fcf){_0x4d5ccd[_0x477d('0xf39')]=_0xf15fcf[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x33b3db){_0x257eb6[_0x477d('0x44a')]({'title':_0x33b3db[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x33b3db[_0x477d('0x3c3')]+'\x20-\x20'+_0x33b3db['statusText']:_0x477d('0x13b3'),'msg':_0x33b3db[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x33b3db['data']):_0x33b3db['toString']()});}):_0x5c18ef[_0x477d('0x657')][_0x477d('0x376')]({'fields':_0x477d('0x13b2'),'sort':_0x477d('0x94'),'nolimit':'true'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x268046){_0x4d5ccd[_0x477d('0xf39')]=_0x268046[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x5c18ef['userProfileSection'][_0x477d('0x376')]({'userProfileId':_0x4d5ccd[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x3ed})[_0x477d('0x38b')];})['then'](function(_0x271cf2){var _0x399bd0=_0x271cf2&&_0x271cf2['rows']?_0x271cf2['rows'][0x0]:null;if(!_0x399bd0){_0x4d5ccd[_0x477d('0xf39')]=[];}else{if(!_0x399bd0[_0x477d('0x3ad')]){return _0x5c18ef[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x399bd0['id']})['$promise'][_0x477d('0x76')](function(_0x17bc6e){var _0x3c12ff=_['map'](_0x17bc6e['rows'],function(_0x5e363d){return _['find'](_0x4d5ccd[_0x477d('0xf39')],{'id':_0x5e363d[_0x477d('0x3af')]});});_0x4d5ccd[_0x477d('0xf39')]['forEach'](function(_0x18e2b8){if(!_['some'](_0x3c12ff,['id',_0x18e2b8['id']])){_0x18e2b8[_0x477d('0xf8b')]=![];}_0x3c12ff[_0x477d('0x3a7')](_0x18e2b8);});_0x4d5ccd[_0x477d('0xf39')]=_0x3c12ff;});}}})[_0x477d('0xf8')](function(_0x5752c4){_0x257eb6[_0x477d('0x44a')]({'title':_0x5752c4[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x5752c4['status']+'\x20-\x20'+_0x5752c4[_0x477d('0x44d')]:_0x477d('0x1958'),'msg':_0x5752c4[_0x477d('0x451')]?JSON['stringify'](_0x5752c4[_0x477d('0x451')]):_0x5752c4[_0x477d('0x453')]()});});function _0x4cd987(_0x19fd59,_0x375b51){if(_0x4313ca[_0x477d('0x56')]('admin')){_0x236d7f['go'](_0x477d('0x168'),{});}else{return _0x5c18ef[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x4313ca['getCurrentUser']()['userProfileId'],'sectionId':0x38e})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x57158d){var _0xc9e2f2=_0x57158d&&_0x57158d[_0x477d('0xf2')]?_0x57158d['rows'][0x0]:null;if(_0xc9e2f2&&_0xc9e2f2['enabled']){_0x236d7f['go'](_0x477d('0x168'),{});}else{_0x257eb6[_0x477d('0x669')]({'title':_0xedcffa[_0x477d('0x45f')]('STAFF.PERMISSIONS_UNAUTHORIZED_REDIRECT_TITLE'),'msg':_0xedcffa[_0x477d('0x45f')]('STAFF.PERMISSIONS_UNAUTHORIZED_REDIRECT_MESSAGE')});}})[_0x477d('0xf8')](function(_0xa6a591){_0x257eb6['error']({'title':_0xa6a591[_0x477d('0x3c3')]?_0x477d('0x44b')+_0xa6a591[_0x477d('0x3c3')]+_0x477d('0x44c')+_0xa6a591[_0x477d('0x44d')]:_0x477d('0x11df'),'msg':_0xa6a591[_0x477d('0x3c3')]?JSON[_0x477d('0x3fb')](_0xa6a591['data']):_0xa6a591[_0x477d('0x453')]()});});}}function _0x1e18f5(_0x184c51,_0x4ce51d){_0x439ecb[_0x477d('0x395')]({'controller':_0x477d('0x1925'),'controllerAs':'vm','templateUrl':_0x477d('0x1959'),'parent':angular[_0x477d('0x398')](_0x40ea44[_0x477d('0x399')]),'targetEvent':_0x4ce51d,'clickOutsideToClose':!![],'locals':{'faxAccount':_0x184c51,'faxAccounts':_0x4d5ccd[_0x477d('0x160c')]?_0x4d5ccd[_0x477d('0x160c')][_0x477d('0xf2')]:[],'crudPermissions':_0x4d5ccd[_0x477d('0xd66')],'realtime':![]}});}function _0x3cadb7(){_0x236d7f['go'](_0x477d('0x195a'),{},{'reload':_0x477d('0x195a')});}function _0x1a7d8e(){_0x5c18ef[_0x477d('0xada')][_0x477d('0x190f')](_0x4d5ccd[_0x477d('0xada')])[_0x477d('0x38b')][_0x477d('0x76')](function(){_0x257eb6[_0x477d('0x485')]({'title':_0x477d('0x195b'),'msg':_0x4d5ccd[_0x477d('0xada')][_0x477d('0x94')]?_0x4d5ccd[_0x477d('0xada')]['name']+_0x477d('0xed7'):''});})['catch'](function(_0x48e70c){_0x257eb6['error']({'title':_0x48e70c[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x48e70c[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x48e70c['statusText']:'SYSTEM:GETfaxAccount','msg':_0x48e70c['data']?JSON[_0x477d('0x3fb')](_0x48e70c['data']):_0x48e70c[_0x477d('0x453')]()});});}}}());(function(){'use strict';_0x1066fc[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x387'),_0x477d('0x3c4'),'$mdSidenav',_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x3fe'),'$translate',_0x477d('0x160c'),_0x477d('0x3a5'),_0x477d('0x3ac'),_0x477d('0x386'),'msUtils',_0x477d('0x40e'),_0x477d('0x55'),_0x477d('0x613'),_0x477d('0xc8e')];angular[_0x477d('0xb')](_0x477d('0x34'))['controller'](_0x477d('0x195c'),_0x1066fc);function _0x1066fc(_0x52e60c,_0x54f821,_0x4e55a7,_0x5dee3c,_0x56eee4,_0x21d3d2,_0x36e6ad,_0x46e5d3,_0x381a5a,_0x548736,_0xed2a1d,_0x31dd70,_0x480c85,_0x3b24e6,_0x200f0a,_0x580149,_0x1a00ca){var _0x571f2a=this;_0x571f2a[_0x477d('0x613')]=_0x580149;_0x571f2a[_0x477d('0xc8e')]=_0x1a00ca;_0x571f2a[_0x477d('0x3e5')]=_0x200f0a[_0x477d('0x5c')]();_0x571f2a[_0x477d('0x160c')]=_0x381a5a||{'count':0x0,'rows':[]};_0x571f2a['userProfile']=_0x548736;_0x571f2a['userProfileSection']=_0xed2a1d&&_0xed2a1d[_0x477d('0x3bb')]==0x1?_0xed2a1d['rows'][0x0]:null;_0x571f2a['crudPermissions']=_0x200f0a[_0x477d('0xd81')](_0x571f2a[_0x477d('0x3ac')]?_0x571f2a[_0x477d('0x3ac')]['crudPermissions']:null);_0x571f2a[_0x477d('0xd82')]=_0x477d('0x160c');_0x571f2a[_0x477d('0xd83')]='';_0x571f2a[_0x477d('0xd84')]=null;_0x571f2a[_0x477d('0x195d')]=[];_0x571f2a[_0x477d('0x3ef')]={'fields':'createdAt,updatedAt,id,name,key,headerinfo,TrunkId,localstationid,ListId,waitForTheAssignedAgent,mandatoryDisposition,mandatoryDispositionPauseId,description,ecm,minrate,maxrate,modem,gateway,faxdetect,t38timeout,tech,notificationSound,notificationShake,notificationTemplate,queueTransfer,queueTransferTimeout,agentTransfer,agentTransferTimeout','sort':_0x477d('0x59'),'limit':0xa,'page':0x1};_0x571f2a[_0x477d('0x195e')]=_['keyBy']([{'option':_0x477d('0xf6b'),'value':'\x27yes\x27'},{'option':'no','value':'\x27no\x27'}],function(_0x296f81){return _[_0x477d('0x409')](_0x296f81[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x571f2a['arrayminrate']=_['keyBy']([{'option':_0x477d('0x195f'),'value':_0x477d('0x1960')},{'option':_0x477d('0x1961'),'value':_0x477d('0x1962')},{'option':_0x477d('0x1963'),'value':_0x477d('0x1964')},{'option':'9600','value':_0x477d('0x1965')},{'option':_0x477d('0x1966'),'value':'\x2712000\x27'},{'option':_0x477d('0x1967'),'value':_0x477d('0x1968')}],function(_0x10b69b){return _[_0x477d('0x409')](_0x10b69b[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x571f2a['arraymaxrate']=_[_0x477d('0xdb5')]([{'option':_0x477d('0x195f'),'value':'\x272400\x27'},{'option':_0x477d('0x1961'),'value':'\x274800\x27'},{'option':'7200','value':_0x477d('0x1964')},{'option':_0x477d('0x1969'),'value':_0x477d('0x1965')},{'option':'12000','value':_0x477d('0x196a')},{'option':'14400','value':_0x477d('0x1968')}],function(_0x817ec0){return _['replace'](_0x817ec0[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x571f2a['arraytech']=_[_0x477d('0xdb5')]([{'option':'SIP','value':_0x477d('0x196b')},{'option':_0x477d('0x196c'),'value':_0x477d('0x196d')},{'option':_0x477d('0x196e'),'value':_0x477d('0x196f')},{'option':'KHOMP','value':_0x477d('0x1970')}],function(_0xce604a){return _[_0x477d('0x409')](_0xce604a[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x571f2a[_0x477d('0xea6')]=_0x237a5f;_0x571f2a[_0x477d('0x1971')]=_0x37df1d;_0x571f2a[_0x477d('0x11d5')]=_0x55ad87;_0x571f2a['agentadddialog']=_0x2cae9a;_0x571f2a[_0x477d('0xd88')]=_0x5f100e;_0x571f2a[_0x477d('0x485')]=_0x50aba6;_0x571f2a[_0x477d('0x1628')]=_0x4804f9;_0x571f2a[_0x477d('0x1972')]=_0x554002;_0x571f2a[_0x477d('0x1908')]=_0x5e96d4;_0x571f2a[_0x477d('0x1973')]=_0x1012f9;_0x571f2a[_0x477d('0x1974')]=_0x53a834;_0x571f2a[_0x477d('0x1975')]=_0x1e0a7d;_0x571f2a['selectAllFaxAccounts']=_0x5f1146;_0x200f0a[_0x477d('0x56')](_0x477d('0x5f'))?_0x31dd70[_0x477d('0xaa8')][_0x477d('0x376')]({'fields':'id,name','sort':_0x477d('0x94')})[_0x477d('0x38b')]['then'](function(_0x589109){_0x571f2a[_0x477d('0xf2e')]=_0x589109[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x56aef7){_0x3b24e6[_0x477d('0x44a')]({'title':_0x56aef7[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x56aef7['status']+_0x477d('0x44c')+_0x56aef7[_0x477d('0x44d')]:'SYSTEM:GET_TRUNKS','msg':_0x56aef7[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x56aef7[_0x477d('0x451')]):_0x56aef7[_0x477d('0x453')]()});}):_0x31dd70['trunk'][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94')})['$promise'][_0x477d('0x76')](function(_0x50a233){_0x571f2a['trunks']=_0x50a233[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x31dd70[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x571f2a[_0x477d('0x3e5')]['userProfileId'],'sectionId':0x3f3})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x3df53c){var _0x4896be=_0x3df53c&&_0x3df53c[_0x477d('0xf2')]?_0x3df53c['rows'][0x0]:null;if(!_0x4896be){var _0x31a373=[];var _0x3e0b5=[];_0x571f2a[_0x477d('0x160c')]['rows']['forEach'](function(_0x3e3e3c){var _0x1d0400=_[_0x477d('0x10a')](_0x571f2a[_0x477d('0xf2e')],{'id':Number(_0x3e3e3c[_0x477d('0x190a')])});_0x3e0b5[_0x477d('0x3a7')](_0x1d0400);});for(var _0x5de2cf=0x0;_0x5de2cf<_0x571f2a[_0x477d('0xf2e')]['length'];_0x5de2cf++){var _0x349920=_[_0x477d('0x3ab')](_0x3e0b5,{'id':_0x571f2a['trunks'][_0x5de2cf]['id']});if(_0x349920){_0x571f2a['trunks'][_0x5de2cf][_0x477d('0xf8b')]=![];_0x31a373['push'](_0x571f2a['trunks'][_0x5de2cf]);}}_0x571f2a[_0x477d('0xf2e')]=_0x31a373;}else{if(!_0x4896be[_0x477d('0x3ad')]){return _0x31dd70[_0x477d('0x3ae')]['get']({'sectionId':_0x4896be['id']})['$promise']['then'](function(_0x3c4977){var _0x56756a=_['map'](_0x3c4977[_0x477d('0xf2')],function(_0x179548){return _[_0x477d('0x10a')](_0x571f2a[_0x477d('0xf2e')],{'id':_0x179548[_0x477d('0x3af')]});});var _0x525ac0=null;_0x525ac0=[];_0x571f2a['faxAccounts'][_0x477d('0xf2')][_0x477d('0x3b1')](function(_0x5abf66){var _0x5e6e21=_[_0x477d('0x10a')](_0x571f2a['trunks'],{'id':Number(_0x5abf66[_0x477d('0x190a')])});_0x525ac0[_0x477d('0x3a7')](_0x5e6e21);});if(!_[_0x477d('0x3b2')](_0x525ac0)){_0x525ac0[_0x477d('0x3b1')](function(_0x44b451){if(!_['some'](_0x56756a,['id',_0x44b451['id']])){var _0x311bd2=_[_0x477d('0x10a')](_0x571f2a[_0x477d('0xf2e')],{'id':_0x44b451['id']});_0x311bd2[_0x477d('0xf8b')]=![];_0x56756a['push'](_0x311bd2);}});}_0x571f2a[_0x477d('0xf2e')]=_0x56756a;});}}})['catch'](function(_0x253d35){_0x3b24e6[_0x477d('0x44a')]({'title':_0x253d35[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x253d35['status']+_0x477d('0x44c')+_0x253d35[_0x477d('0x44d')]:_0x477d('0x190b'),'msg':_0x253d35[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x253d35[_0x477d('0x451')]):_0x253d35[_0x477d('0x453')]()});});_0x200f0a[_0x477d('0x56')](_0x477d('0x5f'))?_0x31dd70['cmList'][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x233372){_0x571f2a[_0x477d('0xf1')]=_0x233372[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0xf4cfbd){_0x3b24e6['error']({'title':_0xf4cfbd[_0x477d('0x3c3')]?_0x477d('0x44b')+_0xf4cfbd[_0x477d('0x3c3')]+'\x20-\x20'+_0xf4cfbd[_0x477d('0x44d')]:_0x477d('0x1228'),'msg':_0xf4cfbd[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0xf4cfbd[_0x477d('0x451')]):_0xf4cfbd[_0x477d('0x453')]()});}):_0x31dd70[_0x477d('0xe3f')][_0x477d('0x376')]({'fields':'id,name','sort':_0x477d('0x94')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x27a717){_0x571f2a[_0x477d('0xf1')]=_0x27a717['rows']||[];})[_0x477d('0x76')](function(){return _0x31dd70['userProfileSection'][_0x477d('0x376')]({'userProfileId':_0x571f2a[_0x477d('0x3e5')]['userProfileId'],'sectionId':0x12d})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x1d1905){var _0x593d30=_0x1d1905&&_0x1d1905[_0x477d('0xf2')]?_0x1d1905[_0x477d('0xf2')][0x0]:null;if(!_0x593d30){var _0x30490=[];var _0x386026=null;if(_0x571f2a[_0x477d('0xada')]){_0x386026=_[_0x477d('0x10a')](_0x571f2a[_0x477d('0xf1')],{'id':Number(_0x571f2a[_0x477d('0xada')][_0x477d('0x1229')])});}for(var _0x3b1c48=0x0;_0x3b1c48<_0x571f2a[_0x477d('0xf1')][_0x477d('0x79')];_0x3b1c48++){if(_0x386026&&_0x571f2a[_0x477d('0xf1')][_0x3b1c48]['id']===_0x386026['id']){_0x571f2a[_0x477d('0xf1')][_0x3b1c48]['canSelect']=![];_0x30490['push'](_0x571f2a['lists'][_0x3b1c48]);}}_0x571f2a[_0x477d('0xf1')]=_0x30490;}else{if(!_0x593d30[_0x477d('0x3ad')]){return _0x31dd70[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x593d30['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x38ea59){var _0xf35a88=_['map'](_0x38ea59['rows'],function(_0x444279){return _[_0x477d('0x10a')](_0x571f2a['lists'],{'id':_0x444279[_0x477d('0x3af')]});});var _0x3e6a60=null;if(_0x571f2a[_0x477d('0xada')]){_0x3e6a60=_['find'](_0x571f2a['lists'],{'id':Number(_0x571f2a['faxAccount'][_0x477d('0x1229')])});}if(_0x3e6a60&&!_['some'](_0xf35a88,['id',_0x3e6a60['id']])){var _0x46b111=_[_0x477d('0x10a')](_0x571f2a['lists'],{'id':_0x3e6a60['id']});_0x46b111[_0x477d('0xf8b')]=![];_0xf35a88[_0x477d('0x3a7')](_0x46b111);}_0x571f2a['lists']=_0xf35a88;});}}})[_0x477d('0xf8')](function(_0xf1fb1b){_0x3b24e6[_0x477d('0x44a')]({'title':_0xf1fb1b[_0x477d('0x3c3')]?_0x477d('0x44b')+_0xf1fb1b[_0x477d('0x3c3')]+'\x20-\x20'+_0xf1fb1b['statusText']:_0x477d('0x122a'),'msg':_0xf1fb1b[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0xf1fb1b[_0x477d('0x451')]):_0xf1fb1b[_0x477d('0x453')]()});});function _0x237a5f(_0x2fdd94,_0x2d1e7f){_0x4e55a7['go'](_0x477d('0x15b'),{'id':_0x2fdd94['id'],'faxAccount':_0x2fdd94,'crudPermissions':_0x571f2a[_0x477d('0xd66')]});}function _0x37df1d(_0x36f2cc,_0x511aba){_0x4e55a7['go'](_0x477d('0x15b'),{'id':_0x36f2cc['id'],'tab':0x5});}function _0x55ad87(_0x25d637,_0x5a492f){if(_0x200f0a['hasRole'](_0x477d('0x5f'))){_0x4e55a7['go'](_0x477d('0x168'),{});}else{return _0x31dd70[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x200f0a[_0x477d('0x5c')]()['userProfileId'],'sectionId':0x38e})['$promise'][_0x477d('0x76')](function(_0x37640c){var _0x3a9711=_0x37640c&&_0x37640c[_0x477d('0xf2')]?_0x37640c[_0x477d('0xf2')][0x0]:null;if(_0x3a9711&&_0x3a9711[_0x477d('0x3b4')]){_0x4e55a7['go']('app.fax.realtime.accounts',{});}else{_0x3b24e6[_0x477d('0x669')]({'title':_0x46e5d3[_0x477d('0x45f')](_0x477d('0x119d')),'msg':_0x46e5d3[_0x477d('0x45f')](_0x477d('0x142f'))});}})[_0x477d('0xf8')](function(_0x2d7c74){_0x3b24e6['error']({'title':_0x2d7c74[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x2d7c74[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x2d7c74[_0x477d('0x44d')]:_0x477d('0x11df'),'msg':_0x2d7c74[_0x477d('0x3c3')]?JSON[_0x477d('0x3fb')](_0x2d7c74[_0x477d('0x451')]):_0x2d7c74[_0x477d('0x453')]()});});}}function _0x2cae9a(_0x57c3a3,_0x1d8882){_0x56eee4[_0x477d('0x395')]({'controller':_0x477d('0x1925'),'controllerAs':'vm','templateUrl':_0x477d('0x1959'),'parent':angular[_0x477d('0x398')](_0x21d3d2[_0x477d('0x399')]),'targetEvent':_0x1d8882,'clickOutsideToClose':!![],'locals':{'faxAccount':_0x57c3a3,'faxAccounts':_0x571f2a[_0x477d('0x160c')]?_0x571f2a[_0x477d('0x160c')][_0x477d('0xf2')]:[],'crudPermissions':_0x571f2a[_0x477d('0xd66')],'realtime':![]}});}function _0x5f100e(_0x952bda,_0x4b7364){var _0x5331cb=_0x56eee4[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xd90')+_[_0x477d('0xd91')](_0x477d('0xada'))+'?')[_0x477d('0xd92')](_0x477d('0xd93')+(_0x952bda['name']||_0x477d('0xada'))+_0x477d('0xd94')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x1976'))[_0x477d('0xd7c')](_0x4b7364)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x56eee4[_0x477d('0x395')](_0x5331cb)[_0x477d('0x76')](function(){_0x5e96d4(_0x952bda);},function(){console[_0x477d('0x7b')](_0x477d('0xd97'));});}var _0x202fbc=!![];var _0x3218c9=0x1;_0x52e60c['$watch'](_0x477d('0xd98'),function(_0x2874bf,_0x58bbf4){if(_0x202fbc){_0x36e6ad(function(){_0x202fbc=![];});}else{if(!_0x58bbf4){_0x3218c9=_0x571f2a[_0x477d('0x3ef')]['page'];}if(_0x2874bf!==_0x58bbf4){_0x571f2a[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0x2874bf){_0x571f2a[_0x477d('0x3ef')][_0x477d('0xe03')]=_0x3218c9;}_0x571f2a[_0x477d('0x1628')]();}});function _0x50aba6(_0x313106){_0x571f2a[_0x477d('0x160c')]=_0x313106||{'count':0x0,'rows':[]};}function _0x4804f9(){_0x571f2a[_0x477d('0x3ef')]['offset']=(_0x571f2a[_0x477d('0x3ef')]['page']-0x1)*_0x571f2a[_0x477d('0x3ef')]['limit'];if(_0x200f0a['hasRole'](_0x477d('0x5f'))){_0x571f2a[_0x477d('0x553')]=_0x31dd70['faxAccount']['get'](_0x571f2a['query'],_0x50aba6)['$promise'];}else{_0x571f2a[_0x477d('0x3ef')]['id']=_0x571f2a[_0x477d('0x3a5')]['id'];_0x571f2a['query'][_0x477d('0xd99')]=_0x477d('0x149');_0x571f2a['promise']=_0x31dd70[_0x477d('0x3a5')][_0x477d('0xd9a')](_0x571f2a[_0x477d('0x3ef')],_0x50aba6)[_0x477d('0x38b')];}}function _0x554002(_0x35a7f2,_0x1cc583){_0x56eee4[_0x477d('0x395')]({'controller':'CreateOrEditFaxAccountDialogController','controllerAs':'vm','templateUrl':_0x477d('0x1977'),'parent':angular['element'](_0x21d3d2[_0x477d('0x399')]),'targetEvent':_0x35a7f2,'clickOutsideToClose':!![],'locals':{'faxAccount':_0x1cc583,'faxAccounts':_0x571f2a[_0x477d('0x160c')][_0x477d('0xf2')],'license':_0x571f2a[_0x477d('0x613')],'setting':_0x571f2a[_0x477d('0xc8e')],'crudPermissions':_0x571f2a[_0x477d('0xd66')]}});}function _0x5e96d4(_0x57f168){_0x31dd70['faxAccount']['delete']({'id':_0x57f168['id']})['$promise']['then'](function(){_[_0x477d('0x39c')](_0x571f2a['faxAccounts'][_0x477d('0xf2')],{'id':_0x57f168['id']});_0x571f2a[_0x477d('0x160c')][_0x477d('0x3bb')]-=0x1;if(!_0x571f2a['faxAccounts'][_0x477d('0xf2')][_0x477d('0x79')]){_0x571f2a[_0x477d('0x1628')]();}_0x3b24e6[_0x477d('0x485')]({'title':_[_0x477d('0xd91')](_0x477d('0x1978'))+'\x20deleted!','msg':_0x57f168[_0x477d('0x94')]?_0x57f168[_0x477d('0x94')]+_0x477d('0xd7e'):''});})['catch'](function(_0x3091bc){if(_0x3091bc[_0x477d('0x451')]&&_0x3091bc[_0x477d('0x451')][_0x477d('0xd67')]&&_0x3091bc[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x571f2a[_0x477d('0xd67')]=_0x3091bc[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x3091bc[_0x477d('0x453')](),'type':_0x477d('0x1979')}];for(var _0x5150b3=0x0;_0x5150b3<_0x3091bc['data']['errors'][_0x477d('0x79')];_0x5150b3++){_0x3b24e6[_0x477d('0x44a')]({'title':_0x3091bc['data'][_0x477d('0xd67')][_0x5150b3][_0x477d('0x439')],'msg':_0x3091bc[_0x477d('0x451')][_0x477d('0xd67')][_0x5150b3]['message']});}}else{_0x3b24e6['error']({'title':_0x3091bc[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x3091bc[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x3091bc[_0x477d('0x44d')]:_0x477d('0x1979'),'msg':_0x3091bc['data']?JSON[_0x477d('0x3fb')](_0x3091bc[_0x477d('0x451')][_0x477d('0x452')]):_0x3091bc['message']||_0x3091bc['toString']()});}});}function _0x1012f9(){var _0x3d3a46=angular[_0x477d('0x6d9')](_0x571f2a[_0x477d('0x195d')]);_0x571f2a[_0x477d('0x195d')]=[];return _0x3d3a46;}function _0x53a834(_0x5b8553){var _0x4e9e1a=_0x56eee4[_0x477d('0xd78')]()[_0x477d('0x49a')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20faxAccounts?')[_0x477d('0xd92')](_0x477d('0xd93')+_0x571f2a[_0x477d('0x195d')][_0x477d('0x79')]+'\x20selected'+_0x477d('0xd95'))['ariaLabel']('delete\x20FaxAccounts')['targetEvent'](_0x5b8553)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x56eee4[_0x477d('0x395')](_0x4e9e1a)['then'](function(){_0x571f2a[_0x477d('0x195d')][_0x477d('0x3b1')](function(_0x20bf93){_0x5e96d4(_0x20bf93);});_0x571f2a[_0x477d('0x195d')]=[];});}function _0x1e0a7d(){_0x571f2a[_0x477d('0x195d')]=[];}function _0x5f1146(){_0x571f2a[_0x477d('0x195d')]=_0x571f2a[_0x477d('0x160c')][_0x477d('0xf2')];}}}());(function(){'use strict';_0x514fe3[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x3c4'),_0x477d('0xd64'),_0x477d('0x384'),'$q',_0x477d('0x40d'),'toasty',_0x477d('0x16d9'),'faxQueue','api',_0x477d('0x55'),_0x477d('0x613'),'setting',_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x34'))['controller'](_0x477d('0x197a'),_0x514fe3);function _0x514fe3(_0x2ca416,_0x296c60,_0x94ead0,_0x48ee4a,_0x4ff31e,_0x158ab5,_0x1e5681,_0x42c6f0,_0x4e9e5b,_0x3661c5,_0x3fcc43,_0x59ee43,_0x17309f,_0x25bbff){var _0x305aa8=this;_0x305aa8[_0x477d('0x3e5')]=_0x3fcc43[_0x477d('0x5c')]();_0x305aa8[_0x477d('0xd67')]=[];_0x305aa8[_0x477d('0xc8e')]=_0x17309f;_0x305aa8[_0x477d('0x613')]=_0x59ee43;_0x305aa8[_0x477d('0xd66')]=_0x25bbff;_0x305aa8[_0x477d('0xd68')]={};_0x305aa8[_0x477d('0xd69')]=_0x305aa8[_0x477d('0xc8e')]&&_0x305aa8[_0x477d('0xc8e')][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x305aa8[_0x477d('0x49a')]='FAX.EDIT_FAXQUEUE';_0x305aa8[_0x477d('0xe48')]=angular['copy'](_0x4e9e5b);_0x305aa8['faxQueues']=_0x42c6f0;_0x305aa8['newFaxQueue']=![];if(!_0x305aa8['faxQueue']){_0x305aa8['faxQueue']={'strategy':_0x477d('0x11e7'),'timeout':0xa};_0x305aa8[_0x477d('0x49a')]=_0x477d('0x197b');_0x305aa8[_0x477d('0x197c')]=!![];}_0x305aa8[_0x477d('0x197d')]=_0x4a69b6;_0x305aa8['saveFaxQueue']=_0x1bd796;_0x305aa8['deleteFaxQueue']=_0x26f1c4;_0x305aa8['getDateFromString']=_0x1cbbc8;_0x305aa8[_0x477d('0x6bf')]=_0x51f8db;function _0x4a69b6(){_0x305aa8[_0x477d('0xd67')]=[];_0x3661c5['faxQueue'][_0x477d('0xd70')](_0x305aa8[_0x477d('0xe48')])[_0x477d('0x38b')]['then'](function(_0x44fa75){_0x305aa8[_0x477d('0x16d9')][_0x477d('0x63b')](_0x44fa75[_0x477d('0xd71')]());_0x1e5681['success']({'title':_0x477d('0x197e'),'msg':_0x305aa8[_0x477d('0xe48')]['name']?_0x305aa8[_0x477d('0xe48')]['name']+'\x20has\x20been\x20created!':''});_0x51f8db(_0x44fa75);})[_0x477d('0xf8')](function(_0xd0b414){if(_0xd0b414[_0x477d('0x451')]&&_0xd0b414['data']['errors']&&_0xd0b414[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x305aa8['errors']=_0xd0b414[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0xd0b414[_0x477d('0x453')](),'type':_0x477d('0x197f')}];for(var _0x535813=0x0;_0x535813<_0xd0b414[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x535813+=0x1){_0x1e5681['error']({'title':_0xd0b414['data'][_0x477d('0xd67')][_0x535813]['type'],'msg':_0xd0b414[_0x477d('0x451')][_0x477d('0xd67')][_0x535813][_0x477d('0x452')]});}}else{_0x1e5681[_0x477d('0x44a')]({'title':_0xd0b414[_0x477d('0x3c3')]?_0x477d('0x44b')+_0xd0b414['status']+_0x477d('0x44c')+_0xd0b414[_0x477d('0x44d')]:_0x477d('0x197f'),'msg':_0xd0b414[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0xd0b414['data'][_0x477d('0x452')]):_0xd0b414['toString']()});}});}function _0x1bd796(){_0x305aa8[_0x477d('0xd67')]=[];_0x3661c5[_0x477d('0xe48')]['update']({'id':_0x305aa8[_0x477d('0xe48')]['id']},_0x305aa8[_0x477d('0xe48')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x943132){var _0x10b582=_[_0x477d('0x10a')](_0x305aa8['faxQueues'],{'id':_0x943132['id']});if(_0x10b582){_[_0x477d('0xef')](_0x10b582,_[_0x477d('0x10b')](_0x943132[_0x477d('0xd71')](),_[_0x477d('0x7f')](_0x10b582)));}_0x1e5681[_0x477d('0x485')]({'title':_0x477d('0x1980'),'msg':_0x305aa8['faxQueue'][_0x477d('0x94')]?_0x305aa8[_0x477d('0xe48')][_0x477d('0x94')]+'\x20has\x20been\x20saved!':''});_0x51f8db(_0x943132);})['catch'](function(_0x48cca8){if(_0x48cca8[_0x477d('0x451')]&&_0x48cca8['data'][_0x477d('0xd67')]&&_0x48cca8[_0x477d('0x451')]['errors'][_0x477d('0x79')]){_0x305aa8[_0x477d('0xd67')]=_0x48cca8['data']['errors']||[{'message':_0x48cca8[_0x477d('0x453')](),'type':_0x477d('0x1981')}];for(var _0x56865a=0x0;_0x56865a<_0x48cca8['data'][_0x477d('0xd67')][_0x477d('0x79')];_0x56865a++){_0x1e5681[_0x477d('0x44a')]({'title':_0x48cca8[_0x477d('0x451')]['errors'][_0x56865a]['type'],'msg':_0x48cca8[_0x477d('0x451')]['errors'][_0x56865a][_0x477d('0x452')]});}}else{_0x1e5681['error']({'title':_0x48cca8[_0x477d('0x3c3')]?'API:'+_0x48cca8[_0x477d('0x3c3')]+'\x20-\x20'+_0x48cca8[_0x477d('0x44d')]:_0x477d('0x1981'),'msg':_0x48cca8[_0x477d('0x451')]?JSON['stringify'](_0x48cca8[_0x477d('0x451')][_0x477d('0x452')]):_0x48cca8[_0x477d('0x453')]()});}});}function _0x26f1c4(_0x2768a1){_0x305aa8[_0x477d('0xd67')]=[];var _0x3d28a7=_0x48ee4a[_0x477d('0xd78')]()['title']('Are\x20you\x20sure?')[_0x477d('0xdaf')](_0x477d('0x1982'))[_0x477d('0x687')](_0x477d('0x1983'))['ok'](_0x477d('0xd7b'))[_0x477d('0x4f0')](_0x477d('0x688'))['targetEvent'](_0x2768a1);_0x48ee4a[_0x477d('0x395')](_0x3d28a7)[_0x477d('0x76')](function(){_0x3661c5['faxQueue'][_0x477d('0xa55')]({'id':_0x305aa8['faxQueue']['id']})['$promise'][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x305aa8[_0x477d('0x16d9')],{'id':_0x305aa8['faxQueue']['id']});_0x1e5681[_0x477d('0x485')]({'title':_0x477d('0x1984'),'msg':(_0x305aa8[_0x477d('0xe48')][_0x477d('0x94')]||_0x477d('0xe48'))+'\x20has\x20been\x20deleted!'});_0x51f8db(_0x305aa8[_0x477d('0xe48')]);})[_0x477d('0xf8')](function(_0x511aa8){if(_0x511aa8['data']&&_0x511aa8[_0x477d('0x451')]['errors']&&_0x511aa8['data'][_0x477d('0xd67')][_0x477d('0x79')]){_0x305aa8[_0x477d('0xd67')]=_0x511aa8[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x511aa8[_0x477d('0x453')](),'type':'api.faxQueue.delete'}];for(var _0x4dd7fc=0x0;_0x4dd7fc<_0x511aa8['data'][_0x477d('0xd67')][_0x477d('0x79')];_0x4dd7fc++){_0x1e5681[_0x477d('0x44a')]({'title':_0x511aa8[_0x477d('0x451')]['errors'][_0x4dd7fc][_0x477d('0x439')],'msg':_0x511aa8[_0x477d('0x451')]['errors'][_0x4dd7fc][_0x477d('0x452')]});}}else{_0x1e5681[_0x477d('0x44a')]({'title':_0x511aa8[_0x477d('0x3c3')]?'API:'+_0x511aa8['status']+'\x20-\x20'+_0x511aa8['statusText']:_0x477d('0x1985'),'msg':_0x511aa8['data']?JSON['stringify'](_0x511aa8[_0x477d('0x451')]['message']):_0x511aa8[_0x477d('0x452')]||_0x511aa8['toString']()});}});},function(){});}function _0x1cbbc8(_0x2d83d8){return _0x2d83d8===null?undefined:new Date(_0x2d83d8);}function _0x51f8db(_0x468e3c){_0x48ee4a[_0x477d('0x3bc')](_0x468e3c);}}}());(function(){'use strict';_0x4698a6['$inject']=[_0x477d('0x384'),'$q','toasty','api',_0x477d('0xe48'),_0x477d('0x16d9'),_0x477d('0x11f1'),_0x477d('0x40d'),_0x477d('0x55'),'crudPermissions'];angular[_0x477d('0xb')](_0x477d('0x34'))['controller'](_0x477d('0x1986'),_0x4698a6);function _0x4698a6(_0x5154df,_0x5273df,_0xf6ecd9,_0x5afce5,_0x30c57c,_0x4bda30,_0x5752fb,_0x3c02d5,_0x218db0,_0x3a1759){var _0x380bfd=this;_0x380bfd[_0x477d('0x3e5')]=_0x218db0[_0x477d('0x5c')]();_0x380bfd[_0x477d('0xe48')]=_0x30c57c;_0x380bfd[_0x477d('0xd66')]=_0x3a1759;_0x380bfd[_0x477d('0x11f1')]=_0x5752fb;_0x380bfd[_0x477d('0x4a6')]=[];_0x380bfd[_0x477d('0x11f7')]=[];_0x380bfd['selectedItems']=[];_0x380bfd[_0x477d('0x11f2')]=[];_0x380bfd['startingSelectedItems']=[];_0x380bfd[_0x477d('0x11f5')]=![];_0x380bfd[_0x477d('0x71a')]=_0xc9e811;_0x380bfd[_0x477d('0x11f3')]=_0xc4a1d0;_0x380bfd['closeDialog']=_0xc1f05;_0x380bfd[_0x477d('0x1185')]={'readOnly':!_0x380bfd['crudPermissions'][_0x477d('0xedb')],'items':[],'selectedItems':[],'showSelectAndDeselectAll':!![],'orderBy':_0x477d('0x94'),'line1':'fullname','line2':[_0x477d('0x94'),_0x477d('0x324')],'line3':'','labelAll':_0x3c02d5[_0x477d('0x45f')]('FAX.ALL_AGENTS'),'labelSelected':_0x3c02d5['instant'](_0x477d('0x1987')),'transferCallback':function(_0x3657ba,_0x32b475){var _0x5061c4=_[_0x477d('0x11f4')](_0x380bfd[_0x477d('0x11fd')],_0x380bfd[_0x477d('0x4a7')],'id');_0x380bfd['pendingChanges']=_[_0x477d('0x3b2')](_0x5061c4)?![]:!![];}};function _0xc9e811(){return _0x218db0[_0x477d('0x56')]('admin')?_0x2af789()[_0x477d('0xf8')](function(_0x3fe627){_0xf6ecd9[_0x477d('0x44a')]({'title':_0x3fe627[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x3fe627[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x3fe627[_0x477d('0x44d')]:'SYSTEM:GET_AGENTS','msg':_0x3fe627[_0x477d('0x3c3')]?JSON['stringify'](_0x3fe627[_0x477d('0x451')]):_0x3fe627[_0x477d('0x453')]()});}):_0x5cb62b()[_0x477d('0x76')](function(_0x1b1cbd){_0x380bfd[_0x477d('0xd99')]=_0x1b1cbd;return _0x2af789();})[_0x477d('0xf8')](function(_0xcd2b69){_0xf6ecd9['error']({'title':_0xcd2b69[_0x477d('0x3c3')]?_0x477d('0x44b')+_0xcd2b69[_0x477d('0x3c3')]+_0x477d('0x44c')+_0xcd2b69[_0x477d('0x44d')]:'SYSTEM:GET_AGENTS','msg':_0xcd2b69[_0x477d('0x3c3')]?JSON[_0x477d('0x3fb')](_0xcd2b69[_0x477d('0x451')]):_0xcd2b69['toString']()});});}function _0x5cb62b(){return _0x5273df(function(_0x26c513,_0x11c969){_0x5afce5['userProfileSection'][_0x477d('0x376')]({'userProfileId':_0x380bfd['currentUser'][_0x477d('0x61')],'name':_0x477d('0xce')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x19e55b){var _0x5ba323=_0x19e55b&&_0x19e55b[_0x477d('0xf2')]?_0x19e55b[_0x477d('0xf2')][0x0]:null;_0x26c513(_0x5ba323);})[_0x477d('0xf8')](function(_0x43c5f7){_0x11c969(_0x43c5f7);});});}function _0x2af789(){return _0x5273df(function(_0x5dac50,_0x49f607){return _0x524a96()['then'](function(_0x19574b){_0x380bfd[_0x477d('0x4a6')]=_0x19574b[_0x477d('0xf2')]?_0x19574b[_0x477d('0xf2')]:[];if(_0x218db0[_0x477d('0x56')](_0x477d('0x5f'))){return _0x19574b;}else{if(_0x380bfd[_0x477d('0xd99')]){return _0x380bfd[_0x477d('0xd99')]['autoAssociation']?_0x19574b:_0x37ad71();}else{return null;}}})[_0x477d('0x76')](function(_0x5dcfef){var _0x40ef9b=_0x5dcfef&&_0x5dcfef['rows']?_0x5dcfef['rows']:[];_0x380bfd[_0x477d('0x11f7')]=_['map'](_0x40ef9b,function(_0x2ae036){return _[_0x477d('0x10a')](_0x380bfd[_0x477d('0x4a6')],{'id':_0x218db0[_0x477d('0x56')](_0x477d('0x5f'))||_0x380bfd['section']['autoAssociation']?_0x2ae036['id']:_0x2ae036[_0x477d('0x3af')]});});_0x380bfd[_0x477d('0x11f2')]=angular[_0x477d('0x6d9')](_0x380bfd[_0x477d('0x11f7')]);_0x380bfd['items'][_0x477d('0x3b1')](function(_0x5085ad){var _0x59e98d=_[_0x477d('0x10a')](_0x380bfd[_0x477d('0x11f7')],{'id':_0x5085ad['id']});if(_0x218db0[_0x477d('0x56')](_0x477d('0x5f'))){_0x5085ad[_0x477d('0x4a3')]=!![];}else{_0x5085ad[_0x477d('0x4a3')]=typeof _0x59e98d!=='undefined'?!![]:![];}});return _0x57ad68();})['then'](function(_0x553442){var _0x32186f=_0x553442&&_0x553442[_0x477d('0xf2')]?_0x553442[_0x477d('0xf2')]:[];_0x380bfd['selectedItems']=_[_0x477d('0x3cb')](_0x32186f,function(_0x58ca09){var _0x2a6fbb=_[_0x477d('0x10a')](_0x380bfd[_0x477d('0x4a6')],{'id':_0x58ca09['id']});_0x2a6fbb[_0x477d('0x1184')]=_0x58ca09[_0x477d('0x1988')]?_0x477d('0x1529')+_0x58ca09[_0x477d('0x1988')][_0x477d('0x1184')]:'';_0x2a6fbb[_0x477d('0x324')]=_0x58ca09['hasOwnProperty'](_0x477d('0x324'))?'<'+_0x58ca09[_0x477d('0x324')]+'>':'';return _0x2a6fbb;});_0x380bfd[_0x477d('0x11fd')]=angular[_0x477d('0x6d9')](_0x380bfd[_0x477d('0x4a7')]);_0x380bfd[_0x477d('0x1185')]['selectedItems']=_0x380bfd[_0x477d('0x4a7')];_0x380bfd[_0x477d('0x1185')][_0x477d('0x4a6')]=_['differenceBy'](_0x380bfd[_0x477d('0x11f7')],_0x380bfd[_0x477d('0x1185')][_0x477d('0x4a7')],'id');_0x5dac50();})[_0x477d('0xf8')](function(_0x2e7d7a){_0x49f607(_0x2e7d7a);});});}function _0x37ad71(){return _0x5273df(function(_0x254cf5,_0x2f7ef9){return _0x5afce5[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x380bfd[_0x477d('0xd99')]['id'],'nolimit':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x523cce){_0x254cf5(_0x523cce);})[_0x477d('0xf8')](function(_0x48dcbc){_0x2f7ef9(_0x48dcbc);});});}function _0x57ad68(){return _0x5273df(function(_0x1c4c1e,_0x7a90df){return _0x5afce5[_0x477d('0xe48')][_0x477d('0x11f9')]({'id':_0x380bfd['faxQueue']['id'],'fields':_0x477d('0x11fa'),'nolimit':!![],'role':_0x477d('0xcf')})['$promise'][_0x477d('0x76')](function(_0xbe79bf){_0x1c4c1e(_0xbe79bf);})[_0x477d('0xf8')](function(_0x221850){_0x7a90df(_0x221850);});});}function _0x524a96(){return _0x5273df(function(_0x3861b0,_0x10e5ed){return _0x5afce5['user'][_0x477d('0x376')]({'fields':_0x477d('0x11fa'),'nolimit':!![],'role':_0x477d('0xcf')})['$promise']['then'](function(_0x1d5fd1){_0x3861b0(_0x1d5fd1);})[_0x477d('0xf8')](function(_0x39a945){_0x10e5ed(_0x39a945);});});}function _0x3319c9(_0x70f0d2){return _0x5273df(function(_0x4d8669,_0x235f14){if(_[_0x477d('0x3b2')](_0x70f0d2)){_0x4d8669();}else{_0x5afce5['faxQueue'][_0x477d('0x11fb')]({'id':_0x380bfd['faxQueue']['id'],'ids':_['map'](_0x70f0d2,'id')})[_0x477d('0x38b')][_0x477d('0x76')](function(){_0x4d8669();})[_0x477d('0xf8')](function(_0x4e5b11){_0x235f14(_0x4e5b11);});}});}function _0x52fd5d(_0x47ff12){return _0x5273df(function(_0x43b04e,_0x385b35){if(_['isEmpty'](_0x47ff12)){_0x43b04e();}else{_0x5afce5['faxQueue'][_0x477d('0x11fc')]({'id':_0x380bfd[_0x477d('0xe48')]['id'],'ids':_['map'](_0x47ff12,'id')})[_0x477d('0x38b')][_0x477d('0x76')](function(){_0x43b04e();})['catch'](function(_0x142d81){_0x385b35(_0x142d81);});}});}function _0xc4a1d0(){var _0x45d3ab=_[_0x477d('0x11f8')](_0x380bfd[_0x477d('0x11fd')],_0x380bfd[_0x477d('0x4a7')],'id');var _0x26cd4d=_[_0x477d('0x11f8')](_0x380bfd[_0x477d('0x4a7')],_0x380bfd['startingSelectedItems'],'id');return _0x52fd5d(_0x45d3ab)[_0x477d('0x76')](function(){return _0x3319c9(_0x26cd4d);})[_0x477d('0x76')](function(){_0x380bfd[_0x477d('0x11f5')]=![];_0x380bfd[_0x477d('0x11f2')]=angular[_0x477d('0x6d9')](_0x380bfd[_0x477d('0x11f7')]);_0x380bfd[_0x477d('0x11fd')]=angular[_0x477d('0x6d9')](_0x380bfd[_0x477d('0x4a7')]);_0xf6ecd9[_0x477d('0x485')]({'title':_0x477d('0x11fe'),'msg':_0x477d('0x11ff')});})[_0x477d('0xf8')](function(_0x5d82d7){_0xf6ecd9[_0x477d('0x44a')]({'title':_0x5d82d7[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x5d82d7['status']+'\x20-\x20'+_0x5d82d7[_0x477d('0x44d')]:'SYSTEM:LISTS_ASSOCIATION','msg':_0x5d82d7[_0x477d('0x3c3')]?JSON[_0x477d('0x3fb')](_0x5d82d7[_0x477d('0x451')]):_0x5d82d7[_0x477d('0x453')]()});});}function _0xc1f05(){_0x5154df['hide']();}}}());(function(){'use strict';_0x4ffeac[_0x477d('0xa')]=[_0x477d('0x384'),'$q','toasty','api',_0x477d('0xe48'),_0x477d('0x40d'),_0x477d('0x55'),_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x34'))[_0x477d('0x3ba')]('FaxQueueteamaddController',_0x4ffeac);function _0x4ffeac(_0x340946,_0x4d000f,_0x467a7b,_0x4fc636,_0x1ae7fc,_0x591fed,_0xcb61f1,_0x15639a){var _0x167407=this;_0x167407[_0x477d('0x3e5')]=_0xcb61f1[_0x477d('0x5c')]();_0x167407[_0x477d('0xe48')]=_0x1ae7fc;_0x167407[_0x477d('0xd66')]=_0x15639a;_0x167407[_0x477d('0x4a6')]=[];_0x167407[_0x477d('0x11f7')]=[];_0x167407[_0x477d('0x4a7')]=[];_0x167407[_0x477d('0x11f2')]=[];_0x167407[_0x477d('0x11fd')]=[];_0x167407[_0x477d('0x11f5')]=![];_0x167407[_0x477d('0x1185')]={'readOnly':!_0x167407[_0x477d('0xd66')][_0x477d('0xedb')],'allowedItems':[],'selectedItems':[],'showSelectAndDeselectAll':!![],'orderBy':_0x477d('0x94'),'line1':_0x477d('0x94'),'line2':'','line3':'','labelAll':_0x591fed[_0x477d('0x45f')](_0x477d('0x1989')),'labelSelected':_0x591fed['instant'](_0x477d('0x198a')),'transferCallback':function(_0x4e6ac5,_0x5e8935){var _0x4b15eb=_['xorBy'](_0x167407[_0x477d('0x11fd')],_0x167407[_0x477d('0x4a7')],'id');_0x167407['pendingChanges']=_[_0x477d('0x3b2')](_0x4b15eb)?![]:!![];}};_0x167407['onInit']=_0x4194e8;_0x167407[_0x477d('0x1203')]=_0x1cf695;_0x167407[_0x477d('0x6bf')]=_0x4502ee;function _0x4194e8(){return _0xcb61f1['hasRole'](_0x477d('0x5f'))?_0xbba46f()[_0x477d('0xf8')](function(_0x3aeb56){_0x467a7b['error']({'title':_0x3aeb56[_0x477d('0x3c3')]?'API:'+_0x3aeb56[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x3aeb56['statusText']:_0x477d('0x1204'),'msg':_0x3aeb56[_0x477d('0x3c3')]?JSON['stringify'](_0x3aeb56[_0x477d('0x451')]):_0x3aeb56[_0x477d('0x453')]()});}):_0x1766b4()['then'](function(_0x10f350){_0x167407['section']=_0x10f350;return _0xbba46f();})[_0x477d('0xf8')](function(_0x983d4e){_0x467a7b[_0x477d('0x44a')]({'title':_0x983d4e['status']?_0x477d('0x44b')+_0x983d4e[_0x477d('0x3c3')]+'\x20-\x20'+_0x983d4e[_0x477d('0x44d')]:_0x477d('0x1204'),'msg':_0x983d4e[_0x477d('0x3c3')]?JSON[_0x477d('0x3fb')](_0x983d4e[_0x477d('0x451')]):_0x983d4e[_0x477d('0x453')]()});});}function _0x1766b4(){return _0x4d000f(function(_0x153dea,_0x49d24f){_0x4fc636['userProfileSection'][_0x477d('0x376')]({'userProfileId':_0x167407[_0x477d('0x3e5')][_0x477d('0x61')],'name':_0x477d('0x29f')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x4f7d79){var _0x20c31d=_0x4f7d79&&_0x4f7d79[_0x477d('0xf2')]?_0x4f7d79['rows'][0x0]:null;_0x153dea(_0x20c31d);})[_0x477d('0xf8')](function(_0x33dd7c){_0x49d24f(_0x33dd7c);});});}function _0xbba46f(){return _0x4d000f(function(_0x55f79b,_0x22a7ee){return _0x1c65d3()[_0x477d('0x76')](function(_0x3eaa29){_0x167407[_0x477d('0x4a6')]=_0x3eaa29[_0x477d('0xf2')]?_0x3eaa29[_0x477d('0xf2')]:[];if(_0xcb61f1['hasRole'](_0x477d('0x5f'))){return _0x3eaa29;}else{if(_0x167407[_0x477d('0xd99')]){return _0x167407[_0x477d('0xd99')][_0x477d('0x3ad')]?_0x3eaa29:_0x5637ad();}else{return null;}}})[_0x477d('0x76')](function(_0x4ce724){var _0x7f0beb=_0x4ce724&&_0x4ce724[_0x477d('0xf2')]?_0x4ce724['rows']:[];_0x167407['allowedItems']=_[_0x477d('0x3cb')](_0x7f0beb,function(_0x5aeeda){return _[_0x477d('0x10a')](_0x167407[_0x477d('0x4a6')],{'id':_0xcb61f1[_0x477d('0x56')](_0x477d('0x5f'))||_0x167407[_0x477d('0xd99')]['autoAssociation']?_0x5aeeda['id']:_0x5aeeda['resourceId']});});_0x167407[_0x477d('0x4a6')][_0x477d('0x3b1')](function(_0x1b8395){var _0x1bf4c3=_[_0x477d('0x10a')](_0x167407[_0x477d('0x11f7')],{'id':_0x1b8395['id']});if(_0xcb61f1[_0x477d('0x56')](_0x477d('0x5f'))){_0x1b8395[_0x477d('0x4a3')]=!![];}else{_0x1b8395[_0x477d('0x4a3')]=typeof _0x1bf4c3!==_0x477d('0x4a4')?!![]:![];}});return _0x37d55d();})[_0x477d('0x76')](function(_0x700b3b){var _0x3b0201=_0x700b3b&&_0x700b3b['rows']?_0x700b3b[_0x477d('0xf2')]:[];_0x167407[_0x477d('0x4a7')]=_[_0x477d('0x3cb')](_0x3b0201,function(_0x136cbf){return _[_0x477d('0x10a')](_0x167407[_0x477d('0x4a6')],{'id':_0x136cbf['id']});});_0x167407[_0x477d('0x11fd')]=angular[_0x477d('0x6d9')](_0x167407[_0x477d('0x4a7')]);_0x167407[_0x477d('0x1185')]['selectedItems']=_0x167407[_0x477d('0x4a7')];_0x167407[_0x477d('0x1185')]['items']=_[_0x477d('0x11f8')](_0x167407[_0x477d('0x11f7')],_0x167407[_0x477d('0x1185')][_0x477d('0x4a7')],'id');_0x55f79b();})[_0x477d('0xf8')](function(_0x5663c8){_0x22a7ee(_0x5663c8);});});}function _0x5637ad(){return _0x4d000f(function(_0x228e78,_0x3f5d19){return _0x4fc636[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x167407[_0x477d('0xd99')]['id'],'nolimit':!![]})[_0x477d('0x38b')]['then'](function(_0x340e96){_0x228e78(_0x340e96);})[_0x477d('0xf8')](function(_0xdaf565){_0x3f5d19(_0xdaf565);});});}function _0x37d55d(){return _0x4d000f(function(_0x2e6e17,_0x2f077b){return _0x4fc636[_0x477d('0xe48')]['getTeams']({'id':_0x167407[_0x477d('0xe48')]['id'],'fields':_0x477d('0x9c'),'nolimit':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x3a5750){_0x2e6e17(_0x3a5750);})[_0x477d('0xf8')](function(_0x38ee9f){_0x2f077b(_0x38ee9f);});});}function _0x1c65d3(){return _0x4d000f(function(_0x27f75a,_0x294c0d){return _0x4fc636[_0x477d('0xca3')]['get']({'fields':_0x477d('0x9c'),'nolimit':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x3dfa71){_0x27f75a(_0x3dfa71);})[_0x477d('0xf8')](function(_0x4a6c9){_0x294c0d(_0x4a6c9);});});}function _0x2dcdb3(_0x354bc5){return _0x4d000f(function(_0x47d565,_0x189852){if(_[_0x477d('0x3b2')](_0x354bc5)){_0x47d565();}else{_0x4fc636[_0x477d('0xe48')][_0x477d('0x198b')]({'id':_0x167407[_0x477d('0xe48')]['id'],'ids':_['map'](_0x354bc5,'id')})[_0x477d('0x38b')][_0x477d('0x76')](function(){_0x47d565();})[_0x477d('0xf8')](function(_0x53cbf6){_0x189852(_0x53cbf6);});}});}function _0x319ad3(_0x31abf1){return _0x4d000f(function(_0x398de6,_0x206fd4){if(_[_0x477d('0x3b2')](_0x31abf1)){_0x398de6();}else{_0x4fc636[_0x477d('0xe48')][_0x477d('0x1206')]({'id':_0x167407[_0x477d('0xe48')]['id'],'ids':_[_0x477d('0x3cb')](_0x31abf1,'id')})[_0x477d('0x38b')][_0x477d('0x76')](function(){_0x398de6();})[_0x477d('0xf8')](function(_0x1997e5){_0x206fd4(_0x1997e5);});}});}function _0x1cf695(){var _0x340e92=_[_0x477d('0x11f8')](_0x167407[_0x477d('0x11fd')],_0x167407[_0x477d('0x4a7')],'id');var _0x5baa68=_[_0x477d('0x11f8')](_0x167407[_0x477d('0x4a7')],_0x167407[_0x477d('0x11fd')],'id');return _0x319ad3(_0x340e92)['then'](function(){return _0x2dcdb3(_0x5baa68);})[_0x477d('0x76')](function(){_0x167407[_0x477d('0x11f5')]=![];_0x167407[_0x477d('0x11f2')]=angular[_0x477d('0x6d9')](_0x167407[_0x477d('0x11f7')]);_0x167407[_0x477d('0x11fd')]=angular[_0x477d('0x6d9')](_0x167407[_0x477d('0x4a7')]);_0x467a7b['success']({'title':_0x477d('0x11fe'),'msg':_0x477d('0x1207')});})[_0x477d('0xf8')](function(_0x26ea8a){_0x467a7b['error']({'title':_0x26ea8a['status']?_0x477d('0x44b')+_0x26ea8a[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x26ea8a[_0x477d('0x44d')]:'SYSTEM:LISTS_ASSOCIATION','msg':_0x26ea8a['status']?JSON['stringify'](_0x26ea8a[_0x477d('0x451')]):_0x26ea8a[_0x477d('0x453')]()});});}function _0x4502ee(){_0x340946['hide']();}}}());(function(){'use strict';_0x3ec55a['$inject']=[_0x477d('0x3c4'),_0x477d('0xd64'),_0x477d('0x384'),_0x477d('0x475'),'$translate',_0x477d('0x613'),_0x477d('0xc8e'),_0x477d('0x386'),_0x477d('0x40e'),_0x477d('0x55'),'faxQueue',_0x477d('0x3ac')];angular[_0x477d('0xb')](_0x477d('0x34'))[_0x477d('0x3ba')](_0x477d('0x198c'),_0x3ec55a);function _0x3ec55a(_0x500749,_0x45c904,_0x59f926,_0x43de75,_0x151e18,_0x38c535,_0x1cac9b,_0x33d17d,_0x471db0,_0x687a27,_0x3fe566,_0x1f6b01){var _0x514f33=this;_0x514f33[_0x477d('0x3e5')]=_0x687a27[_0x477d('0x5c')]();_0x514f33[_0x477d('0x613')]=_0x38c535;_0x514f33[_0x477d('0xc8e')]=_0x1cac9b;_0x514f33[_0x477d('0xd69')]=_0x514f33[_0x477d('0xc8e')][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x514f33['location']=_0x45c904['protocol']()+_0x477d('0x1209')+_0x45c904[_0x477d('0x3c9')]();_0x514f33[_0x477d('0xe48')]=_0x3fe566||_0x500749['params'][_0x477d('0xe48')]||{};_0x514f33[_0x477d('0x3ac')]=_0x1f6b01&&_0x1f6b01[_0x477d('0x3bb')]==0x1?_0x1f6b01[_0x477d('0xf2')][0x0]:null;_0x514f33[_0x477d('0xd66')]=_0x687a27[_0x477d('0xd81')](_0x514f33[_0x477d('0x3ac')]?_0x514f33['userProfileSection'][_0x477d('0xd66')]:null);_0x514f33[_0x477d('0xd68')]={};_0x514f33[_0x477d('0xe95')]=_0x500749[_0x477d('0x37e')][_0x477d('0xe96')]||0x0;_0x514f33[_0x477d('0x11d4')]=_0x5eda55;_0x514f33[_0x477d('0x1222')]=_0xe8d371;_0x514f33[_0x477d('0x120a')]=_0x471db0[_0x477d('0x669')];_0x514f33[_0x477d('0x198d')]=_0x8bbede;_0x514f33[_0x477d('0x198e')]=_0x34acb8;function _0x5eda55(_0x16b300,_0x568f1){_0x59f926['show']({'controller':_0x477d('0x198f'),'controllerAs':'vm','templateUrl':'app/main/apps/fax/views/faxQueues/edit/teamadd/teamadd.html','parent':angular[_0x477d('0x398')](_0x43de75['body']),'targetEvent':_0x568f1,'clickOutsideToClose':!![],'locals':{'faxQueue':_0x16b300,'faxQueues':_0x514f33['faxQueues']?_0x514f33[_0x477d('0x16d9')][_0x477d('0xf2')]:[],'crudPermissions':_0x514f33[_0x477d('0xd66')]}});}function _0xe8d371(_0x25061e,_0x11e6b2){_0x59f926['show']({'controller':_0x477d('0x1986'),'controllerAs':'vm','templateUrl':_0x477d('0x1990'),'parent':angular['element'](_0x43de75[_0x477d('0x399')]),'targetEvent':_0x11e6b2,'clickOutsideToClose':!![],'locals':{'faxQueue':_0x25061e,'faxQueues':_0x514f33[_0x477d('0x16d9')]?_0x514f33[_0x477d('0x16d9')][_0x477d('0xf2')]:[],'crudPermissions':_0x514f33[_0x477d('0xd66')],'realtime':![]}});}function _0x8bbede(){_0x500749['go']('app.fax.faxQueues',{},{'reload':_0x477d('0x150')});}function _0x34acb8(){_0x33d17d[_0x477d('0xe48')][_0x477d('0x710')]({'id':_0x514f33['faxQueue']['id']},_0x514f33[_0x477d('0xe48')])['$promise'][_0x477d('0x76')](function(){_0x471db0['success']({'title':_0x477d('0x1991'),'msg':_0x514f33[_0x477d('0xe48')][_0x477d('0x94')]?_0x514f33[_0x477d('0xe48')][_0x477d('0x94')]+_0x477d('0xed7'):''});})[_0x477d('0xf8')](function(_0x2d69a7){_0x471db0[_0x477d('0x44a')]({'title':_0x2d69a7[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x2d69a7[_0x477d('0x3c3')]+'\x20-\x20'+_0x2d69a7[_0x477d('0x44d')]:_0x477d('0x1992'),'msg':_0x2d69a7[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x2d69a7['data']):_0x2d69a7[_0x477d('0x453')]()});});}}}());(function(){'use strict';_0x247b7c[_0x477d('0xa')]=[_0x477d('0x474'),'$window',_0x477d('0x3c4'),'$mdSidenav',_0x477d('0x384'),_0x477d('0x475'),'$timeout',_0x477d('0x40d'),'faxQueues','userProfile',_0x477d('0x3ac'),_0x477d('0x386'),_0x477d('0x342'),_0x477d('0x40e'),_0x477d('0x55'),_0x477d('0x613'),'setting'];angular[_0x477d('0xb')](_0x477d('0x34'))[_0x477d('0x3ba')]('FaxQueuesController',_0x247b7c);function _0x247b7c(_0x4aaa9a,_0x365b22,_0x2933ff,_0x1de8ea,_0x379ad4,_0xf36097,_0x1a962f,_0x12f611,_0x17711f,_0x2c8689,_0x4338e1,_0x1f221d,_0x4b872f,_0x1386d0,_0xcdcecc,_0xdd7a39,_0x3e1159){var _0x483b4a=this;_0x483b4a['license']=_0xdd7a39;_0x483b4a[_0x477d('0xc8e')]=_0x3e1159;_0x483b4a['currentUser']=_0xcdcecc[_0x477d('0x5c')]();_0x483b4a[_0x477d('0x16d9')]=_0x17711f||{'count':0x0,'rows':[]};_0x483b4a[_0x477d('0x3a5')]=_0x2c8689;_0x483b4a[_0x477d('0x3ac')]=_0x4338e1&&_0x4338e1[_0x477d('0x3bb')]==0x1?_0x4338e1[_0x477d('0xf2')][0x0]:null;_0x483b4a[_0x477d('0xd66')]=_0xcdcecc['parseCrudPermissions'](_0x483b4a[_0x477d('0x3ac')]?_0x483b4a[_0x477d('0x3ac')][_0x477d('0xd66')]:null);_0x483b4a[_0x477d('0xd82')]=_0x477d('0x16d9');_0x483b4a[_0x477d('0xd83')]='';_0x483b4a[_0x477d('0xd84')]=null;_0x483b4a[_0x477d('0x1993')]=[];_0x483b4a[_0x477d('0x3ef')]={'fields':'createdAt,updatedAt,id,name,strategy,timeout,description','sort':_0x477d('0x59'),'channel':'fax','limit':0xa,'page':0x1};_0x483b4a[_0x477d('0x1994')]=_['keyBy']([{'option':'Beepall','value':_0x477d('0x11d2')},{'option':'RR\x20Memory','value':'\x27rrmemory\x27'}],function(_0x205b97){return _[_0x477d('0x409')](_0x205b97[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x483b4a[_0x477d('0xea6')]=_0x270317;_0x483b4a[_0x477d('0x11d4')]=_0x3d2226;_0x483b4a[_0x477d('0x1222')]=_0x29c6eb;_0x483b4a[_0x477d('0xd88')]=_0x586c98;_0x483b4a['gotorealtimegoto']=_0x1f8794;_0x483b4a[_0x477d('0x485')]=_0xa86d7d;_0x483b4a['getFaxQueues']=_0x57eb27;_0x483b4a[_0x477d('0x1995')]=_0x5b5a2d;_0x483b4a['deleteFaxQueue']=_0x18cb88;_0x483b4a[_0x477d('0x1996')]=_0x546eed;_0x483b4a[_0x477d('0x1997')]=_0x2f6563;_0x483b4a['deselectFaxQueues']=_0x4d7ff7;_0x483b4a[_0x477d('0x1998')]=_0x4b0de7;function _0x270317(_0x56fcbf,_0x2cd38a){_0x2933ff['go'](_0x477d('0x156'),{'id':_0x56fcbf['id'],'faxQueue':_0x56fcbf,'crudPermissions':_0x483b4a['crudPermissions']});}function _0x3d2226(_0x11847e,_0x3eb6bc){_0x379ad4[_0x477d('0x395')]({'controller':_0x477d('0x198f'),'controllerAs':'vm','templateUrl':'app/main/apps/fax/views/faxQueues/edit/teamadd/teamadd.html','parent':angular['element'](_0xf36097['body']),'targetEvent':_0x3eb6bc,'clickOutsideToClose':!![],'locals':{'faxQueue':_0x11847e,'faxQueues':_0x483b4a[_0x477d('0x16d9')]?_0x483b4a[_0x477d('0x16d9')]['rows']:[],'crudPermissions':_0x483b4a[_0x477d('0xd66')]}});}function _0x29c6eb(_0x2bd2de,_0x67aaf9){_0x379ad4[_0x477d('0x395')]({'controller':_0x477d('0x1986'),'controllerAs':'vm','templateUrl':_0x477d('0x1990'),'parent':angular[_0x477d('0x398')](_0xf36097['body']),'targetEvent':_0x67aaf9,'clickOutsideToClose':!![],'locals':{'faxQueue':_0x2bd2de,'faxQueues':_0x483b4a[_0x477d('0x16d9')]?_0x483b4a['faxQueues'][_0x477d('0xf2')]:[],'crudPermissions':_0x483b4a['crudPermissions'],'realtime':![]}});}function _0x586c98(_0x323d99,_0x1d9709){var _0x3c4252=_0x379ad4[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xd90')+_[_0x477d('0xd91')]('faxQueue')+'?')[_0x477d('0xd92')](_0x477d('0xd93')+(_0x323d99[_0x477d('0x94')]||_0x477d('0xe48'))+_0x477d('0xd94')+'\x20will\x20be\x20deleted.')[_0x477d('0x687')](_0x477d('0x1999'))[_0x477d('0xd7c')](_0x1d9709)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x379ad4['show'](_0x3c4252)[_0x477d('0x76')](function(){_0x18cb88(_0x323d99);},function(){console[_0x477d('0x7b')](_0x477d('0xd97'));});}function _0x1f8794(_0x5e96cf,_0x182d0a){if(_0xcdcecc[_0x477d('0x56')](_0x477d('0x5f'))){_0x2933ff['go']('app.fax.realtime.queues',{});}else{return _0x1f221d[_0x477d('0x3ac')]['get']({'userProfileId':_0xcdcecc[_0x477d('0x5c')]()['userProfileId'],'sectionId':0x38e})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x4be9b8){var _0x83a17=_0x4be9b8&&_0x4be9b8['rows']?_0x4be9b8[_0x477d('0xf2')][0x0]:null;if(_0x83a17&&_0x83a17[_0x477d('0x3b4')]){_0x2933ff['go'](_0x477d('0x165'),{});}else{_0x1386d0[_0x477d('0x669')]({'title':_0x12f611[_0x477d('0x45f')](_0x477d('0x119d')),'msg':_0x12f611[_0x477d('0x45f')](_0x477d('0x142f'))});}})[_0x477d('0xf8')](function(_0x12bb2d){_0x1386d0['error']({'title':_0x12bb2d[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x12bb2d['status']+_0x477d('0x44c')+_0x12bb2d['statusText']:'USERPROFILE:GET_SECTION','msg':_0x12bb2d[_0x477d('0x3c3')]?JSON['stringify'](_0x12bb2d['data']):_0x12bb2d[_0x477d('0x453')]()});});}}var _0x11559f=!![];var _0x4d3076=0x1;_0x4aaa9a[_0x477d('0x4b5')]('vm.query.filter',function(_0x573baa,_0x5227a7){if(_0x11559f){_0x1a962f(function(){_0x11559f=![];});}else{if(!_0x5227a7){_0x4d3076=_0x483b4a[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x573baa!==_0x5227a7){_0x483b4a['query'][_0x477d('0xe03')]=0x1;}if(!_0x573baa){_0x483b4a[_0x477d('0x3ef')][_0x477d('0xe03')]=_0x4d3076;}_0x483b4a[_0x477d('0x16eb')]();}});function _0xa86d7d(_0x4c6abc){_0x483b4a[_0x477d('0x16d9')]=_0x4c6abc||{'count':0x0,'rows':[]};}function _0x57eb27(){_0x483b4a['query'][_0x477d('0x91c')]=(_0x483b4a[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x483b4a['query'][_0x477d('0x91d')];if(_0xcdcecc[_0x477d('0x56')](_0x477d('0x5f'))){_0x483b4a[_0x477d('0x553')]=_0x1f221d['faxQueue']['get'](_0x483b4a['query'],_0xa86d7d)[_0x477d('0x38b')];}else{_0x483b4a[_0x477d('0x3ef')]['id']=_0x483b4a[_0x477d('0x3a5')]['id'];_0x483b4a['query'][_0x477d('0xd99')]=_0x477d('0x155');_0x483b4a[_0x477d('0x553')]=_0x1f221d[_0x477d('0x3a5')]['getResources'](_0x483b4a[_0x477d('0x3ef')],_0xa86d7d)[_0x477d('0x38b')];}}function _0x5b5a2d(_0x1b73c2,_0x16937a){_0x379ad4[_0x477d('0x395')]({'controller':_0x477d('0x197a'),'controllerAs':'vm','templateUrl':_0x477d('0x199a'),'parent':angular[_0x477d('0x398')](_0xf36097[_0x477d('0x399')]),'targetEvent':_0x1b73c2,'clickOutsideToClose':!![],'locals':{'faxQueue':_0x16937a,'faxQueues':_0x483b4a[_0x477d('0x16d9')][_0x477d('0xf2')],'license':_0x483b4a['license'],'setting':_0x483b4a[_0x477d('0xc8e')],'crudPermissions':_0x483b4a['crudPermissions']}});}function _0x18cb88(_0x2c854e){_0x1f221d[_0x477d('0xe48')]['delete']({'id':_0x2c854e['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x483b4a[_0x477d('0x16d9')][_0x477d('0xf2')],{'id':_0x2c854e['id']});_0x483b4a['faxQueues']['count']-=0x1;if(!_0x483b4a[_0x477d('0x16d9')][_0x477d('0xf2')][_0x477d('0x79')]){_0x483b4a[_0x477d('0x16eb')]();}_0x1386d0['success']({'title':_[_0x477d('0xd91')]('FaxQueue')+_0x477d('0xd9d'),'msg':_0x2c854e[_0x477d('0x94')]?_0x2c854e[_0x477d('0x94')]+_0x477d('0xd7e'):''});})[_0x477d('0xf8')](function(_0x588246){if(_0x588246[_0x477d('0x451')]&&_0x588246[_0x477d('0x451')][_0x477d('0xd67')]&&_0x588246[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x483b4a['errors']=_0x588246[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x588246[_0x477d('0x453')](),'type':_0x477d('0x199b')}];for(var _0x595caf=0x0;_0x595caf<_0x588246[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x595caf++){_0x1386d0[_0x477d('0x44a')]({'title':_0x588246[_0x477d('0x451')]['errors'][_0x595caf][_0x477d('0x439')],'msg':_0x588246['data']['errors'][_0x595caf][_0x477d('0x452')]});}}else{_0x1386d0[_0x477d('0x44a')]({'title':_0x588246[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x588246[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x588246[_0x477d('0x44d')]:_0x477d('0x199b'),'msg':_0x588246[_0x477d('0x451')]?JSON['stringify'](_0x588246[_0x477d('0x451')][_0x477d('0x452')]):_0x588246[_0x477d('0x452')]||_0x588246[_0x477d('0x453')]()});}});}function _0x546eed(){var _0x214ca5=angular['copy'](_0x483b4a[_0x477d('0x1993')]);_0x483b4a[_0x477d('0x1993')]=[];return _0x214ca5;}function _0x2f6563(_0xc50359){var _0x2dcdbe=_0x379ad4[_0x477d('0xd78')]()[_0x477d('0x49a')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20faxQueues?')[_0x477d('0xd92')](''+_0x483b4a[_0x477d('0x1993')][_0x477d('0x79')]+_0x477d('0xda0')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x199c'))[_0x477d('0xd7c')](_0xc50359)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x379ad4[_0x477d('0x395')](_0x2dcdbe)[_0x477d('0x76')](function(){_0x483b4a[_0x477d('0x1993')][_0x477d('0x3b1')](function(_0x438cac){_0x18cb88(_0x438cac);});_0x483b4a[_0x477d('0x1993')]=[];});}function _0x4d7ff7(){_0x483b4a[_0x477d('0x1993')]=[];}function _0x4b0de7(){_0x483b4a[_0x477d('0x1993')]=_0x483b4a['faxQueues'][_0x477d('0xf2')];}}}());(function(){'use strict';_0x3aaacd['$inject']=[_0x477d('0x474'),_0x477d('0x3fe'),_0x477d('0x384'),'$document',_0x477d('0x3c4'),_0x477d('0x386'),_0x477d('0x5a3'),_0x477d('0x40e'),_0x477d('0x160c'),_0x477d('0x199d'),'userProfile',_0x477d('0x3ac'),_0x477d('0x55')];angular['module'](_0x477d('0x34'))[_0x477d('0x3ba')](_0x477d('0x199e'),_0x3aaacd);function _0x3aaacd(_0x44f9ed,_0x5c1363,_0xc68e7c,_0xc35b5,_0x2fd9b0,_0x319fb3,_0x2ec745,_0x56a9fc,_0x5dd6a7,_0x103cac,_0x5d9582,_0x469eb6,_0x3b7cc3){var _0x5b7792=this;_0x5b7792[_0x477d('0x3e5')]=_0x3b7cc3[_0x477d('0x5c')]();_0x5b7792[_0x477d('0x3bb')]=_0x5dd6a7&&_0x5dd6a7[_0x477d('0x3bb')]?_0x5dd6a7[_0x477d('0x3bb')]:0x0;_0x5b7792[_0x477d('0x160c')]=_0x5dd6a7?_[_0x477d('0xdb5')](_0x5dd6a7[_0x477d('0xf2')]?_0x5dd6a7[_0x477d('0xf2')]:[],'id'):{};_0x5b7792[_0x477d('0x199d')]=_0x103cac?_['keyBy'](_0x103cac[_0x477d('0xf2')]?_0x103cac['rows']:[],'id'):{};_0x5b7792[_0x477d('0x3a5')]=_0x5d9582;_0x5b7792['userProfileSection']=_0x469eb6&&_0x469eb6['count']==0x1?_0x469eb6[_0x477d('0xf2')][0x0]:null;_0x5b7792[_0x477d('0xd66')]=_0x3b7cc3[_0x477d('0xd81')](_0x5b7792['userProfileSection']?_0x5b7792[_0x477d('0x3ac')][_0x477d('0xd66')]:null);_0x5b7792[_0x477d('0x3ef')]={'sort':_0x477d('0x199f'),'limit':0xa,'page':0x1};_0x5b7792['success']=_0x5d1c31;_0x5b7792[_0x477d('0x6ad')]=_0x1f1654;_0x5b7792[_0x477d('0x1628')]=_0xd386c;_0x5b7792[_0x477d('0x13e2')]=_0x979cb4;_0x5b7792[_0x477d('0x19a0')]=_0x4eae5c;_0x5b7792[_0x477d('0x19a1')]=_0x463ffa;_0x5b7792['order']=[];_['forIn'](_0x5b7792[_0x477d('0x160c')],function(_0x583595,_0x37cb94){_0x5b7792[_0x477d('0x13d9')][_0x477d('0x3a7')](_0x583595['id']);});_0x2ec745['on'](_0x477d('0x19a2'),_0x5b7792[_0x477d('0x13e2')]);_0x2ec745['on']('faxAccount:update',_0x5b7792[_0x477d('0x13e2')]);_0x2ec745['on'](_0x477d('0x1760'),_0x5b7792[_0x477d('0x19a0')]);function _0x1f1654(){_[_0x477d('0xe4b')](_0x5b7792[_0x477d('0x160c')],function(_0x228f57,_0x9fad22){if(_0x5b7792[_0x477d('0x199d')][_0x9fad22]){_[_0x477d('0xef')](_0x228f57,_0x5b7792[_0x477d('0x199d')][_0x9fad22]);}});_[_0x477d('0xe4b')](_0x5b7792[_0x477d('0x160c')],function(_0x2af31e,_0x19b597){var _0x45c523={'id':_0x19b597,'sort':_0x477d('0x149f'),'direction':'in','limit':0x1,'offset':0x0,'$gte':_0x477d('0x19a3')+moment()[_0x477d('0x12d')]('day')['format'](_0x477d('0x38d'))};_0x319fb3[_0x477d('0xada')][_0x477d('0x1804')](_0x45c523)['$promise'][_0x477d('0x76')](function(_0x55d742){if(_0x55d742){_0x2af31e['in']=_0x55d742[_0x477d('0x3bb')]||0x0;_0x2af31e['lastIn']=_0x55d742['rows']&&_0x55d742[_0x477d('0xf2')]['length']?_0x55d742[_0x477d('0xf2')][0x0][_0x477d('0xe37')]:undefined;}_0x45c523['direction']=_0x477d('0x182a');return _0x319fb3['faxAccount']['getMessages'](_0x45c523)[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x22654c){if(_0x22654c){_0x2af31e[_0x477d('0x182a')]=_0x22654c[_0x477d('0x3bb')]||0x0;_0x2af31e[_0x477d('0x19a4')]=_0x22654c['rows']&&_0x22654c['rows'][_0x477d('0x79')]?_0x22654c['rows'][0x0][_0x477d('0xe37')]:undefined;}})['catch'](function(_0x508461){console[_0x477d('0x7b')](_0x508461);});});}function _0x979cb4(_0x4a782e){if(_0x5b7792[_0x477d('0x160c')][_0x4a782e['id']]){_[_0x477d('0xef')](_0x5b7792[_0x477d('0x160c')][_0x4a782e['id']],_0x4a782e);}}function _0x4eae5c(_0x271a3c){if(_0x5b7792[_0x477d('0x160c')][_0x271a3c[_0x477d('0x14b6')]]){if(_0x271a3c[_0x477d('0x603')]=='in'){_0x5b7792[_0x477d('0x160c')][_0x271a3c[_0x477d('0x14b6')]]['in']+=0x1;_0x5b7792['faxAccounts'][_0x271a3c[_0x477d('0x14b6')]]['lastIn']=_0x271a3c[_0x477d('0xe37')];}else{_0x5b7792[_0x477d('0x160c')][_0x271a3c['FaxAccountId']][_0x477d('0x182a')]+=0x1;_0x5b7792[_0x477d('0x160c')][_0x271a3c[_0x477d('0x14b6')]][_0x477d('0x19a4')]=_0x271a3c['createdAt'];}}}function _0x463ffa(_0x258d96,_0x38e441){_0x2fd9b0['go']('app.fax.faxAccounts.edit',{'id':_0x38e441['id'],'faxAccount':_0x38e441});}var _0x18a72f=!![];var _0x37aa1e=0x1;_0x44f9ed[_0x477d('0x4b5')]('vm.query.filter',function(_0x303d25,_0xceec9d){if(_0x18a72f){_0x5c1363(function(){_0x18a72f=![];});}else{if(!_0xceec9d){_0x37aa1e=_0x5b7792['query'][_0x477d('0xe03')];}if(_0x303d25!==_0xceec9d){_0x5b7792['query'][_0x477d('0xe03')]=0x1;}if(!_0x303d25){_0x5b7792[_0x477d('0x3ef')]['page']=_0x37aa1e;}_0x5b7792[_0x477d('0x1628')]();}});function _0x5d1c31(_0x59f1f2){_0x5b7792[_0x477d('0x160c')]=_0x59f1f2?_[_0x477d('0xdb5')](_0x59f1f2[_0x477d('0xf2')]?_0x59f1f2['rows']:[],'id'):{};if(_0x59f1f2[_0x477d('0xf2')]){_0x5b7792[_0x477d('0x13d9')]=[];for(var _0x10ed00=0x0;_0x10ed00<_0x59f1f2[_0x477d('0xf2')][_0x477d('0x79')];_0x10ed00++){_0x5b7792[_0x477d('0x13d9')][_0x477d('0x3a7')](_0x59f1f2['rows'][_0x10ed00]['id']);}}_0x1f1654();}function _0xd386c(){_0x5b7792[_0x477d('0x3ef')]['offset']=(_0x5b7792['query'][_0x477d('0xe03')]-0x1)*_0x5b7792[_0x477d('0x3ef')][_0x477d('0x91d')];if(_0x3b7cc3[_0x477d('0x56')](_0x477d('0x5f'))){_0x5b7792[_0x477d('0x553')]=_0x319fb3[_0x477d('0xada')][_0x477d('0x376')](_0x5b7792[_0x477d('0x3ef')],_0x5d1c31)[_0x477d('0x38b')];}else{_0x5b7792[_0x477d('0x3ef')]['id']=_0x5b7792[_0x477d('0x3a5')]['id'];_0x5b7792[_0x477d('0x3ef')]['section']=_0x477d('0x149');_0x5b7792[_0x477d('0x553')]=_0x319fb3[_0x477d('0x3a5')][_0x477d('0xd9a')](_0x5b7792[_0x477d('0x3ef')],_0x5d1c31)[_0x477d('0x38b')];}}_0x44f9ed[_0x477d('0x4ec')](_0x477d('0x505'),function(){_0x2ec745['removeAllListeners'](_0x477d('0x19a2'));_0x2ec745['removeAllListeners'](_0x477d('0x19a5'));_0x2ec745[_0x477d('0x6b8')]('faxMessage:save');});}}());(function(){'use strict';_0x582d60[_0x477d('0xa')]=[_0x477d('0x474'),'$q',_0x477d('0x3fe'),_0x477d('0x384'),_0x477d('0x475'),'$filter',_0x477d('0xf39'),'agents',_0x477d('0x13d7'),_0x477d('0x386'),_0x477d('0x5a3'),_0x477d('0x40e'),'helperClasses','userProfile','userProfileSection',_0x477d('0x55'),_0x477d('0x613'),_0x477d('0x794')];angular[_0x477d('0xb')]('app.voice')[_0x477d('0x3ba')](_0x477d('0x19a6'),_0x582d60);function _0x582d60(_0x15e454,_0x197a0d,_0x4436b5,_0x37ca85,_0x13f537,_0x4603b5,_0x427cc8,_0x4ed4d0,_0xb71908,_0x4996fe,_0x2a5447,_0x1b5bee,_0x500ce3,_0x114403,_0x8ce15,_0x395c12,_0x22c595,_0x28fca9){var _0x522b74=this;var _0x4ba875=[_0x477d('0x13b6'),_0x477d('0x13d3'),_0x477d('0x392'),_0x477d('0x13b7'),_0x477d('0x19a7'),_0x477d('0x13b7'),'internal',_0x477d('0x13b8'),_0x477d('0x13d0'),_0x477d('0x13d1'),_0x477d('0x13b9'),_0x477d('0x13d2'),_0x477d('0x13ba'),_0x477d('0x13bb'),_0x477d('0x624'),_0x477d('0x19a8'),'openchannelCapacity',_0x477d('0x13bd'),'smsCapacity','whatsappCapacity',_0x477d('0x13bf'),_0x477d('0x13c0'),_0x477d('0x19a9'),_0x477d('0x13c1'),'smsCurrentCapacity',_0x477d('0x19aa'),'faxCurrentCapacity',_0x477d('0x19ab'),_0x477d('0x13c4'),'mailStatus',_0x477d('0x13c5'),_0x477d('0x13c6'),_0x477d('0x13c7'),_0x477d('0x13c8'),'chatStatusTime',_0x477d('0x13ca'),_0x477d('0x13cb'),'smsStatusTime',_0x477d('0x13fe'),_0x477d('0x13cc'),_0x477d('0x19ac'),_0x477d('0x1256'),_0x477d('0x13ef'),_0x477d('0x13cd'),_0x477d('0x13ce'),_0x477d('0x13cf')];var _0x43e092=['chatPause',_0x477d('0x13d1'),_0x477d('0x13b9'),_0x477d('0x13d2'),_0x477d('0x13ba'),'faxPause',_0x477d('0x624'),_0x477d('0x13d3')];_0x522b74['currentUser']=_0x395c12[_0x477d('0x5c')]();_0x522b74['availableStates']=[_0x477d('0x5ed'),_0x477d('0x13d4'),_0x477d('0x13fb'),_0x477d('0x13d5'),_0x477d('0x13d6')];_0x522b74[_0x477d('0xf39')]=_0x427cc8||{'count':0x0,'rows':[]};_0x522b74[_0x477d('0x613')]=_0x22c595;_0x522b74[_0x477d('0x3a5')]=_0x114403;_0x522b74[_0x477d('0x3ac')]=_0x8ce15&&_0x8ce15[_0x477d('0x3bb')]==0x1?_0x8ce15[_0x477d('0xf2')][0x0]:null;_0x522b74['crudPermissions']=_0x395c12[_0x477d('0xd81')](_0x522b74['userProfileSection']?_0x522b74['userProfileSection'][_0x477d('0xd66')]:null);_0x522b74['agents']=_0x4ed4d0?_[_0x477d('0xdb5')](_0x4ed4d0[_0x477d('0xf2')]?_0x4ed4d0['rows']:[],'id'):{};_0x522b74[_0x477d('0x13d7')]=_0xb71908?_[_0x477d('0xdb5')](_0xb71908[_0x477d('0xf2')]?_0xb71908[_0x477d('0xf2')]:[],'id'):{};_0x522b74[_0x477d('0x13d8')]={};_0x522b74[_0x477d('0x600')]=![];_0x522b74[_0x477d('0x13d9')]=[];_0x522b74[_0x477d('0x13da')]={};for(var _0x5bd5f2 in _0x522b74[_0x477d('0x125c')]){if(_0x522b74[_0x477d('0x125c')][_0x477d('0x3ea')](_0x5bd5f2)){_0x522b74['agents'][_0x5bd5f2]['init']=!![];}}_0x522b74[_0x477d('0x3ef')]={'limit':0xa,'page':0x1,'order':_0x477d('0xcd'),'globalStatusFilter':'','pauseTypeFilter':''};_0x522b74['logout']=_0x1eccf2;_0x522b74[_0x477d('0x19ad')]=_0x5c1b56;_0x522b74['pause']=_0x3e973a;_0x522b74[_0x477d('0x13db')]=_0x3e84f2;_0x522b74[_0x477d('0x13dc')]=_0x339eab;_0x522b74[_0x477d('0x13dd')]=_0xf29d9;_0x522b74['getAgentGlobalStatus']=_0x18c779;_0x522b74[_0x477d('0x13df')]=_0x51a7b9;_0x522b74[_0x477d('0x13e0')]=_0x42f659;_0x522b74[_0x477d('0x13e1')]=_0x33a011;_0x522b74[_0x477d('0x13e2')]=_0xebc9c7;_0x522b74[_0x477d('0x13e3')]=_0x2c5175;_0x522b74[_0x477d('0x71a')]=_0xed70a7;_0x522b74[_0x477d('0x13e6')]=_0x1c8d6d;_0x522b74[_0x477d('0x13e4')]=_0x2f501b;_0x522b74[_0x477d('0xa8a')]=_0x4537d6;_0x2a5447['on']('user:save',_0x522b74[_0x477d('0x13e2')]);_0x2a5447['on'](_0x477d('0x1402'),_0x522b74['onUpdate']);_0x2a5447['on']('user:agentconnect',_0x522b74[_0x477d('0x13e6')]);_0x2a5447['on'](_0x477d('0x13e7'),_0x522b74[_0x477d('0x13e4')]);_0xed70a7();var _0x4b9b8d=_0x28fca9(function(){if(_0x522b74[_0x477d('0x600')]){_0x522b74[_0x477d('0x600')]=![];_0xed70a7();}},0x3e7);function _0xed70a7(_0x5a9eb2){_0x522b74[_0x477d('0x600')]=![];var _0x2752f5=_0x197a0d['defer']();_0x522b74['promise']=_0x2752f5[_0x477d('0x553')];_0x522b74[_0x477d('0x13e8')]=[];_0x522b74[_0x477d('0x13d9')]=[];_[_0x477d('0xe4b')](_0x522b74[_0x477d('0x125c')],function(_0xf91198,_0x439e21){if(_0x522b74[_0x477d('0x13d7')][_0x439e21]){_['merge'](_0xf91198,_[_0x477d('0x10b')](_[_0x477d('0x3fc')](_0x522b74[_0x477d('0x13d7')][_0x439e21],_0x43e092),_0x4ba875));}_0x18c779(_0xf91198);if(_0xf91198[_0x477d('0x13d3')]){_0x522b74[_0x477d('0x13e8')]['push'](_0xf91198);_0x522b74['agentInternal'][_0xf91198[_0x477d('0x324')]]=_0x439e21;}else{_0xf91198[_0x477d('0x13ed')]=_[_0x477d('0x18e6')](moment()['format']('x'));}});if(_0x522b74[_0x477d('0x3ef')][_0x477d('0x13e9')]){_[_0x477d('0x39c')](_0x522b74[_0x477d('0x13e8')],function(_0x179ca7){return _0x179ca7[_0x477d('0x13ea')]!==_0x522b74['query'][_0x477d('0x13e9')];});}if(_0x522b74['query'][_0x477d('0x13eb')]){_[_0x477d('0x39c')](_0x522b74[_0x477d('0x13e8')],function(_0x1b737e){return _0x1b737e[_0x477d('0x19a7')]!==_0x522b74[_0x477d('0x3ef')][_0x477d('0x13eb')];});}if(_0x522b74[_0x477d('0x3ef')][_0x477d('0x3b3')]){_[_0x477d('0x39c')](_0x522b74[_0x477d('0x13e8')],function(_0x4abbd4){return _0x4abbd4[_0x477d('0xcd')][_0x477d('0x449')]()[_0x477d('0x477')](_0x522b74[_0x477d('0x3ef')][_0x477d('0x3b3')][_0x477d('0x449')]())<0x0;});}_0x522b74[_0x477d('0x13e8')]=_0x34a11f(_0x522b74[_0x477d('0x13e8')]);var _0x1cd4a5=(_0x522b74[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x522b74[_0x477d('0x3ef')][_0x477d('0x91d')];_0x522b74[_0x477d('0x13d8')]=_[_0x477d('0x13ec')](_0x522b74['filteredAgents'],_0x1cd4a5)[_0x477d('0x9cd')](0x0,_0x522b74[_0x477d('0x3ef')][_0x477d('0x91d')]);for(var _0x5dba8f=0x0;_0x5dba8f<_0x522b74[_0x477d('0x13d8')][_0x477d('0x79')];_0x5dba8f+=0x1){_0x522b74['order']['push'](_0x522b74[_0x477d('0x13d8')][_0x5dba8f]['id']);}_0x2752f5['resolve']();_0x522b74[_0x477d('0x600')]=!![];}function _0xebc9c7(_0x7cab61){if(_0x522b74[_0x477d('0x125c')][_0x7cab61['id']]){_[_0x477d('0xef')](_0x522b74[_0x477d('0x125c')][_0x7cab61['id']],_[_0x477d('0x10b')](_['omit'](_0x7cab61,_0x43e092),_0x4ba875));_['merge'](_0x522b74[_0x477d('0x13d7')][_0x7cab61['id']],_[_0x477d('0x10b')](_[_0x477d('0x3fc')](_0x7cab61,_0x43e092),_0x4ba875));_0x18c779(_0x522b74[_0x477d('0x125c')][_0x7cab61['id']]);}}function _0x2c5175(_0x155fe3){if(_0x522b74[_0x477d('0x125c')][_0x155fe3['id']]){_[_0x477d('0xef')](_0x522b74['agents'][_0x155fe3['id']],_[_0x477d('0x10b')](_0x155fe3,_0x4ba875));_[_0x477d('0xef')](_0x522b74['rpcAgents'][_0x155fe3['id']],_[_0x477d('0x10b')](_0x155fe3,_0x4ba875));if(_0x155fe3['lastPauseAt']){_0x522b74[_0x477d('0x125c')][_0x155fe3['id']]['globalStatusTime']=_0x155fe3[_0x477d('0x13b7')];_0x522b74[_0x477d('0x13d7')][_0x155fe3['id']][_0x477d('0x13ed')]=_0x155fe3[_0x477d('0x13b7')];}_0x18c779(_0x522b74[_0x477d('0x125c')][_0x155fe3['id']]);}}function _0x1c8d6d(_0x373b3a){if(_0x522b74['agents'][_0x522b74['agentInternal'][_0x373b3a['destaccountcode']]]){_[_0x477d('0xef')](_0x522b74['agents'][_0x522b74[_0x477d('0x13da')][_0x373b3a['destaccountcode']]],_[_0x477d('0x10b')](_0x373b3a,[_0x477d('0x1256'),_0x477d('0x13ef')]));_[_0x477d('0xef')](_0x522b74[_0x477d('0x13d7')][_0x522b74[_0x477d('0x13da')][_0x373b3a[_0x477d('0x13ee')]]],_[_0x477d('0x10b')](_0x373b3a,[_0x477d('0x1256'),_0x477d('0x13ef')]));}}function _0x2f501b(_0x13608f){if(_0x522b74[_0x477d('0x125c')][_0x522b74[_0x477d('0x13da')][_0x13608f[_0x477d('0x13ee')]]]){_0x522b74[_0x477d('0x125c')][_0x522b74[_0x477d('0x13da')][_0x13608f[_0x477d('0x13ee')]]]=_[_0x477d('0x3fc')](_0x522b74[_0x477d('0x125c')][_0x522b74[_0x477d('0x13da')][_0x13608f[_0x477d('0x13ee')]]],['queue',_0x477d('0x13ef')]);_0x522b74['rpcAgents'][_0x522b74[_0x477d('0x13da')][_0x13608f[_0x477d('0x13ee')]]]=_['omit'](_0x522b74[_0x477d('0x13d7')][_0x522b74[_0x477d('0x13da')][_0x13608f[_0x477d('0x13ee')]]],[_0x477d('0x1256'),_0x477d('0x13ef')]);}}function _0x1eccf2(_0x45d53d,_0x4df112){return _0x4996fe['user'][_0x477d('0x38c')]({'id':_0x45d53d['id'],'device':_0x477d('0x11f1'),'agent_id':_0x45d53d['id'],'agent_name':_0x45d53d[_0x477d('0x94')]})['$promise'][_0x477d('0x76')](function(){_0x1b5bee[_0x477d('0x485')]({'title':_0x477d('0x13f0'),'msg':_0x45d53d[_0x477d('0xcd')]+_0x477d('0x13f1')});if(_0x522b74['agents'][_0x45d53d['id']]){_0x522b74['agents'][_0x45d53d['id']]['online']=![];}if(_0x522b74[_0x477d('0x13d7')][_0x45d53d['id']]){_0x522b74[_0x477d('0x13d7')][_0x45d53d['id']][_0x477d('0x13d3')]=![];}_0xed70a7();})[_0x477d('0xf8')](function(_0x99848a){_0x1b5bee['error']({'title':_0x99848a[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x99848a[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x99848a[_0x477d('0x44d')]:_0x477d('0x13f2'),'msg':_0x99848a[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x99848a[_0x477d('0x451')][_0x477d('0x452')]):_0x99848a[_0x477d('0x453')]()});});}function _0x3e973a(_0x39866e,_0x3c2c61){return _0x4996fe[_0x477d('0x380')][_0x477d('0x657')]({'id':_0x39866e['id'],'type':_0x3c2c61})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x1978b9){if(_0x522b74[_0x477d('0x125c')][_0x39866e['id']]){_[_0x477d('0xef')](_0x522b74[_0x477d('0x125c')][_0x39866e['id']],_['pick'](_0x1978b9,_0x4ba875));}if(_0x522b74[_0x477d('0x13d7')][_0x39866e['id']]){_[_0x477d('0xef')](_0x522b74[_0x477d('0x13d7')][_0x39866e['id']],_[_0x477d('0x10b')](_0x1978b9,_0x4ba875));}_0x18c779(_0x522b74[_0x477d('0x125c')][_0x39866e['id']]);})[_0x477d('0xf8')](function(_0x1ef7b8){_0x1b5bee[_0x477d('0x44a')]({'title':_0x1ef7b8[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x1ef7b8[_0x477d('0x3c3')]+'\x20-\x20'+_0x1ef7b8['statusText']:_0x477d('0x13f2'),'msg':_0x1ef7b8['data']?JSON['stringify'](_0x1ef7b8['data'][_0x477d('0x452')]):_0x1ef7b8[_0x477d('0x453')]()});});}function _0x3e84f2(_0x1dff77){return _0x4996fe[_0x477d('0x380')]['unpause']({'id':_0x1dff77['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x2aeb35){if(_0x522b74['agents'][_0x1dff77['id']]){_[_0x477d('0xef')](_0x522b74[_0x477d('0x125c')][_0x1dff77['id']],_[_0x477d('0x10b')](_0x2aeb35,_0x4ba875));}if(_0x522b74['rpcAgents'][_0x1dff77['id']]){_[_0x477d('0xef')](_0x522b74[_0x477d('0x13d7')][_0x1dff77['id']],_[_0x477d('0x10b')](_0x2aeb35,_0x4ba875));}_0x18c779(_0x522b74[_0x477d('0x125c')][_0x1dff77['id']]);})[_0x477d('0xf8')](function(_0x59fcec){_0x1b5bee['error']({'title':_0x59fcec[_0x477d('0x3c3')]?'API:'+_0x59fcec[_0x477d('0x3c3')]+'\x20-\x20'+_0x59fcec[_0x477d('0x44d')]:'api.staff.save','msg':_0x59fcec[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x59fcec[_0x477d('0x451')][_0x477d('0x452')]):_0x59fcec[_0x477d('0x453')]()});});}function _0x339eab(_0x1268f8){_0x37ca85[_0x477d('0x395')](_0x37ca85[_0x477d('0x120a')]()['clickOutsideToClose'](!![])[_0x477d('0x49a')](_0x477d('0x19ae'))['htmlContent'](_0x477d('0x13f4'))['ok']('Ok')[_0x477d('0xd7c')](_0x1268f8));}function _0x5c1b56(_0x292648,_0x2306c8){_0x37ca85[_0x477d('0x395')]({'controller':_0x477d('0x19af'),'controllerAs':'vm','templateUrl':_0x477d('0x13f5'),'parent':angular[_0x477d('0x398')](_0x13f537['body']),'targetEvent':_0x2306c8,'clickOutsideToClose':!![],'locals':{'agent':_0x292648,'agents':[],'channel':_0x477d('0x154'),'direction':'inbound','crudPermissions':_0x522b74[_0x477d('0xd66')]}});}function _0x51a7b9(_0x3a1100){return _0x3a1100===_0x477d('0x657')||_0x3a1100===_0x477d('0x13f6');}function _0x42f659(_0x2db5f8){return _0x2db5f8===_0x477d('0x657');}function _0x33a011(_0x16fa98){return _0x16fa98===_0x477d('0x13f6');}function _0x2e8e91(_0x2d9506){return _0x2d9506===_0x477d('0x13f7')||_0x2d9506==='unknown'||_0x2d9506==='unavailable'||_0x2d9506===_0x477d('0x5ed')||_['isNil'](_0x2d9506);}function _0xf29d9(_0xa974ae,_0x116fb4){if(_0x116fb4==='voice'){if(_0xa974ae[_0x116fb4+_0x477d('0x135e')]!==_0x477d('0x13f7')){return _0xa974ae[_0x116fb4+'Status'];}if(_0xa974ae[_0x116fb4+_0x477d('0x13fa')]){_0xa974ae[_0x116fb4+_0x477d('0x135e')]=_0x477d('0x657');return'pause';}return _0x477d('0x13f7');}else{if(_0xa974ae[_0x116fb4+_0x477d('0x13fa')]){_0xa974ae[_0x116fb4+_0x477d('0x135e')]=_0x477d('0x657');return _0x477d('0x657');}return _0xa974ae[_0x116fb4+_0x477d('0x135e')];}}function _0x18c779(_0x6373cb){var _0x211e33='unknown';if(_[_0x477d('0x943')]([_0xf29d9(_0x6373cb,_0x477d('0x108')),_0xf29d9(_0x6373cb,_0x477d('0xb6')),_0xf29d9(_0x6373cb,'mail'),_0xf29d9(_0x6373cb,_0x477d('0x22a')),_0xf29d9(_0x6373cb,_0x477d('0x26e')),_0xf29d9(_0x6373cb,_0x477d('0x35d')),_0xf29d9(_0x6373cb,_0x477d('0x154'))],_0x51a7b9)){_0x211e33=_0x477d('0x657');}else if(_['some']([_0xf29d9(_0x6373cb,'voice'),_0xf29d9(_0x6373cb,_0x477d('0xb6')),_0xf29d9(_0x6373cb,_0x477d('0x1d6')),_0xf29d9(_0x6373cb,_0x477d('0x22a')),_0xf29d9(_0x6373cb,_0x477d('0x26e')),_0xf29d9(_0x6373cb,_0x477d('0x35d')),_0xf29d9(_0x6373cb,'fax')],_0x51a7b9)){_0x211e33=_0x477d('0x13f6');}else if(_[_0x477d('0x943')]([_0xf29d9(_0x6373cb,_0x477d('0x108')),_0xf29d9(_0x6373cb,_0x477d('0xb6')),_0xf29d9(_0x6373cb,'mail'),_0xf29d9(_0x6373cb,'openchannel'),_0xf29d9(_0x6373cb,_0x477d('0x26e')),_0xf29d9(_0x6373cb,'whatsapp'),_0xf29d9(_0x6373cb,_0x477d('0x154'))],_0x2e8e91)){_0x211e33=_0x477d('0x13f7');}else{_0x211e33=_0x477d('0x13fb');}if(_0x6373cb['globalStatus']!==_0x211e33){_0x6373cb[_0x477d('0x13ea')]=_0x211e33;if(_0x6373cb['init']){_0x6373cb[_0x477d('0x5ee')]=![];_0x6373cb[_0x477d('0x13ed')]=_0x51a7b9(_0x211e33)?_['toNumber'](moment(_0x6373cb[_0x477d('0x13b7')])[_0x477d('0x12f')]('x')):_[_0x477d('0x13fc')]([_0x6373cb[_0x477d('0x19ac')],_0x6373cb[_0x477d('0x13c9')],_0x6373cb['mailStatusTime'],_0x6373cb[_0x477d('0x13fd')],_0x6373cb[_0x477d('0x13fe')],_0x6373cb['openchannelStatusTime'],_0x6373cb[_0x477d('0x13cc')]]);}else{_0x6373cb[_0x477d('0x13ed')]=_[_0x477d('0x18e6')](moment()[_0x477d('0x12f')]('x'));}}}function _0x34a11f(_0x5034cb){var _0x54a80d=_[_0x477d('0x1337')](_0x522b74[_0x477d('0x3ef')][_0x477d('0x13d9')],'-')?'desc':'asc';return _[_0x477d('0x1401')](_0x5034cb,[_0x522b74[_0x477d('0x3ef')][_0x477d('0x13d9')]['replace']('-','')],[_0x54a80d]);}function _0x23082f(){if(_0x4b9b8d){_0x28fca9[_0x477d('0x4f0')](_0x4b9b8d);_0x4b9b8d=null;}}function _0x4537d6(_0x3a4285,_0x449fb0){return _0x4996fe[_0x477d('0x380')]['update']({'id':_0x3a4285['id']},{'screenrecording':_0x449fb0})[_0x477d('0x38b')][_0x477d('0xf8')](function(_0x229beb){_0x1b5bee[_0x477d('0x44a')]({'title':_0x229beb[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x229beb['status']+_0x477d('0x44c')+_0x229beb[_0x477d('0x44d')]:_0x477d('0x19b0'),'msg':_0x229beb['data']?JSON[_0x477d('0x3fb')](_0x229beb[_0x477d('0x451')][_0x477d('0x452')]):_0x229beb['toString']()});});}_0x15e454['$on'](_0x477d('0x505'),function(){_0x2a5447[_0x477d('0x6b8')]('user:save');_0x2a5447['removeAllListeners']('user:update');_0x2a5447['removeAllListeners'](_0x477d('0x1403'));_0x2a5447[_0x477d('0x6b8')](_0x477d('0x13e7'));_0x23082f();});}}());(function(){'use strict';_0x57f67d[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x3fe'),'$mdDialog','$q',_0x477d('0x475'),'$interval',_0x477d('0xf2f'),_0x477d('0x1404'),_0x477d('0x386'),_0x477d('0x5a3'),'toasty',_0x477d('0x3a5'),_0x477d('0x3ac'),'Auth'];angular[_0x477d('0xb')](_0x477d('0x34'))[_0x477d('0x3ba')](_0x477d('0x19b1'),_0x57f67d);function _0x57f67d(_0x4b546e,_0xfc1db6,_0x2d0b71,_0x545599,_0x141287,_0x182cdb,_0x2eb350,_0x1d52fb,_0x1566d7,_0x450072,_0x561248,_0x433929,_0x332aa4,_0x2350e0){var _0x2f7e6f=this;var _0x5446b2=[_0x477d('0x19b2'),_0x477d('0x1405'),_0x477d('0x10c'),_0x477d('0x10e'),'pTalking',_0x477d('0x1407'),_0x477d('0x452'),_0x477d('0x16a8'),_0x477d('0x1408'),_0x477d('0x1409'),_0x477d('0x140a')];_0x2f7e6f[_0x477d('0x3e5')]=_0x2350e0[_0x477d('0x5c')]();_0x2f7e6f['count']=_0x2eb350[_0x477d('0x3bb')]?_0x2eb350[_0x477d('0x3bb')]:0x0;_0x2f7e6f[_0x477d('0xf2f')]=_0x2eb350?_[_0x477d('0xdb5')](_0x2eb350['rows']?_0x2eb350[_0x477d('0xf2')]:[],'id'):{};_0x2f7e6f[_0x477d('0x1404')]=_0x1d52fb?_['keyBy'](_0x1d52fb['rows']?_0x1d52fb['rows']:[],'id'):{};_0x2f7e6f[_0x477d('0x3a5')]=_0x433929;_0x2f7e6f[_0x477d('0x3ac')]=_0x332aa4&&_0x332aa4['count']==0x1?_0x332aa4[_0x477d('0xf2')][0x0]:null;_0x2f7e6f[_0x477d('0xd66')]=_0x2350e0['parseCrudPermissions'](_0x2f7e6f['userProfileSection']?_0x2f7e6f[_0x477d('0x3ac')][_0x477d('0xd66')]:null);if(_0x2350e0[_0x477d('0x56')](_0x477d('0x5f'))){_0x2f7e6f[_0x477d('0x3ef')]={'type':'inbound','sort':'-updatedAt','limit':0xa,'page':0x1};}else{_0x2f7e6f[_0x477d('0x3ef')]={'id':_0x2f7e6f['currentUser']['id'],'channel':'fax','type':_0x477d('0x9e'),'sort':_0x477d('0x59'),'limit':0xa,'page':0x1};}_0x2f7e6f[_0x477d('0x485')]=_0x14707e;_0x2f7e6f[_0x477d('0x1418')]=_0x3f7841;_0x2f7e6f[_0x477d('0x1995')]=_0x4843a6;_0x2f7e6f[_0x477d('0x140b')]=_0x58502a;_0x2f7e6f[_0x477d('0x140c')]=_0x1e3c08;_0x2f7e6f[_0x477d('0x13e2')]=_0x3700f1;_0x2f7e6f['onSaveMember']=_0x34bff4;_0x2f7e6f[_0x477d('0x1413')]=_0x41fb7f;_0x2f7e6f[_0x477d('0x140e')]=_0x3651d2;_0x2f7e6f[_0x477d('0x140f')]=_0x82923b;_0x2f7e6f[_0x477d('0x1410')]=_0x1d7df1;_0x2f7e6f[_0x477d('0x6ad')]=_0x5192be;_0x2f7e6f[_0x477d('0x13d9')]=[];_[_0x477d('0xe4b')](_0x2f7e6f[_0x477d('0xf2f')],function(_0x48f8dc,_0x8ef1b9){_0x2f7e6f[_0x477d('0x13d9')][_0x477d('0x3a7')](_0x48f8dc['id']);});_0x450072['on']('fax_queue:save',_0x2f7e6f[_0x477d('0x13e2')]);_0x450072['on'](_0x477d('0x16e8'),_0x2f7e6f[_0x477d('0x140d')]);_0x450072['on'](_0x477d('0x16e9'),_0x2f7e6f[_0x477d('0x1413')]);_0x450072['on'](_0x477d('0x1402'),_0x2f7e6f[_0x477d('0x140e')]);_0x450072['on'](_0x477d('0x1414'),_0x2f7e6f[_0x477d('0x1410')]);_0x450072['on'](_0x477d('0x1415'),_0x2f7e6f[_0x477d('0x140f')]);function _0x5192be(){var _0x47d760=[];_[_0x477d('0xe4b')](_0x2f7e6f['queues'],function(_0xa815e3,_0x21aaa4){_0xa815e3[_0x477d('0x140a')]=0x0;_0xa815e3['loggedInDb']=0x0;_0x2f7e6f[_0x477d('0xf2f')][_0x21aaa4][_0x477d('0x125c')]={};_0x47d760['push'](_0x1566d7[_0x477d('0xe48')][_0x477d('0x1417')]({'id':_0x21aaa4})['$promise']);if(_0x2f7e6f[_0x477d('0x1404')][_0x21aaa4]){_[_0x477d('0xef')](_0xa815e3,_[_0x477d('0x10b')](_0x2f7e6f[_0x477d('0x1404')][_0x21aaa4],_0x5446b2));}});return _0x545599[_0x477d('0x7c')](_0x47d760)[_0x477d('0x76')](function(_0x508628){for(var _0x4e7f6a=0x0;_0x4e7f6a<_0x508628[_0x477d('0x79')];_0x4e7f6a+=0x1){for(var _0x5c5bef=0x0;_0x5c5bef<_0x508628[_0x4e7f6a]['rows'][_0x477d('0x79')];_0x5c5bef++){if(_0x508628[_0x4e7f6a][_0x477d('0xf2')][_0x5c5bef][_0x477d('0x140a')]){_0x2f7e6f[_0x477d('0xf2f')][_0x508628[_0x4e7f6a][_0x477d('0xf2')][_0x5c5bef][_0x477d('0x1919')]][_0x477d('0x140a')]++;}_0x2f7e6f['queues'][_0x508628[_0x4e7f6a]['rows'][_0x5c5bef][_0x477d('0x1919')]][_0x477d('0x1416')]++;_0x2f7e6f[_0x477d('0xf2f')][_0x508628[_0x4e7f6a]['rows'][_0x5c5bef][_0x477d('0x1919')]][_0x477d('0x125c')][_0x508628[_0x4e7f6a]['rows'][_0x5c5bef][_0x477d('0x125b')]]=_0x508628[_0x4e7f6a][_0x477d('0xf2')][_0x5c5bef][_0x477d('0x1919')];}}})[_0x477d('0xf8')](function(_0x3e8600){console['error'](_0x3e8600);});}function _0x3700f1(_0x1aec0a){if(_0x2f7e6f['queues'][_0x1aec0a['id']]){_[_0x477d('0xef')](_0x2f7e6f[_0x477d('0xf2f')][_0x1aec0a['id']],_['pick'](_0x1aec0a,_0x5446b2));}}function _0x34bff4(_0x1f771f){if(_0x2f7e6f['queues'][_0x1f771f[_0x477d('0x1919')]]){_0x2f7e6f[_0x477d('0xf2f')][_0x1f771f[_0x477d('0x1919')]][_0x477d('0x1416')]++;}}function _0x41fb7f(_0x43cf73){if(_0x2f7e6f[_0x477d('0xf2f')][_0x43cf73[_0x477d('0x1919')]]){_0x2f7e6f[_0x477d('0xf2f')][_0x43cf73['FaxQueueId']]['loggedInDb']--;}}function _0x3651d2(_0x2763bd){console[_0x477d('0x7b')](_0x477d('0x140e'),_0x2763bd);if(_0x2763bd[_0x477d('0x624')]){_['forIn'](_0x2f7e6f[_0x477d('0xf2f')],function(_0x5a8735,_0x47d23e){if(_0x5a8735[_0x477d('0x125c')][_0x2763bd['id']]){_0x5a8735[_0x477d('0x140a')]+=0x1;console[_0x477d('0x7b')](_0x477d('0x657'));}});}else if(!_0x2763bd[_0x477d('0x624')]){_[_0x477d('0xe4b')](_0x2f7e6f['queues'],function(_0x475216,_0x276e9f){if(_0x475216[_0x477d('0x125c')][_0x2763bd['id']]){if(_0x475216[_0x477d('0x140a')]>0x0){_0x475216[_0x477d('0x140a')]-=0x1;console['log'](_0x477d('0x15a7'));}}});}}function _0x82923b(_0x2e791b){console[_0x477d('0x7b')]('onLogged',_0x2e791b);if(_0x2f7e6f[_0x477d('0xf2f')][_0x2e791b[_0x477d('0x1919')]]){_0x2f7e6f[_0x477d('0xf2f')][_0x2e791b[_0x477d('0x1919')]]['loggedInDb']+=0x1;_0x2f7e6f[_0x477d('0xf2f')][_0x2e791b[_0x477d('0x1919')]][_0x477d('0x125c')][_0x2e791b[_0x477d('0x125b')]]=_0x2e791b['FaxQueueId'];}}function _0x1d7df1(_0x49b1d1){console[_0x477d('0x7b')]('onLogout',_0x49b1d1);if(_0x2f7e6f[_0x477d('0xf2f')][_0x49b1d1[_0x477d('0x1919')]]&&_0x2f7e6f[_0x477d('0xf2f')][_0x49b1d1[_0x477d('0x1919')]][_0x477d('0x1416')]>0x0){_0x2f7e6f[_0x477d('0xf2f')][_0x49b1d1[_0x477d('0x1919')]]['loggedInDb']-=0x1;delete _0x2f7e6f[_0x477d('0xf2f')][_0x49b1d1[_0x477d('0x1919')]][_0x477d('0x125c')][_0x49b1d1['UserId']];}}var _0x54d5f1=!![];var _0x38ada8=0x1;_0x4b546e[_0x477d('0x4b5')](_0x477d('0xd98'),function(_0x3742c1,_0x757c8f){if(_0x54d5f1){_0xfc1db6(function(){_0x54d5f1=![];});}else{if(!_0x757c8f){_0x38ada8=_0x2f7e6f[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x3742c1!==_0x757c8f){_0x2f7e6f['query']['page']=0x1;}if(!_0x3742c1){_0x2f7e6f[_0x477d('0x3ef')]['page']=_0x38ada8;}_0x2f7e6f[_0x477d('0x1418')]();}});function _0x14707e(_0x7d6779){_0x2f7e6f[_0x477d('0x3bb')]=_0x7d6779['count'];_0x2f7e6f[_0x477d('0xf2f')]=_0x7d6779?_['keyBy'](_0x7d6779[_0x477d('0xf2')]?_0x7d6779[_0x477d('0xf2')]:[],'id'):{};if(_0x7d6779[_0x477d('0xf2')]){_0x2f7e6f['order']=[];for(var _0x3c1b11=0x0;_0x3c1b11<_0x7d6779['rows'][_0x477d('0x79')];_0x3c1b11++){_0x2f7e6f[_0x477d('0x13d9')]['push'](_0x7d6779['rows'][_0x3c1b11]['id']);}}_0x5192be();}function _0x3f7841(){_0x2f7e6f[_0x477d('0x3ef')][_0x477d('0x91c')]=(_0x2f7e6f[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x2f7e6f[_0x477d('0x3ef')][_0x477d('0x91d')];if(_0x2350e0[_0x477d('0x56')](_0x477d('0x5f'))){_0x2f7e6f['promise']=_0x1566d7[_0x477d('0xe48')][_0x477d('0x376')](_0x2f7e6f[_0x477d('0x3ef')],_0x14707e)['$promise'];}else{_0x2f7e6f[_0x477d('0x3ef')]['id']=_0x2f7e6f[_0x477d('0x3a5')]['id'];_0x2f7e6f[_0x477d('0x3ef')]['section']=_0x477d('0x155');_0x2f7e6f[_0x477d('0x553')]=_0x1566d7[_0x477d('0x3a5')][_0x477d('0xd9a')](_0x2f7e6f[_0x477d('0x3ef')],_0x14707e)['$promise'];}}function _0x4843a6(_0x53dc8e,_0xe5a8b0){_0x2d0b71[_0x477d('0x395')]({'controller':_0x477d('0x197a'),'controllerAs':'vm','templateUrl':_0x477d('0x199a'),'parent':angular[_0x477d('0x398')](_0x141287['body']),'targetEvent':_0x53dc8e,'clickOutsideToClose':!![],'locals':{'faxQueue':_0xe5a8b0,'faxQueues':_['values'](_0x2f7e6f[_0x477d('0xf2f')]),'license':null,'setting':null,'crudPermissions':_0x2f7e6f['crudPermissions']}});}function _0x58502a(_0xc2141d,_0x2e9293){_0x2d0b71[_0x477d('0x395')]({'controller':_0x477d('0x1986'),'controllerAs':'vm','templateUrl':_0x477d('0x1990'),'parent':angular['element'](_0x141287['body']),'targetEvent':_0xc2141d,'clickOutsideToClose':!![],'locals':{'faxQueue':_0x2e9293,'faxQueues':_0x2f7e6f[_0x477d('0xf2f')]?_0x2f7e6f[_0x477d('0xf2f')][_0x477d('0xf2')]:[],'realtime':![],'crudPermissions':_0x2f7e6f[_0x477d('0xd66')]}});}function _0x1e3c08(_0x56a95b){return _0x1566d7[_0x477d('0xe48')][_0x477d('0x710')](_0x56a95b)[_0x477d('0x38b')][_0x477d('0x76')](function(){_0x561248['success']({'title':_0x477d('0x141a'),'msg':_0x56a95b[_0x477d('0x94')]?_0x56a95b[_0x477d('0x94')]+'\x20has\x20been\x20updated!':''});})['catch'](function(_0x5316ef){_0x561248[_0x477d('0x44a')]({'title':_0x477d('0x141b'),'msg':_0x5316ef[_0x477d('0x452')]});});}_0x4b546e[_0x477d('0x4ec')](_0x477d('0x505'),function(){_0x450072[_0x477d('0x6b8')](_0x477d('0x16e4'));_0x450072[_0x477d('0x6b8')](_0x477d('0x16e9'));_0x450072[_0x477d('0x6b8')](_0x477d('0x16e8'));_0x450072[_0x477d('0x6b8')]('user:update');_0x450072['removeAllListeners']('userVoiceQueue:remove');_0x450072[_0x477d('0x6b8')]('userVoiceQueue:save');});}}());(function(){'use strict';angular[_0x477d('0xb')](_0x477d('0x0'))['factory'](_0x477d('0x13b4'),_0x2453d0);function _0x2453d0(){return{'status':{'registered':_0x477d('0x141d'),'unregistered':'red-300-fg\x20icon-close-circle','lagged':_0x477d('0x141e'),'reachable':'green-300-fg\x20icon-checkbox-marked-circle','unreachable':_0x477d('0x141e'),'unknown':_0x477d('0x141f')},'state':{'unknown':_0x477d('0x1422'),'not_inuse':_0x477d('0x1420'),'inuse':_0x477d('0x19b3'),'busy':_0x477d('0x1421'),'invalid':'grey-fg\x20icon-phone-hangup','unavailable':_0x477d('0x1422'),'ringing':_0x477d('0x1423'),'ringinuse':'blue-300-fg\x20icon-phone-incoming','onhold':_0x477d('0x1424')},'channelStatus':{'ring':_0x477d('0x1423'),'up':_0x477d('0x1425'),'hangup':_0x477d('0x1426')},'channelStatusOut':{'ring':_0x477d('0x19b4'),'up':_0x477d('0x1425'),'hangup':_0x477d('0x1426')}};}}());(function(){'use strict';_0x9e40c9[_0x477d('0xa')]=[_0x477d('0x474'),'$state',_0x477d('0x5a3')];angular['module']('app.fax')[_0x477d('0x3ba')]('FaxRealtimeController',_0x9e40c9);function _0x9e40c9(_0x41bcd0,_0x4cc957,_0x57468b){var _0x561a43=this;_0x57468b[_0x477d('0x1427')]();_0x57468b[_0x477d('0x678')]();_0x561a43[_0x477d('0xe95')]=0x0;switch(_0x4cc957[_0x477d('0x548')][_0x477d('0x94')]){case _0x477d('0x19b5'):_0x561a43[_0x477d('0xe95')]=0x0;break;case'app.fax.realtime.trunks':_0x561a43[_0x477d('0xe95')]=0x1;break;case _0x477d('0x165'):_0x561a43[_0x477d('0xe95')]=0x2;break;case _0x477d('0x168'):_0x561a43[_0x477d('0xe95')]=0x3;break;default:_0x561a43[_0x477d('0xe95')]=0x0;_0x4cc957['go'](_0x477d('0x19b5'));}_0x41bcd0[_0x477d('0x4b5')]('vm.selectedTab',function(_0x1ca5e7,_0x182032){if(_0x1ca5e7!==_0x182032){switch(_0x1ca5e7){case 0x0:_0x4cc957['go']('app.fax.realtime.agents');break;case 0x1:_0x4cc957['go']('app.fax.realtime.trunks');break;case 0x2:_0x4cc957['go'](_0x477d('0x165'));break;case 0x3:_0x4cc957['go'](_0x477d('0x168'));break;default:_0x4cc957['go'](_0x477d('0x19b5'));}}});}}());(function(){'use strict';_0x3d4a8f['$inject']=[_0x477d('0x474'),_0x477d('0x3fe'),_0x477d('0x384'),_0x477d('0xf2e'),_0x477d('0x19b6'),_0x477d('0x386'),'socket',_0x477d('0x13b4'),'$state',_0x477d('0x3a5'),_0x477d('0x3ac'),_0x477d('0x55')];angular[_0x477d('0xb')](_0x477d('0x34'))[_0x477d('0x3ba')](_0x477d('0x19b7'),_0x3d4a8f);function _0x3d4a8f(_0x1c7a9e,_0xd25296,_0x5804ab,_0x2dd909,_0x5289b9,_0x3d9db9,_0x558dd3,_0x155916,_0x1bb0d2,_0x5bf2db,_0x732ea6,_0x5c7fd2){var _0x3bde26=this;var _0x92d58b=['status',_0x477d('0x19b8'),_0x477d('0x19b9'),_0x477d('0x3c9'),_0x477d('0x3cf'),_0x477d('0x324'),_0x477d('0xe'),_0x477d('0x3c3')];_0x3bde26[_0x477d('0x3e5')]=_0x5c7fd2[_0x477d('0x5c')]();_0x3bde26[_0x477d('0x3bb')]=_0x2dd909[_0x477d('0x3bb')];_0x3bde26[_0x477d('0xf2e')]=_0x2dd909?_0x2dd909[_0x477d('0xf2')]:[];_0x3bde26[_0x477d('0x19b6')]=_0x5289b9?_0x5289b9['rows']?_0x5289b9[_0x477d('0xf2')]:[]:[];_0x3bde26[_0x477d('0x3ef')]={'fields':'id,name','active':!![],'sort':'-updatedAt','limit':0xa,'page':0x1};_0x3bde26[_0x477d('0x19ba')]=_0x155916[_0x477d('0x3c3')];_0x3bde26['stateClass']=_0x155916[_0x477d('0xe')];_0x3bde26[_0x477d('0x3a5')]=_0x5bf2db;_0x3bde26[_0x477d('0x3ac')]=_0x732ea6&&_0x732ea6[_0x477d('0x3bb')]==0x1?_0x732ea6['rows'][0x0]:null;_0x3bde26[_0x477d('0xd66')]=_0x5c7fd2[_0x477d('0xd81')](_0x3bde26[_0x477d('0x3ac')]?_0x3bde26[_0x477d('0x3ac')]['crudPermissions']:null);_0x3bde26[_0x477d('0x485')]=_0x18d7fd;_0x3bde26[_0x477d('0x6ad')]=_0x265126;_0x3bde26[_0x477d('0x13dc')]=_0x207bf9;_0x3bde26[_0x477d('0x19bb')]=_0x114c05;_0x3bde26[_0x477d('0x19bc')]=_0x56482b;_0x3bde26[_0x477d('0x13e2')]=_0x52ee23;_0x558dd3['on'](_0x477d('0x19bd'),_0x3bde26[_0x477d('0x13e2')]);function _0x265126(){var _0x559825;for(var _0x549c81=0x0;_0x549c81<_0x3bde26['trunks']['length'];_0x549c81+=0x1){_0x559825=_['findIndex'](_0x3bde26[_0x477d('0x19b6')],['id',_0x3bde26[_0x477d('0xf2e')][_0x549c81]['id']]);if(_0x559825>=0x0){_[_0x477d('0xef')](_0x3bde26[_0x477d('0xf2e')][_0x549c81],_[_0x477d('0x10b')](_0x3bde26[_0x477d('0x19b6')][_0x559825],_0x92d58b));}}}function _0x207bf9(_0x1f1435){_0x5804ab[_0x477d('0x395')](_0x5804ab['alert']()[_0x477d('0x13f3')](!![])[_0x477d('0x49a')](_0x477d('0x19ae'))[_0x477d('0xd92')]('
TODO\x20legend\x20status\x20+\x20state
')['ok']('Ok')[_0x477d('0xd7c')](_0x1f1435));}function _0x3f18c5(_0xfc6420,_0x1ca789,_0x430356){if(_0x1ca789>=0x0){_[_0x477d('0xef')](_0xfc6420[_0x1ca789],_[_0x477d('0x10b')](_0x430356,_0x92d58b));}}function _0x52ee23(_0x157d11){var _0x336dfb=_[_0x477d('0x45a')](_0x3bde26[_0x477d('0xf2e')],['id',_0x157d11['id']]);var _0x1ee2f8=_[_0x477d('0x45a')](_0x3bde26[_0x477d('0x19b6')],['id',_0x157d11['id']]);_0x3f18c5(_0x3bde26[_0x477d('0xf2e')],_0x336dfb,_0x157d11);_0x3f18c5(_0x3bde26[_0x477d('0x19b6')],_0x1ee2f8,_0x157d11);}var _0x1d432=!![];var _0x1092d9=0x1;_0x1c7a9e[_0x477d('0x4b5')](_0x477d('0xd98'),function(_0x156304,_0x23a7ae){if(_0x1d432){_0xd25296(function(){_0x1d432=![];});}else{if(!_0x23a7ae){_0x1092d9=_0x3bde26[_0x477d('0x3ef')]['page'];}if(_0x156304!==_0x23a7ae){_0x3bde26[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0x156304){_0x3bde26[_0x477d('0x3ef')][_0x477d('0xe03')]=_0x1092d9;}_0x3bde26[_0x477d('0x19bb')]();}});function _0x18d7fd(_0x5317f9){_0x3bde26[_0x477d('0x3bb')]=_0x5317f9['count'];_0x3bde26[_0x477d('0xf2e')]=_0x5317f9?_0x5317f9[_0x477d('0xf2')]?_0x5317f9['rows']:[]:[];_0x265126();}function _0x114c05(){_0x3bde26[_0x477d('0x3ef')][_0x477d('0x91c')]=(_0x3bde26[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x3bde26[_0x477d('0x3ef')][_0x477d('0x91d')];if(_0x5c7fd2[_0x477d('0x56')]('admin')){_0x3bde26[_0x477d('0x553')]=_0x3d9db9[_0x477d('0xaa8')][_0x477d('0x376')](_0x3bde26[_0x477d('0x3ef')],_0x18d7fd)[_0x477d('0x38b')];}else{_0x3bde26[_0x477d('0x3ef')]['id']=_0x3bde26[_0x477d('0x3a5')]['id'];_0x3bde26[_0x477d('0x3ef')]['section']=_0x477d('0x2fa');_0x3bde26[_0x477d('0x553')]=_0x3d9db9[_0x477d('0x3a5')][_0x477d('0xd9a')](_0x3bde26[_0x477d('0x3ef')],_0x18d7fd)[_0x477d('0x38b')];}}_0x1c7a9e[_0x477d('0x4ec')](_0x477d('0x505'),function(){_0x558dd3['removeAllListeners']('trunk:save');});function _0x56482b(_0x3ac26e,_0x1d08da){_0x1bb0d2['go'](_0x477d('0x2dd'),{'id':_0x1d08da['id']});}}}());(function(){'use strict';_0x34c959[_0x477d('0xa')]=[_0x477d('0x669'),_0x477d('0x613')];angular[_0x477d('0xb')](_0x477d('0x16d'))[_0x477d('0x3ba')]('AboutController',_0x34c959);function _0x34c959(_0x44d1cb,_0x17d4d1){var _0x50aeb9=this;_0x50aeb9[_0x477d('0x669')]=_0x44d1cb;_0x50aeb9[_0x477d('0x613')]=_0x17d4d1;}}());(function(){'use strict';_0x12b238['$inject']=[_0x477d('0x474'),'$state',_0x477d('0xd64'),'$mdDialog','$q','$translate',_0x477d('0x40e'),_0x477d('0x19be'),_0x477d('0x19bf'),'api','Auth',_0x477d('0x613'),_0x477d('0xc8e'),_0x477d('0xd66')];angular[_0x477d('0xb')]('app.integrations')[_0x477d('0x3ba')]('CreateOrEditDeskAccountDialogController',_0x12b238);function _0x12b238(_0x19283c,_0xc88add,_0x541380,_0x46a38b,_0x943c7,_0x3e27bd,_0xac0430,_0x24290e,_0x48f644,_0x32359b,_0x282071,_0x4cd98a,_0x5bf605,_0x16448b){var _0x4fb2a6=this;_0x4fb2a6[_0x477d('0x3e5')]=_0x282071[_0x477d('0x5c')]();_0x4fb2a6[_0x477d('0xd67')]=[];_0x4fb2a6[_0x477d('0xc8e')]=_0x5bf605;_0x4fb2a6[_0x477d('0x613')]=_0x4cd98a;_0x4fb2a6[_0x477d('0xd66')]=_0x16448b;_0x4fb2a6[_0x477d('0xd68')]={};_0x4fb2a6[_0x477d('0xd69')]=_0x4fb2a6[_0x477d('0xc8e')]&&_0x4fb2a6['setting'][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x4fb2a6[_0x477d('0x49a')]=_0x477d('0x19c0');_0x4fb2a6[_0x477d('0x19bf')]=angular[_0x477d('0x6d9')](_0x48f644);_0x4fb2a6[_0x477d('0x19be')]=_0x24290e;_0x4fb2a6[_0x477d('0x19c1')]=![];if(!_0x4fb2a6['deskAccount']){_0x4fb2a6[_0x477d('0x19bf')]={'type':_0x477d('0x19c2'),'authType':'basic','serverUrl':_0x541380[_0x477d('0x3ce')]()+'://'+_0x541380[_0x477d('0x3c9')]()+(_0x541380[_0x477d('0x3cf')]()?':'+_0x541380[_0x477d('0x3cf')]():'')};_0x4fb2a6['title']=_0x477d('0x19c3');_0x4fb2a6['newDeskAccount']=!![];}_0x4fb2a6[_0x477d('0x19c4')]=_0x1ac56d;_0x4fb2a6[_0x477d('0x19c5')]=_0xe34fe;_0x4fb2a6[_0x477d('0x19c6')]=_0x12fc93;_0x4fb2a6['getDateFromString']=_0x1c72cd;_0x4fb2a6['closeDialog']=_0x450761;function _0x1ac56d(){_0x4fb2a6[_0x477d('0xd67')]=[];_0x32359b[_0x477d('0xbfa')][_0x477d('0xd70')](_0x4fb2a6['deskAccount'])['$promise'][_0x477d('0x76')](function(_0x5f06b8){_0x4fb2a6['deskAccounts'][_0x477d('0x63b')](_0x5f06b8[_0x477d('0xd71')]());_0xac0430[_0x477d('0x485')]({'title':_0x477d('0x19c7'),'msg':_0x4fb2a6[_0x477d('0x19bf')]['name']?_0x4fb2a6[_0x477d('0x19bf')][_0x477d('0x94')]+_0x477d('0xd73'):''});_0x450761(_0x5f06b8);})[_0x477d('0xf8')](function(_0xce32b5){if(_0xce32b5['data']&&_0xce32b5[_0x477d('0x451')]['errors']&&_0xce32b5['data'][_0x477d('0xd67')][_0x477d('0x79')]){_0x4fb2a6['errors']=_0xce32b5[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0xce32b5[_0x477d('0x453')](),'type':_0x477d('0x19c8')}];for(var _0x38b8d9=0x0;_0x38b8d9<_0xce32b5[_0x477d('0x451')][_0x477d('0xd67')]['length'];_0x38b8d9+=0x1){_0xac0430[_0x477d('0x44a')]({'title':_0xce32b5['data'][_0x477d('0xd67')][_0x38b8d9][_0x477d('0x439')],'msg':_0xce32b5[_0x477d('0x451')]['errors'][_0x38b8d9][_0x477d('0x452')]});}}else{_0xac0430[_0x477d('0x44a')]({'title':_0xce32b5[_0x477d('0x3c3')]?_0x477d('0x44b')+_0xce32b5[_0x477d('0x3c3')]+_0x477d('0x44c')+_0xce32b5[_0x477d('0x44d')]:_0x477d('0x19c8'),'msg':_0xce32b5[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0xce32b5[_0x477d('0x451')][_0x477d('0x452')]):_0xce32b5[_0x477d('0x453')]()});}});}function _0xe34fe(){_0x4fb2a6[_0x477d('0xd67')]=[];_0x32359b['intDeskAccount'][_0x477d('0x710')]({'id':_0x4fb2a6['deskAccount']['id']},_0x4fb2a6[_0x477d('0x19bf')])[_0x477d('0x38b')]['then'](function(_0x4c318c){var _0x22028b=_[_0x477d('0x10a')](_0x4fb2a6[_0x477d('0x19be')],{'id':_0x4c318c['id']});if(_0x22028b){_[_0x477d('0xef')](_0x22028b,_[_0x477d('0x10b')](_0x4c318c[_0x477d('0xd71')](),_[_0x477d('0x7f')](_0x22028b)));}_0xac0430['success']({'title':_0x477d('0x19c9'),'msg':_0x4fb2a6[_0x477d('0x19bf')][_0x477d('0x94')]?_0x4fb2a6['deskAccount'][_0x477d('0x94')]+'\x20has\x20been\x20saved!':''});_0x450761(_0x4c318c);})[_0x477d('0xf8')](function(_0x5d29e3){if(_0x5d29e3[_0x477d('0x451')]&&_0x5d29e3[_0x477d('0x451')][_0x477d('0xd67')]&&_0x5d29e3[_0x477d('0x451')]['errors']['length']){_0x4fb2a6['errors']=_0x5d29e3[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x5d29e3[_0x477d('0x453')](),'type':_0x477d('0x19ca')}];for(var _0x234746=0x0;_0x234746<_0x5d29e3['data'][_0x477d('0xd67')][_0x477d('0x79')];_0x234746++){_0xac0430[_0x477d('0x44a')]({'title':_0x5d29e3[_0x477d('0x451')]['errors'][_0x234746][_0x477d('0x439')],'msg':_0x5d29e3[_0x477d('0x451')][_0x477d('0xd67')][_0x234746][_0x477d('0x452')]});}}else{_0xac0430['error']({'title':_0x5d29e3['status']?_0x477d('0x44b')+_0x5d29e3[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x5d29e3[_0x477d('0x44d')]:_0x477d('0x19ca'),'msg':_0x5d29e3['data']?JSON[_0x477d('0x3fb')](_0x5d29e3[_0x477d('0x451')][_0x477d('0x452')]):_0x5d29e3[_0x477d('0x453')]()});}});}function _0x12fc93(_0x15d1b9){_0x4fb2a6['errors']=[];var _0x898c3c=_0x46a38b[_0x477d('0xd78')]()[_0x477d('0x49a')]('Are\x20you\x20sure?')[_0x477d('0xdaf')](_0x477d('0x19cb'))[_0x477d('0x687')](_0x477d('0x19cc'))['ok'](_0x477d('0xd7b'))[_0x477d('0x4f0')](_0x477d('0x688'))[_0x477d('0xd7c')](_0x15d1b9);_0x46a38b['show'](_0x898c3c)[_0x477d('0x76')](function(){_0x32359b[_0x477d('0xbfa')][_0x477d('0xa55')]({'id':_0x4fb2a6[_0x477d('0x19bf')]['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x4fb2a6[_0x477d('0x19be')],{'id':_0x4fb2a6[_0x477d('0x19bf')]['id']});_0xac0430['success']({'title':_0x477d('0x19cd'),'msg':(_0x4fb2a6[_0x477d('0x19bf')][_0x477d('0x94')]||_0x477d('0x19bf'))+_0x477d('0xd7e')});_0x450761(_0x4fb2a6['deskAccount']);})['catch'](function(_0x4376ec){if(_0x4376ec[_0x477d('0x451')]&&_0x4376ec[_0x477d('0x451')][_0x477d('0xd67')]&&_0x4376ec['data'][_0x477d('0xd67')][_0x477d('0x79')]){_0x4fb2a6[_0x477d('0xd67')]=_0x4376ec['data'][_0x477d('0xd67')]||[{'message':_0x4376ec[_0x477d('0x453')](),'type':_0x477d('0x19ce')}];for(var _0x13cb39=0x0;_0x13cb39<_0x4376ec['data'][_0x477d('0xd67')][_0x477d('0x79')];_0x13cb39++){_0xac0430[_0x477d('0x44a')]({'title':_0x4376ec[_0x477d('0x451')][_0x477d('0xd67')][_0x13cb39][_0x477d('0x439')],'msg':_0x4376ec[_0x477d('0x451')]['errors'][_0x13cb39][_0x477d('0x452')]});}}else{_0xac0430[_0x477d('0x44a')]({'title':_0x4376ec['status']?_0x477d('0x44b')+_0x4376ec[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x4376ec['statusText']:'api.intDeskAccount.delete','msg':_0x4376ec['data']?JSON[_0x477d('0x3fb')](_0x4376ec['data'][_0x477d('0x452')]):_0x4376ec[_0x477d('0x452')]||_0x4376ec['toString']()});}});},function(){});}function _0x1c72cd(_0x42e4f2){return _0x42e4f2===null?undefined:new Date(_0x42e4f2);}function _0x450761(_0x5a712c){_0x46a38b[_0x477d('0x3bc')](_0x5a712c);}}}());(function(){'use strict';_0x2bc035[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x387'),_0x477d('0x3c4'),'$mdSidenav',_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x3fe'),_0x477d('0x40d'),'deskAccounts','userProfile',_0x477d('0x3ac'),_0x477d('0x386'),'msUtils','toasty',_0x477d('0x55'),_0x477d('0x613'),_0x477d('0xc8e')];angular[_0x477d('0xb')](_0x477d('0x38'))[_0x477d('0x3ba')]('DeskAccountsController',_0x2bc035);function _0x2bc035(_0x1b606f,_0xe4d5db,_0x1bb9c7,_0x33ef97,_0x23f3ea,_0x40ea86,_0x5e03be,_0x5278bd,_0x209a57,_0x54d471,_0x57295,_0x3ed358,_0x4f02e5,_0x4aab44,_0x3d7db7,_0x274f0d,_0x2a6f5b){var _0x38e109=this;_0x38e109['license']=_0x274f0d;_0x38e109[_0x477d('0xc8e')]=_0x2a6f5b;_0x38e109['currentUser']=_0x3d7db7['getCurrentUser']();_0x38e109[_0x477d('0x19be')]=_0x209a57||{'count':0x0,'rows':[]};_0x38e109[_0x477d('0x3a5')]=_0x54d471;_0x38e109[_0x477d('0x3ac')]=_0x57295&&_0x57295[_0x477d('0x3bb')]==0x1?_0x57295[_0x477d('0xf2')][0x0]:null;_0x38e109['crudPermissions']=_0x3d7db7[_0x477d('0xd81')](_0x38e109['userProfileSection']?_0x38e109[_0x477d('0x3ac')][_0x477d('0xd66')]:null);_0x38e109[_0x477d('0xd82')]=_0x477d('0x19be');_0x38e109[_0x477d('0xd83')]='';_0x38e109[_0x477d('0xd84')]=null;_0x38e109[_0x477d('0x19cf')]=[];_0x38e109[_0x477d('0x3ef')]={'fields':_0x477d('0x196'),'limit':0xa,'page':0x1};_0x38e109[_0x477d('0x138b')]=_[_0x477d('0xdb5')]([{'option':_0x477d('0x19d0'),'value':'\x27integrationTab\x27'},{'option':'New_Tab','value':_0x477d('0x19d1')}],function(_0x40d237){return _['replace'](_0x40d237[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x38e109['arrayauthType']=_[_0x477d('0xdb5')]([{'option':_0x477d('0x19d2'),'value':_0x477d('0x19d3')}],function(_0x4b2498){return _[_0x477d('0x409')](_0x4b2498[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x38e109[_0x477d('0xea6')]=_0x1a415a;_0x38e109[_0x477d('0x19d4')]=_0x30e8c4;_0x38e109['deleteconfirm']=_0x4ff8e9;_0x38e109['success']=_0x44e9d4;_0x38e109[_0x477d('0x19d5')]=_0x353671;_0x38e109['createOrEditDeskAccount']=_0x184a29;_0x38e109[_0x477d('0x19c6')]=_0x5ae1b2;_0x38e109['exportSelectedDeskAccounts']=_0x9abb8c;_0x38e109[_0x477d('0x19d6')]=_0x2a0681;_0x38e109[_0x477d('0x19d7')]=_0x288d6d;_0x38e109['selectAllDeskAccounts']=_0x2bd401;function _0x1a415a(_0x2f8e3c,_0x1fcffb){_0x1bb9c7['go'](_0x477d('0x198'),{'id':_0x2f8e3c['id'],'deskAccount':_0x2f8e3c,'crudPermissions':_0x38e109[_0x477d('0xd66')]});}function _0x30e8c4(_0x11f748,_0x12d85b){return _0x3ed358[_0x477d('0xbfa')][_0x477d('0xe26')]({'id':_0x11f748['id'],'test':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(){_0x4aab44['success']({'title':'DeskAccount\x20properly\x20tested','msg':'Connection\x20succeded!'});})[_0x477d('0xf8')](function(_0x10dae9){_0x4aab44[_0x477d('0x44a')]({'title':'DeskAccount\x20properly\x20tested','msg':_0x10dae9[_0x477d('0x451')]?_0x10dae9[_0x477d('0x451')][_0x477d('0x452')]?_0x10dae9[_0x477d('0x451')][_0x477d('0x452')]:JSON['stringify'](_0x10dae9[_0x477d('0x451')]):_0x10dae9[_0x477d('0x453')]()});});}function _0x4ff8e9(_0x340461,_0x551eba){var _0x29abc3=_0x23f3ea['confirm']()[_0x477d('0x49a')](_0x477d('0xd90')+_[_0x477d('0xd91')](_0x477d('0x19bf'))+'?')[_0x477d('0xd92')](''+(_0x340461[_0x477d('0x94')]||'deskAccount')+''+'\x20will\x20be\x20deleted.')['ariaLabel'](_0x477d('0x19d8'))[_0x477d('0xd7c')](_0x551eba)['ok']('OK')[_0x477d('0x4f0')]('CANCEL');_0x23f3ea['show'](_0x29abc3)[_0x477d('0x76')](function(){_0x5ae1b2(_0x340461);},function(){console[_0x477d('0x7b')]('CANCEL');});}var _0x3ff2ca=!![];var _0x19bcf2=0x1;_0x1b606f[_0x477d('0x4b5')](_0x477d('0xd98'),function(_0xa92d0b,_0x52f887){if(_0x3ff2ca){_0x5e03be(function(){_0x3ff2ca=![];});}else{if(!_0x52f887){_0x19bcf2=_0x38e109[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0xa92d0b!==_0x52f887){_0x38e109[_0x477d('0x3ef')]['page']=0x1;}if(!_0xa92d0b){_0x38e109[_0x477d('0x3ef')][_0x477d('0xe03')]=_0x19bcf2;}_0x38e109['getDeskAccounts']();}});function _0x44e9d4(_0x3a0355){_0x38e109[_0x477d('0x19be')]=_0x3a0355||{'count':0x0,'rows':[]};}function _0x353671(){_0x38e109[_0x477d('0x3ef')][_0x477d('0x91c')]=(_0x38e109['query'][_0x477d('0xe03')]-0x1)*_0x38e109['query'][_0x477d('0x91d')];if(_0x3d7db7[_0x477d('0x56')](_0x477d('0x5f'))){_0x38e109[_0x477d('0x553')]=_0x3ed358[_0x477d('0xbfa')][_0x477d('0x376')](_0x38e109[_0x477d('0x3ef')],_0x44e9d4)['$promise'];}else{_0x38e109[_0x477d('0x3ef')]['id']=_0x38e109[_0x477d('0x3a5')]['id'];_0x38e109[_0x477d('0x3ef')][_0x477d('0xd99')]=_0x477d('0x197');_0x38e109['promise']=_0x3ed358[_0x477d('0x3a5')][_0x477d('0xd9a')](_0x38e109[_0x477d('0x3ef')],_0x44e9d4)['$promise'];}}function _0x184a29(_0x3617ed,_0x1bd0bd){_0x23f3ea[_0x477d('0x395')]({'controller':'CreateOrEditDeskAccountDialogController','controllerAs':'vm','templateUrl':_0x477d('0x19d9'),'parent':angular[_0x477d('0x398')](_0x40ea86[_0x477d('0x399')]),'targetEvent':_0x3617ed,'clickOutsideToClose':!![],'locals':{'deskAccount':_0x1bd0bd,'deskAccounts':_0x38e109[_0x477d('0x19be')]['rows'],'license':_0x38e109['license'],'setting':_0x38e109[_0x477d('0xc8e')],'crudPermissions':_0x38e109[_0x477d('0xd66')]}});}function _0x5ae1b2(_0x39fc98){_0x3ed358[_0x477d('0xbfa')]['delete']({'id':_0x39fc98['id']})[_0x477d('0x38b')]['then'](function(){_[_0x477d('0x39c')](_0x38e109[_0x477d('0x19be')]['rows'],{'id':_0x39fc98['id']});_0x38e109[_0x477d('0x19be')][_0x477d('0x3bb')]-=0x1;if(!_0x38e109[_0x477d('0x19be')][_0x477d('0xf2')][_0x477d('0x79')]){_0x38e109['getDeskAccounts']();}_0x4aab44[_0x477d('0x485')]({'title':_[_0x477d('0xd91')]('DeskAccount')+_0x477d('0xd9d'),'msg':_0x39fc98['name']?_0x39fc98['name']+'\x20has\x20been\x20deleted!':''});})[_0x477d('0xf8')](function(_0x4a691b){if(_0x4a691b[_0x477d('0x451')]&&_0x4a691b[_0x477d('0x451')][_0x477d('0xd67')]&&_0x4a691b['data'][_0x477d('0xd67')][_0x477d('0x79')]){_0x38e109['errors']=_0x4a691b[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x4a691b[_0x477d('0x453')](),'type':_0x477d('0x19da')}];for(var _0x490905=0x0;_0x490905<_0x4a691b[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x490905++){_0x4aab44[_0x477d('0x44a')]({'title':_0x4a691b[_0x477d('0x451')][_0x477d('0xd67')][_0x490905][_0x477d('0x439')],'msg':_0x4a691b[_0x477d('0x451')][_0x477d('0xd67')][_0x490905][_0x477d('0x452')]});}}else{_0x4aab44[_0x477d('0x44a')]({'title':_0x4a691b[_0x477d('0x3c3')]?'API:'+_0x4a691b[_0x477d('0x3c3')]+'\x20-\x20'+_0x4a691b[_0x477d('0x44d')]:_0x477d('0x19da'),'msg':_0x4a691b[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x4a691b[_0x477d('0x451')][_0x477d('0x452')]):_0x4a691b[_0x477d('0x452')]||_0x4a691b['toString']()});}});}function _0x9abb8c(){var _0x30c209=angular[_0x477d('0x6d9')](_0x38e109[_0x477d('0x19cf')]);_0x38e109[_0x477d('0x19cf')]=[];return _0x30c209;}function _0x2a0681(_0x4822aa){var _0x4cc0ec=_0x23f3ea[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x19db'))[_0x477d('0xd92')](''+_0x38e109[_0x477d('0x19cf')][_0x477d('0x79')]+_0x477d('0xda0')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x19dc'))[_0x477d('0xd7c')](_0x4822aa)['ok']('OK')['cancel'](_0x477d('0xd97'));_0x23f3ea[_0x477d('0x395')](_0x4cc0ec)[_0x477d('0x76')](function(){_0x38e109[_0x477d('0x19cf')]['forEach'](function(_0x16d071){_0x5ae1b2(_0x16d071);});_0x38e109[_0x477d('0x19cf')]=[];});}function _0x288d6d(){_0x38e109['selectedDeskAccounts']=[];}function _0x2bd401(){_0x38e109[_0x477d('0x19cf')]=_0x38e109[_0x477d('0x19be')][_0x477d('0xf2')];}}}());(function(){'use strict';_0x193514[_0x477d('0xa')]=[_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x386'),_0x477d('0x40e'),'Auth'];angular[_0x477d('0xb')](_0x477d('0x38'))[_0x477d('0x3ba')](_0x477d('0x19dd'),_0x193514);function _0x193514(_0x4d1d06,_0x5a4e6d,_0x520b0f,_0x36e01d,_0x2e0352){var _0x36f873=this;_0x36f873['currentUser']=_0x2e0352[_0x477d('0x5c')]();_0x36f873[_0x477d('0x19bf')]={};_0x36f873[_0x477d('0x19de')]={};_0x36f873[_0x477d('0x19df')]=[];_0x36f873[_0x477d('0x19e0')]=-0x1;_0x36f873[_0x477d('0xd66')];_0x36f873[_0x477d('0x5ee')]=_0x286552;_0x36f873[_0x477d('0x19e1')]=_0x390367;_0x36f873[_0x477d('0x19e2')]=_0x19e3eb;_0x36f873[_0x477d('0x19e3')]=_0x4f224f;_0x36f873[_0x477d('0x19e4')]=[];_0x36f873[_0x477d('0x19e5')]=_0x1ecf1c;_0x520b0f[_0x477d('0xbb0')][_0x477d('0x376')]({'nolimit':!![],'sort':_0x477d('0x94')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x212510){_0x36f873[_0x477d('0x1263')]=_0x212510[_0x477d('0xf2')]?_0x212510[_0x477d('0xf2')]:[];})[_0x477d('0xf8')](function(_0x16de7c){_0x36e01d['error']({'title':_0x16de7c[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x16de7c[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x16de7c[_0x477d('0x44d')]:_0x477d('0x19e6'),'msg':_0x16de7c[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x16de7c['data']):_0x16de7c['toString']()});});function _0x1ecf1c(_0x53bd9b){_0x520b0f['intDeskConfiguration']['setTags']({'id':_0x36f873[_0x477d('0x19de')]['id'],'ids':_0x36f873[_0x477d('0x19e4')]})[_0x477d('0x38b')][_0x477d('0x76')](function(){_0x36e01d[_0x477d('0x485')]({'title':'Tags\x20set!','msg':_0x477d('0x19e7')});})[_0x477d('0xf8')](function(_0x1acc6f){_0x36e01d['error']({'title':_0x1acc6f['status']?_0x477d('0x44b')+_0x1acc6f[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x1acc6f[_0x477d('0x44d')]:_0x477d('0x19e8'),'msg':_0x1acc6f[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x1acc6f['data']):_0x1acc6f[_0x477d('0x453')]()});});}function _0x286552(_0x235871,_0x110b1c){_0x36f873[_0x477d('0x19bf')]=_0x235871;_0x36f873['crudPermissions']=typeof _0x110b1c!=='undefined'?_0x110b1c:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x520b0f[_0x477d('0xbfa')][_0x477d('0x19e9')]({'id':_0x36f873[_0x477d('0x19bf')]['id'],'sort':_0x477d('0x59')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x22e012){_0x36f873['configurations']=_0x22e012[_0x477d('0xf2')]?_0x22e012[_0x477d('0xf2')]:[];if(_0x36f873[_0x477d('0x19df')][_0x477d('0x79')]){_0x36f873[_0x477d('0x19e1')](0x0);}return _0x520b0f[_0x477d('0xbb9')][_0x477d('0x376')]({'nolimit':!![],'sort':_0x477d('0x94')})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x1d2484){_0x36f873[_0x477d('0xf31')]=_0x1d2484['rows']?_0x1d2484['rows']:[];_0x36f873['variablesById']=_[_0x477d('0xdb5')](_0x36f873[_0x477d('0xf31')],'id');})[_0x477d('0xf8')](function(_0x86a39a){_0x36e01d[_0x477d('0x44a')]({'title':_0x86a39a[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x86a39a[_0x477d('0x3c3')]+'\x20-\x20'+_0x86a39a[_0x477d('0x44d')]:_0x477d('0x19ea'),'msg':_0x86a39a[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x86a39a[_0x477d('0x451')]):_0x86a39a['toString']()});});}function _0x390367(_0xb73e55){_0x36f873['deskConfiguration']=_0x36f873[_0x477d('0x19df')][_0xb73e55];_0x36f873[_0x477d('0x19e0')]=_0xb73e55;_0x520b0f[_0x477d('0xbfd')][_0x477d('0x19eb')]({'id':_0x36f873['deskConfiguration']['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x52b4b3){_0x36f873[_0x477d('0x19ec')]=_0x52b4b3[_0x477d('0xf2')]?_0x52b4b3['rows']:[];return _0x520b0f[_0x477d('0xbfd')]['getDescriptions']({'id':_0x36f873[_0x477d('0x19de')]['id']})[_0x477d('0x38b')];})['then'](function(_0x2be1e8){_0x36f873[_0x477d('0x19ed')]=_0x2be1e8['rows']?_0x2be1e8[_0x477d('0xf2')]:[];return _0x520b0f[_0x477d('0xbfd')][_0x477d('0xe26')]({'id':_0x36f873[_0x477d('0x19de')]['id']})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x1f8b48){_0x36f873[_0x477d('0x458')]=_0x1f8b48[_0x477d('0xf2')]?_0x1f8b48[_0x477d('0xf2')]:[];})[_0x477d('0xf8')](function(_0xa5b806){_0x36e01d[_0x477d('0x44a')]({'title':_0xa5b806[_0x477d('0x3c3')]?'API:'+_0xa5b806[_0x477d('0x3c3')]+_0x477d('0x44c')+_0xa5b806['statusText']:_0x477d('0x19ee'),'msg':_0xa5b806['data']?JSON[_0x477d('0x3fb')](_0xa5b806[_0x477d('0x451')]):_0xa5b806[_0x477d('0x453')]()});});_0x520b0f[_0x477d('0xbfd')]['getTags']({'id':_0x36f873['deskConfiguration']['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x51d443){_0x36f873[_0x477d('0x19e4')]=_0x51d443[_0x477d('0xf2')]?_[_0x477d('0x3cb')](_0x51d443['rows'],'id'):[];})[_0x477d('0xf8')](function(_0x57aad4){_0x36e01d[_0x477d('0x44a')]({'title':_0x57aad4['status']?_0x477d('0x44b')+_0x57aad4[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x57aad4[_0x477d('0x44d')]:_0x477d('0x19e6'),'msg':_0x57aad4[_0x477d('0x451')]?JSON['stringify'](_0x57aad4['data']):_0x57aad4[_0x477d('0x453')]()});});}function _0x19e3eb(_0x3928f9,_0x44bccc){_0x4d1d06[_0x477d('0x395')]({'controller':_0x477d('0x19ef'),'controllerAs':'vm','templateUrl':'app/main/apps/integrations/views/deskAccounts/edit/configurations/dialog.html','parent':angular[_0x477d('0x398')](_0x5a4e6d[_0x477d('0x399')]),'targetEvent':_0x3928f9,'clickOutsideToClose':!![],'locals':{'deskConfiguration':_0x44bccc,'configurations':_0x36f873[_0x477d('0x19df')],'license':null,'setting':null,'crudPermissions':_0x36f873[_0x477d('0xd66')]}})[_0x477d('0x5ff')](function(){_0x36f873[_0x477d('0x19e1')](0x0);});}function _0x4f224f(_0x51d37a,_0x597c5e){var _0x12be1a=_0x4d1d06[_0x477d('0xd78')]()['title']('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20deskConfiguration?')[_0x477d('0xd92')](''+(_0x597c5e[_0x477d('0x94')]||_0x477d('0x19de'))+''+_0x477d('0xd95'))[_0x477d('0x687')]('delete\x20deskConfiguration')[_0x477d('0xd7c')](_0x51d37a)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x4d1d06[_0x477d('0x395')](_0x12be1a)[_0x477d('0x76')](function(){_0x520b0f[_0x477d('0xbfd')][_0x477d('0xa55')]({'id':_0x597c5e['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_['remove'](_0x36f873[_0x477d('0x19df')],{'id':_0x597c5e['id']});_0x36e01d[_0x477d('0x485')]({'title':_0x477d('0x19f0'),'msg':_0x597c5e[_0x477d('0x94')]?_0x597c5e[_0x477d('0x94')]+_0x477d('0xd7e'):''});})[_0x477d('0xf8')](function(_0x4bfe69){_0x36e01d[_0x477d('0x44a')]({'title':_0x4bfe69[_0x477d('0x3c3')]?'API:'+_0x4bfe69[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x4bfe69['statusText']:_0x477d('0x19f1'),'msg':_0x4bfe69[_0x477d('0x451')]?JSON['stringify'](_0x4bfe69[_0x477d('0x451')]):_0x4bfe69[_0x477d('0x453')]()});})[_0x477d('0x5ff')](function(){_0x36f873[_0x477d('0x19e1')](0x0);});},function(){console['log'](_0x477d('0xd97'));});}_0x36f873['selectedSubjects']=[];_0x36f873[_0x477d('0x19f2')]=_0x4243e1;_0x36f873[_0x477d('0x19f3')]=_0x5b9bfd;_0x36f873[_0x477d('0x19f4')]=_0x4f6881;function _0x4243e1(_0x1da422,_0x312aa5){_0x4d1d06[_0x477d('0x395')]({'controller':'CreateOrEditDeskAccountItemDialogController','controllerAs':'vm','templateUrl':_0x477d('0x19f5'),'parent':angular[_0x477d('0x398')](_0x5a4e6d[_0x477d('0x399')]),'targetEvent':_0x1da422,'clickOutsideToClose':!![],'locals':{'type':_0x477d('0x135c'),'item':_0x312aa5,'items':_0x36f873[_0x477d('0x19ec')],'configuration':_0x36f873[_0x477d('0x19de')],'account':_0x36f873[_0x477d('0x19bf')],'license':null,'setting':null,'crudPermissions':_0x36f873['crudPermissions']}});}function _0x419776(_0x5e4ff0){_0x520b0f[_0x477d('0xc04')][_0x477d('0xa55')]({'id':_0x5e4ff0['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x36f873[_0x477d('0x19ec')],{'id':_0x5e4ff0['id']});_0x36e01d['success']({'title':_0x477d('0x19f6'),'msg':_0x477d('0x19f7')});})['catch'](function(_0x495a43){_0x36e01d[_0x477d('0x44a')]({'title':_0x495a43[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x495a43[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x495a43[_0x477d('0x44d')]:_0x477d('0x19f8'),'msg':_0x495a43['data']?JSON['stringify'](_0x495a43['data']):_0x495a43[_0x477d('0x453')]()});});}function _0x5b9bfd(_0x2bac01,_0x38513f){var _0x4351ee=_0x4d1d06[_0x477d('0xd78')]()[_0x477d('0x49a')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20subject?')[_0x477d('0xd92')](_0x477d('0x19f9')+_0x477d('0xd95'))['ariaLabel']('delete\x20subject')[_0x477d('0xd7c')](_0x2bac01)['ok']('OK')['cancel'](_0x477d('0xd97'));_0x4d1d06['show'](_0x4351ee)[_0x477d('0x76')](function(){_0x419776(_0x38513f);},function(){console[_0x477d('0x7b')](_0x477d('0xd97'));});}function _0x4f6881(_0x4aca9a){var _0x133cc0=_0x4d1d06[_0x477d('0xd78')]()['title']('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20subjects?')['htmlContent'](_0x477d('0xd93')+_0x36f873[_0x477d('0x19fa')]['length']+_0x477d('0xda0')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x19fb'))[_0x477d('0xd7c')](_0x4aca9a)['ok']('OK')['cancel'](_0x477d('0xd97'));_0x4d1d06[_0x477d('0x395')](_0x133cc0)[_0x477d('0x76')](function(){_0x36f873['selectedSubjects']['forEach'](function(_0x333484){_0x419776(_0x333484);});_0x36f873[_0x477d('0x19fa')]=[];});}_0x36f873[_0x477d('0x19fc')]=[];_0x36f873[_0x477d('0x19fd')]=_0xef033e;_0x36f873[_0x477d('0x19fe')]=_0xb3a441;_0x36f873['deleteSelectedDescriptions']=_0x2068f2;function _0xef033e(_0xab05e6,_0xf74a63){_0x4d1d06[_0x477d('0x395')]({'controller':'CreateOrEditDeskAccountItemDialogController','controllerAs':'vm','templateUrl':_0x477d('0x19f5'),'parent':angular[_0x477d('0x398')](_0x5a4e6d[_0x477d('0x399')]),'targetEvent':_0xab05e6,'clickOutsideToClose':!![],'locals':{'type':_0x477d('0xe0e'),'item':_0xf74a63,'items':_0x36f873[_0x477d('0x19ed')],'configuration':_0x36f873[_0x477d('0x19de')],'account':_0x36f873['deskAccount'],'license':null,'setting':null,'crudPermissions':_0x36f873[_0x477d('0xd66')]}});}function _0x4404a0(_0x344eea){_0x520b0f['intDeskField'][_0x477d('0xa55')]({'id':_0x344eea['id']})['$promise'][_0x477d('0x76')](function(){_['remove'](_0x36f873['descriptions'],{'id':_0x344eea['id']});_0x36e01d['success']({'title':'Description\x20deleted!','msg':_0x477d('0x19ff')});})[_0x477d('0xf8')](function(_0x228e09){_0x36e01d[_0x477d('0x44a')]({'title':_0x228e09[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x228e09[_0x477d('0x3c3')]+'\x20-\x20'+_0x228e09['statusText']:_0x477d('0x19f8'),'msg':_0x228e09[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x228e09['data']):_0x228e09['toString']()});});}function _0xb3a441(_0x1e60cb,_0x4ebd33){var _0x110d35=_0x4d1d06[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x1a00'))[_0x477d('0xd92')](_0x477d('0x1a01')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x1a02'))[_0x477d('0xd7c')](_0x1e60cb)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x4d1d06[_0x477d('0x395')](_0x110d35)[_0x477d('0x76')](function(){_0x4404a0(_0x4ebd33);},function(){console[_0x477d('0x7b')](_0x477d('0xd97'));});}function _0x2068f2(_0xa6469c){var _0x39fdcb=_0x4d1d06[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x1a03'))[_0x477d('0xd92')](_0x477d('0xd93')+_0x36f873['selectedDescriptions']['length']+_0x477d('0xda0')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x1a04'))['targetEvent'](_0xa6469c)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x4d1d06[_0x477d('0x395')](_0x39fdcb)[_0x477d('0x76')](function(){_0x36f873[_0x477d('0x19fc')][_0x477d('0x3b1')](function(_0x1dbc6e){_0x4404a0(_0x1dbc6e);});_0x36f873[_0x477d('0x19fc')]=[];});}_0x36f873['selectedFields']=[];_0x36f873[_0x477d('0x1a05')]=_0x51c61c;_0x36f873['deleteFieldConfirm']=_0x3eee52;_0x36f873[_0x477d('0x1a06')]=_0x3632b4;function _0x51c61c(_0x16d3bf,_0xab4e25){_0x4d1d06['show']({'controller':_0x477d('0x1a07'),'controllerAs':'vm','templateUrl':_0x477d('0x19f5'),'parent':angular[_0x477d('0x398')](_0x5a4e6d[_0x477d('0x399')]),'targetEvent':_0x16d3bf,'clickOutsideToClose':!![],'locals':{'type':_0x477d('0x463'),'item':_0xab4e25,'items':_0x36f873[_0x477d('0x458')],'configuration':_0x36f873['deskConfiguration'],'account':_0x36f873['deskAccount'],'license':null,'setting':null,'crudPermissions':_0x36f873['crudPermissions']}});}function _0x159435(_0x29599f){_0x520b0f[_0x477d('0xc04')][_0x477d('0xa55')]({'id':_0x29599f['id']})[_0x477d('0x38b')]['then'](function(){_[_0x477d('0x39c')](_0x36f873['fields'],{'id':_0x29599f['id']});_0x36e01d['success']({'title':'Field\x20deleted!','msg':'Field\x20has\x20been\x20deleted!'});})[_0x477d('0xf8')](function(_0x490bb1){_0x36e01d['error']({'title':_0x490bb1[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x490bb1[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x490bb1[_0x477d('0x44d')]:'SYSTEM:DELETECONFIGURATIONFIELD','msg':_0x490bb1['data']?JSON[_0x477d('0x3fb')](_0x490bb1[_0x477d('0x451')]):_0x490bb1['toString']()});});}function _0x3eee52(_0x33fd76,_0xcf31be){var _0x4ca9b3=_0x4d1d06[_0x477d('0xd78')]()[_0x477d('0x49a')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20field?')[_0x477d('0xd92')]('Field'+_0x477d('0xd95'))[_0x477d('0x687')]('delete\x20field')[_0x477d('0xd7c')](_0x33fd76)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x4d1d06[_0x477d('0x395')](_0x4ca9b3)['then'](function(){_0x159435(_0xcf31be);},function(){console[_0x477d('0x7b')]('CANCEL');});}function _0x3632b4(_0x2345ff){var _0x4299e4=_0x4d1d06[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xe72'))[_0x477d('0xd92')](_0x477d('0xd93')+_0x36f873[_0x477d('0x1a08')]['length']+'\x20selected'+_0x477d('0xd95'))['ariaLabel'](_0x477d('0xe73'))['targetEvent'](_0x2345ff)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x4d1d06[_0x477d('0x395')](_0x4299e4)['then'](function(){_0x36f873[_0x477d('0x1a08')][_0x477d('0x3b1')](function(_0x1b7543){_0x159435(_0x1b7543);});_0x36f873[_0x477d('0x1a08')]=[];});}}}());(function(){'use strict';_0x2bcabe[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x3c4'),_0x477d('0xd64'),_0x477d('0x384'),'$q','$translate','toasty','configurations',_0x477d('0x19de'),'api','Auth',_0x477d('0x613'),_0x477d('0xc8e'),_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x38'))[_0x477d('0x3ba')](_0x477d('0x19ef'),_0x2bcabe);function _0x2bcabe(_0x43d1fe,_0x20fb46,_0x3f30ba,_0x53e947,_0x43c7f9,_0x4cd52c,_0x4e2e2e,_0x1cf3dc,_0x5b62b1,_0x4d1029,_0x4b3d59,_0x39fb08,_0x23cd8f,_0x191d5e){var _0x5cc487=this;_0x5cc487['currentUser']=_0x4b3d59[_0x477d('0x5c')]();_0x5cc487['errors']=[];_0x5cc487['setting']=_0x23cd8f;_0x5cc487[_0x477d('0x613')]=_0x39fb08;_0x5cc487[_0x477d('0xd66')]=_0x191d5e;_0x5cc487['hasModulePermissions']={};_0x5cc487['passwordPattern']=_0x5cc487['setting']&&_0x5cc487[_0x477d('0xc8e')]['securePassword']?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x5cc487[_0x477d('0x49a')]=_0x477d('0x1a09');_0x5cc487[_0x477d('0x19de')]=angular[_0x477d('0x6d9')](_0x5b62b1);_0x5cc487['configurations']=_0x1cf3dc;_0x5cc487[_0x477d('0x1a0a')]=![];if(!_0x5cc487[_0x477d('0x19de')]){_0x5cc487['deskConfiguration']={'channel':_0x477d('0x108'),'type':'inbound'};_0x5cc487[_0x477d('0x49a')]='INTEGRATIONS.NEW_DESKCONFIGURATION';_0x5cc487[_0x477d('0x1a0a')]=!![];}_0x5cc487[_0x477d('0x1a0b')]=_0x8d75aa;_0x5cc487[_0x477d('0x1a0c')]=_0x6184b4;_0x5cc487[_0x477d('0x19e3')]=_0x1e63fa;_0x5cc487['getDateFromString']=_0x140408;_0x5cc487[_0x477d('0x6bf')]=_0x3c2ba5;function _0x8d75aa(){_0x5cc487[_0x477d('0xd67')]=[];_0x4d1029[_0x477d('0xbfa')]['addConfiguration']({'id':_0x20fb46['params']['id']},_0x5cc487[_0x477d('0x19de')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x4ccfdf){_0x5cc487[_0x477d('0x19df')]['unshift'](_0x4ccfdf['toJSON']());_0x4e2e2e['success']({'title':_0x477d('0x1a0d'),'msg':_0x5cc487[_0x477d('0x19de')][_0x477d('0x94')]?_0x5cc487[_0x477d('0x19de')][_0x477d('0x94')]+_0x477d('0xd73'):''});_0x3c2ba5(_0x4ccfdf);})[_0x477d('0xf8')](function(_0x1b27a4){if(_0x1b27a4[_0x477d('0x451')]&&_0x1b27a4[_0x477d('0x451')][_0x477d('0xd67')]&&_0x1b27a4[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x5cc487[_0x477d('0xd67')]=_0x1b27a4[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x1b27a4[_0x477d('0x453')](),'type':_0x477d('0x1a0e')}];for(var _0x5aebbe=0x0;_0x5aebbe<_0x1b27a4[_0x477d('0x451')][_0x477d('0xd67')]['length'];_0x5aebbe+=0x1){_0x4e2e2e[_0x477d('0x44a')]({'title':_0x1b27a4[_0x477d('0x451')]['errors'][_0x5aebbe][_0x477d('0x439')],'msg':_0x1b27a4[_0x477d('0x451')]['errors'][_0x5aebbe][_0x477d('0x452')]});}}else{_0x4e2e2e[_0x477d('0x44a')]({'title':_0x1b27a4[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x1b27a4['status']+'\x20-\x20'+_0x1b27a4[_0x477d('0x44d')]:_0x477d('0x1a0e'),'msg':_0x1b27a4[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x1b27a4['data'][_0x477d('0x452')]):_0x1b27a4[_0x477d('0x453')]()});}});}function _0x6184b4(){_0x5cc487[_0x477d('0xd67')]=[];_0x4d1029[_0x477d('0xbfd')][_0x477d('0x710')]({'id':_0x5cc487[_0x477d('0x19de')]['id']},_0x5cc487[_0x477d('0x19de')])['$promise']['then'](function(_0x321d67){var _0x2298a8=_[_0x477d('0x10a')](_0x5cc487[_0x477d('0x19df')],{'id':_0x321d67['id']});if(_0x2298a8){_[_0x477d('0xef')](_0x2298a8,_['pick'](_0x321d67['toJSON'](),_[_0x477d('0x7f')](_0x2298a8)));}_0x4e2e2e[_0x477d('0x485')]({'title':'DeskConfiguration\x20properly\x20saved!','msg':_0x5cc487['deskConfiguration']['name']?_0x5cc487[_0x477d('0x19de')][_0x477d('0x94')]+_0x477d('0xd76'):''});_0x3c2ba5(_0x321d67);})['catch'](function(_0x5c021a){if(_0x5c021a[_0x477d('0x451')]&&_0x5c021a[_0x477d('0x451')]['errors']&&_0x5c021a[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x5cc487[_0x477d('0xd67')]=_0x5c021a[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x5c021a[_0x477d('0x453')](),'type':'api.intDeskConfiguration.update'}];for(var _0x4a7ffa=0x0;_0x4a7ffa<_0x5c021a['data']['errors'][_0x477d('0x79')];_0x4a7ffa++){_0x4e2e2e[_0x477d('0x44a')]({'title':_0x5c021a[_0x477d('0x451')][_0x477d('0xd67')][_0x4a7ffa][_0x477d('0x439')],'msg':_0x5c021a[_0x477d('0x451')]['errors'][_0x4a7ffa][_0x477d('0x452')]});}}else{_0x4e2e2e[_0x477d('0x44a')]({'title':_0x5c021a[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x5c021a[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x5c021a[_0x477d('0x44d')]:_0x477d('0x1a0f'),'msg':_0x5c021a['data']?JSON[_0x477d('0x3fb')](_0x5c021a[_0x477d('0x451')][_0x477d('0x452')]):_0x5c021a['toString']()});}});}function _0x1e63fa(_0x41bad8){_0x5cc487['errors']=[];var _0x1d18f5=_0x53e947['confirm']()[_0x477d('0x49a')](_0x477d('0xd79'))[_0x477d('0xdaf')]('The\x20deskConfiguration\x20will\x20be\x20deleted.')[_0x477d('0x687')](_0x477d('0x1a10'))['ok'](_0x477d('0xd7b'))[_0x477d('0x4f0')](_0x477d('0x688'))[_0x477d('0xd7c')](_0x41bad8);_0x53e947['show'](_0x1d18f5)['then'](function(){_0x4d1029[_0x477d('0xbfd')]['delete']({'id':_0x5cc487[_0x477d('0x19de')]['id']})['$promise']['then'](function(){_[_0x477d('0x39c')](_0x5cc487[_0x477d('0x19df')],{'id':_0x5cc487[_0x477d('0x19de')]['id']});_0x4e2e2e[_0x477d('0x485')]({'title':_0x477d('0x1a11'),'msg':(_0x5cc487[_0x477d('0x19de')]['name']||_0x477d('0x19de'))+_0x477d('0xd7e')});_0x3c2ba5(_0x5cc487[_0x477d('0x19de')]);})['catch'](function(_0x19716e){if(_0x19716e['data']&&_0x19716e[_0x477d('0x451')][_0x477d('0xd67')]&&_0x19716e[_0x477d('0x451')]['errors'][_0x477d('0x79')]){_0x5cc487[_0x477d('0xd67')]=_0x19716e[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x19716e[_0x477d('0x453')](),'type':_0x477d('0x1a12')}];for(var _0x5106a3=0x0;_0x5106a3<_0x19716e['data'][_0x477d('0xd67')][_0x477d('0x79')];_0x5106a3++){_0x4e2e2e[_0x477d('0x44a')]({'title':_0x19716e[_0x477d('0x451')]['errors'][_0x5106a3][_0x477d('0x439')],'msg':_0x19716e[_0x477d('0x451')]['errors'][_0x5106a3][_0x477d('0x452')]});}}else{_0x4e2e2e[_0x477d('0x44a')]({'title':_0x19716e[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x19716e[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x19716e['statusText']:'api.intDeskConfiguration.delete','msg':_0x19716e[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x19716e[_0x477d('0x451')]['message']):_0x19716e['message']||_0x19716e[_0x477d('0x453')]()});}});},function(){});}function _0x140408(_0x519410){return _0x519410===null?undefined:new Date(_0x519410);}function _0x3c2ba5(_0x5ebc24){_0x53e947[_0x477d('0x3bc')](_0x5ebc24);}}}());(function(){'use strict';_0xf677b['$inject']=[_0x477d('0x474'),'$state',_0x477d('0xd64'),_0x477d('0x384'),_0x477d('0x40e'),'configuration',_0x477d('0x4a6'),'item',_0x477d('0x15e5'),_0x477d('0x439'),_0x477d('0x386'),_0x477d('0x55'),_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x38'))[_0x477d('0x3ba')](_0x477d('0x1a07'),_0xf677b);function _0xf677b(_0x4f7aca,_0x539a83,_0x9340,_0x4880e2,_0x1091b5,_0xae91bf,_0x37dd4c,_0x2ea613,_0x3a04a3,_0x352519,_0x39ed49,_0x51e39c,_0x512fe8){var _0x278254=this;_0x278254[_0x477d('0x3e5')]=_0x51e39c[_0x477d('0x5c')]();_0x278254[_0x477d('0xd67')]=[];_0x278254['title']=_0x477d('0x1a13')+_[_0x477d('0x1a14')](_0x352519);_0x278254[_0x477d('0x1a15')]=angular[_0x477d('0x6d9')](_0x2ea613);_0x278254[_0x477d('0x4a6')]=_0x37dd4c;_0x278254['type']=_0x352519;_0x278254[_0x477d('0xd66')]=_0x512fe8;_0x278254['newItem']=![];if(!_0x278254[_0x477d('0x1a15')]){_0x278254[_0x477d('0x1a15')]={'type':'string'};_0x278254[_0x477d('0x1a15')][_[_0x477d('0x12e0')](_0x352519)+'Id']=_0xae91bf['id'];_0x278254[_0x477d('0x49a')]=_0x477d('0x1a16')+_[_0x477d('0x1a14')](_0x352519);_0x278254[_0x477d('0x1a17')]=!![];}_0x278254[_0x477d('0x1a18')]=_0x47325b;_0x278254[_0x477d('0x15f9')]=_0x2a7a30;_0x278254[_0x477d('0x55f')]=_0x2b3971;_0x278254[_0x477d('0x1a19')]=_0x2a7787;_0x278254[_0x477d('0x6bf')]=_0x5d4001;_0x39ed49[_0x477d('0xbb9')][_0x477d('0x376')]({'nolimit':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x5b7eb9){_0x278254[_0x477d('0xf31')]=_0x5b7eb9['rows']?_0x5b7eb9['rows']:[];return _0x39ed49[_0x477d('0xa9c')][_0x477d('0xe27')]()[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x387f22){_0x278254[_0x477d('0x1a1a')]=_[_0x477d('0x7e')](_['keys'](_0x387f22),[_0x477d('0x38b'),_0x477d('0x80'),_0x477d('0xe37'),_0x477d('0xe38'),'sourceid']);_0x278254[_0x477d('0x1a1a')][_0x477d('0x3a7')]('recordingURL');return _0x39ed49[_0x477d('0xa99')][_0x477d('0xe27')]()[_0x477d('0x38b')];})['then'](function(_0x2bc315){_0x278254[_0x477d('0x1a1b')]=_[_0x477d('0x7e')](_[_0x477d('0x7f')](_0x2bc315),['$promise',_0x477d('0x80'),_0x477d('0xe37'),_0x477d('0xe38'),_0x477d('0x1a1c')]);_0x278254[_0x477d('0x1a1b')]['push'](_0x477d('0x1a1d'));})[_0x477d('0xf8')](function(_0x17b5e7){_0x1091b5['error']({'title':_0x17b5e7[_0x477d('0x3c3')]?'API:'+_0x17b5e7[_0x477d('0x3c3')]+'\x20-\x20'+_0x17b5e7[_0x477d('0x44d')]:_0x477d('0x1a1e'),'msg':_0x17b5e7[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x17b5e7[_0x477d('0x451')]):_0x17b5e7[_0x477d('0x453')]()});});_0x39ed49[_0x477d('0xbfa')][_0x477d('0xe26')]({'id':_0x3a04a3['id'],'ticketType':_0xae91bf['ticketType']?_0xae91bf[_0x477d('0x1a1f')]:undefined})['$promise'][_0x477d('0x76')](function(_0x187e1a){_0x278254[_0x477d('0x1a20')]=!![];_0x278254[_0x477d('0x458')]=_0x187e1a['rows']?_0x187e1a[_0x477d('0xf2')]:[];if(_0x278254['item']['idField']){_0x278254[_0x477d('0x1532')]=_['find'](_0x278254[_0x477d('0x458')],{'id':_0x278254[_0x477d('0x1a15')]['idField']});}})[_0x477d('0xf8')](function(_0x53569a){_0x278254[_0x477d('0x1a20')]=![];console[_0x477d('0x44a')](_0x53569a);});function _0x47325b(){_0x278254[_0x477d('0xd67')]=[];if(_0x278254[_0x477d('0x1532')]){_0x278254[_0x477d('0x1a15')]['idField']=_0x278254[_0x477d('0x1532')]['id'];_0x278254['item']['nameField']=_0x278254[_0x477d('0x1532')][_0x477d('0x94')];_0x278254[_0x477d('0x1a15')]['customField']=_0x278254[_0x477d('0x1532')][_0x477d('0x9f6')];}_0x39ed49[_0x477d('0xc04')][_0x477d('0xd70')](_0x278254[_0x477d('0x1a15')])['$promise'][_0x477d('0x76')](function(_0x3d0258){_0x278254[_0x477d('0x4a6')][_0x477d('0x63b')](_0x3d0258);_0x1091b5['success']({'title':_[_0x477d('0x12e0')](_0x352519)+_0x477d('0x1a21'),'msg':_[_0x477d('0x12e0')](_0x352519)+_0x477d('0xd73')});_0x5d4001();})[_0x477d('0xf8')](function(_0x580a54){console[_0x477d('0x44a')](_0x580a54);_0x278254['errors']=_0x580a54['data'][_0x477d('0xd67')]||[{'message':_0x580a54['toString'](),'type':'api.item.save'}];});}function _0x2a7a30(){_0x278254[_0x477d('0xd67')]=[];if(_0x278254[_0x477d('0x1532')]){_0x278254['item'][_0x477d('0x1a22')]=_0x278254['customField']['id'];_0x278254[_0x477d('0x1a15')][_0x477d('0x1a23')]=_0x278254[_0x477d('0x1532')][_0x477d('0x94')];_0x278254[_0x477d('0x1a15')][_0x477d('0x1532')]=_0x278254['customField'][_0x477d('0x9f6')];}_0x39ed49[_0x477d('0xc04')][_0x477d('0x710')]({'id':_0x278254[_0x477d('0x1a15')]['id']},_0x278254[_0x477d('0x1a15')])[_0x477d('0x38b')]['then'](function(_0x34af1a){var _0x329559=_[_0x477d('0x10a')](_0x278254[_0x477d('0x4a6')],{'id':_0x34af1a['id']});if(_0x329559){_['merge'](_0x329559,_0x34af1a);}_0x1091b5['success']({'title':_[_0x477d('0x12e0')](_0x352519)+'\x20properly\x20saved!','msg':_[_0x477d('0x12e0')](_0x352519)+_0x477d('0xd76')});_0x5d4001();})[_0x477d('0xf8')](function(_0x381d14){console[_0x477d('0x44a')](_0x381d14);_0x278254[_0x477d('0xd67')]=_0x381d14[_0x477d('0x451')]['errors']||[{'message':_0x381d14[_0x477d('0x453')](),'type':_0x477d('0x1a24')}];});}function _0x2b3971(_0x20f2d5){_0x278254['errors']=[];var _0x1075f7=_0x4880e2[_0x477d('0xd78')]()['title'](_0x477d('0xd79'))[_0x477d('0xdaf')](_0x477d('0x1a25')+_0x352519+_0x477d('0xd95'))[_0x477d('0x687')]('Delete\x20'+_[_0x477d('0x12e0')](_0x352519))['ok'](_0x477d('0xd7b'))['cancel'](_0x477d('0x688'))[_0x477d('0xd7c')](_0x20f2d5);_0x4880e2['show'](_0x1075f7)[_0x477d('0x76')](function(){_0x39ed49[_0x477d('0xc04')][_0x477d('0xa55')]({'id':_0x278254[_0x477d('0x1a15')]['id']})[_0x477d('0x38b')]['then'](function(){_[_0x477d('0x39c')](_0x278254[_0x477d('0x4a6')],{'id':_0x278254[_0x477d('0x1a15')]['id']});_0x1091b5[_0x477d('0x485')]({'title':_[_0x477d('0x12e0')](_0x352519)+_0x477d('0x1a26'),'msg':_[_0x477d('0x12e0')](_0x352519)+_0x477d('0xd7e')});_0x5d4001();})['catch'](function(_0x430c00){console[_0x477d('0x44a')](_0x430c00);_0x278254['errors']=_0x430c00[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x430c00[_0x477d('0x453')](),'type':_0x477d('0x1a27')}];});},function(){});}function _0x2a7787(){if(_0x278254[_0x477d('0x1a15')][_0x477d('0x1a28')]!==undefined){return _0x278254[_0x477d('0x1a15')][_0x477d('0x1a28')];}else{return _0x477d('0x1a29');}};function _0x5d4001(){_0x4880e2[_0x477d('0x3bc')]();}}}());(function(){'use strict';_0x222a9a[_0x477d('0xa')]=['$state',_0x477d('0xd64'),_0x477d('0x384'),'$document',_0x477d('0x40d'),'license',_0x477d('0xc8e'),_0x477d('0x386'),'toasty',_0x477d('0x55'),'deskAccount','userProfileSection'];angular['module'](_0x477d('0x38'))[_0x477d('0x3ba')](_0x477d('0x1a2a'),_0x222a9a);function _0x222a9a(_0x308224,_0xa0ac87,_0xa7f568,_0x14d047,_0x3f94d5,_0x208e02,_0x5937be,_0x1e6f39,_0xec0c2f,_0x3b1ec0,_0x44d3e,_0x1264fe){var _0x4976c8=this;_0x4976c8[_0x477d('0x3e5')]=_0x3b1ec0[_0x477d('0x5c')]();_0x4976c8['license']=_0x208e02;_0x4976c8[_0x477d('0xc8e')]=_0x5937be;_0x4976c8[_0x477d('0xd69')]=_0x4976c8['setting'][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x4976c8[_0x477d('0x3cc')]=_0xa0ac87['protocol']()+'://'+_0xa0ac87[_0x477d('0x3c9')]();_0x4976c8[_0x477d('0x19bf')]=_0x44d3e||_0x308224[_0x477d('0x37e')]['deskAccount']||{};_0x4976c8[_0x477d('0x3ac')]=_0x1264fe&&_0x1264fe[_0x477d('0x3bb')]==0x1?_0x1264fe[_0x477d('0xf2')][0x0]:null;_0x4976c8[_0x477d('0xd66')]=_0x3b1ec0[_0x477d('0xd81')](_0x4976c8[_0x477d('0x3ac')]?_0x4976c8[_0x477d('0x3ac')][_0x477d('0xd66')]:null);_0x4976c8[_0x477d('0xd68')]={};_0x4976c8['selectedTab']=_0x308224[_0x477d('0x37e')][_0x477d('0xe96')]||0x0;_0x4976c8['alert']=_0xec0c2f[_0x477d('0x669')];_0x4976c8[_0x477d('0x1a2b')]=_0x24bdfa;_0x4976c8[_0x477d('0x19c5')]=_0x414311;function _0x24bdfa(){_0x308224['go'](_0x477d('0x192'),{},{'reload':_0x477d('0x192')});}function _0x414311(){_0x1e6f39['intDeskAccount'][_0x477d('0x710')]({'id':_0x4976c8[_0x477d('0x19bf')]['id']},_0x4976c8[_0x477d('0x19bf')])[_0x477d('0x38b')]['then'](function(){_0xec0c2f[_0x477d('0x485')]({'title':_0x477d('0x1a2c'),'msg':_0x4976c8[_0x477d('0x19bf')]['name']?_0x4976c8[_0x477d('0x19bf')][_0x477d('0x94')]+_0x477d('0xed7'):''});})[_0x477d('0xf8')](function(_0x2a9485){_0xec0c2f['error']({'title':_0x2a9485[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x2a9485[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x2a9485[_0x477d('0x44d')]:'SYSTEM:GETintDeskAccount','msg':_0x2a9485[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x2a9485[_0x477d('0x451')]):_0x2a9485[_0x477d('0x453')]()});});}}}());(function(){'use strict';_0x1dfced[_0x477d('0xa')]=['$scope',_0x477d('0x3c4'),'$location',_0x477d('0x384'),'$q',_0x477d('0x40d'),_0x477d('0x40e'),'dynamics365Accounts','dynamics365Account','api',_0x477d('0x55'),_0x477d('0x613'),_0x477d('0xc8e'),'crudPermissions'];angular[_0x477d('0xb')](_0x477d('0x38'))[_0x477d('0x3ba')](_0x477d('0x1a2d'),_0x1dfced);function _0x1dfced(_0x542700,_0x685b50,_0x428db9,_0x2453d6,_0x1d0f65,_0x1985b5,_0x354963,_0x356264,_0x41fab9,_0x756d67,_0xdf4bd6,_0x157964,_0x2c8e9b,_0x5491f7){var _0x5467bb=this;_0x5467bb[_0x477d('0x3e5')]=_0xdf4bd6['getCurrentUser']();_0x5467bb[_0x477d('0xd67')]=[];_0x5467bb[_0x477d('0xc8e')]=_0x2c8e9b;_0x5467bb['license']=_0x157964;_0x5467bb[_0x477d('0xd66')]=_0x5491f7;_0x5467bb['hasModulePermissions']={};_0x5467bb['passwordPattern']=_0x5467bb[_0x477d('0xc8e')]&&_0x5467bb[_0x477d('0xc8e')][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x5467bb[_0x477d('0x49a')]=_0x477d('0x1a2e');_0x5467bb[_0x477d('0x1a2f')]=angular['copy'](_0x41fab9);_0x5467bb[_0x477d('0x1a30')]=_0x356264;_0x5467bb[_0x477d('0x1a31')]=![];if(!_0x5467bb['dynamics365Account']){_0x5467bb[_0x477d('0x1a2f')]={'serverUrl':_0x428db9[_0x477d('0x3ce')]()+_0x477d('0x1209')+_0x428db9['host']()+(_0x428db9[_0x477d('0x3cf')]()?':'+_0x428db9[_0x477d('0x3cf')]():'')};_0x5467bb[_0x477d('0x49a')]=_0x477d('0x1a32');_0x5467bb[_0x477d('0x1a31')]=!![];}_0x5467bb[_0x477d('0x1a33')]=_0x5c67c9;_0x5467bb['saveDynamics365Account']=_0x3a70b2;_0x5467bb[_0x477d('0x1a34')]=_0x3cbf90;_0x5467bb[_0x477d('0xd6f')]=_0x32318a;_0x5467bb[_0x477d('0x6bf')]=_0x41c1da;function _0x5c67c9(){_0x5467bb[_0x477d('0xd67')]=[];_0x756d67[_0x477d('0xc52')][_0x477d('0xd70')](_0x5467bb[_0x477d('0x1a2f')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x170220){_0x5467bb[_0x477d('0x1a30')][_0x477d('0x63b')](_0x170220[_0x477d('0xd71')]());_0x354963['success']({'title':_0x477d('0x1a35'),'msg':_0x5467bb[_0x477d('0x1a2f')][_0x477d('0x94')]?_0x5467bb['dynamics365Account'][_0x477d('0x94')]+_0x477d('0xd73'):''});_0x41c1da(_0x170220);})['catch'](function(_0x2e3ada){if(_0x2e3ada['data']&&_0x2e3ada[_0x477d('0x451')][_0x477d('0xd67')]&&_0x2e3ada['data'][_0x477d('0xd67')][_0x477d('0x79')]){_0x5467bb[_0x477d('0xd67')]=_0x2e3ada[_0x477d('0x451')]['errors']||[{'message':_0x2e3ada[_0x477d('0x453')](),'type':_0x477d('0x1a36')}];for(var _0x51be5c=0x0;_0x51be5c<_0x2e3ada[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x51be5c+=0x1){_0x354963[_0x477d('0x44a')]({'title':_0x2e3ada[_0x477d('0x451')][_0x477d('0xd67')][_0x51be5c]['type'],'msg':_0x2e3ada[_0x477d('0x451')][_0x477d('0xd67')][_0x51be5c][_0x477d('0x452')]});}}else{_0x354963[_0x477d('0x44a')]({'title':_0x2e3ada[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x2e3ada[_0x477d('0x3c3')]+'\x20-\x20'+_0x2e3ada[_0x477d('0x44d')]:'api.intDynamics365Account.save','msg':_0x2e3ada['data']?JSON[_0x477d('0x3fb')](_0x2e3ada['data'][_0x477d('0x452')]):_0x2e3ada[_0x477d('0x453')]()});}});}function _0x3a70b2(){_0x5467bb['errors']=[];_0x756d67[_0x477d('0xc52')][_0x477d('0x710')]({'id':_0x5467bb['dynamics365Account']['id']},_0x5467bb[_0x477d('0x1a2f')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0xf05603){var _0x15c5de=_[_0x477d('0x10a')](_0x5467bb[_0x477d('0x1a30')],{'id':_0xf05603['id']});if(_0x15c5de){_[_0x477d('0xef')](_0x15c5de,_[_0x477d('0x10b')](_0xf05603[_0x477d('0xd71')](),_[_0x477d('0x7f')](_0x15c5de)));}_0x354963[_0x477d('0x485')]({'title':_0x477d('0x1a37'),'msg':_0x5467bb[_0x477d('0x1a2f')][_0x477d('0x94')]?_0x5467bb[_0x477d('0x1a2f')]['name']+'\x20has\x20been\x20saved!':''});_0x41c1da(_0xf05603);})['catch'](function(_0x19762e){if(_0x19762e[_0x477d('0x451')]&&_0x19762e[_0x477d('0x451')][_0x477d('0xd67')]&&_0x19762e[_0x477d('0x451')][_0x477d('0xd67')]['length']){_0x5467bb[_0x477d('0xd67')]=_0x19762e[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x19762e[_0x477d('0x453')](),'type':_0x477d('0x1a38')}];for(var _0x577de5=0x0;_0x577de5<_0x19762e[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x577de5++){_0x354963[_0x477d('0x44a')]({'title':_0x19762e[_0x477d('0x451')][_0x477d('0xd67')][_0x577de5][_0x477d('0x439')],'msg':_0x19762e[_0x477d('0x451')]['errors'][_0x577de5][_0x477d('0x452')]});}}else{_0x354963[_0x477d('0x44a')]({'title':_0x19762e['status']?_0x477d('0x44b')+_0x19762e[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x19762e['statusText']:_0x477d('0x1a38'),'msg':_0x19762e['data']?JSON[_0x477d('0x3fb')](_0x19762e[_0x477d('0x451')][_0x477d('0x452')]):_0x19762e['toString']()});}});}function _0x3cbf90(_0x3f8a23){_0x5467bb['errors']=[];var _0x39c942=_0x2453d6[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xd79'))['content'](_0x477d('0x1a39'))[_0x477d('0x687')](_0x477d('0x1a3a'))['ok']('Delete')[_0x477d('0x4f0')]('Cancel')[_0x477d('0xd7c')](_0x3f8a23);_0x2453d6[_0x477d('0x395')](_0x39c942)['then'](function(){_0x756d67['intDynamics365Account'][_0x477d('0xa55')]({'id':_0x5467bb[_0x477d('0x1a2f')]['id']})[_0x477d('0x38b')]['then'](function(){_[_0x477d('0x39c')](_0x5467bb['dynamics365Accounts'],{'id':_0x5467bb[_0x477d('0x1a2f')]['id']});_0x354963[_0x477d('0x485')]({'title':_0x477d('0x1a3b'),'msg':(_0x5467bb[_0x477d('0x1a2f')]['name']||_0x477d('0x1a2f'))+_0x477d('0xd7e')});_0x41c1da(_0x5467bb['dynamics365Account']);})[_0x477d('0xf8')](function(_0x27c591){if(_0x27c591['data']&&_0x27c591[_0x477d('0x451')][_0x477d('0xd67')]&&_0x27c591['data'][_0x477d('0xd67')][_0x477d('0x79')]){_0x5467bb[_0x477d('0xd67')]=_0x27c591['data']['errors']||[{'message':_0x27c591['toString'](),'type':_0x477d('0x1a3c')}];for(var _0x35580c=0x0;_0x35580c<_0x27c591[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x35580c++){_0x354963['error']({'title':_0x27c591[_0x477d('0x451')][_0x477d('0xd67')][_0x35580c][_0x477d('0x439')],'msg':_0x27c591['data'][_0x477d('0xd67')][_0x35580c][_0x477d('0x452')]});}}else{_0x354963[_0x477d('0x44a')]({'title':_0x27c591[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x27c591[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x27c591[_0x477d('0x44d')]:_0x477d('0x1a3c'),'msg':_0x27c591[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x27c591['data']['message']):_0x27c591[_0x477d('0x452')]||_0x27c591['toString']()});}});},function(){});}function _0x32318a(_0x41f33b){return _0x41f33b===null?undefined:new Date(_0x41f33b);}function _0x41c1da(_0x2a6724){_0x2453d6[_0x477d('0x3bc')](_0x2a6724);}}}());(function(){'use strict';_0x33cb0c[_0x477d('0xa')]=[_0x477d('0x474'),'$window',_0x477d('0x3c4'),_0x477d('0x554'),_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x3fe'),'$translate','dynamics365Accounts',_0x477d('0x3a5'),_0x477d('0x3ac'),'api',_0x477d('0x342'),_0x477d('0x40e'),_0x477d('0x55'),_0x477d('0x613'),_0x477d('0xc8e')];angular[_0x477d('0xb')](_0x477d('0x38'))[_0x477d('0x3ba')](_0x477d('0x1a3d'),_0x33cb0c);function _0x33cb0c(_0x401ef4,_0x17d34b,_0x5cfca2,_0x3495ee,_0x39e27d,_0x847cfa,_0x14a533,_0x5dcb64,_0x3e1e72,_0x4b578e,_0x5abbe8,_0x113190,_0x45385b,_0x50e03d,_0x4746f4,_0x4ea532,_0x47b77b){var _0x49e5f9=this;_0x49e5f9[_0x477d('0x613')]=_0x4ea532;_0x49e5f9['setting']=_0x47b77b;_0x49e5f9['currentUser']=_0x4746f4['getCurrentUser']();_0x49e5f9[_0x477d('0x1a30')]=_0x3e1e72||{'count':0x0,'rows':[]};_0x49e5f9[_0x477d('0x3a5')]=_0x4b578e;_0x49e5f9[_0x477d('0x3ac')]=_0x5abbe8&&_0x5abbe8[_0x477d('0x3bb')]==0x1?_0x5abbe8[_0x477d('0xf2')][0x0]:null;_0x49e5f9[_0x477d('0xd66')]=_0x4746f4[_0x477d('0xd81')](_0x49e5f9[_0x477d('0x3ac')]?_0x49e5f9[_0x477d('0x3ac')]['crudPermissions']:null);_0x49e5f9[_0x477d('0xd82')]=_0x477d('0x1a30');_0x49e5f9['listOrder']='';_0x49e5f9[_0x477d('0xd84')]=null;_0x49e5f9[_0x477d('0x1a3e')]=[];_0x49e5f9[_0x477d('0x3ef')]={'fields':_0x477d('0x1af'),'limit':0xa,'page':0x1};_0x49e5f9['editstate']=_0x153ade;_0x49e5f9[_0x477d('0x19d4')]=_0x2a2664;_0x49e5f9[_0x477d('0xd88')]=_0x2004d7;_0x49e5f9[_0x477d('0x485')]=_0x14f813;_0x49e5f9['getDynamics365Accounts']=_0x1e96f6;_0x49e5f9[_0x477d('0x1a3f')]=_0xbc1640;_0x49e5f9[_0x477d('0x1a34')]=_0x1ae96f;_0x49e5f9['exportSelectedDynamics365Accounts']=_0x3ffa92;_0x49e5f9[_0x477d('0x1a40')]=_0x14f629;_0x49e5f9['deselectDynamics365Accounts']=_0x1c7344;_0x49e5f9['selectAllDynamics365Accounts']=_0x41e23e;function _0x153ade(_0x5bbc35,_0xd44d0c){_0x5cfca2['go']('app.integrations.dynamics365Accounts.edit',{'id':_0x5bbc35['id'],'dynamics365Account':_0x5bbc35,'crudPermissions':_0x49e5f9[_0x477d('0xd66')]});}function _0x2a2664(_0x4b302c,_0x2e062a){return _0x113190[_0x477d('0xc52')][_0x477d('0xe26')]({'id':_0x4b302c['id'],'test':!![]})[_0x477d('0x38b')]['then'](function(){_0x50e03d[_0x477d('0x485')]({'title':_0x477d('0x1a41'),'msg':_0x477d('0xf0a')});})[_0x477d('0xf8')](function(_0x3ea327){_0x50e03d['error']({'title':_0x477d('0x1a41'),'msg':_0x3ea327[_0x477d('0x451')]?_0x3ea327[_0x477d('0x451')]['message']?_0x3ea327[_0x477d('0x451')][_0x477d('0x452')]:JSON['stringify'](_0x3ea327[_0x477d('0x451')]):_0x3ea327[_0x477d('0x453')]()});});}function _0x2004d7(_0x597f74,_0x4b1982){var _0x24092e=_0x39e27d[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xd90')+_[_0x477d('0xd91')](_0x477d('0x1a2f'))+'?')[_0x477d('0xd92')](_0x477d('0xd93')+(_0x597f74[_0x477d('0x94')]||_0x477d('0x1a2f'))+_0x477d('0xd94')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x1a42'))[_0x477d('0xd7c')](_0x4b1982)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x39e27d[_0x477d('0x395')](_0x24092e)[_0x477d('0x76')](function(){_0x1ae96f(_0x597f74);},function(){console[_0x477d('0x7b')]('CANCEL');});}var _0x216beb=!![];var _0x4bb867=0x1;_0x401ef4[_0x477d('0x4b5')](_0x477d('0xd98'),function(_0x41b9d6,_0x3ab6d6){if(_0x216beb){_0x14a533(function(){_0x216beb=![];});}else{if(!_0x3ab6d6){_0x4bb867=_0x49e5f9[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x41b9d6!==_0x3ab6d6){_0x49e5f9[_0x477d('0x3ef')]['page']=0x1;}if(!_0x41b9d6){_0x49e5f9[_0x477d('0x3ef')][_0x477d('0xe03')]=_0x4bb867;}_0x49e5f9['getDynamics365Accounts']();}});function _0x14f813(_0x53598e){_0x49e5f9[_0x477d('0x1a30')]=_0x53598e||{'count':0x0,'rows':[]};}function _0x1e96f6(){_0x49e5f9['query'][_0x477d('0x91c')]=(_0x49e5f9[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x49e5f9[_0x477d('0x3ef')][_0x477d('0x91d')];if(_0x4746f4[_0x477d('0x56')](_0x477d('0x5f'))){_0x49e5f9['promise']=_0x113190[_0x477d('0xc52')][_0x477d('0x376')](_0x49e5f9[_0x477d('0x3ef')],_0x14f813)['$promise'];}else{_0x49e5f9[_0x477d('0x3ef')]['id']=_0x49e5f9[_0x477d('0x3a5')]['id'];_0x49e5f9[_0x477d('0x3ef')][_0x477d('0xd99')]=_0x477d('0x1b0');_0x49e5f9['promise']=_0x113190[_0x477d('0x3a5')]['getResources'](_0x49e5f9['query'],_0x14f813)[_0x477d('0x38b')];}}function _0xbc1640(_0x2086d7,_0x15e312){_0x39e27d[_0x477d('0x395')]({'controller':'CreateOrEditDynamics365AccountDialogController','controllerAs':'vm','templateUrl':_0x477d('0x1a43'),'parent':angular['element'](_0x847cfa[_0x477d('0x399')]),'targetEvent':_0x2086d7,'clickOutsideToClose':!![],'locals':{'dynamics365Account':_0x15e312,'dynamics365Accounts':_0x49e5f9[_0x477d('0x1a30')][_0x477d('0xf2')],'license':_0x49e5f9[_0x477d('0x613')],'setting':_0x49e5f9[_0x477d('0xc8e')],'crudPermissions':_0x49e5f9[_0x477d('0xd66')]}});}function _0x1ae96f(_0x5efcbd){_0x113190[_0x477d('0xc52')]['delete']({'id':_0x5efcbd['id']})['$promise']['then'](function(){_['remove'](_0x49e5f9['dynamics365Accounts']['rows'],{'id':_0x5efcbd['id']});_0x49e5f9[_0x477d('0x1a30')][_0x477d('0x3bb')]-=0x1;if(!_0x49e5f9[_0x477d('0x1a30')][_0x477d('0xf2')]['length']){_0x49e5f9[_0x477d('0x1a44')]();}_0x50e03d[_0x477d('0x485')]({'title':_[_0x477d('0xd91')](_0x477d('0x1a45'))+'\x20deleted!','msg':_0x5efcbd[_0x477d('0x94')]?_0x5efcbd['name']+_0x477d('0xd7e'):''});})['catch'](function(_0xe53368){if(_0xe53368[_0x477d('0x451')]&&_0xe53368['data'][_0x477d('0xd67')]&&_0xe53368['data'][_0x477d('0xd67')][_0x477d('0x79')]){_0x49e5f9[_0x477d('0xd67')]=_0xe53368[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0xe53368[_0x477d('0x453')](),'type':_0x477d('0x1a46')}];for(var _0x144d8e=0x0;_0x144d8e<_0xe53368[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x144d8e++){_0x50e03d[_0x477d('0x44a')]({'title':_0xe53368[_0x477d('0x451')]['errors'][_0x144d8e][_0x477d('0x439')],'msg':_0xe53368[_0x477d('0x451')][_0x477d('0xd67')][_0x144d8e][_0x477d('0x452')]});}}else{_0x50e03d[_0x477d('0x44a')]({'title':_0xe53368[_0x477d('0x3c3')]?_0x477d('0x44b')+_0xe53368[_0x477d('0x3c3')]+_0x477d('0x44c')+_0xe53368[_0x477d('0x44d')]:'SYSTEM:DELETEintDynamics365Account','msg':_0xe53368[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0xe53368[_0x477d('0x451')][_0x477d('0x452')]):_0xe53368[_0x477d('0x452')]||_0xe53368['toString']()});}});}function _0x3ffa92(){var _0xb94af3=angular[_0x477d('0x6d9')](_0x49e5f9[_0x477d('0x1a3e')]);_0x49e5f9['selectedDynamics365Accounts']=[];return _0xb94af3;}function _0x14f629(_0x170c4e){var _0x19e246=_0x39e27d[_0x477d('0xd78')]()['title']('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20dynamics365Accounts?')[_0x477d('0xd92')](_0x477d('0xd93')+_0x49e5f9[_0x477d('0x1a3e')]['length']+'\x20selected
'+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x1a47'))[_0x477d('0xd7c')](_0x170c4e)['ok']('OK')[_0x477d('0x4f0')]('CANCEL');_0x39e27d[_0x477d('0x395')](_0x19e246)[_0x477d('0x76')](function(){_0x49e5f9[_0x477d('0x1a3e')]['forEach'](function(_0x174564){_0x1ae96f(_0x174564);});_0x49e5f9['selectedDynamics365Accounts']=[];});}function _0x1c7344(){_0x49e5f9['selectedDynamics365Accounts']=[];}function _0x41e23e(){_0x49e5f9[_0x477d('0x1a3e')]=_0x49e5f9[_0x477d('0x1a30')][_0x477d('0xf2')];}}}());(function(){'use strict';_0x57ecbb['$inject']=[_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x386'),_0x477d('0x40e'),_0x477d('0x55')];angular['module'](_0x477d('0x38'))[_0x477d('0x3ba')](_0x477d('0x1a48'),_0x57ecbb);function _0x57ecbb(_0x1e49fd,_0x538882,_0x1cf545,_0x428226,_0x2a4199){var _0x3e1395=this;_0x3e1395['currentUser']=_0x2a4199[_0x477d('0x5c')]();_0x3e1395[_0x477d('0x1a2f')]={};_0x3e1395[_0x477d('0x1a49')]={};_0x3e1395[_0x477d('0x19df')]=[];_0x3e1395[_0x477d('0x1a4a')]=-0x1;_0x3e1395['crudPermissions'];_0x3e1395[_0x477d('0x5ee')]=_0x103a78;_0x3e1395[_0x477d('0x1a4b')]=_0x5bd1cf;_0x3e1395[_0x477d('0x1a4c')]=_0x331223;_0x3e1395[_0x477d('0x1a4d')]=_0x2fa1b2;function _0x103a78(_0x5c779d,_0x1ded74){_0x3e1395[_0x477d('0x1a2f')]=_0x5c779d;_0x3e1395[_0x477d('0xd66')]=typeof _0x1ded74!==_0x477d('0x4a4')?_0x1ded74:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x1cf545[_0x477d('0xc52')][_0x477d('0x19e9')]({'id':_0x3e1395[_0x477d('0x1a2f')]['id'],'sort':'-updatedAt'})[_0x477d('0x38b')]['then'](function(_0xb38bad){_0x3e1395[_0x477d('0x19df')]=_0xb38bad['rows']?_0xb38bad[_0x477d('0xf2')]:[];if(_0x3e1395[_0x477d('0x19df')][_0x477d('0x79')]){_0x3e1395[_0x477d('0x1a4b')](0x0);}return _0x1cf545[_0x477d('0xbb9')][_0x477d('0x376')]({'nolimit':!![],'sort':_0x477d('0x94')})['$promise'];})[_0x477d('0x76')](function(_0x38af2d){_0x3e1395['variables']=_0x38af2d[_0x477d('0xf2')]?_0x38af2d['rows']:[];_0x3e1395[_0x477d('0x1a4e')]=_[_0x477d('0xdb5')](_0x3e1395[_0x477d('0xf31')],'id');})[_0x477d('0xf8')](function(_0x2a5998){_0x428226[_0x477d('0x44a')]({'title':_0x2a5998[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x2a5998['status']+_0x477d('0x44c')+_0x2a5998[_0x477d('0x44d')]:_0x477d('0x19ea'),'msg':_0x2a5998[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x2a5998[_0x477d('0x451')]):_0x2a5998[_0x477d('0x453')]()});});}function _0x5bd1cf(_0x37020e){_0x3e1395[_0x477d('0x1a49')]=_0x3e1395[_0x477d('0x19df')][_0x37020e];_0x3e1395[_0x477d('0x1a4a')]=_0x37020e;_0x1cf545[_0x477d('0xc58')][_0x477d('0x19eb')]({'id':_0x3e1395[_0x477d('0x1a49')]['id']})['$promise'][_0x477d('0x76')](function(_0x4f413e){_0x3e1395['subjects']=_0x4f413e['rows']?_0x4f413e[_0x477d('0xf2')]:[];return _0x1cf545[_0x477d('0xc58')][_0x477d('0x1a4f')]({'id':_0x3e1395[_0x477d('0x1a49')]['id']})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x39ebaf){_0x3e1395[_0x477d('0x19ed')]=_0x39ebaf['rows']?_0x39ebaf[_0x477d('0xf2')]:[];return _0x1cf545[_0x477d('0xc58')][_0x477d('0xe26')]({'id':_0x3e1395['dynamics365Configuration']['id']})['$promise'];})['then'](function(_0x2897dd){_0x3e1395[_0x477d('0x458')]=_0x2897dd[_0x477d('0xf2')]?_0x2897dd[_0x477d('0xf2')]:[];})[_0x477d('0xf8')](function(_0x24bc97){_0x428226[_0x477d('0x44a')]({'title':_0x24bc97['status']?_0x477d('0x44b')+_0x24bc97[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x24bc97['statusText']:_0x477d('0x19ee'),'msg':_0x24bc97[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x24bc97['data']):_0x24bc97[_0x477d('0x453')]()});});}function _0x331223(_0x42f473,_0x319612){_0x1e49fd['show']({'controller':_0x477d('0x1a50'),'controllerAs':'vm','templateUrl':_0x477d('0x1a51'),'parent':angular[_0x477d('0x398')](_0x538882[_0x477d('0x399')]),'targetEvent':_0x42f473,'clickOutsideToClose':!![],'locals':{'dynamics365Configuration':_0x319612,'configurations':_0x3e1395[_0x477d('0x19df')],'license':null,'setting':null,'crudPermissions':_0x3e1395[_0x477d('0xd66')]}})['finally'](function(){_0x3e1395[_0x477d('0x1a4b')](0x0);});}function _0x2fa1b2(_0x79818d,_0x553252){var _0x800369=_0x1e49fd['confirm']()[_0x477d('0x49a')](_0x477d('0x1a52'))[_0x477d('0xd92')](''+(_0x553252[_0x477d('0x94')]||_0x477d('0x1a49'))+_0x477d('0xd94')+_0x477d('0xd95'))['ariaLabel'](_0x477d('0x1a53'))[_0x477d('0xd7c')](_0x79818d)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x1e49fd[_0x477d('0x395')](_0x800369)[_0x477d('0x76')](function(){_0x1cf545['intDynamics365Configuration'][_0x477d('0xa55')]({'id':_0x553252['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x3e1395[_0x477d('0x19df')],{'id':_0x553252['id']});_0x428226[_0x477d('0x485')]({'title':_0x477d('0x1a54'),'msg':_0x553252[_0x477d('0x94')]?_0x553252[_0x477d('0x94')]+'\x20has\x20been\x20deleted!':''});})[_0x477d('0xf8')](function(_0x5e2b9c){_0x428226[_0x477d('0x44a')]({'title':_0x5e2b9c[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x5e2b9c[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x5e2b9c[_0x477d('0x44d')]:_0x477d('0x19f1'),'msg':_0x5e2b9c[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x5e2b9c[_0x477d('0x451')]):_0x5e2b9c[_0x477d('0x453')]()});})[_0x477d('0x5ff')](function(){_0x3e1395[_0x477d('0x1a4b')](0x0);});},function(){console['log']('CANCEL');});}_0x3e1395[_0x477d('0x19fa')]=[];_0x3e1395['createOrEditSubject']=_0x4dd72a;_0x3e1395[_0x477d('0x19f3')]=_0x8b8cad;_0x3e1395[_0x477d('0x19f4')]=_0x35a550;function _0x4dd72a(_0x3c7682,_0x279b6d){_0x1e49fd[_0x477d('0x395')]({'controller':'CreateOrEditDynamics365AccountItemDialogController','controllerAs':'vm','templateUrl':_0x477d('0x1a55'),'parent':angular[_0x477d('0x398')](_0x538882[_0x477d('0x399')]),'targetEvent':_0x3c7682,'clickOutsideToClose':!![],'locals':{'type':'subject','item':_0x279b6d,'items':_0x3e1395[_0x477d('0x19ec')],'configuration':_0x3e1395[_0x477d('0x1a49')],'account':_0x3e1395['dynamics365Account'],'license':null,'setting':null,'crudPermissions':_0x3e1395[_0x477d('0xd66')]}});}function _0x1fb88b(_0x2b8348){_0x1cf545['intDynamics365Field']['delete']({'id':_0x2b8348['id']})[_0x477d('0x38b')]['then'](function(){_[_0x477d('0x39c')](_0x3e1395[_0x477d('0x19ec')],{'id':_0x2b8348['id']});_0x428226[_0x477d('0x485')]({'title':'Subject\x20deleted!','msg':_0x477d('0x19f7')});})['catch'](function(_0x45438e){_0x428226[_0x477d('0x44a')]({'title':_0x45438e[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x45438e[_0x477d('0x3c3')]+'\x20-\x20'+_0x45438e['statusText']:_0x477d('0x19f8'),'msg':_0x45438e[_0x477d('0x451')]?JSON['stringify'](_0x45438e[_0x477d('0x451')]):_0x45438e[_0x477d('0x453')]()});});}function _0x8b8cad(_0x571f6c,_0x13b32b){var _0x331aaa=_0x1e49fd[_0x477d('0xd78')]()['title']('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20subject?')[_0x477d('0xd92')](_0x477d('0x19f9')+'\x20will\x20be\x20deleted.')[_0x477d('0x687')](_0x477d('0x1a56'))['targetEvent'](_0x571f6c)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x1e49fd[_0x477d('0x395')](_0x331aaa)[_0x477d('0x76')](function(){_0x1fb88b(_0x13b32b);},function(){console[_0x477d('0x7b')](_0x477d('0xd97'));});}function _0x35a550(_0x546e18){var _0x1e50f3=_0x1e49fd[_0x477d('0xd78')]()[_0x477d('0x49a')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20subjects?')[_0x477d('0xd92')](''+_0x3e1395[_0x477d('0x19fa')][_0x477d('0x79')]+_0x477d('0xda0')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x19fb'))['targetEvent'](_0x546e18)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x1e49fd['show'](_0x1e50f3)[_0x477d('0x76')](function(){_0x3e1395[_0x477d('0x19fa')][_0x477d('0x3b1')](function(_0x291f5d){_0x1fb88b(_0x291f5d);});_0x3e1395[_0x477d('0x19fa')]=[];});}_0x3e1395['selectedDescriptions']=[];_0x3e1395['createOrEditDescription']=_0x4c28e8;_0x3e1395['deleteDescriptionConfirm']=_0x238376;_0x3e1395[_0x477d('0x1a57')]=_0x3e03e5;function _0x4c28e8(_0x313ceb,_0x175194){_0x1e49fd['show']({'controller':_0x477d('0x1a58'),'controllerAs':'vm','templateUrl':_0x477d('0x1a55'),'parent':angular[_0x477d('0x398')](_0x538882['body']),'targetEvent':_0x313ceb,'clickOutsideToClose':!![],'locals':{'type':_0x477d('0xe0e'),'item':_0x175194,'items':_0x3e1395[_0x477d('0x19ed')],'configuration':_0x3e1395[_0x477d('0x1a49')],'account':_0x3e1395[_0x477d('0x1a2f')],'license':null,'setting':null,'crudPermissions':_0x3e1395[_0x477d('0xd66')]}});}function _0x142708(_0x348082){_0x1cf545[_0x477d('0x1a59')][_0x477d('0xa55')]({'id':_0x348082['id']})[_0x477d('0x38b')]['then'](function(){_[_0x477d('0x39c')](_0x3e1395[_0x477d('0x19ed')],{'id':_0x348082['id']});_0x428226['success']({'title':_0x477d('0x1a5a'),'msg':_0x477d('0x19ff')});})[_0x477d('0xf8')](function(_0x496046){_0x428226[_0x477d('0x44a')]({'title':_0x496046[_0x477d('0x3c3')]?'API:'+_0x496046[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x496046[_0x477d('0x44d')]:_0x477d('0x19f8'),'msg':_0x496046['data']?JSON[_0x477d('0x3fb')](_0x496046['data']):_0x496046[_0x477d('0x453')]()});});}function _0x238376(_0x5f39ff,_0x654cd3){var _0x9aefe0=_0x1e49fd[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x1a00'))['htmlContent'](_0x477d('0x1a01')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x1a02'))[_0x477d('0xd7c')](_0x5f39ff)['ok']('OK')['cancel'](_0x477d('0xd97'));_0x1e49fd['show'](_0x9aefe0)['then'](function(){_0x142708(_0x654cd3);},function(){console[_0x477d('0x7b')](_0x477d('0xd97'));});}function _0x3e03e5(_0x1ce99f){var _0x4975d5=_0x1e49fd[_0x477d('0xd78')]()['title'](_0x477d('0x1a03'))[_0x477d('0xd92')](_0x477d('0xd93')+_0x3e1395[_0x477d('0x19fc')][_0x477d('0x79')]+_0x477d('0xda0')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x1a04'))[_0x477d('0xd7c')](_0x1ce99f)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x1e49fd[_0x477d('0x395')](_0x4975d5)[_0x477d('0x76')](function(){_0x3e1395['selectedDescriptions'][_0x477d('0x3b1')](function(_0x3c8cee){_0x142708(_0x3c8cee);});_0x3e1395[_0x477d('0x19fc')]=[];});}_0x3e1395[_0x477d('0x1a08')]=[];_0x3e1395[_0x477d('0x1a05')]=_0x2271ba;_0x3e1395['deleteFieldConfirm']=_0x30a75d;_0x3e1395[_0x477d('0x1a06')]=_0x193775;function _0x2271ba(_0x274570,_0x16612e){_0x1e49fd[_0x477d('0x395')]({'controller':_0x477d('0x1a58'),'controllerAs':'vm','templateUrl':_0x477d('0x1a55'),'parent':angular['element'](_0x538882[_0x477d('0x399')]),'targetEvent':_0x274570,'clickOutsideToClose':!![],'locals':{'type':_0x477d('0x463'),'item':_0x16612e,'items':_0x3e1395[_0x477d('0x458')],'configuration':_0x3e1395[_0x477d('0x1a49')],'account':_0x3e1395[_0x477d('0x1a2f')],'license':null,'setting':null,'crudPermissions':_0x3e1395[_0x477d('0xd66')]}});}function _0x151f8e(_0x1d9ef1){_0x1cf545[_0x477d('0x1a59')]['delete']({'id':_0x1d9ef1['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x3e1395[_0x477d('0x458')],{'id':_0x1d9ef1['id']});_0x428226[_0x477d('0x485')]({'title':_0x477d('0xe70'),'msg':'Field\x20has\x20been\x20deleted!'});})[_0x477d('0xf8')](function(_0x5674a0){_0x428226[_0x477d('0x44a')]({'title':_0x5674a0[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x5674a0[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x5674a0[_0x477d('0x44d')]:_0x477d('0x19f8'),'msg':_0x5674a0[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x5674a0['data']):_0x5674a0[_0x477d('0x453')]()});});}function _0x30a75d(_0x2f14ca,_0x56d612){var _0x54c148=_0x1e49fd[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xe6d'))[_0x477d('0xd92')](_0x477d('0x1a5b')+_0x477d('0xd95'))['ariaLabel']('delete\x20field')['targetEvent'](_0x2f14ca)['ok']('OK')[_0x477d('0x4f0')]('CANCEL');_0x1e49fd[_0x477d('0x395')](_0x54c148)[_0x477d('0x76')](function(){_0x151f8e(_0x56d612);},function(){console[_0x477d('0x7b')](_0x477d('0xd97'));});}function _0x193775(_0x165154){var _0x4e2663=_0x1e49fd[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xe72'))[_0x477d('0xd92')](_0x477d('0xd93')+_0x3e1395[_0x477d('0x1a08')][_0x477d('0x79')]+_0x477d('0xda0')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0xe73'))[_0x477d('0xd7c')](_0x165154)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x1e49fd[_0x477d('0x395')](_0x4e2663)[_0x477d('0x76')](function(){_0x3e1395[_0x477d('0x1a08')][_0x477d('0x3b1')](function(_0x585bf5){_0x151f8e(_0x585bf5);});_0x3e1395['selectedFields']=[];});}}}());(function(){'use strict';_0x1bd028[_0x477d('0xa')]=['$scope','$state',_0x477d('0xd64'),_0x477d('0x384'),'$q',_0x477d('0x40d'),_0x477d('0x40e'),'configurations',_0x477d('0x1a49'),_0x477d('0x386'),_0x477d('0x55'),'license',_0x477d('0xc8e'),_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x38'))[_0x477d('0x3ba')](_0x477d('0x1a50'),_0x1bd028);function _0x1bd028(_0x11b236,_0x2ced92,_0x570597,_0x57b562,_0x4824ec,_0x306786,_0x4161d8,_0x16d8bb,_0x123d9a,_0x284788,_0x38357f,_0x1161ed,_0x22ac5e,_0x464045){var _0x4a7076=this;_0x4a7076[_0x477d('0x3e5')]=_0x38357f[_0x477d('0x5c')]();_0x4a7076[_0x477d('0xd67')]=[];_0x4a7076[_0x477d('0xc8e')]=_0x22ac5e;_0x4a7076[_0x477d('0x613')]=_0x1161ed;_0x4a7076[_0x477d('0xd66')]=_0x464045;_0x4a7076[_0x477d('0xd68')]={};_0x4a7076[_0x477d('0xd69')]=_0x4a7076[_0x477d('0xc8e')]&&_0x4a7076[_0x477d('0xc8e')]['securePassword']?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x4a7076[_0x477d('0x49a')]='INTEGRATIONS.EDIT_DYNAMICS365CONFIGURATION';_0x4a7076['dynamics365Configuration']=angular['copy'](_0x123d9a);_0x4a7076[_0x477d('0x19df')]=_0x16d8bb;_0x4a7076[_0x477d('0x1a5c')]=![];if(!_0x4a7076['dynamics365Configuration']){_0x4a7076['dynamics365Configuration']={'channel':_0x477d('0x108'),'type':'inbound','ticketType':_0x477d('0x1a5d')};_0x4a7076[_0x477d('0x49a')]=_0x477d('0x1a5e');_0x4a7076[_0x477d('0x1a5c')]=!![];}_0x4a7076[_0x477d('0x1a5f')]=_0x4e6917;_0x4a7076[_0x477d('0x1a60')]=_0x47f9b5;_0x4a7076[_0x477d('0x1a4d')]=_0x627369;_0x4a7076[_0x477d('0xd6f')]=_0x9de496;_0x4a7076['closeDialog']=_0x1355a6;function _0x4e6917(){_0x4a7076['errors']=[];_0x284788['intDynamics365Account'][_0x477d('0x1a61')]({'id':_0x2ced92[_0x477d('0x37e')]['id']},_0x4a7076[_0x477d('0x1a49')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x4fcba8){_0x4a7076[_0x477d('0x19df')][_0x477d('0x63b')](_0x4fcba8['toJSON']());_0x4161d8[_0x477d('0x485')]({'title':_0x477d('0x1a62'),'msg':_0x4a7076[_0x477d('0x1a49')][_0x477d('0x94')]?_0x4a7076[_0x477d('0x1a49')][_0x477d('0x94')]+_0x477d('0xd73'):''});_0x1355a6(_0x4fcba8);})[_0x477d('0xf8')](function(_0x4f30eb){if(_0x4f30eb[_0x477d('0x451')]&&_0x4f30eb[_0x477d('0x451')][_0x477d('0xd67')]&&_0x4f30eb[_0x477d('0x451')]['errors'][_0x477d('0x79')]){_0x4a7076['errors']=_0x4f30eb[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x4f30eb[_0x477d('0x453')](),'type':'api.intDynamics365Configuration.save'}];for(var _0xe60e76=0x0;_0xe60e76<_0x4f30eb['data'][_0x477d('0xd67')][_0x477d('0x79')];_0xe60e76+=0x1){_0x4161d8[_0x477d('0x44a')]({'title':_0x4f30eb[_0x477d('0x451')][_0x477d('0xd67')][_0xe60e76][_0x477d('0x439')],'msg':_0x4f30eb[_0x477d('0x451')][_0x477d('0xd67')][_0xe60e76][_0x477d('0x452')]});}}else{_0x4161d8[_0x477d('0x44a')]({'title':_0x4f30eb['status']?_0x477d('0x44b')+_0x4f30eb[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x4f30eb[_0x477d('0x44d')]:_0x477d('0x1a63'),'msg':_0x4f30eb['data']?JSON[_0x477d('0x3fb')](_0x4f30eb['data']['message']):_0x4f30eb[_0x477d('0x453')]()});}});}function _0x47f9b5(){_0x4a7076['errors']=[];_0x284788[_0x477d('0xc58')][_0x477d('0x710')]({'id':_0x4a7076[_0x477d('0x1a49')]['id']},_0x4a7076[_0x477d('0x1a49')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x376650){var _0x749b43=_[_0x477d('0x10a')](_0x4a7076[_0x477d('0x19df')],{'id':_0x376650['id']});if(_0x749b43){_[_0x477d('0xef')](_0x749b43,_[_0x477d('0x10b')](_0x376650[_0x477d('0xd71')](),_[_0x477d('0x7f')](_0x749b43)));}_0x4161d8[_0x477d('0x485')]({'title':'Dynamics365Configuration\x20properly\x20saved!','msg':_0x4a7076[_0x477d('0x1a49')]['name']?_0x4a7076['dynamics365Configuration'][_0x477d('0x94')]+_0x477d('0xd76'):''});_0x1355a6(_0x376650);})[_0x477d('0xf8')](function(_0x3c68d4){if(_0x3c68d4['data']&&_0x3c68d4[_0x477d('0x451')][_0x477d('0xd67')]&&_0x3c68d4['data'][_0x477d('0xd67')][_0x477d('0x79')]){_0x4a7076[_0x477d('0xd67')]=_0x3c68d4['data'][_0x477d('0xd67')]||[{'message':_0x3c68d4['toString'](),'type':'api.intDynamics365Configuration.update'}];for(var _0x417d0d=0x0;_0x417d0d<_0x3c68d4['data']['errors']['length'];_0x417d0d++){_0x4161d8[_0x477d('0x44a')]({'title':_0x3c68d4[_0x477d('0x451')][_0x477d('0xd67')][_0x417d0d]['type'],'msg':_0x3c68d4[_0x477d('0x451')][_0x477d('0xd67')][_0x417d0d][_0x477d('0x452')]});}}else{_0x4161d8[_0x477d('0x44a')]({'title':_0x3c68d4[_0x477d('0x3c3')]?'API:'+_0x3c68d4[_0x477d('0x3c3')]+'\x20-\x20'+_0x3c68d4[_0x477d('0x44d')]:'api.intDynamics365Configuration.update','msg':_0x3c68d4[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x3c68d4['data'][_0x477d('0x452')]):_0x3c68d4['toString']()});}});}function _0x627369(_0x482e23){_0x4a7076['errors']=[];var _0x5e9a52=_0x57b562[_0x477d('0xd78')]()[_0x477d('0x49a')]('Are\x20you\x20sure?')[_0x477d('0xdaf')](_0x477d('0x1a64'))[_0x477d('0x687')](_0x477d('0x1a65'))['ok']('Delete')[_0x477d('0x4f0')](_0x477d('0x688'))[_0x477d('0xd7c')](_0x482e23);_0x57b562[_0x477d('0x395')](_0x5e9a52)[_0x477d('0x76')](function(){_0x284788[_0x477d('0xc58')][_0x477d('0xa55')]({'id':_0x4a7076['dynamics365Configuration']['id']})['$promise'][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x4a7076[_0x477d('0x19df')],{'id':_0x4a7076[_0x477d('0x1a49')]['id']});_0x4161d8[_0x477d('0x485')]({'title':_0x477d('0x1a66'),'msg':(_0x4a7076['dynamics365Configuration'][_0x477d('0x94')]||_0x477d('0x1a49'))+_0x477d('0xd7e')});_0x1355a6(_0x4a7076[_0x477d('0x1a49')]);})['catch'](function(_0x3103cc){if(_0x3103cc[_0x477d('0x451')]&&_0x3103cc[_0x477d('0x451')][_0x477d('0xd67')]&&_0x3103cc['data'][_0x477d('0xd67')][_0x477d('0x79')]){_0x4a7076[_0x477d('0xd67')]=_0x3103cc[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x3103cc[_0x477d('0x453')](),'type':'api.intDynamics365Configuration.delete'}];for(var _0x2f4d34=0x0;_0x2f4d34<_0x3103cc[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x2f4d34++){_0x4161d8[_0x477d('0x44a')]({'title':_0x3103cc[_0x477d('0x451')]['errors'][_0x2f4d34]['type'],'msg':_0x3103cc[_0x477d('0x451')][_0x477d('0xd67')][_0x2f4d34][_0x477d('0x452')]});}}else{_0x4161d8[_0x477d('0x44a')]({'title':_0x3103cc[_0x477d('0x3c3')]?'API:'+_0x3103cc[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x3103cc[_0x477d('0x44d')]:_0x477d('0x1a67'),'msg':_0x3103cc[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x3103cc[_0x477d('0x451')][_0x477d('0x452')]):_0x3103cc[_0x477d('0x452')]||_0x3103cc['toString']()});}});},function(){});}function _0x9de496(_0x1ff0d6){return _0x1ff0d6===null?undefined:new Date(_0x1ff0d6);}function _0x1355a6(_0x17f6ee){_0x57b562[_0x477d('0x3bc')](_0x17f6ee);}}}());(function(){'use strict';_0x52d08e['$inject']=[_0x477d('0x474'),_0x477d('0x3c4'),_0x477d('0xd64'),_0x477d('0x384'),'toasty','configuration',_0x477d('0x4a6'),_0x477d('0x1a15'),_0x477d('0x15e5'),_0x477d('0x439'),_0x477d('0x386'),_0x477d('0x55'),_0x477d('0xd66')];angular[_0x477d('0xb')]('app.integrations')['controller']('CreateOrEditDynamics365AccountItemDialogController',_0x52d08e);function _0x52d08e(_0x15c7f5,_0x2e83a2,_0x1ac056,_0x1b8f8c,_0x3ddaf2,_0x5649f0,_0x1ba71a,_0x5cc57a,_0x1d851b,_0x2efcc1,_0x49447e,_0x2ee146,_0x447b82){var _0x9788f1=this;_0x9788f1[_0x477d('0x3e5')]=_0x2ee146[_0x477d('0x5c')]();_0x9788f1[_0x477d('0xd67')]=[];_0x9788f1[_0x477d('0x49a')]='INTEGRATIONS.EDIT_'+_[_0x477d('0x1a14')](_0x2efcc1);_0x9788f1[_0x477d('0x1a15')]=angular[_0x477d('0x6d9')](_0x5cc57a);_0x9788f1[_0x477d('0x4a6')]=_0x1ba71a;_0x9788f1[_0x477d('0x439')]=_0x2efcc1;_0x9788f1[_0x477d('0xd66')]=_0x447b82;_0x9788f1['newItem']=![];if(!_0x9788f1[_0x477d('0x1a15')]){_0x9788f1['item']={'type':_0x477d('0x1a68')};_0x9788f1[_0x477d('0x1a15')][_[_0x477d('0x12e0')](_0x2efcc1)+'Id']=_0x5649f0['id'];_0x9788f1[_0x477d('0x49a')]=_0x477d('0x1a16')+_[_0x477d('0x1a14')](_0x2efcc1);_0x9788f1['newItem']=!![];}_0x9788f1[_0x477d('0x1a18')]=_0x50282c;_0x9788f1[_0x477d('0x15f9')]=_0x3cfe67;_0x9788f1['deleteItem']=_0x4629f8;_0x9788f1[_0x477d('0x1a19')]=_0x1c0949;_0x9788f1[_0x477d('0x6bf')]=_0x1fa843;_0x49447e['variable'][_0x477d('0x376')]({'nolimit':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x42de0b){_0x9788f1[_0x477d('0xf31')]=_0x42de0b[_0x477d('0xf2')]?_0x42de0b[_0x477d('0xf2')]:[];return _0x49447e['voiceAgentReport']['describe']()[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x36c63e){_0x9788f1['voiceAgentReportColumns']=_[_0x477d('0x7e')](_['keys'](_0x36c63e),[_0x477d('0x38b'),_0x477d('0x80'),'createdAt',_0x477d('0xe38'),_0x477d('0x1a1c')]);_0x9788f1[_0x477d('0x1a1a')]['push'](_0x477d('0x1a1d'));return _0x49447e['voiceDialReport'][_0x477d('0xe27')]()[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x13f4e2){_0x9788f1['voiceDialReportColumns']=_[_0x477d('0x7e')](_[_0x477d('0x7f')](_0x13f4e2),[_0x477d('0x38b'),_0x477d('0x80'),_0x477d('0xe37'),_0x477d('0xe38'),_0x477d('0x1a1c')]);_0x9788f1[_0x477d('0x1a1b')][_0x477d('0x3a7')](_0x477d('0x1a1d'));})['catch'](function(_0xc055da){_0x3ddaf2[_0x477d('0x44a')]({'title':_0xc055da['status']?_0x477d('0x44b')+_0xc055da[_0x477d('0x3c3')]+'\x20-\x20'+_0xc055da['statusText']:_0x477d('0x1a1e'),'msg':_0xc055da[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0xc055da[_0x477d('0x451')]):_0xc055da[_0x477d('0x453')]()});});_0x49447e[_0x477d('0xc52')][_0x477d('0xe26')]({'id':_0x1d851b['id'],'ticketType':_0x5649f0[_0x477d('0x1a1f')]?_0x5649f0[_0x477d('0x1a1f')]:undefined})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x58a1a6){_0x9788f1[_0x477d('0x1a20')]=!![];_0x9788f1[_0x477d('0x458')]=_0x58a1a6['rows']?_0x58a1a6[_0x477d('0xf2')]:[];if(_0x9788f1['item'][_0x477d('0x1a22')]){_0x9788f1[_0x477d('0x1532')]=_[_0x477d('0x10a')](_0x9788f1[_0x477d('0x458')],{'id':_0x9788f1[_0x477d('0x1a15')][_0x477d('0x1a22')]});}})[_0x477d('0xf8')](function(_0x4dfb66){_0x9788f1[_0x477d('0x1a20')]=![];console[_0x477d('0x44a')](_0x4dfb66);});function _0x50282c(){_0x9788f1[_0x477d('0xd67')]=[];if(_0x9788f1[_0x477d('0x1532')]){_0x9788f1['item'][_0x477d('0x1a22')]=_0x9788f1[_0x477d('0x1532')]['id'];_0x9788f1[_0x477d('0x1a15')][_0x477d('0x1a23')]=_0x9788f1[_0x477d('0x1532')][_0x477d('0x94')];_0x9788f1['item']['customField']=_0x9788f1[_0x477d('0x1532')][_0x477d('0x9f6')];}_0x49447e[_0x477d('0x1a59')]['save'](_0x9788f1[_0x477d('0x1a15')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0xeae262){_0x9788f1[_0x477d('0x4a6')]['unshift'](_0xeae262);_0x3ddaf2[_0x477d('0x485')]({'title':_['capitalize'](_0x2efcc1)+_0x477d('0x1a21'),'msg':_['capitalize'](_0x2efcc1)+_0x477d('0xd73')});_0x1fa843();})[_0x477d('0xf8')](function(_0x4a2794){console[_0x477d('0x44a')](_0x4a2794);_0x9788f1['errors']=_0x4a2794[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x4a2794[_0x477d('0x453')](),'type':_0x477d('0x1a69')}];});}function _0x3cfe67(){_0x9788f1[_0x477d('0xd67')]=[];if(_0x9788f1[_0x477d('0x1532')]){_0x9788f1['item'][_0x477d('0x1a22')]=_0x9788f1[_0x477d('0x1532')]['id'];_0x9788f1[_0x477d('0x1a15')][_0x477d('0x1a23')]=_0x9788f1[_0x477d('0x1532')][_0x477d('0x94')];_0x9788f1[_0x477d('0x1a15')][_0x477d('0x1532')]=_0x9788f1[_0x477d('0x1532')][_0x477d('0x9f6')];}_0x49447e['intDynamics365Field'][_0x477d('0x710')]({'id':_0x9788f1[_0x477d('0x1a15')]['id']},_0x9788f1[_0x477d('0x1a15')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x300954){var _0x4f5283=_['find'](_0x9788f1[_0x477d('0x4a6')],{'id':_0x300954['id']});if(_0x4f5283){_[_0x477d('0xef')](_0x4f5283,_0x300954);}_0x3ddaf2['success']({'title':_[_0x477d('0x12e0')](_0x2efcc1)+_0x477d('0x1a6a'),'msg':_['capitalize'](_0x2efcc1)+'\x20has\x20been\x20saved!'});_0x1fa843();})['catch'](function(_0x5ab81b){console[_0x477d('0x44a')](_0x5ab81b);_0x9788f1[_0x477d('0xd67')]=_0x5ab81b[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x5ab81b[_0x477d('0x453')](),'type':'api.intItem.update'}];});}function _0x4629f8(_0x2ac9e3){_0x9788f1[_0x477d('0xd67')]=[];var _0x397a9b=_0x1b8f8c[_0x477d('0xd78')]()['title'](_0x477d('0xd79'))[_0x477d('0xdaf')](_0x477d('0x1a25')+_0x2efcc1+'\x20will\x20be\x20deleted.')[_0x477d('0x687')](_0x477d('0x1a6b')+_[_0x477d('0x12e0')](_0x2efcc1))['ok'](_0x477d('0xd7b'))[_0x477d('0x4f0')](_0x477d('0x688'))[_0x477d('0xd7c')](_0x2ac9e3);_0x1b8f8c['show'](_0x397a9b)[_0x477d('0x76')](function(){_0x49447e[_0x477d('0x1a59')][_0x477d('0xa55')]({'id':_0x9788f1[_0x477d('0x1a15')]['id']})[_0x477d('0x38b')]['then'](function(){_[_0x477d('0x39c')](_0x9788f1['items'],{'id':_0x9788f1[_0x477d('0x1a15')]['id']});_0x3ddaf2[_0x477d('0x485')]({'title':_[_0x477d('0x12e0')](_0x2efcc1)+'\x20properly\x20deleted!','msg':_['capitalize'](_0x2efcc1)+_0x477d('0xd7e')});_0x1fa843();})['catch'](function(_0x485e11){console[_0x477d('0x44a')](_0x485e11);_0x9788f1[_0x477d('0xd67')]=_0x485e11[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x485e11['toString'](),'type':'api.item.delete'}];});},function(){});}function _0x1c0949(){if(_0x9788f1[_0x477d('0x1a15')][_0x477d('0x1a28')]!==undefined){return _0x9788f1[_0x477d('0x1a15')]['variableName'];}else{return _0x477d('0x1a29');}};function _0x1fa843(){_0x1b8f8c['hide']();}}}());(function(){'use strict';_0x5a4dec['$inject']=[_0x477d('0x3c4'),'$location','$mdDialog',_0x477d('0x475'),_0x477d('0x40d'),_0x477d('0x613'),'setting','api',_0x477d('0x40e'),'Auth',_0x477d('0x1a2f'),_0x477d('0x3ac')];angular['module'](_0x477d('0x38'))[_0x477d('0x3ba')](_0x477d('0x1a6c'),_0x5a4dec);function _0x5a4dec(_0x53789b,_0x1f2a31,_0x343b5b,_0x16047b,_0xf2e77e,_0x14db6f,_0x20000d,_0x59e74b,_0x267f3e,_0x101aa2,_0x31899a,_0x4c7989){var _0x46ce6d=this;_0x46ce6d[_0x477d('0x3e5')]=_0x101aa2['getCurrentUser']();_0x46ce6d['license']=_0x14db6f;_0x46ce6d[_0x477d('0xc8e')]=_0x20000d;_0x46ce6d[_0x477d('0xd69')]=_0x46ce6d[_0x477d('0xc8e')][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x46ce6d['location']=_0x1f2a31[_0x477d('0x3ce')]()+_0x477d('0x1209')+_0x1f2a31['host']();_0x46ce6d['dynamics365Account']=_0x31899a||_0x53789b['params'][_0x477d('0x1a2f')]||{};_0x46ce6d[_0x477d('0x3ac')]=_0x4c7989&&_0x4c7989['count']==0x1?_0x4c7989[_0x477d('0xf2')][0x0]:null;_0x46ce6d['crudPermissions']=_0x101aa2['parseCrudPermissions'](_0x46ce6d[_0x477d('0x3ac')]?_0x46ce6d[_0x477d('0x3ac')][_0x477d('0xd66')]:null);_0x46ce6d['hasModulePermissions']={};_0x46ce6d[_0x477d('0xe95')]=_0x53789b[_0x477d('0x37e')]['tab']||0x0;_0x46ce6d[_0x477d('0x120a')]=_0x267f3e[_0x477d('0x669')];_0x46ce6d[_0x477d('0x1a6d')]=_0x17b9d;_0x46ce6d[_0x477d('0x1a6e')]=_0x555e86;function _0x17b9d(){_0x53789b['go'](_0x477d('0x1a6f'),{},{'reload':_0x477d('0x1a6f')});}function _0x555e86(){_0x59e74b['intDynamics365Account'][_0x477d('0x710')]({'id':_0x46ce6d['dynamics365Account']['id']},_0x46ce6d[_0x477d('0x1a2f')])[_0x477d('0x38b')][_0x477d('0x76')](function(){_0x267f3e['success']({'title':_0x477d('0x1a70'),'msg':_0x46ce6d[_0x477d('0x1a2f')]['name']?_0x46ce6d[_0x477d('0x1a2f')][_0x477d('0x94')]+'\x20has\x20been\x20updated!':''});})[_0x477d('0xf8')](function(_0x1addc4){_0x267f3e[_0x477d('0x44a')]({'title':_0x1addc4[_0x477d('0x3c3')]?'API:'+_0x1addc4[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x1addc4[_0x477d('0x44d')]:_0x477d('0x1a71'),'msg':_0x1addc4[_0x477d('0x451')]?JSON['stringify'](_0x1addc4[_0x477d('0x451')]):_0x1addc4[_0x477d('0x453')]()});});}}}());(function(){'use strict';_0x440f74['$inject']=['$scope',_0x477d('0x3c4'),'$location',_0x477d('0x384'),'$q',_0x477d('0x40d'),_0x477d('0x40e'),'freshdeskAccounts',_0x477d('0x1a72'),'api',_0x477d('0x55'),'license',_0x477d('0xc8e'),'crudPermissions'];angular[_0x477d('0xb')](_0x477d('0x38'))[_0x477d('0x3ba')](_0x477d('0x1a73'),_0x440f74);function _0x440f74(_0x35ef7a,_0x414237,_0x44d8fc,_0x5ccee9,_0x190484,_0x31230a,_0x4e4fa6,_0x4ab283,_0x221084,_0x501a74,_0x3f4452,_0x3c1302,_0x4e7c63,_0x509f4b){var _0x2582a4=this;_0x2582a4[_0x477d('0x3e5')]=_0x3f4452['getCurrentUser']();_0x2582a4['errors']=[];_0x2582a4[_0x477d('0xc8e')]=_0x4e7c63;_0x2582a4[_0x477d('0x613')]=_0x3c1302;_0x2582a4[_0x477d('0xd66')]=_0x509f4b;_0x2582a4['hasModulePermissions']={};_0x2582a4[_0x477d('0xd69')]=_0x2582a4['setting']&&_0x2582a4[_0x477d('0xc8e')][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x2582a4[_0x477d('0x49a')]=_0x477d('0x1a74');_0x2582a4['freshdeskAccount']=angular['copy'](_0x221084);_0x2582a4[_0x477d('0x1a75')]=_0x4ab283;_0x2582a4['newFreshdeskAccount']=![];if(!_0x2582a4[_0x477d('0x1a72')]){_0x2582a4['freshdeskAccount']={'serverUrl':_0x44d8fc[_0x477d('0x3ce')]()+_0x477d('0x1209')+_0x44d8fc[_0x477d('0x3c9')]()+(_0x44d8fc[_0x477d('0x3cf')]()?':'+_0x44d8fc[_0x477d('0x3cf')]():'')};_0x2582a4[_0x477d('0x49a')]=_0x477d('0x1a76');_0x2582a4['newFreshdeskAccount']=!![];}_0x2582a4['addNewFreshdeskAccount']=_0x5eca95;_0x2582a4[_0x477d('0x1a77')]=_0x3ea18f;_0x2582a4[_0x477d('0x1a78')]=_0x30ef45;_0x2582a4[_0x477d('0xd6f')]=_0x407127;_0x2582a4['closeDialog']=_0xed62d0;function _0x5eca95(){_0x2582a4[_0x477d('0xd67')]=[];_0x501a74[_0x477d('0xc26')][_0x477d('0xd70')](_0x2582a4['freshdeskAccount'])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x340c9b){_0x2582a4[_0x477d('0x1a75')][_0x477d('0x63b')](_0x340c9b['toJSON']());_0x4e4fa6[_0x477d('0x485')]({'title':_0x477d('0x1a79'),'msg':_0x2582a4[_0x477d('0x1a72')][_0x477d('0x94')]?_0x2582a4['freshdeskAccount'][_0x477d('0x94')]+'\x20has\x20been\x20created!':''});_0xed62d0(_0x340c9b);})[_0x477d('0xf8')](function(_0x18dfe7){if(_0x18dfe7[_0x477d('0x451')]&&_0x18dfe7['data'][_0x477d('0xd67')]&&_0x18dfe7[_0x477d('0x451')][_0x477d('0xd67')]['length']){_0x2582a4[_0x477d('0xd67')]=_0x18dfe7[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x18dfe7[_0x477d('0x453')](),'type':'api.intFreshdeskAccount.save'}];for(var _0x37008c=0x0;_0x37008c<_0x18dfe7[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x37008c+=0x1){_0x4e4fa6[_0x477d('0x44a')]({'title':_0x18dfe7[_0x477d('0x451')]['errors'][_0x37008c][_0x477d('0x439')],'msg':_0x18dfe7['data'][_0x477d('0xd67')][_0x37008c][_0x477d('0x452')]});}}else{_0x4e4fa6[_0x477d('0x44a')]({'title':_0x18dfe7[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x18dfe7[_0x477d('0x3c3')]+'\x20-\x20'+_0x18dfe7[_0x477d('0x44d')]:'api.intFreshdeskAccount.save','msg':_0x18dfe7[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x18dfe7['data'][_0x477d('0x452')]):_0x18dfe7[_0x477d('0x453')]()});}});}function _0x3ea18f(){_0x2582a4[_0x477d('0xd67')]=[];_0x501a74['intFreshdeskAccount'][_0x477d('0x710')]({'id':_0x2582a4[_0x477d('0x1a72')]['id']},_0x2582a4[_0x477d('0x1a72')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x80c578){var _0x4bee39=_[_0x477d('0x10a')](_0x2582a4[_0x477d('0x1a75')],{'id':_0x80c578['id']});if(_0x4bee39){_[_0x477d('0xef')](_0x4bee39,_['pick'](_0x80c578[_0x477d('0xd71')](),_[_0x477d('0x7f')](_0x4bee39)));}_0x4e4fa6['success']({'title':_0x477d('0x1a7a'),'msg':_0x2582a4[_0x477d('0x1a72')][_0x477d('0x94')]?_0x2582a4[_0x477d('0x1a72')]['name']+_0x477d('0xd76'):''});_0xed62d0(_0x80c578);})[_0x477d('0xf8')](function(_0xf050ba){if(_0xf050ba[_0x477d('0x451')]&&_0xf050ba[_0x477d('0x451')][_0x477d('0xd67')]&&_0xf050ba['data'][_0x477d('0xd67')]['length']){_0x2582a4['errors']=_0xf050ba['data'][_0x477d('0xd67')]||[{'message':_0xf050ba[_0x477d('0x453')](),'type':_0x477d('0x1a7b')}];for(var _0x52ef81=0x0;_0x52ef81<_0xf050ba[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x52ef81++){_0x4e4fa6[_0x477d('0x44a')]({'title':_0xf050ba[_0x477d('0x451')][_0x477d('0xd67')][_0x52ef81][_0x477d('0x439')],'msg':_0xf050ba['data'][_0x477d('0xd67')][_0x52ef81]['message']});}}else{_0x4e4fa6[_0x477d('0x44a')]({'title':_0xf050ba['status']?_0x477d('0x44b')+_0xf050ba['status']+_0x477d('0x44c')+_0xf050ba[_0x477d('0x44d')]:_0x477d('0x1a7b'),'msg':_0xf050ba[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0xf050ba[_0x477d('0x451')]['message']):_0xf050ba['toString']()});}});}function _0x30ef45(_0x49e1c5){_0x2582a4['errors']=[];var _0x2c3810=_0x5ccee9[_0x477d('0xd78')]()['title'](_0x477d('0xd79'))[_0x477d('0xdaf')](_0x477d('0x1a7c'))[_0x477d('0x687')](_0x477d('0x1a7d'))['ok'](_0x477d('0xd7b'))[_0x477d('0x4f0')]('Cancel')[_0x477d('0xd7c')](_0x49e1c5);_0x5ccee9[_0x477d('0x395')](_0x2c3810)[_0x477d('0x76')](function(){_0x501a74[_0x477d('0xc26')][_0x477d('0xa55')]({'id':_0x2582a4[_0x477d('0x1a72')]['id']})['$promise'][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x2582a4[_0x477d('0x1a75')],{'id':_0x2582a4[_0x477d('0x1a72')]['id']});_0x4e4fa6['success']({'title':_0x477d('0x1a7e'),'msg':(_0x2582a4[_0x477d('0x1a72')][_0x477d('0x94')]||_0x477d('0x1a72'))+_0x477d('0xd7e')});_0xed62d0(_0x2582a4[_0x477d('0x1a72')]);})[_0x477d('0xf8')](function(_0x230856){if(_0x230856['data']&&_0x230856[_0x477d('0x451')]['errors']&&_0x230856[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x2582a4['errors']=_0x230856['data'][_0x477d('0xd67')]||[{'message':_0x230856[_0x477d('0x453')](),'type':_0x477d('0x1a7f')}];for(var _0x52d52f=0x0;_0x52d52f<_0x230856[_0x477d('0x451')]['errors']['length'];_0x52d52f++){_0x4e4fa6[_0x477d('0x44a')]({'title':_0x230856[_0x477d('0x451')][_0x477d('0xd67')][_0x52d52f]['type'],'msg':_0x230856[_0x477d('0x451')]['errors'][_0x52d52f][_0x477d('0x452')]});}}else{_0x4e4fa6['error']({'title':_0x230856[_0x477d('0x3c3')]?'API:'+_0x230856[_0x477d('0x3c3')]+'\x20-\x20'+_0x230856[_0x477d('0x44d')]:_0x477d('0x1a7f'),'msg':_0x230856[_0x477d('0x451')]?JSON['stringify'](_0x230856['data'][_0x477d('0x452')]):_0x230856[_0x477d('0x452')]||_0x230856['toString']()});}});},function(){});}function _0x407127(_0x110d20){return _0x110d20===null?undefined:new Date(_0x110d20);}function _0xed62d0(_0x115c81){_0x5ccee9[_0x477d('0x3bc')](_0x115c81);}}}());(function(){'use strict';_0x982057[_0x477d('0xa')]=['$mdDialog','$document',_0x477d('0x386'),_0x477d('0x40e'),_0x477d('0x55')];angular[_0x477d('0xb')]('app.integrations')[_0x477d('0x3ba')]('FreshdeskAccountConfigurationsController',_0x982057);function _0x982057(_0x1255b2,_0x55a099,_0x2df2e8,_0x2338e5,_0x3c36f8){var _0x4a25b0=this;_0x4a25b0[_0x477d('0x3e5')]=_0x3c36f8[_0x477d('0x5c')]();_0x4a25b0[_0x477d('0x1a72')]={};_0x4a25b0[_0x477d('0x1a80')]={};_0x4a25b0[_0x477d('0x19df')]=[];_0x4a25b0[_0x477d('0x1a81')]=-0x1;_0x4a25b0['crudPermissions'];_0x4a25b0['init']=_0x551024;_0x4a25b0['getFreshdeskConfiguration']=_0x1785fd;_0x4a25b0[_0x477d('0x1a82')]=_0x5da041;_0x4a25b0[_0x477d('0x1a83')]=_0x739190;_0x4a25b0[_0x477d('0x19e4')]=[];_0x4a25b0[_0x477d('0x19e5')]=_0x259a84;_0x2df2e8[_0x477d('0xbb0')][_0x477d('0x376')]({'nolimit':!![],'sort':_0x477d('0x94')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x381761){_0x4a25b0[_0x477d('0x1263')]=_0x381761['rows']?_0x381761[_0x477d('0xf2')]:[];})[_0x477d('0xf8')](function(_0x3c84e5){_0x2338e5['error']({'title':_0x3c84e5[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x3c84e5[_0x477d('0x3c3')]+'\x20-\x20'+_0x3c84e5['statusText']:_0x477d('0x19e6'),'msg':_0x3c84e5['data']?JSON['stringify'](_0x3c84e5[_0x477d('0x451')]):_0x3c84e5[_0x477d('0x453')]()});});function _0x259a84(_0x28b0ca){_0x2df2e8['intFreshdeskConfiguration'][_0x477d('0x14c9')]({'id':_0x4a25b0[_0x477d('0x1a80')]['id'],'ids':_0x4a25b0['selectedTags']})['$promise'][_0x477d('0x76')](function(){_0x2338e5[_0x477d('0x485')]({'title':_0x477d('0x1a84'),'msg':_0x477d('0x19e7')});})['catch'](function(_0x2f37a4){_0x2338e5[_0x477d('0x44a')]({'title':_0x2f37a4[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x2f37a4[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x2f37a4[_0x477d('0x44d')]:_0x477d('0x19e8'),'msg':_0x2f37a4[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x2f37a4['data']):_0x2f37a4['toString']()});});}function _0x551024(_0xea960d,_0x5921dc){_0x4a25b0[_0x477d('0x1a72')]=_0xea960d;_0x4a25b0[_0x477d('0xd66')]=typeof _0x5921dc!==_0x477d('0x4a4')?_0x5921dc:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x2df2e8['intFreshdeskAccount'][_0x477d('0x19e9')]({'id':_0x4a25b0[_0x477d('0x1a72')]['id'],'sort':_0x477d('0x59')})['$promise']['then'](function(_0x39e2d2){_0x4a25b0['configurations']=_0x39e2d2[_0x477d('0xf2')]?_0x39e2d2['rows']:[];if(_0x4a25b0[_0x477d('0x19df')][_0x477d('0x79')]){_0x4a25b0[_0x477d('0x1a85')](0x0);}return _0x2df2e8[_0x477d('0xbb9')][_0x477d('0x376')]({'nolimit':!![],'sort':_0x477d('0x94')})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x63cd33){_0x4a25b0[_0x477d('0xf31')]=_0x63cd33[_0x477d('0xf2')]?_0x63cd33['rows']:[];_0x4a25b0[_0x477d('0x1a4e')]=_['keyBy'](_0x4a25b0['variables'],'id');})['catch'](function(_0xfccbe6){_0x2338e5[_0x477d('0x44a')]({'title':_0xfccbe6[_0x477d('0x3c3')]?_0x477d('0x44b')+_0xfccbe6[_0x477d('0x3c3')]+'\x20-\x20'+_0xfccbe6[_0x477d('0x44d')]:'SYSTEM:GETCONFIGURATION','msg':_0xfccbe6['data']?JSON[_0x477d('0x3fb')](_0xfccbe6['data']):_0xfccbe6[_0x477d('0x453')]()});});}function _0x1785fd(_0x3f3382){_0x4a25b0[_0x477d('0x1a80')]=_0x4a25b0[_0x477d('0x19df')][_0x3f3382];_0x4a25b0[_0x477d('0x1a81')]=_0x3f3382;_0x2df2e8[_0x477d('0xc2c')]['getSubjects']({'id':_0x4a25b0[_0x477d('0x1a80')]['id']})['$promise'][_0x477d('0x76')](function(_0x55713b){_0x4a25b0['subjects']=_0x55713b[_0x477d('0xf2')]?_0x55713b['rows']:[];return _0x2df2e8['intFreshdeskConfiguration'][_0x477d('0x1a4f')]({'id':_0x4a25b0[_0x477d('0x1a80')]['id']})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x3d446f){_0x4a25b0[_0x477d('0x19ed')]=_0x3d446f[_0x477d('0xf2')]?_0x3d446f['rows']:[];return _0x2df2e8[_0x477d('0xc2c')][_0x477d('0xe26')]({'id':_0x4a25b0[_0x477d('0x1a80')]['id']})[_0x477d('0x38b')];})['then'](function(_0x58ce1d){_0x4a25b0[_0x477d('0x458')]=_0x58ce1d[_0x477d('0xf2')]?_0x58ce1d[_0x477d('0xf2')]:[];})[_0x477d('0xf8')](function(_0x34ba2a){_0x2338e5[_0x477d('0x44a')]({'title':_0x34ba2a[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x34ba2a[_0x477d('0x3c3')]+'\x20-\x20'+_0x34ba2a[_0x477d('0x44d')]:_0x477d('0x19ee'),'msg':_0x34ba2a[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x34ba2a['data']):_0x34ba2a[_0x477d('0x453')]()});});_0x2df2e8['intFreshdeskConfiguration']['getTags']({'id':_0x4a25b0[_0x477d('0x1a80')]['id']})['$promise'][_0x477d('0x76')](function(_0x53feb6){_0x4a25b0['selectedTags']=_0x53feb6[_0x477d('0xf2')]?_[_0x477d('0x3cb')](_0x53feb6[_0x477d('0xf2')],'id'):[];})[_0x477d('0xf8')](function(_0x35d80b){_0x2338e5['error']({'title':_0x35d80b[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x35d80b[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x35d80b[_0x477d('0x44d')]:'SYSTEM:GETTAGS','msg':_0x35d80b['data']?JSON[_0x477d('0x3fb')](_0x35d80b[_0x477d('0x451')]):_0x35d80b[_0x477d('0x453')]()});});}function _0x5da041(_0x4eb2a2,_0x493375){_0x1255b2[_0x477d('0x395')]({'controller':'CreateOrEditFreshdeskConfigurationDialogController','controllerAs':'vm','templateUrl':_0x477d('0x1a86'),'parent':angular[_0x477d('0x398')](_0x55a099[_0x477d('0x399')]),'targetEvent':_0x4eb2a2,'clickOutsideToClose':!![],'locals':{'freshdeskConfiguration':_0x493375,'configurations':_0x4a25b0['configurations'],'license':null,'setting':null,'crudPermissions':_0x4a25b0[_0x477d('0xd66')]}})[_0x477d('0x5ff')](function(){_0x4a25b0[_0x477d('0x1a85')](0x0);});}function _0x739190(_0x6b70d,_0x449db7){var _0x33eb29=_0x1255b2['confirm']()[_0x477d('0x49a')](_0x477d('0x1a87'))[_0x477d('0xd92')](_0x477d('0xd93')+(_0x449db7[_0x477d('0x94')]||'freshdeskConfiguration')+_0x477d('0xd94')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x1a88'))['targetEvent'](_0x6b70d)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x1255b2[_0x477d('0x395')](_0x33eb29)[_0x477d('0x76')](function(){_0x2df2e8[_0x477d('0xc2c')][_0x477d('0xa55')]({'id':_0x449db7['id']})['$promise']['then'](function(){_['remove'](_0x4a25b0[_0x477d('0x19df')],{'id':_0x449db7['id']});_0x2338e5[_0x477d('0x485')]({'title':_0x477d('0x1a89'),'msg':_0x449db7[_0x477d('0x94')]?_0x449db7[_0x477d('0x94')]+'\x20has\x20been\x20deleted!':''});})[_0x477d('0xf8')](function(_0x388b8d){_0x2338e5['error']({'title':_0x388b8d[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x388b8d['status']+'\x20-\x20'+_0x388b8d[_0x477d('0x44d')]:_0x477d('0x19f1'),'msg':_0x388b8d[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x388b8d[_0x477d('0x451')]):_0x388b8d[_0x477d('0x453')]()});})['finally'](function(){_0x4a25b0['getFreshdeskConfiguration'](0x0);});},function(){console[_0x477d('0x7b')]('CANCEL');});}_0x4a25b0[_0x477d('0x19fa')]=[];_0x4a25b0[_0x477d('0x19f2')]=_0x48a2b7;_0x4a25b0[_0x477d('0x19f3')]=_0x17fe3d;_0x4a25b0[_0x477d('0x19f4')]=_0x9ecf96;function _0x48a2b7(_0x2fab69,_0x4b7d8e){_0x1255b2[_0x477d('0x395')]({'controller':_0x477d('0x1a8a'),'controllerAs':'vm','templateUrl':'app/main/apps/integrations/views/freshdeskAccounts/edit/item/dialog.html','parent':angular[_0x477d('0x398')](_0x55a099[_0x477d('0x399')]),'targetEvent':_0x2fab69,'clickOutsideToClose':!![],'locals':{'type':'subject','item':_0x4b7d8e,'items':_0x4a25b0[_0x477d('0x19ec')],'configuration':_0x4a25b0[_0x477d('0x1a80')],'account':_0x4a25b0[_0x477d('0x1a72')],'license':null,'setting':null,'crudPermissions':_0x4a25b0['crudPermissions']}});}function _0x53ec05(_0x2555fc){_0x2df2e8[_0x477d('0x1a8b')][_0x477d('0xa55')]({'id':_0x2555fc['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_['remove'](_0x4a25b0[_0x477d('0x19ec')],{'id':_0x2555fc['id']});_0x2338e5[_0x477d('0x485')]({'title':_0x477d('0x19f6'),'msg':_0x477d('0x19f7')});})[_0x477d('0xf8')](function(_0x3e92a6){_0x2338e5['error']({'title':_0x3e92a6['status']?_0x477d('0x44b')+_0x3e92a6[_0x477d('0x3c3')]+'\x20-\x20'+_0x3e92a6[_0x477d('0x44d')]:_0x477d('0x19f8'),'msg':_0x3e92a6[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x3e92a6[_0x477d('0x451')]):_0x3e92a6['toString']()});});}function _0x17fe3d(_0x4234ac,_0x24a3ba){var _0x4e2dea=_0x1255b2[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x1a8c'))[_0x477d('0xd92')](_0x477d('0x19f9')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x1a56'))['targetEvent'](_0x4234ac)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x1255b2['show'](_0x4e2dea)['then'](function(){_0x53ec05(_0x24a3ba);},function(){console[_0x477d('0x7b')](_0x477d('0xd97'));});}function _0x9ecf96(_0x52b1e0){var _0x4a4847=_0x1255b2[_0x477d('0xd78')]()['title'](_0x477d('0x1a8d'))[_0x477d('0xd92')](_0x477d('0xd93')+_0x4a25b0['selectedSubjects'][_0x477d('0x79')]+_0x477d('0xda0')+'\x20will\x20be\x20deleted.')[_0x477d('0x687')](_0x477d('0x19fb'))['targetEvent'](_0x52b1e0)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x1255b2[_0x477d('0x395')](_0x4a4847)[_0x477d('0x76')](function(){_0x4a25b0['selectedSubjects'][_0x477d('0x3b1')](function(_0x3f7502){_0x53ec05(_0x3f7502);});_0x4a25b0[_0x477d('0x19fa')]=[];});}_0x4a25b0[_0x477d('0x19fc')]=[];_0x4a25b0['createOrEditDescription']=_0x3d2d4f;_0x4a25b0[_0x477d('0x19fe')]=_0x5dcd12;_0x4a25b0[_0x477d('0x1a57')]=_0x57c36f;function _0x3d2d4f(_0x5a0e47,_0x38b9a7){_0x1255b2[_0x477d('0x395')]({'controller':'CreateOrEditFreshdeskAccountItemDialogController','controllerAs':'vm','templateUrl':_0x477d('0x1a8e'),'parent':angular[_0x477d('0x398')](_0x55a099[_0x477d('0x399')]),'targetEvent':_0x5a0e47,'clickOutsideToClose':!![],'locals':{'type':_0x477d('0xe0e'),'item':_0x38b9a7,'items':_0x4a25b0[_0x477d('0x19ed')],'configuration':_0x4a25b0[_0x477d('0x1a80')],'account':_0x4a25b0[_0x477d('0x1a72')],'license':null,'setting':null,'crudPermissions':_0x4a25b0['crudPermissions']}});}function _0x11a299(_0x168444){_0x2df2e8['intFreshdeskField'][_0x477d('0xa55')]({'id':_0x168444['id']})['$promise'][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x4a25b0['descriptions'],{'id':_0x168444['id']});_0x2338e5[_0x477d('0x485')]({'title':_0x477d('0x1a5a'),'msg':_0x477d('0x19ff')});})[_0x477d('0xf8')](function(_0xfbf55c){_0x2338e5[_0x477d('0x44a')]({'title':_0xfbf55c['status']?_0x477d('0x44b')+_0xfbf55c['status']+_0x477d('0x44c')+_0xfbf55c[_0x477d('0x44d')]:'SYSTEM:DELETECONFIGURATIONFIELD','msg':_0xfbf55c[_0x477d('0x451')]?JSON['stringify'](_0xfbf55c[_0x477d('0x451')]):_0xfbf55c[_0x477d('0x453')]()});});}function _0x5dcd12(_0x158f06,_0x17702d){var _0x38ece4=_0x1255b2[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x1a00'))['htmlContent'](_0x477d('0x1a01')+_0x477d('0xd95'))['ariaLabel']('delete\x20description')['targetEvent'](_0x158f06)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x1255b2[_0x477d('0x395')](_0x38ece4)[_0x477d('0x76')](function(){_0x11a299(_0x17702d);},function(){console[_0x477d('0x7b')]('CANCEL');});}function _0x57c36f(_0x4008dc){var _0x13f32b=_0x1255b2[_0x477d('0xd78')]()['title'](_0x477d('0x1a03'))[_0x477d('0xd92')](''+_0x4a25b0['selectedDescriptions']['length']+_0x477d('0xda0')+_0x477d('0xd95'))[_0x477d('0x687')]('delete\x20descriptions')[_0x477d('0xd7c')](_0x4008dc)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x1255b2[_0x477d('0x395')](_0x13f32b)[_0x477d('0x76')](function(){_0x4a25b0[_0x477d('0x19fc')][_0x477d('0x3b1')](function(_0x599c52){_0x11a299(_0x599c52);});_0x4a25b0['selectedDescriptions']=[];});}_0x4a25b0[_0x477d('0x1a08')]=[];_0x4a25b0['createOrEditField']=_0x1234e8;_0x4a25b0[_0x477d('0x1a8f')]=_0x31cf02;_0x4a25b0['deleteSelectedFields']=_0x322a19;function _0x1234e8(_0x278171,_0x5e59b9){_0x1255b2[_0x477d('0x395')]({'controller':_0x477d('0x1a8a'),'controllerAs':'vm','templateUrl':_0x477d('0x1a8e'),'parent':angular['element'](_0x55a099[_0x477d('0x399')]),'targetEvent':_0x278171,'clickOutsideToClose':!![],'locals':{'type':_0x477d('0x463'),'item':_0x5e59b9,'items':_0x4a25b0[_0x477d('0x458')],'configuration':_0x4a25b0['freshdeskConfiguration'],'account':_0x4a25b0[_0x477d('0x1a72')],'license':null,'setting':null,'crudPermissions':_0x4a25b0['crudPermissions']}});}function _0x45fed0(_0x2942a8){_0x2df2e8[_0x477d('0x1a8b')]['delete']({'id':_0x2942a8['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x4a25b0['fields'],{'id':_0x2942a8['id']});_0x2338e5[_0x477d('0x485')]({'title':_0x477d('0xe70'),'msg':_0x477d('0x1a90')});})['catch'](function(_0x31ffdf){_0x2338e5[_0x477d('0x44a')]({'title':_0x31ffdf[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x31ffdf[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x31ffdf['statusText']:_0x477d('0x19f8'),'msg':_0x31ffdf['data']?JSON[_0x477d('0x3fb')](_0x31ffdf[_0x477d('0x451')]):_0x31ffdf[_0x477d('0x453')]()});});}function _0x31cf02(_0xaaa544,_0x203a3a){var _0x316bb2=_0x1255b2[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xe6d'))[_0x477d('0xd92')](_0x477d('0x1a5b')+'\x20will\x20be\x20deleted.')[_0x477d('0x687')](_0x477d('0x1a91'))[_0x477d('0xd7c')](_0xaaa544)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x1255b2['show'](_0x316bb2)[_0x477d('0x76')](function(){_0x45fed0(_0x203a3a);},function(){console[_0x477d('0x7b')]('CANCEL');});}function _0x322a19(_0x21223d){var _0x4e8d97=_0x1255b2['confirm']()[_0x477d('0x49a')](_0x477d('0xe72'))[_0x477d('0xd92')](_0x477d('0xd93')+_0x4a25b0[_0x477d('0x1a08')]['length']+_0x477d('0xda0')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0xe73'))[_0x477d('0xd7c')](_0x21223d)['ok']('OK')['cancel']('CANCEL');_0x1255b2[_0x477d('0x395')](_0x4e8d97)[_0x477d('0x76')](function(){_0x4a25b0[_0x477d('0x1a08')][_0x477d('0x3b1')](function(_0x48e0ac){_0x45fed0(_0x48e0ac);});_0x4a25b0['selectedFields']=[];});}}}());(function(){'use strict';_0x1af46f[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x3c4'),_0x477d('0xd64'),_0x477d('0x384'),'$q',_0x477d('0x40d'),_0x477d('0x40e'),_0x477d('0x19df'),_0x477d('0x1a80'),_0x477d('0x386'),_0x477d('0x55'),_0x477d('0x613'),_0x477d('0xc8e'),'crudPermissions'];angular['module'](_0x477d('0x38'))[_0x477d('0x3ba')](_0x477d('0x1a92'),_0x1af46f);function _0x1af46f(_0x8e34e,_0xf4047f,_0x19c59f,_0x5886df,_0x1c72b6,_0x965a9f,_0x56be32,_0xe739db,_0x1c0698,_0x52a950,_0x2d758b,_0x453ec1,_0xecd16e,_0x15ee12){var _0x142323=this;_0x142323['currentUser']=_0x2d758b[_0x477d('0x5c')]();_0x142323[_0x477d('0xd67')]=[];_0x142323['setting']=_0xecd16e;_0x142323['license']=_0x453ec1;_0x142323[_0x477d('0xd66')]=_0x15ee12;_0x142323['hasModulePermissions']={};_0x142323[_0x477d('0xd69')]=_0x142323['setting']&&_0x142323[_0x477d('0xc8e')][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x142323['title']=_0x477d('0x1a93');_0x142323['freshdeskConfiguration']=angular[_0x477d('0x6d9')](_0x1c0698);_0x142323[_0x477d('0x19df')]=_0xe739db;_0x142323[_0x477d('0x1a94')]=![];if(!_0x142323['freshdeskConfiguration']){_0x142323[_0x477d('0x1a80')]={'channel':_0x477d('0x108'),'type':_0x477d('0x9e')};_0x142323['title']='INTEGRATIONS.NEW_FRESHDESKCONFIGURATION';_0x142323['newFreshdeskConfiguration']=!![];}_0x142323[_0x477d('0x1a95')]=_0x28a2c1;_0x142323[_0x477d('0x1a96')]=_0x26b6cf;_0x142323['deleteFreshdeskConfiguration']=_0x46f16d;_0x142323[_0x477d('0xd6f')]=_0x5c2083;_0x142323[_0x477d('0x6bf')]=_0x1893b3;function _0x28a2c1(){_0x142323['errors']=[];_0x52a950[_0x477d('0xc26')]['addConfiguration']({'id':_0xf4047f[_0x477d('0x37e')]['id']},_0x142323['freshdeskConfiguration'])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x1fcf65){_0x142323[_0x477d('0x19df')][_0x477d('0x63b')](_0x1fcf65[_0x477d('0xd71')]());_0x56be32[_0x477d('0x485')]({'title':_0x477d('0x1a97'),'msg':_0x142323[_0x477d('0x1a80')][_0x477d('0x94')]?_0x142323['freshdeskConfiguration'][_0x477d('0x94')]+_0x477d('0xd73'):''});_0x1893b3(_0x1fcf65);})[_0x477d('0xf8')](function(_0x593112){if(_0x593112['data']&&_0x593112[_0x477d('0x451')][_0x477d('0xd67')]&&_0x593112[_0x477d('0x451')]['errors'][_0x477d('0x79')]){_0x142323[_0x477d('0xd67')]=_0x593112[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x593112[_0x477d('0x453')](),'type':_0x477d('0x1a98')}];for(var _0x569355=0x0;_0x569355<_0x593112['data'][_0x477d('0xd67')][_0x477d('0x79')];_0x569355+=0x1){_0x56be32['error']({'title':_0x593112[_0x477d('0x451')][_0x477d('0xd67')][_0x569355][_0x477d('0x439')],'msg':_0x593112[_0x477d('0x451')]['errors'][_0x569355]['message']});}}else{_0x56be32[_0x477d('0x44a')]({'title':_0x593112[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x593112[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x593112[_0x477d('0x44d')]:_0x477d('0x1a98'),'msg':_0x593112[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x593112['data'][_0x477d('0x452')]):_0x593112[_0x477d('0x453')]()});}});}function _0x26b6cf(){_0x142323[_0x477d('0xd67')]=[];_0x52a950[_0x477d('0xc2c')]['update']({'id':_0x142323[_0x477d('0x1a80')]['id']},_0x142323[_0x477d('0x1a80')])['$promise'][_0x477d('0x76')](function(_0x4fd80f){var _0x415e6f=_[_0x477d('0x10a')](_0x142323[_0x477d('0x19df')],{'id':_0x4fd80f['id']});if(_0x415e6f){_[_0x477d('0xef')](_0x415e6f,_['pick'](_0x4fd80f[_0x477d('0xd71')](),_[_0x477d('0x7f')](_0x415e6f)));}_0x56be32['success']({'title':_0x477d('0x1a99'),'msg':_0x142323[_0x477d('0x1a80')]['name']?_0x142323['freshdeskConfiguration']['name']+_0x477d('0xd76'):''});_0x1893b3(_0x4fd80f);})['catch'](function(_0xf0f769){if(_0xf0f769[_0x477d('0x451')]&&_0xf0f769[_0x477d('0x451')][_0x477d('0xd67')]&&_0xf0f769[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x142323[_0x477d('0xd67')]=_0xf0f769[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0xf0f769[_0x477d('0x453')](),'type':_0x477d('0x1a9a')}];for(var _0xf2e6ea=0x0;_0xf2e6ea<_0xf0f769[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0xf2e6ea++){_0x56be32[_0x477d('0x44a')]({'title':_0xf0f769[_0x477d('0x451')][_0x477d('0xd67')][_0xf2e6ea][_0x477d('0x439')],'msg':_0xf0f769[_0x477d('0x451')][_0x477d('0xd67')][_0xf2e6ea][_0x477d('0x452')]});}}else{_0x56be32[_0x477d('0x44a')]({'title':_0xf0f769['status']?_0x477d('0x44b')+_0xf0f769[_0x477d('0x3c3')]+_0x477d('0x44c')+_0xf0f769['statusText']:_0x477d('0x1a9a'),'msg':_0xf0f769[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0xf0f769[_0x477d('0x451')][_0x477d('0x452')]):_0xf0f769[_0x477d('0x453')]()});}});}function _0x46f16d(_0x19480e){_0x142323[_0x477d('0xd67')]=[];var _0x2fbf4d=_0x5886df['confirm']()['title']('Are\x20you\x20sure?')[_0x477d('0xdaf')](_0x477d('0x1a9b'))[_0x477d('0x687')](_0x477d('0x1a9c'))['ok'](_0x477d('0xd7b'))[_0x477d('0x4f0')](_0x477d('0x688'))[_0x477d('0xd7c')](_0x19480e);_0x5886df[_0x477d('0x395')](_0x2fbf4d)[_0x477d('0x76')](function(){_0x52a950[_0x477d('0xc2c')][_0x477d('0xa55')]({'id':_0x142323[_0x477d('0x1a80')]['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x142323[_0x477d('0x19df')],{'id':_0x142323[_0x477d('0x1a80')]['id']});_0x56be32[_0x477d('0x485')]({'title':_0x477d('0x1a9d'),'msg':(_0x142323['freshdeskConfiguration'][_0x477d('0x94')]||_0x477d('0x1a80'))+_0x477d('0xd7e')});_0x1893b3(_0x142323[_0x477d('0x1a80')]);})[_0x477d('0xf8')](function(_0x145b05){if(_0x145b05['data']&&_0x145b05[_0x477d('0x451')][_0x477d('0xd67')]&&_0x145b05[_0x477d('0x451')][_0x477d('0xd67')]['length']){_0x142323['errors']=_0x145b05[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x145b05[_0x477d('0x453')](),'type':_0x477d('0x1a9e')}];for(var _0x39abde=0x0;_0x39abde<_0x145b05[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x39abde++){_0x56be32[_0x477d('0x44a')]({'title':_0x145b05[_0x477d('0x451')]['errors'][_0x39abde]['type'],'msg':_0x145b05['data']['errors'][_0x39abde][_0x477d('0x452')]});}}else{_0x56be32['error']({'title':_0x145b05[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x145b05[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x145b05[_0x477d('0x44d')]:_0x477d('0x1a9e'),'msg':_0x145b05['data']?JSON[_0x477d('0x3fb')](_0x145b05['data'][_0x477d('0x452')]):_0x145b05[_0x477d('0x452')]||_0x145b05['toString']()});}});},function(){});}function _0x5c2083(_0x2ae2d2){return _0x2ae2d2===null?undefined:new Date(_0x2ae2d2);}function _0x1893b3(_0x39f349){_0x5886df[_0x477d('0x3bc')](_0x39f349);}}}());(function(){'use strict';_0x1704f3['$inject']=['$scope',_0x477d('0x3c4'),_0x477d('0xd64'),'$mdDialog','toasty',_0x477d('0x1a9f'),_0x477d('0x4a6'),_0x477d('0x1a15'),_0x477d('0x15e5'),'type',_0x477d('0x386'),_0x477d('0x55'),'crudPermissions'];angular['module'](_0x477d('0x38'))['controller']('CreateOrEditFreshdeskAccountItemDialogController',_0x1704f3);function _0x1704f3(_0xc60dcd,_0xd468dd,_0xb47ae0,_0x1dcd88,_0x29982e,_0x5b6cf4,_0x3e328d,_0x3caa2a,_0x3bd514,_0x203691,_0x55adfb,_0x3d3089,_0x1c9e61){var _0x56208a=this;_0x56208a['currentUser']=_0x3d3089['getCurrentUser']();_0x56208a[_0x477d('0xd67')]=[];_0x56208a[_0x477d('0x49a')]='INTEGRATIONS.EDIT_'+_[_0x477d('0x1a14')](_0x203691);_0x56208a['item']=angular[_0x477d('0x6d9')](_0x3caa2a);_0x56208a[_0x477d('0x4a6')]=_0x3e328d;_0x56208a[_0x477d('0x439')]=_0x203691;_0x56208a[_0x477d('0xd66')]=_0x1c9e61;_0x56208a[_0x477d('0x1a17')]=![];if(!_0x56208a[_0x477d('0x1a15')]){_0x56208a[_0x477d('0x1a15')]={'type':_0x477d('0x1a68')};_0x56208a['item'][_[_0x477d('0x12e0')](_0x203691)+'Id']=_0x5b6cf4['id'];_0x56208a[_0x477d('0x49a')]=_0x477d('0x1a16')+_[_0x477d('0x1a14')](_0x203691);_0x56208a[_0x477d('0x1a17')]=!![];}_0x56208a[_0x477d('0x1a18')]=_0x3c7e4a;_0x56208a[_0x477d('0x15f9')]=_0x5f48d6;_0x56208a[_0x477d('0x55f')]=_0x43d60f;_0x56208a['getSelectedVariable']=_0x404350;_0x56208a['closeDialog']=_0x341e23;_0x55adfb[_0x477d('0xbb9')][_0x477d('0x376')]({'nolimit':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x5df68f){_0x56208a['variables']=_0x5df68f['rows']?_0x5df68f[_0x477d('0xf2')]:[];return _0x55adfb[_0x477d('0xa9c')][_0x477d('0xe27')]()[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x419dde){_0x56208a[_0x477d('0x1a1a')]=_['difference'](_[_0x477d('0x7f')](_0x419dde),['$promise',_0x477d('0x80'),_0x477d('0xe37'),_0x477d('0xe38'),_0x477d('0x1a1c')]);_0x56208a[_0x477d('0x1a1a')]['push']('recordingURL');return _0x55adfb[_0x477d('0xa99')]['describe']()[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x20834f){_0x56208a['voiceDialReportColumns']=_[_0x477d('0x7e')](_[_0x477d('0x7f')](_0x20834f),['$promise','$resolved',_0x477d('0xe37'),_0x477d('0xe38'),'sourceid']);_0x56208a[_0x477d('0x1a1b')]['push'](_0x477d('0x1a1d'));})[_0x477d('0xf8')](function(_0x3166bb){_0x29982e[_0x477d('0x44a')]({'title':_0x3166bb[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x3166bb[_0x477d('0x3c3')]+'\x20-\x20'+_0x3166bb[_0x477d('0x44d')]:_0x477d('0x1a1e'),'msg':_0x3166bb[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x3166bb[_0x477d('0x451')]):_0x3166bb[_0x477d('0x453')]()});});_0x55adfb[_0x477d('0xc26')]['getFields']({'id':_0x3bd514['id'],'ticketType':_0x5b6cf4[_0x477d('0x1a1f')]?_0x5b6cf4['ticketType']:undefined})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x4b96be){_0x56208a['accountConnected']=!![];_0x56208a[_0x477d('0x458')]=_0x4b96be[_0x477d('0xf2')]?_0x4b96be[_0x477d('0xf2')]:[];if(_0x56208a[_0x477d('0x1a15')]['idField']){_0x56208a[_0x477d('0x1532')]=_[_0x477d('0x10a')](_0x56208a['fields'],{'id':_0x56208a[_0x477d('0x1a15')][_0x477d('0x1a22')]});}})[_0x477d('0xf8')](function(_0x284bfd){_0x56208a['accountConnected']=![];console[_0x477d('0x44a')](_0x284bfd);});function _0x3c7e4a(){_0x56208a['errors']=[];if(_0x56208a[_0x477d('0x1532')]){_0x56208a[_0x477d('0x1a15')][_0x477d('0x1a22')]=_0x56208a['customField']['id'];_0x56208a['item']['nameField']=_0x56208a[_0x477d('0x1532')][_0x477d('0x94')];_0x56208a[_0x477d('0x1a15')][_0x477d('0x1532')]=_0x56208a[_0x477d('0x1532')][_0x477d('0x9f6')];}_0x55adfb[_0x477d('0x1a8b')][_0x477d('0xd70')](_0x56208a[_0x477d('0x1a15')])[_0x477d('0x38b')]['then'](function(_0x488bc4){_0x56208a['items'][_0x477d('0x63b')](_0x488bc4);_0x29982e[_0x477d('0x485')]({'title':_[_0x477d('0x12e0')](_0x203691)+_0x477d('0x1a21'),'msg':_[_0x477d('0x12e0')](_0x203691)+'\x20has\x20been\x20created!'});_0x341e23();})['catch'](function(_0x566254){console[_0x477d('0x44a')](_0x566254);_0x56208a[_0x477d('0xd67')]=_0x566254[_0x477d('0x451')]['errors']||[{'message':_0x566254[_0x477d('0x453')](),'type':_0x477d('0x1a69')}];});}function _0x5f48d6(){_0x56208a['errors']=[];if(_0x56208a[_0x477d('0x1532')]){_0x56208a[_0x477d('0x1a15')]['idField']=_0x56208a[_0x477d('0x1532')]['id'];_0x56208a[_0x477d('0x1a15')]['nameField']=_0x56208a[_0x477d('0x1532')]['name'];_0x56208a[_0x477d('0x1a15')][_0x477d('0x1532')]=_0x56208a[_0x477d('0x1532')][_0x477d('0x9f6')];}_0x55adfb[_0x477d('0x1a8b')][_0x477d('0x710')]({'id':_0x56208a[_0x477d('0x1a15')]['id']},_0x56208a[_0x477d('0x1a15')])['$promise'][_0x477d('0x76')](function(_0x46b3d7){var _0x497cd3=_['find'](_0x56208a[_0x477d('0x4a6')],{'id':_0x46b3d7['id']});if(_0x497cd3){_[_0x477d('0xef')](_0x497cd3,_0x46b3d7);}_0x29982e[_0x477d('0x485')]({'title':_[_0x477d('0x12e0')](_0x203691)+'\x20properly\x20saved!','msg':_[_0x477d('0x12e0')](_0x203691)+'\x20has\x20been\x20saved!'});_0x341e23();})['catch'](function(_0x5f521b){console[_0x477d('0x44a')](_0x5f521b);_0x56208a[_0x477d('0xd67')]=_0x5f521b[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x5f521b[_0x477d('0x453')](),'type':_0x477d('0x1a24')}];});}function _0x43d60f(_0x404f6d){_0x56208a[_0x477d('0xd67')]=[];var _0x1788b1=_0x1dcd88[_0x477d('0xd78')]()['title'](_0x477d('0xd79'))[_0x477d('0xdaf')]('The\x20'+_0x203691+_0x477d('0xd95'))[_0x477d('0x687')]('Delete\x20'+_['capitalize'](_0x203691))['ok'](_0x477d('0xd7b'))[_0x477d('0x4f0')](_0x477d('0x688'))[_0x477d('0xd7c')](_0x404f6d);_0x1dcd88['show'](_0x1788b1)[_0x477d('0x76')](function(){_0x55adfb[_0x477d('0x1a8b')][_0x477d('0xa55')]({'id':_0x56208a[_0x477d('0x1a15')]['id']})['$promise'][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x56208a['items'],{'id':_0x56208a['item']['id']});_0x29982e[_0x477d('0x485')]({'title':_[_0x477d('0x12e0')](_0x203691)+_0x477d('0x1a26'),'msg':_[_0x477d('0x12e0')](_0x203691)+_0x477d('0xd7e')});_0x341e23();})['catch'](function(_0x1c4645){console[_0x477d('0x44a')](_0x1c4645);_0x56208a[_0x477d('0xd67')]=_0x1c4645[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x1c4645[_0x477d('0x453')](),'type':_0x477d('0x1a27')}];});},function(){});}function _0x404350(){if(_0x56208a[_0x477d('0x1a15')][_0x477d('0x1a28')]!==undefined){return _0x56208a[_0x477d('0x1a15')][_0x477d('0x1a28')];}else{return _0x477d('0x1a29');}};function _0x341e23(){_0x1dcd88['hide']();}}}());(function(){'use strict';_0x50a808[_0x477d('0xa')]=['$state',_0x477d('0xd64'),'$mdDialog',_0x477d('0x475'),'$translate',_0x477d('0x613'),_0x477d('0xc8e'),_0x477d('0x386'),_0x477d('0x40e'),_0x477d('0x55'),_0x477d('0x1a72'),_0x477d('0x3ac')];angular['module']('app.integrations')['controller'](_0x477d('0x1aa0'),_0x50a808);function _0x50a808(_0x655b19,_0x386782,_0x519650,_0x5d3bde,_0x2d3c30,_0x18ce6f,_0x4a5d6d,_0x4624ce,_0x978e85,_0x11fc69,_0x47cf17,_0x56e433){var _0x37c329=this;_0x37c329[_0x477d('0x3e5')]=_0x11fc69[_0x477d('0x5c')]();_0x37c329[_0x477d('0x613')]=_0x18ce6f;_0x37c329[_0x477d('0xc8e')]=_0x4a5d6d;_0x37c329[_0x477d('0xd69')]=_0x37c329['setting']['securePassword']?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x37c329[_0x477d('0x3cc')]=_0x386782[_0x477d('0x3ce')]()+_0x477d('0x1209')+_0x386782[_0x477d('0x3c9')]();_0x37c329['freshdeskAccount']=_0x47cf17||_0x655b19[_0x477d('0x37e')][_0x477d('0x1a72')]||{};_0x37c329['userProfileSection']=_0x56e433&&_0x56e433['count']==0x1?_0x56e433[_0x477d('0xf2')][0x0]:null;_0x37c329[_0x477d('0xd66')]=_0x11fc69[_0x477d('0xd81')](_0x37c329['userProfileSection']?_0x37c329[_0x477d('0x3ac')][_0x477d('0xd66')]:null);_0x37c329[_0x477d('0xd68')]={};_0x37c329['selectedTab']=_0x655b19[_0x477d('0x37e')][_0x477d('0xe96')]||0x0;_0x37c329[_0x477d('0x120a')]=_0x978e85[_0x477d('0x669')];_0x37c329[_0x477d('0x1aa1')]=_0x146bbd;_0x37c329[_0x477d('0x1a77')]=_0x223408;function _0x146bbd(){_0x655b19['go'](_0x477d('0x1aa2'),{},{'reload':_0x477d('0x1aa2')});}function _0x223408(){_0x4624ce[_0x477d('0xc26')][_0x477d('0x710')]({'id':_0x37c329[_0x477d('0x1a72')]['id']},_0x37c329['freshdeskAccount'])['$promise'][_0x477d('0x76')](function(){_0x978e85['success']({'title':'FreshdeskAccount\x20updated!','msg':_0x37c329[_0x477d('0x1a72')]['name']?_0x37c329['freshdeskAccount'][_0x477d('0x94')]+'\x20has\x20been\x20updated!':''});})['catch'](function(_0x1dce88){_0x978e85[_0x477d('0x44a')]({'title':_0x1dce88[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x1dce88[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x1dce88[_0x477d('0x44d')]:_0x477d('0x1aa3'),'msg':_0x1dce88['data']?JSON[_0x477d('0x3fb')](_0x1dce88[_0x477d('0x451')]):_0x1dce88[_0x477d('0x453')]()});});}}}());(function(){'use strict';_0x1aa367[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x387'),_0x477d('0x3c4'),_0x477d('0x554'),'$mdDialog',_0x477d('0x475'),'$timeout',_0x477d('0x40d'),_0x477d('0x1a75'),'userProfile',_0x477d('0x3ac'),_0x477d('0x386'),'msUtils',_0x477d('0x40e'),_0x477d('0x55'),_0x477d('0x613'),_0x477d('0xc8e')];angular[_0x477d('0xb')](_0x477d('0x38'))[_0x477d('0x3ba')]('FreshdeskAccountsController',_0x1aa367);function _0x1aa367(_0x24a3ad,_0x2a9ae2,_0x48cda9,_0x421087,_0x35b8b2,_0x2c0e7d,_0x40827a,_0x435f0d,_0x91ab35,_0xec4032,_0x34e0d5,_0x257e91,_0x1ca72d,_0x273a7b,_0x429c53,_0x5cef35,_0x2d9a00){var _0x3edbc8=this;_0x3edbc8[_0x477d('0x613')]=_0x5cef35;_0x3edbc8[_0x477d('0xc8e')]=_0x2d9a00;_0x3edbc8[_0x477d('0x3e5')]=_0x429c53[_0x477d('0x5c')]();_0x3edbc8[_0x477d('0x1a75')]=_0x91ab35||{'count':0x0,'rows':[]};_0x3edbc8[_0x477d('0x3a5')]=_0xec4032;_0x3edbc8[_0x477d('0x3ac')]=_0x34e0d5&&_0x34e0d5[_0x477d('0x3bb')]==0x1?_0x34e0d5['rows'][0x0]:null;_0x3edbc8[_0x477d('0xd66')]=_0x429c53[_0x477d('0xd81')](_0x3edbc8['userProfileSection']?_0x3edbc8[_0x477d('0x3ac')]['crudPermissions']:null);_0x3edbc8['table']=_0x477d('0x1a75');_0x3edbc8[_0x477d('0xd83')]='';_0x3edbc8['listOrderAsc']=null;_0x3edbc8[_0x477d('0x1aa4')]=[];_0x3edbc8[_0x477d('0x3ef')]={'fields':_0x477d('0x188'),'limit':0xa,'page':0x1};_0x3edbc8['editstate']=_0x4165e6;_0x3edbc8[_0x477d('0x19d4')]=_0x383a8f;_0x3edbc8['deleteconfirm']=_0x2ae5d7;_0x3edbc8[_0x477d('0x485')]=_0x385f4c;_0x3edbc8[_0x477d('0x1aa5')]=_0x35b96c;_0x3edbc8[_0x477d('0x1aa6')]=_0x1d4f9a;_0x3edbc8[_0x477d('0x1a78')]=_0x4f7254;_0x3edbc8[_0x477d('0x1aa7')]=_0x2c504d;_0x3edbc8['deleteSelectedFreshdeskAccounts']=_0x5a519a;_0x3edbc8[_0x477d('0x1aa8')]=_0x49ec06;_0x3edbc8['selectAllFreshdeskAccounts']=_0x40decc;function _0x4165e6(_0xe46f64,_0x5262fd){_0x48cda9['go'](_0x477d('0x1aa9'),{'id':_0xe46f64['id'],'freshdeskAccount':_0xe46f64,'crudPermissions':_0x3edbc8[_0x477d('0xd66')]});}function _0x383a8f(_0x4f6fd0,_0x1237b1){return _0x257e91[_0x477d('0xc26')]['getFields']({'id':_0x4f6fd0['id'],'test':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(){_0x273a7b['success']({'title':_0x477d('0x1aaa'),'msg':_0x477d('0xf0a')});})[_0x477d('0xf8')](function(_0x501e4f){_0x273a7b[_0x477d('0x44a')]({'title':_0x477d('0x1aaa'),'msg':_0x501e4f['data']?_0x501e4f[_0x477d('0x451')]['message']?_0x501e4f[_0x477d('0x451')]['message']:JSON[_0x477d('0x3fb')](_0x501e4f[_0x477d('0x451')]):_0x501e4f[_0x477d('0x453')]()});});}function _0x2ae5d7(_0x101938,_0x4183d0){var _0x2e366d=_0x35b8b2['confirm']()[_0x477d('0x49a')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20'+_['startCase'](_0x477d('0x1a72'))+'?')[_0x477d('0xd92')](_0x477d('0xd93')+(_0x101938[_0x477d('0x94')]||_0x477d('0x1a72'))+''+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x1aab'))['targetEvent'](_0x4183d0)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x35b8b2[_0x477d('0x395')](_0x2e366d)[_0x477d('0x76')](function(){_0x4f7254(_0x101938);},function(){console[_0x477d('0x7b')](_0x477d('0xd97'));});}var _0x5ac33b=!![];var _0xd4496d=0x1;_0x24a3ad[_0x477d('0x4b5')](_0x477d('0xd98'),function(_0x58a976,_0x57a980){if(_0x5ac33b){_0x40827a(function(){_0x5ac33b=![];});}else{if(!_0x57a980){_0xd4496d=_0x3edbc8[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x58a976!==_0x57a980){_0x3edbc8[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0x58a976){_0x3edbc8[_0x477d('0x3ef')][_0x477d('0xe03')]=_0xd4496d;}_0x3edbc8[_0x477d('0x1aa5')]();}});function _0x385f4c(_0x39a454){_0x3edbc8[_0x477d('0x1a75')]=_0x39a454||{'count':0x0,'rows':[]};}function _0x35b96c(){_0x3edbc8[_0x477d('0x3ef')][_0x477d('0x91c')]=(_0x3edbc8[_0x477d('0x3ef')]['page']-0x1)*_0x3edbc8[_0x477d('0x3ef')]['limit'];if(_0x429c53['hasRole'](_0x477d('0x5f'))){_0x3edbc8[_0x477d('0x553')]=_0x257e91[_0x477d('0xc26')]['get'](_0x3edbc8['query'],_0x385f4c)[_0x477d('0x38b')];}else{_0x3edbc8['query']['id']=_0x3edbc8[_0x477d('0x3a5')]['id'];_0x3edbc8['query'][_0x477d('0xd99')]=_0x477d('0x1aac');_0x3edbc8[_0x477d('0x553')]=_0x257e91[_0x477d('0x3a5')][_0x477d('0xd9a')](_0x3edbc8[_0x477d('0x3ef')],_0x385f4c)['$promise'];}}function _0x1d4f9a(_0x40b782,_0x37f8a4){_0x35b8b2[_0x477d('0x395')]({'controller':_0x477d('0x1a73'),'controllerAs':'vm','templateUrl':'app/main/apps/integrations/views/freshdeskAccounts/create/dialog.html','parent':angular[_0x477d('0x398')](_0x2c0e7d['body']),'targetEvent':_0x40b782,'clickOutsideToClose':!![],'locals':{'freshdeskAccount':_0x37f8a4,'freshdeskAccounts':_0x3edbc8['freshdeskAccounts']['rows'],'license':_0x3edbc8[_0x477d('0x613')],'setting':_0x3edbc8[_0x477d('0xc8e')],'crudPermissions':_0x3edbc8[_0x477d('0xd66')]}});}function _0x4f7254(_0x47d8b6){_0x257e91[_0x477d('0xc26')]['delete']({'id':_0x47d8b6['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_['remove'](_0x3edbc8[_0x477d('0x1a75')]['rows'],{'id':_0x47d8b6['id']});_0x3edbc8[_0x477d('0x1a75')][_0x477d('0x3bb')]-=0x1;if(!_0x3edbc8['freshdeskAccounts'][_0x477d('0xf2')]['length']){_0x3edbc8[_0x477d('0x1aa5')]();}_0x273a7b[_0x477d('0x485')]({'title':_[_0x477d('0xd91')](_0x477d('0x1aad'))+_0x477d('0xd9d'),'msg':_0x47d8b6[_0x477d('0x94')]?_0x47d8b6[_0x477d('0x94')]+_0x477d('0xd7e'):''});})[_0x477d('0xf8')](function(_0x2b0bf6){if(_0x2b0bf6['data']&&_0x2b0bf6[_0x477d('0x451')]['errors']&&_0x2b0bf6[_0x477d('0x451')][_0x477d('0xd67')]['length']){_0x3edbc8[_0x477d('0xd67')]=_0x2b0bf6['data'][_0x477d('0xd67')]||[{'message':_0x2b0bf6[_0x477d('0x453')](),'type':_0x477d('0x1aae')}];for(var _0x755fe9=0x0;_0x755fe9<_0x2b0bf6['data']['errors'][_0x477d('0x79')];_0x755fe9++){_0x273a7b['error']({'title':_0x2b0bf6[_0x477d('0x451')]['errors'][_0x755fe9][_0x477d('0x439')],'msg':_0x2b0bf6[_0x477d('0x451')]['errors'][_0x755fe9]['message']});}}else{_0x273a7b[_0x477d('0x44a')]({'title':_0x2b0bf6['status']?_0x477d('0x44b')+_0x2b0bf6[_0x477d('0x3c3')]+'\x20-\x20'+_0x2b0bf6[_0x477d('0x44d')]:_0x477d('0x1aae'),'msg':_0x2b0bf6[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x2b0bf6[_0x477d('0x451')]['message']):_0x2b0bf6[_0x477d('0x452')]||_0x2b0bf6[_0x477d('0x453')]()});}});}function _0x2c504d(){var _0xa7448d=angular[_0x477d('0x6d9')](_0x3edbc8['selectedFreshdeskAccounts']);_0x3edbc8[_0x477d('0x1aa4')]=[];return _0xa7448d;}function _0x5a519a(_0x5dba52){var _0x1bec01=_0x35b8b2[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x1aaf'))['htmlContent'](_0x477d('0xd93')+_0x3edbc8[_0x477d('0x1aa4')][_0x477d('0x79')]+'\x20selected'+'\x20will\x20be\x20deleted.')[_0x477d('0x687')](_0x477d('0x1ab0'))[_0x477d('0xd7c')](_0x5dba52)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x35b8b2[_0x477d('0x395')](_0x1bec01)['then'](function(){_0x3edbc8['selectedFreshdeskAccounts'][_0x477d('0x3b1')](function(_0x4a8622){_0x4f7254(_0x4a8622);});_0x3edbc8['selectedFreshdeskAccounts']=[];});}function _0x49ec06(){_0x3edbc8[_0x477d('0x1aa4')]=[];}function _0x40decc(){_0x3edbc8[_0x477d('0x1aa4')]=_0x3edbc8[_0x477d('0x1a75')][_0x477d('0xf2')];}}}());(function(){'use strict';_0x3a95ba[_0x477d('0xa')]=['$scope',_0x477d('0x3c4'),_0x477d('0xd64'),_0x477d('0x384'),'$q',_0x477d('0x40d'),'toasty',_0x477d('0x1ab1'),_0x477d('0x1ab2'),_0x477d('0x386'),_0x477d('0x55'),_0x477d('0x613'),_0x477d('0xc8e'),'crudPermissions'];angular['module'](_0x477d('0x38'))[_0x477d('0x3ba')]('CreateOrEditFreshsalesAccountDialogController',_0x3a95ba);function _0x3a95ba(_0x3ba8f5,_0x1954f0,_0x1d2e04,_0xd422b5,_0xf08be6,_0x5bea33,_0x8d4ae4,_0x1505cd,_0x415f3a,_0x508b95,_0x1e1180,_0x348001,_0x7bce1b,_0x4b7bb2){var _0x8db937=this;_0x8db937[_0x477d('0x3e5')]=_0x1e1180[_0x477d('0x5c')]();_0x8db937[_0x477d('0xd67')]=[];_0x8db937[_0x477d('0xc8e')]=_0x7bce1b;_0x8db937[_0x477d('0x613')]=_0x348001;_0x8db937[_0x477d('0xd66')]=_0x4b7bb2;_0x8db937[_0x477d('0xd68')]={};_0x8db937[_0x477d('0xd69')]=_0x8db937[_0x477d('0xc8e')]&&_0x8db937[_0x477d('0xc8e')][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x8db937['title']=_0x477d('0x1ab3');_0x8db937[_0x477d('0x1ab2')]=angular['copy'](_0x415f3a);_0x8db937[_0x477d('0x1ab1')]=_0x1505cd;_0x8db937[_0x477d('0x1ab4')]=![];if(!_0x8db937['freshsalesAccount']){_0x8db937['freshsalesAccount']={'serverUrl':_0x1d2e04[_0x477d('0x3ce')]()+_0x477d('0x1209')+_0x1d2e04[_0x477d('0x3c9')]()+(_0x1d2e04[_0x477d('0x3cf')]()?':'+_0x1d2e04['port']():'')};_0x8db937[_0x477d('0x49a')]=_0x477d('0x1ab5');_0x8db937[_0x477d('0x1ab4')]=!![];}_0x8db937[_0x477d('0x1ab6')]=_0x23ca7b;_0x8db937['saveFreshsalesAccount']=_0x4506eb;_0x8db937[_0x477d('0x1ab7')]=_0x361af6;_0x8db937[_0x477d('0xd6f')]=_0xceeeb6;_0x8db937[_0x477d('0x6bf')]=_0x502370;function _0x23ca7b(){_0x8db937['errors']=[];_0x508b95[_0x477d('0xc5d')][_0x477d('0xd70')](_0x8db937['freshsalesAccount'])[_0x477d('0x38b')][_0x477d('0x76')](function(_0xec7e08){_0x8db937[_0x477d('0x1ab1')]['unshift'](_0xec7e08[_0x477d('0xd71')]());_0x8d4ae4[_0x477d('0x485')]({'title':_0x477d('0x1ab8'),'msg':_0x8db937[_0x477d('0x1ab2')][_0x477d('0x94')]?_0x8db937[_0x477d('0x1ab2')][_0x477d('0x94')]+_0x477d('0xd73'):''});_0x502370(_0xec7e08);})[_0x477d('0xf8')](function(_0x43ff54){if(_0x43ff54[_0x477d('0x451')]&&_0x43ff54['data'][_0x477d('0xd67')]&&_0x43ff54[_0x477d('0x451')]['errors']['length']){_0x8db937[_0x477d('0xd67')]=_0x43ff54[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x43ff54[_0x477d('0x453')](),'type':_0x477d('0x1ab9')}];for(var _0x234623=0x0;_0x234623<_0x43ff54[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x234623+=0x1){_0x8d4ae4[_0x477d('0x44a')]({'title':_0x43ff54[_0x477d('0x451')][_0x477d('0xd67')][_0x234623]['type'],'msg':_0x43ff54[_0x477d('0x451')]['errors'][_0x234623]['message']});}}else{_0x8d4ae4[_0x477d('0x44a')]({'title':_0x43ff54['status']?_0x477d('0x44b')+_0x43ff54[_0x477d('0x3c3')]+'\x20-\x20'+_0x43ff54[_0x477d('0x44d')]:_0x477d('0x1ab9'),'msg':_0x43ff54['data']?JSON[_0x477d('0x3fb')](_0x43ff54[_0x477d('0x451')]['message']):_0x43ff54[_0x477d('0x453')]()});}});}function _0x4506eb(){_0x8db937[_0x477d('0xd67')]=[];_0x508b95[_0x477d('0xc5d')][_0x477d('0x710')]({'id':_0x8db937['freshsalesAccount']['id']},_0x8db937[_0x477d('0x1ab2')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x21473a){var _0x390949=_[_0x477d('0x10a')](_0x8db937[_0x477d('0x1ab1')],{'id':_0x21473a['id']});if(_0x390949){_['merge'](_0x390949,_['pick'](_0x21473a[_0x477d('0xd71')](),_['keys'](_0x390949)));}_0x8d4ae4[_0x477d('0x485')]({'title':_0x477d('0x1aba'),'msg':_0x8db937[_0x477d('0x1ab2')][_0x477d('0x94')]?_0x8db937[_0x477d('0x1ab2')]['name']+_0x477d('0xd76'):''});_0x502370(_0x21473a);})[_0x477d('0xf8')](function(_0x167cc2){if(_0x167cc2[_0x477d('0x451')]&&_0x167cc2[_0x477d('0x451')][_0x477d('0xd67')]&&_0x167cc2[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x8db937[_0x477d('0xd67')]=_0x167cc2['data'][_0x477d('0xd67')]||[{'message':_0x167cc2['toString'](),'type':_0x477d('0x1abb')}];for(var _0x5bf7df=0x0;_0x5bf7df<_0x167cc2[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x5bf7df++){_0x8d4ae4['error']({'title':_0x167cc2[_0x477d('0x451')][_0x477d('0xd67')][_0x5bf7df][_0x477d('0x439')],'msg':_0x167cc2[_0x477d('0x451')]['errors'][_0x5bf7df][_0x477d('0x452')]});}}else{_0x8d4ae4[_0x477d('0x44a')]({'title':_0x167cc2[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x167cc2['status']+_0x477d('0x44c')+_0x167cc2[_0x477d('0x44d')]:_0x477d('0x1abb'),'msg':_0x167cc2[_0x477d('0x451')]?JSON['stringify'](_0x167cc2['data']['message']):_0x167cc2['toString']()});}});}function _0x361af6(_0x258cde){_0x8db937[_0x477d('0xd67')]=[];var _0x6b0b9=_0xd422b5[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xd79'))[_0x477d('0xdaf')](_0x477d('0x1abc'))['ariaLabel'](_0x477d('0x1abd'))['ok']('Delete')[_0x477d('0x4f0')]('Cancel')['targetEvent'](_0x258cde);_0xd422b5[_0x477d('0x395')](_0x6b0b9)[_0x477d('0x76')](function(){_0x508b95[_0x477d('0xc5d')]['delete']({'id':_0x8db937[_0x477d('0x1ab2')]['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x8db937[_0x477d('0x1ab1')],{'id':_0x8db937[_0x477d('0x1ab2')]['id']});_0x8d4ae4[_0x477d('0x485')]({'title':_0x477d('0x1abe'),'msg':(_0x8db937[_0x477d('0x1ab2')][_0x477d('0x94')]||'freshsalesAccount')+'\x20has\x20been\x20deleted!'});_0x502370(_0x8db937[_0x477d('0x1ab2')]);})[_0x477d('0xf8')](function(_0x2dbce6){if(_0x2dbce6[_0x477d('0x451')]&&_0x2dbce6[_0x477d('0x451')][_0x477d('0xd67')]&&_0x2dbce6[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x8db937[_0x477d('0xd67')]=_0x2dbce6['data'][_0x477d('0xd67')]||[{'message':_0x2dbce6[_0x477d('0x453')](),'type':_0x477d('0x1abf')}];for(var _0x1071dc=0x0;_0x1071dc<_0x2dbce6['data'][_0x477d('0xd67')][_0x477d('0x79')];_0x1071dc++){_0x8d4ae4[_0x477d('0x44a')]({'title':_0x2dbce6[_0x477d('0x451')][_0x477d('0xd67')][_0x1071dc][_0x477d('0x439')],'msg':_0x2dbce6[_0x477d('0x451')][_0x477d('0xd67')][_0x1071dc][_0x477d('0x452')]});}}else{_0x8d4ae4[_0x477d('0x44a')]({'title':_0x2dbce6[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x2dbce6[_0x477d('0x3c3')]+'\x20-\x20'+_0x2dbce6[_0x477d('0x44d')]:'api.intFreshsalesAccount.delete','msg':_0x2dbce6[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x2dbce6['data'][_0x477d('0x452')]):_0x2dbce6[_0x477d('0x452')]||_0x2dbce6[_0x477d('0x453')]()});}});},function(){});}function _0xceeeb6(_0x4748ae){return _0x4748ae===null?undefined:new Date(_0x4748ae);}function _0x502370(_0x53d20b){_0xd422b5[_0x477d('0x3bc')](_0x53d20b);}}}());(function(){'use strict';_0x567193[_0x477d('0xa')]=[_0x477d('0x384'),'$document',_0x477d('0x386'),_0x477d('0x40e'),_0x477d('0x55')];angular[_0x477d('0xb')](_0x477d('0x38'))[_0x477d('0x3ba')](_0x477d('0x1ac0'),_0x567193);function _0x567193(_0x16a33b,_0x3318f5,_0x2c83fc,_0x5f4f62,_0x1bf218){var _0x40edce=this;_0x40edce[_0x477d('0x3e5')]=_0x1bf218['getCurrentUser']();_0x40edce[_0x477d('0x1ab2')]={};_0x40edce[_0x477d('0x1ac1')]={};_0x40edce[_0x477d('0x19df')]=[];_0x40edce[_0x477d('0x1ac2')]=-0x1;_0x40edce[_0x477d('0xd66')];_0x40edce[_0x477d('0x5ee')]=_0xbd69bc;_0x40edce[_0x477d('0x1ac3')]=_0x34a46a;_0x40edce[_0x477d('0x1ac4')]=_0x197ff7;_0x40edce[_0x477d('0x1ac5')]=_0x4bf1cb;function _0xbd69bc(_0x489abb,_0x350bd2){_0x40edce[_0x477d('0x1ab2')]=_0x489abb;_0x40edce[_0x477d('0xd66')]=typeof _0x350bd2!==_0x477d('0x4a4')?_0x350bd2:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x2c83fc['intFreshsalesAccount']['getConfigurations']({'id':_0x40edce[_0x477d('0x1ab2')]['id'],'sort':_0x477d('0x59')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x782991){_0x40edce[_0x477d('0x19df')]=_0x782991[_0x477d('0xf2')]?_0x782991[_0x477d('0xf2')]:[];if(_0x40edce[_0x477d('0x19df')][_0x477d('0x79')]){_0x40edce[_0x477d('0x1ac3')](0x0);}return _0x2c83fc[_0x477d('0xbb9')][_0x477d('0x376')]({'nolimit':!![],'sort':_0x477d('0x94')})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x4a27f1){_0x40edce[_0x477d('0xf31')]=_0x4a27f1['rows']?_0x4a27f1[_0x477d('0xf2')]:[];_0x40edce[_0x477d('0x1a4e')]=_['keyBy'](_0x40edce[_0x477d('0xf31')],'id');})['catch'](function(_0x199bd5){_0x5f4f62[_0x477d('0x44a')]({'title':_0x199bd5[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x199bd5['status']+_0x477d('0x44c')+_0x199bd5[_0x477d('0x44d')]:_0x477d('0x19ea'),'msg':_0x199bd5['data']?JSON[_0x477d('0x3fb')](_0x199bd5[_0x477d('0x451')]):_0x199bd5[_0x477d('0x453')]()});});}function _0x34a46a(_0x2c51a1){_0x40edce[_0x477d('0x1ac1')]=_0x40edce[_0x477d('0x19df')][_0x2c51a1];_0x40edce['selectedFreshsalesConfiguration']=_0x2c51a1;_0x2c83fc['intFreshsalesConfiguration'][_0x477d('0x19eb')]({'id':_0x40edce[_0x477d('0x1ac1')]['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x4e4d4d){_0x40edce[_0x477d('0x19ec')]=_0x4e4d4d[_0x477d('0xf2')]?_0x4e4d4d['rows']:[];return _0x2c83fc[_0x477d('0xc62')][_0x477d('0x1a4f')]({'id':_0x40edce[_0x477d('0x1ac1')]['id']})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x1720ed){_0x40edce[_0x477d('0x19ed')]=_0x1720ed['rows']?_0x1720ed[_0x477d('0xf2')]:[];return _0x2c83fc[_0x477d('0xc62')][_0x477d('0xe26')]({'id':_0x40edce['freshsalesConfiguration']['id']})[_0x477d('0x38b')];})['then'](function(_0x553f9d){_0x40edce[_0x477d('0x458')]=_0x553f9d[_0x477d('0xf2')]?_0x553f9d[_0x477d('0xf2')]:[];})[_0x477d('0xf8')](function(_0x520f27){_0x5f4f62[_0x477d('0x44a')]({'title':_0x520f27[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x520f27['status']+_0x477d('0x44c')+_0x520f27[_0x477d('0x44d')]:_0x477d('0x19ee'),'msg':_0x520f27['data']?JSON[_0x477d('0x3fb')](_0x520f27[_0x477d('0x451')]):_0x520f27[_0x477d('0x453')]()});});}function _0x197ff7(_0x30f2b5,_0x12b97c){_0x16a33b['show']({'controller':_0x477d('0x1ac6'),'controllerAs':'vm','templateUrl':'app/main/apps/integrations/views/freshsalesAccounts/edit/configurations/dialog.html','parent':angular[_0x477d('0x398')](_0x3318f5[_0x477d('0x399')]),'targetEvent':_0x30f2b5,'clickOutsideToClose':!![],'locals':{'freshsalesConfiguration':_0x12b97c,'configurations':_0x40edce[_0x477d('0x19df')],'license':null,'setting':null,'crudPermissions':_0x40edce[_0x477d('0xd66')]}})['finally'](function(){_0x40edce[_0x477d('0x1ac3')](0x0);});}function _0x4bf1cb(_0x3ce3a2,_0x3d677e){var _0x3bedaa=_0x16a33b[_0x477d('0xd78')]()['title'](_0x477d('0x1ac7'))['htmlContent'](_0x477d('0xd93')+(_0x3d677e[_0x477d('0x94')]||_0x477d('0x1ac1'))+_0x477d('0xd94')+'\x20will\x20be\x20deleted.')['ariaLabel'](_0x477d('0x1ac8'))['targetEvent'](_0x3ce3a2)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x16a33b['show'](_0x3bedaa)['then'](function(){_0x2c83fc['intFreshsalesConfiguration'][_0x477d('0xa55')]({'id':_0x3d677e['id']})['$promise']['then'](function(){_['remove'](_0x40edce[_0x477d('0x19df')],{'id':_0x3d677e['id']});_0x5f4f62[_0x477d('0x485')]({'title':_0x477d('0x1ac9'),'msg':_0x3d677e[_0x477d('0x94')]?_0x3d677e[_0x477d('0x94')]+'\x20has\x20been\x20deleted!':''});})[_0x477d('0xf8')](function(_0x22bfcc){_0x5f4f62[_0x477d('0x44a')]({'title':_0x22bfcc['status']?_0x477d('0x44b')+_0x22bfcc[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x22bfcc[_0x477d('0x44d')]:_0x477d('0x19f1'),'msg':_0x22bfcc[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x22bfcc[_0x477d('0x451')]):_0x22bfcc[_0x477d('0x453')]()});})[_0x477d('0x5ff')](function(){_0x40edce[_0x477d('0x1ac3')](0x0);});},function(){console[_0x477d('0x7b')](_0x477d('0xd97'));});}_0x40edce['selectedSubjects']=[];_0x40edce[_0x477d('0x19f2')]=_0x1df299;_0x40edce[_0x477d('0x19f3')]=_0x53a8eb;_0x40edce[_0x477d('0x19f4')]=_0x258ccb;function _0x1df299(_0x1119aa,_0x8ed4a2){_0x16a33b[_0x477d('0x395')]({'controller':_0x477d('0x1aca'),'controllerAs':'vm','templateUrl':'app/main/apps/integrations/views/freshsalesAccounts/edit/item/dialog.html','parent':angular['element'](_0x3318f5[_0x477d('0x399')]),'targetEvent':_0x1119aa,'clickOutsideToClose':!![],'locals':{'type':_0x477d('0x135c'),'item':_0x8ed4a2,'items':_0x40edce['subjects'],'configuration':_0x40edce[_0x477d('0x1ac1')],'account':_0x40edce['freshsalesAccount'],'license':null,'setting':null,'crudPermissions':_0x40edce['crudPermissions']}});}function _0x535883(_0x374945){_0x2c83fc[_0x477d('0xc67')][_0x477d('0xa55')]({'id':_0x374945['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x40edce[_0x477d('0x19ec')],{'id':_0x374945['id']});_0x5f4f62[_0x477d('0x485')]({'title':_0x477d('0x19f6'),'msg':'Subject\x20has\x20been\x20deleted!'});})['catch'](function(_0x439870){_0x5f4f62[_0x477d('0x44a')]({'title':_0x439870[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x439870[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x439870['statusText']:_0x477d('0x19f8'),'msg':_0x439870[_0x477d('0x451')]?JSON['stringify'](_0x439870[_0x477d('0x451')]):_0x439870['toString']()});});}function _0x53a8eb(_0x300502,_0x82e009){var _0x5a4dfe=_0x16a33b[_0x477d('0xd78')]()[_0x477d('0x49a')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20subject?')[_0x477d('0xd92')](_0x477d('0x19f9')+_0x477d('0xd95'))[_0x477d('0x687')]('delete\x20subject')[_0x477d('0xd7c')](_0x300502)['ok']('OK')['cancel'](_0x477d('0xd97'));_0x16a33b[_0x477d('0x395')](_0x5a4dfe)[_0x477d('0x76')](function(){_0x535883(_0x82e009);},function(){console[_0x477d('0x7b')](_0x477d('0xd97'));});}function _0x258ccb(_0x4e0055){var _0x58b19d=_0x16a33b[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x1a8d'))[_0x477d('0xd92')](''+_0x40edce[_0x477d('0x19fa')][_0x477d('0x79')]+'\x20selected'+_0x477d('0xd95'))[_0x477d('0x687')]('delete\x20subjects')[_0x477d('0xd7c')](_0x4e0055)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x16a33b[_0x477d('0x395')](_0x58b19d)[_0x477d('0x76')](function(){_0x40edce['selectedSubjects']['forEach'](function(_0x4f00a2){_0x535883(_0x4f00a2);});_0x40edce[_0x477d('0x19fa')]=[];});}_0x40edce[_0x477d('0x19fc')]=[];_0x40edce[_0x477d('0x19fd')]=_0x17b3be;_0x40edce['deleteDescriptionConfirm']=_0x458d72;_0x40edce['deleteSelectedDescriptions']=_0x33b6eb;function _0x17b3be(_0x159fbd,_0x15091f){_0x16a33b[_0x477d('0x395')]({'controller':_0x477d('0x1aca'),'controllerAs':'vm','templateUrl':'app/main/apps/integrations/views/freshsalesAccounts/edit/item/dialog.html','parent':angular['element'](_0x3318f5['body']),'targetEvent':_0x159fbd,'clickOutsideToClose':!![],'locals':{'type':_0x477d('0xe0e'),'item':_0x15091f,'items':_0x40edce[_0x477d('0x19ed')],'configuration':_0x40edce[_0x477d('0x1ac1')],'account':_0x40edce['freshsalesAccount'],'license':null,'setting':null,'crudPermissions':_0x40edce['crudPermissions']}});}function _0x2e9321(_0x3f9a0b){_0x2c83fc[_0x477d('0xc67')][_0x477d('0xa55')]({'id':_0x3f9a0b['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x40edce[_0x477d('0x19ed')],{'id':_0x3f9a0b['id']});_0x5f4f62[_0x477d('0x485')]({'title':'Description\x20deleted!','msg':'Description\x20has\x20been\x20deleted!'});})[_0x477d('0xf8')](function(_0x1f8fb9){_0x5f4f62[_0x477d('0x44a')]({'title':_0x1f8fb9[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x1f8fb9['status']+_0x477d('0x44c')+_0x1f8fb9['statusText']:_0x477d('0x19f8'),'msg':_0x1f8fb9[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x1f8fb9[_0x477d('0x451')]):_0x1f8fb9[_0x477d('0x453')]()});});}function _0x458d72(_0x2117e7,_0x2525a5){var _0x58310b=_0x16a33b[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x1a00'))[_0x477d('0xd92')](_0x477d('0x1a01')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x1a02'))[_0x477d('0xd7c')](_0x2117e7)['ok']('OK')[_0x477d('0x4f0')]('CANCEL');_0x16a33b[_0x477d('0x395')](_0x58310b)[_0x477d('0x76')](function(){_0x2e9321(_0x2525a5);},function(){console[_0x477d('0x7b')](_0x477d('0xd97'));});}function _0x33b6eb(_0x8a8167){var _0x424d28=_0x16a33b[_0x477d('0xd78')]()[_0x477d('0x49a')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20descriptions?')['htmlContent'](_0x477d('0xd93')+_0x40edce[_0x477d('0x19fc')][_0x477d('0x79')]+_0x477d('0xda0')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x1a04'))['targetEvent'](_0x8a8167)['ok']('OK')['cancel']('CANCEL');_0x16a33b['show'](_0x424d28)[_0x477d('0x76')](function(){_0x40edce[_0x477d('0x19fc')]['forEach'](function(_0x505c46){_0x2e9321(_0x505c46);});_0x40edce[_0x477d('0x19fc')]=[];});}_0x40edce[_0x477d('0x1a08')]=[];_0x40edce[_0x477d('0x1a05')]=_0x558334;_0x40edce[_0x477d('0x1a8f')]=_0x21d27d;_0x40edce['deleteSelectedFields']=_0x3a1729;function _0x558334(_0x11efdf,_0x34bcf5){_0x16a33b[_0x477d('0x395')]({'controller':'CreateOrEditFreshsalesAccountItemDialogController','controllerAs':'vm','templateUrl':_0x477d('0x1acb'),'parent':angular[_0x477d('0x398')](_0x3318f5[_0x477d('0x399')]),'targetEvent':_0x11efdf,'clickOutsideToClose':!![],'locals':{'type':_0x477d('0x463'),'item':_0x34bcf5,'items':_0x40edce[_0x477d('0x458')],'configuration':_0x40edce[_0x477d('0x1ac1')],'account':_0x40edce[_0x477d('0x1ab2')],'license':null,'setting':null,'crudPermissions':_0x40edce[_0x477d('0xd66')]}});}function _0x3f1e19(_0x9b6e91){_0x2c83fc[_0x477d('0xc67')][_0x477d('0xa55')]({'id':_0x9b6e91['id']})[_0x477d('0x38b')]['then'](function(){_[_0x477d('0x39c')](_0x40edce[_0x477d('0x458')],{'id':_0x9b6e91['id']});_0x5f4f62[_0x477d('0x485')]({'title':_0x477d('0xe70'),'msg':'Field\x20has\x20been\x20deleted!'});})[_0x477d('0xf8')](function(_0x3861f6){_0x5f4f62[_0x477d('0x44a')]({'title':_0x3861f6[_0x477d('0x3c3')]?'API:'+_0x3861f6['status']+'\x20-\x20'+_0x3861f6['statusText']:_0x477d('0x19f8'),'msg':_0x3861f6[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x3861f6[_0x477d('0x451')]):_0x3861f6[_0x477d('0x453')]()});});}function _0x21d27d(_0x37f1e8,_0x433ab0){var _0x527422=_0x16a33b[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xe6d'))[_0x477d('0xd92')]('Field'+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x1a91'))[_0x477d('0xd7c')](_0x37f1e8)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x16a33b[_0x477d('0x395')](_0x527422)[_0x477d('0x76')](function(){_0x3f1e19(_0x433ab0);},function(){console[_0x477d('0x7b')]('CANCEL');});}function _0x3a1729(_0x1496f4){var _0x2b7e09=_0x16a33b['confirm']()[_0x477d('0x49a')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20fields?')[_0x477d('0xd92')](_0x477d('0xd93')+_0x40edce['selectedFields'][_0x477d('0x79')]+_0x477d('0xda0')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0xe73'))[_0x477d('0xd7c')](_0x1496f4)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x16a33b[_0x477d('0x395')](_0x2b7e09)[_0x477d('0x76')](function(){_0x40edce[_0x477d('0x1a08')]['forEach'](function(_0x536703){_0x3f1e19(_0x536703);});_0x40edce[_0x477d('0x1a08')]=[];});}}}());(function(){'use strict';_0x14efb1[_0x477d('0xa')]=[_0x477d('0x474'),'$state',_0x477d('0xd64'),_0x477d('0x384'),'$q','$translate',_0x477d('0x40e'),'configurations',_0x477d('0x1ac1'),_0x477d('0x386'),_0x477d('0x55'),'license',_0x477d('0xc8e'),_0x477d('0xd66')];angular['module'](_0x477d('0x38'))[_0x477d('0x3ba')]('CreateOrEditFreshsalesConfigurationDialogController',_0x14efb1);function _0x14efb1(_0x21eca6,_0x4f8d6f,_0x112d3c,_0x22ca35,_0x347d71,_0x2c10ee,_0x46fa06,_0x145458,_0x3ed407,_0x5c7a1e,_0x4649fa,_0x5b30ff,_0x3ee7b8,_0xe0518c){var _0x5194be=this;_0x5194be['currentUser']=_0x4649fa[_0x477d('0x5c')]();_0x5194be['errors']=[];_0x5194be[_0x477d('0xc8e')]=_0x3ee7b8;_0x5194be[_0x477d('0x613')]=_0x5b30ff;_0x5194be[_0x477d('0xd66')]=_0xe0518c;_0x5194be['hasModulePermissions']={};_0x5194be[_0x477d('0xd69')]=_0x5194be[_0x477d('0xc8e')]&&_0x5194be['setting'][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x5194be['title']=_0x477d('0x1acc');_0x5194be['freshsalesConfiguration']=angular[_0x477d('0x6d9')](_0x3ed407);_0x5194be[_0x477d('0x19df')]=_0x145458;_0x5194be[_0x477d('0x1acd')]=![];if(!_0x5194be[_0x477d('0x1ac1')]){_0x5194be[_0x477d('0x1ac1')]={'channel':_0x477d('0x108'),'type':_0x477d('0x9e')};_0x5194be[_0x477d('0x49a')]=_0x477d('0x1ace');_0x5194be[_0x477d('0x1acd')]=!![];}_0x5194be['addNewFreshsalesConfiguration']=_0x5615f6;_0x5194be[_0x477d('0x1acf')]=_0x1b6ceb;_0x5194be[_0x477d('0x1ac5')]=_0x17c312;_0x5194be[_0x477d('0xd6f')]=_0x573e58;_0x5194be[_0x477d('0x6bf')]=_0x43c7ea;function _0x5615f6(){_0x5194be['errors']=[];_0x5c7a1e['intFreshsalesAccount'][_0x477d('0x1a61')]({'id':_0x4f8d6f[_0x477d('0x37e')]['id']},_0x5194be[_0x477d('0x1ac1')])[_0x477d('0x38b')]['then'](function(_0x20a541){_0x5194be[_0x477d('0x19df')][_0x477d('0x63b')](_0x20a541[_0x477d('0xd71')]());_0x46fa06[_0x477d('0x485')]({'title':_0x477d('0x1ad0'),'msg':_0x5194be['freshsalesConfiguration'][_0x477d('0x94')]?_0x5194be[_0x477d('0x1ac1')][_0x477d('0x94')]+_0x477d('0xd73'):''});_0x43c7ea(_0x20a541);})['catch'](function(_0xb8419a){if(_0xb8419a[_0x477d('0x451')]&&_0xb8419a[_0x477d('0x451')]['errors']&&_0xb8419a['data'][_0x477d('0xd67')]['length']){_0x5194be[_0x477d('0xd67')]=_0xb8419a[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0xb8419a['toString'](),'type':_0x477d('0x1ad1')}];for(var _0x545e17=0x0;_0x545e17<_0xb8419a['data'][_0x477d('0xd67')]['length'];_0x545e17+=0x1){_0x46fa06[_0x477d('0x44a')]({'title':_0xb8419a[_0x477d('0x451')][_0x477d('0xd67')][_0x545e17][_0x477d('0x439')],'msg':_0xb8419a[_0x477d('0x451')]['errors'][_0x545e17][_0x477d('0x452')]});}}else{_0x46fa06[_0x477d('0x44a')]({'title':_0xb8419a[_0x477d('0x3c3')]?'API:'+_0xb8419a[_0x477d('0x3c3')]+_0x477d('0x44c')+_0xb8419a[_0x477d('0x44d')]:'api.intFreshsalesConfiguration.save','msg':_0xb8419a[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0xb8419a[_0x477d('0x451')]['message']):_0xb8419a[_0x477d('0x453')]()});}});}function _0x1b6ceb(){_0x5194be[_0x477d('0xd67')]=[];_0x5c7a1e['intFreshsalesConfiguration'][_0x477d('0x710')]({'id':_0x5194be['freshsalesConfiguration']['id']},_0x5194be[_0x477d('0x1ac1')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x48e5d6){var _0x3400a8=_[_0x477d('0x10a')](_0x5194be[_0x477d('0x19df')],{'id':_0x48e5d6['id']});if(_0x3400a8){_[_0x477d('0xef')](_0x3400a8,_[_0x477d('0x10b')](_0x48e5d6[_0x477d('0xd71')](),_[_0x477d('0x7f')](_0x3400a8)));}_0x46fa06[_0x477d('0x485')]({'title':_0x477d('0x1ad2'),'msg':_0x5194be['freshsalesConfiguration'][_0x477d('0x94')]?_0x5194be[_0x477d('0x1ac1')][_0x477d('0x94')]+_0x477d('0xd76'):''});_0x43c7ea(_0x48e5d6);})[_0x477d('0xf8')](function(_0x6bad2e){if(_0x6bad2e[_0x477d('0x451')]&&_0x6bad2e[_0x477d('0x451')][_0x477d('0xd67')]&&_0x6bad2e[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x5194be[_0x477d('0xd67')]=_0x6bad2e[_0x477d('0x451')]['errors']||[{'message':_0x6bad2e[_0x477d('0x453')](),'type':_0x477d('0x1ad3')}];for(var _0x23ea54=0x0;_0x23ea54<_0x6bad2e[_0x477d('0x451')][_0x477d('0xd67')]['length'];_0x23ea54++){_0x46fa06[_0x477d('0x44a')]({'title':_0x6bad2e[_0x477d('0x451')][_0x477d('0xd67')][_0x23ea54][_0x477d('0x439')],'msg':_0x6bad2e[_0x477d('0x451')][_0x477d('0xd67')][_0x23ea54]['message']});}}else{_0x46fa06[_0x477d('0x44a')]({'title':_0x6bad2e[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x6bad2e['status']+'\x20-\x20'+_0x6bad2e[_0x477d('0x44d')]:_0x477d('0x1ad3'),'msg':_0x6bad2e[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x6bad2e['data'][_0x477d('0x452')]):_0x6bad2e['toString']()});}});}function _0x17c312(_0x40b8bd){_0x5194be[_0x477d('0xd67')]=[];var _0x54aa37=_0x22ca35[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xd79'))[_0x477d('0xdaf')]('The\x20freshsalesConfiguration\x20will\x20be\x20deleted.')[_0x477d('0x687')](_0x477d('0x1ad4'))['ok'](_0x477d('0xd7b'))[_0x477d('0x4f0')](_0x477d('0x688'))[_0x477d('0xd7c')](_0x40b8bd);_0x22ca35['show'](_0x54aa37)[_0x477d('0x76')](function(){_0x5c7a1e[_0x477d('0xc62')]['delete']({'id':_0x5194be[_0x477d('0x1ac1')]['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x5194be[_0x477d('0x19df')],{'id':_0x5194be[_0x477d('0x1ac1')]['id']});_0x46fa06[_0x477d('0x485')]({'title':_0x477d('0x1ad5'),'msg':(_0x5194be[_0x477d('0x1ac1')]['name']||'freshsalesConfiguration')+'\x20has\x20been\x20deleted!'});_0x43c7ea(_0x5194be[_0x477d('0x1ac1')]);})[_0x477d('0xf8')](function(_0x32c7d5){if(_0x32c7d5[_0x477d('0x451')]&&_0x32c7d5[_0x477d('0x451')]['errors']&&_0x32c7d5[_0x477d('0x451')][_0x477d('0xd67')]['length']){_0x5194be[_0x477d('0xd67')]=_0x32c7d5[_0x477d('0x451')]['errors']||[{'message':_0x32c7d5[_0x477d('0x453')](),'type':_0x477d('0x1ad6')}];for(var _0x196a58=0x0;_0x196a58<_0x32c7d5['data'][_0x477d('0xd67')]['length'];_0x196a58++){_0x46fa06[_0x477d('0x44a')]({'title':_0x32c7d5[_0x477d('0x451')][_0x477d('0xd67')][_0x196a58]['type'],'msg':_0x32c7d5[_0x477d('0x451')][_0x477d('0xd67')][_0x196a58][_0x477d('0x452')]});}}else{_0x46fa06[_0x477d('0x44a')]({'title':_0x32c7d5[_0x477d('0x3c3')]?'API:'+_0x32c7d5['status']+_0x477d('0x44c')+_0x32c7d5[_0x477d('0x44d')]:_0x477d('0x1ad6'),'msg':_0x32c7d5[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x32c7d5[_0x477d('0x451')][_0x477d('0x452')]):_0x32c7d5['message']||_0x32c7d5['toString']()});}});},function(){});}function _0x573e58(_0x11db84){return _0x11db84===null?undefined:new Date(_0x11db84);}function _0x43c7ea(_0x53e03f){_0x22ca35['hide'](_0x53e03f);}}}());(function(){'use strict';_0xa9ab43[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x3c4'),_0x477d('0xd64'),_0x477d('0x384'),'toasty',_0x477d('0x1a9f'),_0x477d('0x4a6'),'item',_0x477d('0x15e5'),'type',_0x477d('0x386'),_0x477d('0x55'),_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x38'))['controller'](_0x477d('0x1aca'),_0xa9ab43);function _0xa9ab43(_0x449ece,_0x386b94,_0x3427db,_0x505d0c,_0x54d1c7,_0x2870c5,_0x3dbf6,_0x28288d,_0x267ee7,_0xc3baf7,_0x4cf36f,_0x23cc7e,_0x5d7aa7){var _0xe7239=this;_0xe7239[_0x477d('0x3e5')]=_0x23cc7e['getCurrentUser']();_0xe7239['errors']=[];_0xe7239[_0x477d('0x49a')]=_0x477d('0x1a13')+_[_0x477d('0x1a14')](_0xc3baf7);_0xe7239[_0x477d('0x1a15')]=angular['copy'](_0x28288d);_0xe7239['items']=_0x3dbf6;_0xe7239[_0x477d('0x439')]=_0xc3baf7;_0xe7239[_0x477d('0xd66')]=_0x5d7aa7;_0xe7239[_0x477d('0x1a17')]=![];if(!_0xe7239[_0x477d('0x1a15')]){_0xe7239['item']={'type':_0x477d('0x1a68')};_0xe7239[_0x477d('0x1a15')][_[_0x477d('0x12e0')](_0xc3baf7)+'Id']=_0x2870c5['id'];_0xe7239[_0x477d('0x49a')]=_0x477d('0x1a16')+_['toUpper'](_0xc3baf7);_0xe7239[_0x477d('0x1a17')]=!![];}_0xe7239[_0x477d('0x1a18')]=_0x3fbc16;_0xe7239[_0x477d('0x15f9')]=_0x5c3466;_0xe7239[_0x477d('0x55f')]=_0x195872;_0xe7239[_0x477d('0x1a19')]=_0x5333e3;_0xe7239[_0x477d('0x6bf')]=_0x53f763;_0x4cf36f[_0x477d('0xbb9')]['get']({'nolimit':!![]})[_0x477d('0x38b')]['then'](function(_0x5ce806){_0xe7239[_0x477d('0xf31')]=_0x5ce806[_0x477d('0xf2')]?_0x5ce806[_0x477d('0xf2')]:[];return _0x4cf36f['voiceAgentReport'][_0x477d('0xe27')]()['$promise'];})[_0x477d('0x76')](function(_0x4d8c8b){_0xe7239[_0x477d('0x1a1a')]=_['difference'](_['keys'](_0x4d8c8b),['$promise','$resolved','createdAt',_0x477d('0xe38'),_0x477d('0x1a1c')]);_0xe7239[_0x477d('0x1a1a')]['push'](_0x477d('0x1a1d'));return _0x4cf36f[_0x477d('0xa99')][_0x477d('0xe27')]()[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x4d92c8){_0xe7239['voiceDialReportColumns']=_[_0x477d('0x7e')](_[_0x477d('0x7f')](_0x4d92c8),['$promise',_0x477d('0x80'),_0x477d('0xe37'),'updatedAt',_0x477d('0x1a1c')]);_0xe7239[_0x477d('0x1a1b')][_0x477d('0x3a7')]('recordingURL');})['catch'](function(_0x359c6f){_0x54d1c7[_0x477d('0x44a')]({'title':_0x359c6f[_0x477d('0x3c3')]?'API:'+_0x359c6f[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x359c6f[_0x477d('0x44d')]:_0x477d('0x1a1e'),'msg':_0x359c6f['data']?JSON[_0x477d('0x3fb')](_0x359c6f[_0x477d('0x451')]):_0x359c6f[_0x477d('0x453')]()});});_0x4cf36f[_0x477d('0xc5d')][_0x477d('0xe26')]({'id':_0x267ee7['id'],'ticketType':_0x2870c5[_0x477d('0x1a1f')]?_0x2870c5[_0x477d('0x1a1f')]:undefined})['$promise'][_0x477d('0x76')](function(_0x18f68e){_0xe7239['accountConnected']=!![];_0xe7239[_0x477d('0x458')]=_0x18f68e[_0x477d('0xf2')]?_0x18f68e[_0x477d('0xf2')]:[];if(_0xe7239[_0x477d('0x1a15')]['idField']){_0xe7239['customField']=_[_0x477d('0x10a')](_0xe7239[_0x477d('0x458')],{'id':_0xe7239[_0x477d('0x1a15')][_0x477d('0x1a22')]});}})[_0x477d('0xf8')](function(_0x23a7b7){_0xe7239['accountConnected']=![];console['error'](_0x23a7b7);});function _0x3fbc16(){_0xe7239['errors']=[];if(_0xe7239[_0x477d('0x1532')]){_0xe7239['item'][_0x477d('0x1a22')]=_0xe7239['customField']['id'];_0xe7239[_0x477d('0x1a15')]['nameField']=_0xe7239[_0x477d('0x1532')]['name'];_0xe7239['item']['customField']=_0xe7239['customField'][_0x477d('0x9f6')];}_0x4cf36f[_0x477d('0xc67')][_0x477d('0xd70')](_0xe7239[_0x477d('0x1a15')])[_0x477d('0x38b')]['then'](function(_0x3a4d1b){_0xe7239[_0x477d('0x4a6')]['unshift'](_0x3a4d1b);_0x54d1c7['success']({'title':_['capitalize'](_0xc3baf7)+_0x477d('0x1a21'),'msg':_[_0x477d('0x12e0')](_0xc3baf7)+_0x477d('0xd73')});_0x53f763();})[_0x477d('0xf8')](function(_0x5e6a45){console[_0x477d('0x44a')](_0x5e6a45);_0xe7239[_0x477d('0xd67')]=_0x5e6a45[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x5e6a45['toString'](),'type':_0x477d('0x1a69')}];});}function _0x5c3466(){_0xe7239[_0x477d('0xd67')]=[];if(_0xe7239['customField']){_0xe7239[_0x477d('0x1a15')][_0x477d('0x1a22')]=_0xe7239[_0x477d('0x1532')]['id'];_0xe7239[_0x477d('0x1a15')][_0x477d('0x1a23')]=_0xe7239[_0x477d('0x1532')]['name'];_0xe7239[_0x477d('0x1a15')][_0x477d('0x1532')]=_0xe7239['customField']['custom'];}_0x4cf36f[_0x477d('0xc67')][_0x477d('0x710')]({'id':_0xe7239['item']['id']},_0xe7239[_0x477d('0x1a15')])['$promise']['then'](function(_0x53ec46){var _0x2abce0=_[_0x477d('0x10a')](_0xe7239['items'],{'id':_0x53ec46['id']});if(_0x2abce0){_['merge'](_0x2abce0,_0x53ec46);}_0x54d1c7[_0x477d('0x485')]({'title':_[_0x477d('0x12e0')](_0xc3baf7)+_0x477d('0x1a6a'),'msg':_[_0x477d('0x12e0')](_0xc3baf7)+_0x477d('0xd76')});_0x53f763();})[_0x477d('0xf8')](function(_0x28713f){console[_0x477d('0x44a')](_0x28713f);_0xe7239['errors']=_0x28713f[_0x477d('0x451')]['errors']||[{'message':_0x28713f['toString'](),'type':_0x477d('0x1a24')}];});}function _0x195872(_0x1a9b90){_0xe7239[_0x477d('0xd67')]=[];var _0x19c9f5=_0x505d0c[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xd79'))[_0x477d('0xdaf')](_0x477d('0x1a25')+_0xc3baf7+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x1a6b')+_['capitalize'](_0xc3baf7))['ok'](_0x477d('0xd7b'))['cancel']('Cancel')['targetEvent'](_0x1a9b90);_0x505d0c[_0x477d('0x395')](_0x19c9f5)[_0x477d('0x76')](function(){_0x4cf36f[_0x477d('0xc67')][_0x477d('0xa55')]({'id':_0xe7239[_0x477d('0x1a15')]['id']})['$promise']['then'](function(){_[_0x477d('0x39c')](_0xe7239['items'],{'id':_0xe7239[_0x477d('0x1a15')]['id']});_0x54d1c7[_0x477d('0x485')]({'title':_[_0x477d('0x12e0')](_0xc3baf7)+_0x477d('0x1a26'),'msg':_[_0x477d('0x12e0')](_0xc3baf7)+_0x477d('0xd7e')});_0x53f763();})[_0x477d('0xf8')](function(_0xb280f){console[_0x477d('0x44a')](_0xb280f);_0xe7239[_0x477d('0xd67')]=_0xb280f['data']['errors']||[{'message':_0xb280f['toString'](),'type':_0x477d('0x1a27')}];});},function(){});}function _0x5333e3(){if(_0xe7239[_0x477d('0x1a15')][_0x477d('0x1a28')]!==undefined){return _0xe7239['item']['variableName'];}else{return _0x477d('0x1a29');}};function _0x53f763(){_0x505d0c['hide']();}}}());(function(){'use strict';_0x4308a8[_0x477d('0xa')]=[_0x477d('0x3c4'),_0x477d('0xd64'),_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x40d'),'license',_0x477d('0xc8e'),_0x477d('0x386'),'toasty',_0x477d('0x55'),_0x477d('0x1ab2'),'userProfileSection'];angular['module'](_0x477d('0x38'))[_0x477d('0x3ba')]('FreshsalesAccountController',_0x4308a8);function _0x4308a8(_0x245718,_0x5c7c29,_0x340914,_0x495ef2,_0x35da41,_0x32132a,_0x55a943,_0x57f8b5,_0x46af62,_0x1a2776,_0x19c132,_0x373ccf){var _0x46555=this;_0x46555[_0x477d('0x3e5')]=_0x1a2776[_0x477d('0x5c')]();_0x46555[_0x477d('0x613')]=_0x32132a;_0x46555[_0x477d('0xc8e')]=_0x55a943;_0x46555['passwordPattern']=_0x46555[_0x477d('0xc8e')][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x46555[_0x477d('0x3cc')]=_0x5c7c29[_0x477d('0x3ce')]()+_0x477d('0x1209')+_0x5c7c29['host']();_0x46555[_0x477d('0x1ab2')]=_0x19c132||_0x245718[_0x477d('0x37e')][_0x477d('0x1ab2')]||{};_0x46555['userProfileSection']=_0x373ccf&&_0x373ccf[_0x477d('0x3bb')]==0x1?_0x373ccf['rows'][0x0]:null;_0x46555[_0x477d('0xd66')]=_0x1a2776[_0x477d('0xd81')](_0x46555[_0x477d('0x3ac')]?_0x46555[_0x477d('0x3ac')][_0x477d('0xd66')]:null);_0x46555[_0x477d('0xd68')]={};_0x46555[_0x477d('0xe95')]=_0x245718[_0x477d('0x37e')][_0x477d('0xe96')]||0x0;_0x46555[_0x477d('0x120a')]=_0x46af62[_0x477d('0x669')];_0x46555[_0x477d('0x1ad7')]=_0x412db1;_0x46555[_0x477d('0x1ad8')]=_0x217d69;function _0x412db1(){_0x245718['go'](_0x477d('0x1bd'),{},{'reload':_0x477d('0x1bd')});}function _0x217d69(){_0x57f8b5[_0x477d('0xc5d')][_0x477d('0x710')]({'id':_0x46555[_0x477d('0x1ab2')]['id']},_0x46555[_0x477d('0x1ab2')])[_0x477d('0x38b')][_0x477d('0x76')](function(){_0x46af62[_0x477d('0x485')]({'title':_0x477d('0x1ad9'),'msg':_0x46555[_0x477d('0x1ab2')][_0x477d('0x94')]?_0x46555[_0x477d('0x1ab2')][_0x477d('0x94')]+'\x20has\x20been\x20updated!':''});})['catch'](function(_0x2b3417){_0x46af62['error']({'title':_0x2b3417[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x2b3417['status']+_0x477d('0x44c')+_0x2b3417[_0x477d('0x44d')]:_0x477d('0x1ada'),'msg':_0x2b3417[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x2b3417[_0x477d('0x451')]):_0x2b3417[_0x477d('0x453')]()});});}}}());(function(){'use strict';_0x5de4df[_0x477d('0xa')]=['$scope',_0x477d('0x387'),'$state',_0x477d('0x554'),_0x477d('0x384'),_0x477d('0x475'),'$timeout','$translate',_0x477d('0x1ab1'),_0x477d('0x3a5'),'userProfileSection',_0x477d('0x386'),_0x477d('0x342'),_0x477d('0x40e'),_0x477d('0x55'),_0x477d('0x613'),_0x477d('0xc8e')];angular[_0x477d('0xb')](_0x477d('0x38'))['controller'](_0x477d('0x1adb'),_0x5de4df);function _0x5de4df(_0x346874,_0x4dc325,_0x48cd43,_0x60fb6a,_0x12e6b0,_0x27e641,_0x226290,_0xe04d93,_0x324ee7,_0xc8acd4,_0x47c4d3,_0xf5f7a8,_0x50e6ba,_0x279f00,_0x22486d,_0x50b1da,_0x41ee57){var _0x2ec916=this;_0x2ec916[_0x477d('0x613')]=_0x50b1da;_0x2ec916[_0x477d('0xc8e')]=_0x41ee57;_0x2ec916[_0x477d('0x3e5')]=_0x22486d[_0x477d('0x5c')]();_0x2ec916[_0x477d('0x1ab1')]=_0x324ee7||{'count':0x0,'rows':[]};_0x2ec916[_0x477d('0x3a5')]=_0xc8acd4;_0x2ec916[_0x477d('0x3ac')]=_0x47c4d3&&_0x47c4d3[_0x477d('0x3bb')]==0x1?_0x47c4d3[_0x477d('0xf2')][0x0]:null;_0x2ec916[_0x477d('0xd66')]=_0x22486d['parseCrudPermissions'](_0x2ec916[_0x477d('0x3ac')]?_0x2ec916['userProfileSection'][_0x477d('0xd66')]:null);_0x2ec916['table']=_0x477d('0x1ab1');_0x2ec916[_0x477d('0xd83')]='';_0x2ec916[_0x477d('0xd84')]=null;_0x2ec916[_0x477d('0x1adc')]=[];_0x2ec916[_0x477d('0x3ef')]={'fields':'createdAt,updatedAt,id,name,username,remoteUri,apiKey,serverUrl,description','limit':0xa,'page':0x1};_0x2ec916[_0x477d('0xea6')]=_0x237732;_0x2ec916[_0x477d('0x19d4')]=_0x243474;_0x2ec916[_0x477d('0xd88')]=_0x158810;_0x2ec916[_0x477d('0x485')]=_0x216eb4;_0x2ec916[_0x477d('0x1add')]=_0x40ab56;_0x2ec916[_0x477d('0x1ade')]=_0x56fbdc;_0x2ec916[_0x477d('0x1ab7')]=_0x21a211;_0x2ec916['exportSelectedFreshsalesAccounts']=_0x6a7b65;_0x2ec916[_0x477d('0x1adf')]=_0x3830d6;_0x2ec916[_0x477d('0x1ae0')]=_0x2e9b48;_0x2ec916['selectAllFreshsalesAccounts']=_0x4f1ebc;function _0x237732(_0x5aaf63,_0x5da5cc){_0x48cd43['go'](_0x477d('0x1c2'),{'id':_0x5aaf63['id'],'freshsalesAccount':_0x5aaf63,'crudPermissions':_0x2ec916[_0x477d('0xd66')]});}function _0x243474(_0xa2639e,_0x5a2775){return _0xf5f7a8[_0x477d('0xc5d')][_0x477d('0xe26')]({'id':_0xa2639e['id'],'test':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(){_0x279f00[_0x477d('0x485')]({'title':'FreshsalesAccount\x20properly\x20tested','msg':_0x477d('0xf0a')});})[_0x477d('0xf8')](function(_0x115074){_0x279f00[_0x477d('0x44a')]({'title':_0x477d('0x1ae1'),'msg':_0x115074[_0x477d('0x451')]?_0x115074['data'][_0x477d('0x452')]?_0x115074[_0x477d('0x451')][_0x477d('0x452')]:JSON['stringify'](_0x115074[_0x477d('0x451')]):_0x115074[_0x477d('0x453')]()});});}function _0x158810(_0x17c0f3,_0xe24b14){var _0xb51ce0=_0x12e6b0[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xd90')+_[_0x477d('0xd91')](_0x477d('0x1ab2'))+'?')['htmlContent'](''+(_0x17c0f3[_0x477d('0x94')]||_0x477d('0x1ab2'))+_0x477d('0xd94')+_0x477d('0xd95'))['ariaLabel'](_0x477d('0x1ae2'))['targetEvent'](_0xe24b14)['ok']('OK')['cancel'](_0x477d('0xd97'));_0x12e6b0[_0x477d('0x395')](_0xb51ce0)[_0x477d('0x76')](function(){_0x21a211(_0x17c0f3);},function(){console[_0x477d('0x7b')](_0x477d('0xd97'));});}var _0x2d4e49=!![];var _0x330780=0x1;_0x346874[_0x477d('0x4b5')]('vm.query.filter',function(_0x32af78,_0x5bcf19){if(_0x2d4e49){_0x226290(function(){_0x2d4e49=![];});}else{if(!_0x5bcf19){_0x330780=_0x2ec916[_0x477d('0x3ef')]['page'];}if(_0x32af78!==_0x5bcf19){_0x2ec916[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0x32af78){_0x2ec916['query']['page']=_0x330780;}_0x2ec916[_0x477d('0x1add')]();}});function _0x216eb4(_0x584d9e){_0x2ec916[_0x477d('0x1ab1')]=_0x584d9e||{'count':0x0,'rows':[]};}function _0x40ab56(){_0x2ec916[_0x477d('0x3ef')][_0x477d('0x91c')]=(_0x2ec916[_0x477d('0x3ef')]['page']-0x1)*_0x2ec916[_0x477d('0x3ef')][_0x477d('0x91d')];if(_0x22486d['hasRole'](_0x477d('0x5f'))){_0x2ec916['promise']=_0xf5f7a8[_0x477d('0xc5d')][_0x477d('0x376')](_0x2ec916[_0x477d('0x3ef')],_0x216eb4)[_0x477d('0x38b')];}else{_0x2ec916['query']['id']=_0x2ec916[_0x477d('0x3a5')]['id'];_0x2ec916[_0x477d('0x3ef')][_0x477d('0xd99')]=_0x477d('0x1c1');_0x2ec916[_0x477d('0x553')]=_0xf5f7a8[_0x477d('0x3a5')][_0x477d('0xd9a')](_0x2ec916[_0x477d('0x3ef')],_0x216eb4)[_0x477d('0x38b')];}}function _0x56fbdc(_0x30cf8b,_0x116c57){_0x12e6b0['show']({'controller':_0x477d('0x1ae3'),'controllerAs':'vm','templateUrl':_0x477d('0x1ae4'),'parent':angular[_0x477d('0x398')](_0x27e641['body']),'targetEvent':_0x30cf8b,'clickOutsideToClose':!![],'locals':{'freshsalesAccount':_0x116c57,'freshsalesAccounts':_0x2ec916[_0x477d('0x1ab1')][_0x477d('0xf2')],'license':_0x2ec916[_0x477d('0x613')],'setting':_0x2ec916['setting'],'crudPermissions':_0x2ec916[_0x477d('0xd66')]}});}function _0x21a211(_0x66735){_0xf5f7a8[_0x477d('0xc5d')]['delete']({'id':_0x66735['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x2ec916[_0x477d('0x1ab1')]['rows'],{'id':_0x66735['id']});_0x2ec916[_0x477d('0x1ab1')]['count']-=0x1;if(!_0x2ec916[_0x477d('0x1ab1')][_0x477d('0xf2')][_0x477d('0x79')]){_0x2ec916[_0x477d('0x1add')]();}_0x279f00['success']({'title':_[_0x477d('0xd91')](_0x477d('0x1ae5'))+_0x477d('0xd9d'),'msg':_0x66735[_0x477d('0x94')]?_0x66735[_0x477d('0x94')]+'\x20has\x20been\x20deleted!':''});})[_0x477d('0xf8')](function(_0x1327cc){if(_0x1327cc[_0x477d('0x451')]&&_0x1327cc[_0x477d('0x451')][_0x477d('0xd67')]&&_0x1327cc[_0x477d('0x451')][_0x477d('0xd67')]['length']){_0x2ec916[_0x477d('0xd67')]=_0x1327cc['data'][_0x477d('0xd67')]||[{'message':_0x1327cc[_0x477d('0x453')](),'type':_0x477d('0x1ae6')}];for(var _0x4cacbd=0x0;_0x4cacbd<_0x1327cc[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x4cacbd++){_0x279f00[_0x477d('0x44a')]({'title':_0x1327cc[_0x477d('0x451')][_0x477d('0xd67')][_0x4cacbd][_0x477d('0x439')],'msg':_0x1327cc[_0x477d('0x451')][_0x477d('0xd67')][_0x4cacbd][_0x477d('0x452')]});}}else{_0x279f00[_0x477d('0x44a')]({'title':_0x1327cc[_0x477d('0x3c3')]?'API:'+_0x1327cc[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x1327cc[_0x477d('0x44d')]:_0x477d('0x1ae6'),'msg':_0x1327cc['data']?JSON['stringify'](_0x1327cc[_0x477d('0x451')][_0x477d('0x452')]):_0x1327cc[_0x477d('0x452')]||_0x1327cc[_0x477d('0x453')]()});}});}function _0x6a7b65(){var _0x11d389=angular[_0x477d('0x6d9')](_0x2ec916[_0x477d('0x1adc')]);_0x2ec916[_0x477d('0x1adc')]=[];return _0x11d389;}function _0x3830d6(_0x3de419){var _0x4c71c9=_0x12e6b0[_0x477d('0xd78')]()['title'](_0x477d('0x1ae7'))[_0x477d('0xd92')](''+_0x2ec916['selectedFreshsalesAccounts'][_0x477d('0x79')]+'\x20selected'+'\x20will\x20be\x20deleted.')[_0x477d('0x687')](_0x477d('0x1ae8'))[_0x477d('0xd7c')](_0x3de419)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x12e6b0[_0x477d('0x395')](_0x4c71c9)['then'](function(){_0x2ec916[_0x477d('0x1adc')][_0x477d('0x3b1')](function(_0x280292){_0x21a211(_0x280292);});_0x2ec916[_0x477d('0x1adc')]=[];});}function _0x2e9b48(){_0x2ec916['selectedFreshsalesAccounts']=[];}function _0x4f1ebc(){_0x2ec916['selectedFreshsalesAccounts']=_0x2ec916[_0x477d('0x1ab1')]['rows'];}}}());(function(){'use strict';_0x3184a3[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x3c4'),'$location',_0x477d('0x384'),'$q',_0x477d('0x40d'),_0x477d('0x40e'),'salesforceAccounts',_0x477d('0x1ae9'),_0x477d('0x386'),_0x477d('0x55'),_0x477d('0x613'),_0x477d('0xc8e'),_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x38'))[_0x477d('0x3ba')]('CreateOrEditSalesforceAccountDialogController',_0x3184a3);function _0x3184a3(_0xa7ed10,_0x3a36ca,_0x1e9fa4,_0x3c3d20,_0x3be103,_0x6647f7,_0x18cb42,_0x3ff132,_0x3f62bd,_0x4c5ae1,_0x49d65a,_0x4bcca0,_0x5c4091,_0x812616){var _0x38f61f=this;_0x38f61f[_0x477d('0x3e5')]=_0x49d65a[_0x477d('0x5c')]();_0x38f61f[_0x477d('0xd67')]=[];_0x38f61f[_0x477d('0xc8e')]=_0x5c4091;_0x38f61f[_0x477d('0x613')]=_0x4bcca0;_0x38f61f[_0x477d('0xd66')]=_0x812616;_0x38f61f[_0x477d('0xd68')]={};_0x38f61f['passwordPattern']=_0x38f61f[_0x477d('0xc8e')]&&_0x38f61f[_0x477d('0xc8e')][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x38f61f[_0x477d('0x49a')]=_0x477d('0x1aea');_0x38f61f[_0x477d('0x1ae9')]=angular[_0x477d('0x6d9')](_0x3f62bd);_0x38f61f[_0x477d('0x1aeb')]=_0x3ff132;_0x38f61f[_0x477d('0x1aec')]=![];if(!_0x38f61f[_0x477d('0x1ae9')]){_0x38f61f['salesforceAccount']={'type':_0x477d('0x19c2'),'serverUrl':_0x1e9fa4[_0x477d('0x3ce')]()+_0x477d('0x1209')+_0x1e9fa4[_0x477d('0x3c9')]()+(_0x1e9fa4[_0x477d('0x3cf')]()?':'+_0x1e9fa4[_0x477d('0x3cf')]():'')};_0x38f61f[_0x477d('0x49a')]=_0x477d('0x1aed');_0x38f61f['newSalesforceAccount']=!![];}_0x38f61f[_0x477d('0x1aee')]=_0x391939;_0x38f61f['saveSalesforceAccount']=_0x507138;_0x38f61f['deleteSalesforceAccount']=_0x5d68f4;_0x38f61f[_0x477d('0xd6f')]=_0xaca1b6;_0x38f61f[_0x477d('0x6bf')]=_0x31524d;function _0x391939(){_0x38f61f[_0x477d('0xd67')]=[];_0x4c5ae1[_0x477d('0xbdd')][_0x477d('0xd70')](_0x38f61f[_0x477d('0x1ae9')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x159252){_0x38f61f[_0x477d('0x1aeb')][_0x477d('0x63b')](_0x159252[_0x477d('0xd71')]());_0x18cb42['success']({'title':'SalesforceAccount\x20properly\x20created','msg':_0x38f61f[_0x477d('0x1ae9')][_0x477d('0x94')]?_0x38f61f[_0x477d('0x1ae9')][_0x477d('0x94')]+'\x20has\x20been\x20created!':''});_0x31524d(_0x159252);})[_0x477d('0xf8')](function(_0x449d43){if(_0x449d43[_0x477d('0x451')]&&_0x449d43[_0x477d('0x451')][_0x477d('0xd67')]&&_0x449d43[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x38f61f['errors']=_0x449d43[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x449d43[_0x477d('0x453')](),'type':_0x477d('0x1aef')}];for(var _0x538144=0x0;_0x538144<_0x449d43[_0x477d('0x451')][_0x477d('0xd67')]['length'];_0x538144+=0x1){_0x18cb42[_0x477d('0x44a')]({'title':_0x449d43['data'][_0x477d('0xd67')][_0x538144][_0x477d('0x439')],'msg':_0x449d43[_0x477d('0x451')][_0x477d('0xd67')][_0x538144][_0x477d('0x452')]});}}else{_0x18cb42[_0x477d('0x44a')]({'title':_0x449d43[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x449d43[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x449d43[_0x477d('0x44d')]:_0x477d('0x1aef'),'msg':_0x449d43[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x449d43[_0x477d('0x451')]['message']):_0x449d43[_0x477d('0x453')]()});}});}function _0x507138(){_0x38f61f['errors']=[];_0x4c5ae1[_0x477d('0xbdd')][_0x477d('0x710')]({'id':_0x38f61f['salesforceAccount']['id']},_0x38f61f[_0x477d('0x1ae9')])[_0x477d('0x38b')]['then'](function(_0x5380be){var _0xfd75d=_['find'](_0x38f61f['salesforceAccounts'],{'id':_0x5380be['id']});if(_0xfd75d){_[_0x477d('0xef')](_0xfd75d,_[_0x477d('0x10b')](_0x5380be[_0x477d('0xd71')](),_['keys'](_0xfd75d)));}_0x18cb42[_0x477d('0x485')]({'title':'SalesforceAccount\x20properly\x20saved!','msg':_0x38f61f[_0x477d('0x1ae9')]['name']?_0x38f61f[_0x477d('0x1ae9')][_0x477d('0x94')]+_0x477d('0xd76'):''});_0x31524d(_0x5380be);})[_0x477d('0xf8')](function(_0x40ffb0){if(_0x40ffb0[_0x477d('0x451')]&&_0x40ffb0[_0x477d('0x451')][_0x477d('0xd67')]&&_0x40ffb0[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x38f61f['errors']=_0x40ffb0[_0x477d('0x451')]['errors']||[{'message':_0x40ffb0[_0x477d('0x453')](),'type':'api.intSalesforceAccount.update'}];for(var _0x2e4680=0x0;_0x2e4680<_0x40ffb0[_0x477d('0x451')]['errors']['length'];_0x2e4680++){_0x18cb42[_0x477d('0x44a')]({'title':_0x40ffb0['data']['errors'][_0x2e4680][_0x477d('0x439')],'msg':_0x40ffb0['data'][_0x477d('0xd67')][_0x2e4680][_0x477d('0x452')]});}}else{_0x18cb42['error']({'title':_0x40ffb0[_0x477d('0x3c3')]?'API:'+_0x40ffb0[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x40ffb0[_0x477d('0x44d')]:_0x477d('0x1af0'),'msg':_0x40ffb0[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x40ffb0['data'][_0x477d('0x452')]):_0x40ffb0[_0x477d('0x453')]()});}});}function _0x5d68f4(_0x329b2e){_0x38f61f[_0x477d('0xd67')]=[];var _0x34cd63=_0x3c3d20[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xd79'))['content'](_0x477d('0x1af1'))[_0x477d('0x687')](_0x477d('0x1af2'))['ok'](_0x477d('0xd7b'))[_0x477d('0x4f0')](_0x477d('0x688'))[_0x477d('0xd7c')](_0x329b2e);_0x3c3d20[_0x477d('0x395')](_0x34cd63)['then'](function(){_0x4c5ae1[_0x477d('0xbdd')][_0x477d('0xa55')]({'id':_0x38f61f[_0x477d('0x1ae9')]['id']})['$promise']['then'](function(){_['remove'](_0x38f61f[_0x477d('0x1aeb')],{'id':_0x38f61f['salesforceAccount']['id']});_0x18cb42[_0x477d('0x485')]({'title':'SalesforceAccount\x20properly\x20deleted!','msg':(_0x38f61f['salesforceAccount']['name']||'salesforceAccount')+_0x477d('0xd7e')});_0x31524d(_0x38f61f[_0x477d('0x1ae9')]);})[_0x477d('0xf8')](function(_0x282b11){if(_0x282b11[_0x477d('0x451')]&&_0x282b11[_0x477d('0x451')][_0x477d('0xd67')]&&_0x282b11[_0x477d('0x451')][_0x477d('0xd67')]['length']){_0x38f61f['errors']=_0x282b11['data'][_0x477d('0xd67')]||[{'message':_0x282b11[_0x477d('0x453')](),'type':_0x477d('0x1af3')}];for(var _0x149ba8=0x0;_0x149ba8<_0x282b11[_0x477d('0x451')]['errors'][_0x477d('0x79')];_0x149ba8++){_0x18cb42[_0x477d('0x44a')]({'title':_0x282b11['data']['errors'][_0x149ba8][_0x477d('0x439')],'msg':_0x282b11[_0x477d('0x451')][_0x477d('0xd67')][_0x149ba8][_0x477d('0x452')]});}}else{_0x18cb42[_0x477d('0x44a')]({'title':_0x282b11[_0x477d('0x3c3')]?'API:'+_0x282b11[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x282b11[_0x477d('0x44d')]:'api.intSalesforceAccount.delete','msg':_0x282b11[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x282b11[_0x477d('0x451')]['message']):_0x282b11[_0x477d('0x452')]||_0x282b11[_0x477d('0x453')]()});}});},function(){});}function _0xaca1b6(_0x3225cf){return _0x3225cf===null?undefined:new Date(_0x3225cf);}function _0x31524d(_0x20ad43){_0x3c3d20[_0x477d('0x3bc')](_0x20ad43);}}}());(function(){'use strict';_0x1468d1[_0x477d('0xa')]=['$mdDialog',_0x477d('0x475'),_0x477d('0x386'),'toasty',_0x477d('0x55')];angular['module']('app.integrations')['controller'](_0x477d('0x1af4'),_0x1468d1);function _0x1468d1(_0x29ffb5,_0x2b6d7d,_0x275bae,_0x4f5e65,_0x3951eb){var _0x5b3aea=this;_0x5b3aea['currentUser']=_0x3951eb['getCurrentUser']();_0x5b3aea[_0x477d('0x1ae9')]={};_0x5b3aea['salesforceConfiguration']={};_0x5b3aea[_0x477d('0x19df')]=[];_0x5b3aea['selectedSalesforceConfiguration']=-0x1;_0x5b3aea[_0x477d('0xd66')];_0x5b3aea[_0x477d('0x5ee')]=_0x5d79ea;_0x5b3aea[_0x477d('0x1af5')]=_0x5b9e3c;_0x5b3aea[_0x477d('0x1af6')]=_0x5eb921;_0x5b3aea[_0x477d('0x1af7')]=_0x43259a;_0x5b3aea['selectChangedAdvanced']=_0x2e0819;function _0x2e0819(){return _0x275bae['intSalesforceConfiguration'][_0x477d('0x710')]({'id':_0x5b3aea[_0x477d('0x1af8')]['id']},_0x5b3aea[_0x477d('0x1af8')])['$promise'][_0x477d('0x76')](function(){_0x4f5e65[_0x477d('0x485')]({'title':_0x477d('0x1af9'),'msg':'Module\x20has\x20been\x20updated!'});})[_0x477d('0xf8')](function(_0x8373f3){_0x4f5e65[_0x477d('0x44a')]({'title':_0x8373f3[_0x477d('0x3c3')]?'API:'+_0x8373f3[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x8373f3[_0x477d('0x44d')]:'SYSTEM:UPDATECONFIGURATIONFIELD','msg':_0x8373f3[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x8373f3[_0x477d('0x451')]):_0x8373f3['toString']()});});};function _0x5d79ea(_0xbb68ee,_0x187ffc){_0x5b3aea[_0x477d('0x1ae9')]=_0xbb68ee;_0x5b3aea[_0x477d('0xd66')]=typeof _0x187ffc!=='undefined'?_0x187ffc:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x275bae[_0x477d('0xbdd')][_0x477d('0x19e9')]({'id':_0x5b3aea[_0x477d('0x1ae9')]['id'],'sort':_0x477d('0x59')})['$promise'][_0x477d('0x76')](function(_0x30b1fd){_0x5b3aea[_0x477d('0x19df')]=_0x30b1fd['rows']?_0x30b1fd[_0x477d('0xf2')]:[];if(_0x5b3aea['configurations'][_0x477d('0x79')]){_0x5b3aea[_0x477d('0x1af5')](0x0);}return _0x275bae[_0x477d('0xbb9')]['get']({'nolimit':!![],'sort':_0x477d('0x94')})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x34df50){_0x5b3aea[_0x477d('0xf31')]=_0x34df50[_0x477d('0xf2')]?_0x34df50[_0x477d('0xf2')]:[];_0x5b3aea[_0x477d('0x1a4e')]=_[_0x477d('0xdb5')](_0x5b3aea['variables'],'id');})[_0x477d('0xf8')](function(_0xdd913b){_0x4f5e65[_0x477d('0x44a')]({'title':_0xdd913b[_0x477d('0x3c3')]?'API:'+_0xdd913b[_0x477d('0x3c3')]+_0x477d('0x44c')+_0xdd913b[_0x477d('0x44d')]:_0x477d('0x19ea'),'msg':_0xdd913b['data']?JSON[_0x477d('0x3fb')](_0xdd913b[_0x477d('0x451')]):_0xdd913b[_0x477d('0x453')]()});});}function _0x5b9e3c(_0x50993f){_0x5b3aea[_0x477d('0x1af8')]=_0x5b3aea['configurations'][_0x50993f];_0x5b3aea['selectedSalesforceConfiguration']=_0x50993f;_0x275bae['intSalesforceConfiguration']['getSubjects']({'id':_0x5b3aea[_0x477d('0x1af8')]['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x38297c){_0x5b3aea['subjects']=_0x38297c[_0x477d('0xf2')]?_0x38297c[_0x477d('0xf2')]:[];return _0x275bae['intSalesforceConfiguration'][_0x477d('0x1a4f')]({'id':_0x5b3aea['salesforceConfiguration']['id']})[_0x477d('0x38b')];})['then'](function(_0x40c083){_0x5b3aea[_0x477d('0x19ed')]=_0x40c083[_0x477d('0xf2')]?_0x40c083['rows']:[];return _0x275bae[_0x477d('0xbe1')][_0x477d('0xe26')]({'id':_0x5b3aea[_0x477d('0x1af8')]['id']})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x328477){_0x5b3aea['fields']=_0x328477[_0x477d('0xf2')]?_0x328477[_0x477d('0xf2')]:[];})['catch'](function(_0x3f3f6d){_0x4f5e65[_0x477d('0x44a')]({'title':_0x3f3f6d[_0x477d('0x3c3')]?'API:'+_0x3f3f6d[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x3f3f6d['statusText']:_0x477d('0x19ee'),'msg':_0x3f3f6d[_0x477d('0x451')]?JSON['stringify'](_0x3f3f6d[_0x477d('0x451')]):_0x3f3f6d[_0x477d('0x453')]()});});}function _0x5eb921(_0x49105f,_0x570461){_0x29ffb5[_0x477d('0x395')]({'controller':_0x477d('0x1afa'),'controllerAs':'vm','templateUrl':_0x477d('0x1afb'),'parent':angular[_0x477d('0x398')](_0x2b6d7d[_0x477d('0x399')]),'targetEvent':_0x49105f,'clickOutsideToClose':!![],'locals':{'salesforceConfiguration':_0x570461,'configurations':_0x5b3aea[_0x477d('0x19df')],'license':null,'setting':null,'crudPermissions':_0x5b3aea[_0x477d('0xd66')]}})[_0x477d('0x5ff')](function(){_0x5b3aea[_0x477d('0x1af5')](0x0);});}function _0x43259a(_0x195a3f,_0xf73adb){var _0x33055a=_0x29ffb5['confirm']()[_0x477d('0x49a')](_0x477d('0x1afc'))[_0x477d('0xd92')](_0x477d('0xd93')+(_0xf73adb['name']||'salesforceConfiguration')+_0x477d('0xd94')+_0x477d('0xd95'))[_0x477d('0x687')]('delete\x20salesforceConfiguration')[_0x477d('0xd7c')](_0x195a3f)['ok']('OK')['cancel'](_0x477d('0xd97'));_0x29ffb5[_0x477d('0x395')](_0x33055a)[_0x477d('0x76')](function(){_0x275bae[_0x477d('0xbe1')][_0x477d('0xa55')]({'id':_0xf73adb['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x5b3aea['configurations'],{'id':_0xf73adb['id']});_0x4f5e65[_0x477d('0x485')]({'title':_0x477d('0x1afd'),'msg':_0xf73adb[_0x477d('0x94')]?_0xf73adb[_0x477d('0x94')]+_0x477d('0xd7e'):''});})[_0x477d('0xf8')](function(_0x2492c2){_0x4f5e65[_0x477d('0x44a')]({'title':_0x2492c2['status']?_0x477d('0x44b')+_0x2492c2[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x2492c2['statusText']:_0x477d('0x19f1'),'msg':_0x2492c2['data']?JSON[_0x477d('0x3fb')](_0x2492c2[_0x477d('0x451')]):_0x2492c2[_0x477d('0x453')]()});})[_0x477d('0x5ff')](function(){_0x5b3aea[_0x477d('0x1af5')](0x0);});},function(){console['log'](_0x477d('0xd97'));});}_0x5b3aea[_0x477d('0x19fa')]=[];_0x5b3aea[_0x477d('0x19f2')]=_0x437069;_0x5b3aea[_0x477d('0x19f3')]=_0x2d5ea8;_0x5b3aea[_0x477d('0x19f4')]=_0x5a4553;function _0x437069(_0x233493,_0xe3e1b7){_0x29ffb5[_0x477d('0x395')]({'controller':_0x477d('0x1afe'),'controllerAs':'vm','templateUrl':'app/main/apps/integrations/views/salesforceAccounts/edit/item/dialog.html','parent':angular[_0x477d('0x398')](_0x2b6d7d[_0x477d('0x399')]),'targetEvent':_0x233493,'clickOutsideToClose':!![],'locals':{'type':_0x477d('0x135c'),'item':_0xe3e1b7,'items':_0x5b3aea[_0x477d('0x19ec')],'configuration':_0x5b3aea[_0x477d('0x1af8')],'account':_0x5b3aea['salesforceAccount'],'license':null,'setting':null,'crudPermissions':_0x5b3aea[_0x477d('0xd66')]}});}function _0x3d4bdc(_0x177c1b){_0x275bae[_0x477d('0xbe8')][_0x477d('0xa55')]({'id':_0x177c1b['id']})['$promise'][_0x477d('0x76')](function(){_['remove'](_0x5b3aea[_0x477d('0x19ec')],{'id':_0x177c1b['id']});_0x4f5e65[_0x477d('0x485')]({'title':_0x477d('0x19f6'),'msg':_0x477d('0x19f7')});})[_0x477d('0xf8')](function(_0x48ebbd){_0x4f5e65['error']({'title':_0x48ebbd[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x48ebbd['status']+_0x477d('0x44c')+_0x48ebbd['statusText']:_0x477d('0x19f8'),'msg':_0x48ebbd[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x48ebbd['data']):_0x48ebbd[_0x477d('0x453')]()});});}function _0x2d5ea8(_0x3d3d43,_0x3c813b){var _0x1836de=_0x29ffb5[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x1a8c'))[_0x477d('0xd92')]('Subject'+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x1a56'))[_0x477d('0xd7c')](_0x3d3d43)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x29ffb5['show'](_0x1836de)['then'](function(){_0x3d4bdc(_0x3c813b);},function(){console[_0x477d('0x7b')](_0x477d('0xd97'));});}function _0x5a4553(_0xdbfb6a){var _0x1a7de0=_0x29ffb5['confirm']()[_0x477d('0x49a')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20subjects?')[_0x477d('0xd92')](_0x477d('0xd93')+_0x5b3aea[_0x477d('0x19fa')][_0x477d('0x79')]+_0x477d('0xda0')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x19fb'))[_0x477d('0xd7c')](_0xdbfb6a)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x29ffb5['show'](_0x1a7de0)[_0x477d('0x76')](function(){_0x5b3aea[_0x477d('0x19fa')][_0x477d('0x3b1')](function(_0x596da6){_0x3d4bdc(_0x596da6);});_0x5b3aea[_0x477d('0x19fa')]=[];});}_0x5b3aea[_0x477d('0x19fc')]=[];_0x5b3aea[_0x477d('0x19fd')]=_0x4d26a5;_0x5b3aea[_0x477d('0x19fe')]=_0x25ed70;_0x5b3aea['deleteSelectedDescriptions']=_0x51fc95;function _0x4d26a5(_0x5233f8,_0xfc3f38){_0x29ffb5['show']({'controller':_0x477d('0x1afe'),'controllerAs':'vm','templateUrl':'app/main/apps/integrations/views/salesforceAccounts/edit/item/dialog.html','parent':angular['element'](_0x2b6d7d[_0x477d('0x399')]),'targetEvent':_0x5233f8,'clickOutsideToClose':!![],'locals':{'type':'description','item':_0xfc3f38,'items':_0x5b3aea[_0x477d('0x19ed')],'configuration':_0x5b3aea[_0x477d('0x1af8')],'account':_0x5b3aea[_0x477d('0x1ae9')],'license':null,'setting':null,'crudPermissions':_0x5b3aea[_0x477d('0xd66')]}});}function _0x3def4e(_0xc8564a){_0x275bae['intSalesforceField']['delete']({'id':_0xc8564a['id']})['$promise'][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x5b3aea['descriptions'],{'id':_0xc8564a['id']});_0x4f5e65[_0x477d('0x485')]({'title':_0x477d('0x1a5a'),'msg':_0x477d('0x19ff')});})[_0x477d('0xf8')](function(_0x4a1129){_0x4f5e65['error']({'title':_0x4a1129[_0x477d('0x3c3')]?'API:'+_0x4a1129['status']+_0x477d('0x44c')+_0x4a1129[_0x477d('0x44d')]:_0x477d('0x19f8'),'msg':_0x4a1129['data']?JSON['stringify'](_0x4a1129['data']):_0x4a1129['toString']()});});}function _0x25ed70(_0x2e10ac,_0x3dabee){var _0x518370=_0x29ffb5['confirm']()['title'](_0x477d('0x1a00'))['htmlContent'](_0x477d('0x1a01')+'\x20will\x20be\x20deleted.')[_0x477d('0x687')](_0x477d('0x1a02'))[_0x477d('0xd7c')](_0x2e10ac)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x29ffb5[_0x477d('0x395')](_0x518370)[_0x477d('0x76')](function(){_0x3def4e(_0x3dabee);},function(){console[_0x477d('0x7b')](_0x477d('0xd97'));});}function _0x51fc95(_0xd48a35){var _0x47dc54=_0x29ffb5[_0x477d('0xd78')]()['title'](_0x477d('0x1a03'))['htmlContent'](_0x477d('0xd93')+_0x5b3aea[_0x477d('0x19fc')][_0x477d('0x79')]+_0x477d('0xda0')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x1a04'))[_0x477d('0xd7c')](_0xd48a35)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x29ffb5[_0x477d('0x395')](_0x47dc54)[_0x477d('0x76')](function(){_0x5b3aea[_0x477d('0x19fc')][_0x477d('0x3b1')](function(_0x5dad8f){_0x3def4e(_0x5dad8f);});_0x5b3aea[_0x477d('0x19fc')]=[];});}_0x5b3aea[_0x477d('0x1a08')]=[];_0x5b3aea[_0x477d('0x1a05')]=_0x1eecc4;_0x5b3aea[_0x477d('0x1a8f')]=_0x9ec3d4;_0x5b3aea[_0x477d('0x1a06')]=_0x5d5b2d;function _0x1eecc4(_0x5ae39d,_0x2c697a){_0x29ffb5[_0x477d('0x395')]({'controller':_0x477d('0x1afe'),'controllerAs':'vm','templateUrl':'app/main/apps/integrations/views/salesforceAccounts/edit/item/dialog.html','parent':angular[_0x477d('0x398')](_0x2b6d7d[_0x477d('0x399')]),'targetEvent':_0x5ae39d,'clickOutsideToClose':!![],'locals':{'type':_0x477d('0x463'),'item':_0x2c697a,'items':_0x5b3aea[_0x477d('0x458')],'configuration':_0x5b3aea[_0x477d('0x1af8')],'account':_0x5b3aea[_0x477d('0x1ae9')],'license':null,'setting':null,'crudPermissions':_0x5b3aea['crudPermissions']}});}function _0x17ace8(_0x4386c5){_0x275bae[_0x477d('0xbe8')][_0x477d('0xa55')]({'id':_0x4386c5['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x5b3aea[_0x477d('0x458')],{'id':_0x4386c5['id']});_0x4f5e65[_0x477d('0x485')]({'title':'Field\x20deleted!','msg':_0x477d('0x1a90')});})['catch'](function(_0x411c9e){_0x4f5e65[_0x477d('0x44a')]({'title':_0x411c9e[_0x477d('0x3c3')]?'API:'+_0x411c9e[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x411c9e['statusText']:_0x477d('0x19f8'),'msg':_0x411c9e[_0x477d('0x451')]?JSON['stringify'](_0x411c9e['data']):_0x411c9e[_0x477d('0x453')]()});});}function _0x9ec3d4(_0x2a7882,_0x4e33f1){var _0x545ce7=_0x29ffb5[_0x477d('0xd78')]()[_0x477d('0x49a')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20field?')[_0x477d('0xd92')](_0x477d('0x1a5b')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x1a91'))[_0x477d('0xd7c')](_0x2a7882)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x29ffb5[_0x477d('0x395')](_0x545ce7)['then'](function(){_0x17ace8(_0x4e33f1);},function(){console['log']('CANCEL');});}function _0x5d5b2d(_0x21123e){var _0x5c4398=_0x29ffb5[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xe72'))[_0x477d('0xd92')](_0x477d('0xd93')+_0x5b3aea[_0x477d('0x1a08')][_0x477d('0x79')]+_0x477d('0xda0')+'\x20will\x20be\x20deleted.')[_0x477d('0x687')]('delete\x20fields')[_0x477d('0xd7c')](_0x21123e)['ok']('OK')['cancel'](_0x477d('0xd97'));_0x29ffb5[_0x477d('0x395')](_0x5c4398)[_0x477d('0x76')](function(){_0x5b3aea[_0x477d('0x1a08')][_0x477d('0x3b1')](function(_0x6075a){_0x17ace8(_0x6075a);});_0x5b3aea['selectedFields']=[];});}}}());(function(){'use strict';_0x1a82e3[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x3c4'),_0x477d('0xd64'),_0x477d('0x384'),'$q',_0x477d('0x40d'),_0x477d('0x40e'),_0x477d('0x19df'),_0x477d('0x1af8'),_0x477d('0x386'),_0x477d('0x55'),_0x477d('0x613'),_0x477d('0xc8e'),_0x477d('0xd66')];angular['module'](_0x477d('0x38'))['controller'](_0x477d('0x1afa'),_0x1a82e3);function _0x1a82e3(_0x47ef78,_0x55ac2d,_0x282afa,_0x2288be,_0x496861,_0x1a1203,_0xd9274c,_0x6ff28,_0x5c7772,_0x504939,_0x357728,_0x43e077,_0x4d2c2d,_0x4a83ac){var _0x2611ee=this;_0x2611ee[_0x477d('0x3e5')]=_0x357728[_0x477d('0x5c')]();_0x2611ee[_0x477d('0xd67')]=[];_0x2611ee[_0x477d('0xc8e')]=_0x4d2c2d;_0x2611ee[_0x477d('0x613')]=_0x43e077;_0x2611ee[_0x477d('0xd66')]=_0x4a83ac;_0x2611ee[_0x477d('0xd68')]={};_0x2611ee[_0x477d('0xd69')]=_0x2611ee['setting']&&_0x2611ee[_0x477d('0xc8e')]['securePassword']?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x2611ee[_0x477d('0x49a')]='INTEGRATIONS.EDIT_SALESFORCECONFIGURATION';_0x2611ee['salesforceConfiguration']=angular[_0x477d('0x6d9')](_0x5c7772);_0x2611ee['configurations']=_0x6ff28;_0x2611ee[_0x477d('0x1aff')]=![];if(!_0x2611ee[_0x477d('0x1af8')]){_0x2611ee['salesforceConfiguration']={'channel':'voice','type':'inbound','ticketType':_0x477d('0x1b00')};_0x2611ee[_0x477d('0x49a')]=_0x477d('0x1b01');_0x2611ee['newSalesforceConfiguration']=!![];}_0x2611ee[_0x477d('0x1b02')]=_0x37dd67;_0x2611ee[_0x477d('0x1b03')]=_0x54e7eb;_0x2611ee[_0x477d('0x1af7')]=_0x3713a6;_0x2611ee[_0x477d('0xd6f')]=_0x305ec4;_0x2611ee['closeDialog']=_0x4aecaa;function _0x37dd67(){_0x2611ee['errors']=[];_0x504939['intSalesforceAccount']['addConfiguration']({'id':_0x55ac2d[_0x477d('0x37e')]['id']},_0x2611ee['salesforceConfiguration'])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x5b516e){_0x2611ee[_0x477d('0x19df')][_0x477d('0x63b')](_0x5b516e[_0x477d('0xd71')]());_0xd9274c['success']({'title':_0x477d('0x1b04'),'msg':_0x2611ee[_0x477d('0x1af8')][_0x477d('0x94')]?_0x2611ee[_0x477d('0x1af8')][_0x477d('0x94')]+_0x477d('0xd73'):''});_0x4aecaa(_0x5b516e);})['catch'](function(_0x26d7c5){if(_0x26d7c5[_0x477d('0x451')]&&_0x26d7c5[_0x477d('0x451')][_0x477d('0xd67')]&&_0x26d7c5[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x2611ee['errors']=_0x26d7c5[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x26d7c5[_0x477d('0x453')](),'type':_0x477d('0x1b05')}];for(var _0x6fa518=0x0;_0x6fa518<_0x26d7c5[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x6fa518+=0x1){_0xd9274c[_0x477d('0x44a')]({'title':_0x26d7c5['data'][_0x477d('0xd67')][_0x6fa518][_0x477d('0x439')],'msg':_0x26d7c5[_0x477d('0x451')][_0x477d('0xd67')][_0x6fa518][_0x477d('0x452')]});}}else{_0xd9274c[_0x477d('0x44a')]({'title':_0x26d7c5[_0x477d('0x3c3')]?'API:'+_0x26d7c5[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x26d7c5['statusText']:_0x477d('0x1b05'),'msg':_0x26d7c5['data']?JSON['stringify'](_0x26d7c5['data'][_0x477d('0x452')]):_0x26d7c5[_0x477d('0x453')]()});}});}function _0x54e7eb(){_0x2611ee[_0x477d('0xd67')]=[];_0x504939['intSalesforceConfiguration'][_0x477d('0x710')]({'id':_0x2611ee['salesforceConfiguration']['id']},_0x2611ee[_0x477d('0x1af8')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x5e393e){var _0x1c520a=_['find'](_0x2611ee[_0x477d('0x19df')],{'id':_0x5e393e['id']});if(_0x1c520a){_[_0x477d('0xef')](_0x1c520a,_[_0x477d('0x10b')](_0x5e393e[_0x477d('0xd71')](),_[_0x477d('0x7f')](_0x1c520a)));}_0xd9274c[_0x477d('0x485')]({'title':_0x477d('0x1b06'),'msg':_0x2611ee[_0x477d('0x1af8')][_0x477d('0x94')]?_0x2611ee[_0x477d('0x1af8')][_0x477d('0x94')]+'\x20has\x20been\x20saved!':''});_0x4aecaa(_0x5e393e);})[_0x477d('0xf8')](function(_0x57def0){if(_0x57def0[_0x477d('0x451')]&&_0x57def0[_0x477d('0x451')][_0x477d('0xd67')]&&_0x57def0[_0x477d('0x451')][_0x477d('0xd67')]['length']){_0x2611ee[_0x477d('0xd67')]=_0x57def0[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x57def0[_0x477d('0x453')](),'type':_0x477d('0x1b07')}];for(var _0x31d7f6=0x0;_0x31d7f6<_0x57def0[_0x477d('0x451')][_0x477d('0xd67')]['length'];_0x31d7f6++){_0xd9274c[_0x477d('0x44a')]({'title':_0x57def0[_0x477d('0x451')][_0x477d('0xd67')][_0x31d7f6][_0x477d('0x439')],'msg':_0x57def0[_0x477d('0x451')][_0x477d('0xd67')][_0x31d7f6][_0x477d('0x452')]});}}else{_0xd9274c[_0x477d('0x44a')]({'title':_0x57def0[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x57def0[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x57def0['statusText']:'api.intSalesforceConfiguration.update','msg':_0x57def0[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x57def0['data'][_0x477d('0x452')]):_0x57def0[_0x477d('0x453')]()});}});}function _0x3713a6(_0x510a61){_0x2611ee[_0x477d('0xd67')]=[];var _0x590cf2=_0x2288be[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xd79'))[_0x477d('0xdaf')](_0x477d('0x1b08'))['ariaLabel']('Delete\x20SalesforceConfiguration')['ok'](_0x477d('0xd7b'))[_0x477d('0x4f0')](_0x477d('0x688'))[_0x477d('0xd7c')](_0x510a61);_0x2288be['show'](_0x590cf2)[_0x477d('0x76')](function(){_0x504939[_0x477d('0xbe1')][_0x477d('0xa55')]({'id':_0x2611ee[_0x477d('0x1af8')]['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x2611ee['configurations'],{'id':_0x2611ee['salesforceConfiguration']['id']});_0xd9274c[_0x477d('0x485')]({'title':_0x477d('0x1b09'),'msg':(_0x2611ee[_0x477d('0x1af8')]['name']||_0x477d('0x1af8'))+_0x477d('0xd7e')});_0x4aecaa(_0x2611ee[_0x477d('0x1af8')]);})[_0x477d('0xf8')](function(_0x5c5eb3){if(_0x5c5eb3[_0x477d('0x451')]&&_0x5c5eb3[_0x477d('0x451')][_0x477d('0xd67')]&&_0x5c5eb3[_0x477d('0x451')][_0x477d('0xd67')]['length']){_0x2611ee[_0x477d('0xd67')]=_0x5c5eb3[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x5c5eb3['toString'](),'type':_0x477d('0x1b0a')}];for(var _0x5420cf=0x0;_0x5420cf<_0x5c5eb3[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x5420cf++){_0xd9274c[_0x477d('0x44a')]({'title':_0x5c5eb3[_0x477d('0x451')][_0x477d('0xd67')][_0x5420cf][_0x477d('0x439')],'msg':_0x5c5eb3[_0x477d('0x451')][_0x477d('0xd67')][_0x5420cf][_0x477d('0x452')]});}}else{_0xd9274c[_0x477d('0x44a')]({'title':_0x5c5eb3[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x5c5eb3['status']+_0x477d('0x44c')+_0x5c5eb3[_0x477d('0x44d')]:'api.intSalesforceConfiguration.delete','msg':_0x5c5eb3[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x5c5eb3['data'][_0x477d('0x452')]):_0x5c5eb3[_0x477d('0x452')]||_0x5c5eb3['toString']()});}});},function(){});}function _0x305ec4(_0x12add3){return _0x12add3===null?undefined:new Date(_0x12add3);}function _0x4aecaa(_0xf1cd38){_0x2288be[_0x477d('0x3bc')](_0xf1cd38);}}}());(function(){'use strict';_0x2a5820[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x3c4'),_0x477d('0xd64'),_0x477d('0x384'),_0x477d('0x40e'),'configuration',_0x477d('0x4a6'),_0x477d('0x1a15'),_0x477d('0x15e5'),_0x477d('0x439'),'api','Auth','crudPermissions'];angular[_0x477d('0xb')](_0x477d('0x38'))[_0x477d('0x3ba')](_0x477d('0x1afe'),_0x2a5820);function _0x2a5820(_0x42992c,_0x249116,_0x5a9c85,_0xdefd77,_0xa3a0a1,_0x36dbe3,_0x373766,_0x1439ca,_0x406af6,_0x5b856a,_0x42b0ec,_0x6662dd,_0x295b69){var _0x49dda6=this;_0x49dda6[_0x477d('0x3e5')]=_0x6662dd[_0x477d('0x5c')]();_0x49dda6[_0x477d('0xd67')]=[];_0x49dda6[_0x477d('0x49a')]=_0x477d('0x1a13')+_[_0x477d('0x1a14')](_0x5b856a);_0x49dda6[_0x477d('0x1a15')]=angular[_0x477d('0x6d9')](_0x1439ca);_0x49dda6['items']=_0x373766;_0x49dda6['type']=_0x5b856a;_0x49dda6[_0x477d('0xd66')]=_0x295b69;_0x49dda6[_0x477d('0x1a17')]=![];if(!_0x49dda6[_0x477d('0x1a15')]){_0x49dda6[_0x477d('0x1a15')]={'type':'string'};_0x49dda6[_0x477d('0x1a15')][_[_0x477d('0x12e0')](_0x5b856a)+'Id']=_0x36dbe3['id'];_0x49dda6[_0x477d('0x49a')]=_0x477d('0x1a16')+_[_0x477d('0x1a14')](_0x5b856a);_0x49dda6['newItem']=!![];}_0x49dda6[_0x477d('0x1a18')]=_0x3d755a;_0x49dda6[_0x477d('0x15f9')]=_0x2618b2;_0x49dda6[_0x477d('0x55f')]=_0x570401;_0x49dda6[_0x477d('0x1a19')]=_0x120ea9;_0x49dda6['closeDialog']=_0x44b4e0;_0x42b0ec[_0x477d('0xbb9')][_0x477d('0x376')]({'nolimit':!![]})['$promise'][_0x477d('0x76')](function(_0x26bff3){_0x49dda6[_0x477d('0xf31')]=_0x26bff3[_0x477d('0xf2')]?_0x26bff3[_0x477d('0xf2')]:[];return _0x42b0ec['voiceAgentReport'][_0x477d('0xe27')]()[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x23fc0f){_0x49dda6[_0x477d('0x1a1a')]=_[_0x477d('0x7e')](_[_0x477d('0x7f')](_0x23fc0f),[_0x477d('0x38b'),_0x477d('0x80'),_0x477d('0xe37'),'updatedAt','sourceid']);_0x49dda6['voiceAgentReportColumns']['push'](_0x477d('0x1a1d'));return _0x42b0ec['voiceDialReport'][_0x477d('0xe27')]()[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x4e1e79){_0x49dda6[_0x477d('0x1a1b')]=_[_0x477d('0x7e')](_[_0x477d('0x7f')](_0x4e1e79),[_0x477d('0x38b'),_0x477d('0x80'),_0x477d('0xe37'),_0x477d('0xe38'),_0x477d('0x1a1c')]);_0x49dda6[_0x477d('0x1a1b')]['push'](_0x477d('0x1a1d'));})[_0x477d('0xf8')](function(_0x344994){_0xa3a0a1[_0x477d('0x44a')]({'title':_0x344994[_0x477d('0x3c3')]?'API:'+_0x344994[_0x477d('0x3c3')]+'\x20-\x20'+_0x344994[_0x477d('0x44d')]:_0x477d('0x1a1e'),'msg':_0x344994['data']?JSON[_0x477d('0x3fb')](_0x344994['data']):_0x344994[_0x477d('0x453')]()});});_0x42b0ec[_0x477d('0xbdd')][_0x477d('0xe26')]({'id':_0x406af6['id'],'ticketType':_0x36dbe3[_0x477d('0x1a1f')]?_0x36dbe3[_0x477d('0x1a1f')]:undefined})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x1044cb){_0x49dda6['accountConnected']=!![];_0x49dda6[_0x477d('0x458')]=_0x1044cb['rows']?_0x1044cb['rows']:[];if(_0x49dda6['item'][_0x477d('0x1a22')]){_0x49dda6[_0x477d('0x1532')]=_[_0x477d('0x10a')](_0x49dda6[_0x477d('0x458')],{'id':_0x49dda6['item']['idField']});}})[_0x477d('0xf8')](function(_0x137c68){_0x49dda6[_0x477d('0x1a20')]=![];console[_0x477d('0x44a')](_0x137c68);});function _0x3d755a(){_0x49dda6[_0x477d('0xd67')]=[];if(_0x49dda6[_0x477d('0x1532')]){_0x49dda6['item'][_0x477d('0x1a22')]=_0x49dda6[_0x477d('0x1532')]['id'];_0x49dda6[_0x477d('0x1a15')][_0x477d('0x1a23')]=_0x49dda6['customField'][_0x477d('0x94')];_0x49dda6['item'][_0x477d('0x1532')]=_0x49dda6[_0x477d('0x1532')][_0x477d('0x9f6')];}_0x42b0ec[_0x477d('0xbe8')]['save'](_0x49dda6[_0x477d('0x1a15')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x1aae6d){_0x49dda6['items'][_0x477d('0x63b')](_0x1aae6d);_0xa3a0a1[_0x477d('0x485')]({'title':_[_0x477d('0x12e0')](_0x5b856a)+_0x477d('0x1a21'),'msg':_[_0x477d('0x12e0')](_0x5b856a)+_0x477d('0xd73')});_0x44b4e0();})[_0x477d('0xf8')](function(_0x40da76){console[_0x477d('0x44a')](_0x40da76);_0x49dda6['errors']=_0x40da76[_0x477d('0x451')]['errors']||[{'message':_0x40da76['toString'](),'type':'api.item.save'}];});}function _0x2618b2(){_0x49dda6[_0x477d('0xd67')]=[];if(_0x49dda6['customField']){_0x49dda6[_0x477d('0x1a15')][_0x477d('0x1a22')]=_0x49dda6['customField']['id'];_0x49dda6[_0x477d('0x1a15')]['nameField']=_0x49dda6['customField'][_0x477d('0x94')];_0x49dda6[_0x477d('0x1a15')]['customField']=_0x49dda6['customField']['custom'];}_0x42b0ec[_0x477d('0xbe8')][_0x477d('0x710')]({'id':_0x49dda6[_0x477d('0x1a15')]['id']},_0x49dda6['item'])['$promise'][_0x477d('0x76')](function(_0xb5ab48){var _0x24fefe=_[_0x477d('0x10a')](_0x49dda6[_0x477d('0x4a6')],{'id':_0xb5ab48['id']});if(_0x24fefe){_['merge'](_0x24fefe,_0xb5ab48);}_0xa3a0a1[_0x477d('0x485')]({'title':_[_0x477d('0x12e0')](_0x5b856a)+_0x477d('0x1a6a'),'msg':_[_0x477d('0x12e0')](_0x5b856a)+_0x477d('0xd76')});_0x44b4e0();})['catch'](function(_0x1fdb39){console[_0x477d('0x44a')](_0x1fdb39);_0x49dda6['errors']=_0x1fdb39[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x1fdb39[_0x477d('0x453')](),'type':_0x477d('0x1a24')}];});}function _0x570401(_0x38d5ff){_0x49dda6[_0x477d('0xd67')]=[];var _0xb9a294=_0xdefd77[_0x477d('0xd78')]()['title'](_0x477d('0xd79'))[_0x477d('0xdaf')](_0x477d('0x1a25')+_0x5b856a+_0x477d('0xd95'))[_0x477d('0x687')]('Delete\x20'+_[_0x477d('0x12e0')](_0x5b856a))['ok'](_0x477d('0xd7b'))[_0x477d('0x4f0')](_0x477d('0x688'))[_0x477d('0xd7c')](_0x38d5ff);_0xdefd77[_0x477d('0x395')](_0xb9a294)[_0x477d('0x76')](function(){_0x42b0ec[_0x477d('0xbe8')][_0x477d('0xa55')]({'id':_0x49dda6[_0x477d('0x1a15')]['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x49dda6[_0x477d('0x4a6')],{'id':_0x49dda6['item']['id']});_0xa3a0a1[_0x477d('0x485')]({'title':_[_0x477d('0x12e0')](_0x5b856a)+_0x477d('0x1a26'),'msg':_['capitalize'](_0x5b856a)+_0x477d('0xd7e')});_0x44b4e0();})[_0x477d('0xf8')](function(_0x28541d){console['error'](_0x28541d);_0x49dda6[_0x477d('0xd67')]=_0x28541d[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x28541d[_0x477d('0x453')](),'type':_0x477d('0x1a27')}];});},function(){});}function _0x120ea9(){if(_0x49dda6['item'][_0x477d('0x1a28')]!==undefined){return _0x49dda6[_0x477d('0x1a15')][_0x477d('0x1a28')];}else{return _0x477d('0x1a29');}};function _0x44b4e0(){_0xdefd77[_0x477d('0x3bc')]();}}}());(function(){'use strict';_0x3dc420[_0x477d('0xa')]=[_0x477d('0x3c4'),_0x477d('0xd64'),_0x477d('0x384'),_0x477d('0x475'),'$translate',_0x477d('0x613'),'setting','api',_0x477d('0x40e'),_0x477d('0x55'),_0x477d('0x1ae9'),'userProfileSection'];angular[_0x477d('0xb')]('app.integrations')[_0x477d('0x3ba')](_0x477d('0x1b0b'),_0x3dc420);function _0x3dc420(_0x2546c7,_0x5a9f6f,_0x26e69e,_0x36a3e8,_0x4cc8b6,_0x5c4e54,_0x207b1b,_0x18506d,_0xa41709,_0x2a2a0c,_0x414493,_0x1f43ac){var _0x50a178=this;_0x50a178['currentUser']=_0x2a2a0c[_0x477d('0x5c')]();_0x50a178['license']=_0x5c4e54;_0x50a178[_0x477d('0xc8e')]=_0x207b1b;_0x50a178[_0x477d('0xd69')]=_0x50a178['setting'][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x50a178[_0x477d('0x3cc')]=_0x5a9f6f['protocol']()+'://'+_0x5a9f6f[_0x477d('0x3c9')]();_0x50a178[_0x477d('0x1ae9')]=_0x414493||_0x2546c7[_0x477d('0x37e')][_0x477d('0x1ae9')]||{};_0x50a178[_0x477d('0x3ac')]=_0x1f43ac&&_0x1f43ac[_0x477d('0x3bb')]==0x1?_0x1f43ac['rows'][0x0]:null;_0x50a178[_0x477d('0xd66')]=_0x2a2a0c[_0x477d('0xd81')](_0x50a178['userProfileSection']?_0x50a178['userProfileSection'][_0x477d('0xd66')]:null);_0x50a178[_0x477d('0xd68')]={};_0x50a178[_0x477d('0xe95')]=_0x2546c7[_0x477d('0x37e')][_0x477d('0xe96')]||0x0;_0x50a178[_0x477d('0x120a')]=_0xa41709[_0x477d('0x669')];_0x50a178['gotoSalesforceAccounts']=_0x35866f;_0x50a178[_0x477d('0x1b0c')]=_0x43931f;function _0x35866f(){_0x2546c7['go'](_0x477d('0x17d'),{},{'reload':_0x477d('0x17d')});}function _0x43931f(){_0x18506d[_0x477d('0xbdd')][_0x477d('0x710')]({'id':_0x50a178[_0x477d('0x1ae9')]['id']},_0x50a178[_0x477d('0x1ae9')])[_0x477d('0x38b')][_0x477d('0x76')](function(){_0xa41709[_0x477d('0x485')]({'title':_0x477d('0x1b0d'),'msg':_0x50a178['salesforceAccount'][_0x477d('0x94')]?_0x50a178[_0x477d('0x1ae9')][_0x477d('0x94')]+_0x477d('0xed7'):''});})['catch'](function(_0x3557ea){_0xa41709['error']({'title':_0x3557ea[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x3557ea[_0x477d('0x3c3')]+'\x20-\x20'+_0x3557ea['statusText']:'SYSTEM:GETintSalesforceAccount','msg':_0x3557ea[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x3557ea[_0x477d('0x451')]):_0x3557ea['toString']()});});}}}());(function(){'use strict';_0x4b06eb[_0x477d('0xa')]=[_0x477d('0x474'),'$window',_0x477d('0x3c4'),_0x477d('0x554'),'$mdDialog','$document','$timeout',_0x477d('0x40d'),_0x477d('0x1aeb'),_0x477d('0x3a5'),'userProfileSection',_0x477d('0x386'),_0x477d('0x342'),_0x477d('0x40e'),_0x477d('0x55'),_0x477d('0x613'),'setting'];angular[_0x477d('0xb')](_0x477d('0x38'))['controller'](_0x477d('0x1b0e'),_0x4b06eb);function _0x4b06eb(_0x42e75f,_0x28a79d,_0x4e0a64,_0x13954f,_0x3bffff,_0xac6005,_0x4a2db5,_0x5a4c3e,_0x52061c,_0x5c8e34,_0x982583,_0x534243,_0x54b91d,_0x3242b3,_0x2f7eed,_0x21df91,_0x287a07){var _0x3f8ee8=this;_0x3f8ee8['license']=_0x21df91;_0x3f8ee8['setting']=_0x287a07;_0x3f8ee8[_0x477d('0x3e5')]=_0x2f7eed['getCurrentUser']();_0x3f8ee8['salesforceAccounts']=_0x52061c||{'count':0x0,'rows':[]};_0x3f8ee8[_0x477d('0x3a5')]=_0x5c8e34;_0x3f8ee8['userProfileSection']=_0x982583&&_0x982583[_0x477d('0x3bb')]==0x1?_0x982583[_0x477d('0xf2')][0x0]:null;_0x3f8ee8['crudPermissions']=_0x2f7eed[_0x477d('0xd81')](_0x3f8ee8[_0x477d('0x3ac')]?_0x3f8ee8[_0x477d('0x3ac')][_0x477d('0xd66')]:null);_0x3f8ee8[_0x477d('0xd82')]=_0x477d('0x1aeb');_0x3f8ee8[_0x477d('0xd83')]='';_0x3f8ee8[_0x477d('0xd84')]=null;_0x3f8ee8[_0x477d('0x1b0f')]=[];_0x3f8ee8[_0x477d('0x3ef')]={'fields':_0x477d('0x182'),'limit':0xa,'page':0x1};_0x3f8ee8[_0x477d('0x138b')]=_['keyBy']([{'option':'Integration_Tab','value':_0x477d('0x1b10')},{'option':_0x477d('0x1b11'),'value':_0x477d('0x19d1')}],function(_0x2fb43a){return _[_0x477d('0x409')](_0x2fb43a['value'],new RegExp('\x27','g'),'');});_0x3f8ee8[_0x477d('0xea6')]=_0x97f273;_0x3f8ee8[_0x477d('0x19d4')]=_0x20a972;_0x3f8ee8[_0x477d('0xd88')]=_0x30e17a;_0x3f8ee8[_0x477d('0x485')]=_0x33e8af;_0x3f8ee8[_0x477d('0x1b12')]=_0x4e2487;_0x3f8ee8[_0x477d('0x1b13')]=_0x4aa267;_0x3f8ee8['deleteSalesforceAccount']=_0x5e75d0;_0x3f8ee8[_0x477d('0x1b14')]=_0x188b75;_0x3f8ee8['deleteSelectedSalesforceAccounts']=_0xb9e040;_0x3f8ee8[_0x477d('0x1b15')]=_0x390227;_0x3f8ee8[_0x477d('0x1b16')]=_0x3f3d31;function _0x97f273(_0x9dd78b,_0x487eca){_0x4e0a64['go'](_0x477d('0x1b17'),{'id':_0x9dd78b['id'],'salesforceAccount':_0x9dd78b,'crudPermissions':_0x3f8ee8[_0x477d('0xd66')]});}function _0x20a972(_0x1071c3,_0x2097a0){return _0x534243[_0x477d('0xbdd')][_0x477d('0xe26')]({'id':_0x1071c3['id'],'test':!![]})['$promise'][_0x477d('0x76')](function(){_0x3242b3['success']({'title':'SalesforceAccount\x20properly\x20tested','msg':_0x477d('0xf0a')});})['catch'](function(_0x3a91b6){_0x3242b3[_0x477d('0x44a')]({'title':_0x477d('0x1b18'),'msg':_0x3a91b6['data']?_0x3a91b6['data'][_0x477d('0x452')]?_0x3a91b6[_0x477d('0x451')][_0x477d('0x452')]:JSON[_0x477d('0x3fb')](_0x3a91b6[_0x477d('0x451')]):_0x3a91b6['toString']()});});}function _0x30e17a(_0x2cb277,_0x530b54){var _0x199ad8=_0x3bffff[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xd90')+_[_0x477d('0xd91')](_0x477d('0x1ae9'))+'?')[_0x477d('0xd92')](''+(_0x2cb277[_0x477d('0x94')]||_0x477d('0x1ae9'))+_0x477d('0xd94')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x1b19'))[_0x477d('0xd7c')](_0x530b54)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x3bffff[_0x477d('0x395')](_0x199ad8)['then'](function(){_0x5e75d0(_0x2cb277);},function(){console[_0x477d('0x7b')](_0x477d('0xd97'));});}var _0xd93ea1=!![];var _0x2de2f7=0x1;_0x42e75f[_0x477d('0x4b5')]('vm.query.filter',function(_0x21ea71,_0x370309){if(_0xd93ea1){_0x4a2db5(function(){_0xd93ea1=![];});}else{if(!_0x370309){_0x2de2f7=_0x3f8ee8['query'][_0x477d('0xe03')];}if(_0x21ea71!==_0x370309){_0x3f8ee8[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0x21ea71){_0x3f8ee8[_0x477d('0x3ef')][_0x477d('0xe03')]=_0x2de2f7;}_0x3f8ee8[_0x477d('0x1b12')]();}});function _0x33e8af(_0x3b9250){_0x3f8ee8[_0x477d('0x1aeb')]=_0x3b9250||{'count':0x0,'rows':[]};}function _0x4e2487(){_0x3f8ee8[_0x477d('0x3ef')][_0x477d('0x91c')]=(_0x3f8ee8[_0x477d('0x3ef')]['page']-0x1)*_0x3f8ee8[_0x477d('0x3ef')][_0x477d('0x91d')];if(_0x2f7eed[_0x477d('0x56')](_0x477d('0x5f'))){_0x3f8ee8[_0x477d('0x553')]=_0x534243['intSalesforceAccount'][_0x477d('0x376')](_0x3f8ee8['query'],_0x33e8af)['$promise'];}else{_0x3f8ee8['query']['id']=_0x3f8ee8[_0x477d('0x3a5')]['id'];_0x3f8ee8[_0x477d('0x3ef')][_0x477d('0xd99')]=_0x477d('0x183');_0x3f8ee8[_0x477d('0x553')]=_0x534243[_0x477d('0x3a5')]['getResources'](_0x3f8ee8[_0x477d('0x3ef')],_0x33e8af)[_0x477d('0x38b')];}}function _0x4aa267(_0x41bbb8,_0x5a0648){_0x3bffff[_0x477d('0x395')]({'controller':_0x477d('0x1b1a'),'controllerAs':'vm','templateUrl':_0x477d('0x1b1b'),'parent':angular[_0x477d('0x398')](_0xac6005[_0x477d('0x399')]),'targetEvent':_0x41bbb8,'clickOutsideToClose':!![],'locals':{'salesforceAccount':_0x5a0648,'salesforceAccounts':_0x3f8ee8[_0x477d('0x1aeb')][_0x477d('0xf2')],'license':_0x3f8ee8['license'],'setting':_0x3f8ee8[_0x477d('0xc8e')],'crudPermissions':_0x3f8ee8[_0x477d('0xd66')]}});}function _0x5e75d0(_0x230c59){_0x534243['intSalesforceAccount'][_0x477d('0xa55')]({'id':_0x230c59['id']})['$promise'][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x3f8ee8[_0x477d('0x1aeb')]['rows'],{'id':_0x230c59['id']});_0x3f8ee8[_0x477d('0x1aeb')]['count']-=0x1;if(!_0x3f8ee8[_0x477d('0x1aeb')][_0x477d('0xf2')][_0x477d('0x79')]){_0x3f8ee8['getSalesforceAccounts']();}_0x3242b3[_0x477d('0x485')]({'title':_[_0x477d('0xd91')](_0x477d('0x1b1c'))+_0x477d('0xd9d'),'msg':_0x230c59[_0x477d('0x94')]?_0x230c59[_0x477d('0x94')]+'\x20has\x20been\x20deleted!':''});})[_0x477d('0xf8')](function(_0x16dea1){if(_0x16dea1['data']&&_0x16dea1[_0x477d('0x451')][_0x477d('0xd67')]&&_0x16dea1[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x3f8ee8['errors']=_0x16dea1[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x16dea1[_0x477d('0x453')](),'type':_0x477d('0x1b1d')}];for(var _0x44f34e=0x0;_0x44f34e<_0x16dea1['data']['errors'][_0x477d('0x79')];_0x44f34e++){_0x3242b3[_0x477d('0x44a')]({'title':_0x16dea1[_0x477d('0x451')][_0x477d('0xd67')][_0x44f34e][_0x477d('0x439')],'msg':_0x16dea1[_0x477d('0x451')][_0x477d('0xd67')][_0x44f34e][_0x477d('0x452')]});}}else{_0x3242b3['error']({'title':_0x16dea1[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x16dea1[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x16dea1[_0x477d('0x44d')]:_0x477d('0x1b1d'),'msg':_0x16dea1[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x16dea1[_0x477d('0x451')][_0x477d('0x452')]):_0x16dea1[_0x477d('0x452')]||_0x16dea1[_0x477d('0x453')]()});}});}function _0x188b75(){var _0x343503=angular[_0x477d('0x6d9')](_0x3f8ee8[_0x477d('0x1b0f')]);_0x3f8ee8[_0x477d('0x1b0f')]=[];return _0x343503;}function _0xb9e040(_0x21d4f8){var _0x2b4358=_0x3bffff[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x1b1e'))[_0x477d('0xd92')](_0x477d('0xd93')+_0x3f8ee8['selectedSalesforceAccounts'][_0x477d('0x79')]+'\x20selected'+_0x477d('0xd95'))['ariaLabel'](_0x477d('0x1b1f'))[_0x477d('0xd7c')](_0x21d4f8)['ok']('OK')[_0x477d('0x4f0')]('CANCEL');_0x3bffff[_0x477d('0x395')](_0x2b4358)[_0x477d('0x76')](function(){_0x3f8ee8['selectedSalesforceAccounts']['forEach'](function(_0x4d628e){_0x5e75d0(_0x4d628e);});_0x3f8ee8[_0x477d('0x1b0f')]=[];});}function _0x390227(){_0x3f8ee8[_0x477d('0x1b0f')]=[];}function _0x3f3d31(){_0x3f8ee8[_0x477d('0x1b0f')]=_0x3f8ee8['salesforceAccounts']['rows'];}}}());(function(){'use strict';_0x1c803a[_0x477d('0xa')]=['$scope',_0x477d('0x3c4'),_0x477d('0xd64'),'$mdDialog','$q','$translate',_0x477d('0x40e'),_0x477d('0x1b20'),_0x477d('0x1b21'),_0x477d('0x386'),_0x477d('0x55'),_0x477d('0x613'),_0x477d('0xc8e'),_0x477d('0xd66')];angular['module'](_0x477d('0x38'))[_0x477d('0x3ba')](_0x477d('0x1b22'),_0x1c803a);function _0x1c803a(_0x429e12,_0x221431,_0x1f2f6e,_0x22b8a8,_0x3c4653,_0x5eb725,_0x347a01,_0x560e3b,_0x535884,_0x3fdac0,_0x117779,_0x5340f6,_0x2c4d16,_0x540898){var _0xc17bed=this;_0xc17bed[_0x477d('0x3e5')]=_0x117779['getCurrentUser']();_0xc17bed[_0x477d('0xd67')]=[];_0xc17bed['setting']=_0x2c4d16;_0xc17bed[_0x477d('0x613')]=_0x5340f6;_0xc17bed[_0x477d('0xd66')]=_0x540898;_0xc17bed['hasModulePermissions']={};_0xc17bed[_0x477d('0xd69')]=_0xc17bed[_0x477d('0xc8e')]&&_0xc17bed['setting'][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0xc17bed[_0x477d('0x49a')]=_0x477d('0x1b23');_0xc17bed['servicenowAccount']=angular[_0x477d('0x6d9')](_0x535884);_0xc17bed['servicenowAccounts']=_0x560e3b;_0xc17bed[_0x477d('0x1b24')]=![];if(!_0xc17bed[_0x477d('0x1b21')]){_0xc17bed['servicenowAccount']={'serverUrl':_0x1f2f6e[_0x477d('0x3ce')]()+_0x477d('0x1209')+_0x1f2f6e[_0x477d('0x3c9')]()+(_0x1f2f6e['port']()?':'+_0x1f2f6e[_0x477d('0x3cf')]():'')};_0xc17bed[_0x477d('0x49a')]='INTEGRATIONS.NEW_SERVICENOWACCOUNT';_0xc17bed[_0x477d('0x1b24')]=!![];}_0xc17bed[_0x477d('0x1b25')]=_0xaf58e0;_0xc17bed[_0x477d('0x1b26')]=_0x2f3cc6;_0xc17bed[_0x477d('0x1b27')]=_0x1abc34;_0xc17bed[_0x477d('0xd6f')]=_0x5410f3;_0xc17bed[_0x477d('0x6bf')]=_0x12ff6f;function _0xaf58e0(){_0xc17bed[_0x477d('0xd67')]=[];_0x3fdac0[_0x477d('0xc44')][_0x477d('0xd70')](_0xc17bed[_0x477d('0x1b21')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x3220c1){_0xc17bed['servicenowAccounts'][_0x477d('0x63b')](_0x3220c1['toJSON']());_0x347a01[_0x477d('0x485')]({'title':_0x477d('0x1b28'),'msg':_0xc17bed[_0x477d('0x1b21')][_0x477d('0x94')]?_0xc17bed['servicenowAccount']['name']+'\x20has\x20been\x20created!':''});_0x12ff6f(_0x3220c1);})['catch'](function(_0x137bc1){if(_0x137bc1[_0x477d('0x451')]&&_0x137bc1['data'][_0x477d('0xd67')]&&_0x137bc1[_0x477d('0x451')]['errors']['length']){_0xc17bed[_0x477d('0xd67')]=_0x137bc1[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x137bc1[_0x477d('0x453')](),'type':'api.intServicenowAccount.save'}];for(var _0x46385a=0x0;_0x46385a<_0x137bc1[_0x477d('0x451')]['errors'][_0x477d('0x79')];_0x46385a+=0x1){_0x347a01[_0x477d('0x44a')]({'title':_0x137bc1[_0x477d('0x451')]['errors'][_0x46385a][_0x477d('0x439')],'msg':_0x137bc1[_0x477d('0x451')][_0x477d('0xd67')][_0x46385a]['message']});}}else{_0x347a01[_0x477d('0x44a')]({'title':_0x137bc1['status']?_0x477d('0x44b')+_0x137bc1['status']+'\x20-\x20'+_0x137bc1[_0x477d('0x44d')]:_0x477d('0x1b29'),'msg':_0x137bc1['data']?JSON[_0x477d('0x3fb')](_0x137bc1[_0x477d('0x451')][_0x477d('0x452')]):_0x137bc1[_0x477d('0x453')]()});}});}function _0x2f3cc6(){_0xc17bed[_0x477d('0xd67')]=[];_0x3fdac0[_0x477d('0xc44')]['update']({'id':_0xc17bed[_0x477d('0x1b21')]['id']},_0xc17bed['servicenowAccount'])['$promise'][_0x477d('0x76')](function(_0x271da1){var _0x433d20=_['find'](_0xc17bed['servicenowAccounts'],{'id':_0x271da1['id']});if(_0x433d20){_['merge'](_0x433d20,_[_0x477d('0x10b')](_0x271da1[_0x477d('0xd71')](),_['keys'](_0x433d20)));}_0x347a01['success']({'title':_0x477d('0x1b2a'),'msg':_0xc17bed['servicenowAccount'][_0x477d('0x94')]?_0xc17bed['servicenowAccount'][_0x477d('0x94')]+'\x20has\x20been\x20saved!':''});_0x12ff6f(_0x271da1);})['catch'](function(_0x31a078){if(_0x31a078[_0x477d('0x451')]&&_0x31a078[_0x477d('0x451')]['errors']&&_0x31a078['data'][_0x477d('0xd67')][_0x477d('0x79')]){_0xc17bed['errors']=_0x31a078[_0x477d('0x451')]['errors']||[{'message':_0x31a078[_0x477d('0x453')](),'type':_0x477d('0x1b2b')}];for(var _0x48e6b2=0x0;_0x48e6b2<_0x31a078[_0x477d('0x451')][_0x477d('0xd67')]['length'];_0x48e6b2++){_0x347a01['error']({'title':_0x31a078[_0x477d('0x451')]['errors'][_0x48e6b2][_0x477d('0x439')],'msg':_0x31a078[_0x477d('0x451')]['errors'][_0x48e6b2]['message']});}}else{_0x347a01[_0x477d('0x44a')]({'title':_0x31a078['status']?_0x477d('0x44b')+_0x31a078[_0x477d('0x3c3')]+'\x20-\x20'+_0x31a078[_0x477d('0x44d')]:_0x477d('0x1b2b'),'msg':_0x31a078['data']?JSON[_0x477d('0x3fb')](_0x31a078[_0x477d('0x451')]['message']):_0x31a078[_0x477d('0x453')]()});}});}function _0x1abc34(_0x5497a5){_0xc17bed[_0x477d('0xd67')]=[];var _0x5882c8=_0x22b8a8[_0x477d('0xd78')]()[_0x477d('0x49a')]('Are\x20you\x20sure?')[_0x477d('0xdaf')]('The\x20servicenowAccount\x20will\x20be\x20deleted.')[_0x477d('0x687')]('Delete\x20ServicenowAccount')['ok'](_0x477d('0xd7b'))[_0x477d('0x4f0')](_0x477d('0x688'))[_0x477d('0xd7c')](_0x5497a5);_0x22b8a8[_0x477d('0x395')](_0x5882c8)[_0x477d('0x76')](function(){_0x3fdac0[_0x477d('0xc44')]['delete']({'id':_0xc17bed[_0x477d('0x1b21')]['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0xc17bed['servicenowAccounts'],{'id':_0xc17bed[_0x477d('0x1b21')]['id']});_0x347a01['success']({'title':_0x477d('0x1b2c'),'msg':(_0xc17bed['servicenowAccount'][_0x477d('0x94')]||_0x477d('0x1b21'))+_0x477d('0xd7e')});_0x12ff6f(_0xc17bed[_0x477d('0x1b21')]);})['catch'](function(_0x3f37b5){if(_0x3f37b5[_0x477d('0x451')]&&_0x3f37b5['data'][_0x477d('0xd67')]&&_0x3f37b5[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0xc17bed['errors']=_0x3f37b5[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x3f37b5[_0x477d('0x453')](),'type':_0x477d('0x1b2d')}];for(var _0x414077=0x0;_0x414077<_0x3f37b5['data'][_0x477d('0xd67')]['length'];_0x414077++){_0x347a01[_0x477d('0x44a')]({'title':_0x3f37b5['data']['errors'][_0x414077]['type'],'msg':_0x3f37b5[_0x477d('0x451')][_0x477d('0xd67')][_0x414077][_0x477d('0x452')]});}}else{_0x347a01[_0x477d('0x44a')]({'title':_0x3f37b5[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x3f37b5[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x3f37b5[_0x477d('0x44d')]:_0x477d('0x1b2d'),'msg':_0x3f37b5['data']?JSON['stringify'](_0x3f37b5[_0x477d('0x451')][_0x477d('0x452')]):_0x3f37b5['message']||_0x3f37b5[_0x477d('0x453')]()});}});},function(){});}function _0x5410f3(_0x2393c1){return _0x2393c1===null?undefined:new Date(_0x2393c1);}function _0x12ff6f(_0x3a0e16){_0x22b8a8['hide'](_0x3a0e16);}}}());(function(){'use strict';_0x55e1b2[_0x477d('0xa')]=[_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x386'),_0x477d('0x40e'),_0x477d('0x55')];angular[_0x477d('0xb')]('app.integrations')['controller'](_0x477d('0x1b2e'),_0x55e1b2);function _0x55e1b2(_0x5db9c0,_0xf1968e,_0x23c754,_0x834b4f,_0x381a8b){var _0x15b9ae=this;_0x15b9ae['currentUser']=_0x381a8b[_0x477d('0x5c')]();_0x15b9ae[_0x477d('0x1b21')]={};_0x15b9ae[_0x477d('0x1b2f')]={};_0x15b9ae['configurations']=[];_0x15b9ae[_0x477d('0x1b30')]=-0x1;_0x15b9ae[_0x477d('0xd66')];_0x15b9ae['init']=_0x2a514e;_0x15b9ae[_0x477d('0x1b31')]=_0x3d1e65;_0x15b9ae[_0x477d('0x1b32')]=_0x25a053;_0x15b9ae['deleteServicenowConfiguration']=_0x173342;function _0x2a514e(_0x2e8834,_0x27eafc){_0x15b9ae[_0x477d('0x1b21')]=_0x2e8834;_0x15b9ae['crudPermissions']=typeof _0x27eafc!==_0x477d('0x4a4')?_0x27eafc:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x23c754['intServicenowAccount'][_0x477d('0x19e9')]({'id':_0x15b9ae[_0x477d('0x1b21')]['id'],'sort':_0x477d('0x59')})['$promise']['then'](function(_0x5a78ac){_0x15b9ae[_0x477d('0x19df')]=_0x5a78ac['rows']?_0x5a78ac[_0x477d('0xf2')]:[];if(_0x15b9ae[_0x477d('0x19df')][_0x477d('0x79')]){_0x15b9ae[_0x477d('0x1b31')](0x0);}return _0x23c754['variable'][_0x477d('0x376')]({'nolimit':!![],'sort':_0x477d('0x94')})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x16542a){_0x15b9ae['variables']=_0x16542a[_0x477d('0xf2')]?_0x16542a['rows']:[];_0x15b9ae[_0x477d('0x1a4e')]=_[_0x477d('0xdb5')](_0x15b9ae[_0x477d('0xf31')],'id');})[_0x477d('0xf8')](function(_0x37ad8c){_0x834b4f[_0x477d('0x44a')]({'title':_0x37ad8c[_0x477d('0x3c3')]?'API:'+_0x37ad8c[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x37ad8c[_0x477d('0x44d')]:'SYSTEM:GETCONFIGURATION','msg':_0x37ad8c[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x37ad8c[_0x477d('0x451')]):_0x37ad8c[_0x477d('0x453')]()});});}function _0x3d1e65(_0x132e68){_0x15b9ae[_0x477d('0x1b2f')]=_0x15b9ae[_0x477d('0x19df')][_0x132e68];_0x15b9ae['selectedServicenowConfiguration']=_0x132e68;_0x23c754[_0x477d('0xc49')][_0x477d('0x19eb')]({'id':_0x15b9ae[_0x477d('0x1b2f')]['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x17e453){_0x15b9ae[_0x477d('0x19ec')]=_0x17e453[_0x477d('0xf2')]?_0x17e453[_0x477d('0xf2')]:[];return _0x23c754[_0x477d('0xc49')][_0x477d('0x1a4f')]({'id':_0x15b9ae[_0x477d('0x1b2f')]['id']})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x3d696f){_0x15b9ae[_0x477d('0x19ed')]=_0x3d696f[_0x477d('0xf2')]?_0x3d696f[_0x477d('0xf2')]:[];return _0x23c754[_0x477d('0xc49')][_0x477d('0xe26')]({'id':_0x15b9ae[_0x477d('0x1b2f')]['id']})['$promise'];})[_0x477d('0x76')](function(_0x503938){_0x15b9ae[_0x477d('0x458')]=_0x503938[_0x477d('0xf2')]?_0x503938[_0x477d('0xf2')]:[];})[_0x477d('0xf8')](function(_0x588bc5){_0x834b4f[_0x477d('0x44a')]({'title':_0x588bc5[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x588bc5[_0x477d('0x3c3')]+'\x20-\x20'+_0x588bc5[_0x477d('0x44d')]:_0x477d('0x19ee'),'msg':_0x588bc5[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x588bc5['data']):_0x588bc5[_0x477d('0x453')]()});});}function _0x25a053(_0x2f092a,_0x24d209){_0x5db9c0[_0x477d('0x395')]({'controller':_0x477d('0x1b33'),'controllerAs':'vm','templateUrl':_0x477d('0x1b34'),'parent':angular[_0x477d('0x398')](_0xf1968e[_0x477d('0x399')]),'targetEvent':_0x2f092a,'clickOutsideToClose':!![],'locals':{'servicenowConfiguration':_0x24d209,'configurations':_0x15b9ae[_0x477d('0x19df')],'license':null,'setting':null,'crudPermissions':_0x15b9ae[_0x477d('0xd66')]}})[_0x477d('0x5ff')](function(){_0x15b9ae[_0x477d('0x1b31')](0x0);});}function _0x173342(_0x46a899,_0x1554b7){var _0x361bdc=_0x5db9c0['confirm']()[_0x477d('0x49a')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20servicenowConfiguration?')[_0x477d('0xd92')](''+(_0x1554b7[_0x477d('0x94')]||'servicenowConfiguration')+_0x477d('0xd94')+_0x477d('0xd95'))[_0x477d('0x687')]('delete\x20servicenowConfiguration')[_0x477d('0xd7c')](_0x46a899)['ok']('OK')['cancel'](_0x477d('0xd97'));_0x5db9c0[_0x477d('0x395')](_0x361bdc)[_0x477d('0x76')](function(){_0x23c754[_0x477d('0xc49')][_0x477d('0xa55')]({'id':_0x1554b7['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x15b9ae[_0x477d('0x19df')],{'id':_0x1554b7['id']});_0x834b4f['success']({'title':_0x477d('0x1b35'),'msg':_0x1554b7[_0x477d('0x94')]?_0x1554b7[_0x477d('0x94')]+_0x477d('0xd7e'):''});})[_0x477d('0xf8')](function(_0x42f67d){_0x834b4f['error']({'title':_0x42f67d['status']?_0x477d('0x44b')+_0x42f67d[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x42f67d['statusText']:_0x477d('0x19f1'),'msg':_0x42f67d[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x42f67d[_0x477d('0x451')]):_0x42f67d[_0x477d('0x453')]()});})[_0x477d('0x5ff')](function(){_0x15b9ae[_0x477d('0x1b31')](0x0);});},function(){console['log'](_0x477d('0xd97'));});}_0x15b9ae[_0x477d('0x19fa')]=[];_0x15b9ae['createOrEditSubject']=_0x539fce;_0x15b9ae['deleteSubjectConfirm']=_0x10e2c0;_0x15b9ae[_0x477d('0x19f4')]=_0xf7a680;function _0x539fce(_0x5b4665,_0x2a3c16){_0x5db9c0[_0x477d('0x395')]({'controller':_0x477d('0x1b36'),'controllerAs':'vm','templateUrl':_0x477d('0x1b37'),'parent':angular['element'](_0xf1968e['body']),'targetEvent':_0x5b4665,'clickOutsideToClose':!![],'locals':{'type':_0x477d('0x135c'),'item':_0x2a3c16,'items':_0x15b9ae[_0x477d('0x19ec')],'configuration':_0x15b9ae[_0x477d('0x1b2f')],'account':_0x15b9ae[_0x477d('0x1b21')],'license':null,'setting':null,'crudPermissions':_0x15b9ae['crudPermissions']}});}function _0x389265(_0x51a500){_0x23c754[_0x477d('0xc4e')]['delete']({'id':_0x51a500['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x15b9ae['subjects'],{'id':_0x51a500['id']});_0x834b4f['success']({'title':_0x477d('0x19f6'),'msg':_0x477d('0x19f7')});})[_0x477d('0xf8')](function(_0x20a991){_0x834b4f[_0x477d('0x44a')]({'title':_0x20a991[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x20a991[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x20a991[_0x477d('0x44d')]:'SYSTEM:DELETECONFIGURATIONFIELD','msg':_0x20a991['data']?JSON[_0x477d('0x3fb')](_0x20a991[_0x477d('0x451')]):_0x20a991[_0x477d('0x453')]()});});}function _0x10e2c0(_0x37c79d,_0x463c5e){var _0x2e2bd6=_0x5db9c0[_0x477d('0xd78')]()[_0x477d('0x49a')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20subject?')['htmlContent'](_0x477d('0x19f9')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x1a56'))[_0x477d('0xd7c')](_0x37c79d)['ok']('OK')['cancel']('CANCEL');_0x5db9c0[_0x477d('0x395')](_0x2e2bd6)['then'](function(){_0x389265(_0x463c5e);},function(){console[_0x477d('0x7b')](_0x477d('0xd97'));});}function _0xf7a680(_0x2b4b6d){var _0x3dd8e6=_0x5db9c0[_0x477d('0xd78')]()[_0x477d('0x49a')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20subjects?')[_0x477d('0xd92')](''+_0x15b9ae['selectedSubjects'][_0x477d('0x79')]+_0x477d('0xda0')+'\x20will\x20be\x20deleted.')[_0x477d('0x687')](_0x477d('0x19fb'))[_0x477d('0xd7c')](_0x2b4b6d)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x5db9c0[_0x477d('0x395')](_0x3dd8e6)['then'](function(){_0x15b9ae[_0x477d('0x19fa')][_0x477d('0x3b1')](function(_0x2c9a8e){_0x389265(_0x2c9a8e);});_0x15b9ae[_0x477d('0x19fa')]=[];});}_0x15b9ae[_0x477d('0x19fc')]=[];_0x15b9ae[_0x477d('0x19fd')]=_0x1cfc7b;_0x15b9ae[_0x477d('0x19fe')]=_0x576a87;_0x15b9ae[_0x477d('0x1a57')]=_0x1ed040;function _0x1cfc7b(_0x5b27f3,_0x3d58bf){_0x5db9c0[_0x477d('0x395')]({'controller':_0x477d('0x1b36'),'controllerAs':'vm','templateUrl':_0x477d('0x1b37'),'parent':angular[_0x477d('0x398')](_0xf1968e['body']),'targetEvent':_0x5b27f3,'clickOutsideToClose':!![],'locals':{'type':_0x477d('0xe0e'),'item':_0x3d58bf,'items':_0x15b9ae[_0x477d('0x19ed')],'configuration':_0x15b9ae['servicenowConfiguration'],'account':_0x15b9ae['servicenowAccount'],'license':null,'setting':null,'crudPermissions':_0x15b9ae['crudPermissions']}});}function _0x151c00(_0x1c4596){_0x23c754[_0x477d('0xc4e')][_0x477d('0xa55')]({'id':_0x1c4596['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x15b9ae[_0x477d('0x19ed')],{'id':_0x1c4596['id']});_0x834b4f[_0x477d('0x485')]({'title':'Description\x20deleted!','msg':_0x477d('0x19ff')});})[_0x477d('0xf8')](function(_0x356fc3){_0x834b4f[_0x477d('0x44a')]({'title':_0x356fc3[_0x477d('0x3c3')]?'API:'+_0x356fc3['status']+_0x477d('0x44c')+_0x356fc3[_0x477d('0x44d')]:_0x477d('0x19f8'),'msg':_0x356fc3[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x356fc3[_0x477d('0x451')]):_0x356fc3[_0x477d('0x453')]()});});}function _0x576a87(_0x1d3c76,_0xb46bd6){var _0x54a663=_0x5db9c0[_0x477d('0xd78')]()[_0x477d('0x49a')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20description?')[_0x477d('0xd92')](_0x477d('0x1a01')+'\x20will\x20be\x20deleted.')['ariaLabel'](_0x477d('0x1a02'))['targetEvent'](_0x1d3c76)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x5db9c0['show'](_0x54a663)[_0x477d('0x76')](function(){_0x151c00(_0xb46bd6);},function(){console[_0x477d('0x7b')](_0x477d('0xd97'));});}function _0x1ed040(_0xcffb48){var _0x1074a4=_0x5db9c0['confirm']()[_0x477d('0x49a')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20descriptions?')[_0x477d('0xd92')](_0x477d('0xd93')+_0x15b9ae['selectedDescriptions'][_0x477d('0x79')]+_0x477d('0xda0')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x1a04'))[_0x477d('0xd7c')](_0xcffb48)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x5db9c0[_0x477d('0x395')](_0x1074a4)['then'](function(){_0x15b9ae['selectedDescriptions'][_0x477d('0x3b1')](function(_0x54e284){_0x151c00(_0x54e284);});_0x15b9ae['selectedDescriptions']=[];});}_0x15b9ae[_0x477d('0x1a08')]=[];_0x15b9ae[_0x477d('0x1a05')]=_0x5acfec;_0x15b9ae[_0x477d('0x1a8f')]=_0x5493b9;_0x15b9ae[_0x477d('0x1a06')]=_0x1eb279;function _0x5acfec(_0x83cb64,_0x5cba50){_0x5db9c0[_0x477d('0x395')]({'controller':'CreateOrEditServicenowAccountItemDialogController','controllerAs':'vm','templateUrl':_0x477d('0x1b37'),'parent':angular['element'](_0xf1968e[_0x477d('0x399')]),'targetEvent':_0x83cb64,'clickOutsideToClose':!![],'locals':{'type':_0x477d('0x463'),'item':_0x5cba50,'items':_0x15b9ae['fields'],'configuration':_0x15b9ae[_0x477d('0x1b2f')],'account':_0x15b9ae[_0x477d('0x1b21')],'license':null,'setting':null,'crudPermissions':_0x15b9ae[_0x477d('0xd66')]}});}function _0x3e9fab(_0x2f483e){_0x23c754[_0x477d('0xc4e')][_0x477d('0xa55')]({'id':_0x2f483e['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x15b9ae['fields'],{'id':_0x2f483e['id']});_0x834b4f[_0x477d('0x485')]({'title':_0x477d('0xe70'),'msg':'Field\x20has\x20been\x20deleted!'});})[_0x477d('0xf8')](function(_0xab797a){_0x834b4f[_0x477d('0x44a')]({'title':_0xab797a[_0x477d('0x3c3')]?_0x477d('0x44b')+_0xab797a[_0x477d('0x3c3')]+_0x477d('0x44c')+_0xab797a[_0x477d('0x44d')]:_0x477d('0x19f8'),'msg':_0xab797a[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0xab797a[_0x477d('0x451')]):_0xab797a[_0x477d('0x453')]()});});}function _0x5493b9(_0x3f767a,_0x529699){var _0x3ee328=_0x5db9c0['confirm']()[_0x477d('0x49a')](_0x477d('0xe6d'))[_0x477d('0xd92')]('Field'+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x1a91'))['targetEvent'](_0x3f767a)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x5db9c0['show'](_0x3ee328)[_0x477d('0x76')](function(){_0x3e9fab(_0x529699);},function(){console[_0x477d('0x7b')](_0x477d('0xd97'));});}function _0x1eb279(_0xa2d28a){var _0x4a18ce=_0x5db9c0[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xe72'))[_0x477d('0xd92')](''+_0x15b9ae[_0x477d('0x1a08')][_0x477d('0x79')]+_0x477d('0xda0')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0xe73'))[_0x477d('0xd7c')](_0xa2d28a)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x5db9c0[_0x477d('0x395')](_0x4a18ce)['then'](function(){_0x15b9ae['selectedFields']['forEach'](function(_0x45cded){_0x3e9fab(_0x45cded);});_0x15b9ae['selectedFields']=[];});}}}());(function(){'use strict';_0x119cdc[_0x477d('0xa')]=[_0x477d('0x474'),'$state',_0x477d('0xd64'),_0x477d('0x384'),'$q',_0x477d('0x40d'),_0x477d('0x40e'),_0x477d('0x19df'),_0x477d('0x1b2f'),_0x477d('0x386'),_0x477d('0x55'),'license',_0x477d('0xc8e'),_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x38'))[_0x477d('0x3ba')](_0x477d('0x1b33'),_0x119cdc);function _0x119cdc(_0x36d3c1,_0x4a2c45,_0x25d6ef,_0x32a535,_0x1eed14,_0x9a15fe,_0x5cb15b,_0x55ea62,_0x40c8c1,_0x7920d0,_0x2882f3,_0x3e7601,_0x3d4dea,_0x5804ad){var _0x63546d=this;_0x63546d[_0x477d('0x3e5')]=_0x2882f3[_0x477d('0x5c')]();_0x63546d[_0x477d('0xd67')]=[];_0x63546d['setting']=_0x3d4dea;_0x63546d['license']=_0x3e7601;_0x63546d[_0x477d('0xd66')]=_0x5804ad;_0x63546d['hasModulePermissions']={};_0x63546d['passwordPattern']=_0x63546d['setting']&&_0x63546d['setting']['securePassword']?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x63546d[_0x477d('0x49a')]=_0x477d('0x1b38');_0x63546d[_0x477d('0x1b2f')]=angular['copy'](_0x40c8c1);_0x63546d['configurations']=_0x55ea62;_0x63546d[_0x477d('0x1b39')]=![];if(!_0x63546d[_0x477d('0x1b2f')]){_0x63546d[_0x477d('0x1b2f')]={'channel':'voice','type':_0x477d('0x9e')};_0x63546d[_0x477d('0x49a')]=_0x477d('0x1b3a');_0x63546d[_0x477d('0x1b39')]=!![];}_0x63546d[_0x477d('0x1b3b')]=_0x1ff133;_0x63546d['saveServicenowConfiguration']=_0x201cd5;_0x63546d[_0x477d('0x1b3c')]=_0x1950ef;_0x63546d['getDateFromString']=_0x40a208;_0x63546d['closeDialog']=_0x483165;function _0x1ff133(){_0x63546d[_0x477d('0xd67')]=[];_0x7920d0[_0x477d('0xc44')]['addConfiguration']({'id':_0x4a2c45[_0x477d('0x37e')]['id']},_0x63546d[_0x477d('0x1b2f')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x1528f5){_0x63546d[_0x477d('0x19df')][_0x477d('0x63b')](_0x1528f5[_0x477d('0xd71')]());_0x5cb15b[_0x477d('0x485')]({'title':_0x477d('0x1b3d'),'msg':_0x63546d['servicenowConfiguration'][_0x477d('0x94')]?_0x63546d['servicenowConfiguration']['name']+_0x477d('0xd73'):''});_0x483165(_0x1528f5);})[_0x477d('0xf8')](function(_0x226958){if(_0x226958[_0x477d('0x451')]&&_0x226958[_0x477d('0x451')][_0x477d('0xd67')]&&_0x226958[_0x477d('0x451')]['errors'][_0x477d('0x79')]){_0x63546d[_0x477d('0xd67')]=_0x226958['data'][_0x477d('0xd67')]||[{'message':_0x226958['toString'](),'type':_0x477d('0x1b3e')}];for(var _0x50c976=0x0;_0x50c976<_0x226958['data'][_0x477d('0xd67')]['length'];_0x50c976+=0x1){_0x5cb15b[_0x477d('0x44a')]({'title':_0x226958['data'][_0x477d('0xd67')][_0x50c976]['type'],'msg':_0x226958[_0x477d('0x451')][_0x477d('0xd67')][_0x50c976][_0x477d('0x452')]});}}else{_0x5cb15b[_0x477d('0x44a')]({'title':_0x226958[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x226958[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x226958[_0x477d('0x44d')]:_0x477d('0x1b3e'),'msg':_0x226958['data']?JSON[_0x477d('0x3fb')](_0x226958[_0x477d('0x451')][_0x477d('0x452')]):_0x226958[_0x477d('0x453')]()});}});}function _0x201cd5(){_0x63546d[_0x477d('0xd67')]=[];_0x7920d0['intServicenowConfiguration'][_0x477d('0x710')]({'id':_0x63546d[_0x477d('0x1b2f')]['id']},_0x63546d['servicenowConfiguration'])['$promise'][_0x477d('0x76')](function(_0x417fc7){var _0x1018f8=_[_0x477d('0x10a')](_0x63546d[_0x477d('0x19df')],{'id':_0x417fc7['id']});if(_0x1018f8){_[_0x477d('0xef')](_0x1018f8,_[_0x477d('0x10b')](_0x417fc7[_0x477d('0xd71')](),_['keys'](_0x1018f8)));}_0x5cb15b[_0x477d('0x485')]({'title':_0x477d('0x1b3f'),'msg':_0x63546d[_0x477d('0x1b2f')][_0x477d('0x94')]?_0x63546d[_0x477d('0x1b2f')][_0x477d('0x94')]+_0x477d('0xd76'):''});_0x483165(_0x417fc7);})[_0x477d('0xf8')](function(_0x4e8e92){if(_0x4e8e92[_0x477d('0x451')]&&_0x4e8e92[_0x477d('0x451')][_0x477d('0xd67')]&&_0x4e8e92[_0x477d('0x451')]['errors'][_0x477d('0x79')]){_0x63546d['errors']=_0x4e8e92['data'][_0x477d('0xd67')]||[{'message':_0x4e8e92[_0x477d('0x453')](),'type':_0x477d('0x1b40')}];for(var _0x267497=0x0;_0x267497<_0x4e8e92[_0x477d('0x451')][_0x477d('0xd67')]['length'];_0x267497++){_0x5cb15b[_0x477d('0x44a')]({'title':_0x4e8e92[_0x477d('0x451')][_0x477d('0xd67')][_0x267497][_0x477d('0x439')],'msg':_0x4e8e92[_0x477d('0x451')][_0x477d('0xd67')][_0x267497][_0x477d('0x452')]});}}else{_0x5cb15b['error']({'title':_0x4e8e92['status']?_0x477d('0x44b')+_0x4e8e92[_0x477d('0x3c3')]+'\x20-\x20'+_0x4e8e92[_0x477d('0x44d')]:_0x477d('0x1b40'),'msg':_0x4e8e92[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x4e8e92[_0x477d('0x451')][_0x477d('0x452')]):_0x4e8e92[_0x477d('0x453')]()});}});}function _0x1950ef(_0x2858ae){_0x63546d['errors']=[];var _0x1d4df7=_0x32a535[_0x477d('0xd78')]()[_0x477d('0x49a')]('Are\x20you\x20sure?')[_0x477d('0xdaf')](_0x477d('0x1b41'))[_0x477d('0x687')](_0x477d('0x1b42'))['ok'](_0x477d('0xd7b'))['cancel'](_0x477d('0x688'))['targetEvent'](_0x2858ae);_0x32a535[_0x477d('0x395')](_0x1d4df7)[_0x477d('0x76')](function(){_0x7920d0[_0x477d('0xc49')]['delete']({'id':_0x63546d[_0x477d('0x1b2f')]['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x63546d[_0x477d('0x19df')],{'id':_0x63546d['servicenowConfiguration']['id']});_0x5cb15b[_0x477d('0x485')]({'title':_0x477d('0x1b43'),'msg':(_0x63546d[_0x477d('0x1b2f')][_0x477d('0x94')]||_0x477d('0x1b2f'))+_0x477d('0xd7e')});_0x483165(_0x63546d[_0x477d('0x1b2f')]);})['catch'](function(_0x370aef){if(_0x370aef[_0x477d('0x451')]&&_0x370aef['data'][_0x477d('0xd67')]&&_0x370aef['data'][_0x477d('0xd67')][_0x477d('0x79')]){_0x63546d[_0x477d('0xd67')]=_0x370aef[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x370aef[_0x477d('0x453')](),'type':'api.intServicenowConfiguration.delete'}];for(var _0x2fe7df=0x0;_0x2fe7df<_0x370aef['data'][_0x477d('0xd67')][_0x477d('0x79')];_0x2fe7df++){_0x5cb15b[_0x477d('0x44a')]({'title':_0x370aef[_0x477d('0x451')]['errors'][_0x2fe7df][_0x477d('0x439')],'msg':_0x370aef[_0x477d('0x451')][_0x477d('0xd67')][_0x2fe7df][_0x477d('0x452')]});}}else{_0x5cb15b[_0x477d('0x44a')]({'title':_0x370aef[_0x477d('0x3c3')]?'API:'+_0x370aef[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x370aef[_0x477d('0x44d')]:'api.intServicenowConfiguration.delete','msg':_0x370aef[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x370aef[_0x477d('0x451')][_0x477d('0x452')]):_0x370aef[_0x477d('0x452')]||_0x370aef[_0x477d('0x453')]()});}});},function(){});}function _0x40a208(_0x54a7da){return _0x54a7da===null?undefined:new Date(_0x54a7da);}function _0x483165(_0x4acd8a){_0x32a535[_0x477d('0x3bc')](_0x4acd8a);}}}());(function(){'use strict';_0x1044f1[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x3c4'),_0x477d('0xd64'),_0x477d('0x384'),_0x477d('0x40e'),'configuration',_0x477d('0x4a6'),_0x477d('0x1a15'),'account',_0x477d('0x439'),_0x477d('0x386'),_0x477d('0x55'),_0x477d('0xd66')];angular['module']('app.integrations')[_0x477d('0x3ba')](_0x477d('0x1b36'),_0x1044f1);function _0x1044f1(_0x239fd6,_0x14698c,_0x3d7166,_0x23d574,_0x4b0754,_0x2ce22c,_0x55ce64,_0x8ed82c,_0xcc7dcb,_0x55f3b0,_0x49f9ac,_0x4f11a0,_0x33bd6c){var _0x45f22b=this;_0x45f22b[_0x477d('0x3e5')]=_0x4f11a0[_0x477d('0x5c')]();_0x45f22b['errors']=[];_0x45f22b['title']=_0x477d('0x1a13')+_[_0x477d('0x1a14')](_0x55f3b0);_0x45f22b[_0x477d('0x1a15')]=angular[_0x477d('0x6d9')](_0x8ed82c);_0x45f22b[_0x477d('0x4a6')]=_0x55ce64;_0x45f22b[_0x477d('0x439')]=_0x55f3b0;_0x45f22b['crudPermissions']=_0x33bd6c;_0x45f22b[_0x477d('0x1a17')]=![];if(!_0x45f22b[_0x477d('0x1a15')]){_0x45f22b['item']={'type':_0x477d('0x1a68')};_0x45f22b[_0x477d('0x1a15')][_[_0x477d('0x12e0')](_0x55f3b0)+'Id']=_0x2ce22c['id'];_0x45f22b['title']=_0x477d('0x1a16')+_[_0x477d('0x1a14')](_0x55f3b0);_0x45f22b['newItem']=!![];}_0x45f22b[_0x477d('0x1a18')]=_0x27082c;_0x45f22b['saveItem']=_0x3c6c23;_0x45f22b[_0x477d('0x55f')]=_0x539de0;_0x45f22b['getSelectedVariable']=_0x5181b0;_0x45f22b[_0x477d('0x6bf')]=_0x50554b;_0x49f9ac[_0x477d('0xbb9')][_0x477d('0x376')]({'nolimit':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x155913){_0x45f22b['variables']=_0x155913[_0x477d('0xf2')]?_0x155913[_0x477d('0xf2')]:[];return _0x49f9ac[_0x477d('0xa9c')][_0x477d('0xe27')]()['$promise'];})['then'](function(_0xc2f18f){_0x45f22b[_0x477d('0x1a1a')]=_['difference'](_[_0x477d('0x7f')](_0xc2f18f),['$promise','$resolved','createdAt',_0x477d('0xe38'),_0x477d('0x1a1c')]);_0x45f22b['voiceAgentReportColumns']['push'](_0x477d('0x1a1d'));return _0x49f9ac[_0x477d('0xa99')][_0x477d('0xe27')]()[_0x477d('0x38b')];})['then'](function(_0x3cdf9d){_0x45f22b[_0x477d('0x1a1b')]=_[_0x477d('0x7e')](_[_0x477d('0x7f')](_0x3cdf9d),[_0x477d('0x38b'),_0x477d('0x80'),_0x477d('0xe37'),_0x477d('0xe38'),_0x477d('0x1a1c')]);_0x45f22b[_0x477d('0x1a1b')][_0x477d('0x3a7')]('recordingURL');})[_0x477d('0xf8')](function(_0x34405f){_0x4b0754[_0x477d('0x44a')]({'title':_0x34405f['status']?_0x477d('0x44b')+_0x34405f[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x34405f['statusText']:_0x477d('0x1a1e'),'msg':_0x34405f[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x34405f[_0x477d('0x451')]):_0x34405f['toString']()});});_0x49f9ac[_0x477d('0xc44')][_0x477d('0xe26')]({'id':_0xcc7dcb['id'],'ticketType':_0x2ce22c[_0x477d('0x1a1f')]?_0x2ce22c[_0x477d('0x1a1f')]:undefined})['$promise']['then'](function(_0x3323ac){_0x45f22b[_0x477d('0x1a20')]=!![];_0x45f22b['fields']=_0x3323ac['rows']?_0x3323ac[_0x477d('0xf2')]:[];if(_0x45f22b[_0x477d('0x1a15')][_0x477d('0x1a22')]){_0x45f22b[_0x477d('0x1532')]=_[_0x477d('0x10a')](_0x45f22b[_0x477d('0x458')],{'id':_0x45f22b[_0x477d('0x1a15')]['idField']});}})[_0x477d('0xf8')](function(_0x49cc42){_0x45f22b[_0x477d('0x1a20')]=![];console[_0x477d('0x44a')](_0x49cc42);});function _0x27082c(){_0x45f22b[_0x477d('0xd67')]=[];if(_0x45f22b[_0x477d('0x1532')]){_0x45f22b['item'][_0x477d('0x1a22')]=_0x45f22b['customField']['id'];_0x45f22b[_0x477d('0x1a15')]['nameField']=_0x45f22b[_0x477d('0x1532')]['name'];_0x45f22b[_0x477d('0x1a15')][_0x477d('0x1532')]=_0x45f22b[_0x477d('0x1532')][_0x477d('0x9f6')];}_0x49f9ac[_0x477d('0xc4e')][_0x477d('0xd70')](_0x45f22b['item'])['$promise']['then'](function(_0x15562a){_0x45f22b[_0x477d('0x4a6')][_0x477d('0x63b')](_0x15562a);_0x4b0754[_0x477d('0x485')]({'title':_[_0x477d('0x12e0')](_0x55f3b0)+_0x477d('0x1a21'),'msg':_['capitalize'](_0x55f3b0)+'\x20has\x20been\x20created!'});_0x50554b();})['catch'](function(_0x56243e){console[_0x477d('0x44a')](_0x56243e);_0x45f22b[_0x477d('0xd67')]=_0x56243e[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x56243e[_0x477d('0x453')](),'type':_0x477d('0x1a69')}];});}function _0x3c6c23(){_0x45f22b[_0x477d('0xd67')]=[];if(_0x45f22b[_0x477d('0x1532')]){_0x45f22b[_0x477d('0x1a15')][_0x477d('0x1a22')]=_0x45f22b['customField']['id'];_0x45f22b[_0x477d('0x1a15')][_0x477d('0x1a23')]=_0x45f22b['customField'][_0x477d('0x94')];_0x45f22b['item'][_0x477d('0x1532')]=_0x45f22b[_0x477d('0x1532')][_0x477d('0x9f6')];}_0x49f9ac[_0x477d('0xc4e')][_0x477d('0x710')]({'id':_0x45f22b[_0x477d('0x1a15')]['id']},_0x45f22b['item'])[_0x477d('0x38b')]['then'](function(_0x59828c){var _0x4225f0=_[_0x477d('0x10a')](_0x45f22b[_0x477d('0x4a6')],{'id':_0x59828c['id']});if(_0x4225f0){_[_0x477d('0xef')](_0x4225f0,_0x59828c);}_0x4b0754[_0x477d('0x485')]({'title':_[_0x477d('0x12e0')](_0x55f3b0)+_0x477d('0x1a6a'),'msg':_[_0x477d('0x12e0')](_0x55f3b0)+'\x20has\x20been\x20saved!'});_0x50554b();})[_0x477d('0xf8')](function(_0x43672f){console['error'](_0x43672f);_0x45f22b[_0x477d('0xd67')]=_0x43672f['data'][_0x477d('0xd67')]||[{'message':_0x43672f[_0x477d('0x453')](),'type':'api.intItem.update'}];});}function _0x539de0(_0x45c70f){_0x45f22b[_0x477d('0xd67')]=[];var _0x223ca9=_0x23d574['confirm']()[_0x477d('0x49a')]('Are\x20you\x20sure?')[_0x477d('0xdaf')]('The\x20'+_0x55f3b0+'\x20will\x20be\x20deleted.')[_0x477d('0x687')](_0x477d('0x1a6b')+_[_0x477d('0x12e0')](_0x55f3b0))['ok']('Delete')['cancel']('Cancel')[_0x477d('0xd7c')](_0x45c70f);_0x23d574[_0x477d('0x395')](_0x223ca9)[_0x477d('0x76')](function(){_0x49f9ac[_0x477d('0xc4e')][_0x477d('0xa55')]({'id':_0x45f22b[_0x477d('0x1a15')]['id']})[_0x477d('0x38b')]['then'](function(){_[_0x477d('0x39c')](_0x45f22b[_0x477d('0x4a6')],{'id':_0x45f22b['item']['id']});_0x4b0754[_0x477d('0x485')]({'title':_[_0x477d('0x12e0')](_0x55f3b0)+_0x477d('0x1a26'),'msg':_[_0x477d('0x12e0')](_0x55f3b0)+_0x477d('0xd7e')});_0x50554b();})[_0x477d('0xf8')](function(_0x4485ce){console['error'](_0x4485ce);_0x45f22b[_0x477d('0xd67')]=_0x4485ce[_0x477d('0x451')]['errors']||[{'message':_0x4485ce[_0x477d('0x453')](),'type':'api.item.delete'}];});},function(){});}function _0x5181b0(){if(_0x45f22b[_0x477d('0x1a15')][_0x477d('0x1a28')]!==undefined){return _0x45f22b[_0x477d('0x1a15')]['variableName'];}else{return _0x477d('0x1a29');}};function _0x50554b(){_0x23d574[_0x477d('0x3bc')]();}}}());(function(){'use strict';_0x38e3ca['$inject']=[_0x477d('0x3c4'),_0x477d('0xd64'),_0x477d('0x384'),_0x477d('0x475'),'$translate',_0x477d('0x613'),_0x477d('0xc8e'),_0x477d('0x386'),_0x477d('0x40e'),_0x477d('0x55'),_0x477d('0x1b21'),_0x477d('0x3ac')];angular[_0x477d('0xb')]('app.integrations')[_0x477d('0x3ba')]('ServicenowAccountController',_0x38e3ca);function _0x38e3ca(_0x50f980,_0x92ba8,_0x361abf,_0x361b37,_0x124743,_0x4c0391,_0x4ccae4,_0x5482b5,_0x5b24c2,_0x4fe721,_0x69b7bd,_0x235669){var _0x5a495d=this;_0x5a495d[_0x477d('0x3e5')]=_0x4fe721['getCurrentUser']();_0x5a495d[_0x477d('0x613')]=_0x4c0391;_0x5a495d[_0x477d('0xc8e')]=_0x4ccae4;_0x5a495d[_0x477d('0xd69')]=_0x5a495d[_0x477d('0xc8e')][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x5a495d[_0x477d('0x3cc')]=_0x92ba8['protocol']()+'://'+_0x92ba8['host']();_0x5a495d['servicenowAccount']=_0x69b7bd||_0x50f980['params'][_0x477d('0x1b21')]||{};_0x5a495d['userProfileSection']=_0x235669&&_0x235669[_0x477d('0x3bb')]==0x1?_0x235669['rows'][0x0]:null;_0x5a495d[_0x477d('0xd66')]=_0x4fe721[_0x477d('0xd81')](_0x5a495d['userProfileSection']?_0x5a495d[_0x477d('0x3ac')][_0x477d('0xd66')]:null);_0x5a495d['hasModulePermissions']={};_0x5a495d[_0x477d('0xe95')]=_0x50f980[_0x477d('0x37e')][_0x477d('0xe96')]||0x0;_0x5a495d[_0x477d('0x120a')]=_0x5b24c2[_0x477d('0x669')];_0x5a495d['gotoServicenowAccounts']=_0x3c04fe;_0x5a495d[_0x477d('0x1b26')]=_0x2b3d1f;function _0x3c04fe(){_0x50f980['go'](_0x477d('0x1b4'),{},{'reload':_0x477d('0x1b4')});}function _0x2b3d1f(){_0x5482b5[_0x477d('0xc44')][_0x477d('0x710')]({'id':_0x5a495d[_0x477d('0x1b21')]['id']},_0x5a495d[_0x477d('0x1b21')])[_0x477d('0x38b')][_0x477d('0x76')](function(){_0x5b24c2[_0x477d('0x485')]({'title':_0x477d('0x1b44'),'msg':_0x5a495d[_0x477d('0x1b21')]['name']?_0x5a495d[_0x477d('0x1b21')][_0x477d('0x94')]+_0x477d('0xed7'):''});})[_0x477d('0xf8')](function(_0x40f739){_0x5b24c2[_0x477d('0x44a')]({'title':_0x40f739[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x40f739[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x40f739[_0x477d('0x44d')]:'SYSTEM:GETintServicenowAccount','msg':_0x40f739[_0x477d('0x451')]?JSON['stringify'](_0x40f739[_0x477d('0x451')]):_0x40f739['toString']()});});}}}());(function(){'use strict';_0x22c459[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x387'),_0x477d('0x3c4'),'$mdSidenav','$mdDialog','$document',_0x477d('0x3fe'),_0x477d('0x40d'),_0x477d('0x1b20'),'userProfile',_0x477d('0x3ac'),_0x477d('0x386'),'msUtils','toasty',_0x477d('0x55'),_0x477d('0x613'),_0x477d('0xc8e')];angular['module'](_0x477d('0x38'))[_0x477d('0x3ba')](_0x477d('0x1b45'),_0x22c459);function _0x22c459(_0x839623,_0x44abaa,_0x485337,_0x356de1,_0x24fe99,_0x19408c,_0x1fe81e,_0x23abe0,_0x3a0e71,_0x81b18e,_0x13067d,_0x3b2c29,_0x1cd226,_0x5c8685,_0x197d35,_0x33e0a1,_0x3d98e5){var _0x14427d=this;_0x14427d['license']=_0x33e0a1;_0x14427d[_0x477d('0xc8e')]=_0x3d98e5;_0x14427d[_0x477d('0x3e5')]=_0x197d35[_0x477d('0x5c')]();_0x14427d[_0x477d('0x1b20')]=_0x3a0e71||{'count':0x0,'rows':[]};_0x14427d[_0x477d('0x3a5')]=_0x81b18e;_0x14427d['userProfileSection']=_0x13067d&&_0x13067d[_0x477d('0x3bb')]==0x1?_0x13067d[_0x477d('0xf2')][0x0]:null;_0x14427d[_0x477d('0xd66')]=_0x197d35[_0x477d('0xd81')](_0x14427d['userProfileSection']?_0x14427d[_0x477d('0x3ac')]['crudPermissions']:null);_0x14427d[_0x477d('0xd82')]=_0x477d('0x1b20');_0x14427d['listOrder']='';_0x14427d[_0x477d('0xd84')]=null;_0x14427d['selectedServicenowAccounts']=[];_0x14427d[_0x477d('0x3ef')]={'fields':_0x477d('0x1b9'),'limit':0xa,'page':0x1};_0x14427d['editstate']=_0x3a14e2;_0x14427d[_0x477d('0x19d4')]=_0x37432c;_0x14427d[_0x477d('0xd88')]=_0x16b0d0;_0x14427d['success']=_0x519786;_0x14427d['getServicenowAccounts']=_0x1194ce;_0x14427d[_0x477d('0x1b46')]=_0xd66038;_0x14427d[_0x477d('0x1b27')]=_0x54e349;_0x14427d[_0x477d('0x1b47')]=_0x480906;_0x14427d[_0x477d('0x1b48')]=_0x9488dd;_0x14427d['deselectServicenowAccounts']=_0x53ec96;_0x14427d['selectAllServicenowAccounts']=_0xcfab57;function _0x3a14e2(_0x551f7b,_0x558e48){_0x485337['go'](_0x477d('0x1b49'),{'id':_0x551f7b['id'],'servicenowAccount':_0x551f7b,'crudPermissions':_0x14427d[_0x477d('0xd66')]});}function _0x37432c(_0x232ca8,_0x39b7e0){return _0x3b2c29[_0x477d('0xc44')]['getFields']({'id':_0x232ca8['id'],'test':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(){_0x5c8685[_0x477d('0x485')]({'title':'ServicenowAccount\x20properly\x20tested','msg':_0x477d('0xf0a')});})[_0x477d('0xf8')](function(_0x2a76d7){_0x5c8685['error']({'title':_0x477d('0x1b4a'),'msg':_0x2a76d7[_0x477d('0x451')]?_0x2a76d7[_0x477d('0x451')][_0x477d('0x452')]?_0x2a76d7[_0x477d('0x451')][_0x477d('0x452')]:JSON['stringify'](_0x2a76d7[_0x477d('0x451')]):_0x2a76d7[_0x477d('0x453')]()});});}function _0x16b0d0(_0x1fb154,_0x1b4f5d){var _0x54ee48=_0x24fe99['confirm']()[_0x477d('0x49a')](_0x477d('0xd90')+_[_0x477d('0xd91')]('servicenowAccount')+'?')['htmlContent'](_0x477d('0xd93')+(_0x1fb154['name']||_0x477d('0x1b21'))+_0x477d('0xd94')+_0x477d('0xd95'))['ariaLabel'](_0x477d('0x1b4b'))[_0x477d('0xd7c')](_0x1b4f5d)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x24fe99[_0x477d('0x395')](_0x54ee48)[_0x477d('0x76')](function(){_0x54e349(_0x1fb154);},function(){console['log'](_0x477d('0xd97'));});}var _0x81050b=!![];var _0x67c522=0x1;_0x839623['$watch'](_0x477d('0xd98'),function(_0x7618b,_0x3b067e){if(_0x81050b){_0x1fe81e(function(){_0x81050b=![];});}else{if(!_0x3b067e){_0x67c522=_0x14427d[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x7618b!==_0x3b067e){_0x14427d[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0x7618b){_0x14427d[_0x477d('0x3ef')][_0x477d('0xe03')]=_0x67c522;}_0x14427d[_0x477d('0x1b4c')]();}});function _0x519786(_0x54062e){_0x14427d['servicenowAccounts']=_0x54062e||{'count':0x0,'rows':[]};}function _0x1194ce(){_0x14427d['query'][_0x477d('0x91c')]=(_0x14427d[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x14427d[_0x477d('0x3ef')]['limit'];if(_0x197d35[_0x477d('0x56')](_0x477d('0x5f'))){_0x14427d['promise']=_0x3b2c29[_0x477d('0xc44')]['get'](_0x14427d[_0x477d('0x3ef')],_0x519786)[_0x477d('0x38b')];}else{_0x14427d[_0x477d('0x3ef')]['id']=_0x14427d['userProfile']['id'];_0x14427d[_0x477d('0x3ef')][_0x477d('0xd99')]=_0x477d('0x1ba');_0x14427d['promise']=_0x3b2c29[_0x477d('0x3a5')][_0x477d('0xd9a')](_0x14427d[_0x477d('0x3ef')],_0x519786)['$promise'];}}function _0xd66038(_0x49602e,_0xea8701){_0x24fe99[_0x477d('0x395')]({'controller':_0x477d('0x1b22'),'controllerAs':'vm','templateUrl':_0x477d('0x1b4d'),'parent':angular['element'](_0x19408c['body']),'targetEvent':_0x49602e,'clickOutsideToClose':!![],'locals':{'servicenowAccount':_0xea8701,'servicenowAccounts':_0x14427d[_0x477d('0x1b20')][_0x477d('0xf2')],'license':_0x14427d[_0x477d('0x613')],'setting':_0x14427d[_0x477d('0xc8e')],'crudPermissions':_0x14427d['crudPermissions']}});}function _0x54e349(_0x121217){_0x3b2c29['intServicenowAccount'][_0x477d('0xa55')]({'id':_0x121217['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x14427d[_0x477d('0x1b20')][_0x477d('0xf2')],{'id':_0x121217['id']});_0x14427d[_0x477d('0x1b20')][_0x477d('0x3bb')]-=0x1;if(!_0x14427d['servicenowAccounts'][_0x477d('0xf2')][_0x477d('0x79')]){_0x14427d[_0x477d('0x1b4c')]();}_0x5c8685[_0x477d('0x485')]({'title':_[_0x477d('0xd91')](_0x477d('0x1b4e'))+_0x477d('0xd9d'),'msg':_0x121217[_0x477d('0x94')]?_0x121217['name']+_0x477d('0xd7e'):''});})[_0x477d('0xf8')](function(_0x37d62a){if(_0x37d62a[_0x477d('0x451')]&&_0x37d62a[_0x477d('0x451')][_0x477d('0xd67')]&&_0x37d62a[_0x477d('0x451')][_0x477d('0xd67')]['length']){_0x14427d[_0x477d('0xd67')]=_0x37d62a['data'][_0x477d('0xd67')]||[{'message':_0x37d62a[_0x477d('0x453')](),'type':_0x477d('0x1b4f')}];for(var _0x4358b5=0x0;_0x4358b5<_0x37d62a['data'][_0x477d('0xd67')][_0x477d('0x79')];_0x4358b5++){_0x5c8685[_0x477d('0x44a')]({'title':_0x37d62a[_0x477d('0x451')][_0x477d('0xd67')][_0x4358b5]['type'],'msg':_0x37d62a[_0x477d('0x451')]['errors'][_0x4358b5][_0x477d('0x452')]});}}else{_0x5c8685[_0x477d('0x44a')]({'title':_0x37d62a['status']?_0x477d('0x44b')+_0x37d62a['status']+_0x477d('0x44c')+_0x37d62a[_0x477d('0x44d')]:_0x477d('0x1b4f'),'msg':_0x37d62a[_0x477d('0x451')]?JSON['stringify'](_0x37d62a[_0x477d('0x451')][_0x477d('0x452')]):_0x37d62a[_0x477d('0x452')]||_0x37d62a[_0x477d('0x453')]()});}});}function _0x480906(){var _0x22af07=angular[_0x477d('0x6d9')](_0x14427d[_0x477d('0x1b50')]);_0x14427d['selectedServicenowAccounts']=[];return _0x22af07;}function _0x9488dd(_0x9ff561){var _0x18641f=_0x24fe99[_0x477d('0xd78')]()['title']('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20servicenowAccounts?')[_0x477d('0xd92')](_0x477d('0xd93')+_0x14427d[_0x477d('0x1b50')]['length']+_0x477d('0xda0')+_0x477d('0xd95'))[_0x477d('0x687')]('delete\x20ServicenowAccounts')[_0x477d('0xd7c')](_0x9ff561)['ok']('OK')['cancel'](_0x477d('0xd97'));_0x24fe99['show'](_0x18641f)[_0x477d('0x76')](function(){_0x14427d[_0x477d('0x1b50')][_0x477d('0x3b1')](function(_0x811da5){_0x54e349(_0x811da5);});_0x14427d[_0x477d('0x1b50')]=[];});}function _0x53ec96(){_0x14427d['selectedServicenowAccounts']=[];}function _0xcfab57(){_0x14427d[_0x477d('0x1b50')]=_0x14427d['servicenowAccounts'][_0x477d('0xf2')];}}}());(function(){'use strict';_0x5d618e[_0x477d('0xa')]=[_0x477d('0x474'),'$state',_0x477d('0xd64'),'$mdDialog','$q',_0x477d('0x40d'),_0x477d('0x40e'),_0x477d('0x1b51'),_0x477d('0x1b52'),_0x477d('0x386'),'Auth',_0x477d('0x613'),'setting',_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x38'))[_0x477d('0x3ba')](_0x477d('0x1b53'),_0x5d618e);function _0x5d618e(_0xcaa3f0,_0x15fc13,_0x254640,_0x1d1f2d,_0x5603ee,_0xc9c3c1,_0x64ebff,_0x37513e,_0x22c735,_0x15b550,_0x581421,_0x320ecd,_0x1ebbb3,_0x56b783){var _0x5322ec=this;_0x5322ec[_0x477d('0x3e5')]=_0x581421['getCurrentUser']();_0x5322ec[_0x477d('0xd67')]=[];_0x5322ec[_0x477d('0xc8e')]=_0x1ebbb3;_0x5322ec[_0x477d('0x613')]=_0x320ecd;_0x5322ec[_0x477d('0xd66')]=_0x56b783;_0x5322ec[_0x477d('0xd68')]={};_0x5322ec[_0x477d('0xd69')]=_0x5322ec[_0x477d('0xc8e')]&&_0x5322ec[_0x477d('0xc8e')][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x5322ec[_0x477d('0x49a')]=_0x477d('0x1b54');_0x5322ec[_0x477d('0x1b52')]=angular[_0x477d('0x6d9')](_0x22c735);_0x5322ec['sugarcrmAccounts']=_0x37513e;_0x5322ec[_0x477d('0x1b55')]=![];if(!_0x5322ec['sugarcrmAccount']){_0x5322ec[_0x477d('0x1b52')]={'serverUrl':_0x254640[_0x477d('0x3ce')]()+'://'+_0x254640[_0x477d('0x3c9')]()+(_0x254640[_0x477d('0x3cf')]()?':'+_0x254640[_0x477d('0x3cf')]():'')};_0x5322ec[_0x477d('0x49a')]='INTEGRATIONS.NEW_SUGARCRMACCOUNT';_0x5322ec['newSugarcrmAccount']=!![];}_0x5322ec[_0x477d('0x1b56')]=_0x53331a;_0x5322ec[_0x477d('0x1b57')]=_0x2a08a7;_0x5322ec['deleteSugarcrmAccount']=_0x164b49;_0x5322ec['getDateFromString']=_0x1d1de2;_0x5322ec[_0x477d('0x6bf')]=_0x302f70;function _0x53331a(){_0x5322ec['errors']=[];_0x15b550[_0x477d('0xbeb')]['save'](_0x5322ec[_0x477d('0x1b52')])['$promise'][_0x477d('0x76')](function(_0x5f5437){_0x5322ec[_0x477d('0x1b51')][_0x477d('0x63b')](_0x5f5437[_0x477d('0xd71')]());_0x64ebff[_0x477d('0x485')]({'title':_0x477d('0x1b58'),'msg':_0x5322ec[_0x477d('0x1b52')]['name']?_0x5322ec[_0x477d('0x1b52')]['name']+_0x477d('0xd73'):''});_0x302f70(_0x5f5437);})[_0x477d('0xf8')](function(_0x4acdd2){if(_0x4acdd2[_0x477d('0x451')]&&_0x4acdd2[_0x477d('0x451')][_0x477d('0xd67')]&&_0x4acdd2['data']['errors'][_0x477d('0x79')]){_0x5322ec[_0x477d('0xd67')]=_0x4acdd2[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x4acdd2[_0x477d('0x453')](),'type':'api.intSugarcrmAccount.save'}];for(var _0x232546=0x0;_0x232546<_0x4acdd2[_0x477d('0x451')]['errors'][_0x477d('0x79')];_0x232546+=0x1){_0x64ebff[_0x477d('0x44a')]({'title':_0x4acdd2[_0x477d('0x451')][_0x477d('0xd67')][_0x232546][_0x477d('0x439')],'msg':_0x4acdd2[_0x477d('0x451')][_0x477d('0xd67')][_0x232546][_0x477d('0x452')]});}}else{_0x64ebff[_0x477d('0x44a')]({'title':_0x4acdd2[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x4acdd2[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x4acdd2[_0x477d('0x44d')]:_0x477d('0x1b59'),'msg':_0x4acdd2[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x4acdd2[_0x477d('0x451')]['message']):_0x4acdd2[_0x477d('0x453')]()});}});}function _0x2a08a7(){_0x5322ec[_0x477d('0xd67')]=[];_0x15b550[_0x477d('0xbeb')][_0x477d('0x710')]({'id':_0x5322ec[_0x477d('0x1b52')]['id']},_0x5322ec[_0x477d('0x1b52')])['$promise']['then'](function(_0x562ec0){var _0x39af52=_['find'](_0x5322ec[_0x477d('0x1b51')],{'id':_0x562ec0['id']});if(_0x39af52){_['merge'](_0x39af52,_['pick'](_0x562ec0['toJSON'](),_['keys'](_0x39af52)));}_0x64ebff['success']({'title':_0x477d('0x1b5a'),'msg':_0x5322ec[_0x477d('0x1b52')][_0x477d('0x94')]?_0x5322ec[_0x477d('0x1b52')]['name']+_0x477d('0xd76'):''});_0x302f70(_0x562ec0);})['catch'](function(_0x3a7593){if(_0x3a7593[_0x477d('0x451')]&&_0x3a7593['data'][_0x477d('0xd67')]&&_0x3a7593[_0x477d('0x451')]['errors'][_0x477d('0x79')]){_0x5322ec[_0x477d('0xd67')]=_0x3a7593[_0x477d('0x451')]['errors']||[{'message':_0x3a7593['toString'](),'type':'api.intSugarcrmAccount.update'}];for(var _0x1ae0b5=0x0;_0x1ae0b5<_0x3a7593['data']['errors']['length'];_0x1ae0b5++){_0x64ebff['error']({'title':_0x3a7593[_0x477d('0x451')][_0x477d('0xd67')][_0x1ae0b5][_0x477d('0x439')],'msg':_0x3a7593[_0x477d('0x451')][_0x477d('0xd67')][_0x1ae0b5][_0x477d('0x452')]});}}else{_0x64ebff[_0x477d('0x44a')]({'title':_0x3a7593[_0x477d('0x3c3')]?'API:'+_0x3a7593[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x3a7593[_0x477d('0x44d')]:_0x477d('0x1b5b'),'msg':_0x3a7593[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x3a7593[_0x477d('0x451')][_0x477d('0x452')]):_0x3a7593[_0x477d('0x453')]()});}});}function _0x164b49(_0xe026f5){_0x5322ec[_0x477d('0xd67')]=[];var _0x28e43f=_0x1d1f2d[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xd79'))['content'](_0x477d('0x1b5c'))[_0x477d('0x687')]('Delete\x20SugarcrmAccount')['ok'](_0x477d('0xd7b'))[_0x477d('0x4f0')]('Cancel')[_0x477d('0xd7c')](_0xe026f5);_0x1d1f2d[_0x477d('0x395')](_0x28e43f)['then'](function(){_0x15b550[_0x477d('0xbeb')][_0x477d('0xa55')]({'id':_0x5322ec[_0x477d('0x1b52')]['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x5322ec['sugarcrmAccounts'],{'id':_0x5322ec[_0x477d('0x1b52')]['id']});_0x64ebff[_0x477d('0x485')]({'title':_0x477d('0x1b5d'),'msg':(_0x5322ec[_0x477d('0x1b52')][_0x477d('0x94')]||_0x477d('0x1b52'))+'\x20has\x20been\x20deleted!'});_0x302f70(_0x5322ec[_0x477d('0x1b52')]);})[_0x477d('0xf8')](function(_0x222c7e){if(_0x222c7e[_0x477d('0x451')]&&_0x222c7e['data'][_0x477d('0xd67')]&&_0x222c7e[_0x477d('0x451')][_0x477d('0xd67')]['length']){_0x5322ec['errors']=_0x222c7e[_0x477d('0x451')]['errors']||[{'message':_0x222c7e[_0x477d('0x453')](),'type':_0x477d('0x1b5e')}];for(var _0x541c9d=0x0;_0x541c9d<_0x222c7e[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x541c9d++){_0x64ebff[_0x477d('0x44a')]({'title':_0x222c7e[_0x477d('0x451')][_0x477d('0xd67')][_0x541c9d][_0x477d('0x439')],'msg':_0x222c7e['data'][_0x477d('0xd67')][_0x541c9d][_0x477d('0x452')]});}}else{_0x64ebff[_0x477d('0x44a')]({'title':_0x222c7e[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x222c7e['status']+_0x477d('0x44c')+_0x222c7e[_0x477d('0x44d')]:'api.intSugarcrmAccount.delete','msg':_0x222c7e['data']?JSON[_0x477d('0x3fb')](_0x222c7e[_0x477d('0x451')][_0x477d('0x452')]):_0x222c7e[_0x477d('0x452')]||_0x222c7e['toString']()});}});},function(){});}function _0x1d1de2(_0x25fdec){return _0x25fdec===null?undefined:new Date(_0x25fdec);}function _0x302f70(_0x14bb2c){_0x1d1f2d['hide'](_0x14bb2c);}}}());(function(){'use strict';_0x2ef93e[_0x477d('0xa')]=[_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x386'),'toasty',_0x477d('0x55')];angular[_0x477d('0xb')](_0x477d('0x38'))[_0x477d('0x3ba')]('SugarcrmAccountConfigurationsController',_0x2ef93e);function _0x2ef93e(_0x357204,_0x2b3fed,_0x148288,_0x1965d5,_0x1eeed1){var _0x5ea431=this;_0x5ea431['currentUser']=_0x1eeed1[_0x477d('0x5c')]();_0x5ea431[_0x477d('0x1b52')]={};_0x5ea431[_0x477d('0x1b5f')]={};_0x5ea431['configurations']=[];_0x5ea431['selectedSugarcrmConfiguration']=-0x1;_0x5ea431[_0x477d('0xd66')];_0x5ea431[_0x477d('0x5ee')]=_0x5db9f0;_0x5ea431[_0x477d('0x1b60')]=_0x4fc5e6;_0x5ea431['createOrEditSugarcrmConfiguration']=_0x462e8c;_0x5ea431[_0x477d('0x1b61')]=_0x4391bd;function _0x5db9f0(_0x20bfc1,_0x3de244){_0x5ea431['sugarcrmAccount']=_0x20bfc1;_0x5ea431[_0x477d('0xd66')]=typeof _0x3de244!=='undefined'?_0x3de244:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x148288['intSugarcrmAccount'][_0x477d('0x19e9')]({'id':_0x5ea431['sugarcrmAccount']['id'],'sort':'-updatedAt'})[_0x477d('0x38b')]['then'](function(_0x14ef64){_0x5ea431['configurations']=_0x14ef64['rows']?_0x14ef64[_0x477d('0xf2')]:[];if(_0x5ea431['configurations'][_0x477d('0x79')]){_0x5ea431[_0x477d('0x1b60')](0x0);}return _0x148288['variable'][_0x477d('0x376')]({'nolimit':!![],'sort':'name'})['$promise'];})[_0x477d('0x76')](function(_0x1d77d5){_0x5ea431['variables']=_0x1d77d5[_0x477d('0xf2')]?_0x1d77d5[_0x477d('0xf2')]:[];_0x5ea431[_0x477d('0x1a4e')]=_[_0x477d('0xdb5')](_0x5ea431['variables'],'id');})[_0x477d('0xf8')](function(_0x3a7a41){_0x1965d5[_0x477d('0x44a')]({'title':_0x3a7a41[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x3a7a41[_0x477d('0x3c3')]+'\x20-\x20'+_0x3a7a41[_0x477d('0x44d')]:_0x477d('0x19ea'),'msg':_0x3a7a41['data']?JSON[_0x477d('0x3fb')](_0x3a7a41[_0x477d('0x451')]):_0x3a7a41['toString']()});});}function _0x4fc5e6(_0x5cd8d6){_0x5ea431[_0x477d('0x1b5f')]=_0x5ea431['configurations'][_0x5cd8d6];_0x5ea431['selectedSugarcrmConfiguration']=_0x5cd8d6;_0x148288['intSugarcrmConfiguration'][_0x477d('0x19eb')]({'id':_0x5ea431[_0x477d('0x1b5f')]['id']})['$promise'][_0x477d('0x76')](function(_0x56a9df){_0x5ea431['subjects']=_0x56a9df[_0x477d('0xf2')]?_0x56a9df[_0x477d('0xf2')]:[];return _0x148288['intSugarcrmConfiguration']['getDescriptions']({'id':_0x5ea431['sugarcrmConfiguration']['id']})['$promise'];})[_0x477d('0x76')](function(_0xf8bf30){_0x5ea431[_0x477d('0x19ed')]=_0xf8bf30[_0x477d('0xf2')]?_0xf8bf30[_0x477d('0xf2')]:[];return _0x148288[_0x477d('0xbf0')][_0x477d('0xe26')]({'id':_0x5ea431[_0x477d('0x1b5f')]['id']})[_0x477d('0x38b')];})['then'](function(_0x51a130){_0x5ea431['fields']=_0x51a130['rows']?_0x51a130[_0x477d('0xf2')]:[];})[_0x477d('0xf8')](function(_0x2e3d35){_0x1965d5[_0x477d('0x44a')]({'title':_0x2e3d35['status']?_0x477d('0x44b')+_0x2e3d35[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x2e3d35[_0x477d('0x44d')]:_0x477d('0x19ee'),'msg':_0x2e3d35['data']?JSON['stringify'](_0x2e3d35[_0x477d('0x451')]):_0x2e3d35[_0x477d('0x453')]()});});}function _0x462e8c(_0x54e48d,_0x3049e6){_0x357204['show']({'controller':_0x477d('0x1b62'),'controllerAs':'vm','templateUrl':_0x477d('0x1b63'),'parent':angular['element'](_0x2b3fed[_0x477d('0x399')]),'targetEvent':_0x54e48d,'clickOutsideToClose':!![],'locals':{'sugarcrmConfiguration':_0x3049e6,'configurations':_0x5ea431['configurations'],'license':null,'setting':null,'crudPermissions':_0x5ea431[_0x477d('0xd66')]}})['finally'](function(){_0x5ea431[_0x477d('0x1b60')](0x0);});}function _0x4391bd(_0xca8eac,_0x25761c){var _0x5b03d4=_0x357204[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x1b64'))[_0x477d('0xd92')](''+(_0x25761c['name']||_0x477d('0x1b5f'))+''+_0x477d('0xd95'))['ariaLabel'](_0x477d('0x1b65'))[_0x477d('0xd7c')](_0xca8eac)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x357204['show'](_0x5b03d4)[_0x477d('0x76')](function(){_0x148288[_0x477d('0xbf0')][_0x477d('0xa55')]({'id':_0x25761c['id']})[_0x477d('0x38b')]['then'](function(){_[_0x477d('0x39c')](_0x5ea431[_0x477d('0x19df')],{'id':_0x25761c['id']});_0x1965d5[_0x477d('0x485')]({'title':_0x477d('0x1b66'),'msg':_0x25761c['name']?_0x25761c[_0x477d('0x94')]+'\x20has\x20been\x20deleted!':''});})[_0x477d('0xf8')](function(_0x37b633){_0x1965d5[_0x477d('0x44a')]({'title':_0x37b633[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x37b633[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x37b633[_0x477d('0x44d')]:_0x477d('0x19f1'),'msg':_0x37b633[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x37b633[_0x477d('0x451')]):_0x37b633[_0x477d('0x453')]()});})[_0x477d('0x5ff')](function(){_0x5ea431[_0x477d('0x1b60')](0x0);});},function(){console[_0x477d('0x7b')](_0x477d('0xd97'));});}_0x5ea431[_0x477d('0x19fa')]=[];_0x5ea431[_0x477d('0x19f2')]=_0x1a18f6;_0x5ea431['deleteSubjectConfirm']=_0x602bb3;_0x5ea431[_0x477d('0x19f4')]=_0x28b1af;function _0x1a18f6(_0x54656e,_0x4e13e3){_0x357204['show']({'controller':_0x477d('0x1b67'),'controllerAs':'vm','templateUrl':_0x477d('0x1b68'),'parent':angular[_0x477d('0x398')](_0x2b3fed[_0x477d('0x399')]),'targetEvent':_0x54656e,'clickOutsideToClose':!![],'locals':{'type':_0x477d('0x135c'),'item':_0x4e13e3,'items':_0x5ea431['subjects'],'configuration':_0x5ea431[_0x477d('0x1b5f')],'account':_0x5ea431[_0x477d('0x1b52')],'license':null,'setting':null,'crudPermissions':_0x5ea431[_0x477d('0xd66')]}});}function _0x2895dd(_0x91e788){_0x148288['intSugarcrmField']['delete']({'id':_0x91e788['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x5ea431[_0x477d('0x19ec')],{'id':_0x91e788['id']});_0x1965d5[_0x477d('0x485')]({'title':'Subject\x20deleted!','msg':_0x477d('0x19f7')});})[_0x477d('0xf8')](function(_0x8c62a1){_0x1965d5[_0x477d('0x44a')]({'title':_0x8c62a1[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x8c62a1['status']+_0x477d('0x44c')+_0x8c62a1[_0x477d('0x44d')]:'SYSTEM:DELETECONFIGURATIONFIELD','msg':_0x8c62a1['data']?JSON['stringify'](_0x8c62a1[_0x477d('0x451')]):_0x8c62a1[_0x477d('0x453')]()});});}function _0x602bb3(_0x19ff3a,_0x452854){var _0x1453c5=_0x357204['confirm']()[_0x477d('0x49a')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20subject?')[_0x477d('0xd92')](_0x477d('0x19f9')+_0x477d('0xd95'))['ariaLabel'](_0x477d('0x1a56'))[_0x477d('0xd7c')](_0x19ff3a)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x357204['show'](_0x1453c5)[_0x477d('0x76')](function(){_0x2895dd(_0x452854);},function(){console[_0x477d('0x7b')](_0x477d('0xd97'));});}function _0x28b1af(_0x4819f3){var _0x211994=_0x357204['confirm']()[_0x477d('0x49a')](_0x477d('0x1a8d'))[_0x477d('0xd92')](_0x477d('0xd93')+_0x5ea431['selectedSubjects'][_0x477d('0x79')]+_0x477d('0xda0')+_0x477d('0xd95'))[_0x477d('0x687')]('delete\x20subjects')[_0x477d('0xd7c')](_0x4819f3)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x357204[_0x477d('0x395')](_0x211994)['then'](function(){_0x5ea431[_0x477d('0x19fa')][_0x477d('0x3b1')](function(_0x53fee6){_0x2895dd(_0x53fee6);});_0x5ea431[_0x477d('0x19fa')]=[];});}_0x5ea431[_0x477d('0x19fc')]=[];_0x5ea431[_0x477d('0x19fd')]=_0x3bdf67;_0x5ea431[_0x477d('0x19fe')]=_0x596381;_0x5ea431[_0x477d('0x1a57')]=_0x34825f;function _0x3bdf67(_0x929ceb,_0x1e985d){_0x357204[_0x477d('0x395')]({'controller':'CreateOrEditSugarcrmAccountItemDialogController','controllerAs':'vm','templateUrl':_0x477d('0x1b68'),'parent':angular[_0x477d('0x398')](_0x2b3fed[_0x477d('0x399')]),'targetEvent':_0x929ceb,'clickOutsideToClose':!![],'locals':{'type':'description','item':_0x1e985d,'items':_0x5ea431['descriptions'],'configuration':_0x5ea431['sugarcrmConfiguration'],'account':_0x5ea431[_0x477d('0x1b52')],'license':null,'setting':null,'crudPermissions':_0x5ea431[_0x477d('0xd66')]}});}function _0x1433f7(_0x95d1a2){_0x148288[_0x477d('0xbf6')]['delete']({'id':_0x95d1a2['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x5ea431[_0x477d('0x19ed')],{'id':_0x95d1a2['id']});_0x1965d5[_0x477d('0x485')]({'title':_0x477d('0x1a5a'),'msg':_0x477d('0x19ff')});})['catch'](function(_0x1ff20b){_0x1965d5[_0x477d('0x44a')]({'title':_0x1ff20b[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x1ff20b[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x1ff20b['statusText']:_0x477d('0x19f8'),'msg':_0x1ff20b['data']?JSON[_0x477d('0x3fb')](_0x1ff20b['data']):_0x1ff20b[_0x477d('0x453')]()});});}function _0x596381(_0x30a11c,_0x10e992){var _0x4bdc30=_0x357204[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x1a00'))[_0x477d('0xd92')](_0x477d('0x1a01')+'\x20will\x20be\x20deleted.')[_0x477d('0x687')]('delete\x20description')[_0x477d('0xd7c')](_0x30a11c)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x357204[_0x477d('0x395')](_0x4bdc30)[_0x477d('0x76')](function(){_0x1433f7(_0x10e992);},function(){console[_0x477d('0x7b')](_0x477d('0xd97'));});}function _0x34825f(_0x257b72){var _0x461aad=_0x357204['confirm']()[_0x477d('0x49a')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20descriptions?')[_0x477d('0xd92')](_0x477d('0xd93')+_0x5ea431[_0x477d('0x19fc')][_0x477d('0x79')]+_0x477d('0xda0')+'\x20will\x20be\x20deleted.')['ariaLabel'](_0x477d('0x1a04'))['targetEvent'](_0x257b72)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x357204[_0x477d('0x395')](_0x461aad)[_0x477d('0x76')](function(){_0x5ea431['selectedDescriptions'][_0x477d('0x3b1')](function(_0xe56674){_0x1433f7(_0xe56674);});_0x5ea431[_0x477d('0x19fc')]=[];});}_0x5ea431[_0x477d('0x1a08')]=[];_0x5ea431['createOrEditField']=_0x2d0fff;_0x5ea431[_0x477d('0x1a8f')]=_0x40d83d;_0x5ea431[_0x477d('0x1a06')]=_0x1230a9;function _0x2d0fff(_0x196c28,_0x243cbd){_0x357204[_0x477d('0x395')]({'controller':_0x477d('0x1b67'),'controllerAs':'vm','templateUrl':'app/main/apps/integrations/views/sugarcrmAccounts/edit/item/dialog.html','parent':angular[_0x477d('0x398')](_0x2b3fed[_0x477d('0x399')]),'targetEvent':_0x196c28,'clickOutsideToClose':!![],'locals':{'type':_0x477d('0x463'),'item':_0x243cbd,'items':_0x5ea431['fields'],'configuration':_0x5ea431[_0x477d('0x1b5f')],'account':_0x5ea431[_0x477d('0x1b52')],'license':null,'setting':null,'crudPermissions':_0x5ea431[_0x477d('0xd66')]}});}function _0x160a31(_0x273a5d){_0x148288[_0x477d('0xbf6')]['delete']({'id':_0x273a5d['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_['remove'](_0x5ea431[_0x477d('0x458')],{'id':_0x273a5d['id']});_0x1965d5[_0x477d('0x485')]({'title':'Field\x20deleted!','msg':_0x477d('0x1a90')});})[_0x477d('0xf8')](function(_0xd393d4){_0x1965d5[_0x477d('0x44a')]({'title':_0xd393d4[_0x477d('0x3c3')]?_0x477d('0x44b')+_0xd393d4[_0x477d('0x3c3')]+_0x477d('0x44c')+_0xd393d4['statusText']:_0x477d('0x19f8'),'msg':_0xd393d4[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0xd393d4['data']):_0xd393d4[_0x477d('0x453')]()});});}function _0x40d83d(_0x458ccc,_0x188898){var _0x51a15c=_0x357204['confirm']()[_0x477d('0x49a')](_0x477d('0xe6d'))['htmlContent'](_0x477d('0x1a5b')+'\x20will\x20be\x20deleted.')['ariaLabel'](_0x477d('0x1a91'))[_0x477d('0xd7c')](_0x458ccc)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x357204[_0x477d('0x395')](_0x51a15c)[_0x477d('0x76')](function(){_0x160a31(_0x188898);},function(){console[_0x477d('0x7b')](_0x477d('0xd97'));});}function _0x1230a9(_0x3d20bf){var _0x130781=_0x357204['confirm']()['title'](_0x477d('0xe72'))[_0x477d('0xd92')](''+_0x5ea431[_0x477d('0x1a08')][_0x477d('0x79')]+'\x20selected'+_0x477d('0xd95'))[_0x477d('0x687')]('delete\x20fields')['targetEvent'](_0x3d20bf)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x357204['show'](_0x130781)[_0x477d('0x76')](function(){_0x5ea431[_0x477d('0x1a08')][_0x477d('0x3b1')](function(_0xf7609b){_0x160a31(_0xf7609b);});_0x5ea431['selectedFields']=[];});}}}());(function(){'use strict';_0x45112b[_0x477d('0xa')]=['$scope',_0x477d('0x3c4'),_0x477d('0xd64'),'$mdDialog','$q',_0x477d('0x40d'),_0x477d('0x40e'),_0x477d('0x19df'),'sugarcrmConfiguration',_0x477d('0x386'),_0x477d('0x55'),_0x477d('0x613'),_0x477d('0xc8e'),'crudPermissions'];angular[_0x477d('0xb')](_0x477d('0x38'))[_0x477d('0x3ba')](_0x477d('0x1b62'),_0x45112b);function _0x45112b(_0x46888c,_0x53acc5,_0x21ea1a,_0x2bf527,_0x1869a2,_0x29ed3b,_0x1e80bf,_0x4b5c4f,_0xbbe5b8,_0x4873d4,_0x5209f3,_0x179495,_0x10a8f1,_0x36b1b5){var _0x2360ae=this;_0x2360ae[_0x477d('0x3e5')]=_0x5209f3[_0x477d('0x5c')]();_0x2360ae[_0x477d('0xd67')]=[];_0x2360ae['setting']=_0x10a8f1;_0x2360ae['license']=_0x179495;_0x2360ae[_0x477d('0xd66')]=_0x36b1b5;_0x2360ae[_0x477d('0xd68')]={};_0x2360ae[_0x477d('0xd69')]=_0x2360ae[_0x477d('0xc8e')]&&_0x2360ae[_0x477d('0xc8e')][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x2360ae['title']='INTEGRATIONS.EDIT_SUGARCRMCONFIGURATION';_0x2360ae[_0x477d('0x1b5f')]=angular[_0x477d('0x6d9')](_0xbbe5b8);_0x2360ae[_0x477d('0x19df')]=_0x4b5c4f;_0x2360ae[_0x477d('0x1b69')]=![];if(!_0x2360ae['sugarcrmConfiguration']){_0x2360ae['sugarcrmConfiguration']={'channel':'voice','type':_0x477d('0x9e')};_0x2360ae[_0x477d('0x49a')]=_0x477d('0x1b6a');_0x2360ae[_0x477d('0x1b69')]=!![];}_0x2360ae[_0x477d('0x1b6b')]=_0x1429c3;_0x2360ae[_0x477d('0x1b6c')]=_0xbc7a5e;_0x2360ae['deleteSugarcrmConfiguration']=_0x461f61;_0x2360ae['getDateFromString']=_0x240439;_0x2360ae[_0x477d('0x6bf')]=_0x261a1c;function _0x1429c3(){_0x2360ae['errors']=[];_0x4873d4['intSugarcrmAccount'][_0x477d('0x1a61')]({'id':_0x53acc5[_0x477d('0x37e')]['id']},_0x2360ae[_0x477d('0x1b5f')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x844604){_0x2360ae['configurations'][_0x477d('0x63b')](_0x844604['toJSON']());_0x1e80bf[_0x477d('0x485')]({'title':'SugarcrmConfiguration\x20properly\x20created','msg':_0x2360ae['sugarcrmConfiguration'][_0x477d('0x94')]?_0x2360ae[_0x477d('0x1b5f')][_0x477d('0x94')]+_0x477d('0xd73'):''});_0x261a1c(_0x844604);})[_0x477d('0xf8')](function(_0x4fb0f6){if(_0x4fb0f6[_0x477d('0x451')]&&_0x4fb0f6['data'][_0x477d('0xd67')]&&_0x4fb0f6['data'][_0x477d('0xd67')][_0x477d('0x79')]){_0x2360ae[_0x477d('0xd67')]=_0x4fb0f6[_0x477d('0x451')]['errors']||[{'message':_0x4fb0f6['toString'](),'type':_0x477d('0x1b6d')}];for(var _0x2be8df=0x0;_0x2be8df<_0x4fb0f6['data'][_0x477d('0xd67')]['length'];_0x2be8df+=0x1){_0x1e80bf[_0x477d('0x44a')]({'title':_0x4fb0f6[_0x477d('0x451')][_0x477d('0xd67')][_0x2be8df]['type'],'msg':_0x4fb0f6['data']['errors'][_0x2be8df]['message']});}}else{_0x1e80bf[_0x477d('0x44a')]({'title':_0x4fb0f6[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x4fb0f6[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x4fb0f6['statusText']:_0x477d('0x1b6d'),'msg':_0x4fb0f6[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x4fb0f6['data']['message']):_0x4fb0f6[_0x477d('0x453')]()});}});}function _0xbc7a5e(){_0x2360ae[_0x477d('0xd67')]=[];_0x4873d4[_0x477d('0xbf0')][_0x477d('0x710')]({'id':_0x2360ae[_0x477d('0x1b5f')]['id']},_0x2360ae[_0x477d('0x1b5f')])[_0x477d('0x38b')]['then'](function(_0x3c5daa){var _0xe5ca31=_[_0x477d('0x10a')](_0x2360ae[_0x477d('0x19df')],{'id':_0x3c5daa['id']});if(_0xe5ca31){_['merge'](_0xe5ca31,_[_0x477d('0x10b')](_0x3c5daa[_0x477d('0xd71')](),_[_0x477d('0x7f')](_0xe5ca31)));}_0x1e80bf[_0x477d('0x485')]({'title':_0x477d('0x1b6e'),'msg':_0x2360ae['sugarcrmConfiguration']['name']?_0x2360ae[_0x477d('0x1b5f')]['name']+'\x20has\x20been\x20saved!':''});_0x261a1c(_0x3c5daa);})[_0x477d('0xf8')](function(_0x42f011){if(_0x42f011[_0x477d('0x451')]&&_0x42f011[_0x477d('0x451')]['errors']&&_0x42f011[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x2360ae[_0x477d('0xd67')]=_0x42f011['data']['errors']||[{'message':_0x42f011[_0x477d('0x453')](),'type':'api.intSugarcrmConfiguration.update'}];for(var _0xe53db2=0x0;_0xe53db2<_0x42f011[_0x477d('0x451')]['errors']['length'];_0xe53db2++){_0x1e80bf[_0x477d('0x44a')]({'title':_0x42f011[_0x477d('0x451')][_0x477d('0xd67')][_0xe53db2]['type'],'msg':_0x42f011[_0x477d('0x451')][_0x477d('0xd67')][_0xe53db2][_0x477d('0x452')]});}}else{_0x1e80bf[_0x477d('0x44a')]({'title':_0x42f011[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x42f011[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x42f011[_0x477d('0x44d')]:_0x477d('0x1b6f'),'msg':_0x42f011[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x42f011['data'][_0x477d('0x452')]):_0x42f011[_0x477d('0x453')]()});}});}function _0x461f61(_0xdcb350){_0x2360ae[_0x477d('0xd67')]=[];var _0x6063bf=_0x2bf527[_0x477d('0xd78')]()['title'](_0x477d('0xd79'))['content'](_0x477d('0x1b70'))['ariaLabel'](_0x477d('0x1b71'))['ok'](_0x477d('0xd7b'))[_0x477d('0x4f0')](_0x477d('0x688'))['targetEvent'](_0xdcb350);_0x2bf527[_0x477d('0x395')](_0x6063bf)[_0x477d('0x76')](function(){_0x4873d4[_0x477d('0xbf0')][_0x477d('0xa55')]({'id':_0x2360ae[_0x477d('0x1b5f')]['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x2360ae['configurations'],{'id':_0x2360ae['sugarcrmConfiguration']['id']});_0x1e80bf[_0x477d('0x485')]({'title':_0x477d('0x1b72'),'msg':(_0x2360ae[_0x477d('0x1b5f')][_0x477d('0x94')]||_0x477d('0x1b5f'))+'\x20has\x20been\x20deleted!'});_0x261a1c(_0x2360ae[_0x477d('0x1b5f')]);})[_0x477d('0xf8')](function(_0x18e1c2){if(_0x18e1c2['data']&&_0x18e1c2['data']['errors']&&_0x18e1c2['data'][_0x477d('0xd67')][_0x477d('0x79')]){_0x2360ae['errors']=_0x18e1c2[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x18e1c2[_0x477d('0x453')](),'type':_0x477d('0x1b73')}];for(var _0x4e0df2=0x0;_0x4e0df2<_0x18e1c2['data'][_0x477d('0xd67')][_0x477d('0x79')];_0x4e0df2++){_0x1e80bf[_0x477d('0x44a')]({'title':_0x18e1c2[_0x477d('0x451')][_0x477d('0xd67')][_0x4e0df2][_0x477d('0x439')],'msg':_0x18e1c2['data'][_0x477d('0xd67')][_0x4e0df2][_0x477d('0x452')]});}}else{_0x1e80bf[_0x477d('0x44a')]({'title':_0x18e1c2['status']?_0x477d('0x44b')+_0x18e1c2[_0x477d('0x3c3')]+'\x20-\x20'+_0x18e1c2['statusText']:_0x477d('0x1b73'),'msg':_0x18e1c2[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x18e1c2['data'][_0x477d('0x452')]):_0x18e1c2[_0x477d('0x452')]||_0x18e1c2[_0x477d('0x453')]()});}});},function(){});}function _0x240439(_0x5c7aba){return _0x5c7aba===null?undefined:new Date(_0x5c7aba);}function _0x261a1c(_0x2f28f7){_0x2bf527[_0x477d('0x3bc')](_0x2f28f7);}}}());(function(){'use strict';_0x2ae660[_0x477d('0xa')]=[_0x477d('0x474'),'$state',_0x477d('0xd64'),_0x477d('0x384'),_0x477d('0x40e'),'configuration',_0x477d('0x4a6'),_0x477d('0x1a15'),_0x477d('0x15e5'),_0x477d('0x439'),'api',_0x477d('0x55'),_0x477d('0xd66')];angular[_0x477d('0xb')]('app.integrations')[_0x477d('0x3ba')](_0x477d('0x1b67'),_0x2ae660);function _0x2ae660(_0x5d8b67,_0x8ba3af,_0x2254df,_0x36e8ab,_0x2675fe,_0x122189,_0x485ba3,_0x4e6e6b,_0x5a79e3,_0x26a714,_0x2de342,_0x8c73a1,_0x2fd452){var _0x579ae8=this;_0x579ae8[_0x477d('0x3e5')]=_0x8c73a1[_0x477d('0x5c')]();_0x579ae8[_0x477d('0xd67')]=[];_0x579ae8[_0x477d('0x49a')]='INTEGRATIONS.EDIT_'+_[_0x477d('0x1a14')](_0x26a714);_0x579ae8[_0x477d('0x1a15')]=angular['copy'](_0x4e6e6b);_0x579ae8[_0x477d('0x4a6')]=_0x485ba3;_0x579ae8['type']=_0x26a714;_0x579ae8[_0x477d('0xd66')]=_0x2fd452;_0x579ae8[_0x477d('0x1a17')]=![];if(!_0x579ae8[_0x477d('0x1a15')]){_0x579ae8[_0x477d('0x1a15')]={'type':_0x477d('0x1a68')};_0x579ae8[_0x477d('0x1a15')][_['capitalize'](_0x26a714)+'Id']=_0x122189['id'];_0x579ae8[_0x477d('0x49a')]=_0x477d('0x1a16')+_[_0x477d('0x1a14')](_0x26a714);_0x579ae8[_0x477d('0x1a17')]=!![];}_0x579ae8[_0x477d('0x1a18')]=_0x1dac3c;_0x579ae8[_0x477d('0x15f9')]=_0x3a9eae;_0x579ae8['deleteItem']=_0x56257c;_0x579ae8[_0x477d('0x1a19')]=_0x5003a7;_0x579ae8[_0x477d('0x6bf')]=_0x195627;_0x2de342['variable'][_0x477d('0x376')]({'nolimit':!![]})['$promise'][_0x477d('0x76')](function(_0x454285){_0x579ae8['variables']=_0x454285[_0x477d('0xf2')]?_0x454285[_0x477d('0xf2')]:[];return _0x2de342[_0x477d('0xa9c')][_0x477d('0xe27')]()[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x320207){_0x579ae8[_0x477d('0x1a1a')]=_[_0x477d('0x7e')](_[_0x477d('0x7f')](_0x320207),['$promise',_0x477d('0x80'),_0x477d('0xe37'),_0x477d('0xe38'),_0x477d('0x1a1c')]);_0x579ae8['voiceAgentReportColumns'][_0x477d('0x3a7')](_0x477d('0x1a1d'));return _0x2de342[_0x477d('0xa99')]['describe']()['$promise'];})[_0x477d('0x76')](function(_0x11b579){_0x579ae8[_0x477d('0x1a1b')]=_[_0x477d('0x7e')](_[_0x477d('0x7f')](_0x11b579),['$promise','$resolved',_0x477d('0xe37'),'updatedAt','sourceid']);_0x579ae8[_0x477d('0x1a1b')][_0x477d('0x3a7')](_0x477d('0x1a1d'));})[_0x477d('0xf8')](function(_0x221dbb){_0x2675fe[_0x477d('0x44a')]({'title':_0x221dbb[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x221dbb[_0x477d('0x3c3')]+'\x20-\x20'+_0x221dbb[_0x477d('0x44d')]:_0x477d('0x1a1e'),'msg':_0x221dbb['data']?JSON[_0x477d('0x3fb')](_0x221dbb[_0x477d('0x451')]):_0x221dbb[_0x477d('0x453')]()});});_0x2de342[_0x477d('0xbeb')][_0x477d('0xe26')]({'id':_0x5a79e3['id'],'ticketType':_0x122189[_0x477d('0x1a1f')]?_0x122189[_0x477d('0x1a1f')]:undefined})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x130c3){_0x579ae8[_0x477d('0x1a20')]=!![];_0x579ae8[_0x477d('0x458')]=_0x130c3['rows']?_0x130c3[_0x477d('0xf2')]:[];if(_0x579ae8[_0x477d('0x1a15')]['idField']){_0x579ae8[_0x477d('0x1532')]=_[_0x477d('0x10a')](_0x579ae8[_0x477d('0x458')],{'id':_0x579ae8[_0x477d('0x1a15')][_0x477d('0x1a22')]});}})[_0x477d('0xf8')](function(_0x154dc8){_0x579ae8[_0x477d('0x1a20')]=![];console[_0x477d('0x44a')](_0x154dc8);});function _0x1dac3c(){_0x579ae8[_0x477d('0xd67')]=[];if(_0x579ae8[_0x477d('0x1532')]){_0x579ae8[_0x477d('0x1a15')]['idField']=_0x579ae8[_0x477d('0x1532')]['id'];_0x579ae8[_0x477d('0x1a15')][_0x477d('0x1a23')]=_0x579ae8[_0x477d('0x1532')]['name'];_0x579ae8[_0x477d('0x1a15')][_0x477d('0x1532')]=_0x579ae8[_0x477d('0x1532')]['custom'];}_0x2de342[_0x477d('0xbf6')][_0x477d('0xd70')](_0x579ae8[_0x477d('0x1a15')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x3a7151){_0x579ae8[_0x477d('0x4a6')]['unshift'](_0x3a7151);_0x2675fe[_0x477d('0x485')]({'title':_[_0x477d('0x12e0')](_0x26a714)+_0x477d('0x1a21'),'msg':_[_0x477d('0x12e0')](_0x26a714)+'\x20has\x20been\x20created!'});_0x195627();})[_0x477d('0xf8')](function(_0xa26ad8){console['error'](_0xa26ad8);_0x579ae8[_0x477d('0xd67')]=_0xa26ad8[_0x477d('0x451')]['errors']||[{'message':_0xa26ad8[_0x477d('0x453')](),'type':_0x477d('0x1a69')}];});}function _0x3a9eae(){_0x579ae8[_0x477d('0xd67')]=[];if(_0x579ae8['customField']){_0x579ae8[_0x477d('0x1a15')][_0x477d('0x1a22')]=_0x579ae8[_0x477d('0x1532')]['id'];_0x579ae8[_0x477d('0x1a15')][_0x477d('0x1a23')]=_0x579ae8['customField'][_0x477d('0x94')];_0x579ae8[_0x477d('0x1a15')][_0x477d('0x1532')]=_0x579ae8[_0x477d('0x1532')]['custom'];}_0x2de342[_0x477d('0xbf6')][_0x477d('0x710')]({'id':_0x579ae8[_0x477d('0x1a15')]['id']},_0x579ae8[_0x477d('0x1a15')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0xfd747f){var _0x2aa028=_[_0x477d('0x10a')](_0x579ae8[_0x477d('0x4a6')],{'id':_0xfd747f['id']});if(_0x2aa028){_['merge'](_0x2aa028,_0xfd747f);}_0x2675fe[_0x477d('0x485')]({'title':_[_0x477d('0x12e0')](_0x26a714)+_0x477d('0x1a6a'),'msg':_[_0x477d('0x12e0')](_0x26a714)+_0x477d('0xd76')});_0x195627();})['catch'](function(_0x3dd8b){console[_0x477d('0x44a')](_0x3dd8b);_0x579ae8[_0x477d('0xd67')]=_0x3dd8b['data'][_0x477d('0xd67')]||[{'message':_0x3dd8b[_0x477d('0x453')](),'type':_0x477d('0x1a24')}];});}function _0x56257c(_0x4ccd0c){_0x579ae8['errors']=[];var _0x2e95ad=_0x36e8ab[_0x477d('0xd78')]()['title']('Are\x20you\x20sure?')[_0x477d('0xdaf')]('The\x20'+_0x26a714+_0x477d('0xd95'))['ariaLabel']('Delete\x20'+_['capitalize'](_0x26a714))['ok'](_0x477d('0xd7b'))[_0x477d('0x4f0')](_0x477d('0x688'))[_0x477d('0xd7c')](_0x4ccd0c);_0x36e8ab[_0x477d('0x395')](_0x2e95ad)['then'](function(){_0x2de342[_0x477d('0xbf6')]['delete']({'id':_0x579ae8['item']['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_['remove'](_0x579ae8[_0x477d('0x4a6')],{'id':_0x579ae8[_0x477d('0x1a15')]['id']});_0x2675fe[_0x477d('0x485')]({'title':_['capitalize'](_0x26a714)+_0x477d('0x1a26'),'msg':_[_0x477d('0x12e0')](_0x26a714)+_0x477d('0xd7e')});_0x195627();})[_0x477d('0xf8')](function(_0x13095e){console[_0x477d('0x44a')](_0x13095e);_0x579ae8['errors']=_0x13095e['data']['errors']||[{'message':_0x13095e[_0x477d('0x453')](),'type':_0x477d('0x1a27')}];});},function(){});}function _0x5003a7(){if(_0x579ae8[_0x477d('0x1a15')][_0x477d('0x1a28')]!==undefined){return _0x579ae8['item'][_0x477d('0x1a28')];}else{return _0x477d('0x1a29');}};function _0x195627(){_0x36e8ab['hide']();}}}());(function(){'use strict';_0x14be69[_0x477d('0xa')]=[_0x477d('0x3c4'),'$location',_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x40d'),'license',_0x477d('0xc8e'),_0x477d('0x386'),_0x477d('0x40e'),_0x477d('0x55'),_0x477d('0x1b52'),_0x477d('0x3ac')];angular[_0x477d('0xb')](_0x477d('0x38'))[_0x477d('0x3ba')](_0x477d('0x1b74'),_0x14be69);function _0x14be69(_0x7ed953,_0x971139,_0x19ed54,_0x305cfc,_0x28dfb9,_0x42e368,_0x1e3be7,_0x12d029,_0x42a356,_0x5e9e04,_0x583eb4,_0x30e231){var _0x320eba=this;_0x320eba[_0x477d('0x3e5')]=_0x5e9e04[_0x477d('0x5c')]();_0x320eba[_0x477d('0x613')]=_0x42e368;_0x320eba[_0x477d('0xc8e')]=_0x1e3be7;_0x320eba[_0x477d('0xd69')]=_0x320eba[_0x477d('0xc8e')][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x320eba[_0x477d('0x3cc')]=_0x971139[_0x477d('0x3ce')]()+_0x477d('0x1209')+_0x971139[_0x477d('0x3c9')]();_0x320eba['sugarcrmAccount']=_0x583eb4||_0x7ed953[_0x477d('0x37e')][_0x477d('0x1b52')]||{};_0x320eba[_0x477d('0x3ac')]=_0x30e231&&_0x30e231[_0x477d('0x3bb')]==0x1?_0x30e231['rows'][0x0]:null;_0x320eba[_0x477d('0xd66')]=_0x5e9e04[_0x477d('0xd81')](_0x320eba[_0x477d('0x3ac')]?_0x320eba['userProfileSection'][_0x477d('0xd66')]:null);_0x320eba[_0x477d('0xd68')]={};_0x320eba[_0x477d('0xe95')]=_0x7ed953[_0x477d('0x37e')][_0x477d('0xe96')]||0x0;_0x320eba[_0x477d('0x120a')]=_0x42a356[_0x477d('0x669')];_0x320eba[_0x477d('0x1b75')]=_0x36066f;_0x320eba['saveSugarcrmAccount']=_0x4824a6;function _0x36066f(){_0x7ed953['go'](_0x477d('0x18a'),{},{'reload':_0x477d('0x18a')});}function _0x4824a6(){_0x12d029[_0x477d('0xbeb')][_0x477d('0x710')]({'id':_0x320eba['sugarcrmAccount']['id']},_0x320eba[_0x477d('0x1b52')])[_0x477d('0x38b')][_0x477d('0x76')](function(){_0x42a356['success']({'title':'SugarcrmAccount\x20updated!','msg':_0x320eba[_0x477d('0x1b52')][_0x477d('0x94')]?_0x320eba[_0x477d('0x1b52')]['name']+_0x477d('0xed7'):''});})[_0x477d('0xf8')](function(_0x558200){_0x42a356[_0x477d('0x44a')]({'title':_0x558200[_0x477d('0x3c3')]?'API:'+_0x558200[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x558200[_0x477d('0x44d')]:_0x477d('0x1b76'),'msg':_0x558200[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x558200[_0x477d('0x451')]):_0x558200[_0x477d('0x453')]()});});}}}());(function(){'use strict';_0xf32917['$inject']=[_0x477d('0x474'),_0x477d('0x387'),_0x477d('0x3c4'),'$mdSidenav',_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x3fe'),_0x477d('0x40d'),_0x477d('0x1b51'),'userProfile','userProfileSection',_0x477d('0x386'),_0x477d('0x342'),_0x477d('0x40e'),'Auth',_0x477d('0x613'),'setting'];angular[_0x477d('0xb')](_0x477d('0x38'))[_0x477d('0x3ba')](_0x477d('0x1b77'),_0xf32917);function _0xf32917(_0x27bc51,_0x32e4e4,_0x5337e7,_0x5d6e5e,_0x58bddc,_0x3d969b,_0x411df7,_0x41a940,_0x58813c,_0x477922,_0x26107d,_0x4883c2,_0x291bd,_0x3c9fd9,_0x2cd85c,_0x4e0a97,_0x30d4db){var _0x286c80=this;_0x286c80[_0x477d('0x613')]=_0x4e0a97;_0x286c80['setting']=_0x30d4db;_0x286c80['currentUser']=_0x2cd85c[_0x477d('0x5c')]();_0x286c80[_0x477d('0x1b51')]=_0x58813c||{'count':0x0,'rows':[]};_0x286c80['userProfile']=_0x477922;_0x286c80[_0x477d('0x3ac')]=_0x26107d&&_0x26107d[_0x477d('0x3bb')]==0x1?_0x26107d['rows'][0x0]:null;_0x286c80['crudPermissions']=_0x2cd85c['parseCrudPermissions'](_0x286c80[_0x477d('0x3ac')]?_0x286c80[_0x477d('0x3ac')][_0x477d('0xd66')]:null);_0x286c80[_0x477d('0xd82')]=_0x477d('0x1b51');_0x286c80[_0x477d('0xd83')]='';_0x286c80['listOrderAsc']=null;_0x286c80['selectedSugarcrmAccounts']=[];_0x286c80['query']={'fields':_0x477d('0x18f'),'limit':0xa,'page':0x1};_0x286c80[_0x477d('0xea6')]=_0x36abdd;_0x286c80[_0x477d('0x19d4')]=_0x33a40c;_0x286c80['deleteconfirm']=_0x5ec158;_0x286c80[_0x477d('0x485')]=_0x132e36;_0x286c80[_0x477d('0x1b78')]=_0x3b5b2b;_0x286c80[_0x477d('0x1b79')]=_0x108915;_0x286c80[_0x477d('0x1b7a')]=_0x474fe3;_0x286c80[_0x477d('0x1b7b')]=_0x399bb5;_0x286c80[_0x477d('0x1b7c')]=_0xa2af8;_0x286c80['deselectSugarcrmAccounts']=_0x16425a;_0x286c80['selectAllSugarcrmAccounts']=_0x2746b0;function _0x36abdd(_0x5cfb98,_0x36709d){_0x5337e7['go'](_0x477d('0x190'),{'id':_0x5cfb98['id'],'sugarcrmAccount':_0x5cfb98,'crudPermissions':_0x286c80[_0x477d('0xd66')]});}function _0x33a40c(_0x1c778e,_0x534b87){return _0x4883c2['intSugarcrmAccount'][_0x477d('0xe26')]({'id':_0x1c778e['id'],'test':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(){_0x3c9fd9['success']({'title':'SugarcrmAccount\x20properly\x20tested','msg':'Connection\x20succeded!'});})[_0x477d('0xf8')](function(_0x203eb5){_0x3c9fd9[_0x477d('0x44a')]({'title':_0x477d('0x1b7d'),'msg':_0x203eb5[_0x477d('0x451')]?_0x203eb5[_0x477d('0x451')][_0x477d('0x452')]?_0x203eb5[_0x477d('0x451')][_0x477d('0x452')]:JSON[_0x477d('0x3fb')](_0x203eb5['data']):_0x203eb5[_0x477d('0x453')]()});});}function _0x5ec158(_0x1891f3,_0x4494a5){var _0x1c282e=_0x58bddc[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xd90')+_[_0x477d('0xd91')](_0x477d('0x1b52'))+'?')[_0x477d('0xd92')](_0x477d('0xd93')+(_0x1891f3[_0x477d('0x94')]||_0x477d('0x1b52'))+''+_0x477d('0xd95'))['ariaLabel']('delete\x20sugarcrmAccount')[_0x477d('0xd7c')](_0x4494a5)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x58bddc[_0x477d('0x395')](_0x1c282e)[_0x477d('0x76')](function(){_0x474fe3(_0x1891f3);},function(){console[_0x477d('0x7b')](_0x477d('0xd97'));});}var _0x44262d=!![];var _0xb747eb=0x1;_0x27bc51[_0x477d('0x4b5')](_0x477d('0xd98'),function(_0x348731,_0x4484e7){if(_0x44262d){_0x411df7(function(){_0x44262d=![];});}else{if(!_0x4484e7){_0xb747eb=_0x286c80[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x348731!==_0x4484e7){_0x286c80['query'][_0x477d('0xe03')]=0x1;}if(!_0x348731){_0x286c80[_0x477d('0x3ef')]['page']=_0xb747eb;}_0x286c80[_0x477d('0x1b78')]();}});function _0x132e36(_0x1cdb46){_0x286c80['sugarcrmAccounts']=_0x1cdb46||{'count':0x0,'rows':[]};}function _0x3b5b2b(){_0x286c80[_0x477d('0x3ef')]['offset']=(_0x286c80[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x286c80[_0x477d('0x3ef')][_0x477d('0x91d')];if(_0x2cd85c[_0x477d('0x56')](_0x477d('0x5f'))){_0x286c80['promise']=_0x4883c2[_0x477d('0xbeb')]['get'](_0x286c80[_0x477d('0x3ef')],_0x132e36)[_0x477d('0x38b')];}else{_0x286c80['query']['id']=_0x286c80[_0x477d('0x3a5')]['id'];_0x286c80[_0x477d('0x3ef')][_0x477d('0xd99')]='SugarcrmAccounts';_0x286c80[_0x477d('0x553')]=_0x4883c2[_0x477d('0x3a5')][_0x477d('0xd9a')](_0x286c80[_0x477d('0x3ef')],_0x132e36)['$promise'];}}function _0x108915(_0x591eeb,_0x4e847e){_0x58bddc['show']({'controller':_0x477d('0x1b53'),'controllerAs':'vm','templateUrl':'app/main/apps/integrations/views/sugarcrmAccounts/create/dialog.html','parent':angular[_0x477d('0x398')](_0x3d969b[_0x477d('0x399')]),'targetEvent':_0x591eeb,'clickOutsideToClose':!![],'locals':{'sugarcrmAccount':_0x4e847e,'sugarcrmAccounts':_0x286c80[_0x477d('0x1b51')][_0x477d('0xf2')],'license':_0x286c80['license'],'setting':_0x286c80[_0x477d('0xc8e')],'crudPermissions':_0x286c80[_0x477d('0xd66')]}});}function _0x474fe3(_0x2b79ab){_0x4883c2[_0x477d('0xbeb')][_0x477d('0xa55')]({'id':_0x2b79ab['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x286c80[_0x477d('0x1b51')]['rows'],{'id':_0x2b79ab['id']});_0x286c80['sugarcrmAccounts'][_0x477d('0x3bb')]-=0x1;if(!_0x286c80[_0x477d('0x1b51')][_0x477d('0xf2')][_0x477d('0x79')]){_0x286c80[_0x477d('0x1b78')]();}_0x3c9fd9[_0x477d('0x485')]({'title':_[_0x477d('0xd91')](_0x477d('0x1b7e'))+_0x477d('0xd9d'),'msg':_0x2b79ab[_0x477d('0x94')]?_0x2b79ab['name']+_0x477d('0xd7e'):''});})['catch'](function(_0x1811b5){if(_0x1811b5[_0x477d('0x451')]&&_0x1811b5[_0x477d('0x451')][_0x477d('0xd67')]&&_0x1811b5[_0x477d('0x451')]['errors'][_0x477d('0x79')]){_0x286c80['errors']=_0x1811b5['data']['errors']||[{'message':_0x1811b5[_0x477d('0x453')](),'type':_0x477d('0x1b7f')}];for(var _0x206eee=0x0;_0x206eee<_0x1811b5[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x206eee++){_0x3c9fd9[_0x477d('0x44a')]({'title':_0x1811b5[_0x477d('0x451')]['errors'][_0x206eee][_0x477d('0x439')],'msg':_0x1811b5['data'][_0x477d('0xd67')][_0x206eee]['message']});}}else{_0x3c9fd9[_0x477d('0x44a')]({'title':_0x1811b5[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x1811b5['status']+_0x477d('0x44c')+_0x1811b5[_0x477d('0x44d')]:'SYSTEM:DELETEintSugarcrmAccount','msg':_0x1811b5['data']?JSON[_0x477d('0x3fb')](_0x1811b5[_0x477d('0x451')][_0x477d('0x452')]):_0x1811b5[_0x477d('0x452')]||_0x1811b5['toString']()});}});}function _0x399bb5(){var _0x4e68e2=angular['copy'](_0x286c80['selectedSugarcrmAccounts']);_0x286c80['selectedSugarcrmAccounts']=[];return _0x4e68e2;}function _0xa2af8(_0x48b09a){var _0x2dd3c=_0x58bddc[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x1b80'))[_0x477d('0xd92')](_0x477d('0xd93')+_0x286c80[_0x477d('0x1b81')][_0x477d('0x79')]+_0x477d('0xda0')+_0x477d('0xd95'))[_0x477d('0x687')]('delete\x20SugarcrmAccounts')[_0x477d('0xd7c')](_0x48b09a)['ok']('OK')[_0x477d('0x4f0')]('CANCEL');_0x58bddc[_0x477d('0x395')](_0x2dd3c)[_0x477d('0x76')](function(){_0x286c80[_0x477d('0x1b81')][_0x477d('0x3b1')](function(_0x32fdff){_0x474fe3(_0x32fdff);});_0x286c80[_0x477d('0x1b81')]=[];});}function _0x16425a(){_0x286c80[_0x477d('0x1b81')]=[];}function _0x2746b0(){_0x286c80[_0x477d('0x1b81')]=_0x286c80[_0x477d('0x1b51')][_0x477d('0xf2')];}}}());(function(){'use strict';_0x31ad72[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x3c4'),'$location',_0x477d('0x384'),'$q','$translate',_0x477d('0x40e'),'vtigerAccounts','vtigerAccount',_0x477d('0x386'),_0x477d('0x55'),_0x477d('0x613'),'setting','crudPermissions'];angular[_0x477d('0xb')](_0x477d('0x38'))[_0x477d('0x3ba')](_0x477d('0x1b82'),_0x31ad72);function _0x31ad72(_0x17ed06,_0x43a846,_0x507f48,_0x3b312d,_0x1259d6,_0x517e1e,_0x58d7c5,_0x4c1a9e,_0x188c8b,_0x265660,_0x3a0e29,_0x559982,_0x3e18a9,_0x1c6178){var _0x26d052=this;_0x26d052['currentUser']=_0x3a0e29[_0x477d('0x5c')]();_0x26d052[_0x477d('0xd67')]=[];_0x26d052[_0x477d('0xc8e')]=_0x3e18a9;_0x26d052[_0x477d('0x613')]=_0x559982;_0x26d052[_0x477d('0xd66')]=_0x1c6178;_0x26d052['hasModulePermissions']={};_0x26d052[_0x477d('0xd69')]=_0x26d052[_0x477d('0xc8e')]&&_0x26d052['setting'][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x26d052['title']=_0x477d('0x1b83');_0x26d052[_0x477d('0x1b84')]=angular[_0x477d('0x6d9')](_0x188c8b);_0x26d052['vtigerAccounts']=_0x4c1a9e;_0x26d052[_0x477d('0x1b85')]=![];if(!_0x26d052[_0x477d('0x1b84')]){_0x26d052[_0x477d('0x1b84')]={'serverUrl':_0x507f48[_0x477d('0x3ce')]()+_0x477d('0x1209')+_0x507f48['host']()+(_0x507f48[_0x477d('0x3cf')]()?':'+_0x507f48[_0x477d('0x3cf')]():'')};_0x26d052[_0x477d('0x49a')]='INTEGRATIONS.NEW_VTIGERACCOUNT';_0x26d052[_0x477d('0x1b85')]=!![];}_0x26d052[_0x477d('0x1b86')]=_0x5fa999;_0x26d052['saveVtigerAccount']=_0x42d80d;_0x26d052['deleteVtigerAccount']=_0xdea7fd;_0x26d052[_0x477d('0xd6f')]=_0x2ad74f;_0x26d052[_0x477d('0x6bf')]=_0x25ceb3;function _0x5fa999(){_0x26d052[_0x477d('0xd67')]=[];_0x265660[_0x477d('0xc36')]['save'](_0x26d052[_0x477d('0x1b84')])['$promise'][_0x477d('0x76')](function(_0xfb1fd8){_0x26d052[_0x477d('0x1b87')][_0x477d('0x63b')](_0xfb1fd8[_0x477d('0xd71')]());_0x58d7c5[_0x477d('0x485')]({'title':'VtigerAccount\x20properly\x20created','msg':_0x26d052[_0x477d('0x1b84')][_0x477d('0x94')]?_0x26d052[_0x477d('0x1b84')]['name']+_0x477d('0xd73'):''});_0x25ceb3(_0xfb1fd8);})[_0x477d('0xf8')](function(_0x532d8d){if(_0x532d8d[_0x477d('0x451')]&&_0x532d8d[_0x477d('0x451')][_0x477d('0xd67')]&&_0x532d8d[_0x477d('0x451')]['errors'][_0x477d('0x79')]){_0x26d052[_0x477d('0xd67')]=_0x532d8d[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x532d8d['toString'](),'type':_0x477d('0x1b88')}];for(var _0x2f8b4b=0x0;_0x2f8b4b<_0x532d8d[_0x477d('0x451')][_0x477d('0xd67')]['length'];_0x2f8b4b+=0x1){_0x58d7c5[_0x477d('0x44a')]({'title':_0x532d8d[_0x477d('0x451')][_0x477d('0xd67')][_0x2f8b4b][_0x477d('0x439')],'msg':_0x532d8d['data'][_0x477d('0xd67')][_0x2f8b4b][_0x477d('0x452')]});}}else{_0x58d7c5[_0x477d('0x44a')]({'title':_0x532d8d['status']?_0x477d('0x44b')+_0x532d8d[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x532d8d[_0x477d('0x44d')]:_0x477d('0x1b88'),'msg':_0x532d8d[_0x477d('0x451')]?JSON['stringify'](_0x532d8d['data'][_0x477d('0x452')]):_0x532d8d[_0x477d('0x453')]()});}});}function _0x42d80d(){_0x26d052['errors']=[];_0x265660[_0x477d('0xc36')][_0x477d('0x710')]({'id':_0x26d052[_0x477d('0x1b84')]['id']},_0x26d052[_0x477d('0x1b84')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x641b7d){var _0x23fea4=_[_0x477d('0x10a')](_0x26d052[_0x477d('0x1b87')],{'id':_0x641b7d['id']});if(_0x23fea4){_[_0x477d('0xef')](_0x23fea4,_[_0x477d('0x10b')](_0x641b7d[_0x477d('0xd71')](),_['keys'](_0x23fea4)));}_0x58d7c5[_0x477d('0x485')]({'title':_0x477d('0x1b89'),'msg':_0x26d052[_0x477d('0x1b84')][_0x477d('0x94')]?_0x26d052[_0x477d('0x1b84')][_0x477d('0x94')]+_0x477d('0xd76'):''});_0x25ceb3(_0x641b7d);})[_0x477d('0xf8')](function(_0x40bfda){if(_0x40bfda[_0x477d('0x451')]&&_0x40bfda[_0x477d('0x451')]['errors']&&_0x40bfda[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x26d052[_0x477d('0xd67')]=_0x40bfda[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x40bfda['toString'](),'type':_0x477d('0x1b8a')}];for(var _0x2c450b=0x0;_0x2c450b<_0x40bfda[_0x477d('0x451')]['errors'][_0x477d('0x79')];_0x2c450b++){_0x58d7c5[_0x477d('0x44a')]({'title':_0x40bfda[_0x477d('0x451')][_0x477d('0xd67')][_0x2c450b]['type'],'msg':_0x40bfda[_0x477d('0x451')][_0x477d('0xd67')][_0x2c450b][_0x477d('0x452')]});}}else{_0x58d7c5['error']({'title':_0x40bfda[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x40bfda[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x40bfda['statusText']:_0x477d('0x1b8a'),'msg':_0x40bfda[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x40bfda[_0x477d('0x451')][_0x477d('0x452')]):_0x40bfda['toString']()});}});}function _0xdea7fd(_0x2b6ab9){_0x26d052[_0x477d('0xd67')]=[];var _0x11db46=_0x3b312d['confirm']()[_0x477d('0x49a')](_0x477d('0xd79'))[_0x477d('0xdaf')](_0x477d('0x1b8b'))['ariaLabel'](_0x477d('0x1b8c'))['ok'](_0x477d('0xd7b'))['cancel']('Cancel')[_0x477d('0xd7c')](_0x2b6ab9);_0x3b312d['show'](_0x11db46)['then'](function(){_0x265660[_0x477d('0xc36')]['delete']({'id':_0x26d052['vtigerAccount']['id']})[_0x477d('0x38b')]['then'](function(){_[_0x477d('0x39c')](_0x26d052[_0x477d('0x1b87')],{'id':_0x26d052['vtigerAccount']['id']});_0x58d7c5[_0x477d('0x485')]({'title':_0x477d('0x1b8d'),'msg':(_0x26d052[_0x477d('0x1b84')][_0x477d('0x94')]||'vtigerAccount')+_0x477d('0xd7e')});_0x25ceb3(_0x26d052[_0x477d('0x1b84')]);})[_0x477d('0xf8')](function(_0x36d371){if(_0x36d371[_0x477d('0x451')]&&_0x36d371['data']['errors']&&_0x36d371['data'][_0x477d('0xd67')][_0x477d('0x79')]){_0x26d052[_0x477d('0xd67')]=_0x36d371['data'][_0x477d('0xd67')]||[{'message':_0x36d371[_0x477d('0x453')](),'type':_0x477d('0x1b8e')}];for(var _0x5981c6=0x0;_0x5981c6<_0x36d371['data'][_0x477d('0xd67')][_0x477d('0x79')];_0x5981c6++){_0x58d7c5[_0x477d('0x44a')]({'title':_0x36d371[_0x477d('0x451')][_0x477d('0xd67')][_0x5981c6][_0x477d('0x439')],'msg':_0x36d371[_0x477d('0x451')][_0x477d('0xd67')][_0x5981c6][_0x477d('0x452')]});}}else{_0x58d7c5[_0x477d('0x44a')]({'title':_0x36d371[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x36d371['status']+_0x477d('0x44c')+_0x36d371[_0x477d('0x44d')]:_0x477d('0x1b8e'),'msg':_0x36d371[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x36d371['data'][_0x477d('0x452')]):_0x36d371[_0x477d('0x452')]||_0x36d371[_0x477d('0x453')]()});}});},function(){});}function _0x2ad74f(_0x39af6f){return _0x39af6f===null?undefined:new Date(_0x39af6f);}function _0x25ceb3(_0xa84498){_0x3b312d['hide'](_0xa84498);}}}());(function(){'use strict';_0x5e2954['$inject']=[_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x386'),_0x477d('0x40e'),_0x477d('0x55')];angular[_0x477d('0xb')](_0x477d('0x38'))['controller'](_0x477d('0x1b8f'),_0x5e2954);function _0x5e2954(_0x523866,_0x2c6353,_0x16d911,_0x5ab076,_0x241150){var _0x49540c=this;_0x49540c[_0x477d('0x3e5')]=_0x241150['getCurrentUser']();_0x49540c['vtigerAccount']={};_0x49540c[_0x477d('0x1b90')]={};_0x49540c[_0x477d('0x19df')]=[];_0x49540c[_0x477d('0x1b91')]=-0x1;_0x49540c[_0x477d('0xd66')];_0x49540c['init']=_0x4c769c;_0x49540c[_0x477d('0x1b92')]=_0x1d4592;_0x49540c[_0x477d('0x1b93')]=_0x1baaed;_0x49540c[_0x477d('0x1b94')]=_0x26fbf5;function _0x4c769c(_0x26d3f4,_0x433560){_0x49540c['vtigerAccount']=_0x26d3f4;_0x49540c['crudPermissions']=typeof _0x433560!=='undefined'?_0x433560:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x16d911[_0x477d('0xc36')][_0x477d('0x19e9')]({'id':_0x49540c[_0x477d('0x1b84')]['id'],'sort':'-updatedAt'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x3af89b){_0x49540c['configurations']=_0x3af89b[_0x477d('0xf2')]?_0x3af89b[_0x477d('0xf2')]:[];if(_0x49540c['configurations'][_0x477d('0x79')]){_0x49540c[_0x477d('0x1b92')](0x0);}return _0x16d911[_0x477d('0xbb9')][_0x477d('0x376')]({'nolimit':!![],'sort':_0x477d('0x94')})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x147c74){_0x49540c[_0x477d('0xf31')]=_0x147c74[_0x477d('0xf2')]?_0x147c74['rows']:[];_0x49540c['variablesById']=_[_0x477d('0xdb5')](_0x49540c[_0x477d('0xf31')],'id');})[_0x477d('0xf8')](function(_0x2309a9){_0x5ab076['error']({'title':_0x2309a9['status']?_0x477d('0x44b')+_0x2309a9['status']+_0x477d('0x44c')+_0x2309a9['statusText']:'SYSTEM:GETCONFIGURATION','msg':_0x2309a9[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x2309a9[_0x477d('0x451')]):_0x2309a9[_0x477d('0x453')]()});});}function _0x1d4592(_0x4d1792){_0x49540c[_0x477d('0x1b90')]=_0x49540c[_0x477d('0x19df')][_0x4d1792];_0x49540c['selectedVtigerConfiguration']=_0x4d1792;_0x16d911[_0x477d('0xc3b')][_0x477d('0x19eb')]({'id':_0x49540c[_0x477d('0x1b90')]['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x10f76a){_0x49540c[_0x477d('0x19ec')]=_0x10f76a[_0x477d('0xf2')]?_0x10f76a[_0x477d('0xf2')]:[];return _0x16d911['intVtigerConfiguration']['getDescriptions']({'id':_0x49540c[_0x477d('0x1b90')]['id']})['$promise'];})[_0x477d('0x76')](function(_0xe2a51d){_0x49540c[_0x477d('0x19ed')]=_0xe2a51d[_0x477d('0xf2')]?_0xe2a51d[_0x477d('0xf2')]:[];return _0x16d911[_0x477d('0xc3b')][_0x477d('0xe26')]({'id':_0x49540c['vtigerConfiguration']['id']})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x44c56d){_0x49540c[_0x477d('0x458')]=_0x44c56d['rows']?_0x44c56d[_0x477d('0xf2')]:[];})[_0x477d('0xf8')](function(_0x55dbe2){_0x5ab076[_0x477d('0x44a')]({'title':_0x55dbe2['status']?'API:'+_0x55dbe2[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x55dbe2[_0x477d('0x44d')]:'SYSTEM:GETConfigurations','msg':_0x55dbe2[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x55dbe2[_0x477d('0x451')]):_0x55dbe2['toString']()});});}function _0x1baaed(_0x28a97c,_0x319332){_0x523866[_0x477d('0x395')]({'controller':'CreateOrEditVtigerConfigurationDialogController','controllerAs':'vm','templateUrl':_0x477d('0x1b95'),'parent':angular['element'](_0x2c6353[_0x477d('0x399')]),'targetEvent':_0x28a97c,'clickOutsideToClose':!![],'locals':{'vtigerConfiguration':_0x319332,'configurations':_0x49540c['configurations'],'license':null,'setting':null,'crudPermissions':_0x49540c[_0x477d('0xd66')]}})[_0x477d('0x5ff')](function(){_0x49540c[_0x477d('0x1b92')](0x0);});}function _0x26fbf5(_0x1b4cda,_0x55f074){var _0x1ad6d1=_0x523866[_0x477d('0xd78')]()['title'](_0x477d('0x1b96'))['htmlContent'](''+(_0x55f074[_0x477d('0x94')]||_0x477d('0x1b90'))+_0x477d('0xd94')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x1b97'))['targetEvent'](_0x1b4cda)['ok']('OK')['cancel'](_0x477d('0xd97'));_0x523866['show'](_0x1ad6d1)[_0x477d('0x76')](function(){_0x16d911['intVtigerConfiguration'][_0x477d('0xa55')]({'id':_0x55f074['id']})[_0x477d('0x38b')]['then'](function(){_[_0x477d('0x39c')](_0x49540c[_0x477d('0x19df')],{'id':_0x55f074['id']});_0x5ab076[_0x477d('0x485')]({'title':'VtigerConfiguration\x20deleted!','msg':_0x55f074[_0x477d('0x94')]?_0x55f074[_0x477d('0x94')]+_0x477d('0xd7e'):''});})[_0x477d('0xf8')](function(_0x387f61){_0x5ab076[_0x477d('0x44a')]({'title':_0x387f61['status']?'API:'+_0x387f61[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x387f61['statusText']:_0x477d('0x19f1'),'msg':_0x387f61[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x387f61[_0x477d('0x451')]):_0x387f61[_0x477d('0x453')]()});})[_0x477d('0x5ff')](function(){_0x49540c[_0x477d('0x1b92')](0x0);});},function(){console[_0x477d('0x7b')](_0x477d('0xd97'));});}_0x49540c['selectedSubjects']=[];_0x49540c['createOrEditSubject']=_0x321e2c;_0x49540c['deleteSubjectConfirm']=_0x4d8308;_0x49540c[_0x477d('0x19f4')]=_0x12d0b4;function _0x321e2c(_0x356b14,_0x304d3e){_0x523866['show']({'controller':_0x477d('0x1b98'),'controllerAs':'vm','templateUrl':'app/main/apps/integrations/views/vtigerAccounts/edit/item/dialog.html','parent':angular['element'](_0x2c6353['body']),'targetEvent':_0x356b14,'clickOutsideToClose':!![],'locals':{'type':_0x477d('0x135c'),'item':_0x304d3e,'items':_0x49540c['subjects'],'configuration':_0x49540c[_0x477d('0x1b90')],'account':_0x49540c[_0x477d('0x1b84')],'license':null,'setting':null,'crudPermissions':_0x49540c[_0x477d('0xd66')]}});}function _0x1e8195(_0x54ea3f){_0x16d911[_0x477d('0xc41')][_0x477d('0xa55')]({'id':_0x54ea3f['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x49540c[_0x477d('0x19ec')],{'id':_0x54ea3f['id']});_0x5ab076[_0x477d('0x485')]({'title':_0x477d('0x19f6'),'msg':_0x477d('0x19f7')});})[_0x477d('0xf8')](function(_0x3a9e75){_0x5ab076[_0x477d('0x44a')]({'title':_0x3a9e75[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x3a9e75['status']+_0x477d('0x44c')+_0x3a9e75[_0x477d('0x44d')]:'SYSTEM:DELETECONFIGURATIONFIELD','msg':_0x3a9e75['data']?JSON[_0x477d('0x3fb')](_0x3a9e75['data']):_0x3a9e75['toString']()});});}function _0x4d8308(_0x4f06cd,_0x26a085){var _0x3c2574=_0x523866['confirm']()[_0x477d('0x49a')](_0x477d('0x1a8c'))[_0x477d('0xd92')]('Subject'+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x1a56'))[_0x477d('0xd7c')](_0x4f06cd)['ok']('OK')['cancel'](_0x477d('0xd97'));_0x523866['show'](_0x3c2574)[_0x477d('0x76')](function(){_0x1e8195(_0x26a085);},function(){console['log']('CANCEL');});}function _0x12d0b4(_0x225153){var _0x4523fe=_0x523866[_0x477d('0xd78')]()['title'](_0x477d('0x1a8d'))[_0x477d('0xd92')](_0x477d('0xd93')+_0x49540c[_0x477d('0x19fa')]['length']+'\x20selected'+_0x477d('0xd95'))['ariaLabel'](_0x477d('0x19fb'))[_0x477d('0xd7c')](_0x225153)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x523866[_0x477d('0x395')](_0x4523fe)[_0x477d('0x76')](function(){_0x49540c[_0x477d('0x19fa')]['forEach'](function(_0x38d35a){_0x1e8195(_0x38d35a);});_0x49540c[_0x477d('0x19fa')]=[];});}_0x49540c[_0x477d('0x19fc')]=[];_0x49540c['createOrEditDescription']=_0x1293c6;_0x49540c[_0x477d('0x19fe')]=_0x523eb6;_0x49540c[_0x477d('0x1a57')]=_0x5d5144;function _0x1293c6(_0x13fb07,_0x2b94ab){_0x523866[_0x477d('0x395')]({'controller':_0x477d('0x1b98'),'controllerAs':'vm','templateUrl':_0x477d('0x1b99'),'parent':angular['element'](_0x2c6353['body']),'targetEvent':_0x13fb07,'clickOutsideToClose':!![],'locals':{'type':_0x477d('0xe0e'),'item':_0x2b94ab,'items':_0x49540c[_0x477d('0x19ed')],'configuration':_0x49540c[_0x477d('0x1b90')],'account':_0x49540c['vtigerAccount'],'license':null,'setting':null,'crudPermissions':_0x49540c[_0x477d('0xd66')]}});}function _0x187ae9(_0x31bea4){_0x16d911[_0x477d('0xc41')][_0x477d('0xa55')]({'id':_0x31bea4['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_['remove'](_0x49540c[_0x477d('0x19ed')],{'id':_0x31bea4['id']});_0x5ab076['success']({'title':_0x477d('0x1a5a'),'msg':_0x477d('0x19ff')});})[_0x477d('0xf8')](function(_0x3b1aa4){_0x5ab076[_0x477d('0x44a')]({'title':_0x3b1aa4[_0x477d('0x3c3')]?'API:'+_0x3b1aa4[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x3b1aa4[_0x477d('0x44d')]:_0x477d('0x19f8'),'msg':_0x3b1aa4[_0x477d('0x451')]?JSON['stringify'](_0x3b1aa4[_0x477d('0x451')]):_0x3b1aa4[_0x477d('0x453')]()});});}function _0x523eb6(_0x1c26c4,_0x180fc8){var _0x7f91df=_0x523866[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x1a00'))[_0x477d('0xd92')](_0x477d('0x1a01')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x1a02'))[_0x477d('0xd7c')](_0x1c26c4)['ok']('OK')['cancel'](_0x477d('0xd97'));_0x523866[_0x477d('0x395')](_0x7f91df)[_0x477d('0x76')](function(){_0x187ae9(_0x180fc8);},function(){console[_0x477d('0x7b')]('CANCEL');});}function _0x5d5144(_0x5a6724){var _0x512eb6=_0x523866[_0x477d('0xd78')]()[_0x477d('0x49a')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20descriptions?')[_0x477d('0xd92')](_0x477d('0xd93')+_0x49540c[_0x477d('0x19fc')][_0x477d('0x79')]+'\x20selected'+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x1a04'))[_0x477d('0xd7c')](_0x5a6724)['ok']('OK')['cancel'](_0x477d('0xd97'));_0x523866['show'](_0x512eb6)[_0x477d('0x76')](function(){_0x49540c[_0x477d('0x19fc')][_0x477d('0x3b1')](function(_0xa3054a){_0x187ae9(_0xa3054a);});_0x49540c[_0x477d('0x19fc')]=[];});}_0x49540c[_0x477d('0x1a08')]=[];_0x49540c['createOrEditField']=_0x3ffa88;_0x49540c[_0x477d('0x1a8f')]=_0x520c44;_0x49540c[_0x477d('0x1a06')]=_0x54eef0;function _0x3ffa88(_0x833db2,_0x4dfca5){_0x523866[_0x477d('0x395')]({'controller':_0x477d('0x1b98'),'controllerAs':'vm','templateUrl':_0x477d('0x1b99'),'parent':angular[_0x477d('0x398')](_0x2c6353['body']),'targetEvent':_0x833db2,'clickOutsideToClose':!![],'locals':{'type':'field','item':_0x4dfca5,'items':_0x49540c[_0x477d('0x458')],'configuration':_0x49540c[_0x477d('0x1b90')],'account':_0x49540c['vtigerAccount'],'license':null,'setting':null,'crudPermissions':_0x49540c[_0x477d('0xd66')]}});}function _0xc645c9(_0x4be295){_0x16d911[_0x477d('0xc41')][_0x477d('0xa55')]({'id':_0x4be295['id']})[_0x477d('0x38b')]['then'](function(){_[_0x477d('0x39c')](_0x49540c[_0x477d('0x458')],{'id':_0x4be295['id']});_0x5ab076['success']({'title':_0x477d('0xe70'),'msg':_0x477d('0x1a90')});})[_0x477d('0xf8')](function(_0x8ed971){_0x5ab076[_0x477d('0x44a')]({'title':_0x8ed971['status']?'API:'+_0x8ed971['status']+'\x20-\x20'+_0x8ed971[_0x477d('0x44d')]:_0x477d('0x19f8'),'msg':_0x8ed971[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x8ed971[_0x477d('0x451')]):_0x8ed971[_0x477d('0x453')]()});});}function _0x520c44(_0x2e9136,_0x2ecee8){var _0x5d041d=_0x523866[_0x477d('0xd78')]()['title'](_0x477d('0xe6d'))['htmlContent'](_0x477d('0x1a5b')+_0x477d('0xd95'))['ariaLabel'](_0x477d('0x1a91'))['targetEvent'](_0x2e9136)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x523866[_0x477d('0x395')](_0x5d041d)['then'](function(){_0xc645c9(_0x2ecee8);},function(){console['log'](_0x477d('0xd97'));});}function _0x54eef0(_0x33b71a){var _0x5a51c4=_0x523866[_0x477d('0xd78')]()['title'](_0x477d('0xe72'))['htmlContent'](_0x477d('0xd93')+_0x49540c[_0x477d('0x1a08')][_0x477d('0x79')]+'\x20selected'+'\x20will\x20be\x20deleted.')['ariaLabel'](_0x477d('0xe73'))[_0x477d('0xd7c')](_0x33b71a)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x523866[_0x477d('0x395')](_0x5a51c4)[_0x477d('0x76')](function(){_0x49540c[_0x477d('0x1a08')][_0x477d('0x3b1')](function(_0x12c455){_0xc645c9(_0x12c455);});_0x49540c['selectedFields']=[];});}}}());(function(){'use strict';_0x413524[_0x477d('0xa')]=['$scope',_0x477d('0x3c4'),_0x477d('0xd64'),_0x477d('0x384'),'$q',_0x477d('0x40d'),_0x477d('0x40e'),_0x477d('0x19df'),_0x477d('0x1b90'),_0x477d('0x386'),_0x477d('0x55'),_0x477d('0x613'),_0x477d('0xc8e'),'crudPermissions'];angular[_0x477d('0xb')](_0x477d('0x38'))['controller']('CreateOrEditVtigerConfigurationDialogController',_0x413524);function _0x413524(_0x35668e,_0x3a5f85,_0x523077,_0x545484,_0x289342,_0x374987,_0x2201c5,_0x172463,_0x56d116,_0x1e225e,_0x3dfcbf,_0x24064d,_0x3096c9,_0x280a8e){var _0x313338=this;_0x313338[_0x477d('0x3e5')]=_0x3dfcbf[_0x477d('0x5c')]();_0x313338[_0x477d('0xd67')]=[];_0x313338['setting']=_0x3096c9;_0x313338['license']=_0x24064d;_0x313338[_0x477d('0xd66')]=_0x280a8e;_0x313338[_0x477d('0xd68')]={};_0x313338[_0x477d('0xd69')]=_0x313338['setting']&&_0x313338[_0x477d('0xc8e')][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x313338[_0x477d('0x49a')]=_0x477d('0x1b9a');_0x313338[_0x477d('0x1b90')]=angular[_0x477d('0x6d9')](_0x56d116);_0x313338[_0x477d('0x19df')]=_0x172463;_0x313338['newVtigerConfiguration']=![];if(!_0x313338[_0x477d('0x1b90')]){_0x313338['vtigerConfiguration']={'channel':_0x477d('0x108'),'type':_0x477d('0x9e')};_0x313338['title']='INTEGRATIONS.NEW_VTIGERCONFIGURATION';_0x313338[_0x477d('0x1b9b')]=!![];}_0x313338[_0x477d('0x1b9c')]=_0x3fb898;_0x313338[_0x477d('0x1b9d')]=_0x58a3ea;_0x313338[_0x477d('0x1b94')]=_0x29a44d;_0x313338[_0x477d('0xd6f')]=_0x7563d4;_0x313338['closeDialog']=_0x265093;function _0x3fb898(){_0x313338[_0x477d('0xd67')]=[];_0x1e225e[_0x477d('0xc36')][_0x477d('0x1a61')]({'id':_0x3a5f85['params']['id']},_0x313338[_0x477d('0x1b90')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x13f55c){_0x313338[_0x477d('0x19df')][_0x477d('0x63b')](_0x13f55c['toJSON']());_0x2201c5[_0x477d('0x485')]({'title':_0x477d('0x1b9e'),'msg':_0x313338[_0x477d('0x1b90')][_0x477d('0x94')]?_0x313338[_0x477d('0x1b90')][_0x477d('0x94')]+'\x20has\x20been\x20created!':''});_0x265093(_0x13f55c);})[_0x477d('0xf8')](function(_0x2611d6){if(_0x2611d6[_0x477d('0x451')]&&_0x2611d6[_0x477d('0x451')][_0x477d('0xd67')]&&_0x2611d6[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x313338[_0x477d('0xd67')]=_0x2611d6[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x2611d6['toString'](),'type':_0x477d('0x1b9f')}];for(var _0x3b9488=0x0;_0x3b9488<_0x2611d6[_0x477d('0x451')]['errors'][_0x477d('0x79')];_0x3b9488+=0x1){_0x2201c5['error']({'title':_0x2611d6[_0x477d('0x451')][_0x477d('0xd67')][_0x3b9488][_0x477d('0x439')],'msg':_0x2611d6[_0x477d('0x451')]['errors'][_0x3b9488][_0x477d('0x452')]});}}else{_0x2201c5['error']({'title':_0x2611d6[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x2611d6[_0x477d('0x3c3')]+'\x20-\x20'+_0x2611d6[_0x477d('0x44d')]:'api.intVtigerConfiguration.save','msg':_0x2611d6['data']?JSON[_0x477d('0x3fb')](_0x2611d6['data']['message']):_0x2611d6['toString']()});}});}function _0x58a3ea(){_0x313338[_0x477d('0xd67')]=[];_0x1e225e[_0x477d('0xc3b')][_0x477d('0x710')]({'id':_0x313338[_0x477d('0x1b90')]['id']},_0x313338[_0x477d('0x1b90')])['$promise']['then'](function(_0x108569){var _0x32c45d=_[_0x477d('0x10a')](_0x313338[_0x477d('0x19df')],{'id':_0x108569['id']});if(_0x32c45d){_[_0x477d('0xef')](_0x32c45d,_[_0x477d('0x10b')](_0x108569[_0x477d('0xd71')](),_[_0x477d('0x7f')](_0x32c45d)));}_0x2201c5[_0x477d('0x485')]({'title':_0x477d('0x1ba0'),'msg':_0x313338[_0x477d('0x1b90')]['name']?_0x313338['vtigerConfiguration'][_0x477d('0x94')]+_0x477d('0xd76'):''});_0x265093(_0x108569);})['catch'](function(_0x58238d){if(_0x58238d[_0x477d('0x451')]&&_0x58238d['data'][_0x477d('0xd67')]&&_0x58238d[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x313338[_0x477d('0xd67')]=_0x58238d[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x58238d[_0x477d('0x453')](),'type':_0x477d('0x1ba1')}];for(var _0x486a16=0x0;_0x486a16<_0x58238d[_0x477d('0x451')][_0x477d('0xd67')]['length'];_0x486a16++){_0x2201c5['error']({'title':_0x58238d[_0x477d('0x451')][_0x477d('0xd67')][_0x486a16]['type'],'msg':_0x58238d[_0x477d('0x451')][_0x477d('0xd67')][_0x486a16][_0x477d('0x452')]});}}else{_0x2201c5[_0x477d('0x44a')]({'title':_0x58238d['status']?_0x477d('0x44b')+_0x58238d['status']+_0x477d('0x44c')+_0x58238d['statusText']:_0x477d('0x1ba1'),'msg':_0x58238d['data']?JSON[_0x477d('0x3fb')](_0x58238d['data'][_0x477d('0x452')]):_0x58238d['toString']()});}});}function _0x29a44d(_0x5a0b57){_0x313338[_0x477d('0xd67')]=[];var _0xfe0528=_0x545484[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xd79'))[_0x477d('0xdaf')](_0x477d('0x1ba2'))['ariaLabel'](_0x477d('0x1ba3'))['ok'](_0x477d('0xd7b'))['cancel']('Cancel')[_0x477d('0xd7c')](_0x5a0b57);_0x545484[_0x477d('0x395')](_0xfe0528)[_0x477d('0x76')](function(){_0x1e225e['intVtigerConfiguration'][_0x477d('0xa55')]({'id':_0x313338['vtigerConfiguration']['id']})[_0x477d('0x38b')]['then'](function(){_[_0x477d('0x39c')](_0x313338['configurations'],{'id':_0x313338[_0x477d('0x1b90')]['id']});_0x2201c5[_0x477d('0x485')]({'title':_0x477d('0x1ba4'),'msg':(_0x313338[_0x477d('0x1b90')]['name']||_0x477d('0x1b90'))+'\x20has\x20been\x20deleted!'});_0x265093(_0x313338[_0x477d('0x1b90')]);})[_0x477d('0xf8')](function(_0x1caa4e){if(_0x1caa4e[_0x477d('0x451')]&&_0x1caa4e['data'][_0x477d('0xd67')]&&_0x1caa4e[_0x477d('0x451')][_0x477d('0xd67')]['length']){_0x313338['errors']=_0x1caa4e[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x1caa4e[_0x477d('0x453')](),'type':'api.intVtigerConfiguration.delete'}];for(var _0x486b43=0x0;_0x486b43<_0x1caa4e[_0x477d('0x451')][_0x477d('0xd67')]['length'];_0x486b43++){_0x2201c5['error']({'title':_0x1caa4e[_0x477d('0x451')][_0x477d('0xd67')][_0x486b43][_0x477d('0x439')],'msg':_0x1caa4e[_0x477d('0x451')][_0x477d('0xd67')][_0x486b43]['message']});}}else{_0x2201c5[_0x477d('0x44a')]({'title':_0x1caa4e['status']?_0x477d('0x44b')+_0x1caa4e[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x1caa4e[_0x477d('0x44d')]:_0x477d('0x1ba5'),'msg':_0x1caa4e[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x1caa4e[_0x477d('0x451')][_0x477d('0x452')]):_0x1caa4e['message']||_0x1caa4e[_0x477d('0x453')]()});}});},function(){});}function _0x7563d4(_0x4e7ca3){return _0x4e7ca3===null?undefined:new Date(_0x4e7ca3);}function _0x265093(_0x48e06c){_0x545484['hide'](_0x48e06c);}}}());(function(){'use strict';_0x3c171c['$inject']=[_0x477d('0x474'),'$state',_0x477d('0xd64'),_0x477d('0x384'),_0x477d('0x40e'),_0x477d('0x1a9f'),_0x477d('0x4a6'),_0x477d('0x1a15'),'account',_0x477d('0x439'),_0x477d('0x386'),_0x477d('0x55'),_0x477d('0xd66')];angular['module']('app.integrations')['controller'](_0x477d('0x1b98'),_0x3c171c);function _0x3c171c(_0x58ae5e,_0x4e05f0,_0x538559,_0x4e8fbf,_0x19c2dc,_0x3ac2dd,_0x5b5f35,_0x19e8ca,_0x5206b8,_0x2db9d6,_0x3ae738,_0x5b92f5,_0x129f5a){var _0x4ba9fc=this;_0x4ba9fc[_0x477d('0x3e5')]=_0x5b92f5['getCurrentUser']();_0x4ba9fc[_0x477d('0xd67')]=[];_0x4ba9fc[_0x477d('0x49a')]=_0x477d('0x1a13')+_['toUpper'](_0x2db9d6);_0x4ba9fc[_0x477d('0x1a15')]=angular[_0x477d('0x6d9')](_0x19e8ca);_0x4ba9fc[_0x477d('0x4a6')]=_0x5b5f35;_0x4ba9fc[_0x477d('0x439')]=_0x2db9d6;_0x4ba9fc[_0x477d('0xd66')]=_0x129f5a;_0x4ba9fc[_0x477d('0x1a17')]=![];if(!_0x4ba9fc[_0x477d('0x1a15')]){_0x4ba9fc[_0x477d('0x1a15')]={'type':_0x477d('0x1a68')};_0x4ba9fc[_0x477d('0x1a15')][_[_0x477d('0x12e0')](_0x2db9d6)+'Id']=_0x3ac2dd['id'];_0x4ba9fc['title']=_0x477d('0x1a16')+_[_0x477d('0x1a14')](_0x2db9d6);_0x4ba9fc['newItem']=!![];}_0x4ba9fc['addNewItem']=_0x4cb96b;_0x4ba9fc[_0x477d('0x15f9')]=_0x23ec9a;_0x4ba9fc[_0x477d('0x55f')]=_0x3c315a;_0x4ba9fc['getSelectedVariable']=_0x4f64de;_0x4ba9fc[_0x477d('0x6bf')]=_0x331565;_0x3ae738[_0x477d('0xbb9')]['get']({'nolimit':!![]})[_0x477d('0x38b')]['then'](function(_0x214a40){_0x4ba9fc[_0x477d('0xf31')]=_0x214a40[_0x477d('0xf2')]?_0x214a40[_0x477d('0xf2')]:[];return _0x3ae738[_0x477d('0xa9c')][_0x477d('0xe27')]()[_0x477d('0x38b')];})['then'](function(_0xa57361){_0x4ba9fc['voiceAgentReportColumns']=_['difference'](_[_0x477d('0x7f')](_0xa57361),['$promise',_0x477d('0x80'),_0x477d('0xe37'),_0x477d('0xe38'),_0x477d('0x1a1c')]);_0x4ba9fc['voiceAgentReportColumns'][_0x477d('0x3a7')](_0x477d('0x1a1d'));return _0x3ae738[_0x477d('0xa99')][_0x477d('0xe27')]()[_0x477d('0x38b')];})['then'](function(_0x4f02ec){_0x4ba9fc['voiceDialReportColumns']=_[_0x477d('0x7e')](_[_0x477d('0x7f')](_0x4f02ec),[_0x477d('0x38b'),'$resolved',_0x477d('0xe37'),_0x477d('0xe38'),_0x477d('0x1a1c')]);_0x4ba9fc['voiceDialReportColumns']['push'](_0x477d('0x1a1d'));})[_0x477d('0xf8')](function(_0x2e7e3e){_0x19c2dc[_0x477d('0x44a')]({'title':_0x2e7e3e[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x2e7e3e['status']+'\x20-\x20'+_0x2e7e3e['statusText']:'SYSTEM:GETVARIABLES','msg':_0x2e7e3e['data']?JSON[_0x477d('0x3fb')](_0x2e7e3e[_0x477d('0x451')]):_0x2e7e3e[_0x477d('0x453')]()});});_0x3ae738[_0x477d('0xc36')][_0x477d('0xe26')]({'id':_0x5206b8['id'],'ticketType':_0x3ac2dd[_0x477d('0x1a1f')]?_0x3ac2dd[_0x477d('0x1a1f')]:undefined})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x59cd8d){_0x4ba9fc['accountConnected']=!![];_0x4ba9fc[_0x477d('0x458')]=_0x59cd8d[_0x477d('0xf2')]?_0x59cd8d['rows']:[];if(_0x4ba9fc[_0x477d('0x1a15')]['idField']){_0x4ba9fc['customField']=_[_0x477d('0x10a')](_0x4ba9fc[_0x477d('0x458')],{'id':_0x4ba9fc[_0x477d('0x1a15')][_0x477d('0x1a22')]});}})[_0x477d('0xf8')](function(_0x169039){_0x4ba9fc[_0x477d('0x1a20')]=![];console[_0x477d('0x44a')](_0x169039);});function _0x4cb96b(){_0x4ba9fc['errors']=[];if(_0x4ba9fc['customField']){_0x4ba9fc[_0x477d('0x1a15')]['idField']=_0x4ba9fc[_0x477d('0x1532')]['id'];_0x4ba9fc[_0x477d('0x1a15')][_0x477d('0x1a23')]=_0x4ba9fc['customField'][_0x477d('0x94')];_0x4ba9fc['item'][_0x477d('0x1532')]=_0x4ba9fc[_0x477d('0x1532')]['custom'];}_0x3ae738[_0x477d('0xc41')][_0x477d('0xd70')](_0x4ba9fc[_0x477d('0x1a15')])['$promise'][_0x477d('0x76')](function(_0x309030){_0x4ba9fc[_0x477d('0x4a6')][_0x477d('0x63b')](_0x309030);_0x19c2dc[_0x477d('0x485')]({'title':_[_0x477d('0x12e0')](_0x2db9d6)+_0x477d('0x1a21'),'msg':_['capitalize'](_0x2db9d6)+_0x477d('0xd73')});_0x331565();})[_0x477d('0xf8')](function(_0x2987bf){console[_0x477d('0x44a')](_0x2987bf);_0x4ba9fc[_0x477d('0xd67')]=_0x2987bf[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x2987bf['toString'](),'type':_0x477d('0x1a69')}];});}function _0x23ec9a(){_0x4ba9fc['errors']=[];if(_0x4ba9fc[_0x477d('0x1532')]){_0x4ba9fc['item']['idField']=_0x4ba9fc[_0x477d('0x1532')]['id'];_0x4ba9fc[_0x477d('0x1a15')][_0x477d('0x1a23')]=_0x4ba9fc[_0x477d('0x1532')][_0x477d('0x94')];_0x4ba9fc['item'][_0x477d('0x1532')]=_0x4ba9fc[_0x477d('0x1532')][_0x477d('0x9f6')];}_0x3ae738[_0x477d('0xc41')][_0x477d('0x710')]({'id':_0x4ba9fc[_0x477d('0x1a15')]['id']},_0x4ba9fc['item'])['$promise'][_0x477d('0x76')](function(_0x1547ab){var _0x6ea4b7=_[_0x477d('0x10a')](_0x4ba9fc[_0x477d('0x4a6')],{'id':_0x1547ab['id']});if(_0x6ea4b7){_[_0x477d('0xef')](_0x6ea4b7,_0x1547ab);}_0x19c2dc[_0x477d('0x485')]({'title':_[_0x477d('0x12e0')](_0x2db9d6)+_0x477d('0x1a6a'),'msg':_[_0x477d('0x12e0')](_0x2db9d6)+'\x20has\x20been\x20saved!'});_0x331565();})['catch'](function(_0x5ec2b9){console[_0x477d('0x44a')](_0x5ec2b9);_0x4ba9fc['errors']=_0x5ec2b9[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x5ec2b9[_0x477d('0x453')](),'type':_0x477d('0x1a24')}];});}function _0x3c315a(_0x4b96b3){_0x4ba9fc[_0x477d('0xd67')]=[];var _0x5bf2e1=_0x4e8fbf[_0x477d('0xd78')]()[_0x477d('0x49a')]('Are\x20you\x20sure?')[_0x477d('0xdaf')](_0x477d('0x1a25')+_0x2db9d6+_0x477d('0xd95'))[_0x477d('0x687')]('Delete\x20'+_['capitalize'](_0x2db9d6))['ok'](_0x477d('0xd7b'))[_0x477d('0x4f0')](_0x477d('0x688'))['targetEvent'](_0x4b96b3);_0x4e8fbf[_0x477d('0x395')](_0x5bf2e1)[_0x477d('0x76')](function(){_0x3ae738[_0x477d('0xc41')]['delete']({'id':_0x4ba9fc[_0x477d('0x1a15')]['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x4ba9fc[_0x477d('0x4a6')],{'id':_0x4ba9fc[_0x477d('0x1a15')]['id']});_0x19c2dc[_0x477d('0x485')]({'title':_[_0x477d('0x12e0')](_0x2db9d6)+_0x477d('0x1a26'),'msg':_['capitalize'](_0x2db9d6)+_0x477d('0xd7e')});_0x331565();})[_0x477d('0xf8')](function(_0x55ed54){console[_0x477d('0x44a')](_0x55ed54);_0x4ba9fc['errors']=_0x55ed54[_0x477d('0x451')]['errors']||[{'message':_0x55ed54[_0x477d('0x453')](),'type':'api.item.delete'}];});},function(){});}function _0x4f64de(){if(_0x4ba9fc[_0x477d('0x1a15')]['variableName']!==undefined){return _0x4ba9fc[_0x477d('0x1a15')]['variableName'];}else{return'Please\x20select\x20a\x20variable';}};function _0x331565(){_0x4e8fbf[_0x477d('0x3bc')]();}}}());(function(){'use strict';_0x2a5e0a[_0x477d('0xa')]=['$state',_0x477d('0xd64'),_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x40d'),_0x477d('0x613'),'setting',_0x477d('0x386'),_0x477d('0x40e'),_0x477d('0x55'),_0x477d('0x1b84'),'userProfileSection'];angular[_0x477d('0xb')](_0x477d('0x38'))[_0x477d('0x3ba')](_0x477d('0x1ba6'),_0x2a5e0a);function _0x2a5e0a(_0x2d6e36,_0x233243,_0x38baec,_0x195d49,_0xb76681,_0x57bea3,_0x104b62,_0x5975c9,_0x2e7ddb,_0xef7d4e,_0x38e9dc,_0x5392d9){var _0x205cac=this;_0x205cac['currentUser']=_0xef7d4e['getCurrentUser']();_0x205cac[_0x477d('0x613')]=_0x57bea3;_0x205cac[_0x477d('0xc8e')]=_0x104b62;_0x205cac[_0x477d('0xd69')]=_0x205cac[_0x477d('0xc8e')]['securePassword']?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x205cac['location']=_0x233243[_0x477d('0x3ce')]()+_0x477d('0x1209')+_0x233243[_0x477d('0x3c9')]();_0x205cac['vtigerAccount']=_0x38e9dc||_0x2d6e36['params'][_0x477d('0x1b84')]||{};_0x205cac[_0x477d('0x3ac')]=_0x5392d9&&_0x5392d9['count']==0x1?_0x5392d9[_0x477d('0xf2')][0x0]:null;_0x205cac[_0x477d('0xd66')]=_0xef7d4e[_0x477d('0xd81')](_0x205cac[_0x477d('0x3ac')]?_0x205cac['userProfileSection']['crudPermissions']:null);_0x205cac[_0x477d('0xd68')]={};_0x205cac[_0x477d('0xe95')]=_0x2d6e36[_0x477d('0x37e')][_0x477d('0xe96')]||0x0;_0x205cac[_0x477d('0x120a')]=_0x2e7ddb['info'];_0x205cac[_0x477d('0x1ba7')]=_0x5861a8;_0x205cac['saveVtigerAccount']=_0x1c8541;function _0x5861a8(){_0x2d6e36['go'](_0x477d('0x1a1'),{},{'reload':_0x477d('0x1a1')});}function _0x1c8541(){_0x5975c9[_0x477d('0xc36')]['update']({'id':_0x205cac['vtigerAccount']['id']},_0x205cac[_0x477d('0x1b84')])[_0x477d('0x38b')][_0x477d('0x76')](function(){_0x2e7ddb[_0x477d('0x485')]({'title':'VtigerAccount\x20updated!','msg':_0x205cac['vtigerAccount'][_0x477d('0x94')]?_0x205cac[_0x477d('0x1b84')][_0x477d('0x94')]+'\x20has\x20been\x20updated!':''});})[_0x477d('0xf8')](function(_0x5e5232){_0x2e7ddb[_0x477d('0x44a')]({'title':_0x5e5232['status']?_0x477d('0x44b')+_0x5e5232[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x5e5232[_0x477d('0x44d')]:_0x477d('0x1ba8'),'msg':_0x5e5232[_0x477d('0x451')]?JSON['stringify'](_0x5e5232['data']):_0x5e5232[_0x477d('0x453')]()});});}}}());(function(){'use strict';_0x4f8456[_0x477d('0xa')]=['$scope',_0x477d('0x387'),_0x477d('0x3c4'),_0x477d('0x554'),_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x3fe'),_0x477d('0x40d'),'vtigerAccounts',_0x477d('0x3a5'),_0x477d('0x3ac'),_0x477d('0x386'),_0x477d('0x342'),'toasty',_0x477d('0x55'),_0x477d('0x613'),'setting'];angular[_0x477d('0xb')](_0x477d('0x38'))[_0x477d('0x3ba')](_0x477d('0x1ba9'),_0x4f8456);function _0x4f8456(_0x5eef91,_0x3abdf4,_0x4acd7d,_0x35f521,_0x2c9416,_0x3a3881,_0x5a1f10,_0x5520cc,_0x24b4de,_0x52235f,_0x274e80,_0x176f51,_0x3ae240,_0xff2e83,_0x18deac,_0x3862f7,_0x191eda){var _0x1251fe=this;_0x1251fe[_0x477d('0x613')]=_0x3862f7;_0x1251fe[_0x477d('0xc8e')]=_0x191eda;_0x1251fe['currentUser']=_0x18deac[_0x477d('0x5c')]();_0x1251fe['vtigerAccounts']=_0x24b4de||{'count':0x0,'rows':[]};_0x1251fe[_0x477d('0x3a5')]=_0x52235f;_0x1251fe[_0x477d('0x3ac')]=_0x274e80&&_0x274e80[_0x477d('0x3bb')]==0x1?_0x274e80[_0x477d('0xf2')][0x0]:null;_0x1251fe[_0x477d('0xd66')]=_0x18deac['parseCrudPermissions'](_0x1251fe[_0x477d('0x3ac')]?_0x1251fe[_0x477d('0x3ac')][_0x477d('0xd66')]:null);_0x1251fe[_0x477d('0xd82')]=_0x477d('0x1b87');_0x1251fe['listOrder']='';_0x1251fe[_0x477d('0xd84')]=null;_0x1251fe[_0x477d('0x1baa')]=[];_0x1251fe['query']={'fields':_0x477d('0x1a6'),'limit':0xa,'page':0x1};_0x1251fe['editstate']=_0x2aaf6a;_0x1251fe[_0x477d('0x19d4')]=_0x325e3a;_0x1251fe[_0x477d('0xd88')]=_0x45be8a;_0x1251fe['success']=_0x9e56bc;_0x1251fe['getVtigerAccounts']=_0x200da5;_0x1251fe[_0x477d('0x1bab')]=_0x2245f4;_0x1251fe[_0x477d('0x1bac')]=_0x4666aa;_0x1251fe[_0x477d('0x1bad')]=_0x111ed8;_0x1251fe[_0x477d('0x1bae')]=_0x55b235;_0x1251fe[_0x477d('0x1baf')]=_0x2a45e6;_0x1251fe['selectAllVtigerAccounts']=_0x543393;function _0x2aaf6a(_0x3b7cf7,_0x49997e){_0x4acd7d['go']('app.integrations.vtigerAccounts.edit',{'id':_0x3b7cf7['id'],'vtigerAccount':_0x3b7cf7,'crudPermissions':_0x1251fe[_0x477d('0xd66')]});}function _0x325e3a(_0x576209,_0x8072a){return _0x176f51[_0x477d('0xc36')]['getFields']({'id':_0x576209['id'],'test':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(){_0xff2e83[_0x477d('0x485')]({'title':'VtigerAccount\x20properly\x20tested','msg':_0x477d('0xf0a')});})[_0x477d('0xf8')](function(_0x15ac9c){_0xff2e83[_0x477d('0x44a')]({'title':_0x477d('0x1bb0'),'msg':_0x15ac9c[_0x477d('0x451')]?_0x15ac9c['data'][_0x477d('0x452')]?_0x15ac9c[_0x477d('0x451')][_0x477d('0x452')]:JSON[_0x477d('0x3fb')](_0x15ac9c[_0x477d('0x451')]):_0x15ac9c['toString']()});});}function _0x45be8a(_0x31865b,_0x34d7d2){var _0x3f5599=_0x2c9416[_0x477d('0xd78')]()[_0x477d('0x49a')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20'+_[_0x477d('0xd91')](_0x477d('0x1b84'))+'?')['htmlContent'](_0x477d('0xd93')+(_0x31865b[_0x477d('0x94')]||_0x477d('0x1b84'))+_0x477d('0xd94')+_0x477d('0xd95'))['ariaLabel'](_0x477d('0x1bb1'))[_0x477d('0xd7c')](_0x34d7d2)['ok']('OK')[_0x477d('0x4f0')]('CANCEL');_0x2c9416[_0x477d('0x395')](_0x3f5599)['then'](function(){_0x4666aa(_0x31865b);},function(){console[_0x477d('0x7b')](_0x477d('0xd97'));});}var _0x48e021=!![];var _0x458e35=0x1;_0x5eef91[_0x477d('0x4b5')](_0x477d('0xd98'),function(_0x1e5c97,_0x422db3){if(_0x48e021){_0x5a1f10(function(){_0x48e021=![];});}else{if(!_0x422db3){_0x458e35=_0x1251fe[_0x477d('0x3ef')]['page'];}if(_0x1e5c97!==_0x422db3){_0x1251fe['query'][_0x477d('0xe03')]=0x1;}if(!_0x1e5c97){_0x1251fe['query'][_0x477d('0xe03')]=_0x458e35;}_0x1251fe['getVtigerAccounts']();}});function _0x9e56bc(_0x6c747b){_0x1251fe[_0x477d('0x1b87')]=_0x6c747b||{'count':0x0,'rows':[]};}function _0x200da5(){_0x1251fe[_0x477d('0x3ef')][_0x477d('0x91c')]=(_0x1251fe[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x1251fe[_0x477d('0x3ef')]['limit'];if(_0x18deac[_0x477d('0x56')]('admin')){_0x1251fe['promise']=_0x176f51[_0x477d('0xc36')][_0x477d('0x376')](_0x1251fe['query'],_0x9e56bc)[_0x477d('0x38b')];}else{_0x1251fe[_0x477d('0x3ef')]['id']=_0x1251fe['userProfile']['id'];_0x1251fe['query'][_0x477d('0xd99')]=_0x477d('0x1a7');_0x1251fe[_0x477d('0x553')]=_0x176f51[_0x477d('0x3a5')][_0x477d('0xd9a')](_0x1251fe[_0x477d('0x3ef')],_0x9e56bc)[_0x477d('0x38b')];}}function _0x2245f4(_0x178fd9,_0x483a7b){_0x2c9416[_0x477d('0x395')]({'controller':'CreateOrEditVtigerAccountDialogController','controllerAs':'vm','templateUrl':'app/main/apps/integrations/views/vtigerAccounts/create/dialog.html','parent':angular[_0x477d('0x398')](_0x3a3881[_0x477d('0x399')]),'targetEvent':_0x178fd9,'clickOutsideToClose':!![],'locals':{'vtigerAccount':_0x483a7b,'vtigerAccounts':_0x1251fe[_0x477d('0x1b87')][_0x477d('0xf2')],'license':_0x1251fe[_0x477d('0x613')],'setting':_0x1251fe[_0x477d('0xc8e')],'crudPermissions':_0x1251fe[_0x477d('0xd66')]}});}function _0x4666aa(_0x5087a1){_0x176f51[_0x477d('0xc36')][_0x477d('0xa55')]({'id':_0x5087a1['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x1251fe[_0x477d('0x1b87')][_0x477d('0xf2')],{'id':_0x5087a1['id']});_0x1251fe[_0x477d('0x1b87')][_0x477d('0x3bb')]-=0x1;if(!_0x1251fe['vtigerAccounts'][_0x477d('0xf2')][_0x477d('0x79')]){_0x1251fe[_0x477d('0x1bb2')]();}_0xff2e83[_0x477d('0x485')]({'title':_[_0x477d('0xd91')](_0x477d('0x1bb3'))+_0x477d('0xd9d'),'msg':_0x5087a1['name']?_0x5087a1['name']+_0x477d('0xd7e'):''});})[_0x477d('0xf8')](function(_0x51f284){if(_0x51f284[_0x477d('0x451')]&&_0x51f284[_0x477d('0x451')][_0x477d('0xd67')]&&_0x51f284[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x1251fe[_0x477d('0xd67')]=_0x51f284[_0x477d('0x451')]['errors']||[{'message':_0x51f284['toString'](),'type':_0x477d('0x1bb4')}];for(var _0x125986=0x0;_0x125986<_0x51f284[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x125986++){_0xff2e83[_0x477d('0x44a')]({'title':_0x51f284[_0x477d('0x451')][_0x477d('0xd67')][_0x125986][_0x477d('0x439')],'msg':_0x51f284[_0x477d('0x451')][_0x477d('0xd67')][_0x125986][_0x477d('0x452')]});}}else{_0xff2e83[_0x477d('0x44a')]({'title':_0x51f284['status']?_0x477d('0x44b')+_0x51f284['status']+_0x477d('0x44c')+_0x51f284[_0x477d('0x44d')]:_0x477d('0x1bb4'),'msg':_0x51f284['data']?JSON[_0x477d('0x3fb')](_0x51f284[_0x477d('0x451')][_0x477d('0x452')]):_0x51f284[_0x477d('0x452')]||_0x51f284[_0x477d('0x453')]()});}});}function _0x111ed8(){var _0x4f3c3c=angular[_0x477d('0x6d9')](_0x1251fe['selectedVtigerAccounts']);_0x1251fe['selectedVtigerAccounts']=[];return _0x4f3c3c;}function _0x55b235(_0x19d7cd){var _0x25d35b=_0x2c9416[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x1bb5'))[_0x477d('0xd92')](_0x477d('0xd93')+_0x1251fe[_0x477d('0x1baa')][_0x477d('0x79')]+_0x477d('0xda0')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x1bb6'))[_0x477d('0xd7c')](_0x19d7cd)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x2c9416[_0x477d('0x395')](_0x25d35b)['then'](function(){_0x1251fe[_0x477d('0x1baa')][_0x477d('0x3b1')](function(_0x8b540b){_0x4666aa(_0x8b540b);});_0x1251fe[_0x477d('0x1baa')]=[];});}function _0x2a45e6(){_0x1251fe[_0x477d('0x1baa')]=[];}function _0x543393(){_0x1251fe[_0x477d('0x1baa')]=_0x1251fe[_0x477d('0x1b87')]['rows'];}}}());(function(){'use strict';_0x652e79[_0x477d('0xa')]=['$scope',_0x477d('0x3c4'),_0x477d('0xd64'),_0x477d('0x384'),'$q',_0x477d('0x40d'),'toasty',_0x477d('0x1bb7'),_0x477d('0x1bb8'),_0x477d('0x386'),'Auth',_0x477d('0x613'),_0x477d('0xc8e'),_0x477d('0xd66')];angular['module'](_0x477d('0x38'))[_0x477d('0x3ba')](_0x477d('0x1bb9'),_0x652e79);function _0x652e79(_0x1278db,_0x321bc1,_0x49fbfd,_0xeb8c1e,_0x40289e,_0x4d4ca1,_0x36fe6f,_0x4e359c,_0x2e164e,_0x4904fc,_0x34bb2d,_0x12f26c,_0x5af91c,_0xfa120c){var _0x4fc0d8=this;_0x4fc0d8[_0x477d('0x3e5')]=_0x34bb2d[_0x477d('0x5c')]();_0x4fc0d8[_0x477d('0xd67')]=[];_0x4fc0d8['setting']=_0x5af91c;_0x4fc0d8[_0x477d('0x613')]=_0x12f26c;_0x4fc0d8[_0x477d('0xd66')]=_0xfa120c;_0x4fc0d8['hasModulePermissions']={};_0x4fc0d8[_0x477d('0xd69')]=_0x4fc0d8[_0x477d('0xc8e')]&&_0x4fc0d8['setting'][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x4fc0d8['title']=_0x477d('0x1bba');_0x4fc0d8[_0x477d('0x1bb8')]=angular[_0x477d('0x6d9')](_0x2e164e);_0x4fc0d8[_0x477d('0x1bb7')]=_0x4e359c;_0x4fc0d8['newZendeskAccount']=![];if(!_0x4fc0d8[_0x477d('0x1bb8')]){_0x4fc0d8[_0x477d('0x1bb8')]={'type':_0x477d('0x19c2'),'authType':'password','serverUrl':_0x49fbfd[_0x477d('0x3ce')]()+_0x477d('0x1209')+_0x49fbfd['host']()+(_0x49fbfd['port']()?':'+_0x49fbfd[_0x477d('0x3cf')]():'')};_0x4fc0d8[_0x477d('0x49a')]='INTEGRATIONS.NEW_ZENDESKACCOUNT';_0x4fc0d8[_0x477d('0x1bbb')]=!![];}_0x4fc0d8[_0x477d('0x1bbc')]=_0x10fcbc;_0x4fc0d8[_0x477d('0x1bbd')]=_0x35496f;_0x4fc0d8[_0x477d('0x1bbe')]=_0x39a7b8;_0x4fc0d8[_0x477d('0xd6f')]=_0x3db829;_0x4fc0d8['closeDialog']=_0x2138c2;function _0x10fcbc(){_0x4fc0d8[_0x477d('0xd67')]=[];_0x4904fc[_0x477d('0xc16')][_0x477d('0xd70')](_0x4fc0d8[_0x477d('0x1bb8')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x32e1c3){_0x4fc0d8[_0x477d('0x1bb7')]['unshift'](_0x32e1c3[_0x477d('0xd71')]());_0x36fe6f[_0x477d('0x485')]({'title':_0x477d('0x1bbf'),'msg':_0x4fc0d8['zendeskAccount'][_0x477d('0x94')]?_0x4fc0d8['zendeskAccount'][_0x477d('0x94')]+'\x20has\x20been\x20created!':''});_0x2138c2(_0x32e1c3);})[_0x477d('0xf8')](function(_0x3df025){if(_0x3df025[_0x477d('0x451')]&&_0x3df025['data'][_0x477d('0xd67')]&&_0x3df025['data'][_0x477d('0xd67')][_0x477d('0x79')]){_0x4fc0d8[_0x477d('0xd67')]=_0x3df025[_0x477d('0x451')]['errors']||[{'message':_0x3df025[_0x477d('0x453')](),'type':_0x477d('0x1bc0')}];for(var _0x5f09b0=0x0;_0x5f09b0<_0x3df025[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x5f09b0+=0x1){_0x36fe6f[_0x477d('0x44a')]({'title':_0x3df025[_0x477d('0x451')][_0x477d('0xd67')][_0x5f09b0]['type'],'msg':_0x3df025[_0x477d('0x451')][_0x477d('0xd67')][_0x5f09b0][_0x477d('0x452')]});}}else{_0x36fe6f[_0x477d('0x44a')]({'title':_0x3df025[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x3df025['status']+_0x477d('0x44c')+_0x3df025[_0x477d('0x44d')]:_0x477d('0x1bc0'),'msg':_0x3df025[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x3df025[_0x477d('0x451')][_0x477d('0x452')]):_0x3df025[_0x477d('0x453')]()});}});}function _0x35496f(){_0x4fc0d8['errors']=[];_0x4904fc[_0x477d('0xc16')][_0x477d('0x710')]({'id':_0x4fc0d8[_0x477d('0x1bb8')]['id']},_0x4fc0d8[_0x477d('0x1bb8')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x503e2a){var _0x34e29e=_[_0x477d('0x10a')](_0x4fc0d8[_0x477d('0x1bb7')],{'id':_0x503e2a['id']});if(_0x34e29e){_[_0x477d('0xef')](_0x34e29e,_['pick'](_0x503e2a[_0x477d('0xd71')](),_['keys'](_0x34e29e)));}_0x36fe6f[_0x477d('0x485')]({'title':'ZendeskAccount\x20properly\x20saved!','msg':_0x4fc0d8[_0x477d('0x1bb8')][_0x477d('0x94')]?_0x4fc0d8['zendeskAccount'][_0x477d('0x94')]+_0x477d('0xd76'):''});_0x2138c2(_0x503e2a);})[_0x477d('0xf8')](function(_0x47da10){if(_0x47da10['data']&&_0x47da10[_0x477d('0x451')][_0x477d('0xd67')]&&_0x47da10[_0x477d('0x451')]['errors'][_0x477d('0x79')]){_0x4fc0d8['errors']=_0x47da10[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x47da10['toString'](),'type':'api.intZendeskAccount.update'}];for(var _0x55db92=0x0;_0x55db92<_0x47da10[_0x477d('0x451')][_0x477d('0xd67')]['length'];_0x55db92++){_0x36fe6f['error']({'title':_0x47da10[_0x477d('0x451')][_0x477d('0xd67')][_0x55db92][_0x477d('0x439')],'msg':_0x47da10[_0x477d('0x451')][_0x477d('0xd67')][_0x55db92][_0x477d('0x452')]});}}else{_0x36fe6f['error']({'title':_0x47da10[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x47da10[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x47da10[_0x477d('0x44d')]:_0x477d('0x1bc1'),'msg':_0x47da10['data']?JSON[_0x477d('0x3fb')](_0x47da10[_0x477d('0x451')][_0x477d('0x452')]):_0x47da10[_0x477d('0x453')]()});}});}function _0x39a7b8(_0x1426b0){_0x4fc0d8[_0x477d('0xd67')]=[];var _0x52089a=_0xeb8c1e['confirm']()['title'](_0x477d('0xd79'))[_0x477d('0xdaf')](_0x477d('0x1bc2'))[_0x477d('0x687')](_0x477d('0x1bc3'))['ok']('Delete')[_0x477d('0x4f0')](_0x477d('0x688'))[_0x477d('0xd7c')](_0x1426b0);_0xeb8c1e['show'](_0x52089a)[_0x477d('0x76')](function(){_0x4904fc[_0x477d('0xc16')]['delete']({'id':_0x4fc0d8['zendeskAccount']['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_['remove'](_0x4fc0d8[_0x477d('0x1bb7')],{'id':_0x4fc0d8['zendeskAccount']['id']});_0x36fe6f[_0x477d('0x485')]({'title':'ZendeskAccount\x20properly\x20deleted!','msg':(_0x4fc0d8[_0x477d('0x1bb8')][_0x477d('0x94')]||_0x477d('0x1bb8'))+'\x20has\x20been\x20deleted!'});_0x2138c2(_0x4fc0d8[_0x477d('0x1bb8')]);})[_0x477d('0xf8')](function(_0x22fcaf){if(_0x22fcaf[_0x477d('0x451')]&&_0x22fcaf[_0x477d('0x451')][_0x477d('0xd67')]&&_0x22fcaf[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x4fc0d8[_0x477d('0xd67')]=_0x22fcaf['data'][_0x477d('0xd67')]||[{'message':_0x22fcaf[_0x477d('0x453')](),'type':_0x477d('0x1bc4')}];for(var _0x3292c3=0x0;_0x3292c3<_0x22fcaf['data']['errors'][_0x477d('0x79')];_0x3292c3++){_0x36fe6f[_0x477d('0x44a')]({'title':_0x22fcaf[_0x477d('0x451')][_0x477d('0xd67')][_0x3292c3]['type'],'msg':_0x22fcaf[_0x477d('0x451')][_0x477d('0xd67')][_0x3292c3]['message']});}}else{_0x36fe6f['error']({'title':_0x22fcaf['status']?'API:'+_0x22fcaf[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x22fcaf[_0x477d('0x44d')]:_0x477d('0x1bc4'),'msg':_0x22fcaf[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x22fcaf[_0x477d('0x451')][_0x477d('0x452')]):_0x22fcaf['message']||_0x22fcaf[_0x477d('0x453')]()});}});},function(){});}function _0x3db829(_0x3e2efa){return _0x3e2efa===null?undefined:new Date(_0x3e2efa);}function _0x2138c2(_0x264430){_0xeb8c1e[_0x477d('0x3bc')](_0x264430);}}}());(function(){'use strict';_0xf006bd[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x3c4'),_0x477d('0xd64'),'$mdDialog',_0x477d('0x40e'),_0x477d('0x1a9f'),_0x477d('0x4a6'),'item',_0x477d('0x15e5'),_0x477d('0x439'),_0x477d('0x386'),_0x477d('0x55'),_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x38'))[_0x477d('0x3ba')](_0x477d('0x1bc5'),_0xf006bd);function _0xf006bd(_0x4db4d9,_0x36d1f0,_0xa07307,_0x3b4c46,_0xbad1ef,_0x358403,_0x37ded4,_0x296a6e,_0x2eb89a,_0x3af8d9,_0x202a01,_0x5e409b,_0x2d1dc9){var _0xb8183d=this;_0xb8183d[_0x477d('0x3e5')]=_0x5e409b[_0x477d('0x5c')]();_0xb8183d['errors']=[];_0xb8183d[_0x477d('0x49a')]=_0x477d('0x1a13')+_[_0x477d('0x1a14')](_0x3af8d9);_0xb8183d[_0x477d('0x1a15')]=angular[_0x477d('0x6d9')](_0x296a6e);_0xb8183d[_0x477d('0x4a6')]=_0x37ded4;_0xb8183d['type']=_0x3af8d9;_0xb8183d['crudPermissions']=_0x2d1dc9;_0xb8183d[_0x477d('0x1a17')]=![];if(!_0xb8183d[_0x477d('0x1a15')]){_0xb8183d[_0x477d('0x1a15')]={'type':_0x477d('0x1a68')};_0xb8183d['item'][_[_0x477d('0x12e0')](_0x3af8d9)+'Id']=_0x358403['id'];_0xb8183d[_0x477d('0x49a')]=_0x477d('0x1a16')+_[_0x477d('0x1a14')](_0x3af8d9);_0xb8183d[_0x477d('0x1a17')]=!![];}_0xb8183d[_0x477d('0x1a18')]=_0x29e684;_0xb8183d[_0x477d('0x15f9')]=_0x4712fb;_0xb8183d[_0x477d('0x55f')]=_0x39cb3c;_0xb8183d[_0x477d('0x1a19')]=_0x2d713c;_0xb8183d['closeDialog']=_0x22f5d9;_0x202a01[_0x477d('0xbb9')][_0x477d('0x376')]({'nolimit':!![]})['$promise']['then'](function(_0x366bfe){_0xb8183d[_0x477d('0xf31')]=_0x366bfe['rows']?_0x366bfe[_0x477d('0xf2')]:[];return _0x202a01[_0x477d('0xa9c')][_0x477d('0xe27')]()[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x46a5da){_0xb8183d[_0x477d('0x1a1a')]=_[_0x477d('0x7e')](_['keys'](_0x46a5da),['$promise',_0x477d('0x80'),_0x477d('0xe37'),_0x477d('0xe38'),'sourceid']);_0xb8183d['voiceAgentReportColumns'][_0x477d('0x3a7')](_0x477d('0x1a1d'));return _0x202a01[_0x477d('0xa99')]['describe']()['$promise'];})[_0x477d('0x76')](function(_0x1f362e){_0xb8183d[_0x477d('0x1a1b')]=_['difference'](_[_0x477d('0x7f')](_0x1f362e),[_0x477d('0x38b'),_0x477d('0x80'),'createdAt',_0x477d('0xe38'),_0x477d('0x1a1c')]);_0xb8183d[_0x477d('0x1a1b')]['push']('recordingURL');})['catch'](function(_0x436594){_0xbad1ef[_0x477d('0x44a')]({'title':_0x436594['status']?'API:'+_0x436594[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x436594['statusText']:'SYSTEM:GETVARIABLES','msg':_0x436594['data']?JSON['stringify'](_0x436594['data']):_0x436594[_0x477d('0x453')]()});});_0x202a01['intZendeskAccount'][_0x477d('0xe26')]({'id':_0x2eb89a['id'],'ticketType':_0x358403[_0x477d('0x1a1f')]?_0x358403[_0x477d('0x1a1f')]:undefined})['$promise'][_0x477d('0x76')](function(_0x2e6968){_0xb8183d['accountConnected']=!![];_0xb8183d[_0x477d('0x458')]=_0x2e6968[_0x477d('0xf2')]?_0x2e6968[_0x477d('0xf2')]:[];if(_0xb8183d[_0x477d('0x1a15')][_0x477d('0x1a22')]){_0xb8183d['customField']=_['find'](_0xb8183d[_0x477d('0x458')],{'id':_0xb8183d['item'][_0x477d('0x1a22')]});}})[_0x477d('0xf8')](function(_0x18ecba){_0xb8183d[_0x477d('0x1a20')]=![];console[_0x477d('0x44a')](_0x18ecba);});function _0x29e684(){_0xb8183d[_0x477d('0xd67')]=[];if(_0xb8183d[_0x477d('0x1532')]){_0xb8183d[_0x477d('0x1a15')]['idField']=_0xb8183d[_0x477d('0x1532')]['id'];_0xb8183d[_0x477d('0x1a15')]['nameField']=_0xb8183d[_0x477d('0x1532')][_0x477d('0x94')];_0xb8183d[_0x477d('0x1a15')][_0x477d('0x1532')]=_0xb8183d[_0x477d('0x1532')][_0x477d('0x9f6')];}_0x202a01[_0x477d('0xc22')][_0x477d('0xd70')](_0xb8183d[_0x477d('0x1a15')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x4f66f0){_0xb8183d[_0x477d('0x4a6')]['unshift'](_0x4f66f0);_0xbad1ef['success']({'title':_[_0x477d('0x12e0')](_0x3af8d9)+_0x477d('0x1a21'),'msg':_[_0x477d('0x12e0')](_0x3af8d9)+_0x477d('0xd73')});_0x22f5d9();})['catch'](function(_0x215e79){console[_0x477d('0x44a')](_0x215e79);_0xb8183d[_0x477d('0xd67')]=_0x215e79[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x215e79[_0x477d('0x453')](),'type':_0x477d('0x1a69')}];});}function _0x4712fb(){_0xb8183d[_0x477d('0xd67')]=[];if(_0xb8183d[_0x477d('0x1532')]){_0xb8183d[_0x477d('0x1a15')][_0x477d('0x1a22')]=_0xb8183d[_0x477d('0x1532')]['id'];_0xb8183d['item'][_0x477d('0x1a23')]=_0xb8183d['customField'][_0x477d('0x94')];_0xb8183d[_0x477d('0x1a15')][_0x477d('0x1532')]=_0xb8183d[_0x477d('0x1532')][_0x477d('0x9f6')];}_0x202a01[_0x477d('0xc22')][_0x477d('0x710')]({'id':_0xb8183d[_0x477d('0x1a15')]['id']},_0xb8183d[_0x477d('0x1a15')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x3490d1){var _0x98c8f2=_[_0x477d('0x10a')](_0xb8183d[_0x477d('0x4a6')],{'id':_0x3490d1['id']});if(_0x98c8f2){_[_0x477d('0xef')](_0x98c8f2,_0x3490d1);}_0xbad1ef[_0x477d('0x485')]({'title':_[_0x477d('0x12e0')](_0x3af8d9)+_0x477d('0x1a6a'),'msg':_[_0x477d('0x12e0')](_0x3af8d9)+_0x477d('0xd76')});_0x22f5d9();})[_0x477d('0xf8')](function(_0xd31ff2){console[_0x477d('0x44a')](_0xd31ff2);_0xb8183d['errors']=_0xd31ff2['data']['errors']||[{'message':_0xd31ff2[_0x477d('0x453')](),'type':_0x477d('0x1a24')}];});}function _0x39cb3c(_0x4a4f3f){_0xb8183d[_0x477d('0xd67')]=[];var _0x429f5e=_0x3b4c46['confirm']()[_0x477d('0x49a')]('Are\x20you\x20sure?')[_0x477d('0xdaf')]('The\x20'+_0x3af8d9+'\x20will\x20be\x20deleted.')[_0x477d('0x687')](_0x477d('0x1a6b')+_[_0x477d('0x12e0')](_0x3af8d9))['ok'](_0x477d('0xd7b'))[_0x477d('0x4f0')](_0x477d('0x688'))[_0x477d('0xd7c')](_0x4a4f3f);_0x3b4c46['show'](_0x429f5e)[_0x477d('0x76')](function(){_0x202a01['intZendeskField'][_0x477d('0xa55')]({'id':_0xb8183d['item']['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0xb8183d['items'],{'id':_0xb8183d[_0x477d('0x1a15')]['id']});_0xbad1ef[_0x477d('0x485')]({'title':_[_0x477d('0x12e0')](_0x3af8d9)+_0x477d('0x1a26'),'msg':_[_0x477d('0x12e0')](_0x3af8d9)+_0x477d('0xd7e')});_0x22f5d9();})[_0x477d('0xf8')](function(_0x2603af){console[_0x477d('0x44a')](_0x2603af);_0xb8183d[_0x477d('0xd67')]=_0x2603af[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x2603af[_0x477d('0x453')](),'type':'api.item.delete'}];});},function(){});}function _0x2d713c(){if(_0xb8183d[_0x477d('0x1a15')][_0x477d('0x1a28')]!==undefined){return _0xb8183d['item'][_0x477d('0x1a28')];}else{return _0x477d('0x1a29');}};function _0x22f5d9(){_0x3b4c46[_0x477d('0x3bc')]();}}}());(function(){'use strict';_0x47b118[_0x477d('0xa')]=[_0x477d('0x3c4'),_0x477d('0xd64'),_0x477d('0x384'),_0x477d('0x475'),'$translate',_0x477d('0x613'),_0x477d('0xc8e'),'api',_0x477d('0x40e'),'Auth',_0x477d('0x1bb8'),_0x477d('0x3ac')];angular['module'](_0x477d('0x38'))[_0x477d('0x3ba')](_0x477d('0x1bc6'),_0x47b118);function _0x47b118(_0x2fa9db,_0x3f27bc,_0x24dd85,_0x237264,_0x19bdbc,_0x4e1b08,_0x1eb8eb,_0x39e261,_0x2a03dc,_0x326a4f,_0x343563,_0x4a29d4){var _0x59818b=this;_0x59818b[_0x477d('0x3e5')]=_0x326a4f[_0x477d('0x5c')]();_0x59818b[_0x477d('0x613')]=_0x4e1b08;_0x59818b['setting']=_0x1eb8eb;_0x59818b['passwordPattern']=_0x59818b['setting'][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x59818b[_0x477d('0x3cc')]=_0x3f27bc[_0x477d('0x3ce')]()+_0x477d('0x1209')+_0x3f27bc['host']();_0x59818b[_0x477d('0x1bb8')]=_0x343563||_0x2fa9db[_0x477d('0x37e')][_0x477d('0x1bb8')]||{};_0x59818b[_0x477d('0x3ac')]=_0x4a29d4&&_0x4a29d4[_0x477d('0x3bb')]==0x1?_0x4a29d4[_0x477d('0xf2')][0x0]:null;_0x59818b[_0x477d('0xd66')]=_0x326a4f['parseCrudPermissions'](_0x59818b[_0x477d('0x3ac')]?_0x59818b['userProfileSection'][_0x477d('0xd66')]:null);_0x59818b['hasModulePermissions']={};_0x59818b[_0x477d('0xe95')]=_0x2fa9db['params']['tab']||0x0;_0x59818b['alert']=_0x2a03dc[_0x477d('0x669')];_0x59818b[_0x477d('0x1bc7')]=_0x557b41;_0x59818b['saveZendeskAccount']=_0x276248;function _0x557b41(){_0x2fa9db['go'](_0x477d('0x174'),{},{'reload':'app.integrations.zendeskAccounts'});}function _0x276248(){_0x39e261[_0x477d('0xc16')]['update']({'id':_0x59818b[_0x477d('0x1bb8')]['id']},_0x59818b[_0x477d('0x1bb8')])['$promise'][_0x477d('0x76')](function(){_0x2a03dc[_0x477d('0x485')]({'title':_0x477d('0x1bc8'),'msg':_0x59818b[_0x477d('0x1bb8')]['name']?_0x59818b[_0x477d('0x1bb8')]['name']+_0x477d('0xed7'):''});})[_0x477d('0xf8')](function(_0x32160c){_0x2a03dc['error']({'title':_0x32160c[_0x477d('0x3c3')]?'API:'+_0x32160c[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x32160c[_0x477d('0x44d')]:'SYSTEM:GETintZendeskAccount','msg':_0x32160c[_0x477d('0x451')]?JSON['stringify'](_0x32160c[_0x477d('0x451')]):_0x32160c[_0x477d('0x453')]()});});}}}());(function(){'use strict';_0x2f478f[_0x477d('0xa')]=[_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x386'),_0x477d('0x40e'),'Auth'];angular['module'](_0x477d('0x38'))[_0x477d('0x3ba')](_0x477d('0x1bc9'),_0x2f478f);function _0x2f478f(_0x8ce41c,_0x434dee,_0x44357f,_0x2b7d60,_0x34a4b7){var _0x5a93f7=this;_0x5a93f7[_0x477d('0x3e5')]=_0x34a4b7[_0x477d('0x5c')]();_0x5a93f7[_0x477d('0x1bb8')]={};_0x5a93f7[_0x477d('0x1bca')]={};_0x5a93f7[_0x477d('0x1bcb')]=[];_0x5a93f7[_0x477d('0x1bcc')]=-0x1;_0x5a93f7[_0x477d('0xd66')];_0x5a93f7[_0x477d('0x5ee')]=_0x8e1440;_0x5a93f7[_0x477d('0x1bcd')]=_0x351017;_0x5a93f7[_0x477d('0x1bce')]=_0x5ebc23;_0x5a93f7['deleteZendeskConfiguration']=_0x5ad9bf;_0x5a93f7['selectedTags']=[];_0x5a93f7[_0x477d('0x19e5')]=_0x437cb7;_0x44357f['tag'][_0x477d('0x376')]({'nolimit':!![],'sort':_0x477d('0x94')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x38c1d8){_0x5a93f7['tags']=_0x38c1d8['rows']?_0x38c1d8[_0x477d('0xf2')]:[];})[_0x477d('0xf8')](function(_0x17a066){_0x2b7d60[_0x477d('0x44a')]({'title':_0x17a066[_0x477d('0x3c3')]?'API:'+_0x17a066['status']+_0x477d('0x44c')+_0x17a066[_0x477d('0x44d')]:'SYSTEM:GETTAGS','msg':_0x17a066[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x17a066['data']):_0x17a066[_0x477d('0x453')]()});});function _0x437cb7(_0x1c50f9){_0x44357f[_0x477d('0xc1c')][_0x477d('0x14c9')]({'id':_0x5a93f7[_0x477d('0x1bca')]['id'],'ids':_0x5a93f7['selectedTags']})[_0x477d('0x38b')]['then'](function(){_0x2b7d60[_0x477d('0x485')]({'title':_0x477d('0x1a84'),'msg':_0x477d('0x19e7')});})[_0x477d('0xf8')](function(_0x41f4d7){_0x2b7d60[_0x477d('0x44a')]({'title':_0x41f4d7[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x41f4d7[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x41f4d7[_0x477d('0x44d')]:_0x477d('0x19e8'),'msg':_0x41f4d7[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x41f4d7[_0x477d('0x451')]):_0x41f4d7['toString']()});});}function _0x8e1440(_0x1df354,_0x4ca573){_0x5a93f7[_0x477d('0x1bb8')]=_0x1df354;_0x5a93f7[_0x477d('0xd66')]=typeof _0x4ca573!==_0x477d('0x4a4')?_0x4ca573:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x44357f[_0x477d('0xc16')][_0x477d('0x19e9')]({'id':_0x5a93f7[_0x477d('0x1bb8')]['id'],'sort':_0x477d('0x59')})['$promise'][_0x477d('0x76')](function(_0x460e32){_0x5a93f7[_0x477d('0x1bcb')]=_0x460e32[_0x477d('0xf2')]?_0x460e32[_0x477d('0xf2')]:[];if(_0x5a93f7[_0x477d('0x1bcb')]['length']){_0x5a93f7['getZendeskConfiguration'](0x0);}return _0x44357f[_0x477d('0xbb9')][_0x477d('0x376')]({'nolimit':!![],'sort':_0x477d('0x94')})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x29e5cf){_0x5a93f7[_0x477d('0xf31')]=_0x29e5cf[_0x477d('0xf2')]?_0x29e5cf[_0x477d('0xf2')]:[];_0x5a93f7[_0x477d('0x1a4e')]=_[_0x477d('0xdb5')](_0x5a93f7['variables'],'id');})[_0x477d('0xf8')](function(_0x38d119){_0x2b7d60[_0x477d('0x44a')]({'title':_0x38d119[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x38d119[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x38d119[_0x477d('0x44d')]:'SYSTEM:GETCONFIGURATION','msg':_0x38d119[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x38d119[_0x477d('0x451')]):_0x38d119[_0x477d('0x453')]()});});}function _0x351017(_0x3c89ce){_0x5a93f7['zendeskConfiguration']=_0x5a93f7[_0x477d('0x1bcb')][_0x3c89ce];_0x5a93f7[_0x477d('0x1bcc')]=_0x3c89ce;_0x44357f[_0x477d('0xc1c')][_0x477d('0x19eb')]({'id':_0x5a93f7[_0x477d('0x1bca')]['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x2b2f10){_0x5a93f7[_0x477d('0x19ec')]=_0x2b2f10['rows']?_0x2b2f10[_0x477d('0xf2')]:[];return _0x44357f[_0x477d('0xc1c')]['getDescriptions']({'id':_0x5a93f7['zendeskConfiguration']['id']})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x4cd8de){_0x5a93f7[_0x477d('0x19ed')]=_0x4cd8de[_0x477d('0xf2')]?_0x4cd8de[_0x477d('0xf2')]:[];return _0x44357f[_0x477d('0xc1c')][_0x477d('0xe26')]({'id':_0x5a93f7['zendeskConfiguration']['id']})[_0x477d('0x38b')];})['then'](function(_0x5bb227){_0x5a93f7[_0x477d('0x458')]=_0x5bb227[_0x477d('0xf2')]?_0x5bb227['rows']:[];})[_0x477d('0xf8')](function(_0x494504){_0x2b7d60[_0x477d('0x44a')]({'title':_0x494504[_0x477d('0x3c3')]?'API:'+_0x494504[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x494504[_0x477d('0x44d')]:_0x477d('0x19ee'),'msg':_0x494504['data']?JSON['stringify'](_0x494504['data']):_0x494504[_0x477d('0x453')]()});});_0x44357f['intZendeskConfiguration'][_0x477d('0x1bcf')]({'id':_0x5a93f7['zendeskConfiguration']['id']})['$promise'][_0x477d('0x76')](function(_0x432120){_0x5a93f7[_0x477d('0x19e4')]=_0x432120[_0x477d('0xf2')]?_[_0x477d('0x3cb')](_0x432120['rows'],'id'):[];})['catch'](function(_0x2bb274){_0x2b7d60[_0x477d('0x44a')]({'title':_0x2bb274[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x2bb274[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x2bb274[_0x477d('0x44d')]:'SYSTEM:GETTAGS','msg':_0x2bb274[_0x477d('0x451')]?JSON['stringify'](_0x2bb274[_0x477d('0x451')]):_0x2bb274[_0x477d('0x453')]()});});}function _0x5ebc23(_0x1cbd97,_0x1c318a){_0x8ce41c[_0x477d('0x395')]({'controller':_0x477d('0x1bd0'),'controllerAs':'vm','templateUrl':_0x477d('0x1bd1'),'parent':angular[_0x477d('0x398')](_0x434dee['body']),'targetEvent':_0x1cbd97,'clickOutsideToClose':!![],'locals':{'zendeskConfiguration':_0x1c318a,'zendeskConfigurations':_0x5a93f7[_0x477d('0x1bcb')],'license':null,'setting':null,'crudPermissions':_0x5a93f7['crudPermissions']}})[_0x477d('0x5ff')](function(){_0x5a93f7['getZendeskConfiguration'](0x0);});}function _0x5ad9bf(_0x587f62,_0x3b7473){var _0x4828c4=_0x8ce41c[_0x477d('0xd78')]()['title']('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20zendeskConfiguration?')[_0x477d('0xd92')](_0x477d('0xd93')+(_0x3b7473[_0x477d('0x94')]||_0x477d('0x1bca'))+_0x477d('0xd94')+'\x20will\x20be\x20deleted.')[_0x477d('0x687')](_0x477d('0x1bd2'))[_0x477d('0xd7c')](_0x587f62)['ok']('OK')['cancel'](_0x477d('0xd97'));_0x8ce41c['show'](_0x4828c4)[_0x477d('0x76')](function(){_0x44357f['intZendeskConfiguration'][_0x477d('0xa55')]({'id':_0x3b7473['id']})[_0x477d('0x38b')]['then'](function(){_[_0x477d('0x39c')](_0x5a93f7[_0x477d('0x1bcb')],{'id':_0x3b7473['id']});_0x2b7d60[_0x477d('0x485')]({'title':_0x477d('0x1bd3'),'msg':_0x3b7473[_0x477d('0x94')]?_0x3b7473[_0x477d('0x94')]+_0x477d('0xd7e'):''});})[_0x477d('0xf8')](function(_0x4f8c2e){_0x2b7d60['error']({'title':_0x4f8c2e[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x4f8c2e[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x4f8c2e[_0x477d('0x44d')]:_0x477d('0x19f1'),'msg':_0x4f8c2e[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x4f8c2e['data']):_0x4f8c2e[_0x477d('0x453')]()});})[_0x477d('0x5ff')](function(){_0x5a93f7[_0x477d('0x1bcd')](0x0);});},function(){console[_0x477d('0x7b')](_0x477d('0xd97'));});}_0x5a93f7[_0x477d('0x19fa')]=[];_0x5a93f7['createOrEditSubject']=_0x40e326;_0x5a93f7[_0x477d('0x19f3')]=_0xadfa77;_0x5a93f7[_0x477d('0x19f4')]=_0xa97989;function _0x40e326(_0x54cac9,_0x140c15){_0x8ce41c[_0x477d('0x395')]({'controller':_0x477d('0x1bc5'),'controllerAs':'vm','templateUrl':'app/main/apps/integrations/views/zendeskAccounts/edit/item/dialog.html','parent':angular[_0x477d('0x398')](_0x434dee['body']),'targetEvent':_0x54cac9,'clickOutsideToClose':!![],'locals':{'type':_0x477d('0x135c'),'item':_0x140c15,'items':_0x5a93f7['subjects'],'configuration':_0x5a93f7[_0x477d('0x1bca')],'account':_0x5a93f7[_0x477d('0x1bb8')],'license':null,'setting':null,'crudPermissions':_0x5a93f7[_0x477d('0xd66')]}});}function _0x434ff9(_0x23f2c4){_0x44357f[_0x477d('0xc22')]['delete']({'id':_0x23f2c4['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x5a93f7['subjects'],{'id':_0x23f2c4['id']});_0x2b7d60[_0x477d('0x485')]({'title':_0x477d('0x19f6'),'msg':_0x477d('0x19f7')});})['catch'](function(_0x2cb342){_0x2b7d60[_0x477d('0x44a')]({'title':_0x2cb342[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x2cb342['status']+_0x477d('0x44c')+_0x2cb342[_0x477d('0x44d')]:_0x477d('0x19f8'),'msg':_0x2cb342[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x2cb342[_0x477d('0x451')]):_0x2cb342[_0x477d('0x453')]()});});}function _0xadfa77(_0x3a63e4,_0x11e834){var _0x4a5710=_0x8ce41c['confirm']()[_0x477d('0x49a')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20subject?')[_0x477d('0xd92')](_0x477d('0x19f9')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x1a56'))[_0x477d('0xd7c')](_0x3a63e4)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x8ce41c[_0x477d('0x395')](_0x4a5710)[_0x477d('0x76')](function(){_0x434ff9(_0x11e834);},function(){console[_0x477d('0x7b')](_0x477d('0xd97'));});}function _0xa97989(_0x2b8424){var _0xcf9f99=_0x8ce41c['confirm']()[_0x477d('0x49a')](_0x477d('0x1a8d'))['htmlContent'](''+_0x5a93f7[_0x477d('0x19fa')][_0x477d('0x79')]+_0x477d('0xda0')+_0x477d('0xd95'))['ariaLabel'](_0x477d('0x19fb'))['targetEvent'](_0x2b8424)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x8ce41c[_0x477d('0x395')](_0xcf9f99)['then'](function(){_0x5a93f7[_0x477d('0x19fa')]['forEach'](function(_0x3b7aeb){_0x434ff9(_0x3b7aeb);});_0x5a93f7['selectedSubjects']=[];});}_0x5a93f7[_0x477d('0x19fc')]=[];_0x5a93f7[_0x477d('0x19fd')]=_0x25ee08;_0x5a93f7[_0x477d('0x19fe')]=_0x233731;_0x5a93f7[_0x477d('0x1a57')]=_0x5b5fb4;function _0x25ee08(_0x23e963,_0x9477e9){_0x8ce41c[_0x477d('0x395')]({'controller':_0x477d('0x1bc5'),'controllerAs':'vm','templateUrl':_0x477d('0x1bd4'),'parent':angular['element'](_0x434dee[_0x477d('0x399')]),'targetEvent':_0x23e963,'clickOutsideToClose':!![],'locals':{'type':_0x477d('0xe0e'),'item':_0x9477e9,'items':_0x5a93f7[_0x477d('0x19ed')],'configuration':_0x5a93f7['zendeskConfiguration'],'account':_0x5a93f7[_0x477d('0x1bb8')],'license':null,'setting':null,'crudPermissions':_0x5a93f7[_0x477d('0xd66')]}});}function _0x5c91fc(_0x2da3eb){_0x44357f[_0x477d('0xc22')][_0x477d('0xa55')]({'id':_0x2da3eb['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x5a93f7[_0x477d('0x19ed')],{'id':_0x2da3eb['id']});_0x2b7d60[_0x477d('0x485')]({'title':_0x477d('0x1a5a'),'msg':'Description\x20has\x20been\x20deleted!'});})[_0x477d('0xf8')](function(_0x11ee20){_0x2b7d60[_0x477d('0x44a')]({'title':_0x11ee20[_0x477d('0x3c3')]?'API:'+_0x11ee20[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x11ee20['statusText']:_0x477d('0x19f8'),'msg':_0x11ee20[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x11ee20['data']):_0x11ee20[_0x477d('0x453')]()});});}function _0x233731(_0x41dbf7,_0x1467f6){var _0x1e1984=_0x8ce41c[_0x477d('0xd78')]()[_0x477d('0x49a')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20description?')[_0x477d('0xd92')](_0x477d('0x1a01')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x1a02'))[_0x477d('0xd7c')](_0x41dbf7)['ok']('OK')[_0x477d('0x4f0')]('CANCEL');_0x8ce41c[_0x477d('0x395')](_0x1e1984)[_0x477d('0x76')](function(){_0x5c91fc(_0x1467f6);},function(){console[_0x477d('0x7b')]('CANCEL');});}function _0x5b5fb4(_0xee2e69){var _0x51e87b=_0x8ce41c[_0x477d('0xd78')]()[_0x477d('0x49a')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20descriptions?')[_0x477d('0xd92')](_0x477d('0xd93')+_0x5a93f7['selectedDescriptions'][_0x477d('0x79')]+_0x477d('0xda0')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x1a04'))[_0x477d('0xd7c')](_0xee2e69)['ok']('OK')[_0x477d('0x4f0')]('CANCEL');_0x8ce41c[_0x477d('0x395')](_0x51e87b)['then'](function(){_0x5a93f7[_0x477d('0x19fc')][_0x477d('0x3b1')](function(_0x812f6f){_0x5c91fc(_0x812f6f);});_0x5a93f7['selectedDescriptions']=[];});}_0x5a93f7['selectedFields']=[];_0x5a93f7[_0x477d('0x1a05')]=_0x2da4a5;_0x5a93f7[_0x477d('0x1a8f')]=_0x521286;_0x5a93f7[_0x477d('0x1a06')]=_0x4170fa;function _0x2da4a5(_0x6c9f5f,_0x452055){_0x8ce41c[_0x477d('0x395')]({'controller':'CreateOrEditZendeskAccountItemDialogController','controllerAs':'vm','templateUrl':_0x477d('0x1bd4'),'parent':angular[_0x477d('0x398')](_0x434dee[_0x477d('0x399')]),'targetEvent':_0x6c9f5f,'clickOutsideToClose':!![],'locals':{'type':'field','item':_0x452055,'items':_0x5a93f7[_0x477d('0x458')],'configuration':_0x5a93f7['zendeskConfiguration'],'account':_0x5a93f7['zendeskAccount'],'license':null,'setting':null,'crudPermissions':_0x5a93f7['crudPermissions']}});}function _0x38a4e0(_0x3ee5df){_0x44357f[_0x477d('0xc22')][_0x477d('0xa55')]({'id':_0x3ee5df['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x5a93f7[_0x477d('0x458')],{'id':_0x3ee5df['id']});_0x2b7d60[_0x477d('0x485')]({'title':'Field\x20deleted!','msg':_0x477d('0x1a90')});})[_0x477d('0xf8')](function(_0x5b5947){_0x2b7d60[_0x477d('0x44a')]({'title':_0x5b5947['status']?_0x477d('0x44b')+_0x5b5947[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x5b5947['statusText']:_0x477d('0x19f8'),'msg':_0x5b5947[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x5b5947[_0x477d('0x451')]):_0x5b5947[_0x477d('0x453')]()});});}function _0x521286(_0x5a3c3,_0x577f85){var _0x5d066d=_0x8ce41c[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xe6d'))[_0x477d('0xd92')](_0x477d('0x1a5b')+_0x477d('0xd95'))[_0x477d('0x687')]('delete\x20field')[_0x477d('0xd7c')](_0x5a3c3)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x8ce41c['show'](_0x5d066d)[_0x477d('0x76')](function(){_0x38a4e0(_0x577f85);},function(){console[_0x477d('0x7b')]('CANCEL');});}function _0x4170fa(_0x1d92eb){var _0x56b7d1=_0x8ce41c[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xe72'))[_0x477d('0xd92')](_0x477d('0xd93')+_0x5a93f7['selectedFields']['length']+_0x477d('0xda0')+_0x477d('0xd95'))['ariaLabel'](_0x477d('0xe73'))['targetEvent'](_0x1d92eb)['ok']('OK')['cancel']('CANCEL');_0x8ce41c[_0x477d('0x395')](_0x56b7d1)['then'](function(){_0x5a93f7['selectedFields']['forEach'](function(_0x442955){_0x38a4e0(_0x442955);});_0x5a93f7[_0x477d('0x1a08')]=[];});}}}());(function(){'use strict';_0x5e587c[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x3c4'),'$location',_0x477d('0x384'),'$q',_0x477d('0x40d'),_0x477d('0x40e'),_0x477d('0x1bcb'),'zendeskConfiguration','api',_0x477d('0x55'),'license',_0x477d('0xc8e'),_0x477d('0xd66')];angular['module'](_0x477d('0x38'))[_0x477d('0x3ba')](_0x477d('0x1bd0'),_0x5e587c);function _0x5e587c(_0x1f8e22,_0x363668,_0x47c3af,_0x1ee123,_0x4f49c4,_0x45cf72,_0x391d62,_0x592bf8,_0x1ec8fc,_0x281009,_0x2f9ca2,_0x2d1aa0,_0x477cbe,_0x438c01){var _0x2d694b=this;_0x2d694b[_0x477d('0x3e5')]=_0x2f9ca2[_0x477d('0x5c')]();_0x2d694b['errors']=[];_0x2d694b[_0x477d('0xc8e')]=_0x477cbe;_0x2d694b[_0x477d('0x613')]=_0x2d1aa0;_0x2d694b[_0x477d('0xd66')]=_0x438c01;_0x2d694b[_0x477d('0xd68')]={};_0x2d694b[_0x477d('0xd69')]=_0x2d694b['setting']&&_0x2d694b['setting'][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x2d694b['title']=_0x477d('0x1bd5');_0x2d694b[_0x477d('0x1bca')]=angular[_0x477d('0x6d9')](_0x1ec8fc);_0x2d694b[_0x477d('0x1bcb')]=_0x592bf8;_0x2d694b['newZendeskConfiguration']=![];if(!_0x2d694b[_0x477d('0x1bca')]){_0x2d694b[_0x477d('0x1bca')]={'channel':'voice','type':'inbound'};_0x2d694b[_0x477d('0x49a')]='INTEGRATIONS.NEW_ZENDESKCONFIGURATION';_0x2d694b[_0x477d('0x1bd6')]=!![];}_0x2d694b[_0x477d('0x1bd7')]=_0x1253a8;_0x2d694b['saveZendeskConfiguration']=_0x453372;_0x2d694b[_0x477d('0x1bd8')]=_0x434b26;_0x2d694b[_0x477d('0xd6f')]=_0x4c5330;_0x2d694b[_0x477d('0x6bf')]=_0xf8569a;function _0x1253a8(){_0x2d694b[_0x477d('0xd67')]=[];_0x281009['intZendeskAccount']['addConfiguration']({'id':_0x363668[_0x477d('0x37e')]['id']},_0x2d694b[_0x477d('0x1bca')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x4d1793){_0x2d694b['zendeskConfigurations'][_0x477d('0x63b')](_0x4d1793['toJSON']());_0x391d62[_0x477d('0x485')]({'title':_0x477d('0x1bd9'),'msg':_0x2d694b[_0x477d('0x1bca')][_0x477d('0x94')]?_0x2d694b[_0x477d('0x1bca')][_0x477d('0x94')]+_0x477d('0xd73'):''});_0xf8569a(_0x4d1793);})['catch'](function(_0x21797a){if(_0x21797a['data']&&_0x21797a[_0x477d('0x451')][_0x477d('0xd67')]&&_0x21797a['data'][_0x477d('0xd67')][_0x477d('0x79')]){_0x2d694b[_0x477d('0xd67')]=_0x21797a[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x21797a['toString'](),'type':_0x477d('0x1bda')}];for(var _0x1147d9=0x0;_0x1147d9<_0x21797a[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x1147d9+=0x1){_0x391d62[_0x477d('0x44a')]({'title':_0x21797a[_0x477d('0x451')][_0x477d('0xd67')][_0x1147d9]['type'],'msg':_0x21797a[_0x477d('0x451')][_0x477d('0xd67')][_0x1147d9][_0x477d('0x452')]});}}else{_0x391d62[_0x477d('0x44a')]({'title':_0x21797a[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x21797a[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x21797a[_0x477d('0x44d')]:_0x477d('0x1bda'),'msg':_0x21797a[_0x477d('0x451')]?JSON['stringify'](_0x21797a[_0x477d('0x451')][_0x477d('0x452')]):_0x21797a['toString']()});}});}function _0x453372(){_0x2d694b[_0x477d('0xd67')]=[];_0x281009[_0x477d('0xc1c')][_0x477d('0x710')]({'id':_0x2d694b['zendeskConfiguration']['id']},_0x2d694b[_0x477d('0x1bca')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x5e7e54){var _0x25c416=_[_0x477d('0x10a')](_0x2d694b[_0x477d('0x1bcb')],{'id':_0x5e7e54['id']});if(_0x25c416){_['merge'](_0x25c416,_[_0x477d('0x10b')](_0x5e7e54['toJSON'](),_[_0x477d('0x7f')](_0x25c416)));}_0x391d62[_0x477d('0x485')]({'title':'ZendeskConfiguration\x20properly\x20saved!','msg':_0x2d694b[_0x477d('0x1bca')]['name']?_0x2d694b[_0x477d('0x1bca')]['name']+_0x477d('0xd76'):''});_0xf8569a(_0x5e7e54);})['catch'](function(_0x3f37d5){if(_0x3f37d5['data']&&_0x3f37d5['data'][_0x477d('0xd67')]&&_0x3f37d5[_0x477d('0x451')][_0x477d('0xd67')]['length']){_0x2d694b[_0x477d('0xd67')]=_0x3f37d5['data'][_0x477d('0xd67')]||[{'message':_0x3f37d5[_0x477d('0x453')](),'type':_0x477d('0x1bdb')}];for(var _0x46e85b=0x0;_0x46e85b<_0x3f37d5['data']['errors']['length'];_0x46e85b++){_0x391d62[_0x477d('0x44a')]({'title':_0x3f37d5[_0x477d('0x451')][_0x477d('0xd67')][_0x46e85b][_0x477d('0x439')],'msg':_0x3f37d5[_0x477d('0x451')][_0x477d('0xd67')][_0x46e85b]['message']});}}else{_0x391d62[_0x477d('0x44a')]({'title':_0x3f37d5[_0x477d('0x3c3')]?'API:'+_0x3f37d5[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x3f37d5['statusText']:_0x477d('0x1bdb'),'msg':_0x3f37d5[_0x477d('0x451')]?JSON['stringify'](_0x3f37d5[_0x477d('0x451')][_0x477d('0x452')]):_0x3f37d5['toString']()});}});}function _0x434b26(_0x1af790){_0x2d694b[_0x477d('0xd67')]=[];var _0x4018d3=_0x1ee123[_0x477d('0xd78')]()[_0x477d('0x49a')]('Are\x20you\x20sure?')[_0x477d('0xdaf')](_0x477d('0x1bdc'))['ariaLabel'](_0x477d('0x1bdd'))['ok'](_0x477d('0xd7b'))['cancel'](_0x477d('0x688'))[_0x477d('0xd7c')](_0x1af790);_0x1ee123[_0x477d('0x395')](_0x4018d3)[_0x477d('0x76')](function(){_0x281009[_0x477d('0xc1c')]['delete']({'id':_0x2d694b[_0x477d('0x1bca')]['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x2d694b['zendeskConfigurations'],{'id':_0x2d694b[_0x477d('0x1bca')]['id']});_0x391d62[_0x477d('0x485')]({'title':_0x477d('0x1bde'),'msg':(_0x2d694b[_0x477d('0x1bca')][_0x477d('0x94')]||_0x477d('0x1bca'))+_0x477d('0xd7e')});_0xf8569a(_0x2d694b[_0x477d('0x1bca')]);})['catch'](function(_0x5c69ae){if(_0x5c69ae[_0x477d('0x451')]&&_0x5c69ae[_0x477d('0x451')][_0x477d('0xd67')]&&_0x5c69ae['data'][_0x477d('0xd67')][_0x477d('0x79')]){_0x2d694b[_0x477d('0xd67')]=_0x5c69ae[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x5c69ae[_0x477d('0x453')](),'type':_0x477d('0x1bdf')}];for(var _0x21cafd=0x0;_0x21cafd<_0x5c69ae[_0x477d('0x451')]['errors'][_0x477d('0x79')];_0x21cafd++){_0x391d62[_0x477d('0x44a')]({'title':_0x5c69ae[_0x477d('0x451')][_0x477d('0xd67')][_0x21cafd][_0x477d('0x439')],'msg':_0x5c69ae['data'][_0x477d('0xd67')][_0x21cafd][_0x477d('0x452')]});}}else{_0x391d62['error']({'title':_0x5c69ae[_0x477d('0x3c3')]?'API:'+_0x5c69ae[_0x477d('0x3c3')]+'\x20-\x20'+_0x5c69ae[_0x477d('0x44d')]:'api.intZendeskConfiguration.delete','msg':_0x5c69ae[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x5c69ae[_0x477d('0x451')][_0x477d('0x452')]):_0x5c69ae[_0x477d('0x452')]||_0x5c69ae[_0x477d('0x453')]()});}});},function(){});}function _0x4c5330(_0x5bd3ef){return _0x5bd3ef===null?undefined:new Date(_0x5bd3ef);}function _0xf8569a(_0x12b52c){_0x1ee123['hide'](_0x12b52c);}}}());(function(){'use strict';_0x47d6b9[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x387'),_0x477d('0x3c4'),_0x477d('0x554'),_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x3fe'),_0x477d('0x40d'),_0x477d('0x1bb7'),_0x477d('0x3a5'),'userProfileSection',_0x477d('0x386'),_0x477d('0x342'),_0x477d('0x40e'),_0x477d('0x55'),_0x477d('0x613'),_0x477d('0xc8e')];angular['module'](_0x477d('0x38'))[_0x477d('0x3ba')](_0x477d('0x1be0'),_0x47d6b9);function _0x47d6b9(_0x22a54b,_0x387dd9,_0x5c5f8d,_0x1f1163,_0x5e296a,_0x48a085,_0x3b3b81,_0x18dcac,_0x50d66d,_0x3f27a0,_0x52f0b8,_0x1024eb,_0x383d68,_0x584253,_0x3b8f92,_0x26f13b,_0x80d806){var _0x299922=this;_0x299922['license']=_0x26f13b;_0x299922[_0x477d('0xc8e')]=_0x80d806;_0x299922[_0x477d('0x3e5')]=_0x3b8f92['getCurrentUser']();_0x299922[_0x477d('0x1bb7')]=_0x50d66d||{'count':0x0,'rows':[]};_0x299922[_0x477d('0x3a5')]=_0x3f27a0;_0x299922[_0x477d('0x3ac')]=_0x52f0b8&&_0x52f0b8['count']==0x1?_0x52f0b8['rows'][0x0]:null;_0x299922[_0x477d('0xd66')]=_0x3b8f92[_0x477d('0xd81')](_0x299922[_0x477d('0x3ac')]?_0x299922[_0x477d('0x3ac')][_0x477d('0xd66')]:null);_0x299922[_0x477d('0xd82')]=_0x477d('0x1bb7');_0x299922[_0x477d('0xd83')]='';_0x299922[_0x477d('0xd84')]=null;_0x299922[_0x477d('0x1be1')]=[];_0x299922[_0x477d('0x3ef')]={'fields':'createdAt,updatedAt,id,name,type,username,remoteUri,authType,password,token,serverUrl,description','limit':0xa,'page':0x1};_0x299922[_0x477d('0x138b')]=_[_0x477d('0xdb5')]([{'option':_0x477d('0x19d0'),'value':_0x477d('0x1b10')},{'option':_0x477d('0x1b11'),'value':'\x27newTab\x27'}],function(_0x423327){return _[_0x477d('0x409')](_0x423327[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x299922[_0x477d('0x1be2')]=_[_0x477d('0xdb5')]([{'option':_0x477d('0x1be3'),'value':'\x27password\x27'},{'option':'Token','value':_0x477d('0x1be4')}],function(_0x77663d){return _[_0x477d('0x409')](_0x77663d[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x299922['editstate']=_0x141f99;_0x299922[_0x477d('0x19d4')]=_0x4fbdd4;_0x299922['deleteconfirm']=_0x49b405;_0x299922[_0x477d('0x485')]=_0x5a6a4a;_0x299922[_0x477d('0x1be5')]=_0xdf95ea;_0x299922[_0x477d('0x1be6')]=_0x63609c;_0x299922[_0x477d('0x1bbe')]=_0x4cddd9;_0x299922[_0x477d('0x1be7')]=_0x49cf3d;_0x299922[_0x477d('0x1be8')]=_0x54769a;_0x299922[_0x477d('0x1be9')]=_0x2481bd;_0x299922[_0x477d('0x1bea')]=_0xc41434;function _0x141f99(_0x28b68e,_0x5224d9){_0x5c5f8d['go'](_0x477d('0x17a'),{'id':_0x28b68e['id'],'zendeskAccount':_0x28b68e,'crudPermissions':_0x299922[_0x477d('0xd66')]});}function _0x4fbdd4(_0x54ed59,_0x4a3df7){return _0x1024eb[_0x477d('0xc16')][_0x477d('0xe26')]({'id':_0x54ed59['id'],'test':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(){_0x584253['success']({'title':_0x477d('0x1beb'),'msg':_0x477d('0xf0a')});})['catch'](function(_0x397390){_0x584253['error']({'title':_0x477d('0x1beb'),'msg':_0x397390[_0x477d('0x451')]?_0x397390[_0x477d('0x451')][_0x477d('0x452')]?_0x397390[_0x477d('0x451')][_0x477d('0x452')]:JSON['stringify'](_0x397390[_0x477d('0x451')]):_0x397390[_0x477d('0x453')]()});});}function _0x49b405(_0x2a17d5,_0x28dbfc){var _0xce8dc0=_0x5e296a[_0x477d('0xd78')]()['title'](_0x477d('0xd90')+_[_0x477d('0xd91')](_0x477d('0x1bb8'))+'?')[_0x477d('0xd92')](_0x477d('0xd93')+(_0x2a17d5[_0x477d('0x94')]||_0x477d('0x1bb8'))+_0x477d('0xd94')+_0x477d('0xd95'))['ariaLabel'](_0x477d('0x1bec'))[_0x477d('0xd7c')](_0x28dbfc)['ok']('OK')['cancel'](_0x477d('0xd97'));_0x5e296a[_0x477d('0x395')](_0xce8dc0)['then'](function(){_0x4cddd9(_0x2a17d5);},function(){console[_0x477d('0x7b')](_0x477d('0xd97'));});}var _0x49882e=!![];var _0x33597d=0x1;_0x22a54b['$watch']('vm.query.filter',function(_0x53897c,_0x24ccfd){if(_0x49882e){_0x3b3b81(function(){_0x49882e=![];});}else{if(!_0x24ccfd){_0x33597d=_0x299922[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x53897c!==_0x24ccfd){_0x299922[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0x53897c){_0x299922[_0x477d('0x3ef')][_0x477d('0xe03')]=_0x33597d;}_0x299922[_0x477d('0x1be5')]();}});function _0x5a6a4a(_0x3cf9b8){_0x299922['zendeskAccounts']=_0x3cf9b8||{'count':0x0,'rows':[]};}function _0xdf95ea(){_0x299922[_0x477d('0x3ef')][_0x477d('0x91c')]=(_0x299922[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x299922[_0x477d('0x3ef')]['limit'];if(_0x3b8f92[_0x477d('0x56')](_0x477d('0x5f'))){_0x299922[_0x477d('0x553')]=_0x1024eb['intZendeskAccount'][_0x477d('0x376')](_0x299922[_0x477d('0x3ef')],_0x5a6a4a)[_0x477d('0x38b')];}else{_0x299922[_0x477d('0x3ef')]['id']=_0x299922[_0x477d('0x3a5')]['id'];_0x299922['query'][_0x477d('0xd99')]=_0x477d('0x178');_0x299922[_0x477d('0x553')]=_0x1024eb[_0x477d('0x3a5')][_0x477d('0xd9a')](_0x299922[_0x477d('0x3ef')],_0x5a6a4a)['$promise'];}}function _0x63609c(_0x32ebfa,_0x297a18){_0x5e296a['show']({'controller':_0x477d('0x1bb9'),'controllerAs':'vm','templateUrl':_0x477d('0x1bed'),'parent':angular[_0x477d('0x398')](_0x48a085[_0x477d('0x399')]),'targetEvent':_0x32ebfa,'clickOutsideToClose':!![],'locals':{'zendeskAccount':_0x297a18,'zendeskAccounts':_0x299922[_0x477d('0x1bb7')][_0x477d('0xf2')],'license':_0x299922[_0x477d('0x613')],'setting':_0x299922[_0x477d('0xc8e')],'crudPermissions':_0x299922[_0x477d('0xd66')]}});}function _0x4cddd9(_0x58e95a){_0x1024eb[_0x477d('0xc16')][_0x477d('0xa55')]({'id':_0x58e95a['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x299922[_0x477d('0x1bb7')][_0x477d('0xf2')],{'id':_0x58e95a['id']});_0x299922[_0x477d('0x1bb7')][_0x477d('0x3bb')]-=0x1;if(!_0x299922[_0x477d('0x1bb7')][_0x477d('0xf2')][_0x477d('0x79')]){_0x299922[_0x477d('0x1be5')]();}_0x584253[_0x477d('0x485')]({'title':_[_0x477d('0xd91')](_0x477d('0x1bee'))+_0x477d('0xd9d'),'msg':_0x58e95a[_0x477d('0x94')]?_0x58e95a['name']+'\x20has\x20been\x20deleted!':''});})['catch'](function(_0x49e90a){if(_0x49e90a['data']&&_0x49e90a[_0x477d('0x451')][_0x477d('0xd67')]&&_0x49e90a['data'][_0x477d('0xd67')][_0x477d('0x79')]){_0x299922[_0x477d('0xd67')]=_0x49e90a[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x49e90a[_0x477d('0x453')](),'type':_0x477d('0x1bef')}];for(var _0x257f80=0x0;_0x257f80<_0x49e90a['data'][_0x477d('0xd67')]['length'];_0x257f80++){_0x584253[_0x477d('0x44a')]({'title':_0x49e90a['data'][_0x477d('0xd67')][_0x257f80]['type'],'msg':_0x49e90a[_0x477d('0x451')][_0x477d('0xd67')][_0x257f80][_0x477d('0x452')]});}}else{_0x584253[_0x477d('0x44a')]({'title':_0x49e90a['status']?_0x477d('0x44b')+_0x49e90a['status']+_0x477d('0x44c')+_0x49e90a[_0x477d('0x44d')]:_0x477d('0x1bef'),'msg':_0x49e90a[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x49e90a[_0x477d('0x451')]['message']):_0x49e90a[_0x477d('0x452')]||_0x49e90a['toString']()});}});}function _0x49cf3d(){var _0x324e48=angular[_0x477d('0x6d9')](_0x299922[_0x477d('0x1be1')]);_0x299922['selectedZendeskAccounts']=[];return _0x324e48;}function _0x54769a(_0x5ae8e7){var _0x147c1c=_0x5e296a['confirm']()[_0x477d('0x49a')](_0x477d('0x1bf0'))[_0x477d('0xd92')](_0x477d('0xd93')+_0x299922[_0x477d('0x1be1')]['length']+_0x477d('0xda0')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x1bf1'))[_0x477d('0xd7c')](_0x5ae8e7)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x5e296a[_0x477d('0x395')](_0x147c1c)[_0x477d('0x76')](function(){_0x299922[_0x477d('0x1be1')][_0x477d('0x3b1')](function(_0x1d0e99){_0x4cddd9(_0x1d0e99);});_0x299922[_0x477d('0x1be1')]=[];});}function _0x2481bd(){_0x299922['selectedZendeskAccounts']=[];}function _0xc41434(){_0x299922[_0x477d('0x1be1')]=_0x299922[_0x477d('0x1bb7')][_0x477d('0xf2')];}}}());(function(){'use strict';_0x435698[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x3c4'),'$location','$mdDialog','$q',_0x477d('0x40d'),'toasty','zohoAccounts',_0x477d('0x1bf2'),_0x477d('0x386'),_0x477d('0x55'),_0x477d('0x613'),'setting',_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x38'))[_0x477d('0x3ba')](_0x477d('0x1bf3'),_0x435698);function _0x435698(_0x4de61c,_0x5d8232,_0x1b7237,_0x3e1add,_0x33b92a,_0x335835,_0x4e87b7,_0x3e597a,_0x47d0aa,_0x12b35c,_0xc2762b,_0x2f7712,_0x3a3458,_0x3bfbfd){var _0x3c182a=this;_0x3c182a[_0x477d('0x3e5')]=_0xc2762b[_0x477d('0x5c')]();_0x3c182a[_0x477d('0xd67')]=[];_0x3c182a[_0x477d('0xc8e')]=_0x3a3458;_0x3c182a['license']=_0x2f7712;_0x3c182a[_0x477d('0xd66')]=_0x3bfbfd;_0x3c182a[_0x477d('0xd68')]={};_0x3c182a['passwordPattern']=_0x3c182a[_0x477d('0xc8e')]&&_0x3c182a['setting'][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x3c182a[_0x477d('0x49a')]=_0x477d('0x1bf4');_0x3c182a[_0x477d('0x1bf2')]=angular[_0x477d('0x6d9')](_0x47d0aa);_0x3c182a['zohoAccounts']=_0x3e597a;_0x3c182a[_0x477d('0x1bf5')]=![];if(!_0x3c182a[_0x477d('0x1bf2')]){_0x3c182a[_0x477d('0x1bf2')]={'host':_0x477d('0x1bf6'),'zone':'EU','serverUrl':_0x1b7237[_0x477d('0x3ce')]()+_0x477d('0x1209')+_0x1b7237['host']()+(_0x1b7237['port']()?':'+_0x1b7237[_0x477d('0x3cf')]():'')};_0x3c182a[_0x477d('0x49a')]=_0x477d('0x1bf7');_0x3c182a[_0x477d('0x1bf5')]=!![];}_0x3c182a[_0x477d('0x1bf8')]=_0x3045f1;_0x3c182a['saveZohoAccount']=_0x8aeb6a;_0x3c182a[_0x477d('0x1bf9')]=_0x37c552;_0x3c182a[_0x477d('0xd6f')]=_0x4e3362;_0x3c182a[_0x477d('0x6bf')]=_0x542200;function _0x3045f1(){_0x3c182a[_0x477d('0xd67')]=[];_0x12b35c[_0x477d('0xc08')][_0x477d('0xd70')](_0x3c182a[_0x477d('0x1bf2')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x18dc55){_0x3c182a[_0x477d('0x1bfa')][_0x477d('0x63b')](_0x18dc55['toJSON']());_0x4e87b7[_0x477d('0x485')]({'title':'ZohoAccount\x20properly\x20created','msg':_0x3c182a[_0x477d('0x1bf2')][_0x477d('0x94')]?_0x3c182a[_0x477d('0x1bf2')][_0x477d('0x94')]+'\x20has\x20been\x20created!':''});_0x542200(_0x18dc55);})['catch'](function(_0x1db7b9){if(_0x1db7b9[_0x477d('0x451')]&&_0x1db7b9[_0x477d('0x451')]['errors']&&_0x1db7b9['data']['errors'][_0x477d('0x79')]){_0x3c182a[_0x477d('0xd67')]=_0x1db7b9[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x1db7b9[_0x477d('0x453')](),'type':'api.intZohoAccount.save'}];for(var _0x3c04ca=0x0;_0x3c04ca<_0x1db7b9[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x3c04ca+=0x1){_0x4e87b7[_0x477d('0x44a')]({'title':_0x1db7b9[_0x477d('0x451')][_0x477d('0xd67')][_0x3c04ca][_0x477d('0x439')],'msg':_0x1db7b9[_0x477d('0x451')]['errors'][_0x3c04ca]['message']});}}else{_0x4e87b7[_0x477d('0x44a')]({'title':_0x1db7b9[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x1db7b9['status']+_0x477d('0x44c')+_0x1db7b9['statusText']:_0x477d('0x1bfb'),'msg':_0x1db7b9['data']?JSON[_0x477d('0x3fb')](_0x1db7b9['data'][_0x477d('0x452')]):_0x1db7b9[_0x477d('0x453')]()});}});}function _0x8aeb6a(){_0x3c182a[_0x477d('0xd67')]=[];_0x12b35c['intZohoAccount']['update']({'id':_0x3c182a[_0x477d('0x1bf2')]['id']},_0x3c182a['zohoAccount'])['$promise'][_0x477d('0x76')](function(_0xf1ebe9){var _0x4c40fe=_[_0x477d('0x10a')](_0x3c182a[_0x477d('0x1bfa')],{'id':_0xf1ebe9['id']});if(_0x4c40fe){_[_0x477d('0xef')](_0x4c40fe,_[_0x477d('0x10b')](_0xf1ebe9[_0x477d('0xd71')](),_[_0x477d('0x7f')](_0x4c40fe)));}_0x4e87b7[_0x477d('0x485')]({'title':_0x477d('0x1bfc'),'msg':_0x3c182a[_0x477d('0x1bf2')][_0x477d('0x94')]?_0x3c182a['zohoAccount'][_0x477d('0x94')]+'\x20has\x20been\x20saved!':''});_0x542200(_0xf1ebe9);})[_0x477d('0xf8')](function(_0x2cfb83){if(_0x2cfb83['data']&&_0x2cfb83[_0x477d('0x451')][_0x477d('0xd67')]&&_0x2cfb83[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x3c182a[_0x477d('0xd67')]=_0x2cfb83['data'][_0x477d('0xd67')]||[{'message':_0x2cfb83[_0x477d('0x453')](),'type':_0x477d('0x1bfd')}];for(var _0x296fcd=0x0;_0x296fcd<_0x2cfb83[_0x477d('0x451')]['errors']['length'];_0x296fcd++){_0x4e87b7[_0x477d('0x44a')]({'title':_0x2cfb83[_0x477d('0x451')][_0x477d('0xd67')][_0x296fcd][_0x477d('0x439')],'msg':_0x2cfb83['data']['errors'][_0x296fcd][_0x477d('0x452')]});}}else{_0x4e87b7[_0x477d('0x44a')]({'title':_0x2cfb83[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x2cfb83[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x2cfb83[_0x477d('0x44d')]:_0x477d('0x1bfd'),'msg':_0x2cfb83[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x2cfb83['data'][_0x477d('0x452')]):_0x2cfb83[_0x477d('0x453')]()});}});}function _0x37c552(_0x2acbc8){_0x3c182a[_0x477d('0xd67')]=[];var _0x3f3688=_0x3e1add[_0x477d('0xd78')]()['title'](_0x477d('0xd79'))[_0x477d('0xdaf')](_0x477d('0x1bfe'))[_0x477d('0x687')](_0x477d('0x1bff'))['ok'](_0x477d('0xd7b'))[_0x477d('0x4f0')](_0x477d('0x688'))[_0x477d('0xd7c')](_0x2acbc8);_0x3e1add[_0x477d('0x395')](_0x3f3688)[_0x477d('0x76')](function(){_0x12b35c[_0x477d('0xc08')][_0x477d('0xa55')]({'id':_0x3c182a[_0x477d('0x1bf2')]['id']})[_0x477d('0x38b')]['then'](function(){_[_0x477d('0x39c')](_0x3c182a[_0x477d('0x1bfa')],{'id':_0x3c182a[_0x477d('0x1bf2')]['id']});_0x4e87b7['success']({'title':_0x477d('0x1c00'),'msg':(_0x3c182a[_0x477d('0x1bf2')][_0x477d('0x94')]||'zohoAccount')+_0x477d('0xd7e')});_0x542200(_0x3c182a[_0x477d('0x1bf2')]);})[_0x477d('0xf8')](function(_0x2eb3a4){if(_0x2eb3a4[_0x477d('0x451')]&&_0x2eb3a4[_0x477d('0x451')][_0x477d('0xd67')]&&_0x2eb3a4[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x3c182a['errors']=_0x2eb3a4['data'][_0x477d('0xd67')]||[{'message':_0x2eb3a4[_0x477d('0x453')](),'type':_0x477d('0x1c01')}];for(var _0x1e5bf9=0x0;_0x1e5bf9<_0x2eb3a4['data']['errors'][_0x477d('0x79')];_0x1e5bf9++){_0x4e87b7[_0x477d('0x44a')]({'title':_0x2eb3a4[_0x477d('0x451')][_0x477d('0xd67')][_0x1e5bf9]['type'],'msg':_0x2eb3a4['data'][_0x477d('0xd67')][_0x1e5bf9][_0x477d('0x452')]});}}else{_0x4e87b7[_0x477d('0x44a')]({'title':_0x2eb3a4['status']?_0x477d('0x44b')+_0x2eb3a4['status']+_0x477d('0x44c')+_0x2eb3a4[_0x477d('0x44d')]:_0x477d('0x1c01'),'msg':_0x2eb3a4[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x2eb3a4[_0x477d('0x451')][_0x477d('0x452')]):_0x2eb3a4['message']||_0x2eb3a4['toString']()});}});},function(){});}function _0x4e3362(_0x2c48c0){return _0x2c48c0===null?undefined:new Date(_0x2c48c0);}function _0x542200(_0x4b1c60){_0x3e1add[_0x477d('0x3bc')](_0x4b1c60);}}}());(function(){'use strict';_0x1b2a81[_0x477d('0xa')]=[_0x477d('0x384'),'$document',_0x477d('0x386'),_0x477d('0x40e'),'Auth'];angular[_0x477d('0xb')]('app.integrations')[_0x477d('0x3ba')]('ZohoAccountConfigurationsController',_0x1b2a81);function _0x1b2a81(_0x3b6c95,_0x4d0c47,_0x4bf9b0,_0x58f6a5,_0x2b6ac2){var _0x3fae78=this;_0x3fae78[_0x477d('0x3e5')]=_0x2b6ac2[_0x477d('0x5c')]();_0x3fae78[_0x477d('0x1bf2')]={};_0x3fae78[_0x477d('0x1c02')]={};_0x3fae78[_0x477d('0x19df')]=[];_0x3fae78['selectedZohoConfiguration']=-0x1;_0x3fae78['crudPermissions'];_0x3fae78[_0x477d('0x5ee')]=_0x4285e3;_0x3fae78[_0x477d('0x1c03')]=_0x43d8bd;_0x3fae78[_0x477d('0x1c04')]=_0x3bad54;_0x3fae78[_0x477d('0x1c05')]=_0x4b7d75;_0x3fae78[_0x477d('0x1c06')]=_0x23ec15;function _0x23ec15(){return _0x4bf9b0[_0x477d('0x1c07')][_0x477d('0x710')]({'id':_0x3fae78['zohoConfiguration']['id']},_0x3fae78[_0x477d('0x1c02')])[_0x477d('0x38b')][_0x477d('0x76')](function(){_0x58f6a5[_0x477d('0x485')]({'title':_0x477d('0x1af9'),'msg':_0x477d('0x1c08')});})['catch'](function(_0x1b0c23){_0x58f6a5['error']({'title':_0x1b0c23['status']?'API:'+_0x1b0c23[_0x477d('0x3c3')]+'\x20-\x20'+_0x1b0c23[_0x477d('0x44d')]:_0x477d('0x1c09'),'msg':_0x1b0c23[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x1b0c23[_0x477d('0x451')]):_0x1b0c23[_0x477d('0x453')]()});});};function _0x4285e3(_0x22a54a,_0x359200){_0x3fae78['zohoAccount']=_0x22a54a;_0x3fae78[_0x477d('0xd66')]=typeof _0x359200!==_0x477d('0x4a4')?_0x359200:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x4bf9b0['intZohoAccount'][_0x477d('0x19e9')]({'id':_0x3fae78[_0x477d('0x1bf2')]['id'],'sort':_0x477d('0x59')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x291827){_0x3fae78[_0x477d('0x19df')]=_0x291827['rows']?_0x291827['rows']:[];if(_0x3fae78[_0x477d('0x19df')][_0x477d('0x79')]){_0x3fae78[_0x477d('0x1c03')](0x0);}return _0x4bf9b0[_0x477d('0xbb9')][_0x477d('0x376')]({'nolimit':!![],'sort':_0x477d('0x94')})['$promise'];})[_0x477d('0x76')](function(_0x1f4662){_0x3fae78[_0x477d('0xf31')]=_0x1f4662['rows']?_0x1f4662[_0x477d('0xf2')]:[];_0x3fae78[_0x477d('0x1a4e')]=_[_0x477d('0xdb5')](_0x3fae78['variables'],'id');})[_0x477d('0xf8')](function(_0x48c711){_0x58f6a5['error']({'title':_0x48c711[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x48c711[_0x477d('0x3c3')]+'\x20-\x20'+_0x48c711[_0x477d('0x44d')]:_0x477d('0x19ea'),'msg':_0x48c711[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x48c711['data']):_0x48c711['toString']()});});}function _0x43d8bd(_0x255a33){_0x3fae78[_0x477d('0x1c02')]=_0x3fae78['configurations'][_0x255a33];_0x3fae78['selectedZohoConfiguration']=_0x255a33;_0x4bf9b0[_0x477d('0x1c07')]['getSubjects']({'id':_0x3fae78[_0x477d('0x1c02')]['id']})[_0x477d('0x38b')]['then'](function(_0x1eafa9){_0x3fae78[_0x477d('0x19ec')]=_0x1eafa9[_0x477d('0xf2')]?_0x1eafa9[_0x477d('0xf2')]:[];return _0x4bf9b0[_0x477d('0x1c07')][_0x477d('0x1a4f')]({'id':_0x3fae78[_0x477d('0x1c02')]['id']})[_0x477d('0x38b')];})['then'](function(_0x35efd2){_0x3fae78['descriptions']=_0x35efd2[_0x477d('0xf2')]?_0x35efd2[_0x477d('0xf2')]:[];return _0x4bf9b0[_0x477d('0x1c07')][_0x477d('0xe26')]({'id':_0x3fae78[_0x477d('0x1c02')]['id']})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x1467b6){_0x3fae78['fields']=_0x1467b6[_0x477d('0xf2')]?_0x1467b6[_0x477d('0xf2')]:[];})[_0x477d('0xf8')](function(_0xc74c99){_0x58f6a5['error']({'title':_0xc74c99['status']?'API:'+_0xc74c99[_0x477d('0x3c3')]+_0x477d('0x44c')+_0xc74c99[_0x477d('0x44d')]:_0x477d('0x19ee'),'msg':_0xc74c99[_0x477d('0x451')]?JSON['stringify'](_0xc74c99[_0x477d('0x451')]):_0xc74c99['toString']()});});}function _0x3bad54(_0x5565e7,_0x43ae12){_0x3b6c95[_0x477d('0x395')]({'controller':_0x477d('0x1c0a'),'controllerAs':'vm','templateUrl':'app/main/apps/integrations/views/zohoAccounts/edit/configurations/dialog.html','parent':angular['element'](_0x4d0c47['body']),'targetEvent':_0x5565e7,'clickOutsideToClose':!![],'locals':{'zohoConfiguration':_0x43ae12,'configurations':_0x3fae78[_0x477d('0x19df')],'license':null,'setting':null,'crudPermissions':_0x3fae78[_0x477d('0xd66')]}})[_0x477d('0x5ff')](function(){_0x3fae78[_0x477d('0x1c03')](0x0);});}function _0x4b7d75(_0x3a971b,_0x1e2a36){var _0x1712eb=_0x3b6c95[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x1c0b'))['htmlContent'](_0x477d('0xd93')+(_0x1e2a36[_0x477d('0x94')]||_0x477d('0x1c02'))+_0x477d('0xd94')+'\x20will\x20be\x20deleted.')['ariaLabel'](_0x477d('0x1c0c'))[_0x477d('0xd7c')](_0x3a971b)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x3b6c95[_0x477d('0x395')](_0x1712eb)['then'](function(){_0x4bf9b0[_0x477d('0x1c07')][_0x477d('0xa55')]({'id':_0x1e2a36['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x3fae78[_0x477d('0x19df')],{'id':_0x1e2a36['id']});_0x58f6a5[_0x477d('0x485')]({'title':'ZohoConfiguration\x20deleted!','msg':_0x1e2a36[_0x477d('0x94')]?_0x1e2a36['name']+_0x477d('0xd7e'):''});})[_0x477d('0xf8')](function(_0x499984){_0x58f6a5[_0x477d('0x44a')]({'title':_0x499984[_0x477d('0x3c3')]?'API:'+_0x499984[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x499984[_0x477d('0x44d')]:_0x477d('0x19f1'),'msg':_0x499984[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x499984[_0x477d('0x451')]):_0x499984['toString']()});})[_0x477d('0x5ff')](function(){_0x3fae78[_0x477d('0x1c03')](0x0);});},function(){console['log'](_0x477d('0xd97'));});}_0x3fae78[_0x477d('0x19fa')]=[];_0x3fae78[_0x477d('0x19f2')]=_0x43e8c7;_0x3fae78[_0x477d('0x19f3')]=_0x1519f0;_0x3fae78[_0x477d('0x19f4')]=_0x3c2649;function _0x43e8c7(_0x39662a,_0x2645f0){_0x3b6c95[_0x477d('0x395')]({'controller':_0x477d('0x1c0d'),'controllerAs':'vm','templateUrl':_0x477d('0x1c0e'),'parent':angular[_0x477d('0x398')](_0x4d0c47['body']),'targetEvent':_0x39662a,'clickOutsideToClose':!![],'locals':{'type':_0x477d('0x135c'),'item':_0x2645f0,'items':_0x3fae78[_0x477d('0x19ec')],'configuration':_0x3fae78[_0x477d('0x1c02')],'account':_0x3fae78['zohoAccount'],'license':null,'setting':null,'crudPermissions':_0x3fae78['crudPermissions']}});}function _0x45fa5d(_0x5ab46a){_0x4bf9b0[_0x477d('0xc13')][_0x477d('0xa55')]({'id':_0x5ab46a['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x3fae78[_0x477d('0x19ec')],{'id':_0x5ab46a['id']});_0x58f6a5['success']({'title':_0x477d('0x19f6'),'msg':'Subject\x20has\x20been\x20deleted!'});})[_0x477d('0xf8')](function(_0x58797a){_0x58f6a5[_0x477d('0x44a')]({'title':_0x58797a['status']?'API:'+_0x58797a[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x58797a[_0x477d('0x44d')]:_0x477d('0x19f8'),'msg':_0x58797a[_0x477d('0x451')]?JSON['stringify'](_0x58797a[_0x477d('0x451')]):_0x58797a[_0x477d('0x453')]()});});}function _0x1519f0(_0x31f15c,_0x37f204){var _0x31084f=_0x3b6c95[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x1a8c'))[_0x477d('0xd92')](_0x477d('0x19f9')+_0x477d('0xd95'))[_0x477d('0x687')]('delete\x20subject')['targetEvent'](_0x31f15c)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x3b6c95['show'](_0x31084f)['then'](function(){_0x45fa5d(_0x37f204);},function(){console[_0x477d('0x7b')](_0x477d('0xd97'));});}function _0x3c2649(_0x3dfba8){var _0x404042=_0x3b6c95[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x1a8d'))['htmlContent'](_0x477d('0xd93')+_0x3fae78[_0x477d('0x19fa')][_0x477d('0x79')]+_0x477d('0xda0')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x19fb'))[_0x477d('0xd7c')](_0x3dfba8)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x3b6c95[_0x477d('0x395')](_0x404042)['then'](function(){_0x3fae78[_0x477d('0x19fa')][_0x477d('0x3b1')](function(_0xbfde5f){_0x45fa5d(_0xbfde5f);});_0x3fae78[_0x477d('0x19fa')]=[];});}_0x3fae78['selectedDescriptions']=[];_0x3fae78['createOrEditDescription']=_0x3de78a;_0x3fae78[_0x477d('0x19fe')]=_0x2005ec;_0x3fae78['deleteSelectedDescriptions']=_0xf20b06;function _0x3de78a(_0x1ec8e1,_0x5a56ce){_0x3b6c95[_0x477d('0x395')]({'controller':_0x477d('0x1c0d'),'controllerAs':'vm','templateUrl':_0x477d('0x1c0e'),'parent':angular[_0x477d('0x398')](_0x4d0c47[_0x477d('0x399')]),'targetEvent':_0x1ec8e1,'clickOutsideToClose':!![],'locals':{'type':_0x477d('0xe0e'),'item':_0x5a56ce,'items':_0x3fae78[_0x477d('0x19ed')],'configuration':_0x3fae78[_0x477d('0x1c02')],'account':_0x3fae78[_0x477d('0x1bf2')],'license':null,'setting':null,'crudPermissions':_0x3fae78[_0x477d('0xd66')]}});}function _0x27097f(_0xef5da4){_0x4bf9b0[_0x477d('0xc13')][_0x477d('0xa55')]({'id':_0xef5da4['id']})['$promise']['then'](function(){_[_0x477d('0x39c')](_0x3fae78[_0x477d('0x19ed')],{'id':_0xef5da4['id']});_0x58f6a5[_0x477d('0x485')]({'title':_0x477d('0x1a5a'),'msg':_0x477d('0x19ff')});})[_0x477d('0xf8')](function(_0x2d1853){_0x58f6a5[_0x477d('0x44a')]({'title':_0x2d1853[_0x477d('0x3c3')]?'API:'+_0x2d1853[_0x477d('0x3c3')]+'\x20-\x20'+_0x2d1853[_0x477d('0x44d')]:_0x477d('0x19f8'),'msg':_0x2d1853[_0x477d('0x451')]?JSON['stringify'](_0x2d1853[_0x477d('0x451')]):_0x2d1853[_0x477d('0x453')]()});});}function _0x2005ec(_0x146e92,_0x748a8b){var _0x338788=_0x3b6c95['confirm']()[_0x477d('0x49a')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20description?')['htmlContent'](_0x477d('0x1a01')+'\x20will\x20be\x20deleted.')[_0x477d('0x687')](_0x477d('0x1a02'))[_0x477d('0xd7c')](_0x146e92)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x3b6c95[_0x477d('0x395')](_0x338788)[_0x477d('0x76')](function(){_0x27097f(_0x748a8b);},function(){console[_0x477d('0x7b')](_0x477d('0xd97'));});}function _0xf20b06(_0x204330){var _0x5362b7=_0x3b6c95[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x1a03'))[_0x477d('0xd92')](''+_0x3fae78[_0x477d('0x19fc')][_0x477d('0x79')]+_0x477d('0xda0')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x1a04'))['targetEvent'](_0x204330)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x3b6c95[_0x477d('0x395')](_0x5362b7)[_0x477d('0x76')](function(){_0x3fae78['selectedDescriptions'][_0x477d('0x3b1')](function(_0x52bc9d){_0x27097f(_0x52bc9d);});_0x3fae78[_0x477d('0x19fc')]=[];});}_0x3fae78[_0x477d('0x1a08')]=[];_0x3fae78[_0x477d('0x1a05')]=_0x3610c9;_0x3fae78[_0x477d('0x1a8f')]=_0x3d4fe7;_0x3fae78['deleteSelectedFields']=_0x26fe56;function _0x3610c9(_0x231079,_0x3ffc6f){_0x3b6c95[_0x477d('0x395')]({'controller':'CreateOrEditZohoAccountItemDialogController','controllerAs':'vm','templateUrl':_0x477d('0x1c0e'),'parent':angular[_0x477d('0x398')](_0x4d0c47[_0x477d('0x399')]),'targetEvent':_0x231079,'clickOutsideToClose':!![],'locals':{'type':_0x477d('0x463'),'item':_0x3ffc6f,'items':_0x3fae78['fields'],'configuration':_0x3fae78[_0x477d('0x1c02')],'account':_0x3fae78[_0x477d('0x1bf2')],'license':null,'setting':null,'crudPermissions':_0x3fae78[_0x477d('0xd66')]}});}function _0x35028c(_0x232391){_0x4bf9b0['intZohoField']['delete']({'id':_0x232391['id']})['$promise'][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x3fae78['fields'],{'id':_0x232391['id']});_0x58f6a5[_0x477d('0x485')]({'title':_0x477d('0xe70'),'msg':_0x477d('0x1a90')});})[_0x477d('0xf8')](function(_0x4bf480){_0x58f6a5['error']({'title':_0x4bf480[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x4bf480['status']+_0x477d('0x44c')+_0x4bf480[_0x477d('0x44d')]:'SYSTEM:DELETECONFIGURATIONFIELD','msg':_0x4bf480['data']?JSON[_0x477d('0x3fb')](_0x4bf480['data']):_0x4bf480[_0x477d('0x453')]()});});}function _0x3d4fe7(_0x56fd7f,_0x2926c1){var _0x5cc4f3=_0x3b6c95[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xe6d'))['htmlContent'](_0x477d('0x1a5b')+'\x20will\x20be\x20deleted.')[_0x477d('0x687')](_0x477d('0x1a91'))[_0x477d('0xd7c')](_0x56fd7f)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x3b6c95[_0x477d('0x395')](_0x5cc4f3)[_0x477d('0x76')](function(){_0x35028c(_0x2926c1);},function(){console[_0x477d('0x7b')](_0x477d('0xd97'));});}function _0x26fe56(_0x486eca){var _0x737d3f=_0x3b6c95['confirm']()[_0x477d('0x49a')](_0x477d('0xe72'))[_0x477d('0xd92')](_0x477d('0xd93')+_0x3fae78[_0x477d('0x1a08')]['length']+_0x477d('0xda0')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0xe73'))[_0x477d('0xd7c')](_0x486eca)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x3b6c95[_0x477d('0x395')](_0x737d3f)[_0x477d('0x76')](function(){_0x3fae78['selectedFields']['forEach'](function(_0x358879){_0x35028c(_0x358879);});_0x3fae78[_0x477d('0x1a08')]=[];});}}}());(function(){'use strict';_0x880bd['$inject']=[_0x477d('0x474'),_0x477d('0x3c4'),_0x477d('0xd64'),_0x477d('0x384'),'$q',_0x477d('0x40d'),'toasty',_0x477d('0x19df'),_0x477d('0x1c02'),_0x477d('0x386'),_0x477d('0x55'),'license',_0x477d('0xc8e'),_0x477d('0xd66')];angular['module'](_0x477d('0x38'))[_0x477d('0x3ba')](_0x477d('0x1c0a'),_0x880bd);function _0x880bd(_0x5b547a,_0xf6ab93,_0x4a76d2,_0xcceb4f,_0x35c699,_0x5d6827,_0x3422c4,_0x18fddb,_0x486f0a,_0x408008,_0x3feebd,_0x47b811,_0x18f6fc,_0x21d3c9){var _0x58a464=this;_0x58a464['currentUser']=_0x3feebd['getCurrentUser']();_0x58a464[_0x477d('0xd67')]=[];_0x58a464[_0x477d('0xc8e')]=_0x18f6fc;_0x58a464[_0x477d('0x613')]=_0x47b811;_0x58a464[_0x477d('0xd66')]=_0x21d3c9;_0x58a464[_0x477d('0xd68')]={};_0x58a464[_0x477d('0xd69')]=_0x58a464[_0x477d('0xc8e')]&&_0x58a464[_0x477d('0xc8e')][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x58a464[_0x477d('0x49a')]='INTEGRATIONS.EDIT_ZOHOCONFIGURATION';_0x58a464[_0x477d('0x1c02')]=angular[_0x477d('0x6d9')](_0x486f0a);_0x58a464[_0x477d('0x19df')]=_0x18fddb;_0x58a464[_0x477d('0x1c0f')]=![];if(!_0x58a464[_0x477d('0x1c02')]){_0x58a464['zohoConfiguration']={'channel':_0x477d('0x108'),'type':_0x477d('0x9e')};_0x58a464[_0x477d('0x49a')]=_0x477d('0x1c10');_0x58a464[_0x477d('0x1c0f')]=!![];}_0x58a464[_0x477d('0x1c11')]=_0x11d211;_0x58a464[_0x477d('0x1c12')]=_0x5388df;_0x58a464[_0x477d('0x1c05')]=_0x1fb8ad;_0x58a464[_0x477d('0xd6f')]=_0x1bef4e;_0x58a464[_0x477d('0x6bf')]=_0x19bb53;function _0x11d211(){_0x58a464[_0x477d('0xd67')]=[];_0x408008['intZohoAccount'][_0x477d('0x1a61')]({'id':_0xf6ab93[_0x477d('0x37e')]['id']},_0x58a464[_0x477d('0x1c02')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x140242){_0x58a464[_0x477d('0x19df')][_0x477d('0x63b')](_0x140242[_0x477d('0xd71')]());_0x3422c4[_0x477d('0x485')]({'title':_0x477d('0x1c13'),'msg':_0x58a464[_0x477d('0x1c02')][_0x477d('0x94')]?_0x58a464[_0x477d('0x1c02')][_0x477d('0x94')]+_0x477d('0xd73'):''});_0x19bb53(_0x140242);})['catch'](function(_0x225da8){if(_0x225da8['data']&&_0x225da8[_0x477d('0x451')][_0x477d('0xd67')]&&_0x225da8['data'][_0x477d('0xd67')][_0x477d('0x79')]){_0x58a464[_0x477d('0xd67')]=_0x225da8['data'][_0x477d('0xd67')]||[{'message':_0x225da8[_0x477d('0x453')](),'type':_0x477d('0x1c14')}];for(var _0x2fc948=0x0;_0x2fc948<_0x225da8[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x2fc948+=0x1){_0x3422c4[_0x477d('0x44a')]({'title':_0x225da8[_0x477d('0x451')][_0x477d('0xd67')][_0x2fc948][_0x477d('0x439')],'msg':_0x225da8[_0x477d('0x451')][_0x477d('0xd67')][_0x2fc948][_0x477d('0x452')]});}}else{_0x3422c4[_0x477d('0x44a')]({'title':_0x225da8['status']?'API:'+_0x225da8[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x225da8[_0x477d('0x44d')]:_0x477d('0x1c14'),'msg':_0x225da8['data']?JSON['stringify'](_0x225da8[_0x477d('0x451')][_0x477d('0x452')]):_0x225da8[_0x477d('0x453')]()});}});}function _0x5388df(){_0x58a464['errors']=[];_0x408008['intZohoConfiguration'][_0x477d('0x710')]({'id':_0x58a464['zohoConfiguration']['id']},_0x58a464['zohoConfiguration'])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x5a2475){var _0x366b10=_[_0x477d('0x10a')](_0x58a464[_0x477d('0x19df')],{'id':_0x5a2475['id']});if(_0x366b10){_[_0x477d('0xef')](_0x366b10,_[_0x477d('0x10b')](_0x5a2475[_0x477d('0xd71')](),_['keys'](_0x366b10)));}_0x3422c4[_0x477d('0x485')]({'title':_0x477d('0x1c15'),'msg':_0x58a464[_0x477d('0x1c02')][_0x477d('0x94')]?_0x58a464['zohoConfiguration'][_0x477d('0x94')]+_0x477d('0xd76'):''});_0x19bb53(_0x5a2475);})[_0x477d('0xf8')](function(_0x50d274){if(_0x50d274[_0x477d('0x451')]&&_0x50d274[_0x477d('0x451')][_0x477d('0xd67')]&&_0x50d274['data'][_0x477d('0xd67')][_0x477d('0x79')]){_0x58a464[_0x477d('0xd67')]=_0x50d274['data'][_0x477d('0xd67')]||[{'message':_0x50d274[_0x477d('0x453')](),'type':_0x477d('0x1c16')}];for(var _0x15eb53=0x0;_0x15eb53<_0x50d274['data'][_0x477d('0xd67')][_0x477d('0x79')];_0x15eb53++){_0x3422c4[_0x477d('0x44a')]({'title':_0x50d274[_0x477d('0x451')][_0x477d('0xd67')][_0x15eb53]['type'],'msg':_0x50d274[_0x477d('0x451')][_0x477d('0xd67')][_0x15eb53][_0x477d('0x452')]});}}else{_0x3422c4[_0x477d('0x44a')]({'title':_0x50d274['status']?_0x477d('0x44b')+_0x50d274[_0x477d('0x3c3')]+'\x20-\x20'+_0x50d274[_0x477d('0x44d')]:_0x477d('0x1c16'),'msg':_0x50d274['data']?JSON[_0x477d('0x3fb')](_0x50d274[_0x477d('0x451')][_0x477d('0x452')]):_0x50d274[_0x477d('0x453')]()});}});}function _0x1fb8ad(_0x46d4bf){_0x58a464[_0x477d('0xd67')]=[];var _0x18070c=_0xcceb4f[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xd79'))[_0x477d('0xdaf')]('The\x20zohoConfiguration\x20will\x20be\x20deleted.')[_0x477d('0x687')]('Delete\x20ZohoConfiguration')['ok'](_0x477d('0xd7b'))['cancel'](_0x477d('0x688'))[_0x477d('0xd7c')](_0x46d4bf);_0xcceb4f[_0x477d('0x395')](_0x18070c)['then'](function(){_0x408008[_0x477d('0x1c07')][_0x477d('0xa55')]({'id':_0x58a464[_0x477d('0x1c02')]['id']})['$promise']['then'](function(){_[_0x477d('0x39c')](_0x58a464[_0x477d('0x19df')],{'id':_0x58a464[_0x477d('0x1c02')]['id']});_0x3422c4[_0x477d('0x485')]({'title':'ZohoConfiguration\x20properly\x20deleted!','msg':(_0x58a464[_0x477d('0x1c02')][_0x477d('0x94')]||_0x477d('0x1c02'))+_0x477d('0xd7e')});_0x19bb53(_0x58a464[_0x477d('0x1c02')]);})['catch'](function(_0x562c6f){if(_0x562c6f[_0x477d('0x451')]&&_0x562c6f[_0x477d('0x451')][_0x477d('0xd67')]&&_0x562c6f[_0x477d('0x451')][_0x477d('0xd67')]['length']){_0x58a464['errors']=_0x562c6f[_0x477d('0x451')]['errors']||[{'message':_0x562c6f[_0x477d('0x453')](),'type':_0x477d('0x1c17')}];for(var _0x8c6d48=0x0;_0x8c6d48<_0x562c6f['data'][_0x477d('0xd67')][_0x477d('0x79')];_0x8c6d48++){_0x3422c4[_0x477d('0x44a')]({'title':_0x562c6f['data'][_0x477d('0xd67')][_0x8c6d48]['type'],'msg':_0x562c6f['data'][_0x477d('0xd67')][_0x8c6d48][_0x477d('0x452')]});}}else{_0x3422c4[_0x477d('0x44a')]({'title':_0x562c6f[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x562c6f[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x562c6f['statusText']:_0x477d('0x1c17'),'msg':_0x562c6f[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x562c6f[_0x477d('0x451')]['message']):_0x562c6f[_0x477d('0x452')]||_0x562c6f[_0x477d('0x453')]()});}});},function(){});}function _0x1bef4e(_0x711741){return _0x711741===null?undefined:new Date(_0x711741);}function _0x19bb53(_0x4cec7c){_0xcceb4f[_0x477d('0x3bc')](_0x4cec7c);}}}());(function(){'use strict';_0x4ba325[_0x477d('0xa')]=['$scope','$state',_0x477d('0xd64'),_0x477d('0x384'),_0x477d('0x40e'),'configuration','items','item','account',_0x477d('0x439'),_0x477d('0x386'),_0x477d('0x55'),'crudPermissions'];angular[_0x477d('0xb')](_0x477d('0x38'))[_0x477d('0x3ba')](_0x477d('0x1c0d'),_0x4ba325);function _0x4ba325(_0xa1b88d,_0x1a80b1,_0x46d07a,_0x503c3c,_0x473c62,_0x3f409b,_0xfbddf2,_0x221ea3,_0x4c1c5d,_0x20eb9f,_0x41a579,_0x5157d4,_0x5e6efd){var _0x2a9f31=this;_0x2a9f31[_0x477d('0x3e5')]=_0x5157d4[_0x477d('0x5c')]();_0x2a9f31[_0x477d('0xd67')]=[];_0x2a9f31[_0x477d('0x49a')]=_0x477d('0x1a13')+_[_0x477d('0x1a14')](_0x20eb9f);_0x2a9f31['item']=angular['copy'](_0x221ea3);_0x2a9f31[_0x477d('0x4a6')]=_0xfbddf2;_0x2a9f31[_0x477d('0x439')]=_0x20eb9f;_0x2a9f31[_0x477d('0xd66')]=_0x5e6efd;_0x2a9f31[_0x477d('0x1a17')]=![];if(!_0x2a9f31[_0x477d('0x1a15')]){_0x2a9f31[_0x477d('0x1a15')]={'type':_0x477d('0x1a68')};_0x2a9f31[_0x477d('0x1a15')][_[_0x477d('0x12e0')](_0x20eb9f)+'Id']=_0x3f409b['id'];_0x2a9f31[_0x477d('0x49a')]=_0x477d('0x1a16')+_['toUpper'](_0x20eb9f);_0x2a9f31[_0x477d('0x1a17')]=!![];}_0x2a9f31[_0x477d('0x1a18')]=_0x459df2;_0x2a9f31[_0x477d('0x15f9')]=_0x49bd6b;_0x2a9f31[_0x477d('0x55f')]=_0x95475f;_0x2a9f31['getSelectedVariable']=_0x2885c0;_0x2a9f31['closeDialog']=_0x4947db;_0x41a579[_0x477d('0xbb9')][_0x477d('0x376')]({'nolimit':!![]})['$promise'][_0x477d('0x76')](function(_0x48767e){_0x2a9f31['variables']=_0x48767e[_0x477d('0xf2')]?_0x48767e['rows']:[];return _0x41a579[_0x477d('0xa9c')][_0x477d('0xe27')]()[_0x477d('0x38b')];})['then'](function(_0x55dc9c){_0x2a9f31[_0x477d('0x1a1a')]=_['difference'](_['keys'](_0x55dc9c),[_0x477d('0x38b'),'$resolved','createdAt','updatedAt',_0x477d('0x1a1c')]);_0x2a9f31['voiceAgentReportColumns'][_0x477d('0x3a7')](_0x477d('0x1a1d'));return _0x41a579['voiceDialReport'][_0x477d('0xe27')]()[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x58e5be){_0x2a9f31[_0x477d('0x1a1b')]=_[_0x477d('0x7e')](_[_0x477d('0x7f')](_0x58e5be),[_0x477d('0x38b'),_0x477d('0x80'),_0x477d('0xe37'),_0x477d('0xe38'),_0x477d('0x1a1c')]);_0x2a9f31[_0x477d('0x1a1b')][_0x477d('0x3a7')](_0x477d('0x1a1d'));})['catch'](function(_0x3a6e6b){_0x473c62['error']({'title':_0x3a6e6b[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x3a6e6b[_0x477d('0x3c3')]+'\x20-\x20'+_0x3a6e6b['statusText']:_0x477d('0x1a1e'),'msg':_0x3a6e6b[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x3a6e6b['data']):_0x3a6e6b[_0x477d('0x453')]()});});_0x41a579[_0x477d('0xc08')][_0x477d('0xe26')]({'id':_0x4c1c5d['id'],'ticketType':_0x3f409b['ticketType']?_0x3f409b[_0x477d('0x1a1f')]:undefined})['$promise']['then'](function(_0x35b727){_0x2a9f31[_0x477d('0x1a20')]=!![];_0x2a9f31['fields']=_0x35b727['rows']?_0x35b727['rows']:[];if(_0x2a9f31[_0x477d('0x1a15')][_0x477d('0x1a22')]){_0x2a9f31[_0x477d('0x1532')]=_['find'](_0x2a9f31[_0x477d('0x458')],{'id':_0x2a9f31[_0x477d('0x1a15')][_0x477d('0x1a22')]});}})[_0x477d('0xf8')](function(_0x1a8c6a){_0x2a9f31[_0x477d('0x1a20')]=![];console[_0x477d('0x44a')](_0x1a8c6a);});function _0x459df2(){_0x2a9f31[_0x477d('0xd67')]=[];if(_0x2a9f31[_0x477d('0x1532')]){_0x2a9f31['item'][_0x477d('0x1a22')]=_0x2a9f31[_0x477d('0x1532')]['id'];_0x2a9f31[_0x477d('0x1a15')][_0x477d('0x1a23')]=_0x2a9f31[_0x477d('0x1532')][_0x477d('0x94')];_0x2a9f31[_0x477d('0x1a15')]['customField']=_0x2a9f31[_0x477d('0x1532')][_0x477d('0x9f6')];}_0x41a579[_0x477d('0xc13')][_0x477d('0xd70')](_0x2a9f31[_0x477d('0x1a15')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x214168){_0x2a9f31[_0x477d('0x4a6')]['unshift'](_0x214168);_0x473c62[_0x477d('0x485')]({'title':_[_0x477d('0x12e0')](_0x20eb9f)+_0x477d('0x1a21'),'msg':_[_0x477d('0x12e0')](_0x20eb9f)+_0x477d('0xd73')});_0x4947db();})[_0x477d('0xf8')](function(_0x44ddf4){console['error'](_0x44ddf4);_0x2a9f31[_0x477d('0xd67')]=_0x44ddf4['data']['errors']||[{'message':_0x44ddf4['toString'](),'type':_0x477d('0x1a69')}];});}function _0x49bd6b(){_0x2a9f31['errors']=[];if(_0x2a9f31[_0x477d('0x1532')]){_0x2a9f31[_0x477d('0x1a15')]['idField']=_0x2a9f31[_0x477d('0x1532')]['id'];_0x2a9f31[_0x477d('0x1a15')][_0x477d('0x1a23')]=_0x2a9f31[_0x477d('0x1532')][_0x477d('0x94')];_0x2a9f31[_0x477d('0x1a15')][_0x477d('0x1532')]=_0x2a9f31[_0x477d('0x1532')][_0x477d('0x9f6')];}_0x41a579[_0x477d('0xc13')][_0x477d('0x710')]({'id':_0x2a9f31[_0x477d('0x1a15')]['id']},_0x2a9f31[_0x477d('0x1a15')])['$promise'][_0x477d('0x76')](function(_0xa8ca38){var _0x10e0f6=_[_0x477d('0x10a')](_0x2a9f31[_0x477d('0x4a6')],{'id':_0xa8ca38['id']});if(_0x10e0f6){_[_0x477d('0xef')](_0x10e0f6,_0xa8ca38);}_0x473c62['success']({'title':_[_0x477d('0x12e0')](_0x20eb9f)+'\x20properly\x20saved!','msg':_[_0x477d('0x12e0')](_0x20eb9f)+'\x20has\x20been\x20saved!'});_0x4947db();})[_0x477d('0xf8')](function(_0x1038d3){console[_0x477d('0x44a')](_0x1038d3);_0x2a9f31[_0x477d('0xd67')]=_0x1038d3[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x1038d3[_0x477d('0x453')](),'type':'api.intItem.update'}];});}function _0x95475f(_0x426533){_0x2a9f31[_0x477d('0xd67')]=[];var _0xcd7af0=_0x503c3c[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xd79'))[_0x477d('0xdaf')]('The\x20'+_0x20eb9f+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x1a6b')+_[_0x477d('0x12e0')](_0x20eb9f))['ok']('Delete')[_0x477d('0x4f0')](_0x477d('0x688'))[_0x477d('0xd7c')](_0x426533);_0x503c3c[_0x477d('0x395')](_0xcd7af0)[_0x477d('0x76')](function(){_0x41a579[_0x477d('0xc13')][_0x477d('0xa55')]({'id':_0x2a9f31[_0x477d('0x1a15')]['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x2a9f31['items'],{'id':_0x2a9f31[_0x477d('0x1a15')]['id']});_0x473c62['success']({'title':_[_0x477d('0x12e0')](_0x20eb9f)+_0x477d('0x1a26'),'msg':_[_0x477d('0x12e0')](_0x20eb9f)+_0x477d('0xd7e')});_0x4947db();})[_0x477d('0xf8')](function(_0x89a08f){console[_0x477d('0x44a')](_0x89a08f);_0x2a9f31[_0x477d('0xd67')]=_0x89a08f[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x89a08f[_0x477d('0x453')](),'type':_0x477d('0x1a27')}];});},function(){});}function _0x2885c0(){if(_0x2a9f31[_0x477d('0x1a15')]['variableName']!==undefined){return _0x2a9f31[_0x477d('0x1a15')][_0x477d('0x1a28')];}else{return _0x477d('0x1a29');}};function _0x4947db(){_0x503c3c[_0x477d('0x3bc')]();}}}());(function(){'use strict';_0x410ee6['$inject']=[_0x477d('0x3c4'),'$location',_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x40d'),'license','setting','api',_0x477d('0x40e'),'Auth','zohoAccount','userProfileSection'];angular['module']('app.integrations')[_0x477d('0x3ba')]('ZohoAccountController',_0x410ee6);function _0x410ee6(_0x1c45d9,_0x274c23,_0x28f6da,_0x55c149,_0xe67e11,_0x5b83d9,_0xb83414,_0x199791,_0x4a164b,_0x26b5b0,_0x2a53e3,_0x529535){var _0x4b2d5b=this;_0x4b2d5b[_0x477d('0x3e5')]=_0x26b5b0[_0x477d('0x5c')]();_0x4b2d5b[_0x477d('0x613')]=_0x5b83d9;_0x4b2d5b[_0x477d('0xc8e')]=_0xb83414;_0x4b2d5b[_0x477d('0xd69')]=_0x4b2d5b[_0x477d('0xc8e')]['securePassword']?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x4b2d5b[_0x477d('0x3cc')]=_0x274c23[_0x477d('0x3ce')]()+'://'+_0x274c23[_0x477d('0x3c9')]();_0x4b2d5b[_0x477d('0x1bf2')]=_0x2a53e3||_0x1c45d9[_0x477d('0x37e')][_0x477d('0x1bf2')]||{};_0x4b2d5b[_0x477d('0x3ac')]=_0x529535&&_0x529535[_0x477d('0x3bb')]==0x1?_0x529535[_0x477d('0xf2')][0x0]:null;_0x4b2d5b['crudPermissions']=_0x26b5b0[_0x477d('0xd81')](_0x4b2d5b['userProfileSection']?_0x4b2d5b[_0x477d('0x3ac')][_0x477d('0xd66')]:null);_0x4b2d5b['hasModulePermissions']={};_0x4b2d5b['selectedTab']=_0x1c45d9['params']['tab']||0x0;_0x4b2d5b[_0x477d('0x120a')]=_0x4a164b[_0x477d('0x669')];_0x4b2d5b[_0x477d('0x1c18')]=_0x3536d6;_0x4b2d5b['saveZohoAccount']=_0x2b52b8;function _0x3536d6(){_0x1c45d9['go'](_0x477d('0x19a'),{},{'reload':_0x477d('0x19a')});}function _0x2b52b8(){_0x199791['intZohoAccount'][_0x477d('0x710')]({'id':_0x4b2d5b[_0x477d('0x1bf2')]['id']},_0x4b2d5b[_0x477d('0x1bf2')])[_0x477d('0x38b')][_0x477d('0x76')](function(){_0x4a164b[_0x477d('0x485')]({'title':_0x477d('0x1c19'),'msg':_0x4b2d5b[_0x477d('0x1bf2')][_0x477d('0x94')]?_0x4b2d5b['zohoAccount'][_0x477d('0x94')]+_0x477d('0xed7'):''});})[_0x477d('0xf8')](function(_0x377e41){_0x4a164b['error']({'title':_0x377e41[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x377e41[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x377e41[_0x477d('0x44d')]:'SYSTEM:GETintZohoAccount','msg':_0x377e41[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x377e41[_0x477d('0x451')]):_0x377e41[_0x477d('0x453')]()});});}}}());(function(){'use strict';_0x33181d['$inject']=[_0x477d('0x474'),_0x477d('0x387'),_0x477d('0x3c4'),_0x477d('0x554'),'$mdDialog',_0x477d('0x475'),'$timeout','$translate',_0x477d('0x1bfa'),'userProfile','userProfileSection','api','msUtils',_0x477d('0x40e'),_0x477d('0x55'),_0x477d('0x613'),_0x477d('0xc8e')];angular[_0x477d('0xb')](_0x477d('0x38'))[_0x477d('0x3ba')](_0x477d('0x1c1a'),_0x33181d);function _0x33181d(_0x2f7b4a,_0x42507f,_0x4b8076,_0xefb97c,_0x1d0dfe,_0x47a5ed,_0x20d11a,_0x804bec,_0x217f28,_0x41fed0,_0x380ba0,_0x54d4b0,_0x1cd65b,_0x3080d3,_0x1aebc6,_0xedbf9a,_0x37e77d){var _0x1e734a=this;_0x1e734a[_0x477d('0x613')]=_0xedbf9a;_0x1e734a[_0x477d('0xc8e')]=_0x37e77d;_0x1e734a[_0x477d('0x3e5')]=_0x1aebc6['getCurrentUser']();_0x1e734a['zohoAccounts']=_0x217f28||{'count':0x0,'rows':[]};_0x1e734a['userProfile']=_0x41fed0;_0x1e734a[_0x477d('0x3ac')]=_0x380ba0&&_0x380ba0['count']==0x1?_0x380ba0[_0x477d('0xf2')][0x0]:null;_0x1e734a[_0x477d('0xd66')]=_0x1aebc6['parseCrudPermissions'](_0x1e734a[_0x477d('0x3ac')]?_0x1e734a['userProfileSection'][_0x477d('0xd66')]:null);_0x1e734a['table']='zohoAccounts';_0x1e734a[_0x477d('0xd83')]='';_0x1e734a[_0x477d('0xd84')]=null;_0x1e734a[_0x477d('0x1c1b')]=[];_0x1e734a[_0x477d('0x3ef')]={'fields':_0x477d('0x19d'),'limit':0xa,'page':0x1};_0x1e734a[_0x477d('0x1c1c')]=_['keyBy']([{'option':_0x477d('0x1bf6'),'value':_0x477d('0x1c1d')},{'option':'zoho.eu','value':_0x477d('0x1c1e')}],function(_0x316d47){return _[_0x477d('0x409')](_0x316d47[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x1e734a[_0x477d('0x1c1f')]=_[_0x477d('0xdb5')]([{'option':'US','value':_0x477d('0x1c20')},{'option':'AU','value':'\x27AU\x27'},{'option':'EU','value':_0x477d('0x1c21')},{'option':'IN','value':_0x477d('0x1c22')},{'option':'CN','value':'\x27CN\x27'}],function(_0x5f59d0){return _['replace'](_0x5f59d0['value'],new RegExp('\x27','g'),'');});_0x1e734a['editstate']=_0x2581ac;_0x1e734a['testtestintegrationaccount']=_0x3bcdf5;_0x1e734a[_0x477d('0xd88')]=_0x38d51b;_0x1e734a[_0x477d('0x485')]=_0x6bab13;_0x1e734a[_0x477d('0x1c23')]=_0x24e41b;_0x1e734a[_0x477d('0x1c24')]=_0x3871ad;_0x1e734a[_0x477d('0x1bf9')]=_0x49f5a9;_0x1e734a[_0x477d('0x1c25')]=_0x3c0d13;_0x1e734a[_0x477d('0x1c26')]=_0x32035f;_0x1e734a['deselectZohoAccounts']=_0x178b17;_0x1e734a[_0x477d('0x1c27')]=_0x2534ca;function _0x2581ac(_0x26f4ad,_0x1dc17a){_0x4b8076['go'](_0x477d('0x1c28'),{'id':_0x26f4ad['id'],'zohoAccount':_0x26f4ad,'crudPermissions':_0x1e734a['crudPermissions']});}function _0x3bcdf5(_0x4add23,_0x18c991){return _0x54d4b0[_0x477d('0xc08')]['getFields']({'id':_0x4add23['id'],'test':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(){_0x3080d3[_0x477d('0x485')]({'title':_0x477d('0x1c29'),'msg':'Connection\x20succeded!'});})['catch'](function(_0x48375f){_0x3080d3['error']({'title':_0x477d('0x1c29'),'msg':_0x48375f[_0x477d('0x451')]?_0x48375f[_0x477d('0x451')][_0x477d('0x452')]?_0x48375f[_0x477d('0x451')]['message']:JSON[_0x477d('0x3fb')](_0x48375f[_0x477d('0x451')]):_0x48375f[_0x477d('0x453')]()});});}function _0x38d51b(_0x388bbc,_0x26dd3a){var _0xfe887b=_0x1d0dfe[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xd90')+_[_0x477d('0xd91')](_0x477d('0x1bf2'))+'?')[_0x477d('0xd92')](_0x477d('0xd93')+(_0x388bbc[_0x477d('0x94')]||_0x477d('0x1bf2'))+_0x477d('0xd94')+_0x477d('0xd95'))['ariaLabel'](_0x477d('0x1c2a'))[_0x477d('0xd7c')](_0x26dd3a)['ok']('OK')['cancel'](_0x477d('0xd97'));_0x1d0dfe['show'](_0xfe887b)[_0x477d('0x76')](function(){_0x49f5a9(_0x388bbc);},function(){console[_0x477d('0x7b')](_0x477d('0xd97'));});}var _0x35cfab=!![];var _0x43782f=0x1;_0x2f7b4a[_0x477d('0x4b5')](_0x477d('0xd98'),function(_0x424efd,_0x4c0105){if(_0x35cfab){_0x20d11a(function(){_0x35cfab=![];});}else{if(!_0x4c0105){_0x43782f=_0x1e734a['query']['page'];}if(_0x424efd!==_0x4c0105){_0x1e734a[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0x424efd){_0x1e734a['query'][_0x477d('0xe03')]=_0x43782f;}_0x1e734a['getZohoAccounts']();}});function _0x6bab13(_0x39084f){_0x1e734a[_0x477d('0x1bfa')]=_0x39084f||{'count':0x0,'rows':[]};}function _0x24e41b(){_0x1e734a['query']['offset']=(_0x1e734a[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x1e734a[_0x477d('0x3ef')][_0x477d('0x91d')];if(_0x1aebc6['hasRole'](_0x477d('0x5f'))){_0x1e734a[_0x477d('0x553')]=_0x54d4b0[_0x477d('0xc08')][_0x477d('0x376')](_0x1e734a[_0x477d('0x3ef')],_0x6bab13)[_0x477d('0x38b')];}else{_0x1e734a[_0x477d('0x3ef')]['id']=_0x1e734a['userProfile']['id'];_0x1e734a['query'][_0x477d('0xd99')]=_0x477d('0x19e');_0x1e734a[_0x477d('0x553')]=_0x54d4b0[_0x477d('0x3a5')][_0x477d('0xd9a')](_0x1e734a[_0x477d('0x3ef')],_0x6bab13)[_0x477d('0x38b')];}}function _0x3871ad(_0x424043,_0x2e1faa){_0x1d0dfe['show']({'controller':'CreateOrEditZohoAccountDialogController','controllerAs':'vm','templateUrl':_0x477d('0x1c2b'),'parent':angular[_0x477d('0x398')](_0x47a5ed['body']),'targetEvent':_0x424043,'clickOutsideToClose':!![],'locals':{'zohoAccount':_0x2e1faa,'zohoAccounts':_0x1e734a[_0x477d('0x1bfa')][_0x477d('0xf2')],'license':_0x1e734a['license'],'setting':_0x1e734a[_0x477d('0xc8e')],'crudPermissions':_0x1e734a[_0x477d('0xd66')]}});}function _0x49f5a9(_0x4d3178){_0x54d4b0[_0x477d('0xc08')][_0x477d('0xa55')]({'id':_0x4d3178['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_['remove'](_0x1e734a['zohoAccounts'][_0x477d('0xf2')],{'id':_0x4d3178['id']});_0x1e734a['zohoAccounts'][_0x477d('0x3bb')]-=0x1;if(!_0x1e734a[_0x477d('0x1bfa')][_0x477d('0xf2')][_0x477d('0x79')]){_0x1e734a['getZohoAccounts']();}_0x3080d3[_0x477d('0x485')]({'title':_['startCase'](_0x477d('0x1c2c'))+_0x477d('0xd9d'),'msg':_0x4d3178[_0x477d('0x94')]?_0x4d3178[_0x477d('0x94')]+'\x20has\x20been\x20deleted!':''});})[_0x477d('0xf8')](function(_0x4c1bbe){if(_0x4c1bbe[_0x477d('0x451')]&&_0x4c1bbe['data'][_0x477d('0xd67')]&&_0x4c1bbe[_0x477d('0x451')][_0x477d('0xd67')]['length']){_0x1e734a[_0x477d('0xd67')]=_0x4c1bbe['data'][_0x477d('0xd67')]||[{'message':_0x4c1bbe[_0x477d('0x453')](),'type':'SYSTEM:DELETEintZohoAccount'}];for(var _0x52c43a=0x0;_0x52c43a<_0x4c1bbe[_0x477d('0x451')][_0x477d('0xd67')]['length'];_0x52c43a++){_0x3080d3[_0x477d('0x44a')]({'title':_0x4c1bbe[_0x477d('0x451')][_0x477d('0xd67')][_0x52c43a][_0x477d('0x439')],'msg':_0x4c1bbe[_0x477d('0x451')]['errors'][_0x52c43a]['message']});}}else{_0x3080d3[_0x477d('0x44a')]({'title':_0x4c1bbe['status']?_0x477d('0x44b')+_0x4c1bbe[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x4c1bbe['statusText']:_0x477d('0x1c2d'),'msg':_0x4c1bbe[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x4c1bbe[_0x477d('0x451')][_0x477d('0x452')]):_0x4c1bbe[_0x477d('0x452')]||_0x4c1bbe[_0x477d('0x453')]()});}});}function _0x3c0d13(){var _0x4baa8a=angular[_0x477d('0x6d9')](_0x1e734a[_0x477d('0x1c1b')]);_0x1e734a[_0x477d('0x1c1b')]=[];return _0x4baa8a;}function _0x32035f(_0x1bfe9b){var _0x559b78=_0x1d0dfe['confirm']()[_0x477d('0x49a')](_0x477d('0x1c2e'))[_0x477d('0xd92')](_0x477d('0xd93')+_0x1e734a[_0x477d('0x1c1b')][_0x477d('0x79')]+_0x477d('0xda0')+_0x477d('0xd95'))['ariaLabel'](_0x477d('0x1c2f'))[_0x477d('0xd7c')](_0x1bfe9b)['ok']('OK')['cancel']('CANCEL');_0x1d0dfe[_0x477d('0x395')](_0x559b78)[_0x477d('0x76')](function(){_0x1e734a[_0x477d('0x1c1b')]['forEach'](function(_0x3b31ef){_0x49f5a9(_0x3b31ef);});_0x1e734a[_0x477d('0x1c1b')]=[];});}function _0x178b17(){_0x1e734a[_0x477d('0x1c1b')]=[];}function _0x2534ca(){_0x1e734a[_0x477d('0x1c1b')]=_0x1e734a[_0x477d('0x1bfa')][_0x477d('0xf2')];}}}());(function(){'use strict';_0x3c7f0a[_0x477d('0xa')]=['$scope',_0x477d('0x3c4'),_0x477d('0xd64'),'$mdDialog','$q','$translate','toasty',_0x477d('0xf12'),_0x477d('0xf13'),_0x477d('0x386'),_0x477d('0x55'),_0x477d('0x613'),'setting',_0x477d('0xd66')];angular['module'](_0x477d('0x3b'))[_0x477d('0x3ba')](_0x477d('0x1c30'),_0x3c7f0a);function _0x3c7f0a(_0xf0ae39,_0x1238ab,_0x461abc,_0x216035,_0x322417,_0x3096ef,_0x13381c,_0x32b364,_0x219fad,_0x825fff,_0x16e296,_0x56172b,_0x22d71e,_0x2300a3){var _0x3f86ec=this;_0x3f86ec[_0x477d('0x3e5')]=_0x16e296[_0x477d('0x5c')]();_0x3f86ec[_0x477d('0xd67')]=[];_0x3f86ec[_0x477d('0xc8e')]=_0x22d71e;_0x3f86ec[_0x477d('0x613')]=_0x56172b;_0x3f86ec[_0x477d('0xd66')]=_0x2300a3;_0x3f86ec[_0x477d('0xd68')]={};_0x3f86ec[_0x477d('0xd69')]=_0x3f86ec[_0x477d('0xc8e')]&&_0x3f86ec[_0x477d('0xc8e')][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x3f86ec['title']=_0x477d('0x1c31');_0x3f86ec[_0x477d('0xf13')]=angular[_0x477d('0x6d9')](_0x219fad);_0x3f86ec['projects']=_0x32b364;_0x3f86ec[_0x477d('0xf18')]=![];if(!_0x3f86ec[_0x477d('0xf13')]){_0x3f86ec[_0x477d('0xf13')]={'enableUncompleteSave':!![],'sendUnpauseOnSubmit':!![]};_0x3f86ec['title']=_0x477d('0x1c32');_0x3f86ec['newProject']=!![];}_0x3f86ec['addNewProject']=_0x58f0e9;_0x3f86ec[_0x477d('0xf1a')]=_0x339094;_0x3f86ec[_0x477d('0x11ad')]=_0x4be021;_0x3f86ec[_0x477d('0xd6f')]=_0x461724;_0x3f86ec[_0x477d('0x6bf')]=_0x1d7282;function _0x58f0e9(){_0x3f86ec[_0x477d('0xd67')]=[];_0x825fff[_0x477d('0xc88')][_0x477d('0xd70')](_0x3f86ec['project'])[_0x477d('0x38b')]['then'](function(_0x1d1786){_0x3f86ec[_0x477d('0xf12')][_0x477d('0x63b')](_0x1d1786[_0x477d('0xd71')]());_0x13381c['success']({'title':_0x477d('0xf1c'),'msg':_0x3f86ec[_0x477d('0xf13')][_0x477d('0x94')]?_0x3f86ec['project'][_0x477d('0x94')]+_0x477d('0xd73'):''});_0x1d7282(_0x1d1786);})['catch'](function(_0x414427){if(_0x414427[_0x477d('0x451')]&&_0x414427[_0x477d('0x451')][_0x477d('0xd67')]&&_0x414427[_0x477d('0x451')][_0x477d('0xd67')]['length']){_0x3f86ec[_0x477d('0xd67')]=_0x414427[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x414427[_0x477d('0x453')](),'type':_0x477d('0x1c33')}];for(var _0x1772f0=0x0;_0x1772f0<_0x414427[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x1772f0+=0x1){_0x13381c[_0x477d('0x44a')]({'title':_0x414427[_0x477d('0x451')]['errors'][_0x1772f0][_0x477d('0x439')],'msg':_0x414427['data'][_0x477d('0xd67')][_0x1772f0]['message']});}}else{_0x13381c[_0x477d('0x44a')]({'title':_0x414427[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x414427[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x414427[_0x477d('0x44d')]:_0x477d('0x1c33'),'msg':_0x414427['data']?JSON[_0x477d('0x3fb')](_0x414427[_0x477d('0x451')]['message']):_0x414427['toString']()});}});}function _0x339094(){_0x3f86ec[_0x477d('0xd67')]=[];_0x825fff[_0x477d('0xc88')][_0x477d('0x710')]({'id':_0x3f86ec[_0x477d('0xf13')]['id']},_0x3f86ec[_0x477d('0xf13')])['$promise'][_0x477d('0x76')](function(_0x4e20d8){var _0x2a9d2b=_[_0x477d('0x10a')](_0x3f86ec[_0x477d('0xf12')],{'id':_0x4e20d8['id']});if(_0x2a9d2b){_['merge'](_0x2a9d2b,_['pick'](_0x4e20d8[_0x477d('0xd71')](),_[_0x477d('0x7f')](_0x2a9d2b)));}_0x13381c[_0x477d('0x485')]({'title':_0x477d('0xf20'),'msg':_0x3f86ec[_0x477d('0xf13')][_0x477d('0x94')]?_0x3f86ec['project']['name']+_0x477d('0xd76'):''});_0x1d7282(_0x4e20d8);})[_0x477d('0xf8')](function(_0xb48de6){if(_0xb48de6[_0x477d('0x451')]&&_0xb48de6['data'][_0x477d('0xd67')]&&_0xb48de6[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x3f86ec[_0x477d('0xd67')]=_0xb48de6[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0xb48de6[_0x477d('0x453')](),'type':_0x477d('0x1c34')}];for(var _0x36b33a=0x0;_0x36b33a<_0xb48de6['data'][_0x477d('0xd67')][_0x477d('0x79')];_0x36b33a++){_0x13381c['error']({'title':_0xb48de6['data'][_0x477d('0xd67')][_0x36b33a][_0x477d('0x439')],'msg':_0xb48de6[_0x477d('0x451')]['errors'][_0x36b33a][_0x477d('0x452')]});}}else{_0x13381c[_0x477d('0x44a')]({'title':_0xb48de6[_0x477d('0x3c3')]?_0x477d('0x44b')+_0xb48de6[_0x477d('0x3c3')]+_0x477d('0x44c')+_0xb48de6[_0x477d('0x44d')]:_0x477d('0x1c34'),'msg':_0xb48de6[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0xb48de6[_0x477d('0x451')][_0x477d('0x452')]):_0xb48de6[_0x477d('0x453')]()});}});}function _0x4be021(_0x4e869f){_0x3f86ec['errors']=[];var _0x52a4f1=_0x216035[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xd79'))[_0x477d('0xdaf')](_0x477d('0xf22'))[_0x477d('0x687')](_0x477d('0xf23'))['ok'](_0x477d('0xd7b'))[_0x477d('0x4f0')]('Cancel')[_0x477d('0xd7c')](_0x4e869f);_0x216035['show'](_0x52a4f1)[_0x477d('0x76')](function(){_0x825fff[_0x477d('0xc88')][_0x477d('0xa55')]({'id':_0x3f86ec['project']['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x3f86ec[_0x477d('0xf12')],{'id':_0x3f86ec[_0x477d('0xf13')]['id']});_0x13381c[_0x477d('0x485')]({'title':_0x477d('0xf26'),'msg':(_0x3f86ec[_0x477d('0xf13')][_0x477d('0x94')]||_0x477d('0xf13'))+_0x477d('0xd7e')});_0x1d7282(_0x3f86ec['project']);})['catch'](function(_0x2cdfe9){if(_0x2cdfe9[_0x477d('0x451')]&&_0x2cdfe9[_0x477d('0x451')]['errors']&&_0x2cdfe9['data']['errors'][_0x477d('0x79')]){_0x3f86ec['errors']=_0x2cdfe9[_0x477d('0x451')]['errors']||[{'message':_0x2cdfe9[_0x477d('0x453')](),'type':_0x477d('0x1c35')}];for(var _0x12e015=0x0;_0x12e015<_0x2cdfe9[_0x477d('0x451')]['errors'][_0x477d('0x79')];_0x12e015++){_0x13381c[_0x477d('0x44a')]({'title':_0x2cdfe9[_0x477d('0x451')][_0x477d('0xd67')][_0x12e015][_0x477d('0x439')],'msg':_0x2cdfe9[_0x477d('0x451')]['errors'][_0x12e015][_0x477d('0x452')]});}}else{_0x13381c[_0x477d('0x44a')]({'title':_0x2cdfe9[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x2cdfe9[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x2cdfe9[_0x477d('0x44d')]:_0x477d('0x1c35'),'msg':_0x2cdfe9[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x2cdfe9[_0x477d('0x451')][_0x477d('0x452')]):_0x2cdfe9['message']||_0x2cdfe9['toString']()});}});},function(){});}function _0x461724(_0x436d54){return _0x436d54===null?undefined:new Date(_0x436d54);}function _0x1d7282(_0x1267bf){_0x216035['hide'](_0x1267bf);}}}());(function(){'use strict';_0x51bccf[_0x477d('0xa')]=[_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x387'),_0x477d('0x386'),_0x477d('0x40e'),_0x477d('0x6dc')];angular[_0x477d('0xb')]('app.jscripty')['controller'](_0x477d('0x1c36'),_0x51bccf);function _0x51bccf(_0x84e2eb,_0xc1ea29,_0x206044,_0x301e60,_0x2e9c9c,_0x55747b){var _0x5071e7=this;_0x5071e7['project']={};_0x5071e7[_0x477d('0x6e1')]=_0x55747b;var _0x11cfd2=new Date();_0x11cfd2['setHours'](0x0,0x0,0x0,0x0);_0x5071e7[_0x477d('0x1c37')]={'dateStart':_0x11cfd2,'dateEnd':null,'selectedTemplate':'TD'};_0x5071e7[_0x477d('0x5ee')]=_0x1f5a2d;_0x5071e7['getSummary']=_0x2e5c29;_0x5071e7[_0x477d('0x12ed')]=_0x2f1641;function _0x2f1641(){_0x5071e7['hasIdAnswers']=![];return _0x301e60[_0x477d('0xc88')][_0x477d('0x12ed')]({'id':_0x5071e7[_0x477d('0xf13')]['id'],'sort':_0x477d('0x1c38'),'createdAt':{'$gte':_0x5071e7['pickerModel'][_0x477d('0x6e6')],'$lte':moment(_0x5071e7[_0x477d('0x1c37')][_0x477d('0x6e7')])['add'](0x17,_0x477d('0x7ad'))['add'](0x3b,_0x477d('0x6e8'))[_0x477d('0x440')](0x3b,'seconds')[_0x477d('0x12f')]()},'nolimit':!![]})[_0x477d('0x38b')]['then'](function(_0x2f22d4){if(_0x2f22d4&&_0x2f22d4[_0x477d('0xf2')]&&_0x2f22d4[_0x477d('0x3ea')](_0x477d('0x3bb'))){_0x5071e7[_0x477d('0x1c39')]={};for(var _0x30ca57=0x0,_0xd1aad3=_0x2f22d4[_0x477d('0x3bb')];_0x30ca57<_0xd1aad3;_0x30ca57++){if(_0x2f22d4['rows'][_0x30ca57][_0x477d('0x1c3a')]){_0x5071e7[_0x477d('0x1c3b')]=!![];if(!_0x5071e7[_0x477d('0x1c39')][_0x477d('0x3ea')](_0x2f22d4['rows'][_0x30ca57][_0x477d('0x1c3a')])){_0x5071e7[_0x477d('0x1c39')][_0x2f22d4[_0x477d('0xf2')][_0x30ca57][_0x477d('0x1c3a')]]={'question':_0x2f22d4[_0x477d('0xf2')][_0x30ca57][_0x477d('0x18be')],'answers':{},'sum':0x0};}_0x2f22d4[_0x477d('0xf2')][_0x30ca57][_0x477d('0x605')]===''&&(_0x2f22d4[_0x477d('0xf2')][_0x30ca57][_0x477d('0x605')]=_0x477d('0x1c3c'));if(_0x5071e7[_0x477d('0x1c39')][_0x2f22d4[_0x477d('0xf2')][_0x30ca57][_0x477d('0x1c3a')]][_0x477d('0x1c39')][_0x2f22d4[_0x477d('0xf2')][_0x30ca57][_0x477d('0x605')]]){_0x5071e7[_0x477d('0x1c39')][_0x2f22d4['rows'][_0x30ca57]['questionId']]['answers'][_0x2f22d4[_0x477d('0xf2')][_0x30ca57][_0x477d('0x605')]]+=0x1;}else{_0x5071e7[_0x477d('0x1c39')][_0x2f22d4[_0x477d('0xf2')][_0x30ca57][_0x477d('0x1c3a')]][_0x477d('0x1c39')][_0x2f22d4[_0x477d('0xf2')][_0x30ca57][_0x477d('0x605')]]=0x1;}_0x5071e7[_0x477d('0x1c39')][_0x2f22d4[_0x477d('0xf2')][_0x30ca57][_0x477d('0x1c3a')]][_0x477d('0x1c3d')]+=0x1;}}}})[_0x477d('0xf8')](function(_0x2f9eef){_0x2e9c9c[_0x477d('0x44a')]({'title':_0x2f9eef[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x2f9eef[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x2f9eef['statusText']:_0x477d('0x1c3e'),'msg':_0x2f9eef[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x2f9eef[_0x477d('0x451')]):_0x2f9eef[_0x477d('0x453')]()});});}function _0x1f5a2d(_0x3a60a2){_0x5071e7[_0x477d('0xf13')]=_0x3a60a2;_0x5071e7[_0x477d('0x12ed')]();}function _0x2e5c29(){return _0x301e60[_0x477d('0xc88')]['getSummary']({'id':_0x5071e7[_0x477d('0xf13')]['id'],'startTime':{'$gte':_0x5071e7[_0x477d('0x1c37')]['dateStart'],'$lte':moment(_0x5071e7[_0x477d('0x1c37')][_0x477d('0x6e7')])['add'](0x17,'hours')['add'](0x3b,_0x477d('0x6e8'))[_0x477d('0x440')](0x3b,_0x477d('0x6e9'))[_0x477d('0x12f')]()},'nolimit':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x1c3ceb){if(typeof _0x1c3ceb[_0x477d('0x79')]!==_0x477d('0x4a4')){var _0x599d2d=[_0x1c3ceb[_0x477d('0x49e')]];var _0x35865b=new Blob(_0x599d2d,{'type':_0x1c3ceb[_0x477d('0x439')]});var _0x3b9280=window['document']['createElement']('a');_0x3b9280[_0x477d('0x494')]('href',URL[_0x477d('0x49f')](_0x35865b));_0x3b9280[_0x477d('0x494')](_0x477d('0x49d'),_0x477d('0x1c3f')+_0x5071e7['project']['id']+'.csv');_0x3b9280['click']();}else{_0x2e9c9c[_0x477d('0x669')]({'title':_0x477d('0x1568'),'msg':_0x477d('0x1c40')});}})[_0x477d('0xf8')](function(_0x2bc42f){_0x2e9c9c[_0x477d('0x44a')]({'title':_0x2bc42f[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x2bc42f[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x2bc42f[_0x477d('0x44d')]:_0x477d('0x1c41'),'msg':_0x2bc42f[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x2bc42f[_0x477d('0x451')]):_0x2bc42f[_0x477d('0x453')]()});});}}}());(function(){'use strict';angular[_0x477d('0xb')](_0x477d('0x3b'))[_0x477d('0x3ba')](_0x477d('0x1c42'),_0x2758a3);function _0x2758a3(){var _0x3cea79=this;_0x3cea79[_0x477d('0xf13')]={};_0x3cea79['optionsBuilder']={'questionTypes':[_0x477d('0x41b'),_0x477d('0x127b'),_0x477d('0x1c43'),_0x477d('0x1c44'),_0x477d('0x462'),_0x477d('0x421'),_0x477d('0x420'),'time',_0x477d('0x1359'),_0x477d('0x1c45'),_0x477d('0x3c1')],'elementTypes':[_0x477d('0x18be'),'paragraph']};_0x3cea79['init']=_0x215b6e;_0x3cea79['isJsonString']=_0x164c88;function _0x164c88(_0x3f4c1b){if(_['isNil'](_0x3f4c1b)){return![];}try{JSON[_0x477d('0x77')](_0x3f4c1b);}catch(_0x2ee50b){return![];}return!![];}function _0x215b6e(_0x202606){_0x3cea79[_0x477d('0xf13')]=_0x202606;if(_[_0x477d('0x1c46')](_0x202606['formData'])){_0x3cea79[_0x477d('0xf13')][_0x477d('0x15d7')]=_0x202606[_0x477d('0x15d7')];}else if(_0x3cea79[_0x477d('0x18ab')](_0x202606[_0x477d('0x15d7')])){_0x3cea79['project']['formData']=JSON['parse'](_0x202606[_0x477d('0x15d7')]);}else{_0x3cea79[_0x477d('0xf13')][_0x477d('0x15d7')]={};}}}}());(function(){'use strict';_0x49f2ff[_0x477d('0xa')]=['$mdDialog','$state','toasty',_0x477d('0x386'),_0x477d('0xf13'),_0x477d('0xf12'),_0x477d('0x40d')];angular[_0x477d('0xb')](_0x477d('0x3b'))[_0x477d('0x3ba')](_0x477d('0x1c47'),_0x49f2ff);function _0x49f2ff(_0x973172,_0x13734f,_0x1433ad,_0xb206f,_0x160616,_0x1f27fb,_0xf38e5a){var _0x2ecce1=this;_0x2ecce1['newProject']=!![];_0x2ecce1['project']=angular[_0x477d('0x6d9')](_0x160616);_0x2ecce1[_0x477d('0xf12')]=_0x1f27fb;_0x2ecce1[_0x477d('0x49a')]=_0xf38e5a['instant'](_0x477d('0x1c48'));if(_0x160616&&_0x160616[_0x477d('0x94')]){_0x2ecce1[_0x477d('0x49a')]+=':\x20'+_0x160616[_0x477d('0x94')];}_0x2ecce1[_0x477d('0x1c49')]=_0x396394;_0x2ecce1[_0x477d('0x6bf')]=_0x2cb8c5;function _0x396394(){return _0xb206f[_0x477d('0xc88')]['clone']({'id':_0x160616['id']},_0x2ecce1[_0x477d('0xf13')])[_0x477d('0x38b')]['then'](function(_0x2a9ba0){_0x2ecce1[_0x477d('0xf12')][_0x477d('0x63b')](_0x2a9ba0['toJSON']());_0x1433ad[_0x477d('0x485')]({'title':_0x477d('0x1c4a'),'msg':_0x2ecce1['project'][_0x477d('0x94')]?_0x2ecce1[_0x477d('0xf13')][_0x477d('0x94')]+'\x20has\x20been\x20cloned!':''});_0x13734f['go'](_0x477d('0x1cc'),{'id':_0x2a9ba0['id']});_0x2cb8c5(_0x2a9ba0);})[_0x477d('0xf8')](function(_0x10141c){if(_0x10141c[_0x477d('0x451')]&&_0x10141c['data'][_0x477d('0xd67')]&&_0x10141c[_0x477d('0x451')]['errors'][_0x477d('0x79')]){_0x2ecce1[_0x477d('0xd67')]=_0x10141c[_0x477d('0x451')]['errors']||[{'message':_0x10141c[_0x477d('0x453')](),'type':_0x477d('0x1c4b')}];for(var _0x28aaed=0x0;_0x28aaed<_0x10141c[_0x477d('0x451')][_0x477d('0xd67')]['length'];_0x28aaed+=0x1){_0x1433ad[_0x477d('0x44a')]({'title':_0x10141c[_0x477d('0x451')][_0x477d('0xd67')][_0x28aaed][_0x477d('0x439')],'msg':_0x10141c[_0x477d('0x451')][_0x477d('0xd67')][_0x28aaed][_0x477d('0x452')]});}}else{_0x1433ad[_0x477d('0x44a')]({'title':_0x10141c[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x10141c[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x10141c[_0x477d('0x44d')]:_0x477d('0x1c4b'),'msg':_0x10141c[_0x477d('0x451')]?JSON['stringify'](_0x10141c[_0x477d('0x451')][_0x477d('0x452')]):_0x10141c['toString']()});}});}function _0x2cb8c5(_0x34bd69){_0x973172['hide'](_0x34bd69);}}}());(function(){'use strict';_0x5cefc7[_0x477d('0xa')]=['$q',_0x477d('0x384'),'$scope'];angular['module'](_0x477d('0x3b'))[_0x477d('0x3ba')](_0x477d('0x1c4c'),_0x5cefc7);function _0x5cefc7(_0x20e442,_0x154996,_0x5fe583){var _0x55058c=this;_0x55058c[_0x477d('0xf13')]={};_0x55058c['responseData']={};_0x55058c[_0x477d('0x18a7')]={};_0x55058c[_0x477d('0x5ee')]=_0x3cea8b;_0x55058c[_0x477d('0x18aa')]=_0x2c46d3;_0x55058c['resetViewer']=_0x480bc1;function _0x3cea8b(_0x22dabb){_0x55058c['project']=_0x22dabb;_0x5fe583['$on'](_0x477d('0x18bb'),function(_0x2ca72e,_0xf22a28){if(_0xf22a28[_0x477d('0x18b6')]&&_0x55058c[_0x477d('0xf13')][_0x477d('0x15d7')]&&_0x55058c[_0x477d('0xf13')]['formData'][_0x477d('0x18bc')]){for(var _0x33cd92=0x0,_0x524b43=_0x55058c[_0x477d('0xf13')][_0x477d('0x15d7')][_0x477d('0x18bc')][_0x477d('0x79')];_0x33cd92<_0x524b43;_0x33cd92++){if(_0xf22a28[_0x477d('0x18b6')][_0x477d('0x421')]<_0x33cd92+0x1&&_0x55058c[_0x477d('0xf13')][_0x477d('0x15d7')][_0x477d('0x18bc')][_0x33cd92][_0x477d('0x18bd')]){for(var _0x11331f=0x0,_0x1f3f69=_0x55058c[_0x477d('0xf13')][_0x477d('0x15d7')][_0x477d('0x18bc')][_0x33cd92][_0x477d('0x18bd')][_0x477d('0x79')];_0x11331f<_0x1f3f69;_0x11331f++){if(_0x55058c[_0x477d('0xf13')]['formData'][_0x477d('0x18bc')][_0x33cd92][_0x477d('0x18bd')][_0x11331f]['type']===_0x477d('0x18be')&&_0x55058c[_0x477d('0xf13')][_0x477d('0x15d7')][_0x477d('0x18bc')][_0x33cd92][_0x477d('0x18bd')][_0x11331f]['question']){delete _0x55058c[_0x477d('0x18b9')][_0x55058c[_0x477d('0xf13')][_0x477d('0x15d7')][_0x477d('0x18bc')][_0x33cd92][_0x477d('0x18bd')][_0x11331f][_0x477d('0x18be')]['id']];}}}}}});}function _0x2c46d3(_0x4ab07c){var _0x6e9800=_0x20e442['defer']();var _0x344c7d=_0x154996[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x1c4d'))[_0x477d('0x68e')]('')[_0x477d('0x687')](_0x477d('0x18b3'))['targetEvent'](_0x4ab07c)['ok'](_0x477d('0x1c4e'))['cancel'](_0x477d('0xd97'));_0x154996['show'](_0x344c7d)[_0x477d('0x76')](function(){_0x6e9800[_0x477d('0x5a')](!![]);},function(){_0x6e9800['reject']();});return _0x6e9800[_0x477d('0x553')];}function _0x480bc1(){if(_0x55058c[_0x477d('0x18a7')][_0x477d('0x18b0')]){_0x55058c[_0x477d('0x18a7')]['reset']();}}}}());(function(){'use strict';_0x227822[_0x477d('0xa')]=[_0x477d('0x385'),_0x477d('0x474'),_0x477d('0x3c4'),'$q',_0x477d('0x40d'),_0x477d('0x3fe'),'$mdDialog',_0x477d('0x475'),_0x477d('0x40e'),'api',_0x477d('0x55')];angular['module']('app.jscripty')[_0x477d('0x3ba')]('ProjectSessionsController',_0x227822);function _0x227822(_0x43767b,_0x18be18,_0x2abee4,_0x4a16fb,_0x319bb1,_0x3d5496,_0x2c0cef,_0x51662b,_0x38061b,_0x5c6808,_0x51d84b){var _0x4a1462=this;_0x4a1462[_0x477d('0x3e5')]=_0x51d84b[_0x477d('0x5c')]();_0x4a1462['project']={};_0x4a1462[_0x477d('0x1c4f')]={'count':0x0,'rows':[]};_0x4a1462[_0x477d('0x1c50')]=[];_0x4a1462[_0x477d('0xd66')];_0x4a1462[_0x477d('0x3ef')]={'fields':_0x477d('0x1c51'),'sort':'-starttime','limit':0xa,'page':0x1};_0x4a1462[_0x477d('0x5ee')]=_0x2e0ddf;_0x4a1462[_0x477d('0xe66')]=_0x3361e9;_0x4a1462[_0x477d('0x485')]=_0x168cdb;_0x4a1462[_0x477d('0x1c52')]=_0x54ddbb;_0x4a1462[_0x477d('0x1c53')]=_0x3587e4;_0x4a1462[_0x477d('0x1c54')]=_0x38842e;_0x4a1462[_0x477d('0x1c55')]=_0x157865;_0x4a1462[_0x477d('0x1c56')]=_0x538696;_0x4a1462[_0x477d('0x1c57')]=_0x167025;function _0x2e0ddf(_0x3c91be,_0x5ef60b){_0x4a1462['project']=_0x3c91be;_0x4a1462[_0x477d('0xd66')]=typeof _0x5ef60b!==_0x477d('0x4a4')?_0x5ef60b:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x4a1462[_0x477d('0x3ef')]['id']=_0x4a1462[_0x477d('0xf13')]['id'];_0x54ddbb();}function _0x3361e9(_0x431497,_0x153088){var _0x4c7907=_0x2c0cef[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x1c58'))[_0x477d('0xd92')](_0x477d('0xd93')+(_0x431497['name']||_0x431497['id']&&_['upperFirst'](_0x477d('0x1c59'))+_0x431497['id']||_0x477d('0x61a'))+''+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x1c5a'))[_0x477d('0xd7c')](_0x153088)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x2c0cef[_0x477d('0x395')](_0x4c7907)[_0x477d('0x76')](function(){_0x538696(_0x431497);},function(){console[_0x477d('0x7b')](_0x477d('0xd97'));});}function _0x168cdb(_0x3d0ebb){_0x4a1462[_0x477d('0x1c4f')]=_0x3d0ebb||{'count':0x0,'rows':[]};}function _0x54ddbb(){_0x4a1462[_0x477d('0x3ef')][_0x477d('0x91c')]=(_0x4a1462['query'][_0x477d('0xe03')]-0x1)*_0x4a1462[_0x477d('0x3ef')][_0x477d('0x91d')];_0x4a1462[_0x477d('0x553')]=_0x5c6808[_0x477d('0xc88')][_0x477d('0x1c5b')](_0x4a1462[_0x477d('0x3ef')],_0x168cdb)[_0x477d('0x38b')];}function _0x3587e4(_0x18b112,_0x4f37ef){_0x2c0cef[_0x477d('0x395')]({'controller':_0x477d('0x1c5c'),'controllerAs':'vm','templateUrl':_0x477d('0x1c5d'),'parent':angular[_0x477d('0x398')](_0x51662b[_0x477d('0x399')]),'targetEvent':_0x18b112,'clickOutsideToClose':!![],'locals':{'project':_0x4a1462[_0x477d('0xf13')],'session':_0x4f37ef,'sessions':_0x4a1462[_0x477d('0x1c4f')]['rows'],'license':null,'setting':null,'crudPermissions':_0x4a1462[_0x477d('0xd66')]}});}function _0x38842e(_0x268b23,_0x1f5a95){_0x2c0cef[_0x477d('0x395')]({'controller':'ShowQuestionsSessionDialogController','controllerAs':'vm','templateUrl':'app/main/apps/jscripty/views/projects/edit/sessions/dialog.html','parent':angular[_0x477d('0x398')](_0x51662b[_0x477d('0x399')]),'targetEvent':_0x268b23,'clickOutsideToClose':!![],'resolve':{'questions':['apiResolver',_0x477d('0x72'),function(_0x4d6007,_0x2f5e92){return _0x4d6007[_0x477d('0x5a')](_0x477d('0x1c5e'),{'fields':'question,answer','sort':'id','id':_0x1f5a95['id']});}]},'locals':{'project':_0x4a1462['project'],'session':_0x1f5a95}});}function _0x538696(_0x5c2774){_0x5c6808[_0x477d('0xc7b')][_0x477d('0xa55')]({'id':_0x5c2774['id']})['$promise'][_0x477d('0x76')](function(){_['remove'](_0x4a1462[_0x477d('0x1c4f')][_0x477d('0xf2')],{'id':_0x5c2774['id']});_0x4a1462[_0x477d('0x1c4f')][_0x477d('0x3bb')]-=0x1;if(!_0x4a1462[_0x477d('0x1c4f')][_0x477d('0xf2')][_0x477d('0x79')]){_0x54ddbb();}_0x38061b[_0x477d('0x485')]({'title':_0x477d('0x1c5f'),'msg':_0x5c2774[_0x477d('0x94')]?_0x5c2774[_0x477d('0x94')]+_0x477d('0xd7e'):''});})[_0x477d('0xf8')](function(_0x14824a){if(_0x14824a[_0x477d('0x451')]&&_0x14824a['data'][_0x477d('0xd67')]&&_0x14824a[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){vm[_0x477d('0xd67')]=_0x14824a[_0x477d('0x451')]['errors']||[{'message':_0x14824a[_0x477d('0x453')](),'type':_0x477d('0x1c60')}];for(var _0x338ecc=0x0;_0x338ecc<_0x14824a[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x338ecc++){_0x38061b[_0x477d('0x44a')]({'title':_0x14824a[_0x477d('0x451')][_0x477d('0xd67')][_0x338ecc][_0x477d('0x439')],'msg':_0x14824a[_0x477d('0x451')][_0x477d('0xd67')][_0x338ecc][_0x477d('0x452')]});}}else{_0x38061b[_0x477d('0x44a')]({'title':_0x14824a[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x14824a[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x14824a[_0x477d('0x44d')]:_0x477d('0x1c60'),'msg':_0x14824a[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x14824a[_0x477d('0x451')][_0x477d('0x452')]):_0x14824a[_0x477d('0x452')]||_0x14824a[_0x477d('0x453')]()});}});}function _0x157865(){var _0x64c7c0=angular[_0x477d('0x6d9')](_0x4a1462['selectedProjectSessions']);_0x4a1462[_0x477d('0x1c50')]=[];return _0x64c7c0;}function _0x167025(_0x3bd00f){var _0x423390=_0x2c0cef[_0x477d('0xd78')]()['title'](_0x477d('0x1c61'))[_0x477d('0xd92')](''+_0x4a1462[_0x477d('0x1c50')][_0x477d('0x79')]+_0x477d('0xda0')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x1c62'))[_0x477d('0xd7c')](_0x3bd00f)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x2c0cef[_0x477d('0x395')](_0x423390)[_0x477d('0x76')](function(){_0x4a1462[_0x477d('0x1c50')][_0x477d('0x3b1')](function(_0x5ced25){_0x538696(_0x5ced25);});_0x4a1462[_0x477d('0x1c50')]=[];});}var _0xbbce54=!![];var _0x27069e=0x1;_0x18be18[_0x477d('0x4b5')](_0x477d('0x12f3'),function(_0x1acdef,_0x199e7d){if(_0xbbce54){_0x3d5496(function(){_0xbbce54=![];});}else{if(!_0x199e7d){_0x27069e=_0x4a1462[_0x477d('0x3ef')]['page'];}if(_0x1acdef!==_0x199e7d){_0x4a1462[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0x1acdef){_0x4a1462[_0x477d('0x3ef')][_0x477d('0xe03')]=_0x27069e;}_0x54ddbb();}});}}());(function(){'use strict';_0x54dcc0[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x3c4'),_0x477d('0xd64'),_0x477d('0x384'),'toasty',_0x477d('0x61a'),_0x477d('0x1c63'),_0x477d('0xf13'),_0x477d('0x386')];angular[_0x477d('0xb')](_0x477d('0x3b'))[_0x477d('0x3ba')](_0x477d('0x1c64'),_0x54dcc0);function _0x54dcc0(_0x183e75,_0x2de7f4,_0x24abaa,_0x25e229,_0x152e45,_0x3ffa54,_0x562787,_0xe47090,_0x4fe994){var _0x1d4fa2=this;_0x1d4fa2[_0x477d('0x49a')]=_0x477d('0x1c65');_0x1d4fa2['session']=_0x3ffa54;_0x1d4fa2[_0x477d('0x1c63')]=_0x562787;_0x1d4fa2[_0x477d('0xf13')]=_0xe47090;_0x1d4fa2[_0x477d('0x6bf')]=_0xc172fe;function _0xc172fe(_0x54ff34){_0x25e229['hide'](_0x54ff34);}}}());(function(){'use strict';_0x29e26e['$inject']=[_0x477d('0x3c4'),_0x477d('0xd64'),_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x40d'),_0x477d('0x613'),_0x477d('0xc8e'),'api',_0x477d('0x40e'),_0x477d('0x55'),_0x477d('0xf13'),_0x477d('0x3ac')];angular['module']('app.jscripty')[_0x477d('0x3ba')](_0x477d('0x1c66'),_0x29e26e);function _0x29e26e(_0x6a1279,_0x142505,_0x8311a5,_0x2395d5,_0x415af8,_0x4cb525,_0x1a6a21,_0x32f5fb,_0x3248f4,_0x2d69c1,_0x1922c5,_0x43becb){var _0x9fec33=this;_0x9fec33[_0x477d('0x3e5')]=_0x2d69c1[_0x477d('0x5c')]();_0x9fec33[_0x477d('0x613')]=_0x4cb525;_0x9fec33[_0x477d('0xc8e')]=_0x1a6a21;_0x9fec33[_0x477d('0xd69')]=_0x9fec33[_0x477d('0xc8e')]['securePassword']?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x9fec33[_0x477d('0x3cc')]=_0x142505[_0x477d('0x3ce')]()+_0x477d('0x1209')+_0x142505[_0x477d('0x3c9')]();_0x9fec33[_0x477d('0xf13')]=_0x1922c5||_0x6a1279[_0x477d('0x37e')]['project']||{};_0x9fec33[_0x477d('0x3ac')]=_0x43becb&&_0x43becb[_0x477d('0x3bb')]==0x1?_0x43becb['rows'][0x0]:null;_0x9fec33[_0x477d('0xd66')]=_0x2d69c1[_0x477d('0xd81')](_0x9fec33[_0x477d('0x3ac')]?_0x9fec33[_0x477d('0x3ac')][_0x477d('0xd66')]:null);_0x9fec33[_0x477d('0xd68')]={};_0x9fec33[_0x477d('0xe95')]=_0x6a1279[_0x477d('0x37e')]['tab']||0x0;_0x9fec33[_0x477d('0x1c67')]=_0x45b90f;_0x9fec33['alert']=_0x3248f4[_0x477d('0x669')];_0x9fec33[_0x477d('0x1197')]=_0x5180c4;_0x9fec33[_0x477d('0xf1a')]=_0xeeb417;function _0x45b90f(_0x13f99d,_0x2ca275){_0x8311a5[_0x477d('0x395')]({'controller':_0x477d('0x1c47'),'controllerAs':'vm','templateUrl':_0x477d('0x1c68'),'parent':angular['element'](_0x2395d5['body']),'targetEvent':_0x2ca275,'clickOutsideToClose':!![],'locals':{'project':_0x13f99d,'projects':_0x9fec33[_0x477d('0xf12')]?_0x9fec33[_0x477d('0xf12')][_0x477d('0xf2')]:[],'crudPermissions':_0x9fec33['crudPermissions']}});}function _0x5180c4(){_0x6a1279['go']('app.jscripty.projects',{},{'reload':'app.jscripty.projects'});}function _0xeeb417(){_0x32f5fb[_0x477d('0xc88')][_0x477d('0x710')]({'id':_0x9fec33[_0x477d('0xf13')]['id']},_0x9fec33[_0x477d('0xf13')])['$promise']['then'](function(){_0x3248f4[_0x477d('0x485')]({'title':'Project\x20updated!','msg':_0x9fec33[_0x477d('0xf13')][_0x477d('0x94')]?_0x9fec33[_0x477d('0xf13')][_0x477d('0x94')]+_0x477d('0xed7'):''});})[_0x477d('0xf8')](function(_0x59916d){_0x3248f4[_0x477d('0x44a')]({'title':_0x59916d[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x59916d['status']+_0x477d('0x44c')+_0x59916d[_0x477d('0x44d')]:_0x477d('0x1c60'),'msg':_0x59916d[_0x477d('0x451')]?JSON['stringify'](_0x59916d[_0x477d('0x451')]):_0x59916d['toString']()});});}}}());(function(){'use strict';_0x1daa5e[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x387'),'$state','$mdSidenav',_0x477d('0x384'),_0x477d('0x475'),'$timeout','$translate',_0x477d('0xf12'),_0x477d('0x3a5'),_0x477d('0x3ac'),_0x477d('0x386'),'msUtils',_0x477d('0x40e'),'Auth',_0x477d('0x613'),_0x477d('0xc8e')];angular[_0x477d('0xb')](_0x477d('0x3b'))[_0x477d('0x3ba')](_0x477d('0x1c69'),_0x1daa5e);function _0x1daa5e(_0x1846b1,_0x33277,_0x1a0bf2,_0x377c2e,_0x6600aa,_0x17ba34,_0x4fd7bc,_0x13dffc,_0x45c4cc,_0xddafb5,_0x35772d,_0x19bd82,_0x3c3687,_0x5a8fdc,_0x1719f9,_0x4505bf,_0x15b17c){var _0x424e88=this;_0x424e88['license']=_0x4505bf;_0x424e88[_0x477d('0xc8e')]=_0x15b17c;_0x424e88[_0x477d('0x3e5')]=_0x1719f9[_0x477d('0x5c')]();_0x424e88[_0x477d('0xf12')]=_0x45c4cc||{'count':0x0,'rows':[]};_0x424e88['userProfile']=_0xddafb5;_0x424e88['userProfileSection']=_0x35772d&&_0x35772d[_0x477d('0x3bb')]==0x1?_0x35772d[_0x477d('0xf2')][0x0]:null;_0x424e88[_0x477d('0xd66')]=_0x1719f9['parseCrudPermissions'](_0x424e88[_0x477d('0x3ac')]?_0x424e88[_0x477d('0x3ac')][_0x477d('0xd66')]:null);_0x424e88[_0x477d('0xd82')]='projects';_0x424e88[_0x477d('0xd83')]='';_0x424e88[_0x477d('0xd84')]=null;_0x424e88[_0x477d('0x11aa')]=[];_0x424e88[_0x477d('0x3ef')]={'fields':_0x477d('0x1c9'),'sort':'-updatedAt','limit':0xa,'page':0x1};_0x424e88[_0x477d('0xea6')]=_0x53aac9;_0x424e88[_0x477d('0x1c67')]=_0x11b689;_0x424e88[_0x477d('0x1c6a')]=_0x2d9b9d;_0x424e88[_0x477d('0xd88')]=_0x425ed2;_0x424e88[_0x477d('0x485')]=_0x57c8dd;_0x424e88['getProjects']=_0x2293fe;_0x424e88[_0x477d('0x11ac')]=_0x9ff1b2;_0x424e88['deleteProject']=_0x2efeec;_0x424e88[_0x477d('0x11ae')]=_0x3d7402;_0x424e88[_0x477d('0x11af')]=_0x2f91ff;_0x424e88[_0x477d('0x1c6b')]=_0x20086d;_0x424e88['selectAllProjects']=_0x1df47e;function _0x53aac9(_0x41a8ed,_0x49738c){_0x1a0bf2['go'](_0x477d('0x1cc'),{'id':_0x41a8ed['id'],'project':_0x41a8ed,'crudPermissions':_0x424e88[_0x477d('0xd66')]});}function _0x11b689(_0x360b8c,_0x46f239){_0x6600aa[_0x477d('0x395')]({'controller':'ProjectcloneController','controllerAs':'vm','templateUrl':_0x477d('0x1c68'),'parent':angular['element'](_0x17ba34['body']),'targetEvent':_0x46f239,'clickOutsideToClose':!![],'locals':{'project':_0x360b8c,'projects':_0x424e88[_0x477d('0xf12')]?_0x424e88['projects'][_0x477d('0xf2')]:[],'crudPermissions':_0x424e88[_0x477d('0xd66')]}});}function _0x2d9b9d(_0x49b17c,_0x1e95a3){_0x1a0bf2['go'](_0x477d('0x1cc'),{'id':_0x49b17c['id'],'tab':0x3});}function _0x425ed2(_0x1a752a,_0x23ff9e){var _0x5ee907=_0x6600aa[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xd90')+_[_0x477d('0xd91')]('project')+'?')[_0x477d('0xd92')](''+(_0x1a752a[_0x477d('0x94')]||'project')+_0x477d('0xd94')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x11b2'))[_0x477d('0xd7c')](_0x23ff9e)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x6600aa['show'](_0x5ee907)['then'](function(){_0x2efeec(_0x1a752a);},function(){console[_0x477d('0x7b')](_0x477d('0xd97'));});}var _0x250f3a=!![];var _0x3e2a19=0x1;_0x1846b1[_0x477d('0x4b5')](_0x477d('0xd98'),function(_0x36a531,_0x317d05){if(_0x250f3a){_0x4fd7bc(function(){_0x250f3a=![];});}else{if(!_0x317d05){_0x3e2a19=_0x424e88['query'][_0x477d('0xe03')];}if(_0x36a531!==_0x317d05){_0x424e88[_0x477d('0x3ef')]['page']=0x1;}if(!_0x36a531){_0x424e88['query']['page']=_0x3e2a19;}_0x424e88[_0x477d('0x11ab')]();}});function _0x57c8dd(_0x398320){_0x424e88[_0x477d('0xf12')]=_0x398320||{'count':0x0,'rows':[]};}function _0x2293fe(){_0x424e88['query']['offset']=(_0x424e88[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x424e88[_0x477d('0x3ef')][_0x477d('0x91d')];if(_0x1719f9[_0x477d('0x56')](_0x477d('0x5f'))){_0x424e88[_0x477d('0x553')]=_0x19bd82['jscriptyProject']['get'](_0x424e88['query'],_0x57c8dd)[_0x477d('0x38b')];}else{_0x424e88[_0x477d('0x3ef')]['id']=_0x424e88[_0x477d('0x3a5')]['id'];_0x424e88[_0x477d('0x3ef')]['section']=_0x477d('0x1ca');_0x424e88[_0x477d('0x553')]=_0x19bd82[_0x477d('0x3a5')][_0x477d('0xd9a')](_0x424e88['query'],_0x57c8dd)[_0x477d('0x38b')];}}function _0x9ff1b2(_0x4dda3f,_0x395896){_0x6600aa[_0x477d('0x395')]({'controller':_0x477d('0x1c30'),'controllerAs':'vm','templateUrl':_0x477d('0x1c6c'),'parent':angular[_0x477d('0x398')](_0x17ba34[_0x477d('0x399')]),'targetEvent':_0x4dda3f,'clickOutsideToClose':!![],'locals':{'project':_0x395896,'projects':_0x424e88[_0x477d('0xf12')][_0x477d('0xf2')],'license':_0x424e88[_0x477d('0x613')],'setting':_0x424e88[_0x477d('0xc8e')],'crudPermissions':_0x424e88[_0x477d('0xd66')]}});}function _0x2efeec(_0xe6620e){_0x19bd82[_0x477d('0xc88')][_0x477d('0xa55')]({'id':_0xe6620e['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x424e88['projects'][_0x477d('0xf2')],{'id':_0xe6620e['id']});_0x424e88[_0x477d('0xf12')]['count']-=0x1;if(!_0x424e88[_0x477d('0xf12')][_0x477d('0xf2')][_0x477d('0x79')]){_0x424e88[_0x477d('0x11ab')]();}_0x5a8fdc[_0x477d('0x485')]({'title':_[_0x477d('0xd91')]('Project')+_0x477d('0xd9d'),'msg':_0xe6620e['name']?_0xe6620e[_0x477d('0x94')]+'\x20has\x20been\x20deleted!':''});})[_0x477d('0xf8')](function(_0x2f04da){if(_0x2f04da[_0x477d('0x451')]&&_0x2f04da[_0x477d('0x451')][_0x477d('0xd67')]&&_0x2f04da[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x424e88[_0x477d('0xd67')]=_0x2f04da['data']['errors']||[{'message':_0x2f04da['toString'](),'type':_0x477d('0x1c6d')}];for(var _0x3d83f0=0x0;_0x3d83f0<_0x2f04da[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x3d83f0++){_0x5a8fdc[_0x477d('0x44a')]({'title':_0x2f04da[_0x477d('0x451')][_0x477d('0xd67')][_0x3d83f0][_0x477d('0x439')],'msg':_0x2f04da[_0x477d('0x451')][_0x477d('0xd67')][_0x3d83f0][_0x477d('0x452')]});}}else{_0x5a8fdc[_0x477d('0x44a')]({'title':_0x2f04da['status']?_0x477d('0x44b')+_0x2f04da[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x2f04da[_0x477d('0x44d')]:_0x477d('0x1c6d'),'msg':_0x2f04da[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x2f04da['data'][_0x477d('0x452')]):_0x2f04da[_0x477d('0x452')]||_0x2f04da[_0x477d('0x453')]()});}});}function _0x3d7402(){var _0x54c4dd=angular[_0x477d('0x6d9')](_0x424e88[_0x477d('0x11aa')]);_0x424e88[_0x477d('0x11aa')]=[];return _0x54c4dd;}function _0x2f91ff(_0x5b3b5c){var _0x1927fe=_0x6600aa['confirm']()[_0x477d('0x49a')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20projects?')['htmlContent'](_0x477d('0xd93')+_0x424e88[_0x477d('0x11aa')][_0x477d('0x79')]+_0x477d('0xda0')+_0x477d('0xd95'))[_0x477d('0x687')]('delete\x20Projects')[_0x477d('0xd7c')](_0x5b3b5c)['ok']('OK')['cancel'](_0x477d('0xd97'));_0x6600aa['show'](_0x1927fe)['then'](function(){_0x424e88[_0x477d('0x11aa')][_0x477d('0x3b1')](function(_0x453c65){_0x2efeec(_0x453c65);});_0x424e88['selectedProjects']=[];});}function _0x20086d(){_0x424e88[_0x477d('0x11aa')]=[];}function _0x1df47e(){_0x424e88[_0x477d('0x11aa')]=_0x424e88[_0x477d('0xf12')][_0x477d('0xf2')];}}}());(function(){'use strict';_0xa52d18[_0x477d('0xa')]=['$scope',_0x477d('0x3c4'),_0x477d('0xd64'),_0x477d('0x384'),'$q',_0x477d('0x40d'),_0x477d('0x40e'),'mailAccounts',_0x477d('0x1775'),_0x477d('0x386'),_0x477d('0x55'),_0x477d('0x613'),_0x477d('0xc8e'),'crudPermissions'];angular[_0x477d('0xb')](_0x477d('0x31'))['controller'](_0x477d('0x1c6e'),_0xa52d18);function _0xa52d18(_0x101598,_0x3bb193,_0x46e814,_0x34385c,_0x532446,_0x37d169,_0x32198a,_0xd2c3b2,_0x3323bf,_0x38b5d5,_0x2155c4,_0x43dd30,_0x3a067d,_0x5da527){var _0x4a75b5=this;_0x4a75b5[_0x477d('0x3e5')]=_0x2155c4['getCurrentUser']();_0x4a75b5['errors']=[];_0x4a75b5[_0x477d('0xc8e')]=_0x3a067d;_0x4a75b5[_0x477d('0x613')]=_0x43dd30;_0x4a75b5[_0x477d('0xd66')]=_0x5da527;_0x4a75b5[_0x477d('0xd68')]={};_0x4a75b5[_0x477d('0xd69')]=_0x4a75b5['setting']&&_0x4a75b5['setting'][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x4a75b5[_0x477d('0x49a')]=_0x477d('0x1c6f');_0x4a75b5[_0x477d('0x1775')]=angular[_0x477d('0x6d9')](_0x3323bf);_0x4a75b5[_0x477d('0xf33')]=_0xd2c3b2;_0x4a75b5[_0x477d('0x1c70')]=![];if(!_0x4a75b5[_0x477d('0x1775')]){_0x4a75b5['mailAccount']={'active':!![],'cservice':'null','cauthentication':!![],'fontSize':0xd,'waitForTheAssignedAgent':0xa,'notificationSound':!![],'queueTransferTimeout':0x12c,'agentTransferTimeout':0x12c};_0x4a75b5[_0x477d('0x49a')]=_0x477d('0x1c71');_0x4a75b5[_0x477d('0x1c70')]=!![];}if(_0x3bb193[_0x477d('0x37e')]['id']){_0x4a75b5['mailAccount']['MailAccountId']=_0x3bb193[_0x477d('0x37e')]['id'];}_0x4a75b5[_0x477d('0x1c72')]=_0x43b35c;_0x4a75b5[_0x477d('0x1c73')]=_0x31a620;_0x4a75b5[_0x477d('0x1c74')]=_0x3e54da;_0x4a75b5[_0x477d('0xd6f')]=_0x100a30;_0x4a75b5[_0x477d('0x6bf')]=_0x15bb2c;_0x2155c4[_0x477d('0x56')](_0x477d('0x5f'))?_0x38b5d5['cmList']['get']({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94')})['$promise'][_0x477d('0x76')](function(_0xf2d61a){_0x4a75b5[_0x477d('0xf1')]=_0xf2d61a[_0x477d('0xf2')]||[];})['catch'](function(_0x124c1c){_0x32198a[_0x477d('0x44a')]({'title':_0x124c1c[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x124c1c[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x124c1c[_0x477d('0x44d')]:_0x477d('0x1228'),'msg':_0x124c1c[_0x477d('0x451')]?JSON['stringify'](_0x124c1c[_0x477d('0x451')]):_0x124c1c[_0x477d('0x453')]()});}):_0x38b5d5[_0x477d('0xe3f')][_0x477d('0x376')]({'fields':'id,name','sort':_0x477d('0x94')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x2a58d2){_0x4a75b5['lists']=_0x2a58d2['rows']||[];})[_0x477d('0x76')](function(){return _0x38b5d5[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x4a75b5[_0x477d('0x3e5')]['userProfileId'],'sectionId':0x12d})['$promise'];})['then'](function(_0x5da82f){var _0x67c442=_0x5da82f&&_0x5da82f[_0x477d('0xf2')]?_0x5da82f[_0x477d('0xf2')][0x0]:null;if(!_0x67c442){var _0x468adf=[];var _0x5e1aa7=null;if(_0x4a75b5[_0x477d('0x1775')]){_0x5e1aa7=_['find'](_0x4a75b5[_0x477d('0xf1')],{'id':Number(_0x4a75b5[_0x477d('0x1775')][_0x477d('0x1229')])});}for(var _0x2af6cd=0x0;_0x2af6cd<_0x4a75b5[_0x477d('0xf1')]['length'];_0x2af6cd++){if(_0x5e1aa7&&_0x4a75b5[_0x477d('0xf1')][_0x2af6cd]['id']===_0x5e1aa7['id']){_0x4a75b5[_0x477d('0xf1')][_0x2af6cd]['canSelect']=![];_0x468adf[_0x477d('0x3a7')](_0x4a75b5[_0x477d('0xf1')][_0x2af6cd]);}}_0x4a75b5[_0x477d('0xf1')]=_0x468adf;}else{if(!_0x67c442[_0x477d('0x3ad')]){return _0x38b5d5[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x67c442['id']})['$promise']['then'](function(_0x2a6990){var _0x27762a=_['map'](_0x2a6990[_0x477d('0xf2')],function(_0x3dcf89){return _[_0x477d('0x10a')](_0x4a75b5[_0x477d('0xf1')],{'id':_0x3dcf89[_0x477d('0x3af')]});});var _0x5bae10=null;if(_0x4a75b5[_0x477d('0x1775')]){_0x5bae10=_[_0x477d('0x10a')](_0x4a75b5[_0x477d('0xf1')],{'id':Number(_0x4a75b5[_0x477d('0x1775')][_0x477d('0x1229')])});}if(_0x5bae10&&!_[_0x477d('0x3ab')](_0x27762a,['id',_0x5bae10['id']])){var _0x7aa40e=_[_0x477d('0x10a')](_0x4a75b5[_0x477d('0xf1')],{'id':_0x5bae10['id']});_0x7aa40e['canSelect']=![];_0x27762a[_0x477d('0x3a7')](_0x7aa40e);}_0x4a75b5[_0x477d('0xf1')]=_0x27762a;});}}})[_0x477d('0xf8')](function(_0x33c018){_0x32198a['error']({'title':_0x33c018['status']?_0x477d('0x44b')+_0x33c018['status']+_0x477d('0x44c')+_0x33c018[_0x477d('0x44d')]:_0x477d('0x122a'),'msg':_0x33c018[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x33c018['data']):_0x33c018[_0x477d('0x453')]()});});function _0x43b35c(){_0x4a75b5[_0x477d('0xd67')]=[];_0x38b5d5[_0x477d('0x1775')][_0x477d('0xd70')](_0x4a75b5[_0x477d('0x1775')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x298a3b){_0x4a75b5['mailAccounts'][_0x477d('0x63b')](_0x298a3b['toJSON']());_0x32198a[_0x477d('0x485')]({'title':'MailAccount\x20properly\x20created','msg':_0x4a75b5[_0x477d('0x1775')][_0x477d('0x94')]?_0x4a75b5[_0x477d('0x1775')][_0x477d('0x94')]+'\x20has\x20been\x20created!':''});_0x15bb2c(_0x298a3b);})['catch'](function(_0x2160b9){if(_0x2160b9[_0x477d('0x451')]&&_0x2160b9[_0x477d('0x451')][_0x477d('0xd67')]&&_0x2160b9[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x4a75b5[_0x477d('0xd67')]=_0x2160b9[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x2160b9[_0x477d('0x453')](),'type':'api.mailAccount.save'}];for(var _0x554bd2=0x0;_0x554bd2<_0x2160b9[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x554bd2+=0x1){_0x32198a[_0x477d('0x44a')]({'title':_0x2160b9[_0x477d('0x451')][_0x477d('0xd67')][_0x554bd2][_0x477d('0x439')],'msg':_0x2160b9[_0x477d('0x451')]['errors'][_0x554bd2][_0x477d('0x452')]});}}else{_0x32198a['error']({'title':_0x2160b9[_0x477d('0x3c3')]?'API:'+_0x2160b9[_0x477d('0x3c3')]+'\x20-\x20'+_0x2160b9[_0x477d('0x44d')]:'api.mailAccount.save','msg':_0x2160b9['data']?JSON[_0x477d('0x3fb')](_0x2160b9['data'][_0x477d('0x452')]):_0x2160b9[_0x477d('0x453')]()});}});}function _0x31a620(){_0x4a75b5[_0x477d('0xd67')]=[];_0x38b5d5[_0x477d('0x1775')][_0x477d('0x710')]({'id':_0x4a75b5[_0x477d('0x1775')]['id']},_0x4a75b5[_0x477d('0x1775')])[_0x477d('0x38b')]['then'](function(_0xd47b34){var _0x23495c=_['find'](_0x4a75b5[_0x477d('0xf33')],{'id':_0xd47b34['id']});if(_0x23495c){_[_0x477d('0xef')](_0x23495c,_[_0x477d('0x10b')](_0xd47b34[_0x477d('0xd71')](),_['keys'](_0x23495c)));}_0x32198a[_0x477d('0x485')]({'title':'MailAccount\x20properly\x20saved!','msg':_0x4a75b5[_0x477d('0x1775')][_0x477d('0x94')]?_0x4a75b5[_0x477d('0x1775')][_0x477d('0x94')]+_0x477d('0xd76'):''});_0x15bb2c(_0xd47b34);})[_0x477d('0xf8')](function(_0x335ff5){if(_0x335ff5[_0x477d('0x451')]&&_0x335ff5['data'][_0x477d('0xd67')]&&_0x335ff5[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x4a75b5[_0x477d('0xd67')]=_0x335ff5[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x335ff5[_0x477d('0x453')](),'type':_0x477d('0x1c75')}];for(var _0x24d920=0x0;_0x24d920<_0x335ff5['data'][_0x477d('0xd67')]['length'];_0x24d920++){_0x32198a[_0x477d('0x44a')]({'title':_0x335ff5['data']['errors'][_0x24d920]['type'],'msg':_0x335ff5[_0x477d('0x451')][_0x477d('0xd67')][_0x24d920][_0x477d('0x452')]});}}else{_0x32198a[_0x477d('0x44a')]({'title':_0x335ff5[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x335ff5[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x335ff5['statusText']:_0x477d('0x1c75'),'msg':_0x335ff5[_0x477d('0x451')]?JSON['stringify'](_0x335ff5[_0x477d('0x451')][_0x477d('0x452')]):_0x335ff5[_0x477d('0x453')]()});}});}function _0x3e54da(_0x574ce1){if(_0x4a75b5['mailAccount'][_0x477d('0x1c76')]){return _0x32198a[_0x477d('0x44a')]({'title':_0x477d('0x1c77'),'msg':_0x477d('0x1c78')});}_0x4a75b5[_0x477d('0xd67')]=[];var _0xd3ebd2=_0x34385c[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xd79'))['content'](_0x477d('0x1c79'))[_0x477d('0x687')](_0x477d('0x1c7a'))['ok'](_0x477d('0xd7b'))[_0x477d('0x4f0')](_0x477d('0x688'))[_0x477d('0xd7c')](_0x574ce1);_0x34385c['show'](_0xd3ebd2)[_0x477d('0x76')](function(){_0x38b5d5['mailAccount'][_0x477d('0xa55')]({'id':_0x4a75b5[_0x477d('0x1775')]['id']})['$promise'][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x4a75b5[_0x477d('0xf33')],{'id':_0x4a75b5[_0x477d('0x1775')]['id']});_0x32198a['success']({'title':_0x477d('0x1c7b'),'msg':(_0x4a75b5[_0x477d('0x1775')][_0x477d('0x94')]||_0x477d('0x1775'))+_0x477d('0xd7e')});_0x15bb2c(_0x4a75b5[_0x477d('0x1775')]);})[_0x477d('0xf8')](function(_0x522f3f){if(_0x522f3f[_0x477d('0x451')]&&_0x522f3f[_0x477d('0x451')]['errors']&&_0x522f3f['data'][_0x477d('0xd67')][_0x477d('0x79')]){_0x4a75b5[_0x477d('0xd67')]=_0x522f3f[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x522f3f[_0x477d('0x453')](),'type':'api.mailAccount.delete'}];for(var _0x1c3970=0x0;_0x1c3970<_0x522f3f[_0x477d('0x451')][_0x477d('0xd67')]['length'];_0x1c3970++){_0x32198a['error']({'title':_0x522f3f[_0x477d('0x451')]['errors'][_0x1c3970][_0x477d('0x439')],'msg':_0x522f3f['data'][_0x477d('0xd67')][_0x1c3970][_0x477d('0x452')]});}}else{_0x32198a[_0x477d('0x44a')]({'title':_0x522f3f[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x522f3f[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x522f3f[_0x477d('0x44d')]:_0x477d('0x1c7c'),'msg':_0x522f3f[_0x477d('0x451')]?JSON['stringify'](_0x522f3f['data'][_0x477d('0x452')]):_0x522f3f[_0x477d('0x452')]||_0x522f3f['toString']()});}});},function(){});}function _0x100a30(_0x2dbc36){return _0x2dbc36===null?undefined:new Date(_0x2dbc36);}function _0x15bb2c(_0x389ec9){_0x34385c[_0x477d('0x3bc')](_0x389ec9);}}}());(function(){'use strict';_0x48062e[_0x477d('0xa')]=[_0x477d('0x386'),_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x40e'),_0x477d('0x55')];angular[_0x477d('0xb')](_0x477d('0x31'))[_0x477d('0x3ba')](_0x477d('0x1c7d'),_0x48062e);function _0x48062e(_0x46b20a,_0x109912,_0xb7ad9d,_0x2ec5ec,_0x49e0c8){var _0x12ad05=this;_0x12ad05['currentUser']=_0x49e0c8[_0x477d('0x5c')]();_0x12ad05['mailAccount']={};_0x12ad05[_0x477d('0x1c7e')]={'count':0x0,'rows':[]};_0x12ad05[_0x477d('0x1c7f')]=[];_0x12ad05[_0x477d('0xd66')];_0x12ad05['query']={'sort':_0x477d('0x1243')};_0x12ad05[_0x477d('0x1244')]=_[_0x477d('0x691')](_[_0x477d('0x1245')]([{'app':_0x477d('0x1246'),'appType':_0x477d('0x79c'),'types':['always',_0x477d('0x9f6'),_0x477d('0xa02')],'fields':[],'isApp':![]},{'app':_0x477d('0x3c6'),'appType':'noop','type':_0x477d('0x3c6'),'icon':_0x477d('0x1248'),'interval':_0x477d('0x1249'),'required':!![],'isApp':!![],'fields':[{'title':_0x477d('0x1918'),'name':_0x477d('0x3b6'),'type':'text','param':0x0}]},{'app':_0x477d('0xa41'),'appType':_0x477d('0xa41'),'type':_0x477d('0xa41'),'icon':'icon-apps','interval':'*,*,*,*','required':!![],'isApp':!![],'extraApi':[{'name':_0x477d('0xf31'),'field':{'name':_0x477d('0xbb9'),'key':_0x477d('0x94')},'route':_0x477d('0xbb9'),'filters':{'fields':_0x477d('0x9c'),'sort':'name','nolimit':!![]},'permissions':{'section':0x3f4}}],'fields':[{'title':_0x477d('0x124a'),'name':_0x477d('0xf49'),'type':_0x477d('0x41b'),'required':!![],'param':0x0},{'title':'Variable','name':_0x477d('0xbb9'),'type':_0x477d('0x124c'),'values':'variables','value':'variable.name','option':_0x477d('0x124d'),'defaultValues':[{'value':'\x27\x27','option':_0x477d('0x124e')}],'defaultValue':'\x27\x27','param':0x1}]},{'app':_0x477d('0x124f'),'appType':_0x477d('0x124f'),'type':'goto','icon':'icon-apps','interval':_0x477d('0x1249'),'isApp':!![],'fields':[{'title':_0x477d('0x1251'),'name':'priority','type':_0x477d('0x421'),'required':!![],'min':0x0,'param':0x0}]},{'app':_0x477d('0x1252'),'appType':_0x477d('0x1252'),'type':_0x477d('0x1252'),'icon':_0x477d('0x1248'),'interval':_0x477d('0x1249'),'isApp':!![],'fields':[{'title':'Condition','name':_0x477d('0xb98'),'type':'text','required':!![],'param':0x0},{'title':_0x477d('0x1254'),'name':_0x477d('0x1254'),'type':_0x477d('0x421'),'min':0x1,'required':!![],'param':0x1},{'title':_0x477d('0x1255'),'name':_0x477d('0x1255'),'type':_0x477d('0x421'),'min':0x1,'required':!![],'param':0x2}]},{'app':_0x477d('0x1256'),'appType':'queue','foreignKey':_0x477d('0x1c80'),'type':'queue','icon':'icon-apps','interval':_0x477d('0x1249'),'isApp':!![],'extraApi':[{'name':_0x477d('0xf2f'),'field':{'name':_0x477d('0x1256'),'key':_0x477d('0x94')},'route':_0x477d('0x1c81'),'filters':{'fields':'id,name,type','sort':_0x477d('0x94'),'nolimit':!![]},'permissions':{'section':0x259}}],'fields':[{'title':'Queue','name':_0x477d('0x1256'),'type':_0x477d('0x124c'),'values':_0x477d('0xf2f'),'value':_0x477d('0x1259'),'option':'queue.name','defaultValue':0x12c,'required':!![],'param':0x0},{'title':'Timeout','name':_0x477d('0x91b'),'type':_0x477d('0x421'),'max':0x20c49b,'min':0x0,'required':!![],'defaultValue':0x12c,'param':0x1}]},{'app':'agent','appType':_0x477d('0xcf'),'type':_0x477d('0xcf'),'foreignKey':_0x477d('0x125b'),'icon':'icon-apps','interval':_0x477d('0x1249'),'isApp':!![],'extraApi':[{'name':_0x477d('0x125c'),'field':{'name':_0x477d('0xcf'),'key':_0x477d('0x94')},'route':'user','filters':{'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':!![],'role':_0x477d('0xcf')},'permissions':{'section':0xca}}],'fields':[{'title':_0x477d('0x125d'),'name':_0x477d('0xcf'),'type':_0x477d('0x124c'),'values':'agents','value':_0x477d('0x125e'),'option':_0x477d('0x125e'),'required':!![],'param':0x0},{'title':_0x477d('0x125a'),'name':_0x477d('0x91b'),'type':'number','max':0x20c49b,'min':0x0,'required':!![],'defaultValue':0x1e,'param':0x1}]},{'app':'autoreply','appType':_0x477d('0x1260'),'type':'autoreply','icon':'icon-apps','interval':_0x477d('0x1249'),'isApp':!![],'fields':[{'title':'times','name':_0x477d('0x1261'),'type':'select','defaultValue':'1','values':[{'option':_0x477d('0x1c82'),'value':'1'},{'option':'Always','value':'0'}],'required':!![],'param':0x0},{'title':_0x477d('0xf7f'),'name':_0x477d('0x41b'),'type':_0x477d('0x3de'),'required':!![],'param':0x1}]},{'app':'close','appType':'close','type':_0x477d('0x539'),'icon':_0x477d('0x1248'),'interval':_0x477d('0x1249'),'isApp':!![],'fields':[{'title':_0x477d('0x125f'),'name':_0x477d('0xb95'),'type':_0x477d('0x41b'),'required':!![],'param':0x0}]},{'app':_0x477d('0xbb0'),'appType':_0x477d('0xbb0'),'type':_0x477d('0xbb0'),'foreignKey':_0x477d('0x1262'),'icon':_0x477d('0x1248'),'interval':_0x477d('0x1249'),'isApp':!![],'extraApi':[{'name':_0x477d('0x1263'),'field':{'name':'tag','key':_0x477d('0x94')},'route':_0x477d('0xbb0'),'filters':{'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':!![]},'permissions':{'section':0x3f0}}],'fields':[{'title':_0x477d('0x1264'),'name':'tag','type':_0x477d('0x124c'),'values':_0x477d('0x1263'),'value':'tag.name','option':_0x477d('0x1265'),'required':!![],'param':0x0}]}],[_0x477d('0x1291')]),{'isApp':![]});_0x12ad05['list']={'group':{'name':_0x477d('0x1284'),'pull':'clone'},'animation':0x64,'sort':![]};_0x12ad05[_0x477d('0x1285')]={'group':{'name':'opt2','put':_0x477d('0x1284')},'animation':0x64,'onAdd':function(_0x48278d){_0x5f2de7(_0x48278d,_0x48278d[_0x477d('0x191a')]);},'onSort':function(_0x2666b4){_0x2e1ca6();}};_0x12ad05[_0x477d('0x5ee')]=_0x515cb5;_0x12ad05['deleteConfirm']=_0xe1707a;_0x12ad05[_0x477d('0x1c83')]=_0xf5d62;_0x12ad05['editMailAccountApp']=_0x5f2de7;_0x12ad05[_0x477d('0x1289')]=_0x4c76f5;_0x12ad05[_0x477d('0x1c84')]=_0x1f9f50;_0x12ad05[_0x477d('0x1c85')]=_0x4d7409;_0x12ad05['rewriteRouting']=_0x2e1ca6;_0x12ad05[_0x477d('0x128f')]=_0xbe2460;function _0x515cb5(_0x137ce3,_0x47f1a5){_0x12ad05[_0x477d('0x1775')]=_0x137ce3;_0x12ad05['crudPermissions']=typeof _0x47f1a5!==_0x477d('0x4a4')?_0x47f1a5:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x12ad05[_0x477d('0x1285')][_0x477d('0x45c')]=!_0x12ad05[_0x477d('0xd66')]['canEdit']?!![]:![];_0x12ad05[_0x477d('0x3ef')]['id']=_0x137ce3['id'];_0x12ad05[_0x477d('0x3ef')]['isApp']=!![];_0x12ad05[_0x477d('0x3ef')][_0x477d('0x128e')]=!![];_0x12ad05[_0x477d('0x1c83')]();_0x12ad05[_0x477d('0x128f')]();}function _0xe1707a(_0xa688b2,_0x39dbe2,_0xd00c0c){var _0x4da4b2=_0x109912[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x1290'))[_0x477d('0xd92')](_0x477d('0xd93')+_0xa688b2[_0x477d('0x1291')]+_0x477d('0xd94')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x1292'))['targetEvent'](_0xd00c0c)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x109912[_0x477d('0x395')](_0x4da4b2)[_0x477d('0x76')](function(){_0x12ad05['mailAccountApps']['rows'][_0x477d('0x45b')](_0x39dbe2,0x1);_0x2e1ca6();},function(){console[_0x477d('0x7b')](_0x477d('0xd97'));});}function _0x5f2de7(_0x536820,_0x303257){if(_0x12ad05['mailAccountApps'][_0x477d('0xf2')][_0x477d('0x79')]){var _0x3ca66a=_0x12ad05[_0x477d('0x1c7e')]['rows'][_0x303257]?_0x12ad05[_0x477d('0x1c7e')]['rows'][_0x303257]:_0x12ad05[_0x477d('0x1c7e')][_0x477d('0xf2')][0x0];_0x109912[_0x477d('0x395')]({'controller':_0x477d('0x1c86')+(_0x3ca66a['appType']||_0x3ca66a[_0x477d('0x1291')])[_0x477d('0x449')]()+'DialogController','controllerAs':'vm','templateUrl':'app/main/apps/mail/views/mailAccounts/edit/apps/'+(_0x3ca66a[_0x477d('0x1294')]||_0x3ca66a[_0x477d('0x1291')])[_0x477d('0x449')]()+'/dialog.html','parent':angular[_0x477d('0x398')](_0xb7ad9d[_0x477d('0x399')]),'targetEvent':_0x536820,'clickOutsideToClose':!![],'locals':{'mailAccountApp':_0x3ca66a,'mailAccount':_0x12ad05[_0x477d('0x1775')],'crudPermissions':_0x12ad05[_0x477d('0xd66')]}})[_0x477d('0x76')](function(_0xd228a2){if(_0xd228a2){if(_0xd228a2['id']){_0x12ad05[_0x477d('0x1c7e')][_0x477d('0xf2')][_0x303257]=_0xd228a2;}else{_0x12ad05[_0x477d('0x1c7e')][_0x477d('0xf2')][_0x477d('0x45b')](_0x303257,0x0,_0xd228a2);}_0x2e1ca6();}})[_0x477d('0xf8')](function(_0xdf626f){if(_0xdf626f){_0x2ec5ec['error']({'title':_0xdf626f[_0x477d('0x3c3')]?_0x477d('0x44b')+_0xdf626f['status']+_0x477d('0x44c')+_0xdf626f[_0x477d('0x44d')]:_0x477d('0x1921'),'msg':_0xdf626f[_0x477d('0x451')]?JSON['stringify'](_0xdf626f['data']):_0xdf626f[_0x477d('0x453')]()});}});}}function _0x4c76f5(_0x292adc,_0x43b1af){if(_0x12ad05[_0x477d('0x1c7e')]['rows'][_0x477d('0x79')]){var _0x1b2f34=_0x12ad05[_0x477d('0x1c7e')][_0x477d('0xf2')][_0x43b1af]?_0x12ad05[_0x477d('0x1c7e')][_0x477d('0xf2')][_0x43b1af]:_0x12ad05[_0x477d('0x1c7e')][_0x477d('0xf2')][0x0];_0x109912['show']({'controller':_0x477d('0x1c87'),'controllerAs':'vm','templateUrl':'app/main/apps/mail/views/mailAccounts/edit/apps/interval/dialog.html','parent':angular[_0x477d('0x398')](_0xb7ad9d['body']),'targetEvent':_0x292adc,'clickOutsideToClose':!![],'locals':{'interval':{'interval':_0x1b2f34[_0x477d('0x79c')],'IntervalId':_0x1b2f34['IntervalId'],'application':!![]},'intervals':[],'crudPermissions':_0x12ad05[_0x477d('0xd66')]}})[_0x477d('0x76')](function(_0x1764dd){if(_0x1764dd){_0x1b2f34['interval']=_0x1764dd[_0x477d('0x79c')]||_0x477d('0x1249');_0x1b2f34[_0x477d('0xf8c')]=_0x1764dd['IntervalId']||null;_0x2e1ca6();}});}}function _0x2e1ca6(){var _0x5c557d=0x1;var _0x44db40=[];for(var _0x47e744=0x0,_0x580de0=0x0;_0x47e744<_0x12ad05[_0x477d('0x1c7e')][_0x477d('0xf2')][_0x477d('0x79')];_0x47e744++,_0x580de0=0x0){var _0x1b619c=_0x12ad05[_0x477d('0x1c7e')][_0x477d('0xf2')][_0x47e744];var _0x3db41f=[];var _0x2d1528=[];_0x1b619c[_0x477d('0x1298')]=_0x1b619c['interval']!==_0x477d('0x1249')?[_0x1b619c['interval']]:_0x1b619c['IntervalId']?_[_0x477d('0x3cb')](_[_0x477d('0x3b3')](_0x12ad05[_0x477d('0x1298')]['rows'],{'IntervalId':_0x1b619c[_0x477d('0xf8c')]}),'interval'):[];_0x1b619c[_0x477d('0xf47')]=_0x12ad05[_0x477d('0x1775')]['context'];_0x1b619c[_0x477d('0x1299')]=_0x12ad05[_0x477d('0x1775')][_0x477d('0x1299')];if(_0x1b619c[_0x477d('0x439')]){_0x1b619c[_0x477d('0x439')]=_0x1b619c[_0x477d('0x439')]['toLowerCase']();}_0x1b619c[_0x477d('0x1243')]=_0x3db41f[_0x477d('0x79')]?_[_0x477d('0x601')](_0x3db41f)[_0x477d('0x1243')]+0x1:_0x5c557d;_0x5c557d=(_0x2d1528['length']?_['last'](_0x2d1528)[_0x477d('0x1243')]:_0x1b619c['priority'])+0x1;_0x44db40=_[_0x477d('0x3a9')](_0x44db40,_0x3db41f,[_0x1b619c],_0x2d1528);}_0x46b20a['mailAccount'][_0x477d('0x129a')]({'id':_0x12ad05[_0x477d('0x1775')]['id']},_[_0x477d('0x1245')](_0x44db40,'priority'))[_0x477d('0x38b')][_0x477d('0x76')](function(_0x4bccb5){_0x12ad05[_0x477d('0x1c7e')][_0x477d('0xf2')]=_0x4bccb5['rows'];})[_0x477d('0xf8')](function(_0x59263a){console[_0x477d('0x44a')](_0x59263a);});}function _0x55cf8e(_0x68a0a7){_0x12ad05[_0x477d('0x1c7e')]=_0x68a0a7||{'count':0x0,'rows':[]};}function _0xbe2460(){return _0x46b20a[_0x477d('0x79c')][_0x477d('0x376')]({'fields':_0x477d('0x1923')})[_0x477d('0x38b')]['then'](function(_0x410c59){_0x12ad05['intervals']=_0x410c59;})['catch'](function(_0x216731){console[_0x477d('0x44a')](_0x216731);});}function _0xf5d62(){_0x12ad05[_0x477d('0x553')]=_0x46b20a[_0x477d('0x1775')][_0x477d('0x1924')](_0x12ad05[_0x477d('0x3ef')],_0x55cf8e)[_0x477d('0x38b')];}function _0x1f9f50(_0xa94392){_[_0x477d('0x39c')](_0x12ad05[_0x477d('0x1c7e')][_0x477d('0xf2')],{'id':_0xa94392['id']});_0x2e1ca6();_0x2ec5ec[_0x477d('0x485')]({'title':'App\x20deleted!','msg':_0xa94392[_0x477d('0x1291')]?_0xa94392['app']+_0x477d('0xd7e'):''});}function _0x4d7409(_0xd99a3b){var _0x21a0df=_0x109912[_0x477d('0xd78')]()['title'](_0x477d('0x129b'))[_0x477d('0xd92')](_0x477d('0xd93')+_0x12ad05[_0x477d('0x1c7f')][_0x477d('0x79')]+_0x477d('0xda0')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x129c'))[_0x477d('0xd7c')](_0xd99a3b)['ok']('OK')[_0x477d('0x4f0')]('CANCEL');_0x109912[_0x477d('0x395')](_0x21a0df)[_0x477d('0x76')](function(){_0x12ad05[_0x477d('0x1c7f')]['forEach'](function(_0x353cb3){_[_0x477d('0x39c')](_0x12ad05[_0x477d('0x1c7e')]['rows'],{'id':_0x353cb3['id']});});_0x12ad05[_0x477d('0x1c7f')]=[];_0x2e1ca6();});}}}());(function(){'use strict';_0x39e227[_0x477d('0xa')]=[_0x477d('0x384'),'$q',_0x477d('0x40e'),_0x477d('0x386'),'mailAccount',_0x477d('0xf33'),'realtime',_0x477d('0x40d'),_0x477d('0x55'),'crudPermissions'];angular['module'](_0x477d('0x31'))['controller'](_0x477d('0x1c88'),_0x39e227);function _0x39e227(_0x15caf7,_0x316a3c,_0x16d8a7,_0x34bd70,_0x417378,_0x21a2d4,_0x54f201,_0x528e3f,_0xf4d0c9,_0xd752f){var _0x2ae3ba=this;_0x2ae3ba[_0x477d('0x3e5')]=_0xf4d0c9[_0x477d('0x5c')]();_0x2ae3ba['mailAccount']=_0x417378;_0x2ae3ba[_0x477d('0xd66')]=_0xd752f;_0x2ae3ba['realtime']=_0x54f201;_0x2ae3ba['items']=[];_0x2ae3ba[_0x477d('0x11f7')]=[];_0x2ae3ba[_0x477d('0x4a7')]=[];_0x2ae3ba['startingAllowedItems']=[];_0x2ae3ba[_0x477d('0x11fd')]=[];_0x2ae3ba[_0x477d('0x11f5')]=![];_0x2ae3ba[_0x477d('0x71a')]=_0x11865c;_0x2ae3ba[_0x477d('0x11f3')]=_0x209992;_0x2ae3ba['closeDialog']=_0x30ba2f;_0x2ae3ba[_0x477d('0x1185')]={'readOnly':!_0x2ae3ba['crudPermissions'][_0x477d('0xedb')],'items':[],'selectedItems':[],'showSelectAndDeselectAll':!![],'orderBy':_0x477d('0x94'),'line1':_0x477d('0xcd'),'line2':[_0x477d('0x94'),'internal'],'line3':'','labelAll':_0x528e3f[_0x477d('0x45f')]('MAIL.ALL_AGENTS'),'labelSelected':_0x528e3f[_0x477d('0x45f')](_0x477d('0x1c89')),'transferCallback':function(_0x2e3577,_0x3a99fd){var _0x29c964=_[_0x477d('0x11f4')](_0x2ae3ba['startingSelectedItems'],_0x2ae3ba[_0x477d('0x4a7')],'id');_0x2ae3ba[_0x477d('0x11f5')]=_[_0x477d('0x3b2')](_0x29c964)?![]:!![];}};function _0x11865c(){return _0xf4d0c9[_0x477d('0x56')](_0x477d('0x5f'))?_0x244a86()['catch'](function(_0x52487d){_0x16d8a7[_0x477d('0x44a')]({'title':_0x52487d[_0x477d('0x3c3')]?'API:'+_0x52487d[_0x477d('0x3c3')]+'\x20-\x20'+_0x52487d[_0x477d('0x44d')]:_0x477d('0x11f6'),'msg':_0x52487d['status']?JSON['stringify'](_0x52487d['data']):_0x52487d['toString']()});}):_0xffffa()['then'](function(_0x47cb3d){_0x2ae3ba[_0x477d('0xd99')]=_0x47cb3d;return _0x244a86();})['catch'](function(_0x4af884){_0x16d8a7[_0x477d('0x44a')]({'title':_0x4af884[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x4af884[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x4af884[_0x477d('0x44d')]:_0x477d('0x11f6'),'msg':_0x4af884[_0x477d('0x3c3')]?JSON[_0x477d('0x3fb')](_0x4af884[_0x477d('0x451')]):_0x4af884[_0x477d('0x453')]()});});}function _0xffffa(){return _0x316a3c(function(_0x140a58,_0x2570a8){_0x34bd70[_0x477d('0x3ac')]['get']({'userProfileId':_0x2ae3ba[_0x477d('0x3e5')][_0x477d('0x61')],'name':'Agents'})['$promise'][_0x477d('0x76')](function(_0x1644e0){var _0x2e0a9d=_0x1644e0&&_0x1644e0[_0x477d('0xf2')]?_0x1644e0[_0x477d('0xf2')][0x0]:null;_0x140a58(_0x2e0a9d);})['catch'](function(_0x43b15d){_0x2570a8(_0x43b15d);});});}function _0x244a86(){return _0x316a3c(function(_0x4db292,_0x56b315){return _0x527ca5()[_0x477d('0x76')](function(_0x13446c){_0x2ae3ba[_0x477d('0x4a6')]=_0x13446c[_0x477d('0xf2')]?_0x13446c[_0x477d('0xf2')]:[];if(_0xf4d0c9['hasRole'](_0x477d('0x5f'))){return _0x13446c;}else{if(_0x2ae3ba[_0x477d('0xd99')]){return _0x2ae3ba[_0x477d('0xd99')][_0x477d('0x3ad')]?_0x13446c:_0x435ddc();}else{return null;}}})['then'](function(_0xff8d0d){var _0xae1c39=_0xff8d0d&&_0xff8d0d['rows']?_0xff8d0d[_0x477d('0xf2')]:[];_0x2ae3ba['allowedItems']=_[_0x477d('0x3cb')](_0xae1c39,function(_0x377b52){return _['find'](_0x2ae3ba[_0x477d('0x4a6')],{'id':_0xf4d0c9[_0x477d('0x56')](_0x477d('0x5f'))||_0x2ae3ba[_0x477d('0xd99')]['autoAssociation']?_0x377b52['id']:_0x377b52[_0x477d('0x3af')]});});_0x2ae3ba[_0x477d('0x11f2')]=angular['copy'](_0x2ae3ba[_0x477d('0x11f7')]);_0x2ae3ba[_0x477d('0x4a6')][_0x477d('0x3b1')](function(_0x371c62){var _0x53fd2b=_[_0x477d('0x10a')](_0x2ae3ba[_0x477d('0x11f7')],{'id':_0x371c62['id']});if(_0xf4d0c9[_0x477d('0x56')](_0x477d('0x5f'))){_0x371c62['isValid']=!![];}else{_0x371c62[_0x477d('0x4a3')]=typeof _0x53fd2b!==_0x477d('0x4a4')?!![]:![];}});return _0x346696();})[_0x477d('0x76')](function(_0x27243b){var _0x3cae74=_0x27243b&&_0x27243b[_0x477d('0xf2')]?_0x27243b[_0x477d('0xf2')]:[];_0x2ae3ba[_0x477d('0x4a7')]=_[_0x477d('0x3cb')](_0x3cae74,function(_0x40fe08){var _0x6bc88=_['find'](_0x2ae3ba[_0x477d('0x4a6')],{'id':_0x40fe08['id']});_0x6bc88[_0x477d('0x1184')]=_0x40fe08[_0x477d('0x1c8a')]?_0x477d('0x1529')+_0x40fe08[_0x477d('0x1c8a')][_0x477d('0x1184')]:'';_0x6bc88['internal']=_0x40fe08[_0x477d('0x3ea')](_0x477d('0x324'))?'<'+_0x40fe08[_0x477d('0x324')]+'>':'';return _0x6bc88;});_0x2ae3ba[_0x477d('0x11fd')]=angular['copy'](_0x2ae3ba[_0x477d('0x4a7')]);_0x2ae3ba[_0x477d('0x1185')][_0x477d('0x4a7')]=_0x2ae3ba[_0x477d('0x4a7')];_0x2ae3ba[_0x477d('0x1185')][_0x477d('0x4a6')]=_[_0x477d('0x11f8')](_0x2ae3ba[_0x477d('0x11f7')],_0x2ae3ba[_0x477d('0x1185')][_0x477d('0x4a7')],'id');_0x4db292();})[_0x477d('0xf8')](function(_0xc041ca){_0x56b315(_0xc041ca);});});}function _0x435ddc(){return _0x316a3c(function(_0x3175df,_0x3edf27){return _0x34bd70['userProfileResource']['get']({'sectionId':_0x2ae3ba['section']['id'],'nolimit':!![]})['$promise'][_0x477d('0x76')](function(_0x1d2c4a){_0x3175df(_0x1d2c4a);})[_0x477d('0xf8')](function(_0x219b70){_0x3edf27(_0x219b70);});});}function _0x346696(){return _0x316a3c(function(_0x42971a,_0xbfb14e){return _0x34bd70[_0x477d('0x1775')][_0x477d('0x11f9')]({'id':_0x2ae3ba[_0x477d('0x1775')]['id'],'fields':'id,name,internal,fullname','nolimit':!![],'role':_0x477d('0xcf')})[_0x477d('0x38b')]['then'](function(_0x58cbc8){_0x42971a(_0x58cbc8);})[_0x477d('0xf8')](function(_0x30688b){_0xbfb14e(_0x30688b);});});}function _0x527ca5(){return _0x316a3c(function(_0x237086,_0x2325b9){return _0x34bd70[_0x477d('0x380')][_0x477d('0x376')]({'fields':_0x477d('0x11fa'),'nolimit':!![],'role':_0x477d('0xcf')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x45679){_0x237086(_0x45679);})[_0x477d('0xf8')](function(_0xc61db5){_0x2325b9(_0xc61db5);});});}function _0x4ca8ed(_0x5e55df){return _0x316a3c(function(_0x4218f0,_0x14794f){if(_[_0x477d('0x3b2')](_0x5e55df)){_0x4218f0();}else{_0x34bd70['mailAccount'][_0x477d('0x11fb')]({'id':_0x2ae3ba[_0x477d('0x1775')]['id'],'ids':_['map'](_0x5e55df,'id')})['$promise'][_0x477d('0x76')](function(){_0x4218f0();})['catch'](function(_0x48a30b){_0x14794f(_0x48a30b);});}});}function _0x9e70c4(_0x4eb4fa){return _0x316a3c(function(_0x1b1a38,_0x148272){if(_['isEmpty'](_0x4eb4fa)){_0x1b1a38();}else{_0x34bd70[_0x477d('0x1775')]['removeAgents']({'id':_0x2ae3ba[_0x477d('0x1775')]['id'],'ids':_['map'](_0x4eb4fa,'id')})[_0x477d('0x38b')][_0x477d('0x76')](function(){_0x1b1a38();})[_0x477d('0xf8')](function(_0x2574ad){_0x148272(_0x2574ad);});}});}function _0x209992(){var _0x1ec32f=_[_0x477d('0x11f8')](_0x2ae3ba[_0x477d('0x11fd')],_0x2ae3ba['selectedItems'],'id');var _0x4a514b=_[_0x477d('0x11f8')](_0x2ae3ba[_0x477d('0x4a7')],_0x2ae3ba[_0x477d('0x11fd')],'id');return _0x9e70c4(_0x1ec32f)['then'](function(){return _0x4ca8ed(_0x4a514b);})['then'](function(){_0x2ae3ba[_0x477d('0x11f5')]=![];_0x2ae3ba[_0x477d('0x11f2')]=angular[_0x477d('0x6d9')](_0x2ae3ba[_0x477d('0x11f7')]);_0x2ae3ba[_0x477d('0x11fd')]=angular['copy'](_0x2ae3ba[_0x477d('0x4a7')]);_0x16d8a7[_0x477d('0x485')]({'title':_0x477d('0x11fe'),'msg':_0x477d('0x11ff')});})['catch'](function(_0x485300){_0x16d8a7[_0x477d('0x44a')]({'title':_0x485300[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x485300[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x485300[_0x477d('0x44d')]:_0x477d('0x1200'),'msg':_0x485300[_0x477d('0x3c3')]?JSON['stringify'](_0x485300[_0x477d('0x451')]):_0x485300[_0x477d('0x453')]()});});}function _0x30ba2f(){_0x15caf7['hide']();}}}());(function(){'use strict';_0x1215da[_0x477d('0xa')]=['$mdDialog','$q','toasty',_0x477d('0x1c8b'),'mailAccount',_0x477d('0x386'),'Auth',_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x31'))[_0x477d('0x3ba')](_0x477d('0x1c8c'),_0x1215da);function _0x1215da(_0x248c93,_0x3b4247,_0x296ec8,_0x222e11,_0x38be66,_0x2f65c7,_0x4cec48,_0x49f04b){var _0x1d251c=this;_0x1d251c[_0x477d('0x3e5')]=_0x4cec48[_0x477d('0x5c')]();_0x1d251c[_0x477d('0xd67')]=[];_0x1d251c[_0x477d('0x49a')]='MAIL.EDIT_'+(_0x222e11['appType']||_0x222e11[_0x477d('0x1291')])[_0x477d('0x44f')]();_0x1d251c[_0x477d('0xcf')]=angular[_0x477d('0x6d9')](_0x222e11);_0x1d251c[_0x477d('0xd66')]=_0x49f04b;_0x1d251c[_0x477d('0xd68')]={};if(_0x1d251c[_0x477d('0xcf')][_0x477d('0x12ae')]){switch(_0x1d251c[_0x477d('0xcf')]['appType']?_0x1d251c[_0x477d('0xcf')][_0x477d('0x1294')][_0x477d('0x449')]():_0x1d251c[_0x477d('0xcf')][_0x477d('0x1291')]['toLowerCase']()){case _0x477d('0x9f6'):break;case'dialogflow':var _0x22a6e3=_0x1d251c[_0x477d('0xcf')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x1d251c[_0x477d('0xcf')]['key']=_0x22a6e3[0x0];_0x1d251c[_0x477d('0xcf')][_0x477d('0x1267')]=_0x22a6e3[0x1];_0x1d251c[_0x477d('0xcf')][_0x477d('0x127a')]=_0x22a6e3[_0x477d('0x9cd')](0x2,_0x22a6e3[_0x477d('0x79')])['join'](',');break;case _0x477d('0x127c'):var _0x22a6e3=_0x1d251c[_0x477d('0xcf')]['appdata'][_0x477d('0x472')](',');_0x1d251c['agent'][_0x477d('0x127d')]=_0x22a6e3[0x0];_0x1d251c[_0x477d('0xcf')]['secretaccesskey']=_0x22a6e3[0x1];_0x1d251c[_0x477d('0xcf')][_0x477d('0x127f')]=_0x22a6e3[0x2];_0x1d251c['agent'][_0x477d('0x1283')]=_0x22a6e3[0x3];_0x1d251c[_0x477d('0xcf')][_0x477d('0x127a')]=_0x22a6e3[_0x477d('0x9cd')](0x4,_0x22a6e3[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x1260'):var _0x22a6e3=_0x1d251c[_0x477d('0xcf')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x1d251c['agent'][_0x477d('0x1261')]=isNaN(_0x22a6e3[0x0])?_0x22a6e3[0x0]:parseInt(_0x22a6e3[0x0],0xa);_0x1d251c[_0x477d('0xcf')]['text']=_0x22a6e3[_0x477d('0x9cd')](0x1,_0x22a6e3['length'])[_0x477d('0x3f6')](',');break;case _0x477d('0x452'):_0x1d251c[_0x477d('0xcf')]['text']=_0x1d251c[_0x477d('0xcf')][_0x477d('0x12ae')];break;case'set':_0x1d251c[_0x477d('0xcf')][_0x477d('0x94')]=_0x1d251c['agent'][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x0];_0x1d251c[_0x477d('0xcf')][_0x477d('0x3b6')]=_0x1d251c['agent'][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x1];break;case _0x477d('0x12b0'):_0x1d251c[_0x477d('0xcf')][_0x477d('0xf13')]=_0x1d251c['agent']['appdata'];break;default:var _0x27c4ea=_0x1d251c['agent']['appdata'][_0x477d('0x472')](',');_0x1d251c[_0x477d('0xcf')][_0x477d('0xcf')]=_[_0x477d('0x3b2')](_0x27c4ea[0x0])?_0x27c4ea[0x0]:isNaN(_0x27c4ea[0x0])?_0x27c4ea[0x0]:parseInt(_0x27c4ea[0x0],0xa);_0x1d251c[_0x477d('0xcf')]['timeout']=_[_0x477d('0x3b2')](_0x27c4ea[0x1])?_0x27c4ea[0x1]:isNaN(_0x27c4ea[0x1])?_0x27c4ea[0x1]:parseInt(_0x27c4ea[0x1],0xa);}}else{_0x1d251c[_0x477d('0xcf')]['timeout']=0x1e;}if(_0x1d251c['agent'][_0x477d('0x439')]&&_0x1d251c['agent'][_0x477d('0x439')][_0x477d('0x449')]()===_0x477d('0x127')&&_0x1d251c[_0x477d('0xcf')][_0x477d('0x1294')][_0x477d('0x449')]()==='outbounddial'){_0x1d251c['agent'][_0x477d('0x6c0')]=_0x1d251c[_0x477d('0xcf')][_0x477d('0xf46')]?_0x1d251c['agent']['phone']['split']('$')[0x0]:undefined;_0x1d251c[_0x477d('0xcf')][_0x477d('0x69b')]=_0x1d251c['agent'][_0x477d('0x12b2')]?_0x477d('0x12b3')+_0x1d251c['agent']['callerID']:undefined;}_0x1d251c['saveMailAccountApp']=_0x277057;_0x1d251c[_0x477d('0x6bf')]=_0x1f4c22;_0x4cec48['hasRole'](_0x477d('0x5f'))?_0x2f65c7[_0x477d('0x380')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':'name','nolimit':'true','role':'agent'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x6be73e){_0x1d251c[_0x477d('0x125c')]=_0x6be73e['rows']||[];})['catch'](function(_0x82f4df){_0x296ec8[_0x477d('0x44a')]({'title':_0x82f4df[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x82f4df[_0x477d('0x3c3')]+'\x20-\x20'+_0x82f4df[_0x477d('0x44d')]:_0x477d('0x11f6'),'msg':_0x82f4df['data']?JSON[_0x477d('0x3fb')](_0x82f4df[_0x477d('0x451')]):_0x82f4df[_0x477d('0x453')]()});}):_0x2f65c7[_0x477d('0x380')]['get']({'fields':_0x477d('0x9c'),'sort':'name','nolimit':_0x477d('0x2ee'),'role':'agent'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x42c902){_0x1d251c['agents']=_0x42c902[_0x477d('0xf2')]||[];})['then'](function(){return _0x2f65c7['userProfileSection']['get']({'userProfileId':_0x1d251c[_0x477d('0x3e5')]['userProfileId'],'sectionId':0xca})[_0x477d('0x38b')];})['then'](function(_0x570b46){var _0x11a50d=_0x570b46&&_0x570b46[_0x477d('0xf2')]?_0x570b46['rows'][0x0]:null;if(!_0x11a50d){var _0x4ab729=[];var _0x43b8ad=null;if(_0x1d251c[_0x477d('0xcf')]){_0x43b8ad=_[_0x477d('0x10a')](_0x1d251c[_0x477d('0x125c')],{'name':_0x1d251c[_0x477d('0xcf')][_0x477d('0xcf')]});}for(var _0x3c8ee5=0x0;_0x3c8ee5<_0x1d251c[_0x477d('0x125c')][_0x477d('0x79')];_0x3c8ee5++){if(_0x43b8ad&&_0x1d251c[_0x477d('0x125c')][_0x3c8ee5]['id']===_0x43b8ad['id']){_0x1d251c[_0x477d('0x125c')][_0x3c8ee5][_0x477d('0xf8b')]=![];_0x4ab729[_0x477d('0x3a7')](_0x1d251c[_0x477d('0x125c')][_0x3c8ee5]);}}_0x1d251c['agents']=_0x4ab729;}else{if(!_0x11a50d['autoAssociation']){return _0x2f65c7[_0x477d('0x3ae')]['get']({'sectionId':_0x11a50d['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x5bc439){var _0x449883=_[_0x477d('0x3cb')](_0x5bc439['rows'],function(_0x174575){return _[_0x477d('0x10a')](_0x1d251c['agents'],{'id':_0x174575[_0x477d('0x3af')]});});var _0x24048=null;if(_0x1d251c[_0x477d('0xcf')]){_0x24048=_[_0x477d('0x10a')](_0x1d251c[_0x477d('0x125c')],{'name':_0x1d251c['agent']['agent']});}if(_0x24048&&!_[_0x477d('0x3ab')](_0x449883,['id',_0x24048['id']])){var _0x1e1828=_[_0x477d('0x10a')](_0x1d251c[_0x477d('0x125c')],{'id':_0x24048['id']});_0x1e1828['canSelect']=![];_0x449883[_0x477d('0x3a7')](_0x1e1828);}_0x1d251c['agents']=_0x449883;});}}})[_0x477d('0xf8')](function(_0x376ec9){_0x296ec8['error']({'title':_0x376ec9['status']?_0x477d('0x44b')+_0x376ec9[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x376ec9[_0x477d('0x44d')]:_0x477d('0x12b4'),'msg':_0x376ec9[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x376ec9['data']):_0x376ec9[_0x477d('0x453')]()});});function _0x277057(){_0x1d251c['errors']=[];var _0x208cf3=[];if(_0x1d251c['agent'][_0x477d('0x439')]&&_0x1d251c[_0x477d('0xcf')][_0x477d('0x439')][_0x477d('0x449')]()===_0x477d('0x127')&&_0x1d251c[_0x477d('0xcf')][_0x477d('0x1294')]===_0x477d('0x12b5')){_0x1d251c[_0x477d('0xcf')][_0x477d('0xf46')]=_0x38be66[_0x477d('0x12b6')]?(_0x1d251c[_0x477d('0xcf')][_0x477d('0x6c0')]||'')+_0x477d('0x12b7')+_0x38be66[_0x477d('0x12b6')]+'}':(_0x1d251c['agent'][_0x477d('0x6c0')]||'')+_0x477d('0x12b8');if(_0x38be66[_0x477d('0x12b9')]!==_0x477d('0x496')){if(_0x1d251c[_0x477d('0xcf')][_0x477d('0x43c')]['indexOf']('U(xcally-mixmonitor-context)')<0x0){_0x1d251c[_0x477d('0xcf')][_0x477d('0x43c')]+='U(xcally-mixmonitor-context)';}}else{_0x1d251c['agent'][_0x477d('0x43c')]=_0x1d251c[_0x477d('0xcf')][_0x477d('0x43c')]['replace'](_0x477d('0x12ba'),'');}}var _0x34c7b9=_[_0x477d('0x10a')](_0x1d251c[_0x477d('0x125c')],{'name':_0x1d251c[_0x477d('0xcf')]['agent']});if(_0x34c7b9){_0x1d251c[_0x477d('0xcf')][_0x477d('0x125b')]=_0x34c7b9['id'];}if(_0x1d251c[_0x477d('0xcf')]['appType']&&_0x1d251c[_0x477d('0xcf')][_0x477d('0x1294')]===_0x477d('0x9f6')){}else{switch((_0x1d251c[_0x477d('0xcf')][_0x477d('0x1291')]||_0x1d251c[_0x477d('0xcf')][_0x477d('0x1294')])[_0x477d('0x449')]()){case _0x477d('0x12af'):_0x1d251c[_0x477d('0xcf')][_0x477d('0x12ae')]=_0x1d251c[_0x477d('0xcf')][_0x477d('0x94')]+'='+_0x1d251c[_0x477d('0xcf')][_0x477d('0x3b6')];break;case _0x477d('0x9f6'):break;default:_0x208cf3[0x0]=_0x1d251c[_0x477d('0xcf')][_0x477d('0xcf')];_0x208cf3[0x1]=_0x1d251c[_0x477d('0xcf')][_0x477d('0x91b')];_0x1d251c[_0x477d('0xcf')][_0x477d('0x12ae')]=_0x208cf3[_0x477d('0x3f6')](',');}}_0x1f4c22(_0x1d251c[_0x477d('0xcf')]);}function _0x1f4c22(_0x1ad3ad){_0x248c93['hide'](_0x1ad3ad);}}}());(function(){'use strict';_0x361277[_0x477d('0xa')]=[_0x477d('0x384'),'$q',_0x477d('0x40e'),_0x477d('0x1c8b'),_0x477d('0x1775'),_0x477d('0x386'),_0x477d('0x55'),_0x477d('0xd66')];angular[_0x477d('0xb')]('app.mail')[_0x477d('0x3ba')]('EditMailAccountAppautoreplyDialogController',_0x361277);function _0x361277(_0x3b8113,_0xf1a3bb,_0x28b788,_0x50c033,_0x5c846e,_0x13f830,_0x45f38c,_0xf90219){var _0x548c43=this;_0x548c43[_0x477d('0x3e5')]=_0x45f38c[_0x477d('0x5c')]();_0x548c43[_0x477d('0xd67')]=[];_0x548c43[_0x477d('0x49a')]=_0x477d('0x1c8d')+(_0x50c033['appType']||_0x50c033[_0x477d('0x1291')])[_0x477d('0x44f')]();_0x548c43['autoreply']=angular[_0x477d('0x6d9')](_0x50c033);_0x548c43['crudPermissions']=_0xf90219;_0x548c43[_0x477d('0xd68')]={};if(_0x548c43[_0x477d('0x1260')][_0x477d('0x12ae')]){switch(_0x548c43[_0x477d('0x1260')][_0x477d('0x1294')]?_0x548c43[_0x477d('0x1260')][_0x477d('0x1294')][_0x477d('0x449')]():_0x548c43[_0x477d('0x1260')][_0x477d('0x1291')][_0x477d('0x449')]()){case'custom':break;case _0x477d('0x1266'):var _0x2dfc6e=_0x548c43[_0x477d('0x1260')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x548c43[_0x477d('0x1260')][_0x477d('0x670')]=_0x2dfc6e[0x0];_0x548c43[_0x477d('0x1260')][_0x477d('0x1267')]=_0x2dfc6e[0x1];_0x548c43[_0x477d('0x1260')][_0x477d('0x127a')]=_0x2dfc6e['slice'](0x2,_0x2dfc6e[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x127c'):var _0x2dfc6e=_0x548c43[_0x477d('0x1260')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x548c43[_0x477d('0x1260')][_0x477d('0x127d')]=_0x2dfc6e[0x0];_0x548c43['autoreply'][_0x477d('0x127e')]=_0x2dfc6e[0x1];_0x548c43[_0x477d('0x1260')][_0x477d('0x127f')]=_0x2dfc6e[0x2];_0x548c43[_0x477d('0x1260')][_0x477d('0x1283')]=_0x2dfc6e[0x3];_0x548c43[_0x477d('0x1260')][_0x477d('0x127a')]=_0x2dfc6e[_0x477d('0x9cd')](0x4,_0x2dfc6e[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x1260'):var _0x2dfc6e=_0x548c43[_0x477d('0x1260')][_0x477d('0x12ae')]['split'](',');_0x548c43['autoreply'][_0x477d('0x1261')]=isNaN(_0x2dfc6e[0x0])?_0x2dfc6e[0x0]:parseInt(_0x2dfc6e[0x0],0xa);_0x548c43[_0x477d('0x1260')][_0x477d('0x41b')]=_0x2dfc6e[_0x477d('0x9cd')](0x1,_0x2dfc6e[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x452'):_0x548c43['autoreply'][_0x477d('0x41b')]=_0x548c43['autoreply'][_0x477d('0x12ae')];break;case'set':_0x548c43[_0x477d('0x1260')][_0x477d('0x94')]=_0x548c43[_0x477d('0x1260')][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x0];_0x548c43[_0x477d('0x1260')][_0x477d('0x3b6')]=_0x548c43[_0x477d('0x1260')][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x1];break;case _0x477d('0x12b0'):_0x548c43[_0x477d('0x1260')][_0x477d('0xf13')]=_0x548c43['autoreply'][_0x477d('0x12ae')];break;default:var _0x2096e5=_0x548c43[_0x477d('0x1260')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x548c43[_0x477d('0x1260')][_0x477d('0x1261')]=_[_0x477d('0x3b2')](_0x2096e5[0x0])?_0x2096e5[0x0]:isNaN(_0x2096e5[0x0])?_0x2096e5[0x0]:parseInt(_0x2096e5[0x0],0xa);_0x548c43[_0x477d('0x1260')]['text']=_['isEmpty'](_0x2096e5[0x1])?_0x2096e5[0x1]:isNaN(_0x2096e5[0x1])?_0x2096e5[0x1]:parseInt(_0x2096e5[0x1],0xa);}}else{_0x548c43[_0x477d('0x1260')][_0x477d('0x1261')]=0x1;}if(_0x548c43[_0x477d('0x1260')][_0x477d('0x439')]&&_0x548c43[_0x477d('0x1260')]['type'][_0x477d('0x449')]()==='outbound'&&_0x548c43[_0x477d('0x1260')][_0x477d('0x1294')][_0x477d('0x449')]()===_0x477d('0x12b1')){_0x548c43[_0x477d('0x1260')][_0x477d('0x6c0')]=_0x548c43[_0x477d('0x1260')][_0x477d('0xf46')]?_0x548c43[_0x477d('0x1260')]['phone'][_0x477d('0x472')]('$')[0x0]:undefined;_0x548c43[_0x477d('0x1260')]['callerId']=_0x548c43[_0x477d('0x1260')]['callerID']?_0x477d('0x12b3')+_0x548c43[_0x477d('0x1260')]['callerID']:undefined;}_0x548c43[_0x477d('0x1c8e')]=_0x3b6371;_0x548c43['closeDialog']=_0x1b7c34;function _0x3b6371(){_0x548c43[_0x477d('0xd67')]=[];var _0xbc481e=[];if(_0x548c43['autoreply'][_0x477d('0x439')]&&_0x548c43['autoreply'][_0x477d('0x439')][_0x477d('0x449')]()===_0x477d('0x127')&&_0x548c43[_0x477d('0x1260')][_0x477d('0x1294')]==='outboundDial'){_0x548c43[_0x477d('0x1260')][_0x477d('0xf46')]=_0x5c846e[_0x477d('0x12b6')]?(_0x548c43[_0x477d('0x1260')][_0x477d('0x6c0')]||'')+'${EXTEN:'+_0x5c846e['cutdigits']+'}':(_0x548c43[_0x477d('0x1260')][_0x477d('0x6c0')]||'')+_0x477d('0x12b8');if(_0x5c846e[_0x477d('0x12b9')]!==_0x477d('0x496')){if(_0x548c43[_0x477d('0x1260')][_0x477d('0x43c')][_0x477d('0x477')](_0x477d('0x12ba'))<0x0){_0x548c43[_0x477d('0x1260')][_0x477d('0x43c')]+=_0x477d('0x12ba');}}else{_0x548c43[_0x477d('0x1260')]['options']=_0x548c43['autoreply'][_0x477d('0x43c')][_0x477d('0x409')](_0x477d('0x12ba'),'');}}if(_0x548c43[_0x477d('0x1260')][_0x477d('0x1294')]&&_0x548c43[_0x477d('0x1260')]['appType']===_0x477d('0x9f6')){}else{switch((_0x548c43['autoreply'][_0x477d('0x1291')]||_0x548c43[_0x477d('0x1260')][_0x477d('0x1294')])[_0x477d('0x449')]()){case _0x477d('0x12af'):_0x548c43[_0x477d('0x1260')][_0x477d('0x12ae')]=_0x548c43[_0x477d('0x1260')][_0x477d('0x94')]+'='+_0x548c43[_0x477d('0x1260')][_0x477d('0x3b6')];break;case _0x477d('0x9f6'):break;default:_0xbc481e[0x0]=_0x548c43[_0x477d('0x1260')][_0x477d('0x1261')];_0xbc481e[0x1]=_0x548c43[_0x477d('0x1260')]['text'];_0x548c43[_0x477d('0x1260')][_0x477d('0x12ae')]=_0xbc481e[_0x477d('0x3f6')](',');}}_0x1b7c34(_0x548c43['autoreply']);}function _0x1b7c34(_0x57dda5){_0x3b8113[_0x477d('0x3bc')](_0x57dda5);}}}());(function(){'use strict';_0x10a267['$inject']=[_0x477d('0x384'),'$q','toasty','mailAccountApp',_0x477d('0x1775'),'api',_0x477d('0x55'),_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x31'))[_0x477d('0x3ba')](_0x477d('0x1c8f'),_0x10a267);function _0x10a267(_0x590a50,_0x222a31,_0x126178,_0x22d6e5,_0x4bb810,_0x3caefc,_0x4edfa4,_0x252f2a){var _0x2f47a7=this;_0x2f47a7[_0x477d('0x3e5')]=_0x4edfa4[_0x477d('0x5c')]();_0x2f47a7['errors']=[];_0x2f47a7['title']=_0x477d('0x1c8d')+(_0x22d6e5[_0x477d('0x1294')]||_0x22d6e5[_0x477d('0x1291')])[_0x477d('0x44f')]();_0x2f47a7[_0x477d('0x539')]=angular[_0x477d('0x6d9')](_0x22d6e5);_0x2f47a7['crudPermissions']=_0x252f2a;_0x2f47a7['hasModulePermissions']={};if(_0x2f47a7[_0x477d('0x539')][_0x477d('0x12ae')]){switch(_0x2f47a7[_0x477d('0x539')]['appType']?_0x2f47a7[_0x477d('0x539')][_0x477d('0x1294')][_0x477d('0x449')]():_0x2f47a7[_0x477d('0x539')][_0x477d('0x1291')][_0x477d('0x449')]()){case'custom':break;case _0x477d('0x1266'):var _0x251494=_0x2f47a7['close']['appdata'][_0x477d('0x472')](',');_0x2f47a7[_0x477d('0x539')][_0x477d('0x670')]=_0x251494[0x0];_0x2f47a7[_0x477d('0x539')][_0x477d('0x1267')]=_0x251494[0x1];_0x2f47a7[_0x477d('0x539')][_0x477d('0x127a')]=_0x251494['slice'](0x2,_0x251494[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x127c'):var _0x251494=_0x2f47a7[_0x477d('0x539')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x2f47a7[_0x477d('0x539')]['accesskeyid']=_0x251494[0x0];_0x2f47a7[_0x477d('0x539')][_0x477d('0x127e')]=_0x251494[0x1];_0x2f47a7[_0x477d('0x539')][_0x477d('0x127f')]=_0x251494[0x2];_0x2f47a7[_0x477d('0x539')][_0x477d('0x1283')]=_0x251494[0x3];_0x2f47a7[_0x477d('0x539')]['welcomemessage']=_0x251494[_0x477d('0x9cd')](0x4,_0x251494['length'])[_0x477d('0x3f6')](',');break;case _0x477d('0x1260'):var _0x251494=_0x2f47a7[_0x477d('0x539')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x2f47a7[_0x477d('0x539')][_0x477d('0x1261')]=isNaN(_0x251494[0x0])?_0x251494[0x0]:parseInt(_0x251494[0x0],0xa);_0x2f47a7['close'][_0x477d('0x41b')]=_0x251494[_0x477d('0x9cd')](0x1,_0x251494['length'])['join'](',');break;case'message':_0x2f47a7['close']['text']=_0x2f47a7[_0x477d('0x539')][_0x477d('0x12ae')];break;case _0x477d('0x12af'):_0x2f47a7[_0x477d('0x539')][_0x477d('0x94')]=_0x2f47a7[_0x477d('0x539')][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x0];_0x2f47a7[_0x477d('0x539')][_0x477d('0x3b6')]=_0x2f47a7[_0x477d('0x539')][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x1];break;case'agi':_0x2f47a7[_0x477d('0x539')][_0x477d('0xf13')]=_0x2f47a7['close'][_0x477d('0x12ae')];break;default:var _0x2b47e6=_0x2f47a7[_0x477d('0x539')]['appdata']['split'](',');_0x2f47a7['close']['disposition']=_[_0x477d('0x3b2')](_0x2b47e6[0x0])?_0x2b47e6[0x0]:isNaN(_0x2b47e6[0x0])?_0x2b47e6[0x0]:parseInt(_0x2b47e6[0x0],0xa);}}else{}if(_0x2f47a7['close'][_0x477d('0x439')]&&_0x2f47a7[_0x477d('0x539')][_0x477d('0x439')][_0x477d('0x449')]()==='outbound'&&_0x2f47a7['close'][_0x477d('0x1294')][_0x477d('0x449')]()===_0x477d('0x12b1')){_0x2f47a7[_0x477d('0x539')][_0x477d('0x6c0')]=_0x2f47a7[_0x477d('0x539')][_0x477d('0xf46')]?_0x2f47a7[_0x477d('0x539')][_0x477d('0xf46')][_0x477d('0x472')]('$')[0x0]:undefined;_0x2f47a7[_0x477d('0x539')][_0x477d('0x69b')]=_0x2f47a7[_0x477d('0x539')]['callerID']?_0x477d('0x12b3')+_0x2f47a7[_0x477d('0x539')][_0x477d('0x12b2')]:undefined;}_0x2f47a7[_0x477d('0x1c8e')]=_0x5e0bf8;_0x2f47a7[_0x477d('0x6bf')]=_0x4cf51e;function _0x5e0bf8(){_0x2f47a7['errors']=[];var _0x68f94d=[];if(_0x2f47a7[_0x477d('0x539')][_0x477d('0x439')]&&_0x2f47a7[_0x477d('0x539')][_0x477d('0x439')][_0x477d('0x449')]()==='outbound'&&_0x2f47a7[_0x477d('0x539')]['appType']==='outboundDial'){_0x2f47a7['close'][_0x477d('0xf46')]=_0x4bb810[_0x477d('0x12b6')]?(_0x2f47a7['close']['prefix']||'')+'${EXTEN:'+_0x4bb810[_0x477d('0x12b6')]+'}':(_0x2f47a7[_0x477d('0x539')][_0x477d('0x6c0')]||'')+'${EXTEN}';if(_0x4bb810[_0x477d('0x12b9')]!==_0x477d('0x496')){if(_0x2f47a7['close'][_0x477d('0x43c')][_0x477d('0x477')]('U(xcally-mixmonitor-context)')<0x0){_0x2f47a7['close']['options']+=_0x477d('0x12ba');}}else{_0x2f47a7[_0x477d('0x539')][_0x477d('0x43c')]=_0x2f47a7[_0x477d('0x539')][_0x477d('0x43c')][_0x477d('0x409')](_0x477d('0x12ba'),'');}}if(_0x2f47a7[_0x477d('0x539')]['appType']&&_0x2f47a7['close']['appType']===_0x477d('0x9f6')){}else{switch((_0x2f47a7[_0x477d('0x539')]['app']||_0x2f47a7[_0x477d('0x539')][_0x477d('0x1294')])[_0x477d('0x449')]()){case _0x477d('0x12af'):_0x2f47a7['close'][_0x477d('0x12ae')]=_0x2f47a7[_0x477d('0x539')][_0x477d('0x94')]+'='+_0x2f47a7[_0x477d('0x539')][_0x477d('0x3b6')];break;case'custom':break;default:_0x68f94d[0x0]=_0x2f47a7[_0x477d('0x539')][_0x477d('0xb95')];_0x2f47a7['close']['appdata']=_0x68f94d[_0x477d('0x3f6')](',');}}_0x4cf51e(_0x2f47a7[_0x477d('0x539')]);}function _0x4cf51e(_0x3ee0be){_0x590a50[_0x477d('0x3bc')](_0x3ee0be);}}}());(function(){'use strict';_0x440017[_0x477d('0xa')]=[_0x477d('0x384'),'$q',_0x477d('0x40e'),_0x477d('0x1c8b'),'mailAccount',_0x477d('0x386'),_0x477d('0x55'),_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x31'))[_0x477d('0x3ba')](_0x477d('0x1c90'),_0x440017);function _0x440017(_0x17eaf6,_0x248405,_0x51b786,_0x2f0256,_0x4eec19,_0x392909,_0x556389,_0x4a1604){var _0x1374fe=this;_0x1374fe['currentUser']=_0x556389[_0x477d('0x5c')]();_0x1374fe[_0x477d('0xd67')]=[];_0x1374fe['title']=_0x477d('0x1c8d')+(_0x2f0256[_0x477d('0x1294')]||_0x2f0256['app'])[_0x477d('0x44f')]();_0x1374fe[_0x477d('0x1252')]=angular[_0x477d('0x6d9')](_0x2f0256);_0x1374fe[_0x477d('0xd66')]=_0x4a1604;_0x1374fe[_0x477d('0xd68')]={};if(_0x1374fe['gotoif'][_0x477d('0x12ae')]){switch(_0x1374fe[_0x477d('0x1252')][_0x477d('0x1294')]?_0x1374fe[_0x477d('0x1252')][_0x477d('0x1294')][_0x477d('0x449')]():_0x1374fe['gotoif'][_0x477d('0x1291')]['toLowerCase']()){case'custom':break;case _0x477d('0x1266'):var _0x27586c=_0x1374fe[_0x477d('0x1252')][_0x477d('0x12ae')]['split'](',');_0x1374fe['gotoif']['key']=_0x27586c[0x0];_0x1374fe[_0x477d('0x1252')]['language']=_0x27586c[0x1];_0x1374fe['gotoif'][_0x477d('0x127a')]=_0x27586c[_0x477d('0x9cd')](0x2,_0x27586c[_0x477d('0x79')])['join'](',');break;case'amazonlex':var _0x27586c=_0x1374fe[_0x477d('0x1252')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x1374fe[_0x477d('0x1252')]['accesskeyid']=_0x27586c[0x0];_0x1374fe[_0x477d('0x1252')][_0x477d('0x127e')]=_0x27586c[0x1];_0x1374fe[_0x477d('0x1252')]['lexregion']=_0x27586c[0x2];_0x1374fe[_0x477d('0x1252')][_0x477d('0x1283')]=_0x27586c[0x3];_0x1374fe[_0x477d('0x1252')][_0x477d('0x127a')]=_0x27586c['slice'](0x4,_0x27586c[_0x477d('0x79')])['join'](',');break;case _0x477d('0x1260'):var _0x27586c=_0x1374fe[_0x477d('0x1252')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x1374fe[_0x477d('0x1252')][_0x477d('0x1261')]=isNaN(_0x27586c[0x0])?_0x27586c[0x0]:parseInt(_0x27586c[0x0],0xa);_0x1374fe[_0x477d('0x1252')]['text']=_0x27586c[_0x477d('0x9cd')](0x1,_0x27586c[_0x477d('0x79')])['join'](',');break;case _0x477d('0x452'):_0x1374fe[_0x477d('0x1252')][_0x477d('0x41b')]=_0x1374fe[_0x477d('0x1252')][_0x477d('0x12ae')];break;case _0x477d('0x12af'):_0x1374fe[_0x477d('0x1252')]['name']=_0x1374fe['gotoif'][_0x477d('0x12ae')]['split']('=')[0x0];_0x1374fe['gotoif'][_0x477d('0x3b6')]=_0x1374fe[_0x477d('0x1252')][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x1];break;case'agi':_0x1374fe[_0x477d('0x1252')][_0x477d('0xf13')]=_0x1374fe[_0x477d('0x1252')][_0x477d('0x12ae')];break;default:var _0x37d915=_0x1374fe[_0x477d('0x1252')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x1374fe[_0x477d('0x1252')][_0x477d('0xb98')]=_[_0x477d('0x3b2')](_0x37d915[0x0])?_0x37d915[0x0]:isNaN(_0x37d915[0x0])?_0x37d915[0x0]:parseInt(_0x37d915[0x0],0xa);_0x1374fe[_0x477d('0x1252')][_0x477d('0x1254')]=_[_0x477d('0x3b2')](_0x37d915[0x1])?_0x37d915[0x1]:isNaN(_0x37d915[0x1])?_0x37d915[0x1]:parseInt(_0x37d915[0x1],0xa);_0x1374fe[_0x477d('0x1252')][_0x477d('0x1255')]=_[_0x477d('0x3b2')](_0x37d915[0x2])?_0x37d915[0x2]:isNaN(_0x37d915[0x2])?_0x37d915[0x2]:parseInt(_0x37d915[0x2],0xa);}}else{}if(_0x1374fe['gotoif'][_0x477d('0x439')]&&_0x1374fe['gotoif'][_0x477d('0x439')][_0x477d('0x449')]()===_0x477d('0x127')&&_0x1374fe[_0x477d('0x1252')][_0x477d('0x1294')][_0x477d('0x449')]()===_0x477d('0x12b1')){_0x1374fe[_0x477d('0x1252')]['prefix']=_0x1374fe['gotoif'][_0x477d('0xf46')]?_0x1374fe[_0x477d('0x1252')][_0x477d('0xf46')]['split']('$')[0x0]:undefined;_0x1374fe[_0x477d('0x1252')][_0x477d('0x69b')]=_0x1374fe[_0x477d('0x1252')][_0x477d('0x12b2')]?_0x477d('0x12b3')+_0x1374fe[_0x477d('0x1252')][_0x477d('0x12b2')]:undefined;}_0x1374fe[_0x477d('0x1c8e')]=_0x3314ac;_0x1374fe[_0x477d('0x6bf')]=_0x4374b8;function _0x3314ac(){_0x1374fe[_0x477d('0xd67')]=[];var _0xeb9cc9=[];if(_0x1374fe[_0x477d('0x1252')][_0x477d('0x439')]&&_0x1374fe[_0x477d('0x1252')][_0x477d('0x439')][_0x477d('0x449')]()===_0x477d('0x127')&&_0x1374fe[_0x477d('0x1252')]['appType']==='outboundDial'){_0x1374fe[_0x477d('0x1252')][_0x477d('0xf46')]=_0x4eec19['cutdigits']?(_0x1374fe[_0x477d('0x1252')][_0x477d('0x6c0')]||'')+_0x477d('0x12b7')+_0x4eec19['cutdigits']+'}':(_0x1374fe[_0x477d('0x1252')][_0x477d('0x6c0')]||'')+_0x477d('0x12b8');if(_0x4eec19[_0x477d('0x12b9')]!==_0x477d('0x496')){if(_0x1374fe[_0x477d('0x1252')][_0x477d('0x43c')][_0x477d('0x477')](_0x477d('0x12ba'))<0x0){_0x1374fe['gotoif']['options']+=_0x477d('0x12ba');}}else{_0x1374fe['gotoif'][_0x477d('0x43c')]=_0x1374fe[_0x477d('0x1252')]['options'][_0x477d('0x409')](_0x477d('0x12ba'),'');}}if(_0x1374fe[_0x477d('0x1252')][_0x477d('0x1294')]&&_0x1374fe[_0x477d('0x1252')][_0x477d('0x1294')]===_0x477d('0x9f6')){}else{switch((_0x1374fe['gotoif']['app']||_0x1374fe['gotoif'][_0x477d('0x1294')])[_0x477d('0x449')]()){case'set':_0x1374fe['gotoif'][_0x477d('0x12ae')]=_0x1374fe[_0x477d('0x1252')][_0x477d('0x94')]+'='+_0x1374fe[_0x477d('0x1252')][_0x477d('0x3b6')];break;case _0x477d('0x9f6'):break;default:_0xeb9cc9[0x0]=_0x1374fe[_0x477d('0x1252')][_0x477d('0xb98')];_0xeb9cc9[0x1]=_0x1374fe[_0x477d('0x1252')][_0x477d('0x1254')];_0xeb9cc9[0x2]=_0x1374fe[_0x477d('0x1252')]['falsepriority'];_0x1374fe['gotoif'][_0x477d('0x12ae')]=_0xeb9cc9[_0x477d('0x3f6')](',');}}_0x4374b8(_0x1374fe[_0x477d('0x1252')]);}function _0x4374b8(_0x55382a){_0x17eaf6[_0x477d('0x3bc')](_0x55382a);}}}());(function(){'use strict';_0xe24277['$inject']=[_0x477d('0x384'),'$q',_0x477d('0x40e'),_0x477d('0x1c8b'),_0x477d('0x1775'),_0x477d('0x386'),'Auth',_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x31'))[_0x477d('0x3ba')](_0x477d('0x1c91'),_0xe24277);function _0xe24277(_0x49ecbb,_0x29ccea,_0x173740,_0x2852fc,_0x556251,_0x5587d7,_0xb2fde9,_0x321894){var _0x138f97=this;_0x138f97['currentUser']=_0xb2fde9[_0x477d('0x5c')]();_0x138f97[_0x477d('0xd67')]=[];_0x138f97[_0x477d('0x49a')]=_0x477d('0x1c8d')+(_0x2852fc[_0x477d('0x1294')]||_0x2852fc[_0x477d('0x1291')])[_0x477d('0x44f')]();_0x138f97[_0x477d('0x124f')]=angular[_0x477d('0x6d9')](_0x2852fc);_0x138f97['crudPermissions']=_0x321894;_0x138f97[_0x477d('0xd68')]={};if(_0x138f97['gotop'][_0x477d('0x12ae')]){switch(_0x138f97[_0x477d('0x124f')][_0x477d('0x1294')]?_0x138f97[_0x477d('0x124f')][_0x477d('0x1294')][_0x477d('0x449')]():_0x138f97[_0x477d('0x124f')]['app'][_0x477d('0x449')]()){case _0x477d('0x9f6'):break;case _0x477d('0x1266'):var _0x1b1526=_0x138f97[_0x477d('0x124f')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x138f97['gotop']['key']=_0x1b1526[0x0];_0x138f97[_0x477d('0x124f')]['language']=_0x1b1526[0x1];_0x138f97[_0x477d('0x124f')][_0x477d('0x127a')]=_0x1b1526['slice'](0x2,_0x1b1526[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x127c'):var _0x1b1526=_0x138f97[_0x477d('0x124f')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x138f97[_0x477d('0x124f')][_0x477d('0x127d')]=_0x1b1526[0x0];_0x138f97[_0x477d('0x124f')][_0x477d('0x127e')]=_0x1b1526[0x1];_0x138f97['gotop'][_0x477d('0x127f')]=_0x1b1526[0x2];_0x138f97[_0x477d('0x124f')][_0x477d('0x1283')]=_0x1b1526[0x3];_0x138f97[_0x477d('0x124f')][_0x477d('0x127a')]=_0x1b1526['slice'](0x4,_0x1b1526['length'])['join'](',');break;case _0x477d('0x1260'):var _0x1b1526=_0x138f97[_0x477d('0x124f')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x138f97['gotop']['times']=isNaN(_0x1b1526[0x0])?_0x1b1526[0x0]:parseInt(_0x1b1526[0x0],0xa);_0x138f97[_0x477d('0x124f')][_0x477d('0x41b')]=_0x1b1526[_0x477d('0x9cd')](0x1,_0x1b1526['length'])[_0x477d('0x3f6')](',');break;case _0x477d('0x452'):_0x138f97[_0x477d('0x124f')][_0x477d('0x41b')]=_0x138f97[_0x477d('0x124f')][_0x477d('0x12ae')];break;case _0x477d('0x12af'):_0x138f97[_0x477d('0x124f')][_0x477d('0x94')]=_0x138f97[_0x477d('0x124f')]['appdata'][_0x477d('0x472')]('=')[0x0];_0x138f97[_0x477d('0x124f')]['value']=_0x138f97[_0x477d('0x124f')][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x1];break;case _0x477d('0x12b0'):_0x138f97['gotop']['project']=_0x138f97['gotop'][_0x477d('0x12ae')];break;default:var _0x346344=_0x138f97[_0x477d('0x124f')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x138f97[_0x477d('0x124f')]['priority']=_[_0x477d('0x3b2')](_0x346344[0x0])?_0x346344[0x0]:isNaN(_0x346344[0x0])?_0x346344[0x0]:parseInt(_0x346344[0x0],0xa);}}else{}if(_0x138f97[_0x477d('0x124f')][_0x477d('0x439')]&&_0x138f97[_0x477d('0x124f')][_0x477d('0x439')][_0x477d('0x449')]()===_0x477d('0x127')&&_0x138f97[_0x477d('0x124f')][_0x477d('0x1294')][_0x477d('0x449')]()===_0x477d('0x12b1')){_0x138f97[_0x477d('0x124f')]['prefix']=_0x138f97[_0x477d('0x124f')][_0x477d('0xf46')]?_0x138f97[_0x477d('0x124f')][_0x477d('0xf46')][_0x477d('0x472')]('$')[0x0]:undefined;_0x138f97['gotop']['callerId']=_0x138f97[_0x477d('0x124f')][_0x477d('0x12b2')]?_0x477d('0x12b3')+_0x138f97[_0x477d('0x124f')][_0x477d('0x12b2')]:undefined;}_0x138f97[_0x477d('0x1c8e')]=_0xedab47;_0x138f97[_0x477d('0x6bf')]=_0xfbc84;function _0xedab47(){_0x138f97[_0x477d('0xd67')]=[];var _0x4cf1ed=[];if(_0x138f97['gotop'][_0x477d('0x439')]&&_0x138f97['gotop'][_0x477d('0x439')][_0x477d('0x449')]()===_0x477d('0x127')&&_0x138f97[_0x477d('0x124f')][_0x477d('0x1294')]===_0x477d('0x12b5')){_0x138f97[_0x477d('0x124f')]['phone']=_0x556251[_0x477d('0x12b6')]?(_0x138f97[_0x477d('0x124f')]['prefix']||'')+'${EXTEN:'+_0x556251[_0x477d('0x12b6')]+'}':(_0x138f97[_0x477d('0x124f')][_0x477d('0x6c0')]||'')+'${EXTEN}';if(_0x556251['recordingFormat']!==_0x477d('0x496')){if(_0x138f97[_0x477d('0x124f')]['options'][_0x477d('0x477')](_0x477d('0x12ba'))<0x0){_0x138f97[_0x477d('0x124f')][_0x477d('0x43c')]+=_0x477d('0x12ba');}}else{_0x138f97[_0x477d('0x124f')]['options']=_0x138f97[_0x477d('0x124f')][_0x477d('0x43c')]['replace'](_0x477d('0x12ba'),'');}}if(_0x138f97[_0x477d('0x124f')][_0x477d('0x1294')]&&_0x138f97[_0x477d('0x124f')][_0x477d('0x1294')]===_0x477d('0x9f6')){}else{switch((_0x138f97['gotop'][_0x477d('0x1291')]||_0x138f97['gotop'][_0x477d('0x1294')])['toLowerCase']()){case _0x477d('0x12af'):_0x138f97[_0x477d('0x124f')][_0x477d('0x12ae')]=_0x138f97[_0x477d('0x124f')][_0x477d('0x94')]+'='+_0x138f97[_0x477d('0x124f')]['value'];break;case'custom':break;default:_0x4cf1ed[0x0]=_0x138f97[_0x477d('0x124f')][_0x477d('0x1243')];_0x138f97[_0x477d('0x124f')][_0x477d('0x12ae')]=_0x4cf1ed[_0x477d('0x3f6')](',');}}_0xfbc84(_0x138f97[_0x477d('0x124f')]);}function _0xfbc84(_0x116131){_0x49ecbb[_0x477d('0x3bc')](_0x116131);}}}());(function(){'use strict';_0x438792[_0x477d('0xa')]=[_0x477d('0x3c4'),_0x477d('0x384'),_0x477d('0x6d3'),'IndexFactory',_0x477d('0x79c'),_0x477d('0x1298'),'toasty',_0x477d('0x386'),_0x477d('0x55'),'crudPermissions'];angular['module']('app.voice')[_0x477d('0x3ba')](_0x477d('0x1c87'),_0x438792);function _0x438792(_0x3d7fa3,_0x5757a1,_0x14f0ff,_0x14303e,_0x48c9d6,_0x17a0d9,_0x5a5285,_0x3f4a78,_0x5ec6ad,_0xbfcc75){var _0x38849e=this;_0x38849e[_0x477d('0x3e5')]=_0x5ec6ad[_0x477d('0x5c')]();_0x38849e[_0x477d('0xd67')]=[];_0x38849e['title']=_0x477d('0x12be');_0x38849e['interval']=angular[_0x477d('0x6d9')](_0x48c9d6);_0x38849e[_0x477d('0x1298')]=_0x17a0d9;_0x38849e['newInterval']=![];_0x38849e[_0x477d('0x12c0')]=[_0x477d('0x1247'),'custom',_0x477d('0xa02')];_0x38849e[_0x477d('0xd66')]=_0xbfcc75;_0x38849e[_0x477d('0x12c1')]=_0x14303e[_0x477d('0x12c2')]();_0x38849e[_0x477d('0x12c3')]=_0x14303e[_0x477d('0x12c4')]();_0x38849e['monthName']=_0x14303e[_0x477d('0x192f')]();_0x38849e[_0x477d('0x12c6')]=_0x14303e[_0x477d('0x12c7')]();if(!_0x38849e[_0x477d('0x79c')]){_0x38849e[_0x477d('0x79c')]={'interval':_0x477d('0x1249')};_0x38849e['type']=_0x477d('0x1247');_0x38849e['title']=_0x477d('0x1930');_0x38849e[_0x477d('0x12bf')]=!![];}else{if(_0x38849e[_0x477d('0x79c')]['interval']!==_0x477d('0x1249')){_0x38849e[_0x477d('0x439')]=_0x477d('0x9f6');var _0x369a49=_0x38849e[_0x477d('0x79c')]['interval']['split'](',');var _0x201e37=_0x369a49[0x0];var _0xac713a=_0x369a49[0x1];var _0x296a22=_0x369a49[0x2];var _0x2d5a2e=_0x369a49[0x3];if(_0x201e37!=='*'){var _0x2a589f=_0x201e37[_0x477d('0x472')]('-')[0x0];var _0xa16bd4=_0x201e37[_0x477d('0x472')]('-')[0x1];var _0x2c8c33;_0x2c8c33=new Date();_0x2c8c33['setHours'](Number(_0x2a589f[_0x477d('0x472')](':')[0x0]));_0x2c8c33[_0x477d('0x12c9')](Number(_0x2a589f[_0x477d('0x472')](':')[0x1]));_0x38849e[_0x477d('0x12d1')]=_0x2c8c33;_0x2c8c33=new Date();_0x2c8c33[_0x477d('0x12c8')](Number(_0xa16bd4[_0x477d('0x472')](':')[0x0]));_0x2c8c33['setMinutes'](Number(_0xa16bd4['split'](':')[0x1]));_0x38849e[_0x477d('0x12ca')]=_0x2c8c33;}if(_0xac713a!=='*'){_0x38849e[_0x477d('0x12d4')]=_0xac713a[_0x477d('0x472')]('-')[0x0];_0x38849e[_0x477d('0x12cb')]=_0xac713a[_0x477d('0x472')]('-')[0x1];}if(_0x296a22!=='*'){_0x38849e[_0x477d('0x12d5')]=_0x296a22[_0x477d('0x472')]('-')[0x0];_0x38849e[_0x477d('0x12d6')]=_0x296a22[_0x477d('0x472')]('-')[0x1];}if(_0x2d5a2e!=='*'){_0x38849e[_0x477d('0x12cc')]=_0x2d5a2e['split']('-')[0x0];_0x38849e[_0x477d('0x12cd')]=_0x2d5a2e[_0x477d('0x472')]('-')[0x1];}}else{_0x38849e['type']='always';}}if(_0x3d7fa3[_0x477d('0x37e')]['id']&&!_0x38849e[_0x477d('0x79c')]['application']){_0x38849e['interval']['IntervalId']=_0x3d7fa3[_0x477d('0x37e')]['id'];}if(_0x38849e[_0x477d('0x79c')][_0x477d('0xf8c')]&&_0x38849e[_0x477d('0x79c')][_0x477d('0xf55')]){_0x38849e[_0x477d('0x439')]=_0x477d('0xa02');}_0x38849e[_0x477d('0x12ce')]=_0xc4119a;_0x38849e[_0x477d('0x1931')]=_0x171f8d;_0x38849e[_0x477d('0x6bf')]=_0x270294;if(_0x38849e[_0x477d('0x79c')][_0x477d('0xf55')]){_0x5ec6ad[_0x477d('0x56')]('admin')?_0x3f4a78[_0x477d('0x79c')][_0x477d('0x376')]({'fields':'id,name,interval,IntervalId','IntervalId':_0x477d('0xea'),'nolimit':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x50896a){_0x38849e[_0x477d('0x1298')]=_0x50896a[_0x477d('0xf2')]||[];})['catch'](function(_0x52b3ea){_0x5a5285[_0x477d('0x44a')]({'title':_0x52b3ea['status']?'API:'+_0x52b3ea[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x52b3ea[_0x477d('0x44d')]:_0x477d('0x12d0'),'msg':_0x52b3ea[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x52b3ea[_0x477d('0x451')]):_0x52b3ea[_0x477d('0x453')]()});}):_0x3f4a78[_0x477d('0x79c')][_0x477d('0x376')]({'fields':_0x477d('0x12cf'),'IntervalId':_0x477d('0xea'),'nolimit':!![]})[_0x477d('0x38b')]['then'](function(_0x1f0da7){_0x38849e[_0x477d('0x1298')]=_0x1f0da7[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x3f4a78[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x38849e[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x3ec})[_0x477d('0x38b')];})['then'](function(_0xd60ffc){var _0x4bf851=_0xd60ffc&&_0xd60ffc[_0x477d('0xf2')]?_0xd60ffc['rows'][0x0]:null;if(!_0x4bf851){_0x38849e[_0x477d('0x1298')]=[];}else{if(!_0x4bf851[_0x477d('0x3ad')]){return _0x3f4a78['userProfileResource'][_0x477d('0x376')]({'sectionId':_0x4bf851['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x4091fc){var _0x3f0f7d=_0x4091fc&&_0x4091fc[_0x477d('0xf2')]?_0x4091fc[_0x477d('0xf2')]:[];var _0x407203=[];var _0x759544=null;if(_0x38849e[_0x477d('0x79c')]){_0x759544=_[_0x477d('0x10a')](_0x38849e[_0x477d('0x1298')],{'name':_0x38849e[_0x477d('0x79c')][_0x477d('0xf8c')]});}if(_0x759544&&!_[_0x477d('0x3ab')](_0x3f0f7d,['resourceId',_0x759544['id']])){_0x38849e[_0x477d('0x1298')][_0x477d('0x3b1')](function(_0x56dd6f){if(_0x56dd6f['id']===_0x759544['id']){_0x56dd6f[_0x477d('0xf8b')]=![];_0x407203[_0x477d('0x3a7')](_0x56dd6f);}});}_0x38849e['intervals']=_0x407203;});}}})[_0x477d('0xf8')](function(_0x19ab0b){_0x5a5285['error']({'title':_0x19ab0b[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x19ab0b['status']+_0x477d('0x44c')+_0x19ab0b[_0x477d('0x44d')]:'SYSTEM:GET_INTERVALS','msg':_0x19ab0b['data']?JSON[_0x477d('0x3fb')](_0x19ab0b[_0x477d('0x451')]):_0x19ab0b[_0x477d('0x453')]()});});}function _0x1d6b36(){switch(_0x38849e['type']){case _0x477d('0x1247'):case'list':return'*,*,*,*';case _0x477d('0x9f6'):var _0x2fe019=[];if(_0x38849e[_0x477d('0x12d1')]!=='*'&&_0x38849e['timeRangeFrom']&&_0x38849e[_0x477d('0x12ca')]){var _0x1b12f7=(_0x38849e[_0x477d('0x12d1')][_0x477d('0x12d2')]()<0xa?'0':'')+_0x38849e[_0x477d('0x12d1')]['getHours']()+':'+((_0x38849e['timeRangeFrom'][_0x477d('0x12d3')]()<0xa?'0':'')+_0x38849e[_0x477d('0x12d1')][_0x477d('0x12d3')]());var _0x4a7e8d=(_0x38849e['timeRangeTo'][_0x477d('0x12d2')]()<0xa?'0':'')+_0x38849e[_0x477d('0x12ca')][_0x477d('0x12d2')]()+':'+((_0x38849e[_0x477d('0x12ca')][_0x477d('0x12d3')]()<0xa?'0':'')+_0x38849e[_0x477d('0x12ca')][_0x477d('0x12d3')]());_0x2fe019[_0x477d('0x3a7')](_0x1b12f7+'-'+_0x4a7e8d);}else{_0x2fe019[_0x477d('0x3a7')]('*');}if(_0x38849e['dayOfWeekFrom']){if(_0x38849e[_0x477d('0x12cb')]){_0x2fe019['push'](_0x38849e[_0x477d('0x12d4')]+'-'+_0x38849e[_0x477d('0x12cb')]);}else{_0x2fe019[_0x477d('0x3a7')](_0x38849e[_0x477d('0x12d4')]);}}else{_0x2fe019['push']('*');}if(_0x38849e[_0x477d('0x12d5')]){if(_0x38849e[_0x477d('0x12d6')]){_0x2fe019[_0x477d('0x3a7')](_0x38849e[_0x477d('0x12d5')]+'-'+_0x38849e[_0x477d('0x12d6')]);}else{_0x2fe019['push'](_0x38849e['monthDayFrom']);}}else{_0x2fe019['push']('*');}if(_0x38849e[_0x477d('0x12cc')]){if(_0x38849e[_0x477d('0x12cd')]){_0x2fe019[_0x477d('0x3a7')](_0x38849e[_0x477d('0x12cc')]+'-'+_0x38849e[_0x477d('0x12cd')]);}else{_0x2fe019['push'](_0x38849e[_0x477d('0x12cc')]);}}else{_0x2fe019['push']('*');}return _0x2fe019[_0x477d('0x3f6')]();}}function _0xc4119a(){_0x38849e['errors']=[];_0x38849e[_0x477d('0x79c')][_0x477d('0x79c')]=_0x1d6b36();_0x3f4a78['interval']['save'](_0x38849e[_0x477d('0x79c')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x23155a){_0x38849e['intervals'][_0x477d('0x3a7')](_0x23155a);_0x5a5285[_0x477d('0x485')]({'title':_0x477d('0x12d7'),'msg':_0x38849e['interval'][_0x477d('0x94')]?_0x38849e[_0x477d('0x79c')]['name']+_0x477d('0xd73'):''});_0x270294();})['catch'](function(_0x541680){console[_0x477d('0x44a')](_0x541680);_0x38849e[_0x477d('0xd67')]=_0x541680[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x541680[_0x477d('0x453')](),'type':_0x477d('0x12d8')}];});}function _0x171f8d(){_0x38849e['errors']=[];_0x38849e[_0x477d('0x79c')][_0x477d('0x79c')]=_0x1d6b36();if(_0x38849e[_0x477d('0x79c')][_0x477d('0xf55')]){_0x38849e[_0x477d('0x439')]!==_0x477d('0xa02')&&(_0x38849e['interval'][_0x477d('0xf8c')]=null);_0x270294(_0x38849e[_0x477d('0x79c')]);}else{_0x3f4a78['interval'][_0x477d('0x710')]({'id':_0x38849e[_0x477d('0x79c')]['id']},_0x38849e[_0x477d('0x79c')])['$promise'][_0x477d('0x76')](function(_0x14430e){var _0x239ec2=_[_0x477d('0x10a')](_0x38849e[_0x477d('0x1298')],{'id':_0x14430e['id']});if(_0x239ec2){_[_0x477d('0xef')](_0x239ec2,_0x14430e);}_0x5a5285[_0x477d('0x485')]({'title':_0x477d('0x12d9'),'msg':_0x477d('0x12da')});_0x270294();})['catch'](function(_0x406485){console[_0x477d('0x44a')](_0x406485);_0x38849e[_0x477d('0xd67')]=_0x406485['data'][_0x477d('0xd67')]||[{'message':_0x406485[_0x477d('0x453')](),'type':'api.interval.update'}];});}}function _0x270294(_0x12b126){_0x5757a1[_0x477d('0x3bc')](_0x12b126);}}}());(function(){'use strict';_0x161526[_0x477d('0xa')]=['$mdDialog','$q',_0x477d('0x40e'),_0x477d('0x1c8b'),'mailAccount','api',_0x477d('0x55'),_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x31'))[_0x477d('0x3ba')](_0x477d('0x1c92'),_0x161526);function _0x161526(_0x951e20,_0x1a8339,_0x1c8a3e,_0x1b9eea,_0x4654fb,_0xb98b9f,_0x15d39d,_0x3afd4e){var _0x5448ba=this;_0x5448ba['currentUser']=_0x15d39d[_0x477d('0x5c')]();_0x5448ba[_0x477d('0xd67')]=[];_0x5448ba[_0x477d('0x49a')]=_0x477d('0x1c8d')+(_0x1b9eea[_0x477d('0x1294')]||_0x1b9eea[_0x477d('0x1291')])['toUpperCase']();_0x5448ba[_0x477d('0x3c6')]=angular[_0x477d('0x6d9')](_0x1b9eea);_0x5448ba['crudPermissions']=_0x3afd4e;_0x5448ba[_0x477d('0xd68')]={};if(_0x5448ba[_0x477d('0x3c6')][_0x477d('0x12ae')]){switch(_0x5448ba['noop'][_0x477d('0x1294')]?_0x5448ba[_0x477d('0x3c6')][_0x477d('0x1294')][_0x477d('0x449')]():_0x5448ba[_0x477d('0x3c6')]['app'][_0x477d('0x449')]()){case _0x477d('0x9f6'):break;case _0x477d('0x1266'):var _0x13be22=_0x5448ba[_0x477d('0x3c6')][_0x477d('0x12ae')]['split'](',');_0x5448ba[_0x477d('0x3c6')]['key']=_0x13be22[0x0];_0x5448ba[_0x477d('0x3c6')][_0x477d('0x1267')]=_0x13be22[0x1];_0x5448ba['noop'][_0x477d('0x127a')]=_0x13be22[_0x477d('0x9cd')](0x2,_0x13be22[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case'amazonlex':var _0x13be22=_0x5448ba['noop'][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x5448ba[_0x477d('0x3c6')][_0x477d('0x127d')]=_0x13be22[0x0];_0x5448ba[_0x477d('0x3c6')][_0x477d('0x127e')]=_0x13be22[0x1];_0x5448ba[_0x477d('0x3c6')][_0x477d('0x127f')]=_0x13be22[0x2];_0x5448ba[_0x477d('0x3c6')][_0x477d('0x1283')]=_0x13be22[0x3];_0x5448ba[_0x477d('0x3c6')][_0x477d('0x127a')]=_0x13be22[_0x477d('0x9cd')](0x4,_0x13be22['length'])[_0x477d('0x3f6')](',');break;case _0x477d('0x1260'):var _0x13be22=_0x5448ba[_0x477d('0x3c6')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x5448ba[_0x477d('0x3c6')][_0x477d('0x1261')]=isNaN(_0x13be22[0x0])?_0x13be22[0x0]:parseInt(_0x13be22[0x0],0xa);_0x5448ba[_0x477d('0x3c6')]['text']=_0x13be22[_0x477d('0x9cd')](0x1,_0x13be22[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x452'):_0x5448ba['noop'][_0x477d('0x41b')]=_0x5448ba[_0x477d('0x3c6')][_0x477d('0x12ae')];break;case _0x477d('0x12af'):_0x5448ba[_0x477d('0x3c6')][_0x477d('0x94')]=_0x5448ba[_0x477d('0x3c6')][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x0];_0x5448ba[_0x477d('0x3c6')][_0x477d('0x3b6')]=_0x5448ba['noop'][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x1];break;case _0x477d('0x12b0'):_0x5448ba[_0x477d('0x3c6')][_0x477d('0xf13')]=_0x5448ba[_0x477d('0x3c6')][_0x477d('0x12ae')];break;default:var _0xc8695f=_0x5448ba[_0x477d('0x3c6')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x5448ba[_0x477d('0x3c6')][_0x477d('0x3b6')]=_[_0x477d('0x3b2')](_0xc8695f[0x0])?_0xc8695f[0x0]:isNaN(_0xc8695f[0x0])?_0xc8695f[0x0]:parseInt(_0xc8695f[0x0],0xa);}}else{}if(_0x5448ba[_0x477d('0x3c6')]['type']&&_0x5448ba[_0x477d('0x3c6')][_0x477d('0x439')][_0x477d('0x449')]()===_0x477d('0x127')&&_0x5448ba['noop'][_0x477d('0x1294')][_0x477d('0x449')]()==='outbounddial'){_0x5448ba[_0x477d('0x3c6')][_0x477d('0x6c0')]=_0x5448ba[_0x477d('0x3c6')][_0x477d('0xf46')]?_0x5448ba[_0x477d('0x3c6')][_0x477d('0xf46')][_0x477d('0x472')]('$')[0x0]:undefined;_0x5448ba['noop']['callerId']=_0x5448ba['noop']['callerID']?_0x477d('0x12b3')+_0x5448ba[_0x477d('0x3c6')][_0x477d('0x12b2')]:undefined;}_0x5448ba[_0x477d('0x1c8e')]=_0x4bb116;_0x5448ba[_0x477d('0x6bf')]=_0x1cd3ba;function _0x4bb116(){_0x5448ba[_0x477d('0xd67')]=[];var _0x39eda6=[];if(_0x5448ba['noop'][_0x477d('0x439')]&&_0x5448ba['noop'][_0x477d('0x439')][_0x477d('0x449')]()===_0x477d('0x127')&&_0x5448ba[_0x477d('0x3c6')]['appType']==='outboundDial'){_0x5448ba[_0x477d('0x3c6')][_0x477d('0xf46')]=_0x4654fb['cutdigits']?(_0x5448ba[_0x477d('0x3c6')][_0x477d('0x6c0')]||'')+_0x477d('0x12b7')+_0x4654fb[_0x477d('0x12b6')]+'}':(_0x5448ba[_0x477d('0x3c6')][_0x477d('0x6c0')]||'')+'${EXTEN}';if(_0x4654fb[_0x477d('0x12b9')]!==_0x477d('0x496')){if(_0x5448ba[_0x477d('0x3c6')][_0x477d('0x43c')][_0x477d('0x477')]('U(xcally-mixmonitor-context)')<0x0){_0x5448ba[_0x477d('0x3c6')][_0x477d('0x43c')]+=_0x477d('0x12ba');}}else{_0x5448ba['noop'][_0x477d('0x43c')]=_0x5448ba['noop'][_0x477d('0x43c')]['replace'](_0x477d('0x12ba'),'');}}if(_0x5448ba['noop'][_0x477d('0x1294')]&&_0x5448ba['noop']['appType']===_0x477d('0x9f6')){}else{switch((_0x5448ba[_0x477d('0x3c6')][_0x477d('0x1291')]||_0x5448ba['noop'][_0x477d('0x1294')])[_0x477d('0x449')]()){case _0x477d('0x12af'):_0x5448ba[_0x477d('0x3c6')][_0x477d('0x12ae')]=_0x5448ba[_0x477d('0x3c6')][_0x477d('0x94')]+'='+_0x5448ba[_0x477d('0x3c6')][_0x477d('0x3b6')];break;case _0x477d('0x9f6'):break;default:_0x39eda6[0x0]=_0x5448ba[_0x477d('0x3c6')][_0x477d('0x3b6')];_0x5448ba[_0x477d('0x3c6')][_0x477d('0x12ae')]=_0x39eda6[_0x477d('0x3f6')](',');}}_0x1cd3ba(_0x5448ba['noop']);}function _0x1cd3ba(_0x356409){_0x951e20[_0x477d('0x3bc')](_0x356409);}}}());(function(){'use strict';_0x2c35c9['$inject']=['$mdDialog','$q','toasty',_0x477d('0x1c8b'),_0x477d('0x1775'),_0x477d('0x386'),_0x477d('0x55'),_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x31'))[_0x477d('0x3ba')](_0x477d('0x1c93'),_0x2c35c9);function _0x2c35c9(_0x56b9de,_0x1cb630,_0x10876c,_0x265efb,_0x518ab6,_0x2088a7,_0xf12c99,_0x3d9c38){var _0x57251a=this;_0x57251a[_0x477d('0x3e5')]=_0xf12c99[_0x477d('0x5c')]();_0x57251a[_0x477d('0xd67')]=[];_0x57251a['title']=_0x477d('0x1c8d')+(_0x265efb[_0x477d('0x1294')]||_0x265efb[_0x477d('0x1291')])[_0x477d('0x44f')]();_0x57251a[_0x477d('0x1256')]=angular[_0x477d('0x6d9')](_0x265efb);_0x57251a[_0x477d('0xd66')]=_0x3d9c38;_0x57251a[_0x477d('0xd68')]={};if(_0x57251a[_0x477d('0x1256')]['appdata']){switch(_0x57251a['queue'][_0x477d('0x1294')]?_0x57251a[_0x477d('0x1256')][_0x477d('0x1294')][_0x477d('0x449')]():_0x57251a['queue'][_0x477d('0x1291')][_0x477d('0x449')]()){case _0x477d('0x9f6'):break;case _0x477d('0x1266'):var _0xedaf6=_0x57251a[_0x477d('0x1256')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x57251a['queue'][_0x477d('0x670')]=_0xedaf6[0x0];_0x57251a[_0x477d('0x1256')][_0x477d('0x1267')]=_0xedaf6[0x1];_0x57251a[_0x477d('0x1256')][_0x477d('0x127a')]=_0xedaf6[_0x477d('0x9cd')](0x2,_0xedaf6[_0x477d('0x79')])['join'](',');break;case _0x477d('0x127c'):var _0xedaf6=_0x57251a[_0x477d('0x1256')]['appdata'][_0x477d('0x472')](',');_0x57251a[_0x477d('0x1256')]['accesskeyid']=_0xedaf6[0x0];_0x57251a[_0x477d('0x1256')][_0x477d('0x127e')]=_0xedaf6[0x1];_0x57251a[_0x477d('0x1256')][_0x477d('0x127f')]=_0xedaf6[0x2];_0x57251a[_0x477d('0x1256')][_0x477d('0x1283')]=_0xedaf6[0x3];_0x57251a[_0x477d('0x1256')]['welcomemessage']=_0xedaf6[_0x477d('0x9cd')](0x4,_0xedaf6[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x1260'):var _0xedaf6=_0x57251a[_0x477d('0x1256')]['appdata'][_0x477d('0x472')](',');_0x57251a['queue'][_0x477d('0x1261')]=isNaN(_0xedaf6[0x0])?_0xedaf6[0x0]:parseInt(_0xedaf6[0x0],0xa);_0x57251a[_0x477d('0x1256')]['text']=_0xedaf6[_0x477d('0x9cd')](0x1,_0xedaf6[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x452'):_0x57251a[_0x477d('0x1256')][_0x477d('0x41b')]=_0x57251a[_0x477d('0x1256')]['appdata'];break;case _0x477d('0x12af'):_0x57251a[_0x477d('0x1256')][_0x477d('0x94')]=_0x57251a[_0x477d('0x1256')][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x0];_0x57251a[_0x477d('0x1256')][_0x477d('0x3b6')]=_0x57251a['queue'][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x1];break;case _0x477d('0x12b0'):_0x57251a[_0x477d('0x1256')][_0x477d('0xf13')]=_0x57251a[_0x477d('0x1256')]['appdata'];break;default:var _0x33fb45=_0x57251a['queue']['appdata'][_0x477d('0x472')](',');_0x57251a[_0x477d('0x1256')][_0x477d('0x1256')]=_['isEmpty'](_0x33fb45[0x0])?_0x33fb45[0x0]:isNaN(_0x33fb45[0x0])?_0x33fb45[0x0]:parseInt(_0x33fb45[0x0],0xa);_0x57251a[_0x477d('0x1256')][_0x477d('0x91b')]=_[_0x477d('0x3b2')](_0x33fb45[0x1])?_0x33fb45[0x1]:isNaN(_0x33fb45[0x1])?_0x33fb45[0x1]:parseInt(_0x33fb45[0x1],0xa);}}else{_0x57251a[_0x477d('0x1256')][_0x477d('0x1256')]=0x12c;_0x57251a[_0x477d('0x1256')][_0x477d('0x91b')]=0x12c;}if(_0x57251a['queue'][_0x477d('0x439')]&&_0x57251a[_0x477d('0x1256')][_0x477d('0x439')][_0x477d('0x449')]()==='outbound'&&_0x57251a[_0x477d('0x1256')][_0x477d('0x1294')][_0x477d('0x449')]()===_0x477d('0x12b1')){_0x57251a['queue'][_0x477d('0x6c0')]=_0x57251a[_0x477d('0x1256')][_0x477d('0xf46')]?_0x57251a[_0x477d('0x1256')][_0x477d('0xf46')][_0x477d('0x472')]('$')[0x0]:undefined;_0x57251a['queue']['callerId']=_0x57251a[_0x477d('0x1256')]['callerID']?_0x477d('0x12b3')+_0x57251a['queue'][_0x477d('0x12b2')]:undefined;}_0x57251a[_0x477d('0x1c8e')]=_0x1218e5;_0x57251a[_0x477d('0x6bf')]=_0x1e5e2d;_0xf12c99[_0x477d('0x56')](_0x477d('0x5f'))?_0x2088a7['mailQueue'][_0x477d('0x376')]({'fields':_0x477d('0x12de'),'sort':_0x477d('0x94'),'nolimit':'true'})[_0x477d('0x38b')]['then'](function(_0x11c9fb){_0x57251a['queues']=_0x11c9fb['rows']||[];})[_0x477d('0xf8')](function(_0x5b664d){_0x10876c[_0x477d('0x44a')]({'title':_0x5b664d['status']?'API:'+_0x5b664d['status']+_0x477d('0x44c')+_0x5b664d[_0x477d('0x44d')]:_0x477d('0x1934'),'msg':_0x5b664d[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x5b664d[_0x477d('0x451')]):_0x5b664d[_0x477d('0x453')]()});}):_0x2088a7[_0x477d('0x1c81')][_0x477d('0x376')]({'fields':_0x477d('0x12de'),'sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0xab2a){_0x57251a[_0x477d('0xf2f')]=_0xab2a[_0x477d('0xf2')]||[];})['then'](function(){return _0x2088a7[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x57251a[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x259})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x2a04e1){var _0x18cc1e=_0x2a04e1&&_0x2a04e1['rows']?_0x2a04e1[_0x477d('0xf2')][0x0]:null;if(!_0x18cc1e){var _0x58ffe1=[];var _0x525faa=null;if(_0x57251a['queue']){_0x525faa=_[_0x477d('0x10a')](_0x57251a[_0x477d('0xf2f')],{'name':_0x57251a[_0x477d('0x1256')][_0x477d('0x1256')]});}for(var _0x217823=0x0;_0x217823<_0x57251a[_0x477d('0xf2f')][_0x477d('0x79')];_0x217823++){if(_0x525faa&&_0x57251a['queues'][_0x217823]['id']===_0x525faa['id']){_0x57251a['queues'][_0x217823][_0x477d('0xf8b')]=![];_0x58ffe1[_0x477d('0x3a7')](_0x57251a[_0x477d('0xf2f')][_0x217823]);}}_0x57251a[_0x477d('0xf2f')]=_0x58ffe1;}else{if(!_0x18cc1e['autoAssociation']){return _0x2088a7[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x18cc1e['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x3b87ee){var _0xeafca=_[_0x477d('0x3cb')](_0x3b87ee[_0x477d('0xf2')],function(_0x6ee2e7){return _[_0x477d('0x10a')](_0x57251a[_0x477d('0xf2f')],{'id':_0x6ee2e7[_0x477d('0x3af')]});});var _0x122c0f=null;if(_0x57251a[_0x477d('0x1256')]){_0x122c0f=_['find'](_0x57251a['queues'],{'name':_0x57251a['queue'][_0x477d('0x1256')]});}if(_0x122c0f&&!_[_0x477d('0x3ab')](_0xeafca,['id',_0x122c0f['id']])){var _0x30d941=_[_0x477d('0x10a')](_0x57251a[_0x477d('0xf2f')],{'id':_0x122c0f['id']});_0x30d941['canSelect']=![];_0xeafca[_0x477d('0x3a7')](_0x30d941);}_0x57251a[_0x477d('0xf2f')]=_0xeafca;});}}})['catch'](function(_0x565fc9){_0x10876c[_0x477d('0x44a')]({'title':_0x565fc9['status']?'API:'+_0x565fc9[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x565fc9[_0x477d('0x44d')]:_0x477d('0x12df'),'msg':_0x565fc9[_0x477d('0x451')]?JSON['stringify'](_0x565fc9[_0x477d('0x451')]):_0x565fc9[_0x477d('0x453')]()});});function _0x1218e5(){_0x57251a[_0x477d('0xd67')]=[];var _0x3bcc00=[];if(_0x57251a['queue'][_0x477d('0x439')]&&_0x57251a[_0x477d('0x1256')]['type']['toLowerCase']()==='outbound'&&_0x57251a[_0x477d('0x1256')][_0x477d('0x1294')]===_0x477d('0x12b5')){_0x57251a[_0x477d('0x1256')][_0x477d('0xf46')]=_0x518ab6['cutdigits']?(_0x57251a[_0x477d('0x1256')][_0x477d('0x6c0')]||'')+_0x477d('0x12b7')+_0x518ab6[_0x477d('0x12b6')]+'}':(_0x57251a[_0x477d('0x1256')][_0x477d('0x6c0')]||'')+_0x477d('0x12b8');if(_0x518ab6['recordingFormat']!==_0x477d('0x496')){if(_0x57251a[_0x477d('0x1256')]['options'][_0x477d('0x477')]('U(xcally-mixmonitor-context)')<0x0){_0x57251a[_0x477d('0x1256')][_0x477d('0x43c')]+=_0x477d('0x12ba');}}else{_0x57251a[_0x477d('0x1256')][_0x477d('0x43c')]=_0x57251a[_0x477d('0x1256')][_0x477d('0x43c')][_0x477d('0x409')](_0x477d('0x12ba'),'');}}var _0x4bfa2d=_[_0x477d('0x10a')](_0x57251a[_0x477d('0xf2f')],{'name':_0x57251a[_0x477d('0x1256')][_0x477d('0x1256')]});if(_0x4bfa2d){_0x57251a[_0x477d('0x1256')][_[_0x477d('0x12e0')](_0x477d('0x1d6'))+'QueueId']=_0x4bfa2d['id'];}if(_0x57251a[_0x477d('0x1256')][_0x477d('0x1294')]&&_0x57251a[_0x477d('0x1256')][_0x477d('0x1294')]===_0x477d('0x9f6')){}else{switch((_0x57251a['queue'][_0x477d('0x1291')]||_0x57251a[_0x477d('0x1256')][_0x477d('0x1294')])[_0x477d('0x449')]()){case _0x477d('0x12af'):_0x57251a['queue'][_0x477d('0x12ae')]=_0x57251a[_0x477d('0x1256')][_0x477d('0x94')]+'='+_0x57251a[_0x477d('0x1256')]['value'];break;case _0x477d('0x9f6'):break;default:_0x3bcc00[0x0]=_0x57251a[_0x477d('0x1256')]['queue'];_0x3bcc00[0x1]=_0x57251a[_0x477d('0x1256')][_0x477d('0x91b')];_0x57251a[_0x477d('0x1256')][_0x477d('0x12ae')]=_0x3bcc00[_0x477d('0x3f6')](',');}}_0x1e5e2d(_0x57251a['queue']);}function _0x1e5e2d(_0x1456ca){_0x56b9de['hide'](_0x1456ca);}}}());(function(){'use strict';_0xc77e1b[_0x477d('0xa')]=[_0x477d('0x384'),'$q',_0x477d('0x40e'),_0x477d('0x1c8b'),_0x477d('0x1775'),_0x477d('0x386'),_0x477d('0x55'),'crudPermissions'];angular[_0x477d('0xb')](_0x477d('0x31'))[_0x477d('0x3ba')]('EditMailAccountAppsystemDialogController',_0xc77e1b);function _0xc77e1b(_0x533e77,_0x2b4610,_0x2bd9a7,_0x2fab83,_0x4163f2,_0x224006,_0x4807d5,_0x5edb03){var _0x134fc1=this;_0x134fc1[_0x477d('0x3e5')]=_0x4807d5['getCurrentUser']();_0x134fc1[_0x477d('0xd67')]=[];_0x134fc1['title']=_0x477d('0x1c8d')+(_0x2fab83[_0x477d('0x1294')]||_0x2fab83[_0x477d('0x1291')])['toUpperCase']();_0x134fc1[_0x477d('0xa41')]=angular[_0x477d('0x6d9')](_0x2fab83);_0x134fc1['crudPermissions']=_0x5edb03;_0x134fc1[_0x477d('0xd68')]={};if(_0x134fc1[_0x477d('0xa41')][_0x477d('0x12ae')]){switch(_0x134fc1[_0x477d('0xa41')][_0x477d('0x1294')]?_0x134fc1[_0x477d('0xa41')]['appType'][_0x477d('0x449')]():_0x134fc1['system']['app'][_0x477d('0x449')]()){case _0x477d('0x9f6'):break;case'dialogflow':var _0x2fa1bb=_0x134fc1[_0x477d('0xa41')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x134fc1[_0x477d('0xa41')][_0x477d('0x670')]=_0x2fa1bb[0x0];_0x134fc1[_0x477d('0xa41')]['language']=_0x2fa1bb[0x1];_0x134fc1[_0x477d('0xa41')]['welcomemessage']=_0x2fa1bb[_0x477d('0x9cd')](0x2,_0x2fa1bb['length'])[_0x477d('0x3f6')](',');break;case _0x477d('0x127c'):var _0x2fa1bb=_0x134fc1[_0x477d('0xa41')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x134fc1[_0x477d('0xa41')][_0x477d('0x127d')]=_0x2fa1bb[0x0];_0x134fc1[_0x477d('0xa41')][_0x477d('0x127e')]=_0x2fa1bb[0x1];_0x134fc1[_0x477d('0xa41')]['lexregion']=_0x2fa1bb[0x2];_0x134fc1[_0x477d('0xa41')][_0x477d('0x1283')]=_0x2fa1bb[0x3];_0x134fc1['system'][_0x477d('0x127a')]=_0x2fa1bb['slice'](0x4,_0x2fa1bb[_0x477d('0x79')])['join'](',');break;case _0x477d('0x1260'):var _0x2fa1bb=_0x134fc1[_0x477d('0xa41')][_0x477d('0x12ae')]['split'](',');_0x134fc1[_0x477d('0xa41')][_0x477d('0x1261')]=isNaN(_0x2fa1bb[0x0])?_0x2fa1bb[0x0]:parseInt(_0x2fa1bb[0x0],0xa);_0x134fc1[_0x477d('0xa41')][_0x477d('0x41b')]=_0x2fa1bb[_0x477d('0x9cd')](0x1,_0x2fa1bb[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x452'):_0x134fc1[_0x477d('0xa41')]['text']=_0x134fc1[_0x477d('0xa41')][_0x477d('0x12ae')];break;case _0x477d('0x12af'):_0x134fc1['system'][_0x477d('0x94')]=_0x134fc1['system']['appdata'][_0x477d('0x472')]('=')[0x0];_0x134fc1['system'][_0x477d('0x3b6')]=_0x134fc1[_0x477d('0xa41')]['appdata'][_0x477d('0x472')]('=')[0x1];break;case _0x477d('0x12b0'):_0x134fc1[_0x477d('0xa41')]['project']=_0x134fc1[_0x477d('0xa41')][_0x477d('0x12ae')];break;default:var _0x1df916=_0x134fc1[_0x477d('0xa41')][_0x477d('0x12ae')]['split'](',');_0x134fc1[_0x477d('0xa41')][_0x477d('0xf49')]=_[_0x477d('0x3b2')](_0x1df916[0x0])?_0x1df916[0x0]:isNaN(_0x1df916[0x0])?_0x1df916[0x0]:parseInt(_0x1df916[0x0],0xa);_0x134fc1[_0x477d('0xa41')][_0x477d('0xbb9')]=_[_0x477d('0x3b2')](_0x1df916[0x1])?_0x1df916[0x1]:isNaN(_0x1df916[0x1])?_0x1df916[0x1]:parseInt(_0x1df916[0x1],0xa);}}else{_0x134fc1[_0x477d('0xa41')][_0x477d('0xbb9')]='';}if(_0x134fc1[_0x477d('0xa41')][_0x477d('0x439')]&&_0x134fc1[_0x477d('0xa41')][_0x477d('0x439')][_0x477d('0x449')]()===_0x477d('0x127')&&_0x134fc1[_0x477d('0xa41')]['appType']['toLowerCase']()===_0x477d('0x12b1')){_0x134fc1[_0x477d('0xa41')][_0x477d('0x6c0')]=_0x134fc1[_0x477d('0xa41')][_0x477d('0xf46')]?_0x134fc1[_0x477d('0xa41')][_0x477d('0xf46')]['split']('$')[0x0]:undefined;_0x134fc1[_0x477d('0xa41')][_0x477d('0x69b')]=_0x134fc1['system']['callerID']?_0x477d('0x12b3')+_0x134fc1[_0x477d('0xa41')][_0x477d('0x12b2')]:undefined;}_0x134fc1['saveMailAccountApp']=_0x543b99;_0x134fc1[_0x477d('0x6bf')]=_0x1e6d39;_0x4807d5[_0x477d('0x56')]('admin')?_0x224006[_0x477d('0xbb9')]['get']({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':'true'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x27d37b){_0x134fc1[_0x477d('0xf31')]=_0x27d37b[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0xebfa75){_0x2bd9a7[_0x477d('0x44a')]({'title':_0xebfa75[_0x477d('0x3c3')]?_0x477d('0x44b')+_0xebfa75['status']+'\x20-\x20'+_0xebfa75[_0x477d('0x44d')]:_0x477d('0x12e1'),'msg':_0xebfa75[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0xebfa75['data']):_0xebfa75[_0x477d('0x453')]()});}):_0x224006['variable'][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':'true'})['$promise'][_0x477d('0x76')](function(_0x3595d8){_0x134fc1['variables']=_0x3595d8[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x224006[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x134fc1[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x3f4})['$promise'];})[_0x477d('0x76')](function(_0x5e1fd5){var _0x54e1d4=_0x5e1fd5&&_0x5e1fd5[_0x477d('0xf2')]?_0x5e1fd5['rows'][0x0]:null;if(!_0x54e1d4){var _0x20d25e=[];var _0x237882=null;if(_0x134fc1[_0x477d('0xa41')]){_0x237882=_[_0x477d('0x10a')](_0x134fc1[_0x477d('0xf31')],{'name':_0x134fc1['system'][_0x477d('0xbb9')]});}for(var _0x12e321=0x0;_0x12e321<_0x134fc1[_0x477d('0xf31')][_0x477d('0x79')];_0x12e321++){if(_0x237882&&_0x134fc1[_0x477d('0xf31')][_0x12e321]['id']===_0x237882['id']){_0x134fc1[_0x477d('0xf31')][_0x12e321][_0x477d('0xf8b')]=![];_0x20d25e['push'](_0x134fc1['variables'][_0x12e321]);}}_0x134fc1['variables']=_0x20d25e;}else{if(!_0x54e1d4[_0x477d('0x3ad')]){return _0x224006['userProfileResource'][_0x477d('0x376')]({'sectionId':_0x54e1d4['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x1878fc){var _0x3d9119=_[_0x477d('0x3cb')](_0x1878fc[_0x477d('0xf2')],function(_0x3ac7c6){return _[_0x477d('0x10a')](_0x134fc1[_0x477d('0xf31')],{'id':_0x3ac7c6['resourceId']});});var _0x30789c=null;if(_0x134fc1[_0x477d('0xa41')]){_0x30789c=_[_0x477d('0x10a')](_0x134fc1[_0x477d('0xf31')],{'name':_0x134fc1[_0x477d('0xa41')][_0x477d('0xbb9')]});}if(_0x30789c&&!_[_0x477d('0x3ab')](_0x3d9119,['id',_0x30789c['id']])){var _0x409901=_[_0x477d('0x10a')](_0x134fc1[_0x477d('0xf31')],{'id':_0x30789c['id']});_0x409901[_0x477d('0xf8b')]=![];_0x3d9119[_0x477d('0x3a7')](_0x409901);}_0x134fc1[_0x477d('0xf31')]=_0x3d9119;});}}})[_0x477d('0xf8')](function(_0x4ecfac){_0x2bd9a7[_0x477d('0x44a')]({'title':_0x4ecfac[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x4ecfac[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x4ecfac[_0x477d('0x44d')]:'SYSTEM:GETvariables','msg':_0x4ecfac[_0x477d('0x451')]?JSON['stringify'](_0x4ecfac[_0x477d('0x451')]):_0x4ecfac[_0x477d('0x453')]()});});function _0x543b99(){_0x134fc1['errors']=[];var _0x1ecb1f=[];if(_0x134fc1[_0x477d('0xa41')][_0x477d('0x439')]&&_0x134fc1[_0x477d('0xa41')][_0x477d('0x439')][_0x477d('0x449')]()==='outbound'&&_0x134fc1[_0x477d('0xa41')][_0x477d('0x1294')]===_0x477d('0x12b5')){_0x134fc1[_0x477d('0xa41')][_0x477d('0xf46')]=_0x4163f2[_0x477d('0x12b6')]?(_0x134fc1['system'][_0x477d('0x6c0')]||'')+'${EXTEN:'+_0x4163f2[_0x477d('0x12b6')]+'}':(_0x134fc1[_0x477d('0xa41')][_0x477d('0x6c0')]||'')+_0x477d('0x12b8');if(_0x4163f2[_0x477d('0x12b9')]!=='none'){if(_0x134fc1[_0x477d('0xa41')][_0x477d('0x43c')][_0x477d('0x477')](_0x477d('0x12ba'))<0x0){_0x134fc1[_0x477d('0xa41')][_0x477d('0x43c')]+=_0x477d('0x12ba');}}else{_0x134fc1[_0x477d('0xa41')][_0x477d('0x43c')]=_0x134fc1[_0x477d('0xa41')]['options'][_0x477d('0x409')](_0x477d('0x12ba'),'');}}if(_0x134fc1[_0x477d('0xa41')][_0x477d('0x1294')]&&_0x134fc1[_0x477d('0xa41')][_0x477d('0x1294')]===_0x477d('0x9f6')){}else{switch((_0x134fc1[_0x477d('0xa41')]['app']||_0x134fc1[_0x477d('0xa41')]['appType'])[_0x477d('0x449')]()){case _0x477d('0x12af'):_0x134fc1[_0x477d('0xa41')][_0x477d('0x12ae')]=_0x134fc1[_0x477d('0xa41')]['name']+'='+_0x134fc1[_0x477d('0xa41')][_0x477d('0x3b6')];break;case _0x477d('0x9f6'):break;default:_0x1ecb1f[0x0]=_0x134fc1[_0x477d('0xa41')]['command'];_0x1ecb1f[0x1]=_0x134fc1[_0x477d('0xa41')][_0x477d('0xbb9')];_0x134fc1[_0x477d('0xa41')][_0x477d('0x12ae')]=_0x1ecb1f[_0x477d('0x3f6')](',');}}_0x1e6d39(_0x134fc1['system']);}function _0x1e6d39(_0x166c09){_0x533e77[_0x477d('0x3bc')](_0x166c09);}}}());(function(){'use strict';_0x1eb949[_0x477d('0xa')]=[_0x477d('0x384'),'$q',_0x477d('0x40e'),'mailAccountApp','mailAccount',_0x477d('0x386'),_0x477d('0x55'),_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x31'))['controller'](_0x477d('0x1c94'),_0x1eb949);function _0x1eb949(_0x4a06ff,_0x4d4e5e,_0x4d74f3,_0x4f85a8,_0x23c0bd,_0xf45821,_0xd6cf22,_0x33fb7f){var _0x11040e=this;_0x11040e['currentUser']=_0xd6cf22[_0x477d('0x5c')]();_0x11040e['errors']=[];_0x11040e[_0x477d('0x49a')]=_0x477d('0x1c8d')+(_0x4f85a8[_0x477d('0x1294')]||_0x4f85a8[_0x477d('0x1291')])[_0x477d('0x44f')]();_0x11040e['tag']=angular[_0x477d('0x6d9')](_0x4f85a8);_0x11040e[_0x477d('0xd66')]=_0x33fb7f;_0x11040e[_0x477d('0xd68')]={};if(_0x11040e[_0x477d('0xbb0')][_0x477d('0x12ae')]){switch(_0x11040e[_0x477d('0xbb0')][_0x477d('0x1294')]?_0x11040e[_0x477d('0xbb0')][_0x477d('0x1294')][_0x477d('0x449')]():_0x11040e[_0x477d('0xbb0')][_0x477d('0x1291')][_0x477d('0x449')]()){case _0x477d('0x9f6'):break;case _0x477d('0x1266'):var _0x1f7bad=_0x11040e['tag']['appdata'][_0x477d('0x472')](',');_0x11040e[_0x477d('0xbb0')][_0x477d('0x670')]=_0x1f7bad[0x0];_0x11040e[_0x477d('0xbb0')][_0x477d('0x1267')]=_0x1f7bad[0x1];_0x11040e['tag'][_0x477d('0x127a')]=_0x1f7bad[_0x477d('0x9cd')](0x2,_0x1f7bad[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x127c'):var _0x1f7bad=_0x11040e[_0x477d('0xbb0')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x11040e['tag'][_0x477d('0x127d')]=_0x1f7bad[0x0];_0x11040e['tag']['secretaccesskey']=_0x1f7bad[0x1];_0x11040e[_0x477d('0xbb0')][_0x477d('0x127f')]=_0x1f7bad[0x2];_0x11040e[_0x477d('0xbb0')][_0x477d('0x1283')]=_0x1f7bad[0x3];_0x11040e[_0x477d('0xbb0')][_0x477d('0x127a')]=_0x1f7bad[_0x477d('0x9cd')](0x4,_0x1f7bad[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x1260'):var _0x1f7bad=_0x11040e['tag'][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x11040e[_0x477d('0xbb0')][_0x477d('0x1261')]=isNaN(_0x1f7bad[0x0])?_0x1f7bad[0x0]:parseInt(_0x1f7bad[0x0],0xa);_0x11040e[_0x477d('0xbb0')]['text']=_0x1f7bad[_0x477d('0x9cd')](0x1,_0x1f7bad[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x452'):_0x11040e[_0x477d('0xbb0')][_0x477d('0x41b')]=_0x11040e['tag'][_0x477d('0x12ae')];break;case _0x477d('0x12af'):_0x11040e[_0x477d('0xbb0')][_0x477d('0x94')]=_0x11040e['tag'][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x0];_0x11040e['tag']['value']=_0x11040e[_0x477d('0xbb0')]['appdata'][_0x477d('0x472')]('=')[0x1];break;case _0x477d('0x12b0'):_0x11040e[_0x477d('0xbb0')][_0x477d('0xf13')]=_0x11040e['tag'][_0x477d('0x12ae')];break;default:var _0x9f143c=_0x11040e[_0x477d('0xbb0')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x11040e['tag']['tag']=_[_0x477d('0x3b2')](_0x9f143c[0x0])?_0x9f143c[0x0]:isNaN(_0x9f143c[0x0])?_0x9f143c[0x0]:parseInt(_0x9f143c[0x0],0xa);}}else{}if(_0x11040e[_0x477d('0xbb0')]['type']&&_0x11040e[_0x477d('0xbb0')][_0x477d('0x439')][_0x477d('0x449')]()===_0x477d('0x127')&&_0x11040e['tag'][_0x477d('0x1294')]['toLowerCase']()===_0x477d('0x12b1')){_0x11040e[_0x477d('0xbb0')][_0x477d('0x6c0')]=_0x11040e[_0x477d('0xbb0')]['phone']?_0x11040e[_0x477d('0xbb0')][_0x477d('0xf46')][_0x477d('0x472')]('$')[0x0]:undefined;_0x11040e['tag'][_0x477d('0x69b')]=_0x11040e['tag'][_0x477d('0x12b2')]?'CALLERID(all)='+_0x11040e[_0x477d('0xbb0')][_0x477d('0x12b2')]:undefined;}_0x11040e[_0x477d('0x1c8e')]=_0x49efa1;_0x11040e['closeDialog']=_0x4c4a9d;_0xd6cf22[_0x477d('0x56')]('admin')?_0xf45821[_0x477d('0xbb0')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x17003d){_0x11040e[_0x477d('0x1263')]=_0x17003d['rows']||[];})[_0x477d('0xf8')](function(_0x16e7ec){_0x4d74f3[_0x477d('0x44a')]({'title':_0x16e7ec[_0x477d('0x3c3')]?'API:'+_0x16e7ec['status']+_0x477d('0x44c')+_0x16e7ec[_0x477d('0x44d')]:_0x477d('0x12e3'),'msg':_0x16e7ec[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x16e7ec['data']):_0x16e7ec[_0x477d('0x453')]()});}):_0xf45821['tag']['get']({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x467410){_0x11040e[_0x477d('0x1263')]=_0x467410[_0x477d('0xf2')]||[];})['then'](function(){return _0xf45821[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x11040e['currentUser'][_0x477d('0x61')],'sectionId':0x3f0})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x3f05e7){var _0x327635=_0x3f05e7&&_0x3f05e7[_0x477d('0xf2')]?_0x3f05e7[_0x477d('0xf2')][0x0]:null;if(!_0x327635){var _0x3ddcfe=[];var _0xba8799=null;if(_0x11040e[_0x477d('0xbb0')]){_0xba8799=_[_0x477d('0x10a')](_0x11040e['tags'],{'name':_0x11040e['tag']['tag']});}for(var _0x3c33c7=0x0;_0x3c33c7<_0x11040e['tags']['length'];_0x3c33c7++){if(_0xba8799&&_0x11040e[_0x477d('0x1263')][_0x3c33c7]['id']===_0xba8799['id']){_0x11040e['tags'][_0x3c33c7][_0x477d('0xf8b')]=![];_0x3ddcfe[_0x477d('0x3a7')](_0x11040e[_0x477d('0x1263')][_0x3c33c7]);}}_0x11040e[_0x477d('0x1263')]=_0x3ddcfe;}else{if(!_0x327635[_0x477d('0x3ad')]){return _0xf45821['userProfileResource']['get']({'sectionId':_0x327635['id']})[_0x477d('0x38b')]['then'](function(_0x30c59b){var _0x482a10=_[_0x477d('0x3cb')](_0x30c59b[_0x477d('0xf2')],function(_0x5ea451){return _['find'](_0x11040e[_0x477d('0x1263')],{'id':_0x5ea451[_0x477d('0x3af')]});});var _0x16b751=null;if(_0x11040e['tag']){_0x16b751=_[_0x477d('0x10a')](_0x11040e[_0x477d('0x1263')],{'name':_0x11040e['tag'][_0x477d('0xbb0')]});}if(_0x16b751&&!_[_0x477d('0x3ab')](_0x482a10,['id',_0x16b751['id']])){var _0x316917=_[_0x477d('0x10a')](_0x11040e[_0x477d('0x1263')],{'id':_0x16b751['id']});_0x316917['canSelect']=![];_0x482a10[_0x477d('0x3a7')](_0x316917);}_0x11040e[_0x477d('0x1263')]=_0x482a10;});}}})[_0x477d('0xf8')](function(_0x25070c){_0x4d74f3['error']({'title':_0x25070c['status']?'API:'+_0x25070c[_0x477d('0x3c3')]+'\x20-\x20'+_0x25070c[_0x477d('0x44d')]:'SYSTEM:GETtags','msg':_0x25070c['data']?JSON[_0x477d('0x3fb')](_0x25070c[_0x477d('0x451')]):_0x25070c['toString']()});});function _0x49efa1(){_0x11040e['errors']=[];var _0xd1fcae=[];if(_0x11040e[_0x477d('0xbb0')][_0x477d('0x439')]&&_0x11040e[_0x477d('0xbb0')][_0x477d('0x439')][_0x477d('0x449')]()===_0x477d('0x127')&&_0x11040e[_0x477d('0xbb0')][_0x477d('0x1294')]==='outboundDial'){_0x11040e[_0x477d('0xbb0')][_0x477d('0xf46')]=_0x23c0bd[_0x477d('0x12b6')]?(_0x11040e['tag'][_0x477d('0x6c0')]||'')+_0x477d('0x12b7')+_0x23c0bd[_0x477d('0x12b6')]+'}':(_0x11040e['tag']['prefix']||'')+_0x477d('0x12b8');if(_0x23c0bd[_0x477d('0x12b9')]!==_0x477d('0x496')){if(_0x11040e['tag'][_0x477d('0x43c')]['indexOf'](_0x477d('0x12ba'))<0x0){_0x11040e[_0x477d('0xbb0')][_0x477d('0x43c')]+='U(xcally-mixmonitor-context)';}}else{_0x11040e[_0x477d('0xbb0')][_0x477d('0x43c')]=_0x11040e['tag'][_0x477d('0x43c')][_0x477d('0x409')](_0x477d('0x12ba'),'');}}var _0x221f16=_['find'](_0x11040e['tags'],{'name':_0x11040e[_0x477d('0xbb0')][_0x477d('0xbb0')]});if(_0x221f16){_0x11040e[_0x477d('0xbb0')][_0x477d('0x1262')]=_0x221f16['id'];}if(_0x11040e['tag'][_0x477d('0x1294')]&&_0x11040e[_0x477d('0xbb0')][_0x477d('0x1294')]==='custom'){}else{switch((_0x11040e['tag']['app']||_0x11040e[_0x477d('0xbb0')][_0x477d('0x1294')])[_0x477d('0x449')]()){case'set':_0x11040e[_0x477d('0xbb0')][_0x477d('0x12ae')]=_0x11040e[_0x477d('0xbb0')][_0x477d('0x94')]+'='+_0x11040e['tag'][_0x477d('0x3b6')];break;case'custom':break;default:_0xd1fcae[0x0]=_0x11040e[_0x477d('0xbb0')][_0x477d('0xbb0')];_0x11040e[_0x477d('0xbb0')][_0x477d('0x12ae')]=_0xd1fcae[_0x477d('0x3f6')](',');}}_0x4c4a9d(_0x11040e[_0x477d('0xbb0')]);}function _0x4c4a9d(_0x4a0930){_0x4a06ff[_0x477d('0x3bc')](_0x4a0930);}}}());(function(){'use strict';_0x410adb['$inject']=[_0x477d('0x385'),_0x477d('0x474'),_0x477d('0x3c4'),'$q',_0x477d('0x40d'),_0x477d('0x3fe'),'$mdDialog',_0x477d('0x475'),'toasty',_0x477d('0x386'),'Auth'];angular[_0x477d('0xb')](_0x477d('0x31'))[_0x477d('0x3ba')](_0x477d('0x1c95'),_0x410adb);function _0x410adb(_0x3496e8,_0x2b3cb2,_0x38afe1,_0x240552,_0x385786,_0x447e78,_0x101111,_0x15c817,_0x533703,_0x452a69,_0x415436){var _0x6e307c=this;_0x6e307c[_0x477d('0x3e5')]=_0x415436[_0x477d('0x5c')]();_0x6e307c[_0x477d('0x1775')]={};_0x6e307c['mailAccountInteractions']={'count':0x0,'rows':[]};_0x6e307c['selectedMailAccountInteractions']=[];_0x6e307c[_0x477d('0xd66')];_0x6e307c['query']={'read':_0x477d('0xea'),'closed':_0x477d('0xea'),'sort':_0x477d('0x1343'),'includeAll':'true','limit':0xa,'page':0x1};_0x6e307c[_0x477d('0x5ee')]=_0x26a9d4;_0x6e307c[_0x477d('0xe66')]=_0x15ef45;_0x6e307c[_0x477d('0x1c96')]=_0x20b984;_0x6e307c[_0x477d('0x485')]=_0x1eae5c;_0x6e307c[_0x477d('0x1c97')]=_0x5a3355;_0x6e307c[_0x477d('0x1c98')]=_0x5019f5;_0x6e307c[_0x477d('0x1c99')]=_0x52885d;_0x6e307c[_0x477d('0x1686')]=_0x468c98;_0x6e307c['exportSelectedMailAccountInteractions']=_0x2b96c1;_0x6e307c[_0x477d('0x1c9a')]=_0x46dad3;_0x6e307c[_0x477d('0x1c9b')]=_0x197f92;function _0x26a9d4(_0x10a8be,_0x4e25bb){_0x6e307c[_0x477d('0x1775')]=_0x10a8be;_0x6e307c[_0x477d('0xd66')]=typeof _0x4e25bb!==_0x477d('0x4a4')?_0x4e25bb:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x6e307c[_0x477d('0x3ef')][_0x477d('0x14b8')]=_0x6e307c[_0x477d('0x1775')]['id'];_0x6e307c['advancedSearch']={'fields':_0x7cb111()};_0x53908b();}function _0x53908b(){return _0x452a69[_0x477d('0xbb0')]['get']()['$promise']['then'](function(_0x15361f){_0x6e307c[_0x477d('0x1263')]=_0x15361f||{'count':0x0,'rows':[]};})[_0x477d('0x76')](function(){return _0x452a69[_0x477d('0xac0')]['get']({'nolimit':!![]})['$promise']['then'](function(_0x1af9bd){_0x6e307c[_0x477d('0x1769')]=_0x1af9bd||{'count':0x0,'rows':[]};});})[_0x477d('0x76')](function(){_0x6e307c[_0x477d('0x1349')]=_0x3dfe13();});}function _0x3dfe13(){return[{'name':_0x477d('0x134a'),'key':_0x477d('0xe37'),'type':_0x477d('0x420'),'label':_0x477d('0x134b')},{'name':_0x477d('0x134c'),'key':_0x477d('0x134d'),'type':_0x477d('0x462'),'label':_0x477d('0x134e'),'customOptions':[{'value':0x0,'translate':'DASHBOARDS.UNREAD'},{'value':0x1,'translate':_0x477d('0x134f')},{'value':null,'translate':_0x477d('0x1350')}]},{'name':_0x477d('0x135e'),'key':'closed','type':_0x477d('0x462'),'label':_0x477d('0x168f'),'customOptions':[{'value':0x0,'translate':_0x477d('0x135f')},{'value':0x1,'translate':_0x477d('0x1352')},{'value':null,'translate':_0x477d('0x1350')}]},{'name':_0x477d('0x1764'),'key':_0x477d('0x1765'),'type':_0x477d('0x462'),'label':_0x477d('0x1771'),'options':_0x6e307c['subStatuses'][_0x477d('0xf2')],'customOptions':[{'value':_0x477d('0xea'),'translate':'DASHBOARDS.NONE'},{'value':undefined,'translate':_0x477d('0x1350')}],'ngValue':_0x477d('0x94'),'ngIf':_0x477d('0x1c9c')},{'name':_0x477d('0x125d'),'key':_0x477d('0x125b'),'type':_0x477d('0x462'),'label':_0x477d('0x1353'),'customOptions':[{'value':_0x477d('0xea'),'translate':_0x477d('0x1354')},{'value':undefined,'translate':_0x477d('0x1350')}]},{'name':'Tag','key':_0x477d('0xbb0'),'type':_0x477d('0x413'),'label':_0x477d('0x1355'),'options':_0x6e307c[_0x477d('0x1263')][_0x477d('0xf2')],'placeholder':'DASHBOARDS.TAGS'}];}function _0x7cb111(){return[{'name':'Id','column':'id','type':_0x477d('0x421')},{'name':_0x477d('0x1370'),'column':_0x477d('0x1370'),'type':'autocomplete','options':{'searchFields':[_0x477d('0x1357'),_0x477d('0x1358'),'email'],'route':{'model':_0x477d('0xb6c'),'action':_0x477d('0x376'),'params':{'fields':_0x477d('0x1677'),'Contact':'@autocomplete','nolimit':!![]}},'extraOperators':[_0x477d('0x135a')],'excludedOperators':[_0x477d('0x414')]}},{'name':_0x477d('0x135b'),'column':_0x477d('0x135c'),'type':_0x477d('0x41b'),'options':{'excludedOperators':[_0x477d('0x412'),_0x477d('0x414')]}},{'name':_0x477d('0x135d'),'column':_0x477d('0x1953'),'type':_0x477d('0x41b'),'options':{'excludedOperators':[_0x477d('0x412'),_0x477d('0x414')]}},{'name':_0x477d('0x135e'),'column':_0x477d('0x1351'),'type':'select','values':[{'id':0x0,'translate':_0x477d('0x135f')},{'id':0x1,'translate':_0x477d('0x1352')}],'options':{'excludedOperators':[_0x477d('0x414')]}},{'name':_0x477d('0x1764'),'column':'substatus','type':_0x477d('0x413'),'options':{'field':_0x477d('0x94'),'route':{'model':_0x477d('0xac0'),'action':_0x477d('0x376'),'params':{'nolimit':!![]}},'excludedOperators':['$notIn']}},{'name':_0x477d('0x125d'),'column':_0x477d('0x167b'),'type':_0x477d('0x443'),'options':{'table':'i','route':{'model':_0x477d('0x380'),'action':'get','params':{'role':_0x477d('0xcf'),'fields':_0x477d('0x1360'),'nolimit':!![]}},'searchFields':[_0x477d('0xcd'),'name'],'extraOperators':['$substring'],'excludedOperators':[_0x477d('0x414')]}},{'name':'Tags','column':_0x477d('0x1264'),'type':_0x477d('0x413'),'options':{'route':{'model':_0x477d('0xbb0'),'action':_0x477d('0x376'),'params':{'nolimit':!![]}},'excludedOperators':[_0x477d('0x3f5')]}},{'name':'Start\x20Date','column':_0x477d('0xe37'),'type':_0x477d('0x420'),'options':{'excludedOperators':[_0x477d('0x414')]}},{'name':_0x477d('0x1361'),'column':_0x477d('0x167d'),'type':_0x477d('0x462'),'values':[{'id':0x1,'translate':_0x477d('0x134f')},{'id':0x0,'translate':_0x477d('0x167e')}],'options':{'excludedOperators':[_0x477d('0x414')]}}];}function _0x468c98(){_0x101111[_0x477d('0x395')]({'controller':_0x477d('0x3e4'),'controllerAs':'vm','templateUrl':_0x477d('0x1362'),'parent':angular[_0x477d('0x398')](_0x15c817['body']),'clickOutsideToClose':![],'locals':{'fields':_0x6e307c[_0x477d('0x3eb')]['fields'],'color':undefined,'storagePath':_0x477d('0x1c9d')},'fullscreen':!![]})[_0x477d('0x76')](function(_0x139e5f){_0x6e307c[_0x477d('0x3ef')][_0x477d('0x3fd')]=_0x139e5f===![]?undefined:_0x139e5f;if(_0x6e307c[_0x477d('0x3ef')][_0x477d('0x3fd')]){_0x6e307c[_0x477d('0x3ef')]['search']+=_0x477d('0x1c9e')+_0x6e307c[_0x477d('0x1775')]['id']+']';_0x5a3355();}else if(_0x139e5f===![]){_0x5a3355();}})[_0x477d('0xf8')](function(_0x31e372){_0x533703[_0x477d('0x44a')]({'title':_0x477d('0x16a5'),'msg':_0x31e372[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x31e372[_0x477d('0x451')]['message']):_0x31e372['toString']()});});}function _0x20b984(_0x49287d,_0x5a85bf,_0xea6d48){return _0x452a69[_0x477d('0xac3')][_0x477d('0x49d')]({'id':_0x49287d['id'],'exists':!![],'attachments':_0xea6d48})['$promise'][_0x477d('0x76')](function(_0xefc08e){var _0x51f295=[_0xefc08e[_0x477d('0x49e')]];var _0x2cd612='interaction'+_0x49287d['id'];var _0x483333=new Blob(_0x51f295,{'type':_0xefc08e['type']});_0x2cd612=_0x477d('0x1c9f')+_0x49287d['id']+_0x477d('0x1366');var _0x39f735=window['document'][_0x477d('0x3c7')]('a');_0x39f735[_0x477d('0x494')](_0x477d('0x3c8'),URL[_0x477d('0x49f')](_0x483333));_0x39f735[_0x477d('0x494')](_0x477d('0x49d'),_0x2cd612);document[_0x477d('0x399')]['appendChild'](_0x39f735);_0x39f735['click']();})[_0x477d('0xf8')](function(_0x643f29){if(_0x643f29[_0x477d('0x451')]&&_0x643f29['data']['errors']&&_0x643f29[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){for(var _0x192d25=0x0;_0x192d25<_0x643f29[_0x477d('0x451')]['errors'][_0x477d('0x79')];_0x192d25+=0x1){_0x533703[_0x477d('0x44a')]({'title':_0x643f29[_0x477d('0x451')][_0x477d('0xd67')][_0x192d25][_0x477d('0x439')],'msg':_0x643f29[_0x477d('0x451')][_0x477d('0xd67')][_0x192d25][_0x477d('0x452')]});}}else{_0x533703['error']({'title':_0x643f29[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x643f29[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x643f29[_0x477d('0x44d')]:_0x477d('0x1ca0'),'msg':_0x643f29['data']?JSON['stringify'](_0x643f29[_0x477d('0x451')]['message']):_0x643f29[_0x477d('0x453')]()});}});}function _0x15ef45(_0x337207,_0x277f86){var _0x3b9858=_0x101111[_0x477d('0xd78')]()[_0x477d('0x49a')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20interaction?')[_0x477d('0xd92')](''+(_0x337207[_0x477d('0x94')]||_0x337207['id']&&_[_0x477d('0x1367')](_0x477d('0x1368'))+_0x337207['id']||_0x477d('0x1364'))+_0x477d('0xd94')+_0x477d('0xd95'))['ariaLabel'](_0x477d('0x1369'))['targetEvent'](_0x277f86)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x101111[_0x477d('0x395')](_0x3b9858)[_0x477d('0x76')](function(){_0x46dad3(_0x337207);},function(){console[_0x477d('0x7b')]('CANCEL');});}function _0x1eae5c(_0x15cdf9){_0x6e307c[_0x477d('0x1ca1')]=_0x15cdf9||{'count':0x0,'rows':[]};for(var _0x41dd9b=0x0;_0x41dd9b<_0x6e307c[_0x477d('0x1ca1')][_0x477d('0xf2')][_0x477d('0x79')];_0x41dd9b+=0x1){var _0x4c8829=_0x6e307c[_0x477d('0x1ca1')]['rows'][_0x41dd9b];_0x1e8982(_0x4c8829);_0x4c8829['Owner'][_0x477d('0x94')]=_0xa3e0ec(_0x4c8829);}}function _0x5a3355(){_0x6e307c[_0x477d('0x3ef')][_0x477d('0x91c')]=(_0x6e307c['query'][_0x477d('0xe03')]-0x1)*_0x6e307c[_0x477d('0x3ef')]['limit'];_0x6e307c['promise']=_0x452a69[_0x477d('0xac3')][_0x477d('0x376')](_0x6e307c[_0x477d('0x3ef')],_0x1eae5c)['$promise'];}function _0x5019f5(_0x3a7f14,_0x417427){_0x101111[_0x477d('0x395')]({'controller':_0x477d('0x136a'),'controllerAs':'vm','templateUrl':'app/main/apps/mail/views/mailAccounts/edit/interactions/dialog.html','parent':angular['element'](_0x15c817[_0x477d('0x399')]),'targetEvent':_0x3a7f14,'clickOutsideToClose':!![],'locals':{'mailAccount':_0x6e307c['mailAccount'],'interaction':_0x417427,'interactions':_0x6e307c[_0x477d('0x1ca1')][_0x477d('0xf2')],'license':null,'setting':null,'crudPermissions':_0x6e307c[_0x477d('0xd66')]}});}function _0x52885d(_0x2facb9,_0x4ef2d5){_0x101111[_0x477d('0x395')]({'controller':_0x477d('0x136c'),'controllerAs':'vm','templateUrl':_0x477d('0x1956'),'parent':angular[_0x477d('0x398')](_0x15c817[_0x477d('0x399')]),'targetEvent':_0x2facb9,'clickOutsideToClose':!![],'onShowing':function(_0xaf0657,_0x1b8c24){_0xaf0657['vm'][_0x477d('0x5ee')]({'id':0x1,'channel':_0x477d('0x1d6'),'interaction':_0x4ef2d5,'spy':!![]},_0x2b3cb2[_0x477d('0x723')]['vm'][_0x477d('0xc8e')]);}});}function _0x46dad3(_0x449221){_0x452a69[_0x477d('0xac3')]['delete']({'id':_0x449221['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x6e307c[_0x477d('0x1ca1')][_0x477d('0xf2')],{'id':_0x449221['id']});_0x6e307c['mailAccountInteractions']['count']-=0x1;if(!_0x6e307c[_0x477d('0x1ca1')][_0x477d('0xf2')][_0x477d('0x79')]){_0x5a3355();}_0x533703[_0x477d('0x485')]({'title':_0x477d('0x136d'),'msg':_0x449221[_0x477d('0x94')]?_0x449221[_0x477d('0x94')]+_0x477d('0xd7e'):''});})[_0x477d('0xf8')](function(_0x2d5dba){if(_0x2d5dba[_0x477d('0x451')]&&_0x2d5dba['data'][_0x477d('0xd67')]&&_0x2d5dba[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){vm[_0x477d('0xd67')]=_0x2d5dba['data'][_0x477d('0xd67')]||[{'message':_0x2d5dba[_0x477d('0x453')](),'type':_0x477d('0x1ca2')}];for(var _0x2f28c5=0x0;_0x2f28c5<_0x2d5dba[_0x477d('0x451')][_0x477d('0xd67')]['length'];_0x2f28c5++){_0x533703[_0x477d('0x44a')]({'title':_0x2d5dba[_0x477d('0x451')][_0x477d('0xd67')][_0x2f28c5][_0x477d('0x439')],'msg':_0x2d5dba[_0x477d('0x451')]['errors'][_0x2f28c5][_0x477d('0x452')]});}}else{_0x533703['error']({'title':_0x2d5dba[_0x477d('0x3c3')]?'API:'+_0x2d5dba['status']+_0x477d('0x44c')+_0x2d5dba[_0x477d('0x44d')]:_0x477d('0x1ca2'),'msg':_0x2d5dba[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x2d5dba[_0x477d('0x451')]['message']):_0x2d5dba[_0x477d('0x452')]||_0x2d5dba[_0x477d('0x453')]()});}});}function _0x2b96c1(){var _0xa2b3ad=angular[_0x477d('0x6d9')](_0x6e307c[_0x477d('0x1ca3')]);_0x6e307c[_0x477d('0x1ca3')]=[];return _0xa2b3ad;}function _0x197f92(_0x362ae1){var _0x4b4727=_0x101111['confirm']()[_0x477d('0x49a')](_0x477d('0x136e'))[_0x477d('0xd92')](_0x477d('0xd93')+_0x6e307c[_0x477d('0x1ca3')]['length']+_0x477d('0xda0')+_0x477d('0xd95'))['ariaLabel'](_0x477d('0x136f'))[_0x477d('0xd7c')](_0x362ae1)['ok']('OK')[_0x477d('0x4f0')]('CANCEL');_0x101111[_0x477d('0x395')](_0x4b4727)[_0x477d('0x76')](function(){_0x6e307c[_0x477d('0x1ca3')][_0x477d('0x3b1')](function(_0x11e0c2){_0x46dad3(_0x11e0c2);});_0x6e307c[_0x477d('0x1ca3')]=[];});}function _0x1e8982(_0x5829f8){if(!_[_0x477d('0x3b2')](_0x5829f8['to'])&&!_['includes'](_0x5829f8['to'],_0x6e307c[_0x477d('0x1775')][_0x477d('0x1359')])){_0x5829f8[_0x477d('0x1371')]=_0x5829f8['to'][_0x477d('0x472')]('\x20<')[0x0];_0x5829f8[_0x477d('0x1773')]=_0x5829f8['to'][_0x477d('0x472')]('<')[_0x477d('0x569')]()[_0x477d('0x472')]('>')[0x0];}else if(_0x5829f8[_0x477d('0x1370')]){_0x5829f8[_0x477d('0x1371')]=(_0x5829f8[_0x477d('0x1370')][_0x477d('0x1357')]||'')+'\x20'+(_0x5829f8['Contact'][_0x477d('0x1358')]||'');_0x5829f8['contactInfo']=_0x5829f8[_0x477d('0x1370')][_0x477d('0x1359')]||'';}else{_0x5829f8[_0x477d('0x1371')]=_0x385786[_0x477d('0x45f')](_0x477d('0x1ca4'));}}function _0xa3e0ec(_0x543d6c){if(_0x543d6c[_0x477d('0x125b')]){if(_0x543d6c[_0x477d('0x125b')]===_0x6e307c['currentUser']['id']){return _0x385786['instant'](_0x477d('0x1373'));}else{return _0x543d6c[_0x477d('0x1374')][_0x477d('0xcd')]+'\x20<'+_0x543d6c[_0x477d('0x1374')][_0x477d('0x324')]+'>';}}return _0x385786[_0x477d('0x45f')](_0x477d('0x1354'));}var _0x4dc548=!![];var _0x328125=0x1;_0x2b3cb2['$watch'](_0x477d('0x12f3'),function(_0x499ccb,_0x13c14c){if(_0x4dc548){_0x447e78(function(){_0x4dc548=![];});}else{if(!_0x13c14c){_0x328125=_0x6e307c[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x499ccb!==_0x13c14c){_0x6e307c[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0x499ccb){_0x6e307c[_0x477d('0x3ef')][_0x477d('0xe03')]=_0x328125;}_0x5a3355();}});}}());(function(){'use strict';_0x398637[_0x477d('0xa')]=['$cookies',_0x477d('0x474'),'$state','$q','$translate','$timeout',_0x477d('0x384'),_0x477d('0x475'),'toasty',_0x477d('0x386'),'Auth'];angular['module'](_0x477d('0x31'))[_0x477d('0x3ba')](_0x477d('0x1ca5'),_0x398637);function _0x398637(_0x5a34a2,_0x2ba23b,_0x1b2f3c,_0x52dad9,_0x13953b,_0x4ce15b,_0x8b70f1,_0x5b8a91,_0x2a1bfb,_0x16bb2e,_0x261637){var _0x1d043b=this;_0x1d043b[_0x477d('0x3e5')]=_0x261637[_0x477d('0x5c')]();_0x1d043b[_0x477d('0x1775')]={};_0x1d043b[_0x477d('0x1ca6')]={'count':0x0,'rows':[]};_0x1d043b[_0x477d('0x1ca7')]=[];_0x1d043b['crudPermissions'];_0x1d043b['query']={'fields':_0x477d('0x2aa'),'limit':0xa,'page':0x1};_0x1d043b[_0x477d('0x5ee')]=_0x4a6aee;_0x1d043b[_0x477d('0xe66')]=_0x230a34;_0x1d043b['success']=_0x2f7e64;_0x1d043b[_0x477d('0x1ca8')]=_0x154ae4;_0x1d043b[_0x477d('0x1ca9')]=_0x4ea6a6;_0x1d043b[_0x477d('0x1caa')]=_0x368144;_0x1d043b[_0x477d('0x1cab')]=_0x400c6f;_0x1d043b[_0x477d('0x1cac')]=_0x26ee06;function _0x4a6aee(_0x19f4b4,_0x1ce025){_0x1d043b[_0x477d('0x1775')]=_0x19f4b4;_0x1d043b[_0x477d('0xd66')]=typeof _0x1ce025!=='undefined'?_0x1ce025:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x1d043b[_0x477d('0x3ef')][_0x477d('0x14b8')]=_0x1d043b[_0x477d('0x1775')]['id'];_0x1d043b[_0x477d('0x3ef')]['id']=_0x1d043b[_0x477d('0x1775')]['id'];_0x154ae4();}function _0x230a34(_0x23cf2d,_0x4d8f4){var _0x3a91dd=_0x8b70f1[_0x477d('0xd78')]()['title'](_0x477d('0x1cad'))[_0x477d('0xd92')](_0x477d('0xd93')+(_0x23cf2d['name']||_0x23cf2d['id']&&_['upperFirst']('mailCannedAnswer\x20#')+_0x23cf2d['id']||_0x477d('0x1cae'))+_0x477d('0xd94')+'\x20will\x20be\x20deleted.')['ariaLabel'](_0x477d('0x1caf'))[_0x477d('0xd7c')](_0x4d8f4)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x8b70f1[_0x477d('0x395')](_0x3a91dd)[_0x477d('0x76')](function(){_0x400c6f(_0x23cf2d);},function(){console['log']('CANCEL');});}function _0x2f7e64(_0x340994){_0x1d043b[_0x477d('0x1ca6')]=_0x340994||{'count':0x0,'rows':[]};}function _0x154ae4(){_0x1d043b[_0x477d('0x3ef')]['offset']=(_0x1d043b[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x1d043b['query'][_0x477d('0x91d')];_0x1d043b[_0x477d('0x553')]=_0x16bb2e[_0x477d('0x1775')][_0x477d('0x12ed')](_0x1d043b[_0x477d('0x3ef')],_0x2f7e64)['$promise'];}function _0x4ea6a6(_0x35345f,_0x4175fa){_0x8b70f1[_0x477d('0x395')]({'controller':_0x477d('0x1cb0'),'controllerAs':'vm','templateUrl':_0x477d('0x1cb1'),'parent':angular['element'](_0x5b8a91[_0x477d('0x399')]),'targetEvent':_0x35345f,'clickOutsideToClose':!![],'locals':{'mailAccount':_0x1d043b['mailAccount'],'mailCannedAnswer':_0x4175fa,'mailCannedAnswers':_0x1d043b[_0x477d('0x1ca6')][_0x477d('0xf2')],'license':null,'setting':null,'crudPermissions':_0x1d043b[_0x477d('0xd66')]}});}function _0x400c6f(_0x51d888){_0x16bb2e[_0x477d('0xb91')][_0x477d('0xa55')]({'id':_0x51d888['id']})['$promise'][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x1d043b['mailAccountMailCannedAnswers'][_0x477d('0xf2')],{'id':_0x51d888['id']});_0x1d043b[_0x477d('0x1ca6')][_0x477d('0x3bb')]-=0x1;if(!_0x1d043b['mailAccountMailCannedAnswers'][_0x477d('0xf2')][_0x477d('0x79')]){_0x154ae4();}_0x2a1bfb[_0x477d('0x485')]({'title':_0x477d('0x1cb2'),'msg':_0x51d888[_0x477d('0x94')]?_0x51d888[_0x477d('0x94')]+_0x477d('0xd7e'):''});})['catch'](function(_0x1ba246){if(_0x1ba246[_0x477d('0x451')]&&_0x1ba246[_0x477d('0x451')][_0x477d('0xd67')]&&_0x1ba246['data'][_0x477d('0xd67')][_0x477d('0x79')]){vm[_0x477d('0xd67')]=_0x1ba246[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x1ba246[_0x477d('0x453')](),'type':_0x477d('0x1ca2')}];for(var _0x1362ef=0x0;_0x1362ef<_0x1ba246[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x1362ef++){_0x2a1bfb['error']({'title':_0x1ba246[_0x477d('0x451')][_0x477d('0xd67')][_0x1362ef][_0x477d('0x439')],'msg':_0x1ba246[_0x477d('0x451')][_0x477d('0xd67')][_0x1362ef]['message']});}}else{_0x2a1bfb[_0x477d('0x44a')]({'title':_0x1ba246[_0x477d('0x3c3')]?'API:'+_0x1ba246[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x1ba246['statusText']:_0x477d('0x1ca2'),'msg':_0x1ba246[_0x477d('0x451')]?JSON['stringify'](_0x1ba246['data'][_0x477d('0x452')]):_0x1ba246['message']||_0x1ba246[_0x477d('0x453')]()});}});}function _0x368144(){var _0x1ee836=angular['copy'](_0x1d043b[_0x477d('0x1ca7')]);_0x1d043b[_0x477d('0x1ca7')]=[];return _0x1ee836;}function _0x26ee06(_0x4190bd){var _0x3e8e2e=_0x8b70f1['confirm']()[_0x477d('0x49a')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20mailCannedAnswers?')[_0x477d('0xd92')](_0x477d('0xd93')+_0x1d043b[_0x477d('0x1ca7')][_0x477d('0x79')]+_0x477d('0xda0')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x1cb3'))[_0x477d('0xd7c')](_0x4190bd)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x8b70f1['show'](_0x3e8e2e)[_0x477d('0x76')](function(){_0x1d043b['selectedMailAccountMailCannedAnswers'][_0x477d('0x3b1')](function(_0x49aa27){_0x400c6f(_0x49aa27);});_0x1d043b[_0x477d('0x1ca7')]=[];});}var _0x4166e4=!![];var _0x5dd845=0x1;_0x2ba23b[_0x477d('0x4b5')]('vm_dc.query.filter',function(_0x1cd2c3,_0x5d647c){if(_0x4166e4){_0x4ce15b(function(){_0x4166e4=![];});}else{if(!_0x5d647c){_0x5dd845=_0x1d043b['query'][_0x477d('0xe03')];}if(_0x1cd2c3!==_0x5d647c){_0x1d043b['query']['page']=0x1;}if(!_0x1cd2c3){_0x1d043b[_0x477d('0x3ef')][_0x477d('0xe03')]=_0x5dd845;}_0x154ae4();}});}}());(function(){'use strict';_0x46f70a['$inject']=[_0x477d('0x474'),_0x477d('0x3c4'),'$location',_0x477d('0x384'),'$q',_0x477d('0x40d'),_0x477d('0x40e'),_0x477d('0x1cb4'),_0x477d('0x1cae'),'api',_0x477d('0x55'),_0x477d('0x613'),'setting',_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x31'))[_0x477d('0x3ba')](_0x477d('0x1cb0'),_0x46f70a);function _0x46f70a(_0x12c70a,_0x2fae61,_0xd8eb63,_0x13132b,_0x21677e,_0x294500,_0x7af3cc,_0x19ce7d,_0x33a7f6,_0x539adc,_0x425b1e,_0x30d201,_0xb29888,_0x395e6d){var _0x12a8ee=this;_0x12a8ee[_0x477d('0x3e5')]=_0x425b1e[_0x477d('0x5c')]();_0x12a8ee[_0x477d('0xd67')]=[];_0x12a8ee[_0x477d('0xc8e')]=_0xb29888;_0x12a8ee[_0x477d('0x613')]=_0x30d201;_0x12a8ee['crudPermissions']=_0x395e6d;_0x12a8ee[_0x477d('0xd68')]={};_0x12a8ee['passwordPattern']=_0x12a8ee['setting']&&_0x12a8ee['setting'][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x12a8ee[_0x477d('0x49a')]=_0x477d('0x1cb5');_0x12a8ee[_0x477d('0x1cae')]=angular[_0x477d('0x6d9')](_0x33a7f6);_0x12a8ee[_0x477d('0x1cb4')]=_0x19ce7d;_0x12a8ee[_0x477d('0x1cb6')]=![];if(!_0x12a8ee[_0x477d('0x1cae')]){_0x12a8ee[_0x477d('0x1cae')]={};_0x12a8ee[_0x477d('0x49a')]='MAIL.NEW_MAILCANNEDANSWER';_0x12a8ee[_0x477d('0x1cb6')]=!![];}if(_0x2fae61[_0x477d('0x37e')]['id']){_0x12a8ee[_0x477d('0x1cae')][_0x477d('0x14b8')]=_0x2fae61['params']['id'];}_0x12a8ee[_0x477d('0x1cb7')]=_0x299f94;_0x12a8ee['saveMailCannedAnswer']=_0x49fece;_0x12a8ee[_0x477d('0x1cb8')]=_0x18cdfd;_0x12a8ee[_0x477d('0xd6f')]=_0xb52098;_0x12a8ee[_0x477d('0x6bf')]=_0x4eab9c;function _0x299f94(){_0x12a8ee[_0x477d('0xd67')]=[];_0x539adc[_0x477d('0xb91')][_0x477d('0xd70')](_0x12a8ee[_0x477d('0x1cae')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x2dc9b2){_0x12a8ee[_0x477d('0x1cb4')][_0x477d('0x63b')](_0x2dc9b2[_0x477d('0xd71')]());_0x7af3cc['success']({'title':_0x477d('0x1cb9'),'msg':_0x12a8ee[_0x477d('0x1cae')][_0x477d('0x94')]?_0x12a8ee[_0x477d('0x1cae')][_0x477d('0x94')]+'\x20has\x20been\x20created!':''});_0x4eab9c(_0x2dc9b2);})[_0x477d('0xf8')](function(_0x396975){if(_0x396975[_0x477d('0x451')]&&_0x396975[_0x477d('0x451')][_0x477d('0xd67')]&&_0x396975[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x12a8ee['errors']=_0x396975[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x396975[_0x477d('0x453')](),'type':_0x477d('0x12fc')}];for(var _0x4ab901=0x0;_0x4ab901<_0x396975['data'][_0x477d('0xd67')][_0x477d('0x79')];_0x4ab901+=0x1){_0x7af3cc[_0x477d('0x44a')]({'title':_0x396975['data'][_0x477d('0xd67')][_0x4ab901][_0x477d('0x439')],'msg':_0x396975[_0x477d('0x451')]['errors'][_0x4ab901][_0x477d('0x452')]});}}else{_0x7af3cc[_0x477d('0x44a')]({'title':_0x396975['status']?_0x477d('0x44b')+_0x396975[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x396975[_0x477d('0x44d')]:_0x477d('0x12fc'),'msg':_0x396975[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x396975[_0x477d('0x451')][_0x477d('0x452')]):_0x396975[_0x477d('0x453')]()});}});}function _0x49fece(){_0x12a8ee[_0x477d('0xd67')]=[];_0x539adc[_0x477d('0xb91')][_0x477d('0x710')]({'id':_0x12a8ee[_0x477d('0x1cae')]['id']},_0x12a8ee['mailCannedAnswer'])['$promise']['then'](function(_0x55ccbb){var _0xc56ba2=_[_0x477d('0x10a')](_0x12a8ee['mailCannedAnswers'],{'id':_0x55ccbb['id']});if(_0xc56ba2){_[_0x477d('0xef')](_0xc56ba2,_[_0x477d('0x10b')](_0x55ccbb['toJSON'](),_[_0x477d('0x7f')](_0xc56ba2)));}_0x7af3cc[_0x477d('0x485')]({'title':_0x477d('0x1cba'),'msg':_0x12a8ee[_0x477d('0x1cae')]['name']?_0x12a8ee[_0x477d('0x1cae')]['name']+_0x477d('0xd76'):''});_0x4eab9c(_0x55ccbb);})['catch'](function(_0x49f10a){if(_0x49f10a['data']&&_0x49f10a[_0x477d('0x451')][_0x477d('0xd67')]&&_0x49f10a[_0x477d('0x451')]['errors'][_0x477d('0x79')]){_0x12a8ee[_0x477d('0xd67')]=_0x49f10a[_0x477d('0x451')]['errors']||[{'message':_0x49f10a['toString'](),'type':'api.cannedAnswer.update'}];for(var _0x5683ed=0x0;_0x5683ed<_0x49f10a[_0x477d('0x451')][_0x477d('0xd67')]['length'];_0x5683ed++){_0x7af3cc[_0x477d('0x44a')]({'title':_0x49f10a[_0x477d('0x451')][_0x477d('0xd67')][_0x5683ed][_0x477d('0x439')],'msg':_0x49f10a[_0x477d('0x451')][_0x477d('0xd67')][_0x5683ed]['message']});}}else{_0x7af3cc[_0x477d('0x44a')]({'title':_0x49f10a[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x49f10a[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x49f10a['statusText']:_0x477d('0x12fe'),'msg':_0x49f10a['data']?JSON['stringify'](_0x49f10a[_0x477d('0x451')]['message']):_0x49f10a[_0x477d('0x453')]()});}});}function _0x18cdfd(_0x18e814){_0x12a8ee[_0x477d('0xd67')]=[];var _0x3cc540=_0x13132b[_0x477d('0xd78')]()['title'](_0x477d('0xd79'))[_0x477d('0xdaf')](_0x477d('0x1cbb'))['ariaLabel']('Delete\x20MailCannedAnswer')['ok'](_0x477d('0xd7b'))[_0x477d('0x4f0')](_0x477d('0x688'))[_0x477d('0xd7c')](_0x18e814);_0x13132b['show'](_0x3cc540)[_0x477d('0x76')](function(){_0x539adc[_0x477d('0xb91')][_0x477d('0xa55')]({'id':_0x12a8ee[_0x477d('0x1cae')]['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x12a8ee[_0x477d('0x1cb4')],{'id':_0x12a8ee[_0x477d('0x1cae')]['id']});_0x7af3cc[_0x477d('0x485')]({'title':_0x477d('0x1cbc'),'msg':(_0x12a8ee[_0x477d('0x1cae')]['name']||_0x477d('0x1cae'))+_0x477d('0xd7e')});_0x4eab9c(_0x12a8ee['mailCannedAnswer']);})[_0x477d('0xf8')](function(_0x448dfb){if(_0x448dfb[_0x477d('0x451')]&&_0x448dfb['data'][_0x477d('0xd67')]&&_0x448dfb[_0x477d('0x451')][_0x477d('0xd67')]['length']){_0x12a8ee['errors']=_0x448dfb[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x448dfb['toString'](),'type':'api.cannedAnswer.delete'}];for(var _0x22af37=0x0;_0x22af37<_0x448dfb[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x22af37++){_0x7af3cc[_0x477d('0x44a')]({'title':_0x448dfb['data'][_0x477d('0xd67')][_0x22af37][_0x477d('0x439')],'msg':_0x448dfb[_0x477d('0x451')][_0x477d('0xd67')][_0x22af37]['message']});}}else{_0x7af3cc[_0x477d('0x44a')]({'title':_0x448dfb[_0x477d('0x3c3')]?'API:'+_0x448dfb[_0x477d('0x3c3')]+'\x20-\x20'+_0x448dfb[_0x477d('0x44d')]:_0x477d('0x1300'),'msg':_0x448dfb['data']?JSON[_0x477d('0x3fb')](_0x448dfb[_0x477d('0x451')][_0x477d('0x452')]):_0x448dfb[_0x477d('0x452')]||_0x448dfb[_0x477d('0x453')]()});}});},function(){});}function _0xb52098(_0x489be4){return _0x489be4===null?undefined:new Date(_0x489be4);}function _0x4eab9c(_0x443db6){_0x13132b['hide'](_0x443db6);}}}());(function(){'use strict';_0x144cbd[_0x477d('0xa')]=[_0x477d('0x385'),_0x477d('0x474'),_0x477d('0x3c4'),'$q','$translate','$timeout',_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x40e'),_0x477d('0x386'),_0x477d('0x55')];angular['module']('app.mail')[_0x477d('0x3ba')](_0x477d('0x1cbd'),_0x144cbd);function _0x144cbd(_0x216f71,_0x234185,_0x26d78a,_0x16ed6c,_0x63b4e6,_0x33b66c,_0x2ad846,_0x2cdb5f,_0x4ca8f1,_0x50dae1,_0x46a8c3){var _0x14618e=this;_0x14618e[_0x477d('0x3e5')]=_0x46a8c3[_0x477d('0x5c')]();_0x14618e[_0x477d('0x1775')]={};_0x14618e[_0x477d('0x1cbe')]={'count':0x0,'rows':[]};_0x14618e['selectedMailAccountMailDispositions']=[];_0x14618e[_0x477d('0xd66')];_0x14618e[_0x477d('0x3ef')]={'fields':_0x477d('0x2b0'),'limit':0xa,'page':0x1};_0x14618e[_0x477d('0x5ee')]=_0x328c6d;_0x14618e['deleteConfirm']=_0x45c0dd;_0x14618e[_0x477d('0x485')]=_0x339c2c;_0x14618e['getMailAccountMailDispositions']=_0x132cc6;_0x14618e[_0x477d('0x1cbf')]=_0x488faa;_0x14618e[_0x477d('0x1cc0')]=_0x10aafe;_0x14618e[_0x477d('0x1cc1')]=_0x58a352;_0x14618e[_0x477d('0x1cc2')]=_0x4cc1f3;function _0x328c6d(_0x227757,_0x193942){_0x14618e[_0x477d('0x1775')]=_0x227757;_0x14618e[_0x477d('0xd66')]=typeof _0x193942!==_0x477d('0x4a4')?_0x193942:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x14618e[_0x477d('0x3ef')][_0x477d('0x14b8')]=_0x14618e[_0x477d('0x1775')]['id'];_0x14618e[_0x477d('0x3ef')]['id']=_0x14618e[_0x477d('0x1775')]['id'];_0x132cc6();}function _0x45c0dd(_0xb23c66,_0x34e986){var _0x328635=_0x2ad846[_0x477d('0xd78')]()[_0x477d('0x49a')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20mailDisposition?')[_0x477d('0xd92')](_0x477d('0xd93')+(_0xb23c66[_0x477d('0x94')]||_0xb23c66['id']&&_['upperFirst']('mailDisposition\x20#')+_0xb23c66['id']||'mailDisposition')+_0x477d('0xd94')+'\x20will\x20be\x20deleted.')[_0x477d('0x687')](_0x477d('0x1cc3'))[_0x477d('0xd7c')](_0x34e986)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x2ad846[_0x477d('0x395')](_0x328635)['then'](function(){_0x58a352(_0xb23c66);},function(){console[_0x477d('0x7b')](_0x477d('0xd97'));});}function _0x339c2c(_0x583ba7){_0x14618e[_0x477d('0x1cbe')]=_0x583ba7||{'count':0x0,'rows':[]};}function _0x132cc6(){_0x14618e[_0x477d('0x3ef')][_0x477d('0x91c')]=(_0x14618e[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x14618e[_0x477d('0x3ef')][_0x477d('0x91d')];_0x14618e[_0x477d('0x553')]=_0x50dae1['mailAccount']['getDispositions'](_0x14618e['query'],_0x339c2c)[_0x477d('0x38b')];}function _0x488faa(_0x5fd1e1,_0x40a48b){_0x2ad846['show']({'controller':'CreateOrEditMailDispositionDialogController','controllerAs':'vm','templateUrl':_0x477d('0x1cc4'),'parent':angular[_0x477d('0x398')](_0x2cdb5f['body']),'targetEvent':_0x5fd1e1,'clickOutsideToClose':!![],'locals':{'mailAccount':_0x14618e[_0x477d('0x1775')],'mailDisposition':_0x40a48b,'mailDispositions':_0x14618e['mailAccountMailDispositions'][_0x477d('0xf2')],'license':null,'setting':null,'crudPermissions':_0x14618e[_0x477d('0xd66')]}});}function _0x58a352(_0x14f716){_0x50dae1[_0x477d('0xb95')]['delete']({'id':_0x14f716['id']})['$promise'][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x14618e[_0x477d('0x1cbe')][_0x477d('0xf2')],{'id':_0x14f716['id']});_0x14618e[_0x477d('0x1cbe')]['count']-=0x1;if(!_0x14618e[_0x477d('0x1cbe')][_0x477d('0xf2')][_0x477d('0x79')]){_0x132cc6();}_0x4ca8f1[_0x477d('0x485')]({'title':_0x477d('0x1cc5'),'msg':_0x14f716[_0x477d('0x94')]?_0x14f716[_0x477d('0x94')]+_0x477d('0xd7e'):''});})[_0x477d('0xf8')](function(_0x2dfeec){if(_0x2dfeec['data']&&_0x2dfeec['data'][_0x477d('0xd67')]&&_0x2dfeec[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){vm[_0x477d('0xd67')]=_0x2dfeec[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x2dfeec['toString'](),'type':_0x477d('0x1ca2')}];for(var _0x55c092=0x0;_0x55c092<_0x2dfeec[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x55c092++){_0x4ca8f1[_0x477d('0x44a')]({'title':_0x2dfeec[_0x477d('0x451')][_0x477d('0xd67')][_0x55c092]['type'],'msg':_0x2dfeec[_0x477d('0x451')]['errors'][_0x55c092][_0x477d('0x452')]});}}else{_0x4ca8f1[_0x477d('0x44a')]({'title':_0x2dfeec[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x2dfeec[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x2dfeec[_0x477d('0x44d')]:_0x477d('0x1ca2'),'msg':_0x2dfeec[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x2dfeec[_0x477d('0x451')][_0x477d('0x452')]):_0x2dfeec[_0x477d('0x452')]||_0x2dfeec[_0x477d('0x453')]()});}});}function _0x10aafe(){var _0x20942a=angular[_0x477d('0x6d9')](_0x14618e[_0x477d('0x1cc6')]);_0x14618e[_0x477d('0x1cc6')]=[];return _0x20942a;}function _0x4cc1f3(_0x2fb49a){var _0x453404=_0x2ad846[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x1cc7'))[_0x477d('0xd92')](_0x477d('0xd93')+_0x14618e[_0x477d('0x1cc6')]['length']+_0x477d('0xda0')+_0x477d('0xd95'))['ariaLabel'](_0x477d('0x1cc8'))[_0x477d('0xd7c')](_0x2fb49a)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x2ad846[_0x477d('0x395')](_0x453404)[_0x477d('0x76')](function(){_0x14618e['selectedMailAccountMailDispositions']['forEach'](function(_0x2d1e20){_0x58a352(_0x2d1e20);});_0x14618e[_0x477d('0x1cc6')]=[];});}var _0x407e2d=!![];var _0x385baf=0x1;_0x234185[_0x477d('0x4b5')](_0x477d('0x12f3'),function(_0x557fca,_0x413551){if(_0x407e2d){_0x33b66c(function(){_0x407e2d=![];});}else{if(!_0x413551){_0x385baf=_0x14618e[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x557fca!==_0x413551){_0x14618e[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0x557fca){_0x14618e[_0x477d('0x3ef')][_0x477d('0xe03')]=_0x385baf;}_0x132cc6();}});}}());(function(){'use strict';_0x1a8187[_0x477d('0xa')]=[_0x477d('0x474'),'$state',_0x477d('0xd64'),_0x477d('0x384'),'$q','$translate',_0x477d('0x40e'),_0x477d('0x1cc9'),_0x477d('0x1cca'),_0x477d('0x386'),_0x477d('0x55'),_0x477d('0x613'),_0x477d('0xc8e'),'crudPermissions'];angular[_0x477d('0xb')](_0x477d('0x31'))[_0x477d('0x3ba')](_0x477d('0x1ccb'),_0x1a8187);function _0x1a8187(_0x45f637,_0xcc8c6,_0x57844e,_0x5a4151,_0x4176e0,_0x338c37,_0x40547e,_0x13b5f4,_0x5db0f0,_0xae306a,_0x2cbf16,_0x441604,_0xd8c98,_0xa94a45){var _0x402ef5=this;_0x402ef5['currentUser']=_0x2cbf16[_0x477d('0x5c')]();_0x402ef5[_0x477d('0xd67')]=[];_0x402ef5[_0x477d('0xc8e')]=_0xd8c98;_0x402ef5[_0x477d('0x613')]=_0x441604;_0x402ef5['crudPermissions']=_0xa94a45;_0x402ef5[_0x477d('0xd68')]={};_0x402ef5['passwordPattern']=_0x402ef5['setting']&&_0x402ef5[_0x477d('0xc8e')]['securePassword']?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x402ef5[_0x477d('0x49a')]=_0x477d('0x1ccc');_0x402ef5[_0x477d('0x1cca')]=angular[_0x477d('0x6d9')](_0x5db0f0);_0x402ef5[_0x477d('0x1cc9')]=_0x13b5f4;_0x402ef5[_0x477d('0x1ccd')]=![];if(!_0x402ef5[_0x477d('0x1cca')]){_0x402ef5[_0x477d('0x1cca')]={};_0x402ef5['title']=_0x477d('0x1cce');_0x402ef5['newMailDisposition']=!![];}if(_0xcc8c6[_0x477d('0x37e')]['id']){_0x402ef5[_0x477d('0x1cca')][_0x477d('0x14b8')]=_0xcc8c6[_0x477d('0x37e')]['id'];}_0x402ef5[_0x477d('0x1ccf')]=_0x256d43;_0x402ef5['saveMailDisposition']=_0x1c967e;_0x402ef5[_0x477d('0x1cd0')]=_0x1f644d;_0x402ef5[_0x477d('0xd6f')]=_0x3f9197;_0x402ef5[_0x477d('0x6bf')]=_0x916c8a;function _0x256d43(){_0x402ef5[_0x477d('0xd67')]=[];_0xae306a[_0x477d('0xb95')][_0x477d('0xd70')](_0x402ef5['mailDisposition'])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x373ac4){_0x402ef5[_0x477d('0x1cc9')]['unshift'](_0x373ac4[_0x477d('0xd71')]());_0x40547e[_0x477d('0x485')]({'title':_0x477d('0x1cd1'),'msg':_0x402ef5[_0x477d('0x1cca')][_0x477d('0x94')]?_0x402ef5['mailDisposition'][_0x477d('0x94')]+_0x477d('0xd73'):''});_0x916c8a(_0x373ac4);})['catch'](function(_0x399fd0){if(_0x399fd0[_0x477d('0x451')]&&_0x399fd0[_0x477d('0x451')][_0x477d('0xd67')]&&_0x399fd0[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x402ef5[_0x477d('0xd67')]=_0x399fd0[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x399fd0[_0x477d('0x453')](),'type':_0x477d('0x1314')}];for(var _0x1d7420=0x0;_0x1d7420<_0x399fd0['data']['errors'][_0x477d('0x79')];_0x1d7420+=0x1){_0x40547e[_0x477d('0x44a')]({'title':_0x399fd0[_0x477d('0x451')]['errors'][_0x1d7420][_0x477d('0x439')],'msg':_0x399fd0[_0x477d('0x451')][_0x477d('0xd67')][_0x1d7420][_0x477d('0x452')]});}}else{_0x40547e[_0x477d('0x44a')]({'title':_0x399fd0[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x399fd0[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x399fd0['statusText']:_0x477d('0x1314'),'msg':_0x399fd0['data']?JSON[_0x477d('0x3fb')](_0x399fd0[_0x477d('0x451')][_0x477d('0x452')]):_0x399fd0[_0x477d('0x453')]()});}});}function _0x1c967e(){_0x402ef5[_0x477d('0xd67')]=[];_0xae306a[_0x477d('0xb95')][_0x477d('0x710')]({'id':_0x402ef5[_0x477d('0x1cca')]['id']},_0x402ef5[_0x477d('0x1cca')])[_0x477d('0x38b')]['then'](function(_0x25240e){var _0xfdb06b=_[_0x477d('0x10a')](_0x402ef5[_0x477d('0x1cc9')],{'id':_0x25240e['id']});if(_0xfdb06b){_[_0x477d('0xef')](_0xfdb06b,_[_0x477d('0x10b')](_0x25240e['toJSON'](),_[_0x477d('0x7f')](_0xfdb06b)));}_0x40547e[_0x477d('0x485')]({'title':_0x477d('0x1cd2'),'msg':_0x402ef5[_0x477d('0x1cca')][_0x477d('0x94')]?_0x402ef5[_0x477d('0x1cca')][_0x477d('0x94')]+'\x20has\x20been\x20saved!':''});_0x916c8a(_0x25240e);})[_0x477d('0xf8')](function(_0x2e86e1){if(_0x2e86e1[_0x477d('0x451')]&&_0x2e86e1['data'][_0x477d('0xd67')]&&_0x2e86e1[_0x477d('0x451')]['errors'][_0x477d('0x79')]){_0x402ef5['errors']=_0x2e86e1[_0x477d('0x451')]['errors']||[{'message':_0x2e86e1[_0x477d('0x453')](),'type':_0x477d('0x1316')}];for(var _0x906cd1=0x0;_0x906cd1<_0x2e86e1[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x906cd1++){_0x40547e['error']({'title':_0x2e86e1[_0x477d('0x451')]['errors'][_0x906cd1]['type'],'msg':_0x2e86e1['data'][_0x477d('0xd67')][_0x906cd1][_0x477d('0x452')]});}}else{_0x40547e[_0x477d('0x44a')]({'title':_0x2e86e1[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x2e86e1['status']+_0x477d('0x44c')+_0x2e86e1[_0x477d('0x44d')]:_0x477d('0x1316'),'msg':_0x2e86e1[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x2e86e1['data']['message']):_0x2e86e1[_0x477d('0x453')]()});}});}function _0x1f644d(_0x25dd36){_0x402ef5[_0x477d('0xd67')]=[];var _0x2d8067=_0x5a4151[_0x477d('0xd78')]()['title']('Are\x20you\x20sure?')[_0x477d('0xdaf')](_0x477d('0x1cd3'))['ariaLabel'](_0x477d('0x1cd4'))['ok'](_0x477d('0xd7b'))[_0x477d('0x4f0')](_0x477d('0x688'))['targetEvent'](_0x25dd36);_0x5a4151['show'](_0x2d8067)[_0x477d('0x76')](function(){_0xae306a[_0x477d('0xb95')][_0x477d('0xa55')]({'id':_0x402ef5[_0x477d('0x1cca')]['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x402ef5['mailDispositions'],{'id':_0x402ef5['mailDisposition']['id']});_0x40547e[_0x477d('0x485')]({'title':_0x477d('0x1cd5'),'msg':(_0x402ef5['mailDisposition'][_0x477d('0x94')]||'mailDisposition')+_0x477d('0xd7e')});_0x916c8a(_0x402ef5['mailDisposition']);})[_0x477d('0xf8')](function(_0x4e3582){if(_0x4e3582[_0x477d('0x451')]&&_0x4e3582['data'][_0x477d('0xd67')]&&_0x4e3582['data']['errors']['length']){_0x402ef5[_0x477d('0xd67')]=_0x4e3582[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x4e3582[_0x477d('0x453')](),'type':'api.disposition.delete'}];for(var _0x45a619=0x0;_0x45a619<_0x4e3582['data']['errors']['length'];_0x45a619++){_0x40547e['error']({'title':_0x4e3582[_0x477d('0x451')]['errors'][_0x45a619][_0x477d('0x439')],'msg':_0x4e3582['data'][_0x477d('0xd67')][_0x45a619]['message']});}}else{_0x40547e[_0x477d('0x44a')]({'title':_0x4e3582[_0x477d('0x3c3')]?'API:'+_0x4e3582[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x4e3582['statusText']:_0x477d('0x1318'),'msg':_0x4e3582[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x4e3582['data']['message']):_0x4e3582['message']||_0x4e3582[_0x477d('0x453')]()});}});},function(){});}function _0x3f9197(_0x198241){return _0x198241===null?undefined:new Date(_0x198241);}function _0x916c8a(_0x2a5e2b){_0x5a4151[_0x477d('0x3bc')](_0x2a5e2b);}}}());(function(){'use strict';_0x216bc7['$inject']=[_0x477d('0x3c4'),'$location',_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x40d'),_0x477d('0x613'),'setting',_0x477d('0x386'),_0x477d('0x40e'),_0x477d('0x55'),_0x477d('0x1775'),_0x477d('0x3ac')];angular[_0x477d('0xb')](_0x477d('0x31'))[_0x477d('0x3ba')](_0x477d('0x1cd6'),_0x216bc7);function _0x216bc7(_0x22a15a,_0x436415,_0x528edb,_0x22d832,_0x100dc7,_0xffa5a1,_0xc649f,_0xa8f612,_0x527879,_0xe4a34c,_0x256fcc,_0x1fa1d9){var _0x5d9fdd=this;_0x5d9fdd[_0x477d('0x3e5')]=_0xe4a34c[_0x477d('0x5c')]();_0x5d9fdd[_0x477d('0x613')]=_0xffa5a1;_0x5d9fdd[_0x477d('0xc8e')]=_0xc649f;_0x5d9fdd[_0x477d('0xd69')]=_0x5d9fdd[_0x477d('0xc8e')][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x5d9fdd[_0x477d('0x3cc')]=_0x436415['protocol']()+_0x477d('0x1209')+_0x436415['host']();_0x5d9fdd[_0x477d('0x1775')]=_0x256fcc||_0x22a15a[_0x477d('0x37e')][_0x477d('0x1775')]||{};_0x5d9fdd['userProfileSection']=_0x1fa1d9&&_0x1fa1d9[_0x477d('0x3bb')]==0x1?_0x1fa1d9['rows'][0x0]:null;_0x5d9fdd['crudPermissions']=_0xe4a34c['parseCrudPermissions'](_0x5d9fdd[_0x477d('0x3ac')]?_0x5d9fdd[_0x477d('0x3ac')][_0x477d('0xd66')]:null);_0x5d9fdd['hasModulePermissions']={};_0x5d9fdd[_0x477d('0xe95')]=_0x22a15a[_0x477d('0x37e')][_0x477d('0xe96')]||0x0;_0x5d9fdd[_0x477d('0x1443')]=_0x5c09e9;_0x5d9fdd[_0x477d('0x1222')]=_0x3fa97e;_0x5d9fdd[_0x477d('0x120a')]=_0x527879[_0x477d('0x669')];_0x5d9fdd[_0x477d('0x1cd7')]=_0x4f8c0f;_0x5d9fdd[_0x477d('0x1c73')]=_0x4c831d;_0xe4a34c[_0x477d('0x56')]('admin')?_0xa8f612['cmList'][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94')})['$promise']['then'](function(_0x5112e7){_0x5d9fdd['lists']=_0x5112e7['rows']||[];})[_0x477d('0xf8')](function(_0x1aee03){_0x527879[_0x477d('0x44a')]({'title':_0x1aee03['status']?_0x477d('0x44b')+_0x1aee03[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x1aee03[_0x477d('0x44d')]:'SYSTEM:GET_LISTS','msg':_0x1aee03[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x1aee03[_0x477d('0x451')]):_0x1aee03[_0x477d('0x453')]()});}):_0xa8f612[_0x477d('0xe3f')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94')})[_0x477d('0x38b')]['then'](function(_0x175100){_0x5d9fdd[_0x477d('0xf1')]=_0x175100['rows']||[];})[_0x477d('0x76')](function(){return _0xa8f612['userProfileSection'][_0x477d('0x376')]({'userProfileId':_0x5d9fdd[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x12d})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x376e83){var _0x48e479=_0x376e83&&_0x376e83[_0x477d('0xf2')]?_0x376e83['rows'][0x0]:null;if(!_0x48e479){var _0x281521=[];var _0x5dfacf=null;if(_0x5d9fdd[_0x477d('0x1775')]){_0x5dfacf=_['find'](_0x5d9fdd['lists'],{'id':Number(_0x5d9fdd[_0x477d('0x1775')][_0x477d('0x1229')])});}for(var _0x2b63dc=0x0;_0x2b63dc<_0x5d9fdd['lists'][_0x477d('0x79')];_0x2b63dc++){if(_0x5dfacf&&_0x5d9fdd[_0x477d('0xf1')][_0x2b63dc]['id']===_0x5dfacf['id']){_0x5d9fdd[_0x477d('0xf1')][_0x2b63dc]['canSelect']=![];_0x281521[_0x477d('0x3a7')](_0x5d9fdd[_0x477d('0xf1')][_0x2b63dc]);}}_0x5d9fdd[_0x477d('0xf1')]=_0x281521;}else{if(!_0x48e479[_0x477d('0x3ad')]){return _0xa8f612[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x48e479['id']})[_0x477d('0x38b')]['then'](function(_0x3e4302){var _0x188117=_[_0x477d('0x3cb')](_0x3e4302[_0x477d('0xf2')],function(_0x41f516){return _['find'](_0x5d9fdd[_0x477d('0xf1')],{'id':_0x41f516[_0x477d('0x3af')]});});var _0x53d748=null;if(_0x5d9fdd[_0x477d('0x1775')]){_0x53d748=_[_0x477d('0x10a')](_0x5d9fdd[_0x477d('0xf1')],{'id':Number(_0x5d9fdd[_0x477d('0x1775')][_0x477d('0x1229')])});}if(_0x53d748&&!_[_0x477d('0x3ab')](_0x188117,['id',_0x53d748['id']])){var _0x108487=_['find'](_0x5d9fdd[_0x477d('0xf1')],{'id':_0x53d748['id']});_0x108487[_0x477d('0xf8b')]=![];_0x188117[_0x477d('0x3a7')](_0x108487);}_0x5d9fdd['lists']=_0x188117;});}}})[_0x477d('0xf8')](function(_0x4ba627){_0x527879[_0x477d('0x44a')]({'title':_0x4ba627[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x4ba627['status']+'\x20-\x20'+_0x4ba627['statusText']:_0x477d('0x122a'),'msg':_0x4ba627[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x4ba627[_0x477d('0x451')]):_0x4ba627[_0x477d('0x453')]()});});_0xe4a34c[_0x477d('0x56')](_0x477d('0x5f'))?_0xa8f612[_0x477d('0x657')][_0x477d('0x376')]({'fields':_0x477d('0x13b2'),'sort':'name','nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x4251b1){_0x5d9fdd[_0x477d('0xf39')]=_0x4251b1[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x4c9b78){_0x527879[_0x477d('0x44a')]({'title':_0x4c9b78[_0x477d('0x3c3')]?'API:'+_0x4c9b78['status']+_0x477d('0x44c')+_0x4c9b78[_0x477d('0x44d')]:_0x477d('0x13b3'),'msg':_0x4c9b78[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x4c9b78[_0x477d('0x451')]):_0x4c9b78['toString']()});}):_0xa8f612[_0x477d('0x657')][_0x477d('0x376')]({'fields':_0x477d('0x13b2'),'sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})['$promise'][_0x477d('0x76')](function(_0x5cc72b){_0x5d9fdd[_0x477d('0xf39')]=_0x5cc72b[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0xa8f612[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x5d9fdd[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x3ed})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x2ceeea){var _0x4aca2f=_0x2ceeea&&_0x2ceeea[_0x477d('0xf2')]?_0x2ceeea[_0x477d('0xf2')][0x0]:null;if(!_0x4aca2f){_0x5d9fdd['pauses']=[];}else{if(!_0x4aca2f[_0x477d('0x3ad')]){return _0xa8f612['userProfileResource'][_0x477d('0x376')]({'sectionId':_0x4aca2f['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x1de710){var _0x5746d1=_[_0x477d('0x3cb')](_0x1de710[_0x477d('0xf2')],function(_0x1b5945){return _[_0x477d('0x10a')](_0x5d9fdd['pauses'],{'id':_0x1b5945[_0x477d('0x3af')]});});_0x5d9fdd[_0x477d('0xf39')]['forEach'](function(_0x195b5c){if(!_[_0x477d('0x3ab')](_0x5746d1,['id',_0x195b5c['id']])){_0x195b5c[_0x477d('0xf8b')]=![];}_0x5746d1[_0x477d('0x3a7')](_0x195b5c);});_0x5d9fdd['pauses']=_0x5746d1;});}}})[_0x477d('0xf8')](function(_0x17e19f){_0x527879[_0x477d('0x44a')]({'title':_0x17e19f['status']?'API:'+_0x17e19f[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x17e19f[_0x477d('0x44d')]:_0x477d('0x1958'),'msg':_0x17e19f['data']?JSON[_0x477d('0x3fb')](_0x17e19f[_0x477d('0x451')]):_0x17e19f[_0x477d('0x453')]()});});function _0x5c09e9(_0x1ba0cb,_0xafdcdc){if(_0xe4a34c[_0x477d('0x56')](_0x477d('0x5f'))){_0x22a15a['go'](_0x477d('0x1ee'),{});}else{return _0xa8f612['userProfileSection'][_0x477d('0x376')]({'userProfileId':_0xe4a34c[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0x262})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x2cfaf0){var _0x468766=_0x2cfaf0&&_0x2cfaf0[_0x477d('0xf2')]?_0x2cfaf0[_0x477d('0xf2')][0x0]:null;if(_0x468766&&_0x468766[_0x477d('0x3b4')]){_0x22a15a['go'](_0x477d('0x1ee'),{});}else{_0x527879[_0x477d('0x669')]({'title':_0x100dc7[_0x477d('0x45f')](_0x477d('0x119d')),'msg':_0x100dc7['instant'](_0x477d('0x142f'))});}})[_0x477d('0xf8')](function(_0x5abcc4){_0x527879[_0x477d('0x44a')]({'title':_0x5abcc4['status']?_0x477d('0x44b')+_0x5abcc4[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x5abcc4[_0x477d('0x44d')]:_0x477d('0x11df'),'msg':_0x5abcc4[_0x477d('0x3c3')]?JSON[_0x477d('0x3fb')](_0x5abcc4[_0x477d('0x451')]):_0x5abcc4[_0x477d('0x453')]()});});}}function _0x3fa97e(_0x16cdd6,_0x245017){_0x528edb[_0x477d('0x395')]({'controller':_0x477d('0x1c88'),'controllerAs':'vm','templateUrl':_0x477d('0x1cd8'),'parent':angular[_0x477d('0x398')](_0x22d832[_0x477d('0x399')]),'targetEvent':_0x245017,'clickOutsideToClose':!![],'locals':{'mailAccount':_0x16cdd6,'mailAccounts':_0x5d9fdd[_0x477d('0xf33')]?_0x5d9fdd[_0x477d('0xf33')][_0x477d('0xf2')]:[],'crudPermissions':_0x5d9fdd[_0x477d('0xd66')],'realtime':![]}});}function _0x4f8c0f(){_0x22a15a['go']('app.mail.mailAccounts',{},{'reload':_0x477d('0x1da')});}function _0x4c831d(){_0xa8f612['mailAccount'][_0x477d('0x710')]({'id':_0x5d9fdd['mailAccount']['id']},_0x5d9fdd['mailAccount'])['$promise'][_0x477d('0x76')](function(){_0x527879[_0x477d('0x485')]({'title':_0x477d('0x1cd9'),'msg':_0x5d9fdd['mailAccount'][_0x477d('0x94')]?_0x5d9fdd[_0x477d('0x1775')][_0x477d('0x94')]+_0x477d('0xed7'):''});})[_0x477d('0xf8')](function(_0x3ccc47){_0x527879[_0x477d('0x44a')]({'title':_0x3ccc47[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x3ccc47[_0x477d('0x3c3')]+'\x20-\x20'+_0x3ccc47['statusText']:_0x477d('0x1ca2'),'msg':_0x3ccc47[_0x477d('0x451')]?JSON['stringify'](_0x3ccc47[_0x477d('0x451')]):_0x3ccc47['toString']()});});}}}());(function(){'use strict';_0x2e7eca['$inject']=['$scope','$window',_0x477d('0x3c4'),_0x477d('0x554'),_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x3fe'),_0x477d('0x40d'),_0x477d('0xf33'),'userProfile',_0x477d('0x3ac'),_0x477d('0x386'),_0x477d('0x342'),_0x477d('0x40e'),_0x477d('0x55'),'license','setting'];angular[_0x477d('0xb')](_0x477d('0x31'))[_0x477d('0x3ba')]('MailAccountsController',_0x2e7eca);function _0x2e7eca(_0x4c9742,_0x1a1a40,_0x4f3a95,_0x59630d,_0x3c9432,_0x18b4c9,_0x2fad46,_0x216fa8,_0x242675,_0x469a81,_0x12bae1,_0x409ed3,_0x4aea82,_0x39f940,_0x4c16c5,_0x11fdd2,_0x4bf7d){var _0x482f63=this;_0x482f63['license']=_0x11fdd2;_0x482f63['setting']=_0x4bf7d;_0x482f63[_0x477d('0x3e5')]=_0x4c16c5[_0x477d('0x5c')]();_0x482f63[_0x477d('0xf33')]=_0x242675||{'count':0x0,'rows':[]};_0x482f63[_0x477d('0x3a5')]=_0x469a81;_0x482f63['userProfileSection']=_0x12bae1&&_0x12bae1[_0x477d('0x3bb')]==0x1?_0x12bae1[_0x477d('0xf2')][0x0]:null;_0x482f63['crudPermissions']=_0x4c16c5[_0x477d('0xd81')](_0x482f63[_0x477d('0x3ac')]?_0x482f63[_0x477d('0x3ac')][_0x477d('0xd66')]:null);_0x482f63[_0x477d('0xd82')]='mailAccounts';_0x482f63[_0x477d('0xd83')]='';_0x482f63['listOrderAsc']=null;_0x482f63['selectedMailAccounts']=[];_0x482f63[_0x477d('0x3ef')]={'fields':'createdAt,updatedAt,id,name,key,email,ListId,active,cservice,Imap.service,Imap.host,Imap.port,Imap.tls,Imap.authentication,Imap.user,Imap.password,Imap.mailbox,Imap.connTimeout,Imap.authTimeout,Smtp.service,Smtp.host,Smtp.port,Smtp.secure,Smtp.authentication,Smtp.user,Smtp.pass,cauthentication,cuser,cpassword,fontFamily,fontSize,template,markAsUnread,waitForTheAssignedAgent,mandatoryDisposition,mandatoryDispositionPauseId,description,notificationSound,notificationShake,notificationTemplate,queueTransfer,queueTransferTimeout,agentTransfer,agentTransferTimeout','sort':_0x477d('0x59'),'limit':0xa,'page':0x1};_0x482f63['arraycservice']=_['keyBy']([{'option':_0x477d('0x1cda'),'value':'null'},{'option':_0x477d('0x1cdb'),'value':'\x27gmail\x27'},{'option':'Hotmail','value':_0x477d('0x1cdc')},{'option':_0x477d('0x1cdd'),'value':'\x27yahoo\x27'},{'option':_0x477d('0x1cde'),'value':'\x27outlook365\x27'}],function(_0x4fa989){return _[_0x477d('0x409')](_0x4fa989['value'],new RegExp('\x27','g'),'');});_0x482f63[_0x477d('0x1cdf')]=_['keyBy']([{'option':_0x477d('0x1cda'),'value':_0x477d('0xea')},{'option':_0x477d('0x1cdb'),'value':_0x477d('0x1ce0')},{'option':_0x477d('0x1ce1'),'value':'\x27hotmail\x27'},{'option':_0x477d('0x1cdd'),'value':_0x477d('0x1ce2')},{'option':_0x477d('0x1cde'),'value':_0x477d('0x1ce3')}],function(_0x215032){return _[_0x477d('0x409')](_0x215032[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x482f63[_0x477d('0x1ce4')]=_[_0x477d('0xdb5')]([{'option':'Custom','value':_0x477d('0xea')},{'option':'Gmail','value':_0x477d('0x1ce0')},{'option':'Hotmail','value':_0x477d('0x1cdc')},{'option':_0x477d('0x1cdd'),'value':_0x477d('0x1ce2')},{'option':_0x477d('0x1cde'),'value':'\x27outlook365\x27'}],function(_0x548e7a){return _['replace'](_0x548e7a[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x482f63[_0x477d('0xea6')]=_0xf2e83c;_0x482f63['verifysmtpverifysmtp']=_0x568484;_0x482f63[_0x477d('0x1971')]=_0x50aeea;_0x482f63[_0x477d('0x11d5')]=_0x4f094f;_0x482f63['agentadddialog']=_0x21c8f1;_0x482f63[_0x477d('0xd88')]=_0x4a6882;_0x482f63[_0x477d('0x485')]=_0x5211f0;_0x482f63[_0x477d('0x1604')]=_0xc28437;_0x482f63['createOrEditMailAccount']=_0x5046dd;_0x482f63[_0x477d('0x1c74')]=_0x284287;_0x482f63[_0x477d('0x1ce5')]=_0x1ef6e7;_0x482f63[_0x477d('0x1ce6')]=_0x4c5ed5;_0x482f63[_0x477d('0x1ce7')]=_0x30b431;_0x482f63[_0x477d('0x1ce8')]=_0x3c8044;_0x4c16c5[_0x477d('0x56')](_0x477d('0x5f'))?_0x409ed3[_0x477d('0xe3f')]['get']({'fields':_0x477d('0x9c'),'sort':'name'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x270282){_0x482f63[_0x477d('0xf1')]=_0x270282[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x298fac){_0x39f940[_0x477d('0x44a')]({'title':_0x298fac['status']?_0x477d('0x44b')+_0x298fac['status']+_0x477d('0x44c')+_0x298fac[_0x477d('0x44d')]:_0x477d('0x1228'),'msg':_0x298fac[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x298fac[_0x477d('0x451')]):_0x298fac[_0x477d('0x453')]()});}):_0x409ed3[_0x477d('0xe3f')]['get']({'fields':'id,name','sort':_0x477d('0x94')})['$promise']['then'](function(_0x39d49c){_0x482f63[_0x477d('0xf1')]=_0x39d49c[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x409ed3['userProfileSection'][_0x477d('0x376')]({'userProfileId':_0x482f63[_0x477d('0x3e5')]['userProfileId'],'sectionId':0x12d})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x3a0de5){var _0x556c70=_0x3a0de5&&_0x3a0de5[_0x477d('0xf2')]?_0x3a0de5[_0x477d('0xf2')][0x0]:null;if(!_0x556c70){var _0x538f56=[];var _0x3903d8=null;if(_0x482f63[_0x477d('0x1775')]){_0x3903d8=_['find'](_0x482f63[_0x477d('0xf1')],{'id':Number(_0x482f63[_0x477d('0x1775')][_0x477d('0x1229')])});}for(var _0x26a942=0x0;_0x26a942<_0x482f63[_0x477d('0xf1')][_0x477d('0x79')];_0x26a942++){if(_0x3903d8&&_0x482f63[_0x477d('0xf1')][_0x26a942]['id']===_0x3903d8['id']){_0x482f63[_0x477d('0xf1')][_0x26a942][_0x477d('0xf8b')]=![];_0x538f56[_0x477d('0x3a7')](_0x482f63[_0x477d('0xf1')][_0x26a942]);}}_0x482f63[_0x477d('0xf1')]=_0x538f56;}else{if(!_0x556c70[_0x477d('0x3ad')]){return _0x409ed3['userProfileResource'][_0x477d('0x376')]({'sectionId':_0x556c70['id']})['$promise'][_0x477d('0x76')](function(_0x4ba314){var _0x546c04=_[_0x477d('0x3cb')](_0x4ba314[_0x477d('0xf2')],function(_0x240034){return _[_0x477d('0x10a')](_0x482f63[_0x477d('0xf1')],{'id':_0x240034[_0x477d('0x3af')]});});var _0x986543=null;if(_0x482f63[_0x477d('0x1775')]){_0x986543=_[_0x477d('0x10a')](_0x482f63[_0x477d('0xf1')],{'id':Number(_0x482f63[_0x477d('0x1775')][_0x477d('0x1229')])});}if(_0x986543&&!_[_0x477d('0x3ab')](_0x546c04,['id',_0x986543['id']])){var _0x547fb9=_[_0x477d('0x10a')](_0x482f63['lists'],{'id':_0x986543['id']});_0x547fb9[_0x477d('0xf8b')]=![];_0x546c04[_0x477d('0x3a7')](_0x547fb9);}_0x482f63['lists']=_0x546c04;});}}})[_0x477d('0xf8')](function(_0x593537){_0x39f940[_0x477d('0x44a')]({'title':_0x593537[_0x477d('0x3c3')]?'API:'+_0x593537[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x593537[_0x477d('0x44d')]:_0x477d('0x122a'),'msg':_0x593537[_0x477d('0x451')]?JSON['stringify'](_0x593537[_0x477d('0x451')]):_0x593537[_0x477d('0x453')]()});});function _0xf2e83c(_0x4b646d,_0x58fd3c){_0x4f3a95['go'](_0x477d('0x1de'),{'id':_0x4b646d['id'],'mailAccount':_0x4b646d,'crudPermissions':_0x482f63[_0x477d('0xd66')]});}function _0x568484(_0x358729,_0x3a5842){if(_0x358729&&_0x358729['id']){return _0x409ed3[_0x477d('0x1775')]['verifySmtp']({'id':_0x358729['id']})['$promise']['then'](function(){_0x39f940[_0x477d('0x485')]({'title':_0x477d('0x1ce9'),'msg':_0x477d('0xf0a')});})[_0x477d('0xf8')](function(_0x3dc25f){_0x39f940[_0x477d('0x44a')]({'title':_0x477d('0x1ce9'),'msg':_0x3dc25f[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x3dc25f[_0x477d('0x451')]):_0x3dc25f['toString']()});});}else{_0x39f940['error']({'title':'Smtp\x20properly\x20verified','msg':_0x477d('0x1cea')});}}function _0x50aeea(_0x47255d,_0xa76baa){_0x4f3a95['go']('app.mail.mailAccounts.edit',{'id':_0x47255d['id'],'tab':0x7});}function _0x4f094f(_0x5809fb,_0x2f5d90){if(_0x4c16c5[_0x477d('0x56')]('admin')){_0x4f3a95['go']('app.mail.realtime.accounts',{});}else{return _0x409ed3[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x4c16c5[_0x477d('0x5c')]()['userProfileId'],'sectionId':0x262})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x1f56c1){var _0x52b65a=_0x1f56c1&&_0x1f56c1[_0x477d('0xf2')]?_0x1f56c1[_0x477d('0xf2')][0x0]:null;if(_0x52b65a&&_0x52b65a[_0x477d('0x3b4')]){_0x4f3a95['go'](_0x477d('0x1ee'),{});}else{_0x39f940[_0x477d('0x669')]({'title':_0x216fa8['instant']('STAFF.PERMISSIONS_UNAUTHORIZED_REDIRECT_TITLE'),'msg':_0x216fa8[_0x477d('0x45f')](_0x477d('0x142f'))});}})[_0x477d('0xf8')](function(_0x48bf8d){_0x39f940[_0x477d('0x44a')]({'title':_0x48bf8d[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x48bf8d[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x48bf8d[_0x477d('0x44d')]:_0x477d('0x11df'),'msg':_0x48bf8d[_0x477d('0x3c3')]?JSON[_0x477d('0x3fb')](_0x48bf8d[_0x477d('0x451')]):_0x48bf8d[_0x477d('0x453')]()});});}}function _0x21c8f1(_0xbb1067,_0x5af244){_0x3c9432[_0x477d('0x395')]({'controller':'MailAccountagentaddController','controllerAs':'vm','templateUrl':'app/main/apps/mail/views/mailAccounts/edit/agentadd/agentadd.html','parent':angular['element'](_0x18b4c9[_0x477d('0x399')]),'targetEvent':_0x5af244,'clickOutsideToClose':!![],'locals':{'mailAccount':_0xbb1067,'mailAccounts':_0x482f63[_0x477d('0xf33')]?_0x482f63['mailAccounts'][_0x477d('0xf2')]:[],'crudPermissions':_0x482f63[_0x477d('0xd66')],'realtime':![]}});}function _0x4a6882(_0x22b9dd,_0x2af92a){var _0x446313=_0x3c9432[_0x477d('0xd78')]()['title'](_0x477d('0xd90')+_[_0x477d('0xd91')](_0x477d('0x1775'))+'?')['htmlContent'](''+(_0x22b9dd[_0x477d('0x94')]||'mailAccount')+_0x477d('0xd94')+_0x477d('0xd95'))[_0x477d('0x687')]('delete\x20mailAccount')[_0x477d('0xd7c')](_0x2af92a)['ok']('OK')['cancel'](_0x477d('0xd97'));_0x3c9432[_0x477d('0x395')](_0x446313)[_0x477d('0x76')](function(){_0x284287(_0x22b9dd);},function(){console[_0x477d('0x7b')](_0x477d('0xd97'));});}var _0xb1b135=!![];var _0x886108=0x1;_0x4c9742[_0x477d('0x4b5')]('vm.query.filter',function(_0x196bc1,_0x394bb1){if(_0xb1b135){_0x2fad46(function(){_0xb1b135=![];});}else{if(!_0x394bb1){_0x886108=_0x482f63[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x196bc1!==_0x394bb1){_0x482f63[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0x196bc1){_0x482f63[_0x477d('0x3ef')][_0x477d('0xe03')]=_0x886108;}_0x482f63[_0x477d('0x1604')]();}});function _0x5211f0(_0x1db143){_0x482f63['mailAccounts']=_0x1db143||{'count':0x0,'rows':[]};}function _0xc28437(){_0x482f63[_0x477d('0x3ef')]['offset']=(_0x482f63[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x482f63['query'][_0x477d('0x91d')];if(_0x4c16c5[_0x477d('0x56')]('admin')){_0x482f63[_0x477d('0x553')]=_0x409ed3[_0x477d('0x1775')][_0x477d('0x376')](_0x482f63[_0x477d('0x3ef')],_0x5211f0)[_0x477d('0x38b')];}else{_0x482f63[_0x477d('0x3ef')]['id']=_0x482f63[_0x477d('0x3a5')]['id'];_0x482f63[_0x477d('0x3ef')][_0x477d('0xd99')]=_0x477d('0xa7');_0x482f63['promise']=_0x409ed3[_0x477d('0x3a5')][_0x477d('0xd9a')](_0x482f63[_0x477d('0x3ef')],_0x5211f0)[_0x477d('0x38b')];}}function _0x5046dd(_0x9a53b8,_0xb8bba2){_0x3c9432[_0x477d('0x395')]({'controller':'CreateOrEditMailAccountDialogController','controllerAs':'vm','templateUrl':'app/main/apps/mail/views/mailAccounts/create/dialog.html','parent':angular['element'](_0x18b4c9['body']),'targetEvent':_0x9a53b8,'clickOutsideToClose':!![],'locals':{'mailAccount':_0xb8bba2,'mailAccounts':_0x482f63[_0x477d('0xf33')][_0x477d('0xf2')],'license':_0x482f63[_0x477d('0x613')],'setting':_0x482f63[_0x477d('0xc8e')],'crudPermissions':_0x482f63[_0x477d('0xd66')]}});}function _0x284287(_0x3325e7){if(_0x3325e7[_0x477d('0x1c76')]){return _0x39f940['error']({'title':_0x477d('0x1c77'),'msg':_0x477d('0x1c78')});}_0x409ed3[_0x477d('0x1775')][_0x477d('0xa55')]({'id':_0x3325e7['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x482f63['mailAccounts'][_0x477d('0xf2')],{'id':_0x3325e7['id']});_0x482f63[_0x477d('0xf33')][_0x477d('0x3bb')]-=0x1;if(!_0x482f63[_0x477d('0xf33')][_0x477d('0xf2')][_0x477d('0x79')]){_0x482f63['getMailAccounts']();}_0x39f940['success']({'title':_['startCase'](_0x477d('0x1ceb'))+_0x477d('0xd9d'),'msg':_0x3325e7[_0x477d('0x94')]?_0x3325e7[_0x477d('0x94')]+_0x477d('0xd7e'):''});})[_0x477d('0xf8')](function(_0x3993eb){if(_0x3993eb[_0x477d('0x451')]&&_0x3993eb[_0x477d('0x451')][_0x477d('0xd67')]&&_0x3993eb['data'][_0x477d('0xd67')][_0x477d('0x79')]){_0x482f63[_0x477d('0xd67')]=_0x3993eb[_0x477d('0x451')]['errors']||[{'message':_0x3993eb[_0x477d('0x453')](),'type':'SYSTEM:DELETEmailAccount'}];for(var _0x19058e=0x0;_0x19058e<_0x3993eb['data'][_0x477d('0xd67')]['length'];_0x19058e++){_0x39f940[_0x477d('0x44a')]({'title':_0x3993eb[_0x477d('0x451')][_0x477d('0xd67')][_0x19058e]['type'],'msg':_0x3993eb[_0x477d('0x451')][_0x477d('0xd67')][_0x19058e]['message']});}}else{_0x39f940[_0x477d('0x44a')]({'title':_0x3993eb['status']?_0x477d('0x44b')+_0x3993eb['status']+_0x477d('0x44c')+_0x3993eb[_0x477d('0x44d')]:_0x477d('0x1cec'),'msg':_0x3993eb[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x3993eb[_0x477d('0x451')]['message']):_0x3993eb['message']||_0x3993eb[_0x477d('0x453')]()});}});}function _0x1ef6e7(){var _0x4a266a=angular[_0x477d('0x6d9')](_0x482f63[_0x477d('0x1ced')]);_0x482f63[_0x477d('0x1ced')]=[];return _0x4a266a;}function _0x4c5ed5(_0x241a83){var _0x2e8986=_0x3c9432[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x1cee'))[_0x477d('0xd92')](_0x477d('0xd93')+_0x482f63[_0x477d('0x1ced')][_0x477d('0x79')]+_0x477d('0xda0')+'\x20will\x20be\x20deleted.')['ariaLabel']('delete\x20MailAccounts')[_0x477d('0xd7c')](_0x241a83)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x3c9432['show'](_0x2e8986)[_0x477d('0x76')](function(){_0x482f63[_0x477d('0x1ced')][_0x477d('0x3b1')](function(_0x4ca0a7){_0x284287(_0x4ca0a7);});_0x482f63[_0x477d('0x1ced')]=[];});}function _0x30b431(){_0x482f63[_0x477d('0x1ced')]=[];}function _0x3c8044(){_0x482f63[_0x477d('0x1ced')]=_0x482f63['mailAccounts']['rows'];}}}());(function(){'use strict';_0x10c694[_0x477d('0xa')]=[_0x477d('0x474'),'$state',_0x477d('0xd64'),_0x477d('0x384'),'$q',_0x477d('0x40d'),_0x477d('0x40e'),'mailQueues',_0x477d('0x1c81'),'api','Auth',_0x477d('0x613'),_0x477d('0xc8e'),_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x31'))[_0x477d('0x3ba')](_0x477d('0x1cef'),_0x10c694);function _0x10c694(_0x178e67,_0x544c97,_0x5749f2,_0x20b799,_0x508a00,_0x3e8a14,_0x8778d3,_0x148960,_0xbd3d15,_0x429c82,_0x57ae49,_0x3e1e0c,_0x623465,_0x66ec9c){var _0x44d157=this;_0x44d157['currentUser']=_0x57ae49['getCurrentUser']();_0x44d157[_0x477d('0xd67')]=[];_0x44d157[_0x477d('0xc8e')]=_0x623465;_0x44d157['license']=_0x3e1e0c;_0x44d157[_0x477d('0xd66')]=_0x66ec9c;_0x44d157['hasModulePermissions']={};_0x44d157[_0x477d('0xd69')]=_0x44d157['setting']&&_0x44d157[_0x477d('0xc8e')][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x44d157[_0x477d('0x49a')]=_0x477d('0x1cf0');_0x44d157['mailQueue']=angular[_0x477d('0x6d9')](_0xbd3d15);_0x44d157[_0x477d('0x16f4')]=_0x148960;_0x44d157[_0x477d('0x1cf1')]=![];if(!_0x44d157[_0x477d('0x1c81')]){_0x44d157['mailQueue']={'strategy':'beepall','timeout':0xa};_0x44d157[_0x477d('0x49a')]=_0x477d('0x1cf2');_0x44d157[_0x477d('0x1cf1')]=!![];}_0x44d157[_0x477d('0x1cf3')]=_0x3af16e;_0x44d157['saveMailQueue']=_0xf3d203;_0x44d157['deleteMailQueue']=_0x57dead;_0x44d157[_0x477d('0xd6f')]=_0x2f1b2b;_0x44d157['closeDialog']=_0x30cf35;function _0x3af16e(){_0x44d157['errors']=[];_0x429c82[_0x477d('0x1c81')][_0x477d('0xd70')](_0x44d157['mailQueue'])[_0x477d('0x38b')]['then'](function(_0x5f371f){_0x44d157[_0x477d('0x16f4')]['unshift'](_0x5f371f[_0x477d('0xd71')]());_0x8778d3[_0x477d('0x485')]({'title':_0x477d('0x1cf4'),'msg':_0x44d157[_0x477d('0x1c81')][_0x477d('0x94')]?_0x44d157['mailQueue'][_0x477d('0x94')]+_0x477d('0xd73'):''});_0x30cf35(_0x5f371f);})[_0x477d('0xf8')](function(_0x21d421){if(_0x21d421['data']&&_0x21d421[_0x477d('0x451')][_0x477d('0xd67')]&&_0x21d421[_0x477d('0x451')]['errors'][_0x477d('0x79')]){_0x44d157[_0x477d('0xd67')]=_0x21d421['data'][_0x477d('0xd67')]||[{'message':_0x21d421['toString'](),'type':'api.mailQueue.save'}];for(var _0x57e243=0x0;_0x57e243<_0x21d421[_0x477d('0x451')]['errors'][_0x477d('0x79')];_0x57e243+=0x1){_0x8778d3[_0x477d('0x44a')]({'title':_0x21d421[_0x477d('0x451')][_0x477d('0xd67')][_0x57e243][_0x477d('0x439')],'msg':_0x21d421[_0x477d('0x451')][_0x477d('0xd67')][_0x57e243]['message']});}}else{_0x8778d3[_0x477d('0x44a')]({'title':_0x21d421['status']?'API:'+_0x21d421[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x21d421[_0x477d('0x44d')]:'api.mailQueue.save','msg':_0x21d421[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x21d421[_0x477d('0x451')][_0x477d('0x452')]):_0x21d421[_0x477d('0x453')]()});}});}function _0xf3d203(){_0x44d157[_0x477d('0xd67')]=[];_0x429c82[_0x477d('0x1c81')]['update']({'id':_0x44d157[_0x477d('0x1c81')]['id']},_0x44d157[_0x477d('0x1c81')])[_0x477d('0x38b')]['then'](function(_0x4a253f){var _0x5651df=_['find'](_0x44d157['mailQueues'],{'id':_0x4a253f['id']});if(_0x5651df){_[_0x477d('0xef')](_0x5651df,_['pick'](_0x4a253f['toJSON'](),_['keys'](_0x5651df)));}_0x8778d3[_0x477d('0x485')]({'title':_0x477d('0x1cf5'),'msg':_0x44d157[_0x477d('0x1c81')][_0x477d('0x94')]?_0x44d157[_0x477d('0x1c81')][_0x477d('0x94')]+_0x477d('0xd76'):''});_0x30cf35(_0x4a253f);})[_0x477d('0xf8')](function(_0x11941d){if(_0x11941d[_0x477d('0x451')]&&_0x11941d[_0x477d('0x451')][_0x477d('0xd67')]&&_0x11941d[_0x477d('0x451')]['errors'][_0x477d('0x79')]){_0x44d157['errors']=_0x11941d[_0x477d('0x451')]['errors']||[{'message':_0x11941d[_0x477d('0x453')](),'type':_0x477d('0x1cf6')}];for(var _0x7ca3d8=0x0;_0x7ca3d8<_0x11941d['data'][_0x477d('0xd67')][_0x477d('0x79')];_0x7ca3d8++){_0x8778d3['error']({'title':_0x11941d[_0x477d('0x451')][_0x477d('0xd67')][_0x7ca3d8][_0x477d('0x439')],'msg':_0x11941d[_0x477d('0x451')][_0x477d('0xd67')][_0x7ca3d8]['message']});}}else{_0x8778d3[_0x477d('0x44a')]({'title':_0x11941d[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x11941d[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x11941d[_0x477d('0x44d')]:_0x477d('0x1cf6'),'msg':_0x11941d[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x11941d['data'][_0x477d('0x452')]):_0x11941d[_0x477d('0x453')]()});}});}function _0x57dead(_0x150ed2){_0x44d157[_0x477d('0xd67')]=[];var _0xc9d4ac=_0x20b799[_0x477d('0xd78')]()[_0x477d('0x49a')]('Are\x20you\x20sure?')[_0x477d('0xdaf')](_0x477d('0x1cf7'))['ariaLabel'](_0x477d('0x1cf8'))['ok'](_0x477d('0xd7b'))[_0x477d('0x4f0')]('Cancel')[_0x477d('0xd7c')](_0x150ed2);_0x20b799[_0x477d('0x395')](_0xc9d4ac)[_0x477d('0x76')](function(){_0x429c82[_0x477d('0x1c81')]['delete']({'id':_0x44d157[_0x477d('0x1c81')]['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x44d157[_0x477d('0x16f4')],{'id':_0x44d157['mailQueue']['id']});_0x8778d3[_0x477d('0x485')]({'title':_0x477d('0x1cf9'),'msg':(_0x44d157[_0x477d('0x1c81')]['name']||_0x477d('0x1c81'))+_0x477d('0xd7e')});_0x30cf35(_0x44d157[_0x477d('0x1c81')]);})[_0x477d('0xf8')](function(_0x581f75){if(_0x581f75[_0x477d('0x451')]&&_0x581f75[_0x477d('0x451')][_0x477d('0xd67')]&&_0x581f75[_0x477d('0x451')]['errors']['length']){_0x44d157[_0x477d('0xd67')]=_0x581f75['data'][_0x477d('0xd67')]||[{'message':_0x581f75[_0x477d('0x453')](),'type':_0x477d('0x1cfa')}];for(var _0xadfad1=0x0;_0xadfad1<_0x581f75[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0xadfad1++){_0x8778d3['error']({'title':_0x581f75[_0x477d('0x451')][_0x477d('0xd67')][_0xadfad1][_0x477d('0x439')],'msg':_0x581f75['data']['errors'][_0xadfad1]['message']});}}else{_0x8778d3['error']({'title':_0x581f75[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x581f75[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x581f75[_0x477d('0x44d')]:_0x477d('0x1cfa'),'msg':_0x581f75[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x581f75[_0x477d('0x451')][_0x477d('0x452')]):_0x581f75[_0x477d('0x452')]||_0x581f75[_0x477d('0x453')]()});}});},function(){});}function _0x2f1b2b(_0x45b1b7){return _0x45b1b7===null?undefined:new Date(_0x45b1b7);}function _0x30cf35(_0x368cfa){_0x20b799['hide'](_0x368cfa);}}}());(function(){'use strict';_0x284b39[_0x477d('0xa')]=['$mdDialog','$q',_0x477d('0x40e'),'api','mailQueue',_0x477d('0x16f4'),'realtime','$translate',_0x477d('0x55'),_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x31'))[_0x477d('0x3ba')](_0x477d('0x1cfb'),_0x284b39);function _0x284b39(_0x4d259b,_0x9a1605,_0x83ce10,_0x3f5630,_0x1e2748,_0x1ed5ae,_0x1d1ee1,_0x1475b0,_0x284e86,_0x41ca3d){var _0x5726=this;_0x5726['currentUser']=_0x284e86['getCurrentUser']();_0x5726[_0x477d('0x1c81')]=_0x1e2748;_0x5726[_0x477d('0xd66')]=_0x41ca3d;_0x5726['realtime']=_0x1d1ee1;_0x5726[_0x477d('0x4a6')]=[];_0x5726['allowedItems']=[];_0x5726[_0x477d('0x4a7')]=[];_0x5726[_0x477d('0x11f2')]=[];_0x5726['startingSelectedItems']=[];_0x5726[_0x477d('0x11f5')]=![];_0x5726[_0x477d('0x71a')]=_0x3c6fff;_0x5726['saveAgents']=_0x403dd0;_0x5726[_0x477d('0x6bf')]=_0x1c93f9;_0x5726[_0x477d('0x1185')]={'readOnly':!_0x5726['crudPermissions']['canEdit'],'items':[],'selectedItems':[],'showSelectAndDeselectAll':!![],'orderBy':'name','line1':'fullname','line2':['name',_0x477d('0x324')],'line3':'','labelAll':_0x1475b0[_0x477d('0x45f')](_0x477d('0x1cfc')),'labelSelected':_0x1475b0[_0x477d('0x45f')](_0x477d('0x1c89')),'transferCallback':function(_0x35e3c1,_0x59acdd){var _0x4611c5=_['xorBy'](_0x5726[_0x477d('0x11fd')],_0x5726[_0x477d('0x4a7')],'id');_0x5726[_0x477d('0x11f5')]=_[_0x477d('0x3b2')](_0x4611c5)?![]:!![];}};function _0x3c6fff(){return _0x284e86['hasRole'](_0x477d('0x5f'))?_0x2161d0()[_0x477d('0xf8')](function(_0x20b48c){_0x83ce10[_0x477d('0x44a')]({'title':_0x20b48c[_0x477d('0x3c3')]?'API:'+_0x20b48c[_0x477d('0x3c3')]+'\x20-\x20'+_0x20b48c[_0x477d('0x44d')]:'SYSTEM:GET_AGENTS','msg':_0x20b48c[_0x477d('0x3c3')]?JSON[_0x477d('0x3fb')](_0x20b48c['data']):_0x20b48c[_0x477d('0x453')]()});}):_0x5a1836()[_0x477d('0x76')](function(_0x5f0ee8){_0x5726[_0x477d('0xd99')]=_0x5f0ee8;return _0x2161d0();})[_0x477d('0xf8')](function(_0x250029){_0x83ce10[_0x477d('0x44a')]({'title':_0x250029['status']?_0x477d('0x44b')+_0x250029[_0x477d('0x3c3')]+'\x20-\x20'+_0x250029[_0x477d('0x44d')]:_0x477d('0x11f6'),'msg':_0x250029[_0x477d('0x3c3')]?JSON[_0x477d('0x3fb')](_0x250029[_0x477d('0x451')]):_0x250029[_0x477d('0x453')]()});});}function _0x5a1836(){return _0x9a1605(function(_0x43ef07,_0x2b980a){_0x3f5630[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x5726[_0x477d('0x3e5')]['userProfileId'],'name':_0x477d('0xce')})['$promise'][_0x477d('0x76')](function(_0x425bc0){var _0x5d3567=_0x425bc0&&_0x425bc0[_0x477d('0xf2')]?_0x425bc0['rows'][0x0]:null;_0x43ef07(_0x5d3567);})[_0x477d('0xf8')](function(_0x1af128){_0x2b980a(_0x1af128);});});}function _0x2161d0(){return _0x9a1605(function(_0x3242df,_0x41499c){return _0x24e73b()['then'](function(_0x20c257){_0x5726[_0x477d('0x4a6')]=_0x20c257[_0x477d('0xf2')]?_0x20c257[_0x477d('0xf2')]:[];if(_0x284e86[_0x477d('0x56')](_0x477d('0x5f'))){return _0x20c257;}else{if(_0x5726[_0x477d('0xd99')]){return _0x5726[_0x477d('0xd99')][_0x477d('0x3ad')]?_0x20c257:_0x36b524();}else{return null;}}})['then'](function(_0x4bcdae){var _0x28b1d8=_0x4bcdae&&_0x4bcdae[_0x477d('0xf2')]?_0x4bcdae[_0x477d('0xf2')]:[];_0x5726[_0x477d('0x11f7')]=_[_0x477d('0x3cb')](_0x28b1d8,function(_0x1dca99){return _[_0x477d('0x10a')](_0x5726[_0x477d('0x4a6')],{'id':_0x284e86[_0x477d('0x56')]('admin')||_0x5726[_0x477d('0xd99')][_0x477d('0x3ad')]?_0x1dca99['id']:_0x1dca99[_0x477d('0x3af')]});});_0x5726[_0x477d('0x11f2')]=angular[_0x477d('0x6d9')](_0x5726['allowedItems']);_0x5726[_0x477d('0x4a6')][_0x477d('0x3b1')](function(_0x277050){var _0xd2b6e7=_[_0x477d('0x10a')](_0x5726[_0x477d('0x11f7')],{'id':_0x277050['id']});if(_0x284e86[_0x477d('0x56')](_0x477d('0x5f'))){_0x277050['isValid']=!![];}else{_0x277050[_0x477d('0x4a3')]=typeof _0xd2b6e7!==_0x477d('0x4a4')?!![]:![];}});return _0x340648();})[_0x477d('0x76')](function(_0x2dd62b){var _0x4b6d85=_0x2dd62b&&_0x2dd62b[_0x477d('0xf2')]?_0x2dd62b[_0x477d('0xf2')]:[];_0x5726[_0x477d('0x4a7')]=_[_0x477d('0x3cb')](_0x4b6d85,function(_0x2afb7b){var _0x7b2efe=_[_0x477d('0x10a')](_0x5726[_0x477d('0x4a6')],{'id':_0x2afb7b['id']});_0x7b2efe[_0x477d('0x1184')]=_0x2afb7b['UserMailQueue']?_0x477d('0x1529')+_0x2afb7b[_0x477d('0x1cfd')][_0x477d('0x1184')]:'';_0x7b2efe[_0x477d('0x324')]=_0x2afb7b['hasOwnProperty']('internal')?'<'+_0x2afb7b[_0x477d('0x324')]+'>':'';return _0x7b2efe;});_0x5726[_0x477d('0x11fd')]=angular[_0x477d('0x6d9')](_0x5726['selectedItems']);_0x5726[_0x477d('0x1185')]['selectedItems']=_0x5726[_0x477d('0x4a7')];_0x5726[_0x477d('0x1185')][_0x477d('0x4a6')]=_[_0x477d('0x11f8')](_0x5726[_0x477d('0x11f7')],_0x5726[_0x477d('0x1185')][_0x477d('0x4a7')],'id');_0x3242df();})['catch'](function(_0x1524b6){_0x41499c(_0x1524b6);});});}function _0x36b524(){return _0x9a1605(function(_0x102ef4,_0xa8afcd){return _0x3f5630[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x5726['section']['id'],'nolimit':!![]})['$promise'][_0x477d('0x76')](function(_0x4d6dc3){_0x102ef4(_0x4d6dc3);})[_0x477d('0xf8')](function(_0x27fcff){_0xa8afcd(_0x27fcff);});});}function _0x340648(){return _0x9a1605(function(_0x39da5c,_0x43122f){return _0x3f5630[_0x477d('0x1c81')][_0x477d('0x11f9')]({'id':_0x5726[_0x477d('0x1c81')]['id'],'fields':_0x477d('0x11fa'),'nolimit':!![],'role':'agent'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x387822){_0x39da5c(_0x387822);})[_0x477d('0xf8')](function(_0x179da3){_0x43122f(_0x179da3);});});}function _0x24e73b(){return _0x9a1605(function(_0x573d13,_0x1e9162){return _0x3f5630[_0x477d('0x380')]['get']({'fields':_0x477d('0x11fa'),'nolimit':!![],'role':_0x477d('0xcf')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x21bf27){_0x573d13(_0x21bf27);})['catch'](function(_0x4e160b){_0x1e9162(_0x4e160b);});});}function _0x54cdac(_0x4432df){return _0x9a1605(function(_0x76fee6,_0x27b03f){if(_[_0x477d('0x3b2')](_0x4432df)){_0x76fee6();}else{_0x3f5630[_0x477d('0x1c81')][_0x477d('0x11fb')]({'id':_0x5726['mailQueue']['id'],'ids':_['map'](_0x4432df,'id')})[_0x477d('0x38b')][_0x477d('0x76')](function(){_0x76fee6();})['catch'](function(_0x5e8861){_0x27b03f(_0x5e8861);});}});}function _0x17f16e(_0x29660f){return _0x9a1605(function(_0x53068e,_0x390efd){if(_[_0x477d('0x3b2')](_0x29660f)){_0x53068e();}else{_0x3f5630[_0x477d('0x1c81')][_0x477d('0x11fc')]({'id':_0x5726['mailQueue']['id'],'ids':_['map'](_0x29660f,'id')})[_0x477d('0x38b')]['then'](function(){_0x53068e();})[_0x477d('0xf8')](function(_0x56d6a4){_0x390efd(_0x56d6a4);});}});}function _0x403dd0(){var _0x18b961=_['differenceBy'](_0x5726[_0x477d('0x11fd')],_0x5726[_0x477d('0x4a7')],'id');var _0x213fcb=_['differenceBy'](_0x5726[_0x477d('0x4a7')],_0x5726['startingSelectedItems'],'id');return _0x17f16e(_0x18b961)[_0x477d('0x76')](function(){return _0x54cdac(_0x213fcb);})[_0x477d('0x76')](function(){_0x5726[_0x477d('0x11f5')]=![];_0x5726[_0x477d('0x11f2')]=angular[_0x477d('0x6d9')](_0x5726[_0x477d('0x11f7')]);_0x5726[_0x477d('0x11fd')]=angular[_0x477d('0x6d9')](_0x5726[_0x477d('0x4a7')]);_0x83ce10[_0x477d('0x485')]({'title':_0x477d('0x11fe'),'msg':_0x477d('0x11ff')});})['catch'](function(_0x4af04a){_0x83ce10[_0x477d('0x44a')]({'title':_0x4af04a['status']?'API:'+_0x4af04a[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x4af04a[_0x477d('0x44d')]:_0x477d('0x1200'),'msg':_0x4af04a[_0x477d('0x3c3')]?JSON[_0x477d('0x3fb')](_0x4af04a['data']):_0x4af04a[_0x477d('0x453')]()});});}function _0x1c93f9(){_0x4d259b['hide']();}}}());(function(){'use strict';_0xeb696['$inject']=['$mdDialog','$q','toasty',_0x477d('0x386'),_0x477d('0x1c81'),_0x477d('0x40d'),'Auth','crudPermissions'];angular[_0x477d('0xb')](_0x477d('0x31'))[_0x477d('0x3ba')](_0x477d('0x1cfe'),_0xeb696);function _0xeb696(_0x2c39b8,_0x523fcd,_0x3cf00d,_0x5d4fbe,_0x200e07,_0x57ba6b,_0x517ad0,_0xf0b16a){var _0x16d705=this;_0x16d705['currentUser']=_0x517ad0['getCurrentUser']();_0x16d705['mailQueue']=_0x200e07;_0x16d705[_0x477d('0xd66')]=_0xf0b16a;_0x16d705['items']=[];_0x16d705[_0x477d('0x11f7')]=[];_0x16d705['selectedItems']=[];_0x16d705[_0x477d('0x11f2')]=[];_0x16d705[_0x477d('0x11fd')]=[];_0x16d705[_0x477d('0x11f5')]=![];_0x16d705[_0x477d('0x1185')]={'readOnly':!_0x16d705[_0x477d('0xd66')][_0x477d('0xedb')],'allowedItems':[],'selectedItems':[],'showSelectAndDeselectAll':!![],'orderBy':_0x477d('0x94'),'line1':_0x477d('0x94'),'line2':'','line3':'','labelAll':_0x57ba6b[_0x477d('0x45f')](_0x477d('0x1cff')),'labelSelected':_0x57ba6b[_0x477d('0x45f')]('MAIL.SELECTED_TEAMS'),'transferCallback':function(_0xa41882,_0x5eabe9){var _0x565b6d=_['xorBy'](_0x16d705[_0x477d('0x11fd')],_0x16d705['selectedItems'],'id');_0x16d705[_0x477d('0x11f5')]=_['isEmpty'](_0x565b6d)?![]:!![];}};_0x16d705['onInit']=_0x3fa286;_0x16d705['saveTeams']=_0x17dd74;_0x16d705[_0x477d('0x6bf')]=_0x481a81;function _0x3fa286(){return _0x517ad0['hasRole'](_0x477d('0x5f'))?_0x261a14()['catch'](function(_0x93c6d9){_0x3cf00d[_0x477d('0x44a')]({'title':_0x93c6d9[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x93c6d9[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x93c6d9[_0x477d('0x44d')]:_0x477d('0x1204'),'msg':_0x93c6d9['status']?JSON[_0x477d('0x3fb')](_0x93c6d9[_0x477d('0x451')]):_0x93c6d9['toString']()});}):_0x1fd453()['then'](function(_0x36b9dd){_0x16d705[_0x477d('0xd99')]=_0x36b9dd;return _0x261a14();})[_0x477d('0xf8')](function(_0x212d23){_0x3cf00d[_0x477d('0x44a')]({'title':_0x212d23['status']?_0x477d('0x44b')+_0x212d23[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x212d23['statusText']:_0x477d('0x1204'),'msg':_0x212d23[_0x477d('0x3c3')]?JSON[_0x477d('0x3fb')](_0x212d23['data']):_0x212d23[_0x477d('0x453')]()});});}function _0x1fd453(){return _0x523fcd(function(_0x52f697,_0x1fb178){_0x5d4fbe[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x16d705[_0x477d('0x3e5')][_0x477d('0x61')],'name':_0x477d('0x29f')})['$promise'][_0x477d('0x76')](function(_0x4e4e79){var _0x325f78=_0x4e4e79&&_0x4e4e79['rows']?_0x4e4e79[_0x477d('0xf2')][0x0]:null;_0x52f697(_0x325f78);})[_0x477d('0xf8')](function(_0x22649c){_0x1fb178(_0x22649c);});});}function _0x261a14(){return _0x523fcd(function(_0x6b6454,_0x1679c1){return _0x4a7128()[_0x477d('0x76')](function(_0x5000f8){_0x16d705[_0x477d('0x4a6')]=_0x5000f8['rows']?_0x5000f8[_0x477d('0xf2')]:[];if(_0x517ad0[_0x477d('0x56')](_0x477d('0x5f'))){return _0x5000f8;}else{if(_0x16d705['section']){return _0x16d705[_0x477d('0xd99')][_0x477d('0x3ad')]?_0x5000f8:_0x4251f9();}else{return null;}}})[_0x477d('0x76')](function(_0x35ac90){var _0x10361d=_0x35ac90&&_0x35ac90['rows']?_0x35ac90[_0x477d('0xf2')]:[];_0x16d705['allowedItems']=_[_0x477d('0x3cb')](_0x10361d,function(_0x20daa8){return _[_0x477d('0x10a')](_0x16d705[_0x477d('0x4a6')],{'id':_0x517ad0[_0x477d('0x56')](_0x477d('0x5f'))||_0x16d705[_0x477d('0xd99')][_0x477d('0x3ad')]?_0x20daa8['id']:_0x20daa8[_0x477d('0x3af')]});});_0x16d705[_0x477d('0x4a6')][_0x477d('0x3b1')](function(_0x405e2e){var _0x496d5e=_[_0x477d('0x10a')](_0x16d705[_0x477d('0x11f7')],{'id':_0x405e2e['id']});if(_0x517ad0[_0x477d('0x56')]('admin')){_0x405e2e[_0x477d('0x4a3')]=!![];}else{_0x405e2e['isValid']=typeof _0x496d5e!==_0x477d('0x4a4')?!![]:![];}});return _0x180221();})[_0x477d('0x76')](function(_0x7abc6a){var _0x31591c=_0x7abc6a&&_0x7abc6a[_0x477d('0xf2')]?_0x7abc6a[_0x477d('0xf2')]:[];_0x16d705[_0x477d('0x4a7')]=_[_0x477d('0x3cb')](_0x31591c,function(_0xdec14e){return _['find'](_0x16d705['items'],{'id':_0xdec14e['id']});});_0x16d705[_0x477d('0x11fd')]=angular['copy'](_0x16d705[_0x477d('0x4a7')]);_0x16d705[_0x477d('0x1185')][_0x477d('0x4a7')]=_0x16d705[_0x477d('0x4a7')];_0x16d705['dualMultiselectOptions'][_0x477d('0x4a6')]=_[_0x477d('0x11f8')](_0x16d705[_0x477d('0x11f7')],_0x16d705[_0x477d('0x1185')][_0x477d('0x4a7')],'id');_0x6b6454();})[_0x477d('0xf8')](function(_0x10c457){_0x1679c1(_0x10c457);});});}function _0x4251f9(){return _0x523fcd(function(_0x244f9b,_0x287f38){return _0x5d4fbe[_0x477d('0x3ae')]['get']({'sectionId':_0x16d705[_0x477d('0xd99')]['id'],'nolimit':!![]})['$promise']['then'](function(_0x2f562e){_0x244f9b(_0x2f562e);})[_0x477d('0xf8')](function(_0x3e0210){_0x287f38(_0x3e0210);});});}function _0x180221(){return _0x523fcd(function(_0x2a9f8e,_0x1d02b4){return _0x5d4fbe[_0x477d('0x1c81')][_0x477d('0x1205')]({'id':_0x16d705[_0x477d('0x1c81')]['id'],'fields':_0x477d('0x9c'),'nolimit':!![]})[_0x477d('0x38b')]['then'](function(_0x3cef47){_0x2a9f8e(_0x3cef47);})['catch'](function(_0x59690d){_0x1d02b4(_0x59690d);});});}function _0x4a7128(){return _0x523fcd(function(_0x2ce452,_0x1a947c){return _0x5d4fbe['team'][_0x477d('0x376')]({'fields':'id,name','nolimit':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0xfec255){_0x2ce452(_0xfec255);})[_0x477d('0xf8')](function(_0x328765){_0x1a947c(_0x328765);});});}function _0x3ebc6e(_0xb67835){return _0x523fcd(function(_0x95a1d3,_0x3fe3a0){if(_[_0x477d('0x3b2')](_0xb67835)){_0x95a1d3();}else{_0x5d4fbe['mailQueue'][_0x477d('0x198b')]({'id':_0x16d705['mailQueue']['id'],'ids':_[_0x477d('0x3cb')](_0xb67835,'id')})[_0x477d('0x38b')][_0x477d('0x76')](function(){_0x95a1d3();})['catch'](function(_0x2d0cb1){_0x3fe3a0(_0x2d0cb1);});}});}function _0x29c4ee(_0x4279af){return _0x523fcd(function(_0xd0f79d,_0x429db9){if(_[_0x477d('0x3b2')](_0x4279af)){_0xd0f79d();}else{_0x5d4fbe[_0x477d('0x1c81')][_0x477d('0x1206')]({'id':_0x16d705['mailQueue']['id'],'ids':_[_0x477d('0x3cb')](_0x4279af,'id')})[_0x477d('0x38b')][_0x477d('0x76')](function(){_0xd0f79d();})['catch'](function(_0x48c87e){_0x429db9(_0x48c87e);});}});}function _0x17dd74(){var _0x39f8e0=_[_0x477d('0x11f8')](_0x16d705[_0x477d('0x11fd')],_0x16d705[_0x477d('0x4a7')],'id');var _0x40e2b4=_['differenceBy'](_0x16d705[_0x477d('0x4a7')],_0x16d705['startingSelectedItems'],'id');return _0x29c4ee(_0x39f8e0)[_0x477d('0x76')](function(){return _0x3ebc6e(_0x40e2b4);})[_0x477d('0x76')](function(){_0x16d705['pendingChanges']=![];_0x16d705[_0x477d('0x11f2')]=angular[_0x477d('0x6d9')](_0x16d705[_0x477d('0x11f7')]);_0x16d705[_0x477d('0x11fd')]=angular['copy'](_0x16d705['selectedItems']);_0x3cf00d[_0x477d('0x485')]({'title':_0x477d('0x11fe'),'msg':'Teams\x20association\x20has\x20been\x20updated!'});})[_0x477d('0xf8')](function(_0x3957bc){_0x3cf00d['error']({'title':_0x3957bc['status']?_0x477d('0x44b')+_0x3957bc[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x3957bc[_0x477d('0x44d')]:_0x477d('0x1200'),'msg':_0x3957bc[_0x477d('0x3c3')]?JSON[_0x477d('0x3fb')](_0x3957bc[_0x477d('0x451')]):_0x3957bc[_0x477d('0x453')]()});});}function _0x481a81(){_0x2c39b8[_0x477d('0x3bc')]();}}}());(function(){'use strict';_0x15548d[_0x477d('0xa')]=[_0x477d('0x3c4'),_0x477d('0xd64'),_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x40d'),_0x477d('0x613'),_0x477d('0xc8e'),'api',_0x477d('0x40e'),_0x477d('0x55'),_0x477d('0x1c81'),'userProfileSection'];angular[_0x477d('0xb')](_0x477d('0x31'))[_0x477d('0x3ba')](_0x477d('0x1d00'),_0x15548d);function _0x15548d(_0x266749,_0x3e4275,_0x1befff,_0x262b84,_0x15e993,_0x4f075c,_0x59c65d,_0x479110,_0x1b33cf,_0x242925,_0x1e6c12,_0x1dec4c){var _0x26e6e8=this;_0x26e6e8[_0x477d('0x3e5')]=_0x242925[_0x477d('0x5c')]();_0x26e6e8[_0x477d('0x613')]=_0x4f075c;_0x26e6e8[_0x477d('0xc8e')]=_0x59c65d;_0x26e6e8[_0x477d('0xd69')]=_0x26e6e8['setting']['securePassword']?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x26e6e8[_0x477d('0x3cc')]=_0x3e4275[_0x477d('0x3ce')]()+'://'+_0x3e4275[_0x477d('0x3c9')]();_0x26e6e8[_0x477d('0x1c81')]=_0x1e6c12||_0x266749['params']['mailQueue']||{};_0x26e6e8[_0x477d('0x3ac')]=_0x1dec4c&&_0x1dec4c['count']==0x1?_0x1dec4c[_0x477d('0xf2')][0x0]:null;_0x26e6e8[_0x477d('0xd66')]=_0x242925[_0x477d('0xd81')](_0x26e6e8[_0x477d('0x3ac')]?_0x26e6e8[_0x477d('0x3ac')][_0x477d('0xd66')]:null);_0x26e6e8['hasModulePermissions']={};_0x26e6e8[_0x477d('0xe95')]=_0x266749[_0x477d('0x37e')][_0x477d('0xe96')]||0x0;_0x26e6e8[_0x477d('0x11d4')]=_0x4c71b1;_0x26e6e8[_0x477d('0x1222')]=_0x260e5b;_0x26e6e8['alert']=_0x1b33cf[_0x477d('0x669')];_0x26e6e8[_0x477d('0x1d01')]=_0x3012e4;_0x26e6e8[_0x477d('0x1d02')]=_0x2bbabd;function _0x4c71b1(_0x5b950c,_0x2803b6){_0x1befff[_0x477d('0x395')]({'controller':'MailQueueteamaddController','controllerAs':'vm','templateUrl':_0x477d('0x1d03'),'parent':angular[_0x477d('0x398')](_0x262b84[_0x477d('0x399')]),'targetEvent':_0x2803b6,'clickOutsideToClose':!![],'locals':{'mailQueue':_0x5b950c,'mailQueues':_0x26e6e8[_0x477d('0x16f4')]?_0x26e6e8[_0x477d('0x16f4')][_0x477d('0xf2')]:[],'crudPermissions':_0x26e6e8[_0x477d('0xd66')]}});}function _0x260e5b(_0x84491a,_0x134dbc){_0x1befff[_0x477d('0x395')]({'controller':_0x477d('0x1cfb'),'controllerAs':'vm','templateUrl':_0x477d('0x1d04'),'parent':angular[_0x477d('0x398')](_0x262b84[_0x477d('0x399')]),'targetEvent':_0x134dbc,'clickOutsideToClose':!![],'locals':{'mailQueue':_0x84491a,'mailQueues':_0x26e6e8['mailQueues']?_0x26e6e8[_0x477d('0x16f4')][_0x477d('0xf2')]:[],'crudPermissions':_0x26e6e8[_0x477d('0xd66')],'realtime':![]}});}function _0x3012e4(){_0x266749['go'](_0x477d('0x1d0'),{},{'reload':'app.mail.mailQueues'});}function _0x2bbabd(){_0x479110[_0x477d('0x1c81')]['update']({'id':_0x26e6e8[_0x477d('0x1c81')]['id']},_0x26e6e8[_0x477d('0x1c81')])[_0x477d('0x38b')]['then'](function(){_0x1b33cf['success']({'title':_0x477d('0x1d05'),'msg':_0x26e6e8[_0x477d('0x1c81')]['name']?_0x26e6e8[_0x477d('0x1c81')][_0x477d('0x94')]+_0x477d('0xed7'):''});})[_0x477d('0xf8')](function(_0x69bdc9){_0x1b33cf['error']({'title':_0x69bdc9[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x69bdc9[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x69bdc9['statusText']:_0x477d('0x1d06'),'msg':_0x69bdc9[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x69bdc9[_0x477d('0x451')]):_0x69bdc9[_0x477d('0x453')]()});});}}}());(function(){'use strict';_0x36f3f4[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x387'),_0x477d('0x3c4'),'$mdSidenav',_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x3fe'),_0x477d('0x40d'),_0x477d('0x16f4'),_0x477d('0x3a5'),_0x477d('0x3ac'),_0x477d('0x386'),_0x477d('0x342'),_0x477d('0x40e'),_0x477d('0x55'),_0x477d('0x613'),_0x477d('0xc8e')];angular[_0x477d('0xb')]('app.mail')[_0x477d('0x3ba')](_0x477d('0x1d07'),_0x36f3f4);function _0x36f3f4(_0x2225b8,_0x18fdad,_0x43b45c,_0x79d21b,_0x1e21aa,_0x20a4ad,_0x3a8da1,_0x2bc8cc,_0x275329,_0x1851ab,_0x1c70a3,_0x21960b,_0x358c82,_0x19f946,_0x28745c,_0x3bbf68,_0x532c9b){var _0xc24fa0=this;_0xc24fa0[_0x477d('0x613')]=_0x3bbf68;_0xc24fa0[_0x477d('0xc8e')]=_0x532c9b;_0xc24fa0[_0x477d('0x3e5')]=_0x28745c['getCurrentUser']();_0xc24fa0[_0x477d('0x16f4')]=_0x275329||{'count':0x0,'rows':[]};_0xc24fa0[_0x477d('0x3a5')]=_0x1851ab;_0xc24fa0[_0x477d('0x3ac')]=_0x1c70a3&&_0x1c70a3[_0x477d('0x3bb')]==0x1?_0x1c70a3[_0x477d('0xf2')][0x0]:null;_0xc24fa0[_0x477d('0xd66')]=_0x28745c[_0x477d('0xd81')](_0xc24fa0[_0x477d('0x3ac')]?_0xc24fa0[_0x477d('0x3ac')][_0x477d('0xd66')]:null);_0xc24fa0[_0x477d('0xd82')]='mailQueues';_0xc24fa0[_0x477d('0xd83')]='';_0xc24fa0[_0x477d('0xd84')]=null;_0xc24fa0[_0x477d('0x1d08')]=[];_0xc24fa0['query']={'fields':_0x477d('0xb5'),'sort':_0x477d('0x59'),'channel':_0x477d('0x1d6'),'limit':0xa,'page':0x1};_0xc24fa0['arraystrategy']=_['keyBy']([{'option':_0x477d('0x1d09'),'value':_0x477d('0x11d2')},{'option':_0x477d('0x1d0a'),'value':'\x27rrmemory\x27'}],function(_0x23caf1){return _[_0x477d('0x409')](_0x23caf1['value'],new RegExp('\x27','g'),'');});_0xc24fa0[_0x477d('0xea6')]=_0x2a920c;_0xc24fa0['teamadddialog']=_0x2e5707;_0xc24fa0['agentadddialog']=_0x459eed;_0xc24fa0[_0x477d('0xd88')]=_0x14d4bc;_0xc24fa0[_0x477d('0x11d5')]=_0x27aa97;_0xc24fa0[_0x477d('0x485')]=_0xf69f76;_0xc24fa0['getMailQueues']=_0x210dea;_0xc24fa0[_0x477d('0x1d0b')]=_0x26fc2c;_0xc24fa0[_0x477d('0x1d0c')]=_0x3dd448;_0xc24fa0[_0x477d('0x1d0d')]=_0x1c040e;_0xc24fa0[_0x477d('0x1d0e')]=_0x5bd3a5;_0xc24fa0[_0x477d('0x1d0f')]=_0x29ec71;_0xc24fa0[_0x477d('0x1d10')]=_0x14bae9;function _0x2a920c(_0x3e1121,_0x158dd5){_0x43b45c['go']('app.mail.mailQueues.edit',{'id':_0x3e1121['id'],'mailQueue':_0x3e1121,'crudPermissions':_0xc24fa0[_0x477d('0xd66')]});}function _0x2e5707(_0x4475cf,_0x37a605){_0x1e21aa[_0x477d('0x395')]({'controller':_0x477d('0x1cfe'),'controllerAs':'vm','templateUrl':_0x477d('0x1d03'),'parent':angular['element'](_0x20a4ad[_0x477d('0x399')]),'targetEvent':_0x37a605,'clickOutsideToClose':!![],'locals':{'mailQueue':_0x4475cf,'mailQueues':_0xc24fa0[_0x477d('0x16f4')]?_0xc24fa0[_0x477d('0x16f4')][_0x477d('0xf2')]:[],'crudPermissions':_0xc24fa0[_0x477d('0xd66')]}});}function _0x459eed(_0x4cccb0,_0x5c0a40){_0x1e21aa[_0x477d('0x395')]({'controller':_0x477d('0x1cfb'),'controllerAs':'vm','templateUrl':_0x477d('0x1d04'),'parent':angular[_0x477d('0x398')](_0x20a4ad[_0x477d('0x399')]),'targetEvent':_0x5c0a40,'clickOutsideToClose':!![],'locals':{'mailQueue':_0x4cccb0,'mailQueues':_0xc24fa0['mailQueues']?_0xc24fa0['mailQueues'][_0x477d('0xf2')]:[],'crudPermissions':_0xc24fa0[_0x477d('0xd66')],'realtime':![]}});}function _0x14d4bc(_0xd8efd8,_0x667bbb){var _0x48992c=_0x1e21aa[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xd90')+_['startCase'](_0x477d('0x1c81'))+'?')[_0x477d('0xd92')](_0x477d('0xd93')+(_0xd8efd8[_0x477d('0x94')]||_0x477d('0x1c81'))+_0x477d('0xd94')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x1d11'))[_0x477d('0xd7c')](_0x667bbb)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x1e21aa[_0x477d('0x395')](_0x48992c)['then'](function(){_0x3dd448(_0xd8efd8);},function(){console[_0x477d('0x7b')](_0x477d('0xd97'));});}function _0x27aa97(_0x5b3abe,_0x2a4d3d){if(_0x28745c[_0x477d('0x56')](_0x477d('0x5f'))){_0x43b45c['go'](_0x477d('0x1ea'),{});}else{return _0x21960b[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x28745c[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0x262})[_0x477d('0x38b')]['then'](function(_0x4e93e8){var _0x1d18f3=_0x4e93e8&&_0x4e93e8[_0x477d('0xf2')]?_0x4e93e8['rows'][0x0]:null;if(_0x1d18f3&&_0x1d18f3[_0x477d('0x3b4')]){_0x43b45c['go'](_0x477d('0x1ea'),{});}else{_0x19f946[_0x477d('0x669')]({'title':_0x2bc8cc['instant'](_0x477d('0x119d')),'msg':_0x2bc8cc[_0x477d('0x45f')]('STAFF.PERMISSIONS_UNAUTHORIZED_REDIRECT_MESSAGE')});}})[_0x477d('0xf8')](function(_0x52a384){_0x19f946[_0x477d('0x44a')]({'title':_0x52a384[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x52a384['status']+_0x477d('0x44c')+_0x52a384[_0x477d('0x44d')]:_0x477d('0x11df'),'msg':_0x52a384[_0x477d('0x3c3')]?JSON['stringify'](_0x52a384[_0x477d('0x451')]):_0x52a384[_0x477d('0x453')]()});});}}var _0x5904cc=!![];var _0x39aa7b=0x1;_0x2225b8['$watch'](_0x477d('0xd98'),function(_0x47ddde,_0x54a9a8){if(_0x5904cc){_0x3a8da1(function(){_0x5904cc=![];});}else{if(!_0x54a9a8){_0x39aa7b=_0xc24fa0['query']['page'];}if(_0x47ddde!==_0x54a9a8){_0xc24fa0[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0x47ddde){_0xc24fa0['query'][_0x477d('0xe03')]=_0x39aa7b;}_0xc24fa0[_0x477d('0x16f9')]();}});function _0xf69f76(_0x36d19e){_0xc24fa0['mailQueues']=_0x36d19e||{'count':0x0,'rows':[]};}function _0x210dea(){_0xc24fa0[_0x477d('0x3ef')][_0x477d('0x91c')]=(_0xc24fa0['query'][_0x477d('0xe03')]-0x1)*_0xc24fa0[_0x477d('0x3ef')][_0x477d('0x91d')];if(_0x28745c[_0x477d('0x56')](_0x477d('0x5f'))){_0xc24fa0[_0x477d('0x553')]=_0x21960b[_0x477d('0x1c81')][_0x477d('0x376')](_0xc24fa0[_0x477d('0x3ef')],_0xf69f76)['$promise'];}else{_0xc24fa0['query']['id']=_0xc24fa0['userProfile']['id'];_0xc24fa0[_0x477d('0x3ef')][_0x477d('0xd99')]=_0x477d('0x1d5');_0xc24fa0[_0x477d('0x553')]=_0x21960b[_0x477d('0x3a5')][_0x477d('0xd9a')](_0xc24fa0[_0x477d('0x3ef')],_0xf69f76)[_0x477d('0x38b')];}}function _0x26fc2c(_0x4d479f,_0x5f55f5){_0x1e21aa[_0x477d('0x395')]({'controller':_0x477d('0x1cef'),'controllerAs':'vm','templateUrl':_0x477d('0x1d12'),'parent':angular[_0x477d('0x398')](_0x20a4ad[_0x477d('0x399')]),'targetEvent':_0x4d479f,'clickOutsideToClose':!![],'locals':{'mailQueue':_0x5f55f5,'mailQueues':_0xc24fa0[_0x477d('0x16f4')]['rows'],'license':_0xc24fa0['license'],'setting':_0xc24fa0['setting'],'crudPermissions':_0xc24fa0[_0x477d('0xd66')]}});}function _0x3dd448(_0x15a220){_0x21960b['mailQueue']['delete']({'id':_0x15a220['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0xc24fa0[_0x477d('0x16f4')][_0x477d('0xf2')],{'id':_0x15a220['id']});_0xc24fa0[_0x477d('0x16f4')]['count']-=0x1;if(!_0xc24fa0[_0x477d('0x16f4')][_0x477d('0xf2')][_0x477d('0x79')]){_0xc24fa0[_0x477d('0x16f9')]();}_0x19f946['success']({'title':_[_0x477d('0xd91')]('MailQueue')+_0x477d('0xd9d'),'msg':_0x15a220[_0x477d('0x94')]?_0x15a220[_0x477d('0x94')]+_0x477d('0xd7e'):''});})['catch'](function(_0x476270){if(_0x476270['data']&&_0x476270[_0x477d('0x451')]['errors']&&_0x476270[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0xc24fa0[_0x477d('0xd67')]=_0x476270[_0x477d('0x451')]['errors']||[{'message':_0x476270['toString'](),'type':_0x477d('0x1d13')}];for(var _0x24c5df=0x0;_0x24c5df<_0x476270['data'][_0x477d('0xd67')][_0x477d('0x79')];_0x24c5df++){_0x19f946[_0x477d('0x44a')]({'title':_0x476270['data']['errors'][_0x24c5df][_0x477d('0x439')],'msg':_0x476270['data']['errors'][_0x24c5df][_0x477d('0x452')]});}}else{_0x19f946[_0x477d('0x44a')]({'title':_0x476270[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x476270[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x476270['statusText']:_0x477d('0x1d13'),'msg':_0x476270['data']?JSON[_0x477d('0x3fb')](_0x476270[_0x477d('0x451')][_0x477d('0x452')]):_0x476270[_0x477d('0x452')]||_0x476270[_0x477d('0x453')]()});}});}function _0x1c040e(){var _0x169425=angular[_0x477d('0x6d9')](_0xc24fa0[_0x477d('0x1d08')]);_0xc24fa0[_0x477d('0x1d08')]=[];return _0x169425;}function _0x5bd3a5(_0x3d8ecf){var _0x1c1fc5=_0x1e21aa[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x1d14'))['htmlContent'](_0x477d('0xd93')+_0xc24fa0[_0x477d('0x1d08')][_0x477d('0x79')]+_0x477d('0xda0')+_0x477d('0xd95'))['ariaLabel'](_0x477d('0x1d15'))[_0x477d('0xd7c')](_0x3d8ecf)['ok']('OK')['cancel']('CANCEL');_0x1e21aa[_0x477d('0x395')](_0x1c1fc5)[_0x477d('0x76')](function(){_0xc24fa0['selectedMailQueues'][_0x477d('0x3b1')](function(_0x3cb545){_0x3dd448(_0x3cb545);});_0xc24fa0[_0x477d('0x1d08')]=[];});}function _0x29ec71(){_0xc24fa0[_0x477d('0x1d08')]=[];}function _0x14bae9(){_0xc24fa0[_0x477d('0x1d08')]=_0xc24fa0[_0x477d('0x16f4')][_0x477d('0xf2')];}}}());(function(){'use strict';_0x4f5f4f[_0x477d('0xa')]=['$scope',_0x477d('0x3c4'),_0x477d('0xd64'),_0x477d('0x384'),'$q',_0x477d('0x40d'),'toasty',_0x477d('0x1d16'),'mailSubstatus',_0x477d('0x386'),'Auth','license',_0x477d('0xc8e'),_0x477d('0xd66')];angular['module'](_0x477d('0x31'))[_0x477d('0x3ba')](_0x477d('0x1d17'),_0x4f5f4f);function _0x4f5f4f(_0x20e415,_0x45eb61,_0x4d0570,_0x15d261,_0x118ef3,_0x38536c,_0x391f52,_0x493497,_0x368bd9,_0x380c25,_0xe2d6cd,_0x31ff1e,_0x207780,_0x3171f0){var _0x5234ba=this;_0x5234ba[_0x477d('0x3e5')]=_0xe2d6cd['getCurrentUser']();_0x5234ba[_0x477d('0xd67')]=[];_0x5234ba[_0x477d('0xc8e')]=_0x207780;_0x5234ba[_0x477d('0x613')]=_0x31ff1e;_0x5234ba[_0x477d('0xd66')]=_0x3171f0;_0x5234ba[_0x477d('0xd68')]={};_0x5234ba['passwordPattern']=_0x5234ba[_0x477d('0xc8e')]&&_0x5234ba[_0x477d('0xc8e')][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x5234ba[_0x477d('0x49a')]=_0x477d('0x1d18');_0x5234ba[_0x477d('0xac0')]=angular[_0x477d('0x6d9')](_0x368bd9);_0x5234ba[_0x477d('0x1d16')]=_0x493497;_0x5234ba[_0x477d('0x1d19')]=![];if(!_0x5234ba['mailSubstatus']){_0x5234ba[_0x477d('0xac0')]={};_0x5234ba[_0x477d('0x49a')]=_0x477d('0x1d1a');_0x5234ba[_0x477d('0x1d19')]=!![];}_0x5234ba[_0x477d('0x1d1b')]=_0x3d77d6;_0x5234ba[_0x477d('0x1d1c')]=_0x305d09;_0x5234ba[_0x477d('0x1d1d')]=_0x58d140;_0x5234ba[_0x477d('0xd6f')]=_0x3ecbec;_0x5234ba['closeDialog']=_0x5c278b;function _0x3d77d6(){_0x5234ba['errors']=[];_0x380c25[_0x477d('0xac0')][_0x477d('0xd70')](_0x5234ba[_0x477d('0xac0')])['$promise']['then'](function(_0x16c404){_0x5234ba[_0x477d('0x1d16')]['unshift'](_0x16c404[_0x477d('0xd71')]());_0x391f52[_0x477d('0x485')]({'title':_0x477d('0x1d1e'),'msg':_0x5234ba['mailSubstatus'][_0x477d('0x94')]?_0x5234ba[_0x477d('0xac0')][_0x477d('0x94')]+'\x20has\x20been\x20created!':''});_0x5c278b(_0x16c404);})['catch'](function(_0x2c200c){if(_0x2c200c['data']&&_0x2c200c[_0x477d('0x451')][_0x477d('0xd67')]&&_0x2c200c[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x5234ba['errors']=_0x2c200c['data'][_0x477d('0xd67')]||[{'message':_0x2c200c[_0x477d('0x453')](),'type':_0x477d('0x1d1f')}];for(var _0x210275=0x0;_0x210275<_0x2c200c[_0x477d('0x451')][_0x477d('0xd67')]['length'];_0x210275+=0x1){_0x391f52[_0x477d('0x44a')]({'title':_0x2c200c[_0x477d('0x451')]['errors'][_0x210275][_0x477d('0x439')],'msg':_0x2c200c[_0x477d('0x451')][_0x477d('0xd67')][_0x210275][_0x477d('0x452')]});}}else{_0x391f52[_0x477d('0x44a')]({'title':_0x2c200c[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x2c200c['status']+_0x477d('0x44c')+_0x2c200c['statusText']:_0x477d('0x1d1f'),'msg':_0x2c200c[_0x477d('0x451')]?JSON['stringify'](_0x2c200c['data']['message']):_0x2c200c['toString']()});}});}function _0x305d09(){_0x5234ba['errors']=[];_0x380c25[_0x477d('0xac0')][_0x477d('0x710')]({'id':_0x5234ba[_0x477d('0xac0')]['id']},_0x5234ba['mailSubstatus'])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x364eb3){var _0x4f252c=_[_0x477d('0x10a')](_0x5234ba[_0x477d('0x1d16')],{'id':_0x364eb3['id']});if(_0x4f252c){_[_0x477d('0xef')](_0x4f252c,_['pick'](_0x364eb3['toJSON'](),_[_0x477d('0x7f')](_0x4f252c)));}_0x391f52[_0x477d('0x485')]({'title':_0x477d('0x1d20'),'msg':_0x5234ba[_0x477d('0xac0')]['name']?_0x5234ba['mailSubstatus'][_0x477d('0x94')]+_0x477d('0xd76'):''});_0x5c278b(_0x364eb3);})[_0x477d('0xf8')](function(_0x108c7c){if(_0x108c7c[_0x477d('0x451')]&&_0x108c7c['data'][_0x477d('0xd67')]&&_0x108c7c[_0x477d('0x451')][_0x477d('0xd67')]['length']){_0x5234ba['errors']=_0x108c7c[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x108c7c[_0x477d('0x453')](),'type':'api.mailSubstatus.update'}];for(var _0x3c914b=0x0;_0x3c914b<_0x108c7c[_0x477d('0x451')][_0x477d('0xd67')]['length'];_0x3c914b++){_0x391f52[_0x477d('0x44a')]({'title':_0x108c7c['data']['errors'][_0x3c914b][_0x477d('0x439')],'msg':_0x108c7c[_0x477d('0x451')][_0x477d('0xd67')][_0x3c914b][_0x477d('0x452')]});}}else{_0x391f52[_0x477d('0x44a')]({'title':_0x108c7c[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x108c7c['status']+_0x477d('0x44c')+_0x108c7c[_0x477d('0x44d')]:'api.mailSubstatus.update','msg':_0x108c7c[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x108c7c['data'][_0x477d('0x452')]):_0x108c7c[_0x477d('0x453')]()});}});}function _0x58d140(_0x44bffd){_0x5234ba[_0x477d('0xd67')]=[];var _0x102345=_0x15d261[_0x477d('0xd78')]()[_0x477d('0x49a')]('Are\x20you\x20sure?')[_0x477d('0xdaf')]('The\x20mailSubstatus\x20will\x20be\x20deleted.')[_0x477d('0x687')](_0x477d('0x1d21'))['ok'](_0x477d('0xd7b'))[_0x477d('0x4f0')](_0x477d('0x688'))[_0x477d('0xd7c')](_0x44bffd);_0x15d261[_0x477d('0x395')](_0x102345)[_0x477d('0x76')](function(){_0x380c25[_0x477d('0xac0')][_0x477d('0xa55')]({'id':_0x5234ba[_0x477d('0xac0')]['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x5234ba[_0x477d('0x1d16')],{'id':_0x5234ba['mailSubstatus']['id']});_0x391f52[_0x477d('0x485')]({'title':_0x477d('0x1d22'),'msg':(_0x5234ba[_0x477d('0xac0')][_0x477d('0x94')]||_0x477d('0xac0'))+_0x477d('0xd7e')});_0x5c278b(_0x5234ba[_0x477d('0xac0')]);})[_0x477d('0xf8')](function(_0x259673){if(_0x259673[_0x477d('0x451')]&&_0x259673[_0x477d('0x451')][_0x477d('0xd67')]&&_0x259673[_0x477d('0x451')][_0x477d('0xd67')]['length']){_0x5234ba[_0x477d('0xd67')]=_0x259673[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x259673[_0x477d('0x453')](),'type':_0x477d('0x1d23')}];for(var _0x37460a=0x0;_0x37460a<_0x259673[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x37460a++){_0x391f52[_0x477d('0x44a')]({'title':_0x259673['data']['errors'][_0x37460a][_0x477d('0x439')],'msg':_0x259673[_0x477d('0x451')]['errors'][_0x37460a][_0x477d('0x452')]});}}else{_0x391f52[_0x477d('0x44a')]({'title':_0x259673['status']?'API:'+_0x259673[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x259673[_0x477d('0x44d')]:_0x477d('0x1d23'),'msg':_0x259673['data']?JSON[_0x477d('0x3fb')](_0x259673[_0x477d('0x451')]['message']):_0x259673[_0x477d('0x452')]||_0x259673[_0x477d('0x453')]()});}});},function(){});}function _0x3ecbec(_0x36d96d){return _0x36d96d===null?undefined:new Date(_0x36d96d);}function _0x5c278b(_0x1581fb){_0x15d261['hide'](_0x1581fb);}}}());(function(){'use strict';_0x3e566c[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x387'),'$state',_0x477d('0x554'),_0x477d('0x384'),'$document',_0x477d('0x3fe'),_0x477d('0x40d'),_0x477d('0x1d16'),_0x477d('0x3a5'),_0x477d('0x3ac'),'api',_0x477d('0x342'),'toasty',_0x477d('0x55'),_0x477d('0x613'),_0x477d('0xc8e')];angular[_0x477d('0xb')]('app.mail')['controller'](_0x477d('0x1d24'),_0x3e566c);function _0x3e566c(_0xbd9f37,_0x3461ce,_0x29b1f6,_0x3202a7,_0x19f55a,_0x5855ce,_0xbf3176,_0x4c7370,_0x4a9292,_0x4fdda1,_0x371b8d,_0x7d8e47,_0xc2d6e6,_0x37d1b5,_0x2b5007,_0x2629e7,_0x233b5a){var _0x22726c=this;_0x22726c[_0x477d('0x613')]=_0x2629e7;_0x22726c['setting']=_0x233b5a;_0x22726c[_0x477d('0x3e5')]=_0x2b5007[_0x477d('0x5c')]();_0x22726c[_0x477d('0x1d16')]=_0x4a9292||{'count':0x0,'rows':[]};_0x22726c['userProfile']=_0x4fdda1;_0x22726c[_0x477d('0x3ac')]=_0x371b8d&&_0x371b8d[_0x477d('0x3bb')]==0x1?_0x371b8d[_0x477d('0xf2')][0x0]:null;_0x22726c[_0x477d('0xd66')]=_0x2b5007[_0x477d('0xd81')](_0x22726c[_0x477d('0x3ac')]?_0x22726c['userProfileSection'][_0x477d('0xd66')]:null);_0x22726c['table']=_0x477d('0x1d16');_0x22726c['listOrder']='';_0x22726c[_0x477d('0xd84')]=null;_0x22726c[_0x477d('0x1d25')]=[];_0x22726c[_0x477d('0x3ef')]={'fields':_0x477d('0x1e5'),'sort':_0x477d('0x59'),'limit':0xa,'page':0x1};_0x22726c[_0x477d('0xd86')]=_0x193dc6;_0x22726c[_0x477d('0xd88')]=_0x4537dd;_0x22726c[_0x477d('0x485')]=_0x379023;_0x22726c[_0x477d('0x1d26')]=_0x18d594;_0x22726c[_0x477d('0x1d27')]=_0x2c22e6;_0x22726c[_0x477d('0x1d1d')]=_0x148051;_0x22726c[_0x477d('0x1d28')]=_0x324cbe;_0x22726c['deleteSelectedMailSubstatuses']=_0x56b7de;_0x22726c[_0x477d('0x1d29')]=_0x2b11ec;_0x22726c[_0x477d('0x1d2a')]=_0x3bf0c0;function _0x193dc6(_0x27d4ab,_0x104dc7){_0x19f55a['show']({'controller':_0x477d('0x1d17'),'controllerAs':'vm','templateUrl':_0x477d('0x1d2b'),'parent':angular['element'](_0x5855ce[_0x477d('0x399')]),'targetEvent':_0x104dc7,'clickOutsideToClose':!![],'locals':{'mailSubstatus':_0x27d4ab,'mailSubtatuses':_0x22726c[_0x477d('0x1d16')][_0x477d('0xf2')],'license':_0x22726c['license'],'setting':null,'crudPermissions':_0x22726c['crudPermissions']}});}function _0x4537dd(_0x30dfb2,_0x5a83d0){var _0x2003f4=_0x19f55a[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xd90')+_['startCase']('mailSubstatus')+'?')[_0x477d('0xd92')](_0x477d('0xd93')+(_0x30dfb2[_0x477d('0x94')]||_0x477d('0xac0'))+''+'\x20will\x20be\x20deleted.')[_0x477d('0x687')](_0x477d('0x1d2c'))['targetEvent'](_0x5a83d0)['ok']('OK')['cancel'](_0x477d('0xd97'));_0x19f55a[_0x477d('0x395')](_0x2003f4)[_0x477d('0x76')](function(){_0x148051(_0x30dfb2);},function(){console[_0x477d('0x7b')]('CANCEL');});}var _0x29e536=!![];var _0x252239=0x1;_0xbd9f37[_0x477d('0x4b5')](_0x477d('0xd98'),function(_0x5b40f6,_0x5e3078){if(_0x29e536){_0xbf3176(function(){_0x29e536=![];});}else{if(!_0x5e3078){_0x252239=_0x22726c[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x5b40f6!==_0x5e3078){_0x22726c[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0x5b40f6){_0x22726c['query'][_0x477d('0xe03')]=_0x252239;}_0x22726c['getMailSubstatuses']();}});function _0x379023(_0xf22466){_0x22726c[_0x477d('0x1d16')]=_0xf22466||{'count':0x0,'rows':[]};}function _0x18d594(){_0x22726c[_0x477d('0x3ef')][_0x477d('0x91c')]=(_0x22726c[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x22726c[_0x477d('0x3ef')][_0x477d('0x91d')];if(_0x2b5007[_0x477d('0x56')](_0x477d('0x5f'))){_0x22726c[_0x477d('0x553')]=_0x7d8e47[_0x477d('0xac0')][_0x477d('0x376')](_0x22726c[_0x477d('0x3ef')],_0x379023)['$promise'];}else{_0x22726c[_0x477d('0x3ef')]['id']=_0x22726c['userProfile']['id'];_0x22726c[_0x477d('0x3ef')][_0x477d('0xd99')]=_0x477d('0x1d2d');_0x22726c[_0x477d('0x553')]=_0x7d8e47[_0x477d('0x3a5')][_0x477d('0xd9a')](_0x22726c[_0x477d('0x3ef')],_0x379023)[_0x477d('0x38b')];}}function _0x2c22e6(_0x47eab1,_0x5918a9){_0x19f55a['show']({'controller':_0x477d('0x1d17'),'controllerAs':'vm','templateUrl':_0x477d('0x1d2b'),'parent':angular[_0x477d('0x398')](_0x5855ce[_0x477d('0x399')]),'targetEvent':_0x47eab1,'clickOutsideToClose':!![],'locals':{'mailSubstatus':_0x5918a9,'mailSubtatuses':_0x22726c[_0x477d('0x1d16')][_0x477d('0xf2')],'license':_0x22726c[_0x477d('0x613')],'setting':_0x22726c[_0x477d('0xc8e')],'crudPermissions':_0x22726c[_0x477d('0xd66')]}});}function _0x148051(_0x56b4c2){_0x7d8e47[_0x477d('0xac0')][_0x477d('0xa55')]({'id':_0x56b4c2['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x22726c['mailSubtatuses'][_0x477d('0xf2')],{'id':_0x56b4c2['id']});_0x22726c['mailSubtatuses']['count']-=0x1;if(!_0x22726c[_0x477d('0x1d16')]['rows']['length']){_0x22726c[_0x477d('0x1d26')]();}_0x37d1b5['success']({'title':_[_0x477d('0xd91')]('MailSubstatus')+'\x20deleted!','msg':_0x56b4c2[_0x477d('0x94')]?_0x56b4c2['name']+_0x477d('0xd7e'):''});})[_0x477d('0xf8')](function(_0x4c8307){if(_0x4c8307[_0x477d('0x451')]&&_0x4c8307[_0x477d('0x451')][_0x477d('0xd67')]&&_0x4c8307[_0x477d('0x451')]['errors']['length']){_0x22726c[_0x477d('0xd67')]=_0x4c8307[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x4c8307[_0x477d('0x453')](),'type':_0x477d('0x1d2e')}];for(var _0x4054c9=0x0;_0x4054c9<_0x4c8307[_0x477d('0x451')]['errors'][_0x477d('0x79')];_0x4054c9++){_0x37d1b5[_0x477d('0x44a')]({'title':_0x4c8307['data'][_0x477d('0xd67')][_0x4054c9][_0x477d('0x439')],'msg':_0x4c8307['data'][_0x477d('0xd67')][_0x4054c9]['message']});}}else{_0x37d1b5['error']({'title':_0x4c8307[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x4c8307[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x4c8307[_0x477d('0x44d')]:'SYSTEM:DELETEmailSubstatus','msg':_0x4c8307[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x4c8307[_0x477d('0x451')][_0x477d('0x452')]):_0x4c8307[_0x477d('0x452')]||_0x4c8307[_0x477d('0x453')]()});}});}function _0x324cbe(){var _0x50f19c=angular['copy'](_0x22726c[_0x477d('0x1d25')]);_0x22726c[_0x477d('0x1d25')]=[];return _0x50f19c;}function _0x56b7de(_0x145ed3){var _0x1501b6=_0x19f55a['confirm']()[_0x477d('0x49a')](_0x477d('0x1d2f'))[_0x477d('0xd92')](_0x477d('0xd93')+_0x22726c[_0x477d('0x1d25')][_0x477d('0x79')]+_0x477d('0xda0')+_0x477d('0xd95'))['ariaLabel']('delete\x20MailSubstatuss')[_0x477d('0xd7c')](_0x145ed3)['ok']('OK')['cancel']('CANCEL');_0x19f55a['show'](_0x1501b6)['then'](function(){_0x22726c[_0x477d('0x1d25')][_0x477d('0x3b1')](function(_0x34ffa7){_0x148051(_0x34ffa7);});_0x22726c[_0x477d('0x1d25')]=[];});}function _0x2b11ec(){_0x22726c['selectedMailSubstatuses']=[];}function _0x3bf0c0(){_0x22726c[_0x477d('0x1d25')]=_0x22726c['mailSubtatuses'][_0x477d('0xf2')];}}}());(function(){'use strict';_0x27bf68[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x3fe'),_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x3c4'),_0x477d('0x386'),_0x477d('0x5a3'),_0x477d('0x40e'),_0x477d('0xf33'),_0x477d('0x1d30'),_0x477d('0x3a5'),_0x477d('0x3ac'),'Auth'];angular[_0x477d('0xb')](_0x477d('0x31'))[_0x477d('0x3ba')](_0x477d('0x1d31'),_0x27bf68);function _0x27bf68(_0xde63bb,_0x21ad32,_0x1ccc24,_0x49eea4,_0x472a31,_0x19f6d9,_0x3e26b2,_0x7d5a04,_0x515e52,_0x10ce79,_0x3380a8,_0x10b840,_0x30e998){var _0x2b9990=this;_0x2b9990[_0x477d('0x3e5')]=_0x30e998['getCurrentUser']();_0x2b9990[_0x477d('0x3bb')]=_0x515e52&&_0x515e52[_0x477d('0x3bb')]?_0x515e52[_0x477d('0x3bb')]:0x0;_0x2b9990[_0x477d('0xf33')]=_0x515e52?_[_0x477d('0xdb5')](_0x515e52[_0x477d('0xf2')]?_0x515e52[_0x477d('0xf2')]:[],'id'):{};_0x2b9990[_0x477d('0x1d30')]=_0x10ce79?_['keyBy'](_0x10ce79[_0x477d('0xf2')]?_0x10ce79[_0x477d('0xf2')]:[],'id'):{};_0x2b9990[_0x477d('0x3a5')]=_0x3380a8;_0x2b9990[_0x477d('0x3ac')]=_0x10b840&&_0x10b840[_0x477d('0x3bb')]==0x1?_0x10b840[_0x477d('0xf2')][0x0]:null;_0x2b9990[_0x477d('0xd66')]=_0x30e998[_0x477d('0xd81')](_0x2b9990[_0x477d('0x3ac')]?_0x2b9990[_0x477d('0x3ac')]['crudPermissions']:null);_0x2b9990['query']={'sort':'-name','limit':0xa,'page':0x1};_0x2b9990[_0x477d('0x485')]=_0x373696;_0x2b9990['$onInit']=_0x2397ad;_0x2b9990[_0x477d('0x1604')]=_0x64b1a6;_0x2b9990[_0x477d('0x13e2')]=_0x801ae0;_0x2b9990[_0x477d('0x1d32')]=_0x2ea516;_0x2b9990[_0x477d('0x1d33')]=_0xcd6f53;_0x2b9990[_0x477d('0x1852')]=_0x1b3297;_0x2b9990['order']=[];_[_0x477d('0xe4b')](_0x2b9990['mailAccounts'],function(_0x361f4e,_0x286209){_0x2b9990[_0x477d('0x13d9')][_0x477d('0x3a7')](_0x361f4e['id']);});_0x3e26b2['on']('mailAccount:save',_0x2b9990['onSave']);_0x3e26b2['on'](_0x477d('0x1d34'),_0x2b9990[_0x477d('0x13e2')]);_0x3e26b2['on'](_0x477d('0x176e'),_0x2b9990['onMailMessageSave']);function _0x2397ad(){_[_0x477d('0xe4b')](_0x2b9990['mailAccounts'],function(_0x3a1fd4,_0x30de00){if(_0x2b9990[_0x477d('0x1d30')][_0x30de00]){_[_0x477d('0xef')](_0x3a1fd4,_0x2b9990[_0x477d('0x1d30')][_0x30de00]);}});_['forIn'](_0x2b9990[_0x477d('0xf33')],function(_0x179bf9,_0x5c8471){var _0x1b279e={'id':_0x5c8471,'sort':_0x477d('0x149f'),'direction':'in','limit':0x1,'offset':0x0,'$gte':_0x477d('0x19a3')+moment()[_0x477d('0x12d')](_0x477d('0x137'))[_0x477d('0x12f')](_0x477d('0x38d'))};_0x19f6d9[_0x477d('0x1775')]['getMessages'](_0x1b279e)[_0x477d('0x38b')]['then'](function(_0x294b09){if(_0x294b09){_0x179bf9['in']=_0x294b09[_0x477d('0x3bb')]||0x0;_0x179bf9[_0x477d('0x1d35')]=_0x294b09[_0x477d('0xf2')]&&_0x294b09[_0x477d('0xf2')][_0x477d('0x79')]?_0x294b09[_0x477d('0xf2')][0x0][_0x477d('0xe37')]:undefined;}_0x1b279e['direction']=_0x477d('0x182a');return _0x19f6d9['mailAccount'][_0x477d('0x1804')](_0x1b279e)[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x4e79fd){if(_0x4e79fd){_0x179bf9[_0x477d('0x182a')]=_0x4e79fd[_0x477d('0x3bb')]||0x0;_0x179bf9[_0x477d('0x19a4')]=_0x4e79fd[_0x477d('0xf2')]&&_0x4e79fd[_0x477d('0xf2')][_0x477d('0x79')]?_0x4e79fd['rows'][0x0][_0x477d('0xe37')]:undefined;}})[_0x477d('0xf8')](function(_0x1175d2){console[_0x477d('0x7b')](_0x1175d2);});});}function _0x801ae0(_0x300c4f){if(_0x2b9990[_0x477d('0xf33')][_0x300c4f['id']]){_[_0x477d('0xef')](_0x2b9990['mailAccounts'][_0x300c4f['id']],_0x300c4f);}}function _0x2ea516(_0x92b1cc){if(_0x2b9990[_0x477d('0xf33')][_0x92b1cc[_0x477d('0x14b8')]]){if(_0x92b1cc['direction']=='in'){_0x2b9990[_0x477d('0xf33')][_0x92b1cc[_0x477d('0x14b8')]]['in']+=0x1;_0x2b9990[_0x477d('0xf33')][_0x92b1cc[_0x477d('0x14b8')]]['lastIn']=_0x92b1cc[_0x477d('0xe37')];}else{_0x2b9990[_0x477d('0xf33')][_0x92b1cc[_0x477d('0x14b8')]][_0x477d('0x182a')]+=0x1;_0x2b9990['mailAccounts'][_0x92b1cc[_0x477d('0x14b8')]][_0x477d('0x19a4')]=_0x92b1cc['createdAt'];}}}function _0xcd6f53(_0x30a18c,_0x397ac0){_0x472a31['go']('app.mail.mailAccounts.edit',{'id':_0x397ac0['id'],'mailAccount':_0x397ac0});}function _0x1b3297(_0x3db95c,_0x2a5797){if(_0x2a5797&&_0x2a5797['id']){return _0x19f6d9[_0x477d('0x1775')][_0x477d('0x1852')]({'id':_0x2a5797['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_0x7d5a04[_0x477d('0x485')]({'title':_0x477d('0x1ce9'),'msg':_0x477d('0xf0a')});})[_0x477d('0xf8')](function(_0x544521){_0x7d5a04['error']({'title':_0x477d('0x1ce9'),'msg':_0x544521[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x544521[_0x477d('0x451')]):_0x544521[_0x477d('0x453')]()});});}else{_0x7d5a04['error']({'title':_0x477d('0x1ce9'),'msg':'Smpt\x20id\x20unknown'});}}var _0x412675=!![];var _0x3f00a5=0x1;_0xde63bb['$watch'](_0x477d('0xd98'),function(_0x10c45a,_0x346194){if(_0x412675){_0x21ad32(function(){_0x412675=![];});}else{if(!_0x346194){_0x3f00a5=_0x2b9990[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x10c45a!==_0x346194){_0x2b9990[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0x10c45a){_0x2b9990[_0x477d('0x3ef')][_0x477d('0xe03')]=_0x3f00a5;}_0x2b9990[_0x477d('0x1604')]();}});function _0x373696(_0x394a2e){_0x2b9990[_0x477d('0xf33')]=_0x394a2e?_[_0x477d('0xdb5')](_0x394a2e[_0x477d('0xf2')]?_0x394a2e['rows']:[],'id'):{};if(_0x394a2e[_0x477d('0xf2')]){_0x2b9990[_0x477d('0x13d9')]=[];for(var _0x45402b=0x0;_0x45402b<_0x394a2e[_0x477d('0xf2')][_0x477d('0x79')];_0x45402b++){_0x2b9990[_0x477d('0x13d9')][_0x477d('0x3a7')](_0x394a2e[_0x477d('0xf2')][_0x45402b]['id']);}}_0x2397ad();}function _0x64b1a6(){_0x2b9990[_0x477d('0x3ef')][_0x477d('0x91c')]=(_0x2b9990[_0x477d('0x3ef')]['page']-0x1)*_0x2b9990[_0x477d('0x3ef')][_0x477d('0x91d')];if(_0x30e998['hasRole'](_0x477d('0x5f'))){_0x2b9990['promise']=_0x19f6d9[_0x477d('0x1775')][_0x477d('0x376')](_0x2b9990['query'],_0x373696)[_0x477d('0x38b')];}else{_0x2b9990[_0x477d('0x3ef')]['id']=_0x2b9990[_0x477d('0x3a5')]['id'];_0x2b9990['query']['section']=_0x477d('0xa7');_0x2b9990['promise']=_0x19f6d9['userProfile'][_0x477d('0xd9a')](_0x2b9990['query'],_0x373696)['$promise'];}}_0xde63bb[_0x477d('0x4ec')]('$destroy',function(){_0x3e26b2[_0x477d('0x6b8')](_0x477d('0x1d36'));_0x3e26b2[_0x477d('0x6b8')](_0x477d('0x1d34'));_0x3e26b2[_0x477d('0x6b8')](_0x477d('0x176e'));});}}());(function(){'use strict';_0x5aad31[_0x477d('0xa')]=['$scope','$q',_0x477d('0x3fe'),_0x477d('0x384'),_0x477d('0x475'),'$filter','pauses',_0x477d('0x125c'),_0x477d('0x13d7'),'api',_0x477d('0x5a3'),_0x477d('0x40e'),_0x477d('0x13b4'),_0x477d('0x3a5'),_0x477d('0x3ac'),_0x477d('0x55'),'license','$interval'];angular[_0x477d('0xb')](_0x477d('0x2f'))[_0x477d('0x3ba')]('AgentsMailRealtimeController',_0x5aad31);function _0x5aad31(_0x3b77dc,_0x3a71da,_0x4cf337,_0x477f6e,_0x48d58a,_0x2579d7,_0x2c9492,_0x5c3ef8,_0x65e33b,_0x42ba50,_0x3138db,_0x9f81c2,_0xbe4c85,_0x57d4b6,_0x409add,_0x50e05c,_0x5d3548,_0x3a6cde){var _0x614631=this;var _0x5e350c=[_0x477d('0x13b6'),'online',_0x477d('0x392'),_0x477d('0x13b7'),_0x477d('0x19a7'),_0x477d('0x13b7'),_0x477d('0x324'),_0x477d('0x13b8'),_0x477d('0x13d0'),_0x477d('0x13d1'),_0x477d('0x13b9'),_0x477d('0x13d2'),_0x477d('0x13ba'),_0x477d('0x13bb'),'voicePause',_0x477d('0x19a8'),_0x477d('0x13bc'),'mailCapacity',_0x477d('0x13be'),_0x477d('0x1d37'),'faxCapacity',_0x477d('0x13c0'),_0x477d('0x19a9'),_0x477d('0x13c1'),_0x477d('0x13c2'),_0x477d('0x19aa'),_0x477d('0x13c3'),_0x477d('0x19ab'),_0x477d('0x13c4'),'mailStatus',_0x477d('0x13c5'),_0x477d('0x13c6'),'faxStatus',_0x477d('0x13c8'),_0x477d('0x13c9'),_0x477d('0x13ca'),_0x477d('0x13cb'),_0x477d('0x13fd'),_0x477d('0x13fe'),_0x477d('0x13cc'),_0x477d('0x19ac'),_0x477d('0x1256'),_0x477d('0x13ef'),_0x477d('0x13cd'),'phoneBarEnableScreenRecordingByAgent',_0x477d('0x13cf')];var _0x2bd949=['chatPause',_0x477d('0x13d1'),_0x477d('0x13b9'),_0x477d('0x13d2'),_0x477d('0x13ba'),'faxPause',_0x477d('0x624'),_0x477d('0x13d3')];_0x614631[_0x477d('0x3e5')]=_0x50e05c[_0x477d('0x5c')]();_0x614631['availableStates']=[_0x477d('0x5ed'),_0x477d('0x13d4'),'busy',_0x477d('0x13d5'),_0x477d('0x13d6')];_0x614631[_0x477d('0xf39')]=_0x2c9492||{'count':0x0,'rows':[]};_0x614631[_0x477d('0x613')]=_0x5d3548;_0x614631[_0x477d('0x3a5')]=_0x57d4b6;_0x614631[_0x477d('0x3ac')]=_0x409add&&_0x409add[_0x477d('0x3bb')]==0x1?_0x409add[_0x477d('0xf2')][0x0]:null;_0x614631['crudPermissions']=_0x50e05c['parseCrudPermissions'](_0x614631[_0x477d('0x3ac')]?_0x614631[_0x477d('0x3ac')][_0x477d('0xd66')]:null);_0x614631['agents']=_0x5c3ef8?_[_0x477d('0xdb5')](_0x5c3ef8[_0x477d('0xf2')]?_0x5c3ef8['rows']:[],'id'):{};_0x614631['rpcAgents']=_0x65e33b?_[_0x477d('0xdb5')](_0x65e33b[_0x477d('0xf2')]?_0x65e33b[_0x477d('0xf2')]:[],'id'):{};_0x614631['paginatedAgents']={};_0x614631[_0x477d('0x600')]=![];_0x614631[_0x477d('0x13d9')]=[];_0x614631[_0x477d('0x13da')]={};for(var _0x4a1fc4 in _0x614631[_0x477d('0x125c')]){if(_0x614631[_0x477d('0x125c')][_0x477d('0x3ea')](_0x4a1fc4)){_0x614631[_0x477d('0x125c')][_0x4a1fc4]['init']=!![];}}_0x614631[_0x477d('0x3ef')]={'limit':0xa,'page':0x1,'order':_0x477d('0xcd'),'globalStatusFilter':'','pauseTypeFilter':''};_0x614631[_0x477d('0x38c')]=_0x7709e9;_0x614631[_0x477d('0x19ad')]=_0x56c44d;_0x614631[_0x477d('0x657')]=_0x2a82e1;_0x614631['unPause']=_0x38d199;_0x614631[_0x477d('0x13dc')]=_0x524845;_0x614631['getAgentStatus']=_0x4f2df3;_0x614631[_0x477d('0x13de')]=_0x47d2e2;_0x614631[_0x477d('0x13df')]=_0x1a8920;_0x614631[_0x477d('0x13e0')]=_0xf56fb6;_0x614631['isPartialPause']=_0x358cbf;_0x614631[_0x477d('0x13e2')]=_0x455047;_0x614631[_0x477d('0x13e3')]=_0x4bc388;_0x614631['onInit']=_0x2be751;_0x614631[_0x477d('0x13e6')]=_0x4bcb6c;_0x614631[_0x477d('0x13e4')]=_0x722a15;_0x614631['screenRecording']=_0x2aa81e;_0x3138db['on'](_0x477d('0x13e5'),_0x614631['onSave']);_0x3138db['on'](_0x477d('0x1402'),_0x614631[_0x477d('0x13e3')]);_0x3138db['on'](_0x477d('0x1403'),_0x614631[_0x477d('0x13e6')]);_0x3138db['on']('user:agentcomplete',_0x614631[_0x477d('0x13e4')]);_0x2be751();var _0x37ed94=_0x3a6cde(function(){if(_0x614631[_0x477d('0x600')]){_0x614631[_0x477d('0x600')]=![];_0x2be751();}},0x3e7);function _0x2be751(_0x17b303){_0x614631['load']=![];var _0x408718=_0x3a71da[_0x477d('0x54a')]();_0x614631[_0x477d('0x553')]=_0x408718[_0x477d('0x553')];_0x614631[_0x477d('0x13e8')]=[];_0x614631[_0x477d('0x13d9')]=[];_[_0x477d('0xe4b')](_0x614631[_0x477d('0x125c')],function(_0x3dab6a,_0x344eff){if(_0x614631[_0x477d('0x13d7')][_0x344eff]){_[_0x477d('0xef')](_0x3dab6a,_[_0x477d('0x10b')](_[_0x477d('0x3fc')](_0x614631[_0x477d('0x13d7')][_0x344eff],_0x2bd949),_0x5e350c));}_0x47d2e2(_0x3dab6a);if(_0x3dab6a[_0x477d('0x13d3')]){_0x614631[_0x477d('0x13e8')][_0x477d('0x3a7')](_0x3dab6a);_0x614631[_0x477d('0x13da')][_0x3dab6a['internal']]=_0x344eff;}else{_0x3dab6a[_0x477d('0x13ed')]=_[_0x477d('0x18e6')](moment()['format']('x'));}});if(_0x614631['query'][_0x477d('0x13e9')]){_[_0x477d('0x39c')](_0x614631[_0x477d('0x13e8')],function(_0x40b9df){return _0x40b9df['globalStatus']!==_0x614631['query'][_0x477d('0x13e9')];});}if(_0x614631[_0x477d('0x3ef')]['pauseTypeFilter']){_[_0x477d('0x39c')](_0x614631[_0x477d('0x13e8')],function(_0x1d77f2){return _0x1d77f2[_0x477d('0x19a7')]!==_0x614631[_0x477d('0x3ef')][_0x477d('0x13eb')];});}if(_0x614631[_0x477d('0x3ef')][_0x477d('0x3b3')]){_['remove'](_0x614631[_0x477d('0x13e8')],function(_0x2ce138){return _0x2ce138[_0x477d('0xcd')][_0x477d('0x449')]()[_0x477d('0x477')](_0x614631['query']['filter']['toLowerCase']())<0x0;});}_0x614631['filteredAgents']=_0x3a034e(_0x614631[_0x477d('0x13e8')]);var _0x17b7f9=(_0x614631['query'][_0x477d('0xe03')]-0x1)*_0x614631[_0x477d('0x3ef')][_0x477d('0x91d')];_0x614631[_0x477d('0x13d8')]=_['drop'](_0x614631[_0x477d('0x13e8')],_0x17b7f9)[_0x477d('0x9cd')](0x0,_0x614631['query']['limit']);for(var _0x2da4f9=0x0;_0x2da4f9<_0x614631[_0x477d('0x13d8')][_0x477d('0x79')];_0x2da4f9+=0x1){_0x614631['order'][_0x477d('0x3a7')](_0x614631[_0x477d('0x13d8')][_0x2da4f9]['id']);}_0x408718[_0x477d('0x5a')]();_0x614631['load']=!![];}function _0x455047(_0x1df25a){if(_0x614631[_0x477d('0x125c')][_0x1df25a['id']]){_[_0x477d('0xef')](_0x614631[_0x477d('0x125c')][_0x1df25a['id']],_[_0x477d('0x10b')](_[_0x477d('0x3fc')](_0x1df25a,_0x2bd949),_0x5e350c));_['merge'](_0x614631['rpcAgents'][_0x1df25a['id']],_[_0x477d('0x10b')](_[_0x477d('0x3fc')](_0x1df25a,_0x2bd949),_0x5e350c));_0x47d2e2(_0x614631[_0x477d('0x125c')][_0x1df25a['id']]);}}function _0x4bc388(_0x337fe3){if(_0x614631[_0x477d('0x125c')][_0x337fe3['id']]){_[_0x477d('0xef')](_0x614631[_0x477d('0x125c')][_0x337fe3['id']],_[_0x477d('0x10b')](_0x337fe3,_0x5e350c));_[_0x477d('0xef')](_0x614631[_0x477d('0x13d7')][_0x337fe3['id']],_[_0x477d('0x10b')](_0x337fe3,_0x5e350c));if(_0x337fe3['lastPauseAt']){_0x614631['agents'][_0x337fe3['id']]['globalStatusTime']=_0x337fe3['lastPauseAt'];_0x614631[_0x477d('0x13d7')][_0x337fe3['id']][_0x477d('0x13ed')]=_0x337fe3[_0x477d('0x13b7')];}_0x47d2e2(_0x614631['agents'][_0x337fe3['id']]);}}function _0x4bcb6c(_0x2185df){if(_0x614631['agents'][_0x614631[_0x477d('0x13da')][_0x2185df[_0x477d('0x13ee')]]]){_['merge'](_0x614631[_0x477d('0x125c')][_0x614631[_0x477d('0x13da')][_0x2185df[_0x477d('0x13ee')]]],_[_0x477d('0x10b')](_0x2185df,[_0x477d('0x1256'),_0x477d('0x13ef')]));_[_0x477d('0xef')](_0x614631[_0x477d('0x13d7')][_0x614631[_0x477d('0x13da')][_0x2185df[_0x477d('0x13ee')]]],_[_0x477d('0x10b')](_0x2185df,[_0x477d('0x1256'),_0x477d('0x13ef')]));}}function _0x722a15(_0x36a12d){if(_0x614631[_0x477d('0x125c')][_0x614631[_0x477d('0x13da')][_0x36a12d[_0x477d('0x13ee')]]]){_0x614631[_0x477d('0x125c')][_0x614631['agentInternal'][_0x36a12d[_0x477d('0x13ee')]]]=_['omit'](_0x614631[_0x477d('0x125c')][_0x614631[_0x477d('0x13da')][_0x36a12d[_0x477d('0x13ee')]]],[_0x477d('0x1256'),_0x477d('0x13ef')]);_0x614631['rpcAgents'][_0x614631[_0x477d('0x13da')][_0x36a12d[_0x477d('0x13ee')]]]=_['omit'](_0x614631['rpcAgents'][_0x614631[_0x477d('0x13da')][_0x36a12d['destaccountcode']]],[_0x477d('0x1256'),'destconnectedlinenum']);}}function _0x7709e9(_0x2a7b86,_0x2ee2f6){return _0x42ba50['user'][_0x477d('0x38c')]({'id':_0x2a7b86['id'],'device':_0x477d('0x11f1'),'agent_id':_0x2a7b86['id'],'agent_name':_0x2a7b86['name']})['$promise'][_0x477d('0x76')](function(){_0x9f81c2[_0x477d('0x485')]({'title':_0x477d('0x13f0'),'msg':_0x2a7b86[_0x477d('0xcd')]+_0x477d('0x13f1')});if(_0x614631['agents'][_0x2a7b86['id']]){_0x614631[_0x477d('0x125c')][_0x2a7b86['id']][_0x477d('0x13d3')]=![];}if(_0x614631[_0x477d('0x13d7')][_0x2a7b86['id']]){_0x614631[_0x477d('0x13d7')][_0x2a7b86['id']]['online']=![];}_0x2be751();})[_0x477d('0xf8')](function(_0x46c72c){_0x9f81c2[_0x477d('0x44a')]({'title':_0x46c72c[_0x477d('0x3c3')]?'API:'+_0x46c72c[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x46c72c['statusText']:_0x477d('0x13f2'),'msg':_0x46c72c[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x46c72c[_0x477d('0x451')][_0x477d('0x452')]):_0x46c72c[_0x477d('0x453')]()});});}function _0x2a82e1(_0x240f04,_0x2e4775){return _0x42ba50[_0x477d('0x380')][_0x477d('0x657')]({'id':_0x240f04['id'],'type':_0x2e4775})['$promise']['then'](function(_0x414223){if(_0x614631[_0x477d('0x125c')][_0x240f04['id']]){_[_0x477d('0xef')](_0x614631['agents'][_0x240f04['id']],_[_0x477d('0x10b')](_0x414223,_0x5e350c));}if(_0x614631[_0x477d('0x13d7')][_0x240f04['id']]){_[_0x477d('0xef')](_0x614631[_0x477d('0x13d7')][_0x240f04['id']],_[_0x477d('0x10b')](_0x414223,_0x5e350c));}_0x47d2e2(_0x614631[_0x477d('0x125c')][_0x240f04['id']]);})['catch'](function(_0x5dc1c8){_0x9f81c2['error']({'title':_0x5dc1c8['status']?_0x477d('0x44b')+_0x5dc1c8[_0x477d('0x3c3')]+'\x20-\x20'+_0x5dc1c8[_0x477d('0x44d')]:_0x477d('0x13f2'),'msg':_0x5dc1c8[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x5dc1c8[_0x477d('0x451')]['message']):_0x5dc1c8[_0x477d('0x453')]()});});}function _0x38d199(_0xfa9ebc){return _0x42ba50[_0x477d('0x380')]['unpause']({'id':_0xfa9ebc['id']})['$promise'][_0x477d('0x76')](function(_0x126fd3){if(_0x614631[_0x477d('0x125c')][_0xfa9ebc['id']]){_[_0x477d('0xef')](_0x614631[_0x477d('0x125c')][_0xfa9ebc['id']],_[_0x477d('0x10b')](_0x126fd3,_0x5e350c));}if(_0x614631[_0x477d('0x13d7')][_0xfa9ebc['id']]){_[_0x477d('0xef')](_0x614631[_0x477d('0x13d7')][_0xfa9ebc['id']],_[_0x477d('0x10b')](_0x126fd3,_0x5e350c));}_0x47d2e2(_0x614631[_0x477d('0x125c')][_0xfa9ebc['id']]);})['catch'](function(_0x320b47){_0x9f81c2[_0x477d('0x44a')]({'title':_0x320b47[_0x477d('0x3c3')]?'API:'+_0x320b47[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x320b47[_0x477d('0x44d')]:'api.staff.save','msg':_0x320b47[_0x477d('0x451')]?JSON['stringify'](_0x320b47[_0x477d('0x451')]['message']):_0x320b47[_0x477d('0x453')]()});});}function _0x524845(_0x52aa79){_0x477f6e[_0x477d('0x395')](_0x477f6e[_0x477d('0x120a')]()[_0x477d('0x13f3')](!![])['title']('Legend')['htmlContent']('
TODO\x20legend\x20status\x20+\x20state
')['ok']('Ok')[_0x477d('0xd7c')](_0x52aa79));}function _0x56c44d(_0x13ea6e,_0xaf68d0){_0x477f6e[_0x477d('0x395')]({'controller':'AgentqueueaddController','controllerAs':'vm','templateUrl':'app/main/apps/staff/views/agents/edit/queueadd/queueadd.html','parent':angular[_0x477d('0x398')](_0x48d58a[_0x477d('0x399')]),'targetEvent':_0xaf68d0,'clickOutsideToClose':!![],'locals':{'agent':_0x13ea6e,'agents':[],'channel':_0x477d('0x1d6'),'direction':_0x477d('0x9e'),'crudPermissions':_0x614631[_0x477d('0xd66')]}});}function _0x1a8920(_0x11d6bf){return _0x11d6bf===_0x477d('0x657')||_0x11d6bf==='*pause';}function _0xf56fb6(_0x4d65bc){return _0x4d65bc===_0x477d('0x657');}function _0x358cbf(_0x302102){return _0x302102===_0x477d('0x13f6');}function _0xdec8f1(_0x36617d){return _0x36617d===_0x477d('0x13f7')||_0x36617d===_0x477d('0x13f8')||_0x36617d===_0x477d('0x13f9')||_0x36617d===_0x477d('0x5ed')||_['isNil'](_0x36617d);}function _0x4f2df3(_0x4c67d7,_0xb7092){if(_0xb7092===_0x477d('0x108')){if(_0x4c67d7[_0xb7092+'Status']!=='idle'){return _0x4c67d7[_0xb7092+'Status'];}if(_0x4c67d7[_0xb7092+_0x477d('0x13fa')]){_0x4c67d7[_0xb7092+_0x477d('0x135e')]=_0x477d('0x657');return'pause';}return'idle';}else{if(_0x4c67d7[_0xb7092+'Pause']){_0x4c67d7[_0xb7092+_0x477d('0x135e')]=_0x477d('0x657');return _0x477d('0x657');}return _0x4c67d7[_0xb7092+'Status'];}}function _0x47d2e2(_0x214f24){var _0x175247=_0x477d('0x13f8');if(_[_0x477d('0x943')]([_0x4f2df3(_0x214f24,_0x477d('0x108')),_0x4f2df3(_0x214f24,'chat'),_0x4f2df3(_0x214f24,'mail'),_0x4f2df3(_0x214f24,_0x477d('0x22a')),_0x4f2df3(_0x214f24,_0x477d('0x26e')),_0x4f2df3(_0x214f24,_0x477d('0x35d')),_0x4f2df3(_0x214f24,_0x477d('0x154'))],_0x1a8920)){_0x175247=_0x477d('0x657');}else if(_[_0x477d('0x3ab')]([_0x4f2df3(_0x214f24,_0x477d('0x108')),_0x4f2df3(_0x214f24,_0x477d('0xb6')),_0x4f2df3(_0x214f24,'mail'),_0x4f2df3(_0x214f24,_0x477d('0x22a')),_0x4f2df3(_0x214f24,_0x477d('0x26e')),_0x4f2df3(_0x214f24,_0x477d('0x35d')),_0x4f2df3(_0x214f24,'fax')],_0x1a8920)){_0x175247=_0x477d('0x13f6');}else if(_['every']([_0x4f2df3(_0x214f24,_0x477d('0x108')),_0x4f2df3(_0x214f24,_0x477d('0xb6')),_0x4f2df3(_0x214f24,_0x477d('0x1d6')),_0x4f2df3(_0x214f24,'openchannel'),_0x4f2df3(_0x214f24,'sms'),_0x4f2df3(_0x214f24,_0x477d('0x35d')),_0x4f2df3(_0x214f24,_0x477d('0x154'))],_0xdec8f1)){_0x175247=_0x477d('0x13f7');}else{_0x175247=_0x477d('0x13fb');}if(_0x214f24[_0x477d('0x13ea')]!==_0x175247){_0x214f24[_0x477d('0x13ea')]=_0x175247;if(_0x214f24[_0x477d('0x5ee')]){_0x214f24[_0x477d('0x5ee')]=![];_0x214f24[_0x477d('0x13ed')]=_0x1a8920(_0x175247)?_[_0x477d('0x18e6')](moment(_0x214f24['lastPauseAt'])[_0x477d('0x12f')]('x')):_[_0x477d('0x13fc')]([_0x214f24[_0x477d('0x19ac')],_0x214f24[_0x477d('0x13c9')],_0x214f24['mailStatusTime'],_0x214f24[_0x477d('0x13fd')],_0x214f24[_0x477d('0x13fe')],_0x214f24[_0x477d('0x13ca')],_0x214f24['faxStatusTime']]);}else{_0x214f24['globalStatusTime']=_[_0x477d('0x18e6')](moment()[_0x477d('0x12f')]('x'));}}}function _0x3a034e(_0x443290){var _0x34c5e6=_[_0x477d('0x1337')](_0x614631['query'][_0x477d('0x13d9')],'-')?_0x477d('0x13ff'):'asc';return _[_0x477d('0x1401')](_0x443290,[_0x614631[_0x477d('0x3ef')][_0x477d('0x13d9')][_0x477d('0x409')]('-','')],[_0x34c5e6]);}function _0x42926f(){if(_0x37ed94){_0x3a6cde[_0x477d('0x4f0')](_0x37ed94);_0x37ed94=null;}}function _0x2aa81e(_0x107e70,_0x1737d0){return _0x42ba50['user'][_0x477d('0x710')]({'id':_0x107e70['id']},{'screenrecording':_0x1737d0})['$promise'][_0x477d('0xf8')](function(_0x2a064e){_0x9f81c2[_0x477d('0x44a')]({'title':_0x2a064e[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x2a064e['status']+_0x477d('0x44c')+_0x2a064e['statusText']:'api.user.update','msg':_0x2a064e[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x2a064e['data'][_0x477d('0x452')]):_0x2a064e[_0x477d('0x453')]()});});}_0x3b77dc['$on']('$destroy',function(){_0x3138db[_0x477d('0x6b8')](_0x477d('0x13e5'));_0x3138db[_0x477d('0x6b8')](_0x477d('0x1402'));_0x3138db['removeAllListeners'](_0x477d('0x1403'));_0x3138db['removeAllListeners'](_0x477d('0x13e7'));_0x42926f();});}}());(function(){'use strict';_0xb2e64f[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x3fe'),'$mdDialog','$q',_0x477d('0x475'),'$interval',_0x477d('0xf2f'),_0x477d('0x1404'),_0x477d('0x386'),_0x477d('0x5a3'),_0x477d('0x40e'),_0x477d('0x3a5'),_0x477d('0x3ac'),_0x477d('0x55')];angular['module'](_0x477d('0x31'))['controller'](_0x477d('0x1d38'),_0xb2e64f);function _0xb2e64f(_0x3846f6,_0x2f1240,_0x44891c,_0x3eed70,_0x5cc72c,_0x29bbbc,_0x45cce2,_0x33918c,_0x403069,_0x5297a3,_0x5710a7,_0x33ae2d,_0x11ebba,_0x1b82c5){var _0x8e6771=this;var _0x30bc35=['loggedIn',_0x477d('0x1405'),_0x477d('0x10c'),'talking',_0x477d('0x1406'),_0x477d('0x1407'),'message',_0x477d('0x16a8'),'dialMethod',_0x477d('0x1409'),_0x477d('0x140a')];_0x8e6771[_0x477d('0x3e5')]=_0x1b82c5[_0x477d('0x5c')]();_0x8e6771[_0x477d('0x3bb')]=_0x45cce2[_0x477d('0x3bb')]?_0x45cce2['count']:0x0;_0x8e6771['queues']=_0x45cce2?_['keyBy'](_0x45cce2['rows']?_0x45cce2[_0x477d('0xf2')]:[],'id'):{};_0x8e6771[_0x477d('0x1404')]=_0x33918c?_[_0x477d('0xdb5')](_0x33918c[_0x477d('0xf2')]?_0x33918c[_0x477d('0xf2')]:[],'id'):{};_0x8e6771['userProfile']=_0x33ae2d;_0x8e6771[_0x477d('0x3ac')]=_0x11ebba&&_0x11ebba[_0x477d('0x3bb')]==0x1?_0x11ebba['rows'][0x0]:null;_0x8e6771[_0x477d('0xd66')]=_0x1b82c5[_0x477d('0xd81')](_0x8e6771[_0x477d('0x3ac')]?_0x8e6771[_0x477d('0x3ac')]['crudPermissions']:null);if(_0x1b82c5[_0x477d('0x56')]('admin')){_0x8e6771[_0x477d('0x3ef')]={'type':_0x477d('0x9e'),'sort':'-updatedAt','limit':0xa,'page':0x1};}else{_0x8e6771['query']={'id':_0x8e6771[_0x477d('0x3e5')]['id'],'channel':_0x477d('0x1d6'),'type':_0x477d('0x9e'),'sort':_0x477d('0x59'),'limit':0xa,'page':0x1};}_0x8e6771['success']=_0x16ae8a;_0x8e6771['getQueues']=_0x9cafc9;_0x8e6771['createOrEditMailQueue']=_0x4e7ba3;_0x8e6771['agentAdd']=_0x56010a;_0x8e6771[_0x477d('0x140c')]=_0x3baf15;_0x8e6771[_0x477d('0x13e2')]=_0x39cc87;_0x8e6771[_0x477d('0x140d')]=_0x15ee8c;_0x8e6771['onRemoveMember']=_0xef193;_0x8e6771[_0x477d('0x140e')]=_0x2ee3a0;_0x8e6771[_0x477d('0x140f')]=_0xf99f29;_0x8e6771['onLogout']=_0x2ae377;_0x8e6771[_0x477d('0x6ad')]=_0x3fe961;_0x8e6771[_0x477d('0x13d9')]=[];_[_0x477d('0xe4b')](_0x8e6771[_0x477d('0xf2f')],function(_0x2c09e9,_0x4874be){_0x8e6771[_0x477d('0x13d9')][_0x477d('0x3a7')](_0x2c09e9['id']);});_0x5297a3['on'](_0x477d('0x16ff'),_0x8e6771[_0x477d('0x13e2')]);_0x5297a3['on'](_0x477d('0x1701'),_0x8e6771[_0x477d('0x140d')]);_0x5297a3['on'](_0x477d('0x1702'),_0x8e6771[_0x477d('0x1413')]);_0x5297a3['on'](_0x477d('0x1402'),_0x8e6771[_0x477d('0x140e')]);_0x5297a3['on']('userVoiceQueue:remove',_0x8e6771[_0x477d('0x1410')]);_0x5297a3['on'](_0x477d('0x1415'),_0x8e6771['onLogin']);function _0x3fe961(){var _0x73ddab=[];_[_0x477d('0xe4b')](_0x8e6771['queues'],function(_0x16d218,_0x51ecfe){_0x16d218['paused']=0x0;_0x16d218[_0x477d('0x1416')]=0x0;_0x8e6771[_0x477d('0xf2f')][_0x51ecfe][_0x477d('0x125c')]={};_0x73ddab['push'](_0x403069[_0x477d('0x1c81')]['getMembers']({'id':_0x51ecfe})[_0x477d('0x38b')]);if(_0x8e6771['rpcQueues'][_0x51ecfe]){_[_0x477d('0xef')](_0x16d218,_['pick'](_0x8e6771[_0x477d('0x1404')][_0x51ecfe],_0x30bc35));}});return _0x3eed70['all'](_0x73ddab)[_0x477d('0x76')](function(_0x38f855){for(var _0x1a2ab6=0x0;_0x1a2ab6<_0x38f855['length'];_0x1a2ab6+=0x1){for(var _0xcd1d10=0x0;_0xcd1d10<_0x38f855[_0x1a2ab6][_0x477d('0xf2')]['length'];_0xcd1d10++){if(_0x38f855[_0x1a2ab6][_0x477d('0xf2')][_0xcd1d10][_0x477d('0x140a')]){_0x8e6771[_0x477d('0xf2f')][_0x38f855[_0x1a2ab6]['rows'][_0xcd1d10][_0x477d('0x1c80')]]['paused']++;}_0x8e6771[_0x477d('0xf2f')][_0x38f855[_0x1a2ab6]['rows'][_0xcd1d10]['MailQueueId']][_0x477d('0x1416')]++;_0x8e6771['queues'][_0x38f855[_0x1a2ab6][_0x477d('0xf2')][_0xcd1d10][_0x477d('0x1c80')]]['agents'][_0x38f855[_0x1a2ab6][_0x477d('0xf2')][_0xcd1d10][_0x477d('0x125b')]]=_0x38f855[_0x1a2ab6][_0x477d('0xf2')][_0xcd1d10]['MailQueueId'];}}})[_0x477d('0xf8')](function(_0x7088cd){console['error'](_0x7088cd);});}function _0x39cc87(_0x271de3){if(_0x8e6771[_0x477d('0xf2f')][_0x271de3['id']]){_[_0x477d('0xef')](_0x8e6771[_0x477d('0xf2f')][_0x271de3['id']],_[_0x477d('0x10b')](_0x271de3,_0x30bc35));}}function _0x15ee8c(_0x1ecc19){if(_0x8e6771[_0x477d('0xf2f')][_0x1ecc19[_0x477d('0x1c80')]]){_0x8e6771[_0x477d('0xf2f')][_0x1ecc19[_0x477d('0x1c80')]][_0x477d('0x1416')]++;}}function _0xef193(_0xcefa9e){if(_0x8e6771[_0x477d('0xf2f')][_0xcefa9e[_0x477d('0x1c80')]]){_0x8e6771[_0x477d('0xf2f')][_0xcefa9e[_0x477d('0x1c80')]][_0x477d('0x1416')]--;}}function _0x2ee3a0(_0x4ca184){console['log'](_0x477d('0x140e'),_0x4ca184);if(_0x4ca184['voicePause']){_[_0x477d('0xe4b')](_0x8e6771[_0x477d('0xf2f')],function(_0x403d26,_0x26d265){if(_0x403d26[_0x477d('0x125c')][_0x4ca184['id']]){_0x403d26[_0x477d('0x140a')]+=0x1;console[_0x477d('0x7b')]('pause');}});}else if(!_0x4ca184['voicePause']){_[_0x477d('0xe4b')](_0x8e6771['queues'],function(_0x26c3fb,_0x283f2b){if(_0x26c3fb[_0x477d('0x125c')][_0x4ca184['id']]){if(_0x26c3fb[_0x477d('0x140a')]>0x0){_0x26c3fb[_0x477d('0x140a')]-=0x1;console[_0x477d('0x7b')](_0x477d('0x15a7'));}}});}}function _0xf99f29(_0x44b11a){console['log'](_0x477d('0x1d39'),_0x44b11a);if(_0x8e6771[_0x477d('0xf2f')][_0x44b11a['MailQueueId']]){_0x8e6771[_0x477d('0xf2f')][_0x44b11a[_0x477d('0x1c80')]][_0x477d('0x1416')]+=0x1;_0x8e6771[_0x477d('0xf2f')][_0x44b11a[_0x477d('0x1c80')]][_0x477d('0x125c')][_0x44b11a[_0x477d('0x125b')]]=_0x44b11a[_0x477d('0x1c80')];}}function _0x2ae377(_0x7f7d79){console[_0x477d('0x7b')](_0x477d('0x1410'),_0x7f7d79);if(_0x8e6771['queues'][_0x7f7d79[_0x477d('0x1c80')]]&&_0x8e6771['queues'][_0x7f7d79[_0x477d('0x1c80')]][_0x477d('0x1416')]>0x0){_0x8e6771[_0x477d('0xf2f')][_0x7f7d79[_0x477d('0x1c80')]][_0x477d('0x1416')]-=0x1;delete _0x8e6771['queues'][_0x7f7d79[_0x477d('0x1c80')]][_0x477d('0x125c')][_0x7f7d79['UserId']];}}var _0x1c893b=!![];var _0x2096f7=0x1;_0x3846f6[_0x477d('0x4b5')](_0x477d('0xd98'),function(_0x5750ad,_0x5f4bb3){if(_0x1c893b){_0x2f1240(function(){_0x1c893b=![];});}else{if(!_0x5f4bb3){_0x2096f7=_0x8e6771[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x5750ad!==_0x5f4bb3){_0x8e6771[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0x5750ad){_0x8e6771[_0x477d('0x3ef')][_0x477d('0xe03')]=_0x2096f7;}_0x8e6771[_0x477d('0x1418')]();}});function _0x16ae8a(_0x34d8fb){_0x8e6771[_0x477d('0x3bb')]=_0x34d8fb[_0x477d('0x3bb')];_0x8e6771[_0x477d('0xf2f')]=_0x34d8fb?_[_0x477d('0xdb5')](_0x34d8fb[_0x477d('0xf2')]?_0x34d8fb['rows']:[],'id'):{};if(_0x34d8fb[_0x477d('0xf2')]){_0x8e6771[_0x477d('0x13d9')]=[];for(var _0x5a7210=0x0;_0x5a7210<_0x34d8fb['rows'][_0x477d('0x79')];_0x5a7210++){_0x8e6771[_0x477d('0x13d9')][_0x477d('0x3a7')](_0x34d8fb[_0x477d('0xf2')][_0x5a7210]['id']);}}_0x3fe961();}function _0x9cafc9(){_0x8e6771[_0x477d('0x3ef')]['offset']=(_0x8e6771['query'][_0x477d('0xe03')]-0x1)*_0x8e6771[_0x477d('0x3ef')]['limit'];if(_0x1b82c5[_0x477d('0x56')]('admin')){_0x8e6771['promise']=_0x403069[_0x477d('0x1c81')][_0x477d('0x376')](_0x8e6771[_0x477d('0x3ef')],_0x16ae8a)[_0x477d('0x38b')];}else{_0x8e6771[_0x477d('0x3ef')]['id']=_0x8e6771[_0x477d('0x3a5')]['id'];_0x8e6771[_0x477d('0x3ef')][_0x477d('0xd99')]=_0x477d('0x1d5');_0x8e6771['promise']=_0x403069[_0x477d('0x3a5')][_0x477d('0xd9a')](_0x8e6771['query'],_0x16ae8a)[_0x477d('0x38b')];}}function _0x4e7ba3(_0x46e097,_0x5c026b){_0x44891c['show']({'controller':_0x477d('0x1cef'),'controllerAs':'vm','templateUrl':_0x477d('0x1d12'),'parent':angular['element'](_0x5cc72c['body']),'targetEvent':_0x46e097,'clickOutsideToClose':!![],'locals':{'mailQueue':_0x5c026b,'mailQueues':_['values'](_0x8e6771[_0x477d('0xf2f')]),'license':null,'setting':null,'crudPermissions':_0x8e6771[_0x477d('0xd66')]}});}function _0x56010a(_0x33134c,_0xa69ed5){_0x44891c[_0x477d('0x395')]({'controller':_0x477d('0x1cfb'),'controllerAs':'vm','templateUrl':_0x477d('0x1d04'),'parent':angular[_0x477d('0x398')](_0x5cc72c[_0x477d('0x399')]),'targetEvent':_0x33134c,'clickOutsideToClose':!![],'locals':{'mailQueue':_0xa69ed5,'mailQueues':_0x8e6771['queues']?_0x8e6771[_0x477d('0xf2f')]['rows']:[],'realtime':![],'crudPermissions':_0x8e6771[_0x477d('0xd66')]}});}function _0x3baf15(_0x75692e){return _0x403069[_0x477d('0x1c81')]['update'](_0x75692e)[_0x477d('0x38b')][_0x477d('0x76')](function(){_0x5710a7[_0x477d('0x485')]({'title':'Queue\x20properly\x20updated!','msg':_0x75692e['name']?_0x75692e['name']+_0x477d('0xed7'):''});})[_0x477d('0xf8')](function(_0x191555){_0x5710a7[_0x477d('0x44a')]({'title':_0x477d('0x141b'),'msg':_0x191555[_0x477d('0x452')]});});}_0x3846f6[_0x477d('0x4ec')](_0x477d('0x505'),function(){_0x5297a3['removeAllListeners'](_0x477d('0x16ff'));_0x5297a3['removeAllListeners'](_0x477d('0x1702'));_0x5297a3['removeAllListeners'](_0x477d('0x1701'));_0x5297a3['removeAllListeners'](_0x477d('0x1402'));_0x5297a3[_0x477d('0x6b8')]('userVoiceQueue:remove');_0x5297a3['removeAllListeners'](_0x477d('0x1415'));});}}());(function(){'use strict';angular[_0x477d('0xb')]('app.auth')[_0x477d('0x388')](_0x477d('0x13b4'),_0x448f66);function _0x448f66(){return{'status':{'registered':'green-300-fg\x20icon-checkbox-marked-circle','unregistered':_0x477d('0x141e'),'lagged':_0x477d('0x141e'),'reachable':_0x477d('0x141d'),'unreachable':_0x477d('0x141e'),'unknown':'grey-fg\x20icon-minus-circle'},'state':{'unknown':_0x477d('0x1422'),'not_inuse':_0x477d('0x1420'),'inuse':_0x477d('0x19b3'),'busy':'red-300-fg\x20icon-phone-locked','invalid':_0x477d('0x1422'),'unavailable':_0x477d('0x1422'),'ringing':_0x477d('0x1423'),'ringinuse':_0x477d('0x1423'),'onhold':_0x477d('0x1424')},'channelStatus':{'ring':_0x477d('0x1423'),'up':_0x477d('0x1425'),'hangup':_0x477d('0x1426')},'channelStatusOut':{'ring':_0x477d('0x19b4'),'up':_0x477d('0x1425'),'hangup':_0x477d('0x1426')}};}}());(function(){'use strict';_0x4c150b[_0x477d('0xa')]=[_0x477d('0x474'),'$state',_0x477d('0x5a3')];angular[_0x477d('0xb')]('app.mail')[_0x477d('0x3ba')](_0x477d('0x1d3a'),_0x4c150b);function _0x4c150b(_0x56de3b,_0x1be317,_0x4cf983){var _0x47bc2b=this;_0x4cf983['disconnect']();_0x4cf983[_0x477d('0x678')]();_0x47bc2b[_0x477d('0xe95')]=0x0;switch(_0x1be317[_0x477d('0x548')][_0x477d('0x94')]){case _0x477d('0x1e8'):_0x47bc2b[_0x477d('0xe95')]=0x0;break;case _0x477d('0x1ea'):_0x47bc2b[_0x477d('0xe95')]=0x1;break;case _0x477d('0x1ee'):_0x47bc2b[_0x477d('0xe95')]=0x2;break;default:_0x47bc2b[_0x477d('0xe95')]=0x0;_0x1be317['go'](_0x477d('0x1e8'));}_0x56de3b['$watch'](_0x477d('0x1428'),function(_0x18267a,_0x3a34dc){if(_0x18267a!==_0x3a34dc){switch(_0x18267a){case 0x0:_0x1be317['go'](_0x477d('0x1e8'));break;case 0x1:_0x1be317['go'](_0x477d('0x1ea'));break;case 0x2:_0x1be317['go'](_0x477d('0x1ee'));break;default:_0x1be317['go']('app.mail.realtime.agents');}}});}}());(function(){'use strict';_0x265039[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x3c4'),_0x477d('0xd64'),'$mdDialog','$q','$translate','toasty','plugins',_0x477d('0xcba'),_0x477d('0x386'),'Auth',_0x477d('0x613'),_0x477d('0xc8e'),_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x1f2'))[_0x477d('0x3ba')](_0x477d('0x1d3b'),_0x265039);function _0x265039(_0x343638,_0x462a9e,_0x3ff029,_0x2ee664,_0x1dea0d,_0x452d1f,_0x4918d9,_0x3b5460,_0x544e6d,_0x1f5a02,_0x4f3d29,_0x291741,_0x58a390,_0xc5e530){var _0xeb390a=this;_0xeb390a[_0x477d('0x3e5')]=_0x4f3d29['getCurrentUser']();_0xeb390a[_0x477d('0xd67')]=[];_0xeb390a[_0x477d('0xc8e')]=_0x58a390;_0xeb390a[_0x477d('0x613')]=_0x291741;_0xeb390a['crudPermissions']=_0xc5e530;_0xeb390a['hasModulePermissions']={};_0xeb390a['passwordPattern']=_0xeb390a['setting']&&_0xeb390a[_0x477d('0xc8e')][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0xeb390a['title']=_0x477d('0x1d3c');_0xeb390a[_0x477d('0xcba')]=angular[_0x477d('0x6d9')](_0x544e6d);_0xeb390a['plugins']=_0x3b5460;_0xeb390a[_0x477d('0x1d3d')]=![];if(!_0xeb390a[_0x477d('0xcba')]){_0xeb390a[_0x477d('0xcba')]={};_0xeb390a['title']='MARKETPLACE.NEW_PLUGIN';_0xeb390a[_0x477d('0x1d3d')]=!![];}_0xeb390a[_0x477d('0x1d3e')]=_0x5e257c;_0xeb390a['savePlugin']=_0x387f36;_0xeb390a[_0x477d('0x1d3f')]=_0x38c105;_0xeb390a['getDateFromString']=_0x5e1b18;_0xeb390a[_0x477d('0x6bf')]=_0x25da36;function _0x5e257c(){_0xeb390a[_0x477d('0xd67')]=[];_0x1f5a02['plugin'][_0x477d('0xd70')](_0xeb390a['plugin'])['$promise'][_0x477d('0x76')](function(_0x527374){_0xeb390a[_0x477d('0x245')][_0x477d('0x63b')](_0x527374['toJSON']());_0x4918d9[_0x477d('0x485')]({'title':_0x477d('0x1d40'),'msg':_0xeb390a[_0x477d('0xcba')][_0x477d('0x94')]?_0xeb390a['plugin'][_0x477d('0x94')]+'\x20has\x20been\x20created!':''});_0x25da36(_0x527374);})[_0x477d('0xf8')](function(_0x496a57){if(_0x496a57[_0x477d('0x451')]&&_0x496a57[_0x477d('0x451')][_0x477d('0xd67')]&&_0x496a57[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0xeb390a[_0x477d('0xd67')]=_0x496a57[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x496a57[_0x477d('0x453')](),'type':'api.plugin.save'}];for(var _0x5d22b7=0x0;_0x5d22b7<_0x496a57[_0x477d('0x451')]['errors'][_0x477d('0x79')];_0x5d22b7+=0x1){_0x4918d9['error']({'title':_0x496a57[_0x477d('0x451')][_0x477d('0xd67')][_0x5d22b7][_0x477d('0x439')],'msg':_0x496a57[_0x477d('0x451')][_0x477d('0xd67')][_0x5d22b7][_0x477d('0x452')]});}}else{_0x4918d9['error']({'title':_0x496a57[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x496a57['status']+'\x20-\x20'+_0x496a57['statusText']:_0x477d('0x1d41'),'msg':_0x496a57[_0x477d('0x451')]?JSON['stringify'](_0x496a57[_0x477d('0x451')][_0x477d('0x452')]):_0x496a57[_0x477d('0x453')]()});}});}function _0x387f36(){_0xeb390a[_0x477d('0xd67')]=[];_0x1f5a02[_0x477d('0xcba')]['update']({'id':_0xeb390a[_0x477d('0xcba')]['id']},_0xeb390a[_0x477d('0xcba')])['$promise'][_0x477d('0x76')](function(_0xb55168){var _0x187227=_[_0x477d('0x10a')](_0xeb390a[_0x477d('0x245')],{'id':_0xb55168['id']});if(_0x187227){_[_0x477d('0xef')](_0x187227,_[_0x477d('0x10b')](_0xb55168[_0x477d('0xd71')](),_['keys'](_0x187227)));}_0x4918d9[_0x477d('0x485')]({'title':_0x477d('0x1d42'),'msg':_0xeb390a[_0x477d('0xcba')][_0x477d('0x94')]?_0xeb390a[_0x477d('0xcba')][_0x477d('0x94')]+_0x477d('0xd76'):''});_0x25da36(_0xb55168);})['catch'](function(_0x317fb2){if(_0x317fb2[_0x477d('0x451')]&&_0x317fb2[_0x477d('0x451')][_0x477d('0xd67')]&&_0x317fb2[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0xeb390a[_0x477d('0xd67')]=_0x317fb2['data']['errors']||[{'message':_0x317fb2[_0x477d('0x453')](),'type':_0x477d('0x1d43')}];for(var _0x1ec1b5=0x0;_0x1ec1b5<_0x317fb2[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x1ec1b5++){_0x4918d9['error']({'title':_0x317fb2[_0x477d('0x451')][_0x477d('0xd67')][_0x1ec1b5]['type'],'msg':_0x317fb2[_0x477d('0x451')][_0x477d('0xd67')][_0x1ec1b5][_0x477d('0x452')]});}}else{_0x4918d9['error']({'title':_0x317fb2[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x317fb2[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x317fb2['statusText']:'api.plugin.update','msg':_0x317fb2['data']?JSON[_0x477d('0x3fb')](_0x317fb2['data'][_0x477d('0x452')]):_0x317fb2[_0x477d('0x453')]()});}});}function _0x38c105(_0x30c428){_0xeb390a[_0x477d('0xd67')]=[];var _0x563425=_0x2ee664[_0x477d('0xd78')]()['title']('Are\x20you\x20sure?')[_0x477d('0xdaf')](_0x477d('0x1d44'))[_0x477d('0x687')]('Delete\x20Plugin')['ok']('Delete')['cancel']('Cancel')[_0x477d('0xd7c')](_0x30c428);_0x2ee664[_0x477d('0x395')](_0x563425)[_0x477d('0x76')](function(){_0x1f5a02[_0x477d('0xcba')][_0x477d('0xa55')]({'id':_0xeb390a['plugin']['id']})[_0x477d('0x38b')]['then'](function(){_['remove'](_0xeb390a[_0x477d('0x245')],{'id':_0xeb390a[_0x477d('0xcba')]['id']});_0x4918d9[_0x477d('0x485')]({'title':_0x477d('0x1d45'),'msg':(_0xeb390a[_0x477d('0xcba')][_0x477d('0x94')]||_0x477d('0xcba'))+_0x477d('0xd7e')});_0x25da36(_0xeb390a['plugin']);})[_0x477d('0xf8')](function(_0x27b10a){if(_0x27b10a[_0x477d('0x451')]&&_0x27b10a['data']['errors']&&_0x27b10a[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0xeb390a[_0x477d('0xd67')]=_0x27b10a[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x27b10a[_0x477d('0x453')](),'type':_0x477d('0x1d46')}];for(var _0x3c148a=0x0;_0x3c148a<_0x27b10a[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x3c148a++){_0x4918d9[_0x477d('0x44a')]({'title':_0x27b10a['data'][_0x477d('0xd67')][_0x3c148a]['type'],'msg':_0x27b10a[_0x477d('0x451')]['errors'][_0x3c148a][_0x477d('0x452')]});}}else{_0x4918d9['error']({'title':_0x27b10a[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x27b10a[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x27b10a[_0x477d('0x44d')]:_0x477d('0x1d46'),'msg':_0x27b10a[_0x477d('0x451')]?JSON['stringify'](_0x27b10a['data'][_0x477d('0x452')]):_0x27b10a['message']||_0x27b10a[_0x477d('0x453')]()});}});},function(){});}function _0x5e1b18(_0x5ce831){return _0x5ce831===null?undefined:new Date(_0x5ce831);}function _0x25da36(_0x53a7eb){_0x2ee664[_0x477d('0x3bc')](_0x53a7eb);}}}());(function(){'use strict';_0x1e3451['$inject']=['$state',_0x477d('0xd64'),_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x40d'),_0x477d('0x613'),_0x477d('0xc8e'),_0x477d('0x386'),_0x477d('0x40e'),_0x477d('0x55'),_0x477d('0xcba'),'userProfileSection'];angular[_0x477d('0xb')](_0x477d('0x1f2'))[_0x477d('0x3ba')]('MarketplacePluginController',_0x1e3451);function _0x1e3451(_0x4e6139,_0xfe60a4,_0x160963,_0x29074a,_0x170365,_0x5923f5,_0xd475b,_0x3f2c79,_0x571e5f,_0x28de66,_0x2bc5ac,_0x361992){var _0x3e9ec4=this;_0x3e9ec4['currentUser']=_0x28de66[_0x477d('0x5c')]();_0x3e9ec4[_0x477d('0x613')]=_0x5923f5;_0x3e9ec4[_0x477d('0xc8e')]=_0xd475b;_0x3e9ec4['passwordPattern']=_0x3e9ec4['setting'][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x3e9ec4[_0x477d('0x3cc')]=_0xfe60a4[_0x477d('0x3ce')]()+_0x477d('0x1209')+_0xfe60a4[_0x477d('0x3c9')]();_0x3e9ec4['plugin']=_0x2bc5ac||_0x4e6139[_0x477d('0x37e')][_0x477d('0xcba')]||{};_0x3e9ec4[_0x477d('0x3ac')]=_0x361992&&_0x361992[_0x477d('0x3bb')]==0x1?_0x361992[_0x477d('0xf2')][0x0]:null;_0x3e9ec4[_0x477d('0xd66')]=_0x28de66[_0x477d('0xd81')](_0x3e9ec4['userProfileSection']?_0x3e9ec4[_0x477d('0x3ac')]['crudPermissions']:null);_0x3e9ec4[_0x477d('0xd68')]={};_0x3e9ec4['selectedTab']=_0x4e6139[_0x477d('0x37e')][_0x477d('0xe96')]||0x0;_0x3e9ec4[_0x477d('0x120a')]=_0x571e5f['info'];_0x3e9ec4[_0x477d('0x1d47')]=_0x26e59c;_0x3e9ec4[_0x477d('0x1d48')]=_0xe9aea6;function _0x26e59c(){_0x4e6139['go'](_0x477d('0x1f3'),{},{'reload':_0x477d('0x1f3')});}function _0xe9aea6(){_0x3f2c79[_0x477d('0xcba')][_0x477d('0x710')]({'id':_0x3e9ec4[_0x477d('0xcba')]['id']},_0x3e9ec4['plugin'])[_0x477d('0x38b')][_0x477d('0x76')](function(){_0x571e5f[_0x477d('0x485')]({'title':'Plugin\x20updated!','msg':_0x3e9ec4[_0x477d('0xcba')][_0x477d('0x94')]?_0x3e9ec4[_0x477d('0xcba')][_0x477d('0x94')]+_0x477d('0xed7'):''});})[_0x477d('0xf8')](function(_0x394602){_0x571e5f['error']({'title':_0x394602[_0x477d('0x3c3')]?'API:'+_0x394602[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x394602[_0x477d('0x44d')]:_0x477d('0x1d49'),'msg':_0x394602[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x394602[_0x477d('0x451')]):_0x394602[_0x477d('0x453')]()});});}}}());(function(){'use strict';_0x190668['$inject']=['$scope','$window',_0x477d('0x3c4'),_0x477d('0x554'),_0x477d('0x384'),'$document',_0x477d('0x3fe'),_0x477d('0x40d'),_0x477d('0x245'),'userProfile',_0x477d('0x3ac'),_0x477d('0x386'),_0x477d('0x342'),'toasty','Auth',_0x477d('0x613'),'setting'];angular[_0x477d('0xb')](_0x477d('0x1f2'))[_0x477d('0x3ba')](_0x477d('0x1d4a'),_0x190668);function _0x190668(_0x735ae4,_0x2c28fd,_0x1a21c8,_0x2516f6,_0x1b8c95,_0x2062ec,_0x5f2350,_0xa6c239,_0x10dae4,_0x1abcb7,_0x4fe4f3,_0x3797dc,_0x4c738a,_0x4e70b3,_0xb8ace0,_0x361cae,_0x4316d3){var _0xbc9d96=this;_0xbc9d96[_0x477d('0x613')]=_0x361cae;_0xbc9d96[_0x477d('0xc8e')]=_0x4316d3;_0xbc9d96[_0x477d('0x3e5')]=_0xb8ace0['getCurrentUser']();_0xbc9d96[_0x477d('0x245')]=_0x10dae4||{'count':0x0,'rows':[]};_0xbc9d96[_0x477d('0x3a5')]=_0x1abcb7;_0xbc9d96[_0x477d('0x3ac')]=_0x4fe4f3&&_0x4fe4f3['count']==0x1?_0x4fe4f3[_0x477d('0xf2')][0x0]:null;_0xbc9d96[_0x477d('0xd66')]=_0xb8ace0[_0x477d('0xd81')](_0xbc9d96['userProfileSection']?_0xbc9d96[_0x477d('0x3ac')]['crudPermissions']:null);_0xbc9d96[_0x477d('0xd82')]=_0x477d('0x245');_0xbc9d96['listOrder']='';_0xbc9d96['listOrderAsc']=null;_0xbc9d96[_0x477d('0x1d4b')]=[];_0xbc9d96[_0x477d('0x3ef')]={'fields':_0x477d('0x1f8'),'sort':_0x477d('0x94'),'limit':0xa,'page':0x1};_0xbc9d96['installing']=![];_0xbc9d96[_0x477d('0x1d4c')]=_[_0x477d('0xdb5')]([{'option':_0x477d('0x1d4d'),'value':'\x27always\x27'},{'option':'Admin\x20Only','value':_0x477d('0x1d4e')},{'option':_0x477d('0x1d4f'),'value':_0x477d('0x1d50')},{'option':_0x477d('0x1d51'),'value':_0x477d('0x1d52')}],function(_0x5b7719){return _[_0x477d('0x409')](_0x5b7719[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0xbc9d96['installplugin']=_0x26e0f4;_0xbc9d96['editstate']=_0x3f4475;_0xbc9d96[_0x477d('0x1d53')]=_0x4f269a;_0xbc9d96[_0x477d('0x1d54')]=_0xb0a0f2;_0xbc9d96['downloadfile2']=_0x416df0;_0xbc9d96[_0x477d('0x1d55')]=_0x2b76e5;_0xbc9d96['deleteconfirm']=_0xecff3a;_0xbc9d96[_0x477d('0x485')]=_0x119e54;_0xbc9d96[_0x477d('0x1d56')]=_0x16a1f4;_0xbc9d96[_0x477d('0x1d57')]=_0x38767b;_0xbc9d96[_0x477d('0x1d3f')]=_0x4998bb;_0xbc9d96[_0x477d('0x1d58')]=_0x446bcc;_0xbc9d96[_0x477d('0x1d59')]=_0x498ed8;_0xbc9d96[_0x477d('0x1d5a')]=_0x2b4186;_0xbc9d96[_0x477d('0x1d5b')]=_0x17e3c1;_0xbc9d96[_0x477d('0x1d5c')]=_0x16f3e1;function _0x26e0f4(_0x401a25){if(_0x401a25['type']===_0x477d('0x13a9')){_0xbc9d96[_0x477d('0x94c')]=!![];_0x3797dc[_0x477d('0x1d5d')][_0x477d('0xd70')]({'name':_0x401a25['scriptName'],'script':_0x401a25[_0x477d('0x493')]+'/'+_0x401a25[_0x477d('0x1d5e')]})[_0x477d('0x38b')][_0x477d('0x76')](function(){_0x401a25[_0x477d('0x94d')]=!![];return _0x3797dc['plugin'][_0x477d('0x710')]({'id':_0x401a25['id']},_0x401a25)[_0x477d('0x38b')];})[_0x477d('0x76')](function(){_0xbc9d96[_0x477d('0x94c')]=![];_0x4e70b3[_0x477d('0x485')]({'title':_0x477d('0x1d5f'),'msg':_0x401a25['name']?_0x401a25[_0x477d('0x94')]+_0x477d('0x1d60'):''});})[_0x477d('0xf8')](function(_0x11b60e){if(_0x11b60e[_0x477d('0x451')]&&_0x11b60e[_0x477d('0x451')][_0x477d('0xd67')]&&_0x11b60e[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0xbc9d96['errors']=_0x11b60e[_0x477d('0x451')]['errors']||[{'message':_0x11b60e[_0x477d('0x453')](),'type':_0x477d('0x1d61')}];for(var _0x31acae=0x0;_0x31acae<_0x11b60e[_0x477d('0x451')]['errors'][_0x477d('0x79')];_0x31acae++){_0x4e70b3[_0x477d('0x44a')]({'title':_0x11b60e['data']['errors'][_0x31acae][_0x477d('0x439')],'msg':_0x11b60e['data'][_0x477d('0xd67')][_0x31acae][_0x477d('0x452')]});}}else{_0x4e70b3[_0x477d('0x44a')]({'title':_0x11b60e[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x11b60e[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x11b60e[_0x477d('0x44d')]:'api.pm2.save','msg':_0x11b60e['data']?JSON[_0x477d('0x3fb')](_0x11b60e['data'][_0x477d('0x452')]):_0x11b60e[_0x477d('0x452')]||_0x11b60e['toString']()});}});}else{_0x401a25[_0x477d('0x94d')]=!![];return _0x3797dc['plugin'][_0x477d('0x710')]({'id':_0x401a25['id']},_0x401a25)[_0x477d('0x38b')]['then'](function(){_0x4e70b3[_0x477d('0x485')]({'title':'Plugin\x20installed!','msg':_0x401a25[_0x477d('0x94')]?_0x401a25[_0x477d('0x94')]+_0x477d('0x1d60'):''});})[_0x477d('0xf8')](function(_0x12fb61){if(_0x12fb61[_0x477d('0x451')]&&_0x12fb61[_0x477d('0x451')]['errors']&&_0x12fb61['data'][_0x477d('0xd67')]['length']){_0xbc9d96[_0x477d('0xd67')]=_0x12fb61['data']['errors']||[{'message':_0x12fb61[_0x477d('0x453')](),'type':'api.plugin.update'}];for(var _0x5156ee=0x0;_0x5156ee<_0x12fb61['data'][_0x477d('0xd67')][_0x477d('0x79')];_0x5156ee++){_0x4e70b3['error']({'title':_0x12fb61[_0x477d('0x451')]['errors'][_0x5156ee][_0x477d('0x439')],'msg':_0x12fb61[_0x477d('0x451')][_0x477d('0xd67')][_0x5156ee][_0x477d('0x452')]});}}else{_0x4e70b3[_0x477d('0x44a')]({'title':_0x12fb61[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x12fb61['status']+'\x20-\x20'+_0x12fb61[_0x477d('0x44d')]:'api.plugin.update','msg':_0x12fb61[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x12fb61[_0x477d('0x451')]['message']):_0x12fb61['message']||_0x12fb61[_0x477d('0x453')]()});}});}}function _0x3f4475(_0x1561fc,_0xb3f940){_0x1a21c8['go'](_0x477d('0x1f9'),{'id':_0x1561fc['id'],'plugin':_0x1561fc,'crudPermissions':_0xbc9d96[_0x477d('0xd66')]});}function _0x4f269a(_0xea01ab,_0x509265){var _0x36ada1=_0x1b8c95[_0x477d('0xd78')]()['title'](_0x477d('0x1d62'))[_0x477d('0xd92')](_0x477d('0xd93')+(_0xea01ab['name']||'plugin')+'
'+_0x477d('0x1d63'))[_0x477d('0x687')](_0x477d('0x1d64'))[_0x477d('0xd7c')](_0x509265)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x1b8c95['show'](_0x36ada1)[_0x477d('0x76')](function(){_0x163c53(_0xea01ab);},function(){console[_0x477d('0x7b')](_0x477d('0xd97'));});}function _0x163c53(_0x512784){_0x3797dc[_0x477d('0x1d5d')][_0x477d('0x376')]()[_0x477d('0x38b')][_0x477d('0x76')](function(_0xffd214){if(!_0xffd214||!_0xffd214[_0x477d('0xf2')]){throw new Error(_0x477d('0x1d65'));}var _0x2bf568=_[_0x477d('0x10a')](_0xffd214[_0x477d('0xf2')],{'name':_0x512784[_0x477d('0x1d66')]});if(!_0x2bf568){throw new Error(_0x477d('0x1d67'));}_0x3797dc['pm2']['update']({'id':_0x2bf568[_0x477d('0x1d68')],'status':_0x477d('0x1d69')})[_0x477d('0x38b')][_0x477d('0x76')](function(){_0x4e70b3['success']({'title':'Process\x20stopped!','msg':_0x477d('0x1d6a')});});})[_0x477d('0xf8')](function(_0x4948ef){if(_0x4948ef[_0x477d('0x451')]&&_0x4948ef[_0x477d('0x451')]['errors']&&_0x4948ef[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0xbc9d96[_0x477d('0xd67')]=_0x4948ef[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x4948ef['toString'](),'type':_0x477d('0x1d6b')}];for(var _0x1a9d26=0x0;_0x1a9d26<_0x4948ef[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x1a9d26++){_0x4e70b3['error']({'title':_0x4948ef['data'][_0x477d('0xd67')][_0x1a9d26][_0x477d('0x439')],'msg':_0x4948ef[_0x477d('0x451')]['errors'][_0x1a9d26][_0x477d('0x452')]});}}else{_0x4e70b3[_0x477d('0x44a')]({'title':_0x4948ef[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x4948ef['status']+_0x477d('0x44c')+_0x4948ef[_0x477d('0x44d')]:_0x477d('0x1d6b'),'msg':_0x4948ef['data']?JSON[_0x477d('0x3fb')](_0x4948ef[_0x477d('0x451')][_0x477d('0x452')]):_0x4948ef['message']||_0x4948ef[_0x477d('0x453')]()});}});}function _0xb0a0f2(_0x978188,_0x4962ea){var _0x380791=_0x1b8c95['confirm']()[_0x477d('0x49a')](_0x477d('0x1d6c'))[_0x477d('0xd92')](_0x477d('0xd93')+(_0x978188['name']||'plugin')+_0x477d('0xd94')+_0x477d('0x1d6d'))[_0x477d('0x687')](_0x477d('0x1d6e'))[_0x477d('0xd7c')](_0x4962ea)['ok']('OK')[_0x477d('0x4f0')]('CANCEL');_0x1b8c95[_0x477d('0x395')](_0x380791)[_0x477d('0x76')](function(){_0x3c58c2(_0x978188);},function(){console[_0x477d('0x7b')](_0x477d('0xd97'));});}function _0x3c58c2(_0xd770c4){_0x3797dc[_0x477d('0x1d5d')][_0x477d('0x376')]()[_0x477d('0x38b')][_0x477d('0x76')](function(_0x2d7cec){if(!_0x2d7cec||!_0x2d7cec[_0x477d('0xf2')]){throw new Error(_0x477d('0x1d65'));}var _0x5d72ff=_[_0x477d('0x10a')](_0x2d7cec[_0x477d('0xf2')],{'name':_0xd770c4[_0x477d('0x1d66')]});if(!_0x5d72ff){throw new Error(_0x477d('0x1d67'));}_0x3797dc['pm2'][_0x477d('0x710')]({'id':_0x5d72ff[_0x477d('0x1d68')],'status':_0x477d('0x13d3')})[_0x477d('0x38b')][_0x477d('0x76')](function(){_0x4e70b3[_0x477d('0x485')]({'title':_0x477d('0x1d6f'),'msg':_0x477d('0x1d70')});});})[_0x477d('0xf8')](function(_0x1b070c){if(_0x1b070c['data']&&_0x1b070c[_0x477d('0x451')][_0x477d('0xd67')]&&_0x1b070c[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0xbc9d96[_0x477d('0xd67')]=_0x1b070c[_0x477d('0x451')]['errors']||[{'message':_0x1b070c[_0x477d('0x453')](),'type':'api.pm2.update'}];for(var _0x5bfded=0x0;_0x5bfded<_0x1b070c[_0x477d('0x451')][_0x477d('0xd67')]['length'];_0x5bfded++){_0x4e70b3['error']({'title':_0x1b070c[_0x477d('0x451')][_0x477d('0xd67')][_0x5bfded]['type'],'msg':_0x1b070c['data']['errors'][_0x5bfded][_0x477d('0x452')]});}}else{_0x4e70b3[_0x477d('0x44a')]({'title':_0x1b070c['status']?_0x477d('0x44b')+_0x1b070c[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x1b070c['statusText']:_0x477d('0x1d6b'),'msg':_0x1b070c[_0x477d('0x451')]?JSON['stringify'](_0x1b070c['data']['message']):_0x1b070c[_0x477d('0x452')]||_0x1b070c[_0x477d('0x453')]()});}});}function _0x416df0(_0x3a91d8,_0x4185ab){return _0x3797dc[_0x477d('0xcba')][_0x477d('0x49d')]({'id':_0x3a91d8['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x4fe816){var _0x89645a=[_0x4fe816[_0x477d('0x49e')]];var _0x4f0c2b=_0x477d('0x49d');var _0x47abec=new Blob(_0x89645a,{'type':_0x4fe816['type']});_0x4f0c2b=_0x3a91d8[_0x477d('0x94')][_0x477d('0x409')]('\x20','_')['toLowerCase']()+_0x477d('0x1366');var _0x5a813c=window[_0x477d('0x945')][_0x477d('0x3c7')]('a');_0x5a813c[_0x477d('0x494')](_0x477d('0x3c8'),URL['createObjectURL'](_0x47abec));_0x5a813c[_0x477d('0x494')](_0x477d('0x49d'),_0x4f0c2b);document['body'][_0x477d('0xd8f')](_0x5a813c);_0x5a813c[_0x477d('0x540')]();})[_0x477d('0xf8')](function(_0x3259c4){if(_0x3259c4['data']&&_0x3259c4[_0x477d('0x451')][_0x477d('0xd67')]&&_0x3259c4['data']['errors'][_0x477d('0x79')]){for(var _0x22fdae=0x0;_0x22fdae<_0x3259c4[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x22fdae++){_0x4e70b3[_0x477d('0x44a')]({'title':_0x3259c4[_0x477d('0x451')]['errors'][_0x22fdae][_0x477d('0x439')],'msg':_0x3259c4['data']['errors'][_0x22fdae][_0x477d('0x452')]});}}else{_0x4e70b3[_0x477d('0x44a')]({'title':_0x3259c4[_0x477d('0x3c3')]?'API:'+_0x3259c4[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x3259c4[_0x477d('0x44d')]:_0x477d('0x1d41'),'msg':_0x3259c4[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x3259c4['data'][_0x477d('0x452')]):_0x3259c4[_0x477d('0x453')]()});}});}function _0x2b76e5(_0x279741,_0x37b94b){var _0x2c477c=_0x1b8c95['confirm']()[_0x477d('0x49a')]('Are\x20you\x20sure\x20want\x20to\x20uninstall\x20the\x20plugin?')[_0x477d('0xd92')](_0x477d('0xd93')+(_0x279741[_0x477d('0x94')]||'plugin')+_0x477d('0xd94')+_0x477d('0x1d71'))[_0x477d('0x687')](_0x477d('0x1d72'))[_0x477d('0xd7c')](_0x37b94b)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x1b8c95[_0x477d('0x395')](_0x2c477c)['then'](function(){_0x3ddfe4(_0x279741);},function(){console[_0x477d('0x7b')](_0x477d('0xd97'));});}function _0x3ddfe4(_0x3b52d8){if(_0x3b52d8['type']==='script'){_0x3797dc[_0x477d('0x1d5d')][_0x477d('0x376')]()[_0x477d('0x38b')][_0x477d('0x76')](function(_0xb4bad8){if(!_0xb4bad8||!_0xb4bad8[_0x477d('0xf2')]){throw new Error(_0x477d('0x1d65'));}var _0x507032=_[_0x477d('0x10a')](_0xb4bad8[_0x477d('0xf2')],{'name':_0x3b52d8[_0x477d('0x1d66')]});if(!_0x507032){throw new Error(_0x477d('0x1d67'));}_0x3797dc[_0x477d('0x1d5d')]['delete']({'id':_0x507032['pm_id'],'name':_0x3b52d8[_0x477d('0x1d66')]})['$promise'];})[_0x477d('0xf8')](function(_0x12cd29){_0x4e70b3[_0x477d('0x44a')]({'title':_0x12cd29['status']?_0x477d('0x44b')+_0x12cd29[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x12cd29[_0x477d('0x44d')]:'api.pm2.delete','msg':_0x12cd29[_0x477d('0x451')]?JSON['stringify'](_0x12cd29['data']['message']):_0x12cd29[_0x477d('0x452')]||_0x12cd29[_0x477d('0x453')]()});});}_0x3b52d8[_0x477d('0x94d')]=![];return _0x3797dc[_0x477d('0xcba')][_0x477d('0x710')]({'id':_0x3b52d8['id']},_0x3b52d8)[_0x477d('0x38b')][_0x477d('0x76')](function(){_0x4e70b3[_0x477d('0x485')]({'title':_0x477d('0x1d73'),'msg':_0x3b52d8[_0x477d('0x94')]?_0x3b52d8[_0x477d('0x94')]+_0x477d('0x1d74'):''});})[_0x477d('0xf8')](function(_0x9df0b5){if(_0x9df0b5['data']&&_0x9df0b5[_0x477d('0x451')]['errors']&&_0x9df0b5['data'][_0x477d('0xd67')][_0x477d('0x79')]){_0xbc9d96[_0x477d('0xd67')]=_0x9df0b5[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x9df0b5[_0x477d('0x453')](),'type':_0x477d('0x1d43')}];for(var _0x2a0a03=0x0;_0x2a0a03<_0x9df0b5['data'][_0x477d('0xd67')]['length'];_0x2a0a03++){_0x4e70b3[_0x477d('0x44a')]({'title':_0x9df0b5[_0x477d('0x451')][_0x477d('0xd67')][_0x2a0a03][_0x477d('0x439')],'msg':_0x9df0b5[_0x477d('0x451')][_0x477d('0xd67')][_0x2a0a03][_0x477d('0x452')]});}}else{_0x4e70b3[_0x477d('0x44a')]({'title':_0x9df0b5[_0x477d('0x3c3')]?'API:'+_0x9df0b5[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x9df0b5[_0x477d('0x44d')]:_0x477d('0x1d43'),'msg':_0x9df0b5[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x9df0b5[_0x477d('0x451')][_0x477d('0x452')]):_0x9df0b5[_0x477d('0x452')]||_0x9df0b5[_0x477d('0x453')]()});}});}function _0xecff3a(_0x11d862,_0x3e2115){var _0x59a3e5=_0x1b8c95[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xd90')+_[_0x477d('0xd91')](_0x477d('0xcba'))+'?')[_0x477d('0xd92')](_0x477d('0xd93')+(_0x11d862['name']||'plugin')+_0x477d('0xd94')+'\x20will\x20be\x20deleted.')['ariaLabel'](_0x477d('0x1d75'))[_0x477d('0xd7c')](_0x3e2115)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x1b8c95[_0x477d('0x395')](_0x59a3e5)[_0x477d('0x76')](function(){_0x4998bb(_0x11d862);},function(){console['log'](_0x477d('0xd97'));});}var _0x261d4c=!![];var _0x2e0bef=0x1;_0x735ae4[_0x477d('0x4b5')](_0x477d('0xd98'),function(_0x45cb4e,_0x1f7394){if(_0x261d4c){_0x5f2350(function(){_0x261d4c=![];});}else{if(!_0x1f7394){_0x2e0bef=_0xbc9d96[_0x477d('0x3ef')]['page'];}if(_0x45cb4e!==_0x1f7394){_0xbc9d96['query'][_0x477d('0xe03')]=0x1;}if(!_0x45cb4e){_0xbc9d96['query']['page']=_0x2e0bef;}_0xbc9d96[_0x477d('0x1d56')]();}});function _0x119e54(_0x34f9e4){_0xbc9d96[_0x477d('0x245')]=_0x34f9e4||{'count':0x0,'rows':[]};}function _0x16a1f4(){_0xbc9d96[_0x477d('0x3ef')][_0x477d('0x91c')]=(_0xbc9d96['query'][_0x477d('0xe03')]-0x1)*_0xbc9d96[_0x477d('0x3ef')]['limit'];if(_0xb8ace0[_0x477d('0x56')](_0x477d('0x5f'))){_0xbc9d96[_0x477d('0x553')]=_0x3797dc[_0x477d('0xcba')]['get'](_0xbc9d96['query'],_0x119e54)['$promise'];}else{_0xbc9d96[_0x477d('0x3ef')]['id']=_0xbc9d96[_0x477d('0x3a5')]['id'];_0xbc9d96[_0x477d('0x3ef')][_0x477d('0xd99')]=_0x477d('0x1d76');_0xbc9d96['promise']=_0x3797dc['userProfile'][_0x477d('0xd9a')](_0xbc9d96[_0x477d('0x3ef')],_0x119e54)['$promise'];}}function _0x38767b(_0x1efeab,_0x617d55){_0x1b8c95['show']({'controller':_0x477d('0x1d3b'),'controllerAs':'vm','templateUrl':_0x477d('0x1d77'),'parent':angular['element'](_0x2062ec[_0x477d('0x399')]),'targetEvent':_0x1efeab,'clickOutsideToClose':!![],'locals':{'plugin':_0x617d55,'plugins':_0xbc9d96[_0x477d('0x245')][_0x477d('0xf2')],'license':_0xbc9d96[_0x477d('0x613')],'setting':_0xbc9d96[_0x477d('0xc8e')],'crudPermissions':_0xbc9d96['crudPermissions']}});}function _0x4998bb(_0x104635){if(_0x104635[_0x477d('0x94d')]&&_0x104635[_0x477d('0x439')]==_0x477d('0x13a9')){_0x3797dc[_0x477d('0x1d5d')]['get']()[_0x477d('0x38b')][_0x477d('0x76')](function(_0x6575c2){if(!_0x6575c2||!_0x6575c2[_0x477d('0xf2')]){return _0x4e70b3[_0x477d('0x44a')]({'title':'Plugin\x20not\x20deleted!','msg':_0x477d('0x1d65')});}var _0x313ada=_[_0x477d('0x10a')](_0x6575c2[_0x477d('0xf2')],{'name':_0x104635['scriptName']});if(!_0x313ada){console['log'](_0x477d('0x1d78'),_0x104635[_0x477d('0x1d66')]);return;}_0x3797dc[_0x477d('0x1d5d')][_0x477d('0xa55')]({'id':_0x313ada['pm_id'],'name':_0x104635[_0x477d('0x1d66')]})[_0x477d('0x38b')];})[_0x477d('0xf8')](function(_0x49dea8){return _0x4e70b3['error']({'title':_0x477d('0x1d79'),'msg':_0x477d('0x1d7a')});});}_0x3797dc['plugin']['delete']({'id':_0x104635['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0xbc9d96[_0x477d('0x245')][_0x477d('0xf2')],{'id':_0x104635['id']});_0xbc9d96['plugins'][_0x477d('0x3bb')]-=0x1;if(!_0xbc9d96[_0x477d('0x245')][_0x477d('0xf2')][_0x477d('0x79')]){_0xbc9d96[_0x477d('0x1d56')]();}_0x4e70b3[_0x477d('0x485')]({'title':_['startCase'](_0x477d('0x1d7b'))+_0x477d('0xd9d'),'msg':_0x104635[_0x477d('0x94')]?_0x104635[_0x477d('0x94')]+'\x20has\x20been\x20deleted!':''});})['catch'](function(_0x3e147e){if(_0x3e147e[_0x477d('0x451')]&&_0x3e147e[_0x477d('0x451')][_0x477d('0xd67')]&&_0x3e147e['data'][_0x477d('0xd67')][_0x477d('0x79')]){_0xbc9d96['errors']=_0x3e147e[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x3e147e[_0x477d('0x453')](),'type':'SYSTEM:DELETEplugin'}];for(var _0x5dcfcb=0x0;_0x5dcfcb<_0x3e147e[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x5dcfcb++){_0x4e70b3['error']({'title':_0x3e147e[_0x477d('0x451')][_0x477d('0xd67')][_0x5dcfcb][_0x477d('0x439')],'msg':_0x3e147e[_0x477d('0x451')][_0x477d('0xd67')][_0x5dcfcb][_0x477d('0x452')]});}}else{_0x4e70b3[_0x477d('0x44a')]({'title':_0x3e147e[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x3e147e['status']+_0x477d('0x44c')+_0x3e147e[_0x477d('0x44d')]:_0x477d('0x1d7c'),'msg':_0x3e147e[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x3e147e[_0x477d('0x451')][_0x477d('0x452')]):_0x3e147e['message']||_0x3e147e['toString']()});}});}function _0x446bcc(){var _0x49729f=angular['copy'](_0xbc9d96['selectedPlugins']);_0xbc9d96[_0x477d('0x1d4b')]=[];return _0x49729f;}function _0x498ed8(_0x5ab44c){var _0x41b6c4=_0x1b8c95[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x1d7d'))[_0x477d('0xd92')](_0x477d('0xd93')+_0xbc9d96[_0x477d('0x1d4b')][_0x477d('0x79')]+_0x477d('0xda0')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x1d7e'))[_0x477d('0xd7c')](_0x5ab44c)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x1b8c95[_0x477d('0x395')](_0x41b6c4)['then'](function(){_0xbc9d96[_0x477d('0x1d4b')][_0x477d('0x3b1')](function(_0x3df53d){_0x4998bb(_0x3df53d);});_0xbc9d96[_0x477d('0x1d4b')]=[];});}function _0x2b4186(){_0xbc9d96[_0x477d('0x1d4b')]=[];}function _0x17e3c1(){_0xbc9d96[_0x477d('0x1d4b')]=_0xbc9d96[_0x477d('0x245')][_0x477d('0xf2')];}function _0x16f3e1(_0xcccf94){_0x1b8c95[_0x477d('0x395')]({'controller':_0x477d('0x1d7f'),'controllerAs':'vm','templateUrl':'app/main/apps/marketplace/views/plugins/upload/dialog.html','parent':angular['element'](_0x2062ec[_0x477d('0x399')]),'targetEvent':_0xcccf94,'clickOutsideToClose':!![],'locals':{'plugins':_0xbc9d96[_0x477d('0x245')][_0x477d('0xf2')]}});}}}());(function(){'use strict';_0x2beac3[_0x477d('0xa')]=[_0x477d('0x385'),'$mdDialog',_0x477d('0x40e'),_0x477d('0x245'),_0x477d('0x386'),_0x477d('0x55')];angular[_0x477d('0xb')](_0x477d('0x1f2'))['controller']('UploadPluginDialogController',_0x2beac3);function _0x2beac3(_0x5140b0,_0x1993cb,_0x292201,_0x274dd0,_0x34743c,_0x772200){var _0x360c99=this;var _0x4c55d4=0x2;var _0x5a1449=_0x4c55d4*0x400*0x400;_0x360c99[_0x477d('0x3e5')]=_0x772200[_0x477d('0x5c')]();_0x360c99[_0x477d('0xd67')]=[];_0x360c99['title']=_0x477d('0x1d80');_0x360c99[_0x477d('0x245')]=_0x274dd0;_0x360c99['uploadPlugins']=[];_0x360c99['uploadState']=_0x477d('0x496');_0x360c99[_0x477d('0xcba')]={};_0x360c99[_0x477d('0x1174')]={'maxChunkRetries':0x1,'chunkSize':_0x5a1449,'simultaneousUploads':0x1,'testChunks':![],'progressCallbacksInterval':0x3e8,'allowDuplicateUploads':!![],'target':_0x477d('0x1d81')};_0x360c99[_0x477d('0x129f')]={'flow':{}};_0x360c99[_0x477d('0x1175')]=![];_0x360c99[_0x477d('0x1176')]=_0x33b4d9;_0x360c99[_0x477d('0x12a0')]=_0x21c9c2;_0x360c99[_0x477d('0x133a')]=_0x1b8d23;_0x360c99[_0x477d('0x1d82')]=_0x4326ba;_0x360c99[_0x477d('0x1d83')]=_0x2711e4;_0x360c99[_0x477d('0x6bf')]=_0x528a85;function _0x33b4d9(_0x3768f1){var _0x4664a2=['zip'];if(!_[_0x477d('0x3a4')](_0x4664a2,_0x3768f1[_0x477d('0x1178')]())){_0x292201[_0x477d('0x44a')]({'title':_0x477d('0x133d')+_0x3768f1[_0x477d('0x1178')](),'msg':_0x477d('0x12a5')+_0x4664a2['join']()});return![];}if(_0x3768f1[_0x477d('0x117b')]>_0x5a1449){_0x292201[_0x477d('0x44a')]({'title':_0x477d('0x12a6'),'msg':_0x477d('0x133e')+_0x4c55d4+'MB'});return![];}_0x360c99['plugin']={'id':_0x3768f1[_0x477d('0x12a7')],'file':_0x3768f1};_0x360c99['uploadPlugins'][_0x477d('0x63b')](_0x360c99[_0x477d('0xcba')]);return!![];}function _0x21c9c2(){_0x360c99[_0x477d('0x1d84')]=_0x477d('0x133f');_0x360c99[_0x477d('0x129f')][_0x477d('0xae')][_0x477d('0x12a8')][_0x477d('0x3c0')]={'X-Requested-With':'XMLHttpRequest','Authorization':_0x477d('0x12aa')+_0x5140b0[_0x477d('0x376')]('motion.token')};_0x360c99[_0x477d('0x129f')][_0x477d('0xae')][_0x477d('0x12a8')][_0x477d('0x3ef')]={'role':_0x360c99['currentUser'][_0x477d('0x3a1')],'userProfileId':_0x360c99['currentUser'][_0x477d('0x61')]};_0x360c99[_0x477d('0x129f')][_0x477d('0xae')][_0x477d('0x12a0')]();}function _0x1b8d23(_0x5748ac,_0x23b265){_0x360c99['plugins'][_0x477d('0x63b')](JSON[_0x477d('0x77')](_0x23b265));angular[_0x477d('0x3b1')](_0x360c99['uploadPlugins'],function(_0x223406,_0xd9b8a8){if(_0x223406['id']===_0x5748ac[_0x477d('0x12a7')]){var _0x39b8dd=new FileReader();_0x39b8dd['readAsDataURL'](_0x223406[_0x477d('0xec5')]['file']);_0x39b8dd[_0x477d('0xec7')]=function(_0x18cca){_0x223406[_0x477d('0x3c1')]=_0x18cca[_0x477d('0x378')][_0x477d('0xec8')];};}});}function _0x4326ba(_0x2488f6,_0x21463c){_0x360c99[_0x477d('0x129f')]['flow'][_0x477d('0x4f0')]();_0x292201[_0x477d('0x44a')]({'title':_0x477d('0x1d85'),'msg':'Cannot\x20upload\x20the\x20plugin'});_0x360c99[_0x477d('0x1d84')]='failed';}function _0x2711e4(){if(_0x360c99['uploadState']!==_0x477d('0x638')){_0x360c99['uploadState']='completed';_0x292201[_0x477d('0x485')]({'title':'Upload\x20completed','msg':_0x360c99[_0x477d('0xcba')][_0x477d('0xec5')][_0x477d('0x94')]+_0x477d('0x1d86')});}}function _0x528a85(){_0x1993cb[_0x477d('0x3bc')]();}}}());(function(){'use strict';_0x4496f0[_0x477d('0xa')]=['$scope','$state','$location',_0x477d('0x384'),'$q',_0x477d('0x40d'),_0x477d('0x40e'),_0x477d('0x1d87'),'ivrCampaign',_0x477d('0x386'),_0x477d('0x55'),_0x477d('0x613'),_0x477d('0xc8e'),_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x3a'))[_0x477d('0x3ba')](_0x477d('0x1d88'),_0x4496f0);function _0x4496f0(_0x6a1df3,_0x4a25e7,_0x264290,_0x3ffc99,_0x251321,_0x13b529,_0x54dbe2,_0x6d8acd,_0x5736de,_0x3b499f,_0x4abe02,_0x19fc09,_0x141001,_0x1bc53d){var _0x47d51b=this;_0x47d51b['currentUser']=_0x4abe02[_0x477d('0x5c')]();_0x47d51b['errors']=[];_0x47d51b[_0x477d('0xc8e')]=_0x141001;_0x47d51b[_0x477d('0x613')]=_0x19fc09;_0x47d51b['crudPermissions']=_0x1bc53d;_0x47d51b[_0x477d('0xd68')]={};_0x47d51b[_0x477d('0xd69')]=_0x47d51b[_0x477d('0xc8e')]&&_0x47d51b[_0x477d('0xc8e')][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x47d51b[_0x477d('0x49a')]=_0x477d('0x1d89');_0x47d51b[_0x477d('0x1d8a')]=angular[_0x477d('0x6d9')](_0x5736de);_0x47d51b['ivrCampaigns']=_0x6d8acd;_0x47d51b['newIvrCampaign']=![];if(!_0x47d51b[_0x477d('0x1d8a')]){_0x47d51b['ivrCampaign']={'active':!![],'type':_0x477d('0x209'),'dialCheckDuplicateType':_0x477d('0x1247'),'dialCutDigit':0x0,'limitCalls':0x1e,'dialRandomLastDigitCallerIdNumber':0x0,'dialOriginateTimeout':0x1e,'dialGlobalMaxRetry':0x4,'dialCongestionMaxRetry':0x3,'dialCongestionRetryFrequency':0x96,'dialBusyMaxRetry':0x3,'dialBusyRetryFrequency':0x96,'dialNoAnswerMaxRetry':0x3,'dialNoAnswerRetryFrequency':0x96,'dialNoSuchNumberMaxRetry':0x3,'dialNoSuchNumberRetryFrequency':0x96,'dialDropMaxRetry':0x3,'dialDropRetryFrequency':0x96,'dialAbandonedMaxRetry':0x3,'dialAbandonedRetryFrequency':0x96,'dialMachineMaxRetry':0x3,'dialMachineRetryFrequency':0x96,'dialAgentRejectMaxRetry':0x3,'dialAgentRejectRetryFrequency':0x96,'dialOrderByScheduledAt':_0x477d('0xe8e'),'dialGlobalInterval':'07:00-22:00,*,*,*','dialAMDInitialSilence':0x9c4,'dialAMDGreeting':0x5dc,'dialAMDAfterGreetingSilence':0x320,'dialAMDTotalAnalysisTime':0x1388,'dialAMDMinWordLength':0x64,'dialAMDBetweenWordsSilence':0x32,'dialAMDMaximumNumberOfWords':0x3,'dialAMDSilenceThreshold':0x100,'dialAMDMaximumWordLength':0x1388};_0x47d51b[_0x477d('0x49a')]='MOTIONDIALER.NEW_IVRCAMPAIGN';_0x47d51b['newIvrCampaign']=!![];}_0x47d51b[_0x477d('0x1d8b')]=_0x3e89dd;_0x47d51b[_0x477d('0x1d8c')]=_0x4cbe9e;_0x47d51b[_0x477d('0x1d8d')]=_0x576529;_0x47d51b[_0x477d('0xd6f')]=_0x43411d;_0x47d51b['closeDialog']=_0x383eda;_0x4abe02['hasRole'](_0x477d('0x5f'))?_0x3b499f[_0x477d('0xaa8')]['get']({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'table':_0x477d('0x2ee')})['$promise'][_0x477d('0x76')](function(_0x1a3026){_0x47d51b[_0x477d('0xf2e')]=_0x1a3026['rows']||[];})[_0x477d('0xf8')](function(_0x38e158){_0x54dbe2[_0x477d('0x44a')]({'title':_0x38e158[_0x477d('0x3c3')]?'API:'+_0x38e158['status']+_0x477d('0x44c')+_0x38e158[_0x477d('0x44d')]:'SYSTEM:GET_TRUNKS','msg':_0x38e158[_0x477d('0x451')]?JSON['stringify'](_0x38e158['data']):_0x38e158[_0x477d('0x453')]()});}):_0x3b499f[_0x477d('0xaa8')]['get']({'fields':'id,name','sort':'name','table':'true'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x4b441f){_0x47d51b['trunks']=_0x4b441f[_0x477d('0xf2')]||[];})['then'](function(){return _0x3b499f[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x47d51b[_0x477d('0x3e5')]['userProfileId'],'sectionId':0x3f3})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0xb7ec7a){var _0x40564c=_0xb7ec7a&&_0xb7ec7a[_0x477d('0xf2')]?_0xb7ec7a['rows'][0x0]:null;if(!_0x40564c){_0x47d51b[_0x477d('0xf2e')]=[];}else{if(!_0x40564c[_0x477d('0x3ad')]){return _0x3b499f['userProfileResource'][_0x477d('0x376')]({'sectionId':_0x40564c['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x55dc7e){var _0x277b5d=_[_0x477d('0x3cb')](_0x55dc7e[_0x477d('0xf2')],function(_0x1fb3e9){return _[_0x477d('0x10a')](_0x47d51b[_0x477d('0xf2e')],{'id':_0x1fb3e9[_0x477d('0x3af')]});});_0x47d51b['trunks'][_0x477d('0x3b1')](function(_0x3e9b40){if(!_[_0x477d('0x3ab')](_0x277b5d,['id',_0x3e9b40['id']])){_0x3e9b40[_0x477d('0xf8b')]=![];}_0x277b5d[_0x477d('0x3a7')](_0x3e9b40);});_0x47d51b[_0x477d('0xf2e')]=_0x277b5d;});}}})[_0x477d('0xf8')](function(_0x28657a){_0x54dbe2['error']({'title':_0x28657a[_0x477d('0x3c3')]?'API:'+_0x28657a['status']+_0x477d('0x44c')+_0x28657a['statusText']:_0x477d('0x190b'),'msg':_0x28657a[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x28657a[_0x477d('0x451')]):_0x28657a[_0x477d('0x453')]()});});_0x4abe02['hasRole']('admin')?_0x3b499f['squareProject']['get']({'fields':'id,name','sort':_0x477d('0x94')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x5d6a5c){_0x47d51b[_0x477d('0xf12')]=_0x5d6a5c['rows']||[];})[_0x477d('0xf8')](function(_0x59f7ee){_0x54dbe2['error']({'title':_0x59f7ee['status']?_0x477d('0x44b')+_0x59f7ee[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x59f7ee[_0x477d('0x44d')]:_0x477d('0x1d8e'),'msg':_0x59f7ee[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x59f7ee[_0x477d('0x451')]):_0x59f7ee[_0x477d('0x453')]()});}):_0x3b499f[_0x477d('0xc99')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x2e2dc7){_0x47d51b[_0x477d('0xf12')]=_0x2e2dc7[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x3b499f[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x47d51b[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x44f})[_0x477d('0x38b')];})['then'](function(_0x3b1f85){var _0x56dab3=_0x3b1f85&&_0x3b1f85[_0x477d('0xf2')]?_0x3b1f85[_0x477d('0xf2')][0x0]:null;if(!_0x56dab3){var _0x350117=[];var _0x1f2537=null;if(_0x47d51b[_0x477d('0x1d8a')]){_0x1f2537=_['find'](_0x47d51b[_0x477d('0xf12')],{'id':Number(_0x47d51b['ivrCampaign']['SquareProjectId'])});}for(var _0x3e22a6=0x0;_0x3e22a6<_0x47d51b[_0x477d('0xf12')][_0x477d('0x79')];_0x3e22a6++){if(_0x1f2537&&_0x47d51b[_0x477d('0xf12')][_0x3e22a6]['id']===_0x1f2537['id']){_0x47d51b['projects'][_0x3e22a6][_0x477d('0xf8b')]=![];_0x350117[_0x477d('0x3a7')](_0x47d51b[_0x477d('0xf12')][_0x3e22a6]);}}_0x47d51b['projects']=_0x350117;}else{if(!_0x56dab3[_0x477d('0x3ad')]){return _0x3b499f[_0x477d('0x3ae')]['get']({'sectionId':_0x56dab3['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x414f29){var _0x30da87=_[_0x477d('0x3cb')](_0x414f29[_0x477d('0xf2')],function(_0x427226){return _['find'](_0x47d51b[_0x477d('0xf12')],{'id':_0x427226['resourceId']});});var _0x114a26=null;if(_0x47d51b[_0x477d('0x1d8a')]){_0x114a26=_[_0x477d('0x10a')](_0x47d51b[_0x477d('0xf12')],{'id':Number(_0x47d51b[_0x477d('0x1d8a')][_0x477d('0x1d8f')])});}if(_0x114a26&&!_['some'](_0x30da87,['id',_0x114a26['id']])){var _0x31c689=_['find'](_0x47d51b[_0x477d('0xf12')],{'id':_0x114a26['id']});_0x31c689[_0x477d('0xf8b')]=![];_0x30da87[_0x477d('0x3a7')](_0x31c689);}_0x47d51b[_0x477d('0xf12')]=_0x30da87;});}}})[_0x477d('0xf8')](function(_0x2f3fff){_0x54dbe2[_0x477d('0x44a')]({'title':_0x2f3fff[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x2f3fff[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x2f3fff[_0x477d('0x44d')]:_0x477d('0x1d90'),'msg':_0x2f3fff[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x2f3fff[_0x477d('0x451')]):_0x2f3fff[_0x477d('0x453')]()});});_0x4abe02[_0x477d('0x56')](_0x477d('0x5f'))?_0x3b499f['interval'][_0x477d('0x376')]({'fields':'id,name','sort':_0x477d('0x94'),'IntervalId':_0x477d('0xea')})[_0x477d('0x38b')]['then'](function(_0xfd7627){_0x47d51b[_0x477d('0x79c')]=_0xfd7627['rows']||[];})['catch'](function(_0x30c5ee){_0x54dbe2[_0x477d('0x44a')]({'title':_0x30c5ee[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x30c5ee['status']+_0x477d('0x44c')+_0x30c5ee[_0x477d('0x44d')]:_0x477d('0x122b'),'msg':_0x30c5ee[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x30c5ee[_0x477d('0x451')]):_0x30c5ee['toString']()});}):_0x3b499f[_0x477d('0x79c')]['get']({'fields':'id,name','sort':'name','IntervalId':_0x477d('0xea')})['$promise']['then'](function(_0x5a656a){_0x47d51b['interval']=_0x5a656a['rows']||[];})['then'](function(){return _0x3b499f[_0x477d('0x3ac')]['get']({'userProfileId':_0x47d51b['currentUser'][_0x477d('0x61')],'sectionId':0x3ec})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x4fa299){var _0x270389=_0x4fa299&&_0x4fa299[_0x477d('0xf2')]?_0x4fa299[_0x477d('0xf2')][0x0]:null;if(!_0x270389){var _0x4f7dcd=[];var _0x3d6858=null;if(_0x47d51b[_0x477d('0x1d8a')]){_0x3d6858=_['find'](_0x47d51b[_0x477d('0x79c')],{'id':Number(_0x47d51b[_0x477d('0x1d8a')][_0x477d('0xf8c')])});}for(var _0x3520aa=0x0;_0x3520aa<_0x47d51b[_0x477d('0x79c')]['length'];_0x3520aa++){if(_0x3d6858&&_0x47d51b[_0x477d('0x79c')][_0x3520aa]['id']===_0x3d6858['id']){_0x47d51b['interval'][_0x3520aa][_0x477d('0xf8b')]=![];_0x4f7dcd[_0x477d('0x3a7')](_0x47d51b[_0x477d('0x79c')][_0x3520aa]);}}_0x47d51b['interval']=_0x4f7dcd;}else{if(!_0x270389['autoAssociation']){return _0x3b499f[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x270389['id']})[_0x477d('0x38b')]['then'](function(_0x2800d3){var _0x2fd565=_[_0x477d('0x3cb')](_0x2800d3['rows'],function(_0x41e5e3){return _[_0x477d('0x10a')](_0x47d51b[_0x477d('0x79c')],{'id':_0x41e5e3['resourceId']});});var _0xb72f15=null;if(_0x47d51b[_0x477d('0x1d8a')]){_0xb72f15=_[_0x477d('0x10a')](_0x47d51b[_0x477d('0x79c')],{'id':Number(_0x47d51b[_0x477d('0x1d8a')]['IntervalId'])});}if(_0xb72f15&&!_[_0x477d('0x3ab')](_0x2fd565,['id',_0xb72f15['id']])){var _0x18fef0=_[_0x477d('0x10a')](_0x47d51b[_0x477d('0x79c')],{'id':_0xb72f15['id']});_0x18fef0[_0x477d('0xf8b')]=![];_0x2fd565[_0x477d('0x3a7')](_0x18fef0);}_0x47d51b[_0x477d('0x79c')]=_0x2fd565;});}}})[_0x477d('0xf8')](function(_0x3ef2e5){_0x54dbe2[_0x477d('0x44a')]({'title':_0x3ef2e5[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x3ef2e5[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x3ef2e5['statusText']:_0x477d('0x122c'),'msg':_0x3ef2e5[_0x477d('0x451')]?JSON['stringify'](_0x3ef2e5['data']):_0x3ef2e5['toString']()});});function _0x3e89dd(){_0x47d51b[_0x477d('0xd67')]=[];_0x3b499f['campaign']['save'](_0x47d51b[_0x477d('0x1d8a')])['$promise'][_0x477d('0x76')](function(_0x4de13f){_0x47d51b[_0x477d('0x1d87')]['unshift'](_0x4de13f[_0x477d('0xd71')]());_0x54dbe2['success']({'title':_0x477d('0x1d91'),'msg':_0x47d51b['ivrCampaign']['name']?_0x47d51b[_0x477d('0x1d8a')][_0x477d('0x94')]+_0x477d('0xd73'):''});_0x383eda(_0x4de13f);})[_0x477d('0xf8')](function(_0x9aea3b){if(_0x9aea3b[_0x477d('0x451')]&&_0x9aea3b[_0x477d('0x451')][_0x477d('0xd67')]&&_0x9aea3b['data'][_0x477d('0xd67')][_0x477d('0x79')]){_0x47d51b[_0x477d('0xd67')]=_0x9aea3b[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x9aea3b[_0x477d('0x453')](),'type':'api.campaign.save'}];for(var _0x108379=0x0;_0x108379<_0x9aea3b[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x108379+=0x1){_0x54dbe2[_0x477d('0x44a')]({'title':_0x9aea3b[_0x477d('0x451')][_0x477d('0xd67')][_0x108379][_0x477d('0x439')],'msg':_0x9aea3b[_0x477d('0x451')]['errors'][_0x108379][_0x477d('0x452')]});}}else{_0x54dbe2[_0x477d('0x44a')]({'title':_0x9aea3b[_0x477d('0x3c3')]?'API:'+_0x9aea3b[_0x477d('0x3c3')]+'\x20-\x20'+_0x9aea3b[_0x477d('0x44d')]:_0x477d('0x1d92'),'msg':_0x9aea3b['data']?JSON[_0x477d('0x3fb')](_0x9aea3b[_0x477d('0x451')][_0x477d('0x452')]):_0x9aea3b['toString']()});}});}function _0x4cbe9e(){_0x47d51b[_0x477d('0xd67')]=[];_0x3b499f['campaign'][_0x477d('0x710')]({'id':_0x47d51b[_0x477d('0x1d8a')]['id']},_0x47d51b[_0x477d('0x1d8a')])[_0x477d('0x38b')]['then'](function(_0x24c2cb){var _0x3ceb07=_[_0x477d('0x10a')](_0x47d51b[_0x477d('0x1d87')],{'id':_0x24c2cb['id']});if(_0x3ceb07){_[_0x477d('0xef')](_0x3ceb07,_['pick'](_0x24c2cb['toJSON'](),_[_0x477d('0x7f')](_0x3ceb07)));}_0x54dbe2['success']({'title':_0x477d('0x1d93'),'msg':_0x47d51b[_0x477d('0x1d8a')][_0x477d('0x94')]?_0x47d51b[_0x477d('0x1d8a')]['name']+_0x477d('0xd76'):''});_0x383eda(_0x24c2cb);})[_0x477d('0xf8')](function(_0x1faa43){if(_0x1faa43[_0x477d('0x451')]&&_0x1faa43[_0x477d('0x451')]['errors']&&_0x1faa43['data'][_0x477d('0xd67')][_0x477d('0x79')]){_0x47d51b[_0x477d('0xd67')]=_0x1faa43['data'][_0x477d('0xd67')]||[{'message':_0x1faa43['toString'](),'type':'api.campaign.update'}];for(var _0x32df2b=0x0;_0x32df2b<_0x1faa43['data'][_0x477d('0xd67')][_0x477d('0x79')];_0x32df2b++){_0x54dbe2[_0x477d('0x44a')]({'title':_0x1faa43['data']['errors'][_0x32df2b][_0x477d('0x439')],'msg':_0x1faa43[_0x477d('0x451')]['errors'][_0x32df2b][_0x477d('0x452')]});}}else{_0x54dbe2[_0x477d('0x44a')]({'title':_0x1faa43['status']?_0x477d('0x44b')+_0x1faa43['status']+'\x20-\x20'+_0x1faa43[_0x477d('0x44d')]:'api.campaign.update','msg':_0x1faa43[_0x477d('0x451')]?JSON['stringify'](_0x1faa43[_0x477d('0x451')][_0x477d('0x452')]):_0x1faa43[_0x477d('0x453')]()});}});}function _0x576529(_0xf55131){_0x47d51b[_0x477d('0xd67')]=[];var _0x54048d=_0x3ffc99['confirm']()[_0x477d('0x49a')](_0x477d('0xd79'))['content']('The\x20ivrCampaign\x20will\x20be\x20deleted.')['ariaLabel'](_0x477d('0x1d94'))['ok'](_0x477d('0xd7b'))[_0x477d('0x4f0')](_0x477d('0x688'))[_0x477d('0xd7c')](_0xf55131);_0x3ffc99[_0x477d('0x395')](_0x54048d)['then'](function(){_0x3b499f[_0x477d('0xca8')][_0x477d('0xa55')]({'id':_0x47d51b['ivrCampaign']['id']})[_0x477d('0x38b')]['then'](function(){_[_0x477d('0x39c')](_0x47d51b[_0x477d('0x1d87')],{'id':_0x47d51b[_0x477d('0x1d8a')]['id']});_0x54dbe2['success']({'title':_0x477d('0x1d95'),'msg':(_0x47d51b[_0x477d('0x1d8a')][_0x477d('0x94')]||'ivrCampaign')+'\x20has\x20been\x20deleted!'});_0x383eda(_0x47d51b[_0x477d('0x1d8a')]);})[_0x477d('0xf8')](function(_0x3b0e92){if(_0x3b0e92[_0x477d('0x451')]&&_0x3b0e92['data'][_0x477d('0xd67')]&&_0x3b0e92[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x47d51b[_0x477d('0xd67')]=_0x3b0e92[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x3b0e92['toString'](),'type':_0x477d('0x1d96')}];for(var _0x477e7e=0x0;_0x477e7e<_0x3b0e92['data']['errors'][_0x477d('0x79')];_0x477e7e++){_0x54dbe2[_0x477d('0x44a')]({'title':_0x3b0e92[_0x477d('0x451')]['errors'][_0x477e7e]['type'],'msg':_0x3b0e92['data'][_0x477d('0xd67')][_0x477e7e]['message']});}}else{_0x54dbe2[_0x477d('0x44a')]({'title':_0x3b0e92['status']?_0x477d('0x44b')+_0x3b0e92[_0x477d('0x3c3')]+'\x20-\x20'+_0x3b0e92[_0x477d('0x44d')]:_0x477d('0x1d96'),'msg':_0x3b0e92['data']?JSON['stringify'](_0x3b0e92[_0x477d('0x451')][_0x477d('0x452')]):_0x3b0e92[_0x477d('0x452')]||_0x3b0e92[_0x477d('0x453')]()});}});},function(){});}function _0x43411d(_0x385772){return _0x385772===null?undefined:new Date(_0x385772);}function _0x383eda(_0x9ecdbf){_0x3ffc99[_0x477d('0x3bc')](_0x9ecdbf);}}}());(function(){'use strict';_0x246899[_0x477d('0xa')]=[_0x477d('0x384'),'$q','toasty','api','ivrCampaign','$translate',_0x477d('0x3fe'),'Auth',_0x477d('0xd66')];angular[_0x477d('0xb')]('app.motiondialer')[_0x477d('0x3ba')]('IvrCampaignblacklistaddController',_0x246899);function _0x246899(_0x51d920,_0x439478,_0x45e62f,_0x5d67a6,_0x77b62d,_0x314aa6,_0x22b547,_0x1d8933,_0x230c31){var _0x57ed5d=this;_0x57ed5d[_0x477d('0x3e5')]=_0x1d8933[_0x477d('0x5c')]();_0x57ed5d[_0x477d('0x1d8a')]=_0x77b62d;_0x57ed5d[_0x477d('0xd66')]=_0x230c31;_0x57ed5d['apiRoute']=_0x477d('0xa76');_0x57ed5d['getApi']=_0x477d('0x164a');_0x57ed5d['addApi']=_0x477d('0x1d97');_0x57ed5d[_0x477d('0x1d98')]=_0x477d('0x1d99');_0x57ed5d['items']=[];_0x57ed5d[_0x477d('0x11f7')]=[];_0x57ed5d[_0x477d('0x4a7')]=[];_0x57ed5d['startingAllowedItems']=[];_0x57ed5d[_0x477d('0x11fd')]=[];_0x57ed5d['pendingChanges']=![];_0x57ed5d[_0x477d('0x1d9a')]=![];_0x57ed5d[_0x477d('0x1185')]={'readOnly':!_0x57ed5d['crudPermissions'][_0x477d('0xedb')],'allowedItems':[],'selectedItems':[],'showSelectAndDeselectAll':![],'orderBy':_0x477d('0x94'),'line1':'name','line2':'','line3':'','labelAll':_0x314aa6[_0x477d('0x45f')](_0x477d('0x1d9b')),'labelSelected':_0x314aa6[_0x477d('0x45f')](_0x477d('0x1d9c')),'transferCallback':function(_0x429c44,_0x27c5e5){var _0x1ce16c=_[_0x477d('0x11f4')](_0x57ed5d['startingSelectedItems'],_0x57ed5d[_0x477d('0x4a7')],'id');_0x57ed5d[_0x477d('0x11f5')]=_[_0x477d('0x3b2')](_0x1ce16c)?![]:!![];}};_0x57ed5d[_0x477d('0x71a')]=_0x34f67e;_0x57ed5d['saveLists']=_0x27dd10;_0x57ed5d['closeDialog']=_0x3c8047;function _0x34f67e(){return _0x1d8933[_0x477d('0x56')](_0x477d('0x5f'))?_0x5ad6a3()[_0x477d('0xf8')](function(_0x31f490){_0x45e62f[_0x477d('0x44a')]({'title':_0x31f490['status']?_0x477d('0x44b')+_0x31f490['status']+_0x477d('0x44c')+_0x31f490[_0x477d('0x44d')]:_0x477d('0x1d9d'),'msg':_0x31f490['status']?JSON['stringify'](_0x31f490[_0x477d('0x451')]):_0x31f490[_0x477d('0x453')]()});}):_0x5d6103()[_0x477d('0x76')](function(_0x553eac){_0x57ed5d[_0x477d('0xd99')]=_0x553eac;return _0x5ad6a3();})[_0x477d('0xf8')](function(_0x43091b){_0x45e62f[_0x477d('0x44a')]({'title':_0x43091b[_0x477d('0x3c3')]?'API:'+_0x43091b['status']+_0x477d('0x44c')+_0x43091b[_0x477d('0x44d')]:'SYSTEM:GETLISTS','msg':_0x43091b[_0x477d('0x3c3')]?JSON['stringify'](_0x43091b[_0x477d('0x451')]):_0x43091b[_0x477d('0x453')]()});});}function _0x5d6103(){return _0x439478(function(_0x2150f4,_0xa5c68e){_0x5d67a6[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x57ed5d[_0x477d('0x3e5')]['userProfileId'],'name':_0x477d('0xa9')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x2c3cc5){var _0x50cd7c=_0x2c3cc5&&_0x2c3cc5[_0x477d('0xf2')]?_0x2c3cc5[_0x477d('0xf2')][0x0]:null;_0x2150f4(_0x50cd7c);})[_0x477d('0xf8')](function(_0x1d3ad6){_0xa5c68e(_0x1d3ad6);});});}function _0x5ad6a3(){return _0x439478(function(_0x52490f,_0x10f689){return _0x508585()[_0x477d('0x76')](function(_0x5b4b11){_0x57ed5d[_0x477d('0x4a6')]=_0x5b4b11[_0x477d('0xf2')]?_0x5b4b11[_0x477d('0xf2')]:[];if(_0x1d8933[_0x477d('0x56')]('admin')){return _0x5b4b11;}else{if(_0x57ed5d[_0x477d('0xd99')]){return _0x57ed5d['section'][_0x477d('0x3ad')]?_0x5b4b11:_0x1ff41b();}else{return null;}}})[_0x477d('0x76')](function(_0x9d29b4){var _0x4a2e51=_0x9d29b4&&_0x9d29b4[_0x477d('0xf2')]?_0x9d29b4[_0x477d('0xf2')]:[];_0x57ed5d[_0x477d('0x11f7')]=_[_0x477d('0x3cb')](_0x4a2e51,function(_0x35c7a4){return _[_0x477d('0x10a')](_0x57ed5d[_0x477d('0x4a6')],{'id':_0x1d8933[_0x477d('0x56')](_0x477d('0x5f'))||_0x57ed5d[_0x477d('0xd99')][_0x477d('0x3ad')]?_0x35c7a4['id']:_0x35c7a4['resourceId']});});_0x57ed5d['startingAllowedItems']=angular[_0x477d('0x6d9')](_0x57ed5d[_0x477d('0x11f7')]);_0x57ed5d[_0x477d('0x4a6')][_0x477d('0x3b1')](function(_0x54e39e){var _0x136d7e=_[_0x477d('0x10a')](_0x57ed5d[_0x477d('0x11f7')],{'id':_0x54e39e['id']});if(_0x57ed5d[_0x477d('0x3e5')][_0x477d('0x3a1')]===_0x477d('0x5f')){_0x54e39e[_0x477d('0x4a3')]=!![];}else{_0x54e39e[_0x477d('0x4a3')]=typeof _0x136d7e!==_0x477d('0x4a4')?!![]:![];}});return _0x469b86();})['then'](function(_0x23ba0c){var _0x956727=_0x23ba0c&&_0x23ba0c['rows']?_0x23ba0c['rows']:[];_0x57ed5d[_0x477d('0x4a7')]=_[_0x477d('0x3cb')](_0x956727,function(_0x39eded){return _['find'](_0x57ed5d[_0x477d('0x4a6')],{'id':_0x39eded['id']});});_0x57ed5d['startingSelectedItems']=angular[_0x477d('0x6d9')](_0x57ed5d[_0x477d('0x4a7')]);_0x57ed5d[_0x477d('0x1185')]['selectedItems']=_0x57ed5d['selectedItems'];_0x57ed5d[_0x477d('0x1185')]['items']=_[_0x477d('0x11f8')](_0x57ed5d[_0x477d('0x11f7')],_0x57ed5d[_0x477d('0x1185')][_0x477d('0x4a7')],'id');_0x52490f();})['catch'](function(_0x552296){_0x10f689(_0x552296);});});}function _0x1ff41b(){return _0x439478(function(_0x437c92,_0x21bd48){return _0x5d67a6[_0x477d('0x3ae')]['get']({'sectionId':_0x57ed5d[_0x477d('0xd99')]['id'],'nolimit':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x2c7231){_0x437c92(_0x2c7231);})['catch'](function(_0x33ed95){_0x21bd48(_0x33ed95);});});}function _0x469b86(){return _0x439478(function(_0xe8adc7,_0x261931){return _0x5d67a6[_0x57ed5d[_0x477d('0x1899')]][_0x57ed5d[_0x477d('0x1d9e')]]({'id':_0x57ed5d[_0x477d('0x1d8a')]['id'],'fields':'id,name','nolimit':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x1d7940){_0xe8adc7(_0x1d7940);})[_0x477d('0xf8')](function(_0x1faee8){_0x261931(_0x1faee8);});});}function _0x508585(){return _0x439478(function(_0x23dbf6,_0x2723f1){return _0x5d67a6[_0x477d('0xe3f')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'nolimit':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x12a645){_0x23dbf6(_0x12a645);})['catch'](function(_0x851cdb){_0x2723f1(_0x851cdb);});});}function _0x2f98f8(_0x2d3273){return _0x439478(function(_0x459478,_0x1c7930){if(_[_0x477d('0x3b2')](_0x2d3273)){_0x459478();}else{_0x5d67a6[_0x57ed5d[_0x477d('0x1899')]][_0x57ed5d[_0x477d('0x1d9f')]]({'id':_0x57ed5d['ivrCampaign']['id'],'ids':_[_0x477d('0x3cb')](_0x2d3273,'id')})[_0x477d('0x38b')][_0x477d('0x76')](function(){_0x459478();})[_0x477d('0xf8')](function(_0x76f79f){_0x1c7930(_0x76f79f);});}});}function _0x2d3627(_0xfbcd94){return _0x439478(function(_0x260c30,_0x511328){if(_['isEmpty'](_0xfbcd94)){_0x260c30();}else{_0x5d67a6[_0x57ed5d['apiRoute']][_0x57ed5d[_0x477d('0x1d98')]]({'id':_0x57ed5d[_0x477d('0x1d8a')]['id'],'ids':_[_0x477d('0x3cb')](_0xfbcd94,'id')})[_0x477d('0x38b')][_0x477d('0x76')](function(){_0x260c30();})[_0x477d('0xf8')](function(_0x584cbf){_0x511328(_0x584cbf);});}});}function _0x27dd10(){_0x57ed5d[_0x477d('0x1d9a')]=!![];var _0x10b31e=_['differenceBy'](_0x57ed5d['startingSelectedItems'],_0x57ed5d[_0x477d('0x4a7')],'id');var _0xd2afa4=_['differenceBy'](_0x57ed5d['selectedItems'],_0x57ed5d[_0x477d('0x11fd')],'id');return _0x2d3627(_0x10b31e)[_0x477d('0x76')](function(){return _0x2f98f8(_0xd2afa4);})[_0x477d('0x76')](function(){_0x57ed5d['pendingChanges']=![];_0x57ed5d[_0x477d('0x11f2')]=angular[_0x477d('0x6d9')](_0x57ed5d[_0x477d('0x11f7')]);_0x57ed5d['startingSelectedItems']=angular[_0x477d('0x6d9')](_0x57ed5d[_0x477d('0x4a7')]);_0x45e62f[_0x477d('0x485')]({'title':_0x477d('0x11fe'),'msg':'Lists\x20association\x20has\x20been\x20updated!'});})['catch'](function(_0x256f7a){_0x45e62f['error']({'title':_0x256f7a[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x256f7a[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x256f7a[_0x477d('0x44d')]:'SYSTEM:LISTS_ASSOCIATION','msg':_0x256f7a[_0x477d('0x3c3')]?JSON[_0x477d('0x3fb')](_0x256f7a[_0x477d('0x451')]):_0x256f7a[_0x477d('0x453')]()});})[_0x477d('0x5ff')](function(){_0x57ed5d['loading']=![];});;}function _0x3c8047(){_0x51d920[_0x477d('0x3bc')]();}}}());(function(){'use strict';_0x473d48[_0x477d('0xa')]=[_0x477d('0x384'),_0x477d('0x3c4'),_0x477d('0x40e'),_0x477d('0x386'),_0x477d('0x1d8a'),'ivrCampaigns',_0x477d('0x40d')];angular['module'](_0x477d('0x3a'))[_0x477d('0x3ba')]('IvrCampaigncloneController',_0x473d48);function _0x473d48(_0x24f147,_0x2c2d28,_0x4d8bfa,_0x4affb4,_0x207977,_0x4f9a60,_0x1def5c){var _0x4d1786=this;_0x4d1786[_0x477d('0x1da0')]=!![];_0x4d1786[_0x477d('0x1d8a')]=angular[_0x477d('0x6d9')](_0x207977);_0x4d1786[_0x477d('0x1d87')]=_0x4f9a60;_0x4d1786[_0x477d('0x49a')]=_0x1def5c[_0x477d('0x45f')](_0x477d('0x1da1'));if(_0x207977&&_0x207977[_0x477d('0x94')]){_0x4d1786[_0x477d('0x49a')]+=':\x20'+_0x207977[_0x477d('0x94')];}_0x4d1786[_0x477d('0x1da2')]=_0x19d124;_0x4d1786[_0x477d('0x6bf')]=_0x591431;function _0x19d124(){return _0x4affb4[_0x477d('0xca8')][_0x477d('0x117f')]({'id':_0x207977['id']},_0x4d1786[_0x477d('0x1d8a')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x51ee89){_0x4d1786[_0x477d('0x1d87')][_0x477d('0x63b')](_0x51ee89[_0x477d('0xd71')]());_0x4d8bfa[_0x477d('0x485')]({'title':'IvrCampaign\x20properly\x20cloned','msg':_0x4d1786['ivrCampaign'][_0x477d('0x94')]?_0x4d1786['ivrCampaign'][_0x477d('0x94')]+_0x477d('0x1da3'):''});_0x2c2d28['go'](_0x477d('0x1da4'),{'id':_0x51ee89['id']});_0x591431(_0x51ee89);})['catch'](function(_0x33ac6c){if(_0x33ac6c[_0x477d('0x451')]&&_0x33ac6c[_0x477d('0x451')][_0x477d('0xd67')]&&_0x33ac6c[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x4d1786[_0x477d('0xd67')]=_0x33ac6c[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x33ac6c['toString'](),'type':_0x477d('0x1da5')}];for(var _0x567fdf=0x0;_0x567fdf<_0x33ac6c[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x567fdf+=0x1){_0x4d8bfa[_0x477d('0x44a')]({'title':_0x33ac6c['data']['errors'][_0x567fdf][_0x477d('0x439')],'msg':_0x33ac6c[_0x477d('0x451')][_0x477d('0xd67')][_0x567fdf][_0x477d('0x452')]});}}else{_0x4d8bfa['error']({'title':_0x33ac6c[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x33ac6c[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x33ac6c[_0x477d('0x44d')]:_0x477d('0x1da5'),'msg':_0x33ac6c['data']?JSON[_0x477d('0x3fb')](_0x33ac6c[_0x477d('0x451')][_0x477d('0x452')]):_0x33ac6c[_0x477d('0x453')]()});}});}function _0x591431(_0x44ffba){_0x24f147[_0x477d('0x3bc')](_0x44ffba);}}}());(function(){'use strict';_0x36e111[_0x477d('0xa')]=[_0x477d('0x385'),_0x477d('0x474'),'$state','$q',_0x477d('0x40d'),_0x477d('0x3fe'),_0x477d('0x384'),'$document','toasty',_0x477d('0x386'),_0x477d('0x55')];angular['module']('app.motiondialer')[_0x477d('0x3ba')]('IvrCampaignHopperBlacksController',_0x36e111);function _0x36e111(_0xa505bd,_0x219bdd,_0x509a34,_0x16a1cd,_0x345151,_0x90d525,_0x5ec4c6,_0x4db87c,_0x24b6d1,_0x2f3892,_0x20a32d){var _0x353d76=this;_0x353d76[_0x477d('0x3e5')]=_0x20a32d[_0x477d('0x5c')]();_0x353d76[_0x477d('0x1d8a')]={};_0x353d76[_0x477d('0x1da6')]={'count':0x0,'rows':[]};_0x353d76[_0x477d('0x1da7')]=[];_0x353d76[_0x477d('0xd66')];_0x353d76[_0x477d('0x3ef')]={'fields':_0x477d('0x1da8'),'sort':_0x477d('0x149f'),'limit':0xa,'page':0x1};_0x353d76[_0x477d('0x5ee')]=_0x39ab23;_0x353d76[_0x477d('0xe66')]=_0x170f80;_0x353d76[_0x477d('0x485')]=_0x42b997;_0x353d76['getIvrCampaignHopperBlacks']=_0x70bdbb;_0x353d76['createOrEditIvrCampaignHopperBlack']=_0x30aefd;_0x353d76[_0x477d('0x1da9')]=_0x42701a;_0x353d76[_0x477d('0x1daa')]=_0x312e4d;_0x353d76[_0x477d('0x1dab')]=_0x4124b8;function _0x39ab23(_0x3edcd4,_0x3961c2){_0x353d76[_0x477d('0x1d8a')]=_0x3edcd4;_0x353d76[_0x477d('0xd66')]=typeof _0x3961c2!==_0x477d('0x4a4')?_0x3961c2:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x353d76['query']['CampaignId']=_0x353d76[_0x477d('0x1d8a')]['id'];_0x353d76[_0x477d('0x3ef')]['id']=_0x353d76[_0x477d('0x1d8a')]['id'];_0x70bdbb();}function _0x170f80(_0x267612,_0x5e7497){var _0x13bee8=_0x5ec4c6['confirm']()[_0x477d('0x49a')](_0x477d('0x1dac'))[_0x477d('0xd92')](_0x477d('0xd93')+(_0x267612[_0x477d('0x94')]||_0x267612['id']&&_[_0x477d('0x1367')](_0x477d('0x1dad'))+_0x267612['id']||_0x477d('0x1dae'))+_0x477d('0xd94')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x1daf'))['targetEvent'](_0x5e7497)['ok']('OK')['cancel'](_0x477d('0xd97'));_0x5ec4c6[_0x477d('0x395')](_0x13bee8)['then'](function(){_0x312e4d(_0x267612);},function(){console[_0x477d('0x7b')](_0x477d('0xd97'));});}function _0x42b997(_0x3bc988){_0x353d76['ivrCampaignHopperBlacks']=_0x3bc988||{'count':0x0,'rows':[]};}function _0x70bdbb(){_0x353d76[_0x477d('0x3ef')][_0x477d('0x91c')]=(_0x353d76[_0x477d('0x3ef')]['page']-0x1)*_0x353d76['query'][_0x477d('0x91d')];_0x353d76[_0x477d('0x553')]=_0x2f3892[_0x477d('0xca8')][_0x477d('0x1db0')](_0x353d76['query'],_0x42b997)[_0x477d('0x38b')];}function _0x30aefd(_0x640ebc,_0xc53169){_0x5ec4c6[_0x477d('0x395')]({'controller':_0x477d('0x1db1'),'controllerAs':'vm','templateUrl':'app/main/apps/motiondialer/views/ivrCampaigns/edit/hopperBlacks/dialog.html','parent':angular[_0x477d('0x398')](_0x4db87c['body']),'targetEvent':_0x640ebc,'clickOutsideToClose':!![],'locals':{'ivrCampaign':_0x353d76[_0x477d('0x1d8a')],'hopperBlack':_0xc53169,'hopperBlacks':_0x353d76[_0x477d('0x1da6')]['rows'],'license':null,'setting':null,'crudPermissions':_0x353d76[_0x477d('0xd66')]}});}function _0x312e4d(_0x5277b7){_0x2f3892[_0x477d('0x1dae')][_0x477d('0xa55')]({'id':_0x5277b7['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_['remove'](_0x353d76[_0x477d('0x1da6')][_0x477d('0xf2')],{'id':_0x5277b7['id']});_0x353d76[_0x477d('0x1da6')][_0x477d('0x3bb')]-=0x1;if(!_0x353d76[_0x477d('0x1da6')]['rows'][_0x477d('0x79')]){_0x70bdbb();}_0x24b6d1['success']({'title':_0x477d('0x1db2'),'msg':_0x5277b7['name']?_0x5277b7[_0x477d('0x94')]+_0x477d('0xd7e'):''});})[_0x477d('0xf8')](function(_0x26d077){if(_0x26d077[_0x477d('0x451')]&&_0x26d077[_0x477d('0x451')][_0x477d('0xd67')]&&_0x26d077[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){vm[_0x477d('0xd67')]=_0x26d077[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x26d077[_0x477d('0x453')](),'type':_0x477d('0x1db3')}];for(var _0x1f406c=0x0;_0x1f406c<_0x26d077['data'][_0x477d('0xd67')]['length'];_0x1f406c++){_0x24b6d1[_0x477d('0x44a')]({'title':_0x26d077[_0x477d('0x451')][_0x477d('0xd67')][_0x1f406c][_0x477d('0x439')],'msg':_0x26d077[_0x477d('0x451')][_0x477d('0xd67')][_0x1f406c][_0x477d('0x452')]});}}else{_0x24b6d1['error']({'title':_0x26d077['status']?_0x477d('0x44b')+_0x26d077[_0x477d('0x3c3')]+'\x20-\x20'+_0x26d077[_0x477d('0x44d')]:_0x477d('0x1db3'),'msg':_0x26d077[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x26d077['data']['message']):_0x26d077[_0x477d('0x452')]||_0x26d077[_0x477d('0x453')]()});}});}function _0x42701a(){var _0x37c60a=angular[_0x477d('0x6d9')](_0x353d76['selectedIvrCampaignHopperBlacks']);_0x353d76[_0x477d('0x1da7')]=[];return _0x37c60a;}function _0x4124b8(_0x5ca268){var _0x5bebb2=_0x5ec4c6[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x1db4'))['htmlContent'](_0x477d('0xd93')+_0x353d76[_0x477d('0x1da7')]['length']+_0x477d('0xda0')+_0x477d('0xd95'))[_0x477d('0x687')]('delete\x20hopperBlacks')['targetEvent'](_0x5ca268)['ok']('OK')['cancel'](_0x477d('0xd97'));_0x5ec4c6[_0x477d('0x395')](_0x5bebb2)[_0x477d('0x76')](function(){_0x353d76[_0x477d('0x1da7')][_0x477d('0x3b1')](function(_0x2668c3){_0x312e4d(_0x2668c3);});_0x353d76[_0x477d('0x1da7')]=[];});}var _0x1d7a5d=!![];var _0x24f4b0=0x1;_0x219bdd[_0x477d('0x4b5')]('vm_dc.query.filter',function(_0x1a1849,_0x95803c){if(_0x1d7a5d){_0x90d525(function(){_0x1d7a5d=![];});}else{if(!_0x95803c){_0x24f4b0=_0x353d76[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x1a1849!==_0x95803c){_0x353d76['query']['page']=0x1;}if(!_0x1a1849){_0x353d76[_0x477d('0x3ef')]['page']=_0x24f4b0;}_0x70bdbb();}});}}());(function(){'use strict';_0x13e935['$inject']=['$cookies',_0x477d('0x474'),_0x477d('0x3c4'),'$q',_0x477d('0x40d'),_0x477d('0x3fe'),'$mdDialog',_0x477d('0x475'),_0x477d('0x40e'),_0x477d('0x386'),_0x477d('0x55')];angular[_0x477d('0xb')](_0x477d('0x3a'))['controller'](_0x477d('0x1db5'),_0x13e935);function _0x13e935(_0xf84483,_0x744bdb,_0x12056d,_0x57a3a0,_0x592cc7,_0x444da8,_0x11834d,_0x384e6b,_0x1457b9,_0x280f9b,_0x184c92){var _0x41d88b=this;_0x41d88b[_0x477d('0x3e5')]=_0x184c92[_0x477d('0x5c')]();_0x41d88b[_0x477d('0x1449')]={};_0x41d88b[_0x477d('0x1d8a')]={};_0x41d88b[_0x477d('0x1db6')]={'count':0x0,'rows':[]};_0x41d88b[_0x477d('0x1db7')]=[];_0x41d88b[_0x477d('0xd66')];_0x41d88b[_0x477d('0x3ef')]={'fields':'createdAt,updatedAt,uniqueid,ContactId,calleridnum,calleridname,statedesc,countcongestionretry,countbusyretry,countnoanswerretry,countnosuchnumberretry,countdropretry,countabandonedretry,countmachineretry,countagentrejectretry,countglobal,scheduledat,starttime,responsetime,endtime,disposition,ListId,UserId,VoiceQueueId,CampaignId,recallme,deleted,campaign','sort':'-id','limit':0xa,'page':0x1};_0x41d88b['init']=_0x3a427e;_0x41d88b[_0x477d('0xe66')]=_0x24d022;_0x41d88b['success']=_0x98b604;_0x41d88b[_0x477d('0x1db8')]=_0x2ba151;_0x41d88b['createOrEditIvrCampaignHopperFinal']=_0x1ad6d6;_0x41d88b['exportSelectedIvrCampaignHopperFinals']=_0x878413;_0x41d88b[_0x477d('0x1db9')]=_0x4e4335;_0x41d88b[_0x477d('0x1dba')]=_0x2d8a5f;_0x41d88b['moveIvrCampaignHopperFinal']=_0x5d8091;_0x41d88b['moveContactsIvrCampaignHopperFinal']=_0x439511;_0x41d88b[_0x477d('0x1dbb')]=_0x489e26;_0x41d88b[_0x477d('0x1dbc')]=_0xfb8c1a;_0x41d88b[_0x477d('0x1dbd')]=_0x294032;function _0x3a427e(_0x22bbc9,_0x539915){_0x41d88b[_0x477d('0x1d8a')]=_0x22bbc9;_0x41d88b[_0x477d('0xd66')]=typeof _0x539915!==_0x477d('0x4a4')?_0x539915:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x41d88b[_0x477d('0x3ef')][_0x477d('0x1dbe')]=_0x41d88b[_0x477d('0x1d8a')]['id'];_0x41d88b[_0x477d('0x3ef')]['id']=_0x41d88b[_0x477d('0x1d8a')]['id'];_0x2ba151();}function _0x24d022(_0x54f9ed,_0xf17b5){var _0x5e5cb7=_0x11834d['confirm']()[_0x477d('0x49a')](_0x477d('0x1dbf'))['htmlContent'](''+(_0x54f9ed[_0x477d('0x94')]||_0x54f9ed['id']&&_['upperFirst'](_0x477d('0x1dc0'))+_0x54f9ed['id']||_0x477d('0x1dc1'))+_0x477d('0xd94')+'\x20will\x20be\x20deleted.')[_0x477d('0x687')](_0x477d('0x1dc2'))['targetEvent'](_0xf17b5)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x11834d[_0x477d('0x395')](_0x5e5cb7)[_0x477d('0x76')](function(){_0x4e4335(_0x54f9ed);},function(){console[_0x477d('0x7b')](_0x477d('0xd97'));});}function _0x98b604(_0x3bf7d3){_0x41d88b['ivrCampaignHopperFinals']=_0x3bf7d3||{'count':0x0,'rows':[]};}function _0x2ba151(){_0x41d88b['query']['offset']=(_0x41d88b[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x41d88b[_0x477d('0x3ef')]['limit'];_0x41d88b[_0x477d('0x553')]=_0x280f9b['campaign']['getHopperFinals'](_0x41d88b[_0x477d('0x3ef')],_0x98b604)[_0x477d('0x38b')];}function _0x1ad6d6(_0x3c1d48,_0x437fbc){_0x11834d[_0x477d('0x395')]({'controller':'CreateOrEditHopperFinalDialogController','controllerAs':'vm','templateUrl':_0x477d('0x1dc3'),'parent':angular[_0x477d('0x398')](_0x384e6b[_0x477d('0x399')]),'targetEvent':_0x3c1d48,'clickOutsideToClose':!![],'locals':{'ivrCampaign':_0x41d88b[_0x477d('0x1d8a')],'hopperFinal':_0x437fbc,'hopperFinals':_0x41d88b[_0x477d('0x1db6')][_0x477d('0xf2')],'license':null,'setting':null,'crudPermissions':_0x41d88b['crudPermissions']}});}function _0x4e4335(_0x43a63e){_0x280f9b[_0x477d('0x1dc1')][_0x477d('0xa55')]({'id':_0x43a63e['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x41d88b[_0x477d('0x1db6')][_0x477d('0xf2')],{'id':_0x43a63e['id']});_0x41d88b[_0x477d('0x1db6')]['count']-=0x1;if(!_0x41d88b['ivrCampaignHopperFinals'][_0x477d('0xf2')]['length']){_0x2ba151();}_0x1457b9['success']({'title':_0x477d('0x1dc4'),'msg':_0x43a63e[_0x477d('0x94')]?_0x43a63e['name']+_0x477d('0xd7e'):''});})[_0x477d('0xf8')](function(_0x48f2ea){if(_0x48f2ea[_0x477d('0x451')]&&_0x48f2ea[_0x477d('0x451')][_0x477d('0xd67')]&&_0x48f2ea[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){vm['errors']=_0x48f2ea[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x48f2ea[_0x477d('0x453')](),'type':_0x477d('0x1db3')}];for(var _0x5acd62=0x0;_0x5acd62<_0x48f2ea[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x5acd62++){_0x1457b9['error']({'title':_0x48f2ea[_0x477d('0x451')][_0x477d('0xd67')][_0x5acd62]['type'],'msg':_0x48f2ea[_0x477d('0x451')][_0x477d('0xd67')][_0x5acd62][_0x477d('0x452')]});}}else{_0x1457b9[_0x477d('0x44a')]({'title':_0x48f2ea[_0x477d('0x3c3')]?'API:'+_0x48f2ea[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x48f2ea['statusText']:_0x477d('0x1db3'),'msg':_0x48f2ea[_0x477d('0x451')]?JSON['stringify'](_0x48f2ea[_0x477d('0x451')][_0x477d('0x452')]):_0x48f2ea[_0x477d('0x452')]||_0x48f2ea[_0x477d('0x453')]()});}});}function _0x878413(){var _0x32096c=angular['copy'](_0x41d88b[_0x477d('0x1db7')]);_0x41d88b['selectedIvrCampaignHopperFinals']=[];return _0x32096c;}function _0x2d8a5f(_0x2f44ee){var _0x208281=_0x11834d[_0x477d('0xd78')]()['title']('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20hopperFinals?')[_0x477d('0xd92')](_0x477d('0xd93')+_0x41d88b[_0x477d('0x1db7')][_0x477d('0x79')]+_0x477d('0xda0')+_0x477d('0xd95'))['ariaLabel'](_0x477d('0x1dc5'))[_0x477d('0xd7c')](_0x2f44ee)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x11834d[_0x477d('0x395')](_0x208281)[_0x477d('0x76')](function(){_0x41d88b[_0x477d('0x1db7')]['forEach'](function(_0x8db710){_0x4e4335(_0x8db710);});_0x41d88b[_0x477d('0x1db7')]=[];});}function _0x439511(_0x1b1bd0){_0x280f9b[_0x477d('0xb80')][_0x477d('0x1dc6')]({'id':_0x41d88b['query']['id'],'state':_0x1b1bd0})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x265b00){if(_[_0x477d('0x484')](_0x265b00)&&_[_0x477d('0x484')](_0x265b00[0x0])){_0x1457b9['info']({'title':_0x477d('0x1dc7'),'msg':'0'});}else{_0x1457b9[_0x477d('0x669')]({'title':_0x477d('0x1dc7'),'msg':JSON['stringify'](_0x265b00[0x0][_0x477d('0x14dd')])});}})['catch'](function(_0x371a5c){_0x1457b9['error']({'title':_0x371a5c[_0x477d('0x3c3')]?'API:'+_0x371a5c[_0x477d('0x3c3')]+'\x20-\x20'+_0x371a5c[_0x477d('0x44d')]:_0x477d('0x1dc8'),'msg':_0x371a5c[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x371a5c[_0x477d('0x451')][_0x477d('0x452')]):_0x371a5c[_0x477d('0x452')]||_0x371a5c[_0x477d('0x453')]()});});}function _0x489e26(_0x5a2419){_0x280f9b[_0x477d('0xb80')][_0x477d('0x1dbb')]({'id':_0x5a2419})[_0x477d('0x38b')][_0x477d('0x76')](function(_0xc4c9ca){_[_0x477d('0xef')](_0x41d88b[_0x477d('0x1449')],_0xc4c9ca[0x0]);})['catch'](function(_0x270c66){_0x1457b9[_0x477d('0x44a')]({'title':_0x270c66[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x270c66[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x270c66[_0x477d('0x44d')]:_0x477d('0x1db3'),'msg':_0x270c66[_0x477d('0x451')]?JSON['stringify'](_0x270c66[_0x477d('0x451')][_0x477d('0x452')]):_0x270c66['message']||_0x270c66['toString']()});});}function _0x294032(_0x1187e5){var _0x316335=_0x11834d[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x1dc9'))['htmlContent']('\x20Contacts\x20selected'+_0x477d('0x1dca'))[_0x477d('0x687')](_0x477d('0x1dcb'))['targetEvent'](_0x1187e5)['ok']('OK')[_0x477d('0x4f0')]('CANCEL');_0x11834d[_0x477d('0x395')](_0x316335)['then'](function(){_0x41d88b[_0x477d('0x1db7')][_0x477d('0x3b1')](function(_0x451f2c){_0x5d8091(_0x451f2c);});_0x41d88b[_0x477d('0x1db7')]=[];});}function _0xfb8c1a(_0x3f0a79,_0x29db50){var _0x55f0ad=_0x11834d['confirm']()[_0x477d('0x49a')](_0x477d('0x1dcc'))[_0x477d('0xd92')](_0x477d('0xd93')+_0x477d('0x1370')+''+'\x20will\x20be\x20restored.')['ariaLabel']('Restore\x20Contact')[_0x477d('0xd7c')](_0x29db50)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x11834d[_0x477d('0x395')](_0x55f0ad)[_0x477d('0x76')](function(){_0x5d8091(_0x3f0a79);},function(){console[_0x477d('0x7b')](_0x477d('0xd97'));});}function _0x1e6225(_0x43c1ec){var _0x4f71b8={};_0x4f71b8[_0x477d('0xf46')]=_0x43c1ec['calleridnum'];_0x4f71b8['scheduledat']=moment()[_0x477d('0x12f')]('YYYY-MM-DD\x20HH:mm:ss');_0x4f71b8[_0x477d('0x1dcd')]=0x0;_0x4f71b8['countcongestionretry']=0x0;_0x4f71b8[_0x477d('0x1dce')]=0x0;_0x4f71b8[_0x477d('0x1dcf')]=0x0;_0x4f71b8[_0x477d('0x1624')]=_0x43c1ec[_0x477d('0x1624')];_0x4f71b8[_0x477d('0x1229')]=_0x43c1ec['ListId'];_0x4f71b8[_0x477d('0x125b')]=_0x43c1ec['deleted']?null:_0x43c1ec[_0x477d('0x125b')];_0x4f71b8[_0x477d('0x17b0')]=_0x43c1ec[_0x477d('0x17b0')];_0x4f71b8[_0x477d('0x1dbe')]=_0x43c1ec['CampaignId'];_0x4f71b8[_0x477d('0x1243')]=_0x43c1ec[_0x477d('0x163c')]?0x3:0x2;_0x4f71b8[_0x477d('0x163c')]=_0x43c1ec['recallme']?!![]:![];return _0x4f71b8;}function _0x588364(_0x3da7cb){var _0x1acb63={};_0x1acb63[_0x477d('0x15c2')]=_0x3da7cb[_0x477d('0x15c2')];_0x1acb63[_0x477d('0x15ce')]=_0x3da7cb['calleridname'];_0x1acb63['scheduledat']=moment()[_0x477d('0x12f')]('YYYY-MM-DD\x20HH:mm:ss');_0x1acb63[_0x477d('0x1dcd')]=_0x3da7cb[_0x477d('0x1dcd')];_0x1acb63[_0x477d('0x1dd0')]=_0x3da7cb[_0x477d('0x1dd0')];_0x1acb63[_0x477d('0x1dce')]=_0x3da7cb[_0x477d('0x1dce')];_0x1acb63[_0x477d('0x1dcf')]=_0x3da7cb['countglobal'];_0x1acb63['ContactId']=_0x3da7cb[_0x477d('0x1624')];_0x1acb63['ListId']=_0x3da7cb[_0x477d('0x1229')];_0x1acb63[_0x477d('0x125b')]=_0x184c92[_0x477d('0x5c')]()['id'];_0x1acb63['VoiceQueueId']=_0x3da7cb[_0x477d('0x17b0')];_0x1acb63[_0x477d('0x1dbe')]=_0x3da7cb[_0x477d('0x1dbe')];_0x1acb63[_0x477d('0x1dd1')]=moment()[_0x477d('0x12f')](_0x477d('0x38d'));_0x1acb63[_0x477d('0x1dd2')]=!![];_0x1acb63[_0x477d('0xe')]=0x19;_0x1acb63[_0x477d('0x1dd3')]=_0x477d('0x1dd4');_0x1acb63[_0x477d('0xca8')]=_0x3da7cb[_0x477d('0xca8')];_0x1acb63[_0x477d('0x1dd5')]=_0x3da7cb[_0x477d('0x17b0')]?_0x477d('0x1256'):'ivr';return _0x1acb63;}function _0x5d8091(_0x34bce5){_0x280f9b[_0x477d('0xb80')][_0x477d('0x1dd6')](_0x34bce5)['$promise'][_0x477d('0x76')](function(_0x377a29){_0x1457b9[_0x477d('0x669')]({'title':'The\x20contact\x20is\x20in\x20the\x20hopper','msg':'Contact\x20ID\x20'+_0x377a29[_0x477d('0x1624')]});})[_0x477d('0xf8')](function(_0x24651d){if(_0x24651d['data']===_0x477d('0x1dd7')){_0x280f9b[_0x477d('0xb79')]['save'](_0x1e6225(_0x34bce5))[_0x477d('0x38b')]['then'](function(_0x23e02f){_0x1457b9[_0x477d('0x669')]({'title':'Restored\x20Contact','msg':_0x477d('0x1dd8')+_0x23e02f[_0x477d('0x1624')]});if(_0x23e02f[_0x477d('0x1624')]){_0x280f9b['cmHopperHistory']['save'](_0x588364(_0x34bce5));}})['catch'](function(_0x5cd267){if(!_[_0x477d('0x484')](_0x5cd267['data'])&&_0x5cd267[_0x477d('0x451')][_0x477d('0x452')]==='Validation\x20error'){_0x1457b9[_0x477d('0x669')]({'title':_0x477d('0x1dd9'),'msg':_0x477d('0x1dd8')+_0x34bce5[_0x477d('0x1624')]});}else{_0x1457b9['error']({'title':_0x5cd267[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x5cd267[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x5cd267[_0x477d('0x44d')]:_0x477d('0x1dc8'),'msg':_0x5cd267[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x5cd267[_0x477d('0x451')][_0x477d('0x452')]):_0x5cd267['message']||_0x5cd267[_0x477d('0x453')]()});}});}else{_0x1457b9[_0x477d('0x44a')]({'title':_0x24651d[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x24651d[_0x477d('0x3c3')]+'\x20-\x20'+_0x24651d[_0x477d('0x44d')]:_0x477d('0x1dc8'),'msg':_0x24651d[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x24651d[_0x477d('0x451')][_0x477d('0x452')]):_0x24651d['message']||_0x24651d[_0x477d('0x453')]()});}});}var _0x24e935=!![];var _0xf50d35=0x1;_0x744bdb[_0x477d('0x4b5')](_0x477d('0x12f3'),function(_0x1e63c1,_0x388961){if(_0x24e935){_0x444da8(function(){_0x24e935=![];});}else{if(!_0x388961){_0xf50d35=_0x41d88b[_0x477d('0x3ef')]['page'];}if(_0x1e63c1!==_0x388961){_0x41d88b[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0x1e63c1){_0x41d88b[_0x477d('0x3ef')]['page']=_0xf50d35;}_0x2ba151();}});}}());(function(){'use strict';_0x47fe9d['$inject']=[_0x477d('0x385'),_0x477d('0x474'),_0x477d('0x3c4'),'$q',_0x477d('0x40d'),_0x477d('0x3fe'),_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x40e'),_0x477d('0x386'),_0x477d('0x55')];angular[_0x477d('0xb')]('app.motiondialer')['controller']('IvrCampaignHopperHistoriesController',_0x47fe9d);function _0x47fe9d(_0x24b8e2,_0x5f3566,_0x25986f,_0x440cc8,_0x4396bf,_0x5307ca,_0x288d5d,_0x324968,_0x21ecac,_0x5bf459,_0x29dcf7){var _0x46479d=this;_0x46479d[_0x477d('0x3e5')]=_0x29dcf7[_0x477d('0x5c')]();_0x46479d[_0x477d('0x1d8a')]={};_0x46479d['ivrCampaignHopperHistories']={'count':0x0,'rows':[]};_0x46479d[_0x477d('0x1dda')]=[];_0x46479d['crudPermissions'];_0x46479d[_0x477d('0x3ef')]={'fields':_0x477d('0x1ddb'),'sort':_0x477d('0x149f'),'limit':0xa,'page':0x1};_0x46479d['init']=_0x261e77;_0x46479d[_0x477d('0xe66')]=_0x26ba43;_0x46479d[_0x477d('0x485')]=_0x3fbe71;_0x46479d[_0x477d('0x1ddc')]=_0x5880c0;_0x46479d['createOrEditIvrCampaignHopperHistory']=_0x4418b2;_0x46479d[_0x477d('0x1ddd')]=_0x2bd9f1;_0x46479d[_0x477d('0x1dde')]=_0x22bbf1;_0x46479d['deleteSelectedIvrCampaignHopperHistories']=_0x47cf19;function _0x261e77(_0x4aa09a,_0x23b8c3){_0x46479d[_0x477d('0x1d8a')]=_0x4aa09a;_0x46479d[_0x477d('0xd66')]=typeof _0x23b8c3!=='undefined'?_0x23b8c3:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x46479d[_0x477d('0x3ef')][_0x477d('0x1dbe')]=_0x46479d[_0x477d('0x1d8a')]['id'];_0x46479d[_0x477d('0x3ef')]['id']=_0x46479d['ivrCampaign']['id'];_0x5880c0();}function _0x26ba43(_0x4412c0,_0x5e4733){var _0x288e59=_0x288d5d[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x1ddf'))['htmlContent'](_0x477d('0xd93')+(_0x4412c0['name']||_0x4412c0['id']&&_[_0x477d('0x1367')](_0x477d('0x1de0'))+_0x4412c0['id']||_0x477d('0x1de1'))+_0x477d('0xd94')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x1de2'))[_0x477d('0xd7c')](_0x5e4733)['ok']('OK')['cancel'](_0x477d('0xd97'));_0x288d5d[_0x477d('0x395')](_0x288e59)[_0x477d('0x76')](function(){_0x22bbf1(_0x4412c0);},function(){console[_0x477d('0x7b')]('CANCEL');});}function _0x3fbe71(_0x4ca468){_0x46479d[_0x477d('0x1de3')]=_0x4ca468||{'count':0x0,'rows':[]};}function _0x5880c0(){_0x46479d['query']['offset']=(_0x46479d[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x46479d['query'][_0x477d('0x91d')];_0x46479d[_0x477d('0x553')]=_0x5bf459[_0x477d('0xca8')]['getHopperHistories'](_0x46479d[_0x477d('0x3ef')],_0x3fbe71)[_0x477d('0x38b')];}function _0x4418b2(_0x2d4347,_0x32e3dd){_0x288d5d[_0x477d('0x395')]({'controller':_0x477d('0x1de4'),'controllerAs':'vm','templateUrl':'app/main/apps/motiondialer/views/ivrCampaigns/edit/hopperHistories/dialog.html','parent':angular[_0x477d('0x398')](_0x324968['body']),'targetEvent':_0x2d4347,'clickOutsideToClose':!![],'locals':{'ivrCampaign':_0x46479d[_0x477d('0x1d8a')],'hopperHistory':_0x32e3dd,'hopperHistories':_0x46479d[_0x477d('0x1de3')][_0x477d('0xf2')],'license':null,'setting':null,'crudPermissions':_0x46479d[_0x477d('0xd66')]}});}function _0x22bbf1(_0x5c08a1){_0x5bf459[_0x477d('0x1de1')][_0x477d('0xa55')]({'id':_0x5c08a1['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x46479d[_0x477d('0x1de3')][_0x477d('0xf2')],{'id':_0x5c08a1['id']});_0x46479d[_0x477d('0x1de3')][_0x477d('0x3bb')]-=0x1;if(!_0x46479d['ivrCampaignHopperHistories']['rows'][_0x477d('0x79')]){_0x5880c0();}_0x21ecac[_0x477d('0x485')]({'title':_0x477d('0x1de5'),'msg':_0x5c08a1[_0x477d('0x94')]?_0x5c08a1[_0x477d('0x94')]+_0x477d('0xd7e'):''});})['catch'](function(_0x37332b){if(_0x37332b[_0x477d('0x451')]&&_0x37332b[_0x477d('0x451')]['errors']&&_0x37332b['data'][_0x477d('0xd67')][_0x477d('0x79')]){vm[_0x477d('0xd67')]=_0x37332b[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x37332b['toString'](),'type':_0x477d('0x1db3')}];for(var _0x41f492=0x0;_0x41f492<_0x37332b[_0x477d('0x451')]['errors'][_0x477d('0x79')];_0x41f492++){_0x21ecac['error']({'title':_0x37332b[_0x477d('0x451')][_0x477d('0xd67')][_0x41f492]['type'],'msg':_0x37332b[_0x477d('0x451')][_0x477d('0xd67')][_0x41f492][_0x477d('0x452')]});}}else{_0x21ecac[_0x477d('0x44a')]({'title':_0x37332b[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x37332b[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x37332b[_0x477d('0x44d')]:_0x477d('0x1db3'),'msg':_0x37332b[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x37332b[_0x477d('0x451')]['message']):_0x37332b[_0x477d('0x452')]||_0x37332b[_0x477d('0x453')]()});}});}function _0x2bd9f1(){var _0x3f7d0f=angular[_0x477d('0x6d9')](_0x46479d[_0x477d('0x1dda')]);_0x46479d['selectedIvrCampaignHopperHistories']=[];return _0x3f7d0f;}function _0x47cf19(_0x26aac4){var _0xc9b328=_0x288d5d['confirm']()[_0x477d('0x49a')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20hopperHistories?')[_0x477d('0xd92')](_0x477d('0xd93')+_0x46479d[_0x477d('0x1dda')][_0x477d('0x79')]+'\x20selected
'+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x1de6'))[_0x477d('0xd7c')](_0x26aac4)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x288d5d[_0x477d('0x395')](_0xc9b328)[_0x477d('0x76')](function(){_0x46479d[_0x477d('0x1dda')]['forEach'](function(_0x532aa3){_0x22bbf1(_0x532aa3);});_0x46479d[_0x477d('0x1dda')]=[];});}var _0x4c3155=!![];var _0x352b75=0x1;_0x5f3566[_0x477d('0x4b5')](_0x477d('0x12f3'),function(_0x57e5b2,_0x4c081a){if(_0x4c3155){_0x5307ca(function(){_0x4c3155=![];});}else{if(!_0x4c081a){_0x352b75=_0x46479d['query'][_0x477d('0xe03')];}if(_0x57e5b2!==_0x4c081a){_0x46479d[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0x57e5b2){_0x46479d[_0x477d('0x3ef')][_0x477d('0xe03')]=_0x352b75;}_0x5880c0();}});}}());(function(){'use strict';_0x3677d7['$inject']=['$cookies',_0x477d('0x474'),'$state','$q','$translate','$timeout',_0x477d('0x384'),'$document',_0x477d('0x40e'),_0x477d('0x386'),'Auth'];angular['module']('app.motiondialer')[_0x477d('0x3ba')](_0x477d('0x1de7'),_0x3677d7);function _0x3677d7(_0x3fbf1b,_0x314fa0,_0x2500e5,_0x4ea904,_0x392929,_0x4787a1,_0x160d6a,_0x25f0bc,_0x50bbea,_0x34a9b6,_0x216807){var _0x218136=this;_0x218136[_0x477d('0x3e5')]=_0x216807[_0x477d('0x5c')]();_0x218136['ivrCampaign']={};_0x218136[_0x477d('0x1de8')]={'count':0x0,'rows':[]};_0x218136[_0x477d('0x1de9')]=[];_0x218136[_0x477d('0xd66')];_0x218136[_0x477d('0x3ef')]={'fields':_0x477d('0x1dea'),'sort':_0x477d('0x59'),'limit':0xa,'page':0x1};_0x218136[_0x477d('0x1497')]=_[_0x477d('0xdb5')]([{'option':_0x477d('0xf81'),'value':'\x274\x27'},{'option':'High','value':_0x477d('0x149a')},{'option':_0x477d('0xf82'),'value':'\x272\x27'},{'option':_0x477d('0x17aa'),'value':'\x271\x27'},{'option':_0x477d('0xf83'),'value':'\x270\x27'}],function(_0x1d4ff1){return _[_0x477d('0x409')](_0x1d4ff1[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x218136['init']=_0xbe1f16;_0x218136[_0x477d('0xe66')]=_0x57eee0;_0x218136[_0x477d('0x485')]=_0xd31472;_0x218136[_0x477d('0x1deb')]=_0x28e4a8;_0x218136[_0x477d('0x14ac')]=_0x1be1bd;_0x218136[_0x477d('0x1dec')]=_0x5e3ded;_0x218136[_0x477d('0x1ded')]=_0xc55f46;_0x218136[_0x477d('0x1dee')]=_0x4bb604;_0x216807[_0x477d('0x56')]('admin')?_0x34a9b6[_0x477d('0x380')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'role':_0x477d('0xcf'),'sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')]['then'](function(_0x12bf82){_0x218136[_0x477d('0x125c')]=_0x12bf82[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x583ca0){_0x50bbea[_0x477d('0x44a')]({'title':_0x583ca0['status']?_0x477d('0x44b')+_0x583ca0[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x583ca0[_0x477d('0x44d')]:_0x477d('0x11f6'),'msg':_0x583ca0[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x583ca0['data']):_0x583ca0[_0x477d('0x453')]()});}):_0x34a9b6[_0x477d('0x380')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'role':_0x477d('0xcf'),'sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x27dfa7){_0x218136['agents']=_0x27dfa7['rows']||[];})[_0x477d('0x76')](function(){return _0x34a9b6[_0x477d('0x3ac')]['get']({'userProfileId':_0x218136[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0xca})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x2524e4){var _0x20af0b=_0x2524e4&&_0x2524e4[_0x477d('0xf2')]?_0x2524e4[_0x477d('0xf2')][0x0]:null;if(!_0x20af0b){_0x218136['agents']=[];}else{if(!_0x20af0b[_0x477d('0x3ad')]){return _0x34a9b6['userProfileResource'][_0x477d('0x376')]({'sectionId':_0x20af0b['id']})['$promise'][_0x477d('0x76')](function(_0x3cc152){var _0x1e0aec=_[_0x477d('0x3cb')](_0x3cc152['rows'],function(_0x317d92){return _[_0x477d('0x10a')](_0x218136[_0x477d('0x125c')],{'id':_0x317d92[_0x477d('0x3af')]});});_0x218136[_0x477d('0x125c')]['forEach'](function(_0x391e59){if(!_[_0x477d('0x3ab')](_0x1e0aec,['id',_0x391e59['id']])){_0x391e59[_0x477d('0xf8b')]=![];}_0x1e0aec[_0x477d('0x3a7')](_0x391e59);});_0x218136[_0x477d('0x125c')]=_0x1e0aec;});}}})[_0x477d('0xf8')](function(_0x5f3e37){_0x50bbea[_0x477d('0x44a')]({'title':_0x5f3e37[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x5f3e37[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x5f3e37[_0x477d('0x44d')]:_0x477d('0x12b4'),'msg':_0x5f3e37[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x5f3e37[_0x477d('0x451')]):_0x5f3e37[_0x477d('0x453')]()});});function _0xbe1f16(_0x349124,_0x429f88){_0x218136[_0x477d('0x1d8a')]=_0x349124;_0x218136[_0x477d('0xd66')]=typeof _0x429f88!==_0x477d('0x4a4')?_0x429f88:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x218136['query'][_0x477d('0x1dbe')]=_0x218136[_0x477d('0x1d8a')]['id'];_0x218136[_0x477d('0x3ef')]['id']=_0x218136[_0x477d('0x1d8a')]['id'];_0x28e4a8();}function _0x57eee0(_0x254ee3,_0x2a0763){var _0x29618e=_0x160d6a[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x1def'))['htmlContent'](_0x477d('0xd93')+(_0x254ee3[_0x477d('0x94')]||_0x254ee3['id']&&_[_0x477d('0x1367')]('hopper\x20#')+_0x254ee3['id']||_0x477d('0x1485'))+_0x477d('0xd94')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x14c2'))[_0x477d('0xd7c')](_0x2a0763)['ok']('OK')['cancel'](_0x477d('0xd97'));_0x160d6a[_0x477d('0x395')](_0x29618e)[_0x477d('0x76')](function(){_0xc55f46(_0x254ee3);},function(){console[_0x477d('0x7b')](_0x477d('0xd97'));});}function _0xd31472(_0x4b48f4){_0x218136[_0x477d('0x1de8')]=_0x4b48f4||{'count':0x0,'rows':[]};}function _0x28e4a8(){_0x218136[_0x477d('0x3ef')]['offset']=(_0x218136[_0x477d('0x3ef')]['page']-0x1)*_0x218136['query'][_0x477d('0x91d')];_0x218136[_0x477d('0x553')]=_0x34a9b6[_0x477d('0xca8')]['getHoppers'](_0x218136['query'],_0xd31472)[_0x477d('0x38b')];}function _0x1be1bd(_0x3a2d42,_0x571b22){_0x160d6a[_0x477d('0x395')]({'controller':'CreateOrEditHopperCampaignIdDialogController','controllerAs':'vm','templateUrl':_0x477d('0x14c0'),'parent':angular['element'](_0x25f0bc[_0x477d('0x399')]),'targetEvent':_0x3a2d42,'clickOutsideToClose':!![],'locals':{'ivrCampaign':_0x218136[_0x477d('0x1d8a')],'hopper':_0x571b22,'hoppers':_0x218136['ivrCampaignHoppers'][_0x477d('0xf2')],'license':null,'setting':null,'crudPermissions':_0x218136['crudPermissions']}});}function _0xc55f46(_0x5e0c64){_0x34a9b6[_0x477d('0xb79')][_0x477d('0xa55')]({'id':_0x5e0c64['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x218136[_0x477d('0x1de8')][_0x477d('0xf2')],{'id':_0x5e0c64['id']});_0x218136['ivrCampaignHoppers'][_0x477d('0x3bb')]-=0x1;if(!_0x218136[_0x477d('0x1de8')]['rows'][_0x477d('0x79')]){_0x28e4a8();}_0x50bbea[_0x477d('0x485')]({'title':_0x477d('0x14c3'),'msg':_0x5e0c64[_0x477d('0x94')]?_0x5e0c64[_0x477d('0x94')]+_0x477d('0xd7e'):''});})[_0x477d('0xf8')](function(_0x4b58a8){if(_0x4b58a8[_0x477d('0x451')]&&_0x4b58a8[_0x477d('0x451')][_0x477d('0xd67')]&&_0x4b58a8[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){vm[_0x477d('0xd67')]=_0x4b58a8[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x4b58a8['toString'](),'type':_0x477d('0x1db3')}];for(var _0x45d26a=0x0;_0x45d26a<_0x4b58a8[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x45d26a++){_0x50bbea[_0x477d('0x44a')]({'title':_0x4b58a8[_0x477d('0x451')][_0x477d('0xd67')][_0x45d26a][_0x477d('0x439')],'msg':_0x4b58a8[_0x477d('0x451')][_0x477d('0xd67')][_0x45d26a][_0x477d('0x452')]});}}else{_0x50bbea['error']({'title':_0x4b58a8[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x4b58a8[_0x477d('0x3c3')]+'\x20-\x20'+_0x4b58a8[_0x477d('0x44d')]:_0x477d('0x1db3'),'msg':_0x4b58a8[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x4b58a8['data']['message']):_0x4b58a8[_0x477d('0x452')]||_0x4b58a8[_0x477d('0x453')]()});}});}function _0x5e3ded(){var _0x46f110=angular['copy'](_0x218136[_0x477d('0x1de9')]);_0x218136[_0x477d('0x1de9')]=[];return _0x46f110;}function _0x4bb604(_0xe9a517){var _0x5ba1d8=_0x160d6a['confirm']()[_0x477d('0x49a')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20hoppers?')[_0x477d('0xd92')](''+_0x218136[_0x477d('0x1de9')]['length']+_0x477d('0xda0')+'\x20will\x20be\x20deleted.')['ariaLabel']('delete\x20hoppers')[_0x477d('0xd7c')](_0xe9a517)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x160d6a[_0x477d('0x395')](_0x5ba1d8)[_0x477d('0x76')](function(){_0x218136[_0x477d('0x1de9')][_0x477d('0x3b1')](function(_0x4006ed){_0xc55f46(_0x4006ed);});_0x218136[_0x477d('0x1de9')]=[];});}var _0x33f878=!![];var _0x4fe97c=0x1;_0x314fa0[_0x477d('0x4b5')]('vm_dc.query.filter',function(_0xfc3fbc,_0x89e99d){if(_0x33f878){_0x4787a1(function(){_0x33f878=![];});}else{if(!_0x89e99d){_0x4fe97c=_0x218136[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0xfc3fbc!==_0x89e99d){_0x218136[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0xfc3fbc){_0x218136[_0x477d('0x3ef')][_0x477d('0xe03')]=_0x4fe97c;}_0x28e4a8();}});}}());(function(){'use strict';_0x387ac4[_0x477d('0xa')]=['$scope',_0x477d('0x3c4'),'$location',_0x477d('0x384'),'$q',_0x477d('0x40d'),_0x477d('0x40e'),_0x477d('0x148a'),_0x477d('0x1485'),_0x477d('0x386'),'Auth',_0x477d('0x613'),'setting',_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x3a'))[_0x477d('0x3ba')](_0x477d('0x14bf'),_0x387ac4);function _0x387ac4(_0x2f1156,_0x58348b,_0x5e8767,_0x55b228,_0x5793fa,_0x2a1234,_0x459771,_0xa78c0e,_0x34a900,_0x59fce7,_0x4bc70e,_0x1cf232,_0x5aa345,_0x4da513){var _0xd49baa=this;_0xd49baa[_0x477d('0x3e5')]=_0x4bc70e[_0x477d('0x5c')]();_0xd49baa['errors']=[];_0xd49baa[_0x477d('0xc8e')]=_0x5aa345;_0xd49baa[_0x477d('0x613')]=_0x1cf232;_0xd49baa[_0x477d('0xd66')]=_0x4da513;_0xd49baa[_0x477d('0xd68')]={};_0xd49baa['passwordPattern']=_0xd49baa['setting']&&_0xd49baa[_0x477d('0xc8e')][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0xd49baa[_0x477d('0x49a')]='MOTIONDIALER.EDIT_HOPPER';_0xd49baa[_0x477d('0x1485')]=angular[_0x477d('0x6d9')](_0x34a900);_0xd49baa['hoppers']=_0xa78c0e;_0xd49baa[_0x477d('0x1488')]=![];if(!_0xd49baa[_0x477d('0x1485')]){_0xd49baa[_0x477d('0x1485')]={};_0xd49baa[_0x477d('0x49a')]=_0x477d('0x1df0');_0xd49baa['newHopper']=!![];}if(_0x58348b['params']['id']){_0xd49baa[_0x477d('0x1485')]['CampaignId']=_0x58348b[_0x477d('0x37e')]['id'];}_0xd49baa[_0x477d('0x1df1')]=_0x2d096d;_0xd49baa[_0x477d('0x1489')]=_0x5b9b25;_0xd49baa[_0x477d('0x1df2')]=_0xca2347;_0xd49baa[_0x477d('0xd6f')]=_0x461144;_0xd49baa[_0x477d('0x6bf')]=_0x20649f;_0x4bc70e['hasRole']('admin')?_0x59fce7[_0x477d('0x380')]['get']({'fields':_0x477d('0x9c'),'role':'agent','sort':'name','nolimit':'true'})['$promise'][_0x477d('0x76')](function(_0x582c59){_0xd49baa[_0x477d('0x125c')]=_0x582c59['rows']||[];})[_0x477d('0xf8')](function(_0x3d9635){_0x459771['error']({'title':_0x3d9635['status']?_0x477d('0x44b')+_0x3d9635[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x3d9635[_0x477d('0x44d')]:_0x477d('0x11f6'),'msg':_0x3d9635[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x3d9635[_0x477d('0x451')]):_0x3d9635[_0x477d('0x453')]()});}):_0x59fce7[_0x477d('0x380')][_0x477d('0x376')]({'fields':'id,name','role':_0x477d('0xcf'),'sort':'name','nolimit':'true'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x25e8ad){_0xd49baa[_0x477d('0x125c')]=_0x25e8ad[_0x477d('0xf2')]||[];})['then'](function(){return _0x59fce7['userProfileSection'][_0x477d('0x376')]({'userProfileId':_0xd49baa[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0xca})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x557352){var _0x226599=_0x557352&&_0x557352[_0x477d('0xf2')]?_0x557352[_0x477d('0xf2')][0x0]:null;if(!_0x226599){_0xd49baa['agents']=[];}else{if(!_0x226599[_0x477d('0x3ad')]){return _0x59fce7['userProfileResource'][_0x477d('0x376')]({'sectionId':_0x226599['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x1d7918){var _0x4c392e=_['map'](_0x1d7918[_0x477d('0xf2')],function(_0x24afb3){return _['find'](_0xd49baa[_0x477d('0x125c')],{'id':_0x24afb3['resourceId']});});_0xd49baa[_0x477d('0x125c')][_0x477d('0x3b1')](function(_0x4fea23){if(!_['some'](_0x4c392e,['id',_0x4fea23['id']])){_0x4fea23[_0x477d('0xf8b')]=![];}_0x4c392e[_0x477d('0x3a7')](_0x4fea23);});_0xd49baa[_0x477d('0x125c')]=_0x4c392e;});}}})[_0x477d('0xf8')](function(_0x4d5013){_0x459771[_0x477d('0x44a')]({'title':_0x4d5013[_0x477d('0x3c3')]?'API:'+_0x4d5013[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x4d5013['statusText']:_0x477d('0x12b4'),'msg':_0x4d5013['data']?JSON['stringify'](_0x4d5013[_0x477d('0x451')]):_0x4d5013[_0x477d('0x453')]()});});function _0x2d096d(){_0xd49baa[_0x477d('0xd67')]=[];_0x59fce7[_0x477d('0xb79')][_0x477d('0xd70')](_0xd49baa[_0x477d('0x1485')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x565b73){_0xd49baa[_0x477d('0x148a')][_0x477d('0x63b')](_0x565b73[_0x477d('0xd71')]());_0x459771[_0x477d('0x485')]({'title':_0x477d('0x1df3'),'msg':_0xd49baa['hopper']['name']?_0xd49baa[_0x477d('0x1485')][_0x477d('0x94')]+_0x477d('0xd73'):''});_0x20649f(_0x565b73);})[_0x477d('0xf8')](function(_0x4f959f){if(_0x4f959f[_0x477d('0x451')]&&_0x4f959f[_0x477d('0x451')]['errors']&&_0x4f959f[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0xd49baa['errors']=_0x4f959f[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x4f959f[_0x477d('0x453')](),'type':'api.cmHopper.save'}];for(var _0xe3ad70=0x0;_0xe3ad70<_0x4f959f[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0xe3ad70+=0x1){_0x459771[_0x477d('0x44a')]({'title':_0x4f959f[_0x477d('0x451')][_0x477d('0xd67')][_0xe3ad70][_0x477d('0x439')],'msg':_0x4f959f[_0x477d('0x451')][_0x477d('0xd67')][_0xe3ad70][_0x477d('0x452')]});}}else{_0x459771[_0x477d('0x44a')]({'title':_0x4f959f['status']?'API:'+_0x4f959f[_0x477d('0x3c3')]+'\x20-\x20'+_0x4f959f[_0x477d('0x44d')]:_0x477d('0x1df4'),'msg':_0x4f959f['data']?JSON[_0x477d('0x3fb')](_0x4f959f[_0x477d('0x451')]['message']):_0x4f959f[_0x477d('0x453')]()});}});}function _0x5b9b25(){_0xd49baa[_0x477d('0xd67')]=[];var _0x555a98;var _0x4af73c;var _0x2ca5aa;var _0x3e8632;_0xd49baa['hopper'][_0x477d('0x125b')]=_0xd49baa[_0x477d('0x1485')][_0x477d('0x163c')]?_0xd49baa[_0x477d('0x1485')]['UserId']:null;_0xd49baa[_0x477d('0x1485')][_0x477d('0x1df5')]=_0x4bc70e[_0x477d('0x5c')]()['id'];_0x59fce7[_0x477d('0xb79')][_0x477d('0x376')]({'id':_0xd49baa[_0x477d('0x1485')]['id'],'attributes':[_0x477d('0x14d1')]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x2b321b){if(_[_0x477d('0x484')](_0x2b321b)||_[_0x477d('0x3b2')](_0x2b321b)){_0x555a98=moment()[_0x477d('0x12f')](_0x477d('0x38d'));}else{_0x555a98=_0x2b321b[_0x477d('0x14d1')];}})[_0x477d('0x5ff')](function(){_0x59fce7[_0x477d('0xb79')][_0x477d('0x710')]({'id':_0xd49baa[_0x477d('0x1485')]['id']},_['omit'](_0xd49baa[_0x477d('0x1485')],[_0x477d('0x17b0'),'CampaignId',_0x477d('0x1624'),'ListId']))[_0x477d('0x38b')][_0x477d('0x76')](function(_0x523eed){_0x4af73c=_0x523eed;_0x59fce7[_0x477d('0xb6c')][_0x477d('0x376')]({'id':_0x4af73c[_0x477d('0x1624')],'attributes':[_0x477d('0x1357'),_0x477d('0x1358')]})[_0x477d('0x38b')]['then'](function(_0x26138d){if(!_[_0x477d('0x484')](_0x26138d)&&!_[_0x477d('0x484')](_0x26138d[_0x477d('0x1357')])){_0x2ca5aa=_0x26138d['firstName'];if(!_[_0x477d('0x484')](_0x26138d['lastName'])){_0x2ca5aa+='\x20'+_0x26138d[_0x477d('0x1358')];}}})['catch'](function(){_0x2ca5aa=undefined;})['finally'](function(){_0x59fce7[_0x477d('0xca8')]['get']({'raw':![],'id':_0x4af73c[_0x477d('0x1dbe')],'attributes':['name']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x2e6296){_0x3e8632=_0x2e6296[_0x477d('0x94')];})[_0x477d('0xf8')](function(_0x551df8){_0x3e8632=undefined;})[_0x477d('0x5ff')](function(){_0x59fce7[_0x477d('0xe3e')][_0x477d('0xd70')]({'state':0x18,'statedesc':_0x477d('0x1df6'),'scheduledat':_0x555a98,'calleridnum':_0x4af73c[_0x477d('0xf46')],'calleridname':_0x2ca5aa,'campaigntype':_0x4af73c[_0x477d('0x17b0')]?'queue':'ivr','campaign':_0x3e8632,'editedat':moment()['format'](_0x477d('0x38d')),'edited':!![],'ListId':_0x4af73c[_0x477d('0x1229')],'UserId':_0x4bc70e[_0x477d('0x5c')]()['id'],'VoiceQueueId':_0x4af73c[_0x477d('0x17b0')],'CampaignId':_0x4af73c[_0x477d('0x1dbe')],'ContactId':_0x4af73c['ContactId'],'callback':_0x4af73c[_0x477d('0x1df7')],'callbackuniqueid':_0x4af73c[_0x477d('0x1df8')],'countbusyretry':_0x4af73c[_0x477d('0x1dcd')],'countcongestionretry':_0x4af73c[_0x477d('0x1dd0')],'countglobal':_0x4af73c[_0x477d('0x1dcf')],'countnoanswerretry':_0x4af73c['countnoanswerretry'],'followuptime':_0x4af73c[_0x477d('0x1df9')],'recallme':_0x4af73c[_0x477d('0x163c')]});});});var _0x2a9f45=_[_0x477d('0x10a')](_0xd49baa['hoppers'],{'id':_0x523eed['id']});if(_0x2a9f45){_[_0x477d('0xef')](_0x2a9f45,_[_0x477d('0x10b')](_0x523eed[_0x477d('0xd71')](),_[_0x477d('0x7f')](_0x2a9f45)));}_0x459771['success']({'title':_0x477d('0x1dfa'),'msg':_0xd49baa['hopper'][_0x477d('0x94')]?_0xd49baa[_0x477d('0x1485')][_0x477d('0x94')]+_0x477d('0xd76'):''});_0x20649f(_0x523eed);})[_0x477d('0xf8')](function(_0x187f36){if(_0x187f36[_0x477d('0x451')]&&_0x187f36[_0x477d('0x451')][_0x477d('0xd67')]&&_0x187f36[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0xd49baa[_0x477d('0xd67')]=_0x187f36['data'][_0x477d('0xd67')]||[{'message':_0x187f36[_0x477d('0x453')](),'type':'api.cmHopper.update'}];for(var _0x265cb4=0x0;_0x265cb4<_0x187f36[_0x477d('0x451')]['errors'][_0x477d('0x79')];_0x265cb4++){_0x459771[_0x477d('0x44a')]({'title':_0x187f36[_0x477d('0x451')]['errors'][_0x265cb4]['type'],'msg':_0x187f36[_0x477d('0x451')]['errors'][_0x265cb4][_0x477d('0x452')]});}}else{_0x459771[_0x477d('0x44a')]({'title':_0x187f36['status']?_0x477d('0x44b')+_0x187f36[_0x477d('0x3c3')]+'\x20-\x20'+_0x187f36[_0x477d('0x44d')]:'api.cmHopper.update','msg':_0x187f36[_0x477d('0x451')]?JSON['stringify'](_0x187f36[_0x477d('0x451')][_0x477d('0x452')]):_0x187f36[_0x477d('0x453')]()});}});});}function _0xca2347(_0xa196dc){_0xd49baa[_0x477d('0xd67')]=[];var _0x5080ef=_0x55b228[_0x477d('0xd78')]()['title']('Are\x20you\x20sure?')[_0x477d('0xdaf')]('The\x20hopper\x20will\x20be\x20deleted.')['ariaLabel']('Delete\x20Hopper')['ok'](_0x477d('0xd7b'))[_0x477d('0x4f0')](_0x477d('0x688'))['targetEvent'](_0xa196dc);_0x55b228[_0x477d('0x395')](_0x5080ef)[_0x477d('0x76')](function(){_0x59fce7[_0x477d('0xb79')][_0x477d('0xa55')]({'id':_0xd49baa[_0x477d('0x1485')]['id']})[_0x477d('0x38b')]['then'](function(){_[_0x477d('0x39c')](_0xd49baa[_0x477d('0x148a')],{'id':_0xd49baa[_0x477d('0x1485')]['id']});_0x459771[_0x477d('0x485')]({'title':_0x477d('0x148d'),'msg':(_0xd49baa['hopper'][_0x477d('0x94')]||_0x477d('0x1485'))+'\x20has\x20been\x20deleted!'});_0x20649f(_0xd49baa[_0x477d('0x1485')]);})[_0x477d('0xf8')](function(_0x11fcb3){if(_0x11fcb3[_0x477d('0x451')]&&_0x11fcb3[_0x477d('0x451')][_0x477d('0xd67')]&&_0x11fcb3[_0x477d('0x451')][_0x477d('0xd67')]['length']){_0xd49baa[_0x477d('0xd67')]=_0x11fcb3[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x11fcb3[_0x477d('0x453')](),'type':'api.cmHopper.delete'}];for(var _0x3d6540=0x0;_0x3d6540<_0x11fcb3[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x3d6540++){_0x459771[_0x477d('0x44a')]({'title':_0x11fcb3['data'][_0x477d('0xd67')][_0x3d6540][_0x477d('0x439')],'msg':_0x11fcb3[_0x477d('0x451')][_0x477d('0xd67')][_0x3d6540][_0x477d('0x452')]});}}else{_0x459771[_0x477d('0x44a')]({'title':_0x11fcb3[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x11fcb3[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x11fcb3[_0x477d('0x44d')]:_0x477d('0x1dfb'),'msg':_0x11fcb3[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x11fcb3['data'][_0x477d('0x452')]):_0x11fcb3['message']||_0x11fcb3[_0x477d('0x453')]()});}});},function(){});}function _0x461144(_0x11c794){return _0x11c794===null?undefined:new Date(_0x11c794);}function _0x20649f(_0xa08343){_0x55b228[_0x477d('0x3bc')](_0xa08343);}}}());(function(){'use strict';_0x1d21bb[_0x477d('0xa')]=[_0x477d('0x386'),_0x477d('0x40e')];angular[_0x477d('0xb')]('app.motiondialer')[_0x477d('0x3ba')](_0x477d('0x1dfc'),_0x1d21bb);function _0x1d21bb(_0x57561c,_0x18ef76){var _0x466708=this;_0x466708[_0x477d('0x1d8a')]={};_0x466708[_0x477d('0x5ee')]=_0x34e877;function _0x34e877(_0x21dc0b){_0x466708[_0x477d('0x1d8a')]=_0x21dc0b;_0x57561c['cmHopper'][_0x477d('0x376')]({'limit':0x0,'CampaignId':_0x21dc0b['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x43ee74){_0x466708[_0x477d('0x10d')]=_0x43ee74['count']||0x0;return _0x57561c[_0x477d('0xb79')][_0x477d('0x376')]({'limit':0x0,'CampaignId':_0x21dc0b['id'],'active':![],'countbusyretry':0x0,'countcongestionretry':0x0,'countnoanswerretry':0x0})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x563006){_0x466708['fresh']=_0x563006[_0x477d('0x3bb')]||0x0;return _0x57561c[_0x477d('0xb80')][_0x477d('0x376')]({'limit':0x0,'CampaignId':_0x21dc0b['id']})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x330290){_0x466708[_0x477d('0x1351')]=_0x330290[_0x477d('0x3bb')]||0x0;})[_0x477d('0xf8')](function(_0x2e56b7){_0x18ef76['error']({'title':_0x2e56b7[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x2e56b7[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x2e56b7[_0x477d('0x44d')]:_0x477d('0x19e6'),'msg':_0x2e56b7[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x2e56b7['data']):_0x2e56b7[_0x477d('0x453')]()});});}}}());(function(){'use strict';_0x31f2d0['$inject']=[_0x477d('0x384'),'$q','toasty','api',_0x477d('0x1d8a'),'$translate',_0x477d('0x3fe'),_0x477d('0x55'),_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x3a'))['controller'](_0x477d('0x1dfd'),_0x31f2d0);function _0x31f2d0(_0x1c60a0,_0x8f68b3,_0x326abe,_0x471a6b,_0x23d334,_0x43eed8,_0x7509a1,_0x587172,_0x5b755f){var _0x2323d2=this;_0x2323d2[_0x477d('0x3e5')]=_0x587172[_0x477d('0x5c')]();_0x2323d2[_0x477d('0x1d8a')]=_0x23d334;_0x2323d2[_0x477d('0xd66')]=_0x5b755f;_0x2323d2[_0x477d('0x1899')]=_0x477d('0xca8');_0x2323d2[_0x477d('0x1d9e')]=_0x477d('0x1562');_0x2323d2[_0x477d('0x1d9f')]='addLists';_0x2323d2[_0x477d('0x1d98')]=_0x477d('0x1dfe');_0x2323d2['items']=[];_0x2323d2[_0x477d('0x11f7')]=[];_0x2323d2[_0x477d('0x4a7')]=[];_0x2323d2[_0x477d('0x11f2')]=[];_0x2323d2[_0x477d('0x11fd')]=[];_0x2323d2[_0x477d('0x11f5')]=![];_0x2323d2[_0x477d('0x1d9a')]=![];_0x2323d2[_0x477d('0x1185')]={'readOnly':!_0x2323d2[_0x477d('0xd66')][_0x477d('0xedb')],'allowedItems':[],'selectedItems':[],'showSelectAndDeselectAll':![],'orderBy':_0x477d('0x94'),'line1':_0x477d('0x94'),'line2':'','line3':'','labelAll':_0x43eed8[_0x477d('0x45f')](_0x477d('0x1d9b')),'labelSelected':_0x43eed8[_0x477d('0x45f')](_0x477d('0x1d9c')),'transferCallback':function(_0x1e01fa,_0x4205fa){var _0x3247b4=_['xorBy'](_0x2323d2[_0x477d('0x11fd')],_0x2323d2[_0x477d('0x4a7')],'id');_0x2323d2['pendingChanges']=_['isEmpty'](_0x3247b4)?![]:!![];}};_0x2323d2[_0x477d('0x71a')]=_0x47746f;_0x2323d2[_0x477d('0x1dff')]=_0x280cb9;_0x2323d2[_0x477d('0x6bf')]=_0x230abb;function _0x47746f(){return _0x587172[_0x477d('0x56')](_0x477d('0x5f'))?_0xe2f59()[_0x477d('0xf8')](function(_0x48cc68){_0x326abe['error']({'title':_0x48cc68[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x48cc68['status']+_0x477d('0x44c')+_0x48cc68[_0x477d('0x44d')]:_0x477d('0x1d9d'),'msg':_0x48cc68[_0x477d('0x3c3')]?JSON[_0x477d('0x3fb')](_0x48cc68['data']):_0x48cc68[_0x477d('0x453')]()});}):_0x405785()[_0x477d('0x76')](function(_0x5ac5a6){_0x2323d2[_0x477d('0xd99')]=_0x5ac5a6;return _0xe2f59();})[_0x477d('0xf8')](function(_0x2093d5){_0x326abe['error']({'title':_0x2093d5[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x2093d5[_0x477d('0x3c3')]+'\x20-\x20'+_0x2093d5[_0x477d('0x44d')]:_0x477d('0x1d9d'),'msg':_0x2093d5[_0x477d('0x3c3')]?JSON[_0x477d('0x3fb')](_0x2093d5[_0x477d('0x451')]):_0x2093d5[_0x477d('0x453')]()});});}function _0x405785(){return _0x8f68b3(function(_0x340124,_0x2d4fcf){_0x471a6b[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x2323d2[_0x477d('0x3e5')][_0x477d('0x61')],'name':_0x477d('0xa9')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x4c86e8){var _0x292c8c=_0x4c86e8&&_0x4c86e8[_0x477d('0xf2')]?_0x4c86e8[_0x477d('0xf2')][0x0]:null;_0x340124(_0x292c8c);})[_0x477d('0xf8')](function(_0x2e8112){_0x2d4fcf(_0x2e8112);});});}function _0xe2f59(){return _0x8f68b3(function(_0x51e263,_0x2d37b8){return _0x558f04()[_0x477d('0x76')](function(_0x5624a4){_0x2323d2[_0x477d('0x4a6')]=_0x5624a4[_0x477d('0xf2')]?_0x5624a4[_0x477d('0xf2')]:[];if(_0x587172[_0x477d('0x56')](_0x477d('0x5f'))){return _0x5624a4;}else{if(_0x2323d2['section']){return _0x2323d2[_0x477d('0xd99')][_0x477d('0x3ad')]?_0x5624a4:_0x3129d6();}else{return null;}}})[_0x477d('0x76')](function(_0x593309){var _0x5b6e66=_0x593309&&_0x593309['rows']?_0x593309[_0x477d('0xf2')]:[];_0x2323d2[_0x477d('0x11f7')]=_[_0x477d('0x3cb')](_0x5b6e66,function(_0x47349c){return _[_0x477d('0x10a')](_0x2323d2[_0x477d('0x4a6')],{'id':_0x587172[_0x477d('0x56')](_0x477d('0x5f'))||_0x2323d2[_0x477d('0xd99')][_0x477d('0x3ad')]?_0x47349c['id']:_0x47349c[_0x477d('0x3af')]});});_0x2323d2['startingAllowedItems']=angular[_0x477d('0x6d9')](_0x2323d2[_0x477d('0x11f7')]);_0x2323d2[_0x477d('0x4a6')][_0x477d('0x3b1')](function(_0x3cf5fa){var _0x1c0ec2=_['find'](_0x2323d2['allowedItems'],{'id':_0x3cf5fa['id']});if(_0x2323d2['currentUser'][_0x477d('0x3a1')]==='admin'){_0x3cf5fa[_0x477d('0x4a3')]=!![];}else{_0x3cf5fa[_0x477d('0x4a3')]=typeof _0x1c0ec2!==_0x477d('0x4a4')?!![]:![];}});return _0x4cf7d2();})['then'](function(_0x533d9c){var _0x1dc0ba=_0x533d9c&&_0x533d9c[_0x477d('0xf2')]?_0x533d9c[_0x477d('0xf2')]:[];_0x2323d2[_0x477d('0x4a7')]=_[_0x477d('0x3cb')](_0x1dc0ba,function(_0x52c568){return _[_0x477d('0x10a')](_0x2323d2[_0x477d('0x4a6')],{'id':_0x52c568['id']});});_0x2323d2['startingSelectedItems']=angular[_0x477d('0x6d9')](_0x2323d2[_0x477d('0x4a7')]);_0x2323d2[_0x477d('0x1185')]['selectedItems']=_0x2323d2[_0x477d('0x4a7')];_0x2323d2[_0x477d('0x1185')][_0x477d('0x4a6')]=_[_0x477d('0x11f8')](_0x2323d2[_0x477d('0x11f7')],_0x2323d2['dualMultiselectOptions'][_0x477d('0x4a7')],'id');_0x51e263();})['catch'](function(_0x3f5afa){_0x2d37b8(_0x3f5afa);});});}function _0x3129d6(){return _0x8f68b3(function(_0x44d1de,_0x1fb998){return _0x471a6b[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x2323d2['section']['id'],'nolimit':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x1cded9){_0x44d1de(_0x1cded9);})[_0x477d('0xf8')](function(_0x49737d){_0x1fb998(_0x49737d);});});}function _0x4cf7d2(){return _0x8f68b3(function(_0x5e682e,_0x2a0df0){return _0x471a6b[_0x2323d2[_0x477d('0x1899')]][_0x2323d2[_0x477d('0x1d9e')]]({'id':_0x2323d2[_0x477d('0x1d8a')]['id'],'fields':_0x477d('0x9c'),'nolimit':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x15d1a9){_0x5e682e(_0x15d1a9);})['catch'](function(_0x185f94){_0x2a0df0(_0x185f94);});});}function _0x558f04(){return _0x8f68b3(function(_0x2d43d6,_0x2d12c4){return _0x471a6b['cmList'][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'nolimit':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x7adba7){_0x2d43d6(_0x7adba7);})[_0x477d('0xf8')](function(_0xb5c546){_0x2d12c4(_0xb5c546);});});}function _0x5902eb(_0x40e55f){return _0x8f68b3(function(_0x5e518c,_0x367b84){if(_[_0x477d('0x3b2')](_0x40e55f)){_0x5e518c();}else{_0x471a6b[_0x2323d2[_0x477d('0x1899')]][_0x2323d2['addApi']]({'id':_0x2323d2[_0x477d('0x1d8a')]['id'],'ids':_['map'](_0x40e55f,'id')})[_0x477d('0x38b')][_0x477d('0x76')](function(){_0x5e518c();})[_0x477d('0xf8')](function(_0xb2c845){_0x367b84(_0xb2c845);});}});}function _0x4c6b76(_0x64fd07){return _0x8f68b3(function(_0x2fddc6,_0xc00a4b){if(_[_0x477d('0x3b2')](_0x64fd07)){_0x2fddc6();}else{_0x471a6b[_0x2323d2[_0x477d('0x1899')]][_0x2323d2[_0x477d('0x1d98')]]({'id':_0x2323d2[_0x477d('0x1d8a')]['id'],'ids':_[_0x477d('0x3cb')](_0x64fd07,'id')})[_0x477d('0x38b')][_0x477d('0x76')](function(){_0x2fddc6();})[_0x477d('0xf8')](function(_0x59b5fa){_0xc00a4b(_0x59b5fa);});}});}function _0x280cb9(){_0x2323d2[_0x477d('0x1d9a')]=!![];var _0x386ece=_[_0x477d('0x11f8')](_0x2323d2[_0x477d('0x11fd')],_0x2323d2[_0x477d('0x4a7')],'id');var _0x57cccd=_[_0x477d('0x11f8')](_0x2323d2['selectedItems'],_0x2323d2['startingSelectedItems'],'id');return _0x4c6b76(_0x386ece)[_0x477d('0x76')](function(){return _0x5902eb(_0x57cccd);})['then'](function(){_0x2323d2['pendingChanges']=![];_0x2323d2['startingAllowedItems']=angular['copy'](_0x2323d2[_0x477d('0x11f7')]);_0x2323d2[_0x477d('0x11fd')]=angular[_0x477d('0x6d9')](_0x2323d2['selectedItems']);_0x326abe[_0x477d('0x485')]({'title':_0x477d('0x11fe'),'msg':_0x477d('0x1e00')});})[_0x477d('0xf8')](function(_0x1e8a1e){_0x326abe[_0x477d('0x44a')]({'title':_0x1e8a1e['status']?_0x477d('0x44b')+_0x1e8a1e[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x1e8a1e[_0x477d('0x44d')]:'SYSTEM:LISTS_ASSOCIATION','msg':_0x1e8a1e[_0x477d('0x3c3')]?JSON['stringify'](_0x1e8a1e['data']):_0x1e8a1e['toString']()});})[_0x477d('0x5ff')](function(){_0x2323d2['loading']=![];});;}function _0x230abb(){_0x1c60a0[_0x477d('0x3bc')]();}}}());(function(){'use strict';_0x4bf52c[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x384'),_0x477d('0x40e'),_0x477d('0x386'),'ivrCampaign',_0x477d('0x1e01'),_0x477d('0xd15'),'$q'];angular[_0x477d('0xb')](_0x477d('0x3a'))[_0x477d('0x3ba')]('IvrCampaignresetlistController',_0x4bf52c);function _0x4bf52c(_0xae2aaa,_0xb6dffd,_0xa00a38,_0x270818,_0x11b09c,_0x1f7cea,_0x4decda,_0x30608c){var _0x3675d0=this;var _0x360f29=[];_0x3675d0['selected']=[];_0x3675d0['items']=_0x1f7cea?_0x1f7cea:[];_0x3675d0[_0x477d('0x1d9a')]=![];_0x3675d0['closeDialog']=_0x355f89;_0x3675d0[_0x477d('0x1e02')]=_0x2822dc;_0x3675d0['toggle']=_0x339ab7;_0x3675d0[_0x477d('0x1e03')]=_0x10fafb;_0x3675d0[_0x477d('0x1e04')]=_0x19ed88;_0x3675d0[_0x477d('0x1e05')]=_0x274e40;_0x3675d0[_0x477d('0x1e06')]=_0x2e7fbe;function _0x339ab7(_0x586466,_0x41cb20){var _0x264560=_0x41cb20[_0x477d('0x477')](_0x586466);if(_0x264560>-0x1){_0x41cb20[_0x477d('0x45b')](_0x264560,0x1);}else{_0x41cb20[_0x477d('0x3a7')](_0x586466);}}function _0x2822dc(_0x534a28,_0x5d5d35){return _0x5d5d35[_0x477d('0x477')](_0x534a28)>-0x1;}function _0x10fafb(){return _0x3675d0[_0x477d('0x1e07')][_0x477d('0x79')]!==0x0&&_0x3675d0['selected'][_0x477d('0x79')]!==_0x3675d0[_0x477d('0x4a6')][_0x477d('0x79')];}function _0x19ed88(){return _0x3675d0[_0x477d('0x1e07')][_0x477d('0x79')]===_0x3675d0['items'][_0x477d('0x79')];}function _0x274e40(){if(_0x3675d0[_0x477d('0x1e07')][_0x477d('0x79')]===_0x3675d0[_0x477d('0x4a6')][_0x477d('0x79')]){_0x3675d0[_0x477d('0x1e07')]=[];}else if(_0x3675d0[_0x477d('0x1e07')]['length']===0x0||_0x3675d0['selected'][_0x477d('0x79')]>0x0){_0x3675d0[_0x477d('0x1e07')]=_0x3675d0[_0x477d('0x4a6')][_0x477d('0x9cd')](0x0);}}function _0x355f89(){_0xb6dffd[_0x477d('0x3bc')]();}function _0x2e7fbe(){_0x3675d0[_0x477d('0x1d9a')]=!![];var _0x324cc0=_0x286138();_0x324cc0[_0x477d('0x5ff')](function(){_0x3675d0[_0x477d('0x1d9a')]=![];_0x355f89();});}function _0x286138(){return _0x30608c(function(_0x3ec756,_0xa55c89){for(var _0x1ccb3f=0x0;_0x1ccb3f<_0x3675d0['selected'][_0x477d('0x79')];_0x1ccb3f+=0x1){_0x2f611b(_0x11b09c['id'],_0x3675d0[_0x477d('0x1e07')][_0x1ccb3f]);}_0x3c8ca3(_0x3ec756);});}function _0x2f611b(_0x4522b9,_0x3ea393){var _0x33282d=_0x3ea393['id'];_0x4decda[_0x477d('0x1e08')](function(){return _0x270818[_0x477d('0xca8')][_0x477d('0x1dfe')]({'id':_0x4522b9,'ids':_0x33282d})[_0x477d('0x38b')][_0x477d('0x76')](function(){return _0x270818['campaign'][_0x477d('0x1e09')]({'id':_0x4522b9,'ids':_0x33282d,'dialCheckDuplicateType':_0x477d('0x1e0a')})['$promise'];})[_0x477d('0x76')](function(){_0xa00a38[_0x477d('0x485')]({'title':_0x477d('0x1e0b'),'msg':_0x477d('0x1e0c')+_0x3ea393[_0x477d('0x94')]+_0x477d('0x1e0d')});})[_0x477d('0xf8')](function(_0x442d9c){_0xa00a38[_0x477d('0x44a')]({'title':_0x442d9c['status']?_0x477d('0x44b')+_0x442d9c[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x442d9c[_0x477d('0x44d')]:'SYSTEM:queueCampaign.RESETLIST','msg':_0x442d9c[_0x477d('0x3c3')]?JSON['stringify'](_0x442d9c[_0x477d('0x451')]):_0x442d9c[_0x477d('0x453')]()});});});}function _0x3c8ca3(_0x1ba9f5){_0x4decda['enqueue'](function(){return _0x1ba9f5();});}}}());(function(){'use strict';_0xec9b9b[_0x477d('0xa')]=[_0x477d('0x3c4'),'$location','$mdDialog',_0x477d('0x475'),_0x477d('0x40d'),_0x477d('0x613'),_0x477d('0xc8e'),_0x477d('0x386'),_0x477d('0x40e'),_0x477d('0x55'),'ivrCampaign','userProfileSection'];angular[_0x477d('0xb')](_0x477d('0x3a'))[_0x477d('0x3ba')]('IvrCampaignController',_0xec9b9b);function _0xec9b9b(_0x19dd99,_0x5c9576,_0x55d110,_0x4e9335,_0x3769df,_0x626115,_0x34a4e8,_0x134a75,_0x3de330,_0x1987f6,_0x43513c,_0x48cce2){var _0x5deb21=this;_0x5deb21[_0x477d('0x3e5')]=_0x1987f6[_0x477d('0x5c')]();_0x5deb21[_0x477d('0x613')]=_0x626115;_0x5deb21[_0x477d('0xc8e')]=_0x34a4e8;_0x5deb21[_0x477d('0xd69')]=_0x5deb21[_0x477d('0xc8e')][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x5deb21['location']=_0x5c9576[_0x477d('0x3ce')]()+'://'+_0x5c9576[_0x477d('0x3c9')]();_0x5deb21[_0x477d('0x1d8a')]=_0x43513c||_0x19dd99[_0x477d('0x37e')][_0x477d('0x1d8a')]||{};_0x5deb21[_0x477d('0x3ac')]=_0x48cce2&&_0x48cce2[_0x477d('0x3bb')]==0x1?_0x48cce2['rows'][0x0]:null;_0x5deb21[_0x477d('0xd66')]=_0x1987f6[_0x477d('0xd81')](_0x5deb21['userProfileSection']?_0x5deb21[_0x477d('0x3ac')]['crudPermissions']:null);_0x5deb21['hasModulePermissions']={};_0x5deb21[_0x477d('0xe95')]=_0x19dd99[_0x477d('0x37e')][_0x477d('0xe96')]||0x0;_0x5deb21['clonedialog']=_0x294da0;_0x5deb21[_0x477d('0x1e0e')]=_0x12579d;_0x5deb21[_0x477d('0x1e0f')]=_0x158b99;_0x5deb21[_0x477d('0x1e10')]=_0xa1cb1f;_0x5deb21['gotogoto']=_0x3d8fb5;_0x5deb21[_0x477d('0x120a')]=_0x3de330[_0x477d('0x669')];_0x5deb21[_0x477d('0x1e11')]=_0x4d8ca3;_0x5deb21[_0x477d('0x1d8c')]=_0x49ef33;_0x1987f6[_0x477d('0x56')](_0x477d('0x5f'))?_0x134a75['trunk'][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94')})['$promise'][_0x477d('0x76')](function(_0x4ef795){_0x5deb21[_0x477d('0xf2e')]=_0x4ef795[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x5c08b2){_0x3de330[_0x477d('0x44a')]({'title':_0x5c08b2['status']?'API:'+_0x5c08b2['status']+_0x477d('0x44c')+_0x5c08b2[_0x477d('0x44d')]:'SYSTEM:GET_TRUNKS','msg':_0x5c08b2[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x5c08b2[_0x477d('0x451')]):_0x5c08b2['toString']()});}):_0x134a75['trunk'][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':'name'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x3703b8){_0x5deb21[_0x477d('0xf2e')]=_0x3703b8[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x134a75['userProfileSection'][_0x477d('0x376')]({'userProfileId':_0x5deb21[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x3f3})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x4ec567){var _0x11f93b=_0x4ec567&&_0x4ec567[_0x477d('0xf2')]?_0x4ec567[_0x477d('0xf2')][0x0]:null;if(!_0x11f93b){_0x5deb21[_0x477d('0xf2e')]=[];}else{if(!_0x11f93b[_0x477d('0x3ad')]){return _0x134a75['userProfileResource'][_0x477d('0x376')]({'sectionId':_0x11f93b['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x38b4b2){var _0x3652fd=_[_0x477d('0x3cb')](_0x38b4b2[_0x477d('0xf2')],function(_0x3c928d){return _[_0x477d('0x10a')](_0x5deb21['trunks'],{'id':_0x3c928d[_0x477d('0x3af')]});});_0x5deb21[_0x477d('0xf2e')][_0x477d('0x3b1')](function(_0x42f677){if(!_[_0x477d('0x3ab')](_0x3652fd,['id',_0x42f677['id']])){_0x42f677[_0x477d('0xf8b')]=![];}_0x3652fd[_0x477d('0x3a7')](_0x42f677);});_0x5deb21['trunks']=_0x3652fd;});}}})[_0x477d('0xf8')](function(_0x42492f){_0x3de330[_0x477d('0x44a')]({'title':_0x42492f[_0x477d('0x3c3')]?'API:'+_0x42492f[_0x477d('0x3c3')]+'\x20-\x20'+_0x42492f[_0x477d('0x44d')]:_0x477d('0x190b'),'msg':_0x42492f[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x42492f[_0x477d('0x451')]):_0x42492f['toString']()});});_0x1987f6[_0x477d('0x56')](_0x477d('0x5f'))?_0x134a75['squareProject']['get']({'fields':'id,name','sort':_0x477d('0x94')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x105a20){_0x5deb21['projects']=_0x105a20[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x54fd29){_0x3de330[_0x477d('0x44a')]({'title':_0x54fd29[_0x477d('0x3c3')]?'API:'+_0x54fd29[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x54fd29[_0x477d('0x44d')]:_0x477d('0x1d8e'),'msg':_0x54fd29[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x54fd29['data']):_0x54fd29[_0x477d('0x453')]()});}):_0x134a75[_0x477d('0xc99')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0xaa4c10){_0x5deb21[_0x477d('0xf12')]=_0xaa4c10[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x134a75[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x5deb21[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x44f})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x52ca50){var _0x540a82=_0x52ca50&&_0x52ca50[_0x477d('0xf2')]?_0x52ca50[_0x477d('0xf2')][0x0]:null;if(!_0x540a82){var _0x346269=[];var _0x4f0571=null;if(_0x5deb21[_0x477d('0x1d8a')]){_0x4f0571=_[_0x477d('0x10a')](_0x5deb21['projects'],{'id':Number(_0x5deb21[_0x477d('0x1d8a')][_0x477d('0x1d8f')])});}for(var _0x21786a=0x0;_0x21786a<_0x5deb21[_0x477d('0xf12')][_0x477d('0x79')];_0x21786a++){if(_0x4f0571&&_0x5deb21[_0x477d('0xf12')][_0x21786a]['id']===_0x4f0571['id']){_0x5deb21[_0x477d('0xf12')][_0x21786a][_0x477d('0xf8b')]=![];_0x346269['push'](_0x5deb21['projects'][_0x21786a]);}}_0x5deb21[_0x477d('0xf12')]=_0x346269;}else{if(!_0x540a82[_0x477d('0x3ad')]){return _0x134a75[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x540a82['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x1e575d){var _0x45db91=_[_0x477d('0x3cb')](_0x1e575d['rows'],function(_0x534cb8){return _[_0x477d('0x10a')](_0x5deb21[_0x477d('0xf12')],{'id':_0x534cb8[_0x477d('0x3af')]});});var _0x15b19f=null;if(_0x5deb21[_0x477d('0x1d8a')]){_0x15b19f=_[_0x477d('0x10a')](_0x5deb21['projects'],{'id':Number(_0x5deb21['ivrCampaign'][_0x477d('0x1d8f')])});}if(_0x15b19f&&!_[_0x477d('0x3ab')](_0x45db91,['id',_0x15b19f['id']])){var _0x27e2b9=_['find'](_0x5deb21[_0x477d('0xf12')],{'id':_0x15b19f['id']});_0x27e2b9[_0x477d('0xf8b')]=![];_0x45db91['push'](_0x27e2b9);}_0x5deb21[_0x477d('0xf12')]=_0x45db91;});}}})[_0x477d('0xf8')](function(_0xea60c7){_0x3de330['error']({'title':_0xea60c7[_0x477d('0x3c3')]?_0x477d('0x44b')+_0xea60c7[_0x477d('0x3c3')]+_0x477d('0x44c')+_0xea60c7[_0x477d('0x44d')]:_0x477d('0x1d90'),'msg':_0xea60c7[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0xea60c7['data']):_0xea60c7[_0x477d('0x453')]()});});_0x1987f6['hasRole'](_0x477d('0x5f'))?_0x134a75[_0x477d('0x79c')]['get']({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'IntervalId':_0x477d('0xea')})[_0x477d('0x38b')]['then'](function(_0x5d79d2){_0x5deb21['interval']=_0x5d79d2[_0x477d('0xf2')]||[];})['catch'](function(_0x5f44e6){_0x3de330[_0x477d('0x44a')]({'title':_0x5f44e6[_0x477d('0x3c3')]?'API:'+_0x5f44e6[_0x477d('0x3c3')]+'\x20-\x20'+_0x5f44e6[_0x477d('0x44d')]:_0x477d('0x122b'),'msg':_0x5f44e6['data']?JSON[_0x477d('0x3fb')](_0x5f44e6[_0x477d('0x451')]):_0x5f44e6['toString']()});}):_0x134a75['interval']['get']({'fields':'id,name','sort':'name','IntervalId':_0x477d('0xea')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x3d490d){_0x5deb21[_0x477d('0x79c')]=_0x3d490d[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x134a75['userProfileSection'][_0x477d('0x376')]({'userProfileId':_0x5deb21['currentUser'][_0x477d('0x61')],'sectionId':0x3ec})['$promise'];})[_0x477d('0x76')](function(_0x305a7f){var _0x5f46d6=_0x305a7f&&_0x305a7f[_0x477d('0xf2')]?_0x305a7f['rows'][0x0]:null;if(!_0x5f46d6){var _0x15b503=[];var _0x5732c9=null;if(_0x5deb21['ivrCampaign']){_0x5732c9=_[_0x477d('0x10a')](_0x5deb21[_0x477d('0x79c')],{'id':Number(_0x5deb21['ivrCampaign'][_0x477d('0xf8c')])});}for(var _0x56d34f=0x0;_0x56d34f<_0x5deb21['interval']['length'];_0x56d34f++){if(_0x5732c9&&_0x5deb21[_0x477d('0x79c')][_0x56d34f]['id']===_0x5732c9['id']){_0x5deb21[_0x477d('0x79c')][_0x56d34f][_0x477d('0xf8b')]=![];_0x15b503[_0x477d('0x3a7')](_0x5deb21['interval'][_0x56d34f]);}}_0x5deb21['interval']=_0x15b503;}else{if(!_0x5f46d6[_0x477d('0x3ad')]){return _0x134a75[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x5f46d6['id']})[_0x477d('0x38b')]['then'](function(_0x54c5de){var _0x4736fe=_[_0x477d('0x3cb')](_0x54c5de['rows'],function(_0x28c29a){return _[_0x477d('0x10a')](_0x5deb21['interval'],{'id':_0x28c29a[_0x477d('0x3af')]});});var _0x598c18=null;if(_0x5deb21[_0x477d('0x1d8a')]){_0x598c18=_[_0x477d('0x10a')](_0x5deb21[_0x477d('0x79c')],{'id':Number(_0x5deb21['ivrCampaign'][_0x477d('0xf8c')])});}if(_0x598c18&&!_['some'](_0x4736fe,['id',_0x598c18['id']])){var _0x4c0bf3=_[_0x477d('0x10a')](_0x5deb21[_0x477d('0x79c')],{'id':_0x598c18['id']});_0x4c0bf3[_0x477d('0xf8b')]=![];_0x4736fe[_0x477d('0x3a7')](_0x4c0bf3);}_0x5deb21[_0x477d('0x79c')]=_0x4736fe;});}}})[_0x477d('0xf8')](function(_0x3d68f3){_0x3de330[_0x477d('0x44a')]({'title':_0x3d68f3[_0x477d('0x3c3')]?'API:'+_0x3d68f3[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x3d68f3['statusText']:_0x477d('0x122c'),'msg':_0x3d68f3[_0x477d('0x451')]?JSON['stringify'](_0x3d68f3[_0x477d('0x451')]):_0x3d68f3[_0x477d('0x453')]()});});function _0x294da0(_0x38995e,_0x3a1663){_0x55d110[_0x477d('0x395')]({'controller':_0x477d('0x1e12'),'controllerAs':'vm','templateUrl':_0x477d('0x1e13'),'parent':angular[_0x477d('0x398')](_0x4e9335[_0x477d('0x399')]),'targetEvent':_0x3a1663,'clickOutsideToClose':!![],'locals':{'ivrCampaign':_0x38995e,'ivrCampaigns':_0x5deb21[_0x477d('0x1d87')]?_0x5deb21[_0x477d('0x1d87')]['rows']:[],'crudPermissions':_0x5deb21[_0x477d('0xd66')]}});}function _0x12579d(_0x1f2966,_0x5e3bcf){_0x55d110[_0x477d('0x395')]({'controller':_0x477d('0x1dfd'),'controllerAs':'vm','templateUrl':_0x477d('0x1e14'),'parent':angular['element'](_0x4e9335['body']),'targetEvent':_0x5e3bcf,'clickOutsideToClose':!![],'locals':{'ivrCampaign':_0x1f2966,'ivrCampaigns':_0x5deb21[_0x477d('0x1d87')]?_0x5deb21['ivrCampaigns'][_0x477d('0xf2')]:[],'crudPermissions':_0x5deb21[_0x477d('0xd66')]}});}function _0x158b99(_0x1018dc,_0x4616bb){_0x55d110[_0x477d('0x395')]({'controller':_0x477d('0x1e15'),'controllerAs':'vm','templateUrl':_0x477d('0x1e16'),'parent':angular[_0x477d('0x398')](_0x4e9335['body']),'targetEvent':_0x4616bb,'clickOutsideToClose':!![],'locals':{'ivrCampaign':_0x1018dc,'ivrCampaigns':_0x5deb21[_0x477d('0x1d87')]?_0x5deb21[_0x477d('0x1d87')][_0x477d('0xf2')]:[],'crudPermissions':_0x5deb21[_0x477d('0xd66')]}});}function _0x39a635(_0x5bd84e,_0x463d5d){var _0x1b6132=_0x463d5d['id'];_0x134a75['campaign'][_0x477d('0x1dfe')]({'id':_0x5bd84e,'ids':_0x1b6132})[_0x477d('0x38b')][_0x477d('0x76')](function(){return _0x134a75[_0x477d('0xca8')][_0x477d('0x1e09')]({'id':_0x5bd84e,'ids':_0x1b6132,'dialCheckDuplicateType':_0x477d('0x1e0a')})[_0x477d('0x38b')];})['then'](function(){_0x3de330[_0x477d('0x485')]({'title':_0x477d('0x1e0b'),'msg':_0x477d('0x1e0c')+_0x463d5d[_0x477d('0x94')]+_0x477d('0x1e0d')});})[_0x477d('0xf8')](function(_0x5e8d6a){_0x3de330[_0x477d('0x44a')]({'title':_0x5e8d6a['status']?_0x477d('0x44b')+_0x5e8d6a[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x5e8d6a[_0x477d('0x44d')]:_0x477d('0x1e17'),'msg':_0x5e8d6a[_0x477d('0x3c3')]?JSON[_0x477d('0x3fb')](_0x5e8d6a['data']):_0x5e8d6a[_0x477d('0x453')]()});});}function _0xa1cb1f(_0x16a82d,_0x38ae41){_0x134a75[_0x477d('0xca8')][_0x477d('0x1562')]({'id':_0x16a82d['id'],'fields':_0x477d('0x9c'),'nolimit':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x533333){if(_[_0x477d('0x484')](_0x533333[_0x477d('0xf2')])||_['isEmpty'](_0x533333['rows'])){_0x3de330[_0x477d('0x669')]({'title':_0x477d('0x1e18')});}else if(_0x533333['rows']['length']===0x1){var _0x44b00d=_0x55d110[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x1e19')+_0x533333[_0x477d('0xf2')][0x0][_0x477d('0x94')]+'\x20?')['htmlContent'](_0x477d('0xd93')+_0x533333[_0x477d('0xf2')][0x0]['name']+''+'\x20will\x20be\x20reset.')[_0x477d('0x687')](_0x477d('0x1e1a'))[_0x477d('0xd7c')](_0x38ae41)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x55d110[_0x477d('0x395')](_0x44b00d)['then'](function(){_0x39a635(_0x5deb21[_0x477d('0x1d8a')]['id'],_0x533333[_0x477d('0xf2')][0x0]);});}else{_0x55d110[_0x477d('0x395')]({'controller':_0x477d('0x1e1b'),'controllerAs':'vm','templateUrl':_0x477d('0x1e1c'),'parent':angular[_0x477d('0x398')](_0x4e9335[_0x477d('0x399')]),'targetEvent':_0x38ae41,'clickOutsideToClose':![],'locals':{'ivrCampaign':_0x16a82d,'listsCampaign':_0x533333?_0x533333[_0x477d('0xf2')]:[]}});}})[_0x477d('0xf8')](function(_0x1b8374){_0x3de330['error']({'title':_0x1b8374[_0x477d('0x3c3')]?'API:'+_0x1b8374[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x1b8374[_0x477d('0x44d')]:_0x477d('0x1e1d'),'msg':_0x1b8374[_0x477d('0x3c3')]?JSON[_0x477d('0x3fb')](_0x1b8374[_0x477d('0x451')]):_0x1b8374[_0x477d('0x453')]()});});}function _0x3d8fb5(_0x3c8c4c,_0x5a78be){if(_0x1987f6[_0x477d('0x56')](_0x477d('0x5f'))){_0x19dd99['go'](_0x477d('0x1e1e'),{});}else{return _0x134a75[_0x477d('0x3ac')]['get']({'userProfileId':_0x1987f6[_0x477d('0x5c')]()['userProfileId'],'sectionId':0x5e6})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x5dca25){var _0x412466=_0x5dca25&&_0x5dca25[_0x477d('0xf2')]?_0x5dca25[_0x477d('0xf2')][0x0]:null;if(_0x412466&&_0x412466[_0x477d('0x3b4')]){_0x19dd99['go'](_0x477d('0x1e1e'),{});}else{_0x3de330[_0x477d('0x669')]({'title':_0x3769df[_0x477d('0x45f')](_0x477d('0x119d')),'msg':_0x3769df[_0x477d('0x45f')]('STAFF.PERMISSIONS_UNAUTHORIZED_REDIRECT_MESSAGE')});}})[_0x477d('0xf8')](function(_0x1c80e4){_0x3de330[_0x477d('0x44a')]({'title':_0x1c80e4[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x1c80e4[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x1c80e4[_0x477d('0x44d')]:_0x477d('0x11df'),'msg':_0x1c80e4[_0x477d('0x3c3')]?JSON[_0x477d('0x3fb')](_0x1c80e4[_0x477d('0x451')]):_0x1c80e4[_0x477d('0x453')]()});});}}function _0x4d8ca3(){_0x19dd99['go']('app.motiondialer.ivrCampaigns',{},{'reload':_0x477d('0x1e1f')});}function _0x49ef33(){_0x134a75[_0x477d('0xca8')][_0x477d('0x710')]({'id':_0x5deb21[_0x477d('0x1d8a')]['id']},_0x5deb21[_0x477d('0x1d8a')])[_0x477d('0x38b')]['then'](function(){_0x3de330['success']({'title':'IvrCampaign\x20updated!','msg':_0x5deb21[_0x477d('0x1d8a')][_0x477d('0x94')]?_0x5deb21['ivrCampaign'][_0x477d('0x94')]+_0x477d('0xed7'):''});})[_0x477d('0xf8')](function(_0x1edf66){_0x3de330[_0x477d('0x44a')]({'title':_0x1edf66[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x1edf66[_0x477d('0x3c3')]+'\x20-\x20'+_0x1edf66['statusText']:_0x477d('0x1db3'),'msg':_0x1edf66[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x1edf66[_0x477d('0x451')]):_0x1edf66[_0x477d('0x453')]()});});}}}());(function(){'use strict';_0xff920b[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x387'),'$state',_0x477d('0x554'),'$mdDialog',_0x477d('0x475'),_0x477d('0x3fe'),_0x477d('0x40d'),_0x477d('0x1d87'),'userProfile',_0x477d('0x3ac'),_0x477d('0x386'),'msUtils',_0x477d('0x40e'),_0x477d('0x55'),'license',_0x477d('0xc8e')];angular[_0x477d('0xb')](_0x477d('0x3a'))['controller'](_0x477d('0x1e20'),_0xff920b);function _0xff920b(_0x304339,_0x60e0f1,_0x1d0eb2,_0x2585a4,_0x781718,_0x54c042,_0x33adbd,_0x5f5044,_0x23e40f,_0x33c999,_0x42d046,_0x1d3d14,_0x524e45,_0x53bcfa,_0x297ffa,_0x3f8f89,_0x5e023b){var _0xb3b600=this;_0xb3b600[_0x477d('0x613')]=_0x3f8f89;_0xb3b600[_0x477d('0xc8e')]=_0x5e023b;_0xb3b600[_0x477d('0x3e5')]=_0x297ffa['getCurrentUser']();_0xb3b600['ivrCampaigns']=_0x23e40f||{'count':0x0,'rows':[]};_0xb3b600[_0x477d('0x3a5')]=_0x33c999;_0xb3b600[_0x477d('0x3ac')]=_0x42d046&&_0x42d046[_0x477d('0x3bb')]==0x1?_0x42d046['rows'][0x0]:null;_0xb3b600[_0x477d('0xd66')]=_0x297ffa[_0x477d('0xd81')](_0xb3b600[_0x477d('0x3ac')]?_0xb3b600['userProfileSection'][_0x477d('0xd66')]:null);_0xb3b600[_0x477d('0xd82')]='ivrCampaigns';_0xb3b600[_0x477d('0xd83')]='';_0xb3b600[_0x477d('0xd84')]=null;_0xb3b600[_0x477d('0x1e21')]=[];_0xb3b600[_0x477d('0x3ef')]={'fields':'createdAt,updatedAt,id,name,active,TrunkId,TrunkBackupId,type,IntervalId,dialCheckDuplicateType,dialCutDigit,SquareProjectId,limitCalls,description,dialOriginateCallerIdName,dialOriginateCallerIdNumber,dialRandomLastDigitCallerIdNumber,dialOriginateTimeout,dialGlobalMaxRetry,dialCongestionMaxRetry,dialCongestionRetryFrequency,dialBusyMaxRetry,dialBusyRetryFrequency,dialNoAnswerMaxRetry,dialNoAnswerRetryFrequency,dialNoSuchNumberMaxRetry,dialNoSuchNumberRetryFrequency,dialDropMaxRetry,dialDropRetryFrequency,dialAbandonedMaxRetry,dialAbandonedRetryFrequency,dialMachineMaxRetry,dialMachineRetryFrequency,dialAgentRejectMaxRetry,dialAgentRejectRetryFrequency,dialOrderByScheduledAt,dialGlobalInterval,dialTimezone,dialPrefix,dialAMDActive,dialAMDInitialSilence,dialAMDGreeting,dialAMDAfterGreetingSilence,dialAMDTotalAnalysisTime,dialAMDMinWordLength,dialAMDBetweenWordsSilence,dialAMDMaximumNumberOfWords,dialAMDSilenceThreshold,dialAMDMaximumWordLength','type':_0x477d('0x209'),'sort':_0x477d('0x59'),'limit':0xa,'page':0x1};_0xb3b600[_0x477d('0x1e22')]=_[_0x477d('0xdb5')]([{'option':_0x477d('0x1e23'),'value':_0x477d('0x1e24')},{'option':'NEVER','value':'\x27never\x27'},{'option':_0x477d('0x1e25'),'value':_0x477d('0x1e26')}],function(_0x1692a5){return _[_0x477d('0x409')](_0x1692a5['value'],new RegExp('\x27','g'),'');});_0xb3b600[_0x477d('0x1e27')]=_[_0x477d('0xdb5')]([{'option':_0x477d('0xe91'),'value':_0x477d('0x1e28')},{'option':_0x477d('0xe8e'),'value':_0x477d('0x1e29')}],function(_0x152d6c){return _[_0x477d('0x409')](_0x152d6c[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0xb3b600['editstate']=_0x3bec7b;_0xb3b600['clonedialog']=_0x1347dc;_0xb3b600[_0x477d('0x1e0e')]=_0x3b4cf3;_0xb3b600[_0x477d('0x1e0f')]=_0x3c5a9e;_0xb3b600[_0x477d('0xd88')]=_0x69125e;_0xb3b600['gotorealtimegoto']=_0x723515;_0xb3b600['success']=_0x45189;_0xb3b600['getIvrCampaigns']=_0x1bc476;_0xb3b600[_0x477d('0x1e2a')]=_0x22967b;_0xb3b600[_0x477d('0x1d8d')]=_0x3f6165;_0xb3b600['exportSelectedIvrCampaigns']=_0x3fe131;_0xb3b600[_0x477d('0x1e2b')]=_0x386e71;_0xb3b600['deselectIvrCampaigns']=_0x52283d;_0xb3b600[_0x477d('0x1e2c')]=_0xc02ef6;_0x297ffa[_0x477d('0x56')](_0x477d('0x5f'))?_0x1d3d14[_0x477d('0xaa8')]['get']({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'table':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x1614be){_0xb3b600['trunks']=_0x1614be['rows']||[];})[_0x477d('0xf8')](function(_0x212205){_0x53bcfa[_0x477d('0x44a')]({'title':_0x212205[_0x477d('0x3c3')]?'API:'+_0x212205[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x212205[_0x477d('0x44d')]:_0x477d('0x1909'),'msg':_0x212205[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x212205[_0x477d('0x451')]):_0x212205[_0x477d('0x453')]()});}):_0x1d3d14[_0x477d('0xaa8')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'table':'true'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x4bd6d){_0xb3b600[_0x477d('0xf2e')]=_0x4bd6d[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x1d3d14[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0xb3b600['currentUser'][_0x477d('0x61')],'sectionId':0x3f3})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x457691){var _0x2bf3a0=_0x457691&&_0x457691[_0x477d('0xf2')]?_0x457691[_0x477d('0xf2')][0x0]:null;if(!_0x2bf3a0){_0xb3b600[_0x477d('0xf2e')]=[];}else{if(!_0x2bf3a0['autoAssociation']){return _0x1d3d14[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x2bf3a0['id']})[_0x477d('0x38b')]['then'](function(_0x1abfc8){var _0x5b5b21=_['map'](_0x1abfc8[_0x477d('0xf2')],function(_0x1d9cf0){return _[_0x477d('0x10a')](_0xb3b600[_0x477d('0xf2e')],{'id':_0x1d9cf0['resourceId']});});_0xb3b600[_0x477d('0xf2e')][_0x477d('0x3b1')](function(_0x8c0ace){if(!_['some'](_0x5b5b21,['id',_0x8c0ace['id']])){_0x8c0ace[_0x477d('0xf8b')]=![];}_0x5b5b21[_0x477d('0x3a7')](_0x8c0ace);});_0xb3b600[_0x477d('0xf2e')]=_0x5b5b21;});}}})[_0x477d('0xf8')](function(_0x374365){_0x53bcfa[_0x477d('0x44a')]({'title':_0x374365['status']?_0x477d('0x44b')+_0x374365[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x374365[_0x477d('0x44d')]:_0x477d('0x190b'),'msg':_0x374365[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x374365[_0x477d('0x451')]):_0x374365[_0x477d('0x453')]()});});_0x297ffa[_0x477d('0x56')](_0x477d('0x5f'))?_0x1d3d14[_0x477d('0xc99')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0xb8ec9d){_0xb3b600[_0x477d('0xf12')]=_0xb8ec9d[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x42d92e){_0x53bcfa[_0x477d('0x44a')]({'title':_0x42d92e[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x42d92e['status']+_0x477d('0x44c')+_0x42d92e[_0x477d('0x44d')]:_0x477d('0x1d8e'),'msg':_0x42d92e[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x42d92e[_0x477d('0x451')]):_0x42d92e[_0x477d('0x453')]()});}):_0x1d3d14[_0x477d('0xc99')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94')})['$promise'][_0x477d('0x76')](function(_0x5997b7){_0xb3b600[_0x477d('0xf12')]=_0x5997b7[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x1d3d14['userProfileSection'][_0x477d('0x376')]({'userProfileId':_0xb3b600[_0x477d('0x3e5')]['userProfileId'],'sectionId':0x44f})['$promise'];})[_0x477d('0x76')](function(_0x4cba88){var _0x4afb93=_0x4cba88&&_0x4cba88[_0x477d('0xf2')]?_0x4cba88[_0x477d('0xf2')][0x0]:null;if(!_0x4afb93){var _0x21de1a=[];var _0x5aa34b=[];_0xb3b600[_0x477d('0x1d87')][_0x477d('0xf2')][_0x477d('0x3b1')](function(_0x486bec){var _0x3088b1=_['find'](_0xb3b600[_0x477d('0xf12')],{'id':Number(_0x486bec[_0x477d('0x1d8f')])});_0x5aa34b[_0x477d('0x3a7')](_0x3088b1);});for(var _0x42220e=0x0;_0x42220e<_0xb3b600[_0x477d('0xf12')][_0x477d('0x79')];_0x42220e++){var _0x41acdf=_[_0x477d('0x3ab')](_0x5aa34b,{'id':_0xb3b600[_0x477d('0xf12')][_0x42220e]['id']});if(_0x41acdf){_0xb3b600['projects'][_0x42220e][_0x477d('0xf8b')]=![];_0x21de1a[_0x477d('0x3a7')](_0xb3b600[_0x477d('0xf12')][_0x42220e]);}}_0xb3b600[_0x477d('0xf12')]=_0x21de1a;}else{if(!_0x4afb93['autoAssociation']){return _0x1d3d14['userProfileResource'][_0x477d('0x376')]({'sectionId':_0x4afb93['id']})['$promise'][_0x477d('0x76')](function(_0x2f485d){var _0xa49648=_[_0x477d('0x3cb')](_0x2f485d['rows'],function(_0x2bcd68){return _[_0x477d('0x10a')](_0xb3b600[_0x477d('0xf12')],{'id':_0x2bcd68['resourceId']});});var _0x49eb6d=null;_0x49eb6d=[];_0xb3b600['ivrCampaigns']['rows'][_0x477d('0x3b1')](function(_0x32baa3){var _0x35c33e=_[_0x477d('0x10a')](_0xb3b600['projects'],{'id':Number(_0x32baa3[_0x477d('0x1d8f')])});_0x49eb6d['push'](_0x35c33e);});if(!_['isEmpty'](_0x49eb6d)){_0x49eb6d[_0x477d('0x3b1')](function(_0x2d89ea){if(!_[_0x477d('0x3ab')](_0xa49648,['id',_0x2d89ea['id']])){var _0x58c70e=_[_0x477d('0x10a')](_0xb3b600[_0x477d('0xf12')],{'id':_0x2d89ea['id']});_0x58c70e[_0x477d('0xf8b')]=![];_0xa49648[_0x477d('0x3a7')](_0x58c70e);}});}_0xb3b600[_0x477d('0xf12')]=_0xa49648;});}}})[_0x477d('0xf8')](function(_0x1864a4){_0x53bcfa[_0x477d('0x44a')]({'title':_0x1864a4[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x1864a4[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x1864a4['statusText']:'SYSTEM:GETprojects','msg':_0x1864a4[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x1864a4[_0x477d('0x451')]):_0x1864a4['toString']()});});_0x297ffa['hasRole'](_0x477d('0x5f'))?_0x1d3d14[_0x477d('0x79c')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':'name','IntervalId':_0x477d('0xea')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x26f719){_0xb3b600[_0x477d('0x79c')]=_0x26f719['rows']||[];})['catch'](function(_0x2da227){_0x53bcfa[_0x477d('0x44a')]({'title':_0x2da227[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x2da227[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x2da227[_0x477d('0x44d')]:_0x477d('0x122b'),'msg':_0x2da227[_0x477d('0x451')]?JSON['stringify'](_0x2da227[_0x477d('0x451')]):_0x2da227[_0x477d('0x453')]()});}):_0x1d3d14[_0x477d('0x79c')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'IntervalId':'null'})['$promise'][_0x477d('0x76')](function(_0x4b3aea){_0xb3b600[_0x477d('0x79c')]=_0x4b3aea[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x1d3d14[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0xb3b600[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x3ec})[_0x477d('0x38b')];})['then'](function(_0x5d9b8d){var _0x55d23e=_0x5d9b8d&&_0x5d9b8d[_0x477d('0xf2')]?_0x5d9b8d[_0x477d('0xf2')][0x0]:null;if(!_0x55d23e){var _0x338b0d=[];var _0x271810=null;if(_0xb3b600[_0x477d('0x1d8a')]){_0x271810=_[_0x477d('0x10a')](_0xb3b600[_0x477d('0x79c')],{'id':Number(_0xb3b600['ivrCampaign'][_0x477d('0xf8c')])});}for(var _0x2af211=0x0;_0x2af211<_0xb3b600['interval'][_0x477d('0x79')];_0x2af211++){if(_0x271810&&_0xb3b600[_0x477d('0x79c')][_0x2af211]['id']===_0x271810['id']){_0xb3b600[_0x477d('0x79c')][_0x2af211][_0x477d('0xf8b')]=![];_0x338b0d[_0x477d('0x3a7')](_0xb3b600[_0x477d('0x79c')][_0x2af211]);}}_0xb3b600[_0x477d('0x79c')]=_0x338b0d;}else{if(!_0x55d23e['autoAssociation']){return _0x1d3d14[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x55d23e['id']})[_0x477d('0x38b')]['then'](function(_0x687c33){var _0x4ce58c=_[_0x477d('0x3cb')](_0x687c33['rows'],function(_0x2d12ab){return _[_0x477d('0x10a')](_0xb3b600[_0x477d('0x79c')],{'id':_0x2d12ab[_0x477d('0x3af')]});});var _0x22b29e=null;if(_0xb3b600['ivrCampaign']){_0x22b29e=_[_0x477d('0x10a')](_0xb3b600[_0x477d('0x79c')],{'id':Number(_0xb3b600[_0x477d('0x1d8a')][_0x477d('0xf8c')])});}if(_0x22b29e&&!_[_0x477d('0x3ab')](_0x4ce58c,['id',_0x22b29e['id']])){var _0xb042f2=_['find'](_0xb3b600['interval'],{'id':_0x22b29e['id']});_0xb042f2['canSelect']=![];_0x4ce58c[_0x477d('0x3a7')](_0xb042f2);}_0xb3b600[_0x477d('0x79c')]=_0x4ce58c;});}}})[_0x477d('0xf8')](function(_0x490d86){_0x53bcfa[_0x477d('0x44a')]({'title':_0x490d86[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x490d86[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x490d86[_0x477d('0x44d')]:_0x477d('0x122c'),'msg':_0x490d86[_0x477d('0x451')]?JSON['stringify'](_0x490d86[_0x477d('0x451')]):_0x490d86['toString']()});});function _0x3bec7b(_0x40efaf,_0x2a801e){_0x1d0eb2['go'](_0x477d('0x1da4'),{'id':_0x40efaf['id'],'ivrCampaign':_0x40efaf,'crudPermissions':_0xb3b600[_0x477d('0xd66')]});}function _0x1347dc(_0x584b35,_0xbdfd8c){_0x781718[_0x477d('0x395')]({'controller':_0x477d('0x1e12'),'controllerAs':'vm','templateUrl':_0x477d('0x1e13'),'parent':angular[_0x477d('0x398')](_0x54c042[_0x477d('0x399')]),'targetEvent':_0xbdfd8c,'clickOutsideToClose':!![],'locals':{'ivrCampaign':_0x584b35,'ivrCampaigns':_0xb3b600['ivrCampaigns']?_0xb3b600[_0x477d('0x1d87')][_0x477d('0xf2')]:[],'crudPermissions':_0xb3b600['crudPermissions']}});}function _0x3b4cf3(_0x133926,_0x46a590){_0x781718[_0x477d('0x395')]({'controller':'IvrCampaignlistaddController','controllerAs':'vm','templateUrl':_0x477d('0x1e14'),'parent':angular['element'](_0x54c042[_0x477d('0x399')]),'targetEvent':_0x46a590,'clickOutsideToClose':!![],'locals':{'ivrCampaign':_0x133926,'ivrCampaigns':_0xb3b600[_0x477d('0x1d87')]?_0xb3b600['ivrCampaigns'][_0x477d('0xf2')]:[],'crudPermissions':_0xb3b600[_0x477d('0xd66')]}});}function _0x3c5a9e(_0x3a9266,_0x5e2253){_0x781718[_0x477d('0x395')]({'controller':'IvrCampaignblacklistaddController','controllerAs':'vm','templateUrl':_0x477d('0x1e16'),'parent':angular['element'](_0x54c042[_0x477d('0x399')]),'targetEvent':_0x5e2253,'clickOutsideToClose':!![],'locals':{'ivrCampaign':_0x3a9266,'ivrCampaigns':_0xb3b600['ivrCampaigns']?_0xb3b600[_0x477d('0x1d87')]['rows']:[],'crudPermissions':_0xb3b600[_0x477d('0xd66')]}});}function _0x69125e(_0x37a51f,_0x113c46){var _0x43f53b=_0x781718[_0x477d('0xd78')]()['title'](_0x477d('0xd90')+_[_0x477d('0xd91')](_0x477d('0x1d8a'))+'?')[_0x477d('0xd92')](_0x477d('0xd93')+(_0x37a51f['name']||_0x477d('0x1d8a'))+_0x477d('0xd94')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x1e2d'))[_0x477d('0xd7c')](_0x113c46)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x781718[_0x477d('0x395')](_0x43f53b)['then'](function(){_0x3f6165(_0x37a51f);},function(){console[_0x477d('0x7b')](_0x477d('0xd97'));});}function _0x723515(_0x476751,_0x41eadd){if(_0x297ffa[_0x477d('0x56')](_0x477d('0x5f'))){_0x1d0eb2['go'](_0x477d('0x1e1e'),{});}else{return _0x1d3d14['userProfileSection'][_0x477d('0x376')]({'userProfileId':_0x297ffa['getCurrentUser']()[_0x477d('0x61')],'sectionId':0x5e6})[_0x477d('0x38b')]['then'](function(_0x403eb1){var _0x89df89=_0x403eb1&&_0x403eb1[_0x477d('0xf2')]?_0x403eb1[_0x477d('0xf2')][0x0]:null;if(_0x89df89&&_0x89df89[_0x477d('0x3b4')]){_0x1d0eb2['go'](_0x477d('0x1e1e'),{});}else{_0x53bcfa['info']({'title':_0x5f5044[_0x477d('0x45f')](_0x477d('0x119d')),'msg':_0x5f5044[_0x477d('0x45f')](_0x477d('0x142f'))});}})[_0x477d('0xf8')](function(_0x2fb00a){_0x53bcfa[_0x477d('0x44a')]({'title':_0x2fb00a[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x2fb00a['status']+_0x477d('0x44c')+_0x2fb00a[_0x477d('0x44d')]:_0x477d('0x11df'),'msg':_0x2fb00a[_0x477d('0x3c3')]?JSON[_0x477d('0x3fb')](_0x2fb00a[_0x477d('0x451')]):_0x2fb00a['toString']()});});}}var _0x2826b1=!![];var _0x4401b8=0x1;_0x304339['$watch']('vm.query.filter',function(_0x518372,_0x54e9fc){if(_0x2826b1){_0x33adbd(function(){_0x2826b1=![];});}else{if(!_0x54e9fc){_0x4401b8=_0xb3b600[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x518372!==_0x54e9fc){_0xb3b600[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0x518372){_0xb3b600[_0x477d('0x3ef')][_0x477d('0xe03')]=_0x4401b8;}_0xb3b600[_0x477d('0x1e2e')]();}});function _0x45189(_0x591779){_0xb3b600[_0x477d('0x1d87')]=_0x591779||{'count':0x0,'rows':[]};}function _0x1bc476(){_0xb3b600[_0x477d('0x3ef')][_0x477d('0x91c')]=(_0xb3b600[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0xb3b600[_0x477d('0x3ef')][_0x477d('0x91d')];if(_0x297ffa['hasRole'](_0x477d('0x5f'))){_0xb3b600['promise']=_0x1d3d14[_0x477d('0xca8')][_0x477d('0x376')](_0xb3b600['query'],_0x45189)[_0x477d('0x38b')];}else{_0xb3b600['query']['id']=_0xb3b600[_0x477d('0x3a5')]['id'];_0xb3b600['query'][_0x477d('0xd99')]='IvrCampaigns';_0xb3b600['promise']=_0x1d3d14['userProfile']['getResources'](_0xb3b600[_0x477d('0x3ef')],_0x45189)[_0x477d('0x38b')];}}function _0x22967b(_0x59a2cb,_0x592811){_0x781718['show']({'controller':'CreateOrEditIvrCampaignDialogController','controllerAs':'vm','templateUrl':_0x477d('0x1e2f'),'parent':angular[_0x477d('0x398')](_0x54c042['body']),'targetEvent':_0x59a2cb,'clickOutsideToClose':!![],'locals':{'ivrCampaign':_0x592811,'ivrCampaigns':_0xb3b600[_0x477d('0x1d87')]['rows'],'license':_0xb3b600['license'],'setting':_0xb3b600[_0x477d('0xc8e')],'crudPermissions':_0xb3b600[_0x477d('0xd66')]}});}function _0x3f6165(_0xc14bde){_0x1d3d14[_0x477d('0xca8')]['delete']({'id':_0xc14bde['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0xb3b600[_0x477d('0x1d87')]['rows'],{'id':_0xc14bde['id']});_0xb3b600['ivrCampaigns'][_0x477d('0x3bb')]-=0x1;if(!_0xb3b600[_0x477d('0x1d87')][_0x477d('0xf2')][_0x477d('0x79')]){_0xb3b600[_0x477d('0x1e2e')]();}_0x53bcfa['success']({'title':_[_0x477d('0xd91')](_0x477d('0x1e30'))+_0x477d('0xd9d'),'msg':_0xc14bde[_0x477d('0x94')]?_0xc14bde[_0x477d('0x94')]+'\x20has\x20been\x20deleted!':''});})[_0x477d('0xf8')](function(_0x58170e){if(_0x58170e[_0x477d('0x451')]&&_0x58170e[_0x477d('0x451')]['errors']&&_0x58170e[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0xb3b600[_0x477d('0xd67')]=_0x58170e['data'][_0x477d('0xd67')]||[{'message':_0x58170e['toString'](),'type':_0x477d('0x1e31')}];for(var _0x36a9a6=0x0;_0x36a9a6<_0x58170e[_0x477d('0x451')][_0x477d('0xd67')]['length'];_0x36a9a6++){_0x53bcfa['error']({'title':_0x58170e[_0x477d('0x451')][_0x477d('0xd67')][_0x36a9a6][_0x477d('0x439')],'msg':_0x58170e[_0x477d('0x451')][_0x477d('0xd67')][_0x36a9a6][_0x477d('0x452')]});}}else{_0x53bcfa[_0x477d('0x44a')]({'title':_0x58170e[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x58170e[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x58170e[_0x477d('0x44d')]:_0x477d('0x1e31'),'msg':_0x58170e['data']?JSON[_0x477d('0x3fb')](_0x58170e[_0x477d('0x451')][_0x477d('0x452')]):_0x58170e['message']||_0x58170e['toString']()});}});}function _0x3fe131(){var _0x3672d6=angular[_0x477d('0x6d9')](_0xb3b600[_0x477d('0x1e21')]);_0xb3b600[_0x477d('0x1e21')]=[];return _0x3672d6;}function _0x386e71(_0x5d9fb8){var _0x2decb9=_0x781718[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x1e32'))['htmlContent'](''+_0xb3b600[_0x477d('0x1e21')]['length']+_0x477d('0xda0')+'\x20will\x20be\x20deleted.')['ariaLabel'](_0x477d('0x1e33'))[_0x477d('0xd7c')](_0x5d9fb8)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x781718[_0x477d('0x395')](_0x2decb9)[_0x477d('0x76')](function(){_0xb3b600[_0x477d('0x1e21')][_0x477d('0x3b1')](function(_0x3277ef){_0x3f6165(_0x3277ef);});_0xb3b600[_0x477d('0x1e21')]=[];});}function _0x52283d(){_0xb3b600['selectedIvrCampaigns']=[];}function _0xc02ef6(){_0xb3b600[_0x477d('0x1e21')]=_0xb3b600[_0x477d('0x1d87')][_0x477d('0xf2')];}}}());(function(){'use strict';_0x9a9058[_0x477d('0xa')]=['$scope',_0x477d('0x3c4'),_0x477d('0xd64'),_0x477d('0x384'),'$q',_0x477d('0x40d'),'toasty',_0x477d('0x163d'),'queueCampaign','api',_0x477d('0x55'),_0x477d('0x613'),_0x477d('0xc8e'),'crudPermissions'];angular[_0x477d('0xb')](_0x477d('0x3a'))[_0x477d('0x3ba')](_0x477d('0x1e34'),_0x9a9058);function _0x9a9058(_0x49a34c,_0x193219,_0x46ba3e,_0x357f6a,_0x10bd01,_0x213012,_0x384ff2,_0x15a498,_0x5015db,_0x5bfea2,_0x676c02,_0x35f79f,_0x59a7ff,_0x3ff4ff){var _0x194fb6=this;_0x194fb6[_0x477d('0x3e5')]=_0x676c02[_0x477d('0x5c')]();_0x194fb6[_0x477d('0xd67')]=[];_0x194fb6['setting']=_0x59a7ff;_0x194fb6['license']=_0x35f79f;_0x194fb6['crudPermissions']=_0x3ff4ff;_0x194fb6[_0x477d('0xd68')]={};_0x194fb6[_0x477d('0xd69')]=_0x194fb6['setting']&&_0x194fb6['setting'][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x194fb6[_0x477d('0x49a')]=_0x477d('0x1e35');_0x194fb6[_0x477d('0x163e')]=angular[_0x477d('0x6d9')](_0x5015db);_0x194fb6['queueCampaigns']=_0x15a498;_0x194fb6[_0x477d('0x1e36')]=![];if(!_0x194fb6[_0x477d('0x163e')]){_0x194fb6[_0x477d('0x163e')]={'dialActive':!![],'type':_0x477d('0x127'),'dialCheckDuplicateType':_0x477d('0x1247'),'dialCutDigit':0x0,'autopause':'no','ringinuse':'no','timeoutrestart':'no','setinterfacevar':'no','setqueuevar':'no','setqueueentryvar':'no','dialOrderByScheduledAt':_0x477d('0xe8e'),'dialGlobalInterval':_0x477d('0x1e37'),'dialAMDInitialSilence':0x9c4,'dialAMDGreeting':0x5dc,'dialAMDAfterGreetingSilence':0x320,'dialAMDTotalAnalysisTime':0x1388,'dialAMDMinWordLength':0x64,'dialAMDBetweenWordsSilence':0x32,'dialAMDMaximumNumberOfWords':0x3,'dialAMDSilenceThreshold':0x100,'dialAMDMaximumWordLength':0x1388,'dialMethod':_0x477d('0x1e38'),'dialPowerLevel':0x1,'dialPredictiveOptimization':'dropRate','dialPredictiveOptimizationPercentage':0x3,'dialPredictiveInterval':0xa,'dialLimitQueue':0x0,'dialRandomLastDigitCallerIdNumber':0x0,'dialOriginateTimeout':0x1e,'dialQueueOptions':_0x477d('0x1e39'),'dialQueueTimeout':0x3,'strategy':'rrmemory','timeout':0x3,'retry':0x3,'weight':0x1,'dialGlobalMaxRetry':0x4,'dialCongestionMaxRetry':0x3,'dialCongestionRetryFrequency':0x96,'dialBusyMaxRetry':0x3,'dialBusyRetryFrequency':0x96,'dialNoAnswerMaxRetry':0x3,'dialNoAnswerRetryFrequency':0x96,'dialNoSuchNumberMaxRetry':0x3,'dialNoSuchNumberRetryFrequency':0x96,'dialDropMaxRetry':0x3,'dialDropRetryFrequency':0x96,'dialAbandonedMaxRetry':0x3,'dialAbandonedRetryFrequency':0x96,'dialMachineMaxRetry':0x3,'dialMachineRetryFrequency':0x96,'dialAgentRejectMaxRetry':0x3,'dialAgentRejectRetryFrequency':0x96,'dialPredictiveIntervalMaxThreshold':0x14,'dialPredictiveIntervalMinThreshold':0xa};_0x194fb6[_0x477d('0x49a')]=_0x477d('0x1e3a');_0x194fb6['newQueueCampaign']=!![];}_0x194fb6[_0x477d('0x1e3b')]=_0x569f2c;_0x194fb6['saveQueueCampaign']=_0x47c60a;_0x194fb6[_0x477d('0x1e3c')]=_0x5c78a2;_0x194fb6['getDateFromString']=_0x3c15e8;_0x194fb6[_0x477d('0x6bf')]=_0x28de79;_0x676c02[_0x477d('0x56')](_0x477d('0x5f'))?_0x5bfea2[_0x477d('0xaa8')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94')})['$promise']['then'](function(_0x4b90de){_0x194fb6[_0x477d('0xf2e')]=_0x4b90de['rows']||[];})[_0x477d('0xf8')](function(_0xc038a3){_0x384ff2[_0x477d('0x44a')]({'title':_0xc038a3[_0x477d('0x3c3')]?'API:'+_0xc038a3[_0x477d('0x3c3')]+_0x477d('0x44c')+_0xc038a3[_0x477d('0x44d')]:_0x477d('0x1909'),'msg':_0xc038a3[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0xc038a3[_0x477d('0x451')]):_0xc038a3['toString']()});}):_0x5bfea2['trunk'][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x1bfd24){_0x194fb6[_0x477d('0xf2e')]=_0x1bfd24[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x5bfea2[_0x477d('0x3ac')]['get']({'userProfileId':_0x194fb6[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x3f3})['$promise'];})['then'](function(_0x15d737){var _0x292f9f=_0x15d737&&_0x15d737['rows']?_0x15d737[_0x477d('0xf2')][0x0]:null;if(!_0x292f9f){var _0x3b591c=[];var _0x340fe3=null;if(_0x194fb6['queueCampaign']){_0x340fe3=_[_0x477d('0x10a')](_0x194fb6[_0x477d('0xf2e')],{'id':Number(_0x194fb6[_0x477d('0x163e')][_0x477d('0x190a')])});}for(var _0x19ee87=0x0;_0x19ee87<_0x194fb6[_0x477d('0xf2e')]['length'];_0x19ee87++){if(_0x340fe3&&_0x194fb6[_0x477d('0xf2e')][_0x19ee87]['id']===_0x340fe3['id']){_0x194fb6[_0x477d('0xf2e')][_0x19ee87][_0x477d('0xf8b')]=![];_0x3b591c[_0x477d('0x3a7')](_0x194fb6[_0x477d('0xf2e')][_0x19ee87]);}}_0x194fb6[_0x477d('0xf2e')]=_0x3b591c;}else{if(!_0x292f9f[_0x477d('0x3ad')]){return _0x5bfea2[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x292f9f['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x1a6ed7){var _0x1c0418=_[_0x477d('0x3cb')](_0x1a6ed7[_0x477d('0xf2')],function(_0x1ac2d6){return _[_0x477d('0x10a')](_0x194fb6[_0x477d('0xf2e')],{'id':_0x1ac2d6['resourceId']});});var _0x5d99b9=null;if(_0x194fb6[_0x477d('0x163e')]){_0x5d99b9=_[_0x477d('0x10a')](_0x194fb6[_0x477d('0xf2e')],{'id':Number(_0x194fb6[_0x477d('0x163e')][_0x477d('0x190a')])});}if(_0x5d99b9&&!_[_0x477d('0x3ab')](_0x1c0418,['id',_0x5d99b9['id']])){var _0x4bb1f6=_[_0x477d('0x10a')](_0x194fb6[_0x477d('0xf2e')],{'id':_0x5d99b9['id']});_0x4bb1f6[_0x477d('0xf8b')]=![];_0x1c0418[_0x477d('0x3a7')](_0x4bb1f6);}_0x194fb6[_0x477d('0xf2e')]=_0x1c0418;});}}})['catch'](function(_0x1b68f3){_0x384ff2[_0x477d('0x44a')]({'title':_0x1b68f3['status']?'API:'+_0x1b68f3[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x1b68f3['statusText']:_0x477d('0x190b'),'msg':_0x1b68f3['data']?JSON['stringify'](_0x1b68f3['data']):_0x1b68f3[_0x477d('0x453')]()});});_0x676c02[_0x477d('0x56')](_0x477d('0x5f'))?_0x5bfea2[_0x477d('0x79c')][_0x477d('0x376')]({'fields':'id,name','sort':_0x477d('0x94'),'IntervalId':_0x477d('0xea')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x2b10d7){_0x194fb6[_0x477d('0x79c')]=_0x2b10d7[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x3d6c58){_0x384ff2[_0x477d('0x44a')]({'title':_0x3d6c58[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x3d6c58['status']+'\x20-\x20'+_0x3d6c58[_0x477d('0x44d')]:_0x477d('0x122b'),'msg':_0x3d6c58['data']?JSON['stringify'](_0x3d6c58[_0x477d('0x451')]):_0x3d6c58[_0x477d('0x453')]()});}):_0x5bfea2[_0x477d('0x79c')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':'name','IntervalId':_0x477d('0xea')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x1dcd2f){_0x194fb6[_0x477d('0x79c')]=_0x1dcd2f[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x5bfea2['userProfileSection'][_0x477d('0x376')]({'userProfileId':_0x194fb6[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x3ec})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x13cfdf){var _0x12661e=_0x13cfdf&&_0x13cfdf[_0x477d('0xf2')]?_0x13cfdf[_0x477d('0xf2')][0x0]:null;if(!_0x12661e){var _0x219a3d=[];var _0x5305ec=null;if(_0x194fb6['queueCampaign']){_0x5305ec=_[_0x477d('0x10a')](_0x194fb6['interval'],{'id':Number(_0x194fb6[_0x477d('0x163e')][_0x477d('0xf8c')])});}for(var _0xf6bded=0x0;_0xf6bded<_0x194fb6['interval'][_0x477d('0x79')];_0xf6bded++){if(_0x5305ec&&_0x194fb6['interval'][_0xf6bded]['id']===_0x5305ec['id']){_0x194fb6[_0x477d('0x79c')][_0xf6bded][_0x477d('0xf8b')]=![];_0x219a3d[_0x477d('0x3a7')](_0x194fb6['interval'][_0xf6bded]);}}_0x194fb6['interval']=_0x219a3d;}else{if(!_0x12661e[_0x477d('0x3ad')]){return _0x5bfea2['userProfileResource']['get']({'sectionId':_0x12661e['id']})['$promise'][_0x477d('0x76')](function(_0x104cfb){var _0x12ece6=_[_0x477d('0x3cb')](_0x104cfb[_0x477d('0xf2')],function(_0x3f9923){return _[_0x477d('0x10a')](_0x194fb6['interval'],{'id':_0x3f9923['resourceId']});});var _0x50a21c=null;if(_0x194fb6[_0x477d('0x163e')]){_0x50a21c=_[_0x477d('0x10a')](_0x194fb6[_0x477d('0x79c')],{'id':Number(_0x194fb6[_0x477d('0x163e')][_0x477d('0xf8c')])});}if(_0x50a21c&&!_[_0x477d('0x3ab')](_0x12ece6,['id',_0x50a21c['id']])){var _0x149230=_[_0x477d('0x10a')](_0x194fb6[_0x477d('0x79c')],{'id':_0x50a21c['id']});_0x149230[_0x477d('0xf8b')]=![];_0x12ece6[_0x477d('0x3a7')](_0x149230);}_0x194fb6[_0x477d('0x79c')]=_0x12ece6;});}}})[_0x477d('0xf8')](function(_0x1ae55b){_0x384ff2[_0x477d('0x44a')]({'title':_0x1ae55b[_0x477d('0x3c3')]?'API:'+_0x1ae55b[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x1ae55b[_0x477d('0x44d')]:_0x477d('0x122c'),'msg':_0x1ae55b[_0x477d('0x451')]?JSON['stringify'](_0x1ae55b[_0x477d('0x451')]):_0x1ae55b['toString']()});});function _0x569f2c(){_0x194fb6['errors']=[];_0x5bfea2[_0x477d('0xa76')][_0x477d('0xd70')](_0x194fb6[_0x477d('0x163e')])['$promise']['then'](function(_0x648ccc){_0x194fb6[_0x477d('0x163d')]['unshift'](_0x648ccc[_0x477d('0xd71')]());_0x384ff2[_0x477d('0x485')]({'title':'QueueCampaign\x20properly\x20created','msg':_0x194fb6['queueCampaign'][_0x477d('0x94')]?_0x194fb6[_0x477d('0x163e')]['name']+_0x477d('0xd73'):''});_0x28de79(_0x648ccc);})[_0x477d('0xf8')](function(_0x4c7d3a){if(_0x4c7d3a[_0x477d('0x451')]&&_0x4c7d3a[_0x477d('0x451')]['errors']&&_0x4c7d3a[_0x477d('0x451')][_0x477d('0xd67')]['length']){_0x194fb6[_0x477d('0xd67')]=_0x4c7d3a[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x4c7d3a['toString'](),'type':'api.voiceQueue.save'}];for(var _0x48d475=0x0;_0x48d475<_0x4c7d3a['data'][_0x477d('0xd67')][_0x477d('0x79')];_0x48d475+=0x1){_0x384ff2[_0x477d('0x44a')]({'title':_0x4c7d3a[_0x477d('0x451')][_0x477d('0xd67')][_0x48d475]['type'],'msg':_0x4c7d3a[_0x477d('0x451')][_0x477d('0xd67')][_0x48d475][_0x477d('0x452')]});}}else{_0x384ff2[_0x477d('0x44a')]({'title':_0x4c7d3a[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x4c7d3a[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x4c7d3a['statusText']:_0x477d('0x1e3d'),'msg':_0x4c7d3a['data']?JSON[_0x477d('0x3fb')](_0x4c7d3a[_0x477d('0x451')]['message']):_0x4c7d3a[_0x477d('0x453')]()});}});}function _0x47c60a(){_0x194fb6['errors']=[];_0x5bfea2[_0x477d('0xa76')]['update']({'id':_0x194fb6[_0x477d('0x163e')]['id']},_0x194fb6[_0x477d('0x163e')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x3c76a7){var _0x47d3d6=_['find'](_0x194fb6[_0x477d('0x163d')],{'id':_0x3c76a7['id']});if(_0x47d3d6){_[_0x477d('0xef')](_0x47d3d6,_['pick'](_0x3c76a7[_0x477d('0xd71')](),_[_0x477d('0x7f')](_0x47d3d6)));}_0x384ff2[_0x477d('0x485')]({'title':_0x477d('0x1e3e'),'msg':_0x194fb6[_0x477d('0x163e')][_0x477d('0x94')]?_0x194fb6[_0x477d('0x163e')][_0x477d('0x94')]+_0x477d('0xd76'):''});_0x28de79(_0x3c76a7);})['catch'](function(_0x222ae7){if(_0x222ae7[_0x477d('0x451')]&&_0x222ae7[_0x477d('0x451')][_0x477d('0xd67')]&&_0x222ae7[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x194fb6[_0x477d('0xd67')]=_0x222ae7['data']['errors']||[{'message':_0x222ae7['toString'](),'type':_0x477d('0x1e3f')}];for(var _0x2561cf=0x0;_0x2561cf<_0x222ae7[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x2561cf++){_0x384ff2['error']({'title':_0x222ae7[_0x477d('0x451')][_0x477d('0xd67')][_0x2561cf][_0x477d('0x439')],'msg':_0x222ae7[_0x477d('0x451')]['errors'][_0x2561cf][_0x477d('0x452')]});}}else{_0x384ff2[_0x477d('0x44a')]({'title':_0x222ae7[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x222ae7[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x222ae7[_0x477d('0x44d')]:_0x477d('0x1e3f'),'msg':_0x222ae7['data']?JSON[_0x477d('0x3fb')](_0x222ae7['data'][_0x477d('0x452')]):_0x222ae7[_0x477d('0x453')]()});}});}function _0x5c78a2(_0x4614b3){_0x194fb6[_0x477d('0xd67')]=[];var _0x551417=_0x357f6a[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xd79'))['content']('The\x20queueCampaign\x20will\x20be\x20deleted.')['ariaLabel'](_0x477d('0x1e40'))['ok']('Delete')[_0x477d('0x4f0')](_0x477d('0x688'))[_0x477d('0xd7c')](_0x4614b3);_0x357f6a[_0x477d('0x395')](_0x551417)[_0x477d('0x76')](function(){_0x5bfea2[_0x477d('0xa76')][_0x477d('0xa55')]({'id':_0x194fb6[_0x477d('0x163e')]['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_['remove'](_0x194fb6['queueCampaigns'],{'id':_0x194fb6[_0x477d('0x163e')]['id']});_0x384ff2[_0x477d('0x485')]({'title':_0x477d('0x1e41'),'msg':(_0x194fb6[_0x477d('0x163e')][_0x477d('0x94')]||_0x477d('0x163e'))+_0x477d('0xd7e')});_0x28de79(_0x194fb6[_0x477d('0x163e')]);})[_0x477d('0xf8')](function(_0x5e0a09){if(_0x5e0a09[_0x477d('0x451')]&&_0x5e0a09[_0x477d('0x451')][_0x477d('0xd67')]&&_0x5e0a09['data'][_0x477d('0xd67')][_0x477d('0x79')]){_0x194fb6[_0x477d('0xd67')]=_0x5e0a09[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x5e0a09[_0x477d('0x453')](),'type':'api.voiceQueue.delete'}];for(var _0x1c6c9f=0x0;_0x1c6c9f<_0x5e0a09[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x1c6c9f++){_0x384ff2['error']({'title':_0x5e0a09['data'][_0x477d('0xd67')][_0x1c6c9f][_0x477d('0x439')],'msg':_0x5e0a09[_0x477d('0x451')][_0x477d('0xd67')][_0x1c6c9f][_0x477d('0x452')]});}}else{_0x384ff2[_0x477d('0x44a')]({'title':_0x5e0a09[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x5e0a09[_0x477d('0x3c3')]+'\x20-\x20'+_0x5e0a09[_0x477d('0x44d')]:_0x477d('0x1e42'),'msg':_0x5e0a09['data']?JSON[_0x477d('0x3fb')](_0x5e0a09[_0x477d('0x451')][_0x477d('0x452')]):_0x5e0a09[_0x477d('0x452')]||_0x5e0a09[_0x477d('0x453')]()});}});},function(){});}function _0x3c15e8(_0x5375e3){return _0x5375e3===null?undefined:new Date(_0x5375e3);}function _0x28de79(_0x10aa2f){_0x357f6a[_0x477d('0x3bc')](_0x10aa2f);}}}());(function(){'use strict';_0x5c1c4[_0x477d('0xa')]=['$mdDialog','$q','toasty','api',_0x477d('0x163e'),_0x477d('0x163d'),_0x477d('0x11f1'),_0x477d('0x40d'),_0x477d('0x55'),_0x477d('0xd66')];angular['module'](_0x477d('0x3a'))[_0x477d('0x3ba')]('QueueCampaignagentaddController',_0x5c1c4);function _0x5c1c4(_0x5a2448,_0x3c5f8c,_0x58ff4,_0x18f824,_0x3487b8,_0xe65506,_0x1f984f,_0x432a21,_0xb02e6a,_0x4ad6f5){var _0x531c24=this;_0x531c24[_0x477d('0x3e5')]=_0xb02e6a[_0x477d('0x5c')]();_0x531c24[_0x477d('0x163e')]=_0x3487b8;_0x531c24[_0x477d('0xd66')]=_0x4ad6f5;_0x531c24['penalty']=0x0;_0x531c24[_0x477d('0x11f1')]=_0x1f984f;_0x531c24[_0x477d('0x4a6')]=[];_0x531c24['allowedItems']=[];_0x531c24[_0x477d('0x4a7')]=[];_0x531c24[_0x477d('0x11f2')]=[];_0x531c24['startingSelectedItems']=[];_0x531c24[_0x477d('0x11f5')]=![];_0x531c24[_0x477d('0x71a')]=_0x52cf23;_0x531c24[_0x477d('0x11f3')]=_0x95e54e;_0x531c24[_0x477d('0x6bf')]=_0x254e4a;_0x531c24[_0x477d('0x1185')]={'readOnly':!_0x531c24[_0x477d('0xd66')]['canEdit'],'items':[],'selectedItems':[],'showSelectAndDeselectAll':!![],'orderBy':_0x477d('0x94'),'line1':'fullname','line2':['name',_0x477d('0x324')],'line3':'penalty','labelAll':_0x432a21[_0x477d('0x45f')]('MOTIONDIALER.ALL_AGENTS'),'labelSelected':_0x432a21[_0x477d('0x45f')](_0x477d('0x1e43')),'transferCallback':function(_0x28509e,_0x436bb6){if(_0x436bb6){_0x28509e[_0x477d('0x3b1')](function(_0x33f3e2){_0x33f3e2[_0x477d('0x1184')]=undefined;});}else{_0x28509e['forEach'](function(_0x5eb63f){_0x5eb63f['penalty']=_0x477d('0x1529')+_0x531c24['penalty'];});}var _0xce2cd8=_[_0x477d('0x1e44')](_0x531c24['startingSelectedItems'],_0x531c24[_0x477d('0x4a7')],function(_0xc06968,_0x23cea0){return _0xc06968['id']===_0x23cea0['id']&&_0xc06968[_0x477d('0x1184')]===_0x23cea0['penalty'];});_0x531c24[_0x477d('0x11f5')]=_['isEmpty'](_0xce2cd8)?![]:!![];}};function _0x52cf23(){return _0xb02e6a['hasRole'](_0x477d('0x5f'))?_0x2f76ba()[_0x477d('0xf8')](function(_0x427187){_0x58ff4[_0x477d('0x44a')]({'title':_0x427187[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x427187[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x427187[_0x477d('0x44d')]:_0x477d('0x11f6'),'msg':_0x427187[_0x477d('0x3c3')]?JSON[_0x477d('0x3fb')](_0x427187['data']):_0x427187[_0x477d('0x453')]()});}):_0x534a3b()[_0x477d('0x76')](function(_0x40fee0){_0x531c24[_0x477d('0xd99')]=_0x40fee0;return _0x2f76ba();})['catch'](function(_0x216b0f){_0x58ff4['error']({'title':_0x216b0f[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x216b0f[_0x477d('0x3c3')]+'\x20-\x20'+_0x216b0f['statusText']:'SYSTEM:GET_AGENTS','msg':_0x216b0f[_0x477d('0x3c3')]?JSON[_0x477d('0x3fb')](_0x216b0f['data']):_0x216b0f[_0x477d('0x453')]()});});}function _0x534a3b(){return _0x3c5f8c(function(_0x16be48,_0x1839cc){_0x18f824['userProfileSection'][_0x477d('0x376')]({'userProfileId':_0x531c24['currentUser'][_0x477d('0x61')],'name':'Agents'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x4044d2){var _0x311658=_0x4044d2&&_0x4044d2['rows']?_0x4044d2[_0x477d('0xf2')][0x0]:null;_0x16be48(_0x311658);})[_0x477d('0xf8')](function(_0x4aff74){_0x1839cc(_0x4aff74);});});}function _0x2f76ba(){return _0x3c5f8c(function(_0x42f561,_0x52a979){return _0x3970f4()['then'](function(_0x38ed72){_0x531c24[_0x477d('0x4a6')]=_0x38ed72[_0x477d('0xf2')]?_0x38ed72[_0x477d('0xf2')]:[];if(_0xb02e6a[_0x477d('0x56')](_0x477d('0x5f'))){return _0x38ed72;}else{if(_0x531c24[_0x477d('0xd99')]){return _0x531c24[_0x477d('0xd99')][_0x477d('0x3ad')]?_0x38ed72:_0x51c3bd();}else{return null;}}})[_0x477d('0x76')](function(_0xf342dc){var _0x55f823=_0xf342dc&&_0xf342dc[_0x477d('0xf2')]?_0xf342dc[_0x477d('0xf2')]:[];_0x531c24[_0x477d('0x11f7')]=_[_0x477d('0x3cb')](_0x55f823,function(_0x233d43){return _[_0x477d('0x10a')](_0x531c24[_0x477d('0x4a6')],{'id':_0xb02e6a[_0x477d('0x56')](_0x477d('0x5f'))||_0x531c24['section'][_0x477d('0x3ad')]?_0x233d43['id']:_0x233d43[_0x477d('0x3af')]});});_0x531c24['startingAllowedItems']=angular[_0x477d('0x6d9')](_0x531c24[_0x477d('0x11f7')]);_0x531c24[_0x477d('0x4a6')][_0x477d('0x3b1')](function(_0x1ebd0a){var _0x4e37d4=_[_0x477d('0x10a')](_0x531c24[_0x477d('0x11f7')],{'id':_0x1ebd0a['id']});if(_0xb02e6a[_0x477d('0x56')](_0x477d('0x5f'))){_0x1ebd0a[_0x477d('0x4a3')]=!![];}else{_0x1ebd0a[_0x477d('0x4a3')]=typeof _0x4e37d4!=='undefined'?!![]:![];}});return _0x20875e();})['then'](function(_0x216588){var _0x12f1fa=_0x216588&&_0x216588[_0x477d('0xf2')]?_0x216588[_0x477d('0xf2')]:[];_0x531c24[_0x477d('0x4a7')]=_[_0x477d('0x3cb')](_0x12f1fa,function(_0x2e1476){var _0x19dc3c=_[_0x477d('0x10a')](_0x531c24[_0x477d('0x4a6')],{'id':_0x2e1476['id']});_0x19dc3c['penalty']=_0x2e1476[_0x477d('0x1e45')]?_0x477d('0x1529')+_0x2e1476['UserVoiceQueue'][_0x477d('0x1184')]:'';_0x19dc3c['internal']=_0x2e1476[_0x477d('0x3ea')](_0x477d('0x324'))?'<'+_0x2e1476[_0x477d('0x324')]+'>':'';return _0x19dc3c;});_0x531c24[_0x477d('0x11fd')]=angular['copy'](_0x531c24[_0x477d('0x4a7')]);_0x531c24['dualMultiselectOptions'][_0x477d('0x4a7')]=_0x531c24['selectedItems'];_0x531c24[_0x477d('0x1185')][_0x477d('0x4a6')]=_[_0x477d('0x11f8')](_0x531c24[_0x477d('0x11f7')],_0x531c24[_0x477d('0x1185')][_0x477d('0x4a7')],'id');_0x42f561();})[_0x477d('0xf8')](function(_0x2ed64c){_0x52a979(_0x2ed64c);});});}function _0x51c3bd(){return _0x3c5f8c(function(_0x325140,_0x488821){return _0x18f824[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x531c24[_0x477d('0xd99')]['id'],'nolimit':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x3c004e){_0x325140(_0x3c004e);})[_0x477d('0xf8')](function(_0xa6561d){_0x488821(_0xa6561d);});});}function _0x20875e(){return _0x3c5f8c(function(_0x38fd48,_0xf164e2){return _0x18f824[_0x477d('0xa76')][_0x477d('0x11f9')]({'id':_0x531c24[_0x477d('0x163e')]['id'],'fields':_0x477d('0x11fa'),'nolimit':!![],'role':_0x477d('0xcf')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x28ae7a){_0x38fd48(_0x28ae7a);})[_0x477d('0xf8')](function(_0x39cf8d){_0xf164e2(_0x39cf8d);});});}function _0x3970f4(){return _0x3c5f8c(function(_0x2fb800,_0x24278a){return _0x18f824['user'][_0x477d('0x376')]({'fields':_0x477d('0x11fa'),'nolimit':!![],'role':'agent'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x4f1ee1){_0x2fb800(_0x4f1ee1);})['catch'](function(_0x381f29){_0x24278a(_0x381f29);});});}function _0x1b51b4(_0xe34a33){return _0x3c5f8c(function(_0x413875,_0x140144){if(_[_0x477d('0x3b2')](_0xe34a33)){_0x413875();}else{var _0x34bdc7=[];var _0x612a5=_[_0x477d('0x3ee')](_0xe34a33,_0x477d('0x1184'));for(var _0x1c1265=0x0;_0x1c1265'+_0x1ffabe[_0x477d('0x1e4f')][_0x477d('0x79')]+_0x477d('0xda0')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x1e54'))[_0x477d('0xd7c')](_0x3b8c88)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x4c9bb8[_0x477d('0x395')](_0x5858f5)['then'](function(){_0x1ffabe[_0x477d('0x1e4f')][_0x477d('0x3b1')](function(_0x2b2c2e){_0x43354a(_0x2b2c2e);});_0x1ffabe[_0x477d('0x1e4f')]=[];});}var _0x28bdd3=!![];var _0x3525ac=0x1;_0x5d17e1[_0x477d('0x4b5')](_0x477d('0x12f3'),function(_0x3e7b35,_0x50bd73){if(_0x28bdd3){_0x38e2e1(function(){_0x28bdd3=![];});}else{if(!_0x50bd73){_0x3525ac=_0x1ffabe[_0x477d('0x3ef')]['page'];}if(_0x3e7b35!==_0x50bd73){_0x1ffabe[_0x477d('0x3ef')]['page']=0x1;}if(!_0x3e7b35){_0x1ffabe[_0x477d('0x3ef')][_0x477d('0xe03')]=_0x3525ac;}_0xc613de();}});}}());(function(){'use strict';_0x39f8cc[_0x477d('0xa')]=[_0x477d('0x385'),'$scope',_0x477d('0x3c4'),'$q','$translate','$timeout',_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x40e'),_0x477d('0x386'),_0x477d('0x55')];angular[_0x477d('0xb')]('app.motiondialer')['controller']('QueueCampaignHopperFinalsController',_0x39f8cc);function _0x39f8cc(_0x44246b,_0x105d4e,_0x4ab630,_0x1f528c,_0x3b6810,_0x28dcf9,_0x4cd071,_0x15dc39,_0x7a71a7,_0xe8eaf0,_0x59fbab){var _0x15d075=this;_0x15d075['currentUser']=_0x59fbab[_0x477d('0x5c')]();_0x15d075[_0x477d('0x1449')]={};_0x15d075[_0x477d('0x163e')]={};_0x15d075['queueCampaignHopperFinals']={'count':0x0,'rows':[]};_0x15d075[_0x477d('0x1e55')]=[];_0x15d075[_0x477d('0xd66')];_0x15d075[_0x477d('0x3ef')]={'fields':_0x477d('0x1e56'),'sort':'-id','limit':0xa,'page':0x1};_0x15d075[_0x477d('0x5ee')]=_0x1dc838;_0x15d075[_0x477d('0xe66')]=_0x3b83e3;_0x15d075[_0x477d('0x485')]=_0x2b0b01;_0x15d075[_0x477d('0x1e57')]=_0x248f97;_0x15d075[_0x477d('0x1e58')]=_0x165233;_0x15d075['exportSelectedQueueCampaignHopperFinals']=_0x2f908e;_0x15d075[_0x477d('0x1e59')]=_0x17b51f;_0x15d075[_0x477d('0x1e5a')]=_0x139f94;_0x15d075[_0x477d('0x1e5b')]=_0x4dee9c;_0x15d075[_0x477d('0x1e5c')]=_0x546e0d;_0x15d075['countContactsQueueCampaignHopperFinal']=_0x494c14;_0x15d075[_0x477d('0x1dbc')]=_0x2adc88;_0x15d075['moveSelectedQueueCampaignHopperFinals']=_0x2ec208;function _0x1dc838(_0x146e1d,_0x93a433){_0x15d075[_0x477d('0x163e')]=_0x146e1d;_0x15d075[_0x477d('0xd66')]=typeof _0x93a433!==_0x477d('0x4a4')?_0x93a433:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x15d075[_0x477d('0x3ef')]['VoiceQueueId']=_0x15d075[_0x477d('0x163e')]['id'];_0x15d075[_0x477d('0x3ef')]['id']=_0x15d075['queueCampaign']['id'];_0x248f97();}function _0x3b83e3(_0x329b74,_0x1b601a){var _0x30afe3=_0x4cd071['confirm']()[_0x477d('0x49a')](_0x477d('0x1dbf'))[_0x477d('0xd92')](_0x477d('0xd93')+(_0x329b74[_0x477d('0x94')]||_0x329b74['id']&&_[_0x477d('0x1367')]('hopperFinal\x20#')+_0x329b74['id']||_0x477d('0x1dc1'))+_0x477d('0xd94')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x1dc2'))[_0x477d('0xd7c')](_0x1b601a)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x4cd071[_0x477d('0x395')](_0x30afe3)[_0x477d('0x76')](function(){_0x17b51f(_0x329b74);},function(){console[_0x477d('0x7b')](_0x477d('0xd97'));});}function _0x2b0b01(_0x40dcfd){_0x15d075[_0x477d('0x1e5d')]=_0x40dcfd||{'count':0x0,'rows':[]};}function _0x248f97(){_0x15d075[_0x477d('0x3ef')][_0x477d('0x91c')]=(_0x15d075['query'][_0x477d('0xe03')]-0x1)*_0x15d075[_0x477d('0x3ef')][_0x477d('0x91d')];_0x15d075['promise']=_0xe8eaf0[_0x477d('0xa76')][_0x477d('0x14c5')](_0x15d075['query'],_0x2b0b01)[_0x477d('0x38b')];}function _0x165233(_0x481227,_0x11de86){_0x4cd071[_0x477d('0x395')]({'controller':_0x477d('0x1e5e'),'controllerAs':'vm','templateUrl':'app/main/apps/motiondialer/views/queueCampaigns/edit/hopperFinals/dialog.html','parent':angular[_0x477d('0x398')](_0x15dc39['body']),'targetEvent':_0x481227,'clickOutsideToClose':!![],'locals':{'queueCampaign':_0x15d075[_0x477d('0x163e')],'hopperFinal':_0x11de86,'hopperFinals':_0x15d075[_0x477d('0x1e5d')][_0x477d('0xf2')],'license':null,'setting':null,'crudPermissions':_0x15d075[_0x477d('0xd66')]}});}function _0x17b51f(_0x47a579){_0xe8eaf0['hopperFinal'][_0x477d('0xa55')]({'id':_0x47a579['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x15d075[_0x477d('0x1e5d')][_0x477d('0xf2')],{'id':_0x47a579['id']});_0x15d075[_0x477d('0x1e5d')][_0x477d('0x3bb')]-=0x1;if(!_0x15d075['queueCampaignHopperFinals']['rows'][_0x477d('0x79')]){_0x248f97();}_0x7a71a7['success']({'title':_0x477d('0x1dc4'),'msg':_0x47a579[_0x477d('0x94')]?_0x47a579['name']+_0x477d('0xd7e'):''});})[_0x477d('0xf8')](function(_0x5ea6ba){if(_0x5ea6ba[_0x477d('0x451')]&&_0x5ea6ba[_0x477d('0x451')][_0x477d('0xd67')]&&_0x5ea6ba['data'][_0x477d('0xd67')][_0x477d('0x79')]){vm[_0x477d('0xd67')]=_0x5ea6ba['data'][_0x477d('0xd67')]||[{'message':_0x5ea6ba[_0x477d('0x453')](),'type':_0x477d('0x1dc8')}];for(var _0x4b70c2=0x0;_0x4b70c2<_0x5ea6ba[_0x477d('0x451')][_0x477d('0xd67')]['length'];_0x4b70c2++){_0x7a71a7[_0x477d('0x44a')]({'title':_0x5ea6ba[_0x477d('0x451')][_0x477d('0xd67')][_0x4b70c2][_0x477d('0x439')],'msg':_0x5ea6ba['data'][_0x477d('0xd67')][_0x4b70c2][_0x477d('0x452')]});}}else{_0x7a71a7[_0x477d('0x44a')]({'title':_0x5ea6ba[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x5ea6ba[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x5ea6ba[_0x477d('0x44d')]:_0x477d('0x1dc8'),'msg':_0x5ea6ba[_0x477d('0x451')]?JSON['stringify'](_0x5ea6ba[_0x477d('0x451')][_0x477d('0x452')]):_0x5ea6ba[_0x477d('0x452')]||_0x5ea6ba[_0x477d('0x453')]()});}});}function _0x2f908e(){var _0x187bd9=angular[_0x477d('0x6d9')](_0x15d075[_0x477d('0x1e55')]);_0x15d075[_0x477d('0x1e55')]=[];return _0x187bd9;}function _0x139f94(_0x17363b){var _0x5da5bf=_0x4cd071[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x1e5f'))[_0x477d('0xd92')](_0x477d('0xd93')+_0x15d075[_0x477d('0x1e55')][_0x477d('0x79')]+_0x477d('0xda0')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x1dc5'))['targetEvent'](_0x17363b)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x4cd071[_0x477d('0x395')](_0x5da5bf)[_0x477d('0x76')](function(){_0x15d075['selectedQueueCampaignHopperFinals'][_0x477d('0x3b1')](function(_0x4dcff0){_0x17b51f(_0x4dcff0);});_0x15d075[_0x477d('0x1e55')]=[];});}function _0x546e0d(_0x268795){_0xe8eaf0[_0x477d('0xb80')][_0x477d('0x1e5c')]({'id':_0x15d075['query']['id'],'state':_0x268795})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x3118e6){if(_['isNil'](_0x3118e6)&&_[_0x477d('0x484')](_0x3118e6[0x0])){_0x7a71a7[_0x477d('0x669')]({'title':'Restored\x20Contacts','msg':'0'});}else{_0x7a71a7[_0x477d('0x669')]({'title':_0x477d('0x1dc7'),'msg':JSON['stringify'](_0x3118e6[0x0][_0x477d('0x14dd')])});}})[_0x477d('0xf8')](function(_0x2198f9){_0x7a71a7[_0x477d('0x44a')]({'title':_0x2198f9[_0x477d('0x3c3')]?'API:'+_0x2198f9[_0x477d('0x3c3')]+'\x20-\x20'+_0x2198f9[_0x477d('0x44d')]:_0x477d('0x1dc8'),'msg':_0x2198f9[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x2198f9[_0x477d('0x451')]['message']):_0x2198f9[_0x477d('0x452')]||_0x2198f9[_0x477d('0x453')]()});});}function _0x494c14(_0xa825a9){_0xe8eaf0[_0x477d('0xb80')]['countContactsQueueCampaignHopperFinal']({'id':_0xa825a9})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x4dee2c){_[_0x477d('0xef')](_0x15d075[_0x477d('0x1449')],_0x4dee2c[0x0]);})[_0x477d('0xf8')](function(_0x3eb67c){_0x7a71a7[_0x477d('0x44a')]({'title':_0x3eb67c['status']?_0x477d('0x44b')+_0x3eb67c[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x3eb67c[_0x477d('0x44d')]:_0x477d('0x1dc8'),'msg':_0x3eb67c[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x3eb67c['data'][_0x477d('0x452')]):_0x3eb67c[_0x477d('0x452')]||_0x3eb67c[_0x477d('0x453')]()});});}function _0x2ec208(_0x3982f4){var _0x49beb8=_0x4cd071[_0x477d('0xd78')]()['title'](_0x477d('0x1dc9'))[_0x477d('0xd92')](_0x477d('0x1e60')+_0x477d('0x1dca'))[_0x477d('0x687')](_0x477d('0x1dcb'))['targetEvent'](_0x3982f4)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x4cd071[_0x477d('0x395')](_0x49beb8)[_0x477d('0x76')](function(){_0x15d075[_0x477d('0x1e55')][_0x477d('0x3b1')](function(_0x463a92){_0x4dee9c(_0x463a92);});_0x15d075[_0x477d('0x1e55')]=[];});}function _0x2adc88(_0x4a7761,_0x5cd765){var _0x2c6707=_0x4cd071['confirm']()[_0x477d('0x49a')](_0x477d('0x1dcc'))[_0x477d('0xd92')](_0x477d('0xd93')+'Contact'+_0x477d('0xd94')+_0x477d('0x1dca'))['ariaLabel'](_0x477d('0x1e61'))['targetEvent'](_0x5cd765)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x4cd071[_0x477d('0x395')](_0x2c6707)[_0x477d('0x76')](function(){_0x4dee9c(_0x4a7761);},function(){console[_0x477d('0x7b')](_0x477d('0xd97'));});}function _0xe88f18(_0x50c5bb){var _0x6a6d14={};_0x6a6d14[_0x477d('0xf46')]=_0x50c5bb[_0x477d('0x15c2')];_0x6a6d14[_0x477d('0x14d1')]=moment()['format'](_0x477d('0x38d'));_0x6a6d14[_0x477d('0x1dcd')]=0x0;_0x6a6d14[_0x477d('0x1dd0')]=0x0;_0x6a6d14[_0x477d('0x1dce')]=0x0;_0x6a6d14['countglobal']=0x0;_0x6a6d14[_0x477d('0x1624')]=_0x50c5bb[_0x477d('0x1624')];_0x6a6d14['ListId']=_0x50c5bb['ListId'];_0x6a6d14[_0x477d('0x125b')]=_0x50c5bb[_0x477d('0x1e62')]?null:_0x50c5bb['UserId'];_0x6a6d14[_0x477d('0x17b0')]=_0x50c5bb['VoiceQueueId'];_0x6a6d14[_0x477d('0x1dbe')]=_0x50c5bb[_0x477d('0x1dbe')];_0x6a6d14[_0x477d('0x1243')]=_0x50c5bb[_0x477d('0x163c')]?0x3:0x2;_0x6a6d14[_0x477d('0x163c')]=_0x50c5bb[_0x477d('0x163c')]?!![]:![];return _0x6a6d14;}function _0x3d4c41(_0x1e2db9){var _0x10cd5d={};_0x10cd5d[_0x477d('0x15c2')]=_0x1e2db9[_0x477d('0x15c2')];_0x10cd5d[_0x477d('0x15ce')]=_0x1e2db9[_0x477d('0x15ce')];_0x10cd5d['scheduledat']=moment()[_0x477d('0x12f')](_0x477d('0x38d'));_0x10cd5d[_0x477d('0x1dcd')]=_0x1e2db9[_0x477d('0x1dcd')];_0x10cd5d['countcongestionretry']=_0x1e2db9[_0x477d('0x1dd0')];_0x10cd5d[_0x477d('0x1dce')]=_0x1e2db9[_0x477d('0x1dce')];_0x10cd5d[_0x477d('0x1dcf')]=_0x1e2db9[_0x477d('0x1dcf')];_0x10cd5d[_0x477d('0x1624')]=_0x1e2db9[_0x477d('0x1624')];_0x10cd5d[_0x477d('0x1229')]=_0x1e2db9[_0x477d('0x1229')];_0x10cd5d['UserId']=_0x59fbab[_0x477d('0x5c')]()['id'];_0x10cd5d[_0x477d('0x17b0')]=_0x1e2db9['VoiceQueueId'];_0x10cd5d[_0x477d('0x1dbe')]=_0x1e2db9['CampaignId'];_0x10cd5d[_0x477d('0x1dd1')]=moment()[_0x477d('0x12f')]('YYYY-MM-DD\x20HH:mm:ss');_0x10cd5d[_0x477d('0x1dd2')]=!![];_0x10cd5d[_0x477d('0xe')]=0x19;_0x10cd5d['statedesc']=_0x477d('0x1dd4');_0x10cd5d[_0x477d('0xca8')]=_0x1e2db9[_0x477d('0xca8')];_0x10cd5d[_0x477d('0x1dd5')]=_0x1e2db9[_0x477d('0x17b0')]?_0x477d('0x1256'):_0x477d('0x209');return _0x10cd5d;}function _0x4dee9c(_0x21f3fb){_0xe8eaf0[_0x477d('0xb80')]['checkContactHopper'](_0x21f3fb)[_0x477d('0x38b')]['then'](function(_0x375ece){_0x7a71a7['info']({'title':_0x477d('0x1dd9'),'msg':_0x477d('0x1dd8')+_0x375ece[_0x477d('0x1624')]});})[_0x477d('0xf8')](function(_0x3eaae2){if(_0x3eaae2[_0x477d('0x451')]===_0x477d('0x1dd7')){_0xe8eaf0[_0x477d('0xb79')][_0x477d('0xd70')](_0xe88f18(_0x21f3fb))['$promise'][_0x477d('0x76')](function(_0x46a55f){_0x7a71a7[_0x477d('0x669')]({'title':'Restored\x20Contact','msg':_0x477d('0x1dd8')+_0x46a55f['ContactId']});if(_0x46a55f['ContactId']){_0xe8eaf0[_0x477d('0xe3e')][_0x477d('0xd70')](_0x3d4c41(_0x21f3fb));}})[_0x477d('0xf8')](function(_0x4824f1){if(!_[_0x477d('0x484')](_0x4824f1[_0x477d('0x451')])&&_0x4824f1[_0x477d('0x451')][_0x477d('0x452')]===_0x477d('0x1e63')){_0x7a71a7[_0x477d('0x669')]({'title':_0x477d('0x1dd9'),'msg':'Contact\x20ID\x20'+_0x21f3fb[_0x477d('0x1624')]});}else{_0x7a71a7[_0x477d('0x44a')]({'title':_0x4824f1[_0x477d('0x3c3')]?'API:'+_0x4824f1[_0x477d('0x3c3')]+'\x20-\x20'+_0x4824f1[_0x477d('0x44d')]:_0x477d('0x1dc8'),'msg':_0x4824f1['data']?JSON[_0x477d('0x3fb')](_0x4824f1[_0x477d('0x451')][_0x477d('0x452')]):_0x4824f1['message']||_0x4824f1[_0x477d('0x453')]()});}});}else{_0x7a71a7[_0x477d('0x44a')]({'title':_0x3eaae2[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x3eaae2['status']+_0x477d('0x44c')+_0x3eaae2[_0x477d('0x44d')]:_0x477d('0x1dc8'),'msg':_0x3eaae2['data']?JSON['stringify'](_0x3eaae2[_0x477d('0x451')][_0x477d('0x452')]):_0x3eaae2[_0x477d('0x452')]||_0x3eaae2[_0x477d('0x453')]()});}});}var _0x523abe=!![];var _0x5d0491=0x1;_0x105d4e['$watch'](_0x477d('0x12f3'),function(_0x5e1d67,_0x1af5ee){if(_0x523abe){_0x28dcf9(function(){_0x523abe=![];});}else{if(!_0x1af5ee){_0x5d0491=_0x15d075['query']['page'];}if(_0x5e1d67!==_0x1af5ee){_0x15d075['query'][_0x477d('0xe03')]=0x1;}if(!_0x5e1d67){_0x15d075[_0x477d('0x3ef')][_0x477d('0xe03')]=_0x5d0491;}_0x248f97();}});}}());(function(){'use strict';_0x337473[_0x477d('0xa')]=[_0x477d('0x385'),_0x477d('0x474'),_0x477d('0x3c4'),'$q','$translate',_0x477d('0x3fe'),'$mdDialog','$document','toasty',_0x477d('0x386'),'Auth'];angular[_0x477d('0xb')](_0x477d('0x3a'))[_0x477d('0x3ba')](_0x477d('0x1e64'),_0x337473);function _0x337473(_0x5e5439,_0x2b384b,_0x2a12df,_0x5a5b20,_0x6b404a,_0x582abd,_0x20219d,_0x2dcb28,_0x15ba70,_0x23ba0f,_0x3134ed){var _0x19089c=this;_0x19089c[_0x477d('0x3e5')]=_0x3134ed['getCurrentUser']();_0x19089c[_0x477d('0x163e')]={};_0x19089c[_0x477d('0x1e65')]={'count':0x0,'rows':[]};_0x19089c['selectedQueueCampaignHopperHistories']=[];_0x19089c[_0x477d('0xd66')];_0x19089c[_0x477d('0x3ef')]={'fields':_0x477d('0x1ddb'),'sort':_0x477d('0x149f'),'limit':0xa,'page':0x1};_0x19089c[_0x477d('0x5ee')]=_0x44b2de;_0x19089c[_0x477d('0xe66')]=_0xa31787;_0x19089c[_0x477d('0x485')]=_0x24bde0;_0x19089c['getQueueCampaignHopperHistories']=_0x3c5923;_0x19089c[_0x477d('0x1e66')]=_0x1d7761;_0x19089c[_0x477d('0x1e67')]=_0x109a3a;_0x19089c[_0x477d('0x1e68')]=_0xef7643;_0x19089c[_0x477d('0x1e69')]=_0x3b1830;function _0x44b2de(_0x1d6668,_0x1d5ee7){_0x19089c[_0x477d('0x163e')]=_0x1d6668;_0x19089c['crudPermissions']=typeof _0x1d5ee7!==_0x477d('0x4a4')?_0x1d5ee7:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x19089c[_0x477d('0x3ef')][_0x477d('0x17b0')]=_0x19089c[_0x477d('0x163e')]['id'];_0x19089c[_0x477d('0x3ef')]['id']=_0x19089c['queueCampaign']['id'];_0x3c5923();}function _0xa31787(_0x5e4a8c,_0x4209ac){var _0x1afff9=_0x20219d['confirm']()[_0x477d('0x49a')](_0x477d('0x1ddf'))[_0x477d('0xd92')](_0x477d('0xd93')+(_0x5e4a8c[_0x477d('0x94')]||_0x5e4a8c['id']&&_[_0x477d('0x1367')](_0x477d('0x1de0'))+_0x5e4a8c['id']||_0x477d('0x1de1'))+_0x477d('0xd94')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x1de2'))[_0x477d('0xd7c')](_0x4209ac)['ok']('OK')['cancel'](_0x477d('0xd97'));_0x20219d[_0x477d('0x395')](_0x1afff9)[_0x477d('0x76')](function(){_0xef7643(_0x5e4a8c);},function(){console['log'](_0x477d('0xd97'));});}function _0x24bde0(_0x27bc11){_0x19089c[_0x477d('0x1e65')]=_0x27bc11||{'count':0x0,'rows':[]};}function _0x3c5923(){_0x19089c[_0x477d('0x3ef')][_0x477d('0x91c')]=(_0x19089c[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x19089c[_0x477d('0x3ef')][_0x477d('0x91d')];_0x19089c[_0x477d('0x553')]=_0x23ba0f[_0x477d('0xa76')][_0x477d('0x14c6')](_0x19089c[_0x477d('0x3ef')],_0x24bde0)[_0x477d('0x38b')];}function _0x1d7761(_0x5620af,_0x172368){_0x20219d[_0x477d('0x395')]({'controller':_0x477d('0x1de4'),'controllerAs':'vm','templateUrl':_0x477d('0x1e6a'),'parent':angular[_0x477d('0x398')](_0x2dcb28[_0x477d('0x399')]),'targetEvent':_0x5620af,'clickOutsideToClose':!![],'locals':{'queueCampaign':_0x19089c[_0x477d('0x163e')],'hopperHistory':_0x172368,'hopperHistories':_0x19089c[_0x477d('0x1e65')][_0x477d('0xf2')],'license':null,'setting':null,'crudPermissions':_0x19089c[_0x477d('0xd66')]}});}function _0xef7643(_0x26f5f6){_0x23ba0f[_0x477d('0x1de1')]['delete']({'id':_0x26f5f6['id']})['$promise']['then'](function(){_[_0x477d('0x39c')](_0x19089c[_0x477d('0x1e65')]['rows'],{'id':_0x26f5f6['id']});_0x19089c[_0x477d('0x1e65')]['count']-=0x1;if(!_0x19089c['queueCampaignHopperHistories'][_0x477d('0xf2')]['length']){_0x3c5923();}_0x15ba70[_0x477d('0x485')]({'title':'HopperHistory\x20deleted!','msg':_0x26f5f6[_0x477d('0x94')]?_0x26f5f6[_0x477d('0x94')]+_0x477d('0xd7e'):''});})[_0x477d('0xf8')](function(_0x958a69){if(_0x958a69['data']&&_0x958a69[_0x477d('0x451')][_0x477d('0xd67')]&&_0x958a69[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){vm[_0x477d('0xd67')]=_0x958a69[_0x477d('0x451')]['errors']||[{'message':_0x958a69['toString'](),'type':_0x477d('0x1dc8')}];for(var _0x1ca09c=0x0;_0x1ca09c<_0x958a69['data'][_0x477d('0xd67')]['length'];_0x1ca09c++){_0x15ba70[_0x477d('0x44a')]({'title':_0x958a69[_0x477d('0x451')][_0x477d('0xd67')][_0x1ca09c][_0x477d('0x439')],'msg':_0x958a69['data'][_0x477d('0xd67')][_0x1ca09c][_0x477d('0x452')]});}}else{_0x15ba70['error']({'title':_0x958a69[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x958a69[_0x477d('0x3c3')]+'\x20-\x20'+_0x958a69[_0x477d('0x44d')]:_0x477d('0x1dc8'),'msg':_0x958a69[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x958a69[_0x477d('0x451')][_0x477d('0x452')]):_0x958a69[_0x477d('0x452')]||_0x958a69['toString']()});}});}function _0x109a3a(){var _0x1dea56=angular[_0x477d('0x6d9')](_0x19089c[_0x477d('0x1e6b')]);_0x19089c['selectedQueueCampaignHopperHistories']=[];return _0x1dea56;}function _0x3b1830(_0x3a3543){var _0x10472f=_0x20219d[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x1e6c'))[_0x477d('0xd92')](_0x477d('0xd93')+_0x19089c[_0x477d('0x1e6b')][_0x477d('0x79')]+'\x20selected'+'\x20will\x20be\x20deleted.')[_0x477d('0x687')]('delete\x20hopperHistories')[_0x477d('0xd7c')](_0x3a3543)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x20219d[_0x477d('0x395')](_0x10472f)[_0x477d('0x76')](function(){_0x19089c['selectedQueueCampaignHopperHistories'][_0x477d('0x3b1')](function(_0x37a2bc){_0xef7643(_0x37a2bc);});_0x19089c[_0x477d('0x1e6b')]=[];});}var _0x2cf80a=!![];var _0x3170d0=0x1;_0x2b384b[_0x477d('0x4b5')]('vm_dc.query.filter',function(_0x2cfadf,_0x4b34c0){if(_0x2cf80a){_0x582abd(function(){_0x2cf80a=![];});}else{if(!_0x4b34c0){_0x3170d0=_0x19089c[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x2cfadf!==_0x4b34c0){_0x19089c['query']['page']=0x1;}if(!_0x2cfadf){_0x19089c['query'][_0x477d('0xe03')]=_0x3170d0;}_0x3c5923();}});}}());(function(){'use strict';_0x3d187e['$inject']=[_0x477d('0x385'),'$scope',_0x477d('0x3c4'),'$q',_0x477d('0x40d'),'$timeout',_0x477d('0x384'),_0x477d('0x475'),'toasty',_0x477d('0x386'),'Auth'];angular['module'](_0x477d('0x3a'))[_0x477d('0x3ba')]('QueueCampaignHoppersController',_0x3d187e);function _0x3d187e(_0x334889,_0x197fe2,_0xe6029e,_0x227686,_0x39a07d,_0x63eb8a,_0x1b8b27,_0x2d86e5,_0x36c34f,_0x269986,_0x39dc5d){var _0x404a70=this;_0x404a70[_0x477d('0x3e5')]=_0x39dc5d['getCurrentUser']();_0x404a70[_0x477d('0x163e')]={};_0x404a70[_0x477d('0x1e6d')]={'count':0x0,'rows':[]};_0x404a70[_0x477d('0x1e6e')]=[];_0x404a70[_0x477d('0xd66')];_0x404a70['query']={'fields':_0x477d('0x1e6f'),'sort':_0x477d('0x59'),'limit':0xa,'page':0x1};_0x404a70[_0x477d('0x1497')]=_['keyBy']([{'option':_0x477d('0xf81'),'value':_0x477d('0x1498')},{'option':_0x477d('0x1499'),'value':_0x477d('0x149a')},{'option':_0x477d('0xf82'),'value':'\x272\x27'},{'option':_0x477d('0x17aa'),'value':_0x477d('0x149c')},{'option':'Lowest','value':_0x477d('0x149d')}],function(_0x1eeefe){return _[_0x477d('0x409')](_0x1eeefe[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x404a70['init']=_0x4dfc51;_0x404a70['deleteConfirm']=_0x534df8;_0x404a70[_0x477d('0x485')]=_0x1d5d65;_0x404a70['getQueueCampaignHoppers']=_0x16a810;_0x404a70[_0x477d('0x1e70')]=_0x3f4ce4;_0x404a70['exportSelectedQueueCampaignHoppers']=_0x5f2664;_0x404a70[_0x477d('0x1e71')]=_0x41da0d;_0x404a70[_0x477d('0x1e72')]=_0x466f79;_0x39dc5d[_0x477d('0x56')](_0x477d('0x5f'))?_0x269986[_0x477d('0x380')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'role':_0x477d('0xcf'),'sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})['$promise'][_0x477d('0x76')](function(_0x49b6cf){_0x404a70[_0x477d('0x125c')]=_0x49b6cf[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x3556f9){_0x36c34f[_0x477d('0x44a')]({'title':_0x3556f9[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x3556f9['status']+_0x477d('0x44c')+_0x3556f9[_0x477d('0x44d')]:'SYSTEM:GET_AGENTS','msg':_0x3556f9[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x3556f9[_0x477d('0x451')]):_0x3556f9['toString']()});}):_0x269986['user'][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'role':_0x477d('0xcf'),'sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})['$promise'][_0x477d('0x76')](function(_0x2c96f9){_0x404a70[_0x477d('0x125c')]=_0x2c96f9['rows']||[];})['then'](function(){return _0x269986[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x404a70[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0xca})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x449777){var _0x55fca2=_0x449777&&_0x449777[_0x477d('0xf2')]?_0x449777[_0x477d('0xf2')][0x0]:null;if(!_0x55fca2){var _0x4cb817=[];var _0x11febd=null;if(_0x404a70[_0x477d('0x163e')]){_0x11febd=_[_0x477d('0x10a')](_0x404a70[_0x477d('0x125c')],{'id':Number(_0x404a70[_0x477d('0x163e')][_0x477d('0x125b')])});}for(var _0x2a9916=0x0;_0x2a9916<_0x404a70[_0x477d('0x125c')][_0x477d('0x79')];_0x2a9916++){if(_0x11febd&&_0x404a70[_0x477d('0x125c')][_0x2a9916]['id']===_0x11febd['id']){_0x404a70[_0x477d('0x125c')][_0x2a9916]['canSelect']=![];_0x4cb817[_0x477d('0x3a7')](_0x404a70[_0x477d('0x125c')][_0x2a9916]);}}_0x404a70['agents']=_0x4cb817;}else{if(!_0x55fca2[_0x477d('0x3ad')]){return _0x269986[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x55fca2['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x5718e4){var _0x9bdbe8=_[_0x477d('0x3cb')](_0x5718e4['rows'],function(_0x477da8){return _[_0x477d('0x10a')](_0x404a70['agents'],{'id':_0x477da8[_0x477d('0x3af')]});});var _0x5bcb4a=null;if(_0x404a70[_0x477d('0x163e')]){_0x5bcb4a=_['find'](_0x404a70[_0x477d('0x125c')],{'id':Number(_0x404a70[_0x477d('0x163e')][_0x477d('0x125b')])});}if(_0x5bcb4a&&!_[_0x477d('0x3ab')](_0x9bdbe8,['id',_0x5bcb4a['id']])){var _0x5442b1=_[_0x477d('0x10a')](_0x404a70['agents'],{'id':_0x5bcb4a['id']});_0x5442b1[_0x477d('0xf8b')]=![];_0x9bdbe8[_0x477d('0x3a7')](_0x5442b1);}_0x404a70[_0x477d('0x125c')]=_0x9bdbe8;});}}})[_0x477d('0xf8')](function(_0x4039ec){_0x36c34f['error']({'title':_0x4039ec['status']?'API:'+_0x4039ec[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x4039ec['statusText']:_0x477d('0x12b4'),'msg':_0x4039ec['data']?JSON[_0x477d('0x3fb')](_0x4039ec[_0x477d('0x451')]):_0x4039ec[_0x477d('0x453')]()});});function _0x4dfc51(_0x456248,_0x439f25){_0x404a70[_0x477d('0x163e')]=_0x456248;_0x404a70[_0x477d('0xd66')]=typeof _0x439f25!==_0x477d('0x4a4')?_0x439f25:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x404a70['query'][_0x477d('0x17b0')]=_0x404a70[_0x477d('0x163e')]['id'];_0x404a70[_0x477d('0x3ef')]['id']=_0x404a70['queueCampaign']['id'];_0x16a810();}function _0x534df8(_0x50b40f,_0xd585d8){var _0x2bfdb2=_0x1b8b27[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x1def'))[_0x477d('0xd92')](''+(_0x50b40f['name']||_0x50b40f['id']&&_[_0x477d('0x1367')]('hopper\x20#')+_0x50b40f['id']||_0x477d('0x1485'))+_0x477d('0xd94')+_0x477d('0xd95'))['ariaLabel'](_0x477d('0x14c2'))[_0x477d('0xd7c')](_0xd585d8)['ok']('OK')['cancel'](_0x477d('0xd97'));_0x1b8b27[_0x477d('0x395')](_0x2bfdb2)[_0x477d('0x76')](function(){_0x41da0d(_0x50b40f);},function(){console[_0x477d('0x7b')](_0x477d('0xd97'));});}function _0x1d5d65(_0x5a65f2){_0x404a70['queueCampaignHoppers']=_0x5a65f2||{'count':0x0,'rows':[]};}function _0x16a810(){_0x404a70['query']['offset']=(_0x404a70[_0x477d('0x3ef')]['page']-0x1)*_0x404a70[_0x477d('0x3ef')][_0x477d('0x91d')];_0x404a70[_0x477d('0x553')]=_0x269986[_0x477d('0xa76')][_0x477d('0x14a8')](_0x404a70['query'],_0x1d5d65)[_0x477d('0x38b')];}function _0x3f4ce4(_0xe5230c,_0x50e10a){_0x1b8b27[_0x477d('0x395')]({'controller':_0x477d('0x14bd'),'controllerAs':'vm','templateUrl':_0x477d('0x14be'),'parent':angular['element'](_0x2d86e5[_0x477d('0x399')]),'targetEvent':_0xe5230c,'clickOutsideToClose':!![],'locals':{'queueCampaign':_0x404a70[_0x477d('0x163e')],'hopper':_0x50e10a,'hoppers':_0x404a70['queueCampaignHoppers'][_0x477d('0xf2')],'license':null,'setting':null,'crudPermissions':_0x404a70[_0x477d('0xd66')]}});}function _0x41da0d(_0x2aa111){_0x269986['cmHopper'][_0x477d('0xa55')]({'id':_0x2aa111['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x404a70[_0x477d('0x1e6d')][_0x477d('0xf2')],{'id':_0x2aa111['id']});_0x404a70[_0x477d('0x1e6d')]['count']-=0x1;if(!_0x404a70[_0x477d('0x1e6d')][_0x477d('0xf2')]['length']){_0x16a810();}_0x36c34f[_0x477d('0x485')]({'title':'Hopper\x20deleted!','msg':_0x2aa111['name']?_0x2aa111[_0x477d('0x94')]+'\x20has\x20been\x20deleted!':''});})['catch'](function(_0x22ee02){if(_0x22ee02['data']&&_0x22ee02[_0x477d('0x451')][_0x477d('0xd67')]&&_0x22ee02['data'][_0x477d('0xd67')][_0x477d('0x79')]){vm[_0x477d('0xd67')]=_0x22ee02[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x22ee02['toString'](),'type':'SYSTEM:GETvoiceQueue'}];for(var _0x3a47fb=0x0;_0x3a47fb<_0x22ee02['data'][_0x477d('0xd67')][_0x477d('0x79')];_0x3a47fb++){_0x36c34f[_0x477d('0x44a')]({'title':_0x22ee02['data'][_0x477d('0xd67')][_0x3a47fb][_0x477d('0x439')],'msg':_0x22ee02[_0x477d('0x451')][_0x477d('0xd67')][_0x3a47fb]['message']});}}else{_0x36c34f[_0x477d('0x44a')]({'title':_0x22ee02['status']?_0x477d('0x44b')+_0x22ee02[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x22ee02[_0x477d('0x44d')]:_0x477d('0x1dc8'),'msg':_0x22ee02[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x22ee02[_0x477d('0x451')][_0x477d('0x452')]):_0x22ee02['message']||_0x22ee02[_0x477d('0x453')]()});}});}function _0x5f2664(){var _0x3e5e31=angular[_0x477d('0x6d9')](_0x404a70['selectedQueueCampaignHoppers']);_0x404a70['selectedQueueCampaignHoppers']=[];return _0x3e5e31;}function _0x466f79(_0x120341){var _0x1fa21d=_0x1b8b27['confirm']()[_0x477d('0x49a')](_0x477d('0x1e73'))[_0x477d('0xd92')](_0x477d('0xd93')+_0x404a70[_0x477d('0x1e6e')][_0x477d('0x79')]+'\x20selected'+'\x20will\x20be\x20deleted.')[_0x477d('0x687')]('delete\x20hoppers')['targetEvent'](_0x120341)['ok']('OK')[_0x477d('0x4f0')]('CANCEL');_0x1b8b27['show'](_0x1fa21d)[_0x477d('0x76')](function(){_0x404a70['selectedQueueCampaignHoppers'][_0x477d('0x3b1')](function(_0x5b097f){_0x41da0d(_0x5b097f);});_0x404a70[_0x477d('0x1e6e')]=[];});}var _0x38468b=!![];var _0x23da9a=0x1;_0x197fe2[_0x477d('0x4b5')]('vm_dc.query.filter',function(_0x4cd038,_0x1232ac){if(_0x38468b){_0x63eb8a(function(){_0x38468b=![];});}else{if(!_0x1232ac){_0x23da9a=_0x404a70[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x4cd038!==_0x1232ac){_0x404a70[_0x477d('0x3ef')]['page']=0x1;}if(!_0x4cd038){_0x404a70[_0x477d('0x3ef')][_0x477d('0xe03')]=_0x23da9a;}_0x16a810();}});}}());(function(){'use strict';_0x5879b1[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x3c4'),_0x477d('0xd64'),_0x477d('0x384'),'$q',_0x477d('0x40d'),_0x477d('0x40e'),_0x477d('0x148a'),'hopper',_0x477d('0x386'),_0x477d('0x55'),_0x477d('0x613'),_0x477d('0xc8e'),_0x477d('0xd66')];angular['module'](_0x477d('0x3a'))[_0x477d('0x3ba')]('CreateOrEditHopperVoiceQueueIdDialogController',_0x5879b1);function _0x5879b1(_0x38cdc5,_0x598f69,_0x2bc77a,_0x42caec,_0x3b74f9,_0x4c5eb8,_0x512592,_0x28e1ad,_0x4b2024,_0x1f3be0,_0x538b0e,_0x4c691f,_0x17ff8d,_0x1e951b){var _0x8a4797=this;_0x8a4797[_0x477d('0x3e5')]=_0x538b0e[_0x477d('0x5c')]();_0x8a4797[_0x477d('0xd67')]=[];_0x8a4797[_0x477d('0xc8e')]=_0x17ff8d;_0x8a4797['license']=_0x4c691f;_0x8a4797[_0x477d('0xd66')]=_0x1e951b;_0x8a4797[_0x477d('0xd68')]={};_0x8a4797[_0x477d('0xd69')]=_0x8a4797[_0x477d('0xc8e')]&&_0x8a4797[_0x477d('0xc8e')][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x8a4797['title']='MOTIONDIALER.EDIT_HOPPER';_0x8a4797[_0x477d('0x1485')]=angular[_0x477d('0x6d9')](_0x4b2024);_0x8a4797['hoppers']=_0x28e1ad;_0x8a4797[_0x477d('0x1488')]=![];if(!_0x8a4797['hopper']){_0x8a4797['hopper']={};_0x8a4797['title']=_0x477d('0x1df0');_0x8a4797['newHopper']=!![];}if(_0x598f69[_0x477d('0x37e')]['id']){_0x8a4797['hopper'][_0x477d('0x17b0')]=_0x598f69[_0x477d('0x37e')]['id'];}_0x8a4797[_0x477d('0x1df1')]=_0x45ba6d;_0x8a4797[_0x477d('0x1489')]=_0x44d5d7;_0x8a4797[_0x477d('0x1df2')]=_0x4b8ad5;_0x8a4797[_0x477d('0xd6f')]=_0x32397;_0x8a4797[_0x477d('0x6bf')]=_0x5ca45b;_0x538b0e[_0x477d('0x56')](_0x477d('0x5f'))?_0x1f3be0[_0x477d('0x380')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'role':_0x477d('0xcf'),'sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x4dc92b){_0x8a4797[_0x477d('0x125c')]=_0x4dc92b[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x1d2e5a){_0x512592[_0x477d('0x44a')]({'title':_0x1d2e5a[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x1d2e5a['status']+'\x20-\x20'+_0x1d2e5a[_0x477d('0x44d')]:_0x477d('0x11f6'),'msg':_0x1d2e5a['data']?JSON[_0x477d('0x3fb')](_0x1d2e5a[_0x477d('0x451')]):_0x1d2e5a[_0x477d('0x453')]()});}):_0x1f3be0[_0x477d('0x380')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'role':_0x477d('0xcf'),'sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')]['then'](function(_0x340a87){_0x8a4797['agents']=_0x340a87['rows']||[];})[_0x477d('0x76')](function(){return _0x1f3be0[_0x477d('0x3ac')]['get']({'userProfileId':_0x8a4797[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0xca})[_0x477d('0x38b')];})['then'](function(_0x3881a8){var _0x26c294=_0x3881a8&&_0x3881a8['rows']?_0x3881a8[_0x477d('0xf2')][0x0]:null;if(!_0x26c294){var _0x4ca037=[];var _0x3a197d=null;if(_0x8a4797[_0x477d('0x1485')]){_0x3a197d=_['find'](_0x8a4797['agents'],{'id':Number(_0x8a4797[_0x477d('0x1485')]['UserId'])});}for(var _0xc66c56=0x0;_0xc66c56<_0x8a4797['agents'][_0x477d('0x79')];_0xc66c56++){if(_0x3a197d&&_0x8a4797['agents'][_0xc66c56]['id']===_0x3a197d['id']){_0x8a4797['agents'][_0xc66c56][_0x477d('0xf8b')]=![];_0x4ca037[_0x477d('0x3a7')](_0x8a4797[_0x477d('0x125c')][_0xc66c56]);}}_0x8a4797[_0x477d('0x125c')]=_0x4ca037;}else{if(!_0x26c294[_0x477d('0x3ad')]){return _0x1f3be0['userProfileResource'][_0x477d('0x376')]({'sectionId':_0x26c294['id']})['$promise'][_0x477d('0x76')](function(_0x3cd6a0){var _0x1d6f43=_['map'](_0x3cd6a0[_0x477d('0xf2')],function(_0x2dd578){return _[_0x477d('0x10a')](_0x8a4797['agents'],{'id':_0x2dd578[_0x477d('0x3af')]});});var _0x1142b3=null;if(_0x8a4797[_0x477d('0x1485')]){_0x1142b3=_['find'](_0x8a4797[_0x477d('0x125c')],{'id':Number(_0x8a4797[_0x477d('0x1485')][_0x477d('0x125b')])});}if(_0x1142b3&&!_['some'](_0x1d6f43,['id',_0x1142b3['id']])){var _0x5c3c45=_[_0x477d('0x10a')](_0x8a4797[_0x477d('0x125c')],{'id':_0x1142b3['id']});_0x5c3c45[_0x477d('0xf8b')]=![];_0x1d6f43[_0x477d('0x3a7')](_0x5c3c45);}_0x8a4797[_0x477d('0x125c')]=_0x1d6f43;});}}})['catch'](function(_0x5c1237){_0x512592[_0x477d('0x44a')]({'title':_0x5c1237[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x5c1237[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x5c1237['statusText']:_0x477d('0x12b4'),'msg':_0x5c1237[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x5c1237[_0x477d('0x451')]):_0x5c1237[_0x477d('0x453')]()});});function _0x45ba6d(){_0x8a4797['errors']=[];_0x1f3be0[_0x477d('0xb79')][_0x477d('0xd70')](_0x8a4797['hopper'])['$promise'][_0x477d('0x76')](function(_0x130a43){_0x8a4797[_0x477d('0x148a')][_0x477d('0x63b')](_0x130a43[_0x477d('0xd71')]());_0x512592[_0x477d('0x485')]({'title':'Hopper\x20properly\x20created','msg':_0x8a4797['hopper']['name']?_0x8a4797[_0x477d('0x1485')]['name']+'\x20has\x20been\x20created!':''});_0x5ca45b(_0x130a43);})[_0x477d('0xf8')](function(_0x462f0d){if(_0x462f0d[_0x477d('0x451')]&&_0x462f0d[_0x477d('0x451')][_0x477d('0xd67')]&&_0x462f0d[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x8a4797[_0x477d('0xd67')]=_0x462f0d[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x462f0d['toString'](),'type':_0x477d('0x1df4')}];for(var _0x3395a0=0x0;_0x3395a0<_0x462f0d['data'][_0x477d('0xd67')][_0x477d('0x79')];_0x3395a0+=0x1){_0x512592[_0x477d('0x44a')]({'title':_0x462f0d[_0x477d('0x451')]['errors'][_0x3395a0][_0x477d('0x439')],'msg':_0x462f0d[_0x477d('0x451')]['errors'][_0x3395a0][_0x477d('0x452')]});}}else{_0x512592[_0x477d('0x44a')]({'title':_0x462f0d[_0x477d('0x3c3')]?'API:'+_0x462f0d[_0x477d('0x3c3')]+'\x20-\x20'+_0x462f0d['statusText']:_0x477d('0x1df4'),'msg':_0x462f0d[_0x477d('0x451')]?JSON['stringify'](_0x462f0d[_0x477d('0x451')][_0x477d('0x452')]):_0x462f0d[_0x477d('0x453')]()});}});}function _0x44d5d7(){_0x8a4797[_0x477d('0xd67')]=[];var _0x38dfb1;var _0x5a1acf;var _0x253eef;var _0x509d47;_0x8a4797[_0x477d('0x1485')]['UserId']=_0x8a4797[_0x477d('0x1485')][_0x477d('0x163c')]?_0x8a4797[_0x477d('0x1485')][_0x477d('0x125b')]:null;_0x8a4797['hopper']['OwnerId']=_0x538b0e[_0x477d('0x5c')]()['id'];_0x1f3be0['cmHopper']['get']({'id':_0x8a4797[_0x477d('0x1485')]['id'],'attributes':[_0x477d('0x14d1')]})[_0x477d('0x38b')]['then'](function(_0x32fdcc){if(_['isNil'](_0x32fdcc)||_[_0x477d('0x3b2')](_0x32fdcc)){_0x38dfb1=moment()[_0x477d('0x12f')]('YYYY-MM-DD\x20HH:mm:ss');}else{_0x38dfb1=_0x32fdcc[_0x477d('0x14d1')];}})[_0x477d('0x5ff')](function(){_0x1f3be0[_0x477d('0xb79')][_0x477d('0x710')]({'id':_0x8a4797[_0x477d('0x1485')]['id']},_[_0x477d('0x3fc')](_0x8a4797['hopper'],[_0x477d('0x17b0'),'CampaignId','ContactId','ListId']))['$promise']['then'](function(_0x387bb1){_0x5a1acf=_0x387bb1;_0x1f3be0[_0x477d('0xb6c')][_0x477d('0x376')]({'id':_0x5a1acf[_0x477d('0x1624')],'attributes':[_0x477d('0x1357'),_0x477d('0x1358')]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x2a1925){if(!_[_0x477d('0x484')](_0x2a1925)&&!_[_0x477d('0x484')](_0x2a1925['firstName'])){_0x253eef=_0x2a1925[_0x477d('0x1357')];if(!_[_0x477d('0x484')](_0x2a1925[_0x477d('0x1358')])){_0x253eef+='\x20'+_0x2a1925[_0x477d('0x1358')];}}})[_0x477d('0xf8')](function(){_0x253eef=undefined;})['finally'](function(){_0x1f3be0[_0x477d('0xa76')][_0x477d('0x376')]({'raw':![],'id':_0x5a1acf[_0x477d('0x17b0')],'attributes':[_0x477d('0x94')]})[_0x477d('0x38b')]['then'](function(_0x2b640c){_0x509d47=_0x2b640c[_0x477d('0x94')];})[_0x477d('0xf8')](function(_0x35ec48){_0x509d47=undefined;})[_0x477d('0x5ff')](function(){_0x1f3be0[_0x477d('0xe3e')]['save']({'state':0x18,'statedesc':_0x477d('0x1df6'),'scheduledat':_0x38dfb1,'calleridnum':_0x5a1acf[_0x477d('0xf46')],'calleridname':_0x253eef,'campaigntype':_0x5a1acf[_0x477d('0x17b0')]?_0x477d('0x1256'):_0x477d('0x209'),'campaign':_0x509d47,'editedat':moment()[_0x477d('0x12f')](_0x477d('0x38d')),'edited':!![],'ListId':_0x5a1acf[_0x477d('0x1229')],'UserId':_0x538b0e[_0x477d('0x5c')]()['id'],'VoiceQueueId':_0x5a1acf[_0x477d('0x17b0')],'CampaignId':_0x5a1acf[_0x477d('0x1dbe')],'ContactId':_0x5a1acf[_0x477d('0x1624')],'callback':_0x5a1acf[_0x477d('0x1df7')],'callbackuniqueid':_0x5a1acf[_0x477d('0x1df8')],'countbusyretry':_0x5a1acf[_0x477d('0x1dcd')],'countcongestionretry':_0x5a1acf[_0x477d('0x1dd0')],'countglobal':_0x5a1acf['countglobal'],'countnoanswerretry':_0x5a1acf[_0x477d('0x1dce')],'followuptime':_0x5a1acf[_0x477d('0x1df9')],'recallme':_0x5a1acf[_0x477d('0x163c')]});});});var _0x32264c=_['find'](_0x8a4797[_0x477d('0x148a')],{'id':_0x387bb1['id']});if(_0x32264c){_['merge'](_0x32264c,_['pick'](_0x387bb1[_0x477d('0xd71')](),_['keys'](_0x32264c)));}_0x512592[_0x477d('0x485')]({'title':'Hopper\x20properly\x20saved!','msg':_0x8a4797[_0x477d('0x1485')][_0x477d('0x94')]?_0x8a4797[_0x477d('0x1485')][_0x477d('0x94')]+_0x477d('0xd76'):''});_0x5ca45b(_0x387bb1);})['catch'](function(_0x1ac5cb){if(_0x1ac5cb['data']&&_0x1ac5cb[_0x477d('0x451')][_0x477d('0xd67')]&&_0x1ac5cb[_0x477d('0x451')]['errors'][_0x477d('0x79')]){_0x8a4797[_0x477d('0xd67')]=_0x1ac5cb[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x1ac5cb[_0x477d('0x453')](),'type':_0x477d('0x1e74')}];for(var _0x3faff2=0x0;_0x3faff2<_0x1ac5cb[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x3faff2++){_0x512592[_0x477d('0x44a')]({'title':_0x1ac5cb[_0x477d('0x451')]['errors'][_0x3faff2][_0x477d('0x439')],'msg':_0x1ac5cb[_0x477d('0x451')]['errors'][_0x3faff2][_0x477d('0x452')]});}}else{_0x512592['error']({'title':_0x1ac5cb[_0x477d('0x3c3')]?'API:'+_0x1ac5cb['status']+_0x477d('0x44c')+_0x1ac5cb[_0x477d('0x44d')]:_0x477d('0x1e74'),'msg':_0x1ac5cb[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x1ac5cb[_0x477d('0x451')][_0x477d('0x452')]):_0x1ac5cb[_0x477d('0x453')]()});}});});}function _0x4b8ad5(_0x566510){_0x8a4797[_0x477d('0xd67')]=[];var _0x1c1b51=_0x42caec['confirm']()['title'](_0x477d('0xd79'))[_0x477d('0xdaf')](_0x477d('0x148b'))['ariaLabel']('Delete\x20Hopper')['ok'](_0x477d('0xd7b'))[_0x477d('0x4f0')](_0x477d('0x688'))['targetEvent'](_0x566510);_0x42caec[_0x477d('0x395')](_0x1c1b51)['then'](function(){_0x1f3be0[_0x477d('0xb79')][_0x477d('0xa55')]({'id':_0x8a4797['hopper']['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_['remove'](_0x8a4797[_0x477d('0x148a')],{'id':_0x8a4797['hopper']['id']});_0x512592[_0x477d('0x485')]({'title':_0x477d('0x148d'),'msg':(_0x8a4797[_0x477d('0x1485')][_0x477d('0x94')]||_0x477d('0x1485'))+_0x477d('0xd7e')});_0x5ca45b(_0x8a4797[_0x477d('0x1485')]);})[_0x477d('0xf8')](function(_0x12c55a){if(_0x12c55a[_0x477d('0x451')]&&_0x12c55a[_0x477d('0x451')][_0x477d('0xd67')]&&_0x12c55a['data']['errors'][_0x477d('0x79')]){_0x8a4797[_0x477d('0xd67')]=_0x12c55a[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x12c55a['toString'](),'type':_0x477d('0x1dfb')}];for(var _0x4c4a42=0x0;_0x4c4a42<_0x12c55a[_0x477d('0x451')]['errors'][_0x477d('0x79')];_0x4c4a42++){_0x512592[_0x477d('0x44a')]({'title':_0x12c55a['data'][_0x477d('0xd67')][_0x4c4a42][_0x477d('0x439')],'msg':_0x12c55a[_0x477d('0x451')][_0x477d('0xd67')][_0x4c4a42][_0x477d('0x452')]});}}else{_0x512592['error']({'title':_0x12c55a['status']?_0x477d('0x44b')+_0x12c55a[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x12c55a[_0x477d('0x44d')]:'api.cmHopper.delete','msg':_0x12c55a[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x12c55a['data'][_0x477d('0x452')]):_0x12c55a[_0x477d('0x452')]||_0x12c55a[_0x477d('0x453')]()});}});},function(){});}function _0x32397(_0x1b48bf){return _0x1b48bf===null?undefined:new Date(_0x1b48bf);}function _0x5ca45b(_0x45e8c9){_0x42caec[_0x477d('0x3bc')](_0x45e8c9);}}}());(function(){'use strict';_0x155b8d[_0x477d('0xa')]=[_0x477d('0x386'),_0x477d('0x40e')];angular[_0x477d('0xb')]('app.motiondialer')['controller'](_0x477d('0x1e75'),_0x155b8d);function _0x155b8d(_0x49218f,_0x596feb){var _0x246002=this;_0x246002[_0x477d('0x163e')]={};_0x246002[_0x477d('0x5ee')]=_0x38cfaa;function _0x38cfaa(_0x58c92e){_0x246002[_0x477d('0x163e')]=_0x58c92e;_0x49218f['cmHopper'][_0x477d('0x376')]({'limit':0x0,'VoiceQueueId':_0x58c92e['id']})[_0x477d('0x38b')]['then'](function(_0x7742ee){_0x246002[_0x477d('0x10d')]=_0x7742ee[_0x477d('0x3bb')]||0x0;return _0x49218f['cmHopper'][_0x477d('0x376')]({'limit':0x0,'VoiceQueueId':_0x58c92e['id'],'active':![],'countbusyretry':0x0,'countcongestionretry':0x0,'countnoanswerretry':0x0})['$promise'];})['then'](function(_0x252587){_0x246002[_0x477d('0x1e76')]=_0x252587[_0x477d('0x3bb')]||0x0;return _0x49218f[_0x477d('0xb80')]['get']({'limit':0x0,'VoiceQueueId':_0x58c92e['id']})['$promise'];})[_0x477d('0x76')](function(_0x580a35){_0x246002[_0x477d('0x1351')]=_0x580a35[_0x477d('0x3bb')]||0x0;})[_0x477d('0xf8')](function(_0x513db2){_0x596feb[_0x477d('0x44a')]({'title':_0x513db2[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x513db2[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x513db2[_0x477d('0x44d')]:_0x477d('0x19e6'),'msg':_0x513db2[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x513db2[_0x477d('0x451')]):_0x513db2['toString']()});});}}}());(function(){'use strict';_0x126848[_0x477d('0xa')]=[_0x477d('0x384'),'$q',_0x477d('0x40e'),_0x477d('0x386'),_0x477d('0x163e'),'$translate',_0x477d('0x3fe'),_0x477d('0x55'),_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x3a'))[_0x477d('0x3ba')](_0x477d('0x1e77'),_0x126848);function _0x126848(_0x8b0f78,_0x509a6d,_0x561d5f,_0x5179a8,_0x55898e,_0x47fd68,_0xe4c0a8,_0x4a15c5,_0x39778d){var _0x3981e7=this;_0x3981e7[_0x477d('0x3e5')]=_0x4a15c5[_0x477d('0x5c')]();_0x3981e7[_0x477d('0x163e')]=_0x55898e;_0x3981e7[_0x477d('0xd66')]=_0x39778d;_0x3981e7[_0x477d('0x1899')]=_0x477d('0xa76');_0x3981e7[_0x477d('0x1d9e')]=_0x477d('0x1562');_0x3981e7[_0x477d('0x1d9f')]=_0x477d('0x1e09');_0x3981e7['removeApi']=_0x477d('0x1dfe');_0x3981e7[_0x477d('0x4a6')]=[];_0x3981e7[_0x477d('0x11f7')]=[];_0x3981e7[_0x477d('0x4a7')]=[];_0x3981e7[_0x477d('0x11f2')]=[];_0x3981e7['startingSelectedItems']=[];_0x3981e7['pendingChanges']=![];_0x3981e7[_0x477d('0x1d9a')]=![];_0x3981e7[_0x477d('0x1185')]={'readOnly':!_0x3981e7[_0x477d('0xd66')]['canEdit'],'allowedItems':[],'selectedItems':[],'showSelectAndDeselectAll':![],'orderBy':_0x477d('0x94'),'line1':'name','line2':'','line3':'','labelAll':_0x47fd68[_0x477d('0x45f')](_0x477d('0x1d9b')),'labelSelected':_0x47fd68[_0x477d('0x45f')](_0x477d('0x1d9c')),'transferCallback':function(_0xad1a14,_0x3ef69c){var _0x4eb6b6=_[_0x477d('0x11f4')](_0x3981e7[_0x477d('0x11fd')],_0x3981e7[_0x477d('0x4a7')],'id');_0x3981e7['pendingChanges']=_[_0x477d('0x3b2')](_0x4eb6b6)?![]:!![];}};_0x3981e7[_0x477d('0x71a')]=_0x1c510f;_0x3981e7[_0x477d('0x1dff')]=_0x108d9c;_0x3981e7[_0x477d('0x6bf')]=_0x365b02;function _0x1c510f(){return _0x4a15c5['hasRole'](_0x477d('0x5f'))?_0x1279e2()[_0x477d('0xf8')](function(_0x3e9b65){_0x561d5f[_0x477d('0x44a')]({'title':_0x3e9b65[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x3e9b65['status']+_0x477d('0x44c')+_0x3e9b65[_0x477d('0x44d')]:_0x477d('0x1d9d'),'msg':_0x3e9b65[_0x477d('0x3c3')]?JSON[_0x477d('0x3fb')](_0x3e9b65[_0x477d('0x451')]):_0x3e9b65[_0x477d('0x453')]()});}):_0x27643f()[_0x477d('0x76')](function(_0x471b0e){_0x3981e7[_0x477d('0xd99')]=_0x471b0e;return _0x1279e2();})[_0x477d('0xf8')](function(_0x2ddf7a){_0x561d5f[_0x477d('0x44a')]({'title':_0x2ddf7a[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x2ddf7a[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x2ddf7a['statusText']:_0x477d('0x1d9d'),'msg':_0x2ddf7a[_0x477d('0x3c3')]?JSON[_0x477d('0x3fb')](_0x2ddf7a['data']):_0x2ddf7a['toString']()});});}function _0x27643f(){return _0x509a6d(function(_0x3a64f1,_0x21fa10){_0x5179a8[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x3981e7[_0x477d('0x3e5')][_0x477d('0x61')],'name':_0x477d('0xa9')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x5263d1){var _0xdfac03=_0x5263d1&&_0x5263d1[_0x477d('0xf2')]?_0x5263d1[_0x477d('0xf2')][0x0]:null;_0x3a64f1(_0xdfac03);})['catch'](function(_0x52356a){_0x21fa10(_0x52356a);});});}function _0x1279e2(){return _0x509a6d(function(_0x224348,_0x1aa2a3){return _0x36952c()[_0x477d('0x76')](function(_0x764421){_0x3981e7[_0x477d('0x4a6')]=_0x764421[_0x477d('0xf2')]?_0x764421[_0x477d('0xf2')]:[];if(_0x4a15c5[_0x477d('0x56')](_0x477d('0x5f'))){return _0x764421;}else{if(_0x3981e7[_0x477d('0xd99')]){return _0x3981e7['section']['autoAssociation']?_0x764421:_0x4f72e8();}else{return null;}}})[_0x477d('0x76')](function(_0x2386ee){var _0x32c5d2=_0x2386ee&&_0x2386ee[_0x477d('0xf2')]?_0x2386ee[_0x477d('0xf2')]:[];_0x3981e7[_0x477d('0x11f7')]=_[_0x477d('0x3cb')](_0x32c5d2,function(_0xbec1b1){return _[_0x477d('0x10a')](_0x3981e7[_0x477d('0x4a6')],{'id':_0x4a15c5[_0x477d('0x56')](_0x477d('0x5f'))||_0x3981e7[_0x477d('0xd99')][_0x477d('0x3ad')]?_0xbec1b1['id']:_0xbec1b1[_0x477d('0x3af')]});});_0x3981e7[_0x477d('0x11f2')]=angular[_0x477d('0x6d9')](_0x3981e7[_0x477d('0x11f7')]);_0x3981e7[_0x477d('0x4a6')][_0x477d('0x3b1')](function(_0x2e70ac){var _0x4d3989=_['find'](_0x3981e7[_0x477d('0x11f7')],{'id':_0x2e70ac['id']});if(_0x3981e7[_0x477d('0x3e5')]['role']===_0x477d('0x5f')){_0x2e70ac[_0x477d('0x4a3')]=!![];}else{_0x2e70ac['isValid']=typeof _0x4d3989!=='undefined'?!![]:![];}});return _0x11a228();})[_0x477d('0x76')](function(_0x5e4549){var _0x2bb176=_0x5e4549&&_0x5e4549[_0x477d('0xf2')]?_0x5e4549[_0x477d('0xf2')]:[];_0x3981e7[_0x477d('0x4a7')]=_[_0x477d('0x3cb')](_0x2bb176,function(_0x356fd4){return _[_0x477d('0x10a')](_0x3981e7[_0x477d('0x4a6')],{'id':_0x356fd4['id']});});_0x3981e7['startingSelectedItems']=angular[_0x477d('0x6d9')](_0x3981e7[_0x477d('0x4a7')]);_0x3981e7[_0x477d('0x1185')][_0x477d('0x4a7')]=_0x3981e7[_0x477d('0x4a7')];_0x3981e7[_0x477d('0x1185')][_0x477d('0x4a6')]=_[_0x477d('0x11f8')](_0x3981e7[_0x477d('0x11f7')],_0x3981e7[_0x477d('0x1185')][_0x477d('0x4a7')],'id');_0x224348();})['catch'](function(_0xdacb3f){_0x1aa2a3(_0xdacb3f);});});}function _0x4f72e8(){return _0x509a6d(function(_0x583c77,_0x342de7){return _0x5179a8[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x3981e7[_0x477d('0xd99')]['id'],'nolimit':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x1af76f){_0x583c77(_0x1af76f);})[_0x477d('0xf8')](function(_0x11be53){_0x342de7(_0x11be53);});});}function _0x11a228(){return _0x509a6d(function(_0x2d4b9d,_0x270225){return _0x5179a8[_0x3981e7[_0x477d('0x1899')]][_0x3981e7[_0x477d('0x1d9e')]]({'id':_0x3981e7['queueCampaign']['id'],'fields':'id,name','nolimit':!![]})[_0x477d('0x38b')]['then'](function(_0x484b2b){_0x2d4b9d(_0x484b2b);})['catch'](function(_0x50e433){_0x270225(_0x50e433);});});}function _0x36952c(){return _0x509a6d(function(_0x3adf36,_0x5ab2c4){return _0x5179a8['cmList'][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'nolimit':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x1bd621){_0x3adf36(_0x1bd621);})['catch'](function(_0x1006c9){_0x5ab2c4(_0x1006c9);});});}function _0x10df72(_0x1abee9){return _0x509a6d(function(_0x35d8a1,_0x409f90){if(_['isEmpty'](_0x1abee9)){_0x35d8a1();}else{_0x5179a8[_0x3981e7[_0x477d('0x1899')]][_0x3981e7[_0x477d('0x1d9f')]]({'id':_0x3981e7[_0x477d('0x163e')]['id'],'ids':_['map'](_0x1abee9,'id')})[_0x477d('0x38b')]['then'](function(){_0x35d8a1();})[_0x477d('0xf8')](function(_0x437460){_0x409f90(_0x437460);});}});}function _0x547184(_0xb62859){return _0x509a6d(function(_0x480315,_0x34273e){if(_[_0x477d('0x3b2')](_0xb62859)){_0x480315();}else{_0x5179a8[_0x3981e7[_0x477d('0x1899')]][_0x3981e7[_0x477d('0x1d98')]]({'id':_0x3981e7[_0x477d('0x163e')]['id'],'ids':_[_0x477d('0x3cb')](_0xb62859,'id')})[_0x477d('0x38b')][_0x477d('0x76')](function(){_0x480315();})[_0x477d('0xf8')](function(_0x6c304){_0x34273e(_0x6c304);});}});}function _0x108d9c(){_0x3981e7[_0x477d('0x1d9a')]=!![];var _0x4765a3=_[_0x477d('0x11f8')](_0x3981e7[_0x477d('0x11fd')],_0x3981e7[_0x477d('0x4a7')],'id');var _0x1ce009=_[_0x477d('0x11f8')](_0x3981e7[_0x477d('0x4a7')],_0x3981e7[_0x477d('0x11fd')],'id');return _0x547184(_0x4765a3)[_0x477d('0x76')](function(){return _0x10df72(_0x1ce009);})[_0x477d('0x76')](function(){_0x3981e7[_0x477d('0x11f5')]=![];_0x3981e7[_0x477d('0x11f2')]=angular[_0x477d('0x6d9')](_0x3981e7[_0x477d('0x11f7')]);_0x3981e7[_0x477d('0x11fd')]=angular[_0x477d('0x6d9')](_0x3981e7[_0x477d('0x4a7')]);_0x561d5f[_0x477d('0x485')]({'title':_0x477d('0x11fe'),'msg':_0x477d('0x1e00')});})[_0x477d('0xf8')](function(_0x343c66){_0x561d5f['error']({'title':_0x343c66[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x343c66[_0x477d('0x3c3')]+'\x20-\x20'+_0x343c66['statusText']:_0x477d('0x1200'),'msg':_0x343c66[_0x477d('0x3c3')]?JSON[_0x477d('0x3fb')](_0x343c66[_0x477d('0x451')]):_0x343c66[_0x477d('0x453')]()});})[_0x477d('0x5ff')](function(){_0x3981e7[_0x477d('0x1d9a')]=![];});;}function _0x365b02(){_0x8b0f78['hide']();}}}());(function(){'use strict';_0x2eb8c2['$inject']=[_0x477d('0x474'),_0x477d('0x384'),_0x477d('0x40e'),_0x477d('0x386'),'queueCampaign',_0x477d('0x1e01'),'Sequence','$q'];angular['module'](_0x477d('0x3a'))[_0x477d('0x3ba')]('QueueCampaignresetlistController',_0x2eb8c2);function _0x2eb8c2(_0x31a391,_0x4f6423,_0x47ce31,_0x595719,_0x5d745a,_0x442c9f,_0x44784b,_0x457781){var _0x1ac7df=this;var _0x43ef0f=[];_0x1ac7df[_0x477d('0x1e07')]=[];_0x1ac7df[_0x477d('0x4a6')]=_0x442c9f?_0x442c9f:[];_0x1ac7df[_0x477d('0x1d9a')]=![];_0x1ac7df[_0x477d('0x6bf')]=_0xbeeb60;_0x1ac7df[_0x477d('0x1e02')]=_0x5138da;_0x1ac7df[_0x477d('0x1e78')]=_0x2394af;_0x1ac7df[_0x477d('0x1e03')]=_0x5719b7;_0x1ac7df[_0x477d('0x1e04')]=_0x57015e;_0x1ac7df[_0x477d('0x1e05')]=_0x260a4b;_0x1ac7df['listSelected']=_0x5f4eb2;function _0x2394af(_0x388136,_0xb6e886){var _0x5027ce=_0xb6e886[_0x477d('0x477')](_0x388136);if(_0x5027ce>-0x1){_0xb6e886[_0x477d('0x45b')](_0x5027ce,0x1);}else{_0xb6e886[_0x477d('0x3a7')](_0x388136);}}function _0x5138da(_0xc78518,_0x3490bb){return _0x3490bb['indexOf'](_0xc78518)>-0x1;}function _0x5719b7(){return _0x1ac7df[_0x477d('0x1e07')][_0x477d('0x79')]!==0x0&&_0x1ac7df[_0x477d('0x1e07')][_0x477d('0x79')]!==_0x1ac7df['items']['length'];}function _0x57015e(){return _0x1ac7df[_0x477d('0x1e07')][_0x477d('0x79')]===_0x1ac7df[_0x477d('0x4a6')][_0x477d('0x79')];}function _0x260a4b(){if(_0x1ac7df[_0x477d('0x1e07')][_0x477d('0x79')]===_0x1ac7df[_0x477d('0x4a6')][_0x477d('0x79')]){_0x1ac7df['selected']=[];}else if(_0x1ac7df['selected'][_0x477d('0x79')]===0x0||_0x1ac7df[_0x477d('0x1e07')]['length']>0x0){_0x1ac7df[_0x477d('0x1e07')]=_0x1ac7df['items'][_0x477d('0x9cd')](0x0);}}function _0xbeeb60(){_0x4f6423['hide']();}function _0x5f4eb2(){_0x1ac7df['loading']=!![];var _0x341bc9=_0xa53821();_0x341bc9[_0x477d('0x5ff')](function(){_0x1ac7df[_0x477d('0x1d9a')]=![];_0xbeeb60();});}function _0xa53821(){return _0x457781(function(_0x1065b7,_0x24fc5c){for(var _0x2432d1=0x0;_0x2432d1<_0x1ac7df[_0x477d('0x1e07')][_0x477d('0x79')];_0x2432d1+=0x1){_0x3d606c(_0x5d745a['id'],_0x1ac7df['selected'][_0x2432d1]);}_0x138c01(_0x1065b7);});}function _0x3d606c(_0x568fcd,_0x4737d8){var _0x4058a1=_0x4737d8['id'];_0x44784b[_0x477d('0x1e08')](function(){return _0x595719[_0x477d('0xa76')][_0x477d('0x1dfe')]({'id':_0x568fcd,'ids':_0x4058a1})[_0x477d('0x38b')]['then'](function(){return _0x595719[_0x477d('0xa76')][_0x477d('0x1e09')]({'id':_0x568fcd,'ids':_0x4058a1,'dialCheckDuplicateType':'never'})[_0x477d('0x38b')];})[_0x477d('0x76')](function(){_0x47ce31['success']({'title':'Reset\x20Succesfull','msg':_0x477d('0x1e0c')+_0x4737d8['name']+_0x477d('0x1e0d')});})[_0x477d('0xf8')](function(_0x33a3d8){_0x47ce31['error']({'title':_0x33a3d8['status']?_0x477d('0x44b')+_0x33a3d8['status']+_0x477d('0x44c')+_0x33a3d8['statusText']:_0x477d('0x1e79'),'msg':_0x33a3d8[_0x477d('0x3c3')]?JSON[_0x477d('0x3fb')](_0x33a3d8[_0x477d('0x451')]):_0x33a3d8[_0x477d('0x453')]()});});});}function _0x138c01(_0x42d77a){_0x44784b['enqueue'](function(){return _0x42d77a();});}}}());(function(){'use strict';_0x33b997[_0x477d('0xa')]=[_0x477d('0x384'),'$q','toasty',_0x477d('0x386'),_0x477d('0x163e'),_0x477d('0x40d'),_0x477d('0x55'),_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x3a'))[_0x477d('0x3ba')](_0x477d('0x1e7a'),_0x33b997);function _0x33b997(_0x15ee0f,_0x46ef10,_0x461cb8,_0x146514,_0x2bc86f,_0x5ba076,_0x34c4f0,_0xba8ccc){var _0x1ce5b1=this;_0x1ce5b1['currentUser']=_0x34c4f0[_0x477d('0x5c')]();_0x1ce5b1[_0x477d('0x163e')]=_0x2bc86f;_0x1ce5b1[_0x477d('0xd66')]=_0xba8ccc;_0x1ce5b1[_0x477d('0x1184')]=0x0;_0x1ce5b1['items']=[];_0x1ce5b1['allowedItems']=[];_0x1ce5b1[_0x477d('0x4a7')]=[];_0x1ce5b1['startingAllowedItems']=[];_0x1ce5b1[_0x477d('0x11fd')]=[];_0x1ce5b1[_0x477d('0x11f5')]=![];_0x1ce5b1['dualMultiselectOptions']={'readOnly':!_0x1ce5b1['crudPermissions']['canEdit'],'allowedItems':[],'selectedItems':[],'showSelectAndDeselectAll':!![],'orderBy':'name','line1':_0x477d('0x94'),'line2':'','line3':'','labelAll':_0x5ba076[_0x477d('0x45f')](_0x477d('0x1e7b')),'labelSelected':_0x5ba076[_0x477d('0x45f')](_0x477d('0x1e7c')),'transferCallback':function(_0x3fdef8,_0x19bec5){if(_0x19bec5){_0x3fdef8[_0x477d('0x3b1')](function(_0x473509){_0x473509[_0x477d('0x1184')]=undefined;});}else{_0x3fdef8[_0x477d('0x3b1')](function(_0x5cbd45){_0x5cbd45[_0x477d('0x1184')]=_0x477d('0x1529')+_0x1ce5b1[_0x477d('0x1184')];});}var _0x265a5a=_[_0x477d('0x11f4')](_0x1ce5b1[_0x477d('0x11fd')],_0x1ce5b1[_0x477d('0x4a7')],'id');_0x1ce5b1[_0x477d('0x11f5')]=_[_0x477d('0x3b2')](_0x265a5a)?![]:!![];}};_0x1ce5b1[_0x477d('0x71a')]=_0x26ff91;_0x1ce5b1[_0x477d('0x1203')]=_0x33c5e1;_0x1ce5b1['closeDialog']=_0x60dcc4;function _0x26ff91(){return _0x34c4f0[_0x477d('0x56')](_0x477d('0x5f'))?_0x21efbb()[_0x477d('0xf8')](function(_0x443409){_0x461cb8['error']({'title':_0x443409[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x443409[_0x477d('0x3c3')]+'\x20-\x20'+_0x443409[_0x477d('0x44d')]:'SYSTEM:GET_TEAMS','msg':_0x443409[_0x477d('0x3c3')]?JSON[_0x477d('0x3fb')](_0x443409[_0x477d('0x451')]):_0x443409[_0x477d('0x453')]()});}):_0x50b9dd()['then'](function(_0xf86bf8){_0x1ce5b1[_0x477d('0xd99')]=_0xf86bf8;return _0x21efbb();})['catch'](function(_0xbbe7ec){_0x461cb8['error']({'title':_0xbbe7ec[_0x477d('0x3c3')]?_0x477d('0x44b')+_0xbbe7ec[_0x477d('0x3c3')]+_0x477d('0x44c')+_0xbbe7ec['statusText']:_0x477d('0x1204'),'msg':_0xbbe7ec[_0x477d('0x3c3')]?JSON[_0x477d('0x3fb')](_0xbbe7ec['data']):_0xbbe7ec[_0x477d('0x453')]()});});}function _0x50b9dd(){return _0x46ef10(function(_0x57c9bf,_0x1f3088){_0x146514[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x1ce5b1['currentUser'][_0x477d('0x61')],'name':_0x477d('0x29f')})['$promise'][_0x477d('0x76')](function(_0x4da72e){var _0x4fe21f=_0x4da72e&&_0x4da72e[_0x477d('0xf2')]?_0x4da72e[_0x477d('0xf2')][0x0]:null;_0x57c9bf(_0x4fe21f);})['catch'](function(_0x355f08){_0x1f3088(_0x355f08);});});}function _0x21efbb(){return _0x46ef10(function(_0x564154,_0x4c721a){return _0x636a67()[_0x477d('0x76')](function(_0x3aed7a){_0x1ce5b1[_0x477d('0x4a6')]=_0x3aed7a[_0x477d('0xf2')]?_0x3aed7a['rows']:[];if(_0x34c4f0[_0x477d('0x56')](_0x477d('0x5f'))){return _0x3aed7a;}else{if(_0x1ce5b1['section']){return _0x1ce5b1[_0x477d('0xd99')][_0x477d('0x3ad')]?_0x3aed7a:_0x373d6e();}else{return null;}}})[_0x477d('0x76')](function(_0x355e62){var _0x349d6e=_0x355e62&&_0x355e62['rows']?_0x355e62[_0x477d('0xf2')]:[];_0x1ce5b1[_0x477d('0x11f7')]=_[_0x477d('0x3cb')](_0x349d6e,function(_0x2ee917){return _[_0x477d('0x10a')](_0x1ce5b1[_0x477d('0x4a6')],{'id':_0x34c4f0[_0x477d('0x56')]('admin')||_0x1ce5b1[_0x477d('0xd99')][_0x477d('0x3ad')]?_0x2ee917['id']:_0x2ee917[_0x477d('0x3af')]});});_0x1ce5b1[_0x477d('0x4a6')][_0x477d('0x3b1')](function(_0x380e37){var _0x1634cb=_[_0x477d('0x10a')](_0x1ce5b1[_0x477d('0x11f7')],{'id':_0x380e37['id']});if(_0x34c4f0[_0x477d('0x56')]('admin')){_0x380e37[_0x477d('0x4a3')]=!![];}else{_0x380e37[_0x477d('0x4a3')]=typeof _0x1634cb!=='undefined'?!![]:![];}});return _0x4de157();})['then'](function(_0x3fce88){var _0x327cd2=_0x3fce88&&_0x3fce88[_0x477d('0xf2')]?_0x3fce88[_0x477d('0xf2')]:[];_0x1ce5b1[_0x477d('0x4a7')]=_['map'](_0x327cd2,function(_0x2a4919){return _['find'](_0x1ce5b1[_0x477d('0x4a6')],{'id':_0x2a4919['id']});});_0x1ce5b1[_0x477d('0x11fd')]=angular[_0x477d('0x6d9')](_0x1ce5b1[_0x477d('0x4a7')]);_0x1ce5b1[_0x477d('0x1185')][_0x477d('0x4a7')]=_0x1ce5b1[_0x477d('0x4a7')];_0x1ce5b1[_0x477d('0x1185')][_0x477d('0x4a6')]=_[_0x477d('0x11f8')](_0x1ce5b1[_0x477d('0x11f7')],_0x1ce5b1[_0x477d('0x1185')][_0x477d('0x4a7')],'id');_0x564154();})[_0x477d('0xf8')](function(_0x192007){_0x4c721a(_0x192007);});});}function _0x373d6e(){return _0x46ef10(function(_0x37127c,_0x351693){return _0x146514[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x1ce5b1['section']['id'],'nolimit':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x4c3bf9){_0x37127c(_0x4c3bf9);})[_0x477d('0xf8')](function(_0x204e81){_0x351693(_0x204e81);});});}function _0x4de157(){return _0x46ef10(function(_0x23f5ae,_0x4042ef){return _0x146514['voiceQueue']['getTeams']({'id':_0x1ce5b1['queueCampaign']['id'],'fields':_0x477d('0x9c'),'nolimit':!![]})['$promise'][_0x477d('0x76')](function(_0x2c5cd3){_0x23f5ae(_0x2c5cd3);})[_0x477d('0xf8')](function(_0x109437){_0x4042ef(_0x109437);});});}function _0x636a67(){return _0x46ef10(function(_0x5f5cb5,_0x7b7687){return _0x146514['team'][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'nolimit':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x244128){_0x5f5cb5(_0x244128);})[_0x477d('0xf8')](function(_0x4eb4c2){_0x7b7687(_0x4eb4c2);});});}function _0x4bfc9f(_0x3c75cd){return _0x46ef10(function(_0xe76c32,_0x5822d7){if(_[_0x477d('0x3b2')](_0x3c75cd)){_0xe76c32();}else{var _0x2f056d=_[_0x477d('0x3cb')](_0x3c75cd,function(_0x2d8cbb){return{'id':_0x2d8cbb['id'],'penalty':_[_0x477d('0x6ac')](_0x2d8cbb[_0x477d('0x1184')],_0x477d('0x1529'))};});return _0x146514[_0x477d('0xa76')]['addTeams']({'id':_0x1ce5b1[_0x477d('0x163e')]['id'],'teams':_0x2f056d})[_0x477d('0x38b')][_0x477d('0x76')](function(){_0xe76c32();})[_0x477d('0xf8')](function(_0x198414){_0x5822d7(_0x198414);});}});}function _0x5c6b9e(_0xe47dd7){return _0x46ef10(function(_0x1a3308,_0xbfa488){if(_[_0x477d('0x3b2')](_0xe47dd7)){_0x1a3308();}else{_0x146514[_0x477d('0xa76')][_0x477d('0x1206')]({'id':_0x1ce5b1[_0x477d('0x163e')]['id'],'ids':_[_0x477d('0x3cb')](_0xe47dd7,'id')})[_0x477d('0x38b')]['then'](function(){_0x1a3308();})[_0x477d('0xf8')](function(_0x31a9ed){_0xbfa488(_0x31a9ed);});}});}function _0x33c5e1(){var _0x353693=_['differenceBy'](_0x1ce5b1[_0x477d('0x11fd')],_0x1ce5b1[_0x477d('0x4a7')],'id');var _0x4e0bb4=_['differenceBy'](_0x1ce5b1[_0x477d('0x4a7')],_0x1ce5b1['startingSelectedItems'],'id');return _0x5c6b9e(_0x353693)[_0x477d('0x76')](function(){return _0x4bfc9f(_0x4e0bb4);})[_0x477d('0x76')](function(){_0x1ce5b1[_0x477d('0x11f5')]=![];_0x1ce5b1[_0x477d('0x11f2')]=angular[_0x477d('0x6d9')](_0x1ce5b1[_0x477d('0x11f7')]);_0x1ce5b1['startingSelectedItems']=angular['copy'](_0x1ce5b1[_0x477d('0x4a7')]);_0x461cb8[_0x477d('0x485')]({'title':'SUCCESS','msg':_0x477d('0x1207')});})['catch'](function(_0x4b9017){_0x461cb8[_0x477d('0x44a')]({'title':_0x4b9017[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x4b9017['status']+_0x477d('0x44c')+_0x4b9017['statusText']:_0x477d('0x1200'),'msg':_0x4b9017['status']?JSON['stringify'](_0x4b9017[_0x477d('0x451')]):_0x4b9017[_0x477d('0x453')]()});});}function _0x60dcc4(){_0x15ee0f[_0x477d('0x3bc')]();}}}());(function(){'use strict';_0x318706['$inject']=[_0x477d('0x3c4'),_0x477d('0xd64'),_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x40d'),_0x477d('0x613'),'setting',_0x477d('0x386'),_0x477d('0x40e'),_0x477d('0x55'),_0x477d('0x163e'),_0x477d('0x3ac')];angular[_0x477d('0xb')](_0x477d('0x3a'))['controller'](_0x477d('0x1e7d'),_0x318706);function _0x318706(_0x27b63a,_0x222576,_0x3f1832,_0x5ce07a,_0x24921c,_0x519ee1,_0x291896,_0x157bc5,_0x23c123,_0x32b64c,_0x494850,_0x1d39e5){var _0x4e0e0e=this;_0x4e0e0e['currentUser']=_0x32b64c[_0x477d('0x5c')]();_0x4e0e0e[_0x477d('0x613')]=_0x519ee1;_0x4e0e0e['setting']=_0x291896;_0x4e0e0e['passwordPattern']=_0x4e0e0e['setting']['securePassword']?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x4e0e0e['location']=_0x222576[_0x477d('0x3ce')]()+_0x477d('0x1209')+_0x222576[_0x477d('0x3c9')]();_0x4e0e0e[_0x477d('0x163e')]=_0x494850||_0x27b63a[_0x477d('0x37e')]['queueCampaign']||{};_0x4e0e0e[_0x477d('0x3ac')]=_0x1d39e5&&_0x1d39e5[_0x477d('0x3bb')]==0x1?_0x1d39e5[_0x477d('0xf2')][0x0]:null;_0x4e0e0e[_0x477d('0xd66')]=_0x32b64c[_0x477d('0xd81')](_0x4e0e0e[_0x477d('0x3ac')]?_0x4e0e0e['userProfileSection'][_0x477d('0xd66')]:null);_0x4e0e0e['hasModulePermissions']={};_0x4e0e0e[_0x477d('0xe95')]=_0x27b63a[_0x477d('0x37e')][_0x477d('0xe96')]||0x0;_0x4e0e0e['clonedialog']=_0x4626de;_0x4e0e0e['listadddialog']=_0x4417f1;_0x4e0e0e[_0x477d('0x1e0f')]=_0xbed748;_0x4e0e0e[_0x477d('0x11d4')]=_0x3ac90e;_0x4e0e0e[_0x477d('0x1222')]=_0x215d3b;_0x4e0e0e[_0x477d('0x1e10')]=_0x2fb4a1;_0x4e0e0e['gotogoto']=_0x845100;_0x4e0e0e[_0x477d('0x120a')]=_0x23c123[_0x477d('0x669')];_0x4e0e0e[_0x477d('0x1e7e')]=_0x43bc11;_0x4e0e0e[_0x477d('0x1e7f')]=_0x17b23b;_0x32b64c['hasRole'](_0x477d('0x5f'))?_0x157bc5[_0x477d('0xa71')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')]['then'](function(_0x53b7fa){_0x4e0e0e[_0x477d('0x1e80')]=_0x53b7fa[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x25d2a7){_0x23c123[_0x477d('0x44a')]({'title':_0x25d2a7[_0x477d('0x3c3')]?'API:'+_0x25d2a7[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x25d2a7['statusText']:_0x477d('0x1e81'),'msg':_0x25d2a7[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x25d2a7[_0x477d('0x451')]):_0x25d2a7[_0x477d('0x453')]()});}):_0x157bc5['voiceMusicOnHold'][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x8ef5f0){_0x4e0e0e[_0x477d('0x1e80')]=_0x8ef5f0[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x157bc5['userProfileSection'][_0x477d('0x376')]({'userProfileId':_0x4e0e0e[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x197})['$promise'];})[_0x477d('0x76')](function(_0x5e9555){var _0x384c41=_0x5e9555&&_0x5e9555['rows']?_0x5e9555[_0x477d('0xf2')][0x0]:null;if(!_0x384c41){return _0x157bc5[_0x477d('0xa71')][_0x477d('0x376')]({'fields':'id,name','nolimit':_0x477d('0x2ee'),'defaultEntry':0x1})['$promise']['then'](function(_0x1c1c1c){_0x4e0e0e[_0x477d('0x1e80')]=_0x1c1c1c[_0x477d('0xf2')]||[];});}else{if(!_0x384c41[_0x477d('0x3ad')]){return _0x157bc5['userProfileResource'][_0x477d('0x376')]({'sectionId':_0x384c41['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x2a1b48){var _0x39ee2a=_[_0x477d('0x3cb')](_0x2a1b48[_0x477d('0xf2')],function(_0x4b4215){return _['find'](_0x4e0e0e['musiconholds'],{'id':_0x4b4215['resourceId']});});var _0x229940=null;if(_0x4e0e0e[_0x477d('0x163e')]){_0x229940=_['find'](_0x4e0e0e[_0x477d('0x1e80')],{'name':_0x4e0e0e[_0x477d('0x163e')][_0x477d('0x1e82')]});}if(_0x229940&&!_[_0x477d('0x3ab')](_0x39ee2a,['id',_0x229940['id']])){var _0x6b1453=_[_0x477d('0x10a')](_0x4e0e0e[_0x477d('0x1e80')],{'id':_0x229940['id']});_0x6b1453[_0x477d('0xf8b')]=![];_0x39ee2a[_0x477d('0x3a7')](_0x6b1453);}_0x4e0e0e[_0x477d('0x1e80')]=_0x39ee2a;});}}})['catch'](function(_0x42d0d3){_0x23c123[_0x477d('0x44a')]({'title':_0x42d0d3[_0x477d('0x3c3')]?'API:'+_0x42d0d3[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x42d0d3[_0x477d('0x44d')]:_0x477d('0x1e83'),'msg':_0x42d0d3[_0x477d('0x451')]?JSON['stringify'](_0x42d0d3[_0x477d('0x451')]):_0x42d0d3['toString']()});});_0x32b64c['hasRole'](_0x477d('0x5f'))?_0x157bc5[_0x477d('0xaa8')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':'name'})[_0x477d('0x38b')]['then'](function(_0x3c1095){_0x4e0e0e[_0x477d('0xf2e')]=_0x3c1095[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x416fb9){_0x23c123['error']({'title':_0x416fb9[_0x477d('0x3c3')]?'API:'+_0x416fb9[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x416fb9['statusText']:_0x477d('0x1909'),'msg':_0x416fb9[_0x477d('0x451')]?JSON['stringify'](_0x416fb9['data']):_0x416fb9[_0x477d('0x453')]()});}):_0x157bc5['trunk'][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':'name'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x3e37f5){_0x4e0e0e[_0x477d('0xf2e')]=_0x3e37f5['rows']||[];})[_0x477d('0x76')](function(){return _0x157bc5[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x4e0e0e[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x3f3})['$promise'];})[_0x477d('0x76')](function(_0x141e8a){var _0x49d341=_0x141e8a&&_0x141e8a[_0x477d('0xf2')]?_0x141e8a[_0x477d('0xf2')][0x0]:null;if(!_0x49d341){var _0x2950e1=[];var _0x498e9f=null;if(_0x4e0e0e[_0x477d('0x163e')]){_0x498e9f=_[_0x477d('0x10a')](_0x4e0e0e['trunks'],{'id':Number(_0x4e0e0e[_0x477d('0x163e')]['TrunkId'])});}for(var _0x455c72=0x0;_0x455c72<_0x4e0e0e['trunks'][_0x477d('0x79')];_0x455c72++){if(_0x498e9f&&_0x4e0e0e[_0x477d('0xf2e')][_0x455c72]['id']===_0x498e9f['id']){_0x4e0e0e[_0x477d('0xf2e')][_0x455c72][_0x477d('0xf8b')]=![];_0x2950e1[_0x477d('0x3a7')](_0x4e0e0e[_0x477d('0xf2e')][_0x455c72]);}}_0x4e0e0e['trunks']=_0x2950e1;}else{if(!_0x49d341['autoAssociation']){return _0x157bc5[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x49d341['id']})[_0x477d('0x38b')]['then'](function(_0x3ab3cd){var _0x51a2d1=_[_0x477d('0x3cb')](_0x3ab3cd[_0x477d('0xf2')],function(_0x51a3eb){return _[_0x477d('0x10a')](_0x4e0e0e[_0x477d('0xf2e')],{'id':_0x51a3eb[_0x477d('0x3af')]});});var _0x1a2376=null;if(_0x4e0e0e[_0x477d('0x163e')]){_0x1a2376=_['find'](_0x4e0e0e[_0x477d('0xf2e')],{'id':Number(_0x4e0e0e[_0x477d('0x163e')][_0x477d('0x190a')])});}if(_0x1a2376&&!_[_0x477d('0x3ab')](_0x51a2d1,['id',_0x1a2376['id']])){var _0x1cf8ae=_[_0x477d('0x10a')](_0x4e0e0e['trunks'],{'id':_0x1a2376['id']});_0x1cf8ae[_0x477d('0xf8b')]=![];_0x51a2d1[_0x477d('0x3a7')](_0x1cf8ae);}_0x4e0e0e[_0x477d('0xf2e')]=_0x51a2d1;});}}})[_0x477d('0xf8')](function(_0x3898a0){_0x23c123[_0x477d('0x44a')]({'title':_0x3898a0[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x3898a0['status']+_0x477d('0x44c')+_0x3898a0[_0x477d('0x44d')]:_0x477d('0x190b'),'msg':_0x3898a0[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x3898a0['data']):_0x3898a0[_0x477d('0x453')]()});});_0x32b64c[_0x477d('0x56')](_0x477d('0x5f'))?_0x157bc5[_0x477d('0xc99')]['get']({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x1b895a){_0x4e0e0e[_0x477d('0xf12')]=_0x1b895a[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x417475){_0x23c123[_0x477d('0x44a')]({'title':_0x417475[_0x477d('0x3c3')]?'API:'+_0x417475[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x417475[_0x477d('0x44d')]:'SYSTEM:GET_PROJECTS','msg':_0x417475['data']?JSON['stringify'](_0x417475[_0x477d('0x451')]):_0x417475['toString']()});}):_0x157bc5[_0x477d('0xc99')][_0x477d('0x376')]({'fields':'id,name','sort':'name'})['$promise'][_0x477d('0x76')](function(_0x5b523b){_0x4e0e0e[_0x477d('0xf12')]=_0x5b523b[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x157bc5[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x4e0e0e[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x44f})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x453924){var _0xedae74=_0x453924&&_0x453924['rows']?_0x453924[_0x477d('0xf2')][0x0]:null;if(!_0xedae74){var _0x2eaf16=[];var _0x378aed=null;if(_0x4e0e0e['queueCampaign']){_0x378aed=_[_0x477d('0x10a')](_0x4e0e0e[_0x477d('0xf12')],{'name':_0x4e0e0e[_0x477d('0x163e')]['dialQueueProject']});}for(var _0x2063db=0x0;_0x2063db<_0x4e0e0e[_0x477d('0xf12')][_0x477d('0x79')];_0x2063db++){if(_0x378aed&&_0x4e0e0e[_0x477d('0xf12')][_0x2063db]['id']===_0x378aed['id']){_0x4e0e0e[_0x477d('0xf12')][_0x2063db][_0x477d('0xf8b')]=![];_0x2eaf16[_0x477d('0x3a7')](_0x4e0e0e[_0x477d('0xf12')][_0x2063db]);}}_0x4e0e0e[_0x477d('0xf12')]=_0x2eaf16;}else{if(!_0xedae74['autoAssociation']){return _0x157bc5['userProfileResource'][_0x477d('0x376')]({'sectionId':_0xedae74['id']})['$promise'][_0x477d('0x76')](function(_0x27111c){var _0x533eb6=_[_0x477d('0x3cb')](_0x27111c['rows'],function(_0x1185f9){return _['find'](_0x4e0e0e['projects'],{'id':_0x1185f9[_0x477d('0x3af')]});});var _0x35c0a2=null;if(_0x4e0e0e[_0x477d('0x163e')]){_0x35c0a2=_[_0x477d('0x10a')](_0x4e0e0e[_0x477d('0xf12')],{'name':_0x4e0e0e[_0x477d('0x163e')][_0x477d('0x1e84')]});}if(_0x35c0a2&&!_[_0x477d('0x3ab')](_0x533eb6,['id',_0x35c0a2['id']])){var _0x4d1e03=_['find'](_0x4e0e0e['projects'],{'id':_0x35c0a2['id']});_0x4d1e03[_0x477d('0xf8b')]=![];_0x533eb6['push'](_0x4d1e03);}_0x4e0e0e[_0x477d('0xf12')]=_0x533eb6;});}}})[_0x477d('0xf8')](function(_0x1efd9b){_0x23c123[_0x477d('0x44a')]({'title':_0x1efd9b[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x1efd9b[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x1efd9b[_0x477d('0x44d')]:_0x477d('0x1d90'),'msg':_0x1efd9b['data']?JSON['stringify'](_0x1efd9b[_0x477d('0x451')]):_0x1efd9b[_0x477d('0x453')]()});});_0x32b64c[_0x477d('0x56')]('admin')?_0x157bc5[_0x477d('0x79c')]['get']({'fields':'id,name','sort':_0x477d('0x94'),'IntervalId':_0x477d('0xea')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x3be6db){_0x4e0e0e[_0x477d('0x79c')]=_0x3be6db[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x13daec){_0x23c123['error']({'title':_0x13daec[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x13daec['status']+_0x477d('0x44c')+_0x13daec[_0x477d('0x44d')]:_0x477d('0x122b'),'msg':_0x13daec[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x13daec[_0x477d('0x451')]):_0x13daec[_0x477d('0x453')]()});}):_0x157bc5['interval'][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'IntervalId':_0x477d('0xea')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x10a48e){_0x4e0e0e['interval']=_0x10a48e[_0x477d('0xf2')]||[];})['then'](function(){return _0x157bc5[_0x477d('0x3ac')]['get']({'userProfileId':_0x4e0e0e[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x3ec})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0xba1c5b){var _0x1b84e1=_0xba1c5b&&_0xba1c5b[_0x477d('0xf2')]?_0xba1c5b[_0x477d('0xf2')][0x0]:null;if(!_0x1b84e1){var _0x40293b=[];var _0x27703a=null;if(_0x4e0e0e[_0x477d('0x163e')]){_0x27703a=_[_0x477d('0x10a')](_0x4e0e0e['interval'],{'id':Number(_0x4e0e0e[_0x477d('0x163e')]['IntervalId'])});}for(var _0x19ff29=0x0;_0x19ff29<_0x4e0e0e['interval'][_0x477d('0x79')];_0x19ff29++){if(_0x27703a&&_0x4e0e0e[_0x477d('0x79c')][_0x19ff29]['id']===_0x27703a['id']){_0x4e0e0e[_0x477d('0x79c')][_0x19ff29][_0x477d('0xf8b')]=![];_0x40293b[_0x477d('0x3a7')](_0x4e0e0e[_0x477d('0x79c')][_0x19ff29]);}}_0x4e0e0e[_0x477d('0x79c')]=_0x40293b;}else{if(!_0x1b84e1[_0x477d('0x3ad')]){return _0x157bc5[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x1b84e1['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x69585b){var _0x4cbbf6=_[_0x477d('0x3cb')](_0x69585b[_0x477d('0xf2')],function(_0x3fcf45){return _[_0x477d('0x10a')](_0x4e0e0e[_0x477d('0x79c')],{'id':_0x3fcf45['resourceId']});});var _0x318d5f=null;if(_0x4e0e0e['queueCampaign']){_0x318d5f=_[_0x477d('0x10a')](_0x4e0e0e[_0x477d('0x79c')],{'id':Number(_0x4e0e0e[_0x477d('0x163e')][_0x477d('0xf8c')])});}if(_0x318d5f&&!_[_0x477d('0x3ab')](_0x4cbbf6,['id',_0x318d5f['id']])){var _0x4f7059=_[_0x477d('0x10a')](_0x4e0e0e[_0x477d('0x79c')],{'id':_0x318d5f['id']});_0x4f7059[_0x477d('0xf8b')]=![];_0x4cbbf6['push'](_0x4f7059);}_0x4e0e0e[_0x477d('0x79c')]=_0x4cbbf6;});}}})[_0x477d('0xf8')](function(_0x2ab57a){_0x23c123[_0x477d('0x44a')]({'title':_0x2ab57a['status']?_0x477d('0x44b')+_0x2ab57a['status']+_0x477d('0x44c')+_0x2ab57a[_0x477d('0x44d')]:_0x477d('0x122c'),'msg':_0x2ab57a['data']?JSON['stringify'](_0x2ab57a[_0x477d('0x451')]):_0x2ab57a[_0x477d('0x453')]()});});_0x32b64c[_0x477d('0x56')](_0x477d('0x5f'))?_0x157bc5[_0x477d('0x657')]['get']({'fields':'name,id','sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})['$promise'][_0x477d('0x76')](function(_0x1711c2){_0x4e0e0e[_0x477d('0xf39')]=_0x1711c2[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x4bf3a9){_0x23c123[_0x477d('0x44a')]({'title':_0x4bf3a9[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x4bf3a9['status']+'\x20-\x20'+_0x4bf3a9[_0x477d('0x44d')]:_0x477d('0x13b3'),'msg':_0x4bf3a9[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x4bf3a9[_0x477d('0x451')]):_0x4bf3a9[_0x477d('0x453')]()});}):_0x157bc5['pause'][_0x477d('0x376')]({'fields':_0x477d('0x13b2'),'sort':_0x477d('0x94'),'nolimit':'true'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x10d297){_0x4e0e0e[_0x477d('0xf39')]=_0x10d297[_0x477d('0xf2')]||[];})['then'](function(){return _0x157bc5[_0x477d('0x3ac')]['get']({'userProfileId':_0x4e0e0e[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x3ed})[_0x477d('0x38b')];})['then'](function(_0x4dd669){var _0x4fa793=_0x4dd669&&_0x4dd669['rows']?_0x4dd669[_0x477d('0xf2')][0x0]:null;if(!_0x4fa793){_0x4e0e0e[_0x477d('0xf39')]=[];}else{if(!_0x4fa793['autoAssociation']){return _0x157bc5[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x4fa793['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x5b7f2c){var _0x2472db=_[_0x477d('0x3cb')](_0x5b7f2c[_0x477d('0xf2')],function(_0x4c1cba){return _[_0x477d('0x10a')](_0x4e0e0e[_0x477d('0xf39')],{'id':_0x4c1cba[_0x477d('0x3af')]});});_0x4e0e0e[_0x477d('0xf39')]['forEach'](function(_0x34776f){if(!_[_0x477d('0x3ab')](_0x2472db,['id',_0x34776f['id']])){_0x34776f[_0x477d('0xf8b')]=![];}_0x2472db['push'](_0x34776f);});_0x4e0e0e['pauses']=_0x2472db;});}}})[_0x477d('0xf8')](function(_0x12baea){_0x23c123[_0x477d('0x44a')]({'title':_0x12baea[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x12baea[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x12baea['statusText']:_0x477d('0x1958'),'msg':_0x12baea[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x12baea[_0x477d('0x451')]):_0x12baea[_0x477d('0x453')]()});});function _0x4626de(_0x5e234b,_0x4be040){_0x3f1832['show']({'controller':_0x477d('0x1e48'),'controllerAs':'vm','templateUrl':_0x477d('0x1e85'),'parent':angular['element'](_0x5ce07a['body']),'targetEvent':_0x4be040,'clickOutsideToClose':!![],'locals':{'queueCampaign':_0x5e234b,'queueCampaigns':_0x4e0e0e[_0x477d('0x163d')]?_0x4e0e0e[_0x477d('0x163d')][_0x477d('0xf2')]:[],'crudPermissions':_0x4e0e0e[_0x477d('0xd66')]}});}function _0x4417f1(_0x208c1d,_0x5ddf51){_0x3f1832['show']({'controller':_0x477d('0x1e77'),'controllerAs':'vm','templateUrl':'app/main/apps/motiondialer/views/queueCampaigns/edit/listadd/listadd.html','parent':angular[_0x477d('0x398')](_0x5ce07a['body']),'targetEvent':_0x5ddf51,'clickOutsideToClose':!![],'locals':{'queueCampaign':_0x208c1d,'queueCampaigns':_0x4e0e0e[_0x477d('0x163d')]?_0x4e0e0e[_0x477d('0x163d')]['rows']:[],'crudPermissions':_0x4e0e0e['crudPermissions']}});}function _0xbed748(_0x517b07,_0x5920cb){_0x3f1832[_0x477d('0x395')]({'controller':_0x477d('0x1e47'),'controllerAs':'vm','templateUrl':_0x477d('0x1e86'),'parent':angular['element'](_0x5ce07a['body']),'targetEvent':_0x5920cb,'clickOutsideToClose':!![],'locals':{'queueCampaign':_0x517b07,'queueCampaigns':_0x4e0e0e['queueCampaigns']?_0x4e0e0e[_0x477d('0x163d')]['rows']:[],'crudPermissions':_0x4e0e0e[_0x477d('0xd66')]}});}function _0x3ac90e(_0x35623f,_0x563055){_0x3f1832['show']({'controller':_0x477d('0x1e7a'),'controllerAs':'vm','templateUrl':'app/main/apps/motiondialer/views/queueCampaigns/edit/teamadd/teamadd.html','parent':angular[_0x477d('0x398')](_0x5ce07a[_0x477d('0x399')]),'targetEvent':_0x563055,'clickOutsideToClose':!![],'locals':{'queueCampaign':_0x35623f,'queueCampaigns':_0x4e0e0e['queueCampaigns']?_0x4e0e0e['queueCampaigns'][_0x477d('0xf2')]:[],'crudPermissions':_0x4e0e0e['crudPermissions']}});}function _0x215d3b(_0x49b664,_0x18c4a6){_0x3f1832[_0x477d('0x395')]({'controller':'QueueCampaignagentaddController','controllerAs':'vm','templateUrl':_0x477d('0x1e87'),'parent':angular[_0x477d('0x398')](_0x5ce07a['body']),'targetEvent':_0x18c4a6,'clickOutsideToClose':!![],'locals':{'queueCampaign':_0x49b664,'queueCampaigns':_0x4e0e0e[_0x477d('0x163d')]?_0x4e0e0e[_0x477d('0x163d')][_0x477d('0xf2')]:[],'crudPermissions':_0x4e0e0e[_0x477d('0xd66')],'realtime':![]}});}function _0x49f6c5(_0x27bbb4,_0x5d2e44){var _0x19441d=_0x5d2e44['id'];_0x157bc5['voiceQueue'][_0x477d('0x1dfe')]({'id':_0x27bbb4,'ids':_0x19441d})['$promise'][_0x477d('0x76')](function(){return _0x157bc5[_0x477d('0xa76')][_0x477d('0x1e09')]({'id':_0x27bbb4,'ids':_0x19441d,'dialCheckDuplicateType':'never'})['$promise'];})[_0x477d('0x76')](function(){_0x23c123[_0x477d('0x485')]({'title':'Reset\x20Succesfull','msg':_0x477d('0x1e0c')+_0x5d2e44[_0x477d('0x94')]+_0x477d('0x1e0d')});})['catch'](function(_0x55bfa0){_0x23c123[_0x477d('0x44a')]({'title':_0x55bfa0[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x55bfa0[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x55bfa0['statusText']:_0x477d('0x1e88'),'msg':_0x55bfa0[_0x477d('0x3c3')]?JSON[_0x477d('0x3fb')](_0x55bfa0[_0x477d('0x451')]):_0x55bfa0[_0x477d('0x453')]()});});}function _0x2fb4a1(_0x138ca4,_0x140da7){_0x157bc5[_0x477d('0xa76')][_0x477d('0x1562')]({'id':_0x138ca4['id'],'fields':_0x477d('0x9c'),'nolimit':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x1ecccd){if(_[_0x477d('0x484')](_0x1ecccd[_0x477d('0xf2')])||_[_0x477d('0x3b2')](_0x1ecccd['rows'])){_0x23c123[_0x477d('0x669')]({'title':_0x477d('0x1e18')});}else if(_0x1ecccd[_0x477d('0xf2')][_0x477d('0x79')]===0x1){var _0x79180c=_0x3f1832['confirm']()[_0x477d('0x49a')](_0x477d('0x1e19')+_0x1ecccd[_0x477d('0xf2')][0x0][_0x477d('0x94')]+'\x20?')[_0x477d('0xd92')](_0x477d('0xd93')+_0x1ecccd[_0x477d('0xf2')][0x0]['name']+_0x477d('0xd94')+'\x20will\x20be\x20reset.')['ariaLabel'](_0x477d('0x1e1a'))[_0x477d('0xd7c')](_0x140da7)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x3f1832['show'](_0x79180c)[_0x477d('0x76')](function(){_0x49f6c5(_0x4e0e0e[_0x477d('0x163e')]['id'],_0x1ecccd['rows'][0x0]);});}else{_0x3f1832[_0x477d('0x395')]({'controller':_0x477d('0x1e89'),'controllerAs':'vm','templateUrl':_0x477d('0x1e8a'),'parent':angular['element'](_0x5ce07a[_0x477d('0x399')]),'targetEvent':_0x140da7,'clickOutsideToClose':![],'locals':{'queueCampaign':_0x138ca4,'listsCampaign':_0x1ecccd?_0x1ecccd['rows']:[]}});}})[_0x477d('0xf8')](function(_0x4c95d4){_0x23c123[_0x477d('0x44a')]({'title':_0x4c95d4[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x4c95d4['status']+_0x477d('0x44c')+_0x4c95d4['statusText']:_0x477d('0x1e1d'),'msg':_0x4c95d4[_0x477d('0x3c3')]?JSON[_0x477d('0x3fb')](_0x4c95d4['data']):_0x4c95d4[_0x477d('0x453')]()});});}function _0x845100(_0x1cdfb4,_0x364ae9){if(_0x32b64c[_0x477d('0x56')](_0x477d('0x5f'))){_0x27b63a['go'](_0x477d('0x214'),{});}else{return _0x157bc5[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x32b64c[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0x5e6})[_0x477d('0x38b')]['then'](function(_0x800a0e){var _0x3f4ac5=_0x800a0e&&_0x800a0e[_0x477d('0xf2')]?_0x800a0e[_0x477d('0xf2')][0x0]:null;if(_0x3f4ac5&&_0x3f4ac5['enabled']){_0x27b63a['go'](_0x477d('0x214'),{});}else{_0x23c123[_0x477d('0x669')]({'title':_0x24921c[_0x477d('0x45f')](_0x477d('0x119d')),'msg':_0x24921c['instant'](_0x477d('0x142f'))});}})[_0x477d('0xf8')](function(_0x44d3c6){_0x23c123[_0x477d('0x44a')]({'title':_0x44d3c6[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x44d3c6['status']+_0x477d('0x44c')+_0x44d3c6[_0x477d('0x44d')]:_0x477d('0x11df'),'msg':_0x44d3c6[_0x477d('0x3c3')]?JSON[_0x477d('0x3fb')](_0x44d3c6[_0x477d('0x451')]):_0x44d3c6['toString']()});});}}function _0x43bc11(){_0x27b63a['go'](_0x477d('0x1ff'),{},{'reload':_0x477d('0x1ff')});}function _0x17b23b(){_0x157bc5[_0x477d('0xa76')][_0x477d('0x710')]({'id':_0x4e0e0e[_0x477d('0x163e')]['id']},_0x4e0e0e[_0x477d('0x163e')])[_0x477d('0x38b')][_0x477d('0x76')](function(){_0x23c123[_0x477d('0x485')]({'title':_0x477d('0x1e8b'),'msg':_0x4e0e0e[_0x477d('0x163e')][_0x477d('0x94')]?_0x4e0e0e['queueCampaign'][_0x477d('0x94')]+'\x20has\x20been\x20updated!':''});})[_0x477d('0xf8')](function(_0x13685a){_0x23c123['error']({'title':_0x13685a[_0x477d('0x3c3')]?'API:'+_0x13685a[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x13685a[_0x477d('0x44d')]:'SYSTEM:GETvoiceQueue','msg':_0x13685a[_0x477d('0x451')]?JSON['stringify'](_0x13685a['data']):_0x13685a[_0x477d('0x453')]()});});}}}());(function(){'use strict';_0x114b6c['$inject']=[_0x477d('0x474'),_0x477d('0x387'),'$state',_0x477d('0x554'),_0x477d('0x384'),_0x477d('0x475'),'$timeout',_0x477d('0x40d'),_0x477d('0x163d'),_0x477d('0x3a5'),_0x477d('0x3ac'),_0x477d('0x386'),_0x477d('0x342'),_0x477d('0x40e'),_0x477d('0x55'),_0x477d('0x613'),_0x477d('0xc8e')];angular[_0x477d('0xb')]('app.motiondialer')[_0x477d('0x3ba')](_0x477d('0x1e8c'),_0x114b6c);function _0x114b6c(_0x50b4da,_0x56b8d8,_0x2360a8,_0x34db45,_0xddd1cc,_0x31b0f0,_0x5d89ea,_0x1185fe,_0x40a973,_0x34f2f7,_0x522fc2,_0x846e72,_0x1e4cf0,_0x11edcb,_0x339006,_0x5c9542,_0x1375eb){var _0x27270e=this;_0x27270e[_0x477d('0x613')]=_0x5c9542;_0x27270e[_0x477d('0xc8e')]=_0x1375eb;_0x27270e[_0x477d('0x3e5')]=_0x339006[_0x477d('0x5c')]();_0x27270e[_0x477d('0x163d')]=_0x40a973||{'count':0x0,'rows':[]};_0x27270e[_0x477d('0x3a5')]=_0x34f2f7;_0x27270e['userProfileSection']=_0x522fc2&&_0x522fc2['count']==0x1?_0x522fc2['rows'][0x0]:null;_0x27270e[_0x477d('0xd66')]=_0x339006[_0x477d('0xd81')](_0x27270e[_0x477d('0x3ac')]?_0x27270e[_0x477d('0x3ac')]['crudPermissions']:null);_0x27270e[_0x477d('0xd82')]=_0x477d('0x163d');_0x27270e[_0x477d('0xd83')]='';_0x27270e[_0x477d('0xd84')]=null;_0x27270e['selectedQueueCampaigns']=[];_0x27270e[_0x477d('0x3ef')]={'fields':_0x477d('0x202'),'type':_0x477d('0x127'),'sort':_0x477d('0x59'),'channel':_0x477d('0x108'),'limit':0xa,'page':0x1};_0x27270e[_0x477d('0x1e22')]=_[_0x477d('0xdb5')]([{'option':_0x477d('0x1e23'),'value':'\x27always\x27'},{'option':'NEVER','value':_0x477d('0x1d52')},{'option':_0x477d('0x1e25'),'value':_0x477d('0x1e26')}],function(_0x3fa699){return _['replace'](_0x3fa699[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x27270e[_0x477d('0x1e8d')]=_[_0x477d('0xdb5')]([{'option':_0x477d('0xf6c'),'value':_0x477d('0x1e8e')},{'option':'No','value':_0x477d('0x1271')}],function(_0x410088){return _[_0x477d('0x409')](_0x410088[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x27270e[_0x477d('0x1e8f')]=_[_0x477d('0xdb5')]([{'option':_0x477d('0xf6c'),'value':'\x27yes\x27'},{'option':'No','value':_0x477d('0x1271')}],function(_0xd4216e){return _[_0x477d('0x409')](_0xd4216e[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x27270e[_0x477d('0x1e90')]=_['keyBy']([{'option':_0x477d('0xf6c'),'value':_0x477d('0x1e91')},{'option':'No','value':_0x477d('0x1271')}],function(_0x307555){return _['replace'](_0x307555[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x27270e[_0x477d('0x1e92')]=_[_0x477d('0xdb5')]([{'option':_0x477d('0x1e93'),'value':'\x27\x27'},{'option':_0x477d('0xf75'),'value':_0x477d('0x1e94')},{'option':'wav49','value':_0x477d('0x1e95')},{'option':_0x477d('0xf77'),'value':_0x477d('0x1e96')}],function(_0xfbee29){return _[_0x477d('0x409')](_0xfbee29[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x27270e['arraysetinterfacevar']=_[_0x477d('0xdb5')]([{'option':_0x477d('0xf6c'),'value':_0x477d('0x1e91')},{'option':'No','value':_0x477d('0x1271')}],function(_0x58f2aa){return _['replace'](_0x58f2aa[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x27270e[_0x477d('0x1e97')]=_[_0x477d('0xdb5')]([{'option':_0x477d('0xf6c'),'value':_0x477d('0x1e91')},{'option':'No','value':_0x477d('0x1271')}],function(_0xef6ac7){return _['replace'](_0xef6ac7[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x27270e['arraysetqueueentryvar']=_[_0x477d('0xdb5')]([{'option':'Yes','value':_0x477d('0x1e91')},{'option':'No','value':_0x477d('0x1271')}],function(_0x25d68a){return _[_0x477d('0x409')](_0x25d68a[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x27270e[_0x477d('0x1e27')]=_[_0x477d('0xdb5')]([{'option':_0x477d('0xe91'),'value':'\x27DESC\x27'},{'option':_0x477d('0xe8e'),'value':_0x477d('0x1e29')}],function(_0x2d4fb2){return _['replace'](_0x2d4fb2[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x27270e[_0x477d('0x1e98')]=_[_0x477d('0xdb5')]([{'option':_0x477d('0x1e99'),'value':_0x477d('0x1e9a')},{'option':_0x477d('0x1e9b'),'value':_0x477d('0x1e9c')},{'option':_0x477d('0x1e9d'),'value':_0x477d('0x1e9e')},{'option':'Preview','value':_0x477d('0x1e9f')},{'option':_0x477d('0x1ea0'),'value':_0x477d('0x1ea1')}],function(_0x4ea88a){return _['replace'](_0x4ea88a[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x27270e['arraydialPredictiveOptimization']=_[_0x477d('0xdb5')]([{'option':'AgentBusyFactor','value':_0x477d('0x1ea2')},{'option':_0x477d('0x1ea3'),'value':_0x477d('0x1ea4')}],function(_0x4757a7){return _[_0x477d('0x409')](_0x4757a7[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x27270e[_0x477d('0x1994')]=_[_0x477d('0xdb5')]([{'option':_0x477d('0x1ea5'),'value':_0x477d('0x11d3')},{'option':_0x477d('0x1ea6'),'value':_0x477d('0x1ea7'),'ngIf':'vm.queueCampaign.dialMethod\x20===\x20\x27booked\x27'},{'option':_0x477d('0x1ea8'),'value':_0x477d('0x1ea9'),'ngIf':_0x477d('0x1eaa')},{'option':_0x477d('0x1eab'),'value':_0x477d('0x1eac'),'ngIf':_0x477d('0x1eaa')},{'option':'Random','value':_0x477d('0x1ead'),'ngIf':_0x477d('0x1eaa')},{'option':'Linear','value':_0x477d('0x1eae'),'ngIf':_0x477d('0x1eaa')},{'option':_0x477d('0x1eaf'),'value':_0x477d('0x1eb0'),'ngIf':_0x477d('0x1eaa')}],function(_0x2b63a2){return _['replace'](_0x2b63a2[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x27270e['editstate']=_0x13ecdb;_0x27270e[_0x477d('0x1c67')]=_0x202eb3;_0x27270e['listadddialog']=_0xc7aa9f;_0x27270e['blacklistadddialog']=_0x21ac87;_0x27270e[_0x477d('0x11d4')]=_0x2b1302;_0x27270e[_0x477d('0x1222')]=_0xcffc12;_0x27270e[_0x477d('0xd88')]=_0x3c0f7f;_0x27270e[_0x477d('0x11d5')]=_0x4fdddb;_0x27270e['success']=_0xe69003;_0x27270e['getQueueCampaigns']=_0x593929;_0x27270e[_0x477d('0x1eb1')]=_0x586a7e;_0x27270e[_0x477d('0x1e3c')]=_0x3cef96;_0x27270e[_0x477d('0x1eb2')]=_0x4c3738;_0x27270e[_0x477d('0x1eb3')]=_0x157748;_0x27270e['deselectQueueCampaigns']=_0x36ea4d;_0x27270e['selectAllQueueCampaigns']=_0x525e8a;_0x339006[_0x477d('0x56')](_0x477d('0x5f'))?_0x846e72['trunk'][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x546dc7){_0x27270e[_0x477d('0xf2e')]=_0x546dc7[_0x477d('0xf2')]||[];})['catch'](function(_0x57986d){_0x11edcb[_0x477d('0x44a')]({'title':_0x57986d['status']?_0x477d('0x44b')+_0x57986d[_0x477d('0x3c3')]+'\x20-\x20'+_0x57986d[_0x477d('0x44d')]:_0x477d('0x1909'),'msg':_0x57986d[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x57986d[_0x477d('0x451')]):_0x57986d['toString']()});}):_0x846e72[_0x477d('0xaa8')]['get']({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94')})[_0x477d('0x38b')]['then'](function(_0x455acb){_0x27270e[_0x477d('0xf2e')]=_0x455acb[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x846e72['userProfileSection']['get']({'userProfileId':_0x27270e[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x3f3})['$promise'];})[_0x477d('0x76')](function(_0x46b5db){var _0x389909=_0x46b5db&&_0x46b5db['rows']?_0x46b5db[_0x477d('0xf2')][0x0]:null;if(!_0x389909){var _0x4775b2=[];var _0x2a875b=[];_0x27270e[_0x477d('0x163d')][_0x477d('0xf2')][_0x477d('0x3b1')](function(_0x154a55){var _0x5b86b8=_[_0x477d('0x10a')](_0x27270e[_0x477d('0xf2e')],{'id':Number(_0x154a55[_0x477d('0x190a')])});_0x2a875b[_0x477d('0x3a7')](_0x5b86b8);});for(var _0x2df32f=0x0;_0x2df32f<_0x27270e[_0x477d('0xf2e')]['length'];_0x2df32f++){var _0x32498a=_[_0x477d('0x3ab')](_0x2a875b,{'id':_0x27270e[_0x477d('0xf2e')][_0x2df32f]['id']});if(_0x32498a){_0x27270e[_0x477d('0xf2e')][_0x2df32f][_0x477d('0xf8b')]=![];_0x4775b2[_0x477d('0x3a7')](_0x27270e['trunks'][_0x2df32f]);}}_0x27270e[_0x477d('0xf2e')]=_0x4775b2;}else{if(!_0x389909[_0x477d('0x3ad')]){return _0x846e72['userProfileResource'][_0x477d('0x376')]({'sectionId':_0x389909['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0xd73944){var _0x1530e4=_[_0x477d('0x3cb')](_0xd73944['rows'],function(_0x222cca){return _[_0x477d('0x10a')](_0x27270e['trunks'],{'id':_0x222cca[_0x477d('0x3af')]});});var _0x21fe4d=null;_0x21fe4d=[];_0x27270e[_0x477d('0x163d')]['rows']['forEach'](function(_0x207b01){var _0x3f232f=_[_0x477d('0x10a')](_0x27270e['trunks'],{'id':Number(_0x207b01[_0x477d('0x190a')])});_0x21fe4d[_0x477d('0x3a7')](_0x3f232f);});if(!_['isEmpty'](_0x21fe4d)){_0x21fe4d[_0x477d('0x3b1')](function(_0x22f798){if(!_[_0x477d('0x3ab')](_0x1530e4,['id',_0x22f798['id']])){var _0x4855ba=_[_0x477d('0x10a')](_0x27270e[_0x477d('0xf2e')],{'id':_0x22f798['id']});_0x4855ba[_0x477d('0xf8b')]=![];_0x1530e4[_0x477d('0x3a7')](_0x4855ba);}});}_0x27270e[_0x477d('0xf2e')]=_0x1530e4;});}}})[_0x477d('0xf8')](function(_0x2dd324){_0x11edcb[_0x477d('0x44a')]({'title':_0x2dd324[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x2dd324[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x2dd324[_0x477d('0x44d')]:_0x477d('0x190b'),'msg':_0x2dd324['data']?JSON[_0x477d('0x3fb')](_0x2dd324[_0x477d('0x451')]):_0x2dd324[_0x477d('0x453')]()});});_0x339006[_0x477d('0x56')](_0x477d('0x5f'))?_0x846e72[_0x477d('0x79c')][_0x477d('0x376')]({'fields':'id,name','sort':_0x477d('0x94'),'IntervalId':_0x477d('0xea')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0xb2b5d2){_0x27270e['interval']=_0xb2b5d2[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x4d8974){_0x11edcb[_0x477d('0x44a')]({'title':_0x4d8974[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x4d8974[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x4d8974[_0x477d('0x44d')]:_0x477d('0x122b'),'msg':_0x4d8974[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x4d8974[_0x477d('0x451')]):_0x4d8974[_0x477d('0x453')]()});}):_0x846e72['interval'][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':'name','IntervalId':_0x477d('0xea')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x338ce8){_0x27270e[_0x477d('0x79c')]=_0x338ce8['rows']||[];})[_0x477d('0x76')](function(){return _0x846e72[_0x477d('0x3ac')]['get']({'userProfileId':_0x27270e[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x3ec})[_0x477d('0x38b')];})['then'](function(_0x1d2a40){var _0x2dc6c1=_0x1d2a40&&_0x1d2a40[_0x477d('0xf2')]?_0x1d2a40[_0x477d('0xf2')][0x0]:null;if(!_0x2dc6c1){var _0x56d0c0=[];var _0xeda06f=null;if(_0x27270e[_0x477d('0x163e')]){_0xeda06f=_[_0x477d('0x10a')](_0x27270e[_0x477d('0x79c')],{'id':Number(_0x27270e[_0x477d('0x163e')][_0x477d('0xf8c')])});}for(var _0x203f40=0x0;_0x203f40<_0x27270e[_0x477d('0x79c')][_0x477d('0x79')];_0x203f40++){if(_0xeda06f&&_0x27270e[_0x477d('0x79c')][_0x203f40]['id']===_0xeda06f['id']){_0x27270e[_0x477d('0x79c')][_0x203f40]['canSelect']=![];_0x56d0c0[_0x477d('0x3a7')](_0x27270e[_0x477d('0x79c')][_0x203f40]);}}_0x27270e[_0x477d('0x79c')]=_0x56d0c0;}else{if(!_0x2dc6c1[_0x477d('0x3ad')]){return _0x846e72[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x2dc6c1['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x1af589){var _0x3311ce=_[_0x477d('0x3cb')](_0x1af589[_0x477d('0xf2')],function(_0x46ccf6){return _['find'](_0x27270e[_0x477d('0x79c')],{'id':_0x46ccf6[_0x477d('0x3af')]});});var _0x482426=null;if(_0x27270e[_0x477d('0x163e')]){_0x482426=_[_0x477d('0x10a')](_0x27270e[_0x477d('0x79c')],{'id':Number(_0x27270e[_0x477d('0x163e')]['IntervalId'])});}if(_0x482426&&!_[_0x477d('0x3ab')](_0x3311ce,['id',_0x482426['id']])){var _0x2a39f5=_['find'](_0x27270e[_0x477d('0x79c')],{'id':_0x482426['id']});_0x2a39f5['canSelect']=![];_0x3311ce[_0x477d('0x3a7')](_0x2a39f5);}_0x27270e['interval']=_0x3311ce;});}}})[_0x477d('0xf8')](function(_0xfc1dd6){_0x11edcb[_0x477d('0x44a')]({'title':_0xfc1dd6[_0x477d('0x3c3')]?'API:'+_0xfc1dd6['status']+'\x20-\x20'+_0xfc1dd6['statusText']:_0x477d('0x122c'),'msg':_0xfc1dd6[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0xfc1dd6[_0x477d('0x451')]):_0xfc1dd6[_0x477d('0x453')]()});});function _0x13ecdb(_0x390354,_0x2c8e6e){_0x2360a8['go']('app.motiondialer.queueCampaigns.edit',{'id':_0x390354['id'],'queueCampaign':_0x390354,'crudPermissions':_0x27270e[_0x477d('0xd66')]});}function _0x202eb3(_0x142bd0,_0x5cd5ea){_0xddd1cc[_0x477d('0x395')]({'controller':_0x477d('0x1e48'),'controllerAs':'vm','templateUrl':_0x477d('0x1e85'),'parent':angular['element'](_0x31b0f0['body']),'targetEvent':_0x5cd5ea,'clickOutsideToClose':!![],'locals':{'queueCampaign':_0x142bd0,'queueCampaigns':_0x27270e[_0x477d('0x163d')]?_0x27270e[_0x477d('0x163d')][_0x477d('0xf2')]:[],'crudPermissions':_0x27270e[_0x477d('0xd66')]}});}function _0xc7aa9f(_0x50f788,_0x52aece){_0xddd1cc[_0x477d('0x395')]({'controller':_0x477d('0x1e77'),'controllerAs':'vm','templateUrl':_0x477d('0x1eb4'),'parent':angular[_0x477d('0x398')](_0x31b0f0[_0x477d('0x399')]),'targetEvent':_0x52aece,'clickOutsideToClose':!![],'locals':{'queueCampaign':_0x50f788,'queueCampaigns':_0x27270e[_0x477d('0x163d')]?_0x27270e[_0x477d('0x163d')]['rows']:[],'crudPermissions':_0x27270e[_0x477d('0xd66')]}});}function _0x21ac87(_0x479226,_0x24f5eb){_0xddd1cc[_0x477d('0x395')]({'controller':_0x477d('0x1e47'),'controllerAs':'vm','templateUrl':'app/main/apps/motiondialer/views/queueCampaigns/edit/blacklistadd/blacklistadd.html','parent':angular[_0x477d('0x398')](_0x31b0f0['body']),'targetEvent':_0x24f5eb,'clickOutsideToClose':!![],'locals':{'queueCampaign':_0x479226,'queueCampaigns':_0x27270e[_0x477d('0x163d')]?_0x27270e[_0x477d('0x163d')]['rows']:[],'crudPermissions':_0x27270e[_0x477d('0xd66')]}});}function _0x2b1302(_0x24e772,_0x3a8e77){_0xddd1cc[_0x477d('0x395')]({'controller':_0x477d('0x1e7a'),'controllerAs':'vm','templateUrl':'app/main/apps/motiondialer/views/queueCampaigns/edit/teamadd/teamadd.html','parent':angular[_0x477d('0x398')](_0x31b0f0[_0x477d('0x399')]),'targetEvent':_0x3a8e77,'clickOutsideToClose':!![],'locals':{'queueCampaign':_0x24e772,'queueCampaigns':_0x27270e[_0x477d('0x163d')]?_0x27270e['queueCampaigns'][_0x477d('0xf2')]:[],'crudPermissions':_0x27270e[_0x477d('0xd66')]}});}function _0xcffc12(_0x5cc58d,_0x4f254f){_0xddd1cc[_0x477d('0x395')]({'controller':_0x477d('0x1eb5'),'controllerAs':'vm','templateUrl':'app/main/apps/motiondialer/views/queueCampaigns/edit/agentadd/agentadd.html','parent':angular['element'](_0x31b0f0[_0x477d('0x399')]),'targetEvent':_0x4f254f,'clickOutsideToClose':!![],'locals':{'queueCampaign':_0x5cc58d,'queueCampaigns':_0x27270e[_0x477d('0x163d')]?_0x27270e[_0x477d('0x163d')][_0x477d('0xf2')]:[],'crudPermissions':_0x27270e['crudPermissions'],'realtime':![]}});}function _0x3c0f7f(_0x4cf5d1,_0x4c77d1){var _0x1c3f73=_0xddd1cc['confirm']()[_0x477d('0x49a')](_0x477d('0xd90')+_[_0x477d('0xd91')](_0x477d('0x163e'))+'?')[_0x477d('0xd92')](_0x477d('0xd93')+(_0x4cf5d1[_0x477d('0x94')]||'queueCampaign')+'
'+'\x20will\x20be\x20deleted.')[_0x477d('0x687')](_0x477d('0x1eb6'))['targetEvent'](_0x4c77d1)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0xddd1cc[_0x477d('0x395')](_0x1c3f73)[_0x477d('0x76')](function(){_0x3cef96(_0x4cf5d1);},function(){console['log']('CANCEL');});}function _0x4fdddb(_0x25b16d,_0x52eb0c){if(_0x339006[_0x477d('0x56')]('admin')){_0x2360a8['go'](_0x477d('0x214'),{});}else{return _0x846e72['userProfileSection']['get']({'userProfileId':_0x339006[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0x5e6})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x31ab1e){var _0x5f3f6d=_0x31ab1e&&_0x31ab1e['rows']?_0x31ab1e[_0x477d('0xf2')][0x0]:null;if(_0x5f3f6d&&_0x5f3f6d[_0x477d('0x3b4')]){_0x2360a8['go'](_0x477d('0x214'),{});}else{_0x11edcb[_0x477d('0x669')]({'title':_0x1185fe[_0x477d('0x45f')](_0x477d('0x119d')),'msg':_0x1185fe[_0x477d('0x45f')]('STAFF.PERMISSIONS_UNAUTHORIZED_REDIRECT_MESSAGE')});}})[_0x477d('0xf8')](function(_0x13fc20){_0x11edcb['error']({'title':_0x13fc20[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x13fc20[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x13fc20[_0x477d('0x44d')]:_0x477d('0x11df'),'msg':_0x13fc20[_0x477d('0x3c3')]?JSON[_0x477d('0x3fb')](_0x13fc20[_0x477d('0x451')]):_0x13fc20[_0x477d('0x453')]()});});}}var _0x3d2f3b=!![];var _0x45a811=0x1;_0x50b4da[_0x477d('0x4b5')](_0x477d('0xd98'),function(_0x3a0d28,_0x5a4974){if(_0x3d2f3b){_0x5d89ea(function(){_0x3d2f3b=![];});}else{if(!_0x5a4974){_0x45a811=_0x27270e['query'][_0x477d('0xe03')];}if(_0x3a0d28!==_0x5a4974){_0x27270e[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0x3a0d28){_0x27270e[_0x477d('0x3ef')][_0x477d('0xe03')]=_0x45a811;}_0x27270e['getQueueCampaigns']();}});function _0xe69003(_0x5db915){_0x27270e['queueCampaigns']=_0x5db915||{'count':0x0,'rows':[]};}function _0x593929(){_0x27270e[_0x477d('0x3ef')]['offset']=(_0x27270e[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x27270e[_0x477d('0x3ef')][_0x477d('0x91d')];if(_0x339006[_0x477d('0x56')](_0x477d('0x5f'))){_0x27270e['promise']=_0x846e72[_0x477d('0xa76')][_0x477d('0x376')](_0x27270e['query'],_0xe69003)[_0x477d('0x38b')];}else{_0x27270e[_0x477d('0x3ef')]['id']=_0x27270e[_0x477d('0x3a5')]['id'];_0x27270e[_0x477d('0x3ef')][_0x477d('0xd99')]=_0x477d('0x128');_0x27270e['promise']=_0x846e72[_0x477d('0x3a5')]['getResources'](_0x27270e['query'],_0xe69003)[_0x477d('0x38b')];}}function _0x586a7e(_0x219619,_0x3bd425){_0xddd1cc['show']({'controller':_0x477d('0x1e34'),'controllerAs':'vm','templateUrl':_0x477d('0x1eb7'),'parent':angular[_0x477d('0x398')](_0x31b0f0[_0x477d('0x399')]),'targetEvent':_0x219619,'clickOutsideToClose':!![],'locals':{'queueCampaign':_0x3bd425,'queueCampaigns':_0x27270e[_0x477d('0x163d')][_0x477d('0xf2')],'license':_0x27270e[_0x477d('0x613')],'setting':_0x27270e[_0x477d('0xc8e')],'crudPermissions':_0x27270e[_0x477d('0xd66')]}});}function _0x3cef96(_0x2f6704){_0x846e72[_0x477d('0xa76')][_0x477d('0xa55')]({'id':_0x2f6704['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x27270e['queueCampaigns'][_0x477d('0xf2')],{'id':_0x2f6704['id']});_0x27270e['queueCampaigns'][_0x477d('0x3bb')]-=0x1;if(!_0x27270e[_0x477d('0x163d')][_0x477d('0xf2')]['length']){_0x27270e['getQueueCampaigns']();}_0x11edcb[_0x477d('0x485')]({'title':_[_0x477d('0xd91')](_0x477d('0x1eb8'))+'\x20deleted!','msg':_0x2f6704['name']?_0x2f6704[_0x477d('0x94')]+_0x477d('0xd7e'):''});})[_0x477d('0xf8')](function(_0x160d3a){if(_0x160d3a[_0x477d('0x451')]&&_0x160d3a[_0x477d('0x451')][_0x477d('0xd67')]&&_0x160d3a[_0x477d('0x451')][_0x477d('0xd67')]['length']){_0x27270e[_0x477d('0xd67')]=_0x160d3a['data'][_0x477d('0xd67')]||[{'message':_0x160d3a[_0x477d('0x453')](),'type':_0x477d('0x1eb9')}];for(var _0x3ec5d1=0x0;_0x3ec5d1<_0x160d3a[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x3ec5d1++){_0x11edcb[_0x477d('0x44a')]({'title':_0x160d3a[_0x477d('0x451')][_0x477d('0xd67')][_0x3ec5d1][_0x477d('0x439')],'msg':_0x160d3a[_0x477d('0x451')]['errors'][_0x3ec5d1]['message']});}}else{_0x11edcb[_0x477d('0x44a')]({'title':_0x160d3a[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x160d3a[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x160d3a['statusText']:_0x477d('0x1eb9'),'msg':_0x160d3a[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x160d3a[_0x477d('0x451')][_0x477d('0x452')]):_0x160d3a['message']||_0x160d3a[_0x477d('0x453')]()});}});}function _0x4c3738(){var _0x325acf=angular[_0x477d('0x6d9')](_0x27270e['selectedQueueCampaigns']);_0x27270e[_0x477d('0x1eba')]=[];return _0x325acf;}function _0x157748(_0x522e00){var _0x1fad90=_0xddd1cc[_0x477d('0xd78')]()[_0x477d('0x49a')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20queueCampaigns?')[_0x477d('0xd92')](_0x477d('0xd93')+_0x27270e['selectedQueueCampaigns']['length']+_0x477d('0xda0')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x1ebb'))[_0x477d('0xd7c')](_0x522e00)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0xddd1cc[_0x477d('0x395')](_0x1fad90)['then'](function(){_0x27270e[_0x477d('0x1eba')][_0x477d('0x3b1')](function(_0x2b99e0){_0x3cef96(_0x2b99e0);});_0x27270e[_0x477d('0x1eba')]=[];});}function _0x36ea4d(){_0x27270e[_0x477d('0x1eba')]=[];}function _0x525e8a(){_0x27270e['selectedQueueCampaigns']=_0x27270e[_0x477d('0x163d')]['rows'];}}}());(function(){'use strict';_0xd8bd59[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x3fe'),'$mdDialog',_0x477d('0x475'),'$window',_0x477d('0x40d'),_0x477d('0x386'),_0x477d('0x3a5'),_0x477d('0x3ac'),_0x477d('0x55'),_0x477d('0x5a3'),_0x477d('0x40e'),_0x477d('0x125c'),_0x477d('0x15b8')];angular['module'](_0x477d('0x3a'))[_0x477d('0x3ba')](_0x477d('0x1ebc'),_0xd8bd59);function _0xd8bd59(_0x459a7b,_0x1d73cf,_0x52357e,_0x2d3ce6,_0x274126,_0x25d634,_0xd82d13,_0x1a9023,_0x4dbb59,_0xa5bf57,_0x1f9648,_0x42b226,_0x84b516,_0x8df3aa){var _0x4a08ce=this;var _0x11be57=!![];_0x4a08ce['currentUser']=_0xa5bf57['getCurrentUser']();_0x4a08ce['agents']=_0x84b516?_0x84b516:[];_0x4a08ce[_0x477d('0x15b8')]=_0x8df3aa;_0x4a08ce[_0x477d('0x1655')]={'count':0x0,'rows':[]};_0x4a08ce[_0x477d('0x1654')]=![];_0x4a08ce[_0x477d('0x911')]=!![];_0x4a08ce[_0x477d('0x3a5')]=_0x1a9023;_0x4a08ce['userProfileSection']=_0x4dbb59&&_0x4dbb59[_0x477d('0x3bb')]==0x1?_0x4dbb59['rows'][0x0]:null;_0x4a08ce[_0x477d('0xd66')]=_0xa5bf57['parseCrudPermissions'](_0x4a08ce[_0x477d('0x3ac')]?_0x4a08ce['userProfileSection'][_0x477d('0xd66')]:null);_0x4a08ce[_0x477d('0x3ef')]={'fields':_0x477d('0x1656'),'type':_0x477d('0x127'),'queuecallerexitreason':_0x477d('0x1657')+','+'ABANDONED','sort':_0x477d('0x59'),'limit':0xa,'page':0x1};_0x4a08ce['getAbandonedCalls']=_0x213190;_0x4a08ce['refreshAbandonedCalls']=_0x1a742e;_0x4a08ce[_0x477d('0x1ebd')]=_0x401b61;_0x4a08ce[_0x477d('0x1ebe')]=_0x17d376;_0x4a08ce[_0x477d('0x1ebf')]=_0x86b1e8;_0x4a08ce[_0x477d('0x1ec0')]=_0xf06b41;_0x1f9648[_0x477d('0x165e')](_0x477d('0x165f'),_0x4a08ce['onSaveVoiceQueueReport']);_0x1f9648['on'](_0x477d('0x1660'),_0x4a08ce[_0x477d('0x1ec0')]);_0x217849();function _0x217849(){var _0xb63785=_0x274126['localStorage']['getItem'](_0x477d('0x1ec1')+_0x4a08ce[_0x477d('0x3e5')]['id']);if(_0xb63785){_0xb63785=JSON[_0x477d('0x77')](_0xb63785);if(_0xb63785&&_0xb63785[_0x477d('0x3ef')]){_0x4a08ce[_0x477d('0x3ef')]=_['merge'](_0xb63785[_0x477d('0x3ef')],_[_0x477d('0x3fc')](_0x4a08ce[_0x477d('0x3ef')],[_0x477d('0x568'),_0x477d('0x91d'),_0x477d('0xe03')]));_0x4a08ce['query']=_[_0x477d('0x3fc')](_0x4a08ce['query'],_0x477d('0x3b3'));}}else{var _0x2122c1={'$gte':moment()[_0x477d('0x12d')]('month')['utcOffset'](0x0,!![])['format'](),'$lte':moment()[_0x477d('0x130')]('month')['utcOffset'](0x0,!![])['format']()};_0x4a08ce['query']['createdAt']=_0x2122c1;}if(_0xa5bf57[_0x477d('0x56')]('admin')){_0xd82d13[_0x477d('0x380')]['getQueues']({'id':_0xa5bf57['getCurrentUser']()['id'],'fields':'id,name','channel':_0x477d('0x108'),'type':_0x477d('0x127'),'nolimit':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x193eee){_0x4a08ce[_0x477d('0xf2f')]=_0x193eee||{'count':0x0,'rows':[]};_0x4a08ce['queuesMap']=_[_0x477d('0x14bb')](_['keyBy'](_0x4a08ce[_0x477d('0xf2f')][_0x477d('0xf2')],_0x477d('0x94')),_0x477d('0x94'));})[_0x477d('0xf8')](function(_0x4d791d){console[_0x477d('0x44a')](_0x4d791d);})['finally'](function(){_0x4a08ce[_0x477d('0x1349')]=_0x5e0229();_0x4a08ce[_0x477d('0x1659')]();});}else{_0xd82d13['userProfile'][_0x477d('0xd9a')]({'id':_0x4a08ce[_0x477d('0x3e5')][_0x477d('0x61')],'section':_0x477d('0x128'),'channel':_0x477d('0x108'),'type':_0x477d('0x127'),'sort':'-updatedAt','nolimit':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x5ea196){_0x4a08ce[_0x477d('0xf2f')]=_0x5ea196||{'count':0x0,'rows':[]};_0x4a08ce[_0x477d('0x1661')]=_[_0x477d('0x14bb')](_[_0x477d('0xdb5')](_0x4a08ce[_0x477d('0xf2f')]['rows'],'name'),_0x477d('0x94'));})[_0x477d('0xf8')](function(_0x4ee3cd){console[_0x477d('0x44a')](_0x4ee3cd);})[_0x477d('0x5ff')](function(){_0x4a08ce[_0x477d('0x1349')]=_0x5e0229();_0x4a08ce[_0x477d('0x1659')]();});}}function _0x5e0229(){console[_0x477d('0x7b')](_0x477d('0x1ec2'),_0x4a08ce[_0x477d('0x125c')][_0x477d('0xf2')]);return[{'name':_0x477d('0x134a'),'key':_0x477d('0xe37'),'type':'date','label':_0x477d('0x134b')},{'name':'Agent','key':_0x477d('0x1ec3'),'type':_0x477d('0x462'),'label':_0x477d('0x1353'),'options':_0x4a08ce['agents'][_0x477d('0xf2')],'customOptions':[{'value':_0x477d('0x1665'),'translate':'DASHBOARDS.NOT_ASSIGNED'},{'value':undefined,'translate':_0x477d('0x1350')}]},{'name':'Campaign','key':'queue','type':_0x477d('0x413'),'label':_0x477d('0x1ec4'),'options':_0x4a08ce[_0x477d('0xf2f')][_0x477d('0xf2')]}];}function _0x213190(){_0x4a08ce[_0x477d('0x911')]=![];if(_0x4a08ce[_0x477d('0xf2f')][_0x477d('0x3bb')]>0x0){_0x4a08ce['query'][_0x477d('0x1256')]=_0x4a08ce['queues'][_0x477d('0x3bb')]===0x1?_0x4a08ce['queues'][_0x477d('0xf2')][0x0][_0x477d('0x94')]:_0x4a08ce[_0x477d('0x3ef')][_0x477d('0x1256')];_0x4a08ce[_0x477d('0x3ef')][_0x477d('0x91c')]=(_0x4a08ce[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x4a08ce['query'][_0x477d('0x91d')];_0x274126[_0x477d('0x39d')][_0x477d('0x3fa')](_0x477d('0x1ec1')+_0x4a08ce[_0x477d('0x3e5')]['id'],JSON[_0x477d('0x3fb')]({'query':_[_0x477d('0x3fc')](_0x4a08ce[_0x477d('0x3ef')],'queue')}));_0x4a08ce[_0x477d('0x553')]=_0xd82d13[_0x477d('0xaa0')][_0x477d('0x1666')](_0x4a08ce[_0x477d('0x3ef')],_0x220eee)['$promise'];}else{_0x220eee(null);}}function _0x220eee(_0x5daf5c){_0x4a08ce[_0x477d('0x1655')]=_0x5daf5c||{'count':0x0,'rows':[]};_0x11be57=![];_0x4a08ce['refresh']=!![];}function _0x1a742e(){_0x4a08ce[_0x477d('0x1654')]=![];_0x4a08ce[_0x477d('0x1659')]();}function _0x86b1e8(_0xbed6c6){var _0x3e4d09=_0x477d('0x127');if(_0xbed6c6&&_0x4a08ce[_0x477d('0x1661')]&&queue[_0x477d('0x439')]===_0x3e4d09&&_0x4a08ce[_0x477d('0x1661')][_0xbed6c6[_0x477d('0x1256')]]){_0x4a08ce['showTooltip']=!![];}}function _0xf06b41(_0x143195){if(_0x143195){var _0x2d010c=_[_0x477d('0x45a')](_0x4a08ce['abandonedCalls']['rows'],['id',_0x143195['id']]);if(_0x2d010c>=0x0){_[_0x477d('0xef')](_0x4a08ce[_0x477d('0x1655')][_0x477d('0xf2')][_0x2d010c],_0x143195);}}}function _0x401b61(_0x28024e,_0x3445b4){if(_0x28024e){_0xd82d13[_0x477d('0xaa0')][_0x477d('0x710')]({'id':_0x28024e['id'],'lastAssignedTo':_0x3445b4?_0x3445b4[_0x477d('0x94')]:null,'assigned':_0x3445b4?!![]:![]})[_0x477d('0x38b')]['catch'](function(_0x273ad4){console[_0x477d('0x7b')](_0x273ad4);});}}function _0x17d376(_0x4ce3cd,_0x4aba5f){if(_0x4ce3cd){_0xd82d13['voiceQueueReport'][_0x477d('0x710')]({'id':_0x4ce3cd['id'],'disposition':_0x4aba5f?_0x4aba5f:null})['$promise'][_0x477d('0xf8')](function(_0x8114bb){console['log'](_0x8114bb);});}}var _0x1c07c7=!![];var _0x583dca=0x1;_0x459a7b['$watch'](_0x477d('0xd98'),function(_0x1baf51,_0x1cb876){if(_0x1c07c7){_0x1d73cf(function(){_0x1c07c7=![];});}else{if(!_0x1cb876){_0x583dca=_0x4a08ce['query'][_0x477d('0xe03')];}if(_0x1baf51!==_0x1cb876){_0x4a08ce[_0x477d('0x3ef')]['page']=0x1;}if(!_0x1baf51){_0x4a08ce[_0x477d('0x3ef')][_0x477d('0xe03')]=_0x583dca;}_0x4a08ce[_0x477d('0x1659')]();}});_0x459a7b[_0x477d('0x4ec')](_0x477d('0x505'),function(){_0x1f9648[_0x477d('0x6b8')](_0x477d('0x165f'));_0x1f9648[_0x477d('0x6b8')]('voiceQueueReport:update');});}}());(function(){'use strict';_0x3d87cc[_0x477d('0xa')]=[_0x477d('0x474'),'$q',_0x477d('0x3fe'),_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x6db'),'pauses',_0x477d('0x125c'),_0x477d('0x13d7'),_0x477d('0x386'),'socket',_0x477d('0x40e'),_0x477d('0x13b4'),_0x477d('0x3a5'),_0x477d('0x3ac'),_0x477d('0x55'),'license',_0x477d('0x794')];angular[_0x477d('0xb')]('app.voice')[_0x477d('0x3ba')](_0x477d('0x1ec5'),_0x3d87cc);function _0x3d87cc(_0x596cd4,_0x198abb,_0x767463,_0xf0c443,_0x30bc93,_0x131731,_0x272010,_0x841c68,_0x890be8,_0x1e5271,_0x76373d,_0x418a94,_0x5e83d4,_0x165dca,_0x4398cb,_0x3c4b97,_0x1c3b3d,_0x1c1031){var _0x39ec94=this;var _0x10eb4b=['userpic',_0x477d('0x13d3'),'lastLoginAt',_0x477d('0x13b7'),'pauseType','lastPauseAt','internal',_0x477d('0x13b8'),_0x477d('0x13d0'),'openchannelPause',_0x477d('0x13b9'),_0x477d('0x13d2'),'whatsappPause','faxPause',_0x477d('0x624'),'chatCapacity','openchannelCapacity',_0x477d('0x13bd'),_0x477d('0x13be'),_0x477d('0x1d37'),'faxCapacity',_0x477d('0x13c0'),_0x477d('0x19a9'),_0x477d('0x13c1'),_0x477d('0x13c2'),_0x477d('0x19aa'),'faxCurrentCapacity',_0x477d('0x19ab'),_0x477d('0x13c4'),_0x477d('0x1ec6'),_0x477d('0x13c5'),_0x477d('0x13c6'),_0x477d('0x13c7'),_0x477d('0x13c8'),_0x477d('0x13c9'),_0x477d('0x13ca'),_0x477d('0x13cb'),_0x477d('0x13fd'),_0x477d('0x13fe'),_0x477d('0x13cc'),'voiceStatusTime',_0x477d('0x1256'),'destconnectedlinenum',_0x477d('0x13cd'),'phoneBarEnableScreenRecordingByAgent',_0x477d('0x13cf')];var _0x4ab5b3=['chatPause',_0x477d('0x13d1'),_0x477d('0x13b9'),_0x477d('0x13d2'),_0x477d('0x13ba'),_0x477d('0x13bb'),_0x477d('0x624'),_0x477d('0x13d3')];_0x39ec94[_0x477d('0x3e5')]=_0x3c4b97[_0x477d('0x5c')]();_0x39ec94[_0x477d('0x1ec7')]=['ringing',_0x477d('0x13d4'),_0x477d('0x13fb'),_0x477d('0x13d5'),_0x477d('0x13d6')];_0x39ec94['pauses']=_0x272010||{'count':0x0,'rows':[]};_0x39ec94[_0x477d('0x613')]=_0x1c3b3d;_0x39ec94['userProfile']=_0x165dca;_0x39ec94['userProfileSection']=_0x4398cb&&_0x4398cb['count']==0x1?_0x4398cb[_0x477d('0xf2')][0x0]:null;_0x39ec94[_0x477d('0xd66')]=_0x3c4b97[_0x477d('0xd81')](_0x39ec94[_0x477d('0x3ac')]?_0x39ec94[_0x477d('0x3ac')][_0x477d('0xd66')]:null);_0x39ec94[_0x477d('0x125c')]=_0x841c68?_[_0x477d('0xdb5')](_0x841c68[_0x477d('0xf2')]?_0x841c68[_0x477d('0xf2')]:[],'id'):{};_0x39ec94[_0x477d('0x13d7')]=_0x890be8?_['keyBy'](_0x890be8['rows']?_0x890be8[_0x477d('0xf2')]:[],'id'):{};_0x39ec94['paginatedAgents']={};_0x39ec94[_0x477d('0x600')]=![];_0x39ec94[_0x477d('0x13d9')]=[];_0x39ec94[_0x477d('0x13da')]={};for(var _0x73dcba in _0x39ec94['agents']){if(_0x39ec94['agents'][_0x477d('0x3ea')](_0x73dcba)){_0x39ec94[_0x477d('0x125c')][_0x73dcba]['init']=!![];}}_0x39ec94[_0x477d('0x3ef')]={'limit':0xa,'page':0x1,'order':_0x477d('0xcd'),'globalStatusFilter':'','pauseTypeFilter':''};_0x39ec94['logout']=_0x4d3af1;_0x39ec94[_0x477d('0x19ad')]=_0x5cfce9;_0x39ec94[_0x477d('0x657')]=_0x33213f;_0x39ec94[_0x477d('0x13db')]=_0x1ae450;_0x39ec94['showInfo']=_0x3bc45d;_0x39ec94['getAgentStatus']=_0x206887;_0x39ec94[_0x477d('0x13de')]=_0x2c4430;_0x39ec94[_0x477d('0x13df')]=_0x3c87a0;_0x39ec94[_0x477d('0x13e0')]=_0x318689;_0x39ec94[_0x477d('0x13e1')]=_0x4b44cb;_0x39ec94[_0x477d('0x13e2')]=_0x25b079;_0x39ec94['onUpdate']=_0x47e5ab;_0x39ec94['onInit']=_0x4f9154;_0x39ec94[_0x477d('0x13e6')]=_0xf99d6d;_0x39ec94[_0x477d('0x13e4')]=_0x55362b;_0x39ec94['screenRecording']=_0x4cc8f6;_0x76373d['on'](_0x477d('0x13e5'),_0x39ec94[_0x477d('0x13e2')]);_0x76373d['on'](_0x477d('0x1402'),_0x39ec94[_0x477d('0x13e3')]);_0x76373d['on'](_0x477d('0x1403'),_0x39ec94[_0x477d('0x13e6')]);_0x76373d['on'](_0x477d('0x13e7'),_0x39ec94[_0x477d('0x13e4')]);_0x4f9154();var _0x556a5d=_0x1c1031(function(){if(_0x39ec94[_0x477d('0x600')]){_0x39ec94[_0x477d('0x600')]=![];_0x4f9154();}},0x3e7);function _0x4f9154(_0x2fe89f){_0x39ec94['load']=![];var _0x564b87=_0x198abb[_0x477d('0x54a')]();_0x39ec94[_0x477d('0x553')]=_0x564b87[_0x477d('0x553')];_0x39ec94[_0x477d('0x13e8')]=[];_0x39ec94['order']=[];_[_0x477d('0xe4b')](_0x39ec94[_0x477d('0x125c')],function(_0x56f8e8,_0x381289){if(_0x39ec94[_0x477d('0x13d7')][_0x381289]){_['merge'](_0x56f8e8,_[_0x477d('0x10b')](_[_0x477d('0x3fc')](_0x39ec94[_0x477d('0x13d7')][_0x381289],_0x4ab5b3),_0x10eb4b));}_0x2c4430(_0x56f8e8);if(_0x56f8e8[_0x477d('0x13d3')]){_0x39ec94[_0x477d('0x13e8')][_0x477d('0x3a7')](_0x56f8e8);_0x39ec94[_0x477d('0x13da')][_0x56f8e8[_0x477d('0x324')]]=_0x381289;}else{_0x56f8e8[_0x477d('0x13ed')]=_[_0x477d('0x18e6')](moment()[_0x477d('0x12f')]('x'));}});if(_0x39ec94[_0x477d('0x3ef')][_0x477d('0x13e9')]){_['remove'](_0x39ec94[_0x477d('0x13e8')],function(_0x38848d){return _0x38848d[_0x477d('0x13ea')]!==_0x39ec94[_0x477d('0x3ef')][_0x477d('0x13e9')];});}if(_0x39ec94[_0x477d('0x3ef')][_0x477d('0x13eb')]){_['remove'](_0x39ec94[_0x477d('0x13e8')],function(_0x57e518){return _0x57e518[_0x477d('0x19a7')]!==_0x39ec94[_0x477d('0x3ef')][_0x477d('0x13eb')];});}if(_0x39ec94[_0x477d('0x3ef')]['filter']){_[_0x477d('0x39c')](_0x39ec94[_0x477d('0x13e8')],function(_0x30df76){return _0x30df76[_0x477d('0xcd')][_0x477d('0x449')]()[_0x477d('0x477')](_0x39ec94[_0x477d('0x3ef')][_0x477d('0x3b3')]['toLowerCase']())<0x0;});}_0x39ec94[_0x477d('0x13e8')]=_0x213849(_0x39ec94[_0x477d('0x13e8')]);var _0x3411fd=(_0x39ec94[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x39ec94[_0x477d('0x3ef')]['limit'];_0x39ec94[_0x477d('0x13d8')]=_[_0x477d('0x13ec')](_0x39ec94[_0x477d('0x13e8')],_0x3411fd)[_0x477d('0x9cd')](0x0,_0x39ec94[_0x477d('0x3ef')][_0x477d('0x91d')]);for(var _0x105e03=0x0;_0x105e03<_0x39ec94[_0x477d('0x13d8')]['length'];_0x105e03+=0x1){_0x39ec94['order'][_0x477d('0x3a7')](_0x39ec94['paginatedAgents'][_0x105e03]['id']);}_0x564b87['resolve']();_0x39ec94['load']=!![];}function _0x25b079(_0x440bba){if(_0x39ec94['agents'][_0x440bba['id']]){_[_0x477d('0xef')](_0x39ec94[_0x477d('0x125c')][_0x440bba['id']],_[_0x477d('0x10b')](_[_0x477d('0x3fc')](_0x440bba,_0x4ab5b3),_0x10eb4b));_[_0x477d('0xef')](_0x39ec94[_0x477d('0x13d7')][_0x440bba['id']],_[_0x477d('0x10b')](_[_0x477d('0x3fc')](_0x440bba,_0x4ab5b3),_0x10eb4b));_0x2c4430(_0x39ec94[_0x477d('0x125c')][_0x440bba['id']]);}}function _0x47e5ab(_0x5ba6b2){if(_0x39ec94[_0x477d('0x125c')][_0x5ba6b2['id']]){_[_0x477d('0xef')](_0x39ec94[_0x477d('0x125c')][_0x5ba6b2['id']],_[_0x477d('0x10b')](_0x5ba6b2,_0x10eb4b));_[_0x477d('0xef')](_0x39ec94[_0x477d('0x13d7')][_0x5ba6b2['id']],_[_0x477d('0x10b')](_0x5ba6b2,_0x10eb4b));if(_0x5ba6b2[_0x477d('0x13b7')]){_0x39ec94[_0x477d('0x125c')][_0x5ba6b2['id']][_0x477d('0x13ed')]=_0x5ba6b2[_0x477d('0x13b7')];_0x39ec94[_0x477d('0x13d7')][_0x5ba6b2['id']][_0x477d('0x13ed')]=_0x5ba6b2[_0x477d('0x13b7')];}_0x2c4430(_0x39ec94['agents'][_0x5ba6b2['id']]);}}function _0xf99d6d(_0x201f04){if(_0x39ec94['agents'][_0x39ec94[_0x477d('0x13da')][_0x201f04['destaccountcode']]]){_[_0x477d('0xef')](_0x39ec94[_0x477d('0x125c')][_0x39ec94['agentInternal'][_0x201f04['destaccountcode']]],_[_0x477d('0x10b')](_0x201f04,['queue','destconnectedlinenum']));_[_0x477d('0xef')](_0x39ec94['rpcAgents'][_0x39ec94[_0x477d('0x13da')][_0x201f04[_0x477d('0x13ee')]]],_[_0x477d('0x10b')](_0x201f04,[_0x477d('0x1256'),_0x477d('0x13ef')]));}}function _0x55362b(_0x5f5b04){if(_0x39ec94[_0x477d('0x125c')][_0x39ec94[_0x477d('0x13da')][_0x5f5b04[_0x477d('0x13ee')]]]){_0x39ec94[_0x477d('0x125c')][_0x39ec94[_0x477d('0x13da')][_0x5f5b04['destaccountcode']]]=_[_0x477d('0x3fc')](_0x39ec94[_0x477d('0x125c')][_0x39ec94[_0x477d('0x13da')][_0x5f5b04[_0x477d('0x13ee')]]],[_0x477d('0x1256'),_0x477d('0x13ef')]);_0x39ec94[_0x477d('0x13d7')][_0x39ec94[_0x477d('0x13da')][_0x5f5b04['destaccountcode']]]=_[_0x477d('0x3fc')](_0x39ec94[_0x477d('0x13d7')][_0x39ec94[_0x477d('0x13da')][_0x5f5b04[_0x477d('0x13ee')]]],[_0x477d('0x1256'),_0x477d('0x13ef')]);}}function _0x4d3af1(_0x7c7fc0,_0x5509bc){return _0x1e5271[_0x477d('0x380')]['logout']({'id':_0x7c7fc0['id'],'device':_0x477d('0x11f1'),'agent_id':_0x7c7fc0['id'],'agent_name':_0x7c7fc0[_0x477d('0x94')]})[_0x477d('0x38b')]['then'](function(){_0x418a94[_0x477d('0x485')]({'title':_0x477d('0x13f0'),'msg':_0x7c7fc0['fullname']+_0x477d('0x13f1')});if(_0x39ec94[_0x477d('0x125c')][_0x7c7fc0['id']]){_0x39ec94[_0x477d('0x125c')][_0x7c7fc0['id']]['online']=![];}if(_0x39ec94[_0x477d('0x13d7')][_0x7c7fc0['id']]){_0x39ec94[_0x477d('0x13d7')][_0x7c7fc0['id']]['online']=![];}_0x4f9154();})['catch'](function(_0x547165){_0x418a94[_0x477d('0x44a')]({'title':_0x547165[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x547165[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x547165[_0x477d('0x44d')]:_0x477d('0x13f2'),'msg':_0x547165[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x547165[_0x477d('0x451')][_0x477d('0x452')]):_0x547165[_0x477d('0x453')]()});});}function _0x33213f(_0x15da31,_0xbbfbf1){return _0x1e5271['user']['pause']({'id':_0x15da31['id'],'type':_0xbbfbf1})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x4fec7d){if(_0x39ec94[_0x477d('0x125c')][_0x15da31['id']]){_[_0x477d('0xef')](_0x39ec94[_0x477d('0x125c')][_0x15da31['id']],_[_0x477d('0x10b')](_0x4fec7d,_0x10eb4b));}if(_0x39ec94['rpcAgents'][_0x15da31['id']]){_[_0x477d('0xef')](_0x39ec94[_0x477d('0x13d7')][_0x15da31['id']],_[_0x477d('0x10b')](_0x4fec7d,_0x10eb4b));}_0x2c4430(_0x39ec94['agents'][_0x15da31['id']]);})[_0x477d('0xf8')](function(_0x473437){_0x418a94['error']({'title':_0x473437['status']?_0x477d('0x44b')+_0x473437['status']+_0x477d('0x44c')+_0x473437['statusText']:_0x477d('0x13f2'),'msg':_0x473437[_0x477d('0x451')]?JSON['stringify'](_0x473437[_0x477d('0x451')][_0x477d('0x452')]):_0x473437[_0x477d('0x453')]()});});}function _0x1ae450(_0x4f7d66){return _0x1e5271[_0x477d('0x380')][_0x477d('0x15a7')]({'id':_0x4f7d66['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x453824){if(_0x39ec94[_0x477d('0x125c')][_0x4f7d66['id']]){_[_0x477d('0xef')](_0x39ec94[_0x477d('0x125c')][_0x4f7d66['id']],_[_0x477d('0x10b')](_0x453824,_0x10eb4b));}if(_0x39ec94['rpcAgents'][_0x4f7d66['id']]){_[_0x477d('0xef')](_0x39ec94[_0x477d('0x13d7')][_0x4f7d66['id']],_[_0x477d('0x10b')](_0x453824,_0x10eb4b));}_0x2c4430(_0x39ec94[_0x477d('0x125c')][_0x4f7d66['id']]);})[_0x477d('0xf8')](function(_0x1e6e10){_0x418a94['error']({'title':_0x1e6e10[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x1e6e10[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x1e6e10[_0x477d('0x44d')]:'api.staff.save','msg':_0x1e6e10['data']?JSON[_0x477d('0x3fb')](_0x1e6e10['data'][_0x477d('0x452')]):_0x1e6e10[_0x477d('0x453')]()});});}function _0x3bc45d(_0xa4c26a){_0xf0c443[_0x477d('0x395')](_0xf0c443['alert']()[_0x477d('0x13f3')](!![])[_0x477d('0x49a')](_0x477d('0x19ae'))[_0x477d('0xd92')](_0x477d('0x13f4'))['ok']('Ok')[_0x477d('0xd7c')](_0xa4c26a));}function _0x5cfce9(_0x3d7a50,_0x2a8144){_0xf0c443[_0x477d('0x395')]({'controller':_0x477d('0x19af'),'controllerAs':'vm','templateUrl':_0x477d('0x13f5'),'parent':angular[_0x477d('0x398')](_0x30bc93[_0x477d('0x399')]),'targetEvent':_0x2a8144,'clickOutsideToClose':!![],'locals':{'agent':_0x3d7a50,'agents':[],'channel':_0x477d('0x108'),'direction':_0x477d('0x127'),'crudPermissions':_0x39ec94['crudPermissions']}});}function _0x3c87a0(_0x38bb73){return _0x38bb73===_0x477d('0x657')||_0x38bb73===_0x477d('0x13f6');}function _0x318689(_0xe9fac){return _0xe9fac==='pause';}function _0x4b44cb(_0x2cf0f5){return _0x2cf0f5===_0x477d('0x13f6');}function _0x2554c8(_0x57e2d5){return _0x57e2d5===_0x477d('0x13f7')||_0x57e2d5===_0x477d('0x13f8')||_0x57e2d5===_0x477d('0x13f9')||_0x57e2d5===_0x477d('0x5ed')||_[_0x477d('0x484')](_0x57e2d5);}function _0x206887(_0x48a9fa,_0x23bd1a){if(_0x23bd1a===_0x477d('0x108')){if(_0x48a9fa[_0x23bd1a+_0x477d('0x135e')]!==_0x477d('0x13f7')){return _0x48a9fa[_0x23bd1a+_0x477d('0x135e')];}if(_0x48a9fa[_0x23bd1a+_0x477d('0x13fa')]){_0x48a9fa[_0x23bd1a+'Status']='pause';return _0x477d('0x657');}return _0x477d('0x13f7');}else{if(_0x48a9fa[_0x23bd1a+_0x477d('0x13fa')]){_0x48a9fa[_0x23bd1a+'Status']=_0x477d('0x657');return _0x477d('0x657');}return _0x48a9fa[_0x23bd1a+_0x477d('0x135e')];}}function _0x2c4430(_0x2af931){var _0x42a9a1=_0x477d('0x13f8');if(_[_0x477d('0x943')]([_0x206887(_0x2af931,'voice'),_0x206887(_0x2af931,_0x477d('0xb6')),_0x206887(_0x2af931,_0x477d('0x1d6')),_0x206887(_0x2af931,_0x477d('0x22a')),_0x206887(_0x2af931,_0x477d('0x26e')),_0x206887(_0x2af931,_0x477d('0x35d')),_0x206887(_0x2af931,_0x477d('0x154'))],_0x3c87a0)){_0x42a9a1=_0x477d('0x657');}else if(_[_0x477d('0x3ab')]([_0x206887(_0x2af931,_0x477d('0x108')),_0x206887(_0x2af931,_0x477d('0xb6')),_0x206887(_0x2af931,'mail'),_0x206887(_0x2af931,'openchannel'),_0x206887(_0x2af931,_0x477d('0x26e')),_0x206887(_0x2af931,_0x477d('0x35d')),_0x206887(_0x2af931,'fax')],_0x3c87a0)){_0x42a9a1=_0x477d('0x13f6');}else if(_['every']([_0x206887(_0x2af931,_0x477d('0x108')),_0x206887(_0x2af931,'chat'),_0x206887(_0x2af931,'mail'),_0x206887(_0x2af931,_0x477d('0x22a')),_0x206887(_0x2af931,_0x477d('0x26e')),_0x206887(_0x2af931,'whatsapp'),_0x206887(_0x2af931,_0x477d('0x154'))],_0x2554c8)){_0x42a9a1=_0x477d('0x13f7');}else{_0x42a9a1=_0x477d('0x13fb');}if(_0x2af931[_0x477d('0x13ea')]!==_0x42a9a1){_0x2af931['globalStatus']=_0x42a9a1;if(_0x2af931[_0x477d('0x5ee')]){_0x2af931[_0x477d('0x5ee')]=![];_0x2af931[_0x477d('0x13ed')]=_0x3c87a0(_0x42a9a1)?_[_0x477d('0x18e6')](moment(_0x2af931[_0x477d('0x13b7')])[_0x477d('0x12f')]('x')):_[_0x477d('0x13fc')]([_0x2af931['voiceStatusTime'],_0x2af931[_0x477d('0x13c9')],_0x2af931['mailStatusTime'],_0x2af931[_0x477d('0x13fd')],_0x2af931['whatsappStatusTime'],_0x2af931[_0x477d('0x13ca')],_0x2af931[_0x477d('0x13cc')]]);}else{_0x2af931[_0x477d('0x13ed')]=_['toNumber'](moment()[_0x477d('0x12f')]('x'));}}}function _0x213849(_0x4ccbc3){var _0x6e3019=_['startsWith'](_0x39ec94[_0x477d('0x3ef')][_0x477d('0x13d9')],'-')?'desc':'asc';return _[_0x477d('0x1401')](_0x4ccbc3,[_0x39ec94['query']['order'][_0x477d('0x409')]('-','')],[_0x6e3019]);}function _0x267841(){if(_0x556a5d){_0x1c1031[_0x477d('0x4f0')](_0x556a5d);_0x556a5d=null;}}function _0x4cc8f6(_0x244aeb,_0x7529e5){return _0x1e5271[_0x477d('0x380')]['update']({'id':_0x244aeb['id']},{'screenrecording':_0x7529e5})[_0x477d('0x38b')][_0x477d('0xf8')](function(_0x10e41d){_0x418a94[_0x477d('0x44a')]({'title':_0x10e41d[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x10e41d[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x10e41d[_0x477d('0x44d')]:'api.user.update','msg':_0x10e41d['data']?JSON[_0x477d('0x3fb')](_0x10e41d[_0x477d('0x451')][_0x477d('0x452')]):_0x10e41d[_0x477d('0x453')]()});});}_0x596cd4[_0x477d('0x4ec')]('$destroy',function(){_0x76373d[_0x477d('0x6b8')](_0x477d('0x13e5'));_0x76373d[_0x477d('0x6b8')](_0x477d('0x1402'));_0x76373d[_0x477d('0x6b8')](_0x477d('0x1403'));_0x76373d[_0x477d('0x6b8')](_0x477d('0x13e7'));_0x267841();});}}());(function(){'use strict';_0x8ff413[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x3fe'),_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x794'),_0x477d('0x18e0'),_0x477d('0x1ec8'),'api',_0x477d('0x5a3'),'userProfile',_0x477d('0x3ac'),_0x477d('0x55')];angular[_0x477d('0xb')](_0x477d('0x3a'))['controller'](_0x477d('0x1ec9'),_0x8ff413);function _0x8ff413(_0x13f427,_0x3ecd23,_0x1e337d,_0x59530f,_0x4cc24f,_0x297b81,_0x235a98,_0x2c102a,_0x2e24af,_0x1b20fd,_0x2969e7,_0x15d59f){var _0x2d6e1e=this;var _0x37b3d4=[_0x477d('0x94'),_0x477d('0x94d'),'limitCalls',_0x477d('0x452'),_0x477d('0x1407'),_0x477d('0xf8c'),_0x477d('0x1d8f'),_0x477d('0x1409'),_0x477d('0x190a'),_0x477d('0x1eca'),_0x477d('0x1e84'),_0x477d('0x1ecb'),_0x477d('0xe0e')];_0x2d6e1e[_0x477d('0x3e5')]=_0x15d59f[_0x477d('0x5c')]();_0x2d6e1e[_0x477d('0x3bb')]=_0x235a98[_0x477d('0x3bb')];_0x2d6e1e['campaigns']=_0x235a98?_[_0x477d('0xdb5')](_0x235a98[_0x477d('0xf2')]?_0x235a98['rows']:[],'id'):{};_0x2d6e1e[_0x477d('0x18e0')]=_0x297b81?_[_0x477d('0xdb5')](_0x297b81[_0x477d('0xf2')]?_0x297b81[_0x477d('0xf2')]:[],'id'):{};_0x2d6e1e[_0x477d('0x3a5')]=_0x1b20fd;_0x2d6e1e['userProfileSection']=_0x2969e7&&_0x2969e7[_0x477d('0x3bb')]==0x1?_0x2969e7[_0x477d('0xf2')][0x0]:null;_0x2d6e1e[_0x477d('0xd66')]=_0x15d59f['parseCrudPermissions'](_0x2d6e1e[_0x477d('0x3ac')]?_0x2d6e1e[_0x477d('0x3ac')][_0x477d('0xd66')]:null);_0x2d6e1e[_0x477d('0x3ef')]={'sort':_0x477d('0x59'),'limit':0xa,'page':0x1};_0x2d6e1e[_0x477d('0x485')]=_0x377a6b;_0x2d6e1e[_0x477d('0x1ecc')]=_0x3ac4e8;_0x2d6e1e[_0x477d('0x13e2')]=_0x2cff47;_0x2d6e1e[_0x477d('0x6ad')]=_0x578c89;_0x2d6e1e[_0x477d('0x1e2a')]=_0x9ad8b;_0x2e24af[_0x477d('0x165e')]('campaign:save',_0x2d6e1e[_0x477d('0x13e2')]);_0x2d6e1e['interval']=_0x4cc24f(function(){},0x3e7);function _0x578c89(){_[_0x477d('0xe4b')](_0x2d6e1e['campaigns'],function(_0x285715,_0x52fd8a){if(_0x2d6e1e[_0x477d('0x18e0')][_0x52fd8a]){_[_0x477d('0xef')](_0x285715,_['pick'](_0x2d6e1e[_0x477d('0x18e0')][_0x52fd8a],_0x37b3d4));}});}function _0x2cff47(_0x2c6171){if(_0x2d6e1e[_0x477d('0x1ec8')][_0x2c6171['id']]){_['merge'](_0x2d6e1e[_0x477d('0x1ec8')][_0x2c6171['id']],_['pick'](_0x2c6171,_0x37b3d4));_[_0x477d('0xef')](_0x2d6e1e[_0x477d('0x18e0')][_0x2c6171['id']],_[_0x477d('0x10b')](_0x2c6171,_0x37b3d4));}}var _0x524791=!![];var _0x54253e=0x1;_0x13f427[_0x477d('0x4b5')](_0x477d('0xd98'),function(_0x51f4a6,_0x50789e){if(_0x524791){_0x3ecd23(function(){_0x524791=![];});}else{if(!_0x50789e){_0x54253e=_0x2d6e1e[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x51f4a6!==_0x50789e){_0x2d6e1e[_0x477d('0x3ef')]['page']=0x1;}if(!_0x51f4a6){_0x2d6e1e[_0x477d('0x3ef')][_0x477d('0xe03')]=_0x54253e;}_0x2d6e1e[_0x477d('0x1ecc')]();}});function _0x377a6b(_0x1e1e9d){_0x2d6e1e[_0x477d('0x3bb')]=_0x1e1e9d['count'];_0x2d6e1e[_0x477d('0x1ec8')]=_0x1e1e9d?_['keyBy'](_0x1e1e9d[_0x477d('0xf2')]?_0x1e1e9d[_0x477d('0xf2')]:[],'id'):{};_0x578c89();}function _0x3ac4e8(){_0x2d6e1e['query'][_0x477d('0x91c')]=(_0x2d6e1e[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x2d6e1e[_0x477d('0x3ef')][_0x477d('0x91d')];if(_0x15d59f[_0x477d('0x56')](_0x477d('0x5f'))){_0x2d6e1e[_0x477d('0x553')]=_0x2c102a[_0x477d('0xca8')][_0x477d('0x376')](_0x2d6e1e['query'],_0x377a6b)[_0x477d('0x38b')];}else{_0x2d6e1e[_0x477d('0x3ef')]['id']=_0x2d6e1e[_0x477d('0x3a5')]['id'];_0x2d6e1e[_0x477d('0x3ef')][_0x477d('0xd99')]=_0x477d('0x20a');_0x2d6e1e['promise']=_0x2c102a[_0x477d('0x3a5')]['getResources'](_0x2d6e1e[_0x477d('0x3ef')],_0x377a6b)[_0x477d('0x38b')];}}function _0x9ad8b(_0x2ac1e7,_0x253849){_0x1e337d[_0x477d('0x395')]({'controller':_0x477d('0x1d88'),'controllerAs':'vm','templateUrl':_0x477d('0x1e2f'),'parent':angular['element'](_0x59530f[_0x477d('0x399')]),'targetEvent':_0x2ac1e7,'clickOutsideToClose':!![],'locals':{'ivrCampaign':_0x253849,'ivrCampaigns':_['values'](_0x2d6e1e['campaigns']),'license':null,'setting':null,'crudPermissions':_0x2d6e1e[_0x477d('0xd66')]}});}_0x13f427[_0x477d('0x4ec')](_0x477d('0x505'),function(){_0x2e24af[_0x477d('0x6b8')](_0x477d('0x18e2'));_0x2d6e1e['interval']&&_0x4cc24f[_0x477d('0x4f0')](_0x2d6e1e['interval']);});}}());(function(){'use strict';_0x5c55b7['$inject']=[_0x477d('0x474'),'$timeout',_0x477d('0x384'),_0x477d('0x125c'),_0x477d('0xf2f'),_0x477d('0x16b8'),_0x477d('0x386'),_0x477d('0x5a3'),'helperClasses',_0x477d('0x40e'),'userProfile',_0x477d('0x3ac'),_0x477d('0x55')];angular[_0x477d('0xb')](_0x477d('0x3a'))[_0x477d('0x3ba')](_0x477d('0x1ecd'),_0x5c55b7);function _0x5c55b7(_0x45cf41,_0xee8ea,_0xf650ee,_0x1de459,_0x40401c,_0x1cacf0,_0x2a0964,_0x540b6f,_0x353876,_0x2102c5,_0x57fa0d,_0x61dc4c,_0x2a333f){var _0x1fd680=this;_0x1fd680[_0x477d('0x3e5')]=_0x2a333f['getCurrentUser']();_0x1fd680['agents']=_0x1de459||{'count':0x0,'rows':[]};_0x1fd680['queues']=_0x40401c?_[_0x477d('0xdb5')](_0x40401c[_0x477d('0xf2')]?_0x40401c[_0x477d('0xf2')]:[],_0x477d('0x94')):{};_0x1fd680[_0x477d('0x1ece')]=_0x1cacf0?_[_0x477d('0xdb5')](_0x1cacf0[_0x477d('0xf2')]?_[_0x477d('0x3b3')](_0x1cacf0[_0x477d('0xf2')],{'type':_0x477d('0x127')}):[],_0x477d('0x648')):{};_0x1fd680['rpcVoiceQueuesChannels']={};_0x1fd680[_0x477d('0x3a5')]=_0x57fa0d;_0x1fd680[_0x477d('0x3ac')]=_0x61dc4c&&_0x61dc4c['count']==0x1?_0x61dc4c[_0x477d('0xf2')][0x0]:null;_0x1fd680[_0x477d('0xd66')]=_0x2a333f[_0x477d('0xd81')](_0x1fd680['userProfileSection']?_0x1fd680[_0x477d('0x3ac')][_0x477d('0xd66')]:null);_0x1fd680['queryChannels']={'limit':0xa,'page':0x1};_0x1fd680['getSize']=_0xddd82f;_0x1fd680[_0x477d('0x6ad')]=_0x127401;_0x1fd680[_0x477d('0x13e2')]=_0xc06aa;_0x1fd680[_0x477d('0x1ecf')]=_0xa09b65;_0x1fd680[_0x477d('0x1ed0')]=_0x17d803;_0x1fd680[_0x477d('0x1ed1')]=_0x35cb9d;_0x1fd680['redirectToNumber']=_0x2859b3;_0x540b6f['on']('voice_queue_channel:save',_0x1fd680['onSave']);_0x540b6f['on']('voice_queue_channel:remove',_0x1fd680['onRemove']);function _0xddd82f(_0x4544c1){return _[_0x477d('0x117b')](_0x4544c1);}function _0x127401(){_['forIn'](_0x1fd680['rpcVoiceQueuesChannelsTmp'],function(_0x216b51,_0x43be1b){if(_[_0x477d('0x10a')](_0x1fd680[_0x477d('0xf2f')],{'name':_0x216b51[_0x477d('0x94')]})){_0x1fd680['rpcVoiceQueuesChannels'][_0x43be1b]=_0x216b51;}});}function _0xc06aa(_0x79e72a){if(_0x79e72a[_0x477d('0x439')]==='outbound'){if(_['find'](_0x1fd680[_0x477d('0xf2f')],{'name':_0x79e72a['name']})){_0x1fd680[_0x477d('0x16b8')][_0x79e72a[_0x477d('0x648')]]=_0x79e72a;}}}function _0xa09b65(_0x3f1945){if(_0x1fd680[_0x477d('0x16b8')][_0x3f1945['uniqueid']]){delete _0x1fd680[_0x477d('0x16b8')][_0x3f1945['uniqueid']];}}function _0x17d803(_0x1d05d0){return _0x2a0964[_0x477d('0x6c9')][_0x477d('0x1ed2')]({'uniqueid':_0x1d05d0})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x17f7f0){_0x2102c5[_0x477d('0x485')]({'title':_0x477d('0x1ed3')+_0x1d05d0+_0x477d('0x1ed4'),'msg':_0x17f7f0[_0x477d('0x452')]||''});})[_0x477d('0xf8')](function(_0xc73112){_0x2102c5[_0x477d('0x44a')]({'title':_0xc73112[_0x477d('0x3c3')]+_0x477d('0x44c')+_0xc73112[_0x477d('0x44d')],'msg':JSON[_0x477d('0x3fb')](_0xc73112['data'])||_0xc73112[_0x477d('0x452')]['join']('\x20')});});}function _0x35cb9d(_0x5e750b,_0x56aa5a,_0x1e2f66){return _0x2a0964[_0x477d('0x6c9')][_0x477d('0x1ed5')]({'uniqueid':_0x5e750b,'exten':_0x56aa5a,'context':_0x1e2f66})[_0x477d('0x38b')][_0x477d('0x76')](function(_0xeeb4d0){_0x2102c5[_0x477d('0x485')]({'title':_0x477d('0x1ed3')+_0x5e750b+_0x477d('0x1ed6'),'msg':_0xeeb4d0[_0x477d('0x452')]||''});})['catch'](function(_0x4a563d){_0x2102c5[_0x477d('0x44a')]({'title':_0x4a563d[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x4a563d['statusText'],'msg':JSON[_0x477d('0x3fb')](_0x4a563d[_0x477d('0x451')])||_0x4a563d[_0x477d('0x452')][_0x477d('0x3f6')]('\x20')});});}function _0x2859b3(_0x338f05,_0x2b2edf){var _0x46727b=_0xf650ee[_0x477d('0x683')]()[_0x477d('0x49a')](_0x477d('0x1ed7'))[_0x477d('0x4ae')](_0x477d('0x150a'))[_0x477d('0xd7c')](_0x338f05)['ok']('Ok')['cancel'](_0x477d('0x688'));return _0xf650ee[_0x477d('0x395')](_0x46727b)[_0x477d('0x76')](function(_0x5c6232){return _0x2a0964[_0x477d('0x6c9')][_0x477d('0x1ed5')]({'uniqueid':_0x2b2edf,'exten':_0x5c6232})[_0x477d('0x38b')];})['then'](function(_0x1f1768){_0x2102c5['success']({'title':'Channel\x20'+_0x2b2edf+'\x20properly\x20redirect!','msg':_0x1f1768['message']||''});})['catch'](function(_0x412bb1){_0x2102c5[_0x477d('0x44a')]({'title':_0x412bb1[_0x477d('0x3c3')]+'\x20-\x20'+_0x412bb1[_0x477d('0x44d')],'msg':JSON[_0x477d('0x3fb')](_0x412bb1[_0x477d('0x451')])||_0x412bb1[_0x477d('0x452')][_0x477d('0x3f6')]('\x20')});});}_0x45cf41[_0x477d('0x4ec')](_0x477d('0x505'),function(){_0x540b6f[_0x477d('0x6b8')]('voice_queue_channel:save');_0x540b6f[_0x477d('0x6b8')](_0x477d('0x1592'));});}}());(function(){'use strict';_0x46983b['$inject']=[_0x477d('0x474'),'$timeout',_0x477d('0x794'),_0x477d('0xf2f'),_0x477d('0x1404'),'api',_0x477d('0x5a3'),_0x477d('0x3a5'),_0x477d('0x3ac'),_0x477d('0x55')];angular[_0x477d('0xb')](_0x477d('0x3a'))['controller'](_0x477d('0x1ed8'),_0x46983b);function _0x46983b(_0xa09e8c,_0x1430f0,_0x58cfe9,_0x1b16d3,_0x90e8a8,_0x1d78b8,_0x25f403,_0x300eac,_0x166510,_0x256b62){var _0x17bc1c=this;var _0x2f89f2=['total','answered',_0x477d('0x18d7'),_0x477d('0x1ed9'),_0x477d('0x18d4'),'outboundNoAnswerCallsDay',_0x477d('0x1eda'),_0x477d('0x1edb'),'outboundNoSuchCallsDay',_0x477d('0x1edc'),_0x477d('0x18f3'),_0x477d('0x18f2'),_0x477d('0x1edd'),_0x477d('0x1ede'),'outboundAnswerAgiCallsDay',_0x477d('0x1edf'),'outboundRejectCallsDay'];_0x17bc1c['count']=_0x1b16d3[_0x477d('0x3bb')];_0x17bc1c[_0x477d('0xf2f')]=_0x1b16d3?_[_0x477d('0xdb5')](_0x1b16d3[_0x477d('0xf2')]?_0x1b16d3[_0x477d('0xf2')]:[],'id'):{};_0x17bc1c['rpcQueues']=_0x90e8a8?_['keyBy'](_0x90e8a8[_0x477d('0xf2')]?_0x90e8a8[_0x477d('0xf2')]:[],'id'):{};_0x17bc1c['userProfile']=_0x300eac;_0x17bc1c[_0x477d('0x3ac')]=_0x166510&&_0x166510[_0x477d('0x3bb')]==0x1?_0x166510[_0x477d('0xf2')][0x0]:null;_0x17bc1c[_0x477d('0xd66')]=_0x256b62['parseCrudPermissions'](_0x17bc1c['userProfileSection']?_0x17bc1c['userProfileSection'][_0x477d('0xd66')]:null);if(_0x256b62['hasRole'](_0x477d('0x5f'))){_0x17bc1c[_0x477d('0x3ef')]={'type':'outbound','fields':_0x477d('0x9c'),'sort':_0x477d('0x59'),'limit':0xa,'page':0x1};}else{_0x17bc1c['query']={'id':_0x256b62[_0x477d('0x5c')]()['id'],'channel':_0x477d('0x108'),'type':_0x477d('0x127'),'fields':'id,name','sort':_0x477d('0x59'),'limit':0xa,'page':0x1};}_0x17bc1c[_0x477d('0x485')]=_0x1564f3;_0x17bc1c[_0x477d('0x1418')]=_0x1744f4;_0x17bc1c[_0x477d('0x13e2')]=_0x213f35;_0x17bc1c[_0x477d('0x6ad')]=_0x5ed1a3;_0x25f403[_0x477d('0x165e')](_0x477d('0x1571'),_0x17bc1c[_0x477d('0x13e2')]);_0x17bc1c[_0x477d('0x79c')]=_0x58cfe9(function(){},0x3e7);function _0x5ed1a3(){_['forIn'](_0x17bc1c[_0x477d('0xf2f')],function(_0x2d5aa7,_0x238302){if(_0x17bc1c[_0x477d('0x1404')][_0x238302]){_[_0x477d('0xef')](_0x2d5aa7,_['pick'](_0x17bc1c[_0x477d('0x1404')][_0x238302],_0x2f89f2));}});}function _0x213f35(_0x49f28c){if(_0x17bc1c[_0x477d('0xf2f')][_0x49f28c['id']]){_[_0x477d('0xef')](_0x17bc1c[_0x477d('0xf2f')][_0x49f28c['id']],_[_0x477d('0x10b')](_0x49f28c,_0x2f89f2));}}var _0x41cdb3=!![];var _0x3621dc=0x1;_0xa09e8c['$watch'](_0x477d('0xd98'),function(_0x12c223,_0x40a05c){if(_0x41cdb3){_0x1430f0(function(){_0x41cdb3=![];});}else{if(!_0x40a05c){_0x3621dc=_0x17bc1c['query'][_0x477d('0xe03')];}if(_0x12c223!==_0x40a05c){_0x17bc1c[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0x12c223){_0x17bc1c['query'][_0x477d('0xe03')]=_0x3621dc;}_0x17bc1c['getQueues']();}});function _0x1564f3(_0x28e766){_0x17bc1c['count']=_0x28e766['count'];_0x17bc1c[_0x477d('0xf2f')]=_0x28e766?_[_0x477d('0xdb5')](_0x28e766[_0x477d('0xf2')]?_0x28e766[_0x477d('0xf2')]:[],'id'):{};_0x5ed1a3();}function _0x1744f4(){_0x17bc1c[_0x477d('0x3ef')][_0x477d('0x91c')]=(_0x17bc1c[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x17bc1c[_0x477d('0x3ef')]['limit'];if(_0x256b62[_0x477d('0x56')](_0x477d('0x5f'))){_0x17bc1c['promise']=_0x1d78b8[_0x477d('0xa76')][_0x477d('0x376')](_0x17bc1c[_0x477d('0x3ef')],_0x1564f3)[_0x477d('0x38b')];}else{_0x17bc1c[_0x477d('0x3ef')]['id']=_0x17bc1c[_0x477d('0x3a5')]['id'];_0x17bc1c['query'][_0x477d('0xd99')]=_0x477d('0x128');_0x17bc1c[_0x477d('0x553')]=_0x1d78b8[_0x477d('0x3a5')][_0x477d('0xd9a')](_0x17bc1c[_0x477d('0x3ef')],_0x1564f3)[_0x477d('0x38b')];}}_0xa09e8c['$on'](_0x477d('0x505'),function(){_0x25f403[_0x477d('0x6b8')](_0x477d('0x1571'));_0x17bc1c[_0x477d('0x79c')]&&_0x58cfe9[_0x477d('0x4f0')](_0x17bc1c[_0x477d('0x79c')]);});}}());(function(){'use strict';_0x5440bc[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x3fe'),_0x477d('0x384'),'$q',_0x477d('0x475'),_0x477d('0x794'),_0x477d('0xf2f'),_0x477d('0x1404'),_0x477d('0x386'),'socket',_0x477d('0x40e'),_0x477d('0x3a5'),'userProfileSection','Auth'];angular[_0x477d('0xb')](_0x477d('0x3a'))[_0x477d('0x3ba')]('QueuesMotionDialerRealtimeController',_0x5440bc);function _0x5440bc(_0x6e7739,_0x3837d9,_0x4c7b91,_0x5c6f2b,_0x6de443,_0x2768c1,_0xbc19bb,_0x3f57ea,_0x4c33c4,_0x72bc03,_0x3140ff,_0x3ec126,_0x3469ce,_0x2aceb7){var _0x10799c=this;var _0x1f0baf=['loggedIn',_0x477d('0x1405'),_0x477d('0x10c'),'talking',_0x477d('0x1406'),_0x477d('0x1407'),_0x477d('0x452'),_0x477d('0x16a8'),_0x477d('0x1408'),'Trunk',_0x477d('0x140a'),_0x477d('0x1ee0'),_0x477d('0x1ee1'),'erlangCalls','erlangCallToSecond','erlangAbandonmentRate',_0x477d('0x1ee2'),_0x477d('0x1ee3'),'dialPredictiveIntervalMaxThreshold',_0x477d('0x1ee4'),_0x477d('0x1ee5'),_0x477d('0x1ee6'),_0x477d('0x1ee7'),_0x477d('0x1ee8'),_0x477d('0x1ee9'),_0x477d('0x1eea'),_0x477d('0x1eeb')];_0x10799c[_0x477d('0x3e5')]=_0x2aceb7[_0x477d('0x5c')]();_0x10799c[_0x477d('0x3bb')]=_0xbc19bb[_0x477d('0x3bb')]?_0xbc19bb[_0x477d('0x3bb')]:0x0;_0x10799c['queues']=_0xbc19bb?_['keyBy'](_0xbc19bb[_0x477d('0xf2')]?_0xbc19bb[_0x477d('0xf2')]:[],'id'):{};_0x10799c[_0x477d('0x1404')]=_0x3f57ea?_['keyBy'](_0x3f57ea[_0x477d('0xf2')]?_0x3f57ea[_0x477d('0xf2')]:[],'id'):{};_0x10799c[_0x477d('0x3a5')]=_0x3ec126;_0x10799c[_0x477d('0x3ac')]=_0x3469ce&&_0x3469ce[_0x477d('0x3bb')]==0x1?_0x3469ce[_0x477d('0xf2')][0x0]:null;_0x10799c[_0x477d('0xd66')]=_0x2aceb7[_0x477d('0xd81')](_0x10799c[_0x477d('0x3ac')]?_0x10799c['userProfileSection']['crudPermissions']:null);if(_0x2aceb7[_0x477d('0x56')]('admin')){_0x10799c['query']={'type':_0x477d('0x127'),'sort':_0x477d('0x59'),'limit':0xa,'page':0x1};}else{_0x10799c[_0x477d('0x3ef')]={'id':_0x10799c[_0x477d('0x3e5')]['id'],'channel':'voice','type':_0x477d('0x127'),'sort':_0x477d('0x59'),'limit':0xa,'page':0x1};}_0x10799c[_0x477d('0x485')]=_0x3e2985;_0x10799c['getQueues']=_0x1c1efd;_0x10799c['createOrEditMotionDialerQueue']=_0x2ea746;_0x10799c['showPredictiveQueueCampaignInfo']=_0x314ac1;_0x10799c['agentAdd']=_0xd13804;_0x10799c[_0x477d('0x140c')]=_0x2d9417;_0x10799c[_0x477d('0x13e2')]=_0x5ec8c6;_0x10799c[_0x477d('0x140d')]=_0x46726e;_0x10799c['onPause']=_0x46ca4f;_0x10799c['onLogin']=_0x3e1b04;_0x10799c['onLogout']=_0x18d0f3;_0x10799c[_0x477d('0x6ad')]=_0x146474;_0x10799c[_0x477d('0x13d9')]=[];_['forIn'](_0x10799c['queues'],function(_0x387ce8,_0x2c6262){_0x10799c[_0x477d('0x13d9')][_0x477d('0x3a7')](_0x387ce8['id']);});_0x72bc03[_0x477d('0x165e')](_0x477d('0x1571'),_0x10799c[_0x477d('0x13e2')]);_0x10799c[_0x477d('0x79c')]=_0x2768c1(function(){},0x3e7);_0x72bc03['on']('userVoiceQueueRt:save',_0x10799c[_0x477d('0x140d')]);_0x72bc03['on']('user:update',_0x10799c[_0x477d('0x140e')]);_0x72bc03['on'](_0x477d('0x1414'),_0x10799c[_0x477d('0x1410')]);_0x72bc03['on']('userVoiceQueue:save',_0x10799c[_0x477d('0x140f')]);function _0x146474(){var _0x7bb7d=[];_[_0x477d('0xe4b')](_0x10799c[_0x477d('0xf2f')],function(_0x4cf152,_0x1465dc){_0x4cf152['paused']=0x0;_0x4cf152['loggedInDb']=0x0;_0x10799c[_0x477d('0xf2f')][_0x1465dc][_0x477d('0x125c')]={};_0x7bb7d[_0x477d('0x3a7')](_0x4c33c4[_0x477d('0xa76')][_0x477d('0x1417')]({'id':_0x1465dc})[_0x477d('0x38b')]);if(_0x10799c['rpcQueues'][_0x1465dc]){_[_0x477d('0xef')](_0x4cf152,_[_0x477d('0x10b')](_0x10799c[_0x477d('0x1404')][_0x1465dc],_0x1f0baf));}});return _0x5c6f2b[_0x477d('0x7c')](_0x7bb7d)[_0x477d('0x76')](function(_0x599463){for(var _0x582b9a=0x0;_0x582b9a<_0x599463['length'];_0x582b9a+=0x1){for(var _0xed833f=0x0;_0xed833f<_0x599463[_0x582b9a]['rows'][_0x477d('0x79')];_0xed833f++){if(_0x599463[_0x582b9a]['rows'][_0xed833f][_0x477d('0x140a')]){_0x10799c[_0x477d('0xf2f')][_0x599463[_0x582b9a]['rows'][_0xed833f]['VoiceQueueId']][_0x477d('0x140a')]++;}_0x10799c['queues'][_0x599463[_0x582b9a][_0x477d('0xf2')][_0xed833f][_0x477d('0x17b0')]][_0x477d('0x1416')]++;_0x10799c[_0x477d('0xf2f')][_0x599463[_0x582b9a]['rows'][_0xed833f]['VoiceQueueId']]['agents'][_0x599463[_0x582b9a]['rows'][_0xed833f][_0x477d('0x125b')]]=_0x599463[_0x582b9a][_0x477d('0xf2')][_0xed833f][_0x477d('0x17b0')];}}})['catch'](function(_0x30a8bc){console[_0x477d('0x44a')](_0x30a8bc);});}function _0x5ec8c6(_0x57335d){if(_0x10799c[_0x477d('0xf2f')][_0x57335d['id']]){_[_0x477d('0xef')](_0x10799c['queues'][_0x57335d['id']],_['pick'](_0x57335d,_0x1f0baf));if(_[_0x477d('0x484')](_0x57335d[_0x477d('0x1ee0')])){_0x10799c[_0x477d('0xf2f')][_0x57335d['id']][_0x477d('0x1ee0')]=undefined;}}}function _0x46726e(_0xaaed96){if(_0x10799c[_0x477d('0xf2f')][_0xaaed96[_0x477d('0x1eec')]]){_0x10799c['queues'][_0xaaed96[_0x477d('0x1eec')]]['loggedInDb']++;}}function _0x46ca4f(_0x1ec947){console[_0x477d('0x7b')](_0x477d('0x140e'),_0x1ec947);if(_0x1ec947['voicePause']){_[_0x477d('0xe4b')](_0x10799c['queues'],function(_0x1bac20,_0x311632){if(_0x1bac20[_0x477d('0x125c')][_0x1ec947['id']]){_0x1bac20[_0x477d('0x140a')]+=0x1;console[_0x477d('0x7b')](_0x477d('0x657'));}});}else if(!_0x1ec947['voicePause']){_['forIn'](_0x10799c['queues'],function(_0x3b3b89,_0x19b363){if(_0x3b3b89[_0x477d('0x125c')][_0x1ec947['id']]){if(_0x3b3b89[_0x477d('0x140a')]>0x0){_0x3b3b89['paused']-=0x1;console['log'](_0x477d('0x15a7'));}}});}}function _0x3e1b04(_0x5131ab){console[_0x477d('0x7b')](_0x477d('0x1d39'),_0x5131ab);if(_0x10799c['queues'][_0x5131ab['VoiceQueueId']]){_0x10799c['queues'][_0x5131ab[_0x477d('0x17b0')]][_0x477d('0x1416')]+=0x1;_0x10799c[_0x477d('0xf2f')][_0x5131ab[_0x477d('0x17b0')]][_0x477d('0x125c')][_0x5131ab[_0x477d('0x125b')]]=_0x5131ab[_0x477d('0x17b0')];}}function _0x18d0f3(_0x41c1f6){console[_0x477d('0x7b')](_0x477d('0x1410'),_0x41c1f6);if(_0x10799c['queues'][_0x41c1f6[_0x477d('0x17b0')]]&&_0x10799c[_0x477d('0xf2f')][_0x41c1f6[_0x477d('0x17b0')]][_0x477d('0x1416')]>0x0){_0x10799c[_0x477d('0xf2f')][_0x41c1f6['VoiceQueueId']][_0x477d('0x1416')]-=0x1;delete _0x10799c[_0x477d('0xf2f')][_0x41c1f6[_0x477d('0x17b0')]][_0x477d('0x125c')][_0x41c1f6[_0x477d('0x125b')]];}}var _0xa4eef5=!![];var _0xbad18d=0x1;_0x6e7739[_0x477d('0x4b5')]('vm.query.filter',function(_0x47c656,_0x486deb){if(_0xa4eef5){_0x3837d9(function(){_0xa4eef5=![];});}else{if(!_0x486deb){_0xbad18d=_0x10799c[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x47c656!==_0x486deb){_0x10799c[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0x47c656){_0x10799c['query'][_0x477d('0xe03')]=_0xbad18d;}_0x10799c[_0x477d('0x1418')]();}});function _0x3e2985(_0x2f6941){_0x10799c[_0x477d('0x3bb')]=_0x2f6941[_0x477d('0x3bb')];_0x10799c[_0x477d('0xf2f')]=_0x2f6941?_[_0x477d('0xdb5')](_0x2f6941[_0x477d('0xf2')]?_0x2f6941[_0x477d('0xf2')]:[],'id'):{};if(_0x2f6941[_0x477d('0xf2')]){_0x10799c[_0x477d('0x13d9')]=[];for(var _0x286bbf=0x0;_0x286bbf<_0x2f6941[_0x477d('0xf2')]['length'];_0x286bbf++){_0x10799c['order']['push'](_0x2f6941[_0x477d('0xf2')][_0x286bbf]['id']);}}_0x146474();}function _0x1c1efd(){_0x10799c['query'][_0x477d('0x91c')]=(_0x10799c[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x10799c[_0x477d('0x3ef')]['limit'];if(_0x2aceb7['hasRole']('admin')){_0x10799c[_0x477d('0x553')]=_0x4c33c4[_0x477d('0xa76')][_0x477d('0x376')](_0x10799c[_0x477d('0x3ef')],_0x3e2985)[_0x477d('0x38b')];}else{_0x10799c[_0x477d('0x3ef')]['id']=_0x10799c[_0x477d('0x3a5')]['id'];_0x10799c['query'][_0x477d('0xd99')]=_0x477d('0x128');_0x10799c['promise']=_0x4c33c4['userProfile'][_0x477d('0xd9a')](_0x10799c[_0x477d('0x3ef')],_0x3e2985)[_0x477d('0x38b')];}}function _0x2ea746(_0x1727ee,_0x51c199){_0x4c7b91[_0x477d('0x395')]({'controller':_0x477d('0x1e34'),'controllerAs':'vm','templateUrl':'app/main/apps/motiondialer/views/queueCampaigns/create/dialog.html','parent':angular[_0x477d('0x398')](_0x6de443[_0x477d('0x399')]),'targetEvent':_0x1727ee,'clickOutsideToClose':!![],'locals':{'queueCampaign':_0x51c199,'queueCampaigns':_[_0x477d('0x445')](_0x10799c['queues']),'license':null,'setting':null,'crudPermissions':_0x10799c[_0x477d('0xd66')]}});}function _0x314ac1(_0xaaa6a6,_0x160a4e){_0x4c7b91[_0x477d('0x395')]({'controller':_0x477d('0x1eed'),'controllerAs':'vm','templateUrl':_0x477d('0x1eee'),'parent':angular[_0x477d('0x398')](_0x6de443[_0x477d('0x399')]),'targetEvent':_0xaaa6a6,'clickOutsideToClose':!![],'locals':{'queueCampaign':_0x160a4e}});}function _0xd13804(_0x327709,_0x5c20c2){_0x4c7b91[_0x477d('0x395')]({'controller':_0x477d('0x1eb5'),'controllerAs':'vm','templateUrl':_0x477d('0x1e87'),'parent':angular['element'](_0x6de443[_0x477d('0x399')]),'targetEvent':_0x327709,'clickOutsideToClose':!![],'locals':{'queueCampaign':_0x5c20c2,'queueCampaigns':_0x10799c[_0x477d('0xf2f')]?_0x10799c[_0x477d('0xf2f')][_0x477d('0xf2')]:[],'realtime':!![],'crudPermissions':_0x10799c[_0x477d('0xd66')]}});}function _0x2d9417(_0x3e2a82){return _0x4c33c4[_0x477d('0xa76')][_0x477d('0x710')](_0x3e2a82)['$promise']['then'](function(){_0x3140ff[_0x477d('0x485')]({'title':'Queue\x20properly\x20updated!','msg':_0x3e2a82[_0x477d('0x94')]?_0x3e2a82['name']+_0x477d('0xed7'):''});})[_0x477d('0xf8')](function(_0x5808a8){_0x3140ff['error']({'title':_0x477d('0x141b'),'msg':_0x5808a8['message']});});}_0x6e7739['$on'](_0x477d('0x505'),function(){_0x72bc03[_0x477d('0x6b8')](_0x477d('0x1571'));_0x10799c[_0x477d('0x79c')]&&_0x2768c1[_0x477d('0x4f0')](_0x10799c[_0x477d('0x79c')]);_0x72bc03[_0x477d('0x6b8')]('userVoiceQueueRt:save');_0x72bc03[_0x477d('0x6b8')](_0x477d('0x1402'));_0x72bc03['removeAllListeners']('userVoiceQueue:remove');_0x72bc03[_0x477d('0x6b8')]('userVoiceQueue:save');});}}());(function(){'use strict';_0x2de631[_0x477d('0xa')]=['$mdDialog',_0x477d('0x794'),_0x477d('0x163e')];angular[_0x477d('0xb')](_0x477d('0x3a'))['controller']('PredictiveQueueCampaignDialogController',_0x2de631);function _0x2de631(_0x43fbd6,_0x4336fe,_0x1381d5){var _0x1a1eb4=this;_0x1a1eb4[_0x477d('0x163e')]=_0x1381d5;_0x1a1eb4[_0x477d('0x1eef')]=_0x20e60d;_0x1a1eb4[_0x477d('0x1ef0')]=_0x245e18;_0x1a1eb4[_0x477d('0x6bf')]=_0x4cb7d0;function _0x20e60d(_0x390a5a,_0x442ab2){return moment(_0x390a5a)[_0x477d('0x440')]('m',_0x442ab2)['format'](_0x477d('0x1ef1'));}function _0x245e18(_0x46d540){return moment(_0x46d540)['format'](_0x477d('0x1ef1'));}function _0x4cb7d0(){_0x43fbd6[_0x477d('0x3bc')]();}}}());(function(){'use strict';angular[_0x477d('0xb')]('app.auth')['factory']('helperClasses',_0x5bb7ef);function _0x5bb7ef(){return{'status':{'registered':_0x477d('0x141d'),'unregistered':_0x477d('0x141e'),'lagged':_0x477d('0x141e'),'reachable':'green-300-fg\x20icon-checkbox-marked-circle','unreachable':_0x477d('0x141e'),'unknown':_0x477d('0x141f')},'state':{'unknown':_0x477d('0x1422'),'not_inuse':_0x477d('0x1420'),'inuse':_0x477d('0x19b3'),'busy':_0x477d('0x1421'),'invalid':'grey-fg\x20icon-phone-hangup','unavailable':'grey-fg\x20icon-phone-hangup','ringing':_0x477d('0x1423'),'ringinuse':_0x477d('0x1423'),'onhold':_0x477d('0x1424')},'channelStatus':{'ring':'blue-300-fg\x20icon-phone-incoming','up':'green-300-fg\x20icon-phone-in-talk','hangup':'red-300-fg\x20icon-phone-hangup'},'channelStatusOut':{'ring':_0x477d('0x19b4'),'up':'green-300-fg\x20icon-phone-in-talk','hangup':'red-300-fg\x20icon-phone-hangup'}};}}());(function(){'use strict';_0x29f2f7[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x3c4'),_0x477d('0x5a3')];angular['module'](_0x477d('0x3a'))[_0x477d('0x3ba')](_0x477d('0x1ef2'),_0x29f2f7);function _0x29f2f7(_0x50ab17,_0x57bc67,_0xbdd368){var _0x518f2e=this;_0xbdd368[_0x477d('0x1427')]();_0xbdd368['connect']();_0x518f2e['selectedTab']=0x0;switch(_0x57bc67['current'][_0x477d('0x94')]){case'app.motiondialer.realtime.agents':_0x518f2e['selectedTab']=0x0;break;case'app.motiondialer.realtime.queues':_0x518f2e['selectedTab']=0x1;break;case _0x477d('0x217'):_0x518f2e[_0x477d('0xe95')]=0x2;break;case _0x477d('0x21c'):_0x518f2e[_0x477d('0xe95')]=0x3;break;case'app.motiondialer.realtime.queue_params':_0x518f2e[_0x477d('0xe95')]=0x4;break;case'app.motiondialer.realtime.ivr_campaigns':_0x518f2e[_0x477d('0xe95')]=0x5;break;default:_0x518f2e[_0x477d('0xe95')]=0x0;_0x57bc67['go'](_0x477d('0x1ef3'));}_0x50ab17[_0x477d('0x4b5')]('vm.selectedTab',function(_0x1c8b0a,_0x3ca670){if(_0x1c8b0a!==_0x3ca670){switch(_0x1c8b0a){case 0x0:_0x57bc67['go'](_0x477d('0x1ef3'));break;case 0x1:_0x57bc67['go'](_0x477d('0x214'));break;case 0x2:_0x57bc67['go'](_0x477d('0x217'));break;case 0x3:_0x57bc67['go'](_0x477d('0x21c'));break;case 0x4:_0x57bc67['go']('app.motiondialer.realtime.queue_params');break;case 0x5:_0x57bc67['go'](_0x477d('0x1e1e'));break;default:_0x57bc67['go'](_0x477d('0x1ef3'));}}});}}());(function(){'use strict';_0x3489ed[_0x477d('0xa')]=[_0x477d('0x474'),'$state',_0x477d('0xd64'),_0x477d('0x384'),'$q',_0x477d('0x40d'),_0x477d('0x40e'),_0x477d('0x160d'),_0x477d('0xb16'),_0x477d('0x386'),_0x477d('0x55'),_0x477d('0x613'),'setting',_0x477d('0xd66')];angular['module']('app.openchannel')[_0x477d('0x3ba')](_0x477d('0x1ef4'),_0x3489ed);function _0x3489ed(_0x3b61d9,_0x37e9bd,_0x39fdac,_0x5da06d,_0x236e1d,_0x2e4e91,_0x46b3f7,_0x3b588a,_0xd6898d,_0x1c71ab,_0x11f405,_0x1259e5,_0x9b4ac5,_0x37b497){var _0x35e09f=this;_0x35e09f[_0x477d('0x3e5')]=_0x11f405[_0x477d('0x5c')]();_0x35e09f[_0x477d('0xd67')]=[];_0x35e09f[_0x477d('0xc8e')]=_0x9b4ac5;_0x35e09f[_0x477d('0x613')]=_0x1259e5;_0x35e09f['crudPermissions']=_0x37b497;_0x35e09f[_0x477d('0xd68')]={};_0x35e09f[_0x477d('0xd69')]=_0x35e09f[_0x477d('0xc8e')]&&_0x35e09f[_0x477d('0xc8e')][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x35e09f[_0x477d('0x49a')]=_0x477d('0x1ef5');_0x35e09f[_0x477d('0xb16')]=angular[_0x477d('0x6d9')](_0xd6898d);_0x35e09f['openchannelAccounts']=_0x3b588a;_0x35e09f[_0x477d('0x1ef6')]=![];if(!_0x35e09f[_0x477d('0xb16')]){_0x35e09f['openchannelAccount']={'waitForTheAssignedAgent':0xa,'notificationSound':!![],'queueTransferTimeout':0x12c,'agentTransferTimeout':0x12c};_0x35e09f['title']=_0x477d('0x1ef7');_0x35e09f['newOpenchannelAccount']=!![];}if(_0x37e9bd[_0x477d('0x37e')]['id']){_0x35e09f[_0x477d('0xb16')][_0x477d('0x14b7')]=_0x37e9bd[_0x477d('0x37e')]['id'];}_0x35e09f[_0x477d('0x1ef8')]=_0x508213;_0x35e09f[_0x477d('0x1ef9')]=_0x374815;_0x35e09f[_0x477d('0x1efa')]=_0x53ddf6;_0x35e09f['getDateFromString']=_0x4a2c07;_0x35e09f['closeDialog']=_0xf6670f;_0x11f405[_0x477d('0x56')](_0x477d('0x5f'))?_0x1c71ab[_0x477d('0xe3f')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x34e766){_0x35e09f[_0x477d('0xf1')]=_0x34e766['rows']||[];})[_0x477d('0xf8')](function(_0x18dda0){_0x46b3f7[_0x477d('0x44a')]({'title':_0x18dda0[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x18dda0['status']+_0x477d('0x44c')+_0x18dda0[_0x477d('0x44d')]:_0x477d('0x1228'),'msg':_0x18dda0[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x18dda0[_0x477d('0x451')]):_0x18dda0[_0x477d('0x453')]()});}):_0x1c71ab['cmList'][_0x477d('0x376')]({'fields':'id,name','sort':'name'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x303439){_0x35e09f[_0x477d('0xf1')]=_0x303439['rows']||[];})[_0x477d('0x76')](function(){return _0x1c71ab[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x35e09f[_0x477d('0x3e5')]['userProfileId'],'sectionId':0x12d})['$promise'];})[_0x477d('0x76')](function(_0x34e2a2){var _0x5558c9=_0x34e2a2&&_0x34e2a2['rows']?_0x34e2a2['rows'][0x0]:null;if(!_0x5558c9){var _0x4c43cd=[];var _0x1d5650=null;if(_0x35e09f['openchannelAccount']){_0x1d5650=_[_0x477d('0x10a')](_0x35e09f[_0x477d('0xf1')],{'id':Number(_0x35e09f['openchannelAccount'][_0x477d('0x1229')])});}for(var _0x5ca43b=0x0;_0x5ca43b<_0x35e09f['lists'][_0x477d('0x79')];_0x5ca43b++){if(_0x1d5650&&_0x35e09f[_0x477d('0xf1')][_0x5ca43b]['id']===_0x1d5650['id']){_0x35e09f[_0x477d('0xf1')][_0x5ca43b]['canSelect']=![];_0x4c43cd[_0x477d('0x3a7')](_0x35e09f[_0x477d('0xf1')][_0x5ca43b]);}}_0x35e09f['lists']=_0x4c43cd;}else{if(!_0x5558c9[_0x477d('0x3ad')]){return _0x1c71ab[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x5558c9['id']})['$promise'][_0x477d('0x76')](function(_0x3d12c0){var _0x518a07=_['map'](_0x3d12c0['rows'],function(_0x2c9016){return _['find'](_0x35e09f[_0x477d('0xf1')],{'id':_0x2c9016['resourceId']});});var _0x4950e2=null;if(_0x35e09f[_0x477d('0xb16')]){_0x4950e2=_[_0x477d('0x10a')](_0x35e09f[_0x477d('0xf1')],{'id':Number(_0x35e09f[_0x477d('0xb16')][_0x477d('0x1229')])});}if(_0x4950e2&&!_[_0x477d('0x3ab')](_0x518a07,['id',_0x4950e2['id']])){var _0x353b3b=_[_0x477d('0x10a')](_0x35e09f['lists'],{'id':_0x4950e2['id']});_0x353b3b['canSelect']=![];_0x518a07[_0x477d('0x3a7')](_0x353b3b);}_0x35e09f[_0x477d('0xf1')]=_0x518a07;});}}})[_0x477d('0xf8')](function(_0x13da75){_0x46b3f7[_0x477d('0x44a')]({'title':_0x13da75[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x13da75[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x13da75[_0x477d('0x44d')]:_0x477d('0x122a'),'msg':_0x13da75[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x13da75['data']):_0x13da75[_0x477d('0x453')]()});});function _0x508213(){_0x35e09f['errors']=[];_0x1c71ab[_0x477d('0xb16')][_0x477d('0xd70')](_0x35e09f[_0x477d('0xb16')])[_0x477d('0x38b')]['then'](function(_0x36dab7){_0x35e09f['openchannelAccounts'][_0x477d('0x63b')](_0x36dab7[_0x477d('0xd71')]());_0x46b3f7[_0x477d('0x485')]({'title':_0x477d('0x1efb'),'msg':_0x35e09f[_0x477d('0xb16')][_0x477d('0x94')]?_0x35e09f[_0x477d('0xb16')][_0x477d('0x94')]+'\x20has\x20been\x20created!':''});_0xf6670f(_0x36dab7);})[_0x477d('0xf8')](function(_0x447ccf){if(_0x447ccf[_0x477d('0x451')]&&_0x447ccf['data'][_0x477d('0xd67')]&&_0x447ccf[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x35e09f[_0x477d('0xd67')]=_0x447ccf[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x447ccf['toString'](),'type':_0x477d('0x1efc')}];for(var _0x1de2b9=0x0;_0x1de2b9<_0x447ccf['data']['errors']['length'];_0x1de2b9+=0x1){_0x46b3f7[_0x477d('0x44a')]({'title':_0x447ccf[_0x477d('0x451')][_0x477d('0xd67')][_0x1de2b9]['type'],'msg':_0x447ccf['data'][_0x477d('0xd67')][_0x1de2b9][_0x477d('0x452')]});}}else{_0x46b3f7[_0x477d('0x44a')]({'title':_0x447ccf[_0x477d('0x3c3')]?'API:'+_0x447ccf[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x447ccf['statusText']:'api.openchannelAccount.save','msg':_0x447ccf['data']?JSON[_0x477d('0x3fb')](_0x447ccf['data'][_0x477d('0x452')]):_0x447ccf[_0x477d('0x453')]()});}});}function _0x374815(){_0x35e09f[_0x477d('0xd67')]=[];_0x1c71ab['openchannelAccount'][_0x477d('0x710')]({'id':_0x35e09f['openchannelAccount']['id']},_0x35e09f[_0x477d('0xb16')])['$promise'][_0x477d('0x76')](function(_0x1e51e9){var _0xde984c=_[_0x477d('0x10a')](_0x35e09f['openchannelAccounts'],{'id':_0x1e51e9['id']});if(_0xde984c){_['merge'](_0xde984c,_[_0x477d('0x10b')](_0x1e51e9[_0x477d('0xd71')](),_[_0x477d('0x7f')](_0xde984c)));}_0x46b3f7['success']({'title':_0x477d('0x1efd'),'msg':_0x35e09f[_0x477d('0xb16')]['name']?_0x35e09f[_0x477d('0xb16')][_0x477d('0x94')]+_0x477d('0xd76'):''});_0xf6670f(_0x1e51e9);})['catch'](function(_0x1b2387){if(_0x1b2387[_0x477d('0x451')]&&_0x1b2387[_0x477d('0x451')][_0x477d('0xd67')]&&_0x1b2387['data'][_0x477d('0xd67')]['length']){_0x35e09f['errors']=_0x1b2387[_0x477d('0x451')]['errors']||[{'message':_0x1b2387[_0x477d('0x453')](),'type':'api.openchannelAccount.update'}];for(var _0x19b6e8=0x0;_0x19b6e8<_0x1b2387[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x19b6e8++){_0x46b3f7[_0x477d('0x44a')]({'title':_0x1b2387[_0x477d('0x451')][_0x477d('0xd67')][_0x19b6e8][_0x477d('0x439')],'msg':_0x1b2387[_0x477d('0x451')]['errors'][_0x19b6e8][_0x477d('0x452')]});}}else{_0x46b3f7['error']({'title':_0x1b2387[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x1b2387['status']+'\x20-\x20'+_0x1b2387[_0x477d('0x44d')]:_0x477d('0x1efe'),'msg':_0x1b2387['data']?JSON[_0x477d('0x3fb')](_0x1b2387['data'][_0x477d('0x452')]):_0x1b2387[_0x477d('0x453')]()});}});}function _0x53ddf6(_0x526bfc){_0x35e09f[_0x477d('0xd67')]=[];var _0x2f4351=_0x5da06d[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xd79'))['content']('The\x20openchannelAccount\x20will\x20be\x20deleted.')[_0x477d('0x687')](_0x477d('0x1eff'))['ok'](_0x477d('0xd7b'))['cancel'](_0x477d('0x688'))[_0x477d('0xd7c')](_0x526bfc);_0x5da06d['show'](_0x2f4351)[_0x477d('0x76')](function(){_0x1c71ab[_0x477d('0xb16')][_0x477d('0xa55')]({'id':_0x35e09f[_0x477d('0xb16')]['id']})['$promise'][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x35e09f[_0x477d('0x160d')],{'id':_0x35e09f[_0x477d('0xb16')]['id']});_0x46b3f7[_0x477d('0x485')]({'title':_0x477d('0x1f00'),'msg':(_0x35e09f[_0x477d('0xb16')][_0x477d('0x94')]||_0x477d('0xb16'))+_0x477d('0xd7e')});_0xf6670f(_0x35e09f['openchannelAccount']);})['catch'](function(_0x1f1fb9){if(_0x1f1fb9[_0x477d('0x451')]&&_0x1f1fb9['data']['errors']&&_0x1f1fb9['data'][_0x477d('0xd67')]['length']){_0x35e09f[_0x477d('0xd67')]=_0x1f1fb9[_0x477d('0x451')]['errors']||[{'message':_0x1f1fb9[_0x477d('0x453')](),'type':_0x477d('0x1f01')}];for(var _0x37dceb=0x0;_0x37dceb<_0x1f1fb9[_0x477d('0x451')]['errors'][_0x477d('0x79')];_0x37dceb++){_0x46b3f7[_0x477d('0x44a')]({'title':_0x1f1fb9[_0x477d('0x451')][_0x477d('0xd67')][_0x37dceb][_0x477d('0x439')],'msg':_0x1f1fb9[_0x477d('0x451')][_0x477d('0xd67')][_0x37dceb][_0x477d('0x452')]});}}else{_0x46b3f7[_0x477d('0x44a')]({'title':_0x1f1fb9[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x1f1fb9['status']+_0x477d('0x44c')+_0x1f1fb9[_0x477d('0x44d')]:_0x477d('0x1f01'),'msg':_0x1f1fb9['data']?JSON[_0x477d('0x3fb')](_0x1f1fb9[_0x477d('0x451')][_0x477d('0x452')]):_0x1f1fb9[_0x477d('0x452')]||_0x1f1fb9[_0x477d('0x453')]()});}});},function(){});}function _0x4a2c07(_0x3982cf){return _0x3982cf===null?undefined:new Date(_0x3982cf);}function _0xf6670f(_0x307bde){_0x5da06d[_0x477d('0x3bc')](_0x307bde);}}}());(function(){'use strict';_0x2f0e5a[_0x477d('0xa')]=[_0x477d('0x386'),_0x477d('0x384'),'$document',_0x477d('0x40e'),_0x477d('0x55')];angular[_0x477d('0xb')](_0x477d('0x33'))[_0x477d('0x3ba')](_0x477d('0x1f02'),_0x2f0e5a);function _0x2f0e5a(_0x2bf49c,_0x5b351c,_0x1125aa,_0x4fadbc,_0x37adfe){var _0x29946f=this;_0x29946f[_0x477d('0x3e5')]=_0x37adfe[_0x477d('0x5c')]();_0x29946f[_0x477d('0xb16')]={};_0x29946f[_0x477d('0x1f03')]={'count':0x0,'rows':[]};_0x29946f[_0x477d('0x1f04')]=[];_0x29946f[_0x477d('0xd66')];_0x29946f[_0x477d('0x3ef')]={'sort':_0x477d('0x1243')};_0x29946f[_0x477d('0x1244')]=_['reject'](_[_0x477d('0x1245')]([{'app':_0x477d('0x1266'),'appType':_0x477d('0x1266'),'type':_0x477d('0x1266'),'icon':_0x477d('0x1248'),'interval':_0x477d('0x1249'),'isApp':!![],'fields':[{'title':_0x477d('0x1f05'),'name':_0x477d('0x670'),'type':_0x477d('0x41b'),'required':!![],'param':0x0},{'title':_0x477d('0x1267'),'name':_0x477d('0x1267'),'type':'select','defaultValue':_0x477d('0x1269'),'values':[{'option':'Danish','value':_0x477d('0x1268')},{'option':_0x477d('0xf9e'),'value':_0x477d('0x1269')},{'option':'German','value':_0x477d('0x126a')},{'option':_0x477d('0xfa0'),'value':'\x27it\x27'},{'option':_0x477d('0xfa1'),'value':'\x27es\x27'},{'option':_0x477d('0xfa2'),'value':_0x477d('0x126d')},{'option':'Indonesian','value':'\x27id\x27'},{'option':_0x477d('0xfa4'),'value':_0x477d('0x126f')},{'option':_0x477d('0xfa5'),'value':_0x477d('0x1270')},{'option':_0x477d('0xfa6'),'value':_0x477d('0x1f06')},{'option':_0x477d('0xfa7'),'value':_0x477d('0x1271')},{'option':'Portuguese\x20(European)','value':_0x477d('0x1272')},{'option':_0x477d('0xfa9'),'value':_0x477d('0x1273')},{'option':_0x477d('0xfaa'),'value':_0x477d('0x1274')},{'option':'Swedish','value':_0x477d('0x1275')},{'option':_0x477d('0x1027'),'value':_0x477d('0x1276')},{'option':_0x477d('0xfab'),'value':_0x477d('0x1277')},{'option':_0x477d('0xfad'),'value':_0x477d('0x1278')},{'option':_0x477d('0xfaf'),'value':_0x477d('0x1f07')},{'option':'Chinese\x20(Traditional)','value':_0x477d('0x1279')}],'required':!![],'param':0x1},{'title':_0x477d('0x127a'),'name':_0x477d('0x127a'),'type':_0x477d('0x127b'),'maxlength':0xff,'required':![],'param':0x2,'help':!![]}]},{'app':_0x477d('0x127c'),'appType':_0x477d('0x127c'),'type':'amazonlex','icon':'icon-apps','interval':_0x477d('0x1249'),'isApp':!![],'fields':[{'title':_0x477d('0x127d'),'name':_0x477d('0x127d'),'type':'text','required':!![],'param':0x0},{'title':_0x477d('0x127e'),'name':_0x477d('0x127e'),'type':'text','required':!![],'param':0x1},{'title':'lexregion','name':'lexregion','type':_0x477d('0x462'),'defaultValue':'\x27us-east-1\x27','values':[{'option':'US\x20East\x20(N.\x20Virginia)','value':_0x477d('0x1280')},{'option':_0x477d('0x1163'),'value':_0x477d('0x1f08')},{'option':'EU\x20(Ireland)','value':'\x27eu-west-1\x27'},{'option':_0x477d('0x116b'),'value':'\x27ap-southeast-2\x27'}],'required':!![],'param':0x2},{'title':'botname','name':_0x477d('0x1283'),'type':_0x477d('0x41b'),'required':!![],'param':0x3},{'title':_0x477d('0x127a'),'name':_0x477d('0x127a'),'type':_0x477d('0x127b'),'maxlength':0xff,'required':![],'param':0x4,'help':!![]}]},{'app':'Interval','appType':_0x477d('0x79c'),'types':[_0x477d('0x1247'),_0x477d('0x9f6'),_0x477d('0xa02')],'fields':[],'isApp':![]},{'app':'noop','appType':_0x477d('0x3c6'),'type':_0x477d('0x3c6'),'icon':_0x477d('0x1248'),'interval':_0x477d('0x1249'),'required':!![],'isApp':!![],'fields':[{'title':'Value','name':_0x477d('0x3b6'),'type':'text','param':0x0}]},{'app':'system','appType':_0x477d('0xa41'),'type':'system','icon':_0x477d('0x1248'),'interval':'*,*,*,*','required':!![],'isApp':!![],'extraApi':[{'name':'variables','field':{'name':_0x477d('0xbb9'),'key':_0x477d('0x94')},'route':'variable','filters':{'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':!![]},'permissions':{'section':0x3f4}}],'fields':[{'title':_0x477d('0x124a'),'name':_0x477d('0xf49'),'type':_0x477d('0x41b'),'required':!![],'param':0x0},{'title':_0x477d('0x124b'),'name':_0x477d('0xbb9'),'type':_0x477d('0x124c'),'values':'variables','value':'variable.name','option':_0x477d('0x124d'),'defaultValues':[{'value':'\x27\x27','option':_0x477d('0x124e')}],'defaultValue':'\x27\x27','param':0x1}]},{'app':_0x477d('0x124f'),'appType':'gotop','type':_0x477d('0x1250'),'icon':_0x477d('0x1248'),'interval':_0x477d('0x1249'),'isApp':!![],'fields':[{'title':_0x477d('0x1251'),'name':_0x477d('0x1243'),'type':_0x477d('0x421'),'required':!![],'min':0x0,'param':0x0}]},{'app':_0x477d('0x1252'),'appType':_0x477d('0x1252'),'type':_0x477d('0x1252'),'icon':_0x477d('0x1248'),'interval':_0x477d('0x1249'),'isApp':!![],'fields':[{'title':'Condition','name':_0x477d('0xb98'),'type':_0x477d('0x41b'),'required':!![],'param':0x0},{'title':'truepriority','name':_0x477d('0x1254'),'type':'number','min':0x1,'required':!![],'param':0x1},{'title':_0x477d('0x1255'),'name':_0x477d('0x1255'),'type':_0x477d('0x421'),'min':0x1,'required':!![],'param':0x2}]},{'app':'queue','appType':_0x477d('0x1256'),'foreignKey':'OpenchannelQueueId','type':_0x477d('0x1256'),'icon':_0x477d('0x1248'),'interval':_0x477d('0x1249'),'isApp':!![],'extraApi':[{'name':_0x477d('0xf2f'),'field':{'name':_0x477d('0x1256'),'key':_0x477d('0x94')},'route':_0x477d('0xb2c'),'filters':{'fields':_0x477d('0x12de'),'sort':_0x477d('0x94'),'nolimit':!![]},'permissions':{'section':0x321}}],'fields':[{'title':_0x477d('0x1258'),'name':_0x477d('0x1256'),'type':_0x477d('0x124c'),'values':_0x477d('0xf2f'),'value':'queue.name','option':'queue.name','defaultValue':0x12c,'required':!![],'param':0x0},{'title':_0x477d('0x125a'),'name':'timeout','type':_0x477d('0x421'),'max':0x20c49b,'min':0x0,'defaultValue':0x12c,'required':!![],'param':0x1}]},{'app':_0x477d('0xcf'),'appType':_0x477d('0xcf'),'type':_0x477d('0xcf'),'foreignKey':'UserId','icon':_0x477d('0x1248'),'interval':'*,*,*,*','isApp':!![],'extraApi':[{'name':_0x477d('0x125c'),'field':{'name':_0x477d('0xcf'),'key':'name'},'route':_0x477d('0x380'),'filters':{'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'role':_0x477d('0xcf'),'nolimit':!![]},'permissions':{'section':0xca}}],'fields':[{'title':_0x477d('0x125d'),'name':_0x477d('0xcf'),'type':_0x477d('0x124c'),'values':_0x477d('0x125c'),'value':_0x477d('0x125e'),'option':_0x477d('0x125e'),'required':!![],'param':0x0},{'title':_0x477d('0x125a'),'name':_0x477d('0x91b'),'type':_0x477d('0x421'),'max':0x20c49b,'min':0x0,'required':!![],'defaultValue':0x1e,'param':0x1}]},{'app':_0x477d('0x1260'),'appType':_0x477d('0x1260'),'type':'autoreply','icon':_0x477d('0x1248'),'interval':_0x477d('0x1249'),'isApp':!![],'fields':[{'title':_0x477d('0x1261'),'name':_0x477d('0x1261'),'type':'select','defaultValue':'1','values':[{'option':_0x477d('0x1c82'),'value':'1'},{'option':'Always','value':'0'}],'required':!![],'param':0x0},{'title':'Text','name':_0x477d('0x41b'),'type':'textarea','required':!![],'param':0x1}]},{'app':_0x477d('0x539'),'appType':'close','type':'close','icon':'icon-apps','interval':_0x477d('0x1249'),'isApp':!![],'fields':[{'title':'Disposition','name':_0x477d('0xb95'),'type':'text','required':!![],'param':0x0}]},{'app':_0x477d('0xbb0'),'appType':'tag','type':_0x477d('0xbb0'),'foreignKey':_0x477d('0x1262'),'icon':'icon-apps','interval':_0x477d('0x1249'),'isApp':!![],'extraApi':[{'name':_0x477d('0x1263'),'field':{'name':_0x477d('0xbb0'),'key':_0x477d('0x94')},'route':_0x477d('0xbb0'),'filters':{'fields':'id,name','sort':_0x477d('0x94'),'nolimit':!![]},'permissions':{'section':0x3f0}}],'fields':[{'title':_0x477d('0x1264'),'name':'tag','type':_0x477d('0x124c'),'values':_0x477d('0x1263'),'value':'tag.name','option':_0x477d('0x1265'),'required':!![],'param':0x0}]}],[_0x477d('0x1291')]),{'isApp':![]});_0x29946f[_0x477d('0xa02')]={'group':{'name':_0x477d('0x1284'),'pull':_0x477d('0x117f')},'animation':0x64,'sort':![]};_0x29946f[_0x477d('0x1285')]={'group':{'name':_0x477d('0x1286'),'put':_0x477d('0x1284')},'animation':0x64,'onAdd':function(_0x19f6f5){_0x3cd1a5(_0x19f6f5,_0x19f6f5['newIndex']);},'onSort':function(_0x5a43c1){_0x35aa1e();}};_0x29946f[_0x477d('0x5ee')]=_0x2fba10;_0x29946f[_0x477d('0xe66')]=_0x4cbfe8;_0x29946f[_0x477d('0x1f09')]=_0x30a45f;_0x29946f[_0x477d('0x1f0a')]=_0x3cd1a5;_0x29946f[_0x477d('0x1289')]=_0x3d8cff;_0x29946f[_0x477d('0x1f0b')]=_0x5931bc;_0x29946f[_0x477d('0x1f0c')]=_0x2561ca;_0x29946f[_0x477d('0x128c')]=_0x35aa1e;_0x29946f[_0x477d('0x128f')]=_0x7d9ca6;function _0x2fba10(_0x53b70e,_0xa69d1a){_0x29946f[_0x477d('0xb16')]=_0x53b70e;_0x29946f['crudPermissions']=typeof _0xa69d1a!==_0x477d('0x4a4')?_0xa69d1a:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x29946f[_0x477d('0x1285')][_0x477d('0x45c')]=!_0x29946f[_0x477d('0xd66')][_0x477d('0xedb')]?!![]:![];_0x29946f['query']['id']=_0x53b70e['id'];_0x29946f[_0x477d('0x3ef')]['isApp']=!![];_0x29946f[_0x477d('0x3ef')][_0x477d('0x128e')]=!![];_0x29946f[_0x477d('0x1f09')]();_0x29946f[_0x477d('0x128f')]();}function _0x4cbfe8(_0x5554ad,_0x52840e,_0x495d12){var _0x2b1b02=_0x5b351c[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x1290'))['htmlContent'](_0x477d('0xd93')+_0x5554ad[_0x477d('0x1291')]+_0x477d('0xd94')+_0x477d('0xd95'))['ariaLabel'](_0x477d('0x1292'))[_0x477d('0xd7c')](_0x495d12)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x5b351c[_0x477d('0x395')](_0x2b1b02)[_0x477d('0x76')](function(){_0x29946f[_0x477d('0x1f03')][_0x477d('0xf2')][_0x477d('0x45b')](_0x52840e,0x1);_0x35aa1e();},function(){console[_0x477d('0x7b')]('CANCEL');});}function _0x3cd1a5(_0x12b958,_0x57f788){if(_0x29946f[_0x477d('0x1f03')][_0x477d('0xf2')]['length']){var _0x3dc71a=_0x29946f[_0x477d('0x1f03')][_0x477d('0xf2')][_0x57f788]?_0x29946f['openchannelAccountApps'][_0x477d('0xf2')][_0x57f788]:_0x29946f['openchannelAccountApps']['rows'][0x0];_0x5b351c[_0x477d('0x395')]({'controller':_0x477d('0x1f0d')+(_0x3dc71a[_0x477d('0x1294')]||_0x3dc71a[_0x477d('0x1291')])[_0x477d('0x449')]()+'DialogController','controllerAs':'vm','templateUrl':_0x477d('0x1f0e')+(_0x3dc71a[_0x477d('0x1294')]||_0x3dc71a[_0x477d('0x1291')])[_0x477d('0x449')]()+_0x477d('0x1296'),'parent':angular['element'](_0x1125aa['body']),'targetEvent':_0x12b958,'clickOutsideToClose':!![],'locals':{'openchannelAccountApp':_0x3dc71a,'openchannelAccount':_0x29946f[_0x477d('0xb16')],'crudPermissions':_0x29946f[_0x477d('0xd66')]}})['then'](function(_0x58b69a){if(_0x58b69a){if(_0x58b69a['id']){_0x29946f['openchannelAccountApps'][_0x477d('0xf2')][_0x57f788]=_0x58b69a;}else{_0x29946f[_0x477d('0x1f03')][_0x477d('0xf2')]['splice'](_0x57f788,0x0,_0x58b69a);}_0x35aa1e();}})[_0x477d('0xf8')](function(_0x1cf1d5){if(_0x1cf1d5){_0x4fadbc['error']({'title':_0x1cf1d5[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x1cf1d5[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x1cf1d5[_0x477d('0x44d')]:'SYSTEM:EDITMODALSHOW','msg':_0x1cf1d5[_0x477d('0x451')]?JSON['stringify'](_0x1cf1d5[_0x477d('0x451')]):_0x1cf1d5[_0x477d('0x453')]()});}});}}function _0x3d8cff(_0x58d47e,_0x5404a5){if(_0x29946f[_0x477d('0x1f03')][_0x477d('0xf2')][_0x477d('0x79')]){var _0x108230=_0x29946f['openchannelAccountApps'][_0x477d('0xf2')][_0x5404a5]?_0x29946f[_0x477d('0x1f03')][_0x477d('0xf2')][_0x5404a5]:_0x29946f[_0x477d('0x1f03')][_0x477d('0xf2')][0x0];_0x5b351c['show']({'controller':_0x477d('0x1f0f'),'controllerAs':'vm','templateUrl':_0x477d('0x1f10'),'parent':angular[_0x477d('0x398')](_0x1125aa[_0x477d('0x399')]),'targetEvent':_0x58d47e,'clickOutsideToClose':!![],'locals':{'interval':{'interval':_0x108230[_0x477d('0x79c')],'IntervalId':_0x108230[_0x477d('0xf8c')],'application':!![]},'intervals':[],'crudPermissions':_0x29946f[_0x477d('0xd66')]}})[_0x477d('0x76')](function(_0x3e4936){if(_0x3e4936){_0x108230[_0x477d('0x79c')]=_0x3e4936[_0x477d('0x79c')]||_0x477d('0x1249');_0x108230['IntervalId']=_0x3e4936['IntervalId']||null;_0x35aa1e();}});}}function _0x35aa1e(){var _0x5cc186=0x1;var _0x42fece=[];for(var _0x4c1458=0x0,_0x189549=0x0;_0x4c1458<_0x29946f['openchannelAccountApps'][_0x477d('0xf2')][_0x477d('0x79')];_0x4c1458++,_0x189549=0x0){var _0x202834=_0x29946f[_0x477d('0x1f03')][_0x477d('0xf2')][_0x4c1458];var _0x38007c=[];var _0x3a9332=[];_0x202834['intervals']=_0x202834[_0x477d('0x79c')]!==_0x477d('0x1249')?[_0x202834[_0x477d('0x79c')]]:_0x202834['IntervalId']?_[_0x477d('0x3cb')](_['filter'](_0x29946f[_0x477d('0x1298')][_0x477d('0xf2')],{'IntervalId':_0x202834[_0x477d('0xf8c')]}),'interval'):[];_0x202834['context']=_0x29946f[_0x477d('0xb16')]['context'];_0x202834[_0x477d('0x1299')]=_0x29946f[_0x477d('0xb16')][_0x477d('0x1299')];if(_0x202834[_0x477d('0x439')]){_0x202834[_0x477d('0x439')]=_0x202834[_0x477d('0x439')][_0x477d('0x449')]();}_0x202834[_0x477d('0x1243')]=_0x38007c[_0x477d('0x79')]?_['last'](_0x38007c)[_0x477d('0x1243')]+0x1:_0x5cc186;_0x5cc186=(_0x3a9332[_0x477d('0x79')]?_['last'](_0x3a9332)['priority']:_0x202834[_0x477d('0x1243')])+0x1;_0x42fece=_[_0x477d('0x3a9')](_0x42fece,_0x38007c,[_0x202834],_0x3a9332);}_0x2bf49c['openchannelAccount'][_0x477d('0x129a')]({'id':_0x29946f[_0x477d('0xb16')]['id']},_[_0x477d('0x1245')](_0x42fece,'priority'))['$promise']['then'](function(_0x4efba0){_0x29946f[_0x477d('0x1f03')][_0x477d('0xf2')]=_0x4efba0['rows'];})['catch'](function(_0x96019c){console[_0x477d('0x44a')](_0x96019c);});}function _0x15fe91(_0x21ba01){_0x29946f[_0x477d('0x1f03')]=_0x21ba01||{'count':0x0,'rows':[]};}function _0x7d9ca6(){return _0x2bf49c['interval']['get']({'fields':_0x477d('0x1923')})[_0x477d('0x38b')]['then'](function(_0x1fcf0b){_0x29946f['intervals']=_0x1fcf0b;})[_0x477d('0xf8')](function(_0x20e193){console[_0x477d('0x44a')](_0x20e193);});}function _0x30a45f(){_0x29946f[_0x477d('0x553')]=_0x2bf49c[_0x477d('0xb16')][_0x477d('0x1924')](_0x29946f[_0x477d('0x3ef')],_0x15fe91)['$promise'];}function _0x5931bc(_0x5836fd){_[_0x477d('0x39c')](_0x29946f[_0x477d('0x1f03')][_0x477d('0xf2')],{'id':_0x5836fd['id']});_0x35aa1e();_0x4fadbc[_0x477d('0x485')]({'title':'App\x20deleted!','msg':_0x5836fd[_0x477d('0x1291')]?_0x5836fd['app']+_0x477d('0xd7e'):''});}function _0x2561ca(_0x3ebef3){var _0x2128e2=_0x5b351c[_0x477d('0xd78')]()['title'](_0x477d('0x129b'))[_0x477d('0xd92')](''+_0x29946f['selectedOpenchannelAccountApps']['length']+_0x477d('0xda0')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x129c'))[_0x477d('0xd7c')](_0x3ebef3)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x5b351c[_0x477d('0x395')](_0x2128e2)[_0x477d('0x76')](function(){_0x29946f[_0x477d('0x1f04')]['forEach'](function(_0x2579be){_[_0x477d('0x39c')](_0x29946f[_0x477d('0x1f03')]['rows'],{'id':_0x2579be['id']});});_0x29946f[_0x477d('0x1f04')]=[];_0x35aa1e();});}}}());(function(){'use strict';_0xd6540b[_0x477d('0xa')]=[_0x477d('0x384'),'$q',_0x477d('0x40e'),'api',_0x477d('0xb16'),'openchannelAccounts',_0x477d('0x11f1'),_0x477d('0x40d'),_0x477d('0x55'),_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x33'))[_0x477d('0x3ba')](_0x477d('0x1f11'),_0xd6540b);function _0xd6540b(_0x3c8eb5,_0x488c4e,_0x2f3555,_0x1c3953,_0x562810,_0x5bc0ee,_0x4ce8fb,_0x41ea89,_0x406635,_0xb39bd8){var _0x178a19=this;_0x178a19[_0x477d('0x3e5')]=_0x406635['getCurrentUser']();_0x178a19['openchannelAccount']=_0x562810;_0x178a19['crudPermissions']=_0xb39bd8;_0x178a19[_0x477d('0x11f1')]=_0x4ce8fb;_0x178a19[_0x477d('0x4a6')]=[];_0x178a19['allowedItems']=[];_0x178a19['selectedItems']=[];_0x178a19[_0x477d('0x11f2')]=[];_0x178a19[_0x477d('0x11fd')]=[];_0x178a19['pendingChanges']=![];_0x178a19[_0x477d('0x71a')]=_0x7265d9;_0x178a19['saveAgents']=_0x4f997e;_0x178a19[_0x477d('0x6bf')]=_0x505454;_0x178a19['dualMultiselectOptions']={'readOnly':!_0x178a19['crudPermissions'][_0x477d('0xedb')],'items':[],'selectedItems':[],'showSelectAndDeselectAll':!![],'orderBy':'name','line1':'fullname','line2':['name',_0x477d('0x324')],'line3':'','labelAll':_0x41ea89[_0x477d('0x45f')](_0x477d('0x1f12')),'labelSelected':_0x41ea89['instant'](_0x477d('0x1f13')),'transferCallback':function(_0x202404,_0x264058){var _0x2e19fa=_[_0x477d('0x11f4')](_0x178a19['startingSelectedItems'],_0x178a19[_0x477d('0x4a7')],'id');_0x178a19[_0x477d('0x11f5')]=_['isEmpty'](_0x2e19fa)?![]:!![];}};function _0x7265d9(){return _0x406635[_0x477d('0x56')](_0x477d('0x5f'))?_0x18f77e()['catch'](function(_0x383599){_0x2f3555['error']({'title':_0x383599[_0x477d('0x3c3')]?'API:'+_0x383599['status']+_0x477d('0x44c')+_0x383599[_0x477d('0x44d')]:_0x477d('0x11f6'),'msg':_0x383599['status']?JSON[_0x477d('0x3fb')](_0x383599[_0x477d('0x451')]):_0x383599[_0x477d('0x453')]()});}):_0x287bc8()[_0x477d('0x76')](function(_0x1d37c1){_0x178a19[_0x477d('0xd99')]=_0x1d37c1;return _0x18f77e();})[_0x477d('0xf8')](function(_0x4eba90){_0x2f3555[_0x477d('0x44a')]({'title':_0x4eba90['status']?_0x477d('0x44b')+_0x4eba90[_0x477d('0x3c3')]+'\x20-\x20'+_0x4eba90['statusText']:_0x477d('0x11f6'),'msg':_0x4eba90[_0x477d('0x3c3')]?JSON['stringify'](_0x4eba90[_0x477d('0x451')]):_0x4eba90[_0x477d('0x453')]()});});}function _0x287bc8(){return _0x488c4e(function(_0x5ed489,_0x57df93){_0x1c3953[_0x477d('0x3ac')]['get']({'userProfileId':_0x178a19[_0x477d('0x3e5')][_0x477d('0x61')],'name':_0x477d('0xce')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x3c46a4){var _0x2d2676=_0x3c46a4&&_0x3c46a4[_0x477d('0xf2')]?_0x3c46a4[_0x477d('0xf2')][0x0]:null;_0x5ed489(_0x2d2676);})[_0x477d('0xf8')](function(_0x411eb9){_0x57df93(_0x411eb9);});});}function _0x18f77e(){return _0x488c4e(function(_0x11df99,_0x38890a){return _0x418eb3()[_0x477d('0x76')](function(_0xdcb29b){_0x178a19[_0x477d('0x4a6')]=_0xdcb29b[_0x477d('0xf2')]?_0xdcb29b[_0x477d('0xf2')]:[];if(_0x406635[_0x477d('0x56')]('admin')){return _0xdcb29b;}else{if(_0x178a19['section']){return _0x178a19[_0x477d('0xd99')][_0x477d('0x3ad')]?_0xdcb29b:_0xce25aa();}else{return null;}}})[_0x477d('0x76')](function(_0x4c7dd8){var _0x4bcbc6=_0x4c7dd8&&_0x4c7dd8[_0x477d('0xf2')]?_0x4c7dd8[_0x477d('0xf2')]:[];_0x178a19[_0x477d('0x11f7')]=_[_0x477d('0x3cb')](_0x4bcbc6,function(_0x56f0c6){return _['find'](_0x178a19['items'],{'id':_0x406635[_0x477d('0x56')](_0x477d('0x5f'))||_0x178a19['section']['autoAssociation']?_0x56f0c6['id']:_0x56f0c6[_0x477d('0x3af')]});});_0x178a19['startingAllowedItems']=angular[_0x477d('0x6d9')](_0x178a19[_0x477d('0x11f7')]);_0x178a19[_0x477d('0x4a6')][_0x477d('0x3b1')](function(_0x6695ec){var _0x31519f=_[_0x477d('0x10a')](_0x178a19[_0x477d('0x11f7')],{'id':_0x6695ec['id']});if(_0x406635[_0x477d('0x56')](_0x477d('0x5f'))){_0x6695ec[_0x477d('0x4a3')]=!![];}else{_0x6695ec[_0x477d('0x4a3')]=typeof _0x31519f!==_0x477d('0x4a4')?!![]:![];}});return _0xc31b23();})['then'](function(_0x1ca125){var _0x3106c2=_0x1ca125&&_0x1ca125[_0x477d('0xf2')]?_0x1ca125['rows']:[];_0x178a19['selectedItems']=_[_0x477d('0x3cb')](_0x3106c2,function(_0x2f9806){var _0x244016=_[_0x477d('0x10a')](_0x178a19[_0x477d('0x4a6')],{'id':_0x2f9806['id']});_0x244016[_0x477d('0x1184')]=_0x2f9806[_0x477d('0x1f14')]?_0x477d('0x1529')+_0x2f9806[_0x477d('0x1f14')][_0x477d('0x1184')]:'';_0x244016[_0x477d('0x324')]=_0x2f9806[_0x477d('0x3ea')](_0x477d('0x324'))?'<'+_0x2f9806[_0x477d('0x324')]+'>':'';return _0x244016;});_0x178a19[_0x477d('0x11fd')]=angular['copy'](_0x178a19[_0x477d('0x4a7')]);_0x178a19[_0x477d('0x1185')][_0x477d('0x4a7')]=_0x178a19['selectedItems'];_0x178a19[_0x477d('0x1185')]['items']=_[_0x477d('0x11f8')](_0x178a19[_0x477d('0x11f7')],_0x178a19[_0x477d('0x1185')]['selectedItems'],'id');_0x11df99();})['catch'](function(_0x5174f2){_0x38890a(_0x5174f2);});});}function _0xce25aa(){return _0x488c4e(function(_0x31be8d,_0x1083eb){return _0x1c3953['userProfileResource'][_0x477d('0x376')]({'sectionId':_0x178a19[_0x477d('0xd99')]['id'],'nolimit':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x31f0e8){_0x31be8d(_0x31f0e8);})[_0x477d('0xf8')](function(_0x52c5b1){_0x1083eb(_0x52c5b1);});});}function _0xc31b23(){return _0x488c4e(function(_0x5d451f,_0x5d6616){return _0x1c3953[_0x477d('0xb16')][_0x477d('0x11f9')]({'id':_0x178a19[_0x477d('0xb16')]['id'],'fields':_0x477d('0x11fa'),'nolimit':!![],'role':_0x477d('0xcf')})['$promise'][_0x477d('0x76')](function(_0x117120){_0x5d451f(_0x117120);})['catch'](function(_0x127927){_0x5d6616(_0x127927);});});}function _0x418eb3(){return _0x488c4e(function(_0x4f5c81,_0x190fbb){return _0x1c3953[_0x477d('0x380')][_0x477d('0x376')]({'fields':_0x477d('0x11fa'),'nolimit':!![],'role':_0x477d('0xcf')})[_0x477d('0x38b')]['then'](function(_0x1458c2){_0x4f5c81(_0x1458c2);})[_0x477d('0xf8')](function(_0xd3bdad){_0x190fbb(_0xd3bdad);});});}function _0x100c39(_0x3d6c5a){return _0x488c4e(function(_0x2ea635,_0x244780){if(_[_0x477d('0x3b2')](_0x3d6c5a)){_0x2ea635();}else{_0x1c3953[_0x477d('0xb16')][_0x477d('0x11fb')]({'id':_0x178a19['openchannelAccount']['id'],'ids':_[_0x477d('0x3cb')](_0x3d6c5a,'id')})[_0x477d('0x38b')]['then'](function(){_0x2ea635();})[_0x477d('0xf8')](function(_0x1c801){_0x244780(_0x1c801);});}});}function _0x5bae56(_0x466b46){return _0x488c4e(function(_0x348b30,_0xead937){if(_[_0x477d('0x3b2')](_0x466b46)){_0x348b30();}else{_0x1c3953['openchannelAccount'][_0x477d('0x11fc')]({'id':_0x178a19['openchannelAccount']['id'],'ids':_[_0x477d('0x3cb')](_0x466b46,'id')})[_0x477d('0x38b')]['then'](function(){_0x348b30();})[_0x477d('0xf8')](function(_0xbec0ad){_0xead937(_0xbec0ad);});}});}function _0x4f997e(){var _0x15e423=_[_0x477d('0x11f8')](_0x178a19['startingSelectedItems'],_0x178a19['selectedItems'],'id');var _0x5b7338=_[_0x477d('0x11f8')](_0x178a19[_0x477d('0x4a7')],_0x178a19[_0x477d('0x11fd')],'id');return _0x5bae56(_0x15e423)[_0x477d('0x76')](function(){return _0x100c39(_0x5b7338);})['then'](function(){_0x178a19[_0x477d('0x11f5')]=![];_0x178a19[_0x477d('0x11f2')]=angular[_0x477d('0x6d9')](_0x178a19['allowedItems']);_0x178a19[_0x477d('0x11fd')]=angular['copy'](_0x178a19[_0x477d('0x4a7')]);_0x2f3555[_0x477d('0x485')]({'title':_0x477d('0x11fe'),'msg':_0x477d('0x11ff')});})[_0x477d('0xf8')](function(_0x250e8b){_0x2f3555[_0x477d('0x44a')]({'title':_0x250e8b[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x250e8b[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x250e8b[_0x477d('0x44d')]:_0x477d('0x1200'),'msg':_0x250e8b[_0x477d('0x3c3')]?JSON[_0x477d('0x3fb')](_0x250e8b[_0x477d('0x451')]):_0x250e8b[_0x477d('0x453')]()});});}function _0x505454(){_0x3c8eb5[_0x477d('0x3bc')]();}}}());(function(){'use strict';_0x581fd2[_0x477d('0xa')]=[_0x477d('0x384'),'$q',_0x477d('0x40e'),_0x477d('0x1f15'),_0x477d('0xb16'),'api','Auth',_0x477d('0xd66')];angular[_0x477d('0xb')]('app.openchannel')[_0x477d('0x3ba')](_0x477d('0x1f16'),_0x581fd2);function _0x581fd2(_0x2b1ce7,_0x4d4016,_0x379560,_0x1e3902,_0x327dda,_0x828a39,_0xe153fc,_0x53816e){var _0x2c498d=this;_0x2c498d[_0x477d('0x3e5')]=_0xe153fc[_0x477d('0x5c')]();_0x2c498d[_0x477d('0xd67')]=[];_0x2c498d[_0x477d('0x49a')]=_0x477d('0x1f17')+(_0x1e3902[_0x477d('0x1294')]||_0x1e3902['app'])['toUpperCase']();_0x2c498d[_0x477d('0xcf')]=angular[_0x477d('0x6d9')](_0x1e3902);_0x2c498d['crudPermissions']=_0x53816e;_0x2c498d['hasModulePermissions']={};if(_0x2c498d['agent']['appdata']){switch(_0x2c498d[_0x477d('0xcf')][_0x477d('0x1294')]?_0x2c498d['agent'][_0x477d('0x1294')][_0x477d('0x449')]():_0x2c498d[_0x477d('0xcf')][_0x477d('0x1291')][_0x477d('0x449')]()){case'custom':break;case _0x477d('0x1266'):var _0x1d0ece=_0x2c498d[_0x477d('0xcf')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x2c498d[_0x477d('0xcf')][_0x477d('0x670')]=_0x1d0ece[0x0];_0x2c498d[_0x477d('0xcf')][_0x477d('0x1267')]=_0x1d0ece[0x1];_0x2c498d['agent'][_0x477d('0x127a')]=_0x1d0ece['slice'](0x2,_0x1d0ece[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x127c'):var _0x1d0ece=_0x2c498d[_0x477d('0xcf')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x2c498d[_0x477d('0xcf')]['accesskeyid']=_0x1d0ece[0x0];_0x2c498d[_0x477d('0xcf')][_0x477d('0x127e')]=_0x1d0ece[0x1];_0x2c498d[_0x477d('0xcf')][_0x477d('0x127f')]=_0x1d0ece[0x2];_0x2c498d[_0x477d('0xcf')][_0x477d('0x1283')]=_0x1d0ece[0x3];_0x2c498d[_0x477d('0xcf')]['welcomemessage']=_0x1d0ece[_0x477d('0x9cd')](0x4,_0x1d0ece['length'])['join'](',');break;case _0x477d('0x1260'):var _0x1d0ece=_0x2c498d[_0x477d('0xcf')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x2c498d['agent'][_0x477d('0x1261')]=isNaN(_0x1d0ece[0x0])?_0x1d0ece[0x0]:parseInt(_0x1d0ece[0x0],0xa);_0x2c498d[_0x477d('0xcf')][_0x477d('0x41b')]=_0x1d0ece[_0x477d('0x9cd')](0x1,_0x1d0ece[_0x477d('0x79')])['join'](',');break;case _0x477d('0x452'):_0x2c498d[_0x477d('0xcf')][_0x477d('0x41b')]=_0x2c498d[_0x477d('0xcf')][_0x477d('0x12ae')];break;case _0x477d('0x12af'):_0x2c498d[_0x477d('0xcf')][_0x477d('0x94')]=_0x2c498d[_0x477d('0xcf')][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x0];_0x2c498d['agent'][_0x477d('0x3b6')]=_0x2c498d[_0x477d('0xcf')][_0x477d('0x12ae')]['split']('=')[0x1];break;case _0x477d('0x12b0'):_0x2c498d[_0x477d('0xcf')][_0x477d('0xf13')]=_0x2c498d[_0x477d('0xcf')][_0x477d('0x12ae')];break;default:var _0x2f4002=_0x2c498d['agent'][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x2c498d['agent'][_0x477d('0xcf')]=_['isEmpty'](_0x2f4002[0x0])?_0x2f4002[0x0]:isNaN(_0x2f4002[0x0])?_0x2f4002[0x0]:parseInt(_0x2f4002[0x0],0xa);_0x2c498d[_0x477d('0xcf')][_0x477d('0x91b')]=_[_0x477d('0x3b2')](_0x2f4002[0x1])?_0x2f4002[0x1]:isNaN(_0x2f4002[0x1])?_0x2f4002[0x1]:parseInt(_0x2f4002[0x1],0xa);}}else{_0x2c498d[_0x477d('0xcf')][_0x477d('0x91b')]=0x1e;}if(_0x2c498d['agent'][_0x477d('0x439')]&&_0x2c498d[_0x477d('0xcf')][_0x477d('0x439')][_0x477d('0x449')]()===_0x477d('0x127')&&_0x2c498d[_0x477d('0xcf')][_0x477d('0x1294')][_0x477d('0x449')]()===_0x477d('0x12b1')){_0x2c498d[_0x477d('0xcf')][_0x477d('0x6c0')]=_0x2c498d[_0x477d('0xcf')][_0x477d('0xf46')]?_0x2c498d['agent'][_0x477d('0xf46')][_0x477d('0x472')]('$')[0x0]:undefined;_0x2c498d[_0x477d('0xcf')][_0x477d('0x69b')]=_0x2c498d['agent']['callerID']?_0x477d('0x12b3')+_0x2c498d[_0x477d('0xcf')]['callerID']:undefined;}_0x2c498d[_0x477d('0x1f18')]=_0x459d6a;_0x2c498d[_0x477d('0x6bf')]=_0x2228d2;_0xe153fc[_0x477d('0x56')]('admin')?_0x828a39[_0x477d('0x380')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'role':_0x477d('0xcf'),'nolimit':'true'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x2e1abc){_0x2c498d[_0x477d('0x125c')]=_0x2e1abc[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x2c0bc8){_0x379560[_0x477d('0x44a')]({'title':_0x2c0bc8[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x2c0bc8[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x2c0bc8['statusText']:_0x477d('0x11f6'),'msg':_0x2c0bc8[_0x477d('0x451')]?JSON['stringify'](_0x2c0bc8[_0x477d('0x451')]):_0x2c0bc8[_0x477d('0x453')]()});}):_0x828a39[_0x477d('0x380')]['get']({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'role':_0x477d('0xcf'),'nolimit':'true'})['$promise']['then'](function(_0x25914e){_0x2c498d['agents']=_0x25914e[_0x477d('0xf2')]||[];})['then'](function(){return _0x828a39[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x2c498d['currentUser'][_0x477d('0x61')],'sectionId':0xca})[_0x477d('0x38b')];})['then'](function(_0x26befc){var _0x3e50ff=_0x26befc&&_0x26befc['rows']?_0x26befc[_0x477d('0xf2')][0x0]:null;if(!_0x3e50ff){var _0x2eaacb=[];var _0x46c0dd=null;if(_0x2c498d[_0x477d('0xcf')]){_0x46c0dd=_[_0x477d('0x10a')](_0x2c498d[_0x477d('0x125c')],{'name':_0x2c498d['agent'][_0x477d('0xcf')]});}for(var _0xb4282e=0x0;_0xb4282e<_0x2c498d[_0x477d('0x125c')][_0x477d('0x79')];_0xb4282e++){if(_0x46c0dd&&_0x2c498d[_0x477d('0x125c')][_0xb4282e]['id']===_0x46c0dd['id']){_0x2c498d[_0x477d('0x125c')][_0xb4282e][_0x477d('0xf8b')]=![];_0x2eaacb['push'](_0x2c498d[_0x477d('0x125c')][_0xb4282e]);}}_0x2c498d['agents']=_0x2eaacb;}else{if(!_0x3e50ff[_0x477d('0x3ad')]){return _0x828a39[_0x477d('0x3ae')]['get']({'sectionId':_0x3e50ff['id']})['$promise'][_0x477d('0x76')](function(_0x420abf){var _0x362b41=_[_0x477d('0x3cb')](_0x420abf['rows'],function(_0x36fd77){return _[_0x477d('0x10a')](_0x2c498d[_0x477d('0x125c')],{'id':_0x36fd77[_0x477d('0x3af')]});});var _0xa3e7ea=null;if(_0x2c498d[_0x477d('0xcf')]){_0xa3e7ea=_[_0x477d('0x10a')](_0x2c498d[_0x477d('0x125c')],{'name':_0x2c498d[_0x477d('0xcf')][_0x477d('0xcf')]});}if(_0xa3e7ea&&!_[_0x477d('0x3ab')](_0x362b41,['id',_0xa3e7ea['id']])){var _0x466eeb=_[_0x477d('0x10a')](_0x2c498d[_0x477d('0x125c')],{'id':_0xa3e7ea['id']});_0x466eeb[_0x477d('0xf8b')]=![];_0x362b41[_0x477d('0x3a7')](_0x466eeb);}_0x2c498d[_0x477d('0x125c')]=_0x362b41;});}}})['catch'](function(_0x3ac820){_0x379560[_0x477d('0x44a')]({'title':_0x3ac820[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x3ac820['status']+_0x477d('0x44c')+_0x3ac820[_0x477d('0x44d')]:_0x477d('0x12b4'),'msg':_0x3ac820['data']?JSON[_0x477d('0x3fb')](_0x3ac820[_0x477d('0x451')]):_0x3ac820[_0x477d('0x453')]()});});function _0x459d6a(){_0x2c498d[_0x477d('0xd67')]=[];var _0x3294dd=[];if(_0x2c498d['agent'][_0x477d('0x439')]&&_0x2c498d[_0x477d('0xcf')][_0x477d('0x439')][_0x477d('0x449')]()===_0x477d('0x127')&&_0x2c498d[_0x477d('0xcf')][_0x477d('0x1294')]===_0x477d('0x12b5')){_0x2c498d[_0x477d('0xcf')][_0x477d('0xf46')]=_0x327dda[_0x477d('0x12b6')]?(_0x2c498d[_0x477d('0xcf')][_0x477d('0x6c0')]||'')+_0x477d('0x12b7')+_0x327dda[_0x477d('0x12b6')]+'}':(_0x2c498d[_0x477d('0xcf')][_0x477d('0x6c0')]||'')+_0x477d('0x12b8');if(_0x327dda[_0x477d('0x12b9')]!=='none'){if(_0x2c498d[_0x477d('0xcf')][_0x477d('0x43c')][_0x477d('0x477')](_0x477d('0x12ba'))<0x0){_0x2c498d[_0x477d('0xcf')][_0x477d('0x43c')]+=_0x477d('0x12ba');}}else{_0x2c498d[_0x477d('0xcf')][_0x477d('0x43c')]=_0x2c498d[_0x477d('0xcf')][_0x477d('0x43c')]['replace'](_0x477d('0x12ba'),'');}}var _0x11e32c=_[_0x477d('0x10a')](_0x2c498d['agents'],{'name':_0x2c498d[_0x477d('0xcf')][_0x477d('0xcf')]});if(_0x11e32c){_0x2c498d[_0x477d('0xcf')][_0x477d('0x125b')]=_0x11e32c['id'];}if(_0x2c498d[_0x477d('0xcf')][_0x477d('0x1294')]&&_0x2c498d[_0x477d('0xcf')][_0x477d('0x1294')]===_0x477d('0x9f6')){}else{switch((_0x2c498d['agent']['app']||_0x2c498d['agent'][_0x477d('0x1294')])[_0x477d('0x449')]()){case _0x477d('0x12af'):_0x2c498d[_0x477d('0xcf')][_0x477d('0x12ae')]=_0x2c498d['agent']['name']+'='+_0x2c498d['agent'][_0x477d('0x3b6')];break;case'custom':break;default:_0x3294dd[0x0]=_0x2c498d[_0x477d('0xcf')]['agent'];_0x3294dd[0x1]=_0x2c498d[_0x477d('0xcf')][_0x477d('0x91b')];_0x2c498d['agent'][_0x477d('0x12ae')]=_0x3294dd[_0x477d('0x3f6')](',');}}_0x2228d2(_0x2c498d[_0x477d('0xcf')]);}function _0x2228d2(_0x55704b){_0x2b1ce7[_0x477d('0x3bc')](_0x55704b);}}}());(function(){'use strict';_0x3e86ac[_0x477d('0xa')]=[_0x477d('0x384'),'$q',_0x477d('0x40e'),'openchannelAccountApp',_0x477d('0xb16'),_0x477d('0x386'),_0x477d('0x55'),_0x477d('0xd66')];angular['module'](_0x477d('0x33'))['controller'](_0x477d('0x1f19'),_0x3e86ac);function _0x3e86ac(_0x1a082b,_0x4facbd,_0x1e0f7b,_0xc1aae9,_0x3d8c04,_0x6e0e81,_0x3868d5,_0x387d5a){var _0x25f2c7=this;_0x25f2c7['currentUser']=_0x3868d5[_0x477d('0x5c')]();_0x25f2c7[_0x477d('0xd67')]=[];_0x25f2c7['title']='OPENCHANNEL.EDIT_'+(_0xc1aae9[_0x477d('0x1294')]||_0xc1aae9[_0x477d('0x1291')])['toUpperCase']();_0x25f2c7[_0x477d('0x127c')]=angular[_0x477d('0x6d9')](_0xc1aae9);_0x25f2c7['crudPermissions']=_0x387d5a;_0x25f2c7[_0x477d('0xd68')]={};if(_0x25f2c7[_0x477d('0x127c')][_0x477d('0x12ae')]){switch(_0x25f2c7[_0x477d('0x127c')]['appType']?_0x25f2c7['amazonlex'][_0x477d('0x1294')]['toLowerCase']():_0x25f2c7['amazonlex'][_0x477d('0x1291')][_0x477d('0x449')]()){case _0x477d('0x9f6'):break;case _0x477d('0x1266'):var _0x3be694=_0x25f2c7[_0x477d('0x127c')]['appdata']['split'](',');_0x25f2c7[_0x477d('0x127c')][_0x477d('0x670')]=_0x3be694[0x0];_0x25f2c7[_0x477d('0x127c')]['language']=_0x3be694[0x1];_0x25f2c7['amazonlex'][_0x477d('0x127a')]=_0x3be694[_0x477d('0x9cd')](0x2,_0x3be694[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case'amazonlex':var _0x3be694=_0x25f2c7[_0x477d('0x127c')]['appdata'][_0x477d('0x472')](',');_0x25f2c7[_0x477d('0x127c')]['accesskeyid']=_0x3be694[0x0];_0x25f2c7[_0x477d('0x127c')][_0x477d('0x127e')]=_0x3be694[0x1];_0x25f2c7[_0x477d('0x127c')]['lexregion']=_0x3be694[0x2];_0x25f2c7[_0x477d('0x127c')][_0x477d('0x1283')]=_0x3be694[0x3];_0x25f2c7[_0x477d('0x127c')][_0x477d('0x127a')]=_0x3be694[_0x477d('0x9cd')](0x4,_0x3be694[_0x477d('0x79')])['join'](',');break;case _0x477d('0x1260'):var _0x3be694=_0x25f2c7[_0x477d('0x127c')][_0x477d('0x12ae')]['split'](',');_0x25f2c7['amazonlex']['times']=isNaN(_0x3be694[0x0])?_0x3be694[0x0]:parseInt(_0x3be694[0x0],0xa);_0x25f2c7[_0x477d('0x127c')][_0x477d('0x41b')]=_0x3be694[_0x477d('0x9cd')](0x1,_0x3be694[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x452'):_0x25f2c7[_0x477d('0x127c')]['text']=_0x25f2c7['amazonlex'][_0x477d('0x12ae')];break;case _0x477d('0x12af'):_0x25f2c7[_0x477d('0x127c')][_0x477d('0x94')]=_0x25f2c7[_0x477d('0x127c')][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x0];_0x25f2c7[_0x477d('0x127c')][_0x477d('0x3b6')]=_0x25f2c7[_0x477d('0x127c')][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x1];break;case _0x477d('0x12b0'):_0x25f2c7[_0x477d('0x127c')][_0x477d('0xf13')]=_0x25f2c7[_0x477d('0x127c')]['appdata'];break;default:var _0x1958d0=_0x25f2c7[_0x477d('0x127c')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x25f2c7['amazonlex'][_0x477d('0x127d')]=_[_0x477d('0x3b2')](_0x1958d0[0x0])?_0x1958d0[0x0]:isNaN(_0x1958d0[0x0])?_0x1958d0[0x0]:parseInt(_0x1958d0[0x0],0xa);_0x25f2c7[_0x477d('0x127c')]['secretaccesskey']=_[_0x477d('0x3b2')](_0x1958d0[0x1])?_0x1958d0[0x1]:isNaN(_0x1958d0[0x1])?_0x1958d0[0x1]:parseInt(_0x1958d0[0x1],0xa);_0x25f2c7[_0x477d('0x127c')][_0x477d('0x127f')]=_['isEmpty'](_0x1958d0[0x2])?_0x1958d0[0x2]:isNaN(_0x1958d0[0x2])?_0x1958d0[0x2]:parseInt(_0x1958d0[0x2],0xa);_0x25f2c7[_0x477d('0x127c')]['botname']=_[_0x477d('0x3b2')](_0x1958d0[0x3])?_0x1958d0[0x3]:isNaN(_0x1958d0[0x3])?_0x1958d0[0x3]:parseInt(_0x1958d0[0x3],0xa);_0x25f2c7[_0x477d('0x127c')][_0x477d('0x127a')]=_[_0x477d('0x3b2')](_0x1958d0[0x4])?_0x1958d0[0x4]:isNaN(_0x1958d0[0x4])?_0x1958d0[0x4]:parseInt(_0x1958d0[0x4],0xa);}}else{_0x25f2c7[_0x477d('0x127c')]['lexregion']=_0x477d('0x1171');}if(_0x25f2c7[_0x477d('0x127c')][_0x477d('0x439')]&&_0x25f2c7['amazonlex']['type'][_0x477d('0x449')]()===_0x477d('0x127')&&_0x25f2c7['amazonlex'][_0x477d('0x1294')]['toLowerCase']()===_0x477d('0x12b1')){_0x25f2c7[_0x477d('0x127c')][_0x477d('0x6c0')]=_0x25f2c7[_0x477d('0x127c')][_0x477d('0xf46')]?_0x25f2c7[_0x477d('0x127c')][_0x477d('0xf46')][_0x477d('0x472')]('$')[0x0]:undefined;_0x25f2c7[_0x477d('0x127c')]['callerId']=_0x25f2c7['amazonlex']['callerID']?_0x477d('0x12b3')+_0x25f2c7[_0x477d('0x127c')][_0x477d('0x12b2')]:undefined;}_0x25f2c7[_0x477d('0x1f18')]=_0x21e658;_0x25f2c7['closeDialog']=_0x53b551;function _0x21e658(){_0x25f2c7[_0x477d('0xd67')]=[];var _0x576609=[];if(_0x25f2c7[_0x477d('0x127c')][_0x477d('0x439')]&&_0x25f2c7[_0x477d('0x127c')]['type'][_0x477d('0x449')]()==='outbound'&&_0x25f2c7[_0x477d('0x127c')]['appType']==='outboundDial'){_0x25f2c7[_0x477d('0x127c')]['phone']=_0x3d8c04[_0x477d('0x12b6')]?(_0x25f2c7[_0x477d('0x127c')][_0x477d('0x6c0')]||'')+_0x477d('0x12b7')+_0x3d8c04[_0x477d('0x12b6')]+'}':(_0x25f2c7[_0x477d('0x127c')][_0x477d('0x6c0')]||'')+_0x477d('0x12b8');if(_0x3d8c04[_0x477d('0x12b9')]!==_0x477d('0x496')){if(_0x25f2c7[_0x477d('0x127c')][_0x477d('0x43c')]['indexOf'](_0x477d('0x12ba'))<0x0){_0x25f2c7[_0x477d('0x127c')]['options']+=_0x477d('0x12ba');}}else{_0x25f2c7[_0x477d('0x127c')]['options']=_0x25f2c7[_0x477d('0x127c')]['options']['replace']('U(xcally-mixmonitor-context)','');}}if(_0x25f2c7['amazonlex'][_0x477d('0x1294')]&&_0x25f2c7[_0x477d('0x127c')]['appType']===_0x477d('0x9f6')){}else{switch((_0x25f2c7[_0x477d('0x127c')][_0x477d('0x1291')]||_0x25f2c7[_0x477d('0x127c')][_0x477d('0x1294')])[_0x477d('0x449')]()){case _0x477d('0x12af'):_0x25f2c7[_0x477d('0x127c')][_0x477d('0x12ae')]=_0x25f2c7[_0x477d('0x127c')][_0x477d('0x94')]+'='+_0x25f2c7[_0x477d('0x127c')][_0x477d('0x3b6')];break;case'custom':break;default:_0x576609[0x0]=_0x25f2c7[_0x477d('0x127c')][_0x477d('0x127d')];_0x576609[0x1]=_0x25f2c7['amazonlex'][_0x477d('0x127e')];_0x576609[0x2]=_0x25f2c7['amazonlex'][_0x477d('0x127f')];_0x576609[0x3]=_0x25f2c7['amazonlex'][_0x477d('0x1283')];_0x576609[0x4]=_0x25f2c7[_0x477d('0x127c')][_0x477d('0x127a')];_0x25f2c7[_0x477d('0x127c')][_0x477d('0x12ae')]=_0x576609[_0x477d('0x3f6')](',');}}_0x53b551(_0x25f2c7[_0x477d('0x127c')]);}function _0x53b551(_0x1c143f){_0x1a082b[_0x477d('0x3bc')](_0x1c143f);}}}());(function(){'use strict';_0x1bdf25[_0x477d('0xa')]=[_0x477d('0x384'),'$q',_0x477d('0x40e'),_0x477d('0x1f15'),_0x477d('0xb16'),_0x477d('0x386'),_0x477d('0x55'),'crudPermissions'];angular[_0x477d('0xb')](_0x477d('0x33'))[_0x477d('0x3ba')]('EditOpenchannelAccountAppautoreplyDialogController',_0x1bdf25);function _0x1bdf25(_0x484fbb,_0x507a52,_0x289a3f,_0x546b8b,_0x7c9532,_0x484e3b,_0x4ec3c2,_0x4015a4){var _0xf30759=this;_0xf30759[_0x477d('0x3e5')]=_0x4ec3c2[_0x477d('0x5c')]();_0xf30759[_0x477d('0xd67')]=[];_0xf30759[_0x477d('0x49a')]=_0x477d('0x1f17')+(_0x546b8b['appType']||_0x546b8b[_0x477d('0x1291')])[_0x477d('0x44f')]();_0xf30759[_0x477d('0x1260')]=angular[_0x477d('0x6d9')](_0x546b8b);_0xf30759['crudPermissions']=_0x4015a4;_0xf30759[_0x477d('0xd68')]={};if(_0xf30759[_0x477d('0x1260')][_0x477d('0x12ae')]){switch(_0xf30759['autoreply'][_0x477d('0x1294')]?_0xf30759[_0x477d('0x1260')][_0x477d('0x1294')][_0x477d('0x449')]():_0xf30759[_0x477d('0x1260')]['app']['toLowerCase']()){case _0x477d('0x9f6'):break;case'dialogflow':var _0x4fff82=_0xf30759[_0x477d('0x1260')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0xf30759[_0x477d('0x1260')][_0x477d('0x670')]=_0x4fff82[0x0];_0xf30759[_0x477d('0x1260')][_0x477d('0x1267')]=_0x4fff82[0x1];_0xf30759[_0x477d('0x1260')]['welcomemessage']=_0x4fff82[_0x477d('0x9cd')](0x2,_0x4fff82['length'])[_0x477d('0x3f6')](',');break;case _0x477d('0x127c'):var _0x4fff82=_0xf30759[_0x477d('0x1260')]['appdata'][_0x477d('0x472')](',');_0xf30759['autoreply'][_0x477d('0x127d')]=_0x4fff82[0x0];_0xf30759[_0x477d('0x1260')][_0x477d('0x127e')]=_0x4fff82[0x1];_0xf30759['autoreply']['lexregion']=_0x4fff82[0x2];_0xf30759['autoreply'][_0x477d('0x1283')]=_0x4fff82[0x3];_0xf30759[_0x477d('0x1260')][_0x477d('0x127a')]=_0x4fff82['slice'](0x4,_0x4fff82['length'])['join'](',');break;case _0x477d('0x1260'):var _0x4fff82=_0xf30759[_0x477d('0x1260')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0xf30759[_0x477d('0x1260')][_0x477d('0x1261')]=isNaN(_0x4fff82[0x0])?_0x4fff82[0x0]:parseInt(_0x4fff82[0x0],0xa);_0xf30759[_0x477d('0x1260')][_0x477d('0x41b')]=_0x4fff82[_0x477d('0x9cd')](0x1,_0x4fff82['length'])['join'](',');break;case _0x477d('0x452'):_0xf30759[_0x477d('0x1260')][_0x477d('0x41b')]=_0xf30759[_0x477d('0x1260')][_0x477d('0x12ae')];break;case _0x477d('0x12af'):_0xf30759['autoreply'][_0x477d('0x94')]=_0xf30759[_0x477d('0x1260')][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x0];_0xf30759[_0x477d('0x1260')]['value']=_0xf30759[_0x477d('0x1260')]['appdata'][_0x477d('0x472')]('=')[0x1];break;case _0x477d('0x12b0'):_0xf30759[_0x477d('0x1260')][_0x477d('0xf13')]=_0xf30759['autoreply']['appdata'];break;default:var _0xadc2c4=_0xf30759['autoreply']['appdata'][_0x477d('0x472')](',');_0xf30759[_0x477d('0x1260')][_0x477d('0x1261')]=_['isEmpty'](_0xadc2c4[0x0])?_0xadc2c4[0x0]:isNaN(_0xadc2c4[0x0])?_0xadc2c4[0x0]:parseInt(_0xadc2c4[0x0],0xa);_0xf30759[_0x477d('0x1260')][_0x477d('0x41b')]=_['isEmpty'](_0xadc2c4[0x1])?_0xadc2c4[0x1]:isNaN(_0xadc2c4[0x1])?_0xadc2c4[0x1]:parseInt(_0xadc2c4[0x1],0xa);}}else{_0xf30759['autoreply'][_0x477d('0x1261')]=0x1;}if(_0xf30759[_0x477d('0x1260')]['type']&&_0xf30759[_0x477d('0x1260')][_0x477d('0x439')][_0x477d('0x449')]()==='outbound'&&_0xf30759[_0x477d('0x1260')][_0x477d('0x1294')][_0x477d('0x449')]()===_0x477d('0x12b1')){_0xf30759[_0x477d('0x1260')]['prefix']=_0xf30759[_0x477d('0x1260')][_0x477d('0xf46')]?_0xf30759['autoreply'][_0x477d('0xf46')]['split']('$')[0x0]:undefined;_0xf30759[_0x477d('0x1260')]['callerId']=_0xf30759[_0x477d('0x1260')]['callerID']?_0x477d('0x12b3')+_0xf30759[_0x477d('0x1260')]['callerID']:undefined;}_0xf30759[_0x477d('0x1f18')]=_0x4fc42b;_0xf30759[_0x477d('0x6bf')]=_0x361edb;function _0x4fc42b(){_0xf30759['errors']=[];var _0x133159=[];if(_0xf30759[_0x477d('0x1260')]['type']&&_0xf30759[_0x477d('0x1260')][_0x477d('0x439')][_0x477d('0x449')]()===_0x477d('0x127')&&_0xf30759[_0x477d('0x1260')][_0x477d('0x1294')]===_0x477d('0x12b5')){_0xf30759[_0x477d('0x1260')]['phone']=_0x7c9532[_0x477d('0x12b6')]?(_0xf30759[_0x477d('0x1260')][_0x477d('0x6c0')]||'')+_0x477d('0x12b7')+_0x7c9532[_0x477d('0x12b6')]+'}':(_0xf30759[_0x477d('0x1260')]['prefix']||'')+_0x477d('0x12b8');if(_0x7c9532[_0x477d('0x12b9')]!=='none'){if(_0xf30759[_0x477d('0x1260')][_0x477d('0x43c')][_0x477d('0x477')](_0x477d('0x12ba'))<0x0){_0xf30759[_0x477d('0x1260')][_0x477d('0x43c')]+='U(xcally-mixmonitor-context)';}}else{_0xf30759['autoreply'][_0x477d('0x43c')]=_0xf30759[_0x477d('0x1260')]['options'][_0x477d('0x409')](_0x477d('0x12ba'),'');}}if(_0xf30759['autoreply'][_0x477d('0x1294')]&&_0xf30759[_0x477d('0x1260')]['appType']===_0x477d('0x9f6')){}else{switch((_0xf30759[_0x477d('0x1260')][_0x477d('0x1291')]||_0xf30759['autoreply'][_0x477d('0x1294')])[_0x477d('0x449')]()){case _0x477d('0x12af'):_0xf30759[_0x477d('0x1260')]['appdata']=_0xf30759[_0x477d('0x1260')][_0x477d('0x94')]+'='+_0xf30759['autoreply'][_0x477d('0x3b6')];break;case _0x477d('0x9f6'):break;default:_0x133159[0x0]=_0xf30759[_0x477d('0x1260')][_0x477d('0x1261')];_0x133159[0x1]=_0xf30759[_0x477d('0x1260')][_0x477d('0x41b')];_0xf30759[_0x477d('0x1260')][_0x477d('0x12ae')]=_0x133159['join'](',');}}_0x361edb(_0xf30759[_0x477d('0x1260')]);}function _0x361edb(_0x2bddbf){_0x484fbb['hide'](_0x2bddbf);}}}());(function(){'use strict';_0x461a4e[_0x477d('0xa')]=['$mdDialog','$q','toasty',_0x477d('0x1f15'),_0x477d('0xb16'),'api',_0x477d('0x55'),'crudPermissions'];angular[_0x477d('0xb')](_0x477d('0x33'))[_0x477d('0x3ba')](_0x477d('0x1f1a'),_0x461a4e);function _0x461a4e(_0x3a97d9,_0x3fec7e,_0x508dc1,_0x539bc0,_0x469cb9,_0x322912,_0x155411,_0x10f0d1){var _0x102d56=this;_0x102d56[_0x477d('0x3e5')]=_0x155411[_0x477d('0x5c')]();_0x102d56[_0x477d('0xd67')]=[];_0x102d56[_0x477d('0x49a')]=_0x477d('0x1f17')+(_0x539bc0['appType']||_0x539bc0[_0x477d('0x1291')])[_0x477d('0x44f')]();_0x102d56[_0x477d('0x539')]=angular[_0x477d('0x6d9')](_0x539bc0);_0x102d56[_0x477d('0xd66')]=_0x10f0d1;_0x102d56[_0x477d('0xd68')]={};if(_0x102d56['close']['appdata']){switch(_0x102d56['close']['appType']?_0x102d56[_0x477d('0x539')][_0x477d('0x1294')]['toLowerCase']():_0x102d56[_0x477d('0x539')][_0x477d('0x1291')][_0x477d('0x449')]()){case _0x477d('0x9f6'):break;case'dialogflow':var _0x165b1a=_0x102d56[_0x477d('0x539')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x102d56['close'][_0x477d('0x670')]=_0x165b1a[0x0];_0x102d56[_0x477d('0x539')][_0x477d('0x1267')]=_0x165b1a[0x1];_0x102d56[_0x477d('0x539')][_0x477d('0x127a')]=_0x165b1a['slice'](0x2,_0x165b1a[_0x477d('0x79')])['join'](',');break;case _0x477d('0x127c'):var _0x165b1a=_0x102d56[_0x477d('0x539')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x102d56['close'][_0x477d('0x127d')]=_0x165b1a[0x0];_0x102d56[_0x477d('0x539')]['secretaccesskey']=_0x165b1a[0x1];_0x102d56['close'][_0x477d('0x127f')]=_0x165b1a[0x2];_0x102d56[_0x477d('0x539')][_0x477d('0x1283')]=_0x165b1a[0x3];_0x102d56['close'][_0x477d('0x127a')]=_0x165b1a[_0x477d('0x9cd')](0x4,_0x165b1a[_0x477d('0x79')])['join'](',');break;case _0x477d('0x1260'):var _0x165b1a=_0x102d56['close'][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x102d56[_0x477d('0x539')][_0x477d('0x1261')]=isNaN(_0x165b1a[0x0])?_0x165b1a[0x0]:parseInt(_0x165b1a[0x0],0xa);_0x102d56[_0x477d('0x539')]['text']=_0x165b1a['slice'](0x1,_0x165b1a['length'])[_0x477d('0x3f6')](',');break;case _0x477d('0x452'):_0x102d56[_0x477d('0x539')][_0x477d('0x41b')]=_0x102d56[_0x477d('0x539')][_0x477d('0x12ae')];break;case _0x477d('0x12af'):_0x102d56[_0x477d('0x539')][_0x477d('0x94')]=_0x102d56[_0x477d('0x539')][_0x477d('0x12ae')]['split']('=')[0x0];_0x102d56[_0x477d('0x539')][_0x477d('0x3b6')]=_0x102d56[_0x477d('0x539')][_0x477d('0x12ae')]['split']('=')[0x1];break;case _0x477d('0x12b0'):_0x102d56[_0x477d('0x539')][_0x477d('0xf13')]=_0x102d56[_0x477d('0x539')]['appdata'];break;default:var _0x4925e3=_0x102d56[_0x477d('0x539')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x102d56[_0x477d('0x539')]['disposition']=_[_0x477d('0x3b2')](_0x4925e3[0x0])?_0x4925e3[0x0]:isNaN(_0x4925e3[0x0])?_0x4925e3[0x0]:parseInt(_0x4925e3[0x0],0xa);}}else{}if(_0x102d56[_0x477d('0x539')][_0x477d('0x439')]&&_0x102d56['close'][_0x477d('0x439')]['toLowerCase']()===_0x477d('0x127')&&_0x102d56[_0x477d('0x539')][_0x477d('0x1294')][_0x477d('0x449')]()===_0x477d('0x12b1')){_0x102d56['close'][_0x477d('0x6c0')]=_0x102d56[_0x477d('0x539')][_0x477d('0xf46')]?_0x102d56[_0x477d('0x539')][_0x477d('0xf46')][_0x477d('0x472')]('$')[0x0]:undefined;_0x102d56['close'][_0x477d('0x69b')]=_0x102d56[_0x477d('0x539')][_0x477d('0x12b2')]?_0x477d('0x12b3')+_0x102d56['close'][_0x477d('0x12b2')]:undefined;}_0x102d56['saveOpenchannelAccountApp']=_0x539021;_0x102d56['closeDialog']=_0x2ade4f;function _0x539021(){_0x102d56[_0x477d('0xd67')]=[];var _0x3eddfd=[];if(_0x102d56[_0x477d('0x539')][_0x477d('0x439')]&&_0x102d56['close']['type'][_0x477d('0x449')]()===_0x477d('0x127')&&_0x102d56[_0x477d('0x539')][_0x477d('0x1294')]===_0x477d('0x12b5')){_0x102d56[_0x477d('0x539')][_0x477d('0xf46')]=_0x469cb9[_0x477d('0x12b6')]?(_0x102d56[_0x477d('0x539')][_0x477d('0x6c0')]||'')+_0x477d('0x12b7')+_0x469cb9['cutdigits']+'}':(_0x102d56['close'][_0x477d('0x6c0')]||'')+_0x477d('0x12b8');if(_0x469cb9['recordingFormat']!=='none'){if(_0x102d56[_0x477d('0x539')][_0x477d('0x43c')][_0x477d('0x477')](_0x477d('0x12ba'))<0x0){_0x102d56[_0x477d('0x539')][_0x477d('0x43c')]+='U(xcally-mixmonitor-context)';}}else{_0x102d56['close']['options']=_0x102d56[_0x477d('0x539')][_0x477d('0x43c')]['replace'](_0x477d('0x12ba'),'');}}if(_0x102d56['close'][_0x477d('0x1294')]&&_0x102d56[_0x477d('0x539')][_0x477d('0x1294')]===_0x477d('0x9f6')){}else{switch((_0x102d56[_0x477d('0x539')][_0x477d('0x1291')]||_0x102d56['close'][_0x477d('0x1294')])[_0x477d('0x449')]()){case'set':_0x102d56[_0x477d('0x539')][_0x477d('0x12ae')]=_0x102d56[_0x477d('0x539')][_0x477d('0x94')]+'='+_0x102d56[_0x477d('0x539')][_0x477d('0x3b6')];break;case _0x477d('0x9f6'):break;default:_0x3eddfd[0x0]=_0x102d56['close'][_0x477d('0xb95')];_0x102d56[_0x477d('0x539')][_0x477d('0x12ae')]=_0x3eddfd['join'](',');}}_0x2ade4f(_0x102d56[_0x477d('0x539')]);}function _0x2ade4f(_0x5e0aca){_0x3a97d9[_0x477d('0x3bc')](_0x5e0aca);}}}());(function(){'use strict';_0x52ccf7[_0x477d('0xa')]=[_0x477d('0x384'),'$q','toasty',_0x477d('0x1f15'),_0x477d('0xb16'),_0x477d('0x386'),_0x477d('0x55'),_0x477d('0xd66')];angular[_0x477d('0xb')]('app.openchannel')[_0x477d('0x3ba')]('EditOpenchannelAccountAppdialogflowDialogController',_0x52ccf7);function _0x52ccf7(_0x5d6bc8,_0x2603db,_0x56fe89,_0x1a0089,_0x5a1801,_0x4a28e1,_0x5ede1e,_0x47530a){var _0x2149cd=this;_0x2149cd[_0x477d('0x3e5')]=_0x5ede1e[_0x477d('0x5c')]();_0x2149cd[_0x477d('0xd67')]=[];_0x2149cd[_0x477d('0x49a')]=_0x477d('0x1f17')+(_0x1a0089[_0x477d('0x1294')]||_0x1a0089[_0x477d('0x1291')])[_0x477d('0x44f')]();_0x2149cd[_0x477d('0x1266')]=angular['copy'](_0x1a0089);_0x2149cd[_0x477d('0xd66')]=_0x47530a;_0x2149cd['hasModulePermissions']={};if(_0x2149cd[_0x477d('0x1266')][_0x477d('0x12ae')]){switch(_0x2149cd['dialogflow']['appType']?_0x2149cd[_0x477d('0x1266')]['appType'][_0x477d('0x449')]():_0x2149cd[_0x477d('0x1266')]['app'][_0x477d('0x449')]()){case'custom':break;case _0x477d('0x1266'):var _0x46fda7=_0x2149cd['dialogflow'][_0x477d('0x12ae')]['split'](',');_0x2149cd['dialogflow']['key']=_0x46fda7[0x0];_0x2149cd[_0x477d('0x1266')][_0x477d('0x1267')]=_0x46fda7[0x1];_0x2149cd[_0x477d('0x1266')][_0x477d('0x127a')]=_0x46fda7[_0x477d('0x9cd')](0x2,_0x46fda7[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case'amazonlex':var _0x46fda7=_0x2149cd[_0x477d('0x1266')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x2149cd['dialogflow'][_0x477d('0x127d')]=_0x46fda7[0x0];_0x2149cd[_0x477d('0x1266')][_0x477d('0x127e')]=_0x46fda7[0x1];_0x2149cd[_0x477d('0x1266')][_0x477d('0x127f')]=_0x46fda7[0x2];_0x2149cd[_0x477d('0x1266')][_0x477d('0x1283')]=_0x46fda7[0x3];_0x2149cd[_0x477d('0x1266')][_0x477d('0x127a')]=_0x46fda7[_0x477d('0x9cd')](0x4,_0x46fda7[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x1260'):var _0x46fda7=_0x2149cd[_0x477d('0x1266')]['appdata'][_0x477d('0x472')](',');_0x2149cd[_0x477d('0x1266')]['times']=isNaN(_0x46fda7[0x0])?_0x46fda7[0x0]:parseInt(_0x46fda7[0x0],0xa);_0x2149cd[_0x477d('0x1266')][_0x477d('0x41b')]=_0x46fda7[_0x477d('0x9cd')](0x1,_0x46fda7[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x452'):_0x2149cd[_0x477d('0x1266')][_0x477d('0x41b')]=_0x2149cd['dialogflow'][_0x477d('0x12ae')];break;case'set':_0x2149cd['dialogflow'][_0x477d('0x94')]=_0x2149cd[_0x477d('0x1266')][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x0];_0x2149cd[_0x477d('0x1266')][_0x477d('0x3b6')]=_0x2149cd[_0x477d('0x1266')][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x1];break;case _0x477d('0x12b0'):_0x2149cd[_0x477d('0x1266')][_0x477d('0xf13')]=_0x2149cd[_0x477d('0x1266')][_0x477d('0x12ae')];break;default:var _0x226c7b=_0x2149cd[_0x477d('0x1266')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x2149cd[_0x477d('0x1266')][_0x477d('0x670')]=_[_0x477d('0x3b2')](_0x226c7b[0x0])?_0x226c7b[0x0]:isNaN(_0x226c7b[0x0])?_0x226c7b[0x0]:parseInt(_0x226c7b[0x0],0xa);_0x2149cd[_0x477d('0x1266')]['language']=_['isEmpty'](_0x226c7b[0x1])?_0x226c7b[0x1]:isNaN(_0x226c7b[0x1])?_0x226c7b[0x1]:parseInt(_0x226c7b[0x1],0xa);_0x2149cd[_0x477d('0x1266')][_0x477d('0x127a')]=_[_0x477d('0x3b2')](_0x226c7b[0x2])?_0x226c7b[0x2]:isNaN(_0x226c7b[0x2])?_0x226c7b[0x2]:parseInt(_0x226c7b[0x2],0xa);}}else{_0x2149cd[_0x477d('0x1266')][_0x477d('0x1267')]='en';}if(_0x2149cd['dialogflow'][_0x477d('0x439')]&&_0x2149cd['dialogflow']['type']['toLowerCase']()===_0x477d('0x127')&&_0x2149cd['dialogflow'][_0x477d('0x1294')]['toLowerCase']()==='outbounddial'){_0x2149cd['dialogflow']['prefix']=_0x2149cd[_0x477d('0x1266')][_0x477d('0xf46')]?_0x2149cd[_0x477d('0x1266')][_0x477d('0xf46')][_0x477d('0x472')]('$')[0x0]:undefined;_0x2149cd[_0x477d('0x1266')]['callerId']=_0x2149cd[_0x477d('0x1266')][_0x477d('0x12b2')]?_0x477d('0x12b3')+_0x2149cd[_0x477d('0x1266')][_0x477d('0x12b2')]:undefined;}_0x2149cd[_0x477d('0x1f18')]=_0x3cbc4b;_0x2149cd[_0x477d('0x6bf')]=_0x478f4d;function _0x3cbc4b(){_0x2149cd[_0x477d('0xd67')]=[];var _0x2e5f77=[];if(_0x2149cd['dialogflow'][_0x477d('0x439')]&&_0x2149cd[_0x477d('0x1266')][_0x477d('0x439')][_0x477d('0x449')]()==='outbound'&&_0x2149cd[_0x477d('0x1266')][_0x477d('0x1294')]===_0x477d('0x12b5')){_0x2149cd['dialogflow'][_0x477d('0xf46')]=_0x5a1801[_0x477d('0x12b6')]?(_0x2149cd[_0x477d('0x1266')][_0x477d('0x6c0')]||'')+_0x477d('0x12b7')+_0x5a1801[_0x477d('0x12b6')]+'}':(_0x2149cd['dialogflow'][_0x477d('0x6c0')]||'')+_0x477d('0x12b8');if(_0x5a1801[_0x477d('0x12b9')]!==_0x477d('0x496')){if(_0x2149cd[_0x477d('0x1266')][_0x477d('0x43c')]['indexOf'](_0x477d('0x12ba'))<0x0){_0x2149cd['dialogflow'][_0x477d('0x43c')]+='U(xcally-mixmonitor-context)';}}else{_0x2149cd[_0x477d('0x1266')]['options']=_0x2149cd['dialogflow']['options'][_0x477d('0x409')](_0x477d('0x12ba'),'');}}if(_0x2149cd['dialogflow'][_0x477d('0x1294')]&&_0x2149cd[_0x477d('0x1266')][_0x477d('0x1294')]===_0x477d('0x9f6')){}else{switch((_0x2149cd[_0x477d('0x1266')][_0x477d('0x1291')]||_0x2149cd[_0x477d('0x1266')][_0x477d('0x1294')])[_0x477d('0x449')]()){case _0x477d('0x12af'):_0x2149cd['dialogflow'][_0x477d('0x12ae')]=_0x2149cd[_0x477d('0x1266')][_0x477d('0x94')]+'='+_0x2149cd[_0x477d('0x1266')][_0x477d('0x3b6')];break;case _0x477d('0x9f6'):break;default:_0x2e5f77[0x0]=_0x2149cd[_0x477d('0x1266')][_0x477d('0x670')];_0x2e5f77[0x1]=_0x2149cd[_0x477d('0x1266')][_0x477d('0x1267')];_0x2e5f77[0x2]=_0x2149cd[_0x477d('0x1266')]['welcomemessage'];_0x2149cd[_0x477d('0x1266')][_0x477d('0x12ae')]=_0x2e5f77[_0x477d('0x3f6')](',');}}_0x478f4d(_0x2149cd[_0x477d('0x1266')]);}function _0x478f4d(_0x301992){_0x5d6bc8[_0x477d('0x3bc')](_0x301992);}}}());(function(){'use strict';_0x165323[_0x477d('0xa')]=[_0x477d('0x384'),'$q',_0x477d('0x40e'),'openchannelAccountApp','openchannelAccount',_0x477d('0x386'),'Auth',_0x477d('0xd66')];angular['module'](_0x477d('0x33'))[_0x477d('0x3ba')](_0x477d('0x1f1b'),_0x165323);function _0x165323(_0x5594bf,_0x1ded43,_0x5d0ae9,_0x39ccf1,_0x378d55,_0x18cae7,_0x59e040,_0x2b9328){var _0x20d85d=this;_0x20d85d['currentUser']=_0x59e040['getCurrentUser']();_0x20d85d[_0x477d('0xd67')]=[];_0x20d85d[_0x477d('0x49a')]=_0x477d('0x1f17')+(_0x39ccf1[_0x477d('0x1294')]||_0x39ccf1[_0x477d('0x1291')])[_0x477d('0x44f')]();_0x20d85d[_0x477d('0x1252')]=angular[_0x477d('0x6d9')](_0x39ccf1);_0x20d85d[_0x477d('0xd66')]=_0x2b9328;_0x20d85d[_0x477d('0xd68')]={};if(_0x20d85d[_0x477d('0x1252')][_0x477d('0x12ae')]){switch(_0x20d85d[_0x477d('0x1252')][_0x477d('0x1294')]?_0x20d85d['gotoif'][_0x477d('0x1294')]['toLowerCase']():_0x20d85d[_0x477d('0x1252')]['app'][_0x477d('0x449')]()){case'custom':break;case _0x477d('0x1266'):var _0x541eac=_0x20d85d['gotoif'][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x20d85d[_0x477d('0x1252')]['key']=_0x541eac[0x0];_0x20d85d[_0x477d('0x1252')]['language']=_0x541eac[0x1];_0x20d85d[_0x477d('0x1252')][_0x477d('0x127a')]=_0x541eac[_0x477d('0x9cd')](0x2,_0x541eac[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x127c'):var _0x541eac=_0x20d85d[_0x477d('0x1252')]['appdata'][_0x477d('0x472')](',');_0x20d85d[_0x477d('0x1252')][_0x477d('0x127d')]=_0x541eac[0x0];_0x20d85d['gotoif']['secretaccesskey']=_0x541eac[0x1];_0x20d85d['gotoif']['lexregion']=_0x541eac[0x2];_0x20d85d[_0x477d('0x1252')][_0x477d('0x1283')]=_0x541eac[0x3];_0x20d85d[_0x477d('0x1252')][_0x477d('0x127a')]=_0x541eac['slice'](0x4,_0x541eac[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x1260'):var _0x541eac=_0x20d85d[_0x477d('0x1252')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x20d85d['gotoif'][_0x477d('0x1261')]=isNaN(_0x541eac[0x0])?_0x541eac[0x0]:parseInt(_0x541eac[0x0],0xa);_0x20d85d[_0x477d('0x1252')][_0x477d('0x41b')]=_0x541eac[_0x477d('0x9cd')](0x1,_0x541eac[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x452'):_0x20d85d['gotoif'][_0x477d('0x41b')]=_0x20d85d[_0x477d('0x1252')]['appdata'];break;case'set':_0x20d85d[_0x477d('0x1252')]['name']=_0x20d85d[_0x477d('0x1252')][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x0];_0x20d85d[_0x477d('0x1252')]['value']=_0x20d85d[_0x477d('0x1252')][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x1];break;case'agi':_0x20d85d['gotoif'][_0x477d('0xf13')]=_0x20d85d[_0x477d('0x1252')][_0x477d('0x12ae')];break;default:var _0x486835=_0x20d85d['gotoif']['appdata'][_0x477d('0x472')](',');_0x20d85d[_0x477d('0x1252')][_0x477d('0xb98')]=_[_0x477d('0x3b2')](_0x486835[0x0])?_0x486835[0x0]:isNaN(_0x486835[0x0])?_0x486835[0x0]:parseInt(_0x486835[0x0],0xa);_0x20d85d[_0x477d('0x1252')][_0x477d('0x1254')]=_[_0x477d('0x3b2')](_0x486835[0x1])?_0x486835[0x1]:isNaN(_0x486835[0x1])?_0x486835[0x1]:parseInt(_0x486835[0x1],0xa);_0x20d85d[_0x477d('0x1252')][_0x477d('0x1255')]=_[_0x477d('0x3b2')](_0x486835[0x2])?_0x486835[0x2]:isNaN(_0x486835[0x2])?_0x486835[0x2]:parseInt(_0x486835[0x2],0xa);}}else{}if(_0x20d85d[_0x477d('0x1252')][_0x477d('0x439')]&&_0x20d85d[_0x477d('0x1252')][_0x477d('0x439')][_0x477d('0x449')]()===_0x477d('0x127')&&_0x20d85d[_0x477d('0x1252')][_0x477d('0x1294')][_0x477d('0x449')]()===_0x477d('0x12b1')){_0x20d85d[_0x477d('0x1252')][_0x477d('0x6c0')]=_0x20d85d[_0x477d('0x1252')][_0x477d('0xf46')]?_0x20d85d[_0x477d('0x1252')][_0x477d('0xf46')][_0x477d('0x472')]('$')[0x0]:undefined;_0x20d85d['gotoif'][_0x477d('0x69b')]=_0x20d85d[_0x477d('0x1252')][_0x477d('0x12b2')]?_0x477d('0x12b3')+_0x20d85d[_0x477d('0x1252')][_0x477d('0x12b2')]:undefined;}_0x20d85d['saveOpenchannelAccountApp']=_0x2f3cfe;_0x20d85d[_0x477d('0x6bf')]=_0x57c243;function _0x2f3cfe(){_0x20d85d['errors']=[];var _0x32f0b4=[];if(_0x20d85d[_0x477d('0x1252')][_0x477d('0x439')]&&_0x20d85d[_0x477d('0x1252')][_0x477d('0x439')][_0x477d('0x449')]()==='outbound'&&_0x20d85d[_0x477d('0x1252')][_0x477d('0x1294')]===_0x477d('0x12b5')){_0x20d85d[_0x477d('0x1252')][_0x477d('0xf46')]=_0x378d55['cutdigits']?(_0x20d85d[_0x477d('0x1252')][_0x477d('0x6c0')]||'')+_0x477d('0x12b7')+_0x378d55[_0x477d('0x12b6')]+'}':(_0x20d85d[_0x477d('0x1252')][_0x477d('0x6c0')]||'')+_0x477d('0x12b8');if(_0x378d55[_0x477d('0x12b9')]!==_0x477d('0x496')){if(_0x20d85d[_0x477d('0x1252')][_0x477d('0x43c')][_0x477d('0x477')]('U(xcally-mixmonitor-context)')<0x0){_0x20d85d[_0x477d('0x1252')][_0x477d('0x43c')]+='U(xcally-mixmonitor-context)';}}else{_0x20d85d[_0x477d('0x1252')][_0x477d('0x43c')]=_0x20d85d[_0x477d('0x1252')][_0x477d('0x43c')]['replace'](_0x477d('0x12ba'),'');}}if(_0x20d85d[_0x477d('0x1252')][_0x477d('0x1294')]&&_0x20d85d[_0x477d('0x1252')][_0x477d('0x1294')]==='custom'){}else{switch((_0x20d85d[_0x477d('0x1252')][_0x477d('0x1291')]||_0x20d85d[_0x477d('0x1252')][_0x477d('0x1294')])[_0x477d('0x449')]()){case'set':_0x20d85d[_0x477d('0x1252')][_0x477d('0x12ae')]=_0x20d85d['gotoif'][_0x477d('0x94')]+'='+_0x20d85d[_0x477d('0x1252')]['value'];break;case _0x477d('0x9f6'):break;default:_0x32f0b4[0x0]=_0x20d85d[_0x477d('0x1252')][_0x477d('0xb98')];_0x32f0b4[0x1]=_0x20d85d[_0x477d('0x1252')][_0x477d('0x1254')];_0x32f0b4[0x2]=_0x20d85d[_0x477d('0x1252')][_0x477d('0x1255')];_0x20d85d[_0x477d('0x1252')]['appdata']=_0x32f0b4['join'](',');}}_0x57c243(_0x20d85d[_0x477d('0x1252')]);}function _0x57c243(_0x12ddd5){_0x5594bf[_0x477d('0x3bc')](_0x12ddd5);}}}());(function(){'use strict';_0x406c5f[_0x477d('0xa')]=['$mdDialog','$q',_0x477d('0x40e'),_0x477d('0x1f15'),'openchannelAccount',_0x477d('0x386'),_0x477d('0x55'),_0x477d('0xd66')];angular[_0x477d('0xb')]('app.openchannel')['controller'](_0x477d('0x1f1c'),_0x406c5f);function _0x406c5f(_0x205e23,_0x11199b,_0x3f2a99,_0xa76789,_0x7c59f3,_0xd0ae68,_0x1c48a7,_0xb81b8f){var _0x1e7884=this;_0x1e7884[_0x477d('0x3e5')]=_0x1c48a7['getCurrentUser']();_0x1e7884[_0x477d('0xd67')]=[];_0x1e7884[_0x477d('0x49a')]=_0x477d('0x1f17')+(_0xa76789[_0x477d('0x1294')]||_0xa76789[_0x477d('0x1291')])['toUpperCase']();_0x1e7884[_0x477d('0x124f')]=angular[_0x477d('0x6d9')](_0xa76789);_0x1e7884[_0x477d('0xd66')]=_0xb81b8f;_0x1e7884[_0x477d('0xd68')]={};if(_0x1e7884[_0x477d('0x124f')][_0x477d('0x12ae')]){switch(_0x1e7884[_0x477d('0x124f')]['appType']?_0x1e7884[_0x477d('0x124f')][_0x477d('0x1294')][_0x477d('0x449')]():_0x1e7884[_0x477d('0x124f')][_0x477d('0x1291')][_0x477d('0x449')]()){case _0x477d('0x9f6'):break;case'dialogflow':var _0x4adbb6=_0x1e7884[_0x477d('0x124f')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x1e7884[_0x477d('0x124f')][_0x477d('0x670')]=_0x4adbb6[0x0];_0x1e7884[_0x477d('0x124f')][_0x477d('0x1267')]=_0x4adbb6[0x1];_0x1e7884[_0x477d('0x124f')][_0x477d('0x127a')]=_0x4adbb6[_0x477d('0x9cd')](0x2,_0x4adbb6[_0x477d('0x79')])['join'](',');break;case _0x477d('0x127c'):var _0x4adbb6=_0x1e7884[_0x477d('0x124f')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x1e7884[_0x477d('0x124f')]['accesskeyid']=_0x4adbb6[0x0];_0x1e7884['gotop'][_0x477d('0x127e')]=_0x4adbb6[0x1];_0x1e7884[_0x477d('0x124f')]['lexregion']=_0x4adbb6[0x2];_0x1e7884[_0x477d('0x124f')][_0x477d('0x1283')]=_0x4adbb6[0x3];_0x1e7884[_0x477d('0x124f')]['welcomemessage']=_0x4adbb6[_0x477d('0x9cd')](0x4,_0x4adbb6['length'])[_0x477d('0x3f6')](',');break;case _0x477d('0x1260'):var _0x4adbb6=_0x1e7884[_0x477d('0x124f')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x1e7884['gotop'][_0x477d('0x1261')]=isNaN(_0x4adbb6[0x0])?_0x4adbb6[0x0]:parseInt(_0x4adbb6[0x0],0xa);_0x1e7884['gotop'][_0x477d('0x41b')]=_0x4adbb6[_0x477d('0x9cd')](0x1,_0x4adbb6['length'])[_0x477d('0x3f6')](',');break;case _0x477d('0x452'):_0x1e7884['gotop'][_0x477d('0x41b')]=_0x1e7884[_0x477d('0x124f')][_0x477d('0x12ae')];break;case'set':_0x1e7884[_0x477d('0x124f')][_0x477d('0x94')]=_0x1e7884['gotop']['appdata'][_0x477d('0x472')]('=')[0x0];_0x1e7884[_0x477d('0x124f')]['value']=_0x1e7884[_0x477d('0x124f')][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x1];break;case'agi':_0x1e7884[_0x477d('0x124f')][_0x477d('0xf13')]=_0x1e7884[_0x477d('0x124f')]['appdata'];break;default:var _0x1544c2=_0x1e7884[_0x477d('0x124f')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x1e7884[_0x477d('0x124f')][_0x477d('0x1243')]=_[_0x477d('0x3b2')](_0x1544c2[0x0])?_0x1544c2[0x0]:isNaN(_0x1544c2[0x0])?_0x1544c2[0x0]:parseInt(_0x1544c2[0x0],0xa);}}else{}if(_0x1e7884[_0x477d('0x124f')][_0x477d('0x439')]&&_0x1e7884[_0x477d('0x124f')]['type'][_0x477d('0x449')]()===_0x477d('0x127')&&_0x1e7884[_0x477d('0x124f')][_0x477d('0x1294')][_0x477d('0x449')]()===_0x477d('0x12b1')){_0x1e7884[_0x477d('0x124f')]['prefix']=_0x1e7884['gotop'][_0x477d('0xf46')]?_0x1e7884[_0x477d('0x124f')]['phone'][_0x477d('0x472')]('$')[0x0]:undefined;_0x1e7884[_0x477d('0x124f')]['callerId']=_0x1e7884[_0x477d('0x124f')]['callerID']?'CALLERID(all)='+_0x1e7884[_0x477d('0x124f')]['callerID']:undefined;}_0x1e7884[_0x477d('0x1f18')]=_0x52b3cb;_0x1e7884['closeDialog']=_0x22363a;function _0x52b3cb(){_0x1e7884['errors']=[];var _0x1312c3=[];if(_0x1e7884[_0x477d('0x124f')]['type']&&_0x1e7884[_0x477d('0x124f')][_0x477d('0x439')][_0x477d('0x449')]()===_0x477d('0x127')&&_0x1e7884[_0x477d('0x124f')]['appType']===_0x477d('0x12b5')){_0x1e7884['gotop']['phone']=_0x7c59f3[_0x477d('0x12b6')]?(_0x1e7884['gotop']['prefix']||'')+'${EXTEN:'+_0x7c59f3[_0x477d('0x12b6')]+'}':(_0x1e7884[_0x477d('0x124f')][_0x477d('0x6c0')]||'')+'${EXTEN}';if(_0x7c59f3[_0x477d('0x12b9')]!=='none'){if(_0x1e7884[_0x477d('0x124f')]['options'][_0x477d('0x477')]('U(xcally-mixmonitor-context)')<0x0){_0x1e7884[_0x477d('0x124f')]['options']+='U(xcally-mixmonitor-context)';}}else{_0x1e7884[_0x477d('0x124f')]['options']=_0x1e7884[_0x477d('0x124f')][_0x477d('0x43c')][_0x477d('0x409')](_0x477d('0x12ba'),'');}}if(_0x1e7884[_0x477d('0x124f')]['appType']&&_0x1e7884[_0x477d('0x124f')][_0x477d('0x1294')]==='custom'){}else{switch((_0x1e7884[_0x477d('0x124f')][_0x477d('0x1291')]||_0x1e7884['gotop'][_0x477d('0x1294')])[_0x477d('0x449')]()){case _0x477d('0x12af'):_0x1e7884['gotop'][_0x477d('0x12ae')]=_0x1e7884[_0x477d('0x124f')][_0x477d('0x94')]+'='+_0x1e7884[_0x477d('0x124f')][_0x477d('0x3b6')];break;case _0x477d('0x9f6'):break;default:_0x1312c3[0x0]=_0x1e7884['gotop'][_0x477d('0x1243')];_0x1e7884[_0x477d('0x124f')][_0x477d('0x12ae')]=_0x1312c3[_0x477d('0x3f6')](',');}}_0x22363a(_0x1e7884[_0x477d('0x124f')]);}function _0x22363a(_0x207cf3){_0x205e23['hide'](_0x207cf3);}}}());(function(){'use strict';_0x3d8cac[_0x477d('0xa')]=[_0x477d('0x3c4'),_0x477d('0x384'),_0x477d('0x6d3'),'IndexFactory',_0x477d('0x79c'),_0x477d('0x1298'),_0x477d('0x40e'),'api',_0x477d('0x55'),_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x2f'))[_0x477d('0x3ba')](_0x477d('0x1f0f'),_0x3d8cac);function _0x3d8cac(_0x5c28cb,_0x1a6cdf,_0x279b6a,_0x342876,_0x483bf9,_0xd32bed,_0x402f6a,_0x11a8ec,_0x31bbe5,_0x66d810){var _0x3b4eaa=this;_0x3b4eaa[_0x477d('0x3e5')]=_0x31bbe5[_0x477d('0x5c')]();_0x3b4eaa[_0x477d('0xd67')]=[];_0x3b4eaa['title']=_0x477d('0x12be');_0x3b4eaa[_0x477d('0x79c')]=angular[_0x477d('0x6d9')](_0x483bf9);_0x3b4eaa['intervals']=_0xd32bed;_0x3b4eaa[_0x477d('0x12bf')]=![];_0x3b4eaa[_0x477d('0x12c0')]=[_0x477d('0x1247'),_0x477d('0x9f6'),'list'];_0x3b4eaa[_0x477d('0xd66')]=_0x66d810;_0x3b4eaa[_0x477d('0x12c1')]=_0x342876['getDaysOfWeek']();_0x3b4eaa[_0x477d('0x12c3')]=_0x342876[_0x477d('0x12c4')]();_0x3b4eaa[_0x477d('0x12c5')]=_0x342876[_0x477d('0x192f')]();_0x3b4eaa[_0x477d('0x12c6')]=_0x342876[_0x477d('0x12c7')]();if(!_0x3b4eaa[_0x477d('0x79c')]){_0x3b4eaa[_0x477d('0x79c')]={'interval':_0x477d('0x1249')};_0x3b4eaa[_0x477d('0x439')]=_0x477d('0x1247');_0x3b4eaa[_0x477d('0x49a')]=_0x477d('0x1930');_0x3b4eaa[_0x477d('0x12bf')]=!![];}else{if(_0x3b4eaa[_0x477d('0x79c')][_0x477d('0x79c')]!==_0x477d('0x1249')){_0x3b4eaa['type']=_0x477d('0x9f6');var _0x537ec3=_0x3b4eaa[_0x477d('0x79c')]['interval'][_0x477d('0x472')](',');var _0x2819bb=_0x537ec3[0x0];var _0x3488cb=_0x537ec3[0x1];var _0x137eb8=_0x537ec3[0x2];var _0x1d8eb0=_0x537ec3[0x3];if(_0x2819bb!=='*'){var _0xe4742d=_0x2819bb[_0x477d('0x472')]('-')[0x0];var _0x4c9675=_0x2819bb['split']('-')[0x1];var _0x2d026d;_0x2d026d=new Date();_0x2d026d[_0x477d('0x12c8')](Number(_0xe4742d[_0x477d('0x472')](':')[0x0]));_0x2d026d[_0x477d('0x12c9')](Number(_0xe4742d[_0x477d('0x472')](':')[0x1]));_0x3b4eaa['timeRangeFrom']=_0x2d026d;_0x2d026d=new Date();_0x2d026d['setHours'](Number(_0x4c9675[_0x477d('0x472')](':')[0x0]));_0x2d026d[_0x477d('0x12c9')](Number(_0x4c9675[_0x477d('0x472')](':')[0x1]));_0x3b4eaa[_0x477d('0x12ca')]=_0x2d026d;}if(_0x3488cb!=='*'){_0x3b4eaa[_0x477d('0x12d4')]=_0x3488cb[_0x477d('0x472')]('-')[0x0];_0x3b4eaa[_0x477d('0x12cb')]=_0x3488cb['split']('-')[0x1];}if(_0x137eb8!=='*'){_0x3b4eaa[_0x477d('0x12d5')]=_0x137eb8['split']('-')[0x0];_0x3b4eaa[_0x477d('0x12d6')]=_0x137eb8[_0x477d('0x472')]('-')[0x1];}if(_0x1d8eb0!=='*'){_0x3b4eaa[_0x477d('0x12cc')]=_0x1d8eb0[_0x477d('0x472')]('-')[0x0];_0x3b4eaa[_0x477d('0x12cd')]=_0x1d8eb0['split']('-')[0x1];}}else{_0x3b4eaa[_0x477d('0x439')]=_0x477d('0x1247');}}if(_0x5c28cb[_0x477d('0x37e')]['id']&&!_0x3b4eaa[_0x477d('0x79c')][_0x477d('0xf55')]){_0x3b4eaa[_0x477d('0x79c')][_0x477d('0xf8c')]=_0x5c28cb[_0x477d('0x37e')]['id'];}if(_0x3b4eaa['interval'][_0x477d('0xf8c')]&&_0x3b4eaa[_0x477d('0x79c')]['application']){_0x3b4eaa[_0x477d('0x439')]=_0x477d('0xa02');}_0x3b4eaa[_0x477d('0x12ce')]=_0x1b44bb;_0x3b4eaa[_0x477d('0x1931')]=_0x42f558;_0x3b4eaa[_0x477d('0x6bf')]=_0x5695ab;if(_0x3b4eaa[_0x477d('0x79c')][_0x477d('0xf55')]){_0x31bbe5['hasRole']('admin')?_0x11a8ec['interval'][_0x477d('0x376')]({'fields':'id,name,interval,IntervalId','IntervalId':_0x477d('0xea'),'nolimit':!![]})['$promise'][_0x477d('0x76')](function(_0x447614){_0x3b4eaa[_0x477d('0x1298')]=_0x447614['rows']||[];})[_0x477d('0xf8')](function(_0x169ebc){_0x402f6a[_0x477d('0x44a')]({'title':_0x169ebc['status']?_0x477d('0x44b')+_0x169ebc[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x169ebc['statusText']:_0x477d('0x12d0'),'msg':_0x169ebc[_0x477d('0x451')]?JSON['stringify'](_0x169ebc[_0x477d('0x451')]):_0x169ebc[_0x477d('0x453')]()});}):_0x11a8ec[_0x477d('0x79c')][_0x477d('0x376')]({'fields':_0x477d('0x12cf'),'IntervalId':_0x477d('0xea'),'nolimit':!![]})['$promise'][_0x477d('0x76')](function(_0x43dbe8){_0x3b4eaa[_0x477d('0x1298')]=_0x43dbe8[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x11a8ec[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x3b4eaa[_0x477d('0x3e5')]['userProfileId'],'sectionId':0x3ec})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x4b5ef6){var _0x34e06e=_0x4b5ef6&&_0x4b5ef6['rows']?_0x4b5ef6[_0x477d('0xf2')][0x0]:null;if(!_0x34e06e){_0x3b4eaa[_0x477d('0x1298')]=[];}else{if(!_0x34e06e[_0x477d('0x3ad')]){return _0x11a8ec[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x34e06e['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x2441c9){var _0x2cb57a=_0x2441c9&&_0x2441c9[_0x477d('0xf2')]?_0x2441c9[_0x477d('0xf2')]:[];var _0x366ffc=[];var _0x5898b5=null;if(_0x3b4eaa['interval']){_0x5898b5=_['find'](_0x3b4eaa[_0x477d('0x1298')],{'name':_0x3b4eaa[_0x477d('0x79c')]['IntervalId']});}if(_0x5898b5&&!_['some'](_0x2cb57a,[_0x477d('0x3af'),_0x5898b5['id']])){_0x3b4eaa[_0x477d('0x1298')][_0x477d('0x3b1')](function(_0x1fe308){if(_0x1fe308['id']===_0x5898b5['id']){_0x1fe308['canSelect']=![];_0x366ffc['push'](_0x1fe308);}});}_0x3b4eaa['intervals']=_0x366ffc;});}}})[_0x477d('0xf8')](function(_0x52609a){_0x402f6a[_0x477d('0x44a')]({'title':_0x52609a[_0x477d('0x3c3')]?'API:'+_0x52609a[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x52609a[_0x477d('0x44d')]:_0x477d('0x12d0'),'msg':_0x52609a[_0x477d('0x451')]?JSON['stringify'](_0x52609a['data']):_0x52609a['toString']()});});}function _0x3148b8(){switch(_0x3b4eaa[_0x477d('0x439')]){case _0x477d('0x1247'):case _0x477d('0xa02'):return _0x477d('0x1249');case _0x477d('0x9f6'):var _0x4494b5=[];if(_0x3b4eaa[_0x477d('0x12d1')]!=='*'&&_0x3b4eaa[_0x477d('0x12d1')]&&_0x3b4eaa['timeRangeTo']){var _0x1b7319=(_0x3b4eaa[_0x477d('0x12d1')]['getHours']()<0xa?'0':'')+_0x3b4eaa[_0x477d('0x12d1')][_0x477d('0x12d2')]()+':'+((_0x3b4eaa['timeRangeFrom']['getMinutes']()<0xa?'0':'')+_0x3b4eaa[_0x477d('0x12d1')][_0x477d('0x12d3')]());var _0x4d8faa=(_0x3b4eaa['timeRangeTo']['getHours']()<0xa?'0':'')+_0x3b4eaa['timeRangeTo'][_0x477d('0x12d2')]()+':'+((_0x3b4eaa[_0x477d('0x12ca')][_0x477d('0x12d3')]()<0xa?'0':'')+_0x3b4eaa['timeRangeTo'][_0x477d('0x12d3')]());_0x4494b5['push'](_0x1b7319+'-'+_0x4d8faa);}else{_0x4494b5[_0x477d('0x3a7')]('*');}if(_0x3b4eaa['dayOfWeekFrom']){if(_0x3b4eaa[_0x477d('0x12cb')]){_0x4494b5['push'](_0x3b4eaa[_0x477d('0x12d4')]+'-'+_0x3b4eaa[_0x477d('0x12cb')]);}else{_0x4494b5['push'](_0x3b4eaa[_0x477d('0x12d4')]);}}else{_0x4494b5[_0x477d('0x3a7')]('*');}if(_0x3b4eaa[_0x477d('0x12d5')]){if(_0x3b4eaa[_0x477d('0x12d6')]){_0x4494b5[_0x477d('0x3a7')](_0x3b4eaa[_0x477d('0x12d5')]+'-'+_0x3b4eaa['monthDayTo']);}else{_0x4494b5['push'](_0x3b4eaa[_0x477d('0x12d5')]);}}else{_0x4494b5['push']('*');}if(_0x3b4eaa[_0x477d('0x12cc')]){if(_0x3b4eaa[_0x477d('0x12cd')]){_0x4494b5[_0x477d('0x3a7')](_0x3b4eaa[_0x477d('0x12cc')]+'-'+_0x3b4eaa['monthTo']);}else{_0x4494b5[_0x477d('0x3a7')](_0x3b4eaa[_0x477d('0x12cc')]);}}else{_0x4494b5['push']('*');}return _0x4494b5['join']();}}function _0x1b44bb(){_0x3b4eaa['errors']=[];_0x3b4eaa[_0x477d('0x79c')]['interval']=_0x3148b8();_0x11a8ec[_0x477d('0x79c')][_0x477d('0xd70')](_0x3b4eaa[_0x477d('0x79c')])['$promise']['then'](function(_0x313e61){_0x3b4eaa[_0x477d('0x1298')]['push'](_0x313e61);_0x402f6a[_0x477d('0x485')]({'title':_0x477d('0x12d7'),'msg':_0x3b4eaa[_0x477d('0x79c')][_0x477d('0x94')]?_0x3b4eaa[_0x477d('0x79c')]['name']+_0x477d('0xd73'):''});_0x5695ab();})[_0x477d('0xf8')](function(_0x4d2a37){console['error'](_0x4d2a37);_0x3b4eaa[_0x477d('0xd67')]=_0x4d2a37[_0x477d('0x451')]['errors']||[{'message':_0x4d2a37[_0x477d('0x453')](),'type':_0x477d('0x12d8')}];});}function _0x42f558(){_0x3b4eaa[_0x477d('0xd67')]=[];_0x3b4eaa[_0x477d('0x79c')][_0x477d('0x79c')]=_0x3148b8();if(_0x3b4eaa[_0x477d('0x79c')][_0x477d('0xf55')]){_0x3b4eaa['type']!==_0x477d('0xa02')&&(_0x3b4eaa[_0x477d('0x79c')][_0x477d('0xf8c')]=null);_0x5695ab(_0x3b4eaa[_0x477d('0x79c')]);}else{_0x11a8ec[_0x477d('0x79c')]['update']({'id':_0x3b4eaa[_0x477d('0x79c')]['id']},_0x3b4eaa['interval'])['$promise'][_0x477d('0x76')](function(_0x108e54){var _0x2d0682=_[_0x477d('0x10a')](_0x3b4eaa['intervals'],{'id':_0x108e54['id']});if(_0x2d0682){_['merge'](_0x2d0682,_0x108e54);}_0x402f6a[_0x477d('0x485')]({'title':_0x477d('0x12d9'),'msg':_0x477d('0x12da')});_0x5695ab();})[_0x477d('0xf8')](function(_0x39634d){console[_0x477d('0x44a')](_0x39634d);_0x3b4eaa[_0x477d('0xd67')]=_0x39634d[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x39634d[_0x477d('0x453')](),'type':_0x477d('0x12db')}];});}}function _0x5695ab(_0x1c08bc){_0x1a6cdf[_0x477d('0x3bc')](_0x1c08bc);}}}());(function(){'use strict';_0x3b25df[_0x477d('0xa')]=[_0x477d('0x384'),'$q',_0x477d('0x40e'),'openchannelAccountApp',_0x477d('0xb16'),_0x477d('0x386'),_0x477d('0x55'),_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x33'))['controller'](_0x477d('0x1f1d'),_0x3b25df);function _0x3b25df(_0x150b50,_0x576e09,_0x47712a,_0x3862cd,_0x428c3a,_0x21d216,_0x58079d,_0x394afa){var _0xabf8d5=this;_0xabf8d5[_0x477d('0x3e5')]=_0x58079d[_0x477d('0x5c')]();_0xabf8d5['errors']=[];_0xabf8d5['title']=_0x477d('0x1f17')+(_0x3862cd[_0x477d('0x1294')]||_0x3862cd['app'])[_0x477d('0x44f')]();_0xabf8d5[_0x477d('0x3c6')]=angular[_0x477d('0x6d9')](_0x3862cd);_0xabf8d5['crudPermissions']=_0x394afa;_0xabf8d5[_0x477d('0xd68')]={};if(_0xabf8d5[_0x477d('0x3c6')][_0x477d('0x12ae')]){switch(_0xabf8d5[_0x477d('0x3c6')][_0x477d('0x1294')]?_0xabf8d5['noop'][_0x477d('0x1294')][_0x477d('0x449')]():_0xabf8d5[_0x477d('0x3c6')][_0x477d('0x1291')][_0x477d('0x449')]()){case _0x477d('0x9f6'):break;case _0x477d('0x1266'):var _0xec3448=_0xabf8d5[_0x477d('0x3c6')][_0x477d('0x12ae')]['split'](',');_0xabf8d5['noop'][_0x477d('0x670')]=_0xec3448[0x0];_0xabf8d5[_0x477d('0x3c6')][_0x477d('0x1267')]=_0xec3448[0x1];_0xabf8d5[_0x477d('0x3c6')]['welcomemessage']=_0xec3448[_0x477d('0x9cd')](0x2,_0xec3448['length'])[_0x477d('0x3f6')](',');break;case _0x477d('0x127c'):var _0xec3448=_0xabf8d5[_0x477d('0x3c6')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0xabf8d5[_0x477d('0x3c6')]['accesskeyid']=_0xec3448[0x0];_0xabf8d5[_0x477d('0x3c6')][_0x477d('0x127e')]=_0xec3448[0x1];_0xabf8d5[_0x477d('0x3c6')]['lexregion']=_0xec3448[0x2];_0xabf8d5[_0x477d('0x3c6')][_0x477d('0x1283')]=_0xec3448[0x3];_0xabf8d5['noop'][_0x477d('0x127a')]=_0xec3448[_0x477d('0x9cd')](0x4,_0xec3448['length'])['join'](',');break;case'autoreply':var _0xec3448=_0xabf8d5['noop'][_0x477d('0x12ae')][_0x477d('0x472')](',');_0xabf8d5[_0x477d('0x3c6')][_0x477d('0x1261')]=isNaN(_0xec3448[0x0])?_0xec3448[0x0]:parseInt(_0xec3448[0x0],0xa);_0xabf8d5['noop'][_0x477d('0x41b')]=_0xec3448[_0x477d('0x9cd')](0x1,_0xec3448['length'])[_0x477d('0x3f6')](',');break;case _0x477d('0x452'):_0xabf8d5[_0x477d('0x3c6')]['text']=_0xabf8d5['noop'][_0x477d('0x12ae')];break;case _0x477d('0x12af'):_0xabf8d5['noop'][_0x477d('0x94')]=_0xabf8d5[_0x477d('0x3c6')][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x0];_0xabf8d5[_0x477d('0x3c6')][_0x477d('0x3b6')]=_0xabf8d5[_0x477d('0x3c6')][_0x477d('0x12ae')]['split']('=')[0x1];break;case _0x477d('0x12b0'):_0xabf8d5['noop'][_0x477d('0xf13')]=_0xabf8d5[_0x477d('0x3c6')][_0x477d('0x12ae')];break;default:var _0x9f482=_0xabf8d5[_0x477d('0x3c6')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0xabf8d5[_0x477d('0x3c6')]['value']=_[_0x477d('0x3b2')](_0x9f482[0x0])?_0x9f482[0x0]:isNaN(_0x9f482[0x0])?_0x9f482[0x0]:parseInt(_0x9f482[0x0],0xa);}}else{}if(_0xabf8d5[_0x477d('0x3c6')][_0x477d('0x439')]&&_0xabf8d5[_0x477d('0x3c6')][_0x477d('0x439')][_0x477d('0x449')]()==='outbound'&&_0xabf8d5['noop']['appType'][_0x477d('0x449')]()===_0x477d('0x12b1')){_0xabf8d5['noop'][_0x477d('0x6c0')]=_0xabf8d5[_0x477d('0x3c6')][_0x477d('0xf46')]?_0xabf8d5['noop'][_0x477d('0xf46')][_0x477d('0x472')]('$')[0x0]:undefined;_0xabf8d5['noop'][_0x477d('0x69b')]=_0xabf8d5[_0x477d('0x3c6')][_0x477d('0x12b2')]?_0x477d('0x12b3')+_0xabf8d5['noop'][_0x477d('0x12b2')]:undefined;}_0xabf8d5['saveOpenchannelAccountApp']=_0xba2539;_0xabf8d5[_0x477d('0x6bf')]=_0x381d4c;function _0xba2539(){_0xabf8d5[_0x477d('0xd67')]=[];var _0x1909eb=[];if(_0xabf8d5[_0x477d('0x3c6')]['type']&&_0xabf8d5[_0x477d('0x3c6')][_0x477d('0x439')][_0x477d('0x449')]()===_0x477d('0x127')&&_0xabf8d5[_0x477d('0x3c6')][_0x477d('0x1294')]===_0x477d('0x12b5')){_0xabf8d5['noop'][_0x477d('0xf46')]=_0x428c3a[_0x477d('0x12b6')]?(_0xabf8d5['noop']['prefix']||'')+_0x477d('0x12b7')+_0x428c3a[_0x477d('0x12b6')]+'}':(_0xabf8d5['noop'][_0x477d('0x6c0')]||'')+_0x477d('0x12b8');if(_0x428c3a['recordingFormat']!==_0x477d('0x496')){if(_0xabf8d5['noop'][_0x477d('0x43c')][_0x477d('0x477')](_0x477d('0x12ba'))<0x0){_0xabf8d5[_0x477d('0x3c6')][_0x477d('0x43c')]+='U(xcally-mixmonitor-context)';}}else{_0xabf8d5['noop'][_0x477d('0x43c')]=_0xabf8d5[_0x477d('0x3c6')][_0x477d('0x43c')][_0x477d('0x409')](_0x477d('0x12ba'),'');}}if(_0xabf8d5[_0x477d('0x3c6')]['appType']&&_0xabf8d5[_0x477d('0x3c6')][_0x477d('0x1294')]===_0x477d('0x9f6')){}else{switch((_0xabf8d5[_0x477d('0x3c6')][_0x477d('0x1291')]||_0xabf8d5[_0x477d('0x3c6')]['appType'])[_0x477d('0x449')]()){case'set':_0xabf8d5[_0x477d('0x3c6')]['appdata']=_0xabf8d5[_0x477d('0x3c6')][_0x477d('0x94')]+'='+_0xabf8d5['noop'][_0x477d('0x3b6')];break;case _0x477d('0x9f6'):break;default:_0x1909eb[0x0]=_0xabf8d5[_0x477d('0x3c6')][_0x477d('0x3b6')];_0xabf8d5['noop'][_0x477d('0x12ae')]=_0x1909eb[_0x477d('0x3f6')](',');}}_0x381d4c(_0xabf8d5[_0x477d('0x3c6')]);}function _0x381d4c(_0x3c0aa3){_0x150b50[_0x477d('0x3bc')](_0x3c0aa3);}}}());(function(){'use strict';_0x35e5af[_0x477d('0xa')]=[_0x477d('0x384'),'$q',_0x477d('0x40e'),'openchannelAccountApp',_0x477d('0xb16'),_0x477d('0x386'),_0x477d('0x55'),_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x33'))['controller']('EditOpenchannelAccountAppqueueDialogController',_0x35e5af);function _0x35e5af(_0x3a1e32,_0x1550ff,_0x4c54a4,_0x40b223,_0x577ad9,_0x27bfed,_0x49fca3,_0x4fa26b){var _0x41e023=this;_0x41e023[_0x477d('0x3e5')]=_0x49fca3[_0x477d('0x5c')]();_0x41e023[_0x477d('0xd67')]=[];_0x41e023['title']=_0x477d('0x1f17')+(_0x40b223[_0x477d('0x1294')]||_0x40b223[_0x477d('0x1291')])[_0x477d('0x44f')]();_0x41e023['queue']=angular['copy'](_0x40b223);_0x41e023['crudPermissions']=_0x4fa26b;_0x41e023['hasModulePermissions']={};if(_0x41e023[_0x477d('0x1256')][_0x477d('0x12ae')]){switch(_0x41e023[_0x477d('0x1256')][_0x477d('0x1294')]?_0x41e023['queue'][_0x477d('0x1294')][_0x477d('0x449')]():_0x41e023[_0x477d('0x1256')][_0x477d('0x1291')][_0x477d('0x449')]()){case'custom':break;case _0x477d('0x1266'):var _0x5be6e0=_0x41e023[_0x477d('0x1256')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x41e023[_0x477d('0x1256')][_0x477d('0x670')]=_0x5be6e0[0x0];_0x41e023[_0x477d('0x1256')]['language']=_0x5be6e0[0x1];_0x41e023[_0x477d('0x1256')][_0x477d('0x127a')]=_0x5be6e0[_0x477d('0x9cd')](0x2,_0x5be6e0['length'])[_0x477d('0x3f6')](',');break;case _0x477d('0x127c'):var _0x5be6e0=_0x41e023['queue'][_0x477d('0x12ae')]['split'](',');_0x41e023[_0x477d('0x1256')][_0x477d('0x127d')]=_0x5be6e0[0x0];_0x41e023['queue'][_0x477d('0x127e')]=_0x5be6e0[0x1];_0x41e023['queue'][_0x477d('0x127f')]=_0x5be6e0[0x2];_0x41e023[_0x477d('0x1256')][_0x477d('0x1283')]=_0x5be6e0[0x3];_0x41e023[_0x477d('0x1256')]['welcomemessage']=_0x5be6e0[_0x477d('0x9cd')](0x4,_0x5be6e0[_0x477d('0x79')])['join'](',');break;case _0x477d('0x1260'):var _0x5be6e0=_0x41e023[_0x477d('0x1256')]['appdata'][_0x477d('0x472')](',');_0x41e023['queue']['times']=isNaN(_0x5be6e0[0x0])?_0x5be6e0[0x0]:parseInt(_0x5be6e0[0x0],0xa);_0x41e023[_0x477d('0x1256')]['text']=_0x5be6e0[_0x477d('0x9cd')](0x1,_0x5be6e0['length'])[_0x477d('0x3f6')](',');break;case _0x477d('0x452'):_0x41e023[_0x477d('0x1256')][_0x477d('0x41b')]=_0x41e023[_0x477d('0x1256')]['appdata'];break;case'set':_0x41e023[_0x477d('0x1256')][_0x477d('0x94')]=_0x41e023[_0x477d('0x1256')][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x0];_0x41e023[_0x477d('0x1256')][_0x477d('0x3b6')]=_0x41e023['queue'][_0x477d('0x12ae')]['split']('=')[0x1];break;case _0x477d('0x12b0'):_0x41e023['queue']['project']=_0x41e023[_0x477d('0x1256')]['appdata'];break;default:var _0x4d9959=_0x41e023[_0x477d('0x1256')][_0x477d('0x12ae')]['split'](',');_0x41e023[_0x477d('0x1256')]['queue']=_[_0x477d('0x3b2')](_0x4d9959[0x0])?_0x4d9959[0x0]:isNaN(_0x4d9959[0x0])?_0x4d9959[0x0]:parseInt(_0x4d9959[0x0],0xa);_0x41e023[_0x477d('0x1256')]['timeout']=_['isEmpty'](_0x4d9959[0x1])?_0x4d9959[0x1]:isNaN(_0x4d9959[0x1])?_0x4d9959[0x1]:parseInt(_0x4d9959[0x1],0xa);}}else{_0x41e023[_0x477d('0x1256')]['queue']=0x12c;_0x41e023[_0x477d('0x1256')][_0x477d('0x91b')]=0x12c;}if(_0x41e023[_0x477d('0x1256')][_0x477d('0x439')]&&_0x41e023[_0x477d('0x1256')][_0x477d('0x439')][_0x477d('0x449')]()===_0x477d('0x127')&&_0x41e023['queue'][_0x477d('0x1294')][_0x477d('0x449')]()===_0x477d('0x12b1')){_0x41e023[_0x477d('0x1256')][_0x477d('0x6c0')]=_0x41e023['queue'][_0x477d('0xf46')]?_0x41e023[_0x477d('0x1256')][_0x477d('0xf46')][_0x477d('0x472')]('$')[0x0]:undefined;_0x41e023[_0x477d('0x1256')][_0x477d('0x69b')]=_0x41e023[_0x477d('0x1256')][_0x477d('0x12b2')]?_0x477d('0x12b3')+_0x41e023['queue'][_0x477d('0x12b2')]:undefined;}_0x41e023[_0x477d('0x1f18')]=_0x22920d;_0x41e023[_0x477d('0x6bf')]=_0x18b160;_0x49fca3[_0x477d('0x56')]('admin')?_0x27bfed[_0x477d('0xb2c')][_0x477d('0x376')]({'fields':_0x477d('0x12de'),'sort':_0x477d('0x94'),'nolimit':'true'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x4eb641){_0x41e023[_0x477d('0xf2f')]=_0x4eb641[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x5cafb1){_0x4c54a4['error']({'title':_0x5cafb1[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x5cafb1[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x5cafb1[_0x477d('0x44d')]:_0x477d('0x1934'),'msg':_0x5cafb1[_0x477d('0x451')]?JSON['stringify'](_0x5cafb1[_0x477d('0x451')]):_0x5cafb1[_0x477d('0x453')]()});}):_0x27bfed[_0x477d('0xb2c')][_0x477d('0x376')]({'fields':'id,name,type','sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x20bda8){_0x41e023['queues']=_0x20bda8['rows']||[];})['then'](function(){return _0x27bfed[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x41e023[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x321})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x43f041){var _0x6c961b=_0x43f041&&_0x43f041[_0x477d('0xf2')]?_0x43f041['rows'][0x0]:null;if(!_0x6c961b){var _0x48de53=[];var _0x4ae8db=null;if(_0x41e023[_0x477d('0x1256')]){_0x4ae8db=_[_0x477d('0x10a')](_0x41e023['queues'],{'name':_0x41e023[_0x477d('0x1256')]['queue']});}for(var _0x57c302=0x0;_0x57c302<_0x41e023[_0x477d('0xf2f')][_0x477d('0x79')];_0x57c302++){if(_0x4ae8db&&_0x41e023['queues'][_0x57c302]['id']===_0x4ae8db['id']){_0x41e023[_0x477d('0xf2f')][_0x57c302][_0x477d('0xf8b')]=![];_0x48de53[_0x477d('0x3a7')](_0x41e023['queues'][_0x57c302]);}}_0x41e023[_0x477d('0xf2f')]=_0x48de53;}else{if(!_0x6c961b[_0x477d('0x3ad')]){return _0x27bfed[_0x477d('0x3ae')]['get']({'sectionId':_0x6c961b['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x1f6be3){var _0x4e1e6a=_[_0x477d('0x3cb')](_0x1f6be3['rows'],function(_0x40ddf7){return _[_0x477d('0x10a')](_0x41e023[_0x477d('0xf2f')],{'id':_0x40ddf7[_0x477d('0x3af')]});});var _0x89fd4a=null;if(_0x41e023['queue']){_0x89fd4a=_[_0x477d('0x10a')](_0x41e023[_0x477d('0xf2f')],{'name':_0x41e023[_0x477d('0x1256')]['queue']});}if(_0x89fd4a&&!_[_0x477d('0x3ab')](_0x4e1e6a,['id',_0x89fd4a['id']])){var _0x51f63a=_[_0x477d('0x10a')](_0x41e023[_0x477d('0xf2f')],{'id':_0x89fd4a['id']});_0x51f63a[_0x477d('0xf8b')]=![];_0x4e1e6a['push'](_0x51f63a);}_0x41e023['queues']=_0x4e1e6a;});}}})['catch'](function(_0x2d70f9){_0x4c54a4[_0x477d('0x44a')]({'title':_0x2d70f9['status']?_0x477d('0x44b')+_0x2d70f9[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x2d70f9[_0x477d('0x44d')]:_0x477d('0x12df'),'msg':_0x2d70f9['data']?JSON[_0x477d('0x3fb')](_0x2d70f9[_0x477d('0x451')]):_0x2d70f9[_0x477d('0x453')]()});});function _0x22920d(){_0x41e023['errors']=[];var _0x22bf43=[];if(_0x41e023[_0x477d('0x1256')][_0x477d('0x439')]&&_0x41e023[_0x477d('0x1256')][_0x477d('0x439')][_0x477d('0x449')]()===_0x477d('0x127')&&_0x41e023[_0x477d('0x1256')][_0x477d('0x1294')]===_0x477d('0x12b5')){_0x41e023[_0x477d('0x1256')][_0x477d('0xf46')]=_0x577ad9['cutdigits']?(_0x41e023['queue']['prefix']||'')+_0x477d('0x12b7')+_0x577ad9[_0x477d('0x12b6')]+'}':(_0x41e023[_0x477d('0x1256')][_0x477d('0x6c0')]||'')+'${EXTEN}';if(_0x577ad9[_0x477d('0x12b9')]!==_0x477d('0x496')){if(_0x41e023[_0x477d('0x1256')]['options'][_0x477d('0x477')](_0x477d('0x12ba'))<0x0){_0x41e023[_0x477d('0x1256')][_0x477d('0x43c')]+='U(xcally-mixmonitor-context)';}}else{_0x41e023[_0x477d('0x1256')][_0x477d('0x43c')]=_0x41e023['queue'][_0x477d('0x43c')][_0x477d('0x409')](_0x477d('0x12ba'),'');}}var _0x11cd48=_[_0x477d('0x10a')](_0x41e023[_0x477d('0xf2f')],{'name':_0x41e023[_0x477d('0x1256')][_0x477d('0x1256')]});if(_0x11cd48){_0x41e023[_0x477d('0x1256')][_[_0x477d('0x12e0')](_0x477d('0x1f1e'))+_0x477d('0x1f1f')]=_0x11cd48['id'];}if(_0x41e023[_0x477d('0x1256')][_0x477d('0x1294')]&&_0x41e023[_0x477d('0x1256')][_0x477d('0x1294')]===_0x477d('0x9f6')){}else{switch((_0x41e023[_0x477d('0x1256')][_0x477d('0x1291')]||_0x41e023[_0x477d('0x1256')][_0x477d('0x1294')])[_0x477d('0x449')]()){case _0x477d('0x12af'):_0x41e023[_0x477d('0x1256')][_0x477d('0x12ae')]=_0x41e023[_0x477d('0x1256')][_0x477d('0x94')]+'='+_0x41e023['queue'][_0x477d('0x3b6')];break;case _0x477d('0x9f6'):break;default:_0x22bf43[0x0]=_0x41e023[_0x477d('0x1256')][_0x477d('0x1256')];_0x22bf43[0x1]=_0x41e023['queue'][_0x477d('0x91b')];_0x41e023[_0x477d('0x1256')]['appdata']=_0x22bf43[_0x477d('0x3f6')](',');}}_0x18b160(_0x41e023[_0x477d('0x1256')]);}function _0x18b160(_0x38846f){_0x3a1e32['hide'](_0x38846f);}}}());(function(){'use strict';_0x376634[_0x477d('0xa')]=[_0x477d('0x384'),'$q',_0x477d('0x40e'),_0x477d('0x1f15'),_0x477d('0xb16'),'api',_0x477d('0x55'),_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x33'))[_0x477d('0x3ba')](_0x477d('0x1f20'),_0x376634);function _0x376634(_0x20dbc3,_0xcd2ec1,_0x2fa8dc,_0x44fe12,_0x571fd5,_0x58e8c6,_0x189537,_0x98f86a){var _0x439271=this;_0x439271['currentUser']=_0x189537[_0x477d('0x5c')]();_0x439271[_0x477d('0xd67')]=[];_0x439271[_0x477d('0x49a')]=_0x477d('0x1f17')+(_0x44fe12['appType']||_0x44fe12[_0x477d('0x1291')])[_0x477d('0x44f')]();_0x439271[_0x477d('0xa41')]=angular[_0x477d('0x6d9')](_0x44fe12);_0x439271[_0x477d('0xd66')]=_0x98f86a;_0x439271['hasModulePermissions']={};if(_0x439271[_0x477d('0xa41')][_0x477d('0x12ae')]){switch(_0x439271['system'][_0x477d('0x1294')]?_0x439271[_0x477d('0xa41')][_0x477d('0x1294')][_0x477d('0x449')]():_0x439271[_0x477d('0xa41')][_0x477d('0x1291')][_0x477d('0x449')]()){case _0x477d('0x9f6'):break;case _0x477d('0x1266'):var _0x2488da=_0x439271[_0x477d('0xa41')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x439271[_0x477d('0xa41')][_0x477d('0x670')]=_0x2488da[0x0];_0x439271[_0x477d('0xa41')][_0x477d('0x1267')]=_0x2488da[0x1];_0x439271['system'][_0x477d('0x127a')]=_0x2488da[_0x477d('0x9cd')](0x2,_0x2488da[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x127c'):var _0x2488da=_0x439271[_0x477d('0xa41')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x439271[_0x477d('0xa41')][_0x477d('0x127d')]=_0x2488da[0x0];_0x439271['system'][_0x477d('0x127e')]=_0x2488da[0x1];_0x439271[_0x477d('0xa41')][_0x477d('0x127f')]=_0x2488da[0x2];_0x439271[_0x477d('0xa41')][_0x477d('0x1283')]=_0x2488da[0x3];_0x439271['system']['welcomemessage']=_0x2488da[_0x477d('0x9cd')](0x4,_0x2488da[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case'autoreply':var _0x2488da=_0x439271[_0x477d('0xa41')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x439271['system'][_0x477d('0x1261')]=isNaN(_0x2488da[0x0])?_0x2488da[0x0]:parseInt(_0x2488da[0x0],0xa);_0x439271[_0x477d('0xa41')][_0x477d('0x41b')]=_0x2488da[_0x477d('0x9cd')](0x1,_0x2488da[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x452'):_0x439271[_0x477d('0xa41')][_0x477d('0x41b')]=_0x439271[_0x477d('0xa41')][_0x477d('0x12ae')];break;case _0x477d('0x12af'):_0x439271['system']['name']=_0x439271[_0x477d('0xa41')][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x0];_0x439271['system'][_0x477d('0x3b6')]=_0x439271['system'][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x1];break;case'agi':_0x439271[_0x477d('0xa41')]['project']=_0x439271[_0x477d('0xa41')][_0x477d('0x12ae')];break;default:var _0x11d453=_0x439271[_0x477d('0xa41')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x439271[_0x477d('0xa41')][_0x477d('0xf49')]=_[_0x477d('0x3b2')](_0x11d453[0x0])?_0x11d453[0x0]:isNaN(_0x11d453[0x0])?_0x11d453[0x0]:parseInt(_0x11d453[0x0],0xa);_0x439271[_0x477d('0xa41')][_0x477d('0xbb9')]=_[_0x477d('0x3b2')](_0x11d453[0x1])?_0x11d453[0x1]:isNaN(_0x11d453[0x1])?_0x11d453[0x1]:parseInt(_0x11d453[0x1],0xa);}}else{_0x439271[_0x477d('0xa41')]['variable']='';}if(_0x439271[_0x477d('0xa41')]['type']&&_0x439271['system']['type']['toLowerCase']()==='outbound'&&_0x439271[_0x477d('0xa41')][_0x477d('0x1294')][_0x477d('0x449')]()===_0x477d('0x12b1')){_0x439271[_0x477d('0xa41')][_0x477d('0x6c0')]=_0x439271[_0x477d('0xa41')][_0x477d('0xf46')]?_0x439271[_0x477d('0xa41')][_0x477d('0xf46')]['split']('$')[0x0]:undefined;_0x439271['system'][_0x477d('0x69b')]=_0x439271[_0x477d('0xa41')][_0x477d('0x12b2')]?'CALLERID(all)='+_0x439271['system'][_0x477d('0x12b2')]:undefined;}_0x439271[_0x477d('0x1f18')]=_0xe4c49b;_0x439271['closeDialog']=_0x1e196f;_0x189537['hasRole'](_0x477d('0x5f'))?_0x58e8c6[_0x477d('0xbb9')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':'name','nolimit':'true'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0xfc1b1b){_0x439271['variables']=_0xfc1b1b['rows']||[];})[_0x477d('0xf8')](function(_0x4bbe67){_0x2fa8dc[_0x477d('0x44a')]({'title':_0x4bbe67[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x4bbe67[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x4bbe67['statusText']:_0x477d('0x12e1'),'msg':_0x4bbe67[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x4bbe67[_0x477d('0x451')]):_0x4bbe67[_0x477d('0x453')]()});}):_0x58e8c6[_0x477d('0xbb9')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':'true'})['$promise']['then'](function(_0x2e017e){_0x439271['variables']=_0x2e017e[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x58e8c6[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x439271[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x3f4})[_0x477d('0x38b')];})['then'](function(_0x3f2c39){var _0x5b48cb=_0x3f2c39&&_0x3f2c39[_0x477d('0xf2')]?_0x3f2c39[_0x477d('0xf2')][0x0]:null;if(!_0x5b48cb){var _0x262c7c=[];var _0x2c2eec=null;if(_0x439271[_0x477d('0xa41')]){_0x2c2eec=_[_0x477d('0x10a')](_0x439271[_0x477d('0xf31')],{'name':_0x439271['system']['variable']});}for(var _0x280af4=0x0;_0x280af4<_0x439271[_0x477d('0xf31')][_0x477d('0x79')];_0x280af4++){if(_0x2c2eec&&_0x439271[_0x477d('0xf31')][_0x280af4]['id']===_0x2c2eec['id']){_0x439271[_0x477d('0xf31')][_0x280af4][_0x477d('0xf8b')]=![];_0x262c7c[_0x477d('0x3a7')](_0x439271[_0x477d('0xf31')][_0x280af4]);}}_0x439271[_0x477d('0xf31')]=_0x262c7c;}else{if(!_0x5b48cb[_0x477d('0x3ad')]){return _0x58e8c6[_0x477d('0x3ae')]['get']({'sectionId':_0x5b48cb['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x1d3d95){var _0x4ef28e=_['map'](_0x1d3d95[_0x477d('0xf2')],function(_0x10173a){return _[_0x477d('0x10a')](_0x439271[_0x477d('0xf31')],{'id':_0x10173a[_0x477d('0x3af')]});});var _0x374f08=null;if(_0x439271[_0x477d('0xa41')]){_0x374f08=_[_0x477d('0x10a')](_0x439271[_0x477d('0xf31')],{'name':_0x439271[_0x477d('0xa41')]['variable']});}if(_0x374f08&&!_[_0x477d('0x3ab')](_0x4ef28e,['id',_0x374f08['id']])){var _0x393d36=_[_0x477d('0x10a')](_0x439271[_0x477d('0xf31')],{'id':_0x374f08['id']});_0x393d36['canSelect']=![];_0x4ef28e[_0x477d('0x3a7')](_0x393d36);}_0x439271[_0x477d('0xf31')]=_0x4ef28e;});}}})[_0x477d('0xf8')](function(_0x3c4b0e){_0x2fa8dc['error']({'title':_0x3c4b0e[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x3c4b0e[_0x477d('0x3c3')]+'\x20-\x20'+_0x3c4b0e['statusText']:_0x477d('0x1936'),'msg':_0x3c4b0e['data']?JSON['stringify'](_0x3c4b0e[_0x477d('0x451')]):_0x3c4b0e[_0x477d('0x453')]()});});function _0xe4c49b(){_0x439271[_0x477d('0xd67')]=[];var _0x1b07c4=[];if(_0x439271[_0x477d('0xa41')][_0x477d('0x439')]&&_0x439271['system'][_0x477d('0x439')]['toLowerCase']()===_0x477d('0x127')&&_0x439271[_0x477d('0xa41')][_0x477d('0x1294')]===_0x477d('0x12b5')){_0x439271[_0x477d('0xa41')][_0x477d('0xf46')]=_0x571fd5['cutdigits']?(_0x439271['system'][_0x477d('0x6c0')]||'')+_0x477d('0x12b7')+_0x571fd5['cutdigits']+'}':(_0x439271[_0x477d('0xa41')][_0x477d('0x6c0')]||'')+_0x477d('0x12b8');if(_0x571fd5[_0x477d('0x12b9')]!=='none'){if(_0x439271[_0x477d('0xa41')][_0x477d('0x43c')][_0x477d('0x477')](_0x477d('0x12ba'))<0x0){_0x439271['system'][_0x477d('0x43c')]+='U(xcally-mixmonitor-context)';}}else{_0x439271[_0x477d('0xa41')][_0x477d('0x43c')]=_0x439271[_0x477d('0xa41')][_0x477d('0x43c')][_0x477d('0x409')]('U(xcally-mixmonitor-context)','');}}if(_0x439271['system'][_0x477d('0x1294')]&&_0x439271[_0x477d('0xa41')][_0x477d('0x1294')]===_0x477d('0x9f6')){}else{switch((_0x439271[_0x477d('0xa41')][_0x477d('0x1291')]||_0x439271[_0x477d('0xa41')][_0x477d('0x1294')])[_0x477d('0x449')]()){case _0x477d('0x12af'):_0x439271[_0x477d('0xa41')]['appdata']=_0x439271[_0x477d('0xa41')][_0x477d('0x94')]+'='+_0x439271[_0x477d('0xa41')][_0x477d('0x3b6')];break;case'custom':break;default:_0x1b07c4[0x0]=_0x439271[_0x477d('0xa41')][_0x477d('0xf49')];_0x1b07c4[0x1]=_0x439271[_0x477d('0xa41')][_0x477d('0xbb9')];_0x439271[_0x477d('0xa41')][_0x477d('0x12ae')]=_0x1b07c4[_0x477d('0x3f6')](',');}}_0x1e196f(_0x439271[_0x477d('0xa41')]);}function _0x1e196f(_0x14794c){_0x20dbc3[_0x477d('0x3bc')](_0x14794c);}}}());(function(){'use strict';_0x549324[_0x477d('0xa')]=[_0x477d('0x384'),'$q',_0x477d('0x40e'),_0x477d('0x1f15'),'openchannelAccount','api','Auth',_0x477d('0xd66')];angular['module'](_0x477d('0x33'))[_0x477d('0x3ba')](_0x477d('0x1f21'),_0x549324);function _0x549324(_0x1826a0,_0xbe0ef6,_0x87b26b,_0x3c7d63,_0x30ee0e,_0x3c586d,_0xb557b5,_0x5165f9){var _0xe37860=this;_0xe37860['currentUser']=_0xb557b5[_0x477d('0x5c')]();_0xe37860[_0x477d('0xd67')]=[];_0xe37860[_0x477d('0x49a')]=_0x477d('0x1f17')+(_0x3c7d63['appType']||_0x3c7d63[_0x477d('0x1291')])[_0x477d('0x44f')]();_0xe37860['tag']=angular['copy'](_0x3c7d63);_0xe37860[_0x477d('0xd66')]=_0x5165f9;_0xe37860[_0x477d('0xd68')]={};if(_0xe37860[_0x477d('0xbb0')]['appdata']){switch(_0xe37860[_0x477d('0xbb0')][_0x477d('0x1294')]?_0xe37860['tag'][_0x477d('0x1294')][_0x477d('0x449')]():_0xe37860[_0x477d('0xbb0')][_0x477d('0x1291')][_0x477d('0x449')]()){case _0x477d('0x9f6'):break;case'dialogflow':var _0x2e4ea8=_0xe37860[_0x477d('0xbb0')]['appdata'][_0x477d('0x472')](',');_0xe37860[_0x477d('0xbb0')][_0x477d('0x670')]=_0x2e4ea8[0x0];_0xe37860['tag'][_0x477d('0x1267')]=_0x2e4ea8[0x1];_0xe37860['tag'][_0x477d('0x127a')]=_0x2e4ea8[_0x477d('0x9cd')](0x2,_0x2e4ea8[_0x477d('0x79')])['join'](',');break;case _0x477d('0x127c'):var _0x2e4ea8=_0xe37860[_0x477d('0xbb0')][_0x477d('0x12ae')]['split'](',');_0xe37860[_0x477d('0xbb0')]['accesskeyid']=_0x2e4ea8[0x0];_0xe37860['tag'][_0x477d('0x127e')]=_0x2e4ea8[0x1];_0xe37860['tag'][_0x477d('0x127f')]=_0x2e4ea8[0x2];_0xe37860[_0x477d('0xbb0')][_0x477d('0x1283')]=_0x2e4ea8[0x3];_0xe37860['tag'][_0x477d('0x127a')]=_0x2e4ea8['slice'](0x4,_0x2e4ea8['length'])[_0x477d('0x3f6')](',');break;case _0x477d('0x1260'):var _0x2e4ea8=_0xe37860[_0x477d('0xbb0')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0xe37860[_0x477d('0xbb0')][_0x477d('0x1261')]=isNaN(_0x2e4ea8[0x0])?_0x2e4ea8[0x0]:parseInt(_0x2e4ea8[0x0],0xa);_0xe37860[_0x477d('0xbb0')][_0x477d('0x41b')]=_0x2e4ea8[_0x477d('0x9cd')](0x1,_0x2e4ea8['length'])[_0x477d('0x3f6')](',');break;case _0x477d('0x452'):_0xe37860[_0x477d('0xbb0')]['text']=_0xe37860[_0x477d('0xbb0')]['appdata'];break;case'set':_0xe37860[_0x477d('0xbb0')]['name']=_0xe37860[_0x477d('0xbb0')][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x0];_0xe37860[_0x477d('0xbb0')]['value']=_0xe37860[_0x477d('0xbb0')][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x1];break;case _0x477d('0x12b0'):_0xe37860[_0x477d('0xbb0')][_0x477d('0xf13')]=_0xe37860[_0x477d('0xbb0')]['appdata'];break;default:var _0x5316a5=_0xe37860[_0x477d('0xbb0')]['appdata'][_0x477d('0x472')](',');_0xe37860[_0x477d('0xbb0')]['tag']=_[_0x477d('0x3b2')](_0x5316a5[0x0])?_0x5316a5[0x0]:isNaN(_0x5316a5[0x0])?_0x5316a5[0x0]:parseInt(_0x5316a5[0x0],0xa);}}else{}if(_0xe37860[_0x477d('0xbb0')][_0x477d('0x439')]&&_0xe37860[_0x477d('0xbb0')][_0x477d('0x439')][_0x477d('0x449')]()===_0x477d('0x127')&&_0xe37860[_0x477d('0xbb0')][_0x477d('0x1294')][_0x477d('0x449')]()===_0x477d('0x12b1')){_0xe37860[_0x477d('0xbb0')][_0x477d('0x6c0')]=_0xe37860['tag'][_0x477d('0xf46')]?_0xe37860[_0x477d('0xbb0')]['phone'][_0x477d('0x472')]('$')[0x0]:undefined;_0xe37860['tag'][_0x477d('0x69b')]=_0xe37860['tag'][_0x477d('0x12b2')]?_0x477d('0x12b3')+_0xe37860['tag'][_0x477d('0x12b2')]:undefined;}_0xe37860['saveOpenchannelAccountApp']=_0x5724bb;_0xe37860[_0x477d('0x6bf')]=_0x57e58f;_0xb557b5[_0x477d('0x56')]('admin')?_0x3c586d[_0x477d('0xbb0')][_0x477d('0x376')]({'fields':'id,name','sort':_0x477d('0x94'),'nolimit':'true'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x1d0561){_0xe37860[_0x477d('0x1263')]=_0x1d0561['rows']||[];})['catch'](function(_0x3ddf13){_0x87b26b[_0x477d('0x44a')]({'title':_0x3ddf13[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x3ddf13[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x3ddf13[_0x477d('0x44d')]:'SYSTEM:GET_TAGS','msg':_0x3ddf13['data']?JSON['stringify'](_0x3ddf13['data']):_0x3ddf13[_0x477d('0x453')]()});}):_0x3c586d[_0x477d('0xbb0')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':'true'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0xfd02f){_0xe37860['tags']=_0xfd02f[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x3c586d[_0x477d('0x3ac')]['get']({'userProfileId':_0xe37860['currentUser'][_0x477d('0x61')],'sectionId':0x3f0})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x48774e){var _0x24187b=_0x48774e&&_0x48774e[_0x477d('0xf2')]?_0x48774e['rows'][0x0]:null;if(!_0x24187b){var _0x57776e=[];var _0x3449c9=null;if(_0xe37860[_0x477d('0xbb0')]){_0x3449c9=_['find'](_0xe37860[_0x477d('0x1263')],{'name':_0xe37860[_0x477d('0xbb0')][_0x477d('0xbb0')]});}for(var _0x5b5b8a=0x0;_0x5b5b8a<_0xe37860[_0x477d('0x1263')]['length'];_0x5b5b8a++){if(_0x3449c9&&_0xe37860[_0x477d('0x1263')][_0x5b5b8a]['id']===_0x3449c9['id']){_0xe37860['tags'][_0x5b5b8a][_0x477d('0xf8b')]=![];_0x57776e['push'](_0xe37860['tags'][_0x5b5b8a]);}}_0xe37860[_0x477d('0x1263')]=_0x57776e;}else{if(!_0x24187b['autoAssociation']){return _0x3c586d['userProfileResource']['get']({'sectionId':_0x24187b['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x2462d1){var _0x556f67=_[_0x477d('0x3cb')](_0x2462d1['rows'],function(_0x1fd1a8){return _[_0x477d('0x10a')](_0xe37860[_0x477d('0x1263')],{'id':_0x1fd1a8[_0x477d('0x3af')]});});var _0x5efe3a=null;if(_0xe37860[_0x477d('0xbb0')]){_0x5efe3a=_[_0x477d('0x10a')](_0xe37860[_0x477d('0x1263')],{'name':_0xe37860[_0x477d('0xbb0')][_0x477d('0xbb0')]});}if(_0x5efe3a&&!_[_0x477d('0x3ab')](_0x556f67,['id',_0x5efe3a['id']])){var _0x3299fa=_['find'](_0xe37860['tags'],{'id':_0x5efe3a['id']});_0x3299fa['canSelect']=![];_0x556f67['push'](_0x3299fa);}_0xe37860[_0x477d('0x1263')]=_0x556f67;});}}})[_0x477d('0xf8')](function(_0x21133a){_0x87b26b['error']({'title':_0x21133a[_0x477d('0x3c3')]?'API:'+_0x21133a[_0x477d('0x3c3')]+'\x20-\x20'+_0x21133a[_0x477d('0x44d')]:_0x477d('0x12e4'),'msg':_0x21133a[_0x477d('0x451')]?JSON['stringify'](_0x21133a[_0x477d('0x451')]):_0x21133a['toString']()});});function _0x5724bb(){_0xe37860[_0x477d('0xd67')]=[];var _0x5709b7=[];if(_0xe37860['tag']['type']&&_0xe37860[_0x477d('0xbb0')]['type'][_0x477d('0x449')]()===_0x477d('0x127')&&_0xe37860[_0x477d('0xbb0')][_0x477d('0x1294')]==='outboundDial'){_0xe37860['tag'][_0x477d('0xf46')]=_0x30ee0e[_0x477d('0x12b6')]?(_0xe37860[_0x477d('0xbb0')][_0x477d('0x6c0')]||'')+_0x477d('0x12b7')+_0x30ee0e[_0x477d('0x12b6')]+'}':(_0xe37860[_0x477d('0xbb0')]['prefix']||'')+_0x477d('0x12b8');if(_0x30ee0e[_0x477d('0x12b9')]!=='none'){if(_0xe37860[_0x477d('0xbb0')][_0x477d('0x43c')]['indexOf'](_0x477d('0x12ba'))<0x0){_0xe37860[_0x477d('0xbb0')][_0x477d('0x43c')]+=_0x477d('0x12ba');}}else{_0xe37860[_0x477d('0xbb0')][_0x477d('0x43c')]=_0xe37860[_0x477d('0xbb0')][_0x477d('0x43c')][_0x477d('0x409')]('U(xcally-mixmonitor-context)','');}}var _0xe326e2=_['find'](_0xe37860['tags'],{'name':_0xe37860[_0x477d('0xbb0')]['tag']});if(_0xe326e2){_0xe37860[_0x477d('0xbb0')][_0x477d('0x1262')]=_0xe326e2['id'];}if(_0xe37860[_0x477d('0xbb0')][_0x477d('0x1294')]&&_0xe37860[_0x477d('0xbb0')][_0x477d('0x1294')]==='custom'){}else{switch((_0xe37860[_0x477d('0xbb0')]['app']||_0xe37860['tag']['appType'])[_0x477d('0x449')]()){case _0x477d('0x12af'):_0xe37860[_0x477d('0xbb0')][_0x477d('0x12ae')]=_0xe37860[_0x477d('0xbb0')][_0x477d('0x94')]+'='+_0xe37860['tag'][_0x477d('0x3b6')];break;case'custom':break;default:_0x5709b7[0x0]=_0xe37860['tag'][_0x477d('0xbb0')];_0xe37860[_0x477d('0xbb0')][_0x477d('0x12ae')]=_0x5709b7['join'](',');}}_0x57e58f(_0xe37860['tag']);}function _0x57e58f(_0x3f4e2d){_0x1826a0[_0x477d('0x3bc')](_0x3f4e2d);}}}());(function(){'use strict';_0x2eb191['$inject']=[_0x477d('0x385'),_0x477d('0x474'),_0x477d('0x3c4'),'$q',_0x477d('0x40d'),_0x477d('0x3fe'),_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x40e'),_0x477d('0x386'),_0x477d('0x55')];angular['module']('app.openchannel')[_0x477d('0x3ba')]('OpenchannelAccountInteractionsController',_0x2eb191);function _0x2eb191(_0x1d0257,_0x75e826,_0x406575,_0x1a63e8,_0x486b36,_0x5113f9,_0x3bd419,_0x206bd7,_0x49e9f5,_0x32b1fa,_0x5b66bf){var _0x1b6a3b=this;_0x1b6a3b[_0x477d('0x3e5')]=_0x5b66bf['getCurrentUser']();_0x1b6a3b[_0x477d('0xb16')]={};_0x1b6a3b[_0x477d('0x1f22')]={'count':0x0,'rows':[]};_0x1b6a3b['selectedOpenchannelAccountInteractions']=[];_0x1b6a3b['crudPermissions'];_0x1b6a3b[_0x477d('0x3ef')]={'read':_0x477d('0xea'),'closed':_0x477d('0xea'),'sort':_0x477d('0x1343'),'includeAll':'true','limit':0xa,'page':0x1};_0x1b6a3b['init']=_0x3466b6;_0x1b6a3b[_0x477d('0xe66')]=_0x53f74c;_0x1b6a3b[_0x477d('0x1f23')]=_0x1490bc;_0x1b6a3b['success']=_0xfd08b4;_0x1b6a3b['getOpenchannelAccountInteractions']=_0x5d8702;_0x1b6a3b[_0x477d('0x1f24')]=_0xde8e83;_0x1b6a3b['spyopenchannelInteraction']=_0x80b568;_0x1b6a3b[_0x477d('0x1686')]=_0x27333a;_0x1b6a3b[_0x477d('0x1f25')]=_0x15354d;_0x1b6a3b['deleteOpenchannelAccountInteraction']=_0x34151e;_0x1b6a3b['deleteSelectedOpenchannelAccountInteractions']=_0x48987;function _0x3466b6(_0x198f62,_0x83e561){_0x1b6a3b[_0x477d('0xb16')]=_0x198f62;_0x1b6a3b['crudPermissions']=typeof _0x83e561!=='undefined'?_0x83e561:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x1b6a3b[_0x477d('0x3ef')][_0x477d('0x14b7')]=_0x1b6a3b[_0x477d('0xb16')]['id'];_0x1b6a3b['advancedSearch']={'fields':_0xc06413()};_0x2b8da3();}function _0x2b8da3(){return _0x32b1fa[_0x477d('0xbb0')][_0x477d('0x376')]()['$promise'][_0x477d('0x76')](function(_0x34003d){_0x1b6a3b[_0x477d('0x1263')]=_0x34003d||{'count':0x0,'rows':[]};})[_0x477d('0x76')](function(){_0x1b6a3b[_0x477d('0x1349')]=_0x2c8d6b();});}function _0x2c8d6b(){return[{'name':_0x477d('0x134a'),'key':_0x477d('0xe37'),'type':_0x477d('0x420'),'label':_0x477d('0x134b')},{'name':_0x477d('0x134c'),'key':_0x477d('0x134d'),'type':'select','label':_0x477d('0x134e'),'customOptions':[{'value':0x0,'translate':_0x477d('0x167e')},{'value':0x1,'translate':'DASHBOARDS.READ'},{'value':null,'translate':_0x477d('0x1350')}]},{'name':_0x477d('0x135e'),'key':_0x477d('0x1351'),'type':'select','label':_0x477d('0x168f'),'customOptions':[{'value':0x0,'translate':_0x477d('0x135f')},{'value':0x1,'translate':_0x477d('0x1352')},{'value':null,'translate':_0x477d('0x1350')}]},{'name':_0x477d('0x125d'),'key':_0x477d('0x125b'),'type':'select','label':'DASHBOARDS.SELECT_AGENT','customOptions':[{'value':_0x477d('0xea'),'translate':_0x477d('0x1354')},{'value':undefined,'translate':'DASHBOARDS.ALL'}]},{'name':'Tag','key':_0x477d('0xbb0'),'type':'multiselect','label':_0x477d('0x1355'),'options':_0x1b6a3b[_0x477d('0x1263')][_0x477d('0xf2')],'placeholder':_0x477d('0x1356')}];}function _0xc06413(){return[{'name':'Id','column':'id','type':_0x477d('0x421')},{'name':_0x477d('0x1370'),'column':_0x477d('0x1370'),'type':'autocomplete','options':{'searchFields':['firstName',_0x477d('0x1358'),_0x477d('0x1359')],'route':{'model':_0x477d('0xb6c'),'action':_0x477d('0x376'),'params':{'fields':_0x477d('0x1677'),'Contact':_0x477d('0x444'),'nolimit':!![]}},'extraOperators':[_0x477d('0x135a')],'excludedOperators':[_0x477d('0x414')]}},{'name':_0x477d('0x135b'),'column':_0x477d('0x135c'),'type':_0x477d('0x41b'),'options':{'excludedOperators':[_0x477d('0x412'),_0x477d('0x414')]}},{'name':_0x477d('0x135d'),'column':_0x477d('0x1953'),'type':'text','options':{'excludedOperators':[_0x477d('0x412'),_0x477d('0x414')]}},{'name':_0x477d('0x135e'),'column':_0x477d('0x1351'),'type':'select','values':[{'id':0x0,'translate':'DASHBOARDS.OPENED'},{'id':0x1,'translate':_0x477d('0x1352')}],'options':{'excludedOperators':[_0x477d('0x414')]}},{'name':_0x477d('0x125d'),'column':_0x477d('0x167b'),'type':'autocomplete','options':{'table':'i','route':{'model':'user','action':_0x477d('0x376'),'params':{'role':_0x477d('0xcf'),'fields':_0x477d('0x1360'),'nolimit':!![]}},'searchFields':[_0x477d('0xcd'),_0x477d('0x94')],'extraOperators':[_0x477d('0x135a')],'excludedOperators':['$ne']}},{'name':_0x477d('0x102'),'column':_0x477d('0x1264'),'type':_0x477d('0x413'),'options':{'route':{'model':_0x477d('0xbb0'),'action':_0x477d('0x376'),'params':{'nolimit':!![]}},'excludedOperators':[_0x477d('0x3f5')]}},{'name':_0x477d('0x134a'),'column':_0x477d('0xe37'),'type':_0x477d('0x420'),'options':{'excludedOperators':[_0x477d('0x414')]}},{'name':_0x477d('0x1361'),'column':_0x477d('0x167d'),'type':_0x477d('0x462'),'values':[{'id':0x1,'translate':_0x477d('0x134f')},{'id':0x0,'translate':_0x477d('0x167e')}],'options':{'excludedOperators':['$ne']}}];}function _0x27333a(){_0x3bd419['show']({'controller':_0x477d('0x3e4'),'controllerAs':'vm','templateUrl':_0x477d('0x1362'),'parent':angular[_0x477d('0x398')](_0x206bd7[_0x477d('0x399')]),'clickOutsideToClose':![],'locals':{'fields':_0x1b6a3b[_0x477d('0x3eb')]['fields'],'color':undefined,'storagePath':'openchannel.openchannelAccounts'},'fullscreen':!![]})[_0x477d('0x76')](function(_0x1e231){_0x1b6a3b[_0x477d('0x3ef')][_0x477d('0x3fd')]=_0x1e231===![]?undefined:_0x1e231;if(_0x1b6a3b[_0x477d('0x3ef')][_0x477d('0x3fd')]){_0x5d8702();}else if(_0x1e231===![]){_0x5d8702();}})['catch'](function(_0x24386f){_0x49e9f5[_0x477d('0x44a')]({'title':'ERROR','msg':_0x24386f[_0x477d('0x451')]?JSON['stringify'](_0x24386f[_0x477d('0x451')][_0x477d('0x452')]):_0x24386f[_0x477d('0x453')]()});});}function _0x1490bc(_0x5dd51f,_0x4faa2d,_0x849d){return _0x32b1fa[_0x477d('0xb22')][_0x477d('0x49d')]({'id':_0x5dd51f['id'],'exists':!![],'attachments':_0x849d})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x1885dc){var _0x5d3cf6=[_0x1885dc['buffer']];var _0x5bd2c1='interaction'+_0x5dd51f['id'];var _0x5cf609=new Blob(_0x5d3cf6,{'type':_0x1885dc[_0x477d('0x439')]});_0x5bd2c1='openchannel-interaction'+_0x5dd51f['id']+_0x477d('0x1366');var _0x4aa478=window['document']['createElement']('a');_0x4aa478[_0x477d('0x494')]('href',URL[_0x477d('0x49f')](_0x5cf609));_0x4aa478[_0x477d('0x494')](_0x477d('0x49d'),_0x5bd2c1);document[_0x477d('0x399')][_0x477d('0xd8f')](_0x4aa478);_0x4aa478['click']();})['catch'](function(_0xcb4aab){if(_0xcb4aab[_0x477d('0x451')]&&_0xcb4aab[_0x477d('0x451')][_0x477d('0xd67')]&&_0xcb4aab['data']['errors']['length']){for(var _0x437de8=0x0;_0x437de8<_0xcb4aab[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x437de8+=0x1){_0x49e9f5[_0x477d('0x44a')]({'title':_0xcb4aab[_0x477d('0x451')][_0x477d('0xd67')][_0x437de8][_0x477d('0x439')],'msg':_0xcb4aab['data']['errors'][_0x437de8][_0x477d('0x452')]});}}else{_0x49e9f5['error']({'title':_0xcb4aab[_0x477d('0x3c3')]?'API:'+_0xcb4aab[_0x477d('0x3c3')]+_0x477d('0x44c')+_0xcb4aab[_0x477d('0x44d')]:'api.openchannelAccount.save','msg':_0xcb4aab['data']?JSON['stringify'](_0xcb4aab[_0x477d('0x451')]['message']):_0xcb4aab[_0x477d('0x453')]()});}});}function _0x53f74c(_0x2d8255,_0x1cb295){var _0x5ea6cf=_0x3bd419['confirm']()['title']('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20interaction?')[_0x477d('0xd92')](''+(_0x2d8255[_0x477d('0x94')]||_0x2d8255['id']&&_[_0x477d('0x1367')](_0x477d('0x1368'))+_0x2d8255['id']||_0x477d('0x1364'))+_0x477d('0xd94')+_0x477d('0xd95'))['ariaLabel'](_0x477d('0x1369'))[_0x477d('0xd7c')](_0x1cb295)['ok']('OK')['cancel']('CANCEL');_0x3bd419[_0x477d('0x395')](_0x5ea6cf)[_0x477d('0x76')](function(){_0x34151e(_0x2d8255);},function(){console['log'](_0x477d('0xd97'));});}function _0xfd08b4(_0x81169c){_0x1b6a3b[_0x477d('0x1f22')]=_0x81169c||{'count':0x0,'rows':[]};for(var _0x2d755e=0x0;_0x2d755e<_0x1b6a3b['openchannelAccountInteractions'][_0x477d('0xf2')][_0x477d('0x79')];_0x2d755e+=0x1){var _0x49099f=_0x1b6a3b[_0x477d('0x1f22')][_0x477d('0xf2')][_0x2d755e];_0xec6cac(_0x49099f);_0x49099f[_0x477d('0x1374')]['name']=_0x3e4ad2(_0x49099f);}}function _0x5d8702(){_0x1b6a3b[_0x477d('0x3ef')]['offset']=(_0x1b6a3b[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x1b6a3b[_0x477d('0x3ef')][_0x477d('0x91d')];_0x1b6a3b[_0x477d('0x553')]=_0x32b1fa['openchannelInteraction'][_0x477d('0x376')](_0x1b6a3b[_0x477d('0x3ef')],_0xfd08b4)[_0x477d('0x38b')];}function _0xde8e83(_0x4acb54,_0x49b385){_0x3bd419[_0x477d('0x395')]({'controller':_0x477d('0x136a'),'controllerAs':'vm','templateUrl':'app/main/apps/openchannel/views/openchannelAccounts/edit/interactions/dialog.html','parent':angular[_0x477d('0x398')](_0x206bd7['body']),'targetEvent':_0x4acb54,'clickOutsideToClose':!![],'locals':{'openchannelAccount':_0x1b6a3b[_0x477d('0xb16')],'interaction':_0x49b385,'interactions':_0x1b6a3b[_0x477d('0x1f22')][_0x477d('0xf2')],'license':null,'setting':null,'crudPermissions':_0x1b6a3b[_0x477d('0xd66')]}});}function _0x80b568(_0x187edc,_0x51830d){_0x3bd419[_0x477d('0x395')]({'controller':_0x477d('0x136c'),'controllerAs':'vm','templateUrl':_0x477d('0x1956'),'parent':angular[_0x477d('0x398')](_0x206bd7[_0x477d('0x399')]),'targetEvent':_0x187edc,'clickOutsideToClose':!![],'onShowing':function(_0x190d06,_0x171a95){_0x190d06['vm'][_0x477d('0x5ee')]({'id':0x1,'channel':'openchannel','interaction':_0x51830d,'spy':!![]},_0x75e826[_0x477d('0x723')]['vm']['setting']);}});}function _0x34151e(_0xd9f0b0){_0x32b1fa[_0x477d('0xb22')][_0x477d('0xa55')]({'id':_0xd9f0b0['id']})['$promise'][_0x477d('0x76')](function(){_['remove'](_0x1b6a3b[_0x477d('0x1f22')]['rows'],{'id':_0xd9f0b0['id']});_0x1b6a3b[_0x477d('0x1f22')][_0x477d('0x3bb')]-=0x1;if(!_0x1b6a3b[_0x477d('0x1f22')][_0x477d('0xf2')]['length']){_0x5d8702();}_0x49e9f5[_0x477d('0x485')]({'title':_0x477d('0x136d'),'msg':_0xd9f0b0['name']?_0xd9f0b0['name']+_0x477d('0xd7e'):''});})[_0x477d('0xf8')](function(_0x561484){if(_0x561484[_0x477d('0x451')]&&_0x561484[_0x477d('0x451')][_0x477d('0xd67')]&&_0x561484['data'][_0x477d('0xd67')][_0x477d('0x79')]){vm[_0x477d('0xd67')]=_0x561484[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x561484[_0x477d('0x453')](),'type':'SYSTEM:GETopenchannelAccount'}];for(var _0x354fe3=0x0;_0x354fe3<_0x561484[_0x477d('0x451')]['errors']['length'];_0x354fe3++){_0x49e9f5['error']({'title':_0x561484[_0x477d('0x451')][_0x477d('0xd67')][_0x354fe3]['type'],'msg':_0x561484[_0x477d('0x451')]['errors'][_0x354fe3][_0x477d('0x452')]});}}else{_0x49e9f5[_0x477d('0x44a')]({'title':_0x561484[_0x477d('0x3c3')]?'API:'+_0x561484['status']+_0x477d('0x44c')+_0x561484[_0x477d('0x44d')]:_0x477d('0x1f26'),'msg':_0x561484[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x561484[_0x477d('0x451')][_0x477d('0x452')]):_0x561484[_0x477d('0x452')]||_0x561484[_0x477d('0x453')]()});}});}function _0x15354d(){var _0x155b26=angular[_0x477d('0x6d9')](_0x1b6a3b['selectedOpenchannelAccountInteractions']);_0x1b6a3b['selectedOpenchannelAccountInteractions']=[];return _0x155b26;}function _0x48987(_0x50ff15){var _0x1c45e9=_0x3bd419[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x136e'))[_0x477d('0xd92')](_0x477d('0xd93')+_0x1b6a3b[_0x477d('0x1f27')][_0x477d('0x79')]+'\x20selected'+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x136f'))[_0x477d('0xd7c')](_0x50ff15)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x3bd419[_0x477d('0x395')](_0x1c45e9)['then'](function(){_0x1b6a3b[_0x477d('0x1f27')][_0x477d('0x3b1')](function(_0x51cc42){_0x34151e(_0x51cc42);});_0x1b6a3b[_0x477d('0x1f27')]=[];});}function _0xec6cac(_0x103353){if(_0x103353[_0x477d('0x627')]){_0x103353[_0x477d('0x1371')]=_0x103353[_0x477d('0x627')];}else if(_0x103353['Contact']){_0x103353[_0x477d('0x1371')]=(_0x103353[_0x477d('0x1370')]['firstName']||'')+'\x20'+(_0x103353['Contact'][_0x477d('0x1358')]||'');}else{_0x103353[_0x477d('0x1371')]=_0x486b36['instant'](_0x477d('0x1f28'));}}function _0x3e4ad2(_0x522a61){if(_0x522a61[_0x477d('0x125b')]){if(_0x522a61[_0x477d('0x125b')]===_0x1b6a3b[_0x477d('0x3e5')]['id']){return _0x486b36[_0x477d('0x45f')]('DASHBOARDS.ME');}else{return _0x522a61['Owner'][_0x477d('0xcd')]+'\x20<'+_0x522a61[_0x477d('0x1374')][_0x477d('0x324')]+'>';}}return _0x486b36[_0x477d('0x45f')](_0x477d('0x1354'));}var _0x594f61=!![];var _0x2f1dc1=0x1;_0x75e826[_0x477d('0x4b5')](_0x477d('0x12f3'),function(_0x2fc271,_0x2fafd3){if(_0x594f61){_0x5113f9(function(){_0x594f61=![];});}else{if(!_0x2fafd3){_0x2f1dc1=_0x1b6a3b[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x2fc271!==_0x2fafd3){_0x1b6a3b[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0x2fc271){_0x1b6a3b['query'][_0x477d('0xe03')]=_0x2f1dc1;}_0x5d8702();}});}}());(function(){'use strict';_0x4a86bc[_0x477d('0xa')]=[_0x477d('0x385'),_0x477d('0x474'),_0x477d('0x3c4'),'$q',_0x477d('0x40d'),'$timeout',_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x40e'),_0x477d('0x386'),_0x477d('0x55')];angular[_0x477d('0xb')](_0x477d('0x33'))[_0x477d('0x3ba')]('OpenchannelAccountOpenchannelCannedAnswersController',_0x4a86bc);function _0x4a86bc(_0x1a1825,_0x4ba5a2,_0x2a9a91,_0x47b50c,_0x306494,_0x301921,_0x49cedf,_0x2a34c3,_0xd88160,_0x4e2582,_0x3920e7){var _0x4c6694=this;_0x4c6694[_0x477d('0x3e5')]=_0x3920e7[_0x477d('0x5c')]();_0x4c6694[_0x477d('0xb16')]={};_0x4c6694[_0x477d('0x1f29')]={'count':0x0,'rows':[]};_0x4c6694[_0x477d('0x1f2a')]=[];_0x4c6694[_0x477d('0xd66')];_0x4c6694[_0x477d('0x3ef')]={'fields':_0x477d('0x2aa'),'limit':0xa,'page':0x1};_0x4c6694[_0x477d('0x5ee')]=_0x257ebc;_0x4c6694[_0x477d('0xe66')]=_0x4c0f10;_0x4c6694[_0x477d('0x485')]=_0x169eb8;_0x4c6694['getOpenchannelAccountOpenchannelCannedAnswers']=_0x494bae;_0x4c6694[_0x477d('0x1f2b')]=_0x563e13;_0x4c6694[_0x477d('0x1f2c')]=_0x4d55a1;_0x4c6694['deleteOpenchannelAccountOpenchannelCannedAnswer']=_0x36d096;_0x4c6694[_0x477d('0x1f2d')]=_0x5a8d2e;function _0x257ebc(_0x300c93,_0x1f2e10){_0x4c6694[_0x477d('0xb16')]=_0x300c93;_0x4c6694[_0x477d('0xd66')]=typeof _0x1f2e10!==_0x477d('0x4a4')?_0x1f2e10:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x4c6694[_0x477d('0x3ef')][_0x477d('0x14b7')]=_0x4c6694[_0x477d('0xb16')]['id'];_0x4c6694['query']['id']=_0x4c6694[_0x477d('0xb16')]['id'];_0x494bae();}function _0x4c0f10(_0xb88e73,_0x4c79fd){var _0x154973=_0x49cedf[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x1f2e'))[_0x477d('0xd92')](_0x477d('0xd93')+(_0xb88e73[_0x477d('0x94')]||_0xb88e73['id']&&_[_0x477d('0x1367')](_0x477d('0x1f2f'))+_0xb88e73['id']||_0x477d('0x1f30'))+''+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x1f31'))['targetEvent'](_0x4c79fd)['ok']('OK')[_0x477d('0x4f0')]('CANCEL');_0x49cedf['show'](_0x154973)['then'](function(){_0x36d096(_0xb88e73);},function(){console['log'](_0x477d('0xd97'));});}function _0x169eb8(_0x2d3667){_0x4c6694['openchannelAccountOpenchannelCannedAnswers']=_0x2d3667||{'count':0x0,'rows':[]};}function _0x494bae(){_0x4c6694[_0x477d('0x3ef')]['offset']=(_0x4c6694[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x4c6694['query']['limit'];_0x4c6694[_0x477d('0x553')]=_0x4e2582[_0x477d('0xb16')]['getAnswers'](_0x4c6694[_0x477d('0x3ef')],_0x169eb8)[_0x477d('0x38b')];}function _0x563e13(_0x38d6bf,_0x5ee0a2){_0x49cedf[_0x477d('0x395')]({'controller':_0x477d('0x1f32'),'controllerAs':'vm','templateUrl':_0x477d('0x1f33'),'parent':angular[_0x477d('0x398')](_0x2a34c3['body']),'targetEvent':_0x38d6bf,'clickOutsideToClose':!![],'locals':{'openchannelAccount':_0x4c6694[_0x477d('0xb16')],'openchannelCannedAnswer':_0x5ee0a2,'openchannelCannedAnswers':_0x4c6694[_0x477d('0x1f29')][_0x477d('0xf2')],'license':null,'setting':null,'crudPermissions':_0x4c6694['crudPermissions']}});}function _0x36d096(_0x362554){_0x4e2582[_0x477d('0xb91')]['delete']({'id':_0x362554['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x4c6694[_0x477d('0x1f29')]['rows'],{'id':_0x362554['id']});_0x4c6694[_0x477d('0x1f29')][_0x477d('0x3bb')]-=0x1;if(!_0x4c6694['openchannelAccountOpenchannelCannedAnswers'][_0x477d('0xf2')][_0x477d('0x79')]){_0x494bae();}_0xd88160[_0x477d('0x485')]({'title':_0x477d('0x1f34'),'msg':_0x362554[_0x477d('0x94')]?_0x362554['name']+_0x477d('0xd7e'):''});})[_0x477d('0xf8')](function(_0x40a966){if(_0x40a966[_0x477d('0x451')]&&_0x40a966['data'][_0x477d('0xd67')]&&_0x40a966[_0x477d('0x451')]['errors'][_0x477d('0x79')]){vm[_0x477d('0xd67')]=_0x40a966[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x40a966[_0x477d('0x453')](),'type':'SYSTEM:GETopenchannelAccount'}];for(var _0x4d4440=0x0;_0x4d4440<_0x40a966[_0x477d('0x451')]['errors'][_0x477d('0x79')];_0x4d4440++){_0xd88160[_0x477d('0x44a')]({'title':_0x40a966[_0x477d('0x451')]['errors'][_0x4d4440][_0x477d('0x439')],'msg':_0x40a966['data']['errors'][_0x4d4440][_0x477d('0x452')]});}}else{_0xd88160[_0x477d('0x44a')]({'title':_0x40a966[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x40a966['status']+'\x20-\x20'+_0x40a966[_0x477d('0x44d')]:_0x477d('0x1f26'),'msg':_0x40a966[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x40a966[_0x477d('0x451')][_0x477d('0x452')]):_0x40a966[_0x477d('0x452')]||_0x40a966[_0x477d('0x453')]()});}});}function _0x4d55a1(){var _0x196859=angular[_0x477d('0x6d9')](_0x4c6694[_0x477d('0x1f2a')]);_0x4c6694[_0x477d('0x1f2a')]=[];return _0x196859;}function _0x5a8d2e(_0x95572f){var _0x614621=_0x49cedf[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x1f35'))['htmlContent'](_0x477d('0xd93')+_0x4c6694[_0x477d('0x1f2a')][_0x477d('0x79')]+_0x477d('0xda0')+'\x20will\x20be\x20deleted.')[_0x477d('0x687')](_0x477d('0x1f36'))[_0x477d('0xd7c')](_0x95572f)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x49cedf[_0x477d('0x395')](_0x614621)['then'](function(){_0x4c6694['selectedOpenchannelAccountOpenchannelCannedAnswers'][_0x477d('0x3b1')](function(_0x158bc9){_0x36d096(_0x158bc9);});_0x4c6694[_0x477d('0x1f2a')]=[];});}var _0xfe4f38=!![];var _0x574283=0x1;_0x4ba5a2[_0x477d('0x4b5')]('vm_dc.query.filter',function(_0x41ba3a,_0x480f74){if(_0xfe4f38){_0x301921(function(){_0xfe4f38=![];});}else{if(!_0x480f74){_0x574283=_0x4c6694[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x41ba3a!==_0x480f74){_0x4c6694['query'][_0x477d('0xe03')]=0x1;}if(!_0x41ba3a){_0x4c6694[_0x477d('0x3ef')][_0x477d('0xe03')]=_0x574283;}_0x494bae();}});}}());(function(){'use strict';_0xb9df9e[_0x477d('0xa')]=['$scope',_0x477d('0x3c4'),_0x477d('0xd64'),_0x477d('0x384'),'$q',_0x477d('0x40d'),_0x477d('0x40e'),_0x477d('0x1f37'),_0x477d('0x1f30'),'api',_0x477d('0x55'),_0x477d('0x613'),_0x477d('0xc8e'),_0x477d('0xd66')];angular[_0x477d('0xb')]('app.openchannel')[_0x477d('0x3ba')](_0x477d('0x1f32'),_0xb9df9e);function _0xb9df9e(_0x2167fb,_0x1d8cd4,_0x4ccabe,_0x2eabd4,_0x1cc5c0,_0x55ca6d,_0x2c1e51,_0x499d54,_0x4bac23,_0x312624,_0x4189ae,_0x40bb90,_0x2b79b9,_0x308927){var _0x1134db=this;_0x1134db[_0x477d('0x3e5')]=_0x4189ae[_0x477d('0x5c')]();_0x1134db[_0x477d('0xd67')]=[];_0x1134db[_0x477d('0xc8e')]=_0x2b79b9;_0x1134db[_0x477d('0x613')]=_0x40bb90;_0x1134db[_0x477d('0xd66')]=_0x308927;_0x1134db[_0x477d('0xd68')]={};_0x1134db['passwordPattern']=_0x1134db[_0x477d('0xc8e')]&&_0x1134db[_0x477d('0xc8e')][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x1134db[_0x477d('0x49a')]=_0x477d('0x1f38');_0x1134db['openchannelCannedAnswer']=angular['copy'](_0x4bac23);_0x1134db[_0x477d('0x1f37')]=_0x499d54;_0x1134db[_0x477d('0x1f39')]=![];if(!_0x1134db['openchannelCannedAnswer']){_0x1134db[_0x477d('0x1f30')]={};_0x1134db[_0x477d('0x49a')]='OPENCHANNEL.NEW_OPENCHANNELCANNEDANSWER';_0x1134db[_0x477d('0x1f39')]=!![];}if(_0x1d8cd4['params']['id']){_0x1134db[_0x477d('0x1f30')]['OpenchannelAccountId']=_0x1d8cd4['params']['id'];}_0x1134db['addNewOpenchannelCannedAnswer']=_0x253102;_0x1134db[_0x477d('0x1f3a')]=_0x53e78a;_0x1134db[_0x477d('0x1f3b')]=_0x4ff7a3;_0x1134db[_0x477d('0xd6f')]=_0x2876aa;_0x1134db['closeDialog']=_0x37743f;function _0x253102(){_0x1134db[_0x477d('0xd67')]=[];_0x312624['cannedAnswer'][_0x477d('0xd70')](_0x1134db[_0x477d('0x1f30')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x1aea8e){_0x1134db[_0x477d('0x1f37')]['unshift'](_0x1aea8e[_0x477d('0xd71')]());_0x2c1e51[_0x477d('0x485')]({'title':_0x477d('0x1f3c'),'msg':_0x1134db[_0x477d('0x1f30')]['name']?_0x1134db[_0x477d('0x1f30')][_0x477d('0x94')]+'\x20has\x20been\x20created!':''});_0x37743f(_0x1aea8e);})[_0x477d('0xf8')](function(_0x15792b){if(_0x15792b[_0x477d('0x451')]&&_0x15792b[_0x477d('0x451')]['errors']&&_0x15792b[_0x477d('0x451')]['errors'][_0x477d('0x79')]){_0x1134db['errors']=_0x15792b['data'][_0x477d('0xd67')]||[{'message':_0x15792b[_0x477d('0x453')](),'type':_0x477d('0x12fc')}];for(var _0x115b79=0x0;_0x115b79<_0x15792b['data']['errors'][_0x477d('0x79')];_0x115b79+=0x1){_0x2c1e51['error']({'title':_0x15792b[_0x477d('0x451')][_0x477d('0xd67')][_0x115b79]['type'],'msg':_0x15792b[_0x477d('0x451')][_0x477d('0xd67')][_0x115b79][_0x477d('0x452')]});}}else{_0x2c1e51[_0x477d('0x44a')]({'title':_0x15792b[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x15792b[_0x477d('0x3c3')]+'\x20-\x20'+_0x15792b[_0x477d('0x44d')]:'api.cannedAnswer.save','msg':_0x15792b[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x15792b['data'][_0x477d('0x452')]):_0x15792b[_0x477d('0x453')]()});}});}function _0x53e78a(){_0x1134db[_0x477d('0xd67')]=[];_0x312624['cannedAnswer'][_0x477d('0x710')]({'id':_0x1134db[_0x477d('0x1f30')]['id']},_0x1134db[_0x477d('0x1f30')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x59fe46){var _0x1dc41f=_[_0x477d('0x10a')](_0x1134db['openchannelCannedAnswers'],{'id':_0x59fe46['id']});if(_0x1dc41f){_[_0x477d('0xef')](_0x1dc41f,_[_0x477d('0x10b')](_0x59fe46['toJSON'](),_[_0x477d('0x7f')](_0x1dc41f)));}_0x2c1e51['success']({'title':_0x477d('0x1f3d'),'msg':_0x1134db[_0x477d('0x1f30')][_0x477d('0x94')]?_0x1134db['openchannelCannedAnswer'][_0x477d('0x94')]+_0x477d('0xd76'):''});_0x37743f(_0x59fe46);})[_0x477d('0xf8')](function(_0x59a0d6){if(_0x59a0d6[_0x477d('0x451')]&&_0x59a0d6['data'][_0x477d('0xd67')]&&_0x59a0d6['data'][_0x477d('0xd67')][_0x477d('0x79')]){_0x1134db['errors']=_0x59a0d6['data'][_0x477d('0xd67')]||[{'message':_0x59a0d6[_0x477d('0x453')](),'type':_0x477d('0x12fe')}];for(var _0xfc8eb=0x0;_0xfc8eb<_0x59a0d6[_0x477d('0x451')]['errors'][_0x477d('0x79')];_0xfc8eb++){_0x2c1e51['error']({'title':_0x59a0d6['data'][_0x477d('0xd67')][_0xfc8eb]['type'],'msg':_0x59a0d6['data'][_0x477d('0xd67')][_0xfc8eb]['message']});}}else{_0x2c1e51[_0x477d('0x44a')]({'title':_0x59a0d6[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x59a0d6[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x59a0d6['statusText']:'api.cannedAnswer.update','msg':_0x59a0d6[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x59a0d6[_0x477d('0x451')][_0x477d('0x452')]):_0x59a0d6[_0x477d('0x453')]()});}});}function _0x4ff7a3(_0x224554){_0x1134db[_0x477d('0xd67')]=[];var _0x41e2cb=_0x2eabd4[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xd79'))[_0x477d('0xdaf')](_0x477d('0x1f3e'))[_0x477d('0x687')](_0x477d('0x1f3f'))['ok']('Delete')[_0x477d('0x4f0')](_0x477d('0x688'))[_0x477d('0xd7c')](_0x224554);_0x2eabd4[_0x477d('0x395')](_0x41e2cb)[_0x477d('0x76')](function(){_0x312624[_0x477d('0xb91')][_0x477d('0xa55')]({'id':_0x1134db[_0x477d('0x1f30')]['id']})[_0x477d('0x38b')]['then'](function(){_[_0x477d('0x39c')](_0x1134db[_0x477d('0x1f37')],{'id':_0x1134db[_0x477d('0x1f30')]['id']});_0x2c1e51[_0x477d('0x485')]({'title':'OpenchannelCannedAnswer\x20properly\x20deleted!','msg':(_0x1134db[_0x477d('0x1f30')][_0x477d('0x94')]||_0x477d('0x1f30'))+_0x477d('0xd7e')});_0x37743f(_0x1134db['openchannelCannedAnswer']);})['catch'](function(_0x164fdd){if(_0x164fdd[_0x477d('0x451')]&&_0x164fdd[_0x477d('0x451')][_0x477d('0xd67')]&&_0x164fdd[_0x477d('0x451')][_0x477d('0xd67')]['length']){_0x1134db[_0x477d('0xd67')]=_0x164fdd['data'][_0x477d('0xd67')]||[{'message':_0x164fdd[_0x477d('0x453')](),'type':_0x477d('0x1300')}];for(var _0x4da403=0x0;_0x4da403<_0x164fdd[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x4da403++){_0x2c1e51['error']({'title':_0x164fdd[_0x477d('0x451')]['errors'][_0x4da403][_0x477d('0x439')],'msg':_0x164fdd[_0x477d('0x451')][_0x477d('0xd67')][_0x4da403][_0x477d('0x452')]});}}else{_0x2c1e51[_0x477d('0x44a')]({'title':_0x164fdd[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x164fdd['status']+_0x477d('0x44c')+_0x164fdd[_0x477d('0x44d')]:_0x477d('0x1300'),'msg':_0x164fdd[_0x477d('0x451')]?JSON['stringify'](_0x164fdd[_0x477d('0x451')][_0x477d('0x452')]):_0x164fdd[_0x477d('0x452')]||_0x164fdd['toString']()});}});},function(){});}function _0x2876aa(_0xb1c7d3){return _0xb1c7d3===null?undefined:new Date(_0xb1c7d3);}function _0x37743f(_0x54cb8d){_0x2eabd4[_0x477d('0x3bc')](_0x54cb8d);}}}());(function(){'use strict';_0x2d26f3[_0x477d('0xa')]=[_0x477d('0x385'),_0x477d('0x474'),_0x477d('0x3c4'),'$q','$translate',_0x477d('0x3fe'),_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x40e'),_0x477d('0x386'),_0x477d('0x55')];angular[_0x477d('0xb')](_0x477d('0x33'))[_0x477d('0x3ba')](_0x477d('0x1f40'),_0x2d26f3);function _0x2d26f3(_0xffab60,_0x5feed3,_0x302d32,_0xb02ad9,_0x4fbd23,_0x3938e1,_0x267bbc,_0x5474eb,_0x5e710b,_0x27e03a,_0x202447){var _0x49a0f4=this;_0x49a0f4[_0x477d('0x3e5')]=_0x202447[_0x477d('0x5c')]();_0x49a0f4['openchannelAccount']={};_0x49a0f4[_0x477d('0x1f41')]={'count':0x0,'rows':[]};_0x49a0f4['selectedOpenchannelAccountOpenchannelDispositions']=[];_0x49a0f4[_0x477d('0xd66')];_0x49a0f4['query']={'fields':_0x477d('0x2b0'),'limit':0xa,'page':0x1};_0x49a0f4[_0x477d('0x5ee')]=_0x29b387;_0x49a0f4[_0x477d('0xe66')]=_0x22c14f;_0x49a0f4[_0x477d('0x485')]=_0x52b341;_0x49a0f4['getOpenchannelAccountOpenchannelDispositions']=_0x428461;_0x49a0f4[_0x477d('0x1f42')]=_0x1bfc3c;_0x49a0f4[_0x477d('0x1f43')]=_0x4bb975;_0x49a0f4[_0x477d('0x1f44')]=_0x31c1a5;_0x49a0f4[_0x477d('0x1f45')]=_0x3554aa;function _0x29b387(_0x373410,_0x689963){_0x49a0f4[_0x477d('0xb16')]=_0x373410;_0x49a0f4[_0x477d('0xd66')]=typeof _0x689963!=='undefined'?_0x689963:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x49a0f4[_0x477d('0x3ef')][_0x477d('0x14b7')]=_0x49a0f4[_0x477d('0xb16')]['id'];_0x49a0f4[_0x477d('0x3ef')]['id']=_0x49a0f4['openchannelAccount']['id'];_0x428461();}function _0x22c14f(_0x3d226e,_0x50a004){var _0x1eeff3=_0x267bbc[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x1f46'))[_0x477d('0xd92')](_0x477d('0xd93')+(_0x3d226e['name']||_0x3d226e['id']&&_[_0x477d('0x1367')](_0x477d('0x1f47'))+_0x3d226e['id']||_0x477d('0x1f48'))+_0x477d('0xd94')+_0x477d('0xd95'))['ariaLabel'](_0x477d('0x1f49'))[_0x477d('0xd7c')](_0x50a004)['ok']('OK')[_0x477d('0x4f0')]('CANCEL');_0x267bbc[_0x477d('0x395')](_0x1eeff3)[_0x477d('0x76')](function(){_0x31c1a5(_0x3d226e);},function(){console[_0x477d('0x7b')](_0x477d('0xd97'));});}function _0x52b341(_0x50b51e){_0x49a0f4[_0x477d('0x1f41')]=_0x50b51e||{'count':0x0,'rows':[]};}function _0x428461(){_0x49a0f4[_0x477d('0x3ef')][_0x477d('0x91c')]=(_0x49a0f4[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x49a0f4['query'][_0x477d('0x91d')];_0x49a0f4[_0x477d('0x553')]=_0x27e03a['openchannelAccount'][_0x477d('0x1309')](_0x49a0f4[_0x477d('0x3ef')],_0x52b341)[_0x477d('0x38b')];}function _0x1bfc3c(_0x442dbb,_0x24044d){_0x267bbc[_0x477d('0x395')]({'controller':_0x477d('0x1f4a'),'controllerAs':'vm','templateUrl':'app/main/apps/openchannel/views/openchannelAccounts/edit/openchannelDispositions/dialog.html','parent':angular[_0x477d('0x398')](_0x5474eb[_0x477d('0x399')]),'targetEvent':_0x442dbb,'clickOutsideToClose':!![],'locals':{'openchannelAccount':_0x49a0f4[_0x477d('0xb16')],'openchannelDisposition':_0x24044d,'openchannelDispositions':_0x49a0f4[_0x477d('0x1f41')]['rows'],'license':null,'setting':null,'crudPermissions':_0x49a0f4[_0x477d('0xd66')]}});}function _0x31c1a5(_0x537ac1){_0x27e03a[_0x477d('0xb95')][_0x477d('0xa55')]({'id':_0x537ac1['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x49a0f4[_0x477d('0x1f41')][_0x477d('0xf2')],{'id':_0x537ac1['id']});_0x49a0f4[_0x477d('0x1f41')][_0x477d('0x3bb')]-=0x1;if(!_0x49a0f4[_0x477d('0x1f41')][_0x477d('0xf2')][_0x477d('0x79')]){_0x428461();}_0x5e710b['success']({'title':_0x477d('0x1f4b'),'msg':_0x537ac1[_0x477d('0x94')]?_0x537ac1['name']+_0x477d('0xd7e'):''});})[_0x477d('0xf8')](function(_0x1fc548){if(_0x1fc548[_0x477d('0x451')]&&_0x1fc548['data']['errors']&&_0x1fc548[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){vm[_0x477d('0xd67')]=_0x1fc548[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x1fc548[_0x477d('0x453')](),'type':_0x477d('0x1f26')}];for(var _0x105f81=0x0;_0x105f81<_0x1fc548[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x105f81++){_0x5e710b[_0x477d('0x44a')]({'title':_0x1fc548['data']['errors'][_0x105f81][_0x477d('0x439')],'msg':_0x1fc548[_0x477d('0x451')][_0x477d('0xd67')][_0x105f81][_0x477d('0x452')]});}}else{_0x5e710b[_0x477d('0x44a')]({'title':_0x1fc548[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x1fc548[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x1fc548[_0x477d('0x44d')]:_0x477d('0x1f26'),'msg':_0x1fc548['data']?JSON[_0x477d('0x3fb')](_0x1fc548['data'][_0x477d('0x452')]):_0x1fc548[_0x477d('0x452')]||_0x1fc548[_0x477d('0x453')]()});}});}function _0x4bb975(){var _0x2e15a4=angular[_0x477d('0x6d9')](_0x49a0f4['selectedOpenchannelAccountOpenchannelDispositions']);_0x49a0f4[_0x477d('0x1f4c')]=[];return _0x2e15a4;}function _0x3554aa(_0x586a7c){var _0x3ddadd=_0x267bbc[_0x477d('0xd78')]()['title']('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20openchannelDispositions?')[_0x477d('0xd92')](''+_0x49a0f4[_0x477d('0x1f4c')][_0x477d('0x79')]+'\x20selected'+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x1f4d'))[_0x477d('0xd7c')](_0x586a7c)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x267bbc['show'](_0x3ddadd)['then'](function(){_0x49a0f4[_0x477d('0x1f4c')][_0x477d('0x3b1')](function(_0x1b9ea9){_0x31c1a5(_0x1b9ea9);});_0x49a0f4[_0x477d('0x1f4c')]=[];});}var _0x17ba25=!![];var _0x2208e9=0x1;_0x5feed3[_0x477d('0x4b5')](_0x477d('0x12f3'),function(_0x3d78a1,_0x17b9a8){if(_0x17ba25){_0x3938e1(function(){_0x17ba25=![];});}else{if(!_0x17b9a8){_0x2208e9=_0x49a0f4[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x3d78a1!==_0x17b9a8){_0x49a0f4[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0x3d78a1){_0x49a0f4[_0x477d('0x3ef')][_0x477d('0xe03')]=_0x2208e9;}_0x428461();}});}}());(function(){'use strict';_0x2897bc[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x3c4'),'$location',_0x477d('0x384'),'$q','$translate',_0x477d('0x40e'),_0x477d('0x1f4e'),'openchannelDisposition',_0x477d('0x386'),_0x477d('0x55'),_0x477d('0x613'),'setting','crudPermissions'];angular['module'](_0x477d('0x33'))['controller'](_0x477d('0x1f4a'),_0x2897bc);function _0x2897bc(_0x15118d,_0x5a90ec,_0x18295e,_0x504c61,_0x16d54b,_0x57e554,_0x4b51a4,_0x32e89d,_0x2fe3e1,_0x43ea3e,_0x4a1ffa,_0x4a68f,_0x12e434,_0x4d1320){var _0x3a9820=this;_0x3a9820[_0x477d('0x3e5')]=_0x4a1ffa['getCurrentUser']();_0x3a9820[_0x477d('0xd67')]=[];_0x3a9820[_0x477d('0xc8e')]=_0x12e434;_0x3a9820[_0x477d('0x613')]=_0x4a68f;_0x3a9820[_0x477d('0xd66')]=_0x4d1320;_0x3a9820[_0x477d('0xd68')]={};_0x3a9820[_0x477d('0xd69')]=_0x3a9820[_0x477d('0xc8e')]&&_0x3a9820[_0x477d('0xc8e')][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x3a9820[_0x477d('0x49a')]=_0x477d('0x1f4f');_0x3a9820[_0x477d('0x1f48')]=angular[_0x477d('0x6d9')](_0x2fe3e1);_0x3a9820['openchannelDispositions']=_0x32e89d;_0x3a9820[_0x477d('0x1f50')]=![];if(!_0x3a9820[_0x477d('0x1f48')]){_0x3a9820[_0x477d('0x1f48')]={};_0x3a9820[_0x477d('0x49a')]=_0x477d('0x1f51');_0x3a9820[_0x477d('0x1f50')]=!![];}if(_0x5a90ec[_0x477d('0x37e')]['id']){_0x3a9820[_0x477d('0x1f48')]['OpenchannelAccountId']=_0x5a90ec[_0x477d('0x37e')]['id'];}_0x3a9820['addNewOpenchannelDisposition']=_0x56862e;_0x3a9820[_0x477d('0x1f52')]=_0x403ae6;_0x3a9820['deleteOpenchannelDisposition']=_0x2df67d;_0x3a9820[_0x477d('0xd6f')]=_0x3c921b;_0x3a9820[_0x477d('0x6bf')]=_0x2e8bba;function _0x56862e(){_0x3a9820[_0x477d('0xd67')]=[];_0x43ea3e[_0x477d('0xb95')][_0x477d('0xd70')](_0x3a9820[_0x477d('0x1f48')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x1bb09f){_0x3a9820[_0x477d('0x1f4e')][_0x477d('0x63b')](_0x1bb09f[_0x477d('0xd71')]());_0x4b51a4[_0x477d('0x485')]({'title':'OpenchannelDisposition\x20properly\x20created','msg':_0x3a9820[_0x477d('0x1f48')][_0x477d('0x94')]?_0x3a9820[_0x477d('0x1f48')][_0x477d('0x94')]+_0x477d('0xd73'):''});_0x2e8bba(_0x1bb09f);})[_0x477d('0xf8')](function(_0x559ab1){if(_0x559ab1[_0x477d('0x451')]&&_0x559ab1[_0x477d('0x451')][_0x477d('0xd67')]&&_0x559ab1[_0x477d('0x451')]['errors'][_0x477d('0x79')]){_0x3a9820[_0x477d('0xd67')]=_0x559ab1[_0x477d('0x451')]['errors']||[{'message':_0x559ab1[_0x477d('0x453')](),'type':_0x477d('0x1314')}];for(var _0xafdbe8=0x0;_0xafdbe8<_0x559ab1[_0x477d('0x451')]['errors'][_0x477d('0x79')];_0xafdbe8+=0x1){_0x4b51a4[_0x477d('0x44a')]({'title':_0x559ab1[_0x477d('0x451')][_0x477d('0xd67')][_0xafdbe8][_0x477d('0x439')],'msg':_0x559ab1[_0x477d('0x451')][_0x477d('0xd67')][_0xafdbe8][_0x477d('0x452')]});}}else{_0x4b51a4['error']({'title':_0x559ab1[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x559ab1['status']+'\x20-\x20'+_0x559ab1[_0x477d('0x44d')]:_0x477d('0x1314'),'msg':_0x559ab1[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x559ab1['data'][_0x477d('0x452')]):_0x559ab1[_0x477d('0x453')]()});}});}function _0x403ae6(){_0x3a9820[_0x477d('0xd67')]=[];_0x43ea3e['disposition'][_0x477d('0x710')]({'id':_0x3a9820[_0x477d('0x1f48')]['id']},_0x3a9820[_0x477d('0x1f48')])[_0x477d('0x38b')]['then'](function(_0x1c2ffc){var _0x5336c6=_[_0x477d('0x10a')](_0x3a9820[_0x477d('0x1f4e')],{'id':_0x1c2ffc['id']});if(_0x5336c6){_['merge'](_0x5336c6,_['pick'](_0x1c2ffc[_0x477d('0xd71')](),_[_0x477d('0x7f')](_0x5336c6)));}_0x4b51a4['success']({'title':'OpenchannelDisposition\x20properly\x20saved!','msg':_0x3a9820['openchannelDisposition']['name']?_0x3a9820[_0x477d('0x1f48')][_0x477d('0x94')]+_0x477d('0xd76'):''});_0x2e8bba(_0x1c2ffc);})['catch'](function(_0x5d4872){if(_0x5d4872['data']&&_0x5d4872[_0x477d('0x451')]['errors']&&_0x5d4872[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x3a9820[_0x477d('0xd67')]=_0x5d4872[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x5d4872['toString'](),'type':_0x477d('0x1316')}];for(var _0x1c677c=0x0;_0x1c677c<_0x5d4872['data'][_0x477d('0xd67')][_0x477d('0x79')];_0x1c677c++){_0x4b51a4[_0x477d('0x44a')]({'title':_0x5d4872[_0x477d('0x451')]['errors'][_0x1c677c][_0x477d('0x439')],'msg':_0x5d4872['data']['errors'][_0x1c677c][_0x477d('0x452')]});}}else{_0x4b51a4[_0x477d('0x44a')]({'title':_0x5d4872[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x5d4872[_0x477d('0x3c3')]+'\x20-\x20'+_0x5d4872[_0x477d('0x44d')]:'api.disposition.update','msg':_0x5d4872['data']?JSON[_0x477d('0x3fb')](_0x5d4872[_0x477d('0x451')]['message']):_0x5d4872[_0x477d('0x453')]()});}});}function _0x2df67d(_0x40d3c2){_0x3a9820['errors']=[];var _0x376e61=_0x504c61[_0x477d('0xd78')]()[_0x477d('0x49a')]('Are\x20you\x20sure?')[_0x477d('0xdaf')](_0x477d('0x1f53'))[_0x477d('0x687')](_0x477d('0x1f54'))['ok']('Delete')['cancel'](_0x477d('0x688'))[_0x477d('0xd7c')](_0x40d3c2);_0x504c61[_0x477d('0x395')](_0x376e61)['then'](function(){_0x43ea3e[_0x477d('0xb95')][_0x477d('0xa55')]({'id':_0x3a9820[_0x477d('0x1f48')]['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x3a9820[_0x477d('0x1f4e')],{'id':_0x3a9820[_0x477d('0x1f48')]['id']});_0x4b51a4['success']({'title':'OpenchannelDisposition\x20properly\x20deleted!','msg':(_0x3a9820[_0x477d('0x1f48')][_0x477d('0x94')]||_0x477d('0x1f48'))+_0x477d('0xd7e')});_0x2e8bba(_0x3a9820[_0x477d('0x1f48')]);})[_0x477d('0xf8')](function(_0xac7660){if(_0xac7660[_0x477d('0x451')]&&_0xac7660['data'][_0x477d('0xd67')]&&_0xac7660['data'][_0x477d('0xd67')][_0x477d('0x79')]){_0x3a9820[_0x477d('0xd67')]=_0xac7660[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0xac7660[_0x477d('0x453')](),'type':_0x477d('0x1318')}];for(var _0x393d0b=0x0;_0x393d0b<_0xac7660[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x393d0b++){_0x4b51a4[_0x477d('0x44a')]({'title':_0xac7660['data']['errors'][_0x393d0b]['type'],'msg':_0xac7660['data']['errors'][_0x393d0b][_0x477d('0x452')]});}}else{_0x4b51a4[_0x477d('0x44a')]({'title':_0xac7660[_0x477d('0x3c3')]?_0x477d('0x44b')+_0xac7660[_0x477d('0x3c3')]+'\x20-\x20'+_0xac7660[_0x477d('0x44d')]:_0x477d('0x1318'),'msg':_0xac7660[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0xac7660[_0x477d('0x451')][_0x477d('0x452')]):_0xac7660[_0x477d('0x452')]||_0xac7660[_0x477d('0x453')]()});}});},function(){});}function _0x3c921b(_0x10662c){return _0x10662c===null?undefined:new Date(_0x10662c);}function _0x2e8bba(_0x1d435a){_0x504c61['hide'](_0x1d435a);}}}());(function(){'use strict';_0x496342[_0x477d('0xa')]=[_0x477d('0x3c4'),_0x477d('0xd64'),_0x477d('0x384'),'$document',_0x477d('0x40d'),_0x477d('0x613'),_0x477d('0xc8e'),_0x477d('0x386'),_0x477d('0x40e'),_0x477d('0x55'),_0x477d('0xb16'),_0x477d('0x3ac')];angular[_0x477d('0xb')](_0x477d('0x33'))[_0x477d('0x3ba')](_0x477d('0x1f55'),_0x496342);function _0x496342(_0x3a6df6,_0x2a51db,_0x39ccc6,_0x1fdf3b,_0x153155,_0x563d2f,_0x3f9f0d,_0x31f93f,_0x9f8fc0,_0x2ca8e3,_0xa1bbe0,_0xba28a){var _0x1d6769=this;_0x1d6769['currentUser']=_0x2ca8e3['getCurrentUser']();_0x1d6769['license']=_0x563d2f;_0x1d6769['setting']=_0x3f9f0d;_0x1d6769[_0x477d('0xd69')]=_0x1d6769[_0x477d('0xc8e')][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x1d6769[_0x477d('0x3cc')]=_0x2a51db[_0x477d('0x3ce')]()+_0x477d('0x1209')+_0x2a51db[_0x477d('0x3c9')]();_0x1d6769['openchannelAccount']=_0xa1bbe0||_0x3a6df6[_0x477d('0x37e')][_0x477d('0xb16')]||{};_0x1d6769[_0x477d('0x3ac')]=_0xba28a&&_0xba28a['count']==0x1?_0xba28a['rows'][0x0]:null;_0x1d6769[_0x477d('0xd66')]=_0x2ca8e3[_0x477d('0xd81')](_0x1d6769['userProfileSection']?_0x1d6769[_0x477d('0x3ac')]['crudPermissions']:null);_0x1d6769[_0x477d('0xd68')]={};_0x1d6769['selectedTab']=_0x3a6df6[_0x477d('0x37e')][_0x477d('0xe96')]||0x0;_0x1d6769[_0x477d('0x1222')]=_0x3b2bc0;_0x1d6769['alert']=_0x9f8fc0[_0x477d('0x669')];_0x1d6769[_0x477d('0x1f56')]=_0x210698;_0x1d6769[_0x477d('0x1ef9')]=_0x24f1d3;_0x2ca8e3[_0x477d('0x56')]('admin')?_0x31f93f[_0x477d('0xe3f')]['get']({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x547d99){_0x1d6769[_0x477d('0xf1')]=_0x547d99['rows']||[];})['catch'](function(_0x2c09af){_0x9f8fc0['error']({'title':_0x2c09af[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x2c09af[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x2c09af[_0x477d('0x44d')]:_0x477d('0x1228'),'msg':_0x2c09af['data']?JSON[_0x477d('0x3fb')](_0x2c09af['data']):_0x2c09af['toString']()});}):_0x31f93f[_0x477d('0xe3f')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':'name'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x251dfd){_0x1d6769[_0x477d('0xf1')]=_0x251dfd['rows']||[];})[_0x477d('0x76')](function(){return _0x31f93f['userProfileSection']['get']({'userProfileId':_0x1d6769[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x12d})[_0x477d('0x38b')];})['then'](function(_0x559f28){var _0x2f03d3=_0x559f28&&_0x559f28[_0x477d('0xf2')]?_0x559f28['rows'][0x0]:null;if(!_0x2f03d3){var _0x4b4606=[];var _0x27288e=null;if(_0x1d6769[_0x477d('0xb16')]){_0x27288e=_[_0x477d('0x10a')](_0x1d6769[_0x477d('0xf1')],{'id':Number(_0x1d6769['openchannelAccount'][_0x477d('0x1229')])});}for(var _0x516e5e=0x0;_0x516e5e<_0x1d6769[_0x477d('0xf1')][_0x477d('0x79')];_0x516e5e++){if(_0x27288e&&_0x1d6769[_0x477d('0xf1')][_0x516e5e]['id']===_0x27288e['id']){_0x1d6769[_0x477d('0xf1')][_0x516e5e]['canSelect']=![];_0x4b4606[_0x477d('0x3a7')](_0x1d6769[_0x477d('0xf1')][_0x516e5e]);}}_0x1d6769[_0x477d('0xf1')]=_0x4b4606;}else{if(!_0x2f03d3[_0x477d('0x3ad')]){return _0x31f93f[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x2f03d3['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x34936b){var _0x47dcf2=_[_0x477d('0x3cb')](_0x34936b[_0x477d('0xf2')],function(_0x194633){return _['find'](_0x1d6769[_0x477d('0xf1')],{'id':_0x194633['resourceId']});});var _0x44bf61=null;if(_0x1d6769[_0x477d('0xb16')]){_0x44bf61=_['find'](_0x1d6769[_0x477d('0xf1')],{'id':Number(_0x1d6769[_0x477d('0xb16')]['ListId'])});}if(_0x44bf61&&!_[_0x477d('0x3ab')](_0x47dcf2,['id',_0x44bf61['id']])){var _0x5bcc54=_[_0x477d('0x10a')](_0x1d6769[_0x477d('0xf1')],{'id':_0x44bf61['id']});_0x5bcc54[_0x477d('0xf8b')]=![];_0x47dcf2['push'](_0x5bcc54);}_0x1d6769[_0x477d('0xf1')]=_0x47dcf2;});}}})['catch'](function(_0x5e6a0c){_0x9f8fc0[_0x477d('0x44a')]({'title':_0x5e6a0c['status']?'API:'+_0x5e6a0c[_0x477d('0x3c3')]+'\x20-\x20'+_0x5e6a0c[_0x477d('0x44d')]:_0x477d('0x122a'),'msg':_0x5e6a0c[_0x477d('0x451')]?JSON['stringify'](_0x5e6a0c['data']):_0x5e6a0c[_0x477d('0x453')]()});});_0x31f93f[_0x477d('0xb6c')][_0x477d('0xe27')]({'id':_0x1d6769[_0x477d('0xb16')][_0x477d('0x1229')]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x4d6f63){_0x1d6769[_0x477d('0x458')]=[];var _0x4d6f63=_[_0x477d('0x445')](_0x4d6f63[_0x477d('0xd71')]());var _0x388148=['id','createdAt','updatedAt',_0x477d('0x1f57'),_0x477d('0x14d1'),_0x477d('0x1229'),_0x477d('0x132b')];for(var _0x3de614=0x0;_0x3de614<_0x4d6f63[_0x477d('0x79')];_0x3de614++){if(!_['includes'](_0x388148,_0x4d6f63[_0x3de614][_0x477d('0x16a3')])){_0x1d6769[_0x477d('0x458')]['push'](_0x4d6f63[_0x3de614]);}}})[_0x477d('0xf8')](function(_0x2e587d){_0x9f8fc0[_0x477d('0x44a')]({'title':_0x2e587d[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x2e587d[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x2e587d['statusText']:_0x477d('0x1f58'),'msg':_0x2e587d[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x2e587d[_0x477d('0x451')]):_0x2e587d[_0x477d('0x453')]()});});_0x2ca8e3[_0x477d('0x56')](_0x477d('0x5f'))?_0x31f93f['pause']['get']({'fields':_0x477d('0x13b2'),'sort':'name','nolimit':'true'})['$promise'][_0x477d('0x76')](function(_0x57d057){_0x1d6769[_0x477d('0xf39')]=_0x57d057['rows']||[];})[_0x477d('0xf8')](function(_0xa91d0e){_0x9f8fc0[_0x477d('0x44a')]({'title':_0xa91d0e[_0x477d('0x3c3')]?_0x477d('0x44b')+_0xa91d0e[_0x477d('0x3c3')]+'\x20-\x20'+_0xa91d0e[_0x477d('0x44d')]:_0x477d('0x13b3'),'msg':_0xa91d0e['data']?JSON[_0x477d('0x3fb')](_0xa91d0e['data']):_0xa91d0e[_0x477d('0x453')]()});}):_0x31f93f[_0x477d('0x657')][_0x477d('0x376')]({'fields':_0x477d('0x13b2'),'sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')]['then'](function(_0x2b3c98){_0x1d6769['pauses']=_0x2b3c98['rows']||[];})[_0x477d('0x76')](function(){return _0x31f93f[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x1d6769['currentUser'][_0x477d('0x61')],'sectionId':0x3ed})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x193e68){var _0xcf8078=_0x193e68&&_0x193e68[_0x477d('0xf2')]?_0x193e68['rows'][0x0]:null;if(!_0xcf8078){_0x1d6769[_0x477d('0xf39')]=[];}else{if(!_0xcf8078[_0x477d('0x3ad')]){return _0x31f93f[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0xcf8078['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x502b05){var _0x520527=_['map'](_0x502b05['rows'],function(_0x5ecf3e){return _[_0x477d('0x10a')](_0x1d6769[_0x477d('0xf39')],{'id':_0x5ecf3e[_0x477d('0x3af')]});});_0x1d6769[_0x477d('0xf39')][_0x477d('0x3b1')](function(_0x35dd67){if(!_[_0x477d('0x3ab')](_0x520527,['id',_0x35dd67['id']])){_0x35dd67[_0x477d('0xf8b')]=![];}_0x520527[_0x477d('0x3a7')](_0x35dd67);});_0x1d6769[_0x477d('0xf39')]=_0x520527;});}}})[_0x477d('0xf8')](function(_0x38abd5){_0x9f8fc0[_0x477d('0x44a')]({'title':_0x38abd5['status']?_0x477d('0x44b')+_0x38abd5[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x38abd5[_0x477d('0x44d')]:_0x477d('0x1958'),'msg':_0x38abd5[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x38abd5[_0x477d('0x451')]):_0x38abd5['toString']()});});function _0x3b2bc0(_0x5998cd,_0xb32a68){_0x39ccc6['show']({'controller':_0x477d('0x1f11'),'controllerAs':'vm','templateUrl':_0x477d('0x1f59'),'parent':angular['element'](_0x1fdf3b[_0x477d('0x399')]),'targetEvent':_0xb32a68,'clickOutsideToClose':!![],'locals':{'openchannelAccount':_0x5998cd,'openchannelAccounts':_0x1d6769[_0x477d('0x160d')]?_0x1d6769[_0x477d('0x160d')][_0x477d('0xf2')]:[],'crudPermissions':_0x1d6769[_0x477d('0xd66')],'realtime':![]}});}function _0x210698(){_0x3a6df6['go'](_0x477d('0x1f5a'),{},{'reload':_0x477d('0x1f5a')});}function _0x24f1d3(){_0x31f93f[_0x477d('0xb16')][_0x477d('0x710')]({'id':_0x1d6769[_0x477d('0xb16')]['id']},_0x1d6769[_0x477d('0xb16')])['$promise']['then'](function(){_0x9f8fc0[_0x477d('0x485')]({'title':_0x477d('0x1f5b'),'msg':_0x1d6769[_0x477d('0xb16')]['name']?_0x1d6769['openchannelAccount'][_0x477d('0x94')]+_0x477d('0xed7'):''});})[_0x477d('0xf8')](function(_0x5ee5fd){_0x9f8fc0['error']({'title':_0x5ee5fd['status']?_0x477d('0x44b')+_0x5ee5fd['status']+'\x20-\x20'+_0x5ee5fd[_0x477d('0x44d')]:_0x477d('0x1f26'),'msg':_0x5ee5fd['data']?JSON[_0x477d('0x3fb')](_0x5ee5fd[_0x477d('0x451')]):_0x5ee5fd[_0x477d('0x453')]()});});}}}());(function(){'use strict';_0x50ba67[_0x477d('0xa')]=[_0x477d('0x474'),'$window',_0x477d('0x3c4'),_0x477d('0x554'),_0x477d('0x384'),'$document',_0x477d('0x3fe'),_0x477d('0x40d'),'openchannelAccounts','userProfile',_0x477d('0x3ac'),_0x477d('0x386'),_0x477d('0x342'),_0x477d('0x40e'),_0x477d('0x55'),'license',_0x477d('0xc8e')];angular[_0x477d('0xb')](_0x477d('0x33'))['controller'](_0x477d('0x1f5c'),_0x50ba67);function _0x50ba67(_0x6979b4,_0xc25409,_0x4881a4,_0xad323a,_0x2421f4,_0x1c3e25,_0x2a914f,_0x380070,_0x3f5f38,_0xb94d31,_0x2376b9,_0x5a1235,_0x418935,_0x41f93a,_0x29cdea,_0x5d9eb8,_0x37b750){var _0x59f538=this;_0x59f538[_0x477d('0x613')]=_0x5d9eb8;_0x59f538[_0x477d('0xc8e')]=_0x37b750;_0x59f538['currentUser']=_0x29cdea[_0x477d('0x5c')]();_0x59f538['openchannelAccounts']=_0x3f5f38||{'count':0x0,'rows':[]};_0x59f538['userProfile']=_0xb94d31;_0x59f538[_0x477d('0x3ac')]=_0x2376b9&&_0x2376b9[_0x477d('0x3bb')]==0x1?_0x2376b9[_0x477d('0xf2')][0x0]:null;_0x59f538[_0x477d('0xd66')]=_0x29cdea[_0x477d('0xd81')](_0x59f538[_0x477d('0x3ac')]?_0x59f538['userProfileSection'][_0x477d('0xd66')]:null);_0x59f538[_0x477d('0xd82')]=_0x477d('0x160d');_0x59f538[_0x477d('0xd83')]='';_0x59f538[_0x477d('0xd84')]=null;_0x59f538['selectedOpenchannelAccounts']=[];_0x59f538[_0x477d('0x3ef')]={'fields':_0x477d('0x232'),'sort':_0x477d('0x59'),'limit':0xa,'page':0x1};_0x59f538['editstate']=_0x476a66;_0x59f538[_0x477d('0x1971')]=_0x2f030d;_0x59f538[_0x477d('0x1222')]=_0x3392fd;_0x59f538[_0x477d('0xd88')]=_0x4fd2ae;_0x59f538[_0x477d('0x485')]=_0x3bfe4c;_0x59f538[_0x477d('0x1607')]=_0x382d2d;_0x59f538[_0x477d('0x1f5d')]=_0x1fac54;_0x59f538[_0x477d('0x1efa')]=_0x940027;_0x59f538['exportSelectedOpenchannelAccounts']=_0x1d6857;_0x59f538[_0x477d('0x1f5e')]=_0x4869a7;_0x59f538[_0x477d('0x1f5f')]=_0x349dd3;_0x59f538[_0x477d('0x1f60')]=_0x1e56b3;_0x29cdea[_0x477d('0x56')](_0x477d('0x5f'))?_0x5a1235[_0x477d('0xe3f')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94')})['$promise']['then'](function(_0x58812e){_0x59f538['lists']=_0x58812e['rows']||[];})[_0x477d('0xf8')](function(_0x5dafc4){_0x41f93a[_0x477d('0x44a')]({'title':_0x5dafc4['status']?'API:'+_0x5dafc4[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x5dafc4[_0x477d('0x44d')]:_0x477d('0x1228'),'msg':_0x5dafc4[_0x477d('0x451')]?JSON['stringify'](_0x5dafc4[_0x477d('0x451')]):_0x5dafc4[_0x477d('0x453')]()});}):_0x5a1235[_0x477d('0xe3f')][_0x477d('0x376')]({'fields':'id,name','sort':'name'})['$promise']['then'](function(_0x11a55a){_0x59f538['lists']=_0x11a55a[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x5a1235[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x59f538[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x12d})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x379f70){var _0x5cd76b=_0x379f70&&_0x379f70[_0x477d('0xf2')]?_0x379f70[_0x477d('0xf2')][0x0]:null;if(!_0x5cd76b){var _0x9c7c50=[];var _0x773422=null;if(_0x59f538['openchannelAccount']){_0x773422=_['find'](_0x59f538[_0x477d('0xf1')],{'id':Number(_0x59f538['openchannelAccount'][_0x477d('0x1229')])});}for(var _0x264a1=0x0;_0x264a1<_0x59f538[_0x477d('0xf1')]['length'];_0x264a1++){if(_0x773422&&_0x59f538[_0x477d('0xf1')][_0x264a1]['id']===_0x773422['id']){_0x59f538[_0x477d('0xf1')][_0x264a1][_0x477d('0xf8b')]=![];_0x9c7c50['push'](_0x59f538[_0x477d('0xf1')][_0x264a1]);}}_0x59f538['lists']=_0x9c7c50;}else{if(!_0x5cd76b[_0x477d('0x3ad')]){return _0x5a1235[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x5cd76b['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x291b65){var _0x54b43b=_[_0x477d('0x3cb')](_0x291b65[_0x477d('0xf2')],function(_0x222471){return _[_0x477d('0x10a')](_0x59f538[_0x477d('0xf1')],{'id':_0x222471[_0x477d('0x3af')]});});var _0x5009ed=null;if(_0x59f538[_0x477d('0xb16')]){_0x5009ed=_[_0x477d('0x10a')](_0x59f538[_0x477d('0xf1')],{'id':Number(_0x59f538[_0x477d('0xb16')][_0x477d('0x1229')])});}if(_0x5009ed&&!_['some'](_0x54b43b,['id',_0x5009ed['id']])){var _0x27f7e9=_[_0x477d('0x10a')](_0x59f538[_0x477d('0xf1')],{'id':_0x5009ed['id']});_0x27f7e9[_0x477d('0xf8b')]=![];_0x54b43b[_0x477d('0x3a7')](_0x27f7e9);}_0x59f538[_0x477d('0xf1')]=_0x54b43b;});}}})['catch'](function(_0x38083e){_0x41f93a[_0x477d('0x44a')]({'title':_0x38083e[_0x477d('0x3c3')]?'API:'+_0x38083e['status']+_0x477d('0x44c')+_0x38083e[_0x477d('0x44d')]:'SYSTEM:GETlists','msg':_0x38083e[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x38083e[_0x477d('0x451')]):_0x38083e['toString']()});});function _0x476a66(_0x1b94fc,_0x22d876){_0x4881a4['go']('app.openchannel.openchannelAccounts.edit',{'id':_0x1b94fc['id'],'openchannelAccount':_0x1b94fc,'crudPermissions':_0x59f538[_0x477d('0xd66')]});}function _0x2f030d(_0x46eb9b,_0x3fe717){_0x4881a4['go'](_0x477d('0x233'),{'id':_0x46eb9b['id'],'tab':0x5});}function _0x3392fd(_0x284e22,_0x13572d){_0x2421f4[_0x477d('0x395')]({'controller':'OpenchannelAccountagentaddController','controllerAs':'vm','templateUrl':'app/main/apps/openchannel/views/openchannelAccounts/edit/agentadd/agentadd.html','parent':angular['element'](_0x1c3e25[_0x477d('0x399')]),'targetEvent':_0x13572d,'clickOutsideToClose':!![],'locals':{'openchannelAccount':_0x284e22,'openchannelAccounts':_0x59f538['openchannelAccounts']?_0x59f538[_0x477d('0x160d')][_0x477d('0xf2')]:[],'crudPermissions':_0x59f538['crudPermissions'],'realtime':![]}});}function _0x4fd2ae(_0x221ca4,_0x33358d){var _0x58b97e=_0x2421f4[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xd90')+_[_0x477d('0xd91')](_0x477d('0xb16'))+'?')[_0x477d('0xd92')](_0x477d('0xd93')+(_0x221ca4[_0x477d('0x94')]||_0x477d('0xb16'))+_0x477d('0xd94')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x1f61'))[_0x477d('0xd7c')](_0x33358d)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x2421f4[_0x477d('0x395')](_0x58b97e)[_0x477d('0x76')](function(){_0x940027(_0x221ca4);},function(){console[_0x477d('0x7b')](_0x477d('0xd97'));});}var _0xa60ca9=!![];var _0x31682e=0x1;_0x6979b4[_0x477d('0x4b5')]('vm.query.filter',function(_0x4f10a0,_0x112414){if(_0xa60ca9){_0x2a914f(function(){_0xa60ca9=![];});}else{if(!_0x112414){_0x31682e=_0x59f538[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x4f10a0!==_0x112414){_0x59f538[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0x4f10a0){_0x59f538['query']['page']=_0x31682e;}_0x59f538[_0x477d('0x1607')]();}});function _0x3bfe4c(_0x9140ab){_0x59f538[_0x477d('0x160d')]=_0x9140ab||{'count':0x0,'rows':[]};}function _0x382d2d(){_0x59f538[_0x477d('0x3ef')][_0x477d('0x91c')]=(_0x59f538[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x59f538[_0x477d('0x3ef')][_0x477d('0x91d')];if(_0x29cdea['hasRole'](_0x477d('0x5f'))){_0x59f538[_0x477d('0x553')]=_0x5a1235[_0x477d('0xb16')][_0x477d('0x376')](_0x59f538[_0x477d('0x3ef')],_0x3bfe4c)[_0x477d('0x38b')];}else{_0x59f538[_0x477d('0x3ef')]['id']=_0x59f538['userProfile']['id'];_0x59f538[_0x477d('0x3ef')][_0x477d('0xd99')]=_0x477d('0x142');_0x59f538[_0x477d('0x553')]=_0x5a1235['userProfile']['getResources'](_0x59f538[_0x477d('0x3ef')],_0x3bfe4c)[_0x477d('0x38b')];}}function _0x1fac54(_0x231b1f,_0x3d0366){_0x2421f4[_0x477d('0x395')]({'controller':_0x477d('0x1ef4'),'controllerAs':'vm','templateUrl':_0x477d('0x1f62'),'parent':angular[_0x477d('0x398')](_0x1c3e25[_0x477d('0x399')]),'targetEvent':_0x231b1f,'clickOutsideToClose':!![],'locals':{'openchannelAccount':_0x3d0366,'openchannelAccounts':_0x59f538[_0x477d('0x160d')][_0x477d('0xf2')],'license':_0x59f538[_0x477d('0x613')],'setting':_0x59f538[_0x477d('0xc8e')],'crudPermissions':_0x59f538[_0x477d('0xd66')]}});}function _0x940027(_0x508ac0){_0x5a1235[_0x477d('0xb16')][_0x477d('0xa55')]({'id':_0x508ac0['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x59f538[_0x477d('0x160d')][_0x477d('0xf2')],{'id':_0x508ac0['id']});_0x59f538[_0x477d('0x160d')][_0x477d('0x3bb')]-=0x1;if(!_0x59f538[_0x477d('0x160d')]['rows'][_0x477d('0x79')]){_0x59f538['getOpenchannelAccounts']();}_0x41f93a[_0x477d('0x485')]({'title':_[_0x477d('0xd91')](_0x477d('0x1f63'))+_0x477d('0xd9d'),'msg':_0x508ac0[_0x477d('0x94')]?_0x508ac0[_0x477d('0x94')]+'\x20has\x20been\x20deleted!':''});})[_0x477d('0xf8')](function(_0x435aa7){if(_0x435aa7[_0x477d('0x451')]&&_0x435aa7['data'][_0x477d('0xd67')]&&_0x435aa7['data']['errors']['length']){_0x59f538[_0x477d('0xd67')]=_0x435aa7[_0x477d('0x451')]['errors']||[{'message':_0x435aa7[_0x477d('0x453')](),'type':_0x477d('0x1f64')}];for(var _0x492594=0x0;_0x492594<_0x435aa7[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x492594++){_0x41f93a['error']({'title':_0x435aa7[_0x477d('0x451')][_0x477d('0xd67')][_0x492594][_0x477d('0x439')],'msg':_0x435aa7['data'][_0x477d('0xd67')][_0x492594][_0x477d('0x452')]});}}else{_0x41f93a[_0x477d('0x44a')]({'title':_0x435aa7[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x435aa7[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x435aa7[_0x477d('0x44d')]:_0x477d('0x1f64'),'msg':_0x435aa7[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x435aa7[_0x477d('0x451')][_0x477d('0x452')]):_0x435aa7['message']||_0x435aa7[_0x477d('0x453')]()});}});}function _0x1d6857(){var _0x5be9e4=angular[_0x477d('0x6d9')](_0x59f538['selectedOpenchannelAccounts']);_0x59f538[_0x477d('0x1f65')]=[];return _0x5be9e4;}function _0x4869a7(_0x2ffc98){var _0x257a15=_0x2421f4[_0x477d('0xd78')]()[_0x477d('0x49a')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20openchannelAccounts?')['htmlContent'](_0x477d('0xd93')+_0x59f538[_0x477d('0x1f65')][_0x477d('0x79')]+_0x477d('0xda0')+_0x477d('0xd95'))['ariaLabel'](_0x477d('0x1f66'))[_0x477d('0xd7c')](_0x2ffc98)['ok']('OK')[_0x477d('0x4f0')]('CANCEL');_0x2421f4[_0x477d('0x395')](_0x257a15)['then'](function(){_0x59f538[_0x477d('0x1f65')][_0x477d('0x3b1')](function(_0x389c99){_0x940027(_0x389c99);});_0x59f538[_0x477d('0x1f65')]=[];});}function _0x349dd3(){_0x59f538[_0x477d('0x1f65')]=[];}function _0x1e56b3(){_0x59f538[_0x477d('0x1f65')]=_0x59f538[_0x477d('0x160d')][_0x477d('0xf2')];}}}());(function(){'use strict';_0xef64ac[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x3c4'),_0x477d('0xd64'),_0x477d('0x384'),'$q','$translate',_0x477d('0x40e'),_0x477d('0x170b'),_0x477d('0xb2c'),_0x477d('0x386'),_0x477d('0x55'),_0x477d('0x613'),_0x477d('0xc8e'),_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x33'))[_0x477d('0x3ba')]('CreateOrEditOpenchannelQueueDialogController',_0xef64ac);function _0xef64ac(_0x4998d0,_0x5e2ffb,_0x568fd6,_0x1e49a2,_0x584e9e,_0x25a9c1,_0xae6802,_0x321d22,_0x1a08f1,_0x209102,_0x26aaa8,_0x3db3ce,_0x8fa6ad,_0x23eab3){var _0x8b717=this;_0x8b717[_0x477d('0x3e5')]=_0x26aaa8[_0x477d('0x5c')]();_0x8b717[_0x477d('0xd67')]=[];_0x8b717[_0x477d('0xc8e')]=_0x8fa6ad;_0x8b717['license']=_0x3db3ce;_0x8b717[_0x477d('0xd66')]=_0x23eab3;_0x8b717[_0x477d('0xd68')]={};_0x8b717[_0x477d('0xd69')]=_0x8b717[_0x477d('0xc8e')]&&_0x8b717['setting']['securePassword']?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x8b717[_0x477d('0x49a')]='OPENCHANNEL.EDIT_OPENCHANNELQUEUE';_0x8b717[_0x477d('0xb2c')]=angular[_0x477d('0x6d9')](_0x1a08f1);_0x8b717['openchannelQueues']=_0x321d22;_0x8b717[_0x477d('0x1f67')]=![];if(!_0x8b717['openchannelQueue']){_0x8b717[_0x477d('0xb2c')]={'strategy':_0x477d('0x11e7'),'timeout':0xa};_0x8b717[_0x477d('0x49a')]=_0x477d('0x1f68');_0x8b717[_0x477d('0x1f67')]=!![];}_0x8b717[_0x477d('0x1f69')]=_0x45749d;_0x8b717[_0x477d('0x1f6a')]=_0x46fba9;_0x8b717['deleteOpenchannelQueue']=_0x57d175;_0x8b717[_0x477d('0xd6f')]=_0x35103f;_0x8b717[_0x477d('0x6bf')]=_0x5f9957;function _0x45749d(){_0x8b717[_0x477d('0xd67')]=[];_0x209102[_0x477d('0xb2c')][_0x477d('0xd70')](_0x8b717[_0x477d('0xb2c')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x3f2388){_0x8b717[_0x477d('0x170b')][_0x477d('0x63b')](_0x3f2388[_0x477d('0xd71')]());_0xae6802[_0x477d('0x485')]({'title':_0x477d('0x1f6b'),'msg':_0x8b717[_0x477d('0xb2c')][_0x477d('0x94')]?_0x8b717[_0x477d('0xb2c')][_0x477d('0x94')]+_0x477d('0xd73'):''});_0x5f9957(_0x3f2388);})[_0x477d('0xf8')](function(_0x53f7c3){if(_0x53f7c3[_0x477d('0x451')]&&_0x53f7c3[_0x477d('0x451')][_0x477d('0xd67')]&&_0x53f7c3[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x8b717[_0x477d('0xd67')]=_0x53f7c3['data'][_0x477d('0xd67')]||[{'message':_0x53f7c3[_0x477d('0x453')](),'type':'api.openchannelQueue.save'}];for(var _0x4501c2=0x0;_0x4501c2<_0x53f7c3[_0x477d('0x451')]['errors']['length'];_0x4501c2+=0x1){_0xae6802[_0x477d('0x44a')]({'title':_0x53f7c3['data']['errors'][_0x4501c2][_0x477d('0x439')],'msg':_0x53f7c3[_0x477d('0x451')][_0x477d('0xd67')][_0x4501c2][_0x477d('0x452')]});}}else{_0xae6802[_0x477d('0x44a')]({'title':_0x53f7c3[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x53f7c3[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x53f7c3[_0x477d('0x44d')]:_0x477d('0x1f6c'),'msg':_0x53f7c3[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x53f7c3[_0x477d('0x451')][_0x477d('0x452')]):_0x53f7c3[_0x477d('0x453')]()});}});}function _0x46fba9(){_0x8b717[_0x477d('0xd67')]=[];_0x209102[_0x477d('0xb2c')][_0x477d('0x710')]({'id':_0x8b717['openchannelQueue']['id']},_0x8b717[_0x477d('0xb2c')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x16a6fa){var _0x3b242d=_['find'](_0x8b717[_0x477d('0x170b')],{'id':_0x16a6fa['id']});if(_0x3b242d){_['merge'](_0x3b242d,_[_0x477d('0x10b')](_0x16a6fa[_0x477d('0xd71')](),_[_0x477d('0x7f')](_0x3b242d)));}_0xae6802[_0x477d('0x485')]({'title':_0x477d('0x1f6d'),'msg':_0x8b717['openchannelQueue'][_0x477d('0x94')]?_0x8b717[_0x477d('0xb2c')][_0x477d('0x94')]+_0x477d('0xd76'):''});_0x5f9957(_0x16a6fa);})[_0x477d('0xf8')](function(_0xa7c3eb){if(_0xa7c3eb[_0x477d('0x451')]&&_0xa7c3eb['data'][_0x477d('0xd67')]&&_0xa7c3eb['data'][_0x477d('0xd67')][_0x477d('0x79')]){_0x8b717[_0x477d('0xd67')]=_0xa7c3eb[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0xa7c3eb[_0x477d('0x453')](),'type':'api.openchannelQueue.update'}];for(var _0xe76f2b=0x0;_0xe76f2b<_0xa7c3eb['data'][_0x477d('0xd67')][_0x477d('0x79')];_0xe76f2b++){_0xae6802['error']({'title':_0xa7c3eb[_0x477d('0x451')][_0x477d('0xd67')][_0xe76f2b][_0x477d('0x439')],'msg':_0xa7c3eb[_0x477d('0x451')]['errors'][_0xe76f2b][_0x477d('0x452')]});}}else{_0xae6802['error']({'title':_0xa7c3eb[_0x477d('0x3c3')]?_0x477d('0x44b')+_0xa7c3eb['status']+_0x477d('0x44c')+_0xa7c3eb['statusText']:_0x477d('0x1f6e'),'msg':_0xa7c3eb[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0xa7c3eb['data'][_0x477d('0x452')]):_0xa7c3eb[_0x477d('0x453')]()});}});}function _0x57d175(_0x19d9e8){_0x8b717[_0x477d('0xd67')]=[];var _0x30524e=_0x1e49a2['confirm']()[_0x477d('0x49a')](_0x477d('0xd79'))[_0x477d('0xdaf')](_0x477d('0x1f6f'))[_0x477d('0x687')](_0x477d('0x1f70'))['ok'](_0x477d('0xd7b'))[_0x477d('0x4f0')](_0x477d('0x688'))['targetEvent'](_0x19d9e8);_0x1e49a2[_0x477d('0x395')](_0x30524e)[_0x477d('0x76')](function(){_0x209102[_0x477d('0xb2c')][_0x477d('0xa55')]({'id':_0x8b717[_0x477d('0xb2c')]['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x8b717['openchannelQueues'],{'id':_0x8b717[_0x477d('0xb2c')]['id']});_0xae6802[_0x477d('0x485')]({'title':'OpenchannelQueue\x20properly\x20deleted!','msg':(_0x8b717[_0x477d('0xb2c')]['name']||_0x477d('0xb2c'))+_0x477d('0xd7e')});_0x5f9957(_0x8b717['openchannelQueue']);})['catch'](function(_0x5f0864){if(_0x5f0864['data']&&_0x5f0864[_0x477d('0x451')]['errors']&&_0x5f0864[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x8b717[_0x477d('0xd67')]=_0x5f0864[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x5f0864[_0x477d('0x453')](),'type':_0x477d('0x1f71')}];for(var _0x56d43b=0x0;_0x56d43b<_0x5f0864[_0x477d('0x451')]['errors'][_0x477d('0x79')];_0x56d43b++){_0xae6802[_0x477d('0x44a')]({'title':_0x5f0864['data'][_0x477d('0xd67')][_0x56d43b]['type'],'msg':_0x5f0864[_0x477d('0x451')][_0x477d('0xd67')][_0x56d43b][_0x477d('0x452')]});}}else{_0xae6802[_0x477d('0x44a')]({'title':_0x5f0864['status']?'API:'+_0x5f0864[_0x477d('0x3c3')]+'\x20-\x20'+_0x5f0864[_0x477d('0x44d')]:_0x477d('0x1f71'),'msg':_0x5f0864[_0x477d('0x451')]?JSON['stringify'](_0x5f0864[_0x477d('0x451')][_0x477d('0x452')]):_0x5f0864[_0x477d('0x452')]||_0x5f0864['toString']()});}});},function(){});}function _0x35103f(_0x27ba03){return _0x27ba03===null?undefined:new Date(_0x27ba03);}function _0x5f9957(_0x2ba20b){_0x1e49a2['hide'](_0x2ba20b);}}}());(function(){'use strict';_0x44320f[_0x477d('0xa')]=[_0x477d('0x384'),'$q',_0x477d('0x40e'),_0x477d('0x386'),_0x477d('0xb2c'),_0x477d('0x170b'),_0x477d('0x11f1'),_0x477d('0x40d'),'Auth',_0x477d('0xd66')];angular[_0x477d('0xb')]('app.openchannel')[_0x477d('0x3ba')](_0x477d('0x1f72'),_0x44320f);function _0x44320f(_0x20c650,_0x370043,_0x25ad09,_0x41bb75,_0x2fc381,_0x45fc2e,_0x15bf3e,_0x3e5716,_0x5aaffa,_0x1ace83){var _0x4455fc=this;_0x4455fc['currentUser']=_0x5aaffa[_0x477d('0x5c')]();_0x4455fc[_0x477d('0xb2c')]=_0x2fc381;_0x4455fc[_0x477d('0xd66')]=_0x1ace83;_0x4455fc[_0x477d('0x11f1')]=_0x15bf3e;_0x4455fc['items']=[];_0x4455fc[_0x477d('0x11f7')]=[];_0x4455fc['selectedItems']=[];_0x4455fc['startingAllowedItems']=[];_0x4455fc['startingSelectedItems']=[];_0x4455fc[_0x477d('0x11f5')]=![];_0x4455fc[_0x477d('0x71a')]=_0x270867;_0x4455fc[_0x477d('0x11f3')]=_0x2e67d8;_0x4455fc[_0x477d('0x6bf')]=_0x3ddabc;_0x4455fc['dualMultiselectOptions']={'readOnly':!_0x4455fc[_0x477d('0xd66')]['canEdit'],'items':[],'selectedItems':[],'showSelectAndDeselectAll':!![],'orderBy':_0x477d('0x94'),'line1':_0x477d('0xcd'),'line2':[_0x477d('0x94'),'internal'],'line3':'','labelAll':_0x3e5716[_0x477d('0x45f')](_0x477d('0x1f12')),'labelSelected':_0x3e5716[_0x477d('0x45f')](_0x477d('0x1f13')),'transferCallback':function(_0x236904,_0x45997b){var _0x39b3c5=_['xorBy'](_0x4455fc[_0x477d('0x11fd')],_0x4455fc[_0x477d('0x4a7')],'id');_0x4455fc[_0x477d('0x11f5')]=_[_0x477d('0x3b2')](_0x39b3c5)?![]:!![];}};function _0x270867(){return _0x5aaffa[_0x477d('0x56')](_0x477d('0x5f'))?_0xf76a64()[_0x477d('0xf8')](function(_0xaba77e){_0x25ad09[_0x477d('0x44a')]({'title':_0xaba77e[_0x477d('0x3c3')]?_0x477d('0x44b')+_0xaba77e[_0x477d('0x3c3')]+_0x477d('0x44c')+_0xaba77e[_0x477d('0x44d')]:_0x477d('0x11f6'),'msg':_0xaba77e[_0x477d('0x3c3')]?JSON[_0x477d('0x3fb')](_0xaba77e[_0x477d('0x451')]):_0xaba77e[_0x477d('0x453')]()});}):_0x446720()[_0x477d('0x76')](function(_0x198ba1){_0x4455fc[_0x477d('0xd99')]=_0x198ba1;return _0xf76a64();})[_0x477d('0xf8')](function(_0x50ef12){_0x25ad09[_0x477d('0x44a')]({'title':_0x50ef12[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x50ef12[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x50ef12['statusText']:_0x477d('0x11f6'),'msg':_0x50ef12['status']?JSON[_0x477d('0x3fb')](_0x50ef12[_0x477d('0x451')]):_0x50ef12[_0x477d('0x453')]()});});}function _0x446720(){return _0x370043(function(_0x2e7a68,_0x53033b){_0x41bb75['userProfileSection'][_0x477d('0x376')]({'userProfileId':_0x4455fc[_0x477d('0x3e5')][_0x477d('0x61')],'name':'Agents'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x41062e){var _0x4dfc30=_0x41062e&&_0x41062e[_0x477d('0xf2')]?_0x41062e[_0x477d('0xf2')][0x0]:null;_0x2e7a68(_0x4dfc30);})['catch'](function(_0x2ab2bc){_0x53033b(_0x2ab2bc);});});}function _0xf76a64(){return _0x370043(function(_0x516aa0,_0x95f7f8){return _0x1d2e51()[_0x477d('0x76')](function(_0x2abd5d){_0x4455fc[_0x477d('0x4a6')]=_0x2abd5d[_0x477d('0xf2')]?_0x2abd5d[_0x477d('0xf2')]:[];if(_0x5aaffa[_0x477d('0x56')]('admin')){return _0x2abd5d;}else{if(_0x4455fc[_0x477d('0xd99')]){return _0x4455fc[_0x477d('0xd99')][_0x477d('0x3ad')]?_0x2abd5d:_0x52b297();}else{return null;}}})[_0x477d('0x76')](function(_0x30e527){var _0x3324d7=_0x30e527&&_0x30e527[_0x477d('0xf2')]?_0x30e527[_0x477d('0xf2')]:[];_0x4455fc[_0x477d('0x11f7')]=_['map'](_0x3324d7,function(_0x40cd3a){return _[_0x477d('0x10a')](_0x4455fc['items'],{'id':_0x5aaffa[_0x477d('0x56')](_0x477d('0x5f'))||_0x4455fc['section'][_0x477d('0x3ad')]?_0x40cd3a['id']:_0x40cd3a[_0x477d('0x3af')]});});_0x4455fc['startingAllowedItems']=angular['copy'](_0x4455fc[_0x477d('0x11f7')]);_0x4455fc[_0x477d('0x4a6')][_0x477d('0x3b1')](function(_0x5bcc96){var _0x764ba0=_[_0x477d('0x10a')](_0x4455fc[_0x477d('0x11f7')],{'id':_0x5bcc96['id']});if(_0x5aaffa[_0x477d('0x56')](_0x477d('0x5f'))){_0x5bcc96[_0x477d('0x4a3')]=!![];}else{_0x5bcc96['isValid']=typeof _0x764ba0!==_0x477d('0x4a4')?!![]:![];}});return _0x204723();})[_0x477d('0x76')](function(_0x3f9996){var _0x52fce1=_0x3f9996&&_0x3f9996[_0x477d('0xf2')]?_0x3f9996[_0x477d('0xf2')]:[];_0x4455fc[_0x477d('0x4a7')]=_[_0x477d('0x3cb')](_0x52fce1,function(_0x50861a){var _0x4ee98a=_[_0x477d('0x10a')](_0x4455fc[_0x477d('0x4a6')],{'id':_0x50861a['id']});_0x4ee98a[_0x477d('0x1184')]=_0x50861a[_0x477d('0x1f73')]?_0x477d('0x1529')+_0x50861a[_0x477d('0x1f73')][_0x477d('0x1184')]:'';_0x4ee98a[_0x477d('0x324')]=_0x50861a[_0x477d('0x3ea')](_0x477d('0x324'))?'<'+_0x50861a[_0x477d('0x324')]+'>':'';return _0x4ee98a;});_0x4455fc[_0x477d('0x11fd')]=angular[_0x477d('0x6d9')](_0x4455fc['selectedItems']);_0x4455fc[_0x477d('0x1185')]['selectedItems']=_0x4455fc[_0x477d('0x4a7')];_0x4455fc[_0x477d('0x1185')][_0x477d('0x4a6')]=_[_0x477d('0x11f8')](_0x4455fc[_0x477d('0x11f7')],_0x4455fc['dualMultiselectOptions'][_0x477d('0x4a7')],'id');_0x516aa0();})[_0x477d('0xf8')](function(_0x45efd3){_0x95f7f8(_0x45efd3);});});}function _0x52b297(){return _0x370043(function(_0x232984,_0x4ec7c4){return _0x41bb75[_0x477d('0x3ae')]['get']({'sectionId':_0x4455fc[_0x477d('0xd99')]['id'],'nolimit':!![]})[_0x477d('0x38b')]['then'](function(_0x5d7e3b){_0x232984(_0x5d7e3b);})[_0x477d('0xf8')](function(_0x155236){_0x4ec7c4(_0x155236);});});}function _0x204723(){return _0x370043(function(_0x5dc2b5,_0xbf8661){return _0x41bb75['openchannelQueue'][_0x477d('0x11f9')]({'id':_0x4455fc[_0x477d('0xb2c')]['id'],'fields':_0x477d('0x11fa'),'nolimit':!![],'role':_0x477d('0xcf')})[_0x477d('0x38b')]['then'](function(_0x9c6753){_0x5dc2b5(_0x9c6753);})[_0x477d('0xf8')](function(_0x333e5e){_0xbf8661(_0x333e5e);});});}function _0x1d2e51(){return _0x370043(function(_0x153d73,_0x4f844b){return _0x41bb75[_0x477d('0x380')][_0x477d('0x376')]({'fields':'id,name,internal,fullname','nolimit':!![],'role':_0x477d('0xcf')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x4ed1b7){_0x153d73(_0x4ed1b7);})['catch'](function(_0x136a3d){_0x4f844b(_0x136a3d);});});}function _0x4d2dad(_0x155426){return _0x370043(function(_0x82ba24,_0x5811fc){if(_[_0x477d('0x3b2')](_0x155426)){_0x82ba24();}else{_0x41bb75[_0x477d('0xb2c')][_0x477d('0x11fb')]({'id':_0x4455fc['openchannelQueue']['id'],'ids':_[_0x477d('0x3cb')](_0x155426,'id')})['$promise'][_0x477d('0x76')](function(){_0x82ba24();})[_0x477d('0xf8')](function(_0x575e5e){_0x5811fc(_0x575e5e);});}});}function _0x6960aa(_0x4b6dc3){return _0x370043(function(_0x5b09ca,_0x357969){if(_[_0x477d('0x3b2')](_0x4b6dc3)){_0x5b09ca();}else{_0x41bb75[_0x477d('0xb2c')]['removeAgents']({'id':_0x4455fc[_0x477d('0xb2c')]['id'],'ids':_[_0x477d('0x3cb')](_0x4b6dc3,'id')})[_0x477d('0x38b')]['then'](function(){_0x5b09ca();})[_0x477d('0xf8')](function(_0x406796){_0x357969(_0x406796);});}});}function _0x2e67d8(){var _0x4581ea=_[_0x477d('0x11f8')](_0x4455fc[_0x477d('0x11fd')],_0x4455fc['selectedItems'],'id');var _0x4d3ca0=_[_0x477d('0x11f8')](_0x4455fc[_0x477d('0x4a7')],_0x4455fc[_0x477d('0x11fd')],'id');return _0x6960aa(_0x4581ea)[_0x477d('0x76')](function(){return _0x4d2dad(_0x4d3ca0);})[_0x477d('0x76')](function(){_0x4455fc[_0x477d('0x11f5')]=![];_0x4455fc['startingAllowedItems']=angular[_0x477d('0x6d9')](_0x4455fc[_0x477d('0x11f7')]);_0x4455fc[_0x477d('0x11fd')]=angular['copy'](_0x4455fc[_0x477d('0x4a7')]);_0x25ad09['success']({'title':_0x477d('0x11fe'),'msg':'Agents\x20association\x20has\x20been\x20updated!'});})[_0x477d('0xf8')](function(_0x2e9909){_0x25ad09[_0x477d('0x44a')]({'title':_0x2e9909[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x2e9909[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x2e9909[_0x477d('0x44d')]:'SYSTEM:LISTS_ASSOCIATION','msg':_0x2e9909['status']?JSON['stringify'](_0x2e9909[_0x477d('0x451')]):_0x2e9909[_0x477d('0x453')]()});});}function _0x3ddabc(){_0x20c650[_0x477d('0x3bc')]();}}}());(function(){'use strict';_0x2eab22[_0x477d('0xa')]=['$mdDialog','$q','toasty',_0x477d('0x386'),_0x477d('0xb2c'),_0x477d('0x40d'),'Auth',_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x33'))[_0x477d('0x3ba')](_0x477d('0x1f74'),_0x2eab22);function _0x2eab22(_0x16e415,_0x1ebbba,_0x57023a,_0x3ab865,_0x3c8068,_0x1cef2b,_0x5a8192,_0x1dfe53){var _0x27d93a=this;_0x27d93a[_0x477d('0x3e5')]=_0x5a8192['getCurrentUser']();_0x27d93a['openchannelQueue']=_0x3c8068;_0x27d93a[_0x477d('0xd66')]=_0x1dfe53;_0x27d93a['items']=[];_0x27d93a[_0x477d('0x11f7')]=[];_0x27d93a[_0x477d('0x4a7')]=[];_0x27d93a[_0x477d('0x11f2')]=[];_0x27d93a['startingSelectedItems']=[];_0x27d93a[_0x477d('0x11f5')]=![];_0x27d93a[_0x477d('0x1185')]={'readOnly':!_0x27d93a[_0x477d('0xd66')][_0x477d('0xedb')],'allowedItems':[],'selectedItems':[],'showSelectAndDeselectAll':!![],'orderBy':_0x477d('0x94'),'line1':_0x477d('0x94'),'line2':'','line3':'','labelAll':_0x1cef2b[_0x477d('0x45f')](_0x477d('0x1f75')),'labelSelected':_0x1cef2b[_0x477d('0x45f')]('OPENCHANNEL.SELECTED_TEAMS'),'transferCallback':function(_0x21fe3e,_0x3e6a5e){var _0x1eb48f=_[_0x477d('0x11f4')](_0x27d93a['startingSelectedItems'],_0x27d93a[_0x477d('0x4a7')],'id');_0x27d93a[_0x477d('0x11f5')]=_[_0x477d('0x3b2')](_0x1eb48f)?![]:!![];}};_0x27d93a['onInit']=_0x109275;_0x27d93a[_0x477d('0x1203')]=_0x3a8414;_0x27d93a[_0x477d('0x6bf')]=_0x5832b3;function _0x109275(){return _0x5a8192[_0x477d('0x56')](_0x477d('0x5f'))?_0x5dc8d9()[_0x477d('0xf8')](function(_0x563459){_0x57023a[_0x477d('0x44a')]({'title':_0x563459['status']?_0x477d('0x44b')+_0x563459['status']+_0x477d('0x44c')+_0x563459['statusText']:'SYSTEM:GET_TEAMS','msg':_0x563459['status']?JSON[_0x477d('0x3fb')](_0x563459['data']):_0x563459[_0x477d('0x453')]()});}):_0xdb789f()[_0x477d('0x76')](function(_0x3d5b6d){_0x27d93a[_0x477d('0xd99')]=_0x3d5b6d;return _0x5dc8d9();})[_0x477d('0xf8')](function(_0x4a5484){_0x57023a[_0x477d('0x44a')]({'title':_0x4a5484['status']?_0x477d('0x44b')+_0x4a5484[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x4a5484[_0x477d('0x44d')]:_0x477d('0x1204'),'msg':_0x4a5484['status']?JSON[_0x477d('0x3fb')](_0x4a5484[_0x477d('0x451')]):_0x4a5484[_0x477d('0x453')]()});});}function _0xdb789f(){return _0x1ebbba(function(_0x5c1e33,_0x47e5d0){_0x3ab865[_0x477d('0x3ac')]['get']({'userProfileId':_0x27d93a['currentUser']['userProfileId'],'name':_0x477d('0x29f')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x26d5c4){var _0x17bab5=_0x26d5c4&&_0x26d5c4[_0x477d('0xf2')]?_0x26d5c4[_0x477d('0xf2')][0x0]:null;_0x5c1e33(_0x17bab5);})[_0x477d('0xf8')](function(_0x165383){_0x47e5d0(_0x165383);});});}function _0x5dc8d9(){return _0x1ebbba(function(_0x5a6607,_0x2afd3c){return _0x6ff103()[_0x477d('0x76')](function(_0x4ac098){_0x27d93a[_0x477d('0x4a6')]=_0x4ac098['rows']?_0x4ac098[_0x477d('0xf2')]:[];if(_0x5a8192[_0x477d('0x56')](_0x477d('0x5f'))){return _0x4ac098;}else{if(_0x27d93a[_0x477d('0xd99')]){return _0x27d93a[_0x477d('0xd99')]['autoAssociation']?_0x4ac098:_0x2b4494();}else{return null;}}})[_0x477d('0x76')](function(_0x48ac36){var _0x257cc8=_0x48ac36&&_0x48ac36[_0x477d('0xf2')]?_0x48ac36[_0x477d('0xf2')]:[];_0x27d93a[_0x477d('0x11f7')]=_[_0x477d('0x3cb')](_0x257cc8,function(_0x12c6c1){return _[_0x477d('0x10a')](_0x27d93a[_0x477d('0x4a6')],{'id':_0x5a8192[_0x477d('0x56')](_0x477d('0x5f'))||_0x27d93a[_0x477d('0xd99')][_0x477d('0x3ad')]?_0x12c6c1['id']:_0x12c6c1['resourceId']});});_0x27d93a[_0x477d('0x4a6')][_0x477d('0x3b1')](function(_0x5e59f8){var _0x5796a8=_[_0x477d('0x10a')](_0x27d93a[_0x477d('0x11f7')],{'id':_0x5e59f8['id']});if(_0x5a8192[_0x477d('0x56')]('admin')){_0x5e59f8[_0x477d('0x4a3')]=!![];}else{_0x5e59f8[_0x477d('0x4a3')]=typeof _0x5796a8!=='undefined'?!![]:![];}});return _0x2dfd0f();})[_0x477d('0x76')](function(_0x356029){var _0x51c484=_0x356029&&_0x356029['rows']?_0x356029[_0x477d('0xf2')]:[];_0x27d93a[_0x477d('0x4a7')]=_[_0x477d('0x3cb')](_0x51c484,function(_0x5cead6){return _[_0x477d('0x10a')](_0x27d93a[_0x477d('0x4a6')],{'id':_0x5cead6['id']});});_0x27d93a['startingSelectedItems']=angular[_0x477d('0x6d9')](_0x27d93a[_0x477d('0x4a7')]);_0x27d93a[_0x477d('0x1185')][_0x477d('0x4a7')]=_0x27d93a['selectedItems'];_0x27d93a['dualMultiselectOptions'][_0x477d('0x4a6')]=_[_0x477d('0x11f8')](_0x27d93a[_0x477d('0x11f7')],_0x27d93a[_0x477d('0x1185')]['selectedItems'],'id');_0x5a6607();})[_0x477d('0xf8')](function(_0x240aef){_0x2afd3c(_0x240aef);});});}function _0x2b4494(){return _0x1ebbba(function(_0x5adad8,_0x49a8a1){return _0x3ab865[_0x477d('0x3ae')]['get']({'sectionId':_0x27d93a[_0x477d('0xd99')]['id'],'nolimit':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x1db892){_0x5adad8(_0x1db892);})[_0x477d('0xf8')](function(_0x2a2337){_0x49a8a1(_0x2a2337);});});}function _0x2dfd0f(){return _0x1ebbba(function(_0x4b85b9,_0x14bd0b){return _0x3ab865['openchannelQueue'][_0x477d('0x1205')]({'id':_0x27d93a[_0x477d('0xb2c')]['id'],'fields':_0x477d('0x9c'),'nolimit':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x4b889e){_0x4b85b9(_0x4b889e);})[_0x477d('0xf8')](function(_0x11ebe1){_0x14bd0b(_0x11ebe1);});});}function _0x6ff103(){return _0x1ebbba(function(_0x5019df,_0x3204fa){return _0x3ab865[_0x477d('0xca3')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'nolimit':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x37d02a){_0x5019df(_0x37d02a);})[_0x477d('0xf8')](function(_0x5d5053){_0x3204fa(_0x5d5053);});});}function _0x57e302(_0x45e53c){return _0x1ebbba(function(_0xcc2557,_0x5ddce3){if(_[_0x477d('0x3b2')](_0x45e53c)){_0xcc2557();}else{_0x3ab865[_0x477d('0xb2c')][_0x477d('0x198b')]({'id':_0x27d93a[_0x477d('0xb2c')]['id'],'ids':_['map'](_0x45e53c,'id')})['$promise'][_0x477d('0x76')](function(){_0xcc2557();})[_0x477d('0xf8')](function(_0x3b75ec){_0x5ddce3(_0x3b75ec);});}});}function _0x25d8b9(_0x3b565c){return _0x1ebbba(function(_0x4cef13,_0x4fbe5b){if(_[_0x477d('0x3b2')](_0x3b565c)){_0x4cef13();}else{_0x3ab865[_0x477d('0xb2c')][_0x477d('0x1206')]({'id':_0x27d93a[_0x477d('0xb2c')]['id'],'ids':_['map'](_0x3b565c,'id')})[_0x477d('0x38b')][_0x477d('0x76')](function(){_0x4cef13();})[_0x477d('0xf8')](function(_0x339d17){_0x4fbe5b(_0x339d17);});}});}function _0x3a8414(){var _0x2002d4=_[_0x477d('0x11f8')](_0x27d93a[_0x477d('0x11fd')],_0x27d93a[_0x477d('0x4a7')],'id');var _0x30c09c=_[_0x477d('0x11f8')](_0x27d93a[_0x477d('0x4a7')],_0x27d93a[_0x477d('0x11fd')],'id');return _0x25d8b9(_0x2002d4)[_0x477d('0x76')](function(){return _0x57e302(_0x30c09c);})[_0x477d('0x76')](function(){_0x27d93a[_0x477d('0x11f5')]=![];_0x27d93a[_0x477d('0x11f2')]=angular[_0x477d('0x6d9')](_0x27d93a[_0x477d('0x11f7')]);_0x27d93a['startingSelectedItems']=angular[_0x477d('0x6d9')](_0x27d93a[_0x477d('0x4a7')]);_0x57023a[_0x477d('0x485')]({'title':'SUCCESS','msg':_0x477d('0x1207')});})[_0x477d('0xf8')](function(_0x15f9a7){_0x57023a[_0x477d('0x44a')]({'title':_0x15f9a7['status']?'API:'+_0x15f9a7[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x15f9a7[_0x477d('0x44d')]:_0x477d('0x1200'),'msg':_0x15f9a7[_0x477d('0x3c3')]?JSON[_0x477d('0x3fb')](_0x15f9a7[_0x477d('0x451')]):_0x15f9a7['toString']()});});}function _0x5832b3(){_0x16e415[_0x477d('0x3bc')]();}}}());(function(){'use strict';_0xfb5e7e[_0x477d('0xa')]=['$state',_0x477d('0xd64'),'$mdDialog',_0x477d('0x475'),_0x477d('0x40d'),_0x477d('0x613'),_0x477d('0xc8e'),_0x477d('0x386'),'toasty',_0x477d('0x55'),_0x477d('0xb2c'),'userProfileSection'];angular[_0x477d('0xb')](_0x477d('0x33'))[_0x477d('0x3ba')](_0x477d('0x1f76'),_0xfb5e7e);function _0xfb5e7e(_0x5c5bc0,_0x176c14,_0x16ac8c,_0xc3de99,_0x18934d,_0x80ba53,_0x58c07c,_0x5cdc3b,_0x3e90dc,_0xd2b102,_0x43dde2,_0xe10054){var _0x2584e4=this;_0x2584e4['currentUser']=_0xd2b102['getCurrentUser']();_0x2584e4[_0x477d('0x613')]=_0x80ba53;_0x2584e4[_0x477d('0xc8e')]=_0x58c07c;_0x2584e4[_0x477d('0xd69')]=_0x2584e4[_0x477d('0xc8e')]['securePassword']?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x2584e4[_0x477d('0x3cc')]=_0x176c14[_0x477d('0x3ce')]()+'://'+_0x176c14['host']();_0x2584e4['openchannelQueue']=_0x43dde2||_0x5c5bc0['params']['openchannelQueue']||{};_0x2584e4[_0x477d('0x3ac')]=_0xe10054&&_0xe10054[_0x477d('0x3bb')]==0x1?_0xe10054[_0x477d('0xf2')][0x0]:null;_0x2584e4[_0x477d('0xd66')]=_0xd2b102[_0x477d('0xd81')](_0x2584e4[_0x477d('0x3ac')]?_0x2584e4[_0x477d('0x3ac')][_0x477d('0xd66')]:null);_0x2584e4[_0x477d('0xd68')]={};_0x2584e4['selectedTab']=_0x5c5bc0[_0x477d('0x37e')]['tab']||0x0;_0x2584e4[_0x477d('0x11d4')]=_0x377662;_0x2584e4[_0x477d('0x1222')]=_0xba442d;_0x2584e4['alert']=_0x3e90dc['info'];_0x2584e4[_0x477d('0x1f77')]=_0x3aaf49;_0x2584e4['saveOpenchannelQueue']=_0x2df157;function _0x377662(_0xc11684,_0x16863b){_0x16ac8c[_0x477d('0x395')]({'controller':_0x477d('0x1f74'),'controllerAs':'vm','templateUrl':'app/main/apps/openchannel/views/openchannelQueues/edit/teamadd/teamadd.html','parent':angular['element'](_0xc3de99[_0x477d('0x399')]),'targetEvent':_0x16863b,'clickOutsideToClose':!![],'locals':{'openchannelQueue':_0xc11684,'openchannelQueues':_0x2584e4[_0x477d('0x170b')]?_0x2584e4[_0x477d('0x170b')][_0x477d('0xf2')]:[],'crudPermissions':_0x2584e4[_0x477d('0xd66')]}});}function _0xba442d(_0x1ed53f,_0x27f43b){_0x16ac8c[_0x477d('0x395')]({'controller':_0x477d('0x1f72'),'controllerAs':'vm','templateUrl':_0x477d('0x1f78'),'parent':angular[_0x477d('0x398')](_0xc3de99[_0x477d('0x399')]),'targetEvent':_0x27f43b,'clickOutsideToClose':!![],'locals':{'openchannelQueue':_0x1ed53f,'openchannelQueues':_0x2584e4[_0x477d('0x170b')]?_0x2584e4['openchannelQueues'][_0x477d('0xf2')]:[],'crudPermissions':_0x2584e4[_0x477d('0xd66')],'realtime':![]}});}function _0x3aaf49(){_0x5c5bc0['go'](_0x477d('0x225'),{},{'reload':_0x477d('0x225')});}function _0x2df157(){_0x5cdc3b['openchannelQueue'][_0x477d('0x710')]({'id':_0x2584e4['openchannelQueue']['id']},_0x2584e4[_0x477d('0xb2c')])[_0x477d('0x38b')][_0x477d('0x76')](function(){_0x3e90dc[_0x477d('0x485')]({'title':'OpenchannelQueue\x20updated!','msg':_0x2584e4[_0x477d('0xb2c')]['name']?_0x2584e4[_0x477d('0xb2c')][_0x477d('0x94')]+'\x20has\x20been\x20updated!':''});})[_0x477d('0xf8')](function(_0x59d043){_0x3e90dc[_0x477d('0x44a')]({'title':_0x59d043['status']?_0x477d('0x44b')+_0x59d043[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x59d043['statusText']:_0x477d('0x1f79'),'msg':_0x59d043[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x59d043[_0x477d('0x451')]):_0x59d043[_0x477d('0x453')]()});});}}}());(function(){'use strict';_0x45e30a[_0x477d('0xa')]=['$scope',_0x477d('0x387'),_0x477d('0x3c4'),_0x477d('0x554'),_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x3fe'),_0x477d('0x40d'),_0x477d('0x170b'),_0x477d('0x3a5'),_0x477d('0x3ac'),_0x477d('0x386'),_0x477d('0x342'),'toasty',_0x477d('0x55'),_0x477d('0x613'),_0x477d('0xc8e')];angular['module']('app.openchannel')[_0x477d('0x3ba')](_0x477d('0x1f7a'),_0x45e30a);function _0x45e30a(_0x5ab03e,_0x5ad301,_0x898b62,_0x5b1d88,_0x4f179b,_0x4bfb5e,_0x25a7f9,_0x4caab0,_0x5a6dc9,_0x5981d1,_0x11da6b,_0x3703b7,_0x1d984f,_0x45e7ea,_0x57a277,_0x4a0ff9,_0x165472){var _0x11e1ac=this;_0x11e1ac['license']=_0x4a0ff9;_0x11e1ac[_0x477d('0xc8e')]=_0x165472;_0x11e1ac[_0x477d('0x3e5')]=_0x57a277[_0x477d('0x5c')]();_0x11e1ac[_0x477d('0x170b')]=_0x5a6dc9||{'count':0x0,'rows':[]};_0x11e1ac['userProfile']=_0x5981d1;_0x11e1ac[_0x477d('0x3ac')]=_0x11da6b&&_0x11da6b[_0x477d('0x3bb')]==0x1?_0x11da6b[_0x477d('0xf2')][0x0]:null;_0x11e1ac[_0x477d('0xd66')]=_0x57a277['parseCrudPermissions'](_0x11e1ac[_0x477d('0x3ac')]?_0x11e1ac['userProfileSection'][_0x477d('0xd66')]:null);_0x11e1ac[_0x477d('0xd82')]=_0x477d('0x170b');_0x11e1ac['listOrder']='';_0x11e1ac['listOrderAsc']=null;_0x11e1ac['selectedOpenchannelQueues']=[];_0x11e1ac[_0x477d('0x3ef')]={'fields':_0x477d('0xb5'),'sort':_0x477d('0x59'),'channel':_0x477d('0x22a'),'limit':0xa,'page':0x1};_0x11e1ac[_0x477d('0x1994')]=_[_0x477d('0xdb5')]([{'option':'Beepall','value':'\x27beepall\x27'},{'option':_0x477d('0x1d0a'),'value':'\x27rrmemory\x27'}],function(_0x538a4c){return _[_0x477d('0x409')](_0x538a4c[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x11e1ac[_0x477d('0xea6')]=_0x5c99e6;_0x11e1ac[_0x477d('0x11d4')]=_0x1c0506;_0x11e1ac['agentadddialog']=_0xacbd88;_0x11e1ac['deleteconfirm']=_0x561772;_0x11e1ac[_0x477d('0x11d5')]=_0x1a7a34;_0x11e1ac['success']=_0x21680f;_0x11e1ac[_0x477d('0x170f')]=_0x35d6a7;_0x11e1ac[_0x477d('0x1f7b')]=_0x54abfb;_0x11e1ac[_0x477d('0x1f7c')]=_0x27778c;_0x11e1ac[_0x477d('0x1f7d')]=_0x2f53f6;_0x11e1ac[_0x477d('0x1f7e')]=_0x5cc5f0;_0x11e1ac['deselectOpenchannelQueues']=_0x4ee195;_0x11e1ac[_0x477d('0x1f7f')]=_0x3e580d;function _0x5c99e6(_0x7fe492,_0x426ceb){_0x898b62['go'](_0x477d('0x22c'),{'id':_0x7fe492['id'],'openchannelQueue':_0x7fe492,'crudPermissions':_0x11e1ac[_0x477d('0xd66')]});}function _0x1c0506(_0xae58dc,_0xa8ba6a){_0x4f179b[_0x477d('0x395')]({'controller':_0x477d('0x1f74'),'controllerAs':'vm','templateUrl':'app/main/apps/openchannel/views/openchannelQueues/edit/teamadd/teamadd.html','parent':angular[_0x477d('0x398')](_0x4bfb5e[_0x477d('0x399')]),'targetEvent':_0xa8ba6a,'clickOutsideToClose':!![],'locals':{'openchannelQueue':_0xae58dc,'openchannelQueues':_0x11e1ac[_0x477d('0x170b')]?_0x11e1ac[_0x477d('0x170b')]['rows']:[],'crudPermissions':_0x11e1ac[_0x477d('0xd66')]}});}function _0xacbd88(_0x36da9f,_0xb4f51e){_0x4f179b[_0x477d('0x395')]({'controller':_0x477d('0x1f72'),'controllerAs':'vm','templateUrl':_0x477d('0x1f78'),'parent':angular[_0x477d('0x398')](_0x4bfb5e['body']),'targetEvent':_0xb4f51e,'clickOutsideToClose':!![],'locals':{'openchannelQueue':_0x36da9f,'openchannelQueues':_0x11e1ac['openchannelQueues']?_0x11e1ac['openchannelQueues'][_0x477d('0xf2')]:[],'crudPermissions':_0x11e1ac[_0x477d('0xd66')],'realtime':![]}});}function _0x561772(_0x4280bb,_0x1f0293){var _0x2c8659=_0x4f179b[_0x477d('0xd78')]()['title'](_0x477d('0xd90')+_['startCase']('openchannelQueue')+'?')[_0x477d('0xd92')](''+(_0x4280bb[_0x477d('0x94')]||_0x477d('0xb2c'))+''+'\x20will\x20be\x20deleted.')[_0x477d('0x687')](_0x477d('0x1f80'))['targetEvent'](_0x1f0293)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x4f179b[_0x477d('0x395')](_0x2c8659)[_0x477d('0x76')](function(){_0x27778c(_0x4280bb);},function(){console['log'](_0x477d('0xd97'));});}function _0x1a7a34(_0x59b4a8,_0x12972b){if(_0x57a277[_0x477d('0x56')](_0x477d('0x5f'))){_0x898b62['go']('app.openchannel.realtime.queues',{});}else{return _0x3703b7['userProfileSection'][_0x477d('0x376')]({'userProfileId':_0x57a277['getCurrentUser']()[_0x477d('0x61')],'sectionId':0x32a})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x5962ef){var _0x27f174=_0x5962ef&&_0x5962ef[_0x477d('0xf2')]?_0x5962ef[_0x477d('0xf2')][0x0]:null;if(_0x27f174&&_0x27f174[_0x477d('0x3b4')]){_0x898b62['go'](_0x477d('0x23c'),{});}else{_0x45e7ea['info']({'title':_0x4caab0[_0x477d('0x45f')](_0x477d('0x119d')),'msg':_0x4caab0['instant'](_0x477d('0x142f'))});}})[_0x477d('0xf8')](function(_0x5399df){_0x45e7ea['error']({'title':_0x5399df[_0x477d('0x3c3')]?'API:'+_0x5399df[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x5399df[_0x477d('0x44d')]:_0x477d('0x11df'),'msg':_0x5399df[_0x477d('0x3c3')]?JSON[_0x477d('0x3fb')](_0x5399df[_0x477d('0x451')]):_0x5399df[_0x477d('0x453')]()});});}}var _0x5d8051=!![];var _0x1fc7c7=0x1;_0x5ab03e[_0x477d('0x4b5')](_0x477d('0xd98'),function(_0x415ef6,_0x1d079d){if(_0x5d8051){_0x25a7f9(function(){_0x5d8051=![];});}else{if(!_0x1d079d){_0x1fc7c7=_0x11e1ac[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x415ef6!==_0x1d079d){_0x11e1ac[_0x477d('0x3ef')]['page']=0x1;}if(!_0x415ef6){_0x11e1ac['query']['page']=_0x1fc7c7;}_0x11e1ac[_0x477d('0x170f')]();}});function _0x21680f(_0x463b6f){_0x11e1ac[_0x477d('0x170b')]=_0x463b6f||{'count':0x0,'rows':[]};}function _0x35d6a7(){_0x11e1ac[_0x477d('0x3ef')][_0x477d('0x91c')]=(_0x11e1ac[_0x477d('0x3ef')]['page']-0x1)*_0x11e1ac[_0x477d('0x3ef')]['limit'];if(_0x57a277['hasRole'](_0x477d('0x5f'))){_0x11e1ac[_0x477d('0x553')]=_0x3703b7[_0x477d('0xb2c')][_0x477d('0x376')](_0x11e1ac[_0x477d('0x3ef')],_0x21680f)[_0x477d('0x38b')];}else{_0x11e1ac[_0x477d('0x3ef')]['id']=_0x11e1ac['userProfile']['id'];_0x11e1ac[_0x477d('0x3ef')][_0x477d('0xd99')]=_0x477d('0x22b');_0x11e1ac[_0x477d('0x553')]=_0x3703b7[_0x477d('0x3a5')]['getResources'](_0x11e1ac['query'],_0x21680f)['$promise'];}}function _0x54abfb(_0x3c9ebf,_0x3f9766){_0x4f179b[_0x477d('0x395')]({'controller':_0x477d('0x1f81'),'controllerAs':'vm','templateUrl':_0x477d('0x1f82'),'parent':angular['element'](_0x4bfb5e[_0x477d('0x399')]),'targetEvent':_0x3c9ebf,'clickOutsideToClose':!![],'locals':{'openchannelQueue':_0x3f9766,'openchannelQueues':_0x11e1ac[_0x477d('0x170b')]['rows'],'license':_0x11e1ac[_0x477d('0x613')],'setting':_0x11e1ac[_0x477d('0xc8e')],'crudPermissions':_0x11e1ac[_0x477d('0xd66')]}});}function _0x27778c(_0x21c933){_0x3703b7[_0x477d('0xb2c')][_0x477d('0xa55')]({'id':_0x21c933['id']})['$promise'][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x11e1ac[_0x477d('0x170b')][_0x477d('0xf2')],{'id':_0x21c933['id']});_0x11e1ac[_0x477d('0x170b')]['count']-=0x1;if(!_0x11e1ac[_0x477d('0x170b')]['rows']['length']){_0x11e1ac[_0x477d('0x170f')]();}_0x45e7ea[_0x477d('0x485')]({'title':_[_0x477d('0xd91')](_0x477d('0x1f83'))+_0x477d('0xd9d'),'msg':_0x21c933[_0x477d('0x94')]?_0x21c933[_0x477d('0x94')]+_0x477d('0xd7e'):''});})['catch'](function(_0x1cbdac){if(_0x1cbdac[_0x477d('0x451')]&&_0x1cbdac[_0x477d('0x451')][_0x477d('0xd67')]&&_0x1cbdac[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x11e1ac[_0x477d('0xd67')]=_0x1cbdac[_0x477d('0x451')]['errors']||[{'message':_0x1cbdac['toString'](),'type':_0x477d('0x1f84')}];for(var _0x1abe06=0x0;_0x1abe06<_0x1cbdac['data'][_0x477d('0xd67')][_0x477d('0x79')];_0x1abe06++){_0x45e7ea['error']({'title':_0x1cbdac[_0x477d('0x451')]['errors'][_0x1abe06]['type'],'msg':_0x1cbdac[_0x477d('0x451')]['errors'][_0x1abe06][_0x477d('0x452')]});}}else{_0x45e7ea[_0x477d('0x44a')]({'title':_0x1cbdac[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x1cbdac[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x1cbdac[_0x477d('0x44d')]:_0x477d('0x1f84'),'msg':_0x1cbdac['data']?JSON[_0x477d('0x3fb')](_0x1cbdac[_0x477d('0x451')][_0x477d('0x452')]):_0x1cbdac[_0x477d('0x452')]||_0x1cbdac[_0x477d('0x453')]()});}});}function _0x2f53f6(){var _0x208645=angular[_0x477d('0x6d9')](_0x11e1ac[_0x477d('0x1f85')]);_0x11e1ac[_0x477d('0x1f85')]=[];return _0x208645;}function _0x5cc5f0(_0x24bb61){var _0x10eb5f=_0x4f179b[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x1f86'))[_0x477d('0xd92')](_0x477d('0xd93')+_0x11e1ac[_0x477d('0x1f85')][_0x477d('0x79')]+_0x477d('0xda0')+_0x477d('0xd95'))['ariaLabel'](_0x477d('0x1f87'))[_0x477d('0xd7c')](_0x24bb61)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x4f179b[_0x477d('0x395')](_0x10eb5f)[_0x477d('0x76')](function(){_0x11e1ac[_0x477d('0x1f85')][_0x477d('0x3b1')](function(_0x23353c){_0x27778c(_0x23353c);});_0x11e1ac[_0x477d('0x1f85')]=[];});}function _0x4ee195(){_0x11e1ac['selectedOpenchannelQueues']=[];}function _0x3e580d(){_0x11e1ac[_0x477d('0x1f85')]=_0x11e1ac['openchannelQueues'][_0x477d('0xf2')];}}}());(function(){'use strict';_0x6261a6['$inject']=[_0x477d('0x474'),'$q',_0x477d('0x3fe'),'$mdDialog','$document',_0x477d('0x6db'),_0x477d('0xf39'),'agents','rpcAgents',_0x477d('0x386'),_0x477d('0x5a3'),_0x477d('0x40e'),_0x477d('0x13b4'),_0x477d('0x3a5'),_0x477d('0x3ac'),_0x477d('0x55'),'license',_0x477d('0x794')];angular[_0x477d('0xb')](_0x477d('0x2f'))[_0x477d('0x3ba')](_0x477d('0x1f88'),_0x6261a6);function _0x6261a6(_0x142d43,_0x3c1361,_0x37ed8b,_0x43a0b5,_0x2602de,_0x199e3f,_0x32d72a,_0x5626c0,_0x5a5499,_0x1f491b,_0x24575e,_0x1481fd,_0x346f14,_0x5139cc,_0x4f74ee,_0x4a8ec2,_0x3de8b4,_0x14b647){var _0x15435f=this;var _0x33c3d0=[_0x477d('0x13b6'),_0x477d('0x13d3'),_0x477d('0x392'),_0x477d('0x13b7'),_0x477d('0x19a7'),_0x477d('0x13b7'),'internal',_0x477d('0x13b8'),_0x477d('0x13d0'),'openchannelPause',_0x477d('0x13b9'),_0x477d('0x13d2'),_0x477d('0x13ba'),_0x477d('0x13bb'),_0x477d('0x624'),_0x477d('0x19a8'),'openchannelCapacity',_0x477d('0x13bd'),_0x477d('0x13be'),'whatsappCapacity',_0x477d('0x13bf'),_0x477d('0x13c0'),_0x477d('0x19a9'),'mailCurrentCapacity','smsCurrentCapacity',_0x477d('0x19aa'),'faxCurrentCapacity','chatStatus',_0x477d('0x13c4'),'mailStatus',_0x477d('0x13c5'),'whatsappStatus',_0x477d('0x13c7'),_0x477d('0x13c8'),_0x477d('0x13c9'),_0x477d('0x13ca'),_0x477d('0x13cb'),'smsStatusTime','whatsappStatusTime',_0x477d('0x13cc'),_0x477d('0x19ac'),_0x477d('0x1256'),_0x477d('0x13ef'),_0x477d('0x13cd'),_0x477d('0x13ce'),_0x477d('0x13cf')];var _0x26ec8f=['chatPause',_0x477d('0x13d1'),_0x477d('0x13b9'),_0x477d('0x13d2'),_0x477d('0x13ba'),_0x477d('0x13bb'),_0x477d('0x624'),_0x477d('0x13d3')];_0x15435f[_0x477d('0x3e5')]=_0x4a8ec2['getCurrentUser']();_0x15435f[_0x477d('0x1ec7')]=[_0x477d('0x5ed'),'inuse','busy',_0x477d('0x13d5'),_0x477d('0x13d6')];_0x15435f[_0x477d('0xf39')]=_0x32d72a||{'count':0x0,'rows':[]};_0x15435f[_0x477d('0x613')]=_0x3de8b4;_0x15435f[_0x477d('0x3a5')]=_0x5139cc;_0x15435f[_0x477d('0x3ac')]=_0x4f74ee&&_0x4f74ee[_0x477d('0x3bb')]==0x1?_0x4f74ee[_0x477d('0xf2')][0x0]:null;_0x15435f[_0x477d('0xd66')]=_0x4a8ec2[_0x477d('0xd81')](_0x15435f[_0x477d('0x3ac')]?_0x15435f[_0x477d('0x3ac')]['crudPermissions']:null);_0x15435f['agents']=_0x5626c0?_[_0x477d('0xdb5')](_0x5626c0['rows']?_0x5626c0['rows']:[],'id'):{};_0x15435f[_0x477d('0x13d7')]=_0x5a5499?_[_0x477d('0xdb5')](_0x5a5499[_0x477d('0xf2')]?_0x5a5499['rows']:[],'id'):{};_0x15435f[_0x477d('0x13d8')]={};_0x15435f[_0x477d('0x600')]=![];_0x15435f[_0x477d('0x13d9')]=[];_0x15435f['agentInternal']={};for(var _0x2102a8 in _0x15435f[_0x477d('0x125c')]){if(_0x15435f[_0x477d('0x125c')][_0x477d('0x3ea')](_0x2102a8)){_0x15435f[_0x477d('0x125c')][_0x2102a8][_0x477d('0x5ee')]=!![];}}_0x15435f[_0x477d('0x3ef')]={'limit':0xa,'page':0x1,'order':'fullname','globalStatusFilter':'','pauseTypeFilter':''};_0x15435f[_0x477d('0x38c')]=_0x381b80;_0x15435f[_0x477d('0x19ad')]=_0x345631;_0x15435f[_0x477d('0x657')]=_0x4bdca9;_0x15435f[_0x477d('0x13db')]=_0x441b61;_0x15435f['showInfo']=_0x3a70ce;_0x15435f[_0x477d('0x13dd')]=_0x159783;_0x15435f[_0x477d('0x13de')]=_0x5a5a4c;_0x15435f[_0x477d('0x13df')]=_0x4b421f;_0x15435f[_0x477d('0x13e0')]=_0x4bef8a;_0x15435f[_0x477d('0x13e1')]=_0x60b29;_0x15435f[_0x477d('0x13e2')]=_0x4d44d5;_0x15435f['onUpdate']=_0x3c5f38;_0x15435f[_0x477d('0x71a')]=_0x535fe3;_0x15435f[_0x477d('0x13e6')]=_0x1ecda4;_0x15435f[_0x477d('0x13e4')]=_0x1d7195;_0x15435f[_0x477d('0xa8a')]=_0x4d5257;_0x24575e['on']('user:save',_0x15435f['onSave']);_0x24575e['on'](_0x477d('0x1402'),_0x15435f[_0x477d('0x13e3')]);_0x24575e['on'](_0x477d('0x1403'),_0x15435f[_0x477d('0x13e6')]);_0x24575e['on'](_0x477d('0x13e7'),_0x15435f['onComplete']);_0x535fe3();var _0x553864=_0x14b647(function(){if(_0x15435f['load']){_0x15435f[_0x477d('0x600')]=![];_0x535fe3();}},0x3e7);function _0x535fe3(_0x5e2990){_0x15435f[_0x477d('0x600')]=![];var _0x4ca18d=_0x3c1361[_0x477d('0x54a')]();_0x15435f[_0x477d('0x553')]=_0x4ca18d[_0x477d('0x553')];_0x15435f['filteredAgents']=[];_0x15435f[_0x477d('0x13d9')]=[];_[_0x477d('0xe4b')](_0x15435f[_0x477d('0x125c')],function(_0x241f43,_0x3e140d){if(_0x15435f[_0x477d('0x13d7')][_0x3e140d]){_[_0x477d('0xef')](_0x241f43,_[_0x477d('0x10b')](_[_0x477d('0x3fc')](_0x15435f[_0x477d('0x13d7')][_0x3e140d],_0x26ec8f),_0x33c3d0));}_0x5a5a4c(_0x241f43);if(_0x241f43['online']){_0x15435f[_0x477d('0x13e8')][_0x477d('0x3a7')](_0x241f43);_0x15435f[_0x477d('0x13da')][_0x241f43['internal']]=_0x3e140d;}else{_0x241f43[_0x477d('0x13ed')]=_[_0x477d('0x18e6')](moment()[_0x477d('0x12f')]('x'));}});if(_0x15435f['query'][_0x477d('0x13e9')]){_[_0x477d('0x39c')](_0x15435f[_0x477d('0x13e8')],function(_0xe17725){return _0xe17725[_0x477d('0x13ea')]!==_0x15435f[_0x477d('0x3ef')][_0x477d('0x13e9')];});}if(_0x15435f['query'][_0x477d('0x13eb')]){_[_0x477d('0x39c')](_0x15435f[_0x477d('0x13e8')],function(_0x455742){return _0x455742[_0x477d('0x19a7')]!==_0x15435f['query']['pauseTypeFilter'];});}if(_0x15435f['query'][_0x477d('0x3b3')]){_[_0x477d('0x39c')](_0x15435f['filteredAgents'],function(_0x3d2119){return _0x3d2119[_0x477d('0xcd')][_0x477d('0x449')]()[_0x477d('0x477')](_0x15435f[_0x477d('0x3ef')][_0x477d('0x3b3')][_0x477d('0x449')]())<0x0;});}_0x15435f[_0x477d('0x13e8')]=_0x99450f(_0x15435f[_0x477d('0x13e8')]);var _0x210c69=(_0x15435f[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x15435f[_0x477d('0x3ef')][_0x477d('0x91d')];_0x15435f[_0x477d('0x13d8')]=_['drop'](_0x15435f[_0x477d('0x13e8')],_0x210c69)[_0x477d('0x9cd')](0x0,_0x15435f[_0x477d('0x3ef')]['limit']);for(var _0x456fcc=0x0;_0x456fcc<_0x15435f[_0x477d('0x13d8')]['length'];_0x456fcc+=0x1){_0x15435f['order'][_0x477d('0x3a7')](_0x15435f[_0x477d('0x13d8')][_0x456fcc]['id']);}_0x4ca18d[_0x477d('0x5a')]();_0x15435f[_0x477d('0x600')]=!![];}function _0x4d44d5(_0x2ef2c4){if(_0x15435f[_0x477d('0x125c')][_0x2ef2c4['id']]){_[_0x477d('0xef')](_0x15435f['agents'][_0x2ef2c4['id']],_[_0x477d('0x10b')](_[_0x477d('0x3fc')](_0x2ef2c4,_0x26ec8f),_0x33c3d0));_[_0x477d('0xef')](_0x15435f[_0x477d('0x13d7')][_0x2ef2c4['id']],_[_0x477d('0x10b')](_['omit'](_0x2ef2c4,_0x26ec8f),_0x33c3d0));_0x5a5a4c(_0x15435f[_0x477d('0x125c')][_0x2ef2c4['id']]);}}function _0x3c5f38(_0x3af9dc){if(_0x15435f['agents'][_0x3af9dc['id']]){_[_0x477d('0xef')](_0x15435f[_0x477d('0x125c')][_0x3af9dc['id']],_[_0x477d('0x10b')](_0x3af9dc,_0x33c3d0));_[_0x477d('0xef')](_0x15435f[_0x477d('0x13d7')][_0x3af9dc['id']],_[_0x477d('0x10b')](_0x3af9dc,_0x33c3d0));if(_0x3af9dc['lastPauseAt']){_0x15435f[_0x477d('0x125c')][_0x3af9dc['id']][_0x477d('0x13ed')]=_0x3af9dc[_0x477d('0x13b7')];_0x15435f['rpcAgents'][_0x3af9dc['id']][_0x477d('0x13ed')]=_0x3af9dc[_0x477d('0x13b7')];}_0x5a5a4c(_0x15435f['agents'][_0x3af9dc['id']]);}}function _0x1ecda4(_0x7053bc){if(_0x15435f[_0x477d('0x125c')][_0x15435f[_0x477d('0x13da')][_0x7053bc['destaccountcode']]]){_[_0x477d('0xef')](_0x15435f['agents'][_0x15435f[_0x477d('0x13da')][_0x7053bc[_0x477d('0x13ee')]]],_['pick'](_0x7053bc,[_0x477d('0x1256'),_0x477d('0x13ef')]));_[_0x477d('0xef')](_0x15435f['rpcAgents'][_0x15435f[_0x477d('0x13da')][_0x7053bc[_0x477d('0x13ee')]]],_[_0x477d('0x10b')](_0x7053bc,['queue',_0x477d('0x13ef')]));}}function _0x1d7195(_0x14ccd5){if(_0x15435f[_0x477d('0x125c')][_0x15435f[_0x477d('0x13da')][_0x14ccd5[_0x477d('0x13ee')]]]){_0x15435f[_0x477d('0x125c')][_0x15435f['agentInternal'][_0x14ccd5[_0x477d('0x13ee')]]]=_[_0x477d('0x3fc')](_0x15435f[_0x477d('0x125c')][_0x15435f[_0x477d('0x13da')][_0x14ccd5[_0x477d('0x13ee')]]],['queue','destconnectedlinenum']);_0x15435f['rpcAgents'][_0x15435f[_0x477d('0x13da')][_0x14ccd5[_0x477d('0x13ee')]]]=_['omit'](_0x15435f['rpcAgents'][_0x15435f['agentInternal'][_0x14ccd5[_0x477d('0x13ee')]]],[_0x477d('0x1256'),_0x477d('0x13ef')]);}}function _0x381b80(_0x30b6f9,_0x3bcc5e){return _0x1f491b[_0x477d('0x380')][_0x477d('0x38c')]({'id':_0x30b6f9['id'],'device':_0x477d('0x11f1'),'agent_id':_0x30b6f9['id'],'agent_name':_0x30b6f9[_0x477d('0x94')]})[_0x477d('0x38b')]['then'](function(){_0x1481fd['success']({'title':'Agent\x20logout','msg':_0x30b6f9[_0x477d('0xcd')]+_0x477d('0x13f1')});if(_0x15435f['agents'][_0x30b6f9['id']]){_0x15435f[_0x477d('0x125c')][_0x30b6f9['id']][_0x477d('0x13d3')]=![];}if(_0x15435f[_0x477d('0x13d7')][_0x30b6f9['id']]){_0x15435f[_0x477d('0x13d7')][_0x30b6f9['id']][_0x477d('0x13d3')]=![];}_0x535fe3();})['catch'](function(_0x1720bd){_0x1481fd[_0x477d('0x44a')]({'title':_0x1720bd[_0x477d('0x3c3')]?'API:'+_0x1720bd[_0x477d('0x3c3')]+'\x20-\x20'+_0x1720bd['statusText']:_0x477d('0x13f2'),'msg':_0x1720bd[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x1720bd[_0x477d('0x451')][_0x477d('0x452')]):_0x1720bd[_0x477d('0x453')]()});});}function _0x4bdca9(_0x4d3b28,_0x4b6ada){return _0x1f491b['user'][_0x477d('0x657')]({'id':_0x4d3b28['id'],'type':_0x4b6ada})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x2903da){if(_0x15435f[_0x477d('0x125c')][_0x4d3b28['id']]){_[_0x477d('0xef')](_0x15435f[_0x477d('0x125c')][_0x4d3b28['id']],_[_0x477d('0x10b')](_0x2903da,_0x33c3d0));}if(_0x15435f[_0x477d('0x13d7')][_0x4d3b28['id']]){_[_0x477d('0xef')](_0x15435f[_0x477d('0x13d7')][_0x4d3b28['id']],_['pick'](_0x2903da,_0x33c3d0));}_0x5a5a4c(_0x15435f[_0x477d('0x125c')][_0x4d3b28['id']]);})['catch'](function(_0x366033){_0x1481fd['error']({'title':_0x366033[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x366033[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x366033['statusText']:_0x477d('0x13f2'),'msg':_0x366033[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x366033[_0x477d('0x451')][_0x477d('0x452')]):_0x366033['toString']()});});}function _0x441b61(_0x292586){return _0x1f491b[_0x477d('0x380')][_0x477d('0x15a7')]({'id':_0x292586['id']})[_0x477d('0x38b')]['then'](function(_0xc1a050){if(_0x15435f['agents'][_0x292586['id']]){_[_0x477d('0xef')](_0x15435f['agents'][_0x292586['id']],_[_0x477d('0x10b')](_0xc1a050,_0x33c3d0));}if(_0x15435f[_0x477d('0x13d7')][_0x292586['id']]){_['merge'](_0x15435f['rpcAgents'][_0x292586['id']],_[_0x477d('0x10b')](_0xc1a050,_0x33c3d0));}_0x5a5a4c(_0x15435f[_0x477d('0x125c')][_0x292586['id']]);})[_0x477d('0xf8')](function(_0x2c5cae){_0x1481fd[_0x477d('0x44a')]({'title':_0x2c5cae[_0x477d('0x3c3')]?'API:'+_0x2c5cae['status']+_0x477d('0x44c')+_0x2c5cae[_0x477d('0x44d')]:_0x477d('0x13f2'),'msg':_0x2c5cae[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x2c5cae[_0x477d('0x451')]['message']):_0x2c5cae[_0x477d('0x453')]()});});}function _0x3a70ce(_0xd9a232){_0x43a0b5[_0x477d('0x395')](_0x43a0b5['alert']()[_0x477d('0x13f3')](!![])[_0x477d('0x49a')](_0x477d('0x19ae'))[_0x477d('0xd92')](_0x477d('0x13f4'))['ok']('Ok')[_0x477d('0xd7c')](_0xd9a232));}function _0x345631(_0x493887,_0x1c0ed3){_0x43a0b5[_0x477d('0x395')]({'controller':'AgentqueueaddController','controllerAs':'vm','templateUrl':'app/main/apps/staff/views/agents/edit/queueadd/queueadd.html','parent':angular['element'](_0x2602de[_0x477d('0x399')]),'targetEvent':_0x1c0ed3,'clickOutsideToClose':!![],'locals':{'agent':_0x493887,'agents':[],'channel':'openchannel','direction':'inbound','crudPermissions':_0x15435f[_0x477d('0xd66')]}});}function _0x4b421f(_0x40083f){return _0x40083f===_0x477d('0x657')||_0x40083f===_0x477d('0x13f6');}function _0x4bef8a(_0x4ba2ba){return _0x4ba2ba===_0x477d('0x657');}function _0x60b29(_0x4d0a97){return _0x4d0a97==='*pause';}function _0x356660(_0x495390){return _0x495390===_0x477d('0x13f7')||_0x495390===_0x477d('0x13f8')||_0x495390===_0x477d('0x13f9')||_0x495390===_0x477d('0x5ed')||_['isNil'](_0x495390);}function _0x159783(_0x4ef818,_0x23478e){if(_0x23478e===_0x477d('0x108')){if(_0x4ef818[_0x23478e+_0x477d('0x135e')]!=='idle'){return _0x4ef818[_0x23478e+'Status'];}if(_0x4ef818[_0x23478e+_0x477d('0x13fa')]){_0x4ef818[_0x23478e+'Status']=_0x477d('0x657');return'pause';}return'idle';}else{if(_0x4ef818[_0x23478e+'Pause']){_0x4ef818[_0x23478e+_0x477d('0x135e')]=_0x477d('0x657');return _0x477d('0x657');}return _0x4ef818[_0x23478e+_0x477d('0x135e')];}}function _0x5a5a4c(_0x14dbfa){var _0x24a1ee=_0x477d('0x13f8');if(_[_0x477d('0x943')]([_0x159783(_0x14dbfa,_0x477d('0x108')),_0x159783(_0x14dbfa,_0x477d('0xb6')),_0x159783(_0x14dbfa,_0x477d('0x1d6')),_0x159783(_0x14dbfa,'openchannel'),_0x159783(_0x14dbfa,_0x477d('0x26e')),_0x159783(_0x14dbfa,_0x477d('0x35d')),_0x159783(_0x14dbfa,_0x477d('0x154'))],_0x4b421f)){_0x24a1ee=_0x477d('0x657');}else if(_[_0x477d('0x3ab')]([_0x159783(_0x14dbfa,'voice'),_0x159783(_0x14dbfa,_0x477d('0xb6')),_0x159783(_0x14dbfa,_0x477d('0x1d6')),_0x159783(_0x14dbfa,_0x477d('0x22a')),_0x159783(_0x14dbfa,_0x477d('0x26e')),_0x159783(_0x14dbfa,_0x477d('0x35d')),_0x159783(_0x14dbfa,'fax')],_0x4b421f)){_0x24a1ee='*pause';}else if(_[_0x477d('0x943')]([_0x159783(_0x14dbfa,_0x477d('0x108')),_0x159783(_0x14dbfa,_0x477d('0xb6')),_0x159783(_0x14dbfa,_0x477d('0x1d6')),_0x159783(_0x14dbfa,_0x477d('0x22a')),_0x159783(_0x14dbfa,'sms'),_0x159783(_0x14dbfa,'whatsapp'),_0x159783(_0x14dbfa,_0x477d('0x154'))],_0x356660)){_0x24a1ee='idle';}else{_0x24a1ee=_0x477d('0x13fb');}if(_0x14dbfa[_0x477d('0x13ea')]!==_0x24a1ee){_0x14dbfa[_0x477d('0x13ea')]=_0x24a1ee;if(_0x14dbfa[_0x477d('0x5ee')]){_0x14dbfa[_0x477d('0x5ee')]=![];_0x14dbfa[_0x477d('0x13ed')]=_0x4b421f(_0x24a1ee)?_[_0x477d('0x18e6')](moment(_0x14dbfa[_0x477d('0x13b7')])[_0x477d('0x12f')]('x')):_[_0x477d('0x13fc')]([_0x14dbfa[_0x477d('0x19ac')],_0x14dbfa[_0x477d('0x13c9')],_0x14dbfa[_0x477d('0x13cb')],_0x14dbfa['smsStatusTime'],_0x14dbfa[_0x477d('0x13fe')],_0x14dbfa[_0x477d('0x13ca')],_0x14dbfa[_0x477d('0x13cc')]]);}else{_0x14dbfa[_0x477d('0x13ed')]=_[_0x477d('0x18e6')](moment()[_0x477d('0x12f')]('x'));}}}function _0x99450f(_0x26ccb5){var _0x3b4da1=_[_0x477d('0x1337')](_0x15435f['query'][_0x477d('0x13d9')],'-')?_0x477d('0x13ff'):_0x477d('0x1400');return _[_0x477d('0x1401')](_0x26ccb5,[_0x15435f[_0x477d('0x3ef')]['order'][_0x477d('0x409')]('-','')],[_0x3b4da1]);}function _0x2bae03(){if(_0x553864){_0x14b647[_0x477d('0x4f0')](_0x553864);_0x553864=null;}}function _0x4d5257(_0x2270c1,_0x5f454c){return _0x1f491b[_0x477d('0x380')][_0x477d('0x710')]({'id':_0x2270c1['id']},{'screenrecording':_0x5f454c})[_0x477d('0x38b')][_0x477d('0xf8')](function(_0x8d87c2){_0x1481fd[_0x477d('0x44a')]({'title':_0x8d87c2[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x8d87c2[_0x477d('0x3c3')]+'\x20-\x20'+_0x8d87c2[_0x477d('0x44d')]:_0x477d('0x19b0'),'msg':_0x8d87c2[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x8d87c2[_0x477d('0x451')][_0x477d('0x452')]):_0x8d87c2['toString']()});});}_0x142d43[_0x477d('0x4ec')](_0x477d('0x505'),function(){_0x24575e[_0x477d('0x6b8')](_0x477d('0x13e5'));_0x24575e[_0x477d('0x6b8')](_0x477d('0x1402'));_0x24575e[_0x477d('0x6b8')](_0x477d('0x1403'));_0x24575e[_0x477d('0x6b8')](_0x477d('0x13e7'));_0x2bae03();});}}());(function(){'use strict';_0x4650f9[_0x477d('0xa')]=[_0x477d('0x474'),'$timeout',_0x477d('0x384'),'$q','$document',_0x477d('0x794'),_0x477d('0xf2f'),_0x477d('0x1404'),_0x477d('0x386'),_0x477d('0x5a3'),'toasty',_0x477d('0x3a5'),_0x477d('0x3ac'),_0x477d('0x55')];angular['module'](_0x477d('0x33'))[_0x477d('0x3ba')](_0x477d('0x1f89'),_0x4650f9);function _0x4650f9(_0x3bf9cb,_0x3fd5a1,_0x379675,_0x43dfaa,_0x1b79ec,_0xb2eef2,_0x39934b,_0x3a32ed,_0x245caf,_0x5a65d3,_0x210877,_0x589b56,_0x4f400e,_0x4edf9b){var _0x16084c=this;var _0x2bbbb1=[_0x477d('0x19b2'),'available',_0x477d('0x10c'),_0x477d('0x10e'),_0x477d('0x1406'),_0x477d('0x1407'),_0x477d('0x452'),'dialActive',_0x477d('0x1408'),_0x477d('0x1409'),'paused'];_0x16084c[_0x477d('0x3e5')]=_0x4edf9b[_0x477d('0x5c')]();_0x16084c[_0x477d('0x3bb')]=_0x39934b['count']?_0x39934b[_0x477d('0x3bb')]:0x0;_0x16084c[_0x477d('0xf2f')]=_0x39934b?_['keyBy'](_0x39934b[_0x477d('0xf2')]?_0x39934b['rows']:[],'id'):{};_0x16084c[_0x477d('0x1404')]=_0x3a32ed?_[_0x477d('0xdb5')](_0x3a32ed[_0x477d('0xf2')]?_0x3a32ed['rows']:[],'id'):{};_0x16084c[_0x477d('0x3a5')]=_0x589b56;_0x16084c['userProfileSection']=_0x4f400e&&_0x4f400e[_0x477d('0x3bb')]==0x1?_0x4f400e['rows'][0x0]:null;_0x16084c[_0x477d('0xd66')]=_0x4edf9b[_0x477d('0xd81')](_0x16084c['userProfileSection']?_0x16084c['userProfileSection'][_0x477d('0xd66')]:null);if(_0x4edf9b[_0x477d('0x56')](_0x477d('0x5f'))){_0x16084c[_0x477d('0x3ef')]={'type':'inbound','sort':_0x477d('0x59'),'limit':0xa,'page':0x1};}else{_0x16084c[_0x477d('0x3ef')]={'id':_0x16084c[_0x477d('0x3e5')]['id'],'channel':_0x477d('0x22a'),'type':_0x477d('0x9e'),'sort':_0x477d('0x59'),'limit':0xa,'page':0x1};}_0x16084c[_0x477d('0x485')]=_0x26f811;_0x16084c[_0x477d('0x1418')]=_0x1d0ebb;_0x16084c[_0x477d('0x1f7b')]=_0x414372;_0x16084c[_0x477d('0x140b')]=_0x3e5a1b;_0x16084c[_0x477d('0x140c')]=_0x1fc5ab;_0x16084c[_0x477d('0x13e2')]=_0x2b4a73;_0x16084c[_0x477d('0x140d')]=_0x5917d2;_0x16084c[_0x477d('0x1413')]=_0x267ba0;_0x16084c[_0x477d('0x140e')]=_0x47dc5d;_0x16084c[_0x477d('0x140f')]=_0x589e6c;_0x16084c[_0x477d('0x1410')]=_0x5bb927;_0x16084c[_0x477d('0x6ad')]=_0x4d5a18;_0x16084c[_0x477d('0x13d9')]=[];_[_0x477d('0xe4b')](_0x16084c[_0x477d('0xf2f')],function(_0x56e220,_0x33736a){_0x16084c[_0x477d('0x13d9')][_0x477d('0x3a7')](_0x56e220['id']);});_0x5a65d3['on'](_0x477d('0x1715'),_0x16084c[_0x477d('0x13e2')]);_0x5a65d3['on'](_0x477d('0x171a'),_0x16084c[_0x477d('0x140d')]);_0x5a65d3['on'](_0x477d('0x171b'),_0x16084c[_0x477d('0x1413')]);_0x5a65d3['on'](_0x477d('0x1402'),_0x16084c[_0x477d('0x140e')]);_0x5a65d3['on']('userVoiceQueue:remove',_0x16084c[_0x477d('0x1410')]);_0x5a65d3['on']('userVoiceQueue:save',_0x16084c[_0x477d('0x140f')]);function _0x4d5a18(){var _0x17cbb7=[];_[_0x477d('0xe4b')](_0x16084c[_0x477d('0xf2f')],function(_0x4af1f7,_0xba6029){_0x4af1f7['paused']=0x0;_0x4af1f7['loggedInDb']=0x0;_0x16084c[_0x477d('0xf2f')][_0xba6029][_0x477d('0x125c')]={};_0x17cbb7[_0x477d('0x3a7')](_0x245caf[_0x477d('0xb2c')]['getMembers']({'id':_0xba6029})[_0x477d('0x38b')]);if(_0x16084c[_0x477d('0x1404')][_0xba6029]){_['merge'](_0x4af1f7,_['pick'](_0x16084c['rpcQueues'][_0xba6029],_0x2bbbb1));}});return _0x43dfaa[_0x477d('0x7c')](_0x17cbb7)[_0x477d('0x76')](function(_0x53b54b){for(var _0x4125db=0x0;_0x4125db<_0x53b54b[_0x477d('0x79')];_0x4125db+=0x1){for(var _0x96c044=0x0;_0x96c044<_0x53b54b[_0x4125db][_0x477d('0xf2')][_0x477d('0x79')];_0x96c044++){if(_0x53b54b[_0x4125db][_0x477d('0xf2')][_0x96c044]['paused']){_0x16084c[_0x477d('0xf2f')][_0x53b54b[_0x4125db]['rows'][_0x96c044][_0x477d('0x1f8a')]][_0x477d('0x140a')]++;}_0x16084c['queues'][_0x53b54b[_0x4125db][_0x477d('0xf2')][_0x96c044]['OpenchannelQueueId']][_0x477d('0x1416')]++;_0x16084c[_0x477d('0xf2f')][_0x53b54b[_0x4125db][_0x477d('0xf2')][_0x96c044]['OpenchannelQueueId']]['agents'][_0x53b54b[_0x4125db][_0x477d('0xf2')][_0x96c044]['UserId']]=_0x53b54b[_0x4125db][_0x477d('0xf2')][_0x96c044][_0x477d('0x1f8a')];}}})['catch'](function(_0x5f571f){console[_0x477d('0x44a')](_0x5f571f);});}function _0x2b4a73(_0x54972c){if(_0x16084c[_0x477d('0xf2f')][_0x54972c['id']]){_[_0x477d('0xef')](_0x16084c[_0x477d('0xf2f')][_0x54972c['id']],_['pick'](_0x54972c,_0x2bbbb1));}}function _0x5917d2(_0x320195){if(_0x16084c[_0x477d('0xf2f')][_0x320195['OpenchannelQueueId']]){_0x16084c[_0x477d('0xf2f')][_0x320195[_0x477d('0x1f8a')]]['loggedInDb']++;}}function _0x267ba0(_0x21ed8e){if(_0x16084c[_0x477d('0xf2f')][_0x21ed8e['OpenchannelQueueId']]){_0x16084c['queues'][_0x21ed8e[_0x477d('0x1f8a')]][_0x477d('0x1416')]--;}}function _0x47dc5d(_0x3552bd){console[_0x477d('0x7b')](_0x477d('0x140e'),_0x3552bd);if(_0x3552bd['voicePause']){_['forIn'](_0x16084c[_0x477d('0xf2f')],function(_0x45e135,_0x5c82dd){if(_0x45e135[_0x477d('0x125c')][_0x3552bd['id']]){_0x45e135[_0x477d('0x140a')]+=0x1;console[_0x477d('0x7b')](_0x477d('0x657'));}});}else if(!_0x3552bd[_0x477d('0x624')]){_[_0x477d('0xe4b')](_0x16084c['queues'],function(_0x1a3430,_0x4002df){if(_0x1a3430['agents'][_0x3552bd['id']]){if(_0x1a3430[_0x477d('0x140a')]>0x0){_0x1a3430[_0x477d('0x140a')]-=0x1;console[_0x477d('0x7b')](_0x477d('0x15a7'));}}});}}function _0x589e6c(_0x64a594){console[_0x477d('0x7b')](_0x477d('0x1d39'),_0x64a594);if(_0x16084c[_0x477d('0xf2f')][_0x64a594[_0x477d('0x1f8a')]]){_0x16084c[_0x477d('0xf2f')][_0x64a594['OpenchannelQueueId']][_0x477d('0x1416')]+=0x1;_0x16084c[_0x477d('0xf2f')][_0x64a594[_0x477d('0x1f8a')]][_0x477d('0x125c')][_0x64a594[_0x477d('0x125b')]]=_0x64a594[_0x477d('0x1f8a')];}}function _0x5bb927(_0x3a79d0){console['log'](_0x477d('0x1410'),_0x3a79d0);if(_0x16084c[_0x477d('0xf2f')][_0x3a79d0[_0x477d('0x1f8a')]]&&_0x16084c[_0x477d('0xf2f')][_0x3a79d0[_0x477d('0x1f8a')]]['loggedInDb']>0x0){_0x16084c[_0x477d('0xf2f')][_0x3a79d0[_0x477d('0x1f8a')]][_0x477d('0x1416')]-=0x1;delete _0x16084c[_0x477d('0xf2f')][_0x3a79d0['OpenchannelQueueId']][_0x477d('0x125c')][_0x3a79d0[_0x477d('0x125b')]];}}var _0x1728ce=!![];var _0x3b130e=0x1;_0x3bf9cb[_0x477d('0x4b5')]('vm.query.filter',function(_0x3285e4,_0x293933){if(_0x1728ce){_0x3fd5a1(function(){_0x1728ce=![];});}else{if(!_0x293933){_0x3b130e=_0x16084c[_0x477d('0x3ef')]['page'];}if(_0x3285e4!==_0x293933){_0x16084c[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0x3285e4){_0x16084c[_0x477d('0x3ef')][_0x477d('0xe03')]=_0x3b130e;}_0x16084c[_0x477d('0x1418')]();}});function _0x26f811(_0x3866b9){_0x16084c[_0x477d('0x3bb')]=_0x3866b9[_0x477d('0x3bb')];_0x16084c['queues']=_0x3866b9?_[_0x477d('0xdb5')](_0x3866b9[_0x477d('0xf2')]?_0x3866b9['rows']:[],'id'):{};if(_0x3866b9[_0x477d('0xf2')]){_0x16084c[_0x477d('0x13d9')]=[];for(var _0x3a7c9f=0x0;_0x3a7c9f<_0x3866b9[_0x477d('0xf2')][_0x477d('0x79')];_0x3a7c9f++){_0x16084c[_0x477d('0x13d9')][_0x477d('0x3a7')](_0x3866b9[_0x477d('0xf2')][_0x3a7c9f]['id']);}}_0x4d5a18();}function _0x1d0ebb(){_0x16084c[_0x477d('0x3ef')][_0x477d('0x91c')]=(_0x16084c['query'][_0x477d('0xe03')]-0x1)*_0x16084c[_0x477d('0x3ef')][_0x477d('0x91d')];if(_0x4edf9b[_0x477d('0x56')](_0x477d('0x5f'))){_0x16084c[_0x477d('0x553')]=_0x245caf[_0x477d('0xb2c')][_0x477d('0x376')](_0x16084c[_0x477d('0x3ef')],_0x26f811)[_0x477d('0x38b')];}else{_0x16084c[_0x477d('0x3ef')]['id']=_0x16084c[_0x477d('0x3a5')]['id'];_0x16084c[_0x477d('0x3ef')][_0x477d('0xd99')]=_0x477d('0x22b');_0x16084c[_0x477d('0x553')]=_0x245caf['userProfile'][_0x477d('0xd9a')](_0x16084c[_0x477d('0x3ef')],_0x26f811)[_0x477d('0x38b')];}}function _0x414372(_0x82a0f8,_0x4afaf){_0x379675['show']({'controller':_0x477d('0x1f81'),'controllerAs':'vm','templateUrl':_0x477d('0x1f82'),'parent':angular[_0x477d('0x398')](_0x1b79ec[_0x477d('0x399')]),'targetEvent':_0x82a0f8,'clickOutsideToClose':!![],'locals':{'openchannelQueue':_0x4afaf,'openchannelQueues':_['values'](_0x16084c[_0x477d('0xf2f')]),'license':null,'setting':null,'crudPermissions':_0x16084c[_0x477d('0xd66')]}});}function _0x3e5a1b(_0x8ffe49,_0x4ef372){_0x379675[_0x477d('0x395')]({'controller':_0x477d('0x1f72'),'controllerAs':'vm','templateUrl':_0x477d('0x1f78'),'parent':angular[_0x477d('0x398')](_0x1b79ec['body']),'targetEvent':_0x8ffe49,'clickOutsideToClose':!![],'locals':{'openchannelQueue':_0x4ef372,'openchannelQueues':_0x16084c[_0x477d('0xf2f')]?_0x16084c[_0x477d('0xf2f')][_0x477d('0xf2')]:[],'realtime':![],'crudPermissions':_0x16084c['crudPermissions']}});}function _0x1fc5ab(_0x1c8a32){return _0x245caf[_0x477d('0xb2c')][_0x477d('0x710')](_0x1c8a32)['$promise'][_0x477d('0x76')](function(){_0x210877[_0x477d('0x485')]({'title':'Queue\x20properly\x20updated!','msg':_0x1c8a32['name']?_0x1c8a32[_0x477d('0x94')]+_0x477d('0xed7'):''});})[_0x477d('0xf8')](function(_0x1fe07d){_0x210877['error']({'title':_0x477d('0x141b'),'msg':_0x1fe07d[_0x477d('0x452')]});});}_0x3bf9cb[_0x477d('0x4ec')](_0x477d('0x505'),function(){_0x5a65d3[_0x477d('0x6b8')](_0x477d('0x1715'));_0x5a65d3[_0x477d('0x6b8')]('userOpenchannelQueue:remove');_0x5a65d3['removeAllListeners'](_0x477d('0x171a'));_0x5a65d3[_0x477d('0x6b8')]('user:update');_0x5a65d3['removeAllListeners'](_0x477d('0x1414'));_0x5a65d3[_0x477d('0x6b8')]('userVoiceQueue:save');});}}());(function(){'use strict';angular[_0x477d('0xb')](_0x477d('0x0'))['factory'](_0x477d('0x13b4'),_0x38adce);function _0x38adce(){return{'status':{'registered':'green-300-fg\x20icon-checkbox-marked-circle','unregistered':'red-300-fg\x20icon-close-circle','lagged':'red-300-fg\x20icon-close-circle','reachable':_0x477d('0x141d'),'unreachable':'red-300-fg\x20icon-close-circle','unknown':'grey-fg\x20icon-minus-circle'},'state':{'unknown':_0x477d('0x1422'),'not_inuse':_0x477d('0x1420'),'inuse':'red-300-fg\x20icon-phone-in-talk','busy':'red-300-fg\x20icon-phone-locked','invalid':_0x477d('0x1422'),'unavailable':_0x477d('0x1422'),'ringing':_0x477d('0x1423'),'ringinuse':_0x477d('0x1423'),'onhold':_0x477d('0x1424')},'channelStatus':{'ring':'blue-300-fg\x20icon-phone-incoming','up':_0x477d('0x1425'),'hangup':_0x477d('0x1426')},'channelStatusOut':{'ring':_0x477d('0x19b4'),'up':'green-300-fg\x20icon-phone-in-talk','hangup':'red-300-fg\x20icon-phone-hangup'}};}}());(function(){'use strict';_0x4fb7fb[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x3c4'),'socket'];angular[_0x477d('0xb')]('app.openchannel')[_0x477d('0x3ba')]('OpenchannelRealtimeController',_0x4fb7fb);function _0x4fb7fb(_0xaaf5cb,_0x57c94f,_0x2dc2e4){var _0x4c8183=this;_0x2dc2e4[_0x477d('0x1427')]();_0x2dc2e4['connect']();_0x4c8183[_0x477d('0xe95')]=0x0;switch(_0x57c94f['current']['name']){case _0x477d('0x239'):_0x4c8183['selectedTab']=0x0;break;case _0x477d('0x23c'):_0x4c8183['selectedTab']=0x1;break;default:_0x4c8183['selectedTab']=0x0;_0x57c94f['go'](_0x477d('0x239'));}_0xaaf5cb[_0x477d('0x4b5')](_0x477d('0x1428'),function(_0x2b3c46,_0x209853){if(_0x2b3c46!==_0x209853){switch(_0x2b3c46){case 0x0:_0x57c94f['go']('app.openchannel.realtime.agents');break;case 0x1:_0x57c94f['go'](_0x477d('0x23c'));break;default:_0x57c94f['go'](_0x477d('0x239'));}}});}}());(function(){'use strict';_0x1f200b[_0x477d('0xa')]=[_0x477d('0x3c4'),_0x477d('0x474'),_0x477d('0x91f'),_0x477d('0x386'),_0x477d('0x5a3'),'Auth'];angular[_0x477d('0xb')]('app.plugins.plugin')[_0x477d('0x3ba')]('PluginController',_0x1f200b);function _0x1f200b(_0x554e8c,_0x502947,_0x5512d2,_0x1fc442,_0x549645,_0x359924){var _0x4b2869=this;_0x4b2869['currentUser']=_0x359924['getCurrentUser']();_0x4b2869[_0x477d('0xcba')]={};_0x4b2869['getTrustedURL']=_0x22c358;_0x1fc442[_0x477d('0xcba')][_0x477d('0x376')]({'id':_0x554e8c[_0x477d('0x37e')]['id']})['$promise'][_0x477d('0x76')](function(_0x4eb742){if(_0x4eb742){_0x4b2869[_0x477d('0xcba')]=_0x4eb742;return _0x1fc442[_0x477d('0xcba')][_0x477d('0x376')]({'id':_0x4b2869['plugin']['id']})[_0x477d('0x38b')];}})[_0x477d('0xf8')](function(_0x72ab13){_0x4b2869[_0x477d('0xcba')]=undefined;});function _0x22c358(){return _0x5512d2['trustAsResourceUrl'](_0x4b2869[_0x477d('0xcba')]['adminUrl']);}}}());(function(){'use strict';_0x4dd026[_0x477d('0xa')]=[_0x477d('0x474'),'$window',_0x477d('0x3c4'),'$mdSidenav','$mdDialog',_0x477d('0x475'),_0x477d('0x3fe'),_0x477d('0x40d'),_0x477d('0x1f8b'),_0x477d('0x386'),'msUtils',_0x477d('0x40e'),_0x477d('0x55'),_0x477d('0x613'),'setting'];angular['module']('app.settings')['controller'](_0x477d('0x1f8c'),_0x4dd026);function _0x4dd026(_0x3407a7,_0x23ede8,_0x3c521c,_0x5b8ddb,_0x21ec25,_0x380002,_0x47d271,_0x2f3b9f,_0x4b2b38,_0x5ed701,_0x20504b,_0x211d7d,_0x448d5b,_0x2b3615,_0x22f504){var _0x2569de=this;_0x2569de[_0x477d('0x613')]=_0x2b3615;_0x2569de[_0x477d('0xc8e')]=_0x22f504;_0x2569de[_0x477d('0x3e5')]=_0x448d5b[_0x477d('0x5c')]();_0x2569de['cloudProviders']=_0x4b2b38||{'count':0x0,'rows':[]};_0x2569de['table']='cloudProviders';_0x2569de[_0x477d('0xd83')]='';_0x2569de[_0x477d('0xd84')]=null;_0x2569de[_0x477d('0x1f8d')]=[];_0x2569de[_0x477d('0x3ef')]={'fields':'createdAt,updatedAt,id,name,service,data2,data1','sort':_0x477d('0x59'),'limit':0xa,'page':0x1};_0x2569de[_0x477d('0x1f8e')]=_['keyBy']([{'option':_0x477d('0x1f8f'),'value':_0x477d('0x1f90')}],function(_0x50f16f){return _[_0x477d('0x409')](_0x50f16f[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x2569de[_0x477d('0xd86')]=_0x3391a7;_0x2569de[_0x477d('0xd88')]=_0x3d19bf;_0x2569de[_0x477d('0x485')]=_0x2e64ea;_0x2569de[_0x477d('0x1f91')]=_0x4bdb31;_0x2569de['createOrEditCloudProvider']=_0xa08928;_0x2569de[_0x477d('0x1f92')]=_0x10551c;_0x2569de['exportSelectedAiTools']=_0x47efb3;_0x2569de['deleteSelectedAiTools']=_0x5d1105;_0x2569de[_0x477d('0x1f93')]=_0x6a895a;_0x2569de['selectAllAiTools']=_0x5c94e5;function _0x3391a7(_0x545edf,_0x26a1b0){_0x21ec25[_0x477d('0x395')]({'controller':_0x477d('0x1f94'),'controllerAs':'vm','templateUrl':_0x477d('0x1f95'),'parent':angular['element'](_0x380002[_0x477d('0x399')]),'targetEvent':_0x26a1b0,'clickOutsideToClose':!![],'locals':{'cloudProvider':_0x545edf,'cloudProviders':_0x2569de[_0x477d('0x1f8b')][_0x477d('0xf2')],'license':_0x2569de[_0x477d('0x613')],'setting':null,'crudPermissions':_0x2569de[_0x477d('0xd66')]}});}function _0x3d19bf(_0x5dc544,_0x300600){var _0x54f16e=_0x21ec25[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xd90')+_[_0x477d('0xd91')](_0x477d('0xcff'))+'?')[_0x477d('0xd92')](''+(_0x5dc544[_0x477d('0x94')]||'cloudProvider')+''+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x1f96'))[_0x477d('0xd7c')](_0x300600)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x21ec25['show'](_0x54f16e)['then'](function(){_0x10551c(_0x5dc544);},function(){console[_0x477d('0x7b')]('CANCEL');});}var _0x2dff88=!![];var _0x50f14f=0x1;_0x3407a7[_0x477d('0x4b5')](_0x477d('0xd98'),function(_0x4ca581,_0x20ba0c){if(_0x2dff88){_0x47d271(function(){_0x2dff88=![];});}else{if(!_0x20ba0c){_0x50f14f=_0x2569de[_0x477d('0x3ef')]['page'];}if(_0x4ca581!==_0x20ba0c){_0x2569de[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0x4ca581){_0x2569de[_0x477d('0x3ef')][_0x477d('0xe03')]=_0x50f14f;}_0x2569de[_0x477d('0x1f91')]();}});function _0x2e64ea(_0x3bc4fb){_0x2569de[_0x477d('0x1f8b')]=_0x3bc4fb||{'count':0x0,'rows':[]};}function _0x4bdb31(){_0x2569de[_0x477d('0x3ef')]['offset']=(_0x2569de['query'][_0x477d('0xe03')]-0x1)*_0x2569de['query'][_0x477d('0x91d')];if(_0x448d5b[_0x477d('0x56')]('admin')){_0x2569de[_0x477d('0x553')]=_0x5ed701[_0x477d('0xcff')]['get'](_0x2569de[_0x477d('0x3ef')],_0x2e64ea)[_0x477d('0x38b')];}else{_0x2569de[_0x477d('0x3ef')]['id']=_0x2569de['userProfile']['id'];_0x2569de['query'][_0x477d('0xd99')]=_0x477d('0x1f97');_0x2569de[_0x477d('0x553')]=_0x5ed701['userProfile']['getResources'](_0x2569de[_0x477d('0x3ef')],_0x2e64ea)[_0x477d('0x38b')];}}function _0xa08928(_0x54e5d7,_0x5d65a0){_0x21ec25[_0x477d('0x395')]({'controller':_0x477d('0x1f94'),'controllerAs':'vm','templateUrl':'app/main/apps/settings/views/cloudProviders/create/dialog.html','parent':angular[_0x477d('0x398')](_0x380002[_0x477d('0x399')]),'targetEvent':_0x54e5d7,'clickOutsideToClose':!![],'locals':{'cloudProvider':_0x5d65a0,'cloudProviders':_0x2569de[_0x477d('0x1f8b')][_0x477d('0xf2')],'license':_0x2569de[_0x477d('0x613')],'setting':_0x2569de['setting'],'crudPermissions':_0x2569de[_0x477d('0xd66')]}});}function _0x10551c(_0x358991){_0x5ed701['cloudProvider'][_0x477d('0xa55')]({'id':_0x358991['id']})['$promise']['then'](function(){_['remove'](_0x2569de['cloudProviders'][_0x477d('0xf2')],{'id':_0x358991['id']});_0x2569de[_0x477d('0x1f8b')][_0x477d('0x3bb')]-=0x1;if(!_0x2569de['cloudProviders'][_0x477d('0xf2')][_0x477d('0x79')]){_0x2569de[_0x477d('0x1f91')]();}_0x211d7d['success']({'title':_[_0x477d('0xd91')](_0x477d('0x1f98'))+_0x477d('0xd9d'),'msg':_0x358991[_0x477d('0x94')]?_0x358991[_0x477d('0x94')]+_0x477d('0xd7e'):''});})[_0x477d('0xf8')](function(_0x6bbc5e){if(_0x6bbc5e['data']&&_0x6bbc5e[_0x477d('0x451')][_0x477d('0xd67')]&&_0x6bbc5e[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x2569de[_0x477d('0xd67')]=_0x6bbc5e[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x6bbc5e[_0x477d('0x453')](),'type':_0x477d('0x1f99')}];for(var _0x1de159=0x0;_0x1de159<_0x6bbc5e[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x1de159++){_0x211d7d['error']({'title':_0x6bbc5e[_0x477d('0x451')][_0x477d('0xd67')][_0x1de159][_0x477d('0x439')],'msg':_0x6bbc5e[_0x477d('0x451')][_0x477d('0xd67')][_0x1de159][_0x477d('0x452')]});}}else{_0x211d7d['error']({'title':_0x6bbc5e['status']?_0x477d('0x44b')+_0x6bbc5e['status']+'\x20-\x20'+_0x6bbc5e[_0x477d('0x44d')]:'SYSTEM:DELETEcloudProvider','msg':_0x6bbc5e[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x6bbc5e[_0x477d('0x451')][_0x477d('0x452')]):_0x6bbc5e[_0x477d('0x452')]||_0x6bbc5e[_0x477d('0x453')]()});}});}function _0x47efb3(){var _0x3ee4c3=angular[_0x477d('0x6d9')](_0x2569de[_0x477d('0x1f8d')]);_0x2569de[_0x477d('0x1f8d')]=[];return _0x3ee4c3;}function _0x5d1105(_0x216fba){var _0x254c42=_0x21ec25[_0x477d('0xd78')]()[_0x477d('0x49a')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20cloudProviders?')[_0x477d('0xd92')](_0x477d('0xd93')+_0x2569de['selectedAiTools']['length']+_0x477d('0xda0')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x1f9a'))[_0x477d('0xd7c')](_0x216fba)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x21ec25['show'](_0x254c42)[_0x477d('0x76')](function(){_0x2569de[_0x477d('0x1f8d')]['forEach'](function(_0x21e44d){_0x10551c(_0x21e44d);});_0x2569de['selectedAiTools']=[];});}function _0x6a895a(){_0x2569de[_0x477d('0x1f8d')]=[];}function _0x5c94e5(){_0x2569de[_0x477d('0x1f8d')]=_0x2569de[_0x477d('0x1f8b')][_0x477d('0xf2')];}}}());(function(){'use strict';_0x3db093[_0x477d('0xa')]=['$scope',_0x477d('0x3c4'),_0x477d('0xd64'),_0x477d('0x384'),'$q','$translate',_0x477d('0x40e'),_0x477d('0x1f8b'),_0x477d('0xcff'),_0x477d('0x386'),_0x477d('0x55'),_0x477d('0x613'),_0x477d('0xc8e')];angular['module']('app.settings')[_0x477d('0x3ba')](_0x477d('0x1f94'),_0x3db093);function _0x3db093(_0x57ebfa,_0x2ab093,_0x218b24,_0x2a7cea,_0x46cf5d,_0x1557b7,_0x507805,_0x5bd100,_0x2189dd,_0x578e8e,_0x1e04fc,_0x1568ae,_0x17a146){var _0x70b4c9=this;_0x70b4c9['currentUser']=_0x1e04fc[_0x477d('0x5c')]();_0x70b4c9[_0x477d('0xd67')]=[];_0x70b4c9['setting']=_0x17a146;_0x70b4c9['license']=_0x1568ae;_0x70b4c9[_0x477d('0xd68')]={};_0x70b4c9['passwordPattern']=_0x70b4c9['setting']&&_0x70b4c9['setting'][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x70b4c9[_0x477d('0x49a')]=_0x477d('0x1f9b');_0x70b4c9['cloudProvider']=angular[_0x477d('0x6d9')](_0x2189dd);_0x70b4c9[_0x477d('0x1f8b')]=_0x5bd100;_0x70b4c9[_0x477d('0x1f9c')]=![];if(!_0x70b4c9[_0x477d('0xcff')]){_0x70b4c9[_0x477d('0xcff')]={};_0x70b4c9[_0x477d('0x49a')]=_0x477d('0x1f9d');_0x70b4c9[_0x477d('0x1f9c')]=!![];}_0x70b4c9[_0x477d('0x1f9e')]=_0x5a2b75;_0x70b4c9[_0x477d('0x1f9f')]=_0x2dbd1e;_0x70b4c9[_0x477d('0x1f92')]=_0x1033bb;_0x70b4c9['getDateFromString']=_0x5b3723;_0x70b4c9[_0x477d('0x6bf')]=_0x5bd01e;function _0x5a2b75(){_0x70b4c9[_0x477d('0xd67')]=[];_0x578e8e[_0x477d('0xcff')]['save'](_0x70b4c9['cloudProvider'])['$promise'][_0x477d('0x76')](function(_0x529511){_0x70b4c9['cloudProviders'][_0x477d('0x63b')](_0x529511[_0x477d('0xd71')]());_0x507805['success']({'title':_0x477d('0x1fa0'),'msg':_0x70b4c9[_0x477d('0xcff')][_0x477d('0x94')]?_0x70b4c9[_0x477d('0xcff')]['name']+_0x477d('0xd73'):''});_0x5bd01e(_0x529511);})[_0x477d('0xf8')](function(_0x30b903){if(_0x30b903[_0x477d('0x451')]&&_0x30b903['data'][_0x477d('0xd67')]&&_0x30b903[_0x477d('0x451')]['errors']['length']){_0x70b4c9[_0x477d('0xd67')]=_0x30b903[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x30b903[_0x477d('0x453')](),'type':_0x477d('0x1fa1')}];for(var _0x4c5f2b=0x0;_0x4c5f2b<_0x30b903[_0x477d('0x451')][_0x477d('0xd67')]['length'];_0x4c5f2b+=0x1){_0x507805[_0x477d('0x44a')]({'title':_0x30b903[_0x477d('0x451')][_0x477d('0xd67')][_0x4c5f2b][_0x477d('0x439')],'msg':_0x30b903[_0x477d('0x451')][_0x477d('0xd67')][_0x4c5f2b]['message']});}}else{_0x507805['error']({'title':_0x30b903['status']?_0x477d('0x44b')+_0x30b903[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x30b903[_0x477d('0x44d')]:_0x477d('0x1fa1'),'msg':_0x30b903['data']?JSON[_0x477d('0x3fb')](_0x30b903['data'][_0x477d('0x452')]):_0x30b903[_0x477d('0x453')]()});}});}function _0x2dbd1e(){_0x70b4c9['errors']=[];_0x578e8e['cloudProvider'][_0x477d('0x710')]({'id':_0x70b4c9[_0x477d('0xcff')]['id']},_0x70b4c9[_0x477d('0xcff')])['$promise']['then'](function(_0xf35826){var _0x516048=_[_0x477d('0x10a')](_0x70b4c9[_0x477d('0x1f8b')],{'id':_0xf35826['id']});if(_0x516048){_['merge'](_0x516048,_[_0x477d('0x10b')](_0xf35826[_0x477d('0xd71')](),_[_0x477d('0x7f')](_0x516048)));}_0x507805[_0x477d('0x485')]({'title':'CloudProvider\x20properly\x20saved!','msg':_0x70b4c9[_0x477d('0xcff')][_0x477d('0x94')]?_0x70b4c9[_0x477d('0xcff')][_0x477d('0x94')]+'\x20has\x20been\x20saved!':''});_0x5bd01e(_0xf35826);})['catch'](function(_0x13a4b2){if(_0x13a4b2[_0x477d('0x451')]&&_0x13a4b2[_0x477d('0x451')][_0x477d('0xd67')]&&_0x13a4b2[_0x477d('0x451')]['errors'][_0x477d('0x79')]){_0x70b4c9[_0x477d('0xd67')]=_0x13a4b2[_0x477d('0x451')]['errors']||[{'message':_0x13a4b2['toString'](),'type':_0x477d('0x1fa2')}];for(var _0x3b850c=0x0;_0x3b850c<_0x13a4b2['data']['errors'][_0x477d('0x79')];_0x3b850c++){_0x507805[_0x477d('0x44a')]({'title':_0x13a4b2[_0x477d('0x451')][_0x477d('0xd67')][_0x3b850c][_0x477d('0x439')],'msg':_0x13a4b2[_0x477d('0x451')]['errors'][_0x3b850c]['message']});}}else{_0x507805[_0x477d('0x44a')]({'title':_0x13a4b2[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x13a4b2[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x13a4b2[_0x477d('0x44d')]:'api.cloudProvider.update','msg':_0x13a4b2[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x13a4b2[_0x477d('0x451')]['message']):_0x13a4b2['toString']()});}});}function _0x1033bb(_0x537a43){_0x70b4c9[_0x477d('0xd67')]=[];var _0x2b1ee1=_0x2a7cea[_0x477d('0xd78')]()['title']('Are\x20you\x20sure?')[_0x477d('0xdaf')]('The\x20cloudProvider\x20will\x20be\x20deleted.')['ariaLabel'](_0x477d('0x1fa3'))['ok'](_0x477d('0xd7b'))['cancel'](_0x477d('0x688'))['targetEvent'](_0x537a43);_0x2a7cea['show'](_0x2b1ee1)['then'](function(){_0x578e8e[_0x477d('0xcff')][_0x477d('0xa55')]({'id':_0x70b4c9[_0x477d('0xcff')]['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x70b4c9['cloudProviders'],{'id':_0x70b4c9['cloudProvider']['id']});_0x507805[_0x477d('0x485')]({'title':_0x477d('0x1fa4'),'msg':(_0x70b4c9[_0x477d('0xcff')][_0x477d('0x94')]||_0x477d('0xcff'))+'\x20has\x20been\x20deleted!'});_0x5bd01e(_0x70b4c9[_0x477d('0xcff')]);})[_0x477d('0xf8')](function(_0x1df62b){if(_0x1df62b[_0x477d('0x451')]&&_0x1df62b[_0x477d('0x451')][_0x477d('0xd67')]&&_0x1df62b[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x70b4c9[_0x477d('0xd67')]=_0x1df62b[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x1df62b[_0x477d('0x453')](),'type':_0x477d('0x1fa5')}];for(var _0xb7c93d=0x0;_0xb7c93d<_0x1df62b[_0x477d('0x451')]['errors'][_0x477d('0x79')];_0xb7c93d++){_0x507805[_0x477d('0x44a')]({'title':_0x1df62b[_0x477d('0x451')][_0x477d('0xd67')][_0xb7c93d][_0x477d('0x439')],'msg':_0x1df62b['data'][_0x477d('0xd67')][_0xb7c93d][_0x477d('0x452')]});}}else{_0x507805[_0x477d('0x44a')]({'title':_0x1df62b['status']?'API:'+_0x1df62b[_0x477d('0x3c3')]+'\x20-\x20'+_0x1df62b[_0x477d('0x44d')]:_0x477d('0x1fa5'),'msg':_0x1df62b[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x1df62b['data'][_0x477d('0x452')]):_0x1df62b[_0x477d('0x452')]||_0x1df62b['toString']()});}});},function(){});}function _0x5b3723(_0x4595f8){return _0x4595f8===null?undefined:new Date(_0x4595f8);}function _0x5bd01e(_0x36cc20){_0x2a7cea[_0x477d('0x3bc')](_0x36cc20);}}}());(function(){'use strict';_0xb9e2e7[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x3c4'),_0x477d('0xd64'),_0x477d('0x384'),'$q',_0x477d('0x40d'),_0x477d('0x40e'),_0x477d('0x1fa6'),_0x477d('0x1fa7'),_0x477d('0x386'),_0x477d('0x55'),_0x477d('0x613'),'setting','crudPermissions'];angular['module'](_0x477d('0x39'))[_0x477d('0x3ba')](_0x477d('0x1fa8'),_0xb9e2e7);function _0xb9e2e7(_0x15e4d3,_0x50b6e5,_0x38a773,_0x3bb2b7,_0x1cf482,_0x145889,_0x3e3f19,_0x1a16e5,_0x937d3,_0x4df0b1,_0x462a7d,_0x4a7bc4,_0x450b81,_0x157a7f){var _0x25a4e7=this;_0x25a4e7[_0x477d('0x3e5')]=_0x462a7d[_0x477d('0x5c')]();_0x25a4e7[_0x477d('0xd67')]=[];_0x25a4e7[_0x477d('0xc8e')]=_0x450b81;_0x25a4e7[_0x477d('0x613')]=_0x4a7bc4;_0x25a4e7[_0x477d('0xd66')]=_0x157a7f;_0x25a4e7[_0x477d('0xd68')]={};_0x25a4e7[_0x477d('0xd69')]=_0x25a4e7['setting']&&_0x25a4e7[_0x477d('0xc8e')][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x25a4e7['title']=_0x477d('0x1fa9');_0x25a4e7[_0x477d('0x1fa7')]=angular['copy'](_0x937d3);_0x25a4e7[_0x477d('0x1fa6')]=_0x1a16e5;_0x25a4e7[_0x477d('0x1faa')]=![];if(!_0x25a4e7[_0x477d('0x1fa7')]){_0x25a4e7[_0x477d('0x1fa7')]={};_0x25a4e7[_0x477d('0x49a')]='SETTINGS.NEW_CUSTOMIZATION';_0x25a4e7[_0x477d('0x1faa')]=!![];}_0x25a4e7[_0x477d('0x1fab')]=_0x206157;_0x25a4e7[_0x477d('0x1fac')]=_0x48acd7;_0x25a4e7[_0x477d('0x1fad')]=_0x526c22;_0x25a4e7[_0x477d('0xd6f')]=_0x46159d;_0x25a4e7[_0x477d('0x6bf')]=_0x2d92d6;function _0x206157(){_0x25a4e7[_0x477d('0xd67')]=[];_0x4df0b1[_0x477d('0xc8e')]['save'](_0x25a4e7[_0x477d('0x1fa7')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x235b81){_0x25a4e7[_0x477d('0x1fa6')][_0x477d('0x63b')](_0x235b81[_0x477d('0xd71')]());_0x3e3f19['success']({'title':_0x477d('0x1fae'),'msg':_0x25a4e7[_0x477d('0x1fa7')][_0x477d('0x94')]?_0x25a4e7[_0x477d('0x1fa7')]['name']+'\x20has\x20been\x20created!':''});_0x2d92d6(_0x235b81);})[_0x477d('0xf8')](function(_0x24af11){if(_0x24af11[_0x477d('0x451')]&&_0x24af11[_0x477d('0x451')][_0x477d('0xd67')]&&_0x24af11[_0x477d('0x451')][_0x477d('0xd67')]['length']){_0x25a4e7[_0x477d('0xd67')]=_0x24af11[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x24af11[_0x477d('0x453')](),'type':'api.setting.save'}];for(var _0x300068=0x0;_0x300068<_0x24af11[_0x477d('0x451')][_0x477d('0xd67')]['length'];_0x300068+=0x1){_0x3e3f19[_0x477d('0x44a')]({'title':_0x24af11['data']['errors'][_0x300068][_0x477d('0x439')],'msg':_0x24af11[_0x477d('0x451')][_0x477d('0xd67')][_0x300068]['message']});}}else{_0x3e3f19[_0x477d('0x44a')]({'title':_0x24af11['status']?_0x477d('0x44b')+_0x24af11[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x24af11[_0x477d('0x44d')]:'api.setting.save','msg':_0x24af11['data']?JSON[_0x477d('0x3fb')](_0x24af11['data'][_0x477d('0x452')]):_0x24af11[_0x477d('0x453')]()});}});}function _0x48acd7(){_0x25a4e7['errors']=[];_0x4df0b1['setting'][_0x477d('0x710')]({'id':_0x25a4e7[_0x477d('0x1fa7')]['id']},_0x25a4e7[_0x477d('0x1fa7')])['$promise'][_0x477d('0x76')](function(_0xa30ebe){var _0x3e9be6=_[_0x477d('0x10a')](_0x25a4e7['customizations'],{'id':_0xa30ebe['id']});if(_0x3e9be6){_[_0x477d('0xef')](_0x3e9be6,_['pick'](_0xa30ebe['toJSON'](),_['keys'](_0x3e9be6)));}_0x3e3f19['success']({'title':_0x477d('0x1faf'),'msg':_0x25a4e7[_0x477d('0x1fa7')][_0x477d('0x94')]?_0x25a4e7['customization'][_0x477d('0x94')]+_0x477d('0xd76'):''});_0x2d92d6(_0xa30ebe);})[_0x477d('0xf8')](function(_0x5c7fe0){if(_0x5c7fe0[_0x477d('0x451')]&&_0x5c7fe0[_0x477d('0x451')][_0x477d('0xd67')]&&_0x5c7fe0[_0x477d('0x451')]['errors'][_0x477d('0x79')]){_0x25a4e7[_0x477d('0xd67')]=_0x5c7fe0[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x5c7fe0[_0x477d('0x453')](),'type':_0x477d('0x1fb0')}];for(var _0x54aef5=0x0;_0x54aef5<_0x5c7fe0[_0x477d('0x451')]['errors'][_0x477d('0x79')];_0x54aef5++){_0x3e3f19['error']({'title':_0x5c7fe0['data'][_0x477d('0xd67')][_0x54aef5]['type'],'msg':_0x5c7fe0['data'][_0x477d('0xd67')][_0x54aef5][_0x477d('0x452')]});}}else{_0x3e3f19[_0x477d('0x44a')]({'title':_0x5c7fe0['status']?_0x477d('0x44b')+_0x5c7fe0['status']+'\x20-\x20'+_0x5c7fe0[_0x477d('0x44d')]:'api.setting.update','msg':_0x5c7fe0[_0x477d('0x451')]?JSON['stringify'](_0x5c7fe0[_0x477d('0x451')]['message']):_0x5c7fe0[_0x477d('0x453')]()});}});}function _0x526c22(_0x2d8894){_0x25a4e7[_0x477d('0xd67')]=[];var _0x2b5597=_0x3bb2b7[_0x477d('0xd78')]()['title'](_0x477d('0xd79'))['content']('The\x20customization\x20will\x20be\x20deleted.')['ariaLabel'](_0x477d('0x1fb1'))['ok']('Delete')[_0x477d('0x4f0')](_0x477d('0x688'))[_0x477d('0xd7c')](_0x2d8894);_0x3bb2b7[_0x477d('0x395')](_0x2b5597)['then'](function(){_0x4df0b1['setting'][_0x477d('0xa55')]({'id':_0x25a4e7[_0x477d('0x1fa7')]['id']})[_0x477d('0x38b')]['then'](function(){_[_0x477d('0x39c')](_0x25a4e7[_0x477d('0x1fa6')],{'id':_0x25a4e7[_0x477d('0x1fa7')]['id']});_0x3e3f19[_0x477d('0x485')]({'title':_0x477d('0x1fb2'),'msg':(_0x25a4e7[_0x477d('0x1fa7')][_0x477d('0x94')]||_0x477d('0x1fa7'))+'\x20has\x20been\x20deleted!'});_0x2d92d6(_0x25a4e7[_0x477d('0x1fa7')]);})[_0x477d('0xf8')](function(_0x5204d5){if(_0x5204d5[_0x477d('0x451')]&&_0x5204d5[_0x477d('0x451')][_0x477d('0xd67')]&&_0x5204d5[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x25a4e7[_0x477d('0xd67')]=_0x5204d5['data']['errors']||[{'message':_0x5204d5[_0x477d('0x453')](),'type':_0x477d('0x1fb3')}];for(var _0x497fe5=0x0;_0x497fe5<_0x5204d5[_0x477d('0x451')]['errors'][_0x477d('0x79')];_0x497fe5++){_0x3e3f19[_0x477d('0x44a')]({'title':_0x5204d5[_0x477d('0x451')]['errors'][_0x497fe5][_0x477d('0x439')],'msg':_0x5204d5[_0x477d('0x451')][_0x477d('0xd67')][_0x497fe5][_0x477d('0x452')]});}}else{_0x3e3f19[_0x477d('0x44a')]({'title':_0x5204d5['status']?_0x477d('0x44b')+_0x5204d5[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x5204d5['statusText']:_0x477d('0x1fb3'),'msg':_0x5204d5[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x5204d5['data'][_0x477d('0x452')]):_0x5204d5[_0x477d('0x452')]||_0x5204d5[_0x477d('0x453')]()});}});},function(){});}function _0x46159d(_0x3fbb1e){return _0x3fbb1e===null?undefined:new Date(_0x3fbb1e);}function _0x2d92d6(_0x5c9441){_0x3bb2b7[_0x477d('0x3bc')](_0x5c9441);}}}());(function(){'use strict';_0x441d0c[_0x477d('0xa')]=[_0x477d('0x1fa6'),'api',_0x477d('0x40e'),_0x477d('0x613'),_0x477d('0x55')];angular[_0x477d('0xb')](_0x477d('0x39'))[_0x477d('0x3ba')]('CustomizationsController',_0x441d0c);function _0x441d0c(_0x22da28,_0x13bf87,_0xf43422,_0x3f69ec,_0x4970fa){var _0x59a763=this;_0x59a763[_0x477d('0x3e5')]=_0x4970fa[_0x477d('0x5c')]();_0x59a763[_0x477d('0x613')]=_0x3f69ec;_0x59a763['customizations']=_0x22da28;_0x59a763[_0x477d('0x1fa7')]={};if(_0x59a763['customizations']&&_0x59a763[_0x477d('0x1fa6')][_0x477d('0xf2')]&&_0x59a763[_0x477d('0x1fa6')]['rows'][_0x477d('0x79')]){_0x59a763[_0x477d('0x1fa7')]=_0x59a763['customizations'][_0x477d('0xf2')][0x0];}_0x59a763[_0x477d('0x1fac')]=_0xc1397f;function _0xc1397f(){if(_0x59a763[_0x477d('0x1fa7')]['id']){_0x13bf87['setting'][_0x477d('0x710')]({'id':_0x59a763[_0x477d('0x1fa7')]['id']},_0x59a763[_0x477d('0x1fa7')])['$promise'][_0x477d('0x76')](function(){_0xf43422['success']({'title':_0x477d('0x1fb4'),'msg':_0x59a763[_0x477d('0x1fa7')]['name']?_0x59a763[_0x477d('0x1fa7')]['name']+_0x477d('0xed7'):''});})[_0x477d('0xf8')](function(_0x3042e6){_0xf43422[_0x477d('0x44a')]({'title':_0x3042e6[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x3042e6[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x3042e6[_0x477d('0x44d')]:_0x477d('0x1fb5'),'msg':_0x3042e6[_0x477d('0x451')]?JSON['stringify'](_0x3042e6['data']):_0x3042e6[_0x477d('0x453')]()});});}else{_0x13bf87['setting'][_0x477d('0xd70')](_0x59a763[_0x477d('0x1fa7')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x50444b){_[_0x477d('0xef')](_0x59a763[_0x477d('0x1fa7')],_0x50444b);_0xf43422[_0x477d('0x485')]({'title':_0x477d('0x1fb4'),'msg':_0x59a763[_0x477d('0x1fa7')][_0x477d('0x94')]?_0x59a763['customization'][_0x477d('0x94')]+'\x20has\x20been\x20updated!':''});})[_0x477d('0xf8')](function(_0x343bc3){_0xf43422[_0x477d('0x44a')]({'title':_0x343bc3['status']?_0x477d('0x44b')+_0x343bc3[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x343bc3['statusText']:_0x477d('0x1fb5'),'msg':_0x343bc3['data']?JSON[_0x477d('0x3fb')](_0x343bc3[_0x477d('0x451')]):_0x343bc3['toString']()});});}}}}());(function(){'use strict';_0x8fe0cd[_0x477d('0xa')]=[_0x477d('0x385'),_0x477d('0x40e')];angular[_0x477d('0xb')](_0x477d('0x39'))[_0x477d('0x3ba')](_0x477d('0x1fb6'),_0x8fe0cd);function _0x8fe0cd(_0x5f0e73,_0x2f01a9){var _0x11d344=this;var _0x5d6e71=0x8;var _0xd014d4=_0x5d6e71*0x400*0x400;_0x11d344[_0x477d('0x1fa7')]={};_0x11d344[_0x477d('0x1174')]={'singleFile':!![],'maxChunkRetries':0x1,'chunkSize':_0xd014d4,'simultaneousUploads':0x1,'testChunks':![],'progressCallbacksInterval':0x3e8,'allowDuplicateUploads':!![]};_0x11d344['ngFlow']={'flow':{}};_0x11d344[_0x477d('0x1175')]=![];_0x11d344[_0x477d('0x1176')]=_0x589250;_0x11d344['upload']=_0xd67780;_0x11d344[_0x477d('0x133a')]=_0x44f52a;_0x11d344[_0x477d('0x5ee')]=_0x43d96c;function _0x43d96c(_0x11d84c){_0x11d344[_0x477d('0x1fa7')]=angular[_0x477d('0x6d9')](_0x11d84c);_0x11d344[_0x477d('0x1174')]['target']=_0x477d('0x1fb7')[_0x477d('0x409')](':id',_0x11d344[_0x477d('0x1fa7')]['id']);_0x11d344[_0x477d('0x1fa7')][_0x477d('0x12a2')]=[];}function _0x589250(_0x146a28){var _0x3f9f4d=[_0x477d('0x12a3'),_0x477d('0x12a4'),'ico'];if(!_[_0x477d('0x3a4')](_0x3f9f4d,_0x146a28[_0x477d('0x1178')]())){_0x2f01a9['error']({'title':'Invalid\x20extension:\x20'+_0x146a28[_0x477d('0x1178')](),'msg':'Supported\x20extension:\x20'+_0x3f9f4d[_0x477d('0x3f6')]()});return![];}if(_0x146a28[_0x477d('0x117b')]>_0xd014d4){_0x2f01a9[_0x477d('0x44a')]({'title':_0x477d('0x12a6'),'msg':_0x477d('0x133e')+_0x5d6e71+'MB'});return![];}var _0x4111c2={'id':_0x146a28[_0x477d('0x12a7')],'file':_0x146a28,'type':_0x477d('0x133f')};_0x11d344[_0x477d('0x1fa7')][_0x477d('0x12a2')][_0x477d('0x63b')](_0x4111c2);return!![];}function _0xd67780(){_0x11d344[_0x477d('0x129f')][_0x477d('0xae')][_0x477d('0x12a8')][_0x477d('0x3c0')]={'X-Requested-With':_0x477d('0x12a9'),'Authorization':_0x477d('0x12aa')+_0x5f0e73['get']('motion.token')};_0x11d344[_0x477d('0x129f')][_0x477d('0xae')]['upload']();}function _0x44f52a(_0x2a2f2d,_0x4c064a){angular[_0x477d('0x3b1')](_0x11d344[_0x477d('0x1fa7')]['images'],function(_0x8bf17d,_0x13754e){if(_0x8bf17d['id']===_0x2a2f2d[_0x477d('0x12a7')]){var _0x1e7a57=new FileReader();_0x1e7a57[_0x477d('0xecd')](_0x8bf17d['file'][_0x477d('0xec5')]);_0x1e7a57[_0x477d('0xec7')]=function(_0x14b746){_0x8bf17d[_0x477d('0x3c1')]=_0x14b746[_0x477d('0x378')][_0x477d('0xec8')];};_0x8bf17d[_0x477d('0x439')]='image';}});}}}());(function(){'use strict';_0x5a5fe1[_0x477d('0xa')]=[_0x477d('0x385'),'toasty'];angular[_0x477d('0xb')](_0x477d('0x39'))[_0x477d('0x3ba')](_0x477d('0x1fb8'),_0x5a5fe1);function _0x5a5fe1(_0x41434a,_0x4bc53f){var _0x1dc380=this;var _0x55aa45=0x8;var _0x3224dc=_0x55aa45*0x400*0x400;_0x1dc380[_0x477d('0x1fa7')]={};_0x1dc380[_0x477d('0x1174')]={'singleFile':!![],'maxChunkRetries':0x1,'chunkSize':_0x3224dc,'simultaneousUploads':0x1,'testChunks':![],'progressCallbacksInterval':0x3e8,'allowDuplicateUploads':!![]};_0x1dc380[_0x477d('0x129f')]={'flow':{}};_0x1dc380[_0x477d('0x1175')]=![];_0x1dc380[_0x477d('0x1176')]=_0x2e0a88;_0x1dc380[_0x477d('0x12a0')]=_0x836ad4;_0x1dc380[_0x477d('0x133a')]=_0x2298e;_0x1dc380[_0x477d('0x5ee')]=_0x5fbdb7;function _0x5fbdb7(_0x4ead5f){_0x1dc380['customization']=angular[_0x477d('0x6d9')](_0x4ead5f);_0x1dc380[_0x477d('0x1174')][_0x477d('0x378')]=_0x477d('0x1fb9')[_0x477d('0x409')](':id',_0x1dc380[_0x477d('0x1fa7')]['id']);_0x1dc380[_0x477d('0x1fa7')][_0x477d('0x12a2')]=[];}function _0x2e0a88(_0x268317){var _0x19d967=['png',_0x477d('0x12a4')];if(!_[_0x477d('0x3a4')](_0x19d967,_0x268317[_0x477d('0x1178')]())){_0x4bc53f[_0x477d('0x44a')]({'title':_0x477d('0x133d')+_0x268317[_0x477d('0x1178')](),'msg':_0x477d('0x12a5')+_0x19d967[_0x477d('0x3f6')]()});return![];}if(_0x268317[_0x477d('0x117b')]>_0x3224dc){_0x4bc53f['error']({'title':_0x477d('0x12a6'),'msg':'The\x20max\x20allowed\x20size\x20is\x20'+_0x55aa45+'MB'});return![];}var _0x34d71d={'id':_0x268317['uniqueIdentifier'],'file':_0x268317,'type':_0x477d('0x133f')};_0x1dc380[_0x477d('0x1fa7')][_0x477d('0x12a2')][_0x477d('0x63b')](_0x34d71d);return!![];}function _0x836ad4(){_0x1dc380[_0x477d('0x129f')]['flow'][_0x477d('0x12a8')][_0x477d('0x3c0')]={'X-Requested-With':_0x477d('0x12a9'),'Authorization':_0x477d('0x12aa')+_0x41434a['get'](_0x477d('0x389'))};_0x1dc380[_0x477d('0x129f')][_0x477d('0xae')][_0x477d('0x12a0')]();}function _0x2298e(_0x5919e0,_0x267e79){angular[_0x477d('0x3b1')](_0x1dc380[_0x477d('0x1fa7')][_0x477d('0x12a2')],function(_0x191f6b,_0x2b3d38){if(_0x191f6b['id']===_0x5919e0['uniqueIdentifier']){var _0x4000c7=new FileReader();_0x4000c7[_0x477d('0xecd')](_0x191f6b[_0x477d('0xec5')][_0x477d('0xec5')]);_0x4000c7[_0x477d('0xec7')]=function(_0x416ba9){_0x191f6b['url']=_0x416ba9[_0x477d('0x378')][_0x477d('0xec8')];};_0x191f6b[_0x477d('0x439')]=_0x477d('0x12ab');}});}}}());(function(){'use strict';_0x40d2c0[_0x477d('0xa')]=[_0x477d('0x385'),'toasty'];angular[_0x477d('0xb')]('app.settings')[_0x477d('0x3ba')]('CustomizationlogologinController',_0x40d2c0);function _0x40d2c0(_0x1d4bab,_0x4a98fd){var _0x47241a=this;var _0x40560b=0x8;var _0x1726f8=_0x40560b*0x400*0x400;_0x47241a[_0x477d('0x1fa7')]={};_0x47241a[_0x477d('0x1174')]={'singleFile':!![],'maxChunkRetries':0x1,'chunkSize':_0x1726f8,'simultaneousUploads':0x1,'testChunks':![],'progressCallbacksInterval':0x3e8,'allowDuplicateUploads':!![]};_0x47241a['ngFlow']={'flow':{}};_0x47241a[_0x477d('0x1175')]=![];_0x47241a[_0x477d('0x1176')]=_0x2c4c22;_0x47241a[_0x477d('0x12a0')]=_0x1bd0a5;_0x47241a[_0x477d('0x133a')]=_0x53e755;_0x47241a[_0x477d('0x5ee')]=_0x349bc6;function _0x349bc6(_0x52ebde){_0x47241a[_0x477d('0x1fa7')]=angular[_0x477d('0x6d9')](_0x52ebde);_0x47241a[_0x477d('0x1174')][_0x477d('0x378')]='/api/settings/1/logo_login'[_0x477d('0x409')](_0x477d('0x133c'),_0x47241a[_0x477d('0x1fa7')]['id']);_0x47241a['customization'][_0x477d('0x12a2')]=[];}function _0x2c4c22(_0xb608c5){var _0x5a7c57=[_0x477d('0x12a3'),_0x477d('0x12a4')];if(!_[_0x477d('0x3a4')](_0x5a7c57,_0xb608c5[_0x477d('0x1178')]())){_0x4a98fd[_0x477d('0x44a')]({'title':_0x477d('0x133d')+_0xb608c5[_0x477d('0x1178')](),'msg':_0x477d('0x12a5')+_0x5a7c57[_0x477d('0x3f6')]()});return![];}if(_0xb608c5[_0x477d('0x117b')]>_0x1726f8){_0x4a98fd[_0x477d('0x44a')]({'title':_0x477d('0x12a6'),'msg':_0x477d('0x133e')+_0x40560b+'MB'});return![];}var _0x57b491={'id':_0xb608c5[_0x477d('0x12a7')],'file':_0xb608c5,'type':_0x477d('0x133f')};_0x47241a[_0x477d('0x1fa7')][_0x477d('0x12a2')]['unshift'](_0x57b491);return!![];}function _0x1bd0a5(){_0x47241a[_0x477d('0x129f')][_0x477d('0xae')][_0x477d('0x12a8')][_0x477d('0x3c0')]={'X-Requested-With':_0x477d('0x12a9'),'Authorization':_0x477d('0x12aa')+_0x1d4bab[_0x477d('0x376')](_0x477d('0x389'))};_0x47241a['ngFlow'][_0x477d('0xae')]['upload']();}function _0x53e755(_0x55bb2e,_0x519adc){angular[_0x477d('0x3b1')](_0x47241a[_0x477d('0x1fa7')][_0x477d('0x12a2')],function(_0x50e81a,_0x139de8){if(_0x50e81a['id']===_0x55bb2e[_0x477d('0x12a7')]){var _0x34b865=new FileReader();_0x34b865[_0x477d('0xecd')](_0x50e81a[_0x477d('0xec5')][_0x477d('0xec5')]);_0x34b865['onload']=function(_0x27c8b7){_0x50e81a[_0x477d('0x3c1')]=_0x27c8b7[_0x477d('0x378')][_0x477d('0xec8')];};_0x50e81a[_0x477d('0x439')]=_0x477d('0x12ab');}});}}}());(function(){'use strict';_0x5d0d79[_0x477d('0xa')]=[_0x477d('0x385'),_0x477d('0x40e')];angular[_0x477d('0xb')](_0x477d('0x39'))[_0x477d('0x3ba')]('CustomizationpreferredController',_0x5d0d79);function _0x5d0d79(_0x56c7c4,_0x2880a0){var _0x3e9e24=this;var _0xf8b155=0x8;var _0x59e8e0=_0xf8b155*0x400*0x400;_0x3e9e24[_0x477d('0x1fa7')]={};_0x3e9e24['ngFlowOptions']={'singleFile':!![],'maxChunkRetries':0x1,'chunkSize':_0x59e8e0,'simultaneousUploads':0x1,'testChunks':![],'progressCallbacksInterval':0x3e8,'allowDuplicateUploads':!![]};_0x3e9e24[_0x477d('0x129f')]={'flow':{}};_0x3e9e24['dropping']=![];_0x3e9e24[_0x477d('0x1176')]=_0x487c16;_0x3e9e24[_0x477d('0x12a0')]=_0x390f30;_0x3e9e24[_0x477d('0x133a')]=_0x3703e3;_0x3e9e24[_0x477d('0x5ee')]=_0x5a3729;function _0x5a3729(_0x490afb){_0x3e9e24[_0x477d('0x1fa7')]=angular[_0x477d('0x6d9')](_0x490afb);_0x3e9e24['ngFlowOptions']['target']='/api/settings/1/preferred'[_0x477d('0x409')](':id',_0x3e9e24[_0x477d('0x1fa7')]['id']);_0x3e9e24[_0x477d('0x1fa7')][_0x477d('0x12a2')]=[];}function _0x487c16(_0x3b6f16){var _0x326a9e=[_0x477d('0x12a3'),_0x477d('0x12a4')];if(!_[_0x477d('0x3a4')](_0x326a9e,_0x3b6f16[_0x477d('0x1178')]())){_0x2880a0[_0x477d('0x44a')]({'title':_0x477d('0x133d')+_0x3b6f16[_0x477d('0x1178')](),'msg':_0x477d('0x12a5')+_0x326a9e[_0x477d('0x3f6')]()});return![];}if(_0x3b6f16[_0x477d('0x117b')]>_0x59e8e0){_0x2880a0['error']({'title':_0x477d('0x12a6'),'msg':'The\x20max\x20allowed\x20size\x20is\x20'+_0xf8b155+'MB'});return![];}var _0x174884={'id':_0x3b6f16[_0x477d('0x12a7')],'file':_0x3b6f16,'type':_0x477d('0x133f')};_0x3e9e24[_0x477d('0x1fa7')][_0x477d('0x12a2')][_0x477d('0x63b')](_0x174884);return!![];}function _0x390f30(){_0x3e9e24[_0x477d('0x129f')][_0x477d('0xae')][_0x477d('0x12a8')][_0x477d('0x3c0')]={'X-Requested-With':_0x477d('0x12a9'),'Authorization':'Bearer\x20'+_0x56c7c4['get']('motion.token')};_0x3e9e24[_0x477d('0x129f')][_0x477d('0xae')][_0x477d('0x12a0')]();}function _0x3703e3(_0x113a84,_0x4ac950){angular[_0x477d('0x3b1')](_0x3e9e24[_0x477d('0x1fa7')][_0x477d('0x12a2')],function(_0x290397,_0x491e6b){if(_0x290397['id']===_0x113a84['uniqueIdentifier']){var _0x44d7f5=new FileReader();_0x44d7f5[_0x477d('0xecd')](_0x290397[_0x477d('0xec5')][_0x477d('0xec5')]);_0x44d7f5[_0x477d('0xec7')]=function(_0x4bc8f7){_0x290397[_0x477d('0x3c1')]=_0x4bc8f7[_0x477d('0x378')][_0x477d('0xec8')];};_0x290397[_0x477d('0x439')]=_0x477d('0x12ab');}});}}}());(function(){'use strict';_0x1bdcba[_0x477d('0xa')]=['$scope','$state',_0x477d('0xd64'),'$mdDialog','$q',_0x477d('0x40d'),_0x477d('0x40e'),_0x477d('0x1fba'),'general',_0x477d('0x386'),'Auth','license',_0x477d('0xc8e'),_0x477d('0xd66')];angular[_0x477d('0xb')]('app.settings')[_0x477d('0x3ba')]('CreateOrEditGeneralDialogController',_0x1bdcba);function _0x1bdcba(_0x14e677,_0x377bc9,_0x59e6c4,_0x1e9273,_0x3559fb,_0x38e5e6,_0x150151,_0x9b59d0,_0x563b56,_0x222a53,_0x532da8,_0xf2dd12,_0x5b9e16,_0xc62beb){var _0x2a2e32=this;_0x2a2e32[_0x477d('0x3e5')]=_0x532da8[_0x477d('0x5c')]();_0x2a2e32['errors']=[];_0x2a2e32[_0x477d('0xc8e')]=_0x5b9e16;_0x2a2e32[_0x477d('0x613')]=_0xf2dd12;_0x2a2e32[_0x477d('0xd66')]=_0xc62beb;_0x2a2e32['hasModulePermissions']={};_0x2a2e32[_0x477d('0xd69')]=_0x2a2e32['setting']&&_0x2a2e32[_0x477d('0xc8e')]['securePassword']?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x2a2e32[_0x477d('0x49a')]=_0x477d('0x1fbb');_0x2a2e32[_0x477d('0x1fbc')]=angular['copy'](_0x563b56);_0x2a2e32['generals']=_0x9b59d0;_0x2a2e32['newGeneral']=![];if(!_0x2a2e32['general']){_0x2a2e32[_0x477d('0x1fbc')]={'min_internal':0x3e8,'chatTimeout':0x1e,'phoneBarAutoUpdater':!![],'phoneBarAutoUpdaterUrl':_0x477d('0x1fbd'),'splitSizeCsv':0x1388,'splitSizePdf':0x3e8,'splitSizeXlsx':0x1388,'messagesAlignment':_0x477d('0x121d'),'phoneBarRememberMeEnabled':!![],'allowedLoginAttempts':0x5,'blockDuration':0xa,'loginMailFrequency':0xa};_0x2a2e32[_0x477d('0x49a')]=_0x477d('0x1fbe');_0x2a2e32[_0x477d('0x1fbf')]=!![];}_0x2a2e32['addNewGeneral']=_0x4c5341;_0x2a2e32[_0x477d('0x1fc0')]=_0xf4a771;_0x2a2e32[_0x477d('0x1fc1')]=_0x194d2b;_0x2a2e32[_0x477d('0xd6f')]=_0x28bf11;_0x2a2e32[_0x477d('0x6bf')]=_0x5b6260;_0x222a53[_0x477d('0xcff')][_0x477d('0x376')]({'fields':'id,name','sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x5d7ab1){_0x2a2e32['cloudProviders']=_0x5d7ab1['rows']||[];})[_0x477d('0xf8')](function(_0x2e4ac8){_0x150151[_0x477d('0x44a')]({'title':_0x2e4ac8[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x2e4ac8[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x2e4ac8[_0x477d('0x44d')]:_0x477d('0x1fc2'),'msg':_0x2e4ac8[_0x477d('0x451')]?JSON['stringify'](_0x2e4ac8[_0x477d('0x451')]):_0x2e4ac8['toString']()});});function _0x4c5341(){_0x2a2e32[_0x477d('0xd67')]=[];_0x222a53[_0x477d('0xc8e')][_0x477d('0xd70')](_0x2a2e32['general'])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x254c6a){_0x2a2e32[_0x477d('0x1fba')]['unshift'](_0x254c6a['toJSON']());_0x150151['success']({'title':_0x477d('0x1fc3'),'msg':_0x2a2e32[_0x477d('0x1fbc')][_0x477d('0x94')]?_0x2a2e32[_0x477d('0x1fbc')][_0x477d('0x94')]+'\x20has\x20been\x20created!':''});_0x5b6260(_0x254c6a);})[_0x477d('0xf8')](function(_0x1fc6d9){if(_0x1fc6d9[_0x477d('0x451')]&&_0x1fc6d9[_0x477d('0x451')][_0x477d('0xd67')]&&_0x1fc6d9[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x2a2e32[_0x477d('0xd67')]=_0x1fc6d9[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x1fc6d9[_0x477d('0x453')](),'type':_0x477d('0x1fc4')}];for(var _0x50bb79=0x0;_0x50bb79<_0x1fc6d9[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x50bb79+=0x1){_0x150151[_0x477d('0x44a')]({'title':_0x1fc6d9[_0x477d('0x451')][_0x477d('0xd67')][_0x50bb79][_0x477d('0x439')],'msg':_0x1fc6d9[_0x477d('0x451')][_0x477d('0xd67')][_0x50bb79][_0x477d('0x452')]});}}else{_0x150151['error']({'title':_0x1fc6d9['status']?_0x477d('0x44b')+_0x1fc6d9[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x1fc6d9['statusText']:_0x477d('0x1fc4'),'msg':_0x1fc6d9[_0x477d('0x451')]?JSON['stringify'](_0x1fc6d9[_0x477d('0x451')]['message']):_0x1fc6d9['toString']()});}});}function _0xf4a771(){_0x2a2e32[_0x477d('0xd67')]=[];_0x222a53[_0x477d('0xc8e')][_0x477d('0x710')]({'id':_0x2a2e32[_0x477d('0x1fbc')]['id']},_0x2a2e32[_0x477d('0x1fbc')])[_0x477d('0x38b')]['then'](function(_0xb59d53){var _0x1a49f4=_['find'](_0x2a2e32[_0x477d('0x1fba')],{'id':_0xb59d53['id']});if(_0x1a49f4){_[_0x477d('0xef')](_0x1a49f4,_[_0x477d('0x10b')](_0xb59d53['toJSON'](),_[_0x477d('0x7f')](_0x1a49f4)));}_0x150151[_0x477d('0x485')]({'title':'General\x20properly\x20saved!','msg':_0x2a2e32[_0x477d('0x1fbc')][_0x477d('0x94')]?_0x2a2e32[_0x477d('0x1fbc')][_0x477d('0x94')]+_0x477d('0xd76'):''});_0x5b6260(_0xb59d53);})[_0x477d('0xf8')](function(_0x2c1a1f){if(_0x2c1a1f[_0x477d('0x451')]&&_0x2c1a1f[_0x477d('0x451')][_0x477d('0xd67')]&&_0x2c1a1f[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x2a2e32[_0x477d('0xd67')]=_0x2c1a1f[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x2c1a1f[_0x477d('0x453')](),'type':'api.setting.update'}];for(var _0x538420=0x0;_0x538420<_0x2c1a1f[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x538420++){_0x150151[_0x477d('0x44a')]({'title':_0x2c1a1f['data'][_0x477d('0xd67')][_0x538420]['type'],'msg':_0x2c1a1f['data'][_0x477d('0xd67')][_0x538420][_0x477d('0x452')]});}}else{_0x150151[_0x477d('0x44a')]({'title':_0x2c1a1f[_0x477d('0x3c3')]?'API:'+_0x2c1a1f[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x2c1a1f[_0x477d('0x44d')]:_0x477d('0x1fb0'),'msg':_0x2c1a1f['data']?JSON[_0x477d('0x3fb')](_0x2c1a1f['data'][_0x477d('0x452')]):_0x2c1a1f['toString']()});}});}function _0x194d2b(_0x27cfc2){_0x2a2e32[_0x477d('0xd67')]=[];var _0x311339=_0x1e9273['confirm']()[_0x477d('0x49a')](_0x477d('0xd79'))[_0x477d('0xdaf')](_0x477d('0x1fc5'))[_0x477d('0x687')](_0x477d('0x1fc6'))['ok'](_0x477d('0xd7b'))[_0x477d('0x4f0')](_0x477d('0x688'))[_0x477d('0xd7c')](_0x27cfc2);_0x1e9273['show'](_0x311339)[_0x477d('0x76')](function(){_0x222a53[_0x477d('0xc8e')][_0x477d('0xa55')]({'id':_0x2a2e32[_0x477d('0x1fbc')]['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_['remove'](_0x2a2e32[_0x477d('0x1fba')],{'id':_0x2a2e32[_0x477d('0x1fbc')]['id']});_0x150151[_0x477d('0x485')]({'title':_0x477d('0x1fc7'),'msg':(_0x2a2e32[_0x477d('0x1fbc')]['name']||_0x477d('0x1fbc'))+_0x477d('0xd7e')});_0x5b6260(_0x2a2e32[_0x477d('0x1fbc')]);})['catch'](function(_0x30dbf1){if(_0x30dbf1['data']&&_0x30dbf1[_0x477d('0x451')][_0x477d('0xd67')]&&_0x30dbf1[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x2a2e32[_0x477d('0xd67')]=_0x30dbf1[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x30dbf1[_0x477d('0x453')](),'type':'api.setting.delete'}];for(var _0x20c17c=0x0;_0x20c17c<_0x30dbf1[_0x477d('0x451')][_0x477d('0xd67')]['length'];_0x20c17c++){_0x150151['error']({'title':_0x30dbf1[_0x477d('0x451')][_0x477d('0xd67')][_0x20c17c][_0x477d('0x439')],'msg':_0x30dbf1[_0x477d('0x451')]['errors'][_0x20c17c][_0x477d('0x452')]});}}else{_0x150151[_0x477d('0x44a')]({'title':_0x30dbf1[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x30dbf1[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x30dbf1['statusText']:_0x477d('0x1fb3'),'msg':_0x30dbf1[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x30dbf1[_0x477d('0x451')][_0x477d('0x452')]):_0x30dbf1[_0x477d('0x452')]||_0x30dbf1[_0x477d('0x453')]()});}});},function(){});}function _0x28bf11(_0x1e7f06){return _0x1e7f06===null?undefined:new Date(_0x1e7f06);}function _0x5b6260(_0x3fdc49){_0x1e9273['hide'](_0x3fdc49);}}}());(function(){'use strict';_0x45385a[_0x477d('0xa')]=[_0x477d('0x1fba'),_0x477d('0x386'),_0x477d('0x40e'),_0x477d('0x613'),_0x477d('0x55')];angular[_0x477d('0xb')](_0x477d('0x39'))[_0x477d('0x3ba')](_0x477d('0x1fc8'),_0x45385a);function _0x45385a(_0xa261bf,_0x561de0,_0x285b74,_0x263fdf,_0x57a49b){var _0x1e601f=this;_0x1e601f[_0x477d('0x3e5')]=_0x57a49b[_0x477d('0x5c')]();_0x1e601f[_0x477d('0x613')]=_0x263fdf;_0x1e601f[_0x477d('0x1fba')]=_0xa261bf;_0x1e601f[_0x477d('0x1fbc')]={};if(_0x1e601f[_0x477d('0x1fba')]&&_0x1e601f[_0x477d('0x1fba')][_0x477d('0xf2')]&&_0x1e601f[_0x477d('0x1fba')][_0x477d('0xf2')][_0x477d('0x79')]){_0x1e601f['general']=_0x1e601f['generals'][_0x477d('0xf2')][0x0];}_0x561de0[_0x477d('0xcff')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')]['then'](function(_0x377636){_0x1e601f['cloudProviders']=_0x377636[_0x477d('0xf2')]||[];})['catch'](function(_0x5ac4d4){_0x285b74[_0x477d('0x44a')]({'title':_0x5ac4d4['status']?_0x477d('0x44b')+_0x5ac4d4[_0x477d('0x3c3')]+'\x20-\x20'+_0x5ac4d4[_0x477d('0x44d')]:_0x477d('0x1fc2'),'msg':_0x5ac4d4[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x5ac4d4[_0x477d('0x451')]):_0x5ac4d4[_0x477d('0x453')]()});});_0x1e601f[_0x477d('0x1fc0')]=_0x4a9ce4;function _0x4a9ce4(){if(_0x1e601f[_0x477d('0x1fbc')]['id']){_0x561de0['setting']['update']({'id':_0x1e601f['general']['id']},_0x1e601f[_0x477d('0x1fbc')])[_0x477d('0x38b')]['then'](function(){_0x285b74['success']({'title':_0x477d('0x1fc9'),'msg':_0x1e601f['general'][_0x477d('0x94')]?_0x1e601f[_0x477d('0x1fbc')]['name']+_0x477d('0xed7'):''});})[_0x477d('0xf8')](function(_0x23e92b){_0x285b74['error']({'title':_0x23e92b['status']?_0x477d('0x44b')+_0x23e92b[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x23e92b[_0x477d('0x44d')]:_0x477d('0x1fb5'),'msg':_0x23e92b['data']?JSON[_0x477d('0x3fb')](_0x23e92b[_0x477d('0x451')]):_0x23e92b[_0x477d('0x453')]()});});}else{_0x561de0[_0x477d('0xc8e')][_0x477d('0xd70')](_0x1e601f['general'])[_0x477d('0x38b')]['then'](function(_0x335575){_[_0x477d('0xef')](_0x1e601f['general'],_0x335575);_0x285b74[_0x477d('0x485')]({'title':_0x477d('0x1fc9'),'msg':_0x1e601f[_0x477d('0x1fbc')][_0x477d('0x94')]?_0x1e601f['general'][_0x477d('0x94')]+'\x20has\x20been\x20updated!':''});})[_0x477d('0xf8')](function(_0x5e2037){_0x285b74['error']({'title':_0x5e2037['status']?_0x477d('0x44b')+_0x5e2037[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x5e2037[_0x477d('0x44d')]:'SYSTEM:GETsetting','msg':_0x5e2037[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x5e2037['data']):_0x5e2037['toString']()});});}}}}());(function(){'use strict';_0x4cb951[_0x477d('0xa')]=['$document',_0x477d('0x384'),'$state',_0x477d('0x613'),_0x477d('0x40e'),_0x477d('0x386')];angular[_0x477d('0xb')](_0x477d('0x247'))[_0x477d('0x3ba')](_0x477d('0x1fca'),_0x4cb951);function _0x4cb951(_0x44f174,_0x5bbae2,_0x2e3144,_0x50bc07,_0x387ffa,_0x3ee897){var _0x560050=this;_0x560050[_0x477d('0x613')]=_0x50bc07||{};_0x560050[_0x477d('0x125c')]=0x0;_0x560050[_0x477d('0xf2d')]=0x0;_0x560050[_0x477d('0x3b9')]=0x0;_0x560050[_0x477d('0x1fcb')]=[{'name':'voice','icon':_0x477d('0x1fcc')},{'name':_0x477d('0xb6'),'icon':_0x477d('0x15aa')},{'name':_0x477d('0x1d6'),'icon':_0x477d('0x15ab')},{'name':_0x477d('0x18fc'),'icon':'icon-message-text'},{'name':'fax','icon':'icon-deskphone'},{'name':_0x477d('0x22a'),'icon':_0x477d('0x15ad')},{'name':_0x477d('0x35d'),'icon':_0x477d('0x15ae')}];_0x560050[_0x477d('0x1fcd')]=[{'name':'cm','icon':'icon-account-circle'},{'name':_0x477d('0x17a4'),'icon':_0x477d('0x1fce')},{'name':_0x477d('0x1cb'),'icon':_0x477d('0x1fcf')}];_0x560050[_0x477d('0x1fd0')]=[{'name':_0x477d('0x478'),'icon':'icon-server-plus'},{'name':_0x477d('0x1fd1'),'icon':'icon-fish'},{'name':_0x477d('0x9f6'),'icon':_0x477d('0x1fd2')},{'name':'screenrecording','icon':'icon-video'},{'name':'ai','icon':_0x477d('0x1fd3')}];_0x560050[_0x477d('0x602')]=[{'name':_0x477d('0x87'),'icon':_0x477d('0x1fd4'),'restart':!![],'label':'channels','enabled':_0x477d('0x108')},{'name':_0x477d('0x1fd5'),'icon':_0x477d('0x1fd6'),'restart':![],'label':_0x477d('0x602'),'enabled':_0x477d('0xb6')}];_0x560050[_0x477d('0x1fd7')]=[{'name':'update','icon':'icon-cloud-download'}];_0x560050[_0x477d('0x1fd8')]=_0x3f62c4;_0x560050['updateLicense']=_0x408b75;_0x560050['gotoProcess']=_0xce905f;_0x3ee897[_0x477d('0x380')][_0x477d('0x376')]({'fields':'id','role':_0x477d('0xcf'),'online':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x146447){_0x560050[_0x477d('0x125c')]=_0x146447&&_0x146447[_0x477d('0x3bb')]?_0x146447[_0x477d('0x3bb')]:0x0;return _0x3ee897['user'][_0x477d('0x376')]({'fields':'id','role':'user,admin'})[_0x477d('0x38b')];})['then'](function(_0x39761d){_0x560050[_0x477d('0xf2d')]=_0x39761d&&_0x39761d[_0x477d('0x3bb')]?_0x39761d[_0x477d('0x3bb')]:0x0;return _0x3ee897[_0x477d('0x380')]['get']({'fields':'id','role':_0x477d('0x295')})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0xc0faf0){_0x560050['telephones']=_0xc0faf0&&_0xc0faf0[_0x477d('0x3bb')]?_0xc0faf0[_0x477d('0x3bb')]:0x0;})[_0x477d('0xf8')](function(_0x2d096b){console[_0x477d('0x7b')](_0x2d096b);});function _0x408b75(_0x45223f){_0x5bbae2[_0x477d('0x395')]({'controller':'UpdateLicenseDialogController','controllerAs':'vm','templateUrl':_0x477d('0x1fd9'),'parent':angular['element'](_0x44f174[_0x477d('0x399')]),'targetEvent':_0x45223f,'clickOutsideToClose':!![],'locals':{'license':_0x50bc07}});}function _0x3f62c4(_0xd3c37){_0x5bbae2[_0x477d('0x395')]({'controller':_0x477d('0x1fda'),'controllerAs':'vm','templateUrl':'app/main/apps/settings/views/license/request/dialog.html','parent':angular['element'](_0x44f174[_0x477d('0x399')]),'targetEvent':_0xd3c37,'clickOutsideToClose':!![],'locals':{'license':_0x50bc07,'channels':_0x560050[_0x477d('0x1fcb')],'modules':_0x560050[_0x477d('0x1fcd')],'addons':_0x560050['addons'],'sessions':_0x560050[_0x477d('0x602')],'others':_0x560050[_0x477d('0x1fd7')]}});}function _0xce905f(_0x2a8f1b){_0x2e3144['go'](_0x477d('0x262'),{'tab':0x1});}}}());(function(){'use strict';_0x444ccc[_0x477d('0xa')]=[_0x477d('0x384'),_0x477d('0x40e'),'license',_0x477d('0x1fcb'),_0x477d('0x1fcd'),'addons',_0x477d('0x602'),'others',_0x477d('0x386'),'Auth',_0x477d('0x40d')];angular[_0x477d('0xb')]('app.settings.license')['controller'](_0x477d('0x1fda'),_0x444ccc);function _0x444ccc(_0x5e1408,_0x53ef08,_0x49afdf,_0x336567,_0x34605b,_0x41d7aa,_0x2d427e,_0x40b01c,_0xb41508,_0x137caa,_0x4f9396){var _0x53f3bf=this;_0x53f3bf[_0x477d('0xd67')]=[];_0x53f3bf['user']=_0x137caa['getCurrentUser']();_0x53f3bf['license']=angular[_0x477d('0x6d9')](_0x49afdf);_0x53f3bf['channels']=_0x336567;_0x53f3bf['modules']=_0x34605b;_0x53f3bf[_0x477d('0x1fd0')]=_0x41d7aa;_0x53f3bf[_0x477d('0x602')]=_0x2d427e;_0x53f3bf[_0x477d('0x1fd7')]=_0x40b01c;_0x53f3bf['license'][_0x477d('0x94')]=_0x53f3bf[_0x477d('0x380')][_0x477d('0xcd')];_0x53f3bf[_0x477d('0x613')][_0x477d('0x1359')]=_0x53f3bf[_0x477d('0x380')][_0x477d('0x1359')];_0x53f3bf['sendRequest']=_0x1dfca1;_0x53f3bf[_0x477d('0x6bf')]=_0x564a7b;function _0x1dfca1(){_0x53f3bf[_0x477d('0xd67')]=[];_0x53f3bf['table']=_0x477d('0x1fdb');for(var _0x218c4e in _0x53f3bf[_0x477d('0x613')]){if(_0x53f3bf[_0x477d('0x613')]['hasOwnProperty'](_0x218c4e)&&!_[_0x477d('0x3a4')]([_0x477d('0x38b'),_0x477d('0x80')],_0x218c4e)){if(_0x49afdf[_0x218c4e]===_0x53f3bf[_0x477d('0x613')][_0x218c4e]){_0x53f3bf['table']+='|'+_0x218c4e+'|'+(_0x49afdf[_0x218c4e]!==undefined?_0x49afdf[_0x218c4e]:'')+'|'+_0x53f3bf[_0x477d('0x613')][_0x218c4e]+'|\x0a';}else{_0x53f3bf[_0x477d('0xd82')]+='|'+_0x218c4e+_0x477d('0x1fdc')+(_0x49afdf[_0x218c4e]!==undefined?_0x49afdf[_0x218c4e]:'')+'{color}|*'+_0x53f3bf['license'][_0x218c4e]+_0x477d('0x1fdd');}}}_0xb41508[_0x477d('0xa21')][_0x477d('0xd70')]({'key':'MOTLICENSE','summary':_0x477d('0x1fde'),'description':_0x53f3bf[_0x477d('0xd82')],'issuetype':'License\x20Request'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x12cb16){_0x53ef08[_0x477d('0x485')]({'title':_0x477d('0x1fdf'),'msg':_0x4f9396[_0x477d('0x45f')](_0x477d('0x1fe0')),'timeout':0x3a98});_0x564a7b();})[_0x477d('0xf8')](function(_0x149fe3){console[_0x477d('0x44a')](_0x149fe3);_0x53f3bf[_0x477d('0xd67')]=[{'message':_0x4f9396['instant'](_0x477d('0x1fe1')),'type':_0x477d('0x1fe2')}];});}function _0x564a7b(){_0x5e1408[_0x477d('0x3bc')]();}}}());(function(){'use strict';_0xa3de60[_0x477d('0xa')]=[_0x477d('0x384'),_0x477d('0x40e'),_0x477d('0x613'),_0x477d('0x386'),_0x477d('0x40d')];angular['module'](_0x477d('0x247'))[_0x477d('0x3ba')](_0x477d('0x1fe3'),_0xa3de60);function _0xa3de60(_0x38926f,_0x1b140e,_0x13c19e,_0x58d5d0,_0x1d06d3){var _0x45c850=this;_0x45c850[_0x477d('0xd67')]=[];_0x45c850['license']=angular[_0x477d('0x6d9')](_0x13c19e);_0x45c850[_0x477d('0x1fe4')];_0x45c850[_0x477d('0x1fe5')]=_0x26ab2c;_0x45c850['closeDialog']=_0x333dd0;function _0x26ab2c(){return _0x58d5d0['license'][_0x477d('0x710')]({'id':0x1,'key':_0x45c850[_0x477d('0x1fe4')]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x168d2e){if(_0x168d2e){if(_0x168d2e['demo']){_0x1b140e[_0x477d('0x44a')]({'title':_0x477d('0x1fe6'),'msg':_0x477d('0x1fe7')});}else{_0x1b140e[_0x477d('0x485')]({'title':_0x477d('0x1fe8'),'msg':_0x477d('0x1fe9')});}}})[_0x477d('0xf8')](function(_0x506a5f){_0x1b140e[_0x477d('0x44a')]({'title':_0x506a5f[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x506a5f[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x506a5f[_0x477d('0x44d')]:_0x477d('0x1fea'),'msg':_0x506a5f[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x506a5f[_0x477d('0x451')]):_0x506a5f[_0x477d('0x453')]()});});}function _0x333dd0(){_0x38926f[_0x477d('0x3bc')]();}}}());(function(){'use strict';_0x4ef050[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x3c4'),'$location',_0x477d('0x384'),'$q',_0x477d('0x40d'),_0x477d('0x40e'),_0x477d('0x1feb'),'network',_0x477d('0x386'),_0x477d('0x55'),'license',_0x477d('0xc8e')];angular[_0x477d('0xb')](_0x477d('0x39'))[_0x477d('0x3ba')](_0x477d('0x1fec'),_0x4ef050);function _0x4ef050(_0x4b9e3d,_0x2e5fda,_0x368d7a,_0x17e4ae,_0x422292,_0x1a3e63,_0xe7f4ff,_0x921f03,_0x2dce0a,_0x3fdfc5,_0x2082ba,_0x331a6d,_0x4dbbdc){var _0x1b96c4=this;_0x1b96c4[_0x477d('0x3e5')]=_0x2082ba[_0x477d('0x5c')]();_0x1b96c4[_0x477d('0xd67')]=[];_0x1b96c4[_0x477d('0xc8e')]=_0x4dbbdc;_0x1b96c4[_0x477d('0x613')]=_0x331a6d;_0x1b96c4[_0x477d('0xd68')]={};_0x1b96c4[_0x477d('0xd69')]=_0x1b96c4[_0x477d('0xc8e')]&&_0x1b96c4[_0x477d('0xc8e')][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x1b96c4[_0x477d('0x49a')]=_0x477d('0x1fed');_0x1b96c4[_0x477d('0x5cd')]=angular[_0x477d('0x6d9')](_0x2dce0a);_0x1b96c4['networks']=_0x921f03;_0x1b96c4[_0x477d('0x1fee')]=![];if(!_0x1b96c4[_0x477d('0x5cd')]){_0x1b96c4['network']={'type':'localnet'};_0x1b96c4[_0x477d('0x49a')]=_0x477d('0x1fef');_0x1b96c4[_0x477d('0x1fee')]=!![];}_0x1b96c4[_0x477d('0x1ff0')]=_0x771fda;_0x1b96c4[_0x477d('0x1ff1')]=_0x9a4ae6;_0x1b96c4[_0x477d('0x1ff2')]=_0xdb94e;_0x1b96c4['getDateFromString']=_0x5595a8;_0x1b96c4[_0x477d('0x6bf')]=_0x325269;function _0x771fda(){_0x1b96c4[_0x477d('0xd67')]=[];_0x3fdfc5['network'][_0x477d('0xd70')](_0x1b96c4[_0x477d('0x5cd')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x223b4a){_0x1b96c4[_0x477d('0x1feb')][_0x477d('0x63b')](_0x223b4a['toJSON']());_0xe7f4ff[_0x477d('0x485')]({'title':'Network\x20properly\x20created','msg':_0x1b96c4[_0x477d('0x5cd')][_0x477d('0x94')]?_0x1b96c4[_0x477d('0x5cd')][_0x477d('0x94')]+_0x477d('0xd73'):''});_0x325269(_0x223b4a);})[_0x477d('0xf8')](function(_0x596d50){if(_0x596d50[_0x477d('0x451')]&&_0x596d50[_0x477d('0x451')][_0x477d('0xd67')]&&_0x596d50['data'][_0x477d('0xd67')]['length']){_0x1b96c4['errors']=_0x596d50[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x596d50[_0x477d('0x453')](),'type':_0x477d('0x1ff3')}];for(var _0x1a458b=0x0;_0x1a458b<_0x596d50['data'][_0x477d('0xd67')]['length'];_0x1a458b+=0x1){_0xe7f4ff['error']({'title':_0x596d50[_0x477d('0x451')][_0x477d('0xd67')][_0x1a458b][_0x477d('0x439')],'msg':_0x596d50['data'][_0x477d('0xd67')][_0x1a458b]['message']});}}else{_0xe7f4ff['error']({'title':_0x596d50[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x596d50[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x596d50[_0x477d('0x44d')]:_0x477d('0x1ff3'),'msg':_0x596d50[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x596d50['data'][_0x477d('0x452')]):_0x596d50[_0x477d('0x453')]()});}});}function _0x9a4ae6(){_0x1b96c4['errors']=[];_0x3fdfc5[_0x477d('0x5cd')]['update']({'id':_0x1b96c4[_0x477d('0x5cd')]['id']},_0x1b96c4['network'])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x5182c4){var _0x4c130b=_[_0x477d('0x10a')](_0x1b96c4['networks'],{'id':_0x5182c4['id']});if(_0x4c130b){_[_0x477d('0xef')](_0x4c130b,_['pick'](_0x5182c4[_0x477d('0xd71')](),_[_0x477d('0x7f')](_0x4c130b)));}_0xe7f4ff[_0x477d('0x485')]({'title':_0x477d('0x1ff4'),'msg':_0x1b96c4[_0x477d('0x5cd')][_0x477d('0x94')]?_0x1b96c4['network'][_0x477d('0x94')]+_0x477d('0xd76'):''});_0x325269(_0x5182c4);})[_0x477d('0xf8')](function(_0x3e39db){if(_0x3e39db[_0x477d('0x451')]&&_0x3e39db['data'][_0x477d('0xd67')]&&_0x3e39db['data'][_0x477d('0xd67')][_0x477d('0x79')]){_0x1b96c4['errors']=_0x3e39db['data'][_0x477d('0xd67')]||[{'message':_0x3e39db[_0x477d('0x453')](),'type':_0x477d('0x1ff5')}];for(var _0x252000=0x0;_0x252000<_0x3e39db[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x252000++){_0xe7f4ff[_0x477d('0x44a')]({'title':_0x3e39db[_0x477d('0x451')][_0x477d('0xd67')][_0x252000][_0x477d('0x439')],'msg':_0x3e39db[_0x477d('0x451')][_0x477d('0xd67')][_0x252000][_0x477d('0x452')]});}}else{_0xe7f4ff['error']({'title':_0x3e39db[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x3e39db[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x3e39db['statusText']:_0x477d('0x1ff5'),'msg':_0x3e39db[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x3e39db[_0x477d('0x451')]['message']):_0x3e39db[_0x477d('0x453')]()});}});}function _0xdb94e(_0x2b6c2c){_0x1b96c4[_0x477d('0xd67')]=[];var _0x3741d4=_0x17e4ae['confirm']()['title'](_0x477d('0xd79'))[_0x477d('0xdaf')](_0x477d('0x1ff6'))[_0x477d('0x687')](_0x477d('0x1ff7'))['ok'](_0x477d('0xd7b'))['cancel'](_0x477d('0x688'))[_0x477d('0xd7c')](_0x2b6c2c);_0x17e4ae[_0x477d('0x395')](_0x3741d4)[_0x477d('0x76')](function(){_0x3fdfc5[_0x477d('0x5cd')][_0x477d('0xa55')]({'id':_0x1b96c4[_0x477d('0x5cd')]['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_['remove'](_0x1b96c4[_0x477d('0x1feb')],{'id':_0x1b96c4[_0x477d('0x5cd')]['id']});_0xe7f4ff[_0x477d('0x485')]({'title':'Network\x20properly\x20deleted!','msg':(_0x1b96c4[_0x477d('0x5cd')][_0x477d('0x94')]||'network')+_0x477d('0xd7e')});_0x325269(_0x1b96c4[_0x477d('0x5cd')]);})['catch'](function(_0x203843){if(_0x203843['data']&&_0x203843[_0x477d('0x451')]['errors']&&_0x203843[_0x477d('0x451')][_0x477d('0xd67')]['length']){_0x1b96c4[_0x477d('0xd67')]=_0x203843[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x203843[_0x477d('0x453')](),'type':'api.network.delete'}];for(var _0x1038ba=0x0;_0x1038ba<_0x203843[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x1038ba++){_0xe7f4ff[_0x477d('0x44a')]({'title':_0x203843[_0x477d('0x451')][_0x477d('0xd67')][_0x1038ba]['type'],'msg':_0x203843['data'][_0x477d('0xd67')][_0x1038ba]['message']});}}else{_0xe7f4ff[_0x477d('0x44a')]({'title':_0x203843[_0x477d('0x3c3')]?'API:'+_0x203843['status']+_0x477d('0x44c')+_0x203843[_0x477d('0x44d')]:_0x477d('0x1ff8'),'msg':_0x203843[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x203843[_0x477d('0x451')][_0x477d('0x452')]):_0x203843[_0x477d('0x452')]||_0x203843[_0x477d('0x453')]()});}});},function(){});}function _0x5595a8(_0x4f6f55){return _0x4f6f55===null?undefined:new Date(_0x4f6f55);}function _0x325269(_0x575556){_0x17e4ae['hide'](_0x575556);}}}());(function(){'use strict';_0x773a17[_0x477d('0xa')]=[_0x477d('0x474'),'$window',_0x477d('0x3c4'),_0x477d('0x554'),_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x3fe'),_0x477d('0x40d'),'networks','api',_0x477d('0x342'),_0x477d('0x40e'),_0x477d('0x55'),_0x477d('0x613'),_0x477d('0xc8e')];angular[_0x477d('0xb')]('app.settings')[_0x477d('0x3ba')](_0x477d('0x1ff9'),_0x773a17);function _0x773a17(_0x1f66c4,_0xaafead,_0x4b0574,_0x1fcdd5,_0x30c90b,_0x8cdf64,_0x5b258f,_0x135fde,_0x2007d6,_0x35cad1,_0x4c8ae1,_0x4a8bd4,_0x19689b,_0x58a532,_0x2c9c26){var _0x33cd1e=this;_0x33cd1e[_0x477d('0x613')]=_0x58a532;_0x33cd1e[_0x477d('0xc8e')]=_0x2c9c26;_0x33cd1e['currentUser']=_0x19689b['getCurrentUser']();_0x33cd1e['networks']=_0x2007d6||{'count':0x0,'rows':[]};_0x33cd1e[_0x477d('0xd82')]=_0x477d('0x1feb');_0x33cd1e[_0x477d('0xd83')]='';_0x33cd1e[_0x477d('0xd84')]=null;_0x33cd1e[_0x477d('0x1ffa')]=[];_0x33cd1e[_0x477d('0x3ef')]={'fields':_0x477d('0x257'),'sort':_0x477d('0x59'),'limit':0xa,'page':0x1};_0x33cd1e[_0x477d('0x138b')]=_[_0x477d('0xdb5')]([{'option':_0x477d('0x1ffb'),'value':_0x477d('0x1ffc')},{'option':_0x477d('0x1ffd'),'value':_0x477d('0x1ffe')},{'option':_0x477d('0x1fff'),'value':_0x477d('0x2000')},{'option':_0x477d('0x2001'),'value':_0x477d('0x2002')}],function(_0x405195){return _[_0x477d('0x409')](_0x405195[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x33cd1e['editdialog']=_0x2f7b79;_0x33cd1e[_0x477d('0xd88')]=_0x2c6d6d;_0x33cd1e[_0x477d('0x485')]=_0x481900;_0x33cd1e[_0x477d('0x2003')]=_0x3b19d6;_0x33cd1e['createOrEditNetwork']=_0x12270a;_0x33cd1e['deleteNetwork']=_0x54d07b;_0x33cd1e[_0x477d('0x2004')]=_0x308f60;_0x33cd1e['deleteSelectedNetworks']=_0x44c8bd;_0x33cd1e['deselectNetworks']=_0x53d40e;_0x33cd1e[_0x477d('0x2005')]=_0x4cdb5b;function _0x2f7b79(_0x5bbb01,_0xcb713a){_0x30c90b[_0x477d('0x395')]({'controller':'CreateOrEditNetworkDialogController','controllerAs':'vm','templateUrl':_0x477d('0x2006'),'parent':angular[_0x477d('0x398')](_0x8cdf64[_0x477d('0x399')]),'targetEvent':_0xcb713a,'clickOutsideToClose':!![],'locals':{'network':_0x5bbb01,'networks':_0x33cd1e['networks'][_0x477d('0xf2')],'license':_0x33cd1e[_0x477d('0x613')],'setting':null,'crudPermissions':_0x33cd1e[_0x477d('0xd66')]}});}function _0x2c6d6d(_0x4fd271,_0x1d22e6){var _0x592571=_0x30c90b[_0x477d('0xd78')]()['title']('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20'+_[_0x477d('0xd91')]('network')+'?')[_0x477d('0xd92')](_0x477d('0xd93')+(_0x4fd271['name']||'network')+_0x477d('0xd94')+_0x477d('0xd95'))[_0x477d('0x687')]('delete\x20network')[_0x477d('0xd7c')](_0x1d22e6)['ok']('OK')[_0x477d('0x4f0')]('CANCEL');_0x30c90b['show'](_0x592571)[_0x477d('0x76')](function(){_0x54d07b(_0x4fd271);},function(){console[_0x477d('0x7b')](_0x477d('0xd97'));});}var _0x24be44=!![];var _0x471551=0x1;_0x1f66c4['$watch'](_0x477d('0xd98'),function(_0x746b15,_0x145ea3){if(_0x24be44){_0x5b258f(function(){_0x24be44=![];});}else{if(!_0x145ea3){_0x471551=_0x33cd1e[_0x477d('0x3ef')]['page'];}if(_0x746b15!==_0x145ea3){_0x33cd1e['query'][_0x477d('0xe03')]=0x1;}if(!_0x746b15){_0x33cd1e[_0x477d('0x3ef')][_0x477d('0xe03')]=_0x471551;}_0x33cd1e[_0x477d('0x2003')]();}});function _0x481900(_0x4857c5){_0x33cd1e[_0x477d('0x1feb')]=_0x4857c5||{'count':0x0,'rows':[]};}function _0x3b19d6(){_0x33cd1e[_0x477d('0x3ef')][_0x477d('0x91c')]=(_0x33cd1e[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x33cd1e[_0x477d('0x3ef')][_0x477d('0x91d')];if(_0x19689b['hasRole'](_0x477d('0x5f'))){_0x33cd1e['promise']=_0x35cad1[_0x477d('0x5cd')][_0x477d('0x376')](_0x33cd1e[_0x477d('0x3ef')],_0x481900)[_0x477d('0x38b')];}else{_0x33cd1e[_0x477d('0x3ef')]['id']=_0x33cd1e['userProfile']['id'];_0x33cd1e[_0x477d('0x3ef')]['section']=_0x477d('0x2007');_0x33cd1e[_0x477d('0x553')]=_0x35cad1[_0x477d('0x3a5')][_0x477d('0xd9a')](_0x33cd1e['query'],_0x481900)[_0x477d('0x38b')];}}function _0x12270a(_0x5610dc,_0xd48ac){_0x30c90b[_0x477d('0x395')]({'controller':_0x477d('0x1fec'),'controllerAs':'vm','templateUrl':_0x477d('0x2006'),'parent':angular[_0x477d('0x398')](_0x8cdf64['body']),'targetEvent':_0x5610dc,'clickOutsideToClose':!![],'locals':{'network':_0xd48ac,'networks':_0x33cd1e[_0x477d('0x1feb')][_0x477d('0xf2')],'license':_0x33cd1e[_0x477d('0x613')],'setting':_0x33cd1e['setting'],'crudPermissions':_0x33cd1e[_0x477d('0xd66')]}});}function _0x54d07b(_0x2eae90){_0x35cad1[_0x477d('0x5cd')]['delete']({'id':_0x2eae90['id']})[_0x477d('0x38b')]['then'](function(){_[_0x477d('0x39c')](_0x33cd1e[_0x477d('0x1feb')][_0x477d('0xf2')],{'id':_0x2eae90['id']});_0x33cd1e['networks']['count']-=0x1;if(!_0x33cd1e[_0x477d('0x1feb')][_0x477d('0xf2')]['length']){_0x33cd1e[_0x477d('0x2003')]();}_0x4a8bd4[_0x477d('0x485')]({'title':_[_0x477d('0xd91')](_0x477d('0x2008'))+'\x20deleted!','msg':_0x2eae90[_0x477d('0x94')]?_0x2eae90[_0x477d('0x94')]+_0x477d('0xd7e'):''});})[_0x477d('0xf8')](function(_0x1cc31c){if(_0x1cc31c[_0x477d('0x451')]&&_0x1cc31c['data'][_0x477d('0xd67')]&&_0x1cc31c[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x33cd1e[_0x477d('0xd67')]=_0x1cc31c[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x1cc31c['toString'](),'type':_0x477d('0x2009')}];for(var _0x1f369e=0x0;_0x1f369e<_0x1cc31c[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x1f369e++){_0x4a8bd4[_0x477d('0x44a')]({'title':_0x1cc31c['data'][_0x477d('0xd67')][_0x1f369e][_0x477d('0x439')],'msg':_0x1cc31c[_0x477d('0x451')][_0x477d('0xd67')][_0x1f369e]['message']});}}else{_0x4a8bd4[_0x477d('0x44a')]({'title':_0x1cc31c[_0x477d('0x3c3')]?'API:'+_0x1cc31c[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x1cc31c[_0x477d('0x44d')]:'SYSTEM:DELETEnetwork','msg':_0x1cc31c[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x1cc31c[_0x477d('0x451')][_0x477d('0x452')]):_0x1cc31c[_0x477d('0x452')]||_0x1cc31c[_0x477d('0x453')]()});}});}function _0x308f60(){var _0x2ec615=angular[_0x477d('0x6d9')](_0x33cd1e[_0x477d('0x1ffa')]);_0x33cd1e[_0x477d('0x1ffa')]=[];return _0x2ec615;}function _0x44c8bd(_0x31509e){var _0xd644ed=_0x30c90b[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x200a'))[_0x477d('0xd92')](''+_0x33cd1e[_0x477d('0x1ffa')][_0x477d('0x79')]+_0x477d('0xda0')+_0x477d('0xd95'))[_0x477d('0x687')]('delete\x20Networks')[_0x477d('0xd7c')](_0x31509e)['ok']('OK')[_0x477d('0x4f0')]('CANCEL');_0x30c90b[_0x477d('0x395')](_0xd644ed)[_0x477d('0x76')](function(){_0x33cd1e[_0x477d('0x1ffa')][_0x477d('0x3b1')](function(_0x4b089c){_0x54d07b(_0x4b089c);});_0x33cd1e[_0x477d('0x1ffa')]=[];});}function _0x53d40e(){_0x33cd1e['selectedNetworks']=[];}function _0x4cdb5b(){_0x33cd1e['selectedNetworks']=_0x33cd1e[_0x477d('0x1feb')][_0x477d('0xf2')];}}}());(function(){'use strict';_0x2b1954[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x3c4'),_0x477d('0xd64'),_0x477d('0x384'),'$q',_0x477d('0x40d'),_0x477d('0x40e'),_0x477d('0x200b'),_0x477d('0x200c'),_0x477d('0x386'),_0x477d('0x55'),_0x477d('0x613'),'setting',_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x39'))[_0x477d('0x3ba')](_0x477d('0x200d'),_0x2b1954);function _0x2b1954(_0x31100a,_0x18b965,_0x282510,_0x32ee25,_0x313289,_0x272636,_0x4727fe,_0xa80eff,_0x486163,_0x48362e,_0x21bc01,_0x4442ad,_0x3084ab,_0x207e24){var _0x304c9d=this;_0x304c9d[_0x477d('0x3e5')]=_0x21bc01[_0x477d('0x5c')]();_0x304c9d[_0x477d('0xd67')]=[];_0x304c9d['setting']=_0x3084ab;_0x304c9d[_0x477d('0x613')]=_0x4442ad;_0x304c9d['crudPermissions']=_0x207e24;_0x304c9d[_0x477d('0xd68')]={};_0x304c9d[_0x477d('0xd69')]=_0x304c9d['setting']&&_0x304c9d[_0x477d('0xc8e')][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x304c9d[_0x477d('0x49a')]=_0x477d('0x200e');_0x304c9d[_0x477d('0x200c')]=angular[_0x477d('0x6d9')](_0x486163);_0x304c9d[_0x477d('0x200b')]=_0xa80eff;_0x304c9d[_0x477d('0x200f')]=![];if(!_0x304c9d['smtp']){_0x304c9d['smtp']={'service':!![]};_0x304c9d[_0x477d('0x49a')]=_0x477d('0x2010');_0x304c9d[_0x477d('0x200f')]=!![];}_0x304c9d[_0x477d('0x2011')]=_0xc373fa;_0x304c9d[_0x477d('0x2012')]=_0x254fb1;_0x304c9d['deleteSmtp']=_0x4a37b3;_0x304c9d[_0x477d('0xd6f')]=_0x6d1143;_0x304c9d[_0x477d('0x6bf')]=_0x353a7e;function _0xc373fa(){_0x304c9d[_0x477d('0xd67')]=[];_0x48362e[_0x477d('0x1775')]['save'](_0x304c9d[_0x477d('0x200c')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x32d1b7){_0x304c9d['smtps']['unshift'](_0x32d1b7[_0x477d('0xd71')]());_0x4727fe['success']({'title':'Smtp\x20properly\x20created','msg':_0x304c9d[_0x477d('0x200c')]['name']?_0x304c9d[_0x477d('0x200c')]['name']+_0x477d('0xd73'):''});_0x353a7e(_0x32d1b7);})[_0x477d('0xf8')](function(_0x179505){if(_0x179505[_0x477d('0x451')]&&_0x179505[_0x477d('0x451')][_0x477d('0xd67')]&&_0x179505[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x304c9d[_0x477d('0xd67')]=_0x179505[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x179505[_0x477d('0x453')](),'type':'api.mailAccount.save'}];for(var _0x4021ad=0x0;_0x4021ad<_0x179505['data'][_0x477d('0xd67')][_0x477d('0x79')];_0x4021ad+=0x1){_0x4727fe['error']({'title':_0x179505[_0x477d('0x451')][_0x477d('0xd67')][_0x4021ad][_0x477d('0x439')],'msg':_0x179505['data']['errors'][_0x4021ad]['message']});}}else{_0x4727fe['error']({'title':_0x179505[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x179505[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x179505['statusText']:'api.mailAccount.save','msg':_0x179505[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x179505['data'][_0x477d('0x452')]):_0x179505[_0x477d('0x453')]()});}});}function _0x254fb1(){_0x304c9d[_0x477d('0xd67')]=[];_0x48362e[_0x477d('0x1775')][_0x477d('0x710')]({'id':_0x304c9d[_0x477d('0x200c')]['id']},_0x304c9d[_0x477d('0x200c')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x6d6538){var _0x752da2=_[_0x477d('0x10a')](_0x304c9d[_0x477d('0x200b')],{'id':_0x6d6538['id']});if(_0x752da2){_['merge'](_0x752da2,_[_0x477d('0x10b')](_0x6d6538[_0x477d('0xd71')](),_[_0x477d('0x7f')](_0x752da2)));}_0x4727fe[_0x477d('0x485')]({'title':_0x477d('0x2013'),'msg':_0x304c9d[_0x477d('0x200c')][_0x477d('0x94')]?_0x304c9d['smtp'][_0x477d('0x94')]+_0x477d('0xd76'):''});_0x353a7e(_0x6d6538);})[_0x477d('0xf8')](function(_0x1d487b){if(_0x1d487b[_0x477d('0x451')]&&_0x1d487b['data'][_0x477d('0xd67')]&&_0x1d487b[_0x477d('0x451')]['errors'][_0x477d('0x79')]){_0x304c9d[_0x477d('0xd67')]=_0x1d487b[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x1d487b[_0x477d('0x453')](),'type':_0x477d('0x1c75')}];for(var _0x47b3d4=0x0;_0x47b3d4<_0x1d487b['data'][_0x477d('0xd67')][_0x477d('0x79')];_0x47b3d4++){_0x4727fe[_0x477d('0x44a')]({'title':_0x1d487b[_0x477d('0x451')][_0x477d('0xd67')][_0x47b3d4][_0x477d('0x439')],'msg':_0x1d487b[_0x477d('0x451')][_0x477d('0xd67')][_0x47b3d4][_0x477d('0x452')]});}}else{_0x4727fe[_0x477d('0x44a')]({'title':_0x1d487b[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x1d487b[_0x477d('0x3c3')]+'\x20-\x20'+_0x1d487b['statusText']:_0x477d('0x1c75'),'msg':_0x1d487b['data']?JSON[_0x477d('0x3fb')](_0x1d487b['data'][_0x477d('0x452')]):_0x1d487b[_0x477d('0x453')]()});}});}function _0x4a37b3(_0x35c269){_0x304c9d[_0x477d('0xd67')]=[];var _0x14dbc4=_0x32ee25['confirm']()[_0x477d('0x49a')](_0x477d('0xd79'))[_0x477d('0xdaf')](_0x477d('0x2014'))[_0x477d('0x687')](_0x477d('0x2015'))['ok']('Delete')[_0x477d('0x4f0')](_0x477d('0x688'))[_0x477d('0xd7c')](_0x35c269);_0x32ee25['show'](_0x14dbc4)[_0x477d('0x76')](function(){_0x48362e[_0x477d('0x1775')][_0x477d('0xa55')]({'id':_0x304c9d[_0x477d('0x200c')]['id']})[_0x477d('0x38b')]['then'](function(){_[_0x477d('0x39c')](_0x304c9d[_0x477d('0x200b')],{'id':_0x304c9d[_0x477d('0x200c')]['id']});_0x4727fe[_0x477d('0x485')]({'title':_0x477d('0x2016'),'msg':(_0x304c9d[_0x477d('0x200c')]['name']||_0x477d('0x200c'))+_0x477d('0xd7e')});_0x353a7e(_0x304c9d[_0x477d('0x200c')]);})[_0x477d('0xf8')](function(_0x3cac7b){if(_0x3cac7b['data']&&_0x3cac7b[_0x477d('0x451')][_0x477d('0xd67')]&&_0x3cac7b[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x304c9d['errors']=_0x3cac7b[_0x477d('0x451')]['errors']||[{'message':_0x3cac7b[_0x477d('0x453')](),'type':_0x477d('0x1c7c')}];for(var _0x3f2b7b=0x0;_0x3f2b7b<_0x3cac7b[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x3f2b7b++){_0x4727fe['error']({'title':_0x3cac7b[_0x477d('0x451')]['errors'][_0x3f2b7b][_0x477d('0x439')],'msg':_0x3cac7b['data']['errors'][_0x3f2b7b]['message']});}}else{_0x4727fe[_0x477d('0x44a')]({'title':_0x3cac7b[_0x477d('0x3c3')]?'API:'+_0x3cac7b[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x3cac7b[_0x477d('0x44d')]:'api.mailAccount.delete','msg':_0x3cac7b[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x3cac7b[_0x477d('0x451')][_0x477d('0x452')]):_0x3cac7b['message']||_0x3cac7b['toString']()});}});},function(){});}function _0x6d1143(_0x2e3358){return _0x2e3358===null?undefined:new Date(_0x2e3358);}function _0x353a7e(_0x1f6c6c){_0x32ee25[_0x477d('0x3bc')](_0x1f6c6c);}}}());(function(){'use strict';_0x5e639f['$inject']=[_0x477d('0x200b'),_0x477d('0x386'),_0x477d('0x40e'),_0x477d('0x613'),_0x477d('0x55')];angular['module'](_0x477d('0x39'))[_0x477d('0x3ba')]('SmtpController',_0x5e639f);function _0x5e639f(_0x3d46c0,_0x4594a0,_0x2902c5,_0x18a146,_0x559744){var _0xf8e034=this;_0xf8e034[_0x477d('0x3e5')]=_0x559744[_0x477d('0x5c')]();_0xf8e034[_0x477d('0x613')]=_0x18a146;_0xf8e034[_0x477d('0x200b')]=_0x3d46c0;_0xf8e034[_0x477d('0x200c')]={};if(_0xf8e034['smtps']&&_0xf8e034[_0x477d('0x200b')][_0x477d('0xf2')]&&_0xf8e034[_0x477d('0x200b')][_0x477d('0xf2')][_0x477d('0x79')]){_0xf8e034['smtp']=_0xf8e034['smtps'][_0x477d('0xf2')][0x0];}else{_0xf8e034[_0x477d('0x200c')]={'service':!![],'Smtp':{'service':null}};}_0xf8e034[_0x477d('0x2012')]=_0x108f6d;_0xf8e034[_0x477d('0x1852')]=_0xf4fe5c;function _0xf4fe5c(){if(_0xf8e034[_0x477d('0x200c')]['id']){_0x4594a0[_0x477d('0x1775')][_0x477d('0x1852')]({'id':_0xf8e034[_0x477d('0x200c')]['id']})['$promise'][_0x477d('0x76')](function(){_0x2902c5['success']({'title':_0x477d('0x2017'),'msg':_0xf8e034[_0x477d('0x200c')][_0x477d('0x94')]?_0xf8e034[_0x477d('0x200c')][_0x477d('0x94')]+'\x20has\x20been\x20verified!':''});})[_0x477d('0xf8')](function(_0xdabf12){_0x2902c5[_0x477d('0x44a')]({'title':_0x477d('0x2018'),'msg':_0xdabf12['data']?JSON[_0x477d('0x3fb')](_0xdabf12[_0x477d('0x451')]):_0xdabf12[_0x477d('0x453')](),'timeout':0x2710});});}}function _0x108f6d(){if(_0xf8e034[_0x477d('0x200c')]['id']){_0x4594a0[_0x477d('0x1775')][_0x477d('0x710')]({'id':_0xf8e034['smtp']['id']},_0xf8e034['smtp'])['$promise'][_0x477d('0x76')](function(){_0x2902c5['success']({'title':_0x477d('0x2019'),'msg':_0xf8e034[_0x477d('0x200c')][_0x477d('0x94')]?_0xf8e034[_0x477d('0x200c')][_0x477d('0x94')]+'\x20has\x20been\x20updated!':''});})[_0x477d('0xf8')](function(_0x3047d7){_0x2902c5['error']({'title':_0x3047d7[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x3047d7[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x3047d7[_0x477d('0x44d')]:_0x477d('0x1ca2'),'msg':_0x3047d7['data']?JSON[_0x477d('0x3fb')](_0x3047d7[_0x477d('0x451')]):_0x3047d7[_0x477d('0x453')]()});});}else{_0x4594a0[_0x477d('0x1775')][_0x477d('0xd70')](_0xf8e034['smtp'])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x4193a9){_[_0x477d('0xef')](_0xf8e034[_0x477d('0x200c')],_0x4193a9);_0x2902c5[_0x477d('0x485')]({'title':_0x477d('0x2019'),'msg':_0xf8e034[_0x477d('0x200c')][_0x477d('0x94')]?_0xf8e034[_0x477d('0x200c')]['name']+_0x477d('0xed7'):''});})[_0x477d('0xf8')](function(_0x1a8033){_0x2902c5['error']({'title':_0x1a8033[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x1a8033[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x1a8033[_0x477d('0x44d')]:_0x477d('0x1ca2'),'msg':_0x1a8033[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x1a8033[_0x477d('0x451')]):_0x1a8033[_0x477d('0x453')]()});});}}}}());(function(){'use strict';_0x36bc1e[_0x477d('0xa')]=[_0x477d('0x474'),'$interval',_0x477d('0x384'),_0x477d('0x3c4'),_0x477d('0xa41'),_0x477d('0x201a'),'toasty','api'];angular[_0x477d('0xb')]('app.settings.system')[_0x477d('0x3ba')]('SystemController',_0x36bc1e);function _0x36bc1e(_0x365694,_0x5a1f36,_0x576ed3,_0x5c6291,_0x37187d,_0x43bfcc,_0x5bd8a5,_0x37dad2){var _0x20d0fe=this;var _0x24adf1;_0x20d0fe[_0x477d('0xa41')]=_0x37187d||{};_0x20d0fe[_0x477d('0x201a')]=_0x43bfcc?_0x43bfcc['rows']:[];_0x20d0fe[_0x477d('0x201b')]=0x7;_0x20d0fe[_0x477d('0xe95')]=_0x5c6291[_0x477d('0x37e')][_0x477d('0xe96')]||0x0;_0x20d0fe['getInfo']=_0x9b156c;_0x20d0fe[_0x477d('0x201c')]=_0x1eb6f5;_0x20d0fe[_0x477d('0x201d')]=_0x4204c0;_0x20d0fe['updateProcess']=_0x1e623d;function _0x4204c0(_0x29fb27){_0x5a1f36[_0x477d('0x4f0')](_0x24adf1);}function _0x1e623d(_0x193e4a,_0x203b35,_0x2f7319){var _0x37e367=_0x576ed3[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x201e')+_0x203b35+'?')[_0x477d('0x68e')](_0x477d('0x201f')+_0x2f7319['toUpperCase']())[_0x477d('0x687')](_0x477d('0x1331'))['targetEvent'](_0x193e4a)['ok']('Ok')[_0x477d('0x4f0')]('Cancel');_0x576ed3[_0x477d('0x395')](_0x37e367)[_0x477d('0x76')](function(){return _0x37dad2[_0x477d('0x1d5d')][_0x477d('0x710')]({'id':_0x203b35,'status':_0x2f7319});})[_0x477d('0x76')](function(){_0x5a1f36(_0x20d0fe[_0x477d('0x201c')],0x3e8,0x1);})['then'](function(){_0x5bd8a5['success']({'title':_0x477d('0x2020'),'msg':_0x477d('0x2021')+_0x2f7319});});}function _0x9b156c(){return _0x37dad2['system'][_0x477d('0x376')]()[_0x477d('0x38b')][_0x477d('0x76')](function(_0x2c50c2){_['merge'](_0x20d0fe[_0x477d('0xa41')],_0x2c50c2);})[_0x477d('0xf8')](_0x20d0fe[_0x477d('0x201d')]);}function _0x1eb6f5(){return _0x37dad2[_0x477d('0x1d5d')]['get']()[_0x477d('0x38b')][_0x477d('0x76')](function(_0x1fc3ac){_['merge'](_0x20d0fe[_0x477d('0x201a')],_0x1fc3ac?_0x1fc3ac['rows']:[]);})[_0x477d('0xf8')](_0x20d0fe[_0x477d('0x201d')]);}_0x24adf1=_0x5a1f36(_0x20d0fe[_0x477d('0x2022')],0x1388);_0x365694['$on'](_0x477d('0x505'),function(){_0x20d0fe[_0x477d('0x201d')]();});}}());(function(){'use strict';_0xe7778b['$inject']=[_0x477d('0x384'),'$interval',_0x477d('0x387'),_0x477d('0x3fe'),_0x477d('0x386')];angular[_0x477d('0xb')](_0x477d('0x39'))[_0x477d('0x3ba')](_0x477d('0x2023'),_0xe7778b);function _0xe7778b(_0x50521e,_0x36ddd5,_0x1889e2,_0x4ca3d7,_0x273770){var _0x2d4cab=this;_0x2d4cab['title']=_0x477d('0x2024');_0x2d4cab[_0x477d('0x2025')]=0x0;_0x2d4cab[_0x477d('0x2026')]=!![];_0x2d4cab['output']=_0x477d('0x2027');_0x2d4cab['success']=!![];_0x2d4cab[_0x477d('0x79c')]=_0x36ddd5(function(){if(_0x2d4cab[_0x477d('0x2025')]<0x5a){_0x2d4cab[_0x477d('0x2025')]+=0x1;}},0x3e8);_0x2d4cab[_0x477d('0x6bf')]=_0x2ea5d4;_0x2d4cab[_0x477d('0x9b0')]=_0x2e2b37;_0x2d4cab[_0x477d('0x2028')]=_0x3cf37f;_0x273770[_0x477d('0x3e2')][_0x477d('0x2029')]()[_0x477d('0x38b')]['then'](function(_0x55d267){_0x2d4cab[_0x477d('0x202a')]=_0x55d267['output']+_0x477d('0x202b');return _0x273770[_0x477d('0x3e2')]['reset']()['$promise'];})[_0x477d('0x76')](function(_0x5e231a){_0x2d4cab['output']=_0x5e231a[_0x477d('0x202a')]+_0x477d('0x202b');return _0x273770[_0x477d('0x3e2')][_0x477d('0x202c')]()['$promise'];})[_0x477d('0x76')](function(_0x5f3e47){_0x2d4cab[_0x477d('0x202a')]=_0x5f3e47[_0x477d('0x202a')]+_0x477d('0x202b');return _0x273770[_0x477d('0x3e2')]['migrations']()[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x138f3c){_0x2d4cab[_0x477d('0x202a')]=_0x138f3c[_0x477d('0x202a')]+_0x477d('0x202b');return _0x273770['version'][_0x477d('0x202d')]()[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x373e96){_0x2d4cab['output']=_0x477d('0x202e');_0x4ca3d7(function(){_0x2d4cab[_0x477d('0x2028')]();},0x7530);})[_0x477d('0xf8')](function(_0x339b91){_0x2d4cab[_0x477d('0x485')]=![];_0x2d4cab[_0x477d('0x2028')]();_0x2d4cab[_0x477d('0x202a')]=JSON[_0x477d('0x3fb')](_0x339b91);});function _0x3cf37f(){if(angular['isDefined'](_0x2d4cab[_0x477d('0x79c')])){_0x36ddd5[_0x477d('0x4f0')](_0x2d4cab['interval']);_0x2d4cab['interval']=undefined;}_0x2d4cab['progress']=0x64;_0x2d4cab[_0x477d('0x2026')]=![];}function _0x2e2b37(){_0x1889e2['location']['reload']();}function _0x2ea5d4(){_0x50521e['hide']();}}}());(function(){'use strict';_0xc44a99[_0x477d('0xa')]=['$mdDialog',_0x477d('0x794'),'$document','version','toasty'];angular['module'](_0x477d('0x39'))[_0x477d('0x3ba')](_0x477d('0x202f'),_0xc44a99);function _0xc44a99(_0x2c60b1,_0x5a8c0a,_0x17d50e,_0xa3c357,_0x35e3ef){var _0x3a00fb=this;_0x3a00fb[_0x477d('0x3e2')]=_0xa3c357||{};_0x3a00fb[_0x477d('0x2030')]=_0x53d0e3;function _0x53d0e3(_0x4b23d2){var _0x2253ed=_0x2c60b1[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x2031'))[_0x477d('0xd92')](_0x477d('0x2032'))['ariaLabel']('')[_0x477d('0xd7c')](_0x4b23d2)[_0x477d('0x13f3')](!![])[_0x477d('0x374')](angular[_0x477d('0x398')](_0x17d50e[_0x477d('0x399')]))['ok']('I\x20agree')[_0x477d('0x4f0')](_0x477d('0x2033'));_0x2c60b1['show'](_0x2253ed)['then'](function(){_0x2c60b1[_0x477d('0x395')]({'controller':_0x477d('0x2023'),'controllerAs':'vm','templateUrl':_0x477d('0x2034'),'parent':angular[_0x477d('0x398')](_0x17d50e[_0x477d('0x399')]),'targetEvent':_0x4b23d2,'clickOutsideToClose':![]});});}}}());(function(){'use strict';_0x2742bf['$inject']=[_0x477d('0x474'),'$q',_0x477d('0x3fe'),_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x6db'),_0x477d('0xf39'),'agents',_0x477d('0x13d7'),_0x477d('0x386'),_0x477d('0x5a3'),_0x477d('0x40e'),_0x477d('0x13b4'),_0x477d('0x3a5'),_0x477d('0x3ac'),_0x477d('0x55'),'license',_0x477d('0x794')];angular['module'](_0x477d('0x2f'))[_0x477d('0x3ba')](_0x477d('0x2035'),_0x2742bf);function _0x2742bf(_0x3e5645,_0x1d83ec,_0x5715bc,_0xabc9dc,_0x4442c4,_0x45341a,_0x47757c,_0x418c59,_0x29273a,_0x5f1b83,_0x3b3f27,_0x2f4826,_0xbbd736,_0x426020,_0xc32816,_0x318e7d,_0x478340,_0x576791){var _0x2a7abd=this;var _0x511896=[_0x477d('0x13b6'),_0x477d('0x13d3'),_0x477d('0x392'),'lastPauseAt','pauseType',_0x477d('0x13b7'),_0x477d('0x324'),_0x477d('0x13b8'),_0x477d('0x13d0'),_0x477d('0x13d1'),_0x477d('0x13b9'),'smsPause',_0x477d('0x13ba'),_0x477d('0x13bb'),_0x477d('0x624'),_0x477d('0x19a8'),_0x477d('0x13bc'),_0x477d('0x13bd'),'smsCapacity',_0x477d('0x1d37'),_0x477d('0x13bf'),'chatCurrentCapacity',_0x477d('0x19a9'),_0x477d('0x13c1'),'smsCurrentCapacity',_0x477d('0x19aa'),_0x477d('0x13c3'),'chatStatus','openchannelStatus',_0x477d('0x1ec6'),_0x477d('0x13c5'),'whatsappStatus',_0x477d('0x13c7'),_0x477d('0x13c8'),'chatStatusTime',_0x477d('0x13ca'),_0x477d('0x13cb'),'smsStatusTime',_0x477d('0x13fe'),_0x477d('0x13cc'),_0x477d('0x19ac'),'queue',_0x477d('0x13ef'),_0x477d('0x13cd'),_0x477d('0x13ce'),_0x477d('0x13cf')];var _0xbc2dcb=['chatPause',_0x477d('0x13d1'),_0x477d('0x13b9'),_0x477d('0x13d2'),_0x477d('0x13ba'),'faxPause',_0x477d('0x624'),_0x477d('0x13d3')];_0x2a7abd[_0x477d('0x3e5')]=_0x318e7d['getCurrentUser']();_0x2a7abd[_0x477d('0x1ec7')]=[_0x477d('0x5ed'),_0x477d('0x13d4'),_0x477d('0x13fb'),_0x477d('0x13d5'),_0x477d('0x13d6')];_0x2a7abd[_0x477d('0xf39')]=_0x47757c||{'count':0x0,'rows':[]};_0x2a7abd[_0x477d('0x613')]=_0x478340;_0x2a7abd['userProfile']=_0x426020;_0x2a7abd[_0x477d('0x3ac')]=_0xc32816&&_0xc32816['count']==0x1?_0xc32816['rows'][0x0]:null;_0x2a7abd[_0x477d('0xd66')]=_0x318e7d[_0x477d('0xd81')](_0x2a7abd[_0x477d('0x3ac')]?_0x2a7abd[_0x477d('0x3ac')]['crudPermissions']:null);_0x2a7abd['agents']=_0x418c59?_[_0x477d('0xdb5')](_0x418c59['rows']?_0x418c59[_0x477d('0xf2')]:[],'id'):{};_0x2a7abd['rpcAgents']=_0x29273a?_[_0x477d('0xdb5')](_0x29273a['rows']?_0x29273a[_0x477d('0xf2')]:[],'id'):{};_0x2a7abd[_0x477d('0x13d8')]={};_0x2a7abd[_0x477d('0x600')]=![];_0x2a7abd[_0x477d('0x13d9')]=[];_0x2a7abd[_0x477d('0x13da')]={};for(var _0x56e57e in _0x2a7abd[_0x477d('0x125c')]){if(_0x2a7abd[_0x477d('0x125c')][_0x477d('0x3ea')](_0x56e57e)){_0x2a7abd[_0x477d('0x125c')][_0x56e57e][_0x477d('0x5ee')]=!![];}}_0x2a7abd['query']={'limit':0xa,'page':0x1,'order':_0x477d('0xcd'),'globalStatusFilter':'','pauseTypeFilter':''};_0x2a7abd[_0x477d('0x38c')]=_0x3f0956;_0x2a7abd['queueAdd']=_0x513756;_0x2a7abd[_0x477d('0x657')]=_0x18e81c;_0x2a7abd['unPause']=_0x17b066;_0x2a7abd['showInfo']=_0x20653d;_0x2a7abd['getAgentStatus']=_0x1ca1c0;_0x2a7abd['getAgentGlobalStatus']=_0x535061;_0x2a7abd[_0x477d('0x13df')]=_0x2624f3;_0x2a7abd['checkPause']=_0x1ce0a3;_0x2a7abd['isPartialPause']=_0x1e8777;_0x2a7abd[_0x477d('0x13e2')]=_0x44906d;_0x2a7abd[_0x477d('0x13e3')]=_0x1aaec7;_0x2a7abd[_0x477d('0x71a')]=_0x5ddab4;_0x2a7abd[_0x477d('0x13e6')]=_0x1d75c5;_0x2a7abd['onComplete']=_0x36046e;_0x2a7abd[_0x477d('0xa8a')]=_0x376abf;_0x3b3f27['on'](_0x477d('0x13e5'),_0x2a7abd[_0x477d('0x13e2')]);_0x3b3f27['on'](_0x477d('0x1402'),_0x2a7abd[_0x477d('0x13e3')]);_0x3b3f27['on'](_0x477d('0x1403'),_0x2a7abd[_0x477d('0x13e6')]);_0x3b3f27['on'](_0x477d('0x13e7'),_0x2a7abd[_0x477d('0x13e4')]);_0x5ddab4();var _0xd681b4=_0x576791(function(){if(_0x2a7abd[_0x477d('0x600')]){_0x2a7abd[_0x477d('0x600')]=![];_0x5ddab4();}},0x3e7);function _0x5ddab4(_0x50c9e6){_0x2a7abd[_0x477d('0x600')]=![];var _0x5c103a=_0x1d83ec[_0x477d('0x54a')]();_0x2a7abd['promise']=_0x5c103a['promise'];_0x2a7abd[_0x477d('0x13e8')]=[];_0x2a7abd[_0x477d('0x13d9')]=[];_[_0x477d('0xe4b')](_0x2a7abd[_0x477d('0x125c')],function(_0x5da9fa,_0x24d1ad){if(_0x2a7abd['rpcAgents'][_0x24d1ad]){_[_0x477d('0xef')](_0x5da9fa,_[_0x477d('0x10b')](_['omit'](_0x2a7abd['rpcAgents'][_0x24d1ad],_0xbc2dcb),_0x511896));}_0x535061(_0x5da9fa);if(_0x5da9fa[_0x477d('0x13d3')]){_0x2a7abd[_0x477d('0x13e8')][_0x477d('0x3a7')](_0x5da9fa);_0x2a7abd[_0x477d('0x13da')][_0x5da9fa[_0x477d('0x324')]]=_0x24d1ad;}else{_0x5da9fa[_0x477d('0x13ed')]=_[_0x477d('0x18e6')](moment()[_0x477d('0x12f')]('x'));}});if(_0x2a7abd[_0x477d('0x3ef')][_0x477d('0x13e9')]){_[_0x477d('0x39c')](_0x2a7abd[_0x477d('0x13e8')],function(_0x293cd4){return _0x293cd4[_0x477d('0x13ea')]!==_0x2a7abd[_0x477d('0x3ef')][_0x477d('0x13e9')];});}if(_0x2a7abd[_0x477d('0x3ef')][_0x477d('0x13eb')]){_[_0x477d('0x39c')](_0x2a7abd[_0x477d('0x13e8')],function(_0x50dec1){return _0x50dec1['pauseType']!==_0x2a7abd[_0x477d('0x3ef')][_0x477d('0x13eb')];});}if(_0x2a7abd['query']['filter']){_[_0x477d('0x39c')](_0x2a7abd[_0x477d('0x13e8')],function(_0x32397c){return _0x32397c[_0x477d('0xcd')]['toLowerCase']()[_0x477d('0x477')](_0x2a7abd[_0x477d('0x3ef')]['filter'][_0x477d('0x449')]())<0x0;});}_0x2a7abd[_0x477d('0x13e8')]=_0x1893cf(_0x2a7abd[_0x477d('0x13e8')]);var _0x559f90=(_0x2a7abd[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x2a7abd[_0x477d('0x3ef')][_0x477d('0x91d')];_0x2a7abd[_0x477d('0x13d8')]=_[_0x477d('0x13ec')](_0x2a7abd[_0x477d('0x13e8')],_0x559f90)[_0x477d('0x9cd')](0x0,_0x2a7abd['query'][_0x477d('0x91d')]);for(var _0x363445=0x0;_0x363445<_0x2a7abd[_0x477d('0x13d8')][_0x477d('0x79')];_0x363445+=0x1){_0x2a7abd[_0x477d('0x13d9')]['push'](_0x2a7abd[_0x477d('0x13d8')][_0x363445]['id']);}_0x5c103a[_0x477d('0x5a')]();_0x2a7abd[_0x477d('0x600')]=!![];}function _0x44906d(_0x495b9f){if(_0x2a7abd[_0x477d('0x125c')][_0x495b9f['id']]){_[_0x477d('0xef')](_0x2a7abd[_0x477d('0x125c')][_0x495b9f['id']],_[_0x477d('0x10b')](_['omit'](_0x495b9f,_0xbc2dcb),_0x511896));_['merge'](_0x2a7abd['rpcAgents'][_0x495b9f['id']],_[_0x477d('0x10b')](_[_0x477d('0x3fc')](_0x495b9f,_0xbc2dcb),_0x511896));_0x535061(_0x2a7abd[_0x477d('0x125c')][_0x495b9f['id']]);}}function _0x1aaec7(_0x475d35){if(_0x2a7abd['agents'][_0x475d35['id']]){_[_0x477d('0xef')](_0x2a7abd['agents'][_0x475d35['id']],_[_0x477d('0x10b')](_0x475d35,_0x511896));_[_0x477d('0xef')](_0x2a7abd['rpcAgents'][_0x475d35['id']],_[_0x477d('0x10b')](_0x475d35,_0x511896));if(_0x475d35[_0x477d('0x13b7')]){_0x2a7abd['agents'][_0x475d35['id']][_0x477d('0x13ed')]=_0x475d35[_0x477d('0x13b7')];_0x2a7abd[_0x477d('0x13d7')][_0x475d35['id']][_0x477d('0x13ed')]=_0x475d35[_0x477d('0x13b7')];}_0x535061(_0x2a7abd[_0x477d('0x125c')][_0x475d35['id']]);}}function _0x1d75c5(_0xa4df51){if(_0x2a7abd['agents'][_0x2a7abd['agentInternal'][_0xa4df51[_0x477d('0x13ee')]]]){_[_0x477d('0xef')](_0x2a7abd['agents'][_0x2a7abd[_0x477d('0x13da')][_0xa4df51[_0x477d('0x13ee')]]],_[_0x477d('0x10b')](_0xa4df51,[_0x477d('0x1256'),_0x477d('0x13ef')]));_[_0x477d('0xef')](_0x2a7abd[_0x477d('0x13d7')][_0x2a7abd[_0x477d('0x13da')][_0xa4df51[_0x477d('0x13ee')]]],_['pick'](_0xa4df51,[_0x477d('0x1256'),_0x477d('0x13ef')]));}}function _0x36046e(_0x94b355){if(_0x2a7abd['agents'][_0x2a7abd['agentInternal'][_0x94b355['destaccountcode']]]){_0x2a7abd['agents'][_0x2a7abd['agentInternal'][_0x94b355['destaccountcode']]]=_[_0x477d('0x3fc')](_0x2a7abd['agents'][_0x2a7abd['agentInternal'][_0x94b355['destaccountcode']]],['queue',_0x477d('0x13ef')]);_0x2a7abd[_0x477d('0x13d7')][_0x2a7abd['agentInternal'][_0x94b355[_0x477d('0x13ee')]]]=_[_0x477d('0x3fc')](_0x2a7abd[_0x477d('0x13d7')][_0x2a7abd[_0x477d('0x13da')][_0x94b355[_0x477d('0x13ee')]]],[_0x477d('0x1256'),_0x477d('0x13ef')]);}}function _0x3f0956(_0xcbc8f6,_0x43dab6){return _0x5f1b83[_0x477d('0x380')][_0x477d('0x38c')]({'id':_0xcbc8f6['id'],'device':_0x477d('0x11f1'),'agent_id':_0xcbc8f6['id'],'agent_name':_0xcbc8f6['name']})['$promise']['then'](function(){_0x2f4826['success']({'title':_0x477d('0x13f0'),'msg':_0xcbc8f6[_0x477d('0xcd')]+'\x20\x20properly\x20logout'});if(_0x2a7abd['agents'][_0xcbc8f6['id']]){_0x2a7abd[_0x477d('0x125c')][_0xcbc8f6['id']][_0x477d('0x13d3')]=![];}if(_0x2a7abd[_0x477d('0x13d7')][_0xcbc8f6['id']]){_0x2a7abd[_0x477d('0x13d7')][_0xcbc8f6['id']][_0x477d('0x13d3')]=![];}_0x5ddab4();})['catch'](function(_0x26024b){_0x2f4826[_0x477d('0x44a')]({'title':_0x26024b[_0x477d('0x3c3')]?'API:'+_0x26024b['status']+'\x20-\x20'+_0x26024b[_0x477d('0x44d')]:_0x477d('0x13f2'),'msg':_0x26024b['data']?JSON['stringify'](_0x26024b[_0x477d('0x451')][_0x477d('0x452')]):_0x26024b[_0x477d('0x453')]()});});}function _0x18e81c(_0x3de531,_0x35bbc1){return _0x5f1b83[_0x477d('0x380')][_0x477d('0x657')]({'id':_0x3de531['id'],'type':_0x35bbc1})[_0x477d('0x38b')]['then'](function(_0x287baf){if(_0x2a7abd[_0x477d('0x125c')][_0x3de531['id']]){_[_0x477d('0xef')](_0x2a7abd[_0x477d('0x125c')][_0x3de531['id']],_['pick'](_0x287baf,_0x511896));}if(_0x2a7abd[_0x477d('0x13d7')][_0x3de531['id']]){_['merge'](_0x2a7abd[_0x477d('0x13d7')][_0x3de531['id']],_['pick'](_0x287baf,_0x511896));}_0x535061(_0x2a7abd['agents'][_0x3de531['id']]);})[_0x477d('0xf8')](function(_0x20d769){_0x2f4826[_0x477d('0x44a')]({'title':_0x20d769[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x20d769['status']+_0x477d('0x44c')+_0x20d769['statusText']:_0x477d('0x13f2'),'msg':_0x20d769['data']?JSON[_0x477d('0x3fb')](_0x20d769['data'][_0x477d('0x452')]):_0x20d769[_0x477d('0x453')]()});});}function _0x17b066(_0x2883b7){return _0x5f1b83[_0x477d('0x380')][_0x477d('0x15a7')]({'id':_0x2883b7['id']})['$promise']['then'](function(_0x4384aa){if(_0x2a7abd[_0x477d('0x125c')][_0x2883b7['id']]){_[_0x477d('0xef')](_0x2a7abd[_0x477d('0x125c')][_0x2883b7['id']],_[_0x477d('0x10b')](_0x4384aa,_0x511896));}if(_0x2a7abd[_0x477d('0x13d7')][_0x2883b7['id']]){_[_0x477d('0xef')](_0x2a7abd[_0x477d('0x13d7')][_0x2883b7['id']],_[_0x477d('0x10b')](_0x4384aa,_0x511896));}_0x535061(_0x2a7abd[_0x477d('0x125c')][_0x2883b7['id']]);})[_0x477d('0xf8')](function(_0x5cd48d){_0x2f4826[_0x477d('0x44a')]({'title':_0x5cd48d[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x5cd48d[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x5cd48d[_0x477d('0x44d')]:_0x477d('0x13f2'),'msg':_0x5cd48d['data']?JSON['stringify'](_0x5cd48d[_0x477d('0x451')][_0x477d('0x452')]):_0x5cd48d[_0x477d('0x453')]()});});}function _0x20653d(_0x1bcc8d){_0xabc9dc[_0x477d('0x395')](_0xabc9dc[_0x477d('0x120a')]()[_0x477d('0x13f3')](!![])['title']('Legend')[_0x477d('0xd92')](_0x477d('0x13f4'))['ok']('Ok')[_0x477d('0xd7c')](_0x1bcc8d));}function _0x513756(_0x25e9c3,_0x1ff5ac){_0xabc9dc[_0x477d('0x395')]({'controller':_0x477d('0x19af'),'controllerAs':'vm','templateUrl':'app/main/apps/staff/views/agents/edit/queueadd/queueadd.html','parent':angular[_0x477d('0x398')](_0x4442c4[_0x477d('0x399')]),'targetEvent':_0x1ff5ac,'clickOutsideToClose':!![],'locals':{'agent':_0x25e9c3,'agents':[],'channel':'sms','direction':_0x477d('0x9e'),'crudPermissions':_0x2a7abd['crudPermissions']}});}function _0x2624f3(_0x2793ad){return _0x2793ad===_0x477d('0x657')||_0x2793ad===_0x477d('0x13f6');}function _0x1ce0a3(_0x437c80){return _0x437c80===_0x477d('0x657');}function _0x1e8777(_0x191ab9){return _0x191ab9===_0x477d('0x13f6');}function _0x3a7d8b(_0x1c316f){return _0x1c316f===_0x477d('0x13f7')||_0x1c316f==='unknown'||_0x1c316f===_0x477d('0x13f9')||_0x1c316f===_0x477d('0x5ed')||_['isNil'](_0x1c316f);}function _0x1ca1c0(_0x49f160,_0xab9929){if(_0xab9929===_0x477d('0x108')){if(_0x49f160[_0xab9929+'Status']!==_0x477d('0x13f7')){return _0x49f160[_0xab9929+'Status'];}if(_0x49f160[_0xab9929+_0x477d('0x13fa')]){_0x49f160[_0xab9929+_0x477d('0x135e')]=_0x477d('0x657');return _0x477d('0x657');}return _0x477d('0x13f7');}else{if(_0x49f160[_0xab9929+'Pause']){_0x49f160[_0xab9929+_0x477d('0x135e')]=_0x477d('0x657');return _0x477d('0x657');}return _0x49f160[_0xab9929+_0x477d('0x135e')];}}function _0x535061(_0x3397b3){var _0x74ee8c=_0x477d('0x13f8');if(_['every']([_0x1ca1c0(_0x3397b3,_0x477d('0x108')),_0x1ca1c0(_0x3397b3,'chat'),_0x1ca1c0(_0x3397b3,'mail'),_0x1ca1c0(_0x3397b3,_0x477d('0x22a')),_0x1ca1c0(_0x3397b3,'sms'),_0x1ca1c0(_0x3397b3,'whatsapp'),_0x1ca1c0(_0x3397b3,_0x477d('0x154'))],_0x2624f3)){_0x74ee8c='pause';}else if(_['some']([_0x1ca1c0(_0x3397b3,'voice'),_0x1ca1c0(_0x3397b3,_0x477d('0xb6')),_0x1ca1c0(_0x3397b3,_0x477d('0x1d6')),_0x1ca1c0(_0x3397b3,_0x477d('0x22a')),_0x1ca1c0(_0x3397b3,_0x477d('0x26e')),_0x1ca1c0(_0x3397b3,_0x477d('0x35d')),_0x1ca1c0(_0x3397b3,'fax')],_0x2624f3)){_0x74ee8c=_0x477d('0x13f6');}else if(_[_0x477d('0x943')]([_0x1ca1c0(_0x3397b3,_0x477d('0x108')),_0x1ca1c0(_0x3397b3,_0x477d('0xb6')),_0x1ca1c0(_0x3397b3,_0x477d('0x1d6')),_0x1ca1c0(_0x3397b3,_0x477d('0x22a')),_0x1ca1c0(_0x3397b3,_0x477d('0x26e')),_0x1ca1c0(_0x3397b3,_0x477d('0x35d')),_0x1ca1c0(_0x3397b3,_0x477d('0x154'))],_0x3a7d8b)){_0x74ee8c=_0x477d('0x13f7');}else{_0x74ee8c=_0x477d('0x13fb');}if(_0x3397b3[_0x477d('0x13ea')]!==_0x74ee8c){_0x3397b3[_0x477d('0x13ea')]=_0x74ee8c;if(_0x3397b3[_0x477d('0x5ee')]){_0x3397b3[_0x477d('0x5ee')]=![];_0x3397b3[_0x477d('0x13ed')]=_0x2624f3(_0x74ee8c)?_['toNumber'](moment(_0x3397b3[_0x477d('0x13b7')])[_0x477d('0x12f')]('x')):_[_0x477d('0x13fc')]([_0x3397b3[_0x477d('0x19ac')],_0x3397b3['chatStatusTime'],_0x3397b3['mailStatusTime'],_0x3397b3[_0x477d('0x13fd')],_0x3397b3[_0x477d('0x13fe')],_0x3397b3[_0x477d('0x13ca')],_0x3397b3[_0x477d('0x13cc')]]);}else{_0x3397b3[_0x477d('0x13ed')]=_[_0x477d('0x18e6')](moment()[_0x477d('0x12f')]('x'));}}}function _0x1893cf(_0x3e8ada){var _0x4bbb45=_[_0x477d('0x1337')](_0x2a7abd['query'][_0x477d('0x13d9')],'-')?_0x477d('0x13ff'):_0x477d('0x1400');return _['orderBy'](_0x3e8ada,[_0x2a7abd[_0x477d('0x3ef')][_0x477d('0x13d9')][_0x477d('0x409')]('-','')],[_0x4bbb45]);}function _0x3acdab(){if(_0xd681b4){_0x576791['cancel'](_0xd681b4);_0xd681b4=null;}}function _0x376abf(_0x5a7108,_0x19fb69){return _0x5f1b83[_0x477d('0x380')][_0x477d('0x710')]({'id':_0x5a7108['id']},{'screenrecording':_0x19fb69})[_0x477d('0x38b')]['catch'](function(_0x45613a){_0x2f4826['error']({'title':_0x45613a['status']?_0x477d('0x44b')+_0x45613a[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x45613a['statusText']:'api.user.update','msg':_0x45613a[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x45613a['data'][_0x477d('0x452')]):_0x45613a['toString']()});});}_0x3e5645['$on'](_0x477d('0x505'),function(){_0x3b3f27[_0x477d('0x6b8')]('user:save');_0x3b3f27[_0x477d('0x6b8')](_0x477d('0x1402'));_0x3b3f27[_0x477d('0x6b8')](_0x477d('0x1403'));_0x3b3f27[_0x477d('0x6b8')](_0x477d('0x13e7'));_0x3acdab();});}}());(function(){'use strict';_0x5b24d4[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x3fe'),'$mdDialog','$q',_0x477d('0x475'),_0x477d('0x794'),_0x477d('0xf2f'),_0x477d('0x1404'),_0x477d('0x386'),'socket',_0x477d('0x40e'),'userProfile',_0x477d('0x3ac'),'Auth'];angular['module']('app.sms')[_0x477d('0x3ba')](_0x477d('0x2036'),_0x5b24d4);function _0x5b24d4(_0x3cfda7,_0x11d6e2,_0x28c3db,_0x2db45a,_0x5ef852,_0x1909fc,_0x3dc0ce,_0x342d2b,_0x4ae55d,_0x188793,_0x33efb5,_0x529032,_0x19cda5,_0xf82699){var _0x3f83c5=this;var _0x308f16=[_0x477d('0x19b2'),_0x477d('0x1405'),_0x477d('0x10c'),_0x477d('0x10e'),_0x477d('0x1406'),_0x477d('0x1407'),_0x477d('0x452'),'dialActive',_0x477d('0x1408'),_0x477d('0x1409'),'paused'];_0x3f83c5['currentUser']=_0xf82699[_0x477d('0x5c')]();_0x3f83c5[_0x477d('0x3bb')]=_0x3dc0ce['count']?_0x3dc0ce[_0x477d('0x3bb')]:0x0;_0x3f83c5[_0x477d('0xf2f')]=_0x3dc0ce?_['keyBy'](_0x3dc0ce[_0x477d('0xf2')]?_0x3dc0ce[_0x477d('0xf2')]:[],'id'):{};_0x3f83c5[_0x477d('0x1404')]=_0x342d2b?_[_0x477d('0xdb5')](_0x342d2b[_0x477d('0xf2')]?_0x342d2b[_0x477d('0xf2')]:[],'id'):{};_0x3f83c5[_0x477d('0x3a5')]=_0x529032;_0x3f83c5['userProfileSection']=_0x19cda5&&_0x19cda5[_0x477d('0x3bb')]==0x1?_0x19cda5[_0x477d('0xf2')][0x0]:null;_0x3f83c5[_0x477d('0xd66')]=_0xf82699['parseCrudPermissions'](_0x3f83c5['userProfileSection']?_0x3f83c5[_0x477d('0x3ac')][_0x477d('0xd66')]:null);if(_0xf82699[_0x477d('0x56')](_0x477d('0x5f'))){_0x3f83c5[_0x477d('0x3ef')]={'type':_0x477d('0x9e'),'sort':_0x477d('0x59'),'limit':0xa,'page':0x1};}else{_0x3f83c5[_0x477d('0x3ef')]={'id':_0x3f83c5[_0x477d('0x3e5')]['id'],'channel':_0x477d('0x26e'),'type':'inbound','sort':_0x477d('0x59'),'limit':0xa,'page':0x1};}_0x3f83c5[_0x477d('0x485')]=_0x2bb164;_0x3f83c5[_0x477d('0x1418')]=_0x58da6c;_0x3f83c5[_0x477d('0x2037')]=_0x5ca578;_0x3f83c5['agentAdd']=_0x598ec5;_0x3f83c5['updateQueue']=_0x5b8c2c;_0x3f83c5[_0x477d('0x13e2')]=_0x1aa421;_0x3f83c5[_0x477d('0x140d')]=_0x5f0f92;_0x3f83c5[_0x477d('0x1413')]=_0xf48126;_0x3f83c5[_0x477d('0x140e')]=_0x3c0071;_0x3f83c5[_0x477d('0x140f')]=_0x9093a5;_0x3f83c5['onLogout']=_0x3d078a;_0x3f83c5['$onInit']=_0x4ffd1f;_0x3f83c5['order']=[];_[_0x477d('0xe4b')](_0x3f83c5[_0x477d('0xf2f')],function(_0x27d10a,_0x748ff){_0x3f83c5[_0x477d('0x13d9')][_0x477d('0x3a7')](_0x27d10a['id']);});_0x188793['on'](_0x477d('0x172d'),_0x3f83c5['onSave']);_0x188793['on'](_0x477d('0x1730'),_0x3f83c5['onSaveMember']);_0x188793['on'](_0x477d('0x1731'),_0x3f83c5[_0x477d('0x1413')]);_0x188793['on'](_0x477d('0x1402'),_0x3f83c5[_0x477d('0x140e')]);_0x188793['on']('userVoiceQueue:remove',_0x3f83c5[_0x477d('0x1410')]);_0x188793['on']('userVoiceQueue:save',_0x3f83c5[_0x477d('0x140f')]);function _0x4ffd1f(){var _0x3ff42e=[];_[_0x477d('0xe4b')](_0x3f83c5[_0x477d('0xf2f')],function(_0x2e12cf,_0x482580){_0x2e12cf[_0x477d('0x140a')]=0x0;_0x2e12cf[_0x477d('0x1416')]=0x0;_0x3f83c5['queues'][_0x482580][_0x477d('0x125c')]={};_0x3ff42e[_0x477d('0x3a7')](_0x4ae55d['smsQueue'][_0x477d('0x1417')]({'id':_0x482580})[_0x477d('0x38b')]);if(_0x3f83c5[_0x477d('0x1404')][_0x482580]){_[_0x477d('0xef')](_0x2e12cf,_[_0x477d('0x10b')](_0x3f83c5[_0x477d('0x1404')][_0x482580],_0x308f16));}});return _0x2db45a[_0x477d('0x7c')](_0x3ff42e)[_0x477d('0x76')](function(_0x176651){for(var _0x3ee453=0x0;_0x3ee453<_0x176651[_0x477d('0x79')];_0x3ee453+=0x1){for(var _0x5302cc=0x0;_0x5302cc<_0x176651[_0x3ee453][_0x477d('0xf2')][_0x477d('0x79')];_0x5302cc++){if(_0x176651[_0x3ee453][_0x477d('0xf2')][_0x5302cc][_0x477d('0x140a')]){_0x3f83c5[_0x477d('0xf2f')][_0x176651[_0x3ee453][_0x477d('0xf2')][_0x5302cc][_0x477d('0x2038')]][_0x477d('0x140a')]++;}_0x3f83c5[_0x477d('0xf2f')][_0x176651[_0x3ee453][_0x477d('0xf2')][_0x5302cc][_0x477d('0x2038')]][_0x477d('0x1416')]++;_0x3f83c5[_0x477d('0xf2f')][_0x176651[_0x3ee453][_0x477d('0xf2')][_0x5302cc][_0x477d('0x2038')]][_0x477d('0x125c')][_0x176651[_0x3ee453][_0x477d('0xf2')][_0x5302cc][_0x477d('0x125b')]]=_0x176651[_0x3ee453][_0x477d('0xf2')][_0x5302cc][_0x477d('0x2038')];}}})[_0x477d('0xf8')](function(_0x486a72){console[_0x477d('0x44a')](_0x486a72);});}function _0x1aa421(_0x16420d){if(_0x3f83c5[_0x477d('0xf2f')][_0x16420d['id']]){_[_0x477d('0xef')](_0x3f83c5[_0x477d('0xf2f')][_0x16420d['id']],_['pick'](_0x16420d,_0x308f16));}}function _0x5f0f92(_0x46cbbe){if(_0x3f83c5[_0x477d('0xf2f')][_0x46cbbe[_0x477d('0x2038')]]){_0x3f83c5[_0x477d('0xf2f')][_0x46cbbe[_0x477d('0x2038')]]['loggedInDb']++;}}function _0xf48126(_0x5da2d0){if(_0x3f83c5[_0x477d('0xf2f')][_0x5da2d0['SmsQueueId']]){_0x3f83c5[_0x477d('0xf2f')][_0x5da2d0['SmsQueueId']][_0x477d('0x1416')]--;}}function _0x3c0071(_0x5d2f78){console[_0x477d('0x7b')](_0x477d('0x140e'),_0x5d2f78);if(_0x5d2f78[_0x477d('0x624')]){_['forIn'](_0x3f83c5[_0x477d('0xf2f')],function(_0x20ec22,_0x4f6bcd){if(_0x20ec22[_0x477d('0x125c')][_0x5d2f78['id']]){_0x20ec22[_0x477d('0x140a')]+=0x1;console[_0x477d('0x7b')](_0x477d('0x657'));}});}else if(!_0x5d2f78['voicePause']){_[_0x477d('0xe4b')](_0x3f83c5[_0x477d('0xf2f')],function(_0x355f82,_0x387d81){if(_0x355f82['agents'][_0x5d2f78['id']]){if(_0x355f82[_0x477d('0x140a')]>0x0){_0x355f82[_0x477d('0x140a')]-=0x1;console[_0x477d('0x7b')](_0x477d('0x15a7'));}}});}}function _0x9093a5(_0x526c37){console['log'](_0x477d('0x1d39'),_0x526c37);if(_0x3f83c5[_0x477d('0xf2f')][_0x526c37[_0x477d('0x2038')]]){_0x3f83c5[_0x477d('0xf2f')][_0x526c37[_0x477d('0x2038')]][_0x477d('0x1416')]+=0x1;_0x3f83c5[_0x477d('0xf2f')][_0x526c37['SmsQueueId']]['agents'][_0x526c37['UserId']]=_0x526c37[_0x477d('0x2038')];}}function _0x3d078a(_0x2e63fc){console[_0x477d('0x7b')](_0x477d('0x1410'),_0x2e63fc);if(_0x3f83c5['queues'][_0x2e63fc[_0x477d('0x2038')]]&&_0x3f83c5[_0x477d('0xf2f')][_0x2e63fc[_0x477d('0x2038')]][_0x477d('0x1416')]>0x0){_0x3f83c5[_0x477d('0xf2f')][_0x2e63fc[_0x477d('0x2038')]][_0x477d('0x1416')]-=0x1;delete _0x3f83c5[_0x477d('0xf2f')][_0x2e63fc[_0x477d('0x2038')]][_0x477d('0x125c')][_0x2e63fc[_0x477d('0x125b')]];}}var _0x18457a=!![];var _0x316b69=0x1;_0x3cfda7[_0x477d('0x4b5')](_0x477d('0xd98'),function(_0x136c8d,_0x30ddeb){if(_0x18457a){_0x11d6e2(function(){_0x18457a=![];});}else{if(!_0x30ddeb){_0x316b69=_0x3f83c5['query'][_0x477d('0xe03')];}if(_0x136c8d!==_0x30ddeb){_0x3f83c5[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0x136c8d){_0x3f83c5['query']['page']=_0x316b69;}_0x3f83c5[_0x477d('0x1418')]();}});function _0x2bb164(_0x14224b){_0x3f83c5[_0x477d('0x3bb')]=_0x14224b[_0x477d('0x3bb')];_0x3f83c5[_0x477d('0xf2f')]=_0x14224b?_[_0x477d('0xdb5')](_0x14224b[_0x477d('0xf2')]?_0x14224b[_0x477d('0xf2')]:[],'id'):{};if(_0x14224b[_0x477d('0xf2')]){_0x3f83c5[_0x477d('0x13d9')]=[];for(var _0x403dbd=0x0;_0x403dbd<_0x14224b[_0x477d('0xf2')]['length'];_0x403dbd++){_0x3f83c5[_0x477d('0x13d9')][_0x477d('0x3a7')](_0x14224b[_0x477d('0xf2')][_0x403dbd]['id']);}}_0x4ffd1f();}function _0x58da6c(){_0x3f83c5[_0x477d('0x3ef')]['offset']=(_0x3f83c5[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x3f83c5['query'][_0x477d('0x91d')];if(_0xf82699[_0x477d('0x56')]('admin')){_0x3f83c5[_0x477d('0x553')]=_0x4ae55d[_0x477d('0xb10')][_0x477d('0x376')](_0x3f83c5['query'],_0x2bb164)['$promise'];}else{_0x3f83c5['query']['id']=_0x3f83c5[_0x477d('0x3a5')]['id'];_0x3f83c5[_0x477d('0x3ef')][_0x477d('0xd99')]=_0x477d('0x27f');_0x3f83c5[_0x477d('0x553')]=_0x4ae55d[_0x477d('0x3a5')][_0x477d('0xd9a')](_0x3f83c5['query'],_0x2bb164)['$promise'];}}function _0x5ca578(_0xdb924f,_0x1fa2ad){_0x28c3db[_0x477d('0x395')]({'controller':_0x477d('0x2039'),'controllerAs':'vm','templateUrl':'app/main/apps/sms/views/smsQueues/create/dialog.html','parent':angular[_0x477d('0x398')](_0x5ef852['body']),'targetEvent':_0xdb924f,'clickOutsideToClose':!![],'locals':{'smsQueue':_0x1fa2ad,'smsQueues':_[_0x477d('0x445')](_0x3f83c5[_0x477d('0xf2f')]),'license':null,'setting':null,'crudPermissions':_0x3f83c5[_0x477d('0xd66')]}});}function _0x598ec5(_0x3e88dd,_0xd12e68){_0x28c3db['show']({'controller':_0x477d('0x203a'),'controllerAs':'vm','templateUrl':_0x477d('0x203b'),'parent':angular['element'](_0x5ef852[_0x477d('0x399')]),'targetEvent':_0x3e88dd,'clickOutsideToClose':!![],'locals':{'smsQueue':_0xd12e68,'smsQueues':_0x3f83c5['queues']?_0x3f83c5[_0x477d('0xf2f')][_0x477d('0xf2')]:[],'realtime':![],'crudPermissions':_0x3f83c5[_0x477d('0xd66')]}});}function _0x5b8c2c(_0x4be05c){return _0x4ae55d[_0x477d('0xb10')][_0x477d('0x710')](_0x4be05c)[_0x477d('0x38b')][_0x477d('0x76')](function(){_0x33efb5[_0x477d('0x485')]({'title':_0x477d('0x141a'),'msg':_0x4be05c[_0x477d('0x94')]?_0x4be05c[_0x477d('0x94')]+_0x477d('0xed7'):''});})['catch'](function(_0x25578b){_0x33efb5[_0x477d('0x44a')]({'title':_0x477d('0x141b'),'msg':_0x25578b[_0x477d('0x452')]});});}_0x3cfda7[_0x477d('0x4ec')](_0x477d('0x505'),function(){_0x188793[_0x477d('0x6b8')](_0x477d('0x172d'));_0x188793[_0x477d('0x6b8')](_0x477d('0x1731'));_0x188793[_0x477d('0x6b8')](_0x477d('0x1730'));_0x188793[_0x477d('0x6b8')](_0x477d('0x1402'));_0x188793['removeAllListeners'](_0x477d('0x1414'));_0x188793[_0x477d('0x6b8')]('userVoiceQueue:save');});}}());(function(){'use strict';angular[_0x477d('0xb')]('app.auth')[_0x477d('0x388')](_0x477d('0x13b4'),_0x264308);function _0x264308(){return{'status':{'registered':_0x477d('0x141d'),'unregistered':_0x477d('0x141e'),'lagged':_0x477d('0x141e'),'reachable':_0x477d('0x141d'),'unreachable':'red-300-fg\x20icon-close-circle','unknown':_0x477d('0x141f')},'state':{'unknown':'grey-fg\x20icon-phone-hangup','not_inuse':_0x477d('0x1420'),'inuse':_0x477d('0x19b3'),'busy':_0x477d('0x1421'),'invalid':_0x477d('0x1422'),'unavailable':_0x477d('0x1422'),'ringing':_0x477d('0x1423'),'ringinuse':_0x477d('0x1423'),'onhold':_0x477d('0x1424')},'channelStatus':{'ring':_0x477d('0x1423'),'up':_0x477d('0x1425'),'hangup':_0x477d('0x1426')},'channelStatusOut':{'ring':_0x477d('0x19b4'),'up':_0x477d('0x1425'),'hangup':_0x477d('0x1426')}};}}());(function(){'use strict';_0x356a47[_0x477d('0xa')]=[_0x477d('0x474'),'$state',_0x477d('0x5a3')];angular[_0x477d('0xb')](_0x477d('0x32'))[_0x477d('0x3ba')]('SmsRealtimeController',_0x356a47);function _0x356a47(_0xac9a4,_0x47f86a,_0x2504c4){var _0x203d3c=this;_0x2504c4[_0x477d('0x1427')]();_0x2504c4['connect']();_0x203d3c[_0x477d('0xe95')]=0x0;switch(_0x47f86a[_0x477d('0x548')][_0x477d('0x94')]){case _0x477d('0x27b'):_0x203d3c[_0x477d('0xe95')]=0x0;break;case _0x477d('0x27c'):_0x203d3c[_0x477d('0xe95')]=0x1;break;default:_0x203d3c['selectedTab']=0x0;_0x47f86a['go'](_0x477d('0x27b'));}_0xac9a4[_0x477d('0x4b5')]('vm.selectedTab',function(_0xe7abbe,_0x3e8aaa){if(_0xe7abbe!==_0x3e8aaa){switch(_0xe7abbe){case 0x0:_0x47f86a['go'](_0x477d('0x27b'));break;case 0x1:_0x47f86a['go']('app.sms.realtime.queues');break;default:_0x47f86a['go']('app.sms.realtime.agents');}}});}}());(function(){'use strict';_0x5c059b[_0x477d('0xa')]=['$scope',_0x477d('0x3c4'),_0x477d('0xd64'),'$mdDialog','$q',_0x477d('0x40d'),'toasty',_0x477d('0xf38'),_0x477d('0xe45'),'api',_0x477d('0x55'),_0x477d('0x613'),_0x477d('0xc8e'),_0x477d('0xd66')];angular['module'](_0x477d('0x32'))[_0x477d('0x3ba')](_0x477d('0x203c'),_0x5c059b);function _0x5c059b(_0x2c2daa,_0x43b557,_0x259435,_0x7e6067,_0x291af3,_0x476394,_0x268cde,_0x3a30ce,_0x5174ac,_0x1f7c1d,_0x547b03,_0x1da451,_0x4ea4a7,_0x595e1e){var _0x232eaf=this;_0x232eaf[_0x477d('0x3e5')]=_0x547b03[_0x477d('0x5c')]();_0x232eaf['errors']=[];_0x232eaf[_0x477d('0xc8e')]=_0x4ea4a7;_0x232eaf[_0x477d('0x613')]=_0x1da451;_0x232eaf[_0x477d('0xd66')]=_0x595e1e;_0x232eaf['hasModulePermissions']={};_0x232eaf[_0x477d('0xd69')]=_0x232eaf[_0x477d('0xc8e')]&&_0x232eaf['setting'][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x232eaf['title']='SMS.EDIT_SMSACCOUNT';_0x232eaf['smsAccount']=angular['copy'](_0x5174ac);_0x232eaf['smsAccounts']=_0x3a30ce;_0x232eaf[_0x477d('0x203d')]=![];if(!_0x232eaf[_0x477d('0xe45')]){_0x232eaf[_0x477d('0xe45')]={'remote':_0x259435[_0x477d('0x3ce')]()+'://'+_0x259435[_0x477d('0x3c9')]()+(_0x259435['port']()?':'+_0x259435['port']():''),'type':_0x477d('0x203e'),'waitForTheAssignedAgent':0xa,'notificationSound':!![],'queueTransferTimeout':0x12c,'agentTransferTimeout':0x12c};_0x232eaf[_0x477d('0x49a')]='SMS.NEW_SMSACCOUNT';_0x232eaf[_0x477d('0x203d')]=!![];}if(_0x43b557['params']['id']){_0x232eaf[_0x477d('0xe45')][_0x477d('0x160e')]=_0x43b557[_0x477d('0x37e')]['id'];}_0x232eaf[_0x477d('0x203f')]=_0x3fe929;_0x232eaf[_0x477d('0x2040')]=_0x2b40f7;_0x232eaf[_0x477d('0x2041')]=_0x1938c3;_0x232eaf[_0x477d('0xd6f')]=_0x2e28bf;_0x232eaf['closeDialog']=_0x369cb8;_0x547b03[_0x477d('0x56')](_0x477d('0x5f'))?_0x1f7c1d[_0x477d('0xe3f')]['get']({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94')})['$promise'][_0x477d('0x76')](function(_0x289e9a){_0x232eaf[_0x477d('0xf1')]=_0x289e9a[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x265a48){_0x268cde[_0x477d('0x44a')]({'title':_0x265a48[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x265a48['status']+'\x20-\x20'+_0x265a48[_0x477d('0x44d')]:_0x477d('0x1228'),'msg':_0x265a48[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x265a48['data']):_0x265a48[_0x477d('0x453')]()});}):_0x1f7c1d['cmList'][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x4a390a){_0x232eaf[_0x477d('0xf1')]=_0x4a390a[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x1f7c1d[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x232eaf[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x12d})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x133dea){var _0x39d23e=_0x133dea&&_0x133dea['rows']?_0x133dea[_0x477d('0xf2')][0x0]:null;if(!_0x39d23e){var _0xc076db=[];var _0x43baf5=null;if(_0x232eaf[_0x477d('0xe45')]){_0x43baf5=_[_0x477d('0x10a')](_0x232eaf[_0x477d('0xf1')],{'id':Number(_0x232eaf[_0x477d('0xe45')]['ListId'])});}for(var _0x36366c=0x0;_0x36366c<_0x232eaf[_0x477d('0xf1')][_0x477d('0x79')];_0x36366c++){if(_0x43baf5&&_0x232eaf[_0x477d('0xf1')][_0x36366c]['id']===_0x43baf5['id']){_0x232eaf[_0x477d('0xf1')][_0x36366c][_0x477d('0xf8b')]=![];_0xc076db[_0x477d('0x3a7')](_0x232eaf[_0x477d('0xf1')][_0x36366c]);}}_0x232eaf[_0x477d('0xf1')]=_0xc076db;}else{if(!_0x39d23e[_0x477d('0x3ad')]){return _0x1f7c1d['userProfileResource'][_0x477d('0x376')]({'sectionId':_0x39d23e['id']})['$promise'][_0x477d('0x76')](function(_0x1be06b){var _0x4d3996=_[_0x477d('0x3cb')](_0x1be06b[_0x477d('0xf2')],function(_0x5d59e8){return _[_0x477d('0x10a')](_0x232eaf[_0x477d('0xf1')],{'id':_0x5d59e8[_0x477d('0x3af')]});});var _0x538e80=null;if(_0x232eaf['smsAccount']){_0x538e80=_['find'](_0x232eaf['lists'],{'id':Number(_0x232eaf['smsAccount']['ListId'])});}if(_0x538e80&&!_[_0x477d('0x3ab')](_0x4d3996,['id',_0x538e80['id']])){var _0x1c8de2=_[_0x477d('0x10a')](_0x232eaf['lists'],{'id':_0x538e80['id']});_0x1c8de2[_0x477d('0xf8b')]=![];_0x4d3996[_0x477d('0x3a7')](_0x1c8de2);}_0x232eaf['lists']=_0x4d3996;});}}})[_0x477d('0xf8')](function(_0x194291){_0x268cde['error']({'title':_0x194291['status']?'API:'+_0x194291['status']+_0x477d('0x44c')+_0x194291['statusText']:'SYSTEM:GETlists','msg':_0x194291[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x194291[_0x477d('0x451')]):_0x194291[_0x477d('0x453')]()});});function _0x3fe929(){_0x232eaf['errors']=[];_0x1f7c1d[_0x477d('0xe45')][_0x477d('0xd70')](_0x232eaf['smsAccount'])[_0x477d('0x38b')]['then'](function(_0x39d235){_0x232eaf['smsAccounts'][_0x477d('0x63b')](_0x39d235[_0x477d('0xd71')]());_0x268cde[_0x477d('0x485')]({'title':_0x477d('0x2042'),'msg':_0x232eaf['smsAccount'][_0x477d('0x94')]?_0x232eaf[_0x477d('0xe45')][_0x477d('0x94')]+'\x20has\x20been\x20created!':''});_0x369cb8(_0x39d235);})[_0x477d('0xf8')](function(_0x103e60){if(_0x103e60[_0x477d('0x451')]&&_0x103e60[_0x477d('0x451')][_0x477d('0xd67')]&&_0x103e60[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x232eaf['errors']=_0x103e60[_0x477d('0x451')]['errors']||[{'message':_0x103e60['toString'](),'type':_0x477d('0x2043')}];for(var _0x47b85a=0x0;_0x47b85a<_0x103e60[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x47b85a+=0x1){_0x268cde['error']({'title':_0x103e60['data'][_0x477d('0xd67')][_0x47b85a][_0x477d('0x439')],'msg':_0x103e60[_0x477d('0x451')][_0x477d('0xd67')][_0x47b85a][_0x477d('0x452')]});}}else{_0x268cde[_0x477d('0x44a')]({'title':_0x103e60[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x103e60[_0x477d('0x3c3')]+'\x20-\x20'+_0x103e60[_0x477d('0x44d')]:'api.smsAccount.save','msg':_0x103e60['data']?JSON[_0x477d('0x3fb')](_0x103e60[_0x477d('0x451')][_0x477d('0x452')]):_0x103e60[_0x477d('0x453')]()});}});}function _0x2b40f7(){_0x232eaf[_0x477d('0xd67')]=[];_0x1f7c1d[_0x477d('0xe45')][_0x477d('0x710')]({'id':_0x232eaf[_0x477d('0xe45')]['id']},_0x232eaf['smsAccount'])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x1602a3){var _0x2cd9cd=_[_0x477d('0x10a')](_0x232eaf[_0x477d('0xf38')],{'id':_0x1602a3['id']});if(_0x2cd9cd){_[_0x477d('0xef')](_0x2cd9cd,_[_0x477d('0x10b')](_0x1602a3[_0x477d('0xd71')](),_[_0x477d('0x7f')](_0x2cd9cd)));}_0x268cde[_0x477d('0x485')]({'title':_0x477d('0x2044'),'msg':_0x232eaf[_0x477d('0xe45')][_0x477d('0x94')]?_0x232eaf[_0x477d('0xe45')][_0x477d('0x94')]+_0x477d('0xd76'):''});_0x369cb8(_0x1602a3);})[_0x477d('0xf8')](function(_0x341e72){if(_0x341e72['data']&&_0x341e72['data'][_0x477d('0xd67')]&&_0x341e72['data'][_0x477d('0xd67')][_0x477d('0x79')]){_0x232eaf[_0x477d('0xd67')]=_0x341e72[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x341e72[_0x477d('0x453')](),'type':_0x477d('0x2045')}];for(var _0x2e714c=0x0;_0x2e714c<_0x341e72[_0x477d('0x451')]['errors'][_0x477d('0x79')];_0x2e714c++){_0x268cde[_0x477d('0x44a')]({'title':_0x341e72[_0x477d('0x451')][_0x477d('0xd67')][_0x2e714c][_0x477d('0x439')],'msg':_0x341e72[_0x477d('0x451')][_0x477d('0xd67')][_0x2e714c][_0x477d('0x452')]});}}else{_0x268cde['error']({'title':_0x341e72[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x341e72['status']+'\x20-\x20'+_0x341e72['statusText']:'api.smsAccount.update','msg':_0x341e72[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x341e72[_0x477d('0x451')][_0x477d('0x452')]):_0x341e72['toString']()});}});}function _0x1938c3(_0x46ca6a){_0x232eaf['errors']=[];var _0x3d44c5=_0x7e6067[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xd79'))[_0x477d('0xdaf')](_0x477d('0x2046'))['ariaLabel'](_0x477d('0x2047'))['ok']('Delete')[_0x477d('0x4f0')](_0x477d('0x688'))[_0x477d('0xd7c')](_0x46ca6a);_0x7e6067[_0x477d('0x395')](_0x3d44c5)[_0x477d('0x76')](function(){_0x1f7c1d[_0x477d('0xe45')]['delete']({'id':_0x232eaf[_0x477d('0xe45')]['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x232eaf[_0x477d('0xf38')],{'id':_0x232eaf[_0x477d('0xe45')]['id']});_0x268cde[_0x477d('0x485')]({'title':_0x477d('0x2048'),'msg':(_0x232eaf['smsAccount']['name']||_0x477d('0xe45'))+_0x477d('0xd7e')});_0x369cb8(_0x232eaf[_0x477d('0xe45')]);})[_0x477d('0xf8')](function(_0x53e5fe){if(_0x53e5fe[_0x477d('0x451')]&&_0x53e5fe[_0x477d('0x451')][_0x477d('0xd67')]&&_0x53e5fe[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x232eaf[_0x477d('0xd67')]=_0x53e5fe['data'][_0x477d('0xd67')]||[{'message':_0x53e5fe[_0x477d('0x453')](),'type':_0x477d('0x2049')}];for(var _0x4f662a=0x0;_0x4f662a<_0x53e5fe[_0x477d('0x451')]['errors'][_0x477d('0x79')];_0x4f662a++){_0x268cde['error']({'title':_0x53e5fe['data'][_0x477d('0xd67')][_0x4f662a]['type'],'msg':_0x53e5fe[_0x477d('0x451')]['errors'][_0x4f662a][_0x477d('0x452')]});}}else{_0x268cde['error']({'title':_0x53e5fe[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x53e5fe['status']+'\x20-\x20'+_0x53e5fe[_0x477d('0x44d')]:_0x477d('0x2049'),'msg':_0x53e5fe[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x53e5fe[_0x477d('0x451')]['message']):_0x53e5fe['message']||_0x53e5fe[_0x477d('0x453')]()});}});},function(){});}function _0x2e28bf(_0x109509){return _0x109509===null?undefined:new Date(_0x109509);}function _0x369cb8(_0x13e59a){_0x7e6067['hide'](_0x13e59a);}}}());(function(){'use strict';_0x10ac89['$inject']=[_0x477d('0x386'),_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x40e'),'Auth'];angular[_0x477d('0xb')]('app.sms')[_0x477d('0x3ba')](_0x477d('0x204a'),_0x10ac89);function _0x10ac89(_0x20bc5b,_0x5d991f,_0x873a2c,_0x33baca,_0x10034d){var _0x6641b6=this;_0x6641b6[_0x477d('0x3e5')]=_0x10034d[_0x477d('0x5c')]();_0x6641b6[_0x477d('0xe45')]={};_0x6641b6[_0x477d('0x204b')]={'count':0x0,'rows':[]};_0x6641b6[_0x477d('0x204c')]=[];_0x6641b6['crudPermissions'];_0x6641b6[_0x477d('0x3ef')]={'sort':_0x477d('0x1243')};_0x6641b6[_0x477d('0x1244')]=_[_0x477d('0x691')](_[_0x477d('0x1245')]([{'app':'Interval','appType':_0x477d('0x79c'),'types':[_0x477d('0x1247'),_0x477d('0x9f6'),_0x477d('0xa02')],'fields':[],'isApp':![]},{'app':'noop','appType':_0x477d('0x3c6'),'type':_0x477d('0x3c6'),'icon':_0x477d('0x1248'),'interval':_0x477d('0x1249'),'required':!![],'isApp':!![],'fields':[{'title':_0x477d('0x1918'),'name':'value','type':'text','param':0x0}]},{'app':_0x477d('0xa41'),'appType':'system','type':_0x477d('0xa41'),'icon':_0x477d('0x1248'),'interval':'*,*,*,*','required':!![],'isApp':!![],'extraApi':[{'name':'variables','field':{'name':_0x477d('0xbb9'),'key':'name'},'route':_0x477d('0xbb9'),'filters':{'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':!![]},'permissions':{'section':0x3f4}}],'fields':[{'title':'Command','name':'command','type':_0x477d('0x41b'),'required':!![],'param':0x0},{'title':_0x477d('0x124b'),'name':'variable','type':_0x477d('0x124c'),'values':'variables','value':_0x477d('0x124d'),'option':_0x477d('0x124d'),'defaultValues':[{'value':'\x27\x27','option':'None'}],'defaultValue':'\x27\x27','param':0x1}]},{'app':'gotop','appType':_0x477d('0x124f'),'type':_0x477d('0x1250'),'icon':_0x477d('0x1248'),'interval':'*,*,*,*','isApp':!![],'fields':[{'title':_0x477d('0x1251'),'name':'priority','type':_0x477d('0x421'),'required':!![],'min':0x0,'param':0x0}]},{'app':_0x477d('0x1252'),'appType':_0x477d('0x1252'),'type':_0x477d('0x1252'),'icon':'icon-apps','interval':_0x477d('0x1249'),'isApp':!![],'fields':[{'title':_0x477d('0x1253'),'name':_0x477d('0xb98'),'type':_0x477d('0x41b'),'required':!![],'param':0x0},{'title':_0x477d('0x1254'),'name':_0x477d('0x1254'),'type':_0x477d('0x421'),'min':0x1,'required':!![],'param':0x1},{'title':_0x477d('0x1255'),'name':_0x477d('0x1255'),'type':_0x477d('0x421'),'min':0x1,'required':!![],'param':0x2}]},{'app':_0x477d('0x1256'),'appType':'queue','foreignKey':'SmsQueueId','type':_0x477d('0x1256'),'icon':_0x477d('0x1248'),'interval':_0x477d('0x1249'),'isApp':!![],'extraApi':[{'name':_0x477d('0xf2f'),'field':{'name':_0x477d('0x1256'),'key':_0x477d('0x94')},'route':_0x477d('0xb10'),'filters':{'fields':_0x477d('0x12de'),'sort':_0x477d('0x94'),'nolimit':!![]},'permissions':{'section':0x2bd}}],'fields':[{'title':_0x477d('0x1258'),'name':_0x477d('0x1256'),'type':_0x477d('0x124c'),'values':'queues','value':_0x477d('0x1259'),'option':_0x477d('0x1259'),'defaultValue':0x12c,'required':!![],'param':0x0},{'title':'Timeout','name':_0x477d('0x91b'),'type':_0x477d('0x421'),'max':0x20c49b,'min':0x0,'required':!![],'defaultValue':0x12c,'param':0x1}]},{'app':'agent','appType':'agent','type':'agent','foreignKey':_0x477d('0x125b'),'icon':_0x477d('0x1248'),'interval':_0x477d('0x1249'),'isApp':!![],'extraApi':[{'name':_0x477d('0x125c'),'field':{'name':_0x477d('0xcf'),'key':_0x477d('0x94')},'route':_0x477d('0x380'),'filters':{'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':!![],'role':_0x477d('0xcf')},'permissions':{'section':0xca}}],'fields':[{'title':_0x477d('0x125d'),'name':_0x477d('0xcf'),'type':_0x477d('0x124c'),'values':'agents','value':_0x477d('0x125e'),'option':'agent.name','required':!![],'param':0x0},{'title':'Timeout','name':_0x477d('0x91b'),'type':_0x477d('0x421'),'max':0x20c49b,'min':0x0,'required':!![],'defaultValue':0x1e,'param':0x1}]},{'app':'autoreply','appType':_0x477d('0x1260'),'type':_0x477d('0x1260'),'icon':'icon-apps','interval':'*,*,*,*','isApp':!![],'fields':[{'title':_0x477d('0x1261'),'name':_0x477d('0x1261'),'type':_0x477d('0x462'),'defaultValue':'1','values':[{'option':_0x477d('0x1c82'),'value':'1'},{'option':_0x477d('0x1d4d'),'value':'0'}],'required':!![],'param':0x0},{'title':_0x477d('0xf7f'),'name':'text','type':_0x477d('0x127b'),'required':!![],'param':0x1}]},{'app':_0x477d('0x539'),'appType':_0x477d('0x539'),'type':_0x477d('0x539'),'icon':_0x477d('0x1248'),'interval':_0x477d('0x1249'),'isApp':!![],'fields':[{'title':_0x477d('0x125f'),'name':'disposition','type':_0x477d('0x41b'),'required':!![],'param':0x0}]},{'app':_0x477d('0xbb0'),'appType':_0x477d('0xbb0'),'type':_0x477d('0xbb0'),'foreignKey':_0x477d('0x1262'),'icon':'icon-apps','interval':_0x477d('0x1249'),'isApp':!![],'extraApi':[{'name':'tags','field':{'name':_0x477d('0xbb0'),'key':'name'},'route':_0x477d('0xbb0'),'filters':{'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':!![]},'permissions':{'section':0x3f0}}],'fields':[{'title':_0x477d('0x1264'),'name':_0x477d('0xbb0'),'type':_0x477d('0x124c'),'values':'tags','value':'tag.name','option':'tag.name','required':!![],'param':0x0}]},{'app':_0x477d('0x1266'),'appType':_0x477d('0x1266'),'type':_0x477d('0x1266'),'icon':_0x477d('0x1248'),'interval':_0x477d('0x1249'),'isApp':!![],'fields':[{'title':_0x477d('0x1f05'),'name':'key','type':_0x477d('0x41b'),'required':!![],'param':0x0},{'title':_0x477d('0x1267'),'name':_0x477d('0x1267'),'type':_0x477d('0x462'),'defaultValue':_0x477d('0x1269'),'values':[{'option':'Danish','value':_0x477d('0x1268')},{'option':_0x477d('0xf9e'),'value':_0x477d('0x1269')},{'option':'German','value':_0x477d('0x126a')},{'option':_0x477d('0xfa0'),'value':_0x477d('0x126b')},{'option':'Spanish','value':_0x477d('0x126c')},{'option':'French','value':_0x477d('0x126d')},{'option':'Indonesian','value':_0x477d('0x126e')},{'option':'Japanese','value':_0x477d('0x126f')},{'option':_0x477d('0xfa5'),'value':_0x477d('0x1270')},{'option':_0x477d('0xfa6'),'value':'\x27nl\x27'},{'option':'Norwegian','value':'\x27no\x27'},{'option':_0x477d('0xfa8'),'value':_0x477d('0x1272')},{'option':_0x477d('0xfa9'),'value':'\x27pt-br\x27'},{'option':_0x477d('0xfaa'),'value':_0x477d('0x1274')},{'option':_0x477d('0x1024'),'value':_0x477d('0x1275')},{'option':_0x477d('0x1027'),'value':_0x477d('0x1276')},{'option':_0x477d('0xfab'),'value':_0x477d('0x1277')},{'option':_0x477d('0xfad'),'value':'\x27zh-CN\x27'},{'option':_0x477d('0xfaf'),'value':_0x477d('0x1f07')},{'option':_0x477d('0xfe8'),'value':_0x477d('0x1279')}],'required':!![],'param':0x1},{'title':_0x477d('0x127a'),'name':_0x477d('0x127a'),'type':_0x477d('0x127b'),'maxlength':0xff,'required':![],'param':0x2,'help':!![]}]},{'app':_0x477d('0x127c'),'appType':_0x477d('0x127c'),'type':_0x477d('0x127c'),'icon':'icon-apps','interval':_0x477d('0x1249'),'isApp':!![],'fields':[{'title':'accesskeyid','name':'accesskeyid','type':_0x477d('0x41b'),'required':!![],'param':0x0},{'title':_0x477d('0x127e'),'name':_0x477d('0x127e'),'type':'text','required':!![],'param':0x1},{'title':_0x477d('0x127f'),'name':_0x477d('0x127f'),'type':_0x477d('0x462'),'defaultValue':_0x477d('0x1280'),'values':[{'option':'US\x20East\x20(N.\x20Virginia)','value':_0x477d('0x1280')},{'option':_0x477d('0x1163'),'value':_0x477d('0x1f08')},{'option':_0x477d('0x1166'),'value':_0x477d('0x1281')},{'option':_0x477d('0x116b'),'value':_0x477d('0x1282')}],'required':!![],'param':0x2},{'title':_0x477d('0x1283'),'name':_0x477d('0x1283'),'type':_0x477d('0x41b'),'required':!![],'param':0x3},{'title':_0x477d('0x127a'),'name':_0x477d('0x127a'),'type':_0x477d('0x127b'),'maxlength':0xff,'required':![],'param':0x4,'help':!![]}]}],[_0x477d('0x1291')]),{'isApp':![]});_0x6641b6['list']={'group':{'name':_0x477d('0x1284'),'pull':_0x477d('0x117f')},'animation':0x64,'sort':![]};_0x6641b6[_0x477d('0x1285')]={'group':{'name':_0x477d('0x1286'),'put':_0x477d('0x1284')},'animation':0x64,'onAdd':function(_0x274680){_0x38e6e7(_0x274680,_0x274680[_0x477d('0x191a')]);},'onSort':function(_0x552687){_0x5d7459();}};_0x6641b6[_0x477d('0x5ee')]=_0x109253;_0x6641b6[_0x477d('0xe66')]=_0x22f275;_0x6641b6[_0x477d('0x204d')]=_0x5ed2a9;_0x6641b6['editSmsAccountApp']=_0x38e6e7;_0x6641b6[_0x477d('0x1289')]=_0x5977a3;_0x6641b6['deleteSmsAccountApp']=_0x5db4f9;_0x6641b6[_0x477d('0x204e')]=_0x3f6779;_0x6641b6[_0x477d('0x128c')]=_0x5d7459;_0x6641b6[_0x477d('0x128f')]=_0xc892ba;function _0x109253(_0x5e67a1,_0x2978d3){_0x6641b6['smsAccount']=_0x5e67a1;_0x6641b6[_0x477d('0xd66')]=typeof _0x2978d3!==_0x477d('0x4a4')?_0x2978d3:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x6641b6['applications'][_0x477d('0x45c')]=!_0x6641b6['crudPermissions']['canEdit']?!![]:![];_0x6641b6[_0x477d('0x3ef')]['id']=_0x5e67a1['id'];_0x6641b6['query'][_0x477d('0x128d')]=!![];_0x6641b6[_0x477d('0x3ef')][_0x477d('0x128e')]=!![];_0x6641b6[_0x477d('0x204d')]();_0x6641b6[_0x477d('0x128f')]();}function _0x22f275(_0x49d6a8,_0x1cfd6,_0x1dea4d){var _0x244097=_0x5d991f[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x1290'))[_0x477d('0xd92')](''+_0x49d6a8['app']+_0x477d('0xd94')+_0x477d('0xd95'))[_0x477d('0x687')]('delete\x20application')['targetEvent'](_0x1dea4d)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x5d991f[_0x477d('0x395')](_0x244097)[_0x477d('0x76')](function(){_0x6641b6[_0x477d('0x204b')]['rows'][_0x477d('0x45b')](_0x1cfd6,0x1);_0x5d7459();},function(){console[_0x477d('0x7b')]('CANCEL');});}function _0x38e6e7(_0x4822a5,_0x15a6da){if(_0x6641b6[_0x477d('0x204b')][_0x477d('0xf2')]['length']){var _0x47848d=_0x6641b6[_0x477d('0x204b')]['rows'][_0x15a6da]?_0x6641b6[_0x477d('0x204b')][_0x477d('0xf2')][_0x15a6da]:_0x6641b6[_0x477d('0x204b')][_0x477d('0xf2')][0x0];_0x5d991f[_0x477d('0x395')]({'controller':_0x477d('0x204f')+(_0x47848d['appType']||_0x47848d[_0x477d('0x1291')])['toLowerCase']()+'DialogController','controllerAs':'vm','templateUrl':_0x477d('0x2050')+(_0x47848d['appType']||_0x47848d[_0x477d('0x1291')])[_0x477d('0x449')]()+_0x477d('0x1296'),'parent':angular[_0x477d('0x398')](_0x873a2c['body']),'targetEvent':_0x4822a5,'clickOutsideToClose':!![],'locals':{'smsAccountApp':_0x47848d,'smsAccount':_0x6641b6['smsAccount'],'crudPermissions':_0x6641b6[_0x477d('0xd66')]}})[_0x477d('0x76')](function(_0x8aab49){if(_0x8aab49){if(_0x8aab49['id']){_0x6641b6[_0x477d('0x204b')][_0x477d('0xf2')][_0x15a6da]=_0x8aab49;}else{_0x6641b6[_0x477d('0x204b')][_0x477d('0xf2')][_0x477d('0x45b')](_0x15a6da,0x0,_0x8aab49);}_0x5d7459();}})[_0x477d('0xf8')](function(_0x595899){if(_0x595899){_0x33baca[_0x477d('0x44a')]({'title':_0x595899['status']?_0x477d('0x44b')+_0x595899['status']+'\x20-\x20'+_0x595899[_0x477d('0x44d')]:'SYSTEM:EDITMODALSHOW','msg':_0x595899[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x595899[_0x477d('0x451')]):_0x595899['toString']()});}});}}function _0x5977a3(_0x2d814b,_0x267c13){if(_0x6641b6[_0x477d('0x204b')][_0x477d('0xf2')][_0x477d('0x79')]){var _0x6f881c=_0x6641b6[_0x477d('0x204b')]['rows'][_0x267c13]?_0x6641b6[_0x477d('0x204b')][_0x477d('0xf2')][_0x267c13]:_0x6641b6[_0x477d('0x204b')][_0x477d('0xf2')][0x0];_0x5d991f['show']({'controller':_0x477d('0x2051'),'controllerAs':'vm','templateUrl':_0x477d('0x2052'),'parent':angular[_0x477d('0x398')](_0x873a2c[_0x477d('0x399')]),'targetEvent':_0x2d814b,'clickOutsideToClose':!![],'locals':{'interval':{'interval':_0x6f881c[_0x477d('0x79c')],'IntervalId':_0x6f881c[_0x477d('0xf8c')],'application':!![]},'intervals':[],'crudPermissions':_0x6641b6[_0x477d('0xd66')]}})[_0x477d('0x76')](function(_0x50600d){if(_0x50600d){_0x6f881c[_0x477d('0x79c')]=_0x50600d['interval']||'*,*,*,*';_0x6f881c[_0x477d('0xf8c')]=_0x50600d[_0x477d('0xf8c')]||null;_0x5d7459();}});}}function _0x5d7459(){var _0x229b77=0x1;var _0x1d12d6=[];for(var _0x3e4ed5=0x0,_0x19deaa=0x0;_0x3e4ed5<_0x6641b6[_0x477d('0x204b')][_0x477d('0xf2')][_0x477d('0x79')];_0x3e4ed5++,_0x19deaa=0x0){var _0x355f70=_0x6641b6['smsAccountApps']['rows'][_0x3e4ed5];var _0x46ba1f=[];var _0x1eaa86=[];_0x355f70['intervals']=_0x355f70['interval']!=='*,*,*,*'?[_0x355f70[_0x477d('0x79c')]]:_0x355f70[_0x477d('0xf8c')]?_[_0x477d('0x3cb')](_[_0x477d('0x3b3')](_0x6641b6['intervals'][_0x477d('0xf2')],{'IntervalId':_0x355f70['IntervalId']}),_0x477d('0x79c')):[];_0x355f70['context']=_0x6641b6[_0x477d('0xe45')][_0x477d('0xf47')];_0x355f70[_0x477d('0x1299')]=_0x6641b6[_0x477d('0xe45')][_0x477d('0x1299')];if(_0x355f70[_0x477d('0x439')]){_0x355f70[_0x477d('0x439')]=_0x355f70[_0x477d('0x439')][_0x477d('0x449')]();}_0x355f70[_0x477d('0x1243')]=_0x46ba1f[_0x477d('0x79')]?_[_0x477d('0x601')](_0x46ba1f)[_0x477d('0x1243')]+0x1:_0x229b77;_0x229b77=(_0x1eaa86[_0x477d('0x79')]?_[_0x477d('0x601')](_0x1eaa86)[_0x477d('0x1243')]:_0x355f70[_0x477d('0x1243')])+0x1;_0x1d12d6=_[_0x477d('0x3a9')](_0x1d12d6,_0x46ba1f,[_0x355f70],_0x1eaa86);}_0x20bc5b[_0x477d('0xe45')][_0x477d('0x129a')]({'id':_0x6641b6[_0x477d('0xe45')]['id']},_['sortBy'](_0x1d12d6,_0x477d('0x1243')))[_0x477d('0x38b')][_0x477d('0x76')](function(_0x3f67fe){_0x6641b6['smsAccountApps'][_0x477d('0xf2')]=_0x3f67fe[_0x477d('0xf2')];})['catch'](function(_0x5647f3){console['error'](_0x5647f3);});}function _0x501833(_0x3816a8){_0x6641b6[_0x477d('0x204b')]=_0x3816a8||{'count':0x0,'rows':[]};}function _0xc892ba(){return _0x20bc5b[_0x477d('0x79c')]['get']({'fields':_0x477d('0x1923')})['$promise']['then'](function(_0x419c03){_0x6641b6[_0x477d('0x1298')]=_0x419c03;})['catch'](function(_0x4f2f5a){console['error'](_0x4f2f5a);});}function _0x5ed2a9(){_0x6641b6[_0x477d('0x553')]=_0x20bc5b[_0x477d('0xe45')][_0x477d('0x1924')](_0x6641b6[_0x477d('0x3ef')],_0x501833)['$promise'];}function _0x5db4f9(_0x5939fd){_['remove'](_0x6641b6['smsAccountApps'][_0x477d('0xf2')],{'id':_0x5939fd['id']});_0x5d7459();_0x33baca[_0x477d('0x485')]({'title':_0x477d('0x2053'),'msg':_0x5939fd['app']?_0x5939fd['app']+_0x477d('0xd7e'):''});}function _0x3f6779(_0x4b05e3){var _0x11e6e0=_0x5d991f[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x129b'))[_0x477d('0xd92')](_0x477d('0xd93')+_0x6641b6[_0x477d('0x204c')][_0x477d('0x79')]+_0x477d('0xda0')+_0x477d('0xd95'))['ariaLabel'](_0x477d('0x129c'))[_0x477d('0xd7c')](_0x4b05e3)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x5d991f[_0x477d('0x395')](_0x11e6e0)[_0x477d('0x76')](function(){_0x6641b6[_0x477d('0x204c')]['forEach'](function(_0x4d0ad3){_[_0x477d('0x39c')](_0x6641b6[_0x477d('0x204b')][_0x477d('0xf2')],{'id':_0x4d0ad3['id']});});_0x6641b6[_0x477d('0x204c')]=[];_0x5d7459();});}}}());(function(){'use strict';_0x10f176[_0x477d('0xa')]=[_0x477d('0x384'),'$q',_0x477d('0x40e'),_0x477d('0x386'),_0x477d('0xe45'),_0x477d('0xf38'),_0x477d('0x11f1'),'$translate','Auth',_0x477d('0xd66')];angular[_0x477d('0xb')]('app.sms')[_0x477d('0x3ba')](_0x477d('0x2054'),_0x10f176);function _0x10f176(_0x2f42b7,_0x289ec6,_0x1f4082,_0x48127e,_0x551f6f,_0x4ee3c0,_0x5417c8,_0xc2e2b7,_0x33c0bf,_0xcbd98b){var _0x407447=this;_0x407447['currentUser']=_0x33c0bf['getCurrentUser']();_0x407447[_0x477d('0xe45')]=_0x551f6f;_0x407447[_0x477d('0xd66')]=_0xcbd98b;_0x407447[_0x477d('0x11f1')]=_0x5417c8;_0x407447[_0x477d('0x4a6')]=[];_0x407447[_0x477d('0x11f7')]=[];_0x407447[_0x477d('0x4a7')]=[];_0x407447[_0x477d('0x11f2')]=[];_0x407447[_0x477d('0x11fd')]=[];_0x407447[_0x477d('0x11f5')]=![];_0x407447[_0x477d('0x71a')]=_0x555faf;_0x407447['saveAgents']=_0x3a5802;_0x407447['closeDialog']=_0x131722;_0x407447[_0x477d('0x1185')]={'readOnly':!_0x407447[_0x477d('0xd66')][_0x477d('0xedb')],'items':[],'selectedItems':[],'showSelectAndDeselectAll':!![],'orderBy':_0x477d('0x94'),'line1':_0x477d('0xcd'),'line2':[_0x477d('0x94'),'internal'],'line3':'','labelAll':_0xc2e2b7[_0x477d('0x45f')]('SMS.ALL_AGENTS'),'labelSelected':_0xc2e2b7['instant']('SMS.SELECTED_AGENTS'),'transferCallback':function(_0x5082d3,_0x766473){var _0x2b4d84=_[_0x477d('0x11f4')](_0x407447[_0x477d('0x11fd')],_0x407447['selectedItems'],'id');_0x407447[_0x477d('0x11f5')]=_[_0x477d('0x3b2')](_0x2b4d84)?![]:!![];}};function _0x555faf(){return _0x33c0bf[_0x477d('0x56')]('admin')?_0x34166d()[_0x477d('0xf8')](function(_0x339054){_0x1f4082[_0x477d('0x44a')]({'title':_0x339054[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x339054['status']+_0x477d('0x44c')+_0x339054[_0x477d('0x44d')]:_0x477d('0x11f6'),'msg':_0x339054[_0x477d('0x3c3')]?JSON[_0x477d('0x3fb')](_0x339054[_0x477d('0x451')]):_0x339054['toString']()});}):_0x422221()[_0x477d('0x76')](function(_0x368e77){_0x407447[_0x477d('0xd99')]=_0x368e77;return _0x34166d();})[_0x477d('0xf8')](function(_0x462319){_0x1f4082[_0x477d('0x44a')]({'title':_0x462319['status']?_0x477d('0x44b')+_0x462319['status']+_0x477d('0x44c')+_0x462319['statusText']:_0x477d('0x11f6'),'msg':_0x462319[_0x477d('0x3c3')]?JSON['stringify'](_0x462319[_0x477d('0x451')]):_0x462319[_0x477d('0x453')]()});});}function _0x422221(){return _0x289ec6(function(_0x2a6f94,_0x94bc37){_0x48127e[_0x477d('0x3ac')]['get']({'userProfileId':_0x407447['currentUser']['userProfileId'],'name':_0x477d('0xce')})['$promise'][_0x477d('0x76')](function(_0x4a9a98){var _0x1b73af=_0x4a9a98&&_0x4a9a98[_0x477d('0xf2')]?_0x4a9a98[_0x477d('0xf2')][0x0]:null;_0x2a6f94(_0x1b73af);})[_0x477d('0xf8')](function(_0xff5843){_0x94bc37(_0xff5843);});});}function _0x34166d(){return _0x289ec6(function(_0x2db4fb,_0x57525a){return _0x25bdd0()[_0x477d('0x76')](function(_0x511665){_0x407447[_0x477d('0x4a6')]=_0x511665[_0x477d('0xf2')]?_0x511665['rows']:[];if(_0x33c0bf[_0x477d('0x56')](_0x477d('0x5f'))){return _0x511665;}else{if(_0x407447[_0x477d('0xd99')]){return _0x407447[_0x477d('0xd99')][_0x477d('0x3ad')]?_0x511665:_0x28d5bd();}else{return null;}}})['then'](function(_0x1a8081){var _0x22880f=_0x1a8081&&_0x1a8081['rows']?_0x1a8081[_0x477d('0xf2')]:[];_0x407447[_0x477d('0x11f7')]=_[_0x477d('0x3cb')](_0x22880f,function(_0x283542){return _[_0x477d('0x10a')](_0x407447[_0x477d('0x4a6')],{'id':_0x33c0bf['hasRole']('admin')||_0x407447['section']['autoAssociation']?_0x283542['id']:_0x283542[_0x477d('0x3af')]});});_0x407447[_0x477d('0x11f2')]=angular[_0x477d('0x6d9')](_0x407447[_0x477d('0x11f7')]);_0x407447['items'][_0x477d('0x3b1')](function(_0x13dff4){var _0x26b479=_['find'](_0x407447['allowedItems'],{'id':_0x13dff4['id']});if(_0x33c0bf['hasRole']('admin')){_0x13dff4[_0x477d('0x4a3')]=!![];}else{_0x13dff4[_0x477d('0x4a3')]=typeof _0x26b479!=='undefined'?!![]:![];}});return _0x446813();})[_0x477d('0x76')](function(_0x5d3511){var _0x7b3b96=_0x5d3511&&_0x5d3511[_0x477d('0xf2')]?_0x5d3511[_0x477d('0xf2')]:[];_0x407447[_0x477d('0x4a7')]=_[_0x477d('0x3cb')](_0x7b3b96,function(_0xa5c24f){var _0x4330d4=_[_0x477d('0x10a')](_0x407447[_0x477d('0x4a6')],{'id':_0xa5c24f['id']});_0x4330d4['penalty']=_0xa5c24f['UserSmsAccount']?'penalty\x20'+_0xa5c24f[_0x477d('0x2055')]['penalty']:'';_0x4330d4[_0x477d('0x324')]=_0xa5c24f['hasOwnProperty']('internal')?'<'+_0xa5c24f[_0x477d('0x324')]+'>':'';return _0x4330d4;});_0x407447[_0x477d('0x11fd')]=angular['copy'](_0x407447[_0x477d('0x4a7')]);_0x407447[_0x477d('0x1185')][_0x477d('0x4a7')]=_0x407447[_0x477d('0x4a7')];_0x407447['dualMultiselectOptions'][_0x477d('0x4a6')]=_[_0x477d('0x11f8')](_0x407447[_0x477d('0x11f7')],_0x407447[_0x477d('0x1185')][_0x477d('0x4a7')],'id');_0x2db4fb();})[_0x477d('0xf8')](function(_0x23fce5){_0x57525a(_0x23fce5);});});}function _0x28d5bd(){return _0x289ec6(function(_0x296c0c,_0x2b75c5){return _0x48127e[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x407447[_0x477d('0xd99')]['id'],'nolimit':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x3ea7f3){_0x296c0c(_0x3ea7f3);})['catch'](function(_0x3fc479){_0x2b75c5(_0x3fc479);});});}function _0x446813(){return _0x289ec6(function(_0x45e8f9,_0x1222cd){return _0x48127e['smsAccount'][_0x477d('0x11f9')]({'id':_0x407447['smsAccount']['id'],'fields':_0x477d('0x11fa'),'nolimit':!![],'role':'agent'})['$promise'][_0x477d('0x76')](function(_0x27a80b){_0x45e8f9(_0x27a80b);})['catch'](function(_0x558b6a){_0x1222cd(_0x558b6a);});});}function _0x25bdd0(){return _0x289ec6(function(_0x4116b3,_0x3214b6){return _0x48127e[_0x477d('0x380')][_0x477d('0x376')]({'fields':'id,name,internal,fullname','nolimit':!![],'role':'agent'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x24b62d){_0x4116b3(_0x24b62d);})['catch'](function(_0x35d5ef){_0x3214b6(_0x35d5ef);});});}function _0x5e5285(_0x337ea5){return _0x289ec6(function(_0x1e247b,_0xff7dfc){if(_[_0x477d('0x3b2')](_0x337ea5)){_0x1e247b();}else{_0x48127e[_0x477d('0xe45')][_0x477d('0x11fb')]({'id':_0x407447[_0x477d('0xe45')]['id'],'ids':_[_0x477d('0x3cb')](_0x337ea5,'id')})[_0x477d('0x38b')]['then'](function(){_0x1e247b();})[_0x477d('0xf8')](function(_0x378c96){_0xff7dfc(_0x378c96);});}});}function _0x7687d2(_0x1f0875){return _0x289ec6(function(_0x5e23b1,_0x91ce6e){if(_[_0x477d('0x3b2')](_0x1f0875)){_0x5e23b1();}else{_0x48127e[_0x477d('0xe45')][_0x477d('0x11fc')]({'id':_0x407447[_0x477d('0xe45')]['id'],'ids':_[_0x477d('0x3cb')](_0x1f0875,'id')})[_0x477d('0x38b')][_0x477d('0x76')](function(){_0x5e23b1();})[_0x477d('0xf8')](function(_0x4fb960){_0x91ce6e(_0x4fb960);});}});}function _0x3a5802(){var _0x27f94b=_['differenceBy'](_0x407447[_0x477d('0x11fd')],_0x407447[_0x477d('0x4a7')],'id');var _0x1e6c13=_['differenceBy'](_0x407447[_0x477d('0x4a7')],_0x407447['startingSelectedItems'],'id');return _0x7687d2(_0x27f94b)['then'](function(){return _0x5e5285(_0x1e6c13);})[_0x477d('0x76')](function(){_0x407447[_0x477d('0x11f5')]=![];_0x407447[_0x477d('0x11f2')]=angular[_0x477d('0x6d9')](_0x407447[_0x477d('0x11f7')]);_0x407447[_0x477d('0x11fd')]=angular['copy'](_0x407447[_0x477d('0x4a7')]);_0x1f4082[_0x477d('0x485')]({'title':_0x477d('0x11fe'),'msg':_0x477d('0x11ff')});})[_0x477d('0xf8')](function(_0xdac84){_0x1f4082[_0x477d('0x44a')]({'title':_0xdac84[_0x477d('0x3c3')]?_0x477d('0x44b')+_0xdac84[_0x477d('0x3c3')]+'\x20-\x20'+_0xdac84[_0x477d('0x44d')]:_0x477d('0x1200'),'msg':_0xdac84[_0x477d('0x3c3')]?JSON['stringify'](_0xdac84[_0x477d('0x451')]):_0xdac84['toString']()});});}function _0x131722(){_0x2f42b7[_0x477d('0x3bc')]();}}}());(function(){'use strict';_0x459370['$inject']=[_0x477d('0x384'),'$q',_0x477d('0x40e'),_0x477d('0x2056'),_0x477d('0xe45'),'api',_0x477d('0x55'),_0x477d('0xd66')];angular['module'](_0x477d('0x32'))[_0x477d('0x3ba')]('EditSmsAccountAppagentDialogController',_0x459370);function _0x459370(_0x212de9,_0x3bfc2b,_0x50fa2a,_0xabd834,_0x310519,_0x409403,_0x30acd0,_0x2b1c68){var _0x391359=this;_0x391359[_0x477d('0x3e5')]=_0x30acd0['getCurrentUser']();_0x391359['errors']=[];_0x391359['title']=_0x477d('0x2057')+(_0xabd834[_0x477d('0x1294')]||_0xabd834[_0x477d('0x1291')])[_0x477d('0x44f')]();_0x391359[_0x477d('0xcf')]=angular[_0x477d('0x6d9')](_0xabd834);_0x391359[_0x477d('0xd66')]=_0x2b1c68;_0x391359['hasModulePermissions']={};if(_0x391359[_0x477d('0xcf')][_0x477d('0x12ae')]){switch(_0x391359[_0x477d('0xcf')][_0x477d('0x1294')]?_0x391359[_0x477d('0xcf')][_0x477d('0x1294')][_0x477d('0x449')]():_0x391359[_0x477d('0xcf')][_0x477d('0x1291')][_0x477d('0x449')]()){case _0x477d('0x9f6'):break;case _0x477d('0x1266'):var _0x49645e=_0x391359[_0x477d('0xcf')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x391359[_0x477d('0xcf')][_0x477d('0x670')]=_0x49645e[0x0];_0x391359[_0x477d('0xcf')][_0x477d('0x1267')]=_0x49645e[0x1];_0x391359['agent']['welcomemessage']=_0x49645e[_0x477d('0x9cd')](0x2,_0x49645e[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x127c'):var _0x49645e=_0x391359[_0x477d('0xcf')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x391359[_0x477d('0xcf')]['accesskeyid']=_0x49645e[0x0];_0x391359[_0x477d('0xcf')][_0x477d('0x127e')]=_0x49645e[0x1];_0x391359[_0x477d('0xcf')][_0x477d('0x127f')]=_0x49645e[0x2];_0x391359[_0x477d('0xcf')][_0x477d('0x1283')]=_0x49645e[0x3];_0x391359['agent'][_0x477d('0x127a')]=_0x49645e[_0x477d('0x9cd')](0x4,_0x49645e[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x1260'):var _0x49645e=_0x391359[_0x477d('0xcf')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x391359['agent'][_0x477d('0x1261')]=isNaN(_0x49645e[0x0])?_0x49645e[0x0]:parseInt(_0x49645e[0x0],0xa);_0x391359[_0x477d('0xcf')]['text']=_0x49645e[_0x477d('0x9cd')](0x1,_0x49645e['length'])['join'](',');break;case _0x477d('0x452'):_0x391359[_0x477d('0xcf')]['text']=_0x391359[_0x477d('0xcf')]['appdata'];break;case _0x477d('0x12af'):_0x391359[_0x477d('0xcf')]['name']=_0x391359[_0x477d('0xcf')][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x0];_0x391359[_0x477d('0xcf')][_0x477d('0x3b6')]=_0x391359[_0x477d('0xcf')][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x1];break;case _0x477d('0x12b0'):_0x391359[_0x477d('0xcf')][_0x477d('0xf13')]=_0x391359[_0x477d('0xcf')][_0x477d('0x12ae')];break;default:var _0x170226=_0x391359['agent'][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x391359[_0x477d('0xcf')]['agent']=_[_0x477d('0x3b2')](_0x170226[0x0])?_0x170226[0x0]:isNaN(_0x170226[0x0])?_0x170226[0x0]:parseInt(_0x170226[0x0],0xa);_0x391359['agent'][_0x477d('0x91b')]=_[_0x477d('0x3b2')](_0x170226[0x1])?_0x170226[0x1]:isNaN(_0x170226[0x1])?_0x170226[0x1]:parseInt(_0x170226[0x1],0xa);}}else{_0x391359['agent'][_0x477d('0x91b')]=0x1e;}if(_0x391359['agent'][_0x477d('0x439')]&&_0x391359[_0x477d('0xcf')]['type'][_0x477d('0x449')]()===_0x477d('0x127')&&_0x391359[_0x477d('0xcf')]['appType'][_0x477d('0x449')]()===_0x477d('0x12b1')){_0x391359[_0x477d('0xcf')][_0x477d('0x6c0')]=_0x391359['agent'][_0x477d('0xf46')]?_0x391359[_0x477d('0xcf')]['phone'][_0x477d('0x472')]('$')[0x0]:undefined;_0x391359[_0x477d('0xcf')][_0x477d('0x69b')]=_0x391359['agent']['callerID']?_0x477d('0x12b3')+_0x391359[_0x477d('0xcf')][_0x477d('0x12b2')]:undefined;}_0x391359['saveSmsAccountApp']=_0x25f5ea;_0x391359[_0x477d('0x6bf')]=_0x38e6ab;_0x30acd0[_0x477d('0x56')](_0x477d('0x5f'))?_0x409403[_0x477d('0x380')][_0x477d('0x376')]({'fields':'id,name','sort':_0x477d('0x94'),'nolimit':'true','role':_0x477d('0xcf')})[_0x477d('0x38b')]['then'](function(_0x319a57){_0x391359['agents']=_0x319a57[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0xe2df2a){_0x50fa2a['error']({'title':_0xe2df2a[_0x477d('0x3c3')]?'API:'+_0xe2df2a['status']+_0x477d('0x44c')+_0xe2df2a[_0x477d('0x44d')]:_0x477d('0x11f6'),'msg':_0xe2df2a[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0xe2df2a[_0x477d('0x451')]):_0xe2df2a['toString']()});}):_0x409403[_0x477d('0x380')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee'),'role':_0x477d('0xcf')})['$promise'][_0x477d('0x76')](function(_0x552db8){_0x391359[_0x477d('0x125c')]=_0x552db8[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x409403['userProfileSection'][_0x477d('0x376')]({'userProfileId':_0x391359[_0x477d('0x3e5')]['userProfileId'],'sectionId':0xca})['$promise'];})[_0x477d('0x76')](function(_0x3c59dc){var _0x4eac8d=_0x3c59dc&&_0x3c59dc['rows']?_0x3c59dc[_0x477d('0xf2')][0x0]:null;if(!_0x4eac8d){var _0xc4d3fc=[];var _0x7ed9af=null;if(_0x391359[_0x477d('0xcf')]){_0x7ed9af=_[_0x477d('0x10a')](_0x391359[_0x477d('0x125c')],{'name':_0x391359[_0x477d('0xcf')]['agent']});}for(var _0xec0cf7=0x0;_0xec0cf7<_0x391359[_0x477d('0x125c')][_0x477d('0x79')];_0xec0cf7++){if(_0x7ed9af&&_0x391359['agents'][_0xec0cf7]['id']===_0x7ed9af['id']){_0x391359[_0x477d('0x125c')][_0xec0cf7][_0x477d('0xf8b')]=![];_0xc4d3fc[_0x477d('0x3a7')](_0x391359[_0x477d('0x125c')][_0xec0cf7]);}}_0x391359['agents']=_0xc4d3fc;}else{if(!_0x4eac8d['autoAssociation']){return _0x409403[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x4eac8d['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0xeec991){var _0x29f79c=_[_0x477d('0x3cb')](_0xeec991['rows'],function(_0x1a3cab){return _[_0x477d('0x10a')](_0x391359[_0x477d('0x125c')],{'id':_0x1a3cab[_0x477d('0x3af')]});});var _0x396740=null;if(_0x391359[_0x477d('0xcf')]){_0x396740=_[_0x477d('0x10a')](_0x391359['agents'],{'name':_0x391359['agent'][_0x477d('0xcf')]});}if(_0x396740&&!_[_0x477d('0x3ab')](_0x29f79c,['id',_0x396740['id']])){var _0x3725e3=_[_0x477d('0x10a')](_0x391359[_0x477d('0x125c')],{'id':_0x396740['id']});_0x3725e3[_0x477d('0xf8b')]=![];_0x29f79c['push'](_0x3725e3);}_0x391359[_0x477d('0x125c')]=_0x29f79c;});}}})[_0x477d('0xf8')](function(_0x52f250){_0x50fa2a[_0x477d('0x44a')]({'title':_0x52f250[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x52f250[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x52f250[_0x477d('0x44d')]:'SYSTEM:GETagents','msg':_0x52f250[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x52f250[_0x477d('0x451')]):_0x52f250[_0x477d('0x453')]()});});function _0x25f5ea(){_0x391359[_0x477d('0xd67')]=[];var _0x537267=[];if(_0x391359[_0x477d('0xcf')][_0x477d('0x439')]&&_0x391359['agent'][_0x477d('0x439')]['toLowerCase']()===_0x477d('0x127')&&_0x391359[_0x477d('0xcf')][_0x477d('0x1294')]===_0x477d('0x12b5')){_0x391359['agent'][_0x477d('0xf46')]=_0x310519[_0x477d('0x12b6')]?(_0x391359['agent'][_0x477d('0x6c0')]||'')+_0x477d('0x12b7')+_0x310519[_0x477d('0x12b6')]+'}':(_0x391359['agent'][_0x477d('0x6c0')]||'')+'${EXTEN}';if(_0x310519[_0x477d('0x12b9')]!==_0x477d('0x496')){if(_0x391359[_0x477d('0xcf')]['options'][_0x477d('0x477')]('U(xcally-mixmonitor-context)')<0x0){_0x391359[_0x477d('0xcf')][_0x477d('0x43c')]+=_0x477d('0x12ba');}}else{_0x391359[_0x477d('0xcf')][_0x477d('0x43c')]=_0x391359[_0x477d('0xcf')]['options'][_0x477d('0x409')](_0x477d('0x12ba'),'');}}var _0x4cb8fb=_[_0x477d('0x10a')](_0x391359[_0x477d('0x125c')],{'name':_0x391359[_0x477d('0xcf')]['agent']});if(_0x4cb8fb){_0x391359[_0x477d('0xcf')][_0x477d('0x125b')]=_0x4cb8fb['id'];}if(_0x391359[_0x477d('0xcf')][_0x477d('0x1294')]&&_0x391359['agent'][_0x477d('0x1294')]==='custom'){}else{switch((_0x391359['agent'][_0x477d('0x1291')]||_0x391359[_0x477d('0xcf')]['appType'])['toLowerCase']()){case _0x477d('0x12af'):_0x391359[_0x477d('0xcf')][_0x477d('0x12ae')]=_0x391359[_0x477d('0xcf')]['name']+'='+_0x391359[_0x477d('0xcf')][_0x477d('0x3b6')];break;case _0x477d('0x9f6'):break;default:_0x537267[0x0]=_0x391359[_0x477d('0xcf')]['agent'];_0x537267[0x1]=_0x391359[_0x477d('0xcf')][_0x477d('0x91b')];_0x391359['agent']['appdata']=_0x537267[_0x477d('0x3f6')](',');}}_0x38e6ab(_0x391359[_0x477d('0xcf')]);}function _0x38e6ab(_0x4ea3ef){_0x212de9[_0x477d('0x3bc')](_0x4ea3ef);}}}());(function(){'use strict';_0x2b5702[_0x477d('0xa')]=[_0x477d('0x384'),'$q',_0x477d('0x40e'),'smsAccountApp',_0x477d('0xe45'),'api',_0x477d('0x55'),_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x32'))['controller']('EditSmsAccountAppamazonlexDialogController',_0x2b5702);function _0x2b5702(_0x11e3bd,_0x13e883,_0x8b2570,_0x2fbef2,_0x57c13c,_0x22ea2c,_0x1fe2e8,_0x331ca1){var _0x1752b0=this;_0x1752b0[_0x477d('0x3e5')]=_0x1fe2e8[_0x477d('0x5c')]();_0x1752b0[_0x477d('0xd67')]=[];_0x1752b0['title']=_0x477d('0x2057')+(_0x2fbef2[_0x477d('0x1294')]||_0x2fbef2['app'])[_0x477d('0x44f')]();_0x1752b0[_0x477d('0x127c')]=angular[_0x477d('0x6d9')](_0x2fbef2);_0x1752b0['crudPermissions']=_0x331ca1;_0x1752b0[_0x477d('0xd68')]={};if(_0x1752b0['amazonlex'][_0x477d('0x12ae')]){switch(_0x1752b0[_0x477d('0x127c')][_0x477d('0x1294')]?_0x1752b0[_0x477d('0x127c')][_0x477d('0x1294')]['toLowerCase']():_0x1752b0[_0x477d('0x127c')][_0x477d('0x1291')][_0x477d('0x449')]()){case'custom':break;case'dialogflow':var _0x32b8cc=_0x1752b0[_0x477d('0x127c')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x1752b0['amazonlex'][_0x477d('0x670')]=_0x32b8cc[0x0];_0x1752b0[_0x477d('0x127c')]['language']=_0x32b8cc[0x1];_0x1752b0[_0x477d('0x127c')][_0x477d('0x127a')]=_0x32b8cc[_0x477d('0x9cd')](0x2,_0x32b8cc[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x127c'):var _0x32b8cc=_0x1752b0[_0x477d('0x127c')][_0x477d('0x12ae')]['split'](',');_0x1752b0[_0x477d('0x127c')][_0x477d('0x127d')]=_0x32b8cc[0x0];_0x1752b0[_0x477d('0x127c')][_0x477d('0x127e')]=_0x32b8cc[0x1];_0x1752b0[_0x477d('0x127c')]['lexregion']=_0x32b8cc[0x2];_0x1752b0[_0x477d('0x127c')][_0x477d('0x1283')]=_0x32b8cc[0x3];_0x1752b0[_0x477d('0x127c')][_0x477d('0x127a')]=_0x32b8cc[_0x477d('0x9cd')](0x4,_0x32b8cc[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x1260'):var _0x32b8cc=_0x1752b0['amazonlex']['appdata'][_0x477d('0x472')](',');_0x1752b0[_0x477d('0x127c')][_0x477d('0x1261')]=isNaN(_0x32b8cc[0x0])?_0x32b8cc[0x0]:parseInt(_0x32b8cc[0x0],0xa);_0x1752b0[_0x477d('0x127c')]['text']=_0x32b8cc[_0x477d('0x9cd')](0x1,_0x32b8cc[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x452'):_0x1752b0[_0x477d('0x127c')][_0x477d('0x41b')]=_0x1752b0[_0x477d('0x127c')][_0x477d('0x12ae')];break;case _0x477d('0x12af'):_0x1752b0[_0x477d('0x127c')]['name']=_0x1752b0['amazonlex'][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x0];_0x1752b0[_0x477d('0x127c')][_0x477d('0x3b6')]=_0x1752b0[_0x477d('0x127c')][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x1];break;case _0x477d('0x12b0'):_0x1752b0[_0x477d('0x127c')][_0x477d('0xf13')]=_0x1752b0['amazonlex'][_0x477d('0x12ae')];break;default:var _0x28256a=_0x1752b0[_0x477d('0x127c')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x1752b0[_0x477d('0x127c')]['accesskeyid']=_[_0x477d('0x3b2')](_0x28256a[0x0])?_0x28256a[0x0]:isNaN(_0x28256a[0x0])?_0x28256a[0x0]:parseInt(_0x28256a[0x0],0xa);_0x1752b0['amazonlex'][_0x477d('0x127e')]=_['isEmpty'](_0x28256a[0x1])?_0x28256a[0x1]:isNaN(_0x28256a[0x1])?_0x28256a[0x1]:parseInt(_0x28256a[0x1],0xa);_0x1752b0['amazonlex'][_0x477d('0x127f')]=_[_0x477d('0x3b2')](_0x28256a[0x2])?_0x28256a[0x2]:isNaN(_0x28256a[0x2])?_0x28256a[0x2]:parseInt(_0x28256a[0x2],0xa);_0x1752b0[_0x477d('0x127c')][_0x477d('0x1283')]=_[_0x477d('0x3b2')](_0x28256a[0x3])?_0x28256a[0x3]:isNaN(_0x28256a[0x3])?_0x28256a[0x3]:parseInt(_0x28256a[0x3],0xa);_0x1752b0[_0x477d('0x127c')][_0x477d('0x127a')]=_[_0x477d('0x3b2')](_0x28256a[0x4])?_0x28256a[0x4]:isNaN(_0x28256a[0x4])?_0x28256a[0x4]:parseInt(_0x28256a[0x4],0xa);}}else{_0x1752b0[_0x477d('0x127c')]['lexregion']=_0x477d('0x1171');}if(_0x1752b0[_0x477d('0x127c')]['type']&&_0x1752b0[_0x477d('0x127c')][_0x477d('0x439')][_0x477d('0x449')]()===_0x477d('0x127')&&_0x1752b0[_0x477d('0x127c')][_0x477d('0x1294')][_0x477d('0x449')]()===_0x477d('0x12b1')){_0x1752b0[_0x477d('0x127c')][_0x477d('0x6c0')]=_0x1752b0[_0x477d('0x127c')][_0x477d('0xf46')]?_0x1752b0['amazonlex'][_0x477d('0xf46')][_0x477d('0x472')]('$')[0x0]:undefined;_0x1752b0['amazonlex'][_0x477d('0x69b')]=_0x1752b0['amazonlex']['callerID']?_0x477d('0x12b3')+_0x1752b0[_0x477d('0x127c')][_0x477d('0x12b2')]:undefined;}_0x1752b0[_0x477d('0x2058')]=_0x40852c;_0x1752b0['closeDialog']=_0x12fd1b;function _0x40852c(){_0x1752b0[_0x477d('0xd67')]=[];var _0xe9db2=[];if(_0x1752b0[_0x477d('0x127c')][_0x477d('0x439')]&&_0x1752b0['amazonlex'][_0x477d('0x439')][_0x477d('0x449')]()===_0x477d('0x127')&&_0x1752b0[_0x477d('0x127c')][_0x477d('0x1294')]===_0x477d('0x12b5')){_0x1752b0['amazonlex'][_0x477d('0xf46')]=_0x57c13c['cutdigits']?(_0x1752b0[_0x477d('0x127c')]['prefix']||'')+'${EXTEN:'+_0x57c13c[_0x477d('0x12b6')]+'}':(_0x1752b0[_0x477d('0x127c')]['prefix']||'')+_0x477d('0x12b8');if(_0x57c13c[_0x477d('0x12b9')]!==_0x477d('0x496')){if(_0x1752b0[_0x477d('0x127c')][_0x477d('0x43c')][_0x477d('0x477')](_0x477d('0x12ba'))<0x0){_0x1752b0['amazonlex'][_0x477d('0x43c')]+=_0x477d('0x12ba');}}else{_0x1752b0['amazonlex'][_0x477d('0x43c')]=_0x1752b0[_0x477d('0x127c')][_0x477d('0x43c')][_0x477d('0x409')](_0x477d('0x12ba'),'');}}if(_0x1752b0['amazonlex'][_0x477d('0x1294')]&&_0x1752b0[_0x477d('0x127c')][_0x477d('0x1294')]===_0x477d('0x9f6')){}else{switch((_0x1752b0[_0x477d('0x127c')][_0x477d('0x1291')]||_0x1752b0[_0x477d('0x127c')]['appType'])['toLowerCase']()){case _0x477d('0x12af'):_0x1752b0[_0x477d('0x127c')][_0x477d('0x12ae')]=_0x1752b0[_0x477d('0x127c')][_0x477d('0x94')]+'='+_0x1752b0[_0x477d('0x127c')][_0x477d('0x3b6')];break;case'custom':break;default:_0xe9db2[0x0]=_0x1752b0[_0x477d('0x127c')][_0x477d('0x127d')];_0xe9db2[0x1]=_0x1752b0[_0x477d('0x127c')][_0x477d('0x127e')];_0xe9db2[0x2]=_0x1752b0[_0x477d('0x127c')][_0x477d('0x127f')];_0xe9db2[0x3]=_0x1752b0[_0x477d('0x127c')][_0x477d('0x1283')];_0xe9db2[0x4]=_0x1752b0[_0x477d('0x127c')][_0x477d('0x127a')];_0x1752b0[_0x477d('0x127c')][_0x477d('0x12ae')]=_0xe9db2[_0x477d('0x3f6')](',');}}_0x12fd1b(_0x1752b0['amazonlex']);}function _0x12fd1b(_0x5b33c3){_0x11e3bd[_0x477d('0x3bc')](_0x5b33c3);}}}());(function(){'use strict';_0x101073[_0x477d('0xa')]=[_0x477d('0x384'),'$q',_0x477d('0x40e'),_0x477d('0x2056'),_0x477d('0xe45'),_0x477d('0x386'),'Auth','crudPermissions'];angular[_0x477d('0xb')](_0x477d('0x32'))[_0x477d('0x3ba')]('EditSmsAccountAppautoreplyDialogController',_0x101073);function _0x101073(_0x341485,_0x33a74c,_0x467e1b,_0x5ca3e2,_0x21daba,_0xd5e14e,_0x163eb7,_0x4b72dc){var _0x21227f=this;_0x21227f[_0x477d('0x3e5')]=_0x163eb7['getCurrentUser']();_0x21227f[_0x477d('0xd67')]=[];_0x21227f[_0x477d('0x49a')]='SMS.EDIT_'+(_0x5ca3e2[_0x477d('0x1294')]||_0x5ca3e2[_0x477d('0x1291')])[_0x477d('0x44f')]();_0x21227f['autoreply']=angular[_0x477d('0x6d9')](_0x5ca3e2);_0x21227f[_0x477d('0xd66')]=_0x4b72dc;_0x21227f[_0x477d('0xd68')]={};if(_0x21227f[_0x477d('0x1260')][_0x477d('0x12ae')]){switch(_0x21227f[_0x477d('0x1260')][_0x477d('0x1294')]?_0x21227f[_0x477d('0x1260')][_0x477d('0x1294')]['toLowerCase']():_0x21227f[_0x477d('0x1260')][_0x477d('0x1291')][_0x477d('0x449')]()){case _0x477d('0x9f6'):break;case _0x477d('0x1266'):var _0x1e0257=_0x21227f['autoreply'][_0x477d('0x12ae')]['split'](',');_0x21227f['autoreply'][_0x477d('0x670')]=_0x1e0257[0x0];_0x21227f[_0x477d('0x1260')][_0x477d('0x1267')]=_0x1e0257[0x1];_0x21227f[_0x477d('0x1260')][_0x477d('0x127a')]=_0x1e0257[_0x477d('0x9cd')](0x2,_0x1e0257[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x127c'):var _0x1e0257=_0x21227f[_0x477d('0x1260')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x21227f['autoreply'][_0x477d('0x127d')]=_0x1e0257[0x0];_0x21227f[_0x477d('0x1260')][_0x477d('0x127e')]=_0x1e0257[0x1];_0x21227f[_0x477d('0x1260')][_0x477d('0x127f')]=_0x1e0257[0x2];_0x21227f[_0x477d('0x1260')][_0x477d('0x1283')]=_0x1e0257[0x3];_0x21227f[_0x477d('0x1260')]['welcomemessage']=_0x1e0257[_0x477d('0x9cd')](0x4,_0x1e0257['length'])[_0x477d('0x3f6')](',');break;case _0x477d('0x1260'):var _0x1e0257=_0x21227f[_0x477d('0x1260')][_0x477d('0x12ae')]['split'](',');_0x21227f['autoreply'][_0x477d('0x1261')]=isNaN(_0x1e0257[0x0])?_0x1e0257[0x0]:parseInt(_0x1e0257[0x0],0xa);_0x21227f[_0x477d('0x1260')][_0x477d('0x41b')]=_0x1e0257[_0x477d('0x9cd')](0x1,_0x1e0257[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case'message':_0x21227f[_0x477d('0x1260')][_0x477d('0x41b')]=_0x21227f['autoreply'][_0x477d('0x12ae')];break;case _0x477d('0x12af'):_0x21227f[_0x477d('0x1260')][_0x477d('0x94')]=_0x21227f[_0x477d('0x1260')]['appdata'][_0x477d('0x472')]('=')[0x0];_0x21227f[_0x477d('0x1260')][_0x477d('0x3b6')]=_0x21227f[_0x477d('0x1260')]['appdata']['split']('=')[0x1];break;case'agi':_0x21227f[_0x477d('0x1260')][_0x477d('0xf13')]=_0x21227f[_0x477d('0x1260')]['appdata'];break;default:var _0x1483b1=_0x21227f[_0x477d('0x1260')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x21227f[_0x477d('0x1260')][_0x477d('0x1261')]=_[_0x477d('0x3b2')](_0x1483b1[0x0])?_0x1483b1[0x0]:isNaN(_0x1483b1[0x0])?_0x1483b1[0x0]:parseInt(_0x1483b1[0x0],0xa);_0x21227f['autoreply']['text']=_[_0x477d('0x3b2')](_0x1483b1[0x1])?_0x1483b1[0x1]:isNaN(_0x1483b1[0x1])?_0x1483b1[0x1]:parseInt(_0x1483b1[0x1],0xa);}}else{_0x21227f[_0x477d('0x1260')][_0x477d('0x1261')]=0x1;}if(_0x21227f[_0x477d('0x1260')][_0x477d('0x439')]&&_0x21227f['autoreply'][_0x477d('0x439')]['toLowerCase']()===_0x477d('0x127')&&_0x21227f['autoreply'][_0x477d('0x1294')][_0x477d('0x449')]()===_0x477d('0x12b1')){_0x21227f[_0x477d('0x1260')]['prefix']=_0x21227f[_0x477d('0x1260')][_0x477d('0xf46')]?_0x21227f[_0x477d('0x1260')]['phone']['split']('$')[0x0]:undefined;_0x21227f['autoreply'][_0x477d('0x69b')]=_0x21227f[_0x477d('0x1260')]['callerID']?_0x477d('0x12b3')+_0x21227f[_0x477d('0x1260')][_0x477d('0x12b2')]:undefined;}_0x21227f['saveSmsAccountApp']=_0x2f8e60;_0x21227f[_0x477d('0x6bf')]=_0x628327;function _0x2f8e60(){_0x21227f[_0x477d('0xd67')]=[];var _0x26661b=[];if(_0x21227f[_0x477d('0x1260')][_0x477d('0x439')]&&_0x21227f[_0x477d('0x1260')]['type'][_0x477d('0x449')]()===_0x477d('0x127')&&_0x21227f[_0x477d('0x1260')][_0x477d('0x1294')]===_0x477d('0x12b5')){_0x21227f[_0x477d('0x1260')]['phone']=_0x21daba[_0x477d('0x12b6')]?(_0x21227f['autoreply'][_0x477d('0x6c0')]||'')+_0x477d('0x12b7')+_0x21daba[_0x477d('0x12b6')]+'}':(_0x21227f['autoreply'][_0x477d('0x6c0')]||'')+'${EXTEN}';if(_0x21daba[_0x477d('0x12b9')]!==_0x477d('0x496')){if(_0x21227f['autoreply'][_0x477d('0x43c')][_0x477d('0x477')]('U(xcally-mixmonitor-context)')<0x0){_0x21227f[_0x477d('0x1260')][_0x477d('0x43c')]+=_0x477d('0x12ba');}}else{_0x21227f['autoreply'][_0x477d('0x43c')]=_0x21227f['autoreply'][_0x477d('0x43c')][_0x477d('0x409')](_0x477d('0x12ba'),'');}}if(_0x21227f[_0x477d('0x1260')][_0x477d('0x1294')]&&_0x21227f[_0x477d('0x1260')][_0x477d('0x1294')]==='custom'){}else{switch((_0x21227f['autoreply'][_0x477d('0x1291')]||_0x21227f[_0x477d('0x1260')][_0x477d('0x1294')])[_0x477d('0x449')]()){case _0x477d('0x12af'):_0x21227f[_0x477d('0x1260')][_0x477d('0x12ae')]=_0x21227f['autoreply']['name']+'='+_0x21227f['autoreply'][_0x477d('0x3b6')];break;case _0x477d('0x9f6'):break;default:_0x26661b[0x0]=_0x21227f[_0x477d('0x1260')]['times'];_0x26661b[0x1]=_0x21227f[_0x477d('0x1260')]['text'];_0x21227f[_0x477d('0x1260')][_0x477d('0x12ae')]=_0x26661b[_0x477d('0x3f6')](',');}}_0x628327(_0x21227f[_0x477d('0x1260')]);}function _0x628327(_0x1dfb33){_0x341485['hide'](_0x1dfb33);}}}());(function(){'use strict';_0x24ce34[_0x477d('0xa')]=[_0x477d('0x384'),'$q',_0x477d('0x40e'),_0x477d('0x2056'),_0x477d('0xe45'),_0x477d('0x386'),_0x477d('0x55'),_0x477d('0xd66')];angular[_0x477d('0xb')]('app.sms')['controller'](_0x477d('0x2059'),_0x24ce34);function _0x24ce34(_0x1c461e,_0x29d55a,_0x38239b,_0x59a848,_0x2e5e66,_0x2ccc3d,_0x294300,_0x42d906){var _0x390472=this;_0x390472[_0x477d('0x3e5')]=_0x294300[_0x477d('0x5c')]();_0x390472['errors']=[];_0x390472[_0x477d('0x49a')]=_0x477d('0x2057')+(_0x59a848[_0x477d('0x1294')]||_0x59a848[_0x477d('0x1291')])[_0x477d('0x44f')]();_0x390472[_0x477d('0x539')]=angular[_0x477d('0x6d9')](_0x59a848);_0x390472[_0x477d('0xd66')]=_0x42d906;_0x390472[_0x477d('0xd68')]={};if(_0x390472['close'][_0x477d('0x12ae')]){switch(_0x390472[_0x477d('0x539')][_0x477d('0x1294')]?_0x390472['close']['appType'][_0x477d('0x449')]():_0x390472[_0x477d('0x539')][_0x477d('0x1291')][_0x477d('0x449')]()){case _0x477d('0x9f6'):break;case _0x477d('0x1266'):var _0x34aca6=_0x390472[_0x477d('0x539')]['appdata'][_0x477d('0x472')](',');_0x390472[_0x477d('0x539')][_0x477d('0x670')]=_0x34aca6[0x0];_0x390472[_0x477d('0x539')][_0x477d('0x1267')]=_0x34aca6[0x1];_0x390472[_0x477d('0x539')][_0x477d('0x127a')]=_0x34aca6[_0x477d('0x9cd')](0x2,_0x34aca6[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x127c'):var _0x34aca6=_0x390472[_0x477d('0x539')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x390472[_0x477d('0x539')][_0x477d('0x127d')]=_0x34aca6[0x0];_0x390472[_0x477d('0x539')][_0x477d('0x127e')]=_0x34aca6[0x1];_0x390472[_0x477d('0x539')][_0x477d('0x127f')]=_0x34aca6[0x2];_0x390472[_0x477d('0x539')][_0x477d('0x1283')]=_0x34aca6[0x3];_0x390472[_0x477d('0x539')][_0x477d('0x127a')]=_0x34aca6[_0x477d('0x9cd')](0x4,_0x34aca6[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x1260'):var _0x34aca6=_0x390472[_0x477d('0x539')]['appdata'][_0x477d('0x472')](',');_0x390472['close'][_0x477d('0x1261')]=isNaN(_0x34aca6[0x0])?_0x34aca6[0x0]:parseInt(_0x34aca6[0x0],0xa);_0x390472[_0x477d('0x539')][_0x477d('0x41b')]=_0x34aca6[_0x477d('0x9cd')](0x1,_0x34aca6[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x452'):_0x390472[_0x477d('0x539')][_0x477d('0x41b')]=_0x390472['close'][_0x477d('0x12ae')];break;case _0x477d('0x12af'):_0x390472[_0x477d('0x539')][_0x477d('0x94')]=_0x390472[_0x477d('0x539')][_0x477d('0x12ae')]['split']('=')[0x0];_0x390472[_0x477d('0x539')][_0x477d('0x3b6')]=_0x390472['close'][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x1];break;case _0x477d('0x12b0'):_0x390472['close']['project']=_0x390472['close'][_0x477d('0x12ae')];break;default:var _0xbd17af=_0x390472[_0x477d('0x539')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x390472[_0x477d('0x539')][_0x477d('0xb95')]=_[_0x477d('0x3b2')](_0xbd17af[0x0])?_0xbd17af[0x0]:isNaN(_0xbd17af[0x0])?_0xbd17af[0x0]:parseInt(_0xbd17af[0x0],0xa);}}else{}if(_0x390472[_0x477d('0x539')][_0x477d('0x439')]&&_0x390472[_0x477d('0x539')]['type'][_0x477d('0x449')]()==='outbound'&&_0x390472[_0x477d('0x539')][_0x477d('0x1294')]['toLowerCase']()===_0x477d('0x12b1')){_0x390472[_0x477d('0x539')][_0x477d('0x6c0')]=_0x390472[_0x477d('0x539')][_0x477d('0xf46')]?_0x390472['close'][_0x477d('0xf46')]['split']('$')[0x0]:undefined;_0x390472['close'][_0x477d('0x69b')]=_0x390472['close'][_0x477d('0x12b2')]?_0x477d('0x12b3')+_0x390472[_0x477d('0x539')][_0x477d('0x12b2')]:undefined;}_0x390472[_0x477d('0x2058')]=_0x2e6803;_0x390472[_0x477d('0x6bf')]=_0x1e4b6c;function _0x2e6803(){_0x390472[_0x477d('0xd67')]=[];var _0x2eb9b9=[];if(_0x390472[_0x477d('0x539')]['type']&&_0x390472['close'][_0x477d('0x439')]['toLowerCase']()===_0x477d('0x127')&&_0x390472[_0x477d('0x539')][_0x477d('0x1294')]===_0x477d('0x12b5')){_0x390472[_0x477d('0x539')]['phone']=_0x2e5e66[_0x477d('0x12b6')]?(_0x390472[_0x477d('0x539')]['prefix']||'')+'${EXTEN:'+_0x2e5e66[_0x477d('0x12b6')]+'}':(_0x390472[_0x477d('0x539')][_0x477d('0x6c0')]||'')+_0x477d('0x12b8');if(_0x2e5e66[_0x477d('0x12b9')]!==_0x477d('0x496')){if(_0x390472[_0x477d('0x539')][_0x477d('0x43c')][_0x477d('0x477')](_0x477d('0x12ba'))<0x0){_0x390472[_0x477d('0x539')][_0x477d('0x43c')]+=_0x477d('0x12ba');}}else{_0x390472[_0x477d('0x539')]['options']=_0x390472['close'][_0x477d('0x43c')][_0x477d('0x409')]('U(xcally-mixmonitor-context)','');}}if(_0x390472[_0x477d('0x539')]['appType']&&_0x390472[_0x477d('0x539')]['appType']===_0x477d('0x9f6')){}else{switch((_0x390472[_0x477d('0x539')]['app']||_0x390472['close'][_0x477d('0x1294')])[_0x477d('0x449')]()){case'set':_0x390472['close'][_0x477d('0x12ae')]=_0x390472[_0x477d('0x539')][_0x477d('0x94')]+'='+_0x390472[_0x477d('0x539')]['value'];break;case _0x477d('0x9f6'):break;default:_0x2eb9b9[0x0]=_0x390472[_0x477d('0x539')][_0x477d('0xb95')];_0x390472[_0x477d('0x539')]['appdata']=_0x2eb9b9[_0x477d('0x3f6')](',');}}_0x1e4b6c(_0x390472[_0x477d('0x539')]);}function _0x1e4b6c(_0xa0a5b1){_0x1c461e[_0x477d('0x3bc')](_0xa0a5b1);}}}());(function(){'use strict';_0x53a938['$inject']=[_0x477d('0x384'),'$q','toasty','smsAccountApp',_0x477d('0xe45'),_0x477d('0x386'),'Auth',_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x32'))[_0x477d('0x3ba')](_0x477d('0x205a'),_0x53a938);function _0x53a938(_0x2514dc,_0xfd9021,_0x569e85,_0x43d14f,_0x179fa7,_0x210556,_0x96ddf7,_0x3c312c){var _0x293c61=this;_0x293c61[_0x477d('0x3e5')]=_0x96ddf7['getCurrentUser']();_0x293c61[_0x477d('0xd67')]=[];_0x293c61['title']=_0x477d('0x2057')+(_0x43d14f[_0x477d('0x1294')]||_0x43d14f[_0x477d('0x1291')])[_0x477d('0x44f')]();_0x293c61[_0x477d('0x1266')]=angular[_0x477d('0x6d9')](_0x43d14f);_0x293c61[_0x477d('0xd66')]=_0x3c312c;_0x293c61[_0x477d('0xd68')]={};if(_0x293c61[_0x477d('0x1266')][_0x477d('0x12ae')]){switch(_0x293c61[_0x477d('0x1266')][_0x477d('0x1294')]?_0x293c61[_0x477d('0x1266')][_0x477d('0x1294')]['toLowerCase']():_0x293c61[_0x477d('0x1266')]['app'][_0x477d('0x449')]()){case _0x477d('0x9f6'):break;case _0x477d('0x1266'):var _0xbe249a=_0x293c61[_0x477d('0x1266')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x293c61[_0x477d('0x1266')][_0x477d('0x670')]=_0xbe249a[0x0];_0x293c61['dialogflow'][_0x477d('0x1267')]=_0xbe249a[0x1];_0x293c61['dialogflow'][_0x477d('0x127a')]=_0xbe249a[_0x477d('0x9cd')](0x2,_0xbe249a[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x127c'):var _0xbe249a=_0x293c61[_0x477d('0x1266')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x293c61[_0x477d('0x1266')][_0x477d('0x127d')]=_0xbe249a[0x0];_0x293c61[_0x477d('0x1266')]['secretaccesskey']=_0xbe249a[0x1];_0x293c61['dialogflow']['lexregion']=_0xbe249a[0x2];_0x293c61['dialogflow'][_0x477d('0x1283')]=_0xbe249a[0x3];_0x293c61[_0x477d('0x1266')][_0x477d('0x127a')]=_0xbe249a[_0x477d('0x9cd')](0x4,_0xbe249a['length'])[_0x477d('0x3f6')](',');break;case _0x477d('0x1260'):var _0xbe249a=_0x293c61[_0x477d('0x1266')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x293c61[_0x477d('0x1266')]['times']=isNaN(_0xbe249a[0x0])?_0xbe249a[0x0]:parseInt(_0xbe249a[0x0],0xa);_0x293c61[_0x477d('0x1266')][_0x477d('0x41b')]=_0xbe249a[_0x477d('0x9cd')](0x1,_0xbe249a[_0x477d('0x79')])['join'](',');break;case'message':_0x293c61[_0x477d('0x1266')][_0x477d('0x41b')]=_0x293c61[_0x477d('0x1266')][_0x477d('0x12ae')];break;case _0x477d('0x12af'):_0x293c61[_0x477d('0x1266')][_0x477d('0x94')]=_0x293c61[_0x477d('0x1266')]['appdata'][_0x477d('0x472')]('=')[0x0];_0x293c61['dialogflow'][_0x477d('0x3b6')]=_0x293c61[_0x477d('0x1266')][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x1];break;case _0x477d('0x12b0'):_0x293c61[_0x477d('0x1266')][_0x477d('0xf13')]=_0x293c61[_0x477d('0x1266')]['appdata'];break;default:var _0x134061=_0x293c61[_0x477d('0x1266')][_0x477d('0x12ae')]['split'](',');_0x293c61[_0x477d('0x1266')]['key']=_[_0x477d('0x3b2')](_0x134061[0x0])?_0x134061[0x0]:isNaN(_0x134061[0x0])?_0x134061[0x0]:parseInt(_0x134061[0x0],0xa);_0x293c61[_0x477d('0x1266')]['language']=_[_0x477d('0x3b2')](_0x134061[0x1])?_0x134061[0x1]:isNaN(_0x134061[0x1])?_0x134061[0x1]:parseInt(_0x134061[0x1],0xa);_0x293c61[_0x477d('0x1266')][_0x477d('0x127a')]=_[_0x477d('0x3b2')](_0x134061[0x2])?_0x134061[0x2]:isNaN(_0x134061[0x2])?_0x134061[0x2]:parseInt(_0x134061[0x2],0xa);}}else{_0x293c61['dialogflow']['language']='en';}if(_0x293c61['dialogflow'][_0x477d('0x439')]&&_0x293c61[_0x477d('0x1266')][_0x477d('0x439')][_0x477d('0x449')]()===_0x477d('0x127')&&_0x293c61[_0x477d('0x1266')][_0x477d('0x1294')]['toLowerCase']()===_0x477d('0x12b1')){_0x293c61[_0x477d('0x1266')][_0x477d('0x6c0')]=_0x293c61[_0x477d('0x1266')][_0x477d('0xf46')]?_0x293c61['dialogflow'][_0x477d('0xf46')][_0x477d('0x472')]('$')[0x0]:undefined;_0x293c61[_0x477d('0x1266')][_0x477d('0x69b')]=_0x293c61['dialogflow']['callerID']?_0x477d('0x12b3')+_0x293c61[_0x477d('0x1266')][_0x477d('0x12b2')]:undefined;}_0x293c61[_0x477d('0x2058')]=_0x43b9b5;_0x293c61[_0x477d('0x6bf')]=_0x30a677;function _0x43b9b5(){_0x293c61[_0x477d('0xd67')]=[];var _0x55bd49=[];if(_0x293c61[_0x477d('0x1266')][_0x477d('0x439')]&&_0x293c61[_0x477d('0x1266')][_0x477d('0x439')][_0x477d('0x449')]()===_0x477d('0x127')&&_0x293c61['dialogflow'][_0x477d('0x1294')]===_0x477d('0x12b5')){_0x293c61[_0x477d('0x1266')][_0x477d('0xf46')]=_0x179fa7[_0x477d('0x12b6')]?(_0x293c61[_0x477d('0x1266')][_0x477d('0x6c0')]||'')+_0x477d('0x12b7')+_0x179fa7[_0x477d('0x12b6')]+'}':(_0x293c61[_0x477d('0x1266')][_0x477d('0x6c0')]||'')+_0x477d('0x12b8');if(_0x179fa7[_0x477d('0x12b9')]!==_0x477d('0x496')){if(_0x293c61['dialogflow'][_0x477d('0x43c')][_0x477d('0x477')]('U(xcally-mixmonitor-context)')<0x0){_0x293c61[_0x477d('0x1266')][_0x477d('0x43c')]+=_0x477d('0x12ba');}}else{_0x293c61[_0x477d('0x1266')][_0x477d('0x43c')]=_0x293c61[_0x477d('0x1266')][_0x477d('0x43c')][_0x477d('0x409')](_0x477d('0x12ba'),'');}}if(_0x293c61[_0x477d('0x1266')][_0x477d('0x1294')]&&_0x293c61[_0x477d('0x1266')][_0x477d('0x1294')]==='custom'){}else{switch((_0x293c61['dialogflow'][_0x477d('0x1291')]||_0x293c61[_0x477d('0x1266')][_0x477d('0x1294')])[_0x477d('0x449')]()){case _0x477d('0x12af'):_0x293c61[_0x477d('0x1266')][_0x477d('0x12ae')]=_0x293c61[_0x477d('0x1266')]['name']+'='+_0x293c61[_0x477d('0x1266')][_0x477d('0x3b6')];break;case _0x477d('0x9f6'):break;default:_0x55bd49[0x0]=_0x293c61['dialogflow'][_0x477d('0x670')];_0x55bd49[0x1]=_0x293c61[_0x477d('0x1266')][_0x477d('0x1267')];_0x55bd49[0x2]=_0x293c61[_0x477d('0x1266')][_0x477d('0x127a')];_0x293c61[_0x477d('0x1266')][_0x477d('0x12ae')]=_0x55bd49[_0x477d('0x3f6')](',');}}_0x30a677(_0x293c61[_0x477d('0x1266')]);}function _0x30a677(_0x530a11){_0x2514dc['hide'](_0x530a11);}}}());(function(){'use strict';_0x4eb967[_0x477d('0xa')]=[_0x477d('0x384'),'$q',_0x477d('0x40e'),_0x477d('0x2056'),_0x477d('0xe45'),'api',_0x477d('0x55'),_0x477d('0xd66')];angular[_0x477d('0xb')]('app.sms')[_0x477d('0x3ba')]('EditSmsAccountAppgotoifDialogController',_0x4eb967);function _0x4eb967(_0x56e692,_0x27862b,_0x40da0b,_0xb7411a,_0x3591e9,_0xf1ca2c,_0xbaf3e3,_0x381061){var _0x685de7=this;_0x685de7['currentUser']=_0xbaf3e3[_0x477d('0x5c')]();_0x685de7['errors']=[];_0x685de7[_0x477d('0x49a')]=_0x477d('0x2057')+(_0xb7411a[_0x477d('0x1294')]||_0xb7411a['app'])[_0x477d('0x44f')]();_0x685de7[_0x477d('0x1252')]=angular[_0x477d('0x6d9')](_0xb7411a);_0x685de7['crudPermissions']=_0x381061;_0x685de7[_0x477d('0xd68')]={};if(_0x685de7[_0x477d('0x1252')][_0x477d('0x12ae')]){switch(_0x685de7[_0x477d('0x1252')][_0x477d('0x1294')]?_0x685de7[_0x477d('0x1252')][_0x477d('0x1294')][_0x477d('0x449')]():_0x685de7['gotoif'][_0x477d('0x1291')][_0x477d('0x449')]()){case _0x477d('0x9f6'):break;case _0x477d('0x1266'):var _0x576c9d=_0x685de7[_0x477d('0x1252')][_0x477d('0x12ae')]['split'](',');_0x685de7['gotoif']['key']=_0x576c9d[0x0];_0x685de7['gotoif'][_0x477d('0x1267')]=_0x576c9d[0x1];_0x685de7[_0x477d('0x1252')][_0x477d('0x127a')]=_0x576c9d[_0x477d('0x9cd')](0x2,_0x576c9d['length'])['join'](',');break;case _0x477d('0x127c'):var _0x576c9d=_0x685de7[_0x477d('0x1252')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x685de7[_0x477d('0x1252')]['accesskeyid']=_0x576c9d[0x0];_0x685de7[_0x477d('0x1252')][_0x477d('0x127e')]=_0x576c9d[0x1];_0x685de7['gotoif'][_0x477d('0x127f')]=_0x576c9d[0x2];_0x685de7[_0x477d('0x1252')][_0x477d('0x1283')]=_0x576c9d[0x3];_0x685de7[_0x477d('0x1252')]['welcomemessage']=_0x576c9d[_0x477d('0x9cd')](0x4,_0x576c9d[_0x477d('0x79')])['join'](',');break;case _0x477d('0x1260'):var _0x576c9d=_0x685de7[_0x477d('0x1252')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x685de7['gotoif']['times']=isNaN(_0x576c9d[0x0])?_0x576c9d[0x0]:parseInt(_0x576c9d[0x0],0xa);_0x685de7[_0x477d('0x1252')]['text']=_0x576c9d[_0x477d('0x9cd')](0x1,_0x576c9d['length'])[_0x477d('0x3f6')](',');break;case _0x477d('0x452'):_0x685de7[_0x477d('0x1252')]['text']=_0x685de7[_0x477d('0x1252')][_0x477d('0x12ae')];break;case'set':_0x685de7[_0x477d('0x1252')][_0x477d('0x94')]=_0x685de7['gotoif'][_0x477d('0x12ae')]['split']('=')[0x0];_0x685de7[_0x477d('0x1252')][_0x477d('0x3b6')]=_0x685de7[_0x477d('0x1252')][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x1];break;case _0x477d('0x12b0'):_0x685de7[_0x477d('0x1252')][_0x477d('0xf13')]=_0x685de7['gotoif'][_0x477d('0x12ae')];break;default:var _0x23ff2f=_0x685de7[_0x477d('0x1252')][_0x477d('0x12ae')]['split'](',');_0x685de7[_0x477d('0x1252')][_0x477d('0xb98')]=_[_0x477d('0x3b2')](_0x23ff2f[0x0])?_0x23ff2f[0x0]:isNaN(_0x23ff2f[0x0])?_0x23ff2f[0x0]:parseInt(_0x23ff2f[0x0],0xa);_0x685de7['gotoif'][_0x477d('0x1254')]=_['isEmpty'](_0x23ff2f[0x1])?_0x23ff2f[0x1]:isNaN(_0x23ff2f[0x1])?_0x23ff2f[0x1]:parseInt(_0x23ff2f[0x1],0xa);_0x685de7[_0x477d('0x1252')]['falsepriority']=_[_0x477d('0x3b2')](_0x23ff2f[0x2])?_0x23ff2f[0x2]:isNaN(_0x23ff2f[0x2])?_0x23ff2f[0x2]:parseInt(_0x23ff2f[0x2],0xa);}}else{}if(_0x685de7[_0x477d('0x1252')][_0x477d('0x439')]&&_0x685de7[_0x477d('0x1252')][_0x477d('0x439')][_0x477d('0x449')]()==='outbound'&&_0x685de7[_0x477d('0x1252')][_0x477d('0x1294')][_0x477d('0x449')]()===_0x477d('0x12b1')){_0x685de7[_0x477d('0x1252')][_0x477d('0x6c0')]=_0x685de7[_0x477d('0x1252')]['phone']?_0x685de7[_0x477d('0x1252')][_0x477d('0xf46')][_0x477d('0x472')]('$')[0x0]:undefined;_0x685de7[_0x477d('0x1252')][_0x477d('0x69b')]=_0x685de7[_0x477d('0x1252')]['callerID']?_0x477d('0x12b3')+_0x685de7[_0x477d('0x1252')][_0x477d('0x12b2')]:undefined;}_0x685de7[_0x477d('0x2058')]=_0x5e5768;_0x685de7[_0x477d('0x6bf')]=_0x3f1df3;function _0x5e5768(){_0x685de7[_0x477d('0xd67')]=[];var _0x5986ca=[];if(_0x685de7['gotoif'][_0x477d('0x439')]&&_0x685de7[_0x477d('0x1252')][_0x477d('0x439')][_0x477d('0x449')]()===_0x477d('0x127')&&_0x685de7[_0x477d('0x1252')][_0x477d('0x1294')]==='outboundDial'){_0x685de7[_0x477d('0x1252')][_0x477d('0xf46')]=_0x3591e9['cutdigits']?(_0x685de7['gotoif'][_0x477d('0x6c0')]||'')+_0x477d('0x12b7')+_0x3591e9[_0x477d('0x12b6')]+'}':(_0x685de7['gotoif']['prefix']||'')+'${EXTEN}';if(_0x3591e9[_0x477d('0x12b9')]!=='none'){if(_0x685de7[_0x477d('0x1252')][_0x477d('0x43c')]['indexOf'](_0x477d('0x12ba'))<0x0){_0x685de7['gotoif'][_0x477d('0x43c')]+=_0x477d('0x12ba');}}else{_0x685de7[_0x477d('0x1252')][_0x477d('0x43c')]=_0x685de7['gotoif'][_0x477d('0x43c')][_0x477d('0x409')](_0x477d('0x12ba'),'');}}if(_0x685de7[_0x477d('0x1252')]['appType']&&_0x685de7['gotoif'][_0x477d('0x1294')]===_0x477d('0x9f6')){}else{switch((_0x685de7[_0x477d('0x1252')][_0x477d('0x1291')]||_0x685de7[_0x477d('0x1252')][_0x477d('0x1294')])[_0x477d('0x449')]()){case _0x477d('0x12af'):_0x685de7[_0x477d('0x1252')][_0x477d('0x12ae')]=_0x685de7[_0x477d('0x1252')]['name']+'='+_0x685de7[_0x477d('0x1252')][_0x477d('0x3b6')];break;case _0x477d('0x9f6'):break;default:_0x5986ca[0x0]=_0x685de7['gotoif'][_0x477d('0xb98')];_0x5986ca[0x1]=_0x685de7[_0x477d('0x1252')][_0x477d('0x1254')];_0x5986ca[0x2]=_0x685de7[_0x477d('0x1252')]['falsepriority'];_0x685de7[_0x477d('0x1252')][_0x477d('0x12ae')]=_0x5986ca['join'](',');}}_0x3f1df3(_0x685de7['gotoif']);}function _0x3f1df3(_0x3fe177){_0x56e692[_0x477d('0x3bc')](_0x3fe177);}}}());(function(){'use strict';_0x13c73a[_0x477d('0xa')]=[_0x477d('0x384'),'$q',_0x477d('0x40e'),'smsAccountApp',_0x477d('0xe45'),_0x477d('0x386'),_0x477d('0x55'),'crudPermissions'];angular[_0x477d('0xb')](_0x477d('0x32'))['controller']('EditSmsAccountAppgotopDialogController',_0x13c73a);function _0x13c73a(_0x389273,_0x14927d,_0x55d1a8,_0x2c5738,_0x2df0b0,_0x5d90e2,_0x8daa77,_0x3bc4f6){var _0xb7f035=this;_0xb7f035[_0x477d('0x3e5')]=_0x8daa77['getCurrentUser']();_0xb7f035[_0x477d('0xd67')]=[];_0xb7f035['title']=_0x477d('0x2057')+(_0x2c5738[_0x477d('0x1294')]||_0x2c5738[_0x477d('0x1291')])[_0x477d('0x44f')]();_0xb7f035['gotop']=angular[_0x477d('0x6d9')](_0x2c5738);_0xb7f035['crudPermissions']=_0x3bc4f6;_0xb7f035[_0x477d('0xd68')]={};if(_0xb7f035[_0x477d('0x124f')]['appdata']){switch(_0xb7f035[_0x477d('0x124f')][_0x477d('0x1294')]?_0xb7f035[_0x477d('0x124f')]['appType']['toLowerCase']():_0xb7f035[_0x477d('0x124f')][_0x477d('0x1291')][_0x477d('0x449')]()){case _0x477d('0x9f6'):break;case'dialogflow':var _0x252864=_0xb7f035[_0x477d('0x124f')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0xb7f035['gotop'][_0x477d('0x670')]=_0x252864[0x0];_0xb7f035[_0x477d('0x124f')][_0x477d('0x1267')]=_0x252864[0x1];_0xb7f035['gotop']['welcomemessage']=_0x252864[_0x477d('0x9cd')](0x2,_0x252864[_0x477d('0x79')])['join'](',');break;case'amazonlex':var _0x252864=_0xb7f035[_0x477d('0x124f')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0xb7f035[_0x477d('0x124f')][_0x477d('0x127d')]=_0x252864[0x0];_0xb7f035[_0x477d('0x124f')][_0x477d('0x127e')]=_0x252864[0x1];_0xb7f035[_0x477d('0x124f')][_0x477d('0x127f')]=_0x252864[0x2];_0xb7f035[_0x477d('0x124f')][_0x477d('0x1283')]=_0x252864[0x3];_0xb7f035[_0x477d('0x124f')][_0x477d('0x127a')]=_0x252864[_0x477d('0x9cd')](0x4,_0x252864[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case'autoreply':var _0x252864=_0xb7f035['gotop'][_0x477d('0x12ae')][_0x477d('0x472')](',');_0xb7f035[_0x477d('0x124f')][_0x477d('0x1261')]=isNaN(_0x252864[0x0])?_0x252864[0x0]:parseInt(_0x252864[0x0],0xa);_0xb7f035[_0x477d('0x124f')][_0x477d('0x41b')]=_0x252864[_0x477d('0x9cd')](0x1,_0x252864[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x452'):_0xb7f035[_0x477d('0x124f')][_0x477d('0x41b')]=_0xb7f035[_0x477d('0x124f')][_0x477d('0x12ae')];break;case _0x477d('0x12af'):_0xb7f035[_0x477d('0x124f')][_0x477d('0x94')]=_0xb7f035['gotop'][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x0];_0xb7f035[_0x477d('0x124f')][_0x477d('0x3b6')]=_0xb7f035[_0x477d('0x124f')][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x1];break;case _0x477d('0x12b0'):_0xb7f035[_0x477d('0x124f')]['project']=_0xb7f035['gotop'][_0x477d('0x12ae')];break;default:var _0x10aad6=_0xb7f035[_0x477d('0x124f')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0xb7f035[_0x477d('0x124f')][_0x477d('0x1243')]=_[_0x477d('0x3b2')](_0x10aad6[0x0])?_0x10aad6[0x0]:isNaN(_0x10aad6[0x0])?_0x10aad6[0x0]:parseInt(_0x10aad6[0x0],0xa);}}else{}if(_0xb7f035['gotop'][_0x477d('0x439')]&&_0xb7f035['gotop'][_0x477d('0x439')][_0x477d('0x449')]()===_0x477d('0x127')&&_0xb7f035['gotop'][_0x477d('0x1294')][_0x477d('0x449')]()==='outbounddial'){_0xb7f035[_0x477d('0x124f')]['prefix']=_0xb7f035[_0x477d('0x124f')]['phone']?_0xb7f035[_0x477d('0x124f')][_0x477d('0xf46')][_0x477d('0x472')]('$')[0x0]:undefined;_0xb7f035[_0x477d('0x124f')][_0x477d('0x69b')]=_0xb7f035['gotop'][_0x477d('0x12b2')]?_0x477d('0x12b3')+_0xb7f035[_0x477d('0x124f')][_0x477d('0x12b2')]:undefined;}_0xb7f035['saveSmsAccountApp']=_0x1bf3c4;_0xb7f035[_0x477d('0x6bf')]=_0x2e1825;function _0x1bf3c4(){_0xb7f035[_0x477d('0xd67')]=[];var _0x4418ca=[];if(_0xb7f035[_0x477d('0x124f')][_0x477d('0x439')]&&_0xb7f035[_0x477d('0x124f')][_0x477d('0x439')]['toLowerCase']()===_0x477d('0x127')&&_0xb7f035[_0x477d('0x124f')][_0x477d('0x1294')]===_0x477d('0x12b5')){_0xb7f035[_0x477d('0x124f')][_0x477d('0xf46')]=_0x2df0b0[_0x477d('0x12b6')]?(_0xb7f035[_0x477d('0x124f')][_0x477d('0x6c0')]||'')+'${EXTEN:'+_0x2df0b0[_0x477d('0x12b6')]+'}':(_0xb7f035[_0x477d('0x124f')][_0x477d('0x6c0')]||'')+_0x477d('0x12b8');if(_0x2df0b0[_0x477d('0x12b9')]!==_0x477d('0x496')){if(_0xb7f035['gotop']['options']['indexOf']('U(xcally-mixmonitor-context)')<0x0){_0xb7f035[_0x477d('0x124f')]['options']+='U(xcally-mixmonitor-context)';}}else{_0xb7f035[_0x477d('0x124f')][_0x477d('0x43c')]=_0xb7f035['gotop'][_0x477d('0x43c')]['replace'](_0x477d('0x12ba'),'');}}if(_0xb7f035[_0x477d('0x124f')][_0x477d('0x1294')]&&_0xb7f035['gotop'][_0x477d('0x1294')]===_0x477d('0x9f6')){}else{switch((_0xb7f035[_0x477d('0x124f')]['app']||_0xb7f035['gotop'][_0x477d('0x1294')])[_0x477d('0x449')]()){case _0x477d('0x12af'):_0xb7f035['gotop']['appdata']=_0xb7f035['gotop'][_0x477d('0x94')]+'='+_0xb7f035[_0x477d('0x124f')][_0x477d('0x3b6')];break;case _0x477d('0x9f6'):break;default:_0x4418ca[0x0]=_0xb7f035[_0x477d('0x124f')]['priority'];_0xb7f035[_0x477d('0x124f')][_0x477d('0x12ae')]=_0x4418ca['join'](',');}}_0x2e1825(_0xb7f035[_0x477d('0x124f')]);}function _0x2e1825(_0x528188){_0x389273['hide'](_0x528188);}}}());(function(){'use strict';_0x4a2138[_0x477d('0xa')]=[_0x477d('0x3c4'),_0x477d('0x384'),'$mdToast',_0x477d('0xd14'),'interval',_0x477d('0x1298'),_0x477d('0x40e'),'api',_0x477d('0x55'),_0x477d('0xd66')];angular[_0x477d('0xb')]('app.voice')[_0x477d('0x3ba')](_0x477d('0x2051'),_0x4a2138);function _0x4a2138(_0x2273f2,_0x38f25f,_0x1d3d90,_0x4f451b,_0x417537,_0x54e21e,_0x5dd915,_0x3e8baa,_0xbf320a,_0x341b92){var _0x56ac26=this;_0x56ac26[_0x477d('0x3e5')]=_0xbf320a['getCurrentUser']();_0x56ac26[_0x477d('0xd67')]=[];_0x56ac26[_0x477d('0x49a')]=_0x477d('0x12be');_0x56ac26[_0x477d('0x79c')]=angular[_0x477d('0x6d9')](_0x417537);_0x56ac26[_0x477d('0x1298')]=_0x54e21e;_0x56ac26[_0x477d('0x12bf')]=![];_0x56ac26['types']=[_0x477d('0x1247'),_0x477d('0x9f6'),_0x477d('0xa02')];_0x56ac26[_0x477d('0xd66')]=_0x341b92;_0x56ac26[_0x477d('0x12c1')]=_0x4f451b['getDaysOfWeek']();_0x56ac26[_0x477d('0x12c3')]=_0x4f451b[_0x477d('0x12c4')]();_0x56ac26[_0x477d('0x12c5')]=_0x4f451b[_0x477d('0x192f')]();_0x56ac26[_0x477d('0x12c6')]=_0x4f451b[_0x477d('0x12c7')]();if(!_0x56ac26[_0x477d('0x79c')]){_0x56ac26[_0x477d('0x79c')]={'interval':'*,*,*,*'};_0x56ac26[_0x477d('0x439')]=_0x477d('0x1247');_0x56ac26['title']=_0x477d('0x1930');_0x56ac26[_0x477d('0x12bf')]=!![];}else{if(_0x56ac26[_0x477d('0x79c')][_0x477d('0x79c')]!==_0x477d('0x1249')){_0x56ac26[_0x477d('0x439')]=_0x477d('0x9f6');var _0x39f76d=_0x56ac26[_0x477d('0x79c')]['interval'][_0x477d('0x472')](',');var _0x3c8ddb=_0x39f76d[0x0];var _0x2d5d3a=_0x39f76d[0x1];var _0x3af79e=_0x39f76d[0x2];var _0x4870b2=_0x39f76d[0x3];if(_0x3c8ddb!=='*'){var _0x25e64a=_0x3c8ddb[_0x477d('0x472')]('-')[0x0];var _0x1e082e=_0x3c8ddb[_0x477d('0x472')]('-')[0x1];var _0x5311ee;_0x5311ee=new Date();_0x5311ee[_0x477d('0x12c8')](Number(_0x25e64a[_0x477d('0x472')](':')[0x0]));_0x5311ee[_0x477d('0x12c9')](Number(_0x25e64a['split'](':')[0x1]));_0x56ac26[_0x477d('0x12d1')]=_0x5311ee;_0x5311ee=new Date();_0x5311ee['setHours'](Number(_0x1e082e[_0x477d('0x472')](':')[0x0]));_0x5311ee[_0x477d('0x12c9')](Number(_0x1e082e[_0x477d('0x472')](':')[0x1]));_0x56ac26[_0x477d('0x12ca')]=_0x5311ee;}if(_0x2d5d3a!=='*'){_0x56ac26[_0x477d('0x12d4')]=_0x2d5d3a[_0x477d('0x472')]('-')[0x0];_0x56ac26[_0x477d('0x12cb')]=_0x2d5d3a[_0x477d('0x472')]('-')[0x1];}if(_0x3af79e!=='*'){_0x56ac26[_0x477d('0x12d5')]=_0x3af79e[_0x477d('0x472')]('-')[0x0];_0x56ac26[_0x477d('0x12d6')]=_0x3af79e[_0x477d('0x472')]('-')[0x1];}if(_0x4870b2!=='*'){_0x56ac26[_0x477d('0x12cc')]=_0x4870b2[_0x477d('0x472')]('-')[0x0];_0x56ac26['monthTo']=_0x4870b2[_0x477d('0x472')]('-')[0x1];}}else{_0x56ac26[_0x477d('0x439')]=_0x477d('0x1247');}}if(_0x2273f2[_0x477d('0x37e')]['id']&&!_0x56ac26[_0x477d('0x79c')][_0x477d('0xf55')]){_0x56ac26['interval'][_0x477d('0xf8c')]=_0x2273f2[_0x477d('0x37e')]['id'];}if(_0x56ac26[_0x477d('0x79c')][_0x477d('0xf8c')]&&_0x56ac26[_0x477d('0x79c')][_0x477d('0xf55')]){_0x56ac26[_0x477d('0x439')]='list';}_0x56ac26['addNewInterval']=_0x2cdc89;_0x56ac26[_0x477d('0x1931')]=_0x4e67b7;_0x56ac26[_0x477d('0x6bf')]=_0x1228a9;if(_0x56ac26[_0x477d('0x79c')][_0x477d('0xf55')]){_0xbf320a[_0x477d('0x56')](_0x477d('0x5f'))?_0x3e8baa[_0x477d('0x79c')][_0x477d('0x376')]({'fields':'id,name,interval,IntervalId','IntervalId':_0x477d('0xea'),'nolimit':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x4d4656){_0x56ac26[_0x477d('0x1298')]=_0x4d4656['rows']||[];})['catch'](function(_0x1972a9){_0x5dd915[_0x477d('0x44a')]({'title':_0x1972a9[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x1972a9[_0x477d('0x3c3')]+'\x20-\x20'+_0x1972a9[_0x477d('0x44d')]:_0x477d('0x12d0'),'msg':_0x1972a9[_0x477d('0x451')]?JSON['stringify'](_0x1972a9['data']):_0x1972a9[_0x477d('0x453')]()});}):_0x3e8baa['interval'][_0x477d('0x376')]({'fields':_0x477d('0x12cf'),'IntervalId':_0x477d('0xea'),'nolimit':!![]})[_0x477d('0x38b')]['then'](function(_0x1e7d15){_0x56ac26[_0x477d('0x1298')]=_0x1e7d15[_0x477d('0xf2')]||[];})['then'](function(){return _0x3e8baa[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x56ac26[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x3ec})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x5ca969){var _0x24bfc4=_0x5ca969&&_0x5ca969['rows']?_0x5ca969[_0x477d('0xf2')][0x0]:null;if(!_0x24bfc4){_0x56ac26['intervals']=[];}else{if(!_0x24bfc4['autoAssociation']){return _0x3e8baa[_0x477d('0x3ae')]['get']({'sectionId':_0x24bfc4['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x65b704){var _0x5a5253=_0x65b704&&_0x65b704[_0x477d('0xf2')]?_0x65b704['rows']:[];var _0x13aa85=[];var _0x113dff=null;if(_0x56ac26[_0x477d('0x79c')]){_0x113dff=_['find'](_0x56ac26[_0x477d('0x1298')],{'name':_0x56ac26[_0x477d('0x79c')][_0x477d('0xf8c')]});}if(_0x113dff&&!_[_0x477d('0x3ab')](_0x5a5253,[_0x477d('0x3af'),_0x113dff['id']])){_0x56ac26['intervals'][_0x477d('0x3b1')](function(_0x105623){if(_0x105623['id']===_0x113dff['id']){_0x105623[_0x477d('0xf8b')]=![];_0x13aa85[_0x477d('0x3a7')](_0x105623);}});}_0x56ac26[_0x477d('0x1298')]=_0x13aa85;});}}})[_0x477d('0xf8')](function(_0x45b6c9){_0x5dd915[_0x477d('0x44a')]({'title':_0x45b6c9[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x45b6c9[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x45b6c9[_0x477d('0x44d')]:_0x477d('0x12d0'),'msg':_0x45b6c9['data']?JSON[_0x477d('0x3fb')](_0x45b6c9[_0x477d('0x451')]):_0x45b6c9[_0x477d('0x453')]()});});}function _0x18f742(){switch(_0x56ac26[_0x477d('0x439')]){case _0x477d('0x1247'):case _0x477d('0xa02'):return _0x477d('0x1249');case _0x477d('0x9f6'):var _0x258b2a=[];if(_0x56ac26['timeRangeFrom']!=='*'&&_0x56ac26[_0x477d('0x12d1')]&&_0x56ac26[_0x477d('0x12ca')]){var _0x1fc3bf=(_0x56ac26[_0x477d('0x12d1')][_0x477d('0x12d2')]()<0xa?'0':'')+_0x56ac26[_0x477d('0x12d1')][_0x477d('0x12d2')]()+':'+((_0x56ac26[_0x477d('0x12d1')][_0x477d('0x12d3')]()<0xa?'0':'')+_0x56ac26[_0x477d('0x12d1')][_0x477d('0x12d3')]());var _0x552e5a=(_0x56ac26[_0x477d('0x12ca')]['getHours']()<0xa?'0':'')+_0x56ac26['timeRangeTo'][_0x477d('0x12d2')]()+':'+((_0x56ac26[_0x477d('0x12ca')][_0x477d('0x12d3')]()<0xa?'0':'')+_0x56ac26[_0x477d('0x12ca')]['getMinutes']());_0x258b2a[_0x477d('0x3a7')](_0x1fc3bf+'-'+_0x552e5a);}else{_0x258b2a[_0x477d('0x3a7')]('*');}if(_0x56ac26['dayOfWeekFrom']){if(_0x56ac26[_0x477d('0x12cb')]){_0x258b2a[_0x477d('0x3a7')](_0x56ac26[_0x477d('0x12d4')]+'-'+_0x56ac26[_0x477d('0x12cb')]);}else{_0x258b2a[_0x477d('0x3a7')](_0x56ac26[_0x477d('0x12d4')]);}}else{_0x258b2a[_0x477d('0x3a7')]('*');}if(_0x56ac26[_0x477d('0x12d5')]){if(_0x56ac26[_0x477d('0x12d6')]){_0x258b2a['push'](_0x56ac26[_0x477d('0x12d5')]+'-'+_0x56ac26['monthDayTo']);}else{_0x258b2a[_0x477d('0x3a7')](_0x56ac26[_0x477d('0x12d5')]);}}else{_0x258b2a[_0x477d('0x3a7')]('*');}if(_0x56ac26[_0x477d('0x12cc')]){if(_0x56ac26['monthTo']){_0x258b2a[_0x477d('0x3a7')](_0x56ac26['monthFrom']+'-'+_0x56ac26[_0x477d('0x12cd')]);}else{_0x258b2a[_0x477d('0x3a7')](_0x56ac26[_0x477d('0x12cc')]);}}else{_0x258b2a[_0x477d('0x3a7')]('*');}return _0x258b2a[_0x477d('0x3f6')]();}}function _0x2cdc89(){_0x56ac26['errors']=[];_0x56ac26['interval'][_0x477d('0x79c')]=_0x18f742();_0x3e8baa[_0x477d('0x79c')][_0x477d('0xd70')](_0x56ac26[_0x477d('0x79c')])[_0x477d('0x38b')]['then'](function(_0x269c4b){_0x56ac26['intervals'][_0x477d('0x3a7')](_0x269c4b);_0x5dd915[_0x477d('0x485')]({'title':_0x477d('0x12d7'),'msg':_0x56ac26[_0x477d('0x79c')][_0x477d('0x94')]?_0x56ac26[_0x477d('0x79c')][_0x477d('0x94')]+_0x477d('0xd73'):''});_0x1228a9();})[_0x477d('0xf8')](function(_0x5b375a){console['error'](_0x5b375a);_0x56ac26[_0x477d('0xd67')]=_0x5b375a[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x5b375a['toString'](),'type':_0x477d('0x12d8')}];});}function _0x4e67b7(){_0x56ac26[_0x477d('0xd67')]=[];_0x56ac26['interval'][_0x477d('0x79c')]=_0x18f742();if(_0x56ac26[_0x477d('0x79c')]['application']){_0x56ac26['type']!==_0x477d('0xa02')&&(_0x56ac26[_0x477d('0x79c')]['IntervalId']=null);_0x1228a9(_0x56ac26[_0x477d('0x79c')]);}else{_0x3e8baa[_0x477d('0x79c')]['update']({'id':_0x56ac26[_0x477d('0x79c')]['id']},_0x56ac26[_0x477d('0x79c')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x27bae1){var _0xa1e8b0=_['find'](_0x56ac26[_0x477d('0x1298')],{'id':_0x27bae1['id']});if(_0xa1e8b0){_[_0x477d('0xef')](_0xa1e8b0,_0x27bae1);}_0x5dd915['success']({'title':_0x477d('0x12d9'),'msg':_0x477d('0x12da')});_0x1228a9();})[_0x477d('0xf8')](function(_0x1ec0ab){console[_0x477d('0x44a')](_0x1ec0ab);_0x56ac26[_0x477d('0xd67')]=_0x1ec0ab['data']['errors']||[{'message':_0x1ec0ab['toString'](),'type':_0x477d('0x12db')}];});}}function _0x1228a9(_0x396a4b){_0x38f25f[_0x477d('0x3bc')](_0x396a4b);}}}());(function(){'use strict';_0x3036e4[_0x477d('0xa')]=[_0x477d('0x384'),'$q',_0x477d('0x40e'),_0x477d('0x2056'),_0x477d('0xe45'),'api',_0x477d('0x55'),_0x477d('0xd66')];angular['module'](_0x477d('0x32'))[_0x477d('0x3ba')](_0x477d('0x205b'),_0x3036e4);function _0x3036e4(_0x3a97d8,_0x7de315,_0x128ace,_0x595fd3,_0x1733e6,_0x24f7d3,_0x533de5,_0x2954b7){var _0x291784=this;_0x291784[_0x477d('0x3e5')]=_0x533de5[_0x477d('0x5c')]();_0x291784['errors']=[];_0x291784[_0x477d('0x49a')]='SMS.EDIT_'+(_0x595fd3['appType']||_0x595fd3[_0x477d('0x1291')])['toUpperCase']();_0x291784[_0x477d('0x3c6')]=angular[_0x477d('0x6d9')](_0x595fd3);_0x291784[_0x477d('0xd66')]=_0x2954b7;_0x291784[_0x477d('0xd68')]={};if(_0x291784[_0x477d('0x3c6')][_0x477d('0x12ae')]){switch(_0x291784[_0x477d('0x3c6')][_0x477d('0x1294')]?_0x291784['noop']['appType']['toLowerCase']():_0x291784[_0x477d('0x3c6')][_0x477d('0x1291')][_0x477d('0x449')]()){case'custom':break;case _0x477d('0x1266'):var _0x56be42=_0x291784[_0x477d('0x3c6')]['appdata'][_0x477d('0x472')](',');_0x291784[_0x477d('0x3c6')][_0x477d('0x670')]=_0x56be42[0x0];_0x291784[_0x477d('0x3c6')][_0x477d('0x1267')]=_0x56be42[0x1];_0x291784[_0x477d('0x3c6')][_0x477d('0x127a')]=_0x56be42[_0x477d('0x9cd')](0x2,_0x56be42[_0x477d('0x79')])['join'](',');break;case _0x477d('0x127c'):var _0x56be42=_0x291784[_0x477d('0x3c6')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x291784[_0x477d('0x3c6')][_0x477d('0x127d')]=_0x56be42[0x0];_0x291784[_0x477d('0x3c6')][_0x477d('0x127e')]=_0x56be42[0x1];_0x291784[_0x477d('0x3c6')][_0x477d('0x127f')]=_0x56be42[0x2];_0x291784[_0x477d('0x3c6')][_0x477d('0x1283')]=_0x56be42[0x3];_0x291784[_0x477d('0x3c6')][_0x477d('0x127a')]=_0x56be42[_0x477d('0x9cd')](0x4,_0x56be42[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x1260'):var _0x56be42=_0x291784[_0x477d('0x3c6')][_0x477d('0x12ae')]['split'](',');_0x291784['noop']['times']=isNaN(_0x56be42[0x0])?_0x56be42[0x0]:parseInt(_0x56be42[0x0],0xa);_0x291784[_0x477d('0x3c6')]['text']=_0x56be42[_0x477d('0x9cd')](0x1,_0x56be42['length'])[_0x477d('0x3f6')](',');break;case _0x477d('0x452'):_0x291784[_0x477d('0x3c6')][_0x477d('0x41b')]=_0x291784[_0x477d('0x3c6')][_0x477d('0x12ae')];break;case _0x477d('0x12af'):_0x291784[_0x477d('0x3c6')]['name']=_0x291784['noop'][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x0];_0x291784[_0x477d('0x3c6')]['value']=_0x291784['noop'][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x1];break;case _0x477d('0x12b0'):_0x291784['noop'][_0x477d('0xf13')]=_0x291784['noop'][_0x477d('0x12ae')];break;default:var _0x3f346b=_0x291784[_0x477d('0x3c6')][_0x477d('0x12ae')]['split'](',');_0x291784[_0x477d('0x3c6')][_0x477d('0x3b6')]=_[_0x477d('0x3b2')](_0x3f346b[0x0])?_0x3f346b[0x0]:isNaN(_0x3f346b[0x0])?_0x3f346b[0x0]:parseInt(_0x3f346b[0x0],0xa);}}else{}if(_0x291784['noop'][_0x477d('0x439')]&&_0x291784[_0x477d('0x3c6')][_0x477d('0x439')]['toLowerCase']()===_0x477d('0x127')&&_0x291784['noop'][_0x477d('0x1294')]['toLowerCase']()==='outbounddial'){_0x291784['noop'][_0x477d('0x6c0')]=_0x291784[_0x477d('0x3c6')]['phone']?_0x291784[_0x477d('0x3c6')][_0x477d('0xf46')][_0x477d('0x472')]('$')[0x0]:undefined;_0x291784[_0x477d('0x3c6')]['callerId']=_0x291784[_0x477d('0x3c6')][_0x477d('0x12b2')]?'CALLERID(all)='+_0x291784['noop']['callerID']:undefined;}_0x291784['saveSmsAccountApp']=_0x29bc19;_0x291784['closeDialog']=_0x17e253;function _0x29bc19(){_0x291784[_0x477d('0xd67')]=[];var _0x5a1416=[];if(_0x291784[_0x477d('0x3c6')][_0x477d('0x439')]&&_0x291784[_0x477d('0x3c6')][_0x477d('0x439')]['toLowerCase']()===_0x477d('0x127')&&_0x291784[_0x477d('0x3c6')]['appType']===_0x477d('0x12b5')){_0x291784[_0x477d('0x3c6')][_0x477d('0xf46')]=_0x1733e6[_0x477d('0x12b6')]?(_0x291784[_0x477d('0x3c6')]['prefix']||'')+_0x477d('0x12b7')+_0x1733e6[_0x477d('0x12b6')]+'}':(_0x291784['noop'][_0x477d('0x6c0')]||'')+_0x477d('0x12b8');if(_0x1733e6[_0x477d('0x12b9')]!==_0x477d('0x496')){if(_0x291784[_0x477d('0x3c6')][_0x477d('0x43c')][_0x477d('0x477')]('U(xcally-mixmonitor-context)')<0x0){_0x291784[_0x477d('0x3c6')][_0x477d('0x43c')]+=_0x477d('0x12ba');}}else{_0x291784['noop']['options']=_0x291784[_0x477d('0x3c6')][_0x477d('0x43c')][_0x477d('0x409')](_0x477d('0x12ba'),'');}}if(_0x291784['noop']['appType']&&_0x291784['noop'][_0x477d('0x1294')]===_0x477d('0x9f6')){}else{switch((_0x291784[_0x477d('0x3c6')][_0x477d('0x1291')]||_0x291784[_0x477d('0x3c6')][_0x477d('0x1294')])[_0x477d('0x449')]()){case _0x477d('0x12af'):_0x291784[_0x477d('0x3c6')][_0x477d('0x12ae')]=_0x291784[_0x477d('0x3c6')][_0x477d('0x94')]+'='+_0x291784['noop'][_0x477d('0x3b6')];break;case _0x477d('0x9f6'):break;default:_0x5a1416[0x0]=_0x291784[_0x477d('0x3c6')]['value'];_0x291784[_0x477d('0x3c6')][_0x477d('0x12ae')]=_0x5a1416[_0x477d('0x3f6')](',');}}_0x17e253(_0x291784[_0x477d('0x3c6')]);}function _0x17e253(_0x4e4be6){_0x3a97d8[_0x477d('0x3bc')](_0x4e4be6);}}}());(function(){'use strict';_0x502a58[_0x477d('0xa')]=['$mdDialog','$q',_0x477d('0x40e'),'smsAccountApp',_0x477d('0xe45'),_0x477d('0x386'),_0x477d('0x55'),_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x32'))[_0x477d('0x3ba')](_0x477d('0x205c'),_0x502a58);function _0x502a58(_0x12315e,_0x32d52c,_0x104ad8,_0x2ce4e6,_0x2b28c8,_0x20f9d1,_0xe78fcf,_0x3dccc5){var _0x1021ef=this;_0x1021ef[_0x477d('0x3e5')]=_0xe78fcf[_0x477d('0x5c')]();_0x1021ef[_0x477d('0xd67')]=[];_0x1021ef[_0x477d('0x49a')]=_0x477d('0x2057')+(_0x2ce4e6[_0x477d('0x1294')]||_0x2ce4e6[_0x477d('0x1291')])[_0x477d('0x44f')]();_0x1021ef[_0x477d('0x1256')]=angular[_0x477d('0x6d9')](_0x2ce4e6);_0x1021ef[_0x477d('0xd66')]=_0x3dccc5;_0x1021ef[_0x477d('0xd68')]={};if(_0x1021ef[_0x477d('0x1256')][_0x477d('0x12ae')]){switch(_0x1021ef[_0x477d('0x1256')][_0x477d('0x1294')]?_0x1021ef['queue'][_0x477d('0x1294')][_0x477d('0x449')]():_0x1021ef[_0x477d('0x1256')][_0x477d('0x1291')]['toLowerCase']()){case _0x477d('0x9f6'):break;case'dialogflow':var _0x57a182=_0x1021ef[_0x477d('0x1256')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x1021ef['queue'][_0x477d('0x670')]=_0x57a182[0x0];_0x1021ef['queue'][_0x477d('0x1267')]=_0x57a182[0x1];_0x1021ef[_0x477d('0x1256')]['welcomemessage']=_0x57a182[_0x477d('0x9cd')](0x2,_0x57a182[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x127c'):var _0x57a182=_0x1021ef[_0x477d('0x1256')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x1021ef[_0x477d('0x1256')][_0x477d('0x127d')]=_0x57a182[0x0];_0x1021ef[_0x477d('0x1256')][_0x477d('0x127e')]=_0x57a182[0x1];_0x1021ef['queue']['lexregion']=_0x57a182[0x2];_0x1021ef[_0x477d('0x1256')]['botname']=_0x57a182[0x3];_0x1021ef['queue'][_0x477d('0x127a')]=_0x57a182[_0x477d('0x9cd')](0x4,_0x57a182['length'])[_0x477d('0x3f6')](',');break;case _0x477d('0x1260'):var _0x57a182=_0x1021ef['queue'][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x1021ef[_0x477d('0x1256')][_0x477d('0x1261')]=isNaN(_0x57a182[0x0])?_0x57a182[0x0]:parseInt(_0x57a182[0x0],0xa);_0x1021ef[_0x477d('0x1256')][_0x477d('0x41b')]=_0x57a182[_0x477d('0x9cd')](0x1,_0x57a182['length'])[_0x477d('0x3f6')](',');break;case _0x477d('0x452'):_0x1021ef['queue']['text']=_0x1021ef[_0x477d('0x1256')][_0x477d('0x12ae')];break;case _0x477d('0x12af'):_0x1021ef['queue'][_0x477d('0x94')]=_0x1021ef[_0x477d('0x1256')]['appdata']['split']('=')[0x0];_0x1021ef[_0x477d('0x1256')][_0x477d('0x3b6')]=_0x1021ef['queue'][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x1];break;case _0x477d('0x12b0'):_0x1021ef[_0x477d('0x1256')][_0x477d('0xf13')]=_0x1021ef[_0x477d('0x1256')]['appdata'];break;default:var _0xf7f332=_0x1021ef['queue'][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x1021ef['queue'][_0x477d('0x1256')]=_[_0x477d('0x3b2')](_0xf7f332[0x0])?_0xf7f332[0x0]:isNaN(_0xf7f332[0x0])?_0xf7f332[0x0]:parseInt(_0xf7f332[0x0],0xa);_0x1021ef[_0x477d('0x1256')][_0x477d('0x91b')]=_['isEmpty'](_0xf7f332[0x1])?_0xf7f332[0x1]:isNaN(_0xf7f332[0x1])?_0xf7f332[0x1]:parseInt(_0xf7f332[0x1],0xa);}}else{_0x1021ef['queue'][_0x477d('0x1256')]=0x12c;_0x1021ef[_0x477d('0x1256')][_0x477d('0x91b')]=0x12c;}if(_0x1021ef[_0x477d('0x1256')][_0x477d('0x439')]&&_0x1021ef['queue'][_0x477d('0x439')][_0x477d('0x449')]()===_0x477d('0x127')&&_0x1021ef['queue'][_0x477d('0x1294')][_0x477d('0x449')]()===_0x477d('0x12b1')){_0x1021ef['queue']['prefix']=_0x1021ef[_0x477d('0x1256')][_0x477d('0xf46')]?_0x1021ef['queue'][_0x477d('0xf46')][_0x477d('0x472')]('$')[0x0]:undefined;_0x1021ef[_0x477d('0x1256')]['callerId']=_0x1021ef['queue'][_0x477d('0x12b2')]?_0x477d('0x12b3')+_0x1021ef[_0x477d('0x1256')][_0x477d('0x12b2')]:undefined;}_0x1021ef['saveSmsAccountApp']=_0x53f2ff;_0x1021ef[_0x477d('0x6bf')]=_0x42d5d4;_0xe78fcf[_0x477d('0x56')]('admin')?_0x20f9d1[_0x477d('0xb10')][_0x477d('0x376')]({'fields':_0x477d('0x12de'),'sort':_0x477d('0x94'),'nolimit':'true'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x2c189f){_0x1021ef[_0x477d('0xf2f')]=_0x2c189f[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x4fe26c){_0x104ad8[_0x477d('0x44a')]({'title':_0x4fe26c[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x4fe26c['status']+_0x477d('0x44c')+_0x4fe26c[_0x477d('0x44d')]:_0x477d('0x1934'),'msg':_0x4fe26c[_0x477d('0x451')]?JSON['stringify'](_0x4fe26c[_0x477d('0x451')]):_0x4fe26c[_0x477d('0x453')]()});}):_0x20f9d1[_0x477d('0xb10')]['get']({'fields':_0x477d('0x12de'),'sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x4c2afb){_0x1021ef[_0x477d('0xf2f')]=_0x4c2afb[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x20f9d1[_0x477d('0x3ac')]['get']({'userProfileId':_0x1021ef[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x2bd})['$promise'];})[_0x477d('0x76')](function(_0x22f311){var _0x260d6f=_0x22f311&&_0x22f311['rows']?_0x22f311[_0x477d('0xf2')][0x0]:null;if(!_0x260d6f){var _0x533e5e=[];var _0x5bb2a8=null;if(_0x1021ef[_0x477d('0x1256')]){_0x5bb2a8=_[_0x477d('0x10a')](_0x1021ef[_0x477d('0xf2f')],{'name':_0x1021ef[_0x477d('0x1256')][_0x477d('0x1256')]});}for(var _0x53743c=0x0;_0x53743c<_0x1021ef[_0x477d('0xf2f')][_0x477d('0x79')];_0x53743c++){if(_0x5bb2a8&&_0x1021ef[_0x477d('0xf2f')][_0x53743c]['id']===_0x5bb2a8['id']){_0x1021ef[_0x477d('0xf2f')][_0x53743c][_0x477d('0xf8b')]=![];_0x533e5e[_0x477d('0x3a7')](_0x1021ef[_0x477d('0xf2f')][_0x53743c]);}}_0x1021ef[_0x477d('0xf2f')]=_0x533e5e;}else{if(!_0x260d6f[_0x477d('0x3ad')]){return _0x20f9d1[_0x477d('0x3ae')]['get']({'sectionId':_0x260d6f['id']})[_0x477d('0x38b')]['then'](function(_0x50b86c){var _0x116118=_[_0x477d('0x3cb')](_0x50b86c['rows'],function(_0x5817fc){return _['find'](_0x1021ef[_0x477d('0xf2f')],{'id':_0x5817fc[_0x477d('0x3af')]});});var _0x2ed22a=null;if(_0x1021ef[_0x477d('0x1256')]){_0x2ed22a=_[_0x477d('0x10a')](_0x1021ef[_0x477d('0xf2f')],{'name':_0x1021ef[_0x477d('0x1256')][_0x477d('0x1256')]});}if(_0x2ed22a&&!_[_0x477d('0x3ab')](_0x116118,['id',_0x2ed22a['id']])){var _0x34bb18=_[_0x477d('0x10a')](_0x1021ef['queues'],{'id':_0x2ed22a['id']});_0x34bb18['canSelect']=![];_0x116118[_0x477d('0x3a7')](_0x34bb18);}_0x1021ef[_0x477d('0xf2f')]=_0x116118;});}}})[_0x477d('0xf8')](function(_0x46b0a6){_0x104ad8[_0x477d('0x44a')]({'title':_0x46b0a6[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x46b0a6[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x46b0a6['statusText']:_0x477d('0x12df'),'msg':_0x46b0a6[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x46b0a6[_0x477d('0x451')]):_0x46b0a6['toString']()});});function _0x53f2ff(){_0x1021ef[_0x477d('0xd67')]=[];var _0x4169ab=[];if(_0x1021ef[_0x477d('0x1256')][_0x477d('0x439')]&&_0x1021ef['queue'][_0x477d('0x439')][_0x477d('0x449')]()===_0x477d('0x127')&&_0x1021ef[_0x477d('0x1256')][_0x477d('0x1294')]===_0x477d('0x12b5')){_0x1021ef[_0x477d('0x1256')][_0x477d('0xf46')]=_0x2b28c8[_0x477d('0x12b6')]?(_0x1021ef[_0x477d('0x1256')][_0x477d('0x6c0')]||'')+_0x477d('0x12b7')+_0x2b28c8[_0x477d('0x12b6')]+'}':(_0x1021ef[_0x477d('0x1256')]['prefix']||'')+_0x477d('0x12b8');if(_0x2b28c8['recordingFormat']!==_0x477d('0x496')){if(_0x1021ef['queue'][_0x477d('0x43c')][_0x477d('0x477')](_0x477d('0x12ba'))<0x0){_0x1021ef['queue']['options']+=_0x477d('0x12ba');}}else{_0x1021ef[_0x477d('0x1256')][_0x477d('0x43c')]=_0x1021ef[_0x477d('0x1256')]['options'][_0x477d('0x409')]('U(xcally-mixmonitor-context)','');}}var _0x39feef=_[_0x477d('0x10a')](_0x1021ef[_0x477d('0xf2f')],{'name':_0x1021ef[_0x477d('0x1256')][_0x477d('0x1256')]});if(_0x39feef){_0x1021ef[_0x477d('0x1256')][_['capitalize']('sms')+_0x477d('0x1f1f')]=_0x39feef['id'];}if(_0x1021ef[_0x477d('0x1256')]['appType']&&_0x1021ef[_0x477d('0x1256')]['appType']===_0x477d('0x9f6')){}else{switch((_0x1021ef[_0x477d('0x1256')][_0x477d('0x1291')]||_0x1021ef[_0x477d('0x1256')][_0x477d('0x1294')])[_0x477d('0x449')]()){case _0x477d('0x12af'):_0x1021ef[_0x477d('0x1256')][_0x477d('0x12ae')]=_0x1021ef[_0x477d('0x1256')][_0x477d('0x94')]+'='+_0x1021ef[_0x477d('0x1256')][_0x477d('0x3b6')];break;case _0x477d('0x9f6'):break;default:_0x4169ab[0x0]=_0x1021ef[_0x477d('0x1256')][_0x477d('0x1256')];_0x4169ab[0x1]=_0x1021ef[_0x477d('0x1256')][_0x477d('0x91b')];_0x1021ef[_0x477d('0x1256')][_0x477d('0x12ae')]=_0x4169ab[_0x477d('0x3f6')](',');}}_0x42d5d4(_0x1021ef[_0x477d('0x1256')]);}function _0x42d5d4(_0x4fd6ba){_0x12315e[_0x477d('0x3bc')](_0x4fd6ba);}}}());(function(){'use strict';_0x4eded3[_0x477d('0xa')]=[_0x477d('0x384'),'$q',_0x477d('0x40e'),_0x477d('0x2056'),_0x477d('0xe45'),_0x477d('0x386'),'Auth',_0x477d('0xd66')];angular['module'](_0x477d('0x32'))[_0x477d('0x3ba')]('EditSmsAccountAppsystemDialogController',_0x4eded3);function _0x4eded3(_0x497ded,_0x2ce655,_0x3f1524,_0x94684c,_0x179282,_0x5d55f9,_0x2537c2,_0x4e20b7){var _0x455dd1=this;_0x455dd1[_0x477d('0x3e5')]=_0x2537c2[_0x477d('0x5c')]();_0x455dd1[_0x477d('0xd67')]=[];_0x455dd1[_0x477d('0x49a')]='SMS.EDIT_'+(_0x94684c[_0x477d('0x1294')]||_0x94684c[_0x477d('0x1291')])[_0x477d('0x44f')]();_0x455dd1[_0x477d('0xa41')]=angular['copy'](_0x94684c);_0x455dd1[_0x477d('0xd66')]=_0x4e20b7;_0x455dd1[_0x477d('0xd68')]={};if(_0x455dd1[_0x477d('0xa41')][_0x477d('0x12ae')]){switch(_0x455dd1['system']['appType']?_0x455dd1[_0x477d('0xa41')][_0x477d('0x1294')]['toLowerCase']():_0x455dd1[_0x477d('0xa41')]['app'][_0x477d('0x449')]()){case'custom':break;case _0x477d('0x1266'):var _0x173f40=_0x455dd1[_0x477d('0xa41')]['appdata']['split'](',');_0x455dd1[_0x477d('0xa41')][_0x477d('0x670')]=_0x173f40[0x0];_0x455dd1[_0x477d('0xa41')][_0x477d('0x1267')]=_0x173f40[0x1];_0x455dd1[_0x477d('0xa41')]['welcomemessage']=_0x173f40['slice'](0x2,_0x173f40[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case'amazonlex':var _0x173f40=_0x455dd1[_0x477d('0xa41')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x455dd1[_0x477d('0xa41')][_0x477d('0x127d')]=_0x173f40[0x0];_0x455dd1[_0x477d('0xa41')][_0x477d('0x127e')]=_0x173f40[0x1];_0x455dd1[_0x477d('0xa41')][_0x477d('0x127f')]=_0x173f40[0x2];_0x455dd1['system'][_0x477d('0x1283')]=_0x173f40[0x3];_0x455dd1[_0x477d('0xa41')]['welcomemessage']=_0x173f40[_0x477d('0x9cd')](0x4,_0x173f40['length'])[_0x477d('0x3f6')](',');break;case _0x477d('0x1260'):var _0x173f40=_0x455dd1[_0x477d('0xa41')]['appdata']['split'](',');_0x455dd1[_0x477d('0xa41')][_0x477d('0x1261')]=isNaN(_0x173f40[0x0])?_0x173f40[0x0]:parseInt(_0x173f40[0x0],0xa);_0x455dd1['system'][_0x477d('0x41b')]=_0x173f40[_0x477d('0x9cd')](0x1,_0x173f40['length'])[_0x477d('0x3f6')](',');break;case'message':_0x455dd1['system'][_0x477d('0x41b')]=_0x455dd1[_0x477d('0xa41')][_0x477d('0x12ae')];break;case _0x477d('0x12af'):_0x455dd1['system']['name']=_0x455dd1[_0x477d('0xa41')][_0x477d('0x12ae')]['split']('=')[0x0];_0x455dd1[_0x477d('0xa41')]['value']=_0x455dd1['system'][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x1];break;case'agi':_0x455dd1[_0x477d('0xa41')][_0x477d('0xf13')]=_0x455dd1['system']['appdata'];break;default:var _0x485ef9=_0x455dd1[_0x477d('0xa41')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x455dd1['system'][_0x477d('0xf49')]=_[_0x477d('0x3b2')](_0x485ef9[0x0])?_0x485ef9[0x0]:isNaN(_0x485ef9[0x0])?_0x485ef9[0x0]:parseInt(_0x485ef9[0x0],0xa);_0x455dd1[_0x477d('0xa41')][_0x477d('0xbb9')]=_['isEmpty'](_0x485ef9[0x1])?_0x485ef9[0x1]:isNaN(_0x485ef9[0x1])?_0x485ef9[0x1]:parseInt(_0x485ef9[0x1],0xa);}}else{_0x455dd1[_0x477d('0xa41')][_0x477d('0xbb9')]='';}if(_0x455dd1[_0x477d('0xa41')][_0x477d('0x439')]&&_0x455dd1[_0x477d('0xa41')][_0x477d('0x439')][_0x477d('0x449')]()===_0x477d('0x127')&&_0x455dd1[_0x477d('0xa41')][_0x477d('0x1294')][_0x477d('0x449')]()==='outbounddial'){_0x455dd1[_0x477d('0xa41')][_0x477d('0x6c0')]=_0x455dd1[_0x477d('0xa41')]['phone']?_0x455dd1[_0x477d('0xa41')]['phone']['split']('$')[0x0]:undefined;_0x455dd1[_0x477d('0xa41')]['callerId']=_0x455dd1[_0x477d('0xa41')][_0x477d('0x12b2')]?_0x477d('0x12b3')+_0x455dd1[_0x477d('0xa41')]['callerID']:undefined;}_0x455dd1[_0x477d('0x2058')]=_0xf92c1b;_0x455dd1['closeDialog']=_0x4a3d84;_0x2537c2[_0x477d('0x56')]('admin')?_0x5d55f9[_0x477d('0xbb9')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x3561cf){_0x455dd1[_0x477d('0xf31')]=_0x3561cf['rows']||[];})[_0x477d('0xf8')](function(_0xbcd13a){_0x3f1524['error']({'title':_0xbcd13a[_0x477d('0x3c3')]?_0x477d('0x44b')+_0xbcd13a[_0x477d('0x3c3')]+_0x477d('0x44c')+_0xbcd13a[_0x477d('0x44d')]:_0x477d('0x12e1'),'msg':_0xbcd13a[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0xbcd13a[_0x477d('0x451')]):_0xbcd13a[_0x477d('0x453')]()});}):_0x5d55f9['variable']['get']({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})['$promise'][_0x477d('0x76')](function(_0x31946b){_0x455dd1[_0x477d('0xf31')]=_0x31946b[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x5d55f9[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x455dd1[_0x477d('0x3e5')]['userProfileId'],'sectionId':0x3f4})['$promise'];})[_0x477d('0x76')](function(_0x259d28){var _0x1f8335=_0x259d28&&_0x259d28[_0x477d('0xf2')]?_0x259d28[_0x477d('0xf2')][0x0]:null;if(!_0x1f8335){var _0x3efa30=[];var _0x5e6777=null;if(_0x455dd1['system']){_0x5e6777=_[_0x477d('0x10a')](_0x455dd1[_0x477d('0xf31')],{'name':_0x455dd1[_0x477d('0xa41')]['variable']});}for(var _0x5cffb5=0x0;_0x5cffb5<_0x455dd1[_0x477d('0xf31')]['length'];_0x5cffb5++){if(_0x5e6777&&_0x455dd1['variables'][_0x5cffb5]['id']===_0x5e6777['id']){_0x455dd1[_0x477d('0xf31')][_0x5cffb5][_0x477d('0xf8b')]=![];_0x3efa30[_0x477d('0x3a7')](_0x455dd1[_0x477d('0xf31')][_0x5cffb5]);}}_0x455dd1[_0x477d('0xf31')]=_0x3efa30;}else{if(!_0x1f8335['autoAssociation']){return _0x5d55f9[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x1f8335['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0xf7b984){var _0x453a15=_[_0x477d('0x3cb')](_0xf7b984[_0x477d('0xf2')],function(_0x5b54d8){return _[_0x477d('0x10a')](_0x455dd1[_0x477d('0xf31')],{'id':_0x5b54d8[_0x477d('0x3af')]});});var _0xf06694=null;if(_0x455dd1[_0x477d('0xa41')]){_0xf06694=_[_0x477d('0x10a')](_0x455dd1[_0x477d('0xf31')],{'name':_0x455dd1['system'][_0x477d('0xbb9')]});}if(_0xf06694&&!_['some'](_0x453a15,['id',_0xf06694['id']])){var _0xe1f72c=_[_0x477d('0x10a')](_0x455dd1[_0x477d('0xf31')],{'id':_0xf06694['id']});_0xe1f72c[_0x477d('0xf8b')]=![];_0x453a15[_0x477d('0x3a7')](_0xe1f72c);}_0x455dd1[_0x477d('0xf31')]=_0x453a15;});}}})[_0x477d('0xf8')](function(_0x3fb046){_0x3f1524[_0x477d('0x44a')]({'title':_0x3fb046[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x3fb046[_0x477d('0x3c3')]+'\x20-\x20'+_0x3fb046[_0x477d('0x44d')]:_0x477d('0x1936'),'msg':_0x3fb046[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x3fb046[_0x477d('0x451')]):_0x3fb046[_0x477d('0x453')]()});});function _0xf92c1b(){_0x455dd1[_0x477d('0xd67')]=[];var _0x28a841=[];if(_0x455dd1[_0x477d('0xa41')][_0x477d('0x439')]&&_0x455dd1[_0x477d('0xa41')]['type']['toLowerCase']()===_0x477d('0x127')&&_0x455dd1[_0x477d('0xa41')]['appType']===_0x477d('0x12b5')){_0x455dd1[_0x477d('0xa41')][_0x477d('0xf46')]=_0x179282['cutdigits']?(_0x455dd1[_0x477d('0xa41')]['prefix']||'')+_0x477d('0x12b7')+_0x179282[_0x477d('0x12b6')]+'}':(_0x455dd1[_0x477d('0xa41')][_0x477d('0x6c0')]||'')+_0x477d('0x12b8');if(_0x179282[_0x477d('0x12b9')]!==_0x477d('0x496')){if(_0x455dd1[_0x477d('0xa41')]['options']['indexOf'](_0x477d('0x12ba'))<0x0){_0x455dd1[_0x477d('0xa41')][_0x477d('0x43c')]+=_0x477d('0x12ba');}}else{_0x455dd1[_0x477d('0xa41')][_0x477d('0x43c')]=_0x455dd1['system']['options'][_0x477d('0x409')]('U(xcally-mixmonitor-context)','');}}if(_0x455dd1[_0x477d('0xa41')][_0x477d('0x1294')]&&_0x455dd1[_0x477d('0xa41')][_0x477d('0x1294')]===_0x477d('0x9f6')){}else{switch((_0x455dd1[_0x477d('0xa41')][_0x477d('0x1291')]||_0x455dd1[_0x477d('0xa41')][_0x477d('0x1294')])[_0x477d('0x449')]()){case _0x477d('0x12af'):_0x455dd1[_0x477d('0xa41')][_0x477d('0x12ae')]=_0x455dd1[_0x477d('0xa41')][_0x477d('0x94')]+'='+_0x455dd1['system'][_0x477d('0x3b6')];break;case _0x477d('0x9f6'):break;default:_0x28a841[0x0]=_0x455dd1['system'][_0x477d('0xf49')];_0x28a841[0x1]=_0x455dd1[_0x477d('0xa41')][_0x477d('0xbb9')];_0x455dd1[_0x477d('0xa41')]['appdata']=_0x28a841[_0x477d('0x3f6')](',');}}_0x4a3d84(_0x455dd1['system']);}function _0x4a3d84(_0x1f6166){_0x497ded[_0x477d('0x3bc')](_0x1f6166);}}}());(function(){'use strict';_0x24e797[_0x477d('0xa')]=[_0x477d('0x384'),'$q',_0x477d('0x40e'),_0x477d('0x2056'),_0x477d('0xe45'),'api','Auth','crudPermissions'];angular[_0x477d('0xb')](_0x477d('0x32'))[_0x477d('0x3ba')](_0x477d('0x205d'),_0x24e797);function _0x24e797(_0x5381f3,_0x2fab18,_0x4955ec,_0x46da5d,_0x398db6,_0x206d16,_0x27fe11,_0x57d022){var _0x547795=this;_0x547795['currentUser']=_0x27fe11['getCurrentUser']();_0x547795[_0x477d('0xd67')]=[];_0x547795[_0x477d('0x49a')]=_0x477d('0x2057')+(_0x46da5d[_0x477d('0x1294')]||_0x46da5d['app'])[_0x477d('0x44f')]();_0x547795[_0x477d('0xbb0')]=angular['copy'](_0x46da5d);_0x547795[_0x477d('0xd66')]=_0x57d022;_0x547795[_0x477d('0xd68')]={};if(_0x547795[_0x477d('0xbb0')][_0x477d('0x12ae')]){switch(_0x547795[_0x477d('0xbb0')][_0x477d('0x1294')]?_0x547795[_0x477d('0xbb0')][_0x477d('0x1294')][_0x477d('0x449')]():_0x547795[_0x477d('0xbb0')][_0x477d('0x1291')][_0x477d('0x449')]()){case _0x477d('0x9f6'):break;case _0x477d('0x1266'):var _0x4e3901=_0x547795[_0x477d('0xbb0')]['appdata'][_0x477d('0x472')](',');_0x547795[_0x477d('0xbb0')]['key']=_0x4e3901[0x0];_0x547795[_0x477d('0xbb0')][_0x477d('0x1267')]=_0x4e3901[0x1];_0x547795['tag'][_0x477d('0x127a')]=_0x4e3901['slice'](0x2,_0x4e3901[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x127c'):var _0x4e3901=_0x547795[_0x477d('0xbb0')][_0x477d('0x12ae')]['split'](',');_0x547795[_0x477d('0xbb0')][_0x477d('0x127d')]=_0x4e3901[0x0];_0x547795[_0x477d('0xbb0')][_0x477d('0x127e')]=_0x4e3901[0x1];_0x547795[_0x477d('0xbb0')][_0x477d('0x127f')]=_0x4e3901[0x2];_0x547795[_0x477d('0xbb0')][_0x477d('0x1283')]=_0x4e3901[0x3];_0x547795[_0x477d('0xbb0')][_0x477d('0x127a')]=_0x4e3901[_0x477d('0x9cd')](0x4,_0x4e3901[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x1260'):var _0x4e3901=_0x547795['tag']['appdata'][_0x477d('0x472')](',');_0x547795[_0x477d('0xbb0')][_0x477d('0x1261')]=isNaN(_0x4e3901[0x0])?_0x4e3901[0x0]:parseInt(_0x4e3901[0x0],0xa);_0x547795[_0x477d('0xbb0')][_0x477d('0x41b')]=_0x4e3901[_0x477d('0x9cd')](0x1,_0x4e3901[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case'message':_0x547795[_0x477d('0xbb0')][_0x477d('0x41b')]=_0x547795['tag'][_0x477d('0x12ae')];break;case _0x477d('0x12af'):_0x547795[_0x477d('0xbb0')][_0x477d('0x94')]=_0x547795[_0x477d('0xbb0')][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x0];_0x547795[_0x477d('0xbb0')][_0x477d('0x3b6')]=_0x547795[_0x477d('0xbb0')][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x1];break;case'agi':_0x547795[_0x477d('0xbb0')]['project']=_0x547795[_0x477d('0xbb0')]['appdata'];break;default:var _0x2535aa=_0x547795[_0x477d('0xbb0')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x547795[_0x477d('0xbb0')][_0x477d('0xbb0')]=_[_0x477d('0x3b2')](_0x2535aa[0x0])?_0x2535aa[0x0]:isNaN(_0x2535aa[0x0])?_0x2535aa[0x0]:parseInt(_0x2535aa[0x0],0xa);}}else{}if(_0x547795[_0x477d('0xbb0')][_0x477d('0x439')]&&_0x547795[_0x477d('0xbb0')]['type'][_0x477d('0x449')]()===_0x477d('0x127')&&_0x547795[_0x477d('0xbb0')][_0x477d('0x1294')][_0x477d('0x449')]()===_0x477d('0x12b1')){_0x547795[_0x477d('0xbb0')][_0x477d('0x6c0')]=_0x547795[_0x477d('0xbb0')][_0x477d('0xf46')]?_0x547795['tag'][_0x477d('0xf46')]['split']('$')[0x0]:undefined;_0x547795[_0x477d('0xbb0')][_0x477d('0x69b')]=_0x547795[_0x477d('0xbb0')]['callerID']?_0x477d('0x12b3')+_0x547795[_0x477d('0xbb0')][_0x477d('0x12b2')]:undefined;}_0x547795['saveSmsAccountApp']=_0x586f05;_0x547795[_0x477d('0x6bf')]=_0x4b2693;_0x27fe11[_0x477d('0x56')](_0x477d('0x5f'))?_0x206d16[_0x477d('0xbb0')]['get']({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x5e145a){_0x547795[_0x477d('0x1263')]=_0x5e145a[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x4da857){_0x4955ec['error']({'title':_0x4da857['status']?_0x477d('0x44b')+_0x4da857['status']+_0x477d('0x44c')+_0x4da857[_0x477d('0x44d')]:_0x477d('0x12e3'),'msg':_0x4da857[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x4da857[_0x477d('0x451')]):_0x4da857[_0x477d('0x453')]()});}):_0x206d16[_0x477d('0xbb0')][_0x477d('0x376')]({'fields':'id,name','sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x4ec7a7){_0x547795['tags']=_0x4ec7a7[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x206d16[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x547795['currentUser'][_0x477d('0x61')],'sectionId':0x3f0})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x2cb191){var _0x500ca7=_0x2cb191&&_0x2cb191[_0x477d('0xf2')]?_0x2cb191[_0x477d('0xf2')][0x0]:null;if(!_0x500ca7){var _0x2d7572=[];var _0x155e6b=null;if(_0x547795[_0x477d('0xbb0')]){_0x155e6b=_['find'](_0x547795[_0x477d('0x1263')],{'name':_0x547795['tag'][_0x477d('0xbb0')]});}for(var _0x51b416=0x0;_0x51b416<_0x547795[_0x477d('0x1263')][_0x477d('0x79')];_0x51b416++){if(_0x155e6b&&_0x547795['tags'][_0x51b416]['id']===_0x155e6b['id']){_0x547795[_0x477d('0x1263')][_0x51b416][_0x477d('0xf8b')]=![];_0x2d7572[_0x477d('0x3a7')](_0x547795[_0x477d('0x1263')][_0x51b416]);}}_0x547795['tags']=_0x2d7572;}else{if(!_0x500ca7[_0x477d('0x3ad')]){return _0x206d16[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x500ca7['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x196456){var _0x9f13c8=_[_0x477d('0x3cb')](_0x196456[_0x477d('0xf2')],function(_0x28c349){return _[_0x477d('0x10a')](_0x547795[_0x477d('0x1263')],{'id':_0x28c349[_0x477d('0x3af')]});});var _0x29cf68=null;if(_0x547795[_0x477d('0xbb0')]){_0x29cf68=_['find'](_0x547795[_0x477d('0x1263')],{'name':_0x547795[_0x477d('0xbb0')]['tag']});}if(_0x29cf68&&!_[_0x477d('0x3ab')](_0x9f13c8,['id',_0x29cf68['id']])){var _0x36d67a=_[_0x477d('0x10a')](_0x547795[_0x477d('0x1263')],{'id':_0x29cf68['id']});_0x36d67a[_0x477d('0xf8b')]=![];_0x9f13c8[_0x477d('0x3a7')](_0x36d67a);}_0x547795[_0x477d('0x1263')]=_0x9f13c8;});}}})[_0x477d('0xf8')](function(_0x530a5f){_0x4955ec[_0x477d('0x44a')]({'title':_0x530a5f[_0x477d('0x3c3')]?'API:'+_0x530a5f[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x530a5f['statusText']:_0x477d('0x12e4'),'msg':_0x530a5f[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x530a5f[_0x477d('0x451')]):_0x530a5f[_0x477d('0x453')]()});});function _0x586f05(){_0x547795[_0x477d('0xd67')]=[];var _0x2f38fe=[];if(_0x547795['tag']['type']&&_0x547795[_0x477d('0xbb0')]['type'][_0x477d('0x449')]()===_0x477d('0x127')&&_0x547795['tag'][_0x477d('0x1294')]==='outboundDial'){_0x547795[_0x477d('0xbb0')][_0x477d('0xf46')]=_0x398db6[_0x477d('0x12b6')]?(_0x547795[_0x477d('0xbb0')][_0x477d('0x6c0')]||'')+_0x477d('0x12b7')+_0x398db6[_0x477d('0x12b6')]+'}':(_0x547795[_0x477d('0xbb0')][_0x477d('0x6c0')]||'')+'${EXTEN}';if(_0x398db6[_0x477d('0x12b9')]!==_0x477d('0x496')){if(_0x547795[_0x477d('0xbb0')][_0x477d('0x43c')]['indexOf'](_0x477d('0x12ba'))<0x0){_0x547795[_0x477d('0xbb0')][_0x477d('0x43c')]+=_0x477d('0x12ba');}}else{_0x547795[_0x477d('0xbb0')][_0x477d('0x43c')]=_0x547795[_0x477d('0xbb0')][_0x477d('0x43c')][_0x477d('0x409')]('U(xcally-mixmonitor-context)','');}}var _0x58faab=_[_0x477d('0x10a')](_0x547795[_0x477d('0x1263')],{'name':_0x547795[_0x477d('0xbb0')][_0x477d('0xbb0')]});if(_0x58faab){_0x547795[_0x477d('0xbb0')]['TagId']=_0x58faab['id'];}if(_0x547795[_0x477d('0xbb0')][_0x477d('0x1294')]&&_0x547795[_0x477d('0xbb0')][_0x477d('0x1294')]==='custom'){}else{switch((_0x547795[_0x477d('0xbb0')][_0x477d('0x1291')]||_0x547795['tag'][_0x477d('0x1294')])[_0x477d('0x449')]()){case _0x477d('0x12af'):_0x547795['tag'][_0x477d('0x12ae')]=_0x547795['tag'][_0x477d('0x94')]+'='+_0x547795[_0x477d('0xbb0')][_0x477d('0x3b6')];break;case _0x477d('0x9f6'):break;default:_0x2f38fe[0x0]=_0x547795[_0x477d('0xbb0')][_0x477d('0xbb0')];_0x547795[_0x477d('0xbb0')]['appdata']=_0x2f38fe[_0x477d('0x3f6')](',');}}_0x4b2693(_0x547795[_0x477d('0xbb0')]);}function _0x4b2693(_0x523efd){_0x5381f3[_0x477d('0x3bc')](_0x523efd);}}}());(function(){'use strict';_0x2bf4a6[_0x477d('0xa')]=[_0x477d('0x385'),'$scope',_0x477d('0x3c4'),'$q',_0x477d('0x40d'),_0x477d('0x3fe'),_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x40e'),'api',_0x477d('0x55')];angular['module'](_0x477d('0x32'))[_0x477d('0x3ba')](_0x477d('0x205e'),_0x2bf4a6);function _0x2bf4a6(_0x1ff6d3,_0x33e4f2,_0x35a998,_0x338d20,_0x2190d0,_0x31a321,_0x525ab1,_0xd2580a,_0x4b9d98,_0x54a80b,_0x416cbb){var _0x268318=this;_0x268318[_0x477d('0x3e5')]=_0x416cbb[_0x477d('0x5c')]();_0x268318['smsAccount']={};_0x268318[_0x477d('0x205f')]={'count':0x0,'rows':[]};_0x268318[_0x477d('0x2060')]=[];_0x268318['crudPermissions'];_0x268318['query']={'read':'null','closed':_0x477d('0xea'),'sort':_0x477d('0x1343'),'includeAll':_0x477d('0x2ee'),'limit':0xa,'page':0x1};_0x268318['init']=_0x2be61b;_0x268318['deleteConfirm']=_0x312362;_0x268318[_0x477d('0x2061')]=_0x4c4f02;_0x268318[_0x477d('0x485')]=_0x33a23f;_0x268318[_0x477d('0x2062')]=_0x2e934c;_0x268318[_0x477d('0x2063')]=_0x201fe6;_0x268318[_0x477d('0x2064')]=_0xf0c817;_0x268318['openAdvancedSearch']=_0x5091d6;_0x268318['exportSelectedSmsAccountInteractions']=_0x24f107;_0x268318[_0x477d('0x2065')]=_0x189a0e;_0x268318['deleteSelectedSmsAccountInteractions']=_0x12cc73;function _0x2be61b(_0x2bd280,_0x208ad0){_0x268318[_0x477d('0xe45')]=_0x2bd280;_0x268318[_0x477d('0xd66')]=typeof _0x208ad0!=='undefined'?_0x208ad0:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x268318['query'][_0x477d('0x160e')]=_0x268318[_0x477d('0xe45')]['id'];_0x268318[_0x477d('0x3eb')]={'fields':_0x1ac371()};_0x4decd4();}function _0x4decd4(){return _0x54a80b['tag'][_0x477d('0x376')]()[_0x477d('0x38b')]['then'](function(_0x1eccac){_0x268318[_0x477d('0x1263')]=_0x1eccac||{'count':0x0,'rows':[]};})[_0x477d('0x76')](function(){_0x268318[_0x477d('0x1349')]=_0x4ffd2e();});}function _0x4ffd2e(){return[{'name':_0x477d('0x134a'),'key':_0x477d('0xe37'),'type':_0x477d('0x420'),'label':_0x477d('0x134b')},{'name':_0x477d('0x134c'),'key':'read','type':_0x477d('0x462'),'label':_0x477d('0x134e'),'customOptions':[{'value':0x0,'translate':_0x477d('0x167e')},{'value':0x1,'translate':_0x477d('0x134f')},{'value':null,'translate':_0x477d('0x1350')}]},{'name':_0x477d('0x135e'),'key':'closed','type':_0x477d('0x462'),'label':'DASHBOARDS.SELECT_STATUS','customOptions':[{'value':0x0,'translate':'DASHBOARDS.OPENED'},{'value':0x1,'translate':_0x477d('0x1352')},{'value':null,'translate':'DASHBOARDS.ALL'}]},{'name':'Agent','key':_0x477d('0x125b'),'type':_0x477d('0x462'),'label':'DASHBOARDS.SELECT_AGENT','customOptions':[{'value':'null','translate':_0x477d('0x1354')},{'value':undefined,'translate':_0x477d('0x1350')}]},{'name':_0x477d('0x1264'),'key':_0x477d('0xbb0'),'type':'multiselect','label':_0x477d('0x1355'),'options':_0x268318['tags']['rows'],'placeholder':_0x477d('0x1356')}];}function _0x1ac371(){return[{'name':'Id','column':'id','type':_0x477d('0x421')},{'name':_0x477d('0x1370'),'column':_0x477d('0x1370'),'type':'autocomplete','options':{'searchFields':['firstName',_0x477d('0x1358'),_0x477d('0x1359')],'route':{'model':_0x477d('0xb6c'),'action':_0x477d('0x376'),'params':{'fields':_0x477d('0x1677'),'Contact':_0x477d('0x444'),'nolimit':!![]}},'extraOperators':['$substring'],'excludedOperators':[_0x477d('0x414')]}},{'name':_0x477d('0x135b'),'column':_0x477d('0x135c'),'type':_0x477d('0x41b'),'options':{'excludedOperators':[_0x477d('0x412'),_0x477d('0x414')]}},{'name':_0x477d('0x135d'),'column':_0x477d('0x1953'),'type':_0x477d('0x41b'),'options':{'excludedOperators':[_0x477d('0x412'),_0x477d('0x414')]}},{'name':_0x477d('0x135e'),'column':_0x477d('0x1351'),'type':_0x477d('0x462'),'values':[{'id':0x0,'translate':_0x477d('0x135f')},{'id':0x1,'translate':'DASHBOARDS.CLOSED'}],'options':{'excludedOperators':[_0x477d('0x414')]}},{'name':_0x477d('0x125d'),'column':'User','type':'autocomplete','options':{'table':'i','route':{'model':_0x477d('0x380'),'action':_0x477d('0x376'),'params':{'role':_0x477d('0xcf'),'fields':'id,name,fullname','nolimit':!![]}},'searchFields':[_0x477d('0xcd'),_0x477d('0x94')],'extraOperators':['$substring'],'excludedOperators':[_0x477d('0x414')]}},{'name':'Tags','column':_0x477d('0x1264'),'type':_0x477d('0x413'),'options':{'route':{'model':_0x477d('0xbb0'),'action':'get','params':{'nolimit':!![]}},'excludedOperators':[_0x477d('0x3f5')]}},{'name':_0x477d('0x134a'),'column':'createdAt','type':_0x477d('0x420'),'options':{'excludedOperators':[_0x477d('0x414')]}},{'name':_0x477d('0x1361'),'column':_0x477d('0x167d'),'type':_0x477d('0x462'),'values':[{'id':0x1,'translate':_0x477d('0x134f')},{'id':0x0,'translate':'DASHBOARDS.UNREAD'}],'options':{'excludedOperators':['$ne']}}];}function _0x5091d6(){_0x525ab1['show']({'controller':'AdvancedSearchController','controllerAs':'vm','templateUrl':_0x477d('0x1362'),'parent':angular['element'](_0xd2580a[_0x477d('0x399')]),'clickOutsideToClose':![],'locals':{'fields':_0x268318[_0x477d('0x3eb')][_0x477d('0x458')],'color':undefined,'storagePath':_0x477d('0x2066')},'fullscreen':!![]})[_0x477d('0x76')](function(_0x4a5f35){_0x268318[_0x477d('0x3ef')][_0x477d('0x3fd')]=_0x4a5f35===![]?undefined:_0x4a5f35;if(_0x268318[_0x477d('0x3ef')][_0x477d('0x3fd')]){_0x2e934c();}else if(_0x4a5f35===![]){_0x2e934c();}})[_0x477d('0xf8')](function(_0x5b9ce4){_0x4b9d98[_0x477d('0x44a')]({'title':_0x477d('0x16a5'),'msg':_0x5b9ce4[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x5b9ce4[_0x477d('0x451')][_0x477d('0x452')]):_0x5b9ce4['toString']()});});}function _0x4c4f02(_0xdeef1c,_0x5ea691,_0x4928e3){return _0x54a80b[_0x477d('0xe46')][_0x477d('0x49d')]({'id':_0xdeef1c['id'],'exists':!![],'attachments':_0x4928e3})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x182264){var _0x26faa5=[_0x182264[_0x477d('0x49e')]];var _0x35a985=_0x477d('0x1364')+_0xdeef1c['id'];var _0x1b0ccc=new Blob(_0x26faa5,{'type':_0x182264[_0x477d('0x439')]});_0x35a985=_0x477d('0x17c2')+_0xdeef1c['id']+_0x477d('0x1366');var _0x56b1b8=window[_0x477d('0x945')][_0x477d('0x3c7')]('a');_0x56b1b8[_0x477d('0x494')](_0x477d('0x3c8'),URL[_0x477d('0x49f')](_0x1b0ccc));_0x56b1b8[_0x477d('0x494')](_0x477d('0x49d'),_0x35a985);document[_0x477d('0x399')][_0x477d('0xd8f')](_0x56b1b8);_0x56b1b8[_0x477d('0x540')]();})[_0x477d('0xf8')](function(_0x177b35){if(_0x177b35[_0x477d('0x451')]&&_0x177b35[_0x477d('0x451')][_0x477d('0xd67')]&&_0x177b35[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){for(var _0x5c915a=0x0;_0x5c915a<_0x177b35['data']['errors'][_0x477d('0x79')];_0x5c915a+=0x1){_0x4b9d98[_0x477d('0x44a')]({'title':_0x177b35['data']['errors'][_0x5c915a][_0x477d('0x439')],'msg':_0x177b35[_0x477d('0x451')]['errors'][_0x5c915a][_0x477d('0x452')]});}}else{_0x4b9d98['error']({'title':_0x177b35[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x177b35[_0x477d('0x3c3')]+'\x20-\x20'+_0x177b35[_0x477d('0x44d')]:_0x477d('0x2043'),'msg':_0x177b35['data']?JSON[_0x477d('0x3fb')](_0x177b35['data'][_0x477d('0x452')]):_0x177b35[_0x477d('0x453')]()});}});}function _0x312362(_0x34ab10,_0x276267){var _0x6854df=_0x525ab1[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x2067'))[_0x477d('0xd92')](_0x477d('0xd93')+(_0x34ab10[_0x477d('0x94')]||_0x34ab10['id']&&_['upperFirst']('interaction\x20#')+_0x34ab10['id']||'interaction')+_0x477d('0xd94')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x1369'))[_0x477d('0xd7c')](_0x276267)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x525ab1[_0x477d('0x395')](_0x6854df)[_0x477d('0x76')](function(){_0x189a0e(_0x34ab10);},function(){console[_0x477d('0x7b')](_0x477d('0xd97'));});}function _0x33a23f(_0x485c48){_0x268318['smsAccountInteractions']=_0x485c48||{'count':0x0,'rows':[]};for(var _0x27da9b=0x0;_0x27da9b<_0x268318[_0x477d('0x205f')]['rows'][_0x477d('0x79')];_0x27da9b+=0x1){var _0x1284be=_0x268318[_0x477d('0x205f')][_0x477d('0xf2')][_0x27da9b];_0x2c0a0d(_0x1284be);_0x1284be['Owner']['name']=_0x427dba(_0x1284be);}}function _0x2e934c(){_0x268318[_0x477d('0x3ef')][_0x477d('0x91c')]=(_0x268318[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x268318[_0x477d('0x3ef')][_0x477d('0x91d')];_0x268318[_0x477d('0x553')]=_0x54a80b[_0x477d('0xe46')][_0x477d('0x376')](_0x268318['query'],_0x33a23f)['$promise'];}function _0x201fe6(_0x232d10,_0x16b752){_0x525ab1[_0x477d('0x395')]({'controller':_0x477d('0x136a'),'controllerAs':'vm','templateUrl':_0x477d('0x2068'),'parent':angular[_0x477d('0x398')](_0xd2580a[_0x477d('0x399')]),'targetEvent':_0x232d10,'clickOutsideToClose':!![],'locals':{'smsAccount':_0x268318[_0x477d('0xe45')],'interaction':_0x16b752,'interactions':_0x268318[_0x477d('0x205f')]['rows'],'license':null,'setting':null,'crudPermissions':_0x268318['crudPermissions']}});}function _0xf0c817(_0x513e10,_0x24d737){_0x525ab1['show']({'controller':_0x477d('0x136c'),'controllerAs':'vm','templateUrl':'app/main/apps/dashboards/views/general/agent/interaction/agent.general.interaction.dialog.html','parent':angular['element'](_0xd2580a[_0x477d('0x399')]),'targetEvent':_0x513e10,'clickOutsideToClose':!![],'onShowing':function(_0x52a6b3,_0x14b21e){_0x52a6b3['vm']['init']({'id':0x1,'channel':_0x477d('0x26e'),'interaction':_0x24d737,'spy':!![]},_0x33e4f2[_0x477d('0x723')]['vm'][_0x477d('0xc8e')]);}});}function _0x189a0e(_0x39ad6c){_0x54a80b[_0x477d('0xe46')][_0x477d('0xa55')]({'id':_0x39ad6c['id']})[_0x477d('0x38b')]['then'](function(){_['remove'](_0x268318[_0x477d('0x205f')][_0x477d('0xf2')],{'id':_0x39ad6c['id']});_0x268318['smsAccountInteractions']['count']-=0x1;if(!_0x268318['smsAccountInteractions'][_0x477d('0xf2')]['length']){_0x2e934c();}_0x4b9d98[_0x477d('0x485')]({'title':_0x477d('0x136d'),'msg':_0x39ad6c[_0x477d('0x94')]?_0x39ad6c['name']+_0x477d('0xd7e'):''});})[_0x477d('0xf8')](function(_0xc41bff){if(_0xc41bff[_0x477d('0x451')]&&_0xc41bff[_0x477d('0x451')][_0x477d('0xd67')]&&_0xc41bff[_0x477d('0x451')]['errors'][_0x477d('0x79')]){vm[_0x477d('0xd67')]=_0xc41bff[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0xc41bff['toString'](),'type':_0x477d('0x2069')}];for(var _0x50c3b5=0x0;_0x50c3b5<_0xc41bff['data'][_0x477d('0xd67')][_0x477d('0x79')];_0x50c3b5++){_0x4b9d98[_0x477d('0x44a')]({'title':_0xc41bff[_0x477d('0x451')][_0x477d('0xd67')][_0x50c3b5][_0x477d('0x439')],'msg':_0xc41bff[_0x477d('0x451')][_0x477d('0xd67')][_0x50c3b5][_0x477d('0x452')]});}}else{_0x4b9d98[_0x477d('0x44a')]({'title':_0xc41bff[_0x477d('0x3c3')]?_0x477d('0x44b')+_0xc41bff['status']+_0x477d('0x44c')+_0xc41bff[_0x477d('0x44d')]:_0x477d('0x2069'),'msg':_0xc41bff[_0x477d('0x451')]?JSON['stringify'](_0xc41bff[_0x477d('0x451')][_0x477d('0x452')]):_0xc41bff['message']||_0xc41bff['toString']()});}});}function _0x24f107(){var _0x58cd2f=angular[_0x477d('0x6d9')](_0x268318[_0x477d('0x2060')]);_0x268318[_0x477d('0x2060')]=[];return _0x58cd2f;}function _0x12cc73(_0x480904){var _0x583310=_0x525ab1[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x136e'))['htmlContent'](_0x477d('0xd93')+_0x268318['selectedSmsAccountInteractions'][_0x477d('0x79')]+_0x477d('0xda0')+'\x20will\x20be\x20deleted.')[_0x477d('0x687')]('delete\x20interactions')[_0x477d('0xd7c')](_0x480904)['ok']('OK')['cancel'](_0x477d('0xd97'));_0x525ab1['show'](_0x583310)[_0x477d('0x76')](function(){_0x268318['selectedSmsAccountInteractions'][_0x477d('0x3b1')](function(_0x1cfd79){_0x189a0e(_0x1cfd79);});_0x268318[_0x477d('0x2060')]=[];});}function _0x2c0a0d(_0x20360e){if(_0x20360e[_0x477d('0x1370')]){_0x20360e[_0x477d('0x1371')]=(_0x20360e['Contact'][_0x477d('0x1357')]||'')+'\x20'+(_0x20360e[_0x477d('0x1370')][_0x477d('0x1358')]||'');_0x20360e[_0x477d('0x1773')]=_0x20360e['Contact'][_0x477d('0x991')];}else{_0x20360e[_0x477d('0x1371')]=_0x2190d0[_0x477d('0x45f')]('DASHBOARDS.UNKNOWN');}}function _0x427dba(_0x5a3cb2){if(_0x5a3cb2[_0x477d('0x125b')]){if(_0x5a3cb2[_0x477d('0x125b')]===_0x268318[_0x477d('0x3e5')]['id']){return _0x2190d0[_0x477d('0x45f')](_0x477d('0x1373'));}else{return _0x5a3cb2[_0x477d('0x1374')][_0x477d('0xcd')]+'\x20<'+_0x5a3cb2[_0x477d('0x1374')][_0x477d('0x324')]+'>';}}return _0x2190d0[_0x477d('0x45f')]('DASHBOARDS.NOT_ASSIGNED');}var _0x85dd8d=!![];var _0x48992f=0x1;_0x33e4f2['$watch'](_0x477d('0x12f3'),function(_0x4a53bb,_0x57c7ba){if(_0x85dd8d){_0x31a321(function(){_0x85dd8d=![];});}else{if(!_0x57c7ba){_0x48992f=_0x268318['query'][_0x477d('0xe03')];}if(_0x4a53bb!==_0x57c7ba){_0x268318[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0x4a53bb){_0x268318[_0x477d('0x3ef')]['page']=_0x48992f;}_0x2e934c();}});}}());(function(){'use strict';_0x3dd1ab[_0x477d('0xa')]=[_0x477d('0x385'),'$scope','$state','$q','$translate',_0x477d('0x3fe'),_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x40e'),_0x477d('0x386'),'Auth'];angular[_0x477d('0xb')](_0x477d('0x32'))[_0x477d('0x3ba')]('SmsAccountSmsCannedAnswersController',_0x3dd1ab);function _0x3dd1ab(_0x4f9023,_0x2f877c,_0x526bcf,_0xf66cdf,_0x1f1d5c,_0x1fdc75,_0x1273a9,_0x4d96af,_0x2bfd76,_0x4f23aa,_0x3d7bfe){var _0x28b24a=this;_0x28b24a[_0x477d('0x3e5')]=_0x3d7bfe[_0x477d('0x5c')]();_0x28b24a[_0x477d('0xe45')]={};_0x28b24a[_0x477d('0x206a')]={'count':0x0,'rows':[]};_0x28b24a[_0x477d('0x206b')]=[];_0x28b24a[_0x477d('0xd66')];_0x28b24a[_0x477d('0x3ef')]={'fields':'createdAt,updatedAt,id,key,value,description','limit':0xa,'page':0x1};_0x28b24a['init']=_0x1caf83;_0x28b24a[_0x477d('0xe66')]=_0x5f5c03;_0x28b24a['success']=_0xcf9092;_0x28b24a['getSmsAccountSmsCannedAnswers']=_0x4fda89;_0x28b24a[_0x477d('0x206c')]=_0x2e4546;_0x28b24a['exportSelectedSmsAccountSmsCannedAnswers']=_0x184a37;_0x28b24a[_0x477d('0x206d')]=_0x4af95c;_0x28b24a[_0x477d('0x206e')]=_0x46deb2;function _0x1caf83(_0x187458,_0x191d00){_0x28b24a['smsAccount']=_0x187458;_0x28b24a[_0x477d('0xd66')]=typeof _0x191d00!==_0x477d('0x4a4')?_0x191d00:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x28b24a[_0x477d('0x3ef')][_0x477d('0x160e')]=_0x28b24a[_0x477d('0xe45')]['id'];_0x28b24a[_0x477d('0x3ef')]['id']=_0x28b24a[_0x477d('0xe45')]['id'];_0x4fda89();}function _0x5f5c03(_0x114398,_0xee50d0){var _0x50ded4=_0x1273a9[_0x477d('0xd78')]()['title'](_0x477d('0x206f'))[_0x477d('0xd92')](''+(_0x114398[_0x477d('0x94')]||_0x114398['id']&&_['upperFirst']('smsCannedAnswer\x20#')+_0x114398['id']||_0x477d('0x2070'))+_0x477d('0xd94')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x2071'))[_0x477d('0xd7c')](_0xee50d0)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x1273a9[_0x477d('0x395')](_0x50ded4)['then'](function(){_0x4af95c(_0x114398);},function(){console[_0x477d('0x7b')]('CANCEL');});}function _0xcf9092(_0x30bedf){_0x28b24a['smsAccountSmsCannedAnswers']=_0x30bedf||{'count':0x0,'rows':[]};}function _0x4fda89(){_0x28b24a['query'][_0x477d('0x91c')]=(_0x28b24a[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x28b24a[_0x477d('0x3ef')][_0x477d('0x91d')];_0x28b24a[_0x477d('0x553')]=_0x4f23aa[_0x477d('0xe45')][_0x477d('0x12ed')](_0x28b24a[_0x477d('0x3ef')],_0xcf9092)[_0x477d('0x38b')];}function _0x2e4546(_0xa824b3,_0x435a99){_0x1273a9['show']({'controller':_0x477d('0x2072'),'controllerAs':'vm','templateUrl':_0x477d('0x2073'),'parent':angular[_0x477d('0x398')](_0x4d96af[_0x477d('0x399')]),'targetEvent':_0xa824b3,'clickOutsideToClose':!![],'locals':{'smsAccount':_0x28b24a[_0x477d('0xe45')],'smsCannedAnswer':_0x435a99,'smsCannedAnswers':_0x28b24a[_0x477d('0x206a')][_0x477d('0xf2')],'license':null,'setting':null,'crudPermissions':_0x28b24a[_0x477d('0xd66')]}});}function _0x4af95c(_0x5f95db){_0x4f23aa[_0x477d('0xb91')][_0x477d('0xa55')]({'id':_0x5f95db['id']})[_0x477d('0x38b')]['then'](function(){_[_0x477d('0x39c')](_0x28b24a[_0x477d('0x206a')][_0x477d('0xf2')],{'id':_0x5f95db['id']});_0x28b24a[_0x477d('0x206a')][_0x477d('0x3bb')]-=0x1;if(!_0x28b24a['smsAccountSmsCannedAnswers'][_0x477d('0xf2')][_0x477d('0x79')]){_0x4fda89();}_0x2bfd76['success']({'title':'SmsCannedAnswer\x20deleted!','msg':_0x5f95db[_0x477d('0x94')]?_0x5f95db[_0x477d('0x94')]+_0x477d('0xd7e'):''});})[_0x477d('0xf8')](function(_0x530b09){if(_0x530b09[_0x477d('0x451')]&&_0x530b09[_0x477d('0x451')][_0x477d('0xd67')]&&_0x530b09[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){vm['errors']=_0x530b09[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x530b09['toString'](),'type':'SYSTEM:GETsmsAccount'}];for(var _0x128f39=0x0;_0x128f39<_0x530b09['data'][_0x477d('0xd67')]['length'];_0x128f39++){_0x2bfd76[_0x477d('0x44a')]({'title':_0x530b09[_0x477d('0x451')][_0x477d('0xd67')][_0x128f39][_0x477d('0x439')],'msg':_0x530b09[_0x477d('0x451')]['errors'][_0x128f39]['message']});}}else{_0x2bfd76[_0x477d('0x44a')]({'title':_0x530b09['status']?_0x477d('0x44b')+_0x530b09[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x530b09[_0x477d('0x44d')]:_0x477d('0x2069'),'msg':_0x530b09['data']?JSON[_0x477d('0x3fb')](_0x530b09[_0x477d('0x451')][_0x477d('0x452')]):_0x530b09[_0x477d('0x452')]||_0x530b09[_0x477d('0x453')]()});}});}function _0x184a37(){var _0x495521=angular['copy'](_0x28b24a[_0x477d('0x206b')]);_0x28b24a['selectedSmsAccountSmsCannedAnswers']=[];return _0x495521;}function _0x46deb2(_0x7ec7ea){var _0x49c1a3=_0x1273a9['confirm']()[_0x477d('0x49a')](_0x477d('0x2074'))['htmlContent'](_0x477d('0xd93')+_0x28b24a[_0x477d('0x206b')][_0x477d('0x79')]+_0x477d('0xda0')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x2075'))[_0x477d('0xd7c')](_0x7ec7ea)['ok']('OK')['cancel'](_0x477d('0xd97'));_0x1273a9['show'](_0x49c1a3)[_0x477d('0x76')](function(){_0x28b24a['selectedSmsAccountSmsCannedAnswers'][_0x477d('0x3b1')](function(_0x2abb12){_0x4af95c(_0x2abb12);});_0x28b24a['selectedSmsAccountSmsCannedAnswers']=[];});}var _0x559e61=!![];var _0x5d8a7c=0x1;_0x2f877c['$watch']('vm_dc.query.filter',function(_0x1901c7,_0x27bcd7){if(_0x559e61){_0x1fdc75(function(){_0x559e61=![];});}else{if(!_0x27bcd7){_0x5d8a7c=_0x28b24a[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x1901c7!==_0x27bcd7){_0x28b24a[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0x1901c7){_0x28b24a['query'][_0x477d('0xe03')]=_0x5d8a7c;}_0x4fda89();}});}}());(function(){'use strict';_0x579036[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x3c4'),'$location',_0x477d('0x384'),'$q',_0x477d('0x40d'),_0x477d('0x40e'),'smsCannedAnswers',_0x477d('0x2070'),_0x477d('0x386'),_0x477d('0x55'),_0x477d('0x613'),_0x477d('0xc8e'),_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x32'))[_0x477d('0x3ba')](_0x477d('0x2072'),_0x579036);function _0x579036(_0x1af0b3,_0xdcb6fa,_0x257d16,_0x51e03c,_0x3e48a3,_0x3c8a20,_0x591305,_0x207790,_0x51fd08,_0x22f6c3,_0x54f751,_0xb31d46,_0x93a722,_0x5b41af){var _0x14ac5a=this;_0x14ac5a[_0x477d('0x3e5')]=_0x54f751[_0x477d('0x5c')]();_0x14ac5a[_0x477d('0xd67')]=[];_0x14ac5a[_0x477d('0xc8e')]=_0x93a722;_0x14ac5a['license']=_0xb31d46;_0x14ac5a[_0x477d('0xd66')]=_0x5b41af;_0x14ac5a[_0x477d('0xd68')]={};_0x14ac5a['passwordPattern']=_0x14ac5a[_0x477d('0xc8e')]&&_0x14ac5a[_0x477d('0xc8e')][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x14ac5a[_0x477d('0x49a')]=_0x477d('0x2076');_0x14ac5a['smsCannedAnswer']=angular[_0x477d('0x6d9')](_0x51fd08);_0x14ac5a[_0x477d('0x2077')]=_0x207790;_0x14ac5a['newSmsCannedAnswer']=![];if(!_0x14ac5a['smsCannedAnswer']){_0x14ac5a['smsCannedAnswer']={};_0x14ac5a[_0x477d('0x49a')]=_0x477d('0x2078');_0x14ac5a[_0x477d('0x2079')]=!![];}if(_0xdcb6fa['params']['id']){_0x14ac5a[_0x477d('0x2070')][_0x477d('0x160e')]=_0xdcb6fa[_0x477d('0x37e')]['id'];}_0x14ac5a[_0x477d('0x207a')]=_0x203921;_0x14ac5a[_0x477d('0x207b')]=_0x5ee62b;_0x14ac5a[_0x477d('0x207c')]=_0x5a5fed;_0x14ac5a[_0x477d('0xd6f')]=_0x47a865;_0x14ac5a[_0x477d('0x6bf')]=_0x13e365;function _0x203921(){_0x14ac5a[_0x477d('0xd67')]=[];_0x22f6c3[_0x477d('0xb91')][_0x477d('0xd70')](_0x14ac5a[_0x477d('0x2070')])['$promise'][_0x477d('0x76')](function(_0x5d1211){_0x14ac5a['smsCannedAnswers']['unshift'](_0x5d1211['toJSON']());_0x591305[_0x477d('0x485')]({'title':_0x477d('0x207d'),'msg':_0x14ac5a[_0x477d('0x2070')]['name']?_0x14ac5a['smsCannedAnswer'][_0x477d('0x94')]+_0x477d('0xd73'):''});_0x13e365(_0x5d1211);})[_0x477d('0xf8')](function(_0x4ac682){if(_0x4ac682[_0x477d('0x451')]&&_0x4ac682[_0x477d('0x451')][_0x477d('0xd67')]&&_0x4ac682[_0x477d('0x451')]['errors'][_0x477d('0x79')]){_0x14ac5a[_0x477d('0xd67')]=_0x4ac682[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x4ac682[_0x477d('0x453')](),'type':'api.cannedAnswer.save'}];for(var _0x42ea1f=0x0;_0x42ea1f<_0x4ac682[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x42ea1f+=0x1){_0x591305['error']({'title':_0x4ac682[_0x477d('0x451')]['errors'][_0x42ea1f]['type'],'msg':_0x4ac682[_0x477d('0x451')][_0x477d('0xd67')][_0x42ea1f][_0x477d('0x452')]});}}else{_0x591305[_0x477d('0x44a')]({'title':_0x4ac682[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x4ac682['status']+_0x477d('0x44c')+_0x4ac682['statusText']:'api.cannedAnswer.save','msg':_0x4ac682[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x4ac682['data'][_0x477d('0x452')]):_0x4ac682[_0x477d('0x453')]()});}});}function _0x5ee62b(){_0x14ac5a[_0x477d('0xd67')]=[];_0x22f6c3[_0x477d('0xb91')][_0x477d('0x710')]({'id':_0x14ac5a['smsCannedAnswer']['id']},_0x14ac5a[_0x477d('0x2070')])['$promise'][_0x477d('0x76')](function(_0x37e720){var _0x408190=_[_0x477d('0x10a')](_0x14ac5a[_0x477d('0x2077')],{'id':_0x37e720['id']});if(_0x408190){_['merge'](_0x408190,_[_0x477d('0x10b')](_0x37e720[_0x477d('0xd71')](),_[_0x477d('0x7f')](_0x408190)));}_0x591305[_0x477d('0x485')]({'title':_0x477d('0x207e'),'msg':_0x14ac5a['smsCannedAnswer'][_0x477d('0x94')]?_0x14ac5a[_0x477d('0x2070')][_0x477d('0x94')]+'\x20has\x20been\x20saved!':''});_0x13e365(_0x37e720);})[_0x477d('0xf8')](function(_0x61235d){if(_0x61235d['data']&&_0x61235d[_0x477d('0x451')][_0x477d('0xd67')]&&_0x61235d[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x14ac5a['errors']=_0x61235d[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x61235d['toString'](),'type':_0x477d('0x12fe')}];for(var _0x25fc89=0x0;_0x25fc89<_0x61235d[_0x477d('0x451')][_0x477d('0xd67')]['length'];_0x25fc89++){_0x591305[_0x477d('0x44a')]({'title':_0x61235d[_0x477d('0x451')][_0x477d('0xd67')][_0x25fc89][_0x477d('0x439')],'msg':_0x61235d[_0x477d('0x451')][_0x477d('0xd67')][_0x25fc89][_0x477d('0x452')]});}}else{_0x591305[_0x477d('0x44a')]({'title':_0x61235d['status']?'API:'+_0x61235d['status']+_0x477d('0x44c')+_0x61235d[_0x477d('0x44d')]:_0x477d('0x12fe'),'msg':_0x61235d[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x61235d['data'][_0x477d('0x452')]):_0x61235d[_0x477d('0x453')]()});}});}function _0x5a5fed(_0x1b5681){_0x14ac5a[_0x477d('0xd67')]=[];var _0x217f84=_0x51e03c[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xd79'))[_0x477d('0xdaf')](_0x477d('0x207f'))[_0x477d('0x687')]('Delete\x20SmsCannedAnswer')['ok']('Delete')['cancel'](_0x477d('0x688'))[_0x477d('0xd7c')](_0x1b5681);_0x51e03c['show'](_0x217f84)['then'](function(){_0x22f6c3[_0x477d('0xb91')][_0x477d('0xa55')]({'id':_0x14ac5a[_0x477d('0x2070')]['id']})['$promise'][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x14ac5a[_0x477d('0x2077')],{'id':_0x14ac5a[_0x477d('0x2070')]['id']});_0x591305[_0x477d('0x485')]({'title':_0x477d('0x2080'),'msg':(_0x14ac5a[_0x477d('0x2070')][_0x477d('0x94')]||_0x477d('0x2070'))+_0x477d('0xd7e')});_0x13e365(_0x14ac5a['smsCannedAnswer']);})[_0x477d('0xf8')](function(_0x2e6df5){if(_0x2e6df5[_0x477d('0x451')]&&_0x2e6df5['data'][_0x477d('0xd67')]&&_0x2e6df5[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x14ac5a[_0x477d('0xd67')]=_0x2e6df5[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x2e6df5['toString'](),'type':'api.cannedAnswer.delete'}];for(var _0x4d91a4=0x0;_0x4d91a4<_0x2e6df5[_0x477d('0x451')][_0x477d('0xd67')]['length'];_0x4d91a4++){_0x591305[_0x477d('0x44a')]({'title':_0x2e6df5[_0x477d('0x451')][_0x477d('0xd67')][_0x4d91a4][_0x477d('0x439')],'msg':_0x2e6df5[_0x477d('0x451')]['errors'][_0x4d91a4][_0x477d('0x452')]});}}else{_0x591305[_0x477d('0x44a')]({'title':_0x2e6df5[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x2e6df5[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x2e6df5[_0x477d('0x44d')]:_0x477d('0x1300'),'msg':_0x2e6df5['data']?JSON[_0x477d('0x3fb')](_0x2e6df5[_0x477d('0x451')]['message']):_0x2e6df5[_0x477d('0x452')]||_0x2e6df5[_0x477d('0x453')]()});}});},function(){});}function _0x47a865(_0x1e0e7e){return _0x1e0e7e===null?undefined:new Date(_0x1e0e7e);}function _0x13e365(_0x3dc196){_0x51e03c[_0x477d('0x3bc')](_0x3dc196);}}}());(function(){'use strict';_0x3f45cc[_0x477d('0xa')]=['$cookies',_0x477d('0x474'),_0x477d('0x3c4'),'$q',_0x477d('0x40d'),'$timeout','$mdDialog',_0x477d('0x475'),_0x477d('0x40e'),_0x477d('0x386'),_0x477d('0x55')];angular[_0x477d('0xb')](_0x477d('0x32'))[_0x477d('0x3ba')](_0x477d('0x2081'),_0x3f45cc);function _0x3f45cc(_0x2d3b2f,_0xcaed79,_0x563304,_0x4e064c,_0x125211,_0x1e1a4a,_0x4d2654,_0x185e80,_0x322a14,_0x5c8cf4,_0x57590c){var _0x203ab8=this;_0x203ab8[_0x477d('0x3e5')]=_0x57590c[_0x477d('0x5c')]();_0x203ab8[_0x477d('0xe45')]={};_0x203ab8['smsAccountSmsDispositions']={'count':0x0,'rows':[]};_0x203ab8[_0x477d('0x2082')]=[];_0x203ab8[_0x477d('0xd66')];_0x203ab8[_0x477d('0x3ef')]={'fields':_0x477d('0x2b0'),'limit':0xa,'page':0x1};_0x203ab8[_0x477d('0x5ee')]=_0x98324f;_0x203ab8[_0x477d('0xe66')]=_0x41958a;_0x203ab8[_0x477d('0x485')]=_0x3dd5d2;_0x203ab8[_0x477d('0x2083')]=_0x49c21f;_0x203ab8['createOrEditSmsAccountSmsDisposition']=_0x20177a;_0x203ab8['exportSelectedSmsAccountSmsDispositions']=_0xd22d5d;_0x203ab8[_0x477d('0x2084')]=_0x6e571d;_0x203ab8['deleteSelectedSmsAccountSmsDispositions']=_0x331fae;function _0x98324f(_0x4e12c6,_0x1a459e){_0x203ab8[_0x477d('0xe45')]=_0x4e12c6;_0x203ab8[_0x477d('0xd66')]=typeof _0x1a459e!==_0x477d('0x4a4')?_0x1a459e:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x203ab8[_0x477d('0x3ef')][_0x477d('0x160e')]=_0x203ab8[_0x477d('0xe45')]['id'];_0x203ab8[_0x477d('0x3ef')]['id']=_0x203ab8[_0x477d('0xe45')]['id'];_0x49c21f();}function _0x41958a(_0x56a67,_0x11c824){var _0x2ef64b=_0x4d2654[_0x477d('0xd78')]()['title'](_0x477d('0x2085'))[_0x477d('0xd92')](_0x477d('0xd93')+(_0x56a67[_0x477d('0x94')]||_0x56a67['id']&&_[_0x477d('0x1367')](_0x477d('0x2086'))+_0x56a67['id']||'smsDisposition')+_0x477d('0xd94')+_0x477d('0xd95'))[_0x477d('0x687')]('delete\x20smsDisposition')['targetEvent'](_0x11c824)['ok']('OK')['cancel']('CANCEL');_0x4d2654[_0x477d('0x395')](_0x2ef64b)['then'](function(){_0x6e571d(_0x56a67);},function(){console[_0x477d('0x7b')](_0x477d('0xd97'));});}function _0x3dd5d2(_0x4368d5){_0x203ab8[_0x477d('0x2087')]=_0x4368d5||{'count':0x0,'rows':[]};}function _0x49c21f(){_0x203ab8[_0x477d('0x3ef')][_0x477d('0x91c')]=(_0x203ab8[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x203ab8[_0x477d('0x3ef')][_0x477d('0x91d')];_0x203ab8[_0x477d('0x553')]=_0x5c8cf4[_0x477d('0xe45')]['getDispositions'](_0x203ab8['query'],_0x3dd5d2)['$promise'];}function _0x20177a(_0x3b0c36,_0x5d4370){_0x4d2654[_0x477d('0x395')]({'controller':_0x477d('0x2088'),'controllerAs':'vm','templateUrl':_0x477d('0x2089'),'parent':angular[_0x477d('0x398')](_0x185e80[_0x477d('0x399')]),'targetEvent':_0x3b0c36,'clickOutsideToClose':!![],'locals':{'smsAccount':_0x203ab8['smsAccount'],'smsDisposition':_0x5d4370,'smsDispositions':_0x203ab8[_0x477d('0x2087')]['rows'],'license':null,'setting':null,'crudPermissions':_0x203ab8[_0x477d('0xd66')]}});}function _0x6e571d(_0x50dc95){_0x5c8cf4[_0x477d('0xb95')][_0x477d('0xa55')]({'id':_0x50dc95['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x203ab8['smsAccountSmsDispositions'][_0x477d('0xf2')],{'id':_0x50dc95['id']});_0x203ab8[_0x477d('0x2087')][_0x477d('0x3bb')]-=0x1;if(!_0x203ab8[_0x477d('0x2087')]['rows'][_0x477d('0x79')]){_0x49c21f();}_0x322a14[_0x477d('0x485')]({'title':_0x477d('0x208a'),'msg':_0x50dc95[_0x477d('0x94')]?_0x50dc95[_0x477d('0x94')]+_0x477d('0xd7e'):''});})['catch'](function(_0x3f1a1e){if(_0x3f1a1e[_0x477d('0x451')]&&_0x3f1a1e[_0x477d('0x451')][_0x477d('0xd67')]&&_0x3f1a1e[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){vm[_0x477d('0xd67')]=_0x3f1a1e[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x3f1a1e[_0x477d('0x453')](),'type':_0x477d('0x2069')}];for(var _0x18c9f6=0x0;_0x18c9f6<_0x3f1a1e[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x18c9f6++){_0x322a14[_0x477d('0x44a')]({'title':_0x3f1a1e[_0x477d('0x451')][_0x477d('0xd67')][_0x18c9f6][_0x477d('0x439')],'msg':_0x3f1a1e[_0x477d('0x451')][_0x477d('0xd67')][_0x18c9f6][_0x477d('0x452')]});}}else{_0x322a14[_0x477d('0x44a')]({'title':_0x3f1a1e[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x3f1a1e[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x3f1a1e[_0x477d('0x44d')]:_0x477d('0x2069'),'msg':_0x3f1a1e['data']?JSON[_0x477d('0x3fb')](_0x3f1a1e[_0x477d('0x451')][_0x477d('0x452')]):_0x3f1a1e[_0x477d('0x452')]||_0x3f1a1e[_0x477d('0x453')]()});}});}function _0xd22d5d(){var _0x3dc231=angular[_0x477d('0x6d9')](_0x203ab8['selectedSmsAccountSmsDispositions']);_0x203ab8['selectedSmsAccountSmsDispositions']=[];return _0x3dc231;}function _0x331fae(_0xc5b994){var _0x3ac293=_0x4d2654[_0x477d('0xd78')]()['title'](_0x477d('0x208b'))[_0x477d('0xd92')](_0x477d('0xd93')+_0x203ab8[_0x477d('0x2082')][_0x477d('0x79')]+_0x477d('0xda0')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x208c'))[_0x477d('0xd7c')](_0xc5b994)['ok']('OK')[_0x477d('0x4f0')]('CANCEL');_0x4d2654[_0x477d('0x395')](_0x3ac293)['then'](function(){_0x203ab8[_0x477d('0x2082')]['forEach'](function(_0x446506){_0x6e571d(_0x446506);});_0x203ab8[_0x477d('0x2082')]=[];});}var _0x1e310d=!![];var _0x589fdb=0x1;_0xcaed79[_0x477d('0x4b5')](_0x477d('0x12f3'),function(_0x54af27,_0x413f51){if(_0x1e310d){_0x1e1a4a(function(){_0x1e310d=![];});}else{if(!_0x413f51){_0x589fdb=_0x203ab8['query'][_0x477d('0xe03')];}if(_0x54af27!==_0x413f51){_0x203ab8[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0x54af27){_0x203ab8['query'][_0x477d('0xe03')]=_0x589fdb;}_0x49c21f();}});}}());(function(){'use strict';_0x20a23c[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x3c4'),_0x477d('0xd64'),_0x477d('0x384'),'$q','$translate',_0x477d('0x40e'),_0x477d('0x208d'),_0x477d('0x208e'),_0x477d('0x386'),_0x477d('0x55'),_0x477d('0x613'),_0x477d('0xc8e'),_0x477d('0xd66')];angular['module']('app.sms')[_0x477d('0x3ba')](_0x477d('0x2088'),_0x20a23c);function _0x20a23c(_0x31b9fd,_0x434046,_0x396166,_0xa52036,_0x5b974f,_0x2b8cc3,_0x4ed918,_0x7756db,_0x2005ee,_0x3708ab,_0x51da98,_0x432fc8,_0x2286b5,_0x584a7e){var _0x47cb27=this;_0x47cb27[_0x477d('0x3e5')]=_0x51da98[_0x477d('0x5c')]();_0x47cb27[_0x477d('0xd67')]=[];_0x47cb27['setting']=_0x2286b5;_0x47cb27[_0x477d('0x613')]=_0x432fc8;_0x47cb27[_0x477d('0xd66')]=_0x584a7e;_0x47cb27['hasModulePermissions']={};_0x47cb27[_0x477d('0xd69')]=_0x47cb27[_0x477d('0xc8e')]&&_0x47cb27[_0x477d('0xc8e')]['securePassword']?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x47cb27[_0x477d('0x49a')]=_0x477d('0x208f');_0x47cb27['smsDisposition']=angular[_0x477d('0x6d9')](_0x2005ee);_0x47cb27[_0x477d('0x208d')]=_0x7756db;_0x47cb27[_0x477d('0x2090')]=![];if(!_0x47cb27[_0x477d('0x208e')]){_0x47cb27['smsDisposition']={};_0x47cb27[_0x477d('0x49a')]=_0x477d('0x2091');_0x47cb27[_0x477d('0x2090')]=!![];}if(_0x434046[_0x477d('0x37e')]['id']){_0x47cb27[_0x477d('0x208e')][_0x477d('0x160e')]=_0x434046[_0x477d('0x37e')]['id'];}_0x47cb27['addNewSmsDisposition']=_0x11e6ba;_0x47cb27[_0x477d('0x2092')]=_0x1b6258;_0x47cb27[_0x477d('0x2093')]=_0x1bf80;_0x47cb27[_0x477d('0xd6f')]=_0x20db5a;_0x47cb27[_0x477d('0x6bf')]=_0x44c420;function _0x11e6ba(){_0x47cb27[_0x477d('0xd67')]=[];_0x3708ab['disposition'][_0x477d('0xd70')](_0x47cb27[_0x477d('0x208e')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x31c7bb){_0x47cb27[_0x477d('0x208d')]['unshift'](_0x31c7bb['toJSON']());_0x4ed918[_0x477d('0x485')]({'title':_0x477d('0x2094'),'msg':_0x47cb27['smsDisposition'][_0x477d('0x94')]?_0x47cb27['smsDisposition'][_0x477d('0x94')]+_0x477d('0xd73'):''});_0x44c420(_0x31c7bb);})['catch'](function(_0x2c6ba8){if(_0x2c6ba8[_0x477d('0x451')]&&_0x2c6ba8['data'][_0x477d('0xd67')]&&_0x2c6ba8['data'][_0x477d('0xd67')]['length']){_0x47cb27['errors']=_0x2c6ba8[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x2c6ba8[_0x477d('0x453')](),'type':_0x477d('0x1314')}];for(var _0x291db8=0x0;_0x291db8<_0x2c6ba8[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x291db8+=0x1){_0x4ed918[_0x477d('0x44a')]({'title':_0x2c6ba8[_0x477d('0x451')][_0x477d('0xd67')][_0x291db8][_0x477d('0x439')],'msg':_0x2c6ba8['data'][_0x477d('0xd67')][_0x291db8]['message']});}}else{_0x4ed918[_0x477d('0x44a')]({'title':_0x2c6ba8['status']?_0x477d('0x44b')+_0x2c6ba8[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x2c6ba8[_0x477d('0x44d')]:'api.disposition.save','msg':_0x2c6ba8['data']?JSON[_0x477d('0x3fb')](_0x2c6ba8[_0x477d('0x451')][_0x477d('0x452')]):_0x2c6ba8[_0x477d('0x453')]()});}});}function _0x1b6258(){_0x47cb27[_0x477d('0xd67')]=[];_0x3708ab[_0x477d('0xb95')][_0x477d('0x710')]({'id':_0x47cb27[_0x477d('0x208e')]['id']},_0x47cb27[_0x477d('0x208e')])[_0x477d('0x38b')]['then'](function(_0x45c693){var _0x31441b=_['find'](_0x47cb27[_0x477d('0x208d')],{'id':_0x45c693['id']});if(_0x31441b){_[_0x477d('0xef')](_0x31441b,_[_0x477d('0x10b')](_0x45c693['toJSON'](),_['keys'](_0x31441b)));}_0x4ed918[_0x477d('0x485')]({'title':_0x477d('0x2095'),'msg':_0x47cb27[_0x477d('0x208e')][_0x477d('0x94')]?_0x47cb27[_0x477d('0x208e')][_0x477d('0x94')]+_0x477d('0xd76'):''});_0x44c420(_0x45c693);})[_0x477d('0xf8')](function(_0xdf1f56){if(_0xdf1f56['data']&&_0xdf1f56['data'][_0x477d('0xd67')]&&_0xdf1f56[_0x477d('0x451')][_0x477d('0xd67')]['length']){_0x47cb27[_0x477d('0xd67')]=_0xdf1f56[_0x477d('0x451')]['errors']||[{'message':_0xdf1f56['toString'](),'type':_0x477d('0x1316')}];for(var _0x131dfd=0x0;_0x131dfd<_0xdf1f56[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x131dfd++){_0x4ed918[_0x477d('0x44a')]({'title':_0xdf1f56[_0x477d('0x451')][_0x477d('0xd67')][_0x131dfd][_0x477d('0x439')],'msg':_0xdf1f56[_0x477d('0x451')][_0x477d('0xd67')][_0x131dfd][_0x477d('0x452')]});}}else{_0x4ed918[_0x477d('0x44a')]({'title':_0xdf1f56['status']?_0x477d('0x44b')+_0xdf1f56[_0x477d('0x3c3')]+_0x477d('0x44c')+_0xdf1f56[_0x477d('0x44d')]:'api.disposition.update','msg':_0xdf1f56[_0x477d('0x451')]?JSON['stringify'](_0xdf1f56[_0x477d('0x451')]['message']):_0xdf1f56['toString']()});}});}function _0x1bf80(_0x995a11){_0x47cb27['errors']=[];var _0x5af760=_0xa52036[_0x477d('0xd78')]()['title'](_0x477d('0xd79'))[_0x477d('0xdaf')](_0x477d('0x2096'))[_0x477d('0x687')]('Delete\x20SmsDisposition')['ok'](_0x477d('0xd7b'))[_0x477d('0x4f0')](_0x477d('0x688'))[_0x477d('0xd7c')](_0x995a11);_0xa52036[_0x477d('0x395')](_0x5af760)[_0x477d('0x76')](function(){_0x3708ab[_0x477d('0xb95')][_0x477d('0xa55')]({'id':_0x47cb27[_0x477d('0x208e')]['id']})['$promise'][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x47cb27[_0x477d('0x208d')],{'id':_0x47cb27['smsDisposition']['id']});_0x4ed918[_0x477d('0x485')]({'title':'SmsDisposition\x20properly\x20deleted!','msg':(_0x47cb27[_0x477d('0x208e')][_0x477d('0x94')]||_0x477d('0x208e'))+_0x477d('0xd7e')});_0x44c420(_0x47cb27['smsDisposition']);})[_0x477d('0xf8')](function(_0x5f2d4e){if(_0x5f2d4e['data']&&_0x5f2d4e['data'][_0x477d('0xd67')]&&_0x5f2d4e[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x47cb27['errors']=_0x5f2d4e['data'][_0x477d('0xd67')]||[{'message':_0x5f2d4e[_0x477d('0x453')](),'type':'api.disposition.delete'}];for(var _0x2d3f04=0x0;_0x2d3f04<_0x5f2d4e['data'][_0x477d('0xd67')]['length'];_0x2d3f04++){_0x4ed918[_0x477d('0x44a')]({'title':_0x5f2d4e[_0x477d('0x451')][_0x477d('0xd67')][_0x2d3f04][_0x477d('0x439')],'msg':_0x5f2d4e[_0x477d('0x451')][_0x477d('0xd67')][_0x2d3f04][_0x477d('0x452')]});}}else{_0x4ed918[_0x477d('0x44a')]({'title':_0x5f2d4e[_0x477d('0x3c3')]?'API:'+_0x5f2d4e['status']+_0x477d('0x44c')+_0x5f2d4e[_0x477d('0x44d')]:_0x477d('0x1318'),'msg':_0x5f2d4e[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x5f2d4e[_0x477d('0x451')]['message']):_0x5f2d4e[_0x477d('0x452')]||_0x5f2d4e[_0x477d('0x453')]()});}});},function(){});}function _0x20db5a(_0x2dcaac){return _0x2dcaac===null?undefined:new Date(_0x2dcaac);}function _0x44c420(_0x3cac65){_0xa52036[_0x477d('0x3bc')](_0x3cac65);}}}());(function(){'use strict';_0x32d791['$inject']=[_0x477d('0x3c4'),_0x477d('0xd64'),_0x477d('0x384'),'$document',_0x477d('0x40d'),_0x477d('0x613'),_0x477d('0xc8e'),_0x477d('0x386'),_0x477d('0x40e'),'Auth',_0x477d('0xe45'),_0x477d('0x3ac')];angular[_0x477d('0xb')]('app.sms')[_0x477d('0x3ba')](_0x477d('0x2097'),_0x32d791);function _0x32d791(_0x6ac047,_0x552545,_0x1f96ab,_0x4a3422,_0x258dbe,_0x330712,_0xe553eb,_0x3a5aab,_0x1d83fe,_0x4ea31e,_0x518c92,_0x4ad62a){var _0x405bdb=this;_0x405bdb[_0x477d('0x3e5')]=_0x4ea31e[_0x477d('0x5c')]();_0x405bdb[_0x477d('0x613')]=_0x330712;_0x405bdb[_0x477d('0xc8e')]=_0xe553eb;_0x405bdb[_0x477d('0xd69')]=_0x405bdb['setting'][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x405bdb[_0x477d('0x3cc')]=_0x552545[_0x477d('0x3ce')]()+_0x477d('0x1209')+_0x552545[_0x477d('0x3c9')]();_0x405bdb['smsAccount']=_0x518c92||_0x6ac047[_0x477d('0x37e')][_0x477d('0xe45')]||{};_0x405bdb['userProfileSection']=_0x4ad62a&&_0x4ad62a['count']==0x1?_0x4ad62a[_0x477d('0xf2')][0x0]:null;_0x405bdb['crudPermissions']=_0x4ea31e[_0x477d('0xd81')](_0x405bdb['userProfileSection']?_0x405bdb[_0x477d('0x3ac')]['crudPermissions']:null);_0x405bdb['hasModulePermissions']={};_0x405bdb[_0x477d('0xe95')]=_0x6ac047[_0x477d('0x37e')][_0x477d('0xe96')]||0x0;_0x405bdb['agentadddialog']=_0x182a3e;_0x405bdb[_0x477d('0x120a')]=_0x1d83fe[_0x477d('0x669')];_0x405bdb[_0x477d('0x2098')]=_0x52ec7a;_0x405bdb[_0x477d('0x2040')]=_0x4e688f;_0x4ea31e[_0x477d('0x56')]('admin')?_0x3a5aab[_0x477d('0xe3f')]['get']({'fields':'id,name','sort':'name'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0xd4b1ea){_0x405bdb[_0x477d('0xf1')]=_0xd4b1ea[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x33fc42){_0x1d83fe[_0x477d('0x44a')]({'title':_0x33fc42[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x33fc42[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x33fc42['statusText']:_0x477d('0x1228'),'msg':_0x33fc42[_0x477d('0x451')]?JSON['stringify'](_0x33fc42[_0x477d('0x451')]):_0x33fc42[_0x477d('0x453')]()});}):_0x3a5aab['cmList'][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94')})['$promise'][_0x477d('0x76')](function(_0x337c1e){_0x405bdb[_0x477d('0xf1')]=_0x337c1e['rows']||[];})[_0x477d('0x76')](function(){return _0x3a5aab['userProfileSection']['get']({'userProfileId':_0x405bdb[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x12d})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x231bc0){var _0x31343a=_0x231bc0&&_0x231bc0['rows']?_0x231bc0[_0x477d('0xf2')][0x0]:null;if(!_0x31343a){var _0x477f18=[];var _0x17ca61=null;if(_0x405bdb[_0x477d('0xe45')]){_0x17ca61=_['find'](_0x405bdb['lists'],{'id':Number(_0x405bdb[_0x477d('0xe45')][_0x477d('0x1229')])});}for(var _0x2022c1=0x0;_0x2022c1<_0x405bdb[_0x477d('0xf1')][_0x477d('0x79')];_0x2022c1++){if(_0x17ca61&&_0x405bdb[_0x477d('0xf1')][_0x2022c1]['id']===_0x17ca61['id']){_0x405bdb['lists'][_0x2022c1][_0x477d('0xf8b')]=![];_0x477f18[_0x477d('0x3a7')](_0x405bdb[_0x477d('0xf1')][_0x2022c1]);}}_0x405bdb[_0x477d('0xf1')]=_0x477f18;}else{if(!_0x31343a[_0x477d('0x3ad')]){return _0x3a5aab[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x31343a['id']})[_0x477d('0x38b')]['then'](function(_0x270045){var _0x1d8768=_[_0x477d('0x3cb')](_0x270045[_0x477d('0xf2')],function(_0x5557fa){return _[_0x477d('0x10a')](_0x405bdb[_0x477d('0xf1')],{'id':_0x5557fa[_0x477d('0x3af')]});});var _0x2f2372=null;if(_0x405bdb['smsAccount']){_0x2f2372=_['find'](_0x405bdb[_0x477d('0xf1')],{'id':Number(_0x405bdb[_0x477d('0xe45')][_0x477d('0x1229')])});}if(_0x2f2372&&!_[_0x477d('0x3ab')](_0x1d8768,['id',_0x2f2372['id']])){var _0x3b5d71=_[_0x477d('0x10a')](_0x405bdb[_0x477d('0xf1')],{'id':_0x2f2372['id']});_0x3b5d71['canSelect']=![];_0x1d8768[_0x477d('0x3a7')](_0x3b5d71);}_0x405bdb[_0x477d('0xf1')]=_0x1d8768;});}}})['catch'](function(_0x1259e9){_0x1d83fe[_0x477d('0x44a')]({'title':_0x1259e9[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x1259e9['status']+_0x477d('0x44c')+_0x1259e9['statusText']:'SYSTEM:GETlists','msg':_0x1259e9[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x1259e9['data']):_0x1259e9['toString']()});});_0x4ea31e['hasRole'](_0x477d('0x5f'))?_0x3a5aab['pause'][_0x477d('0x376')]({'fields':_0x477d('0x13b2'),'sort':_0x477d('0x94'),'nolimit':'true'})[_0x477d('0x38b')]['then'](function(_0x520bc8){_0x405bdb[_0x477d('0xf39')]=_0x520bc8[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x2faea3){_0x1d83fe[_0x477d('0x44a')]({'title':_0x2faea3['status']?_0x477d('0x44b')+_0x2faea3['status']+'\x20-\x20'+_0x2faea3[_0x477d('0x44d')]:_0x477d('0x13b3'),'msg':_0x2faea3[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x2faea3[_0x477d('0x451')]):_0x2faea3[_0x477d('0x453')]()});}):_0x3a5aab[_0x477d('0x657')][_0x477d('0x376')]({'fields':_0x477d('0x13b2'),'sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')]['then'](function(_0x404a5b){_0x405bdb[_0x477d('0xf39')]=_0x404a5b[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x3a5aab[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x405bdb[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x3ed})['$promise'];})[_0x477d('0x76')](function(_0xb80e2d){var _0x24eb7a=_0xb80e2d&&_0xb80e2d['rows']?_0xb80e2d[_0x477d('0xf2')][0x0]:null;if(!_0x24eb7a){_0x405bdb[_0x477d('0xf39')]=[];}else{if(!_0x24eb7a[_0x477d('0x3ad')]){return _0x3a5aab[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x24eb7a['id']})[_0x477d('0x38b')]['then'](function(_0x22f99f){var _0x3d7b6c=_['map'](_0x22f99f['rows'],function(_0x46cd0e){return _[_0x477d('0x10a')](_0x405bdb[_0x477d('0xf39')],{'id':_0x46cd0e[_0x477d('0x3af')]});});_0x405bdb[_0x477d('0xf39')]['forEach'](function(_0x413f30){if(!_['some'](_0x3d7b6c,['id',_0x413f30['id']])){_0x413f30[_0x477d('0xf8b')]=![];}_0x3d7b6c[_0x477d('0x3a7')](_0x413f30);});_0x405bdb[_0x477d('0xf39')]=_0x3d7b6c;});}}})['catch'](function(_0x191a18){_0x1d83fe[_0x477d('0x44a')]({'title':_0x191a18[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x191a18[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x191a18[_0x477d('0x44d')]:_0x477d('0x1958'),'msg':_0x191a18[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x191a18[_0x477d('0x451')]):_0x191a18[_0x477d('0x453')]()});});function _0x182a3e(_0x1f8c0f,_0x2af942){_0x1f96ab[_0x477d('0x395')]({'controller':'SmsAccountagentaddController','controllerAs':'vm','templateUrl':_0x477d('0x2099'),'parent':angular[_0x477d('0x398')](_0x4a3422[_0x477d('0x399')]),'targetEvent':_0x2af942,'clickOutsideToClose':!![],'locals':{'smsAccount':_0x1f8c0f,'smsAccounts':_0x405bdb['smsAccounts']?_0x405bdb['smsAccounts'][_0x477d('0xf2')]:[],'crudPermissions':_0x405bdb['crudPermissions'],'realtime':![]}});}function _0x52ec7a(){_0x6ac047['go'](_0x477d('0x272'),{},{'reload':_0x477d('0x272')});}function _0x4e688f(){_0x3a5aab['smsAccount']['update']({'id':_0x405bdb['smsAccount']['id']},_0x405bdb[_0x477d('0xe45')])[_0x477d('0x38b')]['then'](function(){_0x1d83fe[_0x477d('0x485')]({'title':_0x477d('0x209a'),'msg':_0x405bdb[_0x477d('0xe45')][_0x477d('0x94')]?_0x405bdb['smsAccount']['name']+_0x477d('0xed7'):''});})['catch'](function(_0x26bc4f){_0x1d83fe[_0x477d('0x44a')]({'title':_0x26bc4f[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x26bc4f[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x26bc4f[_0x477d('0x44d')]:'SYSTEM:GETsmsAccount','msg':_0x26bc4f[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x26bc4f['data']):_0x26bc4f[_0x477d('0x453')]()});});}}}());(function(){'use strict';_0x1cde09[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x387'),_0x477d('0x3c4'),_0x477d('0x554'),_0x477d('0x384'),_0x477d('0x475'),'$timeout','$translate',_0x477d('0xf38'),_0x477d('0x3a5'),_0x477d('0x3ac'),_0x477d('0x386'),_0x477d('0x342'),_0x477d('0x40e'),'Auth',_0x477d('0x613'),_0x477d('0xc8e')];angular[_0x477d('0xb')]('app.sms')[_0x477d('0x3ba')](_0x477d('0x209b'),_0x1cde09);function _0x1cde09(_0x3d2787,_0x4dd4d7,_0x2b31f2,_0x4416d9,_0xd7936e,_0x365dd2,_0x2489de,_0xb543e,_0xd1431,_0xad393a,_0x1b3930,_0x3ec13b,_0x4f2796,_0x234848,_0x19491f,_0x1b369b,_0x347e9b){var _0x2a881e=this;_0x2a881e[_0x477d('0x613')]=_0x1b369b;_0x2a881e[_0x477d('0xc8e')]=_0x347e9b;_0x2a881e[_0x477d('0x3e5')]=_0x19491f[_0x477d('0x5c')]();_0x2a881e[_0x477d('0xf38')]=_0xd1431||{'count':0x0,'rows':[]};_0x2a881e['userProfile']=_0xad393a;_0x2a881e[_0x477d('0x3ac')]=_0x1b3930&&_0x1b3930[_0x477d('0x3bb')]==0x1?_0x1b3930[_0x477d('0xf2')][0x0]:null;_0x2a881e[_0x477d('0xd66')]=_0x19491f[_0x477d('0xd81')](_0x2a881e[_0x477d('0x3ac')]?_0x2a881e['userProfileSection'][_0x477d('0xd66')]:null);_0x2a881e[_0x477d('0xd82')]=_0x477d('0xf38');_0x2a881e[_0x477d('0xd83')]='';_0x2a881e[_0x477d('0xd84')]=null;_0x2a881e['selectedSmsAccounts']=[];_0x2a881e[_0x477d('0x3ef')]={'fields':_0x477d('0x209c'),'sort':'-updatedAt','limit':0xa,'page':0x1};_0x2a881e['arraytype']=_['keyBy']([{'option':_0x477d('0x209d'),'value':'\x27twilio\x27'},{'option':_0x477d('0x209e'),'value':'\x27skebby\x27'},{'option':_0x477d('0x209f'),'value':'\x27connectel\x27'},{'option':_0x477d('0x20a0'),'value':_0x477d('0x20a1')},{'option':'Plivo','value':_0x477d('0x20a2')},{'option':_0x477d('0x20a3'),'value':_0x477d('0x20a4')},{'option':'Clickatell','value':_0x477d('0x20a5')},{'option':_0x477d('0x20a6'),'value':_0x477d('0x20a7')},{'option':_0x477d('0x20a8'),'value':_0x477d('0x20a9')}],function(_0x506a3e){return _[_0x477d('0x409')](_0x506a3e['value'],new RegExp('\x27','g'),'');});_0x2a881e[_0x477d('0x20aa')]=_[_0x477d('0xdb5')]([{'option':'Basic','value':_0x477d('0x20ab')},{'option':_0x477d('0x20ac'),'value':_0x477d('0x20ad')},{'option':_0x477d('0x20ae'),'value':_0x477d('0x20af')}],function(_0x592d25){return _[_0x477d('0x409')](_0x592d25[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x2a881e[_0x477d('0xea6')]=_0x265932;_0x2a881e[_0x477d('0x1971')]=_0x307004;_0x2a881e['agentadddialog']=_0x2172bc;_0x2a881e[_0x477d('0xd88')]=_0x59a4e6;_0x2a881e[_0x477d('0x485')]=_0x262667;_0x2a881e[_0x477d('0x1605')]=_0x527130;_0x2a881e[_0x477d('0x20b0')]=_0x56a641;_0x2a881e['deleteSmsAccount']=_0x5a06ff;_0x2a881e[_0x477d('0x20b1')]=_0x16c286;_0x2a881e[_0x477d('0x20b2')]=_0x5ddf8e;_0x2a881e['deselectSmsAccounts']=_0xa8513a;_0x2a881e[_0x477d('0x20b3')]=_0x4488bc;_0x19491f[_0x477d('0x56')]('admin')?_0x3ec13b[_0x477d('0xe3f')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':'name'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x1285d6){_0x2a881e[_0x477d('0xf1')]=_0x1285d6[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x496b48){_0x234848[_0x477d('0x44a')]({'title':_0x496b48[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x496b48['status']+'\x20-\x20'+_0x496b48[_0x477d('0x44d')]:_0x477d('0x1228'),'msg':_0x496b48['data']?JSON[_0x477d('0x3fb')](_0x496b48[_0x477d('0x451')]):_0x496b48[_0x477d('0x453')]()});}):_0x3ec13b['cmList']['get']({'fields':'id,name','sort':_0x477d('0x94')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x40d23e){_0x2a881e[_0x477d('0xf1')]=_0x40d23e[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x3ec13b[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x2a881e['currentUser'][_0x477d('0x61')],'sectionId':0x12d})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x358686){var _0x2c2596=_0x358686&&_0x358686['rows']?_0x358686[_0x477d('0xf2')][0x0]:null;if(!_0x2c2596){var _0x5599fe=[];var _0x362f17=null;if(_0x2a881e[_0x477d('0xe45')]){_0x362f17=_[_0x477d('0x10a')](_0x2a881e[_0x477d('0xf1')],{'id':Number(_0x2a881e[_0x477d('0xe45')]['ListId'])});}for(var _0x1b1c14=0x0;_0x1b1c14<_0x2a881e[_0x477d('0xf1')][_0x477d('0x79')];_0x1b1c14++){if(_0x362f17&&_0x2a881e[_0x477d('0xf1')][_0x1b1c14]['id']===_0x362f17['id']){_0x2a881e['lists'][_0x1b1c14][_0x477d('0xf8b')]=![];_0x5599fe[_0x477d('0x3a7')](_0x2a881e['lists'][_0x1b1c14]);}}_0x2a881e[_0x477d('0xf1')]=_0x5599fe;}else{if(!_0x2c2596[_0x477d('0x3ad')]){return _0x3ec13b[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x2c2596['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x175c63){var _0x2df7cd=_[_0x477d('0x3cb')](_0x175c63[_0x477d('0xf2')],function(_0x4f9e07){return _['find'](_0x2a881e[_0x477d('0xf1')],{'id':_0x4f9e07[_0x477d('0x3af')]});});var _0x120d9e=null;if(_0x2a881e[_0x477d('0xe45')]){_0x120d9e=_[_0x477d('0x10a')](_0x2a881e[_0x477d('0xf1')],{'id':Number(_0x2a881e[_0x477d('0xe45')][_0x477d('0x1229')])});}if(_0x120d9e&&!_[_0x477d('0x3ab')](_0x2df7cd,['id',_0x120d9e['id']])){var _0x782a00=_[_0x477d('0x10a')](_0x2a881e[_0x477d('0xf1')],{'id':_0x120d9e['id']});_0x782a00['canSelect']=![];_0x2df7cd['push'](_0x782a00);}_0x2a881e[_0x477d('0xf1')]=_0x2df7cd;});}}})['catch'](function(_0x3d6cd4){_0x234848[_0x477d('0x44a')]({'title':_0x3d6cd4[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x3d6cd4['status']+_0x477d('0x44c')+_0x3d6cd4[_0x477d('0x44d')]:_0x477d('0x122a'),'msg':_0x3d6cd4[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x3d6cd4[_0x477d('0x451')]):_0x3d6cd4[_0x477d('0x453')]()});});function _0x265932(_0x42b9ba,_0x4adef2){_0x2b31f2['go'](_0x477d('0x275'),{'id':_0x42b9ba['id'],'smsAccount':_0x42b9ba,'crudPermissions':_0x2a881e[_0x477d('0xd66')]});}function _0x307004(_0x1a7790,_0x51a4c6){_0x2b31f2['go']('app.sms.smsAccounts.edit',{'id':_0x1a7790['id'],'tab':0x5});}function _0x2172bc(_0x7918dd,_0x906c7){_0xd7936e['show']({'controller':_0x477d('0x2054'),'controllerAs':'vm','templateUrl':_0x477d('0x2099'),'parent':angular['element'](_0x365dd2[_0x477d('0x399')]),'targetEvent':_0x906c7,'clickOutsideToClose':!![],'locals':{'smsAccount':_0x7918dd,'smsAccounts':_0x2a881e[_0x477d('0xf38')]?_0x2a881e[_0x477d('0xf38')]['rows']:[],'crudPermissions':_0x2a881e[_0x477d('0xd66')],'realtime':![]}});}function _0x59a4e6(_0x18e69e,_0x43ccd0){var _0x137d2f=_0xd7936e[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xd90')+_['startCase'](_0x477d('0xe45'))+'?')[_0x477d('0xd92')](_0x477d('0xd93')+(_0x18e69e[_0x477d('0x94')]||_0x477d('0xe45'))+_0x477d('0xd94')+'\x20will\x20be\x20deleted.')['ariaLabel'](_0x477d('0x20b4'))[_0x477d('0xd7c')](_0x43ccd0)['ok']('OK')[_0x477d('0x4f0')]('CANCEL');_0xd7936e[_0x477d('0x395')](_0x137d2f)[_0x477d('0x76')](function(){_0x5a06ff(_0x18e69e);},function(){console['log']('CANCEL');});}var _0x53d286=!![];var _0x3b51e7=0x1;_0x3d2787['$watch']('vm.query.filter',function(_0x56a381,_0x5f0986){if(_0x53d286){_0x2489de(function(){_0x53d286=![];});}else{if(!_0x5f0986){_0x3b51e7=_0x2a881e[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x56a381!==_0x5f0986){_0x2a881e[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0x56a381){_0x2a881e[_0x477d('0x3ef')]['page']=_0x3b51e7;}_0x2a881e[_0x477d('0x1605')]();}});function _0x262667(_0x1db61c){_0x2a881e[_0x477d('0xf38')]=_0x1db61c||{'count':0x0,'rows':[]};}function _0x527130(){_0x2a881e[_0x477d('0x3ef')][_0x477d('0x91c')]=(_0x2a881e[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x2a881e[_0x477d('0x3ef')]['limit'];if(_0x19491f[_0x477d('0x56')](_0x477d('0x5f'))){_0x2a881e[_0x477d('0x553')]=_0x3ec13b[_0x477d('0xe45')][_0x477d('0x376')](_0x2a881e[_0x477d('0x3ef')],_0x262667)[_0x477d('0x38b')];}else{_0x2a881e[_0x477d('0x3ef')]['id']=_0x2a881e[_0x477d('0x3a5')]['id'];_0x2a881e['query']['section']='SmsAccounts';_0x2a881e[_0x477d('0x553')]=_0x3ec13b[_0x477d('0x3a5')][_0x477d('0xd9a')](_0x2a881e['query'],_0x262667)[_0x477d('0x38b')];}}function _0x56a641(_0x1469fb,_0x275cad){_0xd7936e[_0x477d('0x395')]({'controller':_0x477d('0x203c'),'controllerAs':'vm','templateUrl':_0x477d('0x20b5'),'parent':angular[_0x477d('0x398')](_0x365dd2[_0x477d('0x399')]),'targetEvent':_0x1469fb,'clickOutsideToClose':!![],'locals':{'smsAccount':_0x275cad,'smsAccounts':_0x2a881e[_0x477d('0xf38')][_0x477d('0xf2')],'license':_0x2a881e[_0x477d('0x613')],'setting':_0x2a881e[_0x477d('0xc8e')],'crudPermissions':_0x2a881e[_0x477d('0xd66')]}});}function _0x5a06ff(_0x4b140c){_0x3ec13b[_0x477d('0xe45')]['delete']({'id':_0x4b140c['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x2a881e['smsAccounts'][_0x477d('0xf2')],{'id':_0x4b140c['id']});_0x2a881e['smsAccounts'][_0x477d('0x3bb')]-=0x1;if(!_0x2a881e['smsAccounts'][_0x477d('0xf2')][_0x477d('0x79')]){_0x2a881e[_0x477d('0x1605')]();}_0x234848[_0x477d('0x485')]({'title':_[_0x477d('0xd91')](_0x477d('0x20b6'))+'\x20deleted!','msg':_0x4b140c['name']?_0x4b140c[_0x477d('0x94')]+_0x477d('0xd7e'):''});})[_0x477d('0xf8')](function(_0x1c7beb){if(_0x1c7beb[_0x477d('0x451')]&&_0x1c7beb[_0x477d('0x451')]['errors']&&_0x1c7beb[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x2a881e[_0x477d('0xd67')]=_0x1c7beb['data'][_0x477d('0xd67')]||[{'message':_0x1c7beb[_0x477d('0x453')](),'type':_0x477d('0x20b7')}];for(var _0x2874bb=0x0;_0x2874bb<_0x1c7beb[_0x477d('0x451')]['errors'][_0x477d('0x79')];_0x2874bb++){_0x234848[_0x477d('0x44a')]({'title':_0x1c7beb[_0x477d('0x451')][_0x477d('0xd67')][_0x2874bb][_0x477d('0x439')],'msg':_0x1c7beb['data'][_0x477d('0xd67')][_0x2874bb][_0x477d('0x452')]});}}else{_0x234848[_0x477d('0x44a')]({'title':_0x1c7beb['status']?_0x477d('0x44b')+_0x1c7beb[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x1c7beb[_0x477d('0x44d')]:'SYSTEM:DELETEsmsAccount','msg':_0x1c7beb[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x1c7beb['data'][_0x477d('0x452')]):_0x1c7beb[_0x477d('0x452')]||_0x1c7beb[_0x477d('0x453')]()});}});}function _0x16c286(){var _0x2cbc34=angular[_0x477d('0x6d9')](_0x2a881e[_0x477d('0x20b8')]);_0x2a881e[_0x477d('0x20b8')]=[];return _0x2cbc34;}function _0x5ddf8e(_0x27a466){var _0x48ff8b=_0xd7936e['confirm']()[_0x477d('0x49a')](_0x477d('0x20b9'))[_0x477d('0xd92')](''+_0x2a881e['selectedSmsAccounts'][_0x477d('0x79')]+_0x477d('0xda0')+'\x20will\x20be\x20deleted.')[_0x477d('0x687')](_0x477d('0x20ba'))[_0x477d('0xd7c')](_0x27a466)['ok']('OK')['cancel'](_0x477d('0xd97'));_0xd7936e[_0x477d('0x395')](_0x48ff8b)[_0x477d('0x76')](function(){_0x2a881e[_0x477d('0x20b8')][_0x477d('0x3b1')](function(_0x277375){_0x5a06ff(_0x277375);});_0x2a881e[_0x477d('0x20b8')]=[];});}function _0xa8513a(){_0x2a881e[_0x477d('0x20b8')]=[];}function _0x4488bc(){_0x2a881e[_0x477d('0x20b8')]=_0x2a881e['smsAccounts']['rows'];}}}());(function(){'use strict';_0x4eb857['$inject']=[_0x477d('0x474'),_0x477d('0x3c4'),_0x477d('0xd64'),_0x477d('0x384'),'$q','$translate','toasty',_0x477d('0x1721'),'smsQueue',_0x477d('0x386'),_0x477d('0x55'),'license',_0x477d('0xc8e'),_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x32'))[_0x477d('0x3ba')](_0x477d('0x2039'),_0x4eb857);function _0x4eb857(_0x367e13,_0x7f2e30,_0x1e268c,_0x3adb13,_0x45607c,_0x9e82b,_0x2ea6df,_0xf5600b,_0x457ba7,_0x179466,_0x4a49f5,_0x2eae46,_0x25c956,_0xa18861){var _0x53196d=this;_0x53196d['currentUser']=_0x4a49f5[_0x477d('0x5c')]();_0x53196d['errors']=[];_0x53196d[_0x477d('0xc8e')]=_0x25c956;_0x53196d[_0x477d('0x613')]=_0x2eae46;_0x53196d[_0x477d('0xd66')]=_0xa18861;_0x53196d[_0x477d('0xd68')]={};_0x53196d[_0x477d('0xd69')]=_0x53196d[_0x477d('0xc8e')]&&_0x53196d[_0x477d('0xc8e')]['securePassword']?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x53196d[_0x477d('0x49a')]=_0x477d('0x20bb');_0x53196d[_0x477d('0xb10')]=angular[_0x477d('0x6d9')](_0x457ba7);_0x53196d[_0x477d('0x1721')]=_0xf5600b;_0x53196d['newSmsQueue']=![];if(!_0x53196d[_0x477d('0xb10')]){_0x53196d['smsQueue']={'strategy':_0x477d('0x11e7'),'timeout':0xa};_0x53196d['title']=_0x477d('0x20bc');_0x53196d['newSmsQueue']=!![];}_0x53196d[_0x477d('0x20bd')]=_0x4ea3bc;_0x53196d['saveSmsQueue']=_0x274d32;_0x53196d[_0x477d('0x20be')]=_0x3f0489;_0x53196d['getDateFromString']=_0x5103cd;_0x53196d[_0x477d('0x6bf')]=_0x13f980;function _0x4ea3bc(){_0x53196d[_0x477d('0xd67')]=[];_0x179466[_0x477d('0xb10')]['save'](_0x53196d[_0x477d('0xb10')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x41c552){_0x53196d[_0x477d('0x1721')]['unshift'](_0x41c552[_0x477d('0xd71')]());_0x2ea6df['success']({'title':_0x477d('0x20bf'),'msg':_0x53196d['smsQueue'][_0x477d('0x94')]?_0x53196d[_0x477d('0xb10')][_0x477d('0x94')]+_0x477d('0xd73'):''});_0x13f980(_0x41c552);})[_0x477d('0xf8')](function(_0xfd3331){if(_0xfd3331[_0x477d('0x451')]&&_0xfd3331['data'][_0x477d('0xd67')]&&_0xfd3331[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x53196d[_0x477d('0xd67')]=_0xfd3331[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0xfd3331[_0x477d('0x453')](),'type':_0x477d('0x20c0')}];for(var _0x499863=0x0;_0x499863<_0xfd3331[_0x477d('0x451')]['errors'][_0x477d('0x79')];_0x499863+=0x1){_0x2ea6df[_0x477d('0x44a')]({'title':_0xfd3331[_0x477d('0x451')][_0x477d('0xd67')][_0x499863][_0x477d('0x439')],'msg':_0xfd3331[_0x477d('0x451')][_0x477d('0xd67')][_0x499863][_0x477d('0x452')]});}}else{_0x2ea6df['error']({'title':_0xfd3331['status']?_0x477d('0x44b')+_0xfd3331['status']+'\x20-\x20'+_0xfd3331['statusText']:_0x477d('0x20c0'),'msg':_0xfd3331[_0x477d('0x451')]?JSON['stringify'](_0xfd3331['data'][_0x477d('0x452')]):_0xfd3331[_0x477d('0x453')]()});}});}function _0x274d32(){_0x53196d['errors']=[];_0x179466['smsQueue'][_0x477d('0x710')]({'id':_0x53196d[_0x477d('0xb10')]['id']},_0x53196d[_0x477d('0xb10')])[_0x477d('0x38b')]['then'](function(_0xaaa6e9){var _0x344dd7=_[_0x477d('0x10a')](_0x53196d[_0x477d('0x1721')],{'id':_0xaaa6e9['id']});if(_0x344dd7){_[_0x477d('0xef')](_0x344dd7,_[_0x477d('0x10b')](_0xaaa6e9['toJSON'](),_[_0x477d('0x7f')](_0x344dd7)));}_0x2ea6df[_0x477d('0x485')]({'title':'SmsQueue\x20properly\x20saved!','msg':_0x53196d['smsQueue'][_0x477d('0x94')]?_0x53196d[_0x477d('0xb10')][_0x477d('0x94')]+_0x477d('0xd76'):''});_0x13f980(_0xaaa6e9);})[_0x477d('0xf8')](function(_0x1247d1){if(_0x1247d1[_0x477d('0x451')]&&_0x1247d1[_0x477d('0x451')][_0x477d('0xd67')]&&_0x1247d1[_0x477d('0x451')][_0x477d('0xd67')]['length']){_0x53196d[_0x477d('0xd67')]=_0x1247d1['data']['errors']||[{'message':_0x1247d1[_0x477d('0x453')](),'type':'api.smsQueue.update'}];for(var _0x20693a=0x0;_0x20693a<_0x1247d1[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x20693a++){_0x2ea6df[_0x477d('0x44a')]({'title':_0x1247d1['data'][_0x477d('0xd67')][_0x20693a][_0x477d('0x439')],'msg':_0x1247d1[_0x477d('0x451')][_0x477d('0xd67')][_0x20693a][_0x477d('0x452')]});}}else{_0x2ea6df['error']({'title':_0x1247d1[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x1247d1[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x1247d1['statusText']:'api.smsQueue.update','msg':_0x1247d1[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x1247d1[_0x477d('0x451')]['message']):_0x1247d1['toString']()});}});}function _0x3f0489(_0x482f34){_0x53196d[_0x477d('0xd67')]=[];var _0x9cecb8=_0x3adb13[_0x477d('0xd78')]()[_0x477d('0x49a')]('Are\x20you\x20sure?')[_0x477d('0xdaf')](_0x477d('0x20c1'))[_0x477d('0x687')](_0x477d('0x20c2'))['ok'](_0x477d('0xd7b'))[_0x477d('0x4f0')](_0x477d('0x688'))[_0x477d('0xd7c')](_0x482f34);_0x3adb13[_0x477d('0x395')](_0x9cecb8)[_0x477d('0x76')](function(){_0x179466[_0x477d('0xb10')][_0x477d('0xa55')]({'id':_0x53196d['smsQueue']['id']})['$promise'][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x53196d[_0x477d('0x1721')],{'id':_0x53196d[_0x477d('0xb10')]['id']});_0x2ea6df[_0x477d('0x485')]({'title':_0x477d('0x20c3'),'msg':(_0x53196d['smsQueue'][_0x477d('0x94')]||_0x477d('0xb10'))+'\x20has\x20been\x20deleted!'});_0x13f980(_0x53196d[_0x477d('0xb10')]);})[_0x477d('0xf8')](function(_0x58af24){if(_0x58af24[_0x477d('0x451')]&&_0x58af24[_0x477d('0x451')][_0x477d('0xd67')]&&_0x58af24[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x53196d[_0x477d('0xd67')]=_0x58af24[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x58af24[_0x477d('0x453')](),'type':_0x477d('0x20c4')}];for(var _0x5b5dd5=0x0;_0x5b5dd5<_0x58af24[_0x477d('0x451')][_0x477d('0xd67')]['length'];_0x5b5dd5++){_0x2ea6df[_0x477d('0x44a')]({'title':_0x58af24['data'][_0x477d('0xd67')][_0x5b5dd5]['type'],'msg':_0x58af24['data'][_0x477d('0xd67')][_0x5b5dd5][_0x477d('0x452')]});}}else{_0x2ea6df[_0x477d('0x44a')]({'title':_0x58af24[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x58af24['status']+'\x20-\x20'+_0x58af24[_0x477d('0x44d')]:_0x477d('0x20c4'),'msg':_0x58af24[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x58af24[_0x477d('0x451')][_0x477d('0x452')]):_0x58af24['message']||_0x58af24[_0x477d('0x453')]()});}});},function(){});}function _0x5103cd(_0x4ec3f9){return _0x4ec3f9===null?undefined:new Date(_0x4ec3f9);}function _0x13f980(_0x2d4f64){_0x3adb13[_0x477d('0x3bc')](_0x2d4f64);}}}());(function(){'use strict';_0x40fe7b['$inject']=[_0x477d('0x384'),'$q',_0x477d('0x40e'),_0x477d('0x386'),_0x477d('0xb10'),_0x477d('0x1721'),_0x477d('0x11f1'),'$translate',_0x477d('0x55'),'crudPermissions'];angular[_0x477d('0xb')](_0x477d('0x32'))[_0x477d('0x3ba')](_0x477d('0x203a'),_0x40fe7b);function _0x40fe7b(_0x58b0fd,_0x26edf1,_0x2714b4,_0x40416f,_0x55b0f1,_0xe6f452,_0x1ae2e6,_0x27ab2c,_0x19640d,_0x3563ad){var _0x4df9f2=this;_0x4df9f2[_0x477d('0x3e5')]=_0x19640d[_0x477d('0x5c')]();_0x4df9f2['smsQueue']=_0x55b0f1;_0x4df9f2[_0x477d('0xd66')]=_0x3563ad;_0x4df9f2[_0x477d('0x11f1')]=_0x1ae2e6;_0x4df9f2[_0x477d('0x4a6')]=[];_0x4df9f2[_0x477d('0x11f7')]=[];_0x4df9f2['selectedItems']=[];_0x4df9f2['startingAllowedItems']=[];_0x4df9f2[_0x477d('0x11fd')]=[];_0x4df9f2[_0x477d('0x11f5')]=![];_0x4df9f2['onInit']=_0x50f1d6;_0x4df9f2['saveAgents']=_0x15ca87;_0x4df9f2[_0x477d('0x6bf')]=_0xafecd4;_0x4df9f2['dualMultiselectOptions']={'readOnly':!_0x4df9f2[_0x477d('0xd66')]['canEdit'],'items':[],'selectedItems':[],'showSelectAndDeselectAll':!![],'orderBy':_0x477d('0x94'),'line1':_0x477d('0xcd'),'line2':[_0x477d('0x94'),'internal'],'line3':'','labelAll':_0x27ab2c[_0x477d('0x45f')]('SMS.ALL_AGENTS'),'labelSelected':_0x27ab2c[_0x477d('0x45f')](_0x477d('0x20c5')),'transferCallback':function(_0x4910fa,_0x16a0e5){var _0x290a16=_['xorBy'](_0x4df9f2[_0x477d('0x11fd')],_0x4df9f2['selectedItems'],'id');_0x4df9f2[_0x477d('0x11f5')]=_[_0x477d('0x3b2')](_0x290a16)?![]:!![];}};function _0x50f1d6(){return _0x19640d['hasRole']('admin')?_0x2078f3()['catch'](function(_0x1ef72c){_0x2714b4[_0x477d('0x44a')]({'title':_0x1ef72c[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x1ef72c['status']+_0x477d('0x44c')+_0x1ef72c[_0x477d('0x44d')]:_0x477d('0x11f6'),'msg':_0x1ef72c[_0x477d('0x3c3')]?JSON[_0x477d('0x3fb')](_0x1ef72c[_0x477d('0x451')]):_0x1ef72c[_0x477d('0x453')]()});}):_0xf89e1a()[_0x477d('0x76')](function(_0x38983f){_0x4df9f2[_0x477d('0xd99')]=_0x38983f;return _0x2078f3();})[_0x477d('0xf8')](function(_0x1c7a6e){_0x2714b4[_0x477d('0x44a')]({'title':_0x1c7a6e[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x1c7a6e[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x1c7a6e['statusText']:_0x477d('0x11f6'),'msg':_0x1c7a6e[_0x477d('0x3c3')]?JSON[_0x477d('0x3fb')](_0x1c7a6e['data']):_0x1c7a6e['toString']()});});}function _0xf89e1a(){return _0x26edf1(function(_0x20e22a,_0x1b7e04){_0x40416f[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x4df9f2[_0x477d('0x3e5')]['userProfileId'],'name':'Agents'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x3e0265){var _0x19d0aa=_0x3e0265&&_0x3e0265[_0x477d('0xf2')]?_0x3e0265[_0x477d('0xf2')][0x0]:null;_0x20e22a(_0x19d0aa);})['catch'](function(_0x5b68b5){_0x1b7e04(_0x5b68b5);});});}function _0x2078f3(){return _0x26edf1(function(_0xbf3e02,_0x47bd5c){return _0x244e76()['then'](function(_0x429ba7){_0x4df9f2[_0x477d('0x4a6')]=_0x429ba7[_0x477d('0xf2')]?_0x429ba7[_0x477d('0xf2')]:[];if(_0x19640d['hasRole'](_0x477d('0x5f'))){return _0x429ba7;}else{if(_0x4df9f2['section']){return _0x4df9f2['section'][_0x477d('0x3ad')]?_0x429ba7:_0x171f0c();}else{return null;}}})[_0x477d('0x76')](function(_0x4a9e5c){var _0x63c5d3=_0x4a9e5c&&_0x4a9e5c[_0x477d('0xf2')]?_0x4a9e5c[_0x477d('0xf2')]:[];_0x4df9f2['allowedItems']=_['map'](_0x63c5d3,function(_0x4976f8){return _[_0x477d('0x10a')](_0x4df9f2[_0x477d('0x4a6')],{'id':_0x19640d[_0x477d('0x56')](_0x477d('0x5f'))||_0x4df9f2['section'][_0x477d('0x3ad')]?_0x4976f8['id']:_0x4976f8[_0x477d('0x3af')]});});_0x4df9f2[_0x477d('0x11f2')]=angular['copy'](_0x4df9f2[_0x477d('0x11f7')]);_0x4df9f2[_0x477d('0x4a6')][_0x477d('0x3b1')](function(_0x349609){var _0x14eb47=_['find'](_0x4df9f2[_0x477d('0x11f7')],{'id':_0x349609['id']});if(_0x19640d['hasRole'](_0x477d('0x5f'))){_0x349609['isValid']=!![];}else{_0x349609['isValid']=typeof _0x14eb47!=='undefined'?!![]:![];}});return _0x2cf44b();})['then'](function(_0xc48ef2){var _0x590c82=_0xc48ef2&&_0xc48ef2[_0x477d('0xf2')]?_0xc48ef2[_0x477d('0xf2')]:[];_0x4df9f2[_0x477d('0x4a7')]=_[_0x477d('0x3cb')](_0x590c82,function(_0x239e49){var _0x4a2389=_[_0x477d('0x10a')](_0x4df9f2['items'],{'id':_0x239e49['id']});_0x4a2389[_0x477d('0x1184')]=_0x239e49[_0x477d('0x20c6')]?_0x477d('0x1529')+_0x239e49[_0x477d('0x20c6')][_0x477d('0x1184')]:'';_0x4a2389['internal']=_0x239e49['hasOwnProperty'](_0x477d('0x324'))?'<'+_0x239e49['internal']+'>':'';return _0x4a2389;});_0x4df9f2[_0x477d('0x11fd')]=angular[_0x477d('0x6d9')](_0x4df9f2[_0x477d('0x4a7')]);_0x4df9f2[_0x477d('0x1185')][_0x477d('0x4a7')]=_0x4df9f2[_0x477d('0x4a7')];_0x4df9f2['dualMultiselectOptions'][_0x477d('0x4a6')]=_[_0x477d('0x11f8')](_0x4df9f2[_0x477d('0x11f7')],_0x4df9f2[_0x477d('0x1185')][_0x477d('0x4a7')],'id');_0xbf3e02();})['catch'](function(_0x2ad5dd){_0x47bd5c(_0x2ad5dd);});});}function _0x171f0c(){return _0x26edf1(function(_0x440683,_0x531af1){return _0x40416f[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x4df9f2[_0x477d('0xd99')]['id'],'nolimit':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x2923b4){_0x440683(_0x2923b4);})['catch'](function(_0x53a42b){_0x531af1(_0x53a42b);});});}function _0x2cf44b(){return _0x26edf1(function(_0x237150,_0x555326){return _0x40416f[_0x477d('0xb10')][_0x477d('0x11f9')]({'id':_0x4df9f2['smsQueue']['id'],'fields':_0x477d('0x11fa'),'nolimit':!![],'role':'agent'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x425261){_0x237150(_0x425261);})[_0x477d('0xf8')](function(_0x338288){_0x555326(_0x338288);});});}function _0x244e76(){return _0x26edf1(function(_0x5185d5,_0x3a8c5d){return _0x40416f['user']['get']({'fields':'id,name,internal,fullname','nolimit':!![],'role':_0x477d('0xcf')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x2292ec){_0x5185d5(_0x2292ec);})[_0x477d('0xf8')](function(_0xd8d3cd){_0x3a8c5d(_0xd8d3cd);});});}function _0x5db42e(_0x1e57e5){return _0x26edf1(function(_0x4f6d55,_0x51848c){if(_[_0x477d('0x3b2')](_0x1e57e5)){_0x4f6d55();}else{_0x40416f['smsQueue'][_0x477d('0x11fb')]({'id':_0x4df9f2[_0x477d('0xb10')]['id'],'ids':_[_0x477d('0x3cb')](_0x1e57e5,'id')})[_0x477d('0x38b')][_0x477d('0x76')](function(){_0x4f6d55();})[_0x477d('0xf8')](function(_0x19aac1){_0x51848c(_0x19aac1);});}});}function _0x4875eb(_0x1bc2b6){return _0x26edf1(function(_0x540b73,_0x516934){if(_['isEmpty'](_0x1bc2b6)){_0x540b73();}else{_0x40416f['smsQueue'][_0x477d('0x11fc')]({'id':_0x4df9f2[_0x477d('0xb10')]['id'],'ids':_['map'](_0x1bc2b6,'id')})[_0x477d('0x38b')][_0x477d('0x76')](function(){_0x540b73();})[_0x477d('0xf8')](function(_0x1f97d2){_0x516934(_0x1f97d2);});}});}function _0x15ca87(){var _0x11c9d7=_['differenceBy'](_0x4df9f2['startingSelectedItems'],_0x4df9f2['selectedItems'],'id');var _0x500eaf=_[_0x477d('0x11f8')](_0x4df9f2[_0x477d('0x4a7')],_0x4df9f2['startingSelectedItems'],'id');return _0x4875eb(_0x11c9d7)[_0x477d('0x76')](function(){return _0x5db42e(_0x500eaf);})[_0x477d('0x76')](function(){_0x4df9f2[_0x477d('0x11f5')]=![];_0x4df9f2['startingAllowedItems']=angular[_0x477d('0x6d9')](_0x4df9f2[_0x477d('0x11f7')]);_0x4df9f2[_0x477d('0x11fd')]=angular[_0x477d('0x6d9')](_0x4df9f2[_0x477d('0x4a7')]);_0x2714b4[_0x477d('0x485')]({'title':_0x477d('0x11fe'),'msg':_0x477d('0x11ff')});})[_0x477d('0xf8')](function(_0x9ee634){_0x2714b4[_0x477d('0x44a')]({'title':_0x9ee634[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x9ee634[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x9ee634[_0x477d('0x44d')]:_0x477d('0x1200'),'msg':_0x9ee634[_0x477d('0x3c3')]?JSON[_0x477d('0x3fb')](_0x9ee634[_0x477d('0x451')]):_0x9ee634[_0x477d('0x453')]()});});}function _0xafecd4(){_0x58b0fd[_0x477d('0x3bc')]();}}}());(function(){'use strict';_0x507a1a[_0x477d('0xa')]=['$mdDialog','$q',_0x477d('0x40e'),'api',_0x477d('0xb10'),'$translate',_0x477d('0x55'),_0x477d('0xd66')];angular[_0x477d('0xb')]('app.sms')[_0x477d('0x3ba')](_0x477d('0x20c7'),_0x507a1a);function _0x507a1a(_0x35a65b,_0x1a0696,_0x28b12,_0x59cb7f,_0x5dd9af,_0x48b1ab,_0x39cbc5,_0x29bed3){var _0x2fbf7b=this;_0x2fbf7b['currentUser']=_0x39cbc5[_0x477d('0x5c')]();_0x2fbf7b[_0x477d('0xb10')]=_0x5dd9af;_0x2fbf7b['crudPermissions']=_0x29bed3;_0x2fbf7b[_0x477d('0x4a6')]=[];_0x2fbf7b['allowedItems']=[];_0x2fbf7b['selectedItems']=[];_0x2fbf7b[_0x477d('0x11f2')]=[];_0x2fbf7b[_0x477d('0x11fd')]=[];_0x2fbf7b[_0x477d('0x11f5')]=![];_0x2fbf7b[_0x477d('0x1185')]={'readOnly':!_0x2fbf7b[_0x477d('0xd66')][_0x477d('0xedb')],'allowedItems':[],'selectedItems':[],'showSelectAndDeselectAll':!![],'orderBy':_0x477d('0x94'),'line1':_0x477d('0x94'),'line2':'','line3':'','labelAll':_0x48b1ab[_0x477d('0x45f')](_0x477d('0x20c8')),'labelSelected':_0x48b1ab['instant'](_0x477d('0x20c9')),'transferCallback':function(_0x4856db,_0x43da79){var _0x297661=_[_0x477d('0x11f4')](_0x2fbf7b[_0x477d('0x11fd')],_0x2fbf7b[_0x477d('0x4a7')],'id');_0x2fbf7b[_0x477d('0x11f5')]=_[_0x477d('0x3b2')](_0x297661)?![]:!![];}};_0x2fbf7b[_0x477d('0x71a')]=_0x162549;_0x2fbf7b['saveTeams']=_0x5c28e5;_0x2fbf7b[_0x477d('0x6bf')]=_0x474b87;function _0x162549(){return _0x39cbc5['hasRole'](_0x477d('0x5f'))?_0x524c8d()[_0x477d('0xf8')](function(_0x16b621){_0x28b12[_0x477d('0x44a')]({'title':_0x16b621[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x16b621['status']+_0x477d('0x44c')+_0x16b621[_0x477d('0x44d')]:'SYSTEM:GET_TEAMS','msg':_0x16b621[_0x477d('0x3c3')]?JSON[_0x477d('0x3fb')](_0x16b621['data']):_0x16b621[_0x477d('0x453')]()});}):_0x54090c()[_0x477d('0x76')](function(_0x3285ed){_0x2fbf7b[_0x477d('0xd99')]=_0x3285ed;return _0x524c8d();})[_0x477d('0xf8')](function(_0x5de4d8){_0x28b12[_0x477d('0x44a')]({'title':_0x5de4d8['status']?_0x477d('0x44b')+_0x5de4d8[_0x477d('0x3c3')]+'\x20-\x20'+_0x5de4d8[_0x477d('0x44d')]:_0x477d('0x1204'),'msg':_0x5de4d8[_0x477d('0x3c3')]?JSON[_0x477d('0x3fb')](_0x5de4d8[_0x477d('0x451')]):_0x5de4d8[_0x477d('0x453')]()});});}function _0x54090c(){return _0x1a0696(function(_0x98edf7,_0x238f1d){_0x59cb7f[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x2fbf7b[_0x477d('0x3e5')]['userProfileId'],'name':_0x477d('0x29f')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x5a0c6a){var _0x525590=_0x5a0c6a&&_0x5a0c6a[_0x477d('0xf2')]?_0x5a0c6a[_0x477d('0xf2')][0x0]:null;_0x98edf7(_0x525590);})[_0x477d('0xf8')](function(_0x5a560f){_0x238f1d(_0x5a560f);});});}function _0x524c8d(){return _0x1a0696(function(_0x1c95e2,_0x502c08){return _0x306048()['then'](function(_0x2f02e5){_0x2fbf7b['items']=_0x2f02e5[_0x477d('0xf2')]?_0x2f02e5['rows']:[];if(_0x39cbc5[_0x477d('0x56')](_0x477d('0x5f'))){return _0x2f02e5;}else{if(_0x2fbf7b[_0x477d('0xd99')]){return _0x2fbf7b[_0x477d('0xd99')][_0x477d('0x3ad')]?_0x2f02e5:_0x226df9();}else{return null;}}})['then'](function(_0x3dce8d){var _0x55eeb9=_0x3dce8d&&_0x3dce8d[_0x477d('0xf2')]?_0x3dce8d[_0x477d('0xf2')]:[];_0x2fbf7b['allowedItems']=_['map'](_0x55eeb9,function(_0x5e24a9){return _[_0x477d('0x10a')](_0x2fbf7b[_0x477d('0x4a6')],{'id':_0x39cbc5[_0x477d('0x56')](_0x477d('0x5f'))||_0x2fbf7b[_0x477d('0xd99')][_0x477d('0x3ad')]?_0x5e24a9['id']:_0x5e24a9[_0x477d('0x3af')]});});_0x2fbf7b[_0x477d('0x4a6')][_0x477d('0x3b1')](function(_0x14e14b){var _0x4d506d=_[_0x477d('0x10a')](_0x2fbf7b['allowedItems'],{'id':_0x14e14b['id']});if(_0x39cbc5['hasRole'](_0x477d('0x5f'))){_0x14e14b['isValid']=!![];}else{_0x14e14b['isValid']=typeof _0x4d506d!==_0x477d('0x4a4')?!![]:![];}});return _0x910549();})[_0x477d('0x76')](function(_0x25415f){var _0x368b66=_0x25415f&&_0x25415f['rows']?_0x25415f[_0x477d('0xf2')]:[];_0x2fbf7b['selectedItems']=_[_0x477d('0x3cb')](_0x368b66,function(_0x2efc2e){return _[_0x477d('0x10a')](_0x2fbf7b[_0x477d('0x4a6')],{'id':_0x2efc2e['id']});});_0x2fbf7b[_0x477d('0x11fd')]=angular['copy'](_0x2fbf7b[_0x477d('0x4a7')]);_0x2fbf7b[_0x477d('0x1185')][_0x477d('0x4a7')]=_0x2fbf7b['selectedItems'];_0x2fbf7b[_0x477d('0x1185')][_0x477d('0x4a6')]=_[_0x477d('0x11f8')](_0x2fbf7b[_0x477d('0x11f7')],_0x2fbf7b['dualMultiselectOptions']['selectedItems'],'id');_0x1c95e2();})[_0x477d('0xf8')](function(_0x421465){_0x502c08(_0x421465);});});}function _0x226df9(){return _0x1a0696(function(_0x48d557,_0x43465a){return _0x59cb7f[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x2fbf7b[_0x477d('0xd99')]['id'],'nolimit':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x3209bc){_0x48d557(_0x3209bc);})[_0x477d('0xf8')](function(_0x26c41d){_0x43465a(_0x26c41d);});});}function _0x910549(){return _0x1a0696(function(_0x1633a8,_0x941268){return _0x59cb7f['smsQueue'][_0x477d('0x1205')]({'id':_0x2fbf7b[_0x477d('0xb10')]['id'],'fields':_0x477d('0x9c'),'nolimit':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x54a03c){_0x1633a8(_0x54a03c);})[_0x477d('0xf8')](function(_0x388352){_0x941268(_0x388352);});});}function _0x306048(){return _0x1a0696(function(_0x1efedb,_0x558f34){return _0x59cb7f['team'][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'nolimit':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x3af92b){_0x1efedb(_0x3af92b);})[_0x477d('0xf8')](function(_0x52f537){_0x558f34(_0x52f537);});});}function _0x226a86(_0x2cf95a){return _0x1a0696(function(_0x45faa1,_0x53b45b){if(_[_0x477d('0x3b2')](_0x2cf95a)){_0x45faa1();}else{_0x59cb7f[_0x477d('0xb10')][_0x477d('0x198b')]({'id':_0x2fbf7b['smsQueue']['id'],'ids':_[_0x477d('0x3cb')](_0x2cf95a,'id')})[_0x477d('0x38b')][_0x477d('0x76')](function(){_0x45faa1();})[_0x477d('0xf8')](function(_0x1c2715){_0x53b45b(_0x1c2715);});}});}function _0x1e8b83(_0x1a6b0f){return _0x1a0696(function(_0x1f03ad,_0x1f6169){if(_[_0x477d('0x3b2')](_0x1a6b0f)){_0x1f03ad();}else{_0x59cb7f[_0x477d('0xb10')][_0x477d('0x1206')]({'id':_0x2fbf7b['smsQueue']['id'],'ids':_['map'](_0x1a6b0f,'id')})['$promise'][_0x477d('0x76')](function(){_0x1f03ad();})['catch'](function(_0x47a2fc){_0x1f6169(_0x47a2fc);});}});}function _0x5c28e5(){var _0x16dee0=_[_0x477d('0x11f8')](_0x2fbf7b[_0x477d('0x11fd')],_0x2fbf7b[_0x477d('0x4a7')],'id');var _0xd2ba91=_['differenceBy'](_0x2fbf7b[_0x477d('0x4a7')],_0x2fbf7b[_0x477d('0x11fd')],'id');return _0x1e8b83(_0x16dee0)[_0x477d('0x76')](function(){return _0x226a86(_0xd2ba91);})['then'](function(){_0x2fbf7b['pendingChanges']=![];_0x2fbf7b[_0x477d('0x11f2')]=angular[_0x477d('0x6d9')](_0x2fbf7b[_0x477d('0x11f7')]);_0x2fbf7b[_0x477d('0x11fd')]=angular[_0x477d('0x6d9')](_0x2fbf7b[_0x477d('0x4a7')]);_0x28b12['success']({'title':_0x477d('0x11fe'),'msg':'Teams\x20association\x20has\x20been\x20updated!'});})[_0x477d('0xf8')](function(_0x1c0ac1){_0x28b12['error']({'title':_0x1c0ac1[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x1c0ac1[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x1c0ac1[_0x477d('0x44d')]:_0x477d('0x1200'),'msg':_0x1c0ac1[_0x477d('0x3c3')]?JSON['stringify'](_0x1c0ac1[_0x477d('0x451')]):_0x1c0ac1[_0x477d('0x453')]()});});}function _0x474b87(){_0x35a65b['hide']();}}}());(function(){'use strict';_0x4541c7[_0x477d('0xa')]=[_0x477d('0x3c4'),_0x477d('0xd64'),_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x40d'),_0x477d('0x613'),_0x477d('0xc8e'),_0x477d('0x386'),'toasty',_0x477d('0x55'),_0x477d('0xb10'),_0x477d('0x3ac')];angular['module'](_0x477d('0x32'))[_0x477d('0x3ba')](_0x477d('0x20ca'),_0x4541c7);function _0x4541c7(_0x1e094d,_0x1d4ada,_0x476d86,_0x50fe85,_0x389688,_0x57c999,_0x5e939f,_0x163703,_0x10b9ea,_0x5d5b59,_0xd5cb94,_0x1d62f3){var _0x427f58=this;_0x427f58['currentUser']=_0x5d5b59[_0x477d('0x5c')]();_0x427f58[_0x477d('0x613')]=_0x57c999;_0x427f58[_0x477d('0xc8e')]=_0x5e939f;_0x427f58[_0x477d('0xd69')]=_0x427f58[_0x477d('0xc8e')][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x427f58[_0x477d('0x3cc')]=_0x1d4ada['protocol']()+_0x477d('0x1209')+_0x1d4ada[_0x477d('0x3c9')]();_0x427f58[_0x477d('0xb10')]=_0xd5cb94||_0x1e094d[_0x477d('0x37e')][_0x477d('0xb10')]||{};_0x427f58['userProfileSection']=_0x1d62f3&&_0x1d62f3[_0x477d('0x3bb')]==0x1?_0x1d62f3[_0x477d('0xf2')][0x0]:null;_0x427f58[_0x477d('0xd66')]=_0x5d5b59[_0x477d('0xd81')](_0x427f58[_0x477d('0x3ac')]?_0x427f58['userProfileSection'][_0x477d('0xd66')]:null);_0x427f58[_0x477d('0xd68')]={};_0x427f58[_0x477d('0xe95')]=_0x1e094d[_0x477d('0x37e')]['tab']||0x0;_0x427f58['teamadddialog']=_0x25cce0;_0x427f58[_0x477d('0x1222')]=_0x5c7d19;_0x427f58[_0x477d('0x120a')]=_0x10b9ea[_0x477d('0x669')];_0x427f58[_0x477d('0x20cb')]=_0xf21b98;_0x427f58[_0x477d('0x20cc')]=_0x1926ac;function _0x25cce0(_0x1669f8,_0x2941e7){_0x476d86[_0x477d('0x395')]({'controller':'SmsQueueteamaddController','controllerAs':'vm','templateUrl':_0x477d('0x20cd'),'parent':angular['element'](_0x50fe85[_0x477d('0x399')]),'targetEvent':_0x2941e7,'clickOutsideToClose':!![],'locals':{'smsQueue':_0x1669f8,'smsQueues':_0x427f58[_0x477d('0x1721')]?_0x427f58[_0x477d('0x1721')][_0x477d('0xf2')]:[],'crudPermissions':_0x427f58[_0x477d('0xd66')]}});}function _0x5c7d19(_0x383343,_0x1be834){_0x476d86[_0x477d('0x395')]({'controller':'SmsQueueagentaddController','controllerAs':'vm','templateUrl':_0x477d('0x203b'),'parent':angular[_0x477d('0x398')](_0x50fe85[_0x477d('0x399')]),'targetEvent':_0x1be834,'clickOutsideToClose':!![],'locals':{'smsQueue':_0x383343,'smsQueues':_0x427f58[_0x477d('0x1721')]?_0x427f58[_0x477d('0x1721')][_0x477d('0xf2')]:[],'crudPermissions':_0x427f58[_0x477d('0xd66')],'realtime':![]}});}function _0xf21b98(){_0x1e094d['go'](_0x477d('0x26a'),{},{'reload':_0x477d('0x26a')});}function _0x1926ac(){_0x163703[_0x477d('0xb10')]['update']({'id':_0x427f58[_0x477d('0xb10')]['id']},_0x427f58[_0x477d('0xb10')])['$promise'][_0x477d('0x76')](function(){_0x10b9ea['success']({'title':_0x477d('0x20ce'),'msg':_0x427f58[_0x477d('0xb10')][_0x477d('0x94')]?_0x427f58[_0x477d('0xb10')][_0x477d('0x94')]+_0x477d('0xed7'):''});})[_0x477d('0xf8')](function(_0x218b3b){_0x10b9ea[_0x477d('0x44a')]({'title':_0x218b3b['status']?_0x477d('0x44b')+_0x218b3b[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x218b3b[_0x477d('0x44d')]:_0x477d('0x20cf'),'msg':_0x218b3b[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x218b3b[_0x477d('0x451')]):_0x218b3b[_0x477d('0x453')]()});});}}}());(function(){'use strict';_0x4a5588[_0x477d('0xa')]=[_0x477d('0x474'),'$window',_0x477d('0x3c4'),_0x477d('0x554'),_0x477d('0x384'),'$document','$timeout',_0x477d('0x40d'),'smsQueues','userProfile',_0x477d('0x3ac'),_0x477d('0x386'),_0x477d('0x342'),_0x477d('0x40e'),_0x477d('0x55'),'license',_0x477d('0xc8e')];angular[_0x477d('0xb')](_0x477d('0x32'))[_0x477d('0x3ba')](_0x477d('0x20d0'),_0x4a5588);function _0x4a5588(_0x38a300,_0x3b045c,_0x2fe530,_0x1acc2f,_0x2bc47b,_0x1d2b06,_0x59e8c2,_0x30b16d,_0x55dd2a,_0x5ebc5f,_0x17a4be,_0x41fc30,_0x38bb4f,_0x36456e,_0x23881e,_0x2f01c4,_0xdbdcc2){var _0x40974b=this;_0x40974b['license']=_0x2f01c4;_0x40974b[_0x477d('0xc8e')]=_0xdbdcc2;_0x40974b[_0x477d('0x3e5')]=_0x23881e[_0x477d('0x5c')]();_0x40974b[_0x477d('0x1721')]=_0x55dd2a||{'count':0x0,'rows':[]};_0x40974b[_0x477d('0x3a5')]=_0x5ebc5f;_0x40974b[_0x477d('0x3ac')]=_0x17a4be&&_0x17a4be[_0x477d('0x3bb')]==0x1?_0x17a4be['rows'][0x0]:null;_0x40974b['crudPermissions']=_0x23881e['parseCrudPermissions'](_0x40974b[_0x477d('0x3ac')]?_0x40974b[_0x477d('0x3ac')]['crudPermissions']:null);_0x40974b[_0x477d('0xd82')]=_0x477d('0x1721');_0x40974b[_0x477d('0xd83')]='';_0x40974b['listOrderAsc']=null;_0x40974b['selectedSmsQueues']=[];_0x40974b['query']={'fields':_0x477d('0xb5'),'sort':'-updatedAt','channel':_0x477d('0x26e'),'limit':0xa,'page':0x1};_0x40974b['arraystrategy']=_['keyBy']([{'option':_0x477d('0x1d09'),'value':_0x477d('0x11d2')},{'option':_0x477d('0x1d0a'),'value':_0x477d('0x11d3')}],function(_0x508b53){return _['replace'](_0x508b53[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x40974b[_0x477d('0xea6')]=_0x440519;_0x40974b[_0x477d('0x11d4')]=_0x552543;_0x40974b[_0x477d('0x1222')]=_0x1cbd37;_0x40974b['deleteconfirm']=_0x2273eb;_0x40974b[_0x477d('0x11d5')]=_0x4bb9aa;_0x40974b['success']=_0x513850;_0x40974b['getSmsQueues']=_0x1861b9;_0x40974b[_0x477d('0x2037')]=_0x2a40af;_0x40974b['deleteSmsQueue']=_0x4d4e94;_0x40974b[_0x477d('0x20d1')]=_0x40e591;_0x40974b[_0x477d('0x20d2')]=_0x53d27d;_0x40974b[_0x477d('0x20d3')]=_0x10f97f;_0x40974b[_0x477d('0x20d4')]=_0xf2dfdd;function _0x440519(_0x40de34,_0x2e6671){_0x2fe530['go']('app.sms.smsQueues.edit',{'id':_0x40de34['id'],'smsQueue':_0x40de34,'crudPermissions':_0x40974b[_0x477d('0xd66')]});}function _0x552543(_0xc35774,_0x84d734){_0x2bc47b[_0x477d('0x395')]({'controller':_0x477d('0x20c7'),'controllerAs':'vm','templateUrl':'app/main/apps/sms/views/smsQueues/edit/teamadd/teamadd.html','parent':angular['element'](_0x1d2b06[_0x477d('0x399')]),'targetEvent':_0x84d734,'clickOutsideToClose':!![],'locals':{'smsQueue':_0xc35774,'smsQueues':_0x40974b[_0x477d('0x1721')]?_0x40974b[_0x477d('0x1721')][_0x477d('0xf2')]:[],'crudPermissions':_0x40974b[_0x477d('0xd66')]}});}function _0x1cbd37(_0x139659,_0x28b006){_0x2bc47b[_0x477d('0x395')]({'controller':_0x477d('0x203a'),'controllerAs':'vm','templateUrl':_0x477d('0x203b'),'parent':angular['element'](_0x1d2b06[_0x477d('0x399')]),'targetEvent':_0x28b006,'clickOutsideToClose':!![],'locals':{'smsQueue':_0x139659,'smsQueues':_0x40974b['smsQueues']?_0x40974b[_0x477d('0x1721')][_0x477d('0xf2')]:[],'crudPermissions':_0x40974b[_0x477d('0xd66')],'realtime':![]}});}function _0x2273eb(_0x42ea49,_0x2e0fba){var _0x9dec56=_0x2bc47b[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xd90')+_['startCase'](_0x477d('0xb10'))+'?')[_0x477d('0xd92')](_0x477d('0xd93')+(_0x42ea49[_0x477d('0x94')]||_0x477d('0xb10'))+_0x477d('0xd94')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x20d5'))[_0x477d('0xd7c')](_0x2e0fba)['ok']('OK')[_0x477d('0x4f0')]('CANCEL');_0x2bc47b[_0x477d('0x395')](_0x9dec56)['then'](function(){_0x4d4e94(_0x42ea49);},function(){console[_0x477d('0x7b')]('CANCEL');});}function _0x4bb9aa(_0x4437d1,_0x564acd){if(_0x23881e[_0x477d('0x56')](_0x477d('0x5f'))){_0x2fe530['go'](_0x477d('0x27c'),{});}else{return _0x41fc30[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x23881e[_0x477d('0x5c')]()['userProfileId'],'sectionId':0x2c6})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x17b1e3){var _0xfbafd6=_0x17b1e3&&_0x17b1e3[_0x477d('0xf2')]?_0x17b1e3[_0x477d('0xf2')][0x0]:null;if(_0xfbafd6&&_0xfbafd6[_0x477d('0x3b4')]){_0x2fe530['go'](_0x477d('0x27c'),{});}else{_0x36456e['info']({'title':_0x30b16d[_0x477d('0x45f')](_0x477d('0x119d')),'msg':_0x30b16d[_0x477d('0x45f')]('STAFF.PERMISSIONS_UNAUTHORIZED_REDIRECT_MESSAGE')});}})['catch'](function(_0x29d40d){_0x36456e[_0x477d('0x44a')]({'title':_0x29d40d[_0x477d('0x3c3')]?'API:'+_0x29d40d[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x29d40d['statusText']:'USERPROFILE:GET_SECTION','msg':_0x29d40d[_0x477d('0x3c3')]?JSON[_0x477d('0x3fb')](_0x29d40d[_0x477d('0x451')]):_0x29d40d[_0x477d('0x453')]()});});}}var _0x380111=!![];var _0x4bf1e8=0x1;_0x38a300['$watch'](_0x477d('0xd98'),function(_0x57f39a,_0x1e0b08){if(_0x380111){_0x59e8c2(function(){_0x380111=![];});}else{if(!_0x1e0b08){_0x4bf1e8=_0x40974b[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x57f39a!==_0x1e0b08){_0x40974b[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0x57f39a){_0x40974b['query'][_0x477d('0xe03')]=_0x4bf1e8;}_0x40974b[_0x477d('0x1725')]();}});function _0x513850(_0x27c101){_0x40974b[_0x477d('0x1721')]=_0x27c101||{'count':0x0,'rows':[]};}function _0x1861b9(){_0x40974b[_0x477d('0x3ef')][_0x477d('0x91c')]=(_0x40974b[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x40974b[_0x477d('0x3ef')][_0x477d('0x91d')];if(_0x23881e[_0x477d('0x56')]('admin')){_0x40974b[_0x477d('0x553')]=_0x41fc30[_0x477d('0xb10')]['get'](_0x40974b[_0x477d('0x3ef')],_0x513850)[_0x477d('0x38b')];}else{_0x40974b[_0x477d('0x3ef')]['id']=_0x40974b[_0x477d('0x3a5')]['id'];_0x40974b[_0x477d('0x3ef')][_0x477d('0xd99')]=_0x477d('0x27f');_0x40974b[_0x477d('0x553')]=_0x41fc30['userProfile'][_0x477d('0xd9a')](_0x40974b['query'],_0x513850)[_0x477d('0x38b')];}}function _0x2a40af(_0x602324,_0x15f0bf){_0x2bc47b['show']({'controller':_0x477d('0x2039'),'controllerAs':'vm','templateUrl':'app/main/apps/sms/views/smsQueues/create/dialog.html','parent':angular[_0x477d('0x398')](_0x1d2b06[_0x477d('0x399')]),'targetEvent':_0x602324,'clickOutsideToClose':!![],'locals':{'smsQueue':_0x15f0bf,'smsQueues':_0x40974b[_0x477d('0x1721')][_0x477d('0xf2')],'license':_0x40974b[_0x477d('0x613')],'setting':_0x40974b['setting'],'crudPermissions':_0x40974b['crudPermissions']}});}function _0x4d4e94(_0x3aed71){_0x41fc30[_0x477d('0xb10')][_0x477d('0xa55')]({'id':_0x3aed71['id']})['$promise'][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x40974b[_0x477d('0x1721')][_0x477d('0xf2')],{'id':_0x3aed71['id']});_0x40974b[_0x477d('0x1721')]['count']-=0x1;if(!_0x40974b[_0x477d('0x1721')][_0x477d('0xf2')][_0x477d('0x79')]){_0x40974b[_0x477d('0x1725')]();}_0x36456e[_0x477d('0x485')]({'title':_[_0x477d('0xd91')](_0x477d('0x20d6'))+_0x477d('0xd9d'),'msg':_0x3aed71[_0x477d('0x94')]?_0x3aed71[_0x477d('0x94')]+_0x477d('0xd7e'):''});})[_0x477d('0xf8')](function(_0x340fa3){if(_0x340fa3[_0x477d('0x451')]&&_0x340fa3[_0x477d('0x451')][_0x477d('0xd67')]&&_0x340fa3[_0x477d('0x451')][_0x477d('0xd67')]['length']){_0x40974b[_0x477d('0xd67')]=_0x340fa3[_0x477d('0x451')]['errors']||[{'message':_0x340fa3[_0x477d('0x453')](),'type':'SYSTEM:DELETEsmsQueue'}];for(var _0x2483b8=0x0;_0x2483b8<_0x340fa3[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x2483b8++){_0x36456e[_0x477d('0x44a')]({'title':_0x340fa3['data']['errors'][_0x2483b8][_0x477d('0x439')],'msg':_0x340fa3[_0x477d('0x451')][_0x477d('0xd67')][_0x2483b8]['message']});}}else{_0x36456e[_0x477d('0x44a')]({'title':_0x340fa3[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x340fa3[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x340fa3['statusText']:_0x477d('0x20d7'),'msg':_0x340fa3[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x340fa3[_0x477d('0x451')]['message']):_0x340fa3[_0x477d('0x452')]||_0x340fa3[_0x477d('0x453')]()});}});}function _0x40e591(){var _0x2db80c=angular[_0x477d('0x6d9')](_0x40974b[_0x477d('0x20d8')]);_0x40974b[_0x477d('0x20d8')]=[];return _0x2db80c;}function _0x53d27d(_0xa3a4ae){var _0x39ec2b=_0x2bc47b[_0x477d('0xd78')]()['title']('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20smsQueues?')[_0x477d('0xd92')](_0x477d('0xd93')+_0x40974b[_0x477d('0x20d8')][_0x477d('0x79')]+_0x477d('0xda0')+_0x477d('0xd95'))['ariaLabel']('delete\x20SmsQueues')[_0x477d('0xd7c')](_0xa3a4ae)['ok']('OK')[_0x477d('0x4f0')]('CANCEL');_0x2bc47b['show'](_0x39ec2b)['then'](function(){_0x40974b['selectedSmsQueues']['forEach'](function(_0x351f1b){_0x4d4e94(_0x351f1b);});_0x40974b[_0x477d('0x20d8')]=[];});}function _0x10f97f(){_0x40974b[_0x477d('0x20d8')]=[];}function _0xf2dfdd(){_0x40974b[_0x477d('0x20d8')]=_0x40974b[_0x477d('0x1721')][_0x477d('0xf2')];}}}());(function(){'use strict';_0x53f2ac[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x387'),_0x477d('0x3c4'),'$mdSidenav',_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x3fe'),_0x477d('0x40d'),_0x477d('0x125c'),_0x477d('0x3a5'),_0x477d('0x3ac'),_0x477d('0x386'),_0x477d('0x342'),'toasty',_0x477d('0x55'),'license',_0x477d('0xc8e')];angular['module']('app.staff')[_0x477d('0x3ba')](_0x477d('0x20d9'),_0x53f2ac);function _0x53f2ac(_0x2c844b,_0x46427b,_0xc4cd06,_0x35908c,_0x409fe6,_0x54f83a,_0x198860,_0x31b192,_0x275c03,_0x4cc814,_0x2dcf2e,_0x22dff0,_0x13ae84,_0x34861a,_0x9bb83,_0x41b7aa,_0x2c3976){var _0x2470b4=this;_0x2470b4[_0x477d('0x613')]=_0x41b7aa;_0x2470b4[_0x477d('0xc8e')]=_0x2c3976;_0x2470b4[_0x477d('0x3e5')]=_0x9bb83[_0x477d('0x5c')]();_0x2470b4[_0x477d('0x125c')]=_0x275c03||{'count':0x0,'rows':[]};_0x2470b4[_0x477d('0x3a5')]=_0x4cc814;_0x2470b4[_0x477d('0x3ac')]=_0x2dcf2e&&_0x2dcf2e[_0x477d('0x3bb')]==0x1?_0x2dcf2e['rows'][0x0]:null;_0x2470b4[_0x477d('0xd66')]=_0x9bb83[_0x477d('0xd81')](_0x2470b4['userProfileSection']?_0x2470b4[_0x477d('0x3ac')][_0x477d('0xd66')]:null);_0x2470b4['table']='agents';_0x2470b4['listOrder']='';_0x2470b4['listOrderAsc']=null;_0x2470b4['selectedAgents']=[];_0x2470b4[_0x477d('0x3ef')]={'fields':_0x477d('0x28c'),'role':_0x477d('0xcf'),'sort':'-updatedAt','limit':0xa,'page':0x1};_0x2470b4[_0x477d('0x20da')]=_[_0x477d('0xdb5')]([{'option':'Phonebar','value':'0'},{'option':_0x477d('0x20db'),'value':'1'},{'option':_0x477d('0x20dc'),'value':'2'}],function(_0x1b3892){return _[_0x477d('0x409')](_0x1b3892[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x2470b4[_0x477d('0x20dd')]=_[_0x477d('0xdb5')]([{'option':_0x477d('0x20de'),'value':_0x477d('0x20df')},{'option':_0x477d('0x20e0'),'value':'\x27tcp\x27'},{'option':'ws','value':_0x477d('0x20e1'),'ngIf':'vm.agent.showWebBar\x20==\x201'},{'option':_0x477d('0x20e2'),'value':_0x477d('0x20e3'),'ngIf':_0x477d('0x20e4')},{'option':_0x477d('0x20e5'),'value':'\x27tls\x27','ngIf':_0x477d('0x20e4')}],function(_0x3cbbe3){return _[_0x477d('0x409')](_0x3cbbe3['value'],new RegExp('\x27','g'),'');});_0x2470b4['arraynat']=_['keyBy']([{'option':_0x477d('0x20e6'),'value':'\x27force_rport\x27'},{'option':_0x477d('0x20e7'),'value':_0x477d('0x20e8')},{'option':_0x477d('0xf6b'),'value':_0x477d('0x1e91')},{'option':'no','value':_0x477d('0x1271')},{'option':_0x477d('0x1e0a'),'value':_0x477d('0x1d52')},{'option':_0x477d('0x442'),'value':_0x477d('0x20e9')}],function(_0x55654d){return _[_0x477d('0x409')](_0x55654d[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x2470b4['arraytype']=_[_0x477d('0xdb5')]([{'option':'Friend','value':_0x477d('0x20ea')},{'option':_0x477d('0x167b'),'value':_0x477d('0x20eb')},{'option':_0x477d('0x20ec'),'value':'\x27peer\x27'}],function(_0x14f6ec){return _[_0x477d('0x409')](_0x14f6ec['value'],new RegExp('\x27','g'),'');});_0x2470b4[_0x477d('0x20ed')]=_[_0x477d('0xdb5')]([{'option':'ulaw','value':_0x477d('0x20ee')},{'option':'alaw','value':_0x477d('0x20ef')},{'option':_0x477d('0xf77'),'value':_0x477d('0x1e96')},{'option':'g722','value':_0x477d('0x20f0')},{'option':_0x477d('0x20f1'),'value':'\x27g729\x27'},{'option':_0x477d('0x20f2'),'value':_0x477d('0x20f3')},{'option':_0x477d('0x20f4'),'value':_0x477d('0x20f5')}],function(_0x22ccf2){return _[_0x477d('0x409')](_0x22ccf2[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x2470b4['arrayvideosupport']=_['keyBy']([{'option':_0x477d('0xf6c'),'value':_0x477d('0x1e91')},{'option':'No','value':_0x477d('0x1271')},{'option':_0x477d('0x1d4d'),'value':_0x477d('0x1e24')}],function(_0xe73a7){return _[_0x477d('0x409')](_0xe73a7[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x2470b4['arrayextensionMonitor']=_[_0x477d('0xdb5')]([{'option':_0x477d('0x1e93'),'value':'\x27\x27'},{'option':_0x477d('0xf75'),'value':_0x477d('0x1e94')},{'option':_0x477d('0x20f6'),'value':_0x477d('0x20f7')},{'option':_0x477d('0xf77'),'value':_0x477d('0x1e96')}],function(_0xf34b78){return _[_0x477d('0x409')](_0xf34b78[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x2470b4[_0x477d('0xea6')]=_0x64551f;_0x2470b4[_0x477d('0x11d4')]=_0x3fea2b;_0x2470b4[_0x477d('0xd88')]=_0x4e483a;_0x2470b4[_0x477d('0x485')]=_0x4b4d49;_0x2470b4[_0x477d('0x11f9')]=_0x202900;_0x2470b4[_0x477d('0x20f8')]=_0x5eacc4;_0x2470b4[_0x477d('0x20f9')]=_0x110773;_0x2470b4[_0x477d('0x20fa')]=_0xa42de0;_0x2470b4[_0x477d('0x20fb')]=_0xd837bd;_0x2470b4['deselectAgents']=_0x445b30;_0x2470b4['selectAllAgents']=_0x4190a4;function _0x64551f(_0x1a49c9,_0x470057){_0xc4cd06['go'](_0x477d('0x28d'),{'id':_0x1a49c9['id'],'agent':_0x1a49c9,'crudPermissions':_0x2470b4[_0x477d('0xd66')]});}function _0x3fea2b(_0x398b93,_0x516f02){_0x409fe6[_0x477d('0x395')]({'controller':_0x477d('0x20fc'),'controllerAs':'vm','templateUrl':_0x477d('0x20fd'),'parent':angular['element'](_0x54f83a[_0x477d('0x399')]),'targetEvent':_0x516f02,'clickOutsideToClose':!![],'locals':{'agent':_0x398b93,'agents':_0x2470b4[_0x477d('0x125c')]?_0x2470b4[_0x477d('0x125c')][_0x477d('0xf2')]:[],'crudPermissions':_0x2470b4['crudPermissions']}});}function _0x4e483a(_0x1e80a9,_0x20b66c){var _0x3fe943=_0x409fe6[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xd90')+_[_0x477d('0xd91')](_0x477d('0xcf'))+'?')[_0x477d('0xd92')](''+(_0x1e80a9[_0x477d('0x94')]||_0x477d('0xcf'))+_0x477d('0xd94')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x20fe'))['targetEvent'](_0x20b66c)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x409fe6[_0x477d('0x395')](_0x3fe943)[_0x477d('0x76')](function(){_0x110773(_0x1e80a9);},function(){console[_0x477d('0x7b')]('CANCEL');});}var _0x3acefd=!![];var _0x217125=0x1;_0x2c844b['$watch']('vm.query.filter',function(_0x3e4f89,_0x419976){if(_0x3acefd){_0x198860(function(){_0x3acefd=![];});}else{if(!_0x419976){_0x217125=_0x2470b4[_0x477d('0x3ef')]['page'];}if(_0x3e4f89!==_0x419976){_0x2470b4['query'][_0x477d('0xe03')]=0x1;}if(!_0x3e4f89){_0x2470b4[_0x477d('0x3ef')]['page']=_0x217125;}_0x2470b4[_0x477d('0x11f9')]();}});function _0x4b4d49(_0x116cbd){_0x2470b4[_0x477d('0x125c')]=_0x116cbd||{'count':0x0,'rows':[]};}function _0x202900(){_0x2470b4[_0x477d('0x3ef')][_0x477d('0x91c')]=(_0x2470b4[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x2470b4[_0x477d('0x3ef')][_0x477d('0x91d')];if(_0x9bb83[_0x477d('0x56')](_0x477d('0x5f'))){_0x2470b4[_0x477d('0x553')]=_0x22dff0[_0x477d('0x380')][_0x477d('0x376')](_0x2470b4[_0x477d('0x3ef')],_0x4b4d49)[_0x477d('0x38b')];}else{_0x2470b4[_0x477d('0x3ef')]['id']=_0x2470b4[_0x477d('0x3a5')]['id'];_0x2470b4[_0x477d('0x3ef')][_0x477d('0xd99')]=_0x477d('0xce');_0x2470b4[_0x477d('0x553')]=_0x22dff0[_0x477d('0x3a5')][_0x477d('0xd9a')](_0x2470b4[_0x477d('0x3ef')],_0x4b4d49)['$promise'];}}function _0x5eacc4(_0x31d826,_0x1b0735){_0x409fe6['show']({'controller':_0x477d('0x20ff'),'controllerAs':'vm','templateUrl':_0x477d('0x2100'),'parent':angular[_0x477d('0x398')](_0x54f83a[_0x477d('0x399')]),'targetEvent':_0x31d826,'clickOutsideToClose':!![],'locals':{'agent':_0x1b0735,'agents':_0x2470b4[_0x477d('0x125c')][_0x477d('0xf2')],'license':_0x2470b4[_0x477d('0x613')],'setting':_0x2470b4[_0x477d('0xc8e')],'crudPermissions':_0x2470b4[_0x477d('0xd66')]}});}function _0x110773(_0x5dc269){_0x22dff0[_0x477d('0x380')][_0x477d('0xa55')]({'id':_0x5dc269['id']})[_0x477d('0x38b')]['then'](function(){_[_0x477d('0x39c')](_0x2470b4[_0x477d('0x125c')][_0x477d('0xf2')],{'id':_0x5dc269['id']});_0x2470b4[_0x477d('0x125c')]['count']-=0x1;if(!_0x2470b4[_0x477d('0x125c')][_0x477d('0xf2')][_0x477d('0x79')]){_0x2470b4[_0x477d('0x11f9')]();}_0x34861a['success']({'title':_[_0x477d('0xd91')](_0x477d('0x125d'))+'\x20deleted!','msg':_0x5dc269['name']?_0x5dc269['name']+_0x477d('0xd7e'):''});})[_0x477d('0xf8')](function(_0x13a7c3){if(_0x13a7c3['data']&&_0x13a7c3['data'][_0x477d('0xd67')]&&_0x13a7c3[_0x477d('0x451')]['errors']['length']){_0x2470b4[_0x477d('0xd67')]=_0x13a7c3[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x13a7c3[_0x477d('0x453')](),'type':_0x477d('0x2101')}];for(var _0x29e430=0x0;_0x29e430<_0x13a7c3[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x29e430++){_0x34861a['error']({'title':_0x13a7c3[_0x477d('0x451')][_0x477d('0xd67')][_0x29e430][_0x477d('0x439')],'msg':_0x13a7c3['data'][_0x477d('0xd67')][_0x29e430]['message']});}}else{_0x34861a[_0x477d('0x44a')]({'title':_0x13a7c3[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x13a7c3[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x13a7c3[_0x477d('0x44d')]:_0x477d('0x2101'),'msg':_0x13a7c3[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x13a7c3['data'][_0x477d('0x452')]):_0x13a7c3['message']||_0x13a7c3['toString']()});}});}function _0xa42de0(){var _0x21d87a=angular[_0x477d('0x6d9')](_0x2470b4['selectedAgents']);_0x2470b4[_0x477d('0x2102')]=[];return _0x21d87a;}function _0xd837bd(_0x103d38){var _0x16a65d=_0x409fe6['confirm']()['title']('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20agents?')[_0x477d('0xd92')](_0x477d('0xd93')+_0x2470b4[_0x477d('0x2102')][_0x477d('0x79')]+_0x477d('0xda0')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x2103'))[_0x477d('0xd7c')](_0x103d38)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x409fe6['show'](_0x16a65d)['then'](function(){_0x2470b4[_0x477d('0x2102')][_0x477d('0x3b1')](function(_0x5884b6){_0x110773(_0x5884b6);});_0x2470b4[_0x477d('0x2102')]=[];});}function _0x445b30(){_0x2470b4['selectedAgents']=[];}function _0x4190a4(){_0x2470b4[_0x477d('0x2102')]=_0x2470b4[_0x477d('0x125c')][_0x477d('0xf2')];}}}());(function(){'use strict';_0x16061f[_0x477d('0xa')]=['$scope',_0x477d('0x3c4'),'$location',_0x477d('0x384'),'$q',_0x477d('0x40d'),_0x477d('0x40e'),'agents',_0x477d('0xcf'),'api',_0x477d('0x55'),_0x477d('0x613'),'setting','crudPermissions'];angular[_0x477d('0xb')]('app.staff')[_0x477d('0x3ba')](_0x477d('0x20ff'),_0x16061f);function _0x16061f(_0x1c1429,_0xe4662c,_0x1fa8b2,_0x341c8d,_0x5dc198,_0x112312,_0x5530aa,_0x52c224,_0xc957b7,_0x565bdb,_0x25de00,_0x2aba5e,_0x53763e,_0x3f7793){var _0x46d8bb=this;_0x46d8bb[_0x477d('0x3e5')]=_0x25de00[_0x477d('0x5c')]();_0x46d8bb[_0x477d('0xd67')]=[];_0x46d8bb[_0x477d('0xc8e')]=_0x53763e;_0x46d8bb[_0x477d('0x613')]=_0x2aba5e;_0x46d8bb[_0x477d('0xd66')]=_0x3f7793;_0x46d8bb[_0x477d('0xd68')]={};_0x46d8bb[_0x477d('0xd69')]=_0x46d8bb[_0x477d('0xc8e')]&&_0x46d8bb['setting'][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x46d8bb[_0x477d('0x49a')]=_0x477d('0x2104');_0x46d8bb[_0x477d('0xcf')]=angular[_0x477d('0x6d9')](_0xc957b7);_0x46d8bb[_0x477d('0x125c')]=_0x52c224;_0x46d8bb[_0x477d('0x2105')]=![];if(!_0x46d8bb[_0x477d('0xcf')]){_0x46d8bb[_0x477d('0xcf')]={'role':'agent','showWebBar':'0','autointernal':!![],'type':_0x477d('0x2106'),'context':_0x477d('0x2107'),'phoneBarRemoteControl':!![],'phoneBarRemoteControlPort':0x26a0,'allowmessenger':!![]};_0x46d8bb['title']=_0x477d('0x2108');_0x46d8bb[_0x477d('0x2105')]=!![];}_0x46d8bb[_0x477d('0x2109')]=_0x2bacad;_0x46d8bb[_0x477d('0x210a')]=_0x9c594b;_0x46d8bb[_0x477d('0x20f9')]=_0x4db930;_0x46d8bb['getDateFromString']=_0x3f7c44;_0x46d8bb[_0x477d('0x6bf')]=_0x4c927d;function _0x2bacad(){_0x46d8bb[_0x477d('0xd67')]=[];_0x565bdb[_0x477d('0x380')][_0x477d('0xd70')](_0x46d8bb[_0x477d('0xcf')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x5041b0){_0x46d8bb[_0x477d('0x125c')]['unshift'](_0x5041b0[_0x477d('0xd71')]());_0x5530aa[_0x477d('0x485')]({'title':_0x477d('0x210b'),'msg':_0x46d8bb['agent'][_0x477d('0x94')]?_0x46d8bb[_0x477d('0xcf')][_0x477d('0x94')]+'\x20has\x20been\x20created!':''});_0x4c927d(_0x5041b0);})[_0x477d('0xf8')](function(_0x112aaa){if(_0x112aaa[_0x477d('0x451')]&&_0x112aaa['data'][_0x477d('0xd67')]&&_0x112aaa['data'][_0x477d('0xd67')][_0x477d('0x79')]){_0x46d8bb[_0x477d('0xd67')]=_0x112aaa[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x112aaa[_0x477d('0x453')](),'type':'api.user.save'}];for(var _0x1f60cc=0x0;_0x1f60cc<_0x112aaa[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x1f60cc+=0x1){_0x5530aa[_0x477d('0x44a')]({'title':_0x112aaa['data'][_0x477d('0xd67')][_0x1f60cc][_0x477d('0x439')],'msg':_0x112aaa[_0x477d('0x451')][_0x477d('0xd67')][_0x1f60cc][_0x477d('0x452')]});}}else{_0x5530aa[_0x477d('0x44a')]({'title':_0x112aaa[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x112aaa[_0x477d('0x3c3')]+'\x20-\x20'+_0x112aaa[_0x477d('0x44d')]:'api.user.save','msg':_0x112aaa[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x112aaa[_0x477d('0x451')][_0x477d('0x452')]):_0x112aaa[_0x477d('0x453')]()});}});}function _0x9c594b(){_0x46d8bb[_0x477d('0xd67')]=[];_0x565bdb['user'][_0x477d('0x710')]({'id':_0x46d8bb['agent']['id']},_0x46d8bb['agent'])['$promise'][_0x477d('0x76')](function(_0x5a077f){var _0x12d8b9=_[_0x477d('0x10a')](_0x46d8bb[_0x477d('0x125c')],{'id':_0x5a077f['id']});if(_0x12d8b9){_[_0x477d('0xef')](_0x12d8b9,_[_0x477d('0x10b')](_0x5a077f['toJSON'](),_[_0x477d('0x7f')](_0x12d8b9)));}_0x5530aa[_0x477d('0x485')]({'title':_0x477d('0x210c'),'msg':_0x46d8bb['agent']['name']?_0x46d8bb[_0x477d('0xcf')]['name']+'\x20has\x20been\x20saved!':''});_0x4c927d(_0x5a077f);})[_0x477d('0xf8')](function(_0x493264){if(_0x493264[_0x477d('0x451')]&&_0x493264[_0x477d('0x451')][_0x477d('0xd67')]&&_0x493264[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x46d8bb[_0x477d('0xd67')]=_0x493264[_0x477d('0x451')]['errors']||[{'message':_0x493264[_0x477d('0x453')](),'type':_0x477d('0x19b0')}];for(var _0x39ad56=0x0;_0x39ad56<_0x493264[_0x477d('0x451')]['errors'][_0x477d('0x79')];_0x39ad56++){_0x5530aa[_0x477d('0x44a')]({'title':_0x493264[_0x477d('0x451')][_0x477d('0xd67')][_0x39ad56][_0x477d('0x439')],'msg':_0x493264['data'][_0x477d('0xd67')][_0x39ad56]['message']});}}else{_0x5530aa[_0x477d('0x44a')]({'title':_0x493264['status']?_0x477d('0x44b')+_0x493264[_0x477d('0x3c3')]+'\x20-\x20'+_0x493264[_0x477d('0x44d')]:'api.user.update','msg':_0x493264[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x493264[_0x477d('0x451')][_0x477d('0x452')]):_0x493264['toString']()});}});}function _0x4db930(_0x54b62c){_0x46d8bb['errors']=[];var _0x116546=_0x341c8d[_0x477d('0xd78')]()['title'](_0x477d('0xd79'))['content'](_0x477d('0x210d'))[_0x477d('0x687')](_0x477d('0x210e'))['ok'](_0x477d('0xd7b'))['cancel'](_0x477d('0x688'))[_0x477d('0xd7c')](_0x54b62c);_0x341c8d['show'](_0x116546)[_0x477d('0x76')](function(){_0x565bdb[_0x477d('0x380')][_0x477d('0xa55')]({'id':_0x46d8bb[_0x477d('0xcf')]['id']})[_0x477d('0x38b')]['then'](function(){_['remove'](_0x46d8bb[_0x477d('0x125c')],{'id':_0x46d8bb[_0x477d('0xcf')]['id']});_0x5530aa['success']({'title':'Agent\x20properly\x20deleted!','msg':(_0x46d8bb['agent'][_0x477d('0x94')]||_0x477d('0xcf'))+_0x477d('0xd7e')});_0x4c927d(_0x46d8bb['agent']);})[_0x477d('0xf8')](function(_0x5af2ac){if(_0x5af2ac['data']&&_0x5af2ac[_0x477d('0x451')]['errors']&&_0x5af2ac[_0x477d('0x451')][_0x477d('0xd67')]['length']){_0x46d8bb[_0x477d('0xd67')]=_0x5af2ac[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x5af2ac[_0x477d('0x453')](),'type':_0x477d('0x210f')}];for(var _0x12448d=0x0;_0x12448d<_0x5af2ac['data'][_0x477d('0xd67')]['length'];_0x12448d++){_0x5530aa[_0x477d('0x44a')]({'title':_0x5af2ac[_0x477d('0x451')][_0x477d('0xd67')][_0x12448d][_0x477d('0x439')],'msg':_0x5af2ac[_0x477d('0x451')][_0x477d('0xd67')][_0x12448d]['message']});}}else{_0x5530aa[_0x477d('0x44a')]({'title':_0x5af2ac['status']?'API:'+_0x5af2ac[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x5af2ac[_0x477d('0x44d')]:_0x477d('0x210f'),'msg':_0x5af2ac[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x5af2ac[_0x477d('0x451')][_0x477d('0x452')]):_0x5af2ac[_0x477d('0x452')]||_0x5af2ac['toString']()});}});},function(){});}function _0x3f7c44(_0x37a8eb){return _0x37a8eb===null?undefined:new Date(_0x37a8eb);}function _0x4c927d(_0x452c89){_0x341c8d[_0x477d('0x3bc')](_0x452c89);}}}());(function(){'use strict';_0x4c76e5[_0x477d('0xa')]=['$cookies',_0x477d('0x40e')];angular[_0x477d('0xb')](_0x477d('0x2d'))[_0x477d('0x3ba')](_0x477d('0x2110'),_0x4c76e5);function _0x4c76e5(_0x54c975,_0x584377){var _0x27ad7e=this;var _0x54dcb8=0x8;var _0x12175c=_0x54dcb8*0x400*0x400;_0x27ad7e[_0x477d('0xcf')]={};_0x27ad7e['crudPermissions'];_0x27ad7e['ngFlowOptions']={'singleFile':!![],'maxChunkRetries':0x1,'chunkSize':_0x12175c,'simultaneousUploads':0x1,'testChunks':![],'progressCallbacksInterval':0x3e8,'allowDuplicateUploads':!![]};_0x27ad7e[_0x477d('0x129f')]={'flow':{}};_0x27ad7e[_0x477d('0x1175')]=![];_0x27ad7e[_0x477d('0x1176')]=_0x53d61f;_0x27ad7e[_0x477d('0x12a0')]=_0x65a866;_0x27ad7e[_0x477d('0x133a')]=_0x269175;_0x27ad7e[_0x477d('0x5ee')]=_0x9ad6a1;function _0x9ad6a1(_0x51e539,_0x455a8c){_0x27ad7e[_0x477d('0xcf')]=angular[_0x477d('0x6d9')](_0x51e539);_0x27ad7e[_0x477d('0xd66')]=typeof _0x455a8c!==_0x477d('0x4a4')?_0x455a8c:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x27ad7e[_0x477d('0x1174')][_0x477d('0x378')]=_0x477d('0x2111')+_0x27ad7e[_0x477d('0xcf')]['id']+_0x477d('0x2112');_0x27ad7e[_0x477d('0xcf')]['images']=[];}function _0x53d61f(_0x19d065){var _0x2a842e=[_0x477d('0x12a3'),_0x477d('0x12a4')];if(!_[_0x477d('0x3a4')](_0x2a842e,_0x19d065[_0x477d('0x1178')]())){_0x584377[_0x477d('0x44a')]({'title':_0x477d('0x133d')+_0x19d065[_0x477d('0x1178')](),'msg':_0x477d('0x12a5')+_0x2a842e[_0x477d('0x3f6')]()});return![];}if(_0x19d065[_0x477d('0x117b')]>_0x12175c){_0x584377[_0x477d('0x44a')]({'title':_0x477d('0x12a6'),'msg':_0x477d('0x133e')+_0x54dcb8+'MB'});return![];}var _0x12005a={'id':_0x19d065[_0x477d('0x12a7')],'file':_0x19d065,'type':_0x477d('0x133f')};_0x27ad7e[_0x477d('0xcf')][_0x477d('0x12a2')][_0x477d('0x63b')](_0x12005a);return!![];}function _0x65a866(){_0x27ad7e[_0x477d('0x129f')][_0x477d('0xae')][_0x477d('0x12a8')][_0x477d('0x3c0')]={'X-Requested-With':_0x477d('0x12a9'),'Authorization':_0x477d('0x12aa')+_0x54c975['get'](_0x477d('0x389'))};_0x27ad7e[_0x477d('0x129f')][_0x477d('0xae')][_0x477d('0x12a0')]();}function _0x269175(_0x77910,_0x251262){angular[_0x477d('0x3b1')](_0x27ad7e['agent'][_0x477d('0x12a2')],function(_0x29e928,_0x257fc8){if(_0x29e928['id']===_0x77910[_0x477d('0x12a7')]){var _0xba012d=new FileReader();_0xba012d['readAsDataURL'](_0x29e928['file']['file']);_0xba012d['onload']=function(_0x34e94e){_0x29e928[_0x477d('0x3c1')]=_0x34e94e[_0x477d('0x378')]['result'];};_0x29e928[_0x477d('0x439')]='image';}});}}}());(function(){'use strict';_0xab3f84[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x384'),_0x477d('0x40e'),_0x477d('0x386'),'agent','setting',_0x477d('0x55')];angular['module']('app.staff')[_0x477d('0x3ba')]('AgentchangepasswordController',_0xab3f84);function _0xab3f84(_0x117825,_0x22b78b,_0xc51b3c,_0x3f130e,_0x3755a2,_0x268b1e,_0x562e9b){var _0x271301=this;_0x271301[_0x477d('0x3e5')]=_0x562e9b[_0x477d('0x5c')]();_0x271301[_0x477d('0xd67')]=[];_0x271301[_0x477d('0xc8e')]=_0x268b1e;_0x271301[_0x477d('0xd69')]=_0x271301[_0x477d('0xc8e')][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x271301['agent']=_0x3755a2;_0x271301[_0x477d('0x5d3')]='';_0x271301[_0x477d('0x2113')]='';_0x271301['savePassword']=_0x166932;_0x271301['closeDialog']=_0x5254db;_0x117825[_0x477d('0x4b5')](_0x477d('0x2114'),function(_0x49113e,_0x24450c){if(!_[_0x477d('0x484')](_0x271301['oldPassword'])){if(_0x49113e===_0x271301[_0x477d('0x2113')]){_0x117825[_0x477d('0x2115')][_0x477d('0x5d3')][_0x477d('0x2116')](_0x477d('0x2117'),![]);}else{_0x117825[_0x477d('0x2115')]['password']['$setValidity'](_0x477d('0x2117'),!![]);}}});function _0x166932(){_0x271301[_0x477d('0xd67')]=[];var _0x497eff={'id':_0x271301[_0x477d('0xcf')]['id'],'newPassword':_0x271301['password']};if(_0x271301[_0x477d('0x3e5')]['id']==_0x271301[_0x477d('0xcf')]['id']){_0x497eff[_0x477d('0x2113')]=_0x271301[_0x477d('0x2113')];}_0x3f130e[_0x477d('0x380')][_0x477d('0x2118')](_0x497eff)[_0x477d('0x38b')][_0x477d('0x76')](function(){_0xc51b3c['success']({'title':'Agent\x20password\x20properly\x20updated!'});_0x5254db();})['catch'](function(_0x3ab724){_0xc51b3c[_0x477d('0x44a')]({'title':_0x3ab724[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x3ab724[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x3ab724[_0x477d('0x44d')]:'api.agent.save','msg':_0x3ab724[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x3ab724['data']['message']):_0x3ab724[_0x477d('0x453')]()});_0x271301[_0x477d('0xd67')]=_0x3ab724[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x3ab724['toString'](),'type':_0x477d('0x2119')}];});}function _0x5254db(){_0x22b78b[_0x477d('0x3bc')]();}}}());(function(){'use strict';_0x525ffa[_0x477d('0xa')]=['$document','$mdDialog',_0x477d('0x386'),_0x477d('0x15ea'),'toasty'];angular[_0x477d('0xb')](_0x477d('0x2d'))[_0x477d('0x3ba')]('AgentPermissionsController',_0x525ffa);function _0x525ffa(_0x101933,_0x38bf33,_0x4119fb,_0x569caa,_0x43125c){var _0x4405fb=this;_0x4405fb[_0x477d('0xcf')]={};_0x4405fb[_0x477d('0x56d')]=_0x569caa[_0x477d('0x570')]();_0x4405fb[_0x477d('0xd66')];_0x4405fb[_0x477d('0x5ee')]=_0x398be0;_0x4405fb[_0x477d('0x211a')]=_0x584f2b;function _0x398be0(_0x4c2474,_0x4d36cf){_0x4405fb[_0x477d('0xcf')]=_0x4c2474;_0x4405fb[_0x477d('0xd66')]=typeof _0x4d36cf!==_0x477d('0x4a4')?_0x4d36cf:{'readOnly':!![],'canEdit':![],'canDelete':![]};}function _0x584f2b(_0xb30ee4,_0x1dc231){var _0x2cbf09=_0x1dc231||_0xb30ee4;if(_0x2cbf09[_0x477d('0x3b4')]){if(_0x1dc231){_0x1dc231[_0x477d('0x3b4')]=!![];_0x4405fb[_0x477d('0xcf')][_0x477d('0x3a3')][_0x477d('0x3a7')](_0x1dc231['id']);}else{for(var _0x115e96=0x0;_0x115e96<_0xb30ee4[_0x477d('0x53f')]['length'];_0x115e96++){_0xb30ee4[_0x477d('0x53f')][_0x115e96][_0x477d('0x3b4')]=!![];_0x4405fb['agent'][_0x477d('0x3a3')]['push'](_0xb30ee4['children'][_0x115e96]['id']);}}_0xb30ee4[_0x477d('0x3b4')]=!![];_0x4405fb[_0x477d('0xcf')]['permissions'][_0x477d('0x3a7')](_0xb30ee4['id']);}else{if(_0x1dc231){_0x1dc231[_0x477d('0x3b4')]=![];_['remove'](_0x4405fb[_0x477d('0xcf')][_0x477d('0x3a3')],function(_0xd548e7){return _0x1dc231['id']===_0xd548e7;});if(_[_0x477d('0x3b3')](_0xb30ee4[_0x477d('0x53f')],{'enabled':![]})[_0x477d('0x79')]===_0xb30ee4['children'][_0x477d('0x79')]){_0xb30ee4['enabled']=![];_['remove'](_0x4405fb['agent'][_0x477d('0x3a3')],function(_0x13e356){return _0xb30ee4['id']===_0x13e356;});}}else{_0xb30ee4[_0x477d('0x3b4')]=![];_[_0x477d('0x39c')](_0x4405fb[_0x477d('0xcf')][_0x477d('0x3a3')],function(_0x31d7a3){return _0xb30ee4['id']===_0x31d7a3;});for(var _0x2d3081=0x0;_0x2d3081<_0xb30ee4[_0x477d('0x53f')][_0x477d('0x79')];_0x2d3081++){_0xb30ee4[_0x477d('0x53f')][_0x2d3081][_0x477d('0x3b4')]=![];_[_0x477d('0x39c')](_0x4405fb[_0x477d('0xcf')][_0x477d('0x3a3')],function(_0x36b700){return _0xb30ee4['children'][_0x2d3081]['id']===_0x36b700;});}}}return _0x4119fb[_0x477d('0x380')][_0x477d('0x710')]({'id':_0x4405fb[_0x477d('0xcf')]['id'],'permissions':_[_0x477d('0x211b')](_0x4405fb[_0x477d('0xcf')]['permissions'])})[_0x477d('0x38b')][_0x477d('0x76')](function(){_0x43125c['success']({'title':_0x477d('0x211c'),'msg':_0x4405fb[_0x477d('0xcf')][_0x477d('0x94')]?_0x4405fb[_0x477d('0xcf')][_0x477d('0x94')]+_0x477d('0xed7'):''});})[_0x477d('0xf8')](function(_0x3ccf77){console[_0x477d('0x44a')](_0x3ccf77);});}}}());(function(){'use strict';_0x4c861f[_0x477d('0xa')]=[_0x477d('0x384'),'$q',_0x477d('0x40e'),_0x477d('0x386'),_0x477d('0xcf'),'channel',_0x477d('0x603'),'$translate','Auth','crudPermissions'];angular[_0x477d('0xb')]('app.staff')[_0x477d('0x3ba')](_0x477d('0x19af'),_0x4c861f);function _0x4c861f(_0x1a7e96,_0x304921,_0x3d92ee,_0x51fab4,_0x22ce3b,_0x3a18fe,_0x36c418,_0x3988eb,_0x1fac05,_0x5ab516){var _0x1ca1f0=this;_0x1ca1f0[_0x477d('0x3e5')]=_0x1fac05[_0x477d('0x5c')]();_0x1ca1f0[_0x477d('0xcf')]=_0x22ce3b;_0x1ca1f0['crudPermissions']=_0x5ab516;_0x1ca1f0[_0x477d('0x1184')]=0x0;_0x1ca1f0[_0x477d('0x1599')]=_0x3a18fe;_0x1ca1f0[_0x477d('0x603')]=_0x36c418;_0x1ca1f0[_0x477d('0xe15')]=_0x1ca1f0[_0x477d('0x1599')]+_0x477d('0x1258');_0x1ca1f0[_0x477d('0x49a')]=_0x3988eb['instant']('STAFF.QUEUEADD_AGENT_'+_0x1ca1f0['channel'][_0x477d('0x44f')]()+'_'+_0x1ca1f0[_0x477d('0x603')]['toUpperCase']());_0x1ca1f0['items']=[];_0x1ca1f0['allowedItems']=[];_0x1ca1f0['selectedItems']=[];_0x1ca1f0[_0x477d('0x11f2')]=[];_0x1ca1f0[_0x477d('0x11fd')]=[];_0x1ca1f0['pendingChanges']=![];_0x1ca1f0[_0x477d('0x1185')]={'readOnly':!_0x1ca1f0[_0x477d('0xd66')][_0x477d('0xedb')],'allowedItems':[],'selectedItems':[],'showSelectAndDeselectAll':!![],'orderBy':_0x477d('0x94'),'line1':_0x477d('0x94'),'line2':_0x477d('0x439'),'line3':_0x1ca1f0[_0x477d('0x1599')]===_0x477d('0x108')?_0x477d('0x1184'):'','labelAll':_0x3988eb[_0x477d('0x45f')](_0x477d('0x211d')+_0x1ca1f0[_0x477d('0x1599')][_0x477d('0x44f')]()+'_'+_0x1ca1f0['direction'][_0x477d('0x44f')]()),'labelSelected':_0x3988eb['instant'](_0x477d('0x211e')+_0x1ca1f0[_0x477d('0x1599')][_0x477d('0x44f')]()+'_'+_0x1ca1f0['direction']['toUpperCase']()),'transferCallback':function(_0x315dd5,_0x27cc39){if(_0x27cc39){_0x315dd5[_0x477d('0x3b1')](function(_0x74ebbd){_0x74ebbd[_0x477d('0x1184')]=undefined;});}else{_0x315dd5[_0x477d('0x3b1')](function(_0x2eced6){_0x2eced6[_0x477d('0x1184')]=_0x477d('0x1529')+_0x1ca1f0[_0x477d('0x1184')];});}var _0x476977=_['xorWith'](_0x1ca1f0[_0x477d('0x11fd')],_0x1ca1f0[_0x477d('0x4a7')],function(_0x99b09,_0x4362c7){return _0x99b09['id']===_0x4362c7['id']&&_0x99b09[_0x477d('0x1184')]===_0x4362c7['penalty'];});_0x1ca1f0['pendingChanges']=_['isEmpty'](_0x476977)?![]:!![];}};_0x1ca1f0[_0x477d('0x71a')]=_0x1478f3;_0x1ca1f0['saveQueues']=_0x44506d;_0x1ca1f0['closeDialog']=_0x1197cc;function _0x1478f3(){return _0x1fac05['hasRole']('admin')?_0x5b7a47()[_0x477d('0xf8')](function(_0x3c8ba7){_0x3d92ee[_0x477d('0x44a')]({'title':_0x3c8ba7[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x3c8ba7['status']+_0x477d('0x44c')+_0x3c8ba7[_0x477d('0x44d')]:_0x477d('0x1934'),'msg':_0x3c8ba7[_0x477d('0x3c3')]?JSON[_0x477d('0x3fb')](_0x3c8ba7[_0x477d('0x451')]):_0x3c8ba7[_0x477d('0x453')]()});}):_0x27dc85()[_0x477d('0x76')](function(_0xda5e4c){_0x1ca1f0['section']=_0xda5e4c;return _0x5b7a47();})[_0x477d('0xf8')](function(_0x2df49b){_0x3d92ee['error']({'title':_0x2df49b[_0x477d('0x3c3')]?'API:'+_0x2df49b[_0x477d('0x3c3')]+'\x20-\x20'+_0x2df49b[_0x477d('0x44d')]:_0x477d('0x1934'),'msg':_0x2df49b[_0x477d('0x3c3')]?JSON[_0x477d('0x3fb')](_0x2df49b[_0x477d('0x451')]):_0x2df49b['toString']()});});}function _0x27dc85(){return _0x304921(function(_0x28cfa5,_0x3c9b12){var _0x5b31fe;switch(_0x1ca1f0[_0x477d('0x1599')]){case'voice':switch(_0x1ca1f0[_0x477d('0x603')]){case _0x477d('0x9e'):_0x5b31fe=_0x477d('0x9f');break;case'outbound':_0x5b31fe='QueueCampaigns';break;}break;case _0x477d('0xb6'):_0x5b31fe=_0x477d('0xd4');break;case _0x477d('0x1d6'):_0x5b31fe='MailQueues';break;case _0x477d('0x26e'):_0x5b31fe=_0x477d('0x27f');break;case _0x477d('0x22a'):_0x5b31fe=_0x477d('0x22b');break;case _0x477d('0x154'):_0x5b31fe=_0x477d('0x155');break;}_0x51fab4[_0x477d('0x3ac')]['get']({'userProfileId':_0x1ca1f0['currentUser'][_0x477d('0x61')],'name':_0x5b31fe})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x242a23){var _0x519170=_0x242a23&&_0x242a23[_0x477d('0xf2')]?_0x242a23[_0x477d('0xf2')][0x0]:null;_0x28cfa5(_0x519170);})[_0x477d('0xf8')](function(_0xe3536e){_0x3c9b12(_0xe3536e);});});}function _0x5b7a47(){return _0x304921(function(_0x279c56,_0x2b0828){return _0x2f6e68()['then'](function(_0x2ac1ec){_0x1ca1f0[_0x477d('0x4a6')]=_0x2ac1ec['rows']?_0x2ac1ec['rows']:[];if(_0x1fac05[_0x477d('0x56')](_0x477d('0x5f'))){return _0x2ac1ec;}else{if(_0x1ca1f0[_0x477d('0xd99')]){return _0x1ca1f0['section']['autoAssociation']?_0x2ac1ec:_0x3853bd();}else{return null;}}})[_0x477d('0x76')](function(_0x21d514){var _0x219b0a=_0x21d514&&_0x21d514[_0x477d('0xf2')]?_0x21d514[_0x477d('0xf2')]:[];_0x1ca1f0[_0x477d('0x11f7')]=_[_0x477d('0x3cb')](_0x219b0a,function(_0x31e6dc){return _[_0x477d('0x10a')](_0x1ca1f0['items'],{'id':_0x1fac05['hasRole'](_0x477d('0x5f'))||_0x1ca1f0['section'][_0x477d('0x3ad')]?_0x31e6dc['id']:_0x31e6dc['resourceId']});});_0x1ca1f0[_0x477d('0x11f2')]=angular[_0x477d('0x6d9')](_0x1ca1f0[_0x477d('0x11f7')]);_0x1ca1f0[_0x477d('0x4a6')][_0x477d('0x3b1')](function(_0x2150c2){var _0x1a95b0=_[_0x477d('0x10a')](_0x1ca1f0['allowedItems'],{'id':_0x2150c2['id']});if(_0x1fac05[_0x477d('0x56')]('admin')){_0x2150c2['isValid']=!![];}else{_0x2150c2[_0x477d('0x4a3')]=typeof _0x1a95b0!==_0x477d('0x4a4')?!![]:![];}});return _0x531508();})['then'](function(_0xa41e5d){var _0x1bf3ac=_0xa41e5d&&_0xa41e5d['rows']?_0xa41e5d['rows']:[];_0x1ca1f0[_0x477d('0x4a7')]=_[_0x477d('0x3cb')](_0x1bf3ac,function(_0x193567){var _0x33a729=_[_0x477d('0x10a')](_0x1ca1f0[_0x477d('0x4a6')],{'id':_0x193567['id']});if(_0x1ca1f0[_0x477d('0x1599')]===_0x477d('0x108')){_0x33a729[_0x477d('0x1184')]=typeof _0x33a729!=='undefined'&&typeof _0x193567[_0x477d('0x1e45')]!=='undefined'?_0x477d('0x1529')+_0x193567[_0x477d('0x1e45')][_0x477d('0x1184')]:_0x477d('0x1529')+0x0;}return _0x33a729;});_0x1ca1f0[_0x477d('0x11fd')]=angular[_0x477d('0x6d9')](_0x1ca1f0['selectedItems']);_0x1ca1f0[_0x477d('0x1185')][_0x477d('0x4a7')]=_0x1ca1f0[_0x477d('0x4a7')];_0x1ca1f0[_0x477d('0x1185')]['items']=_[_0x477d('0x11f8')](_0x1ca1f0[_0x477d('0x11f7')],_0x1ca1f0[_0x477d('0x1185')][_0x477d('0x4a7')],'id');_0x279c56();})['catch'](function(_0x541f2f){_0x2b0828(_0x541f2f);});});}function _0x3853bd(){return _0x304921(function(_0x24e311,_0x5e38f9){return _0x51fab4['userProfileResource'][_0x477d('0x376')]({'sectionId':_0x1ca1f0[_0x477d('0xd99')]['id'],'nolimit':!![]})['$promise'][_0x477d('0x76')](function(_0x427444){_0x24e311(_0x427444);})[_0x477d('0xf8')](function(_0x342698){_0x5e38f9(_0x342698);});});}function _0x531508(){return _0x304921(function(_0x17f032,_0x55d7f7){return _0x51fab4[_0x477d('0x380')][_0x477d('0x1418')]({'id':_0x1ca1f0[_0x477d('0xcf')]['id'],'fields':_0x477d('0x211f'),'nolimit':!![],'type':_0x1ca1f0[_0x477d('0x603')],'channel':_0x1ca1f0[_0x477d('0x1599')]})['$promise']['then'](function(_0x3a635a){_0x17f032(_0x3a635a);})[_0x477d('0xf8')](function(_0x4cd7fa){_0x55d7f7(_0x4cd7fa);});});}function _0x2f6e68(){return _0x304921(function(_0x49a3f7,_0x11792c){return _0x51fab4[_0x1ca1f0[_0x477d('0xe15')]][_0x477d('0x376')]({'fields':_0x477d('0x2120'),'channel':_0x1ca1f0[_0x477d('0x1599')]===_0x477d('0x2121')?_0x477d('0x108'):_0x1ca1f0[_0x477d('0x1599')],'type':_0x1ca1f0[_0x477d('0x603')],'nolimit':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x5a2a6a){_0x49a3f7(_0x5a2a6a);})[_0x477d('0xf8')](function(_0xcefe7b){_0x11792c(_0xcefe7b);});});}function _0x3573f0(_0x55f91f){return _0x304921(function(_0x276943,_0x44c8e4){if(_[_0x477d('0x3b2')](_0x55f91f)){_0x276943();}else{if(_0x1ca1f0['channel']===_0x477d('0x108')){var _0x276995=[];var _0x4c5ad5=_[_0x477d('0x3ee')](_0x55f91f,_0x477d('0x1184'));for(var _0x2a2d9d=0x0;_0x2a2d9d':'';return _0xc84e9e;});_0x497a2a[_0x477d('0x11fd')]=angular[_0x477d('0x6d9')](_0x497a2a[_0x477d('0x4a7')]);_0x497a2a['dualMultiselectOptions'][_0x477d('0x4a7')]=_0x497a2a[_0x477d('0x4a7')];_0x497a2a[_0x477d('0x1185')]['items']=_['differenceBy'](_0x497a2a[_0x477d('0x11f7')],_0x497a2a[_0x477d('0x1185')][_0x477d('0x4a7')],'id');_0x59dbcf();})[_0x477d('0xf8')](function(_0x92e483){_0x3ba84d(_0x92e483);});});}function _0x560510(){return _0x2f1f72(function(_0x57bf5f,_0x730493){return _0x17dea4[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x497a2a[_0x477d('0xd99')]['id'],'nolimit':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x1d1209){_0x57bf5f(_0x1d1209);})[_0x477d('0xf8')](function(_0x446f0c){_0x730493(_0x446f0c);});});}function _0x2d9256(){return _0x2f1f72(function(_0x59f8ec,_0x47493a){return _0x17dea4[_0x477d('0xca3')]['getAgents']({'id':_0x497a2a[_0x477d('0xca3')]['id'],'fields':'id,name,internal,fullname','nolimit':!![],'role':_0x477d('0xcf')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x19ae56){_0x59f8ec(_0x19ae56);})['catch'](function(_0x36967d){_0x47493a(_0x36967d);});});}function _0xd237b0(){return _0x2f1f72(function(_0x1995dc,_0xa0d4f6){return _0x17dea4[_0x477d('0x380')][_0x477d('0x376')]({'fields':'id,name,internal,fullname','nolimit':!![],'role':_0x477d('0xcf')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x551860){_0x1995dc(_0x551860);})[_0x477d('0xf8')](function(_0x1a011f){_0xa0d4f6(_0x1a011f);});});}function _0x57bcb6(_0x61c63c){return _0x2f1f72(function(_0x7b29cd,_0x521fc8){if(_[_0x477d('0x3b2')](_0x61c63c)){_0x7b29cd();}else{_0x17dea4['team'][_0x477d('0x11fb')]({'id':_0x497a2a[_0x477d('0xca3')]['id'],'ids':_[_0x477d('0x3cb')](_0x61c63c,'id')})[_0x477d('0x38b')][_0x477d('0x76')](function(){_0x7b29cd();})['catch'](function(_0xfa8734){_0x521fc8(_0xfa8734);});}});}function _0x10766a(_0x25f955){return _0x2f1f72(function(_0x263730,_0x5d18cd){if(_['isEmpty'](_0x25f955)){_0x263730();}else{_0x17dea4[_0x477d('0xca3')]['removeAgents']({'id':_0x497a2a[_0x477d('0xca3')]['id'],'ids':_[_0x477d('0x3cb')](_0x25f955,'id')})['$promise'][_0x477d('0x76')](function(){_0x263730();})[_0x477d('0xf8')](function(_0x3cd660){_0x5d18cd(_0x3cd660);});}});}function _0x562711(){var _0xfd84a6=_[_0x477d('0x11f8')](_0x497a2a[_0x477d('0x11fd')],_0x497a2a['selectedItems'],'id');var _0x326fe3=_[_0x477d('0x11f8')](_0x497a2a[_0x477d('0x4a7')],_0x497a2a[_0x477d('0x11fd')],'id');return _0x10766a(_0xfd84a6)[_0x477d('0x76')](function(){return _0x57bcb6(_0x326fe3);})[_0x477d('0x76')](function(){_0x497a2a[_0x477d('0x11f5')]=![];_0x497a2a[_0x477d('0x11f2')]=angular[_0x477d('0x6d9')](_0x497a2a[_0x477d('0x11f7')]);_0x497a2a['startingSelectedItems']=angular[_0x477d('0x6d9')](_0x497a2a[_0x477d('0x4a7')]);_0x37e67a[_0x477d('0x485')]({'title':'SUCCESS','msg':_0x477d('0x11ff')});})[_0x477d('0xf8')](function(_0xd8c06){_0x37e67a[_0x477d('0x44a')]({'title':_0xd8c06[_0x477d('0x3c3')]?_0x477d('0x44b')+_0xd8c06[_0x477d('0x3c3')]+_0x477d('0x44c')+_0xd8c06[_0x477d('0x44d')]:_0x477d('0x1200'),'msg':_0xd8c06[_0x477d('0x3c3')]?JSON[_0x477d('0x3fb')](_0xd8c06[_0x477d('0x451')]):_0xd8c06[_0x477d('0x453')]()});});}function _0x1eb415(){_0x24f2b1[_0x477d('0x3bc')]();}}}());(function(){'use strict';_0x38f3e9[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x387'),_0x477d('0x3c4'),_0x477d('0x554'),_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x3fe'),'$translate',_0x477d('0x212f'),'userProfile',_0x477d('0x3ac'),_0x477d('0x386'),_0x477d('0x342'),_0x477d('0x40e'),_0x477d('0x55'),_0x477d('0x613'),_0x477d('0xc8e')];angular[_0x477d('0xb')](_0x477d('0x2d'))[_0x477d('0x3ba')]('TeamsController',_0x38f3e9);function _0x38f3e9(_0x2898dc,_0x411767,_0x56bd41,_0x28b795,_0x30bf19,_0x31fc53,_0x303cf0,_0x347265,_0x4a4c63,_0x46351b,_0x4333fb,_0x2fca8d,_0x1d8ffd,_0x52ce65,_0xbca776,_0x526191,_0x4fd6c9){var _0x5c9b29=this;_0x5c9b29[_0x477d('0x613')]=_0x526191;_0x5c9b29[_0x477d('0xc8e')]=_0x4fd6c9;_0x5c9b29['currentUser']=_0xbca776[_0x477d('0x5c')]();_0x5c9b29[_0x477d('0x212f')]=_0x4a4c63||{'count':0x0,'rows':[]};_0x5c9b29[_0x477d('0x3a5')]=_0x46351b;_0x5c9b29[_0x477d('0x3ac')]=_0x4333fb&&_0x4333fb[_0x477d('0x3bb')]==0x1?_0x4333fb[_0x477d('0xf2')][0x0]:null;_0x5c9b29['crudPermissions']=_0xbca776['parseCrudPermissions'](_0x5c9b29[_0x477d('0x3ac')]?_0x5c9b29[_0x477d('0x3ac')][_0x477d('0xd66')]:null);_0x5c9b29[_0x477d('0xd82')]=_0x477d('0x212f');_0x5c9b29[_0x477d('0xd83')]='';_0x5c9b29[_0x477d('0xd84')]=null;_0x5c9b29[_0x477d('0x2141')]=[];_0x5c9b29[_0x477d('0x3ef')]={'fields':'createdAt,updatedAt,id,name,description','sort':_0x477d('0x59'),'limit':0xa,'page':0x1};_0x5c9b29[_0x477d('0xd86')]=_0x4517ea;_0x5c9b29['agentadddialog']=_0x54cedd;_0x5c9b29[_0x477d('0xd88')]=_0x577065;_0x5c9b29[_0x477d('0x485')]=_0x31fb12;_0x5c9b29[_0x477d('0x1205')]=_0xb7ca48;_0x5c9b29['createOrEditTeam']=_0x32a0e3;_0x5c9b29[_0x477d('0x2135')]=_0x596eab;_0x5c9b29[_0x477d('0x2142')]=_0x101ccf;_0x5c9b29[_0x477d('0x2143')]=_0x3474ef;_0x5c9b29['deselectTeams']=_0x55dea1;_0x5c9b29['selectAllTeams']=_0x11438;function _0x4517ea(_0xcac08f,_0x254f44){_0x30bf19[_0x477d('0x395')]({'controller':_0x477d('0x2130'),'controllerAs':'vm','templateUrl':'app/main/apps/staff/views/teams/create/dialog.html','parent':angular['element'](_0x31fc53[_0x477d('0x399')]),'targetEvent':_0x254f44,'clickOutsideToClose':!![],'locals':{'team':_0xcac08f,'teams':_0x5c9b29[_0x477d('0x212f')][_0x477d('0xf2')],'license':_0x5c9b29['license'],'setting':null,'crudPermissions':_0x5c9b29[_0x477d('0xd66')]}});}function _0x54cedd(_0x4be5cb,_0x5781f1){_0x30bf19[_0x477d('0x395')]({'controller':_0x477d('0x213d'),'controllerAs':'vm','templateUrl':_0x477d('0x2144'),'parent':angular[_0x477d('0x398')](_0x31fc53['body']),'targetEvent':_0x5781f1,'clickOutsideToClose':!![],'locals':{'team':_0x4be5cb,'teams':_0x5c9b29[_0x477d('0x212f')]?_0x5c9b29[_0x477d('0x212f')][_0x477d('0xf2')]:[],'crudPermissions':_0x5c9b29[_0x477d('0xd66')],'realtime':![]}});}function _0x577065(_0x113fe4,_0x2534dd){var _0x342e65=_0x30bf19['confirm']()[_0x477d('0x49a')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20'+_[_0x477d('0xd91')](_0x477d('0xca3'))+'?')['htmlContent'](_0x477d('0xd93')+(_0x113fe4[_0x477d('0x94')]||_0x477d('0xca3'))+_0x477d('0xd94')+_0x477d('0xd95'))[_0x477d('0x687')]('delete\x20team')['targetEvent'](_0x2534dd)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x30bf19[_0x477d('0x395')](_0x342e65)['then'](function(){_0x596eab(_0x113fe4);},function(){console['log']('CANCEL');});}var _0x573cb5=!![];var _0x1caa35=0x1;_0x2898dc[_0x477d('0x4b5')](_0x477d('0xd98'),function(_0x3dee75,_0x1f4af4){if(_0x573cb5){_0x303cf0(function(){_0x573cb5=![];});}else{if(!_0x1f4af4){_0x1caa35=_0x5c9b29[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x3dee75!==_0x1f4af4){_0x5c9b29[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0x3dee75){_0x5c9b29[_0x477d('0x3ef')][_0x477d('0xe03')]=_0x1caa35;}_0x5c9b29[_0x477d('0x1205')]();}});function _0x31fb12(_0x532402){_0x5c9b29[_0x477d('0x212f')]=_0x532402||{'count':0x0,'rows':[]};}function _0xb7ca48(){_0x5c9b29['query'][_0x477d('0x91c')]=(_0x5c9b29[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x5c9b29['query'][_0x477d('0x91d')];if(_0xbca776[_0x477d('0x56')]('admin')){_0x5c9b29[_0x477d('0x553')]=_0x2fca8d[_0x477d('0xca3')][_0x477d('0x376')](_0x5c9b29['query'],_0x31fb12)[_0x477d('0x38b')];}else{_0x5c9b29[_0x477d('0x3ef')]['id']=_0x5c9b29[_0x477d('0x3a5')]['id'];_0x5c9b29['query']['section']=_0x477d('0x29f');_0x5c9b29[_0x477d('0x553')]=_0x2fca8d[_0x477d('0x3a5')]['getResources'](_0x5c9b29[_0x477d('0x3ef')],_0x31fb12)[_0x477d('0x38b')];}}function _0x32a0e3(_0x4bd2e7,_0x20a1c6){_0x30bf19[_0x477d('0x395')]({'controller':'CreateOrEditTeamDialogController','controllerAs':'vm','templateUrl':_0x477d('0x2145'),'parent':angular['element'](_0x31fc53[_0x477d('0x399')]),'targetEvent':_0x4bd2e7,'clickOutsideToClose':!![],'locals':{'team':_0x20a1c6,'teams':_0x5c9b29[_0x477d('0x212f')][_0x477d('0xf2')],'license':_0x5c9b29['license'],'setting':_0x5c9b29[_0x477d('0xc8e')],'crudPermissions':_0x5c9b29[_0x477d('0xd66')]}});}function _0x596eab(_0x26c5ba){_0x2fca8d[_0x477d('0xca3')][_0x477d('0xa55')]({'id':_0x26c5ba['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x5c9b29[_0x477d('0x212f')][_0x477d('0xf2')],{'id':_0x26c5ba['id']});_0x5c9b29[_0x477d('0x212f')]['count']-=0x1;if(!_0x5c9b29[_0x477d('0x212f')]['rows']['length']){_0x5c9b29['getTeams']();}_0x52ce65[_0x477d('0x485')]({'title':_[_0x477d('0xd91')](_0x477d('0x2146'))+_0x477d('0xd9d'),'msg':_0x26c5ba[_0x477d('0x94')]?_0x26c5ba[_0x477d('0x94')]+_0x477d('0xd7e'):''});})['catch'](function(_0xf1fe47){if(_0xf1fe47[_0x477d('0x451')]&&_0xf1fe47[_0x477d('0x451')][_0x477d('0xd67')]&&_0xf1fe47['data']['errors']['length']){_0x5c9b29['errors']=_0xf1fe47[_0x477d('0x451')]['errors']||[{'message':_0xf1fe47[_0x477d('0x453')](),'type':'SYSTEM:DELETEteam'}];for(var _0x1c53d7=0x0;_0x1c53d7<_0xf1fe47['data']['errors'][_0x477d('0x79')];_0x1c53d7++){_0x52ce65[_0x477d('0x44a')]({'title':_0xf1fe47[_0x477d('0x451')][_0x477d('0xd67')][_0x1c53d7]['type'],'msg':_0xf1fe47[_0x477d('0x451')][_0x477d('0xd67')][_0x1c53d7][_0x477d('0x452')]});}}else{_0x52ce65[_0x477d('0x44a')]({'title':_0xf1fe47[_0x477d('0x3c3')]?_0x477d('0x44b')+_0xf1fe47[_0x477d('0x3c3')]+_0x477d('0x44c')+_0xf1fe47[_0x477d('0x44d')]:_0x477d('0x2147'),'msg':_0xf1fe47[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0xf1fe47[_0x477d('0x451')][_0x477d('0x452')]):_0xf1fe47[_0x477d('0x452')]||_0xf1fe47[_0x477d('0x453')]()});}});}function _0x101ccf(){var _0x1b40ae=angular[_0x477d('0x6d9')](_0x5c9b29['selectedTeams']);_0x5c9b29['selectedTeams']=[];return _0x1b40ae;}function _0x3474ef(_0x3ea360){var _0x3b5d5c=_0x30bf19[_0x477d('0xd78')]()[_0x477d('0x49a')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20teams?')['htmlContent'](''+_0x5c9b29[_0x477d('0x2141')][_0x477d('0x79')]+'\x20selected'+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x2148'))[_0x477d('0xd7c')](_0x3ea360)['ok']('OK')[_0x477d('0x4f0')]('CANCEL');_0x30bf19[_0x477d('0x395')](_0x3b5d5c)['then'](function(){_0x5c9b29[_0x477d('0x2141')]['forEach'](function(_0x592d3d){_0x596eab(_0x592d3d);});_0x5c9b29['selectedTeams']=[];});}function _0x55dea1(){_0x5c9b29[_0x477d('0x2141')]=[];}function _0x11438(){_0x5c9b29[_0x477d('0x2141')]=_0x5c9b29[_0x477d('0x212f')][_0x477d('0xf2')];}}}());(function(){'use strict';_0x3fd3c3[_0x477d('0xa')]=[_0x477d('0x474'),'$state',_0x477d('0xd64'),_0x477d('0x384'),'$q',_0x477d('0x40d'),_0x477d('0x40e'),_0x477d('0x3b9'),_0x477d('0x295'),_0x477d('0x386'),_0x477d('0x55'),'license',_0x477d('0xc8e'),_0x477d('0xd66')];angular['module']('app.staff')['controller']('CreateOrEditTelephoneDialogController',_0x3fd3c3);function _0x3fd3c3(_0x13338b,_0x541c44,_0x104b81,_0x1e1339,_0x426a1a,_0xfa5543,_0x253fa6,_0x27c0b6,_0x5572b5,_0x11f4e9,_0x2ab905,_0x3bdc42,_0x5940d3,_0x5706af){var _0x14d6e6=this;_0x14d6e6[_0x477d('0x3e5')]=_0x2ab905['getCurrentUser']();_0x14d6e6[_0x477d('0xd67')]=[];_0x14d6e6[_0x477d('0xc8e')]=_0x5940d3;_0x14d6e6[_0x477d('0x613')]=_0x3bdc42;_0x14d6e6['crudPermissions']=_0x5706af;_0x14d6e6[_0x477d('0xd68')]={};_0x14d6e6[_0x477d('0xd69')]=_0x14d6e6[_0x477d('0xc8e')]&&_0x14d6e6[_0x477d('0xc8e')][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x14d6e6[_0x477d('0x49a')]=_0x477d('0x2149');_0x14d6e6[_0x477d('0x295')]=angular[_0x477d('0x6d9')](_0x5572b5);_0x14d6e6[_0x477d('0x3b9')]=_0x27c0b6;_0x14d6e6[_0x477d('0x214a')]=![];if(!_0x14d6e6['telephone']){_0x14d6e6['telephone']={'role':_0x477d('0x295'),'autointernal':!![],'context':_0x477d('0x2107')};_0x14d6e6[_0x477d('0x49a')]='STAFF.NEW_TELEPHONE';_0x14d6e6[_0x477d('0x214a')]=!![];}_0x14d6e6[_0x477d('0x214b')]=_0xdc5ac0;_0x14d6e6['saveTelephone']=_0x2eef58;_0x14d6e6[_0x477d('0x214c')]=_0xe7ed0a;_0x14d6e6[_0x477d('0xd6f')]=_0x3ccbe8;_0x14d6e6[_0x477d('0x6bf')]=_0x16cfde;function _0xdc5ac0(){_0x14d6e6['errors']=[];_0x11f4e9['user'][_0x477d('0xd70')](_0x14d6e6[_0x477d('0x295')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x1dbe54){_0x14d6e6[_0x477d('0x3b9')]['unshift'](_0x1dbe54[_0x477d('0xd71')]());_0x253fa6[_0x477d('0x485')]({'title':_0x477d('0x214d'),'msg':_0x14d6e6[_0x477d('0x295')][_0x477d('0x94')]?_0x14d6e6[_0x477d('0x295')][_0x477d('0x94')]+_0x477d('0xd73'):''});_0x16cfde(_0x1dbe54);})[_0x477d('0xf8')](function(_0x5b363e){if(_0x5b363e[_0x477d('0x451')]&&_0x5b363e['data'][_0x477d('0xd67')]&&_0x5b363e[_0x477d('0x451')]['errors'][_0x477d('0x79')]){_0x14d6e6[_0x477d('0xd67')]=_0x5b363e[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x5b363e[_0x477d('0x453')](),'type':_0x477d('0x214e')}];for(var _0x25b543=0x0;_0x25b543<_0x5b363e[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x25b543+=0x1){_0x253fa6['error']({'title':_0x5b363e[_0x477d('0x451')]['errors'][_0x25b543]['type'],'msg':_0x5b363e[_0x477d('0x451')][_0x477d('0xd67')][_0x25b543]['message']});}}else{_0x253fa6[_0x477d('0x44a')]({'title':_0x5b363e[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x5b363e[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x5b363e[_0x477d('0x44d')]:_0x477d('0x214e'),'msg':_0x5b363e[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x5b363e['data']['message']):_0x5b363e['toString']()});}});}function _0x2eef58(){_0x14d6e6[_0x477d('0xd67')]=[];_0x11f4e9[_0x477d('0x380')]['update']({'id':_0x14d6e6['telephone']['id']},_0x14d6e6[_0x477d('0x295')])[_0x477d('0x38b')]['then'](function(_0x56cb2e){var _0x379c5f=_[_0x477d('0x10a')](_0x14d6e6[_0x477d('0x3b9')],{'id':_0x56cb2e['id']});if(_0x379c5f){_[_0x477d('0xef')](_0x379c5f,_[_0x477d('0x10b')](_0x56cb2e[_0x477d('0xd71')](),_[_0x477d('0x7f')](_0x379c5f)));}_0x253fa6[_0x477d('0x485')]({'title':_0x477d('0x214f'),'msg':_0x14d6e6[_0x477d('0x295')][_0x477d('0x94')]?_0x14d6e6['telephone'][_0x477d('0x94')]+_0x477d('0xd76'):''});_0x16cfde(_0x56cb2e);})[_0x477d('0xf8')](function(_0x3f8b0f){if(_0x3f8b0f[_0x477d('0x451')]&&_0x3f8b0f['data'][_0x477d('0xd67')]&&_0x3f8b0f[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x14d6e6[_0x477d('0xd67')]=_0x3f8b0f['data'][_0x477d('0xd67')]||[{'message':_0x3f8b0f[_0x477d('0x453')](),'type':'api.user.update'}];for(var _0x1de885=0x0;_0x1de885<_0x3f8b0f[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x1de885++){_0x253fa6['error']({'title':_0x3f8b0f['data'][_0x477d('0xd67')][_0x1de885][_0x477d('0x439')],'msg':_0x3f8b0f[_0x477d('0x451')][_0x477d('0xd67')][_0x1de885]['message']});}}else{_0x253fa6['error']({'title':_0x3f8b0f['status']?_0x477d('0x44b')+_0x3f8b0f['status']+_0x477d('0x44c')+_0x3f8b0f[_0x477d('0x44d')]:_0x477d('0x19b0'),'msg':_0x3f8b0f[_0x477d('0x451')]?JSON['stringify'](_0x3f8b0f[_0x477d('0x451')]['message']):_0x3f8b0f[_0x477d('0x453')]()});}});}function _0xe7ed0a(_0x21b230){_0x14d6e6[_0x477d('0xd67')]=[];var _0x250f39=_0x1e1339[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xd79'))[_0x477d('0xdaf')](_0x477d('0x2150'))[_0x477d('0x687')](_0x477d('0x2151'))['ok'](_0x477d('0xd7b'))[_0x477d('0x4f0')]('Cancel')['targetEvent'](_0x21b230);_0x1e1339['show'](_0x250f39)[_0x477d('0x76')](function(){_0x11f4e9[_0x477d('0x380')]['delete']({'id':_0x14d6e6[_0x477d('0x295')]['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_['remove'](_0x14d6e6[_0x477d('0x3b9')],{'id':_0x14d6e6['telephone']['id']});_0x253fa6[_0x477d('0x485')]({'title':'Telephone\x20properly\x20deleted!','msg':(_0x14d6e6[_0x477d('0x295')]['name']||_0x477d('0x295'))+_0x477d('0xd7e')});_0x16cfde(_0x14d6e6[_0x477d('0x295')]);})[_0x477d('0xf8')](function(_0x5df945){if(_0x5df945[_0x477d('0x451')]&&_0x5df945[_0x477d('0x451')][_0x477d('0xd67')]&&_0x5df945[_0x477d('0x451')][_0x477d('0xd67')]['length']){_0x14d6e6[_0x477d('0xd67')]=_0x5df945[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x5df945[_0x477d('0x453')](),'type':_0x477d('0x210f')}];for(var _0x35a679=0x0;_0x35a679<_0x5df945[_0x477d('0x451')]['errors']['length'];_0x35a679++){_0x253fa6[_0x477d('0x44a')]({'title':_0x5df945[_0x477d('0x451')][_0x477d('0xd67')][_0x35a679][_0x477d('0x439')],'msg':_0x5df945['data']['errors'][_0x35a679]['message']});}}else{_0x253fa6[_0x477d('0x44a')]({'title':_0x5df945[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x5df945[_0x477d('0x3c3')]+'\x20-\x20'+_0x5df945['statusText']:_0x477d('0x210f'),'msg':_0x5df945[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x5df945[_0x477d('0x451')][_0x477d('0x452')]):_0x5df945['message']||_0x5df945[_0x477d('0x453')]()});}});},function(){});}function _0x3ccbe8(_0x1490f1){return _0x1490f1===null?undefined:new Date(_0x1490f1);}function _0x16cfde(_0x209f9a){_0x1e1339[_0x477d('0x3bc')](_0x209f9a);}}}());(function(){'use strict';_0x357fa2[_0x477d('0xa')]=['$scope',_0x477d('0x384'),_0x477d('0x40e'),_0x477d('0x386'),_0x477d('0x295'),_0x477d('0xc8e'),_0x477d('0x55')];angular[_0x477d('0xb')](_0x477d('0x2d'))[_0x477d('0x3ba')](_0x477d('0x2152'),_0x357fa2);function _0x357fa2(_0x2bf1a3,_0x4f1734,_0xd83fdb,_0xf8783c,_0x288b5e,_0x345044,_0x51c389){var _0x23b6c5=this;_0x23b6c5['currentUser']=_0x51c389[_0x477d('0x5c')]();_0x23b6c5[_0x477d('0xd67')]=[];_0x23b6c5['setting']=_0x345044;_0x23b6c5[_0x477d('0xd69')]=_0x23b6c5['setting'][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x23b6c5[_0x477d('0x295')]=_0x288b5e;_0x23b6c5['password']='';_0x23b6c5[_0x477d('0x2113')]='';_0x23b6c5[_0x477d('0x2153')]=_0x9679ae;_0x23b6c5['closeDialog']=_0x2f0557;_0x2bf1a3[_0x477d('0x4b5')]('vm.password',function(_0x3c74d6,_0x27f2a){if(!_['isNil'](_0x23b6c5[_0x477d('0x2113')])){if(_0x3c74d6===_0x23b6c5[_0x477d('0x2113')]){_0x2bf1a3[_0x477d('0x2154')][_0x477d('0x5d3')][_0x477d('0x2116')](_0x477d('0x2117'),![]);}else{_0x2bf1a3[_0x477d('0x2154')][_0x477d('0x5d3')][_0x477d('0x2116')](_0x477d('0x2117'),!![]);}}});function _0x9679ae(){_0x23b6c5[_0x477d('0xd67')]=[];var _0x4902ef={'id':_0x23b6c5[_0x477d('0x295')]['id'],'newPassword':_0x23b6c5[_0x477d('0x5d3')]};if(_0x23b6c5[_0x477d('0x3e5')]['id']==_0x23b6c5[_0x477d('0x295')]['id']){_0x4902ef[_0x477d('0x2113')]=_0x23b6c5['oldPassword'];}_0xf8783c[_0x477d('0x380')][_0x477d('0x2118')](_0x4902ef)[_0x477d('0x38b')][_0x477d('0x76')](function(){_0xd83fdb['success']({'title':_0x477d('0x2155')});_0x2f0557();})[_0x477d('0xf8')](function(_0x12ae3c){_0xd83fdb[_0x477d('0x44a')]({'title':_0x12ae3c['status']?_0x477d('0x44b')+_0x12ae3c[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x12ae3c[_0x477d('0x44d')]:_0x477d('0x2156'),'msg':_0x12ae3c[_0x477d('0x451')]?JSON['stringify'](_0x12ae3c['data'][_0x477d('0x452')]):_0x12ae3c[_0x477d('0x453')]()});_0x23b6c5[_0x477d('0xd67')]=_0x12ae3c[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x12ae3c[_0x477d('0x453')](),'type':_0x477d('0x2157')}];});}function _0x2f0557(){_0x4f1734[_0x477d('0x3bc')]();}}}());(function(){'use strict';_0x1d174c[_0x477d('0xa')]=[_0x477d('0x3c4'),_0x477d('0xd64'),'$mdDialog',_0x477d('0x475'),_0x477d('0x40d'),_0x477d('0x613'),_0x477d('0xc8e'),_0x477d('0x386'),_0x477d('0x40e'),_0x477d('0x55'),_0x477d('0x295'),_0x477d('0x3ac')];angular[_0x477d('0xb')](_0x477d('0x2d'))[_0x477d('0x3ba')](_0x477d('0x2158'),_0x1d174c);function _0x1d174c(_0x3f99de,_0x642e7a,_0x23383f,_0x35105c,_0x51587d,_0x243668,_0x488e4f,_0x5cd451,_0x1c0bb0,_0x5596eb,_0x587a54,_0x84051b){var _0x2c03d3=this;_0x2c03d3[_0x477d('0x3e5')]=_0x5596eb[_0x477d('0x5c')]();_0x2c03d3['license']=_0x243668;_0x2c03d3['setting']=_0x488e4f;_0x2c03d3[_0x477d('0xd69')]=_0x2c03d3[_0x477d('0xc8e')][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x2c03d3[_0x477d('0x3cc')]=_0x642e7a[_0x477d('0x3ce')]()+'://'+_0x642e7a['host']();_0x2c03d3['telephone']=_0x587a54||_0x3f99de['params'][_0x477d('0x295')]||{};_0x2c03d3[_0x477d('0x3ac')]=_0x84051b&&_0x84051b['count']==0x1?_0x84051b[_0x477d('0xf2')][0x0]:null;_0x2c03d3[_0x477d('0xd66')]=_0x5596eb[_0x477d('0xd81')](_0x2c03d3[_0x477d('0x3ac')]?_0x2c03d3[_0x477d('0x3ac')][_0x477d('0xd66')]:null);_0x2c03d3['hasModulePermissions']={};_0x2c03d3[_0x477d('0xe95')]=_0x3f99de[_0x477d('0x37e')][_0x477d('0xe96')]||0x0;_0x2c03d3['changepassworddialog']=_0x22c50b;_0x2c03d3[_0x477d('0x120a')]=_0x1c0bb0['info'];_0x2c03d3[_0x477d('0x2159')]=_0x5f09ca;_0x2c03d3[_0x477d('0x215a')]=_0x4e82a5;_0x5596eb[_0x477d('0x56')]('admin')?_0x5cd451[_0x477d('0xa6b')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x5bb2ac){_0x2c03d3[_0x477d('0xf32')]=_0x5bb2ac[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x556019){_0x1c0bb0[_0x477d('0x44a')]({'title':_0x556019[_0x477d('0x3c3')]?'API:'+_0x556019[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x556019['statusText']:_0x477d('0x212b'),'msg':_0x556019[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x556019[_0x477d('0x451')]):_0x556019[_0x477d('0x453')]()});}):_0x5cd451[_0x477d('0xa6b')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94')})['$promise'][_0x477d('0x76')](function(_0x4897b6){_0x2c03d3['contexts']=_0x4897b6['rows']||[];})['then'](function(){return _0x5cd451['userProfileSection']['get']({'userProfileId':_0x2c03d3[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x195})['$promise'];})[_0x477d('0x76')](function(_0x2a6fa7){var _0x4978be=_0x2a6fa7&&_0x2a6fa7['rows']?_0x2a6fa7[_0x477d('0xf2')][0x0]:null;if(!_0x4978be){return _0x5cd451['voiceContext']['get']({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'defaultEntry':0x1})['$promise']['then'](function(_0x5c704f){_0x2c03d3[_0x477d('0xf32')]=_0x5c704f[_0x477d('0xf2')]||[];});}else{if(!_0x4978be['autoAssociation']){return _0x5cd451[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x4978be['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x360a63){var _0x5e66ae=_[_0x477d('0x3cb')](_0x360a63['rows'],function(_0x562c87){return _[_0x477d('0x10a')](_0x2c03d3[_0x477d('0xf32')],{'id':_0x562c87[_0x477d('0x3af')]});});var _0x512ee0=null;if(_0x2c03d3[_0x477d('0x295')]){_0x512ee0=_[_0x477d('0x10a')](_0x2c03d3[_0x477d('0xf32')],{'name':_0x2c03d3['telephone']['context']});}if(_0x512ee0&&!_[_0x477d('0x3ab')](_0x5e66ae,['id',_0x512ee0['id']])){var _0x208fc2=_['find'](_0x2c03d3[_0x477d('0xf32')],{'id':_0x512ee0['id']});_0x208fc2[_0x477d('0xf8b')]=![];_0x5e66ae[_0x477d('0x3a7')](_0x208fc2);}_0x2c03d3[_0x477d('0xf32')]=_0x5e66ae;});}}})[_0x477d('0xf8')](function(_0x52bd42){_0x1c0bb0['error']({'title':_0x52bd42['status']?_0x477d('0x44b')+_0x52bd42[_0x477d('0x3c3')]+'\x20-\x20'+_0x52bd42[_0x477d('0x44d')]:_0x477d('0x215b'),'msg':_0x52bd42[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x52bd42[_0x477d('0x451')]):_0x52bd42[_0x477d('0x453')]()});});function _0x22c50b(_0x3ce307,_0x14033b){_0x23383f[_0x477d('0x395')]({'controller':_0x477d('0x2152'),'controllerAs':'vm','templateUrl':_0x477d('0x215c'),'parent':angular[_0x477d('0x398')](_0x35105c[_0x477d('0x399')]),'targetEvent':_0x14033b,'clickOutsideToClose':!![],'locals':{'telephone':_0x3ce307,'setting':_0x488e4f,'telephones':_0x2c03d3[_0x477d('0x3b9')]?_0x2c03d3['telephones'][_0x477d('0xf2')]:[],'crudPermissions':_0x2c03d3[_0x477d('0xd66')]}});}function _0x5f09ca(){_0x3f99de['go']('app.staff.telephones',{},{'reload':_0x477d('0x290')});}function _0x4e82a5(){_0x5cd451['user']['update']({'id':_0x2c03d3[_0x477d('0x295')]['id']},_0x2c03d3[_0x477d('0x295')])[_0x477d('0x38b')][_0x477d('0x76')](function(){_0x1c0bb0['success']({'title':'Telephone\x20updated!','msg':_0x2c03d3['telephone'][_0x477d('0x94')]?_0x2c03d3['telephone']['name']+'\x20has\x20been\x20updated!':''});})['catch'](function(_0x2a1210){_0x1c0bb0[_0x477d('0x44a')]({'title':_0x2a1210[_0x477d('0x3c3')]?'API:'+_0x2a1210[_0x477d('0x3c3')]+'\x20-\x20'+_0x2a1210['statusText']:_0x477d('0x212e'),'msg':_0x2a1210[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x2a1210[_0x477d('0x451')]):_0x2a1210[_0x477d('0x453')]()});});}}}());(function(){'use strict';_0x5e102b['$inject']=[_0x477d('0x474'),_0x477d('0x387'),_0x477d('0x3c4'),_0x477d('0x554'),'$mdDialog',_0x477d('0x475'),'$timeout',_0x477d('0x40d'),_0x477d('0x3b9'),_0x477d('0x3a5'),_0x477d('0x3ac'),'api',_0x477d('0x342'),_0x477d('0x40e'),_0x477d('0x55'),_0x477d('0x613'),_0x477d('0xc8e')];angular[_0x477d('0xb')](_0x477d('0x2d'))[_0x477d('0x3ba')](_0x477d('0x215d'),_0x5e102b);function _0x5e102b(_0x500bbb,_0x10f71a,_0x2ec182,_0x1cb626,_0x5bdc30,_0x3ced13,_0x502e5d,_0x908f25,_0x3728d8,_0x18dbdd,_0x3f2c21,_0x4b33f7,_0x286ec4,_0x193a66,_0x51e6fd,_0x5916da,_0x48b915){var _0x4d8b31=this;_0x4d8b31[_0x477d('0x613')]=_0x5916da;_0x4d8b31['setting']=_0x48b915;_0x4d8b31[_0x477d('0x3e5')]=_0x51e6fd['getCurrentUser']();_0x4d8b31[_0x477d('0x3b9')]=_0x3728d8||{'count':0x0,'rows':[]};_0x4d8b31['userProfile']=_0x18dbdd;_0x4d8b31[_0x477d('0x3ac')]=_0x3f2c21&&_0x3f2c21[_0x477d('0x3bb')]==0x1?_0x3f2c21['rows'][0x0]:null;_0x4d8b31[_0x477d('0xd66')]=_0x51e6fd['parseCrudPermissions'](_0x4d8b31[_0x477d('0x3ac')]?_0x4d8b31[_0x477d('0x3ac')][_0x477d('0xd66')]:null);_0x4d8b31['table']='telephones';_0x4d8b31[_0x477d('0xd83')]='';_0x4d8b31[_0x477d('0xd84')]=null;_0x4d8b31[_0x477d('0x215e')]=[];_0x4d8b31[_0x477d('0x3ef')]={'fields':_0x477d('0x294'),'role':'telephone','sort':_0x477d('0x59'),'limit':0xa,'page':0x1};_0x4d8b31[_0x477d('0x20dd')]=_['keyBy']([{'option':_0x477d('0x20de'),'value':_0x477d('0x20df')},{'option':'tcp','value':'\x27tcp\x27'},{'option':'ws','value':_0x477d('0x20e1')},{'option':_0x477d('0x20e2'),'value':_0x477d('0x20e3')},{'option':_0x477d('0x20e5'),'value':_0x477d('0x215f')}],function(_0x4838d9){return _[_0x477d('0x409')](_0x4838d9[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x4d8b31[_0x477d('0x2160')]=_['keyBy']([{'option':_0x477d('0x20e6'),'value':'\x27force_rport\x27'},{'option':'comedia','value':_0x477d('0x20e8')},{'option':'yes','value':_0x477d('0x1e91')},{'option':'no','value':_0x477d('0x1271')},{'option':_0x477d('0x1e0a'),'value':'\x27never\x27'},{'option':'route','value':_0x477d('0x20e9')}],function(_0x2db371){return _['replace'](_0x2db371[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x4d8b31['arrayallow']=_[_0x477d('0xdb5')]([{'option':_0x477d('0x2161'),'value':_0x477d('0x20ee')},{'option':_0x477d('0x2162'),'value':_0x477d('0x20ef')},{'option':_0x477d('0xf77'),'value':_0x477d('0x1e96')},{'option':_0x477d('0x2163'),'value':_0x477d('0x20f0')},{'option':_0x477d('0x20f1'),'value':_0x477d('0x2164')},{'option':_0x477d('0x20f2'),'value':_0x477d('0x20f3')},{'option':'h264','value':_0x477d('0x20f5')}],function(_0x13ebd9){return _[_0x477d('0x409')](_0x13ebd9[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x4d8b31[_0x477d('0x2165')]=_[_0x477d('0xdb5')]([{'option':_0x477d('0xf6c'),'value':_0x477d('0x1e91')},{'option':'No','value':'\x27no\x27'},{'option':_0x477d('0x1d4d'),'value':_0x477d('0x1e24')}],function(_0x2d9d23){return _[_0x477d('0x409')](_0x2d9d23[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x4d8b31[_0x477d('0x2166')]=_[_0x477d('0xdb5')]([{'option':_0x477d('0xf6b'),'value':'\x27yes\x27'},{'option':'no','value':_0x477d('0x1271')}],function(_0x2453ee){return _[_0x477d('0x409')](_0x2453ee['value'],new RegExp('\x27','g'),'');});_0x4d8b31[_0x477d('0xea6')]=_0x412635;_0x4d8b31[_0x477d('0xd88')]=_0x5d7ea9;_0x4d8b31[_0x477d('0x485')]=_0x62924d;_0x4d8b31[_0x477d('0x2167')]=_0x9f453b;_0x4d8b31[_0x477d('0x2168')]=_0x1dd021;_0x4d8b31[_0x477d('0x214c')]=_0x5c3524;_0x4d8b31['exportSelectedTelephones']=_0x53c6ea;_0x4d8b31['deleteSelectedTelephones']=_0x28b9b2;_0x4d8b31[_0x477d('0x2169')]=_0x53c90c;_0x4d8b31['selectAllTelephones']=_0x2f2375;function _0x412635(_0x5061e9,_0x143433){_0x2ec182['go']('app.staff.telephones.edit',{'id':_0x5061e9['id'],'telephone':_0x5061e9,'crudPermissions':_0x4d8b31[_0x477d('0xd66')]});}function _0x5d7ea9(_0x51350c,_0x5ea52c){var _0x149af4=_0x5bdc30['confirm']()[_0x477d('0x49a')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20'+_[_0x477d('0xd91')](_0x477d('0x295'))+'?')['htmlContent'](_0x477d('0xd93')+(_0x51350c[_0x477d('0x94')]||'telephone')+_0x477d('0xd94')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x216a'))[_0x477d('0xd7c')](_0x5ea52c)['ok']('OK')['cancel'](_0x477d('0xd97'));_0x5bdc30[_0x477d('0x395')](_0x149af4)[_0x477d('0x76')](function(){_0x5c3524(_0x51350c);},function(){console['log']('CANCEL');});}var _0x2cb96e=!![];var _0xc19295=0x1;_0x500bbb[_0x477d('0x4b5')](_0x477d('0xd98'),function(_0x1158f5,_0x444d21){if(_0x2cb96e){_0x502e5d(function(){_0x2cb96e=![];});}else{if(!_0x444d21){_0xc19295=_0x4d8b31[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x1158f5!==_0x444d21){_0x4d8b31[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0x1158f5){_0x4d8b31[_0x477d('0x3ef')]['page']=_0xc19295;}_0x4d8b31[_0x477d('0x2167')]();}});function _0x62924d(_0x41a6be){_0x4d8b31['telephones']=_0x41a6be||{'count':0x0,'rows':[]};}function _0x9f453b(){_0x4d8b31[_0x477d('0x3ef')]['offset']=(_0x4d8b31[_0x477d('0x3ef')]['page']-0x1)*_0x4d8b31[_0x477d('0x3ef')]['limit'];if(_0x51e6fd['hasRole']('admin')){_0x4d8b31[_0x477d('0x553')]=_0x4b33f7[_0x477d('0x380')][_0x477d('0x376')](_0x4d8b31[_0x477d('0x3ef')],_0x62924d)[_0x477d('0x38b')];}else{_0x4d8b31[_0x477d('0x3ef')]['id']=_0x4d8b31['userProfile']['id'];_0x4d8b31[_0x477d('0x3ef')][_0x477d('0xd99')]='Telephones';_0x4d8b31[_0x477d('0x553')]=_0x4b33f7[_0x477d('0x3a5')]['getResources'](_0x4d8b31[_0x477d('0x3ef')],_0x62924d)['$promise'];}}function _0x1dd021(_0x35cb97,_0x2b2ecd){_0x5bdc30[_0x477d('0x395')]({'controller':_0x477d('0x216b'),'controllerAs':'vm','templateUrl':_0x477d('0x216c'),'parent':angular[_0x477d('0x398')](_0x3ced13[_0x477d('0x399')]),'targetEvent':_0x35cb97,'clickOutsideToClose':!![],'locals':{'telephone':_0x2b2ecd,'telephones':_0x4d8b31[_0x477d('0x3b9')][_0x477d('0xf2')],'license':_0x4d8b31[_0x477d('0x613')],'setting':_0x4d8b31[_0x477d('0xc8e')],'crudPermissions':_0x4d8b31['crudPermissions']}});}function _0x5c3524(_0x5be75e){_0x4b33f7[_0x477d('0x380')][_0x477d('0xa55')]({'id':_0x5be75e['id']})[_0x477d('0x38b')]['then'](function(){_[_0x477d('0x39c')](_0x4d8b31[_0x477d('0x3b9')][_0x477d('0xf2')],{'id':_0x5be75e['id']});_0x4d8b31[_0x477d('0x3b9')][_0x477d('0x3bb')]-=0x1;if(!_0x4d8b31[_0x477d('0x3b9')]['rows'][_0x477d('0x79')]){_0x4d8b31['getTelephones']();}_0x193a66['success']({'title':_[_0x477d('0xd91')](_0x477d('0x216d'))+_0x477d('0xd9d'),'msg':_0x5be75e[_0x477d('0x94')]?_0x5be75e['name']+_0x477d('0xd7e'):''});})['catch'](function(_0x42f9dc){if(_0x42f9dc[_0x477d('0x451')]&&_0x42f9dc[_0x477d('0x451')][_0x477d('0xd67')]&&_0x42f9dc[_0x477d('0x451')][_0x477d('0xd67')]['length']){_0x4d8b31[_0x477d('0xd67')]=_0x42f9dc[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x42f9dc['toString'](),'type':_0x477d('0x2101')}];for(var _0x4da64c=0x0;_0x4da64c<_0x42f9dc[_0x477d('0x451')]['errors'][_0x477d('0x79')];_0x4da64c++){_0x193a66[_0x477d('0x44a')]({'title':_0x42f9dc[_0x477d('0x451')][_0x477d('0xd67')][_0x4da64c]['type'],'msg':_0x42f9dc[_0x477d('0x451')]['errors'][_0x4da64c][_0x477d('0x452')]});}}else{_0x193a66[_0x477d('0x44a')]({'title':_0x42f9dc['status']?_0x477d('0x44b')+_0x42f9dc[_0x477d('0x3c3')]+'\x20-\x20'+_0x42f9dc[_0x477d('0x44d')]:_0x477d('0x2101'),'msg':_0x42f9dc['data']?JSON['stringify'](_0x42f9dc[_0x477d('0x451')]['message']):_0x42f9dc[_0x477d('0x452')]||_0x42f9dc[_0x477d('0x453')]()});}});}function _0x53c6ea(){var _0x2b4f51=angular[_0x477d('0x6d9')](_0x4d8b31[_0x477d('0x215e')]);_0x4d8b31[_0x477d('0x215e')]=[];return _0x2b4f51;}function _0x28b9b2(_0x100770){var _0xdc5630=_0x5bdc30['confirm']()[_0x477d('0x49a')](_0x477d('0x216e'))['htmlContent'](_0x477d('0xd93')+_0x4d8b31[_0x477d('0x215e')]['length']+_0x477d('0xda0')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x216f'))[_0x477d('0xd7c')](_0x100770)['ok']('OK')['cancel'](_0x477d('0xd97'));_0x5bdc30['show'](_0xdc5630)[_0x477d('0x76')](function(){_0x4d8b31[_0x477d('0x215e')]['forEach'](function(_0x470b50){_0x5c3524(_0x470b50);});_0x4d8b31['selectedTelephones']=[];});}function _0x53c90c(){_0x4d8b31['selectedTelephones']=[];}function _0x2f2375(){_0x4d8b31[_0x477d('0x215e')]=_0x4d8b31[_0x477d('0x3b9')][_0x477d('0xf2')];}}}());(function(){'use strict';_0x26fe4b[_0x477d('0xa')]=['$scope',_0x477d('0x3c4'),_0x477d('0xd64'),_0x477d('0x384'),'$q',_0x477d('0x40d'),_0x477d('0x40e'),'userProfiles',_0x477d('0x3a5'),_0x477d('0x386'),'Auth',_0x477d('0x613'),_0x477d('0xc8e'),_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x2d'))[_0x477d('0x3ba')](_0x477d('0x2170'),_0x26fe4b);function _0x26fe4b(_0x40071e,_0x410771,_0xef8fda,_0x129a36,_0x484035,_0x2d1be6,_0x390ac0,_0x3af8be,_0x2465b4,_0x587f3a,_0x43f49c,_0x1a7ce1,_0x44f248,_0x4a4bb6){var _0x1525a0=this;_0x1525a0[_0x477d('0x3e5')]=_0x43f49c[_0x477d('0x5c')]();_0x1525a0[_0x477d('0xd67')]=[];_0x1525a0[_0x477d('0xc8e')]=_0x44f248;_0x1525a0[_0x477d('0x613')]=_0x1a7ce1;_0x1525a0[_0x477d('0xd66')]=_0x4a4bb6;_0x1525a0['hasModulePermissions']={};_0x1525a0[_0x477d('0xd69')]=_0x1525a0['setting']&&_0x1525a0[_0x477d('0xc8e')]['securePassword']?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x1525a0['title']=_0x477d('0x2171');_0x1525a0['userProfile']=angular[_0x477d('0x6d9')](_0x2465b4);_0x1525a0[_0x477d('0x2172')]=_0x3af8be;_0x1525a0[_0x477d('0x2173')]=![];if(!_0x1525a0[_0x477d('0x3a5')]){_0x1525a0[_0x477d('0x3a5')]={'crudPermissions':['r']};_0x1525a0[_0x477d('0x49a')]='STAFF.NEW_USERPROFILE';_0x1525a0[_0x477d('0x2173')]=!![];}_0x1525a0[_0x477d('0x2174')]=_0x7b9c80;_0x1525a0[_0x477d('0x2175')]=_0x5c941e;_0x1525a0[_0x477d('0x2176')]=_0x1d002c;_0x1525a0[_0x477d('0xd6f')]=_0x521c87;_0x1525a0[_0x477d('0x6bf')]=_0x5d859f;function _0x7b9c80(){_0x1525a0['errors']=[];_0x587f3a[_0x477d('0x3a5')][_0x477d('0xd70')](_0x1525a0[_0x477d('0x3a5')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x4729a1){_0x58901b(_0x4729a1);_0x1525a0[_0x477d('0x2172')]['unshift'](_0x4729a1[_0x477d('0xd71')]());_0x390ac0['success']({'title':_0x477d('0x2177'),'msg':_0x1525a0[_0x477d('0x3a5')]['name']?_0x1525a0['userProfile'][_0x477d('0x94')]+_0x477d('0xd73'):''});_0x5d859f(_0x4729a1);})['catch'](function(_0x24c8f6){if(_0x24c8f6['data']&&_0x24c8f6[_0x477d('0x451')]['errors']&&_0x24c8f6[_0x477d('0x451')]['errors'][_0x477d('0x79')]){_0x1525a0[_0x477d('0xd67')]=_0x24c8f6['data']['errors']||[{'message':_0x24c8f6[_0x477d('0x453')](),'type':'api.userProfile.save'}];for(var _0x65add8=0x0;_0x65add8<_0x24c8f6[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x65add8+=0x1){_0x390ac0[_0x477d('0x44a')]({'title':_0x24c8f6[_0x477d('0x451')]['errors'][_0x65add8][_0x477d('0x439')],'msg':_0x24c8f6['data'][_0x477d('0xd67')][_0x65add8][_0x477d('0x452')]});}}else{_0x390ac0[_0x477d('0x44a')]({'title':_0x24c8f6[_0x477d('0x3c3')]?'API:'+_0x24c8f6[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x24c8f6[_0x477d('0x44d')]:'api.userProfile.save','msg':_0x24c8f6[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x24c8f6[_0x477d('0x451')][_0x477d('0x452')]):_0x24c8f6[_0x477d('0x453')]()});}});}function _0x5c941e(){_0x1525a0[_0x477d('0xd67')]=[];_0x587f3a['userProfile'][_0x477d('0x710')]({'id':_0x1525a0[_0x477d('0x3a5')]['id']},_0x1525a0[_0x477d('0x3a5')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x21c582){var _0x4c90c2=_[_0x477d('0x10a')](_0x1525a0['userProfiles'],{'id':_0x21c582['id']});if(_0x4c90c2){_[_0x477d('0xef')](_0x4c90c2,_['pick'](_0x21c582['toJSON'](),_[_0x477d('0x7f')](_0x4c90c2)));}_0x390ac0[_0x477d('0x485')]({'title':_0x477d('0x2178'),'msg':_0x1525a0[_0x477d('0x3a5')][_0x477d('0x94')]?_0x1525a0[_0x477d('0x3a5')][_0x477d('0x94')]+_0x477d('0xd76'):''});_0x5d859f(_0x21c582);})['catch'](function(_0x523abb){if(_0x523abb[_0x477d('0x451')]&&_0x523abb['data'][_0x477d('0xd67')]&&_0x523abb['data'][_0x477d('0xd67')][_0x477d('0x79')]){_0x1525a0[_0x477d('0xd67')]=_0x523abb[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x523abb[_0x477d('0x453')](),'type':_0x477d('0x2179')}];for(var _0x4b1df1=0x0;_0x4b1df1<_0x523abb[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x4b1df1++){_0x390ac0['error']({'title':_0x523abb['data']['errors'][_0x4b1df1]['type'],'msg':_0x523abb[_0x477d('0x451')]['errors'][_0x4b1df1][_0x477d('0x452')]});}}else{_0x390ac0[_0x477d('0x44a')]({'title':_0x523abb[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x523abb['status']+'\x20-\x20'+_0x523abb[_0x477d('0x44d')]:_0x477d('0x2179'),'msg':_0x523abb[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x523abb[_0x477d('0x451')]['message']):_0x523abb[_0x477d('0x453')]()});}});}function _0x1d002c(_0x12a961){_0x1525a0[_0x477d('0xd67')]=[];var _0x50c33b=_0x129a36[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xd79'))[_0x477d('0xdaf')](_0x477d('0x217a'))[_0x477d('0x687')](_0x477d('0x217b'))['ok'](_0x477d('0xd7b'))[_0x477d('0x4f0')](_0x477d('0x688'))[_0x477d('0xd7c')](_0x12a961);_0x129a36[_0x477d('0x395')](_0x50c33b)[_0x477d('0x76')](function(){_0x587f3a[_0x477d('0x3a5')][_0x477d('0xa55')]({'id':_0x1525a0[_0x477d('0x3a5')]['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x1525a0[_0x477d('0x2172')],{'id':_0x1525a0['userProfile']['id']});_0x390ac0[_0x477d('0x485')]({'title':_0x477d('0x217c'),'msg':(_0x1525a0[_0x477d('0x3a5')][_0x477d('0x94')]||_0x477d('0x3a5'))+_0x477d('0xd7e')});_0x5d859f(_0x1525a0[_0x477d('0x3a5')]);})['catch'](function(_0xd89eed){if(_0xd89eed[_0x477d('0x451')]&&_0xd89eed[_0x477d('0x451')]['errors']&&_0xd89eed[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x1525a0[_0x477d('0xd67')]=_0xd89eed[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0xd89eed[_0x477d('0x453')](),'type':_0x477d('0x217d')}];for(var _0x3eed79=0x0;_0x3eed79<_0xd89eed['data'][_0x477d('0xd67')][_0x477d('0x79')];_0x3eed79++){_0x390ac0[_0x477d('0x44a')]({'title':_0xd89eed[_0x477d('0x451')][_0x477d('0xd67')][_0x3eed79][_0x477d('0x439')],'msg':_0xd89eed[_0x477d('0x451')][_0x477d('0xd67')][_0x3eed79]['message']});}}else{_0x390ac0[_0x477d('0x44a')]({'title':_0xd89eed[_0x477d('0x3c3')]?_0x477d('0x44b')+_0xd89eed[_0x477d('0x3c3')]+_0x477d('0x44c')+_0xd89eed[_0x477d('0x44d')]:_0x477d('0x217d'),'msg':_0xd89eed[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0xd89eed['data'][_0x477d('0x452')]):_0xd89eed[_0x477d('0x452')]||_0xd89eed['toString']()});}});},function(){});}function _0x58901b(_0x1ca894){var _0x4babce=[];_0x1ca894[_0x477d('0xd66')][_0x477d('0x3b1')](function(_0x26e454){var _0x503d29;switch(_0x26e454){case'r':_0x503d29='READ_PERMISSION';break;case'e':_0x503d29=_0x477d('0x217e');break;case'd':_0x503d29=_0x477d('0x217f');break;}_0x4babce['push'](_0x2d1be6['instant']('STAFF.'+_0x503d29));});_0x1ca894[_0x477d('0x2180')]=_0x4babce[_0x477d('0x3f6')](',\x20');}function _0x521c87(_0x26236c){return _0x26236c===null?undefined:new Date(_0x26236c);}function _0x5d859f(_0x132a58){_0x129a36['hide'](_0x132a58);}}}());(function(){'use strict';_0x431ec9[_0x477d('0xa')]=[_0x477d('0x384'),_0x477d('0x3c4'),_0x477d('0x40e'),_0x477d('0x386'),_0x477d('0x3a5'),_0x477d('0x2172'),_0x477d('0x40d')];angular['module']('app.staff')[_0x477d('0x3ba')]('UserProfilecloneController',_0x431ec9);function _0x431ec9(_0x5cdc7d,_0x5b71fd,_0x53bdc3,_0x5e4259,_0x397fe4,_0x235f7b,_0x17ac61){var _0x2b1c6a=this;_0x2b1c6a[_0x477d('0x2173')]=!![];_0x2b1c6a[_0x477d('0x3a5')]=angular[_0x477d('0x6d9')](_0x397fe4);_0x2b1c6a[_0x477d('0x2172')]=_0x235f7b;_0x2b1c6a[_0x477d('0x49a')]=_0x17ac61[_0x477d('0x45f')](_0x477d('0x2181'));if(_0x397fe4&&_0x397fe4[_0x477d('0x94')]){_0x2b1c6a[_0x477d('0x49a')]+=':\x20'+_0x397fe4[_0x477d('0x94')];}_0x2b1c6a['cloneUserProfile']=_0x58a9b9;_0x2b1c6a[_0x477d('0x6bf')]=_0x24bf84;function _0x58a9b9(){return _0x5e4259[_0x477d('0x3a5')]['clone']({'id':_0x397fe4['id']},_0x2b1c6a['userProfile'])['$promise'][_0x477d('0x76')](function(_0x9ff2d6){_0x574655(_0x9ff2d6);_0x2b1c6a[_0x477d('0x2172')][_0x477d('0x63b')](_0x9ff2d6[_0x477d('0xd71')]());_0x53bdc3[_0x477d('0x485')]({'title':_0x477d('0x2182'),'msg':_0x2b1c6a['userProfile'][_0x477d('0x94')]?_0x2b1c6a[_0x477d('0x3a5')][_0x477d('0x94')]+_0x477d('0x1da3'):''});_0x5b71fd['go'](_0x477d('0x2a3'),{'id':_0x9ff2d6['id']});_0x24bf84(_0x9ff2d6);})[_0x477d('0xf8')](function(_0xaa7128){if(_0xaa7128['data']&&_0xaa7128[_0x477d('0x451')]['errors']&&_0xaa7128[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x2b1c6a[_0x477d('0xd67')]=_0xaa7128[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0xaa7128[_0x477d('0x453')](),'type':_0x477d('0x2183')}];for(var _0x375390=0x0;_0x375390<_0xaa7128[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x375390+=0x1){_0x53bdc3[_0x477d('0x44a')]({'title':_0xaa7128['data'][_0x477d('0xd67')][_0x375390]['type'],'msg':_0xaa7128[_0x477d('0x451')][_0x477d('0xd67')][_0x375390][_0x477d('0x452')]});}}else{_0x53bdc3['error']({'title':_0xaa7128[_0x477d('0x3c3')]?_0x477d('0x44b')+_0xaa7128[_0x477d('0x3c3')]+_0x477d('0x44c')+_0xaa7128[_0x477d('0x44d')]:_0x477d('0x2183'),'msg':_0xaa7128[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0xaa7128[_0x477d('0x451')][_0x477d('0x452')]):_0xaa7128['toString']()});}});}function _0x574655(_0x2bb617){var _0x5166ad=[];_0x2bb617[_0x477d('0xd66')][_0x477d('0x3b1')](function(_0x2ca5e9){var _0x5a09fb;switch(_0x2ca5e9){case'r':_0x5a09fb=_0x477d('0x2184');break;case'e':_0x5a09fb=_0x477d('0x217e');break;case'd':_0x5a09fb='DELETE_PERMISSION';break;}_0x5166ad[_0x477d('0x3a7')](_0x17ac61[_0x477d('0x45f')]('STAFF.'+_0x5a09fb));});_0x2bb617[_0x477d('0x2180')]=_0x5166ad[_0x477d('0x3f6')](',\x20');}function _0x24bf84(_0x17654b){_0x5cdc7d[_0x477d('0x3bc')](_0x17654b);}}}());(function(){'use strict';_0x7af27a['$inject']=[_0x477d('0x475'),_0x477d('0x384'),_0x477d('0x40d'),'$q',_0x477d('0x386'),_0x477d('0x555'),_0x477d('0x55'),'toasty'];angular[_0x477d('0xb')]('app.staff')[_0x477d('0x3ba')](_0x477d('0x2185'),_0x7af27a);function _0x7af27a(_0x5c5082,_0x5dafe8,_0x7aa6f8,_0x1eb1a6,_0x162101,_0x50923d,_0x5c8c70,_0x2035b4){var _0xa96441=this;_0xa96441[_0x477d('0x3a5')]={};_0xa96441['license']={};_0xa96441['navigation']=_0x50923d[_0x477d('0x570')]();_0xa96441[_0x477d('0x1fcd')]=_0xa96441['navigation'][0x0][_0x477d('0x53f')];_0xa96441[_0x477d('0x2186')]=[{'id':0x0,'name':'Fully\x20Enabled','color':_0x477d('0x16ee'),'info':_0x477d('0x2187'),'tag':'full'},{'id':0x1,'name':_0x477d('0x2188'),'color':_0x477d('0x2189'),'info':'Some\x20resources\x20enabled','tag':_0x477d('0x218a')},{'id':0x2,'name':_0x477d('0x218b'),'color':_0x477d('0x218c'),'info':'No\x20resources\x20enabled','tag':_0x477d('0x45c')},{'id':0x3,'name':_0x477d('0x218d'),'color':'red-A700-bg','info':_0x477d('0x218e'),'tag':'unlicensed'},{'id':0x4,'name':'Unknown','color':_0x477d('0x218f'),'info':'Unknown\x20status','tag':_0x477d('0x13f8')}];_0xa96441[_0x477d('0x2190')]=[{'title':_0x477d('0x2191'),'translate':_0x477d('0x2192'),'id':0x64}];_0xa96441['init']=_0x2ca268;_0xa96441[_0x477d('0x2193')]=_0x1e5807;_0xa96441[_0x477d('0x2194')]=_0x5d1917;_0xa96441[_0x477d('0x2195')]=_0x52ccbd;function _0x2ca268(_0x1fe706,_0x5981a2){_0xa96441[_0x477d('0x3a5')]=_0x1fe706;_0xa96441['license']=_0x5981a2;}function _0x1e5807(_0x2798d7){var _0x1489f5=typeof _0x2798d7[_0x477d('0x3a3')]!==_0x477d('0x4a4')&&!_0x2798d7[_0x477d('0x3a3')][_0x477d('0x2196')]?!![]:![];var _0x681faf=_0x2798d7[_0x477d('0x49a')]===_0x477d('0x2197')?'AppZone':_0x2798d7[_0x477d('0x49a')];if(_0x2798d7['status'][_0x477d('0x94')]!==_0x477d('0x2198')){var _0x48203d=[];if(!_0x1489f5){var _0x46bbad=_0x5dafe8[_0x477d('0xd78')]({'skipHide':!![]})[_0x477d('0x49a')](_0x477d('0x15a1'))[_0x477d('0x68e')](_0x7aa6f8['instant'](_0x477d('0x2199'),{'sectionName':_0x7aa6f8[_0x477d('0x45f')](_0x2798d7[_0x477d('0x454')])}))['ariaLabel'](_0x477d('0x15a1'))['ok'](_0x7aa6f8[_0x477d('0x45f')](_0x477d('0x219a')))['cancel'](_0x7aa6f8[_0x477d('0x45f')](_0x477d('0x219b')));_0x5dafe8[_0x477d('0x395')](_0x46bbad)[_0x477d('0x76')](function(){switch(_0x681faf){case'Dashboards':_[_0x477d('0x3cb')](_0xa96441[_0x477d('0x2190')],function(_0x414699){_0x48203d[_0x477d('0x3a7')]({'category':_0x681faf,'sectionId':_0x414699['id'],'name':_0x414699['title'],'enabled':!![],'autoAssociation':!![],'crudPermissions':_[_0x477d('0x3cb')](_0xa96441[_0x477d('0x3a5')][_0x477d('0xd66')])[_0x477d('0x3f6')]('')});});break;default:_['map'](_0x2798d7[_0x477d('0x53f')],function(_0x5c16ad){var _0x40b39c=typeof _0x5c16ad[_0x477d('0x3a3')]!=_0x477d('0x4a4')&&_0x5c16ad[_0x477d('0x3a3')][_0x477d('0x54d')]?!![]:![];if(!_0x40b39c){var _0x141909=_0x5c16ad[_0x477d('0x49a')];switch(_0x681faf){case _0x477d('0x219c'):_0x141909=_0x141909===_0x477d('0x1ca')?_0x477d('0x95'):_0x141909;break;}_0x48203d['push']({'category':_0x681faf,'sectionId':_0x5c16ad['id'],'name':_0x141909,'enabled':!![],'autoAssociation':!![],'crudPermissions':_['map'](_0xa96441[_0x477d('0x3a5')]['crudPermissions'])[_0x477d('0x3f6')]('')});}});break;}return _0x162101[_0x477d('0x3a5')]['addSections']({'id':_0xa96441[_0x477d('0x3a5')]['id']},_0x48203d)[_0x477d('0x38b')][_0x477d('0x76')](function(){_0x2798d7[_0x477d('0x3c3')]=_0x100b38(_0x2798d7,_0x477d('0x219d'));_0x2035b4[_0x477d('0x485')]({'title':_0x7aa6f8[_0x477d('0x45f')](_0x477d('0x219e'),{'sectionName':_0x7aa6f8[_0x477d('0x45f')](_0x2798d7['translate']),'userProfileName':_0xa96441[_0x477d('0x3a5')][_0x477d('0x94')]}),'msg':_0x7aa6f8[_0x477d('0x45f')]('STAFF.NOTIFICATIONS.PERMISSIONS_ENABLED_ALL_SUCCESS_MESSAGE',{'sectionName':_0x7aa6f8[_0x477d('0x45f')](_0x2798d7[_0x477d('0x454')]),'userProfileName':_0xa96441[_0x477d('0x3a5')][_0x477d('0x94')]})});});})[_0x477d('0xf8')](function(_0x1af1db){if(_0x1af1db){_0x2035b4[_0x477d('0x44a')]({'title':_0x1af1db[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x1af1db['status']+_0x477d('0x44c')+_0x1af1db[_0x477d('0x44d')]:_0x477d('0x219f'),'msg':_0x1af1db[_0x477d('0x3c3')]?JSON[_0x477d('0x3fb')](_0x1af1db[_0x477d('0x451')]):_0x1af1db[_0x477d('0x453')]()});}else{_0x2798d7[_0x477d('0x3c3')]=_0x100b38(_0x2798d7,_0x2798d7[_0x477d('0x3c3')][_0x477d('0xbb0')]);}});}else{_0x48203d[_0x477d('0x3a7')]({'category':_0x681faf,'sectionId':_0x2798d7['id'],'name':_0x681faf,'enabled':!![],'crudPermissions':_0x477d('0x9eb')});return _0x162101[_0x477d('0x3a5')]['addSections']({'id':_0xa96441[_0x477d('0x3a5')]['id']},_0x48203d)[_0x477d('0x38b')][_0x477d('0x76')](function(){_0x2798d7['status']=_0x100b38(_0x2798d7,_0x477d('0x219d'));_0x2035b4['success']({'title':_0x7aa6f8[_0x477d('0x45f')](_0x477d('0x219e'),{'sectionName':_0x7aa6f8['instant'](_0x2798d7['translate']),'userProfileName':_0xa96441['userProfile']['name']}),'msg':_0x7aa6f8[_0x477d('0x45f')](_0x477d('0x21a0'),{'sectionName':_0x7aa6f8[_0x477d('0x45f')](_0x2798d7[_0x477d('0x454')]),'userProfileName':_0xa96441[_0x477d('0x3a5')][_0x477d('0x94')]})});})[_0x477d('0xf8')](function(_0x4736b3){_0x2035b4[_0x477d('0x44a')]({'title':_0x4736b3[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x4736b3['status']+_0x477d('0x44c')+_0x4736b3['statusText']:_0x477d('0x219f'),'msg':_0x4736b3['status']?JSON[_0x477d('0x3fb')](_0x4736b3[_0x477d('0x451')]):_0x4736b3[_0x477d('0x453')]()});});}}else if(_0x2798d7['status']['name']===_0x477d('0x2198')){_0x2798d7[_0x477d('0x3c3')]=_0x100b38(_0x2798d7,_0x477d('0x45c'));var _0x48d9c1=[];switch(_0x681faf){case _0x477d('0x21a1'):case _0x477d('0x21a2'):_0x48d9c1=[_0x2798d7['id']];break;case _0x477d('0x2191'):_0x48d9c1=_[_0x477d('0x3cb')](_0xa96441[_0x477d('0x2190')],function(_0x1f4334){return _0x1f4334['id'];});break;default:_0x48d9c1=_['map'](_0x2798d7['children'],function(_0x292a26){return _0x292a26['id'];});break;}return _0x162101['userProfile']['removeSections']({'id':_0xa96441[_0x477d('0x3a5')]['id'],'ids':_0x48d9c1})[_0x477d('0x38b')][_0x477d('0x76')](function(){_0x2035b4[_0x477d('0x485')]({'title':_0x7aa6f8[_0x477d('0x45f')](_0x477d('0x21a3'),{'sectionName':_0x7aa6f8[_0x477d('0x45f')](_0x2798d7[_0x477d('0x454')]),'userProfileName':_0xa96441['userProfile']['name']}),'msg':_0x7aa6f8['instant'](_0x477d('0x21a4'),{'sectionName':_0x7aa6f8[_0x477d('0x45f')](_0x2798d7[_0x477d('0x454')]),'userProfileName':_0xa96441[_0x477d('0x3a5')][_0x477d('0x94')]})});})[_0x477d('0xf8')](function(_0x1d7cee){_0x2035b4[_0x477d('0x44a')]({'title':_0x1d7cee[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x1d7cee[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x1d7cee[_0x477d('0x44d')]:'SYSTEM:USERPROFILE.REMOVESECTIONS','msg':_0x1d7cee[_0x477d('0x3c3')]?JSON['stringify'](_0x1d7cee[_0x477d('0x451')]):_0x1d7cee['toString']()});});}}function _0x5d1917(_0x2f6f37,_0x21ceb0){var _0x52c949=_0x5dafe8[_0x477d('0x395')]({'controller':'UserProfilepermissionsmanageController','controllerAs':'vm','templateUrl':'app/main/apps/staff/views/userProfiles/edit/permissionsmanage/permissionsmanage.html','parent':angular[_0x477d('0x398')](_0x5c5082[_0x477d('0x399')]),'targetEvent':_0x21ceb0,'clickOutsideToClose':![],'locals':{'userProfile':_0xa96441[_0x477d('0x3a5')],'userProfiles':[],'section':_0x2f6f37}});_0x52c949[_0x477d('0x76')](function(){_0x52ccbd(_0x2f6f37);});}function _0x100b38(_0xc28371,_0x4bc20a){_0xc28371['allResourcesEnabled']=_0x30f16b(_0x4bc20a);switch(_0x4bc20a){case _0x477d('0x219d'):return _[_0x477d('0x10a')](_0xa96441[_0x477d('0x2186')],[_0x477d('0xbb0'),_0x477d('0x219d')]);case _0x477d('0x218a'):return _['find'](_0xa96441[_0x477d('0x2186')],['tag','partial']);case _0x477d('0x45c'):return _[_0x477d('0x10a')](_0xa96441['statusList'],[_0x477d('0xbb0'),_0x477d('0x45c')]);case'unlicensed':return _['find'](_0xa96441[_0x477d('0x2186')],[_0x477d('0xbb0'),'unlicensed']);case _0x477d('0x13f8'):return _[_0x477d('0x10a')](_0xa96441['statusList'],[_0x477d('0xbb0'),'unknown']);default:return _[_0x477d('0x10a')](_0xa96441[_0x477d('0x2186')],[_0x477d('0xbb0'),_0x477d('0x13f8')]);}}function _0x161d8b(_0x573c52){return _0x1eb1a6(function(_0x6c066a,_0x552e91){var _0x37b77a=typeof _0x573c52[_0x477d('0x1599')]!=='undefined'&&_[_0x477d('0x3a4')](_0x573c52['route'],_0x477d('0x1258'));if(_0x37b77a){_0x2894c6(_0x573c52)[_0x477d('0x76')](function(_0x59e189){_0x6c066a(_0x59e189);})['catch'](function(_0x1866fc){_0x552e91(_0x1866fc);});}else{_0x2f38a5(_0x573c52)['then'](function(_0x120406){_0x6c066a(_0x120406);})['catch'](function(_0x38732d){_0x552e91(_0x38732d);});}});}function _0x2894c6(_0x464c7a){return _0x1eb1a6(function(_0x332768,_0x176add){var _0x37bba9=typeof _0x464c7a[_0x477d('0x1599')]!==_0x477d('0x4a4')&&_0x464c7a[_0x477d('0x1599')]===_0x477d('0x2121')?_0x477d('0x127'):_0x477d('0x9e');return _0x162101[_0x464c7a[_0x477d('0x442')]]['get']({'fields':_0x477d('0x2120'),'channel':_0x464c7a[_0x477d('0x1599')]===_0x477d('0x2121')?_0x477d('0x108'):_0x464c7a[_0x477d('0x1599')],'type':_0x37bba9,'nolimit':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0xdb9d67){_0x332768(_0xdb9d67);})[_0x477d('0xf8')](function(_0x3d9b45){_0x176add(_0x3d9b45);});});}function _0x2f38a5(_0x1ac1ee){return _0x1eb1a6(function(_0x288c03,_0xe7aead){switch(_0x1ac1ee[_0x477d('0x442')]){case _0x477d('0x21a5'):var _0x217a7e;switch(_0x1ac1ee[_0x477d('0x49a')]){case _0x477d('0x316'):_0x217a7e=_0x477d('0x9e');break;case _0x477d('0x31d'):_0x217a7e='outbound';break;case _0x477d('0x325'):_0x217a7e='internal';break;}break;case _0x477d('0x380'):var _0x28f2f9;switch(_0x1ac1ee[_0x477d('0x49a')]){case _0x477d('0xce'):_0x28f2f9=_0x477d('0xcf');break;case _0x477d('0x296'):_0x28f2f9='telephone';break;case'Users':_0x28f2f9=_0x477d('0x380');break;}break;}if(_0x1ac1ee[_0x477d('0x49a')]===_0x477d('0x21a6')){if(_0x1ac1ee[_0x477d('0x21a7')]){switch(_0x1ac1ee['reportType']){case _0x477d('0x5e3'):_0x1ac1ee[_0x477d('0x442')]='analyticDefaultReport';break;case'custom':_0x1ac1ee[_0x477d('0x442')]=_0x477d('0x919');break;}}else{return _0x162101[_0x477d('0x918')][_0x477d('0x376')]({'nolimit':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x27866b){_0x162101['analyticCustomReport']['get']({'nolimit':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x5bc7d8){var _0x5486cf=_[_0x477d('0x21a8')](_0x27866b[_0x477d('0xf2')],_0x5bc7d8[_0x477d('0xf2')]);_0x288c03({'count':_0x5486cf[_0x477d('0x79')],'rows':_0x5486cf['rows']});});})[_0x477d('0xf8')](function(_0x470017){_0xe7aead(_0x470017);});}}return _0x162101[_0x1ac1ee[_0x477d('0x442')]][_0x477d('0x376')]({'role':_0x28f2f9?_0x28f2f9:undefined,'type':_0x217a7e?_0x217a7e:undefined,'VoiceExtensionId':_0x217a7e?_0x477d('0xea'):undefined,'nolimit':!![]})['$promise'][_0x477d('0x76')](function(_0x20e7e4){_0x288c03(_0x20e7e4);})[_0x477d('0xf8')](function(_0x3e638b){_0xe7aead(_0x3e638b);});});}function _0x3064cc(_0xc47122,_0x55a8ca){return _0x1eb1a6(function(_0x47acb1,_0x26cb2b){_0x162101[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x55a8ca})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x222e73){return _0x161d8b(_0xc47122)[_0x477d('0x76')](function(_0x312e92){return _[_0x477d('0x11f8')](_0x222e73['rows'],_0x312e92['rows'],'id');});})[_0x477d('0x76')](function(_0x28f1a9){_[_0x477d('0x3b2')](_0x28f1a9)?_0x47acb1():_0x26cb2b();})[_0x477d('0xf8')](function(_0x4253cb){_0x26cb2b(_0x4253cb);});});}function _0xbf1d19(_0x21c6e4,_0x4a3d1c,_0x24453b){var _0x352dcc=_0x21c6e4&&_0x21c6e4[_0x477d('0x79')]>0x0?_0x21c6e4[0x0]:null;if(!_0x352dcc)return _0x24453b;var _0x3961a5=_[_0x477d('0x10a')](_0x4a3d1c,[_0x477d('0x3a8'),_0x352dcc['id']]);if(_0x3961a5){_0x4a3d1c=_[_0x477d('0x39c')](_0x4a3d1c,[_0x477d('0x3a8'),_0x352dcc['id']]);return _0x3064cc(_0x352dcc,_0x3961a5['id'])[_0x477d('0x76')](function(){_0x24453b=_0x477d('0x219d');return _0xbf1d19(_0x21c6e4[_0x477d('0x18f9')](),_0x4a3d1c,_0x24453b);})[_0x477d('0xf8')](function(_0x40961c){return _0x1eb1a6[_0x477d('0x691')](_0x40961c);});}}function _0x52ccbd(_0xd65bfa){var _0x500b7d=_0xd65bfa[_0x477d('0x49a')]==='Marketplace'?_0x477d('0x21a9'):_0xd65bfa[_0x477d('0x49a')];if(!_0xa96441[_0x477d('0x613')]){_0xd65bfa[_0x477d('0x3c3')]=_0x100b38(_0xd65bfa,_0x477d('0x13f8'));return;}if(typeof _0xd65bfa['permissions']!=='undefined'&&!_0xd65bfa[_0x477d('0x3a3')][_0x477d('0x2196')]){_0x162101[_0x477d('0x3ac')]['get']({'userProfileId':_0xa96441['userProfile']['id'],'sectionId':_0xd65bfa['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x43e6b1){var _0x5c6c6d=_0x43e6b1&&_0x43e6b1[_0x477d('0xf2')][_0x477d('0x79')]===0x1?_0x43e6b1['rows'][0x0]:null;var _0x4aa6d4=_0x5c6c6d?_0x477d('0x219d'):_0x477d('0x45c');_0xd65bfa[_0x477d('0x3c3')]=_0x100b38(_0xd65bfa,_0x4aa6d4);});}else{if(typeof _0xd65bfa[_0x477d('0x613')]!==_0x477d('0x4a4')&&!_0xa96441[_0x477d('0x613')][_0xd65bfa[_0x477d('0x613')]]){_0xd65bfa[_0x477d('0x3c3')]=_0x100b38(_0xd65bfa,_0x477d('0x21aa'));}else{_0x162101[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0xa96441[_0x477d('0x3a5')]['id'],'category':_0x500b7d})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x307871){var _0x1de81f=_0x307871&&_0x307871[_0x477d('0xf2')]&&_0x307871[_0x477d('0xf2')][_0x477d('0x79')]>0x0?_0x307871[_0x477d('0xf2')]:[];if(_0xd65bfa['title']===_0x477d('0x2191')){if(_[_0x477d('0x3b2')](_0x1de81f)){return _0x477d('0x45c');}else{if(_0x1de81f[0x0][_0x477d('0x3ad')]){return _0x477d('0x219d');}else{return _0x162101[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x1de81f[0x0]['id'],'resourceId':0x65})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x30e789){var _0x151b92=_0x30e789&&_0x30e789['rows']?_0x30e789[_0x477d('0xf2')][0x0]:null;return _0x151b92?_0x477d('0x219d'):'partial';});}}}else{var _0x6cd752=_[_0x477d('0x3b3')](_0xd65bfa['children'],function(_0x299ab7){return typeof _0x299ab7[_0x477d('0x3a3')]!==_0x477d('0x4a4')&&_0x299ab7['permissions'][_0x477d('0x54d')]?undefined:_0x299ab7;});if(_0x1de81f[_0x477d('0x79')]===_0x6cd752[_0x477d('0x79')]){if(_['every'](_0x1de81f,['autoAssociation',!![]])){return _0x477d('0x219d');}else{var _0x4a2639=_['filter'](_0x6cd752,function(_0x4bd3ec){return typeof _0x4bd3ec[_0x477d('0x3a3')]!==_0x477d('0x4a4')&&!_0x4bd3ec[_0x477d('0x3a3')][_0x477d('0x2196')]?undefined:_0x4bd3ec;});return _0xbf1d19(_0x4a2639,_0x1de81f,_0x477d('0x218a'));}}else{return _0x1de81f[_0x477d('0x79')]===0x0?_0x477d('0x45c'):'partial';}}})['then'](function(_0x3ed9b7){_0xd65bfa[_0x477d('0x3c3')]=_0x100b38(_0xd65bfa,_0x3ed9b7);})[_0x477d('0xf8')](function(_0x37bb5e){var _0x2cfc88=_0x37bb5e?'unknown':_0x477d('0x218a');_0xd65bfa['status']=_0x100b38(_0xd65bfa,_0x2cfc88);if(_0x37bb5e){_0x2035b4[_0x477d('0x44a')]({'title':_0x37bb5e[_0x477d('0x3c3')]?'API:'+_0x37bb5e[_0x477d('0x3c3')]+'\x20-\x20'+_0x37bb5e['statusText']:_0x477d('0x21ab')+_0x500b7d[_0x477d('0x44f')]()+')','msg':_0x37bb5e['status']?JSON[_0x477d('0x3fb')](_0x37bb5e[_0x477d('0x451')]):_0x37bb5e[_0x477d('0x453')]()});}});}}}function _0x30f16b(_0x1c887c){return _0x1c887c==='full'?!![]:![];}}}());(function(){'use strict';_0x40377b[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x384'),'$q',_0x477d('0x40e'),_0x477d('0x386'),_0x477d('0x3a5'),'userProfiles','$translate',_0x477d('0x55'),_0x477d('0xd99')];angular[_0x477d('0xb')](_0x477d('0x2d'))[_0x477d('0x3ba')](_0x477d('0x21ac'),_0x40377b);function _0x40377b(_0xfa7d5b,_0x4c65f9,_0x46b082,_0x41b4d1,_0x1703a7,_0x1c272a,_0x2e4c3c,_0x43387f,_0x578c13,_0x37f196){var _0x1d180d=this;_0x1d180d['userProfile']=_0x1c272a;_0x1d180d[_0x477d('0x1184')]=0x0;_0x1d180d[_0x477d('0xd99')]=angular['copy'](_0x37f196);_0x1d180d['title']=_0x43387f[_0x477d('0x45f')](_0x477d('0x21ad'),{'sectionName':_0x43387f[_0x477d('0x45f')](_0x1d180d[_0x477d('0xd99')][_0x477d('0x454')])});_0x1d180d[_0x477d('0x4a6')]=[];_0x1d180d[_0x477d('0x4a7')]=[];_0x1d180d[_0x477d('0x3aa')]=_[_0x477d('0x3b3')](_0x1d180d[_0x477d('0xd99')]['children'],function(_0x5a29d5){return typeof _0x5a29d5[_0x477d('0x3a3')]!=_0x477d('0x4a4')&&_0x5a29d5['permissions'][_0x477d('0x54d')]?undefined:_0x5a29d5;});_0x1d180d['dashboardSections']=[{'title':'Dashboards','translate':_0x477d('0x2192'),'id':0x64}];_0x1d180d[_0x477d('0x21ae')]=[];if(_0x1d180d[_0x477d('0xd99')][_0x477d('0x49a')]===_0x477d('0x2191')){_0x1d180d[_0x477d('0x21ae')]=_0x1d180d[_0x477d('0x3aa')];_0x1d180d['subsections']=_0x1d180d['dashboardSections'];}_0x1d180d['selectedSection']=null;_0x1d180d[_0x477d('0x21af')]=null;_0x1d180d['allReportsSelected']=[];_0x1d180d[_0x477d('0x6bf')]=_0x123d4c;_0x1d180d[_0x477d('0x21b0')]=_0x556ce7;_0x1d180d[_0x477d('0x21b1')]=_0x807552;_0x1d180d['onChangeAutoAssociation']=_0x5673d0;_0x1d180d['onChangeReportType']=_0x3d5acb;_0x1d180d[_0x477d('0x21b2')]=_0x6dd811;_0x1d180d[_0x477d('0x21b3')]=_0x2be8cf;_0x1d180d[_0x477d('0x1185')]={'readOnly':![],'items':[],'selectedItems':[],'showSelectAndDeselectAll':!![],'orderBy':_0x477d('0x94'),'line1':_0x477d('0x94'),'line2':'','line3':'','line4':'fullPath','labelAll':_0x43387f[_0x477d('0x45f')](_0x477d('0x21b4')),'labelSelected':_0x43387f[_0x477d('0x45f')](_0x477d('0x21b5')),'labelSearch':_0x43387f[_0x477d('0x45f')](_0x477d('0x21b6')),'transferCallback':function(_0x347452,_0xb9af3f){_0x16b8c8(!![]);if(_0xb9af3f){_0x1d180d['selectedSection']['selectedItems']=_[_0x477d('0x21b7')](_0x1d180d[_0x477d('0x21b8')][_0x477d('0x4a7')],_0x347452,'id');_0x1d180d[_0x477d('0x21b8')][_0x477d('0x3ad')]=![];}else{_0x1d180d[_0x477d('0x21b8')][_0x477d('0x4a7')]=_[_0x477d('0x1617')](_0x1d180d['selectedSection'][_0x477d('0x4a7')],_0x347452,'id');}if(_0x1d180d[_0x477d('0x21b8')][_0x477d('0x49a')]===_0x477d('0x21a6')){_0x3eab53();}}};function _0x1ba76(){return _0x46b082(function(_0x18e2c2,_0x2bdf25){var _0x1e3e82=typeof _0x1d180d[_0x477d('0x21b8')]['channel']!==_0x477d('0x4a4')&&_0x1d180d['selectedSection'][_0x477d('0x1599')]===_0x477d('0x2121')?_0x477d('0x127'):_0x477d('0x9e');return _0x1703a7[_0x1d180d[_0x477d('0x21b8')][_0x477d('0x442')]][_0x477d('0x376')]({'fields':'id,name,strategy,type','channel':_0x1d180d[_0x477d('0x21b8')][_0x477d('0x1599')]===_0x477d('0x2121')?_0x477d('0x108'):_0x1d180d[_0x477d('0x21b8')][_0x477d('0x1599')],'type':_0x1e3e82,'nolimit':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x3d67b4){_0x18e2c2(_0x3d67b4);})['catch'](function(_0xb81fb){_0x2bdf25(_0xb81fb);});});}function _0x403ce9(){return _0x46b082(function(_0x582941,_0x25ea62){if(_0x1d180d[_0x477d('0x21b8')][_0x477d('0x442')]===_0x477d('0x21a5')){var _0x41ab85;switch(_0x1d180d['selectedSection'][_0x477d('0x49a')]){case _0x477d('0x316'):_0x41ab85=_0x477d('0x9e');break;case _0x477d('0x31d'):_0x41ab85=_0x477d('0x127');break;case'InternalRoutes':_0x41ab85=_0x477d('0x324');break;}}if(_0x1d180d[_0x477d('0x21b8')]['route']===_0x477d('0x380')){var _0x44f56a;switch(_0x1d180d['selectedSection']['title']){case _0x477d('0xce'):_0x44f56a=_0x477d('0xcf');break;case _0x477d('0x296'):_0x44f56a=_0x477d('0x295');break;case _0x477d('0xdf4'):_0x44f56a=_0x477d('0x380');break;}}if(_0x1d180d[_0x477d('0x21b8')][_0x477d('0x442')]===_0x477d('0x79c')){var _0x3c0fe3=!![];}if(_0x1d180d[_0x477d('0x21b8')][_0x477d('0x49a')]===_0x477d('0x21a6')){_0x1d180d[_0x477d('0x21b8')][_0x477d('0x442')]=_0x1d180d['selectedSection']['reportType']===_0x477d('0x5e3')?_0x477d('0x918'):_0x477d('0x919');}if(_0x1d180d[_0x477d('0x21b8')][_0x477d('0x49a')]==='Dashboards'){_0x582941({'count':0x1,'rows':[{'id':0x65,'name':_0x43387f[_0x477d('0x45f')](_0x477d('0x21b9'))}]});}else{return _0x1703a7[_0x1d180d[_0x477d('0x21b8')][_0x477d('0x442')]][_0x477d('0x376')]({'role':_0x44f56a?_0x44f56a:undefined,'type':_0x41ab85?_0x41ab85:undefined,'VoiceExtensionId':_0x41ab85?_0x477d('0xea'):undefined,'IntervalId':_0x3c0fe3?_0x477d('0xea'):undefined,'nolimit':!![]})[_0x477d('0x38b')]['then'](function(_0x4fd424){_0x582941(_0x4fd424);})['catch'](function(_0x3d4b88){_0x25ea62(_0x3d4b88);});}});}function _0x3390be(){var _0x132759=typeof _0x1d180d[_0x477d('0x21b8')][_0x477d('0x21ba')]!='undefined'?_0x1d180d[_0x477d('0x21b8')][_0x477d('0x21ba')]:![];return _0x46b082(function(_0x3e5f35,_0x5e2054){_0x1703a7['userProfileSection'][_0x477d('0x376')]({'userProfileId':_0x1d180d[_0x477d('0x3a5')]['id'],'sectionId':_0x1d180d[_0x477d('0x21b8')]['id']})[_0x477d('0x38b')]['then'](function(_0x4b565b){var _0x37f196=_0x4b565b&&_0x4b565b['rows']?_0x4b565b[_0x477d('0xf2')][0x0]:null;if(!_0x132759){_0x1d180d['selectedSection']['enabled']=_0x37f196?!!_0x37f196[_0x477d('0x3b4')]:![];_0x1d180d['selectedSection'][_0x477d('0x3ad')]=_0x37f196?!!_0x37f196['autoAssociation']:![];_0x1d180d['selectedSection'][_0x477d('0xd66')]=_0x37f196?_0x5039df(_0x37f196[_0x477d('0xd66')]):_0x5039df(_0x1d180d['userProfile']['crudPermissions']);}_0x3e5f35(_0x37f196);})[_0x477d('0xf8')](function(_0xe2d9b7){_0x5e2054(_0xe2d9b7);});});}function _0xf0e4c7(){return _0x46b082(function(_0xa1e01b,_0x51ecee){if(!_0x1d180d[_0x477d('0x21af')]){_0xa1e01b(null);}else{_0x1703a7[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x1d180d[_0x477d('0x21af')]['id'],'nolimit':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x435c79){_0xa1e01b(_0x435c79);})[_0x477d('0xf8')](function(_0x893f97){_0x51ecee(_0x893f97);});}});}function _0x3df2bf(){return _0x46b082(function(_0x4b0b57,_0x2a7b14){var _0x22d98d=typeof _0x1d180d[_0x477d('0x21b8')][_0x477d('0x1599')]!==_0x477d('0x4a4')&&_['includes'](_0x1d180d['selectedSection'][_0x477d('0x442')],_0x477d('0x1258'));if(_0x22d98d){_0x1ba76()[_0x477d('0x76')](function(_0x12efd6){_0x4b0b57(_0x12efd6);})['catch'](function(_0x27cb78){_0x2a7b14(_0x27cb78);});}else{_0x403ce9()['then'](function(_0x1244df){_0x4b0b57(_0x1244df);})[_0x477d('0xf8')](function(_0x376cd4){_0x2a7b14(_0x376cd4);});}});}function _0x267499(){var _0x1606c0=typeof _0x1d180d[_0x477d('0x21b8')][_0x477d('0x21ba')]!=_0x477d('0x4a4')?_0x1d180d[_0x477d('0x21b8')]['pending']:![];var _0x2f4843=[];return _0xf0e4c7()[_0x477d('0x76')](function(_0x2120e1){_0x2f4843=_0x2120e1&&_0x2120e1['rows']?_0x2120e1[_0x477d('0xf2')]:[];if(_0x1d180d[_0x477d('0x21b8')][_0x477d('0x49a')]===_0x477d('0x21a6')){_0x1d180d['associatedReports']=!_0x1d180d[_0x477d('0x21bb')]?_0x2f4843:_0x1d180d[_0x477d('0x21bb')];_0x2f4843=_0x4d1257(_0x1d180d[_0x477d('0x21bb')]);}if(typeof _0x1d180d[_0x477d('0x21b8')]['permissions']!=='undefined'&&!_0x1d180d['selectedSection'][_0x477d('0x3a3')][_0x477d('0x2196')]){return{'rows':[]};}else{return _0x3df2bf();}})[_0x477d('0x76')](function(_0x1a9c23){_0x1d180d[_0x477d('0x4a6')]=_0x1a9c23[_0x477d('0xf2')]?_[_0x477d('0x3cb')](_0x1a9c23['rows'],function(_0x62b1d8){if(_0x1d180d[_0x477d('0x21b8')][_0x477d('0x49a')]===_0x477d('0x21a6')){_0x62b1d8['fullPath']=_0x8884e0(_0x62b1d8[_0x477d('0x374')])[_0x477d('0x409')]('\x20','_');}_0x62b1d8['isValid']=!![];return _0x62b1d8;}):[];if(!_0x1606c0){_0x1d180d[_0x477d('0x21b8')]['selectedItems']=_['map'](_0x2f4843,function(_0x213aac){return _[_0x477d('0x10a')](_0x1d180d[_0x477d('0x4a6')],{'id':_0x213aac[_0x477d('0x3af')]});});}var _0x40c4e5=_[_0x477d('0x11f8')](_0x1d180d['selectedSection']['selectedItems'],_0x1d180d[_0x477d('0x4a6')],'id');if(!_[_0x477d('0x3b2')](_0x40c4e5)){_0x1d180d[_0x477d('0x21b8')][_0x477d('0x4a7')]=_[_0x477d('0x21b7')](_0x1d180d[_0x477d('0x21b8')][_0x477d('0x4a7')],_0x40c4e5,'id');}switch(_0x1d180d['selectedSection'][_0x477d('0x49a')]){case _0x477d('0x32c'):_0x1d180d[_0x477d('0x21b8')][_0x477d('0x4a7')]=_[_0x477d('0x3b3')](_0x1d180d['items'],function(_0x2e965e){if(_0x2e965e[_0x477d('0x21bc')]){_0x2e965e['isValid']=![];return _0x2e965e;}else{var _0x32aa93=_[_0x477d('0x10a')](_0x2f4843,{'resourceId':_0x2e965e['id']});if(typeof _0x32aa93!==_0x477d('0x4a4')){_0x2e965e[_0x477d('0x4a3')]=!![];return _0x2e965e;}}});break;case _0x477d('0x33c'):_0x1d180d['selectedSection'][_0x477d('0x4a7')]=_[_0x477d('0x3b3')](_0x1d180d[_0x477d('0x4a6')],function(_0x56a67b){if(_0x56a67b['defaultEntry']){_0x56a67b[_0x477d('0x4a3')]=![];return _0x56a67b;}else{var _0x206285=_[_0x477d('0x10a')](_0x2f4843,{'resourceId':_0x56a67b['id']});if(typeof _0x206285!==_0x477d('0x4a4')){_0x56a67b[_0x477d('0x4a3')]=!![];return _0x56a67b;}}});break;case'Reports':var _0x1893e0=_0x968666(_0x1d180d['allReportsSelected']);_0x1d180d[_0x477d('0x21b8')][_0x477d('0x4a7')]=_0x5efca2(_0x1d180d[_0x477d('0x21b8')][_0x477d('0x4a7')]);_0x1d180d[_0x477d('0x21b8')][_0x477d('0x4a7')]=_[_0x477d('0x1617')](_0x1d180d[_0x477d('0x21b8')][_0x477d('0x4a7')],_0x1893e0,'id');break;}_0x1d180d[_0x477d('0x1185')][_0x477d('0x4a7')]=_0x1d180d[_0x477d('0x21b8')]['selectedItems'];_0x1d180d[_0x477d('0x1185')][_0x477d('0x4a6')]=_['differenceBy'](_0x1d180d[_0x477d('0x4a6')],_0x1d180d[_0x477d('0x1185')][_0x477d('0x4a7')],'id');})[_0x477d('0xf8')](function(_0x1d1b90){_0x41b4d1[_0x477d('0x44a')]({'title':_0x1d1b90[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x1d1b90[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x1d1b90[_0x477d('0x44d')]:_0x477d('0x21bd')+_0x1d180d['selectedSection']['title'][_0x477d('0x44f')](),'msg':_0x1d1b90[_0x477d('0x3c3')]?JSON[_0x477d('0x3fb')](_0x1d1b90['data']):_0x1d1b90[_0x477d('0x453')]()});});}function _0x556ce7(){return _0x3390be()['then'](function(_0x44d633){_0x1d180d['loadedSection']=_0x44d633;if(_0x1d180d[_0x477d('0x21b8')][_0x477d('0x49a')]===_0x477d('0x21a6')){return _0x1812d0()[_0x477d('0x76')](function(){if(!_0x1d180d[_0x477d('0x21b8')][_0x477d('0x21a7')]){return _0xf0e4c7()[_0x477d('0x76')](function(_0x531ebd){_0x1d180d[_0x477d('0x21be')]=_0x531ebd?_['map'](_0x531ebd[_0x477d('0xf2')],function(_0x30e5fe){return{'id':_0x30e5fe[_0x477d('0x3af')],'name':_0x30e5fe[_0x477d('0x94')],'type':_0x30e5fe['type']};}):[];});}})[_0x477d('0xf8')](function(_0x2e186d){_0x41b4d1['error']({'title':_0x2e186d[_0x477d('0x3c3')]?'API:'+_0x2e186d[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x2e186d[_0x477d('0x44d')]:_0x477d('0x21bf'),'msg':_0x2e186d[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x2e186d['data']):_0x2e186d['toString']()});});}else{_0x267499();}})['catch'](function(_0x1ad64e){_0x41b4d1[_0x477d('0x44a')]({'title':_0x1ad64e['status']?_0x477d('0x44b')+_0x1ad64e['status']+_0x477d('0x44c')+_0x1ad64e[_0x477d('0x44d')]:'SYSTEM:GET'+_0x1d180d[_0x477d('0x21b8')][_0x477d('0x49a')][_0x477d('0x44f')](),'msg':_0x1ad64e[_0x477d('0x3c3')]?JSON[_0x477d('0x3fb')](_0x1ad64e[_0x477d('0x451')]):_0x1ad64e[_0x477d('0x453')]()});});}function _0x5039df(_0x2db29c){if(_0x2db29c){_0x1d180d[_0x477d('0x21b8')]['allowEdit']=_[_0x477d('0x3a4')](_0x2db29c,'e')?!![]:![];_0x1d180d[_0x477d('0x21b8')][_0x477d('0x21c0')]=_['includes'](_0x2db29c,'d')?!![]:![];}return _0x11ed60();}function _0x11ed60(){var _0x45048b=['r'];if(_0x1d180d[_0x477d('0x21b8')][_0x477d('0x21c1')]){_0x45048b['push']('e');}else{var _0x2a4527=_[_0x477d('0x477')](_0x45048b,['e']);if(_0x2a4527>0x0){_0x1d180d[_0x477d('0x21b8')]['crudPermissions'][_0x477d('0x409')]('e','');}}if(_0x1d180d[_0x477d('0x21b8')][_0x477d('0x21c0')]){_0x45048b[_0x477d('0x3a7')]('d');}else{var _0x2a4527=_['indexOf'](_0x45048b,['d']);if(_0x2a4527>0x0){_0x1d180d[_0x477d('0x21b8')]['crudPermissions'][_0x477d('0x409')]('d','');}}return _0x45048b;}function _0x807552(){_0x1d180d[_0x477d('0x21b8')][_0x477d('0x3b4')]=!_0x1d180d[_0x477d('0x21b8')]['enabled'];_0x16b8c8(!![]);}function _0x5673d0(){if(!_0x1d180d[_0x477d('0x21b8')][_0x477d('0x3ad')]){var _0x26ab87=[];for(var _0x4ea292=0x0;_0x4ea292<_0x1d180d['dualMultiselectOptions']['items']['length'];_0x4ea292++){_0x26ab87['push'](_0x1d180d[_0x477d('0x1185')][_0x477d('0x4a6')][_0x4ea292]);_0x1d180d[_0x477d('0x1185')]['selectedItems'][_0x477d('0x3a7')](_0x1d180d[_0x477d('0x1185')]['items'][_0x4ea292]);}_0x1d180d[_0x477d('0x1185')][_0x477d('0x4a6')]=[];_0x1d180d[_0x477d('0x1185')][_0x477d('0x4a8')](_0x26ab87,![]);}_0x16b8c8(!![]);}function _0x3d5acb(){_0x1d180d[_0x477d('0x21c2')]=_0x37d17a();if(_0x1d180d[_0x477d('0x21b8')][_0x477d('0x4a7')]){_0x1d180d[_0x477d('0x21be')]=_0x5efca2(_0x1d180d[_0x477d('0x21be')]);_0x3eab53();}_0x267499();}function _0x6dd811(_0x5e85a7){if(_0x5e85a7===_0x477d('0xedd')){_0x1d180d[_0x477d('0x21b8')][_0x477d('0x21c1')]=!_0x1d180d[_0x477d('0x21b8')][_0x477d('0x21c1')];}else if(_0x5e85a7===_0x477d('0xa55')){_0x1d180d[_0x477d('0x21b8')][_0x477d('0x21c0')]=!_0x1d180d[_0x477d('0x21b8')][_0x477d('0x21c0')];}_0x1d180d[_0x477d('0x21b8')]['crudPermissions']=_0x5039df();_0x16b8c8(!![]);}function _0x2be8cf(){var _0x5474b0=_0x1d180d['section']['title']===_0x477d('0x2197')?_0x477d('0x21a9'):_0x1d180d[_0x477d('0xd99')][_0x477d('0x49a')];var _0x124338=_(_0x1d180d[_0x477d('0x3aa')])['filter']({'pending':!![]})[_0x477d('0x3cb')](function(_0x705514){var _0x2e527b=_0x5474b0===_0x477d('0x219c')&&_0x705514[_0x477d('0x49a')]==='Projects'?_0x477d('0x95'):_0x705514[_0x477d('0x49a')];var _0x120e5b=_0x2e527b==='Reports'?_0x1d180d[_0x477d('0x21be')]:_0x705514[_0x477d('0x4a7')];if(_0x5474b0===_0x477d('0x21c3')){_0x705514[_0x477d('0x3ad')]=!![];}return{'category':_0x5474b0,'sectionId':_0x705514['id'],'name':_0x2e527b,'enabled':_0x705514[_0x477d('0x3b4')],'autoAssociation':_0x705514[_0x477d('0x3ad')],'crudPermissions':_['map'](_0x705514[_0x477d('0xd66')])['join'](''),'Resources':_[_0x477d('0x3cb')](_0x120e5b,function(_0x30be63){return{'name':_0x30be63[_0x477d('0x94')],'resourceId':_0x30be63['id'],'type':_0x3c16b4(_0x2e527b,_0x30be63)};})};})['value']();return _0x1703a7[_0x477d('0x3a5')][_0x477d('0x21c4')]({'id':_0x1d180d[_0x477d('0x3a5')]['id']},_0x124338)[_0x477d('0x38b')]['then'](function(){_0x1d180d['subsections']['forEach'](function(_0x445eb5){_0x445eb5[_0x477d('0x21ba')]=undefined;});_0x1d180d[_0x477d('0x21bb')]=null;_0x5b1b69();if(_0x1d180d[_0x477d('0x21b8')][_0x477d('0x49a')]===_0x477d('0x21a6')&&!_0x1d180d[_0x477d('0x21b8')][_0x477d('0x21a7')]){_0xfa7d5b['userProfileForm'][_0x477d('0x4d9')]();}_0x41b4d1['success']({'title':_0x43387f[_0x477d('0x45f')](_0x477d('0x21c5'),{'sectionName':_0x43387f[_0x477d('0x45f')](_0x5474b0['translate'])}),'msg':_0x43387f[_0x477d('0x45f')](_0x477d('0x21c6'))});})[_0x477d('0x76')](function(){return _0x3390be()[_0x477d('0x76')](function(_0x2ad99f){_0x1d180d[_0x477d('0x21af')]=_0x2ad99f;});})[_0x477d('0xf8')](function(_0xba5e){_0x41b4d1[_0x477d('0x44a')]({'title':_0xba5e['status']?_0x477d('0x44b')+_0xba5e[_0x477d('0x3c3')]+_0x477d('0x44c')+_0xba5e['statusText']:_0x477d('0x219f'),'msg':_0xba5e['status']?JSON[_0x477d('0x3fb')](_0xba5e[_0x477d('0x451')]):_0xba5e[_0x477d('0x453')]()});});}function _0x16b8c8(_0x459e97){var _0x574c59=_[_0x477d('0x45a')](_0x1d180d['subsections'],function(_0x22f1b0){return _0x22f1b0['id']==_0x1d180d[_0x477d('0x21b8')]['id'];});_0x1d180d[_0x477d('0x3aa')][_0x574c59][_0x477d('0x21ba')]=_0x459e97;_0x5b1b69();}function _0x5b1b69(){return _0x1d180d['pendingChanges']=_[_0x477d('0x3ab')](_0x1d180d[_0x477d('0x3aa')],[_0x477d('0x21ba'),!![]]);}function _0x37d17a(){var _0x2c624d={};if(_0x1d180d[_0x477d('0x21b8')][_0x477d('0x21a7')]===_0x477d('0x5e3')){_0x2c624d=_0x1d180d[_0x477d('0xea2')][0x0]?angular[_0x477d('0x73c')](_0x1d180d[_0x477d('0xea2')][0x0][_0x477d('0xeac')]):[];}else{_0x2c624d=_0x1d180d[_0x477d('0xea2')][0x1]?angular[_0x477d('0x73c')](_0x1d180d[_0x477d('0xea2')][0x1][_0x477d('0xeac')]):[];}return _0x2c624d;}function _0x1812d0(){return _0x46b082(function(_0x4b2913,_0x5f17c2){_0x1703a7[_0x477d('0xbda')]['get']({})['$promise'][_0x477d('0x76')](function(_0x29247d){_0x1d180d[_0x477d('0xea2')]=_0x29247d[_0x477d('0xf2')]||[];_0x4b2913(_0x1d180d[_0x477d('0xea2')]);})['catch'](function(_0x451895){_0x5f17c2(_0x451895);});});}function _0x8884e0(_0x18045a){var _0x56d39d=_0x1d180d[_0x477d('0x21c2')][0x0][_0x477d('0x41b')];_0x56d39d=_0x4dde00(_0x56d39d,_0x18045a,_0x1d180d['treeStructure'][0x0]);return _0x56d39d;}function _0x4dde00(_0x1363dc,_0x4666cf,_0x1b8ffd){if(_0x1b8ffd&&!_[_0x477d('0x3b2')](_0x1b8ffd[_0x477d('0x53f')])){var _0x1b8ffd=_['find'](_0x1b8ffd[_0x477d('0x53f')],function(_0x5a3876){return _[_0x477d('0x3a4')](_0x4666cf,_0x5a3876['id'])?_0x5a3876:undefined;});_0x1363dc+=_0x1b8ffd?'/'+_0x1b8ffd[_0x477d('0x41b')]:'';}else{return _0x1363dc;}return _0x4dde00(_0x1363dc,_0x4666cf,_0x1b8ffd);}function _0x4d1257(_0x419415){return _[_0x477d('0x3b3')](_0x419415,{'type':_0x1d180d['selectedSection'][_0x477d('0x21a7')]===_0x477d('0x5e3')?_0x477d('0xec2'):_0x477d('0xec3')});}function _0x968666(_0x3836d6){return _[_0x477d('0x3b3')](_0x3836d6,function(_0x3d1fa2){return _[_0x477d('0x1337')](_0x3d1fa2[_0x477d('0x374')],_0x1d180d['selectedSection'][_0x477d('0x21a7')]===_0x477d('0x5e3')?_0x477d('0x26'):_0x477d('0x9f6'));});}function _0x5efca2(_0x25947e){return _[_0x477d('0x39c')](_0x25947e,function(_0x2e1646){return _[_0x477d('0x1337')](_0x2e1646[_0x477d('0x374')],_0x1d180d[_0x477d('0x21b8')][_0x477d('0x21a7')]===_0x477d('0x5e3')?_0x477d('0x26'):'custom');});}function _0x3eab53(){if(_[_0x477d('0x3b2')](_0x1d180d[_0x477d('0x21b8')][_0x477d('0x4a7')])){_0x1d180d['allReportsSelected']=_['remove'](_0x1d180d['allReportsSelected'],function(_0x28b281){return _0x28b281['type']===(_0x1d180d[_0x477d('0x21b8')][_0x477d('0x21a7')]===_0x477d('0x5e3')?_0x477d('0xec3'):_0x477d('0xec2'));});}else{_0x1d180d[_0x477d('0x21b8')]['selectedItems'][_0x477d('0x3b1')](function(_0x3d0a05){var _0x194b33=_[_0x477d('0x3ab')](_0x1d180d[_0x477d('0x21be')],{'id':_0x3d0a05['id'],'parent':_0x3d0a05['parent']});if(!_0x194b33){_0x1d180d[_0x477d('0x21be')][_0x477d('0x3a7')](_0x3d0a05);}});}}function _0x3c16b4(_0x3a2295,_0x165884){if(_0x3a2295===_0x477d('0x21a6')){if(_0x165884[_0x477d('0x374')]){var _0x41bbf2=_[_0x477d('0x1337')](_0x165884['parent'],'motion')?_0x477d('0x1101'):_0x477d('0x1cda');return _0x41bbf2+_0x3a2295;}else{return _0x165884[_0x477d('0x439')];}}return _0x3a2295;}function _0x123d4c(_0x28165a){if(_0x1d180d[_0x477d('0x11f5')]){var _0x212b76=_0x4c65f9[_0x477d('0xd78')]({'skipHide':!![]})[_0x477d('0x49a')](_0x477d('0x15a1'))[_0x477d('0x68e')](_0x43387f[_0x477d('0x45f')](_0x477d('0x21c7')))[_0x477d('0x687')](_0x477d('0x15a1'))[_0x477d('0xd7c')](_0x28165a)['ok'](_0x43387f['instant']('STAFF.CLOSE'))[_0x477d('0x4f0')](_0x43387f['instant'](_0x477d('0x219b')));_0x4c65f9[_0x477d('0x395')](_0x212b76)[_0x477d('0x76')](function(){_0x4c65f9[_0x477d('0x3bc')]();});}else{_0x4c65f9[_0x477d('0x3bc')]();}}}}());(function(){'use strict';_0x350930[_0x477d('0xa')]=['$state',_0x477d('0xd64'),_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x40d'),_0x477d('0x613'),_0x477d('0xc8e'),_0x477d('0x386'),_0x477d('0x40e'),_0x477d('0x55'),'userProfile',_0x477d('0x3ac')];angular['module']('app.staff')['controller'](_0x477d('0x21c8'),_0x350930);function _0x350930(_0x40b4b7,_0x55246d,_0x23c6be,_0x284af1,_0x137b4b,_0x16950a,_0x1a689e,_0x5bd8b7,_0x206434,_0x31d269,_0x259273,_0x4c3902){var _0x2ac9e0=this;_0x2ac9e0[_0x477d('0x3e5')]=_0x31d269[_0x477d('0x5c')]();_0x2ac9e0[_0x477d('0x613')]=_0x16950a;_0x2ac9e0[_0x477d('0xc8e')]=_0x1a689e;_0x2ac9e0[_0x477d('0xd69')]=_0x2ac9e0['setting']['securePassword']?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x2ac9e0[_0x477d('0x3cc')]=_0x55246d[_0x477d('0x3ce')]()+_0x477d('0x1209')+_0x55246d[_0x477d('0x3c9')]();_0x2ac9e0[_0x477d('0x3a5')]=_0x259273||_0x40b4b7[_0x477d('0x37e')][_0x477d('0x3a5')]||{};_0x2ac9e0['userProfileSection']=_0x4c3902&&_0x4c3902[_0x477d('0x3bb')]==0x1?_0x4c3902[_0x477d('0xf2')][0x0]:null;_0x2ac9e0[_0x477d('0xd66')]=_0x31d269[_0x477d('0xd81')](_0x2ac9e0[_0x477d('0x3ac')]?_0x2ac9e0[_0x477d('0x3ac')][_0x477d('0xd66')]:null);_0x2ac9e0[_0x477d('0xd68')]={};_0x2ac9e0['selectedTab']=_0x40b4b7[_0x477d('0x37e')][_0x477d('0xe96')]||0x0;_0x2ac9e0[_0x477d('0x21c9')]=_0xfdcc5c;_0x2ac9e0[_0x477d('0x1c67')]=_0x3d0197;_0x2ac9e0[_0x477d('0x120a')]=_0x206434[_0x477d('0x669')];_0x2ac9e0['gotoUserProfiles']=_0x2249fd;_0x2ac9e0[_0x477d('0x2175')]=_0xa5be1c;function _0xfdcc5c(_0x5bf8cf,_0x3515cc){_0x23c6be['show']({'controller':_0x477d('0x21ac'),'controllerAs':'vm','templateUrl':_0x477d('0x21ca'),'parent':angular[_0x477d('0x398')](_0x284af1[_0x477d('0x399')]),'targetEvent':_0x3515cc,'clickOutsideToClose':!![],'locals':{'userProfile':_0x5bf8cf,'userProfiles':_0x2ac9e0[_0x477d('0x2172')]?_0x2ac9e0[_0x477d('0x2172')][_0x477d('0xf2')]:[],'crudPermissions':_0x2ac9e0[_0x477d('0xd66')]}});}function _0x3d0197(_0x270d73,_0xbe51c1){_0x23c6be[_0x477d('0x395')]({'controller':_0x477d('0x21cb'),'controllerAs':'vm','templateUrl':_0x477d('0x21cc'),'parent':angular[_0x477d('0x398')](_0x284af1[_0x477d('0x399')]),'targetEvent':_0xbe51c1,'clickOutsideToClose':!![],'locals':{'userProfile':_0x270d73,'userProfiles':_0x2ac9e0[_0x477d('0x2172')]?_0x2ac9e0[_0x477d('0x2172')][_0x477d('0xf2')]:[],'crudPermissions':_0x2ac9e0[_0x477d('0xd66')]}});}function _0x2249fd(){_0x40b4b7['go'](_0x477d('0x2a0'),{},{'reload':'app.staff.userProfiles'});}function _0xa5be1c(){_0x5bd8b7['userProfile'][_0x477d('0x710')]({'id':_0x2ac9e0[_0x477d('0x3a5')]['id']},_0x2ac9e0['userProfile'])[_0x477d('0x38b')]['then'](function(){_0x206434[_0x477d('0x485')]({'title':_0x477d('0x21cd'),'msg':_0x2ac9e0['userProfile'][_0x477d('0x94')]?_0x2ac9e0[_0x477d('0x3a5')][_0x477d('0x94')]+_0x477d('0xed7'):''});})['catch'](function(_0x542a14){_0x206434[_0x477d('0x44a')]({'title':_0x542a14[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x542a14['status']+_0x477d('0x44c')+_0x542a14['statusText']:_0x477d('0x21ce'),'msg':_0x542a14['data']?JSON[_0x477d('0x3fb')](_0x542a14['data']):_0x542a14[_0x477d('0x453')]()});});}}}());(function(){'use strict';_0xdcad50[_0x477d('0xa')]=['$scope',_0x477d('0x387'),'$state',_0x477d('0x554'),_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x3fe'),'$translate','userProfiles',_0x477d('0x3a5'),_0x477d('0x3ac'),_0x477d('0x386'),_0x477d('0x342'),'toasty',_0x477d('0x55'),_0x477d('0x613'),_0x477d('0xc8e')];angular[_0x477d('0xb')](_0x477d('0x2d'))[_0x477d('0x3ba')](_0x477d('0x21cf'),_0xdcad50);function _0xdcad50(_0x391c4c,_0x94202f,_0x54dae3,_0x40490a,_0x340111,_0x3681b9,_0x391ace,_0x1a8166,_0xeb81fb,_0x357b15,_0x3c38e8,_0x391cc0,_0x4af7fc,_0xbe4c8d,_0x328424,_0x4f1401,_0x1059d9){var _0x53eab8=this;_0x53eab8[_0x477d('0x613')]=_0x4f1401;_0x53eab8[_0x477d('0xc8e')]=_0x1059d9;_0x53eab8['currentUser']=_0x328424[_0x477d('0x5c')]();_0x53eab8[_0x477d('0x2172')]=_0xeb81fb||{'count':0x0,'rows':[]};_0x53eab8[_0x477d('0x3a5')]=_0x357b15;_0x53eab8[_0x477d('0x3ac')]=_0x3c38e8&&_0x3c38e8[_0x477d('0x3bb')]==0x1?_0x3c38e8['rows'][0x0]:null;_0x53eab8['crudPermissions']=_0x328424[_0x477d('0xd81')](_0x53eab8[_0x477d('0x3ac')]?_0x53eab8[_0x477d('0x3ac')][_0x477d('0xd66')]:null);_0x53eab8['table']='userProfiles';_0x53eab8[_0x477d('0xd83')]='';_0x53eab8[_0x477d('0xd84')]=null;_0x53eab8[_0x477d('0x21d0')]=[];_0x53eab8[_0x477d('0x3ef')]={'fields':_0x477d('0x2a2'),'sort':_0x477d('0x59'),'limit':0xa,'page':0x1};_0x53eab8[_0x477d('0x21d1')]=_['keyBy']([{'option':_0x477d('0x21d2'),'value':_0x477d('0x21d3'),'disabled':!![]},{'option':'Edit_permission','value':'\x27e\x27'},{'option':_0x477d('0x21d4'),'value':'\x27d\x27'}],function(_0x20b4a5){return _['replace'](_0x20b4a5[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});if(_0x53eab8[_0x477d('0x2172')]&&_0x53eab8[_0x477d('0x2172')][_0x477d('0x3bb')]>0x0){_0x53eab8[_0x477d('0x2172')][_0x477d('0xf2')][_0x477d('0x3b1')](function(_0x2c0bf3){var _0x19c6d7=[];_0x2c0bf3[_0x477d('0xd66')][_0x477d('0x3b1')](function(_0x306c2b){_0x19c6d7[_0x477d('0x3a7')](_0x53eab8['arraycrudPermissions'][_0x306c2b][_0x477d('0x21d5')]);});var _0x189fe3=[];_0x19c6d7['forEach'](function(_0x49883b){_0x189fe3[_0x477d('0x3a7')](_0x1a8166[_0x477d('0x45f')](_0x477d('0x21d6')+_0x49883b[_0x477d('0x44f')]()));});_0x2c0bf3[_0x477d('0x2180')]=_0x189fe3[_0x477d('0x3f6')](',\x20');});}_0x53eab8['editstate']=_0x3da5bc;_0x53eab8[_0x477d('0x1c67')]=_0x31ec6d;_0x53eab8[_0x477d('0xd88')]=_0x13bf45;_0x53eab8[_0x477d('0x485')]=_0xe9ab98;_0x53eab8[_0x477d('0x21d7')]=_0x3ec4d4;_0x53eab8[_0x477d('0x21d8')]=_0x2af5d6;_0x53eab8[_0x477d('0x2176')]=_0x576c8e;_0x53eab8[_0x477d('0x21d9')]=_0x50d6e8;_0x53eab8[_0x477d('0x21da')]=_0x1f18c7;_0x53eab8[_0x477d('0x21db')]=_0x4a7502;_0x53eab8[_0x477d('0x21dc')]=_0x3c105f;function _0x3da5bc(_0x1a3552,_0x1502c0){_0x54dae3['go'](_0x477d('0x2a3'),{'id':_0x1a3552['id'],'userProfile':_0x1a3552,'crudPermissions':_0x53eab8[_0x477d('0xd66')]});}function _0x31ec6d(_0x1161a4,_0x65a84c){_0x340111['show']({'controller':_0x477d('0x21cb'),'controllerAs':'vm','templateUrl':_0x477d('0x21cc'),'parent':angular['element'](_0x3681b9[_0x477d('0x399')]),'targetEvent':_0x65a84c,'clickOutsideToClose':!![],'locals':{'userProfile':_0x1161a4,'userProfiles':_0x53eab8['userProfiles']?_0x53eab8[_0x477d('0x2172')][_0x477d('0xf2')]:[],'crudPermissions':_0x53eab8['crudPermissions']}});}function _0x13bf45(_0x3494f6,_0x430a7d){var _0x533549=_0x340111['confirm']()[_0x477d('0x49a')](_0x477d('0xd90')+_[_0x477d('0xd91')](_0x477d('0x3a5'))+'?')[_0x477d('0xd92')](''+(_0x3494f6[_0x477d('0x94')]||_0x477d('0x3a5'))+_0x477d('0xd94')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x21dd'))[_0x477d('0xd7c')](_0x430a7d)['ok']('OK')['cancel'](_0x477d('0xd97'));_0x340111[_0x477d('0x395')](_0x533549)['then'](function(){_0x576c8e(_0x3494f6);},function(){console['log'](_0x477d('0xd97'));});}var _0x46ecde=!![];var _0x606f08=0x1;_0x391c4c[_0x477d('0x4b5')]('vm.query.filter',function(_0x1391e4,_0x1ba6f9){if(_0x46ecde){_0x391ace(function(){_0x46ecde=![];});}else{if(!_0x1ba6f9){_0x606f08=_0x53eab8[_0x477d('0x3ef')]['page'];}if(_0x1391e4!==_0x1ba6f9){_0x53eab8[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0x1391e4){_0x53eab8[_0x477d('0x3ef')][_0x477d('0xe03')]=_0x606f08;}_0x53eab8['getUserProfiles']();}});function _0xe9ab98(_0xe80852){_0x53eab8[_0x477d('0x2172')]=_0xe80852||{'count':0x0,'rows':[]};}function _0x3ec4d4(){_0x53eab8['query'][_0x477d('0x91c')]=(_0x53eab8['query'][_0x477d('0xe03')]-0x1)*_0x53eab8['query'][_0x477d('0x91d')];if(_0x328424['hasRole'](_0x477d('0x5f'))){_0x53eab8[_0x477d('0x553')]=_0x391cc0['userProfile'][_0x477d('0x376')](_0x53eab8[_0x477d('0x3ef')],_0xe9ab98)[_0x477d('0x38b')];}else{_0x53eab8[_0x477d('0x3ef')]['id']=_0x53eab8[_0x477d('0x3a5')]['id'];_0x53eab8[_0x477d('0x3ef')][_0x477d('0xd99')]=_0x477d('0x21de');_0x53eab8[_0x477d('0x553')]=_0x391cc0['userProfile'][_0x477d('0xd9a')](_0x53eab8[_0x477d('0x3ef')],_0xe9ab98)[_0x477d('0x38b')];}}function _0x2af5d6(_0x5e667f,_0x119244){_0x340111[_0x477d('0x395')]({'controller':'CreateOrEditUserProfileDialogController','controllerAs':'vm','templateUrl':_0x477d('0x21df'),'parent':angular[_0x477d('0x398')](_0x3681b9[_0x477d('0x399')]),'targetEvent':_0x5e667f,'clickOutsideToClose':!![],'locals':{'userProfile':_0x119244,'userProfiles':_0x53eab8[_0x477d('0x2172')][_0x477d('0xf2')],'license':_0x53eab8[_0x477d('0x613')],'setting':_0x53eab8[_0x477d('0xc8e')],'crudPermissions':_0x53eab8[_0x477d('0xd66')]}});}function _0x576c8e(_0x26bf3e){_0x391cc0[_0x477d('0x3a5')][_0x477d('0xa55')]({'id':_0x26bf3e['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x53eab8['userProfiles'][_0x477d('0xf2')],{'id':_0x26bf3e['id']});_0x53eab8[_0x477d('0x2172')][_0x477d('0x3bb')]-=0x1;if(!_0x53eab8[_0x477d('0x2172')][_0x477d('0xf2')][_0x477d('0x79')]){_0x53eab8[_0x477d('0x21d7')]();}_0xbe4c8d[_0x477d('0x485')]({'title':_[_0x477d('0xd91')](_0x477d('0x21e0'))+_0x477d('0xd9d'),'msg':_0x26bf3e[_0x477d('0x94')]?_0x26bf3e[_0x477d('0x94')]+'\x20has\x20been\x20deleted!':''});})[_0x477d('0xf8')](function(_0x2a45a9){if(_0x2a45a9[_0x477d('0x451')]&&_0x2a45a9[_0x477d('0x451')][_0x477d('0xd67')]&&_0x2a45a9[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x53eab8[_0x477d('0xd67')]=_0x2a45a9[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x2a45a9[_0x477d('0x453')](),'type':'SYSTEM:DELETEuserProfile'}];for(var _0x37216c=0x0;_0x37216c<_0x2a45a9[_0x477d('0x451')]['errors']['length'];_0x37216c++){_0xbe4c8d['error']({'title':_0x2a45a9['data']['errors'][_0x37216c]['type'],'msg':_0x2a45a9[_0x477d('0x451')]['errors'][_0x37216c][_0x477d('0x452')]});}}else{_0xbe4c8d[_0x477d('0x44a')]({'title':_0x2a45a9['status']?_0x477d('0x44b')+_0x2a45a9[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x2a45a9[_0x477d('0x44d')]:_0x477d('0x21e1'),'msg':_0x2a45a9['data']?JSON[_0x477d('0x3fb')](_0x2a45a9['data'][_0x477d('0x452')]):_0x2a45a9[_0x477d('0x452')]||_0x2a45a9[_0x477d('0x453')]()});}});}function _0x50d6e8(){var _0x284299=angular[_0x477d('0x6d9')](_0x53eab8[_0x477d('0x21d0')]);_0x53eab8['selectedUserProfiles']=[];return _0x284299;}function _0x1f18c7(_0x36eb9c){var _0x4b85f2=_0x340111[_0x477d('0xd78')]()['title'](_0x477d('0x21e2'))['htmlContent'](_0x477d('0xd93')+_0x53eab8['selectedUserProfiles'][_0x477d('0x79')]+_0x477d('0xda0')+_0x477d('0xd95'))['ariaLabel'](_0x477d('0x21e3'))['targetEvent'](_0x36eb9c)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x340111['show'](_0x4b85f2)['then'](function(){_0x53eab8[_0x477d('0x21d0')]['forEach'](function(_0x44872e){_0x576c8e(_0x44872e);});_0x53eab8[_0x477d('0x21d0')]=[];});}function _0x4a7502(){_0x53eab8[_0x477d('0x21d0')]=[];}function _0x3c105f(){_0x53eab8[_0x477d('0x21d0')]=_0x53eab8[_0x477d('0x2172')]['rows'];}}}());(function(){'use strict';_0x2d4bfc[_0x477d('0xa')]=['$scope',_0x477d('0x3c4'),_0x477d('0xd64'),_0x477d('0x384'),'$q',_0x477d('0x40d'),'toasty','users','user',_0x477d('0x386'),'Auth',_0x477d('0x613'),'setting','crudPermissions'];angular[_0x477d('0xb')](_0x477d('0x2d'))[_0x477d('0x3ba')](_0x477d('0x21e4'),_0x2d4bfc);function _0x2d4bfc(_0x43be9c,_0x5e0e20,_0x4679b5,_0x8711eb,_0x257cdd,_0x17720b,_0x3192a1,_0x4c51b3,_0x44fcd3,_0x54c351,_0x3accdb,_0x3b4f02,_0x240ebe,_0x4ea161){var _0x54abc9=this;_0x54abc9['currentUser']=_0x3accdb[_0x477d('0x5c')]();_0x54abc9[_0x477d('0xd67')]=[];_0x54abc9[_0x477d('0xc8e')]=_0x240ebe;_0x54abc9['license']=_0x3b4f02;_0x54abc9[_0x477d('0xd66')]=_0x4ea161;_0x54abc9[_0x477d('0xd68')]={};_0x54abc9[_0x477d('0xd69')]=_0x54abc9[_0x477d('0xc8e')]&&_0x54abc9[_0x477d('0xc8e')][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x54abc9[_0x477d('0x49a')]=_0x477d('0x21e5');_0x54abc9['user']=angular['copy'](_0x44fcd3);_0x54abc9[_0x477d('0xf2d')]=_0x4c51b3;_0x54abc9['newUser']=![];if(!_0x54abc9[_0x477d('0x380')]){_0x54abc9[_0x477d('0x380')]={'role':_0x477d('0x380'),'autointernal':!![],'context':_0x477d('0x2107')};_0x54abc9['title']='STAFF.NEW_USER';_0x54abc9['newUser']=!![];}_0x54abc9[_0x477d('0x21e6')]=_0x3e14ad;_0x54abc9[_0x477d('0x21e7')]=_0x8e7613;_0x54abc9[_0x477d('0x21e8')]=_0x3b6286;_0x54abc9[_0x477d('0xd6f')]=_0x3964a2;_0x54abc9[_0x477d('0x6bf')]=_0x4a0d59;_0x54c351[_0x477d('0x3a5')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x36bdeb){_0x54abc9[_0x477d('0x2172')]=_0x36bdeb[_0x477d('0xf2')]||[];})['catch'](function(_0x3ec643){_0x3192a1[_0x477d('0x44a')]({'title':_0x3ec643[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x3ec643[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x3ec643[_0x477d('0x44d')]:'SYSTEM:GET_USERPROFILES','msg':_0x3ec643[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x3ec643[_0x477d('0x451')]):_0x3ec643[_0x477d('0x453')]()});});function _0x3e14ad(){_0x54abc9[_0x477d('0xd67')]=[];_0x54c351[_0x477d('0x380')][_0x477d('0xd70')](_0x54abc9['user'])[_0x477d('0x38b')][_0x477d('0x76')](function(_0xeaa055){_0x54abc9[_0x477d('0xf2d')][_0x477d('0x63b')](_0xeaa055[_0x477d('0xd71')]());_0x3192a1[_0x477d('0x485')]({'title':_0x477d('0x21e9'),'msg':_0x54abc9['user'][_0x477d('0x94')]?_0x54abc9[_0x477d('0x380')][_0x477d('0x94')]+_0x477d('0xd73'):''});_0x4a0d59(_0xeaa055);})[_0x477d('0xf8')](function(_0x1fc5fe){if(_0x1fc5fe[_0x477d('0x451')]&&_0x1fc5fe[_0x477d('0x451')][_0x477d('0xd67')]&&_0x1fc5fe[_0x477d('0x451')]['errors'][_0x477d('0x79')]){_0x54abc9[_0x477d('0xd67')]=_0x1fc5fe[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x1fc5fe[_0x477d('0x453')](),'type':'api.user.save'}];for(var _0x466408=0x0;_0x466408<_0x1fc5fe[_0x477d('0x451')]['errors'][_0x477d('0x79')];_0x466408+=0x1){_0x3192a1['error']({'title':_0x1fc5fe[_0x477d('0x451')][_0x477d('0xd67')][_0x466408][_0x477d('0x439')],'msg':_0x1fc5fe['data']['errors'][_0x466408]['message']});}}else{_0x3192a1[_0x477d('0x44a')]({'title':_0x1fc5fe[_0x477d('0x3c3')]?'API:'+_0x1fc5fe['status']+_0x477d('0x44c')+_0x1fc5fe[_0x477d('0x44d')]:_0x477d('0x214e'),'msg':_0x1fc5fe[_0x477d('0x451')]?JSON['stringify'](_0x1fc5fe[_0x477d('0x451')][_0x477d('0x452')]):_0x1fc5fe[_0x477d('0x453')]()});}});}function _0x8e7613(){_0x54abc9[_0x477d('0xd67')]=[];_0x54c351['user']['update']({'id':_0x54abc9['user']['id']},_0x54abc9['user'])[_0x477d('0x38b')][_0x477d('0x76')](function(_0xe0322d){var _0x41edb8=_[_0x477d('0x10a')](_0x54abc9[_0x477d('0xf2d')],{'id':_0xe0322d['id']});if(_0x41edb8){_[_0x477d('0xef')](_0x41edb8,_[_0x477d('0x10b')](_0xe0322d[_0x477d('0xd71')](),_[_0x477d('0x7f')](_0x41edb8)));}_0x3192a1['success']({'title':_0x477d('0x21ea'),'msg':_0x54abc9[_0x477d('0x380')]['name']?_0x54abc9[_0x477d('0x380')]['name']+_0x477d('0xd76'):''});_0x4a0d59(_0xe0322d);})[_0x477d('0xf8')](function(_0x5ae148){if(_0x5ae148['data']&&_0x5ae148[_0x477d('0x451')][_0x477d('0xd67')]&&_0x5ae148[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x54abc9[_0x477d('0xd67')]=_0x5ae148[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x5ae148['toString'](),'type':_0x477d('0x19b0')}];for(var _0x13e0ec=0x0;_0x13e0ec<_0x5ae148[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x13e0ec++){_0x3192a1[_0x477d('0x44a')]({'title':_0x5ae148[_0x477d('0x451')][_0x477d('0xd67')][_0x13e0ec][_0x477d('0x439')],'msg':_0x5ae148['data'][_0x477d('0xd67')][_0x13e0ec]['message']});}}else{_0x3192a1['error']({'title':_0x5ae148[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x5ae148['status']+_0x477d('0x44c')+_0x5ae148[_0x477d('0x44d')]:_0x477d('0x19b0'),'msg':_0x5ae148[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x5ae148[_0x477d('0x451')][_0x477d('0x452')]):_0x5ae148[_0x477d('0x453')]()});}});}function _0x3b6286(_0x277139){var _0x73525c=_0x3accdb['getCurrentUser']();if(_0x73525c['id']===_0x54abc9[_0x477d('0x380')]['id']){return _0x3192a1[_0x477d('0x44a')]({'title':_0x477d('0x21eb'),'msg':_0x477d('0x21ec')});}_0x54abc9[_0x477d('0xd67')]=[];var _0x3e5a58=_0x8711eb[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xd79'))[_0x477d('0xdaf')](_0x477d('0x21ed'))[_0x477d('0x687')](_0x477d('0x21ee'))['ok'](_0x477d('0xd7b'))[_0x477d('0x4f0')](_0x477d('0x688'))[_0x477d('0xd7c')](_0x277139);_0x8711eb['show'](_0x3e5a58)[_0x477d('0x76')](function(){_0x54c351['user'][_0x477d('0xa55')]({'id':_0x54abc9[_0x477d('0x380')]['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_['remove'](_0x54abc9[_0x477d('0xf2d')],{'id':_0x54abc9[_0x477d('0x380')]['id']});_0x3192a1[_0x477d('0x485')]({'title':_0x477d('0x21ef'),'msg':(_0x54abc9['user'][_0x477d('0x94')]||'user')+'\x20has\x20been\x20deleted!'});_0x4a0d59(_0x54abc9[_0x477d('0x380')]);})[_0x477d('0xf8')](function(_0x5238f1){if(_0x5238f1[_0x477d('0x451')]&&_0x5238f1[_0x477d('0x451')][_0x477d('0xd67')]&&_0x5238f1[_0x477d('0x451')]['errors'][_0x477d('0x79')]){_0x54abc9[_0x477d('0xd67')]=_0x5238f1['data'][_0x477d('0xd67')]||[{'message':_0x5238f1[_0x477d('0x453')](),'type':_0x477d('0x210f')}];for(var _0x20802b=0x0;_0x20802b<_0x5238f1[_0x477d('0x451')][_0x477d('0xd67')]['length'];_0x20802b++){_0x3192a1[_0x477d('0x44a')]({'title':_0x5238f1[_0x477d('0x451')][_0x477d('0xd67')][_0x20802b][_0x477d('0x439')],'msg':_0x5238f1['data'][_0x477d('0xd67')][_0x20802b][_0x477d('0x452')]});}}else{_0x3192a1['error']({'title':_0x5238f1['status']?_0x477d('0x44b')+_0x5238f1[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x5238f1[_0x477d('0x44d')]:_0x477d('0x210f'),'msg':_0x5238f1[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x5238f1[_0x477d('0x451')]['message']):_0x5238f1['message']||_0x5238f1[_0x477d('0x453')]()});}});},function(){});}function _0x3964a2(_0x5a0060){return _0x5a0060===null?undefined:new Date(_0x5a0060);}function _0x4a0d59(_0x5c6087){_0x8711eb[_0x477d('0x3bc')](_0x5c6087);}}}());(function(){'use strict';_0x4a9a00['$inject']=['$mdDialog',_0x477d('0x40e'),_0x477d('0x386'),_0x477d('0x380'),_0x477d('0x55')];angular[_0x477d('0xb')](_0x477d('0x2d'))['controller']('UserapikeymanagerController',_0x4a9a00);function _0x4a9a00(_0x3e2ebd,_0x1bc5a5,_0x53f280,_0x3dc5f1,_0x16c22c){var _0x2b8302=this;_0x2b8302['currentUser']=_0x16c22c[_0x477d('0x5c')]();_0x2b8302[_0x477d('0xd67')]=[];_0x2b8302[_0x477d('0x380')]=_0x3dc5f1;_0x2b8302[_0x477d('0x21f0')]=_0x293b5b;_0x2b8302[_0x477d('0x21f1')]=_0x4d44fc;_0x2b8302[_0x477d('0x6bf')]=_0x2d126c;function _0x293b5b(){_0x2b8302[_0x477d('0xd67')]=[];_0x53f280[_0x477d('0x380')][_0x477d('0x21f2')]({'id':_0x2b8302[_0x477d('0x380')]['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x8a8962){_0x2b8302[_0x477d('0x380')][_0x477d('0xf53')]=_0x8a8962['api_key']||_0x477d('0x21f3');_0x1bc5a5[_0x477d('0x485')]({'title':'User\x20API\x20key\x20updated!'});_0x2d126c();})['catch'](function(_0xbcc834){_0x1bc5a5[_0x477d('0x44a')]({'title':_0xbcc834[_0x477d('0x3c3')]?_0x477d('0x44b')+_0xbcc834[_0x477d('0x3c3')]+_0x477d('0x44c')+_0xbcc834[_0x477d('0x44d')]:_0x477d('0x21f4'),'msg':_0xbcc834[_0x477d('0x451')]?JSON['stringify'](_0xbcc834[_0x477d('0x451')][_0x477d('0x452')]):_0xbcc834[_0x477d('0x453')]()});_0x2b8302['errors']=_0xbcc834[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0xbcc834['toString'](),'type':_0x477d('0x21f4')}];});}function _0x4d44fc(){_0x2b8302[_0x477d('0xd67')]=[];_0x53f280[_0x477d('0x380')][_0x477d('0x21f1')]({'id':_0x2b8302[_0x477d('0x380')]['id']})['$promise'][_0x477d('0x76')](function(){_0x2b8302[_0x477d('0x380')][_0x477d('0xf53')]=_0x477d('0x21f3');_0x1bc5a5[_0x477d('0x485')]({'title':_0x477d('0x21f5')});_0x2d126c();})['catch'](function(_0x24b6a4){_0x1bc5a5[_0x477d('0x44a')]({'title':_0x24b6a4[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x24b6a4['status']+_0x477d('0x44c')+_0x24b6a4[_0x477d('0x44d')]:_0x477d('0x21f6'),'msg':_0x24b6a4['data']?JSON[_0x477d('0x3fb')](_0x24b6a4[_0x477d('0x451')][_0x477d('0x452')]):_0x24b6a4[_0x477d('0x453')]()});_0x2b8302[_0x477d('0xd67')]=_0x24b6a4['data'][_0x477d('0xd67')]||[{'message':_0x24b6a4[_0x477d('0x453')](),'type':_0x477d('0x21f6')}];});}function _0x2d126c(){_0x3e2ebd['hide']();}}}());(function(){'use strict';_0x434da4[_0x477d('0xa')]=['$cookies',_0x477d('0x40e')];angular[_0x477d('0xb')](_0x477d('0x2d'))['controller'](_0x477d('0x21f7'),_0x434da4);function _0x434da4(_0x568116,_0x5d7b7b){var _0x16cb9e=this;var _0x2fef9f=0x8;var _0x733679=_0x2fef9f*0x400*0x400;_0x16cb9e['user']={};_0x16cb9e[_0x477d('0xd66')];_0x16cb9e[_0x477d('0x1174')]={'singleFile':!![],'maxChunkRetries':0x1,'chunkSize':_0x733679,'simultaneousUploads':0x1,'testChunks':![],'progressCallbacksInterval':0x3e8,'allowDuplicateUploads':!![]};_0x16cb9e[_0x477d('0x129f')]={'flow':{}};_0x16cb9e[_0x477d('0x1175')]=![];_0x16cb9e[_0x477d('0x1176')]=_0x2ea182;_0x16cb9e['upload']=_0x55f816;_0x16cb9e[_0x477d('0x133a')]=_0x421235;_0x16cb9e[_0x477d('0x5ee')]=_0x38e507;function _0x38e507(_0x304f0d,_0x37cc48){_0x16cb9e[_0x477d('0x380')]=angular['copy'](_0x304f0d);_0x16cb9e['crudPermissions']=typeof _0x37cc48!==_0x477d('0x4a4')?_0x37cc48:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x16cb9e[_0x477d('0x1174')][_0x477d('0x378')]=_0x477d('0x2111')+_0x16cb9e[_0x477d('0x380')]['id']+_0x477d('0x2112');_0x16cb9e[_0x477d('0x380')][_0x477d('0x12a2')]=[];}function _0x2ea182(_0x2dd003){var _0x712f9a=[_0x477d('0x12a3'),_0x477d('0x12a4')];if(!_[_0x477d('0x3a4')](_0x712f9a,_0x2dd003[_0x477d('0x1178')]())){_0x5d7b7b[_0x477d('0x44a')]({'title':_0x477d('0x133d')+_0x2dd003[_0x477d('0x1178')](),'msg':_0x477d('0x12a5')+_0x712f9a[_0x477d('0x3f6')]()});return![];}if(_0x2dd003[_0x477d('0x117b')]>_0x733679){_0x5d7b7b[_0x477d('0x44a')]({'title':_0x477d('0x12a6'),'msg':_0x477d('0x133e')+_0x2fef9f+'MB'});return![];}var _0x3a0cf7={'id':_0x2dd003['uniqueIdentifier'],'file':_0x2dd003,'type':_0x477d('0x133f')};_0x16cb9e[_0x477d('0x380')][_0x477d('0x12a2')][_0x477d('0x63b')](_0x3a0cf7);return!![];}function _0x55f816(){_0x16cb9e[_0x477d('0x129f')][_0x477d('0xae')][_0x477d('0x12a8')]['headers']={'X-Requested-With':'XMLHttpRequest','Authorization':_0x477d('0x12aa')+_0x568116[_0x477d('0x376')](_0x477d('0x389'))};_0x16cb9e['ngFlow'][_0x477d('0xae')][_0x477d('0x12a0')]();}function _0x421235(_0x40b1f6,_0x39e036){angular[_0x477d('0x3b1')](_0x16cb9e[_0x477d('0x380')]['images'],function(_0x31113a,_0x144bc5){if(_0x31113a['id']===_0x40b1f6['uniqueIdentifier']){var _0xe1c8c0=new FileReader();_0xe1c8c0[_0x477d('0xecd')](_0x31113a[_0x477d('0xec5')][_0x477d('0xec5')]);_0xe1c8c0[_0x477d('0xec7')]=function(_0x150fef){_0x31113a[_0x477d('0x3c1')]=_0x150fef[_0x477d('0x378')][_0x477d('0xec8')];};_0x31113a['type']=_0x477d('0x12ab');}});}}}());(function(){'use strict';_0x31f3d2['$inject']=['$scope',_0x477d('0x384'),_0x477d('0x40e'),_0x477d('0x386'),'user','setting',_0x477d('0x55')];angular['module'](_0x477d('0x2d'))[_0x477d('0x3ba')](_0x477d('0x21f8'),_0x31f3d2);function _0x31f3d2(_0xd8c907,_0x486bd7,_0x4f50cf,_0x3be0a7,_0x55068b,_0x153dff,_0x33ed0f){var _0x3f5093=this;_0x3f5093[_0x477d('0x3e5')]=_0x33ed0f[_0x477d('0x5c')]();_0x3f5093[_0x477d('0xd67')]=[];_0x3f5093[_0x477d('0xc8e')]=_0x153dff;_0x3f5093[_0x477d('0xd69')]=_0x3f5093[_0x477d('0xc8e')][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x3f5093[_0x477d('0x380')]=_0x55068b;_0x3f5093[_0x477d('0x5d3')]='';_0x3f5093['oldPassword']='';_0x3f5093[_0x477d('0x2153')]=_0x27a688;_0x3f5093[_0x477d('0x6bf')]=_0x15a40c;_0xd8c907[_0x477d('0x4b5')](_0x477d('0x2114'),function(_0x22263f,_0x186e7c){if(!_[_0x477d('0x484')](_0x3f5093[_0x477d('0x2113')])){if(_0x22263f===_0x3f5093['oldPassword']){_0xd8c907['userForm'][_0x477d('0x5d3')][_0x477d('0x2116')](_0x477d('0x2117'),![]);}else{_0xd8c907[_0x477d('0x21f9')][_0x477d('0x5d3')]['$setValidity'](_0x477d('0x2117'),!![]);}}});function _0x27a688(){_0x3f5093['errors']=[];var _0x549d18={'id':_0x3f5093['user']['id'],'newPassword':_0x3f5093[_0x477d('0x5d3')]};if(_0x3f5093['currentUser']['id']==_0x3f5093[_0x477d('0x380')]['id']){_0x549d18[_0x477d('0x2113')]=_0x3f5093[_0x477d('0x2113')];}_0x3be0a7['user'][_0x477d('0x2118')](_0x549d18)['$promise']['then'](function(){_0x4f50cf[_0x477d('0x485')]({'title':_0x477d('0x21fa')});_0x15a40c();})[_0x477d('0xf8')](function(_0x246829){_0x4f50cf['error']({'title':_0x246829[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x246829['status']+_0x477d('0x44c')+_0x246829[_0x477d('0x44d')]:_0x477d('0x214e'),'msg':_0x246829[_0x477d('0x451')]?JSON['stringify'](_0x246829[_0x477d('0x451')]['message']):_0x246829[_0x477d('0x453')]()});_0x3f5093[_0x477d('0xd67')]=_0x246829[_0x477d('0x451')]['errors']||[{'message':_0x246829[_0x477d('0x453')](),'type':'api.user.changePassword'}];});}function _0x15a40c(){_0x486bd7['hide']();}}}());(function(){'use strict';_0x2a46f4[_0x477d('0xa')]=[_0x477d('0x3c4'),'$location','$mdDialog',_0x477d('0x475'),'$translate','license',_0x477d('0xc8e'),_0x477d('0x386'),_0x477d('0x40e'),'Auth',_0x477d('0x380'),_0x477d('0x3ac')];angular['module'](_0x477d('0x2d'))[_0x477d('0x3ba')]('UserController',_0x2a46f4);function _0x2a46f4(_0xdf4f71,_0x566309,_0x3e31ff,_0x1454ea,_0x170247,_0x633f33,_0x5a36c8,_0x999610,_0x1c2d69,_0x401349,_0x4ea2a3,_0x58ed41){var _0x1a4ad6=this;_0x1a4ad6[_0x477d('0x3e5')]=_0x401349[_0x477d('0x5c')]();_0x1a4ad6[_0x477d('0x613')]=_0x633f33;_0x1a4ad6['setting']=_0x5a36c8;_0x1a4ad6[_0x477d('0xd69')]=_0x1a4ad6[_0x477d('0xc8e')]['securePassword']?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x1a4ad6[_0x477d('0x3cc')]=_0x566309[_0x477d('0x3ce')]()+_0x477d('0x1209')+_0x566309['host']();_0x1a4ad6[_0x477d('0x380')]=_0x4ea2a3||_0xdf4f71[_0x477d('0x37e')]['user']||{};_0x1a4ad6[_0x477d('0x3ac')]=_0x58ed41&&_0x58ed41[_0x477d('0x3bb')]==0x1?_0x58ed41[_0x477d('0xf2')][0x0]:null;_0x1a4ad6[_0x477d('0xd66')]=_0x401349[_0x477d('0xd81')](_0x1a4ad6[_0x477d('0x3ac')]?_0x1a4ad6[_0x477d('0x3ac')][_0x477d('0xd66')]:null);_0x1a4ad6[_0x477d('0xd68')]={};_0x1a4ad6['selectedTab']=_0xdf4f71[_0x477d('0x37e')]['tab']||0x0;_0x1a4ad6['apikeymanagerdialog']=_0x548f29;_0x1a4ad6['changepassworddialog']=_0x1391ef;_0x1a4ad6[_0x477d('0x120a')]=_0x1c2d69[_0x477d('0x669')];_0x1a4ad6[_0x477d('0x21fb')]=_0x341aa0;_0x1a4ad6['saveUser']=_0xebf4fa;_0x999610[_0x477d('0xa6b')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94')})['$promise'][_0x477d('0x76')](function(_0x4b4991){_0x1a4ad6['contexts']=_0x4b4991['rows']||[];})[_0x477d('0xf8')](function(_0x21fb58){_0x1c2d69['error']({'title':_0x21fb58[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x21fb58[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x21fb58[_0x477d('0x44d')]:_0x477d('0x212b'),'msg':_0x21fb58[_0x477d('0x451')]?JSON['stringify'](_0x21fb58[_0x477d('0x451')]):_0x21fb58['toString']()});});_0x999610[_0x477d('0x3a5')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':'name'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x5e6ed0){_0x1a4ad6['userProfiles']=_0x5e6ed0['rows']||[];})[_0x477d('0xf8')](function(_0x256bd8){_0x1c2d69[_0x477d('0x44a')]({'title':_0x256bd8['status']?'API:'+_0x256bd8[_0x477d('0x3c3')]+'\x20-\x20'+_0x256bd8[_0x477d('0x44d')]:_0x477d('0x21fc'),'msg':_0x256bd8[_0x477d('0x451')]?JSON['stringify'](_0x256bd8['data']):_0x256bd8[_0x477d('0x453')]()});});_0x999610[_0x477d('0x380')][_0x477d('0x21fd')]({'id':_0x1a4ad6[_0x477d('0x380')]['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x11f82b){_0x1a4ad6[_0x477d('0x380')][_0x477d('0xf53')]=_0x11f82b['api_key']?_0x11f82b[_0x477d('0x21fe')]:_0x477d('0x21f3');})[_0x477d('0xf8')](function(_0x4e8225){_0x1c2d69[_0x477d('0x44a')]({'title':_0x4e8225[_0x477d('0x3c3')]?'API:'+_0x4e8225[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x4e8225['statusText']:_0x477d('0x21ff'),'msg':_0x4e8225[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x4e8225['data']):_0x4e8225['toString']()});});function _0x548f29(_0x565418,_0x2c8100){_0x3e31ff[_0x477d('0x395')]({'controller':_0x477d('0x2200'),'controllerAs':'vm','templateUrl':_0x477d('0x2201'),'parent':angular[_0x477d('0x398')](_0x1454ea['body']),'targetEvent':_0x2c8100,'clickOutsideToClose':!![],'locals':{'user':_0x565418,'users':_0x1a4ad6[_0x477d('0xf2d')]?_0x1a4ad6[_0x477d('0xf2d')][_0x477d('0xf2')]:[],'crudPermissions':_0x1a4ad6[_0x477d('0xd66')]}});}function _0x1391ef(_0x401e70,_0x1e46bd){_0x3e31ff[_0x477d('0x395')]({'controller':'UserchangepasswordController','controllerAs':'vm','templateUrl':'app/main/apps/staff/views/users/edit/changepassword/changepassword.html','parent':angular[_0x477d('0x398')](_0x1454ea[_0x477d('0x399')]),'targetEvent':_0x1e46bd,'clickOutsideToClose':!![],'locals':{'user':_0x401e70,'setting':_0x5a36c8,'users':_0x1a4ad6[_0x477d('0xf2d')]?_0x1a4ad6[_0x477d('0xf2d')][_0x477d('0xf2')]:[],'crudPermissions':_0x1a4ad6['crudPermissions']}});}function _0x341aa0(){_0xdf4f71['go'](_0x477d('0x2202'),{},{'reload':_0x477d('0x2202')});}function _0xebf4fa(){_0x1a4ad6[_0x477d('0x380')]=_[_0x477d('0x3fc')](_0x1a4ad6[_0x477d('0x380')],_0x477d('0x13b6'));_0x999610[_0x477d('0x380')][_0x477d('0x710')]({'id':_0x1a4ad6[_0x477d('0x380')]['id']},_0x1a4ad6['user'])['$promise'][_0x477d('0x76')](function(){_0x1c2d69['success']({'title':_0x477d('0x2203'),'msg':_0x1a4ad6[_0x477d('0x380')]['name']?_0x1a4ad6['user'][_0x477d('0x94')]+_0x477d('0xed7'):''});})[_0x477d('0xf8')](function(_0x1a85a9){_0x1c2d69[_0x477d('0x44a')]({'title':_0x1a85a9[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x1a85a9[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x1a85a9[_0x477d('0x44d')]:_0x477d('0x212e'),'msg':_0x1a85a9[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x1a85a9['data']):_0x1a85a9[_0x477d('0x453')]()});});}}}());(function(){'use strict';_0x5ab3ad[_0x477d('0xa')]=['$scope','$window',_0x477d('0x3c4'),_0x477d('0x554'),'$mdDialog',_0x477d('0x475'),_0x477d('0x3fe'),'$translate',_0x477d('0xf2d'),_0x477d('0x3a5'),_0x477d('0x3ac'),_0x477d('0x386'),_0x477d('0x342'),_0x477d('0x40e'),_0x477d('0x55'),'license','setting'];angular[_0x477d('0xb')](_0x477d('0x2d'))[_0x477d('0x3ba')](_0x477d('0x2204'),_0x5ab3ad);function _0x5ab3ad(_0x1da353,_0x482258,_0x40937e,_0x47acc0,_0x5b6101,_0x11ea63,_0x488933,_0x4b0720,_0x45062f,_0x2f2159,_0x15b417,_0x218d05,_0x28812a,_0x5decbd,_0x12fd66,_0x273d71,_0xda0dd1){var _0x2fe6de=this;_0x2fe6de[_0x477d('0x613')]=_0x273d71;_0x2fe6de['setting']=_0xda0dd1;_0x2fe6de[_0x477d('0x3e5')]=_0x12fd66[_0x477d('0x5c')]();_0x2fe6de[_0x477d('0xf2d')]=_0x45062f||{'count':0x0,'rows':[]};_0x2fe6de[_0x477d('0x3a5')]=_0x2f2159;_0x2fe6de[_0x477d('0x3ac')]=_0x15b417&&_0x15b417['count']==0x1?_0x15b417[_0x477d('0xf2')][0x0]:null;_0x2fe6de[_0x477d('0xd66')]=_0x12fd66[_0x477d('0xd81')](_0x2fe6de[_0x477d('0x3ac')]?_0x2fe6de[_0x477d('0x3ac')][_0x477d('0xd66')]:null);_0x2fe6de[_0x477d('0xd82')]='users';_0x2fe6de[_0x477d('0xd83')]='';_0x2fe6de['listOrderAsc']=null;_0x2fe6de['selectedUsers']=[];_0x2fe6de[_0x477d('0x3ef')]={'fields':_0x477d('0x287'),'role':_0x477d('0x283'),'sort':_0x477d('0x59'),'limit':0xa,'page':0x1};_0x2fe6de[_0x477d('0x2205')]=_[_0x477d('0xdb5')]([{'option':_0x477d('0x2206'),'value':_0x477d('0x2207')},{'option':'User','value':'\x27user\x27'}],function(_0x775651){return _[_0x477d('0x409')](_0x775651[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x2fe6de[_0x477d('0x20dd')]=_[_0x477d('0xdb5')]([{'option':_0x477d('0x20de'),'value':_0x477d('0x20df')},{'option':_0x477d('0x20e0'),'value':_0x477d('0x2208')},{'option':'ws','value':_0x477d('0x20e1')},{'option':_0x477d('0x20e2'),'value':_0x477d('0x20e3')},{'option':_0x477d('0x20e5'),'value':_0x477d('0x215f')}],function(_0x1b8fd3){return _['replace'](_0x1b8fd3['value'],new RegExp('\x27','g'),'');});_0x2fe6de['arraynat']=_[_0x477d('0xdb5')]([{'option':_0x477d('0x20e6'),'value':'\x27force_rport\x27'},{'option':'comedia','value':_0x477d('0x20e8')},{'option':'yes','value':_0x477d('0x1e91')},{'option':'no','value':'\x27no\x27'},{'option':_0x477d('0x1e0a'),'value':_0x477d('0x1d52')},{'option':_0x477d('0x442'),'value':_0x477d('0x20e9')}],function(_0x33ad0c){return _['replace'](_0x33ad0c['value'],new RegExp('\x27','g'),'');});_0x2fe6de['arrayallow']=_[_0x477d('0xdb5')]([{'option':_0x477d('0x2161'),'value':'\x27ulaw\x27'},{'option':_0x477d('0x2162'),'value':'\x27alaw\x27'},{'option':_0x477d('0xf77'),'value':_0x477d('0x1e96')},{'option':_0x477d('0x2163'),'value':_0x477d('0x20f0')},{'option':_0x477d('0x20f1'),'value':_0x477d('0x2164')},{'option':'opus','value':_0x477d('0x20f3')},{'option':_0x477d('0x20f4'),'value':_0x477d('0x20f5')}],function(_0x35b718){return _[_0x477d('0x409')](_0x35b718['value'],new RegExp('\x27','g'),'');});_0x2fe6de[_0x477d('0x2165')]=_[_0x477d('0xdb5')]([{'option':_0x477d('0xf6c'),'value':_0x477d('0x1e91')},{'option':'No','value':_0x477d('0x1271')},{'option':_0x477d('0x1d4d'),'value':_0x477d('0x1e24')}],function(_0x2b179b){return _[_0x477d('0x409')](_0x2b179b[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x2fe6de[_0x477d('0xea6')]=_0x59a290;_0x2fe6de['deleteconfirm']=_0x15f112;_0x2fe6de[_0x477d('0x485')]=_0x45ac5f;_0x2fe6de[_0x477d('0xf24')]=_0x48cdef;_0x2fe6de['createOrEditUser']=_0x21e706;_0x2fe6de[_0x477d('0x21e8')]=_0x118996;_0x2fe6de[_0x477d('0x2209')]=_0x443642;_0x2fe6de[_0x477d('0x220a')]=_0xd5356a;_0x2fe6de[_0x477d('0x220b')]=_0xfbb4b8;_0x2fe6de[_0x477d('0x220c')]=_0x583759;_0x218d05['userProfile'][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':'name'})[_0x477d('0x38b')]['then'](function(_0x3f153d){_0x2fe6de[_0x477d('0x2172')]=_0x3f153d[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x5cd307){_0x5decbd['error']({'title':_0x5cd307[_0x477d('0x3c3')]?'API:'+_0x5cd307[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x5cd307['statusText']:_0x477d('0x21fc'),'msg':_0x5cd307[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x5cd307['data']):_0x5cd307[_0x477d('0x453')]()});});function _0x59a290(_0x34fc6d,_0x30a598){_0x40937e['go'](_0x477d('0x284'),{'id':_0x34fc6d['id'],'user':_0x34fc6d,'crudPermissions':_0x2fe6de[_0x477d('0xd66')]});}function _0x15f112(_0x2e886c,_0x2677c8){var _0x1c0a53=_0x5b6101[_0x477d('0xd78')]()['title']('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20'+_[_0x477d('0xd91')](_0x477d('0x380'))+'?')[_0x477d('0xd92')](_0x477d('0xd93')+(_0x2e886c[_0x477d('0x94')]||_0x477d('0x380'))+_0x477d('0xd94')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x220d'))[_0x477d('0xd7c')](_0x2677c8)['ok']('OK')[_0x477d('0x4f0')]('CANCEL');_0x5b6101[_0x477d('0x395')](_0x1c0a53)[_0x477d('0x76')](function(){_0x118996(_0x2e886c);},function(){console[_0x477d('0x7b')]('CANCEL');});}var _0x1b560d=!![];var _0x5e5673=0x1;_0x1da353[_0x477d('0x4b5')](_0x477d('0xd98'),function(_0xbb5d1e,_0x5499a7){if(_0x1b560d){_0x488933(function(){_0x1b560d=![];});}else{if(!_0x5499a7){_0x5e5673=_0x2fe6de[_0x477d('0x3ef')]['page'];}if(_0xbb5d1e!==_0x5499a7){_0x2fe6de[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0xbb5d1e){_0x2fe6de[_0x477d('0x3ef')][_0x477d('0xe03')]=_0x5e5673;}_0x2fe6de['getUsers']();}});function _0x45ac5f(_0x3180be){_0x2fe6de[_0x477d('0xf2d')]=_0x3180be||{'count':0x0,'rows':[]};}function _0x48cdef(){_0x2fe6de[_0x477d('0x3ef')]['offset']=(_0x2fe6de[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x2fe6de[_0x477d('0x3ef')][_0x477d('0x91d')];if(_0x12fd66['hasRole'](_0x477d('0x5f'))){_0x2fe6de[_0x477d('0x553')]=_0x218d05[_0x477d('0x380')][_0x477d('0x376')](_0x2fe6de['query'],_0x45ac5f)['$promise'];}else{_0x2fe6de[_0x477d('0x3ef')]['id']=_0x2fe6de[_0x477d('0x3a5')]['id'];_0x2fe6de[_0x477d('0x3ef')][_0x477d('0xd99')]=_0x477d('0xdf4');_0x2fe6de[_0x477d('0x553')]=_0x218d05['userProfile']['getResources'](_0x2fe6de[_0x477d('0x3ef')],_0x45ac5f)[_0x477d('0x38b')];}}function _0x21e706(_0x60f23a,_0x198451){_0x5b6101['show']({'controller':_0x477d('0x21e4'),'controllerAs':'vm','templateUrl':_0x477d('0x220e'),'parent':angular[_0x477d('0x398')](_0x11ea63[_0x477d('0x399')]),'targetEvent':_0x60f23a,'clickOutsideToClose':!![],'locals':{'user':_0x198451,'users':_0x2fe6de[_0x477d('0xf2d')][_0x477d('0xf2')],'license':_0x2fe6de['license'],'setting':_0x2fe6de[_0x477d('0xc8e')],'crudPermissions':_0x2fe6de['crudPermissions']}});}function _0x118996(_0x51f511){_0x218d05[_0x477d('0x380')][_0x477d('0xa55')]({'id':_0x51f511['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x2fe6de[_0x477d('0xf2d')]['rows'],{'id':_0x51f511['id']});_0x2fe6de[_0x477d('0xf2d')][_0x477d('0x3bb')]-=0x1;if(!_0x2fe6de['users'][_0x477d('0xf2')][_0x477d('0x79')]){_0x2fe6de[_0x477d('0xf24')]();}_0x5decbd[_0x477d('0x485')]({'title':_[_0x477d('0xd91')]('User')+_0x477d('0xd9d'),'msg':_0x51f511['name']?_0x51f511[_0x477d('0x94')]+_0x477d('0xd7e'):''});})[_0x477d('0xf8')](function(_0x4dd769){if(_0x4dd769[_0x477d('0x451')]&&_0x4dd769[_0x477d('0x451')][_0x477d('0xd67')]&&_0x4dd769[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x2fe6de[_0x477d('0xd67')]=_0x4dd769[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x4dd769[_0x477d('0x453')](),'type':_0x477d('0x2101')}];for(var _0x10f2bd=0x0;_0x10f2bd<_0x4dd769[_0x477d('0x451')]['errors'][_0x477d('0x79')];_0x10f2bd++){_0x5decbd[_0x477d('0x44a')]({'title':_0x4dd769[_0x477d('0x451')][_0x477d('0xd67')][_0x10f2bd][_0x477d('0x439')],'msg':_0x4dd769[_0x477d('0x451')][_0x477d('0xd67')][_0x10f2bd][_0x477d('0x452')]});}}else{_0x5decbd[_0x477d('0x44a')]({'title':_0x4dd769[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x4dd769[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x4dd769[_0x477d('0x44d')]:_0x477d('0x2101'),'msg':_0x4dd769[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x4dd769[_0x477d('0x451')][_0x477d('0x452')]):_0x4dd769[_0x477d('0x452')]||_0x4dd769[_0x477d('0x453')]()});}});}function _0x443642(){var _0x4ada00=angular['copy'](_0x2fe6de[_0x477d('0x220f')]);_0x2fe6de[_0x477d('0x220f')]=[];return _0x4ada00;}function _0xd5356a(_0x1abe83){var _0x47f37f=_0x5b6101[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x2210'))['htmlContent'](''+_0x2fe6de[_0x477d('0x220f')][_0x477d('0x79')]+_0x477d('0xda0')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x2211'))[_0x477d('0xd7c')](_0x1abe83)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x5b6101[_0x477d('0x395')](_0x47f37f)[_0x477d('0x76')](function(){_0x2fe6de[_0x477d('0x220f')][_0x477d('0x3b1')](function(_0x30ebdd){_0x118996(_0x30ebdd);});_0x2fe6de[_0x477d('0x220f')]=[];});}function _0xfbb4b8(){_0x2fe6de[_0x477d('0x220f')]=[];}function _0x583759(){_0x2fe6de['selectedUsers']=_0x2fe6de[_0x477d('0xf2d')]['rows'];}}}());(function(){'use strict';_0x4cc4ab[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x387'),_0x477d('0x3c4'),'$mdSidenav',_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x3fe'),_0x477d('0x40d'),_0x477d('0x2212'),_0x477d('0x3a5'),'userProfileSection',_0x477d('0x386'),'msUtils',_0x477d('0x40e'),_0x477d('0x55'),'license',_0x477d('0xc8e')];angular[_0x477d('0xb')](_0x477d('0x35'))['controller']('CannedAnswersController',_0x4cc4ab);function _0x4cc4ab(_0x3ca3d4,_0x46c9c6,_0x4f0e4e,_0x21f96e,_0x15dce4,_0x42de01,_0x3cfdf9,_0x32259f,_0x43d4ea,_0x5bd89f,_0x835421,_0xbf2c75,_0xff542,_0x543bd0,_0x86c843,_0x141707,_0x13eeaa){var _0x1a7f3f=this;_0x1a7f3f['license']=_0x141707;_0x1a7f3f['setting']=_0x13eeaa;_0x1a7f3f[_0x477d('0x3e5')]=_0x86c843[_0x477d('0x5c')]();_0x1a7f3f[_0x477d('0x2212')]=_0x43d4ea||{'count':0x0,'rows':[]};_0x1a7f3f[_0x477d('0x3a5')]=_0x5bd89f;_0x1a7f3f['userProfileSection']=_0x835421&&_0x835421['count']==0x1?_0x835421[_0x477d('0xf2')][0x0]:null;_0x1a7f3f[_0x477d('0xd66')]=_0x86c843[_0x477d('0xd81')](_0x1a7f3f[_0x477d('0x3ac')]?_0x1a7f3f[_0x477d('0x3ac')][_0x477d('0xd66')]:null);_0x1a7f3f[_0x477d('0xd82')]=_0x477d('0x2212');_0x1a7f3f[_0x477d('0xd83')]='';_0x1a7f3f[_0x477d('0xd84')]=null;_0x1a7f3f[_0x477d('0x2213')]=[];_0x1a7f3f[_0x477d('0x3ef')]={'fields':_0x477d('0x2aa'),'sort':_0x477d('0x59'),'MailAccountId':_0x477d('0xea'),'FaxAccountId':_0x477d('0xea'),'SmsAccountId':_0x477d('0xea'),'OpenchannelAccountId':_0x477d('0xea'),'ChatWebsiteId':_0x477d('0xea'),'limit':0xa,'page':0x1};_0x1a7f3f['editdialog']=_0x9b01de;_0x1a7f3f[_0x477d('0xd88')]=_0x58cffe;_0x1a7f3f[_0x477d('0x485')]=_0x711037;_0x1a7f3f[_0x477d('0x2214')]=_0x5bab6f;_0x1a7f3f['createOrEditCannedAnswer']=_0x30c251;_0x1a7f3f[_0x477d('0x2215')]=_0x1ea058;_0x1a7f3f[_0x477d('0x2216')]=_0x357365;_0x1a7f3f[_0x477d('0x2217')]=_0x443e80;_0x1a7f3f[_0x477d('0x2218')]=_0x2247df;_0x1a7f3f[_0x477d('0x2219')]=_0x82f1d2;function _0x9b01de(_0x1b8003,_0x1dd3ea){_0x15dce4[_0x477d('0x395')]({'controller':_0x477d('0x221a'),'controllerAs':'vm','templateUrl':_0x477d('0x221b'),'parent':angular[_0x477d('0x398')](_0x42de01['body']),'targetEvent':_0x1dd3ea,'clickOutsideToClose':!![],'locals':{'cannedAnswer':_0x1b8003,'cannedAnswers':_0x1a7f3f[_0x477d('0x2212')][_0x477d('0xf2')],'license':_0x1a7f3f[_0x477d('0x613')],'setting':null,'crudPermissions':_0x1a7f3f['crudPermissions']}});}function _0x58cffe(_0x4b80e9,_0x5a6b79){var _0x72b607=_0x15dce4[_0x477d('0xd78')]()['title'](_0x477d('0xd90')+_[_0x477d('0xd91')](_0x477d('0xb91'))+'?')[_0x477d('0xd92')](_0x477d('0xd93')+(_0x4b80e9[_0x477d('0x94')]||_0x477d('0xb91'))+_0x477d('0xd94')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x221c'))['targetEvent'](_0x5a6b79)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x15dce4[_0x477d('0x395')](_0x72b607)['then'](function(){_0x1ea058(_0x4b80e9);},function(){console[_0x477d('0x7b')](_0x477d('0xd97'));});}var _0x498ee4=!![];var _0x5c5192=0x1;_0x3ca3d4[_0x477d('0x4b5')](_0x477d('0xd98'),function(_0x19d1aa,_0x426faf){if(_0x498ee4){_0x3cfdf9(function(){_0x498ee4=![];});}else{if(!_0x426faf){_0x5c5192=_0x1a7f3f[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x19d1aa!==_0x426faf){_0x1a7f3f['query'][_0x477d('0xe03')]=0x1;}if(!_0x19d1aa){_0x1a7f3f[_0x477d('0x3ef')]['page']=_0x5c5192;}_0x1a7f3f['getCannedAnswers']();}});function _0x711037(_0x37eaf1){_0x1a7f3f[_0x477d('0x2212')]=_0x37eaf1||{'count':0x0,'rows':[]};}function _0x5bab6f(){_0x1a7f3f[_0x477d('0x3ef')][_0x477d('0x91c')]=(_0x1a7f3f['query'][_0x477d('0xe03')]-0x1)*_0x1a7f3f['query'][_0x477d('0x91d')];if(_0x86c843[_0x477d('0x56')](_0x477d('0x5f'))){_0x1a7f3f[_0x477d('0x553')]=_0xbf2c75[_0x477d('0xb91')]['get'](_0x1a7f3f[_0x477d('0x3ef')],_0x711037)['$promise'];}else{_0x1a7f3f[_0x477d('0x3ef')]['id']=_0x1a7f3f[_0x477d('0x3a5')]['id'];_0x1a7f3f['query'][_0x477d('0xd99')]='CannedAnswers';_0x1a7f3f[_0x477d('0x553')]=_0xbf2c75[_0x477d('0x3a5')][_0x477d('0xd9a')](_0x1a7f3f[_0x477d('0x3ef')],_0x711037)[_0x477d('0x38b')];}}function _0x30c251(_0x85adf0,_0x5ce50e){_0x15dce4[_0x477d('0x395')]({'controller':_0x477d('0x221a'),'controllerAs':'vm','templateUrl':'app/main/apps/tools/views/cannedAnswers/create/dialog.html','parent':angular[_0x477d('0x398')](_0x42de01[_0x477d('0x399')]),'targetEvent':_0x85adf0,'clickOutsideToClose':!![],'locals':{'cannedAnswer':_0x5ce50e,'cannedAnswers':_0x1a7f3f[_0x477d('0x2212')]['rows'],'license':_0x1a7f3f[_0x477d('0x613')],'setting':_0x1a7f3f['setting'],'crudPermissions':_0x1a7f3f[_0x477d('0xd66')]}});}function _0x1ea058(_0x303c28){_0xbf2c75[_0x477d('0xb91')][_0x477d('0xa55')]({'id':_0x303c28['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x1a7f3f['cannedAnswers'][_0x477d('0xf2')],{'id':_0x303c28['id']});_0x1a7f3f[_0x477d('0x2212')][_0x477d('0x3bb')]-=0x1;if(!_0x1a7f3f['cannedAnswers'][_0x477d('0xf2')][_0x477d('0x79')]){_0x1a7f3f[_0x477d('0x2214')]();}_0x543bd0[_0x477d('0x485')]({'title':_[_0x477d('0xd91')]('CannedAnswer')+_0x477d('0xd9d'),'msg':_0x303c28['name']?_0x303c28[_0x477d('0x94')]+_0x477d('0xd7e'):''});})['catch'](function(_0x36274a){if(_0x36274a[_0x477d('0x451')]&&_0x36274a[_0x477d('0x451')][_0x477d('0xd67')]&&_0x36274a['data'][_0x477d('0xd67')][_0x477d('0x79')]){_0x1a7f3f['errors']=_0x36274a['data'][_0x477d('0xd67')]||[{'message':_0x36274a[_0x477d('0x453')](),'type':_0x477d('0x221d')}];for(var _0x28e0c3=0x0;_0x28e0c3<_0x36274a[_0x477d('0x451')][_0x477d('0xd67')]['length'];_0x28e0c3++){_0x543bd0[_0x477d('0x44a')]({'title':_0x36274a[_0x477d('0x451')][_0x477d('0xd67')][_0x28e0c3][_0x477d('0x439')],'msg':_0x36274a['data']['errors'][_0x28e0c3]['message']});}}else{_0x543bd0[_0x477d('0x44a')]({'title':_0x36274a[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x36274a[_0x477d('0x3c3')]+'\x20-\x20'+_0x36274a[_0x477d('0x44d')]:'SYSTEM:DELETEcannedAnswer','msg':_0x36274a[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x36274a[_0x477d('0x451')][_0x477d('0x452')]):_0x36274a[_0x477d('0x452')]||_0x36274a[_0x477d('0x453')]()});}});}function _0x357365(){var _0x2b49de=angular[_0x477d('0x6d9')](_0x1a7f3f[_0x477d('0x2213')]);_0x1a7f3f[_0x477d('0x2213')]=[];return _0x2b49de;}function _0x443e80(_0x3c4d2d){var _0x45f494=_0x15dce4[_0x477d('0xd78')]()['title'](_0x477d('0x221e'))[_0x477d('0xd92')](_0x477d('0xd93')+_0x1a7f3f[_0x477d('0x2213')][_0x477d('0x79')]+'\x20selected'+_0x477d('0xd95'))[_0x477d('0x687')]('delete\x20CannedAnswers')[_0x477d('0xd7c')](_0x3c4d2d)['ok']('OK')[_0x477d('0x4f0')]('CANCEL');_0x15dce4[_0x477d('0x395')](_0x45f494)['then'](function(){_0x1a7f3f[_0x477d('0x2213')][_0x477d('0x3b1')](function(_0x2f1203){_0x1ea058(_0x2f1203);});_0x1a7f3f['selectedCannedAnswers']=[];});}function _0x2247df(){_0x1a7f3f[_0x477d('0x2213')]=[];}function _0x82f1d2(){_0x1a7f3f[_0x477d('0x2213')]=_0x1a7f3f[_0x477d('0x2212')][_0x477d('0xf2')];}}}());(function(){'use strict';_0x297d97[_0x477d('0xa')]=[_0x477d('0x474'),'$state',_0x477d('0xd64'),_0x477d('0x384'),'$q',_0x477d('0x40d'),_0x477d('0x40e'),'cannedAnswers','cannedAnswer',_0x477d('0x386'),_0x477d('0x55'),_0x477d('0x613'),_0x477d('0xc8e'),_0x477d('0xd66')];angular[_0x477d('0xb')]('app.tools')['controller'](_0x477d('0x221a'),_0x297d97);function _0x297d97(_0x565a79,_0xef2398,_0x32b84a,_0xf8b99e,_0x2dc262,_0x3992c6,_0x267101,_0x3700d3,_0x3bf03b,_0x1d328f,_0x4adeb4,_0x47b8db,_0x4fbd77,_0x5aa696){var _0x1bd08e=this;_0x1bd08e[_0x477d('0x3e5')]=_0x4adeb4['getCurrentUser']();_0x1bd08e[_0x477d('0xd67')]=[];_0x1bd08e[_0x477d('0xc8e')]=_0x4fbd77;_0x1bd08e[_0x477d('0x613')]=_0x47b8db;_0x1bd08e[_0x477d('0xd66')]=_0x5aa696;_0x1bd08e['hasModulePermissions']={};_0x1bd08e[_0x477d('0xd69')]=_0x1bd08e[_0x477d('0xc8e')]&&_0x1bd08e[_0x477d('0xc8e')]['securePassword']?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x1bd08e['title']=_0x477d('0x221f');_0x1bd08e['cannedAnswer']=angular['copy'](_0x3bf03b);_0x1bd08e['cannedAnswers']=_0x3700d3;_0x1bd08e[_0x477d('0x2220')]=![];if(!_0x1bd08e[_0x477d('0xb91')]){_0x1bd08e[_0x477d('0xb91')]={};_0x1bd08e[_0x477d('0x49a')]=_0x477d('0x2221');_0x1bd08e[_0x477d('0x2220')]=!![];}_0x1bd08e['addNewCannedAnswer']=_0x311a2a;_0x1bd08e['saveCannedAnswer']=_0x2b0d0a;_0x1bd08e[_0x477d('0x2215')]=_0x34fab7;_0x1bd08e[_0x477d('0xd6f')]=_0x51daae;_0x1bd08e[_0x477d('0x6bf')]=_0x120e22;function _0x311a2a(){_0x1bd08e[_0x477d('0xd67')]=[];_0x1d328f[_0x477d('0xb91')]['save'](_0x1bd08e[_0x477d('0xb91')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x41a914){_0x1bd08e[_0x477d('0x2212')]['unshift'](_0x41a914[_0x477d('0xd71')]());_0x267101['success']({'title':_0x477d('0x2222'),'msg':_0x1bd08e[_0x477d('0xb91')][_0x477d('0x94')]?_0x1bd08e[_0x477d('0xb91')]['name']+_0x477d('0xd73'):''});_0x120e22(_0x41a914);})[_0x477d('0xf8')](function(_0x2134bb){if(_0x2134bb[_0x477d('0x451')]&&_0x2134bb[_0x477d('0x451')][_0x477d('0xd67')]&&_0x2134bb[_0x477d('0x451')][_0x477d('0xd67')]['length']){_0x1bd08e[_0x477d('0xd67')]=_0x2134bb[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x2134bb['toString'](),'type':_0x477d('0x12fc')}];for(var _0x521486=0x0;_0x521486<_0x2134bb[_0x477d('0x451')]['errors'][_0x477d('0x79')];_0x521486+=0x1){_0x267101[_0x477d('0x44a')]({'title':_0x2134bb['data'][_0x477d('0xd67')][_0x521486][_0x477d('0x439')],'msg':_0x2134bb[_0x477d('0x451')]['errors'][_0x521486][_0x477d('0x452')]});}}else{_0x267101[_0x477d('0x44a')]({'title':_0x2134bb['status']?_0x477d('0x44b')+_0x2134bb[_0x477d('0x3c3')]+'\x20-\x20'+_0x2134bb[_0x477d('0x44d')]:_0x477d('0x12fc'),'msg':_0x2134bb[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x2134bb['data'][_0x477d('0x452')]):_0x2134bb[_0x477d('0x453')]()});}});}function _0x2b0d0a(){_0x1bd08e['errors']=[];_0x1d328f[_0x477d('0xb91')]['update']({'id':_0x1bd08e['cannedAnswer']['id']},_0x1bd08e[_0x477d('0xb91')])[_0x477d('0x38b')]['then'](function(_0x555658){var _0x1324b2=_[_0x477d('0x10a')](_0x1bd08e[_0x477d('0x2212')],{'id':_0x555658['id']});if(_0x1324b2){_['merge'](_0x1324b2,_['pick'](_0x555658['toJSON'](),_[_0x477d('0x7f')](_0x1324b2)));}_0x267101['success']({'title':'CannedAnswer\x20properly\x20saved!','msg':_0x1bd08e['cannedAnswer'][_0x477d('0x94')]?_0x1bd08e[_0x477d('0xb91')][_0x477d('0x94')]+_0x477d('0xd76'):''});_0x120e22(_0x555658);})[_0x477d('0xf8')](function(_0x5f6bf9){if(_0x5f6bf9['data']&&_0x5f6bf9[_0x477d('0x451')][_0x477d('0xd67')]&&_0x5f6bf9[_0x477d('0x451')][_0x477d('0xd67')]['length']){_0x1bd08e[_0x477d('0xd67')]=_0x5f6bf9[_0x477d('0x451')]['errors']||[{'message':_0x5f6bf9['toString'](),'type':_0x477d('0x12fe')}];for(var _0x40a910=0x0;_0x40a910<_0x5f6bf9['data'][_0x477d('0xd67')][_0x477d('0x79')];_0x40a910++){_0x267101[_0x477d('0x44a')]({'title':_0x5f6bf9['data']['errors'][_0x40a910][_0x477d('0x439')],'msg':_0x5f6bf9[_0x477d('0x451')]['errors'][_0x40a910][_0x477d('0x452')]});}}else{_0x267101[_0x477d('0x44a')]({'title':_0x5f6bf9['status']?_0x477d('0x44b')+_0x5f6bf9['status']+'\x20-\x20'+_0x5f6bf9['statusText']:_0x477d('0x12fe'),'msg':_0x5f6bf9[_0x477d('0x451')]?JSON['stringify'](_0x5f6bf9['data'][_0x477d('0x452')]):_0x5f6bf9[_0x477d('0x453')]()});}});}function _0x34fab7(_0x199b3d){_0x1bd08e[_0x477d('0xd67')]=[];var _0x282515=_0xf8b99e[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xd79'))[_0x477d('0xdaf')](_0x477d('0x2223'))[_0x477d('0x687')](_0x477d('0x2224'))['ok']('Delete')['cancel'](_0x477d('0x688'))[_0x477d('0xd7c')](_0x199b3d);_0xf8b99e[_0x477d('0x395')](_0x282515)['then'](function(){_0x1d328f[_0x477d('0xb91')]['delete']({'id':_0x1bd08e[_0x477d('0xb91')]['id']})['$promise'][_0x477d('0x76')](function(){_['remove'](_0x1bd08e[_0x477d('0x2212')],{'id':_0x1bd08e[_0x477d('0xb91')]['id']});_0x267101[_0x477d('0x485')]({'title':_0x477d('0x2225'),'msg':(_0x1bd08e['cannedAnswer']['name']||'cannedAnswer')+_0x477d('0xd7e')});_0x120e22(_0x1bd08e[_0x477d('0xb91')]);})[_0x477d('0xf8')](function(_0x161fe9){if(_0x161fe9[_0x477d('0x451')]&&_0x161fe9[_0x477d('0x451')][_0x477d('0xd67')]&&_0x161fe9[_0x477d('0x451')][_0x477d('0xd67')]['length']){_0x1bd08e[_0x477d('0xd67')]=_0x161fe9[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x161fe9[_0x477d('0x453')](),'type':_0x477d('0x1300')}];for(var _0x1dbcb6=0x0;_0x1dbcb6<_0x161fe9['data'][_0x477d('0xd67')][_0x477d('0x79')];_0x1dbcb6++){_0x267101[_0x477d('0x44a')]({'title':_0x161fe9[_0x477d('0x451')][_0x477d('0xd67')][_0x1dbcb6][_0x477d('0x439')],'msg':_0x161fe9['data'][_0x477d('0xd67')][_0x1dbcb6][_0x477d('0x452')]});}}else{_0x267101[_0x477d('0x44a')]({'title':_0x161fe9[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x161fe9[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x161fe9[_0x477d('0x44d')]:_0x477d('0x1300'),'msg':_0x161fe9[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x161fe9['data'][_0x477d('0x452')]):_0x161fe9['message']||_0x161fe9[_0x477d('0x453')]()});}});},function(){});}function _0x51daae(_0x4537d4){return _0x4537d4===null?undefined:new Date(_0x4537d4);}function _0x120e22(_0x1df408){_0xf8b99e[_0x477d('0x3bc')](_0x1df408);}}}());(function(){'use strict';_0x1d4778[_0x477d('0xa')]=[_0x477d('0x474'),'$state',_0x477d('0xd64'),'$mdDialog','$q',_0x477d('0x40d'),_0x477d('0x40e'),_0x477d('0x2226'),_0x477d('0x1572'),_0x477d('0x386'),_0x477d('0x55'),_0x477d('0x613'),_0x477d('0xc8e'),'crudPermissions'];angular[_0x477d('0xb')]('app.tools')[_0x477d('0x3ba')](_0x477d('0x2227'),_0x1d4778);function _0x1d4778(_0xc39d82,_0x5a31ac,_0x304cd8,_0x15cb30,_0x14f8c3,_0x1235a0,_0x3d079e,_0x1a23c4,_0x3a4822,_0x4869ba,_0x360ff6,_0x92df,_0xcae4f5,_0x378327){var _0x56f4fe=this;_0x56f4fe['currentUser']=_0x360ff6[_0x477d('0x5c')]();_0x56f4fe[_0x477d('0xd67')]=[];_0x56f4fe['setting']=_0xcae4f5;_0x56f4fe['license']=_0x92df;_0x56f4fe[_0x477d('0xd66')]=_0x378327;_0x56f4fe[_0x477d('0xd68')]={};_0x56f4fe[_0x477d('0xd69')]=_0x56f4fe[_0x477d('0xc8e')]&&_0x56f4fe[_0x477d('0xc8e')][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x56f4fe[_0x477d('0x49a')]=_0x477d('0x2228');_0x56f4fe[_0x477d('0x1572')]=angular[_0x477d('0x6d9')](_0x3a4822);_0x56f4fe[_0x477d('0x2226')]=_0x1a23c4;_0x56f4fe[_0x477d('0x2229')]=![];if(!_0x56f4fe['customDashboard']){_0x56f4fe[_0x477d('0x1572')]={};_0x56f4fe[_0x477d('0x49a')]=_0x477d('0x222a');_0x56f4fe['newCustomDashboard']=!![];}_0x56f4fe[_0x477d('0x222b')]=_0x307dce;_0x56f4fe['saveCustomDashboard']=_0x48eade;_0x56f4fe[_0x477d('0x222c')]=_0x345aaf;_0x56f4fe[_0x477d('0xd6f')]=_0x4aa1bf;_0x56f4fe[_0x477d('0x6bf')]=_0x5760a3;function _0x307dce(){_0x56f4fe[_0x477d('0xd67')]=[];_0x4869ba[_0x477d('0xad2')][_0x477d('0xd70')](_0x56f4fe['customDashboard'])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x23ba60){_0x56f4fe[_0x477d('0x2226')]['unshift'](_0x23ba60[_0x477d('0xd71')]());_0x3d079e[_0x477d('0x485')]({'title':_0x477d('0x222d'),'msg':_0x56f4fe[_0x477d('0x1572')][_0x477d('0x94')]?_0x56f4fe[_0x477d('0x1572')]['name']+_0x477d('0xd73'):''});_0x5760a3(_0x23ba60);})[_0x477d('0xf8')](function(_0x2d7569){if(_0x2d7569['data']&&_0x2d7569[_0x477d('0x451')][_0x477d('0xd67')]&&_0x2d7569[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x56f4fe[_0x477d('0xd67')]=_0x2d7569[_0x477d('0x451')]['errors']||[{'message':_0x2d7569['toString'](),'type':_0x477d('0x222e')}];for(var _0x2fcb5c=0x0;_0x2fcb5c<_0x2d7569[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x2fcb5c+=0x1){_0x3d079e[_0x477d('0x44a')]({'title':_0x2d7569[_0x477d('0x451')][_0x477d('0xd67')][_0x2fcb5c][_0x477d('0x439')],'msg':_0x2d7569[_0x477d('0x451')][_0x477d('0xd67')][_0x2fcb5c][_0x477d('0x452')]});}}else{_0x3d079e['error']({'title':_0x2d7569[_0x477d('0x3c3')]?'API:'+_0x2d7569[_0x477d('0x3c3')]+'\x20-\x20'+_0x2d7569['statusText']:_0x477d('0x222e'),'msg':_0x2d7569[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x2d7569[_0x477d('0x451')][_0x477d('0x452')]):_0x2d7569['toString']()});}});}function _0x48eade(){_0x56f4fe[_0x477d('0xd67')]=[];_0x4869ba[_0x477d('0xad2')]['update']({'id':_0x56f4fe[_0x477d('0x1572')]['id']},_0x56f4fe[_0x477d('0x1572')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0xae7d6f){var _0x1deff1=_[_0x477d('0x10a')](_0x56f4fe[_0x477d('0x2226')],{'id':_0xae7d6f['id']});if(_0x1deff1){_['merge'](_0x1deff1,_[_0x477d('0x10b')](_0xae7d6f[_0x477d('0xd71')](),_[_0x477d('0x7f')](_0x1deff1)));}_0x3d079e['success']({'title':_0x477d('0x222f'),'msg':_0x56f4fe[_0x477d('0x1572')][_0x477d('0x94')]?_0x56f4fe[_0x477d('0x1572')][_0x477d('0x94')]+_0x477d('0xd76'):''});_0x5760a3(_0xae7d6f);})[_0x477d('0xf8')](function(_0x1db13a){if(_0x1db13a[_0x477d('0x451')]&&_0x1db13a[_0x477d('0x451')][_0x477d('0xd67')]&&_0x1db13a['data'][_0x477d('0xd67')][_0x477d('0x79')]){_0x56f4fe[_0x477d('0xd67')]=_0x1db13a[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x1db13a[_0x477d('0x453')](),'type':_0x477d('0x2230')}];for(var _0x52e80b=0x0;_0x52e80b<_0x1db13a[_0x477d('0x451')]['errors']['length'];_0x52e80b++){_0x3d079e[_0x477d('0x44a')]({'title':_0x1db13a['data'][_0x477d('0xd67')][_0x52e80b][_0x477d('0x439')],'msg':_0x1db13a[_0x477d('0x451')][_0x477d('0xd67')][_0x52e80b][_0x477d('0x452')]});}}else{_0x3d079e['error']({'title':_0x1db13a[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x1db13a[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x1db13a[_0x477d('0x44d')]:_0x477d('0x2230'),'msg':_0x1db13a[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x1db13a['data'][_0x477d('0x452')]):_0x1db13a[_0x477d('0x453')]()});}});}function _0x345aaf(_0x9941e0){_0x56f4fe['errors']=[];var _0x2755fe=_0x15cb30[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xd79'))[_0x477d('0xdaf')]('The\x20customDashboard\x20will\x20be\x20deleted.')[_0x477d('0x687')](_0x477d('0x2231'))['ok'](_0x477d('0xd7b'))[_0x477d('0x4f0')](_0x477d('0x688'))[_0x477d('0xd7c')](_0x9941e0);_0x15cb30[_0x477d('0x395')](_0x2755fe)['then'](function(){_0x4869ba[_0x477d('0xad2')]['delete']({'id':_0x56f4fe['customDashboard']['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_['remove'](_0x56f4fe[_0x477d('0x2226')],{'id':_0x56f4fe[_0x477d('0x1572')]['id']});_0x3d079e['success']({'title':'CustomDashboard\x20properly\x20deleted!','msg':(_0x56f4fe[_0x477d('0x1572')]['name']||_0x477d('0x1572'))+'\x20has\x20been\x20deleted!'});_0x5760a3(_0x56f4fe[_0x477d('0x1572')]);})[_0x477d('0xf8')](function(_0x51286e){if(_0x51286e[_0x477d('0x451')]&&_0x51286e[_0x477d('0x451')]['errors']&&_0x51286e[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x56f4fe[_0x477d('0xd67')]=_0x51286e[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x51286e[_0x477d('0x453')](),'type':'api.dashboard.delete'}];for(var _0x11a4b9=0x0;_0x11a4b9<_0x51286e[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x11a4b9++){_0x3d079e[_0x477d('0x44a')]({'title':_0x51286e[_0x477d('0x451')]['errors'][_0x11a4b9][_0x477d('0x439')],'msg':_0x51286e[_0x477d('0x451')][_0x477d('0xd67')][_0x11a4b9][_0x477d('0x452')]});}}else{_0x3d079e[_0x477d('0x44a')]({'title':_0x51286e['status']?_0x477d('0x44b')+_0x51286e[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x51286e['statusText']:_0x477d('0x2232'),'msg':_0x51286e['data']?JSON[_0x477d('0x3fb')](_0x51286e['data']['message']):_0x51286e[_0x477d('0x452')]||_0x51286e[_0x477d('0x453')]()});}});},function(){});}function _0x4aa1bf(_0x43f946){return _0x43f946===null?undefined:new Date(_0x43f946);}function _0x5760a3(_0xf9400f){_0x15cb30['hide'](_0xf9400f);}}}());(function(){'use strict';_0x5e6b0d[_0x477d('0xa')]=[_0x477d('0x474'),'$window',_0x477d('0x3c4'),_0x477d('0x554'),_0x477d('0x384'),'$document',_0x477d('0x3fe'),_0x477d('0x40d'),_0x477d('0x2226'),_0x477d('0x3a5'),'userProfileSection',_0x477d('0x386'),_0x477d('0x342'),_0x477d('0x40e'),_0x477d('0x55'),_0x477d('0x613'),'setting'];angular[_0x477d('0xb')](_0x477d('0x35'))[_0x477d('0x3ba')]('CustomDashboardsController',_0x5e6b0d);function _0x5e6b0d(_0x24efe9,_0x2f6910,_0x457a44,_0x5bca68,_0x424738,_0x1f69a8,_0x3a36f9,_0x43cc7f,_0x33a412,_0xbcede5,_0x47db40,_0x50f264,_0xd5f103,_0x4f7bc9,_0x2c21bf,_0x1123bb,_0x18417c){var _0x3b2517=this;_0x3b2517[_0x477d('0x613')]=_0x1123bb;_0x3b2517[_0x477d('0xc8e')]=_0x18417c;_0x3b2517[_0x477d('0x3e5')]=_0x2c21bf[_0x477d('0x5c')]();_0x3b2517[_0x477d('0x2226')]=_0x33a412||{'count':0x0,'rows':[]};_0x3b2517['userProfile']=_0xbcede5;_0x3b2517[_0x477d('0x3ac')]=_0x47db40&&_0x47db40[_0x477d('0x3bb')]==0x1?_0x47db40[_0x477d('0xf2')][0x0]:null;_0x3b2517[_0x477d('0xd66')]=_0x2c21bf[_0x477d('0xd81')](_0x3b2517['userProfileSection']?_0x3b2517[_0x477d('0x3ac')][_0x477d('0xd66')]:null);_0x3b2517[_0x477d('0xd82')]=_0x477d('0x2226');_0x3b2517[_0x477d('0xd83')]='';_0x3b2517['listOrderAsc']=null;_0x3b2517[_0x477d('0x2233')]=[];_0x3b2517[_0x477d('0x3ef')]={'fields':'createdAt,updatedAt,id,name,description','sort':_0x477d('0x59'),'limit':0xa,'page':0x1};_0x3b2517['editstate']=_0x26133b;_0x3b2517[_0x477d('0x1c67')]=_0x415efc;_0x3b2517[_0x477d('0x2234')]=_0x520cc9;_0x3b2517[_0x477d('0xd88')]=_0x30d23f;_0x3b2517[_0x477d('0x485')]=_0x1a0e39;_0x3b2517[_0x477d('0x2235')]=_0x9814a0;_0x3b2517[_0x477d('0x2236')]=_0x985592;_0x3b2517[_0x477d('0x222c')]=_0x5985a8;_0x3b2517['exportSelectedCustomDashboards']=_0x5e8450;_0x3b2517['deleteSelectedCustomDashboards']=_0x676560;_0x3b2517[_0x477d('0x2237')]=_0x3fc157;_0x3b2517[_0x477d('0x2238')]=_0x2aa644;function _0x26133b(_0x41d600,_0x2a137e){_0x457a44['go'](_0x477d('0x2b7'),{'id':_0x41d600['id'],'customDashboard':_0x41d600,'crudPermissions':_0x3b2517[_0x477d('0xd66')]});}function _0x415efc(_0x57af21,_0x4d8107){_0x424738[_0x477d('0x395')]({'controller':'CustomDashboardcloneController','controllerAs':'vm','templateUrl':_0x477d('0x2239'),'parent':angular[_0x477d('0x398')](_0x1f69a8[_0x477d('0x399')]),'targetEvent':_0x4d8107,'clickOutsideToClose':!![],'locals':{'customDashboard':_0x57af21,'customDashboards':_0x3b2517['customDashboards']?_0x3b2517[_0x477d('0x2226')][_0x477d('0xf2')]:[],'crudPermissions':_0x3b2517['crudPermissions']}});}function _0x520cc9(_0x36026f,_0x22fc16){_0x457a44['go']('app.dashboards.custom',{'id':_0x36026f['id']});}function _0x30d23f(_0x1edadd,_0x140c87){var _0x34f513=_0x424738[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xd90')+_[_0x477d('0xd91')]('customDashboard')+'?')[_0x477d('0xd92')](_0x477d('0xd93')+(_0x1edadd['name']||_0x477d('0x1572'))+_0x477d('0xd94')+'\x20will\x20be\x20deleted.')['ariaLabel']('delete\x20customDashboard')[_0x477d('0xd7c')](_0x140c87)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x424738['show'](_0x34f513)['then'](function(){_0x5985a8(_0x1edadd);},function(){console[_0x477d('0x7b')](_0x477d('0xd97'));});}var _0x14ca1d=!![];var _0x32483d=0x1;_0x24efe9[_0x477d('0x4b5')](_0x477d('0xd98'),function(_0x24c6eb,_0x4bf52d){if(_0x14ca1d){_0x3a36f9(function(){_0x14ca1d=![];});}else{if(!_0x4bf52d){_0x32483d=_0x3b2517[_0x477d('0x3ef')]['page'];}if(_0x24c6eb!==_0x4bf52d){_0x3b2517[_0x477d('0x3ef')]['page']=0x1;}if(!_0x24c6eb){_0x3b2517['query'][_0x477d('0xe03')]=_0x32483d;}_0x3b2517[_0x477d('0x2235')]();}});function _0x1a0e39(_0x129e0e){_0x3b2517['customDashboards']=_0x129e0e||{'count':0x0,'rows':[]};}function _0x9814a0(){_0x3b2517[_0x477d('0x3ef')][_0x477d('0x91c')]=(_0x3b2517['query'][_0x477d('0xe03')]-0x1)*_0x3b2517[_0x477d('0x3ef')]['limit'];if(_0x2c21bf['hasRole'](_0x477d('0x5f'))){_0x3b2517[_0x477d('0x553')]=_0x50f264[_0x477d('0xad2')]['get'](_0x3b2517['query'],_0x1a0e39)['$promise'];}else{_0x3b2517[_0x477d('0x3ef')]['id']=_0x3b2517[_0x477d('0x3a5')]['id'];_0x3b2517[_0x477d('0x3ef')][_0x477d('0xd99')]=_0x477d('0x2b6');_0x3b2517[_0x477d('0x553')]=_0x50f264[_0x477d('0x3a5')]['getResources'](_0x3b2517[_0x477d('0x3ef')],_0x1a0e39)[_0x477d('0x38b')];}}function _0x985592(_0xfde9de,_0x33be15){_0x424738[_0x477d('0x395')]({'controller':'CreateOrEditCustomDashboardDialogController','controllerAs':'vm','templateUrl':_0x477d('0x223a'),'parent':angular[_0x477d('0x398')](_0x1f69a8[_0x477d('0x399')]),'targetEvent':_0xfde9de,'clickOutsideToClose':!![],'locals':{'customDashboard':_0x33be15,'customDashboards':_0x3b2517[_0x477d('0x2226')][_0x477d('0xf2')],'license':_0x3b2517[_0x477d('0x613')],'setting':_0x3b2517['setting'],'crudPermissions':_0x3b2517[_0x477d('0xd66')]}});}function _0x5985a8(_0x4005ab){_0x50f264[_0x477d('0xad2')][_0x477d('0xa55')]({'id':_0x4005ab['id']})['$promise'][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x3b2517['customDashboards'][_0x477d('0xf2')],{'id':_0x4005ab['id']});_0x3b2517[_0x477d('0x2226')][_0x477d('0x3bb')]-=0x1;if(!_0x3b2517[_0x477d('0x2226')][_0x477d('0xf2')][_0x477d('0x79')]){_0x3b2517[_0x477d('0x2235')]();}_0x4f7bc9[_0x477d('0x485')]({'title':_[_0x477d('0xd91')]('CustomDashboard')+_0x477d('0xd9d'),'msg':_0x4005ab[_0x477d('0x94')]?_0x4005ab[_0x477d('0x94')]+_0x477d('0xd7e'):''});})['catch'](function(_0x4dfc6a){if(_0x4dfc6a[_0x477d('0x451')]&&_0x4dfc6a[_0x477d('0x451')]['errors']&&_0x4dfc6a[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x3b2517[_0x477d('0xd67')]=_0x4dfc6a[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x4dfc6a['toString'](),'type':_0x477d('0x223b')}];for(var _0xe1c120=0x0;_0xe1c120<_0x4dfc6a[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0xe1c120++){_0x4f7bc9[_0x477d('0x44a')]({'title':_0x4dfc6a[_0x477d('0x451')][_0x477d('0xd67')][_0xe1c120][_0x477d('0x439')],'msg':_0x4dfc6a[_0x477d('0x451')][_0x477d('0xd67')][_0xe1c120][_0x477d('0x452')]});}}else{_0x4f7bc9[_0x477d('0x44a')]({'title':_0x4dfc6a[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x4dfc6a[_0x477d('0x3c3')]+'\x20-\x20'+_0x4dfc6a[_0x477d('0x44d')]:_0x477d('0x223b'),'msg':_0x4dfc6a['data']?JSON[_0x477d('0x3fb')](_0x4dfc6a[_0x477d('0x451')]['message']):_0x4dfc6a[_0x477d('0x452')]||_0x4dfc6a[_0x477d('0x453')]()});}});}function _0x5e8450(){var _0x173bb4=angular[_0x477d('0x6d9')](_0x3b2517[_0x477d('0x2233')]);_0x3b2517['selectedCustomDashboards']=[];return _0x173bb4;}function _0x676560(_0x558cee){var _0x262c6d=_0x424738[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x223c'))[_0x477d('0xd92')](_0x477d('0xd93')+_0x3b2517[_0x477d('0x2233')]['length']+_0x477d('0xda0')+_0x477d('0xd95'))[_0x477d('0x687')]('delete\x20CustomDashboards')[_0x477d('0xd7c')](_0x558cee)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x424738['show'](_0x262c6d)[_0x477d('0x76')](function(){_0x3b2517[_0x477d('0x2233')]['forEach'](function(_0x4cd815){_0x5985a8(_0x4cd815);});_0x3b2517[_0x477d('0x2233')]=[];});}function _0x3fc157(){_0x3b2517[_0x477d('0x2233')]=[];}function _0x2aa644(){_0x3b2517[_0x477d('0x2233')]=_0x3b2517[_0x477d('0x2226')][_0x477d('0xf2')];}}}());(function(){'use strict';_0x400b2c['$inject']=[_0x477d('0x384'),'$state',_0x477d('0x40e'),_0x477d('0x386'),'customDashboard','customDashboards',_0x477d('0x40d')];angular[_0x477d('0xb')](_0x477d('0x35'))[_0x477d('0x3ba')](_0x477d('0x223d'),_0x400b2c);function _0x400b2c(_0x32d035,_0x286c4f,_0x528c40,_0xf5701f,_0xd5dc94,_0x4bd28f,_0x42b383){var _0x173a70=this;_0x173a70[_0x477d('0x2229')]=!![];_0x173a70[_0x477d('0x1572')]=angular[_0x477d('0x6d9')](_0xd5dc94);_0x173a70[_0x477d('0x2226')]=_0x4bd28f;_0x173a70[_0x477d('0x49a')]=_0x42b383[_0x477d('0x45f')](_0x477d('0x223e'));if(_0xd5dc94&&_0xd5dc94[_0x477d('0x94')]){_0x173a70['title']+=':\x20'+_0xd5dc94['name'];}_0x173a70[_0x477d('0x223f')]=_0x146397;_0x173a70['closeDialog']=_0x3b04b2;function _0x146397(){return _0xf5701f[_0x477d('0xad2')][_0x477d('0x117f')]({'id':_0xd5dc94['id'],'includeAll':!![]},_0x173a70[_0x477d('0x1572')])[_0x477d('0x38b')]['then'](function(_0x47eb10){_0x173a70[_0x477d('0x2226')]['unshift'](_0x47eb10['toJSON']());_0x528c40['success']({'title':_0x477d('0x2240'),'msg':_0x173a70[_0x477d('0x1572')][_0x477d('0x94')]?_0x173a70['customDashboard'][_0x477d('0x94')]+_0x477d('0x1da3'):''});_0x286c4f['go']('app.tools.customDashboards.edit',{'id':_0x47eb10['id']});_0x3b04b2(_0x47eb10);})[_0x477d('0xf8')](function(_0x401c50){if(_0x401c50['data']&&_0x401c50[_0x477d('0x451')]['errors']&&_0x401c50[_0x477d('0x451')][_0x477d('0xd67')]['length']){_0x173a70[_0x477d('0xd67')]=_0x401c50[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x401c50['toString'](),'type':_0x477d('0x2241')}];for(var _0x509cff=0x0;_0x509cff<_0x401c50[_0x477d('0x451')]['errors'][_0x477d('0x79')];_0x509cff+=0x1){_0x528c40[_0x477d('0x44a')]({'title':_0x401c50[_0x477d('0x451')][_0x477d('0xd67')][_0x509cff][_0x477d('0x439')],'msg':_0x401c50['data'][_0x477d('0xd67')][_0x509cff][_0x477d('0x452')]});}}else{_0x528c40[_0x477d('0x44a')]({'title':_0x401c50['status']?_0x477d('0x44b')+_0x401c50[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x401c50[_0x477d('0x44d')]:_0x477d('0x2241'),'msg':_0x401c50[_0x477d('0x451')]?JSON['stringify'](_0x401c50[_0x477d('0x451')][_0x477d('0x452')]):_0x401c50[_0x477d('0x453')]()});}});}function _0x3b04b2(_0x5b0dab){_0x32d035[_0x477d('0x3bc')](_0x5b0dab);}}}());(function(){'use strict';_0x5e8152[_0x477d('0xa')]=[_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x5a3'),_0x477d('0x40e'),'api'];angular[_0x477d('0xb')](_0x477d('0x35'))[_0x477d('0x3ba')](_0x477d('0x2242'),_0x5e8152);function _0x5e8152(_0x58b563,_0x1d7b0e,_0x1efa3a,_0x5426f4,_0x436e0f){var _0x4faf7b=this;_0x4faf7b['customDashboard']={};_0x4faf7b['voiceQueues']=_0x436e0f['rpc'][_0x477d('0x16ae')]({'fields':_0x477d('0x9c')});_0x4faf7b['init']=_0xb94672;_0x4faf7b[_0x477d('0x2243')]=_0x4990c7;_0x4faf7b[_0x477d('0x2244')]=_0x36ea84;function _0xb94672(_0x3a8d59,_0x1e6d05){_0x4faf7b[_0x477d('0xd66')]=typeof _0x1e6d05!==_0x477d('0x4a4')?_0x1e6d05:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x4faf7b[_0x477d('0x1572')]=_0x3a8d59;_0x4faf7b['customDashboard'][_0x477d('0x2245')]={'enabled':!![],'handle':_0x477d('0x2246'),'stop':_0x145118};_0x4faf7b[_0x477d('0x1572')][_0x477d('0x1574')]={'enabled':!![],'handle':_0x477d('0x2247'),'stop':_0x145118};_0x4faf7b[_0x477d('0x1572')][_0x477d('0x1573')]=[];return _0x436e0f[_0x477d('0xad2')][_0x477d('0x1575')]({'id':_0x3a8d59['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x102273){if(_0x102273&&_0x102273[_0x477d('0x3bb')]&&_0x102273[_0x477d('0xf2')]){for(var _0x185d24=0x0;_0x185d24<_0x102273[_0x477d('0xf2')][_0x477d('0x79')];_0x185d24+=0x1){_0x102273[_0x477d('0xf2')][_0x185d24]['voiceQueues']=_0x4faf7b[_0x477d('0x8f9')];_0x102273[_0x477d('0xf2')][_0x185d24][_0x477d('0x8f8')]=_[_0x477d('0x3cb')](_0x4faf7b[_0x477d('0x8f9')]['rows'],'id');_0x102273[_0x477d('0xf2')][_0x185d24][_0x477d('0x1576')]='app/core/directives/ms-widget-engine/ms-widget-engine-'+_0x102273[_0x477d('0xf2')][_0x185d24]['type']+_0x477d('0x2248')+_0x102273[_0x477d('0xf2')][_0x185d24][_0x477d('0x439')]+_0x477d('0x1577');_0x4faf7b[_0x477d('0x1572')][_0x477d('0x1573')]['push'](_0x102273['rows'][_0x185d24]);}}})[_0x477d('0xf8')](function(_0x2edbc9){console[_0x477d('0x44a')](_0x2edbc9);});}function _0x4990c7(_0x4bdf8a){if(_0x4bdf8a&&_0x4bdf8a[_0x477d('0x8f5')]){for(var _0x13bfef=0x0;_0x13bfef<_0x4bdf8a['attrs'][_0x477d('0x79')];_0x13bfef+=0x1){if(_0x4bdf8a[_0x477d('0x8f5')][_0x13bfef][_0x477d('0x94')]===_0x477d('0x2249')){_0x4bdf8a[_0x477d('0x21a7')]=_0x4bdf8a[_0x477d('0x8f5')][_0x13bfef][_0x477d('0x439')];}_0x4bdf8a[_0x4bdf8a[_0x477d('0x8f5')][_0x13bfef]['name']]=_0x4bdf8a[_0x477d('0x8f5')][_0x13bfef][_0x477d('0x3b6')];}}_0x58b563[_0x477d('0x395')]({'controller':_0x477d('0x224a'),'controllerAs':'vm','templateUrl':_0x477d('0x224b'),'parent':angular['element'](_0x1d7b0e[_0x477d('0x399')]),'clickOutsideToClose':!![],'locals':{'dashboarditem':_0x4bdf8a,'dashboard':_0x4faf7b[_0x477d('0x1572')][_0x477d('0x1573')],'license':null,'setting':null,'crudPermissions':_0x4faf7b[_0x477d('0xd66')]}})[_0x477d('0x76')](function(_0xed8c1c){if(_0xed8c1c){for(var _0x217f32=0x0;_0x217f32<_0x4faf7b[_0x477d('0x1572')][_0x477d('0x1573')][_0x477d('0x79')];_0x217f32+=0x1){if(_0x4faf7b[_0x477d('0x1572')][_0x477d('0x1573')][_0x217f32]['id']===_0xed8c1c['id']){_0x4faf7b[_0x477d('0x1572')][_0x477d('0x1573')][_0x217f32][_0x477d('0x8f5')]=_0xed8c1c[_0x477d('0x8f5')];_0x4faf7b[_0x477d('0x1572')][_0x477d('0x1573')][_0x217f32][_0x477d('0x8f9')]=_0x4faf7b[_0x477d('0x8f9')];_0x4faf7b['customDashboard']['widgets'][_0x217f32][_0x477d('0x8f8')]=_[_0x477d('0x3cb')](_0x4faf7b[_0x477d('0x8f9')][_0x477d('0xf2')],'id');_0x4faf7b[_0x477d('0x1572')][_0x477d('0x1573')][_0x217f32][_0x477d('0x1576')]=_0x477d('0x224c')+_0x4faf7b[_0x477d('0x1572')][_0x477d('0x1573')][_0x217f32][_0x477d('0x439')]+_0x477d('0x2248')+_0x4faf7b[_0x477d('0x1572')][_0x477d('0x1573')][_0x217f32][_0x477d('0x439')]+_0x477d('0x1577');}}}});}function _0x36ea84(_0x49b11b){var _0x52a5c5=_0x58b563['confirm']()['title'](_0x477d('0x224d')+_0x49b11b[_0x477d('0x49a')]+'?')[_0x477d('0x68e')]('')[_0x477d('0x687')]('Delete\x20Widget')['ok'](_0x477d('0x159f'))[_0x477d('0x4f0')]('NO');_0x58b563[_0x477d('0x395')](_0x52a5c5)[_0x477d('0x76')](function(){return _0x436e0f[_0x477d('0xad7')][_0x477d('0xa55')]({'id':_0x49b11b['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x424e9e){_[_0x477d('0x39c')](_0x4faf7b[_0x477d('0x1572')][_0x477d('0x1573')],{'id':_0x49b11b['id']});_0x5426f4[_0x477d('0x485')]({'title':_0x477d('0x224e'),'msg':_0x49b11b[_0x477d('0x94')]?_0x49b11b[_0x477d('0x94')]+'\x20has\x20been\x20deleted!':_0x477d('0x224f')});})[_0x477d('0xf8')](function(_0x1b4904){if(_0x1b4904['data']&&_0x1b4904[_0x477d('0x451')]['errors']&&_0x1b4904[_0x477d('0x451')]['errors'][_0x477d('0x79')]){_0x4faf7b['errors']=_0x1b4904['data'][_0x477d('0xd67')]||[{'message':_0x1b4904[_0x477d('0x453')](),'type':_0x477d('0x2250')}];for(var _0x5575dd=0x0;_0x5575dd<_0x1b4904[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x5575dd++){_0x5426f4['error']({'title':_0x1b4904[_0x477d('0x451')]['errors'][_0x5575dd][_0x477d('0x439')],'msg':_0x1b4904[_0x477d('0x451')]['errors'][_0x5575dd][_0x477d('0x452')]});}}else{_0x5426f4['error']({'title':_0x1b4904[_0x477d('0x3c3')]?'API:'+_0x1b4904[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x1b4904[_0x477d('0x44d')]:_0x477d('0x223b'),'msg':_0x1b4904['data']?JSON[_0x477d('0x3fb')](_0x1b4904[_0x477d('0x451')]['message']):_0x1b4904['message']||_0x1b4904[_0x477d('0x453')]()});}console[_0x477d('0x44a')](_0x1b4904);});});}function _0x145118(_0x84f4b6,_0x4fdb69,_0x23bb58){return _0x436e0f[_0x477d('0xad7')][_0x477d('0x710')](_0x23bb58)['$promise'][_0x477d('0xf8')](function(_0x31c983){console[_0x477d('0x44a')](_0x31c983);});}}}());(function(){'use strict';_0x19a179[_0x477d('0xa')]=[_0x477d('0x474'),'$state','$location',_0x477d('0x384'),'$q','$translate',_0x477d('0x40e'),_0x477d('0xad2'),_0x477d('0x2251'),_0x477d('0x386'),_0x477d('0x55'),_0x477d('0x613'),_0x477d('0xc8e'),_0x477d('0xd66')];angular[_0x477d('0xb')]('app.tools')[_0x477d('0x3ba')](_0x477d('0x224a'),_0x19a179);function _0x19a179(_0x157999,_0x4a90b0,_0x2c6125,_0x58b5e9,_0x335814,_0x54231d,_0x392b1d,_0x759b89,_0x4d955a,_0x76a2b9,_0x5f0d22,_0x409577,_0x424298,_0x2dedca){var _0x3b3246=this;_0x3b3246[_0x477d('0x3e5')]=_0x5f0d22['getCurrentUser']();_0x3b3246['errors']=[];_0x3b3246[_0x477d('0xc8e')]=_0x424298;_0x3b3246['license']=_0x409577;_0x3b3246['crudPermissions']=_0x2dedca;_0x3b3246[_0x477d('0xd68')]={};_0x3b3246[_0x477d('0xd69')]=_0x3b3246[_0x477d('0xc8e')]&&_0x3b3246[_0x477d('0xc8e')][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x3b3246['title']=_0x477d('0x2252');_0x3b3246['dashboarditem']=angular[_0x477d('0x6d9')](_0x4d955a);_0x3b3246['dashboard']=_0x759b89;_0x3b3246[_0x477d('0x2253')]=![];_0x3b3246['selectedReport']=[];_0x3b3246['query']={'fields':_0x477d('0x2254'),'limit':0xa,'page':0x1,'sort':_0x477d('0x59')};if(!_0x3b3246[_0x477d('0x2251')]){_0x3b3246[_0x477d('0x2251')]={'type':'counter','attrUrl':_0x477d('0x2255'),'attrHourFormat':_0x477d('0x1ef1'),'attrTimezone':_0x477d('0x2256'),'attrMetric':_0x477d('0x10d'),'attrSerie1':_0x477d('0x10d'),'attrSerie2':_0x477d('0xea'),'attrSerie3':_0x477d('0xea'),'attrRefresh':0xa,'attrFontSize':0x14,'foreground':_0x477d('0x8fd'),'background':_0x477d('0x2257')};_0x3b3246[_0x477d('0x49a')]=_0x477d('0x2258');_0x3b3246[_0x477d('0x2253')]=!![];}else{if(_0x3b3246[_0x477d('0x2251')]['type']=='web-report'){_0x3b3246['apiName']=_0x3b3246[_0x477d('0x2251')][_0x477d('0x21a7')]===_0x477d('0x9f6')?_0x477d('0x919'):_0x477d('0x918');_0x76a2b9[_0x3b3246[_0x477d('0xe15')]][_0x477d('0x376')]({'fields':_0x477d('0x2259')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x15f4e9){_0x3b3246['currentReport']=_[_0x477d('0x10a')](_0x15f4e9['rows'],{'id':_0x3b3246[_0x477d('0x2251')][_0x477d('0x2249')]});_0x3b3246['dashboarditem'][_0x477d('0xe06')]=_0x3b3246[_0x477d('0x225a')]['name'];_0x3b3246[_0x477d('0x3ef')][_0x477d('0x374')]=_0x3b3246[_0x477d('0x225a')][_0x477d('0x374')];});}}_0x3b3246['addNewDashboardItem']=_0x11a5c7;_0x3b3246['saveDashboardItem']=_0x53b6ab;_0x3b3246['deleteDashboardItem']=_0x24d139;_0x3b3246[_0x477d('0xd6f')]=_0x5aa8ba;_0x3b3246[_0x477d('0xebe')]=_0x389d2c;_0x3b3246[_0x477d('0x225b')]=_0x3e14dd;_0x3b3246[_0x477d('0x225c')]=_0x351e68;_0x3b3246['searchReport']=_0x35b93c;_0x3b3246[_0x477d('0x6bf')]=_0x6b28c0;_0x76a2b9[_0x477d('0xbda')][_0x477d('0x376')]({})['$promise'][_0x477d('0x76')](function(_0x44f8c0){_0x3b3246[_0x477d('0xea2')]=_0x44f8c0[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x499ce0){_0x392b1d[_0x477d('0x44a')]({'title':_0x499ce0[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x499ce0[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x499ce0[_0x477d('0x44d')]:_0x477d('0x225d'),'msg':_0x499ce0[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x499ce0[_0x477d('0x451')]):_0x499ce0['toString']()});});var _0x15cf79=[{'id':0x191,'type':_0x477d('0x9e')},{'id':0x5dd,'type':_0x477d('0x127')}];var _0x5850f9=null;_0x5f0d22['hasRole']('admin')?_0x76a2b9[_0x477d('0xa76')][_0x477d('0x376')]({'fields':_0x477d('0x12de'),'sort':_0x477d('0x94'),'nolimit':'true'})[_0x477d('0x38b')]['then'](function(_0x5610e9){_0x3b3246['voiceQueues']=_0x5610e9[_0x477d('0xf2')]||[];})['catch'](function(_0x1fce0c){_0x392b1d['error']({'title':_0x1fce0c['status']?_0x477d('0x44b')+_0x1fce0c['status']+'\x20-\x20'+_0x1fce0c[_0x477d('0x44d')]:_0x477d('0x225e'),'msg':_0x1fce0c[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x1fce0c['data']):_0x1fce0c[_0x477d('0x453')]()});}):_0x76a2b9[_0x477d('0xa76')][_0x477d('0x376')]({'fields':_0x477d('0x12de'),'sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x5e245a){_0x5850f9=_0x5e245a['rows']||[];})[_0x477d('0x76')](function(){var _0x16fe9c=[];for(var _0x442bbc=0x0;_0x442bbc<_0x15cf79[_0x477d('0x79')];_0x442bbc++){_0x16fe9c['push'](_0x76a2b9[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x3b3246['currentUser'][_0x477d('0x61')],'sectionId':_0x15cf79[_0x442bbc]['id']})[_0x477d('0x38b')]);}return _0x335814[_0x477d('0x7c')](_0x16fe9c);})['then'](function(_0x2393f3){var _0x181d1d=_['map'](_0x2393f3,function(_0x1e3eca){return _0x1e3eca&&_0x1e3eca[_0x477d('0xf2')]?_0x1e3eca['rows'][0x0]:null;});var _0x111226=[];for(var _0x94cea4=0x0;_0x94cea4<_0x15cf79[_0x477d('0x79')];_0x94cea4++){var _0x56f701=_[_0x477d('0x10a')](_0x181d1d,['sectionId',_0x15cf79[_0x94cea4]['id']]);if(_0x56f701){if(!_0x56f701['autoAssociation']){_0x111226[_0x477d('0x3a7')](_0x76a2b9[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x56f701['id']})['$promise']);}else{var _0x434ebf=[];_0x5850f9[_0x477d('0x3b1')](function(_0x249e92){if(_0x249e92['type']===_0x15cf79[_0x94cea4]['type']){_0x434ebf[_0x477d('0x3a7')](_0x249e92);}});_0x111226[_0x477d('0x3a7')]({'rows':_0x434ebf,'count':_0x434ebf[_0x477d('0x79')]});}}}return _0x335814['all'](_0x111226);})['then'](function(_0x38e60d){var _0x5d705c=[];var _0x27c43f=null;if(_0x3b3246[_0x477d('0x2251')]){_0x27c43f=_[_0x477d('0x10a')](_0x5850f9,{'id':Number(_0x3b3246[_0x477d('0x2251')][_0x477d('0x225f')])});}for(var _0x5ee86b=0x0;_0x5ee86b<_0x38e60d['length'];_0x5ee86b++){var _0x654fba=_0x38e60d[_0x5ee86b]['rows']||[];_0x654fba[_0x477d('0x3b1')](function(_0xa22f48){_0x5d705c[_0x477d('0x3a7')](_0xa22f48);});}if(_0x27c43f&&!_[_0x477d('0x3ab')](_0x5d705c,[_0x477d('0x3af'),_0x27c43f['id']])){_0x5850f9[_0x477d('0x3b1')](function(_0x1fa492){if(_0x1fa492['id']===_0x27c43f['id']){_0x1fa492[_0x477d('0xf8b')]=![];_0x5d705c[_0x477d('0x3a7')](_0x1fa492);}});}_0x3b3246[_0x477d('0x8f9')]=_0x5d705c;})[_0x477d('0xf8')](function(_0x5a9c92){_0x392b1d[_0x477d('0x44a')]({'title':_0x5a9c92['status']?_0x477d('0x44b')+_0x5a9c92['status']+_0x477d('0x44c')+_0x5a9c92[_0x477d('0x44d')]:_0x477d('0x2260'),'msg':_0x5a9c92[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x5a9c92['data']):_0x5a9c92[_0x477d('0x453')]()});});function _0x11a5c7(){_0x3b3246[_0x477d('0xd67')]=[];_0x76a2b9[_0x477d('0xad2')][_0x477d('0x14fc')]({'id':_0x4a90b0[_0x477d('0x37e')]['id']},_0x3b3246[_0x477d('0x2251')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0xc007cc){_0x3b3246['dashboard'][_0x477d('0x63b')](_0xc007cc[_0x477d('0xd71')]());_0x392b1d[_0x477d('0x485')]({'title':_0x477d('0x2261'),'msg':_0x3b3246[_0x477d('0x2251')][_0x477d('0x94')]?_0x3b3246[_0x477d('0x2251')][_0x477d('0x94')]+_0x477d('0xd73'):''});_0x6b28c0(_0xc007cc);})[_0x477d('0xf8')](function(_0xe8b5d6){if(_0xe8b5d6[_0x477d('0x451')]&&_0xe8b5d6[_0x477d('0x451')][_0x477d('0xd67')]&&_0xe8b5d6['data'][_0x477d('0xd67')][_0x477d('0x79')]){_0x3b3246[_0x477d('0xd67')]=_0xe8b5d6['data'][_0x477d('0xd67')]||[{'message':_0xe8b5d6[_0x477d('0x453')](),'type':_0x477d('0x2262')}];for(var _0x3e59e8=0x0;_0x3e59e8<_0xe8b5d6['data'][_0x477d('0xd67')]['length'];_0x3e59e8+=0x1){_0x392b1d[_0x477d('0x44a')]({'title':_0xe8b5d6['data'][_0x477d('0xd67')][_0x3e59e8][_0x477d('0x439')],'msg':_0xe8b5d6[_0x477d('0x451')]['errors'][_0x3e59e8]['message']});}}else{_0x392b1d[_0x477d('0x44a')]({'title':_0xe8b5d6[_0x477d('0x3c3')]?'API:'+_0xe8b5d6[_0x477d('0x3c3')]+'\x20-\x20'+_0xe8b5d6[_0x477d('0x44d')]:_0x477d('0x2262'),'msg':_0xe8b5d6[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0xe8b5d6[_0x477d('0x451')]['message']):_0xe8b5d6[_0x477d('0x453')]()});}});}function _0x53b6ab(){_0x3b3246[_0x477d('0xd67')]=[];_0x76a2b9[_0x477d('0xad7')][_0x477d('0x710')]({'id':_0x3b3246['dashboarditem']['id']},_0x3b3246[_0x477d('0x2251')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x4b0fcb){var _0x14b227=_[_0x477d('0x10a')](_0x3b3246[_0x477d('0xad2')],{'id':_0x4b0fcb['id']});if(_0x14b227){_[_0x477d('0xef')](_0x14b227,_[_0x477d('0x10b')](_0x4b0fcb['toJSON'](),_[_0x477d('0x7f')](_0x14b227)));}_0x392b1d[_0x477d('0x485')]({'title':_0x477d('0x2263'),'msg':_0x3b3246[_0x477d('0x2251')][_0x477d('0x94')]?_0x3b3246[_0x477d('0x2251')][_0x477d('0x94')]+_0x477d('0xd76'):''});_0x6b28c0(_0x4b0fcb);})[_0x477d('0xf8')](function(_0x586f25){if(_0x586f25[_0x477d('0x451')]&&_0x586f25['data'][_0x477d('0xd67')]&&_0x586f25[_0x477d('0x451')]['errors'][_0x477d('0x79')]){_0x3b3246[_0x477d('0xd67')]=_0x586f25[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x586f25['toString'](),'type':_0x477d('0x2264')}];for(var _0x9eae08=0x0;_0x9eae08<_0x586f25[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x9eae08++){_0x392b1d[_0x477d('0x44a')]({'title':_0x586f25[_0x477d('0x451')][_0x477d('0xd67')][_0x9eae08][_0x477d('0x439')],'msg':_0x586f25[_0x477d('0x451')]['errors'][_0x9eae08][_0x477d('0x452')]});}}else{_0x392b1d[_0x477d('0x44a')]({'title':_0x586f25['status']?_0x477d('0x44b')+_0x586f25[_0x477d('0x3c3')]+'\x20-\x20'+_0x586f25[_0x477d('0x44d')]:'api.dashboardItem.update','msg':_0x586f25[_0x477d('0x451')]?JSON['stringify'](_0x586f25['data'][_0x477d('0x452')]):_0x586f25[_0x477d('0x453')]()});}});}function _0x24d139(_0x1bf712){_0x3b3246[_0x477d('0xd67')]=[];var _0x2dc716=_0x58b5e9['confirm']()[_0x477d('0x49a')](_0x477d('0xd79'))['content'](_0x477d('0x2265'))[_0x477d('0x687')](_0x477d('0x2266'))['ok'](_0x477d('0xd7b'))[_0x477d('0x4f0')](_0x477d('0x688'))[_0x477d('0xd7c')](_0x1bf712);_0x58b5e9[_0x477d('0x395')](_0x2dc716)[_0x477d('0x76')](function(){_0x76a2b9[_0x477d('0xad7')][_0x477d('0xa55')]({'id':_0x3b3246['dashboarditem']['id']})['$promise']['then'](function(){_[_0x477d('0x39c')](_0x3b3246[_0x477d('0xad2')],{'id':_0x3b3246[_0x477d('0x2251')]['id']});_0x392b1d[_0x477d('0x485')]({'title':'DashboardItem\x20properly\x20deleted!','msg':(_0x3b3246['dashboarditem']['name']||_0x477d('0x2251'))+_0x477d('0xd7e')});_0x6b28c0(_0x3b3246[_0x477d('0x2251')]);})[_0x477d('0xf8')](function(_0x1087fd){if(_0x1087fd['data']&&_0x1087fd[_0x477d('0x451')][_0x477d('0xd67')]&&_0x1087fd[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x3b3246['errors']=_0x1087fd[_0x477d('0x451')]['errors']||[{'message':_0x1087fd[_0x477d('0x453')](),'type':_0x477d('0x2267')}];for(var _0x50ac1e=0x0;_0x50ac1e<_0x1087fd[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x50ac1e++){_0x392b1d[_0x477d('0x44a')]({'title':_0x1087fd[_0x477d('0x451')]['errors'][_0x50ac1e][_0x477d('0x439')],'msg':_0x1087fd[_0x477d('0x451')][_0x477d('0xd67')][_0x50ac1e][_0x477d('0x452')]});}}else{_0x392b1d[_0x477d('0x44a')]({'title':_0x1087fd[_0x477d('0x3c3')]?'API:'+_0x1087fd[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x1087fd['statusText']:'api.dashboardItem.delete','msg':_0x1087fd[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x1087fd[_0x477d('0x451')]['message']):_0x1087fd[_0x477d('0x452')]||_0x1087fd[_0x477d('0x453')]()});}});},function(){});}function _0x478643(){var _0x43113e={'core':{'multiple':![],'animation':!![],'error':function(_0xc329f6){console[_0x477d('0x44a')](_0x477d('0xe0b')+angular[_0x477d('0x56c')](_0xc329f6));},'check_callback':!![],'worker':!![]},'version':0x1,'plugins':[_0x477d('0xeda')]};if(_0x3b3246[_0x477d('0x3e5')][_0x477d('0x3a1')]!==_0x477d('0x5f')){return _0x76a2b9['userProfileSection'][_0x477d('0x376')]({'fields':'id,name,enabled,includeAll,autoAssociation,crudPermissions','userProfileId':_0x3b3246[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x4b3})['$promise'][_0x477d('0x76')](function(_0x41a855){_0x3b3246[_0x477d('0x3ac')]=_0x41a855&&_0x41a855[_0x477d('0x3bb')]==0x1?_0x41a855[_0x477d('0xf2')][0x0]:null;return _0x43113e;})['catch'](function(_0x21ee59){_0x392b1d['error']({'title':_0x477d('0x16a5'),'msg':_0x21ee59[_0x477d('0x452')]});});}else{return _0x43113e;}}function _0x1ce733(_0xbec00a){return _0xbec00a?{'loaded':_0x5f0d33,'select_node':_0x3e1dde}:{'loaded':_0x242446,'select_node':_0x5c8803};}function _0x3e1dde(_0xa48eba,_0x1b69a0){_0x3b3246['treeDefaultInstance'][_0x477d('0xeb0')](!![])[_0x477d('0xed4')]();_0x3b3246[_0x477d('0xec0')]['jstree'](!![])[_0x477d('0xed5')]();_0x3b3246['currentNode']=_0x1b69a0[_0x477d('0x584')];_0x3b3246[_0x477d('0xe0f')]['custom']=!![];_0x3b3246[_0x477d('0xeb4')]=_0x3b3246['treeCustomInstance'][_0x477d('0xeb0')](!![])[_0x477d('0xed3')](_0x3b3246[_0x477d('0xe0f')])[_0x477d('0x3f6')]('/\x20');_0x3b3246[_0x477d('0xe15')]=_0x477d('0x919');_0x3b3246['query'][_0x477d('0x374')]=_0x1b69a0[_0x477d('0x584')]['id'];_0x389d2c();}function _0x5c8803(_0x5f3607,_0x3644de){_0x3b3246[_0x477d('0xec1')][_0x477d('0xeb0')](!![])[_0x477d('0xed4')]();_0x3b3246[_0x477d('0xec1')][_0x477d('0xeb0')](!![])[_0x477d('0xed5')]();_0x3b3246[_0x477d('0xe0f')]=_0x3644de[_0x477d('0x584')];_0x3b3246[_0x477d('0xe0f')][_0x477d('0x9f6')]=![];_0x3b3246['currentPath']=_0x3b3246[_0x477d('0xec0')][_0x477d('0xeb0')](!![])[_0x477d('0xed3')](_0x3b3246[_0x477d('0xe0f')])[_0x477d('0x3f6')]('/\x20');_0x3b3246[_0x477d('0xe15')]=_0x477d('0x918');_0x3b3246['query'][_0x477d('0x374')]=_0x3644de[_0x477d('0x584')]['id'];_0x389d2c();}function _0x5f0d33(){if(!_0x3b3246[_0x477d('0x2253')]&&_0x3b3246['apiName']===_0x477d('0x919')){var _0x24e81a=_0x3b3246[_0x477d('0xec1')][_0x477d('0xeb0')](!![])[_0x477d('0xee6')](_0x3b3246[_0x477d('0x3ef')]['parent']);_0x3e1dde(null,{'node':_0x24e81a,'selected':_0x24e81a['id']});}}function _0x242446(){if(!_0x3b3246[_0x477d('0x2253')]&&_0x3b3246[_0x477d('0xe15')]==='analyticDefaultReport'){var _0x3675fa=_0x3b3246[_0x477d('0xec0')][_0x477d('0xeb0')](!![])['get_node'](_0x3b3246[_0x477d('0x3ef')][_0x477d('0x374')]);_0x5c8803(null,{'node':_0x3675fa,'selected':_0x3675fa['id']});}}function _0x389d2c(){_0x3b3246[_0x477d('0x3ef')][_0x477d('0x91c')]=(_0x3b3246[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x3b3246[_0x477d('0x3ef')][_0x477d('0x91d')];if(_0x3b3246[_0x477d('0xe15')]){if(_0x3b3246[_0x477d('0x3e5')][_0x477d('0x3a1')]==='admin'){_0x3b3246[_0x477d('0x553')]=_0x76a2b9[_0x3b3246[_0x477d('0xe15')]]['get'](_0x3b3246[_0x477d('0x3ef')],_0x50ae90)['$promise'];}else{if(!_0x3b3246[_0x477d('0x3ac')]){return _0x50ae90(null);}else{if(_0x3b3246[_0x477d('0x3ac')][_0x477d('0x3ad')]){_0x3b3246[_0x477d('0x553')]=_0x76a2b9[_0x3b3246['apiName']]['get'](_0x3b3246[_0x477d('0x3ef')],_0x50ae90)[_0x477d('0x38b')];}else{var _0x4048a5=[];_0x3b3246[_0x477d('0x553')]=_0x76a2b9[_0x3b3246[_0x477d('0xe15')]][_0x477d('0x376')](_0x3b3246[_0x477d('0x3ef')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x1c885e){_0x4048a5=_0x1c885e&&_0x1c885e[_0x477d('0xf2')]?_0x1c885e['rows']:[];if(_0x4048a5['length']>0x0){return _0x76a2b9['userProfileResource'][_0x477d('0x376')]({'sectionId':_0x3b3246['userProfileSection']['id'],'type':_0x3b3246[_0x477d('0xe15')]===_0x477d('0x918')?'DefaultReports':_0x477d('0xec3')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x200bf6){var _0x269437=_0x200bf6&&_0x200bf6['rows']?_0x200bf6[_0x477d('0xf2')]:[];if(_0x269437[_0x477d('0x79')]>0x0){var _0xa243e0=[];_0x4048a5[_0x477d('0x3b1')](function(_0x2b8b92){var _0x4328a1=_[_0x477d('0x10a')](_0x269437,['resourceId',_0x2b8b92['id']]);if(_0x4328a1)_0xa243e0[_0x477d('0x3a7')](_0x2b8b92);});return _0x50ae90({'count':_0xa243e0[_0x477d('0x79')],'rows':_0xa243e0});}else{return _0x50ae90(null);}});}else{return _0x50ae90(null);}})[_0x477d('0xf8')](function(_0x1a62b9){_0x392b1d[_0x477d('0x44a')]({'title':_0x1a62b9[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x1a62b9[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x1a62b9[_0x477d('0x44d')]:_0x477d('0x2268'),'msg':_0x1a62b9[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x1a62b9['data']):_0x1a62b9['toString']()});});}}}}}function _0x50ae90(_0x2e300f){_0x3b3246['reports']=_0x2e300f||{'count':0x0,'rows':[]};if(!_0x3b3246[_0x477d('0x2253')]){_0x3b3246[_0x477d('0x2269')][_0x477d('0x3a7')](_[_0x477d('0x10a')](_0x3b3246[_0x477d('0xe19')][_0x477d('0xf2')],{'id':_0x3b3246[_0x477d('0x225a')]['id']}));}}function _0x35b93c(){_0x3b3246['treeDefaultData']=_0x3b3246['treeReports'][0x0]?angular[_0x477d('0x73c')](_0x3b3246['treeReports'][0x0][_0x477d('0xeac')]):[];_0x3b3246[_0x477d('0xe07')]=_0x3b3246[_0x477d('0xea2')][0x1]?angular[_0x477d('0x73c')](_0x3b3246[_0x477d('0xea2')][0x1][_0x477d('0xeac')]):[];_0x3b3246[_0x477d('0x226a')]=_0x478643();_0x3b3246['treeDefaultEvents']=_0x1ce733(![]);_0x3b3246[_0x477d('0xe0c')]=_0x1ce733(!![]);_0x58b5e9[_0x477d('0x395')]({'controller':function(){return _0x3b3246;},'controllerAs':'vm','templateUrl':_0x477d('0x226b'),'autoWrap':!![],'skipHide':!![]});}function _0x3e14dd(){_0x3b3246[_0x477d('0x2251')][_0x477d('0xe06')]=_0x3b3246[_0x477d('0x2269')][0x0][_0x477d('0x94')];_0x3b3246[_0x477d('0x2251')][_0x477d('0x2249')]=_0x3b3246[_0x477d('0x2269')][0x0]['id'];_0x3b3246['dashboarditem'][_0x477d('0x21a7')]=_0x3b3246['currentNode'][_0x477d('0x9f6')]?'custom':_0x477d('0x5e3');if(!_0x3b3246[_0x477d('0x2253')]){var _0x1eb189={'name':_0x477d('0x2249'),'type':_0x3b3246[_0x477d('0x2251')][_0x477d('0x21a7')],'value':_0x3b3246[_0x477d('0x2269')][0x0]['id']};_0x3b3246['dashboarditem']['attrs'][_0x477d('0x45b')](_[_0x477d('0x45a')](_0x3b3246[_0x477d('0x2251')][_0x477d('0x8f5')],0x1,_0x1eb189));}_0x157999[_0x477d('0x226c')][_0x477d('0xe06')][_0x477d('0x226d')]();_0x58b5e9[_0x477d('0x3bc')]();}function _0x351e68(){_0x58b5e9[_0x477d('0x3bc')]();}function _0x5aa8ba(_0x39894a){return _0x39894a===null?undefined:new Date(_0x39894a);}function _0x6b28c0(_0x4de9b6){_0x58b5e9[_0x477d('0x3bc')](_0x4de9b6);}}}());(function(){'use strict';_0x3eb49e[_0x477d('0xa')]=['$state',_0x477d('0xd64'),'$mdDialog',_0x477d('0x475'),_0x477d('0x40d'),_0x477d('0x613'),_0x477d('0xc8e'),_0x477d('0x386'),'toasty',_0x477d('0x55'),_0x477d('0x1572'),'userProfileSection'];angular['module'](_0x477d('0x35'))['controller']('CustomDashboardController',_0x3eb49e);function _0x3eb49e(_0x445cc0,_0x29a557,_0x110693,_0x3fcd3a,_0x167307,_0x127ea8,_0x3bc7eb,_0x373e77,_0x1c5f73,_0x25ec65,_0x4da3ca,_0x4e6fdc){var _0x49e771=this;_0x49e771[_0x477d('0x3e5')]=_0x25ec65[_0x477d('0x5c')]();_0x49e771[_0x477d('0x613')]=_0x127ea8;_0x49e771[_0x477d('0xc8e')]=_0x3bc7eb;_0x49e771[_0x477d('0xd69')]=_0x49e771['setting'][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x49e771['location']=_0x29a557[_0x477d('0x3ce')]()+_0x477d('0x1209')+_0x29a557[_0x477d('0x3c9')]();_0x49e771[_0x477d('0x1572')]=_0x4da3ca||_0x445cc0[_0x477d('0x37e')][_0x477d('0x1572')]||{};_0x49e771['userProfileSection']=_0x4e6fdc&&_0x4e6fdc[_0x477d('0x3bb')]==0x1?_0x4e6fdc['rows'][0x0]:null;_0x49e771[_0x477d('0xd66')]=_0x25ec65[_0x477d('0xd81')](_0x49e771[_0x477d('0x3ac')]?_0x49e771[_0x477d('0x3ac')][_0x477d('0xd66')]:null);_0x49e771[_0x477d('0xd68')]={};_0x49e771[_0x477d('0xe95')]=_0x445cc0[_0x477d('0x37e')][_0x477d('0xe96')]||0x0;_0x49e771['clonedialog']=_0x4fdd77;_0x49e771[_0x477d('0x1443')]=_0x5ea2fa;_0x49e771['alert']=_0x1c5f73[_0x477d('0x669')];_0x49e771[_0x477d('0x226e')]=_0x28971e;_0x49e771['saveCustomDashboard']=_0x4aaf21;function _0x4fdd77(_0x4c985c,_0x38fc36){_0x110693[_0x477d('0x395')]({'controller':_0x477d('0x223d'),'controllerAs':'vm','templateUrl':'app/main/apps/tools/views/customDashboards/edit/clone/clone.html','parent':angular['element'](_0x3fcd3a[_0x477d('0x399')]),'targetEvent':_0x38fc36,'clickOutsideToClose':!![],'locals':{'customDashboard':_0x4c985c,'customDashboards':_0x49e771[_0x477d('0x2226')]?_0x49e771[_0x477d('0x2226')][_0x477d('0xf2')]:[],'crudPermissions':_0x49e771['crudPermissions']}});}function _0x5ea2fa(_0x50f548,_0x340a17){_0x445cc0['go']('app.dashboards.custom',{'id':_0x50f548['id']});}function _0x28971e(){_0x445cc0['go'](_0x477d('0x2b1'),{},{'reload':_0x477d('0x2b1')});}function _0x4aaf21(){_0x373e77[_0x477d('0xad2')][_0x477d('0x710')]({'id':_0x49e771[_0x477d('0x1572')]['id']},_0x49e771[_0x477d('0x1572')])[_0x477d('0x38b')]['then'](function(){_0x1c5f73[_0x477d('0x485')]({'title':_0x477d('0x226f'),'msg':_0x49e771[_0x477d('0x1572')][_0x477d('0x94')]?_0x49e771[_0x477d('0x1572')][_0x477d('0x94')]+'\x20has\x20been\x20updated!':''});})[_0x477d('0xf8')](function(_0x2ea87d){_0x1c5f73[_0x477d('0x44a')]({'title':_0x2ea87d[_0x477d('0x3c3')]?'API:'+_0x2ea87d['status']+'\x20-\x20'+_0x2ea87d['statusText']:_0x477d('0x2270'),'msg':_0x2ea87d[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x2ea87d[_0x477d('0x451')]):_0x2ea87d[_0x477d('0x453')]()});});}}}());(function(){'use strict';_0x258493[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x3c4'),'$location',_0x477d('0x384'),'$q',_0x477d('0x40d'),'toasty',_0x477d('0x15b8'),_0x477d('0xb95'),_0x477d('0x386'),_0x477d('0x55'),'license',_0x477d('0xc8e'),_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x35'))[_0x477d('0x3ba')](_0x477d('0x2271'),_0x258493);function _0x258493(_0x51b9e6,_0x8762c0,_0x1a09f1,_0x2e654e,_0x14b915,_0x322ebc,_0x120012,_0x17ddf0,_0x2b3fc1,_0x27fac8,_0x1a98a8,_0x2892d7,_0x2fdd1b,_0x16aec0){var _0x423b46=this;_0x423b46[_0x477d('0x3e5')]=_0x1a98a8[_0x477d('0x5c')]();_0x423b46[_0x477d('0xd67')]=[];_0x423b46[_0x477d('0xc8e')]=_0x2fdd1b;_0x423b46[_0x477d('0x613')]=_0x2892d7;_0x423b46[_0x477d('0xd66')]=_0x16aec0;_0x423b46[_0x477d('0xd68')]={};_0x423b46[_0x477d('0xd69')]=_0x423b46[_0x477d('0xc8e')]&&_0x423b46[_0x477d('0xc8e')][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x423b46['title']=_0x477d('0x2272');_0x423b46[_0x477d('0xb95')]=angular[_0x477d('0x6d9')](_0x2b3fc1);_0x423b46[_0x477d('0x15b8')]=_0x17ddf0;_0x423b46[_0x477d('0x2273')]=![];if(!_0x423b46[_0x477d('0xb95')]){_0x423b46[_0x477d('0xb95')]={};_0x423b46[_0x477d('0x49a')]=_0x477d('0x2274');_0x423b46['newDisposition']=!![];}_0x423b46[_0x477d('0x2275')]=_0x2e0a23;_0x423b46[_0x477d('0x1645')]=_0x3f661a;_0x423b46[_0x477d('0x2276')]=_0x1bd454;_0x423b46[_0x477d('0xd6f')]=_0x59c618;_0x423b46[_0x477d('0x6bf')]=_0x2deed6;function _0x2e0a23(){_0x423b46[_0x477d('0xd67')]=[];_0x27fac8[_0x477d('0xb95')]['save'](_0x423b46[_0x477d('0xb95')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x1f07e9){_0x423b46[_0x477d('0x15b8')][_0x477d('0x63b')](_0x1f07e9[_0x477d('0xd71')]());_0x120012[_0x477d('0x485')]({'title':_0x477d('0x2277'),'msg':_0x423b46['disposition'][_0x477d('0x94')]?_0x423b46[_0x477d('0xb95')]['name']+_0x477d('0xd73'):''});_0x2deed6(_0x1f07e9);})['catch'](function(_0x1142da){if(_0x1142da[_0x477d('0x451')]&&_0x1142da['data'][_0x477d('0xd67')]&&_0x1142da[_0x477d('0x451')]['errors'][_0x477d('0x79')]){_0x423b46[_0x477d('0xd67')]=_0x1142da[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x1142da[_0x477d('0x453')](),'type':_0x477d('0x1314')}];for(var _0x408114=0x0;_0x408114<_0x1142da[_0x477d('0x451')]['errors']['length'];_0x408114+=0x1){_0x120012[_0x477d('0x44a')]({'title':_0x1142da[_0x477d('0x451')][_0x477d('0xd67')][_0x408114][_0x477d('0x439')],'msg':_0x1142da['data']['errors'][_0x408114][_0x477d('0x452')]});}}else{_0x120012[_0x477d('0x44a')]({'title':_0x1142da[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x1142da[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x1142da[_0x477d('0x44d')]:'api.disposition.save','msg':_0x1142da[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x1142da[_0x477d('0x451')]['message']):_0x1142da[_0x477d('0x453')]()});}});}function _0x3f661a(){_0x423b46['errors']=[];_0x27fac8['disposition'][_0x477d('0x710')]({'id':_0x423b46[_0x477d('0xb95')]['id']},_0x423b46[_0x477d('0xb95')])[_0x477d('0x38b')]['then'](function(_0xb5e8f8){var _0x11580e=_[_0x477d('0x10a')](_0x423b46[_0x477d('0x15b8')],{'id':_0xb5e8f8['id']});if(_0x11580e){_['merge'](_0x11580e,_[_0x477d('0x10b')](_0xb5e8f8[_0x477d('0xd71')](),_['keys'](_0x11580e)));}_0x120012['success']({'title':'Disposition\x20properly\x20saved!','msg':_0x423b46[_0x477d('0xb95')]['name']?_0x423b46[_0x477d('0xb95')][_0x477d('0x94')]+_0x477d('0xd76'):''});_0x2deed6(_0xb5e8f8);})[_0x477d('0xf8')](function(_0x3d45b6){if(_0x3d45b6['data']&&_0x3d45b6[_0x477d('0x451')]['errors']&&_0x3d45b6['data'][_0x477d('0xd67')][_0x477d('0x79')]){_0x423b46[_0x477d('0xd67')]=_0x3d45b6[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x3d45b6[_0x477d('0x453')](),'type':_0x477d('0x1316')}];for(var _0x3f7d61=0x0;_0x3f7d61<_0x3d45b6['data'][_0x477d('0xd67')]['length'];_0x3f7d61++){_0x120012[_0x477d('0x44a')]({'title':_0x3d45b6['data']['errors'][_0x3f7d61]['type'],'msg':_0x3d45b6[_0x477d('0x451')][_0x477d('0xd67')][_0x3f7d61][_0x477d('0x452')]});}}else{_0x120012[_0x477d('0x44a')]({'title':_0x3d45b6['status']?_0x477d('0x44b')+_0x3d45b6[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x3d45b6['statusText']:_0x477d('0x1316'),'msg':_0x3d45b6['data']?JSON[_0x477d('0x3fb')](_0x3d45b6[_0x477d('0x451')]['message']):_0x3d45b6['toString']()});}});}function _0x1bd454(_0x33d8dd){_0x423b46[_0x477d('0xd67')]=[];var _0x391481=_0x2e654e[_0x477d('0xd78')]()[_0x477d('0x49a')]('Are\x20you\x20sure?')[_0x477d('0xdaf')](_0x477d('0x2278'))[_0x477d('0x687')](_0x477d('0x2279'))['ok']('Delete')[_0x477d('0x4f0')]('Cancel')[_0x477d('0xd7c')](_0x33d8dd);_0x2e654e['show'](_0x391481)['then'](function(){_0x27fac8[_0x477d('0xb95')]['delete']({'id':_0x423b46[_0x477d('0xb95')]['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x423b46['dispositions'],{'id':_0x423b46['disposition']['id']});_0x120012['success']({'title':_0x477d('0x227a'),'msg':(_0x423b46[_0x477d('0xb95')][_0x477d('0x94')]||_0x477d('0xb95'))+'\x20has\x20been\x20deleted!'});_0x2deed6(_0x423b46[_0x477d('0xb95')]);})[_0x477d('0xf8')](function(_0x29aa7e){if(_0x29aa7e['data']&&_0x29aa7e['data']['errors']&&_0x29aa7e[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x423b46[_0x477d('0xd67')]=_0x29aa7e[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x29aa7e['toString'](),'type':_0x477d('0x1318')}];for(var _0x5b846a=0x0;_0x5b846a<_0x29aa7e['data'][_0x477d('0xd67')][_0x477d('0x79')];_0x5b846a++){_0x120012[_0x477d('0x44a')]({'title':_0x29aa7e[_0x477d('0x451')][_0x477d('0xd67')][_0x5b846a]['type'],'msg':_0x29aa7e[_0x477d('0x451')][_0x477d('0xd67')][_0x5b846a][_0x477d('0x452')]});}}else{_0x120012[_0x477d('0x44a')]({'title':_0x29aa7e['status']?_0x477d('0x44b')+_0x29aa7e[_0x477d('0x3c3')]+'\x20-\x20'+_0x29aa7e[_0x477d('0x44d')]:_0x477d('0x1318'),'msg':_0x29aa7e[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x29aa7e[_0x477d('0x451')][_0x477d('0x452')]):_0x29aa7e[_0x477d('0x452')]||_0x29aa7e[_0x477d('0x453')]()});}});},function(){});}function _0x59c618(_0x2d6ac9){return _0x2d6ac9===null?undefined:new Date(_0x2d6ac9);}function _0x2deed6(_0xfc542b){_0x2e654e[_0x477d('0x3bc')](_0xfc542b);}}}());(function(){'use strict';_0x316dc7['$inject']=['$scope',_0x477d('0x387'),_0x477d('0x3c4'),_0x477d('0x554'),'$mdDialog',_0x477d('0x475'),'$timeout','$translate',_0x477d('0x15b8'),_0x477d('0x3a5'),'userProfileSection',_0x477d('0x386'),_0x477d('0x342'),_0x477d('0x40e'),_0x477d('0x55'),_0x477d('0x613'),_0x477d('0xc8e')];angular[_0x477d('0xb')](_0x477d('0x35'))[_0x477d('0x3ba')](_0x477d('0x227b'),_0x316dc7);function _0x316dc7(_0x4a928f,_0x32e165,_0x573639,_0x18e194,_0x535c4d,_0x383011,_0x3cd9f0,_0x476658,_0x2ac2a8,_0x480b38,_0x1d9bc0,_0x4553c6,_0x329855,_0x5edceb,_0x1bff9d,_0x36b230,_0x1e2999){var _0x129eb4=this;_0x129eb4[_0x477d('0x613')]=_0x36b230;_0x129eb4['setting']=_0x1e2999;_0x129eb4[_0x477d('0x3e5')]=_0x1bff9d['getCurrentUser']();_0x129eb4[_0x477d('0x15b8')]=_0x2ac2a8||{'count':0x0,'rows':[]};_0x129eb4[_0x477d('0x3a5')]=_0x480b38;_0x129eb4[_0x477d('0x3ac')]=_0x1d9bc0&&_0x1d9bc0[_0x477d('0x3bb')]==0x1?_0x1d9bc0[_0x477d('0xf2')][0x0]:null;_0x129eb4[_0x477d('0xd66')]=_0x1bff9d[_0x477d('0xd81')](_0x129eb4[_0x477d('0x3ac')]?_0x129eb4[_0x477d('0x3ac')]['crudPermissions']:null);_0x129eb4['table']=_0x477d('0x15b8');_0x129eb4[_0x477d('0xd83')]='';_0x129eb4['listOrderAsc']=null;_0x129eb4[_0x477d('0x227c')]=[];_0x129eb4[_0x477d('0x3ef')]={'fields':_0x477d('0x2b0'),'sort':'-updatedAt','MailAccountId':_0x477d('0xea'),'FaxAccountId':_0x477d('0xea'),'SmsAccountId':_0x477d('0xea'),'OpenchannelAccountId':_0x477d('0xea'),'ChatWebsiteId':'null','ListId':_0x477d('0xea'),'limit':0xa,'page':0x1};_0x129eb4[_0x477d('0xd86')]=_0x26a728;_0x129eb4[_0x477d('0xd88')]=_0x3ab3ed;_0x129eb4[_0x477d('0x485')]=_0x1817f2;_0x129eb4[_0x477d('0x1309')]=_0x4943e2;_0x129eb4[_0x477d('0x227d')]=_0x50dbd1;_0x129eb4[_0x477d('0x2276')]=_0x45364e;_0x129eb4[_0x477d('0x227e')]=_0x22bb06;_0x129eb4[_0x477d('0x227f')]=_0x305539;_0x129eb4[_0x477d('0x2280')]=_0x4a6ca4;_0x129eb4[_0x477d('0x2281')]=_0x2624ec;function _0x26a728(_0x5259b0,_0x2a32af){_0x535c4d['show']({'controller':'CreateOrEditDispositionDialogController','controllerAs':'vm','templateUrl':'app/main/apps/tools/views/dispositions/create/dialog.html','parent':angular[_0x477d('0x398')](_0x383011[_0x477d('0x399')]),'targetEvent':_0x2a32af,'clickOutsideToClose':!![],'locals':{'disposition':_0x5259b0,'dispositions':_0x129eb4['dispositions'][_0x477d('0xf2')],'license':_0x129eb4['license'],'setting':null,'crudPermissions':_0x129eb4['crudPermissions']}});}function _0x3ab3ed(_0x2c7eac,_0xcdb095){var _0x181801=_0x535c4d[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xd90')+_[_0x477d('0xd91')](_0x477d('0xb95'))+'?')[_0x477d('0xd92')](_0x477d('0xd93')+(_0x2c7eac['name']||_0x477d('0xb95'))+''+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x2282'))[_0x477d('0xd7c')](_0xcdb095)['ok']('OK')[_0x477d('0x4f0')]('CANCEL');_0x535c4d['show'](_0x181801)[_0x477d('0x76')](function(){_0x45364e(_0x2c7eac);},function(){console[_0x477d('0x7b')]('CANCEL');});}var _0x407a81=!![];var _0x4fdd80=0x1;_0x4a928f['$watch'](_0x477d('0xd98'),function(_0x520992,_0x32df09){if(_0x407a81){_0x3cd9f0(function(){_0x407a81=![];});}else{if(!_0x32df09){_0x4fdd80=_0x129eb4[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x520992!==_0x32df09){_0x129eb4[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0x520992){_0x129eb4[_0x477d('0x3ef')][_0x477d('0xe03')]=_0x4fdd80;}_0x129eb4[_0x477d('0x1309')]();}});function _0x1817f2(_0x2e90b8){_0x129eb4[_0x477d('0x15b8')]=_0x2e90b8||{'count':0x0,'rows':[]};}function _0x4943e2(){_0x129eb4[_0x477d('0x3ef')]['offset']=(_0x129eb4[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x129eb4['query'][_0x477d('0x91d')];if(_0x1bff9d[_0x477d('0x56')]('admin')){_0x129eb4['promise']=_0x4553c6[_0x477d('0xb95')][_0x477d('0x376')](_0x129eb4[_0x477d('0x3ef')],_0x1817f2)[_0x477d('0x38b')];}else{_0x129eb4[_0x477d('0x3ef')]['id']=_0x129eb4['userProfile']['id'];_0x129eb4[_0x477d('0x3ef')][_0x477d('0xd99')]=_0x477d('0x220');_0x129eb4[_0x477d('0x553')]=_0x4553c6[_0x477d('0x3a5')][_0x477d('0xd9a')](_0x129eb4['query'],_0x1817f2)['$promise'];}}function _0x50dbd1(_0x526790,_0xa82da8){_0x535c4d[_0x477d('0x395')]({'controller':'CreateOrEditDispositionDialogController','controllerAs':'vm','templateUrl':_0x477d('0x2283'),'parent':angular['element'](_0x383011[_0x477d('0x399')]),'targetEvent':_0x526790,'clickOutsideToClose':!![],'locals':{'disposition':_0xa82da8,'dispositions':_0x129eb4['dispositions'][_0x477d('0xf2')],'license':_0x129eb4['license'],'setting':_0x129eb4[_0x477d('0xc8e')],'crudPermissions':_0x129eb4[_0x477d('0xd66')]}});}function _0x45364e(_0x397d53){_0x4553c6[_0x477d('0xb95')]['delete']({'id':_0x397d53['id']})['$promise'][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x129eb4[_0x477d('0x15b8')][_0x477d('0xf2')],{'id':_0x397d53['id']});_0x129eb4[_0x477d('0x15b8')][_0x477d('0x3bb')]-=0x1;if(!_0x129eb4['dispositions'][_0x477d('0xf2')]['length']){_0x129eb4[_0x477d('0x1309')]();}_0x5edceb[_0x477d('0x485')]({'title':_[_0x477d('0xd91')](_0x477d('0x125f'))+_0x477d('0xd9d'),'msg':_0x397d53[_0x477d('0x94')]?_0x397d53[_0x477d('0x94')]+_0x477d('0xd7e'):''});})['catch'](function(_0xe66576){if(_0xe66576[_0x477d('0x451')]&&_0xe66576[_0x477d('0x451')][_0x477d('0xd67')]&&_0xe66576[_0x477d('0x451')][_0x477d('0xd67')]['length']){_0x129eb4[_0x477d('0xd67')]=_0xe66576['data'][_0x477d('0xd67')]||[{'message':_0xe66576['toString'](),'type':_0x477d('0x2284')}];for(var _0x5da603=0x0;_0x5da603<_0xe66576[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x5da603++){_0x5edceb[_0x477d('0x44a')]({'title':_0xe66576[_0x477d('0x451')][_0x477d('0xd67')][_0x5da603][_0x477d('0x439')],'msg':_0xe66576[_0x477d('0x451')][_0x477d('0xd67')][_0x5da603][_0x477d('0x452')]});}}else{_0x5edceb[_0x477d('0x44a')]({'title':_0xe66576[_0x477d('0x3c3')]?'API:'+_0xe66576[_0x477d('0x3c3')]+_0x477d('0x44c')+_0xe66576[_0x477d('0x44d')]:_0x477d('0x2284'),'msg':_0xe66576[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0xe66576[_0x477d('0x451')]['message']):_0xe66576[_0x477d('0x452')]||_0xe66576[_0x477d('0x453')]()});}});}function _0x22bb06(){var _0xdad460=angular[_0x477d('0x6d9')](_0x129eb4[_0x477d('0x227c')]);_0x129eb4[_0x477d('0x227c')]=[];return _0xdad460;}function _0x305539(_0x3d836c){var _0x4dd6a5=_0x535c4d[_0x477d('0xd78')]()[_0x477d('0x49a')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20dispositions?')[_0x477d('0xd92')](_0x477d('0xd93')+_0x129eb4['selectedDispositions']['length']+_0x477d('0xda0')+_0x477d('0xd95'))['ariaLabel']('delete\x20Dispositions')[_0x477d('0xd7c')](_0x3d836c)['ok']('OK')['cancel'](_0x477d('0xd97'));_0x535c4d['show'](_0x4dd6a5)[_0x477d('0x76')](function(){_0x129eb4[_0x477d('0x227c')][_0x477d('0x3b1')](function(_0x170326){_0x45364e(_0x170326);});_0x129eb4[_0x477d('0x227c')]=[];});}function _0x4a6ca4(){_0x129eb4['selectedDispositions']=[];}function _0x2624ec(){_0x129eb4[_0x477d('0x227c')]=_0x129eb4[_0x477d('0x15b8')][_0x477d('0xf2')];}}}());(function(){'use strict';_0x48bc11[_0x477d('0xa')]=['$scope',_0x477d('0x3c4'),_0x477d('0xd64'),_0x477d('0x384'),'$q',_0x477d('0x40d'),_0x477d('0x40e'),_0x477d('0x1298'),_0x477d('0x79c'),'api','Auth',_0x477d('0x613'),'setting',_0x477d('0xd66')];angular['module'](_0x477d('0x35'))[_0x477d('0x3ba')](_0x477d('0x2285'),_0x48bc11);function _0x48bc11(_0x596b20,_0x1d1ff6,_0x2ffb03,_0x402459,_0x226fcd,_0x4e979a,_0xa8a456,_0x7ba11b,_0x49f433,_0x20508f,_0x22653d,_0x117c22,_0x424862,_0x359eb6){var _0x28455f=this;_0x28455f[_0x477d('0x3e5')]=_0x22653d[_0x477d('0x5c')]();_0x28455f[_0x477d('0xd67')]=[];_0x28455f[_0x477d('0xc8e')]=_0x424862;_0x28455f['license']=_0x117c22;_0x28455f[_0x477d('0xd66')]=_0x359eb6;_0x28455f[_0x477d('0xd68')]={};_0x28455f[_0x477d('0xd69')]=_0x28455f[_0x477d('0xc8e')]&&_0x28455f[_0x477d('0xc8e')]['securePassword']?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x28455f[_0x477d('0x49a')]=_0x477d('0x12be');_0x28455f['interval']=angular[_0x477d('0x6d9')](_0x49f433);_0x28455f[_0x477d('0x1298')]=_0x7ba11b;_0x28455f[_0x477d('0x12bf')]=![];if(!_0x28455f[_0x477d('0x79c')]){_0x28455f['interval']={};_0x28455f[_0x477d('0x49a')]='TOOLS.NEW_INTERVAL';_0x28455f[_0x477d('0x12bf')]=!![];}_0x28455f[_0x477d('0x12ce')]=_0x279821;_0x28455f['saveInterval']=_0x1571d5;_0x28455f[_0x477d('0x2286')]=_0x3c0ff1;_0x28455f[_0x477d('0xd6f')]=_0x4a149b;_0x28455f[_0x477d('0x6bf')]=_0x3afc1b;function _0x279821(){_0x28455f[_0x477d('0xd67')]=[];_0x20508f[_0x477d('0x79c')][_0x477d('0xd70')](_0x28455f[_0x477d('0x79c')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x485cdc){_0x28455f[_0x477d('0x1298')][_0x477d('0x63b')](_0x485cdc[_0x477d('0xd71')]());_0xa8a456[_0x477d('0x485')]({'title':_0x477d('0x12d7'),'msg':_0x28455f[_0x477d('0x79c')][_0x477d('0x94')]?_0x28455f['interval'][_0x477d('0x94')]+_0x477d('0xd73'):''});_0x3afc1b(_0x485cdc);})[_0x477d('0xf8')](function(_0x4cd93a){if(_0x4cd93a[_0x477d('0x451')]&&_0x4cd93a['data'][_0x477d('0xd67')]&&_0x4cd93a[_0x477d('0x451')]['errors'][_0x477d('0x79')]){_0x28455f[_0x477d('0xd67')]=_0x4cd93a[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x4cd93a[_0x477d('0x453')](),'type':_0x477d('0x12d8')}];for(var _0x4451bf=0x0;_0x4451bf<_0x4cd93a['data'][_0x477d('0xd67')]['length'];_0x4451bf+=0x1){_0xa8a456[_0x477d('0x44a')]({'title':_0x4cd93a[_0x477d('0x451')][_0x477d('0xd67')][_0x4451bf][_0x477d('0x439')],'msg':_0x4cd93a[_0x477d('0x451')][_0x477d('0xd67')][_0x4451bf][_0x477d('0x452')]});}}else{_0xa8a456[_0x477d('0x44a')]({'title':_0x4cd93a[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x4cd93a['status']+'\x20-\x20'+_0x4cd93a['statusText']:'api.interval.save','msg':_0x4cd93a[_0x477d('0x451')]?JSON['stringify'](_0x4cd93a[_0x477d('0x451')][_0x477d('0x452')]):_0x4cd93a['toString']()});}});}function _0x1571d5(){_0x28455f['errors']=[];_0x20508f[_0x477d('0x79c')]['update']({'id':_0x28455f[_0x477d('0x79c')]['id']},_0x28455f[_0x477d('0x79c')])['$promise']['then'](function(_0x2a2a1c){var _0x3360cd=_[_0x477d('0x10a')](_0x28455f[_0x477d('0x1298')],{'id':_0x2a2a1c['id']});if(_0x3360cd){_['merge'](_0x3360cd,_['pick'](_0x2a2a1c[_0x477d('0xd71')](),_[_0x477d('0x7f')](_0x3360cd)));}_0xa8a456['success']({'title':'Interval\x20properly\x20saved!','msg':_0x28455f[_0x477d('0x79c')]['name']?_0x28455f[_0x477d('0x79c')][_0x477d('0x94')]+_0x477d('0xd76'):''});_0x3afc1b(_0x2a2a1c);})['catch'](function(_0x1e9c17){if(_0x1e9c17['data']&&_0x1e9c17[_0x477d('0x451')][_0x477d('0xd67')]&&_0x1e9c17['data'][_0x477d('0xd67')]['length']){_0x28455f['errors']=_0x1e9c17['data']['errors']||[{'message':_0x1e9c17[_0x477d('0x453')](),'type':'api.interval.update'}];for(var _0xd2d50e=0x0;_0xd2d50e<_0x1e9c17[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0xd2d50e++){_0xa8a456[_0x477d('0x44a')]({'title':_0x1e9c17['data'][_0x477d('0xd67')][_0xd2d50e][_0x477d('0x439')],'msg':_0x1e9c17[_0x477d('0x451')][_0x477d('0xd67')][_0xd2d50e]['message']});}}else{_0xa8a456[_0x477d('0x44a')]({'title':_0x1e9c17['status']?_0x477d('0x44b')+_0x1e9c17[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x1e9c17['statusText']:_0x477d('0x12db'),'msg':_0x1e9c17[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x1e9c17['data'][_0x477d('0x452')]):_0x1e9c17['toString']()});}});}function _0x3c0ff1(_0x56a579){_0x28455f[_0x477d('0xd67')]=[];var _0x40e892=_0x402459[_0x477d('0xd78')]()['title'](_0x477d('0xd79'))[_0x477d('0xdaf')](_0x477d('0x2287'))[_0x477d('0x687')](_0x477d('0x2288'))['ok'](_0x477d('0xd7b'))[_0x477d('0x4f0')]('Cancel')[_0x477d('0xd7c')](_0x56a579);_0x402459[_0x477d('0x395')](_0x40e892)[_0x477d('0x76')](function(){_0x20508f[_0x477d('0x79c')][_0x477d('0xa55')]({'id':_0x28455f[_0x477d('0x79c')]['id']})['$promise']['then'](function(){_[_0x477d('0x39c')](_0x28455f[_0x477d('0x1298')],{'id':_0x28455f[_0x477d('0x79c')]['id']});_0xa8a456[_0x477d('0x485')]({'title':_0x477d('0x2289'),'msg':(_0x28455f[_0x477d('0x79c')][_0x477d('0x94')]||_0x477d('0x79c'))+_0x477d('0xd7e')});_0x3afc1b(_0x28455f[_0x477d('0x79c')]);})[_0x477d('0xf8')](function(_0x2f86a1){if(_0x2f86a1['data']&&_0x2f86a1[_0x477d('0x451')][_0x477d('0xd67')]&&_0x2f86a1['data']['errors'][_0x477d('0x79')]){_0x28455f[_0x477d('0xd67')]=_0x2f86a1[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x2f86a1[_0x477d('0x453')](),'type':'api.interval.delete'}];for(var _0x204fe8=0x0;_0x204fe8<_0x2f86a1[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x204fe8++){_0xa8a456[_0x477d('0x44a')]({'title':_0x2f86a1[_0x477d('0x451')][_0x477d('0xd67')][_0x204fe8][_0x477d('0x439')],'msg':_0x2f86a1[_0x477d('0x451')][_0x477d('0xd67')][_0x204fe8]['message']});}}else{_0xa8a456[_0x477d('0x44a')]({'title':_0x2f86a1[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x2f86a1[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x2f86a1[_0x477d('0x44d')]:_0x477d('0x228a'),'msg':_0x2f86a1[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x2f86a1['data'][_0x477d('0x452')]):_0x2f86a1[_0x477d('0x452')]||_0x2f86a1['toString']()});}});},function(){});}function _0x4a149b(_0x5895a3){return _0x5895a3===null?undefined:new Date(_0x5895a3);}function _0x3afc1b(_0x15433c){_0x402459[_0x477d('0x3bc')](_0x15433c);}}}());(function(){'use strict';_0x3d8bad['$inject']=[_0x477d('0x3c4'),_0x477d('0x384'),_0x477d('0x6d3'),_0x477d('0xd14'),'interval',_0x477d('0x1298'),'toasty',_0x477d('0x386'),'Auth',_0x477d('0xd66')];angular['module']('app.voice')['controller'](_0x477d('0x228b'),_0x3d8bad);function _0x3d8bad(_0x5f2d3e,_0x2a2edc,_0x1663ae,_0x4f33a1,_0x4e34bf,_0x7aeebd,_0x42998a,_0x538ca,_0x1891d5,_0x193d7d){var _0x55c73a=this;_0x55c73a[_0x477d('0x3e5')]=_0x1891d5[_0x477d('0x5c')]();_0x55c73a[_0x477d('0xd67')]=[];_0x55c73a[_0x477d('0x49a')]=_0x477d('0x12be');_0x55c73a['interval']=angular[_0x477d('0x6d9')](_0x4e34bf);_0x55c73a[_0x477d('0x1298')]=_0x7aeebd;_0x55c73a['newInterval']=![];_0x55c73a[_0x477d('0x12c0')]=[_0x477d('0x1247'),'custom'];_0x55c73a[_0x477d('0xd66')]=_0x193d7d;_0x55c73a[_0x477d('0x12c1')]=_0x4f33a1[_0x477d('0x12c2')]();_0x55c73a[_0x477d('0x12c3')]=_0x4f33a1[_0x477d('0x12c4')]();_0x55c73a[_0x477d('0x12c5')]=_0x4f33a1[_0x477d('0x192f')]();_0x55c73a[_0x477d('0x12c6')]=_0x4f33a1[_0x477d('0x12c7')]();if(!_0x55c73a['interval']){_0x55c73a[_0x477d('0x79c')]={'interval':'*,*,*,*'};_0x55c73a['type']=_0x477d('0x1247');_0x55c73a[_0x477d('0x49a')]=_0x477d('0x1930');_0x55c73a[_0x477d('0x12bf')]=!![];}else{if(_0x55c73a['interval'][_0x477d('0x79c')]!==_0x477d('0x1249')){_0x55c73a[_0x477d('0x439')]=_0x477d('0x9f6');var _0x584a1c=_0x55c73a[_0x477d('0x79c')]['interval'][_0x477d('0x472')](',');var _0x5e31db=_0x584a1c[0x0];var _0x5d5988=_0x584a1c[0x1];var _0x350af8=_0x584a1c[0x2];var _0x52a062=_0x584a1c[0x3];if(_0x5e31db!=='*'){var _0x126dff=_0x5e31db[_0x477d('0x472')]('-')[0x0];var _0x3fe61e=_0x5e31db['split']('-')[0x1];var _0x1652ef;_0x1652ef=new Date();_0x1652ef[_0x477d('0x12c8')](Number(_0x126dff['split'](':')[0x0]));_0x1652ef[_0x477d('0x12c9')](Number(_0x126dff[_0x477d('0x472')](':')[0x1]));_0x55c73a[_0x477d('0x12d1')]=_0x1652ef;_0x1652ef=new Date();_0x1652ef[_0x477d('0x12c8')](Number(_0x3fe61e[_0x477d('0x472')](':')[0x0]));_0x1652ef[_0x477d('0x12c9')](Number(_0x3fe61e[_0x477d('0x472')](':')[0x1]));_0x55c73a[_0x477d('0x12ca')]=_0x1652ef;}if(_0x5d5988!=='*'){_0x55c73a[_0x477d('0x12d4')]=_0x5d5988[_0x477d('0x472')]('-')[0x0];_0x55c73a['dayOfWeekTo']=_0x5d5988[_0x477d('0x472')]('-')[0x1];}if(_0x350af8!=='*'){_0x55c73a[_0x477d('0x12d5')]=_0x350af8[_0x477d('0x472')]('-')[0x0];_0x55c73a[_0x477d('0x12d6')]=_0x350af8[_0x477d('0x472')]('-')[0x1];}if(_0x52a062!=='*'){_0x55c73a[_0x477d('0x12cc')]=_0x52a062[_0x477d('0x472')]('-')[0x0];_0x55c73a[_0x477d('0x12cd')]=_0x52a062[_0x477d('0x472')]('-')[0x1];}}else{_0x55c73a[_0x477d('0x439')]='always';}}if(_0x5f2d3e[_0x477d('0x37e')]['id']&&!_0x55c73a[_0x477d('0x79c')][_0x477d('0xf55')]){_0x55c73a[_0x477d('0x79c')][_0x477d('0xf8c')]=_0x5f2d3e[_0x477d('0x37e')]['id'];}if(_0x55c73a[_0x477d('0x79c')][_0x477d('0xf8c')]&&_0x55c73a[_0x477d('0x79c')][_0x477d('0xf55')]){_0x55c73a[_0x477d('0x439')]=_0x477d('0xa02');}_0x55c73a['addNewInterval']=_0x4f2f0a;_0x55c73a['saveInterval']=_0x39e6b5;_0x55c73a[_0x477d('0x6bf')]=_0x34fbea;if(_0x55c73a[_0x477d('0x79c')][_0x477d('0xf55')]){_0x1891d5['hasRole'](_0x477d('0x5f'))?_0x538ca[_0x477d('0x79c')]['get']({'fields':_0x477d('0x12cf'),'IntervalId':_0x477d('0xea'),'nolimit':!![]})['$promise'][_0x477d('0x76')](function(_0x32c495){_0x55c73a[_0x477d('0x1298')]=_0x32c495['rows']||[];})[_0x477d('0xf8')](function(_0x136b91){_0x42998a[_0x477d('0x44a')]({'title':_0x136b91[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x136b91['status']+_0x477d('0x44c')+_0x136b91[_0x477d('0x44d')]:_0x477d('0x12d0'),'msg':_0x136b91[_0x477d('0x451')]?JSON['stringify'](_0x136b91[_0x477d('0x451')]):_0x136b91['toString']()});}):_0x538ca[_0x477d('0x79c')][_0x477d('0x376')]({'fields':_0x477d('0x12cf'),'IntervalId':_0x477d('0xea'),'nolimit':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x5f336b){_0x55c73a['intervals']=_0x5f336b[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x538ca[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x55c73a[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x3ec})[_0x477d('0x38b')];})['then'](function(_0x3d9794){var _0x23bcfa=_0x3d9794&&_0x3d9794[_0x477d('0xf2')]?_0x3d9794[_0x477d('0xf2')][0x0]:null;if(!_0x23bcfa){_0x55c73a[_0x477d('0x1298')]=[];}else{if(!_0x23bcfa[_0x477d('0x3ad')]){return _0x538ca[_0x477d('0x3ae')]['get']({'sectionId':_0x23bcfa['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x188bf4){var _0x3f2b77=_0x188bf4&&_0x188bf4['rows']?_0x188bf4[_0x477d('0xf2')]:[];var _0xa80a8=[];var _0x4a3a10=null;if(_0x55c73a[_0x477d('0x79c')]){_0x4a3a10=_[_0x477d('0x10a')](_0x55c73a[_0x477d('0x1298')],{'name':_0x55c73a[_0x477d('0x79c')][_0x477d('0xf8c')]});}if(_0x4a3a10&&!_[_0x477d('0x3ab')](_0x3f2b77,[_0x477d('0x3af'),_0x4a3a10['id']])){_0x55c73a[_0x477d('0x1298')][_0x477d('0x3b1')](function(_0x1f6f37){if(_0x1f6f37['id']===_0x4a3a10['id']){_0x1f6f37[_0x477d('0xf8b')]=![];_0xa80a8[_0x477d('0x3a7')](_0x1f6f37);}});}_0x55c73a['intervals']=_0xa80a8;});}}})['catch'](function(_0x91bee1){_0x42998a[_0x477d('0x44a')]({'title':_0x91bee1['status']?'API:'+_0x91bee1['status']+_0x477d('0x44c')+_0x91bee1['statusText']:_0x477d('0x12d0'),'msg':_0x91bee1[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x91bee1[_0x477d('0x451')]):_0x91bee1['toString']()});});}function _0x3e0a23(){switch(_0x55c73a['type']){case'always':case _0x477d('0xa02'):return _0x477d('0x1249');case'custom':var _0x51f96f=[];if(_0x55c73a[_0x477d('0x12d1')]!=='*'&&_0x55c73a[_0x477d('0x12d1')]&&_0x55c73a[_0x477d('0x12ca')]){var _0x23199a=(_0x55c73a[_0x477d('0x12d1')][_0x477d('0x12d2')]()<0xa?'0':'')+_0x55c73a[_0x477d('0x12d1')][_0x477d('0x12d2')]()+':'+((_0x55c73a['timeRangeFrom']['getMinutes']()<0xa?'0':'')+_0x55c73a[_0x477d('0x12d1')]['getMinutes']());var _0x30c40c=(_0x55c73a[_0x477d('0x12ca')][_0x477d('0x12d2')]()<0xa?'0':'')+_0x55c73a[_0x477d('0x12ca')][_0x477d('0x12d2')]()+':'+((_0x55c73a['timeRangeTo']['getMinutes']()<0xa?'0':'')+_0x55c73a[_0x477d('0x12ca')][_0x477d('0x12d3')]());_0x51f96f[_0x477d('0x3a7')](_0x23199a+'-'+_0x30c40c);}else{_0x51f96f[_0x477d('0x3a7')]('*');}if(_0x55c73a[_0x477d('0x12d4')]){if(_0x55c73a[_0x477d('0x12cb')]){_0x51f96f['push'](_0x55c73a[_0x477d('0x12d4')]+'-'+_0x55c73a['dayOfWeekTo']);}else{_0x51f96f[_0x477d('0x3a7')](_0x55c73a['dayOfWeekFrom']);}}else{_0x51f96f[_0x477d('0x3a7')]('*');}if(_0x55c73a['monthDayFrom']){if(_0x55c73a[_0x477d('0x12d6')]){_0x51f96f[_0x477d('0x3a7')](_0x55c73a[_0x477d('0x12d5')]+'-'+_0x55c73a['monthDayTo']);}else{_0x51f96f[_0x477d('0x3a7')](_0x55c73a[_0x477d('0x12d5')]);}}else{_0x51f96f[_0x477d('0x3a7')]('*');}if(_0x55c73a[_0x477d('0x12cc')]){if(_0x55c73a['monthTo']){_0x51f96f[_0x477d('0x3a7')](_0x55c73a[_0x477d('0x12cc')]+'-'+_0x55c73a[_0x477d('0x12cd')]);}else{_0x51f96f['push'](_0x55c73a[_0x477d('0x12cc')]);}}else{_0x51f96f[_0x477d('0x3a7')]('*');}return _0x51f96f['join']();}}function _0x4f2f0a(){_0x55c73a[_0x477d('0xd67')]=[];_0x55c73a[_0x477d('0x79c')][_0x477d('0x79c')]=_0x3e0a23();_0x538ca[_0x477d('0x79c')][_0x477d('0xd70')](_0x55c73a['interval'])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x3dcd0e){_0x55c73a[_0x477d('0x1298')][_0x477d('0x3a7')](_0x3dcd0e);_0x42998a[_0x477d('0x485')]({'title':'Interval\x20properly\x20created','msg':_0x55c73a[_0x477d('0x79c')][_0x477d('0x94')]?_0x55c73a[_0x477d('0x79c')][_0x477d('0x94')]+'\x20has\x20been\x20created!':''});_0x34fbea();})['catch'](function(_0x253efb){console[_0x477d('0x44a')](_0x253efb);_0x55c73a[_0x477d('0xd67')]=_0x253efb['data'][_0x477d('0xd67')]||[{'message':_0x253efb[_0x477d('0x453')](),'type':'api.interval.save'}];});}function _0x39e6b5(){_0x55c73a[_0x477d('0xd67')]=[];_0x55c73a['interval'][_0x477d('0x79c')]=_0x3e0a23();if(_0x55c73a[_0x477d('0x79c')][_0x477d('0xf55')]){_0x55c73a[_0x477d('0x439')]!==_0x477d('0xa02')&&(_0x55c73a[_0x477d('0x79c')]['IntervalId']=null);_0x34fbea(_0x55c73a[_0x477d('0x79c')]);}else{_0x538ca[_0x477d('0x79c')][_0x477d('0x710')]({'id':_0x55c73a[_0x477d('0x79c')]['id']},_0x55c73a['interval'])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x134fb3){var _0x2e4579=_[_0x477d('0x10a')](_0x55c73a[_0x477d('0x1298')],{'id':_0x134fb3['id']});if(_0x2e4579){_[_0x477d('0xef')](_0x2e4579,_0x134fb3);}_0x42998a[_0x477d('0x485')]({'title':_0x477d('0x12d9'),'msg':_0x477d('0x12da')});_0x34fbea();})[_0x477d('0xf8')](function(_0x5ef607){console['error'](_0x5ef607);_0x55c73a['errors']=_0x5ef607[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x5ef607[_0x477d('0x453')](),'type':_0x477d('0x12db')}];});}}function _0x34fbea(_0x4f330d){_0x2a2edc[_0x477d('0x3bc')](_0x4f330d);}}}());(function(){'use strict';_0x2661b1[_0x477d('0xa')]=['$cookies',_0x477d('0x474'),_0x477d('0x3c4'),'$q','$translate',_0x477d('0x3fe'),_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x40e'),_0x477d('0x386'),_0x477d('0x55')];angular['module'](_0x477d('0x35'))['controller'](_0x477d('0x228c'),_0x2661b1);function _0x2661b1(_0x193cae,_0x36337c,_0x21f04f,_0x5f0b75,_0x5acb53,_0x497e2b,_0x133d51,_0x222d3e,_0x20de59,_0x1864d4,_0x3c4440){var _0x2e3473=this;_0x2e3473[_0x477d('0x3e5')]=_0x3c4440[_0x477d('0x5c')]();_0x2e3473[_0x477d('0x79c')]={};_0x2e3473[_0x477d('0x228d')]={'count':0x0,'rows':[]};_0x2e3473[_0x477d('0x228e')]=[];_0x2e3473[_0x477d('0xd66')];_0x2e3473[_0x477d('0xe62')]={'animation':0x64,'onSort':function(_0x509020){_0x1864d4[_0x477d('0x79c')][_0x477d('0x228f')]({'id':_0x2e3473[_0x477d('0x79c')]['id']},_0x509020[_0x477d('0xe64')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x272e15){_0x2e3473[_0x477d('0x228d')][_0x477d('0xf2')]=_0x272e15;})[_0x477d('0xf8')](function(_0x56c8fa){_0x20de59[_0x477d('0x44a')]({'title':_0x56c8fa[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x56c8fa[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x56c8fa[_0x477d('0x44d')]:_0x477d('0x2290'),'msg':_0x56c8fa[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x56c8fa['data']):_0x56c8fa[_0x477d('0x453')]()});});}};_0x2e3473[_0x477d('0x3ef')]={'fields':_0x477d('0x2291'),'nolimit':'true','limit':0xa,'page':0x1};_0x2e3473[_0x477d('0x5ee')]=_0x4bf80c;_0x2e3473['deleteConfirm']=_0xaf7ed0;_0x2e3473[_0x477d('0x485')]=_0x2cec79;_0x2e3473['getIntervalIntervals']=_0x5b2fa1;_0x2e3473[_0x477d('0x2292')]=_0x1018c3;_0x2e3473[_0x477d('0x2293')]=_0xb2883c;_0x2e3473[_0x477d('0x2294')]=_0x4a1530;_0x2e3473['deleteSelectedIntervalIntervals']=_0xcc5ca6;function _0x4bf80c(_0x4f0ae3,_0x5826fb){_0x2e3473['interval']=_0x4f0ae3;_0x2e3473[_0x477d('0xd66')]=typeof _0x5826fb!==_0x477d('0x4a4')?_0x5826fb:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x2e3473[_0x477d('0xe62')][_0x477d('0x45c')]=!_0x2e3473['crudPermissions'][_0x477d('0xedb')]?!![]:![];_0x2e3473['query']['id']=_0x2e3473[_0x477d('0x79c')]['id'];_0x5b2fa1();}function _0xaf7ed0(_0x5ef345,_0x4ba4da){var _0x56f472=_0x133d51[_0x477d('0xd78')]()['title'](_0x477d('0x2295'))[_0x477d('0xd92')](_0x477d('0xd93')+(_0x5ef345[_0x477d('0x94')]||_0x5ef345['id']&&_[_0x477d('0x1367')](_0x477d('0x2296'))+_0x5ef345['id']||_0x477d('0x79c'))+_0x477d('0xd94')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x2297'))[_0x477d('0xd7c')](_0x4ba4da)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x133d51['show'](_0x56f472)[_0x477d('0x76')](function(){_0x4a1530(_0x5ef345);},function(){console[_0x477d('0x7b')]('CANCEL');});}function _0x2cec79(_0x31efb4){_0x2e3473[_0x477d('0x228d')]=_0x31efb4||{'count':0x0,'rows':[]};}function _0x5b2fa1(){_0x2e3473['query']['offset']=(_0x2e3473[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x2e3473[_0x477d('0x3ef')][_0x477d('0x91d')];_0x2e3473[_0x477d('0x553')]=_0x1864d4[_0x477d('0x79c')][_0x477d('0x128f')](_0x2e3473['query'],_0x2cec79)[_0x477d('0x38b')];}function _0x1018c3(_0x36ba0a,_0x322a4a){_0x133d51['show']({'controller':_0x477d('0x228b'),'controllerAs':'vm','templateUrl':'app/main/apps/tools/views/intervals/edit/apps/interval/dialog.html','parent':angular['element'](_0x222d3e['body']),'targetEvent':_0x36ba0a,'clickOutsideToClose':!![],'locals':{'interval':_0x2e3473['interval'],'interval':_0x322a4a,'intervals':_0x2e3473[_0x477d('0x228d')][_0x477d('0xf2')],'license':null,'setting':null,'crudPermissions':_0x2e3473[_0x477d('0xd66')]}});}function _0x4a1530(_0x1f733){_0x1864d4[_0x477d('0x79c')][_0x477d('0xa55')]({'id':_0x1f733['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x2e3473[_0x477d('0x228d')][_0x477d('0xf2')],{'id':_0x1f733['id']});_0x2e3473[_0x477d('0x228d')][_0x477d('0x3bb')]-=0x1;if(!_0x2e3473[_0x477d('0x228d')][_0x477d('0xf2')]['length']){_0x5b2fa1();}_0x20de59[_0x477d('0x485')]({'title':_0x477d('0x2298'),'msg':_0x1f733[_0x477d('0x94')]?_0x1f733['name']+_0x477d('0xd7e'):''});})[_0x477d('0xf8')](function(_0x2ea711){if(_0x2ea711['data']&&_0x2ea711['data'][_0x477d('0xd67')]&&_0x2ea711[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){vm[_0x477d('0xd67')]=_0x2ea711[_0x477d('0x451')]['errors']||[{'message':_0x2ea711[_0x477d('0x453')](),'type':_0x477d('0x122c')}];for(var _0x275335=0x0;_0x275335<_0x2ea711[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x275335++){_0x20de59[_0x477d('0x44a')]({'title':_0x2ea711['data'][_0x477d('0xd67')][_0x275335][_0x477d('0x439')],'msg':_0x2ea711['data']['errors'][_0x275335][_0x477d('0x452')]});}}else{_0x20de59[_0x477d('0x44a')]({'title':_0x2ea711['status']?'API:'+_0x2ea711['status']+_0x477d('0x44c')+_0x2ea711['statusText']:_0x477d('0x122c'),'msg':_0x2ea711[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x2ea711[_0x477d('0x451')][_0x477d('0x452')]):_0x2ea711['message']||_0x2ea711[_0x477d('0x453')]()});}});}function _0xb2883c(){var _0x4e38d9=angular[_0x477d('0x6d9')](_0x2e3473['selectedIntervalIntervals']);_0x2e3473['selectedIntervalIntervals']=[];return _0x4e38d9;}function _0xcc5ca6(_0x2f186e){var _0x3cec97=_0x133d51[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x2299'))[_0x477d('0xd92')](_0x477d('0xd93')+_0x2e3473[_0x477d('0x228e')][_0x477d('0x79')]+_0x477d('0xda0')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x229a'))[_0x477d('0xd7c')](_0x2f186e)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x133d51[_0x477d('0x395')](_0x3cec97)[_0x477d('0x76')](function(){_0x2e3473[_0x477d('0x228e')][_0x477d('0x3b1')](function(_0x4a9853){_0x4a1530(_0x4a9853);});_0x2e3473[_0x477d('0x228e')]=[];});}var _0x45c6bb=!![];var _0x2cfcc3=0x1;_0x36337c[_0x477d('0x4b5')](_0x477d('0x12f3'),function(_0x45ecc8,_0x4d28de){if(_0x45c6bb){_0x497e2b(function(){_0x45c6bb=![];});}else{if(!_0x4d28de){_0x2cfcc3=_0x2e3473[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x45ecc8!==_0x4d28de){_0x2e3473[_0x477d('0x3ef')]['page']=0x1;}if(!_0x45ecc8){_0x2e3473[_0x477d('0x3ef')][_0x477d('0xe03')]=_0x2cfcc3;}_0x5b2fa1();}});}}());(function(){'use strict';_0x3005ca['$inject']=[_0x477d('0x474'),_0x477d('0x3c4'),'$location',_0x477d('0x384'),'$q',_0x477d('0x40d'),_0x477d('0x40e'),_0x477d('0x1298'),'interval',_0x477d('0x386'),_0x477d('0x55'),_0x477d('0x613'),_0x477d('0xc8e'),'crudPermissions'];angular[_0x477d('0xb')](_0x477d('0x35'))[_0x477d('0x3ba')]('CreateOrEditIntervalDialogController',_0x3005ca);function _0x3005ca(_0x274232,_0x1f824c,_0x5f4127,_0x4ea523,_0x5bb4c3,_0x9a64f1,_0x4434f4,_0x2cbd26,_0x5404bc,_0x50d0b9,_0x3a954d,_0x530857,_0x573adc,_0x1c523f){var _0x41dc1a=this;_0x41dc1a['currentUser']=_0x3a954d['getCurrentUser']();_0x41dc1a['errors']=[];_0x41dc1a[_0x477d('0xc8e')]=_0x573adc;_0x41dc1a[_0x477d('0x613')]=_0x530857;_0x41dc1a[_0x477d('0xd66')]=_0x1c523f;_0x41dc1a[_0x477d('0xd68')]={};_0x41dc1a[_0x477d('0xd69')]=_0x41dc1a[_0x477d('0xc8e')]&&_0x41dc1a[_0x477d('0xc8e')][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x41dc1a[_0x477d('0x49a')]=_0x477d('0x12be');_0x41dc1a['interval']=angular[_0x477d('0x6d9')](_0x5404bc);_0x41dc1a[_0x477d('0x1298')]=_0x2cbd26;_0x41dc1a[_0x477d('0x12bf')]=![];if(!_0x41dc1a[_0x477d('0x79c')]){_0x41dc1a[_0x477d('0x79c')]={};_0x41dc1a[_0x477d('0x49a')]='TOOLS.NEW_INTERVAL';_0x41dc1a[_0x477d('0x12bf')]=!![];}_0x41dc1a[_0x477d('0x12ce')]=_0x1691a0;_0x41dc1a['saveInterval']=_0x700fb0;_0x41dc1a['deleteInterval']=_0x4d5c32;_0x41dc1a['getDateFromString']=_0xf1d97e;_0x41dc1a[_0x477d('0x6bf')]=_0x4613ab;function _0x1691a0(){_0x41dc1a[_0x477d('0xd67')]=[];_0x50d0b9['interval'][_0x477d('0xd70')](_0x41dc1a['interval'])[_0x477d('0x38b')]['then'](function(_0xb3c5df){_0x41dc1a['intervals'][_0x477d('0x63b')](_0xb3c5df[_0x477d('0xd71')]());_0x4434f4[_0x477d('0x485')]({'title':_0x477d('0x12d7'),'msg':_0x41dc1a[_0x477d('0x79c')][_0x477d('0x94')]?_0x41dc1a['interval'][_0x477d('0x94')]+_0x477d('0xd73'):''});_0x4613ab(_0xb3c5df);})[_0x477d('0xf8')](function(_0x4daef0){if(_0x4daef0[_0x477d('0x451')]&&_0x4daef0[_0x477d('0x451')][_0x477d('0xd67')]&&_0x4daef0[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x41dc1a[_0x477d('0xd67')]=_0x4daef0[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x4daef0[_0x477d('0x453')](),'type':_0x477d('0x12d8')}];for(var _0x3f922f=0x0;_0x3f922f<_0x4daef0[_0x477d('0x451')][_0x477d('0xd67')]['length'];_0x3f922f+=0x1){_0x4434f4['error']({'title':_0x4daef0['data'][_0x477d('0xd67')][_0x3f922f][_0x477d('0x439')],'msg':_0x4daef0['data'][_0x477d('0xd67')][_0x3f922f][_0x477d('0x452')]});}}else{_0x4434f4['error']({'title':_0x4daef0['status']?_0x477d('0x44b')+_0x4daef0[_0x477d('0x3c3')]+'\x20-\x20'+_0x4daef0['statusText']:_0x477d('0x12d8'),'msg':_0x4daef0['data']?JSON[_0x477d('0x3fb')](_0x4daef0[_0x477d('0x451')][_0x477d('0x452')]):_0x4daef0['toString']()});}});}function _0x700fb0(){_0x41dc1a[_0x477d('0xd67')]=[];_0x50d0b9[_0x477d('0x79c')][_0x477d('0x710')]({'id':_0x41dc1a['interval']['id']},_0x41dc1a[_0x477d('0x79c')])[_0x477d('0x38b')]['then'](function(_0x51cc7d){var _0x237937=_[_0x477d('0x10a')](_0x41dc1a['intervals'],{'id':_0x51cc7d['id']});if(_0x237937){_[_0x477d('0xef')](_0x237937,_[_0x477d('0x10b')](_0x51cc7d[_0x477d('0xd71')](),_[_0x477d('0x7f')](_0x237937)));}_0x4434f4[_0x477d('0x485')]({'title':_0x477d('0x12d9'),'msg':_0x41dc1a[_0x477d('0x79c')][_0x477d('0x94')]?_0x41dc1a['interval'][_0x477d('0x94')]+'\x20has\x20been\x20saved!':''});_0x4613ab(_0x51cc7d);})[_0x477d('0xf8')](function(_0x2615ef){if(_0x2615ef['data']&&_0x2615ef[_0x477d('0x451')][_0x477d('0xd67')]&&_0x2615ef['data'][_0x477d('0xd67')]['length']){_0x41dc1a['errors']=_0x2615ef[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x2615ef[_0x477d('0x453')](),'type':'api.interval.update'}];for(var _0x5c3b7c=0x0;_0x5c3b7c<_0x2615ef[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x5c3b7c++){_0x4434f4[_0x477d('0x44a')]({'title':_0x2615ef[_0x477d('0x451')]['errors'][_0x5c3b7c][_0x477d('0x439')],'msg':_0x2615ef[_0x477d('0x451')][_0x477d('0xd67')][_0x5c3b7c]['message']});}}else{_0x4434f4[_0x477d('0x44a')]({'title':_0x2615ef[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x2615ef['status']+_0x477d('0x44c')+_0x2615ef['statusText']:_0x477d('0x12db'),'msg':_0x2615ef[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x2615ef[_0x477d('0x451')][_0x477d('0x452')]):_0x2615ef[_0x477d('0x453')]()});}});}function _0x4d5c32(_0x2b6c74){_0x41dc1a[_0x477d('0xd67')]=[];var _0x38fe87=_0x4ea523[_0x477d('0xd78')]()['title'](_0x477d('0xd79'))[_0x477d('0xdaf')]('The\x20interval\x20will\x20be\x20deleted.')[_0x477d('0x687')](_0x477d('0x2288'))['ok'](_0x477d('0xd7b'))[_0x477d('0x4f0')]('Cancel')[_0x477d('0xd7c')](_0x2b6c74);_0x4ea523[_0x477d('0x395')](_0x38fe87)['then'](function(){_0x50d0b9[_0x477d('0x79c')][_0x477d('0xa55')]({'id':_0x41dc1a[_0x477d('0x79c')]['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_['remove'](_0x41dc1a['intervals'],{'id':_0x41dc1a[_0x477d('0x79c')]['id']});_0x4434f4['success']({'title':_0x477d('0x2289'),'msg':(_0x41dc1a[_0x477d('0x79c')][_0x477d('0x94')]||_0x477d('0x79c'))+'\x20has\x20been\x20deleted!'});_0x4613ab(_0x41dc1a[_0x477d('0x79c')]);})['catch'](function(_0x5f4dfa){if(_0x5f4dfa[_0x477d('0x451')]&&_0x5f4dfa['data'][_0x477d('0xd67')]&&_0x5f4dfa['data'][_0x477d('0xd67')][_0x477d('0x79')]){_0x41dc1a[_0x477d('0xd67')]=_0x5f4dfa[_0x477d('0x451')]['errors']||[{'message':_0x5f4dfa[_0x477d('0x453')](),'type':_0x477d('0x228a')}];for(var _0x67df6f=0x0;_0x67df6f<_0x5f4dfa[_0x477d('0x451')][_0x477d('0xd67')]['length'];_0x67df6f++){_0x4434f4['error']({'title':_0x5f4dfa['data'][_0x477d('0xd67')][_0x67df6f][_0x477d('0x439')],'msg':_0x5f4dfa[_0x477d('0x451')]['errors'][_0x67df6f]['message']});}}else{_0x4434f4[_0x477d('0x44a')]({'title':_0x5f4dfa['status']?_0x477d('0x44b')+_0x5f4dfa[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x5f4dfa[_0x477d('0x44d')]:_0x477d('0x228a'),'msg':_0x5f4dfa[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x5f4dfa[_0x477d('0x451')][_0x477d('0x452')]):_0x5f4dfa[_0x477d('0x452')]||_0x5f4dfa[_0x477d('0x453')]()});}});},function(){});}function _0xf1d97e(_0x423b9b){return _0x423b9b===null?undefined:new Date(_0x423b9b);}function _0x4613ab(_0x5851e9){_0x4ea523[_0x477d('0x3bc')](_0x5851e9);}}}());(function(){'use strict';_0x266b84['$inject']=[_0x477d('0x3c4'),'$location','$mdDialog',_0x477d('0x475'),_0x477d('0x40d'),_0x477d('0x613'),'setting',_0x477d('0x386'),_0x477d('0x40e'),_0x477d('0x55'),_0x477d('0x79c'),_0x477d('0x3ac')];angular[_0x477d('0xb')](_0x477d('0x35'))['controller'](_0x477d('0x229b'),_0x266b84);function _0x266b84(_0x2c7f97,_0x118ec7,_0x3fa06b,_0xa917b2,_0xca2043,_0x520eff,_0x514e78,_0x4af034,_0x3de76e,_0x1c64d6,_0x5035b8,_0x2d04eb){var _0x12d1c5=this;_0x12d1c5['currentUser']=_0x1c64d6['getCurrentUser']();_0x12d1c5[_0x477d('0x613')]=_0x520eff;_0x12d1c5[_0x477d('0xc8e')]=_0x514e78;_0x12d1c5[_0x477d('0xd69')]=_0x12d1c5[_0x477d('0xc8e')][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x12d1c5[_0x477d('0x3cc')]=_0x118ec7['protocol']()+_0x477d('0x1209')+_0x118ec7[_0x477d('0x3c9')]();_0x12d1c5[_0x477d('0x79c')]=_0x5035b8||_0x2c7f97['params'][_0x477d('0x79c')]||{};_0x12d1c5['userProfileSection']=_0x2d04eb&&_0x2d04eb[_0x477d('0x3bb')]==0x1?_0x2d04eb[_0x477d('0xf2')][0x0]:null;_0x12d1c5['crudPermissions']=_0x1c64d6[_0x477d('0xd81')](_0x12d1c5[_0x477d('0x3ac')]?_0x12d1c5['userProfileSection'][_0x477d('0xd66')]:null);_0x12d1c5[_0x477d('0xd68')]={};_0x12d1c5[_0x477d('0xe95')]=_0x2c7f97[_0x477d('0x37e')][_0x477d('0xe96')]||0x0;_0x12d1c5[_0x477d('0x120a')]=_0x3de76e[_0x477d('0x669')];_0x12d1c5[_0x477d('0x229c')]=_0x16091b;_0x12d1c5[_0x477d('0x1931')]=_0x535050;function _0x16091b(){_0x2c7f97['go'](_0x477d('0x2b9'),{},{'reload':_0x477d('0x2b9')});}function _0x535050(){_0x4af034[_0x477d('0x79c')][_0x477d('0x710')]({'id':_0x12d1c5[_0x477d('0x79c')]['id']},_0x12d1c5[_0x477d('0x79c')])[_0x477d('0x38b')]['then'](function(){_0x3de76e['success']({'title':_0x477d('0x229d'),'msg':_0x12d1c5['interval'][_0x477d('0x94')]?_0x12d1c5[_0x477d('0x79c')]['name']+_0x477d('0xed7'):''});})[_0x477d('0xf8')](function(_0x440c4c){_0x3de76e[_0x477d('0x44a')]({'title':_0x440c4c['status']?_0x477d('0x44b')+_0x440c4c['status']+_0x477d('0x44c')+_0x440c4c[_0x477d('0x44d')]:'SYSTEM:GETinterval','msg':_0x440c4c[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x440c4c['data']):_0x440c4c['toString']()});});}}}());(function(){'use strict';_0x7e41a7[_0x477d('0xa')]=[_0x477d('0x474'),'$window',_0x477d('0x3c4'),'$mdSidenav',_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x3fe'),_0x477d('0x40d'),'intervals',_0x477d('0x3a5'),_0x477d('0x3ac'),_0x477d('0x386'),_0x477d('0x342'),_0x477d('0x40e'),_0x477d('0x55'),_0x477d('0x613'),'setting'];angular['module']('app.tools')['controller'](_0x477d('0x229e'),_0x7e41a7);function _0x7e41a7(_0x48d03c,_0x206b25,_0x532100,_0x41d115,_0x3ef7cc,_0x1f8c2f,_0x1cc581,_0x4f83ed,_0x2aca51,_0x53901b,_0x1a66fd,_0xd220d7,_0x556a2b,_0x29fae3,_0x3b84fc,_0x18aab1,_0x2113c0){var _0x77e518=this;_0x77e518[_0x477d('0x613')]=_0x18aab1;_0x77e518['setting']=_0x2113c0;_0x77e518[_0x477d('0x3e5')]=_0x3b84fc[_0x477d('0x5c')]();_0x77e518[_0x477d('0x1298')]=_0x2aca51||{'count':0x0,'rows':[]};_0x77e518[_0x477d('0x3a5')]=_0x53901b;_0x77e518[_0x477d('0x3ac')]=_0x1a66fd&&_0x1a66fd[_0x477d('0x3bb')]==0x1?_0x1a66fd[_0x477d('0xf2')][0x0]:null;_0x77e518[_0x477d('0xd66')]=_0x3b84fc['parseCrudPermissions'](_0x77e518[_0x477d('0x3ac')]?_0x77e518[_0x477d('0x3ac')]['crudPermissions']:null);_0x77e518[_0x477d('0xd82')]=_0x477d('0x1298');_0x77e518['listOrder']='';_0x77e518['listOrderAsc']=null;_0x77e518[_0x477d('0x229f')]=[];_0x77e518['query']={'fields':_0x477d('0x1e5'),'sort':'-updatedAt','IntervalId':'null','limit':0xa,'page':0x1};_0x77e518[_0x477d('0xea6')]=_0x367f4b;_0x77e518['deleteconfirm']=_0x2b8835;_0x77e518[_0x477d('0x485')]=_0x141a83;_0x77e518[_0x477d('0x128f')]=_0x4b01dd;_0x77e518['createOrEditInterval']=_0x269ae1;_0x77e518[_0x477d('0x2286')]=_0x430480;_0x77e518[_0x477d('0x22a0')]=_0x2ab4b2;_0x77e518[_0x477d('0x22a1')]=_0x5de111;_0x77e518[_0x477d('0x22a2')]=_0x5aa70b;_0x77e518[_0x477d('0x22a3')]=_0x5ca41a;function _0x367f4b(_0x4c710d,_0x5146dd){_0x532100['go'](_0x477d('0x22a4'),{'id':_0x4c710d['id'],'interval':_0x4c710d,'crudPermissions':_0x77e518[_0x477d('0xd66')]});}function _0x2b8835(_0x3b6749,_0xe2909f){var _0x889032=_0x3ef7cc[_0x477d('0xd78')]()[_0x477d('0x49a')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20'+_[_0x477d('0xd91')]('interval')+'?')[_0x477d('0xd92')](_0x477d('0xd93')+(_0x3b6749[_0x477d('0x94')]||_0x477d('0x79c'))+_0x477d('0xd94')+_0x477d('0xd95'))[_0x477d('0x687')]('delete\x20interval')['targetEvent'](_0xe2909f)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x3ef7cc[_0x477d('0x395')](_0x889032)['then'](function(){_0x430480(_0x3b6749);},function(){console[_0x477d('0x7b')](_0x477d('0xd97'));});}var _0x237d02=!![];var _0x131a73=0x1;_0x48d03c['$watch'](_0x477d('0xd98'),function(_0x1f1708,_0x5eb89a){if(_0x237d02){_0x1cc581(function(){_0x237d02=![];});}else{if(!_0x5eb89a){_0x131a73=_0x77e518[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x1f1708!==_0x5eb89a){_0x77e518[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0x1f1708){_0x77e518[_0x477d('0x3ef')][_0x477d('0xe03')]=_0x131a73;}_0x77e518[_0x477d('0x128f')]();}});function _0x141a83(_0x9a11ef){_0x77e518['intervals']=_0x9a11ef||{'count':0x0,'rows':[]};}function _0x4b01dd(){_0x77e518[_0x477d('0x3ef')][_0x477d('0x91c')]=(_0x77e518[_0x477d('0x3ef')]['page']-0x1)*_0x77e518['query'][_0x477d('0x91d')];if(_0x3b84fc[_0x477d('0x56')](_0x477d('0x5f'))){_0x77e518['promise']=_0xd220d7[_0x477d('0x79c')][_0x477d('0x376')](_0x77e518[_0x477d('0x3ef')],_0x141a83)['$promise'];}else{_0x77e518[_0x477d('0x3ef')]['id']=_0x77e518[_0x477d('0x3a5')]['id'];_0x77e518[_0x477d('0x3ef')][_0x477d('0xd99')]=_0x477d('0xa5');_0x77e518[_0x477d('0x553')]=_0xd220d7[_0x477d('0x3a5')][_0x477d('0xd9a')](_0x77e518[_0x477d('0x3ef')],_0x141a83)[_0x477d('0x38b')];}}function _0x269ae1(_0x36def6,_0x23adef){_0x3ef7cc[_0x477d('0x395')]({'controller':_0x477d('0x2285'),'controllerAs':'vm','templateUrl':_0x477d('0x22a5'),'parent':angular[_0x477d('0x398')](_0x1f8c2f[_0x477d('0x399')]),'targetEvent':_0x36def6,'clickOutsideToClose':!![],'locals':{'interval':_0x23adef,'intervals':_0x77e518['intervals'][_0x477d('0xf2')],'license':_0x77e518[_0x477d('0x613')],'setting':_0x77e518[_0x477d('0xc8e')],'crudPermissions':_0x77e518[_0x477d('0xd66')]}});}function _0x430480(_0xeff5d9){_0xd220d7[_0x477d('0x79c')]['delete']({'id':_0xeff5d9['id']})[_0x477d('0x38b')]['then'](function(){_[_0x477d('0x39c')](_0x77e518['intervals']['rows'],{'id':_0xeff5d9['id']});_0x77e518[_0x477d('0x1298')][_0x477d('0x3bb')]-=0x1;if(!_0x77e518[_0x477d('0x1298')][_0x477d('0xf2')][_0x477d('0x79')]){_0x77e518[_0x477d('0x128f')]();}_0x29fae3[_0x477d('0x485')]({'title':_['startCase'](_0x477d('0x1246'))+_0x477d('0xd9d'),'msg':_0xeff5d9[_0x477d('0x94')]?_0xeff5d9[_0x477d('0x94')]+_0x477d('0xd7e'):''});})[_0x477d('0xf8')](function(_0x4abc72){if(_0x4abc72[_0x477d('0x451')]&&_0x4abc72[_0x477d('0x451')]['errors']&&_0x4abc72[_0x477d('0x451')]['errors'][_0x477d('0x79')]){_0x77e518[_0x477d('0xd67')]=_0x4abc72[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x4abc72['toString'](),'type':_0x477d('0x22a6')}];for(var _0x1e0386=0x0;_0x1e0386<_0x4abc72['data'][_0x477d('0xd67')][_0x477d('0x79')];_0x1e0386++){_0x29fae3[_0x477d('0x44a')]({'title':_0x4abc72[_0x477d('0x451')][_0x477d('0xd67')][_0x1e0386][_0x477d('0x439')],'msg':_0x4abc72[_0x477d('0x451')][_0x477d('0xd67')][_0x1e0386]['message']});}}else{_0x29fae3[_0x477d('0x44a')]({'title':_0x4abc72[_0x477d('0x3c3')]?'API:'+_0x4abc72[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x4abc72[_0x477d('0x44d')]:'SYSTEM:DELETEinterval','msg':_0x4abc72[_0x477d('0x451')]?JSON['stringify'](_0x4abc72[_0x477d('0x451')][_0x477d('0x452')]):_0x4abc72['message']||_0x4abc72['toString']()});}});}function _0x2ab4b2(){var _0x501df5=angular[_0x477d('0x6d9')](_0x77e518[_0x477d('0x229f')]);_0x77e518['selectedIntervals']=[];return _0x501df5;}function _0x5de111(_0x1dc449){var _0x13da06=_0x3ef7cc['confirm']()[_0x477d('0x49a')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20intervals?')[_0x477d('0xd92')](_0x477d('0xd93')+_0x77e518[_0x477d('0x229f')][_0x477d('0x79')]+_0x477d('0xda0')+'\x20will\x20be\x20deleted.')[_0x477d('0x687')]('delete\x20Intervals')[_0x477d('0xd7c')](_0x1dc449)['ok']('OK')['cancel']('CANCEL');_0x3ef7cc[_0x477d('0x395')](_0x13da06)[_0x477d('0x76')](function(){_0x77e518[_0x477d('0x229f')]['forEach'](function(_0xbdee78){_0x430480(_0xbdee78);});_0x77e518[_0x477d('0x229f')]=[];});}function _0x5aa70b(){_0x77e518['selectedIntervals']=[];}function _0x5ca41a(){_0x77e518[_0x477d('0x229f')]=_0x77e518[_0x477d('0x1298')][_0x477d('0xf2')];}}}());(function(){'use strict';_0x1b8125['$inject']=[_0x477d('0x474'),_0x477d('0x3c4'),_0x477d('0xd64'),_0x477d('0x384'),'$q',_0x477d('0x40d'),_0x477d('0x40e'),_0x477d('0xf39'),'pause',_0x477d('0x386'),_0x477d('0x55'),_0x477d('0x613'),_0x477d('0xc8e'),_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x35'))[_0x477d('0x3ba')](_0x477d('0x22a7'),_0x1b8125);function _0x1b8125(_0x5c4d92,_0x5e6ebb,_0x5aec47,_0x5e5b1d,_0x1f4867,_0xad3c04,_0x42dc3d,_0x27aef8,_0x42a88f,_0x3ab834,_0x12d0d5,_0x44c6a7,_0x13f670,_0x1e2a1d){var _0x57cef6=this;_0x57cef6['currentUser']=_0x12d0d5[_0x477d('0x5c')]();_0x57cef6['errors']=[];_0x57cef6[_0x477d('0xc8e')]=_0x13f670;_0x57cef6[_0x477d('0x613')]=_0x44c6a7;_0x57cef6[_0x477d('0xd66')]=_0x1e2a1d;_0x57cef6[_0x477d('0xd68')]={};_0x57cef6[_0x477d('0xd69')]=_0x57cef6[_0x477d('0xc8e')]&&_0x57cef6[_0x477d('0xc8e')][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x57cef6[_0x477d('0x49a')]=_0x477d('0x22a8');_0x57cef6['pause']=angular[_0x477d('0x6d9')](_0x42a88f);_0x57cef6[_0x477d('0xf39')]=_0x27aef8;_0x57cef6[_0x477d('0x22a9')]=![];if(!_0x57cef6[_0x477d('0x657')]){_0x57cef6[_0x477d('0x657')]={};_0x57cef6[_0x477d('0x49a')]=_0x477d('0x22aa');_0x57cef6['newPause']=!![];}_0x57cef6[_0x477d('0x22ab')]=_0x353997;_0x57cef6['savePause']=_0x10004e;_0x57cef6[_0x477d('0x22ac')]=_0x425e70;_0x57cef6[_0x477d('0xd6f')]=_0x1be9d5;_0x57cef6['closeDialog']=_0xf893ba;function _0x353997(){_0x57cef6[_0x477d('0xd67')]=[];_0x3ab834[_0x477d('0x657')][_0x477d('0xd70')](_0x57cef6[_0x477d('0x657')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x1f072a){_0x57cef6[_0x477d('0xf39')]['unshift'](_0x1f072a['toJSON']());_0x42dc3d[_0x477d('0x485')]({'title':_0x477d('0x22ad'),'msg':_0x57cef6[_0x477d('0x657')][_0x477d('0x94')]?_0x57cef6[_0x477d('0x657')][_0x477d('0x94')]+_0x477d('0xd73'):''});_0xf893ba(_0x1f072a);})['catch'](function(_0x3b6264){if(_0x3b6264[_0x477d('0x451')]&&_0x3b6264[_0x477d('0x451')][_0x477d('0xd67')]&&_0x3b6264[_0x477d('0x451')]['errors'][_0x477d('0x79')]){_0x57cef6[_0x477d('0xd67')]=_0x3b6264[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x3b6264[_0x477d('0x453')](),'type':_0x477d('0x22ae')}];for(var _0x108062=0x0;_0x108062<_0x3b6264['data'][_0x477d('0xd67')][_0x477d('0x79')];_0x108062+=0x1){_0x42dc3d[_0x477d('0x44a')]({'title':_0x3b6264[_0x477d('0x451')]['errors'][_0x108062][_0x477d('0x439')],'msg':_0x3b6264[_0x477d('0x451')][_0x477d('0xd67')][_0x108062][_0x477d('0x452')]});}}else{_0x42dc3d['error']({'title':_0x3b6264[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x3b6264['status']+_0x477d('0x44c')+_0x3b6264[_0x477d('0x44d')]:_0x477d('0x22ae'),'msg':_0x3b6264['data']?JSON['stringify'](_0x3b6264[_0x477d('0x451')][_0x477d('0x452')]):_0x3b6264['toString']()});}});}function _0x10004e(){_0x57cef6[_0x477d('0xd67')]=[];_0x3ab834['pause'][_0x477d('0x710')]({'id':_0x57cef6['pause']['id']},_0x57cef6[_0x477d('0x657')])[_0x477d('0x38b')]['then'](function(_0x1e15ba){var _0x2904ff=_[_0x477d('0x10a')](_0x57cef6[_0x477d('0xf39')],{'id':_0x1e15ba['id']});if(_0x2904ff){_[_0x477d('0xef')](_0x2904ff,_['pick'](_0x1e15ba[_0x477d('0xd71')](),_['keys'](_0x2904ff)));}_0x42dc3d[_0x477d('0x485')]({'title':'Pause\x20properly\x20saved!','msg':_0x57cef6[_0x477d('0x657')][_0x477d('0x94')]?_0x57cef6[_0x477d('0x657')][_0x477d('0x94')]+_0x477d('0xd76'):''});_0xf893ba(_0x1e15ba);})[_0x477d('0xf8')](function(_0x4aa9ba){if(_0x4aa9ba['data']&&_0x4aa9ba[_0x477d('0x451')][_0x477d('0xd67')]&&_0x4aa9ba[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x57cef6[_0x477d('0xd67')]=_0x4aa9ba[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x4aa9ba[_0x477d('0x453')](),'type':'api.pause.update'}];for(var _0x5501b7=0x0;_0x5501b7<_0x4aa9ba['data'][_0x477d('0xd67')][_0x477d('0x79')];_0x5501b7++){_0x42dc3d[_0x477d('0x44a')]({'title':_0x4aa9ba[_0x477d('0x451')][_0x477d('0xd67')][_0x5501b7][_0x477d('0x439')],'msg':_0x4aa9ba[_0x477d('0x451')]['errors'][_0x5501b7]['message']});}}else{_0x42dc3d['error']({'title':_0x4aa9ba['status']?'API:'+_0x4aa9ba['status']+_0x477d('0x44c')+_0x4aa9ba[_0x477d('0x44d')]:'api.pause.update','msg':_0x4aa9ba[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x4aa9ba['data'][_0x477d('0x452')]):_0x4aa9ba[_0x477d('0x453')]()});}});}function _0x425e70(_0x486bee){_0x57cef6[_0x477d('0xd67')]=[];var _0x592add=_0x5e5b1d[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xd79'))['content'](_0x477d('0x22af'))[_0x477d('0x687')]('Delete\x20Pause')['ok'](_0x477d('0xd7b'))[_0x477d('0x4f0')](_0x477d('0x688'))['targetEvent'](_0x486bee);_0x5e5b1d[_0x477d('0x395')](_0x592add)[_0x477d('0x76')](function(){_0x3ab834[_0x477d('0x657')][_0x477d('0xa55')]({'id':_0x57cef6[_0x477d('0x657')]['id']})['$promise'][_0x477d('0x76')](function(){_['remove'](_0x57cef6[_0x477d('0xf39')],{'id':_0x57cef6[_0x477d('0x657')]['id']});_0x42dc3d[_0x477d('0x485')]({'title':_0x477d('0x22b0'),'msg':(_0x57cef6[_0x477d('0x657')][_0x477d('0x94')]||_0x477d('0x657'))+_0x477d('0xd7e')});_0xf893ba(_0x57cef6[_0x477d('0x657')]);})[_0x477d('0xf8')](function(_0x1b312e){if(_0x1b312e['data']&&_0x1b312e[_0x477d('0x451')]['errors']&&_0x1b312e[_0x477d('0x451')]['errors'][_0x477d('0x79')]){_0x57cef6['errors']=_0x1b312e[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x1b312e[_0x477d('0x453')](),'type':_0x477d('0x22b1')}];for(var _0x3574b9=0x0;_0x3574b9<_0x1b312e[_0x477d('0x451')][_0x477d('0xd67')]['length'];_0x3574b9++){_0x42dc3d[_0x477d('0x44a')]({'title':_0x1b312e[_0x477d('0x451')]['errors'][_0x3574b9]['type'],'msg':_0x1b312e[_0x477d('0x451')][_0x477d('0xd67')][_0x3574b9][_0x477d('0x452')]});}}else{_0x42dc3d[_0x477d('0x44a')]({'title':_0x1b312e['status']?_0x477d('0x44b')+_0x1b312e['status']+_0x477d('0x44c')+_0x1b312e[_0x477d('0x44d')]:_0x477d('0x22b1'),'msg':_0x1b312e[_0x477d('0x451')]?JSON['stringify'](_0x1b312e['data'][_0x477d('0x452')]):_0x1b312e['message']||_0x1b312e[_0x477d('0x453')]()});}});},function(){});}function _0x1be9d5(_0x176b64){return _0x176b64===null?undefined:new Date(_0x176b64);}function _0xf893ba(_0x1b2f75){_0x5e5b1d[_0x477d('0x3bc')](_0x1b2f75);}}}());(function(){'use strict';_0x3d90ac[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x387'),'$state',_0x477d('0x554'),_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x3fe'),'$translate',_0x477d('0xf39'),_0x477d('0x3a5'),'userProfileSection',_0x477d('0x386'),'msUtils',_0x477d('0x40e'),'Auth',_0x477d('0x613'),_0x477d('0xc8e')];angular[_0x477d('0xb')](_0x477d('0x35'))[_0x477d('0x3ba')](_0x477d('0x22b2'),_0x3d90ac);function _0x3d90ac(_0x291f50,_0x3e6003,_0x12334d,_0x1982ca,_0x59877a,_0x5303d9,_0x3890ac,_0x511196,_0x4f82fe,_0x42eb87,_0x54b5d2,_0x5cd20b,_0x4daa41,_0x3b931c,_0x532a35,_0x113c93,_0x6cda9b){var _0x458c9c=this;_0x458c9c[_0x477d('0x613')]=_0x113c93;_0x458c9c[_0x477d('0xc8e')]=_0x6cda9b;_0x458c9c['currentUser']=_0x532a35[_0x477d('0x5c')]();_0x458c9c['pauses']=_0x4f82fe||{'count':0x0,'rows':[]};_0x458c9c[_0x477d('0x3a5')]=_0x42eb87;_0x458c9c['userProfileSection']=_0x54b5d2&&_0x54b5d2[_0x477d('0x3bb')]==0x1?_0x54b5d2[_0x477d('0xf2')][0x0]:null;_0x458c9c['crudPermissions']=_0x532a35[_0x477d('0xd81')](_0x458c9c[_0x477d('0x3ac')]?_0x458c9c[_0x477d('0x3ac')][_0x477d('0xd66')]:null);_0x458c9c[_0x477d('0xd82')]='pauses';_0x458c9c[_0x477d('0xd83')]='';_0x458c9c[_0x477d('0xd84')]=null;_0x458c9c[_0x477d('0x22b3')]=[];_0x458c9c[_0x477d('0x3ef')]={'fields':'createdAt,updatedAt,id,name,description','sort':_0x477d('0x59'),'limit':0xa,'page':0x1};_0x458c9c[_0x477d('0xd86')]=_0x2bcb16;_0x458c9c[_0x477d('0xd88')]=_0x13485d;_0x458c9c[_0x477d('0x485')]=_0x39feb7;_0x458c9c[_0x477d('0x22b4')]=_0x17a948;_0x458c9c[_0x477d('0x22b5')]=_0x1a6bff;_0x458c9c[_0x477d('0x22ac')]=_0x2e0197;_0x458c9c[_0x477d('0x22b6')]=_0x1d4e1e;_0x458c9c[_0x477d('0x22b7')]=_0x251eab;_0x458c9c[_0x477d('0x22b8')]=_0x3be03e;_0x458c9c[_0x477d('0x22b9')]=_0x1a7f20;function _0x2bcb16(_0x416bef,_0x472eee){_0x59877a[_0x477d('0x395')]({'controller':_0x477d('0x22a7'),'controllerAs':'vm','templateUrl':_0x477d('0x22ba'),'parent':angular[_0x477d('0x398')](_0x5303d9['body']),'targetEvent':_0x472eee,'clickOutsideToClose':!![],'locals':{'pause':_0x416bef,'pauses':_0x458c9c[_0x477d('0xf39')][_0x477d('0xf2')],'license':_0x458c9c[_0x477d('0x613')],'setting':null,'crudPermissions':_0x458c9c[_0x477d('0xd66')]}});}function _0x13485d(_0x57e486,_0xc37e74){var _0x29241f=_0x59877a[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xd90')+_['startCase'](_0x477d('0x657'))+'?')[_0x477d('0xd92')](_0x477d('0xd93')+(_0x57e486[_0x477d('0x94')]||'pause')+''+'\x20will\x20be\x20deleted.')[_0x477d('0x687')](_0x477d('0x22bb'))['targetEvent'](_0xc37e74)['ok']('OK')['cancel']('CANCEL');_0x59877a['show'](_0x29241f)['then'](function(){_0x2e0197(_0x57e486);},function(){console[_0x477d('0x7b')](_0x477d('0xd97'));});}var _0x53fa55=!![];var _0x30a631=0x1;_0x291f50[_0x477d('0x4b5')](_0x477d('0xd98'),function(_0x65695c,_0x34451e){if(_0x53fa55){_0x3890ac(function(){_0x53fa55=![];});}else{if(!_0x34451e){_0x30a631=_0x458c9c[_0x477d('0x3ef')]['page'];}if(_0x65695c!==_0x34451e){_0x458c9c['query'][_0x477d('0xe03')]=0x1;}if(!_0x65695c){_0x458c9c['query'][_0x477d('0xe03')]=_0x30a631;}_0x458c9c[_0x477d('0x22b4')]();}});function _0x39feb7(_0x326902){_0x458c9c[_0x477d('0xf39')]=_0x326902||{'count':0x0,'rows':[]};}function _0x17a948(){_0x458c9c['query']['offset']=(_0x458c9c[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x458c9c[_0x477d('0x3ef')][_0x477d('0x91d')];if(_0x532a35[_0x477d('0x56')](_0x477d('0x5f'))){_0x458c9c[_0x477d('0x553')]=_0x5cd20b['pause']['get'](_0x458c9c['query'],_0x39feb7)['$promise'];}else{_0x458c9c[_0x477d('0x3ef')]['id']=_0x458c9c[_0x477d('0x3a5')]['id'];_0x458c9c['query']['section']=_0x477d('0xac');_0x458c9c['promise']=_0x5cd20b[_0x477d('0x3a5')][_0x477d('0xd9a')](_0x458c9c[_0x477d('0x3ef')],_0x39feb7)['$promise'];}}function _0x1a6bff(_0x117445,_0x3ccc07){_0x59877a['show']({'controller':_0x477d('0x22a7'),'controllerAs':'vm','templateUrl':_0x477d('0x22ba'),'parent':angular[_0x477d('0x398')](_0x5303d9['body']),'targetEvent':_0x117445,'clickOutsideToClose':!![],'locals':{'pause':_0x3ccc07,'pauses':_0x458c9c[_0x477d('0xf39')]['rows'],'license':_0x458c9c[_0x477d('0x613')],'setting':_0x458c9c[_0x477d('0xc8e')],'crudPermissions':_0x458c9c[_0x477d('0xd66')]}});}function _0x2e0197(_0x27f42e){_0x5cd20b[_0x477d('0x657')]['delete']({'id':_0x27f42e['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x458c9c[_0x477d('0xf39')][_0x477d('0xf2')],{'id':_0x27f42e['id']});_0x458c9c['pauses'][_0x477d('0x3bb')]-=0x1;if(!_0x458c9c[_0x477d('0xf39')]['rows']['length']){_0x458c9c['getPauses']();}_0x3b931c[_0x477d('0x485')]({'title':_[_0x477d('0xd91')](_0x477d('0x13fa'))+'\x20deleted!','msg':_0x27f42e[_0x477d('0x94')]?_0x27f42e[_0x477d('0x94')]+'\x20has\x20been\x20deleted!':''});})['catch'](function(_0x28dda2){if(_0x28dda2[_0x477d('0x451')]&&_0x28dda2[_0x477d('0x451')][_0x477d('0xd67')]&&_0x28dda2[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x458c9c[_0x477d('0xd67')]=_0x28dda2[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x28dda2[_0x477d('0x453')](),'type':_0x477d('0x22bc')}];for(var _0x14c795=0x0;_0x14c795<_0x28dda2[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x14c795++){_0x3b931c[_0x477d('0x44a')]({'title':_0x28dda2[_0x477d('0x451')][_0x477d('0xd67')][_0x14c795]['type'],'msg':_0x28dda2['data']['errors'][_0x14c795][_0x477d('0x452')]});}}else{_0x3b931c[_0x477d('0x44a')]({'title':_0x28dda2[_0x477d('0x3c3')]?'API:'+_0x28dda2[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x28dda2['statusText']:_0x477d('0x22bc'),'msg':_0x28dda2[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x28dda2[_0x477d('0x451')][_0x477d('0x452')]):_0x28dda2[_0x477d('0x452')]||_0x28dda2[_0x477d('0x453')]()});}});}function _0x1d4e1e(){var _0x5a6199=angular[_0x477d('0x6d9')](_0x458c9c[_0x477d('0x22b3')]);_0x458c9c[_0x477d('0x22b3')]=[];return _0x5a6199;}function _0x251eab(_0x2c73cd){var _0x4c7f94=_0x59877a[_0x477d('0xd78')]()['title'](_0x477d('0x22bd'))[_0x477d('0xd92')](_0x477d('0xd93')+_0x458c9c[_0x477d('0x22b3')][_0x477d('0x79')]+_0x477d('0xda0')+'\x20will\x20be\x20deleted.')[_0x477d('0x687')](_0x477d('0x22be'))[_0x477d('0xd7c')](_0x2c73cd)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x59877a[_0x477d('0x395')](_0x4c7f94)['then'](function(){_0x458c9c['selectedPauses'][_0x477d('0x3b1')](function(_0x4a4263){_0x2e0197(_0x4a4263);});_0x458c9c[_0x477d('0x22b3')]=[];});}function _0x3be03e(){_0x458c9c[_0x477d('0x22b3')]=[];}function _0x1a7f20(){_0x458c9c[_0x477d('0x22b3')]=_0x458c9c[_0x477d('0xf39')][_0x477d('0xf2')];}}}());(function(){'use strict';_0x4ce420[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x3c4'),'$location','$mdDialog','$q',_0x477d('0x40d'),'toasty',_0x477d('0x22bf'),_0x477d('0x22c0'),_0x477d('0x386'),_0x477d('0x55'),_0x477d('0x613'),_0x477d('0xc8e'),_0x477d('0xd66')];angular[_0x477d('0xb')]('app.tools')[_0x477d('0x3ba')](_0x477d('0x22c1'),_0x4ce420);function _0x4ce420(_0x5b2e87,_0x21b82a,_0x2d2563,_0x55ca10,_0x2a15cf,_0xdaf075,_0x368f5d,_0x3350eb,_0x478335,_0x224e3c,_0x407267,_0x27ef8c,_0x2cfbd3,_0x277815){var _0x4d0f23=this;_0x4d0f23[_0x477d('0x3e5')]=_0x407267[_0x477d('0x5c')]();_0x4d0f23[_0x477d('0xd67')]=[];_0x4d0f23[_0x477d('0xc8e')]=_0x2cfbd3;_0x4d0f23[_0x477d('0x613')]=_0x27ef8c;_0x4d0f23[_0x477d('0xd66')]=_0x277815;_0x4d0f23[_0x477d('0xd68')]={};_0x4d0f23['passwordPattern']=_0x4d0f23['setting']&&_0x4d0f23['setting'][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x4d0f23[_0x477d('0x49a')]=_0x477d('0x22c2');_0x4d0f23[_0x477d('0x22c0')]=angular['copy'](_0x478335);_0x4d0f23['schedules']=_0x3350eb;_0x4d0f23[_0x477d('0x22c3')]=![];_0x4d0f23[_0x477d('0x2269')]=[];_0x4d0f23['query']={'fields':_0x477d('0x2254'),'limit':0xa,'page':0x1,'sort':_0x477d('0x59')};if(!_0x4d0f23['schedule']){_0x4d0f23[_0x477d('0x22c0')]={'output':_0x477d('0xeed'),'active':!![],'startAt':new Date(),'endAt':new Date(Date[_0x477d('0x936')]()+0x1e*0x18*0x3c*0x3c*0x3e8),'cron':_0x477d('0x22c4'),'subtractNumber':0x1,'subtractUnit':_0x477d('0x6fa'),'sendMail':![],'sendIfEmpty':!![]};_0x4d0f23['title']='TOOLS.NEW_SCHEDULE';_0x4d0f23[_0x477d('0x22c3')]=!![];}else{_0x4d0f23[_0x477d('0xe15')]=_0x4d0f23[_0x477d('0x22c0')]['DefaultReportId']?'analyticDefaultReport':_0x477d('0x919');var _0x5187fb=_0x4d0f23['schedule'][_0x477d('0xe12')]?_0x4d0f23[_0x477d('0x22c0')]['DefaultReportId']:_0x4d0f23[_0x477d('0x22c0')][_0x477d('0xe11')];_0x224e3c[_0x4d0f23[_0x477d('0xe15')]]['get']({'fields':_0x477d('0x2259')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x126349){_0x4d0f23[_0x477d('0x225a')]=_[_0x477d('0x10a')](_0x126349[_0x477d('0xf2')],{'id':_0x5187fb});_0x4d0f23['schedule']['report']=_0x4d0f23[_0x477d('0x225a')][_0x477d('0x94')];_0x4d0f23[_0x477d('0x3ef')][_0x477d('0x374')]=_0x4d0f23[_0x477d('0x225a')]['parent'];});}_0x4d0f23[_0x477d('0x22c5')]=_0x4797bf;_0x4d0f23[_0x477d('0x22c6')]=_0x2e77dc;_0x4d0f23[_0x477d('0x22c7')]=_0x1daacc;_0x4d0f23['getDateFromString']=_0x3beed1;_0x4d0f23[_0x477d('0xebe')]=_0x510468;_0x4d0f23[_0x477d('0x225b')]=_0x33f24a;_0x4d0f23[_0x477d('0x225c')]=_0x289b56;_0x4d0f23[_0x477d('0x22c8')]=_0x33bb7e;_0x4d0f23[_0x477d('0x6bf')]=_0x13004e;_0x224e3c[_0x477d('0xbda')][_0x477d('0x376')]({})[_0x477d('0x38b')]['then'](function(_0x14007d){_0x4d0f23[_0x477d('0xea2')]=_0x14007d[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x4e768b){_0x368f5d[_0x477d('0x44a')]({'title':_0x4e768b[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x4e768b[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x4e768b[_0x477d('0x44d')]:_0x477d('0x225d'),'msg':_0x4e768b[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x4e768b['data']):_0x4e768b[_0x477d('0x453')]()});});_0x407267[_0x477d('0x56')]('admin')?_0x224e3c[_0x477d('0x1775')][_0x477d('0x376')]({'fields':'id,name','sort':'name'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0xa01f76){_0x4d0f23[_0x477d('0xf33')]=_0xa01f76['rows']||[];})['catch'](function(_0x14264a){_0x368f5d[_0x477d('0x44a')]({'title':_0x14264a[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x14264a[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x14264a[_0x477d('0x44d')]:_0x477d('0x22c9'),'msg':_0x14264a[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x14264a[_0x477d('0x451')]):_0x14264a[_0x477d('0x453')]()});}):_0x224e3c[_0x477d('0x1775')]['get']({'fields':_0x477d('0x9c'),'sort':'name'})[_0x477d('0x38b')]['then'](function(_0x39cfaa){_0x4d0f23[_0x477d('0xf33')]=_0x39cfaa[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x224e3c['userProfileSection'][_0x477d('0x376')]({'userProfileId':_0x4d0f23[_0x477d('0x3e5')]['userProfileId'],'sectionId':0x25a})['$promise'];})[_0x477d('0x76')](function(_0x356881){var _0xb7f79a=_0x356881&&_0x356881[_0x477d('0xf2')]?_0x356881[_0x477d('0xf2')][0x0]:null;if(!_0xb7f79a){var _0x29767e=[];var _0x1baa35=null;if(_0x4d0f23[_0x477d('0x22c0')]){_0x1baa35=_[_0x477d('0x10a')](_0x4d0f23[_0x477d('0xf33')],{'id':Number(_0x4d0f23[_0x477d('0x22c0')][_0x477d('0x14b8')])});}for(var _0x34adb5=0x0;_0x34adb5<_0x4d0f23['mailAccounts'][_0x477d('0x79')];_0x34adb5++){if(_0x1baa35&&_0x4d0f23[_0x477d('0xf33')][_0x34adb5]['id']===_0x1baa35['id']){_0x4d0f23[_0x477d('0xf33')][_0x34adb5][_0x477d('0xf8b')]=![];_0x29767e[_0x477d('0x3a7')](_0x4d0f23['mailAccounts'][_0x34adb5]);}}_0x4d0f23[_0x477d('0xf33')]=_0x29767e;}else{if(!_0xb7f79a[_0x477d('0x3ad')]){return _0x224e3c[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0xb7f79a['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x10eb9e){var _0x3bcf13=_['map'](_0x10eb9e[_0x477d('0xf2')],function(_0x451101){return _['find'](_0x4d0f23[_0x477d('0xf33')],{'id':_0x451101[_0x477d('0x3af')]});});var _0x229541=null;if(_0x4d0f23[_0x477d('0x22c0')]){_0x229541=_[_0x477d('0x10a')](_0x4d0f23[_0x477d('0xf33')],{'id':Number(_0x4d0f23[_0x477d('0x22c0')]['MailAccountId'])});}if(_0x229541&&!_[_0x477d('0x3ab')](_0x3bcf13,['id',_0x229541['id']])){var _0x136512=_['find'](_0x4d0f23['mailAccounts'],{'id':_0x229541['id']});_0x136512['canSelect']=![];_0x3bcf13[_0x477d('0x3a7')](_0x136512);}_0x4d0f23[_0x477d('0xf33')]=_0x3bcf13;});}}})[_0x477d('0xf8')](function(_0x5ded90){_0x368f5d['error']({'title':_0x5ded90['status']?_0x477d('0x44b')+_0x5ded90[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x5ded90['statusText']:_0x477d('0x22ca'),'msg':_0x5ded90[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x5ded90['data']):_0x5ded90[_0x477d('0x453')]()});});function _0x4797bf(){_0x4d0f23['errors']=[];_0x224e3c['schedule'][_0x477d('0xd70')](_0x4d0f23['schedule'])['$promise'][_0x477d('0x76')](function(_0x4fbf79){_0x4d0f23[_0x477d('0x22bf')][_0x477d('0x63b')](_0x4fbf79[_0x477d('0xd71')]());_0x368f5d['success']({'title':_0x477d('0x22cb'),'msg':_0x4d0f23[_0x477d('0x22c0')][_0x477d('0x94')]?_0x4d0f23['schedule'][_0x477d('0x94')]+_0x477d('0xd73'):''});_0x13004e(_0x4fbf79);})['catch'](function(_0x11c6ae){if(_0x11c6ae[_0x477d('0x451')]&&_0x11c6ae[_0x477d('0x451')][_0x477d('0xd67')]&&_0x11c6ae[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x4d0f23['errors']=_0x11c6ae[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x11c6ae[_0x477d('0x453')](),'type':_0x477d('0x22cc')}];for(var _0x4c29a8=0x0;_0x4c29a8<_0x11c6ae[_0x477d('0x451')]['errors']['length'];_0x4c29a8+=0x1){_0x368f5d['error']({'title':_0x11c6ae[_0x477d('0x451')][_0x477d('0xd67')][_0x4c29a8]['type'],'msg':_0x11c6ae[_0x477d('0x451')][_0x477d('0xd67')][_0x4c29a8]['message']});}}else{_0x368f5d[_0x477d('0x44a')]({'title':_0x11c6ae[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x11c6ae[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x11c6ae['statusText']:'api.schedule.save','msg':_0x11c6ae['data']?JSON[_0x477d('0x3fb')](_0x11c6ae[_0x477d('0x451')][_0x477d('0x452')]):_0x11c6ae['toString']()});}});}function _0x2e77dc(){_0x4d0f23[_0x477d('0xd67')]=[];_0x224e3c[_0x477d('0x22c0')]['update']({'id':_0x4d0f23[_0x477d('0x22c0')]['id']},_0x4d0f23[_0x477d('0x22c0')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x5488e4){var _0x5eff1a=_['find'](_0x4d0f23['schedules'],{'id':_0x5488e4['id']});if(_0x5eff1a){_['merge'](_0x5eff1a,_['pick'](_0x5488e4[_0x477d('0xd71')](),_[_0x477d('0x7f')](_0x5eff1a)));}_0x368f5d['success']({'title':_0x477d('0x22cd'),'msg':_0x4d0f23[_0x477d('0x22c0')][_0x477d('0x94')]?_0x4d0f23[_0x477d('0x22c0')]['name']+_0x477d('0xd76'):''});_0x13004e(_0x5488e4);})[_0x477d('0xf8')](function(_0x1f49e5){if(_0x1f49e5[_0x477d('0x451')]&&_0x1f49e5[_0x477d('0x451')]['errors']&&_0x1f49e5[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x4d0f23['errors']=_0x1f49e5[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x1f49e5['toString'](),'type':_0x477d('0x22ce')}];for(var _0x55fc37=0x0;_0x55fc37<_0x1f49e5[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x55fc37++){_0x368f5d[_0x477d('0x44a')]({'title':_0x1f49e5[_0x477d('0x451')][_0x477d('0xd67')][_0x55fc37][_0x477d('0x439')],'msg':_0x1f49e5['data'][_0x477d('0xd67')][_0x55fc37][_0x477d('0x452')]});}}else{_0x368f5d[_0x477d('0x44a')]({'title':_0x1f49e5['status']?_0x477d('0x44b')+_0x1f49e5['status']+'\x20-\x20'+_0x1f49e5[_0x477d('0x44d')]:_0x477d('0x22ce'),'msg':_0x1f49e5[_0x477d('0x451')]?JSON['stringify'](_0x1f49e5[_0x477d('0x451')]['message']):_0x1f49e5[_0x477d('0x453')]()});}});}function _0x1daacc(_0x52e3b9){_0x4d0f23[_0x477d('0xd67')]=[];var _0x45ed64=_0x55ca10[_0x477d('0xd78')]()[_0x477d('0x49a')]('Are\x20you\x20sure?')[_0x477d('0xdaf')]('The\x20schedule\x20will\x20be\x20deleted.')[_0x477d('0x687')]('Delete\x20Schedule')['ok'](_0x477d('0xd7b'))['cancel']('Cancel')[_0x477d('0xd7c')](_0x52e3b9);_0x55ca10[_0x477d('0x395')](_0x45ed64)[_0x477d('0x76')](function(){_0x224e3c[_0x477d('0x22c0')][_0x477d('0xa55')]({'id':_0x4d0f23['schedule']['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x4d0f23[_0x477d('0x22bf')],{'id':_0x4d0f23['schedule']['id']});_0x368f5d[_0x477d('0x485')]({'title':'Schedule\x20properly\x20deleted!','msg':(_0x4d0f23[_0x477d('0x22c0')]['name']||_0x477d('0x22c0'))+'\x20has\x20been\x20deleted!'});_0x13004e(_0x4d0f23[_0x477d('0x22c0')]);})[_0x477d('0xf8')](function(_0x238334){if(_0x238334[_0x477d('0x451')]&&_0x238334[_0x477d('0x451')][_0x477d('0xd67')]&&_0x238334[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x4d0f23['errors']=_0x238334[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x238334[_0x477d('0x453')](),'type':_0x477d('0x22cf')}];for(var _0x56018d=0x0;_0x56018d<_0x238334['data'][_0x477d('0xd67')][_0x477d('0x79')];_0x56018d++){_0x368f5d[_0x477d('0x44a')]({'title':_0x238334[_0x477d('0x451')]['errors'][_0x56018d][_0x477d('0x439')],'msg':_0x238334['data']['errors'][_0x56018d]['message']});}}else{_0x368f5d[_0x477d('0x44a')]({'title':_0x238334[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x238334['status']+'\x20-\x20'+_0x238334[_0x477d('0x44d')]:_0x477d('0x22cf'),'msg':_0x238334['data']?JSON[_0x477d('0x3fb')](_0x238334[_0x477d('0x451')]['message']):_0x238334[_0x477d('0x452')]||_0x238334[_0x477d('0x453')]()});}});},function(){});}function _0x46e911(){var _0x4c41f2={'core':{'multiple':![],'animation':!![],'error':function(_0x3268d9){console['error'](_0x477d('0xe0b')+angular[_0x477d('0x56c')](_0x3268d9));},'check_callback':!![],'worker':!![]},'version':0x1,'plugins':[_0x477d('0xeda')]};if(_0x4d0f23[_0x477d('0x3e5')][_0x477d('0x3a1')]!==_0x477d('0x5f')){return _0x224e3c['userProfileSection'][_0x477d('0x376')]({'fields':_0x477d('0x63'),'userProfileId':_0x4d0f23[_0x477d('0x3e5')]['userProfileId'],'sectionId':0x4b3})['$promise'][_0x477d('0x76')](function(_0x34cb79){_0x4d0f23['userProfileSection']=_0x34cb79&&_0x34cb79[_0x477d('0x3bb')]==0x1?_0x34cb79[_0x477d('0xf2')][0x0]:null;return _0x4c41f2;})['catch'](function(_0x493e43){_0x368f5d[_0x477d('0x44a')]({'title':_0x477d('0x16a5'),'msg':_0x493e43[_0x477d('0x452')]});});}else{return _0x4c41f2;}}function _0xa75e94(_0x77a306){return _0x77a306?{'loaded':_0x491ea0,'select_node':_0x4553bf}:{'loaded':_0x4a8fe7,'select_node':_0x3b4878};}function _0x4553bf(_0x463d88,_0x4a1ea3){_0x4d0f23[_0x477d('0xec0')][_0x477d('0xeb0')](!![])[_0x477d('0xed4')]();_0x4d0f23[_0x477d('0xec0')]['jstree'](!![])['close_all']();_0x4d0f23[_0x477d('0xe0f')]=_0x4a1ea3[_0x477d('0x584')];_0x4d0f23[_0x477d('0xe0f')][_0x477d('0x9f6')]=!![];_0x4d0f23[_0x477d('0xeb4')]=_0x4d0f23['treeCustomInstance'][_0x477d('0xeb0')](!![])['get_path'](_0x4d0f23['currentNode'])[_0x477d('0x3f6')]('/\x20');_0x4d0f23[_0x477d('0xe15')]=_0x477d('0x919');_0x4d0f23[_0x477d('0x3ef')][_0x477d('0x374')]=_0x4a1ea3['node']['id'];_0x510468();}function _0x3b4878(_0x28a16c,_0x123103){_0x4d0f23[_0x477d('0xec1')][_0x477d('0xeb0')](!![])[_0x477d('0xed4')]();_0x4d0f23[_0x477d('0xec1')][_0x477d('0xeb0')](!![])[_0x477d('0xed5')]();_0x4d0f23[_0x477d('0xe0f')]=_0x123103[_0x477d('0x584')];_0x4d0f23[_0x477d('0xe0f')][_0x477d('0x9f6')]=![];_0x4d0f23[_0x477d('0xeb4')]=_0x4d0f23['treeDefaultInstance'][_0x477d('0xeb0')](!![])[_0x477d('0xed3')](_0x4d0f23[_0x477d('0xe0f')])['join']('/\x20');_0x4d0f23['apiName']=_0x477d('0x918');_0x4d0f23[_0x477d('0x3ef')][_0x477d('0x374')]=_0x123103[_0x477d('0x584')]['id'];_0x510468();}function _0x491ea0(){if(!_0x4d0f23['newSchedule']&&_0x4d0f23['apiName']===_0x477d('0x919')){var _0x3e0080=_0x4d0f23[_0x477d('0xec1')]['jstree'](!![])['get_node'](_0x4d0f23[_0x477d('0x3ef')]['parent']);_0x4553bf(null,{'node':_0x3e0080,'selected':_0x3e0080['id']});}}function _0x4a8fe7(){if(!_0x4d0f23[_0x477d('0x22c3')]&&_0x4d0f23['apiName']===_0x477d('0x918')){var _0x43ca7a=_0x4d0f23[_0x477d('0xec0')][_0x477d('0xeb0')](!![])[_0x477d('0xee6')](_0x4d0f23[_0x477d('0x3ef')][_0x477d('0x374')]);_0x3b4878(null,{'node':_0x43ca7a,'selected':_0x43ca7a['id']});}}function _0x510468(){_0x4d0f23[_0x477d('0x3ef')]['offset']=(_0x4d0f23['query'][_0x477d('0xe03')]-0x1)*_0x4d0f23['query'][_0x477d('0x91d')];if(_0x4d0f23[_0x477d('0xe15')]){if(_0x4d0f23[_0x477d('0x3e5')]['role']===_0x477d('0x5f')){_0x4d0f23['promise']=_0x224e3c[_0x4d0f23[_0x477d('0xe15')]][_0x477d('0x376')](_0x4d0f23[_0x477d('0x3ef')],_0xda81f)[_0x477d('0x38b')];}else{if(!_0x4d0f23[_0x477d('0x3ac')]){return _0xda81f(null);}else{if(_0x4d0f23[_0x477d('0x3ac')][_0x477d('0x3ad')]){_0x4d0f23[_0x477d('0x553')]=_0x224e3c[_0x4d0f23['apiName']]['get'](_0x4d0f23['query'],_0xda81f)[_0x477d('0x38b')];}else{var _0x150e0c=[];_0x4d0f23[_0x477d('0x553')]=_0x224e3c[_0x4d0f23[_0x477d('0xe15')]][_0x477d('0x376')](_0x4d0f23[_0x477d('0x3ef')])[_0x477d('0x38b')]['then'](function(_0x24c4f1){_0x150e0c=_0x24c4f1&&_0x24c4f1[_0x477d('0xf2')]?_0x24c4f1['rows']:[];if(_0x150e0c[_0x477d('0x79')]>0x0){return _0x224e3c[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x4d0f23['userProfileSection']['id'],'type':_0x4d0f23[_0x477d('0xe15')]===_0x477d('0x918')?_0x477d('0xec2'):_0x477d('0xec3')})[_0x477d('0x38b')]['then'](function(_0x587b47){var _0xa9c616=_0x587b47&&_0x587b47[_0x477d('0xf2')]?_0x587b47[_0x477d('0xf2')]:[];if(_0xa9c616[_0x477d('0x79')]>0x0){var _0x5e4054=[];_0x150e0c[_0x477d('0x3b1')](function(_0x4146cf){var _0xd7c899=_['find'](_0xa9c616,[_0x477d('0x3af'),_0x4146cf['id']]);if(_0xd7c899)_0x5e4054['push'](_0x4146cf);});return _0xda81f({'count':_0x5e4054[_0x477d('0x79')],'rows':_0x5e4054});}else{return _0xda81f(null);}});}else{return _0xda81f(null);}})['catch'](function(_0x4f6be4){_0x368f5d[_0x477d('0x44a')]({'title':_0x4f6be4[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x4f6be4[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x4f6be4[_0x477d('0x44d')]:_0x477d('0x2268'),'msg':_0x4f6be4[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x4f6be4[_0x477d('0x451')]):_0x4f6be4[_0x477d('0x453')]()});});}}}}}function _0xda81f(_0x283c89){_0x4d0f23['reports']=_0x283c89||{'count':0x0,'rows':[]};if(!_0x4d0f23[_0x477d('0x22c3')]){_0x4d0f23[_0x477d('0x2269')][_0x477d('0x3a7')](_[_0x477d('0x10a')](_0x4d0f23[_0x477d('0xe19')][_0x477d('0xf2')],{'id':_0x4d0f23['currentReport']['id']}));}}function _0x33bb7e(){_0x4d0f23[_0x477d('0x22d0')]=_0x4d0f23[_0x477d('0xea2')][0x0]?angular[_0x477d('0x73c')](_0x4d0f23['treeReports'][0x0][_0x477d('0xeac')]):[];_0x4d0f23['treeCustomData']=_0x4d0f23[_0x477d('0xea2')][0x1]?angular[_0x477d('0x73c')](_0x4d0f23[_0x477d('0xea2')][0x1]['tree']):[];_0x4d0f23[_0x477d('0x226a')]=_0x46e911();_0x4d0f23['treeDefaultEvents']=_0xa75e94(![]);_0x4d0f23[_0x477d('0xe0c')]=_0xa75e94(!![]);_0x55ca10[_0x477d('0x395')]({'controller':function(){return _0x4d0f23;},'controllerAs':'vm','templateUrl':'app/main/apps/tools/views/schedules/partialViews/reports/treeReports.html','autoWrap':!![],'skipHide':!![]});}function _0x33f24a(){_0x4d0f23['schedule'][_0x477d('0xe06')]=_0x4d0f23[_0x477d('0x2269')][0x0][_0x477d('0x94')];if(_0x4d0f23['currentNode']['custom']){_0x4d0f23[_0x477d('0x22c0')][_0x477d('0xe11')]=_0x4d0f23[_0x477d('0x2269')][0x0]['id'];delete _0x4d0f23['schedule']['DefaultReportId'];}else{_0x4d0f23['schedule'][_0x477d('0xe12')]=_0x4d0f23['selectedReport'][0x0]['id'];delete _0x4d0f23[_0x477d('0x22c0')][_0x477d('0xe11')];}_0x5b2e87[_0x477d('0x22d1')][_0x477d('0xe06')]['$setDirty']();_0x55ca10[_0x477d('0x3bc')]();}function _0x289b56(){_0x55ca10[_0x477d('0x3bc')]();}function _0x3beed1(_0x33b11a){return _0x33b11a===null?undefined:new Date(_0x33b11a);}function _0x13004e(_0x12e2e1){_0x55ca10[_0x477d('0x3bc')](_0x12e2e1);}}}());(function(){'use strict';_0x142b9d[_0x477d('0xa')]=[_0x477d('0x474'),'$window','$state',_0x477d('0x554'),'$mdDialog',_0x477d('0x475'),_0x477d('0x3fe'),_0x477d('0x40d'),'schedules',_0x477d('0x3a5'),_0x477d('0x3ac'),_0x477d('0x386'),'msUtils',_0x477d('0x40e'),'Auth',_0x477d('0x613'),_0x477d('0xc8e')];angular[_0x477d('0xb')]('app.tools')[_0x477d('0x3ba')](_0x477d('0x22d2'),_0x142b9d);function _0x142b9d(_0x487a96,_0x36bbc1,_0x2de989,_0x3f2419,_0x48982b,_0x437d05,_0x3b4597,_0x2d8653,_0x33518f,_0x2d1057,_0x25436a,_0xe8a954,_0x2a2135,_0x54a0fd,_0x2d8685,_0x28e651,_0x22fdaa){var _0x1a3ed1=this;_0x1a3ed1['license']=_0x28e651;_0x1a3ed1[_0x477d('0xc8e')]=_0x22fdaa;_0x1a3ed1['currentUser']=_0x2d8685[_0x477d('0x5c')]();_0x1a3ed1[_0x477d('0x22bf')]=_0x33518f||{'count':0x0,'rows':[]};_0x1a3ed1['userProfile']=_0x2d1057;_0x1a3ed1[_0x477d('0x3ac')]=_0x25436a&&_0x25436a[_0x477d('0x3bb')]==0x1?_0x25436a['rows'][0x0]:null;_0x1a3ed1[_0x477d('0xd66')]=_0x2d8685['parseCrudPermissions'](_0x1a3ed1['userProfileSection']?_0x1a3ed1[_0x477d('0x3ac')][_0x477d('0xd66')]:null);_0x1a3ed1[_0x477d('0xd82')]=_0x477d('0x22bf');_0x1a3ed1[_0x477d('0xd83')]='';_0x1a3ed1[_0x477d('0xd84')]=null;_0x1a3ed1[_0x477d('0x22d3')]=[];_0x1a3ed1[_0x477d('0x3ef')]={'fields':_0x477d('0x2c4'),'sort':'-updatedAt','limit':0xa,'page':0x1};_0x1a3ed1['arrayoutput']=_['keyBy']([{'option':_0x477d('0x22d4'),'value':_0x477d('0x22d5')},{'option':_0x477d('0x22d6'),'value':'\x27pdf\x27'},{'option':_0x477d('0x22d7'),'value':_0x477d('0x22d8')}],function(_0xb3e5ee){return _[_0x477d('0x409')](_0xb3e5ee[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x1a3ed1[_0x477d('0x22d9')]=_[_0x477d('0xdb5')]([{'option':_0x477d('0x22da'),'value':'\x27minutes\x27'},{'option':'Hours','value':_0x477d('0x22db')},{'option':_0x477d('0x22dc'),'value':'\x27days\x27'},{'option':_0x477d('0x22dd'),'value':'\x27weeks\x27'},{'option':_0x477d('0x22de'),'value':_0x477d('0x22df')},{'option':_0x477d('0x22e0'),'value':_0x477d('0x22e1')},{'option':_0x477d('0x22e2'),'value':_0x477d('0x22e3')}],function(_0x4c1759){return _['replace'](_0x4c1759[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x1a3ed1[_0x477d('0xd86')]=_0x4d1b8b;_0x1a3ed1[_0x477d('0x22e4')]=_0x283aba;_0x1a3ed1['deleteconfirm']=_0x3b7e04;_0x1a3ed1['success']=_0x28cc1a;_0x1a3ed1[_0x477d('0x22e5')]=_0x254e59;_0x1a3ed1[_0x477d('0x22e6')]=_0x1c313d;_0x1a3ed1[_0x477d('0x22c7')]=_0x1338ad;_0x1a3ed1[_0x477d('0x22e7')]=_0x44c32b;_0x1a3ed1[_0x477d('0x22e8')]=_0x42c51a;_0x1a3ed1[_0x477d('0x22e9')]=_0x1c3bde;_0x1a3ed1[_0x477d('0x22ea')]=_0x4520bc;_0xe8a954['analyticTreeReport'][_0x477d('0x376')]({})[_0x477d('0x38b')]['then'](function(_0x3fb4be){_0x1a3ed1['treeReports']=_0x3fb4be[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x46f94c){_0x54a0fd[_0x477d('0x44a')]({'title':_0x46f94c['status']?_0x477d('0x44b')+_0x46f94c[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x46f94c[_0x477d('0x44d')]:_0x477d('0x225d'),'msg':_0x46f94c['data']?JSON[_0x477d('0x3fb')](_0x46f94c[_0x477d('0x451')]):_0x46f94c[_0x477d('0x453')]()});});_0x2d8685[_0x477d('0x56')](_0x477d('0x5f'))?_0xe8a954[_0x477d('0x1775')][_0x477d('0x376')]({'fields':'id,name','sort':_0x477d('0x94')})['$promise']['then'](function(_0x3d15c6){_0x1a3ed1[_0x477d('0xf33')]=_0x3d15c6[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x26ee79){_0x54a0fd[_0x477d('0x44a')]({'title':_0x26ee79[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x26ee79[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x26ee79[_0x477d('0x44d')]:_0x477d('0x22c9'),'msg':_0x26ee79['data']?JSON[_0x477d('0x3fb')](_0x26ee79['data']):_0x26ee79[_0x477d('0x453')]()});}):_0xe8a954[_0x477d('0x1775')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94')})['$promise']['then'](function(_0x202f7a){_0x1a3ed1[_0x477d('0xf33')]=_0x202f7a[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0xe8a954['userProfileSection'][_0x477d('0x376')]({'userProfileId':_0x1a3ed1[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x25a})['$promise'];})['then'](function(_0x1da3d0){var _0x59756d=_0x1da3d0&&_0x1da3d0['rows']?_0x1da3d0['rows'][0x0]:null;if(!_0x59756d){var _0x3158ae=[];var _0x769c29=null;if(_0x1a3ed1[_0x477d('0x22c0')]){_0x769c29=_[_0x477d('0x10a')](_0x1a3ed1[_0x477d('0xf33')],{'id':Number(_0x1a3ed1['schedule'][_0x477d('0x14b8')])});}for(var _0x1db830=0x0;_0x1db830<_0x1a3ed1['mailAccounts'][_0x477d('0x79')];_0x1db830++){if(_0x769c29&&_0x1a3ed1['mailAccounts'][_0x1db830]['id']===_0x769c29['id']){_0x1a3ed1[_0x477d('0xf33')][_0x1db830][_0x477d('0xf8b')]=![];_0x3158ae[_0x477d('0x3a7')](_0x1a3ed1[_0x477d('0xf33')][_0x1db830]);}}_0x1a3ed1['mailAccounts']=_0x3158ae;}else{if(!_0x59756d[_0x477d('0x3ad')]){return _0xe8a954[_0x477d('0x3ae')]['get']({'sectionId':_0x59756d['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x516be6){var _0x153e12=_[_0x477d('0x3cb')](_0x516be6['rows'],function(_0x2b4d32){return _[_0x477d('0x10a')](_0x1a3ed1['mailAccounts'],{'id':_0x2b4d32[_0x477d('0x3af')]});});var _0x55345f=null;if(_0x1a3ed1[_0x477d('0x22c0')]){_0x55345f=_[_0x477d('0x10a')](_0x1a3ed1[_0x477d('0xf33')],{'id':Number(_0x1a3ed1[_0x477d('0x22c0')]['MailAccountId'])});}if(_0x55345f&&!_[_0x477d('0x3ab')](_0x153e12,['id',_0x55345f['id']])){var _0x5395b1=_[_0x477d('0x10a')](_0x1a3ed1[_0x477d('0xf33')],{'id':_0x55345f['id']});_0x5395b1[_0x477d('0xf8b')]=![];_0x153e12[_0x477d('0x3a7')](_0x5395b1);}_0x1a3ed1['mailAccounts']=_0x153e12;});}}})[_0x477d('0xf8')](function(_0x135df6){_0x54a0fd[_0x477d('0x44a')]({'title':_0x135df6[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x135df6[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x135df6[_0x477d('0x44d')]:_0x477d('0x22ca'),'msg':_0x135df6[_0x477d('0x451')]?JSON['stringify'](_0x135df6[_0x477d('0x451')]):_0x135df6[_0x477d('0x453')]()});});function _0x4d1b8b(_0x14f052,_0x20bd9a){_0x48982b['show']({'controller':_0x477d('0x22c1'),'controllerAs':'vm','templateUrl':_0x477d('0x22eb'),'parent':angular['element'](_0x437d05[_0x477d('0x399')]),'targetEvent':_0x20bd9a,'clickOutsideToClose':!![],'locals':{'schedule':_0x14f052,'schedules':_0x1a3ed1[_0x477d('0x22bf')][_0x477d('0xf2')],'license':_0x1a3ed1['license'],'setting':null,'crudPermissions':_0x1a3ed1[_0x477d('0xd66')]}});}function _0x283aba(_0x4f5b71,_0x242eb6){var _0x3178e5=_0x48982b[_0x477d('0xd78')]()['title']('Are\x20you\x20sure\x20want\x20to\x20run\x20the\x20schedule?')['htmlContent'](_0x477d('0xd93')+(_0x4f5b71['name']||'schedule')+_0x477d('0xd94')+'\x20will\x20be\x20run.')['ariaLabel']('delete\x20schedule')[_0x477d('0xd7c')](_0x242eb6)['ok']('OK')[_0x477d('0x4f0')]('CANCEL');_0x48982b[_0x477d('0x395')](_0x3178e5)[_0x477d('0x76')](function(){return _0xe8a954[_0x477d('0x22c0')]['run']({'id':_0x4f5b71['id']})[_0x477d('0x38b')];},function(){console['log'](_0x477d('0xd97'));});}function _0x3b7e04(_0x165f06,_0x3bc0ac){var _0x21ddd7=_0x48982b[_0x477d('0xd78')]()['title'](_0x477d('0xd90')+_['startCase'](_0x477d('0x22c0'))+'?')['htmlContent'](_0x477d('0xd93')+(_0x165f06['name']||_0x477d('0x22c0'))+_0x477d('0xd94')+_0x477d('0xd95'))['ariaLabel'](_0x477d('0x22ec'))[_0x477d('0xd7c')](_0x3bc0ac)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x48982b['show'](_0x21ddd7)[_0x477d('0x76')](function(){_0x1338ad(_0x165f06);},function(){console['log'](_0x477d('0xd97'));});}var _0x1fa13c=!![];var _0x5bdb5d=0x1;_0x487a96['$watch'](_0x477d('0xd98'),function(_0x49e742,_0x11bbaa){if(_0x1fa13c){_0x3b4597(function(){_0x1fa13c=![];});}else{if(!_0x11bbaa){_0x5bdb5d=_0x1a3ed1[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x49e742!==_0x11bbaa){_0x1a3ed1[_0x477d('0x3ef')]['page']=0x1;}if(!_0x49e742){_0x1a3ed1[_0x477d('0x3ef')]['page']=_0x5bdb5d;}_0x1a3ed1[_0x477d('0x22e5')]();}});function _0x28cc1a(_0x458b4d){_0x1a3ed1['schedules']=_0x458b4d||{'count':0x0,'rows':[]};}function _0x254e59(){_0x1a3ed1[_0x477d('0x3ef')][_0x477d('0x91c')]=(_0x1a3ed1[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x1a3ed1['query'][_0x477d('0x91d')];if(_0x2d8685[_0x477d('0x56')](_0x477d('0x5f'))){_0x1a3ed1['promise']=_0xe8a954[_0x477d('0x22c0')][_0x477d('0x376')](_0x1a3ed1['query'],_0x28cc1a)[_0x477d('0x38b')];}else{_0x1a3ed1[_0x477d('0x3ef')]['id']=_0x1a3ed1[_0x477d('0x3a5')]['id'];_0x1a3ed1[_0x477d('0x3ef')][_0x477d('0xd99')]=_0x477d('0x2c5');_0x1a3ed1[_0x477d('0x553')]=_0xe8a954['userProfile'][_0x477d('0xd9a')](_0x1a3ed1[_0x477d('0x3ef')],_0x28cc1a)[_0x477d('0x38b')];}}function _0x1c313d(_0x2c3b9e,_0x3430c9){_0x48982b['show']({'controller':'CreateOrEditScheduleDialogController','controllerAs':'vm','templateUrl':'app/main/apps/tools/views/schedules/create/dialog.html','parent':angular[_0x477d('0x398')](_0x437d05['body']),'targetEvent':_0x2c3b9e,'clickOutsideToClose':!![],'locals':{'schedule':_0x3430c9,'schedules':_0x1a3ed1[_0x477d('0x22bf')][_0x477d('0xf2')],'license':_0x1a3ed1['license'],'setting':_0x1a3ed1[_0x477d('0xc8e')],'crudPermissions':_0x1a3ed1['crudPermissions']}});}function _0x1338ad(_0x3fa607){_0xe8a954['schedule'][_0x477d('0xa55')]({'id':_0x3fa607['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x1a3ed1[_0x477d('0x22bf')]['rows'],{'id':_0x3fa607['id']});_0x1a3ed1['schedules'][_0x477d('0x3bb')]-=0x1;if(!_0x1a3ed1[_0x477d('0x22bf')]['rows'][_0x477d('0x79')]){_0x1a3ed1['getScheduler']();}_0x54a0fd['success']({'title':_['startCase'](_0x477d('0x22ed'))+_0x477d('0xd9d'),'msg':_0x3fa607[_0x477d('0x94')]?_0x3fa607[_0x477d('0x94')]+'\x20has\x20been\x20deleted!':''});})[_0x477d('0xf8')](function(_0x18b69a){if(_0x18b69a[_0x477d('0x451')]&&_0x18b69a['data'][_0x477d('0xd67')]&&_0x18b69a[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x1a3ed1[_0x477d('0xd67')]=_0x18b69a[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x18b69a[_0x477d('0x453')](),'type':_0x477d('0x22ee')}];for(var _0x35216b=0x0;_0x35216b<_0x18b69a['data'][_0x477d('0xd67')][_0x477d('0x79')];_0x35216b++){_0x54a0fd[_0x477d('0x44a')]({'title':_0x18b69a['data'][_0x477d('0xd67')][_0x35216b][_0x477d('0x439')],'msg':_0x18b69a[_0x477d('0x451')][_0x477d('0xd67')][_0x35216b]['message']});}}else{_0x54a0fd[_0x477d('0x44a')]({'title':_0x18b69a[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x18b69a['status']+_0x477d('0x44c')+_0x18b69a[_0x477d('0x44d')]:_0x477d('0x22ee'),'msg':_0x18b69a[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x18b69a['data'][_0x477d('0x452')]):_0x18b69a[_0x477d('0x452')]||_0x18b69a[_0x477d('0x453')]()});}});}function _0x44c32b(){var _0x1aa99a=angular[_0x477d('0x6d9')](_0x1a3ed1['selectedScheduler']);_0x1a3ed1[_0x477d('0x22d3')]=[];return _0x1aa99a;}function _0x42c51a(_0x4702b9){var _0x102ef3=_0x48982b[_0x477d('0xd78')]()[_0x477d('0x49a')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20schedules?')[_0x477d('0xd92')](_0x477d('0xd93')+_0x1a3ed1[_0x477d('0x22d3')][_0x477d('0x79')]+_0x477d('0xda0')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x22ef'))[_0x477d('0xd7c')](_0x4702b9)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x48982b[_0x477d('0x395')](_0x102ef3)[_0x477d('0x76')](function(){_0x1a3ed1['selectedScheduler'][_0x477d('0x3b1')](function(_0x131c36){_0x1338ad(_0x131c36);});_0x1a3ed1['selectedScheduler']=[];});}function _0x1c3bde(){_0x1a3ed1[_0x477d('0x22d3')]=[];}function _0x4520bc(){_0x1a3ed1['selectedScheduler']=_0x1a3ed1['schedules']['rows'];}}}());(function(){'use strict';_0x4bcce5['$inject']=[_0x477d('0x474'),_0x477d('0x3c4'),_0x477d('0xd64'),_0x477d('0x384'),'$q',_0x477d('0x40d'),'toasty','sounds',_0x477d('0x15c9'),_0x477d('0x386'),_0x477d('0x55'),_0x477d('0x613'),'setting',_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x35'))[_0x477d('0x3ba')](_0x477d('0x22f0'),_0x4bcce5);function _0x4bcce5(_0x406445,_0x35569d,_0x1e7587,_0x17f8cc,_0x2ed75e,_0x20c2ae,_0xc119c4,_0x501e0d,_0x4bb321,_0x300c60,_0x1dadb7,_0x3c6e2e,_0x4f6a7e,_0x50b561){var _0xf1ad06=this;_0xf1ad06[_0x477d('0x3e5')]=_0x1dadb7[_0x477d('0x5c')]();_0xf1ad06[_0x477d('0xd67')]=[];_0xf1ad06[_0x477d('0xc8e')]=_0x4f6a7e;_0xf1ad06[_0x477d('0x613')]=_0x3c6e2e;_0xf1ad06[_0x477d('0xd66')]=_0x50b561;_0xf1ad06[_0x477d('0xd68')]={};_0xf1ad06['passwordPattern']=_0xf1ad06[_0x477d('0xc8e')]&&_0xf1ad06[_0x477d('0xc8e')]['securePassword']?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0xf1ad06[_0x477d('0x49a')]=_0x477d('0x22f1');_0xf1ad06[_0x477d('0x15c9')]=angular[_0x477d('0x6d9')](_0x4bb321);_0xf1ad06[_0x477d('0xf30')]=_0x501e0d;_0xf1ad06[_0x477d('0x22f2')]=![];if(!_0xf1ad06[_0x477d('0x15c9')]){_0xf1ad06['sound']={};_0xf1ad06[_0x477d('0x49a')]=_0x477d('0x22f3');_0xf1ad06[_0x477d('0x22f2')]=!![];}_0xf1ad06[_0x477d('0x22f4')]=_0x72a3b1;_0xf1ad06['saveSound']=_0x33a9a2;_0xf1ad06[_0x477d('0x22f5')]=_0x4665a5;_0xf1ad06[_0x477d('0xd6f')]=_0x3a373d;_0xf1ad06[_0x477d('0x6bf')]=_0x3db370;function _0x72a3b1(){_0xf1ad06['errors']=[];_0x300c60[_0x477d('0x15c9')][_0x477d('0xd70')](_0xf1ad06[_0x477d('0x15c9')])['$promise']['then'](function(_0x24d7ce){_0xf1ad06[_0x477d('0xf30')][_0x477d('0x63b')](_0x24d7ce[_0x477d('0xd71')]());_0xc119c4[_0x477d('0x485')]({'title':'Sound\x20properly\x20created','msg':_0xf1ad06['sound'][_0x477d('0x94')]?_0xf1ad06['sound'][_0x477d('0x94')]+_0x477d('0xd73'):''});_0x3db370(_0x24d7ce);})[_0x477d('0xf8')](function(_0x34d2df){if(_0x34d2df[_0x477d('0x451')]&&_0x34d2df[_0x477d('0x451')][_0x477d('0xd67')]&&_0x34d2df[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0xf1ad06[_0x477d('0xd67')]=_0x34d2df[_0x477d('0x451')]['errors']||[{'message':_0x34d2df[_0x477d('0x453')](),'type':_0x477d('0x22f6')}];for(var _0x13d510=0x0;_0x13d510<_0x34d2df[_0x477d('0x451')]['errors']['length'];_0x13d510+=0x1){_0xc119c4[_0x477d('0x44a')]({'title':_0x34d2df[_0x477d('0x451')]['errors'][_0x13d510][_0x477d('0x439')],'msg':_0x34d2df[_0x477d('0x451')][_0x477d('0xd67')][_0x13d510][_0x477d('0x452')]});}}else{_0xc119c4['error']({'title':_0x34d2df['status']?_0x477d('0x44b')+_0x34d2df[_0x477d('0x3c3')]+'\x20-\x20'+_0x34d2df[_0x477d('0x44d')]:_0x477d('0x22f6'),'msg':_0x34d2df[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x34d2df[_0x477d('0x451')]['message']):_0x34d2df[_0x477d('0x453')]()});}});}function _0x33a9a2(){_0xf1ad06[_0x477d('0xd67')]=[];_0x300c60[_0x477d('0x15c9')][_0x477d('0x710')]({'id':_0xf1ad06['sound']['id']},_0xf1ad06[_0x477d('0x15c9')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0xfe849f){var _0xc423d6=_[_0x477d('0x10a')](_0xf1ad06[_0x477d('0xf30')],{'id':_0xfe849f['id']});if(_0xc423d6){_[_0x477d('0xef')](_0xc423d6,_[_0x477d('0x10b')](_0xfe849f[_0x477d('0xd71')](),_[_0x477d('0x7f')](_0xc423d6)));}_0xc119c4[_0x477d('0x485')]({'title':_0x477d('0x22f7'),'msg':_0xf1ad06['sound']['name']?_0xf1ad06[_0x477d('0x15c9')][_0x477d('0x94')]+_0x477d('0xd76'):''});_0x3db370(_0xfe849f);})['catch'](function(_0x164ffb){if(_0x164ffb['data']&&_0x164ffb['data'][_0x477d('0xd67')]&&_0x164ffb[_0x477d('0x451')]['errors'][_0x477d('0x79')]){_0xf1ad06['errors']=_0x164ffb[_0x477d('0x451')]['errors']||[{'message':_0x164ffb[_0x477d('0x453')](),'type':_0x477d('0x22f8')}];for(var _0x465337=0x0;_0x465337<_0x164ffb[_0x477d('0x451')][_0x477d('0xd67')]['length'];_0x465337++){_0xc119c4['error']({'title':_0x164ffb[_0x477d('0x451')]['errors'][_0x465337][_0x477d('0x439')],'msg':_0x164ffb[_0x477d('0x451')]['errors'][_0x465337][_0x477d('0x452')]});}}else{_0xc119c4['error']({'title':_0x164ffb['status']?_0x477d('0x44b')+_0x164ffb[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x164ffb[_0x477d('0x44d')]:_0x477d('0x22f8'),'msg':_0x164ffb[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x164ffb[_0x477d('0x451')][_0x477d('0x452')]):_0x164ffb[_0x477d('0x453')]()});}});}function _0x4665a5(_0x28b5b4){_0xf1ad06['errors']=[];var _0x44c8e1=_0x17f8cc[_0x477d('0xd78')]()['title']('Are\x20you\x20sure?')[_0x477d('0xdaf')](_0x477d('0x22f9'))['ariaLabel']('Delete\x20Sound')['ok'](_0x477d('0xd7b'))['cancel'](_0x477d('0x688'))['targetEvent'](_0x28b5b4);_0x17f8cc[_0x477d('0x395')](_0x44c8e1)[_0x477d('0x76')](function(){_0x300c60[_0x477d('0x15c9')][_0x477d('0xa55')]({'id':_0xf1ad06[_0x477d('0x15c9')]['id']})[_0x477d('0x38b')]['then'](function(){_[_0x477d('0x39c')](_0xf1ad06[_0x477d('0xf30')],{'id':_0xf1ad06[_0x477d('0x15c9')]['id']});_0xc119c4[_0x477d('0x485')]({'title':'Sound\x20properly\x20deleted!','msg':(_0xf1ad06[_0x477d('0x15c9')]['name']||_0x477d('0x15c9'))+'\x20has\x20been\x20deleted!'});_0x3db370(_0xf1ad06['sound']);})[_0x477d('0xf8')](function(_0x311b95){if(_0x311b95[_0x477d('0x451')]&&_0x311b95['data'][_0x477d('0xd67')]&&_0x311b95['data'][_0x477d('0xd67')][_0x477d('0x79')]){_0xf1ad06[_0x477d('0xd67')]=_0x311b95[_0x477d('0x451')]['errors']||[{'message':_0x311b95['toString'](),'type':_0x477d('0x22fa')}];for(var _0x519fad=0x0;_0x519fad<_0x311b95[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x519fad++){_0xc119c4[_0x477d('0x44a')]({'title':_0x311b95[_0x477d('0x451')]['errors'][_0x519fad]['type'],'msg':_0x311b95['data']['errors'][_0x519fad][_0x477d('0x452')]});}}else{_0xc119c4[_0x477d('0x44a')]({'title':_0x311b95['status']?_0x477d('0x44b')+_0x311b95['status']+_0x477d('0x44c')+_0x311b95['statusText']:_0x477d('0x22fa'),'msg':_0x311b95[_0x477d('0x451')]?JSON['stringify'](_0x311b95[_0x477d('0x451')][_0x477d('0x452')]):_0x311b95[_0x477d('0x452')]||_0x311b95[_0x477d('0x453')]()});}});},function(){});}function _0x3a373d(_0x59e05c){return _0x59e05c===null?undefined:new Date(_0x59e05c);}function _0x3db370(_0x26dbee){_0x17f8cc[_0x477d('0x3bc')](_0x26dbee);}}}());(function(){'use strict';_0x10e4ff[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x387'),_0x477d('0x3c4'),_0x477d('0x554'),'$mdDialog',_0x477d('0x475'),_0x477d('0x3fe'),'$translate','sounds','userProfile','userProfileSection',_0x477d('0x386'),'msUtils',_0x477d('0x40e'),_0x477d('0x55'),_0x477d('0x613'),_0x477d('0xc8e')];angular[_0x477d('0xb')]('app.tools')[_0x477d('0x3ba')](_0x477d('0x22fb'),_0x10e4ff);function _0x10e4ff(_0x3a5cc5,_0x5359a4,_0x2579e9,_0x1af358,_0x4d3477,_0x455ef9,_0x4490df,_0x33d144,_0x21d481,_0x4e2ef2,_0x44896f,_0x236179,_0x1d6595,_0x1b7f34,_0x2cfb06,_0xf78d93,_0xf32443){var _0x155c1c=this;_0x155c1c['license']=_0xf78d93;_0x155c1c['setting']=_0xf32443;_0x155c1c[_0x477d('0x3e5')]=_0x2cfb06[_0x477d('0x5c')]();_0x155c1c[_0x477d('0xf30')]=_0x21d481||{'count':0x0,'rows':[]};_0x155c1c[_0x477d('0x3a5')]=_0x4e2ef2;_0x155c1c[_0x477d('0x3ac')]=_0x44896f&&_0x44896f['count']==0x1?_0x44896f[_0x477d('0xf2')][0x0]:null;_0x155c1c['crudPermissions']=_0x2cfb06[_0x477d('0xd81')](_0x155c1c[_0x477d('0x3ac')]?_0x155c1c[_0x477d('0x3ac')][_0x477d('0xd66')]:null);_0x155c1c['table']=_0x477d('0xf30');_0x155c1c[_0x477d('0xd83')]='';_0x155c1c[_0x477d('0xd84')]=null;_0x155c1c[_0x477d('0x22fc')]=[];_0x155c1c[_0x477d('0x3ef')]={'fields':_0x477d('0x22fd'),'sort':_0x477d('0x59'),'limit':0xa,'page':0x1};_0x155c1c[_0x477d('0xd86')]=_0x489fe2;_0x155c1c[_0x477d('0xd87')]=_0x729516;_0x155c1c[_0x477d('0xd88')]=_0x1f4e2c;_0x155c1c[_0x477d('0x485')]=_0x498bf3;_0x155c1c[_0x477d('0x22fe')]=_0x436028;_0x155c1c[_0x477d('0x22ff')]=_0x3a13db;_0x155c1c[_0x477d('0x22f5')]=_0x14549c;_0x155c1c['exportSelectedSounds']=_0x272c94;_0x155c1c[_0x477d('0x2300')]=_0x3d6403;_0x155c1c['deselectSounds']=_0x59f55f;_0x155c1c[_0x477d('0x2301')]=_0x2630ab;_0x155c1c[_0x477d('0x2302')]=_0x48815f;function _0x489fe2(_0x18baf6,_0x5907d5){_0x4d3477[_0x477d('0x395')]({'controller':'CreateOrEditSoundDialogController','controllerAs':'vm','templateUrl':_0x477d('0x2303'),'parent':angular[_0x477d('0x398')](_0x455ef9[_0x477d('0x399')]),'targetEvent':_0x5907d5,'clickOutsideToClose':!![],'locals':{'sound':_0x18baf6,'sounds':_0x155c1c[_0x477d('0xf30')][_0x477d('0xf2')],'license':_0x155c1c[_0x477d('0x613')],'setting':null,'crudPermissions':_0x155c1c[_0x477d('0xd66')]}});}function _0x729516(_0xd77d99,_0x2b21bc){return _0x236179[_0x477d('0x15c9')][_0x477d('0x49d')]({'id':_0xd77d99['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x21670c){var _0x538cfd=[_0x21670c[_0x477d('0x49e')]];var _0x56fe56=_0x477d('0x49d');var _0x3e25a7=new Blob(_0x538cfd,{'type':_0x21670c[_0x477d('0x439')]});_0x56fe56=_0xd77d99['converted_format']?_0xd77d99[_0x477d('0x2304')]+'.'+_0xd77d99[_0x477d('0x2305')]:_0xd77d99[_0x477d('0x2304')];var _0x842eae=window['document'][_0x477d('0x3c7')]('a');_0x842eae['setAttribute'](_0x477d('0x3c8'),URL['createObjectURL'](_0x3e25a7));_0x842eae[_0x477d('0x494')](_0x477d('0x49d'),_0x56fe56);document[_0x477d('0x399')][_0x477d('0xd8f')](_0x842eae);_0x842eae['click']();})[_0x477d('0xf8')](function(_0x213924){if(_0x213924[_0x477d('0x451')]&&_0x213924[_0x477d('0x451')][_0x477d('0xd67')]&&_0x213924['data'][_0x477d('0xd67')][_0x477d('0x79')]){for(var _0x4f18f5=0x0;_0x4f18f5<_0x213924['data'][_0x477d('0xd67')][_0x477d('0x79')];_0x4f18f5++){_0x1b7f34['error']({'title':_0x213924[_0x477d('0x451')][_0x477d('0xd67')][_0x4f18f5][_0x477d('0x439')],'msg':_0x213924[_0x477d('0x451')][_0x477d('0xd67')][_0x4f18f5][_0x477d('0x452')]});}}else{_0x1b7f34['error']({'title':_0x213924['status']?_0x477d('0x44b')+_0x213924[_0x477d('0x3c3')]+'\x20-\x20'+_0x213924[_0x477d('0x44d')]:_0x477d('0x22f6'),'msg':_0x213924['data']?JSON[_0x477d('0x3fb')](_0x213924[_0x477d('0x451')][_0x477d('0x452')]):_0x213924[_0x477d('0x453')]()});}});}function _0x1f4e2c(_0x425179,_0x25b211){var _0x1e469c=_0x4d3477[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xd90')+_[_0x477d('0xd91')](_0x477d('0x15c9'))+'?')[_0x477d('0xd92')](_0x477d('0xd93')+(_0x425179[_0x477d('0x94')]||_0x477d('0x15c9'))+''+'\x20will\x20be\x20deleted.')['ariaLabel'](_0x477d('0x2306'))[_0x477d('0xd7c')](_0x25b211)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x4d3477[_0x477d('0x395')](_0x1e469c)['then'](function(){_0x14549c(_0x425179);},function(){console['log'](_0x477d('0xd97'));});}var _0xbbd798=!![];var _0x4ef135=0x1;_0x3a5cc5[_0x477d('0x4b5')](_0x477d('0xd98'),function(_0x2b0e54,_0x1ad99f){if(_0xbbd798){_0x4490df(function(){_0xbbd798=![];});}else{if(!_0x1ad99f){_0x4ef135=_0x155c1c['query'][_0x477d('0xe03')];}if(_0x2b0e54!==_0x1ad99f){_0x155c1c[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0x2b0e54){_0x155c1c[_0x477d('0x3ef')][_0x477d('0xe03')]=_0x4ef135;}_0x155c1c['getSounds']();}});function _0x498bf3(_0x2eace2){_0x155c1c[_0x477d('0xf30')]=_0x2eace2||{'count':0x0,'rows':[]};}function _0x436028(){_0x155c1c[_0x477d('0x3ef')][_0x477d('0x91c')]=(_0x155c1c['query'][_0x477d('0xe03')]-0x1)*_0x155c1c['query'][_0x477d('0x91d')];if(_0x2cfb06[_0x477d('0x56')](_0x477d('0x5f'))){_0x155c1c[_0x477d('0x553')]=_0x236179['sound'][_0x477d('0x376')](_0x155c1c[_0x477d('0x3ef')],_0x498bf3)[_0x477d('0x38b')];}else{_0x155c1c['query']['id']=_0x155c1c[_0x477d('0x3a5')]['id'];_0x155c1c[_0x477d('0x3ef')][_0x477d('0xd99')]=_0x477d('0xa1');_0x155c1c[_0x477d('0x553')]=_0x236179['userProfile'][_0x477d('0xd9a')](_0x155c1c['query'],_0x498bf3)[_0x477d('0x38b')];}}function _0x3a13db(_0x196448,_0x2c9e3b){_0x4d3477[_0x477d('0x395')]({'controller':_0x477d('0x22f0'),'controllerAs':'vm','templateUrl':_0x477d('0x2303'),'parent':angular[_0x477d('0x398')](_0x455ef9[_0x477d('0x399')]),'targetEvent':_0x196448,'clickOutsideToClose':!![],'locals':{'sound':_0x2c9e3b,'sounds':_0x155c1c['sounds'][_0x477d('0xf2')],'license':_0x155c1c['license'],'setting':_0x155c1c['setting'],'crudPermissions':_0x155c1c[_0x477d('0xd66')]}});}function _0x14549c(_0x182cec){_0x236179['sound'][_0x477d('0xa55')]({'id':_0x182cec['id']})['$promise'][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x155c1c[_0x477d('0xf30')][_0x477d('0xf2')],{'id':_0x182cec['id']});_0x155c1c[_0x477d('0xf30')]['count']-=0x1;if(!_0x155c1c[_0x477d('0xf30')]['rows'][_0x477d('0x79')]){_0x155c1c[_0x477d('0x22fe')]();}_0x1b7f34[_0x477d('0x485')]({'title':_[_0x477d('0xd91')](_0x477d('0x2307'))+_0x477d('0xd9d'),'msg':_0x182cec[_0x477d('0x94')]?_0x182cec['name']+_0x477d('0xd7e'):''});})['catch'](function(_0x4e3cab){if(_0x4e3cab[_0x477d('0x451')]&&_0x4e3cab[_0x477d('0x451')][_0x477d('0xd67')]&&_0x4e3cab[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x155c1c[_0x477d('0xd67')]=_0x4e3cab[_0x477d('0x451')]['errors']||[{'message':_0x4e3cab[_0x477d('0x453')](),'type':_0x477d('0x2308')}];for(var _0x5a153f=0x0;_0x5a153f<_0x4e3cab['data'][_0x477d('0xd67')]['length'];_0x5a153f++){_0x1b7f34[_0x477d('0x44a')]({'title':_0x4e3cab[_0x477d('0x451')]['errors'][_0x5a153f][_0x477d('0x439')],'msg':_0x4e3cab[_0x477d('0x451')][_0x477d('0xd67')][_0x5a153f][_0x477d('0x452')]});}}else{_0x1b7f34[_0x477d('0x44a')]({'title':_0x4e3cab[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x4e3cab[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x4e3cab[_0x477d('0x44d')]:'SYSTEM:DELETEsound','msg':_0x4e3cab[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x4e3cab['data']['message']):_0x4e3cab['message']||_0x4e3cab[_0x477d('0x453')]()});}});}function _0x272c94(){var _0x183086=angular[_0x477d('0x6d9')](_0x155c1c['selectedSounds']);_0x155c1c['selectedSounds']=[];return _0x183086;}function _0x3d6403(_0x33de1d){var _0xdd7d7c=_0x4d3477['confirm']()[_0x477d('0x49a')](_0x477d('0x2309'))[_0x477d('0xd92')](_0x477d('0xd93')+_0x155c1c[_0x477d('0x22fc')][_0x477d('0x79')]+_0x477d('0xda0')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x230a'))[_0x477d('0xd7c')](_0x33de1d)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x4d3477[_0x477d('0x395')](_0xdd7d7c)['then'](function(){_0x155c1c['selectedSounds']['forEach'](function(_0x5bcb0b){_0x14549c(_0x5bcb0b);});_0x155c1c[_0x477d('0x22fc')]=[];});}function _0x59f55f(){_0x155c1c[_0x477d('0x22fc')]=[];}function _0x2630ab(){_0x155c1c[_0x477d('0x22fc')]=_0x155c1c[_0x477d('0xf30')][_0x477d('0xf2')];}function _0x48815f(_0x5beacd){_0x4d3477[_0x477d('0x395')]({'controller':'UploadSoundDialogController','controllerAs':'vm','templateUrl':_0x477d('0x230b'),'parent':angular[_0x477d('0x398')](_0x455ef9[_0x477d('0x399')]),'targetEvent':_0x5beacd,'clickOutsideToClose':!![],'locals':{'sounds':_0x155c1c[_0x477d('0xf30')][_0x477d('0xf2')]}});}}}());(function(){'use strict';_0x3eb7db['$inject']=[_0x477d('0x385'),_0x477d('0x384'),_0x477d('0x40e'),_0x477d('0xf30'),_0x477d('0x386'),_0x477d('0x55')];angular[_0x477d('0xb')](_0x477d('0x35'))[_0x477d('0x3ba')](_0x477d('0x230c'),_0x3eb7db);function _0x3eb7db(_0x19303c,_0x5052b5,_0x87087e,_0x1d5edb,_0x5460c7,_0x16b1e2){var _0x595238=this;var _0x8cbdd6=0xf;var _0x1d8f38=_0x8cbdd6*0x400*0x400;_0x595238[_0x477d('0x3e5')]=_0x16b1e2[_0x477d('0x5c')]();_0x595238['errors']=[];_0x595238['title']=_0x477d('0x230d');_0x595238[_0x477d('0xf30')]=_0x1d5edb;_0x595238[_0x477d('0x230e')]=[];_0x595238[_0x477d('0x1d84')]='none';_0x595238[_0x477d('0x15c9')]={};_0x595238['ngFlowOptions']={'maxChunkRetries':0x1,'chunkSize':_0x1d8f38,'simultaneousUploads':0x1,'testChunks':![],'progressCallbacksInterval':0x3e8,'allowDuplicateUploads':!![],'target':_0x477d('0x230f')};_0x595238['ngFlow']={'flow':{}};_0x595238[_0x477d('0x1175')]=![];_0x595238[_0x477d('0x1176')]=_0x26dd82;_0x595238[_0x477d('0x12a0')]=_0x39578d;_0x595238[_0x477d('0x133a')]=_0x4e7b87;_0x595238[_0x477d('0x1d82')]=_0x562332;_0x595238[_0x477d('0x1d83')]=_0x1b3687;_0x595238[_0x477d('0x6bf')]=_0x40a3b2;function _0x26dd82(_0x43768b){var _0x22b186=[_0x477d('0xf75'),'mp3','gsm'];if(!_[_0x477d('0x3a4')](_0x22b186,_0x43768b[_0x477d('0x1178')]())){_0x87087e[_0x477d('0x44a')]({'title':'Invalid\x20extension:\x20'+_0x43768b[_0x477d('0x1178')](),'msg':'Supported\x20extension:\x20'+_0x22b186[_0x477d('0x3f6')]()});return![];}if(_0x43768b[_0x477d('0x117b')]>_0x1d8f38){_0x87087e[_0x477d('0x44a')]({'title':_0x477d('0x12a6'),'msg':_0x477d('0x133e')+_0x8cbdd6+'MB'});return![];}_0x595238[_0x477d('0x15c9')]={'id':_0x43768b[_0x477d('0x12a7')],'file':_0x43768b};_0x595238[_0x477d('0x230e')][_0x477d('0x63b')](_0x595238[_0x477d('0x15c9')]);return!![];}function _0x39578d(){_0x595238[_0x477d('0x1d84')]=_0x477d('0x133f');_0x595238[_0x477d('0x129f')][_0x477d('0xae')]['opts']['headers']={'X-Requested-With':_0x477d('0x12a9'),'Authorization':_0x477d('0x12aa')+_0x19303c[_0x477d('0x376')](_0x477d('0x389'))};_0x595238[_0x477d('0x129f')][_0x477d('0xae')][_0x477d('0x12a8')][_0x477d('0x3ef')]={'role':_0x595238[_0x477d('0x3e5')][_0x477d('0x3a1')],'userProfileId':_0x595238[_0x477d('0x3e5')][_0x477d('0x61')]};_0x595238['ngFlow'][_0x477d('0xae')]['upload']();}function _0x4e7b87(_0x5d5186,_0x556f2e){_0x595238['sounds'][_0x477d('0x63b')](JSON['parse'](_0x556f2e));angular[_0x477d('0x3b1')](_0x595238[_0x477d('0x230e')],function(_0x2e029b,_0x2c18ab){if(_0x2e029b['id']===_0x5d5186[_0x477d('0x12a7')]){var _0x11d594=new FileReader();_0x11d594[_0x477d('0xecd')](_0x2e029b['file'][_0x477d('0xec5')]);_0x11d594[_0x477d('0xec7')]=function(_0x2344fc){_0x2e029b[_0x477d('0x3c1')]=_0x2344fc[_0x477d('0x378')][_0x477d('0xec8')];};}});}function _0x562332(_0x9ac77,_0x59233d){_0x595238['ngFlow'][_0x477d('0xae')][_0x477d('0x4f0')]();_0x87087e['error']({'title':_0x477d('0x1d85'),'msg':_0x477d('0x2310')});_0x595238[_0x477d('0x1d84')]=_0x477d('0x638');}function _0x1b3687(){if(_0x595238[_0x477d('0x1d84')]!==_0x477d('0x638')){_0x595238[_0x477d('0x1d84')]='completed';_0x87087e['success']({'title':_0x477d('0x2311'),'msg':_0x595238['sound'][_0x477d('0xec5')]['name']+'\x20uploaded\x20successfully'});}}function _0x40a3b2(){_0x5052b5[_0x477d('0x3bc')]();}}}());(function(){'use strict';_0x22dc06[_0x477d('0xa')]=['$scope','$state','$location',_0x477d('0x384'),'$q','$translate','toasty',_0x477d('0x1263'),_0x477d('0xbb0'),'api',_0x477d('0x55'),_0x477d('0x613'),_0x477d('0xc8e'),_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x35'))['controller'](_0x477d('0x2312'),_0x22dc06);function _0x22dc06(_0x248fe2,_0x58d0cb,_0x180c76,_0x545d80,_0x1633ca,_0x448499,_0x160bb8,_0x5432ae,_0x54d502,_0x592ccf,_0x5603a0,_0x289c67,_0x25dce7,_0x42820b){var _0x549d31=this;_0x549d31[_0x477d('0x3e5')]=_0x5603a0[_0x477d('0x5c')]();_0x549d31['errors']=[];_0x549d31[_0x477d('0xc8e')]=_0x25dce7;_0x549d31[_0x477d('0x613')]=_0x289c67;_0x549d31[_0x477d('0xd66')]=_0x42820b;_0x549d31[_0x477d('0xd68')]={};_0x549d31[_0x477d('0xd69')]=_0x549d31[_0x477d('0xc8e')]&&_0x549d31[_0x477d('0xc8e')][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x549d31[_0x477d('0x49a')]='TOOLS.EDIT_TAG';_0x549d31[_0x477d('0xbb0')]=angular['copy'](_0x54d502);_0x549d31[_0x477d('0x1263')]=_0x5432ae;_0x549d31[_0x477d('0x2313')]=![];if(!_0x549d31[_0x477d('0xbb0')]){_0x549d31[_0x477d('0xbb0')]={};_0x549d31['title']=_0x477d('0x2314');_0x549d31[_0x477d('0x2313')]=!![];}_0x549d31[_0x477d('0x2315')]=_0x2d55fc;_0x549d31[_0x477d('0x189f')]=_0x57a6fe;_0x549d31['deleteTag']=_0x27934c;_0x549d31['getDateFromString']=_0xf6d6e5;_0x549d31[_0x477d('0x6bf')]=_0x551c49;function _0x2d55fc(){_0x549d31['errors']=[];_0x592ccf[_0x477d('0xbb0')][_0x477d('0xd70')](_0x549d31[_0x477d('0xbb0')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x40d31b){_0x549d31['tags'][_0x477d('0x63b')](_0x40d31b[_0x477d('0xd71')]());_0x160bb8[_0x477d('0x485')]({'title':'Tag\x20properly\x20created','msg':_0x549d31[_0x477d('0xbb0')][_0x477d('0x94')]?_0x549d31[_0x477d('0xbb0')][_0x477d('0x94')]+_0x477d('0xd73'):''});_0x551c49(_0x40d31b);})[_0x477d('0xf8')](function(_0x22769c){if(_0x22769c[_0x477d('0x451')]&&_0x22769c[_0x477d('0x451')][_0x477d('0xd67')]&&_0x22769c[_0x477d('0x451')]['errors'][_0x477d('0x79')]){_0x549d31[_0x477d('0xd67')]=_0x22769c[_0x477d('0x451')]['errors']||[{'message':_0x22769c[_0x477d('0x453')](),'type':_0x477d('0x2316')}];for(var _0x4c2aea=0x0;_0x4c2aea<_0x22769c[_0x477d('0x451')]['errors'][_0x477d('0x79')];_0x4c2aea+=0x1){_0x160bb8[_0x477d('0x44a')]({'title':_0x22769c[_0x477d('0x451')]['errors'][_0x4c2aea][_0x477d('0x439')],'msg':_0x22769c[_0x477d('0x451')][_0x477d('0xd67')][_0x4c2aea]['message']});}}else{_0x160bb8['error']({'title':_0x22769c[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x22769c[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x22769c[_0x477d('0x44d')]:'api.tag.save','msg':_0x22769c['data']?JSON['stringify'](_0x22769c[_0x477d('0x451')][_0x477d('0x452')]):_0x22769c[_0x477d('0x453')]()});}});}function _0x57a6fe(){_0x549d31['errors']=[];_0x592ccf['tag']['update']({'id':_0x549d31[_0x477d('0xbb0')]['id']},_0x549d31[_0x477d('0xbb0')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x458d37){var _0x253f60=_[_0x477d('0x10a')](_0x549d31[_0x477d('0x1263')],{'id':_0x458d37['id']});if(_0x253f60){_['merge'](_0x253f60,_[_0x477d('0x10b')](_0x458d37[_0x477d('0xd71')](),_[_0x477d('0x7f')](_0x253f60)));}_0x160bb8[_0x477d('0x485')]({'title':_0x477d('0x2317'),'msg':_0x549d31[_0x477d('0xbb0')][_0x477d('0x94')]?_0x549d31['tag']['name']+'\x20has\x20been\x20saved!':''});_0x551c49(_0x458d37);})[_0x477d('0xf8')](function(_0x535150){if(_0x535150['data']&&_0x535150[_0x477d('0x451')][_0x477d('0xd67')]&&_0x535150[_0x477d('0x451')]['errors'][_0x477d('0x79')]){_0x549d31[_0x477d('0xd67')]=_0x535150[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x535150[_0x477d('0x453')](),'type':_0x477d('0x2318')}];for(var _0x49ea00=0x0;_0x49ea00<_0x535150[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x49ea00++){_0x160bb8[_0x477d('0x44a')]({'title':_0x535150[_0x477d('0x451')][_0x477d('0xd67')][_0x49ea00][_0x477d('0x439')],'msg':_0x535150[_0x477d('0x451')][_0x477d('0xd67')][_0x49ea00][_0x477d('0x452')]});}}else{_0x160bb8[_0x477d('0x44a')]({'title':_0x535150[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x535150['status']+'\x20-\x20'+_0x535150['statusText']:'api.tag.update','msg':_0x535150['data']?JSON[_0x477d('0x3fb')](_0x535150['data'][_0x477d('0x452')]):_0x535150['toString']()});}});}function _0x27934c(_0x1b5c1c){_0x549d31[_0x477d('0xd67')]=[];var _0x59b3a4=_0x545d80['confirm']()[_0x477d('0x49a')](_0x477d('0xd79'))[_0x477d('0xdaf')](_0x477d('0x2319'))[_0x477d('0x687')]('Delete\x20Tag')['ok'](_0x477d('0xd7b'))[_0x477d('0x4f0')](_0x477d('0x688'))['targetEvent'](_0x1b5c1c);_0x545d80[_0x477d('0x395')](_0x59b3a4)[_0x477d('0x76')](function(){_0x592ccf[_0x477d('0xbb0')][_0x477d('0xa55')]({'id':_0x549d31[_0x477d('0xbb0')]['id']})['$promise'][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x549d31['tags'],{'id':_0x549d31[_0x477d('0xbb0')]['id']});_0x160bb8[_0x477d('0x485')]({'title':_0x477d('0x231a'),'msg':(_0x549d31['tag'][_0x477d('0x94')]||_0x477d('0xbb0'))+_0x477d('0xd7e')});_0x551c49(_0x549d31[_0x477d('0xbb0')]);})['catch'](function(_0x19f2c3){if(_0x19f2c3['data']&&_0x19f2c3['data'][_0x477d('0xd67')]&&_0x19f2c3[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x549d31['errors']=_0x19f2c3[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x19f2c3[_0x477d('0x453')](),'type':_0x477d('0x231b')}];for(var _0x1653ee=0x0;_0x1653ee<_0x19f2c3[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x1653ee++){_0x160bb8[_0x477d('0x44a')]({'title':_0x19f2c3[_0x477d('0x451')]['errors'][_0x1653ee][_0x477d('0x439')],'msg':_0x19f2c3[_0x477d('0x451')][_0x477d('0xd67')][_0x1653ee]['message']});}}else{_0x160bb8[_0x477d('0x44a')]({'title':_0x19f2c3[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x19f2c3[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x19f2c3[_0x477d('0x44d')]:_0x477d('0x231b'),'msg':_0x19f2c3[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x19f2c3['data'][_0x477d('0x452')]):_0x19f2c3[_0x477d('0x452')]||_0x19f2c3['toString']()});}});},function(){});}function _0xf6d6e5(_0xa43494){return _0xa43494===null?undefined:new Date(_0xa43494);}function _0x551c49(_0x4183b5){_0x545d80['hide'](_0x4183b5);}}}());(function(){'use strict';_0x3c03f8[_0x477d('0xa')]=[_0x477d('0x474'),'$window',_0x477d('0x3c4'),'$mdSidenav',_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x3fe'),'$translate',_0x477d('0x1263'),_0x477d('0x3a5'),_0x477d('0x3ac'),_0x477d('0x386'),_0x477d('0x342'),'toasty',_0x477d('0x55'),_0x477d('0x613'),_0x477d('0xc8e')];angular[_0x477d('0xb')](_0x477d('0x35'))[_0x477d('0x3ba')](_0x477d('0x231c'),_0x3c03f8);function _0x3c03f8(_0x3ac028,_0x10d624,_0x1a4fbd,_0x8f1df7,_0x31ac27,_0x2acbab,_0x5856c7,_0x4ba1a4,_0x116093,_0x13167f,_0xb95c2a,_0x14be10,_0x36c442,_0xc30afe,_0x4041d5,_0x44c049,_0x4eee68){var _0x12f17d=this;_0x12f17d[_0x477d('0x613')]=_0x44c049;_0x12f17d['setting']=_0x4eee68;_0x12f17d[_0x477d('0x3e5')]=_0x4041d5[_0x477d('0x5c')]();_0x12f17d[_0x477d('0x1263')]=_0x116093||{'count':0x0,'rows':[]};_0x12f17d[_0x477d('0x3a5')]=_0x13167f;_0x12f17d[_0x477d('0x3ac')]=_0xb95c2a&&_0xb95c2a[_0x477d('0x3bb')]==0x1?_0xb95c2a[_0x477d('0xf2')][0x0]:null;_0x12f17d['crudPermissions']=_0x4041d5[_0x477d('0xd81')](_0x12f17d[_0x477d('0x3ac')]?_0x12f17d[_0x477d('0x3ac')][_0x477d('0xd66')]:null);_0x12f17d[_0x477d('0xd82')]=_0x477d('0x1263');_0x12f17d[_0x477d('0xd83')]='';_0x12f17d[_0x477d('0xd84')]=null;_0x12f17d[_0x477d('0x19e4')]=[];_0x12f17d['query']={'fields':_0x477d('0x2cb'),'sort':_0x477d('0x59'),'limit':0xa,'page':0x1};_0x12f17d[_0x477d('0xd86')]=_0x4f18cc;_0x12f17d['deleteconfirm']=_0x412ef2;_0x12f17d[_0x477d('0x485')]=_0x1aa353;_0x12f17d['getTags']=_0x4be545;_0x12f17d[_0x477d('0x231d')]=_0x137051;_0x12f17d[_0x477d('0x231e')]=_0x248e79;_0x12f17d[_0x477d('0x231f')]=_0x5a0496;_0x12f17d[_0x477d('0x2320')]=_0x1a9151;_0x12f17d[_0x477d('0x2321')]=_0x5b6635;_0x12f17d['selectAllTags']=_0x30c700;function _0x4f18cc(_0xb6ee6d,_0x536aa8){_0x31ac27[_0x477d('0x395')]({'controller':'CreateOrEditTagDialogController','controllerAs':'vm','templateUrl':_0x477d('0x2322'),'parent':angular[_0x477d('0x398')](_0x2acbab['body']),'targetEvent':_0x536aa8,'clickOutsideToClose':!![],'locals':{'tag':_0xb6ee6d,'tags':_0x12f17d[_0x477d('0x1263')][_0x477d('0xf2')],'license':_0x12f17d[_0x477d('0x613')],'setting':null,'crudPermissions':_0x12f17d['crudPermissions']}});}function _0x412ef2(_0x568a3d,_0x148323){var _0x29bb35=_0x31ac27[_0x477d('0xd78')]()['title'](_0x477d('0xd90')+_[_0x477d('0xd91')]('tag')+'?')['htmlContent'](_0x477d('0xd93')+(_0x568a3d[_0x477d('0x94')]||'tag')+_0x477d('0xd94')+_0x477d('0xd95'))['ariaLabel'](_0x477d('0x2323'))['targetEvent'](_0x148323)['ok']('OK')['cancel'](_0x477d('0xd97'));_0x31ac27[_0x477d('0x395')](_0x29bb35)[_0x477d('0x76')](function(){_0x248e79(_0x568a3d);},function(){console[_0x477d('0x7b')](_0x477d('0xd97'));});}var _0x3bc0c3=!![];var _0x5bba9b=0x1;_0x3ac028[_0x477d('0x4b5')](_0x477d('0xd98'),function(_0x337b07,_0x4b07f2){if(_0x3bc0c3){_0x5856c7(function(){_0x3bc0c3=![];});}else{if(!_0x4b07f2){_0x5bba9b=_0x12f17d[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x337b07!==_0x4b07f2){_0x12f17d[_0x477d('0x3ef')]['page']=0x1;}if(!_0x337b07){_0x12f17d[_0x477d('0x3ef')]['page']=_0x5bba9b;}_0x12f17d[_0x477d('0x1bcf')]();}});function _0x1aa353(_0x19cc40){_0x12f17d[_0x477d('0x1263')]=_0x19cc40||{'count':0x0,'rows':[]};}function _0x4be545(){_0x12f17d[_0x477d('0x3ef')]['offset']=(_0x12f17d[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x12f17d[_0x477d('0x3ef')][_0x477d('0x91d')];if(_0x4041d5[_0x477d('0x56')](_0x477d('0x5f'))){_0x12f17d[_0x477d('0x553')]=_0x14be10['tag'][_0x477d('0x376')](_0x12f17d['query'],_0x1aa353)['$promise'];}else{_0x12f17d[_0x477d('0x3ef')]['id']=_0x12f17d[_0x477d('0x3a5')]['id'];_0x12f17d[_0x477d('0x3ef')]['section']=_0x477d('0x102');_0x12f17d[_0x477d('0x553')]=_0x14be10[_0x477d('0x3a5')][_0x477d('0xd9a')](_0x12f17d[_0x477d('0x3ef')],_0x1aa353)[_0x477d('0x38b')];}}function _0x137051(_0x282fc9,_0x59530b){_0x31ac27[_0x477d('0x395')]({'controller':_0x477d('0x2312'),'controllerAs':'vm','templateUrl':_0x477d('0x2322'),'parent':angular[_0x477d('0x398')](_0x2acbab[_0x477d('0x399')]),'targetEvent':_0x282fc9,'clickOutsideToClose':!![],'locals':{'tag':_0x59530b,'tags':_0x12f17d['tags']['rows'],'license':_0x12f17d['license'],'setting':_0x12f17d[_0x477d('0xc8e')],'crudPermissions':_0x12f17d['crudPermissions']}});}function _0x248e79(_0x12dcac){_0x14be10[_0x477d('0xbb0')]['delete']({'id':_0x12dcac['id']})[_0x477d('0x38b')]['then'](function(){_[_0x477d('0x39c')](_0x12f17d[_0x477d('0x1263')]['rows'],{'id':_0x12dcac['id']});_0x12f17d['tags']['count']-=0x1;if(!_0x12f17d['tags'][_0x477d('0xf2')][_0x477d('0x79')]){_0x12f17d['getTags']();}_0xc30afe['success']({'title':_[_0x477d('0xd91')]('Tag')+_0x477d('0xd9d'),'msg':_0x12dcac[_0x477d('0x94')]?_0x12dcac['name']+'\x20has\x20been\x20deleted!':''});})[_0x477d('0xf8')](function(_0x55f18d){if(_0x55f18d[_0x477d('0x451')]&&_0x55f18d[_0x477d('0x451')][_0x477d('0xd67')]&&_0x55f18d['data'][_0x477d('0xd67')][_0x477d('0x79')]){_0x12f17d['errors']=_0x55f18d[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x55f18d[_0x477d('0x453')](),'type':'SYSTEM:DELETEtag'}];for(var _0x7ce7ba=0x0;_0x7ce7ba<_0x55f18d[_0x477d('0x451')][_0x477d('0xd67')]['length'];_0x7ce7ba++){_0xc30afe['error']({'title':_0x55f18d[_0x477d('0x451')]['errors'][_0x7ce7ba]['type'],'msg':_0x55f18d[_0x477d('0x451')][_0x477d('0xd67')][_0x7ce7ba]['message']});}}else{_0xc30afe[_0x477d('0x44a')]({'title':_0x55f18d['status']?_0x477d('0x44b')+_0x55f18d[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x55f18d[_0x477d('0x44d')]:'SYSTEM:DELETEtag','msg':_0x55f18d[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x55f18d['data'][_0x477d('0x452')]):_0x55f18d[_0x477d('0x452')]||_0x55f18d['toString']()});}});}function _0x5a0496(){var _0x578ebf=angular[_0x477d('0x6d9')](_0x12f17d[_0x477d('0x19e4')]);_0x12f17d[_0x477d('0x19e4')]=[];return _0x578ebf;}function _0x1a9151(_0x1e4489){var _0x4f4357=_0x31ac27['confirm']()[_0x477d('0x49a')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20tags?')[_0x477d('0xd92')](_0x477d('0xd93')+_0x12f17d['selectedTags'][_0x477d('0x79')]+_0x477d('0xda0')+'\x20will\x20be\x20deleted.')[_0x477d('0x687')](_0x477d('0x2324'))[_0x477d('0xd7c')](_0x1e4489)['ok']('OK')['cancel']('CANCEL');_0x31ac27[_0x477d('0x395')](_0x4f4357)[_0x477d('0x76')](function(){_0x12f17d[_0x477d('0x19e4')][_0x477d('0x3b1')](function(_0x3143a9){_0x248e79(_0x3143a9);});_0x12f17d['selectedTags']=[];});}function _0x5b6635(){_0x12f17d[_0x477d('0x19e4')]=[];}function _0x30c700(){_0x12f17d[_0x477d('0x19e4')]=_0x12f17d[_0x477d('0x1263')]['rows'];}}}());(function(){'use strict';_0x949483['$inject']=[_0x477d('0x474'),'$state',_0x477d('0xd64'),_0x477d('0x384'),'$q',_0x477d('0x40d'),_0x477d('0x40e'),_0x477d('0xf34'),_0x477d('0xbb2'),_0x477d('0x386'),_0x477d('0x55'),'license',_0x477d('0xc8e'),'crudPermissions'];angular['module']('app.tools')[_0x477d('0x3ba')](_0x477d('0x2325'),_0x949483);function _0x949483(_0x28feda,_0x437057,_0x15eada,_0x21b109,_0x7fe7af,_0x2514da,_0x240c85,_0x1ce258,_0x5853e8,_0xe8948e,_0x30649e,_0x356cd2,_0x3f6721,_0x38b110){var _0x2736c4=this;_0x2736c4['currentUser']=_0x30649e['getCurrentUser']();_0x2736c4['errors']=[];_0x2736c4[_0x477d('0xc8e')]=_0x3f6721;_0x2736c4['license']=_0x356cd2;_0x2736c4['crudPermissions']=_0x38b110;_0x2736c4[_0x477d('0xd68')]={};_0x2736c4['passwordPattern']=_0x2736c4[_0x477d('0xc8e')]&&_0x2736c4[_0x477d('0xc8e')][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x2736c4[_0x477d('0x49a')]=_0x477d('0x2326');_0x2736c4[_0x477d('0xbb2')]=angular['copy'](_0x5853e8);_0x2736c4[_0x477d('0xf34')]=_0x1ce258;_0x2736c4[_0x477d('0x2327')]=![];if(!_0x2736c4['template']){_0x2736c4['template']={};_0x2736c4[_0x477d('0x49a')]='TOOLS.NEW_TEMPLATE';_0x2736c4[_0x477d('0x2327')]=!![];}_0x2736c4[_0x477d('0x2328')]=_0x1a8ef4;_0x2736c4[_0x477d('0x2329')]=_0x1d5670;_0x2736c4[_0x477d('0x232a')]=_0x27e275;_0x2736c4['getDateFromString']=_0x5c5b51;_0x2736c4[_0x477d('0x6bf')]=_0x1ba910;function _0x1a8ef4(){_0x2736c4[_0x477d('0xd67')]=[];_0xe8948e['template']['save'](_0x2736c4[_0x477d('0xbb2')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x4f085c){_0x2736c4[_0x477d('0xf34')][_0x477d('0x63b')](_0x4f085c[_0x477d('0xd71')]());_0x240c85[_0x477d('0x485')]({'title':_0x477d('0x232b'),'msg':_0x2736c4[_0x477d('0xbb2')][_0x477d('0x94')]?_0x2736c4['template'][_0x477d('0x94')]+'\x20has\x20been\x20created!':''});_0x1ba910(_0x4f085c);})[_0x477d('0xf8')](function(_0x4eb009){if(_0x4eb009['data']&&_0x4eb009[_0x477d('0x451')][_0x477d('0xd67')]&&_0x4eb009['data'][_0x477d('0xd67')][_0x477d('0x79')]){_0x2736c4[_0x477d('0xd67')]=_0x4eb009[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x4eb009[_0x477d('0x453')](),'type':'api.template.save'}];for(var _0x400d7d=0x0;_0x400d7d<_0x4eb009[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x400d7d+=0x1){_0x240c85[_0x477d('0x44a')]({'title':_0x4eb009[_0x477d('0x451')][_0x477d('0xd67')][_0x400d7d][_0x477d('0x439')],'msg':_0x4eb009['data'][_0x477d('0xd67')][_0x400d7d][_0x477d('0x452')]});}}else{_0x240c85[_0x477d('0x44a')]({'title':_0x4eb009[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x4eb009['status']+_0x477d('0x44c')+_0x4eb009['statusText']:'api.template.save','msg':_0x4eb009['data']?JSON[_0x477d('0x3fb')](_0x4eb009[_0x477d('0x451')][_0x477d('0x452')]):_0x4eb009[_0x477d('0x453')]()});}});}function _0x1d5670(){_0x2736c4[_0x477d('0xd67')]=[];_0xe8948e[_0x477d('0xbb2')][_0x477d('0x710')]({'id':_0x2736c4[_0x477d('0xbb2')]['id']},_0x2736c4[_0x477d('0xbb2')])[_0x477d('0x38b')]['then'](function(_0x22d8b8){var _0xb92a0=_['find'](_0x2736c4['templates'],{'id':_0x22d8b8['id']});if(_0xb92a0){_[_0x477d('0xef')](_0xb92a0,_[_0x477d('0x10b')](_0x22d8b8[_0x477d('0xd71')](),_['keys'](_0xb92a0)));}_0x240c85['success']({'title':_0x477d('0x232c'),'msg':_0x2736c4[_0x477d('0xbb2')][_0x477d('0x94')]?_0x2736c4[_0x477d('0xbb2')][_0x477d('0x94')]+_0x477d('0xd76'):''});_0x1ba910(_0x22d8b8);})['catch'](function(_0x5c50c7){if(_0x5c50c7[_0x477d('0x451')]&&_0x5c50c7[_0x477d('0x451')][_0x477d('0xd67')]&&_0x5c50c7[_0x477d('0x451')][_0x477d('0xd67')]['length']){_0x2736c4[_0x477d('0xd67')]=_0x5c50c7[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x5c50c7['toString'](),'type':_0x477d('0x232d')}];for(var _0x5e2e6b=0x0;_0x5e2e6b<_0x5c50c7[_0x477d('0x451')]['errors']['length'];_0x5e2e6b++){_0x240c85[_0x477d('0x44a')]({'title':_0x5c50c7[_0x477d('0x451')][_0x477d('0xd67')][_0x5e2e6b][_0x477d('0x439')],'msg':_0x5c50c7[_0x477d('0x451')][_0x477d('0xd67')][_0x5e2e6b][_0x477d('0x452')]});}}else{_0x240c85[_0x477d('0x44a')]({'title':_0x5c50c7[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x5c50c7[_0x477d('0x3c3')]+'\x20-\x20'+_0x5c50c7[_0x477d('0x44d')]:_0x477d('0x232d'),'msg':_0x5c50c7[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x5c50c7['data'][_0x477d('0x452')]):_0x5c50c7[_0x477d('0x453')]()});}});}function _0x27e275(_0x339bd6){_0x2736c4[_0x477d('0xd67')]=[];var _0x332a1d=_0x21b109[_0x477d('0xd78')]()[_0x477d('0x49a')]('Are\x20you\x20sure?')[_0x477d('0xdaf')](_0x477d('0x232e'))['ariaLabel']('Delete\x20Template')['ok'](_0x477d('0xd7b'))[_0x477d('0x4f0')]('Cancel')[_0x477d('0xd7c')](_0x339bd6);_0x21b109[_0x477d('0x395')](_0x332a1d)[_0x477d('0x76')](function(){_0xe8948e[_0x477d('0xbb2')]['delete']({'id':_0x2736c4[_0x477d('0xbb2')]['id']})['$promise'][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x2736c4[_0x477d('0xf34')],{'id':_0x2736c4['template']['id']});_0x240c85['success']({'title':'Template\x20properly\x20deleted!','msg':(_0x2736c4[_0x477d('0xbb2')][_0x477d('0x94')]||_0x477d('0xbb2'))+_0x477d('0xd7e')});_0x1ba910(_0x2736c4[_0x477d('0xbb2')]);})['catch'](function(_0x474df2){if(_0x474df2['data']&&_0x474df2[_0x477d('0x451')]['errors']&&_0x474df2['data'][_0x477d('0xd67')][_0x477d('0x79')]){_0x2736c4[_0x477d('0xd67')]=_0x474df2[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x474df2['toString'](),'type':_0x477d('0x232f')}];for(var _0xc95427=0x0;_0xc95427<_0x474df2['data'][_0x477d('0xd67')][_0x477d('0x79')];_0xc95427++){_0x240c85['error']({'title':_0x474df2[_0x477d('0x451')]['errors'][_0xc95427][_0x477d('0x439')],'msg':_0x474df2[_0x477d('0x451')]['errors'][_0xc95427]['message']});}}else{_0x240c85[_0x477d('0x44a')]({'title':_0x474df2[_0x477d('0x3c3')]?'API:'+_0x474df2['status']+'\x20-\x20'+_0x474df2['statusText']:'api.template.delete','msg':_0x474df2[_0x477d('0x451')]?JSON['stringify'](_0x474df2[_0x477d('0x451')]['message']):_0x474df2[_0x477d('0x452')]||_0x474df2['toString']()});}});},function(){});}function _0x5c5b51(_0x681263){return _0x681263===null?undefined:new Date(_0x681263);}function _0x1ba910(_0x28d5c1){_0x21b109[_0x477d('0x3bc')](_0x28d5c1);}}}());(function(){'use strict';_0x5b6f3f['$inject']=[_0x477d('0x474'),_0x477d('0x387'),_0x477d('0x3c4'),_0x477d('0x554'),_0x477d('0x384'),'$document',_0x477d('0x3fe'),_0x477d('0x40d'),_0x477d('0xf34'),'userProfile',_0x477d('0x3ac'),_0x477d('0x386'),_0x477d('0x342'),'toasty',_0x477d('0x55'),_0x477d('0x613'),_0x477d('0xc8e')];angular[_0x477d('0xb')](_0x477d('0x35'))[_0x477d('0x3ba')](_0x477d('0x2330'),_0x5b6f3f);function _0x5b6f3f(_0x1031e2,_0x246aac,_0x41423a,_0x2897e9,_0x2e6949,_0x2f79af,_0x32a5db,_0x4a2b5d,_0x2c1573,_0x1f6394,_0x34cebc,_0x13a0d2,_0x26677d,_0x863539,_0x3cd66e,_0x2ff67c,_0x53dbce){var _0x20a810=this;_0x20a810[_0x477d('0x613')]=_0x2ff67c;_0x20a810[_0x477d('0xc8e')]=_0x53dbce;_0x20a810[_0x477d('0x3e5')]=_0x3cd66e[_0x477d('0x5c')]();_0x20a810['templates']=_0x2c1573||{'count':0x0,'rows':[]};_0x20a810[_0x477d('0x3a5')]=_0x1f6394;_0x20a810[_0x477d('0x3ac')]=_0x34cebc&&_0x34cebc[_0x477d('0x3bb')]==0x1?_0x34cebc[_0x477d('0xf2')][0x0]:null;_0x20a810['crudPermissions']=_0x3cd66e[_0x477d('0xd81')](_0x20a810[_0x477d('0x3ac')]?_0x20a810[_0x477d('0x3ac')][_0x477d('0xd66')]:null);_0x20a810['table']=_0x477d('0xf34');_0x20a810[_0x477d('0xd83')]='';_0x20a810[_0x477d('0xd84')]=null;_0x20a810[_0x477d('0x2331')]=[];_0x20a810[_0x477d('0x3ef')]={'fields':'createdAt,updatedAt,id,name,html,description','sort':'-updatedAt','limit':0xa,'page':0x1};_0x20a810[_0x477d('0xd86')]=_0x59e42c;_0x20a810[_0x477d('0xd88')]=_0x849d0;_0x20a810[_0x477d('0x485')]=_0x150c5d;_0x20a810['getTemplates']=_0x398232;_0x20a810[_0x477d('0x2332')]=_0x148f0f;_0x20a810[_0x477d('0x232a')]=_0x9f9765;_0x20a810['exportSelectedTemplates']=_0x42641c;_0x20a810[_0x477d('0x2333')]=_0x458b6e;_0x20a810['deselectTemplates']=_0x2bbfc3;_0x20a810['selectAllTemplates']=_0x4a1804;function _0x59e42c(_0x565d87,_0x530092){_0x2e6949[_0x477d('0x395')]({'controller':_0x477d('0x2325'),'controllerAs':'vm','templateUrl':_0x477d('0x2334'),'parent':angular[_0x477d('0x398')](_0x2f79af['body']),'targetEvent':_0x530092,'clickOutsideToClose':!![],'locals':{'template':_0x565d87,'templates':_0x20a810['templates'][_0x477d('0xf2')],'license':_0x20a810['license'],'setting':null,'crudPermissions':_0x20a810['crudPermissions']}});}function _0x849d0(_0x865897,_0x5507e1){var _0x3e3536=_0x2e6949[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xd90')+_[_0x477d('0xd91')](_0x477d('0xbb2'))+'?')[_0x477d('0xd92')](''+(_0x865897[_0x477d('0x94')]||_0x477d('0xbb2'))+_0x477d('0xd94')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x2335'))[_0x477d('0xd7c')](_0x5507e1)['ok']('OK')[_0x477d('0x4f0')]('CANCEL');_0x2e6949[_0x477d('0x395')](_0x3e3536)[_0x477d('0x76')](function(){_0x9f9765(_0x865897);},function(){console['log'](_0x477d('0xd97'));});}var _0x9d5630=!![];var _0x123a48=0x1;_0x1031e2['$watch'](_0x477d('0xd98'),function(_0x185c4c,_0x47e643){if(_0x9d5630){_0x32a5db(function(){_0x9d5630=![];});}else{if(!_0x47e643){_0x123a48=_0x20a810[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x185c4c!==_0x47e643){_0x20a810[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0x185c4c){_0x20a810['query'][_0x477d('0xe03')]=_0x123a48;}_0x20a810['getTemplates']();}});function _0x150c5d(_0x924894){_0x20a810[_0x477d('0xf34')]=_0x924894||{'count':0x0,'rows':[]};}function _0x398232(){_0x20a810[_0x477d('0x3ef')][_0x477d('0x91c')]=(_0x20a810[_0x477d('0x3ef')]['page']-0x1)*_0x20a810[_0x477d('0x3ef')][_0x477d('0x91d')];if(_0x3cd66e['hasRole'](_0x477d('0x5f'))){_0x20a810[_0x477d('0x553')]=_0x13a0d2[_0x477d('0xbb2')][_0x477d('0x376')](_0x20a810[_0x477d('0x3ef')],_0x150c5d)['$promise'];}else{_0x20a810['query']['id']=_0x20a810[_0x477d('0x3a5')]['id'];_0x20a810[_0x477d('0x3ef')][_0x477d('0xd99')]=_0x477d('0x2d0');_0x20a810[_0x477d('0x553')]=_0x13a0d2['userProfile'][_0x477d('0xd9a')](_0x20a810['query'],_0x150c5d)[_0x477d('0x38b')];}}function _0x148f0f(_0x149043,_0x290200){_0x2e6949[_0x477d('0x395')]({'controller':_0x477d('0x2325'),'controllerAs':'vm','templateUrl':_0x477d('0x2334'),'parent':angular[_0x477d('0x398')](_0x2f79af[_0x477d('0x399')]),'targetEvent':_0x149043,'clickOutsideToClose':!![],'locals':{'template':_0x290200,'templates':_0x20a810['templates'][_0x477d('0xf2')],'license':_0x20a810['license'],'setting':_0x20a810[_0x477d('0xc8e')],'crudPermissions':_0x20a810[_0x477d('0xd66')]}});}function _0x9f9765(_0x2e0753){_0x13a0d2[_0x477d('0xbb2')][_0x477d('0xa55')]({'id':_0x2e0753['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x20a810['templates'][_0x477d('0xf2')],{'id':_0x2e0753['id']});_0x20a810['templates']['count']-=0x1;if(!_0x20a810[_0x477d('0xf34')][_0x477d('0xf2')][_0x477d('0x79')]){_0x20a810[_0x477d('0x2336')]();}_0x863539[_0x477d('0x485')]({'title':_[_0x477d('0xd91')](_0x477d('0x2337'))+'\x20deleted!','msg':_0x2e0753[_0x477d('0x94')]?_0x2e0753[_0x477d('0x94')]+'\x20has\x20been\x20deleted!':''});})[_0x477d('0xf8')](function(_0x14718e){if(_0x14718e['data']&&_0x14718e[_0x477d('0x451')][_0x477d('0xd67')]&&_0x14718e[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x20a810[_0x477d('0xd67')]=_0x14718e[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x14718e['toString'](),'type':_0x477d('0x2338')}];for(var _0x22343f=0x0;_0x22343f<_0x14718e['data']['errors'][_0x477d('0x79')];_0x22343f++){_0x863539[_0x477d('0x44a')]({'title':_0x14718e[_0x477d('0x451')][_0x477d('0xd67')][_0x22343f][_0x477d('0x439')],'msg':_0x14718e['data'][_0x477d('0xd67')][_0x22343f][_0x477d('0x452')]});}}else{_0x863539[_0x477d('0x44a')]({'title':_0x14718e[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x14718e['status']+_0x477d('0x44c')+_0x14718e[_0x477d('0x44d')]:_0x477d('0x2338'),'msg':_0x14718e['data']?JSON[_0x477d('0x3fb')](_0x14718e[_0x477d('0x451')][_0x477d('0x452')]):_0x14718e[_0x477d('0x452')]||_0x14718e['toString']()});}});}function _0x42641c(){var _0x51149a=angular[_0x477d('0x6d9')](_0x20a810['selectedTemplates']);_0x20a810['selectedTemplates']=[];return _0x51149a;}function _0x458b6e(_0x55d972){var _0x56d59b=_0x2e6949[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x2339'))[_0x477d('0xd92')](_0x477d('0xd93')+_0x20a810[_0x477d('0x2331')][_0x477d('0x79')]+_0x477d('0xda0')+_0x477d('0xd95'))['ariaLabel']('delete\x20Templates')[_0x477d('0xd7c')](_0x55d972)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x2e6949[_0x477d('0x395')](_0x56d59b)['then'](function(){_0x20a810['selectedTemplates']['forEach'](function(_0x50fffb){_0x9f9765(_0x50fffb);});_0x20a810[_0x477d('0x2331')]=[];});}function _0x2bbfc3(){_0x20a810['selectedTemplates']=[];}function _0x4a1804(){_0x20a810[_0x477d('0x2331')]=_0x20a810[_0x477d('0xf34')][_0x477d('0xf2')];}}}());(function(){'use strict';_0x378269[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x3c4'),_0x477d('0xd64'),_0x477d('0x384'),'$q','$translate','toasty',_0x477d('0x233a'),_0x477d('0x233b'),'api','Auth','license',_0x477d('0xc8e'),_0x477d('0xd66')];angular[_0x477d('0xb')]('app.tools')['controller'](_0x477d('0x233c'),_0x378269);function _0x378269(_0x1fbafe,_0x4f010f,_0x2fee57,_0x1a122a,_0xf0ee72,_0x33e8c7,_0x18e036,_0x46ce82,_0x44d639,_0x2babff,_0x165df4,_0x5323cf,_0x55bf49,_0x551c42){var _0x8df997=this;_0x8df997[_0x477d('0x3e5')]=_0x165df4[_0x477d('0x5c')]();_0x8df997[_0x477d('0xd67')]=[];_0x8df997['setting']=_0x55bf49;_0x8df997[_0x477d('0x613')]=_0x5323cf;_0x8df997[_0x477d('0xd66')]=_0x551c42;_0x8df997[_0x477d('0xd68')]={};_0x8df997[_0x477d('0xd69')]=_0x8df997['setting']&&_0x8df997[_0x477d('0xc8e')][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x8df997['title']=_0x477d('0x233d');_0x8df997['trigger']=angular[_0x477d('0x6d9')](_0x44d639);_0x8df997[_0x477d('0x233a')]=_0x46ce82;_0x8df997[_0x477d('0x233e')]=![];if(!_0x8df997[_0x477d('0x233b')]){_0x8df997[_0x477d('0x233b')]={'channel':'voice'};_0x8df997['title']=_0x477d('0x233f');_0x8df997[_0x477d('0x233e')]=!![];}_0x8df997['addNewTrigger']=_0x543c33;_0x8df997['saveTrigger']=_0x1dadb1;_0x8df997['deleteTrigger']=_0x22e56e;_0x8df997[_0x477d('0xd6f')]=_0xc40f09;_0x8df997[_0x477d('0x6bf')]=_0xfa2804;function _0x543c33(){_0x8df997[_0x477d('0xd67')]=[];_0x2babff[_0x477d('0x233b')][_0x477d('0xd70')](_0x8df997[_0x477d('0x233b')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x4693c0){_0x8df997['triggers'][_0x477d('0x63b')](_0x4693c0[_0x477d('0xd71')]());_0x18e036[_0x477d('0x485')]({'title':_0x477d('0x2340'),'msg':_0x8df997[_0x477d('0x233b')]['name']?_0x8df997[_0x477d('0x233b')][_0x477d('0x94')]+'\x20has\x20been\x20created!':''});_0xfa2804(_0x4693c0);})[_0x477d('0xf8')](function(_0xfcb402){if(_0xfcb402[_0x477d('0x451')]&&_0xfcb402[_0x477d('0x451')][_0x477d('0xd67')]&&_0xfcb402['data'][_0x477d('0xd67')]['length']){_0x8df997['errors']=_0xfcb402['data'][_0x477d('0xd67')]||[{'message':_0xfcb402['toString'](),'type':_0x477d('0x2341')}];for(var _0x2d0558=0x0;_0x2d0558<_0xfcb402[_0x477d('0x451')]['errors'][_0x477d('0x79')];_0x2d0558+=0x1){_0x18e036[_0x477d('0x44a')]({'title':_0xfcb402[_0x477d('0x451')][_0x477d('0xd67')][_0x2d0558][_0x477d('0x439')],'msg':_0xfcb402[_0x477d('0x451')][_0x477d('0xd67')][_0x2d0558][_0x477d('0x452')]});}}else{_0x18e036[_0x477d('0x44a')]({'title':_0xfcb402[_0x477d('0x3c3')]?_0x477d('0x44b')+_0xfcb402[_0x477d('0x3c3')]+'\x20-\x20'+_0xfcb402['statusText']:'api.trigger.save','msg':_0xfcb402[_0x477d('0x451')]?JSON['stringify'](_0xfcb402[_0x477d('0x451')][_0x477d('0x452')]):_0xfcb402['toString']()});}});}function _0x1dadb1(){_0x8df997[_0x477d('0xd67')]=[];_0x2babff['trigger'][_0x477d('0x710')]({'id':_0x8df997[_0x477d('0x233b')]['id']},_0x8df997['trigger'])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x39fd32){var _0x4b160a=_[_0x477d('0x10a')](_0x8df997['triggers'],{'id':_0x39fd32['id']});if(_0x4b160a){_['merge'](_0x4b160a,_['pick'](_0x39fd32['toJSON'](),_['keys'](_0x4b160a)));}_0x18e036[_0x477d('0x485')]({'title':_0x477d('0x2342'),'msg':_0x8df997[_0x477d('0x233b')][_0x477d('0x94')]?_0x8df997[_0x477d('0x233b')][_0x477d('0x94')]+'\x20has\x20been\x20saved!':''});_0xfa2804(_0x39fd32);})['catch'](function(_0x2033c1){if(_0x2033c1[_0x477d('0x451')]&&_0x2033c1[_0x477d('0x451')]['errors']&&_0x2033c1['data'][_0x477d('0xd67')][_0x477d('0x79')]){_0x8df997[_0x477d('0xd67')]=_0x2033c1[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x2033c1[_0x477d('0x453')](),'type':_0x477d('0x2343')}];for(var _0x40dcd6=0x0;_0x40dcd6<_0x2033c1['data'][_0x477d('0xd67')][_0x477d('0x79')];_0x40dcd6++){_0x18e036[_0x477d('0x44a')]({'title':_0x2033c1[_0x477d('0x451')]['errors'][_0x40dcd6][_0x477d('0x439')],'msg':_0x2033c1[_0x477d('0x451')][_0x477d('0xd67')][_0x40dcd6][_0x477d('0x452')]});}}else{_0x18e036[_0x477d('0x44a')]({'title':_0x2033c1[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x2033c1[_0x477d('0x3c3')]+'\x20-\x20'+_0x2033c1[_0x477d('0x44d')]:_0x477d('0x2343'),'msg':_0x2033c1[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x2033c1['data'][_0x477d('0x452')]):_0x2033c1['toString']()});}});}function _0x22e56e(_0x5a2893){_0x8df997['errors']=[];var _0x2d54b9=_0x1a122a['confirm']()[_0x477d('0x49a')]('Are\x20you\x20sure?')[_0x477d('0xdaf')](_0x477d('0x2344'))[_0x477d('0x687')]('Delete\x20Trigger')['ok'](_0x477d('0xd7b'))[_0x477d('0x4f0')]('Cancel')[_0x477d('0xd7c')](_0x5a2893);_0x1a122a[_0x477d('0x395')](_0x2d54b9)['then'](function(){_0x2babff[_0x477d('0x233b')]['delete']({'id':_0x8df997[_0x477d('0x233b')]['id']})[_0x477d('0x38b')]['then'](function(){_[_0x477d('0x39c')](_0x8df997[_0x477d('0x233a')],{'id':_0x8df997[_0x477d('0x233b')]['id']});_0x18e036[_0x477d('0x485')]({'title':'Trigger\x20properly\x20deleted!','msg':(_0x8df997[_0x477d('0x233b')]['name']||'trigger')+_0x477d('0xd7e')});_0xfa2804(_0x8df997[_0x477d('0x233b')]);})[_0x477d('0xf8')](function(_0x32d3e1){if(_0x32d3e1['data']&&_0x32d3e1[_0x477d('0x451')][_0x477d('0xd67')]&&_0x32d3e1[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x8df997[_0x477d('0xd67')]=_0x32d3e1[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x32d3e1['toString'](),'type':_0x477d('0x2345')}];for(var _0x4df142=0x0;_0x4df142<_0x32d3e1['data'][_0x477d('0xd67')][_0x477d('0x79')];_0x4df142++){_0x18e036['error']({'title':_0x32d3e1[_0x477d('0x451')][_0x477d('0xd67')][_0x4df142][_0x477d('0x439')],'msg':_0x32d3e1[_0x477d('0x451')]['errors'][_0x4df142][_0x477d('0x452')]});}}else{_0x18e036['error']({'title':_0x32d3e1[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x32d3e1[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x32d3e1[_0x477d('0x44d')]:_0x477d('0x2345'),'msg':_0x32d3e1[_0x477d('0x451')]?JSON['stringify'](_0x32d3e1[_0x477d('0x451')][_0x477d('0x452')]):_0x32d3e1[_0x477d('0x452')]||_0x32d3e1[_0x477d('0x453')]()});}});},function(){});}function _0xc40f09(_0x3202ec){return _0x3202ec===null?undefined:new Date(_0x3202ec);}function _0xfa2804(_0x350e14){_0x1a122a[_0x477d('0x3bc')](_0x350e14);}}}());(function(){'use strict';_0x4e8a52[_0x477d('0xa')]=[_0x477d('0x385'),'$scope',_0x477d('0x3c4'),'$q',_0x477d('0x40d'),'$timeout','$mdDialog',_0x477d('0x475'),_0x477d('0x40e'),_0x477d('0x386'),_0x477d('0x55')];angular['module'](_0x477d('0x35'))['controller'](_0x477d('0x2346'),_0x4e8a52);function _0x4e8a52(_0x37168c,_0x12fb6e,_0x1be88a,_0x17ea5f,_0x1dac65,_0x255d3b,_0x9039bb,_0x5b4246,_0x3f149b,_0x17a05f,_0x35949b){var _0x490e6a=this;_0x490e6a[_0x477d('0x3e5')]=_0x35949b['getCurrentUser']();_0x490e6a['trigger']={};_0x490e6a[_0x477d('0x2347')]={'count':0x0,'rows':[]};_0x490e6a[_0x477d('0x2348')]=[];_0x490e6a['crudPermissions'];_0x490e6a['query']={'fields':_0x477d('0x2349'),'limit':0xa,'page':0x1};_0x490e6a[_0x477d('0x234a')]=_[_0x477d('0xdb5')]([{'option':_0x477d('0x234b'),'value':_0x477d('0x234c'),'ngIf':_0x477d('0x234d')},{'option':_0x477d('0x234e'),'value':_0x477d('0x234f'),'ngIf':_0x477d('0x2350')},{'option':'MOTION_BAR','value':'\x27motionbar\x27'},{'option':_0x477d('0x2351'),'value':_0x477d('0x2352')},{'option':_0x477d('0x2353'),'value':'\x27urlForward\x27'},{'option':_0x477d('0x2354'),'value':'\x27browser\x27'},{'option':_0x477d('0x2355'),'value':'\x27bot\x27','ngIf':'vm.trigger.channel\x20==\x20\x27voice\x27'},{'option':_0x477d('0x2356'),'value':_0x477d('0x2357')}],function(_0x54111f){return _[_0x477d('0x409')](_0x54111f[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x490e6a['browserValues']=_[_0x477d('0xdb5')]([{'option':_0x477d('0x2358'),'value':_0x477d('0x149d')},{'option':_0x477d('0x2359'),'value':_0x477d('0x149c')}],function(_0x1d6296){return _['replace'](_0x1d6296[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x490e6a[_0x477d('0x235a')]=_['keyBy']([{'option':_0x477d('0xf6b'),'value':_0x477d('0x149c')},{'option':'no','value':_0x477d('0x149d')}],function(_0x232f2a){return _[_0x477d('0x409')](_0x232f2a['value'],new RegExp('\x27','g'),'');});_0x490e6a[_0x477d('0x235b')]=_['keyBy']([{'option':_0x477d('0x6ab'),'value':_0x477d('0x235c')},{'option':_0x477d('0xf87'),'value':_0x477d('0x235d')},{'option':'PUT','value':_0x477d('0x235e')},{'option':_0x477d('0xf89'),'value':_0x477d('0x235f')}],function(_0x55a580){return _[_0x477d('0x409')](_0x55a580[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x490e6a['integrationValues']=_[_0x477d('0xdb5')]([{'option':_0x477d('0x2360'),'value':_0x477d('0x2361'),'ngIf':_0x477d('0x2362'),'disabled':_0x477d('0x2363')},{'option':_0x477d('0x2364'),'value':_0x477d('0x2365'),'ngIf':_0x477d('0x2366'),'disabled':_0x477d('0x2367')},{'option':'SugarCRM','value':'\x27sugarcrm\x27','ngIf':_0x477d('0x2368'),'disabled':'(!vm.newAction\x20&&\x20!vm.hasSectionPermissions[1305])'},{'option':_0x477d('0x2369'),'value':_0x477d('0x236a'),'ngIf':_0x477d('0x236b'),'disabled':_0x477d('0x236c')},{'option':_0x477d('0x236d'),'value':'\x27desk\x27','ngIf':_0x477d('0x236e'),'disabled':'(!vm.newAction\x20&&\x20!vm.hasSectionPermissions[1306])'},{'option':_0x477d('0x236f'),'value':_0x477d('0x2370'),'ngIf':_0x477d('0x2371'),'disabled':_0x477d('0x2372')},{'option':'vTiger','value':'\x27vtiger\x27','ngIf':_0x477d('0x2373'),'disabled':_0x477d('0x2374')},{'option':'Dynamics365','value':_0x477d('0x2375'),'ngIf':_0x477d('0x2376'),'disabled':'(!vm.newAction\x20&&\x20!vm.hasSectionPermissions[1309])'},{'option':_0x477d('0x2377'),'value':'\x27servicenow\x27','ngIf':'(vm.newAction\x20&&\x20vm.hasSectionPermissions[1310])\x20||\x20!vm.newAction','disabled':_0x477d('0x2378')},{'option':'Freshsales','value':_0x477d('0x2379'),'ngIf':_0x477d('0x237a'),'disabled':'(!vm.newAction\x20&&\x20!vm.hasSectionPermissions[1311])'}],function(_0x4c83e5){return _[_0x477d('0x409')](_0x4c83e5[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x490e6a[_0x477d('0x237b')]=_[_0x477d('0xdb5')]([{'option':_0x477d('0x2358'),'value':_0x477d('0x149d')},{'option':_0x477d('0x2359'),'value':'\x271\x27'},{'option':_0x477d('0x237c'),'value':_0x477d('0x149b')}],function(_0x5c8988){return _[_0x477d('0x409')](_0x5c8988['value'],new RegExp('\x27','g'),'');});_0x490e6a[_0x477d('0x237d')]=_['keyBy']([{'option':'yes','value':'\x271\x27'},{'option':'no','value':'\x270\x27'}],function(_0x3d2087){return _['replace'](_0x3d2087[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x490e6a['location']=_[_0x477d('0xdb5')]([{'option':_0x477d('0x237e'),'value':_0x477d('0x149d')},{'option':'NEW_WINDOW','value':_0x477d('0x149c')},{'option':'MOTION_TAB','value':'\x272\x27'}],function(_0x13bc4a){return _[_0x477d('0x409')](_0x13bc4a[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x490e6a['init']=_0x4e0647;_0x490e6a[_0x477d('0xe66')]=_0x313c63;_0x490e6a[_0x477d('0x485')]=_0x34c3d3;_0x490e6a[_0x477d('0x237f')]=_0x127493;_0x490e6a[_0x477d('0x2380')]=_0x32286e;_0x490e6a[_0x477d('0x2381')]=_0x1dbdb1;_0x490e6a[_0x477d('0x2382')]=_0x3be669;_0x490e6a[_0x477d('0x2383')]=_0x15dd52;_0x35949b[_0x477d('0x56')](_0x477d('0x5f'))?_0x17a05f[_0x477d('0xe3f')]['get']({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':'true'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x52ba66){_0x490e6a[_0x477d('0xf1')]=_0x52ba66[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x4346d6){_0x3f149b[_0x477d('0x44a')]({'title':_0x4346d6['status']?_0x477d('0x44b')+_0x4346d6[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x4346d6['statusText']:'SYSTEM:GET_LISTS','msg':_0x4346d6[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x4346d6[_0x477d('0x451')]):_0x4346d6[_0x477d('0x453')]()});}):_0x17a05f[_0x477d('0xe3f')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x43cc42){_0x490e6a[_0x477d('0xf1')]=_0x43cc42['rows']||[];})[_0x477d('0x76')](function(){return _0x17a05f[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x490e6a[_0x477d('0x3e5')]['userProfileId'],'sectionId':0x12d})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x2ba338){var _0x27f18b=_0x2ba338&&_0x2ba338[_0x477d('0xf2')]?_0x2ba338[_0x477d('0xf2')][0x0]:null;if(!_0x27f18b){var _0xe1b166=[];var _0x27dc15=[];_0x490e6a[_0x477d('0x2347')][_0x477d('0xf2')][_0x477d('0x3b1')](function(_0x45798e){if(_0x45798e[_0x477d('0x450')]==='contactManager'){var _0x5ef745=_['find'](_0x490e6a[_0x477d('0xf1')],{'id':Number(_0x45798e[_0x477d('0x2384')])});_0x27dc15[_0x477d('0x3a7')](_0x5ef745);}});for(var _0xbc838c=0x0;_0xbc838c<_0x490e6a[_0x477d('0xf1')][_0x477d('0x79')];_0xbc838c++){var _0x653e03=_[_0x477d('0x3ab')](_0x27dc15,{'id':_0x490e6a[_0x477d('0xf1')][_0xbc838c]['id']});if(_0x653e03){_0x490e6a[_0x477d('0xf1')][_0xbc838c][_0x477d('0xf8b')]=![];_0xe1b166['push'](_0x490e6a[_0x477d('0xf1')][_0xbc838c]);}}_0x490e6a['lists']=_0xe1b166;}else{if(!_0x27f18b['autoAssociation']){return _0x17a05f[_0x477d('0x3ae')]['get']({'sectionId':_0x27f18b['id']})['$promise'][_0x477d('0x76')](function(_0x2ea58e){var _0x1a2721=_['map'](_0x2ea58e['rows'],function(_0x2d14ce){return _['find'](_0x490e6a[_0x477d('0xf1')],{'id':_0x2d14ce[_0x477d('0x3af')]});});var _0x7ab977=null;_0x7ab977=[];_0x490e6a[_0x477d('0x2347')][_0x477d('0xf2')][_0x477d('0x3b1')](function(_0x2e11b1){if(_0x2e11b1[_0x477d('0x450')]===_0x477d('0x2385')){var _0x3acd7a=_[_0x477d('0x10a')](_0x490e6a[_0x477d('0xf1')],{'id':Number(_0x2e11b1[_0x477d('0x2384')])});_0x7ab977['push'](_0x3acd7a);}});if(!_[_0x477d('0x3b2')](_0x7ab977)){_0x7ab977[_0x477d('0x3b1')](function(_0x1a2d3f){if(!_['some'](_0x1a2721,['id',_0x1a2d3f['id']])){var _0x2ec4d9=_[_0x477d('0x10a')](_0x490e6a[_0x477d('0xf1')],{'id':_0x1a2d3f['id']});_0x2ec4d9['canSelect']=![];_0x1a2721[_0x477d('0x3a7')](_0x2ec4d9);}});}_0x490e6a[_0x477d('0xf1')]=_0x1a2721;});}}})[_0x477d('0xf8')](function(_0x352c20){_0x3f149b['error']({'title':_0x352c20[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x352c20[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x352c20['statusText']:_0x477d('0x122a'),'msg':_0x352c20['data']?JSON['stringify'](_0x352c20[_0x477d('0x451')]):_0x352c20['toString']()});});_0x35949b[_0x477d('0x56')]('admin')?_0x17a05f[_0x477d('0xc88')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})['$promise'][_0x477d('0x76')](function(_0x4f8395){_0x490e6a[_0x477d('0xf12')]=_0x4f8395[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x563598){_0x3f149b[_0x477d('0x44a')]({'title':_0x563598['status']?_0x477d('0x44b')+_0x563598['status']+_0x477d('0x44c')+_0x563598[_0x477d('0x44d')]:_0x477d('0x1d8e'),'msg':_0x563598[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x563598[_0x477d('0x451')]):_0x563598[_0x477d('0x453')]()});}):_0x17a05f[_0x477d('0xc88')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')]['then'](function(_0x28a833){_0x490e6a[_0x477d('0xf12')]=_0x28a833['rows']||[];})[_0x477d('0x76')](function(){return _0x17a05f[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x490e6a[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x6a5})['$promise'];})[_0x477d('0x76')](function(_0x164752){var _0x6de3e3=_0x164752&&_0x164752[_0x477d('0xf2')]?_0x164752['rows'][0x0]:null;if(!_0x6de3e3){var _0x552838=[];var _0x14dd72=[];_0x490e6a[_0x477d('0x2347')]['rows'][_0x477d('0x3b1')](function(_0x362660){if(_0x362660['action']===_0x477d('0x1cb')){var _0x569ce8=_['find'](_0x490e6a[_0x477d('0xf12')],{'id':Number(_0x362660[_0x477d('0x2384')])});_0x14dd72['push'](_0x569ce8);}});for(var _0x233504=0x0;_0x233504<_0x490e6a[_0x477d('0xf12')][_0x477d('0x79')];_0x233504++){var _0x5dd2d2=_['some'](_0x14dd72,{'id':_0x490e6a[_0x477d('0xf12')][_0x233504]['id']});if(_0x5dd2d2){_0x490e6a[_0x477d('0xf12')][_0x233504][_0x477d('0xf8b')]=![];_0x552838['push'](_0x490e6a[_0x477d('0xf12')][_0x233504]);}}_0x490e6a['projects']=_0x552838;}else{if(!_0x6de3e3['autoAssociation']){return _0x17a05f[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x6de3e3['id']})[_0x477d('0x38b')]['then'](function(_0x3e2c44){var _0x2ac9d8=_[_0x477d('0x3cb')](_0x3e2c44['rows'],function(_0x10c97f){return _[_0x477d('0x10a')](_0x490e6a[_0x477d('0xf12')],{'id':_0x10c97f[_0x477d('0x3af')]});});var _0x3877ea=null;_0x3877ea=[];_0x490e6a[_0x477d('0x2347')]['rows'][_0x477d('0x3b1')](function(_0x22752d){if(_0x22752d[_0x477d('0x450')]==='jscripty'){var _0x30521d=_[_0x477d('0x10a')](_0x490e6a[_0x477d('0xf12')],{'id':Number(_0x22752d['data1'])});_0x3877ea[_0x477d('0x3a7')](_0x30521d);}});if(!_['isEmpty'](_0x3877ea)){_0x3877ea[_0x477d('0x3b1')](function(_0x123893){if(!_[_0x477d('0x3ab')](_0x2ac9d8,['id',_0x123893['id']])){var _0x4778ae=_[_0x477d('0x10a')](_0x490e6a[_0x477d('0xf12')],{'id':_0x123893['id']});_0x4778ae['canSelect']=![];_0x2ac9d8[_0x477d('0x3a7')](_0x4778ae);}});}_0x490e6a[_0x477d('0xf12')]=_0x2ac9d8;});}}})[_0x477d('0xf8')](function(_0x3ccf1a){_0x3f149b[_0x477d('0x44a')]({'title':_0x3ccf1a[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x3ccf1a['status']+_0x477d('0x44c')+_0x3ccf1a['statusText']:_0x477d('0x1d90'),'msg':_0x3ccf1a[_0x477d('0x451')]?JSON['stringify'](_0x3ccf1a[_0x477d('0x451')]):_0x3ccf1a[_0x477d('0x453')]()});});_0x17a05f[_0x477d('0xc16')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':'id','nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x40b5ff){_0x490e6a['zendeskAccounts']=_0x40b5ff[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x3a3039){_0x3f149b[_0x477d('0x44a')]({'title':_0x3a3039[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x3a3039[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x3a3039[_0x477d('0x44d')]:_0x477d('0x2386'),'msg':_0x3a3039[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x3a3039[_0x477d('0x451')]):_0x3a3039[_0x477d('0x453')]()});});_0x17a05f[_0x477d('0xbfa')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':'id','nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')]['then'](function(_0x454347){_0x490e6a['deskAccounts']=_0x454347[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x1e91f1){_0x3f149b[_0x477d('0x44a')]({'title':_0x1e91f1[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x1e91f1[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x1e91f1[_0x477d('0x44d')]:_0x477d('0x2387'),'msg':_0x1e91f1['data']?JSON[_0x477d('0x3fb')](_0x1e91f1[_0x477d('0x451')]):_0x1e91f1[_0x477d('0x453')]()});});_0x17a05f[_0x477d('0xc08')]['get']({'fields':_0x477d('0x9c'),'sort':'id','nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')]['then'](function(_0x546ef2){_0x490e6a[_0x477d('0x1bfa')]=_0x546ef2['rows']||[];})[_0x477d('0xf8')](function(_0x5196c7){_0x3f149b[_0x477d('0x44a')]({'title':_0x5196c7[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x5196c7[_0x477d('0x3c3')]+'\x20-\x20'+_0x5196c7[_0x477d('0x44d')]:_0x477d('0x2388'),'msg':_0x5196c7[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x5196c7['data']):_0x5196c7[_0x477d('0x453')]()});});_0x17a05f['intSalesforceAccount'][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':'id','nolimit':_0x477d('0x2ee')})['$promise'][_0x477d('0x76')](function(_0x2911dd){_0x490e6a['salesforceAccounts']=_0x2911dd[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x3cc9f0){_0x3f149b[_0x477d('0x44a')]({'title':_0x3cc9f0[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x3cc9f0['status']+_0x477d('0x44c')+_0x3cc9f0[_0x477d('0x44d')]:'SYSTEM:GET_SALESFORCEACCOUNTS','msg':_0x3cc9f0[_0x477d('0x451')]?JSON['stringify'](_0x3cc9f0['data']):_0x3cc9f0[_0x477d('0x453')]()});});_0x17a05f[_0x477d('0xbeb')]['get']({'fields':'id,name','sort':'id','nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')]['then'](function(_0xd8962e){_0x490e6a['sugarcrmAccounts']=_0xd8962e[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x26e584){_0x3f149b[_0x477d('0x44a')]({'title':_0x26e584['status']?'API:'+_0x26e584['status']+_0x477d('0x44c')+_0x26e584[_0x477d('0x44d')]:'SYSTEM:GET_SUGARCRMACCOUNTS','msg':_0x26e584[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x26e584[_0x477d('0x451')]):_0x26e584[_0x477d('0x453')]()});});_0x17a05f[_0x477d('0xc26')]['get']({'fields':_0x477d('0x9c'),'sort':'id','nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')]['then'](function(_0x50cc22){_0x490e6a['freshdeskAccounts']=_0x50cc22[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x3ea463){_0x3f149b[_0x477d('0x44a')]({'title':_0x3ea463[_0x477d('0x3c3')]?'API:'+_0x3ea463[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x3ea463[_0x477d('0x44d')]:_0x477d('0x2389'),'msg':_0x3ea463[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x3ea463['data']):_0x3ea463['toString']()});});_0x17a05f[_0x477d('0xc36')]['get']({'fields':'id,name','sort':'id','nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x2a49f0){_0x490e6a[_0x477d('0x1b87')]=_0x2a49f0[_0x477d('0xf2')]||[];})['catch'](function(_0x1bc9f2){_0x3f149b[_0x477d('0x44a')]({'title':_0x1bc9f2[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x1bc9f2[_0x477d('0x3c3')]+'\x20-\x20'+_0x1bc9f2['statusText']:_0x477d('0x238a'),'msg':_0x1bc9f2['data']?JSON[_0x477d('0x3fb')](_0x1bc9f2[_0x477d('0x451')]):_0x1bc9f2[_0x477d('0x453')]()});});_0x17a05f[_0x477d('0xc52')][_0x477d('0x376')]({'fields':'id,name','sort':'id','nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x4ebd01){_0x490e6a['dynamics365Accounts']=_0x4ebd01['rows']||[];})[_0x477d('0xf8')](function(_0x568035){_0x3f149b[_0x477d('0x44a')]({'title':_0x568035[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x568035[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x568035[_0x477d('0x44d')]:_0x477d('0x238b'),'msg':_0x568035[_0x477d('0x451')]?JSON['stringify'](_0x568035[_0x477d('0x451')]):_0x568035['toString']()});});_0x17a05f['intServicenowAccount'][_0x477d('0x376')]({'fields':'id,name','sort':'id','nolimit':'true'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x37c210){_0x490e6a[_0x477d('0x1b20')]=_0x37c210[_0x477d('0xf2')]||[];})['catch'](function(_0x27aeb7){_0x3f149b['error']({'title':_0x27aeb7['status']?_0x477d('0x44b')+_0x27aeb7[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x27aeb7[_0x477d('0x44d')]:_0x477d('0x238c'),'msg':_0x27aeb7[_0x477d('0x451')]?JSON['stringify'](_0x27aeb7[_0x477d('0x451')]):_0x27aeb7[_0x477d('0x453')]()});});_0x17a05f['intFreshsalesAccount']['get']({'fields':_0x477d('0x9c'),'sort':'id','nolimit':_0x477d('0x2ee')})['$promise'][_0x477d('0x76')](function(_0x54f143){_0x490e6a[_0x477d('0x1ab1')]=_0x54f143[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x26e4e9){_0x3f149b[_0x477d('0x44a')]({'title':_0x26e4e9[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x26e4e9[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x26e4e9[_0x477d('0x44d')]:_0x477d('0x238d'),'msg':_0x26e4e9[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x26e4e9[_0x477d('0x451')]):_0x26e4e9[_0x477d('0x453')]()});});_0x17a05f[_0x477d('0xc1c')][_0x477d('0x376')]({'fields':_0x477d('0x238e'),'sort':'id','nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x45f88f){_0x490e6a[_0x477d('0x1bcb')]=_0x45f88f[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x12f742){_0x3f149b['error']({'title':_0x12f742['status']?'API:'+_0x12f742['status']+_0x477d('0x44c')+_0x12f742['statusText']:_0x477d('0x238f'),'msg':_0x12f742['data']?JSON[_0x477d('0x3fb')](_0x12f742[_0x477d('0x451')]):_0x12f742[_0x477d('0x453')]()});});_0x17a05f[_0x477d('0xbfd')][_0x477d('0x376')]({'fields':'id,name,AccountId','sort':'id','nolimit':'true'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x5ba283){_0x490e6a[_0x477d('0x2390')]=_0x5ba283[_0x477d('0xf2')]||[];})['catch'](function(_0x11d303){_0x3f149b[_0x477d('0x44a')]({'title':_0x11d303[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x11d303[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x11d303[_0x477d('0x44d')]:'SYSTEM:GET_DESKCONFIGURATIONS','msg':_0x11d303[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x11d303[_0x477d('0x451')]):_0x11d303[_0x477d('0x453')]()});});_0x17a05f[_0x477d('0x1c07')][_0x477d('0x376')]({'fields':_0x477d('0x238e'),'sort':'id','nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x407e3a){_0x490e6a[_0x477d('0x2391')]=_0x407e3a[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x43c7a4){_0x3f149b[_0x477d('0x44a')]({'title':_0x43c7a4[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x43c7a4[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x43c7a4[_0x477d('0x44d')]:_0x477d('0x2392'),'msg':_0x43c7a4[_0x477d('0x451')]?JSON['stringify'](_0x43c7a4['data']):_0x43c7a4['toString']()});});_0x17a05f[_0x477d('0xbe1')][_0x477d('0x376')]({'fields':_0x477d('0x238e'),'sort':'id','nolimit':'true'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x579d5d){_0x490e6a[_0x477d('0x2393')]=_0x579d5d['rows']||[];})['catch'](function(_0x578fc7){_0x3f149b['error']({'title':_0x578fc7['status']?_0x477d('0x44b')+_0x578fc7['status']+_0x477d('0x44c')+_0x578fc7['statusText']:_0x477d('0x2394'),'msg':_0x578fc7[_0x477d('0x451')]?JSON['stringify'](_0x578fc7[_0x477d('0x451')]):_0x578fc7[_0x477d('0x453')]()});});_0x17a05f[_0x477d('0xbf0')][_0x477d('0x376')]({'fields':_0x477d('0x238e'),'sort':'id','nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x1713af){_0x490e6a['sugarcrmConfigurations']=_0x1713af[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x4467c3){_0x3f149b[_0x477d('0x44a')]({'title':_0x4467c3[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x4467c3['status']+_0x477d('0x44c')+_0x4467c3[_0x477d('0x44d')]:_0x477d('0x2395'),'msg':_0x4467c3['data']?JSON[_0x477d('0x3fb')](_0x4467c3[_0x477d('0x451')]):_0x4467c3[_0x477d('0x453')]()});});_0x17a05f[_0x477d('0xc2c')][_0x477d('0x376')]({'fields':_0x477d('0x238e'),'sort':'id','nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')]['then'](function(_0x4108a0){_0x490e6a[_0x477d('0x2396')]=_0x4108a0[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x25eee6){_0x3f149b[_0x477d('0x44a')]({'title':_0x25eee6[_0x477d('0x3c3')]?'API:'+_0x25eee6['status']+_0x477d('0x44c')+_0x25eee6[_0x477d('0x44d')]:_0x477d('0x2397'),'msg':_0x25eee6['data']?JSON['stringify'](_0x25eee6['data']):_0x25eee6['toString']()});});_0x17a05f[_0x477d('0xc3b')][_0x477d('0x376')]({'fields':'id,name,AccountId','sort':'id','nolimit':_0x477d('0x2ee')})['$promise'][_0x477d('0x76')](function(_0x7e19cf){_0x490e6a[_0x477d('0x2398')]=_0x7e19cf[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x2cf864){_0x3f149b[_0x477d('0x44a')]({'title':_0x2cf864['status']?_0x477d('0x44b')+_0x2cf864[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x2cf864[_0x477d('0x44d')]:_0x477d('0x2399'),'msg':_0x2cf864[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x2cf864[_0x477d('0x451')]):_0x2cf864[_0x477d('0x453')]()});});_0x17a05f[_0x477d('0xc58')][_0x477d('0x376')]({'fields':_0x477d('0x238e'),'sort':'id','nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')]['then'](function(_0x2dc046){_0x490e6a[_0x477d('0x239a')]=_0x2dc046[_0x477d('0xf2')]||[];})['catch'](function(_0x4b838f){_0x3f149b['error']({'title':_0x4b838f[_0x477d('0x3c3')]?'API:'+_0x4b838f['status']+_0x477d('0x44c')+_0x4b838f[_0x477d('0x44d')]:_0x477d('0x239b'),'msg':_0x4b838f['data']?JSON[_0x477d('0x3fb')](_0x4b838f[_0x477d('0x451')]):_0x4b838f['toString']()});});_0x17a05f['intServicenowConfiguration'][_0x477d('0x376')]({'fields':_0x477d('0x238e'),'sort':'id','nolimit':'true'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x27ca09){_0x490e6a[_0x477d('0x239c')]=_0x27ca09[_0x477d('0xf2')]||[];})['catch'](function(_0x3bd1b3){_0x3f149b['error']({'title':_0x3bd1b3[_0x477d('0x3c3')]?'API:'+_0x3bd1b3[_0x477d('0x3c3')]+'\x20-\x20'+_0x3bd1b3['statusText']:_0x477d('0x239d'),'msg':_0x3bd1b3[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x3bd1b3[_0x477d('0x451')]):_0x3bd1b3[_0x477d('0x453')]()});});_0x17a05f['intFreshsalesConfiguration'][_0x477d('0x376')]({'fields':'id,name,AccountId','sort':'id','nolimit':'true'})['$promise']['then'](function(_0x3e92aa){_0x490e6a[_0x477d('0x239e')]=_0x3e92aa[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x4ec8ac){_0x3f149b[_0x477d('0x44a')]({'title':_0x4ec8ac[_0x477d('0x3c3')]?'API:'+_0x4ec8ac[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x4ec8ac[_0x477d('0x44d')]:'SYSTEM:GET_FRESHSALESCONFIGURATIONS','msg':_0x4ec8ac[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x4ec8ac['data']):_0x4ec8ac[_0x477d('0x453')]()});});_0x35949b[_0x477d('0x56')](_0x477d('0x5f'))?_0x17a05f[_0x477d('0xbb2')][_0x477d('0x376')]({'fields':'id,name','sort':'id','nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x2de388){_0x490e6a[_0x477d('0xf34')]=_0x2de388[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0xf362b3){_0x3f149b['error']({'title':_0xf362b3[_0x477d('0x3c3')]?_0x477d('0x44b')+_0xf362b3[_0x477d('0x3c3')]+_0x477d('0x44c')+_0xf362b3[_0x477d('0x44d')]:_0x477d('0x239f'),'msg':_0xf362b3[_0x477d('0x451')]?JSON['stringify'](_0xf362b3['data']):_0xf362b3['toString']()});}):_0x17a05f['template'][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':'id','nolimit':_0x477d('0x2ee')})['$promise'][_0x477d('0x76')](function(_0x1beb70){_0x490e6a['templates']=_0x1beb70['rows']||[];})[_0x477d('0x76')](function(){return _0x17a05f[_0x477d('0x3ac')]['get']({'userProfileId':_0x490e6a[_0x477d('0x3e5')]['userProfileId'],'sectionId':0x3f1})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x54a896){var _0x5c2b88=_0x54a896&&_0x54a896[_0x477d('0xf2')]?_0x54a896[_0x477d('0xf2')][0x0]:null;if(!_0x5c2b88){var _0x4c15a4=[];var _0x16dcad=[];_0x490e6a['triggerActions'][_0x477d('0xf2')][_0x477d('0x3b1')](function(_0x54667c){if(_0x54667c[_0x477d('0x450')]===_0x477d('0x23a0')){var _0x5e8761=_['find'](_0x490e6a[_0x477d('0xf34')],{'id':Number(_0x54667c[_0x477d('0x23a1')])});_0x16dcad[_0x477d('0x3a7')](_0x5e8761);}});for(var _0x5c6816=0x0;_0x5c6816<_0x490e6a[_0x477d('0xf34')]['length'];_0x5c6816++){var _0x494b86=_[_0x477d('0x3ab')](_0x16dcad,{'id':_0x490e6a['templates'][_0x5c6816]['id']});if(_0x494b86){_0x490e6a[_0x477d('0xf34')][_0x5c6816]['canSelect']=![];_0x4c15a4[_0x477d('0x3a7')](_0x490e6a[_0x477d('0xf34')][_0x5c6816]);}}_0x490e6a[_0x477d('0xf34')]=_0x4c15a4;}else{if(!_0x5c2b88[_0x477d('0x3ad')]){return _0x17a05f[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x5c2b88['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x49efe0){var _0x4031ce=_[_0x477d('0x3cb')](_0x49efe0[_0x477d('0xf2')],function(_0x4e800a){return _[_0x477d('0x10a')](_0x490e6a[_0x477d('0xf34')],{'id':_0x4e800a[_0x477d('0x3af')]});});var _0x1b21bd=null;_0x1b21bd=[];_0x490e6a[_0x477d('0x2347')][_0x477d('0xf2')][_0x477d('0x3b1')](function(_0x57bc61){if(_0x57bc61[_0x477d('0x450')]===_0x477d('0x23a0')){var _0x16ac88=_['find'](_0x490e6a[_0x477d('0xf34')],{'id':Number(_0x57bc61[_0x477d('0x23a1')])});_0x1b21bd[_0x477d('0x3a7')](_0x16ac88);}});if(!_['isEmpty'](_0x1b21bd)){_0x1b21bd['forEach'](function(_0x30a416){if(!_['some'](_0x4031ce,['id',_0x30a416['id']])){var _0x51b5b8=_[_0x477d('0x10a')](_0x490e6a[_0x477d('0xf34')],{'id':_0x30a416['id']});_0x51b5b8[_0x477d('0xf8b')]=![];_0x4031ce[_0x477d('0x3a7')](_0x51b5b8);}});}_0x490e6a[_0x477d('0xf34')]=_0x4031ce;});}}})['catch'](function(_0x3fdcda){_0x3f149b['error']({'title':_0x3fdcda[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x3fdcda[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x3fdcda[_0x477d('0x44d')]:_0x477d('0x23a2'),'msg':_0x3fdcda[_0x477d('0x451')]?JSON['stringify'](_0x3fdcda[_0x477d('0x451')]):_0x3fdcda[_0x477d('0x453')]()});});function _0x4e0647(_0x131995,_0x256577){_0x490e6a['trigger']=_0x131995;_0x490e6a[_0x477d('0xd66')]=typeof _0x256577!=='undefined'?_0x256577:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x490e6a['query'][_0x477d('0x23a3')]=_0x490e6a[_0x477d('0x233b')]['id'];_0x490e6a['query']['id']=_0x490e6a[_0x477d('0x233b')]['id'];_0x127493();_0x43afcd();}function _0x43afcd(){var _0x5bdea6=[_0x477d('0x21c3')];var _0x2bf1e9=[0x515,0x516,0x517,0x519,0x51a,0x51b,0x51c];_0x35949b[_0x477d('0x23a4')](_0x5bdea6)['then'](function(_0x327f0c){_0x490e6a[_0x477d('0xd68')]=_[_0x477d('0xef')](_0x490e6a[_0x477d('0xd68')],_0x327f0c);})[_0x477d('0x76')](function(){_0x35949b[_0x477d('0x23a5')](_0x2bf1e9)[_0x477d('0x76')](function(_0xeda819){_0x490e6a['hasSectionPermissions']=_[_0x477d('0xef')](_0x490e6a[_0x477d('0x23a6')],_0xeda819);});})[_0x477d('0xf8')](function(_0x267c1f){_0x3f149b[_0x477d('0x44a')]({'title':_0x267c1f['status']?_0x477d('0x44b')+_0x267c1f[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x267c1f[_0x477d('0x44d')]:_0x477d('0x23a7'),'msg':_0x267c1f['data']?JSON[_0x477d('0x3fb')](_0x267c1f['data']):_0x267c1f[_0x477d('0x453')]()});});}function _0x313c63(_0x112c0f,_0x19a17a){var _0x37125b=_0x9039bb[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x23a8'))['htmlContent'](_0x477d('0xd93')+(_0x112c0f[_0x477d('0x94')]||_0x112c0f['id']&&_[_0x477d('0x1367')]('action\x20#')+_0x112c0f['id']||_0x477d('0x450'))+_0x477d('0xd94')+'\x20will\x20be\x20deleted.')[_0x477d('0x687')](_0x477d('0x23a9'))[_0x477d('0xd7c')](_0x19a17a)['ok']('OK')['cancel'](_0x477d('0xd97'));_0x9039bb[_0x477d('0x395')](_0x37125b)[_0x477d('0x76')](function(){_0x3be669(_0x112c0f);},function(){console[_0x477d('0x7b')]('CANCEL');});}function _0x34c3d3(_0x213e83){_0x490e6a[_0x477d('0x2347')]=_0x213e83||{'count':0x0,'rows':[]};}function _0x127493(){_0x490e6a['query']['offset']=(_0x490e6a[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x490e6a[_0x477d('0x3ef')]['limit'];_0x490e6a[_0x477d('0x553')]=_0x17a05f[_0x477d('0x233b')][_0x477d('0x23aa')](_0x490e6a['query'],_0x34c3d3)[_0x477d('0x38b')];}function _0x32286e(_0x53249b,_0x31b57f){_0x9039bb[_0x477d('0x395')]({'controller':_0x477d('0x23ab'),'controllerAs':'vm','templateUrl':_0x477d('0x23ac'),'parent':angular['element'](_0x5b4246[_0x477d('0x399')]),'targetEvent':_0x53249b,'clickOutsideToClose':!![],'locals':{'trigger':_0x490e6a[_0x477d('0x233b')],'action':_0x31b57f,'actions':_0x490e6a[_0x477d('0x2347')][_0x477d('0xf2')],'license':null,'setting':null,'crudPermissions':_0x490e6a['crudPermissions']}});}function _0x3be669(_0x2fc539){_0x17a05f['action']['delete']({'id':_0x2fc539['id']})['$promise'][_0x477d('0x76')](function(){_['remove'](_0x490e6a[_0x477d('0x2347')]['rows'],{'id':_0x2fc539['id']});_0x490e6a[_0x477d('0x2347')][_0x477d('0x3bb')]-=0x1;if(!_0x490e6a[_0x477d('0x2347')]['rows'][_0x477d('0x79')]){_0x127493();}_0x3f149b[_0x477d('0x485')]({'title':_0x477d('0x23ad'),'msg':_0x2fc539[_0x477d('0x94')]?_0x2fc539[_0x477d('0x94')]+_0x477d('0xd7e'):''});})['catch'](function(_0x463ca5){if(_0x463ca5[_0x477d('0x451')]&&_0x463ca5['data'][_0x477d('0xd67')]&&_0x463ca5['data'][_0x477d('0xd67')][_0x477d('0x79')]){vm['errors']=_0x463ca5[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x463ca5[_0x477d('0x453')](),'type':_0x477d('0x23ae')}];for(var _0x742dba=0x0;_0x742dba<_0x463ca5[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x742dba++){_0x3f149b['error']({'title':_0x463ca5[_0x477d('0x451')][_0x477d('0xd67')][_0x742dba][_0x477d('0x439')],'msg':_0x463ca5[_0x477d('0x451')][_0x477d('0xd67')][_0x742dba][_0x477d('0x452')]});}}else{_0x3f149b['error']({'title':_0x463ca5[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x463ca5[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x463ca5[_0x477d('0x44d')]:_0x477d('0x23ae'),'msg':_0x463ca5[_0x477d('0x451')]?JSON['stringify'](_0x463ca5['data']['message']):_0x463ca5[_0x477d('0x452')]||_0x463ca5['toString']()});}});}function _0x1dbdb1(){var _0x11787a=angular[_0x477d('0x6d9')](_0x490e6a[_0x477d('0x2348')]);_0x490e6a[_0x477d('0x2348')]=[];return _0x11787a;}function _0x15dd52(_0x33f894){var _0x32c9e1=_0x9039bb[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x23af'))[_0x477d('0xd92')](_0x477d('0xd93')+_0x490e6a[_0x477d('0x2348')][_0x477d('0x79')]+_0x477d('0xda0')+_0x477d('0xd95'))['ariaLabel'](_0x477d('0x23b0'))[_0x477d('0xd7c')](_0x33f894)['ok']('OK')['cancel'](_0x477d('0xd97'));_0x9039bb['show'](_0x32c9e1)[_0x477d('0x76')](function(){_0x490e6a[_0x477d('0x2348')][_0x477d('0x3b1')](function(_0x558d3c){_0x3be669(_0x558d3c);});_0x490e6a['selectedTriggerActions']=[];});}var _0x33b184=!![];var _0x1483af=0x1;_0x12fb6e[_0x477d('0x4b5')](_0x477d('0x12f3'),function(_0x20f80a,_0x122bd6){if(_0x33b184){_0x255d3b(function(){_0x33b184=![];});}else{if(!_0x122bd6){_0x1483af=_0x490e6a[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x20f80a!==_0x122bd6){_0x490e6a[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0x20f80a){_0x490e6a['query'][_0x477d('0xe03')]=_0x1483af;}_0x127493();}});}}());(function(){'use strict';_0x5c7612[_0x477d('0xa')]=[_0x477d('0x474'),'$state',_0x477d('0xd64'),_0x477d('0x384'),'$q',_0x477d('0x40d'),_0x477d('0x40e'),_0x477d('0x969'),'action','trigger','api','Auth',_0x477d('0x613'),'setting',_0x477d('0xd66')];angular['module'](_0x477d('0x35'))[_0x477d('0x3ba')]('CreateOrEditActionDialogController',_0x5c7612);function _0x5c7612(_0x1c0750,_0x447ea7,_0x32222c,_0x4837a6,_0x2a5847,_0x80c38d,_0x5db8c7,_0x40b7c1,_0x3762d7,_0xfb0c0b,_0x74b518,_0x220d06,_0x1b44a0,_0x321355,_0x4bb70c){var _0x47c2f7=this;_0x47c2f7[_0x477d('0x3e5')]=_0x220d06[_0x477d('0x5c')]();_0x47c2f7['errors']=[];_0x47c2f7[_0x477d('0xc8e')]=_0x321355;_0x47c2f7[_0x477d('0x613')]=_0x1b44a0;_0x47c2f7[_0x477d('0xd66')]=_0x4bb70c;_0x47c2f7[_0x477d('0xd68')]={};_0x47c2f7[_0x477d('0xd69')]=_0x47c2f7[_0x477d('0xc8e')]&&_0x47c2f7[_0x477d('0xc8e')][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x47c2f7['title']=_0x477d('0x23b1');_0x47c2f7[_0x477d('0x450')]=angular[_0x477d('0x6d9')](_0x3762d7);_0x47c2f7[_0x477d('0x969')]=_0x40b7c1;_0x47c2f7['newAction']=![];_0x47c2f7[_0x477d('0x233b')]=angular[_0x477d('0x6d9')](_0xfb0c0b);if(!_0x47c2f7[_0x477d('0x450')]){_0x47c2f7[_0x477d('0x450')]={'data5':0x5,'data3':'0','data4':'0'};_0x47c2f7['title']=_0x477d('0x23b2');_0x47c2f7[_0x477d('0x23b3')]=!![];}if(_0x447ea7[_0x477d('0x37e')]['id']){_0x47c2f7[_0x477d('0x450')][_0x477d('0x23a3')]=_0x447ea7[_0x477d('0x37e')]['id'];}_0x47c2f7['addNewAction']=_0x4d6e09;_0x47c2f7[_0x477d('0x23b4')]=_0x4f482b;_0x47c2f7[_0x477d('0x23b5')]=_0x56c438;_0x47c2f7['getDateFromString']=_0xa38224;_0x47c2f7[_0x477d('0x23b6')]=_0x13a6bc;_0x47c2f7[_0x477d('0x23b7')]=_0xd8a02d;_0x47c2f7[_0x477d('0x6bf')]=_0x2a0796;_0x220d06['hasRole'](_0x477d('0x5f'))?_0x74b518[_0x477d('0xe3f')][_0x477d('0x376')]({'fields':'id,name','sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x579329){_0x47c2f7[_0x477d('0xf1')]=_0x579329[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x2703d0){_0x5db8c7[_0x477d('0x44a')]({'title':_0x2703d0[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x2703d0[_0x477d('0x3c3')]+'\x20-\x20'+_0x2703d0[_0x477d('0x44d')]:'SYSTEM:GET_LISTS','msg':_0x2703d0[_0x477d('0x451')]?JSON['stringify'](_0x2703d0[_0x477d('0x451')]):_0x2703d0[_0x477d('0x453')]()});}):_0x74b518[_0x477d('0xe3f')][_0x477d('0x376')]({'fields':'id,name','sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x558a53){_0x47c2f7['lists']=_0x558a53[_0x477d('0xf2')]||[];})['then'](function(){return _0x74b518[_0x477d('0x3ac')]['get']({'userProfileId':_0x47c2f7[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x12d})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x563a43){var _0x4d0c43=_0x563a43&&_0x563a43[_0x477d('0xf2')]?_0x563a43[_0x477d('0xf2')][0x0]:null;if(!_0x4d0c43){var _0xd7c1af=[];var _0x230b62=null;if(_0x47c2f7['action']){_0x230b62=_['find'](_0x47c2f7['lists'],{'id':Number(_0x47c2f7[_0x477d('0x450')]['data1'])});}for(var _0x1be153=0x0;_0x1be153<_0x47c2f7['lists'][_0x477d('0x79')];_0x1be153++){if(_0x230b62&&_0x47c2f7[_0x477d('0xf1')][_0x1be153]['id']===_0x230b62['id']){_0x47c2f7[_0x477d('0xf1')][_0x1be153]['canSelect']=![];_0xd7c1af[_0x477d('0x3a7')](_0x47c2f7['lists'][_0x1be153]);}}_0x47c2f7[_0x477d('0xf1')]=_0xd7c1af;}else{if(!_0x4d0c43[_0x477d('0x3ad')]){return _0x74b518[_0x477d('0x3ae')]['get']({'sectionId':_0x4d0c43['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x410a32){var _0x48f6f3=_['map'](_0x410a32['rows'],function(_0x2345c2){return _[_0x477d('0x10a')](_0x47c2f7[_0x477d('0xf1')],{'id':_0x2345c2[_0x477d('0x3af')]});});var _0x1580e4=null;if(_0x47c2f7[_0x477d('0x450')]){_0x1580e4=_['find'](_0x47c2f7['lists'],{'id':Number(_0x47c2f7[_0x477d('0x450')][_0x477d('0x2384')])});}if(_0x1580e4&&!_[_0x477d('0x3ab')](_0x48f6f3,['id',_0x1580e4['id']])){var _0x30582c=_[_0x477d('0x10a')](_0x47c2f7[_0x477d('0xf1')],{'id':_0x1580e4['id']});_0x30582c['canSelect']=![];_0x48f6f3[_0x477d('0x3a7')](_0x30582c);}_0x47c2f7[_0x477d('0xf1')]=_0x48f6f3;});}}})['catch'](function(_0x5549d1){_0x5db8c7[_0x477d('0x44a')]({'title':_0x5549d1['status']?_0x477d('0x44b')+_0x5549d1[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x5549d1[_0x477d('0x44d')]:'SYSTEM:GETlists','msg':_0x5549d1['data']?JSON[_0x477d('0x3fb')](_0x5549d1[_0x477d('0x451')]):_0x5549d1[_0x477d('0x453')]()});});_0x220d06['hasRole'](_0x477d('0x5f'))?_0x74b518[_0x477d('0xc88')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')]['then'](function(_0x549c19){_0x47c2f7[_0x477d('0xf12')]=_0x549c19[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x540f0a){_0x5db8c7[_0x477d('0x44a')]({'title':_0x540f0a['status']?_0x477d('0x44b')+_0x540f0a[_0x477d('0x3c3')]+'\x20-\x20'+_0x540f0a[_0x477d('0x44d')]:_0x477d('0x1d8e'),'msg':_0x540f0a[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x540f0a[_0x477d('0x451')]):_0x540f0a['toString']()});}):_0x74b518[_0x477d('0xc88')][_0x477d('0x376')]({'fields':'id,name','sort':'name','nolimit':_0x477d('0x2ee')})['$promise'][_0x477d('0x76')](function(_0x57d1b9){_0x47c2f7[_0x477d('0xf12')]=_0x57d1b9[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x74b518[_0x477d('0x3ac')]['get']({'userProfileId':_0x47c2f7[_0x477d('0x3e5')]['userProfileId'],'sectionId':0x6a5})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x191837){var _0x5dd4db=_0x191837&&_0x191837[_0x477d('0xf2')]?_0x191837['rows'][0x0]:null;if(!_0x5dd4db){var _0x223163=[];var _0xf165e1=null;if(_0x47c2f7[_0x477d('0x450')]){_0xf165e1=_[_0x477d('0x10a')](_0x47c2f7[_0x477d('0xf12')],{'id':Number(_0x47c2f7['action'][_0x477d('0x2384')])});}for(var _0x112e69=0x0;_0x112e69<_0x47c2f7[_0x477d('0xf12')][_0x477d('0x79')];_0x112e69++){if(_0xf165e1&&_0x47c2f7['projects'][_0x112e69]['id']===_0xf165e1['id']){_0x47c2f7[_0x477d('0xf12')][_0x112e69][_0x477d('0xf8b')]=![];_0x223163['push'](_0x47c2f7[_0x477d('0xf12')][_0x112e69]);}}_0x47c2f7[_0x477d('0xf12')]=_0x223163;}else{if(!_0x5dd4db[_0x477d('0x3ad')]){return _0x74b518[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x5dd4db['id']})[_0x477d('0x38b')]['then'](function(_0x21057b){var _0xd48bf2=_[_0x477d('0x3cb')](_0x21057b['rows'],function(_0x21ac26){return _[_0x477d('0x10a')](_0x47c2f7[_0x477d('0xf12')],{'id':_0x21ac26['resourceId']});});var _0x37a40f=null;if(_0x47c2f7[_0x477d('0x450')]){_0x37a40f=_[_0x477d('0x10a')](_0x47c2f7[_0x477d('0xf12')],{'id':Number(_0x47c2f7[_0x477d('0x450')][_0x477d('0x2384')])});}if(_0x37a40f&&!_[_0x477d('0x3ab')](_0xd48bf2,['id',_0x37a40f['id']])){var _0x462602=_['find'](_0x47c2f7[_0x477d('0xf12')],{'id':_0x37a40f['id']});_0x462602[_0x477d('0xf8b')]=![];_0xd48bf2[_0x477d('0x3a7')](_0x462602);}_0x47c2f7[_0x477d('0xf12')]=_0xd48bf2;});}}})[_0x477d('0xf8')](function(_0x47dbd6){_0x5db8c7['error']({'title':_0x47dbd6[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x47dbd6['status']+_0x477d('0x44c')+_0x47dbd6[_0x477d('0x44d')]:_0x477d('0x1d90'),'msg':_0x47dbd6[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x47dbd6[_0x477d('0x451')]):_0x47dbd6['toString']()});});_0x74b518[_0x477d('0xc16')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':'id','nolimit':'true'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x4c0251){_0x47c2f7[_0x477d('0x1bb7')]=_0x4c0251[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0xbda9){_0x5db8c7[_0x477d('0x44a')]({'title':_0xbda9[_0x477d('0x3c3')]?_0x477d('0x44b')+_0xbda9[_0x477d('0x3c3')]+'\x20-\x20'+_0xbda9[_0x477d('0x44d')]:'SYSTEM:GET_ZENDESKACCOUNTS','msg':_0xbda9[_0x477d('0x451')]?JSON['stringify'](_0xbda9[_0x477d('0x451')]):_0xbda9[_0x477d('0x453')]()});});_0x74b518['intDeskAccount']['get']({'fields':_0x477d('0x9c'),'sort':'id','nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x1cda0c){_0x47c2f7[_0x477d('0x19be')]=_0x1cda0c['rows']||[];})['catch'](function(_0x572213){_0x5db8c7[_0x477d('0x44a')]({'title':_0x572213[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x572213[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x572213[_0x477d('0x44d')]:_0x477d('0x2387'),'msg':_0x572213[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x572213[_0x477d('0x451')]):_0x572213[_0x477d('0x453')]()});});_0x74b518[_0x477d('0xc08')]['get']({'fields':_0x477d('0x9c'),'sort':'id','nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x43a178){_0x47c2f7[_0x477d('0x1bfa')]=_0x43a178[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x422231){_0x5db8c7[_0x477d('0x44a')]({'title':_0x422231['status']?_0x477d('0x44b')+_0x422231[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x422231[_0x477d('0x44d')]:_0x477d('0x2388'),'msg':_0x422231[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x422231['data']):_0x422231[_0x477d('0x453')]()});});_0x74b518[_0x477d('0xbdd')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':'id','nolimit':_0x477d('0x2ee')})['$promise'][_0x477d('0x76')](function(_0x3bddbd){_0x47c2f7[_0x477d('0x1aeb')]=_0x3bddbd[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x585c8b){_0x5db8c7[_0x477d('0x44a')]({'title':_0x585c8b['status']?_0x477d('0x44b')+_0x585c8b[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x585c8b[_0x477d('0x44d')]:_0x477d('0x23b8'),'msg':_0x585c8b[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x585c8b['data']):_0x585c8b[_0x477d('0x453')]()});});_0x74b518[_0x477d('0xbeb')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':'id','nolimit':'true'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x3502f0){_0x47c2f7['sugarcrmAccounts']=_0x3502f0[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x2bc63b){_0x5db8c7[_0x477d('0x44a')]({'title':_0x2bc63b['status']?_0x477d('0x44b')+_0x2bc63b[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x2bc63b[_0x477d('0x44d')]:'SYSTEM:GET_SUGARCRMACCOUNTS','msg':_0x2bc63b[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x2bc63b[_0x477d('0x451')]):_0x2bc63b['toString']()});});_0x74b518[_0x477d('0xc26')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':'id','nolimit':_0x477d('0x2ee')})['$promise'][_0x477d('0x76')](function(_0x5f4bb0){_0x47c2f7['freshdeskAccounts']=_0x5f4bb0[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x4157ba){_0x5db8c7[_0x477d('0x44a')]({'title':_0x4157ba[_0x477d('0x3c3')]?'API:'+_0x4157ba[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x4157ba[_0x477d('0x44d')]:_0x477d('0x2389'),'msg':_0x4157ba[_0x477d('0x451')]?JSON['stringify'](_0x4157ba[_0x477d('0x451')]):_0x4157ba['toString']()});});_0x74b518[_0x477d('0xc36')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':'id','nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x29955f){_0x47c2f7[_0x477d('0x1b87')]=_0x29955f['rows']||[];})[_0x477d('0xf8')](function(_0x53a7be){_0x5db8c7['error']({'title':_0x53a7be[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x53a7be[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x53a7be[_0x477d('0x44d')]:_0x477d('0x238a'),'msg':_0x53a7be[_0x477d('0x451')]?JSON['stringify'](_0x53a7be[_0x477d('0x451')]):_0x53a7be[_0x477d('0x453')]()});});_0x74b518['intDynamics365Account']['get']({'fields':_0x477d('0x9c'),'sort':'id','nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x4b007c){_0x47c2f7[_0x477d('0x1a30')]=_0x4b007c[_0x477d('0xf2')]||[];})['catch'](function(_0x6d777e){_0x5db8c7['error']({'title':_0x6d777e[_0x477d('0x3c3')]?'API:'+_0x6d777e['status']+_0x477d('0x44c')+_0x6d777e['statusText']:_0x477d('0x238b'),'msg':_0x6d777e[_0x477d('0x451')]?JSON['stringify'](_0x6d777e['data']):_0x6d777e['toString']()});});_0x74b518[_0x477d('0xc44')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':'id','nolimit':_0x477d('0x2ee')})['$promise']['then'](function(_0x1274ba){_0x47c2f7[_0x477d('0x1b20')]=_0x1274ba[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x18d53a){_0x5db8c7[_0x477d('0x44a')]({'title':_0x18d53a['status']?_0x477d('0x44b')+_0x18d53a[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x18d53a[_0x477d('0x44d')]:_0x477d('0x238c'),'msg':_0x18d53a['data']?JSON[_0x477d('0x3fb')](_0x18d53a['data']):_0x18d53a[_0x477d('0x453')]()});});_0x74b518[_0x477d('0xc5d')][_0x477d('0x376')]({'fields':'id,name','sort':'id','nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')]['then'](function(_0x28e5d6){_0x47c2f7[_0x477d('0x1ab1')]=_0x28e5d6[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0xa1dd18){_0x5db8c7[_0x477d('0x44a')]({'title':_0xa1dd18[_0x477d('0x3c3')]?_0x477d('0x44b')+_0xa1dd18[_0x477d('0x3c3')]+_0x477d('0x44c')+_0xa1dd18[_0x477d('0x44d')]:'SYSTEM:GET_FRESHSALESACCOUNTS','msg':_0xa1dd18[_0x477d('0x451')]?JSON['stringify'](_0xa1dd18[_0x477d('0x451')]):_0xa1dd18[_0x477d('0x453')]()});});_0x74b518['intZendeskConfiguration'][_0x477d('0x376')]({'fields':_0x477d('0x238e'),'sort':'id','nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x3f0602){_0x47c2f7[_0x477d('0x1bcb')]=_0x3f0602[_0x477d('0xf2')]||[];})['catch'](function(_0x3f6d85){_0x5db8c7['error']({'title':_0x3f6d85[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x3f6d85['status']+_0x477d('0x44c')+_0x3f6d85['statusText']:_0x477d('0x238f'),'msg':_0x3f6d85[_0x477d('0x451')]?JSON['stringify'](_0x3f6d85['data']):_0x3f6d85[_0x477d('0x453')]()});});_0x74b518[_0x477d('0xbfd')][_0x477d('0x376')]({'fields':_0x477d('0x238e'),'sort':'id','nolimit':'true'})[_0x477d('0x38b')]['then'](function(_0x4ebf12){_0x47c2f7[_0x477d('0x2390')]=_0x4ebf12[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x294e3e){_0x5db8c7[_0x477d('0x44a')]({'title':_0x294e3e['status']?_0x477d('0x44b')+_0x294e3e['status']+'\x20-\x20'+_0x294e3e[_0x477d('0x44d')]:'SYSTEM:GET_DESKCONFIGURATIONS','msg':_0x294e3e['data']?JSON[_0x477d('0x3fb')](_0x294e3e[_0x477d('0x451')]):_0x294e3e[_0x477d('0x453')]()});});_0x74b518[_0x477d('0x1c07')]['get']({'fields':_0x477d('0x238e'),'sort':'id','nolimit':_0x477d('0x2ee')})['$promise']['then'](function(_0x5c09a8){_0x47c2f7[_0x477d('0x2391')]=_0x5c09a8['rows']||[];})[_0x477d('0xf8')](function(_0x100795){_0x5db8c7[_0x477d('0x44a')]({'title':_0x100795[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x100795[_0x477d('0x3c3')]+'\x20-\x20'+_0x100795['statusText']:'SYSTEM:GET_ZOHOCONFIGURATIONS','msg':_0x100795['data']?JSON[_0x477d('0x3fb')](_0x100795[_0x477d('0x451')]):_0x100795[_0x477d('0x453')]()});});_0x74b518['intSalesforceConfiguration'][_0x477d('0x376')]({'fields':'id,name,AccountId','sort':'id','nolimit':_0x477d('0x2ee')})['$promise'][_0x477d('0x76')](function(_0x1377db){_0x47c2f7[_0x477d('0x2393')]=_0x1377db[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x133e61){_0x5db8c7[_0x477d('0x44a')]({'title':_0x133e61['status']?_0x477d('0x44b')+_0x133e61[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x133e61[_0x477d('0x44d')]:_0x477d('0x2394'),'msg':_0x133e61[_0x477d('0x451')]?JSON['stringify'](_0x133e61[_0x477d('0x451')]):_0x133e61[_0x477d('0x453')]()});});_0x74b518[_0x477d('0xbf0')][_0x477d('0x376')]({'fields':_0x477d('0x238e'),'sort':'id','nolimit':_0x477d('0x2ee')})['$promise'][_0x477d('0x76')](function(_0x14dc3e){_0x47c2f7[_0x477d('0x23b9')]=_0x14dc3e['rows']||[];})[_0x477d('0xf8')](function(_0x3d3285){_0x5db8c7[_0x477d('0x44a')]({'title':_0x3d3285[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x3d3285[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x3d3285['statusText']:'SYSTEM:GET_SUGARCRMCONFIGURATIONS','msg':_0x3d3285[_0x477d('0x451')]?JSON['stringify'](_0x3d3285['data']):_0x3d3285['toString']()});});_0x74b518[_0x477d('0xc2c')][_0x477d('0x376')]({'fields':'id,name,AccountId','sort':'id','nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')]['then'](function(_0x3aa7c9){_0x47c2f7[_0x477d('0x2396')]=_0x3aa7c9[_0x477d('0xf2')]||[];})['catch'](function(_0x5f2b3f){_0x5db8c7['error']({'title':_0x5f2b3f['status']?_0x477d('0x44b')+_0x5f2b3f[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x5f2b3f[_0x477d('0x44d')]:_0x477d('0x2397'),'msg':_0x5f2b3f[_0x477d('0x451')]?JSON['stringify'](_0x5f2b3f[_0x477d('0x451')]):_0x5f2b3f['toString']()});});_0x74b518[_0x477d('0xc3b')][_0x477d('0x376')]({'fields':_0x477d('0x238e'),'sort':'id','nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x135819){_0x47c2f7['vtigerConfigurations']=_0x135819['rows']||[];})[_0x477d('0xf8')](function(_0x4ca6be){_0x5db8c7[_0x477d('0x44a')]({'title':_0x4ca6be[_0x477d('0x3c3')]?'API:'+_0x4ca6be['status']+_0x477d('0x44c')+_0x4ca6be[_0x477d('0x44d')]:_0x477d('0x2399'),'msg':_0x4ca6be[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x4ca6be[_0x477d('0x451')]):_0x4ca6be[_0x477d('0x453')]()});});_0x74b518[_0x477d('0xc58')]['get']({'fields':'id,name,AccountId','sort':'id','nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')]['then'](function(_0x5c89f8){_0x47c2f7[_0x477d('0x239a')]=_0x5c89f8['rows']||[];})[_0x477d('0xf8')](function(_0x5ebcdc){_0x5db8c7['error']({'title':_0x5ebcdc[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x5ebcdc[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x5ebcdc[_0x477d('0x44d')]:_0x477d('0x239b'),'msg':_0x5ebcdc['data']?JSON[_0x477d('0x3fb')](_0x5ebcdc[_0x477d('0x451')]):_0x5ebcdc[_0x477d('0x453')]()});});_0x74b518[_0x477d('0xc49')][_0x477d('0x376')]({'fields':'id,name,AccountId','sort':'id','nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')]['then'](function(_0xbaf4c){_0x47c2f7[_0x477d('0x239c')]=_0xbaf4c[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x13340b){_0x5db8c7[_0x477d('0x44a')]({'title':_0x13340b[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x13340b[_0x477d('0x3c3')]+'\x20-\x20'+_0x13340b['statusText']:_0x477d('0x239d'),'msg':_0x13340b[_0x477d('0x451')]?JSON['stringify'](_0x13340b[_0x477d('0x451')]):_0x13340b[_0x477d('0x453')]()});});_0x74b518[_0x477d('0xc62')][_0x477d('0x376')]({'fields':_0x477d('0x238e'),'sort':'id','nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x399602){_0x47c2f7['freshsalesConfigurations']=_0x399602[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x2a7b65){_0x5db8c7[_0x477d('0x44a')]({'title':_0x2a7b65[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x2a7b65[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x2a7b65[_0x477d('0x44d')]:'SYSTEM:GET_FRESHSALESCONFIGURATIONS','msg':_0x2a7b65[_0x477d('0x451')]?JSON['stringify'](_0x2a7b65[_0x477d('0x451')]):_0x2a7b65[_0x477d('0x453')]()});});_0x220d06['hasRole']('admin')?_0x74b518['template']['get']({'fields':_0x477d('0x9c'),'sort':'id','nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x221e29){_0x47c2f7['templates']=_0x221e29[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x287211){_0x5db8c7['error']({'title':_0x287211[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x287211[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x287211[_0x477d('0x44d')]:_0x477d('0x239f'),'msg':_0x287211[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x287211['data']):_0x287211['toString']()});}):_0x74b518['template']['get']({'fields':'id,name','sort':'id','nolimit':_0x477d('0x2ee')})['$promise'][_0x477d('0x76')](function(_0x2a7723){_0x47c2f7[_0x477d('0xf34')]=_0x2a7723[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x74b518[_0x477d('0x3ac')]['get']({'userProfileId':_0x47c2f7[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x3f1})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x4e3cd1){var _0x4aab52=_0x4e3cd1&&_0x4e3cd1[_0x477d('0xf2')]?_0x4e3cd1[_0x477d('0xf2')][0x0]:null;if(!_0x4aab52){var _0x36bfea=[];var _0x4e9319=null;if(_0x47c2f7[_0x477d('0x450')]){_0x4e9319=_[_0x477d('0x10a')](_0x47c2f7[_0x477d('0xf34')],{'id':Number(_0x47c2f7['action'][_0x477d('0x23a1')])});}for(var _0x350f1b=0x0;_0x350f1b<_0x47c2f7[_0x477d('0xf34')][_0x477d('0x79')];_0x350f1b++){if(_0x4e9319&&_0x47c2f7[_0x477d('0xf34')][_0x350f1b]['id']===_0x4e9319['id']){_0x47c2f7[_0x477d('0xf34')][_0x350f1b][_0x477d('0xf8b')]=![];_0x36bfea['push'](_0x47c2f7[_0x477d('0xf34')][_0x350f1b]);}}_0x47c2f7[_0x477d('0xf34')]=_0x36bfea;}else{if(!_0x4aab52['autoAssociation']){return _0x74b518[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x4aab52['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x4ccad5){var _0x56a2b4=_[_0x477d('0x3cb')](_0x4ccad5[_0x477d('0xf2')],function(_0x37aab2){return _[_0x477d('0x10a')](_0x47c2f7['templates'],{'id':_0x37aab2[_0x477d('0x3af')]});});var _0x5e465b=null;if(_0x47c2f7[_0x477d('0x450')]){_0x5e465b=_[_0x477d('0x10a')](_0x47c2f7['templates'],{'id':Number(_0x47c2f7['action']['data2'])});}if(_0x5e465b&&!_['some'](_0x56a2b4,['id',_0x5e465b['id']])){var _0x177e52=_[_0x477d('0x10a')](_0x47c2f7[_0x477d('0xf34')],{'id':_0x5e465b['id']});_0x177e52[_0x477d('0xf8b')]=![];_0x56a2b4[_0x477d('0x3a7')](_0x177e52);}_0x47c2f7[_0x477d('0xf34')]=_0x56a2b4;});}}})[_0x477d('0xf8')](function(_0x38cd34){_0x5db8c7[_0x477d('0x44a')]({'title':_0x38cd34[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x38cd34[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x38cd34[_0x477d('0x44d')]:_0x477d('0x23a2'),'msg':_0x38cd34[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x38cd34[_0x477d('0x451')]):_0x38cd34['toString']()});});function _0x13a6bc(){var _0x39ff63=[_0x477d('0x21c3')];_0x220d06[_0x477d('0x23a4')](_0x39ff63)[_0x477d('0x76')](function(_0x5c39e3){_0x47c2f7[_0x477d('0xd68')]=_['merge'](_0x47c2f7[_0x477d('0xd68')],_0x5c39e3);})[_0x477d('0xf8')](function(_0x475631){_0x5db8c7[_0x477d('0x44a')]({'title':_0x475631[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x475631[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x475631['statusText']:_0x477d('0x23ba'),'msg':_0x475631['data']?JSON['stringify'](_0x475631[_0x477d('0x451')]):_0x475631[_0x477d('0x453')]()});});}function _0xd8a02d(){var _0x3312c6=[0x515,0x516,0x517,0x519,0x51a,0x51b,0x51c,0x51d,0x51e,0x51f];_0x220d06['hasSectionsPermissions'](_0x3312c6)[_0x477d('0x76')](function(_0x1eee93){_0x47c2f7['hasSectionPermissions']=_[_0x477d('0xef')](_0x47c2f7[_0x477d('0x23a6')],_0x1eee93);})['catch'](function(_0x4b405e){_0x5db8c7['error']({'title':_0x4b405e['status']?_0x477d('0x44b')+_0x4b405e[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x4b405e[_0x477d('0x44d')]:_0x477d('0x23bb'),'msg':_0x4b405e['data']?JSON[_0x477d('0x3fb')](_0x4b405e[_0x477d('0x451')]):_0x4b405e[_0x477d('0x453')]()});});}function _0x4d6e09(){_0x47c2f7['errors']=[];_0x74b518[_0x477d('0x233b')][_0x477d('0x23bc')]({'id':_0x447ea7[_0x477d('0x37e')]['id']},_0x47c2f7[_0x477d('0x450')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x160870){_0x47c2f7['actions'][_0x477d('0x63b')](_0x160870[_0x477d('0xd71')]());_0x5db8c7[_0x477d('0x485')]({'title':'Action\x20properly\x20created','msg':_0x47c2f7[_0x477d('0x450')][_0x477d('0x94')]?_0x47c2f7['action'][_0x477d('0x94')]+_0x477d('0xd73'):''});_0x2a0796(_0x160870);})[_0x477d('0xf8')](function(_0x354a78){if(_0x354a78['data']&&_0x354a78['data'][_0x477d('0xd67')]&&_0x354a78['data'][_0x477d('0xd67')]['length']){_0x47c2f7['errors']=_0x354a78[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x354a78[_0x477d('0x453')](),'type':_0x477d('0x23bd')}];for(var _0x94aee0=0x0;_0x94aee0<_0x354a78[_0x477d('0x451')]['errors'][_0x477d('0x79')];_0x94aee0+=0x1){_0x5db8c7[_0x477d('0x44a')]({'title':_0x354a78['data'][_0x477d('0xd67')][_0x94aee0][_0x477d('0x439')],'msg':_0x354a78[_0x477d('0x451')][_0x477d('0xd67')][_0x94aee0][_0x477d('0x452')]});}}else{_0x5db8c7[_0x477d('0x44a')]({'title':_0x354a78['status']?_0x477d('0x44b')+_0x354a78['status']+_0x477d('0x44c')+_0x354a78[_0x477d('0x44d')]:'api.action.save','msg':_0x354a78[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x354a78[_0x477d('0x451')][_0x477d('0x452')]):_0x354a78[_0x477d('0x453')]()});}});}function _0x4f482b(){_0x47c2f7['errors']=[];_0x74b518[_0x477d('0x450')]['update']({'id':_0x47c2f7[_0x477d('0x450')]['id']},_0x47c2f7['action'])[_0x477d('0x38b')][_0x477d('0x76')](function(_0xac1ad4){var _0x15cb5e=_[_0x477d('0x10a')](_0x47c2f7['actions'],{'id':_0xac1ad4['id']});if(_0x15cb5e){_[_0x477d('0xef')](_0x15cb5e,_[_0x477d('0x10b')](_0xac1ad4[_0x477d('0xd71')](),_[_0x477d('0x7f')](_0x15cb5e)));}_0x5db8c7[_0x477d('0x485')]({'title':_0x477d('0x23be'),'msg':_0x47c2f7[_0x477d('0x450')][_0x477d('0x94')]?_0x47c2f7[_0x477d('0x450')][_0x477d('0x94')]+_0x477d('0xd76'):''});_0x2a0796(_0xac1ad4);})[_0x477d('0xf8')](function(_0x49550b){if(_0x49550b[_0x477d('0x451')]&&_0x49550b[_0x477d('0x451')][_0x477d('0xd67')]&&_0x49550b['data'][_0x477d('0xd67')][_0x477d('0x79')]){_0x47c2f7['errors']=_0x49550b[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x49550b['toString'](),'type':'api.action.update'}];for(var _0x15f7e7=0x0;_0x15f7e7<_0x49550b[_0x477d('0x451')][_0x477d('0xd67')]['length'];_0x15f7e7++){_0x5db8c7[_0x477d('0x44a')]({'title':_0x49550b[_0x477d('0x451')][_0x477d('0xd67')][_0x15f7e7][_0x477d('0x439')],'msg':_0x49550b[_0x477d('0x451')][_0x477d('0xd67')][_0x15f7e7][_0x477d('0x452')]});}}else{_0x5db8c7[_0x477d('0x44a')]({'title':_0x49550b[_0x477d('0x3c3')]?'API:'+_0x49550b[_0x477d('0x3c3')]+'\x20-\x20'+_0x49550b[_0x477d('0x44d')]:'api.action.update','msg':_0x49550b[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x49550b['data'][_0x477d('0x452')]):_0x49550b['toString']()});}});}function _0x56c438(_0xeaa44f){_0x47c2f7['errors']=[];var _0x48dc76=_0x4837a6[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xd79'))[_0x477d('0xdaf')](_0x477d('0x23bf'))[_0x477d('0x687')](_0x477d('0x23c0'))['ok'](_0x477d('0xd7b'))['cancel']('Cancel')['targetEvent'](_0xeaa44f);_0x4837a6[_0x477d('0x395')](_0x48dc76)[_0x477d('0x76')](function(){_0x74b518[_0x477d('0x450')][_0x477d('0xa55')]({'id':_0x47c2f7[_0x477d('0x450')]['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x47c2f7['actions'],{'id':_0x47c2f7[_0x477d('0x450')]['id']});_0x5db8c7[_0x477d('0x485')]({'title':_0x477d('0x23c1'),'msg':(_0x47c2f7[_0x477d('0x450')][_0x477d('0x94')]||_0x477d('0x450'))+_0x477d('0xd7e')});_0x2a0796(_0x47c2f7[_0x477d('0x450')]);})[_0x477d('0xf8')](function(_0x36a4f6){if(_0x36a4f6['data']&&_0x36a4f6['data'][_0x477d('0xd67')]&&_0x36a4f6[_0x477d('0x451')]['errors']['length']){_0x47c2f7[_0x477d('0xd67')]=_0x36a4f6['data'][_0x477d('0xd67')]||[{'message':_0x36a4f6[_0x477d('0x453')](),'type':_0x477d('0x23c2')}];for(var _0x326ce6=0x0;_0x326ce6<_0x36a4f6[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x326ce6++){_0x5db8c7[_0x477d('0x44a')]({'title':_0x36a4f6[_0x477d('0x451')][_0x477d('0xd67')][_0x326ce6][_0x477d('0x439')],'msg':_0x36a4f6[_0x477d('0x451')][_0x477d('0xd67')][_0x326ce6][_0x477d('0x452')]});}}else{_0x5db8c7[_0x477d('0x44a')]({'title':_0x36a4f6['status']?_0x477d('0x44b')+_0x36a4f6[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x36a4f6[_0x477d('0x44d')]:_0x477d('0x23c2'),'msg':_0x36a4f6[_0x477d('0x451')]?JSON['stringify'](_0x36a4f6[_0x477d('0x451')]['message']):_0x36a4f6['message']||_0x36a4f6[_0x477d('0x453')]()});}});},function(){});}function _0xa38224(_0x5e5910){return _0x5e5910===null?undefined:new Date(_0x5e5910);}function _0x2a0796(_0x34b6f7){_0x4837a6[_0x477d('0x3bc')](_0x34b6f7);}}}());(function(){'use strict';_0x185a22[_0x477d('0xa')]=[_0x477d('0x385'),_0x477d('0x474'),_0x477d('0x3c4'),'$q',_0x477d('0x40d'),'$timeout',_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x40e'),_0x477d('0x386'),_0x477d('0x55')];angular[_0x477d('0xb')](_0x477d('0x35'))[_0x477d('0x3ba')](_0x477d('0x23c3'),_0x185a22);function _0x185a22(_0x4b6fb2,_0x3fd825,_0x2a009b,_0x35fc0b,_0x5285fb,_0x4d43be,_0x23f0eb,_0xb18693,_0x5b618d,_0x5769d5,_0x347bb9){var _0x2da8ba=this;_0x2da8ba[_0x477d('0x3e5')]=_0x347bb9[_0x477d('0x5c')]();_0x2da8ba['trigger']={};_0x2da8ba[_0x477d('0x23c4')]={'count':0x0,'rows':[]};_0x2da8ba[_0x477d('0x23c5')]=[];_0x2da8ba[_0x477d('0xd66')];_0x2da8ba[_0x477d('0x3ef')]={'fields':_0x477d('0x23c6'),'limit':0xa,'page':0x1};_0x2da8ba[_0x477d('0x23c7')]=_[_0x477d('0xdb5')]([{'option':_0x477d('0x1258'),'value':_0x477d('0x23c8'),'ngIf':_0x477d('0x234d')},{'option':_0x477d('0x23c9'),'value':_0x477d('0x23ca'),'ngIf':_0x477d('0x234d')},{'option':'OutboundRoute','value':_0x477d('0x23cb'),'ngIf':_0x477d('0x234d')},{'option':_0x477d('0x125d'),'value':'\x27agent\x27','ngIf':'vm.trigger.channel\x20==\x20\x27voice\x27'},{'option':_0x477d('0x15a4'),'value':'\x27account\x27','ngIf':_0x477d('0x23cc')},{'option':'Interaction','value':_0x477d('0x23cd'),'ngIf':_0x477d('0x23cc')},{'option':_0x477d('0x15ca'),'value':_0x477d('0x23ce'),'ngIf':_0x477d('0x23cc')}],function(_0x5bddb8){return _['replace'](_0x5bddb8[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x2da8ba[_0x477d('0x23cf')]=_[_0x477d('0xdb5')]([{'option':_0x477d('0x23d0'),'value':_0x477d('0x23d1')},{'option':_0x477d('0x23d2'),'value':_0x477d('0x23d3')}],function(_0xbc874){return _[_0x477d('0x409')](_0xbc874['value'],new RegExp('\x27','g'),'');});_0x2da8ba['callStatusValues']=_[_0x477d('0xdb5')]([{'option':_0x477d('0x23d4'),'value':'\x27abandoned\x27'},{'option':_0x477d('0x125a'),'value':_0x477d('0x138d')},{'option':'Hangup','value':_0x477d('0x23d5')},{'option':'Reject','value':'\x27rejected\x27'},{'option':_0x477d('0x23d6'),'value':'\x27called\x27'},{'option':'Answer','value':_0x477d('0x23d7')}],function(_0x1e0a5a){return _[_0x477d('0x409')](_0x1e0a5a[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x2da8ba[_0x477d('0x23d8')]=_[_0x477d('0xdb5')]([{'option':_0x477d('0x23d9'),'value':_0x477d('0x23da')},{'option':_0x477d('0x23db'),'value':_0x477d('0x23dc')}],function(_0x896e65){return _[_0x477d('0x409')](_0x896e65['value'],new RegExp('\x27','g'),'');});_0x2da8ba[_0x477d('0x23dd')]=_['keyBy']([{'option':_0x477d('0x23de'),'value':_0x477d('0x23df')},{'option':_0x477d('0x23e0'),'value':_0x477d('0x23e1')},{'option':'Accepted','value':_0x477d('0x23e2')},{'option':_0x477d('0x23e3'),'value':_0x477d('0x23e4')}],function(_0x187f55){return _[_0x477d('0x409')](_0x187f55[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x2da8ba[_0x477d('0x5ee')]=_0x2c41c7;_0x2da8ba[_0x477d('0xe66')]=_0x557084;_0x2da8ba['success']=_0x314ffa;_0x2da8ba[_0x477d('0x23e5')]=_0x31142a;_0x2da8ba[_0x477d('0x23e6')]=_0x3a86bf;_0x2da8ba[_0x477d('0x23e7')]=_0x46a6d4;_0x2da8ba['deleteTriggerAllCondition']=_0x328dfe;_0x2da8ba[_0x477d('0x23e8')]=_0x3f2d1c;_0x347bb9[_0x477d('0x56')](_0x477d('0x5f'))?_0x5769d5['chatWebsite'][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':'id','nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x32f560){_0x2da8ba['chatAccounts']=_0x32f560[_0x477d('0xf2')]||[];})['catch'](function(_0x3a1a62){_0x5b618d[_0x477d('0x44a')]({'title':_0x3a1a62['status']?'API:'+_0x3a1a62[_0x477d('0x3c3')]+'\x20-\x20'+_0x3a1a62[_0x477d('0x44d')]:_0x477d('0x23e9'),'msg':_0x3a1a62[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x3a1a62[_0x477d('0x451')]):_0x3a1a62[_0x477d('0x453')]()});}):_0x5769d5[_0x477d('0xb32')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':'id','nolimit':'true'})['$promise'][_0x477d('0x76')](function(_0x26b70a){_0x2da8ba[_0x477d('0x1610')]=_0x26b70a[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x5769d5[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x2da8ba['currentUser'][_0x477d('0x61')],'sectionId':0x1f6})[_0x477d('0x38b')];})['then'](function(_0x661c1e){var _0x4613f7=_0x661c1e&&_0x661c1e[_0x477d('0xf2')]?_0x661c1e['rows'][0x0]:null;if(!_0x4613f7){var _0x5e5f82=[];var _0x51faf2=[];_0x2da8ba[_0x477d('0x23c4')][_0x477d('0xf2')][_0x477d('0x3b1')](function(_0x574765){if(_0x574765[_0x477d('0x463')]===_0x477d('0x15e5')){var _0x425137=_[_0x477d('0x10a')](_0x2da8ba[_0x477d('0x1610')],{'id':Number(_0x574765[_0x477d('0x3b6')])});_0x51faf2['push'](_0x425137);}});for(var _0x3f4f13=0x0;_0x3f4f13<_0x2da8ba[_0x477d('0x1610')][_0x477d('0x79')];_0x3f4f13++){var _0x4188e7=_[_0x477d('0x3ab')](_0x51faf2,{'id':_0x2da8ba[_0x477d('0x1610')][_0x3f4f13]['id']});if(_0x4188e7){_0x2da8ba[_0x477d('0x1610')][_0x3f4f13]['canSelect']=![];_0x5e5f82[_0x477d('0x3a7')](_0x2da8ba[_0x477d('0x1610')][_0x3f4f13]);}}_0x2da8ba[_0x477d('0x1610')]=_0x5e5f82;}else{if(!_0x4613f7[_0x477d('0x3ad')]){return _0x5769d5[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x4613f7['id']})[_0x477d('0x38b')]['then'](function(_0x38d59e){var _0x36fc59=_['map'](_0x38d59e['rows'],function(_0x3c4e23){return _[_0x477d('0x10a')](_0x2da8ba[_0x477d('0x1610')],{'id':_0x3c4e23[_0x477d('0x3af')]});});var _0x36fb5b=null;_0x36fb5b=[];_0x2da8ba['triggerAllConditions'][_0x477d('0xf2')][_0x477d('0x3b1')](function(_0x5b30bd){if(_0x5b30bd[_0x477d('0x463')]==='account'){var _0x363759=_['find'](_0x2da8ba[_0x477d('0x1610')],{'id':Number(_0x5b30bd['value'])});_0x36fb5b[_0x477d('0x3a7')](_0x363759);}});if(!_[_0x477d('0x3b2')](_0x36fb5b)){_0x36fb5b[_0x477d('0x3b1')](function(_0x1a6c81){if(!_['some'](_0x36fc59,['id',_0x1a6c81['id']])){var _0x525f42=_['find'](_0x2da8ba['chatAccounts'],{'id':_0x1a6c81['id']});_0x525f42[_0x477d('0xf8b')]=![];_0x36fc59['push'](_0x525f42);}});}_0x2da8ba[_0x477d('0x1610')]=_0x36fc59;});}}})[_0x477d('0xf8')](function(_0x31f871){_0x5b618d[_0x477d('0x44a')]({'title':_0x31f871[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x31f871[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x31f871[_0x477d('0x44d')]:_0x477d('0x23ea'),'msg':_0x31f871[_0x477d('0x451')]?JSON['stringify'](_0x31f871['data']):_0x31f871[_0x477d('0x453')]()});});_0x347bb9['hasRole'](_0x477d('0x5f'))?_0x5769d5[_0x477d('0x1775')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':'id','nolimit':'true'})[_0x477d('0x38b')]['then'](function(_0x1f5454){_0x2da8ba[_0x477d('0xf33')]=_0x1f5454['rows']||[];})['catch'](function(_0x553784){_0x5b618d[_0x477d('0x44a')]({'title':_0x553784[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x553784['status']+'\x20-\x20'+_0x553784[_0x477d('0x44d')]:'SYSTEM:GET_MAILACCOUNTS','msg':_0x553784[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x553784[_0x477d('0x451')]):_0x553784[_0x477d('0x453')]()});}):_0x5769d5[_0x477d('0x1775')]['get']({'fields':'id,name','sort':'id','nolimit':'true'})['$promise'][_0x477d('0x76')](function(_0x4c038a){_0x2da8ba[_0x477d('0xf33')]=_0x4c038a[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x5769d5['userProfileSection'][_0x477d('0x376')]({'userProfileId':_0x2da8ba[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x25a})['$promise'];})[_0x477d('0x76')](function(_0x3fe7ea){var _0x2e5997=_0x3fe7ea&&_0x3fe7ea['rows']?_0x3fe7ea[_0x477d('0xf2')][0x0]:null;if(!_0x2e5997){var _0x37730c=[];var _0x40744d=[];_0x2da8ba[_0x477d('0x23c4')][_0x477d('0xf2')][_0x477d('0x3b1')](function(_0x5dd742){if(_0x5dd742[_0x477d('0x463')]===_0x477d('0x15e5')){var _0x3582fc=_['find'](_0x2da8ba[_0x477d('0xf33')],{'id':Number(_0x5dd742[_0x477d('0x3b6')])});_0x40744d[_0x477d('0x3a7')](_0x3582fc);}});for(var _0x596e84=0x0;_0x596e84<_0x2da8ba[_0x477d('0xf33')][_0x477d('0x79')];_0x596e84++){var _0x4c94d8=_[_0x477d('0x3ab')](_0x40744d,{'id':_0x2da8ba[_0x477d('0xf33')][_0x596e84]['id']});if(_0x4c94d8){_0x2da8ba[_0x477d('0xf33')][_0x596e84]['canSelect']=![];_0x37730c[_0x477d('0x3a7')](_0x2da8ba['mailAccounts'][_0x596e84]);}}_0x2da8ba['mailAccounts']=_0x37730c;}else{if(!_0x2e5997[_0x477d('0x3ad')]){return _0x5769d5[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x2e5997['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x14ae3d){var _0x8d645e=_[_0x477d('0x3cb')](_0x14ae3d[_0x477d('0xf2')],function(_0x16493c){return _[_0x477d('0x10a')](_0x2da8ba[_0x477d('0xf33')],{'id':_0x16493c[_0x477d('0x3af')]});});var _0x5b2be7=null;_0x5b2be7=[];_0x2da8ba[_0x477d('0x23c4')][_0x477d('0xf2')][_0x477d('0x3b1')](function(_0x1aca01){if(_0x1aca01[_0x477d('0x463')]===_0x477d('0x15e5')){var _0x1956a4=_[_0x477d('0x10a')](_0x2da8ba[_0x477d('0xf33')],{'id':Number(_0x1aca01[_0x477d('0x3b6')])});_0x5b2be7[_0x477d('0x3a7')](_0x1956a4);}});if(!_['isEmpty'](_0x5b2be7)){_0x5b2be7['forEach'](function(_0x1a93c3){if(!_[_0x477d('0x3ab')](_0x8d645e,['id',_0x1a93c3['id']])){var _0x27dd9c=_[_0x477d('0x10a')](_0x2da8ba[_0x477d('0xf33')],{'id':_0x1a93c3['id']});_0x27dd9c[_0x477d('0xf8b')]=![];_0x8d645e['push'](_0x27dd9c);}});}_0x2da8ba[_0x477d('0xf33')]=_0x8d645e;});}}})['catch'](function(_0x48a002){_0x5b618d[_0x477d('0x44a')]({'title':_0x48a002['status']?_0x477d('0x44b')+_0x48a002[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x48a002[_0x477d('0x44d')]:_0x477d('0x22ca'),'msg':_0x48a002[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x48a002['data']):_0x48a002[_0x477d('0x453')]()});});_0x347bb9[_0x477d('0x56')](_0x477d('0x5f'))?_0x5769d5[_0x477d('0xe45')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':'id','nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x459ea9){_0x2da8ba[_0x477d('0xf38')]=_0x459ea9[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x3ba620){_0x5b618d[_0x477d('0x44a')]({'title':_0x3ba620[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x3ba620[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x3ba620[_0x477d('0x44d')]:_0x477d('0x23eb'),'msg':_0x3ba620['data']?JSON['stringify'](_0x3ba620[_0x477d('0x451')]):_0x3ba620[_0x477d('0x453')]()});}):_0x5769d5['smsAccount'][_0x477d('0x376')]({'fields':'id,name','sort':'id','nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x3a179c){_0x2da8ba[_0x477d('0xf38')]=_0x3a179c[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x5769d5['userProfileSection']['get']({'userProfileId':_0x2da8ba['currentUser']['userProfileId'],'sectionId':0x2be})['$promise'];})['then'](function(_0x2a66fe){var _0x45019e=_0x2a66fe&&_0x2a66fe['rows']?_0x2a66fe[_0x477d('0xf2')][0x0]:null;if(!_0x45019e){var _0x4d2747=[];var _0x2c9e7b=[];_0x2da8ba[_0x477d('0x23c4')][_0x477d('0xf2')]['forEach'](function(_0x3de391){if(_0x3de391['field']===_0x477d('0x15e5')){var _0x31361a=_[_0x477d('0x10a')](_0x2da8ba[_0x477d('0xf38')],{'id':Number(_0x3de391[_0x477d('0x3b6')])});_0x2c9e7b[_0x477d('0x3a7')](_0x31361a);}});for(var _0x8aa1c2=0x0;_0x8aa1c2<_0x2da8ba[_0x477d('0xf38')][_0x477d('0x79')];_0x8aa1c2++){var _0x1d36c2=_['some'](_0x2c9e7b,{'id':_0x2da8ba['smsAccounts'][_0x8aa1c2]['id']});if(_0x1d36c2){_0x2da8ba[_0x477d('0xf38')][_0x8aa1c2][_0x477d('0xf8b')]=![];_0x4d2747[_0x477d('0x3a7')](_0x2da8ba[_0x477d('0xf38')][_0x8aa1c2]);}}_0x2da8ba[_0x477d('0xf38')]=_0x4d2747;}else{if(!_0x45019e[_0x477d('0x3ad')]){return _0x5769d5[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x45019e['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x427248){var _0x4dfda1=_[_0x477d('0x3cb')](_0x427248[_0x477d('0xf2')],function(_0x2e0a87){return _[_0x477d('0x10a')](_0x2da8ba[_0x477d('0xf38')],{'id':_0x2e0a87[_0x477d('0x3af')]});});var _0x2cee88=null;_0x2cee88=[];_0x2da8ba[_0x477d('0x23c4')]['rows'][_0x477d('0x3b1')](function(_0x4d76ad){if(_0x4d76ad['field']==='account'){var _0x398b26=_[_0x477d('0x10a')](_0x2da8ba['smsAccounts'],{'id':Number(_0x4d76ad['value'])});_0x2cee88['push'](_0x398b26);}});if(!_[_0x477d('0x3b2')](_0x2cee88)){_0x2cee88[_0x477d('0x3b1')](function(_0x166083){if(!_[_0x477d('0x3ab')](_0x4dfda1,['id',_0x166083['id']])){var _0x59f208=_[_0x477d('0x10a')](_0x2da8ba[_0x477d('0xf38')],{'id':_0x166083['id']});_0x59f208[_0x477d('0xf8b')]=![];_0x4dfda1[_0x477d('0x3a7')](_0x59f208);}});}_0x2da8ba[_0x477d('0xf38')]=_0x4dfda1;});}}})['catch'](function(_0x94c73e){_0x5b618d[_0x477d('0x44a')]({'title':_0x94c73e[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x94c73e[_0x477d('0x3c3')]+'\x20-\x20'+_0x94c73e[_0x477d('0x44d')]:_0x477d('0x23ec'),'msg':_0x94c73e[_0x477d('0x451')]?JSON['stringify'](_0x94c73e['data']):_0x94c73e[_0x477d('0x453')]()});});_0x347bb9[_0x477d('0x56')](_0x477d('0x5f'))?_0x5769d5[_0x477d('0x17e2')][_0x477d('0x376')]({'fields':'id,name','sort':'id','nolimit':_0x477d('0x2ee')})['$promise'][_0x477d('0x76')](function(_0x948fa5){_0x2da8ba['whatsappAccounts']=_0x948fa5[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x1efdd8){_0x5b618d[_0x477d('0x44a')]({'title':_0x1efdd8[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x1efdd8[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x1efdd8['statusText']:_0x477d('0x23ed'),'msg':_0x1efdd8['data']?JSON['stringify'](_0x1efdd8[_0x477d('0x451')]):_0x1efdd8[_0x477d('0x453')]()});}):_0x5769d5[_0x477d('0x17e2')][_0x477d('0x376')]({'fields':'id,name','sort':'id','nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x8a0a02){_0x2da8ba['whatsappAccounts']=_0x8a0a02[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x5769d5[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x2da8ba['currentUser'][_0x477d('0x61')],'sectionId':0x836})[_0x477d('0x38b')];})['then'](function(_0x26aba0){var _0x3caa57=_0x26aba0&&_0x26aba0[_0x477d('0xf2')]?_0x26aba0[_0x477d('0xf2')][0x0]:null;if(!_0x3caa57){var _0x46f3e2=[];var _0x2704ca=[];_0x2da8ba[_0x477d('0x23c4')][_0x477d('0xf2')][_0x477d('0x3b1')](function(_0x122baf){if(_0x122baf['field']===_0x477d('0x15e5')){var _0x3fdede=_[_0x477d('0x10a')](_0x2da8ba['whatsappAccounts'],{'id':Number(_0x122baf['value'])});_0x2704ca[_0x477d('0x3a7')](_0x3fdede);}});for(var _0x40c4f2=0x0;_0x40c4f2<_0x2da8ba[_0x477d('0x160f')][_0x477d('0x79')];_0x40c4f2++){var _0x42a64f=_['some'](_0x2704ca,{'id':_0x2da8ba['whatsappAccounts'][_0x40c4f2]['id']});if(_0x42a64f){_0x2da8ba['whatsappAccounts'][_0x40c4f2][_0x477d('0xf8b')]=![];_0x46f3e2['push'](_0x2da8ba[_0x477d('0x160f')][_0x40c4f2]);}}_0x2da8ba['whatsappAccounts']=_0x46f3e2;}else{if(!_0x3caa57[_0x477d('0x3ad')]){return _0x5769d5[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x3caa57['id']})[_0x477d('0x38b')]['then'](function(_0x25da28){var _0x3b1c5e=_[_0x477d('0x3cb')](_0x25da28['rows'],function(_0x194302){return _['find'](_0x2da8ba[_0x477d('0x160f')],{'id':_0x194302[_0x477d('0x3af')]});});var _0x10dc64=null;_0x10dc64=[];_0x2da8ba['triggerAllConditions'][_0x477d('0xf2')]['forEach'](function(_0x3b23a5){if(_0x3b23a5[_0x477d('0x463')]==='account'){var _0x1053f4=_[_0x477d('0x10a')](_0x2da8ba[_0x477d('0x160f')],{'id':Number(_0x3b23a5[_0x477d('0x3b6')])});_0x10dc64['push'](_0x1053f4);}});if(!_[_0x477d('0x3b2')](_0x10dc64)){_0x10dc64['forEach'](function(_0x5dbde7){if(!_[_0x477d('0x3ab')](_0x3b1c5e,['id',_0x5dbde7['id']])){var _0x41a834=_['find'](_0x2da8ba['whatsappAccounts'],{'id':_0x5dbde7['id']});_0x41a834[_0x477d('0xf8b')]=![];_0x3b1c5e[_0x477d('0x3a7')](_0x41a834);}});}_0x2da8ba['whatsappAccounts']=_0x3b1c5e;});}}})[_0x477d('0xf8')](function(_0x1d4edb){_0x5b618d[_0x477d('0x44a')]({'title':_0x1d4edb[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x1d4edb['status']+_0x477d('0x44c')+_0x1d4edb[_0x477d('0x44d')]:'SYSTEM:GETwhatsappAccounts','msg':_0x1d4edb[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x1d4edb[_0x477d('0x451')]):_0x1d4edb[_0x477d('0x453')]()});});_0x347bb9[_0x477d('0x56')](_0x477d('0x5f'))?_0x5769d5[_0x477d('0xada')]['get']({'fields':'id,name','sort':'id','nolimit':'true'})[_0x477d('0x38b')]['then'](function(_0x5cbf56){_0x2da8ba[_0x477d('0x160c')]=_0x5cbf56[_0x477d('0xf2')]||[];})['catch'](function(_0x3cfbce){_0x5b618d['error']({'title':_0x3cfbce[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x3cfbce[_0x477d('0x3c3')]+'\x20-\x20'+_0x3cfbce[_0x477d('0x44d')]:_0x477d('0x23ee'),'msg':_0x3cfbce[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x3cfbce[_0x477d('0x451')]):_0x3cfbce[_0x477d('0x453')]()});}):_0x5769d5[_0x477d('0xada')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':'id','nolimit':'true'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x255515){_0x2da8ba[_0x477d('0x160c')]=_0x255515[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x5769d5[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x2da8ba['currentUser']['userProfileId'],'sectionId':0x386})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x42ab52){var _0x3dc8ba=_0x42ab52&&_0x42ab52[_0x477d('0xf2')]?_0x42ab52[_0x477d('0xf2')][0x0]:null;if(!_0x3dc8ba){var _0x45a118=[];var _0x3f8d6b=[];_0x2da8ba[_0x477d('0x23c4')][_0x477d('0xf2')][_0x477d('0x3b1')](function(_0x449b38){if(_0x449b38[_0x477d('0x463')]===_0x477d('0x15e5')){var _0x1dc0af=_[_0x477d('0x10a')](_0x2da8ba[_0x477d('0x160c')],{'id':Number(_0x449b38[_0x477d('0x3b6')])});_0x3f8d6b[_0x477d('0x3a7')](_0x1dc0af);}});for(var _0x194a13=0x0;_0x194a13<_0x2da8ba[_0x477d('0x160c')]['length'];_0x194a13++){var _0x17d7b5=_[_0x477d('0x3ab')](_0x3f8d6b,{'id':_0x2da8ba[_0x477d('0x160c')][_0x194a13]['id']});if(_0x17d7b5){_0x2da8ba[_0x477d('0x160c')][_0x194a13][_0x477d('0xf8b')]=![];_0x45a118[_0x477d('0x3a7')](_0x2da8ba[_0x477d('0x160c')][_0x194a13]);}}_0x2da8ba[_0x477d('0x160c')]=_0x45a118;}else{if(!_0x3dc8ba[_0x477d('0x3ad')]){return _0x5769d5[_0x477d('0x3ae')]['get']({'sectionId':_0x3dc8ba['id']})['$promise'][_0x477d('0x76')](function(_0x160f1c){var _0x3ccca6=_[_0x477d('0x3cb')](_0x160f1c[_0x477d('0xf2')],function(_0x350cee){return _[_0x477d('0x10a')](_0x2da8ba[_0x477d('0x160c')],{'id':_0x350cee['resourceId']});});var _0x304f74=null;_0x304f74=[];_0x2da8ba[_0x477d('0x23c4')][_0x477d('0xf2')][_0x477d('0x3b1')](function(_0x2ce850){if(_0x2ce850['field']===_0x477d('0x15e5')){var _0x2651f2=_[_0x477d('0x10a')](_0x2da8ba[_0x477d('0x160c')],{'id':Number(_0x2ce850[_0x477d('0x3b6')])});_0x304f74[_0x477d('0x3a7')](_0x2651f2);}});if(!_[_0x477d('0x3b2')](_0x304f74)){_0x304f74[_0x477d('0x3b1')](function(_0x4e5e16){if(!_[_0x477d('0x3ab')](_0x3ccca6,['id',_0x4e5e16['id']])){var _0x429be5=_['find'](_0x2da8ba['faxAccounts'],{'id':_0x4e5e16['id']});_0x429be5[_0x477d('0xf8b')]=![];_0x3ccca6[_0x477d('0x3a7')](_0x429be5);}});}_0x2da8ba['faxAccounts']=_0x3ccca6;});}}})[_0x477d('0xf8')](function(_0x2f7c1d){_0x5b618d['error']({'title':_0x2f7c1d[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x2f7c1d['status']+'\x20-\x20'+_0x2f7c1d['statusText']:_0x477d('0x23ef'),'msg':_0x2f7c1d[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x2f7c1d[_0x477d('0x451')]):_0x2f7c1d['toString']()});});_0x347bb9[_0x477d('0x56')](_0x477d('0x5f'))?_0x5769d5[_0x477d('0xb16')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':'id','nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0xea9955){_0x2da8ba[_0x477d('0x160d')]=_0xea9955[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x173df6){_0x5b618d[_0x477d('0x44a')]({'title':_0x173df6[_0x477d('0x3c3')]?'API:'+_0x173df6[_0x477d('0x3c3')]+'\x20-\x20'+_0x173df6[_0x477d('0x44d')]:_0x477d('0x23f0'),'msg':_0x173df6['data']?JSON[_0x477d('0x3fb')](_0x173df6['data']):_0x173df6[_0x477d('0x453')]()});}):_0x5769d5[_0x477d('0xb16')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':'id','nolimit':'true'})['$promise']['then'](function(_0x1cd6d9){_0x2da8ba[_0x477d('0x160d')]=_0x1cd6d9[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x5769d5['userProfileSection'][_0x477d('0x376')]({'userProfileId':_0x2da8ba[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x322})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x497470){var _0x1b8f04=_0x497470&&_0x497470[_0x477d('0xf2')]?_0x497470[_0x477d('0xf2')][0x0]:null;if(!_0x1b8f04){var _0xac270f=[];var _0x22704b=[];_0x2da8ba['triggerAllConditions'][_0x477d('0xf2')][_0x477d('0x3b1')](function(_0x103b9c){if(_0x103b9c[_0x477d('0x463')]===_0x477d('0x15e5')){var _0x137309=_[_0x477d('0x10a')](_0x2da8ba[_0x477d('0x160d')],{'id':Number(_0x103b9c[_0x477d('0x3b6')])});_0x22704b[_0x477d('0x3a7')](_0x137309);}});for(var _0x2bb79f=0x0;_0x2bb79f<_0x2da8ba['openchannelAccounts']['length'];_0x2bb79f++){var _0x3a6228=_['some'](_0x22704b,{'id':_0x2da8ba[_0x477d('0x160d')][_0x2bb79f]['id']});if(_0x3a6228){_0x2da8ba[_0x477d('0x160d')][_0x2bb79f][_0x477d('0xf8b')]=![];_0xac270f[_0x477d('0x3a7')](_0x2da8ba[_0x477d('0x160d')][_0x2bb79f]);}}_0x2da8ba[_0x477d('0x160d')]=_0xac270f;}else{if(!_0x1b8f04[_0x477d('0x3ad')]){return _0x5769d5['userProfileResource'][_0x477d('0x376')]({'sectionId':_0x1b8f04['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x2ce645){var _0x19edd3=_[_0x477d('0x3cb')](_0x2ce645[_0x477d('0xf2')],function(_0xcb24bf){return _[_0x477d('0x10a')](_0x2da8ba[_0x477d('0x160d')],{'id':_0xcb24bf[_0x477d('0x3af')]});});var _0x245e7e=null;_0x245e7e=[];_0x2da8ba[_0x477d('0x23c4')][_0x477d('0xf2')][_0x477d('0x3b1')](function(_0x548a96){if(_0x548a96[_0x477d('0x463')]===_0x477d('0x15e5')){var _0x1d3277=_[_0x477d('0x10a')](_0x2da8ba[_0x477d('0x160d')],{'id':Number(_0x548a96[_0x477d('0x3b6')])});_0x245e7e['push'](_0x1d3277);}});if(!_[_0x477d('0x3b2')](_0x245e7e)){_0x245e7e[_0x477d('0x3b1')](function(_0xc878f2){if(!_[_0x477d('0x3ab')](_0x19edd3,['id',_0xc878f2['id']])){var _0x69396f=_['find'](_0x2da8ba['openchannelAccounts'],{'id':_0xc878f2['id']});_0x69396f[_0x477d('0xf8b')]=![];_0x19edd3[_0x477d('0x3a7')](_0x69396f);}});}_0x2da8ba[_0x477d('0x160d')]=_0x19edd3;});}}})[_0x477d('0xf8')](function(_0x2210b5){_0x5b618d[_0x477d('0x44a')]({'title':_0x2210b5[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x2210b5[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x2210b5['statusText']:'SYSTEM:GETopenchannelAccounts','msg':_0x2210b5[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x2210b5['data']):_0x2210b5[_0x477d('0x453')]()});});var _0x25da95=[{'id':0x191,'type':'inbound'},{'id':0x5dd,'type':'outbound'}];var _0x437797=null;_0x347bb9[_0x477d('0x56')](_0x477d('0x5f'))?_0x5769d5['voiceQueue']['get']({'fields':_0x477d('0x12de'),'sort':_0x477d('0x94'),'nolimit':'true'})[_0x477d('0x38b')]['then'](function(_0x3a5a34){_0x2da8ba['queues']=_0x3a5a34[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0xeb8ee8){_0x5b618d[_0x477d('0x44a')]({'title':_0xeb8ee8['status']?_0x477d('0x44b')+_0xeb8ee8[_0x477d('0x3c3')]+_0x477d('0x44c')+_0xeb8ee8[_0x477d('0x44d')]:_0x477d('0x1934'),'msg':_0xeb8ee8[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0xeb8ee8[_0x477d('0x451')]):_0xeb8ee8[_0x477d('0x453')]()});}):_0x5769d5[_0x477d('0xa76')]['get']({'fields':_0x477d('0x12de'),'sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x420cea){_0x437797=_0x420cea[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){var _0x363a40=[];for(var _0x21cdcb=0x0;_0x21cdcb<_0x25da95[_0x477d('0x79')];_0x21cdcb++){_0x363a40['push'](_0x5769d5[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x2da8ba['currentUser'][_0x477d('0x61')],'sectionId':_0x25da95[_0x21cdcb]['id']})[_0x477d('0x38b')]);}return _0x35fc0b[_0x477d('0x7c')](_0x363a40);})[_0x477d('0x76')](function(_0x2586b2){var _0x432a3c=_['map'](_0x2586b2,function(_0x26cea4){return _0x26cea4&&_0x26cea4[_0x477d('0xf2')]?_0x26cea4[_0x477d('0xf2')][0x0]:null;});var _0x2ca23c=[];for(var _0x52b981=0x0;_0x52b981<_0x25da95['length'];_0x52b981++){var _0x163810=_[_0x477d('0x10a')](_0x432a3c,[_0x477d('0x3a8'),_0x25da95[_0x52b981]['id']]);if(_0x163810){if(!_0x163810[_0x477d('0x3ad')]){_0x2ca23c[_0x477d('0x3a7')](_0x5769d5[_0x477d('0x3ae')]['get']({'sectionId':_0x163810['id']})[_0x477d('0x38b')]);}else{var _0xeb9630=[];_0x437797[_0x477d('0x3b1')](function(_0x3d021b){if(_0x3d021b['type']===_0x25da95[_0x52b981][_0x477d('0x439')]){_0xeb9630[_0x477d('0x3a7')](_0x3d021b);}});_0x2ca23c[_0x477d('0x3a7')]({'rows':_0xeb9630,'count':_0xeb9630['length']});}}}return _0x35fc0b[_0x477d('0x7c')](_0x2ca23c);})[_0x477d('0x76')](function(_0x2017ea){var _0x348042=[];var _0x386e68=[];_0x2da8ba[_0x477d('0x23c4')]['rows']['forEach'](function(_0xf4f3b5){if(_0xf4f3b5[_0x477d('0x463')]===_0x477d('0x1256')){var _0x5e0f95=_[_0x477d('0x10a')](_0x437797,{'name':_0xf4f3b5[_0x477d('0x3b6')]});_0x386e68[_0x477d('0x3a7')](_0x5e0f95);}});for(var _0x4c4c76=0x0;_0x4c4c76<_0x2017ea['length'];_0x4c4c76++){var _0x2ce457=_0x2017ea[_0x4c4c76][_0x477d('0xf2')]||[];_0x2ce457[_0x477d('0x3b1')](function(_0x544b1a){_0x348042[_0x477d('0x3a7')](_0x544b1a);});}if(!_[_0x477d('0x3b2')](_0x386e68)){_0x386e68[_0x477d('0x3b1')](function(_0x77b5c8){if(!_['some'](_0x348042,[_0x477d('0x3af'),_0x77b5c8['id']])){var _0x2d188b=_[_0x477d('0x10a')](_0x437797,{'id':_0x77b5c8['id']});_0x2d188b['canSelect']=![];_0x348042[_0x477d('0x3a7')](_0x2d188b);}});}_0x2da8ba[_0x477d('0xf2f')]=_0x348042;})['catch'](function(_0x2830d5){_0x5b618d[_0x477d('0x44a')]({'title':_0x2830d5[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x2830d5[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x2830d5['statusText']:'SYSTEM:GETqueues','msg':_0x2830d5[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x2830d5[_0x477d('0x451')]):_0x2830d5['toString']()});});_0x347bb9[_0x477d('0x56')](_0x477d('0x5f'))?_0x5769d5[_0x477d('0x21a5')][_0x477d('0x376')]({'fields':_0x477d('0x23f1'),'type':_0x477d('0x127'),'VoiceExtensionId':_0x477d('0xea'),'nolimit':'true'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0xc843d){_0x2da8ba['outboundRoutes']=_0xc843d[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x2149af){_0x5b618d['error']({'title':_0x2149af[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x2149af[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x2149af['statusText']:_0x477d('0x23f2'),'msg':_0x2149af[_0x477d('0x451')]?JSON['stringify'](_0x2149af[_0x477d('0x451')]):_0x2149af[_0x477d('0x453')]()});}):_0x5769d5[_0x477d('0x21a5')][_0x477d('0x376')]({'fields':_0x477d('0x23f1'),'type':'outbound','VoiceExtensionId':_0x477d('0xea'),'nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x146b76){_0x2da8ba[_0x477d('0x23f3')]=_0x146b76['rows']||[];})[_0x477d('0x76')](function(){return _0x5769d5[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x2da8ba[_0x477d('0x3e5')]['userProfileId'],'sectionId':0x193})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x3d3e23){var _0x2aa21b=_0x3d3e23&&_0x3d3e23[_0x477d('0xf2')]?_0x3d3e23[_0x477d('0xf2')][0x0]:null;if(!_0x2aa21b){var _0x33a8ea=[];var _0x478b33=[];_0x2da8ba['triggerAllConditions'][_0x477d('0xf2')]['forEach'](function(_0x44fcb8){if(_0x44fcb8[_0x477d('0x463')]===_0x477d('0x23f4')){var _0x52410b=_[_0x477d('0x10a')](_0x2da8ba[_0x477d('0x23f3')],{'id':Number(_0x44fcb8['value'])});_0x478b33[_0x477d('0x3a7')](_0x52410b);}});for(var _0x17397d=0x0;_0x17397d<_0x2da8ba[_0x477d('0x23f3')]['length'];_0x17397d++){var _0x4dfb6a=_[_0x477d('0x3ab')](_0x478b33,{'id':_0x2da8ba[_0x477d('0x23f3')][_0x17397d]['id']});if(_0x4dfb6a){_0x2da8ba['outboundRoutes'][_0x17397d][_0x477d('0xf8b')]=![];_0x33a8ea[_0x477d('0x3a7')](_0x2da8ba[_0x477d('0x23f3')][_0x17397d]);}}_0x2da8ba['outboundRoutes']=_0x33a8ea;}else{if(!_0x2aa21b[_0x477d('0x3ad')]){return _0x5769d5[_0x477d('0x3ae')]['get']({'sectionId':_0x2aa21b['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x1c6df0){var _0x32e2ed=_[_0x477d('0x3cb')](_0x1c6df0[_0x477d('0xf2')],function(_0x2f8d3d){return _[_0x477d('0x10a')](_0x2da8ba[_0x477d('0x23f3')],{'id':_0x2f8d3d[_0x477d('0x3af')]});});var _0x59bc98=null;_0x59bc98=[];_0x2da8ba['triggerAllConditions']['rows']['forEach'](function(_0x493434){if(_0x493434['field']==='routeId'){var _0x13c35a=_[_0x477d('0x10a')](_0x2da8ba['outboundRoutes'],{'id':Number(_0x493434['value'])});_0x59bc98['push'](_0x13c35a);}});if(!_[_0x477d('0x3b2')](_0x59bc98)){_0x59bc98[_0x477d('0x3b1')](function(_0x2126a1){if(!_[_0x477d('0x3ab')](_0x32e2ed,['id',_0x2126a1['id']])){var _0x2cb09e=_[_0x477d('0x10a')](_0x2da8ba[_0x477d('0x23f3')],{'id':_0x2126a1['id']});_0x2cb09e['canSelect']=![];_0x32e2ed['push'](_0x2cb09e);}});}_0x2da8ba['outboundRoutes']=_0x32e2ed;});}}})[_0x477d('0xf8')](function(_0x15f1e9){_0x5b618d[_0x477d('0x44a')]({'title':_0x15f1e9[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x15f1e9[_0x477d('0x3c3')]+'\x20-\x20'+_0x15f1e9[_0x477d('0x44d')]:'SYSTEM:GEToutboundRoutes','msg':_0x15f1e9[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x15f1e9[_0x477d('0x451')]):_0x15f1e9[_0x477d('0x453')]()});});_0x347bb9[_0x477d('0x56')](_0x477d('0x5f'))?_0x5769d5[_0x477d('0x380')]['get']({'fields':_0x477d('0x1360'),'sort':_0x477d('0x94'),'role':'agent','nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x370e0a){_0x2da8ba[_0x477d('0x125c')]=_0x370e0a[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x1183f5){_0x5b618d['error']({'title':_0x1183f5[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x1183f5[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x1183f5['statusText']:_0x477d('0x11f6'),'msg':_0x1183f5['data']?JSON[_0x477d('0x3fb')](_0x1183f5[_0x477d('0x451')]):_0x1183f5[_0x477d('0x453')]()});}):_0x5769d5[_0x477d('0x380')][_0x477d('0x376')]({'fields':_0x477d('0x1360'),'sort':_0x477d('0x94'),'role':_0x477d('0xcf'),'nolimit':_0x477d('0x2ee')})['$promise'][_0x477d('0x76')](function(_0x541e64){_0x2da8ba[_0x477d('0x125c')]=_0x541e64[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x5769d5[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x2da8ba[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0xca})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x3604ab){var _0x3921c8=_0x3604ab&&_0x3604ab[_0x477d('0xf2')]?_0x3604ab[_0x477d('0xf2')][0x0]:null;if(!_0x3921c8){var _0x508639=[];var _0xa06f0f=[];_0x2da8ba[_0x477d('0x23c4')]['rows'][_0x477d('0x3b1')](function(_0x7ed218){if(_0x7ed218['field']==='agent'){var _0x1740d1=_[_0x477d('0x10a')](_0x2da8ba['agents'],{'name':_0x7ed218[_0x477d('0x3b6')]});_0xa06f0f[_0x477d('0x3a7')](_0x1740d1);}});for(var _0x1eae38=0x0;_0x1eae38<_0x2da8ba['agents'][_0x477d('0x79')];_0x1eae38++){var _0x4d3939=_[_0x477d('0x3ab')](_0xa06f0f,{'id':_0x2da8ba[_0x477d('0x125c')][_0x1eae38]['id']});if(_0x4d3939){_0x2da8ba['agents'][_0x1eae38][_0x477d('0xf8b')]=![];_0x508639[_0x477d('0x3a7')](_0x2da8ba['agents'][_0x1eae38]);}}_0x2da8ba[_0x477d('0x125c')]=_0x508639;}else{if(!_0x3921c8[_0x477d('0x3ad')]){return _0x5769d5[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x3921c8['id']})['$promise'][_0x477d('0x76')](function(_0x170dff){var _0x1cd8c9=_['map'](_0x170dff[_0x477d('0xf2')],function(_0x573d95){return _[_0x477d('0x10a')](_0x2da8ba[_0x477d('0x125c')],{'id':_0x573d95[_0x477d('0x3af')]});});var _0x2fc005=null;_0x2fc005=[];_0x2da8ba[_0x477d('0x23c4')][_0x477d('0xf2')]['forEach'](function(_0x3e174c){if(_0x3e174c[_0x477d('0x463')]==='agent'){var _0x5e655d=_[_0x477d('0x10a')](_0x2da8ba[_0x477d('0x125c')],{'name':_0x3e174c[_0x477d('0x3b6')]});_0x2fc005[_0x477d('0x3a7')](_0x5e655d);}});if(!_[_0x477d('0x3b2')](_0x2fc005)){_0x2fc005['forEach'](function(_0x5bb0cc){if(!_[_0x477d('0x3ab')](_0x1cd8c9,['id',_0x5bb0cc['id']])){var _0x92b177=_[_0x477d('0x10a')](_0x2da8ba['agents'],{'id':_0x5bb0cc['id']});_0x92b177[_0x477d('0xf8b')]=![];_0x1cd8c9['push'](_0x92b177);}});}_0x2da8ba['agents']=_0x1cd8c9;});}}})['catch'](function(_0x3237be){_0x5b618d[_0x477d('0x44a')]({'title':_0x3237be['status']?_0x477d('0x44b')+_0x3237be[_0x477d('0x3c3')]+'\x20-\x20'+_0x3237be[_0x477d('0x44d')]:_0x477d('0x12b4'),'msg':_0x3237be[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x3237be[_0x477d('0x451')]):_0x3237be[_0x477d('0x453')]()});});function _0x2c41c7(_0xe7ef85,_0x44fd62){_0x2da8ba[_0x477d('0x233b')]=_0xe7ef85;_0x2da8ba[_0x477d('0xd66')]=typeof _0x44fd62!==_0x477d('0x4a4')?_0x44fd62:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x2da8ba[_0x477d('0x3ef')]['TriggerAllId']=_0x2da8ba['trigger']['id'];_0x2da8ba[_0x477d('0x3ef')]['id']=_0x2da8ba[_0x477d('0x233b')]['id'];_0x31142a();}function _0x557084(_0x223404,_0x3e03b8){var _0x37adaf=_0x23f0eb[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x23f5'))[_0x477d('0xd92')](''+(_0x223404[_0x477d('0x94')]||_0x223404['id']&&_[_0x477d('0x1367')](_0x477d('0x23f6'))+_0x223404['id']||_0x477d('0x23f7'))+_0x477d('0xd94')+_0x477d('0xd95'))[_0x477d('0x687')]('delete\x20allCondition')[_0x477d('0xd7c')](_0x3e03b8)['ok']('OK')['cancel']('CANCEL');_0x23f0eb[_0x477d('0x395')](_0x37adaf)[_0x477d('0x76')](function(){_0x328dfe(_0x223404);},function(){console[_0x477d('0x7b')](_0x477d('0xd97'));});}function _0x314ffa(_0x26c0bb){_0x2da8ba[_0x477d('0x23c4')]=_0x26c0bb||{'count':0x0,'rows':[]};}function _0x31142a(){_0x2da8ba[_0x477d('0x3ef')][_0x477d('0x91c')]=(_0x2da8ba['query'][_0x477d('0xe03')]-0x1)*_0x2da8ba['query'][_0x477d('0x91d')];_0x2da8ba[_0x477d('0x553')]=_0x5769d5[_0x477d('0x233b')][_0x477d('0x23f8')](_0x2da8ba['query'],_0x314ffa)[_0x477d('0x38b')];}function _0x3a86bf(_0x1aeb51,_0x47258a){_0x23f0eb[_0x477d('0x395')]({'controller':_0x477d('0x23f9'),'controllerAs':'vm','templateUrl':'app/main/apps/tools/views/triggers/edit/allconditions/dialog.html','parent':angular[_0x477d('0x398')](_0xb18693[_0x477d('0x399')]),'targetEvent':_0x1aeb51,'clickOutsideToClose':!![],'locals':{'trigger':_0x2da8ba[_0x477d('0x233b')],'allCondition':_0x47258a,'allconditions':_0x2da8ba[_0x477d('0x23c4')][_0x477d('0xf2')],'license':null,'setting':null,'crudPermissions':_0x2da8ba[_0x477d('0xd66')]}});}function _0x328dfe(_0x52bb73){_0x5769d5[_0x477d('0xb98')][_0x477d('0xa55')]({'id':_0x52bb73['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_['remove'](_0x2da8ba['triggerAllConditions']['rows'],{'id':_0x52bb73['id']});_0x2da8ba[_0x477d('0x23c4')]['count']-=0x1;if(!_0x2da8ba[_0x477d('0x23c4')][_0x477d('0xf2')][_0x477d('0x79')]){_0x31142a();}_0x5b618d[_0x477d('0x485')]({'title':_0x477d('0x23fa'),'msg':_0x52bb73['name']?_0x52bb73[_0x477d('0x94')]+_0x477d('0xd7e'):''});})['catch'](function(_0x1a5d11){if(_0x1a5d11[_0x477d('0x451')]&&_0x1a5d11['data'][_0x477d('0xd67')]&&_0x1a5d11[_0x477d('0x451')][_0x477d('0xd67')]['length']){vm[_0x477d('0xd67')]=_0x1a5d11['data'][_0x477d('0xd67')]||[{'message':_0x1a5d11[_0x477d('0x453')](),'type':_0x477d('0x23ae')}];for(var _0x11ec14=0x0;_0x11ec14<_0x1a5d11[_0x477d('0x451')]['errors'][_0x477d('0x79')];_0x11ec14++){_0x5b618d[_0x477d('0x44a')]({'title':_0x1a5d11['data'][_0x477d('0xd67')][_0x11ec14][_0x477d('0x439')],'msg':_0x1a5d11[_0x477d('0x451')][_0x477d('0xd67')][_0x11ec14]['message']});}}else{_0x5b618d[_0x477d('0x44a')]({'title':_0x1a5d11[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x1a5d11[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x1a5d11['statusText']:_0x477d('0x23ae'),'msg':_0x1a5d11[_0x477d('0x451')]?JSON['stringify'](_0x1a5d11[_0x477d('0x451')][_0x477d('0x452')]):_0x1a5d11[_0x477d('0x452')]||_0x1a5d11[_0x477d('0x453')]()});}});}function _0x46a6d4(){var _0x5ee814=angular[_0x477d('0x6d9')](_0x2da8ba[_0x477d('0x23c5')]);_0x2da8ba[_0x477d('0x23c5')]=[];return _0x5ee814;}function _0x3f2d1c(_0x5dc3cc){var _0x4981e0=_0x23f0eb['confirm']()[_0x477d('0x49a')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20allconditions?')[_0x477d('0xd92')](''+_0x2da8ba['selectedTriggerAllConditions']['length']+'\x20selected'+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x23fb'))[_0x477d('0xd7c')](_0x5dc3cc)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x23f0eb['show'](_0x4981e0)[_0x477d('0x76')](function(){_0x2da8ba[_0x477d('0x23c5')][_0x477d('0x3b1')](function(_0x1e77c7){_0x328dfe(_0x1e77c7);});_0x2da8ba[_0x477d('0x23c5')]=[];});}var _0x359552=!![];var _0x234d77=0x1;_0x3fd825['$watch'](_0x477d('0x12f3'),function(_0x3409ff,_0x582da3){if(_0x359552){_0x4d43be(function(){_0x359552=![];});}else{if(!_0x582da3){_0x234d77=_0x2da8ba[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x3409ff!==_0x582da3){_0x2da8ba[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0x3409ff){_0x2da8ba[_0x477d('0x3ef')][_0x477d('0xe03')]=_0x234d77;}_0x31142a();}});}}());(function(){'use strict';_0x1973d0[_0x477d('0xa')]=['$scope',_0x477d('0x3c4'),_0x477d('0xd64'),_0x477d('0x384'),'$q',_0x477d('0x40d'),'toasty',_0x477d('0x23fc'),_0x477d('0x23f7'),_0x477d('0x233b'),_0x477d('0x386'),_0x477d('0x55'),'license',_0x477d('0xc8e'),_0x477d('0xd66')];angular[_0x477d('0xb')]('app.tools')[_0x477d('0x3ba')](_0x477d('0x23f9'),_0x1973d0);function _0x1973d0(_0x269173,_0x4006ba,_0xab78e1,_0x3fd02c,_0x361da8,_0x389a1a,_0x5a5118,_0x12cf2c,_0xd429ae,_0x176db5,_0x310bff,_0x2711eb,_0x502aaa,_0x268f37,_0xc15027){var _0x285f2b=this;_0x285f2b[_0x477d('0x3e5')]=_0x2711eb[_0x477d('0x5c')]();_0x285f2b[_0x477d('0xd67')]=[];_0x285f2b[_0x477d('0xc8e')]=_0x268f37;_0x285f2b[_0x477d('0x613')]=_0x502aaa;_0x285f2b['crudPermissions']=_0xc15027;_0x285f2b[_0x477d('0xd68')]={};_0x285f2b[_0x477d('0xd69')]=_0x285f2b[_0x477d('0xc8e')]&&_0x285f2b[_0x477d('0xc8e')][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x285f2b[_0x477d('0x49a')]='TOOLS.EDIT_ALLCONDITION';_0x285f2b[_0x477d('0x23f7')]=angular['copy'](_0xd429ae);_0x285f2b[_0x477d('0x23fc')]=_0x12cf2c;_0x285f2b[_0x477d('0x23fd')]=![];_0x285f2b[_0x477d('0x233b')]=angular[_0x477d('0x6d9')](_0x176db5);if(!_0x285f2b[_0x477d('0x23f7')]){_0x285f2b['allCondition']={'field':_0x477d('0x1256'),'operator':_0x477d('0x546'),'value':_0x477d('0x111'),'value':'opened','value':'in'};_0x285f2b['title']=_0x477d('0x23fe');_0x285f2b[_0x477d('0x23fd')]=!![];}if(_0x4006ba[_0x477d('0x37e')]['id']){_0x285f2b['allCondition'][_0x477d('0x23ff')]=_0x4006ba[_0x477d('0x37e')]['id'];}_0x285f2b[_0x477d('0x2400')]=_0x4c8710;_0x285f2b[_0x477d('0x2401')]=_0x5c2008;_0x285f2b[_0x477d('0x2402')]=_0x49b9b;_0x285f2b[_0x477d('0xd6f')]=_0x274d65;_0x285f2b[_0x477d('0x6bf')]=_0x46ccff;_0x2711eb[_0x477d('0x56')](_0x477d('0x5f'))?_0x310bff['chatWebsite']['get']({'fields':_0x477d('0x9c'),'sort':'id','nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x344859){_0x285f2b[_0x477d('0x1610')]=_0x344859[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x5ced94){_0x5a5118[_0x477d('0x44a')]({'title':_0x5ced94[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x5ced94[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x5ced94[_0x477d('0x44d')]:_0x477d('0x23e9'),'msg':_0x5ced94['data']?JSON[_0x477d('0x3fb')](_0x5ced94['data']):_0x5ced94[_0x477d('0x453')]()});}):_0x310bff['chatWebsite'][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':'id','nolimit':'true'})[_0x477d('0x38b')]['then'](function(_0xf0f557){_0x285f2b[_0x477d('0x1610')]=_0xf0f557[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x310bff[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x285f2b[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x1f6})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x585062){var _0x346891=_0x585062&&_0x585062[_0x477d('0xf2')]?_0x585062['rows'][0x0]:null;if(!_0x346891){var _0x24574c=[];var _0x51bc7b=null;if(_0x285f2b[_0x477d('0x23f7')]){_0x51bc7b=_[_0x477d('0x10a')](_0x285f2b[_0x477d('0x1610')],{'id':Number(_0x285f2b[_0x477d('0x23f7')][_0x477d('0x3b6')])});}for(var _0x24fb56=0x0;_0x24fb56<_0x285f2b[_0x477d('0x1610')]['length'];_0x24fb56++){if(_0x51bc7b&&_0x285f2b['chatAccounts'][_0x24fb56]['id']===_0x51bc7b['id']){_0x285f2b[_0x477d('0x1610')][_0x24fb56][_0x477d('0xf8b')]=![];_0x24574c['push'](_0x285f2b[_0x477d('0x1610')][_0x24fb56]);}}_0x285f2b[_0x477d('0x1610')]=_0x24574c;}else{if(!_0x346891[_0x477d('0x3ad')]){return _0x310bff['userProfileResource'][_0x477d('0x376')]({'sectionId':_0x346891['id']})['$promise'][_0x477d('0x76')](function(_0x214aaf){var _0xe4569c=_['map'](_0x214aaf[_0x477d('0xf2')],function(_0x5732f1){return _['find'](_0x285f2b['chatAccounts'],{'id':_0x5732f1['resourceId']});});var _0x1a255d=null;if(_0x285f2b[_0x477d('0x23f7')]){_0x1a255d=_[_0x477d('0x10a')](_0x285f2b[_0x477d('0x1610')],{'id':Number(_0x285f2b[_0x477d('0x23f7')][_0x477d('0x3b6')])});}if(_0x1a255d&&!_[_0x477d('0x3ab')](_0xe4569c,['id',_0x1a255d['id']])){var _0x5f5047=_[_0x477d('0x10a')](_0x285f2b[_0x477d('0x1610')],{'id':_0x1a255d['id']});_0x5f5047[_0x477d('0xf8b')]=![];_0xe4569c[_0x477d('0x3a7')](_0x5f5047);}_0x285f2b[_0x477d('0x1610')]=_0xe4569c;});}}})[_0x477d('0xf8')](function(_0x19545b){_0x5a5118[_0x477d('0x44a')]({'title':_0x19545b['status']?'API:'+_0x19545b[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x19545b[_0x477d('0x44d')]:_0x477d('0x23ea'),'msg':_0x19545b[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x19545b['data']):_0x19545b['toString']()});});_0x2711eb[_0x477d('0x56')](_0x477d('0x5f'))?_0x310bff['mailAccount'][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':'id','nolimit':'true'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x171cd8){_0x285f2b[_0x477d('0xf33')]=_0x171cd8[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x1981c2){_0x5a5118[_0x477d('0x44a')]({'title':_0x1981c2[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x1981c2[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x1981c2[_0x477d('0x44d')]:_0x477d('0x22c9'),'msg':_0x1981c2[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x1981c2[_0x477d('0x451')]):_0x1981c2[_0x477d('0x453')]()});}):_0x310bff[_0x477d('0x1775')]['get']({'fields':_0x477d('0x9c'),'sort':'id','nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')]['then'](function(_0x9a15d5){_0x285f2b['mailAccounts']=_0x9a15d5[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x310bff[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x285f2b['currentUser'][_0x477d('0x61')],'sectionId':0x25a})[_0x477d('0x38b')];})['then'](function(_0x42ab7d){var _0x4868be=_0x42ab7d&&_0x42ab7d[_0x477d('0xf2')]?_0x42ab7d[_0x477d('0xf2')][0x0]:null;if(!_0x4868be){var _0x10b980=[];var _0x3dcb97=null;if(_0x285f2b[_0x477d('0x23f7')]){_0x3dcb97=_[_0x477d('0x10a')](_0x285f2b[_0x477d('0xf33')],{'id':Number(_0x285f2b[_0x477d('0x23f7')][_0x477d('0x3b6')])});}for(var _0x427960=0x0;_0x427960<_0x285f2b[_0x477d('0xf33')][_0x477d('0x79')];_0x427960++){if(_0x3dcb97&&_0x285f2b['mailAccounts'][_0x427960]['id']===_0x3dcb97['id']){_0x285f2b[_0x477d('0xf33')][_0x427960][_0x477d('0xf8b')]=![];_0x10b980[_0x477d('0x3a7')](_0x285f2b[_0x477d('0xf33')][_0x427960]);}}_0x285f2b['mailAccounts']=_0x10b980;}else{if(!_0x4868be[_0x477d('0x3ad')]){return _0x310bff['userProfileResource'][_0x477d('0x376')]({'sectionId':_0x4868be['id']})['$promise']['then'](function(_0x5dda0e){var _0x3850b1=_['map'](_0x5dda0e['rows'],function(_0x2e3507){return _[_0x477d('0x10a')](_0x285f2b[_0x477d('0xf33')],{'id':_0x2e3507[_0x477d('0x3af')]});});var _0x1e5428=null;if(_0x285f2b[_0x477d('0x23f7')]){_0x1e5428=_[_0x477d('0x10a')](_0x285f2b['mailAccounts'],{'id':Number(_0x285f2b[_0x477d('0x23f7')][_0x477d('0x3b6')])});}if(_0x1e5428&&!_['some'](_0x3850b1,['id',_0x1e5428['id']])){var _0x179adf=_[_0x477d('0x10a')](_0x285f2b[_0x477d('0xf33')],{'id':_0x1e5428['id']});_0x179adf[_0x477d('0xf8b')]=![];_0x3850b1['push'](_0x179adf);}_0x285f2b[_0x477d('0xf33')]=_0x3850b1;});}}})[_0x477d('0xf8')](function(_0x190485){_0x5a5118[_0x477d('0x44a')]({'title':_0x190485[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x190485[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x190485[_0x477d('0x44d')]:_0x477d('0x22ca'),'msg':_0x190485[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x190485[_0x477d('0x451')]):_0x190485[_0x477d('0x453')]()});});_0x2711eb[_0x477d('0x56')](_0x477d('0x5f'))?_0x310bff[_0x477d('0xe45')][_0x477d('0x376')]({'fields':'id,name','sort':'id','nolimit':_0x477d('0x2ee')})['$promise']['then'](function(_0x3a5f2a){_0x285f2b['smsAccounts']=_0x3a5f2a[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x579424){_0x5a5118[_0x477d('0x44a')]({'title':_0x579424['status']?_0x477d('0x44b')+_0x579424[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x579424['statusText']:_0x477d('0x23eb'),'msg':_0x579424[_0x477d('0x451')]?JSON['stringify'](_0x579424['data']):_0x579424['toString']()});}):_0x310bff[_0x477d('0xe45')][_0x477d('0x376')]({'fields':'id,name','sort':'id','nolimit':'true'})['$promise'][_0x477d('0x76')](function(_0x1dffbc){_0x285f2b[_0x477d('0xf38')]=_0x1dffbc[_0x477d('0xf2')]||[];})['then'](function(){return _0x310bff[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x285f2b[_0x477d('0x3e5')]['userProfileId'],'sectionId':0x2be})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x36d79f){var _0xd8a028=_0x36d79f&&_0x36d79f[_0x477d('0xf2')]?_0x36d79f[_0x477d('0xf2')][0x0]:null;if(!_0xd8a028){var _0x1b996f=[];var _0x1e6265=null;if(_0x285f2b[_0x477d('0x23f7')]){_0x1e6265=_[_0x477d('0x10a')](_0x285f2b[_0x477d('0xf38')],{'id':Number(_0x285f2b[_0x477d('0x23f7')]['value'])});}for(var _0x4a5dc7=0x0;_0x4a5dc7<_0x285f2b[_0x477d('0xf38')]['length'];_0x4a5dc7++){if(_0x1e6265&&_0x285f2b[_0x477d('0xf38')][_0x4a5dc7]['id']===_0x1e6265['id']){_0x285f2b[_0x477d('0xf38')][_0x4a5dc7][_0x477d('0xf8b')]=![];_0x1b996f[_0x477d('0x3a7')](_0x285f2b[_0x477d('0xf38')][_0x4a5dc7]);}}_0x285f2b[_0x477d('0xf38')]=_0x1b996f;}else{if(!_0xd8a028[_0x477d('0x3ad')]){return _0x310bff[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0xd8a028['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x48d353){var _0x34dd6e=_[_0x477d('0x3cb')](_0x48d353[_0x477d('0xf2')],function(_0x80144b){return _[_0x477d('0x10a')](_0x285f2b[_0x477d('0xf38')],{'id':_0x80144b[_0x477d('0x3af')]});});var _0x9c962c=null;if(_0x285f2b[_0x477d('0x23f7')]){_0x9c962c=_['find'](_0x285f2b[_0x477d('0xf38')],{'id':Number(_0x285f2b[_0x477d('0x23f7')][_0x477d('0x3b6')])});}if(_0x9c962c&&!_[_0x477d('0x3ab')](_0x34dd6e,['id',_0x9c962c['id']])){var _0x250328=_[_0x477d('0x10a')](_0x285f2b[_0x477d('0xf38')],{'id':_0x9c962c['id']});_0x250328['canSelect']=![];_0x34dd6e['push'](_0x250328);}_0x285f2b[_0x477d('0xf38')]=_0x34dd6e;});}}})[_0x477d('0xf8')](function(_0x539233){_0x5a5118[_0x477d('0x44a')]({'title':_0x539233[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x539233[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x539233[_0x477d('0x44d')]:_0x477d('0x23ec'),'msg':_0x539233[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x539233[_0x477d('0x451')]):_0x539233[_0x477d('0x453')]()});});_0x2711eb[_0x477d('0x56')](_0x477d('0x5f'))?_0x310bff['whatsappAccount'][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':'id','nolimit':_0x477d('0x2ee')})['$promise'][_0x477d('0x76')](function(_0x282d5d){_0x285f2b[_0x477d('0x160f')]=_0x282d5d[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x380ed9){_0x5a5118[_0x477d('0x44a')]({'title':_0x380ed9[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x380ed9[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x380ed9['statusText']:_0x477d('0x23ed'),'msg':_0x380ed9['data']?JSON[_0x477d('0x3fb')](_0x380ed9[_0x477d('0x451')]):_0x380ed9['toString']()});}):_0x310bff[_0x477d('0x17e2')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':'id','nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x292d8b){_0x285f2b[_0x477d('0x160f')]=_0x292d8b[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x310bff[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x285f2b[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x836})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x5b2fb9){var _0x454cd9=_0x5b2fb9&&_0x5b2fb9['rows']?_0x5b2fb9[_0x477d('0xf2')][0x0]:null;if(!_0x454cd9){var _0x422bdf=[];var _0x4d2034=null;if(_0x285f2b[_0x477d('0x23f7')]){_0x4d2034=_[_0x477d('0x10a')](_0x285f2b[_0x477d('0x160f')],{'id':Number(_0x285f2b[_0x477d('0x23f7')][_0x477d('0x3b6')])});}for(var _0x1d27c6=0x0;_0x1d27c6<_0x285f2b[_0x477d('0x160f')][_0x477d('0x79')];_0x1d27c6++){if(_0x4d2034&&_0x285f2b[_0x477d('0x160f')][_0x1d27c6]['id']===_0x4d2034['id']){_0x285f2b[_0x477d('0x160f')][_0x1d27c6]['canSelect']=![];_0x422bdf[_0x477d('0x3a7')](_0x285f2b[_0x477d('0x160f')][_0x1d27c6]);}}_0x285f2b['whatsappAccounts']=_0x422bdf;}else{if(!_0x454cd9['autoAssociation']){return _0x310bff[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x454cd9['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x18e183){var _0x3229ea=_['map'](_0x18e183['rows'],function(_0x12efc4){return _[_0x477d('0x10a')](_0x285f2b[_0x477d('0x160f')],{'id':_0x12efc4[_0x477d('0x3af')]});});var _0x48e4f7=null;if(_0x285f2b[_0x477d('0x23f7')]){_0x48e4f7=_[_0x477d('0x10a')](_0x285f2b[_0x477d('0x160f')],{'id':Number(_0x285f2b[_0x477d('0x23f7')][_0x477d('0x3b6')])});}if(_0x48e4f7&&!_['some'](_0x3229ea,['id',_0x48e4f7['id']])){var _0xdfe921=_[_0x477d('0x10a')](_0x285f2b[_0x477d('0x160f')],{'id':_0x48e4f7['id']});_0xdfe921[_0x477d('0xf8b')]=![];_0x3229ea[_0x477d('0x3a7')](_0xdfe921);}_0x285f2b[_0x477d('0x160f')]=_0x3229ea;});}}})[_0x477d('0xf8')](function(_0x33aac1){_0x5a5118[_0x477d('0x44a')]({'title':_0x33aac1[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x33aac1['status']+'\x20-\x20'+_0x33aac1['statusText']:_0x477d('0x2403'),'msg':_0x33aac1[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x33aac1['data']):_0x33aac1[_0x477d('0x453')]()});});_0x2711eb[_0x477d('0x56')]('admin')?_0x310bff[_0x477d('0xada')]['get']({'fields':_0x477d('0x9c'),'sort':'id','nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')]['then'](function(_0x369645){_0x285f2b[_0x477d('0x160c')]=_0x369645['rows']||[];})[_0x477d('0xf8')](function(_0x3834b0){_0x5a5118['error']({'title':_0x3834b0[_0x477d('0x3c3')]?'API:'+_0x3834b0[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x3834b0['statusText']:'SYSTEM:GET_FAXACCOUNTS','msg':_0x3834b0[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x3834b0['data']):_0x3834b0[_0x477d('0x453')]()});}):_0x310bff[_0x477d('0xada')][_0x477d('0x376')]({'fields':'id,name','sort':'id','nolimit':'true'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0xb4c830){_0x285f2b[_0x477d('0x160c')]=_0xb4c830[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x310bff[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x285f2b['currentUser'][_0x477d('0x61')],'sectionId':0x386})['$promise'];})[_0x477d('0x76')](function(_0x204c9a){var _0x2568ac=_0x204c9a&&_0x204c9a['rows']?_0x204c9a[_0x477d('0xf2')][0x0]:null;if(!_0x2568ac){var _0x4fa77b=[];var _0x20d244=null;if(_0x285f2b['allCondition']){_0x20d244=_['find'](_0x285f2b[_0x477d('0x160c')],{'id':Number(_0x285f2b[_0x477d('0x23f7')][_0x477d('0x3b6')])});}for(var _0x352238=0x0;_0x352238<_0x285f2b[_0x477d('0x160c')][_0x477d('0x79')];_0x352238++){if(_0x20d244&&_0x285f2b[_0x477d('0x160c')][_0x352238]['id']===_0x20d244['id']){_0x285f2b[_0x477d('0x160c')][_0x352238]['canSelect']=![];_0x4fa77b[_0x477d('0x3a7')](_0x285f2b[_0x477d('0x160c')][_0x352238]);}}_0x285f2b[_0x477d('0x160c')]=_0x4fa77b;}else{if(!_0x2568ac[_0x477d('0x3ad')]){return _0x310bff[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x2568ac['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x5b55ed){var _0x3d22c0=_[_0x477d('0x3cb')](_0x5b55ed[_0x477d('0xf2')],function(_0x552ed2){return _[_0x477d('0x10a')](_0x285f2b[_0x477d('0x160c')],{'id':_0x552ed2[_0x477d('0x3af')]});});var _0x300e84=null;if(_0x285f2b[_0x477d('0x23f7')]){_0x300e84=_['find'](_0x285f2b[_0x477d('0x160c')],{'id':Number(_0x285f2b[_0x477d('0x23f7')][_0x477d('0x3b6')])});}if(_0x300e84&&!_['some'](_0x3d22c0,['id',_0x300e84['id']])){var _0x547db5=_[_0x477d('0x10a')](_0x285f2b[_0x477d('0x160c')],{'id':_0x300e84['id']});_0x547db5[_0x477d('0xf8b')]=![];_0x3d22c0[_0x477d('0x3a7')](_0x547db5);}_0x285f2b['faxAccounts']=_0x3d22c0;});}}})[_0x477d('0xf8')](function(_0x2139cf){_0x5a5118[_0x477d('0x44a')]({'title':_0x2139cf[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x2139cf[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x2139cf['statusText']:_0x477d('0x23ef'),'msg':_0x2139cf[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x2139cf[_0x477d('0x451')]):_0x2139cf['toString']()});});_0x2711eb[_0x477d('0x56')]('admin')?_0x310bff[_0x477d('0xb16')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':'id','nolimit':'true'})['$promise']['then'](function(_0x4e4411){_0x285f2b['openchannelAccounts']=_0x4e4411[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x90972a){_0x5a5118['error']({'title':_0x90972a[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x90972a[_0x477d('0x3c3')]+'\x20-\x20'+_0x90972a[_0x477d('0x44d')]:_0x477d('0x23f0'),'msg':_0x90972a[_0x477d('0x451')]?JSON['stringify'](_0x90972a['data']):_0x90972a['toString']()});}):_0x310bff[_0x477d('0xb16')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':'id','nolimit':_0x477d('0x2ee')})['$promise'][_0x477d('0x76')](function(_0x3bd278){_0x285f2b[_0x477d('0x160d')]=_0x3bd278[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x310bff[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x285f2b[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x322})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x306e25){var _0x1a3ebe=_0x306e25&&_0x306e25[_0x477d('0xf2')]?_0x306e25[_0x477d('0xf2')][0x0]:null;if(!_0x1a3ebe){var _0x104a1e=[];var _0x50061d=null;if(_0x285f2b['allCondition']){_0x50061d=_[_0x477d('0x10a')](_0x285f2b['openchannelAccounts'],{'id':Number(_0x285f2b[_0x477d('0x23f7')][_0x477d('0x3b6')])});}for(var _0x3a8498=0x0;_0x3a8498<_0x285f2b[_0x477d('0x160d')]['length'];_0x3a8498++){if(_0x50061d&&_0x285f2b[_0x477d('0x160d')][_0x3a8498]['id']===_0x50061d['id']){_0x285f2b[_0x477d('0x160d')][_0x3a8498]['canSelect']=![];_0x104a1e['push'](_0x285f2b['openchannelAccounts'][_0x3a8498]);}}_0x285f2b[_0x477d('0x160d')]=_0x104a1e;}else{if(!_0x1a3ebe['autoAssociation']){return _0x310bff[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x1a3ebe['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x4cc758){var _0x4e1fb0=_[_0x477d('0x3cb')](_0x4cc758['rows'],function(_0x4109a9){return _[_0x477d('0x10a')](_0x285f2b['openchannelAccounts'],{'id':_0x4109a9[_0x477d('0x3af')]});});var _0x520764=null;if(_0x285f2b['allCondition']){_0x520764=_[_0x477d('0x10a')](_0x285f2b[_0x477d('0x160d')],{'id':Number(_0x285f2b[_0x477d('0x23f7')][_0x477d('0x3b6')])});}if(_0x520764&&!_[_0x477d('0x3ab')](_0x4e1fb0,['id',_0x520764['id']])){var _0x2ceee9=_['find'](_0x285f2b[_0x477d('0x160d')],{'id':_0x520764['id']});_0x2ceee9['canSelect']=![];_0x4e1fb0['push'](_0x2ceee9);}_0x285f2b[_0x477d('0x160d')]=_0x4e1fb0;});}}})[_0x477d('0xf8')](function(_0x4b7999){_0x5a5118['error']({'title':_0x4b7999['status']?_0x477d('0x44b')+_0x4b7999['status']+_0x477d('0x44c')+_0x4b7999[_0x477d('0x44d')]:_0x477d('0x2404'),'msg':_0x4b7999['data']?JSON['stringify'](_0x4b7999[_0x477d('0x451')]):_0x4b7999['toString']()});});var _0xab4e90=[{'id':0x191,'type':'inbound'},{'id':0x5dd,'type':_0x477d('0x127')}];var _0x6e78e0=null;_0x2711eb[_0x477d('0x56')]('admin')?_0x310bff['voiceQueue'][_0x477d('0x376')]({'fields':'id,name,type','sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x1035f4){_0x285f2b[_0x477d('0xf2f')]=_0x1035f4[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x217608){_0x5a5118[_0x477d('0x44a')]({'title':_0x217608['status']?'API:'+_0x217608[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x217608[_0x477d('0x44d')]:_0x477d('0x1934'),'msg':_0x217608[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x217608[_0x477d('0x451')]):_0x217608[_0x477d('0x453')]()});}):_0x310bff[_0x477d('0xa76')]['get']({'fields':_0x477d('0x12de'),'sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})['$promise'][_0x477d('0x76')](function(_0x4b60aa){_0x6e78e0=_0x4b60aa[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){var _0x6d0f83=[];for(var _0x447992=0x0;_0x447992<_0xab4e90[_0x477d('0x79')];_0x447992++){_0x6d0f83[_0x477d('0x3a7')](_0x310bff[_0x477d('0x3ac')]['get']({'userProfileId':_0x285f2b['currentUser'][_0x477d('0x61')],'sectionId':_0xab4e90[_0x447992]['id']})['$promise']);}return _0x361da8['all'](_0x6d0f83);})['then'](function(_0xe2369f){var _0x117ce3=_['map'](_0xe2369f,function(_0xf8bdc9){return _0xf8bdc9&&_0xf8bdc9[_0x477d('0xf2')]?_0xf8bdc9[_0x477d('0xf2')][0x0]:null;});var _0x208ffc=[];for(var _0x3425c1=0x0;_0x3425c1<_0xab4e90[_0x477d('0x79')];_0x3425c1++){var _0x1e6972=_['find'](_0x117ce3,[_0x477d('0x3a8'),_0xab4e90[_0x3425c1]['id']]);if(_0x1e6972){if(!_0x1e6972[_0x477d('0x3ad')]){_0x208ffc[_0x477d('0x3a7')](_0x310bff[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x1e6972['id']})['$promise']);}else{var _0x186f3a=[];_0x6e78e0['forEach'](function(_0x3db7db){if(_0x3db7db['type']===_0xab4e90[_0x3425c1][_0x477d('0x439')]){_0x186f3a[_0x477d('0x3a7')](_0x3db7db);}});_0x208ffc['push']({'rows':_0x186f3a,'count':_0x186f3a[_0x477d('0x79')]});}}}return _0x361da8['all'](_0x208ffc);})[_0x477d('0x76')](function(_0x59c129){var _0x17611b=[];var _0x4ad26e=null;if(_0x285f2b[_0x477d('0x23f7')]){_0x4ad26e=_[_0x477d('0x10a')](_0x6e78e0,{'name':_0x285f2b[_0x477d('0x23f7')][_0x477d('0x3b6')]});}for(var _0x3d6c60=0x0;_0x3d6c60<_0x59c129[_0x477d('0x79')];_0x3d6c60++){var _0x2449ee=_0x59c129[_0x3d6c60]['rows']||[];_0x2449ee[_0x477d('0x3b1')](function(_0xfe29a4){_0x17611b['push'](_0xfe29a4);});}if(_0x4ad26e&&!_['some'](_0x17611b,[_0x477d('0x3af'),_0x4ad26e['id']])){_0x6e78e0[_0x477d('0x3b1')](function(_0x1087c4){if(_0x1087c4['id']===_0x4ad26e['id']){_0x1087c4[_0x477d('0xf8b')]=![];_0x17611b[_0x477d('0x3a7')](_0x1087c4);}});}_0x285f2b[_0x477d('0xf2f')]=_0x17611b;})[_0x477d('0xf8')](function(_0x7ada67){_0x5a5118[_0x477d('0x44a')]({'title':_0x7ada67[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x7ada67[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x7ada67[_0x477d('0x44d')]:_0x477d('0x12df'),'msg':_0x7ada67[_0x477d('0x451')]?JSON['stringify'](_0x7ada67[_0x477d('0x451')]):_0x7ada67['toString']()});});_0x2711eb[_0x477d('0x56')]('admin')?_0x310bff[_0x477d('0x21a5')][_0x477d('0x376')]({'fields':_0x477d('0x23f1'),'type':_0x477d('0x127'),'VoiceExtensionId':_0x477d('0xea'),'nolimit':'true'})['$promise'][_0x477d('0x76')](function(_0x3bebdb){_0x285f2b[_0x477d('0x23f3')]=_0x3bebdb['rows']||[];})[_0x477d('0xf8')](function(_0x5dd2c8){_0x5a5118['error']({'title':_0x5dd2c8['status']?_0x477d('0x44b')+_0x5dd2c8[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x5dd2c8['statusText']:_0x477d('0x23f2'),'msg':_0x5dd2c8[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x5dd2c8[_0x477d('0x451')]):_0x5dd2c8['toString']()});}):_0x310bff[_0x477d('0x21a5')][_0x477d('0x376')]({'fields':_0x477d('0x23f1'),'type':'outbound','VoiceExtensionId':_0x477d('0xea'),'nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x262aa4){_0x285f2b[_0x477d('0x23f3')]=_0x262aa4['rows']||[];})[_0x477d('0x76')](function(){return _0x310bff[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x285f2b[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x193})['$promise'];})[_0x477d('0x76')](function(_0x58d7f6){var _0x233e2c=_0x58d7f6&&_0x58d7f6['rows']?_0x58d7f6[_0x477d('0xf2')][0x0]:null;if(!_0x233e2c){var _0x61ec23=[];var _0x400e67=null;if(_0x285f2b[_0x477d('0x23f7')]){_0x400e67=_[_0x477d('0x10a')](_0x285f2b['outboundRoutes'],{'id':Number(_0x285f2b[_0x477d('0x23f7')][_0x477d('0x3b6')])});}for(var _0xe9dbd0=0x0;_0xe9dbd0<_0x285f2b['outboundRoutes']['length'];_0xe9dbd0++){if(_0x400e67&&_0x285f2b['outboundRoutes'][_0xe9dbd0]['id']===_0x400e67['id']){_0x285f2b['outboundRoutes'][_0xe9dbd0][_0x477d('0xf8b')]=![];_0x61ec23['push'](_0x285f2b[_0x477d('0x23f3')][_0xe9dbd0]);}}_0x285f2b['outboundRoutes']=_0x61ec23;}else{if(!_0x233e2c['autoAssociation']){return _0x310bff[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x233e2c['id']})[_0x477d('0x38b')]['then'](function(_0x387fae){var _0x52377d=_[_0x477d('0x3cb')](_0x387fae[_0x477d('0xf2')],function(_0x547524){return _['find'](_0x285f2b['outboundRoutes'],{'id':_0x547524[_0x477d('0x3af')]});});var _0x2d53d9=null;if(_0x285f2b[_0x477d('0x23f7')]){_0x2d53d9=_['find'](_0x285f2b[_0x477d('0x23f3')],{'id':Number(_0x285f2b[_0x477d('0x23f7')][_0x477d('0x3b6')])});}if(_0x2d53d9&&!_[_0x477d('0x3ab')](_0x52377d,['id',_0x2d53d9['id']])){var _0x94e3d5=_[_0x477d('0x10a')](_0x285f2b[_0x477d('0x23f3')],{'id':_0x2d53d9['id']});_0x94e3d5[_0x477d('0xf8b')]=![];_0x52377d[_0x477d('0x3a7')](_0x94e3d5);}_0x285f2b[_0x477d('0x23f3')]=_0x52377d;});}}})[_0x477d('0xf8')](function(_0x14ff3f){_0x5a5118['error']({'title':_0x14ff3f[_0x477d('0x3c3')]?'API:'+_0x14ff3f[_0x477d('0x3c3')]+'\x20-\x20'+_0x14ff3f[_0x477d('0x44d')]:_0x477d('0x2405'),'msg':_0x14ff3f[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x14ff3f[_0x477d('0x451')]):_0x14ff3f[_0x477d('0x453')]()});});_0x2711eb[_0x477d('0x56')](_0x477d('0x5f'))?_0x310bff[_0x477d('0x380')][_0x477d('0x376')]({'fields':'id,name,fullname','sort':'name','role':_0x477d('0xcf'),'nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x3c8483){_0x285f2b[_0x477d('0x125c')]=_0x3c8483['rows']||[];})[_0x477d('0xf8')](function(_0x213cf9){_0x5a5118[_0x477d('0x44a')]({'title':_0x213cf9[_0x477d('0x3c3')]?'API:'+_0x213cf9[_0x477d('0x3c3')]+'\x20-\x20'+_0x213cf9['statusText']:'SYSTEM:GET_AGENTS','msg':_0x213cf9[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x213cf9[_0x477d('0x451')]):_0x213cf9[_0x477d('0x453')]()});}):_0x310bff['user'][_0x477d('0x376')]({'fields':'id,name,fullname','sort':_0x477d('0x94'),'role':_0x477d('0xcf'),'nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x3c087b){_0x285f2b[_0x477d('0x125c')]=_0x3c087b['rows']||[];})[_0x477d('0x76')](function(){return _0x310bff[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x285f2b[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0xca})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x3cd8cd){var _0x160fc9=_0x3cd8cd&&_0x3cd8cd[_0x477d('0xf2')]?_0x3cd8cd[_0x477d('0xf2')][0x0]:null;if(!_0x160fc9){var _0x274742=[];var _0x3b9a9b=null;if(_0x285f2b[_0x477d('0x23f7')]){_0x3b9a9b=_[_0x477d('0x10a')](_0x285f2b[_0x477d('0x125c')],{'name':_0x285f2b[_0x477d('0x23f7')][_0x477d('0x3b6')]});}for(var _0x292195=0x0;_0x292195<_0x285f2b[_0x477d('0x125c')][_0x477d('0x79')];_0x292195++){if(_0x3b9a9b&&_0x285f2b[_0x477d('0x125c')][_0x292195]['id']===_0x3b9a9b['id']){_0x285f2b[_0x477d('0x125c')][_0x292195][_0x477d('0xf8b')]=![];_0x274742[_0x477d('0x3a7')](_0x285f2b['agents'][_0x292195]);}}_0x285f2b[_0x477d('0x125c')]=_0x274742;}else{if(!_0x160fc9[_0x477d('0x3ad')]){return _0x310bff['userProfileResource'][_0x477d('0x376')]({'sectionId':_0x160fc9['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x5ac334){var _0x24421b=_[_0x477d('0x3cb')](_0x5ac334[_0x477d('0xf2')],function(_0x5a9468){return _['find'](_0x285f2b[_0x477d('0x125c')],{'id':_0x5a9468['resourceId']});});var _0x255ca6=null;if(_0x285f2b[_0x477d('0x23f7')]){_0x255ca6=_[_0x477d('0x10a')](_0x285f2b[_0x477d('0x125c')],{'name':_0x285f2b[_0x477d('0x23f7')][_0x477d('0x3b6')]});}if(_0x255ca6&&!_[_0x477d('0x3ab')](_0x24421b,['id',_0x255ca6['id']])){var _0x31e7ef=_['find'](_0x285f2b[_0x477d('0x125c')],{'id':_0x255ca6['id']});_0x31e7ef[_0x477d('0xf8b')]=![];_0x24421b[_0x477d('0x3a7')](_0x31e7ef);}_0x285f2b['agents']=_0x24421b;});}}})['catch'](function(_0x962219){_0x5a5118[_0x477d('0x44a')]({'title':_0x962219['status']?_0x477d('0x44b')+_0x962219[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x962219['statusText']:_0x477d('0x12b4'),'msg':_0x962219['data']?JSON[_0x477d('0x3fb')](_0x962219[_0x477d('0x451')]):_0x962219[_0x477d('0x453')]()});});function _0x4c8710(){_0x285f2b[_0x477d('0xd67')]=[];_0x310bff[_0x477d('0x233b')][_0x477d('0x2406')]({'id':_0x4006ba[_0x477d('0x37e')]['id']},_0x285f2b[_0x477d('0x23f7')])[_0x477d('0x38b')]['then'](function(_0x2aed2f){_0x285f2b['allconditions'][_0x477d('0x63b')](_0x2aed2f[_0x477d('0xd71')]());_0x5a5118[_0x477d('0x485')]({'title':'AllCondition\x20properly\x20created','msg':_0x285f2b[_0x477d('0x23f7')][_0x477d('0x94')]?_0x285f2b[_0x477d('0x23f7')][_0x477d('0x94')]+_0x477d('0xd73'):''});_0x46ccff(_0x2aed2f);})[_0x477d('0xf8')](function(_0x359962){if(_0x359962[_0x477d('0x451')]&&_0x359962[_0x477d('0x451')][_0x477d('0xd67')]&&_0x359962['data'][_0x477d('0xd67')]['length']){_0x285f2b[_0x477d('0xd67')]=_0x359962['data'][_0x477d('0xd67')]||[{'message':_0x359962[_0x477d('0x453')](),'type':_0x477d('0x2407')}];for(var _0x20daea=0x0;_0x20daea<_0x359962[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x20daea+=0x1){_0x5a5118[_0x477d('0x44a')]({'title':_0x359962['data'][_0x477d('0xd67')][_0x20daea][_0x477d('0x439')],'msg':_0x359962[_0x477d('0x451')][_0x477d('0xd67')][_0x20daea][_0x477d('0x452')]});}}else{_0x5a5118[_0x477d('0x44a')]({'title':_0x359962[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x359962[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x359962[_0x477d('0x44d')]:_0x477d('0x2407'),'msg':_0x359962[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x359962[_0x477d('0x451')][_0x477d('0x452')]):_0x359962[_0x477d('0x453')]()});}});}function _0x5c2008(){_0x285f2b[_0x477d('0xd67')]=[];_0x310bff[_0x477d('0xb98')]['update']({'id':_0x285f2b['allCondition']['id']},_0x285f2b[_0x477d('0x23f7')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x3173d0){var _0x50e339=_[_0x477d('0x10a')](_0x285f2b['allconditions'],{'id':_0x3173d0['id']});if(_0x50e339){_['merge'](_0x50e339,_[_0x477d('0x10b')](_0x3173d0['toJSON'](),_['keys'](_0x50e339)));}_0x5a5118['success']({'title':_0x477d('0x2408'),'msg':_0x285f2b['allCondition'][_0x477d('0x94')]?_0x285f2b[_0x477d('0x23f7')][_0x477d('0x94')]+_0x477d('0xd76'):''});_0x46ccff(_0x3173d0);})[_0x477d('0xf8')](function(_0x5f1ba3){if(_0x5f1ba3['data']&&_0x5f1ba3['data'][_0x477d('0xd67')]&&_0x5f1ba3[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x285f2b[_0x477d('0xd67')]=_0x5f1ba3[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x5f1ba3[_0x477d('0x453')](),'type':_0x477d('0x2409')}];for(var _0x37fd46=0x0;_0x37fd46<_0x5f1ba3[_0x477d('0x451')]['errors']['length'];_0x37fd46++){_0x5a5118[_0x477d('0x44a')]({'title':_0x5f1ba3[_0x477d('0x451')][_0x477d('0xd67')][_0x37fd46]['type'],'msg':_0x5f1ba3['data']['errors'][_0x37fd46][_0x477d('0x452')]});}}else{_0x5a5118[_0x477d('0x44a')]({'title':_0x5f1ba3[_0x477d('0x3c3')]?'API:'+_0x5f1ba3[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x5f1ba3['statusText']:'api.condition.update','msg':_0x5f1ba3['data']?JSON[_0x477d('0x3fb')](_0x5f1ba3[_0x477d('0x451')][_0x477d('0x452')]):_0x5f1ba3[_0x477d('0x453')]()});}});}function _0x49b9b(_0x3499cc){_0x285f2b[_0x477d('0xd67')]=[];var _0x1771ad=_0x3fd02c[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xd79'))[_0x477d('0xdaf')](_0x477d('0x240a'))[_0x477d('0x687')]('Delete\x20AllCondition')['ok'](_0x477d('0xd7b'))[_0x477d('0x4f0')](_0x477d('0x688'))['targetEvent'](_0x3499cc);_0x3fd02c[_0x477d('0x395')](_0x1771ad)[_0x477d('0x76')](function(){_0x310bff[_0x477d('0xb98')]['delete']({'id':_0x285f2b[_0x477d('0x23f7')]['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_['remove'](_0x285f2b['allconditions'],{'id':_0x285f2b[_0x477d('0x23f7')]['id']});_0x5a5118[_0x477d('0x485')]({'title':_0x477d('0x240b'),'msg':(_0x285f2b['allCondition'][_0x477d('0x94')]||_0x477d('0x23f7'))+'\x20has\x20been\x20deleted!'});_0x46ccff(_0x285f2b['allCondition']);})[_0x477d('0xf8')](function(_0x290e3b){if(_0x290e3b[_0x477d('0x451')]&&_0x290e3b['data'][_0x477d('0xd67')]&&_0x290e3b[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x285f2b[_0x477d('0xd67')]=_0x290e3b[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x290e3b['toString'](),'type':_0x477d('0x240c')}];for(var _0x1e2f5a=0x0;_0x1e2f5a<_0x290e3b[_0x477d('0x451')][_0x477d('0xd67')]['length'];_0x1e2f5a++){_0x5a5118[_0x477d('0x44a')]({'title':_0x290e3b[_0x477d('0x451')][_0x477d('0xd67')][_0x1e2f5a][_0x477d('0x439')],'msg':_0x290e3b[_0x477d('0x451')][_0x477d('0xd67')][_0x1e2f5a]['message']});}}else{_0x5a5118['error']({'title':_0x290e3b[_0x477d('0x3c3')]?'API:'+_0x290e3b[_0x477d('0x3c3')]+'\x20-\x20'+_0x290e3b[_0x477d('0x44d')]:_0x477d('0x240c'),'msg':_0x290e3b[_0x477d('0x451')]?JSON['stringify'](_0x290e3b[_0x477d('0x451')][_0x477d('0x452')]):_0x290e3b[_0x477d('0x452')]||_0x290e3b[_0x477d('0x453')]()});}});},function(){});}function _0x274d65(_0x39167b){return _0x39167b===null?undefined:new Date(_0x39167b);}function _0x46ccff(_0x5345aa){_0x3fd02c[_0x477d('0x3bc')](_0x5345aa);}}}());(function(){'use strict';_0x473c39[_0x477d('0xa')]=[_0x477d('0x385'),_0x477d('0x474'),_0x477d('0x3c4'),'$q',_0x477d('0x40d'),_0x477d('0x3fe'),_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x40e'),_0x477d('0x386'),_0x477d('0x55')];angular[_0x477d('0xb')](_0x477d('0x35'))[_0x477d('0x3ba')](_0x477d('0x240d'),_0x473c39);function _0x473c39(_0x3adf7c,_0x46e985,_0x2319f5,_0x516759,_0x1d9bba,_0x4000fa,_0x35c675,_0x3d01a4,_0x3e4b59,_0x45193b,_0xffc0da){var _0x56ecbb=this;_0x56ecbb['currentUser']=_0xffc0da[_0x477d('0x5c')]();_0x56ecbb['trigger']={};_0x56ecbb[_0x477d('0x240e')]={'count':0x0,'rows':[]};_0x56ecbb[_0x477d('0x240f')]=[];_0x56ecbb[_0x477d('0xd66')];_0x56ecbb[_0x477d('0x3ef')]={'fields':_0x477d('0x23c6'),'limit':0xa,'page':0x1};_0x56ecbb[_0x477d('0x23c7')]=_[_0x477d('0xdb5')]([{'option':_0x477d('0x1258'),'value':_0x477d('0x23c8'),'ngIf':_0x477d('0x234d')},{'option':_0x477d('0x23c9'),'value':_0x477d('0x23ca'),'ngIf':_0x477d('0x234d')},{'option':'OutboundRoute','value':_0x477d('0x23cb'),'ngIf':_0x477d('0x234d')},{'option':_0x477d('0x125d'),'value':_0x477d('0x2410'),'ngIf':_0x477d('0x234d')},{'option':_0x477d('0x15a4'),'value':_0x477d('0x2411'),'ngIf':_0x477d('0x23cc')},{'option':'Interaction','value':_0x477d('0x23cd'),'ngIf':_0x477d('0x23cc')},{'option':_0x477d('0x15ca'),'value':_0x477d('0x23ce'),'ngIf':'vm.trigger.channel\x20!=\x20\x27voice\x27'}],function(_0x4344ef){return _[_0x477d('0x409')](_0x4344ef['value'],new RegExp('\x27','g'),'');});_0x56ecbb['arrayoperator']=_[_0x477d('0xdb5')]([{'option':'Equals','value':'\x27equals\x27'},{'option':_0x477d('0x23d2'),'value':'\x27not_equals\x27'}],function(_0x36f33b){return _[_0x477d('0x409')](_0x36f33b['value'],new RegExp('\x27','g'),'');});_0x56ecbb[_0x477d('0x2412')]=_[_0x477d('0xdb5')]([{'option':'Abandon','value':_0x477d('0x2413')},{'option':_0x477d('0x125a'),'value':_0x477d('0x138d')},{'option':'Hangup','value':_0x477d('0x23d5')},{'option':_0x477d('0x958'),'value':'\x27rejected\x27'},{'option':_0x477d('0x23d6'),'value':_0x477d('0x2414')},{'option':_0x477d('0x2415'),'value':_0x477d('0x23d7')}],function(_0x19b3ff){return _[_0x477d('0x409')](_0x19b3ff[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x56ecbb[_0x477d('0x23d8')]=_[_0x477d('0xdb5')]([{'option':_0x477d('0x23d9'),'value':_0x477d('0x23da')},{'option':_0x477d('0x23db'),'value':_0x477d('0x23dc')}],function(_0x34de42){return _[_0x477d('0x409')](_0x34de42['value'],new RegExp('\x27','g'),'');});_0x56ecbb[_0x477d('0x23dd')]=_[_0x477d('0xdb5')]([{'option':_0x477d('0x23de'),'value':_0x477d('0x23df')},{'option':_0x477d('0x23e0'),'value':_0x477d('0x23e1')},{'option':_0x477d('0x2416'),'value':_0x477d('0x23e2')},{'option':_0x477d('0x23e3'),'value':_0x477d('0x23e4')}],function(_0x126af8){return _['replace'](_0x126af8[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x56ecbb[_0x477d('0x5ee')]=_0x42db64;_0x56ecbb[_0x477d('0xe66')]=_0x4651ba;_0x56ecbb[_0x477d('0x485')]=_0x2fcf96;_0x56ecbb['getTriggerAnyConditions']=_0x366b55;_0x56ecbb[_0x477d('0x2417')]=_0x1a03ba;_0x56ecbb[_0x477d('0x2418')]=_0x48d01c;_0x56ecbb[_0x477d('0x2419')]=_0x1beb2f;_0x56ecbb[_0x477d('0x241a')]=_0x3e6fbf;_0xffc0da[_0x477d('0x56')](_0x477d('0x5f'))?_0x45193b[_0x477d('0xb32')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':'id','nolimit':_0x477d('0x2ee')})['$promise'][_0x477d('0x76')](function(_0xb0fd7c){_0x56ecbb[_0x477d('0x1610')]=_0xb0fd7c[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x5c8613){_0x3e4b59[_0x477d('0x44a')]({'title':_0x5c8613[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x5c8613[_0x477d('0x3c3')]+'\x20-\x20'+_0x5c8613[_0x477d('0x44d')]:'SYSTEM:GET_CHATACCOUNTS','msg':_0x5c8613[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x5c8613[_0x477d('0x451')]):_0x5c8613['toString']()});}):_0x45193b['chatWebsite']['get']({'fields':_0x477d('0x9c'),'sort':'id','nolimit':'true'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x43a516){_0x56ecbb[_0x477d('0x1610')]=_0x43a516[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x45193b[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x56ecbb[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x1f6})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x3d6329){var _0x237c0e=_0x3d6329&&_0x3d6329[_0x477d('0xf2')]?_0x3d6329[_0x477d('0xf2')][0x0]:null;if(!_0x237c0e){var _0x403207=[];var _0x3cda23=[];_0x56ecbb[_0x477d('0x240e')]['rows']['forEach'](function(_0x3b4a0a){if(_0x3b4a0a[_0x477d('0x463')]==='account'){var _0x207de3=_[_0x477d('0x10a')](_0x56ecbb[_0x477d('0x1610')],{'id':Number(_0x3b4a0a['value'])});_0x3cda23[_0x477d('0x3a7')](_0x207de3);}});for(var _0x15a1a4=0x0;_0x15a1a4<_0x56ecbb[_0x477d('0x1610')]['length'];_0x15a1a4++){var _0x2987b4=_['some'](_0x3cda23,{'id':_0x56ecbb['chatAccounts'][_0x15a1a4]['id']});if(_0x2987b4){_0x56ecbb['chatAccounts'][_0x15a1a4][_0x477d('0xf8b')]=![];_0x403207['push'](_0x56ecbb[_0x477d('0x1610')][_0x15a1a4]);}}_0x56ecbb[_0x477d('0x1610')]=_0x403207;}else{if(!_0x237c0e[_0x477d('0x3ad')]){return _0x45193b[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x237c0e['id']})['$promise'][_0x477d('0x76')](function(_0x479618){var _0x3e2f0a=_[_0x477d('0x3cb')](_0x479618[_0x477d('0xf2')],function(_0x322316){return _[_0x477d('0x10a')](_0x56ecbb[_0x477d('0x1610')],{'id':_0x322316[_0x477d('0x3af')]});});var _0xcca3b8=null;_0xcca3b8=[];_0x56ecbb['triggerAnyConditions']['rows']['forEach'](function(_0x15d2d0){if(_0x15d2d0[_0x477d('0x463')]===_0x477d('0x15e5')){var _0x40b97d=_[_0x477d('0x10a')](_0x56ecbb[_0x477d('0x1610')],{'id':Number(_0x15d2d0[_0x477d('0x3b6')])});_0xcca3b8[_0x477d('0x3a7')](_0x40b97d);}});if(!_[_0x477d('0x3b2')](_0xcca3b8)){_0xcca3b8[_0x477d('0x3b1')](function(_0x11bab6){if(!_['some'](_0x3e2f0a,['id',_0x11bab6['id']])){var _0x319d5f=_[_0x477d('0x10a')](_0x56ecbb[_0x477d('0x1610')],{'id':_0x11bab6['id']});_0x319d5f['canSelect']=![];_0x3e2f0a['push'](_0x319d5f);}});}_0x56ecbb[_0x477d('0x1610')]=_0x3e2f0a;});}}})[_0x477d('0xf8')](function(_0x4e2526){_0x3e4b59['error']({'title':_0x4e2526[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x4e2526['status']+_0x477d('0x44c')+_0x4e2526[_0x477d('0x44d')]:'SYSTEM:GETchatAccounts','msg':_0x4e2526['data']?JSON[_0x477d('0x3fb')](_0x4e2526[_0x477d('0x451')]):_0x4e2526[_0x477d('0x453')]()});});_0xffc0da[_0x477d('0x56')](_0x477d('0x5f'))?_0x45193b[_0x477d('0x1775')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':'id','nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x339460){_0x56ecbb[_0x477d('0xf33')]=_0x339460[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x5683e5){_0x3e4b59['error']({'title':_0x5683e5[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x5683e5[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x5683e5['statusText']:'SYSTEM:GET_MAILACCOUNTS','msg':_0x5683e5[_0x477d('0x451')]?JSON['stringify'](_0x5683e5[_0x477d('0x451')]):_0x5683e5[_0x477d('0x453')]()});}):_0x45193b[_0x477d('0x1775')][_0x477d('0x376')]({'fields':'id,name','sort':'id','nolimit':'true'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x12bc80){_0x56ecbb[_0x477d('0xf33')]=_0x12bc80[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x45193b[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x56ecbb[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x25a})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x92b619){var _0x46a8e2=_0x92b619&&_0x92b619[_0x477d('0xf2')]?_0x92b619[_0x477d('0xf2')][0x0]:null;if(!_0x46a8e2){var _0x24f987=[];var _0x31ce60=[];_0x56ecbb[_0x477d('0x240e')][_0x477d('0xf2')][_0x477d('0x3b1')](function(_0x361eda){if(_0x361eda['field']===_0x477d('0x15e5')){var _0xc482c2=_['find'](_0x56ecbb[_0x477d('0xf33')],{'id':Number(_0x361eda['value'])});_0x31ce60[_0x477d('0x3a7')](_0xc482c2);}});for(var _0x1fa1e6=0x0;_0x1fa1e6<_0x56ecbb[_0x477d('0xf33')][_0x477d('0x79')];_0x1fa1e6++){var _0xd245a9=_[_0x477d('0x3ab')](_0x31ce60,{'id':_0x56ecbb[_0x477d('0xf33')][_0x1fa1e6]['id']});if(_0xd245a9){_0x56ecbb[_0x477d('0xf33')][_0x1fa1e6][_0x477d('0xf8b')]=![];_0x24f987['push'](_0x56ecbb[_0x477d('0xf33')][_0x1fa1e6]);}}_0x56ecbb[_0x477d('0xf33')]=_0x24f987;}else{if(!_0x46a8e2['autoAssociation']){return _0x45193b[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x46a8e2['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x5981ee){var _0x2bcecc=_[_0x477d('0x3cb')](_0x5981ee[_0x477d('0xf2')],function(_0x3cfc6a){return _[_0x477d('0x10a')](_0x56ecbb['mailAccounts'],{'id':_0x3cfc6a['resourceId']});});var _0x367bd5=null;_0x367bd5=[];_0x56ecbb['triggerAnyConditions']['rows'][_0x477d('0x3b1')](function(_0x2f210f){if(_0x2f210f['field']===_0x477d('0x15e5')){var _0x15d761=_[_0x477d('0x10a')](_0x56ecbb[_0x477d('0xf33')],{'id':Number(_0x2f210f[_0x477d('0x3b6')])});_0x367bd5['push'](_0x15d761);}});if(!_[_0x477d('0x3b2')](_0x367bd5)){_0x367bd5['forEach'](function(_0x18fc5b){if(!_[_0x477d('0x3ab')](_0x2bcecc,['id',_0x18fc5b['id']])){var _0x4f66a6=_[_0x477d('0x10a')](_0x56ecbb[_0x477d('0xf33')],{'id':_0x18fc5b['id']});_0x4f66a6[_0x477d('0xf8b')]=![];_0x2bcecc[_0x477d('0x3a7')](_0x4f66a6);}});}_0x56ecbb[_0x477d('0xf33')]=_0x2bcecc;});}}})[_0x477d('0xf8')](function(_0x238ddf){_0x3e4b59[_0x477d('0x44a')]({'title':_0x238ddf[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x238ddf[_0x477d('0x3c3')]+'\x20-\x20'+_0x238ddf['statusText']:_0x477d('0x22ca'),'msg':_0x238ddf[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x238ddf[_0x477d('0x451')]):_0x238ddf['toString']()});});_0xffc0da[_0x477d('0x56')](_0x477d('0x5f'))?_0x45193b['smsAccount']['get']({'fields':_0x477d('0x9c'),'sort':'id','nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')]['then'](function(_0x4bac50){_0x56ecbb[_0x477d('0xf38')]=_0x4bac50[_0x477d('0xf2')]||[];})['catch'](function(_0x3d8c41){_0x3e4b59['error']({'title':_0x3d8c41['status']?_0x477d('0x44b')+_0x3d8c41['status']+_0x477d('0x44c')+_0x3d8c41[_0x477d('0x44d')]:'SYSTEM:GET_SMSACCOUNTS','msg':_0x3d8c41[_0x477d('0x451')]?JSON['stringify'](_0x3d8c41['data']):_0x3d8c41['toString']()});}):_0x45193b[_0x477d('0xe45')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':'id','nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x5d5d92){_0x56ecbb[_0x477d('0xf38')]=_0x5d5d92[_0x477d('0xf2')]||[];})['then'](function(){return _0x45193b[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x56ecbb[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x2be})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x58b1c7){var _0x48cbda=_0x58b1c7&&_0x58b1c7[_0x477d('0xf2')]?_0x58b1c7[_0x477d('0xf2')][0x0]:null;if(!_0x48cbda){var _0x342639=[];var _0x202c5f=[];_0x56ecbb['triggerAnyConditions'][_0x477d('0xf2')][_0x477d('0x3b1')](function(_0x10aaf8){if(_0x10aaf8['field']===_0x477d('0x15e5')){var _0xbd8fff=_[_0x477d('0x10a')](_0x56ecbb[_0x477d('0xf38')],{'id':Number(_0x10aaf8['value'])});_0x202c5f['push'](_0xbd8fff);}});for(var _0x31722e=0x0;_0x31722e<_0x56ecbb['smsAccounts'][_0x477d('0x79')];_0x31722e++){var _0x5215d8=_[_0x477d('0x3ab')](_0x202c5f,{'id':_0x56ecbb[_0x477d('0xf38')][_0x31722e]['id']});if(_0x5215d8){_0x56ecbb[_0x477d('0xf38')][_0x31722e][_0x477d('0xf8b')]=![];_0x342639[_0x477d('0x3a7')](_0x56ecbb[_0x477d('0xf38')][_0x31722e]);}}_0x56ecbb[_0x477d('0xf38')]=_0x342639;}else{if(!_0x48cbda[_0x477d('0x3ad')]){return _0x45193b[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x48cbda['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x4134a8){var _0x379435=_['map'](_0x4134a8['rows'],function(_0x21cc58){return _[_0x477d('0x10a')](_0x56ecbb[_0x477d('0xf38')],{'id':_0x21cc58['resourceId']});});var _0x5b1803=null;_0x5b1803=[];_0x56ecbb[_0x477d('0x240e')]['rows'][_0x477d('0x3b1')](function(_0x54df4d){if(_0x54df4d[_0x477d('0x463')]===_0x477d('0x15e5')){var _0x258f68=_[_0x477d('0x10a')](_0x56ecbb[_0x477d('0xf38')],{'id':Number(_0x54df4d[_0x477d('0x3b6')])});_0x5b1803['push'](_0x258f68);}});if(!_[_0x477d('0x3b2')](_0x5b1803)){_0x5b1803['forEach'](function(_0xd8c410){if(!_[_0x477d('0x3ab')](_0x379435,['id',_0xd8c410['id']])){var _0x41a4ca=_[_0x477d('0x10a')](_0x56ecbb[_0x477d('0xf38')],{'id':_0xd8c410['id']});_0x41a4ca[_0x477d('0xf8b')]=![];_0x379435['push'](_0x41a4ca);}});}_0x56ecbb[_0x477d('0xf38')]=_0x379435;});}}})[_0x477d('0xf8')](function(_0x3d7361){_0x3e4b59[_0x477d('0x44a')]({'title':_0x3d7361[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x3d7361[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x3d7361[_0x477d('0x44d')]:_0x477d('0x23ec'),'msg':_0x3d7361[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x3d7361[_0x477d('0x451')]):_0x3d7361[_0x477d('0x453')]()});});_0xffc0da['hasRole'](_0x477d('0x5f'))?_0x45193b['faxAccount']['get']({'fields':_0x477d('0x9c'),'sort':'id','nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')]['then'](function(_0x1210b7){_0x56ecbb[_0x477d('0x160c')]=_0x1210b7[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x16ece9){_0x3e4b59[_0x477d('0x44a')]({'title':_0x16ece9[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x16ece9[_0x477d('0x3c3')]+'\x20-\x20'+_0x16ece9['statusText']:_0x477d('0x23ee'),'msg':_0x16ece9['data']?JSON[_0x477d('0x3fb')](_0x16ece9[_0x477d('0x451')]):_0x16ece9[_0x477d('0x453')]()});}):_0x45193b[_0x477d('0xada')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':'id','nolimit':'true'})[_0x477d('0x38b')]['then'](function(_0x1e149f){_0x56ecbb['faxAccounts']=_0x1e149f['rows']||[];})[_0x477d('0x76')](function(){return _0x45193b[_0x477d('0x3ac')]['get']({'userProfileId':_0x56ecbb[_0x477d('0x3e5')]['userProfileId'],'sectionId':0x386})[_0x477d('0x38b')];})['then'](function(_0x3e2669){var _0x59c9e8=_0x3e2669&&_0x3e2669['rows']?_0x3e2669['rows'][0x0]:null;if(!_0x59c9e8){var _0x86702=[];var _0x41ebc7=[];_0x56ecbb['triggerAnyConditions'][_0x477d('0xf2')]['forEach'](function(_0x3c84e0){if(_0x3c84e0['field']===_0x477d('0x15e5')){var _0x173fc8=_['find'](_0x56ecbb['faxAccounts'],{'id':Number(_0x3c84e0[_0x477d('0x3b6')])});_0x41ebc7['push'](_0x173fc8);}});for(var _0x45b3a4=0x0;_0x45b3a4<_0x56ecbb['faxAccounts'][_0x477d('0x79')];_0x45b3a4++){var _0x41980c=_[_0x477d('0x3ab')](_0x41ebc7,{'id':_0x56ecbb[_0x477d('0x160c')][_0x45b3a4]['id']});if(_0x41980c){_0x56ecbb[_0x477d('0x160c')][_0x45b3a4]['canSelect']=![];_0x86702[_0x477d('0x3a7')](_0x56ecbb[_0x477d('0x160c')][_0x45b3a4]);}}_0x56ecbb[_0x477d('0x160c')]=_0x86702;}else{if(!_0x59c9e8[_0x477d('0x3ad')]){return _0x45193b[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x59c9e8['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x1e9eea){var _0x27d727=_['map'](_0x1e9eea[_0x477d('0xf2')],function(_0x374fbc){return _[_0x477d('0x10a')](_0x56ecbb[_0x477d('0x160c')],{'id':_0x374fbc[_0x477d('0x3af')]});});var _0x260ebf=null;_0x260ebf=[];_0x56ecbb[_0x477d('0x240e')]['rows'][_0x477d('0x3b1')](function(_0x4cc4e4){if(_0x4cc4e4['field']==='account'){var _0x6549ab=_['find'](_0x56ecbb[_0x477d('0x160c')],{'id':Number(_0x4cc4e4[_0x477d('0x3b6')])});_0x260ebf[_0x477d('0x3a7')](_0x6549ab);}});if(!_[_0x477d('0x3b2')](_0x260ebf)){_0x260ebf['forEach'](function(_0xf821eb){if(!_[_0x477d('0x3ab')](_0x27d727,['id',_0xf821eb['id']])){var _0x355bac=_[_0x477d('0x10a')](_0x56ecbb[_0x477d('0x160c')],{'id':_0xf821eb['id']});_0x355bac[_0x477d('0xf8b')]=![];_0x27d727['push'](_0x355bac);}});}_0x56ecbb['faxAccounts']=_0x27d727;});}}})[_0x477d('0xf8')](function(_0x3bef25){_0x3e4b59[_0x477d('0x44a')]({'title':_0x3bef25[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x3bef25[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x3bef25['statusText']:_0x477d('0x23ef'),'msg':_0x3bef25[_0x477d('0x451')]?JSON['stringify'](_0x3bef25['data']):_0x3bef25[_0x477d('0x453')]()});});_0xffc0da[_0x477d('0x56')](_0x477d('0x5f'))?_0x45193b[_0x477d('0xb16')]['get']({'fields':_0x477d('0x9c'),'sort':'id','nolimit':'true'})['$promise'][_0x477d('0x76')](function(_0x1e726b){_0x56ecbb[_0x477d('0x160d')]=_0x1e726b[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x154224){_0x3e4b59['error']({'title':_0x154224[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x154224['status']+_0x477d('0x44c')+_0x154224[_0x477d('0x44d')]:_0x477d('0x23f0'),'msg':_0x154224[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x154224['data']):_0x154224[_0x477d('0x453')]()});}):_0x45193b[_0x477d('0xb16')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':'id','nolimit':_0x477d('0x2ee')})['$promise'][_0x477d('0x76')](function(_0x96f4df){_0x56ecbb[_0x477d('0x160d')]=_0x96f4df[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x45193b[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x56ecbb[_0x477d('0x3e5')]['userProfileId'],'sectionId':0x322})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x2b094c){var _0x19d5a3=_0x2b094c&&_0x2b094c['rows']?_0x2b094c[_0x477d('0xf2')][0x0]:null;if(!_0x19d5a3){var _0x523d8e=[];var _0x4f38c4=[];_0x56ecbb[_0x477d('0x240e')][_0x477d('0xf2')][_0x477d('0x3b1')](function(_0x5e9371){if(_0x5e9371[_0x477d('0x463')]===_0x477d('0x15e5')){var _0x262ce2=_[_0x477d('0x10a')](_0x56ecbb[_0x477d('0x160d')],{'id':Number(_0x5e9371['value'])});_0x4f38c4['push'](_0x262ce2);}});for(var _0x21dc0f=0x0;_0x21dc0f<_0x56ecbb[_0x477d('0x160d')][_0x477d('0x79')];_0x21dc0f++){var _0x34fc66=_['some'](_0x4f38c4,{'id':_0x56ecbb[_0x477d('0x160d')][_0x21dc0f]['id']});if(_0x34fc66){_0x56ecbb['openchannelAccounts'][_0x21dc0f][_0x477d('0xf8b')]=![];_0x523d8e[_0x477d('0x3a7')](_0x56ecbb[_0x477d('0x160d')][_0x21dc0f]);}}_0x56ecbb[_0x477d('0x160d')]=_0x523d8e;}else{if(!_0x19d5a3[_0x477d('0x3ad')]){return _0x45193b[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x19d5a3['id']})['$promise'][_0x477d('0x76')](function(_0x5cac41){var _0x13e7c2=_[_0x477d('0x3cb')](_0x5cac41['rows'],function(_0x7befd){return _[_0x477d('0x10a')](_0x56ecbb['openchannelAccounts'],{'id':_0x7befd['resourceId']});});var _0x3b4539=null;_0x3b4539=[];_0x56ecbb[_0x477d('0x240e')][_0x477d('0xf2')][_0x477d('0x3b1')](function(_0xd66ab0){if(_0xd66ab0['field']===_0x477d('0x15e5')){var _0xd1b976=_[_0x477d('0x10a')](_0x56ecbb[_0x477d('0x160d')],{'id':Number(_0xd66ab0['value'])});_0x3b4539[_0x477d('0x3a7')](_0xd1b976);}});if(!_[_0x477d('0x3b2')](_0x3b4539)){_0x3b4539[_0x477d('0x3b1')](function(_0x4877c2){if(!_['some'](_0x13e7c2,['id',_0x4877c2['id']])){var _0xc055d6=_[_0x477d('0x10a')](_0x56ecbb[_0x477d('0x160d')],{'id':_0x4877c2['id']});_0xc055d6[_0x477d('0xf8b')]=![];_0x13e7c2[_0x477d('0x3a7')](_0xc055d6);}});}_0x56ecbb[_0x477d('0x160d')]=_0x13e7c2;});}}})[_0x477d('0xf8')](function(_0xe57010){_0x3e4b59[_0x477d('0x44a')]({'title':_0xe57010[_0x477d('0x3c3')]?'API:'+_0xe57010[_0x477d('0x3c3')]+'\x20-\x20'+_0xe57010['statusText']:_0x477d('0x2404'),'msg':_0xe57010['data']?JSON[_0x477d('0x3fb')](_0xe57010[_0x477d('0x451')]):_0xe57010[_0x477d('0x453')]()});});var _0x18fb9c=[{'id':0x191,'type':'inbound'},{'id':0x5dd,'type':_0x477d('0x127')}];var _0x28c976=null;_0xffc0da[_0x477d('0x56')]('admin')?_0x45193b['voiceQueue']['get']({'fields':'id,name,type','sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x1f902a){_0x56ecbb[_0x477d('0xf2f')]=_0x1f902a[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x38a138){_0x3e4b59['error']({'title':_0x38a138[_0x477d('0x3c3')]?'API:'+_0x38a138['status']+_0x477d('0x44c')+_0x38a138['statusText']:'SYSTEM:GET_QUEUES','msg':_0x38a138[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x38a138[_0x477d('0x451')]):_0x38a138[_0x477d('0x453')]()});}):_0x45193b[_0x477d('0xa76')][_0x477d('0x376')]({'fields':'id,name,type','sort':'name','nolimit':'true'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x4c8e97){_0x28c976=_0x4c8e97[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){var _0x55f0a2=[];for(var _0x446bbd=0x0;_0x446bbd<_0x18fb9c[_0x477d('0x79')];_0x446bbd++){_0x55f0a2['push'](_0x45193b[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x56ecbb[_0x477d('0x3e5')]['userProfileId'],'sectionId':_0x18fb9c[_0x446bbd]['id']})['$promise']);}return _0x516759['all'](_0x55f0a2);})[_0x477d('0x76')](function(_0x1c4ab8){var _0x480d3c=_[_0x477d('0x3cb')](_0x1c4ab8,function(_0x2d7e36){return _0x2d7e36&&_0x2d7e36[_0x477d('0xf2')]?_0x2d7e36[_0x477d('0xf2')][0x0]:null;});var _0x4f3b42=[];for(var _0x27b679=0x0;_0x27b679<_0x18fb9c[_0x477d('0x79')];_0x27b679++){var _0x270bf9=_['find'](_0x480d3c,[_0x477d('0x3a8'),_0x18fb9c[_0x27b679]['id']]);if(_0x270bf9){if(!_0x270bf9[_0x477d('0x3ad')]){_0x4f3b42[_0x477d('0x3a7')](_0x45193b[_0x477d('0x3ae')]['get']({'sectionId':_0x270bf9['id']})[_0x477d('0x38b')]);}else{var _0xb3e4a4=[];_0x28c976[_0x477d('0x3b1')](function(_0x7db4e2){if(_0x7db4e2[_0x477d('0x439')]===_0x18fb9c[_0x27b679]['type']){_0xb3e4a4[_0x477d('0x3a7')](_0x7db4e2);}});_0x4f3b42[_0x477d('0x3a7')]({'rows':_0xb3e4a4,'count':_0xb3e4a4[_0x477d('0x79')]});}}}return _0x516759[_0x477d('0x7c')](_0x4f3b42);})['then'](function(_0x52f9c8){var _0x4735f2=[];var _0x167232=[];_0x56ecbb['triggerAnyConditions']['rows'][_0x477d('0x3b1')](function(_0x354965){if(_0x354965['field']==='queue'){var _0x17e25d=_[_0x477d('0x10a')](_0x28c976,{'name':_0x354965['value']});_0x167232['push'](_0x17e25d);}});for(var _0x272958=0x0;_0x272958<_0x52f9c8['length'];_0x272958++){var _0x708c10=_0x52f9c8[_0x272958][_0x477d('0xf2')]||[];_0x708c10[_0x477d('0x3b1')](function(_0x4d454a){_0x4735f2[_0x477d('0x3a7')](_0x4d454a);});}if(!_['isEmpty'](_0x167232)){_0x167232['forEach'](function(_0x2d3bb5){if(!_[_0x477d('0x3ab')](_0x4735f2,['resourceId',_0x2d3bb5['id']])){var _0x2d3151=_['find'](_0x28c976,{'id':_0x2d3bb5['id']});_0x2d3151[_0x477d('0xf8b')]=![];_0x4735f2[_0x477d('0x3a7')](_0x2d3151);}});}_0x56ecbb[_0x477d('0xf2f')]=_0x4735f2;})[_0x477d('0xf8')](function(_0x68fb9){_0x3e4b59['error']({'title':_0x68fb9[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x68fb9[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x68fb9[_0x477d('0x44d')]:'SYSTEM:GETqueues','msg':_0x68fb9[_0x477d('0x451')]?JSON['stringify'](_0x68fb9[_0x477d('0x451')]):_0x68fb9[_0x477d('0x453')]()});});_0xffc0da[_0x477d('0x56')](_0x477d('0x5f'))?_0x45193b[_0x477d('0x21a5')][_0x477d('0x376')]({'fields':'id,exten','type':_0x477d('0x127'),'VoiceExtensionId':_0x477d('0xea'),'nolimit':_0x477d('0x2ee')})['$promise'][_0x477d('0x76')](function(_0x419ff8){_0x56ecbb['outboundRoutes']=_0x419ff8[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x2ce26c){_0x3e4b59[_0x477d('0x44a')]({'title':_0x2ce26c[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x2ce26c[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x2ce26c[_0x477d('0x44d')]:_0x477d('0x23f2'),'msg':_0x2ce26c[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x2ce26c[_0x477d('0x451')]):_0x2ce26c[_0x477d('0x453')]()});}):_0x45193b['voiceExtension']['get']({'fields':'id,exten','type':'outbound','VoiceExtensionId':_0x477d('0xea'),'nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')]['then'](function(_0x38ae16){_0x56ecbb['outboundRoutes']=_0x38ae16[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x45193b[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x56ecbb[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x193})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x51d01d){var _0x4bcc45=_0x51d01d&&_0x51d01d[_0x477d('0xf2')]?_0x51d01d[_0x477d('0xf2')][0x0]:null;if(!_0x4bcc45){var _0x44304f=[];var _0x28e334=[];_0x56ecbb[_0x477d('0x240e')][_0x477d('0xf2')]['forEach'](function(_0x4aec77){if(_0x4aec77[_0x477d('0x463')]===_0x477d('0x23f4')){var _0x339cf1=_[_0x477d('0x10a')](_0x56ecbb['outboundRoutes'],{'id':Number(_0x4aec77[_0x477d('0x3b6')])});_0x28e334['push'](_0x339cf1);}});for(var _0x54e175=0x0;_0x54e175<_0x56ecbb[_0x477d('0x23f3')][_0x477d('0x79')];_0x54e175++){var _0x3c7a0f=_[_0x477d('0x3ab')](_0x28e334,{'id':_0x56ecbb[_0x477d('0x23f3')][_0x54e175]['id']});if(_0x3c7a0f){_0x56ecbb[_0x477d('0x23f3')][_0x54e175][_0x477d('0xf8b')]=![];_0x44304f[_0x477d('0x3a7')](_0x56ecbb[_0x477d('0x23f3')][_0x54e175]);}}_0x56ecbb[_0x477d('0x23f3')]=_0x44304f;}else{if(!_0x4bcc45[_0x477d('0x3ad')]){return _0x45193b[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x4bcc45['id']})['$promise']['then'](function(_0x147f6f){var _0x2297f4=_['map'](_0x147f6f[_0x477d('0xf2')],function(_0x1db5db){return _[_0x477d('0x10a')](_0x56ecbb[_0x477d('0x23f3')],{'id':_0x1db5db['resourceId']});});var _0x34d692=null;_0x34d692=[];_0x56ecbb[_0x477d('0x240e')][_0x477d('0xf2')][_0x477d('0x3b1')](function(_0x498b8a){if(_0x498b8a[_0x477d('0x463')]===_0x477d('0x23f4')){var _0x485c22=_[_0x477d('0x10a')](_0x56ecbb[_0x477d('0x23f3')],{'id':Number(_0x498b8a['value'])});_0x34d692['push'](_0x485c22);}});if(!_[_0x477d('0x3b2')](_0x34d692)){_0x34d692[_0x477d('0x3b1')](function(_0x437c73){if(!_['some'](_0x2297f4,['id',_0x437c73['id']])){var _0x3ae81f=_['find'](_0x56ecbb[_0x477d('0x23f3')],{'id':_0x437c73['id']});_0x3ae81f[_0x477d('0xf8b')]=![];_0x2297f4[_0x477d('0x3a7')](_0x3ae81f);}});}_0x56ecbb[_0x477d('0x23f3')]=_0x2297f4;});}}})[_0x477d('0xf8')](function(_0x4d3351){_0x3e4b59[_0x477d('0x44a')]({'title':_0x4d3351['status']?'API:'+_0x4d3351['status']+'\x20-\x20'+_0x4d3351[_0x477d('0x44d')]:_0x477d('0x2405'),'msg':_0x4d3351['data']?JSON[_0x477d('0x3fb')](_0x4d3351[_0x477d('0x451')]):_0x4d3351[_0x477d('0x453')]()});});_0xffc0da[_0x477d('0x56')](_0x477d('0x5f'))?_0x45193b[_0x477d('0x380')][_0x477d('0x376')]({'fields':'id,name,fullname','sort':_0x477d('0x94'),'role':'agent','nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')]['then'](function(_0x214e9c){_0x56ecbb[_0x477d('0x125c')]=_0x214e9c[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x3181fd){_0x3e4b59[_0x477d('0x44a')]({'title':_0x3181fd[_0x477d('0x3c3')]?'API:'+_0x3181fd[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x3181fd[_0x477d('0x44d')]:_0x477d('0x11f6'),'msg':_0x3181fd[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x3181fd['data']):_0x3181fd[_0x477d('0x453')]()});}):_0x45193b['user'][_0x477d('0x376')]({'fields':_0x477d('0x1360'),'sort':_0x477d('0x94'),'role':_0x477d('0xcf'),'nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x4c72d4){_0x56ecbb[_0x477d('0x125c')]=_0x4c72d4[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x45193b['userProfileSection']['get']({'userProfileId':_0x56ecbb[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0xca})[_0x477d('0x38b')];})['then'](function(_0xa56f35){var _0x2746ee=_0xa56f35&&_0xa56f35[_0x477d('0xf2')]?_0xa56f35[_0x477d('0xf2')][0x0]:null;if(!_0x2746ee){var _0x470b43=[];var _0x885339=[];_0x56ecbb[_0x477d('0x240e')]['rows']['forEach'](function(_0x5115db){if(_0x5115db['field']===_0x477d('0xcf')){var _0x1b0c96=_[_0x477d('0x10a')](_0x56ecbb[_0x477d('0x125c')],{'name':_0x5115db[_0x477d('0x3b6')]});_0x885339[_0x477d('0x3a7')](_0x1b0c96);}});for(var _0x28a990=0x0;_0x28a990<_0x56ecbb[_0x477d('0x125c')][_0x477d('0x79')];_0x28a990++){var _0x581417=_[_0x477d('0x3ab')](_0x885339,{'id':_0x56ecbb[_0x477d('0x125c')][_0x28a990]['id']});if(_0x581417){_0x56ecbb[_0x477d('0x125c')][_0x28a990][_0x477d('0xf8b')]=![];_0x470b43[_0x477d('0x3a7')](_0x56ecbb[_0x477d('0x125c')][_0x28a990]);}}_0x56ecbb['agents']=_0x470b43;}else{if(!_0x2746ee[_0x477d('0x3ad')]){return _0x45193b[_0x477d('0x3ae')]['get']({'sectionId':_0x2746ee['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x1ebba3){var _0x491153=_[_0x477d('0x3cb')](_0x1ebba3[_0x477d('0xf2')],function(_0x3633ea){return _[_0x477d('0x10a')](_0x56ecbb[_0x477d('0x125c')],{'id':_0x3633ea[_0x477d('0x3af')]});});var _0x39556f=null;_0x39556f=[];_0x56ecbb[_0x477d('0x240e')]['rows'][_0x477d('0x3b1')](function(_0x882827){if(_0x882827['field']===_0x477d('0xcf')){var _0x3519ec=_[_0x477d('0x10a')](_0x56ecbb['agents'],{'name':_0x882827[_0x477d('0x3b6')]});_0x39556f[_0x477d('0x3a7')](_0x3519ec);}});if(!_[_0x477d('0x3b2')](_0x39556f)){_0x39556f[_0x477d('0x3b1')](function(_0x142cb7){if(!_[_0x477d('0x3ab')](_0x491153,['id',_0x142cb7['id']])){var _0x29bef7=_['find'](_0x56ecbb[_0x477d('0x125c')],{'id':_0x142cb7['id']});_0x29bef7['canSelect']=![];_0x491153[_0x477d('0x3a7')](_0x29bef7);}});}_0x56ecbb[_0x477d('0x125c')]=_0x491153;});}}})[_0x477d('0xf8')](function(_0x3cfa1c){_0x3e4b59['error']({'title':_0x3cfa1c[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x3cfa1c[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x3cfa1c[_0x477d('0x44d')]:_0x477d('0x12b4'),'msg':_0x3cfa1c[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x3cfa1c[_0x477d('0x451')]):_0x3cfa1c[_0x477d('0x453')]()});});function _0x42db64(_0x1806fd,_0x1a6fdc){_0x56ecbb[_0x477d('0x233b')]=_0x1806fd;_0x56ecbb[_0x477d('0xd66')]=typeof _0x1a6fdc!==_0x477d('0x4a4')?_0x1a6fdc:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x56ecbb['query'][_0x477d('0x241b')]=_0x56ecbb['trigger']['id'];_0x56ecbb[_0x477d('0x3ef')]['id']=_0x56ecbb[_0x477d('0x233b')]['id'];_0x366b55();}function _0x4651ba(_0x2df6eb,_0x5d157d){var _0x404fce=_0x35c675[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x241c'))['htmlContent'](_0x477d('0xd93')+(_0x2df6eb[_0x477d('0x94')]||_0x2df6eb['id']&&_[_0x477d('0x1367')]('anyCondition\x20#')+_0x2df6eb['id']||_0x477d('0x241d'))+''+_0x477d('0xd95'))[_0x477d('0x687')]('delete\x20anyCondition')[_0x477d('0xd7c')](_0x5d157d)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x35c675[_0x477d('0x395')](_0x404fce)[_0x477d('0x76')](function(){_0x1beb2f(_0x2df6eb);},function(){console['log'](_0x477d('0xd97'));});}function _0x2fcf96(_0x3eb75c){_0x56ecbb['triggerAnyConditions']=_0x3eb75c||{'count':0x0,'rows':[]};}function _0x366b55(){_0x56ecbb[_0x477d('0x3ef')][_0x477d('0x91c')]=(_0x56ecbb[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x56ecbb[_0x477d('0x3ef')]['limit'];_0x56ecbb['promise']=_0x45193b[_0x477d('0x233b')]['getAnyConditions'](_0x56ecbb[_0x477d('0x3ef')],_0x2fcf96)[_0x477d('0x38b')];}function _0x1a03ba(_0x57ab08,_0x4eace5){_0x35c675[_0x477d('0x395')]({'controller':'CreateOrEditAnyConditionDialogController','controllerAs':'vm','templateUrl':_0x477d('0x241e'),'parent':angular[_0x477d('0x398')](_0x3d01a4['body']),'targetEvent':_0x57ab08,'clickOutsideToClose':!![],'locals':{'trigger':_0x56ecbb[_0x477d('0x233b')],'anyCondition':_0x4eace5,'anyconditions':_0x56ecbb[_0x477d('0x240e')]['rows'],'license':null,'setting':null,'crudPermissions':_0x56ecbb['crudPermissions']}});}function _0x1beb2f(_0x3fbc5f){_0x45193b[_0x477d('0xb98')]['delete']({'id':_0x3fbc5f['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x56ecbb['triggerAnyConditions']['rows'],{'id':_0x3fbc5f['id']});_0x56ecbb['triggerAnyConditions'][_0x477d('0x3bb')]-=0x1;if(!_0x56ecbb[_0x477d('0x240e')][_0x477d('0xf2')][_0x477d('0x79')]){_0x366b55();}_0x3e4b59['success']({'title':'AnyCondition\x20deleted!','msg':_0x3fbc5f['name']?_0x3fbc5f['name']+_0x477d('0xd7e'):''});})[_0x477d('0xf8')](function(_0x1c6b48){if(_0x1c6b48[_0x477d('0x451')]&&_0x1c6b48[_0x477d('0x451')][_0x477d('0xd67')]&&_0x1c6b48['data'][_0x477d('0xd67')][_0x477d('0x79')]){vm[_0x477d('0xd67')]=_0x1c6b48[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x1c6b48[_0x477d('0x453')](),'type':_0x477d('0x23ae')}];for(var _0x477e87=0x0;_0x477e87<_0x1c6b48['data'][_0x477d('0xd67')][_0x477d('0x79')];_0x477e87++){_0x3e4b59['error']({'title':_0x1c6b48['data']['errors'][_0x477e87][_0x477d('0x439')],'msg':_0x1c6b48[_0x477d('0x451')][_0x477d('0xd67')][_0x477e87][_0x477d('0x452')]});}}else{_0x3e4b59['error']({'title':_0x1c6b48[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x1c6b48[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x1c6b48[_0x477d('0x44d')]:_0x477d('0x23ae'),'msg':_0x1c6b48[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x1c6b48[_0x477d('0x451')][_0x477d('0x452')]):_0x1c6b48[_0x477d('0x452')]||_0x1c6b48[_0x477d('0x453')]()});}});}function _0x48d01c(){var _0x34f114=angular[_0x477d('0x6d9')](_0x56ecbb[_0x477d('0x240f')]);_0x56ecbb['selectedTriggerAnyConditions']=[];return _0x34f114;}function _0x3e6fbf(_0x2ecdde){var _0x2fc53c=_0x35c675[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x241f'))[_0x477d('0xd92')](_0x477d('0xd93')+_0x56ecbb[_0x477d('0x240f')][_0x477d('0x79')]+_0x477d('0xda0')+_0x477d('0xd95'))['ariaLabel'](_0x477d('0x2420'))[_0x477d('0xd7c')](_0x2ecdde)['ok']('OK')['cancel'](_0x477d('0xd97'));_0x35c675[_0x477d('0x395')](_0x2fc53c)['then'](function(){_0x56ecbb[_0x477d('0x240f')]['forEach'](function(_0x45c567){_0x1beb2f(_0x45c567);});_0x56ecbb[_0x477d('0x240f')]=[];});}var _0x4ee657=!![];var _0x4d8b3c=0x1;_0x46e985['$watch'](_0x477d('0x12f3'),function(_0x141620,_0x1a6971){if(_0x4ee657){_0x4000fa(function(){_0x4ee657=![];});}else{if(!_0x1a6971){_0x4d8b3c=_0x56ecbb[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x141620!==_0x1a6971){_0x56ecbb[_0x477d('0x3ef')]['page']=0x1;}if(!_0x141620){_0x56ecbb[_0x477d('0x3ef')][_0x477d('0xe03')]=_0x4d8b3c;}_0x366b55();}});}}());(function(){'use strict';_0x5d592f[_0x477d('0xa')]=[_0x477d('0x474'),'$state',_0x477d('0xd64'),_0x477d('0x384'),'$q',_0x477d('0x40d'),'toasty',_0x477d('0x2421'),'anyCondition','trigger','api',_0x477d('0x55'),_0x477d('0x613'),_0x477d('0xc8e'),_0x477d('0xd66')];angular[_0x477d('0xb')]('app.tools')['controller'](_0x477d('0x2422'),_0x5d592f);function _0x5d592f(_0x42dfa8,_0x3dcab6,_0x2bec04,_0x3b4c71,_0x26a601,_0x27ced7,_0x5b5ad4,_0x1d141c,_0x28186a,_0x451080,_0x57ebee,_0x29530d,_0x1cb969,_0x161199,_0x491838){var _0x3d7b31=this;_0x3d7b31[_0x477d('0x3e5')]=_0x29530d[_0x477d('0x5c')]();_0x3d7b31[_0x477d('0xd67')]=[];_0x3d7b31[_0x477d('0xc8e')]=_0x161199;_0x3d7b31[_0x477d('0x613')]=_0x1cb969;_0x3d7b31[_0x477d('0xd66')]=_0x491838;_0x3d7b31[_0x477d('0xd68')]={};_0x3d7b31[_0x477d('0xd69')]=_0x3d7b31['setting']&&_0x3d7b31[_0x477d('0xc8e')][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x3d7b31[_0x477d('0x49a')]=_0x477d('0x2423');_0x3d7b31['anyCondition']=angular[_0x477d('0x6d9')](_0x28186a);_0x3d7b31[_0x477d('0x2421')]=_0x1d141c;_0x3d7b31[_0x477d('0x2424')]=![];_0x3d7b31[_0x477d('0x233b')]=angular[_0x477d('0x6d9')](_0x451080);if(!_0x3d7b31[_0x477d('0x241d')]){_0x3d7b31[_0x477d('0x241d')]={'field':'queue','operator':_0x477d('0x546'),'value':_0x477d('0x111'),'value':'opened','value':'in'};_0x3d7b31[_0x477d('0x49a')]=_0x477d('0x2425');_0x3d7b31[_0x477d('0x2424')]=!![];}if(_0x3dcab6[_0x477d('0x37e')]['id']){_0x3d7b31[_0x477d('0x241d')][_0x477d('0x241b')]=_0x3dcab6[_0x477d('0x37e')]['id'];}_0x3d7b31[_0x477d('0x2426')]=_0x4b8f5e;_0x3d7b31['saveAnyCondition']=_0x3e0447;_0x3d7b31[_0x477d('0x2427')]=_0x200a28;_0x3d7b31[_0x477d('0xd6f')]=_0x2f9e31;_0x3d7b31[_0x477d('0x6bf')]=_0x2c9c4f;_0x29530d[_0x477d('0x56')]('admin')?_0x57ebee['chatWebsite'][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':'id','nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x28e25d){_0x3d7b31['chatAccounts']=_0x28e25d[_0x477d('0xf2')]||[];})['catch'](function(_0x26c8b4){_0x5b5ad4[_0x477d('0x44a')]({'title':_0x26c8b4[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x26c8b4[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x26c8b4[_0x477d('0x44d')]:_0x477d('0x23e9'),'msg':_0x26c8b4[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x26c8b4[_0x477d('0x451')]):_0x26c8b4[_0x477d('0x453')]()});}):_0x57ebee[_0x477d('0xb32')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':'id','nolimit':_0x477d('0x2ee')})['$promise']['then'](function(_0x481b3e){_0x3d7b31[_0x477d('0x1610')]=_0x481b3e[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x57ebee[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x3d7b31['currentUser'][_0x477d('0x61')],'sectionId':0x1f6})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x34d1a4){var _0x4101fb=_0x34d1a4&&_0x34d1a4[_0x477d('0xf2')]?_0x34d1a4[_0x477d('0xf2')][0x0]:null;if(!_0x4101fb){var _0x343708=[];var _0x570d34=null;if(_0x3d7b31[_0x477d('0x241d')]){_0x570d34=_[_0x477d('0x10a')](_0x3d7b31[_0x477d('0x1610')],{'id':Number(_0x3d7b31[_0x477d('0x241d')][_0x477d('0x3b6')])});}for(var _0x3096a8=0x0;_0x3096a8<_0x3d7b31[_0x477d('0x1610')][_0x477d('0x79')];_0x3096a8++){if(_0x570d34&&_0x3d7b31[_0x477d('0x1610')][_0x3096a8]['id']===_0x570d34['id']){_0x3d7b31[_0x477d('0x1610')][_0x3096a8]['canSelect']=![];_0x343708[_0x477d('0x3a7')](_0x3d7b31['chatAccounts'][_0x3096a8]);}}_0x3d7b31[_0x477d('0x1610')]=_0x343708;}else{if(!_0x4101fb[_0x477d('0x3ad')]){return _0x57ebee[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x4101fb['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0xa279b8){var _0x375131=_['map'](_0xa279b8[_0x477d('0xf2')],function(_0x27e771){return _['find'](_0x3d7b31[_0x477d('0x1610')],{'id':_0x27e771['resourceId']});});var _0x4f2758=null;if(_0x3d7b31[_0x477d('0x241d')]){_0x4f2758=_[_0x477d('0x10a')](_0x3d7b31['chatAccounts'],{'id':Number(_0x3d7b31[_0x477d('0x241d')][_0x477d('0x3b6')])});}if(_0x4f2758&&!_[_0x477d('0x3ab')](_0x375131,['id',_0x4f2758['id']])){var _0x2d5303=_[_0x477d('0x10a')](_0x3d7b31[_0x477d('0x1610')],{'id':_0x4f2758['id']});_0x2d5303[_0x477d('0xf8b')]=![];_0x375131[_0x477d('0x3a7')](_0x2d5303);}_0x3d7b31[_0x477d('0x1610')]=_0x375131;});}}})[_0x477d('0xf8')](function(_0x5310d3){_0x5b5ad4[_0x477d('0x44a')]({'title':_0x5310d3['status']?_0x477d('0x44b')+_0x5310d3[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x5310d3[_0x477d('0x44d')]:_0x477d('0x23ea'),'msg':_0x5310d3['data']?JSON[_0x477d('0x3fb')](_0x5310d3[_0x477d('0x451')]):_0x5310d3[_0x477d('0x453')]()});});_0x29530d[_0x477d('0x56')](_0x477d('0x5f'))?_0x57ebee['mailAccount'][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':'id','nolimit':'true'})['$promise']['then'](function(_0x4c7da8){_0x3d7b31[_0x477d('0xf33')]=_0x4c7da8[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x2ac398){_0x5b5ad4[_0x477d('0x44a')]({'title':_0x2ac398[_0x477d('0x3c3')]?'API:'+_0x2ac398['status']+'\x20-\x20'+_0x2ac398['statusText']:_0x477d('0x22c9'),'msg':_0x2ac398[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x2ac398['data']):_0x2ac398['toString']()});}):_0x57ebee[_0x477d('0x1775')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':'id','nolimit':'true'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0xfb6e4){_0x3d7b31['mailAccounts']=_0xfb6e4[_0x477d('0xf2')]||[];})['then'](function(){return _0x57ebee[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x3d7b31[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x25a})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x2db8d5){var _0x1950fa=_0x2db8d5&&_0x2db8d5[_0x477d('0xf2')]?_0x2db8d5[_0x477d('0xf2')][0x0]:null;if(!_0x1950fa){var _0xa042ff=[];var _0x24862f=null;if(_0x3d7b31[_0x477d('0x241d')]){_0x24862f=_[_0x477d('0x10a')](_0x3d7b31[_0x477d('0xf33')],{'id':Number(_0x3d7b31['anyCondition'][_0x477d('0x3b6')])});}for(var _0x594e02=0x0;_0x594e02<_0x3d7b31[_0x477d('0xf33')][_0x477d('0x79')];_0x594e02++){if(_0x24862f&&_0x3d7b31[_0x477d('0xf33')][_0x594e02]['id']===_0x24862f['id']){_0x3d7b31['mailAccounts'][_0x594e02][_0x477d('0xf8b')]=![];_0xa042ff['push'](_0x3d7b31[_0x477d('0xf33')][_0x594e02]);}}_0x3d7b31[_0x477d('0xf33')]=_0xa042ff;}else{if(!_0x1950fa[_0x477d('0x3ad')]){return _0x57ebee[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x1950fa['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x12658e){var _0x3ea984=_[_0x477d('0x3cb')](_0x12658e[_0x477d('0xf2')],function(_0x49a28d){return _[_0x477d('0x10a')](_0x3d7b31[_0x477d('0xf33')],{'id':_0x49a28d[_0x477d('0x3af')]});});var _0x6285cc=null;if(_0x3d7b31['anyCondition']){_0x6285cc=_[_0x477d('0x10a')](_0x3d7b31[_0x477d('0xf33')],{'id':Number(_0x3d7b31[_0x477d('0x241d')][_0x477d('0x3b6')])});}if(_0x6285cc&&!_[_0x477d('0x3ab')](_0x3ea984,['id',_0x6285cc['id']])){var _0x59fd12=_[_0x477d('0x10a')](_0x3d7b31[_0x477d('0xf33')],{'id':_0x6285cc['id']});_0x59fd12[_0x477d('0xf8b')]=![];_0x3ea984[_0x477d('0x3a7')](_0x59fd12);}_0x3d7b31[_0x477d('0xf33')]=_0x3ea984;});}}})['catch'](function(_0x4024d2){_0x5b5ad4[_0x477d('0x44a')]({'title':_0x4024d2[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x4024d2[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x4024d2[_0x477d('0x44d')]:_0x477d('0x22ca'),'msg':_0x4024d2['data']?JSON['stringify'](_0x4024d2['data']):_0x4024d2['toString']()});});_0x29530d[_0x477d('0x56')](_0x477d('0x5f'))?_0x57ebee['smsAccount'][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':'id','nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')]['then'](function(_0x708d2b){_0x3d7b31[_0x477d('0xf38')]=_0x708d2b[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x31327a){_0x5b5ad4[_0x477d('0x44a')]({'title':_0x31327a[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x31327a[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x31327a[_0x477d('0x44d')]:_0x477d('0x23eb'),'msg':_0x31327a[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x31327a[_0x477d('0x451')]):_0x31327a[_0x477d('0x453')]()});}):_0x57ebee[_0x477d('0xe45')][_0x477d('0x376')]({'fields':'id,name','sort':'id','nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x2d0312){_0x3d7b31['smsAccounts']=_0x2d0312[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x57ebee[_0x477d('0x3ac')]['get']({'userProfileId':_0x3d7b31['currentUser'][_0x477d('0x61')],'sectionId':0x2be})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x35da19){var _0x348c7e=_0x35da19&&_0x35da19['rows']?_0x35da19[_0x477d('0xf2')][0x0]:null;if(!_0x348c7e){var _0x3436c5=[];var _0x3935c4=null;if(_0x3d7b31[_0x477d('0x241d')]){_0x3935c4=_[_0x477d('0x10a')](_0x3d7b31[_0x477d('0xf38')],{'id':Number(_0x3d7b31['anyCondition'][_0x477d('0x3b6')])});}for(var _0x5e9d9e=0x0;_0x5e9d9e<_0x3d7b31[_0x477d('0xf38')][_0x477d('0x79')];_0x5e9d9e++){if(_0x3935c4&&_0x3d7b31[_0x477d('0xf38')][_0x5e9d9e]['id']===_0x3935c4['id']){_0x3d7b31[_0x477d('0xf38')][_0x5e9d9e][_0x477d('0xf8b')]=![];_0x3436c5[_0x477d('0x3a7')](_0x3d7b31[_0x477d('0xf38')][_0x5e9d9e]);}}_0x3d7b31[_0x477d('0xf38')]=_0x3436c5;}else{if(!_0x348c7e[_0x477d('0x3ad')]){return _0x57ebee['userProfileResource'][_0x477d('0x376')]({'sectionId':_0x348c7e['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x266281){var _0x540ec7=_[_0x477d('0x3cb')](_0x266281[_0x477d('0xf2')],function(_0x569ba5){return _['find'](_0x3d7b31[_0x477d('0xf38')],{'id':_0x569ba5['resourceId']});});var _0x4f5216=null;if(_0x3d7b31[_0x477d('0x241d')]){_0x4f5216=_[_0x477d('0x10a')](_0x3d7b31['smsAccounts'],{'id':Number(_0x3d7b31['anyCondition'][_0x477d('0x3b6')])});}if(_0x4f5216&&!_[_0x477d('0x3ab')](_0x540ec7,['id',_0x4f5216['id']])){var _0x3daa93=_['find'](_0x3d7b31[_0x477d('0xf38')],{'id':_0x4f5216['id']});_0x3daa93[_0x477d('0xf8b')]=![];_0x540ec7[_0x477d('0x3a7')](_0x3daa93);}_0x3d7b31[_0x477d('0xf38')]=_0x540ec7;});}}})[_0x477d('0xf8')](function(_0x5cf2fe){_0x5b5ad4[_0x477d('0x44a')]({'title':_0x5cf2fe[_0x477d('0x3c3')]?'API:'+_0x5cf2fe[_0x477d('0x3c3')]+'\x20-\x20'+_0x5cf2fe[_0x477d('0x44d')]:'SYSTEM:GETsmsAccounts','msg':_0x5cf2fe[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x5cf2fe[_0x477d('0x451')]):_0x5cf2fe[_0x477d('0x453')]()});});_0x29530d[_0x477d('0x56')]('admin')?_0x57ebee['faxAccount'][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':'id','nolimit':'true'})[_0x477d('0x38b')]['then'](function(_0x48bb2f){_0x3d7b31[_0x477d('0x160c')]=_0x48bb2f[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x1d023a){_0x5b5ad4[_0x477d('0x44a')]({'title':_0x1d023a[_0x477d('0x3c3')]?'API:'+_0x1d023a[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x1d023a[_0x477d('0x44d')]:_0x477d('0x23ee'),'msg':_0x1d023a['data']?JSON['stringify'](_0x1d023a[_0x477d('0x451')]):_0x1d023a[_0x477d('0x453')]()});}):_0x57ebee['faxAccount'][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':'id','nolimit':'true'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x1bc7b5){_0x3d7b31['faxAccounts']=_0x1bc7b5[_0x477d('0xf2')]||[];})['then'](function(){return _0x57ebee[_0x477d('0x3ac')]['get']({'userProfileId':_0x3d7b31[_0x477d('0x3e5')]['userProfileId'],'sectionId':0x386})['$promise'];})[_0x477d('0x76')](function(_0x477cdf){var _0x44adcb=_0x477cdf&&_0x477cdf[_0x477d('0xf2')]?_0x477cdf[_0x477d('0xf2')][0x0]:null;if(!_0x44adcb){var _0x26c216=[];var _0x1387af=null;if(_0x3d7b31['anyCondition']){_0x1387af=_[_0x477d('0x10a')](_0x3d7b31[_0x477d('0x160c')],{'id':Number(_0x3d7b31[_0x477d('0x241d')][_0x477d('0x3b6')])});}for(var _0x1fff07=0x0;_0x1fff07<_0x3d7b31[_0x477d('0x160c')]['length'];_0x1fff07++){if(_0x1387af&&_0x3d7b31[_0x477d('0x160c')][_0x1fff07]['id']===_0x1387af['id']){_0x3d7b31[_0x477d('0x160c')][_0x1fff07][_0x477d('0xf8b')]=![];_0x26c216['push'](_0x3d7b31[_0x477d('0x160c')][_0x1fff07]);}}_0x3d7b31[_0x477d('0x160c')]=_0x26c216;}else{if(!_0x44adcb[_0x477d('0x3ad')]){return _0x57ebee['userProfileResource']['get']({'sectionId':_0x44adcb['id']})['$promise'][_0x477d('0x76')](function(_0x3c4c95){var _0x5b0570=_[_0x477d('0x3cb')](_0x3c4c95[_0x477d('0xf2')],function(_0x32303f){return _['find'](_0x3d7b31['faxAccounts'],{'id':_0x32303f[_0x477d('0x3af')]});});var _0x76d650=null;if(_0x3d7b31[_0x477d('0x241d')]){_0x76d650=_[_0x477d('0x10a')](_0x3d7b31[_0x477d('0x160c')],{'id':Number(_0x3d7b31['anyCondition'][_0x477d('0x3b6')])});}if(_0x76d650&&!_['some'](_0x5b0570,['id',_0x76d650['id']])){var _0x142226=_[_0x477d('0x10a')](_0x3d7b31[_0x477d('0x160c')],{'id':_0x76d650['id']});_0x142226['canSelect']=![];_0x5b0570['push'](_0x142226);}_0x3d7b31[_0x477d('0x160c')]=_0x5b0570;});}}})[_0x477d('0xf8')](function(_0x26a3c7){_0x5b5ad4[_0x477d('0x44a')]({'title':_0x26a3c7['status']?_0x477d('0x44b')+_0x26a3c7[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x26a3c7[_0x477d('0x44d')]:_0x477d('0x23ef'),'msg':_0x26a3c7[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x26a3c7[_0x477d('0x451')]):_0x26a3c7[_0x477d('0x453')]()});});_0x29530d[_0x477d('0x56')](_0x477d('0x5f'))?_0x57ebee[_0x477d('0xb16')]['get']({'fields':_0x477d('0x9c'),'sort':'id','nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x406e57){_0x3d7b31[_0x477d('0x160d')]=_0x406e57[_0x477d('0xf2')]||[];})['catch'](function(_0x320c40){_0x5b5ad4[_0x477d('0x44a')]({'title':_0x320c40[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x320c40['status']+_0x477d('0x44c')+_0x320c40[_0x477d('0x44d')]:_0x477d('0x23f0'),'msg':_0x320c40['data']?JSON[_0x477d('0x3fb')](_0x320c40[_0x477d('0x451')]):_0x320c40['toString']()});}):_0x57ebee[_0x477d('0xb16')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':'id','nolimit':'true'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x2b17b1){_0x3d7b31['openchannelAccounts']=_0x2b17b1['rows']||[];})[_0x477d('0x76')](function(){return _0x57ebee[_0x477d('0x3ac')]['get']({'userProfileId':_0x3d7b31['currentUser'][_0x477d('0x61')],'sectionId':0x322})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0xaa17b9){var _0x5c398c=_0xaa17b9&&_0xaa17b9[_0x477d('0xf2')]?_0xaa17b9['rows'][0x0]:null;if(!_0x5c398c){var _0x52130d=[];var _0xdd9cd8=null;if(_0x3d7b31[_0x477d('0x241d')]){_0xdd9cd8=_[_0x477d('0x10a')](_0x3d7b31[_0x477d('0x160d')],{'id':Number(_0x3d7b31['anyCondition']['value'])});}for(var _0x5bfff4=0x0;_0x5bfff4<_0x3d7b31['openchannelAccounts'][_0x477d('0x79')];_0x5bfff4++){if(_0xdd9cd8&&_0x3d7b31['openchannelAccounts'][_0x5bfff4]['id']===_0xdd9cd8['id']){_0x3d7b31[_0x477d('0x160d')][_0x5bfff4][_0x477d('0xf8b')]=![];_0x52130d['push'](_0x3d7b31[_0x477d('0x160d')][_0x5bfff4]);}}_0x3d7b31[_0x477d('0x160d')]=_0x52130d;}else{if(!_0x5c398c[_0x477d('0x3ad')]){return _0x57ebee['userProfileResource'][_0x477d('0x376')]({'sectionId':_0x5c398c['id']})[_0x477d('0x38b')]['then'](function(_0x17a07a){var _0x3b9741=_[_0x477d('0x3cb')](_0x17a07a[_0x477d('0xf2')],function(_0x42e240){return _[_0x477d('0x10a')](_0x3d7b31['openchannelAccounts'],{'id':_0x42e240[_0x477d('0x3af')]});});var _0x16b869=null;if(_0x3d7b31['anyCondition']){_0x16b869=_[_0x477d('0x10a')](_0x3d7b31['openchannelAccounts'],{'id':Number(_0x3d7b31[_0x477d('0x241d')]['value'])});}if(_0x16b869&&!_['some'](_0x3b9741,['id',_0x16b869['id']])){var _0x3fd099=_[_0x477d('0x10a')](_0x3d7b31[_0x477d('0x160d')],{'id':_0x16b869['id']});_0x3fd099[_0x477d('0xf8b')]=![];_0x3b9741[_0x477d('0x3a7')](_0x3fd099);}_0x3d7b31[_0x477d('0x160d')]=_0x3b9741;});}}})[_0x477d('0xf8')](function(_0x5b368b){_0x5b5ad4[_0x477d('0x44a')]({'title':_0x5b368b[_0x477d('0x3c3')]?'API:'+_0x5b368b[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x5b368b[_0x477d('0x44d')]:'SYSTEM:GETopenchannelAccounts','msg':_0x5b368b[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x5b368b[_0x477d('0x451')]):_0x5b368b[_0x477d('0x453')]()});});var _0x4b3074=[{'id':0x191,'type':_0x477d('0x9e')},{'id':0x5dd,'type':_0x477d('0x127')}];var _0x17b018=null;_0x29530d['hasRole'](_0x477d('0x5f'))?_0x57ebee[_0x477d('0xa76')][_0x477d('0x376')]({'fields':_0x477d('0x12de'),'sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x566cc0){_0x3d7b31[_0x477d('0xf2f')]=_0x566cc0[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x37afb4){_0x5b5ad4['error']({'title':_0x37afb4[_0x477d('0x3c3')]?'API:'+_0x37afb4[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x37afb4['statusText']:_0x477d('0x1934'),'msg':_0x37afb4['data']?JSON[_0x477d('0x3fb')](_0x37afb4[_0x477d('0x451')]):_0x37afb4[_0x477d('0x453')]()});}):_0x57ebee[_0x477d('0xa76')][_0x477d('0x376')]({'fields':_0x477d('0x12de'),'sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x3bab45){_0x17b018=_0x3bab45[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){var _0x27d761=[];for(var _0x519c35=0x0;_0x519c35<_0x4b3074[_0x477d('0x79')];_0x519c35++){_0x27d761[_0x477d('0x3a7')](_0x57ebee[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x3d7b31[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':_0x4b3074[_0x519c35]['id']})[_0x477d('0x38b')]);}return _0x26a601[_0x477d('0x7c')](_0x27d761);})[_0x477d('0x76')](function(_0x52938f){var _0x1a6372=_[_0x477d('0x3cb')](_0x52938f,function(_0x5e7294){return _0x5e7294&&_0x5e7294[_0x477d('0xf2')]?_0x5e7294['rows'][0x0]:null;});var _0x5c7303=[];for(var _0xd5f92c=0x0;_0xd5f92c<_0x4b3074[_0x477d('0x79')];_0xd5f92c++){var _0x3c95d3=_[_0x477d('0x10a')](_0x1a6372,['sectionId',_0x4b3074[_0xd5f92c]['id']]);if(_0x3c95d3){if(!_0x3c95d3[_0x477d('0x3ad')]){_0x5c7303['push'](_0x57ebee[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x3c95d3['id']})[_0x477d('0x38b')]);}else{var _0x4bd150=[];_0x17b018[_0x477d('0x3b1')](function(_0x8ed696){if(_0x8ed696[_0x477d('0x439')]===_0x4b3074[_0xd5f92c][_0x477d('0x439')]){_0x4bd150[_0x477d('0x3a7')](_0x8ed696);}});_0x5c7303[_0x477d('0x3a7')]({'rows':_0x4bd150,'count':_0x4bd150[_0x477d('0x79')]});}}}return _0x26a601[_0x477d('0x7c')](_0x5c7303);})[_0x477d('0x76')](function(_0x50b4f3){var _0x261d04=[];var _0x1f5e27=null;if(_0x3d7b31[_0x477d('0x241d')]){_0x1f5e27=_[_0x477d('0x10a')](_0x17b018,{'name':_0x3d7b31['anyCondition'][_0x477d('0x3b6')]});}for(var _0x53ab18=0x0;_0x53ab18<_0x50b4f3[_0x477d('0x79')];_0x53ab18++){var _0x1d7f45=_0x50b4f3[_0x53ab18][_0x477d('0xf2')]||[];_0x1d7f45[_0x477d('0x3b1')](function(_0x5503c5){_0x261d04[_0x477d('0x3a7')](_0x5503c5);});}if(_0x1f5e27&&!_[_0x477d('0x3ab')](_0x261d04,[_0x477d('0x3af'),_0x1f5e27['id']])){_0x17b018['forEach'](function(_0x571b19){if(_0x571b19['id']===_0x1f5e27['id']){_0x571b19['canSelect']=![];_0x261d04[_0x477d('0x3a7')](_0x571b19);}});}_0x3d7b31['queues']=_0x261d04;})[_0x477d('0xf8')](function(_0x56300b){_0x5b5ad4[_0x477d('0x44a')]({'title':_0x56300b[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x56300b['status']+'\x20-\x20'+_0x56300b['statusText']:_0x477d('0x12df'),'msg':_0x56300b[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x56300b[_0x477d('0x451')]):_0x56300b[_0x477d('0x453')]()});});_0x29530d[_0x477d('0x56')](_0x477d('0x5f'))?_0x57ebee[_0x477d('0x21a5')][_0x477d('0x376')]({'fields':'id,exten','type':_0x477d('0x127'),'VoiceExtensionId':_0x477d('0xea'),'nolimit':'true'})['$promise'][_0x477d('0x76')](function(_0x15f2ed){_0x3d7b31['outboundRoutes']=_0x15f2ed[_0x477d('0xf2')]||[];})['catch'](function(_0x287bdd){_0x5b5ad4[_0x477d('0x44a')]({'title':_0x287bdd[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x287bdd[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x287bdd[_0x477d('0x44d')]:_0x477d('0x23f2'),'msg':_0x287bdd[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x287bdd[_0x477d('0x451')]):_0x287bdd[_0x477d('0x453')]()});}):_0x57ebee[_0x477d('0x21a5')][_0x477d('0x376')]({'fields':'id,exten','type':_0x477d('0x127'),'VoiceExtensionId':'null','nolimit':_0x477d('0x2ee')})['$promise'][_0x477d('0x76')](function(_0x2cf0aa){_0x3d7b31[_0x477d('0x23f3')]=_0x2cf0aa[_0x477d('0xf2')]||[];})['then'](function(){return _0x57ebee[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x3d7b31[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x193})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x3aaa66){var _0x1d4e2e=_0x3aaa66&&_0x3aaa66[_0x477d('0xf2')]?_0x3aaa66[_0x477d('0xf2')][0x0]:null;if(!_0x1d4e2e){var _0xf59ee4=[];var _0x3ee2cc=null;if(_0x3d7b31[_0x477d('0x241d')]){_0x3ee2cc=_[_0x477d('0x10a')](_0x3d7b31[_0x477d('0x23f3')],{'id':Number(_0x3d7b31[_0x477d('0x241d')][_0x477d('0x3b6')])});}for(var _0x25f719=0x0;_0x25f719<_0x3d7b31[_0x477d('0x23f3')][_0x477d('0x79')];_0x25f719++){if(_0x3ee2cc&&_0x3d7b31['outboundRoutes'][_0x25f719]['id']===_0x3ee2cc['id']){_0x3d7b31[_0x477d('0x23f3')][_0x25f719][_0x477d('0xf8b')]=![];_0xf59ee4['push'](_0x3d7b31['outboundRoutes'][_0x25f719]);}}_0x3d7b31['outboundRoutes']=_0xf59ee4;}else{if(!_0x1d4e2e[_0x477d('0x3ad')]){return _0x57ebee[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x1d4e2e['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x333446){var _0x542b05=_['map'](_0x333446[_0x477d('0xf2')],function(_0x177a81){return _[_0x477d('0x10a')](_0x3d7b31[_0x477d('0x23f3')],{'id':_0x177a81[_0x477d('0x3af')]});});var _0x5ced1f=null;if(_0x3d7b31['anyCondition']){_0x5ced1f=_[_0x477d('0x10a')](_0x3d7b31[_0x477d('0x23f3')],{'id':Number(_0x3d7b31['anyCondition'][_0x477d('0x3b6')])});}if(_0x5ced1f&&!_[_0x477d('0x3ab')](_0x542b05,['id',_0x5ced1f['id']])){var _0x1ed9b8=_[_0x477d('0x10a')](_0x3d7b31[_0x477d('0x23f3')],{'id':_0x5ced1f['id']});_0x1ed9b8['canSelect']=![];_0x542b05['push'](_0x1ed9b8);}_0x3d7b31[_0x477d('0x23f3')]=_0x542b05;});}}})[_0x477d('0xf8')](function(_0x4ca6f6){_0x5b5ad4[_0x477d('0x44a')]({'title':_0x4ca6f6['status']?'API:'+_0x4ca6f6['status']+_0x477d('0x44c')+_0x4ca6f6['statusText']:_0x477d('0x2405'),'msg':_0x4ca6f6[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x4ca6f6[_0x477d('0x451')]):_0x4ca6f6[_0x477d('0x453')]()});});_0x29530d[_0x477d('0x56')](_0x477d('0x5f'))?_0x57ebee[_0x477d('0x380')]['get']({'fields':_0x477d('0x1360'),'sort':'name','role':_0x477d('0xcf'),'nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x1dba97){_0x3d7b31[_0x477d('0x125c')]=_0x1dba97[_0x477d('0xf2')]||[];})['catch'](function(_0x41e436){_0x5b5ad4[_0x477d('0x44a')]({'title':_0x41e436[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x41e436[_0x477d('0x3c3')]+'\x20-\x20'+_0x41e436[_0x477d('0x44d')]:'SYSTEM:GET_AGENTS','msg':_0x41e436['data']?JSON['stringify'](_0x41e436[_0x477d('0x451')]):_0x41e436['toString']()});}):_0x57ebee[_0x477d('0x380')]['get']({'fields':_0x477d('0x1360'),'sort':_0x477d('0x94'),'role':_0x477d('0xcf'),'nolimit':'true'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x1e4c7e){_0x3d7b31[_0x477d('0x125c')]=_0x1e4c7e[_0x477d('0xf2')]||[];})['then'](function(){return _0x57ebee[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x3d7b31['currentUser'][_0x477d('0x61')],'sectionId':0xca})[_0x477d('0x38b')];})['then'](function(_0x4072f2){var _0x3afb98=_0x4072f2&&_0x4072f2[_0x477d('0xf2')]?_0x4072f2[_0x477d('0xf2')][0x0]:null;if(!_0x3afb98){var _0x262248=[];var _0x3e8350=null;if(_0x3d7b31[_0x477d('0x241d')]){_0x3e8350=_[_0x477d('0x10a')](_0x3d7b31[_0x477d('0x125c')],{'name':_0x3d7b31[_0x477d('0x241d')][_0x477d('0x3b6')]});}for(var _0x3e5bb3=0x0;_0x3e5bb3<_0x3d7b31[_0x477d('0x125c')][_0x477d('0x79')];_0x3e5bb3++){if(_0x3e8350&&_0x3d7b31['agents'][_0x3e5bb3]['id']===_0x3e8350['id']){_0x3d7b31[_0x477d('0x125c')][_0x3e5bb3][_0x477d('0xf8b')]=![];_0x262248[_0x477d('0x3a7')](_0x3d7b31[_0x477d('0x125c')][_0x3e5bb3]);}}_0x3d7b31[_0x477d('0x125c')]=_0x262248;}else{if(!_0x3afb98[_0x477d('0x3ad')]){return _0x57ebee[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x3afb98['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x34aa6f){var _0x4d9011=_[_0x477d('0x3cb')](_0x34aa6f[_0x477d('0xf2')],function(_0xf2437){return _['find'](_0x3d7b31[_0x477d('0x125c')],{'id':_0xf2437[_0x477d('0x3af')]});});var _0x10b91a=null;if(_0x3d7b31['anyCondition']){_0x10b91a=_[_0x477d('0x10a')](_0x3d7b31[_0x477d('0x125c')],{'name':_0x3d7b31[_0x477d('0x241d')][_0x477d('0x3b6')]});}if(_0x10b91a&&!_['some'](_0x4d9011,['id',_0x10b91a['id']])){var _0x5aa863=_[_0x477d('0x10a')](_0x3d7b31['agents'],{'id':_0x10b91a['id']});_0x5aa863[_0x477d('0xf8b')]=![];_0x4d9011[_0x477d('0x3a7')](_0x5aa863);}_0x3d7b31[_0x477d('0x125c')]=_0x4d9011;});}}})[_0x477d('0xf8')](function(_0x4d734c){_0x5b5ad4['error']({'title':_0x4d734c[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x4d734c[_0x477d('0x3c3')]+'\x20-\x20'+_0x4d734c['statusText']:'SYSTEM:GETagents','msg':_0x4d734c[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x4d734c['data']):_0x4d734c[_0x477d('0x453')]()});});function _0x4b8f5e(){_0x3d7b31['errors']=[];_0x57ebee[_0x477d('0x233b')]['addAnyCondition']({'id':_0x3dcab6['params']['id']},_0x3d7b31[_0x477d('0x241d')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x51d273){_0x3d7b31[_0x477d('0x2421')][_0x477d('0x63b')](_0x51d273[_0x477d('0xd71')]());_0x5b5ad4['success']({'title':_0x477d('0x2428'),'msg':_0x3d7b31['anyCondition'][_0x477d('0x94')]?_0x3d7b31[_0x477d('0x241d')][_0x477d('0x94')]+_0x477d('0xd73'):''});_0x2c9c4f(_0x51d273);})[_0x477d('0xf8')](function(_0x158d78){if(_0x158d78[_0x477d('0x451')]&&_0x158d78[_0x477d('0x451')][_0x477d('0xd67')]&&_0x158d78[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x3d7b31['errors']=_0x158d78[_0x477d('0x451')]['errors']||[{'message':_0x158d78['toString'](),'type':_0x477d('0x2407')}];for(var _0x1a575d=0x0;_0x1a575d<_0x158d78[_0x477d('0x451')]['errors'][_0x477d('0x79')];_0x1a575d+=0x1){_0x5b5ad4[_0x477d('0x44a')]({'title':_0x158d78[_0x477d('0x451')]['errors'][_0x1a575d][_0x477d('0x439')],'msg':_0x158d78[_0x477d('0x451')][_0x477d('0xd67')][_0x1a575d][_0x477d('0x452')]});}}else{_0x5b5ad4['error']({'title':_0x158d78[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x158d78['status']+_0x477d('0x44c')+_0x158d78[_0x477d('0x44d')]:_0x477d('0x2407'),'msg':_0x158d78['data']?JSON[_0x477d('0x3fb')](_0x158d78[_0x477d('0x451')][_0x477d('0x452')]):_0x158d78[_0x477d('0x453')]()});}});}function _0x3e0447(){_0x3d7b31[_0x477d('0xd67')]=[];_0x57ebee['condition']['update']({'id':_0x3d7b31[_0x477d('0x241d')]['id']},_0x3d7b31[_0x477d('0x241d')])[_0x477d('0x38b')]['then'](function(_0x5defdf){var _0x3a243f=_[_0x477d('0x10a')](_0x3d7b31['anyconditions'],{'id':_0x5defdf['id']});if(_0x3a243f){_[_0x477d('0xef')](_0x3a243f,_[_0x477d('0x10b')](_0x5defdf[_0x477d('0xd71')](),_[_0x477d('0x7f')](_0x3a243f)));}_0x5b5ad4[_0x477d('0x485')]({'title':_0x477d('0x2429'),'msg':_0x3d7b31[_0x477d('0x241d')]['name']?_0x3d7b31[_0x477d('0x241d')][_0x477d('0x94')]+'\x20has\x20been\x20saved!':''});_0x2c9c4f(_0x5defdf);})[_0x477d('0xf8')](function(_0x56fe3b){if(_0x56fe3b[_0x477d('0x451')]&&_0x56fe3b[_0x477d('0x451')][_0x477d('0xd67')]&&_0x56fe3b[_0x477d('0x451')][_0x477d('0xd67')]['length']){_0x3d7b31[_0x477d('0xd67')]=_0x56fe3b[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x56fe3b[_0x477d('0x453')](),'type':_0x477d('0x2409')}];for(var _0x37b998=0x0;_0x37b998<_0x56fe3b['data'][_0x477d('0xd67')][_0x477d('0x79')];_0x37b998++){_0x5b5ad4[_0x477d('0x44a')]({'title':_0x56fe3b[_0x477d('0x451')][_0x477d('0xd67')][_0x37b998][_0x477d('0x439')],'msg':_0x56fe3b[_0x477d('0x451')][_0x477d('0xd67')][_0x37b998]['message']});}}else{_0x5b5ad4[_0x477d('0x44a')]({'title':_0x56fe3b[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x56fe3b['status']+_0x477d('0x44c')+_0x56fe3b[_0x477d('0x44d')]:_0x477d('0x2409'),'msg':_0x56fe3b[_0x477d('0x451')]?JSON['stringify'](_0x56fe3b[_0x477d('0x451')][_0x477d('0x452')]):_0x56fe3b[_0x477d('0x453')]()});}});}function _0x200a28(_0x265f8b){_0x3d7b31[_0x477d('0xd67')]=[];var _0x321d39=_0x3b4c71[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xd79'))[_0x477d('0xdaf')](_0x477d('0x242a'))[_0x477d('0x687')](_0x477d('0x242b'))['ok']('Delete')['cancel'](_0x477d('0x688'))['targetEvent'](_0x265f8b);_0x3b4c71[_0x477d('0x395')](_0x321d39)[_0x477d('0x76')](function(){_0x57ebee[_0x477d('0xb98')][_0x477d('0xa55')]({'id':_0x3d7b31[_0x477d('0x241d')]['id']})[_0x477d('0x38b')]['then'](function(){_['remove'](_0x3d7b31['anyconditions'],{'id':_0x3d7b31[_0x477d('0x241d')]['id']});_0x5b5ad4[_0x477d('0x485')]({'title':_0x477d('0x242c'),'msg':(_0x3d7b31[_0x477d('0x241d')][_0x477d('0x94')]||_0x477d('0x241d'))+_0x477d('0xd7e')});_0x2c9c4f(_0x3d7b31[_0x477d('0x241d')]);})[_0x477d('0xf8')](function(_0x212527){if(_0x212527['data']&&_0x212527['data']['errors']&&_0x212527[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x3d7b31[_0x477d('0xd67')]=_0x212527['data'][_0x477d('0xd67')]||[{'message':_0x212527[_0x477d('0x453')](),'type':'api.condition.delete'}];for(var _0x4143b6=0x0;_0x4143b6<_0x212527[_0x477d('0x451')]['errors'][_0x477d('0x79')];_0x4143b6++){_0x5b5ad4[_0x477d('0x44a')]({'title':_0x212527['data'][_0x477d('0xd67')][_0x4143b6][_0x477d('0x439')],'msg':_0x212527[_0x477d('0x451')][_0x477d('0xd67')][_0x4143b6][_0x477d('0x452')]});}}else{_0x5b5ad4[_0x477d('0x44a')]({'title':_0x212527[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x212527[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x212527[_0x477d('0x44d')]:_0x477d('0x240c'),'msg':_0x212527['data']?JSON[_0x477d('0x3fb')](_0x212527[_0x477d('0x451')][_0x477d('0x452')]):_0x212527[_0x477d('0x452')]||_0x212527[_0x477d('0x453')]()});}});},function(){});}function _0x2f9e31(_0x3d8e38){return _0x3d8e38===null?undefined:new Date(_0x3d8e38);}function _0x2c9c4f(_0x1a2d76){_0x3b4c71['hide'](_0x1a2d76);}}}());(function(){'use strict';_0x4f2a7f[_0x477d('0xa')]=['$state',_0x477d('0xd64'),_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x40d'),_0x477d('0x613'),_0x477d('0xc8e'),_0x477d('0x386'),_0x477d('0x40e'),_0x477d('0x55'),_0x477d('0x233b'),'userProfileSection'];angular[_0x477d('0xb')]('app.tools')[_0x477d('0x3ba')](_0x477d('0x242d'),_0x4f2a7f);function _0x4f2a7f(_0xbd9362,_0x4fa625,_0x4fac38,_0x2b70e5,_0x3133c8,_0x48c7f2,_0x2bae55,_0x2d586d,_0x4a9906,_0x5481c3,_0x52e777,_0x37aaa5){var _0x2b2686=this;_0x2b2686[_0x477d('0x3e5')]=_0x5481c3[_0x477d('0x5c')]();_0x2b2686[_0x477d('0x613')]=_0x48c7f2;_0x2b2686[_0x477d('0xc8e')]=_0x2bae55;_0x2b2686[_0x477d('0xd69')]=_0x2b2686[_0x477d('0xc8e')][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x2b2686['location']=_0x4fa625['protocol']()+'://'+_0x4fa625[_0x477d('0x3c9')]();_0x2b2686[_0x477d('0x233b')]=_0x52e777||_0xbd9362[_0x477d('0x37e')][_0x477d('0x233b')]||{};_0x2b2686[_0x477d('0x3ac')]=_0x37aaa5&&_0x37aaa5[_0x477d('0x3bb')]==0x1?_0x37aaa5[_0x477d('0xf2')][0x0]:null;_0x2b2686[_0x477d('0xd66')]=_0x5481c3[_0x477d('0xd81')](_0x2b2686[_0x477d('0x3ac')]?_0x2b2686[_0x477d('0x3ac')][_0x477d('0xd66')]:null);_0x2b2686['hasModulePermissions']={};_0x2b2686[_0x477d('0xe95')]=_0xbd9362[_0x477d('0x37e')][_0x477d('0xe96')]||0x0;_0x2b2686['alert']=_0x4a9906[_0x477d('0x669')];_0x2b2686[_0x477d('0x242e')]=_0x9cf747;_0x2b2686[_0x477d('0x242f')]=_0xaf5d5b;function _0x9cf747(){_0xbd9362['go'](_0x477d('0x2d1'),{},{'reload':_0x477d('0x2d1')});}function _0xaf5d5b(){_0x2d586d[_0x477d('0x233b')][_0x477d('0x710')]({'id':_0x2b2686[_0x477d('0x233b')]['id']},_0x2b2686[_0x477d('0x233b')])[_0x477d('0x38b')][_0x477d('0x76')](function(){_0x4a9906[_0x477d('0x485')]({'title':_0x477d('0x2430'),'msg':_0x2b2686[_0x477d('0x233b')][_0x477d('0x94')]?_0x2b2686[_0x477d('0x233b')][_0x477d('0x94')]+'\x20has\x20been\x20updated!':''});})[_0x477d('0xf8')](function(_0x22ed66){_0x4a9906[_0x477d('0x44a')]({'title':_0x22ed66[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x22ed66['status']+_0x477d('0x44c')+_0x22ed66[_0x477d('0x44d')]:_0x477d('0x23ae'),'msg':_0x22ed66[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x22ed66[_0x477d('0x451')]):_0x22ed66[_0x477d('0x453')]()});});}}}());(function(){'use strict';_0x449328[_0x477d('0xa')]=[_0x477d('0x474'),'$window',_0x477d('0x3c4'),_0x477d('0x554'),'$mdDialog',_0x477d('0x475'),_0x477d('0x3fe'),_0x477d('0x40d'),_0x477d('0x233a'),_0x477d('0x3a5'),'userProfileSection',_0x477d('0x386'),_0x477d('0x342'),_0x477d('0x40e'),_0x477d('0x55'),_0x477d('0x613'),_0x477d('0xc8e')];angular[_0x477d('0xb')](_0x477d('0x35'))[_0x477d('0x3ba')](_0x477d('0x2431'),_0x449328);function _0x449328(_0x27b31e,_0x2c68b0,_0x1de467,_0x157a08,_0x47d9d9,_0x5e3df0,_0x40b526,_0x1c8944,_0x40b372,_0x5005c3,_0x5f42b1,_0x247da2,_0xb418c9,_0x414c22,_0x316dc5,_0x1e69f0,_0x2f741d){var _0x4ae76b=this;_0x4ae76b[_0x477d('0x613')]=_0x1e69f0;_0x4ae76b[_0x477d('0xc8e')]=_0x2f741d;_0x4ae76b[_0x477d('0x3e5')]=_0x316dc5['getCurrentUser']();_0x4ae76b[_0x477d('0x233a')]=_0x40b372||{'count':0x0,'rows':[]};_0x4ae76b['userProfile']=_0x5005c3;_0x4ae76b[_0x477d('0x3ac')]=_0x5f42b1&&_0x5f42b1[_0x477d('0x3bb')]==0x1?_0x5f42b1[_0x477d('0xf2')][0x0]:null;_0x4ae76b[_0x477d('0xd66')]=_0x316dc5['parseCrudPermissions'](_0x4ae76b[_0x477d('0x3ac')]?_0x4ae76b[_0x477d('0x3ac')][_0x477d('0xd66')]:null);_0x4ae76b[_0x477d('0xd82')]=_0x477d('0x233a');_0x4ae76b[_0x477d('0xd83')]='';_0x4ae76b[_0x477d('0xd84')]=null;_0x4ae76b[_0x477d('0x2432')]=[];_0x4ae76b[_0x477d('0x3ef')]={'fields':'createdAt,updatedAt,id,name,channel,status,description','sort':_0x477d('0x59'),'limit':0xa,'page':0x1};_0x4ae76b[_0x477d('0x2433')]=_[_0x477d('0xdb5')]([{'option':_0x477d('0x2434'),'value':'\x27voice\x27'},{'option':_0x477d('0x2435'),'value':_0x477d('0x2436'),'ngIf':'vm.license.openchannel'},{'option':_0x477d('0x2437'),'value':_0x477d('0x2438'),'ngIf':'vm.license.chat'},{'option':_0x477d('0x161a'),'value':'\x27mail\x27','ngIf':_0x477d('0x2439')},{'option':_0x477d('0x243a'),'value':_0x477d('0x243b'),'ngIf':_0x477d('0x243c')},{'option':_0x477d('0x243d'),'value':_0x477d('0x243e'),'ngIf':_0x477d('0x243f')},{'option':_0x477d('0x2440'),'value':_0x477d('0x2441'),'ngIf':_0x477d('0x2442')}],function(_0x5a91cf){return _[_0x477d('0x409')](_0x5a91cf[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x4ae76b[_0x477d('0xea6')]=_0x5215ec;_0x4ae76b[_0x477d('0xd88')]=_0x5c06e9;_0x4ae76b[_0x477d('0x485')]=_0x4cb3df;_0x4ae76b[_0x477d('0x2443')]=_0x45f107;_0x4ae76b['createOrEditTrigger']=_0x5bbc17;_0x4ae76b[_0x477d('0x2444')]=_0x2fee78;_0x4ae76b[_0x477d('0x2445')]=_0x570613;_0x4ae76b[_0x477d('0x2446')]=_0x350098;_0x4ae76b['deselectTriggers']=_0xbc5e7f;_0x4ae76b['selectAllTriggers']=_0xfe9f7b;function _0x5215ec(_0x36f0e2,_0x1093c5){_0x1de467['go'](_0x477d('0x2d7'),{'id':_0x36f0e2['id'],'trigger':_0x36f0e2,'crudPermissions':_0x4ae76b[_0x477d('0xd66')]});}function _0x5c06e9(_0x14dfa1,_0x404aa2){var _0x401d5b=_0x47d9d9[_0x477d('0xd78')]()[_0x477d('0x49a')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20'+_[_0x477d('0xd91')](_0x477d('0x233b'))+'?')['htmlContent'](_0x477d('0xd93')+(_0x14dfa1[_0x477d('0x94')]||_0x477d('0x233b'))+_0x477d('0xd94')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x2447'))[_0x477d('0xd7c')](_0x404aa2)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x47d9d9['show'](_0x401d5b)[_0x477d('0x76')](function(){_0x2fee78(_0x14dfa1);},function(){console[_0x477d('0x7b')](_0x477d('0xd97'));});}var _0x4f9352=!![];var _0x3b7eed=0x1;_0x27b31e['$watch'](_0x477d('0xd98'),function(_0x57bf50,_0x2a8b0f){if(_0x4f9352){_0x40b526(function(){_0x4f9352=![];});}else{if(!_0x2a8b0f){_0x3b7eed=_0x4ae76b[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x57bf50!==_0x2a8b0f){_0x4ae76b['query']['page']=0x1;}if(!_0x57bf50){_0x4ae76b[_0x477d('0x3ef')]['page']=_0x3b7eed;}_0x4ae76b[_0x477d('0x2443')]();}});function _0x4cb3df(_0x5474bc){_0x4ae76b[_0x477d('0x233a')]=_0x5474bc||{'count':0x0,'rows':[]};}function _0x45f107(){_0x4ae76b[_0x477d('0x3ef')][_0x477d('0x91c')]=(_0x4ae76b[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x4ae76b[_0x477d('0x3ef')][_0x477d('0x91d')];if(_0x316dc5['hasRole'](_0x477d('0x5f'))){_0x4ae76b[_0x477d('0x553')]=_0x247da2[_0x477d('0x233b')]['get'](_0x4ae76b[_0x477d('0x3ef')],_0x4cb3df)['$promise'];}else{_0x4ae76b[_0x477d('0x3ef')]['id']=_0x4ae76b['userProfile']['id'];_0x4ae76b[_0x477d('0x3ef')][_0x477d('0xd99')]='Triggers';_0x4ae76b[_0x477d('0x553')]=_0x247da2[_0x477d('0x3a5')]['getResources'](_0x4ae76b['query'],_0x4cb3df)[_0x477d('0x38b')];}}function _0x5bbc17(_0x8ff0e7,_0x5c6d67){_0x47d9d9[_0x477d('0x395')]({'controller':_0x477d('0x233c'),'controllerAs':'vm','templateUrl':_0x477d('0x2448'),'parent':angular[_0x477d('0x398')](_0x5e3df0[_0x477d('0x399')]),'targetEvent':_0x8ff0e7,'clickOutsideToClose':!![],'locals':{'trigger':_0x5c6d67,'triggers':_0x4ae76b[_0x477d('0x233a')]['rows'],'license':_0x4ae76b[_0x477d('0x613')],'setting':_0x4ae76b['setting'],'crudPermissions':_0x4ae76b[_0x477d('0xd66')]}});}function _0x2fee78(_0x32c3e2){_0x247da2[_0x477d('0x233b')]['delete']({'id':_0x32c3e2['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x4ae76b[_0x477d('0x233a')]['rows'],{'id':_0x32c3e2['id']});_0x4ae76b[_0x477d('0x233a')]['count']-=0x1;if(!_0x4ae76b[_0x477d('0x233a')][_0x477d('0xf2')][_0x477d('0x79')]){_0x4ae76b[_0x477d('0x2443')]();}_0x414c22[_0x477d('0x485')]({'title':_[_0x477d('0xd91')]('Trigger')+_0x477d('0xd9d'),'msg':_0x32c3e2['name']?_0x32c3e2['name']+_0x477d('0xd7e'):''});})[_0x477d('0xf8')](function(_0x3011c7){if(_0x3011c7[_0x477d('0x451')]&&_0x3011c7['data']['errors']&&_0x3011c7['data'][_0x477d('0xd67')]['length']){_0x4ae76b[_0x477d('0xd67')]=_0x3011c7[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x3011c7['toString'](),'type':_0x477d('0x2449')}];for(var _0x12fd0c=0x0;_0x12fd0c<_0x3011c7[_0x477d('0x451')][_0x477d('0xd67')]['length'];_0x12fd0c++){_0x414c22[_0x477d('0x44a')]({'title':_0x3011c7['data'][_0x477d('0xd67')][_0x12fd0c][_0x477d('0x439')],'msg':_0x3011c7[_0x477d('0x451')][_0x477d('0xd67')][_0x12fd0c][_0x477d('0x452')]});}}else{_0x414c22['error']({'title':_0x3011c7['status']?'API:'+_0x3011c7[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x3011c7[_0x477d('0x44d')]:_0x477d('0x2449'),'msg':_0x3011c7[_0x477d('0x451')]?JSON['stringify'](_0x3011c7['data'][_0x477d('0x452')]):_0x3011c7[_0x477d('0x452')]||_0x3011c7[_0x477d('0x453')]()});}});}function _0x570613(){var _0x13e697=angular[_0x477d('0x6d9')](_0x4ae76b[_0x477d('0x2432')]);_0x4ae76b[_0x477d('0x2432')]=[];return _0x13e697;}function _0x350098(_0x5396b6){var _0x305c05=_0x47d9d9['confirm']()['title']('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20triggers?')[_0x477d('0xd92')](_0x477d('0xd93')+_0x4ae76b[_0x477d('0x2432')][_0x477d('0x79')]+'\x20selected'+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x244a'))[_0x477d('0xd7c')](_0x5396b6)['ok']('OK')['cancel'](_0x477d('0xd97'));_0x47d9d9[_0x477d('0x395')](_0x305c05)[_0x477d('0x76')](function(){_0x4ae76b['selectedTriggers'][_0x477d('0x3b1')](function(_0x4892f1){_0x2fee78(_0x4892f1);});_0x4ae76b[_0x477d('0x2432')]=[];});}function _0xbc5e7f(){_0x4ae76b[_0x477d('0x2432')]=[];}function _0xfe9f7b(){_0x4ae76b[_0x477d('0x2432')]=_0x4ae76b[_0x477d('0x233a')][_0x477d('0xf2')];}}}());(function(){'use strict';_0x462ac5['$inject']=[_0x477d('0x474'),'$state',_0x477d('0xd64'),_0x477d('0x384'),'$q',_0x477d('0x40d'),_0x477d('0x40e'),_0x477d('0xf2e'),_0x477d('0xaa8'),'api','Auth',_0x477d('0x613'),_0x477d('0xc8e'),_0x477d('0xd66')];angular[_0x477d('0xb')]('app.tools')[_0x477d('0x3ba')]('CreateOrEditTrunkDialogController',_0x462ac5);function _0x462ac5(_0x34af92,_0x2361bf,_0x1f8bf4,_0x20d53f,_0x33301c,_0x719b96,_0x1ae36d,_0x4a4293,_0x13d2ab,_0x52a427,_0x3f04b3,_0x16b515,_0x15464d,_0x273999){var _0x2980fb=this;_0x2980fb[_0x477d('0x3e5')]=_0x3f04b3[_0x477d('0x5c')]();_0x2980fb[_0x477d('0xd67')]=[];_0x2980fb['setting']=_0x15464d;_0x2980fb[_0x477d('0x613')]=_0x16b515;_0x2980fb[_0x477d('0xd66')]=_0x273999;_0x2980fb[_0x477d('0xd68')]={};_0x2980fb[_0x477d('0xd69')]=_0x2980fb[_0x477d('0xc8e')]&&_0x2980fb[_0x477d('0xc8e')]['securePassword']?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x2980fb[_0x477d('0x49a')]=_0x477d('0x244b');_0x2980fb['trunk']=angular[_0x477d('0x6d9')](_0x13d2ab);_0x2980fb[_0x477d('0xf2e')]=_0x4a4293;_0x2980fb[_0x477d('0x244c')]=![];if(!_0x2980fb['trunk']){_0x2980fb[_0x477d('0xaa8')]={'active':!![],'type':'friend','dtmfmode':_0x477d('0x244d'),'qualify':_0x477d('0xf6b'),'t38pt_udptl':'no'};_0x2980fb[_0x477d('0x49a')]='TOOLS.NEW_TRUNK';_0x2980fb['newTrunk']=!![];}_0x2980fb[_0x477d('0x244e')]=_0x51a503;_0x2980fb[_0x477d('0x244f')]=_0x34cc4f;_0x2980fb[_0x477d('0x2450')]=_0xaf5fc3;_0x2980fb[_0x477d('0xd6f')]=_0x219e5d;_0x2980fb['closeDialog']=_0x55c5a8;function _0x51a503(){_0x2980fb[_0x477d('0xd67')]=[];_0x52a427[_0x477d('0xaa8')][_0x477d('0xd70')](_0x2980fb[_0x477d('0xaa8')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x4aba3e){_0x2980fb[_0x477d('0xf2e')][_0x477d('0x63b')](_0x4aba3e[_0x477d('0xd71')]());_0x1ae36d[_0x477d('0x485')]({'title':_0x477d('0x2451'),'msg':_0x2980fb[_0x477d('0xaa8')][_0x477d('0x94')]?_0x2980fb['trunk'][_0x477d('0x94')]+_0x477d('0xd73'):''});_0x55c5a8(_0x4aba3e);})[_0x477d('0xf8')](function(_0x21b395){if(_0x21b395[_0x477d('0x451')]&&_0x21b395[_0x477d('0x451')]['errors']&&_0x21b395[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x2980fb['errors']=_0x21b395['data']['errors']||[{'message':_0x21b395[_0x477d('0x453')](),'type':_0x477d('0x2452')}];for(var _0x58e719=0x0;_0x58e719<_0x21b395[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x58e719+=0x1){_0x1ae36d[_0x477d('0x44a')]({'title':_0x21b395['data'][_0x477d('0xd67')][_0x58e719]['type'],'msg':_0x21b395['data'][_0x477d('0xd67')][_0x58e719][_0x477d('0x452')]});}}else{_0x1ae36d['error']({'title':_0x21b395[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x21b395[_0x477d('0x3c3')]+'\x20-\x20'+_0x21b395[_0x477d('0x44d')]:_0x477d('0x2452'),'msg':_0x21b395['data']?JSON[_0x477d('0x3fb')](_0x21b395['data'][_0x477d('0x452')]):_0x21b395[_0x477d('0x453')]()});}});}function _0x34cc4f(){_0x2980fb[_0x477d('0xd67')]=[];_0x52a427[_0x477d('0xaa8')]['update']({'id':_0x2980fb[_0x477d('0xaa8')]['id']},_0x2980fb['trunk'])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x4be7a9){var _0x5007c4=_[_0x477d('0x10a')](_0x2980fb[_0x477d('0xf2e')],{'id':_0x4be7a9['id']});if(_0x5007c4){_[_0x477d('0xef')](_0x5007c4,_[_0x477d('0x10b')](_0x4be7a9[_0x477d('0xd71')](),_[_0x477d('0x7f')](_0x5007c4)));}_0x1ae36d[_0x477d('0x485')]({'title':_0x477d('0x2453'),'msg':_0x2980fb['trunk'][_0x477d('0x94')]?_0x2980fb[_0x477d('0xaa8')][_0x477d('0x94')]+_0x477d('0xd76'):''});_0x55c5a8(_0x4be7a9);})[_0x477d('0xf8')](function(_0x3aa50){if(_0x3aa50[_0x477d('0x451')]&&_0x3aa50[_0x477d('0x451')][_0x477d('0xd67')]&&_0x3aa50[_0x477d('0x451')][_0x477d('0xd67')]['length']){_0x2980fb[_0x477d('0xd67')]=_0x3aa50[_0x477d('0x451')]['errors']||[{'message':_0x3aa50[_0x477d('0x453')](),'type':_0x477d('0x2454')}];for(var _0x4ea4c1=0x0;_0x4ea4c1<_0x3aa50[_0x477d('0x451')]['errors'][_0x477d('0x79')];_0x4ea4c1++){_0x1ae36d[_0x477d('0x44a')]({'title':_0x3aa50[_0x477d('0x451')][_0x477d('0xd67')][_0x4ea4c1][_0x477d('0x439')],'msg':_0x3aa50[_0x477d('0x451')]['errors'][_0x4ea4c1][_0x477d('0x452')]});}}else{_0x1ae36d[_0x477d('0x44a')]({'title':_0x3aa50[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x3aa50[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x3aa50[_0x477d('0x44d')]:_0x477d('0x2454'),'msg':_0x3aa50[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x3aa50[_0x477d('0x451')]['message']):_0x3aa50[_0x477d('0x453')]()});}});}function _0xaf5fc3(_0x231451){_0x2980fb[_0x477d('0xd67')]=[];var _0x445824=_0x20d53f[_0x477d('0xd78')]()['title'](_0x477d('0xd79'))['content'](_0x477d('0x2455'))[_0x477d('0x687')](_0x477d('0x2456'))['ok']('Delete')['cancel'](_0x477d('0x688'))[_0x477d('0xd7c')](_0x231451);_0x20d53f[_0x477d('0x395')](_0x445824)[_0x477d('0x76')](function(){_0x52a427[_0x477d('0xaa8')][_0x477d('0xa55')]({'id':_0x2980fb[_0x477d('0xaa8')]['id']})[_0x477d('0x38b')]['then'](function(){_[_0x477d('0x39c')](_0x2980fb['trunks'],{'id':_0x2980fb[_0x477d('0xaa8')]['id']});_0x1ae36d['success']({'title':_0x477d('0x2457'),'msg':(_0x2980fb[_0x477d('0xaa8')][_0x477d('0x94')]||_0x477d('0xaa8'))+'\x20has\x20been\x20deleted!'});_0x55c5a8(_0x2980fb[_0x477d('0xaa8')]);})[_0x477d('0xf8')](function(_0x457c55){if(_0x457c55[_0x477d('0x451')]&&_0x457c55[_0x477d('0x451')][_0x477d('0xd67')]&&_0x457c55['data'][_0x477d('0xd67')][_0x477d('0x79')]){_0x2980fb[_0x477d('0xd67')]=_0x457c55[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x457c55[_0x477d('0x453')](),'type':_0x477d('0x2458')}];for(var _0x102980=0x0;_0x102980<_0x457c55[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x102980++){_0x1ae36d[_0x477d('0x44a')]({'title':_0x457c55['data'][_0x477d('0xd67')][_0x102980][_0x477d('0x439')],'msg':_0x457c55['data'][_0x477d('0xd67')][_0x102980]['message']});}}else{_0x1ae36d[_0x477d('0x44a')]({'title':_0x457c55['status']?'API:'+_0x457c55[_0x477d('0x3c3')]+'\x20-\x20'+_0x457c55['statusText']:_0x477d('0x2458'),'msg':_0x457c55[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x457c55['data'][_0x477d('0x452')]):_0x457c55[_0x477d('0x452')]||_0x457c55[_0x477d('0x453')]()});}});},function(){});}function _0x219e5d(_0x31f6ab){return _0x31f6ab===null?undefined:new Date(_0x31f6ab);}function _0x55c5a8(_0x1fa509){_0x20d53f[_0x477d('0x3bc')](_0x1fa509);}}}());(function(){'use strict';_0x5be9cc[_0x477d('0xa')]=[_0x477d('0x384'),_0x477d('0x3c4'),_0x477d('0x40e'),'api',_0x477d('0xaa8'),_0x477d('0xf2e'),'$translate'];angular[_0x477d('0xb')](_0x477d('0x35'))[_0x477d('0x3ba')](_0x477d('0x2459'),_0x5be9cc);function _0x5be9cc(_0x4b499a,_0x4cd94c,_0x438dfa,_0x2bcc6c,_0x36713a,_0x143dcb,_0x2bd788){var _0x2043e1=this;_0x2043e1[_0x477d('0x244c')]=!![];_0x2043e1[_0x477d('0xaa8')]=angular[_0x477d('0x6d9')](_0x36713a);_0x2043e1[_0x477d('0xf2e')]=_0x143dcb;_0x2043e1['title']=_0x2bd788[_0x477d('0x45f')]('TOOLS.CLONE_TRUNK');if(_0x36713a&&_0x36713a['name']){_0x2043e1[_0x477d('0x49a')]+=':\x20'+_0x36713a[_0x477d('0x94')];}_0x2043e1[_0x477d('0x245a')]=_0xdea27d;_0x2043e1[_0x477d('0x6bf')]=_0x35d844;function _0xdea27d(){return _0x2bcc6c[_0x477d('0xaa8')][_0x477d('0x117f')]({'id':_0x36713a['id']},_0x2043e1[_0x477d('0xaa8')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x3f10a1){_0x2043e1[_0x477d('0xf2e')]['unshift'](_0x3f10a1[_0x477d('0xd71')]());_0x438dfa[_0x477d('0x485')]({'title':_0x477d('0x245b'),'msg':_0x2043e1[_0x477d('0xaa8')][_0x477d('0x94')]?_0x2043e1[_0x477d('0xaa8')][_0x477d('0x94')]+_0x477d('0x1da3'):''});_0x4cd94c['go'](_0x477d('0x2dd'),{'id':_0x3f10a1['id']});_0x35d844(_0x3f10a1);})[_0x477d('0xf8')](function(_0xa1a9ca){if(_0xa1a9ca['data']&&_0xa1a9ca[_0x477d('0x451')][_0x477d('0xd67')]&&_0xa1a9ca[_0x477d('0x451')][_0x477d('0xd67')]['length']){_0x2043e1[_0x477d('0xd67')]=_0xa1a9ca[_0x477d('0x451')]['errors']||[{'message':_0xa1a9ca[_0x477d('0x453')](),'type':_0x477d('0x245c')}];for(var _0x57a9ca=0x0;_0x57a9ca<_0xa1a9ca[_0x477d('0x451')]['errors'][_0x477d('0x79')];_0x57a9ca+=0x1){_0x438dfa[_0x477d('0x44a')]({'title':_0xa1a9ca[_0x477d('0x451')][_0x477d('0xd67')][_0x57a9ca]['type'],'msg':_0xa1a9ca[_0x477d('0x451')][_0x477d('0xd67')][_0x57a9ca][_0x477d('0x452')]});}}else{_0x438dfa[_0x477d('0x44a')]({'title':_0xa1a9ca[_0x477d('0x3c3')]?_0x477d('0x44b')+_0xa1a9ca[_0x477d('0x3c3')]+'\x20-\x20'+_0xa1a9ca[_0x477d('0x44d')]:_0x477d('0x245c'),'msg':_0xa1a9ca[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0xa1a9ca[_0x477d('0x451')][_0x477d('0x452')]):_0xa1a9ca[_0x477d('0x453')]()});}});}function _0x35d844(_0x2d2e9a){_0x4b499a[_0x477d('0x3bc')](_0x2d2e9a);}}}());(function(){'use strict';_0x4417e3[_0x477d('0xa')]=[_0x477d('0x3c4'),_0x477d('0xd64'),_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x40d'),_0x477d('0x613'),'setting',_0x477d('0x386'),_0x477d('0x40e'),_0x477d('0x55'),'trunk',_0x477d('0x3ac')];angular[_0x477d('0xb')](_0x477d('0x35'))[_0x477d('0x3ba')](_0x477d('0x245d'),_0x4417e3);function _0x4417e3(_0x27d1d4,_0x3444ff,_0x16b4aa,_0x281ea1,_0x171632,_0xbd17dd,_0xe6ccf4,_0x1d1a90,_0x4e671d,_0x3192db,_0x570564,_0x5a277c){var _0x5abda3=this;_0x5abda3[_0x477d('0x3e5')]=_0x3192db[_0x477d('0x5c')]();_0x5abda3[_0x477d('0x613')]=_0xbd17dd;_0x5abda3[_0x477d('0xc8e')]=_0xe6ccf4;_0x5abda3[_0x477d('0xd69')]=_0x5abda3['setting'][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x5abda3['location']=_0x3444ff[_0x477d('0x3ce')]()+_0x477d('0x1209')+_0x3444ff[_0x477d('0x3c9')]();_0x5abda3[_0x477d('0xaa8')]=_0x570564||_0x27d1d4['params'][_0x477d('0xaa8')]||{};_0x5abda3[_0x477d('0x3ac')]=_0x5a277c&&_0x5a277c['count']==0x1?_0x5a277c[_0x477d('0xf2')][0x0]:null;_0x5abda3[_0x477d('0xd66')]=_0x3192db[_0x477d('0xd81')](_0x5abda3['userProfileSection']?_0x5abda3['userProfileSection'][_0x477d('0xd66')]:null);_0x5abda3[_0x477d('0xd68')]={};_0x5abda3[_0x477d('0xe95')]=_0x27d1d4[_0x477d('0x37e')][_0x477d('0xe96')]||0x0;_0x5abda3['gotogoto']=_0x32a6dc;_0x5abda3[_0x477d('0x1c67')]=_0x49629c;_0x5abda3[_0x477d('0x120a')]=_0x4e671d[_0x477d('0x669')];_0x5abda3[_0x477d('0x245e')]=_0x42c571;_0x5abda3[_0x477d('0x244f')]=_0x415d0f;_0x3192db['hasRole'](_0x477d('0x5f'))?_0x1d1a90[_0x477d('0xa6b')][_0x477d('0x376')]({'fields':'id,name','sort':_0x477d('0x94')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x3b15d3){_0x5abda3[_0x477d('0xf32')]=_0x3b15d3['rows']||[];})[_0x477d('0xf8')](function(_0x89e9f6){_0x4e671d[_0x477d('0x44a')]({'title':_0x89e9f6[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x89e9f6[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x89e9f6[_0x477d('0x44d')]:_0x477d('0x212b'),'msg':_0x89e9f6['data']?JSON[_0x477d('0x3fb')](_0x89e9f6[_0x477d('0x451')]):_0x89e9f6[_0x477d('0x453')]()});}):_0x1d1a90[_0x477d('0xa6b')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':'name'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x22c23d){_0x5abda3[_0x477d('0xf32')]=_0x22c23d[_0x477d('0xf2')]||[];})['then'](function(){return _0x1d1a90[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x5abda3[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x195})[_0x477d('0x38b')];})['then'](function(_0x209190){var _0xc11ad5=_0x209190&&_0x209190[_0x477d('0xf2')]?_0x209190[_0x477d('0xf2')][0x0]:null;if(!_0xc11ad5){return _0x1d1a90['voiceContext'][_0x477d('0x376')]({'fields':'id,name','sort':_0x477d('0x94'),'defaultEntry':0x1})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x1db06b){_0x5abda3[_0x477d('0xf32')]=_0x1db06b[_0x477d('0xf2')]||[];});}else{if(!_0xc11ad5['autoAssociation']){return _0x1d1a90['userProfileResource'][_0x477d('0x376')]({'sectionId':_0xc11ad5['id']})['$promise'][_0x477d('0x76')](function(_0x37693a){var _0x203171=_['map'](_0x37693a[_0x477d('0xf2')],function(_0x4a47c1){return _[_0x477d('0x10a')](_0x5abda3[_0x477d('0xf32')],{'id':_0x4a47c1[_0x477d('0x3af')]});});var _0xf5277a=null;if(_0x5abda3[_0x477d('0xaa8')]){_0xf5277a=_[_0x477d('0x10a')](_0x5abda3['contexts'],{'name':_0x5abda3[_0x477d('0xaa8')]['context']});}if(_0xf5277a&&!_['some'](_0x203171,['id',_0xf5277a['id']])){var _0xd90405=_[_0x477d('0x10a')](_0x5abda3[_0x477d('0xf32')],{'id':_0xf5277a['id']});_0xd90405[_0x477d('0xf8b')]=![];_0x203171[_0x477d('0x3a7')](_0xd90405);}_0x5abda3[_0x477d('0xf32')]=_0x203171;});}}})[_0x477d('0xf8')](function(_0x3c22b4){_0x4e671d[_0x477d('0x44a')]({'title':_0x3c22b4[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x3c22b4['status']+_0x477d('0x44c')+_0x3c22b4[_0x477d('0x44d')]:_0x477d('0x215b'),'msg':_0x3c22b4[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x3c22b4[_0x477d('0x451')]):_0x3c22b4['toString']()});});function _0x32a6dc(_0x5eaec9,_0x5a2225){if(_0x3192db[_0x477d('0x56')](_0x477d('0x5f'))){_0x27d1d4['go'](_0x477d('0x2f7'),{});}else{return _0x1d1a90[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x3192db[_0x477d('0x5c')]()['userProfileId'],'sectionId':0x19b})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x60f746){var _0x104e0f=_0x60f746&&_0x60f746[_0x477d('0xf2')]?_0x60f746[_0x477d('0xf2')][0x0]:null;if(_0x104e0f&&_0x104e0f[_0x477d('0x3b4')]){_0x27d1d4['go'](_0x477d('0x2f7'),{});}else{_0x4e671d[_0x477d('0x669')]({'title':_0x171632[_0x477d('0x45f')]('STAFF.PERMISSIONS_UNAUTHORIZED_REDIRECT_TITLE'),'msg':_0x171632['instant'](_0x477d('0x142f'))});}})['catch'](function(_0x4df53a){_0x4e671d[_0x477d('0x44a')]({'title':_0x4df53a[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x4df53a['status']+_0x477d('0x44c')+_0x4df53a[_0x477d('0x44d')]:_0x477d('0x11df'),'msg':_0x4df53a[_0x477d('0x3c3')]?JSON[_0x477d('0x3fb')](_0x4df53a['data']):_0x4df53a[_0x477d('0x453')]()});});}}function _0x49629c(_0x5d4780,_0x555495){_0x16b4aa[_0x477d('0x395')]({'controller':_0x477d('0x2459'),'controllerAs':'vm','templateUrl':_0x477d('0x245f'),'parent':angular['element'](_0x281ea1[_0x477d('0x399')]),'targetEvent':_0x555495,'clickOutsideToClose':!![],'locals':{'trunk':_0x5d4780,'trunks':_0x5abda3[_0x477d('0xf2e')]?_0x5abda3[_0x477d('0xf2e')]['rows']:[],'crudPermissions':_0x5abda3[_0x477d('0xd66')]}});}function _0x42c571(){_0x27d1d4['go'](_0x477d('0x2d9'),{},{'reload':_0x477d('0x2d9')});}function _0x415d0f(){_0x1d1a90[_0x477d('0xaa8')][_0x477d('0x710')]({'id':_0x5abda3[_0x477d('0xaa8')]['id']},_0x5abda3[_0x477d('0xaa8')])[_0x477d('0x38b')][_0x477d('0x76')](function(){_0x4e671d[_0x477d('0x485')]({'title':_0x477d('0x2460'),'msg':_0x5abda3['trunk']['name']?_0x5abda3[_0x477d('0xaa8')][_0x477d('0x94')]+_0x477d('0xed7'):''});})[_0x477d('0xf8')](function(_0xaa0ef){_0x4e671d[_0x477d('0x44a')]({'title':_0xaa0ef[_0x477d('0x3c3')]?'API:'+_0xaa0ef[_0x477d('0x3c3')]+_0x477d('0x44c')+_0xaa0ef[_0x477d('0x44d')]:_0x477d('0x2461'),'msg':_0xaa0ef['data']?JSON[_0x477d('0x3fb')](_0xaa0ef[_0x477d('0x451')]):_0xaa0ef['toString']()});});}}}());(function(){'use strict';_0x28e9aa[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x387'),'$state',_0x477d('0x554'),_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x3fe'),_0x477d('0x40d'),_0x477d('0xf2e'),_0x477d('0x3a5'),_0x477d('0x3ac'),_0x477d('0x386'),_0x477d('0x342'),_0x477d('0x40e'),'Auth',_0x477d('0x613'),_0x477d('0xc8e')];angular[_0x477d('0xb')](_0x477d('0x35'))['controller'](_0x477d('0x2462'),_0x28e9aa);function _0x28e9aa(_0x3d53bd,_0x5f2b71,_0x4d96be,_0x219c7f,_0x57d449,_0x5c6746,_0x33ec5b,_0x4e5fa7,_0x3a79ea,_0x53e7ca,_0x44633c,_0x20d3c3,_0xbe2570,_0x40214b,_0x5c8f5d,_0x4c4985,_0x5e9865){var _0x4973ba=this;_0x4973ba[_0x477d('0x613')]=_0x4c4985;_0x4973ba[_0x477d('0xc8e')]=_0x5e9865;_0x4973ba[_0x477d('0x3e5')]=_0x5c8f5d['getCurrentUser']();_0x4973ba[_0x477d('0xf2e')]=_0x3a79ea||{'count':0x0,'rows':[]};_0x4973ba[_0x477d('0x3a5')]=_0x53e7ca;_0x4973ba[_0x477d('0x3ac')]=_0x44633c&&_0x44633c['count']==0x1?_0x44633c['rows'][0x0]:null;_0x4973ba['crudPermissions']=_0x5c8f5d[_0x477d('0xd81')](_0x4973ba[_0x477d('0x3ac')]?_0x4973ba[_0x477d('0x3ac')][_0x477d('0xd66')]:null);_0x4973ba[_0x477d('0xd82')]=_0x477d('0xf2e');_0x4973ba[_0x477d('0xd83')]='';_0x4973ba[_0x477d('0xd84')]=null;_0x4973ba[_0x477d('0x2463')]=[];_0x4973ba[_0x477d('0x3ef')]={'fields':_0x477d('0x2dc'),'sort':_0x477d('0x59'),'limit':0xa,'page':0x1};_0x4973ba[_0x477d('0x138b')]=_['keyBy']([{'option':_0x477d('0x2464'),'value':_0x477d('0x20ea')},{'option':_0x477d('0x167b'),'value':'\x27user\x27'},{'option':_0x477d('0x20ec'),'value':_0x477d('0x2465')}],function(_0x46c450){return _[_0x477d('0x409')](_0x46c450['value'],new RegExp('\x27','g'),'');});_0x4973ba[_0x477d('0x2466')]=_[_0x477d('0xdb5')]([{'option':_0x477d('0x244d'),'value':_0x477d('0x2467')},{'option':_0x477d('0x669'),'value':_0x477d('0x2468')},{'option':_0x477d('0x2469'),'value':_0x477d('0x246a')},{'option':_0x477d('0x246b'),'value':'\x27inband\x27'},{'option':_0x477d('0x593'),'value':_0x477d('0x246c')}],function(_0xb35ea2){return _[_0x477d('0x409')](_0xb35ea2[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x4973ba[_0x477d('0x2160')]=_[_0x477d('0xdb5')]([{'option':'force_rport','value':'\x27force_rport\x27'},{'option':_0x477d('0x20e7'),'value':'\x27comedia\x27'},{'option':'yes','value':_0x477d('0x1e91')},{'option':'no','value':_0x477d('0x1271')},{'option':_0x477d('0x1e0a'),'value':_0x477d('0x1d52')},{'option':_0x477d('0x442'),'value':'\x27route\x27'}],function(_0x18f3a9){return _[_0x477d('0x409')](_0x18f3a9['value'],new RegExp('\x27','g'),'');});_0x4973ba['arrayqualify']=_[_0x477d('0xdb5')]([{'option':_0x477d('0xf6b'),'value':_0x477d('0x1e91')},{'option':'no','value':_0x477d('0x1271')}],function(_0x262016){return _['replace'](_0x262016['value'],new RegExp('\x27','g'),'');});_0x4973ba['arrayallow']=_[_0x477d('0xdb5')]([{'option':_0x477d('0x2161'),'value':_0x477d('0x20ee')},{'option':_0x477d('0x2162'),'value':'\x27alaw\x27'},{'option':_0x477d('0xf77'),'value':_0x477d('0x1e96')},{'option':_0x477d('0x246d'),'value':_0x477d('0x246e')},{'option':'g726','value':_0x477d('0x246f')},{'option':_0x477d('0x2163'),'value':_0x477d('0x20f0')},{'option':_0x477d('0x20f1'),'value':_0x477d('0x2164')},{'option':_0x477d('0x2470'),'value':_0x477d('0x2471')},{'option':_0x477d('0x20f2'),'value':_0x477d('0x20f3')},{'option':_0x477d('0x20f4'),'value':_0x477d('0x20f5')}],function(_0x267ee8){return _[_0x477d('0x409')](_0x267ee8[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x4973ba[_0x477d('0x2472')]=_['keyBy']([{'option':_0x477d('0x3cf'),'value':_0x477d('0x2473')},{'option':_0x477d('0x5c3'),'value':_0x477d('0x2474')},{'option':_0x477d('0x2475'),'value':'\x27very\x27'}],function(_0x57a6dc){return _[_0x477d('0x409')](_0x57a6dc[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x4973ba['arraydirectmedia']=_[_0x477d('0xdb5')]([{'option':_0x477d('0xf6b'),'value':'\x27yes\x27'},{'option':'no','value':_0x477d('0x1271')},{'option':'nonat','value':_0x477d('0x2476')},{'option':'update','value':_0x477d('0x2477')}],function(_0x88cee3){return _[_0x477d('0x409')](_0x88cee3[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x4973ba[_0x477d('0x2478')]=_[_0x477d('0xdb5')]([{'option':_0x477d('0xf6b'),'value':'\x27yes\x27'},{'option':'no','value':_0x477d('0x1271')}],function(_0x55800c){return _['replace'](_0x55800c[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x4973ba['arrayusereqphone']=_[_0x477d('0xdb5')]([{'option':_0x477d('0xf6b'),'value':'\x27yes\x27'},{'option':'no','value':_0x477d('0x1271')}],function(_0x56821e){return _[_0x477d('0x409')](_0x56821e['value'],new RegExp('\x27','g'),'');});_0x4973ba[_0x477d('0x2479')]=_[_0x477d('0xdb5')]([{'option':_0x477d('0xf6b'),'value':_0x477d('0x1e91')},{'option':'no','value':'\x27no\x27'}],function(_0x43ea0f){return _[_0x477d('0x409')](_0x43ea0f[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x4973ba[_0x477d('0x247a')]=_[_0x477d('0xdb5')]([{'option':'yes','value':_0x477d('0x1e91')},{'option':'no','value':_0x477d('0x1271')},{'option':_0x477d('0x247b'),'value':_0x477d('0x247c')}],function(_0x1f737c){return _[_0x477d('0x409')](_0x1f737c[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x4973ba['arrayencryption']=_[_0x477d('0xdb5')]([{'option':_0x477d('0xf6b'),'value':_0x477d('0x1e91')},{'option':'no','value':'\x27no\x27'}],function(_0x32e9ee){return _[_0x477d('0x409')](_0x32e9ee[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x4973ba[_0x477d('0x20dd')]=_[_0x477d('0xdb5')]([{'option':_0x477d('0x20de'),'value':_0x477d('0x20df')},{'option':_0x477d('0x20e0'),'value':_0x477d('0x2208')},{'option':'ws','value':_0x477d('0x20e1')},{'option':_0x477d('0x20e2'),'value':'\x27wss\x27'},{'option':_0x477d('0x20e5'),'value':_0x477d('0x215f')}],function(_0x416cf2){return _[_0x477d('0x409')](_0x416cf2[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x4973ba[_0x477d('0x2165')]=_[_0x477d('0xdb5')]([{'option':_0x477d('0xf6c'),'value':_0x477d('0x1e91')},{'option':'No','value':'\x27no\x27'},{'option':_0x477d('0x1d4d'),'value':'\x27always\x27'}],function(_0x1301f7){return _[_0x477d('0x409')](_0x1301f7[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x4973ba[_0x477d('0xea6')]=_0x5f0211;_0x4973ba[_0x477d('0x1c67')]=_0x38f1c6;_0x4973ba[_0x477d('0x11d5')]=_0x281a32;_0x4973ba[_0x477d('0xd88')]=_0x259c59;_0x4973ba['success']=_0x1c4a10;_0x4973ba[_0x477d('0x19bb')]=_0x49aa85;_0x4973ba['createOrEditTrunk']=_0x326693;_0x4973ba[_0x477d('0x2450')]=_0x3e1858;_0x4973ba[_0x477d('0x247d')]=_0x3ffc14;_0x4973ba[_0x477d('0x247e')]=_0x2948a9;_0x4973ba[_0x477d('0x247f')]=_0x92bbb9;_0x4973ba[_0x477d('0x2480')]=_0x29d4fb;function _0x5f0211(_0x5e92dc,_0x5b08a5){_0x4d96be['go'](_0x477d('0x2dd'),{'id':_0x5e92dc['id'],'trunk':_0x5e92dc,'crudPermissions':_0x4973ba['crudPermissions']});}function _0x38f1c6(_0x38f06d,_0x59277d){_0x57d449['show']({'controller':'TrunkcloneController','controllerAs':'vm','templateUrl':_0x477d('0x245f'),'parent':angular[_0x477d('0x398')](_0x5c6746[_0x477d('0x399')]),'targetEvent':_0x59277d,'clickOutsideToClose':!![],'locals':{'trunk':_0x38f06d,'trunks':_0x4973ba['trunks']?_0x4973ba[_0x477d('0xf2e')][_0x477d('0xf2')]:[],'crudPermissions':_0x4973ba[_0x477d('0xd66')]}});}function _0x281a32(_0x579d6b,_0x5bbd60){if(_0x5c8f5d[_0x477d('0x56')]('admin')){_0x4d96be['go'](_0x477d('0x2f7'),{});}else{return _0x20d3c3[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x5c8f5d['getCurrentUser']()[_0x477d('0x61')],'sectionId':0x19b})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x17fe00){var _0xb35653=_0x17fe00&&_0x17fe00[_0x477d('0xf2')]?_0x17fe00[_0x477d('0xf2')][0x0]:null;if(_0xb35653&&_0xb35653[_0x477d('0x3b4')]){_0x4d96be['go'](_0x477d('0x2f7'),{});}else{_0x40214b['info']({'title':_0x4e5fa7[_0x477d('0x45f')]('STAFF.PERMISSIONS_UNAUTHORIZED_REDIRECT_TITLE'),'msg':_0x4e5fa7[_0x477d('0x45f')](_0x477d('0x142f'))});}})[_0x477d('0xf8')](function(_0xb64a52){_0x40214b[_0x477d('0x44a')]({'title':_0xb64a52['status']?_0x477d('0x44b')+_0xb64a52[_0x477d('0x3c3')]+_0x477d('0x44c')+_0xb64a52[_0x477d('0x44d')]:_0x477d('0x11df'),'msg':_0xb64a52[_0x477d('0x3c3')]?JSON[_0x477d('0x3fb')](_0xb64a52[_0x477d('0x451')]):_0xb64a52[_0x477d('0x453')]()});});}}function _0x259c59(_0x734aec,_0x23ccd5){var _0x5827f3=_0x57d449[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xd90')+_[_0x477d('0xd91')](_0x477d('0xaa8'))+'?')[_0x477d('0xd92')](''+(_0x734aec[_0x477d('0x94')]||_0x477d('0xaa8'))+_0x477d('0xd94')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x2481'))['targetEvent'](_0x23ccd5)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x57d449[_0x477d('0x395')](_0x5827f3)['then'](function(){_0x3e1858(_0x734aec);},function(){console[_0x477d('0x7b')](_0x477d('0xd97'));});}var _0x50e5e4=!![];var _0x27afc6=0x1;_0x3d53bd['$watch']('vm.query.filter',function(_0x4ee945,_0x26ada5){if(_0x50e5e4){_0x33ec5b(function(){_0x50e5e4=![];});}else{if(!_0x26ada5){_0x27afc6=_0x4973ba[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x4ee945!==_0x26ada5){_0x4973ba[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0x4ee945){_0x4973ba[_0x477d('0x3ef')][_0x477d('0xe03')]=_0x27afc6;}_0x4973ba[_0x477d('0x19bb')]();}});function _0x1c4a10(_0x32e586){_0x4973ba[_0x477d('0xf2e')]=_0x32e586||{'count':0x0,'rows':[]};}function _0x49aa85(){_0x4973ba[_0x477d('0x3ef')][_0x477d('0x91c')]=(_0x4973ba['query'][_0x477d('0xe03')]-0x1)*_0x4973ba[_0x477d('0x3ef')][_0x477d('0x91d')];if(_0x5c8f5d[_0x477d('0x56')](_0x477d('0x5f'))){_0x4973ba[_0x477d('0x553')]=_0x20d3c3[_0x477d('0xaa8')][_0x477d('0x376')](_0x4973ba[_0x477d('0x3ef')],_0x1c4a10)[_0x477d('0x38b')];}else{_0x4973ba[_0x477d('0x3ef')]['id']=_0x4973ba[_0x477d('0x3a5')]['id'];_0x4973ba[_0x477d('0x3ef')][_0x477d('0xd99')]=_0x477d('0x2fa');_0x4973ba[_0x477d('0x553')]=_0x20d3c3[_0x477d('0x3a5')][_0x477d('0xd9a')](_0x4973ba[_0x477d('0x3ef')],_0x1c4a10)[_0x477d('0x38b')];}}function _0x326693(_0x219486,_0x3ae438){_0x57d449[_0x477d('0x395')]({'controller':_0x477d('0x2482'),'controllerAs':'vm','templateUrl':_0x477d('0x2483'),'parent':angular[_0x477d('0x398')](_0x5c6746[_0x477d('0x399')]),'targetEvent':_0x219486,'clickOutsideToClose':!![],'locals':{'trunk':_0x3ae438,'trunks':_0x4973ba[_0x477d('0xf2e')][_0x477d('0xf2')],'license':_0x4973ba['license'],'setting':_0x4973ba['setting'],'crudPermissions':_0x4973ba[_0x477d('0xd66')]}});}function _0x3e1858(_0x4fde3c){_0x20d3c3[_0x477d('0xaa8')][_0x477d('0xa55')]({'id':_0x4fde3c['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x4973ba[_0x477d('0xf2e')]['rows'],{'id':_0x4fde3c['id']});_0x4973ba[_0x477d('0xf2e')][_0x477d('0x3bb')]-=0x1;if(!_0x4973ba[_0x477d('0xf2e')][_0x477d('0xf2')]['length']){_0x4973ba[_0x477d('0x19bb')]();}_0x40214b['success']({'title':_[_0x477d('0xd91')](_0x477d('0x1409'))+_0x477d('0xd9d'),'msg':_0x4fde3c[_0x477d('0x94')]?_0x4fde3c[_0x477d('0x94')]+_0x477d('0xd7e'):''});})['catch'](function(_0x3fd38c){if(_0x3fd38c[_0x477d('0x451')]&&_0x3fd38c['data'][_0x477d('0xd67')]&&_0x3fd38c[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x4973ba[_0x477d('0xd67')]=_0x3fd38c['data'][_0x477d('0xd67')]||[{'message':_0x3fd38c[_0x477d('0x453')](),'type':_0x477d('0x2484')}];for(var _0x473173=0x0;_0x473173<_0x3fd38c['data'][_0x477d('0xd67')][_0x477d('0x79')];_0x473173++){_0x40214b[_0x477d('0x44a')]({'title':_0x3fd38c[_0x477d('0x451')][_0x477d('0xd67')][_0x473173][_0x477d('0x439')],'msg':_0x3fd38c['data']['errors'][_0x473173]['message']});}}else{_0x40214b['error']({'title':_0x3fd38c[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x3fd38c[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x3fd38c['statusText']:_0x477d('0x2484'),'msg':_0x3fd38c[_0x477d('0x451')]?JSON['stringify'](_0x3fd38c[_0x477d('0x451')][_0x477d('0x452')]):_0x3fd38c['message']||_0x3fd38c['toString']()});}});}function _0x3ffc14(){var _0x3181b6=angular[_0x477d('0x6d9')](_0x4973ba[_0x477d('0x2463')]);_0x4973ba[_0x477d('0x2463')]=[];return _0x3181b6;}function _0x2948a9(_0x1ef1ef){var _0x1c772b=_0x57d449['confirm']()[_0x477d('0x49a')](_0x477d('0x2485'))[_0x477d('0xd92')](_0x477d('0xd93')+_0x4973ba['selectedTrunks']['length']+_0x477d('0xda0')+_0x477d('0xd95'))['ariaLabel'](_0x477d('0x2486'))[_0x477d('0xd7c')](_0x1ef1ef)['ok']('OK')[_0x477d('0x4f0')]('CANCEL');_0x57d449['show'](_0x1c772b)[_0x477d('0x76')](function(){_0x4973ba[_0x477d('0x2463')][_0x477d('0x3b1')](function(_0x14a446){_0x3e1858(_0x14a446);});_0x4973ba[_0x477d('0x2463')]=[];});}function _0x92bbb9(){_0x4973ba[_0x477d('0x2463')]=[];}function _0x29d4fb(){_0x4973ba[_0x477d('0x2463')]=_0x4973ba[_0x477d('0xf2e')][_0x477d('0xf2')];}}}());(function(){'use strict';_0x2ecc71[_0x477d('0xa')]=['$scope',_0x477d('0x3c4'),_0x477d('0xd64'),_0x477d('0x384'),'$q',_0x477d('0x40d'),_0x477d('0x40e'),_0x477d('0xf31'),_0x477d('0xbb9'),_0x477d('0x386'),_0x477d('0x55'),_0x477d('0x613'),'setting','crudPermissions'];angular[_0x477d('0xb')](_0x477d('0x35'))['controller'](_0x477d('0x119b'),_0x2ecc71);function _0x2ecc71(_0x5b6a78,_0x1ea8f6,_0x139fbf,_0x37c790,_0x1ac569,_0x23030c,_0x2ce7eb,_0x1006a7,_0xa9ea0a,_0x542f11,_0x1acb1f,_0x31d2ce,_0x5e551f,_0x4f18b1){var _0x298d8e=this;_0x298d8e[_0x477d('0x3e5')]=_0x1acb1f[_0x477d('0x5c')]();_0x298d8e[_0x477d('0xd67')]=[];_0x298d8e[_0x477d('0xc8e')]=_0x5e551f;_0x298d8e[_0x477d('0x613')]=_0x31d2ce;_0x298d8e['crudPermissions']=_0x4f18b1;_0x298d8e[_0x477d('0xd68')]={};_0x298d8e['passwordPattern']=_0x298d8e['setting']&&_0x298d8e[_0x477d('0xc8e')]['securePassword']?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x298d8e[_0x477d('0x49a')]=_0x477d('0x2487');_0x298d8e[_0x477d('0xbb9')]=angular[_0x477d('0x6d9')](_0xa9ea0a);_0x298d8e[_0x477d('0xf31')]=_0x1006a7;_0x298d8e[_0x477d('0x1195')]=![];if(!_0x298d8e['variable']){_0x298d8e[_0x477d('0xbb9')]={};_0x298d8e['title']=_0x477d('0x2488');_0x298d8e['newVariable']=!![];}_0x298d8e['addNewVariable']=_0x1a64e3;_0x298d8e[_0x477d('0x2489')]=_0x5b9964;_0x298d8e['deleteVariable']=_0x59eceb;_0x298d8e[_0x477d('0xd6f')]=_0x5a49da;_0x298d8e[_0x477d('0x6bf')]=_0x638304;function _0x1a64e3(){_0x298d8e[_0x477d('0xd67')]=[];_0x542f11[_0x477d('0xbb9')]['save'](_0x298d8e[_0x477d('0xbb9')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x198c2a){_0x298d8e['variables'][_0x477d('0x63b')](_0x198c2a[_0x477d('0xd71')]());_0x2ce7eb[_0x477d('0x485')]({'title':_0x477d('0x248a'),'msg':_0x298d8e[_0x477d('0xbb9')]['name']?_0x298d8e['variable'][_0x477d('0x94')]+_0x477d('0xd73'):''});_0x638304(_0x198c2a);})['catch'](function(_0xe14650){if(_0xe14650[_0x477d('0x451')]&&_0xe14650[_0x477d('0x451')]['errors']&&_0xe14650['data'][_0x477d('0xd67')][_0x477d('0x79')]){_0x298d8e['errors']=_0xe14650[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0xe14650[_0x477d('0x453')](),'type':_0x477d('0x248b')}];for(var _0x3b9e27=0x0;_0x3b9e27<_0xe14650[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x3b9e27+=0x1){_0x2ce7eb[_0x477d('0x44a')]({'title':_0xe14650['data'][_0x477d('0xd67')][_0x3b9e27][_0x477d('0x439')],'msg':_0xe14650['data'][_0x477d('0xd67')][_0x3b9e27][_0x477d('0x452')]});}}else{_0x2ce7eb[_0x477d('0x44a')]({'title':_0xe14650[_0x477d('0x3c3')]?_0x477d('0x44b')+_0xe14650[_0x477d('0x3c3')]+_0x477d('0x44c')+_0xe14650[_0x477d('0x44d')]:'api.variable.save','msg':_0xe14650[_0x477d('0x451')]?JSON['stringify'](_0xe14650[_0x477d('0x451')]['message']):_0xe14650['toString']()});}});}function _0x5b9964(){_0x298d8e[_0x477d('0xd67')]=[];_0x542f11[_0x477d('0xbb9')][_0x477d('0x710')]({'id':_0x298d8e[_0x477d('0xbb9')]['id']},_0x298d8e['variable'])['$promise'][_0x477d('0x76')](function(_0x41ef78){var _0x1e04ee=_['find'](_0x298d8e[_0x477d('0xf31')],{'id':_0x41ef78['id']});if(_0x1e04ee){_[_0x477d('0xef')](_0x1e04ee,_[_0x477d('0x10b')](_0x41ef78[_0x477d('0xd71')](),_['keys'](_0x1e04ee)));}_0x2ce7eb[_0x477d('0x485')]({'title':_0x477d('0x248c'),'msg':_0x298d8e[_0x477d('0xbb9')][_0x477d('0x94')]?_0x298d8e[_0x477d('0xbb9')]['name']+'\x20has\x20been\x20saved!':''});_0x638304(_0x41ef78);})[_0x477d('0xf8')](function(_0x167459){if(_0x167459[_0x477d('0x451')]&&_0x167459['data']['errors']&&_0x167459[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x298d8e[_0x477d('0xd67')]=_0x167459['data'][_0x477d('0xd67')]||[{'message':_0x167459[_0x477d('0x453')](),'type':'api.variable.update'}];for(var _0x489681=0x0;_0x489681<_0x167459[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x489681++){_0x2ce7eb[_0x477d('0x44a')]({'title':_0x167459[_0x477d('0x451')][_0x477d('0xd67')][_0x489681][_0x477d('0x439')],'msg':_0x167459[_0x477d('0x451')][_0x477d('0xd67')][_0x489681][_0x477d('0x452')]});}}else{_0x2ce7eb[_0x477d('0x44a')]({'title':_0x167459[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x167459[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x167459[_0x477d('0x44d')]:'api.variable.update','msg':_0x167459[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x167459[_0x477d('0x451')][_0x477d('0x452')]):_0x167459[_0x477d('0x453')]()});}});}function _0x59eceb(_0x149565){_0x298d8e[_0x477d('0xd67')]=[];var _0x5e18a2=_0x37c790[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xd79'))[_0x477d('0xdaf')](_0x477d('0x248d'))[_0x477d('0x687')]('Delete\x20Variable')['ok']('Delete')[_0x477d('0x4f0')](_0x477d('0x688'))[_0x477d('0xd7c')](_0x149565);_0x37c790[_0x477d('0x395')](_0x5e18a2)[_0x477d('0x76')](function(){_0x542f11['variable'][_0x477d('0xa55')]({'id':_0x298d8e[_0x477d('0xbb9')]['id']})[_0x477d('0x38b')]['then'](function(){_[_0x477d('0x39c')](_0x298d8e['variables'],{'id':_0x298d8e[_0x477d('0xbb9')]['id']});_0x2ce7eb[_0x477d('0x485')]({'title':_0x477d('0x248e'),'msg':(_0x298d8e['variable']['name']||_0x477d('0xbb9'))+'\x20has\x20been\x20deleted!'});_0x638304(_0x298d8e[_0x477d('0xbb9')]);})[_0x477d('0xf8')](function(_0x1b7d98){if(_0x1b7d98['data']&&_0x1b7d98[_0x477d('0x451')][_0x477d('0xd67')]&&_0x1b7d98['data'][_0x477d('0xd67')][_0x477d('0x79')]){_0x298d8e[_0x477d('0xd67')]=_0x1b7d98[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x1b7d98[_0x477d('0x453')](),'type':_0x477d('0x248f')}];for(var _0x3c2cb8=0x0;_0x3c2cb8<_0x1b7d98[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x3c2cb8++){_0x2ce7eb[_0x477d('0x44a')]({'title':_0x1b7d98[_0x477d('0x451')]['errors'][_0x3c2cb8][_0x477d('0x439')],'msg':_0x1b7d98['data'][_0x477d('0xd67')][_0x3c2cb8][_0x477d('0x452')]});}}else{_0x2ce7eb[_0x477d('0x44a')]({'title':_0x1b7d98[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x1b7d98[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x1b7d98['statusText']:_0x477d('0x248f'),'msg':_0x1b7d98[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x1b7d98[_0x477d('0x451')][_0x477d('0x452')]):_0x1b7d98['message']||_0x1b7d98['toString']()});}});},function(){});}function _0x5a49da(_0x23ef1b){return _0x23ef1b===null?undefined:new Date(_0x23ef1b);}function _0x638304(_0x25ba90){_0x37c790[_0x477d('0x3bc')](_0x25ba90);}}}());(function(){'use strict';_0x411f08['$inject']=['$scope',_0x477d('0x387'),'$state','$mdSidenav',_0x477d('0x384'),_0x477d('0x475'),'$timeout','$translate',_0x477d('0xf31'),_0x477d('0x3a5'),_0x477d('0x3ac'),_0x477d('0x386'),_0x477d('0x342'),'toasty','Auth','license',_0x477d('0xc8e')];angular[_0x477d('0xb')]('app.tools')[_0x477d('0x3ba')](_0x477d('0x2490'),_0x411f08);function _0x411f08(_0x57af4f,_0x3d8713,_0x2f35b1,_0x57c3f9,_0x7a0315,_0x3f49af,_0x3965ec,_0x332724,_0x716b89,_0x264d7a,_0x5bfc27,_0x3eab6e,_0x4d7f89,_0x1a0679,_0xad8c39,_0x39b4c7,_0x17fdbe){var _0x5725e2=this;_0x5725e2['license']=_0x39b4c7;_0x5725e2[_0x477d('0xc8e')]=_0x17fdbe;_0x5725e2[_0x477d('0x3e5')]=_0xad8c39[_0x477d('0x5c')]();_0x5725e2['variables']=_0x716b89||{'count':0x0,'rows':[]};_0x5725e2['userProfile']=_0x264d7a;_0x5725e2[_0x477d('0x3ac')]=_0x5bfc27&&_0x5bfc27[_0x477d('0x3bb')]==0x1?_0x5bfc27[_0x477d('0xf2')][0x0]:null;_0x5725e2[_0x477d('0xd66')]=_0xad8c39[_0x477d('0xd81')](_0x5725e2[_0x477d('0x3ac')]?_0x5725e2['userProfileSection'][_0x477d('0xd66')]:null);_0x5725e2[_0x477d('0xd82')]=_0x477d('0xf31');_0x5725e2[_0x477d('0xd83')]='';_0x5725e2[_0x477d('0xd84')]=null;_0x5725e2[_0x477d('0x2491')]=[];_0x5725e2[_0x477d('0x3ef')]={'fields':_0x477d('0x1e5'),'sort':'-updatedAt','limit':0xa,'page':0x1};_0x5725e2[_0x477d('0xd86')]=_0x2845e0;_0x5725e2[_0x477d('0xd88')]=_0x2ad7fd;_0x5725e2['success']=_0x92d385;_0x5725e2[_0x477d('0x2492')]=_0x259ae4;_0x5725e2[_0x477d('0x2493')]=_0x10a4cd;_0x5725e2[_0x477d('0x2494')]=_0x5c2475;_0x5725e2[_0x477d('0x2495')]=_0x4d5554;_0x5725e2[_0x477d('0x2496')]=_0x22add0;_0x5725e2[_0x477d('0x2497')]=_0x3b13be;_0x5725e2[_0x477d('0x2498')]=_0x326326;function _0x2845e0(_0x1c771e,_0x1ba793){_0x7a0315[_0x477d('0x395')]({'controller':_0x477d('0x119b'),'controllerAs':'vm','templateUrl':'app/main/apps/tools/views/variables/create/dialog.html','parent':angular['element'](_0x3f49af['body']),'targetEvent':_0x1ba793,'clickOutsideToClose':!![],'locals':{'variable':_0x1c771e,'variables':_0x5725e2['variables'][_0x477d('0xf2')],'license':_0x5725e2[_0x477d('0x613')],'setting':null,'crudPermissions':_0x5725e2[_0x477d('0xd66')]}});}function _0x2ad7fd(_0x40e2e4,_0x4163b5){var _0xb7fe3b=_0x7a0315['confirm']()[_0x477d('0x49a')](_0x477d('0xd90')+_[_0x477d('0xd91')]('variable')+'?')['htmlContent'](_0x477d('0xd93')+(_0x40e2e4['name']||_0x477d('0xbb9'))+_0x477d('0xd94')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x2499'))[_0x477d('0xd7c')](_0x4163b5)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x7a0315['show'](_0xb7fe3b)[_0x477d('0x76')](function(){_0x5c2475(_0x40e2e4);},function(){console['log'](_0x477d('0xd97'));});}var _0x390b9d=!![];var _0x2b556d=0x1;_0x57af4f['$watch']('vm.query.filter',function(_0x2d3d2f,_0x3f6d0d){if(_0x390b9d){_0x3965ec(function(){_0x390b9d=![];});}else{if(!_0x3f6d0d){_0x2b556d=_0x5725e2[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x2d3d2f!==_0x3f6d0d){_0x5725e2[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0x2d3d2f){_0x5725e2[_0x477d('0x3ef')][_0x477d('0xe03')]=_0x2b556d;}_0x5725e2[_0x477d('0x2492')]();}});function _0x92d385(_0x4f0c3e){_0x5725e2[_0x477d('0xf31')]=_0x4f0c3e||{'count':0x0,'rows':[]};}function _0x259ae4(){_0x5725e2[_0x477d('0x3ef')][_0x477d('0x91c')]=(_0x5725e2[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x5725e2['query']['limit'];if(_0xad8c39[_0x477d('0x56')](_0x477d('0x5f'))){_0x5725e2[_0x477d('0x553')]=_0x3eab6e['variable'][_0x477d('0x376')](_0x5725e2[_0x477d('0x3ef')],_0x92d385)[_0x477d('0x38b')];}else{_0x5725e2[_0x477d('0x3ef')]['id']=_0x5725e2[_0x477d('0x3a5')]['id'];_0x5725e2[_0x477d('0x3ef')][_0x477d('0xd99')]='Variables';_0x5725e2[_0x477d('0x553')]=_0x3eab6e[_0x477d('0x3a5')][_0x477d('0xd9a')](_0x5725e2[_0x477d('0x3ef')],_0x92d385)[_0x477d('0x38b')];}}function _0x10a4cd(_0x5a3878,_0x2319a4){_0x7a0315[_0x477d('0x395')]({'controller':_0x477d('0x119b'),'controllerAs':'vm','templateUrl':_0x477d('0x119c'),'parent':angular[_0x477d('0x398')](_0x3f49af[_0x477d('0x399')]),'targetEvent':_0x5a3878,'clickOutsideToClose':!![],'locals':{'variable':_0x2319a4,'variables':_0x5725e2[_0x477d('0xf31')]['rows'],'license':_0x5725e2[_0x477d('0x613')],'setting':_0x5725e2[_0x477d('0xc8e')],'crudPermissions':_0x5725e2['crudPermissions']}});}function _0x5c2475(_0x32680d){_0x3eab6e['variable']['delete']({'id':_0x32680d['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x5725e2[_0x477d('0xf31')][_0x477d('0xf2')],{'id':_0x32680d['id']});_0x5725e2['variables'][_0x477d('0x3bb')]-=0x1;if(!_0x5725e2[_0x477d('0xf31')][_0x477d('0xf2')][_0x477d('0x79')]){_0x5725e2[_0x477d('0x2492')]();}_0x1a0679[_0x477d('0x485')]({'title':_[_0x477d('0xd91')](_0x477d('0x124b'))+'\x20deleted!','msg':_0x32680d[_0x477d('0x94')]?_0x32680d[_0x477d('0x94')]+'\x20has\x20been\x20deleted!':''});})['catch'](function(_0x426b69){if(_0x426b69[_0x477d('0x451')]&&_0x426b69[_0x477d('0x451')][_0x477d('0xd67')]&&_0x426b69[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x5725e2[_0x477d('0xd67')]=_0x426b69['data'][_0x477d('0xd67')]||[{'message':_0x426b69[_0x477d('0x453')](),'type':'SYSTEM:DELETEvariable'}];for(var _0xe5bfd7=0x0;_0xe5bfd7<_0x426b69[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0xe5bfd7++){_0x1a0679[_0x477d('0x44a')]({'title':_0x426b69[_0x477d('0x451')][_0x477d('0xd67')][_0xe5bfd7][_0x477d('0x439')],'msg':_0x426b69['data'][_0x477d('0xd67')][_0xe5bfd7]['message']});}}else{_0x1a0679[_0x477d('0x44a')]({'title':_0x426b69['status']?_0x477d('0x44b')+_0x426b69['status']+_0x477d('0x44c')+_0x426b69[_0x477d('0x44d')]:'SYSTEM:DELETEvariable','msg':_0x426b69[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x426b69[_0x477d('0x451')][_0x477d('0x452')]):_0x426b69['message']||_0x426b69[_0x477d('0x453')]()});}});}function _0x4d5554(){var _0x229941=angular[_0x477d('0x6d9')](_0x5725e2[_0x477d('0x2491')]);_0x5725e2['selectedVariables']=[];return _0x229941;}function _0x22add0(_0x5aaae1){var _0x2aa4ef=_0x7a0315[_0x477d('0xd78')]()['title'](_0x477d('0x249a'))[_0x477d('0xd92')](_0x477d('0xd93')+_0x5725e2['selectedVariables'][_0x477d('0x79')]+_0x477d('0xda0')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x249b'))[_0x477d('0xd7c')](_0x5aaae1)['ok']('OK')['cancel'](_0x477d('0xd97'));_0x7a0315[_0x477d('0x395')](_0x2aa4ef)['then'](function(){_0x5725e2['selectedVariables']['forEach'](function(_0x1113c8){_0x5c2475(_0x1113c8);});_0x5725e2[_0x477d('0x2491')]=[];});}function _0x3b13be(){_0x5725e2[_0x477d('0x2491')]=[];}function _0x326326(){_0x5725e2[_0x477d('0x2491')]=_0x5725e2[_0x477d('0xf31')][_0x477d('0xf2')];}}}());(function(){'use strict';_0x133cec[_0x477d('0xa')]=['$scope','$state','$location',_0x477d('0x384'),'$q','$translate','toasty',_0x477d('0x249c'),_0x477d('0xa8a'),_0x477d('0x386'),'Auth',_0x477d('0x613'),_0x477d('0xc8e'),_0x477d('0xd66')];angular[_0x477d('0xb')]('app.video')[_0x477d('0x3ba')](_0x477d('0x249d'),_0x133cec);function _0x133cec(_0x472ad6,_0x32ef32,_0x51469f,_0x43ee3f,_0x5aaaee,_0x5d7919,_0x4381c3,_0x421649,_0x11f48e,_0x5643ea,_0x124269,_0x173139,_0x57791d,_0x148662){var _0x21eb3a=this;_0x21eb3a[_0x477d('0x3e5')]=_0x124269['getCurrentUser']();_0x21eb3a[_0x477d('0xd67')]=[];_0x21eb3a[_0x477d('0xc8e')]=_0x57791d;_0x21eb3a[_0x477d('0x613')]=_0x173139;_0x21eb3a[_0x477d('0xd66')]=_0x148662;_0x21eb3a[_0x477d('0xd68')]={};_0x21eb3a[_0x477d('0xd69')]=_0x21eb3a[_0x477d('0xc8e')]&&_0x21eb3a[_0x477d('0xc8e')][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x21eb3a['title']=_0x477d('0x249e');_0x21eb3a['screenRecording']=angular[_0x477d('0x6d9')](_0x11f48e);_0x21eb3a['screenRecordings']=_0x421649;_0x21eb3a['newscreenRecording']=![];if(!_0x21eb3a[_0x477d('0xa8a')]){_0x21eb3a[_0x477d('0xa8a')]={};_0x21eb3a[_0x477d('0x49a')]=_0x477d('0x249f');_0x21eb3a[_0x477d('0x24a0')]=!![];}_0x21eb3a[_0x477d('0x24a1')]=_0x5b688e;_0x21eb3a[_0x477d('0x24a2')]=_0x4bfca7;_0x21eb3a[_0x477d('0x24a3')]=_0x313772;_0x21eb3a[_0x477d('0xd6f')]=_0x45d6c6;_0x21eb3a[_0x477d('0x6bf')]=_0x475855;_0x5643ea[_0x477d('0x380')]['get']({'fields':_0x477d('0x1360'),'sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')]['then'](function(_0x28be14){_0x21eb3a[_0x477d('0xf2d')]=_0x28be14['rows']||[];})[_0x477d('0xf8')](function(_0x17ac3a){_0x4381c3['error']({'title':_0x17ac3a['status']?_0x477d('0x44b')+_0x17ac3a[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x17ac3a[_0x477d('0x44d')]:'SYSTEM:GET_USERS','msg':_0x17ac3a['data']?JSON[_0x477d('0x3fb')](_0x17ac3a[_0x477d('0x451')]):_0x17ac3a['toString']()});});function _0x5b688e(){_0x21eb3a[_0x477d('0xd67')]=[];_0x5643ea['screenRecording'][_0x477d('0xd70')](_0x21eb3a[_0x477d('0xa8a')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x4e7793){_0x21eb3a[_0x477d('0x249c')]['unshift'](_0x4e7793['toJSON']());_0x4381c3[_0x477d('0x485')]({'title':_0x477d('0x24a4'),'msg':_0x21eb3a[_0x477d('0xa8a')][_0x477d('0x94')]?_0x21eb3a[_0x477d('0xa8a')][_0x477d('0x94')]+_0x477d('0xd73'):''});_0x475855(_0x4e7793);})['catch'](function(_0x2903f2){if(_0x2903f2[_0x477d('0x451')]&&_0x2903f2['data'][_0x477d('0xd67')]&&_0x2903f2[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x21eb3a[_0x477d('0xd67')]=_0x2903f2[_0x477d('0x451')]['errors']||[{'message':_0x2903f2[_0x477d('0x453')](),'type':'api.screenRecording.save'}];for(var _0x21f96a=0x0;_0x21f96a<_0x2903f2[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x21f96a+=0x1){_0x4381c3['error']({'title':_0x2903f2[_0x477d('0x451')][_0x477d('0xd67')][_0x21f96a][_0x477d('0x439')],'msg':_0x2903f2[_0x477d('0x451')][_0x477d('0xd67')][_0x21f96a]['message']});}}else{_0x4381c3['error']({'title':_0x2903f2[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x2903f2[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x2903f2[_0x477d('0x44d')]:_0x477d('0x24a5'),'msg':_0x2903f2[_0x477d('0x451')]?JSON['stringify'](_0x2903f2[_0x477d('0x451')][_0x477d('0x452')]):_0x2903f2[_0x477d('0x453')]()});}});}function _0x4bfca7(){_0x21eb3a[_0x477d('0xd67')]=[];_0x5643ea[_0x477d('0xa8a')][_0x477d('0x710')]({'id':_0x21eb3a[_0x477d('0xa8a')]['id']},_0x21eb3a[_0x477d('0xa8a')])['$promise'][_0x477d('0x76')](function(_0x513f3){var _0x53f45d=_['find'](_0x21eb3a[_0x477d('0x249c')],{'id':_0x513f3['id']});if(_0x53f45d){_[_0x477d('0xef')](_0x53f45d,_['pick'](_0x513f3[_0x477d('0xd71')](),_[_0x477d('0x7f')](_0x53f45d)));}_0x4381c3['success']({'title':_0x477d('0x24a6'),'msg':_0x21eb3a[_0x477d('0xa8a')][_0x477d('0x94')]?_0x21eb3a[_0x477d('0xa8a')][_0x477d('0x94')]+'\x20has\x20been\x20saved!':''});_0x475855(_0x513f3);})[_0x477d('0xf8')](function(_0x12bee0){if(_0x12bee0[_0x477d('0x451')]&&_0x12bee0[_0x477d('0x451')]['errors']&&_0x12bee0['data'][_0x477d('0xd67')][_0x477d('0x79')]){_0x21eb3a['errors']=_0x12bee0[_0x477d('0x451')]['errors']||[{'message':_0x12bee0[_0x477d('0x453')](),'type':_0x477d('0x24a7')}];for(var _0x29e31d=0x0;_0x29e31d<_0x12bee0['data']['errors']['length'];_0x29e31d++){_0x4381c3['error']({'title':_0x12bee0[_0x477d('0x451')][_0x477d('0xd67')][_0x29e31d][_0x477d('0x439')],'msg':_0x12bee0[_0x477d('0x451')][_0x477d('0xd67')][_0x29e31d]['message']});}}else{_0x4381c3[_0x477d('0x44a')]({'title':_0x12bee0[_0x477d('0x3c3')]?'API:'+_0x12bee0['status']+_0x477d('0x44c')+_0x12bee0[_0x477d('0x44d')]:_0x477d('0x24a7'),'msg':_0x12bee0['data']?JSON[_0x477d('0x3fb')](_0x12bee0[_0x477d('0x451')][_0x477d('0x452')]):_0x12bee0[_0x477d('0x453')]()});}});}function _0x313772(_0x1189c2){_0x21eb3a[_0x477d('0xd67')]=[];var _0x207353=_0x43ee3f[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xd79'))[_0x477d('0xdaf')]('The\x20screenRecording\x20will\x20be\x20deleted.')[_0x477d('0x687')](_0x477d('0x24a8'))['ok']('Delete')[_0x477d('0x4f0')]('Cancel')['targetEvent'](_0x1189c2);_0x43ee3f['show'](_0x207353)[_0x477d('0x76')](function(){_0x5643ea[_0x477d('0xa8a')]['delete']({'id':_0x21eb3a['screenRecording']['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_['remove'](_0x21eb3a['screenRecordings'],{'id':_0x21eb3a[_0x477d('0xa8a')]['id']});_0x4381c3['success']({'title':'screenRecording\x20properly\x20deleted!','msg':(_0x21eb3a['screenRecording'][_0x477d('0x94')]||_0x477d('0xa8a'))+_0x477d('0xd7e')});_0x475855(_0x21eb3a['screenRecording']);})[_0x477d('0xf8')](function(_0x4db93e){if(_0x4db93e[_0x477d('0x451')]&&_0x4db93e[_0x477d('0x451')][_0x477d('0xd67')]&&_0x4db93e[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x21eb3a['errors']=_0x4db93e[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x4db93e[_0x477d('0x453')](),'type':_0x477d('0x24a9')}];for(var _0x3f1246=0x0;_0x3f1246<_0x4db93e[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x3f1246++){_0x4381c3['error']({'title':_0x4db93e[_0x477d('0x451')][_0x477d('0xd67')][_0x3f1246][_0x477d('0x439')],'msg':_0x4db93e[_0x477d('0x451')][_0x477d('0xd67')][_0x3f1246]['message']});}}else{_0x4381c3[_0x477d('0x44a')]({'title':_0x4db93e['status']?_0x477d('0x44b')+_0x4db93e[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x4db93e[_0x477d('0x44d')]:_0x477d('0x24a9'),'msg':_0x4db93e[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x4db93e[_0x477d('0x451')][_0x477d('0x452')]):_0x4db93e['message']||_0x4db93e[_0x477d('0x453')]()});}});},function(){});}function _0x45d6c6(_0x379cb0){return _0x379cb0===null?undefined:new Date(_0x379cb0);}function _0x475855(_0x315739){_0x43ee3f[_0x477d('0x3bc')](_0x315739);}}}());(function(){'use strict';_0x10df27['$inject']=[_0x477d('0x474'),_0x477d('0x384'),_0x477d('0x40e'),_0x477d('0x386'),_0x477d('0x24aa'),_0x477d('0x24ab'),_0x477d('0x93e'),_0x477d('0x24ac'),'elementTag','$q'];angular[_0x477d('0xb')](_0x477d('0x3d'))[_0x477d('0x3ba')]('screenRecordingplayController',_0x10df27);function _0x10df27(_0x53bd93,_0x1f6360,_0x52a353,_0x4a5cb2,_0x111143,_0x362717,_0x16c962,_0x385d51,_0x1595fc,_0x58074f){var _0x77cc5a=this;_0x77cc5a[_0x477d('0x1d9a')]=![];_0x77cc5a[_0x477d('0x24aa')]=Object['assign']({},_0x111143);_0x77cc5a['route']='screenRecording';_0x77cc5a[_0x477d('0x398')]=_0x1595fc;_0x77cc5a[_0x477d('0x24ab')]=Object[_0x477d('0x39b')]({},_0x362717);_0x77cc5a['path']=_0x385d51;_0x77cc5a[_0x477d('0x93e')]=_0x16c962;_0x77cc5a['app']=_0x477d('0x499');_0x77cc5a[_0x477d('0x44e')]='screenRecording';console['log'](_0x477d('0x24ad'),_0x77cc5a[_0x477d('0x493')]);console[_0x477d('0x7b')](_0x477d('0x24ae'),_0x77cc5a['recording'][_0x77cc5a['path']]);_0x77cc5a['filename']=_0x77cc5a[_0x477d('0x24aa')][_0x77cc5a[_0x477d('0x493')]][_0x477d('0x477')]('/')>-0x1?_0x77cc5a[_0x477d('0x24aa')][_0x77cc5a['path']][_0x477d('0x6c6')](_0x77cc5a[_0x477d('0x24aa')][_0x77cc5a[_0x477d('0x493')]][_0x477d('0x24af')]('/')+0x1):_0x77cc5a[_0x477d('0x24aa')][_0x77cc5a['path']]['indexOf']('\x5c')>-0x1?_0x77cc5a[_0x477d('0x24aa')][_0x77cc5a[_0x477d('0x493')]][_0x477d('0x6c6')](_0x77cc5a['recording'][_0x77cc5a[_0x477d('0x493')]][_0x477d('0x24af')]('\x5c')+0x1):_0x77cc5a['recording'][_0x77cc5a[_0x477d('0x493')]];_0x77cc5a[_0x477d('0x12f')]=![];if(_[_0x477d('0x484')](_0x77cc5a[_0x477d('0x24aa')][_0x477d('0x12f')])){_0x77cc5a[_0x477d('0x24aa')]['format']=_0x77cc5a[_0x477d('0x6c8')][_0x477d('0x9cd')](_0x77cc5a[_0x477d('0x6c8')]['lastIndexOf']('.'));}if(_0x77cc5a[_0x477d('0x24aa')]['format']===_0x477d('0x6ca')&&_0x77cc5a['element']===_0x477d('0x498')||_0x77cc5a[_0x477d('0x24aa')][_0x477d('0x12f')]===_0x477d('0x24b0')&&_0x77cc5a['element']===_0x477d('0x499')){_0x77cc5a['format']=!![];}_0x77cc5a[_0x477d('0x24b1')]=!![];if(_0x77cc5a[_0x477d('0x12f')]){_0x41dc0e();}function _0x41dc0e(){var _0x46dfbc=_0x58074f[_0x477d('0x54a')]();_0x4a5cb2[_0x477d('0xa8a')][_0x477d('0x49d')]({'id':_0x77cc5a[_0x477d('0x24aa')]['id'],'path':String(_0x77cc5a['path'])})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x2f5019){_0x77cc5a[_0x477d('0x12f')]=!![];_0x77cc5a[_0x477d('0x24b1')]=!![];_0x46dfbc[_0x477d('0x5a')]();})[_0x477d('0xf8')](function(_0x14ac2c){console[_0x477d('0x7b')](_0x477d('0x18c2'));_0x77cc5a[_0x477d('0x12f')]=![];_0x77cc5a[_0x477d('0x24b1')]=![];_0x46dfbc[_0x477d('0x5a')]();});return _0x46dfbc['promise'];}if(!_['isNil'](_0x362717[_0x477d('0x901')])&&_0x362717[_0x477d('0x901')]){_0x77cc5a['properties']=Object[_0x477d('0x39b')]({},_0x111143);var _0x304012=Object[_0x477d('0x7f')](_0x111143);_0x304012[_0x477d('0x3b1')](function(_0x4e3897){if(String(_0x4e3897[0x0][_0x477d('0x44f')]())===String(_0x4e3897[0x0])){delete _0x77cc5a[_0x477d('0x901')][_0x4e3897];}});_0x77cc5a['propertiesDefault']={};if(!_[_0x477d('0x484')](_0x362717[_0x477d('0x24b2')])&&_0x362717['propertiesList'][_0x477d('0x79')]>0x0){_0x77cc5a['propertiesDefault']=Object['assign']({},_0x111143);var _0x4b79dd=_0x362717['propertiesList'];var _0x560a73=Object[_0x477d('0x7f')](_0x111143);var _0xde9c66=!![];_0x560a73['forEach'](function(_0x57488f){_0xde9c66=!![];_0x4b79dd['forEach'](function(_0x36d9d8){if(String(_0x57488f)===String(_0x36d9d8)){_0xde9c66=![];}});if(_0xde9c66){delete _0x77cc5a[_0x477d('0x24b3')][_0x57488f];}});_0x77cc5a[_0x477d('0x901')]=_0x77cc5a[_0x477d('0x24b3')];}if(!_['isNil'](_0x362717[_0x477d('0x24b4')])&&_0x362717[_0x477d('0x24b4')]['length']>0x0){_0x77cc5a[_0x477d('0x24b5')]={};var _0x1cf7d4=_0x362717['extraData'];for(var _0x22413d=0x0;_0x22413d<_0x1cf7d4['length'];_0x22413d++){var _0x1b2c02=_0x1cf7d4[_0x22413d]['values'];var _0x3a812a=_0x1cf7d4[_0x22413d][_0x477d('0x44e')];for(var _0x546501=0x0;_0x546501<_0x1b2c02['length'];_0x546501++){_0x77cc5a[_0x477d('0x24b5')][_0x1b2c02[_0x546501]['text']]=_0x111143[_0x3a812a][_0x1b2c02[_0x546501][_0x477d('0x670')]];}}_0x77cc5a[_0x477d('0x901')]=Object[_0x477d('0x39b')]({},_0x77cc5a[_0x477d('0x24b3')],_0x77cc5a[_0x477d('0x24b5')]);}}_0x77cc5a[_0x477d('0x6bf')]=_0x2cf0a0;function _0x2cf0a0(){_0x1f6360[_0x477d('0x3bc')]();}}}());(function(){'use strict';_0x2ac0f0['$inject']=[_0x477d('0x474'),'$window','$state',_0x477d('0x554'),'$mdDialog',_0x477d('0x475'),_0x477d('0x3fe'),_0x477d('0x40d'),_0x477d('0x249c'),_0x477d('0x3a5'),'userProfileSection',_0x477d('0x386'),_0x477d('0x342'),_0x477d('0x40e'),_0x477d('0x55'),_0x477d('0x613'),_0x477d('0xc8e')];angular[_0x477d('0xb')](_0x477d('0x3d'))[_0x477d('0x3ba')](_0x477d('0x24b6'),_0x2ac0f0);function _0x2ac0f0(_0x378085,_0xf42372,_0x1133b7,_0x1470da,_0x285afe,_0x28bec8,_0x10ff0b,_0x24a782,_0x530d0f,_0x2ff907,_0x2ac72e,_0x3f85d4,_0x4e2781,_0x3c5766,_0x2877e9,_0x533892,_0x55757d){var _0x357b6e=this;_0x357b6e[_0x477d('0x613')]=_0x533892;_0x357b6e[_0x477d('0xc8e')]=_0x55757d;_0x357b6e[_0x477d('0x3e5')]=_0x2877e9[_0x477d('0x5c')]();_0x357b6e[_0x477d('0x249c')]=_0x530d0f||{'count':0x0,'rows':[]};_0x357b6e[_0x477d('0x3a5')]=_0x2ff907;_0x357b6e[_0x477d('0x3ac')]=_0x2ac72e&&_0x2ac72e[_0x477d('0x3bb')]==0x1?_0x2ac72e[_0x477d('0xf2')][0x0]:null;_0x357b6e[_0x477d('0xd66')]=_0x2877e9['parseCrudPermissions'](_0x357b6e[_0x477d('0x3ac')]?_0x357b6e[_0x477d('0x3ac')]['crudPermissions']:null);_0x357b6e[_0x477d('0xd82')]=_0x477d('0x249c');_0x357b6e[_0x477d('0xd83')]='';_0x357b6e[_0x477d('0xd84')]=null;_0x357b6e['selectedScreenRecordings']=[];_0x357b6e[_0x477d('0x3ef')]={'fields':_0x477d('0x2eb'),'createdAt':_0x477d('0x24b7'),'includeAll':_0x477d('0x2ee'),'sort':'-updatedAt','limit':0xa,'page':0x1};_0x357b6e[_0x477d('0x3ef')][_0x477d('0xe37')]=_0x4e2781[_0x477d('0x2ec')]();_0x357b6e[_0x477d('0x1349')]=_0x1010ec();function _0x1010ec(){return[{'name':_0x477d('0x134a'),'key':_0x477d('0xe37'),'type':_0x477d('0x420'),'label':_0x477d('0x24b8')}];}_0x357b6e[_0x477d('0x24b9')]=_0x56f0a8;_0x357b6e[_0x477d('0xd87')]=_0x46ea1d;_0x357b6e[_0x477d('0xd88')]=_0x7eef39;_0x357b6e[_0x477d('0x485')]=_0x51cd0f;_0x357b6e['getScreenRecordings']=_0x3a962;_0x357b6e[_0x477d('0x24ba')]=_0x17ad14;_0x357b6e[_0x477d('0x24a3')]=_0x3e3933;_0x357b6e[_0x477d('0x24bb')]=_0x3e3c42;_0x357b6e['deleteSelectedScreenRecordings']=_0x58cf7a;_0x357b6e[_0x477d('0x24bc')]=_0x3fce1a;_0x357b6e[_0x477d('0x24bd')]=_0x5178bd;_0x357b6e[_0x477d('0x24be')]=_0x2496fa;_0x3f85d4['user'][_0x477d('0x376')]({'fields':_0x477d('0x1360'),'sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})['$promise'][_0x477d('0x76')](function(_0x49fab2){_0x357b6e[_0x477d('0xf2d')]=_0x49fab2[_0x477d('0xf2')]||[];})['catch'](function(_0xe79bb2){_0x3c5766['error']({'title':_0xe79bb2['status']?'API:'+_0xe79bb2[_0x477d('0x3c3')]+_0x477d('0x44c')+_0xe79bb2['statusText']:_0x477d('0x24bf'),'msg':_0xe79bb2['data']?JSON['stringify'](_0xe79bb2[_0x477d('0x451')]):_0xe79bb2[_0x477d('0x453')]()});});function _0x56f0a8(_0x106f1b,_0x1c172c,_0x503ae1,_0x5a4430,_0xe85244){var _0x271824={'upperTitle':![],'lowerTitle':!![],'properties':!![],'propertiesIcon':_0x477d('0x24c0'),'propertiesList':[_0x477d('0x12f'),'interactionid',_0x477d('0x15f4'),_0x477d('0x24c1'),_0x477d('0x18d5'),_0x477d('0xe37')],'extraData':[{'model':_0x477d('0x167b'),'values':[{'key':'name','text':_0x477d('0x24c2')}]}]};var _0x4b06a3={};_0x4b06a3['route']=_0x477d('0xa8a');_0x4b06a3['name']=_0x477d('0x249c');_0x4b06a3[_0x477d('0x44e')]=_0x477d('0xa8a');_0x4b06a3[_0x477d('0x24c3')]='screenRecording';var _0x5a4430=String(_0x5a4430);var _0x3d5aec=String(_0x503ae1);console[_0x477d('0x7b')]('TCL:\x20\x20path',String(_0x503ae1));_0x285afe[_0x477d('0x395')]({'controller':'screenRecordingplayController','controllerAs':'vm','templateUrl':'app/main/apps/video/views/screenRecordings/partialViews/play.html','parent':angular[_0x477d('0x398')](_0x28bec8[_0x477d('0x399')]),'targetEvent':_0x1c172c,'clickOutsideToClose':!![],'locals':{'recording':_0x106f1b,'recordings':_0x357b6e[_0x477d('0x249c')][_0x477d('0xf2')],'license':_0x357b6e[_0x477d('0x613')],'setting':null,'item':_0x4b06a3,'actionOptions':_0x271824,'label':_0x5a4430,'varPath':_0x3d5aec,'elementTag':String(_0xe85244)}});}function _0x46ea1d(_0x4ed413,_0x2e7242){var _0x5d65a3=![];var _0x24fa3f=!_['isNil'](_0x4ed413[_0x477d('0x12f')])?_0x4ed413[_0x477d('0x12f')]:_0x4ed413[_0x477d('0x3b6')][_0x477d('0x6c6')](_0x4ed413[_0x477d('0x3b6')][_0x477d('0x24af')]('.'));_0x5d65a3=_0x24fa3f===_0x477d('0x24b0')?!![]:![];var _0x161ae6=_0x4ed413[_0x477d('0x3b6')][_0x477d('0x24af')]('/')>-0x1?_0x4ed413[_0x477d('0x3b6')]['substring'](_0x4ed413[_0x477d('0x3b6')][_0x477d('0x24af')]('/')+0x1):_0x4ed413[_0x477d('0x3b6')][_0x477d('0x24af')]('\x5c')>-0x1?_0x4ed413[_0x477d('0x3b6')][_0x477d('0x6c6')](_0x4ed413[_0x477d('0x3b6')][_0x477d('0x24af')]('\x5c')+0x1):_0x4ed413[_0x477d('0x3b6')];return _0x3f85d4[_0x477d('0xa8a')][_0x477d('0x49d')]({'id':_0x4ed413['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x38c5c5){var _0x4ff094=[_0x38c5c5['buffer']];var _0x45c385=_0x477d('0x49d');var _0xef5f79=new Blob(_0x4ff094,{'type':_0x38c5c5[_0x477d('0x439')]});_0x45c385=_0x161ae6;var _0x23e216=window[_0x477d('0x945')]['createElement']('a');_0x23e216[_0x477d('0x494')]('href',URL[_0x477d('0x49f')](_0xef5f79));_0x23e216[_0x477d('0x494')](_0x477d('0x49d'),_0x45c385);document[_0x477d('0x399')][_0x477d('0xd8f')](_0x23e216);_0x23e216[_0x477d('0x540')]();})[_0x477d('0xf8')](function(_0x55c893){if(_0x55c893['data']&&_0x55c893[_0x477d('0x451')][_0x477d('0xd67')]&&_0x55c893['data'][_0x477d('0xd67')][_0x477d('0x79')]){for(var _0x3439c4=0x0;_0x3439c4<_0x55c893[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x3439c4++){_0x3c5766[_0x477d('0x44a')]({'title':_0x55c893['data'][_0x477d('0xd67')][_0x3439c4][_0x477d('0x439')],'msg':_0x55c893[_0x477d('0x451')][_0x477d('0xd67')][_0x3439c4][_0x477d('0x452')]});}}else{if(String(_0x55c893['status'])==='404'&&_0x5d65a3===![]){_0x3c5766[_0x477d('0x669')]({'title':_0x24a782['instant'](_0x477d('0x24c4')),'msg':_0x24a782[_0x477d('0x45f')](_0x477d('0x24c5'))});}else if(String(_0x55c893['status'])===_0x477d('0x24c6')){_0x3c5766[_0x477d('0x669')]({'title':_0x24a782[_0x477d('0x45f')]('VIDEO.CANT_DOWNLOAD_THIS_FILE'),'msg':_0x24a782[_0x477d('0x45f')](_0x477d('0x24c7'))});}else{_0x3c5766['error']({'title':_0x55c893[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x55c893[_0x477d('0x3c3')]+'\x20-\x20'+_0x55c893[_0x477d('0x44d')]:_0x477d('0x24a5'),'msg':_0x55c893[_0x477d('0x451')]?JSON['stringify'](_0x55c893[_0x477d('0x451')][_0x477d('0x452')]):_0x55c893[_0x477d('0x453')]()});}}});}function _0x7eef39(_0x2d618b,_0x5a14ad){var _0x5895ac=_0x285afe[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xd90')+_['startCase'](_0x477d('0xa8a'))+'?')[_0x477d('0xd92')](''+(_0x2d618b[_0x477d('0x94')]||_0x477d('0xa8a'))+_0x477d('0xd94')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x24c8'))['targetEvent'](_0x5a14ad)['ok']('OK')[_0x477d('0x4f0')]('CANCEL');_0x285afe['show'](_0x5895ac)[_0x477d('0x76')](function(){_0x3e3933(_0x2d618b);},function(){console[_0x477d('0x7b')](_0x477d('0xd97'));});}var _0x7a60f5=!![];var _0x5f413b=0x1;_0x378085[_0x477d('0x4b5')]('vm.query.filter',function(_0x30a5d6,_0x26ac5b){if(_0x7a60f5){_0x10ff0b(function(){_0x7a60f5=![];});}else{if(!_0x26ac5b){_0x5f413b=_0x357b6e[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x30a5d6!==_0x26ac5b){_0x357b6e[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0x30a5d6){_0x357b6e[_0x477d('0x3ef')][_0x477d('0xe03')]=_0x5f413b;}_0x357b6e[_0x477d('0x24c9')]();}});function _0x2496fa(_0x2e9608){var _0x53e5d5=Math['floor'](_0x2e9608/0x3e8%0x3c);var _0x3c78f4=Math['floor'](_0x2e9608/(0x3e8*0x3c)%0x3c);var _0x18592a=Math[_0x477d('0x6c4')](_0x2e9608/(0x3e8*0x3c*0x3c)%0x18);var _0x3154d5=_0x18592a<0xa?'0'+String(_0x18592a):String(_0x18592a);var _0x45b295=_0x3c78f4<0xa?'0'+String(_0x3c78f4):String(_0x3c78f4);var _0x218c6a=_0x53e5d5<0xa?'0'+String(_0x53e5d5):String(_0x53e5d5);return _0x3154d5+':'+_0x45b295+':'+_0x218c6a;}function _0x51cd0f(_0x15a77b){_0x357b6e[_0x477d('0x249c')]=_0x15a77b||{'count':0x0,'rows':[]};}function _0x3a962(){_0x357b6e[_0x477d('0x3ef')]['offset']=(_0x357b6e[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x357b6e[_0x477d('0x3ef')][_0x477d('0x91d')];if(_0x2877e9['hasRole'](_0x477d('0x5f'))){_0x357b6e['promise']=_0x3f85d4[_0x477d('0xa8a')][_0x477d('0x376')](_0x357b6e[_0x477d('0x3ef')],_0x51cd0f)['$promise'];}else{_0x357b6e['query']['id']=_0x357b6e['userProfile']['id'];_0x357b6e[_0x477d('0x3ef')][_0x477d('0xd99')]=_0x477d('0x2ed');_0x357b6e[_0x477d('0x553')]=_0x3f85d4[_0x477d('0x3a5')][_0x477d('0xd9a')](_0x357b6e[_0x477d('0x3ef')],_0x51cd0f)[_0x477d('0x38b')];}}function _0x17ad14(_0x202acf,_0x4d8500){_0x285afe[_0x477d('0x395')]({'controller':_0x477d('0x249d'),'controllerAs':'vm','templateUrl':_0x477d('0x24ca'),'parent':angular[_0x477d('0x398')](_0x28bec8[_0x477d('0x399')]),'targetEvent':_0x202acf,'clickOutsideToClose':!![],'locals':{'screenRecording':_0x4d8500,'screenRecordings':_0x357b6e[_0x477d('0x249c')]['rows'],'license':_0x357b6e[_0x477d('0x613')],'setting':_0x357b6e[_0x477d('0xc8e')],'crudPermissions':_0x357b6e['crudPermissions']}});}function _0x3e3933(_0x50220c){_0x3f85d4['screenRecording'][_0x477d('0xa55')]({'id':_0x50220c['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x357b6e['screenRecordings'][_0x477d('0xf2')],{'id':_0x50220c['id']});_0x357b6e[_0x477d('0x249c')][_0x477d('0x3bb')]-=0x1;if(!_0x357b6e[_0x477d('0x249c')][_0x477d('0xf2')][_0x477d('0x79')]){_0x357b6e['getScreenRecordings']();}_0x3c5766[_0x477d('0x485')]({'title':_['startCase'](_0x477d('0xa8a'))+_0x477d('0xd9d'),'msg':_0x50220c[_0x477d('0x94')]?_0x50220c[_0x477d('0x94')]+_0x477d('0xd7e'):''});})[_0x477d('0xf8')](function(_0x5c31ba){if(_0x5c31ba[_0x477d('0x451')]&&_0x5c31ba[_0x477d('0x451')][_0x477d('0xd67')]&&_0x5c31ba[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x357b6e['errors']=_0x5c31ba[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x5c31ba[_0x477d('0x453')](),'type':'SYSTEM:DELETEscreenRecording'}];for(var _0xace0f1=0x0;_0xace0f1<_0x5c31ba[_0x477d('0x451')][_0x477d('0xd67')]['length'];_0xace0f1++){_0x3c5766[_0x477d('0x44a')]({'title':_0x5c31ba[_0x477d('0x451')][_0x477d('0xd67')][_0xace0f1][_0x477d('0x439')],'msg':_0x5c31ba[_0x477d('0x451')][_0x477d('0xd67')][_0xace0f1][_0x477d('0x452')]});}}else{_0x3c5766[_0x477d('0x44a')]({'title':_0x5c31ba['status']?_0x477d('0x44b')+_0x5c31ba[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x5c31ba[_0x477d('0x44d')]:'SYSTEM:DELETEscreenRecording','msg':_0x5c31ba[_0x477d('0x451')]?JSON['stringify'](_0x5c31ba['data'][_0x477d('0x452')]):_0x5c31ba[_0x477d('0x452')]||_0x5c31ba[_0x477d('0x453')]()});}});}function _0x3e3c42(){var _0x5e277c=angular[_0x477d('0x6d9')](_0x357b6e[_0x477d('0x24cb')]);_0x357b6e[_0x477d('0x24cb')]=[];return _0x5e277c;}function _0x58cf7a(_0xbbde5e){var _0x5386bc=_0x285afe['confirm']()[_0x477d('0x49a')](_0x477d('0x24cc'))['htmlContent'](_0x477d('0xd93')+_0x357b6e[_0x477d('0x24cb')][_0x477d('0x79')]+_0x477d('0xda0')+'\x20will\x20be\x20deleted.')[_0x477d('0x687')](_0x477d('0x24cd'))['targetEvent'](_0xbbde5e)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x285afe[_0x477d('0x395')](_0x5386bc)[_0x477d('0x76')](function(){_0x357b6e[_0x477d('0x24cb')]['forEach'](function(_0x54e4a6){_0x3e3933(_0x54e4a6);});_0x357b6e[_0x477d('0x24cb')]=[];});}function _0x3fce1a(){_0x357b6e[_0x477d('0x24cb')]=[];}function _0x5178bd(){_0x357b6e[_0x477d('0x24cb')]=_0x357b6e[_0x477d('0x249c')][_0x477d('0xf2')];}}}());(function(){'use strict';_0x18c52b[_0x477d('0xa')]=[_0x477d('0x474'),'$window','$state','$mdSidenav',_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x3fe'),_0x477d('0x40d'),_0x477d('0x24ce'),_0x477d('0x3a5'),_0x477d('0x3ac'),'api',_0x477d('0x342'),_0x477d('0x40e'),'Auth',_0x477d('0x613'),'setting'];angular[_0x477d('0xb')](_0x477d('0x2f'))['controller']('ChanSpiesController',_0x18c52b);function _0x18c52b(_0x7dc505,_0x78829e,_0x3cf746,_0x2a7a91,_0x1fb72c,_0x42b593,_0x39bf7f,_0x3dc73c,_0x5dcedf,_0x3265fe,_0x23c0a7,_0x3a8421,_0x239a9c,_0x347514,_0x42cf51,_0xa85e89,_0x3aa952){var _0x1bbf30=this;_0x1bbf30['license']=_0xa85e89;_0x1bbf30[_0x477d('0xc8e')]=_0x3aa952;_0x1bbf30[_0x477d('0x3e5')]=_0x42cf51['getCurrentUser']();_0x1bbf30[_0x477d('0x24ce')]=_0x5dcedf||{'count':0x0,'rows':[]};_0x1bbf30['userProfile']=_0x3265fe;_0x1bbf30[_0x477d('0x3ac')]=_0x23c0a7&&_0x23c0a7[_0x477d('0x3bb')]==0x1?_0x23c0a7[_0x477d('0xf2')][0x0]:null;_0x1bbf30['crudPermissions']=_0x42cf51[_0x477d('0xd81')](_0x1bbf30['userProfileSection']?_0x1bbf30[_0x477d('0x3ac')][_0x477d('0xd66')]:null);_0x1bbf30[_0x477d('0xd82')]='chanSpies';_0x1bbf30[_0x477d('0xd83')]='';_0x1bbf30[_0x477d('0xd84')]=null;_0x1bbf30[_0x477d('0x24cf')]=[];_0x1bbf30['query']={'fields':_0x477d('0x34c'),'sort':_0x477d('0x59'),'limit':0xa,'page':0x1};_0x1bbf30[_0x477d('0x24d0')]=_[_0x477d('0xdb5')]([{'option':_0x477d('0x24d1'),'value':_0x477d('0x24d2')},{'option':_0x477d('0x24d3'),'value':_0x477d('0x24d4')},{'option':'E:\x20Exit\x20when\x20the\x20spied-on\x20channel\x20hangs\x20up.','value':_0x477d('0x24d5')},{'option':_0x477d('0x24d6'),'value':_0x477d('0x24d7')},{'option':_0x477d('0x24d8'),'value':_0x477d('0x24d9')},{'option':_0x477d('0x24da'),'value':_0x477d('0x24db')},{'option':_0x477d('0x24dc'),'value':'\x27S\x27'},{'option':'w:\x20Enable\x20whisper\x20mode,\x20so\x20the\x20spying\x20channel\x20can\x20talk\x20to\x20the\x20spied-on\x20channel.','value':'\x27w\x27'},{'option':'W:\x20Enable\x20private\x20whisper\x20mode,\x20so\x20the\x20spying\x20channel\x20can\x20talk\x20to\x20the\x20spied-on\x20channel\x20but\x20cannot\x20listen\x20to\x20that\x20channel.','value':_0x477d('0x24dd')}],function(_0x1f3570){return _[_0x477d('0x409')](_0x1f3570[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x1bbf30[_0x477d('0x24de')]=_[_0x477d('0xdb5')]([{'option':'wav','value':'\x27wav\x27'},{'option':_0x477d('0xf77'),'value':'\x27gsm\x27'},{'option':'wav49','value':_0x477d('0x20f7')}],function(_0x34b6c5){return _[_0x477d('0x409')](_0x34b6c5[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x1bbf30[_0x477d('0xd86')]=_0x2d804e;_0x1bbf30['deleteconfirm']=_0x606b6;_0x1bbf30[_0x477d('0x485')]=_0x5454c5;_0x1bbf30[_0x477d('0x24df')]=_0xe64ec1;_0x1bbf30[_0x477d('0x24e0')]=_0x1ffadc;_0x1bbf30[_0x477d('0x24e1')]=_0x5478b7;_0x1bbf30['exportSelectedChanSpies']=_0x127ab8;_0x1bbf30[_0x477d('0x24e2')]=_0x540b74;_0x1bbf30[_0x477d('0x24e3')]=_0x2e8500;_0x1bbf30[_0x477d('0x24e4')]=_0x2f4157;function _0x2d804e(_0x1d0a6b,_0x1e1bd8){_0x1fb72c[_0x477d('0x395')]({'controller':'CreateOrEditchanSpyDialogController','controllerAs':'vm','templateUrl':_0x477d('0x24e5'),'parent':angular[_0x477d('0x398')](_0x42b593[_0x477d('0x399')]),'targetEvent':_0x1e1bd8,'clickOutsideToClose':!![],'locals':{'chanSpy':_0x1d0a6b,'chanSpies':_0x1bbf30[_0x477d('0x24ce')][_0x477d('0xf2')],'license':_0x1bbf30[_0x477d('0x613')],'setting':null,'crudPermissions':_0x1bbf30[_0x477d('0xd66')]}});}function _0x606b6(_0x14b318,_0x17877d){var _0xce6b6b=_0x1fb72c['confirm']()[_0x477d('0x49a')](_0x477d('0xd90')+_['startCase'](_0x477d('0x24e6'))+'?')[_0x477d('0xd92')](_0x477d('0xd93')+(_0x14b318[_0x477d('0x94')]||'chanSpy')+_0x477d('0xd94')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x24e7'))[_0x477d('0xd7c')](_0x17877d)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x1fb72c['show'](_0xce6b6b)['then'](function(){_0x5478b7(_0x14b318);},function(){console[_0x477d('0x7b')]('CANCEL');});}var _0x3bab90=!![];var _0x5b350e=0x1;_0x7dc505['$watch'](_0x477d('0xd98'),function(_0x27d655,_0x1124ad){if(_0x3bab90){_0x39bf7f(function(){_0x3bab90=![];});}else{if(!_0x1124ad){_0x5b350e=_0x1bbf30[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x27d655!==_0x1124ad){_0x1bbf30['query'][_0x477d('0xe03')]=0x1;}if(!_0x27d655){_0x1bbf30[_0x477d('0x3ef')][_0x477d('0xe03')]=_0x5b350e;}_0x1bbf30[_0x477d('0x24df')]();}});function _0x5454c5(_0x4cbc9a){_0x1bbf30['chanSpies']=_0x4cbc9a||{'count':0x0,'rows':[]};}function _0xe64ec1(){_0x1bbf30[_0x477d('0x3ef')][_0x477d('0x91c')]=(_0x1bbf30[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x1bbf30['query']['limit'];if(_0x42cf51[_0x477d('0x56')](_0x477d('0x5f'))){_0x1bbf30[_0x477d('0x553')]=_0x3a8421[_0x477d('0xa68')][_0x477d('0x376')](_0x1bbf30['query'],_0x5454c5)[_0x477d('0x38b')];}else{_0x1bbf30[_0x477d('0x3ef')]['id']=_0x1bbf30[_0x477d('0x3a5')]['id'];_0x1bbf30[_0x477d('0x3ef')][_0x477d('0xd99')]=_0x477d('0x24e8');_0x1bbf30['promise']=_0x3a8421[_0x477d('0x3a5')][_0x477d('0xd9a')](_0x1bbf30['query'],_0x5454c5)[_0x477d('0x38b')];}}function _0x1ffadc(_0x3b47bb,_0x574e8a){_0x1fb72c[_0x477d('0x395')]({'controller':'CreateOrEditchanSpyDialogController','controllerAs':'vm','templateUrl':_0x477d('0x24e5'),'parent':angular[_0x477d('0x398')](_0x42b593['body']),'targetEvent':_0x3b47bb,'clickOutsideToClose':!![],'locals':{'chanSpy':_0x574e8a,'chanSpies':_0x1bbf30['chanSpies'][_0x477d('0xf2')],'license':_0x1bbf30[_0x477d('0x613')],'setting':_0x1bbf30['setting'],'crudPermissions':_0x1bbf30['crudPermissions']}});}function _0x5478b7(_0x3910ad){_0x3a8421[_0x477d('0xa68')][_0x477d('0xa55')]({'id':_0x3910ad['id']})['$promise'][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x1bbf30[_0x477d('0x24ce')]['rows'],{'id':_0x3910ad['id']});_0x1bbf30[_0x477d('0x24ce')]['count']-=0x1;if(!_0x1bbf30['chanSpies'][_0x477d('0xf2')]['length']){_0x1bbf30[_0x477d('0x24df')]();}_0x347514['success']({'title':_[_0x477d('0xd91')]('chanSpy')+_0x477d('0xd9d'),'msg':_0x3910ad[_0x477d('0x94')]?_0x3910ad[_0x477d('0x94')]+'\x20has\x20been\x20deleted!':''});})[_0x477d('0xf8')](function(_0x332215){if(_0x332215[_0x477d('0x451')]&&_0x332215['data'][_0x477d('0xd67')]&&_0x332215[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x1bbf30[_0x477d('0xd67')]=_0x332215[_0x477d('0x451')]['errors']||[{'message':_0x332215[_0x477d('0x453')](),'type':_0x477d('0x24e9')}];for(var _0x3b9862=0x0;_0x3b9862<_0x332215[_0x477d('0x451')]['errors'][_0x477d('0x79')];_0x3b9862++){_0x347514[_0x477d('0x44a')]({'title':_0x332215[_0x477d('0x451')][_0x477d('0xd67')][_0x3b9862]['type'],'msg':_0x332215[_0x477d('0x451')][_0x477d('0xd67')][_0x3b9862][_0x477d('0x452')]});}}else{_0x347514[_0x477d('0x44a')]({'title':_0x332215['status']?_0x477d('0x44b')+_0x332215[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x332215['statusText']:'SYSTEM:DELETEvoiceChanSpy','msg':_0x332215[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x332215[_0x477d('0x451')]['message']):_0x332215[_0x477d('0x452')]||_0x332215['toString']()});}});}function _0x127ab8(){var _0x4aae18=angular['copy'](_0x1bbf30[_0x477d('0x24cf')]);_0x1bbf30['selectedChanSpies']=[];return _0x4aae18;}function _0x540b74(_0x257722){var _0x54ec4d=_0x1fb72c[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x24ea'))[_0x477d('0xd92')](_0x477d('0xd93')+_0x1bbf30[_0x477d('0x24cf')]['length']+_0x477d('0xda0')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x24eb'))['targetEvent'](_0x257722)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x1fb72c[_0x477d('0x395')](_0x54ec4d)['then'](function(){_0x1bbf30[_0x477d('0x24cf')][_0x477d('0x3b1')](function(_0x218d14){_0x5478b7(_0x218d14);});_0x1bbf30['selectedChanSpies']=[];});}function _0x2e8500(){_0x1bbf30['selectedChanSpies']=[];}function _0x2f4157(){_0x1bbf30['selectedChanSpies']=_0x1bbf30[_0x477d('0x24ce')][_0x477d('0xf2')];}}}());(function(){'use strict';_0x3f07d2[_0x477d('0xa')]=[_0x477d('0x474'),'$state',_0x477d('0xd64'),_0x477d('0x384'),'$q',_0x477d('0x40d'),_0x477d('0x40e'),_0x477d('0x24ce'),_0x477d('0x24e6'),_0x477d('0x386'),'Auth','license','setting','crudPermissions'];angular[_0x477d('0xb')]('app.voice')[_0x477d('0x3ba')](_0x477d('0x24ec'),_0x3f07d2);function _0x3f07d2(_0x318394,_0x3272b2,_0x35f24d,_0x4090ff,_0x42146d,_0xcac485,_0x22a9bb,_0x1a159a,_0xcd1193,_0x2644fb,_0x36852f,_0x57d55b,_0x8cc72f,_0x1b72f1){var _0x30cf02=this;_0x30cf02[_0x477d('0x3e5')]=_0x36852f[_0x477d('0x5c')]();_0x30cf02[_0x477d('0xd67')]=[];_0x30cf02[_0x477d('0xc8e')]=_0x8cc72f;_0x30cf02['license']=_0x57d55b;_0x30cf02[_0x477d('0xd66')]=_0x1b72f1;_0x30cf02[_0x477d('0xd68')]={};_0x30cf02[_0x477d('0xd69')]=_0x30cf02[_0x477d('0xc8e')]&&_0x30cf02[_0x477d('0xc8e')][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x30cf02[_0x477d('0x49a')]=_0x477d('0x24ed');_0x30cf02[_0x477d('0x24e6')]=angular['copy'](_0xcd1193);_0x30cf02[_0x477d('0x24ce')]=_0x1a159a;_0x30cf02['newchanSpy']=![];if(!_0x30cf02[_0x477d('0x24e6')]){_0x30cf02['chanSpy']={'recordingFormat':'wav'};_0x30cf02[_0x477d('0x49a')]='VOICE.NEW_CHANSPY';_0x30cf02[_0x477d('0x24ee')]=!![];}_0x30cf02['addNewchanSpy']=_0x5fa61d;_0x30cf02[_0x477d('0x24ef')]=_0x39dda6;_0x30cf02['deletechanSpy']=_0x208c43;_0x30cf02[_0x477d('0xd6f')]=_0x4c0cca;_0x30cf02[_0x477d('0x6bf')]=_0xeae048;function _0x5fa61d(){_0x30cf02[_0x477d('0xd67')]=[];_0x2644fb[_0x477d('0xa68')][_0x477d('0xd70')](_0x30cf02[_0x477d('0x24e6')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x913a2){_0x30cf02[_0x477d('0x24ce')][_0x477d('0x63b')](_0x913a2[_0x477d('0xd71')]());_0x22a9bb['success']({'title':_0x477d('0x24f0'),'msg':_0x30cf02[_0x477d('0x24e6')][_0x477d('0x94')]?_0x30cf02['chanSpy']['name']+'\x20has\x20been\x20created!':''});_0xeae048(_0x913a2);})[_0x477d('0xf8')](function(_0x16c3ea){if(_0x16c3ea['data']&&_0x16c3ea[_0x477d('0x451')][_0x477d('0xd67')]&&_0x16c3ea[_0x477d('0x451')]['errors'][_0x477d('0x79')]){_0x30cf02[_0x477d('0xd67')]=_0x16c3ea[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x16c3ea[_0x477d('0x453')](),'type':_0x477d('0x24f1')}];for(var _0x419ae6=0x0;_0x419ae6<_0x16c3ea[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x419ae6+=0x1){_0x22a9bb[_0x477d('0x44a')]({'title':_0x16c3ea['data'][_0x477d('0xd67')][_0x419ae6][_0x477d('0x439')],'msg':_0x16c3ea['data'][_0x477d('0xd67')][_0x419ae6]['message']});}}else{_0x22a9bb[_0x477d('0x44a')]({'title':_0x16c3ea['status']?_0x477d('0x44b')+_0x16c3ea['status']+_0x477d('0x44c')+_0x16c3ea[_0x477d('0x44d')]:_0x477d('0x24f1'),'msg':_0x16c3ea[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x16c3ea['data'][_0x477d('0x452')]):_0x16c3ea[_0x477d('0x453')]()});}});}function _0x39dda6(){_0x30cf02[_0x477d('0xd67')]=[];_0x2644fb[_0x477d('0xa68')][_0x477d('0x710')]({'id':_0x30cf02['chanSpy']['id']},_0x30cf02[_0x477d('0x24e6')])['$promise']['then'](function(_0x328a35){var _0x1e8d4c=_['find'](_0x30cf02[_0x477d('0x24ce')],{'id':_0x328a35['id']});if(_0x1e8d4c){_['merge'](_0x1e8d4c,_[_0x477d('0x10b')](_0x328a35[_0x477d('0xd71')](),_['keys'](_0x1e8d4c)));}_0x22a9bb[_0x477d('0x485')]({'title':_0x477d('0x24f2'),'msg':_0x30cf02['chanSpy']['name']?_0x30cf02['chanSpy']['name']+_0x477d('0xd76'):''});_0xeae048(_0x328a35);})[_0x477d('0xf8')](function(_0xdf65a){if(_0xdf65a[_0x477d('0x451')]&&_0xdf65a[_0x477d('0x451')][_0x477d('0xd67')]&&_0xdf65a[_0x477d('0x451')]['errors']['length']){_0x30cf02[_0x477d('0xd67')]=_0xdf65a[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0xdf65a['toString'](),'type':_0x477d('0x24f3')}];for(var _0xc67396=0x0;_0xc67396<_0xdf65a[_0x477d('0x451')]['errors']['length'];_0xc67396++){_0x22a9bb[_0x477d('0x44a')]({'title':_0xdf65a[_0x477d('0x451')][_0x477d('0xd67')][_0xc67396][_0x477d('0x439')],'msg':_0xdf65a['data']['errors'][_0xc67396][_0x477d('0x452')]});}}else{_0x22a9bb[_0x477d('0x44a')]({'title':_0xdf65a[_0x477d('0x3c3')]?'API:'+_0xdf65a['status']+'\x20-\x20'+_0xdf65a[_0x477d('0x44d')]:'api.voiceChanSpy.update','msg':_0xdf65a[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0xdf65a[_0x477d('0x451')][_0x477d('0x452')]):_0xdf65a[_0x477d('0x453')]()});}});}function _0x208c43(_0x119c8b){_0x30cf02[_0x477d('0xd67')]=[];var _0x50ca5e=_0x4090ff['confirm']()['title']('Are\x20you\x20sure?')[_0x477d('0xdaf')]('The\x20chanSpy\x20will\x20be\x20deleted.')[_0x477d('0x687')](_0x477d('0x24f4'))['ok']('Delete')[_0x477d('0x4f0')](_0x477d('0x688'))[_0x477d('0xd7c')](_0x119c8b);_0x4090ff[_0x477d('0x395')](_0x50ca5e)['then'](function(){_0x2644fb[_0x477d('0xa68')][_0x477d('0xa55')]({'id':_0x30cf02[_0x477d('0x24e6')]['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_['remove'](_0x30cf02['chanSpies'],{'id':_0x30cf02['chanSpy']['id']});_0x22a9bb['success']({'title':_0x477d('0x24f5'),'msg':(_0x30cf02['chanSpy'][_0x477d('0x94')]||_0x477d('0x24e6'))+_0x477d('0xd7e')});_0xeae048(_0x30cf02['chanSpy']);})[_0x477d('0xf8')](function(_0x209dc2){if(_0x209dc2[_0x477d('0x451')]&&_0x209dc2[_0x477d('0x451')]['errors']&&_0x209dc2[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x30cf02[_0x477d('0xd67')]=_0x209dc2[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x209dc2['toString'](),'type':_0x477d('0x24f6')}];for(var _0x2ec1c5=0x0;_0x2ec1c5<_0x209dc2[_0x477d('0x451')][_0x477d('0xd67')]['length'];_0x2ec1c5++){_0x22a9bb['error']({'title':_0x209dc2[_0x477d('0x451')]['errors'][_0x2ec1c5][_0x477d('0x439')],'msg':_0x209dc2[_0x477d('0x451')][_0x477d('0xd67')][_0x2ec1c5][_0x477d('0x452')]});}}else{_0x22a9bb[_0x477d('0x44a')]({'title':_0x209dc2['status']?_0x477d('0x44b')+_0x209dc2[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x209dc2[_0x477d('0x44d')]:_0x477d('0x24f6'),'msg':_0x209dc2['data']?JSON[_0x477d('0x3fb')](_0x209dc2[_0x477d('0x451')][_0x477d('0x452')]):_0x209dc2[_0x477d('0x452')]||_0x209dc2['toString']()});}});},function(){});}function _0x4c0cca(_0x19fb0c){return _0x19fb0c===null?undefined:new Date(_0x19fb0c);}function _0xeae048(_0x589ee4){_0x4090ff[_0x477d('0x3bc')](_0x589ee4);}}}());(function(){'use strict';_0x2eeda5[_0x477d('0xa')]=[_0x477d('0x474'),'$window',_0x477d('0x3c4'),_0x477d('0x554'),_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x3fe'),_0x477d('0x40d'),_0x477d('0xf32'),_0x477d('0x3a5'),_0x477d('0x3ac'),'api',_0x477d('0x342'),_0x477d('0x40e'),'Auth',_0x477d('0x613'),_0x477d('0xc8e')];angular[_0x477d('0xb')](_0x477d('0x2f'))['controller'](_0x477d('0x24f7'),_0x2eeda5);function _0x2eeda5(_0x37d52f,_0xa6c43d,_0x7c4cce,_0x1cd515,_0x37e9d5,_0xa9e1c,_0x229de9,_0x18867a,_0xd97d4e,_0x317b04,_0x195e7a,_0x4fcf6c,_0x4d26c6,_0x3fd9d9,_0x45eb2d,_0x36ff41,_0x491f7a){var _0xf838d9=this;_0xf838d9[_0x477d('0x613')]=_0x36ff41;_0xf838d9[_0x477d('0xc8e')]=_0x491f7a;_0xf838d9[_0x477d('0x3e5')]=_0x45eb2d['getCurrentUser']();_0xf838d9[_0x477d('0xf32')]=_0xd97d4e||{'count':0x0,'rows':[]};_0xf838d9[_0x477d('0x3a5')]=_0x317b04;_0xf838d9[_0x477d('0x3ac')]=_0x195e7a&&_0x195e7a[_0x477d('0x3bb')]==0x1?_0x195e7a['rows'][0x0]:null;_0xf838d9['crudPermissions']=_0x45eb2d[_0x477d('0xd81')](_0xf838d9[_0x477d('0x3ac')]?_0xf838d9[_0x477d('0x3ac')]['crudPermissions']:null);_0xf838d9[_0x477d('0xd82')]='contexts';_0xf838d9[_0x477d('0xd83')]='';_0xf838d9['listOrderAsc']=null;_0xf838d9['selectedContexts']=[];_0xf838d9[_0x477d('0x3ef')]={'fields':_0x477d('0x1e5'),'sort':_0x477d('0x59'),'defaultEntry':_0x477d('0x32b'),'limit':0xa,'page':0x1};_0xf838d9[_0x477d('0xd86')]=_0x99bf3a;_0xf838d9[_0x477d('0xd88')]=_0x12bbc5;_0xf838d9[_0x477d('0x485')]=_0x46c23d;_0xf838d9[_0x477d('0x24f8')]=_0x1846a2;_0xf838d9[_0x477d('0x24f9')]=_0x2a94a2;_0xf838d9[_0x477d('0x24fa')]=_0x4fc99c;_0xf838d9[_0x477d('0x24fb')]=_0x2cca6b;_0xf838d9[_0x477d('0x24fc')]=_0x301dbf;_0xf838d9[_0x477d('0x24fd')]=_0x22a5ca;_0xf838d9[_0x477d('0x24fe')]=_0x16b3a9;function _0x99bf3a(_0x1facd7,_0xb29949){_0x37e9d5[_0x477d('0x395')]({'controller':_0x477d('0x24ff'),'controllerAs':'vm','templateUrl':_0x477d('0x2500'),'parent':angular[_0x477d('0x398')](_0xa9e1c['body']),'targetEvent':_0xb29949,'clickOutsideToClose':!![],'locals':{'context':_0x1facd7,'contexts':_0xf838d9['contexts'][_0x477d('0xf2')],'license':_0xf838d9[_0x477d('0x613')],'setting':null,'crudPermissions':_0xf838d9[_0x477d('0xd66')]}});}function _0x12bbc5(_0xd78aeb,_0x33b637){var _0x5912e9=_0x37e9d5[_0x477d('0xd78')]()['title'](_0x477d('0xd90')+_['startCase'](_0x477d('0xf47'))+'?')[_0x477d('0xd92')](''+(_0xd78aeb[_0x477d('0x94')]||_0x477d('0xf47'))+''+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x2501'))['targetEvent'](_0x33b637)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x37e9d5[_0x477d('0x395')](_0x5912e9)['then'](function(){_0x4fc99c(_0xd78aeb);},function(){console[_0x477d('0x7b')](_0x477d('0xd97'));});}var _0x146f6b=!![];var _0x2ac52f=0x1;_0x37d52f[_0x477d('0x4b5')](_0x477d('0xd98'),function(_0x39f977,_0x27c8fd){if(_0x146f6b){_0x229de9(function(){_0x146f6b=![];});}else{if(!_0x27c8fd){_0x2ac52f=_0xf838d9[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x39f977!==_0x27c8fd){_0xf838d9[_0x477d('0x3ef')]['page']=0x1;}if(!_0x39f977){_0xf838d9[_0x477d('0x3ef')][_0x477d('0xe03')]=_0x2ac52f;}_0xf838d9[_0x477d('0x24f8')]();}});function _0x46c23d(_0x6789ad){_0xf838d9[_0x477d('0xf32')]=_0x6789ad||{'count':0x0,'rows':[]};}function _0x1846a2(){_0xf838d9[_0x477d('0x3ef')][_0x477d('0x91c')]=(_0xf838d9['query'][_0x477d('0xe03')]-0x1)*_0xf838d9[_0x477d('0x3ef')]['limit'];if(_0x45eb2d['hasRole'](_0x477d('0x5f'))){_0xf838d9[_0x477d('0x553')]=_0x4fcf6c['voiceContext'][_0x477d('0x376')](_0xf838d9['query'],_0x46c23d)[_0x477d('0x38b')];}else{_0xf838d9[_0x477d('0x3ef')]['id']=_0xf838d9['userProfile']['id'];_0xf838d9[_0x477d('0x3ef')][_0x477d('0xd99')]='Contexts';_0xf838d9[_0x477d('0x553')]=_0x4fcf6c[_0x477d('0x3a5')][_0x477d('0xd9a')](_0xf838d9[_0x477d('0x3ef')],_0x46c23d)[_0x477d('0x38b')];}}function _0x2a94a2(_0x395477,_0x12c5b2){_0x37e9d5['show']({'controller':'CreateOrEditContextDialogController','controllerAs':'vm','templateUrl':_0x477d('0x2500'),'parent':angular[_0x477d('0x398')](_0xa9e1c[_0x477d('0x399')]),'targetEvent':_0x395477,'clickOutsideToClose':!![],'locals':{'context':_0x12c5b2,'contexts':_0xf838d9[_0x477d('0xf32')][_0x477d('0xf2')],'license':_0xf838d9[_0x477d('0x613')],'setting':_0xf838d9[_0x477d('0xc8e')],'crudPermissions':_0xf838d9[_0x477d('0xd66')]}});}function _0x4fc99c(_0x55e545){_0x4fcf6c[_0x477d('0xa6b')][_0x477d('0xa55')]({'id':_0x55e545['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0xf838d9['contexts']['rows'],{'id':_0x55e545['id']});_0xf838d9[_0x477d('0xf32')][_0x477d('0x3bb')]-=0x1;if(!_0xf838d9[_0x477d('0xf32')][_0x477d('0xf2')][_0x477d('0x79')]){_0xf838d9[_0x477d('0x24f8')]();}_0x3fd9d9['success']({'title':_['startCase'](_0x477d('0x2502'))+'\x20deleted!','msg':_0x55e545[_0x477d('0x94')]?_0x55e545['name']+'\x20has\x20been\x20deleted!':''});})['catch'](function(_0x13d4b2){if(_0x13d4b2['data']&&_0x13d4b2[_0x477d('0x451')][_0x477d('0xd67')]&&_0x13d4b2[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0xf838d9[_0x477d('0xd67')]=_0x13d4b2['data'][_0x477d('0xd67')]||[{'message':_0x13d4b2['toString'](),'type':_0x477d('0x2503')}];for(var _0x307e96=0x0;_0x307e96<_0x13d4b2[_0x477d('0x451')]['errors'][_0x477d('0x79')];_0x307e96++){_0x3fd9d9[_0x477d('0x44a')]({'title':_0x13d4b2[_0x477d('0x451')]['errors'][_0x307e96]['type'],'msg':_0x13d4b2[_0x477d('0x451')][_0x477d('0xd67')][_0x307e96]['message']});}}else{_0x3fd9d9['error']({'title':_0x13d4b2[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x13d4b2['status']+_0x477d('0x44c')+_0x13d4b2[_0x477d('0x44d')]:'SYSTEM:DELETEvoiceContext','msg':_0x13d4b2['data']?JSON[_0x477d('0x3fb')](_0x13d4b2[_0x477d('0x451')]['message']):_0x13d4b2['message']||_0x13d4b2[_0x477d('0x453')]()});}});}function _0x2cca6b(){var _0x56c41f=angular[_0x477d('0x6d9')](_0xf838d9[_0x477d('0x2504')]);_0xf838d9[_0x477d('0x2504')]=[];return _0x56c41f;}function _0x301dbf(_0x172b1f){var _0x5d19ea=_0x37e9d5['confirm']()[_0x477d('0x49a')](_0x477d('0x2505'))[_0x477d('0xd92')](''+_0xf838d9[_0x477d('0x2504')][_0x477d('0x79')]+_0x477d('0xda0')+'\x20will\x20be\x20deleted.')[_0x477d('0x687')](_0x477d('0x2506'))[_0x477d('0xd7c')](_0x172b1f)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x37e9d5[_0x477d('0x395')](_0x5d19ea)[_0x477d('0x76')](function(){_0xf838d9['selectedContexts'][_0x477d('0x3b1')](function(_0x2506e1){_0x4fc99c(_0x2506e1);});_0xf838d9['selectedContexts']=[];});}function _0x22a5ca(){_0xf838d9['selectedContexts']=[];}function _0x16b3a9(){_0xf838d9[_0x477d('0x2504')]=_0xf838d9['contexts'][_0x477d('0xf2')];}}}());(function(){'use strict';_0x21340e[_0x477d('0xa')]=['$scope','$state',_0x477d('0xd64'),_0x477d('0x384'),'$q',_0x477d('0x40d'),_0x477d('0x40e'),_0x477d('0xf32'),_0x477d('0xf47'),_0x477d('0x386'),_0x477d('0x55'),_0x477d('0x613'),_0x477d('0xc8e'),_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x2f'))['controller'](_0x477d('0x24ff'),_0x21340e);function _0x21340e(_0x51e453,_0x327103,_0x29056e,_0x3880fe,_0x5eff02,_0x2d9f85,_0x48e65d,_0x192590,_0x4f27e8,_0x556605,_0x5a8129,_0xc28372,_0x216dc2,_0xee3be0){var _0x29a1a6=this;_0x29a1a6[_0x477d('0x3e5')]=_0x5a8129[_0x477d('0x5c')]();_0x29a1a6[_0x477d('0xd67')]=[];_0x29a1a6[_0x477d('0xc8e')]=_0x216dc2;_0x29a1a6['license']=_0xc28372;_0x29a1a6[_0x477d('0xd66')]=_0xee3be0;_0x29a1a6[_0x477d('0xd68')]={};_0x29a1a6[_0x477d('0xd69')]=_0x29a1a6['setting']&&_0x29a1a6[_0x477d('0xc8e')][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x29a1a6['title']=_0x477d('0x2507');_0x29a1a6[_0x477d('0xf47')]=angular[_0x477d('0x6d9')](_0x4f27e8);_0x29a1a6['contexts']=_0x192590;_0x29a1a6[_0x477d('0x2508')]=![];if(!_0x29a1a6[_0x477d('0xf47')]){_0x29a1a6[_0x477d('0xf47')]={};_0x29a1a6[_0x477d('0x49a')]=_0x477d('0x2509');_0x29a1a6[_0x477d('0x2508')]=!![];}_0x29a1a6[_0x477d('0x250a')]=_0xd73f06;_0x29a1a6['saveContext']=_0x4318f8;_0x29a1a6[_0x477d('0x24fa')]=_0x5498b6;_0x29a1a6[_0x477d('0xd6f')]=_0x1ca595;_0x29a1a6[_0x477d('0x6bf')]=_0x5d3918;function _0xd73f06(){_0x29a1a6[_0x477d('0xd67')]=[];_0x556605[_0x477d('0xa6b')]['save'](_0x29a1a6['context'])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x5da060){_0x29a1a6['contexts']['unshift'](_0x5da060[_0x477d('0xd71')]());_0x48e65d['success']({'title':'Context\x20properly\x20created','msg':_0x29a1a6[_0x477d('0xf47')][_0x477d('0x94')]?_0x29a1a6[_0x477d('0xf47')][_0x477d('0x94')]+_0x477d('0xd73'):''});_0x5d3918(_0x5da060);})[_0x477d('0xf8')](function(_0x6af29b){if(_0x6af29b[_0x477d('0x451')]&&_0x6af29b[_0x477d('0x451')][_0x477d('0xd67')]&&_0x6af29b[_0x477d('0x451')]['errors'][_0x477d('0x79')]){_0x29a1a6[_0x477d('0xd67')]=_0x6af29b[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x6af29b[_0x477d('0x453')](),'type':_0x477d('0x250b')}];for(var _0x57333f=0x0;_0x57333f<_0x6af29b[_0x477d('0x451')]['errors'][_0x477d('0x79')];_0x57333f+=0x1){_0x48e65d[_0x477d('0x44a')]({'title':_0x6af29b[_0x477d('0x451')]['errors'][_0x57333f][_0x477d('0x439')],'msg':_0x6af29b['data'][_0x477d('0xd67')][_0x57333f][_0x477d('0x452')]});}}else{_0x48e65d[_0x477d('0x44a')]({'title':_0x6af29b['status']?_0x477d('0x44b')+_0x6af29b[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x6af29b[_0x477d('0x44d')]:_0x477d('0x250b'),'msg':_0x6af29b[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x6af29b[_0x477d('0x451')][_0x477d('0x452')]):_0x6af29b['toString']()});}});}function _0x4318f8(){_0x29a1a6[_0x477d('0xd67')]=[];_0x556605[_0x477d('0xa6b')]['update']({'id':_0x29a1a6[_0x477d('0xf47')]['id']},_0x29a1a6['context'])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x15c026){var _0x3c1279=_[_0x477d('0x10a')](_0x29a1a6[_0x477d('0xf32')],{'id':_0x15c026['id']});if(_0x3c1279){_[_0x477d('0xef')](_0x3c1279,_['pick'](_0x15c026[_0x477d('0xd71')](),_['keys'](_0x3c1279)));}_0x48e65d['success']({'title':_0x477d('0x250c'),'msg':_0x29a1a6['context']['name']?_0x29a1a6[_0x477d('0xf47')]['name']+_0x477d('0xd76'):''});_0x5d3918(_0x15c026);})[_0x477d('0xf8')](function(_0x4cea3d){if(_0x4cea3d[_0x477d('0x451')]&&_0x4cea3d['data'][_0x477d('0xd67')]&&_0x4cea3d[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x29a1a6[_0x477d('0xd67')]=_0x4cea3d['data']['errors']||[{'message':_0x4cea3d[_0x477d('0x453')](),'type':'api.voiceContext.update'}];for(var _0x4969a4=0x0;_0x4969a4<_0x4cea3d['data'][_0x477d('0xd67')][_0x477d('0x79')];_0x4969a4++){_0x48e65d[_0x477d('0x44a')]({'title':_0x4cea3d[_0x477d('0x451')][_0x477d('0xd67')][_0x4969a4][_0x477d('0x439')],'msg':_0x4cea3d['data'][_0x477d('0xd67')][_0x4969a4][_0x477d('0x452')]});}}else{_0x48e65d[_0x477d('0x44a')]({'title':_0x4cea3d['status']?'API:'+_0x4cea3d[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x4cea3d[_0x477d('0x44d')]:'api.voiceContext.update','msg':_0x4cea3d[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x4cea3d[_0x477d('0x451')][_0x477d('0x452')]):_0x4cea3d[_0x477d('0x453')]()});}});}function _0x5498b6(_0x24139f){_0x29a1a6[_0x477d('0xd67')]=[];var _0x5ea166=_0x3880fe[_0x477d('0xd78')]()['title']('Are\x20you\x20sure?')[_0x477d('0xdaf')](_0x477d('0x250d'))[_0x477d('0x687')](_0x477d('0x250e'))['ok']('Delete')[_0x477d('0x4f0')](_0x477d('0x688'))[_0x477d('0xd7c')](_0x24139f);_0x3880fe[_0x477d('0x395')](_0x5ea166)['then'](function(){_0x556605[_0x477d('0xa6b')][_0x477d('0xa55')]({'id':_0x29a1a6[_0x477d('0xf47')]['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x29a1a6[_0x477d('0xf32')],{'id':_0x29a1a6[_0x477d('0xf47')]['id']});_0x48e65d[_0x477d('0x485')]({'title':_0x477d('0x250f'),'msg':(_0x29a1a6['context'][_0x477d('0x94')]||_0x477d('0xf47'))+_0x477d('0xd7e')});_0x5d3918(_0x29a1a6['context']);})[_0x477d('0xf8')](function(_0x361e93){if(_0x361e93[_0x477d('0x451')]&&_0x361e93['data'][_0x477d('0xd67')]&&_0x361e93[_0x477d('0x451')]['errors']['length']){_0x29a1a6['errors']=_0x361e93['data']['errors']||[{'message':_0x361e93[_0x477d('0x453')](),'type':_0x477d('0x2510')}];for(var _0x8909b1=0x0;_0x8909b1<_0x361e93[_0x477d('0x451')]['errors'][_0x477d('0x79')];_0x8909b1++){_0x48e65d[_0x477d('0x44a')]({'title':_0x361e93['data'][_0x477d('0xd67')][_0x8909b1][_0x477d('0x439')],'msg':_0x361e93[_0x477d('0x451')]['errors'][_0x8909b1][_0x477d('0x452')]});}}else{_0x48e65d[_0x477d('0x44a')]({'title':_0x361e93['status']?_0x477d('0x44b')+_0x361e93[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x361e93[_0x477d('0x44d')]:'api.voiceContext.delete','msg':_0x361e93[_0x477d('0x451')]?JSON['stringify'](_0x361e93[_0x477d('0x451')][_0x477d('0x452')]):_0x361e93['message']||_0x361e93[_0x477d('0x453')]()});}});},function(){});}function _0x1ca595(_0x4551b6){return _0x4551b6===null?undefined:new Date(_0x4551b6);}function _0x5d3918(_0x4ce5e1){_0x3880fe[_0x477d('0x3bc')](_0x4ce5e1);}}}());(function(){'use strict';_0x5d68f[_0x477d('0xa')]=['$scope',_0x477d('0x3c4'),_0x477d('0xd64'),_0x477d('0x384'),'$q',_0x477d('0x40d'),_0x477d('0x40e'),_0x477d('0x2511'),'inboundroute',_0x477d('0x386'),_0x477d('0x55'),'license','setting',_0x477d('0xd66')];angular[_0x477d('0xb')]('app.voice')[_0x477d('0x3ba')]('CreateOrEditInboundRouteDialogController',_0x5d68f);function _0x5d68f(_0x2629c2,_0x2d2b68,_0x5ec74f,_0x241262,_0x561253,_0x44ecf4,_0x535c04,_0xbcf0e7,_0x5826f6,_0x539a0c,_0x4475c3,_0xef22f4,_0x18476a,_0x8df188){var _0x556e49=this;_0x556e49[_0x477d('0x3e5')]=_0x4475c3['getCurrentUser']();_0x556e49[_0x477d('0xd67')]=[];_0x556e49[_0x477d('0xc8e')]=_0x18476a;_0x556e49[_0x477d('0x613')]=_0xef22f4;_0x556e49['crudPermissions']=_0x8df188;_0x556e49[_0x477d('0xd68')]={};_0x556e49[_0x477d('0xd69')]=_0x556e49[_0x477d('0xc8e')]&&_0x556e49[_0x477d('0xc8e')][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x556e49[_0x477d('0x49a')]=_0x477d('0x2512');_0x556e49[_0x477d('0x2513')]=angular[_0x477d('0x6d9')](_0x5826f6);_0x556e49['inboundroutes']=_0xbcf0e7;_0x556e49[_0x477d('0x2514')]=![];if(!_0x556e49[_0x477d('0x2513')]){_0x556e49['inboundroute']={'appdata':_0x477d('0x2515'),'type':'inbound','context':_0x477d('0x2516')};_0x556e49[_0x477d('0x49a')]=_0x477d('0x2517');_0x556e49['newInboundRoute']=!![];}_0x556e49[_0x477d('0x2518')]=_0x208eb5;_0x556e49[_0x477d('0x2519')]=_0x56970c;_0x556e49['deleteInboundRoute']=_0x5a52c5;_0x556e49[_0x477d('0xd6f')]=_0x386dc0;_0x556e49['closeDialog']=_0x579b03;_0x4475c3['hasRole'](_0x477d('0x5f'))?_0x539a0c['voiceContext']['get']({'fields':_0x477d('0x9c'),'sort':'name','nolimit':'true'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0xbd9ae2){_0x556e49[_0x477d('0xf32')]=_0xbd9ae2[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x33c39d){_0x535c04[_0x477d('0x44a')]({'title':_0x33c39d['status']?_0x477d('0x44b')+_0x33c39d[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x33c39d[_0x477d('0x44d')]:_0x477d('0x212b'),'msg':_0x33c39d[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x33c39d[_0x477d('0x451')]):_0x33c39d[_0x477d('0x453')]()});}):_0x539a0c[_0x477d('0xa6b')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':'name','nolimit':_0x477d('0x2ee')})['$promise']['then'](function(_0x143c20){_0x556e49[_0x477d('0xf32')]=_0x143c20[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x539a0c[_0x477d('0x3ac')]['get']({'userProfileId':_0x556e49[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x195})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x3c3297){var _0x276013=_0x3c3297&&_0x3c3297[_0x477d('0xf2')]?_0x3c3297[_0x477d('0xf2')][0x0]:null;if(!_0x276013){return _0x539a0c[_0x477d('0xa6b')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':'name','nolimit':'true','defaultEntry':0x1})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x5bc2e1){_0x556e49[_0x477d('0xf32')]=_0x5bc2e1[_0x477d('0xf2')]||[];});}else{if(!_0x276013[_0x477d('0x3ad')]){return _0x539a0c[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x276013['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x379bdb){var _0x3477fa=_[_0x477d('0x3cb')](_0x379bdb[_0x477d('0xf2')],function(_0x364a6d){return _[_0x477d('0x10a')](_0x556e49['contexts'],{'id':_0x364a6d['resourceId']});});var _0x43440e=null;if(_0x556e49[_0x477d('0x2513')]){_0x43440e=_[_0x477d('0x10a')](_0x556e49[_0x477d('0xf32')],{'name':_0x556e49[_0x477d('0x2513')][_0x477d('0xf47')]});}if(_0x43440e&&!_[_0x477d('0x3ab')](_0x3477fa,['id',_0x43440e['id']])){var _0x53efd7=_[_0x477d('0x10a')](_0x556e49['contexts'],{'id':_0x43440e['id']});_0x53efd7[_0x477d('0xf8b')]=![];_0x3477fa['push'](_0x53efd7);}_0x556e49[_0x477d('0xf32')]=_0x3477fa;});}}})[_0x477d('0xf8')](function(_0x19c3a6){_0x535c04[_0x477d('0x44a')]({'title':_0x19c3a6[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x19c3a6[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x19c3a6[_0x477d('0x44d')]:_0x477d('0x215b'),'msg':_0x19c3a6[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x19c3a6[_0x477d('0x451')]):_0x19c3a6['toString']()});});function _0x208eb5(){_0x556e49['errors']=[];_0x539a0c[_0x477d('0x21a5')]['save'](_0x556e49['inboundroute'])['$promise'][_0x477d('0x76')](function(_0x408a20){_0x556e49[_0x477d('0x2511')]['unshift'](_0x408a20[_0x477d('0xd71')]());_0x535c04['success']({'title':_0x477d('0x251a'),'msg':_0x556e49[_0x477d('0x2513')][_0x477d('0x94')]?_0x556e49[_0x477d('0x2513')]['name']+_0x477d('0xd73'):''});_0x579b03(_0x408a20);})['catch'](function(_0x538381){if(_0x538381[_0x477d('0x451')]&&_0x538381[_0x477d('0x451')][_0x477d('0xd67')]&&_0x538381[_0x477d('0x451')][_0x477d('0xd67')]['length']){_0x556e49['errors']=_0x538381[_0x477d('0x451')]['errors']||[{'message':_0x538381[_0x477d('0x453')](),'type':'api.voiceExtension.save'}];for(var _0x112637=0x0;_0x112637<_0x538381['data']['errors']['length'];_0x112637+=0x1){_0x535c04[_0x477d('0x44a')]({'title':_0x538381[_0x477d('0x451')][_0x477d('0xd67')][_0x112637]['type'],'msg':_0x538381[_0x477d('0x451')][_0x477d('0xd67')][_0x112637][_0x477d('0x452')]});}}else{_0x535c04[_0x477d('0x44a')]({'title':_0x538381[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x538381['status']+_0x477d('0x44c')+_0x538381['statusText']:'api.voiceExtension.save','msg':_0x538381['data']?JSON[_0x477d('0x3fb')](_0x538381[_0x477d('0x451')][_0x477d('0x452')]):_0x538381[_0x477d('0x453')]()});}});}function _0x56970c(){_0x556e49['errors']=[];_0x539a0c[_0x477d('0x21a5')][_0x477d('0x710')]({'id':_0x556e49[_0x477d('0x2513')]['id']},_0x556e49[_0x477d('0x2513')])['$promise'][_0x477d('0x76')](function(_0xb23d5){var _0x160395=_[_0x477d('0x10a')](_0x556e49[_0x477d('0x2511')],{'id':_0xb23d5['id']});if(_0x160395){_[_0x477d('0xef')](_0x160395,_[_0x477d('0x10b')](_0xb23d5[_0x477d('0xd71')](),_['keys'](_0x160395)));}_0x535c04[_0x477d('0x485')]({'title':_0x477d('0x251b'),'msg':_0x556e49[_0x477d('0x2513')][_0x477d('0x94')]?_0x556e49[_0x477d('0x2513')][_0x477d('0x94')]+'\x20has\x20been\x20saved!':''});_0x579b03(_0xb23d5);})['catch'](function(_0x3e5ab0){if(_0x3e5ab0[_0x477d('0x451')]&&_0x3e5ab0[_0x477d('0x451')]['errors']&&_0x3e5ab0[_0x477d('0x451')][_0x477d('0xd67')]['length']){_0x556e49[_0x477d('0xd67')]=_0x3e5ab0[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x3e5ab0['toString'](),'type':_0x477d('0x251c')}];for(var _0x238083=0x0;_0x238083<_0x3e5ab0[_0x477d('0x451')]['errors'][_0x477d('0x79')];_0x238083++){_0x535c04[_0x477d('0x44a')]({'title':_0x3e5ab0[_0x477d('0x451')][_0x477d('0xd67')][_0x238083][_0x477d('0x439')],'msg':_0x3e5ab0['data'][_0x477d('0xd67')][_0x238083][_0x477d('0x452')]});}}else{_0x535c04[_0x477d('0x44a')]({'title':_0x3e5ab0[_0x477d('0x3c3')]?'API:'+_0x3e5ab0['status']+'\x20-\x20'+_0x3e5ab0[_0x477d('0x44d')]:_0x477d('0x251c'),'msg':_0x3e5ab0[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x3e5ab0[_0x477d('0x451')][_0x477d('0x452')]):_0x3e5ab0['toString']()});}});}function _0x5a52c5(_0x571bab){_0x556e49[_0x477d('0xd67')]=[];var _0x1fcfd3=_0x241262[_0x477d('0xd78')]()[_0x477d('0x49a')]('Are\x20you\x20sure?')[_0x477d('0xdaf')](_0x477d('0x251d'))[_0x477d('0x687')](_0x477d('0x251e'))['ok']('Delete')[_0x477d('0x4f0')]('Cancel')[_0x477d('0xd7c')](_0x571bab);_0x241262[_0x477d('0x395')](_0x1fcfd3)['then'](function(){_0x539a0c['voiceExtension'][_0x477d('0xa55')]({'id':_0x556e49[_0x477d('0x2513')]['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x556e49[_0x477d('0x2511')],{'id':_0x556e49['inboundroute']['id']});_0x535c04[_0x477d('0x485')]({'title':_0x477d('0x251f'),'msg':(_0x556e49[_0x477d('0x2513')]['name']||'inboundroute')+'\x20has\x20been\x20deleted!'});_0x579b03(_0x556e49[_0x477d('0x2513')]);})[_0x477d('0xf8')](function(_0x5f33dc){if(_0x5f33dc[_0x477d('0x451')]&&_0x5f33dc[_0x477d('0x451')][_0x477d('0xd67')]&&_0x5f33dc['data'][_0x477d('0xd67')][_0x477d('0x79')]){_0x556e49[_0x477d('0xd67')]=_0x5f33dc[_0x477d('0x451')]['errors']||[{'message':_0x5f33dc[_0x477d('0x453')](),'type':_0x477d('0x2520')}];for(var _0x23904d=0x0;_0x23904d<_0x5f33dc[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x23904d++){_0x535c04[_0x477d('0x44a')]({'title':_0x5f33dc[_0x477d('0x451')][_0x477d('0xd67')][_0x23904d][_0x477d('0x439')],'msg':_0x5f33dc[_0x477d('0x451')]['errors'][_0x23904d]['message']});}}else{_0x535c04['error']({'title':_0x5f33dc[_0x477d('0x3c3')]?'API:'+_0x5f33dc['status']+'\x20-\x20'+_0x5f33dc['statusText']:_0x477d('0x2520'),'msg':_0x5f33dc['data']?JSON[_0x477d('0x3fb')](_0x5f33dc[_0x477d('0x451')][_0x477d('0x452')]):_0x5f33dc[_0x477d('0x452')]||_0x5f33dc[_0x477d('0x453')]()});}});},function(){});}function _0x386dc0(_0x2e95e8){return _0x2e95e8===null?undefined:new Date(_0x2e95e8);}function _0x579b03(_0x44ec1a){_0x241262[_0x477d('0x3bc')](_0x44ec1a);}}}());(function(){'use strict';_0x486f9c[_0x477d('0xa')]=[_0x477d('0x386'),'$mdDialog',_0x477d('0x475'),_0x477d('0x40e'),'Auth'];angular[_0x477d('0xb')](_0x477d('0x2f'))[_0x477d('0x3ba')](_0x477d('0x2521'),_0x486f9c);function _0x486f9c(_0xcfe9bd,_0x12ba5d,_0x3dcf9a,_0x4d68c4,_0x515e06){var _0x3b9a16=this;_0x3b9a16[_0x477d('0x3e5')]=_0x515e06[_0x477d('0x5c')]();_0x3b9a16[_0x477d('0x2513')]={};_0x3b9a16['inboundrouteApps']={'count':0x0,'rows':[]};_0x3b9a16[_0x477d('0x2522')]=[];_0x3b9a16[_0x477d('0xd66')];_0x3b9a16[_0x477d('0x3ef')]={'sort':_0x477d('0x1243')};_0x3b9a16[_0x477d('0x1244')]=_[_0x477d('0x691')](_[_0x477d('0x1245')]([{'app':_0x477d('0x1246'),'appType':_0x477d('0x79c'),'types':[_0x477d('0x1247'),_0x477d('0x9f6'),_0x477d('0xa02')],'fields':[],'isApp':![]},{'app':_0x477d('0x1258'),'appType':'queue','context':_0x477d('0x2516'),'type':_0x477d('0x2523'),'appdata':_0x477d('0x2524'),'icon':'icon-apps','options':'xX','interval':'*,*,*,*','answer':!![],'isApp':!![],'extraApi':[{'name':_0x477d('0xf30'),'field':{'name':'sound','key':_0x477d('0x2304'),'prefix':_0x477d('0x2525')},'route':_0x477d('0x15c9'),'filters':{'fields':'id,name,save_name','sort':_0x477d('0x94'),'nolimit':!![]},'permissions':{'section':0x3ef}},{'name':_0x477d('0xf2f'),'field':{'name':_0x477d('0x1256'),'key':'name'},'route':_0x477d('0xa76'),'filters':{'type':_0x477d('0x9e'),'fields':_0x477d('0x12de'),'sort':'name','nolimit':!![]},'permissions':{'section':0x191}}],'fields':[{'title':_0x477d('0x1258'),'name':'queue','type':'apiselect','values':'queues','value':_0x477d('0x1259'),'option':'queue.name','required':!![],'param':0x0},{'title':_0x477d('0x2526'),'name':_0x477d('0x43c'),'type':'text','param':0x1},{'title':_0x477d('0x2527'),'name':_0x477d('0x1831'),'type':_0x477d('0x41b'),'param':0x2},{'title':_0x477d('0x2528'),'name':'sound','type':'apiselect','values':_0x477d('0xf30'),'value':_0x477d('0x2529'),'option':_0x477d('0x252a'),'defaultValues':[{'value':'\x27\x27','option':_0x477d('0x124e')}],'param':0x3},{'title':'Timeout','name':'timeout','type':'number','min':0x0,'param':0x4},{'title':_0x477d('0x252b'),'name':_0x477d('0x12b0'),'type':_0x477d('0x41b'),'param':0x5},{'title':_0x477d('0x252c'),'name':_0x477d('0x252d'),'type':_0x477d('0x41b'),'param':0x6},{'title':'GoSub','name':_0x477d('0x252e'),'type':_0x477d('0x41b'),'param':0x7},{'title':_0x477d('0x252f'),'name':'rule','type':_0x477d('0x41b'),'param':0x8},{'title':'Position','name':_0x477d('0x68f'),'type':_0x477d('0x421'),'min':0x0,'param':0x9},{'title':_0x477d('0x2415'),'name':_0x477d('0x605'),'type':_0x477d('0x169f'),'general':!![]}]},{'app':_0x477d('0x2530'),'appType':_0x477d('0x2531'),'context':_0x477d('0x2516'),'type':_0x477d('0x2523'),'icon':_0x477d('0x1248'),'interval':_0x477d('0x1249'),'answer':!![],'isApp':!![],'extraApi':[{'name':'sounds','field':{'name':_0x477d('0x15c9'),'key':_0x477d('0x2304'),'prefix':_0x477d('0x2525')},'route':'sound','filters':{'fields':_0x477d('0x2532'),'sort':_0x477d('0x94'),'nolimit':!![]},'permissions':{'section':0x3ef}}],'fields':[{'title':_0x477d('0x2533'),'name':_0x477d('0x12ae'),'type':_0x477d('0x124c'),'values':_0x477d('0xf30'),'value':_0x477d('0x2534'),'option':_0x477d('0x2535'),'required':!![],'param':0x0},{'title':_0x477d('0x2526'),'name':'options','type':'text','param':0x1},{'title':_0x477d('0x2415'),'name':_0x477d('0x605'),'type':'switch','general':!![]}]},{'app':_0x477d('0x2536'),'appType':_0x477d('0x2537'),'context':_0x477d('0x2516'),'type':_0x477d('0x2523'),'icon':'icon-apps','interval':_0x477d('0x1249'),'options':'xX','isApp':!![],'fields':[{'title':_0x477d('0x2538'),'name':'tech','type':_0x477d('0x41b'),'required':!![],'param':0x0},{'title':'Timeout','name':'timeout','type':_0x477d('0x421'),'min':0x0,'param':0x1},{'title':_0x477d('0x2526'),'name':'options','type':_0x477d('0x41b'),'param':0x2},{'title':'Url','name':_0x477d('0x3c1'),'type':'text','param':0x3}]},{'app':'Dial','appType':_0x477d('0x2539'),'context':_0x477d('0x2516'),'type':_0x477d('0x2523'),'icon':_0x477d('0x1248'),'interval':_0x477d('0x1249'),'options':'xX','isApp':!![],'extraApi':[{'name':_0x477d('0xf2d'),'field':{'name':_0x477d('0x380'),'key':_0x477d('0x94'),'prefix':'SIP/'},'route':_0x477d('0x380'),'filters':{'fields':_0x477d('0x253a'),'sort':'name','nolimit':!![]},'permissions':{'sections':[{'id':0xca,'role':_0x477d('0xcf')},{'id':0xcb,'role':_0x477d('0x295')}]}}],'fields':[{'title':_0x477d('0x167b'),'name':'user','type':_0x477d('0x124c'),'values':_0x477d('0xf2d'),'value':_0x477d('0x253b'),'option':_0x477d('0x253c'),'required':!![],'param':0x0},{'title':_0x477d('0x125a'),'name':_0x477d('0x91b'),'type':'number','min':0x0,'param':0x1},{'title':_0x477d('0x2526'),'name':_0x477d('0x43c'),'type':'text','param':0x2},{'title':'Url','name':'url','type':_0x477d('0x41b'),'param':0x3}]},{'app':_0x477d('0x2536'),'appType':'externalDial','context':_0x477d('0x2516'),'type':'inbound','icon':_0x477d('0x1248'),'interval':_0x477d('0x1249'),'options':'xX','isApp':!![],'extraApi':[{'name':'trunks','field':{'name':'trunk','key':'name'},'route':_0x477d('0xaa8'),'filters':{'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':!![]},'permissions':{'section':0x3f3}}],'fields':[{'title':'Trunk','name':_0x477d('0xaa8'),'type':_0x477d('0x124c'),'values':_0x477d('0xf2e'),'value':_0x477d('0x253d'),'option':_0x477d('0x253d'),'required':!![],'param':0x0},{'title':_0x477d('0xf85'),'name':'phone','required':!![],'type':_0x477d('0x41b')},{'title':_0x477d('0x125a'),'name':'timeout','type':_0x477d('0x421'),'min':0x0,'param':0x1},{'title':_0x477d('0x2526'),'name':_0x477d('0x43c'),'type':_0x477d('0x41b'),'param':0x2},{'title':_0x477d('0x2527'),'name':_0x477d('0x3c1'),'type':_0x477d('0x41b'),'param':0x3}]},{'app':'Dial','appType':_0x477d('0x253e'),'context':'from-voip-provider','type':'inbound','icon':'icon-apps','interval':_0x477d('0x1249'),'options':'xX','isApp':!![],'extraApi':[{'name':'users','field':{'name':'multipleUsers','key':_0x477d('0x94'),'prefix':_0x477d('0x253f')},'route':'user','filters':{'fields':_0x477d('0x253a'),'sort':_0x477d('0x94'),'nolimit':!![]},'permissions':{'sections':[{'id':0xca,'role':'agent'},{'id':0xcb,'role':_0x477d('0x295')}]}}],'fields':[{'title':'User','name':'multipleUsers','type':_0x477d('0x124c'),'multiple':!![],'values':_0x477d('0xf2d'),'value':_0x477d('0x2540'),'option':_0x477d('0x2541'),'required':!![],'param':0x0},{'title':_0x477d('0x125a'),'name':_0x477d('0x91b'),'type':_0x477d('0x421'),'min':0x0,'param':0x1},{'title':_0x477d('0x2526'),'name':'options','type':'text','param':0x2},{'title':_0x477d('0x2527'),'name':_0x477d('0x3c1'),'type':_0x477d('0x41b'),'param':0x3}]},{'app':'AGI','alias':'CallySquare','appType':_0x477d('0x12b0'),'context':'from-voip-provider','type':_0x477d('0x9e'),'icon':_0x477d('0x1248'),'interval':_0x477d('0x1249'),'isApp':!![],'extraApi':[{'name':'projects','field':{'name':'project','key':_0x477d('0x94'),'prefix':_0x477d('0x2542')},'route':_0x477d('0xc99'),'filters':{'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':!![]},'permissions':{'section':0x44f}}],'fields':[{'title':_0x477d('0x2543'),'name':'project','type':'apiselect','values':_0x477d('0xf12'),'value':_0x477d('0x2544'),'option':_0x477d('0x2545'),'required':!![],'param':0x0}]},{'app':_0x477d('0x1250'),'appType':_0x477d('0x2546'),'context':'from-voip-provider','type':_0x477d('0x2523'),'icon':'icon-apps','interval':_0x477d('0x1249'),'isApp':!![],'extraApi':[{'name':'contexts','field':{'name':_0x477d('0xf47'),'key':_0x477d('0x94')},'route':'voiceContext','filters':{'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':!![]},'permissions':{'section':0x195}}],'fields':[{'title':_0x477d('0x2502'),'name':'context','type':'apiselect','values':'contexts','value':_0x477d('0x2547'),'option':_0x477d('0x2547'),'required':!![],'param':0x0},{'title':_0x477d('0x2548'),'name':_0x477d('0xf48'),'type':'text','required':!![],'param':0x1},{'title':_0x477d('0x1251'),'name':_0x477d('0x1243'),'type':_0x477d('0x41b'),'required':!![],'param':0x2}]},{'app':'hangup','appType':'hangup','context':'from-voip-provider','type':'Inbound','icon':'icon-apps','interval':_0x477d('0x1249'),'isApp':!![],'fields':[{'title':_0x477d('0x2549'),'name':_0x477d('0x12ae'),'type':'select','param':0x0,'values':[{'option':_0x477d('0x254a'),'value':'\x271\x27'},{'option':'HANGUPCAUSE_16','value':_0x477d('0x254b')},{'option':_0x477d('0x254c'),'value':_0x477d('0x254d')},{'option':_0x477d('0x254e'),'value':_0x477d('0x254f')},{'option':_0x477d('0x2550'),'value':_0x477d('0x2551')},{'option':'HANGUPCAUSE_22','value':_0x477d('0x2552')},{'option':_0x477d('0x2553'),'value':_0x477d('0x2554')},{'option':_0x477d('0x2555'),'value':'\x2738\x27'},{'option':_0x477d('0x2556'),'value':_0x477d('0x2557')}],'translate':!![],'required':!![],'general':!![]}]},{'app':_0x477d('0x2558'),'appType':_0x477d('0x12af'),'context':_0x477d('0x2516'),'type':'Inbound','separator':'=','icon':'icon-apps','interval':_0x477d('0x1249'),'extraApi':[{'name':_0x477d('0xf31'),'field':{'name':_0x477d('0x94'),'key':_0x477d('0x94')},'route':_0x477d('0xbb9'),'filters':{'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':!![]},'permissions':{'section':0x3f4}}],'isApp':!![],'fields':[{'title':_0x477d('0x124b'),'name':'name','type':'apiselect','values':_0x477d('0xf31'),'value':_0x477d('0x2559'),'option':_0x477d('0x2559'),'required':!![],'param':0x0},{'title':_0x477d('0x1918'),'name':_0x477d('0x3b6'),'type':_0x477d('0x41b'),'required':!![],'param':0x1}]},{'app':null,'appType':_0x477d('0x9f6'),'icon':_0x477d('0x1248'),'type':_0x477d('0x2523'),'interval':_0x477d('0x1249'),'isApp':!![],'fields':[{'title':_0x477d('0x255a'),'name':_0x477d('0x1291'),'type':_0x477d('0x41b'),'required':!![],'param':0x0},{'title':_0x477d('0x255b'),'name':_0x477d('0x12ae'),'type':_0x477d('0x41b'),'param':0x1}]},{'app':_0x477d('0x255c'),'appType':_0x477d('0x255d'),'context':_0x477d('0x2516'),'icon':_0x477d('0x1248'),'type':'Inbound','interval':_0x477d('0x1249'),'isApp':!![],'extraApi':[{'name':_0x477d('0x255e'),'field':{'name':_0x477d('0xa8c'),'key':_0x477d('0xf4e'),'suffix':_0x477d('0x255f')},'route':_0x477d('0xa8c'),'filters':{'fields':'id,mailbox','sort':_0x477d('0xf4e'),'nolimit':!![]},'permissions':{'section':0x196}}],'fields':[{'title':_0x477d('0x2560'),'name':_0x477d('0xa8c'),'type':_0x477d('0x124c'),'values':_0x477d('0x255e'),'value':_0x477d('0x2561'),'option':_0x477d('0x2562'),'required':!![],'param':0x0},{'title':_0x477d('0x2526'),'name':'options','type':_0x477d('0x41b'),'param':0x1}]}],['app']),{'isApp':![]});_0x3b9a16[_0x477d('0xa02')]={'group':{'name':_0x477d('0x1284'),'pull':_0x477d('0x117f')},'animation':0x64,'sort':![]};_0x3b9a16['applications']={'group':{'name':_0x477d('0x1286'),'put':_0x477d('0x1284')},'animation':0x64,'onAdd':function(_0x5c344f){_0x41350e(_0x5c344f,_0x5c344f[_0x477d('0x191a')]);},'onSort':function(_0x5f23eb){_0x30fbcb();}};_0x3b9a16[_0x477d('0x5ee')]=_0x5b772e;_0x3b9a16['deleteConfirm']=_0x99a547;_0x3b9a16[_0x477d('0x2563')]=_0x1de461;_0x3b9a16[_0x477d('0x2564')]=_0x41350e;_0x3b9a16['editInterval']=_0x47f7e9;_0x3b9a16[_0x477d('0x2565')]=_0x1cd01d;_0x3b9a16[_0x477d('0x2566')]=_0x453061;_0x3b9a16['rewriteRouting']=_0x30fbcb;_0x3b9a16[_0x477d('0x128f')]=_0x6da623;function _0x5b772e(_0x700137,_0x430006){_0x3b9a16[_0x477d('0x2513')]=_0x700137;_0x3b9a16[_0x477d('0xd66')]=typeof _0x430006!=='undefined'?_0x430006:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x3b9a16[_0x477d('0x1285')][_0x477d('0x45c')]=!_0x3b9a16['crudPermissions'][_0x477d('0xedb')]?!![]:![];_0x3b9a16[_0x477d('0x3ef')]['VoiceExtensionId']=_0x700137['id'];_0x3b9a16['query'][_0x477d('0x128d')]=!![];_0x3b9a16[_0x477d('0x3ef')][_0x477d('0x128e')]=!![];_0x3b9a16['getInboundRouteApps']();_0x3b9a16[_0x477d('0x128f')]();}function _0x99a547(_0x47094c,_0x46e0ab,_0x28a706){var _0x5cd7fa=_0x12ba5d['confirm']()[_0x477d('0x49a')](_0x477d('0x1290'))[_0x477d('0xd92')](_0x477d('0xd93')+_0x47094c['app']+_0x477d('0xd94')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x1292'))['targetEvent'](_0x28a706)['ok']('OK')['cancel'](_0x477d('0xd97'));_0x12ba5d[_0x477d('0x395')](_0x5cd7fa)[_0x477d('0x76')](function(){_0x3b9a16[_0x477d('0x2567')]['rows']['splice'](_0x46e0ab,0x1);_0x30fbcb();},function(){console[_0x477d('0x7b')](_0x477d('0xd97'));});}function _0x41350e(_0x119d74,_0x530ad7){if(_0x3b9a16[_0x477d('0x2567')][_0x477d('0xf2')][_0x477d('0x79')]){var _0x373467=_0x3b9a16['inboundrouteApps'][_0x477d('0xf2')][_0x530ad7]?_0x3b9a16['inboundrouteApps'][_0x477d('0xf2')][_0x530ad7]:_0x3b9a16[_0x477d('0x2567')][_0x477d('0xf2')][0x0];_0x12ba5d[_0x477d('0x395')]({'controller':_0x477d('0x2568')+(_0x373467['appType']||_0x373467[_0x477d('0x1291')])[_0x477d('0x449')]()+_0x477d('0x1295'),'controllerAs':'vm','templateUrl':'app/main/apps/voice/views/inboundroutes/edit/apps/'+(_0x373467[_0x477d('0x1294')]||_0x373467[_0x477d('0x1291')])[_0x477d('0x449')]()+_0x477d('0x1296'),'parent':angular[_0x477d('0x398')](_0x3dcf9a[_0x477d('0x399')]),'targetEvent':_0x119d74,'clickOutsideToClose':!![],'locals':{'inboundrouteApp':_0x373467,'inboundroute':_0x3b9a16[_0x477d('0x2513')],'crudPermissions':_0x3b9a16[_0x477d('0xd66')]}})['then'](function(_0x3f1ff2){if(_0x3f1ff2){if(_0x3f1ff2['id']){_0x3b9a16[_0x477d('0x2567')]['rows'][_0x530ad7]=_0x3f1ff2;}else{_0x3b9a16[_0x477d('0x2567')]['rows'][_0x477d('0x45b')](_0x530ad7,0x0,_0x3f1ff2);}_0x30fbcb();}})['catch'](function(_0x14fe3f){if(_0x14fe3f){_0x4d68c4[_0x477d('0x44a')]({'title':_0x14fe3f[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x14fe3f['status']+_0x477d('0x44c')+_0x14fe3f[_0x477d('0x44d')]:'SYSTEM:EDITMODALSHOW','msg':_0x14fe3f['data']?JSON[_0x477d('0x3fb')](_0x14fe3f[_0x477d('0x451')]):_0x14fe3f['toString']()});}});}}function _0x47f7e9(_0x4b1a7c,_0x3da6e2){if(_0x3b9a16[_0x477d('0x2567')][_0x477d('0xf2')]['length']){var _0x3f1579=_0x3b9a16[_0x477d('0x2567')][_0x477d('0xf2')][_0x3da6e2]?_0x3b9a16[_0x477d('0x2567')][_0x477d('0xf2')][_0x3da6e2]:_0x3b9a16[_0x477d('0x2567')][_0x477d('0xf2')][0x0];_0x12ba5d['show']({'controller':_0x477d('0x2569'),'controllerAs':'vm','templateUrl':_0x477d('0x256a'),'parent':angular[_0x477d('0x398')](_0x3dcf9a['body']),'targetEvent':_0x4b1a7c,'clickOutsideToClose':!![],'locals':{'interval':{'interval':_0x3f1579[_0x477d('0x79c')],'IntervalId':_0x3f1579[_0x477d('0xf8c')],'application':!![]},'intervals':[],'crudPermissions':_0x3b9a16[_0x477d('0xd66')]}})[_0x477d('0x76')](function(_0x399035){if(_0x399035){_0x3f1579[_0x477d('0x79c')]=_0x399035[_0x477d('0x79c')]||_0x477d('0x1249');_0x3f1579[_0x477d('0xf8c')]=_0x399035[_0x477d('0xf8c')]||null;_0x30fbcb();}});}}function _0x30fbcb(){var _0x468b1e=[_0x477d('0x1256'),_0x477d('0x2531')];var _0x3b49fb=0x2;var _0x3a32c3=[];_0x3a32c3[_0x477d('0x3a7')]({'type':_0x477d('0x9e'),'app':_0x477d('0x2558'),'appdata':_0x477d('0x256b'),'context':_0x3b9a16[_0x477d('0x2513')][_0x477d('0xf47')],'exten':_0x3b9a16[_0x477d('0x2513')]['exten'],'priority':_0x3b49fb++,'VoiceExtensionId':_0x3b9a16[_0x477d('0x2513')]['id']});_0x3a32c3[_0x477d('0x3a7')]({'type':_0x477d('0x9e'),'app':'Set','appdata':_0x477d('0x256c'),'context':_0x3b9a16[_0x477d('0x2513')][_0x477d('0xf47')],'exten':_0x3b9a16[_0x477d('0x2513')][_0x477d('0x1299')],'priority':_0x3b49fb++,'VoiceExtensionId':_0x3b9a16['inboundroute']['id']});_0x3a32c3[_0x477d('0x3a7')]({'type':_0x477d('0x9e'),'app':'Set','appdata':_0x477d('0x256d'),'context':_0x3b9a16['inboundroute'][_0x477d('0xf47')],'exten':_0x3b9a16[_0x477d('0x2513')][_0x477d('0x1299')],'priority':_0x3b49fb++,'VoiceExtensionId':_0x3b9a16['inboundroute']['id']});_0x3a32c3['push']({'type':_0x477d('0x9e'),'app':_0x477d('0x2558'),'appdata':_0x477d('0x256e'),'context':_0x3b9a16['inboundroute']['context'],'exten':_0x3b9a16[_0x477d('0x2513')][_0x477d('0x1299')],'priority':_0x3b49fb++,'VoiceExtensionId':_0x3b9a16['inboundroute']['id']});for(var _0x4f56c9=0x0,_0x10c11c=0x0;_0x4f56c9<_0x3b9a16[_0x477d('0x2567')]['rows'][_0x477d('0x79')];_0x4f56c9++,_0x10c11c=0x0){var _0x590039=_0x3b9a16[_0x477d('0x2567')]['rows'][_0x4f56c9];var _0x272495=[];var _0x13b265=[];_0x590039[_0x477d('0x1298')]=_0x590039[_0x477d('0x79c')]!==_0x477d('0x1249')?[_0x590039['interval']]:_0x590039[_0x477d('0xf8c')]?_[_0x477d('0x3cb')](_[_0x477d('0x3b3')](_0x3b9a16[_0x477d('0x1298')][_0x477d('0xf2')],{'IntervalId':_0x590039[_0x477d('0xf8c')]}),'interval'):[];_0x590039[_0x477d('0xf47')]=_0x3b9a16[_0x477d('0x2513')][_0x477d('0xf47')];_0x590039[_0x477d('0x1299')]=_0x3b9a16['inboundroute'][_0x477d('0x1299')];if(_0x590039[_0x477d('0x439')]){_0x590039[_0x477d('0x439')]=_0x590039['type'][_0x477d('0x449')]();}if(_0x590039['hasOwnProperty'](_0x477d('0x605'))){if(_0x468b1e[_0x477d('0x3a4')](_0x590039[_0x477d('0x1291')][_0x477d('0x449')]())&&_0x590039[_0x477d('0x1294')]!==_0x477d('0x9f6')){if(_0x590039[_0x477d('0x605')]){_0x272495['push']({'type':_0x590039['type'][_0x477d('0x449')](),'app':_0x477d('0x256f'),'appdata':_0x477d('0x2570'),'context':_0x3b9a16['inboundroute']['context'],'exten':_0x3b9a16[_0x477d('0x2513')][_0x477d('0x1299')],'priority':_0x590039[_0x477d('0x1298')][_0x477d('0x79')]+_0x3b49fb+_0x10c11c++,'VoiceExtensionId':_0x3b9a16['inboundroute']['id']});_0x272495[_0x477d('0x3a7')]({'type':_0x590039['type'][_0x477d('0x449')](),'app':_0x477d('0x2558'),'appdata':_0x477d('0x2571'),'context':_0x3b9a16[_0x477d('0x2513')][_0x477d('0xf47')],'exten':_0x3b9a16[_0x477d('0x2513')][_0x477d('0x1299')],'priority':_0x590039[_0x477d('0x1298')][_0x477d('0x79')]+_0x3b49fb+_0x10c11c++,'VoiceExtensionId':_0x3b9a16[_0x477d('0x2513')]['id']});}else{_0x272495[_0x477d('0x3a7')]({'type':_0x590039[_0x477d('0x439')]['toLowerCase'](),'app':_0x477d('0x256f'),'appdata':'$[${XCALLY-MOTION-PROGRESS}=0]?Progress','context':_0x3b9a16[_0x477d('0x2513')][_0x477d('0xf47')],'exten':_0x3b9a16[_0x477d('0x2513')][_0x477d('0x1299')],'priority':_0x590039[_0x477d('0x1298')]['length']+_0x3b49fb+_0x10c11c++,'VoiceExtensionId':_0x3b9a16[_0x477d('0x2513')]['id']});_0x272495[_0x477d('0x3a7')]({'type':_0x590039[_0x477d('0x439')][_0x477d('0x449')](),'app':_0x477d('0x2558'),'appdata':_0x477d('0x2572'),'context':_0x3b9a16[_0x477d('0x2513')]['context'],'exten':_0x3b9a16[_0x477d('0x2513')]['exten'],'priority':_0x590039['intervals'][_0x477d('0x79')]+_0x3b49fb+_0x10c11c++,'VoiceExtensionId':_0x3b9a16[_0x477d('0x2513')]['id']});}}}for(var _0x4697b4=0x0;_0x4697b4<_0x590039['intervals'][_0x477d('0x79')];_0x4697b4++){var _0x4a7a2d=_0x3b49fb+_0x590039['intervals']['length'];var _0x173ac9=_0x4697b4===_0x590039[_0x477d('0x1298')][_0x477d('0x79')]-0x1?_0x3b49fb+_0x272495[_0x477d('0x79')]+_0x13b265[_0x477d('0x79')]+0x2:_0x3b49fb+_0x4697b4+0x1;_0x272495[_0x477d('0x45b')](_0x4697b4,0x0,{'type':_0x477d('0x9e'),'app':_0x477d('0x2573'),'appdata':_0x590039[_0x477d('0x1298')][_0x4697b4]+'?'+_0x3b9a16[_0x477d('0x2513')][_0x477d('0xf47')]+_0x477d('0x2574')+_0x4a7a2d+':'+_0x3b9a16[_0x477d('0x2513')][_0x477d('0xf47')]+_0x477d('0x2574')+_0x173ac9,'exten':_0x3b9a16[_0x477d('0x2513')][_0x477d('0x1299')],'context':_0x3b9a16['inboundroute']['context'],'priority':_0x3b49fb+_0x4697b4,'VoiceExtensionId':_0x3b9a16[_0x477d('0x2513')]['id']});}_0x590039[_0x477d('0x1243')]=_0x272495[_0x477d('0x79')]?_[_0x477d('0x601')](_0x272495)[_0x477d('0x1243')]+0x1:_0x3b49fb;_0x3b49fb=(_0x13b265[_0x477d('0x79')]?_[_0x477d('0x601')](_0x13b265)[_0x477d('0x1243')]:_0x590039['priority'])+0x1;_0x3a32c3=_['concat'](_0x3a32c3,_0x272495,[_0x590039],_0x13b265);}_0x3a32c3[_0x477d('0x3a7')]({'type':_0x477d('0x9e'),'app':'Hangup','exten':_0x3b9a16[_0x477d('0x2513')][_0x477d('0x1299')],'context':_0x3b9a16[_0x477d('0x2513')][_0x477d('0xf47')],'priority':_0x3b49fb,'VoiceExtensionId':_0x3b9a16[_0x477d('0x2513')]['id']});_0xcfe9bd['voiceExtension'][_0x477d('0x129a')]({'id':_0x3b9a16[_0x477d('0x2513')]['id']},_[_0x477d('0x1245')](_0x3a32c3,_0x477d('0x1243')))[_0x477d('0x38b')]['then'](function(_0x2aeb65){_0x3b9a16['inboundrouteApps'][_0x477d('0xf2')]=_0x2aeb65[_0x477d('0xf2')];})['catch'](function(_0xe28432){console[_0x477d('0x44a')](_0xe28432);});}function _0x476ec7(_0x443407){_0x3b9a16[_0x477d('0x2567')]=_0x443407||{'count':0x0,'rows':[]};}function _0x6da623(){return _0xcfe9bd[_0x477d('0x79c')]['get']({'fields':_0x477d('0x1923')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x3ac990){_0x3b9a16[_0x477d('0x1298')]=_0x3ac990;})[_0x477d('0xf8')](function(_0x5d5c00){console[_0x477d('0x44a')](_0x5d5c00);});}function _0x1de461(){_0x3b9a16[_0x477d('0x553')]=_0xcfe9bd[_0x477d('0x21a5')][_0x477d('0x376')](_0x3b9a16['query'],_0x476ec7)[_0x477d('0x38b')];}function _0x1cd01d(_0x409b10){_[_0x477d('0x39c')](_0x3b9a16[_0x477d('0x2567')][_0x477d('0xf2')],{'id':_0x409b10['id']});_0x30fbcb();_0x4d68c4[_0x477d('0x485')]({'title':_0x477d('0x2053'),'msg':_0x409b10[_0x477d('0x1291')]?_0x409b10['app']+_0x477d('0xd7e'):''});}function _0x453061(_0x4081f1){var _0x4df51b=_0x12ba5d[_0x477d('0xd78')]()['title'](_0x477d('0x129b'))[_0x477d('0xd92')](_0x477d('0xd93')+_0x3b9a16[_0x477d('0x2522')][_0x477d('0x79')]+_0x477d('0xda0')+'\x20will\x20be\x20deleted.')[_0x477d('0x687')](_0x477d('0x129c'))[_0x477d('0xd7c')](_0x4081f1)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x12ba5d[_0x477d('0x395')](_0x4df51b)[_0x477d('0x76')](function(){_0x3b9a16[_0x477d('0x2522')][_0x477d('0x3b1')](function(_0x320c75){_[_0x477d('0x39c')](_0x3b9a16[_0x477d('0x2567')][_0x477d('0xf2')],{'id':_0x320c75['id']});});_0x3b9a16['selectedInboundRouteApps']=[];_0x30fbcb();});}}}());(function(){'use strict';_0x1dd61b[_0x477d('0xa')]=[_0x477d('0x384'),'$q',_0x477d('0x40e'),_0x477d('0x2575'),'inboundroute',_0x477d('0x386'),_0x477d('0x55'),_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x2f'))[_0x477d('0x3ba')](_0x477d('0x2576'),_0x1dd61b);function _0x1dd61b(_0x238a8b,_0x348e14,_0x58bd16,_0xf46ac2,_0x33e2aa,_0x471f6e,_0x235585,_0x3ab42d){var _0x3a6d85=this;_0x3a6d85[_0x477d('0x3e5')]=_0x235585[_0x477d('0x5c')]();_0x3a6d85[_0x477d('0xd67')]=[];_0x3a6d85[_0x477d('0x49a')]=_0x477d('0x2577')+(_0xf46ac2[_0x477d('0x1294')]||_0xf46ac2[_0x477d('0x1291')])[_0x477d('0x44f')]();_0x3a6d85[_0x477d('0x12b0')]=angular[_0x477d('0x6d9')](_0xf46ac2);_0x3a6d85[_0x477d('0xd66')]=_0x3ab42d;_0x3a6d85[_0x477d('0xd68')]={};if(_0x3a6d85[_0x477d('0x12b0')][_0x477d('0x12ae')]){switch(_0x3a6d85[_0x477d('0x12b0')][_0x477d('0x1294')]?_0x3a6d85[_0x477d('0x12b0')][_0x477d('0x1294')][_0x477d('0x449')]():_0x3a6d85[_0x477d('0x12b0')][_0x477d('0x1291')][_0x477d('0x449')]()){case _0x477d('0x9f6'):break;case'dialogflow':var _0x3bde81=_0x3a6d85[_0x477d('0x12b0')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x3a6d85[_0x477d('0x12b0')]['key']=_0x3bde81[0x0];_0x3a6d85[_0x477d('0x12b0')][_0x477d('0x1267')]=_0x3bde81[0x1];_0x3a6d85['agi'][_0x477d('0x127a')]=_0x3bde81['slice'](0x2,_0x3bde81['length'])[_0x477d('0x3f6')](',');break;case _0x477d('0x127c'):var _0x3bde81=_0x3a6d85['agi'][_0x477d('0x12ae')]['split'](',');_0x3a6d85[_0x477d('0x12b0')][_0x477d('0x127d')]=_0x3bde81[0x0];_0x3a6d85[_0x477d('0x12b0')][_0x477d('0x127e')]=_0x3bde81[0x1];_0x3a6d85[_0x477d('0x12b0')][_0x477d('0x127f')]=_0x3bde81[0x2];_0x3a6d85[_0x477d('0x12b0')][_0x477d('0x1283')]=_0x3bde81[0x3];_0x3a6d85['agi'][_0x477d('0x127a')]=_0x3bde81[_0x477d('0x9cd')](0x4,_0x3bde81[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x1260'):var _0x3bde81=_0x3a6d85[_0x477d('0x12b0')][_0x477d('0x12ae')]['split'](',');_0x3a6d85[_0x477d('0x12b0')][_0x477d('0x1261')]=isNaN(_0x3bde81[0x0])?_0x3bde81[0x0]:parseInt(_0x3bde81[0x0],0xa);_0x3a6d85[_0x477d('0x12b0')][_0x477d('0x41b')]=_0x3bde81[_0x477d('0x9cd')](0x1,_0x3bde81['length'])[_0x477d('0x3f6')](',');break;case _0x477d('0x452'):_0x3a6d85[_0x477d('0x12b0')][_0x477d('0x41b')]=_0x3a6d85[_0x477d('0x12b0')]['appdata'];break;case _0x477d('0x12af'):_0x3a6d85[_0x477d('0x12b0')]['name']=_0x3a6d85[_0x477d('0x12b0')][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x0];_0x3a6d85[_0x477d('0x12b0')][_0x477d('0x3b6')]=_0x3a6d85['agi'][_0x477d('0x12ae')]['split']('=')[0x1];break;case _0x477d('0x12b0'):_0x3a6d85[_0x477d('0x12b0')][_0x477d('0xf13')]=_0x3a6d85['agi'][_0x477d('0x12ae')];break;default:var _0xc998a1=_0x3a6d85[_0x477d('0x12b0')][_0x477d('0x12ae')]['split'](',');_0x3a6d85[_0x477d('0x12b0')][_0x477d('0xf13')]=_[_0x477d('0x3b2')](_0xc998a1[0x0])?_0xc998a1[0x0]:isNaN(_0xc998a1[0x0])?_0xc998a1[0x0]:parseInt(_0xc998a1[0x0],0xa);}}else{}if(_0x3a6d85['agi'][_0x477d('0x439')]&&_0x3a6d85[_0x477d('0x12b0')][_0x477d('0x439')][_0x477d('0x449')]()===_0x477d('0x127')&&_0x3a6d85[_0x477d('0x12b0')]['appType'][_0x477d('0x449')]()===_0x477d('0x12b1')){_0x3a6d85[_0x477d('0x12b0')][_0x477d('0x6c0')]=_0x3a6d85[_0x477d('0x12b0')][_0x477d('0xf46')]?_0x3a6d85[_0x477d('0x12b0')][_0x477d('0xf46')][_0x477d('0x472')]('$')[0x0]:undefined;_0x3a6d85[_0x477d('0x12b0')][_0x477d('0x69b')]=_0x3a6d85[_0x477d('0x12b0')]['callerID']?'CALLERID(all)='+_0x3a6d85[_0x477d('0x12b0')][_0x477d('0x12b2')]:undefined;}_0x3a6d85[_0x477d('0x2578')]=_0x106104;_0x3a6d85[_0x477d('0x6bf')]=_0x3c0dd2;_0x235585[_0x477d('0x56')](_0x477d('0x5f'))?_0x471f6e['squareProject'][_0x477d('0x376')]({'fields':'id,name','sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')]['then'](function(_0x2fcf5f){_0x3a6d85['projects']=_0x2fcf5f[_0x477d('0xf2')]||[];})['catch'](function(_0x493879){_0x58bd16['error']({'title':_0x493879[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x493879[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x493879[_0x477d('0x44d')]:_0x477d('0x1d8e'),'msg':_0x493879[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x493879[_0x477d('0x451')]):_0x493879['toString']()});}):_0x471f6e[_0x477d('0xc99')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':'true'})[_0x477d('0x38b')]['then'](function(_0x5b5c0b){_0x3a6d85[_0x477d('0xf12')]=_0x5b5c0b[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x471f6e[_0x477d('0x3ac')]['get']({'userProfileId':_0x3a6d85[_0x477d('0x3e5')]['userProfileId'],'sectionId':0x44f})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x1887c5){var _0x5a9a3e=_0x1887c5&&_0x1887c5['rows']?_0x1887c5['rows'][0x0]:null;if(!_0x5a9a3e){var _0xe52a84=[];var _0x7b0c34=null;if(_0x3a6d85[_0x477d('0x12b0')]){_0x7b0c34=_[_0x477d('0x10a')](_0x3a6d85[_0x477d('0xf12')],{'name':_0x3a6d85['agi'][_0x477d('0xf13')]});}for(var _0x423ddb=0x0;_0x423ddb<_0x3a6d85[_0x477d('0xf12')][_0x477d('0x79')];_0x423ddb++){if(_0x7b0c34&&_0x3a6d85['projects'][_0x423ddb]['id']===_0x7b0c34['id']){_0x3a6d85[_0x477d('0xf12')][_0x423ddb][_0x477d('0xf8b')]=![];_0xe52a84[_0x477d('0x3a7')](_0x3a6d85[_0x477d('0xf12')][_0x423ddb]);}}_0x3a6d85[_0x477d('0xf12')]=_0xe52a84;}else{if(!_0x5a9a3e[_0x477d('0x3ad')]){return _0x471f6e['userProfileResource'][_0x477d('0x376')]({'sectionId':_0x5a9a3e['id']})['$promise'][_0x477d('0x76')](function(_0x59b9dd){var _0x35b4e6=_[_0x477d('0x3cb')](_0x59b9dd[_0x477d('0xf2')],function(_0x1128b0){return _['find'](_0x3a6d85[_0x477d('0xf12')],{'id':_0x1128b0[_0x477d('0x3af')]});});var _0x3dbc59=null;if(_0x3a6d85[_0x477d('0x12b0')]){_0x3dbc59=_[_0x477d('0x10a')](_0x3a6d85[_0x477d('0xf12')],{'name':_0x3a6d85[_0x477d('0x12b0')]['project']});}if(_0x3dbc59&&!_[_0x477d('0x3ab')](_0x35b4e6,['id',_0x3dbc59['id']])){var _0x46b38f=_[_0x477d('0x10a')](_0x3a6d85['projects'],{'id':_0x3dbc59['id']});_0x46b38f[_0x477d('0xf8b')]=![];_0x35b4e6['push'](_0x46b38f);}_0x3a6d85[_0x477d('0xf12')]=_0x35b4e6;});}}})[_0x477d('0xf8')](function(_0x447256){_0x58bd16['error']({'title':_0x447256[_0x477d('0x3c3')]?'API:'+_0x447256[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x447256[_0x477d('0x44d')]:_0x477d('0x1d90'),'msg':_0x447256[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x447256[_0x477d('0x451')]):_0x447256[_0x477d('0x453')]()});});function _0x106104(){_0x3a6d85[_0x477d('0xd67')]=[];var _0x430ce6=[];if(_0x3a6d85[_0x477d('0x12b0')]['type']&&_0x3a6d85[_0x477d('0x12b0')][_0x477d('0x439')]['toLowerCase']()===_0x477d('0x127')&&_0x3a6d85['agi'][_0x477d('0x1294')]===_0x477d('0x12b5')){_0x3a6d85[_0x477d('0x12b0')]['phone']=_0x33e2aa[_0x477d('0x12b6')]?(_0x3a6d85[_0x477d('0x12b0')]['prefix']||'')+'${EXTEN:'+_0x33e2aa['cutdigits']+'}':(_0x3a6d85['agi'][_0x477d('0x6c0')]||'')+_0x477d('0x12b8');if(_0x33e2aa['recordingFormat']!==_0x477d('0x496')){if(_0x3a6d85[_0x477d('0x12b0')]['options']['indexOf'](_0x477d('0x12ba'))<0x0){_0x3a6d85['agi']['options']+=_0x477d('0x12ba');}}else{_0x3a6d85[_0x477d('0x12b0')]['options']=_0x3a6d85[_0x477d('0x12b0')][_0x477d('0x43c')]['replace']('U(xcally-mixmonitor-context)','');}}if(_0x3a6d85['agi'][_0x477d('0x1294')]&&_0x3a6d85[_0x477d('0x12b0')]['appType']===_0x477d('0x9f6')){}else{switch((_0x3a6d85[_0x477d('0x12b0')][_0x477d('0x1291')]||_0x3a6d85[_0x477d('0x12b0')][_0x477d('0x1294')])['toLowerCase']()){case _0x477d('0x12af'):_0x3a6d85['agi'][_0x477d('0x12ae')]=_0x3a6d85[_0x477d('0x12b0')][_0x477d('0x94')]+'='+_0x3a6d85['agi'][_0x477d('0x3b6')];break;case _0x477d('0x9f6'):break;default:_0x430ce6[0x0]=_0x3a6d85['agi'][_0x477d('0xf13')];_0x3a6d85[_0x477d('0x12b0')][_0x477d('0x12ae')]=_0x430ce6[_0x477d('0x3f6')](',');}}_0x3c0dd2(_0x3a6d85['agi']);}function _0x3c0dd2(_0x5a30eb){_0x238a8b[_0x477d('0x3bc')](_0x5a30eb);}}}());(function(){'use strict';_0x1b74b0[_0x477d('0xa')]=[_0x477d('0x384'),'$q','toasty',_0x477d('0x2575'),_0x477d('0x2513'),_0x477d('0x386'),'Auth',_0x477d('0xd66')];angular['module']('app.voice')[_0x477d('0x3ba')](_0x477d('0x2579'),_0x1b74b0);function _0x1b74b0(_0x5edc6c,_0x5b01c2,_0x2084fc,_0x3f88ea,_0xf4eb01,_0x21be1c,_0x414cc7,_0x4a9dd6){var _0x3ed0ca=this;_0x3ed0ca[_0x477d('0x3e5')]=_0x414cc7[_0x477d('0x5c')]();_0x3ed0ca[_0x477d('0xd67')]=[];_0x3ed0ca[_0x477d('0x49a')]=_0x477d('0x2577')+(_0x3f88ea['appType']||_0x3f88ea['app'])[_0x477d('0x44f')]();_0x3ed0ca[_0x477d('0x9f6')]=angular['copy'](_0x3f88ea);_0x3ed0ca[_0x477d('0xd66')]=_0x4a9dd6;_0x3ed0ca['hasModulePermissions']={};if(_0x3ed0ca[_0x477d('0x9f6')]['appdata']){switch(_0x3ed0ca['custom'][_0x477d('0x1294')]?_0x3ed0ca[_0x477d('0x9f6')]['appType']['toLowerCase']():_0x3ed0ca[_0x477d('0x9f6')][_0x477d('0x1291')][_0x477d('0x449')]()){case _0x477d('0x9f6'):break;case _0x477d('0x1266'):var _0x2629af=_0x3ed0ca['custom']['appdata'][_0x477d('0x472')](',');_0x3ed0ca[_0x477d('0x9f6')][_0x477d('0x670')]=_0x2629af[0x0];_0x3ed0ca[_0x477d('0x9f6')][_0x477d('0x1267')]=_0x2629af[0x1];_0x3ed0ca[_0x477d('0x9f6')][_0x477d('0x127a')]=_0x2629af['slice'](0x2,_0x2629af[_0x477d('0x79')])['join'](',');break;case _0x477d('0x127c'):var _0x2629af=_0x3ed0ca[_0x477d('0x9f6')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x3ed0ca['custom'][_0x477d('0x127d')]=_0x2629af[0x0];_0x3ed0ca[_0x477d('0x9f6')]['secretaccesskey']=_0x2629af[0x1];_0x3ed0ca['custom'][_0x477d('0x127f')]=_0x2629af[0x2];_0x3ed0ca[_0x477d('0x9f6')][_0x477d('0x1283')]=_0x2629af[0x3];_0x3ed0ca[_0x477d('0x9f6')][_0x477d('0x127a')]=_0x2629af[_0x477d('0x9cd')](0x4,_0x2629af['length'])[_0x477d('0x3f6')](',');break;case _0x477d('0x1260'):var _0x2629af=_0x3ed0ca['custom'][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x3ed0ca[_0x477d('0x9f6')][_0x477d('0x1261')]=isNaN(_0x2629af[0x0])?_0x2629af[0x0]:parseInt(_0x2629af[0x0],0xa);_0x3ed0ca[_0x477d('0x9f6')]['text']=_0x2629af[_0x477d('0x9cd')](0x1,_0x2629af[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x452'):_0x3ed0ca['custom'][_0x477d('0x41b')]=_0x3ed0ca[_0x477d('0x9f6')][_0x477d('0x12ae')];break;case'set':_0x3ed0ca['custom'][_0x477d('0x94')]=_0x3ed0ca[_0x477d('0x9f6')][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x0];_0x3ed0ca['custom'][_0x477d('0x3b6')]=_0x3ed0ca[_0x477d('0x9f6')][_0x477d('0x12ae')]['split']('=')[0x1];break;case _0x477d('0x12b0'):_0x3ed0ca[_0x477d('0x9f6')]['project']=_0x3ed0ca[_0x477d('0x9f6')][_0x477d('0x12ae')];break;default:var _0x1cc711=_0x3ed0ca[_0x477d('0x9f6')][_0x477d('0x12ae')]['split'](',');_0x3ed0ca['custom'][_0x477d('0x1291')]=_['isEmpty'](_0x1cc711[0x0])?_0x1cc711[0x0]:isNaN(_0x1cc711[0x0])?_0x1cc711[0x0]:parseInt(_0x1cc711[0x0],0xa);_0x3ed0ca[_0x477d('0x9f6')][_0x477d('0x12ae')]=_[_0x477d('0x3b2')](_0x1cc711[0x1])?_0x1cc711[0x1]:isNaN(_0x1cc711[0x1])?_0x1cc711[0x1]:parseInt(_0x1cc711[0x1],0xa);}}else{}if(_0x3ed0ca[_0x477d('0x9f6')][_0x477d('0x439')]&&_0x3ed0ca[_0x477d('0x9f6')][_0x477d('0x439')][_0x477d('0x449')]()===_0x477d('0x127')&&_0x3ed0ca[_0x477d('0x9f6')][_0x477d('0x1294')]['toLowerCase']()===_0x477d('0x12b1')){_0x3ed0ca[_0x477d('0x9f6')]['prefix']=_0x3ed0ca['custom'][_0x477d('0xf46')]?_0x3ed0ca[_0x477d('0x9f6')][_0x477d('0xf46')][_0x477d('0x472')]('$')[0x0]:undefined;_0x3ed0ca['custom'][_0x477d('0x69b')]=_0x3ed0ca[_0x477d('0x9f6')][_0x477d('0x12b2')]?'CALLERID(all)='+_0x3ed0ca['custom'][_0x477d('0x12b2')]:undefined;}_0x3ed0ca[_0x477d('0x2578')]=_0x3cee45;_0x3ed0ca['closeDialog']=_0x136198;function _0x3cee45(){_0x3ed0ca[_0x477d('0xd67')]=[];var _0x13016d=[];if(_0x3ed0ca[_0x477d('0x9f6')]['type']&&_0x3ed0ca[_0x477d('0x9f6')][_0x477d('0x439')][_0x477d('0x449')]()==='outbound'&&_0x3ed0ca['custom'][_0x477d('0x1294')]==='outboundDial'){_0x3ed0ca[_0x477d('0x9f6')][_0x477d('0xf46')]=_0xf4eb01['cutdigits']?(_0x3ed0ca['custom'][_0x477d('0x6c0')]||'')+_0x477d('0x12b7')+_0xf4eb01[_0x477d('0x12b6')]+'}':(_0x3ed0ca[_0x477d('0x9f6')]['prefix']||'')+_0x477d('0x12b8');if(_0xf4eb01['recordingFormat']!==_0x477d('0x496')){if(_0x3ed0ca[_0x477d('0x9f6')]['options'][_0x477d('0x477')](_0x477d('0x12ba'))<0x0){_0x3ed0ca[_0x477d('0x9f6')][_0x477d('0x43c')]+=_0x477d('0x12ba');}}else{_0x3ed0ca[_0x477d('0x9f6')][_0x477d('0x43c')]=_0x3ed0ca[_0x477d('0x9f6')][_0x477d('0x43c')][_0x477d('0x409')]('U(xcally-mixmonitor-context)','');}}if(_0x3ed0ca[_0x477d('0x9f6')][_0x477d('0x1294')]&&_0x3ed0ca[_0x477d('0x9f6')][_0x477d('0x1294')]===_0x477d('0x9f6')){}else{switch((_0x3ed0ca[_0x477d('0x9f6')][_0x477d('0x1291')]||_0x3ed0ca[_0x477d('0x9f6')][_0x477d('0x1294')])['toLowerCase']()){case _0x477d('0x12af'):_0x3ed0ca[_0x477d('0x9f6')]['appdata']=_0x3ed0ca[_0x477d('0x9f6')]['name']+'='+_0x3ed0ca['custom'][_0x477d('0x3b6')];break;case _0x477d('0x9f6'):break;default:_0x13016d[0x0]=_0x3ed0ca['custom']['app'];_0x13016d[0x1]=_0x3ed0ca[_0x477d('0x9f6')]['appdata'];_0x3ed0ca[_0x477d('0x9f6')][_0x477d('0x12ae')]=_0x13016d[_0x477d('0x3f6')](',');}}_0x136198(_0x3ed0ca[_0x477d('0x9f6')]);}function _0x136198(_0x137d80){_0x5edc6c[_0x477d('0x3bc')](_0x137d80);}}}());(function(){'use strict';_0xe96be3[_0x477d('0xa')]=[_0x477d('0x384'),'$q',_0x477d('0x40e'),_0x477d('0x2575'),_0x477d('0x2513'),_0x477d('0x386'),_0x477d('0x55'),'crudPermissions'];angular[_0x477d('0xb')](_0x477d('0x2f'))[_0x477d('0x3ba')](_0x477d('0x257a'),_0xe96be3);function _0xe96be3(_0x5cc67b,_0x2ec6fa,_0x1f784c,_0x2b1d4e,_0x12b039,_0x1cc6a6,_0x4cbd78,_0x105044){var _0x1d729d=this;_0x1d729d[_0x477d('0x3e5')]=_0x4cbd78[_0x477d('0x5c')]();_0x1d729d['errors']=[];_0x1d729d[_0x477d('0x49a')]=_0x477d('0x2577')+(_0x2b1d4e[_0x477d('0x1294')]||_0x2b1d4e[_0x477d('0x1291')])[_0x477d('0x44f')]();_0x1d729d[_0x477d('0x2537')]=angular[_0x477d('0x6d9')](_0x2b1d4e);_0x1d729d['crudPermissions']=_0x105044;_0x1d729d['hasModulePermissions']={};if(_0x1d729d[_0x477d('0x2537')][_0x477d('0x12ae')]){switch(_0x1d729d[_0x477d('0x2537')]['appType']?_0x1d729d[_0x477d('0x2537')][_0x477d('0x1294')]['toLowerCase']():_0x1d729d[_0x477d('0x2537')][_0x477d('0x1291')][_0x477d('0x449')]()){case _0x477d('0x9f6'):break;case _0x477d('0x1266'):var _0x67763=_0x1d729d['dial'][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x1d729d[_0x477d('0x2537')][_0x477d('0x670')]=_0x67763[0x0];_0x1d729d[_0x477d('0x2537')][_0x477d('0x1267')]=_0x67763[0x1];_0x1d729d[_0x477d('0x2537')][_0x477d('0x127a')]=_0x67763[_0x477d('0x9cd')](0x2,_0x67763[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x127c'):var _0x67763=_0x1d729d['dial'][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x1d729d[_0x477d('0x2537')][_0x477d('0x127d')]=_0x67763[0x0];_0x1d729d[_0x477d('0x2537')][_0x477d('0x127e')]=_0x67763[0x1];_0x1d729d['dial'][_0x477d('0x127f')]=_0x67763[0x2];_0x1d729d['dial'][_0x477d('0x1283')]=_0x67763[0x3];_0x1d729d[_0x477d('0x2537')][_0x477d('0x127a')]=_0x67763['slice'](0x4,_0x67763[_0x477d('0x79')])['join'](',');break;case'autoreply':var _0x67763=_0x1d729d[_0x477d('0x2537')]['appdata']['split'](',');_0x1d729d[_0x477d('0x2537')][_0x477d('0x1261')]=isNaN(_0x67763[0x0])?_0x67763[0x0]:parseInt(_0x67763[0x0],0xa);_0x1d729d[_0x477d('0x2537')]['text']=_0x67763[_0x477d('0x9cd')](0x1,_0x67763[_0x477d('0x79')])['join'](',');break;case _0x477d('0x452'):_0x1d729d[_0x477d('0x2537')][_0x477d('0x41b')]=_0x1d729d[_0x477d('0x2537')][_0x477d('0x12ae')];break;case'set':_0x1d729d[_0x477d('0x2537')][_0x477d('0x94')]=_0x1d729d[_0x477d('0x2537')][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x0];_0x1d729d['dial'][_0x477d('0x3b6')]=_0x1d729d[_0x477d('0x2537')][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x1];break;case _0x477d('0x12b0'):_0x1d729d[_0x477d('0x2537')][_0x477d('0xf13')]=_0x1d729d[_0x477d('0x2537')]['appdata'];break;default:var _0x4a96a0=_0x1d729d[_0x477d('0x2537')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x1d729d[_0x477d('0x2537')]['tech']=_[_0x477d('0x3b2')](_0x4a96a0[0x0])?_0x4a96a0[0x0]:isNaN(_0x4a96a0[0x0])?_0x4a96a0[0x0]:parseInt(_0x4a96a0[0x0],0xa);_0x1d729d[_0x477d('0x2537')]['timeout']=_[_0x477d('0x3b2')](_0x4a96a0[0x1])?_0x4a96a0[0x1]:isNaN(_0x4a96a0[0x1])?_0x4a96a0[0x1]:parseInt(_0x4a96a0[0x1],0xa);_0x1d729d[_0x477d('0x2537')][_0x477d('0x43c')]=_[_0x477d('0x3b2')](_0x4a96a0[0x2])?_0x4a96a0[0x2]:isNaN(_0x4a96a0[0x2])?_0x4a96a0[0x2]:parseInt(_0x4a96a0[0x2],0xa);_0x1d729d[_0x477d('0x2537')]['url']=_[_0x477d('0x3b2')](_0x4a96a0[0x3])?_0x4a96a0[0x3]:isNaN(_0x4a96a0[0x3])?_0x4a96a0[0x3]:parseInt(_0x4a96a0[0x3],0xa);}}else{}if(_0x1d729d['dial'][_0x477d('0x439')]&&_0x1d729d[_0x477d('0x2537')][_0x477d('0x439')][_0x477d('0x449')]()===_0x477d('0x127')&&_0x1d729d[_0x477d('0x2537')][_0x477d('0x1294')][_0x477d('0x449')]()===_0x477d('0x12b1')){_0x1d729d[_0x477d('0x2537')]['prefix']=_0x1d729d[_0x477d('0x2537')][_0x477d('0xf46')]?_0x1d729d[_0x477d('0x2537')][_0x477d('0xf46')][_0x477d('0x472')]('$')[0x0]:undefined;_0x1d729d[_0x477d('0x2537')][_0x477d('0x69b')]=_0x1d729d[_0x477d('0x2537')]['callerID']?_0x477d('0x12b3')+_0x1d729d['dial'][_0x477d('0x12b2')]:undefined;}_0x1d729d[_0x477d('0x2578')]=_0x47df2e;_0x1d729d[_0x477d('0x6bf')]=_0x177a93;function _0x47df2e(){_0x1d729d[_0x477d('0xd67')]=[];var _0x5a4e26=[];if(_0x1d729d['dial'][_0x477d('0x439')]&&_0x1d729d[_0x477d('0x2537')][_0x477d('0x439')][_0x477d('0x449')]()===_0x477d('0x127')&&_0x1d729d[_0x477d('0x2537')][_0x477d('0x1294')]===_0x477d('0x12b5')){_0x1d729d['dial'][_0x477d('0xf46')]=_0x12b039[_0x477d('0x12b6')]?(_0x1d729d['dial'][_0x477d('0x6c0')]||'')+_0x477d('0x12b7')+_0x12b039[_0x477d('0x12b6')]+'}':(_0x1d729d[_0x477d('0x2537')][_0x477d('0x6c0')]||'')+'${EXTEN}';if(_0x12b039['recordingFormat']!==_0x477d('0x496')){if(_0x1d729d[_0x477d('0x2537')]['options'][_0x477d('0x477')](_0x477d('0x12ba'))<0x0){_0x1d729d[_0x477d('0x2537')][_0x477d('0x43c')]+=_0x477d('0x12ba');}}else{_0x1d729d[_0x477d('0x2537')][_0x477d('0x43c')]=_0x1d729d['dial'][_0x477d('0x43c')][_0x477d('0x409')](_0x477d('0x12ba'),'');}}if(_0x1d729d['dial']['appType']&&_0x1d729d[_0x477d('0x2537')]['appType']===_0x477d('0x9f6')){}else{switch((_0x1d729d['dial'][_0x477d('0x1291')]||_0x1d729d[_0x477d('0x2537')][_0x477d('0x1294')])[_0x477d('0x449')]()){case _0x477d('0x12af'):_0x1d729d[_0x477d('0x2537')][_0x477d('0x12ae')]=_0x1d729d['dial'][_0x477d('0x94')]+'='+_0x1d729d[_0x477d('0x2537')]['value'];break;case _0x477d('0x9f6'):break;default:_0x5a4e26[0x0]=_0x1d729d[_0x477d('0x2537')][_0x477d('0x257b')];_0x5a4e26[0x1]=_0x1d729d[_0x477d('0x2537')][_0x477d('0x91b')];_0x5a4e26[0x2]=_0x1d729d[_0x477d('0x2537')][_0x477d('0x43c')];_0x5a4e26[0x3]=_0x1d729d[_0x477d('0x2537')][_0x477d('0x3c1')];_0x1d729d[_0x477d('0x2537')][_0x477d('0x12ae')]=_0x5a4e26[_0x477d('0x3f6')](',');}}_0x177a93(_0x1d729d[_0x477d('0x2537')]);}function _0x177a93(_0x35c4fc){_0x5cc67b['hide'](_0x35c4fc);}}}());(function(){'use strict';_0x1fd69b['$inject']=['$mdDialog','$q',_0x477d('0x40e'),_0x477d('0x2575'),'inboundroute','api','Auth',_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x2f'))[_0x477d('0x3ba')](_0x477d('0x257c'),_0x1fd69b);function _0x1fd69b(_0x1fe156,_0x3c2b6c,_0x42f808,_0x2498de,_0x1a3a19,_0x426a50,_0x46f95f,_0x5b939e){var _0x305351=this;_0x305351['currentUser']=_0x46f95f[_0x477d('0x5c')]();_0x305351[_0x477d('0xd67')]=[];_0x305351[_0x477d('0x49a')]=_0x477d('0x2577')+(_0x2498de['appType']||_0x2498de[_0x477d('0x1291')])['toUpperCase']();_0x305351[_0x477d('0x257d')]=angular[_0x477d('0x6d9')](_0x2498de);_0x305351[_0x477d('0xd66')]=_0x5b939e;_0x305351[_0x477d('0xd68')]={};if(_0x305351['externaldial'][_0x477d('0x12ae')]){switch(_0x305351['externaldial']['appType']?_0x305351[_0x477d('0x257d')][_0x477d('0x1294')][_0x477d('0x449')]():_0x305351[_0x477d('0x257d')][_0x477d('0x1291')]['toLowerCase']()){case _0x477d('0x9f6'):break;case _0x477d('0x1266'):var _0x2b9382=_0x305351[_0x477d('0x257d')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x305351['externaldial'][_0x477d('0x670')]=_0x2b9382[0x0];_0x305351[_0x477d('0x257d')][_0x477d('0x1267')]=_0x2b9382[0x1];_0x305351[_0x477d('0x257d')]['welcomemessage']=_0x2b9382['slice'](0x2,_0x2b9382[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x127c'):var _0x2b9382=_0x305351[_0x477d('0x257d')][_0x477d('0x12ae')]['split'](',');_0x305351['externaldial']['accesskeyid']=_0x2b9382[0x0];_0x305351['externaldial'][_0x477d('0x127e')]=_0x2b9382[0x1];_0x305351[_0x477d('0x257d')][_0x477d('0x127f')]=_0x2b9382[0x2];_0x305351[_0x477d('0x257d')]['botname']=_0x2b9382[0x3];_0x305351[_0x477d('0x257d')][_0x477d('0x127a')]=_0x2b9382[_0x477d('0x9cd')](0x4,_0x2b9382[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case'autoreply':var _0x2b9382=_0x305351[_0x477d('0x257d')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x305351[_0x477d('0x257d')][_0x477d('0x1261')]=isNaN(_0x2b9382[0x0])?_0x2b9382[0x0]:parseInt(_0x2b9382[0x0],0xa);_0x305351[_0x477d('0x257d')][_0x477d('0x41b')]=_0x2b9382['slice'](0x1,_0x2b9382[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x452'):_0x305351['externaldial']['text']=_0x305351['externaldial'][_0x477d('0x12ae')];break;case _0x477d('0x12af'):_0x305351['externaldial'][_0x477d('0x94')]=_0x305351['externaldial'][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x0];_0x305351[_0x477d('0x257d')][_0x477d('0x3b6')]=_0x305351[_0x477d('0x257d')][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x1];break;case _0x477d('0x12b0'):_0x305351[_0x477d('0x257d')][_0x477d('0xf13')]=_0x305351['externaldial'][_0x477d('0x12ae')];break;default:var _0x316cda=_0x305351[_0x477d('0x257d')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x305351[_0x477d('0x257d')]['trunk']=_0x316cda[0x0][_0x477d('0x472')]('/')[0x1];_0x305351[_0x477d('0x257d')][_0x477d('0xf46')]=_0x316cda[0x0][_0x477d('0x472')]('/')[0x2];_0x305351['externaldial'][_0x477d('0x91b')]=_[_0x477d('0x3b2')](_0x316cda[0x1])?_0x316cda[0x1]:isNaN(_0x316cda[0x1])?_0x316cda[0x1]:parseInt(_0x316cda[0x1],0xa);_0x305351[_0x477d('0x257d')]['options']=_[_0x477d('0x3b2')](_0x316cda[0x2])?_0x316cda[0x2]:isNaN(_0x316cda[0x2])?_0x316cda[0x2]:parseInt(_0x316cda[0x2],0xa);_0x305351['externaldial'][_0x477d('0x3c1')]=_['isEmpty'](_0x316cda[0x3])?_0x316cda[0x3]:isNaN(_0x316cda[0x3])?_0x316cda[0x3]:parseInt(_0x316cda[0x3],0xa);}}else{}if(_0x305351[_0x477d('0x257d')][_0x477d('0x439')]&&_0x305351['externaldial'][_0x477d('0x439')][_0x477d('0x449')]()===_0x477d('0x127')&&_0x305351[_0x477d('0x257d')][_0x477d('0x1294')][_0x477d('0x449')]()===_0x477d('0x12b1')){_0x305351[_0x477d('0x257d')][_0x477d('0x6c0')]=_0x305351['externaldial'][_0x477d('0xf46')]?_0x305351[_0x477d('0x257d')][_0x477d('0xf46')][_0x477d('0x472')]('$')[0x0]:undefined;_0x305351[_0x477d('0x257d')][_0x477d('0x69b')]=_0x305351[_0x477d('0x257d')][_0x477d('0x12b2')]?_0x477d('0x12b3')+_0x305351[_0x477d('0x257d')][_0x477d('0x12b2')]:undefined;}_0x305351[_0x477d('0x2578')]=_0x1f22f2;_0x305351['closeDialog']=_0x4363b3;_0x46f95f[_0x477d('0x56')](_0x477d('0x5f'))?_0x426a50[_0x477d('0xaa8')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':'true'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x2460e4){_0x305351[_0x477d('0xf2e')]=_0x2460e4[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x2511b5){_0x42f808[_0x477d('0x44a')]({'title':_0x2511b5[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x2511b5[_0x477d('0x3c3')]+'\x20-\x20'+_0x2511b5[_0x477d('0x44d')]:'SYSTEM:GET_TRUNKS','msg':_0x2511b5[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x2511b5[_0x477d('0x451')]):_0x2511b5[_0x477d('0x453')]()});}):_0x426a50['trunk'][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':'true'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x33fc63){_0x305351[_0x477d('0xf2e')]=_0x33fc63[_0x477d('0xf2')]||[];})['then'](function(){return _0x426a50[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x305351['currentUser'][_0x477d('0x61')],'sectionId':0x3f3})['$promise'];})['then'](function(_0x532728){var _0x39e6da=_0x532728&&_0x532728[_0x477d('0xf2')]?_0x532728[_0x477d('0xf2')][0x0]:null;if(!_0x39e6da){var _0xe5810d=[];var _0x22efdf=null;if(_0x305351[_0x477d('0x257d')]){_0x22efdf=_[_0x477d('0x10a')](_0x305351[_0x477d('0xf2e')],{'name':_0x305351[_0x477d('0x257d')]['trunk']});}for(var _0x2d36c9=0x0;_0x2d36c9<_0x305351[_0x477d('0xf2e')][_0x477d('0x79')];_0x2d36c9++){if(_0x22efdf&&_0x305351['trunks'][_0x2d36c9]['id']===_0x22efdf['id']){_0x305351[_0x477d('0xf2e')][_0x2d36c9]['canSelect']=![];_0xe5810d[_0x477d('0x3a7')](_0x305351[_0x477d('0xf2e')][_0x2d36c9]);}}_0x305351[_0x477d('0xf2e')]=_0xe5810d;}else{if(!_0x39e6da[_0x477d('0x3ad')]){return _0x426a50[_0x477d('0x3ae')]['get']({'sectionId':_0x39e6da['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x59e0b6){var _0x388302=_[_0x477d('0x3cb')](_0x59e0b6[_0x477d('0xf2')],function(_0x620353){return _[_0x477d('0x10a')](_0x305351[_0x477d('0xf2e')],{'id':_0x620353[_0x477d('0x3af')]});});var _0x430290=null;if(_0x305351[_0x477d('0x257d')]){_0x430290=_['find'](_0x305351[_0x477d('0xf2e')],{'name':_0x305351[_0x477d('0x257d')]['trunk']});}if(_0x430290&&!_[_0x477d('0x3ab')](_0x388302,['id',_0x430290['id']])){var _0x24874c=_[_0x477d('0x10a')](_0x305351['trunks'],{'id':_0x430290['id']});_0x24874c['canSelect']=![];_0x388302[_0x477d('0x3a7')](_0x24874c);}_0x305351[_0x477d('0xf2e')]=_0x388302;});}}})[_0x477d('0xf8')](function(_0x4c0cde){_0x42f808[_0x477d('0x44a')]({'title':_0x4c0cde[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x4c0cde[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x4c0cde[_0x477d('0x44d')]:'SYSTEM:GETtrunks','msg':_0x4c0cde[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x4c0cde['data']):_0x4c0cde['toString']()});});function _0x1f22f2(){_0x305351[_0x477d('0xd67')]=[];var _0x3ecd40=[];if(_0x305351[_0x477d('0x257d')][_0x477d('0x439')]&&_0x305351[_0x477d('0x257d')][_0x477d('0x439')][_0x477d('0x449')]()===_0x477d('0x127')&&_0x305351['externaldial']['appType']==='outboundDial'){_0x305351[_0x477d('0x257d')][_0x477d('0xf46')]=_0x1a3a19[_0x477d('0x12b6')]?(_0x305351['externaldial']['prefix']||'')+_0x477d('0x12b7')+_0x1a3a19[_0x477d('0x12b6')]+'}':(_0x305351[_0x477d('0x257d')]['prefix']||'')+_0x477d('0x12b8');if(_0x1a3a19[_0x477d('0x12b9')]!==_0x477d('0x496')){if(_0x305351['externaldial']['options'][_0x477d('0x477')](_0x477d('0x12ba'))<0x0){_0x305351['externaldial'][_0x477d('0x43c')]+='U(xcally-mixmonitor-context)';}}else{_0x305351['externaldial'][_0x477d('0x43c')]=_0x305351[_0x477d('0x257d')][_0x477d('0x43c')][_0x477d('0x409')](_0x477d('0x12ba'),'');}}if(_0x305351[_0x477d('0x257d')][_0x477d('0x1294')]&&_0x305351['externaldial'][_0x477d('0x1294')]==='custom'){}else{switch((_0x305351['externaldial'][_0x477d('0x1291')]||_0x305351[_0x477d('0x257d')][_0x477d('0x1294')])[_0x477d('0x449')]()){case _0x477d('0x12af'):_0x305351[_0x477d('0x257d')][_0x477d('0x12ae')]=_0x305351['externaldial'][_0x477d('0x94')]+'='+_0x305351[_0x477d('0x257d')][_0x477d('0x3b6')];break;case'custom':break;default:_0x3ecd40[0x0]=[_0x477d('0x257e'),_0x305351['externaldial'][_0x477d('0xaa8')],_0x305351[_0x477d('0x257d')][_0x477d('0xf46')]]['join']('/');_0x3ecd40[0x1]=_0x305351[_0x477d('0x257d')][_0x477d('0x91b')];_0x3ecd40[0x2]=_0x305351[_0x477d('0x257d')][_0x477d('0x43c')];_0x3ecd40[0x3]=_0x305351[_0x477d('0x257d')][_0x477d('0x3c1')];_0x305351[_0x477d('0x257d')][_0x477d('0x12ae')]=_0x3ecd40[_0x477d('0x3f6')](',');}}_0x4363b3(_0x305351['externaldial']);}function _0x4363b3(_0x33645d){_0x1fe156['hide'](_0x33645d);}}}());(function(){'use strict';_0x25b124[_0x477d('0xa')]=[_0x477d('0x384'),'$q',_0x477d('0x40e'),_0x477d('0x2575'),'inboundroute',_0x477d('0x386'),_0x477d('0x55'),'crudPermissions'];angular[_0x477d('0xb')](_0x477d('0x2f'))[_0x477d('0x3ba')](_0x477d('0x257f'),_0x25b124);function _0x25b124(_0x3cac98,_0x248417,_0x3ed31a,_0x32965a,_0x5b9f33,_0x5acbe9,_0x545a30,_0x498407){var _0x518da3=this;_0x518da3[_0x477d('0x3e5')]=_0x545a30['getCurrentUser']();_0x518da3['errors']=[];_0x518da3[_0x477d('0x49a')]=_0x477d('0x2577')+(_0x32965a['appType']||_0x32965a[_0x477d('0x1291')])[_0x477d('0x44f')]();_0x518da3[_0x477d('0x1250')]=angular[_0x477d('0x6d9')](_0x32965a);_0x518da3[_0x477d('0xd66')]=_0x498407;_0x518da3[_0x477d('0xd68')]={};if(_0x518da3[_0x477d('0x1250')][_0x477d('0x12ae')]){switch(_0x518da3['goto']['appType']?_0x518da3[_0x477d('0x1250')][_0x477d('0x1294')][_0x477d('0x449')]():_0x518da3[_0x477d('0x1250')][_0x477d('0x1291')]['toLowerCase']()){case _0x477d('0x9f6'):break;case _0x477d('0x1266'):var _0x2c6a7c=_0x518da3[_0x477d('0x1250')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x518da3[_0x477d('0x1250')][_0x477d('0x670')]=_0x2c6a7c[0x0];_0x518da3[_0x477d('0x1250')][_0x477d('0x1267')]=_0x2c6a7c[0x1];_0x518da3[_0x477d('0x1250')][_0x477d('0x127a')]=_0x2c6a7c['slice'](0x2,_0x2c6a7c[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x127c'):var _0x2c6a7c=_0x518da3['goto'][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x518da3[_0x477d('0x1250')][_0x477d('0x127d')]=_0x2c6a7c[0x0];_0x518da3[_0x477d('0x1250')][_0x477d('0x127e')]=_0x2c6a7c[0x1];_0x518da3['goto'][_0x477d('0x127f')]=_0x2c6a7c[0x2];_0x518da3[_0x477d('0x1250')][_0x477d('0x1283')]=_0x2c6a7c[0x3];_0x518da3[_0x477d('0x1250')]['welcomemessage']=_0x2c6a7c['slice'](0x4,_0x2c6a7c[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x1260'):var _0x2c6a7c=_0x518da3[_0x477d('0x1250')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x518da3[_0x477d('0x1250')]['times']=isNaN(_0x2c6a7c[0x0])?_0x2c6a7c[0x0]:parseInt(_0x2c6a7c[0x0],0xa);_0x518da3[_0x477d('0x1250')][_0x477d('0x41b')]=_0x2c6a7c['slice'](0x1,_0x2c6a7c['length'])['join'](',');break;case _0x477d('0x452'):_0x518da3[_0x477d('0x1250')][_0x477d('0x41b')]=_0x518da3[_0x477d('0x1250')][_0x477d('0x12ae')];break;case _0x477d('0x12af'):_0x518da3[_0x477d('0x1250')]['name']=_0x518da3[_0x477d('0x1250')][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x0];_0x518da3[_0x477d('0x1250')][_0x477d('0x3b6')]=_0x518da3[_0x477d('0x1250')]['appdata'][_0x477d('0x472')]('=')[0x1];break;case _0x477d('0x12b0'):_0x518da3[_0x477d('0x1250')][_0x477d('0xf13')]=_0x518da3[_0x477d('0x1250')]['appdata'];break;default:var _0x697dfd=_0x518da3[_0x477d('0x1250')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x518da3[_0x477d('0x1250')][_0x477d('0xf47')]=_['isEmpty'](_0x697dfd[0x0])?_0x697dfd[0x0]:isNaN(_0x697dfd[0x0])?_0x697dfd[0x0]:parseInt(_0x697dfd[0x0],0xa);_0x518da3[_0x477d('0x1250')][_0x477d('0xf48')]=_[_0x477d('0x3b2')](_0x697dfd[0x1])?_0x697dfd[0x1]:isNaN(_0x697dfd[0x1])?_0x697dfd[0x1]:parseInt(_0x697dfd[0x1],0xa);_0x518da3[_0x477d('0x1250')][_0x477d('0x1243')]=_[_0x477d('0x3b2')](_0x697dfd[0x2])?_0x697dfd[0x2]:isNaN(_0x697dfd[0x2])?_0x697dfd[0x2]:parseInt(_0x697dfd[0x2],0xa);}}else{}if(_0x518da3[_0x477d('0x1250')][_0x477d('0x439')]&&_0x518da3[_0x477d('0x1250')]['type'][_0x477d('0x449')]()===_0x477d('0x127')&&_0x518da3[_0x477d('0x1250')][_0x477d('0x1294')][_0x477d('0x449')]()===_0x477d('0x12b1')){_0x518da3['goto'][_0x477d('0x6c0')]=_0x518da3['goto']['phone']?_0x518da3[_0x477d('0x1250')][_0x477d('0xf46')]['split']('$')[0x0]:undefined;_0x518da3[_0x477d('0x1250')][_0x477d('0x69b')]=_0x518da3['goto'][_0x477d('0x12b2')]?_0x477d('0x12b3')+_0x518da3[_0x477d('0x1250')]['callerID']:undefined;}_0x518da3['saveInboundRouteApp']=_0x3344f9;_0x518da3[_0x477d('0x6bf')]=_0x200375;_0x545a30[_0x477d('0x56')]('admin')?_0x5acbe9['voiceContext'][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x1e5433){_0x518da3[_0x477d('0xf32')]=_0x1e5433[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x10abcb){_0x3ed31a[_0x477d('0x44a')]({'title':_0x10abcb['status']?_0x477d('0x44b')+_0x10abcb[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x10abcb[_0x477d('0x44d')]:_0x477d('0x212b'),'msg':_0x10abcb[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x10abcb[_0x477d('0x451')]):_0x10abcb[_0x477d('0x453')]()});}):_0x5acbe9[_0x477d('0xa6b')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':'true'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x50f73c){_0x518da3[_0x477d('0xf32')]=_0x50f73c[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x5acbe9[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x518da3['currentUser'][_0x477d('0x61')],'sectionId':0x195})['$promise'];})[_0x477d('0x76')](function(_0xa3553b){var _0x179ea8=_0xa3553b&&_0xa3553b[_0x477d('0xf2')]?_0xa3553b[_0x477d('0xf2')][0x0]:null;if(!_0x179ea8){return _0x5acbe9[_0x477d('0xa6b')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee'),'defaultEntry':0x1})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x17ef41){_0x518da3[_0x477d('0xf32')]=_0x17ef41['rows']||[];});}else{if(!_0x179ea8['autoAssociation']){return _0x5acbe9[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x179ea8['id']})['$promise']['then'](function(_0x4733f0){var _0x2b4bc7=_['map'](_0x4733f0[_0x477d('0xf2')],function(_0x4fe553){return _[_0x477d('0x10a')](_0x518da3['contexts'],{'id':_0x4fe553[_0x477d('0x3af')]});});var _0x25fbf0=null;if(_0x518da3[_0x477d('0x1250')]){_0x25fbf0=_['find'](_0x518da3[_0x477d('0xf32')],{'name':_0x518da3['goto'][_0x477d('0xf47')]});}if(_0x25fbf0&&!_['some'](_0x2b4bc7,['id',_0x25fbf0['id']])){var _0x567378=_[_0x477d('0x10a')](_0x518da3[_0x477d('0xf32')],{'id':_0x25fbf0['id']});_0x567378[_0x477d('0xf8b')]=![];_0x2b4bc7[_0x477d('0x3a7')](_0x567378);}_0x518da3['contexts']=_0x2b4bc7;});}}})['catch'](function(_0x59d28c){_0x3ed31a['error']({'title':_0x59d28c[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x59d28c[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x59d28c[_0x477d('0x44d')]:_0x477d('0x215b'),'msg':_0x59d28c['data']?JSON[_0x477d('0x3fb')](_0x59d28c['data']):_0x59d28c[_0x477d('0x453')]()});});function _0x3344f9(){_0x518da3[_0x477d('0xd67')]=[];var _0x3a892b=[];if(_0x518da3[_0x477d('0x1250')]['type']&&_0x518da3[_0x477d('0x1250')][_0x477d('0x439')][_0x477d('0x449')]()===_0x477d('0x127')&&_0x518da3['goto']['appType']===_0x477d('0x12b5')){_0x518da3['goto'][_0x477d('0xf46')]=_0x5b9f33[_0x477d('0x12b6')]?(_0x518da3[_0x477d('0x1250')]['prefix']||'')+_0x477d('0x12b7')+_0x5b9f33[_0x477d('0x12b6')]+'}':(_0x518da3[_0x477d('0x1250')]['prefix']||'')+_0x477d('0x12b8');if(_0x5b9f33[_0x477d('0x12b9')]!==_0x477d('0x496')){if(_0x518da3[_0x477d('0x1250')][_0x477d('0x43c')][_0x477d('0x477')](_0x477d('0x12ba'))<0x0){_0x518da3[_0x477d('0x1250')][_0x477d('0x43c')]+=_0x477d('0x12ba');}}else{_0x518da3[_0x477d('0x1250')]['options']=_0x518da3[_0x477d('0x1250')][_0x477d('0x43c')][_0x477d('0x409')](_0x477d('0x12ba'),'');}}if(_0x518da3[_0x477d('0x1250')][_0x477d('0x1294')]&&_0x518da3[_0x477d('0x1250')][_0x477d('0x1294')]===_0x477d('0x9f6')){}else{switch((_0x518da3[_0x477d('0x1250')][_0x477d('0x1291')]||_0x518da3[_0x477d('0x1250')][_0x477d('0x1294')])[_0x477d('0x449')]()){case _0x477d('0x12af'):_0x518da3[_0x477d('0x1250')]['appdata']=_0x518da3[_0x477d('0x1250')][_0x477d('0x94')]+'='+_0x518da3[_0x477d('0x1250')][_0x477d('0x3b6')];break;case _0x477d('0x9f6'):break;default:_0x3a892b[0x0]=_0x518da3[_0x477d('0x1250')][_0x477d('0xf47')];_0x3a892b[0x1]=_0x518da3['goto'][_0x477d('0xf48')];_0x3a892b[0x2]=_0x518da3[_0x477d('0x1250')][_0x477d('0x1243')];_0x518da3[_0x477d('0x1250')]['appdata']=_0x3a892b[_0x477d('0x3f6')](',');}}_0x200375(_0x518da3[_0x477d('0x1250')]);}function _0x200375(_0x4af119){_0x3cac98['hide'](_0x4af119);}}}());(function(){'use strict';_0x2465ff[_0x477d('0xa')]=[_0x477d('0x384'),'$q',_0x477d('0x40e'),'inboundrouteApp',_0x477d('0x2513'),_0x477d('0x386'),_0x477d('0x55'),'crudPermissions'];angular[_0x477d('0xb')](_0x477d('0x2f'))[_0x477d('0x3ba')](_0x477d('0x2580'),_0x2465ff);function _0x2465ff(_0x43dff7,_0x1fd52a,_0x1714db,_0x25d328,_0x510710,_0x35f34d,_0xe661ba,_0x5050ba){var _0x369f66=this;_0x369f66['currentUser']=_0xe661ba[_0x477d('0x5c')]();_0x369f66[_0x477d('0xd67')]=[];_0x369f66[_0x477d('0x49a')]='VOICE.EDIT_'+(_0x25d328[_0x477d('0x1294')]||_0x25d328[_0x477d('0x1291')])[_0x477d('0x44f')]();_0x369f66[_0x477d('0x1ed0')]=angular['copy'](_0x25d328);_0x369f66['crudPermissions']=_0x5050ba;_0x369f66['hasModulePermissions']={};if(_0x369f66[_0x477d('0x1ed0')][_0x477d('0x12ae')]){switch(_0x369f66[_0x477d('0x1ed0')][_0x477d('0x1294')]?_0x369f66[_0x477d('0x1ed0')][_0x477d('0x1294')]['toLowerCase']():_0x369f66['hangup'][_0x477d('0x1291')][_0x477d('0x449')]()){case _0x477d('0x9f6'):break;case _0x477d('0x1266'):var _0x2268f1=_0x369f66[_0x477d('0x1ed0')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x369f66[_0x477d('0x1ed0')][_0x477d('0x670')]=_0x2268f1[0x0];_0x369f66[_0x477d('0x1ed0')][_0x477d('0x1267')]=_0x2268f1[0x1];_0x369f66[_0x477d('0x1ed0')]['welcomemessage']=_0x2268f1['slice'](0x2,_0x2268f1[_0x477d('0x79')])['join'](',');break;case _0x477d('0x127c'):var _0x2268f1=_0x369f66[_0x477d('0x1ed0')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x369f66[_0x477d('0x1ed0')]['accesskeyid']=_0x2268f1[0x0];_0x369f66['hangup']['secretaccesskey']=_0x2268f1[0x1];_0x369f66[_0x477d('0x1ed0')][_0x477d('0x127f')]=_0x2268f1[0x2];_0x369f66['hangup']['botname']=_0x2268f1[0x3];_0x369f66['hangup']['welcomemessage']=_0x2268f1[_0x477d('0x9cd')](0x4,_0x2268f1[_0x477d('0x79')])['join'](',');break;case _0x477d('0x1260'):var _0x2268f1=_0x369f66['hangup']['appdata']['split'](',');_0x369f66['hangup'][_0x477d('0x1261')]=isNaN(_0x2268f1[0x0])?_0x2268f1[0x0]:parseInt(_0x2268f1[0x0],0xa);_0x369f66[_0x477d('0x1ed0')]['text']=_0x2268f1[_0x477d('0x9cd')](0x1,_0x2268f1['length'])['join'](',');break;case _0x477d('0x452'):_0x369f66[_0x477d('0x1ed0')][_0x477d('0x41b')]=_0x369f66[_0x477d('0x1ed0')][_0x477d('0x12ae')];break;case'set':_0x369f66['hangup']['name']=_0x369f66[_0x477d('0x1ed0')][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x0];_0x369f66[_0x477d('0x1ed0')]['value']=_0x369f66['hangup'][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x1];break;case _0x477d('0x12b0'):_0x369f66[_0x477d('0x1ed0')]['project']=_0x369f66[_0x477d('0x1ed0')]['appdata'];break;default:var _0x3b00d8=_0x369f66[_0x477d('0x1ed0')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x369f66['hangup']['appdata']=_[_0x477d('0x3b2')](_0x3b00d8[0x0])?_0x3b00d8[0x0]:isNaN(_0x3b00d8[0x0])?_0x3b00d8[0x0]:parseInt(_0x3b00d8[0x0],0xa);}}else{}if(_0x369f66[_0x477d('0x1ed0')]['type']&&_0x369f66[_0x477d('0x1ed0')]['type']['toLowerCase']()==='outbound'&&_0x369f66[_0x477d('0x1ed0')][_0x477d('0x1294')][_0x477d('0x449')]()===_0x477d('0x12b1')){_0x369f66['hangup'][_0x477d('0x6c0')]=_0x369f66[_0x477d('0x1ed0')]['phone']?_0x369f66['hangup'][_0x477d('0xf46')][_0x477d('0x472')]('$')[0x0]:undefined;_0x369f66[_0x477d('0x1ed0')][_0x477d('0x69b')]=_0x369f66[_0x477d('0x1ed0')][_0x477d('0x12b2')]?_0x477d('0x12b3')+_0x369f66['hangup'][_0x477d('0x12b2')]:undefined;}_0x369f66['saveInboundRouteApp']=_0x35256d;_0x369f66[_0x477d('0x6bf')]=_0x175cb9;function _0x35256d(){_0x369f66[_0x477d('0xd67')]=[];var _0x2e7057=[];if(_0x369f66[_0x477d('0x1ed0')][_0x477d('0x439')]&&_0x369f66[_0x477d('0x1ed0')]['type'][_0x477d('0x449')]()===_0x477d('0x127')&&_0x369f66[_0x477d('0x1ed0')][_0x477d('0x1294')]===_0x477d('0x12b5')){_0x369f66[_0x477d('0x1ed0')][_0x477d('0xf46')]=_0x510710['cutdigits']?(_0x369f66[_0x477d('0x1ed0')][_0x477d('0x6c0')]||'')+_0x477d('0x12b7')+_0x510710[_0x477d('0x12b6')]+'}':(_0x369f66[_0x477d('0x1ed0')][_0x477d('0x6c0')]||'')+_0x477d('0x12b8');if(_0x510710[_0x477d('0x12b9')]!==_0x477d('0x496')){if(_0x369f66[_0x477d('0x1ed0')][_0x477d('0x43c')][_0x477d('0x477')]('U(xcally-mixmonitor-context)')<0x0){_0x369f66[_0x477d('0x1ed0')][_0x477d('0x43c')]+='U(xcally-mixmonitor-context)';}}else{_0x369f66[_0x477d('0x1ed0')][_0x477d('0x43c')]=_0x369f66['hangup'][_0x477d('0x43c')][_0x477d('0x409')](_0x477d('0x12ba'),'');}}if(_0x369f66[_0x477d('0x1ed0')][_0x477d('0x1294')]&&_0x369f66['hangup']['appType']===_0x477d('0x9f6')){}else{switch((_0x369f66[_0x477d('0x1ed0')][_0x477d('0x1291')]||_0x369f66[_0x477d('0x1ed0')]['appType'])['toLowerCase']()){case'set':_0x369f66[_0x477d('0x1ed0')][_0x477d('0x12ae')]=_0x369f66[_0x477d('0x1ed0')][_0x477d('0x94')]+'='+_0x369f66[_0x477d('0x1ed0')]['value'];break;case'custom':break;default:_0x2e7057[0x0]=_0x369f66[_0x477d('0x1ed0')]['appdata'];_0x369f66[_0x477d('0x1ed0')]['appdata']=_0x2e7057[_0x477d('0x3f6')](',');}}_0x175cb9(_0x369f66[_0x477d('0x1ed0')]);}function _0x175cb9(_0x16cb58){_0x43dff7['hide'](_0x16cb58);}}}());(function(){'use strict';_0xd0f3e3['$inject']=[_0x477d('0x384'),'$q',_0x477d('0x40e'),_0x477d('0x2575'),_0x477d('0x2513'),_0x477d('0x386'),_0x477d('0x55'),_0x477d('0xd66')];angular['module']('app.voice')['controller'](_0x477d('0x2581'),_0xd0f3e3);function _0xd0f3e3(_0x1b03cd,_0x15bebe,_0x5bdf1b,_0x4f8f37,_0x3dff48,_0x341992,_0x1780cb,_0x570184){var _0x9f5bf0=this;_0x9f5bf0[_0x477d('0x3e5')]=_0x1780cb[_0x477d('0x5c')]();_0x9f5bf0[_0x477d('0xd67')]=[];_0x9f5bf0[_0x477d('0x49a')]=_0x477d('0x2577')+(_0x4f8f37['appType']||_0x4f8f37[_0x477d('0x1291')])['toUpperCase']();_0x9f5bf0[_0x477d('0x2582')]=angular[_0x477d('0x6d9')](_0x4f8f37);_0x9f5bf0[_0x477d('0xd66')]=_0x570184;_0x9f5bf0[_0x477d('0xd68')]={};if(_0x9f5bf0[_0x477d('0x2582')][_0x477d('0x12ae')]){switch(_0x9f5bf0['internaldial'][_0x477d('0x1294')]?_0x9f5bf0[_0x477d('0x2582')][_0x477d('0x1294')][_0x477d('0x449')]():_0x9f5bf0[_0x477d('0x2582')]['app']['toLowerCase']()){case _0x477d('0x9f6'):break;case _0x477d('0x1266'):var _0x4f590d=_0x9f5bf0[_0x477d('0x2582')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x9f5bf0[_0x477d('0x2582')]['key']=_0x4f590d[0x0];_0x9f5bf0[_0x477d('0x2582')][_0x477d('0x1267')]=_0x4f590d[0x1];_0x9f5bf0[_0x477d('0x2582')][_0x477d('0x127a')]=_0x4f590d[_0x477d('0x9cd')](0x2,_0x4f590d[_0x477d('0x79')])['join'](',');break;case _0x477d('0x127c'):var _0x4f590d=_0x9f5bf0[_0x477d('0x2582')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x9f5bf0[_0x477d('0x2582')][_0x477d('0x127d')]=_0x4f590d[0x0];_0x9f5bf0[_0x477d('0x2582')][_0x477d('0x127e')]=_0x4f590d[0x1];_0x9f5bf0[_0x477d('0x2582')]['lexregion']=_0x4f590d[0x2];_0x9f5bf0[_0x477d('0x2582')][_0x477d('0x1283')]=_0x4f590d[0x3];_0x9f5bf0['internaldial'][_0x477d('0x127a')]=_0x4f590d[_0x477d('0x9cd')](0x4,_0x4f590d[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x1260'):var _0x4f590d=_0x9f5bf0[_0x477d('0x2582')]['appdata'][_0x477d('0x472')](',');_0x9f5bf0[_0x477d('0x2582')][_0x477d('0x1261')]=isNaN(_0x4f590d[0x0])?_0x4f590d[0x0]:parseInt(_0x4f590d[0x0],0xa);_0x9f5bf0[_0x477d('0x2582')][_0x477d('0x41b')]=_0x4f590d['slice'](0x1,_0x4f590d[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x452'):_0x9f5bf0[_0x477d('0x2582')][_0x477d('0x41b')]=_0x9f5bf0['internaldial']['appdata'];break;case _0x477d('0x12af'):_0x9f5bf0['internaldial'][_0x477d('0x94')]=_0x9f5bf0[_0x477d('0x2582')][_0x477d('0x12ae')]['split']('=')[0x0];_0x9f5bf0['internaldial'][_0x477d('0x3b6')]=_0x9f5bf0[_0x477d('0x2582')][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x1];break;case'agi':_0x9f5bf0['internaldial'][_0x477d('0xf13')]=_0x9f5bf0['internaldial'][_0x477d('0x12ae')];break;default:var _0x49cc3f=_0x9f5bf0[_0x477d('0x2582')][_0x477d('0x12ae')]['split'](',');_0x9f5bf0['internaldial'][_0x477d('0x380')]=_[_0x477d('0x3b2')](_0x49cc3f[0x0])?_0x49cc3f[0x0]:isNaN(_0x49cc3f[0x0])?_0x49cc3f[0x0]:parseInt(_0x49cc3f[0x0],0xa);_0x9f5bf0[_0x477d('0x2582')][_0x477d('0x91b')]=_[_0x477d('0x3b2')](_0x49cc3f[0x1])?_0x49cc3f[0x1]:isNaN(_0x49cc3f[0x1])?_0x49cc3f[0x1]:parseInt(_0x49cc3f[0x1],0xa);_0x9f5bf0[_0x477d('0x2582')][_0x477d('0x43c')]=_['isEmpty'](_0x49cc3f[0x2])?_0x49cc3f[0x2]:isNaN(_0x49cc3f[0x2])?_0x49cc3f[0x2]:parseInt(_0x49cc3f[0x2],0xa);_0x9f5bf0[_0x477d('0x2582')][_0x477d('0x3c1')]=_[_0x477d('0x3b2')](_0x49cc3f[0x3])?_0x49cc3f[0x3]:isNaN(_0x49cc3f[0x3])?_0x49cc3f[0x3]:parseInt(_0x49cc3f[0x3],0xa);}}else{}if(_0x9f5bf0['internaldial'][_0x477d('0x439')]&&_0x9f5bf0['internaldial'][_0x477d('0x439')][_0x477d('0x449')]()===_0x477d('0x127')&&_0x9f5bf0[_0x477d('0x2582')][_0x477d('0x1294')][_0x477d('0x449')]()===_0x477d('0x12b1')){_0x9f5bf0[_0x477d('0x2582')][_0x477d('0x6c0')]=_0x9f5bf0['internaldial'][_0x477d('0xf46')]?_0x9f5bf0[_0x477d('0x2582')][_0x477d('0xf46')][_0x477d('0x472')]('$')[0x0]:undefined;_0x9f5bf0[_0x477d('0x2582')]['callerId']=_0x9f5bf0[_0x477d('0x2582')][_0x477d('0x12b2')]?_0x477d('0x12b3')+_0x9f5bf0['internaldial'][_0x477d('0x12b2')]:undefined;}_0x9f5bf0[_0x477d('0x2578')]=_0x10d685;_0x9f5bf0[_0x477d('0x6bf')]=_0x319b0e;var _0x676f12=[{'id':0xca,'role':_0x477d('0xcf')},{'id':0xcb,'role':_0x477d('0x295')}];var _0x35cde6=null;_0x1780cb[_0x477d('0x56')](_0x477d('0x5f'))?_0x341992[_0x477d('0x380')][_0x477d('0x376')]({'fields':_0x477d('0x253a'),'sort':_0x477d('0x94'),'nolimit':'true'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0xa7e926){_0x9f5bf0[_0x477d('0xf2d')]=_0xa7e926[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x49cc2a){_0x5bdf1b[_0x477d('0x44a')]({'title':_0x49cc2a[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x49cc2a[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x49cc2a['statusText']:_0x477d('0x24bf'),'msg':_0x49cc2a['data']?JSON[_0x477d('0x3fb')](_0x49cc2a[_0x477d('0x451')]):_0x49cc2a[_0x477d('0x453')]()});}):_0x341992['user'][_0x477d('0x376')]({'fields':'id,name,role','sort':'name','nolimit':_0x477d('0x2ee')})['$promise'][_0x477d('0x76')](function(_0x8d5e18){_0x35cde6=_0x8d5e18[_0x477d('0xf2')]||[];})['then'](function(){var _0x2c3d67=[];for(var _0x2341bb=0x0;_0x2341bb<_0x676f12[_0x477d('0x79')];_0x2341bb++){_0x2c3d67[_0x477d('0x3a7')](_0x341992[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x9f5bf0[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':_0x676f12[_0x2341bb]['id']})[_0x477d('0x38b')]);}return _0x15bebe['all'](_0x2c3d67);})['then'](function(_0x5a411c){var _0x226f0a=_[_0x477d('0x3cb')](_0x5a411c,function(_0x5143ea){return _0x5143ea&&_0x5143ea['rows']?_0x5143ea['rows'][0x0]:null;});var _0x524c81=[];for(var _0x3a51fc=0x0;_0x3a51fc<_0x676f12['length'];_0x3a51fc++){var _0x4d3620=_['find'](_0x226f0a,['sectionId',_0x676f12[_0x3a51fc]['id']]);if(_0x4d3620){if(!_0x4d3620['autoAssociation']){_0x524c81[_0x477d('0x3a7')](_0x341992[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x4d3620['id']})[_0x477d('0x38b')]);}else{var _0x10f8a8=[];_0x35cde6['forEach'](function(_0x30db7b){if(_0x30db7b[_0x477d('0x3a1')]===_0x676f12[_0x3a51fc]['role']){_0x10f8a8[_0x477d('0x3a7')](_0x30db7b);}});_0x524c81[_0x477d('0x3a7')]({'rows':_0x10f8a8,'count':_0x10f8a8[_0x477d('0x79')]});}}}return _0x15bebe[_0x477d('0x7c')](_0x524c81);})['then'](function(_0x35f730){var _0x2771a9=[];var _0x3472a6=null;if(_0x9f5bf0[_0x477d('0x2582')]){_0x3472a6=_[_0x477d('0x10a')](_0x35cde6,{'name':_0x9f5bf0[_0x477d('0x2582')]['user']});}for(var _0x1d3dd4=0x0;_0x1d3dd4<_0x35f730[_0x477d('0x79')];_0x1d3dd4++){var _0x37d1f6=_0x35f730[_0x1d3dd4]['rows']||[];_0x37d1f6[_0x477d('0x3b1')](function(_0x38587c){_0x2771a9[_0x477d('0x3a7')](_0x38587c);});}if(_0x3472a6&&!_[_0x477d('0x3ab')](_0x2771a9,[_0x477d('0x3af'),_0x3472a6['id']])){_0x35cde6['forEach'](function(_0x47ea14){if(_0x47ea14['id']===_0x3472a6['id']){_0x47ea14[_0x477d('0xf8b')]=![];_0x2771a9[_0x477d('0x3a7')](_0x47ea14);}});}_0x9f5bf0[_0x477d('0xf2d')]=_0x2771a9;})['catch'](function(_0x2e93db){_0x5bdf1b['error']({'title':_0x2e93db[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x2e93db['status']+_0x477d('0x44c')+_0x2e93db[_0x477d('0x44d')]:_0x477d('0x2583'),'msg':_0x2e93db[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x2e93db[_0x477d('0x451')]):_0x2e93db['toString']()});});function _0x10d685(){_0x9f5bf0[_0x477d('0xd67')]=[];var _0x438428=[];if(_0x9f5bf0[_0x477d('0x2582')]['type']&&_0x9f5bf0[_0x477d('0x2582')][_0x477d('0x439')][_0x477d('0x449')]()===_0x477d('0x127')&&_0x9f5bf0['internaldial'][_0x477d('0x1294')]==='outboundDial'){_0x9f5bf0[_0x477d('0x2582')]['phone']=_0x3dff48[_0x477d('0x12b6')]?(_0x9f5bf0[_0x477d('0x2582')]['prefix']||'')+_0x477d('0x12b7')+_0x3dff48['cutdigits']+'}':(_0x9f5bf0[_0x477d('0x2582')][_0x477d('0x6c0')]||'')+_0x477d('0x12b8');if(_0x3dff48[_0x477d('0x12b9')]!=='none'){if(_0x9f5bf0[_0x477d('0x2582')]['options'][_0x477d('0x477')](_0x477d('0x12ba'))<0x0){_0x9f5bf0['internaldial']['options']+=_0x477d('0x12ba');}}else{_0x9f5bf0['internaldial'][_0x477d('0x43c')]=_0x9f5bf0[_0x477d('0x2582')]['options'][_0x477d('0x409')](_0x477d('0x12ba'),'');}}if(_0x9f5bf0[_0x477d('0x2582')][_0x477d('0x1294')]&&_0x9f5bf0[_0x477d('0x2582')][_0x477d('0x1294')]==='custom'){}else{switch((_0x9f5bf0['internaldial']['app']||_0x9f5bf0['internaldial'][_0x477d('0x1294')])[_0x477d('0x449')]()){case _0x477d('0x12af'):_0x9f5bf0[_0x477d('0x2582')][_0x477d('0x12ae')]=_0x9f5bf0[_0x477d('0x2582')][_0x477d('0x94')]+'='+_0x9f5bf0[_0x477d('0x2582')]['value'];break;case _0x477d('0x9f6'):break;default:_0x438428[0x0]=_0x9f5bf0[_0x477d('0x2582')]['user'];_0x438428[0x1]=_0x9f5bf0['internaldial'][_0x477d('0x91b')];_0x438428[0x2]=_0x9f5bf0[_0x477d('0x2582')][_0x477d('0x43c')];_0x438428[0x3]=_0x9f5bf0[_0x477d('0x2582')][_0x477d('0x3c1')];_0x9f5bf0['internaldial'][_0x477d('0x12ae')]=_0x438428[_0x477d('0x3f6')](',');}}_0x319b0e(_0x9f5bf0['internaldial']);}function _0x319b0e(_0x44fdd9){_0x1b03cd[_0x477d('0x3bc')](_0x44fdd9);}}}());(function(){'use strict';_0x2d4ffa[_0x477d('0xa')]=['$state',_0x477d('0x384'),_0x477d('0x6d3'),_0x477d('0xd14'),_0x477d('0x79c'),_0x477d('0x1298'),'toasty',_0x477d('0x386'),_0x477d('0x55'),'crudPermissions'];angular[_0x477d('0xb')]('app.voice')[_0x477d('0x3ba')](_0x477d('0x2569'),_0x2d4ffa);function _0x2d4ffa(_0x52974b,_0x42e446,_0x1f62e8,_0x5cbd5c,_0xc8e0fd,_0x38c4e7,_0x3c3120,_0xade914,_0x2354b6,_0x2d4f17){var _0x2708b1=this;_0x2708b1[_0x477d('0x3e5')]=_0x2354b6[_0x477d('0x5c')]();_0x2708b1[_0x477d('0xd67')]=[];_0x2708b1[_0x477d('0x49a')]=_0x477d('0x12be');_0x2708b1[_0x477d('0x79c')]=angular['copy'](_0xc8e0fd);_0x2708b1[_0x477d('0x1298')]=_0x38c4e7;_0x2708b1[_0x477d('0x12bf')]=![];_0x2708b1[_0x477d('0x12c0')]=['always',_0x477d('0x9f6'),_0x477d('0xa02')];_0x2708b1['crudPermissions']=_0x2d4f17;_0x2708b1['daysOfWeek']=_0x5cbd5c[_0x477d('0x12c2')]();_0x2708b1[_0x477d('0x12c3')]=_0x5cbd5c[_0x477d('0x12c4')]();_0x2708b1[_0x477d('0x12c5')]=_0x5cbd5c[_0x477d('0x192f')]();_0x2708b1[_0x477d('0x12c6')]=_0x5cbd5c['getDaysOfMonth']();if(!_0x2708b1[_0x477d('0x79c')]){_0x2708b1[_0x477d('0x79c')]={'interval':_0x477d('0x1249')};_0x2708b1['type']='always';_0x2708b1[_0x477d('0x49a')]='TOOLS.NEW_INTERVAL';_0x2708b1[_0x477d('0x12bf')]=!![];}else{if(_0x2708b1['interval'][_0x477d('0x79c')]!==_0x477d('0x1249')){_0x2708b1[_0x477d('0x439')]=_0x477d('0x9f6');var _0x11e55a=_0x2708b1[_0x477d('0x79c')][_0x477d('0x79c')][_0x477d('0x472')](',');var _0x7b29f3=_0x11e55a[0x0];var _0x182706=_0x11e55a[0x1];var _0x2f735b=_0x11e55a[0x2];var _0x25cb16=_0x11e55a[0x3];if(_0x7b29f3!=='*'){var _0x32ea04=_0x7b29f3[_0x477d('0x472')]('-')[0x0];var _0x5911af=_0x7b29f3['split']('-')[0x1];var _0xf86120;_0xf86120=new Date();_0xf86120['setHours'](Number(_0x32ea04[_0x477d('0x472')](':')[0x0]));_0xf86120[_0x477d('0x12c9')](Number(_0x32ea04['split'](':')[0x1]));_0x2708b1[_0x477d('0x12d1')]=_0xf86120;_0xf86120=new Date();_0xf86120['setHours'](Number(_0x5911af['split'](':')[0x0]));_0xf86120[_0x477d('0x12c9')](Number(_0x5911af[_0x477d('0x472')](':')[0x1]));_0x2708b1['timeRangeTo']=_0xf86120;}if(_0x182706!=='*'){_0x2708b1['dayOfWeekFrom']=_0x182706[_0x477d('0x472')]('-')[0x0];_0x2708b1[_0x477d('0x12cb')]=_0x182706[_0x477d('0x472')]('-')[0x1];}if(_0x2f735b!=='*'){_0x2708b1['monthDayFrom']=_0x2f735b[_0x477d('0x472')]('-')[0x0];_0x2708b1[_0x477d('0x12d6')]=_0x2f735b[_0x477d('0x472')]('-')[0x1];}if(_0x25cb16!=='*'){_0x2708b1['monthFrom']=_0x25cb16[_0x477d('0x472')]('-')[0x0];_0x2708b1['monthTo']=_0x25cb16[_0x477d('0x472')]('-')[0x1];}}else{_0x2708b1[_0x477d('0x439')]=_0x477d('0x1247');}}if(_0x52974b['params']['id']&&!_0x2708b1[_0x477d('0x79c')][_0x477d('0xf55')]){_0x2708b1[_0x477d('0x79c')][_0x477d('0xf8c')]=_0x52974b[_0x477d('0x37e')]['id'];}if(_0x2708b1[_0x477d('0x79c')][_0x477d('0xf8c')]&&_0x2708b1[_0x477d('0x79c')][_0x477d('0xf55')]){_0x2708b1['type']=_0x477d('0xa02');}_0x2708b1[_0x477d('0x12ce')]=_0x599f82;_0x2708b1[_0x477d('0x1931')]=_0x3ee39a;_0x2708b1[_0x477d('0x6bf')]=_0x2793c1;if(_0x2708b1[_0x477d('0x79c')][_0x477d('0xf55')]){_0x2354b6['hasRole'](_0x477d('0x5f'))?_0xade914[_0x477d('0x79c')][_0x477d('0x376')]({'fields':_0x477d('0x12cf'),'IntervalId':_0x477d('0xea'),'nolimit':!![]})['$promise'][_0x477d('0x76')](function(_0x15b1d0){_0x2708b1[_0x477d('0x1298')]=_0x15b1d0[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x549b0c){_0x3c3120[_0x477d('0x44a')]({'title':_0x549b0c[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x549b0c[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x549b0c[_0x477d('0x44d')]:_0x477d('0x12d0'),'msg':_0x549b0c[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x549b0c[_0x477d('0x451')]):_0x549b0c['toString']()});}):_0xade914[_0x477d('0x79c')]['get']({'fields':_0x477d('0x12cf'),'IntervalId':_0x477d('0xea'),'nolimit':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x5f5434){_0x2708b1[_0x477d('0x1298')]=_0x5f5434[_0x477d('0xf2')]||[];})['then'](function(){return _0xade914['userProfileSection']['get']({'userProfileId':_0x2708b1['currentUser'][_0x477d('0x61')],'sectionId':0x3ec})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x14f8d2){var _0x3e2b46=_0x14f8d2&&_0x14f8d2[_0x477d('0xf2')]?_0x14f8d2[_0x477d('0xf2')][0x0]:null;if(!_0x3e2b46){_0x2708b1[_0x477d('0x1298')]=[];}else{if(!_0x3e2b46[_0x477d('0x3ad')]){return _0xade914[_0x477d('0x3ae')]['get']({'sectionId':_0x3e2b46['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x4eb373){var _0x322ae3=_0x4eb373&&_0x4eb373['rows']?_0x4eb373[_0x477d('0xf2')]:[];var _0x55d53b=[];var _0x5bf953=null;if(_0x2708b1['interval']){_0x5bf953=_[_0x477d('0x10a')](_0x2708b1['intervals'],{'name':_0x2708b1[_0x477d('0x79c')][_0x477d('0xf8c')]});}if(_0x5bf953&&!_[_0x477d('0x3ab')](_0x322ae3,[_0x477d('0x3af'),_0x5bf953['id']])){_0x2708b1['intervals'][_0x477d('0x3b1')](function(_0x5e06fc){if(_0x5e06fc['id']===_0x5bf953['id']){_0x5e06fc['canSelect']=![];_0x55d53b[_0x477d('0x3a7')](_0x5e06fc);}});}_0x2708b1['intervals']=_0x55d53b;});}}})[_0x477d('0xf8')](function(_0x1480b3){_0x3c3120[_0x477d('0x44a')]({'title':_0x1480b3['status']?_0x477d('0x44b')+_0x1480b3[_0x477d('0x3c3')]+'\x20-\x20'+_0x1480b3['statusText']:_0x477d('0x12d0'),'msg':_0x1480b3[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x1480b3[_0x477d('0x451')]):_0x1480b3['toString']()});});}function _0x4265ed(){switch(_0x2708b1[_0x477d('0x439')]){case _0x477d('0x1247'):case _0x477d('0xa02'):return _0x477d('0x1249');case _0x477d('0x9f6'):var _0x5bb4ce=[];if(_0x2708b1[_0x477d('0x12d1')]!=='*'&&_0x2708b1[_0x477d('0x12d1')]&&_0x2708b1[_0x477d('0x12ca')]){var _0x15f90e=(_0x2708b1[_0x477d('0x12d1')][_0x477d('0x12d2')]()<0xa?'0':'')+_0x2708b1[_0x477d('0x12d1')][_0x477d('0x12d2')]()+':'+((_0x2708b1['timeRangeFrom'][_0x477d('0x12d3')]()<0xa?'0':'')+_0x2708b1[_0x477d('0x12d1')][_0x477d('0x12d3')]());var _0x28610a=(_0x2708b1[_0x477d('0x12ca')][_0x477d('0x12d2')]()<0xa?'0':'')+_0x2708b1[_0x477d('0x12ca')][_0x477d('0x12d2')]()+':'+((_0x2708b1['timeRangeTo'][_0x477d('0x12d3')]()<0xa?'0':'')+_0x2708b1[_0x477d('0x12ca')][_0x477d('0x12d3')]());_0x5bb4ce[_0x477d('0x3a7')](_0x15f90e+'-'+_0x28610a);}else{_0x5bb4ce['push']('*');}if(_0x2708b1[_0x477d('0x12d4')]){if(_0x2708b1[_0x477d('0x12cb')]){_0x5bb4ce[_0x477d('0x3a7')](_0x2708b1[_0x477d('0x12d4')]+'-'+_0x2708b1[_0x477d('0x12cb')]);}else{_0x5bb4ce[_0x477d('0x3a7')](_0x2708b1[_0x477d('0x12d4')]);}}else{_0x5bb4ce[_0x477d('0x3a7')]('*');}if(_0x2708b1['monthDayFrom']){if(_0x2708b1[_0x477d('0x12d6')]){_0x5bb4ce[_0x477d('0x3a7')](_0x2708b1[_0x477d('0x12d5')]+'-'+_0x2708b1[_0x477d('0x12d6')]);}else{_0x5bb4ce[_0x477d('0x3a7')](_0x2708b1[_0x477d('0x12d5')]);}}else{_0x5bb4ce[_0x477d('0x3a7')]('*');}if(_0x2708b1['monthFrom']){if(_0x2708b1[_0x477d('0x12cd')]){_0x5bb4ce[_0x477d('0x3a7')](_0x2708b1[_0x477d('0x12cc')]+'-'+_0x2708b1[_0x477d('0x12cd')]);}else{_0x5bb4ce[_0x477d('0x3a7')](_0x2708b1[_0x477d('0x12cc')]);}}else{_0x5bb4ce[_0x477d('0x3a7')]('*');}return _0x5bb4ce[_0x477d('0x3f6')]();}}function _0x599f82(){_0x2708b1[_0x477d('0xd67')]=[];_0x2708b1[_0x477d('0x79c')][_0x477d('0x79c')]=_0x4265ed();_0xade914[_0x477d('0x79c')][_0x477d('0xd70')](_0x2708b1[_0x477d('0x79c')])[_0x477d('0x38b')]['then'](function(_0x508400){_0x2708b1[_0x477d('0x1298')][_0x477d('0x3a7')](_0x508400);_0x3c3120[_0x477d('0x485')]({'title':_0x477d('0x12d7'),'msg':_0x2708b1[_0x477d('0x79c')]['name']?_0x2708b1[_0x477d('0x79c')][_0x477d('0x94')]+_0x477d('0xd73'):''});_0x2793c1();})['catch'](function(_0x441f1f){console[_0x477d('0x44a')](_0x441f1f);_0x2708b1[_0x477d('0xd67')]=_0x441f1f[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x441f1f['toString'](),'type':_0x477d('0x12d8')}];});}function _0x3ee39a(){_0x2708b1[_0x477d('0xd67')]=[];_0x2708b1[_0x477d('0x79c')][_0x477d('0x79c')]=_0x4265ed();if(_0x2708b1[_0x477d('0x79c')][_0x477d('0xf55')]){_0x2708b1[_0x477d('0x439')]!==_0x477d('0xa02')&&(_0x2708b1[_0x477d('0x79c')][_0x477d('0xf8c')]=null);_0x2793c1(_0x2708b1[_0x477d('0x79c')]);}else{_0xade914['interval'][_0x477d('0x710')]({'id':_0x2708b1[_0x477d('0x79c')]['id']},_0x2708b1['interval'])['$promise'][_0x477d('0x76')](function(_0x5c8042){var _0x548ad5=_['find'](_0x2708b1['intervals'],{'id':_0x5c8042['id']});if(_0x548ad5){_[_0x477d('0xef')](_0x548ad5,_0x5c8042);}_0x3c3120['success']({'title':_0x477d('0x12d9'),'msg':'Interval\x20has\x20been\x20saved!'});_0x2793c1();})[_0x477d('0xf8')](function(_0x518ff0){console[_0x477d('0x44a')](_0x518ff0);_0x2708b1[_0x477d('0xd67')]=_0x518ff0[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x518ff0[_0x477d('0x453')](),'type':_0x477d('0x12db')}];});}}function _0x2793c1(_0x5b2c52){_0x42e446[_0x477d('0x3bc')](_0x5b2c52);}}}());(function(){'use strict';_0x5f1dad[_0x477d('0xa')]=['$mdDialog','$q',_0x477d('0x40e'),_0x477d('0x2575'),_0x477d('0x2513'),_0x477d('0x386'),_0x477d('0x55'),_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x2f'))['controller']('EditInboundAppplaybackDialogController',_0x5f1dad);function _0x5f1dad(_0xea0b50,_0x592d2c,_0x39dde2,_0x4828d7,_0x258ae7,_0x11122b,_0x5eb83a,_0x205ee4){var _0x3070db=this;_0x3070db[_0x477d('0x3e5')]=_0x5eb83a['getCurrentUser']();_0x3070db[_0x477d('0xd67')]=[];_0x3070db[_0x477d('0x49a')]=_0x477d('0x2577')+(_0x4828d7[_0x477d('0x1294')]||_0x4828d7['app'])[_0x477d('0x44f')]();_0x3070db[_0x477d('0x2531')]=angular['copy'](_0x4828d7);_0x3070db[_0x477d('0xd66')]=_0x205ee4;_0x3070db[_0x477d('0xd68')]={};if(_0x3070db['playback'][_0x477d('0x12ae')]){switch(_0x3070db[_0x477d('0x2531')]['appType']?_0x3070db[_0x477d('0x2531')][_0x477d('0x1294')]['toLowerCase']():_0x3070db[_0x477d('0x2531')][_0x477d('0x1291')][_0x477d('0x449')]()){case _0x477d('0x9f6'):break;case'dialogflow':var _0x212bfc=_0x3070db[_0x477d('0x2531')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x3070db[_0x477d('0x2531')][_0x477d('0x670')]=_0x212bfc[0x0];_0x3070db[_0x477d('0x2531')][_0x477d('0x1267')]=_0x212bfc[0x1];_0x3070db[_0x477d('0x2531')][_0x477d('0x127a')]=_0x212bfc[_0x477d('0x9cd')](0x2,_0x212bfc[_0x477d('0x79')])['join'](',');break;case _0x477d('0x127c'):var _0x212bfc=_0x3070db[_0x477d('0x2531')][_0x477d('0x12ae')]['split'](',');_0x3070db['playback'][_0x477d('0x127d')]=_0x212bfc[0x0];_0x3070db[_0x477d('0x2531')][_0x477d('0x127e')]=_0x212bfc[0x1];_0x3070db[_0x477d('0x2531')][_0x477d('0x127f')]=_0x212bfc[0x2];_0x3070db[_0x477d('0x2531')][_0x477d('0x1283')]=_0x212bfc[0x3];_0x3070db[_0x477d('0x2531')][_0x477d('0x127a')]=_0x212bfc[_0x477d('0x9cd')](0x4,_0x212bfc[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case'autoreply':var _0x212bfc=_0x3070db[_0x477d('0x2531')]['appdata']['split'](',');_0x3070db[_0x477d('0x2531')][_0x477d('0x1261')]=isNaN(_0x212bfc[0x0])?_0x212bfc[0x0]:parseInt(_0x212bfc[0x0],0xa);_0x3070db[_0x477d('0x2531')][_0x477d('0x41b')]=_0x212bfc[_0x477d('0x9cd')](0x1,_0x212bfc[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x452'):_0x3070db['playback'][_0x477d('0x41b')]=_0x3070db['playback'][_0x477d('0x12ae')];break;case _0x477d('0x12af'):_0x3070db[_0x477d('0x2531')][_0x477d('0x94')]=_0x3070db['playback'][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x0];_0x3070db['playback']['value']=_0x3070db[_0x477d('0x2531')]['appdata']['split']('=')[0x1];break;case _0x477d('0x12b0'):_0x3070db[_0x477d('0x2531')][_0x477d('0xf13')]=_0x3070db[_0x477d('0x2531')][_0x477d('0x12ae')];break;default:var _0x3e1660=_0x3070db[_0x477d('0x2531')]['appdata'][_0x477d('0x472')](',');_0x3070db['playback']['appdata']=_[_0x477d('0x3b2')](_0x3e1660[0x0])?_0x3e1660[0x0]:isNaN(_0x3e1660[0x0])?_0x3e1660[0x0]:parseInt(_0x3e1660[0x0],0xa);_0x3070db[_0x477d('0x2531')]['options']=_['isEmpty'](_0x3e1660[0x1])?_0x3e1660[0x1]:isNaN(_0x3e1660[0x1])?_0x3e1660[0x1]:parseInt(_0x3e1660[0x1],0xa);}}else{}if(_0x3070db['playback']['type']&&_0x3070db[_0x477d('0x2531')][_0x477d('0x439')][_0x477d('0x449')]()===_0x477d('0x127')&&_0x3070db[_0x477d('0x2531')][_0x477d('0x1294')]['toLowerCase']()===_0x477d('0x12b1')){_0x3070db['playback'][_0x477d('0x6c0')]=_0x3070db[_0x477d('0x2531')][_0x477d('0xf46')]?_0x3070db[_0x477d('0x2531')][_0x477d('0xf46')][_0x477d('0x472')]('$')[0x0]:undefined;_0x3070db['playback'][_0x477d('0x69b')]=_0x3070db[_0x477d('0x2531')][_0x477d('0x12b2')]?'CALLERID(all)='+_0x3070db[_0x477d('0x2531')][_0x477d('0x12b2')]:undefined;}_0x3070db[_0x477d('0x2578')]=_0x1ec381;_0x3070db['closeDialog']=_0x5bc16a;_0x5eb83a[_0x477d('0x56')](_0x477d('0x5f'))?_0x11122b[_0x477d('0x15c9')][_0x477d('0x376')]({'fields':_0x477d('0x2532'),'sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x210b18){_0x3070db[_0x477d('0xf30')]=_0x210b18[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x1f91dc){_0x39dde2[_0x477d('0x44a')]({'title':_0x1f91dc[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x1f91dc[_0x477d('0x3c3')]+'\x20-\x20'+_0x1f91dc['statusText']:'SYSTEM:GET_SOUNDS','msg':_0x1f91dc[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x1f91dc[_0x477d('0x451')]):_0x1f91dc[_0x477d('0x453')]()});}):_0x11122b[_0x477d('0x15c9')][_0x477d('0x376')]({'fields':'id,name,save_name','sort':_0x477d('0x94'),'nolimit':'true'})['$promise'][_0x477d('0x76')](function(_0x31d520){_0x3070db[_0x477d('0xf30')]=_0x31d520[_0x477d('0xf2')]||[];})['then'](function(){return _0x11122b[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x3070db[_0x477d('0x3e5')]['userProfileId'],'sectionId':0x3ef})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x250a17){var _0x4a6d32=_0x250a17&&_0x250a17[_0x477d('0xf2')]?_0x250a17[_0x477d('0xf2')][0x0]:null;if(!_0x4a6d32){var _0x2ec30f=[];var _0x25e424=null;if(_0x3070db[_0x477d('0x2531')]){_0x25e424=_[_0x477d('0x10a')](_0x3070db['sounds'],{'save_name':_0x3070db['playback'][_0x477d('0x15c9')]});}for(var _0x4d2a0=0x0;_0x4d2a0<_0x3070db[_0x477d('0xf30')][_0x477d('0x79')];_0x4d2a0++){if(_0x25e424&&_0x3070db[_0x477d('0xf30')][_0x4d2a0]['id']===_0x25e424['id']){_0x3070db[_0x477d('0xf30')][_0x4d2a0][_0x477d('0xf8b')]=![];_0x2ec30f[_0x477d('0x3a7')](_0x3070db['sounds'][_0x4d2a0]);}}_0x3070db['sounds']=_0x2ec30f;}else{if(!_0x4a6d32[_0x477d('0x3ad')]){return _0x11122b[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x4a6d32['id']})[_0x477d('0x38b')]['then'](function(_0x584d01){var _0x3cca79=_[_0x477d('0x3cb')](_0x584d01[_0x477d('0xf2')],function(_0x3f5a7a){return _['find'](_0x3070db[_0x477d('0xf30')],{'id':_0x3f5a7a[_0x477d('0x3af')]});});var _0x5d5473=null;if(_0x3070db[_0x477d('0x2531')]){_0x5d5473=_['find'](_0x3070db[_0x477d('0xf30')],{'save_name':_0x3070db['playback'][_0x477d('0x15c9')]});}if(_0x5d5473&&!_[_0x477d('0x3ab')](_0x3cca79,['id',_0x5d5473['id']])){var _0x342521=_['find'](_0x3070db[_0x477d('0xf30')],{'id':_0x5d5473['id']});_0x342521[_0x477d('0xf8b')]=![];_0x3cca79[_0x477d('0x3a7')](_0x342521);}_0x3070db[_0x477d('0xf30')]=_0x3cca79;});}}})[_0x477d('0xf8')](function(_0x804e01){_0x39dde2[_0x477d('0x44a')]({'title':_0x804e01['status']?_0x477d('0x44b')+_0x804e01[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x804e01[_0x477d('0x44d')]:_0x477d('0x2584'),'msg':_0x804e01[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x804e01[_0x477d('0x451')]):_0x804e01['toString']()});});function _0x1ec381(){_0x3070db[_0x477d('0xd67')]=[];var _0x3f0dff=[];if(_0x3070db[_0x477d('0x2531')][_0x477d('0x439')]&&_0x3070db[_0x477d('0x2531')][_0x477d('0x439')][_0x477d('0x449')]()===_0x477d('0x127')&&_0x3070db['playback'][_0x477d('0x1294')]==='outboundDial'){_0x3070db[_0x477d('0x2531')][_0x477d('0xf46')]=_0x258ae7[_0x477d('0x12b6')]?(_0x3070db[_0x477d('0x2531')]['prefix']||'')+_0x477d('0x12b7')+_0x258ae7['cutdigits']+'}':(_0x3070db[_0x477d('0x2531')][_0x477d('0x6c0')]||'')+_0x477d('0x12b8');if(_0x258ae7[_0x477d('0x12b9')]!==_0x477d('0x496')){if(_0x3070db[_0x477d('0x2531')][_0x477d('0x43c')][_0x477d('0x477')]('U(xcally-mixmonitor-context)')<0x0){_0x3070db[_0x477d('0x2531')][_0x477d('0x43c')]+=_0x477d('0x12ba');}}else{_0x3070db[_0x477d('0x2531')][_0x477d('0x43c')]=_0x3070db[_0x477d('0x2531')]['options'][_0x477d('0x409')]('U(xcally-mixmonitor-context)','');}}if(_0x3070db['playback'][_0x477d('0x1294')]&&_0x3070db[_0x477d('0x2531')][_0x477d('0x1294')]==='custom'){}else{switch((_0x3070db[_0x477d('0x2531')][_0x477d('0x1291')]||_0x3070db[_0x477d('0x2531')][_0x477d('0x1294')])[_0x477d('0x449')]()){case'set':_0x3070db[_0x477d('0x2531')][_0x477d('0x12ae')]=_0x3070db['playback']['name']+'='+_0x3070db[_0x477d('0x2531')][_0x477d('0x3b6')];break;case _0x477d('0x9f6'):break;default:_0x3f0dff[0x0]=_0x3070db[_0x477d('0x2531')][_0x477d('0x12ae')];_0x3f0dff[0x1]=_0x3070db['playback'][_0x477d('0x43c')];_0x3070db[_0x477d('0x2531')][_0x477d('0x12ae')]=_0x3f0dff['join'](',');}}_0x5bc16a(_0x3070db[_0x477d('0x2531')]);}function _0x5bc16a(_0x14cf59){_0xea0b50['hide'](_0x14cf59);}}}());(function(){'use strict';_0x3d723b[_0x477d('0xa')]=['$mdDialog','$q','toasty',_0x477d('0x2575'),'inboundroute',_0x477d('0x386'),_0x477d('0x55'),_0x477d('0xd66')];angular[_0x477d('0xb')]('app.voice')['controller']('EditInboundAppqueueDialogController',_0x3d723b);function _0x3d723b(_0x5e2aef,_0x3ae862,_0x394e3c,_0x72ee61,_0x4a01b4,_0x46b55d,_0x1ab760,_0x4c7731){var _0x52d0de=this;_0x52d0de[_0x477d('0x3e5')]=_0x1ab760[_0x477d('0x5c')]();_0x52d0de[_0x477d('0xd67')]=[];_0x52d0de[_0x477d('0x49a')]='VOICE.EDIT_'+(_0x72ee61[_0x477d('0x1294')]||_0x72ee61[_0x477d('0x1291')])[_0x477d('0x44f')]();_0x52d0de[_0x477d('0x1256')]=angular['copy'](_0x72ee61);_0x52d0de[_0x477d('0xd66')]=_0x4c7731;_0x52d0de[_0x477d('0xd68')]={};if(_0x52d0de[_0x477d('0x1256')][_0x477d('0x12ae')]){switch(_0x52d0de[_0x477d('0x1256')][_0x477d('0x1294')]?_0x52d0de[_0x477d('0x1256')][_0x477d('0x1294')][_0x477d('0x449')]():_0x52d0de[_0x477d('0x1256')][_0x477d('0x1291')][_0x477d('0x449')]()){case _0x477d('0x9f6'):break;case _0x477d('0x1266'):var _0x168cf1=_0x52d0de['queue'][_0x477d('0x12ae')]['split'](',');_0x52d0de[_0x477d('0x1256')]['key']=_0x168cf1[0x0];_0x52d0de[_0x477d('0x1256')]['language']=_0x168cf1[0x1];_0x52d0de[_0x477d('0x1256')][_0x477d('0x127a')]=_0x168cf1[_0x477d('0x9cd')](0x2,_0x168cf1[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x127c'):var _0x168cf1=_0x52d0de[_0x477d('0x1256')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x52d0de[_0x477d('0x1256')][_0x477d('0x127d')]=_0x168cf1[0x0];_0x52d0de[_0x477d('0x1256')][_0x477d('0x127e')]=_0x168cf1[0x1];_0x52d0de[_0x477d('0x1256')][_0x477d('0x127f')]=_0x168cf1[0x2];_0x52d0de[_0x477d('0x1256')][_0x477d('0x1283')]=_0x168cf1[0x3];_0x52d0de[_0x477d('0x1256')][_0x477d('0x127a')]=_0x168cf1[_0x477d('0x9cd')](0x4,_0x168cf1[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x1260'):var _0x168cf1=_0x52d0de[_0x477d('0x1256')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x52d0de[_0x477d('0x1256')][_0x477d('0x1261')]=isNaN(_0x168cf1[0x0])?_0x168cf1[0x0]:parseInt(_0x168cf1[0x0],0xa);_0x52d0de[_0x477d('0x1256')][_0x477d('0x41b')]=_0x168cf1[_0x477d('0x9cd')](0x1,_0x168cf1[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case'message':_0x52d0de[_0x477d('0x1256')]['text']=_0x52d0de['queue'][_0x477d('0x12ae')];break;case _0x477d('0x12af'):_0x52d0de[_0x477d('0x1256')][_0x477d('0x94')]=_0x52d0de[_0x477d('0x1256')][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x0];_0x52d0de[_0x477d('0x1256')][_0x477d('0x3b6')]=_0x52d0de['queue'][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x1];break;case'agi':_0x52d0de[_0x477d('0x1256')][_0x477d('0xf13')]=_0x52d0de['queue']['appdata'];break;default:var _0x38533a=_0x52d0de[_0x477d('0x1256')]['appdata'][_0x477d('0x472')](',');_0x52d0de[_0x477d('0x1256')][_0x477d('0x1256')]=_[_0x477d('0x3b2')](_0x38533a[0x0])?_0x38533a[0x0]:isNaN(_0x38533a[0x0])?_0x38533a[0x0]:parseInt(_0x38533a[0x0],0xa);_0x52d0de[_0x477d('0x1256')][_0x477d('0x43c')]=_[_0x477d('0x3b2')](_0x38533a[0x1])?_0x38533a[0x1]:isNaN(_0x38533a[0x1])?_0x38533a[0x1]:parseInt(_0x38533a[0x1],0xa);_0x52d0de[_0x477d('0x1256')]['URL']=_['isEmpty'](_0x38533a[0x2])?_0x38533a[0x2]:isNaN(_0x38533a[0x2])?_0x38533a[0x2]:parseInt(_0x38533a[0x2],0xa);_0x52d0de[_0x477d('0x1256')]['sound']=_['isEmpty'](_0x38533a[0x3])?_0x38533a[0x3]:isNaN(_0x38533a[0x3])?_0x38533a[0x3]:parseInt(_0x38533a[0x3],0xa);_0x52d0de[_0x477d('0x1256')][_0x477d('0x91b')]=_['isEmpty'](_0x38533a[0x4])?_0x38533a[0x4]:isNaN(_0x38533a[0x4])?_0x38533a[0x4]:parseInt(_0x38533a[0x4],0xa);_0x52d0de[_0x477d('0x1256')][_0x477d('0x12b0')]=_[_0x477d('0x3b2')](_0x38533a[0x5])?_0x38533a[0x5]:isNaN(_0x38533a[0x5])?_0x38533a[0x5]:parseInt(_0x38533a[0x5],0xa);_0x52d0de[_0x477d('0x1256')][_0x477d('0x252d')]=_['isEmpty'](_0x38533a[0x6])?_0x38533a[0x6]:isNaN(_0x38533a[0x6])?_0x38533a[0x6]:parseInt(_0x38533a[0x6],0xa);_0x52d0de[_0x477d('0x1256')][_0x477d('0x252e')]=_['isEmpty'](_0x38533a[0x7])?_0x38533a[0x7]:isNaN(_0x38533a[0x7])?_0x38533a[0x7]:parseInt(_0x38533a[0x7],0xa);_0x52d0de['queue'][_0x477d('0x2585')]=_[_0x477d('0x3b2')](_0x38533a[0x8])?_0x38533a[0x8]:isNaN(_0x38533a[0x8])?_0x38533a[0x8]:parseInt(_0x38533a[0x8],0xa);_0x52d0de[_0x477d('0x1256')][_0x477d('0x68f')]=_[_0x477d('0x3b2')](_0x38533a[0x9])?_0x38533a[0x9]:isNaN(_0x38533a[0x9])?_0x38533a[0x9]:parseInt(_0x38533a[0x9],0xa);}}else{}if(_0x52d0de['queue'][_0x477d('0x439')]&&_0x52d0de['queue'][_0x477d('0x439')][_0x477d('0x449')]()===_0x477d('0x127')&&_0x52d0de[_0x477d('0x1256')][_0x477d('0x1294')][_0x477d('0x449')]()===_0x477d('0x12b1')){_0x52d0de[_0x477d('0x1256')]['prefix']=_0x52d0de['queue'][_0x477d('0xf46')]?_0x52d0de[_0x477d('0x1256')]['phone']['split']('$')[0x0]:undefined;_0x52d0de[_0x477d('0x1256')][_0x477d('0x69b')]=_0x52d0de[_0x477d('0x1256')][_0x477d('0x12b2')]?'CALLERID(all)='+_0x52d0de[_0x477d('0x1256')][_0x477d('0x12b2')]:undefined;}_0x52d0de['saveInboundRouteApp']=_0x200326;_0x52d0de['closeDialog']=_0x46d4fc;_0x1ab760['hasRole'](_0x477d('0x5f'))?_0x46b55d['sound']['get']({'fields':_0x477d('0x2532'),'sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})['$promise'][_0x477d('0x76')](function(_0x38e0b0){_0x52d0de[_0x477d('0xf30')]=_0x38e0b0['rows']||[];})[_0x477d('0xf8')](function(_0x7d1887){_0x394e3c[_0x477d('0x44a')]({'title':_0x7d1887[_0x477d('0x3c3')]?'API:'+_0x7d1887[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x7d1887[_0x477d('0x44d')]:_0x477d('0x2586'),'msg':_0x7d1887['data']?JSON[_0x477d('0x3fb')](_0x7d1887[_0x477d('0x451')]):_0x7d1887[_0x477d('0x453')]()});}):_0x46b55d['sound'][_0x477d('0x376')]({'fields':'id,name,save_name','sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x594373){_0x52d0de['sounds']=_0x594373[_0x477d('0xf2')]||[];})['then'](function(){return _0x46b55d[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x52d0de[_0x477d('0x3e5')]['userProfileId'],'sectionId':0x3ef})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x112649){var _0xa5a1be=_0x112649&&_0x112649[_0x477d('0xf2')]?_0x112649[_0x477d('0xf2')][0x0]:null;if(!_0xa5a1be){var _0x155251=[];var _0x45ae16=null;if(_0x52d0de['queue']){_0x45ae16=_[_0x477d('0x10a')](_0x52d0de['sounds'],{'save_name':_0x52d0de[_0x477d('0x1256')]['sound']});}for(var _0x302a9a=0x0;_0x302a9a<_0x52d0de[_0x477d('0xf30')][_0x477d('0x79')];_0x302a9a++){if(_0x45ae16&&_0x52d0de[_0x477d('0xf30')][_0x302a9a]['id']===_0x45ae16['id']){_0x52d0de['sounds'][_0x302a9a][_0x477d('0xf8b')]=![];_0x155251['push'](_0x52d0de[_0x477d('0xf30')][_0x302a9a]);}}_0x52d0de['sounds']=_0x155251;}else{if(!_0xa5a1be['autoAssociation']){return _0x46b55d['userProfileResource'][_0x477d('0x376')]({'sectionId':_0xa5a1be['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x139a05){var _0x4e199c=_[_0x477d('0x3cb')](_0x139a05[_0x477d('0xf2')],function(_0x5a0078){return _[_0x477d('0x10a')](_0x52d0de[_0x477d('0xf30')],{'id':_0x5a0078[_0x477d('0x3af')]});});var _0x1284b6=null;if(_0x52d0de[_0x477d('0x1256')]){_0x1284b6=_[_0x477d('0x10a')](_0x52d0de[_0x477d('0xf30')],{'save_name':_0x52d0de[_0x477d('0x1256')][_0x477d('0x15c9')]});}if(_0x1284b6&&!_[_0x477d('0x3ab')](_0x4e199c,['id',_0x1284b6['id']])){var _0x5bf4a3=_[_0x477d('0x10a')](_0x52d0de[_0x477d('0xf30')],{'id':_0x1284b6['id']});_0x5bf4a3['canSelect']=![];_0x4e199c[_0x477d('0x3a7')](_0x5bf4a3);}_0x52d0de[_0x477d('0xf30')]=_0x4e199c;});}}})[_0x477d('0xf8')](function(_0x5b569c){_0x394e3c['error']({'title':_0x5b569c['status']?_0x477d('0x44b')+_0x5b569c[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x5b569c[_0x477d('0x44d')]:'SYSTEM:GETsounds','msg':_0x5b569c['data']?JSON[_0x477d('0x3fb')](_0x5b569c[_0x477d('0x451')]):_0x5b569c['toString']()});});_0x1ab760['hasRole'](_0x477d('0x5f'))?_0x46b55d[_0x477d('0xa76')]['get']({'type':_0x477d('0x9e'),'fields':_0x477d('0x12de'),'sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x217417){_0x52d0de[_0x477d('0xf2f')]=_0x217417[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x4b8ac2){_0x394e3c[_0x477d('0x44a')]({'title':_0x4b8ac2[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x4b8ac2[_0x477d('0x3c3')]+'\x20-\x20'+_0x4b8ac2['statusText']:_0x477d('0x1934'),'msg':_0x4b8ac2[_0x477d('0x451')]?JSON['stringify'](_0x4b8ac2['data']):_0x4b8ac2[_0x477d('0x453')]()});}):_0x46b55d[_0x477d('0xa76')][_0x477d('0x376')]({'type':_0x477d('0x9e'),'fields':_0x477d('0x12de'),'sort':'name','nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x18211b){_0x52d0de[_0x477d('0xf2f')]=_0x18211b['rows']||[];})[_0x477d('0x76')](function(){return _0x46b55d[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x52d0de[_0x477d('0x3e5')]['userProfileId'],'sectionId':0x191})[_0x477d('0x38b')];})['then'](function(_0xe40cad){var _0x1d2557=_0xe40cad&&_0xe40cad['rows']?_0xe40cad[_0x477d('0xf2')][0x0]:null;if(!_0x1d2557){var _0x5a7e39=[];var _0x2ccedb=null;if(_0x52d0de[_0x477d('0x1256')]){_0x2ccedb=_[_0x477d('0x10a')](_0x52d0de[_0x477d('0xf2f')],{'name':_0x52d0de[_0x477d('0x1256')][_0x477d('0x1256')]});}for(var _0x21f6f8=0x0;_0x21f6f8<_0x52d0de[_0x477d('0xf2f')][_0x477d('0x79')];_0x21f6f8++){if(_0x2ccedb&&_0x52d0de[_0x477d('0xf2f')][_0x21f6f8]['id']===_0x2ccedb['id']){_0x52d0de[_0x477d('0xf2f')][_0x21f6f8][_0x477d('0xf8b')]=![];_0x5a7e39[_0x477d('0x3a7')](_0x52d0de['queues'][_0x21f6f8]);}}_0x52d0de[_0x477d('0xf2f')]=_0x5a7e39;}else{if(!_0x1d2557[_0x477d('0x3ad')]){return _0x46b55d[_0x477d('0x3ae')]['get']({'sectionId':_0x1d2557['id']})['$promise']['then'](function(_0x5d835c){var _0x50dd26=_['map'](_0x5d835c[_0x477d('0xf2')],function(_0x551c0d){return _[_0x477d('0x10a')](_0x52d0de[_0x477d('0xf2f')],{'id':_0x551c0d[_0x477d('0x3af')]});});var _0x57535b=null;if(_0x52d0de[_0x477d('0x1256')]){_0x57535b=_[_0x477d('0x10a')](_0x52d0de['queues'],{'name':_0x52d0de['queue'][_0x477d('0x1256')]});}if(_0x57535b&&!_['some'](_0x50dd26,['id',_0x57535b['id']])){var _0x5abdfe=_[_0x477d('0x10a')](_0x52d0de[_0x477d('0xf2f')],{'id':_0x57535b['id']});_0x5abdfe[_0x477d('0xf8b')]=![];_0x50dd26['push'](_0x5abdfe);}_0x52d0de['queues']=_0x50dd26;});}}})[_0x477d('0xf8')](function(_0x1a4c53){_0x394e3c['error']({'title':_0x1a4c53[_0x477d('0x3c3')]?'API:'+_0x1a4c53[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x1a4c53['statusText']:_0x477d('0x12df'),'msg':_0x1a4c53['data']?JSON[_0x477d('0x3fb')](_0x1a4c53[_0x477d('0x451')]):_0x1a4c53[_0x477d('0x453')]()});});function _0x200326(){_0x52d0de['errors']=[];var _0x4f3be5=[];if(_0x52d0de[_0x477d('0x1256')]['type']&&_0x52d0de['queue']['type'][_0x477d('0x449')]()===_0x477d('0x127')&&_0x52d0de[_0x477d('0x1256')]['appType']===_0x477d('0x12b5')){_0x52d0de['queue'][_0x477d('0xf46')]=_0x4a01b4[_0x477d('0x12b6')]?(_0x52d0de['queue'][_0x477d('0x6c0')]||'')+_0x477d('0x12b7')+_0x4a01b4[_0x477d('0x12b6')]+'}':(_0x52d0de['queue'][_0x477d('0x6c0')]||'')+_0x477d('0x12b8');if(_0x4a01b4[_0x477d('0x12b9')]!==_0x477d('0x496')){if(_0x52d0de[_0x477d('0x1256')][_0x477d('0x43c')]['indexOf'](_0x477d('0x12ba'))<0x0){_0x52d0de[_0x477d('0x1256')][_0x477d('0x43c')]+='U(xcally-mixmonitor-context)';}}else{_0x52d0de[_0x477d('0x1256')][_0x477d('0x43c')]=_0x52d0de['queue'][_0x477d('0x43c')][_0x477d('0x409')](_0x477d('0x12ba'),'');}}if(_0x52d0de[_0x477d('0x1256')][_0x477d('0x1294')]&&_0x52d0de[_0x477d('0x1256')][_0x477d('0x1294')]==='custom'){}else{switch((_0x52d0de[_0x477d('0x1256')][_0x477d('0x1291')]||_0x52d0de['queue'][_0x477d('0x1294')])['toLowerCase']()){case _0x477d('0x12af'):_0x52d0de[_0x477d('0x1256')][_0x477d('0x12ae')]=_0x52d0de['queue'][_0x477d('0x94')]+'='+_0x52d0de['queue']['value'];break;case _0x477d('0x9f6'):break;default:_0x4f3be5[0x0]=_0x52d0de[_0x477d('0x1256')][_0x477d('0x1256')];_0x4f3be5[0x1]=_0x52d0de[_0x477d('0x1256')][_0x477d('0x43c')];_0x4f3be5[0x2]=_0x52d0de[_0x477d('0x1256')]['URL'];_0x4f3be5[0x3]=_0x52d0de[_0x477d('0x1256')][_0x477d('0x15c9')];_0x4f3be5[0x4]=_0x52d0de[_0x477d('0x1256')][_0x477d('0x91b')];_0x4f3be5[0x5]=_0x52d0de[_0x477d('0x1256')][_0x477d('0x12b0')];_0x4f3be5[0x6]=_0x52d0de[_0x477d('0x1256')][_0x477d('0x252d')];_0x4f3be5[0x7]=_0x52d0de['queue'][_0x477d('0x252e')];_0x4f3be5[0x8]=_0x52d0de[_0x477d('0x1256')]['rule'];_0x4f3be5[0x9]=_0x52d0de['queue'][_0x477d('0x68f')];_0x52d0de[_0x477d('0x1256')][_0x477d('0x12ae')]=_0x4f3be5[_0x477d('0x3f6')](',');}}_0x46d4fc(_0x52d0de[_0x477d('0x1256')]);}function _0x46d4fc(_0x124987){_0x5e2aef['hide'](_0x124987);}}}());(function(){'use strict';_0x13f302[_0x477d('0xa')]=[_0x477d('0x384'),'$q',_0x477d('0x40e'),_0x477d('0x2575'),'inboundroute','api',_0x477d('0x55'),'crudPermissions'];angular['module'](_0x477d('0x2f'))[_0x477d('0x3ba')]('EditInboundAppringgroupDialogController',_0x13f302);function _0x13f302(_0x8160a,_0x400693,_0x5c7766,_0x2b3ffa,_0x5c03c1,_0x35be6f,_0xc70a13,_0x8c0fdc){var _0x175a95=this;_0x175a95['currentUser']=_0xc70a13[_0x477d('0x5c')]();_0x175a95[_0x477d('0xd67')]=[];_0x175a95[_0x477d('0x49a')]=_0x477d('0x2577')+(_0x2b3ffa[_0x477d('0x1294')]||_0x2b3ffa[_0x477d('0x1291')])[_0x477d('0x44f')]();_0x175a95['ringgroup']=angular[_0x477d('0x6d9')](_0x2b3ffa);_0x175a95[_0x477d('0xd66')]=_0x8c0fdc;_0x175a95[_0x477d('0xd68')]={};if(_0x175a95['ringgroup'][_0x477d('0x12ae')]){switch(_0x175a95[_0x477d('0x2587')][_0x477d('0x1294')]?_0x175a95[_0x477d('0x2587')][_0x477d('0x1294')]['toLowerCase']():_0x175a95['ringgroup'][_0x477d('0x1291')][_0x477d('0x449')]()){case _0x477d('0x9f6'):break;case _0x477d('0x1266'):var _0x55bfbb=_0x175a95[_0x477d('0x2587')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x175a95[_0x477d('0x2587')][_0x477d('0x670')]=_0x55bfbb[0x0];_0x175a95['ringgroup'][_0x477d('0x1267')]=_0x55bfbb[0x1];_0x175a95[_0x477d('0x2587')]['welcomemessage']=_0x55bfbb['slice'](0x2,_0x55bfbb[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x127c'):var _0x55bfbb=_0x175a95['ringgroup'][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x175a95['ringgroup'][_0x477d('0x127d')]=_0x55bfbb[0x0];_0x175a95[_0x477d('0x2587')]['secretaccesskey']=_0x55bfbb[0x1];_0x175a95[_0x477d('0x2587')][_0x477d('0x127f')]=_0x55bfbb[0x2];_0x175a95['ringgroup'][_0x477d('0x1283')]=_0x55bfbb[0x3];_0x175a95['ringgroup'][_0x477d('0x127a')]=_0x55bfbb[_0x477d('0x9cd')](0x4,_0x55bfbb[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case'autoreply':var _0x55bfbb=_0x175a95[_0x477d('0x2587')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x175a95[_0x477d('0x2587')][_0x477d('0x1261')]=isNaN(_0x55bfbb[0x0])?_0x55bfbb[0x0]:parseInt(_0x55bfbb[0x0],0xa);_0x175a95[_0x477d('0x2587')][_0x477d('0x41b')]=_0x55bfbb[_0x477d('0x9cd')](0x1,_0x55bfbb['length'])[_0x477d('0x3f6')](',');break;case _0x477d('0x452'):_0x175a95[_0x477d('0x2587')]['text']=_0x175a95['ringgroup'][_0x477d('0x12ae')];break;case _0x477d('0x12af'):_0x175a95[_0x477d('0x2587')]['name']=_0x175a95['ringgroup'][_0x477d('0x12ae')]['split']('=')[0x0];_0x175a95[_0x477d('0x2587')][_0x477d('0x3b6')]=_0x175a95['ringgroup'][_0x477d('0x12ae')]['split']('=')[0x1];break;case _0x477d('0x12b0'):_0x175a95['ringgroup']['project']=_0x175a95['ringgroup'][_0x477d('0x12ae')];break;default:var _0x4ebfe0=_0x175a95[_0x477d('0x2587')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x175a95[_0x477d('0x2587')][_0x477d('0x2588')]=_0x4ebfe0[0x0][_0x477d('0x472')]('&');_0x175a95[_0x477d('0x2587')][_0x477d('0x91b')]=_[_0x477d('0x3b2')](_0x4ebfe0[0x1])?_0x4ebfe0[0x1]:isNaN(_0x4ebfe0[0x1])?_0x4ebfe0[0x1]:parseInt(_0x4ebfe0[0x1],0xa);_0x175a95[_0x477d('0x2587')][_0x477d('0x43c')]=_['isEmpty'](_0x4ebfe0[0x2])?_0x4ebfe0[0x2]:isNaN(_0x4ebfe0[0x2])?_0x4ebfe0[0x2]:parseInt(_0x4ebfe0[0x2],0xa);_0x175a95['ringgroup'][_0x477d('0x3c1')]=_['isEmpty'](_0x4ebfe0[0x3])?_0x4ebfe0[0x3]:isNaN(_0x4ebfe0[0x3])?_0x4ebfe0[0x3]:parseInt(_0x4ebfe0[0x3],0xa);}}else{}if(_0x175a95[_0x477d('0x2587')][_0x477d('0x439')]&&_0x175a95[_0x477d('0x2587')][_0x477d('0x439')][_0x477d('0x449')]()==='outbound'&&_0x175a95[_0x477d('0x2587')][_0x477d('0x1294')][_0x477d('0x449')]()===_0x477d('0x12b1')){_0x175a95[_0x477d('0x2587')][_0x477d('0x6c0')]=_0x175a95[_0x477d('0x2587')][_0x477d('0xf46')]?_0x175a95[_0x477d('0x2587')][_0x477d('0xf46')]['split']('$')[0x0]:undefined;_0x175a95['ringgroup'][_0x477d('0x69b')]=_0x175a95[_0x477d('0x2587')][_0x477d('0x12b2')]?_0x477d('0x12b3')+_0x175a95[_0x477d('0x2587')][_0x477d('0x12b2')]:undefined;}_0x175a95['saveInboundRouteApp']=_0x1b5898;_0x175a95[_0x477d('0x6bf')]=_0x272414;var _0x4025e7=[{'id':0xca,'role':'agent'},{'id':0xcb,'role':'telephone'}];var _0x487784=null;_0xc70a13[_0x477d('0x56')]('admin')?_0x35be6f[_0x477d('0x380')]['get']({'fields':'id,name,role','sort':_0x477d('0x94'),'nolimit':'true'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x5b5e6f){_0x175a95['users']=_0x5b5e6f[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x21e620){_0x5c7766[_0x477d('0x44a')]({'title':_0x21e620[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x21e620[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x21e620[_0x477d('0x44d')]:'SYSTEM:GET_USERS','msg':_0x21e620['data']?JSON[_0x477d('0x3fb')](_0x21e620['data']):_0x21e620[_0x477d('0x453')]()});}):_0x35be6f['user'][_0x477d('0x376')]({'fields':_0x477d('0x253a'),'sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x28c68b){_0x487784=_0x28c68b[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){var _0x3937ee=[];for(var _0x50068b=0x0;_0x50068b<_0x4025e7[_0x477d('0x79')];_0x50068b++){_0x3937ee[_0x477d('0x3a7')](_0x35be6f['userProfileSection'][_0x477d('0x376')]({'userProfileId':_0x175a95[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':_0x4025e7[_0x50068b]['id']})[_0x477d('0x38b')]);}return _0x400693[_0x477d('0x7c')](_0x3937ee);})['then'](function(_0x543b5b){var _0x352c6e=_[_0x477d('0x3cb')](_0x543b5b,function(_0x539d01){return _0x539d01&&_0x539d01[_0x477d('0xf2')]?_0x539d01[_0x477d('0xf2')][0x0]:null;});var _0x4fe129=[];for(var _0x57d144=0x0;_0x57d144<_0x4025e7[_0x477d('0x79')];_0x57d144++){var _0x29a58d=_[_0x477d('0x10a')](_0x352c6e,[_0x477d('0x3a8'),_0x4025e7[_0x57d144]['id']]);if(_0x29a58d){if(!_0x29a58d[_0x477d('0x3ad')]){_0x4fe129[_0x477d('0x3a7')](_0x35be6f[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x29a58d['id']})[_0x477d('0x38b')]);}else{var _0x539da7=[];_0x487784[_0x477d('0x3b1')](function(_0x7359cd){if(_0x7359cd[_0x477d('0x3a1')]===_0x4025e7[_0x57d144][_0x477d('0x3a1')]){_0x539da7[_0x477d('0x3a7')](_0x7359cd);}});_0x4fe129['push']({'rows':_0x539da7,'count':_0x539da7[_0x477d('0x79')]});}}}return _0x400693[_0x477d('0x7c')](_0x4fe129);})[_0x477d('0x76')](function(_0x5a4810){var _0x5f500e=[];var _0x37cd81=null;if(_0x175a95[_0x477d('0x2587')]){_0x37cd81=_[_0x477d('0x10a')](_0x487784,{'name':_0x175a95[_0x477d('0x2587')][_0x477d('0x2588')]});}for(var _0x42b114=0x0;_0x42b114<_0x5a4810[_0x477d('0x79')];_0x42b114++){var _0x537675=_0x5a4810[_0x42b114][_0x477d('0xf2')]||[];_0x537675['forEach'](function(_0x742ed){_0x5f500e[_0x477d('0x3a7')](_0x742ed);});}if(_0x37cd81&&!_[_0x477d('0x3ab')](_0x5f500e,[_0x477d('0x3af'),_0x37cd81['id']])){_0x487784[_0x477d('0x3b1')](function(_0xd0379d){if(_0xd0379d['id']===_0x37cd81['id']){_0xd0379d[_0x477d('0xf8b')]=![];_0x5f500e[_0x477d('0x3a7')](_0xd0379d);}});}_0x175a95[_0x477d('0xf2d')]=_0x5f500e;})[_0x477d('0xf8')](function(_0x29d680){_0x5c7766[_0x477d('0x44a')]({'title':_0x29d680[_0x477d('0x3c3')]?'API:'+_0x29d680['status']+_0x477d('0x44c')+_0x29d680[_0x477d('0x44d')]:_0x477d('0x2583'),'msg':_0x29d680['data']?JSON[_0x477d('0x3fb')](_0x29d680['data']):_0x29d680[_0x477d('0x453')]()});});function _0x1b5898(){_0x175a95[_0x477d('0xd67')]=[];var _0x2fc635=[];if(_0x175a95[_0x477d('0x2587')][_0x477d('0x439')]&&_0x175a95[_0x477d('0x2587')]['type'][_0x477d('0x449')]()===_0x477d('0x127')&&_0x175a95[_0x477d('0x2587')][_0x477d('0x1294')]===_0x477d('0x12b5')){_0x175a95['ringgroup']['phone']=_0x5c03c1[_0x477d('0x12b6')]?(_0x175a95[_0x477d('0x2587')][_0x477d('0x6c0')]||'')+_0x477d('0x12b7')+_0x5c03c1[_0x477d('0x12b6')]+'}':(_0x175a95['ringgroup']['prefix']||'')+_0x477d('0x12b8');if(_0x5c03c1[_0x477d('0x12b9')]!==_0x477d('0x496')){if(_0x175a95['ringgroup'][_0x477d('0x43c')][_0x477d('0x477')](_0x477d('0x12ba'))<0x0){_0x175a95[_0x477d('0x2587')][_0x477d('0x43c')]+='U(xcally-mixmonitor-context)';}}else{_0x175a95[_0x477d('0x2587')]['options']=_0x175a95['ringgroup'][_0x477d('0x43c')]['replace'](_0x477d('0x12ba'),'');}}if(_0x175a95['ringgroup'][_0x477d('0x1294')]&&_0x175a95[_0x477d('0x2587')][_0x477d('0x1294')]===_0x477d('0x9f6')){}else{switch((_0x175a95[_0x477d('0x2587')]['app']||_0x175a95[_0x477d('0x2587')]['appType'])[_0x477d('0x449')]()){case _0x477d('0x12af'):_0x175a95[_0x477d('0x2587')]['appdata']=_0x175a95['ringgroup'][_0x477d('0x94')]+'='+_0x175a95[_0x477d('0x2587')][_0x477d('0x3b6')];break;case _0x477d('0x9f6'):break;default:_0x2fc635[0x0]=_0x175a95[_0x477d('0x2587')][_0x477d('0x2588')][_0x477d('0x3f6')]('&');_0x2fc635[0x1]=_0x175a95[_0x477d('0x2587')][_0x477d('0x91b')];_0x2fc635[0x2]=_0x175a95[_0x477d('0x2587')][_0x477d('0x43c')];_0x2fc635[0x3]=_0x175a95[_0x477d('0x2587')][_0x477d('0x3c1')];_0x175a95[_0x477d('0x2587')]['appdata']=_0x2fc635[_0x477d('0x3f6')](',');}}_0x272414(_0x175a95['ringgroup']);}function _0x272414(_0x3b8c62){_0x8160a[_0x477d('0x3bc')](_0x3b8c62);}}}());(function(){'use strict';_0x7ed04b[_0x477d('0xa')]=[_0x477d('0x384'),'$q','toasty',_0x477d('0x2575'),'inboundroute',_0x477d('0x386'),_0x477d('0x55'),_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x2f'))[_0x477d('0x3ba')](_0x477d('0x2589'),_0x7ed04b);function _0x7ed04b(_0x38f34a,_0x5f12bd,_0x54ec14,_0x549200,_0x92209,_0x5655d0,_0x3c3b4b,_0x282da0){var _0x5d05d4=this;_0x5d05d4[_0x477d('0x3e5')]=_0x3c3b4b[_0x477d('0x5c')]();_0x5d05d4[_0x477d('0xd67')]=[];_0x5d05d4[_0x477d('0x49a')]=_0x477d('0x2577')+(_0x549200[_0x477d('0x1294')]||_0x549200['app'])[_0x477d('0x44f')]();_0x5d05d4[_0x477d('0x12af')]=angular['copy'](_0x549200);_0x5d05d4[_0x477d('0xd66')]=_0x282da0;_0x5d05d4[_0x477d('0xd68')]={};if(_0x5d05d4[_0x477d('0x12af')][_0x477d('0x12ae')]){switch(_0x5d05d4[_0x477d('0x12af')][_0x477d('0x1294')]?_0x5d05d4[_0x477d('0x12af')][_0x477d('0x1294')][_0x477d('0x449')]():_0x5d05d4[_0x477d('0x12af')][_0x477d('0x1291')][_0x477d('0x449')]()){case'custom':break;case'dialogflow':var _0x55d59a=_0x5d05d4[_0x477d('0x12af')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x5d05d4[_0x477d('0x12af')][_0x477d('0x670')]=_0x55d59a[0x0];_0x5d05d4['set']['language']=_0x55d59a[0x1];_0x5d05d4[_0x477d('0x12af')][_0x477d('0x127a')]=_0x55d59a[_0x477d('0x9cd')](0x2,_0x55d59a[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x127c'):var _0x55d59a=_0x5d05d4[_0x477d('0x12af')][_0x477d('0x12ae')]['split'](',');_0x5d05d4[_0x477d('0x12af')]['accesskeyid']=_0x55d59a[0x0];_0x5d05d4['set']['secretaccesskey']=_0x55d59a[0x1];_0x5d05d4[_0x477d('0x12af')][_0x477d('0x127f')]=_0x55d59a[0x2];_0x5d05d4[_0x477d('0x12af')][_0x477d('0x1283')]=_0x55d59a[0x3];_0x5d05d4[_0x477d('0x12af')][_0x477d('0x127a')]=_0x55d59a[_0x477d('0x9cd')](0x4,_0x55d59a[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x1260'):var _0x55d59a=_0x5d05d4['set'][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x5d05d4[_0x477d('0x12af')][_0x477d('0x1261')]=isNaN(_0x55d59a[0x0])?_0x55d59a[0x0]:parseInt(_0x55d59a[0x0],0xa);_0x5d05d4[_0x477d('0x12af')][_0x477d('0x41b')]=_0x55d59a[_0x477d('0x9cd')](0x1,_0x55d59a[_0x477d('0x79')])['join'](',');break;case _0x477d('0x452'):_0x5d05d4[_0x477d('0x12af')][_0x477d('0x41b')]=_0x5d05d4[_0x477d('0x12af')][_0x477d('0x12ae')];break;case _0x477d('0x12af'):_0x5d05d4[_0x477d('0x12af')][_0x477d('0x94')]=_0x5d05d4[_0x477d('0x12af')][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x0];_0x5d05d4['set']['value']=_0x5d05d4[_0x477d('0x12af')][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x1];break;case _0x477d('0x12b0'):_0x5d05d4[_0x477d('0x12af')][_0x477d('0xf13')]=_0x5d05d4[_0x477d('0x12af')][_0x477d('0x12ae')];break;default:var _0x235cc8=_0x5d05d4[_0x477d('0x12af')][_0x477d('0x12ae')][_0x477d('0x472')]('=');_0x5d05d4[_0x477d('0x12af')][_0x477d('0x94')]=_[_0x477d('0x3b2')](_0x235cc8[0x0])?_0x235cc8[0x0]:isNaN(_0x235cc8[0x0])?_0x235cc8[0x0]:parseInt(_0x235cc8[0x0],0xa);_0x5d05d4['set'][_0x477d('0x3b6')]=_[_0x477d('0x3b2')](_0x235cc8[0x1])?_0x235cc8[0x1]:isNaN(_0x235cc8[0x1])?_0x235cc8[0x1]:parseInt(_0x235cc8[0x1],0xa);}}else{}if(_0x5d05d4[_0x477d('0x12af')][_0x477d('0x439')]&&_0x5d05d4[_0x477d('0x12af')][_0x477d('0x439')][_0x477d('0x449')]()===_0x477d('0x127')&&_0x5d05d4['set']['appType']['toLowerCase']()===_0x477d('0x12b1')){_0x5d05d4['set'][_0x477d('0x6c0')]=_0x5d05d4[_0x477d('0x12af')]['phone']?_0x5d05d4['set'][_0x477d('0xf46')]['split']('$')[0x0]:undefined;_0x5d05d4['set'][_0x477d('0x69b')]=_0x5d05d4[_0x477d('0x12af')][_0x477d('0x12b2')]?'CALLERID(all)='+_0x5d05d4['set']['callerID']:undefined;}_0x5d05d4[_0x477d('0x2578')]=_0x1b4c9f;_0x5d05d4[_0x477d('0x6bf')]=_0x824d27;_0x3c3b4b[_0x477d('0x56')](_0x477d('0x5f'))?_0x5655d0[_0x477d('0xbb9')][_0x477d('0x376')]({'fields':'id,name','sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x524888){_0x5d05d4[_0x477d('0xf31')]=_0x524888[_0x477d('0xf2')]||[];})['catch'](function(_0x3ee0e5){_0x54ec14[_0x477d('0x44a')]({'title':_0x3ee0e5[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x3ee0e5['status']+_0x477d('0x44c')+_0x3ee0e5[_0x477d('0x44d')]:_0x477d('0x12e1'),'msg':_0x3ee0e5[_0x477d('0x451')]?JSON['stringify'](_0x3ee0e5['data']):_0x3ee0e5[_0x477d('0x453')]()});}):_0x5655d0['variable']['get']({'fields':_0x477d('0x9c'),'sort':'name','nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x4de053){_0x5d05d4[_0x477d('0xf31')]=_0x4de053['rows']||[];})[_0x477d('0x76')](function(){return _0x5655d0[_0x477d('0x3ac')]['get']({'userProfileId':_0x5d05d4[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x3f4})['$promise'];})[_0x477d('0x76')](function(_0x3b4069){var _0x1f8092=_0x3b4069&&_0x3b4069[_0x477d('0xf2')]?_0x3b4069[_0x477d('0xf2')][0x0]:null;if(!_0x1f8092){var _0x346513=[];var _0x952bf2=null;if(_0x5d05d4[_0x477d('0x12af')]){_0x952bf2=_[_0x477d('0x10a')](_0x5d05d4[_0x477d('0xf31')],{'name':_0x5d05d4[_0x477d('0x12af')][_0x477d('0x94')]});}for(var _0x424644=0x0;_0x424644<_0x5d05d4['variables'][_0x477d('0x79')];_0x424644++){if(_0x952bf2&&_0x5d05d4['variables'][_0x424644]['id']===_0x952bf2['id']){_0x5d05d4[_0x477d('0xf31')][_0x424644][_0x477d('0xf8b')]=![];_0x346513[_0x477d('0x3a7')](_0x5d05d4[_0x477d('0xf31')][_0x424644]);}}_0x5d05d4[_0x477d('0xf31')]=_0x346513;}else{if(!_0x1f8092[_0x477d('0x3ad')]){return _0x5655d0[_0x477d('0x3ae')]['get']({'sectionId':_0x1f8092['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x1fa9f0){var _0x2c1f87=_['map'](_0x1fa9f0[_0x477d('0xf2')],function(_0x45cce1){return _[_0x477d('0x10a')](_0x5d05d4[_0x477d('0xf31')],{'id':_0x45cce1['resourceId']});});var _0x8c082=null;if(_0x5d05d4['set']){_0x8c082=_[_0x477d('0x10a')](_0x5d05d4[_0x477d('0xf31')],{'name':_0x5d05d4[_0x477d('0x12af')][_0x477d('0x94')]});}if(_0x8c082&&!_[_0x477d('0x3ab')](_0x2c1f87,['id',_0x8c082['id']])){var _0x352f28=_['find'](_0x5d05d4[_0x477d('0xf31')],{'id':_0x8c082['id']});_0x352f28[_0x477d('0xf8b')]=![];_0x2c1f87[_0x477d('0x3a7')](_0x352f28);}_0x5d05d4[_0x477d('0xf31')]=_0x2c1f87;});}}})[_0x477d('0xf8')](function(_0x3f85b7){_0x54ec14[_0x477d('0x44a')]({'title':_0x3f85b7['status']?'API:'+_0x3f85b7[_0x477d('0x3c3')]+'\x20-\x20'+_0x3f85b7[_0x477d('0x44d')]:_0x477d('0x1936'),'msg':_0x3f85b7[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x3f85b7[_0x477d('0x451')]):_0x3f85b7['toString']()});});function _0x1b4c9f(){_0x5d05d4[_0x477d('0xd67')]=[];var _0x5cd0fb=[];if(_0x5d05d4[_0x477d('0x12af')][_0x477d('0x439')]&&_0x5d05d4['set'][_0x477d('0x439')]['toLowerCase']()===_0x477d('0x127')&&_0x5d05d4[_0x477d('0x12af')][_0x477d('0x1294')]==='outboundDial'){_0x5d05d4[_0x477d('0x12af')][_0x477d('0xf46')]=_0x92209[_0x477d('0x12b6')]?(_0x5d05d4[_0x477d('0x12af')][_0x477d('0x6c0')]||'')+_0x477d('0x12b7')+_0x92209[_0x477d('0x12b6')]+'}':(_0x5d05d4['set'][_0x477d('0x6c0')]||'')+_0x477d('0x12b8');if(_0x92209[_0x477d('0x12b9')]!==_0x477d('0x496')){if(_0x5d05d4[_0x477d('0x12af')][_0x477d('0x43c')]['indexOf']('U(xcally-mixmonitor-context)')<0x0){_0x5d05d4[_0x477d('0x12af')]['options']+='U(xcally-mixmonitor-context)';}}else{_0x5d05d4[_0x477d('0x12af')][_0x477d('0x43c')]=_0x5d05d4['set'][_0x477d('0x43c')][_0x477d('0x409')](_0x477d('0x12ba'),'');}}if(_0x5d05d4[_0x477d('0x12af')][_0x477d('0x1294')]&&_0x5d05d4[_0x477d('0x12af')][_0x477d('0x1294')]===_0x477d('0x9f6')){}else{switch((_0x5d05d4[_0x477d('0x12af')][_0x477d('0x1291')]||_0x5d05d4['set'][_0x477d('0x1294')])[_0x477d('0x449')]()){case _0x477d('0x12af'):_0x5d05d4[_0x477d('0x12af')][_0x477d('0x12ae')]=_0x5d05d4[_0x477d('0x12af')][_0x477d('0x94')]+'='+_0x5d05d4[_0x477d('0x12af')][_0x477d('0x3b6')];break;case _0x477d('0x9f6'):break;default:_0x5cd0fb[0x0]=_0x5d05d4[_0x477d('0x12af')][_0x477d('0x94')];_0x5cd0fb[0x1]=_0x5d05d4['set'][_0x477d('0x3b6')];_0x5d05d4[_0x477d('0x12af')][_0x477d('0x12ae')]=_0x5cd0fb[_0x477d('0x3f6')]('=');}}_0x824d27(_0x5d05d4['set']);}function _0x824d27(_0x567edb){_0x38f34a[_0x477d('0x3bc')](_0x567edb);}}}());(function(){'use strict';_0x251cb0[_0x477d('0xa')]=['$mdDialog','$q',_0x477d('0x40e'),_0x477d('0x2575'),_0x477d('0x2513'),_0x477d('0x386'),_0x477d('0x55'),'crudPermissions'];angular[_0x477d('0xb')](_0x477d('0x2f'))[_0x477d('0x3ba')]('EditInboundAppvoicemailDialogController',_0x251cb0);function _0x251cb0(_0x476796,_0xb52b78,_0x3be0eb,_0x59f8d3,_0x333951,_0x28686d,_0x55f9ad,_0x4c68bd){var _0x3d819c=this;_0x3d819c['currentUser']=_0x55f9ad[_0x477d('0x5c')]();_0x3d819c[_0x477d('0xd67')]=[];_0x3d819c[_0x477d('0x49a')]='VOICE.EDIT_'+(_0x59f8d3[_0x477d('0x1294')]||_0x59f8d3['app'])[_0x477d('0x44f')]();_0x3d819c[_0x477d('0x255d')]=angular[_0x477d('0x6d9')](_0x59f8d3);_0x3d819c['crudPermissions']=_0x4c68bd;_0x3d819c[_0x477d('0xd68')]={};if(_0x3d819c[_0x477d('0x255d')]['appdata']){switch(_0x3d819c[_0x477d('0x255d')][_0x477d('0x1294')]?_0x3d819c[_0x477d('0x255d')][_0x477d('0x1294')][_0x477d('0x449')]():_0x3d819c[_0x477d('0x255d')][_0x477d('0x1291')][_0x477d('0x449')]()){case'custom':break;case'dialogflow':var _0x5b098c=_0x3d819c[_0x477d('0x255d')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x3d819c[_0x477d('0x255d')][_0x477d('0x670')]=_0x5b098c[0x0];_0x3d819c['voicemail'][_0x477d('0x1267')]=_0x5b098c[0x1];_0x3d819c[_0x477d('0x255d')][_0x477d('0x127a')]=_0x5b098c[_0x477d('0x9cd')](0x2,_0x5b098c[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case'amazonlex':var _0x5b098c=_0x3d819c['voicemail'][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x3d819c[_0x477d('0x255d')][_0x477d('0x127d')]=_0x5b098c[0x0];_0x3d819c[_0x477d('0x255d')][_0x477d('0x127e')]=_0x5b098c[0x1];_0x3d819c[_0x477d('0x255d')]['lexregion']=_0x5b098c[0x2];_0x3d819c[_0x477d('0x255d')]['botname']=_0x5b098c[0x3];_0x3d819c['voicemail'][_0x477d('0x127a')]=_0x5b098c[_0x477d('0x9cd')](0x4,_0x5b098c[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x1260'):var _0x5b098c=_0x3d819c[_0x477d('0x255d')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x3d819c[_0x477d('0x255d')][_0x477d('0x1261')]=isNaN(_0x5b098c[0x0])?_0x5b098c[0x0]:parseInt(_0x5b098c[0x0],0xa);_0x3d819c[_0x477d('0x255d')][_0x477d('0x41b')]=_0x5b098c[_0x477d('0x9cd')](0x1,_0x5b098c['length'])[_0x477d('0x3f6')](',');break;case _0x477d('0x452'):_0x3d819c['voicemail'][_0x477d('0x41b')]=_0x3d819c[_0x477d('0x255d')][_0x477d('0x12ae')];break;case _0x477d('0x12af'):_0x3d819c['voicemail'][_0x477d('0x94')]=_0x3d819c[_0x477d('0x255d')][_0x477d('0x12ae')]['split']('=')[0x0];_0x3d819c[_0x477d('0x255d')][_0x477d('0x3b6')]=_0x3d819c[_0x477d('0x255d')][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x1];break;case _0x477d('0x12b0'):_0x3d819c[_0x477d('0x255d')]['project']=_0x3d819c[_0x477d('0x255d')][_0x477d('0x12ae')];break;default:var _0x1c4211=_0x3d819c['voicemail'][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x3d819c[_0x477d('0x255d')]['voiceMail']=_[_0x477d('0x3b2')](_0x1c4211[0x0])?_0x1c4211[0x0]:isNaN(_0x1c4211[0x0])?_0x1c4211[0x0]:parseInt(_0x1c4211[0x0],0xa);_0x3d819c['voicemail'][_0x477d('0x43c')]=_['isEmpty'](_0x1c4211[0x1])?_0x1c4211[0x1]:isNaN(_0x1c4211[0x1])?_0x1c4211[0x1]:parseInt(_0x1c4211[0x1],0xa);}}else{}if(_0x3d819c['voicemail']['type']&&_0x3d819c[_0x477d('0x255d')][_0x477d('0x439')][_0x477d('0x449')]()==='outbound'&&_0x3d819c['voicemail']['appType'][_0x477d('0x449')]()===_0x477d('0x12b1')){_0x3d819c['voicemail'][_0x477d('0x6c0')]=_0x3d819c['voicemail'][_0x477d('0xf46')]?_0x3d819c['voicemail'][_0x477d('0xf46')][_0x477d('0x472')]('$')[0x0]:undefined;_0x3d819c[_0x477d('0x255d')][_0x477d('0x69b')]=_0x3d819c[_0x477d('0x255d')][_0x477d('0x12b2')]?_0x477d('0x12b3')+_0x3d819c[_0x477d('0x255d')][_0x477d('0x12b2')]:undefined;}_0x3d819c[_0x477d('0x2578')]=_0x37b0cb;_0x3d819c[_0x477d('0x6bf')]=_0x203616;_0x55f9ad[_0x477d('0x56')](_0x477d('0x5f'))?_0x28686d[_0x477d('0xa8c')]['get']({'fields':'id,mailbox','sort':_0x477d('0xf4e'),'nolimit':_0x477d('0x2ee')})['$promise'][_0x477d('0x76')](function(_0x2c0be9){_0x3d819c[_0x477d('0x255e')]=_0x2c0be9[_0x477d('0xf2')]||[];})['catch'](function(_0x46bb92){_0x3be0eb[_0x477d('0x44a')]({'title':_0x46bb92[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x46bb92[_0x477d('0x3c3')]+'\x20-\x20'+_0x46bb92['statusText']:_0x477d('0x258a'),'msg':_0x46bb92[_0x477d('0x451')]?JSON['stringify'](_0x46bb92[_0x477d('0x451')]):_0x46bb92[_0x477d('0x453')]()});}):_0x28686d[_0x477d('0xa8c')][_0x477d('0x376')]({'fields':'id,mailbox','sort':_0x477d('0xf4e'),'nolimit':_0x477d('0x2ee')})['$promise'][_0x477d('0x76')](function(_0x1e2ff2){_0x3d819c[_0x477d('0x255e')]=_0x1e2ff2['rows']||[];})[_0x477d('0x76')](function(){return _0x28686d[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x3d819c[_0x477d('0x3e5')]['userProfileId'],'sectionId':0x196})[_0x477d('0x38b')];})['then'](function(_0x5b16df){var _0x47def5=_0x5b16df&&_0x5b16df[_0x477d('0xf2')]?_0x5b16df[_0x477d('0xf2')][0x0]:null;if(!_0x47def5){var _0x51f32e=[];var _0x218ad7=null;if(_0x3d819c[_0x477d('0x255d')]){_0x218ad7=_[_0x477d('0x10a')](_0x3d819c['voiceMails'],{'mailbox':_0x3d819c[_0x477d('0x255d')]['voiceMail']});}for(var _0x5d9299=0x0;_0x5d9299<_0x3d819c[_0x477d('0x255e')][_0x477d('0x79')];_0x5d9299++){if(_0x218ad7&&_0x3d819c['voiceMails'][_0x5d9299]['id']===_0x218ad7['id']){_0x3d819c['voiceMails'][_0x5d9299]['canSelect']=![];_0x51f32e[_0x477d('0x3a7')](_0x3d819c['voiceMails'][_0x5d9299]);}}_0x3d819c[_0x477d('0x255e')]=_0x51f32e;}else{if(!_0x47def5['autoAssociation']){return _0x28686d['userProfileResource'][_0x477d('0x376')]({'sectionId':_0x47def5['id']})['$promise'][_0x477d('0x76')](function(_0x53d8a1){var _0x469bc9=_['map'](_0x53d8a1['rows'],function(_0x486531){return _[_0x477d('0x10a')](_0x3d819c[_0x477d('0x255e')],{'id':_0x486531[_0x477d('0x3af')]});});var _0x37ca97=null;if(_0x3d819c[_0x477d('0x255d')]){_0x37ca97=_[_0x477d('0x10a')](_0x3d819c[_0x477d('0x255e')],{'mailbox':_0x3d819c[_0x477d('0x255d')][_0x477d('0xa8c')]});}if(_0x37ca97&&!_['some'](_0x469bc9,['id',_0x37ca97['id']])){var _0x5d3fc8=_['find'](_0x3d819c['voiceMails'],{'id':_0x37ca97['id']});_0x5d3fc8[_0x477d('0xf8b')]=![];_0x469bc9[_0x477d('0x3a7')](_0x5d3fc8);}_0x3d819c[_0x477d('0x255e')]=_0x469bc9;});}}})[_0x477d('0xf8')](function(_0x24df52){_0x3be0eb[_0x477d('0x44a')]({'title':_0x24df52[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x24df52['status']+_0x477d('0x44c')+_0x24df52[_0x477d('0x44d')]:_0x477d('0x258b'),'msg':_0x24df52['data']?JSON['stringify'](_0x24df52[_0x477d('0x451')]):_0x24df52[_0x477d('0x453')]()});});function _0x37b0cb(){_0x3d819c['errors']=[];var _0x4057c3=[];if(_0x3d819c[_0x477d('0x255d')][_0x477d('0x439')]&&_0x3d819c['voicemail'][_0x477d('0x439')]['toLowerCase']()===_0x477d('0x127')&&_0x3d819c[_0x477d('0x255d')]['appType']==='outboundDial'){_0x3d819c['voicemail'][_0x477d('0xf46')]=_0x333951['cutdigits']?(_0x3d819c[_0x477d('0x255d')][_0x477d('0x6c0')]||'')+_0x477d('0x12b7')+_0x333951[_0x477d('0x12b6')]+'}':(_0x3d819c[_0x477d('0x255d')][_0x477d('0x6c0')]||'')+_0x477d('0x12b8');if(_0x333951[_0x477d('0x12b9')]!=='none'){if(_0x3d819c[_0x477d('0x255d')][_0x477d('0x43c')][_0x477d('0x477')](_0x477d('0x12ba'))<0x0){_0x3d819c[_0x477d('0x255d')]['options']+='U(xcally-mixmonitor-context)';}}else{_0x3d819c[_0x477d('0x255d')]['options']=_0x3d819c[_0x477d('0x255d')][_0x477d('0x43c')][_0x477d('0x409')](_0x477d('0x12ba'),'');}}if(_0x3d819c[_0x477d('0x255d')][_0x477d('0x1294')]&&_0x3d819c[_0x477d('0x255d')][_0x477d('0x1294')]===_0x477d('0x9f6')){}else{switch((_0x3d819c[_0x477d('0x255d')]['app']||_0x3d819c['voicemail'][_0x477d('0x1294')])['toLowerCase']()){case _0x477d('0x12af'):_0x3d819c[_0x477d('0x255d')][_0x477d('0x12ae')]=_0x3d819c['voicemail'][_0x477d('0x94')]+'='+_0x3d819c[_0x477d('0x255d')][_0x477d('0x3b6')];break;case _0x477d('0x9f6'):break;default:_0x4057c3[0x0]=_0x3d819c[_0x477d('0x255d')][_0x477d('0xa8c')];_0x4057c3[0x1]=_0x3d819c[_0x477d('0x255d')][_0x477d('0x43c')];_0x3d819c[_0x477d('0x255d')][_0x477d('0x12ae')]=_0x4057c3['join'](',');}}_0x203616(_0x3d819c[_0x477d('0x255d')]);}function _0x203616(_0x1db72d){_0x476796[_0x477d('0x3bc')](_0x1db72d);}}}());(function(){'use strict';_0x2553e1[_0x477d('0xa')]=['$state',_0x477d('0xd64'),'$mdDialog',_0x477d('0x475'),_0x477d('0x40d'),'license',_0x477d('0xc8e'),'api',_0x477d('0x40e'),_0x477d('0x55'),_0x477d('0x2513'),_0x477d('0x3ac')];angular[_0x477d('0xb')](_0x477d('0x2f'))[_0x477d('0x3ba')](_0x477d('0x258c'),_0x2553e1);function _0x2553e1(_0x4f52ec,_0x106a87,_0x223a52,_0x50a3b8,_0x36e1fe,_0xb374a6,_0x585174,_0x105d5e,_0x21379f,_0x3f5682,_0x251be8,_0x4233d2){var _0x186e33=this;_0x186e33[_0x477d('0x3e5')]=_0x3f5682[_0x477d('0x5c')]();_0x186e33[_0x477d('0x613')]=_0xb374a6;_0x186e33[_0x477d('0xc8e')]=_0x585174;_0x186e33[_0x477d('0xd69')]=_0x186e33[_0x477d('0xc8e')][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x186e33['location']=_0x106a87[_0x477d('0x3ce')]()+_0x477d('0x1209')+_0x106a87[_0x477d('0x3c9')]();_0x186e33['inboundroute']=_0x251be8||_0x4f52ec['params']['inboundroute']||{};_0x186e33[_0x477d('0x3ac')]=_0x4233d2&&_0x4233d2['count']==0x1?_0x4233d2[_0x477d('0xf2')][0x0]:null;_0x186e33[_0x477d('0xd66')]=_0x3f5682[_0x477d('0xd81')](_0x186e33['userProfileSection']?_0x186e33[_0x477d('0x3ac')][_0x477d('0xd66')]:null);_0x186e33[_0x477d('0xd68')]={};_0x186e33[_0x477d('0xe95')]=_0x4f52ec[_0x477d('0x37e')][_0x477d('0xe96')]||0x0;_0x186e33[_0x477d('0x120a')]=_0x21379f[_0x477d('0x669')];_0x186e33[_0x477d('0x258d')]=_0x5143e0;_0x186e33[_0x477d('0x2519')]=_0x1deff5;_0x3f5682[_0x477d('0x56')](_0x477d('0x5f'))?_0x105d5e[_0x477d('0xa6b')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':'name','nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x390866){_0x186e33[_0x477d('0xf32')]=_0x390866[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x34cebe){_0x21379f[_0x477d('0x44a')]({'title':_0x34cebe[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x34cebe['status']+_0x477d('0x44c')+_0x34cebe[_0x477d('0x44d')]:_0x477d('0x212b'),'msg':_0x34cebe[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x34cebe[_0x477d('0x451')]):_0x34cebe[_0x477d('0x453')]()});}):_0x105d5e[_0x477d('0xa6b')][_0x477d('0x376')]({'fields':'id,name','sort':_0x477d('0x94'),'nolimit':'true'})['$promise']['then'](function(_0x559bfb){_0x186e33[_0x477d('0xf32')]=_0x559bfb[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x105d5e['userProfileSection'][_0x477d('0x376')]({'userProfileId':_0x186e33[_0x477d('0x3e5')]['userProfileId'],'sectionId':0x195})['$promise'];})[_0x477d('0x76')](function(_0x1383f3){var _0x57697b=_0x1383f3&&_0x1383f3['rows']?_0x1383f3[_0x477d('0xf2')][0x0]:null;if(!_0x57697b){return _0x105d5e[_0x477d('0xa6b')]['get']({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee'),'defaultEntry':0x1})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x2028fa){_0x186e33[_0x477d('0xf32')]=_0x2028fa[_0x477d('0xf2')]||[];});}else{if(!_0x57697b[_0x477d('0x3ad')]){return _0x105d5e[_0x477d('0x3ae')]['get']({'sectionId':_0x57697b['id']})['$promise'][_0x477d('0x76')](function(_0xa0179e){var _0x1fc3a7=_['map'](_0xa0179e[_0x477d('0xf2')],function(_0x41e915){return _[_0x477d('0x10a')](_0x186e33[_0x477d('0xf32')],{'id':_0x41e915['resourceId']});});var _0x3f0961=null;if(_0x186e33[_0x477d('0x2513')]){_0x3f0961=_[_0x477d('0x10a')](_0x186e33['contexts'],{'name':_0x186e33[_0x477d('0x2513')]['context']});}if(_0x3f0961&&!_[_0x477d('0x3ab')](_0x1fc3a7,['id',_0x3f0961['id']])){var _0x202d37=_['find'](_0x186e33[_0x477d('0xf32')],{'id':_0x3f0961['id']});_0x202d37[_0x477d('0xf8b')]=![];_0x1fc3a7[_0x477d('0x3a7')](_0x202d37);}_0x186e33[_0x477d('0xf32')]=_0x1fc3a7;});}}})[_0x477d('0xf8')](function(_0x3d9952){_0x21379f[_0x477d('0x44a')]({'title':_0x3d9952[_0x477d('0x3c3')]?'API:'+_0x3d9952['status']+'\x20-\x20'+_0x3d9952[_0x477d('0x44d')]:_0x477d('0x215b'),'msg':_0x3d9952[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x3d9952[_0x477d('0x451')]):_0x3d9952[_0x477d('0x453')]()});});function _0x5143e0(){_0x4f52ec['go']('app.voice.inboundroutes',{},{'reload':_0x477d('0x311')});}function _0x1deff5(){_0x105d5e[_0x477d('0x21a5')]['update']({'id':_0x186e33['inboundroute']['id']},_0x186e33[_0x477d('0x2513')])['$promise']['then'](function(){_0x21379f[_0x477d('0x485')]({'title':_0x477d('0x258e'),'msg':_0x186e33['inboundroute'][_0x477d('0x94')]?_0x186e33['inboundroute'][_0x477d('0x94')]+_0x477d('0xed7'):''});})[_0x477d('0xf8')](function(_0x4e817c){_0x21379f[_0x477d('0x44a')]({'title':_0x4e817c['status']?_0x477d('0x44b')+_0x4e817c[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x4e817c[_0x477d('0x44d')]:_0x477d('0x258f'),'msg':_0x4e817c['data']?JSON['stringify'](_0x4e817c[_0x477d('0x451')]):_0x4e817c[_0x477d('0x453')]()});});}}}());(function(){'use strict';_0x510abf['$inject']=[_0x477d('0x474'),_0x477d('0x387'),_0x477d('0x3c4'),_0x477d('0x554'),_0x477d('0x384'),'$document',_0x477d('0x3fe'),_0x477d('0x40d'),_0x477d('0x2511'),'userProfile','userProfileSection','api',_0x477d('0x342'),_0x477d('0x40e'),_0x477d('0x55'),_0x477d('0x613'),_0x477d('0xc8e')];angular[_0x477d('0xb')](_0x477d('0x2f'))[_0x477d('0x3ba')](_0x477d('0x2590'),_0x510abf);function _0x510abf(_0x43168b,_0x59ec2a,_0x207f54,_0x879d90,_0x4d829c,_0x1bd159,_0x288b08,_0x724178,_0x4484ec,_0x28d1c6,_0x5a0ba3,_0x5734d5,_0xfb7e8c,_0x52f93a,_0xf66bcb,_0x567292,_0x484cf6){var _0x1fb3cd=this;_0x1fb3cd[_0x477d('0x613')]=_0x567292;_0x1fb3cd[_0x477d('0xc8e')]=_0x484cf6;_0x1fb3cd[_0x477d('0x3e5')]=_0xf66bcb['getCurrentUser']();_0x1fb3cd['inboundroutes']=_0x4484ec||{'count':0x0,'rows':[]};_0x1fb3cd[_0x477d('0x3a5')]=_0x28d1c6;_0x1fb3cd[_0x477d('0x3ac')]=_0x5a0ba3&&_0x5a0ba3[_0x477d('0x3bb')]==0x1?_0x5a0ba3[_0x477d('0xf2')][0x0]:null;_0x1fb3cd[_0x477d('0xd66')]=_0xf66bcb[_0x477d('0xd81')](_0x1fb3cd['userProfileSection']?_0x1fb3cd['userProfileSection'][_0x477d('0xd66')]:null);_0x1fb3cd[_0x477d('0xd82')]=_0x477d('0x2511');_0x1fb3cd['listOrder']='';_0x1fb3cd[_0x477d('0xd84')]=null;_0x1fb3cd['selectedInboundRoutes']=[];_0x1fb3cd[_0x477d('0x3ef')]={'fields':'createdAt,updatedAt,id,appdata,type,exten,context,description','type':'inbound','sort':_0x477d('0x59'),'VoiceExtensionId':_0x477d('0xea'),'limit':0xa,'page':0x1};_0x1fb3cd[_0x477d('0xea6')]=_0x3c92ec;_0x1fb3cd['deleteconfirm']=_0x470dc8;_0x1fb3cd[_0x477d('0x485')]=_0x18c694;_0x1fb3cd['getInboundRoutes']=_0x5aa67e;_0x1fb3cd[_0x477d('0x2591')]=_0x2987c1;_0x1fb3cd['deleteInboundRoute']=_0x2ac0fc;_0x1fb3cd[_0x477d('0x2592')]=_0x178246;_0x1fb3cd[_0x477d('0x2593')]=_0x187749;_0x1fb3cd[_0x477d('0x2594')]=_0xb631b0;_0x1fb3cd[_0x477d('0x2595')]=_0x141b67;_0xf66bcb[_0x477d('0x56')](_0x477d('0x5f'))?_0x5734d5['voiceContext'][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})['$promise'][_0x477d('0x76')](function(_0x438fd2){_0x1fb3cd['contexts']=_0x438fd2[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x4176a7){_0x52f93a[_0x477d('0x44a')]({'title':_0x4176a7[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x4176a7[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x4176a7[_0x477d('0x44d')]:'SYSTEM:GET_CONTEXTS','msg':_0x4176a7['data']?JSON[_0x477d('0x3fb')](_0x4176a7[_0x477d('0x451')]):_0x4176a7['toString']()});}):_0x5734d5[_0x477d('0xa6b')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x3ed06b){_0x1fb3cd[_0x477d('0xf32')]=_0x3ed06b[_0x477d('0xf2')]||[];})['then'](function(){return _0x5734d5[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x1fb3cd[_0x477d('0x3e5')]['userProfileId'],'sectionId':0x195})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x7a9b17){var _0x1d216b=_0x7a9b17&&_0x7a9b17[_0x477d('0xf2')]?_0x7a9b17[_0x477d('0xf2')][0x0]:null;if(!_0x1d216b){return _0x5734d5['voiceContext'][_0x477d('0x376')]({'fields':'id,name','sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee'),'defaultEntry':0x1})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x1bade1){_0x1fb3cd[_0x477d('0xf32')]=_0x1bade1[_0x477d('0xf2')]||[];});}else{if(!_0x1d216b['autoAssociation']){return _0x5734d5[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x1d216b['id']})[_0x477d('0x38b')]['then'](function(_0x2d5b44){var _0xf68bc9=_[_0x477d('0x3cb')](_0x2d5b44[_0x477d('0xf2')],function(_0x2fab99){return _[_0x477d('0x10a')](_0x1fb3cd['contexts'],{'id':_0x2fab99[_0x477d('0x3af')]});});var _0x5ec0cf=null;if(_0x1fb3cd[_0x477d('0x2513')]){_0x5ec0cf=_[_0x477d('0x10a')](_0x1fb3cd['contexts'],{'name':_0x1fb3cd[_0x477d('0x2513')][_0x477d('0xf47')]});}if(_0x5ec0cf&&!_['some'](_0xf68bc9,['id',_0x5ec0cf['id']])){var _0x299cad=_[_0x477d('0x10a')](_0x1fb3cd[_0x477d('0xf32')],{'id':_0x5ec0cf['id']});_0x299cad['canSelect']=![];_0xf68bc9[_0x477d('0x3a7')](_0x299cad);}_0x1fb3cd[_0x477d('0xf32')]=_0xf68bc9;});}}})[_0x477d('0xf8')](function(_0x114afa){_0x52f93a['error']({'title':_0x114afa[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x114afa['status']+_0x477d('0x44c')+_0x114afa[_0x477d('0x44d')]:_0x477d('0x215b'),'msg':_0x114afa[_0x477d('0x451')]?JSON['stringify'](_0x114afa['data']):_0x114afa['toString']()});});function _0x3c92ec(_0xe7b96d,_0xde93cc){_0x207f54['go']('app.voice.inboundroutes.edit',{'id':_0xe7b96d['id'],'inboundroute':_0xe7b96d,'crudPermissions':_0x1fb3cd[_0x477d('0xd66')]});}function _0x470dc8(_0x4e5e9c,_0x6d3914){var _0x418fc6=_0x4d829c['confirm']()[_0x477d('0x49a')](_0x477d('0xd90')+_[_0x477d('0xd91')](_0x477d('0x2513'))+'?')[_0x477d('0xd92')](_0x477d('0xd93')+(_0x4e5e9c[_0x477d('0x94')]||_0x477d('0x2513'))+_0x477d('0xd94')+_0x477d('0xd95'))[_0x477d('0x687')]('delete\x20inboundroute')[_0x477d('0xd7c')](_0x6d3914)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x4d829c['show'](_0x418fc6)[_0x477d('0x76')](function(){_0x2ac0fc(_0x4e5e9c);},function(){console['log']('CANCEL');});}var _0x329dff=!![];var _0x723a9=0x1;_0x43168b[_0x477d('0x4b5')](_0x477d('0xd98'),function(_0x46b72c,_0x7f04f){if(_0x329dff){_0x288b08(function(){_0x329dff=![];});}else{if(!_0x7f04f){_0x723a9=_0x1fb3cd[_0x477d('0x3ef')]['page'];}if(_0x46b72c!==_0x7f04f){_0x1fb3cd[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0x46b72c){_0x1fb3cd[_0x477d('0x3ef')][_0x477d('0xe03')]=_0x723a9;}_0x1fb3cd[_0x477d('0x2596')]();}});function _0x18c694(_0x1cbc25){_0x1fb3cd[_0x477d('0x2511')]=_0x1cbc25||{'count':0x0,'rows':[]};}function _0x5aa67e(){_0x1fb3cd['query'][_0x477d('0x91c')]=(_0x1fb3cd['query'][_0x477d('0xe03')]-0x1)*_0x1fb3cd[_0x477d('0x3ef')][_0x477d('0x91d')];if(_0xf66bcb['hasRole'](_0x477d('0x5f'))){_0x1fb3cd[_0x477d('0x553')]=_0x5734d5[_0x477d('0x21a5')][_0x477d('0x376')](_0x1fb3cd[_0x477d('0x3ef')],_0x18c694)[_0x477d('0x38b')];}else{_0x1fb3cd[_0x477d('0x3ef')]['id']=_0x1fb3cd['userProfile']['id'];_0x1fb3cd[_0x477d('0x3ef')][_0x477d('0xd99')]='InboundRoutes';_0x1fb3cd[_0x477d('0x553')]=_0x5734d5[_0x477d('0x3a5')][_0x477d('0xd9a')](_0x1fb3cd[_0x477d('0x3ef')],_0x18c694)[_0x477d('0x38b')];}}function _0x2987c1(_0x2a2b99,_0x2d2fe5){_0x4d829c[_0x477d('0x395')]({'controller':_0x477d('0x2597'),'controllerAs':'vm','templateUrl':_0x477d('0x2598'),'parent':angular[_0x477d('0x398')](_0x1bd159[_0x477d('0x399')]),'targetEvent':_0x2a2b99,'clickOutsideToClose':!![],'locals':{'inboundroute':_0x2d2fe5,'inboundroutes':_0x1fb3cd[_0x477d('0x2511')][_0x477d('0xf2')],'license':_0x1fb3cd[_0x477d('0x613')],'setting':_0x1fb3cd[_0x477d('0xc8e')],'crudPermissions':_0x1fb3cd[_0x477d('0xd66')]}});}function _0x2ac0fc(_0x44ab9c){_0x5734d5[_0x477d('0x21a5')][_0x477d('0xa55')]({'id':_0x44ab9c['id']})['$promise']['then'](function(){_[_0x477d('0x39c')](_0x1fb3cd[_0x477d('0x2511')][_0x477d('0xf2')],{'id':_0x44ab9c['id']});_0x1fb3cd[_0x477d('0x2511')]['count']-=0x1;if(!_0x1fb3cd[_0x477d('0x2511')][_0x477d('0xf2')]['length']){_0x1fb3cd['getInboundRoutes']();}_0x52f93a[_0x477d('0x485')]({'title':_['startCase'](_0x477d('0x2599'))+_0x477d('0xd9d'),'msg':_0x44ab9c[_0x477d('0x94')]?_0x44ab9c[_0x477d('0x94')]+_0x477d('0xd7e'):''});})['catch'](function(_0x2767ad){if(_0x2767ad[_0x477d('0x451')]&&_0x2767ad[_0x477d('0x451')][_0x477d('0xd67')]&&_0x2767ad['data'][_0x477d('0xd67')][_0x477d('0x79')]){_0x1fb3cd[_0x477d('0xd67')]=_0x2767ad['data'][_0x477d('0xd67')]||[{'message':_0x2767ad[_0x477d('0x453')](),'type':_0x477d('0x259a')}];for(var _0x85282a=0x0;_0x85282a<_0x2767ad['data'][_0x477d('0xd67')][_0x477d('0x79')];_0x85282a++){_0x52f93a[_0x477d('0x44a')]({'title':_0x2767ad['data'][_0x477d('0xd67')][_0x85282a][_0x477d('0x439')],'msg':_0x2767ad[_0x477d('0x451')][_0x477d('0xd67')][_0x85282a][_0x477d('0x452')]});}}else{_0x52f93a[_0x477d('0x44a')]({'title':_0x2767ad['status']?_0x477d('0x44b')+_0x2767ad[_0x477d('0x3c3')]+'\x20-\x20'+_0x2767ad[_0x477d('0x44d')]:_0x477d('0x259a'),'msg':_0x2767ad['data']?JSON[_0x477d('0x3fb')](_0x2767ad['data'][_0x477d('0x452')]):_0x2767ad[_0x477d('0x452')]||_0x2767ad[_0x477d('0x453')]()});}});}function _0x178246(){var _0x38e2fe=angular[_0x477d('0x6d9')](_0x1fb3cd[_0x477d('0x259b')]);_0x1fb3cd['selectedInboundRoutes']=[];return _0x38e2fe;}function _0x187749(_0x179a8b){var _0x1714ad=_0x4d829c['confirm']()['title']('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20inboundroutes?')[_0x477d('0xd92')](_0x477d('0xd93')+_0x1fb3cd[_0x477d('0x259b')]['length']+_0x477d('0xda0')+_0x477d('0xd95'))[_0x477d('0x687')]('delete\x20InboundRoutes')[_0x477d('0xd7c')](_0x179a8b)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x4d829c[_0x477d('0x395')](_0x1714ad)[_0x477d('0x76')](function(){_0x1fb3cd[_0x477d('0x259b')]['forEach'](function(_0xda10a8){_0x2ac0fc(_0xda10a8);});_0x1fb3cd[_0x477d('0x259b')]=[];});}function _0xb631b0(){_0x1fb3cd[_0x477d('0x259b')]=[];}function _0x141b67(){_0x1fb3cd[_0x477d('0x259b')]=_0x1fb3cd[_0x477d('0x2511')][_0x477d('0xf2')];}}}());(function(){'use strict';_0x70db27[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x3c4'),_0x477d('0xd64'),_0x477d('0x384'),'$q',_0x477d('0x40d'),_0x477d('0x40e'),_0x477d('0x259c'),_0x477d('0x259d'),_0x477d('0x386'),'Auth',_0x477d('0x613'),_0x477d('0xc8e'),'crudPermissions'];angular[_0x477d('0xb')](_0x477d('0x2f'))[_0x477d('0x3ba')](_0x477d('0x259e'),_0x70db27);function _0x70db27(_0xc8e190,_0x292897,_0x58d7b7,_0x44c18b,_0x35b691,_0x510616,_0x22647f,_0x163405,_0x38b647,_0x39a0e4,_0x2e1dc9,_0xfe0012,_0x21d89f,_0x12c352){var _0x19229f=this;_0x19229f[_0x477d('0x3e5')]=_0x2e1dc9[_0x477d('0x5c')]();_0x19229f['errors']=[];_0x19229f['setting']=_0x21d89f;_0x19229f[_0x477d('0x613')]=_0xfe0012;_0x19229f[_0x477d('0xd66')]=_0x12c352;_0x19229f['hasModulePermissions']={};_0x19229f[_0x477d('0xd69')]=_0x19229f[_0x477d('0xc8e')]&&_0x19229f[_0x477d('0xc8e')]['securePassword']?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x19229f['title']='VOICE.EDIT_INTERNALROUTE';_0x19229f[_0x477d('0x259d')]=angular[_0x477d('0x6d9')](_0x38b647);_0x19229f[_0x477d('0x259c')]=_0x163405;_0x19229f[_0x477d('0x259f')]=![];if(!_0x19229f[_0x477d('0x259d')]){_0x19229f[_0x477d('0x259d')]={'appdata':_0x477d('0x25a0'),'type':_0x477d('0x324'),'context':_0x477d('0x2107')};_0x19229f[_0x477d('0x49a')]='VOICE.NEW_INTERNALROUTE';_0x19229f['newInternalRoute']=!![];}_0x19229f[_0x477d('0x25a1')]=_0x5890af;_0x19229f[_0x477d('0x25a2')]=_0x397e42;_0x19229f[_0x477d('0x25a3')]=_0x52ff24;_0x19229f[_0x477d('0xd6f')]=_0x431b91;_0x19229f[_0x477d('0x6bf')]=_0x32afeb;_0x2e1dc9[_0x477d('0x56')]('admin')?_0x39a0e4[_0x477d('0xa6b')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':'name','nolimit':_0x477d('0x2ee')})['$promise'][_0x477d('0x76')](function(_0x742cf3){_0x19229f[_0x477d('0xf32')]=_0x742cf3[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x1f2984){_0x22647f[_0x477d('0x44a')]({'title':_0x1f2984['status']?_0x477d('0x44b')+_0x1f2984['status']+_0x477d('0x44c')+_0x1f2984['statusText']:'SYSTEM:GET_CONTEXTS','msg':_0x1f2984[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x1f2984['data']):_0x1f2984[_0x477d('0x453')]()});}):_0x39a0e4[_0x477d('0xa6b')][_0x477d('0x376')]({'fields':'id,name','sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')]['then'](function(_0x1ae654){_0x19229f[_0x477d('0xf32')]=_0x1ae654['rows']||[];})[_0x477d('0x76')](function(){return _0x39a0e4[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x19229f[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x195})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x497f00){var _0x3231a1=_0x497f00&&_0x497f00[_0x477d('0xf2')]?_0x497f00['rows'][0x0]:null;if(!_0x3231a1){return _0x39a0e4[_0x477d('0xa6b')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee'),'defaultEntry':0x1})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x5905bd){_0x19229f[_0x477d('0xf32')]=_0x5905bd[_0x477d('0xf2')]||[];});}else{if(!_0x3231a1[_0x477d('0x3ad')]){return _0x39a0e4[_0x477d('0x3ae')]['get']({'sectionId':_0x3231a1['id']})[_0x477d('0x38b')]['then'](function(_0x2ed08b){var _0x31d102=_[_0x477d('0x3cb')](_0x2ed08b['rows'],function(_0x3360bf){return _[_0x477d('0x10a')](_0x19229f[_0x477d('0xf32')],{'id':_0x3360bf['resourceId']});});var _0xbe2ded=null;if(_0x19229f[_0x477d('0x259d')]){_0xbe2ded=_[_0x477d('0x10a')](_0x19229f[_0x477d('0xf32')],{'name':_0x19229f[_0x477d('0x259d')]['context']});}if(_0xbe2ded&&!_[_0x477d('0x3ab')](_0x31d102,['id',_0xbe2ded['id']])){var _0x533f8c=_[_0x477d('0x10a')](_0x19229f[_0x477d('0xf32')],{'id':_0xbe2ded['id']});_0x533f8c[_0x477d('0xf8b')]=![];_0x31d102['push'](_0x533f8c);}_0x19229f[_0x477d('0xf32')]=_0x31d102;});}}})['catch'](function(_0x4624c2){_0x22647f[_0x477d('0x44a')]({'title':_0x4624c2['status']?_0x477d('0x44b')+_0x4624c2[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x4624c2[_0x477d('0x44d')]:'SYSTEM:GETcontexts','msg':_0x4624c2[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x4624c2[_0x477d('0x451')]):_0x4624c2['toString']()});});function _0x5890af(){_0x19229f[_0x477d('0xd67')]=[];_0x39a0e4[_0x477d('0x21a5')][_0x477d('0xd70')](_0x19229f[_0x477d('0x259d')])['$promise']['then'](function(_0x5eaa8b){_0x19229f[_0x477d('0x259c')]['unshift'](_0x5eaa8b[_0x477d('0xd71')]());_0x22647f[_0x477d('0x485')]({'title':_0x477d('0x25a4'),'msg':_0x19229f[_0x477d('0x259d')][_0x477d('0x94')]?_0x19229f[_0x477d('0x259d')][_0x477d('0x94')]+_0x477d('0xd73'):''});_0x32afeb(_0x5eaa8b);})['catch'](function(_0x53476b){if(_0x53476b[_0x477d('0x451')]&&_0x53476b[_0x477d('0x451')]['errors']&&_0x53476b[_0x477d('0x451')]['errors'][_0x477d('0x79')]){_0x19229f[_0x477d('0xd67')]=_0x53476b[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x53476b[_0x477d('0x453')](),'type':_0x477d('0x25a5')}];for(var _0x13d709=0x0;_0x13d709<_0x53476b[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x13d709+=0x1){_0x22647f[_0x477d('0x44a')]({'title':_0x53476b[_0x477d('0x451')][_0x477d('0xd67')][_0x13d709]['type'],'msg':_0x53476b['data'][_0x477d('0xd67')][_0x13d709][_0x477d('0x452')]});}}else{_0x22647f['error']({'title':_0x53476b[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x53476b[_0x477d('0x3c3')]+'\x20-\x20'+_0x53476b[_0x477d('0x44d')]:_0x477d('0x25a5'),'msg':_0x53476b[_0x477d('0x451')]?JSON['stringify'](_0x53476b['data'][_0x477d('0x452')]):_0x53476b[_0x477d('0x453')]()});}});}function _0x397e42(){_0x19229f[_0x477d('0xd67')]=[];_0x39a0e4['voiceExtension']['update']({'id':_0x19229f[_0x477d('0x259d')]['id']},_0x19229f[_0x477d('0x259d')])[_0x477d('0x38b')]['then'](function(_0x32cd7d){var _0x4132cb=_['find'](_0x19229f[_0x477d('0x259c')],{'id':_0x32cd7d['id']});if(_0x4132cb){_[_0x477d('0xef')](_0x4132cb,_[_0x477d('0x10b')](_0x32cd7d['toJSON'](),_[_0x477d('0x7f')](_0x4132cb)));}_0x22647f[_0x477d('0x485')]({'title':_0x477d('0x25a6'),'msg':_0x19229f['internalroute'][_0x477d('0x94')]?_0x19229f[_0x477d('0x259d')]['name']+_0x477d('0xd76'):''});_0x32afeb(_0x32cd7d);})[_0x477d('0xf8')](function(_0xe00225){if(_0xe00225[_0x477d('0x451')]&&_0xe00225[_0x477d('0x451')][_0x477d('0xd67')]&&_0xe00225[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x19229f[_0x477d('0xd67')]=_0xe00225[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0xe00225['toString'](),'type':_0x477d('0x251c')}];for(var _0x2147ad=0x0;_0x2147ad<_0xe00225['data'][_0x477d('0xd67')][_0x477d('0x79')];_0x2147ad++){_0x22647f[_0x477d('0x44a')]({'title':_0xe00225[_0x477d('0x451')]['errors'][_0x2147ad][_0x477d('0x439')],'msg':_0xe00225[_0x477d('0x451')][_0x477d('0xd67')][_0x2147ad]['message']});}}else{_0x22647f[_0x477d('0x44a')]({'title':_0xe00225[_0x477d('0x3c3')]?_0x477d('0x44b')+_0xe00225[_0x477d('0x3c3')]+_0x477d('0x44c')+_0xe00225[_0x477d('0x44d')]:_0x477d('0x251c'),'msg':_0xe00225['data']?JSON['stringify'](_0xe00225[_0x477d('0x451')][_0x477d('0x452')]):_0xe00225[_0x477d('0x453')]()});}});}function _0x52ff24(_0x167370){_0x19229f[_0x477d('0xd67')]=[];var _0x1ba55a=_0x44c18b[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xd79'))[_0x477d('0xdaf')](_0x477d('0x25a7'))[_0x477d('0x687')](_0x477d('0x25a8'))['ok'](_0x477d('0xd7b'))[_0x477d('0x4f0')](_0x477d('0x688'))['targetEvent'](_0x167370);_0x44c18b[_0x477d('0x395')](_0x1ba55a)[_0x477d('0x76')](function(){_0x39a0e4[_0x477d('0x21a5')][_0x477d('0xa55')]({'id':_0x19229f[_0x477d('0x259d')]['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x19229f[_0x477d('0x259c')],{'id':_0x19229f['internalroute']['id']});_0x22647f[_0x477d('0x485')]({'title':_0x477d('0x25a9'),'msg':(_0x19229f[_0x477d('0x259d')][_0x477d('0x94')]||_0x477d('0x259d'))+'\x20has\x20been\x20deleted!'});_0x32afeb(_0x19229f[_0x477d('0x259d')]);})['catch'](function(_0x313493){if(_0x313493[_0x477d('0x451')]&&_0x313493['data'][_0x477d('0xd67')]&&_0x313493[_0x477d('0x451')][_0x477d('0xd67')]['length']){_0x19229f['errors']=_0x313493[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x313493[_0x477d('0x453')](),'type':'api.voiceExtension.delete'}];for(var _0xd18627=0x0;_0xd18627<_0x313493['data'][_0x477d('0xd67')][_0x477d('0x79')];_0xd18627++){_0x22647f[_0x477d('0x44a')]({'title':_0x313493[_0x477d('0x451')][_0x477d('0xd67')][_0xd18627][_0x477d('0x439')],'msg':_0x313493['data'][_0x477d('0xd67')][_0xd18627][_0x477d('0x452')]});}}else{_0x22647f[_0x477d('0x44a')]({'title':_0x313493['status']?'API:'+_0x313493[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x313493[_0x477d('0x44d')]:'api.voiceExtension.delete','msg':_0x313493[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x313493[_0x477d('0x451')][_0x477d('0x452')]):_0x313493[_0x477d('0x452')]||_0x313493[_0x477d('0x453')]()});}});},function(){});}function _0x431b91(_0x4b86b1){return _0x4b86b1===null?undefined:new Date(_0x4b86b1);}function _0x32afeb(_0x3417db){_0x44c18b[_0x477d('0x3bc')](_0x3417db);}}}());(function(){'use strict';_0xd2d8ab[_0x477d('0xa')]=[_0x477d('0x386'),_0x477d('0x384'),'$document',_0x477d('0x40e'),_0x477d('0x55')];angular[_0x477d('0xb')](_0x477d('0x2f'))[_0x477d('0x3ba')](_0x477d('0x25aa'),_0xd2d8ab);function _0xd2d8ab(_0x5b6068,_0x4d1b4c,_0x4c3644,_0x3abfec,_0x44fbf3){var _0x9b84fa=this;_0x9b84fa[_0x477d('0x3e5')]=_0x44fbf3[_0x477d('0x5c')]();_0x9b84fa[_0x477d('0x259d')]={};_0x9b84fa[_0x477d('0x25ab')]={'count':0x0,'rows':[]};_0x9b84fa[_0x477d('0x25ac')]=[];_0x9b84fa[_0x477d('0xd66')];_0x9b84fa[_0x477d('0x3ef')]={'sort':_0x477d('0x1243')};_0x9b84fa['apps']=_[_0x477d('0x691')](_[_0x477d('0x1245')]([{'app':_0x477d('0x1246'),'appType':'interval','type':_0x477d('0xf84'),'types':[_0x477d('0x1247'),_0x477d('0x9f6'),_0x477d('0xa02')],'fields':[],'isApp':![]},{'app':_0x477d('0x1258'),'appType':_0x477d('0x1256'),'context':_0x477d('0x2107'),'type':_0x477d('0xf84'),'options':'xX','appdata':',xX,,,300,,,,,','icon':_0x477d('0x1248'),'interval':'*,*,*,*','answer':!![],'isApp':!![],'extraApi':[{'name':_0x477d('0xf30'),'field':{'name':'sound','key':_0x477d('0x2304'),'prefix':_0x477d('0x2525')},'route':'sound','filters':{'fields':_0x477d('0x2532'),'sort':_0x477d('0x94'),'nolimit':!![]},'permissions':{'section':0x3ef}},{'name':_0x477d('0xf2f'),'field':{'name':_0x477d('0x1256'),'key':_0x477d('0x94')},'route':_0x477d('0xa76'),'filters':{'type':_0x477d('0x9e'),'fields':_0x477d('0x12de'),'sort':'name','nolimit':!![]},'permissions':{'section':0x191}}],'fields':[{'title':'Queue','name':_0x477d('0x1256'),'type':'apiselect','values':_0x477d('0xf2f'),'value':_0x477d('0x1259'),'option':_0x477d('0x1259'),'required':!![],'param':0x0},{'title':_0x477d('0x2526'),'name':_0x477d('0x43c'),'type':_0x477d('0x41b'),'param':0x1},{'title':_0x477d('0x2527'),'name':_0x477d('0x1831'),'type':'text','param':0x2},{'title':_0x477d('0x2528'),'name':'sound','type':_0x477d('0x124c'),'values':_0x477d('0xf30'),'value':_0x477d('0x2529'),'option':_0x477d('0x252a'),'defaultValues':[{'value':'\x27\x27','option':_0x477d('0x124e')}],'param':0x3},{'title':_0x477d('0x125a'),'name':_0x477d('0x91b'),'type':_0x477d('0x421'),'min':0x0,'param':0x4},{'title':_0x477d('0x252b'),'name':'agi','type':_0x477d('0x41b'),'param':0x5},{'title':'Macro','name':'macro','type':_0x477d('0x41b'),'param':0x6},{'title':'GoSub','name':_0x477d('0x252e'),'type':_0x477d('0x41b'),'param':0x7},{'title':'Rule','name':_0x477d('0x2585'),'type':'text','param':0x8},{'title':'Position','name':_0x477d('0x68f'),'type':'number','min':0x0,'param':0x9},{'title':'Answer','name':_0x477d('0x605'),'type':_0x477d('0x169f'),'general':!![]}]},{'app':'Playback','appType':_0x477d('0x2531'),'context':_0x477d('0x2107'),'type':_0x477d('0xf84'),'icon':'icon-apps','interval':_0x477d('0x1249'),'answer':!![],'isApp':!![],'extraApi':[{'name':'sounds','field':{'name':_0x477d('0x12ae'),'key':_0x477d('0x2304'),'prefix':_0x477d('0x2525')},'route':_0x477d('0x15c9'),'filters':{'fields':_0x477d('0x2532'),'sort':_0x477d('0x94'),'nolimit':!![]},'permissions':{'section':0x3ef}}],'fields':[{'title':'Audio_Files','name':_0x477d('0x12ae'),'type':_0x477d('0x124c'),'values':'sounds','value':_0x477d('0x2534'),'option':_0x477d('0x2535'),'required':!![],'param':0x0},{'title':_0x477d('0x2526'),'name':_0x477d('0x43c'),'type':_0x477d('0x41b'),'param':0x1},{'title':_0x477d('0x2415'),'name':_0x477d('0x605'),'type':_0x477d('0x169f'),'general':!![]}]},{'app':'Dial','appType':_0x477d('0x2537'),'context':_0x477d('0x2107'),'type':_0x477d('0xf84'),'icon':_0x477d('0x1248'),'options':'xX','interval':_0x477d('0x1249'),'isApp':!![],'fields':[{'title':_0x477d('0x2538'),'name':_0x477d('0x257b'),'type':'text','required':!![],'param':0x0},{'title':_0x477d('0x125a'),'name':'timeout','type':_0x477d('0x421'),'min':0x0,'param':0x1},{'title':_0x477d('0x2526'),'name':'options','type':_0x477d('0x41b'),'param':0x2},{'title':_0x477d('0x2527'),'name':_0x477d('0x3c1'),'type':_0x477d('0x41b'),'param':0x3}]},{'app':_0x477d('0x2536'),'appType':_0x477d('0x2539'),'context':_0x477d('0x2107'),'type':_0x477d('0xf84'),'icon':_0x477d('0x1248'),'options':'xX','interval':_0x477d('0x1249'),'isApp':!![],'extraApi':[{'name':_0x477d('0xf2d'),'field':{'name':'user','key':_0x477d('0x94'),'prefix':_0x477d('0x253f')},'route':_0x477d('0x380'),'filters':{'fields':'id,name,role','sort':_0x477d('0x94'),'nolimit':!![]},'permissions':{'sections':[{'id':0xca,'role':'agent'},{'id':0xcb,'role':'telephone'}]}}],'fields':[{'title':_0x477d('0x167b'),'name':'user','type':_0x477d('0x124c'),'values':_0x477d('0xf2d'),'value':_0x477d('0x253b'),'option':'user.name','required':!![],'param':0x0},{'title':'Timeout','name':_0x477d('0x91b'),'type':'number','min':0x0,'param':0x1},{'title':'Options','name':'options','type':'text','param':0x2},{'title':_0x477d('0x2527'),'name':_0x477d('0x3c1'),'type':_0x477d('0x41b'),'param':0x3}]},{'app':_0x477d('0x2536'),'appType':_0x477d('0x25ad'),'context':_0x477d('0x2107'),'type':'Internal','icon':_0x477d('0x1248'),'interval':_0x477d('0x1249'),'options':'xX','isApp':!![],'extraApi':[{'name':_0x477d('0xf2e'),'field':{'name':_0x477d('0xaa8'),'key':_0x477d('0x94')},'route':_0x477d('0xaa8'),'filters':{'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':!![]},'permissions':{'section':0x3f3}}],'fields':[{'title':'Trunk','name':_0x477d('0xaa8'),'type':'apiselect','values':_0x477d('0xf2e'),'value':'trunk.name','option':_0x477d('0x253d'),'required':!![],'param':0x0},{'title':_0x477d('0xf85'),'name':_0x477d('0xf46'),'type':'text'},{'title':_0x477d('0x125a'),'name':'timeout','type':_0x477d('0x421'),'min':0x0,'param':0x1},{'title':_0x477d('0x2526'),'name':_0x477d('0x43c'),'type':_0x477d('0x41b'),'param':0x2},{'title':'Url','name':'url','type':_0x477d('0x41b'),'param':0x3}]},{'app':_0x477d('0x2536'),'appType':_0x477d('0x253e'),'context':'from-sip','type':_0x477d('0xf84'),'icon':_0x477d('0x1248'),'interval':_0x477d('0x1249'),'options':'xX','isApp':!![],'extraApi':[{'name':_0x477d('0xf2d'),'field':{'name':_0x477d('0x2588'),'key':_0x477d('0x94'),'prefix':_0x477d('0x253f')},'route':_0x477d('0x380'),'filters':{'fields':'id,name,role','sort':_0x477d('0x94'),'nolimit':!![]},'permissions':{'sections':[{'id':0xca,'role':'agent'},{'id':0xcb,'role':_0x477d('0x295')}]}}],'fields':[{'title':_0x477d('0x167b'),'name':'multipleUsers','type':_0x477d('0x124c'),'multiple':!![],'values':_0x477d('0xf2d'),'value':_0x477d('0x2540'),'option':'multipleUsers.name','required':!![],'param':0x0},{'title':_0x477d('0x125a'),'name':_0x477d('0x91b'),'type':_0x477d('0x421'),'min':0x0,'param':0x1},{'title':_0x477d('0x2526'),'name':_0x477d('0x43c'),'type':_0x477d('0x41b'),'param':0x2},{'title':_0x477d('0x2527'),'name':_0x477d('0x3c1'),'type':_0x477d('0x41b'),'param':0x3}]},{'app':_0x477d('0x25ae'),'alias':_0x477d('0x219c'),'appType':_0x477d('0x12b0'),'context':_0x477d('0x2107'),'type':_0x477d('0xf84'),'icon':_0x477d('0x1248'),'interval':_0x477d('0x1249'),'isApp':!![],'extraApi':[{'name':_0x477d('0xf12'),'field':{'name':'project','key':_0x477d('0x94'),'prefix':_0x477d('0x2542')},'route':_0x477d('0xc99'),'filters':{'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':!![]},'permissions':{'section':0x44f}}],'fields':[{'title':_0x477d('0x2543'),'name':_0x477d('0xf13'),'type':_0x477d('0x124c'),'values':'projects','value':_0x477d('0x2544'),'option':_0x477d('0x2545'),'required':!![],'param':0x0}]},{'app':_0x477d('0x1250'),'appType':'goTo','context':_0x477d('0x2107'),'type':_0x477d('0xf84'),'icon':_0x477d('0x1248'),'interval':_0x477d('0x1249'),'isApp':!![],'extraApi':[{'name':_0x477d('0xf32'),'field':{'name':_0x477d('0xf47'),'key':_0x477d('0x94')},'route':_0x477d('0xa6b'),'filters':{'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':!![]},'permissions':{'section':0x195}}],'fields':[{'title':'Context','name':_0x477d('0xf47'),'type':_0x477d('0x124c'),'values':'contexts','value':_0x477d('0x2547'),'option':'context.name','required':!![],'param':0x0},{'title':_0x477d('0x2548'),'name':_0x477d('0xf48'),'type':_0x477d('0x41b'),'required':!![],'param':0x1},{'title':_0x477d('0x1251'),'name':_0x477d('0x1243'),'type':_0x477d('0x41b'),'required':!![],'param':0x2}]},{'app':_0x477d('0x1ed0'),'appType':_0x477d('0x1ed0'),'context':_0x477d('0x2107'),'type':_0x477d('0xf84'),'icon':_0x477d('0x1248'),'interval':'*,*,*,*','isApp':!![],'fields':[{'title':'Hangup_Cause','name':_0x477d('0x12ae'),'type':_0x477d('0x462'),'param':0x0,'values':[{'option':_0x477d('0x254a'),'value':_0x477d('0x149c')},{'option':_0x477d('0x25af'),'value':'\x2716\x27'},{'option':_0x477d('0x254c'),'value':'\x2717\x27'},{'option':_0x477d('0x254e'),'value':_0x477d('0x254f')},{'option':_0x477d('0x2550'),'value':_0x477d('0x2551')},{'option':_0x477d('0x25b0'),'value':_0x477d('0x2552')},{'option':_0x477d('0x2553'),'value':_0x477d('0x2554')},{'option':'HANGUPCAUSE_38','value':_0x477d('0x25b1')},{'option':_0x477d('0x2556'),'value':_0x477d('0x2557')}],'translate':!![],'required':!![],'general':!![]}]},{'app':_0x477d('0x2558'),'appType':_0x477d('0x12af'),'context':_0x477d('0x2107'),'type':_0x477d('0xf84'),'separator':'=','icon':_0x477d('0x1248'),'interval':_0x477d('0x1249'),'extraApi':[{'name':_0x477d('0xf31'),'field':{'name':_0x477d('0x94'),'key':_0x477d('0x94')},'route':_0x477d('0xbb9'),'filters':{'fields':'id,name','sort':_0x477d('0x94'),'nolimit':!![]},'permissions':{'section':0x3f4}}],'isApp':!![],'fields':[{'title':_0x477d('0x124b'),'name':_0x477d('0x94'),'type':_0x477d('0x124c'),'values':_0x477d('0xf31'),'value':_0x477d('0x2559'),'option':_0x477d('0x2559'),'required':!![],'param':0x0},{'title':'Value','name':_0x477d('0x3b6'),'type':'text','required':!![],'param':0x1}]},{'app':null,'appType':_0x477d('0x9f6'),'icon':_0x477d('0x1248'),'type':_0x477d('0xf84'),'interval':'*,*,*,*','isApp':!![],'fields':[{'title':_0x477d('0x255a'),'name':_0x477d('0x1291'),'type':_0x477d('0x41b'),'required':!![],'param':0x0},{'title':_0x477d('0x255b'),'name':'appdata','type':'text','param':0x1}]},{'app':_0x477d('0x255c'),'appType':_0x477d('0x255d'),'context':_0x477d('0x2107'),'icon':'icon-apps','type':'Internal','interval':_0x477d('0x1249'),'isApp':!![],'extraApi':[{'name':_0x477d('0x255e'),'field':{'name':_0x477d('0xa8c'),'key':'mailbox','suffix':_0x477d('0x255f')},'route':_0x477d('0xa8c'),'filters':{'fields':_0x477d('0x25b2'),'sort':'mailbox','nolimit':!![]},'permissions':{'section':0x196}}],'fields':[{'title':_0x477d('0x2560'),'name':_0x477d('0xa8c'),'type':_0x477d('0x124c'),'values':_0x477d('0x255e'),'value':_0x477d('0x2561'),'option':_0x477d('0x2562'),'required':!![],'param':0x0},{'title':'Options','name':'options','type':_0x477d('0x41b'),'param':0x1}]}],[_0x477d('0x1291')]),{'isApp':![]});_0x9b84fa[_0x477d('0xa02')]={'group':{'name':_0x477d('0x1284'),'pull':'clone'},'animation':0x64,'sort':![]};_0x9b84fa[_0x477d('0x1285')]={'group':{'name':_0x477d('0x1286'),'put':_0x477d('0x1284')},'animation':0x64,'onAdd':function(_0x182bcd){_0x51c2cc(_0x182bcd,_0x182bcd[_0x477d('0x191a')]);},'onSort':function(_0x31e9df){_0x19a8c6();}};_0x9b84fa[_0x477d('0x5ee')]=_0x253d28;_0x9b84fa[_0x477d('0xe66')]=_0x4ad478;_0x9b84fa[_0x477d('0x25b3')]=_0x231022;_0x9b84fa[_0x477d('0x25b4')]=_0x51c2cc;_0x9b84fa['editInterval']=_0x4a27a0;_0x9b84fa[_0x477d('0x25b5')]=_0x4b6be6;_0x9b84fa[_0x477d('0x25b6')]=_0x9f9ffc;_0x9b84fa[_0x477d('0x128c')]=_0x19a8c6;_0x9b84fa[_0x477d('0x128f')]=_0x268035;function _0x253d28(_0x2693a7,_0x541288){_0x9b84fa[_0x477d('0x259d')]=_0x2693a7;_0x9b84fa[_0x477d('0xd66')]=typeof _0x541288!==_0x477d('0x4a4')?_0x541288:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x9b84fa['applications'][_0x477d('0x45c')]=!_0x9b84fa['crudPermissions'][_0x477d('0xedb')]?!![]:![];_0x9b84fa[_0x477d('0x3ef')][_0x477d('0x25b7')]=_0x2693a7['id'];_0x9b84fa['query'][_0x477d('0x128d')]=!![];_0x9b84fa[_0x477d('0x3ef')][_0x477d('0x128e')]=!![];_0x9b84fa[_0x477d('0x25b3')]();_0x9b84fa[_0x477d('0x128f')]();}function _0x4ad478(_0x25cd28,_0x116b95,_0x2e17ff){var _0xe3e6bf=_0x4d1b4c[_0x477d('0xd78')]()['title'](_0x477d('0x1290'))[_0x477d('0xd92')](_0x477d('0xd93')+_0x25cd28[_0x477d('0x1291')]+_0x477d('0xd94')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x1292'))[_0x477d('0xd7c')](_0x2e17ff)['ok']('OK')[_0x477d('0x4f0')]('CANCEL');_0x4d1b4c[_0x477d('0x395')](_0xe3e6bf)[_0x477d('0x76')](function(){_0x9b84fa[_0x477d('0x25ab')][_0x477d('0xf2')][_0x477d('0x45b')](_0x116b95,0x1);_0x19a8c6();},function(){console['log'](_0x477d('0xd97'));});}function _0x51c2cc(_0x467598,_0xb6c5f6){if(_0x9b84fa[_0x477d('0x25ab')][_0x477d('0xf2')][_0x477d('0x79')]){var _0x24b1b1=_0x9b84fa['internalrouteApps'][_0x477d('0xf2')][_0xb6c5f6]?_0x9b84fa[_0x477d('0x25ab')][_0x477d('0xf2')][_0xb6c5f6]:_0x9b84fa['internalrouteApps'][_0x477d('0xf2')][0x0];_0x4d1b4c['show']({'controller':_0x477d('0x25b8')+(_0x24b1b1['appType']||_0x24b1b1[_0x477d('0x1291')])['toLowerCase']()+_0x477d('0x1295'),'controllerAs':'vm','templateUrl':_0x477d('0x25b9')+(_0x24b1b1['appType']||_0x24b1b1[_0x477d('0x1291')])[_0x477d('0x449')]()+_0x477d('0x1296'),'parent':angular['element'](_0x4c3644[_0x477d('0x399')]),'targetEvent':_0x467598,'clickOutsideToClose':!![],'locals':{'internalrouteApp':_0x24b1b1,'internalroute':_0x9b84fa[_0x477d('0x259d')],'crudPermissions':_0x9b84fa['crudPermissions']}})[_0x477d('0x76')](function(_0x82fca9){if(_0x82fca9){if(_0x82fca9['id']){_0x9b84fa['internalrouteApps'][_0x477d('0xf2')][_0xb6c5f6]=_0x82fca9;}else{_0x9b84fa[_0x477d('0x25ab')][_0x477d('0xf2')][_0x477d('0x45b')](_0xb6c5f6,0x0,_0x82fca9);}_0x19a8c6();}})['catch'](function(_0x10e755){if(_0x10e755){_0x3abfec[_0x477d('0x44a')]({'title':_0x10e755['status']?'API:'+_0x10e755[_0x477d('0x3c3')]+'\x20-\x20'+_0x10e755['statusText']:_0x477d('0x1921'),'msg':_0x10e755[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x10e755['data']):_0x10e755['toString']()});}});}}function _0x4a27a0(_0x19a23d,_0x2a6ed0){if(_0x9b84fa[_0x477d('0x25ab')][_0x477d('0xf2')]['length']){var _0x2e83d3=_0x9b84fa['internalrouteApps']['rows'][_0x2a6ed0]?_0x9b84fa[_0x477d('0x25ab')][_0x477d('0xf2')][_0x2a6ed0]:_0x9b84fa[_0x477d('0x25ab')]['rows'][0x0];_0x4d1b4c[_0x477d('0x395')]({'controller':'EditInternalAppintervalDialogController','controllerAs':'vm','templateUrl':_0x477d('0x25ba'),'parent':angular[_0x477d('0x398')](_0x4c3644[_0x477d('0x399')]),'targetEvent':_0x19a23d,'clickOutsideToClose':!![],'locals':{'interval':{'interval':_0x2e83d3[_0x477d('0x79c')],'IntervalId':_0x2e83d3[_0x477d('0xf8c')],'application':!![]},'intervals':[],'crudPermissions':_0x9b84fa['crudPermissions']}})[_0x477d('0x76')](function(_0x2a8eec){if(_0x2a8eec){_0x2e83d3[_0x477d('0x79c')]=_0x2a8eec[_0x477d('0x79c')]||_0x477d('0x1249');_0x2e83d3[_0x477d('0xf8c')]=_0x2a8eec['IntervalId']||null;_0x19a8c6();}});}}function _0x19a8c6(){var _0x4170d5=[_0x477d('0x1256'),_0x477d('0x2531')];var _0x1a0ce0=0x2;var _0x3fa252=[];_0x3fa252['push']({'type':_0x477d('0x324'),'app':'Set','appdata':'CDR(type)=internal','context':_0x9b84fa[_0x477d('0x259d')]['context'],'exten':_0x9b84fa[_0x477d('0x259d')][_0x477d('0x1299')],'priority':_0x1a0ce0++,'VoiceExtensionId':_0x9b84fa[_0x477d('0x259d')]['id']});_0x3fa252['push']({'type':'internal','app':_0x477d('0x2558'),'appdata':_0x477d('0x256c'),'context':_0x9b84fa['internalroute']['context'],'exten':_0x9b84fa['internalroute']['exten'],'priority':_0x1a0ce0++,'VoiceExtensionId':_0x9b84fa['internalroute']['id']});_0x3fa252[_0x477d('0x3a7')]({'type':_0x477d('0x324'),'app':'Set','appdata':_0x477d('0x256d'),'context':_0x9b84fa[_0x477d('0x259d')][_0x477d('0xf47')],'exten':_0x9b84fa[_0x477d('0x259d')][_0x477d('0x1299')],'priority':_0x1a0ce0++,'VoiceExtensionId':_0x9b84fa['internalroute']['id']});_0x3fa252[_0x477d('0x3a7')]({'type':'internal','app':_0x477d('0x2558'),'appdata':_0x477d('0x256e'),'context':_0x9b84fa[_0x477d('0x259d')]['context'],'exten':_0x9b84fa[_0x477d('0x259d')][_0x477d('0x1299')],'priority':_0x1a0ce0++,'VoiceExtensionId':_0x9b84fa[_0x477d('0x259d')]['id']});for(var _0x2ca524=0x0,_0x436f0f=0x0;_0x2ca524<_0x9b84fa[_0x477d('0x25ab')]['rows']['length'];_0x2ca524++,_0x436f0f=0x0){var _0x2b2ea6=_0x9b84fa[_0x477d('0x25ab')][_0x477d('0xf2')][_0x2ca524];var _0x5f3c9c=[];var _0x2dc121=[];_0x2b2ea6[_0x477d('0x1298')]=_0x2b2ea6[_0x477d('0x79c')]!==_0x477d('0x1249')?[_0x2b2ea6['interval']]:_0x2b2ea6['IntervalId']?_[_0x477d('0x3cb')](_['filter'](_0x9b84fa[_0x477d('0x1298')][_0x477d('0xf2')],{'IntervalId':_0x2b2ea6['IntervalId']}),_0x477d('0x79c')):[];_0x2b2ea6[_0x477d('0xf47')]=_0x9b84fa[_0x477d('0x259d')][_0x477d('0xf47')];_0x2b2ea6[_0x477d('0x1299')]=_0x9b84fa['internalroute'][_0x477d('0x1299')];if(_0x2b2ea6['type']){_0x2b2ea6[_0x477d('0x439')]=_0x2b2ea6[_0x477d('0x439')]['toLowerCase']();}if(_0x2b2ea6[_0x477d('0x3ea')](_0x477d('0x605'))){if(_0x4170d5[_0x477d('0x3a4')](_0x2b2ea6[_0x477d('0x1291')][_0x477d('0x449')]())&&_0x2b2ea6[_0x477d('0x1294')]!=='custom'){if(_0x2b2ea6['answer']){_0x5f3c9c[_0x477d('0x3a7')]({'type':_0x2b2ea6['type'][_0x477d('0x449')](),'app':_0x477d('0x256f'),'appdata':_0x477d('0x2570'),'context':_0x9b84fa['internalroute'][_0x477d('0xf47')],'exten':_0x9b84fa['internalroute'][_0x477d('0x1299')],'priority':_0x2b2ea6[_0x477d('0x1298')]['length']+_0x1a0ce0+_0x436f0f++,'VoiceExtensionId':_0x9b84fa['internalroute']['id']});_0x5f3c9c[_0x477d('0x3a7')]({'type':_0x2b2ea6['type'][_0x477d('0x449')](),'app':_0x477d('0x2558'),'appdata':_0x477d('0x2571'),'context':_0x9b84fa['internalroute'][_0x477d('0xf47')],'exten':_0x9b84fa['internalroute']['exten'],'priority':_0x2b2ea6[_0x477d('0x1298')][_0x477d('0x79')]+_0x1a0ce0+_0x436f0f++,'VoiceExtensionId':_0x9b84fa[_0x477d('0x259d')]['id']});}else{_0x5f3c9c['push']({'type':_0x2b2ea6[_0x477d('0x439')]['toLowerCase'](),'app':_0x477d('0x256f'),'appdata':_0x477d('0x25bb'),'context':_0x9b84fa['internalroute']['context'],'exten':_0x9b84fa[_0x477d('0x259d')][_0x477d('0x1299')],'priority':_0x2b2ea6[_0x477d('0x1298')][_0x477d('0x79')]+_0x1a0ce0+_0x436f0f++,'VoiceExtensionId':_0x9b84fa[_0x477d('0x259d')]['id']});_0x5f3c9c[_0x477d('0x3a7')]({'type':_0x2b2ea6[_0x477d('0x439')]['toLowerCase'](),'app':_0x477d('0x2558'),'appdata':_0x477d('0x2572'),'context':_0x9b84fa[_0x477d('0x259d')][_0x477d('0xf47')],'exten':_0x9b84fa[_0x477d('0x259d')][_0x477d('0x1299')],'priority':_0x2b2ea6[_0x477d('0x1298')][_0x477d('0x79')]+_0x1a0ce0+_0x436f0f++,'VoiceExtensionId':_0x9b84fa[_0x477d('0x259d')]['id']});}}}for(var _0x5768e3=0x0;_0x5768e3<_0x2b2ea6[_0x477d('0x1298')][_0x477d('0x79')];_0x5768e3++){var _0x15291b=_0x1a0ce0+_0x2b2ea6[_0x477d('0x1298')][_0x477d('0x79')];var _0x26df5d=_0x5768e3===_0x2b2ea6[_0x477d('0x1298')]['length']-0x1?_0x1a0ce0+_0x5f3c9c['length']+_0x2dc121[_0x477d('0x79')]+0x2:_0x1a0ce0+_0x5768e3+0x1;_0x5f3c9c[_0x477d('0x45b')](_0x5768e3,0x0,{'type':_0x477d('0x324'),'app':_0x477d('0x2573'),'appdata':_0x2b2ea6['intervals'][_0x5768e3]+'?'+_0x9b84fa[_0x477d('0x259d')][_0x477d('0xf47')]+_0x477d('0x2574')+_0x15291b+':'+_0x9b84fa['internalroute'][_0x477d('0xf47')]+',${EXTEN},'+_0x26df5d,'exten':_0x9b84fa['internalroute']['exten'],'context':_0x9b84fa['internalroute'][_0x477d('0xf47')],'priority':_0x1a0ce0+_0x5768e3,'VoiceExtensionId':_0x9b84fa[_0x477d('0x259d')]['id']});}_0x2b2ea6['priority']=_0x5f3c9c[_0x477d('0x79')]?_[_0x477d('0x601')](_0x5f3c9c)[_0x477d('0x1243')]+0x1:_0x1a0ce0;_0x1a0ce0=(_0x2dc121[_0x477d('0x79')]?_['last'](_0x2dc121)[_0x477d('0x1243')]:_0x2b2ea6['priority'])+0x1;_0x3fa252=_[_0x477d('0x3a9')](_0x3fa252,_0x5f3c9c,[_0x2b2ea6],_0x2dc121);}_0x3fa252[_0x477d('0x3a7')]({'type':_0x477d('0x324'),'app':'Hangup','exten':_0x9b84fa[_0x477d('0x259d')][_0x477d('0x1299')],'context':_0x9b84fa[_0x477d('0x259d')][_0x477d('0xf47')],'priority':_0x1a0ce0,'VoiceExtensionId':_0x9b84fa[_0x477d('0x259d')]['id']});_0x5b6068[_0x477d('0x21a5')][_0x477d('0x129a')]({'id':_0x9b84fa[_0x477d('0x259d')]['id']},_['sortBy'](_0x3fa252,_0x477d('0x1243')))[_0x477d('0x38b')][_0x477d('0x76')](function(_0x32a72a){_0x9b84fa[_0x477d('0x25ab')]['rows']=_0x32a72a[_0x477d('0xf2')];})[_0x477d('0xf8')](function(_0xa714d7){console[_0x477d('0x44a')](_0xa714d7);});}function _0x46c369(_0x4edf37){_0x9b84fa['internalrouteApps']=_0x4edf37||{'count':0x0,'rows':[]};}function _0x268035(){return _0x5b6068[_0x477d('0x79c')]['get']({'fields':'id,interval,IntervalId'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x2f3a4d){_0x9b84fa['intervals']=_0x2f3a4d;})[_0x477d('0xf8')](function(_0x5f3cee){console[_0x477d('0x44a')](_0x5f3cee);});}function _0x231022(){_0x9b84fa[_0x477d('0x553')]=_0x5b6068['voiceExtension'][_0x477d('0x376')](_0x9b84fa[_0x477d('0x3ef')],_0x46c369)['$promise'];}function _0x4b6be6(_0x1f46ab){_[_0x477d('0x39c')](_0x9b84fa['internalrouteApps'][_0x477d('0xf2')],{'id':_0x1f46ab['id']});_0x19a8c6();_0x3abfec['success']({'title':_0x477d('0x2053'),'msg':_0x1f46ab[_0x477d('0x1291')]?_0x1f46ab[_0x477d('0x1291')]+_0x477d('0xd7e'):''});}function _0x9f9ffc(_0x598806){var _0x107cfb=_0x4d1b4c[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x129b'))[_0x477d('0xd92')](_0x477d('0xd93')+_0x9b84fa['selectedInternalRouteApps']['length']+_0x477d('0xda0')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x129c'))[_0x477d('0xd7c')](_0x598806)['ok']('OK')[_0x477d('0x4f0')]('CANCEL');_0x4d1b4c['show'](_0x107cfb)['then'](function(){_0x9b84fa['selectedInternalRouteApps'][_0x477d('0x3b1')](function(_0x4936f5){_[_0x477d('0x39c')](_0x9b84fa[_0x477d('0x25ab')][_0x477d('0xf2')],{'id':_0x4936f5['id']});});_0x9b84fa[_0x477d('0x25ac')]=[];_0x19a8c6();});}}}());(function(){'use strict';_0x1f11da['$inject']=['$mdDialog','$q',_0x477d('0x40e'),_0x477d('0x25bc'),_0x477d('0x259d'),'api','Auth',_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x2f'))['controller'](_0x477d('0x25bd'),_0x1f11da);function _0x1f11da(_0x31b2df,_0x41cbd1,_0x299626,_0x55c827,_0x49a53e,_0x4ddc54,_0x3062f0,_0x44d024){var _0x35c9b3=this;_0x35c9b3['currentUser']=_0x3062f0['getCurrentUser']();_0x35c9b3[_0x477d('0xd67')]=[];_0x35c9b3['title']=_0x477d('0x2577')+(_0x55c827[_0x477d('0x1294')]||_0x55c827['app'])[_0x477d('0x44f')]();_0x35c9b3['agi']=angular[_0x477d('0x6d9')](_0x55c827);_0x35c9b3[_0x477d('0xd66')]=_0x44d024;_0x35c9b3['hasModulePermissions']={};if(_0x35c9b3[_0x477d('0x12b0')]['appdata']){switch(_0x35c9b3[_0x477d('0x12b0')][_0x477d('0x1294')]?_0x35c9b3['agi'][_0x477d('0x1294')][_0x477d('0x449')]():_0x35c9b3[_0x477d('0x12b0')][_0x477d('0x1291')][_0x477d('0x449')]()){case'custom':break;case'dialogflow':var _0x41c7f0=_0x35c9b3[_0x477d('0x12b0')][_0x477d('0x12ae')]['split'](',');_0x35c9b3['agi']['key']=_0x41c7f0[0x0];_0x35c9b3[_0x477d('0x12b0')][_0x477d('0x1267')]=_0x41c7f0[0x1];_0x35c9b3['agi'][_0x477d('0x127a')]=_0x41c7f0[_0x477d('0x9cd')](0x2,_0x41c7f0[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case'amazonlex':var _0x41c7f0=_0x35c9b3['agi'][_0x477d('0x12ae')]['split'](',');_0x35c9b3[_0x477d('0x12b0')][_0x477d('0x127d')]=_0x41c7f0[0x0];_0x35c9b3[_0x477d('0x12b0')][_0x477d('0x127e')]=_0x41c7f0[0x1];_0x35c9b3[_0x477d('0x12b0')][_0x477d('0x127f')]=_0x41c7f0[0x2];_0x35c9b3['agi'][_0x477d('0x1283')]=_0x41c7f0[0x3];_0x35c9b3[_0x477d('0x12b0')][_0x477d('0x127a')]=_0x41c7f0[_0x477d('0x9cd')](0x4,_0x41c7f0[_0x477d('0x79')])['join'](',');break;case'autoreply':var _0x41c7f0=_0x35c9b3['agi'][_0x477d('0x12ae')]['split'](',');_0x35c9b3[_0x477d('0x12b0')]['times']=isNaN(_0x41c7f0[0x0])?_0x41c7f0[0x0]:parseInt(_0x41c7f0[0x0],0xa);_0x35c9b3[_0x477d('0x12b0')][_0x477d('0x41b')]=_0x41c7f0[_0x477d('0x9cd')](0x1,_0x41c7f0['length'])[_0x477d('0x3f6')](',');break;case _0x477d('0x452'):_0x35c9b3[_0x477d('0x12b0')]['text']=_0x35c9b3['agi'][_0x477d('0x12ae')];break;case'set':_0x35c9b3[_0x477d('0x12b0')]['name']=_0x35c9b3[_0x477d('0x12b0')]['appdata'][_0x477d('0x472')]('=')[0x0];_0x35c9b3['agi']['value']=_0x35c9b3['agi'][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x1];break;case'agi':_0x35c9b3[_0x477d('0x12b0')]['project']=_0x35c9b3[_0x477d('0x12b0')][_0x477d('0x12ae')];break;default:var _0x59e557=_0x35c9b3[_0x477d('0x12b0')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x35c9b3[_0x477d('0x12b0')][_0x477d('0xf13')]=_[_0x477d('0x3b2')](_0x59e557[0x0])?_0x59e557[0x0]:isNaN(_0x59e557[0x0])?_0x59e557[0x0]:parseInt(_0x59e557[0x0],0xa);}}else{}if(_0x35c9b3[_0x477d('0x12b0')][_0x477d('0x439')]&&_0x35c9b3[_0x477d('0x12b0')][_0x477d('0x439')][_0x477d('0x449')]()===_0x477d('0x127')&&_0x35c9b3['agi'][_0x477d('0x1294')][_0x477d('0x449')]()===_0x477d('0x12b1')){_0x35c9b3[_0x477d('0x12b0')][_0x477d('0x6c0')]=_0x35c9b3[_0x477d('0x12b0')][_0x477d('0xf46')]?_0x35c9b3[_0x477d('0x12b0')][_0x477d('0xf46')][_0x477d('0x472')]('$')[0x0]:undefined;_0x35c9b3[_0x477d('0x12b0')]['callerId']=_0x35c9b3['agi'][_0x477d('0x12b2')]?_0x477d('0x12b3')+_0x35c9b3[_0x477d('0x12b0')]['callerID']:undefined;}_0x35c9b3[_0x477d('0x25be')]=_0x122a09;_0x35c9b3[_0x477d('0x6bf')]=_0x52742c;_0x3062f0[_0x477d('0x56')](_0x477d('0x5f'))?_0x4ddc54['squareProject'][_0x477d('0x376')]({'fields':'id,name','sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x43fe59){_0x35c9b3['projects']=_0x43fe59[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x3194bc){_0x299626[_0x477d('0x44a')]({'title':_0x3194bc['status']?_0x477d('0x44b')+_0x3194bc[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x3194bc['statusText']:'SYSTEM:GET_PROJECTS','msg':_0x3194bc[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x3194bc['data']):_0x3194bc[_0x477d('0x453')]()});}):_0x4ddc54[_0x477d('0xc99')]['get']({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x18adfe){_0x35c9b3[_0x477d('0xf12')]=_0x18adfe[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x4ddc54[_0x477d('0x3ac')]['get']({'userProfileId':_0x35c9b3[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x44f})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x46a20d){var _0x45933a=_0x46a20d&&_0x46a20d[_0x477d('0xf2')]?_0x46a20d[_0x477d('0xf2')][0x0]:null;if(!_0x45933a){var _0xd747c0=[];var _0x3583cf=null;if(_0x35c9b3[_0x477d('0x12b0')]){_0x3583cf=_['find'](_0x35c9b3['projects'],{'name':_0x35c9b3[_0x477d('0x12b0')]['project']});}for(var _0x3e0593=0x0;_0x3e0593<_0x35c9b3[_0x477d('0xf12')]['length'];_0x3e0593++){if(_0x3583cf&&_0x35c9b3[_0x477d('0xf12')][_0x3e0593]['id']===_0x3583cf['id']){_0x35c9b3['projects'][_0x3e0593][_0x477d('0xf8b')]=![];_0xd747c0[_0x477d('0x3a7')](_0x35c9b3[_0x477d('0xf12')][_0x3e0593]);}}_0x35c9b3[_0x477d('0xf12')]=_0xd747c0;}else{if(!_0x45933a[_0x477d('0x3ad')]){return _0x4ddc54[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x45933a['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x3597e3){var _0x466094=_['map'](_0x3597e3['rows'],function(_0x3feba7){return _['find'](_0x35c9b3[_0x477d('0xf12')],{'id':_0x3feba7[_0x477d('0x3af')]});});var _0x44a747=null;if(_0x35c9b3['agi']){_0x44a747=_[_0x477d('0x10a')](_0x35c9b3[_0x477d('0xf12')],{'name':_0x35c9b3['agi'][_0x477d('0xf13')]});}if(_0x44a747&&!_[_0x477d('0x3ab')](_0x466094,['id',_0x44a747['id']])){var _0x299fa5=_[_0x477d('0x10a')](_0x35c9b3[_0x477d('0xf12')],{'id':_0x44a747['id']});_0x299fa5[_0x477d('0xf8b')]=![];_0x466094['push'](_0x299fa5);}_0x35c9b3['projects']=_0x466094;});}}})[_0x477d('0xf8')](function(_0x50c327){_0x299626[_0x477d('0x44a')]({'title':_0x50c327[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x50c327['status']+_0x477d('0x44c')+_0x50c327['statusText']:_0x477d('0x1d90'),'msg':_0x50c327[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x50c327['data']):_0x50c327['toString']()});});function _0x122a09(){_0x35c9b3[_0x477d('0xd67')]=[];var _0x4b3e85=[];if(_0x35c9b3[_0x477d('0x12b0')]['type']&&_0x35c9b3[_0x477d('0x12b0')][_0x477d('0x439')][_0x477d('0x449')]()==='outbound'&&_0x35c9b3[_0x477d('0x12b0')][_0x477d('0x1294')]===_0x477d('0x12b5')){_0x35c9b3[_0x477d('0x12b0')][_0x477d('0xf46')]=_0x49a53e[_0x477d('0x12b6')]?(_0x35c9b3[_0x477d('0x12b0')]['prefix']||'')+'${EXTEN:'+_0x49a53e[_0x477d('0x12b6')]+'}':(_0x35c9b3[_0x477d('0x12b0')][_0x477d('0x6c0')]||'')+_0x477d('0x12b8');if(_0x49a53e[_0x477d('0x12b9')]!==_0x477d('0x496')){if(_0x35c9b3[_0x477d('0x12b0')]['options']['indexOf']('U(xcally-mixmonitor-context)')<0x0){_0x35c9b3[_0x477d('0x12b0')]['options']+='U(xcally-mixmonitor-context)';}}else{_0x35c9b3[_0x477d('0x12b0')][_0x477d('0x43c')]=_0x35c9b3['agi'][_0x477d('0x43c')]['replace']('U(xcally-mixmonitor-context)','');}}if(_0x35c9b3[_0x477d('0x12b0')][_0x477d('0x1294')]&&_0x35c9b3['agi']['appType']===_0x477d('0x9f6')){}else{switch((_0x35c9b3['agi'][_0x477d('0x1291')]||_0x35c9b3[_0x477d('0x12b0')][_0x477d('0x1294')])[_0x477d('0x449')]()){case _0x477d('0x12af'):_0x35c9b3[_0x477d('0x12b0')][_0x477d('0x12ae')]=_0x35c9b3[_0x477d('0x12b0')][_0x477d('0x94')]+'='+_0x35c9b3['agi'][_0x477d('0x3b6')];break;case'custom':break;default:_0x4b3e85[0x0]=_0x35c9b3[_0x477d('0x12b0')][_0x477d('0xf13')];_0x35c9b3['agi'][_0x477d('0x12ae')]=_0x4b3e85['join'](',');}}_0x52742c(_0x35c9b3[_0x477d('0x12b0')]);}function _0x52742c(_0x5c5773){_0x31b2df[_0x477d('0x3bc')](_0x5c5773);}}}());(function(){'use strict';_0x1bfc09[_0x477d('0xa')]=[_0x477d('0x384'),'$q',_0x477d('0x40e'),_0x477d('0x25bc'),_0x477d('0x259d'),_0x477d('0x386'),_0x477d('0x55'),_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x2f'))[_0x477d('0x3ba')](_0x477d('0x25bf'),_0x1bfc09);function _0x1bfc09(_0x5a1e84,_0x1a305a,_0x58b1ed,_0x4b5d2e,_0x44b5fc,_0x6973b7,_0x340665,_0x43a025){var _0x4eb6a3=this;_0x4eb6a3[_0x477d('0x3e5')]=_0x340665['getCurrentUser']();_0x4eb6a3['errors']=[];_0x4eb6a3[_0x477d('0x49a')]='VOICE.EDIT_'+(_0x4b5d2e[_0x477d('0x1294')]||_0x4b5d2e[_0x477d('0x1291')])['toUpperCase']();_0x4eb6a3[_0x477d('0x9f6')]=angular[_0x477d('0x6d9')](_0x4b5d2e);_0x4eb6a3[_0x477d('0xd66')]=_0x43a025;_0x4eb6a3[_0x477d('0xd68')]={};if(_0x4eb6a3[_0x477d('0x9f6')][_0x477d('0x12ae')]){switch(_0x4eb6a3[_0x477d('0x9f6')][_0x477d('0x1294')]?_0x4eb6a3[_0x477d('0x9f6')][_0x477d('0x1294')]['toLowerCase']():_0x4eb6a3[_0x477d('0x9f6')][_0x477d('0x1291')]['toLowerCase']()){case _0x477d('0x9f6'):break;case _0x477d('0x1266'):var _0x34e7e3=_0x4eb6a3[_0x477d('0x9f6')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x4eb6a3[_0x477d('0x9f6')][_0x477d('0x670')]=_0x34e7e3[0x0];_0x4eb6a3[_0x477d('0x9f6')][_0x477d('0x1267')]=_0x34e7e3[0x1];_0x4eb6a3[_0x477d('0x9f6')][_0x477d('0x127a')]=_0x34e7e3[_0x477d('0x9cd')](0x2,_0x34e7e3[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x127c'):var _0x34e7e3=_0x4eb6a3[_0x477d('0x9f6')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x4eb6a3[_0x477d('0x9f6')][_0x477d('0x127d')]=_0x34e7e3[0x0];_0x4eb6a3[_0x477d('0x9f6')][_0x477d('0x127e')]=_0x34e7e3[0x1];_0x4eb6a3[_0x477d('0x9f6')][_0x477d('0x127f')]=_0x34e7e3[0x2];_0x4eb6a3['custom'][_0x477d('0x1283')]=_0x34e7e3[0x3];_0x4eb6a3[_0x477d('0x9f6')][_0x477d('0x127a')]=_0x34e7e3['slice'](0x4,_0x34e7e3[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x1260'):var _0x34e7e3=_0x4eb6a3[_0x477d('0x9f6')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x4eb6a3['custom']['times']=isNaN(_0x34e7e3[0x0])?_0x34e7e3[0x0]:parseInt(_0x34e7e3[0x0],0xa);_0x4eb6a3[_0x477d('0x9f6')][_0x477d('0x41b')]=_0x34e7e3['slice'](0x1,_0x34e7e3['length'])[_0x477d('0x3f6')](',');break;case _0x477d('0x452'):_0x4eb6a3['custom'][_0x477d('0x41b')]=_0x4eb6a3[_0x477d('0x9f6')]['appdata'];break;case _0x477d('0x12af'):_0x4eb6a3['custom'][_0x477d('0x94')]=_0x4eb6a3[_0x477d('0x9f6')][_0x477d('0x12ae')]['split']('=')[0x0];_0x4eb6a3[_0x477d('0x9f6')]['value']=_0x4eb6a3[_0x477d('0x9f6')]['appdata']['split']('=')[0x1];break;case'agi':_0x4eb6a3[_0x477d('0x9f6')][_0x477d('0xf13')]=_0x4eb6a3[_0x477d('0x9f6')][_0x477d('0x12ae')];break;default:var _0x353d47=_0x4eb6a3['custom'][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x4eb6a3[_0x477d('0x9f6')][_0x477d('0x1291')]=_[_0x477d('0x3b2')](_0x353d47[0x0])?_0x353d47[0x0]:isNaN(_0x353d47[0x0])?_0x353d47[0x0]:parseInt(_0x353d47[0x0],0xa);_0x4eb6a3['custom']['appdata']=_[_0x477d('0x3b2')](_0x353d47[0x1])?_0x353d47[0x1]:isNaN(_0x353d47[0x1])?_0x353d47[0x1]:parseInt(_0x353d47[0x1],0xa);}}else{}if(_0x4eb6a3[_0x477d('0x9f6')][_0x477d('0x439')]&&_0x4eb6a3[_0x477d('0x9f6')]['type'][_0x477d('0x449')]()==='outbound'&&_0x4eb6a3[_0x477d('0x9f6')][_0x477d('0x1294')]['toLowerCase']()===_0x477d('0x12b1')){_0x4eb6a3[_0x477d('0x9f6')][_0x477d('0x6c0')]=_0x4eb6a3[_0x477d('0x9f6')][_0x477d('0xf46')]?_0x4eb6a3[_0x477d('0x9f6')][_0x477d('0xf46')]['split']('$')[0x0]:undefined;_0x4eb6a3[_0x477d('0x9f6')][_0x477d('0x69b')]=_0x4eb6a3[_0x477d('0x9f6')]['callerID']?'CALLERID(all)='+_0x4eb6a3[_0x477d('0x9f6')][_0x477d('0x12b2')]:undefined;}_0x4eb6a3['saveInternalRouteApp']=_0x1454c9;_0x4eb6a3[_0x477d('0x6bf')]=_0x3b6779;function _0x1454c9(){_0x4eb6a3[_0x477d('0xd67')]=[];var _0x1b5702=[];if(_0x4eb6a3['custom'][_0x477d('0x439')]&&_0x4eb6a3[_0x477d('0x9f6')][_0x477d('0x439')][_0x477d('0x449')]()==='outbound'&&_0x4eb6a3[_0x477d('0x9f6')][_0x477d('0x1294')]==='outboundDial'){_0x4eb6a3[_0x477d('0x9f6')]['phone']=_0x44b5fc[_0x477d('0x12b6')]?(_0x4eb6a3[_0x477d('0x9f6')][_0x477d('0x6c0')]||'')+_0x477d('0x12b7')+_0x44b5fc[_0x477d('0x12b6')]+'}':(_0x4eb6a3['custom'][_0x477d('0x6c0')]||'')+_0x477d('0x12b8');if(_0x44b5fc[_0x477d('0x12b9')]!=='none'){if(_0x4eb6a3[_0x477d('0x9f6')][_0x477d('0x43c')][_0x477d('0x477')](_0x477d('0x12ba'))<0x0){_0x4eb6a3['custom'][_0x477d('0x43c')]+=_0x477d('0x12ba');}}else{_0x4eb6a3[_0x477d('0x9f6')]['options']=_0x4eb6a3[_0x477d('0x9f6')][_0x477d('0x43c')][_0x477d('0x409')]('U(xcally-mixmonitor-context)','');}}if(_0x4eb6a3[_0x477d('0x9f6')]['appType']&&_0x4eb6a3[_0x477d('0x9f6')][_0x477d('0x1294')]===_0x477d('0x9f6')){}else{switch((_0x4eb6a3['custom'][_0x477d('0x1291')]||_0x4eb6a3[_0x477d('0x9f6')]['appType'])['toLowerCase']()){case _0x477d('0x12af'):_0x4eb6a3[_0x477d('0x9f6')]['appdata']=_0x4eb6a3[_0x477d('0x9f6')][_0x477d('0x94')]+'='+_0x4eb6a3[_0x477d('0x9f6')][_0x477d('0x3b6')];break;case'custom':break;default:_0x1b5702[0x0]=_0x4eb6a3[_0x477d('0x9f6')][_0x477d('0x1291')];_0x1b5702[0x1]=_0x4eb6a3['custom']['appdata'];_0x4eb6a3['custom']['appdata']=_0x1b5702[_0x477d('0x3f6')](',');}}_0x3b6779(_0x4eb6a3['custom']);}function _0x3b6779(_0x34b095){_0x5a1e84[_0x477d('0x3bc')](_0x34b095);}}}());(function(){'use strict';_0x53d6cd[_0x477d('0xa')]=['$mdDialog','$q',_0x477d('0x40e'),_0x477d('0x25bc'),_0x477d('0x259d'),_0x477d('0x386'),'Auth',_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x2f'))[_0x477d('0x3ba')]('EditInternalAppdialDialogController',_0x53d6cd);function _0x53d6cd(_0x3c386e,_0x4b1d3c,_0x49b9c6,_0x1934a9,_0xf04f3,_0x7312ba,_0x1cc04b,_0x151e2f){var _0x3c0b1c=this;_0x3c0b1c[_0x477d('0x3e5')]=_0x1cc04b[_0x477d('0x5c')]();_0x3c0b1c[_0x477d('0xd67')]=[];_0x3c0b1c[_0x477d('0x49a')]='VOICE.EDIT_'+(_0x1934a9[_0x477d('0x1294')]||_0x1934a9[_0x477d('0x1291')])[_0x477d('0x44f')]();_0x3c0b1c['dial']=angular[_0x477d('0x6d9')](_0x1934a9);_0x3c0b1c[_0x477d('0xd66')]=_0x151e2f;_0x3c0b1c[_0x477d('0xd68')]={};if(_0x3c0b1c[_0x477d('0x2537')]['appdata']){switch(_0x3c0b1c[_0x477d('0x2537')][_0x477d('0x1294')]?_0x3c0b1c['dial'][_0x477d('0x1294')]['toLowerCase']():_0x3c0b1c[_0x477d('0x2537')][_0x477d('0x1291')][_0x477d('0x449')]()){case _0x477d('0x9f6'):break;case _0x477d('0x1266'):var _0x23d6d1=_0x3c0b1c['dial'][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x3c0b1c[_0x477d('0x2537')][_0x477d('0x670')]=_0x23d6d1[0x0];_0x3c0b1c[_0x477d('0x2537')][_0x477d('0x1267')]=_0x23d6d1[0x1];_0x3c0b1c['dial']['welcomemessage']=_0x23d6d1[_0x477d('0x9cd')](0x2,_0x23d6d1[_0x477d('0x79')])['join'](',');break;case _0x477d('0x127c'):var _0x23d6d1=_0x3c0b1c['dial'][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x3c0b1c[_0x477d('0x2537')][_0x477d('0x127d')]=_0x23d6d1[0x0];_0x3c0b1c['dial'][_0x477d('0x127e')]=_0x23d6d1[0x1];_0x3c0b1c['dial'][_0x477d('0x127f')]=_0x23d6d1[0x2];_0x3c0b1c[_0x477d('0x2537')][_0x477d('0x1283')]=_0x23d6d1[0x3];_0x3c0b1c['dial']['welcomemessage']=_0x23d6d1[_0x477d('0x9cd')](0x4,_0x23d6d1[_0x477d('0x79')])['join'](',');break;case'autoreply':var _0x23d6d1=_0x3c0b1c[_0x477d('0x2537')][_0x477d('0x12ae')]['split'](',');_0x3c0b1c['dial'][_0x477d('0x1261')]=isNaN(_0x23d6d1[0x0])?_0x23d6d1[0x0]:parseInt(_0x23d6d1[0x0],0xa);_0x3c0b1c[_0x477d('0x2537')][_0x477d('0x41b')]=_0x23d6d1[_0x477d('0x9cd')](0x1,_0x23d6d1['length'])[_0x477d('0x3f6')](',');break;case _0x477d('0x452'):_0x3c0b1c[_0x477d('0x2537')][_0x477d('0x41b')]=_0x3c0b1c[_0x477d('0x2537')][_0x477d('0x12ae')];break;case _0x477d('0x12af'):_0x3c0b1c[_0x477d('0x2537')]['name']=_0x3c0b1c[_0x477d('0x2537')][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x0];_0x3c0b1c['dial'][_0x477d('0x3b6')]=_0x3c0b1c[_0x477d('0x2537')][_0x477d('0x12ae')]['split']('=')[0x1];break;case _0x477d('0x12b0'):_0x3c0b1c['dial'][_0x477d('0xf13')]=_0x3c0b1c['dial'][_0x477d('0x12ae')];break;default:var _0x12d0f2=_0x3c0b1c[_0x477d('0x2537')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x3c0b1c[_0x477d('0x2537')][_0x477d('0x257b')]=_[_0x477d('0x3b2')](_0x12d0f2[0x0])?_0x12d0f2[0x0]:isNaN(_0x12d0f2[0x0])?_0x12d0f2[0x0]:parseInt(_0x12d0f2[0x0],0xa);_0x3c0b1c[_0x477d('0x2537')][_0x477d('0x91b')]=_[_0x477d('0x3b2')](_0x12d0f2[0x1])?_0x12d0f2[0x1]:isNaN(_0x12d0f2[0x1])?_0x12d0f2[0x1]:parseInt(_0x12d0f2[0x1],0xa);_0x3c0b1c[_0x477d('0x2537')][_0x477d('0x43c')]=_[_0x477d('0x3b2')](_0x12d0f2[0x2])?_0x12d0f2[0x2]:isNaN(_0x12d0f2[0x2])?_0x12d0f2[0x2]:parseInt(_0x12d0f2[0x2],0xa);_0x3c0b1c[_0x477d('0x2537')][_0x477d('0x3c1')]=_[_0x477d('0x3b2')](_0x12d0f2[0x3])?_0x12d0f2[0x3]:isNaN(_0x12d0f2[0x3])?_0x12d0f2[0x3]:parseInt(_0x12d0f2[0x3],0xa);}}else{}if(_0x3c0b1c[_0x477d('0x2537')][_0x477d('0x439')]&&_0x3c0b1c[_0x477d('0x2537')]['type']['toLowerCase']()===_0x477d('0x127')&&_0x3c0b1c[_0x477d('0x2537')][_0x477d('0x1294')][_0x477d('0x449')]()===_0x477d('0x12b1')){_0x3c0b1c[_0x477d('0x2537')][_0x477d('0x6c0')]=_0x3c0b1c[_0x477d('0x2537')][_0x477d('0xf46')]?_0x3c0b1c[_0x477d('0x2537')][_0x477d('0xf46')]['split']('$')[0x0]:undefined;_0x3c0b1c[_0x477d('0x2537')][_0x477d('0x69b')]=_0x3c0b1c[_0x477d('0x2537')][_0x477d('0x12b2')]?_0x477d('0x12b3')+_0x3c0b1c[_0x477d('0x2537')]['callerID']:undefined;}_0x3c0b1c[_0x477d('0x25be')]=_0xfa08f5;_0x3c0b1c['closeDialog']=_0x1b4f3c;function _0xfa08f5(){_0x3c0b1c[_0x477d('0xd67')]=[];var _0x42fcb4=[];if(_0x3c0b1c['dial'][_0x477d('0x439')]&&_0x3c0b1c[_0x477d('0x2537')][_0x477d('0x439')][_0x477d('0x449')]()===_0x477d('0x127')&&_0x3c0b1c['dial'][_0x477d('0x1294')]===_0x477d('0x12b5')){_0x3c0b1c[_0x477d('0x2537')][_0x477d('0xf46')]=_0xf04f3[_0x477d('0x12b6')]?(_0x3c0b1c['dial'][_0x477d('0x6c0')]||'')+_0x477d('0x12b7')+_0xf04f3['cutdigits']+'}':(_0x3c0b1c[_0x477d('0x2537')][_0x477d('0x6c0')]||'')+'${EXTEN}';if(_0xf04f3[_0x477d('0x12b9')]!==_0x477d('0x496')){if(_0x3c0b1c[_0x477d('0x2537')][_0x477d('0x43c')][_0x477d('0x477')](_0x477d('0x12ba'))<0x0){_0x3c0b1c['dial'][_0x477d('0x43c')]+=_0x477d('0x12ba');}}else{_0x3c0b1c[_0x477d('0x2537')][_0x477d('0x43c')]=_0x3c0b1c[_0x477d('0x2537')]['options'][_0x477d('0x409')]('U(xcally-mixmonitor-context)','');}}if(_0x3c0b1c['dial'][_0x477d('0x1294')]&&_0x3c0b1c[_0x477d('0x2537')][_0x477d('0x1294')]===_0x477d('0x9f6')){}else{switch((_0x3c0b1c[_0x477d('0x2537')][_0x477d('0x1291')]||_0x3c0b1c['dial'][_0x477d('0x1294')])[_0x477d('0x449')]()){case'set':_0x3c0b1c[_0x477d('0x2537')][_0x477d('0x12ae')]=_0x3c0b1c['dial'][_0x477d('0x94')]+'='+_0x3c0b1c[_0x477d('0x2537')][_0x477d('0x3b6')];break;case _0x477d('0x9f6'):break;default:_0x42fcb4[0x0]=_0x3c0b1c['dial'][_0x477d('0x257b')];_0x42fcb4[0x1]=_0x3c0b1c[_0x477d('0x2537')][_0x477d('0x91b')];_0x42fcb4[0x2]=_0x3c0b1c['dial'][_0x477d('0x43c')];_0x42fcb4[0x3]=_0x3c0b1c[_0x477d('0x2537')][_0x477d('0x3c1')];_0x3c0b1c[_0x477d('0x2537')][_0x477d('0x12ae')]=_0x42fcb4[_0x477d('0x3f6')](',');}}_0x1b4f3c(_0x3c0b1c[_0x477d('0x2537')]);}function _0x1b4f3c(_0x852e7){_0x3c386e['hide'](_0x852e7);}}}());(function(){'use strict';_0x331421[_0x477d('0xa')]=[_0x477d('0x384'),'$q',_0x477d('0x40e'),_0x477d('0x25bc'),_0x477d('0x259d'),'api',_0x477d('0x55'),_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x2f'))[_0x477d('0x3ba')]('EditInternalAppexternaldialDialogController',_0x331421);function _0x331421(_0x53fc4c,_0x10454d,_0x30f403,_0x12c550,_0x325bdf,_0x9dcbb6,_0x42e45e,_0x4db5c3){var _0x1d93a3=this;_0x1d93a3[_0x477d('0x3e5')]=_0x42e45e[_0x477d('0x5c')]();_0x1d93a3[_0x477d('0xd67')]=[];_0x1d93a3['title']=_0x477d('0x2577')+(_0x12c550['appType']||_0x12c550[_0x477d('0x1291')])[_0x477d('0x44f')]();_0x1d93a3[_0x477d('0x257d')]=angular['copy'](_0x12c550);_0x1d93a3[_0x477d('0xd66')]=_0x4db5c3;_0x1d93a3['hasModulePermissions']={};if(_0x1d93a3[_0x477d('0x257d')][_0x477d('0x12ae')]){switch(_0x1d93a3[_0x477d('0x257d')][_0x477d('0x1294')]?_0x1d93a3[_0x477d('0x257d')]['appType'][_0x477d('0x449')]():_0x1d93a3[_0x477d('0x257d')]['app'][_0x477d('0x449')]()){case _0x477d('0x9f6'):break;case _0x477d('0x1266'):var _0x5e6b6e=_0x1d93a3[_0x477d('0x257d')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x1d93a3[_0x477d('0x257d')]['key']=_0x5e6b6e[0x0];_0x1d93a3[_0x477d('0x257d')][_0x477d('0x1267')]=_0x5e6b6e[0x1];_0x1d93a3[_0x477d('0x257d')][_0x477d('0x127a')]=_0x5e6b6e[_0x477d('0x9cd')](0x2,_0x5e6b6e[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case'amazonlex':var _0x5e6b6e=_0x1d93a3[_0x477d('0x257d')]['appdata'][_0x477d('0x472')](',');_0x1d93a3[_0x477d('0x257d')]['accesskeyid']=_0x5e6b6e[0x0];_0x1d93a3[_0x477d('0x257d')][_0x477d('0x127e')]=_0x5e6b6e[0x1];_0x1d93a3[_0x477d('0x257d')]['lexregion']=_0x5e6b6e[0x2];_0x1d93a3[_0x477d('0x257d')][_0x477d('0x1283')]=_0x5e6b6e[0x3];_0x1d93a3[_0x477d('0x257d')]['welcomemessage']=_0x5e6b6e[_0x477d('0x9cd')](0x4,_0x5e6b6e['length'])[_0x477d('0x3f6')](',');break;case _0x477d('0x1260'):var _0x5e6b6e=_0x1d93a3[_0x477d('0x257d')][_0x477d('0x12ae')]['split'](',');_0x1d93a3[_0x477d('0x257d')][_0x477d('0x1261')]=isNaN(_0x5e6b6e[0x0])?_0x5e6b6e[0x0]:parseInt(_0x5e6b6e[0x0],0xa);_0x1d93a3['externaldial'][_0x477d('0x41b')]=_0x5e6b6e['slice'](0x1,_0x5e6b6e[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x452'):_0x1d93a3[_0x477d('0x257d')][_0x477d('0x41b')]=_0x1d93a3['externaldial'][_0x477d('0x12ae')];break;case _0x477d('0x12af'):_0x1d93a3['externaldial'][_0x477d('0x94')]=_0x1d93a3['externaldial'][_0x477d('0x12ae')]['split']('=')[0x0];_0x1d93a3[_0x477d('0x257d')]['value']=_0x1d93a3[_0x477d('0x257d')][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x1];break;case'agi':_0x1d93a3[_0x477d('0x257d')]['project']=_0x1d93a3[_0x477d('0x257d')][_0x477d('0x12ae')];break;default:var _0x4780b6=_0x1d93a3[_0x477d('0x257d')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x1d93a3[_0x477d('0x257d')]['trunk']=_0x4780b6[0x0]['split']('/')[0x1];_0x1d93a3[_0x477d('0x257d')][_0x477d('0xf46')]=_0x4780b6[0x0][_0x477d('0x472')]('/')[0x2];_0x1d93a3[_0x477d('0x257d')][_0x477d('0x91b')]=_[_0x477d('0x3b2')](_0x4780b6[0x1])?_0x4780b6[0x1]:isNaN(_0x4780b6[0x1])?_0x4780b6[0x1]:parseInt(_0x4780b6[0x1],0xa);_0x1d93a3[_0x477d('0x257d')][_0x477d('0x43c')]=_[_0x477d('0x3b2')](_0x4780b6[0x2])?_0x4780b6[0x2]:isNaN(_0x4780b6[0x2])?_0x4780b6[0x2]:parseInt(_0x4780b6[0x2],0xa);_0x1d93a3['externaldial'][_0x477d('0x3c1')]=_[_0x477d('0x3b2')](_0x4780b6[0x3])?_0x4780b6[0x3]:isNaN(_0x4780b6[0x3])?_0x4780b6[0x3]:parseInt(_0x4780b6[0x3],0xa);}}else{}if(_0x1d93a3[_0x477d('0x257d')][_0x477d('0x439')]&&_0x1d93a3['externaldial'][_0x477d('0x439')][_0x477d('0x449')]()===_0x477d('0x127')&&_0x1d93a3[_0x477d('0x257d')][_0x477d('0x1294')][_0x477d('0x449')]()===_0x477d('0x12b1')){_0x1d93a3[_0x477d('0x257d')][_0x477d('0x6c0')]=_0x1d93a3[_0x477d('0x257d')][_0x477d('0xf46')]?_0x1d93a3[_0x477d('0x257d')]['phone'][_0x477d('0x472')]('$')[0x0]:undefined;_0x1d93a3[_0x477d('0x257d')][_0x477d('0x69b')]=_0x1d93a3[_0x477d('0x257d')][_0x477d('0x12b2')]?_0x477d('0x12b3')+_0x1d93a3[_0x477d('0x257d')][_0x477d('0x12b2')]:undefined;}_0x1d93a3[_0x477d('0x25be')]=_0x1445e6;_0x1d93a3[_0x477d('0x6bf')]=_0x6b60a1;_0x42e45e[_0x477d('0x56')](_0x477d('0x5f'))?_0x9dcbb6[_0x477d('0xaa8')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})['$promise'][_0x477d('0x76')](function(_0x70b5ea){_0x1d93a3[_0x477d('0xf2e')]=_0x70b5ea['rows']||[];})[_0x477d('0xf8')](function(_0x543633){_0x30f403['error']({'title':_0x543633[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x543633['status']+'\x20-\x20'+_0x543633['statusText']:_0x477d('0x1909'),'msg':_0x543633[_0x477d('0x451')]?JSON['stringify'](_0x543633[_0x477d('0x451')]):_0x543633[_0x477d('0x453')]()});}):_0x9dcbb6['trunk']['get']({'fields':'id,name','sort':_0x477d('0x94'),'nolimit':'true'})[_0x477d('0x38b')]['then'](function(_0x150738){_0x1d93a3['trunks']=_0x150738['rows']||[];})['then'](function(){return _0x9dcbb6['userProfileSection']['get']({'userProfileId':_0x1d93a3[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x3f3})['$promise'];})['then'](function(_0x162447){var _0x50560a=_0x162447&&_0x162447[_0x477d('0xf2')]?_0x162447[_0x477d('0xf2')][0x0]:null;if(!_0x50560a){var _0x847c83=[];var _0x15c76c=null;if(_0x1d93a3['externaldial']){_0x15c76c=_[_0x477d('0x10a')](_0x1d93a3[_0x477d('0xf2e')],{'name':_0x1d93a3[_0x477d('0x257d')][_0x477d('0xaa8')]});}for(var _0x2ac56e=0x0;_0x2ac56e<_0x1d93a3[_0x477d('0xf2e')][_0x477d('0x79')];_0x2ac56e++){if(_0x15c76c&&_0x1d93a3[_0x477d('0xf2e')][_0x2ac56e]['id']===_0x15c76c['id']){_0x1d93a3[_0x477d('0xf2e')][_0x2ac56e][_0x477d('0xf8b')]=![];_0x847c83[_0x477d('0x3a7')](_0x1d93a3[_0x477d('0xf2e')][_0x2ac56e]);}}_0x1d93a3['trunks']=_0x847c83;}else{if(!_0x50560a['autoAssociation']){return _0x9dcbb6[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x50560a['id']})['$promise'][_0x477d('0x76')](function(_0x4b1f24){var _0x122856=_[_0x477d('0x3cb')](_0x4b1f24['rows'],function(_0x53a595){return _[_0x477d('0x10a')](_0x1d93a3[_0x477d('0xf2e')],{'id':_0x53a595[_0x477d('0x3af')]});});var _0x31e363=null;if(_0x1d93a3['externaldial']){_0x31e363=_[_0x477d('0x10a')](_0x1d93a3[_0x477d('0xf2e')],{'name':_0x1d93a3[_0x477d('0x257d')][_0x477d('0xaa8')]});}if(_0x31e363&&!_[_0x477d('0x3ab')](_0x122856,['id',_0x31e363['id']])){var _0x1e143f=_['find'](_0x1d93a3[_0x477d('0xf2e')],{'id':_0x31e363['id']});_0x1e143f[_0x477d('0xf8b')]=![];_0x122856[_0x477d('0x3a7')](_0x1e143f);}_0x1d93a3[_0x477d('0xf2e')]=_0x122856;});}}})[_0x477d('0xf8')](function(_0x125a2e){_0x30f403[_0x477d('0x44a')]({'title':_0x125a2e['status']?'API:'+_0x125a2e[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x125a2e[_0x477d('0x44d')]:_0x477d('0x190b'),'msg':_0x125a2e[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x125a2e[_0x477d('0x451')]):_0x125a2e[_0x477d('0x453')]()});});function _0x1445e6(){_0x1d93a3['errors']=[];var _0x1de46e=[];if(_0x1d93a3[_0x477d('0x257d')]['type']&&_0x1d93a3[_0x477d('0x257d')]['type'][_0x477d('0x449')]()==='outbound'&&_0x1d93a3['externaldial'][_0x477d('0x1294')]===_0x477d('0x12b5')){_0x1d93a3[_0x477d('0x257d')][_0x477d('0xf46')]=_0x325bdf[_0x477d('0x12b6')]?(_0x1d93a3['externaldial'][_0x477d('0x6c0')]||'')+_0x477d('0x12b7')+_0x325bdf[_0x477d('0x12b6')]+'}':(_0x1d93a3['externaldial'][_0x477d('0x6c0')]||'')+_0x477d('0x12b8');if(_0x325bdf['recordingFormat']!==_0x477d('0x496')){if(_0x1d93a3[_0x477d('0x257d')][_0x477d('0x43c')][_0x477d('0x477')](_0x477d('0x12ba'))<0x0){_0x1d93a3[_0x477d('0x257d')][_0x477d('0x43c')]+=_0x477d('0x12ba');}}else{_0x1d93a3['externaldial'][_0x477d('0x43c')]=_0x1d93a3[_0x477d('0x257d')][_0x477d('0x43c')][_0x477d('0x409')](_0x477d('0x12ba'),'');}}if(_0x1d93a3[_0x477d('0x257d')]['appType']&&_0x1d93a3[_0x477d('0x257d')][_0x477d('0x1294')]===_0x477d('0x9f6')){}else{switch((_0x1d93a3[_0x477d('0x257d')][_0x477d('0x1291')]||_0x1d93a3[_0x477d('0x257d')][_0x477d('0x1294')])['toLowerCase']()){case _0x477d('0x12af'):_0x1d93a3[_0x477d('0x257d')]['appdata']=_0x1d93a3[_0x477d('0x257d')][_0x477d('0x94')]+'='+_0x1d93a3['externaldial'][_0x477d('0x3b6')];break;case _0x477d('0x9f6'):break;default:_0x1de46e[0x0]=['SIP',_0x1d93a3[_0x477d('0x257d')][_0x477d('0xaa8')],_0x1d93a3[_0x477d('0x257d')][_0x477d('0xf46')]][_0x477d('0x3f6')]('/');_0x1de46e[0x1]=_0x1d93a3[_0x477d('0x257d')][_0x477d('0x91b')];_0x1de46e[0x2]=_0x1d93a3['externaldial']['options'];_0x1de46e[0x3]=_0x1d93a3[_0x477d('0x257d')][_0x477d('0x3c1')];_0x1d93a3[_0x477d('0x257d')][_0x477d('0x12ae')]=_0x1de46e[_0x477d('0x3f6')](',');}}_0x6b60a1(_0x1d93a3[_0x477d('0x257d')]);}function _0x6b60a1(_0x267626){_0x53fc4c['hide'](_0x267626);}}}());(function(){'use strict';_0x554f82[_0x477d('0xa')]=[_0x477d('0x384'),'$q',_0x477d('0x40e'),_0x477d('0x25bc'),_0x477d('0x259d'),_0x477d('0x386'),_0x477d('0x55'),_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x2f'))['controller'](_0x477d('0x25c0'),_0x554f82);function _0x554f82(_0x1700a7,_0x21622d,_0x52511e,_0x34e1de,_0x143511,_0xfefb3,_0x5ec409,_0x100d1d){var _0x431f0e=this;_0x431f0e[_0x477d('0x3e5')]=_0x5ec409[_0x477d('0x5c')]();_0x431f0e[_0x477d('0xd67')]=[];_0x431f0e[_0x477d('0x49a')]='VOICE.EDIT_'+(_0x34e1de['appType']||_0x34e1de[_0x477d('0x1291')])[_0x477d('0x44f')]();_0x431f0e['goto']=angular[_0x477d('0x6d9')](_0x34e1de);_0x431f0e[_0x477d('0xd66')]=_0x100d1d;_0x431f0e['hasModulePermissions']={};if(_0x431f0e[_0x477d('0x1250')][_0x477d('0x12ae')]){switch(_0x431f0e[_0x477d('0x1250')][_0x477d('0x1294')]?_0x431f0e[_0x477d('0x1250')][_0x477d('0x1294')][_0x477d('0x449')]():_0x431f0e[_0x477d('0x1250')][_0x477d('0x1291')][_0x477d('0x449')]()){case _0x477d('0x9f6'):break;case'dialogflow':var _0x2a1130=_0x431f0e[_0x477d('0x1250')][_0x477d('0x12ae')]['split'](',');_0x431f0e[_0x477d('0x1250')]['key']=_0x2a1130[0x0];_0x431f0e[_0x477d('0x1250')]['language']=_0x2a1130[0x1];_0x431f0e[_0x477d('0x1250')][_0x477d('0x127a')]=_0x2a1130['slice'](0x2,_0x2a1130['length'])[_0x477d('0x3f6')](',');break;case _0x477d('0x127c'):var _0x2a1130=_0x431f0e[_0x477d('0x1250')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x431f0e[_0x477d('0x1250')]['accesskeyid']=_0x2a1130[0x0];_0x431f0e['goto'][_0x477d('0x127e')]=_0x2a1130[0x1];_0x431f0e[_0x477d('0x1250')][_0x477d('0x127f')]=_0x2a1130[0x2];_0x431f0e[_0x477d('0x1250')][_0x477d('0x1283')]=_0x2a1130[0x3];_0x431f0e[_0x477d('0x1250')]['welcomemessage']=_0x2a1130['slice'](0x4,_0x2a1130[_0x477d('0x79')])['join'](',');break;case _0x477d('0x1260'):var _0x2a1130=_0x431f0e[_0x477d('0x1250')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x431f0e[_0x477d('0x1250')]['times']=isNaN(_0x2a1130[0x0])?_0x2a1130[0x0]:parseInt(_0x2a1130[0x0],0xa);_0x431f0e['goto'][_0x477d('0x41b')]=_0x2a1130[_0x477d('0x9cd')](0x1,_0x2a1130['length'])[_0x477d('0x3f6')](',');break;case _0x477d('0x452'):_0x431f0e[_0x477d('0x1250')]['text']=_0x431f0e[_0x477d('0x1250')][_0x477d('0x12ae')];break;case'set':_0x431f0e[_0x477d('0x1250')]['name']=_0x431f0e[_0x477d('0x1250')][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x0];_0x431f0e['goto'][_0x477d('0x3b6')]=_0x431f0e['goto']['appdata'][_0x477d('0x472')]('=')[0x1];break;case _0x477d('0x12b0'):_0x431f0e[_0x477d('0x1250')][_0x477d('0xf13')]=_0x431f0e[_0x477d('0x1250')]['appdata'];break;default:var _0x39f225=_0x431f0e['goto'][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x431f0e[_0x477d('0x1250')]['context']=_['isEmpty'](_0x39f225[0x0])?_0x39f225[0x0]:isNaN(_0x39f225[0x0])?_0x39f225[0x0]:parseInt(_0x39f225[0x0],0xa);_0x431f0e[_0x477d('0x1250')][_0x477d('0xf48')]=_['isEmpty'](_0x39f225[0x1])?_0x39f225[0x1]:isNaN(_0x39f225[0x1])?_0x39f225[0x1]:parseInt(_0x39f225[0x1],0xa);_0x431f0e[_0x477d('0x1250')][_0x477d('0x1243')]=_[_0x477d('0x3b2')](_0x39f225[0x2])?_0x39f225[0x2]:isNaN(_0x39f225[0x2])?_0x39f225[0x2]:parseInt(_0x39f225[0x2],0xa);}}else{}if(_0x431f0e[_0x477d('0x1250')][_0x477d('0x439')]&&_0x431f0e[_0x477d('0x1250')][_0x477d('0x439')]['toLowerCase']()===_0x477d('0x127')&&_0x431f0e['goto'][_0x477d('0x1294')]['toLowerCase']()==='outbounddial'){_0x431f0e[_0x477d('0x1250')][_0x477d('0x6c0')]=_0x431f0e[_0x477d('0x1250')][_0x477d('0xf46')]?_0x431f0e[_0x477d('0x1250')][_0x477d('0xf46')][_0x477d('0x472')]('$')[0x0]:undefined;_0x431f0e[_0x477d('0x1250')][_0x477d('0x69b')]=_0x431f0e[_0x477d('0x1250')]['callerID']?_0x477d('0x12b3')+_0x431f0e[_0x477d('0x1250')][_0x477d('0x12b2')]:undefined;}_0x431f0e['saveInternalRouteApp']=_0x4b30c6;_0x431f0e['closeDialog']=_0x43d504;_0x5ec409['hasRole'](_0x477d('0x5f'))?_0xfefb3[_0x477d('0xa6b')]['get']({'fields':_0x477d('0x9c'),'sort':'name','nolimit':'true'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x3cb69f){_0x431f0e[_0x477d('0xf32')]=_0x3cb69f[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x4c1fb3){_0x52511e[_0x477d('0x44a')]({'title':_0x4c1fb3[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x4c1fb3[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x4c1fb3[_0x477d('0x44d')]:'SYSTEM:GET_CONTEXTS','msg':_0x4c1fb3[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x4c1fb3[_0x477d('0x451')]):_0x4c1fb3[_0x477d('0x453')]()});}):_0xfefb3[_0x477d('0xa6b')][_0x477d('0x376')]({'fields':'id,name','sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x3c1597){_0x431f0e[_0x477d('0xf32')]=_0x3c1597[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0xfefb3['userProfileSection']['get']({'userProfileId':_0x431f0e[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x195})[_0x477d('0x38b')];})['then'](function(_0x1403a5){var _0x1bab34=_0x1403a5&&_0x1403a5['rows']?_0x1403a5[_0x477d('0xf2')][0x0]:null;if(!_0x1bab34){return _0xfefb3[_0x477d('0xa6b')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee'),'defaultEntry':0x1})['$promise'][_0x477d('0x76')](function(_0x4e505b){_0x431f0e[_0x477d('0xf32')]=_0x4e505b[_0x477d('0xf2')]||[];});}else{if(!_0x1bab34[_0x477d('0x3ad')]){return _0xfefb3[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x1bab34['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0xe6026f){var _0x53613a=_[_0x477d('0x3cb')](_0xe6026f[_0x477d('0xf2')],function(_0x27f3ca){return _['find'](_0x431f0e[_0x477d('0xf32')],{'id':_0x27f3ca[_0x477d('0x3af')]});});var _0x317014=null;if(_0x431f0e[_0x477d('0x1250')]){_0x317014=_[_0x477d('0x10a')](_0x431f0e[_0x477d('0xf32')],{'name':_0x431f0e[_0x477d('0x1250')][_0x477d('0xf47')]});}if(_0x317014&&!_[_0x477d('0x3ab')](_0x53613a,['id',_0x317014['id']])){var _0x403a6f=_['find'](_0x431f0e['contexts'],{'id':_0x317014['id']});_0x403a6f[_0x477d('0xf8b')]=![];_0x53613a[_0x477d('0x3a7')](_0x403a6f);}_0x431f0e['contexts']=_0x53613a;});}}})[_0x477d('0xf8')](function(_0x917475){_0x52511e[_0x477d('0x44a')]({'title':_0x917475['status']?_0x477d('0x44b')+_0x917475[_0x477d('0x3c3')]+'\x20-\x20'+_0x917475['statusText']:_0x477d('0x215b'),'msg':_0x917475[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x917475[_0x477d('0x451')]):_0x917475[_0x477d('0x453')]()});});function _0x4b30c6(){_0x431f0e['errors']=[];var _0x6aa0b0=[];if(_0x431f0e[_0x477d('0x1250')][_0x477d('0x439')]&&_0x431f0e[_0x477d('0x1250')][_0x477d('0x439')]['toLowerCase']()===_0x477d('0x127')&&_0x431f0e[_0x477d('0x1250')]['appType']===_0x477d('0x12b5')){_0x431f0e['goto'][_0x477d('0xf46')]=_0x143511[_0x477d('0x12b6')]?(_0x431f0e[_0x477d('0x1250')][_0x477d('0x6c0')]||'')+_0x477d('0x12b7')+_0x143511['cutdigits']+'}':(_0x431f0e[_0x477d('0x1250')][_0x477d('0x6c0')]||'')+'${EXTEN}';if(_0x143511[_0x477d('0x12b9')]!=='none'){if(_0x431f0e[_0x477d('0x1250')][_0x477d('0x43c')][_0x477d('0x477')](_0x477d('0x12ba'))<0x0){_0x431f0e[_0x477d('0x1250')]['options']+=_0x477d('0x12ba');}}else{_0x431f0e[_0x477d('0x1250')][_0x477d('0x43c')]=_0x431f0e[_0x477d('0x1250')][_0x477d('0x43c')][_0x477d('0x409')](_0x477d('0x12ba'),'');}}if(_0x431f0e[_0x477d('0x1250')][_0x477d('0x1294')]&&_0x431f0e[_0x477d('0x1250')][_0x477d('0x1294')]===_0x477d('0x9f6')){}else{switch((_0x431f0e[_0x477d('0x1250')][_0x477d('0x1291')]||_0x431f0e['goto']['appType'])[_0x477d('0x449')]()){case _0x477d('0x12af'):_0x431f0e[_0x477d('0x1250')][_0x477d('0x12ae')]=_0x431f0e['goto'][_0x477d('0x94')]+'='+_0x431f0e[_0x477d('0x1250')][_0x477d('0x3b6')];break;case _0x477d('0x9f6'):break;default:_0x6aa0b0[0x0]=_0x431f0e[_0x477d('0x1250')][_0x477d('0xf47')];_0x6aa0b0[0x1]=_0x431f0e['goto'][_0x477d('0xf48')];_0x6aa0b0[0x2]=_0x431f0e[_0x477d('0x1250')][_0x477d('0x1243')];_0x431f0e[_0x477d('0x1250')][_0x477d('0x12ae')]=_0x6aa0b0[_0x477d('0x3f6')](',');}}_0x43d504(_0x431f0e['goto']);}function _0x43d504(_0x2f03a2){_0x1700a7['hide'](_0x2f03a2);}}}());(function(){'use strict';_0x14e952[_0x477d('0xa')]=[_0x477d('0x384'),'$q',_0x477d('0x40e'),'internalrouteApp','internalroute','api','Auth',_0x477d('0xd66')];angular[_0x477d('0xb')]('app.voice')[_0x477d('0x3ba')](_0x477d('0x25c1'),_0x14e952);function _0x14e952(_0x3b2cbc,_0x562275,_0x54deb0,_0x4cd61a,_0x4c4f5e,_0x30598b,_0x503213,_0x4c9e8c){var _0x124a5b=this;_0x124a5b[_0x477d('0x3e5')]=_0x503213[_0x477d('0x5c')]();_0x124a5b['errors']=[];_0x124a5b[_0x477d('0x49a')]=_0x477d('0x2577')+(_0x4cd61a[_0x477d('0x1294')]||_0x4cd61a[_0x477d('0x1291')])[_0x477d('0x44f')]();_0x124a5b[_0x477d('0x1ed0')]=angular[_0x477d('0x6d9')](_0x4cd61a);_0x124a5b['crudPermissions']=_0x4c9e8c;_0x124a5b[_0x477d('0xd68')]={};if(_0x124a5b[_0x477d('0x1ed0')][_0x477d('0x12ae')]){switch(_0x124a5b['hangup']['appType']?_0x124a5b[_0x477d('0x1ed0')]['appType'][_0x477d('0x449')]():_0x124a5b[_0x477d('0x1ed0')][_0x477d('0x1291')][_0x477d('0x449')]()){case _0x477d('0x9f6'):break;case _0x477d('0x1266'):var _0x3b3243=_0x124a5b[_0x477d('0x1ed0')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x124a5b['hangup'][_0x477d('0x670')]=_0x3b3243[0x0];_0x124a5b[_0x477d('0x1ed0')][_0x477d('0x1267')]=_0x3b3243[0x1];_0x124a5b[_0x477d('0x1ed0')]['welcomemessage']=_0x3b3243['slice'](0x2,_0x3b3243[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x127c'):var _0x3b3243=_0x124a5b['hangup'][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x124a5b[_0x477d('0x1ed0')][_0x477d('0x127d')]=_0x3b3243[0x0];_0x124a5b[_0x477d('0x1ed0')][_0x477d('0x127e')]=_0x3b3243[0x1];_0x124a5b[_0x477d('0x1ed0')]['lexregion']=_0x3b3243[0x2];_0x124a5b['hangup'][_0x477d('0x1283')]=_0x3b3243[0x3];_0x124a5b[_0x477d('0x1ed0')][_0x477d('0x127a')]=_0x3b3243[_0x477d('0x9cd')](0x4,_0x3b3243[_0x477d('0x79')])['join'](',');break;case _0x477d('0x1260'):var _0x3b3243=_0x124a5b[_0x477d('0x1ed0')]['appdata'][_0x477d('0x472')](',');_0x124a5b[_0x477d('0x1ed0')][_0x477d('0x1261')]=isNaN(_0x3b3243[0x0])?_0x3b3243[0x0]:parseInt(_0x3b3243[0x0],0xa);_0x124a5b[_0x477d('0x1ed0')][_0x477d('0x41b')]=_0x3b3243['slice'](0x1,_0x3b3243[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x452'):_0x124a5b['hangup'][_0x477d('0x41b')]=_0x124a5b[_0x477d('0x1ed0')]['appdata'];break;case _0x477d('0x12af'):_0x124a5b[_0x477d('0x1ed0')]['name']=_0x124a5b[_0x477d('0x1ed0')]['appdata'][_0x477d('0x472')]('=')[0x0];_0x124a5b['hangup'][_0x477d('0x3b6')]=_0x124a5b['hangup'][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x1];break;case _0x477d('0x12b0'):_0x124a5b[_0x477d('0x1ed0')][_0x477d('0xf13')]=_0x124a5b[_0x477d('0x1ed0')][_0x477d('0x12ae')];break;default:var _0x41c31b=_0x124a5b[_0x477d('0x1ed0')]['appdata'][_0x477d('0x472')](',');_0x124a5b[_0x477d('0x1ed0')]['appdata']=_['isEmpty'](_0x41c31b[0x0])?_0x41c31b[0x0]:isNaN(_0x41c31b[0x0])?_0x41c31b[0x0]:parseInt(_0x41c31b[0x0],0xa);}}else{}if(_0x124a5b[_0x477d('0x1ed0')][_0x477d('0x439')]&&_0x124a5b[_0x477d('0x1ed0')][_0x477d('0x439')][_0x477d('0x449')]()==='outbound'&&_0x124a5b['hangup']['appType'][_0x477d('0x449')]()===_0x477d('0x12b1')){_0x124a5b['hangup'][_0x477d('0x6c0')]=_0x124a5b[_0x477d('0x1ed0')][_0x477d('0xf46')]?_0x124a5b[_0x477d('0x1ed0')][_0x477d('0xf46')][_0x477d('0x472')]('$')[0x0]:undefined;_0x124a5b[_0x477d('0x1ed0')][_0x477d('0x69b')]=_0x124a5b[_0x477d('0x1ed0')][_0x477d('0x12b2')]?_0x477d('0x12b3')+_0x124a5b[_0x477d('0x1ed0')]['callerID']:undefined;}_0x124a5b[_0x477d('0x25be')]=_0x49cd19;_0x124a5b[_0x477d('0x6bf')]=_0x3d4bd2;function _0x49cd19(){_0x124a5b[_0x477d('0xd67')]=[];var _0x5e67ab=[];if(_0x124a5b[_0x477d('0x1ed0')][_0x477d('0x439')]&&_0x124a5b[_0x477d('0x1ed0')][_0x477d('0x439')][_0x477d('0x449')]()===_0x477d('0x127')&&_0x124a5b[_0x477d('0x1ed0')][_0x477d('0x1294')]==='outboundDial'){_0x124a5b['hangup']['phone']=_0x4c4f5e[_0x477d('0x12b6')]?(_0x124a5b[_0x477d('0x1ed0')][_0x477d('0x6c0')]||'')+_0x477d('0x12b7')+_0x4c4f5e['cutdigits']+'}':(_0x124a5b[_0x477d('0x1ed0')][_0x477d('0x6c0')]||'')+_0x477d('0x12b8');if(_0x4c4f5e[_0x477d('0x12b9')]!==_0x477d('0x496')){if(_0x124a5b[_0x477d('0x1ed0')][_0x477d('0x43c')][_0x477d('0x477')]('U(xcally-mixmonitor-context)')<0x0){_0x124a5b['hangup'][_0x477d('0x43c')]+=_0x477d('0x12ba');}}else{_0x124a5b[_0x477d('0x1ed0')][_0x477d('0x43c')]=_0x124a5b[_0x477d('0x1ed0')]['options'][_0x477d('0x409')](_0x477d('0x12ba'),'');}}if(_0x124a5b[_0x477d('0x1ed0')][_0x477d('0x1294')]&&_0x124a5b[_0x477d('0x1ed0')]['appType']===_0x477d('0x9f6')){}else{switch((_0x124a5b[_0x477d('0x1ed0')][_0x477d('0x1291')]||_0x124a5b[_0x477d('0x1ed0')][_0x477d('0x1294')])[_0x477d('0x449')]()){case _0x477d('0x12af'):_0x124a5b[_0x477d('0x1ed0')][_0x477d('0x12ae')]=_0x124a5b[_0x477d('0x1ed0')][_0x477d('0x94')]+'='+_0x124a5b[_0x477d('0x1ed0')][_0x477d('0x3b6')];break;case'custom':break;default:_0x5e67ab[0x0]=_0x124a5b[_0x477d('0x1ed0')]['appdata'];_0x124a5b[_0x477d('0x1ed0')][_0x477d('0x12ae')]=_0x5e67ab[_0x477d('0x3f6')](',');}}_0x3d4bd2(_0x124a5b[_0x477d('0x1ed0')]);}function _0x3d4bd2(_0x2c3bbe){_0x3b2cbc['hide'](_0x2c3bbe);}}}());(function(){'use strict';_0x4efdc0['$inject']=[_0x477d('0x384'),'$q',_0x477d('0x40e'),_0x477d('0x25bc'),_0x477d('0x259d'),_0x477d('0x386'),_0x477d('0x55'),_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x2f'))[_0x477d('0x3ba')](_0x477d('0x25c2'),_0x4efdc0);function _0x4efdc0(_0x4528da,_0x1d630a,_0x1ce81e,_0x3095d0,_0x152877,_0xbbcb75,_0x1a32a7,_0x4b455a){var _0x2f0300=this;_0x2f0300['currentUser']=_0x1a32a7[_0x477d('0x5c')]();_0x2f0300[_0x477d('0xd67')]=[];_0x2f0300[_0x477d('0x49a')]=_0x477d('0x2577')+(_0x3095d0[_0x477d('0x1294')]||_0x3095d0[_0x477d('0x1291')])[_0x477d('0x44f')]();_0x2f0300[_0x477d('0x2582')]=angular[_0x477d('0x6d9')](_0x3095d0);_0x2f0300[_0x477d('0xd66')]=_0x4b455a;_0x2f0300[_0x477d('0xd68')]={};if(_0x2f0300['internaldial'][_0x477d('0x12ae')]){switch(_0x2f0300[_0x477d('0x2582')][_0x477d('0x1294')]?_0x2f0300['internaldial']['appType'][_0x477d('0x449')]():_0x2f0300[_0x477d('0x2582')][_0x477d('0x1291')][_0x477d('0x449')]()){case _0x477d('0x9f6'):break;case _0x477d('0x1266'):var _0x230a3f=_0x2f0300[_0x477d('0x2582')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x2f0300[_0x477d('0x2582')][_0x477d('0x670')]=_0x230a3f[0x0];_0x2f0300['internaldial'][_0x477d('0x1267')]=_0x230a3f[0x1];_0x2f0300[_0x477d('0x2582')][_0x477d('0x127a')]=_0x230a3f[_0x477d('0x9cd')](0x2,_0x230a3f[_0x477d('0x79')])['join'](',');break;case _0x477d('0x127c'):var _0x230a3f=_0x2f0300['internaldial'][_0x477d('0x12ae')]['split'](',');_0x2f0300['internaldial'][_0x477d('0x127d')]=_0x230a3f[0x0];_0x2f0300[_0x477d('0x2582')][_0x477d('0x127e')]=_0x230a3f[0x1];_0x2f0300[_0x477d('0x2582')][_0x477d('0x127f')]=_0x230a3f[0x2];_0x2f0300[_0x477d('0x2582')][_0x477d('0x1283')]=_0x230a3f[0x3];_0x2f0300[_0x477d('0x2582')][_0x477d('0x127a')]=_0x230a3f[_0x477d('0x9cd')](0x4,_0x230a3f[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case'autoreply':var _0x230a3f=_0x2f0300[_0x477d('0x2582')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x2f0300['internaldial'][_0x477d('0x1261')]=isNaN(_0x230a3f[0x0])?_0x230a3f[0x0]:parseInt(_0x230a3f[0x0],0xa);_0x2f0300[_0x477d('0x2582')][_0x477d('0x41b')]=_0x230a3f['slice'](0x1,_0x230a3f[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x452'):_0x2f0300['internaldial'][_0x477d('0x41b')]=_0x2f0300[_0x477d('0x2582')][_0x477d('0x12ae')];break;case'set':_0x2f0300[_0x477d('0x2582')][_0x477d('0x94')]=_0x2f0300['internaldial'][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x0];_0x2f0300['internaldial'][_0x477d('0x3b6')]=_0x2f0300[_0x477d('0x2582')]['appdata'][_0x477d('0x472')]('=')[0x1];break;case _0x477d('0x12b0'):_0x2f0300[_0x477d('0x2582')][_0x477d('0xf13')]=_0x2f0300[_0x477d('0x2582')]['appdata'];break;default:var _0x34faa1=_0x2f0300[_0x477d('0x2582')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x2f0300[_0x477d('0x2582')][_0x477d('0x380')]=_['isEmpty'](_0x34faa1[0x0])?_0x34faa1[0x0]:isNaN(_0x34faa1[0x0])?_0x34faa1[0x0]:parseInt(_0x34faa1[0x0],0xa);_0x2f0300[_0x477d('0x2582')]['timeout']=_['isEmpty'](_0x34faa1[0x1])?_0x34faa1[0x1]:isNaN(_0x34faa1[0x1])?_0x34faa1[0x1]:parseInt(_0x34faa1[0x1],0xa);_0x2f0300[_0x477d('0x2582')][_0x477d('0x43c')]=_[_0x477d('0x3b2')](_0x34faa1[0x2])?_0x34faa1[0x2]:isNaN(_0x34faa1[0x2])?_0x34faa1[0x2]:parseInt(_0x34faa1[0x2],0xa);_0x2f0300['internaldial']['url']=_[_0x477d('0x3b2')](_0x34faa1[0x3])?_0x34faa1[0x3]:isNaN(_0x34faa1[0x3])?_0x34faa1[0x3]:parseInt(_0x34faa1[0x3],0xa);}}else{}if(_0x2f0300['internaldial'][_0x477d('0x439')]&&_0x2f0300[_0x477d('0x2582')][_0x477d('0x439')][_0x477d('0x449')]()===_0x477d('0x127')&&_0x2f0300[_0x477d('0x2582')][_0x477d('0x1294')][_0x477d('0x449')]()===_0x477d('0x12b1')){_0x2f0300[_0x477d('0x2582')][_0x477d('0x6c0')]=_0x2f0300['internaldial'][_0x477d('0xf46')]?_0x2f0300[_0x477d('0x2582')][_0x477d('0xf46')][_0x477d('0x472')]('$')[0x0]:undefined;_0x2f0300[_0x477d('0x2582')][_0x477d('0x69b')]=_0x2f0300[_0x477d('0x2582')][_0x477d('0x12b2')]?_0x477d('0x12b3')+_0x2f0300[_0x477d('0x2582')][_0x477d('0x12b2')]:undefined;}_0x2f0300[_0x477d('0x25be')]=_0x196f30;_0x2f0300[_0x477d('0x6bf')]=_0x32c3a7;var _0x29a99f=[{'id':0xca,'role':_0x477d('0xcf')},{'id':0xcb,'role':_0x477d('0x295')}];var _0x51412b=null;_0x1a32a7[_0x477d('0x56')](_0x477d('0x5f'))?_0xbbcb75[_0x477d('0x380')][_0x477d('0x376')]({'fields':_0x477d('0x253a'),'sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x3db8c0){_0x2f0300[_0x477d('0xf2d')]=_0x3db8c0[_0x477d('0xf2')]||[];})['catch'](function(_0x576063){_0x1ce81e[_0x477d('0x44a')]({'title':_0x576063[_0x477d('0x3c3')]?'API:'+_0x576063[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x576063['statusText']:_0x477d('0x24bf'),'msg':_0x576063['data']?JSON[_0x477d('0x3fb')](_0x576063['data']):_0x576063[_0x477d('0x453')]()});}):_0xbbcb75[_0x477d('0x380')][_0x477d('0x376')]({'fields':'id,name,role','sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x26619d){_0x51412b=_0x26619d[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){var _0x31d64d=[];for(var _0x278a40=0x0;_0x278a40<_0x29a99f[_0x477d('0x79')];_0x278a40++){_0x31d64d[_0x477d('0x3a7')](_0xbbcb75[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x2f0300[_0x477d('0x3e5')]['userProfileId'],'sectionId':_0x29a99f[_0x278a40]['id']})[_0x477d('0x38b')]);}return _0x1d630a[_0x477d('0x7c')](_0x31d64d);})[_0x477d('0x76')](function(_0x1aeea0){var _0x3f1cbc=_[_0x477d('0x3cb')](_0x1aeea0,function(_0xd62aad){return _0xd62aad&&_0xd62aad[_0x477d('0xf2')]?_0xd62aad[_0x477d('0xf2')][0x0]:null;});var _0x34e837=[];for(var _0xb8f9b6=0x0;_0xb8f9b6<_0x29a99f[_0x477d('0x79')];_0xb8f9b6++){var _0x3d5feb=_[_0x477d('0x10a')](_0x3f1cbc,[_0x477d('0x3a8'),_0x29a99f[_0xb8f9b6]['id']]);if(_0x3d5feb){if(!_0x3d5feb[_0x477d('0x3ad')]){_0x34e837[_0x477d('0x3a7')](_0xbbcb75[_0x477d('0x3ae')]['get']({'sectionId':_0x3d5feb['id']})[_0x477d('0x38b')]);}else{var _0x1afd96=[];_0x51412b[_0x477d('0x3b1')](function(_0x6db003){if(_0x6db003[_0x477d('0x3a1')]===_0x29a99f[_0xb8f9b6][_0x477d('0x3a1')]){_0x1afd96[_0x477d('0x3a7')](_0x6db003);}});_0x34e837[_0x477d('0x3a7')]({'rows':_0x1afd96,'count':_0x1afd96['length']});}}}return _0x1d630a['all'](_0x34e837);})[_0x477d('0x76')](function(_0x3e339b){var _0x15ebcc=[];var _0x30ae47=null;if(_0x2f0300[_0x477d('0x2582')]){_0x30ae47=_['find'](_0x51412b,{'name':_0x2f0300[_0x477d('0x2582')][_0x477d('0x380')]});}for(var _0x58c289=0x0;_0x58c289<_0x3e339b['length'];_0x58c289++){var _0x30cc1a=_0x3e339b[_0x58c289]['rows']||[];_0x30cc1a[_0x477d('0x3b1')](function(_0xc56ad7){_0x15ebcc[_0x477d('0x3a7')](_0xc56ad7);});}if(_0x30ae47&&!_[_0x477d('0x3ab')](_0x15ebcc,[_0x477d('0x3af'),_0x30ae47['id']])){_0x51412b[_0x477d('0x3b1')](function(_0x453a68){if(_0x453a68['id']===_0x30ae47['id']){_0x453a68[_0x477d('0xf8b')]=![];_0x15ebcc[_0x477d('0x3a7')](_0x453a68);}});}_0x2f0300[_0x477d('0xf2d')]=_0x15ebcc;})['catch'](function(_0x49333f){_0x1ce81e[_0x477d('0x44a')]({'title':_0x49333f['status']?_0x477d('0x44b')+_0x49333f[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x49333f[_0x477d('0x44d')]:_0x477d('0x2583'),'msg':_0x49333f['data']?JSON['stringify'](_0x49333f['data']):_0x49333f[_0x477d('0x453')]()});});function _0x196f30(){_0x2f0300[_0x477d('0xd67')]=[];var _0x1a7bc6=[];if(_0x2f0300[_0x477d('0x2582')][_0x477d('0x439')]&&_0x2f0300[_0x477d('0x2582')][_0x477d('0x439')][_0x477d('0x449')]()===_0x477d('0x127')&&_0x2f0300[_0x477d('0x2582')][_0x477d('0x1294')]===_0x477d('0x12b5')){_0x2f0300[_0x477d('0x2582')][_0x477d('0xf46')]=_0x152877[_0x477d('0x12b6')]?(_0x2f0300[_0x477d('0x2582')][_0x477d('0x6c0')]||'')+_0x477d('0x12b7')+_0x152877[_0x477d('0x12b6')]+'}':(_0x2f0300['internaldial'][_0x477d('0x6c0')]||'')+_0x477d('0x12b8');if(_0x152877[_0x477d('0x12b9')]!==_0x477d('0x496')){if(_0x2f0300[_0x477d('0x2582')][_0x477d('0x43c')][_0x477d('0x477')](_0x477d('0x12ba'))<0x0){_0x2f0300[_0x477d('0x2582')]['options']+='U(xcally-mixmonitor-context)';}}else{_0x2f0300[_0x477d('0x2582')][_0x477d('0x43c')]=_0x2f0300[_0x477d('0x2582')]['options']['replace'](_0x477d('0x12ba'),'');}}if(_0x2f0300[_0x477d('0x2582')][_0x477d('0x1294')]&&_0x2f0300['internaldial'][_0x477d('0x1294')]==='custom'){}else{switch((_0x2f0300[_0x477d('0x2582')][_0x477d('0x1291')]||_0x2f0300[_0x477d('0x2582')][_0x477d('0x1294')])[_0x477d('0x449')]()){case _0x477d('0x12af'):_0x2f0300[_0x477d('0x2582')]['appdata']=_0x2f0300[_0x477d('0x2582')][_0x477d('0x94')]+'='+_0x2f0300[_0x477d('0x2582')][_0x477d('0x3b6')];break;case _0x477d('0x9f6'):break;default:_0x1a7bc6[0x0]=_0x2f0300[_0x477d('0x2582')][_0x477d('0x380')];_0x1a7bc6[0x1]=_0x2f0300[_0x477d('0x2582')][_0x477d('0x91b')];_0x1a7bc6[0x2]=_0x2f0300['internaldial']['options'];_0x1a7bc6[0x3]=_0x2f0300[_0x477d('0x2582')][_0x477d('0x3c1')];_0x2f0300['internaldial'][_0x477d('0x12ae')]=_0x1a7bc6[_0x477d('0x3f6')](',');}}_0x32c3a7(_0x2f0300['internaldial']);}function _0x32c3a7(_0x1a8125){_0x4528da['hide'](_0x1a8125);}}}());(function(){'use strict';_0x2d3e9c['$inject']=['$state',_0x477d('0x384'),_0x477d('0x6d3'),_0x477d('0xd14'),_0x477d('0x79c'),'intervals',_0x477d('0x40e'),'api',_0x477d('0x55'),'crudPermissions'];angular[_0x477d('0xb')](_0x477d('0x2f'))[_0x477d('0x3ba')](_0x477d('0x25c3'),_0x2d3e9c);function _0x2d3e9c(_0x1c5e20,_0x409f0d,_0x2ecdad,_0x4157c2,_0x394429,_0x5f34d9,_0x2a1f53,_0x4ff6ef,_0x578185,_0x49d9f1){var _0x1b329d=this;_0x1b329d[_0x477d('0x3e5')]=_0x578185['getCurrentUser']();_0x1b329d[_0x477d('0xd67')]=[];_0x1b329d['title']=_0x477d('0x12be');_0x1b329d[_0x477d('0x79c')]=angular['copy'](_0x394429);_0x1b329d[_0x477d('0x1298')]=_0x5f34d9;_0x1b329d[_0x477d('0x12bf')]=![];_0x1b329d['types']=[_0x477d('0x1247'),_0x477d('0x9f6'),_0x477d('0xa02')];_0x1b329d[_0x477d('0xd66')]=_0x49d9f1;_0x1b329d[_0x477d('0x12c1')]=_0x4157c2[_0x477d('0x12c2')]();_0x1b329d[_0x477d('0x12c3')]=_0x4157c2[_0x477d('0x12c4')]();_0x1b329d[_0x477d('0x12c5')]=_0x4157c2[_0x477d('0x192f')]();_0x1b329d['daysOfMonth']=_0x4157c2[_0x477d('0x12c7')]();if(!_0x1b329d[_0x477d('0x79c')]){_0x1b329d[_0x477d('0x79c')]={'interval':'*,*,*,*'};_0x1b329d[_0x477d('0x439')]=_0x477d('0x1247');_0x1b329d[_0x477d('0x49a')]='TOOLS.NEW_INTERVAL';_0x1b329d[_0x477d('0x12bf')]=!![];}else{if(_0x1b329d[_0x477d('0x79c')][_0x477d('0x79c')]!==_0x477d('0x1249')){_0x1b329d[_0x477d('0x439')]=_0x477d('0x9f6');var _0x126382=_0x1b329d['interval'][_0x477d('0x79c')][_0x477d('0x472')](',');var _0x38a11e=_0x126382[0x0];var _0x3a5568=_0x126382[0x1];var _0x3077d5=_0x126382[0x2];var _0x51f255=_0x126382[0x3];if(_0x38a11e!=='*'){var _0x3a22b1=_0x38a11e[_0x477d('0x472')]('-')[0x0];var _0x1b6bdd=_0x38a11e[_0x477d('0x472')]('-')[0x1];var _0x286c37;_0x286c37=new Date();_0x286c37[_0x477d('0x12c8')](Number(_0x3a22b1[_0x477d('0x472')](':')[0x0]));_0x286c37['setMinutes'](Number(_0x3a22b1['split'](':')[0x1]));_0x1b329d[_0x477d('0x12d1')]=_0x286c37;_0x286c37=new Date();_0x286c37['setHours'](Number(_0x1b6bdd['split'](':')[0x0]));_0x286c37[_0x477d('0x12c9')](Number(_0x1b6bdd[_0x477d('0x472')](':')[0x1]));_0x1b329d[_0x477d('0x12ca')]=_0x286c37;}if(_0x3a5568!=='*'){_0x1b329d[_0x477d('0x12d4')]=_0x3a5568['split']('-')[0x0];_0x1b329d[_0x477d('0x12cb')]=_0x3a5568['split']('-')[0x1];}if(_0x3077d5!=='*'){_0x1b329d[_0x477d('0x12d5')]=_0x3077d5['split']('-')[0x0];_0x1b329d[_0x477d('0x12d6')]=_0x3077d5[_0x477d('0x472')]('-')[0x1];}if(_0x51f255!=='*'){_0x1b329d['monthFrom']=_0x51f255[_0x477d('0x472')]('-')[0x0];_0x1b329d[_0x477d('0x12cd')]=_0x51f255[_0x477d('0x472')]('-')[0x1];}}else{_0x1b329d['type']=_0x477d('0x1247');}}if(_0x1c5e20[_0x477d('0x37e')]['id']&&!_0x1b329d['interval']['application']){_0x1b329d['interval'][_0x477d('0xf8c')]=_0x1c5e20['params']['id'];}if(_0x1b329d[_0x477d('0x79c')][_0x477d('0xf8c')]&&_0x1b329d[_0x477d('0x79c')][_0x477d('0xf55')]){_0x1b329d['type']='list';}_0x1b329d[_0x477d('0x12ce')]=_0x502b9f;_0x1b329d['saveInterval']=_0x3802b0;_0x1b329d['closeDialog']=_0x241df5;if(_0x1b329d[_0x477d('0x79c')][_0x477d('0xf55')]){_0x578185[_0x477d('0x56')]('admin')?_0x4ff6ef['interval'][_0x477d('0x376')]({'fields':_0x477d('0x12cf'),'IntervalId':'null','nolimit':!![]})['$promise'][_0x477d('0x76')](function(_0xc2ad6c){_0x1b329d[_0x477d('0x1298')]=_0xc2ad6c[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x17f423){_0x2a1f53[_0x477d('0x44a')]({'title':_0x17f423[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x17f423[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x17f423[_0x477d('0x44d')]:_0x477d('0x12d0'),'msg':_0x17f423[_0x477d('0x451')]?JSON['stringify'](_0x17f423['data']):_0x17f423[_0x477d('0x453')]()});}):_0x4ff6ef['interval']['get']({'fields':'id,name,interval,IntervalId','IntervalId':_0x477d('0xea'),'nolimit':!![]})[_0x477d('0x38b')]['then'](function(_0x3afd20){_0x1b329d[_0x477d('0x1298')]=_0x3afd20[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x4ff6ef['userProfileSection'][_0x477d('0x376')]({'userProfileId':_0x1b329d[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x3ec})['$promise'];})[_0x477d('0x76')](function(_0x4517d1){var _0x98010f=_0x4517d1&&_0x4517d1[_0x477d('0xf2')]?_0x4517d1[_0x477d('0xf2')][0x0]:null;if(!_0x98010f){_0x1b329d['intervals']=[];}else{if(!_0x98010f[_0x477d('0x3ad')]){return _0x4ff6ef[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x98010f['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x3a2b91){var _0x2c1138=_0x3a2b91&&_0x3a2b91[_0x477d('0xf2')]?_0x3a2b91[_0x477d('0xf2')]:[];var _0x2804ae=[];var _0x5d8f11=null;if(_0x1b329d['interval']){_0x5d8f11=_[_0x477d('0x10a')](_0x1b329d[_0x477d('0x1298')],{'name':_0x1b329d['interval'][_0x477d('0xf8c')]});}if(_0x5d8f11&&!_[_0x477d('0x3ab')](_0x2c1138,[_0x477d('0x3af'),_0x5d8f11['id']])){_0x1b329d[_0x477d('0x1298')][_0x477d('0x3b1')](function(_0x4bf467){if(_0x4bf467['id']===_0x5d8f11['id']){_0x4bf467['canSelect']=![];_0x2804ae[_0x477d('0x3a7')](_0x4bf467);}});}_0x1b329d[_0x477d('0x1298')]=_0x2804ae;});}}})[_0x477d('0xf8')](function(_0x2cb323){_0x2a1f53[_0x477d('0x44a')]({'title':_0x2cb323['status']?'API:'+_0x2cb323[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x2cb323[_0x477d('0x44d')]:_0x477d('0x12d0'),'msg':_0x2cb323[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x2cb323[_0x477d('0x451')]):_0x2cb323['toString']()});});}function _0xa4c714(){switch(_0x1b329d[_0x477d('0x439')]){case _0x477d('0x1247'):case'list':return'*,*,*,*';case _0x477d('0x9f6'):var _0x9fc589=[];if(_0x1b329d[_0x477d('0x12d1')]!=='*'&&_0x1b329d[_0x477d('0x12d1')]&&_0x1b329d['timeRangeTo']){var _0x114802=(_0x1b329d[_0x477d('0x12d1')][_0x477d('0x12d2')]()<0xa?'0':'')+_0x1b329d[_0x477d('0x12d1')][_0x477d('0x12d2')]()+':'+((_0x1b329d[_0x477d('0x12d1')]['getMinutes']()<0xa?'0':'')+_0x1b329d['timeRangeFrom'][_0x477d('0x12d3')]());var _0x3cd0d5=(_0x1b329d[_0x477d('0x12ca')][_0x477d('0x12d2')]()<0xa?'0':'')+_0x1b329d[_0x477d('0x12ca')][_0x477d('0x12d2')]()+':'+((_0x1b329d[_0x477d('0x12ca')][_0x477d('0x12d3')]()<0xa?'0':'')+_0x1b329d[_0x477d('0x12ca')][_0x477d('0x12d3')]());_0x9fc589[_0x477d('0x3a7')](_0x114802+'-'+_0x3cd0d5);}else{_0x9fc589[_0x477d('0x3a7')]('*');}if(_0x1b329d[_0x477d('0x12d4')]){if(_0x1b329d[_0x477d('0x12cb')]){_0x9fc589[_0x477d('0x3a7')](_0x1b329d[_0x477d('0x12d4')]+'-'+_0x1b329d[_0x477d('0x12cb')]);}else{_0x9fc589[_0x477d('0x3a7')](_0x1b329d[_0x477d('0x12d4')]);}}else{_0x9fc589[_0x477d('0x3a7')]('*');}if(_0x1b329d[_0x477d('0x12d5')]){if(_0x1b329d[_0x477d('0x12d6')]){_0x9fc589[_0x477d('0x3a7')](_0x1b329d['monthDayFrom']+'-'+_0x1b329d['monthDayTo']);}else{_0x9fc589[_0x477d('0x3a7')](_0x1b329d[_0x477d('0x12d5')]);}}else{_0x9fc589['push']('*');}if(_0x1b329d[_0x477d('0x12cc')]){if(_0x1b329d[_0x477d('0x12cd')]){_0x9fc589[_0x477d('0x3a7')](_0x1b329d[_0x477d('0x12cc')]+'-'+_0x1b329d[_0x477d('0x12cd')]);}else{_0x9fc589[_0x477d('0x3a7')](_0x1b329d['monthFrom']);}}else{_0x9fc589['push']('*');}return _0x9fc589[_0x477d('0x3f6')]();}}function _0x502b9f(){_0x1b329d[_0x477d('0xd67')]=[];_0x1b329d['interval']['interval']=_0xa4c714();_0x4ff6ef[_0x477d('0x79c')][_0x477d('0xd70')](_0x1b329d['interval'])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x503fc6){_0x1b329d[_0x477d('0x1298')][_0x477d('0x3a7')](_0x503fc6);_0x2a1f53[_0x477d('0x485')]({'title':_0x477d('0x12d7'),'msg':_0x1b329d[_0x477d('0x79c')]['name']?_0x1b329d[_0x477d('0x79c')][_0x477d('0x94')]+_0x477d('0xd73'):''});_0x241df5();})['catch'](function(_0x47aff0){console[_0x477d('0x44a')](_0x47aff0);_0x1b329d[_0x477d('0xd67')]=_0x47aff0[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x47aff0[_0x477d('0x453')](),'type':_0x477d('0x12d8')}];});}function _0x3802b0(){_0x1b329d['errors']=[];_0x1b329d[_0x477d('0x79c')]['interval']=_0xa4c714();if(_0x1b329d[_0x477d('0x79c')]['application']){_0x1b329d[_0x477d('0x439')]!==_0x477d('0xa02')&&(_0x1b329d[_0x477d('0x79c')]['IntervalId']=null);_0x241df5(_0x1b329d['interval']);}else{_0x4ff6ef[_0x477d('0x79c')][_0x477d('0x710')]({'id':_0x1b329d[_0x477d('0x79c')]['id']},_0x1b329d[_0x477d('0x79c')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x266806){var _0x10e844=_['find'](_0x1b329d[_0x477d('0x1298')],{'id':_0x266806['id']});if(_0x10e844){_[_0x477d('0xef')](_0x10e844,_0x266806);}_0x2a1f53[_0x477d('0x485')]({'title':_0x477d('0x12d9'),'msg':_0x477d('0x12da')});_0x241df5();})[_0x477d('0xf8')](function(_0x3a2143){console['error'](_0x3a2143);_0x1b329d[_0x477d('0xd67')]=_0x3a2143['data'][_0x477d('0xd67')]||[{'message':_0x3a2143[_0x477d('0x453')](),'type':_0x477d('0x12db')}];});}}function _0x241df5(_0x4f0176){_0x409f0d[_0x477d('0x3bc')](_0x4f0176);}}}());(function(){'use strict';_0x40c048[_0x477d('0xa')]=[_0x477d('0x384'),'$q',_0x477d('0x40e'),_0x477d('0x25bc'),_0x477d('0x259d'),'api','Auth',_0x477d('0xd66')];angular['module']('app.voice')['controller'](_0x477d('0x25c4'),_0x40c048);function _0x40c048(_0x541719,_0x3f5cc8,_0x112931,_0x471222,_0x2e36c6,_0x4e79a4,_0x4221f7,_0x23ed8){var _0x58ba23=this;_0x58ba23[_0x477d('0x3e5')]=_0x4221f7['getCurrentUser']();_0x58ba23[_0x477d('0xd67')]=[];_0x58ba23['title']='VOICE.EDIT_'+(_0x471222['appType']||_0x471222['app'])[_0x477d('0x44f')]();_0x58ba23[_0x477d('0x2531')]=angular[_0x477d('0x6d9')](_0x471222);_0x58ba23[_0x477d('0xd66')]=_0x23ed8;_0x58ba23[_0x477d('0xd68')]={};if(_0x58ba23['playback']['appdata']){switch(_0x58ba23[_0x477d('0x2531')]['appType']?_0x58ba23[_0x477d('0x2531')][_0x477d('0x1294')][_0x477d('0x449')]():_0x58ba23['playback'][_0x477d('0x1291')][_0x477d('0x449')]()){case _0x477d('0x9f6'):break;case _0x477d('0x1266'):var _0x485bfc=_0x58ba23['playback'][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x58ba23['playback'][_0x477d('0x670')]=_0x485bfc[0x0];_0x58ba23[_0x477d('0x2531')][_0x477d('0x1267')]=_0x485bfc[0x1];_0x58ba23[_0x477d('0x2531')]['welcomemessage']=_0x485bfc['slice'](0x2,_0x485bfc[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case'amazonlex':var _0x485bfc=_0x58ba23[_0x477d('0x2531')]['appdata'][_0x477d('0x472')](',');_0x58ba23['playback'][_0x477d('0x127d')]=_0x485bfc[0x0];_0x58ba23[_0x477d('0x2531')][_0x477d('0x127e')]=_0x485bfc[0x1];_0x58ba23['playback']['lexregion']=_0x485bfc[0x2];_0x58ba23[_0x477d('0x2531')]['botname']=_0x485bfc[0x3];_0x58ba23[_0x477d('0x2531')][_0x477d('0x127a')]=_0x485bfc[_0x477d('0x9cd')](0x4,_0x485bfc[_0x477d('0x79')])['join'](',');break;case _0x477d('0x1260'):var _0x485bfc=_0x58ba23[_0x477d('0x2531')][_0x477d('0x12ae')]['split'](',');_0x58ba23[_0x477d('0x2531')][_0x477d('0x1261')]=isNaN(_0x485bfc[0x0])?_0x485bfc[0x0]:parseInt(_0x485bfc[0x0],0xa);_0x58ba23[_0x477d('0x2531')]['text']=_0x485bfc['slice'](0x1,_0x485bfc[_0x477d('0x79')])['join'](',');break;case _0x477d('0x452'):_0x58ba23['playback'][_0x477d('0x41b')]=_0x58ba23[_0x477d('0x2531')][_0x477d('0x12ae')];break;case _0x477d('0x12af'):_0x58ba23[_0x477d('0x2531')]['name']=_0x58ba23[_0x477d('0x2531')]['appdata']['split']('=')[0x0];_0x58ba23[_0x477d('0x2531')][_0x477d('0x3b6')]=_0x58ba23['playback'][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x1];break;case _0x477d('0x12b0'):_0x58ba23[_0x477d('0x2531')][_0x477d('0xf13')]=_0x58ba23['playback'][_0x477d('0x12ae')];break;default:var _0x4fa23c=_0x58ba23[_0x477d('0x2531')]['appdata'][_0x477d('0x472')](',');_0x58ba23[_0x477d('0x2531')][_0x477d('0x12ae')]=_['isEmpty'](_0x4fa23c[0x0])?_0x4fa23c[0x0]:isNaN(_0x4fa23c[0x0])?_0x4fa23c[0x0]:parseInt(_0x4fa23c[0x0],0xa);_0x58ba23[_0x477d('0x2531')]['options']=_['isEmpty'](_0x4fa23c[0x1])?_0x4fa23c[0x1]:isNaN(_0x4fa23c[0x1])?_0x4fa23c[0x1]:parseInt(_0x4fa23c[0x1],0xa);}}else{}if(_0x58ba23['playback'][_0x477d('0x439')]&&_0x58ba23['playback']['type'][_0x477d('0x449')]()===_0x477d('0x127')&&_0x58ba23[_0x477d('0x2531')][_0x477d('0x1294')][_0x477d('0x449')]()===_0x477d('0x12b1')){_0x58ba23['playback']['prefix']=_0x58ba23[_0x477d('0x2531')][_0x477d('0xf46')]?_0x58ba23['playback'][_0x477d('0xf46')][_0x477d('0x472')]('$')[0x0]:undefined;_0x58ba23['playback'][_0x477d('0x69b')]=_0x58ba23['playback'][_0x477d('0x12b2')]?_0x477d('0x12b3')+_0x58ba23[_0x477d('0x2531')][_0x477d('0x12b2')]:undefined;}_0x58ba23[_0x477d('0x25be')]=_0x1c8fa4;_0x58ba23[_0x477d('0x6bf')]=_0x6029f2;_0x4221f7[_0x477d('0x56')](_0x477d('0x5f'))?_0x4e79a4['sound'][_0x477d('0x376')]({'fields':_0x477d('0x2532'),'sort':'name','nolimit':'true'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x55a52c){_0x58ba23[_0x477d('0xf30')]=_0x55a52c['rows']||[];})[_0x477d('0xf8')](function(_0x203d93){_0x112931[_0x477d('0x44a')]({'title':_0x203d93[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x203d93[_0x477d('0x3c3')]+'\x20-\x20'+_0x203d93['statusText']:'SYSTEM:GET_SOUNDS','msg':_0x203d93['data']?JSON['stringify'](_0x203d93[_0x477d('0x451')]):_0x203d93['toString']()});}):_0x4e79a4[_0x477d('0x15c9')][_0x477d('0x376')]({'fields':_0x477d('0x2532'),'sort':'name','nolimit':'true'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x4dd55e){_0x58ba23['sounds']=_0x4dd55e[_0x477d('0xf2')]||[];})['then'](function(){return _0x4e79a4['userProfileSection']['get']({'userProfileId':_0x58ba23[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x3ef})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x20aeec){var _0x67ef26=_0x20aeec&&_0x20aeec[_0x477d('0xf2')]?_0x20aeec[_0x477d('0xf2')][0x0]:null;if(!_0x67ef26){var _0x549174=[];var _0x27c6b1=null;if(_0x58ba23[_0x477d('0x2531')]){_0x27c6b1=_['find'](_0x58ba23['sounds'],{'save_name':_0x58ba23[_0x477d('0x2531')][_0x477d('0x12ae')]});}for(var _0x2b2010=0x0;_0x2b2010<_0x58ba23['sounds'][_0x477d('0x79')];_0x2b2010++){if(_0x27c6b1&&_0x58ba23[_0x477d('0xf30')][_0x2b2010]['id']===_0x27c6b1['id']){_0x58ba23[_0x477d('0xf30')][_0x2b2010][_0x477d('0xf8b')]=![];_0x549174[_0x477d('0x3a7')](_0x58ba23[_0x477d('0xf30')][_0x2b2010]);}}_0x58ba23[_0x477d('0xf30')]=_0x549174;}else{if(!_0x67ef26['autoAssociation']){return _0x4e79a4[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x67ef26['id']})[_0x477d('0x38b')]['then'](function(_0x760ba3){var _0x154166=_[_0x477d('0x3cb')](_0x760ba3[_0x477d('0xf2')],function(_0x430076){return _['find'](_0x58ba23[_0x477d('0xf30')],{'id':_0x430076[_0x477d('0x3af')]});});var _0x58d10e=null;if(_0x58ba23['playback']){_0x58d10e=_[_0x477d('0x10a')](_0x58ba23[_0x477d('0xf30')],{'save_name':_0x58ba23[_0x477d('0x2531')]['appdata']});}if(_0x58d10e&&!_[_0x477d('0x3ab')](_0x154166,['id',_0x58d10e['id']])){var _0x2a90c4=_[_0x477d('0x10a')](_0x58ba23[_0x477d('0xf30')],{'id':_0x58d10e['id']});_0x2a90c4['canSelect']=![];_0x154166[_0x477d('0x3a7')](_0x2a90c4);}_0x58ba23[_0x477d('0xf30')]=_0x154166;});}}})[_0x477d('0xf8')](function(_0x503402){_0x112931['error']({'title':_0x503402[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x503402[_0x477d('0x3c3')]+'\x20-\x20'+_0x503402[_0x477d('0x44d')]:'SYSTEM:GETsounds','msg':_0x503402[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x503402[_0x477d('0x451')]):_0x503402[_0x477d('0x453')]()});});function _0x1c8fa4(){_0x58ba23[_0x477d('0xd67')]=[];var _0x2138c5=[];if(_0x58ba23[_0x477d('0x2531')][_0x477d('0x439')]&&_0x58ba23[_0x477d('0x2531')][_0x477d('0x439')][_0x477d('0x449')]()==='outbound'&&_0x58ba23[_0x477d('0x2531')][_0x477d('0x1294')]===_0x477d('0x12b5')){_0x58ba23['playback'][_0x477d('0xf46')]=_0x2e36c6[_0x477d('0x12b6')]?(_0x58ba23[_0x477d('0x2531')][_0x477d('0x6c0')]||'')+_0x477d('0x12b7')+_0x2e36c6[_0x477d('0x12b6')]+'}':(_0x58ba23[_0x477d('0x2531')]['prefix']||'')+_0x477d('0x12b8');if(_0x2e36c6[_0x477d('0x12b9')]!==_0x477d('0x496')){if(_0x58ba23['playback'][_0x477d('0x43c')][_0x477d('0x477')](_0x477d('0x12ba'))<0x0){_0x58ba23[_0x477d('0x2531')]['options']+=_0x477d('0x12ba');}}else{_0x58ba23[_0x477d('0x2531')][_0x477d('0x43c')]=_0x58ba23['playback'][_0x477d('0x43c')][_0x477d('0x409')](_0x477d('0x12ba'),'');}}if(_0x58ba23[_0x477d('0x2531')][_0x477d('0x1294')]&&_0x58ba23[_0x477d('0x2531')][_0x477d('0x1294')]===_0x477d('0x9f6')){}else{switch((_0x58ba23['playback']['app']||_0x58ba23[_0x477d('0x2531')][_0x477d('0x1294')])[_0x477d('0x449')]()){case'set':_0x58ba23[_0x477d('0x2531')][_0x477d('0x12ae')]=_0x58ba23[_0x477d('0x2531')][_0x477d('0x94')]+'='+_0x58ba23[_0x477d('0x2531')][_0x477d('0x3b6')];break;case _0x477d('0x9f6'):break;default:_0x2138c5[0x0]=_0x58ba23[_0x477d('0x2531')]['appdata'];_0x2138c5[0x1]=_0x58ba23['playback'][_0x477d('0x43c')];_0x58ba23[_0x477d('0x2531')][_0x477d('0x12ae')]=_0x2138c5[_0x477d('0x3f6')](',');}}_0x6029f2(_0x58ba23['playback']);}function _0x6029f2(_0x82c7ba){_0x541719[_0x477d('0x3bc')](_0x82c7ba);}}}());(function(){'use strict';_0x501ff3['$inject']=[_0x477d('0x384'),'$q','toasty','internalrouteApp',_0x477d('0x259d'),_0x477d('0x386'),_0x477d('0x55'),'crudPermissions'];angular[_0x477d('0xb')](_0x477d('0x2f'))[_0x477d('0x3ba')](_0x477d('0x25c5'),_0x501ff3);function _0x501ff3(_0x22e826,_0x420777,_0x20d330,_0x2a04cc,_0x4af20f,_0x265b26,_0x561ad5,_0x3338ed){var _0x350f01=this;_0x350f01[_0x477d('0x3e5')]=_0x561ad5[_0x477d('0x5c')]();_0x350f01['errors']=[];_0x350f01[_0x477d('0x49a')]='VOICE.EDIT_'+(_0x2a04cc[_0x477d('0x1294')]||_0x2a04cc[_0x477d('0x1291')])['toUpperCase']();_0x350f01['queue']=angular['copy'](_0x2a04cc);_0x350f01['crudPermissions']=_0x3338ed;_0x350f01['hasModulePermissions']={};if(_0x350f01[_0x477d('0x1256')]['appdata']){switch(_0x350f01['queue'][_0x477d('0x1294')]?_0x350f01[_0x477d('0x1256')][_0x477d('0x1294')][_0x477d('0x449')]():_0x350f01[_0x477d('0x1256')][_0x477d('0x1291')][_0x477d('0x449')]()){case _0x477d('0x9f6'):break;case _0x477d('0x1266'):var _0x207130=_0x350f01[_0x477d('0x1256')]['appdata'][_0x477d('0x472')](',');_0x350f01[_0x477d('0x1256')][_0x477d('0x670')]=_0x207130[0x0];_0x350f01[_0x477d('0x1256')][_0x477d('0x1267')]=_0x207130[0x1];_0x350f01[_0x477d('0x1256')][_0x477d('0x127a')]=_0x207130[_0x477d('0x9cd')](0x2,_0x207130[_0x477d('0x79')])['join'](',');break;case'amazonlex':var _0x207130=_0x350f01[_0x477d('0x1256')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x350f01[_0x477d('0x1256')]['accesskeyid']=_0x207130[0x0];_0x350f01[_0x477d('0x1256')]['secretaccesskey']=_0x207130[0x1];_0x350f01[_0x477d('0x1256')][_0x477d('0x127f')]=_0x207130[0x2];_0x350f01[_0x477d('0x1256')][_0x477d('0x1283')]=_0x207130[0x3];_0x350f01['queue'][_0x477d('0x127a')]=_0x207130['slice'](0x4,_0x207130[_0x477d('0x79')])['join'](',');break;case _0x477d('0x1260'):var _0x207130=_0x350f01[_0x477d('0x1256')][_0x477d('0x12ae')]['split'](',');_0x350f01[_0x477d('0x1256')]['times']=isNaN(_0x207130[0x0])?_0x207130[0x0]:parseInt(_0x207130[0x0],0xa);_0x350f01['queue'][_0x477d('0x41b')]=_0x207130[_0x477d('0x9cd')](0x1,_0x207130[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x452'):_0x350f01[_0x477d('0x1256')]['text']=_0x350f01['queue'][_0x477d('0x12ae')];break;case _0x477d('0x12af'):_0x350f01[_0x477d('0x1256')]['name']=_0x350f01['queue']['appdata'][_0x477d('0x472')]('=')[0x0];_0x350f01[_0x477d('0x1256')][_0x477d('0x3b6')]=_0x350f01[_0x477d('0x1256')][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x1];break;case _0x477d('0x12b0'):_0x350f01['queue'][_0x477d('0xf13')]=_0x350f01[_0x477d('0x1256')][_0x477d('0x12ae')];break;default:var _0xd98e19=_0x350f01['queue'][_0x477d('0x12ae')]['split'](',');_0x350f01[_0x477d('0x1256')][_0x477d('0x1256')]=_[_0x477d('0x3b2')](_0xd98e19[0x0])?_0xd98e19[0x0]:isNaN(_0xd98e19[0x0])?_0xd98e19[0x0]:parseInt(_0xd98e19[0x0],0xa);_0x350f01[_0x477d('0x1256')][_0x477d('0x43c')]=_[_0x477d('0x3b2')](_0xd98e19[0x1])?_0xd98e19[0x1]:isNaN(_0xd98e19[0x1])?_0xd98e19[0x1]:parseInt(_0xd98e19[0x1],0xa);_0x350f01[_0x477d('0x1256')]['URL']=_[_0x477d('0x3b2')](_0xd98e19[0x2])?_0xd98e19[0x2]:isNaN(_0xd98e19[0x2])?_0xd98e19[0x2]:parseInt(_0xd98e19[0x2],0xa);_0x350f01['queue'][_0x477d('0x15c9')]=_[_0x477d('0x3b2')](_0xd98e19[0x3])?_0xd98e19[0x3]:isNaN(_0xd98e19[0x3])?_0xd98e19[0x3]:parseInt(_0xd98e19[0x3],0xa);_0x350f01['queue'][_0x477d('0x91b')]=_[_0x477d('0x3b2')](_0xd98e19[0x4])?_0xd98e19[0x4]:isNaN(_0xd98e19[0x4])?_0xd98e19[0x4]:parseInt(_0xd98e19[0x4],0xa);_0x350f01[_0x477d('0x1256')]['agi']=_[_0x477d('0x3b2')](_0xd98e19[0x5])?_0xd98e19[0x5]:isNaN(_0xd98e19[0x5])?_0xd98e19[0x5]:parseInt(_0xd98e19[0x5],0xa);_0x350f01['queue'][_0x477d('0x252d')]=_[_0x477d('0x3b2')](_0xd98e19[0x6])?_0xd98e19[0x6]:isNaN(_0xd98e19[0x6])?_0xd98e19[0x6]:parseInt(_0xd98e19[0x6],0xa);_0x350f01[_0x477d('0x1256')][_0x477d('0x252e')]=_[_0x477d('0x3b2')](_0xd98e19[0x7])?_0xd98e19[0x7]:isNaN(_0xd98e19[0x7])?_0xd98e19[0x7]:parseInt(_0xd98e19[0x7],0xa);_0x350f01[_0x477d('0x1256')][_0x477d('0x2585')]=_['isEmpty'](_0xd98e19[0x8])?_0xd98e19[0x8]:isNaN(_0xd98e19[0x8])?_0xd98e19[0x8]:parseInt(_0xd98e19[0x8],0xa);_0x350f01['queue']['position']=_[_0x477d('0x3b2')](_0xd98e19[0x9])?_0xd98e19[0x9]:isNaN(_0xd98e19[0x9])?_0xd98e19[0x9]:parseInt(_0xd98e19[0x9],0xa);}}else{}if(_0x350f01['queue']['type']&&_0x350f01[_0x477d('0x1256')]['type']['toLowerCase']()==='outbound'&&_0x350f01[_0x477d('0x1256')][_0x477d('0x1294')][_0x477d('0x449')]()===_0x477d('0x12b1')){_0x350f01[_0x477d('0x1256')][_0x477d('0x6c0')]=_0x350f01[_0x477d('0x1256')][_0x477d('0xf46')]?_0x350f01[_0x477d('0x1256')][_0x477d('0xf46')][_0x477d('0x472')]('$')[0x0]:undefined;_0x350f01['queue']['callerId']=_0x350f01['queue'][_0x477d('0x12b2')]?_0x477d('0x12b3')+_0x350f01[_0x477d('0x1256')][_0x477d('0x12b2')]:undefined;}_0x350f01[_0x477d('0x25be')]=_0x568d2e;_0x350f01[_0x477d('0x6bf')]=_0x1e998d;_0x561ad5[_0x477d('0x56')](_0x477d('0x5f'))?_0x265b26[_0x477d('0x15c9')][_0x477d('0x376')]({'fields':_0x477d('0x2532'),'sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})['$promise'][_0x477d('0x76')](function(_0x49482){_0x350f01[_0x477d('0xf30')]=_0x49482[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x33a319){_0x20d330[_0x477d('0x44a')]({'title':_0x33a319[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x33a319[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x33a319[_0x477d('0x44d')]:_0x477d('0x2586'),'msg':_0x33a319[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x33a319[_0x477d('0x451')]):_0x33a319[_0x477d('0x453')]()});}):_0x265b26[_0x477d('0x15c9')][_0x477d('0x376')]({'fields':'id,name,save_name','sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})['$promise'][_0x477d('0x76')](function(_0x5e44c3){_0x350f01[_0x477d('0xf30')]=_0x5e44c3['rows']||[];})[_0x477d('0x76')](function(){return _0x265b26[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x350f01['currentUser'][_0x477d('0x61')],'sectionId':0x3ef})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x348e74){var _0x53059c=_0x348e74&&_0x348e74[_0x477d('0xf2')]?_0x348e74['rows'][0x0]:null;if(!_0x53059c){var _0x5f483b=[];var _0xfcb02c=null;if(_0x350f01[_0x477d('0x1256')]){_0xfcb02c=_[_0x477d('0x10a')](_0x350f01[_0x477d('0xf30')],{'save_name':_0x350f01[_0x477d('0x1256')]['sound']});}for(var _0x5e7c01=0x0;_0x5e7c01<_0x350f01['sounds'][_0x477d('0x79')];_0x5e7c01++){if(_0xfcb02c&&_0x350f01[_0x477d('0xf30')][_0x5e7c01]['id']===_0xfcb02c['id']){_0x350f01[_0x477d('0xf30')][_0x5e7c01]['canSelect']=![];_0x5f483b[_0x477d('0x3a7')](_0x350f01[_0x477d('0xf30')][_0x5e7c01]);}}_0x350f01[_0x477d('0xf30')]=_0x5f483b;}else{if(!_0x53059c[_0x477d('0x3ad')]){return _0x265b26['userProfileResource'][_0x477d('0x376')]({'sectionId':_0x53059c['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x2e572b){var _0x3b519a=_[_0x477d('0x3cb')](_0x2e572b[_0x477d('0xf2')],function(_0x157922){return _[_0x477d('0x10a')](_0x350f01[_0x477d('0xf30')],{'id':_0x157922[_0x477d('0x3af')]});});var _0x215b4c=null;if(_0x350f01['queue']){_0x215b4c=_[_0x477d('0x10a')](_0x350f01[_0x477d('0xf30')],{'save_name':_0x350f01[_0x477d('0x1256')][_0x477d('0x15c9')]});}if(_0x215b4c&&!_[_0x477d('0x3ab')](_0x3b519a,['id',_0x215b4c['id']])){var _0x140cc3=_[_0x477d('0x10a')](_0x350f01[_0x477d('0xf30')],{'id':_0x215b4c['id']});_0x140cc3['canSelect']=![];_0x3b519a[_0x477d('0x3a7')](_0x140cc3);}_0x350f01['sounds']=_0x3b519a;});}}})[_0x477d('0xf8')](function(_0x3a37d1){_0x20d330[_0x477d('0x44a')]({'title':_0x3a37d1[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x3a37d1['status']+_0x477d('0x44c')+_0x3a37d1[_0x477d('0x44d')]:_0x477d('0x2584'),'msg':_0x3a37d1[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x3a37d1[_0x477d('0x451')]):_0x3a37d1[_0x477d('0x453')]()});});_0x561ad5[_0x477d('0x56')](_0x477d('0x5f'))?_0x265b26[_0x477d('0xa76')][_0x477d('0x376')]({'type':'inbound','fields':_0x477d('0x12de'),'sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')]['then'](function(_0x4c91c0){_0x350f01[_0x477d('0xf2f')]=_0x4c91c0[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x42d7e3){_0x20d330[_0x477d('0x44a')]({'title':_0x42d7e3[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x42d7e3[_0x477d('0x3c3')]+'\x20-\x20'+_0x42d7e3[_0x477d('0x44d')]:_0x477d('0x1934'),'msg':_0x42d7e3[_0x477d('0x451')]?JSON['stringify'](_0x42d7e3[_0x477d('0x451')]):_0x42d7e3[_0x477d('0x453')]()});}):_0x265b26['voiceQueue'][_0x477d('0x376')]({'type':'inbound','fields':'id,name,type','sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})['$promise'][_0x477d('0x76')](function(_0x26a07f){_0x350f01[_0x477d('0xf2f')]=_0x26a07f[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x265b26[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x350f01[_0x477d('0x3e5')]['userProfileId'],'sectionId':0x191})[_0x477d('0x38b')];})['then'](function(_0x24b24a){var _0x323ff1=_0x24b24a&&_0x24b24a[_0x477d('0xf2')]?_0x24b24a['rows'][0x0]:null;if(!_0x323ff1){var _0xe8e3f5=[];var _0x3eab9c=null;if(_0x350f01[_0x477d('0x1256')]){_0x3eab9c=_[_0x477d('0x10a')](_0x350f01['queues'],{'name':_0x350f01[_0x477d('0x1256')][_0x477d('0x1256')]});}for(var _0x1af828=0x0;_0x1af828<_0x350f01[_0x477d('0xf2f')][_0x477d('0x79')];_0x1af828++){if(_0x3eab9c&&_0x350f01['queues'][_0x1af828]['id']===_0x3eab9c['id']){_0x350f01[_0x477d('0xf2f')][_0x1af828][_0x477d('0xf8b')]=![];_0xe8e3f5[_0x477d('0x3a7')](_0x350f01[_0x477d('0xf2f')][_0x1af828]);}}_0x350f01['queues']=_0xe8e3f5;}else{if(!_0x323ff1[_0x477d('0x3ad')]){return _0x265b26['userProfileResource'][_0x477d('0x376')]({'sectionId':_0x323ff1['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x5411ca){var _0xc6c5f7=_['map'](_0x5411ca[_0x477d('0xf2')],function(_0x3602ed){return _[_0x477d('0x10a')](_0x350f01[_0x477d('0xf2f')],{'id':_0x3602ed['resourceId']});});var _0x460013=null;if(_0x350f01['queue']){_0x460013=_[_0x477d('0x10a')](_0x350f01[_0x477d('0xf2f')],{'name':_0x350f01[_0x477d('0x1256')][_0x477d('0x1256')]});}if(_0x460013&&!_[_0x477d('0x3ab')](_0xc6c5f7,['id',_0x460013['id']])){var _0x4cb449=_[_0x477d('0x10a')](_0x350f01[_0x477d('0xf2f')],{'id':_0x460013['id']});_0x4cb449[_0x477d('0xf8b')]=![];_0xc6c5f7[_0x477d('0x3a7')](_0x4cb449);}_0x350f01[_0x477d('0xf2f')]=_0xc6c5f7;});}}})[_0x477d('0xf8')](function(_0x527d6d){_0x20d330['error']({'title':_0x527d6d['status']?_0x477d('0x44b')+_0x527d6d[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x527d6d[_0x477d('0x44d')]:_0x477d('0x12df'),'msg':_0x527d6d[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x527d6d[_0x477d('0x451')]):_0x527d6d[_0x477d('0x453')]()});});function _0x568d2e(){_0x350f01[_0x477d('0xd67')]=[];var _0x2cb266=[];if(_0x350f01['queue'][_0x477d('0x439')]&&_0x350f01[_0x477d('0x1256')][_0x477d('0x439')][_0x477d('0x449')]()===_0x477d('0x127')&&_0x350f01[_0x477d('0x1256')][_0x477d('0x1294')]===_0x477d('0x12b5')){_0x350f01['queue'][_0x477d('0xf46')]=_0x4af20f[_0x477d('0x12b6')]?(_0x350f01[_0x477d('0x1256')]['prefix']||'')+_0x477d('0x12b7')+_0x4af20f[_0x477d('0x12b6')]+'}':(_0x350f01['queue'][_0x477d('0x6c0')]||'')+'${EXTEN}';if(_0x4af20f[_0x477d('0x12b9')]!==_0x477d('0x496')){if(_0x350f01[_0x477d('0x1256')]['options']['indexOf'](_0x477d('0x12ba'))<0x0){_0x350f01[_0x477d('0x1256')][_0x477d('0x43c')]+='U(xcally-mixmonitor-context)';}}else{_0x350f01[_0x477d('0x1256')]['options']=_0x350f01['queue'][_0x477d('0x43c')][_0x477d('0x409')](_0x477d('0x12ba'),'');}}if(_0x350f01['queue'][_0x477d('0x1294')]&&_0x350f01[_0x477d('0x1256')][_0x477d('0x1294')]===_0x477d('0x9f6')){}else{switch((_0x350f01[_0x477d('0x1256')][_0x477d('0x1291')]||_0x350f01[_0x477d('0x1256')]['appType'])[_0x477d('0x449')]()){case'set':_0x350f01[_0x477d('0x1256')][_0x477d('0x12ae')]=_0x350f01['queue'][_0x477d('0x94')]+'='+_0x350f01['queue'][_0x477d('0x3b6')];break;case _0x477d('0x9f6'):break;default:_0x2cb266[0x0]=_0x350f01[_0x477d('0x1256')][_0x477d('0x1256')];_0x2cb266[0x1]=_0x350f01[_0x477d('0x1256')][_0x477d('0x43c')];_0x2cb266[0x2]=_0x350f01[_0x477d('0x1256')]['URL'];_0x2cb266[0x3]=_0x350f01[_0x477d('0x1256')]['sound'];_0x2cb266[0x4]=_0x350f01[_0x477d('0x1256')][_0x477d('0x91b')];_0x2cb266[0x5]=_0x350f01['queue']['agi'];_0x2cb266[0x6]=_0x350f01[_0x477d('0x1256')]['macro'];_0x2cb266[0x7]=_0x350f01[_0x477d('0x1256')][_0x477d('0x252e')];_0x2cb266[0x8]=_0x350f01[_0x477d('0x1256')]['rule'];_0x2cb266[0x9]=_0x350f01['queue'][_0x477d('0x68f')];_0x350f01['queue'][_0x477d('0x12ae')]=_0x2cb266[_0x477d('0x3f6')](',');}}_0x1e998d(_0x350f01['queue']);}function _0x1e998d(_0x29303d){_0x22e826[_0x477d('0x3bc')](_0x29303d);}}}());(function(){'use strict';_0x10ee91['$inject']=['$mdDialog','$q','toasty','internalrouteApp',_0x477d('0x259d'),_0x477d('0x386'),_0x477d('0x55'),_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x2f'))[_0x477d('0x3ba')](_0x477d('0x25c6'),_0x10ee91);function _0x10ee91(_0x1cb7f8,_0x41ca64,_0x3d384c,_0x41c15c,_0xee5af6,_0x41326c,_0xb6ac94,_0x42eda7){var _0x205daf=this;_0x205daf[_0x477d('0x3e5')]=_0xb6ac94[_0x477d('0x5c')]();_0x205daf[_0x477d('0xd67')]=[];_0x205daf[_0x477d('0x49a')]=_0x477d('0x2577')+(_0x41c15c['appType']||_0x41c15c[_0x477d('0x1291')])['toUpperCase']();_0x205daf['ringgroup']=angular[_0x477d('0x6d9')](_0x41c15c);_0x205daf['crudPermissions']=_0x42eda7;_0x205daf[_0x477d('0xd68')]={};if(_0x205daf[_0x477d('0x2587')][_0x477d('0x12ae')]){switch(_0x205daf[_0x477d('0x2587')][_0x477d('0x1294')]?_0x205daf[_0x477d('0x2587')][_0x477d('0x1294')]['toLowerCase']():_0x205daf['ringgroup'][_0x477d('0x1291')]['toLowerCase']()){case _0x477d('0x9f6'):break;case _0x477d('0x1266'):var _0x5764ef=_0x205daf[_0x477d('0x2587')]['appdata']['split'](',');_0x205daf[_0x477d('0x2587')][_0x477d('0x670')]=_0x5764ef[0x0];_0x205daf[_0x477d('0x2587')]['language']=_0x5764ef[0x1];_0x205daf[_0x477d('0x2587')][_0x477d('0x127a')]=_0x5764ef[_0x477d('0x9cd')](0x2,_0x5764ef[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case'amazonlex':var _0x5764ef=_0x205daf['ringgroup'][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x205daf[_0x477d('0x2587')]['accesskeyid']=_0x5764ef[0x0];_0x205daf[_0x477d('0x2587')][_0x477d('0x127e')]=_0x5764ef[0x1];_0x205daf[_0x477d('0x2587')][_0x477d('0x127f')]=_0x5764ef[0x2];_0x205daf[_0x477d('0x2587')][_0x477d('0x1283')]=_0x5764ef[0x3];_0x205daf['ringgroup']['welcomemessage']=_0x5764ef[_0x477d('0x9cd')](0x4,_0x5764ef[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x1260'):var _0x5764ef=_0x205daf[_0x477d('0x2587')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x205daf[_0x477d('0x2587')][_0x477d('0x1261')]=isNaN(_0x5764ef[0x0])?_0x5764ef[0x0]:parseInt(_0x5764ef[0x0],0xa);_0x205daf['ringgroup'][_0x477d('0x41b')]=_0x5764ef['slice'](0x1,_0x5764ef[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x452'):_0x205daf[_0x477d('0x2587')][_0x477d('0x41b')]=_0x205daf[_0x477d('0x2587')]['appdata'];break;case'set':_0x205daf[_0x477d('0x2587')][_0x477d('0x94')]=_0x205daf[_0x477d('0x2587')][_0x477d('0x12ae')]['split']('=')[0x0];_0x205daf['ringgroup'][_0x477d('0x3b6')]=_0x205daf['ringgroup'][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x1];break;case _0x477d('0x12b0'):_0x205daf[_0x477d('0x2587')][_0x477d('0xf13')]=_0x205daf[_0x477d('0x2587')][_0x477d('0x12ae')];break;default:var _0x4c426f=_0x205daf[_0x477d('0x2587')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x205daf[_0x477d('0x2587')][_0x477d('0x2588')]=_0x4c426f[0x0][_0x477d('0x472')]('&');_0x205daf[_0x477d('0x2587')][_0x477d('0x91b')]=_[_0x477d('0x3b2')](_0x4c426f[0x1])?_0x4c426f[0x1]:isNaN(_0x4c426f[0x1])?_0x4c426f[0x1]:parseInt(_0x4c426f[0x1],0xa);_0x205daf['ringgroup'][_0x477d('0x43c')]=_[_0x477d('0x3b2')](_0x4c426f[0x2])?_0x4c426f[0x2]:isNaN(_0x4c426f[0x2])?_0x4c426f[0x2]:parseInt(_0x4c426f[0x2],0xa);_0x205daf['ringgroup'][_0x477d('0x3c1')]=_[_0x477d('0x3b2')](_0x4c426f[0x3])?_0x4c426f[0x3]:isNaN(_0x4c426f[0x3])?_0x4c426f[0x3]:parseInt(_0x4c426f[0x3],0xa);}}else{}if(_0x205daf[_0x477d('0x2587')][_0x477d('0x439')]&&_0x205daf[_0x477d('0x2587')]['type'][_0x477d('0x449')]()==='outbound'&&_0x205daf[_0x477d('0x2587')][_0x477d('0x1294')][_0x477d('0x449')]()===_0x477d('0x12b1')){_0x205daf['ringgroup'][_0x477d('0x6c0')]=_0x205daf['ringgroup'][_0x477d('0xf46')]?_0x205daf[_0x477d('0x2587')][_0x477d('0xf46')][_0x477d('0x472')]('$')[0x0]:undefined;_0x205daf[_0x477d('0x2587')][_0x477d('0x69b')]=_0x205daf[_0x477d('0x2587')]['callerID']?_0x477d('0x12b3')+_0x205daf['ringgroup'][_0x477d('0x12b2')]:undefined;}_0x205daf[_0x477d('0x25be')]=_0x263e28;_0x205daf[_0x477d('0x6bf')]=_0x4000b8;var _0x429f55=[{'id':0xca,'role':'agent'},{'id':0xcb,'role':_0x477d('0x295')}];var _0x2a0fcb=null;_0xb6ac94[_0x477d('0x56')](_0x477d('0x5f'))?_0x41326c['user'][_0x477d('0x376')]({'fields':'id,name,role','sort':'name','nolimit':'true'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x59e716){_0x205daf['users']=_0x59e716[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x92db7a){_0x3d384c[_0x477d('0x44a')]({'title':_0x92db7a[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x92db7a[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x92db7a[_0x477d('0x44d')]:'SYSTEM:GET_USERS','msg':_0x92db7a['data']?JSON[_0x477d('0x3fb')](_0x92db7a[_0x477d('0x451')]):_0x92db7a[_0x477d('0x453')]()});}):_0x41326c['user'][_0x477d('0x376')]({'fields':'id,name,role','sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})['$promise']['then'](function(_0x1f82c6){_0x2a0fcb=_0x1f82c6['rows']||[];})[_0x477d('0x76')](function(){var _0x24b96b=[];for(var _0x433c9a=0x0;_0x433c9a<_0x429f55[_0x477d('0x79')];_0x433c9a++){_0x24b96b['push'](_0x41326c[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x205daf[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':_0x429f55[_0x433c9a]['id']})[_0x477d('0x38b')]);}return _0x41ca64[_0x477d('0x7c')](_0x24b96b);})[_0x477d('0x76')](function(_0x477095){var _0x221d21=_['map'](_0x477095,function(_0x285c8b){return _0x285c8b&&_0x285c8b[_0x477d('0xf2')]?_0x285c8b[_0x477d('0xf2')][0x0]:null;});var _0x218aae=[];for(var _0x24802a=0x0;_0x24802a<_0x429f55[_0x477d('0x79')];_0x24802a++){var _0x59383b=_[_0x477d('0x10a')](_0x221d21,[_0x477d('0x3a8'),_0x429f55[_0x24802a]['id']]);if(_0x59383b){if(!_0x59383b['autoAssociation']){_0x218aae[_0x477d('0x3a7')](_0x41326c[_0x477d('0x3ae')]['get']({'sectionId':_0x59383b['id']})[_0x477d('0x38b')]);}else{var _0x502642=[];_0x2a0fcb[_0x477d('0x3b1')](function(_0x4761a5){if(_0x4761a5['role']===_0x429f55[_0x24802a][_0x477d('0x3a1')]){_0x502642['push'](_0x4761a5);}});_0x218aae[_0x477d('0x3a7')]({'rows':_0x502642,'count':_0x502642[_0x477d('0x79')]});}}}return _0x41ca64['all'](_0x218aae);})['then'](function(_0x26bb56){var _0x237270=[];var _0x27c0b0=null;if(_0x205daf[_0x477d('0x2587')]){_0x27c0b0=_['find'](_0x2a0fcb,{'name':_0x205daf['ringgroup'][_0x477d('0x2588')]});}for(var _0x297f9a=0x0;_0x297f9a<_0x26bb56[_0x477d('0x79')];_0x297f9a++){var _0x18fce0=_0x26bb56[_0x297f9a][_0x477d('0xf2')]||[];_0x18fce0[_0x477d('0x3b1')](function(_0x4eb14e){_0x237270[_0x477d('0x3a7')](_0x4eb14e);});}if(_0x27c0b0&&!_[_0x477d('0x3ab')](_0x237270,[_0x477d('0x3af'),_0x27c0b0['id']])){_0x2a0fcb['forEach'](function(_0x3e75f2){if(_0x3e75f2['id']===_0x27c0b0['id']){_0x3e75f2[_0x477d('0xf8b')]=![];_0x237270[_0x477d('0x3a7')](_0x3e75f2);}});}_0x205daf[_0x477d('0xf2d')]=_0x237270;})['catch'](function(_0x3715c3){_0x3d384c[_0x477d('0x44a')]({'title':_0x3715c3[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x3715c3['status']+_0x477d('0x44c')+_0x3715c3[_0x477d('0x44d')]:_0x477d('0x2583'),'msg':_0x3715c3[_0x477d('0x451')]?JSON['stringify'](_0x3715c3['data']):_0x3715c3[_0x477d('0x453')]()});});function _0x263e28(){_0x205daf[_0x477d('0xd67')]=[];var _0x2597bc=[];if(_0x205daf['ringgroup'][_0x477d('0x439')]&&_0x205daf[_0x477d('0x2587')][_0x477d('0x439')][_0x477d('0x449')]()===_0x477d('0x127')&&_0x205daf[_0x477d('0x2587')][_0x477d('0x1294')]===_0x477d('0x12b5')){_0x205daf[_0x477d('0x2587')][_0x477d('0xf46')]=_0xee5af6[_0x477d('0x12b6')]?(_0x205daf[_0x477d('0x2587')][_0x477d('0x6c0')]||'')+'${EXTEN:'+_0xee5af6[_0x477d('0x12b6')]+'}':(_0x205daf['ringgroup'][_0x477d('0x6c0')]||'')+_0x477d('0x12b8');if(_0xee5af6[_0x477d('0x12b9')]!==_0x477d('0x496')){if(_0x205daf[_0x477d('0x2587')][_0x477d('0x43c')]['indexOf'](_0x477d('0x12ba'))<0x0){_0x205daf[_0x477d('0x2587')]['options']+=_0x477d('0x12ba');}}else{_0x205daf[_0x477d('0x2587')][_0x477d('0x43c')]=_0x205daf[_0x477d('0x2587')]['options'][_0x477d('0x409')](_0x477d('0x12ba'),'');}}if(_0x205daf[_0x477d('0x2587')][_0x477d('0x1294')]&&_0x205daf[_0x477d('0x2587')][_0x477d('0x1294')]==='custom'){}else{switch((_0x205daf['ringgroup'][_0x477d('0x1291')]||_0x205daf['ringgroup'][_0x477d('0x1294')])[_0x477d('0x449')]()){case _0x477d('0x12af'):_0x205daf[_0x477d('0x2587')][_0x477d('0x12ae')]=_0x205daf['ringgroup'][_0x477d('0x94')]+'='+_0x205daf[_0x477d('0x2587')][_0x477d('0x3b6')];break;case _0x477d('0x9f6'):break;default:_0x2597bc[0x0]=_0x205daf[_0x477d('0x2587')][_0x477d('0x2588')][_0x477d('0x3f6')]('&');_0x2597bc[0x1]=_0x205daf[_0x477d('0x2587')]['timeout'];_0x2597bc[0x2]=_0x205daf['ringgroup'][_0x477d('0x43c')];_0x2597bc[0x3]=_0x205daf[_0x477d('0x2587')][_0x477d('0x3c1')];_0x205daf[_0x477d('0x2587')][_0x477d('0x12ae')]=_0x2597bc[_0x477d('0x3f6')](',');}}_0x4000b8(_0x205daf[_0x477d('0x2587')]);}function _0x4000b8(_0x430e3a){_0x1cb7f8[_0x477d('0x3bc')](_0x430e3a);}}}());(function(){'use strict';_0x4e1b4f[_0x477d('0xa')]=[_0x477d('0x384'),'$q','toasty','internalrouteApp',_0x477d('0x259d'),_0x477d('0x386'),_0x477d('0x55'),_0x477d('0xd66')];angular['module'](_0x477d('0x2f'))[_0x477d('0x3ba')]('EditInternalAppsetDialogController',_0x4e1b4f);function _0x4e1b4f(_0x3df885,_0x414326,_0x5bfeac,_0x45326f,_0x5d9593,_0x4d3ca8,_0x211f63,_0x12080e){var _0x216aad=this;_0x216aad['currentUser']=_0x211f63[_0x477d('0x5c')]();_0x216aad[_0x477d('0xd67')]=[];_0x216aad[_0x477d('0x49a')]=_0x477d('0x2577')+(_0x45326f[_0x477d('0x1294')]||_0x45326f[_0x477d('0x1291')])[_0x477d('0x44f')]();_0x216aad[_0x477d('0x12af')]=angular[_0x477d('0x6d9')](_0x45326f);_0x216aad['crudPermissions']=_0x12080e;_0x216aad['hasModulePermissions']={};if(_0x216aad['set'][_0x477d('0x12ae')]){switch(_0x216aad[_0x477d('0x12af')][_0x477d('0x1294')]?_0x216aad[_0x477d('0x12af')]['appType'][_0x477d('0x449')]():_0x216aad['set'][_0x477d('0x1291')]['toLowerCase']()){case'custom':break;case'dialogflow':var _0x3914f4=_0x216aad['set'][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x216aad[_0x477d('0x12af')][_0x477d('0x670')]=_0x3914f4[0x0];_0x216aad[_0x477d('0x12af')][_0x477d('0x1267')]=_0x3914f4[0x1];_0x216aad[_0x477d('0x12af')]['welcomemessage']=_0x3914f4[_0x477d('0x9cd')](0x2,_0x3914f4[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case'amazonlex':var _0x3914f4=_0x216aad[_0x477d('0x12af')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x216aad['set'][_0x477d('0x127d')]=_0x3914f4[0x0];_0x216aad[_0x477d('0x12af')]['secretaccesskey']=_0x3914f4[0x1];_0x216aad[_0x477d('0x12af')][_0x477d('0x127f')]=_0x3914f4[0x2];_0x216aad['set'][_0x477d('0x1283')]=_0x3914f4[0x3];_0x216aad[_0x477d('0x12af')][_0x477d('0x127a')]=_0x3914f4[_0x477d('0x9cd')](0x4,_0x3914f4['length'])[_0x477d('0x3f6')](',');break;case _0x477d('0x1260'):var _0x3914f4=_0x216aad[_0x477d('0x12af')][_0x477d('0x12ae')]['split'](',');_0x216aad[_0x477d('0x12af')][_0x477d('0x1261')]=isNaN(_0x3914f4[0x0])?_0x3914f4[0x0]:parseInt(_0x3914f4[0x0],0xa);_0x216aad[_0x477d('0x12af')]['text']=_0x3914f4['slice'](0x1,_0x3914f4[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x452'):_0x216aad[_0x477d('0x12af')][_0x477d('0x41b')]=_0x216aad['set'][_0x477d('0x12ae')];break;case _0x477d('0x12af'):_0x216aad[_0x477d('0x12af')][_0x477d('0x94')]=_0x216aad['set'][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x0];_0x216aad['set']['value']=_0x216aad['set'][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x1];break;case'agi':_0x216aad[_0x477d('0x12af')][_0x477d('0xf13')]=_0x216aad[_0x477d('0x12af')][_0x477d('0x12ae')];break;default:var _0x3ab982=_0x216aad['set'][_0x477d('0x12ae')][_0x477d('0x472')]('=');_0x216aad[_0x477d('0x12af')][_0x477d('0x94')]=_['isEmpty'](_0x3ab982[0x0])?_0x3ab982[0x0]:isNaN(_0x3ab982[0x0])?_0x3ab982[0x0]:parseInt(_0x3ab982[0x0],0xa);_0x216aad['set'][_0x477d('0x3b6')]=_[_0x477d('0x3b2')](_0x3ab982[0x1])?_0x3ab982[0x1]:isNaN(_0x3ab982[0x1])?_0x3ab982[0x1]:parseInt(_0x3ab982[0x1],0xa);}}else{}if(_0x216aad[_0x477d('0x12af')][_0x477d('0x439')]&&_0x216aad[_0x477d('0x12af')]['type'][_0x477d('0x449')]()===_0x477d('0x127')&&_0x216aad[_0x477d('0x12af')][_0x477d('0x1294')][_0x477d('0x449')]()===_0x477d('0x12b1')){_0x216aad[_0x477d('0x12af')][_0x477d('0x6c0')]=_0x216aad[_0x477d('0x12af')][_0x477d('0xf46')]?_0x216aad[_0x477d('0x12af')]['phone'][_0x477d('0x472')]('$')[0x0]:undefined;_0x216aad[_0x477d('0x12af')][_0x477d('0x69b')]=_0x216aad[_0x477d('0x12af')]['callerID']?_0x477d('0x12b3')+_0x216aad['set'][_0x477d('0x12b2')]:undefined;}_0x216aad['saveInternalRouteApp']=_0x23ef28;_0x216aad[_0x477d('0x6bf')]=_0x6dbcdc;_0x211f63[_0x477d('0x56')](_0x477d('0x5f'))?_0x4d3ca8[_0x477d('0xbb9')]['get']({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':'true'})['$promise'][_0x477d('0x76')](function(_0x3fea31){_0x216aad['variables']=_0x3fea31[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x28ceef){_0x5bfeac[_0x477d('0x44a')]({'title':_0x28ceef[_0x477d('0x3c3')]?'API:'+_0x28ceef[_0x477d('0x3c3')]+'\x20-\x20'+_0x28ceef['statusText']:_0x477d('0x12e1'),'msg':_0x28ceef[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x28ceef[_0x477d('0x451')]):_0x28ceef[_0x477d('0x453')]()});}):_0x4d3ca8[_0x477d('0xbb9')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')]['then'](function(_0x522046){_0x216aad['variables']=_0x522046[_0x477d('0xf2')]||[];})['then'](function(){return _0x4d3ca8[_0x477d('0x3ac')]['get']({'userProfileId':_0x216aad[_0x477d('0x3e5')]['userProfileId'],'sectionId':0x3f4})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x53b069){var _0x3c73b4=_0x53b069&&_0x53b069[_0x477d('0xf2')]?_0x53b069[_0x477d('0xf2')][0x0]:null;if(!_0x3c73b4){var _0x4ecb50=[];var _0x377adf=null;if(_0x216aad[_0x477d('0x12af')]){_0x377adf=_[_0x477d('0x10a')](_0x216aad[_0x477d('0xf31')],{'name':_0x216aad['set'][_0x477d('0x94')]});}for(var _0x407daa=0x0;_0x407daa<_0x216aad[_0x477d('0xf31')][_0x477d('0x79')];_0x407daa++){if(_0x377adf&&_0x216aad[_0x477d('0xf31')][_0x407daa]['id']===_0x377adf['id']){_0x216aad[_0x477d('0xf31')][_0x407daa]['canSelect']=![];_0x4ecb50['push'](_0x216aad[_0x477d('0xf31')][_0x407daa]);}}_0x216aad[_0x477d('0xf31')]=_0x4ecb50;}else{if(!_0x3c73b4[_0x477d('0x3ad')]){return _0x4d3ca8['userProfileResource'][_0x477d('0x376')]({'sectionId':_0x3c73b4['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x597e67){var _0x4d6ae2=_['map'](_0x597e67['rows'],function(_0x2f504f){return _[_0x477d('0x10a')](_0x216aad[_0x477d('0xf31')],{'id':_0x2f504f[_0x477d('0x3af')]});});var _0x71d754=null;if(_0x216aad[_0x477d('0x12af')]){_0x71d754=_['find'](_0x216aad[_0x477d('0xf31')],{'name':_0x216aad['set']['name']});}if(_0x71d754&&!_[_0x477d('0x3ab')](_0x4d6ae2,['id',_0x71d754['id']])){var _0x28ddff=_[_0x477d('0x10a')](_0x216aad[_0x477d('0xf31')],{'id':_0x71d754['id']});_0x28ddff[_0x477d('0xf8b')]=![];_0x4d6ae2[_0x477d('0x3a7')](_0x28ddff);}_0x216aad[_0x477d('0xf31')]=_0x4d6ae2;});}}})[_0x477d('0xf8')](function(_0x11cb7c){_0x5bfeac[_0x477d('0x44a')]({'title':_0x11cb7c[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x11cb7c[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x11cb7c[_0x477d('0x44d')]:_0x477d('0x1936'),'msg':_0x11cb7c[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x11cb7c['data']):_0x11cb7c[_0x477d('0x453')]()});});function _0x23ef28(){_0x216aad[_0x477d('0xd67')]=[];var _0x801452=[];if(_0x216aad[_0x477d('0x12af')][_0x477d('0x439')]&&_0x216aad[_0x477d('0x12af')][_0x477d('0x439')][_0x477d('0x449')]()==='outbound'&&_0x216aad[_0x477d('0x12af')][_0x477d('0x1294')]===_0x477d('0x12b5')){_0x216aad[_0x477d('0x12af')][_0x477d('0xf46')]=_0x5d9593[_0x477d('0x12b6')]?(_0x216aad['set']['prefix']||'')+_0x477d('0x12b7')+_0x5d9593['cutdigits']+'}':(_0x216aad[_0x477d('0x12af')]['prefix']||'')+_0x477d('0x12b8');if(_0x5d9593[_0x477d('0x12b9')]!==_0x477d('0x496')){if(_0x216aad[_0x477d('0x12af')][_0x477d('0x43c')][_0x477d('0x477')](_0x477d('0x12ba'))<0x0){_0x216aad['set']['options']+=_0x477d('0x12ba');}}else{_0x216aad[_0x477d('0x12af')][_0x477d('0x43c')]=_0x216aad['set'][_0x477d('0x43c')][_0x477d('0x409')](_0x477d('0x12ba'),'');}}if(_0x216aad[_0x477d('0x12af')]['appType']&&_0x216aad[_0x477d('0x12af')][_0x477d('0x1294')]==='custom'){}else{switch((_0x216aad['set'][_0x477d('0x1291')]||_0x216aad[_0x477d('0x12af')]['appType'])[_0x477d('0x449')]()){case _0x477d('0x12af'):_0x216aad[_0x477d('0x12af')][_0x477d('0x12ae')]=_0x216aad['set'][_0x477d('0x94')]+'='+_0x216aad[_0x477d('0x12af')][_0x477d('0x3b6')];break;case _0x477d('0x9f6'):break;default:_0x801452[0x0]=_0x216aad['set'][_0x477d('0x94')];_0x801452[0x1]=_0x216aad[_0x477d('0x12af')]['value'];_0x216aad[_0x477d('0x12af')]['appdata']=_0x801452['join']('=');}}_0x6dbcdc(_0x216aad[_0x477d('0x12af')]);}function _0x6dbcdc(_0x3d2f44){_0x3df885[_0x477d('0x3bc')](_0x3d2f44);}}}());(function(){'use strict';_0x20cb40[_0x477d('0xa')]=[_0x477d('0x384'),'$q','toasty','internalrouteApp',_0x477d('0x259d'),_0x477d('0x386'),_0x477d('0x55'),'crudPermissions'];angular['module'](_0x477d('0x2f'))[_0x477d('0x3ba')](_0x477d('0x25c7'),_0x20cb40);function _0x20cb40(_0x459a80,_0x20106b,_0x531be6,_0x404ce4,_0x3d8dd1,_0x228b7d,_0x376944,_0x36cb1d){var _0x4ee24e=this;_0x4ee24e[_0x477d('0x3e5')]=_0x376944[_0x477d('0x5c')]();_0x4ee24e[_0x477d('0xd67')]=[];_0x4ee24e['title']=_0x477d('0x2577')+(_0x404ce4[_0x477d('0x1294')]||_0x404ce4[_0x477d('0x1291')])[_0x477d('0x44f')]();_0x4ee24e[_0x477d('0x255d')]=angular[_0x477d('0x6d9')](_0x404ce4);_0x4ee24e['crudPermissions']=_0x36cb1d;_0x4ee24e[_0x477d('0xd68')]={};if(_0x4ee24e[_0x477d('0x255d')][_0x477d('0x12ae')]){switch(_0x4ee24e[_0x477d('0x255d')][_0x477d('0x1294')]?_0x4ee24e['voicemail']['appType'][_0x477d('0x449')]():_0x4ee24e[_0x477d('0x255d')]['app'][_0x477d('0x449')]()){case'custom':break;case _0x477d('0x1266'):var _0x4dd527=_0x4ee24e[_0x477d('0x255d')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x4ee24e[_0x477d('0x255d')][_0x477d('0x670')]=_0x4dd527[0x0];_0x4ee24e['voicemail'][_0x477d('0x1267')]=_0x4dd527[0x1];_0x4ee24e[_0x477d('0x255d')][_0x477d('0x127a')]=_0x4dd527[_0x477d('0x9cd')](0x2,_0x4dd527[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x127c'):var _0x4dd527=_0x4ee24e[_0x477d('0x255d')]['appdata'][_0x477d('0x472')](',');_0x4ee24e[_0x477d('0x255d')][_0x477d('0x127d')]=_0x4dd527[0x0];_0x4ee24e[_0x477d('0x255d')][_0x477d('0x127e')]=_0x4dd527[0x1];_0x4ee24e[_0x477d('0x255d')][_0x477d('0x127f')]=_0x4dd527[0x2];_0x4ee24e[_0x477d('0x255d')][_0x477d('0x1283')]=_0x4dd527[0x3];_0x4ee24e[_0x477d('0x255d')][_0x477d('0x127a')]=_0x4dd527['slice'](0x4,_0x4dd527[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case'autoreply':var _0x4dd527=_0x4ee24e[_0x477d('0x255d')]['appdata'][_0x477d('0x472')](',');_0x4ee24e[_0x477d('0x255d')][_0x477d('0x1261')]=isNaN(_0x4dd527[0x0])?_0x4dd527[0x0]:parseInt(_0x4dd527[0x0],0xa);_0x4ee24e['voicemail'][_0x477d('0x41b')]=_0x4dd527[_0x477d('0x9cd')](0x1,_0x4dd527['length'])[_0x477d('0x3f6')](',');break;case _0x477d('0x452'):_0x4ee24e[_0x477d('0x255d')][_0x477d('0x41b')]=_0x4ee24e[_0x477d('0x255d')][_0x477d('0x12ae')];break;case'set':_0x4ee24e[_0x477d('0x255d')]['name']=_0x4ee24e[_0x477d('0x255d')][_0x477d('0x12ae')]['split']('=')[0x0];_0x4ee24e[_0x477d('0x255d')][_0x477d('0x3b6')]=_0x4ee24e[_0x477d('0x255d')][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x1];break;case _0x477d('0x12b0'):_0x4ee24e[_0x477d('0x255d')][_0x477d('0xf13')]=_0x4ee24e[_0x477d('0x255d')][_0x477d('0x12ae')];break;default:var _0x407233=_0x4ee24e[_0x477d('0x255d')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x4ee24e[_0x477d('0x255d')][_0x477d('0xa8c')]=_[_0x477d('0x3b2')](_0x407233[0x0])?_0x407233[0x0]:isNaN(_0x407233[0x0])?_0x407233[0x0]:parseInt(_0x407233[0x0],0xa);_0x4ee24e[_0x477d('0x255d')]['options']=_[_0x477d('0x3b2')](_0x407233[0x1])?_0x407233[0x1]:isNaN(_0x407233[0x1])?_0x407233[0x1]:parseInt(_0x407233[0x1],0xa);}}else{}if(_0x4ee24e['voicemail']['type']&&_0x4ee24e['voicemail']['type']['toLowerCase']()===_0x477d('0x127')&&_0x4ee24e[_0x477d('0x255d')][_0x477d('0x1294')][_0x477d('0x449')]()===_0x477d('0x12b1')){_0x4ee24e['voicemail'][_0x477d('0x6c0')]=_0x4ee24e[_0x477d('0x255d')][_0x477d('0xf46')]?_0x4ee24e[_0x477d('0x255d')][_0x477d('0xf46')]['split']('$')[0x0]:undefined;_0x4ee24e['voicemail']['callerId']=_0x4ee24e[_0x477d('0x255d')]['callerID']?_0x477d('0x12b3')+_0x4ee24e[_0x477d('0x255d')]['callerID']:undefined;}_0x4ee24e[_0x477d('0x25be')]=_0x1703b7;_0x4ee24e[_0x477d('0x6bf')]=_0x2ce676;_0x376944[_0x477d('0x56')](_0x477d('0x5f'))?_0x228b7d['voiceMail'][_0x477d('0x376')]({'fields':_0x477d('0x25b2'),'sort':'mailbox','nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')]['then'](function(_0x1a7c90){_0x4ee24e[_0x477d('0x255e')]=_0x1a7c90[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x26ccf5){_0x531be6[_0x477d('0x44a')]({'title':_0x26ccf5['status']?_0x477d('0x44b')+_0x26ccf5[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x26ccf5[_0x477d('0x44d')]:_0x477d('0x258a'),'msg':_0x26ccf5[_0x477d('0x451')]?JSON['stringify'](_0x26ccf5[_0x477d('0x451')]):_0x26ccf5[_0x477d('0x453')]()});}):_0x228b7d[_0x477d('0xa8c')][_0x477d('0x376')]({'fields':_0x477d('0x25b2'),'sort':_0x477d('0xf4e'),'nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')]['then'](function(_0x3fbdb0){_0x4ee24e[_0x477d('0x255e')]=_0x3fbdb0[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x228b7d[_0x477d('0x3ac')]['get']({'userProfileId':_0x4ee24e['currentUser'][_0x477d('0x61')],'sectionId':0x196})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x28d13b){var _0x31679a=_0x28d13b&&_0x28d13b[_0x477d('0xf2')]?_0x28d13b[_0x477d('0xf2')][0x0]:null;if(!_0x31679a){var _0x1161ca=[];var _0x55394d=null;if(_0x4ee24e[_0x477d('0x255d')]){_0x55394d=_['find'](_0x4ee24e[_0x477d('0x255e')],{'mailbox':_0x4ee24e[_0x477d('0x255d')]['voiceMail']});}for(var _0x135a21=0x0;_0x135a21<_0x4ee24e[_0x477d('0x255e')][_0x477d('0x79')];_0x135a21++){if(_0x55394d&&_0x4ee24e[_0x477d('0x255e')][_0x135a21]['id']===_0x55394d['id']){_0x4ee24e[_0x477d('0x255e')][_0x135a21]['canSelect']=![];_0x1161ca[_0x477d('0x3a7')](_0x4ee24e[_0x477d('0x255e')][_0x135a21]);}}_0x4ee24e[_0x477d('0x255e')]=_0x1161ca;}else{if(!_0x31679a[_0x477d('0x3ad')]){return _0x228b7d['userProfileResource'][_0x477d('0x376')]({'sectionId':_0x31679a['id']})['$promise']['then'](function(_0x344cea){var _0x5e2a31=_[_0x477d('0x3cb')](_0x344cea[_0x477d('0xf2')],function(_0x43ab31){return _['find'](_0x4ee24e[_0x477d('0x255e')],{'id':_0x43ab31[_0x477d('0x3af')]});});var _0x555eb7=null;if(_0x4ee24e['voicemail']){_0x555eb7=_[_0x477d('0x10a')](_0x4ee24e['voiceMails'],{'mailbox':_0x4ee24e['voicemail'][_0x477d('0xa8c')]});}if(_0x555eb7&&!_[_0x477d('0x3ab')](_0x5e2a31,['id',_0x555eb7['id']])){var _0x114c5d=_[_0x477d('0x10a')](_0x4ee24e[_0x477d('0x255e')],{'id':_0x555eb7['id']});_0x114c5d[_0x477d('0xf8b')]=![];_0x5e2a31['push'](_0x114c5d);}_0x4ee24e[_0x477d('0x255e')]=_0x5e2a31;});}}})['catch'](function(_0x196a74){_0x531be6[_0x477d('0x44a')]({'title':_0x196a74['status']?_0x477d('0x44b')+_0x196a74[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x196a74[_0x477d('0x44d')]:_0x477d('0x258b'),'msg':_0x196a74[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x196a74[_0x477d('0x451')]):_0x196a74['toString']()});});function _0x1703b7(){_0x4ee24e[_0x477d('0xd67')]=[];var _0x1b5287=[];if(_0x4ee24e['voicemail'][_0x477d('0x439')]&&_0x4ee24e[_0x477d('0x255d')][_0x477d('0x439')][_0x477d('0x449')]()==='outbound'&&_0x4ee24e[_0x477d('0x255d')][_0x477d('0x1294')]===_0x477d('0x12b5')){_0x4ee24e[_0x477d('0x255d')][_0x477d('0xf46')]=_0x3d8dd1['cutdigits']?(_0x4ee24e[_0x477d('0x255d')][_0x477d('0x6c0')]||'')+_0x477d('0x12b7')+_0x3d8dd1[_0x477d('0x12b6')]+'}':(_0x4ee24e['voicemail']['prefix']||'')+'${EXTEN}';if(_0x3d8dd1[_0x477d('0x12b9')]!=='none'){if(_0x4ee24e[_0x477d('0x255d')][_0x477d('0x43c')][_0x477d('0x477')](_0x477d('0x12ba'))<0x0){_0x4ee24e['voicemail'][_0x477d('0x43c')]+=_0x477d('0x12ba');}}else{_0x4ee24e[_0x477d('0x255d')]['options']=_0x4ee24e['voicemail'][_0x477d('0x43c')][_0x477d('0x409')](_0x477d('0x12ba'),'');}}if(_0x4ee24e[_0x477d('0x255d')]['appType']&&_0x4ee24e[_0x477d('0x255d')][_0x477d('0x1294')]===_0x477d('0x9f6')){}else{switch((_0x4ee24e['voicemail'][_0x477d('0x1291')]||_0x4ee24e[_0x477d('0x255d')][_0x477d('0x1294')])[_0x477d('0x449')]()){case _0x477d('0x12af'):_0x4ee24e['voicemail'][_0x477d('0x12ae')]=_0x4ee24e[_0x477d('0x255d')][_0x477d('0x94')]+'='+_0x4ee24e[_0x477d('0x255d')]['value'];break;case _0x477d('0x9f6'):break;default:_0x1b5287[0x0]=_0x4ee24e['voicemail'][_0x477d('0xa8c')];_0x1b5287[0x1]=_0x4ee24e['voicemail'][_0x477d('0x43c')];_0x4ee24e[_0x477d('0x255d')][_0x477d('0x12ae')]=_0x1b5287[_0x477d('0x3f6')](',');}}_0x2ce676(_0x4ee24e[_0x477d('0x255d')]);}function _0x2ce676(_0x349f5e){_0x459a80[_0x477d('0x3bc')](_0x349f5e);}}}());(function(){'use strict';_0x35a437['$inject']=['$state','$location','$mdDialog',_0x477d('0x475'),_0x477d('0x40d'),_0x477d('0x613'),_0x477d('0xc8e'),_0x477d('0x386'),_0x477d('0x40e'),_0x477d('0x55'),'internalroute','userProfileSection'];angular['module'](_0x477d('0x2f'))[_0x477d('0x3ba')](_0x477d('0x25c8'),_0x35a437);function _0x35a437(_0x37c65a,_0x1ef557,_0x37fad0,_0x32c6bc,_0x1a2682,_0x4d43bf,_0x441eec,_0x3cb0b2,_0x3354cb,_0x2ded34,_0x592ff2,_0xb54ae3){var _0x204787=this;_0x204787[_0x477d('0x3e5')]=_0x2ded34['getCurrentUser']();_0x204787[_0x477d('0x613')]=_0x4d43bf;_0x204787[_0x477d('0xc8e')]=_0x441eec;_0x204787[_0x477d('0xd69')]=_0x204787[_0x477d('0xc8e')]['securePassword']?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x204787[_0x477d('0x3cc')]=_0x1ef557['protocol']()+'://'+_0x1ef557[_0x477d('0x3c9')]();_0x204787[_0x477d('0x259d')]=_0x592ff2||_0x37c65a[_0x477d('0x37e')][_0x477d('0x259d')]||{};_0x204787['userProfileSection']=_0xb54ae3&&_0xb54ae3[_0x477d('0x3bb')]==0x1?_0xb54ae3[_0x477d('0xf2')][0x0]:null;_0x204787[_0x477d('0xd66')]=_0x2ded34['parseCrudPermissions'](_0x204787[_0x477d('0x3ac')]?_0x204787[_0x477d('0x3ac')]['crudPermissions']:null);_0x204787[_0x477d('0xd68')]={};_0x204787[_0x477d('0xe95')]=_0x37c65a[_0x477d('0x37e')][_0x477d('0xe96')]||0x0;_0x204787[_0x477d('0x120a')]=_0x3354cb[_0x477d('0x669')];_0x204787[_0x477d('0x25c9')]=_0x17c903;_0x204787[_0x477d('0x25a2')]=_0xacbcfb;_0x2ded34['hasRole'](_0x477d('0x5f'))?_0x3cb0b2[_0x477d('0xa6b')]['get']({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})['$promise'][_0x477d('0x76')](function(_0xed1d76){_0x204787[_0x477d('0xf32')]=_0xed1d76[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x2a5a93){_0x3354cb['error']({'title':_0x2a5a93['status']?_0x477d('0x44b')+_0x2a5a93[_0x477d('0x3c3')]+'\x20-\x20'+_0x2a5a93[_0x477d('0x44d')]:'SYSTEM:GET_CONTEXTS','msg':_0x2a5a93['data']?JSON[_0x477d('0x3fb')](_0x2a5a93['data']):_0x2a5a93[_0x477d('0x453')]()});}):_0x3cb0b2[_0x477d('0xa6b')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':'name','nolimit':'true'})[_0x477d('0x38b')]['then'](function(_0xbdd8f0){_0x204787[_0x477d('0xf32')]=_0xbdd8f0[_0x477d('0xf2')]||[];})['then'](function(){return _0x3cb0b2['userProfileSection'][_0x477d('0x376')]({'userProfileId':_0x204787['currentUser'][_0x477d('0x61')],'sectionId':0x195})['$promise'];})['then'](function(_0x4c6efd){var _0x3e5d8d=_0x4c6efd&&_0x4c6efd[_0x477d('0xf2')]?_0x4c6efd[_0x477d('0xf2')][0x0]:null;if(!_0x3e5d8d){return _0x3cb0b2[_0x477d('0xa6b')]['get']({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee'),'defaultEntry':0x1})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x39a4ed){_0x204787['contexts']=_0x39a4ed['rows']||[];});}else{if(!_0x3e5d8d['autoAssociation']){return _0x3cb0b2['userProfileResource'][_0x477d('0x376')]({'sectionId':_0x3e5d8d['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x2f6066){var _0x19620d=_[_0x477d('0x3cb')](_0x2f6066['rows'],function(_0x562bfd){return _[_0x477d('0x10a')](_0x204787[_0x477d('0xf32')],{'id':_0x562bfd['resourceId']});});var _0x1bccc9=null;if(_0x204787[_0x477d('0x259d')]){_0x1bccc9=_['find'](_0x204787[_0x477d('0xf32')],{'name':_0x204787[_0x477d('0x259d')]['context']});}if(_0x1bccc9&&!_[_0x477d('0x3ab')](_0x19620d,['id',_0x1bccc9['id']])){var _0x3a416f=_[_0x477d('0x10a')](_0x204787[_0x477d('0xf32')],{'id':_0x1bccc9['id']});_0x3a416f['canSelect']=![];_0x19620d[_0x477d('0x3a7')](_0x3a416f);}_0x204787[_0x477d('0xf32')]=_0x19620d;});}}})['catch'](function(_0x31b0fd){_0x3354cb[_0x477d('0x44a')]({'title':_0x31b0fd[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x31b0fd[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x31b0fd[_0x477d('0x44d')]:'SYSTEM:GETcontexts','msg':_0x31b0fd[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x31b0fd[_0x477d('0x451')]):_0x31b0fd['toString']()});});function _0x17c903(){_0x37c65a['go']('app.voice.internalroutes',{},{'reload':_0x477d('0x25ca')});}function _0xacbcfb(){_0x3cb0b2[_0x477d('0x21a5')][_0x477d('0x710')]({'id':_0x204787[_0x477d('0x259d')]['id']},_0x204787[_0x477d('0x259d')])[_0x477d('0x38b')][_0x477d('0x76')](function(){_0x3354cb[_0x477d('0x485')]({'title':'InternalRoute\x20updated!','msg':_0x204787[_0x477d('0x259d')][_0x477d('0x94')]?_0x204787[_0x477d('0x259d')]['name']+_0x477d('0xed7'):''});})['catch'](function(_0x1966e2){_0x3354cb['error']({'title':_0x1966e2[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x1966e2[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x1966e2['statusText']:_0x477d('0x258f'),'msg':_0x1966e2[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x1966e2['data']):_0x1966e2[_0x477d('0x453')]()});});}}}());(function(){'use strict';_0xd0ccd6[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x387'),'$state','$mdSidenav',_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x3fe'),_0x477d('0x40d'),_0x477d('0x259c'),_0x477d('0x3a5'),'userProfileSection',_0x477d('0x386'),_0x477d('0x342'),_0x477d('0x40e'),_0x477d('0x55'),_0x477d('0x613'),_0x477d('0xc8e')];angular[_0x477d('0xb')](_0x477d('0x2f'))[_0x477d('0x3ba')](_0x477d('0x25cb'),_0xd0ccd6);function _0xd0ccd6(_0x3492ac,_0x27387a,_0xff1c1d,_0x25ee93,_0x240103,_0x498dd6,_0x59d5d6,_0x34bd0f,_0x467239,_0x18be21,_0x23db97,_0xa9afc9,_0xe5926b,_0x4a351f,_0x43de2c,_0x267d0b,_0x5f1042){var _0x3b62d4=this;_0x3b62d4[_0x477d('0x613')]=_0x267d0b;_0x3b62d4[_0x477d('0xc8e')]=_0x5f1042;_0x3b62d4[_0x477d('0x3e5')]=_0x43de2c[_0x477d('0x5c')]();_0x3b62d4[_0x477d('0x259c')]=_0x467239||{'count':0x0,'rows':[]};_0x3b62d4[_0x477d('0x3a5')]=_0x18be21;_0x3b62d4[_0x477d('0x3ac')]=_0x23db97&&_0x23db97[_0x477d('0x3bb')]==0x1?_0x23db97['rows'][0x0]:null;_0x3b62d4[_0x477d('0xd66')]=_0x43de2c[_0x477d('0xd81')](_0x3b62d4['userProfileSection']?_0x3b62d4[_0x477d('0x3ac')][_0x477d('0xd66')]:null);_0x3b62d4[_0x477d('0xd82')]=_0x477d('0x259c');_0x3b62d4[_0x477d('0xd83')]='';_0x3b62d4[_0x477d('0xd84')]=null;_0x3b62d4[_0x477d('0x25cc')]=[];_0x3b62d4[_0x477d('0x3ef')]={'fields':_0x477d('0x315'),'type':_0x477d('0x324'),'sort':'-updatedAt','VoiceExtensionId':_0x477d('0xea'),'limit':0xa,'page':0x1};_0x3b62d4[_0x477d('0xea6')]=_0x3ccc74;_0x3b62d4['deleteconfirm']=_0x25d6ff;_0x3b62d4[_0x477d('0x485')]=_0x373456;_0x3b62d4[_0x477d('0x25cd')]=_0x31cf31;_0x3b62d4[_0x477d('0x25ce')]=_0x1e4337;_0x3b62d4['deleteInternalRoute']=_0x4ec38a;_0x3b62d4[_0x477d('0x25cf')]=_0x9cbffd;_0x3b62d4[_0x477d('0x25d0')]=_0x28809e;_0x3b62d4[_0x477d('0x25d1')]=_0x29dded;_0x3b62d4[_0x477d('0x25d2')]=_0x225234;_0x43de2c[_0x477d('0x56')]('admin')?_0xa9afc9[_0x477d('0xa6b')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':'name','nolimit':_0x477d('0x2ee')})['$promise']['then'](function(_0x1bbf98){_0x3b62d4[_0x477d('0xf32')]=_0x1bbf98[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x75f0d3){_0x4a351f[_0x477d('0x44a')]({'title':_0x75f0d3['status']?_0x477d('0x44b')+_0x75f0d3[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x75f0d3[_0x477d('0x44d')]:_0x477d('0x212b'),'msg':_0x75f0d3['data']?JSON['stringify'](_0x75f0d3['data']):_0x75f0d3['toString']()});}):_0xa9afc9['voiceContext'][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':'name','nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x4aa8bb){_0x3b62d4['contexts']=_0x4aa8bb[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0xa9afc9[_0x477d('0x3ac')]['get']({'userProfileId':_0x3b62d4[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x195})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x371559){var _0x1f976b=_0x371559&&_0x371559[_0x477d('0xf2')]?_0x371559[_0x477d('0xf2')][0x0]:null;if(!_0x1f976b){return _0xa9afc9[_0x477d('0xa6b')]['get']({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee'),'defaultEntry':0x1})['$promise']['then'](function(_0x32827e){_0x3b62d4['contexts']=_0x32827e[_0x477d('0xf2')]||[];});}else{if(!_0x1f976b[_0x477d('0x3ad')]){return _0xa9afc9[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x1f976b['id']})['$promise'][_0x477d('0x76')](function(_0x198c06){var _0x15e0fd=_[_0x477d('0x3cb')](_0x198c06[_0x477d('0xf2')],function(_0x24abfb){return _[_0x477d('0x10a')](_0x3b62d4[_0x477d('0xf32')],{'id':_0x24abfb[_0x477d('0x3af')]});});var _0x5dc32a=null;if(_0x3b62d4[_0x477d('0x259d')]){_0x5dc32a=_['find'](_0x3b62d4['contexts'],{'name':_0x3b62d4['internalroute']['context']});}if(_0x5dc32a&&!_['some'](_0x15e0fd,['id',_0x5dc32a['id']])){var _0x52ea16=_[_0x477d('0x10a')](_0x3b62d4[_0x477d('0xf32')],{'id':_0x5dc32a['id']});_0x52ea16['canSelect']=![];_0x15e0fd[_0x477d('0x3a7')](_0x52ea16);}_0x3b62d4['contexts']=_0x15e0fd;});}}})[_0x477d('0xf8')](function(_0x12958d){_0x4a351f['error']({'title':_0x12958d[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x12958d[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x12958d[_0x477d('0x44d')]:_0x477d('0x215b'),'msg':_0x12958d[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x12958d[_0x477d('0x451')]):_0x12958d[_0x477d('0x453')]()});});function _0x3ccc74(_0x475cdf,_0x6e2a13){_0xff1c1d['go'](_0x477d('0x326'),{'id':_0x475cdf['id'],'internalroute':_0x475cdf,'crudPermissions':_0x3b62d4[_0x477d('0xd66')]});}function _0x25d6ff(_0xb74bec,_0x562d45){var _0x334230=_0x240103[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xd90')+_['startCase'](_0x477d('0x259d'))+'?')[_0x477d('0xd92')](''+(_0xb74bec[_0x477d('0x94')]||_0x477d('0x259d'))+_0x477d('0xd94')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x25d3'))[_0x477d('0xd7c')](_0x562d45)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x240103[_0x477d('0x395')](_0x334230)[_0x477d('0x76')](function(){_0x4ec38a(_0xb74bec);},function(){console['log'](_0x477d('0xd97'));});}var _0x49d2e1=!![];var _0x5b127b=0x1;_0x3492ac[_0x477d('0x4b5')](_0x477d('0xd98'),function(_0x1339c5,_0x413952){if(_0x49d2e1){_0x59d5d6(function(){_0x49d2e1=![];});}else{if(!_0x413952){_0x5b127b=_0x3b62d4[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x1339c5!==_0x413952){_0x3b62d4['query'][_0x477d('0xe03')]=0x1;}if(!_0x1339c5){_0x3b62d4[_0x477d('0x3ef')][_0x477d('0xe03')]=_0x5b127b;}_0x3b62d4[_0x477d('0x25cd')]();}});function _0x373456(_0x31fb1b){_0x3b62d4[_0x477d('0x259c')]=_0x31fb1b||{'count':0x0,'rows':[]};}function _0x31cf31(){_0x3b62d4[_0x477d('0x3ef')][_0x477d('0x91c')]=(_0x3b62d4[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x3b62d4['query'][_0x477d('0x91d')];if(_0x43de2c[_0x477d('0x56')](_0x477d('0x5f'))){_0x3b62d4['promise']=_0xa9afc9['voiceExtension'][_0x477d('0x376')](_0x3b62d4[_0x477d('0x3ef')],_0x373456)['$promise'];}else{_0x3b62d4[_0x477d('0x3ef')]['id']=_0x3b62d4[_0x477d('0x3a5')]['id'];_0x3b62d4[_0x477d('0x3ef')][_0x477d('0xd99')]='InternalRoutes';_0x3b62d4[_0x477d('0x553')]=_0xa9afc9[_0x477d('0x3a5')][_0x477d('0xd9a')](_0x3b62d4[_0x477d('0x3ef')],_0x373456)['$promise'];}}function _0x1e4337(_0x482490,_0x4605eb){_0x240103[_0x477d('0x395')]({'controller':_0x477d('0x259e'),'controllerAs':'vm','templateUrl':_0x477d('0x25d4'),'parent':angular[_0x477d('0x398')](_0x498dd6['body']),'targetEvent':_0x482490,'clickOutsideToClose':!![],'locals':{'internalroute':_0x4605eb,'internalroutes':_0x3b62d4['internalroutes']['rows'],'license':_0x3b62d4[_0x477d('0x613')],'setting':_0x3b62d4['setting'],'crudPermissions':_0x3b62d4['crudPermissions']}});}function _0x4ec38a(_0x5c1588){_0xa9afc9[_0x477d('0x21a5')][_0x477d('0xa55')]({'id':_0x5c1588['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x3b62d4[_0x477d('0x259c')]['rows'],{'id':_0x5c1588['id']});_0x3b62d4['internalroutes'][_0x477d('0x3bb')]-=0x1;if(!_0x3b62d4[_0x477d('0x259c')][_0x477d('0xf2')][_0x477d('0x79')]){_0x3b62d4['getInternalRoutes']();}_0x4a351f[_0x477d('0x485')]({'title':_['startCase']('InternalRoute')+_0x477d('0xd9d'),'msg':_0x5c1588[_0x477d('0x94')]?_0x5c1588[_0x477d('0x94')]+_0x477d('0xd7e'):''});})[_0x477d('0xf8')](function(_0x29d4f9){if(_0x29d4f9[_0x477d('0x451')]&&_0x29d4f9[_0x477d('0x451')][_0x477d('0xd67')]&&_0x29d4f9[_0x477d('0x451')][_0x477d('0xd67')]['length']){_0x3b62d4[_0x477d('0xd67')]=_0x29d4f9['data'][_0x477d('0xd67')]||[{'message':_0x29d4f9[_0x477d('0x453')](),'type':_0x477d('0x259a')}];for(var _0x31211c=0x0;_0x31211c<_0x29d4f9[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x31211c++){_0x4a351f[_0x477d('0x44a')]({'title':_0x29d4f9[_0x477d('0x451')]['errors'][_0x31211c][_0x477d('0x439')],'msg':_0x29d4f9[_0x477d('0x451')]['errors'][_0x31211c]['message']});}}else{_0x4a351f[_0x477d('0x44a')]({'title':_0x29d4f9[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x29d4f9['status']+_0x477d('0x44c')+_0x29d4f9[_0x477d('0x44d')]:_0x477d('0x259a'),'msg':_0x29d4f9['data']?JSON[_0x477d('0x3fb')](_0x29d4f9[_0x477d('0x451')][_0x477d('0x452')]):_0x29d4f9[_0x477d('0x452')]||_0x29d4f9['toString']()});}});}function _0x9cbffd(){var _0x1c70cf=angular[_0x477d('0x6d9')](_0x3b62d4[_0x477d('0x25cc')]);_0x3b62d4[_0x477d('0x25cc')]=[];return _0x1c70cf;}function _0x28809e(_0x172666){var _0x573ec7=_0x240103[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x25d5'))[_0x477d('0xd92')](_0x477d('0xd93')+_0x3b62d4[_0x477d('0x25cc')]['length']+_0x477d('0xda0')+_0x477d('0xd95'))['ariaLabel'](_0x477d('0x25d6'))[_0x477d('0xd7c')](_0x172666)['ok']('OK')['cancel'](_0x477d('0xd97'));_0x240103[_0x477d('0x395')](_0x573ec7)[_0x477d('0x76')](function(){_0x3b62d4[_0x477d('0x25cc')]['forEach'](function(_0x43319b){_0x4ec38a(_0x43319b);});_0x3b62d4[_0x477d('0x25cc')]=[];});}function _0x29dded(){_0x3b62d4[_0x477d('0x25cc')]=[];}function _0x225234(){_0x3b62d4['selectedInternalRoutes']=_0x3b62d4[_0x477d('0x259c')]['rows'];}}}());(function(){'use strict';_0x54114e[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x3c4'),_0x477d('0xd64'),'$mdDialog','$q',_0x477d('0x40d'),_0x477d('0x40e'),'musiconholds',_0x477d('0x1e82'),'api',_0x477d('0x55'),'license',_0x477d('0xc8e'),_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x2f'))[_0x477d('0x3ba')](_0x477d('0x25d7'),_0x54114e);function _0x54114e(_0x23142c,_0xfb7269,_0x433064,_0x4ca953,_0x2dd164,_0x4e59d8,_0x1ecd51,_0x4fc497,_0x23cb93,_0x4e5f55,_0x1131f8,_0x22795c,_0x2b0e4,_0x3e09a7){var _0x48307c=this;_0x48307c[_0x477d('0x3e5')]=_0x1131f8[_0x477d('0x5c')]();_0x48307c['errors']=[];_0x48307c[_0x477d('0xc8e')]=_0x2b0e4;_0x48307c[_0x477d('0x613')]=_0x22795c;_0x48307c[_0x477d('0xd66')]=_0x3e09a7;_0x48307c[_0x477d('0xd68')]={};_0x48307c[_0x477d('0xd69')]=_0x48307c[_0x477d('0xc8e')]&&_0x48307c[_0x477d('0xc8e')][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x48307c[_0x477d('0x49a')]='VOICE.EDIT_MUSICONHOLD';_0x48307c[_0x477d('0x1e82')]=angular[_0x477d('0x6d9')](_0x23cb93);_0x48307c['musiconholds']=_0x4fc497;_0x48307c[_0x477d('0x25d8')]=![];if(!_0x48307c[_0x477d('0x1e82')]){_0x48307c['musiconhold']={'mode':_0x477d('0x25d9')};_0x48307c['title']=_0x477d('0x25da');_0x48307c[_0x477d('0x25d8')]=!![];}_0x48307c['addNewMusicOnHold']=_0x36c940;_0x48307c[_0x477d('0x25db')]=_0x58886b;_0x48307c[_0x477d('0x25dc')]=_0x5cc4dd;_0x48307c[_0x477d('0xd6f')]=_0x464807;_0x48307c[_0x477d('0x6bf')]=_0x1ad1a3;function _0x36c940(){_0x48307c[_0x477d('0xd67')]=[];_0x4e5f55['voiceMusicOnHold']['save'](_0x48307c[_0x477d('0x1e82')])[_0x477d('0x38b')]['then'](function(_0x4547e2){_0x48307c[_0x477d('0x1e80')][_0x477d('0x63b')](_0x4547e2[_0x477d('0xd71')]());_0x1ecd51['success']({'title':_0x477d('0x25dd'),'msg':_0x48307c['musiconhold'][_0x477d('0x94')]?_0x48307c['musiconhold'][_0x477d('0x94')]+_0x477d('0xd73'):''});_0x1ad1a3(_0x4547e2);})[_0x477d('0xf8')](function(_0x4832ce){if(_0x4832ce[_0x477d('0x451')]&&_0x4832ce[_0x477d('0x451')][_0x477d('0xd67')]&&_0x4832ce[_0x477d('0x451')][_0x477d('0xd67')]['length']){_0x48307c[_0x477d('0xd67')]=_0x4832ce[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x4832ce[_0x477d('0x453')](),'type':_0x477d('0x25de')}];for(var _0x220bf7=0x0;_0x220bf7<_0x4832ce['data'][_0x477d('0xd67')][_0x477d('0x79')];_0x220bf7+=0x1){_0x1ecd51[_0x477d('0x44a')]({'title':_0x4832ce['data'][_0x477d('0xd67')][_0x220bf7][_0x477d('0x439')],'msg':_0x4832ce[_0x477d('0x451')]['errors'][_0x220bf7]['message']});}}else{_0x1ecd51['error']({'title':_0x4832ce['status']?'API:'+_0x4832ce[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x4832ce['statusText']:_0x477d('0x25de'),'msg':_0x4832ce[_0x477d('0x451')]?JSON['stringify'](_0x4832ce['data'][_0x477d('0x452')]):_0x4832ce[_0x477d('0x453')]()});}});}function _0x58886b(){_0x48307c[_0x477d('0xd67')]=[];_0x4e5f55[_0x477d('0xa71')][_0x477d('0x710')]({'id':_0x48307c[_0x477d('0x1e82')]['id']},_0x48307c['musiconhold'])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x2809ba){var _0x5a1a06=_[_0x477d('0x10a')](_0x48307c['musiconholds'],{'id':_0x2809ba['id']});if(_0x5a1a06){_[_0x477d('0xef')](_0x5a1a06,_[_0x477d('0x10b')](_0x2809ba[_0x477d('0xd71')](),_[_0x477d('0x7f')](_0x5a1a06)));}_0x1ecd51[_0x477d('0x485')]({'title':_0x477d('0x25df'),'msg':_0x48307c[_0x477d('0x1e82')][_0x477d('0x94')]?_0x48307c[_0x477d('0x1e82')][_0x477d('0x94')]+_0x477d('0xd76'):''});_0x1ad1a3(_0x2809ba);})[_0x477d('0xf8')](function(_0x4d8cbf){if(_0x4d8cbf[_0x477d('0x451')]&&_0x4d8cbf['data'][_0x477d('0xd67')]&&_0x4d8cbf[_0x477d('0x451')][_0x477d('0xd67')]['length']){_0x48307c[_0x477d('0xd67')]=_0x4d8cbf['data']['errors']||[{'message':_0x4d8cbf[_0x477d('0x453')](),'type':_0x477d('0x25e0')}];for(var _0x2a4129=0x0;_0x2a4129<_0x4d8cbf['data'][_0x477d('0xd67')][_0x477d('0x79')];_0x2a4129++){_0x1ecd51[_0x477d('0x44a')]({'title':_0x4d8cbf[_0x477d('0x451')][_0x477d('0xd67')][_0x2a4129][_0x477d('0x439')],'msg':_0x4d8cbf['data']['errors'][_0x2a4129]['message']});}}else{_0x1ecd51['error']({'title':_0x4d8cbf[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x4d8cbf[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x4d8cbf[_0x477d('0x44d')]:'api.voiceMusicOnHold.update','msg':_0x4d8cbf[_0x477d('0x451')]?JSON['stringify'](_0x4d8cbf['data'][_0x477d('0x452')]):_0x4d8cbf[_0x477d('0x453')]()});}});}function _0x5cc4dd(_0x4a933f){_0x48307c['errors']=[];var _0x259a1b=_0x4ca953[_0x477d('0xd78')]()[_0x477d('0x49a')]('Are\x20you\x20sure?')[_0x477d('0xdaf')]('The\x20musiconhold\x20will\x20be\x20deleted.')[_0x477d('0x687')]('Delete\x20MusicOnHold')['ok'](_0x477d('0xd7b'))['cancel'](_0x477d('0x688'))[_0x477d('0xd7c')](_0x4a933f);_0x4ca953[_0x477d('0x395')](_0x259a1b)[_0x477d('0x76')](function(){_0x4e5f55[_0x477d('0xa71')][_0x477d('0xa55')]({'id':_0x48307c['musiconhold']['id']})[_0x477d('0x38b')]['then'](function(){_['remove'](_0x48307c[_0x477d('0x1e80')],{'id':_0x48307c[_0x477d('0x1e82')]['id']});_0x1ecd51[_0x477d('0x485')]({'title':_0x477d('0x25e1'),'msg':(_0x48307c[_0x477d('0x1e82')]['name']||_0x477d('0x1e82'))+_0x477d('0xd7e')});_0x1ad1a3(_0x48307c[_0x477d('0x1e82')]);})[_0x477d('0xf8')](function(_0x293c1f){if(_0x293c1f[_0x477d('0x451')]&&_0x293c1f[_0x477d('0x451')][_0x477d('0xd67')]&&_0x293c1f[_0x477d('0x451')]['errors'][_0x477d('0x79')]){_0x48307c['errors']=_0x293c1f[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x293c1f[_0x477d('0x453')](),'type':_0x477d('0x25e2')}];for(var _0x2d8a20=0x0;_0x2d8a20<_0x293c1f[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x2d8a20++){_0x1ecd51[_0x477d('0x44a')]({'title':_0x293c1f[_0x477d('0x451')][_0x477d('0xd67')][_0x2d8a20][_0x477d('0x439')],'msg':_0x293c1f[_0x477d('0x451')][_0x477d('0xd67')][_0x2d8a20][_0x477d('0x452')]});}}else{_0x1ecd51['error']({'title':_0x293c1f['status']?_0x477d('0x44b')+_0x293c1f[_0x477d('0x3c3')]+'\x20-\x20'+_0x293c1f[_0x477d('0x44d')]:_0x477d('0x25e2'),'msg':_0x293c1f['data']?JSON['stringify'](_0x293c1f['data'][_0x477d('0x452')]):_0x293c1f['message']||_0x293c1f[_0x477d('0x453')]()});}});},function(){});}function _0x464807(_0x18b887){return _0x18b887===null?undefined:new Date(_0x18b887);}function _0x1ad1a3(_0x55eefc){_0x4ca953[_0x477d('0x3bc')](_0x55eefc);}}}());(function(){'use strict';_0x4b1192[_0x477d('0xa')]=[_0x477d('0x385'),'$scope',_0x477d('0x3c4'),'$q',_0x477d('0x40d'),'$timeout','$mdDialog','$document','toasty',_0x477d('0x386'),_0x477d('0x55')];angular[_0x477d('0xb')](_0x477d('0x2f'))[_0x477d('0x3ba')](_0x477d('0x25e3'),_0x4b1192);function _0x4b1192(_0xf773fa,_0x3fdda0,_0x2718e0,_0x6cf86c,_0x3f708c,_0x2cb223,_0x23cbf1,_0x3ef9e1,_0x18d042,_0x50e4b7,_0x5e3df4){var _0x10a5aa=this;_0x10a5aa['currentUser']=_0x5e3df4[_0x477d('0x5c')]();_0x10a5aa[_0x477d('0x1e82')]={};_0x10a5aa[_0x477d('0x25e4')]={'count':0x0,'rows':[]};_0x10a5aa[_0x477d('0x25e5')]=[];_0x10a5aa[_0x477d('0xd66')];_0x10a5aa['query']={'fields':_0x477d('0x25e6'),'limit':0xa,'page':0x1};_0x10a5aa[_0x477d('0x5ee')]=_0x810d68;_0x10a5aa[_0x477d('0xe66')]=_0x15d161;_0x10a5aa[_0x477d('0x25e7')]=_0x5f5be2;_0x10a5aa[_0x477d('0x485')]=_0x15bdc0;_0x10a5aa['getMusicOnHoldMohSounds']=_0x3052e4;_0x10a5aa[_0x477d('0x25e8')]=_0x15b80f;_0x10a5aa['exportSelectedMusicOnHoldMohSounds']=_0x31505e;_0x10a5aa[_0x477d('0x25e9')]=_0x18ab94;_0x10a5aa[_0x477d('0x25ea')]=_0x568d4c;_0x5e3df4[_0x477d('0x56')](_0x477d('0x5f'))?_0x50e4b7[_0x477d('0x15c9')]['get']({'fields':_0x477d('0x9c'),'sort':'name'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x233cc5){_0x10a5aa[_0x477d('0xf30')]=_0x233cc5[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x2c2578){_0x18d042[_0x477d('0x44a')]({'title':_0x2c2578[_0x477d('0x3c3')]?'API:'+_0x2c2578[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x2c2578[_0x477d('0x44d')]:_0x477d('0x2586'),'msg':_0x2c2578['data']?JSON['stringify'](_0x2c2578['data']):_0x2c2578['toString']()});}):_0x50e4b7[_0x477d('0x15c9')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':'name'})['$promise'][_0x477d('0x76')](function(_0x22680a){_0x10a5aa[_0x477d('0xf30')]=_0x22680a[_0x477d('0xf2')]||[];})['then'](function(){return _0x50e4b7['userProfileSection'][_0x477d('0x376')]({'userProfileId':_0x10a5aa[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x3ef})[_0x477d('0x38b')];})['then'](function(_0x42551a){var _0x55e835=_0x42551a&&_0x42551a[_0x477d('0xf2')]?_0x42551a[_0x477d('0xf2')][0x0]:null;if(!_0x55e835){var _0x67338e=[];var _0x2a9e07=null;if(_0x10a5aa[_0x477d('0x1e82')]){_0x2a9e07=_[_0x477d('0x10a')](_0x10a5aa[_0x477d('0xf30')],{'id':Number(_0x10a5aa[_0x477d('0x1e82')]['id'])});}for(var _0x116ebe=0x0;_0x116ebe<_0x10a5aa[_0x477d('0xf30')][_0x477d('0x79')];_0x116ebe++){if(_0x2a9e07&&_0x10a5aa['sounds'][_0x116ebe]['id']===_0x2a9e07['id']){_0x10a5aa['sounds'][_0x116ebe][_0x477d('0xf8b')]=![];_0x67338e[_0x477d('0x3a7')](_0x10a5aa[_0x477d('0xf30')][_0x116ebe]);}}_0x10a5aa[_0x477d('0xf30')]=_0x67338e;}else{if(!_0x55e835['autoAssociation']){return _0x50e4b7[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x55e835['id']})[_0x477d('0x38b')]['then'](function(_0x477dc7){var _0x3b106c=_['map'](_0x477dc7[_0x477d('0xf2')],function(_0x42cdca){return _[_0x477d('0x10a')](_0x10a5aa[_0x477d('0xf30')],{'id':_0x42cdca[_0x477d('0x3af')]});});var _0x1e5a0f=null;if(_0x10a5aa[_0x477d('0x1e82')]){_0x1e5a0f=_[_0x477d('0x10a')](_0x10a5aa['sounds'],{'id':Number(_0x10a5aa[_0x477d('0x1e82')]['id'])});}if(_0x1e5a0f&&!_[_0x477d('0x3ab')](_0x3b106c,['id',_0x1e5a0f['id']])){var _0x183752=_['find'](_0x10a5aa[_0x477d('0xf30')],{'id':_0x1e5a0f['id']});_0x183752[_0x477d('0xf8b')]=![];_0x3b106c[_0x477d('0x3a7')](_0x183752);}_0x10a5aa['sounds']=_0x3b106c;});}}})[_0x477d('0xf8')](function(_0x51514f){_0x18d042[_0x477d('0x44a')]({'title':_0x51514f[_0x477d('0x3c3')]?'API:'+_0x51514f['status']+_0x477d('0x44c')+_0x51514f[_0x477d('0x44d')]:_0x477d('0x2584'),'msg':_0x51514f[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x51514f[_0x477d('0x451')]):_0x51514f[_0x477d('0x453')]()});});function _0x810d68(_0x48b17c,_0x3dd793){_0x10a5aa[_0x477d('0x1e82')]=_0x48b17c;_0x10a5aa[_0x477d('0xd66')]=typeof _0x3dd793!==_0x477d('0x4a4')?_0x3dd793:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x10a5aa[_0x477d('0x3ef')][_0x477d('0x25eb')]=_0x10a5aa[_0x477d('0x1e82')]['id'];_0x10a5aa[_0x477d('0x3ef')]['id']=_0x10a5aa[_0x477d('0x1e82')]['id'];_0x3052e4();}function _0x5f5be2(_0x19d543,_0x2c04ac,_0x31511d){return _0x50e4b7[_0x477d('0x15c9')][_0x477d('0x49d')]({'id':_0x19d543['id'],'exists':!![],'attachments':_0x31511d})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x3752ec){var _0x4e084e=[_0x3752ec[_0x477d('0x49e')]];var _0x837ac0=_0x477d('0x25ec')+_0x19d543['id'];var _0x1a879c=new Blob(_0x4e084e,{'type':_0x3752ec[_0x477d('0x439')]});_0x837ac0=_0x19d543['converted_format']?_0x19d543[_0x477d('0x2304')]+'.'+_0x19d543[_0x477d('0x2305')]:_0x19d543['save_name'];var _0x25d036=window['document'][_0x477d('0x3c7')]('a');_0x25d036[_0x477d('0x494')](_0x477d('0x3c8'),URL['createObjectURL'](_0x1a879c));_0x25d036['setAttribute'](_0x477d('0x49d'),_0x837ac0);document[_0x477d('0x399')]['appendChild'](_0x25d036);_0x25d036[_0x477d('0x540')]();})[_0x477d('0xf8')](function(_0x23e745){if(_0x23e745[_0x477d('0x451')]&&_0x23e745['data']['errors']&&_0x23e745[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){for(var _0x52eb1f=0x0;_0x52eb1f<_0x23e745[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x52eb1f+=0x1){_0x18d042['error']({'title':_0x23e745[_0x477d('0x451')]['errors'][_0x52eb1f][_0x477d('0x439')],'msg':_0x23e745['data'][_0x477d('0xd67')][_0x52eb1f][_0x477d('0x452')]});}}else{_0x18d042[_0x477d('0x44a')]({'title':_0x23e745[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x23e745[_0x477d('0x3c3')]+'\x20-\x20'+_0x23e745[_0x477d('0x44d')]:_0x477d('0x25de'),'msg':_0x23e745[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x23e745[_0x477d('0x451')][_0x477d('0x452')]):_0x23e745[_0x477d('0x453')]()});}});}function _0x15d161(_0x246ab5,_0x4a5dc3){var _0x14bd30=_0x23cbf1[_0x477d('0xd78')]()[_0x477d('0x49a')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20mohSound?')[_0x477d('0xd92')](_0x477d('0xd93')+(_0x246ab5['name']||_0x246ab5['id']&&_[_0x477d('0x1367')]('mohSound\x20#')+_0x246ab5['id']||_0x477d('0x25ec'))+''+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x25ed'))[_0x477d('0xd7c')](_0x4a5dc3)['ok']('OK')['cancel'](_0x477d('0xd97'));_0x23cbf1['show'](_0x14bd30)[_0x477d('0x76')](function(){_0x18ab94(_0x246ab5);},function(){console['log']('CANCEL');});}function _0x15bdc0(_0x213b33){_0x10a5aa[_0x477d('0x25e4')]=_0x213b33||{'count':0x0,'rows':[]};}function _0x3052e4(){_0x10a5aa[_0x477d('0x3ef')][_0x477d('0x91c')]=(_0x10a5aa[_0x477d('0x3ef')]['page']-0x1)*_0x10a5aa['query'][_0x477d('0x91d')];_0x10a5aa[_0x477d('0x553')]=_0x50e4b7[_0x477d('0xa71')][_0x477d('0x22fe')](_0x10a5aa['query'],_0x15bdc0)[_0x477d('0x38b')];}function _0x15b80f(_0x5a223e,_0x342614){_0x23cbf1[_0x477d('0x395')]({'controller':'CreateOrEditMohSoundDialogController','controllerAs':'vm','templateUrl':_0x477d('0x25ee'),'parent':angular[_0x477d('0x398')](_0x3ef9e1[_0x477d('0x399')]),'targetEvent':_0x5a223e,'clickOutsideToClose':!![],'locals':{'musiconhold':_0x10a5aa[_0x477d('0x1e82')],'mohSound':_0x342614,'mohSounds':_0x10a5aa[_0x477d('0x25e4')][_0x477d('0xf2')],'license':null,'setting':null,'crudPermissions':_0x10a5aa[_0x477d('0xd66')]}});}function _0x18ab94(_0x195128){_0x50e4b7['voiceMusicOnHold'][_0x477d('0x25ef')]({'id':_0x2718e0[_0x477d('0x37e')]['id'],'id2':_0x195128['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x10a5aa[_0x477d('0x25e4')][_0x477d('0xf2')],{'id':_0x195128['id']});_0x10a5aa[_0x477d('0x25e4')]['count']-=0x1;if(!_0x10a5aa['musiconholdMohSounds'][_0x477d('0xf2')][_0x477d('0x79')]){_0x3052e4();}_0x18d042[_0x477d('0x485')]({'title':_0x477d('0x25f0'),'msg':_0x195128[_0x477d('0x94')]?_0x195128['name']+_0x477d('0xd7e'):''});})['catch'](function(_0x25c743){if(_0x25c743[_0x477d('0x451')]&&_0x25c743[_0x477d('0x451')][_0x477d('0xd67')]&&_0x25c743[_0x477d('0x451')][_0x477d('0xd67')]['length']){vm['errors']=_0x25c743[_0x477d('0x451')]['errors']||[{'message':_0x25c743[_0x477d('0x453')](),'type':_0x477d('0x25f1')}];for(var _0x47d2f4=0x0;_0x47d2f4<_0x25c743[_0x477d('0x451')]['errors']['length'];_0x47d2f4++){_0x18d042[_0x477d('0x44a')]({'title':_0x25c743[_0x477d('0x451')]['errors'][_0x47d2f4]['type'],'msg':_0x25c743[_0x477d('0x451')][_0x477d('0xd67')][_0x47d2f4][_0x477d('0x452')]});}}else{_0x18d042[_0x477d('0x44a')]({'title':_0x25c743[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x25c743[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x25c743[_0x477d('0x44d')]:'SYSTEM:GETvoiceMusicOnHold','msg':_0x25c743['data']?JSON[_0x477d('0x3fb')](_0x25c743[_0x477d('0x451')][_0x477d('0x452')]):_0x25c743['message']||_0x25c743['toString']()});}});}function _0x31505e(){var _0x4dace6=angular[_0x477d('0x6d9')](_0x10a5aa[_0x477d('0x25e5')]);_0x10a5aa[_0x477d('0x25e5')]=[];return _0x4dace6;}function _0x568d4c(_0x2d2482){var _0x140aac=_0x23cbf1['confirm']()['title']('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20selected\x20mohSounds?')[_0x477d('0xd92')](''+_0x10a5aa[_0x477d('0x25e5')][_0x477d('0x79')]+_0x477d('0xda0')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x25f2'))[_0x477d('0xd7c')](_0x2d2482)['ok']('OK')[_0x477d('0x4f0')]('CANCEL');_0x23cbf1[_0x477d('0x395')](_0x140aac)[_0x477d('0x76')](function(){_0x10a5aa['selectedMusicOnHoldMohSounds'][_0x477d('0x3b1')](function(_0x4069cc){_0x18ab94(_0x4069cc);});_0x10a5aa[_0x477d('0x25e5')]=[];});}var _0x2dc81b=!![];var _0x291c1c=0x1;_0x3fdda0[_0x477d('0x4b5')]('vm_dc.query.filter',function(_0x133384,_0x5a2ceb){if(_0x2dc81b){_0x2cb223(function(){_0x2dc81b=![];});}else{if(!_0x5a2ceb){_0x291c1c=_0x10a5aa[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x133384!==_0x5a2ceb){_0x10a5aa[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0x133384){_0x10a5aa[_0x477d('0x3ef')]['page']=_0x291c1c;}_0x3052e4();}});}}());(function(){'use strict';_0xb52261['$inject']=[_0x477d('0x474'),'$state',_0x477d('0xd64'),_0x477d('0x384'),'$q',_0x477d('0x40d'),'toasty','mohSounds',_0x477d('0x25ec'),'api',_0x477d('0x55'),_0x477d('0x613'),_0x477d('0xc8e'),'crudPermissions'];angular['module'](_0x477d('0x2f'))[_0x477d('0x3ba')](_0x477d('0x25f3'),_0xb52261);function _0xb52261(_0x1544d8,_0x3e8eed,_0x4687d8,_0xb37aac,_0x10a17b,_0x46571c,_0x4bd9ee,_0x1bd1d6,_0x3751bd,_0x71127,_0x453cfe,_0x1d256d,_0xa32361,_0x519d5e){var _0x2e27dc=this;_0x2e27dc[_0x477d('0x3e5')]=_0x453cfe['getCurrentUser']();_0x2e27dc[_0x477d('0xd67')]=[];_0x2e27dc['setting']=_0xa32361;_0x2e27dc[_0x477d('0x613')]=_0x1d256d;_0x2e27dc[_0x477d('0xd66')]=_0x519d5e;_0x2e27dc['hasModulePermissions']={};_0x2e27dc[_0x477d('0xd69')]=_0x2e27dc[_0x477d('0xc8e')]&&_0x2e27dc[_0x477d('0xc8e')][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x2e27dc[_0x477d('0x49a')]=_0x477d('0x25f4');_0x2e27dc[_0x477d('0x25ec')]=angular['copy'](_0x3751bd);_0x2e27dc[_0x477d('0x25f5')]=_0x1bd1d6;_0x2e27dc['newMohSound']=![];if(!_0x2e27dc[_0x477d('0x25ec')]){_0x2e27dc[_0x477d('0x25ec')]={};_0x2e27dc[_0x477d('0x49a')]=_0x477d('0x25f6');_0x2e27dc[_0x477d('0x25f7')]=!![];}if(_0x3e8eed[_0x477d('0x37e')]['id']){_0x2e27dc[_0x477d('0x25ec')][_0x477d('0x25eb')]=_0x3e8eed[_0x477d('0x37e')]['id'];}_0x2e27dc[_0x477d('0x25f8')]=_0x85685a;_0x2e27dc[_0x477d('0x25f9')]=_0x36f481;_0x2e27dc['deleteMohSound']=_0x24668;_0x2e27dc[_0x477d('0xd6f')]=_0x3890a8;_0x2e27dc[_0x477d('0x6bf')]=_0x4c2528;_0x453cfe[_0x477d('0x56')]('admin')?_0x71127[_0x477d('0x15c9')]['get']({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x591da8){_0x2e27dc['sounds']=_0x591da8[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0xee0fb2){_0x4bd9ee['error']({'title':_0xee0fb2['status']?_0x477d('0x44b')+_0xee0fb2['status']+_0x477d('0x44c')+_0xee0fb2[_0x477d('0x44d')]:_0x477d('0x2586'),'msg':_0xee0fb2[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0xee0fb2[_0x477d('0x451')]):_0xee0fb2[_0x477d('0x453')]()});}):_0x71127['sound']['get']({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x2a8463){_0x2e27dc[_0x477d('0xf30')]=_0x2a8463['rows']||[];})[_0x477d('0x76')](function(){return _0x71127['userProfileSection'][_0x477d('0x376')]({'userProfileId':_0x2e27dc[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x3ef})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x16b8c3){var _0x3030bb=_0x16b8c3&&_0x16b8c3[_0x477d('0xf2')]?_0x16b8c3[_0x477d('0xf2')][0x0]:null;if(!_0x3030bb){var _0x316cb9=[];var _0x3d4aba=null;if(_0x2e27dc[_0x477d('0x25ec')]){_0x3d4aba=_['find'](_0x2e27dc[_0x477d('0xf30')],{'id':Number(_0x2e27dc['mohSound']['id'])});}for(var _0x42d946=0x0;_0x42d946<_0x2e27dc[_0x477d('0xf30')]['length'];_0x42d946++){if(_0x3d4aba&&_0x2e27dc[_0x477d('0xf30')][_0x42d946]['id']===_0x3d4aba['id']){_0x2e27dc[_0x477d('0xf30')][_0x42d946][_0x477d('0xf8b')]=![];_0x316cb9[_0x477d('0x3a7')](_0x2e27dc[_0x477d('0xf30')][_0x42d946]);}}_0x2e27dc[_0x477d('0xf30')]=_0x316cb9;}else{if(!_0x3030bb[_0x477d('0x3ad')]){return _0x71127[_0x477d('0x3ae')]['get']({'sectionId':_0x3030bb['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x24a6ac){var _0x3f64ab=_[_0x477d('0x3cb')](_0x24a6ac[_0x477d('0xf2')],function(_0x594724){return _[_0x477d('0x10a')](_0x2e27dc['sounds'],{'id':_0x594724['resourceId']});});var _0x49f89e=null;if(_0x2e27dc['mohSound']){_0x49f89e=_[_0x477d('0x10a')](_0x2e27dc[_0x477d('0xf30')],{'id':Number(_0x2e27dc['mohSound']['id'])});}if(_0x49f89e&&!_[_0x477d('0x3ab')](_0x3f64ab,['id',_0x49f89e['id']])){var _0x46fe04=_[_0x477d('0x10a')](_0x2e27dc[_0x477d('0xf30')],{'id':_0x49f89e['id']});_0x46fe04[_0x477d('0xf8b')]=![];_0x3f64ab[_0x477d('0x3a7')](_0x46fe04);}_0x2e27dc[_0x477d('0xf30')]=_0x3f64ab;});}}})[_0x477d('0xf8')](function(_0x244712){_0x4bd9ee['error']({'title':_0x244712[_0x477d('0x3c3')]?'API:'+_0x244712[_0x477d('0x3c3')]+'\x20-\x20'+_0x244712[_0x477d('0x44d')]:_0x477d('0x2584'),'msg':_0x244712[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x244712['data']):_0x244712[_0x477d('0x453')]()});});function _0x85685a(){_0x2e27dc[_0x477d('0xd67')]=[];_0x71127[_0x477d('0xa71')][_0x477d('0x25fa')]({'id':_0x3e8eed[_0x477d('0x37e')]['id']},_0x2e27dc[_0x477d('0x25ec')])['$promise'][_0x477d('0x76')](function(_0xc64c5b){_0x2e27dc[_0x477d('0x25f5')]['unshift'](_0xc64c5b[_0x477d('0xd71')]());_0x4bd9ee['success']({'title':_0x477d('0x25fb'),'msg':_0x2e27dc['mohSound'][_0x477d('0x94')]?_0x2e27dc['mohSound'][_0x477d('0x94')]+_0x477d('0xd73'):''});_0x4c2528(_0xc64c5b);})[_0x477d('0xf8')](function(_0x308984){if(_0x308984[_0x477d('0x451')]&&_0x308984[_0x477d('0x451')][_0x477d('0xd67')]&&_0x308984['data'][_0x477d('0xd67')][_0x477d('0x79')]){_0x2e27dc['errors']=_0x308984['data'][_0x477d('0xd67')]||[{'message':_0x308984[_0x477d('0x453')](),'type':_0x477d('0x25de')}];for(var _0xcf0dba=0x0;_0xcf0dba<_0x308984[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0xcf0dba+=0x1){_0x4bd9ee[_0x477d('0x44a')]({'title':_0x308984[_0x477d('0x451')]['errors'][_0xcf0dba]['type'],'msg':_0x308984[_0x477d('0x451')]['errors'][_0xcf0dba][_0x477d('0x452')]});}}else{_0x4bd9ee[_0x477d('0x44a')]({'title':_0x308984[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x308984[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x308984[_0x477d('0x44d')]:_0x477d('0x25de'),'msg':_0x308984[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x308984[_0x477d('0x451')]['message']):_0x308984[_0x477d('0x453')]()});}});}function _0x36f481(){_0x2e27dc['errors']=[];_0x71127[_0x477d('0xa71')]['update']({'id':_0x2e27dc[_0x477d('0x25ec')]['id']},_0x2e27dc['mohSound'])[_0x477d('0x38b')]['then'](function(_0x544b15){var _0x43904d=_[_0x477d('0x10a')](_0x2e27dc['mohSounds'],{'id':_0x544b15['id']});if(_0x43904d){_['merge'](_0x43904d,_[_0x477d('0x10b')](_0x544b15[_0x477d('0xd71')](),_[_0x477d('0x7f')](_0x43904d)));}_0x4bd9ee[_0x477d('0x485')]({'title':'MohSound\x20properly\x20saved!','msg':_0x2e27dc['mohSound']['name']?_0x2e27dc[_0x477d('0x25ec')][_0x477d('0x94')]+_0x477d('0xd76'):''});_0x4c2528(_0x544b15);})[_0x477d('0xf8')](function(_0x1e8dd5){if(_0x1e8dd5[_0x477d('0x451')]&&_0x1e8dd5['data']['errors']&&_0x1e8dd5[_0x477d('0x451')]['errors'][_0x477d('0x79')]){_0x2e27dc[_0x477d('0xd67')]=_0x1e8dd5[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x1e8dd5[_0x477d('0x453')](),'type':_0x477d('0x25e0')}];for(var _0x5d5d7a=0x0;_0x5d5d7a<_0x1e8dd5['data'][_0x477d('0xd67')][_0x477d('0x79')];_0x5d5d7a++){_0x4bd9ee['error']({'title':_0x1e8dd5['data'][_0x477d('0xd67')][_0x5d5d7a][_0x477d('0x439')],'msg':_0x1e8dd5[_0x477d('0x451')][_0x477d('0xd67')][_0x5d5d7a]['message']});}}else{_0x4bd9ee[_0x477d('0x44a')]({'title':_0x1e8dd5[_0x477d('0x3c3')]?'API:'+_0x1e8dd5[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x1e8dd5[_0x477d('0x44d')]:_0x477d('0x25e0'),'msg':_0x1e8dd5[_0x477d('0x451')]?JSON['stringify'](_0x1e8dd5[_0x477d('0x451')][_0x477d('0x452')]):_0x1e8dd5[_0x477d('0x453')]()});}});}function _0x24668(_0x26ea67){_0x2e27dc[_0x477d('0xd67')]=[];var _0x3da77a=_0xb37aac[_0x477d('0xd78')]()['title'](_0x477d('0xd79'))[_0x477d('0xdaf')](_0x477d('0x25fc'))['ariaLabel'](_0x477d('0x25fd'))['ok'](_0x477d('0xd7b'))[_0x477d('0x4f0')](_0x477d('0x688'))['targetEvent'](_0x26ea67);_0xb37aac['show'](_0x3da77a)[_0x477d('0x76')](function(){_0x71127[_0x477d('0xa71')][_0x477d('0xa55')]({'id':_0x2e27dc[_0x477d('0x25ec')]['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x2e27dc[_0x477d('0x25f5')],{'id':_0x2e27dc[_0x477d('0x25ec')]['id']});_0x4bd9ee[_0x477d('0x485')]({'title':_0x477d('0x25fe'),'msg':(_0x2e27dc[_0x477d('0x25ec')]['name']||_0x477d('0x25ec'))+'\x20has\x20been\x20deleted!'});_0x4c2528(_0x2e27dc[_0x477d('0x25ec')]);})[_0x477d('0xf8')](function(_0x2285c3){if(_0x2285c3[_0x477d('0x451')]&&_0x2285c3[_0x477d('0x451')][_0x477d('0xd67')]&&_0x2285c3[_0x477d('0x451')]['errors'][_0x477d('0x79')]){_0x2e27dc[_0x477d('0xd67')]=_0x2285c3[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x2285c3[_0x477d('0x453')](),'type':_0x477d('0x25e2')}];for(var _0x4ce486=0x0;_0x4ce486<_0x2285c3['data']['errors'][_0x477d('0x79')];_0x4ce486++){_0x4bd9ee[_0x477d('0x44a')]({'title':_0x2285c3[_0x477d('0x451')][_0x477d('0xd67')][_0x4ce486]['type'],'msg':_0x2285c3[_0x477d('0x451')][_0x477d('0xd67')][_0x4ce486][_0x477d('0x452')]});}}else{_0x4bd9ee['error']({'title':_0x2285c3[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x2285c3[_0x477d('0x3c3')]+'\x20-\x20'+_0x2285c3['statusText']:_0x477d('0x25e2'),'msg':_0x2285c3[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x2285c3[_0x477d('0x451')][_0x477d('0x452')]):_0x2285c3[_0x477d('0x452')]||_0x2285c3[_0x477d('0x453')]()});}});},function(){});}function _0x3890a8(_0x2af9b5){return _0x2af9b5===null?undefined:new Date(_0x2af9b5);}function _0x4c2528(_0x1feef3){_0xb37aac['hide'](_0x1feef3);}}}());(function(){'use strict';_0x52ea78['$inject']=['$state',_0x477d('0xd64'),_0x477d('0x384'),'$document','$translate','license',_0x477d('0xc8e'),_0x477d('0x386'),_0x477d('0x40e'),'Auth',_0x477d('0x1e82'),'userProfileSection'];angular[_0x477d('0xb')](_0x477d('0x2f'))[_0x477d('0x3ba')](_0x477d('0x25ff'),_0x52ea78);function _0x52ea78(_0x2d5f01,_0xcc138a,_0x49980c,_0x520011,_0xba23f6,_0x4b954d,_0x310cf4,_0x37410f,_0x590f18,_0x918fbc,_0x56ca81,_0x4e6616){var _0x532549=this;_0x532549[_0x477d('0x3e5')]=_0x918fbc[_0x477d('0x5c')]();_0x532549[_0x477d('0x613')]=_0x4b954d;_0x532549[_0x477d('0xc8e')]=_0x310cf4;_0x532549[_0x477d('0xd69')]=_0x532549[_0x477d('0xc8e')][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x532549[_0x477d('0x3cc')]=_0xcc138a[_0x477d('0x3ce')]()+'://'+_0xcc138a[_0x477d('0x3c9')]();_0x532549[_0x477d('0x1e82')]=_0x56ca81||_0x2d5f01['params']['musiconhold']||{};_0x532549[_0x477d('0x3ac')]=_0x4e6616&&_0x4e6616[_0x477d('0x3bb')]==0x1?_0x4e6616[_0x477d('0xf2')][0x0]:null;_0x532549[_0x477d('0xd66')]=_0x918fbc[_0x477d('0xd81')](_0x532549[_0x477d('0x3ac')]?_0x532549['userProfileSection'][_0x477d('0xd66')]:null);_0x532549[_0x477d('0xd68')]={};_0x532549[_0x477d('0xe95')]=_0x2d5f01['params'][_0x477d('0xe96')]||0x0;_0x532549['alert']=_0x590f18['info'];_0x532549[_0x477d('0x2600')]=_0x777bba;_0x532549[_0x477d('0x25db')]=_0x358a3e;function _0x777bba(){_0x2d5f01['go'](_0x477d('0x336'),{},{'reload':'app.voice.musiconholds'});}function _0x358a3e(){_0x37410f['voiceMusicOnHold'][_0x477d('0x710')]({'id':_0x532549[_0x477d('0x1e82')]['id']},_0x532549[_0x477d('0x1e82')])[_0x477d('0x38b')]['then'](function(){_0x590f18[_0x477d('0x485')]({'title':'MusicOnHold\x20updated!','msg':_0x532549['musiconhold'][_0x477d('0x94')]?_0x532549[_0x477d('0x1e82')]['name']+_0x477d('0xed7'):''});})[_0x477d('0xf8')](function(_0x5f3ea6){_0x590f18[_0x477d('0x44a')]({'title':_0x5f3ea6[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x5f3ea6[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x5f3ea6[_0x477d('0x44d')]:_0x477d('0x25f1'),'msg':_0x5f3ea6[_0x477d('0x451')]?JSON['stringify'](_0x5f3ea6[_0x477d('0x451')]):_0x5f3ea6[_0x477d('0x453')]()});});}}}());(function(){'use strict';_0xcb26d2['$inject']=['$scope',_0x477d('0x387'),'$state',_0x477d('0x554'),_0x477d('0x384'),'$document',_0x477d('0x3fe'),_0x477d('0x40d'),_0x477d('0x1e80'),_0x477d('0x3a5'),_0x477d('0x3ac'),_0x477d('0x386'),_0x477d('0x342'),_0x477d('0x40e'),_0x477d('0x55'),_0x477d('0x613'),_0x477d('0xc8e')];angular[_0x477d('0xb')]('app.voice')['controller'](_0x477d('0x2601'),_0xcb26d2);function _0xcb26d2(_0x6a42d2,_0x228fa4,_0x17be20,_0x3fb42a,_0x81108d,_0x4f284c,_0x4987dd,_0x402be4,_0x278045,_0x1db3a2,_0x2401f0,_0x30a3af,_0xcb2d35,_0x146216,_0x4cf2cd,_0x16a380,_0x19cb85){var _0x113d99=this;_0x113d99[_0x477d('0x613')]=_0x16a380;_0x113d99[_0x477d('0xc8e')]=_0x19cb85;_0x113d99[_0x477d('0x3e5')]=_0x4cf2cd[_0x477d('0x5c')]();_0x113d99['musiconholds']=_0x278045||{'count':0x0,'rows':[]};_0x113d99[_0x477d('0x3a5')]=_0x1db3a2;_0x113d99[_0x477d('0x3ac')]=_0x2401f0&&_0x2401f0[_0x477d('0x3bb')]==0x1?_0x2401f0[_0x477d('0xf2')][0x0]:null;_0x113d99[_0x477d('0xd66')]=_0x4cf2cd[_0x477d('0xd81')](_0x113d99[_0x477d('0x3ac')]?_0x113d99['userProfileSection']['crudPermissions']:null);_0x113d99[_0x477d('0xd82')]=_0x477d('0x1e80');_0x113d99[_0x477d('0xd83')]='';_0x113d99[_0x477d('0xd84')]=null;_0x113d99[_0x477d('0x2602')]=[];_0x113d99['query']={'fields':_0x477d('0x33b'),'defaultEntry':'false','limit':0xa,'page':0x1};_0x113d99['arraymode']=_[_0x477d('0xdb5')]([{'option':'Files','value':_0x477d('0x2603')},{'option':_0x477d('0x1cda'),'value':'\x27custom\x27'}],function(_0x33ee40){return _['replace'](_0x33ee40['value'],new RegExp('\x27','g'),'');});_0x113d99[_0x477d('0x2604')]=_[_0x477d('0xdb5')]([{'option':_0x477d('0x2605'),'value':_0x477d('0x1ead')},{'option':_0x477d('0x2606'),'value':_0x477d('0x2607')}],function(_0x46092d){return _[_0x477d('0x409')](_0x46092d[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x113d99[_0x477d('0xea6')]=_0x5c196f;_0x113d99[_0x477d('0xd88')]=_0x3bb092;_0x113d99['success']=_0x299dfe;_0x113d99['getMusicOnHolds']=_0x40745c;_0x113d99[_0x477d('0x2608')]=_0x10b54e;_0x113d99[_0x477d('0x25dc')]=_0x533575;_0x113d99[_0x477d('0x2609')]=_0xc153a6;_0x113d99[_0x477d('0x260a')]=_0x5dfcca;_0x113d99[_0x477d('0x260b')]=_0x515374;_0x113d99[_0x477d('0x260c')]=_0x19f7eb;function _0x5c196f(_0x2eec41,_0x221c87){_0x17be20['go'](_0x477d('0x33d'),{'id':_0x2eec41['id'],'musiconhold':_0x2eec41,'crudPermissions':_0x113d99[_0x477d('0xd66')]});}function _0x3bb092(_0x155d78,_0x12ab6c){var _0x3676f8=_0x81108d[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xd90')+_[_0x477d('0xd91')](_0x477d('0x1e82'))+'?')[_0x477d('0xd92')](_0x477d('0xd93')+(_0x155d78[_0x477d('0x94')]||_0x477d('0x1e82'))+''+_0x477d('0xd95'))['ariaLabel'](_0x477d('0x260d'))[_0x477d('0xd7c')](_0x12ab6c)['ok']('OK')[_0x477d('0x4f0')]('CANCEL');_0x81108d['show'](_0x3676f8)[_0x477d('0x76')](function(){_0x533575(_0x155d78);},function(){console[_0x477d('0x7b')](_0x477d('0xd97'));});}var _0x179016=!![];var _0x513693=0x1;_0x6a42d2[_0x477d('0x4b5')](_0x477d('0xd98'),function(_0x514eee,_0x4a8041){if(_0x179016){_0x4987dd(function(){_0x179016=![];});}else{if(!_0x4a8041){_0x513693=_0x113d99[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x514eee!==_0x4a8041){_0x113d99[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0x514eee){_0x113d99['query'][_0x477d('0xe03')]=_0x513693;}_0x113d99[_0x477d('0x260e')]();}});function _0x299dfe(_0x3f4074){_0x113d99['musiconholds']=_0x3f4074||{'count':0x0,'rows':[]};}function _0x40745c(){_0x113d99[_0x477d('0x3ef')][_0x477d('0x91c')]=(_0x113d99['query'][_0x477d('0xe03')]-0x1)*_0x113d99['query'][_0x477d('0x91d')];if(_0x4cf2cd[_0x477d('0x56')]('admin')){_0x113d99['promise']=_0x30a3af[_0x477d('0xa71')][_0x477d('0x376')](_0x113d99['query'],_0x299dfe)[_0x477d('0x38b')];}else{_0x113d99[_0x477d('0x3ef')]['id']=_0x113d99[_0x477d('0x3a5')]['id'];_0x113d99[_0x477d('0x3ef')][_0x477d('0xd99')]=_0x477d('0x33c');_0x113d99['promise']=_0x30a3af[_0x477d('0x3a5')][_0x477d('0xd9a')](_0x113d99['query'],_0x299dfe)['$promise'];}}function _0x10b54e(_0x2a57d9,_0x1e73e9){_0x81108d[_0x477d('0x395')]({'controller':_0x477d('0x25d7'),'controllerAs':'vm','templateUrl':_0x477d('0x260f'),'parent':angular[_0x477d('0x398')](_0x4f284c['body']),'targetEvent':_0x2a57d9,'clickOutsideToClose':!![],'locals':{'musiconhold':_0x1e73e9,'musiconholds':_0x113d99[_0x477d('0x1e80')]['rows'],'license':_0x113d99[_0x477d('0x613')],'setting':_0x113d99[_0x477d('0xc8e')],'crudPermissions':_0x113d99['crudPermissions']}});}function _0x533575(_0x4600ad){_0x30a3af[_0x477d('0xa71')][_0x477d('0xa55')]({'id':_0x4600ad['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x113d99[_0x477d('0x1e80')]['rows'],{'id':_0x4600ad['id']});_0x113d99['musiconholds'][_0x477d('0x3bb')]-=0x1;if(!_0x113d99['musiconholds'][_0x477d('0xf2')][_0x477d('0x79')]){_0x113d99[_0x477d('0x260e')]();}_0x146216['success']({'title':_[_0x477d('0xd91')]('MusicOnHold')+_0x477d('0xd9d'),'msg':_0x4600ad['name']?_0x4600ad[_0x477d('0x94')]+_0x477d('0xd7e'):''});})[_0x477d('0xf8')](function(_0x4e088f){if(_0x4e088f[_0x477d('0x451')]&&_0x4e088f[_0x477d('0x451')][_0x477d('0xd67')]&&_0x4e088f['data']['errors']['length']){_0x113d99[_0x477d('0xd67')]=_0x4e088f['data'][_0x477d('0xd67')]||[{'message':_0x4e088f[_0x477d('0x453')](),'type':'SYSTEM:DELETEvoiceMusicOnHold'}];for(var _0xcd795=0x0;_0xcd795<_0x4e088f[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0xcd795++){_0x146216['error']({'title':_0x4e088f[_0x477d('0x451')][_0x477d('0xd67')][_0xcd795][_0x477d('0x439')],'msg':_0x4e088f['data'][_0x477d('0xd67')][_0xcd795]['message']});}}else{_0x146216[_0x477d('0x44a')]({'title':_0x4e088f[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x4e088f[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x4e088f['statusText']:_0x477d('0x2610'),'msg':_0x4e088f['data']?JSON[_0x477d('0x3fb')](_0x4e088f[_0x477d('0x451')][_0x477d('0x452')]):_0x4e088f['message']||_0x4e088f[_0x477d('0x453')]()});}});}function _0xc153a6(){var _0x33c238=angular['copy'](_0x113d99[_0x477d('0x2602')]);_0x113d99[_0x477d('0x2602')]=[];return _0x33c238;}function _0x5dfcca(_0x5ebdb5){var _0x47d6c1=_0x81108d[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x2611'))['htmlContent'](''+_0x113d99[_0x477d('0x2602')][_0x477d('0x79')]+'\x20selected'+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x2612'))[_0x477d('0xd7c')](_0x5ebdb5)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x81108d[_0x477d('0x395')](_0x47d6c1)[_0x477d('0x76')](function(){_0x113d99['selectedMusicOnHolds'][_0x477d('0x3b1')](function(_0x829061){_0x533575(_0x829061);});_0x113d99[_0x477d('0x2602')]=[];});}function _0x515374(){_0x113d99[_0x477d('0x2602')]=[];}function _0x19f7eb(){_0x113d99['selectedMusicOnHolds']=_0x113d99[_0x477d('0x1e80')]['rows'];}}}());(function(){'use strict';_0x37ea77['$inject']=[_0x477d('0x474'),'$state',_0x477d('0xd64'),_0x477d('0x384'),'$q','$translate','toasty',_0x477d('0x2613'),_0x477d('0x2614'),_0x477d('0x386'),_0x477d('0x55'),_0x477d('0x613'),_0x477d('0xc8e'),_0x477d('0xd66')];angular['module'](_0x477d('0x2f'))[_0x477d('0x3ba')]('CreateOrEditOutboundRouteDialogController',_0x37ea77);function _0x37ea77(_0x37208f,_0x157821,_0x133172,_0x489832,_0x370bb3,_0x5bc711,_0xb44476,_0x2ce673,_0x442ec7,_0x24bdeb,_0x1f50ba,_0x41da9d,_0x1a117f,_0x306225){var _0x17c8f8=this;_0x17c8f8[_0x477d('0x3e5')]=_0x1f50ba['getCurrentUser']();_0x17c8f8[_0x477d('0xd67')]=[];_0x17c8f8[_0x477d('0xc8e')]=_0x1a117f;_0x17c8f8[_0x477d('0x613')]=_0x41da9d;_0x17c8f8[_0x477d('0xd66')]=_0x306225;_0x17c8f8[_0x477d('0xd68')]={};_0x17c8f8[_0x477d('0xd69')]=_0x17c8f8[_0x477d('0xc8e')]&&_0x17c8f8['setting']['securePassword']?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x17c8f8[_0x477d('0x49a')]=_0x477d('0x2615');_0x17c8f8[_0x477d('0x2614')]=angular['copy'](_0x442ec7);_0x17c8f8[_0x477d('0x2613')]=_0x2ce673;_0x17c8f8[_0x477d('0x2616')]=![];_0x17c8f8[_0x477d('0x2617')]={'count':0x0,'rows':[]};_0x17c8f8[_0x477d('0x1244')]=_[_0x477d('0x691')](_[_0x477d('0x1245')]([{'app':'Interval','appType':_0x477d('0x79c'),'type':_0x477d('0x2618'),'types':['always',_0x477d('0x9f6'),_0x477d('0xa02')],'fields':[],'isApp':![]},{'app':_0x477d('0x2536'),'appType':_0x477d('0x12b5'),'context':'from-sip','type':_0x477d('0x2618'),'icon':_0x477d('0x1248'),'interval':_0x477d('0x1249'),'options':'xX','isApp':!![],'extraApi':[{'name':_0x477d('0xf2e'),'route':_0x477d('0xaa8'),'filters':{'fields':_0x477d('0x94'),'sort':_0x477d('0x94')}},{'name':_0x477d('0x1263'),'route':'tag','filters':{'fields':'name','sort':_0x477d('0x94'),'nolimit':!![]}}],'fields':[{'title':'Trunk','name':_0x477d('0xaa8'),'type':_0x477d('0x124c'),'values':_0x477d('0xf2e'),'value':_0x477d('0x253d'),'option':_0x477d('0x253d'),'required':!![],'param':0x0},{'title':_0x477d('0x2619'),'name':_0x477d('0x12b2'),'type':_0x477d('0x41b'),'ngPattern':_0x477d('0x261a'),'help':!![]},{'title':_0x477d('0x261b'),'name':'prefix','type':'text'},{'title':'Tags','name':_0x477d('0xbb0'),'type':_0x477d('0x124c'),'values':_0x477d('0x1263'),'value':_0x477d('0x1265'),'option':_0x477d('0x1265'),'defaultValues':[{'value':_0x477d('0x261c'),'option':_0x477d('0x124e')}]},{'title':_0x477d('0x125a'),'name':_0x477d('0x91b'),'type':_0x477d('0x421'),'min':0x0,'param':0x1},{'title':_0x477d('0x2526'),'name':'options','type':_0x477d('0x41b'),'param':0x2},{'title':_0x477d('0x2527'),'name':_0x477d('0x3c1'),'type':'text','param':0x3}]},{'app':null,'type':'Outbound','appType':'custom','icon':_0x477d('0x1248'),'interval':_0x477d('0x1249'),'isApp':!![],'fields':[{'title':_0x477d('0x255a'),'name':'app','type':'text','required':!![],'param':0x0},{'title':_0x477d('0x255b'),'name':'appdata','type':_0x477d('0x41b'),'param':0x1}]}],[_0x477d('0x1291')]),{'isApp':![]});if(!_0x17c8f8['outboundroute']){_0x17c8f8[_0x477d('0x2614')]={'appdata':_0x477d('0x261d'),'type':_0x477d('0x127'),'context':'from-sip','recordingFormat':_0x477d('0x496')};_0x17c8f8[_0x477d('0x49a')]='VOICE.NEW_OUTBOUNDROUTE';_0x17c8f8['newOutboundRoute']=!![];}_0x17c8f8[_0x477d('0x261e')]=_0x5d233d;_0x17c8f8[_0x477d('0x261f')]=_0x331179;_0x17c8f8[_0x477d('0x2620')]=_0x35b2e9;_0x17c8f8[_0x477d('0xd6f')]=_0x5f43ee;_0x17c8f8[_0x477d('0x128c')]=_0x2e1d42;_0x17c8f8[_0x477d('0x6bf')]=_0x5ec02f;_0x1f50ba[_0x477d('0x56')](_0x477d('0x5f'))?_0x24bdeb[_0x477d('0xa6b')][_0x477d('0x376')]({'fields':'id,name','sort':'name','nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x249f43){_0x17c8f8[_0x477d('0xf32')]=_0x249f43[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x5cc10d){_0xb44476[_0x477d('0x44a')]({'title':_0x5cc10d[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x5cc10d[_0x477d('0x3c3')]+'\x20-\x20'+_0x5cc10d[_0x477d('0x44d')]:_0x477d('0x212b'),'msg':_0x5cc10d[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x5cc10d[_0x477d('0x451')]):_0x5cc10d['toString']()});}):_0x24bdeb['voiceContext'][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0xfc71f0){_0x17c8f8[_0x477d('0xf32')]=_0xfc71f0[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x24bdeb[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x17c8f8[_0x477d('0x3e5')]['userProfileId'],'sectionId':0x195})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x499bde){var _0x53434f=_0x499bde&&_0x499bde[_0x477d('0xf2')]?_0x499bde[_0x477d('0xf2')][0x0]:null;if(!_0x53434f){return _0x24bdeb[_0x477d('0xa6b')][_0x477d('0x376')]({'fields':'id,name','sort':_0x477d('0x94'),'nolimit':'true','defaultEntry':0x1})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x23f702){_0x17c8f8['contexts']=_0x23f702[_0x477d('0xf2')]||[];});}else{if(!_0x53434f[_0x477d('0x3ad')]){return _0x24bdeb['userProfileResource'][_0x477d('0x376')]({'sectionId':_0x53434f['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0xa6214a){var _0x4ffd0d=_[_0x477d('0x3cb')](_0xa6214a[_0x477d('0xf2')],function(_0x5562fd){return _[_0x477d('0x10a')](_0x17c8f8[_0x477d('0xf32')],{'id':_0x5562fd['resourceId']});});var _0x20bfa4=null;if(_0x17c8f8[_0x477d('0x2614')]){_0x20bfa4=_[_0x477d('0x10a')](_0x17c8f8[_0x477d('0xf32')],{'name':_0x17c8f8[_0x477d('0x2614')][_0x477d('0xf47')]});}if(_0x20bfa4&&!_[_0x477d('0x3ab')](_0x4ffd0d,['id',_0x20bfa4['id']])){var _0x52c9d0=_['find'](_0x17c8f8[_0x477d('0xf32')],{'id':_0x20bfa4['id']});_0x52c9d0[_0x477d('0xf8b')]=![];_0x4ffd0d[_0x477d('0x3a7')](_0x52c9d0);}_0x17c8f8[_0x477d('0xf32')]=_0x4ffd0d;});}}})[_0x477d('0xf8')](function(_0x5bb1d9){_0xb44476[_0x477d('0x44a')]({'title':_0x5bb1d9[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x5bb1d9['status']+_0x477d('0x44c')+_0x5bb1d9[_0x477d('0x44d')]:'SYSTEM:GETcontexts','msg':_0x5bb1d9[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x5bb1d9[_0x477d('0x451')]):_0x5bb1d9[_0x477d('0x453')]()});});function _0x5d233d(){_0x17c8f8[_0x477d('0xd67')]=[];_0x24bdeb['voiceExtension'][_0x477d('0xd70')](_0x17c8f8[_0x477d('0x2614')])['$promise'][_0x477d('0x76')](function(_0x119fc0){_0x17c8f8['outboundroutes']['unshift'](_0x119fc0[_0x477d('0xd71')]());_0xb44476['success']({'title':'OutboundRoute\x20properly\x20created','msg':_0x17c8f8[_0x477d('0x2614')]['name']?_0x17c8f8[_0x477d('0x2614')][_0x477d('0x94')]+_0x477d('0xd73'):''});_0x5ec02f(_0x119fc0);})[_0x477d('0xf8')](function(_0x3d08de){if(_0x3d08de[_0x477d('0x451')]&&_0x3d08de[_0x477d('0x451')][_0x477d('0xd67')]&&_0x3d08de[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x17c8f8[_0x477d('0xd67')]=_0x3d08de[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x3d08de[_0x477d('0x453')](),'type':_0x477d('0x25a5')}];for(var _0x18512b=0x0;_0x18512b<_0x3d08de[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x18512b+=0x1){_0xb44476['error']({'title':_0x3d08de[_0x477d('0x451')]['errors'][_0x18512b]['type'],'msg':_0x3d08de[_0x477d('0x451')][_0x477d('0xd67')][_0x18512b][_0x477d('0x452')]});}}else{_0xb44476[_0x477d('0x44a')]({'title':_0x3d08de[_0x477d('0x3c3')]?'API:'+_0x3d08de[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x3d08de[_0x477d('0x44d')]:'api.voiceExtension.save','msg':_0x3d08de['data']?JSON[_0x477d('0x3fb')](_0x3d08de[_0x477d('0x451')][_0x477d('0x452')]):_0x3d08de['toString']()});}});}function _0x331179(){_0x17c8f8[_0x477d('0xd67')]=[];_0x24bdeb[_0x477d('0x21a5')][_0x477d('0x710')]({'id':_0x17c8f8['outboundroute']['id']},_0x17c8f8[_0x477d('0x2614')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x5c5f7d){var _0x3eeda3=_[_0x477d('0x10a')](_0x17c8f8[_0x477d('0x2613')],{'id':_0x5c5f7d['id']});if(_0x3eeda3){_[_0x477d('0xef')](_0x3eeda3,_[_0x477d('0x10b')](_0x5c5f7d[_0x477d('0xd71')](),_[_0x477d('0x7f')](_0x3eeda3)));_0x24bdeb[_0x477d('0x21a5')][_0x477d('0x376')]({'sort':_0x477d('0x1243'),'VoiceExtensionId':_0x3eeda3['id'],'isApp':!![],'nolimit':!![]})[_0x477d('0x38b')]['then'](function(_0x7196b8){_0x17c8f8[_0x477d('0x2617')]=_0x7196b8;_0x2e1d42();});}_0xb44476[_0x477d('0x485')]({'title':_0x477d('0x2621'),'msg':_0x17c8f8['outboundroute']['name']?_0x17c8f8[_0x477d('0x2614')][_0x477d('0x94')]+_0x477d('0xd76'):''});_0x5ec02f(_0x5c5f7d);})[_0x477d('0xf8')](function(_0x4a915d){if(_0x4a915d[_0x477d('0x451')]&&_0x4a915d['data'][_0x477d('0xd67')]&&_0x4a915d[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x17c8f8['errors']=_0x4a915d[_0x477d('0x451')]['errors']||[{'message':_0x4a915d[_0x477d('0x453')](),'type':_0x477d('0x251c')}];for(var _0x152453=0x0;_0x152453<_0x4a915d['data']['errors'][_0x477d('0x79')];_0x152453++){_0xb44476[_0x477d('0x44a')]({'title':_0x4a915d[_0x477d('0x451')][_0x477d('0xd67')][_0x152453][_0x477d('0x439')],'msg':_0x4a915d[_0x477d('0x451')][_0x477d('0xd67')][_0x152453][_0x477d('0x452')]});}}else{_0xb44476[_0x477d('0x44a')]({'title':_0x4a915d['status']?_0x477d('0x44b')+_0x4a915d[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x4a915d[_0x477d('0x44d')]:_0x477d('0x251c'),'msg':_0x4a915d['data']?JSON[_0x477d('0x3fb')](_0x4a915d['data']['message']):_0x4a915d[_0x477d('0x453')]()});}});}function _0x35b2e9(_0x1114bf){_0x24bdeb[_0x477d('0xcd2')]['get']({'VoiceExtensionId':_0x442ec7['id']})['$promise']['then'](function(_0x1bb3d7){if(_0x1bb3d7&&_0x1bb3d7[_0x477d('0xf2')]&&_0x1bb3d7['rows'][_0x477d('0x79')]>0x0){return _0xb44476[_0x477d('0x44a')]({'title':_0x477d('0x2622'),'msg':'You\x20can\x27t\x20remove\x20an\x20outbound\x20route\x20associated\x20to\x20an\x20out\x20prefix'});}else{_0x17c8f8['errors']=[];var _0x3df439=_0x489832[_0x477d('0xd78')]()['title'](_0x477d('0xd79'))[_0x477d('0xdaf')](_0x477d('0x2623'))[_0x477d('0x687')](_0x477d('0x2624'))['ok']('Delete')[_0x477d('0x4f0')](_0x477d('0x688'))['targetEvent'](_0x1114bf);_0x489832['show'](_0x3df439)[_0x477d('0x76')](function(){_0x24bdeb[_0x477d('0x21a5')]['delete']({'id':_0x17c8f8['outboundroute']['id']})[_0x477d('0x38b')]['then'](function(){_[_0x477d('0x39c')](_0x17c8f8['outboundroutes'],{'id':_0x17c8f8['outboundroute']['id']});_0xb44476['success']({'title':_0x477d('0x2625'),'msg':(_0x17c8f8[_0x477d('0x2614')][_0x477d('0x94')]||_0x477d('0x2614'))+_0x477d('0xd7e')});_0x5ec02f(_0x17c8f8['outboundroute']);})['catch'](function(_0x4cad85){if(_0x4cad85[_0x477d('0x451')]&&_0x4cad85['data'][_0x477d('0xd67')]&&_0x4cad85[_0x477d('0x451')]['errors'][_0x477d('0x79')]){_0x17c8f8[_0x477d('0xd67')]=_0x4cad85[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x4cad85['toString'](),'type':_0x477d('0x2520')}];for(var _0x38a233=0x0;_0x38a233<_0x4cad85[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x38a233++){_0xb44476[_0x477d('0x44a')]({'title':_0x4cad85[_0x477d('0x451')][_0x477d('0xd67')][_0x38a233][_0x477d('0x439')],'msg':_0x4cad85['data']['errors'][_0x38a233]['message']});}}else{_0xb44476[_0x477d('0x44a')]({'title':_0x4cad85['status']?_0x477d('0x44b')+_0x4cad85['status']+_0x477d('0x44c')+_0x4cad85[_0x477d('0x44d')]:'api.voiceExtension.delete','msg':_0x4cad85['data']?JSON[_0x477d('0x3fb')](_0x4cad85[_0x477d('0x451')][_0x477d('0x452')]):_0x4cad85[_0x477d('0x452')]||_0x4cad85['toString']()});}});},function(){});}});}function _0x2e1d42(){var _0x104dcb=0x2;var _0x283132=[];_0x283132[_0x477d('0x3a7')]({'type':_0x477d('0x127'),'app':'Set','appdata':_0x477d('0x2626'),'context':_0x17c8f8[_0x477d('0x2614')]['context'],'exten':_0x17c8f8[_0x477d('0x2614')][_0x477d('0x1299')],'priority':_0x104dcb++,'VoiceExtensionId':_0x17c8f8[_0x477d('0x2614')]['id']});_0x283132['push']({'type':_0x477d('0x127'),'app':_0x477d('0x2558'),'appdata':'CDR(destination)='+(_0x17c8f8['outboundroute'][_0x477d('0x12b6')]?'${EXTEN:'+_0x17c8f8[_0x477d('0x2614')]['cutdigits']+'}':'${EXTEN}'),'context':_0x17c8f8[_0x477d('0x2614')][_0x477d('0xf47')],'exten':_0x17c8f8[_0x477d('0x2614')][_0x477d('0x1299')],'priority':_0x104dcb++,'VoiceExtensionId':_0x17c8f8[_0x477d('0x2614')]['id']});_0x283132[_0x477d('0x3a7')]({'type':_0x477d('0x127'),'app':_0x477d('0x2558'),'appdata':_0x477d('0x256c'),'context':_0x17c8f8['outboundroute']['context'],'exten':_0x17c8f8[_0x477d('0x2614')][_0x477d('0x1299')],'priority':_0x104dcb++,'VoiceExtensionId':_0x17c8f8['outboundroute']['id']});_0x283132[_0x477d('0x3a7')]({'type':'outbound','app':_0x477d('0x2558'),'appdata':'XCALLY-MOTION-PROGRESS=0','context':_0x17c8f8['outboundroute'][_0x477d('0xf47')],'exten':_0x17c8f8[_0x477d('0x2614')][_0x477d('0x1299')],'priority':_0x104dcb++,'VoiceExtensionId':_0x17c8f8[_0x477d('0x2614')]['id']});_0x283132[_0x477d('0x3a7')]({'type':_0x477d('0x127'),'app':_0x477d('0x2558'),'appdata':_0x477d('0x256e'),'context':_0x17c8f8['outboundroute'][_0x477d('0xf47')],'exten':_0x17c8f8[_0x477d('0x2614')][_0x477d('0x1299')],'priority':_0x104dcb++,'VoiceExtensionId':_0x17c8f8['outboundroute']['id']});_0x283132['push']({'type':_0x477d('0x127'),'app':_0x477d('0x2558'),'appdata':_0x477d('0x2627')+_0x17c8f8[_0x477d('0x2614')]['id'],'context':_0x17c8f8['outboundroute'][_0x477d('0xf47')],'exten':_0x17c8f8[_0x477d('0x2614')][_0x477d('0x1299')],'priority':_0x104dcb++,'VoiceExtensionId':_0x17c8f8[_0x477d('0x2614')]['id']});if(_0x17c8f8['outboundroute'][_0x477d('0x3ea')](_0x477d('0x12b9'))&&_0x17c8f8[_0x477d('0x2614')]['recordingFormat']!==_0x477d('0x496')){_0x283132['push']({'type':_0x477d('0x127'),'app':'Set','appdata':'_XCALLY_MIXMONITOR_UNIQUEID=${UNIQUEID}','context':_0x17c8f8[_0x477d('0x2614')]['context'],'exten':_0x17c8f8[_0x477d('0x2614')][_0x477d('0x1299')],'priority':_0x104dcb++,'VoiceExtensionId':_0x17c8f8[_0x477d('0x2614')]['id']});_0x283132[_0x477d('0x3a7')]({'type':_0x477d('0x127'),'app':_0x477d('0x2558'),'appdata':_0x477d('0x2628')+_0x17c8f8['outboundroute'][_0x477d('0x12b9')]||_0x477d('0xf75'),'context':_0x17c8f8[_0x477d('0x2614')][_0x477d('0xf47')],'exten':_0x17c8f8[_0x477d('0x2614')]['exten'],'priority':_0x104dcb++,'VoiceExtensionId':_0x17c8f8[_0x477d('0x2614')]['id']});}for(var _0x1b2e83=0x0,_0x546141=0x0;_0x1b2e83<_0x17c8f8['outboundrouteApps'][_0x477d('0xf2')][_0x477d('0x79')];_0x1b2e83++,_0x546141=0x0){var _0x5479f=_0x17c8f8[_0x477d('0x2617')][_0x477d('0xf2')][_0x1b2e83];var _0x184ab3=[];var _0x3e9960=[];_0x5479f[_0x477d('0x1298')]=_0x5479f['interval']!==_0x477d('0x1249')?[_0x5479f[_0x477d('0x79c')]]:_0x5479f[_0x477d('0xf8c')]?_[_0x477d('0x3cb')](_[_0x477d('0x3b3')](_0x17c8f8['intervals']['rows'],{'IntervalId':_0x5479f[_0x477d('0xf8c')]}),_0x477d('0x79c')):[];_0x5479f[_0x477d('0xf47')]=_0x17c8f8[_0x477d('0x2614')][_0x477d('0xf47')];_0x5479f['exten']=_0x17c8f8[_0x477d('0x2614')][_0x477d('0x1299')];if(_0x5479f[_0x477d('0x439')]){_0x5479f[_0x477d('0x439')]=_0x5479f[_0x477d('0x439')][_0x477d('0x449')]();}if(_0x5479f[_0x477d('0x3ea')](_0x477d('0xbb0'))){if(_0x5479f[_0x477d('0xbb0')]&&_0x5479f[_0x477d('0xbb0')]!=='--'){_0x184ab3['push']({'type':_0x5479f['type'][_0x477d('0x449')](),'app':_0x477d('0x2558'),'appdata':_0x477d('0x2629')+_0x5479f[_0x477d('0xbb0')],'context':_0x17c8f8[_0x477d('0x2614')][_0x477d('0xf47')],'exten':_0x17c8f8[_0x477d('0x2614')][_0x477d('0x1299')],'priority':_0x5479f[_0x477d('0x1298')][_0x477d('0x79')]+_0x104dcb+_0x546141++,'VoiceExtensionId':_0x17c8f8['outboundroute']['id']});}}if(_0x5479f[_0x477d('0x12b2')]){_0x184ab3[_0x477d('0x3a7')]({'type':_0x5479f[_0x477d('0x439')][_0x477d('0x449')](),'app':_0x477d('0x256f'),'appdata':'$[${LEN(${PREFIX-CALLERIDALL})}\x20>\x200]?Set(CALLERID(all)=${PREFIX-CALLERIDALL}):Set(CALLERID(all)='+_0x5479f[_0x477d('0x12b2')]+')','context':_0x17c8f8[_0x477d('0x2614')]['context'],'exten':_0x17c8f8[_0x477d('0x2614')]['exten'],'priority':_0x5479f['intervals'][_0x477d('0x79')]+_0x104dcb+_0x546141++,'VoiceExtensionId':_0x17c8f8[_0x477d('0x2614')]['id']});}else{_0x184ab3['push']({'type':_0x5479f[_0x477d('0x439')][_0x477d('0x449')](),'app':_0x477d('0x256f'),'appdata':_0x477d('0x262a'),'context':_0x17c8f8[_0x477d('0x2614')]['context'],'exten':_0x17c8f8['outboundroute']['exten'],'priority':_0x5479f[_0x477d('0x1298')][_0x477d('0x79')]+_0x104dcb+_0x546141++,'VoiceExtensionId':_0x17c8f8[_0x477d('0x2614')]['id']});}for(var _0x1e1880=0x0;_0x1e1880<_0x5479f['intervals'][_0x477d('0x79')];_0x1e1880++){var _0xd3b1f6=_0x104dcb+_0x5479f[_0x477d('0x1298')][_0x477d('0x79')];var _0x15c234=_0x1e1880===_0x5479f[_0x477d('0x1298')][_0x477d('0x79')]-0x1?_0x104dcb+_0x184ab3[_0x477d('0x79')]+_0x3e9960[_0x477d('0x79')]+0x2:_0x104dcb+_0x1e1880+0x1;_0x184ab3[_0x477d('0x45b')](_0x1e1880,0x0,{'type':'outbound','app':_0x477d('0x2573'),'appdata':_0x5479f[_0x477d('0x1298')][_0x1e1880]+'?'+_0x17c8f8[_0x477d('0x2614')][_0x477d('0xf47')]+_0x477d('0x2574')+_0xd3b1f6+':'+_0x17c8f8[_0x477d('0x2614')][_0x477d('0xf47')]+_0x477d('0x2574')+_0x15c234,'exten':_0x17c8f8[_0x477d('0x2614')][_0x477d('0x1299')],'context':_0x17c8f8[_0x477d('0x2614')][_0x477d('0xf47')],'priority':_0x104dcb+_0x1e1880,'VoiceExtensionId':_0x17c8f8[_0x477d('0x2614')]['id']});}if(_0x5479f['appType']===_0x477d('0x12b5')){var _0x308db9=_[_0x477d('0x10a')](_0x17c8f8[_0x477d('0x1244')],{'appType':'outboundDial'});if(_0x308db9&&_0x308db9[_0x477d('0x458')]){var _0x138552={};var _0x3c0794=_0x5479f['appdata'][_0x477d('0x472')](',');var _0x1362e3=[];for(var _0x1ca884=0x0,_0x414001=_0x308db9[_0x477d('0x458')][_0x477d('0x79')];_0x1ca884<_0x414001;_0x1ca884++){if(_0x308db9['fields'][_0x1ca884][_0x477d('0x3ea')]('param')){switch(_0x308db9[_0x477d('0x458')][_0x1ca884][_0x477d('0x94')]){case _0x477d('0xaa8'):_0x138552[_0x477d('0xaa8')]=_0x3c0794[_0x308db9['fields'][_0x1ca884]['param']]['split']('/')[0x1];_0x138552[_0x477d('0xf46')]=_0x3c0794[_0x308db9[_0x477d('0x458')][_0x1ca884][_0x477d('0x933')]][_0x477d('0x472')]('/')[0x2];_0x138552[_0x477d('0x6c0')]=_0x138552[_0x477d('0xf46')]?_0x138552[_0x477d('0xf46')][_0x477d('0x472')]('$')[0x0]:undefined;_0x138552[_0x477d('0xf46')]=_0x17c8f8[_0x477d('0x2614')]['cutdigits']?(_0x138552[_0x477d('0x6c0')]||'')+_0x477d('0x12b7')+_0x17c8f8[_0x477d('0x2614')][_0x477d('0x12b6')]+'}':(_0x138552[_0x477d('0x6c0')]||'')+_0x477d('0x12b8');_0x1362e3[_0x308db9[_0x477d('0x458')][_0x1ca884][_0x477d('0x933')]]=[_0x477d('0x257e'),_0x138552[_0x477d('0xaa8')],_0x138552['phone']][_0x477d('0x3f6')]('/');break;case _0x477d('0x43c'):_0x138552[_0x477d('0x43c')]=_0x3c0794[_0x308db9['fields'][_0x1ca884][_0x477d('0x933')]];if(_0x17c8f8['outboundroute']['recordingFormat']!==_0x477d('0x496')){if(_0x138552[_0x477d('0x43c')][_0x477d('0x477')](_0x477d('0x12ba'))<0x0){_0x138552[_0x477d('0x43c')]+=_0x477d('0x12ba');}}else{_0x138552[_0x477d('0x43c')]=_0x138552['options']['replace'](_0x477d('0x12ba'),'');}_0x1362e3[_0x308db9['fields'][_0x1ca884][_0x477d('0x933')]]=_0x138552[_0x477d('0x43c')];break;default:_0x1362e3[_0x308db9[_0x477d('0x458')][_0x1ca884][_0x477d('0x933')]]=_0x3c0794[_0x308db9[_0x477d('0x458')][_0x1ca884]['param']];}}}_0x5479f[_0x477d('0x12ae')]=_0x1362e3['join'](',');}}_0x5479f[_0x477d('0x1243')]=_0x184ab3['length']?_[_0x477d('0x601')](_0x184ab3)[_0x477d('0x1243')]+0x1:_0x104dcb;_0x104dcb=(_0x3e9960[_0x477d('0x79')]?_[_0x477d('0x601')](_0x3e9960)['priority']:_0x5479f[_0x477d('0x1243')])+0x1;_0x283132=_[_0x477d('0x3a9')](_0x283132,_0x184ab3,[_0x5479f],_0x3e9960);}_0x283132[_0x477d('0x3a7')]({'type':_0x477d('0x127'),'app':_0x477d('0x262b'),'exten':_0x17c8f8[_0x477d('0x2614')][_0x477d('0x1299')],'context':_0x17c8f8[_0x477d('0x2614')][_0x477d('0xf47')],'priority':_0x104dcb,'VoiceExtensionId':_0x17c8f8[_0x477d('0x2614')]['id']});_0x24bdeb['voiceExtension'][_0x477d('0x129a')]({'id':_0x17c8f8[_0x477d('0x2614')]['id']},_[_0x477d('0x1245')](_0x283132,_0x477d('0x1243')))[_0x477d('0x38b')][_0x477d('0x76')](function(_0x22bbec){_0x17c8f8[_0x477d('0x2617')][_0x477d('0xf2')]=_0x22bbec[_0x477d('0xf2')];})[_0x477d('0xf8')](function(_0x4b7c24){console[_0x477d('0x44a')](_0x4b7c24);});}function _0x5f43ee(_0x28f1f1){return _0x28f1f1===null?undefined:new Date(_0x28f1f1);}function _0x5ec02f(_0x7c7f1a){_0x489832[_0x477d('0x3bc')](_0x7c7f1a);}}}());(function(){'use strict';_0x1a90cd['$inject']=['api',_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x40e'),'socket',_0x477d('0x474'),_0x477d('0x55')];angular[_0x477d('0xb')]('app.voice')[_0x477d('0x3ba')](_0x477d('0x262c'),_0x1a90cd);function _0x1a90cd(_0x1d959a,_0x3ea05f,_0x3054ee,_0x4620,_0x1ba4b0,_0x68f55a,_0x13c501){var _0x5c257b=this;_0x5c257b[_0x477d('0x3e5')]=_0x13c501[_0x477d('0x5c')]();_0x5c257b[_0x477d('0x2614')]={};_0x5c257b[_0x477d('0x2617')]={'count':0x0,'rows':[]};_0x5c257b['selectedOutboundRouteApps']=[];_0x5c257b[_0x477d('0xd66')];_0x5c257b[_0x477d('0x3ef')]={'sort':_0x477d('0x1243')};_0x5c257b[_0x477d('0x1244')]=_[_0x477d('0x691')](_[_0x477d('0x1245')]([{'app':_0x477d('0x1246'),'appType':_0x477d('0x79c'),'type':_0x477d('0x2618'),'types':[_0x477d('0x1247'),_0x477d('0x9f6'),'list'],'fields':[],'isApp':![]},{'app':'Dial','appType':_0x477d('0x12b5'),'context':_0x477d('0x2107'),'type':_0x477d('0x2618'),'icon':_0x477d('0x1248'),'interval':'*,*,*,*','options':'xX','isApp':!![],'extraApi':[{'name':_0x477d('0xf2e'),'field':{'name':_0x477d('0xaa8'),'key':'name'},'route':_0x477d('0xaa8'),'filters':{'fields':_0x477d('0x9c'),'sort':'name','nolimit':!![]},'permissions':{'section':0x3f3}},{'name':'tags','field':{'name':_0x477d('0xbb0'),'key':_0x477d('0x94')},'route':'tag','filters':{'fields':'id,name','sort':_0x477d('0x94'),'nolimit':!![]},'permissions':{'section':0x3f0}}],'fields':[{'title':_0x477d('0x1409'),'name':'trunk','type':_0x477d('0x124c'),'values':'trunks','value':_0x477d('0x253d'),'option':_0x477d('0x253d'),'required':!![],'param':0x0},{'title':_0x477d('0x2619'),'name':_0x477d('0x12b2'),'type':_0x477d('0x41b'),'help':!![]},{'title':'Prefix','name':'prefix','type':_0x477d('0x41b')},{'title':_0x477d('0x102'),'name':_0x477d('0xbb0'),'type':_0x477d('0x124c'),'values':_0x477d('0x1263'),'value':_0x477d('0x1265'),'option':_0x477d('0x1265'),'defaultValues':[{'value':_0x477d('0x261c'),'option':_0x477d('0x124e')}]},{'title':_0x477d('0x125a'),'name':_0x477d('0x91b'),'type':'number','min':0x0,'param':0x1},{'title':_0x477d('0x2526'),'name':_0x477d('0x43c'),'type':'text','param':0x2},{'title':'Url','name':_0x477d('0x3c1'),'type':_0x477d('0x41b'),'param':0x3}]},{'app':null,'type':_0x477d('0x2618'),'appType':_0x477d('0x9f6'),'icon':_0x477d('0x1248'),'interval':_0x477d('0x1249'),'isApp':!![],'fields':[{'title':'Application_Name','name':_0x477d('0x1291'),'type':_0x477d('0x41b'),'required':!![],'param':0x0},{'title':_0x477d('0x255b'),'name':_0x477d('0x12ae'),'type':_0x477d('0x41b'),'param':0x1}]}],[_0x477d('0x1291')]),{'isApp':![]});_0x5c257b['list']={'group':{'name':_0x477d('0x1284'),'pull':'clone'},'animation':0x64,'sort':![]};_0x5c257b[_0x477d('0x1285')]={'group':{'name':_0x477d('0x1286'),'put':_0x477d('0x1284')},'animation':0x64,'onAdd':function(_0x559209){_0xf16088(_0x559209,_0x559209[_0x477d('0x191a')]);},'onSort':function(_0x2e7fdf){_0x1cac71();}};_0x5c257b[_0x477d('0x5ee')]=_0x2375a7;_0x5c257b[_0x477d('0xe66')]=_0x1fb267;_0x5c257b[_0x477d('0x262d')]=_0x2e8f04;_0x5c257b[_0x477d('0x262e')]=_0xf16088;_0x5c257b[_0x477d('0x1289')]=_0x344779;_0x5c257b['deleteOutboundRouteApp']=_0x2a8ad2;_0x5c257b['deleteSelectedOutboundRouteApps']=_0x54e9e7;_0x5c257b[_0x477d('0x128c')]=_0x1cac71;_0x5c257b[_0x477d('0x128f')]=_0x1f27f0;_0x5c257b[_0x477d('0x262f')]=_0x232553;function _0x2375a7(_0xdcf491,_0x29c3cf){_0x5c257b[_0x477d('0x2614')]=_0xdcf491;_0x5c257b['crudPermissions']=typeof _0x29c3cf!==_0x477d('0x4a4')?_0x29c3cf:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x5c257b[_0x477d('0x1285')][_0x477d('0x45c')]=!_0x5c257b[_0x477d('0xd66')]['canEdit']?!![]:![];_0x1ba4b0['on'](_0x477d('0x2630'),_0x5c257b[_0x477d('0x262f')]);_0x5c257b['query'][_0x477d('0x25b7')]=_0xdcf491['id'];_0x5c257b[_0x477d('0x3ef')][_0x477d('0x128d')]=!![];_0x5c257b[_0x477d('0x3ef')]['nolimit']=!![];_0x5c257b[_0x477d('0x262d')]();_0x5c257b[_0x477d('0x128f')]();}function _0x232553(_0x38a945){if(_0x38a945[_0x477d('0x25b7')]===_0x5c257b['outboundroute']['id']){_0x1cac71(!![]);}}function _0x1fb267(_0x2a403d,_0x637b6,_0x563636){var _0x4415a4=_0x3ea05f[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x1290'))[_0x477d('0xd92')](_0x477d('0xd93')+_0x2a403d[_0x477d('0x1291')]+_0x477d('0xd94')+'\x20will\x20be\x20deleted.')[_0x477d('0x687')](_0x477d('0x1292'))[_0x477d('0xd7c')](_0x563636)['ok']('OK')[_0x477d('0x4f0')]('CANCEL');_0x3ea05f[_0x477d('0x395')](_0x4415a4)[_0x477d('0x76')](function(){_0x5c257b[_0x477d('0x2617')][_0x477d('0xf2')][_0x477d('0x45b')](_0x637b6,0x1);_0x1cac71();},function(){console['log']('CANCEL');});}function _0xf16088(_0x58e0b4,_0x329818){if(_0x5c257b[_0x477d('0x2617')][_0x477d('0xf2')][_0x477d('0x79')]){var _0x58789f=_0x5c257b[_0x477d('0x2617')]['rows'][_0x329818]?_0x5c257b['outboundrouteApps'][_0x477d('0xf2')][_0x329818]:_0x5c257b['outboundrouteApps'][_0x477d('0xf2')][0x0];_0x3ea05f[_0x477d('0x395')]({'controller':'EditoutboundApp'+(_0x58789f[_0x477d('0x1294')]||_0x58789f[_0x477d('0x1291')])[_0x477d('0x449')]()+_0x477d('0x1295'),'controllerAs':'vm','templateUrl':'app/main/apps/voice/views/outboundroutes/edit/apps/'+(_0x58789f[_0x477d('0x1294')]||_0x58789f[_0x477d('0x1291')])[_0x477d('0x449')]()+_0x477d('0x1296'),'parent':angular[_0x477d('0x398')](_0x3054ee[_0x477d('0x399')]),'targetEvent':_0x58e0b4,'clickOutsideToClose':!![],'locals':{'outboundrouteApp':_0x58789f,'outboundroute':_0x5c257b[_0x477d('0x2614')],'crudPermissions':_0x5c257b[_0x477d('0xd66')]}})['then'](function(_0x316256){if(_0x316256){if(_0x316256['id']){_0x5c257b[_0x477d('0x2617')][_0x477d('0xf2')][_0x329818]=_0x316256;}else{_0x5c257b[_0x477d('0x2617')]['rows'][_0x477d('0x45b')](_0x329818,0x0,_0x316256);}_0x1cac71();}})[_0x477d('0xf8')](function(_0x49b892){if(_0x49b892){_0x4620[_0x477d('0x44a')]({'title':_0x49b892['status']?_0x477d('0x44b')+_0x49b892[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x49b892['statusText']:_0x477d('0x1921'),'msg':_0x49b892[_0x477d('0x451')]?JSON['stringify'](_0x49b892['data']):_0x49b892['toString']()});}});}}function _0x344779(_0x46e7a6,_0x37decd){if(_0x5c257b[_0x477d('0x2617')]['rows'][_0x477d('0x79')]){var _0x31e9d7=_0x5c257b[_0x477d('0x2617')]['rows'][_0x37decd]?_0x5c257b[_0x477d('0x2617')][_0x477d('0xf2')][_0x37decd]:_0x5c257b[_0x477d('0x2617')]['rows'][0x0];_0x3ea05f['show']({'controller':'EditoutboundAppintervalDialogController','controllerAs':'vm','templateUrl':_0x477d('0x2631'),'parent':angular[_0x477d('0x398')](_0x3054ee[_0x477d('0x399')]),'targetEvent':_0x46e7a6,'clickOutsideToClose':!![],'locals':{'interval':{'interval':_0x31e9d7['interval'],'IntervalId':_0x31e9d7[_0x477d('0xf8c')],'application':!![]},'intervals':[],'crudPermissions':_0x5c257b[_0x477d('0xd66')]}})['then'](function(_0x12f052){if(_0x12f052){_0x31e9d7['interval']=_0x12f052['interval']||_0x477d('0x1249');_0x31e9d7['IntervalId']=_0x12f052[_0x477d('0xf8c')]||null;_0x1cac71();}});}}function _0x1cac71(_0x50041a){var _0x2fd309=[_0x477d('0x1256'),_0x477d('0x2531')];var _0x13ad1a=0x2;var _0x5c5f5f=[];_0x5c5f5f[_0x477d('0x3a7')]({'type':'outbound','app':'Set','appdata':_0x477d('0x2626'),'context':_0x5c257b['outboundroute'][_0x477d('0xf47')],'exten':_0x5c257b[_0x477d('0x2614')]['exten'],'priority':_0x13ad1a++,'VoiceExtensionId':_0x5c257b[_0x477d('0x2614')]['id']});_0x5c5f5f[_0x477d('0x3a7')]({'type':'outbound','app':'Set','appdata':_0x477d('0x2632')+(_0x5c257b['outboundroute'][_0x477d('0x12b6')]?_0x477d('0x12b7')+_0x5c257b[_0x477d('0x2614')][_0x477d('0x12b6')]+'}':_0x477d('0x12b8')),'context':_0x5c257b[_0x477d('0x2614')][_0x477d('0xf47')],'exten':_0x5c257b[_0x477d('0x2614')][_0x477d('0x1299')],'priority':_0x13ad1a++,'VoiceExtensionId':_0x5c257b[_0x477d('0x2614')]['id']});_0x5c5f5f[_0x477d('0x3a7')]({'type':_0x477d('0x127'),'app':'Set','appdata':'CDR(routeid)='+_0x5c257b['outboundroute']['id'],'context':_0x5c257b[_0x477d('0x2614')]['context'],'exten':_0x5c257b[_0x477d('0x2614')][_0x477d('0x1299')],'priority':_0x13ad1a++,'VoiceExtensionId':_0x5c257b[_0x477d('0x2614')]['id']});var _0x19a3d6=_0x13ad1a++;_0x5c5f5f[_0x477d('0x3a7')]({'type':_0x477d('0x127'),'app':'ExecIf','appdata':_0x477d('0x2633')+(_0x19a3d6+0x2)+'):Goto('+(_0x19a3d6+0x1)+')','context':_0x5c257b[_0x477d('0x2614')][_0x477d('0xf47')],'exten':_0x5c257b['outboundroute'][_0x477d('0x1299')],'priority':_0x19a3d6,'VoiceExtensionId':_0x5c257b['outboundroute']['id']});_0x5c5f5f['push']({'type':_0x477d('0x127'),'app':'Set','appdata':_0x5c257b[_0x477d('0x2614')][_0x477d('0x12b6')]?_0x477d('0x2634')+_0x5c257b['outboundroute'][_0x477d('0x12b6')]+'}':_0x477d('0x2635'),'context':_0x5c257b['outboundroute']['context'],'exten':_0x5c257b['outboundroute'][_0x477d('0x1299')],'priority':_0x13ad1a++,'VoiceExtensionId':_0x5c257b['outboundroute']['id']});_0x5c5f5f[_0x477d('0x3a7')]({'type':'outbound','app':_0x477d('0x2558'),'appdata':_0x477d('0x256c'),'context':_0x5c257b['outboundroute'][_0x477d('0xf47')],'exten':_0x5c257b[_0x477d('0x2614')][_0x477d('0x1299')],'priority':_0x13ad1a++,'VoiceExtensionId':_0x5c257b['outboundroute']['id']});_0x5c5f5f[_0x477d('0x3a7')]({'type':_0x477d('0x127'),'app':_0x477d('0x2558'),'appdata':_0x477d('0x256d'),'context':_0x5c257b[_0x477d('0x2614')][_0x477d('0xf47')],'exten':_0x5c257b[_0x477d('0x2614')][_0x477d('0x1299')],'priority':_0x13ad1a++,'VoiceExtensionId':_0x5c257b[_0x477d('0x2614')]['id']});_0x5c5f5f[_0x477d('0x3a7')]({'type':_0x477d('0x127'),'app':_0x477d('0x2558'),'appdata':_0x477d('0x256e'),'context':_0x5c257b[_0x477d('0x2614')][_0x477d('0xf47')],'exten':_0x5c257b[_0x477d('0x2614')][_0x477d('0x1299')],'priority':_0x13ad1a++,'VoiceExtensionId':_0x5c257b[_0x477d('0x2614')]['id']});_0x5c5f5f[_0x477d('0x3a7')]({'type':_0x477d('0x127'),'app':_0x477d('0x2558'),'appdata':_0x477d('0x2627')+_0x5c257b[_0x477d('0x2614')]['id'],'context':_0x5c257b[_0x477d('0x2614')][_0x477d('0xf47')],'exten':_0x5c257b[_0x477d('0x2614')]['exten'],'priority':_0x13ad1a++,'VoiceExtensionId':_0x5c257b[_0x477d('0x2614')]['id']});if(_0x5c257b[_0x477d('0x2614')][_0x477d('0x3ea')](_0x477d('0x12b9'))&&_0x5c257b[_0x477d('0x2614')][_0x477d('0x12b9')]!==_0x477d('0x496')){_0x5c5f5f[_0x477d('0x3a7')]({'type':_0x477d('0x127'),'app':_0x477d('0x2558'),'appdata':_0x477d('0x2636'),'context':_0x5c257b[_0x477d('0x2614')]['context'],'exten':_0x5c257b['outboundroute'][_0x477d('0x1299')],'priority':_0x13ad1a++,'VoiceExtensionId':_0x5c257b[_0x477d('0x2614')]['id']});_0x5c5f5f[_0x477d('0x3a7')]({'type':'outbound','app':_0x477d('0x2558'),'appdata':_0x477d('0x2628')+_0x5c257b[_0x477d('0x2614')][_0x477d('0x12b9')]||'wav','context':_0x5c257b[_0x477d('0x2614')][_0x477d('0xf47')],'exten':_0x5c257b['outboundroute'][_0x477d('0x1299')],'priority':_0x13ad1a++,'VoiceExtensionId':_0x5c257b['outboundroute']['id']});}for(var _0x4f08d9=0x0,_0x45beff=0x0;_0x4f08d9<_0x5c257b[_0x477d('0x2617')]['rows'][_0x477d('0x79')];_0x4f08d9++,_0x45beff=0x0){var _0x3a01e7=_0x5c257b[_0x477d('0x2617')][_0x477d('0xf2')][_0x4f08d9];var _0x23b7ca=[];var _0x244c39=[];_0x3a01e7[_0x477d('0x1298')]=_0x3a01e7[_0x477d('0x79c')]!==_0x477d('0x1249')?[_0x3a01e7[_0x477d('0x79c')]]:_0x3a01e7[_0x477d('0xf8c')]?_[_0x477d('0x3cb')](_[_0x477d('0x3b3')](_0x5c257b[_0x477d('0x1298')][_0x477d('0xf2')],{'IntervalId':_0x3a01e7['IntervalId']}),_0x477d('0x79c')):[];_0x3a01e7[_0x477d('0xf47')]=_0x5c257b[_0x477d('0x2614')][_0x477d('0xf47')];_0x3a01e7[_0x477d('0x1299')]=_0x5c257b[_0x477d('0x2614')][_0x477d('0x1299')];if(_0x3a01e7[_0x477d('0x439')]){_0x3a01e7[_0x477d('0x439')]=_0x3a01e7[_0x477d('0x439')][_0x477d('0x449')]();}if(_0x3a01e7[_0x477d('0x3ea')](_0x477d('0xbb0'))){if(_0x3a01e7[_0x477d('0xbb0')]&&_0x3a01e7[_0x477d('0xbb0')]!=='--'){_0x23b7ca['push']({'type':_0x3a01e7[_0x477d('0x439')]['toLowerCase'](),'app':_0x477d('0x2558'),'appdata':_0x477d('0x2629')+_0x3a01e7[_0x477d('0xbb0')],'context':_0x5c257b[_0x477d('0x2614')]['context'],'exten':_0x5c257b[_0x477d('0x2614')]['exten'],'priority':_0x3a01e7[_0x477d('0x1298')]['length']+_0x13ad1a+_0x45beff++,'VoiceExtensionId':_0x5c257b['outboundroute']['id']});}}if(_0x3a01e7['callerID']){_0x23b7ca[_0x477d('0x3a7')]({'type':_0x3a01e7[_0x477d('0x439')][_0x477d('0x449')](),'app':_0x477d('0x256f'),'appdata':_0x477d('0x2637')+_0x3a01e7['callerID']+')','context':_0x5c257b[_0x477d('0x2614')][_0x477d('0xf47')],'exten':_0x5c257b[_0x477d('0x2614')][_0x477d('0x1299')],'priority':_0x3a01e7[_0x477d('0x1298')][_0x477d('0x79')]+_0x13ad1a+_0x45beff++,'VoiceExtensionId':_0x5c257b[_0x477d('0x2614')]['id']});}else{_0x23b7ca[_0x477d('0x3a7')]({'type':_0x3a01e7[_0x477d('0x439')][_0x477d('0x449')](),'app':_0x477d('0x256f'),'appdata':'$[${LEN(${PREFIX-CALLERIDALL})}\x20>\x200]?Set(CALLERID(all)=${PREFIX-CALLERIDALL}):NoOp(No\x20number\x20available)','context':_0x5c257b[_0x477d('0x2614')][_0x477d('0xf47')],'exten':_0x5c257b[_0x477d('0x2614')]['exten'],'priority':_0x3a01e7['intervals'][_0x477d('0x79')]+_0x13ad1a+_0x45beff++,'VoiceExtensionId':_0x5c257b[_0x477d('0x2614')]['id']});}for(var _0x1cb590=0x0;_0x1cb590<_0x3a01e7[_0x477d('0x1298')][_0x477d('0x79')];_0x1cb590++){var _0x532c1d=_0x13ad1a+_0x3a01e7[_0x477d('0x1298')]['length'];var _0x6e64be=_0x1cb590===_0x3a01e7[_0x477d('0x1298')][_0x477d('0x79')]-0x1?_0x13ad1a+_0x23b7ca['length']+_0x244c39[_0x477d('0x79')]+0x2:_0x13ad1a+_0x1cb590+0x1;_0x23b7ca[_0x477d('0x45b')](_0x1cb590,0x0,{'type':'outbound','app':_0x477d('0x2573'),'appdata':_0x3a01e7[_0x477d('0x1298')][_0x1cb590]+'?'+_0x5c257b[_0x477d('0x2614')]['context']+_0x477d('0x2574')+_0x532c1d+':'+_0x5c257b['outboundroute']['context']+',${EXTEN},'+_0x6e64be,'exten':_0x5c257b[_0x477d('0x2614')]['exten'],'context':_0x5c257b[_0x477d('0x2614')][_0x477d('0xf47')],'priority':_0x13ad1a+_0x1cb590,'VoiceExtensionId':_0x5c257b[_0x477d('0x2614')]['id']});}if(_0x50041a&&_0x3a01e7[_0x477d('0x1294')]===_0x477d('0x12b5')){var _0x1fb03f=_[_0x477d('0x10a')](_0x5c257b[_0x477d('0x1244')],{'appType':_0x477d('0x12b5')});if(_0x1fb03f&&_0x1fb03f[_0x477d('0x458')]){var _0x871b79={};var _0x4e7792=_0x3a01e7[_0x477d('0x12ae')][_0x477d('0x472')](',');var _0x5bab89=[];for(var _0x4a78da=0x0,_0x2d0d29=_0x1fb03f[_0x477d('0x458')][_0x477d('0x79')];_0x4a78da<_0x2d0d29;_0x4a78da++){if(_0x1fb03f['fields'][_0x4a78da][_0x477d('0x3ea')](_0x477d('0x933'))){switch(_0x1fb03f[_0x477d('0x458')][_0x4a78da][_0x477d('0x94')]){case _0x477d('0xaa8'):_0x871b79[_0x477d('0xaa8')]=_0x4e7792[_0x1fb03f[_0x477d('0x458')][_0x4a78da][_0x477d('0x933')]][_0x477d('0x472')]('/')[0x1];_0x871b79['phone']=_0x4e7792[_0x1fb03f[_0x477d('0x458')][_0x4a78da][_0x477d('0x933')]]['split']('/')[0x2];_0x871b79['prefix']=_0x871b79[_0x477d('0xf46')]?_0x871b79[_0x477d('0xf46')]['split']('$')[0x0]:undefined;_0x871b79['phone']=_0x5c257b[_0x477d('0x2614')]['cutdigits']?(_0x871b79[_0x477d('0x6c0')]||'')+_0x477d('0x12b7')+_0x5c257b[_0x477d('0x2614')][_0x477d('0x12b6')]+'}':(_0x871b79[_0x477d('0x6c0')]||'')+_0x477d('0x12b8');_0x5bab89[_0x1fb03f['fields'][_0x4a78da][_0x477d('0x933')]]=[_0x477d('0x257e'),_0x871b79[_0x477d('0xaa8')],_0x871b79[_0x477d('0xf46')]][_0x477d('0x3f6')]('/');break;case'options':_0x871b79[_0x477d('0x43c')]=_0x4e7792[_0x1fb03f['fields'][_0x4a78da][_0x477d('0x933')]];if(_0x5c257b[_0x477d('0x2614')]['recordingFormat']!==_0x477d('0x496')){if(_0x871b79[_0x477d('0x43c')][_0x477d('0x477')](_0x477d('0x12ba'))<0x0){_0x871b79[_0x477d('0x43c')]+=_0x477d('0x12ba');}}else{_0x871b79['options']=_0x871b79[_0x477d('0x43c')][_0x477d('0x409')](_0x477d('0x12ba'),'');}_0x5bab89[_0x1fb03f[_0x477d('0x458')][_0x4a78da]['param']]=_0x871b79[_0x477d('0x43c')];break;default:_0x5bab89[_0x1fb03f['fields'][_0x4a78da][_0x477d('0x933')]]=_0x4e7792[_0x1fb03f['fields'][_0x4a78da][_0x477d('0x933')]];}}}_0x3a01e7[_0x477d('0x12ae')]=_0x5bab89[_0x477d('0x3f6')](',');}}_0x3a01e7[_0x477d('0x1243')]=_0x23b7ca[_0x477d('0x79')]?_[_0x477d('0x601')](_0x23b7ca)[_0x477d('0x1243')]+0x1:_0x13ad1a;_0x13ad1a=(_0x244c39['length']?_[_0x477d('0x601')](_0x244c39)[_0x477d('0x1243')]:_0x3a01e7[_0x477d('0x1243')])+0x1;_0x5c5f5f=_[_0x477d('0x3a9')](_0x5c5f5f,_0x23b7ca,[_0x3a01e7],_0x244c39);}_0x5c5f5f[_0x477d('0x3a7')]({'type':_0x477d('0x127'),'app':_0x477d('0x262b'),'exten':_0x5c257b[_0x477d('0x2614')][_0x477d('0x1299')],'context':_0x5c257b[_0x477d('0x2614')]['context'],'priority':_0x13ad1a,'VoiceExtensionId':_0x5c257b['outboundroute']['id']});_0x1d959a['voiceExtension'][_0x477d('0x129a')]({'id':_0x5c257b[_0x477d('0x2614')]['id']},_[_0x477d('0x1245')](_0x5c5f5f,_0x477d('0x1243')))['$promise'][_0x477d('0x76')](function(_0x465cf6){_0x5c257b[_0x477d('0x2617')][_0x477d('0xf2')]=_0x465cf6[_0x477d('0xf2')];})[_0x477d('0xf8')](function(_0x4a867b){console[_0x477d('0x44a')](_0x4a867b);});}function _0x530b18(_0x127b2f){_0x5c257b[_0x477d('0x2617')]=_0x127b2f||{'count':0x0,'rows':[]};}function _0x1f27f0(){return _0x1d959a[_0x477d('0x79c')][_0x477d('0x376')]({'fields':_0x477d('0x1923')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x425147){_0x5c257b['intervals']=_0x425147;})[_0x477d('0xf8')](function(_0x1553ec){console['error'](_0x1553ec);});}function _0x2e8f04(){_0x5c257b['promise']=_0x1d959a[_0x477d('0x21a5')][_0x477d('0x376')](_0x5c257b[_0x477d('0x3ef')],_0x530b18)['$promise'];}function _0x2a8ad2(_0x10dee4){_['remove'](_0x5c257b[_0x477d('0x2617')][_0x477d('0xf2')],{'id':_0x10dee4['id']});_0x1cac71();_0x4620[_0x477d('0x485')]({'title':'App\x20deleted!','msg':_0x10dee4[_0x477d('0x1291')]?_0x10dee4[_0x477d('0x1291')]+'\x20has\x20been\x20deleted!':''});}function _0x54e9e7(_0x3570e1){var _0x2e8066=_0x3ea05f['confirm']()[_0x477d('0x49a')](_0x477d('0x129b'))[_0x477d('0xd92')](''+_0x5c257b['selectedOutboundRouteApps']['length']+_0x477d('0xda0')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x129c'))[_0x477d('0xd7c')](_0x3570e1)['ok']('OK')['cancel'](_0x477d('0xd97'));_0x3ea05f[_0x477d('0x395')](_0x2e8066)[_0x477d('0x76')](function(){_0x5c257b[_0x477d('0x2638')][_0x477d('0x3b1')](function(_0x42128d){_[_0x477d('0x39c')](_0x5c257b[_0x477d('0x2617')][_0x477d('0xf2')],{'id':_0x42128d['id']});});_0x5c257b[_0x477d('0x2638')]=[];_0x1cac71();});}_0x68f55a['$on'](_0x477d('0x505'),function(){_0x1ba4b0['removeAllListeners'](_0x477d('0x2630'));});}}());(function(){'use strict';_0x3567ca[_0x477d('0xa')]=[_0x477d('0x384'),'$q',_0x477d('0x40e'),_0x477d('0x2639'),'outboundroute',_0x477d('0x386'),_0x477d('0x55'),_0x477d('0xd66')];angular['module'](_0x477d('0x2f'))[_0x477d('0x3ba')]('EditoutboundAppcustomDialogController',_0x3567ca);function _0x3567ca(_0x997792,_0x187c93,_0x8e74a0,_0x3c258,_0x396d87,_0x366a07,_0x4bb7d5,_0xe91ae9){var _0x5b7dd8=this;_0x5b7dd8[_0x477d('0x3e5')]=_0x4bb7d5[_0x477d('0x5c')]();_0x5b7dd8[_0x477d('0xd67')]=[];_0x5b7dd8[_0x477d('0x49a')]=_0x477d('0x2577')+(_0x3c258[_0x477d('0x1294')]||_0x3c258[_0x477d('0x1291')])[_0x477d('0x44f')]();_0x5b7dd8[_0x477d('0x9f6')]=angular['copy'](_0x3c258);_0x5b7dd8[_0x477d('0xd66')]=_0xe91ae9;_0x5b7dd8[_0x477d('0xd68')]={};if(_0x5b7dd8[_0x477d('0x9f6')]['appdata']){switch(_0x5b7dd8['custom'][_0x477d('0x1294')]?_0x5b7dd8['custom']['appType'][_0x477d('0x449')]():_0x5b7dd8['custom'][_0x477d('0x1291')][_0x477d('0x449')]()){case _0x477d('0x9f6'):break;case _0x477d('0x1266'):var _0xaf4629=_0x5b7dd8[_0x477d('0x9f6')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x5b7dd8[_0x477d('0x9f6')][_0x477d('0x670')]=_0xaf4629[0x0];_0x5b7dd8[_0x477d('0x9f6')][_0x477d('0x1267')]=_0xaf4629[0x1];_0x5b7dd8[_0x477d('0x9f6')][_0x477d('0x127a')]=_0xaf4629[_0x477d('0x9cd')](0x2,_0xaf4629[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x127c'):var _0xaf4629=_0x5b7dd8[_0x477d('0x9f6')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x5b7dd8[_0x477d('0x9f6')][_0x477d('0x127d')]=_0xaf4629[0x0];_0x5b7dd8[_0x477d('0x9f6')][_0x477d('0x127e')]=_0xaf4629[0x1];_0x5b7dd8['custom'][_0x477d('0x127f')]=_0xaf4629[0x2];_0x5b7dd8[_0x477d('0x9f6')][_0x477d('0x1283')]=_0xaf4629[0x3];_0x5b7dd8[_0x477d('0x9f6')][_0x477d('0x127a')]=_0xaf4629[_0x477d('0x9cd')](0x4,_0xaf4629[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case'autoreply':var _0xaf4629=_0x5b7dd8[_0x477d('0x9f6')]['appdata'][_0x477d('0x472')](',');_0x5b7dd8[_0x477d('0x9f6')]['times']=isNaN(_0xaf4629[0x0])?_0xaf4629[0x0]:parseInt(_0xaf4629[0x0],0xa);_0x5b7dd8['custom'][_0x477d('0x41b')]=_0xaf4629[_0x477d('0x9cd')](0x1,_0xaf4629['length'])[_0x477d('0x3f6')](',');break;case _0x477d('0x452'):_0x5b7dd8[_0x477d('0x9f6')]['text']=_0x5b7dd8[_0x477d('0x9f6')][_0x477d('0x12ae')];break;case _0x477d('0x12af'):_0x5b7dd8[_0x477d('0x9f6')][_0x477d('0x94')]=_0x5b7dd8['custom'][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x0];_0x5b7dd8[_0x477d('0x9f6')][_0x477d('0x3b6')]=_0x5b7dd8[_0x477d('0x9f6')][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x1];break;case _0x477d('0x12b0'):_0x5b7dd8['custom'][_0x477d('0xf13')]=_0x5b7dd8[_0x477d('0x9f6')][_0x477d('0x12ae')];break;default:var _0x37849d=_0x5b7dd8[_0x477d('0x9f6')][_0x477d('0x12ae')]['split'](',');_0x5b7dd8[_0x477d('0x9f6')][_0x477d('0x1291')]=_[_0x477d('0x3b2')](_0x37849d[0x0])?_0x37849d[0x0]:isNaN(_0x37849d[0x0])?_0x37849d[0x0]:parseInt(_0x37849d[0x0],0xa);_0x5b7dd8[_0x477d('0x9f6')][_0x477d('0x12ae')]=_[_0x477d('0x3b2')](_0x37849d[0x1])?_0x37849d[0x1]:isNaN(_0x37849d[0x1])?_0x37849d[0x1]:parseInt(_0x37849d[0x1],0xa);}}else{}if(_0x5b7dd8[_0x477d('0x9f6')][_0x477d('0x439')]&&_0x5b7dd8[_0x477d('0x9f6')][_0x477d('0x439')][_0x477d('0x449')]()==='outbound'&&_0x5b7dd8[_0x477d('0x9f6')][_0x477d('0x1294')][_0x477d('0x449')]()===_0x477d('0x12b1')){_0x5b7dd8[_0x477d('0x9f6')][_0x477d('0x6c0')]=_0x5b7dd8['custom'][_0x477d('0xf46')]?_0x5b7dd8[_0x477d('0x9f6')][_0x477d('0xf46')][_0x477d('0x472')]('$')[0x0]:undefined;_0x5b7dd8[_0x477d('0x9f6')]['callerId']=_0x5b7dd8[_0x477d('0x9f6')]['callerID']?'CALLERID(all)='+_0x5b7dd8[_0x477d('0x9f6')]['callerID']:undefined;}_0x5b7dd8['saveOutboundRouteApp']=_0x3d2f0c;_0x5b7dd8['closeDialog']=_0x250395;function _0x3d2f0c(){_0x5b7dd8[_0x477d('0xd67')]=[];var _0x1fbc8c=[];if(_0x5b7dd8[_0x477d('0x9f6')][_0x477d('0x439')]&&_0x5b7dd8[_0x477d('0x9f6')][_0x477d('0x439')][_0x477d('0x449')]()===_0x477d('0x127')&&_0x5b7dd8[_0x477d('0x9f6')]['appType']===_0x477d('0x12b5')){_0x5b7dd8['custom'][_0x477d('0xf46')]=_0x396d87[_0x477d('0x12b6')]?(_0x5b7dd8[_0x477d('0x9f6')][_0x477d('0x6c0')]||'')+_0x477d('0x12b7')+_0x396d87[_0x477d('0x12b6')]+'}':(_0x5b7dd8[_0x477d('0x9f6')][_0x477d('0x6c0')]||'')+'${EXTEN}';if(_0x396d87['recordingFormat']!==_0x477d('0x496')){if(_0x5b7dd8['custom'][_0x477d('0x43c')][_0x477d('0x477')](_0x477d('0x12ba'))<0x0){_0x5b7dd8['custom'][_0x477d('0x43c')]+='U(xcally-mixmonitor-context)';}}else{_0x5b7dd8[_0x477d('0x9f6')][_0x477d('0x43c')]=_0x5b7dd8[_0x477d('0x9f6')][_0x477d('0x43c')][_0x477d('0x409')]('U(xcally-mixmonitor-context)','');}}if(_0x5b7dd8[_0x477d('0x9f6')]['appType']&&_0x5b7dd8[_0x477d('0x9f6')][_0x477d('0x1294')]===_0x477d('0x9f6')){}else{switch((_0x5b7dd8['custom'][_0x477d('0x1291')]||_0x5b7dd8['custom'][_0x477d('0x1294')])[_0x477d('0x449')]()){case'set':_0x5b7dd8['custom']['appdata']=_0x5b7dd8[_0x477d('0x9f6')][_0x477d('0x94')]+'='+_0x5b7dd8[_0x477d('0x9f6')][_0x477d('0x3b6')];break;case _0x477d('0x9f6'):break;default:_0x1fbc8c[0x0]=_0x5b7dd8[_0x477d('0x9f6')]['app'];_0x1fbc8c[0x1]=_0x5b7dd8['custom'][_0x477d('0x12ae')];_0x5b7dd8[_0x477d('0x9f6')]['appdata']=_0x1fbc8c[_0x477d('0x3f6')](',');}}_0x250395(_0x5b7dd8[_0x477d('0x9f6')]);}function _0x250395(_0x3d641d){_0x997792[_0x477d('0x3bc')](_0x3d641d);}}}());(function(){'use strict';_0x4b0067[_0x477d('0xa')]=[_0x477d('0x3c4'),_0x477d('0x384'),_0x477d('0x6d3'),'IndexFactory','interval','intervals',_0x477d('0x40e'),'api',_0x477d('0x55'),'crudPermissions'];angular[_0x477d('0xb')](_0x477d('0x2f'))[_0x477d('0x3ba')](_0x477d('0x263a'),_0x4b0067);function _0x4b0067(_0x493a74,_0x5c4b4f,_0x47db78,_0x1ade2a,_0x10a597,_0x90fb1a,_0x4e8fe2,_0x3cf1cf,_0x5f2f70,_0x13efa9){var _0x1e18d9=this;_0x1e18d9['currentUser']=_0x5f2f70[_0x477d('0x5c')]();_0x1e18d9[_0x477d('0xd67')]=[];_0x1e18d9['title']=_0x477d('0x12be');_0x1e18d9[_0x477d('0x79c')]=angular['copy'](_0x10a597);_0x1e18d9['intervals']=_0x90fb1a;_0x1e18d9[_0x477d('0x12bf')]=![];_0x1e18d9[_0x477d('0x12c0')]=[_0x477d('0x1247'),_0x477d('0x9f6'),_0x477d('0xa02')];_0x1e18d9['crudPermissions']=_0x13efa9;_0x1e18d9[_0x477d('0x12c1')]=_0x1ade2a['getDaysOfWeek']();_0x1e18d9['monthNumber']=_0x1ade2a[_0x477d('0x12c4')]();_0x1e18d9[_0x477d('0x12c5')]=_0x1ade2a[_0x477d('0x192f')]();_0x1e18d9['daysOfMonth']=_0x1ade2a[_0x477d('0x12c7')]();if(!_0x1e18d9[_0x477d('0x79c')]){_0x1e18d9[_0x477d('0x79c')]={'interval':_0x477d('0x1249')};_0x1e18d9[_0x477d('0x439')]=_0x477d('0x1247');_0x1e18d9[_0x477d('0x49a')]=_0x477d('0x1930');_0x1e18d9[_0x477d('0x12bf')]=!![];}else{if(_0x1e18d9['interval'][_0x477d('0x79c')]!==_0x477d('0x1249')){_0x1e18d9[_0x477d('0x439')]=_0x477d('0x9f6');var _0x9b2bfb=_0x1e18d9[_0x477d('0x79c')][_0x477d('0x79c')]['split'](',');var _0x55697d=_0x9b2bfb[0x0];var _0x42a0cd=_0x9b2bfb[0x1];var _0x3bea45=_0x9b2bfb[0x2];var _0x499da4=_0x9b2bfb[0x3];if(_0x55697d!=='*'){var _0xf66b95=_0x55697d[_0x477d('0x472')]('-')[0x0];var _0x34eae8=_0x55697d[_0x477d('0x472')]('-')[0x1];var _0x3fb1de;_0x3fb1de=new Date();_0x3fb1de['setHours'](Number(_0xf66b95[_0x477d('0x472')](':')[0x0]));_0x3fb1de[_0x477d('0x12c9')](Number(_0xf66b95['split'](':')[0x1]));_0x1e18d9[_0x477d('0x12d1')]=_0x3fb1de;_0x3fb1de=new Date();_0x3fb1de['setHours'](Number(_0x34eae8[_0x477d('0x472')](':')[0x0]));_0x3fb1de['setMinutes'](Number(_0x34eae8[_0x477d('0x472')](':')[0x1]));_0x1e18d9['timeRangeTo']=_0x3fb1de;}if(_0x42a0cd!=='*'){_0x1e18d9[_0x477d('0x12d4')]=_0x42a0cd[_0x477d('0x472')]('-')[0x0];_0x1e18d9['dayOfWeekTo']=_0x42a0cd['split']('-')[0x1];}if(_0x3bea45!=='*'){_0x1e18d9[_0x477d('0x12d5')]=_0x3bea45[_0x477d('0x472')]('-')[0x0];_0x1e18d9[_0x477d('0x12d6')]=_0x3bea45[_0x477d('0x472')]('-')[0x1];}if(_0x499da4!=='*'){_0x1e18d9['monthFrom']=_0x499da4['split']('-')[0x0];_0x1e18d9[_0x477d('0x12cd')]=_0x499da4['split']('-')[0x1];}}else{_0x1e18d9['type']=_0x477d('0x1247');}}if(_0x493a74[_0x477d('0x37e')]['id']&&!_0x1e18d9[_0x477d('0x79c')][_0x477d('0xf55')]){_0x1e18d9['interval'][_0x477d('0xf8c')]=_0x493a74['params']['id'];}if(_0x1e18d9[_0x477d('0x79c')][_0x477d('0xf8c')]&&_0x1e18d9[_0x477d('0x79c')][_0x477d('0xf55')]){_0x1e18d9['type']=_0x477d('0xa02');}_0x1e18d9[_0x477d('0x12ce')]=_0x35d747;_0x1e18d9[_0x477d('0x1931')]=_0xf33c23;_0x1e18d9[_0x477d('0x6bf')]=_0x1cb28b;if(_0x1e18d9[_0x477d('0x79c')][_0x477d('0xf55')]){_0x5f2f70[_0x477d('0x56')]('admin')?_0x3cf1cf[_0x477d('0x79c')][_0x477d('0x376')]({'fields':_0x477d('0x12cf'),'IntervalId':_0x477d('0xea'),'nolimit':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x122bc3){_0x1e18d9[_0x477d('0x1298')]=_0x122bc3[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0xadd096){_0x4e8fe2[_0x477d('0x44a')]({'title':_0xadd096[_0x477d('0x3c3')]?_0x477d('0x44b')+_0xadd096[_0x477d('0x3c3')]+_0x477d('0x44c')+_0xadd096['statusText']:_0x477d('0x12d0'),'msg':_0xadd096[_0x477d('0x451')]?JSON['stringify'](_0xadd096[_0x477d('0x451')]):_0xadd096['toString']()});}):_0x3cf1cf[_0x477d('0x79c')][_0x477d('0x376')]({'fields':'id,name,interval,IntervalId','IntervalId':_0x477d('0xea'),'nolimit':!![]})[_0x477d('0x38b')]['then'](function(_0x3ecfac){_0x1e18d9[_0x477d('0x1298')]=_0x3ecfac[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x3cf1cf[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x1e18d9['currentUser'][_0x477d('0x61')],'sectionId':0x3ec})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x1c1534){var _0x2aba0c=_0x1c1534&&_0x1c1534[_0x477d('0xf2')]?_0x1c1534[_0x477d('0xf2')][0x0]:null;if(!_0x2aba0c){_0x1e18d9[_0x477d('0x1298')]=[];}else{if(!_0x2aba0c[_0x477d('0x3ad')]){return _0x3cf1cf[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x2aba0c['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x46e542){var _0x21b5b7=_0x46e542&&_0x46e542[_0x477d('0xf2')]?_0x46e542['rows']:[];var _0x14b5e3=[];var _0x581f17=null;if(_0x1e18d9[_0x477d('0x79c')]){_0x581f17=_[_0x477d('0x10a')](_0x1e18d9['intervals'],{'name':_0x1e18d9['interval'][_0x477d('0xf8c')]});}if(_0x581f17&&!_['some'](_0x21b5b7,[_0x477d('0x3af'),_0x581f17['id']])){_0x1e18d9[_0x477d('0x1298')][_0x477d('0x3b1')](function(_0x348a08){if(_0x348a08['id']===_0x581f17['id']){_0x348a08[_0x477d('0xf8b')]=![];_0x14b5e3[_0x477d('0x3a7')](_0x348a08);}});}_0x1e18d9[_0x477d('0x1298')]=_0x14b5e3;});}}})[_0x477d('0xf8')](function(_0xb9c1d){_0x4e8fe2[_0x477d('0x44a')]({'title':_0xb9c1d[_0x477d('0x3c3')]?_0x477d('0x44b')+_0xb9c1d[_0x477d('0x3c3')]+_0x477d('0x44c')+_0xb9c1d[_0x477d('0x44d')]:'SYSTEM:GET_INTERVALS','msg':_0xb9c1d[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0xb9c1d['data']):_0xb9c1d['toString']()});});}function _0xf71250(){switch(_0x1e18d9[_0x477d('0x439')]){case _0x477d('0x1247'):case _0x477d('0xa02'):return _0x477d('0x1249');case'custom':var _0x5ed5e8=[];if(_0x1e18d9[_0x477d('0x12d1')]!=='*'&&_0x1e18d9['timeRangeFrom']&&_0x1e18d9[_0x477d('0x12ca')]){var _0x4b59e5=(_0x1e18d9[_0x477d('0x12d1')][_0x477d('0x12d2')]()<0xa?'0':'')+_0x1e18d9[_0x477d('0x12d1')][_0x477d('0x12d2')]()+':'+((_0x1e18d9[_0x477d('0x12d1')]['getMinutes']()<0xa?'0':'')+_0x1e18d9[_0x477d('0x12d1')][_0x477d('0x12d3')]());var _0x3a9929=(_0x1e18d9['timeRangeTo'][_0x477d('0x12d2')]()<0xa?'0':'')+_0x1e18d9[_0x477d('0x12ca')][_0x477d('0x12d2')]()+':'+((_0x1e18d9[_0x477d('0x12ca')]['getMinutes']()<0xa?'0':'')+_0x1e18d9[_0x477d('0x12ca')]['getMinutes']());_0x5ed5e8[_0x477d('0x3a7')](_0x4b59e5+'-'+_0x3a9929);}else{_0x5ed5e8[_0x477d('0x3a7')]('*');}if(_0x1e18d9['dayOfWeekFrom']){if(_0x1e18d9['dayOfWeekTo']){_0x5ed5e8['push'](_0x1e18d9['dayOfWeekFrom']+'-'+_0x1e18d9[_0x477d('0x12cb')]);}else{_0x5ed5e8[_0x477d('0x3a7')](_0x1e18d9['dayOfWeekFrom']);}}else{_0x5ed5e8[_0x477d('0x3a7')]('*');}if(_0x1e18d9[_0x477d('0x12d5')]){if(_0x1e18d9[_0x477d('0x12d6')]){_0x5ed5e8['push'](_0x1e18d9[_0x477d('0x12d5')]+'-'+_0x1e18d9[_0x477d('0x12d6')]);}else{_0x5ed5e8[_0x477d('0x3a7')](_0x1e18d9[_0x477d('0x12d5')]);}}else{_0x5ed5e8[_0x477d('0x3a7')]('*');}if(_0x1e18d9[_0x477d('0x12cc')]){if(_0x1e18d9['monthTo']){_0x5ed5e8[_0x477d('0x3a7')](_0x1e18d9['monthFrom']+'-'+_0x1e18d9['monthTo']);}else{_0x5ed5e8[_0x477d('0x3a7')](_0x1e18d9[_0x477d('0x12cc')]);}}else{_0x5ed5e8[_0x477d('0x3a7')]('*');}return _0x5ed5e8[_0x477d('0x3f6')]();}}function _0x35d747(){_0x1e18d9[_0x477d('0xd67')]=[];_0x1e18d9[_0x477d('0x79c')]['interval']=_0xf71250();_0x3cf1cf[_0x477d('0x79c')][_0x477d('0xd70')](_0x1e18d9[_0x477d('0x79c')])['$promise']['then'](function(_0x4b130f){_0x1e18d9[_0x477d('0x1298')][_0x477d('0x3a7')](_0x4b130f);_0x4e8fe2['success']({'title':_0x477d('0x12d7'),'msg':_0x1e18d9[_0x477d('0x79c')]['name']?_0x1e18d9['interval'][_0x477d('0x94')]+_0x477d('0xd73'):''});_0x1cb28b();})['catch'](function(_0x434567){console[_0x477d('0x44a')](_0x434567);_0x1e18d9[_0x477d('0xd67')]=_0x434567[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x434567[_0x477d('0x453')](),'type':_0x477d('0x12d8')}];});}function _0xf33c23(){_0x1e18d9['errors']=[];_0x1e18d9[_0x477d('0x79c')][_0x477d('0x79c')]=_0xf71250();if(_0x1e18d9[_0x477d('0x79c')]['application']){_0x1e18d9[_0x477d('0x439')]!==_0x477d('0xa02')&&(_0x1e18d9[_0x477d('0x79c')][_0x477d('0xf8c')]=null);_0x1cb28b(_0x1e18d9[_0x477d('0x79c')]);}else{_0x3cf1cf[_0x477d('0x79c')][_0x477d('0x710')]({'id':_0x1e18d9[_0x477d('0x79c')]['id']},_0x1e18d9[_0x477d('0x79c')])['$promise'][_0x477d('0x76')](function(_0x37c0f0){var _0x1d1306=_[_0x477d('0x10a')](_0x1e18d9[_0x477d('0x1298')],{'id':_0x37c0f0['id']});if(_0x1d1306){_['merge'](_0x1d1306,_0x37c0f0);}_0x4e8fe2[_0x477d('0x485')]({'title':_0x477d('0x12d9'),'msg':'Interval\x20has\x20been\x20saved!'});_0x1cb28b();})['catch'](function(_0x3f8ab2){console[_0x477d('0x44a')](_0x3f8ab2);_0x1e18d9[_0x477d('0xd67')]=_0x3f8ab2[_0x477d('0x451')]['errors']||[{'message':_0x3f8ab2['toString'](),'type':_0x477d('0x12db')}];});}}function _0x1cb28b(_0x268df9){_0x5c4b4f['hide'](_0x268df9);}}}());(function(){'use strict';_0x2edb22[_0x477d('0xa')]=['$mdDialog','$q',_0x477d('0x40e'),_0x477d('0x2639'),'outboundroute',_0x477d('0x386'),_0x477d('0x55'),'crudPermissions'];angular['module'](_0x477d('0x2f'))[_0x477d('0x3ba')](_0x477d('0x263b'),_0x2edb22);function _0x2edb22(_0x35f6a8,_0x5e4019,_0x11d4b1,_0x1b58b1,_0x1ab6df,_0x365ed3,_0x494a32,_0x293f26){var _0x3e340d=this;_0x3e340d[_0x477d('0x3e5')]=_0x494a32[_0x477d('0x5c')]();_0x3e340d['errors']=[];_0x3e340d[_0x477d('0x49a')]='VOICE.EDIT_'+(_0x1b58b1[_0x477d('0x1294')]||_0x1b58b1[_0x477d('0x1291')])['toUpperCase']();_0x3e340d[_0x477d('0x12b1')]=angular['copy'](_0x1b58b1);_0x3e340d['crudPermissions']=_0x293f26;_0x3e340d[_0x477d('0xd68')]={};if(_0x3e340d['outbounddial'][_0x477d('0x12ae')]){switch(_0x3e340d[_0x477d('0x12b1')][_0x477d('0x1294')]?_0x3e340d[_0x477d('0x12b1')][_0x477d('0x1294')][_0x477d('0x449')]():_0x3e340d[_0x477d('0x12b1')]['app'][_0x477d('0x449')]()){case _0x477d('0x9f6'):break;case _0x477d('0x1266'):var _0x2429b7=_0x3e340d[_0x477d('0x12b1')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x3e340d['outbounddial'][_0x477d('0x670')]=_0x2429b7[0x0];_0x3e340d[_0x477d('0x12b1')][_0x477d('0x1267')]=_0x2429b7[0x1];_0x3e340d[_0x477d('0x12b1')][_0x477d('0x127a')]=_0x2429b7[_0x477d('0x9cd')](0x2,_0x2429b7[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case'amazonlex':var _0x2429b7=_0x3e340d['outbounddial'][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x3e340d[_0x477d('0x12b1')][_0x477d('0x127d')]=_0x2429b7[0x0];_0x3e340d[_0x477d('0x12b1')][_0x477d('0x127e')]=_0x2429b7[0x1];_0x3e340d[_0x477d('0x12b1')]['lexregion']=_0x2429b7[0x2];_0x3e340d[_0x477d('0x12b1')][_0x477d('0x1283')]=_0x2429b7[0x3];_0x3e340d[_0x477d('0x12b1')]['welcomemessage']=_0x2429b7[_0x477d('0x9cd')](0x4,_0x2429b7[_0x477d('0x79')])['join'](',');break;case _0x477d('0x1260'):var _0x2429b7=_0x3e340d[_0x477d('0x12b1')]['appdata'][_0x477d('0x472')](',');_0x3e340d[_0x477d('0x12b1')][_0x477d('0x1261')]=isNaN(_0x2429b7[0x0])?_0x2429b7[0x0]:parseInt(_0x2429b7[0x0],0xa);_0x3e340d['outbounddial'][_0x477d('0x41b')]=_0x2429b7[_0x477d('0x9cd')](0x1,_0x2429b7[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case'message':_0x3e340d[_0x477d('0x12b1')]['text']=_0x3e340d['outbounddial'][_0x477d('0x12ae')];break;case _0x477d('0x12af'):_0x3e340d[_0x477d('0x12b1')][_0x477d('0x94')]=_0x3e340d[_0x477d('0x12b1')][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x0];_0x3e340d[_0x477d('0x12b1')][_0x477d('0x3b6')]=_0x3e340d[_0x477d('0x12b1')][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x1];break;case'agi':_0x3e340d[_0x477d('0x12b1')]['project']=_0x3e340d[_0x477d('0x12b1')][_0x477d('0x12ae')];break;default:var _0x28fe34=_0x3e340d[_0x477d('0x12b1')][_0x477d('0x12ae')]['split'](',');_0x3e340d[_0x477d('0x12b1')][_0x477d('0xaa8')]=_0x28fe34[0x0][_0x477d('0x472')]('/')[0x1];_0x3e340d['outbounddial'][_0x477d('0xf46')]=_0x28fe34[0x0][_0x477d('0x472')]('/')[0x2];_0x3e340d[_0x477d('0x12b1')][_0x477d('0x91b')]=_[_0x477d('0x3b2')](_0x28fe34[0x1])?_0x28fe34[0x1]:isNaN(_0x28fe34[0x1])?_0x28fe34[0x1]:parseInt(_0x28fe34[0x1],0xa);_0x3e340d['outbounddial'][_0x477d('0x43c')]=_[_0x477d('0x3b2')](_0x28fe34[0x2])?_0x28fe34[0x2]:isNaN(_0x28fe34[0x2])?_0x28fe34[0x2]:parseInt(_0x28fe34[0x2],0xa);_0x3e340d['outbounddial'][_0x477d('0x3c1')]=_[_0x477d('0x3b2')](_0x28fe34[0x3])?_0x28fe34[0x3]:isNaN(_0x28fe34[0x3])?_0x28fe34[0x3]:parseInt(_0x28fe34[0x3],0xa);}}else{}if(_0x3e340d[_0x477d('0x12b1')][_0x477d('0x439')]&&_0x3e340d[_0x477d('0x12b1')][_0x477d('0x439')]['toLowerCase']()===_0x477d('0x127')&&_0x3e340d[_0x477d('0x12b1')]['appType']['toLowerCase']()===_0x477d('0x12b1')){_0x3e340d[_0x477d('0x12b1')]['prefix']=_0x3e340d['outbounddial'][_0x477d('0xf46')]?_0x3e340d['outbounddial'][_0x477d('0xf46')][_0x477d('0x472')]('$')[0x0]:undefined;_0x3e340d[_0x477d('0x12b1')][_0x477d('0x69b')]=_0x3e340d[_0x477d('0x12b1')][_0x477d('0x12b2')]?_0x477d('0x12b3')+_0x3e340d['outbounddial'][_0x477d('0x12b2')]:undefined;}_0x3e340d[_0x477d('0x263c')]=_0x3eaff2;_0x3e340d['closeDialog']=_0x3816e4;_0x494a32[_0x477d('0x56')](_0x477d('0x5f'))?_0x365ed3[_0x477d('0xaa8')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':'name','nolimit':'true'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x5add5b){_0x3e340d[_0x477d('0xf2e')]=_0x5add5b['rows']||[];})['catch'](function(_0x4589d5){_0x11d4b1[_0x477d('0x44a')]({'title':_0x4589d5[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x4589d5[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x4589d5['statusText']:'SYSTEM:GET_TRUNKS','msg':_0x4589d5[_0x477d('0x451')]?JSON['stringify'](_0x4589d5['data']):_0x4589d5['toString']()});}):_0x365ed3[_0x477d('0xaa8')]['get']({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x3ca7f6){_0x3e340d['trunks']=_0x3ca7f6[_0x477d('0xf2')]||[];})['then'](function(){return _0x365ed3[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x3e340d[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x3f3})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x4eee02){var _0x30f215=_0x4eee02&&_0x4eee02['rows']?_0x4eee02['rows'][0x0]:null;if(!_0x30f215){var _0x2fc7bb=[];var _0x3714ea=null;if(_0x3e340d[_0x477d('0x12b1')]){_0x3714ea=_['find'](_0x3e340d['trunks'],{'name':_0x3e340d[_0x477d('0x12b1')]['trunk']});}for(var _0x127a96=0x0;_0x127a96<_0x3e340d[_0x477d('0xf2e')][_0x477d('0x79')];_0x127a96++){if(_0x3714ea&&_0x3e340d[_0x477d('0xf2e')][_0x127a96]['id']===_0x3714ea['id']){_0x3e340d[_0x477d('0xf2e')][_0x127a96][_0x477d('0xf8b')]=![];_0x2fc7bb['push'](_0x3e340d[_0x477d('0xf2e')][_0x127a96]);}}_0x3e340d[_0x477d('0xf2e')]=_0x2fc7bb;}else{if(!_0x30f215[_0x477d('0x3ad')]){return _0x365ed3[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x30f215['id']})['$promise'][_0x477d('0x76')](function(_0x677563){var _0x3810ad=_[_0x477d('0x3cb')](_0x677563[_0x477d('0xf2')],function(_0x17d7f5){return _['find'](_0x3e340d[_0x477d('0xf2e')],{'id':_0x17d7f5[_0x477d('0x3af')]});});var _0x5ec5f9=null;if(_0x3e340d[_0x477d('0x12b1')]){_0x5ec5f9=_[_0x477d('0x10a')](_0x3e340d[_0x477d('0xf2e')],{'name':_0x3e340d[_0x477d('0x12b1')][_0x477d('0xaa8')]});}if(_0x5ec5f9&&!_['some'](_0x3810ad,['id',_0x5ec5f9['id']])){var _0x63b868=_[_0x477d('0x10a')](_0x3e340d[_0x477d('0xf2e')],{'id':_0x5ec5f9['id']});_0x63b868[_0x477d('0xf8b')]=![];_0x3810ad[_0x477d('0x3a7')](_0x63b868);}_0x3e340d[_0x477d('0xf2e')]=_0x3810ad;});}}})[_0x477d('0xf8')](function(_0x23b658){_0x11d4b1['error']({'title':_0x23b658[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x23b658['status']+'\x20-\x20'+_0x23b658['statusText']:_0x477d('0x190b'),'msg':_0x23b658['data']?JSON[_0x477d('0x3fb')](_0x23b658[_0x477d('0x451')]):_0x23b658['toString']()});});_0x494a32[_0x477d('0x56')](_0x477d('0x5f'))?_0x365ed3[_0x477d('0xbb0')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})['$promise'][_0x477d('0x76')](function(_0x4bf748){_0x3e340d[_0x477d('0x1263')]=_0x4bf748[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x42bc4e){_0x11d4b1[_0x477d('0x44a')]({'title':_0x42bc4e['status']?_0x477d('0x44b')+_0x42bc4e[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x42bc4e[_0x477d('0x44d')]:_0x477d('0x12e3'),'msg':_0x42bc4e[_0x477d('0x451')]?JSON['stringify'](_0x42bc4e[_0x477d('0x451')]):_0x42bc4e[_0x477d('0x453')]()});}):_0x365ed3[_0x477d('0xbb0')]['get']({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x205f05){_0x3e340d[_0x477d('0x1263')]=_0x205f05[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x365ed3['userProfileSection'][_0x477d('0x376')]({'userProfileId':_0x3e340d['currentUser'][_0x477d('0x61')],'sectionId':0x3f0})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x132729){var _0x36152d=_0x132729&&_0x132729['rows']?_0x132729[_0x477d('0xf2')][0x0]:null;if(!_0x36152d){var _0x5ca282=[];var _0xf84127=null;if(_0x3e340d[_0x477d('0x12b1')]){_0xf84127=_[_0x477d('0x10a')](_0x3e340d[_0x477d('0x1263')],{'name':_0x3e340d[_0x477d('0x12b1')]['tag']});}for(var _0x1820e4=0x0;_0x1820e4<_0x3e340d[_0x477d('0x1263')][_0x477d('0x79')];_0x1820e4++){if(_0xf84127&&_0x3e340d['tags'][_0x1820e4]['id']===_0xf84127['id']){_0x3e340d['tags'][_0x1820e4][_0x477d('0xf8b')]=![];_0x5ca282[_0x477d('0x3a7')](_0x3e340d[_0x477d('0x1263')][_0x1820e4]);}}_0x3e340d[_0x477d('0x1263')]=_0x5ca282;}else{if(!_0x36152d[_0x477d('0x3ad')]){return _0x365ed3[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x36152d['id']})[_0x477d('0x38b')]['then'](function(_0x18e890){var _0xe2efdb=_[_0x477d('0x3cb')](_0x18e890[_0x477d('0xf2')],function(_0x5e3f13){return _['find'](_0x3e340d[_0x477d('0x1263')],{'id':_0x5e3f13[_0x477d('0x3af')]});});var _0x1d5c4f=null;if(_0x3e340d[_0x477d('0x12b1')]){_0x1d5c4f=_[_0x477d('0x10a')](_0x3e340d['tags'],{'name':_0x3e340d[_0x477d('0x12b1')][_0x477d('0xbb0')]});}if(_0x1d5c4f&&!_['some'](_0xe2efdb,['id',_0x1d5c4f['id']])){var _0x47ad2b=_[_0x477d('0x10a')](_0x3e340d['tags'],{'id':_0x1d5c4f['id']});_0x47ad2b[_0x477d('0xf8b')]=![];_0xe2efdb[_0x477d('0x3a7')](_0x47ad2b);}_0x3e340d[_0x477d('0x1263')]=_0xe2efdb;});}}})['catch'](function(_0x32556d){_0x11d4b1['error']({'title':_0x32556d[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x32556d[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x32556d[_0x477d('0x44d')]:_0x477d('0x12e4'),'msg':_0x32556d[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x32556d[_0x477d('0x451')]):_0x32556d[_0x477d('0x453')]()});});function _0x3eaff2(){_0x3e340d[_0x477d('0xd67')]=[];var _0x1ad520=[];if(_0x3e340d[_0x477d('0x12b1')][_0x477d('0x439')]&&_0x3e340d['outbounddial'][_0x477d('0x439')][_0x477d('0x449')]()===_0x477d('0x127')&&_0x3e340d[_0x477d('0x12b1')]['appType']==='outboundDial'){_0x3e340d[_0x477d('0x12b1')]['phone']=_0x1ab6df['cutdigits']?(_0x3e340d[_0x477d('0x12b1')][_0x477d('0x6c0')]||'')+_0x477d('0x12b7')+_0x1ab6df[_0x477d('0x12b6')]+'}':(_0x3e340d[_0x477d('0x12b1')][_0x477d('0x6c0')]||'')+_0x477d('0x12b8');if(_0x1ab6df[_0x477d('0x12b9')]!==_0x477d('0x496')){if(_0x3e340d[_0x477d('0x12b1')][_0x477d('0x43c')][_0x477d('0x477')](_0x477d('0x12ba'))<0x0){_0x3e340d[_0x477d('0x12b1')]['options']+='U(xcally-mixmonitor-context)';}}else{_0x3e340d[_0x477d('0x12b1')][_0x477d('0x43c')]=_0x3e340d[_0x477d('0x12b1')][_0x477d('0x43c')]['replace'](_0x477d('0x12ba'),'');}}if(_0x3e340d[_0x477d('0x12b1')][_0x477d('0x1294')]&&_0x3e340d[_0x477d('0x12b1')][_0x477d('0x1294')]===_0x477d('0x9f6')){}else{switch((_0x3e340d[_0x477d('0x12b1')][_0x477d('0x1291')]||_0x3e340d['outbounddial'][_0x477d('0x1294')])['toLowerCase']()){case _0x477d('0x12af'):_0x3e340d[_0x477d('0x12b1')][_0x477d('0x12ae')]=_0x3e340d[_0x477d('0x12b1')]['name']+'='+_0x3e340d['outbounddial'][_0x477d('0x3b6')];break;case _0x477d('0x9f6'):break;default:_0x1ad520[0x0]=[_0x477d('0x257e'),_0x3e340d[_0x477d('0x12b1')][_0x477d('0xaa8')],_0x3e340d[_0x477d('0x12b1')]['phone']][_0x477d('0x3f6')]('/');_0x1ad520[0x1]=_0x3e340d[_0x477d('0x12b1')][_0x477d('0x91b')];_0x1ad520[0x2]=_0x3e340d[_0x477d('0x12b1')]['options'];_0x1ad520[0x3]=_0x3e340d[_0x477d('0x12b1')]['url'];_0x3e340d[_0x477d('0x12b1')]['appdata']=_0x1ad520[_0x477d('0x3f6')](',');}}_0x3816e4(_0x3e340d[_0x477d('0x12b1')]);}function _0x3816e4(_0x4daa65){_0x35f6a8[_0x477d('0x3bc')](_0x4daa65);}}}());(function(){'use strict';_0x427ad9[_0x477d('0xa')]=[_0x477d('0x3c4'),_0x477d('0xd64'),_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x40d'),_0x477d('0x613'),'setting',_0x477d('0x386'),_0x477d('0x40e'),'Auth',_0x477d('0x2614'),'userProfileSection'];angular[_0x477d('0xb')](_0x477d('0x2f'))[_0x477d('0x3ba')](_0x477d('0x263d'),_0x427ad9);function _0x427ad9(_0x15106c,_0x187721,_0x10b809,_0x2952e8,_0x218b4b,_0x430ce5,_0x3e4681,_0x166b05,_0x5cb29e,_0x433724,_0x5ded95,_0x213cca){var _0xf8956e=this;_0xf8956e[_0x477d('0x3e5')]=_0x433724[_0x477d('0x5c')]();_0xf8956e[_0x477d('0x613')]=_0x430ce5;_0xf8956e['setting']=_0x3e4681;_0xf8956e[_0x477d('0xd69')]=_0xf8956e[_0x477d('0xc8e')][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0xf8956e['location']=_0x187721['protocol']()+_0x477d('0x1209')+_0x187721[_0x477d('0x3c9')]();_0xf8956e[_0x477d('0x2614')]=_0x5ded95||_0x15106c['params'][_0x477d('0x2614')]||{};_0xf8956e[_0x477d('0x3ac')]=_0x213cca&&_0x213cca[_0x477d('0x3bb')]==0x1?_0x213cca['rows'][0x0]:null;_0xf8956e[_0x477d('0xd66')]=_0x433724[_0x477d('0xd81')](_0xf8956e[_0x477d('0x3ac')]?_0xf8956e[_0x477d('0x3ac')][_0x477d('0xd66')]:null);_0xf8956e[_0x477d('0xd68')]={};_0xf8956e['selectedTab']=_0x15106c[_0x477d('0x37e')][_0x477d('0xe96')]||0x0;_0xf8956e[_0x477d('0x120a')]=_0x5cb29e['info'];_0xf8956e[_0x477d('0x263e')]=_0xb84d0f;_0xf8956e[_0x477d('0x261f')]=_0x1f7e85;_0x433724[_0x477d('0x56')]('admin')?_0x166b05[_0x477d('0xa6b')]['get']({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x2acff2){_0xf8956e[_0x477d('0xf32')]=_0x2acff2['rows']||[];})['catch'](function(_0x59bc66){_0x5cb29e[_0x477d('0x44a')]({'title':_0x59bc66['status']?_0x477d('0x44b')+_0x59bc66[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x59bc66['statusText']:_0x477d('0x212b'),'msg':_0x59bc66[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x59bc66[_0x477d('0x451')]):_0x59bc66[_0x477d('0x453')]()});}):_0x166b05[_0x477d('0xa6b')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')]['then'](function(_0xe725a0){_0xf8956e[_0x477d('0xf32')]=_0xe725a0['rows']||[];})[_0x477d('0x76')](function(){return _0x166b05['userProfileSection'][_0x477d('0x376')]({'userProfileId':_0xf8956e[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x195})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x5c2e13){var _0x33516e=_0x5c2e13&&_0x5c2e13[_0x477d('0xf2')]?_0x5c2e13[_0x477d('0xf2')][0x0]:null;if(!_0x33516e){return _0x166b05[_0x477d('0xa6b')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':'true','defaultEntry':0x1})[_0x477d('0x38b')][_0x477d('0x76')](function(_0xfe2c1b){_0xf8956e['contexts']=_0xfe2c1b[_0x477d('0xf2')]||[];});}else{if(!_0x33516e[_0x477d('0x3ad')]){return _0x166b05[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x33516e['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x3e7bf6){var _0x23396c=_[_0x477d('0x3cb')](_0x3e7bf6['rows'],function(_0xdb7b14){return _[_0x477d('0x10a')](_0xf8956e[_0x477d('0xf32')],{'id':_0xdb7b14[_0x477d('0x3af')]});});var _0x2188f1=null;if(_0xf8956e['outboundroute']){_0x2188f1=_['find'](_0xf8956e[_0x477d('0xf32')],{'name':_0xf8956e['outboundroute'][_0x477d('0xf47')]});}if(_0x2188f1&&!_[_0x477d('0x3ab')](_0x23396c,['id',_0x2188f1['id']])){var _0x9fa1c5=_['find'](_0xf8956e[_0x477d('0xf32')],{'id':_0x2188f1['id']});_0x9fa1c5[_0x477d('0xf8b')]=![];_0x23396c[_0x477d('0x3a7')](_0x9fa1c5);}_0xf8956e[_0x477d('0xf32')]=_0x23396c;});}}})['catch'](function(_0x436cec){_0x5cb29e[_0x477d('0x44a')]({'title':_0x436cec[_0x477d('0x3c3')]?'API:'+_0x436cec[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x436cec[_0x477d('0x44d')]:_0x477d('0x215b'),'msg':_0x436cec[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x436cec['data']):_0x436cec['toString']()});});function _0xb84d0f(){_0x15106c['go'](_0x477d('0x319'),{},{'reload':_0x477d('0x319')});}function _0x1f7e85(){_0x166b05['voiceExtension'][_0x477d('0x710')]({'id':_0xf8956e[_0x477d('0x2614')]['id']},_0xf8956e[_0x477d('0x2614')])['$promise'][_0x477d('0x76')](function(){_0x5cb29e[_0x477d('0x485')]({'title':_0x477d('0x263f'),'msg':_0xf8956e[_0x477d('0x2614')]['name']?_0xf8956e[_0x477d('0x2614')][_0x477d('0x94')]+_0x477d('0xed7'):''});})[_0x477d('0xf8')](function(_0x47fc1a){_0x5cb29e['error']({'title':_0x47fc1a['status']?_0x477d('0x44b')+_0x47fc1a['status']+_0x477d('0x44c')+_0x47fc1a['statusText']:_0x477d('0x258f'),'msg':_0x47fc1a[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x47fc1a[_0x477d('0x451')]):_0x47fc1a['toString']()});});}}}());(function(){'use strict';_0x36e8b7[_0x477d('0xa')]=['$scope',_0x477d('0x387'),_0x477d('0x3c4'),'$mdSidenav',_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x3fe'),_0x477d('0x40d'),'outboundroutes',_0x477d('0x3a5'),_0x477d('0x3ac'),_0x477d('0x386'),_0x477d('0x342'),_0x477d('0x40e'),_0x477d('0x55'),_0x477d('0x613'),'setting'];angular[_0x477d('0xb')](_0x477d('0x2f'))[_0x477d('0x3ba')](_0x477d('0x2640'),_0x36e8b7);function _0x36e8b7(_0x542183,_0x64a086,_0x2cfd9c,_0x47cd9f,_0x12b3ab,_0x5e2d25,_0x1e3797,_0x2782d0,_0x35cac8,_0x2fe65e,_0x172a65,_0x27f182,_0x2715b1,_0x2ffecc,_0x51cf87,_0x273e65,_0x5b4000){var _0x40821b=this;_0x40821b[_0x477d('0x613')]=_0x273e65;_0x40821b[_0x477d('0xc8e')]=_0x5b4000;_0x40821b[_0x477d('0x3e5')]=_0x51cf87[_0x477d('0x5c')]();_0x40821b[_0x477d('0x2613')]=_0x35cac8||{'count':0x0,'rows':[]};_0x40821b[_0x477d('0x3a5')]=_0x2fe65e;_0x40821b[_0x477d('0x3ac')]=_0x172a65&&_0x172a65[_0x477d('0x3bb')]==0x1?_0x172a65[_0x477d('0xf2')][0x0]:null;_0x40821b[_0x477d('0xd66')]=_0x51cf87[_0x477d('0xd81')](_0x40821b[_0x477d('0x3ac')]?_0x40821b['userProfileSection'][_0x477d('0xd66')]:null);_0x40821b[_0x477d('0xd82')]=_0x477d('0x2613');_0x40821b[_0x477d('0xd83')]='';_0x40821b[_0x477d('0xd84')]=null;_0x40821b['selectedOutboundRoutes']=[];_0x40821b[_0x477d('0x3ef')]={'fields':_0x477d('0x31e'),'type':_0x477d('0x127'),'sort':_0x477d('0x59'),'VoiceExtensionId':_0x477d('0xea'),'limit':0xa,'page':0x1};_0x40821b['arrayrecordingFormat']=_[_0x477d('0xdb5')]([{'option':_0x477d('0x496'),'value':_0x477d('0x2641')},{'option':_0x477d('0xf75'),'value':_0x477d('0x1e94')},{'option':_0x477d('0x20f6'),'value':_0x477d('0x20f7')},{'option':_0x477d('0xf77'),'value':_0x477d('0x1e96')}],function(_0x251003){return _[_0x477d('0x409')](_0x251003[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x40821b['editstate']=_0x58b410;_0x40821b[_0x477d('0xd88')]=_0x4793dd;_0x40821b[_0x477d('0x485')]=_0x13faa8;_0x40821b['getOutboundRoutes']=_0x327508;_0x40821b[_0x477d('0x2642')]=_0x249253;_0x40821b[_0x477d('0x2620')]=_0x5bb11c;_0x40821b[_0x477d('0x2643')]=_0x1f45f5;_0x40821b['deleteSelectedOutboundRoutes']=_0x3d6643;_0x40821b[_0x477d('0x2644')]=_0x5bdaba;_0x40821b[_0x477d('0x2645')]=_0x366321;_0x51cf87[_0x477d('0x56')](_0x477d('0x5f'))?_0x27f182['voiceContext']['get']({'fields':'id,name','sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')]['then'](function(_0x201f3d){_0x40821b['contexts']=_0x201f3d[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x463057){_0x2ffecc[_0x477d('0x44a')]({'title':_0x463057['status']?_0x477d('0x44b')+_0x463057[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x463057[_0x477d('0x44d')]:_0x477d('0x212b'),'msg':_0x463057[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x463057[_0x477d('0x451')]):_0x463057[_0x477d('0x453')]()});}):_0x27f182[_0x477d('0xa6b')][_0x477d('0x376')]({'fields':'id,name','sort':_0x477d('0x94'),'nolimit':'true'})[_0x477d('0x38b')]['then'](function(_0x4329bf){_0x40821b[_0x477d('0xf32')]=_0x4329bf[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x27f182[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x40821b['currentUser'][_0x477d('0x61')],'sectionId':0x195})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x6152cf){var _0x32110c=_0x6152cf&&_0x6152cf['rows']?_0x6152cf[_0x477d('0xf2')][0x0]:null;if(!_0x32110c){return _0x27f182[_0x477d('0xa6b')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':'name','nolimit':_0x477d('0x2ee'),'defaultEntry':0x1})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x1ff3c1){_0x40821b['contexts']=_0x1ff3c1[_0x477d('0xf2')]||[];});}else{if(!_0x32110c[_0x477d('0x3ad')]){return _0x27f182[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x32110c['id']})['$promise'][_0x477d('0x76')](function(_0x42ea69){var _0x58dc65=_['map'](_0x42ea69[_0x477d('0xf2')],function(_0x5b67e2){return _[_0x477d('0x10a')](_0x40821b[_0x477d('0xf32')],{'id':_0x5b67e2['resourceId']});});var _0x5781cf=null;if(_0x40821b['outboundroute']){_0x5781cf=_[_0x477d('0x10a')](_0x40821b[_0x477d('0xf32')],{'name':_0x40821b[_0x477d('0x2614')][_0x477d('0xf47')]});}if(_0x5781cf&&!_['some'](_0x58dc65,['id',_0x5781cf['id']])){var _0x1c63f9=_[_0x477d('0x10a')](_0x40821b[_0x477d('0xf32')],{'id':_0x5781cf['id']});_0x1c63f9[_0x477d('0xf8b')]=![];_0x58dc65[_0x477d('0x3a7')](_0x1c63f9);}_0x40821b[_0x477d('0xf32')]=_0x58dc65;});}}})[_0x477d('0xf8')](function(_0x2bfe1b){_0x2ffecc[_0x477d('0x44a')]({'title':_0x2bfe1b[_0x477d('0x3c3')]?'API:'+_0x2bfe1b[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x2bfe1b[_0x477d('0x44d')]:_0x477d('0x215b'),'msg':_0x2bfe1b[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x2bfe1b['data']):_0x2bfe1b[_0x477d('0x453')]()});});function _0x58b410(_0x33ed25,_0x36b7ed){_0x2cfd9c['go'](_0x477d('0x31f'),{'id':_0x33ed25['id'],'outboundroute':_0x33ed25,'crudPermissions':_0x40821b['crudPermissions']});}function _0x4793dd(_0xa66647,_0x2e646f){var _0x3df4e4=_0x12b3ab[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xd90')+_[_0x477d('0xd91')](_0x477d('0x2614'))+'?')['htmlContent'](_0x477d('0xd93')+(_0xa66647[_0x477d('0x94')]||_0x477d('0x2614'))+''+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x2646'))[_0x477d('0xd7c')](_0x2e646f)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x12b3ab[_0x477d('0x395')](_0x3df4e4)['then'](function(){_0x5bb11c(_0xa66647);},function(){console['log']('CANCEL');});}var _0x47a9d5=!![];var _0x2ca34c=0x1;_0x542183['$watch'](_0x477d('0xd98'),function(_0x2ef31d,_0x42c515){if(_0x47a9d5){_0x1e3797(function(){_0x47a9d5=![];});}else{if(!_0x42c515){_0x2ca34c=_0x40821b[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x2ef31d!==_0x42c515){_0x40821b['query']['page']=0x1;}if(!_0x2ef31d){_0x40821b[_0x477d('0x3ef')]['page']=_0x2ca34c;}_0x40821b[_0x477d('0x2647')]();}});function _0x13faa8(_0x1ee61a){_0x40821b[_0x477d('0x2613')]=_0x1ee61a||{'count':0x0,'rows':[]};}function _0x327508(){_0x40821b[_0x477d('0x3ef')][_0x477d('0x91c')]=(_0x40821b['query'][_0x477d('0xe03')]-0x1)*_0x40821b['query'][_0x477d('0x91d')];if(_0x51cf87[_0x477d('0x56')](_0x477d('0x5f'))){_0x40821b['promise']=_0x27f182[_0x477d('0x21a5')]['get'](_0x40821b['query'],_0x13faa8)[_0x477d('0x38b')];}else{_0x40821b[_0x477d('0x3ef')]['id']=_0x40821b['userProfile']['id'];_0x40821b[_0x477d('0x3ef')][_0x477d('0xd99')]=_0x477d('0x31d');_0x40821b[_0x477d('0x553')]=_0x27f182[_0x477d('0x3a5')]['getResources'](_0x40821b[_0x477d('0x3ef')],_0x13faa8)[_0x477d('0x38b')];}}function _0x249253(_0x573167,_0x4dad7f){_0x12b3ab[_0x477d('0x395')]({'controller':'CreateOrEditOutboundRouteDialogController','controllerAs':'vm','templateUrl':_0x477d('0x2648'),'parent':angular[_0x477d('0x398')](_0x5e2d25[_0x477d('0x399')]),'targetEvent':_0x573167,'clickOutsideToClose':!![],'locals':{'outboundroute':_0x4dad7f,'outboundroutes':_0x40821b[_0x477d('0x2613')][_0x477d('0xf2')],'license':_0x40821b[_0x477d('0x613')],'setting':_0x40821b[_0x477d('0xc8e')],'crudPermissions':_0x40821b[_0x477d('0xd66')]}});}function _0x5bb11c(_0x15df76){_0x27f182[_0x477d('0xcd2')][_0x477d('0x376')]({'VoiceExtensionId':_0x15df76['id']})[_0x477d('0x38b')]['then'](function(_0x3b9c7e){if(_0x3b9c7e&&_0x3b9c7e[_0x477d('0xf2')]&&_0x3b9c7e['rows']['length']>0x0){return _0x2ffecc['error']({'title':_0x477d('0x2622'),'msg':_0x477d('0x2649')});}else{_0x27f182[_0x477d('0x21a5')][_0x477d('0xa55')]({'id':_0x15df76['id']})[_0x477d('0x38b')]['then'](function(){_[_0x477d('0x39c')](_0x40821b['outboundroutes']['rows'],{'id':_0x15df76['id']});_0x40821b[_0x477d('0x2613')]['count']-=0x1;if(!_0x40821b[_0x477d('0x2613')][_0x477d('0xf2')]['length']){_0x40821b['getOutboundRoutes']();}_0x2ffecc[_0x477d('0x485')]({'title':_[_0x477d('0xd91')](_0x477d('0x264a'))+_0x477d('0xd9d'),'msg':_0x15df76[_0x477d('0x94')]?_0x15df76[_0x477d('0x94')]+_0x477d('0xd7e'):''});})[_0x477d('0xf8')](function(_0x3fa204){if(_0x3fa204[_0x477d('0x451')]&&_0x3fa204[_0x477d('0x451')][_0x477d('0xd67')]&&_0x3fa204[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x40821b[_0x477d('0xd67')]=_0x3fa204[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x3fa204[_0x477d('0x453')](),'type':_0x477d('0x259a')}];for(var _0x5885b5=0x0;_0x5885b5<_0x3fa204[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x5885b5++){_0x2ffecc[_0x477d('0x44a')]({'title':_0x3fa204[_0x477d('0x451')][_0x477d('0xd67')][_0x5885b5][_0x477d('0x439')],'msg':_0x3fa204[_0x477d('0x451')][_0x477d('0xd67')][_0x5885b5][_0x477d('0x452')]});}}else{_0x2ffecc[_0x477d('0x44a')]({'title':_0x3fa204[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x3fa204[_0x477d('0x3c3')]+'\x20-\x20'+_0x3fa204[_0x477d('0x44d')]:_0x477d('0x259a'),'msg':_0x3fa204[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x3fa204[_0x477d('0x451')][_0x477d('0x452')]):_0x3fa204[_0x477d('0x452')]||_0x3fa204[_0x477d('0x453')]()});}});}});}function _0x1f45f5(){var _0x368f63=angular[_0x477d('0x6d9')](_0x40821b[_0x477d('0x264b')]);_0x40821b[_0x477d('0x264b')]=[];return _0x368f63;}function _0x3d6643(_0xc29134){var _0x89cea7=_0x12b3ab['confirm']()[_0x477d('0x49a')](_0x477d('0x264c'))[_0x477d('0xd92')](_0x477d('0xd93')+_0x40821b['selectedOutboundRoutes'][_0x477d('0x79')]+_0x477d('0xda0')+_0x477d('0xd95'))[_0x477d('0x687')]('delete\x20OutboundRoutes')[_0x477d('0xd7c')](_0xc29134)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x12b3ab['show'](_0x89cea7)['then'](function(){_0x40821b[_0x477d('0x264b')]['forEach'](function(_0x1196db){_0x5bb11c(_0x1196db);});_0x40821b[_0x477d('0x264b')]=[];});}function _0x5bdaba(){_0x40821b[_0x477d('0x264b')]=[];}function _0x366321(){_0x40821b[_0x477d('0x264b')]=_0x40821b[_0x477d('0x2613')]['rows'];}}}());(function(){'use strict';_0xeec038[_0x477d('0xa')]=[_0x477d('0x474'),'$timeout',_0x477d('0x384'),_0x477d('0x475'),'$window','$translate',_0x477d('0x386'),'userProfile',_0x477d('0x3ac'),_0x477d('0x55'),_0x477d('0x5a3'),_0x477d('0x40e'),'agents',_0x477d('0x15b8')];angular['module']('app.voice')[_0x477d('0x3ba')](_0x477d('0x264d'),_0xeec038);function _0xeec038(_0x52b122,_0x3b6be3,_0x3de224,_0x5c76de,_0x170a4d,_0x25d386,_0x10a56d,_0x1bf748,_0x23469e,_0xab7612,_0xc4c042,_0x2993b6,_0x26f44b,_0x8ce545){var _0x39e4ef=this;var _0x5b186b=!![];_0x39e4ef[_0x477d('0x3e5')]=_0xab7612['getCurrentUser']();_0x39e4ef[_0x477d('0x125c')]=_0x26f44b?_0x26f44b:[];_0x39e4ef['dispositions']=_0x8ce545;_0x39e4ef['abandonedCalls']={'count':0x0,'rows':[]};_0x39e4ef[_0x477d('0x1654')]=![];_0x39e4ef[_0x477d('0x911')]=!![];_0x39e4ef[_0x477d('0x3a5')]=_0x1bf748;_0x39e4ef[_0x477d('0x3ac')]=_0x23469e&&_0x23469e[_0x477d('0x3bb')]==0x1?_0x23469e[_0x477d('0xf2')][0x0]:null;_0x39e4ef[_0x477d('0xd66')]=_0xab7612[_0x477d('0xd81')](_0x39e4ef[_0x477d('0x3ac')]?_0x39e4ef[_0x477d('0x3ac')]['crudPermissions']:null);_0x39e4ef[_0x477d('0x3ef')]={'fields':_0x477d('0x1656'),'type':_0x477d('0x9e'),'queuecallerexitreason':'TIMEOUT'+','+_0x477d('0x1658'),'sort':_0x477d('0x59'),'limit':0xa,'page':0x1};_0x39e4ef[_0x477d('0x1659')]=_0x3f4276;_0x39e4ef[_0x477d('0x264e')]=_0x56ebf1;_0x39e4ef[_0x477d('0x1ebd')]=_0x491dac;_0x39e4ef[_0x477d('0x1ebe')]=_0x2ed1bb;_0x39e4ef['onSaveVoiceQueueReport']=_0x332efc;_0x39e4ef[_0x477d('0x1ec0')]=_0x25d407;_0xc4c042[_0x477d('0x165e')](_0x477d('0x165f'),_0x39e4ef['onSaveVoiceQueueReport']);_0xc4c042['on'](_0x477d('0x1660'),_0x39e4ef[_0x477d('0x1ec0')]);_0x2ba5fb();function _0x2ba5fb(){var _0x57b9aa=_0x170a4d[_0x477d('0x39d')]['getItem']('motion2.realtime.abandoned.voice.abandonedCalls:'+_0x39e4ef[_0x477d('0x3e5')]['id']);if(_0x57b9aa){_0x57b9aa=JSON[_0x477d('0x77')](_0x57b9aa);if(_0x57b9aa&&_0x57b9aa['query']){_0x39e4ef['query']=_[_0x477d('0xef')](_0x57b9aa[_0x477d('0x3ef')],_[_0x477d('0x3fc')](_0x39e4ef[_0x477d('0x3ef')],['sort',_0x477d('0x91d'),'page']));_0x39e4ef[_0x477d('0x3ef')]=_[_0x477d('0x3fc')](_0x39e4ef[_0x477d('0x3ef')],'filter');}}else{var _0x1b3b8c={'$gte':moment()[_0x477d('0x12d')]('month')[_0x477d('0x12e')](0x0,!![])['format'](),'$lte':moment()[_0x477d('0x130')](_0x477d('0x6fd'))['utcOffset'](0x0,!![])[_0x477d('0x12f')]()};_0x39e4ef[_0x477d('0x3ef')][_0x477d('0xe37')]=_0x1b3b8c;}if(_0xab7612['hasRole'](_0x477d('0x5f'))){_0x10a56d[_0x477d('0x380')][_0x477d('0x1418')]({'id':_0xab7612[_0x477d('0x5c')]()['id'],'fields':_0x477d('0x9c'),'channel':'voice','type':_0x477d('0x9e'),'nolimit':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x1a94ee){_0x39e4ef[_0x477d('0xf2f')]=_0x1a94ee||{'count':0x0,'rows':[]};_0x39e4ef[_0x477d('0x1661')]=_[_0x477d('0x14bb')](_[_0x477d('0xdb5')](_0x39e4ef['queues'][_0x477d('0xf2')],'name'),_0x477d('0x94'));})[_0x477d('0xf8')](function(_0x2d88d7){console['error'](_0x2d88d7);})[_0x477d('0x5ff')](function(){_0x39e4ef[_0x477d('0x1349')]=_0xb85aff();_0x39e4ef[_0x477d('0x1659')]();});}else{_0x10a56d[_0x477d('0x3a5')][_0x477d('0xd9a')]({'id':_0x39e4ef[_0x477d('0x3e5')][_0x477d('0x61')],'section':_0x477d('0x9f'),'channel':'voice','type':'inbound','sort':'-updatedAt','nolimit':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x436b0e){_0x39e4ef[_0x477d('0xf2f')]=_0x436b0e||{'count':0x0,'rows':[]};_0x39e4ef[_0x477d('0x1661')]=_[_0x477d('0x14bb')](_[_0x477d('0xdb5')](_0x39e4ef[_0x477d('0xf2f')]['rows'],_0x477d('0x94')),_0x477d('0x94'));})[_0x477d('0xf8')](function(_0x172972){console['error'](_0x172972);})[_0x477d('0x5ff')](function(){_0x39e4ef['quickFilters']=_0xb85aff();_0x39e4ef[_0x477d('0x1659')]();});}}function _0xb85aff(){console['log']('buildQuickFilters\x20vm.agents.rows',_0x39e4ef[_0x477d('0x125c')][_0x477d('0xf2')]);return[{'name':_0x477d('0x134a'),'key':_0x477d('0xe37'),'type':_0x477d('0x420'),'label':'DASHBOARDS.SELECT_DATE'},{'name':_0x477d('0x125d'),'key':_0x477d('0x1ec3'),'type':'select','label':_0x477d('0x1353'),'options':_0x39e4ef[_0x477d('0x125c')][_0x477d('0xf2')],'customOptions':[{'value':'\x27null\x27','translate':'DASHBOARDS.NOT_ASSIGNED'},{'value':undefined,'translate':_0x477d('0x1350')}]},{'name':_0x477d('0x166c'),'key':_0x477d('0x1256'),'type':_0x477d('0x413'),'label':_0x477d('0x1ec4'),'options':_0x39e4ef[_0x477d('0xf2f')]['rows']}];}function _0x3f4276(){_0x39e4ef[_0x477d('0x911')]=![];if(_0x39e4ef[_0x477d('0xf2f')]['count']>0x0){_0x39e4ef[_0x477d('0x3ef')]['queue']=_0x39e4ef[_0x477d('0xf2f')][_0x477d('0x3bb')]===0x1?_0x39e4ef['queues'][_0x477d('0xf2')][0x0][_0x477d('0x94')]:_0x39e4ef['query'][_0x477d('0x1256')];_0x39e4ef[_0x477d('0x3ef')][_0x477d('0x91c')]=(_0x39e4ef['query']['page']-0x1)*_0x39e4ef[_0x477d('0x3ef')][_0x477d('0x91d')];_0x170a4d[_0x477d('0x39d')][_0x477d('0x3fa')](_0x477d('0x264f')+_0x39e4ef['currentUser']['id'],JSON[_0x477d('0x3fb')]({'query':_[_0x477d('0x3fc')](_0x39e4ef[_0x477d('0x3ef')],_0x477d('0x1256'))}));_0x39e4ef[_0x477d('0x553')]=_0x10a56d[_0x477d('0xaa0')][_0x477d('0x1666')](_0x39e4ef[_0x477d('0x3ef')],_0x325736)[_0x477d('0x38b')];}else{_0x325736(null);}}function _0x325736(_0x3ea730){_0x39e4ef[_0x477d('0x1655')]=_0x3ea730||{'count':0x0,'rows':[]};_0x5b186b=![];_0x39e4ef['refresh']=!![];}function _0x56ebf1(){_0x39e4ef[_0x477d('0x1654')]=![];_0x39e4ef[_0x477d('0x1659')]();}function _0x332efc(_0x498512){var _0x149328=_0x477d('0x9e');if(_0x498512&&_0x39e4ef[_0x477d('0x1661')]&&queue['type']===_0x149328&&_0x39e4ef[_0x477d('0x1661')][_0x498512[_0x477d('0x1256')]]){_0x39e4ef['showTooltip']=!![];}}function _0x25d407(_0x530760){if(_0x530760){var _0x17878c=_[_0x477d('0x45a')](_0x39e4ef[_0x477d('0x1655')]['rows'],['id',_0x530760['id']]);if(_0x17878c>=0x0){_[_0x477d('0xef')](_0x39e4ef['abandonedCalls'][_0x477d('0xf2')][_0x17878c],_0x530760);}}}function _0x491dac(_0x36432a,_0x3a1477){if(_0x36432a){_0x10a56d[_0x477d('0xaa0')][_0x477d('0x710')]({'id':_0x36432a['id'],'lastAssignedTo':_0x3a1477?_0x3a1477[_0x477d('0x94')]:null,'assigned':_0x3a1477?!![]:![]})[_0x477d('0x38b')][_0x477d('0xf8')](function(_0x20439d){console[_0x477d('0x7b')](_0x20439d);});}}function _0x2ed1bb(_0x17bf9a,_0x4dee46){if(_0x17bf9a){_0x10a56d['voiceQueueReport'][_0x477d('0x710')]({'id':_0x17bf9a['id'],'disposition':_0x4dee46?_0x4dee46:null})[_0x477d('0x38b')]['catch'](function(_0x3c42b9){console[_0x477d('0x7b')](_0x3c42b9);});}}var _0x180828=!![];var _0xcfd50a=0x1;_0x52b122['$watch'](_0x477d('0xd98'),function(_0x25c252,_0x4116fd){if(_0x180828){_0x3b6be3(function(){_0x180828=![];});}else{if(!_0x4116fd){_0xcfd50a=_0x39e4ef[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x25c252!==_0x4116fd){_0x39e4ef[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0x25c252){_0x39e4ef['query'][_0x477d('0xe03')]=_0xcfd50a;}_0x39e4ef['getAbandonedCalls']();}});_0x52b122[_0x477d('0x4ec')](_0x477d('0x505'),function(){_0xc4c042[_0x477d('0x6b8')](_0x477d('0x165f'));_0xc4c042[_0x477d('0x6b8')](_0x477d('0x1660'));});}}());(function(){'use strict';_0x5ad564[_0x477d('0xa')]=['$scope','$q','$timeout',_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x6db'),_0x477d('0xf39'),_0x477d('0x125c'),_0x477d('0x13d7'),_0x477d('0x386'),_0x477d('0x5a3'),_0x477d('0x40e'),_0x477d('0x13b4'),'userProfile','userProfileSection','Auth','license',_0x477d('0x794')];angular[_0x477d('0xb')](_0x477d('0x2f'))[_0x477d('0x3ba')](_0x477d('0x2650'),_0x5ad564);function _0x5ad564(_0xb86ebb,_0x1b3e31,_0x41ddb8,_0x1acefd,_0x15b8ce,_0x31cd92,_0x4c9cc2,_0x5c6400,_0x9a3fb6,_0x5dcb5f,_0x594346,_0x95010b,_0x593481,_0x3abe2a,_0x2e6c59,_0x2e021b,_0x303ea2,_0x167d36){var _0x3d59b5=this;var _0x788361=[_0x477d('0x13b6'),_0x477d('0x13d3'),_0x477d('0x392'),'lastPauseAt',_0x477d('0x19a7'),_0x477d('0x13b7'),_0x477d('0x324'),_0x477d('0x13b8'),_0x477d('0x13d0'),'openchannelPause',_0x477d('0x13b9'),_0x477d('0x13d2'),'whatsappPause','faxPause',_0x477d('0x624'),_0x477d('0x19a8'),_0x477d('0x13bc'),'mailCapacity',_0x477d('0x13be'),_0x477d('0x1d37'),_0x477d('0x13bf'),'chatCurrentCapacity',_0x477d('0x19a9'),'mailCurrentCapacity','smsCurrentCapacity',_0x477d('0x19aa'),_0x477d('0x13c3'),_0x477d('0x19ab'),_0x477d('0x13c4'),_0x477d('0x1ec6'),'smsStatus','whatsappStatus','faxStatus','voiceStatus',_0x477d('0x13c9'),_0x477d('0x13ca'),_0x477d('0x13cb'),'smsStatusTime',_0x477d('0x13fe'),_0x477d('0x13cc'),_0x477d('0x19ac'),'queue',_0x477d('0x13ef'),_0x477d('0x13cd'),_0x477d('0x13ce'),_0x477d('0x13cf')];var _0xc3c091=[_0x477d('0x13d0'),_0x477d('0x13d1'),'mailPause',_0x477d('0x13d2'),'whatsappPause',_0x477d('0x13bb'),_0x477d('0x624'),_0x477d('0x13d3')];_0x3d59b5['currentUser']=_0x2e021b[_0x477d('0x5c')]();_0x3d59b5[_0x477d('0x1ec7')]=[_0x477d('0x5ed'),_0x477d('0x13d4'),'busy',_0x477d('0x13d5'),'not_inuse'];_0x3d59b5[_0x477d('0xf39')]=_0x4c9cc2||{'count':0x0,'rows':[]};_0x3d59b5[_0x477d('0x613')]=_0x303ea2;_0x3d59b5[_0x477d('0x3a5')]=_0x3abe2a;_0x3d59b5[_0x477d('0x3ac')]=_0x2e6c59&&_0x2e6c59[_0x477d('0x3bb')]==0x1?_0x2e6c59[_0x477d('0xf2')][0x0]:null;_0x3d59b5[_0x477d('0xd66')]=_0x2e021b['parseCrudPermissions'](_0x3d59b5[_0x477d('0x3ac')]?_0x3d59b5['userProfileSection'][_0x477d('0xd66')]:null);_0x3d59b5[_0x477d('0x125c')]=_0x5c6400?_[_0x477d('0xdb5')](_0x5c6400['rows']?_0x5c6400[_0x477d('0xf2')]:[],'id'):{};_0x3d59b5['rpcAgents']=_0x9a3fb6?_[_0x477d('0xdb5')](_0x9a3fb6[_0x477d('0xf2')]?_0x9a3fb6[_0x477d('0xf2')]:[],'id'):{};_0x3d59b5[_0x477d('0x13d8')]={};_0x3d59b5[_0x477d('0x600')]=![];_0x3d59b5[_0x477d('0x13d9')]=[];_0x3d59b5['agentInternal']={};for(var _0x318f2d in _0x3d59b5['agents']){if(_0x3d59b5[_0x477d('0x125c')][_0x477d('0x3ea')](_0x318f2d)){_0x3d59b5['agents'][_0x318f2d][_0x477d('0x5ee')]=!![];}}_0x3d59b5[_0x477d('0x3ef')]={'limit':0xa,'page':0x1,'order':_0x477d('0xcd'),'globalStatusFilter':'','pauseTypeFilter':''};_0x3d59b5[_0x477d('0x38c')]=_0x38acb3;_0x3d59b5['queueAdd']=_0x51076d;_0x3d59b5['pause']=_0x3135ad;_0x3d59b5[_0x477d('0x13db')]=_0x577adb;_0x3d59b5[_0x477d('0x13dc')]=_0x4b433f;_0x3d59b5['getAgentStatus']=_0x583a80;_0x3d59b5[_0x477d('0x13de')]=_0x7b9a4c;_0x3d59b5['isPause']=_0x3c8837;_0x3d59b5[_0x477d('0x13e0')]=_0x18a65f;_0x3d59b5['isPartialPause']=_0x22044b;_0x3d59b5['onSave']=_0x1e4a46;_0x3d59b5[_0x477d('0x13e3')]=_0x16f108;_0x3d59b5[_0x477d('0x71a')]=_0x9ce7d3;_0x3d59b5[_0x477d('0x13e6')]=_0xaf6a06;_0x3d59b5[_0x477d('0x13e4')]=_0x417299;_0x3d59b5['screenRecording']=_0x1f6d2e;_0x594346['on'](_0x477d('0x13e5'),_0x3d59b5[_0x477d('0x13e2')]);_0x594346['on'](_0x477d('0x1402'),_0x3d59b5[_0x477d('0x13e3')]);_0x594346['on'](_0x477d('0x1403'),_0x3d59b5[_0x477d('0x13e6')]);_0x594346['on'](_0x477d('0x13e7'),_0x3d59b5['onComplete']);_0x9ce7d3();var _0x615825=_0x167d36(function(){if(_0x3d59b5[_0x477d('0x600')]){_0x3d59b5[_0x477d('0x600')]=![];_0x9ce7d3();}},0x3e7);function _0x9ce7d3(_0x25fdce){_0x3d59b5[_0x477d('0x600')]=![];var _0x482e1c=_0x1b3e31[_0x477d('0x54a')]();_0x3d59b5[_0x477d('0x553')]=_0x482e1c[_0x477d('0x553')];_0x3d59b5[_0x477d('0x13e8')]=[];_0x3d59b5['order']=[];_['forIn'](_0x3d59b5[_0x477d('0x125c')],function(_0x110d6b,_0x12bbd1){if(_0x3d59b5[_0x477d('0x13d7')][_0x12bbd1]){_['merge'](_0x110d6b,_[_0x477d('0x10b')](_[_0x477d('0x3fc')](_0x3d59b5[_0x477d('0x13d7')][_0x12bbd1],_0xc3c091),_0x788361));}_0x7b9a4c(_0x110d6b);if(_0x110d6b[_0x477d('0x13d3')]){_0x3d59b5[_0x477d('0x13e8')][_0x477d('0x3a7')](_0x110d6b);_0x3d59b5[_0x477d('0x13da')][_0x110d6b[_0x477d('0x324')]]=_0x12bbd1;}else{_0x110d6b[_0x477d('0x13ed')]=_['toNumber'](moment()['format']('x'));}});if(_0x3d59b5[_0x477d('0x3ef')][_0x477d('0x13e9')]){_[_0x477d('0x39c')](_0x3d59b5[_0x477d('0x13e8')],function(_0x1f0d6){return _0x1f0d6[_0x477d('0x13ea')]!==_0x3d59b5[_0x477d('0x3ef')]['globalStatusFilter'];});}if(_0x3d59b5[_0x477d('0x3ef')]['pauseTypeFilter']){_[_0x477d('0x39c')](_0x3d59b5[_0x477d('0x13e8')],function(_0x172f0a){return _0x172f0a[_0x477d('0x19a7')]!==_0x3d59b5[_0x477d('0x3ef')][_0x477d('0x13eb')];});}if(_0x3d59b5['query'][_0x477d('0x3b3')]){_[_0x477d('0x39c')](_0x3d59b5[_0x477d('0x13e8')],function(_0x23f3e1){return _0x23f3e1[_0x477d('0xcd')][_0x477d('0x449')]()[_0x477d('0x477')](_0x3d59b5[_0x477d('0x3ef')][_0x477d('0x3b3')][_0x477d('0x449')]())<0x0;});}_0x3d59b5['filteredAgents']=_0x3297b0(_0x3d59b5[_0x477d('0x13e8')]);var _0x3cb31d=(_0x3d59b5['query']['page']-0x1)*_0x3d59b5['query'][_0x477d('0x91d')];_0x3d59b5[_0x477d('0x13d8')]=_[_0x477d('0x13ec')](_0x3d59b5['filteredAgents'],_0x3cb31d)['slice'](0x0,_0x3d59b5[_0x477d('0x3ef')][_0x477d('0x91d')]);for(var _0x12bfa5=0x0;_0x12bfa5<_0x3d59b5[_0x477d('0x13d8')][_0x477d('0x79')];_0x12bfa5+=0x1){_0x3d59b5[_0x477d('0x13d9')][_0x477d('0x3a7')](_0x3d59b5[_0x477d('0x13d8')][_0x12bfa5]['id']);}_0x482e1c[_0x477d('0x5a')]();_0x3d59b5[_0x477d('0x600')]=!![];}function _0x1e4a46(_0x27776c){if(_0x3d59b5[_0x477d('0x125c')][_0x27776c['id']]){_[_0x477d('0xef')](_0x3d59b5['agents'][_0x27776c['id']],_['pick'](_[_0x477d('0x3fc')](_0x27776c,_0xc3c091),_0x788361));_[_0x477d('0xef')](_0x3d59b5[_0x477d('0x13d7')][_0x27776c['id']],_[_0x477d('0x10b')](_['omit'](_0x27776c,_0xc3c091),_0x788361));_0x7b9a4c(_0x3d59b5['agents'][_0x27776c['id']]);}}function _0x16f108(_0x40e26d){if(_0x3d59b5['agents'][_0x40e26d['id']]){_[_0x477d('0xef')](_0x3d59b5[_0x477d('0x125c')][_0x40e26d['id']],_[_0x477d('0x10b')](_0x40e26d,_0x788361));_['merge'](_0x3d59b5[_0x477d('0x13d7')][_0x40e26d['id']],_[_0x477d('0x10b')](_0x40e26d,_0x788361));if(_0x40e26d[_0x477d('0x13b7')]){_0x3d59b5[_0x477d('0x125c')][_0x40e26d['id']][_0x477d('0x13ed')]=_0x40e26d[_0x477d('0x13b7')];_0x3d59b5['rpcAgents'][_0x40e26d['id']]['globalStatusTime']=_0x40e26d[_0x477d('0x13b7')];}_0x7b9a4c(_0x3d59b5['agents'][_0x40e26d['id']]);}}function _0xaf6a06(_0x7e662c){if(_0x3d59b5[_0x477d('0x125c')][_0x3d59b5[_0x477d('0x13da')][_0x7e662c['destaccountcode']]]){_[_0x477d('0xef')](_0x3d59b5[_0x477d('0x125c')][_0x3d59b5[_0x477d('0x13da')][_0x7e662c[_0x477d('0x13ee')]]],_[_0x477d('0x10b')](_0x7e662c,[_0x477d('0x1256'),'destconnectedlinenum']));_[_0x477d('0xef')](_0x3d59b5[_0x477d('0x13d7')][_0x3d59b5[_0x477d('0x13da')][_0x7e662c['destaccountcode']]],_[_0x477d('0x10b')](_0x7e662c,['queue','destconnectedlinenum']));}}function _0x417299(_0x1d93fb){if(_0x3d59b5[_0x477d('0x125c')][_0x3d59b5['agentInternal'][_0x1d93fb[_0x477d('0x13ee')]]]){_0x3d59b5['agents'][_0x3d59b5['agentInternal'][_0x1d93fb[_0x477d('0x13ee')]]]=_['omit'](_0x3d59b5[_0x477d('0x125c')][_0x3d59b5['agentInternal'][_0x1d93fb[_0x477d('0x13ee')]]],['queue','destconnectedlinenum']);_0x3d59b5[_0x477d('0x13d7')][_0x3d59b5['agentInternal'][_0x1d93fb['destaccountcode']]]=_['omit'](_0x3d59b5[_0x477d('0x13d7')][_0x3d59b5['agentInternal'][_0x1d93fb[_0x477d('0x13ee')]]],[_0x477d('0x1256'),_0x477d('0x13ef')]);}}function _0x38acb3(_0x1e4f20,_0x3e71f7){return _0x5dcb5f[_0x477d('0x380')]['logout']({'id':_0x1e4f20['id'],'device':_0x477d('0x11f1'),'agent_id':_0x1e4f20['id'],'agent_name':_0x1e4f20[_0x477d('0x94')]})[_0x477d('0x38b')][_0x477d('0x76')](function(){_0x95010b['success']({'title':_0x477d('0x13f0'),'msg':_0x1e4f20['fullname']+'\x20\x20properly\x20logout'});if(_0x3d59b5[_0x477d('0x125c')][_0x1e4f20['id']]){_0x3d59b5[_0x477d('0x125c')][_0x1e4f20['id']][_0x477d('0x13d3')]=![];}if(_0x3d59b5[_0x477d('0x13d7')][_0x1e4f20['id']]){_0x3d59b5[_0x477d('0x13d7')][_0x1e4f20['id']][_0x477d('0x13d3')]=![];}_0x9ce7d3();})[_0x477d('0xf8')](function(_0xf1f8a5){_0x95010b[_0x477d('0x44a')]({'title':_0xf1f8a5[_0x477d('0x3c3')]?_0x477d('0x44b')+_0xf1f8a5[_0x477d('0x3c3')]+_0x477d('0x44c')+_0xf1f8a5[_0x477d('0x44d')]:_0x477d('0x13f2'),'msg':_0xf1f8a5[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0xf1f8a5[_0x477d('0x451')][_0x477d('0x452')]):_0xf1f8a5[_0x477d('0x453')]()});});}function _0x3135ad(_0x1fd57c,_0x596bb8){return _0x5dcb5f[_0x477d('0x380')][_0x477d('0x657')]({'id':_0x1fd57c['id'],'type':_0x596bb8})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x151565){if(_0x3d59b5[_0x477d('0x125c')][_0x1fd57c['id']]){_[_0x477d('0xef')](_0x3d59b5['agents'][_0x1fd57c['id']],_[_0x477d('0x10b')](_0x151565,_0x788361));}if(_0x3d59b5[_0x477d('0x13d7')][_0x1fd57c['id']]){_['merge'](_0x3d59b5[_0x477d('0x13d7')][_0x1fd57c['id']],_[_0x477d('0x10b')](_0x151565,_0x788361));}_0x7b9a4c(_0x3d59b5[_0x477d('0x125c')][_0x1fd57c['id']]);})[_0x477d('0xf8')](function(_0x5dc19e){_0x95010b[_0x477d('0x44a')]({'title':_0x5dc19e['status']?_0x477d('0x44b')+_0x5dc19e[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x5dc19e[_0x477d('0x44d')]:'api.staff.save','msg':_0x5dc19e[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x5dc19e['data']['message']):_0x5dc19e[_0x477d('0x453')]()});});}function _0x577adb(_0x5b106e){return _0x5dcb5f[_0x477d('0x380')][_0x477d('0x15a7')]({'id':_0x5b106e['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x49d062){if(_0x3d59b5[_0x477d('0x125c')][_0x5b106e['id']]){_[_0x477d('0xef')](_0x3d59b5[_0x477d('0x125c')][_0x5b106e['id']],_[_0x477d('0x10b')](_0x49d062,_0x788361));}if(_0x3d59b5[_0x477d('0x13d7')][_0x5b106e['id']]){_['merge'](_0x3d59b5[_0x477d('0x13d7')][_0x5b106e['id']],_['pick'](_0x49d062,_0x788361));}_0x7b9a4c(_0x3d59b5[_0x477d('0x125c')][_0x5b106e['id']]);})[_0x477d('0xf8')](function(_0x72ce05){_0x95010b[_0x477d('0x44a')]({'title':_0x72ce05[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x72ce05['status']+'\x20-\x20'+_0x72ce05[_0x477d('0x44d')]:_0x477d('0x13f2'),'msg':_0x72ce05[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x72ce05[_0x477d('0x451')][_0x477d('0x452')]):_0x72ce05[_0x477d('0x453')]()});});}function _0x4b433f(_0x5de5b3){_0x1acefd[_0x477d('0x395')](_0x1acefd[_0x477d('0x120a')]()[_0x477d('0x13f3')](!![])[_0x477d('0x49a')](_0x477d('0x19ae'))[_0x477d('0xd92')](_0x477d('0x13f4'))['ok']('Ok')[_0x477d('0xd7c')](_0x5de5b3));}function _0x51076d(_0x4b8318,_0x13e8d8){_0x1acefd[_0x477d('0x395')]({'controller':'AgentqueueaddController','controllerAs':'vm','templateUrl':_0x477d('0x13f5'),'parent':angular[_0x477d('0x398')](_0x15b8ce[_0x477d('0x399')]),'targetEvent':_0x13e8d8,'clickOutsideToClose':!![],'locals':{'agent':_0x4b8318,'agents':[],'channel':_0x477d('0x108'),'direction':_0x477d('0x9e'),'crudPermissions':_0x3d59b5[_0x477d('0xd66')]}});}function _0x3c8837(_0x4d3cd4){return _0x4d3cd4===_0x477d('0x657')||_0x4d3cd4===_0x477d('0x13f6');}function _0x18a65f(_0x36eb6c){return _0x36eb6c===_0x477d('0x657');}function _0x22044b(_0x46d5b5){return _0x46d5b5===_0x477d('0x13f6');}function _0x150d53(_0x982576){return _0x982576===_0x477d('0x13f7')||_0x982576===_0x477d('0x13f8')||_0x982576==='unavailable'||_0x982576===_0x477d('0x5ed')||_[_0x477d('0x484')](_0x982576);}function _0x583a80(_0x54df0b,_0x4c88c5){if(_0x4c88c5==='voice'){if(_0x54df0b[_0x4c88c5+_0x477d('0x135e')]!=='idle'){return _0x54df0b[_0x4c88c5+'Status'];}if(_0x54df0b[_0x4c88c5+'Pause']){_0x54df0b[_0x4c88c5+_0x477d('0x135e')]=_0x477d('0x657');return _0x477d('0x657');}return _0x477d('0x13f7');}else{if(_0x54df0b[_0x4c88c5+_0x477d('0x13fa')]){_0x54df0b[_0x4c88c5+'Status']=_0x477d('0x657');return _0x477d('0x657');}return _0x54df0b[_0x4c88c5+_0x477d('0x135e')];}}function _0x7b9a4c(_0x2b5f5b){var _0x1ba085=_0x477d('0x13f8');if(_[_0x477d('0x943')]([_0x583a80(_0x2b5f5b,'voice'),_0x583a80(_0x2b5f5b,_0x477d('0xb6')),_0x583a80(_0x2b5f5b,_0x477d('0x1d6')),_0x583a80(_0x2b5f5b,'openchannel'),_0x583a80(_0x2b5f5b,'sms'),_0x583a80(_0x2b5f5b,_0x477d('0x35d')),_0x583a80(_0x2b5f5b,_0x477d('0x154'))],_0x3c8837)){_0x1ba085=_0x477d('0x657');}else if(_['some']([_0x583a80(_0x2b5f5b,_0x477d('0x108')),_0x583a80(_0x2b5f5b,_0x477d('0xb6')),_0x583a80(_0x2b5f5b,_0x477d('0x1d6')),_0x583a80(_0x2b5f5b,_0x477d('0x22a')),_0x583a80(_0x2b5f5b,_0x477d('0x26e')),_0x583a80(_0x2b5f5b,'whatsapp'),_0x583a80(_0x2b5f5b,_0x477d('0x154'))],_0x3c8837)){_0x1ba085=_0x477d('0x13f6');}else if(_[_0x477d('0x943')]([_0x583a80(_0x2b5f5b,_0x477d('0x108')),_0x583a80(_0x2b5f5b,_0x477d('0xb6')),_0x583a80(_0x2b5f5b,_0x477d('0x1d6')),_0x583a80(_0x2b5f5b,_0x477d('0x22a')),_0x583a80(_0x2b5f5b,_0x477d('0x26e')),_0x583a80(_0x2b5f5b,_0x477d('0x35d')),_0x583a80(_0x2b5f5b,'fax')],_0x150d53)){_0x1ba085=_0x477d('0x13f7');}else{_0x1ba085='busy';}if(_0x2b5f5b['globalStatus']!==_0x1ba085){_0x2b5f5b[_0x477d('0x13ea')]=_0x1ba085;if(_0x2b5f5b[_0x477d('0x5ee')]){_0x2b5f5b['init']=![];_0x2b5f5b[_0x477d('0x13ed')]=_0x3c8837(_0x1ba085)?_[_0x477d('0x18e6')](moment(_0x2b5f5b['lastPauseAt'])['format']('x')):_[_0x477d('0x13fc')]([_0x2b5f5b[_0x477d('0x19ac')],_0x2b5f5b[_0x477d('0x13c9')],_0x2b5f5b[_0x477d('0x13cb')],_0x2b5f5b[_0x477d('0x13fd')],_0x2b5f5b[_0x477d('0x13fe')],_0x2b5f5b['openchannelStatusTime'],_0x2b5f5b[_0x477d('0x13cc')]]);}else{_0x2b5f5b[_0x477d('0x13ed')]=_[_0x477d('0x18e6')](moment()['format']('x'));}}}function _0x3297b0(_0x24ff44){var _0x1d143e=_[_0x477d('0x1337')](_0x3d59b5['query'][_0x477d('0x13d9')],'-')?_0x477d('0x13ff'):_0x477d('0x1400');return _['orderBy'](_0x24ff44,[_0x3d59b5['query'][_0x477d('0x13d9')][_0x477d('0x409')]('-','')],[_0x1d143e]);}function _0x2780dd(){if(_0x615825){_0x167d36[_0x477d('0x4f0')](_0x615825);_0x615825=null;}}function _0x1f6d2e(_0x265d2a,_0x59cde6){return _0x5dcb5f[_0x477d('0x380')][_0x477d('0x710')]({'id':_0x265d2a['id']},{'screenrecording':_0x59cde6})[_0x477d('0x38b')][_0x477d('0xf8')](function(_0x3fd122){_0x95010b[_0x477d('0x44a')]({'title':_0x3fd122['status']?_0x477d('0x44b')+_0x3fd122['status']+'\x20-\x20'+_0x3fd122[_0x477d('0x44d')]:'api.user.update','msg':_0x3fd122['data']?JSON[_0x477d('0x3fb')](_0x3fd122[_0x477d('0x451')][_0x477d('0x452')]):_0x3fd122['toString']()});});}_0xb86ebb['$on'](_0x477d('0x505'),function(){_0x594346[_0x477d('0x6b8')](_0x477d('0x13e5'));_0x594346[_0x477d('0x6b8')](_0x477d('0x1402'));_0x594346['removeAllListeners'](_0x477d('0x1403'));_0x594346[_0x477d('0x6b8')](_0x477d('0x13e7'));_0x2780dd();});}}());(function(){'use strict';_0x14ca52['$inject']=[_0x477d('0x474'),_0x477d('0x3fe'),'api',_0x477d('0x5a3'),_0x477d('0x2651'),_0x477d('0x13b4')];angular['module'](_0x477d('0x2f'))[_0x477d('0x3ba')](_0x477d('0x2652'),_0x14ca52);function _0x14ca52(_0x509ac9,_0x4195df,_0x4d0c0e,_0x45595e,_0x1c826f,_0x2a5578){var _0x150645=this;_0x150645['calls']=_0x1c826f||{'rows':[],'count':0x0};_0x150645[_0x477d('0x3ef')]={'limit':0xa,'page':0x1};_0x150645['channelStatus']=_0x2a5578[_0x477d('0x2653')];_0x150645[_0x477d('0x13e2')]=_0x48c1dd;_0x150645['onRemove']=_0x8f3182;_0x45595e['on']('voice_outbound_channel:save',_0x150645[_0x477d('0x13e2')]);_0x45595e['on'](_0x477d('0x1593'),_0x150645[_0x477d('0x1ecf')]);function _0x48c1dd(_0x3adea5){var _0x53ba33=_[_0x477d('0x10a')](_0x150645[_0x477d('0x5b6')][_0x477d('0xf2')],{'channel':_0x3adea5[_0x477d('0x1599')]});_0x3adea5[_0x477d('0x2654')]=_0x3adea5['dialstatus']?'up':'ring';if(_0x53ba33){_[_0x477d('0xef')](_0x53ba33,_0x3adea5);}else if(_0x3adea5[_0x477d('0x1599')]){_0x150645[_0x477d('0x5b6')][_0x477d('0xf2')][_0x477d('0x3a7')](_0x3adea5);}}function _0x8f3182(_0x3c5a88){var _0x2f7c74=_[_0x477d('0x45a')](_0x150645[_0x477d('0x5b6')][_0x477d('0xf2')],{'channel':_0x3c5a88[_0x477d('0x1599')]});if(_0x2f7c74>=0x0){_0x150645[_0x477d('0x5b6')][_0x477d('0xf2')][_0x2f7c74][_0x477d('0x3c3')]=_0x477d('0x1ed0');}_0x4195df(function(){_0x150645[_0x477d('0x5b6')][_0x477d('0xf2')]['splice'](_0x2f7c74,0x1);},0x1388);}_0x509ac9[_0x477d('0x4ec')](_0x477d('0x505'),function(){_0x45595e[_0x477d('0x6b8')](_0x477d('0x2655'));_0x45595e[_0x477d('0x6b8')](_0x477d('0x1593'));});}}());(function(){'use strict';_0x1e21b0['$inject']=[_0x477d('0x474'),'$timeout','$mdDialog',_0x477d('0x125c'),_0x477d('0xf2f'),_0x477d('0x16b8'),_0x477d('0x386'),_0x477d('0x5a3'),_0x477d('0x13b4'),_0x477d('0x40e'),_0x477d('0x3a5'),_0x477d('0x3ac'),_0x477d('0x55')];angular['module'](_0x477d('0x2f'))[_0x477d('0x3ba')](_0x477d('0x2656'),_0x1e21b0);function _0x1e21b0(_0x5653c6,_0x3d8b7d,_0x1b8360,_0x2728f0,_0x52012c,_0x31e610,_0x3ac82d,_0x17f54c,_0x561cd1,_0x6663a1,_0x45746b,_0x37f05b,_0x23c305){var _0x12022c=this;_0x12022c['currentUser']=_0x23c305[_0x477d('0x5c')]();_0x12022c['agents']=_0x2728f0||{'count':0x0,'rows':[]};_0x12022c[_0x477d('0xf2f')]=_0x52012c?_[_0x477d('0xdb5')](_0x52012c[_0x477d('0xf2')]?_0x52012c[_0x477d('0xf2')]:[],_0x477d('0x94')):{};_0x12022c[_0x477d('0x1ece')]=_0x31e610?_['keyBy'](_0x31e610[_0x477d('0xf2')]?_[_0x477d('0x3b3')](_0x31e610[_0x477d('0xf2')],{'type':_0x477d('0x9e')}):[],_0x477d('0x648')):{};_0x12022c[_0x477d('0x16b8')]={};_0x12022c['userProfile']=_0x45746b;_0x12022c[_0x477d('0x3ac')]=_0x37f05b&&_0x37f05b[_0x477d('0x3bb')]==0x1?_0x37f05b[_0x477d('0xf2')][0x0]:null;_0x12022c[_0x477d('0xd66')]=_0x23c305[_0x477d('0xd81')](_0x12022c['userProfileSection']?_0x12022c[_0x477d('0x3ac')][_0x477d('0xd66')]:null);_0x12022c[_0x477d('0x16c0')]={'limit':0xa,'page':0x1};_0x12022c['getSize']=_0x1b78bc;_0x12022c['$onInit']=_0x332960;_0x12022c[_0x477d('0x13e2')]=_0x5eec67;_0x12022c[_0x477d('0x1ecf')]=_0x1e8d93;_0x12022c[_0x477d('0x1ed0')]=_0x5714cb;_0x12022c['redirectToAgent']=_0x12e0fb;_0x12022c['redirectToNumber']=_0x23384e;_0x17f54c['on'](_0x477d('0x16bb'),_0x12022c[_0x477d('0x13e2')]);_0x17f54c['on'](_0x477d('0x1592'),_0x12022c[_0x477d('0x1ecf')]);function _0x1b78bc(_0x41e760){return _['size'](_0x41e760);}function _0x332960(){_['forIn'](_0x12022c[_0x477d('0x1ece')],function(_0x22d7be,_0x4d0cd2){if(_['find'](_0x12022c[_0x477d('0xf2f')],{'name':_0x22d7be['name']})){_0x12022c['rpcVoiceQueuesChannels'][_0x4d0cd2]=_0x22d7be;}});}function _0x5eec67(_0x1fa9af){if(_0x1fa9af[_0x477d('0x439')]===_0x477d('0x9e')){if(_[_0x477d('0x10a')](_0x12022c[_0x477d('0xf2f')],{'name':_0x1fa9af['name']})){_0x12022c[_0x477d('0x16b8')][_0x1fa9af['uniqueid']]=_0x1fa9af;}}}function _0x1e8d93(_0x1d15a6){if(_0x12022c[_0x477d('0x16b8')][_0x1d15a6[_0x477d('0x648')]]){delete _0x12022c[_0x477d('0x16b8')][_0x1d15a6[_0x477d('0x648')]];}}function _0x5714cb(_0x5c65d4){return _0x3ac82d[_0x477d('0x6c9')][_0x477d('0x1ed2')]({'uniqueid':_0x5c65d4})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x37698d){_0x6663a1[_0x477d('0x485')]({'title':'Channel\x20'+_0x5c65d4+'\x20properly\x20hangup!','msg':_0x37698d['message']||''});})[_0x477d('0xf8')](function(_0x388b32){_0x6663a1[_0x477d('0x44a')]({'title':_0x388b32['status']+'\x20-\x20'+_0x388b32[_0x477d('0x44d')],'msg':JSON[_0x477d('0x3fb')](_0x388b32['data'])||_0x388b32['message'][_0x477d('0x3f6')]('\x20')});});}function _0x12e0fb(_0x973af0,_0x422caa,_0x41fae0){return _0x3ac82d[_0x477d('0x6c9')]['getVoiceQueuesChannelRedirect']({'uniqueid':_0x973af0,'exten':_0x422caa,'context':_0x41fae0})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x4ecd3b){_0x6663a1['success']({'title':_0x477d('0x1ed3')+_0x973af0+_0x477d('0x1ed6'),'msg':_0x4ecd3b['message']||''});})[_0x477d('0xf8')](function(_0x4048cf){_0x6663a1['error']({'title':_0x4048cf[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x4048cf[_0x477d('0x44d')],'msg':JSON['stringify'](_0x4048cf[_0x477d('0x451')])||_0x4048cf['message'][_0x477d('0x3f6')]('\x20')});});}function _0x23384e(_0x107f78,_0x577130){var _0x3b144e=_0x1b8360['prompt']()[_0x477d('0x49a')]('Which\x20number\x20do\x20you\x20want\x20transfer\x20the\x20call\x20to?')[_0x477d('0x4ae')]('Number')[_0x477d('0xd7c')](_0x107f78)['ok']('Ok')[_0x477d('0x4f0')](_0x477d('0x688'));return _0x1b8360['show'](_0x3b144e)[_0x477d('0x76')](function(_0x3f662e){return _0x3ac82d[_0x477d('0x6c9')]['getVoiceQueuesChannelRedirect']({'uniqueid':_0x577130,'exten':_0x3f662e})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x51dc74){_0x6663a1[_0x477d('0x485')]({'title':_0x477d('0x1ed3')+_0x577130+_0x477d('0x1ed6'),'msg':_0x51dc74[_0x477d('0x452')]||''});})['catch'](function(_0x17392b){_0x6663a1[_0x477d('0x44a')]({'title':_0x17392b[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x17392b[_0x477d('0x44d')],'msg':JSON[_0x477d('0x3fb')](_0x17392b['data'])||_0x17392b[_0x477d('0x452')][_0x477d('0x3f6')]('\x20')});});}_0x5653c6[_0x477d('0x4ec')](_0x477d('0x505'),function(){_0x17f54c['removeAllListeners'](_0x477d('0x16bb'));_0x17f54c[_0x477d('0x6b8')](_0x477d('0x1592'));});}}());(function(){'use strict';_0x3dc471[_0x477d('0xa')]=['$scope',_0x477d('0x3fe'),_0x477d('0x794'),_0x477d('0xf2f'),'rpcQueues',_0x477d('0x386'),_0x477d('0x5a3'),'userProfile','userProfileSection',_0x477d('0x55')];angular['module']('app.voice')[_0x477d('0x3ba')]('QueueParamsVoiceRealtimeController',_0x3dc471);function _0x3dc471(_0x32f0e4,_0x31e2c3,_0xb06e68,_0x2fcfdb,_0x556a1c,_0x1e75c4,_0x5c8d22,_0x2b57b7,_0x5ab0ed,_0x157b87){var _0x58e95e=this;var _0xc077b6=[_0x477d('0x10d'),_0x477d('0x10f'),_0x477d('0x110'),_0x477d('0x111'),_0x477d('0x18d7'),_0x477d('0x1ed9'),_0x477d('0x18d4')];_0x58e95e[_0x477d('0x3bb')]=_0x2fcfdb[_0x477d('0x3bb')];_0x58e95e[_0x477d('0xf2f')]=_0x2fcfdb?_['keyBy'](_0x2fcfdb['rows']?_0x2fcfdb[_0x477d('0xf2')]:[],'id'):{};_0x58e95e['rpcQueues']=_0x556a1c?_[_0x477d('0xdb5')](_0x556a1c['rows']?_0x556a1c[_0x477d('0xf2')]:[],'id'):{};_0x58e95e[_0x477d('0x3a5')]=_0x2b57b7;_0x58e95e[_0x477d('0x3ac')]=_0x5ab0ed&&_0x5ab0ed[_0x477d('0x3bb')]==0x1?_0x5ab0ed[_0x477d('0xf2')][0x0]:null;_0x58e95e[_0x477d('0xd66')]=_0x157b87[_0x477d('0xd81')](_0x58e95e['userProfileSection']?_0x58e95e[_0x477d('0x3ac')][_0x477d('0xd66')]:null);if(_0x157b87['hasRole'](_0x477d('0x5f'))){_0x58e95e[_0x477d('0x3ef')]={'type':_0x477d('0x9e'),'fields':_0x477d('0x9c'),'sort':_0x477d('0x59'),'limit':0xa,'page':0x1};}else{_0x58e95e['query']={'id':_0x157b87[_0x477d('0x5c')]()['id'],'channel':_0x477d('0x108'),'type':_0x477d('0x9e'),'fields':'id,name','sort':_0x477d('0x59'),'limit':0xa,'page':0x1};}_0x58e95e[_0x477d('0x485')]=_0x173872;_0x58e95e[_0x477d('0x1418')]=_0x142588;_0x58e95e['onSave']=_0x12cab6;_0x58e95e['$onInit']=_0x1521d3;_0x5c8d22['onWithoutApply'](_0x477d('0x1571'),_0x58e95e[_0x477d('0x13e2')]);_0x58e95e['interval']=_0xb06e68(function(){},0x3e7);function _0x1521d3(){_['forIn'](_0x58e95e[_0x477d('0xf2f')],function(_0x4dca5b,_0xe28142){if(_0x58e95e[_0x477d('0x1404')][_0xe28142]){_['merge'](_0x4dca5b,_[_0x477d('0x10b')](_0x58e95e[_0x477d('0x1404')][_0xe28142],_0xc077b6));}});}function _0x12cab6(_0x5664a8){if(_0x58e95e[_0x477d('0xf2f')][_0x5664a8['id']]){_[_0x477d('0xef')](_0x58e95e[_0x477d('0xf2f')][_0x5664a8['id']],_[_0x477d('0x10b')](_0x5664a8,_0xc077b6));}}var _0xd2c0e=!![];var _0x21fd49=0x1;_0x32f0e4[_0x477d('0x4b5')](_0x477d('0xd98'),function(_0x372060,_0x80fc31){if(_0xd2c0e){_0x31e2c3(function(){_0xd2c0e=![];});}else{if(!_0x80fc31){_0x21fd49=_0x58e95e[_0x477d('0x3ef')]['page'];}if(_0x372060!==_0x80fc31){_0x58e95e[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0x372060){_0x58e95e[_0x477d('0x3ef')]['page']=_0x21fd49;}_0x58e95e['getQueues']();}});function _0x173872(_0x1efcc9){_0x58e95e['count']=_0x1efcc9['count'];_0x58e95e[_0x477d('0xf2f')]=_0x1efcc9?_[_0x477d('0xdb5')](_0x1efcc9['rows']?_0x1efcc9[_0x477d('0xf2')]:[],'id'):{};_0x1521d3();}function _0x142588(){_0x58e95e['query'][_0x477d('0x91c')]=(_0x58e95e[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x58e95e[_0x477d('0x3ef')][_0x477d('0x91d')];if(_0x157b87['hasRole'](_0x477d('0x5f'))){_0x58e95e[_0x477d('0x553')]=_0x1e75c4[_0x477d('0xa76')]['get'](_0x58e95e[_0x477d('0x3ef')],_0x173872)[_0x477d('0x38b')];}else{_0x58e95e[_0x477d('0x3ef')]['id']=_0x58e95e[_0x477d('0x3a5')]['id'];_0x58e95e[_0x477d('0x3ef')]['section']=_0x477d('0x9f');_0x58e95e[_0x477d('0x553')]=_0x1e75c4[_0x477d('0x3a5')][_0x477d('0xd9a')](_0x58e95e[_0x477d('0x3ef')],_0x173872)['$promise'];}}_0x32f0e4[_0x477d('0x4ec')]('$destroy',function(){_0x5c8d22[_0x477d('0x6b8')](_0x477d('0x1571'));_0x58e95e[_0x477d('0x79c')]&&_0xb06e68['cancel'](_0x58e95e['interval']);});}}());(function(){'use strict';_0x22b99b[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x3fe'),_0x477d('0x384'),'$q',_0x477d('0x475'),_0x477d('0x794'),'queues',_0x477d('0x1404'),_0x477d('0x386'),_0x477d('0x5a3'),_0x477d('0x40e'),_0x477d('0x3a5'),_0x477d('0x3ac'),_0x477d('0x55')];angular[_0x477d('0xb')](_0x477d('0x2f'))[_0x477d('0x3ba')](_0x477d('0x2657'),_0x22b99b);function _0x22b99b(_0x5c114c,_0xc8e15e,_0x2eaa3e,_0x37713b,_0x52dadc,_0x236849,_0x2f6d2e,_0x3749db,_0xabd9c6,_0x5b304a,_0x812bc5,_0xaadc1e,_0x5913ae,_0x5d41db){var _0x120e61=this;var _0x59cedf=[_0x477d('0x19b2'),_0x477d('0x1405'),_0x477d('0x10c'),_0x477d('0x10e'),_0x477d('0x1406'),_0x477d('0x1407'),_0x477d('0x452'),_0x477d('0x16a8'),_0x477d('0x1408'),_0x477d('0x1409'),_0x477d('0x140a')];_0x120e61[_0x477d('0x3e5')]=_0x5d41db[_0x477d('0x5c')]();_0x120e61['count']=_0x2f6d2e['count']?_0x2f6d2e[_0x477d('0x3bb')]:0x0;_0x120e61[_0x477d('0xf2f')]=_0x2f6d2e?_[_0x477d('0xdb5')](_0x2f6d2e[_0x477d('0xf2')]?_0x2f6d2e[_0x477d('0xf2')]:[],'id'):{};_0x120e61[_0x477d('0x1404')]=_0x3749db?_[_0x477d('0xdb5')](_0x3749db['rows']?_0x3749db['rows']:[],'id'):{};_0x120e61[_0x477d('0x3a5')]=_0xaadc1e;_0x120e61['userProfileSection']=_0x5913ae&&_0x5913ae[_0x477d('0x3bb')]==0x1?_0x5913ae[_0x477d('0xf2')][0x0]:null;_0x120e61['crudPermissions']=_0x5d41db[_0x477d('0xd81')](_0x120e61[_0x477d('0x3ac')]?_0x120e61[_0x477d('0x3ac')][_0x477d('0xd66')]:null);if(_0x5d41db[_0x477d('0x56')]('admin')){_0x120e61[_0x477d('0x3ef')]={'type':_0x477d('0x9e'),'sort':'-updatedAt','limit':0xa,'page':0x1};}else{_0x120e61[_0x477d('0x3ef')]={'id':_0x120e61[_0x477d('0x3e5')]['id'],'channel':_0x477d('0x108'),'type':_0x477d('0x9e'),'sort':_0x477d('0x59'),'limit':0xa,'page':0x1};}_0x120e61[_0x477d('0x485')]=_0x1dab54;_0x120e61[_0x477d('0x1418')]=_0x2bd726;_0x120e61[_0x477d('0x2658')]=_0x1700d5;_0x120e61['agentAdd']=_0x35c06c;_0x120e61[_0x477d('0x140c')]=_0x1e8473;_0x120e61[_0x477d('0x13e2')]=_0x200877;_0x120e61['onPause']=_0x4beba4;_0x120e61[_0x477d('0x140f')]=_0x38311e;_0x120e61[_0x477d('0x1410')]=_0x5105d3;_0x120e61[_0x477d('0x6ad')]=_0x3083ec;_0x120e61[_0x477d('0x13d9')]=[];_[_0x477d('0xe4b')](_0x120e61[_0x477d('0xf2f')],function(_0x2ff5a9,_0xd4ea7a){_0x120e61[_0x477d('0x13d9')][_0x477d('0x3a7')](_0x2ff5a9['id']);});_0x5b304a[_0x477d('0x165e')]('voice_queue:save',_0x120e61[_0x477d('0x13e2')]);_0x120e61[_0x477d('0x79c')]=_0x236849(function(){},0x3e7);_0x5b304a['on']('user:update',_0x120e61[_0x477d('0x140e')]);_0x5b304a['on'](_0x477d('0x1414'),_0x120e61[_0x477d('0x1410')]);_0x5b304a['on'](_0x477d('0x1415'),_0x120e61[_0x477d('0x140f')]);function _0x3083ec(){var _0x568c2c=[];_[_0x477d('0xe4b')](_0x120e61[_0x477d('0xf2f')],function(_0x43c0a2,_0x4bcdfa){_0x43c0a2[_0x477d('0x140a')]=0x0;_0x43c0a2['loggedInDb']=0x0;_0x120e61[_0x477d('0xf2f')][_0x4bcdfa][_0x477d('0x125c')]={};_0x568c2c[_0x477d('0x3a7')](_0xabd9c6[_0x477d('0xa76')]['getMembers']({'id':_0x4bcdfa})[_0x477d('0x38b')]);if(_0x120e61[_0x477d('0x1404')][_0x4bcdfa]){_['merge'](_0x43c0a2,_['pick'](_0x120e61[_0x477d('0x1404')][_0x4bcdfa],_0x59cedf));}});return _0x37713b[_0x477d('0x7c')](_0x568c2c)['then'](function(_0x3d98cf){for(var _0x4d11aa=0x0;_0x4d11aa<_0x3d98cf[_0x477d('0x79')];_0x4d11aa+=0x1){for(var _0xd4713e=0x0;_0xd4713e<_0x3d98cf[_0x4d11aa][_0x477d('0xf2')][_0x477d('0x79')];_0xd4713e++){if(_0x3d98cf[_0x4d11aa]['rows'][_0xd4713e][_0x477d('0x140a')]){_0x120e61[_0x477d('0xf2f')][_0x3d98cf[_0x4d11aa]['rows'][_0xd4713e][_0x477d('0x17b0')]][_0x477d('0x140a')]++;}_0x120e61['queues'][_0x3d98cf[_0x4d11aa][_0x477d('0xf2')][_0xd4713e][_0x477d('0x17b0')]][_0x477d('0x1416')]++;_0x120e61[_0x477d('0xf2f')][_0x3d98cf[_0x4d11aa]['rows'][_0xd4713e][_0x477d('0x17b0')]][_0x477d('0x125c')][_0x3d98cf[_0x4d11aa][_0x477d('0xf2')][_0xd4713e][_0x477d('0x125b')]]=_0x3d98cf[_0x4d11aa][_0x477d('0xf2')][_0xd4713e][_0x477d('0x17b0')];}}})[_0x477d('0xf8')](function(_0x45d7b6){console[_0x477d('0x44a')](_0x45d7b6);});}function _0x200877(_0x1a5cf5){if(_0x120e61['queues'][_0x1a5cf5['id']]){_[_0x477d('0xef')](_0x120e61[_0x477d('0xf2f')][_0x1a5cf5['id']],_['pick'](_0x1a5cf5,_0x59cedf));}}function _0x4beba4(_0x444981){console[_0x477d('0x7b')](_0x477d('0x140e'),_0x444981);if(_0x444981[_0x477d('0x624')]){_[_0x477d('0xe4b')](_0x120e61['queues'],function(_0x2421ff,_0x3a8608){if(_0x2421ff['agents'][_0x444981['id']]){_0x2421ff[_0x477d('0x140a')]+=0x1;console[_0x477d('0x7b')](_0x477d('0x657'));}});}else if(!_0x444981['voicePause']){_['forIn'](_0x120e61[_0x477d('0xf2f')],function(_0x35e65a,_0x1ec8e8){if(_0x35e65a[_0x477d('0x125c')][_0x444981['id']]){if(_0x35e65a[_0x477d('0x140a')]>0x0){_0x35e65a[_0x477d('0x140a')]-=0x1;console[_0x477d('0x7b')]('unpause');}}});}}function _0x38311e(_0x56846e){console['log'](_0x477d('0x1d39'),_0x56846e);if(_0x120e61[_0x477d('0xf2f')][_0x56846e['VoiceQueueId']]){_0x120e61[_0x477d('0xf2f')][_0x56846e[_0x477d('0x17b0')]]['loggedInDb']+=0x1;_0x120e61[_0x477d('0xf2f')][_0x56846e[_0x477d('0x17b0')]][_0x477d('0x125c')][_0x56846e[_0x477d('0x125b')]]=_0x56846e['VoiceQueueId'];}}function _0x5105d3(_0x122c02){console[_0x477d('0x7b')](_0x477d('0x1410'),_0x122c02);if(_0x120e61['queues'][_0x122c02[_0x477d('0x17b0')]]&&_0x120e61[_0x477d('0xf2f')][_0x122c02[_0x477d('0x17b0')]][_0x477d('0x1416')]>0x0){_0x120e61[_0x477d('0xf2f')][_0x122c02[_0x477d('0x17b0')]]['loggedInDb']-=0x1;delete _0x120e61[_0x477d('0xf2f')][_0x122c02[_0x477d('0x17b0')]][_0x477d('0x125c')][_0x122c02[_0x477d('0x125b')]];}}var _0x4c22a0=!![];var _0x35940d=0x1;_0x5c114c[_0x477d('0x4b5')](_0x477d('0xd98'),function(_0x5c3af2,_0x5746f9){if(_0x4c22a0){_0xc8e15e(function(){_0x4c22a0=![];});}else{if(!_0x5746f9){_0x35940d=_0x120e61[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x5c3af2!==_0x5746f9){_0x120e61[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0x5c3af2){_0x120e61[_0x477d('0x3ef')][_0x477d('0xe03')]=_0x35940d;}_0x120e61[_0x477d('0x1418')]();}});function _0x1dab54(_0x25b6e8){_0x120e61[_0x477d('0x3bb')]=_0x25b6e8['count'];_0x120e61['queues']=_0x25b6e8?_[_0x477d('0xdb5')](_0x25b6e8[_0x477d('0xf2')]?_0x25b6e8['rows']:[],'id'):{};if(_0x25b6e8[_0x477d('0xf2')]){_0x120e61[_0x477d('0x13d9')]=[];for(var _0x2d97fd=0x0;_0x2d97fd<_0x25b6e8[_0x477d('0xf2')][_0x477d('0x79')];_0x2d97fd++){_0x120e61['order']['push'](_0x25b6e8[_0x477d('0xf2')][_0x2d97fd]['id']);}}_0x3083ec();}function _0x2bd726(){_0x120e61['query'][_0x477d('0x91c')]=(_0x120e61[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x120e61['query'][_0x477d('0x91d')];if(_0x5d41db['hasRole'](_0x477d('0x5f'))){_0x120e61['promise']=_0xabd9c6[_0x477d('0xa76')]['get'](_0x120e61[_0x477d('0x3ef')],_0x1dab54)[_0x477d('0x38b')];}else{_0x120e61[_0x477d('0x3ef')]['id']=_0x120e61[_0x477d('0x3a5')]['id'];_0x120e61[_0x477d('0x3ef')][_0x477d('0xd99')]=_0x477d('0x9f');_0x120e61[_0x477d('0x553')]=_0xabd9c6[_0x477d('0x3a5')][_0x477d('0xd9a')](_0x120e61[_0x477d('0x3ef')],_0x1dab54)[_0x477d('0x38b')];}}function _0x1700d5(_0x8a25f4,_0x32edea){_0x2eaa3e[_0x477d('0x395')]({'controller':_0x477d('0x2659'),'controllerAs':'vm','templateUrl':_0x477d('0x265a'),'parent':angular[_0x477d('0x398')](_0x52dadc['body']),'targetEvent':_0x8a25f4,'clickOutsideToClose':!![],'locals':{'voiceQueue':_0x32edea,'voiceQueues':_['values'](_0x120e61['queues']),'license':null,'setting':null,'crudPermissions':_0x120e61[_0x477d('0xd66')]}});}function _0x35c06c(_0x51044a,_0x237862){_0x2eaa3e['show']({'controller':_0x477d('0x265b'),'controllerAs':'vm','templateUrl':_0x477d('0x265c'),'parent':angular[_0x477d('0x398')](_0x52dadc[_0x477d('0x399')]),'targetEvent':_0x51044a,'clickOutsideToClose':!![],'locals':{'voiceQueue':_0x237862,'voiceQueues':_0x120e61[_0x477d('0xf2f')]?_0x120e61['queues'][_0x477d('0xf2')]:[],'realtime':!![],'crudPermissions':_0x120e61[_0x477d('0xd66')]}});}function _0x1e8473(_0x3a2928){return _0xabd9c6['voiceQueue'][_0x477d('0x710')](_0x3a2928)['$promise'][_0x477d('0x76')](function(){_0x812bc5[_0x477d('0x485')]({'title':_0x477d('0x141a'),'msg':_0x3a2928[_0x477d('0x94')]?_0x3a2928[_0x477d('0x94')]+_0x477d('0xed7'):''});})[_0x477d('0xf8')](function(_0xaffc10){_0x812bc5['error']({'title':_0x477d('0x141b'),'msg':_0xaffc10[_0x477d('0x452')]});});}_0x5c114c['$on'](_0x477d('0x505'),function(){_0x5b304a[_0x477d('0x6b8')](_0x477d('0x1571'));_0x120e61[_0x477d('0x79c')]&&_0x236849['cancel'](_0x120e61[_0x477d('0x79c')]);_0x5b304a[_0x477d('0x6b8')](_0x477d('0x1402'));_0x5b304a['removeAllListeners']('userVoiceQueue:remove');_0x5b304a[_0x477d('0x6b8')]('userVoiceQueue:save');});}}());(function(){'use strict';angular[_0x477d('0xb')](_0x477d('0x0'))['factory'](_0x477d('0x13b4'),_0x4d44b9);function _0x4d44b9(){return{'status':{'registered':'green-300-fg\x20icon-checkbox-marked-circle','unregistered':_0x477d('0x141e'),'lagged':_0x477d('0x141e'),'reachable':_0x477d('0x141d'),'unreachable':_0x477d('0x141e'),'unknown':_0x477d('0x141f')},'state':{'unknown':'grey-fg\x20icon-phone-hangup','not_inuse':_0x477d('0x1420'),'inuse':_0x477d('0x19b3'),'busy':_0x477d('0x1421'),'invalid':'grey-fg\x20icon-phone-hangup','unavailable':_0x477d('0x1422'),'ringing':_0x477d('0x1423'),'ringinuse':_0x477d('0x1423'),'onhold':'blue-300-fg\x20icon-phone-paused'},'channelStatus':{'ring':_0x477d('0x1423'),'up':_0x477d('0x1425'),'hangup':'red-300-fg\x20icon-phone-hangup'},'channelStatusOut':{'ring':_0x477d('0x19b4'),'up':'green-300-fg\x20icon-phone-in-talk','hangup':_0x477d('0x1426')}};}}());(function(){'use strict';_0x4bc2ab['$inject']=['$scope','$state',_0x477d('0x5a3')];angular[_0x477d('0xb')](_0x477d('0x2f'))['controller'](_0x477d('0x265d'),_0x4bc2ab);function _0x4bc2ab(_0x2cf71f,_0x335313,_0x2bae36){var _0x3486a6=this;_0x2bae36['disconnect']();_0x2bae36[_0x477d('0x678')]();_0x3486a6[_0x477d('0xe95')]=0x0;switch(_0x335313[_0x477d('0x548')][_0x477d('0x94')]){case'app.voice.realtime.agents':_0x3486a6['selectedTab']=0x0;break;case _0x477d('0x2f3'):_0x3486a6['selectedTab']=0x1;break;case'app.voice.realtime.trunks':_0x3486a6[_0x477d('0xe95')]=0x2;break;case _0x477d('0x2fb'):_0x3486a6[_0x477d('0xe95')]=0x3;break;case'app.voice.realtime.queue_calls':_0x3486a6[_0x477d('0xe95')]=0x4;break;case _0x477d('0x301'):_0x3486a6[_0x477d('0xe95')]=0x5;break;case'app.voice.realtime.queue_params':_0x3486a6[_0x477d('0xe95')]=0x6;break;case _0x477d('0x306'):_0x3486a6['selectedTab']=0x7;break;default:_0x3486a6[_0x477d('0xe95')]=0x0;_0x335313['go'](_0x477d('0x265e'));}_0x2cf71f['$watch']('vm.selectedTab',function(_0x73c118,_0x514af5){if(_0x73c118!==_0x514af5){switch(_0x73c118){case 0x0:_0x335313['go'](_0x477d('0x265e'));break;case 0x1:_0x335313['go'](_0x477d('0x2f3'));break;case 0x2:_0x335313['go'](_0x477d('0x2f7'));break;case 0x3:_0x335313['go']('app.voice.realtime.queues');break;case 0x4:_0x335313['go']('app.voice.realtime.queue_calls');break;case 0x5:_0x335313['go'](_0x477d('0x301'));break;case 0x6:_0x335313['go'](_0x477d('0x303'));break;case 0x7:_0x335313['go']('app.voice.realtime.outbound_calls');break;default:_0x335313['go']('app.voice.realtime.agents');}}});}}());(function(){'use strict';_0x34d909[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x3fe'),_0x477d('0x384'),_0x477d('0x3b9'),_0x477d('0x265f'),'api',_0x477d('0x5a3'),_0x477d('0x13b4'),'userProfile',_0x477d('0x3ac'),_0x477d('0x55')];angular[_0x477d('0xb')](_0x477d('0x2f'))[_0x477d('0x3ba')](_0x477d('0x2660'),_0x34d909);function _0x34d909(_0x2e4803,_0xca98f2,_0x495e1d,_0x482782,_0x4342e9,_0x2ad1dd,_0x39c38c,_0x358e31,_0x33b36b,_0x3d34e0,_0x2b1b22){var _0x478e5b=this;var _0x5c99bf=[_0x477d('0xcd'),_0x477d('0x324'),_0x477d('0xe'),_0x477d('0x3c3')];_0x478e5b[_0x477d('0x3bb')]=_0x482782[_0x477d('0x3bb')];_0x478e5b['attributes']=['fullname',_0x477d('0x324'),_0x477d('0xe'),'status',_0x477d('0x13b8')];_0x478e5b[_0x477d('0x3b9')]=_0x482782?_[_0x477d('0xdb5')](_0x482782['rows']?_0x482782['rows']:[],'id'):{};_0x478e5b['rpcTelephones']=_0x4342e9?_[_0x477d('0xdb5')](_0x4342e9[_0x477d('0xf2')]?_0x4342e9[_0x477d('0xf2')]:[],'id'):{};_0x478e5b['userProfile']=_0x33b36b;_0x478e5b[_0x477d('0x3ac')]=_0x3d34e0&&_0x3d34e0[_0x477d('0x3bb')]==0x1?_0x3d34e0[_0x477d('0xf2')][0x0]:null;_0x478e5b[_0x477d('0xd66')]=_0x2b1b22[_0x477d('0xd81')](_0x478e5b[_0x477d('0x3ac')]?_0x478e5b['userProfileSection']['crudPermissions']:null);_0x478e5b[_0x477d('0x3ef')]={'fields':_0x477d('0x2661'),'role':'telephone','sort':_0x477d('0x59'),'limit':0xa,'page':0x1};_0x478e5b[_0x477d('0x19ba')]=_0x358e31[_0x477d('0x3c3')];_0x478e5b['stateClass']=_0x358e31[_0x477d('0xe')];_0x478e5b[_0x477d('0x485')]=_0x1abc78;_0x478e5b['$onInit']=_0x25b5c0;_0x478e5b[_0x477d('0x13dc')]=_0x2dda8f;_0x478e5b[_0x477d('0x2167')]=_0x280add;_0x478e5b['onSave']=_0xe34251;_0x39c38c['on'](_0x477d('0x2662'),_0x478e5b[_0x477d('0x13e2')]);function _0x25b5c0(){_[_0x477d('0xe4b')](_0x478e5b[_0x477d('0x3b9')],function(_0x29d241,_0x14161d){if(_0x478e5b['rpcTelephones'][_0x14161d]){_[_0x477d('0xef')](_0x29d241,_['pick'](_0x478e5b[_0x477d('0x265f')][_0x14161d],_0x5c99bf));}});}function _0x2dda8f(_0x31f036){_0x495e1d[_0x477d('0x395')](_0x495e1d[_0x477d('0x120a')]()[_0x477d('0x13f3')](!![])[_0x477d('0x49a')]('Legend')[_0x477d('0xd92')](_0x477d('0x13f4'))['ok']('Ok')[_0x477d('0xd7c')](_0x31f036));}function _0xe34251(_0x26254b){if(_0x478e5b['telephones'][_0x26254b['id']]){_['merge'](_0x478e5b[_0x477d('0x3b9')][_0x26254b['id']],_[_0x477d('0x10b')](_0x26254b,_0x5c99bf));}}var _0x44afe1=!![];var _0x1921bd=0x1;_0x2e4803[_0x477d('0x4b5')](_0x477d('0xd98'),function(_0x31f0db,_0x2f3d01){if(_0x44afe1){_0xca98f2(function(){_0x44afe1=![];});}else{if(!_0x2f3d01){_0x1921bd=_0x478e5b['query'][_0x477d('0xe03')];}if(_0x31f0db!==_0x2f3d01){_0x478e5b[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0x31f0db){_0x478e5b['query'][_0x477d('0xe03')]=_0x1921bd;}_0x478e5b[_0x477d('0x2167')]();}});function _0x1abc78(_0xb643d1){_0x478e5b[_0x477d('0x3b9')]=_0xb643d1?_[_0x477d('0xdb5')](_0xb643d1[_0x477d('0xf2')]?_0xb643d1[_0x477d('0xf2')]:[],'id'):{};_0x25b5c0();}function _0x280add(){_0x478e5b[_0x477d('0x3ef')]['offset']=(_0x478e5b[_0x477d('0x3ef')]['page']-0x1)*_0x478e5b['query'][_0x477d('0x91d')];if(_0x2b1b22[_0x477d('0x56')](_0x477d('0x5f'))){_0x478e5b['promise']=_0x2ad1dd[_0x477d('0x380')][_0x477d('0x376')](_0x478e5b[_0x477d('0x3ef')],_0x1abc78)['$promise'];}else{_0x478e5b[_0x477d('0x3ef')]['id']=_0x478e5b[_0x477d('0x3a5')]['id'];_0x478e5b['query'][_0x477d('0xd99')]=_0x477d('0x296');_0x478e5b[_0x477d('0x553')]=_0x2ad1dd['userProfile'][_0x477d('0xd9a')](_0x478e5b[_0x477d('0x3ef')],_0x1abc78)[_0x477d('0x38b')];}}_0x2e4803[_0x477d('0x4ec')](_0x477d('0x505'),function(){_0x39c38c[_0x477d('0x6b8')](_0x477d('0x2662'));});}}());(function(){'use strict';_0x158d52[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x3fe'),_0x477d('0x384'),_0x477d('0xf2e'),_0x477d('0x19b6'),_0x477d('0x386'),_0x477d('0x5a3'),_0x477d('0x13b4'),_0x477d('0x3c4'),_0x477d('0x3a5'),_0x477d('0x3ac'),_0x477d('0x55')];angular[_0x477d('0xb')](_0x477d('0x2f'))[_0x477d('0x3ba')](_0x477d('0x2663'),_0x158d52);function _0x158d52(_0x5b1d7f,_0xe1e5db,_0x43eab1,_0xf22e28,_0x34a5ea,_0x41a8cb,_0x3afecb,_0x5160aa,_0x19188e,_0x591972,_0x50da66,_0x52450e){var _0x145f09=this;var _0x413f9a=[_0x477d('0x3c3'),'stateRegistry','registry',_0x477d('0x3c9'),_0x477d('0x3cf'),'internal','state',_0x477d('0x3c3')];_0x145f09[_0x477d('0x3e5')]=_0x52450e[_0x477d('0x5c')]();_0x145f09[_0x477d('0x3bb')]=_0xf22e28[_0x477d('0x3bb')];_0x145f09[_0x477d('0xf2e')]=_0xf22e28?_0xf22e28[_0x477d('0xf2')]:[];_0x145f09[_0x477d('0x19b6')]=_0x34a5ea?_0x34a5ea[_0x477d('0xf2')]?_0x34a5ea['rows']:[]:[];_0x145f09['query']={'fields':_0x477d('0x9c'),'active':!![],'sort':_0x477d('0x59'),'limit':0xa,'page':0x1};_0x145f09[_0x477d('0x19ba')]=_0x5160aa['status'];_0x145f09['stateClass']=_0x5160aa[_0x477d('0xe')];_0x145f09[_0x477d('0x3a5')]=_0x591972;_0x145f09['userProfileSection']=_0x50da66&&_0x50da66[_0x477d('0x3bb')]==0x1?_0x50da66[_0x477d('0xf2')][0x0]:null;_0x145f09[_0x477d('0xd66')]=_0x52450e[_0x477d('0xd81')](_0x145f09['userProfileSection']?_0x145f09[_0x477d('0x3ac')][_0x477d('0xd66')]:null);_0x145f09['success']=_0x5acdf7;_0x145f09[_0x477d('0x6ad')]=_0x1b0018;_0x145f09[_0x477d('0x13dc')]=_0x3d5be0;_0x145f09[_0x477d('0x19bb')]=_0x5d07b4;_0x145f09[_0x477d('0x19bc')]=_0x5cbb3b;_0x145f09[_0x477d('0x13e2')]=_0x4d92ea;_0x3afecb['on']('trunk:save',_0x145f09['onSave']);function _0x1b0018(){var _0x4d1465;for(var _0x1e0de9=0x0;_0x1e0de9<_0x145f09['trunks'][_0x477d('0x79')];_0x1e0de9+=0x1){_0x4d1465=_['findIndex'](_0x145f09['rpcTrunks'],['id',_0x145f09['trunks'][_0x1e0de9]['id']]);if(_0x4d1465>=0x0){_[_0x477d('0xef')](_0x145f09[_0x477d('0xf2e')][_0x1e0de9],_[_0x477d('0x10b')](_0x145f09['rpcTrunks'][_0x4d1465],_0x413f9a));}}}function _0x3d5be0(_0x49f640){_0x43eab1[_0x477d('0x395')](_0x43eab1['alert']()['clickOutsideToClose'](!![])[_0x477d('0x49a')]('Legend')[_0x477d('0xd92')]('
TODO\x20legend\x20status\x20+\x20state
')['ok']('Ok')[_0x477d('0xd7c')](_0x49f640));}function _0x1b2b9c(_0x2f9ff2,_0x15540e,_0x58f651){if(_0x15540e>=0x0){_[_0x477d('0xef')](_0x2f9ff2[_0x15540e],_['pick'](_0x58f651,_0x413f9a));}}function _0x4d92ea(_0x4c5a79){var _0x3a56cd=_['findIndex'](_0x145f09[_0x477d('0xf2e')],['id',_0x4c5a79['id']]);var _0x2ad6ec=_[_0x477d('0x45a')](_0x145f09[_0x477d('0x19b6')],['id',_0x4c5a79['id']]);_0x1b2b9c(_0x145f09[_0x477d('0xf2e')],_0x3a56cd,_0x4c5a79);_0x1b2b9c(_0x145f09[_0x477d('0x19b6')],_0x2ad6ec,_0x4c5a79);}var _0x3a61a8=!![];var _0x42bc01=0x1;_0x5b1d7f[_0x477d('0x4b5')](_0x477d('0xd98'),function(_0x270ee2,_0x312387){if(_0x3a61a8){_0xe1e5db(function(){_0x3a61a8=![];});}else{if(!_0x312387){_0x42bc01=_0x145f09[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x270ee2!==_0x312387){_0x145f09[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0x270ee2){_0x145f09['query'][_0x477d('0xe03')]=_0x42bc01;}_0x145f09['getTrunks']();}});function _0x5acdf7(_0x3a0604){_0x145f09[_0x477d('0x3bb')]=_0x3a0604[_0x477d('0x3bb')];_0x145f09['trunks']=_0x3a0604?_0x3a0604[_0x477d('0xf2')]?_0x3a0604[_0x477d('0xf2')]:[]:[];_0x1b0018();}function _0x5d07b4(){_0x145f09[_0x477d('0x3ef')][_0x477d('0x91c')]=(_0x145f09[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x145f09['query']['limit'];if(_0x52450e[_0x477d('0x56')](_0x477d('0x5f'))){_0x145f09[_0x477d('0x553')]=_0x41a8cb['trunk']['get'](_0x145f09[_0x477d('0x3ef')],_0x5acdf7)[_0x477d('0x38b')];}else{_0x145f09[_0x477d('0x3ef')]['id']=_0x145f09[_0x477d('0x3a5')]['id'];_0x145f09['query']['section']=_0x477d('0x2fa');_0x145f09['promise']=_0x41a8cb[_0x477d('0x3a5')]['getResources'](_0x145f09[_0x477d('0x3ef')],_0x5acdf7)[_0x477d('0x38b')];}}_0x5b1d7f[_0x477d('0x4ec')](_0x477d('0x505'),function(){_0x3afecb['removeAllListeners'](_0x477d('0x19bd'));});function _0x5cbb3b(_0x45264b,_0x381237){_0x19188e['go'](_0x477d('0x2dd'),{'id':_0x381237['id']});}}}());(function(){'use strict';_0x389dc6[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x3c4'),'$location','$mdDialog','$q',_0x477d('0x40d'),_0x477d('0x40e'),_0x477d('0x2664'),'voicemail',_0x477d('0x386'),_0x477d('0x55'),'license',_0x477d('0xc8e'),_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x2f'))[_0x477d('0x3ba')](_0x477d('0x2665'),_0x389dc6);function _0x389dc6(_0x578ae1,_0x4545aa,_0x2c75f6,_0x1f6ab7,_0x1e46f0,_0x158629,_0x66e206,_0xa4df0d,_0x2e914f,_0x5e6894,_0x93a95a,_0xa1c762,_0x184ce7,_0x141b32){var _0x5aa784=this;_0x5aa784[_0x477d('0x3e5')]=_0x93a95a[_0x477d('0x5c')]();_0x5aa784[_0x477d('0xd67')]=[];_0x5aa784[_0x477d('0xc8e')]=_0x184ce7;_0x5aa784[_0x477d('0x613')]=_0xa1c762;_0x5aa784[_0x477d('0xd66')]=_0x141b32;_0x5aa784[_0x477d('0xd68')]={};_0x5aa784['passwordPattern']=_0x5aa784['setting']&&_0x5aa784[_0x477d('0xc8e')]['securePassword']?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x5aa784[_0x477d('0x49a')]=_0x477d('0x2666');_0x5aa784['voicemail']=angular[_0x477d('0x6d9')](_0x2e914f);_0x5aa784[_0x477d('0x2664')]=_0xa4df0d;_0x5aa784[_0x477d('0x2667')]=![];if(!_0x5aa784[_0x477d('0x255d')]){_0x5aa784[_0x477d('0x255d')]={'attach':'no'};_0x5aa784[_0x477d('0x49a')]='VOICE.NEW_VOICEMAIL';_0x5aa784[_0x477d('0x2667')]=!![];}_0x5aa784[_0x477d('0x2668')]=_0x261200;_0x5aa784[_0x477d('0x2669')]=_0x366627;_0x5aa784[_0x477d('0x266a')]=_0x5d2674;_0x5aa784[_0x477d('0xd6f')]=_0x546a88;_0x5aa784[_0x477d('0x6bf')]=_0xb3eb77;function _0x261200(){_0x5aa784[_0x477d('0xd67')]=[];_0x5e6894[_0x477d('0xa8c')][_0x477d('0xd70')](_0x5aa784['voicemail'])['$promise'][_0x477d('0x76')](function(_0x9ffb93){_0x5aa784[_0x477d('0x2664')]['unshift'](_0x9ffb93[_0x477d('0xd71')]());_0x66e206[_0x477d('0x485')]({'title':_0x477d('0x266b'),'msg':_0x5aa784[_0x477d('0x255d')][_0x477d('0x94')]?_0x5aa784[_0x477d('0x255d')][_0x477d('0x94')]+_0x477d('0xd73'):''});_0xb3eb77(_0x9ffb93);})['catch'](function(_0x55d274){if(_0x55d274['data']&&_0x55d274['data'][_0x477d('0xd67')]&&_0x55d274[_0x477d('0x451')]['errors']['length']){_0x5aa784[_0x477d('0xd67')]=_0x55d274[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x55d274[_0x477d('0x453')](),'type':_0x477d('0x266c')}];for(var _0x4712d5=0x0;_0x4712d5<_0x55d274[_0x477d('0x451')]['errors'][_0x477d('0x79')];_0x4712d5+=0x1){_0x66e206[_0x477d('0x44a')]({'title':_0x55d274[_0x477d('0x451')][_0x477d('0xd67')][_0x4712d5]['type'],'msg':_0x55d274['data']['errors'][_0x4712d5][_0x477d('0x452')]});}}else{_0x66e206['error']({'title':_0x55d274[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x55d274[_0x477d('0x3c3')]+'\x20-\x20'+_0x55d274[_0x477d('0x44d')]:_0x477d('0x266c'),'msg':_0x55d274[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x55d274['data']['message']):_0x55d274[_0x477d('0x453')]()});}});}function _0x366627(){_0x5aa784[_0x477d('0xd67')]=[];_0x5e6894[_0x477d('0xa8c')][_0x477d('0x710')]({'id':_0x5aa784['voicemail']['id']},_0x5aa784[_0x477d('0x255d')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x2ee072){var _0x153b9a=_[_0x477d('0x10a')](_0x5aa784[_0x477d('0x2664')],{'id':_0x2ee072['id']});if(_0x153b9a){_[_0x477d('0xef')](_0x153b9a,_[_0x477d('0x10b')](_0x2ee072['toJSON'](),_[_0x477d('0x7f')](_0x153b9a)));}_0x66e206[_0x477d('0x485')]({'title':'Voicemail\x20properly\x20saved!','msg':_0x5aa784[_0x477d('0x255d')][_0x477d('0x94')]?_0x5aa784[_0x477d('0x255d')][_0x477d('0x94')]+_0x477d('0xd76'):''});_0xb3eb77(_0x2ee072);})[_0x477d('0xf8')](function(_0x114e09){if(_0x114e09[_0x477d('0x451')]&&_0x114e09[_0x477d('0x451')]['errors']&&_0x114e09[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x5aa784['errors']=_0x114e09[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x114e09[_0x477d('0x453')](),'type':_0x477d('0x266d')}];for(var _0x394000=0x0;_0x394000<_0x114e09[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x394000++){_0x66e206[_0x477d('0x44a')]({'title':_0x114e09['data'][_0x477d('0xd67')][_0x394000]['type'],'msg':_0x114e09[_0x477d('0x451')][_0x477d('0xd67')][_0x394000][_0x477d('0x452')]});}}else{_0x66e206[_0x477d('0x44a')]({'title':_0x114e09[_0x477d('0x3c3')]?'API:'+_0x114e09[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x114e09[_0x477d('0x44d')]:'api.voiceMail.update','msg':_0x114e09['data']?JSON[_0x477d('0x3fb')](_0x114e09[_0x477d('0x451')]['message']):_0x114e09[_0x477d('0x453')]()});}});}function _0x5d2674(_0x58d849){_0x5aa784[_0x477d('0xd67')]=[];var _0x3b0248=_0x1f6ab7['confirm']()[_0x477d('0x49a')](_0x477d('0xd79'))['content'](_0x477d('0x266e'))[_0x477d('0x687')](_0x477d('0x266f'))['ok'](_0x477d('0xd7b'))[_0x477d('0x4f0')](_0x477d('0x688'))[_0x477d('0xd7c')](_0x58d849);_0x1f6ab7[_0x477d('0x395')](_0x3b0248)[_0x477d('0x76')](function(){_0x5e6894[_0x477d('0xa8c')][_0x477d('0xa55')]({'id':_0x5aa784[_0x477d('0x255d')]['id']})['$promise'][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x5aa784['voicemails'],{'id':_0x5aa784[_0x477d('0x255d')]['id']});_0x66e206[_0x477d('0x485')]({'title':_0x477d('0x2670'),'msg':(_0x5aa784['voicemail'][_0x477d('0x94')]||_0x477d('0x255d'))+_0x477d('0xd7e')});_0xb3eb77(_0x5aa784[_0x477d('0x255d')]);})[_0x477d('0xf8')](function(_0x500320){if(_0x500320['data']&&_0x500320[_0x477d('0x451')][_0x477d('0xd67')]&&_0x500320['data'][_0x477d('0xd67')][_0x477d('0x79')]){_0x5aa784[_0x477d('0xd67')]=_0x500320[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x500320[_0x477d('0x453')](),'type':_0x477d('0x2671')}];for(var _0x5dfbe9=0x0;_0x5dfbe9<_0x500320['data'][_0x477d('0xd67')][_0x477d('0x79')];_0x5dfbe9++){_0x66e206[_0x477d('0x44a')]({'title':_0x500320[_0x477d('0x451')][_0x477d('0xd67')][_0x5dfbe9]['type'],'msg':_0x500320['data'][_0x477d('0xd67')][_0x5dfbe9][_0x477d('0x452')]});}}else{_0x66e206[_0x477d('0x44a')]({'title':_0x500320[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x500320[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x500320[_0x477d('0x44d')]:_0x477d('0x2671'),'msg':_0x500320[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x500320[_0x477d('0x451')][_0x477d('0x452')]):_0x500320[_0x477d('0x452')]||_0x500320[_0x477d('0x453')]()});}});},function(){});}function _0x546a88(_0x3c8670){return _0x3c8670===null?undefined:new Date(_0x3c8670);}function _0xb3eb77(_0x1f48e0){_0x1f6ab7[_0x477d('0x3bc')](_0x1f48e0);}}}());(function(){'use strict';_0x2264b7[_0x477d('0xa')]=[_0x477d('0x385'),_0x477d('0x474'),'$state','$q','$translate',_0x477d('0x3fe'),_0x477d('0x384'),'$document',_0x477d('0x40e'),_0x477d('0x386'),_0x477d('0x55')];angular[_0x477d('0xb')](_0x477d('0x2f'))[_0x477d('0x3ba')]('VoicemailMessagesController',_0x2264b7);function _0x2264b7(_0x54b228,_0x46545d,_0xbf88dc,_0x236190,_0x5ade92,_0x4163cb,_0x57bb2f,_0x53e688,_0x35d8a4,_0x2fca27,_0x563a80){var _0x45b364=this;_0x45b364[_0x477d('0x3e5')]=_0x563a80[_0x477d('0x5c')]();_0x45b364[_0x477d('0x255d')]={};_0x45b364[_0x477d('0x2672')]={'count':0x0,'rows':[]};_0x45b364[_0x477d('0x2673')]=[];_0x45b364['crudPermissions'];_0x45b364['query']={'fields':_0x477d('0x2674'),'sort':_0x477d('0x2675'),'limit':0xa,'page':0x1};_0x45b364['init']=_0x37ef88;_0x45b364[_0x477d('0xe66')]=_0xbb1550;_0x45b364[_0x477d('0x2676')]=_0x1a089b;_0x45b364[_0x477d('0x485')]=_0x31104b;_0x45b364[_0x477d('0x2677')]=_0x58a2f6;_0x45b364[_0x477d('0x2678')]=_0x4a12cf;_0x45b364[_0x477d('0x2679')]=_0x91b699;_0x45b364[_0x477d('0x267a')]=_0x362e78;_0x45b364[_0x477d('0x267b')]=_0xaeb915;function _0x37ef88(_0xcb5f11,_0x35be5a){_0x45b364[_0x477d('0x255d')]=_0xcb5f11;_0x45b364[_0x477d('0xd66')]=typeof _0x35be5a!==_0x477d('0x4a4')?_0x35be5a:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x45b364[_0x477d('0x3ef')]['id']=_0x45b364[_0x477d('0x255d')]['id'];_0x58a2f6();}function _0x1a089b(_0x3cf3e0,_0x5a9d69,_0x3cecc7){return _0x2fca27[_0x477d('0xa90')]['download']({'id':_0x3cf3e0['id'],'exists':!![],'attachments':_0x3cecc7})[_0x477d('0x38b')]['then'](function(_0x305453){var _0x3c24f1=[_0x305453['buffer']];var _0x4241e8=_0x477d('0x452')+_0x3cf3e0['id'];var _0x58fa4e=new Blob(_0x3c24f1,{'type':_0x305453['type']});_0x4241e8=_0x3cf3e0['msg_id']+_0x477d('0x6ca');var _0xa5021d=window[_0x477d('0x945')][_0x477d('0x3c7')]('a');_0xa5021d[_0x477d('0x494')](_0x477d('0x3c8'),URL[_0x477d('0x49f')](_0x58fa4e));_0xa5021d[_0x477d('0x494')](_0x477d('0x49d'),_0x4241e8);document[_0x477d('0x399')][_0x477d('0xd8f')](_0xa5021d);_0xa5021d['click']();})[_0x477d('0xf8')](function(_0x30dd6b){if(_0x30dd6b['data']&&_0x30dd6b[_0x477d('0x451')][_0x477d('0xd67')]&&_0x30dd6b[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){for(var _0x3c25fb=0x0;_0x3c25fb<_0x30dd6b['data'][_0x477d('0xd67')][_0x477d('0x79')];_0x3c25fb+=0x1){_0x35d8a4[_0x477d('0x44a')]({'title':_0x30dd6b[_0x477d('0x451')]['errors'][_0x3c25fb][_0x477d('0x439')],'msg':_0x30dd6b[_0x477d('0x451')][_0x477d('0xd67')][_0x3c25fb][_0x477d('0x452')]});}}else{_0x35d8a4[_0x477d('0x44a')]({'title':_0x30dd6b[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x30dd6b[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x30dd6b[_0x477d('0x44d')]:'api.voiceMail.save','msg':_0x30dd6b[_0x477d('0x451')]?JSON['stringify'](_0x30dd6b['data'][_0x477d('0x452')]):_0x30dd6b[_0x477d('0x453')]()});}});}function _0xbb1550(_0x290b14,_0x2a913b){var _0x279974=_0x57bb2f['confirm']()['title'](_0x477d('0x267c'))[_0x477d('0xd92')](_0x477d('0xd93')+(_0x290b14[_0x477d('0x94')]||_0x290b14['id']&&_[_0x477d('0x1367')](_0x477d('0x267d'))+_0x290b14['id']||_0x477d('0x452'))+_0x477d('0xd94')+'\x20will\x20be\x20deleted.')[_0x477d('0x687')](_0x477d('0x267e'))[_0x477d('0xd7c')](_0x2a913b)['ok']('OK')['cancel'](_0x477d('0xd97'));_0x57bb2f[_0x477d('0x395')](_0x279974)[_0x477d('0x76')](function(){_0x362e78(_0x290b14);},function(){console['log'](_0x477d('0xd97'));});}function _0x31104b(_0x3c2ceb){_0x45b364[_0x477d('0x2672')]=_0x3c2ceb||{'count':0x0,'rows':[]};}function _0x58a2f6(){_0x45b364[_0x477d('0x3ef')][_0x477d('0x91c')]=(_0x45b364[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x45b364[_0x477d('0x3ef')][_0x477d('0x91d')];_0x45b364['promise']=_0x2fca27[_0x477d('0xa8c')]['getMessages'](_0x45b364[_0x477d('0x3ef')],_0x31104b)[_0x477d('0x38b')];}function _0x4a12cf(_0x4e1c80,_0x1353dd){_0x57bb2f[_0x477d('0x395')]({'controller':_0x477d('0x267f'),'controllerAs':'vm','templateUrl':_0x477d('0x2680'),'parent':angular[_0x477d('0x398')](_0x53e688[_0x477d('0x399')]),'targetEvent':_0x4e1c80,'clickOutsideToClose':!![],'locals':{'voicemail':_0x45b364[_0x477d('0x255d')],'message':_0x1353dd,'messages':_0x45b364[_0x477d('0x2672')][_0x477d('0xf2')],'license':null,'setting':null,'crudPermissions':_0x45b364['crudPermissions']}});}function _0x362e78(_0x11604f){_0x2fca27['voiceMailMessage'][_0x477d('0xa55')]({'id':_0x11604f['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x45b364[_0x477d('0x2672')][_0x477d('0xf2')],{'id':_0x11604f['id']});_0x45b364[_0x477d('0x2672')][_0x477d('0x3bb')]-=0x1;if(!_0x45b364[_0x477d('0x2672')][_0x477d('0xf2')][_0x477d('0x79')]){_0x58a2f6();}_0x35d8a4[_0x477d('0x485')]({'title':_0x477d('0x2681'),'msg':_0x11604f[_0x477d('0x94')]?_0x11604f[_0x477d('0x94')]+'\x20has\x20been\x20deleted!':''});})[_0x477d('0xf8')](function(_0x4e59a7){if(_0x4e59a7[_0x477d('0x451')]&&_0x4e59a7[_0x477d('0x451')][_0x477d('0xd67')]&&_0x4e59a7[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){vm['errors']=_0x4e59a7[_0x477d('0x451')]['errors']||[{'message':_0x4e59a7[_0x477d('0x453')](),'type':_0x477d('0x2682')}];for(var _0xeb62ef=0x0;_0xeb62ef<_0x4e59a7[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0xeb62ef++){_0x35d8a4[_0x477d('0x44a')]({'title':_0x4e59a7[_0x477d('0x451')][_0x477d('0xd67')][_0xeb62ef]['type'],'msg':_0x4e59a7[_0x477d('0x451')][_0x477d('0xd67')][_0xeb62ef][_0x477d('0x452')]});}}else{_0x35d8a4[_0x477d('0x44a')]({'title':_0x4e59a7[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x4e59a7[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x4e59a7[_0x477d('0x44d')]:'SYSTEM:GETvoiceMail','msg':_0x4e59a7['data']?JSON['stringify'](_0x4e59a7[_0x477d('0x451')][_0x477d('0x452')]):_0x4e59a7[_0x477d('0x452')]||_0x4e59a7[_0x477d('0x453')]()});}});}function _0x91b699(){var _0x5059a9=angular[_0x477d('0x6d9')](_0x45b364[_0x477d('0x2673')]);_0x45b364[_0x477d('0x2673')]=[];return _0x5059a9;}function _0xaeb915(_0x156e09){var _0x37a86a=_0x57bb2f['confirm']()[_0x477d('0x49a')](_0x477d('0x2683'))['htmlContent'](''+_0x45b364['selectedVoicemailMessages'][_0x477d('0x79')]+'\x20selected'+_0x477d('0xd95'))['ariaLabel'](_0x477d('0x2684'))[_0x477d('0xd7c')](_0x156e09)['ok']('OK')['cancel']('CANCEL');_0x57bb2f[_0x477d('0x395')](_0x37a86a)['then'](function(){_0x45b364[_0x477d('0x2673')]['forEach'](function(_0x382538){_0x362e78(_0x382538);});_0x45b364[_0x477d('0x2673')]=[];});}var _0x5bd35e=!![];var _0x21b491=0x1;_0x46545d['$watch'](_0x477d('0x12f3'),function(_0x3887d7,_0x418575){if(_0x5bd35e){_0x4163cb(function(){_0x5bd35e=![];});}else{if(!_0x418575){_0x21b491=_0x45b364[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x3887d7!==_0x418575){_0x45b364[_0x477d('0x3ef')]['page']=0x1;}if(!_0x3887d7){_0x45b364[_0x477d('0x3ef')][_0x477d('0xe03')]=_0x21b491;}_0x58a2f6();}});}}());(function(){'use strict';_0x390d1b[_0x477d('0xa')]=[_0x477d('0x3c4'),_0x477d('0xd64'),_0x477d('0x384'),_0x477d('0x475'),'$translate',_0x477d('0x613'),_0x477d('0xc8e'),_0x477d('0x386'),_0x477d('0x40e'),'Auth',_0x477d('0x255d'),_0x477d('0x3ac')];angular['module'](_0x477d('0x2f'))[_0x477d('0x3ba')](_0x477d('0x2685'),_0x390d1b);function _0x390d1b(_0x47cfdd,_0x17ca6d,_0x845333,_0x2fbb41,_0x2fe9c6,_0x477468,_0x232779,_0x5130ff,_0x292584,_0x18e1f6,_0x520048,_0x30d26f){var _0x3616fe=this;_0x3616fe[_0x477d('0x3e5')]=_0x18e1f6[_0x477d('0x5c')]();_0x3616fe[_0x477d('0x613')]=_0x477468;_0x3616fe[_0x477d('0xc8e')]=_0x232779;_0x3616fe[_0x477d('0xd69')]=_0x3616fe[_0x477d('0xc8e')]['securePassword']?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x3616fe[_0x477d('0x3cc')]=_0x17ca6d[_0x477d('0x3ce')]()+'://'+_0x17ca6d[_0x477d('0x3c9')]();_0x3616fe[_0x477d('0x255d')]=_0x520048||_0x47cfdd[_0x477d('0x37e')]['voicemail']||{};_0x3616fe[_0x477d('0x3ac')]=_0x30d26f&&_0x30d26f[_0x477d('0x3bb')]==0x1?_0x30d26f[_0x477d('0xf2')][0x0]:null;_0x3616fe[_0x477d('0xd66')]=_0x18e1f6[_0x477d('0xd81')](_0x3616fe[_0x477d('0x3ac')]?_0x3616fe[_0x477d('0x3ac')][_0x477d('0xd66')]:null);_0x3616fe[_0x477d('0xd68')]={};_0x3616fe[_0x477d('0xe95')]=_0x47cfdd['params'][_0x477d('0xe96')]||0x0;_0x3616fe[_0x477d('0x120a')]=_0x292584['info'];_0x3616fe[_0x477d('0x2686')]=_0x37ead4;_0x3616fe['saveVoicemail']=_0x29482c;_0x18e1f6[_0x477d('0x56')](_0x477d('0x5f'))?_0x5130ff[_0x477d('0xa6b')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94')})[_0x477d('0x38b')]['then'](function(_0x1d69bf){_0x3616fe[_0x477d('0xf32')]=_0x1d69bf['rows']||[];})[_0x477d('0xf8')](function(_0x277223){_0x292584[_0x477d('0x44a')]({'title':_0x277223[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x277223[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x277223[_0x477d('0x44d')]:_0x477d('0x212b'),'msg':_0x277223[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x277223[_0x477d('0x451')]):_0x277223[_0x477d('0x453')]()});}):_0x5130ff[_0x477d('0xa6b')][_0x477d('0x376')]({'fields':'id,name','sort':'name'})[_0x477d('0x38b')]['then'](function(_0x1575d6){_0x3616fe[_0x477d('0xf32')]=_0x1575d6[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x5130ff[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x3616fe[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x195})[_0x477d('0x38b')];})['then'](function(_0x477be2){var _0x4878db=_0x477be2&&_0x477be2[_0x477d('0xf2')]?_0x477be2['rows'][0x0]:null;if(!_0x4878db){return _0x5130ff[_0x477d('0xa6b')][_0x477d('0x376')]({'fields':'id,name','sort':_0x477d('0x94'),'defaultEntry':0x1})['$promise']['then'](function(_0x5adb95){_0x3616fe[_0x477d('0xf32')]=_0x5adb95[_0x477d('0xf2')]||[];});}else{if(!_0x4878db[_0x477d('0x3ad')]){return _0x5130ff['userProfileResource'][_0x477d('0x376')]({'sectionId':_0x4878db['id']})['$promise'][_0x477d('0x76')](function(_0xc53376){var _0x24172c=_['map'](_0xc53376[_0x477d('0xf2')],function(_0x573179){return _[_0x477d('0x10a')](_0x3616fe[_0x477d('0xf32')],{'id':_0x573179[_0x477d('0x3af')]});});var _0x515924=null;if(_0x3616fe['voicemail']){_0x515924=_[_0x477d('0x10a')](_0x3616fe[_0x477d('0xf32')],{'name':_0x3616fe[_0x477d('0x255d')][_0x477d('0xf47')]});}if(_0x515924&&!_[_0x477d('0x3ab')](_0x24172c,['id',_0x515924['id']])){var _0x5b17e9=_[_0x477d('0x10a')](_0x3616fe[_0x477d('0xf32')],{'id':_0x515924['id']});_0x5b17e9[_0x477d('0xf8b')]=![];_0x24172c[_0x477d('0x3a7')](_0x5b17e9);}_0x3616fe[_0x477d('0xf32')]=_0x24172c;});}}})[_0x477d('0xf8')](function(_0x682e16){_0x292584['error']({'title':_0x682e16[_0x477d('0x3c3')]?'API:'+_0x682e16[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x682e16[_0x477d('0x44d')]:_0x477d('0x215b'),'msg':_0x682e16['data']?JSON[_0x477d('0x3fb')](_0x682e16[_0x477d('0x451')]):_0x682e16[_0x477d('0x453')]()});});function _0x37ead4(){_0x47cfdd['go']('app.voice.voicemails',{},{'reload':'app.voice.voicemails'});}function _0x29482c(){_0x5130ff['voiceMail'][_0x477d('0x710')]({'id':_0x3616fe[_0x477d('0x255d')]['id']},_0x3616fe[_0x477d('0x255d')])[_0x477d('0x38b')][_0x477d('0x76')](function(){_0x292584[_0x477d('0x485')]({'title':_0x477d('0x2687'),'msg':_0x3616fe['voicemail'][_0x477d('0x94')]?_0x3616fe[_0x477d('0x255d')][_0x477d('0x94')]+_0x477d('0xed7'):''});})[_0x477d('0xf8')](function(_0x573d10){_0x292584[_0x477d('0x44a')]({'title':_0x573d10[_0x477d('0x3c3')]?'API:'+_0x573d10[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x573d10[_0x477d('0x44d')]:_0x477d('0x2682'),'msg':_0x573d10['data']?JSON[_0x477d('0x3fb')](_0x573d10[_0x477d('0x451')]):_0x573d10['toString']()});});}}}());(function(){'use strict';_0x2fa4d9[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x387'),_0x477d('0x3c4'),_0x477d('0x554'),'$mdDialog',_0x477d('0x475'),_0x477d('0x3fe'),_0x477d('0x40d'),_0x477d('0x2664'),_0x477d('0x3a5'),_0x477d('0x3ac'),_0x477d('0x386'),'msUtils',_0x477d('0x40e'),_0x477d('0x55'),_0x477d('0x613'),_0x477d('0xc8e')];angular['module'](_0x477d('0x2f'))[_0x477d('0x3ba')]('VoicemailsController',_0x2fa4d9);function _0x2fa4d9(_0x9d541a,_0x2501a1,_0x293aaa,_0x5a6d57,_0x26bf1a,_0x2e2782,_0x32aca0,_0x3f5d64,_0x474466,_0x5b01ad,_0x4dd3f1,_0x1fb8dc,_0x2dd310,_0x2e4b56,_0x3cc07a,_0xa8964d,_0x5e7835){var _0x2bfea0=this;_0x2bfea0[_0x477d('0x613')]=_0xa8964d;_0x2bfea0[_0x477d('0xc8e')]=_0x5e7835;_0x2bfea0[_0x477d('0x3e5')]=_0x3cc07a['getCurrentUser']();_0x2bfea0[_0x477d('0x2664')]=_0x474466||{'count':0x0,'rows':[]};_0x2bfea0[_0x477d('0x3a5')]=_0x5b01ad;_0x2bfea0[_0x477d('0x3ac')]=_0x4dd3f1&&_0x4dd3f1[_0x477d('0x3bb')]==0x1?_0x4dd3f1['rows'][0x0]:null;_0x2bfea0[_0x477d('0xd66')]=_0x3cc07a[_0x477d('0xd81')](_0x2bfea0[_0x477d('0x3ac')]?_0x2bfea0['userProfileSection']['crudPermissions']:null);_0x2bfea0['table']=_0x477d('0x2664');_0x2bfea0[_0x477d('0xd83')]='';_0x2bfea0[_0x477d('0xd84')]=null;_0x2bfea0['selectedVoicemails']=[];_0x2bfea0[_0x477d('0x3ef')]={'fields':_0x477d('0x331'),'sort':_0x477d('0x59'),'limit':0xa,'page':0x1};_0x2bfea0[_0x477d('0x2688')]=_[_0x477d('0xdb5')]([{'option':_0x477d('0xf6c'),'value':_0x477d('0x1e91')},{'option':'No','value':_0x477d('0x1271')}],function(_0x519e59){return _[_0x477d('0x409')](_0x519e59[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x2bfea0['arrayenvelope']=_[_0x477d('0xdb5')]([{'option':'Yes','value':_0x477d('0x1e91')},{'option':'No','value':_0x477d('0x1271')}],function(_0x47a3a7){return _[_0x477d('0x409')](_0x47a3a7['value'],new RegExp('\x27','g'),'');});_0x2bfea0[_0x477d('0x2689')]=_['keyBy']([{'option':_0x477d('0xf6c'),'value':_0x477d('0x1e91')},{'option':'No','value':_0x477d('0x1271')}],function(_0x457dc2){return _[_0x477d('0x409')](_0x457dc2['value'],new RegExp('\x27','g'),'');});_0x2bfea0[_0x477d('0xea6')]=_0x1cdcf8;_0x2bfea0[_0x477d('0xd88')]=_0x80557a;_0x2bfea0[_0x477d('0x485')]=_0x364647;_0x2bfea0[_0x477d('0x268a')]=_0x4d7dc1;_0x2bfea0[_0x477d('0x268b')]=_0x69da18;_0x2bfea0['deleteVoicemail']=_0x86bf79;_0x2bfea0[_0x477d('0x268c')]=_0x58cf8f;_0x2bfea0['deleteSelectedVoicemails']=_0x495ba9;_0x2bfea0[_0x477d('0x268d')]=_0x2ef1c1;_0x2bfea0['selectAllVoicemails']=_0x2697bd;function _0x1cdcf8(_0xebea71,_0xa62006){_0x293aaa['go'](_0x477d('0x333'),{'id':_0xebea71['id'],'voicemail':_0xebea71,'crudPermissions':_0x2bfea0[_0x477d('0xd66')]});}function _0x80557a(_0x53692b,_0x3eb31e){var _0x4689ee=_0x26bf1a[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xd90')+_[_0x477d('0xd91')](_0x477d('0x255d'))+'?')[_0x477d('0xd92')](''+(_0x53692b[_0x477d('0x94')]||_0x477d('0x255d'))+_0x477d('0xd94')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x268e'))[_0x477d('0xd7c')](_0x3eb31e)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x26bf1a[_0x477d('0x395')](_0x4689ee)[_0x477d('0x76')](function(){_0x86bf79(_0x53692b);},function(){console[_0x477d('0x7b')]('CANCEL');});}var _0x542637=!![];var _0xb3ff78=0x1;_0x9d541a[_0x477d('0x4b5')](_0x477d('0xd98'),function(_0x288c3c,_0x567b3b){if(_0x542637){_0x32aca0(function(){_0x542637=![];});}else{if(!_0x567b3b){_0xb3ff78=_0x2bfea0[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x288c3c!==_0x567b3b){_0x2bfea0[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0x288c3c){_0x2bfea0[_0x477d('0x3ef')][_0x477d('0xe03')]=_0xb3ff78;}_0x2bfea0['getVoicemails']();}});function _0x364647(_0x231108){_0x2bfea0[_0x477d('0x2664')]=_0x231108||{'count':0x0,'rows':[]};}function _0x4d7dc1(){_0x2bfea0[_0x477d('0x3ef')]['offset']=(_0x2bfea0['query'][_0x477d('0xe03')]-0x1)*_0x2bfea0['query'][_0x477d('0x91d')];if(_0x3cc07a['hasRole'](_0x477d('0x5f'))){_0x2bfea0['promise']=_0x1fb8dc[_0x477d('0xa8c')][_0x477d('0x376')](_0x2bfea0[_0x477d('0x3ef')],_0x364647)[_0x477d('0x38b')];}else{_0x2bfea0[_0x477d('0x3ef')]['id']=_0x2bfea0[_0x477d('0x3a5')]['id'];_0x2bfea0[_0x477d('0x3ef')][_0x477d('0xd99')]='Voicemails';_0x2bfea0[_0x477d('0x553')]=_0x1fb8dc[_0x477d('0x3a5')][_0x477d('0xd9a')](_0x2bfea0[_0x477d('0x3ef')],_0x364647)[_0x477d('0x38b')];}}function _0x69da18(_0x25da91,_0x13d4f0){_0x26bf1a[_0x477d('0x395')]({'controller':_0x477d('0x2665'),'controllerAs':'vm','templateUrl':_0x477d('0x268f'),'parent':angular[_0x477d('0x398')](_0x2e2782['body']),'targetEvent':_0x25da91,'clickOutsideToClose':!![],'locals':{'voicemail':_0x13d4f0,'voicemails':_0x2bfea0[_0x477d('0x2664')][_0x477d('0xf2')],'license':_0x2bfea0['license'],'setting':_0x2bfea0[_0x477d('0xc8e')],'crudPermissions':_0x2bfea0[_0x477d('0xd66')]}});}function _0x86bf79(_0x340060){_0x1fb8dc[_0x477d('0xa8c')][_0x477d('0xa55')]({'id':_0x340060['id']})['$promise'][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x2bfea0[_0x477d('0x2664')]['rows'],{'id':_0x340060['id']});_0x2bfea0['voicemails'][_0x477d('0x3bb')]-=0x1;if(!_0x2bfea0[_0x477d('0x2664')]['rows'][_0x477d('0x79')]){_0x2bfea0[_0x477d('0x268a')]();}_0x2e4b56['success']({'title':_[_0x477d('0xd91')](_0x477d('0x255c'))+_0x477d('0xd9d'),'msg':_0x340060[_0x477d('0x94')]?_0x340060[_0x477d('0x94')]+'\x20has\x20been\x20deleted!':''});})['catch'](function(_0x3fcc24){if(_0x3fcc24[_0x477d('0x451')]&&_0x3fcc24[_0x477d('0x451')][_0x477d('0xd67')]&&_0x3fcc24[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x2bfea0['errors']=_0x3fcc24[_0x477d('0x451')]['errors']||[{'message':_0x3fcc24['toString'](),'type':_0x477d('0x2690')}];for(var _0x56ea33=0x0;_0x56ea33<_0x3fcc24[_0x477d('0x451')]['errors'][_0x477d('0x79')];_0x56ea33++){_0x2e4b56['error']({'title':_0x3fcc24[_0x477d('0x451')][_0x477d('0xd67')][_0x56ea33][_0x477d('0x439')],'msg':_0x3fcc24['data'][_0x477d('0xd67')][_0x56ea33][_0x477d('0x452')]});}}else{_0x2e4b56[_0x477d('0x44a')]({'title':_0x3fcc24[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x3fcc24[_0x477d('0x3c3')]+'\x20-\x20'+_0x3fcc24[_0x477d('0x44d')]:_0x477d('0x2690'),'msg':_0x3fcc24[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x3fcc24['data']['message']):_0x3fcc24[_0x477d('0x452')]||_0x3fcc24[_0x477d('0x453')]()});}});}function _0x58cf8f(){var _0x425798=angular[_0x477d('0x6d9')](_0x2bfea0[_0x477d('0x2691')]);_0x2bfea0[_0x477d('0x2691')]=[];return _0x425798;}function _0x495ba9(_0x4c1ce0){var _0x13daaf=_0x26bf1a[_0x477d('0xd78')]()['title'](_0x477d('0x2692'))['htmlContent'](_0x477d('0xd93')+_0x2bfea0[_0x477d('0x2691')][_0x477d('0x79')]+_0x477d('0xda0')+_0x477d('0xd95'))[_0x477d('0x687')]('delete\x20Voicemails')['targetEvent'](_0x4c1ce0)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x26bf1a[_0x477d('0x395')](_0x13daaf)['then'](function(){_0x2bfea0[_0x477d('0x2691')][_0x477d('0x3b1')](function(_0x344747){_0x86bf79(_0x344747);});_0x2bfea0[_0x477d('0x2691')]=[];});}function _0x2ef1c1(){_0x2bfea0[_0x477d('0x2691')]=[];}function _0x2697bd(){_0x2bfea0[_0x477d('0x2691')]=_0x2bfea0[_0x477d('0x2664')][_0x477d('0xf2')];}}}());(function(){'use strict';_0x52d7b4['$inject']=['$scope',_0x477d('0x3c4'),_0x477d('0xd64'),_0x477d('0x384'),'$q',_0x477d('0x40d'),_0x477d('0x40e'),_0x477d('0x2693'),'voicePrefix',_0x477d('0x386'),_0x477d('0x55'),_0x477d('0x613'),_0x477d('0xc8e'),'crudPermissions'];angular[_0x477d('0xb')](_0x477d('0x2f'))[_0x477d('0x3ba')](_0x477d('0x2694'),_0x52d7b4);function _0x52d7b4(_0x53a637,_0x33e801,_0x185ca2,_0x2927d2,_0x3ec161,_0x552c91,_0x173eed,_0x364c81,_0x1d1ae2,_0x3955bb,_0x5b9a48,_0x755289,_0xeb8073,_0x3c8f20){var _0x5bd694=this;_0x5bd694['currentUser']=_0x5b9a48['getCurrentUser']();_0x5bd694[_0x477d('0xd67')]=[];_0x5bd694['setting']=_0xeb8073;_0x5bd694[_0x477d('0x613')]=_0x755289;_0x5bd694['crudPermissions']=_0x3c8f20;_0x5bd694[_0x477d('0xd68')]={};_0x5bd694['passwordPattern']=_0x5bd694[_0x477d('0xc8e')]&&_0x5bd694[_0x477d('0xc8e')]['securePassword']?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x5bd694[_0x477d('0x49a')]=_0x477d('0x2695');_0x5bd694[_0x477d('0xcd2')]=angular[_0x477d('0x6d9')](_0x1d1ae2);_0x5bd694[_0x477d('0x2693')]=_0x364c81;_0x5bd694[_0x477d('0x2696')]=![];if(!_0x5bd694[_0x477d('0xcd2')]){_0x5bd694[_0x477d('0xcd2')]={};_0x5bd694[_0x477d('0x49a')]=_0x477d('0x2697');_0x5bd694['newvoicePrefix']=!![];}_0x5bd694[_0x477d('0x2698')]=_0x33d28f;_0x5bd694['savevoicePrefix']=_0x5ab9f2;_0x5bd694['deletevoicePrefix']=_0x9b46d4;_0x5bd694[_0x477d('0xd6f')]=_0x553106;_0x5bd694[_0x477d('0x6bf')]=_0x50697c;_0x5b9a48[_0x477d('0x56')](_0x477d('0x5f'))?_0x3955bb[_0x477d('0x21a5')][_0x477d('0x376')]({'fields':'id,exten','type':_0x477d('0x127'),'VoiceExtensionId':'null','nolimit':'true'})[_0x477d('0x38b')]['then'](function(_0x4931c0){_0x5bd694[_0x477d('0x23f3')]=_0x4931c0[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x52792f){_0x173eed[_0x477d('0x44a')]({'title':_0x52792f[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x52792f[_0x477d('0x3c3')]+'\x20-\x20'+_0x52792f['statusText']:_0x477d('0x23f2'),'msg':_0x52792f[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x52792f['data']):_0x52792f[_0x477d('0x453')]()});}):_0x3955bb[_0x477d('0x21a5')]['get']({'fields':_0x477d('0x23f1'),'type':'outbound','VoiceExtensionId':_0x477d('0xea'),'nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x35c652){_0x5bd694['outboundRoutes']=_0x35c652['rows']||[];})['then'](function(){return _0x3955bb[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x5bd694['currentUser']['userProfileId'],'sectionId':0x193})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0xea78ab){var _0x54346c=_0xea78ab&&_0xea78ab['rows']?_0xea78ab[_0x477d('0xf2')][0x0]:null;if(!_0x54346c){var _0x274f77=[];var _0x308f31=null;if(_0x5bd694[_0x477d('0xcd2')]){_0x308f31=_['find'](_0x5bd694[_0x477d('0x23f3')],{'id':Number(_0x5bd694[_0x477d('0xcd2')][_0x477d('0x25b7')])});}for(var _0x1026dc=0x0;_0x1026dc<_0x5bd694[_0x477d('0x23f3')][_0x477d('0x79')];_0x1026dc++){if(_0x308f31&&_0x5bd694[_0x477d('0x23f3')][_0x1026dc]['id']===_0x308f31['id']){_0x5bd694[_0x477d('0x23f3')][_0x1026dc][_0x477d('0xf8b')]=![];_0x274f77[_0x477d('0x3a7')](_0x5bd694[_0x477d('0x23f3')][_0x1026dc]);}}_0x5bd694[_0x477d('0x23f3')]=_0x274f77;}else{if(!_0x54346c[_0x477d('0x3ad')]){return _0x3955bb['userProfileResource'][_0x477d('0x376')]({'sectionId':_0x54346c['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x221bae){var _0x429010=_['map'](_0x221bae['rows'],function(_0x41ae72){return _[_0x477d('0x10a')](_0x5bd694['outboundRoutes'],{'id':_0x41ae72[_0x477d('0x3af')]});});var _0xe33278=null;if(_0x5bd694[_0x477d('0xcd2')]){_0xe33278=_[_0x477d('0x10a')](_0x5bd694[_0x477d('0x23f3')],{'id':Number(_0x5bd694[_0x477d('0xcd2')]['VoiceExtensionId'])});}if(_0xe33278&&!_[_0x477d('0x3ab')](_0x429010,['id',_0xe33278['id']])){var _0x426b53=_[_0x477d('0x10a')](_0x5bd694['outboundRoutes'],{'id':_0xe33278['id']});_0x426b53[_0x477d('0xf8b')]=![];_0x429010[_0x477d('0x3a7')](_0x426b53);}_0x5bd694['outboundRoutes']=_0x429010;});}}})[_0x477d('0xf8')](function(_0x26a00e){_0x173eed[_0x477d('0x44a')]({'title':_0x26a00e[_0x477d('0x3c3')]?'API:'+_0x26a00e['status']+_0x477d('0x44c')+_0x26a00e[_0x477d('0x44d')]:_0x477d('0x2405'),'msg':_0x26a00e[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x26a00e[_0x477d('0x451')]):_0x26a00e[_0x477d('0x453')]()});});function _0x33d28f(){_0x5bd694[_0x477d('0xd67')]=[];_0x3955bb[_0x477d('0xcd2')]['save'](_0x5bd694[_0x477d('0xcd2')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x25569d){_0x5bd694[_0x477d('0x2693')][_0x477d('0x63b')](_0x25569d[_0x477d('0xd71')]());_0x173eed[_0x477d('0x485')]({'title':_0x477d('0x2699'),'msg':_0x5bd694[_0x477d('0xcd2')]['name']?_0x5bd694[_0x477d('0xcd2')]['name']+_0x477d('0xd73'):''});_0x50697c(_0x25569d);})['catch'](function(_0xcf06af){if(_0xcf06af['data']&&_0xcf06af[_0x477d('0x451')]['errors']&&_0xcf06af[_0x477d('0x451')][_0x477d('0xd67')]['length']){_0x5bd694[_0x477d('0xd67')]=_0xcf06af[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0xcf06af['toString'](),'type':_0x477d('0x269a')}];for(var _0x373694=0x0;_0x373694<_0xcf06af[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x373694+=0x1){_0x173eed[_0x477d('0x44a')]({'title':_0xcf06af[_0x477d('0x451')][_0x477d('0xd67')][_0x373694][_0x477d('0x439')],'msg':_0xcf06af[_0x477d('0x451')][_0x477d('0xd67')][_0x373694][_0x477d('0x452')]});}}else{_0x173eed[_0x477d('0x44a')]({'title':_0xcf06af[_0x477d('0x3c3')]?'API:'+_0xcf06af[_0x477d('0x3c3')]+_0x477d('0x44c')+_0xcf06af[_0x477d('0x44d')]:_0x477d('0x269a'),'msg':_0xcf06af['data']?JSON['stringify'](_0xcf06af['data']['message']):_0xcf06af['toString']()});}});}function _0x5ab9f2(){_0x5bd694['errors']=[];_0x3955bb['voicePrefix'][_0x477d('0x710')]({'id':_0x5bd694['voicePrefix']['id']},_0x5bd694['voicePrefix'])[_0x477d('0x38b')]['then'](function(_0x21d3c1){var _0x1964c9=_['find'](_0x5bd694['voicePrefixes'],{'id':_0x21d3c1['id']});if(_0x1964c9){_['merge'](_0x1964c9,_[_0x477d('0x10b')](_0x21d3c1[_0x477d('0xd71')](),_[_0x477d('0x7f')](_0x1964c9)));}_0x173eed[_0x477d('0x485')]({'title':_0x477d('0x269b'),'msg':_0x5bd694[_0x477d('0xcd2')][_0x477d('0x94')]?_0x5bd694[_0x477d('0xcd2')]['name']+_0x477d('0xd76'):''});_0x50697c(_0x21d3c1);})['catch'](function(_0x2a216e){if(_0x2a216e[_0x477d('0x451')]&&_0x2a216e['data']['errors']&&_0x2a216e[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x5bd694[_0x477d('0xd67')]=_0x2a216e[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x2a216e[_0x477d('0x453')](),'type':_0x477d('0x269c')}];for(var _0x145375=0x0;_0x145375<_0x2a216e['data'][_0x477d('0xd67')][_0x477d('0x79')];_0x145375++){_0x173eed[_0x477d('0x44a')]({'title':_0x2a216e[_0x477d('0x451')]['errors'][_0x145375][_0x477d('0x439')],'msg':_0x2a216e[_0x477d('0x451')]['errors'][_0x145375]['message']});}}else{_0x173eed[_0x477d('0x44a')]({'title':_0x2a216e[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x2a216e[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x2a216e[_0x477d('0x44d')]:_0x477d('0x269c'),'msg':_0x2a216e[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x2a216e[_0x477d('0x451')]['message']):_0x2a216e[_0x477d('0x453')]()});}});}function _0x9b46d4(_0x16526c){_0x5bd694['errors']=[];var _0x2720be=_0x2927d2[_0x477d('0xd78')]()['title'](_0x477d('0xd79'))[_0x477d('0xdaf')](_0x477d('0x269d'))[_0x477d('0x687')](_0x477d('0x269e'))['ok']('Delete')[_0x477d('0x4f0')](_0x477d('0x688'))[_0x477d('0xd7c')](_0x16526c);_0x2927d2[_0x477d('0x395')](_0x2720be)[_0x477d('0x76')](function(){_0x3955bb[_0x477d('0xcd2')][_0x477d('0xa55')]({'id':_0x5bd694['voicePrefix']['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x5bd694[_0x477d('0x2693')],{'id':_0x5bd694[_0x477d('0xcd2')]['id']});_0x173eed[_0x477d('0x485')]({'title':_0x477d('0x269f'),'msg':(_0x5bd694['voicePrefix'][_0x477d('0x94')]||_0x477d('0xcd2'))+_0x477d('0xd7e')});_0x50697c(_0x5bd694[_0x477d('0xcd2')]);})[_0x477d('0xf8')](function(_0x5503bc){if(_0x5503bc[_0x477d('0x451')]&&_0x5503bc['data'][_0x477d('0xd67')]&&_0x5503bc[_0x477d('0x451')]['errors'][_0x477d('0x79')]){_0x5bd694[_0x477d('0xd67')]=_0x5503bc[_0x477d('0x451')]['errors']||[{'message':_0x5503bc[_0x477d('0x453')](),'type':_0x477d('0x26a0')}];for(var _0x1daf79=0x0;_0x1daf79<_0x5503bc[_0x477d('0x451')][_0x477d('0xd67')]['length'];_0x1daf79++){_0x173eed[_0x477d('0x44a')]({'title':_0x5503bc[_0x477d('0x451')][_0x477d('0xd67')][_0x1daf79]['type'],'msg':_0x5503bc[_0x477d('0x451')]['errors'][_0x1daf79]['message']});}}else{_0x173eed['error']({'title':_0x5503bc[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x5503bc[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x5503bc[_0x477d('0x44d')]:_0x477d('0x26a0'),'msg':_0x5503bc[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x5503bc[_0x477d('0x451')]['message']):_0x5503bc[_0x477d('0x452')]||_0x5503bc[_0x477d('0x453')]()});}});},function(){});}function _0x553106(_0x591a62){return _0x591a62===null?undefined:new Date(_0x591a62);}function _0x50697c(_0x27d1ad){_0x2927d2[_0x477d('0x3bc')](_0x27d1ad);}}}());(function(){'use strict';_0x5e8871['$inject']=[_0x477d('0x384'),'$q','toasty','api','voicePrefix',_0x477d('0x2693'),'realtime',_0x477d('0x40d'),'Auth',_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x2f'))[_0x477d('0x3ba')](_0x477d('0x26a1'),_0x5e8871);function _0x5e8871(_0x539e9b,_0x4a71d8,_0xdb2caf,_0x1a5a1b,_0x4fa545,_0x5bc64e,_0x51d6d3,_0x5de739,_0x15bb4f,_0x5204f1){var _0x1d5c92=this;_0x1d5c92[_0x477d('0x3e5')]=_0x15bb4f[_0x477d('0x5c')]();_0x1d5c92[_0x477d('0xcd2')]=_0x4fa545;_0x1d5c92[_0x477d('0xd66')]=_0x5204f1;_0x1d5c92[_0x477d('0x11f1')]=_0x51d6d3;_0x1d5c92[_0x477d('0x4a6')]=[];_0x1d5c92[_0x477d('0x11f7')]=[];_0x1d5c92[_0x477d('0x4a7')]=[];_0x1d5c92[_0x477d('0x11f2')]=[];_0x1d5c92[_0x477d('0x11fd')]=[];_0x1d5c92[_0x477d('0x11f5')]=![];_0x1d5c92[_0x477d('0x71a')]=_0x4024f1;_0x1d5c92[_0x477d('0x11f3')]=_0x41135a;_0x1d5c92[_0x477d('0x6bf')]=_0xe4f26;_0x1d5c92[_0x477d('0x1185')]={'readOnly':!_0x1d5c92[_0x477d('0xd66')][_0x477d('0xedb')],'items':[],'selectedItems':[],'showSelectAndDeselectAll':!![],'orderBy':_0x477d('0x94'),'line1':'fullname','line2':[_0x477d('0x94'),_0x477d('0x324')],'line3':'','labelAll':_0x5de739[_0x477d('0x45f')](_0x477d('0x26a2')),'labelSelected':_0x5de739[_0x477d('0x45f')](_0x477d('0x26a3')),'transferCallback':function(_0x23d10a,_0x17fc23){var _0x300153=_[_0x477d('0x11f4')](_0x1d5c92[_0x477d('0x11fd')],_0x1d5c92[_0x477d('0x4a7')],'id');_0x1d5c92[_0x477d('0x11f5')]=_[_0x477d('0x3b2')](_0x300153)?![]:!![];}};function _0x4024f1(){return _0x15bb4f[_0x477d('0x56')]('admin')?_0x3f5fe3()[_0x477d('0xf8')](function(_0x113f13){_0xdb2caf[_0x477d('0x44a')]({'title':_0x113f13[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x113f13[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x113f13[_0x477d('0x44d')]:_0x477d('0x11f6'),'msg':_0x113f13['status']?JSON['stringify'](_0x113f13['data']):_0x113f13['toString']()});}):_0x1529f6()[_0x477d('0x76')](function(_0x904a13){_0x1d5c92[_0x477d('0xd99')]=_0x904a13;return _0x3f5fe3();})['catch'](function(_0x35ca7c){_0xdb2caf[_0x477d('0x44a')]({'title':_0x35ca7c[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x35ca7c[_0x477d('0x3c3')]+'\x20-\x20'+_0x35ca7c[_0x477d('0x44d')]:_0x477d('0x11f6'),'msg':_0x35ca7c[_0x477d('0x3c3')]?JSON[_0x477d('0x3fb')](_0x35ca7c['data']):_0x35ca7c[_0x477d('0x453')]()});});}function _0x1529f6(){return _0x4a71d8(function(_0x358c51,_0x1e3694){_0x1a5a1b['userProfileSection'][_0x477d('0x376')]({'userProfileId':_0x1d5c92[_0x477d('0x3e5')]['userProfileId'],'name':_0x477d('0xce')})['$promise'][_0x477d('0x76')](function(_0x4b5444){var _0x1c30e3=_0x4b5444&&_0x4b5444[_0x477d('0xf2')]?_0x4b5444[_0x477d('0xf2')][0x0]:null;_0x358c51(_0x1c30e3);})[_0x477d('0xf8')](function(_0x4fcd11){_0x1e3694(_0x4fcd11);});});}function _0x3f5fe3(){return _0x4a71d8(function(_0x116657,_0x2e74ba){return _0x97783c()[_0x477d('0x76')](function(_0x5beeed){_0x1d5c92['items']=_0x5beeed[_0x477d('0xf2')]?_0x5beeed[_0x477d('0xf2')]:[];if(_0x15bb4f[_0x477d('0x56')]('admin')){return _0x5beeed;}else{if(_0x1d5c92[_0x477d('0xd99')]){return _0x1d5c92[_0x477d('0xd99')][_0x477d('0x3ad')]?_0x5beeed:_0x229e9d();}else{return null;}}})[_0x477d('0x76')](function(_0x2b05f8){var _0x3ad404=_0x2b05f8&&_0x2b05f8[_0x477d('0xf2')]?_0x2b05f8[_0x477d('0xf2')]:[];_0x1d5c92[_0x477d('0x11f7')]=_[_0x477d('0x3cb')](_0x3ad404,function(_0xe31a06){return _[_0x477d('0x10a')](_0x1d5c92[_0x477d('0x4a6')],{'id':_0x15bb4f[_0x477d('0x56')]('admin')||_0x1d5c92[_0x477d('0xd99')]['autoAssociation']?_0xe31a06['id']:_0xe31a06[_0x477d('0x3af')]});});_0x1d5c92[_0x477d('0x11f2')]=angular[_0x477d('0x6d9')](_0x1d5c92[_0x477d('0x11f7')]);_0x1d5c92[_0x477d('0x4a6')][_0x477d('0x3b1')](function(_0x3cbeef){var _0x766573=_[_0x477d('0x10a')](_0x1d5c92['allowedItems'],{'id':_0x3cbeef['id']});if(_0x15bb4f[_0x477d('0x56')](_0x477d('0x5f'))){_0x3cbeef[_0x477d('0x4a3')]=!![];}else{_0x3cbeef['isValid']=typeof _0x766573!==_0x477d('0x4a4')?!![]:![];}});return _0x44aa66();})[_0x477d('0x76')](function(_0x5f4583){var _0x1af3c9=_0x5f4583&&_0x5f4583[_0x477d('0xf2')]?_0x5f4583[_0x477d('0xf2')]:[];_0x1d5c92[_0x477d('0x4a7')]=_[_0x477d('0x3cb')](_0x1af3c9,function(_0xa70047){var _0x54555f=_['find'](_0x1d5c92[_0x477d('0x4a6')],{'id':_0xa70047['id']});_0x54555f[_0x477d('0x1184')]=_0xa70047[_0x477d('0x26a4')]?_0x477d('0x1529')+_0xa70047[_0x477d('0x26a4')]['penalty']:'';_0x54555f[_0x477d('0x324')]=_0xa70047[_0x477d('0x3ea')](_0x477d('0x324'))?'<'+_0xa70047['internal']+'>':'';return _0x54555f;});_0x1d5c92[_0x477d('0x11fd')]=angular[_0x477d('0x6d9')](_0x1d5c92['selectedItems']);_0x1d5c92[_0x477d('0x1185')][_0x477d('0x4a7')]=_0x1d5c92[_0x477d('0x4a7')];_0x1d5c92[_0x477d('0x1185')][_0x477d('0x4a6')]=_[_0x477d('0x11f8')](_0x1d5c92[_0x477d('0x11f7')],_0x1d5c92[_0x477d('0x1185')][_0x477d('0x4a7')],'id');_0x116657();})[_0x477d('0xf8')](function(_0x469df6){_0x2e74ba(_0x469df6);});});}function _0x229e9d(){return _0x4a71d8(function(_0x33257c,_0x5ac9ac){return _0x1a5a1b[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x1d5c92[_0x477d('0xd99')]['id'],'nolimit':!![]})[_0x477d('0x38b')]['then'](function(_0x2c1c28){_0x33257c(_0x2c1c28);})[_0x477d('0xf8')](function(_0x56761e){_0x5ac9ac(_0x56761e);});});}function _0x44aa66(){return _0x4a71d8(function(_0x1c03fb,_0x5a0105){return _0x1a5a1b['voicePrefix'][_0x477d('0x11f9')]({'id':_0x1d5c92[_0x477d('0xcd2')]['id'],'fields':'id,name,internal,fullname','nolimit':!![],'role':_0x477d('0xcf')})['$promise'][_0x477d('0x76')](function(_0x4e53d8){_0x1c03fb(_0x4e53d8);})[_0x477d('0xf8')](function(_0x40f267){_0x5a0105(_0x40f267);});});}function _0x97783c(){return _0x4a71d8(function(_0x4c7de4,_0x25540e){return _0x1a5a1b['user'][_0x477d('0x376')]({'fields':'id,name,internal,fullname','nolimit':!![],'role':_0x477d('0xcf')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x22974a){_0x4c7de4(_0x22974a);})[_0x477d('0xf8')](function(_0x551d90){_0x25540e(_0x551d90);});});}function _0x4b5ad1(_0x427c04){return _0x4a71d8(function(_0x1534b8,_0xa12313){if(_[_0x477d('0x3b2')](_0x427c04)){_0x1534b8();}else{_0x1a5a1b[_0x477d('0xcd2')][_0x477d('0x11fb')]({'id':_0x1d5c92[_0x477d('0xcd2')]['id'],'ids':_[_0x477d('0x3cb')](_0x427c04,'id')})[_0x477d('0x38b')][_0x477d('0x76')](function(){_0x1534b8();})[_0x477d('0xf8')](function(_0xc20e17){_0xa12313(_0xc20e17);});}});}function _0x411c75(_0x1af25d){return _0x4a71d8(function(_0x4ef203,_0x32d47f){if(_[_0x477d('0x3b2')](_0x1af25d)){_0x4ef203();}else{_0x1a5a1b['voicePrefix']['removeAgents']({'id':_0x1d5c92[_0x477d('0xcd2')]['id'],'ids':_['map'](_0x1af25d,'id')})[_0x477d('0x38b')][_0x477d('0x76')](function(){_0x4ef203();})[_0x477d('0xf8')](function(_0x4eaba0){_0x32d47f(_0x4eaba0);});}});}function _0x41135a(){var _0x246d74=_[_0x477d('0x11f8')](_0x1d5c92[_0x477d('0x11fd')],_0x1d5c92['selectedItems'],'id');var _0x2a1edc=_['differenceBy'](_0x1d5c92[_0x477d('0x4a7')],_0x1d5c92[_0x477d('0x11fd')],'id');return _0x411c75(_0x246d74)[_0x477d('0x76')](function(){return _0x4b5ad1(_0x2a1edc);})['then'](function(){_0x1d5c92[_0x477d('0x11f5')]=![];_0x1d5c92[_0x477d('0x11f2')]=angular['copy'](_0x1d5c92['allowedItems']);_0x1d5c92[_0x477d('0x11fd')]=angular['copy'](_0x1d5c92[_0x477d('0x4a7')]);_0xdb2caf[_0x477d('0x485')]({'title':_0x477d('0x11fe'),'msg':_0x477d('0x11ff')});})[_0x477d('0xf8')](function(_0x523a74){_0xdb2caf[_0x477d('0x44a')]({'title':_0x523a74[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x523a74[_0x477d('0x3c3')]+'\x20-\x20'+_0x523a74['statusText']:'SYSTEM:LISTS_ASSOCIATION','msg':_0x523a74[_0x477d('0x3c3')]?JSON[_0x477d('0x3fb')](_0x523a74['data']):_0x523a74['toString']()});});}function _0xe4f26(){_0x539e9b['hide']();}}}());(function(){'use strict';_0x5d5b61[_0x477d('0xa')]=['$scope','$window',_0x477d('0x3c4'),_0x477d('0x554'),_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x3fe'),_0x477d('0x40d'),_0x477d('0x2693'),_0x477d('0x3a5'),'userProfileSection',_0x477d('0x386'),_0x477d('0x342'),'toasty',_0x477d('0x55'),_0x477d('0x613'),_0x477d('0xc8e')];angular[_0x477d('0xb')](_0x477d('0x2f'))[_0x477d('0x3ba')](_0x477d('0x26a5'),_0x5d5b61);function _0x5d5b61(_0x5ce51d,_0x5e6d6d,_0x1ef012,_0x155b12,_0x92b035,_0x669843,_0x4e4e9b,_0xa210a6,_0x3d0ebc,_0x38eb27,_0x1aa2b3,_0x48e206,_0x211975,_0xc7a29d,_0x5e400a,_0x1df85a,_0x4ef3f8){var _0x57f18a=this;_0x57f18a[_0x477d('0x613')]=_0x1df85a;_0x57f18a[_0x477d('0xc8e')]=_0x4ef3f8;_0x57f18a['currentUser']=_0x5e400a['getCurrentUser']();_0x57f18a['voicePrefixes']=_0x3d0ebc||{'count':0x0,'rows':[]};_0x57f18a[_0x477d('0x3a5')]=_0x38eb27;_0x57f18a[_0x477d('0x3ac')]=_0x1aa2b3&&_0x1aa2b3[_0x477d('0x3bb')]==0x1?_0x1aa2b3['rows'][0x0]:null;_0x57f18a[_0x477d('0xd66')]=_0x5e400a[_0x477d('0xd81')](_0x57f18a['userProfileSection']?_0x57f18a[_0x477d('0x3ac')]['crudPermissions']:null);_0x57f18a[_0x477d('0xd82')]='voicePrefixes';_0x57f18a[_0x477d('0xd83')]='';_0x57f18a['listOrderAsc']=null;_0x57f18a[_0x477d('0x26a6')]=[];_0x57f18a[_0x477d('0x3ef')]={'fields':_0x477d('0x351'),'limit':0xa,'page':0x1};_0x57f18a[_0x477d('0xd86')]=_0x129b96;_0x57f18a[_0x477d('0x1222')]=_0x5367f1;_0x57f18a[_0x477d('0xd88')]=_0x45913a;_0x57f18a[_0x477d('0x485')]=_0x932a1b;_0x57f18a[_0x477d('0x479')]=_0x84a2ba;_0x57f18a['createOrEditvoicePrefix']=_0x4e4c2e;_0x57f18a[_0x477d('0x26a7')]=_0x3b4149;_0x57f18a['exportSelectedVoicePrefixes']=_0x4f0286;_0x57f18a['deleteSelectedVoicePrefixes']=_0x20ed33;_0x57f18a[_0x477d('0x26a8')]=_0x3d911c;_0x57f18a['selectAllVoicePrefixes']=_0x29739d;_0x5e400a[_0x477d('0x56')]('admin')?_0x48e206['voiceExtension'][_0x477d('0x376')]({'fields':_0x477d('0x23f1'),'type':'outbound','VoiceExtensionId':_0x477d('0xea'),'nolimit':'true'})['$promise']['then'](function(_0x24f77d){_0x57f18a[_0x477d('0x23f3')]=_0x24f77d[_0x477d('0xf2')]||[];})['catch'](function(_0x6eb615){_0xc7a29d[_0x477d('0x44a')]({'title':_0x6eb615[_0x477d('0x3c3')]?'API:'+_0x6eb615['status']+'\x20-\x20'+_0x6eb615[_0x477d('0x44d')]:_0x477d('0x23f2'),'msg':_0x6eb615['data']?JSON['stringify'](_0x6eb615[_0x477d('0x451')]):_0x6eb615[_0x477d('0x453')]()});}):_0x48e206[_0x477d('0x21a5')][_0x477d('0x376')]({'fields':_0x477d('0x23f1'),'type':'outbound','VoiceExtensionId':'null','nolimit':_0x477d('0x2ee')})['$promise'][_0x477d('0x76')](function(_0x4daf4a){_0x57f18a[_0x477d('0x23f3')]=_0x4daf4a[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x48e206[_0x477d('0x3ac')]['get']({'userProfileId':_0x57f18a[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x193})['$promise'];})['then'](function(_0x5a5f37){var _0x39568c=_0x5a5f37&&_0x5a5f37[_0x477d('0xf2')]?_0x5a5f37['rows'][0x0]:null;if(!_0x39568c){var _0x37f0c2=[];var _0x367169=null;if(_0x57f18a[_0x477d('0xcd2')]){_0x367169=_[_0x477d('0x10a')](_0x57f18a[_0x477d('0x23f3')],{'id':Number(_0x57f18a[_0x477d('0xcd2')][_0x477d('0x25b7')])});}for(var _0x247a25=0x0;_0x247a25<_0x57f18a[_0x477d('0x23f3')][_0x477d('0x79')];_0x247a25++){if(_0x367169&&_0x57f18a['outboundRoutes'][_0x247a25]['id']===_0x367169['id']){_0x57f18a[_0x477d('0x23f3')][_0x247a25][_0x477d('0xf8b')]=![];_0x37f0c2[_0x477d('0x3a7')](_0x57f18a['outboundRoutes'][_0x247a25]);}}_0x57f18a[_0x477d('0x23f3')]=_0x37f0c2;}else{if(!_0x39568c[_0x477d('0x3ad')]){return _0x48e206[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x39568c['id']})['$promise']['then'](function(_0x158915){var _0x2457f5=_[_0x477d('0x3cb')](_0x158915[_0x477d('0xf2')],function(_0x323ebb){return _['find'](_0x57f18a[_0x477d('0x23f3')],{'id':_0x323ebb['resourceId']});});var _0x3d0eb3=null;if(_0x57f18a[_0x477d('0xcd2')]){_0x3d0eb3=_[_0x477d('0x10a')](_0x57f18a['outboundRoutes'],{'id':Number(_0x57f18a[_0x477d('0xcd2')][_0x477d('0x25b7')])});}if(_0x3d0eb3&&!_['some'](_0x2457f5,['id',_0x3d0eb3['id']])){var _0x452101=_[_0x477d('0x10a')](_0x57f18a[_0x477d('0x23f3')],{'id':_0x3d0eb3['id']});_0x452101[_0x477d('0xf8b')]=![];_0x2457f5[_0x477d('0x3a7')](_0x452101);}_0x57f18a[_0x477d('0x23f3')]=_0x2457f5;});}}})[_0x477d('0xf8')](function(_0x449c1e){_0xc7a29d['error']({'title':_0x449c1e[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x449c1e['status']+'\x20-\x20'+_0x449c1e[_0x477d('0x44d')]:_0x477d('0x2405'),'msg':_0x449c1e[_0x477d('0x451')]?JSON['stringify'](_0x449c1e[_0x477d('0x451')]):_0x449c1e[_0x477d('0x453')]()});});function _0x129b96(_0x2f00d0,_0x9895f0){_0x92b035[_0x477d('0x395')]({'controller':'CreateOrEditvoicePrefixDialogController','controllerAs':'vm','templateUrl':_0x477d('0x26a9'),'parent':angular[_0x477d('0x398')](_0x669843[_0x477d('0x399')]),'targetEvent':_0x9895f0,'clickOutsideToClose':!![],'locals':{'voicePrefix':_0x2f00d0,'voicePrefixes':_0x57f18a['voicePrefixes'][_0x477d('0xf2')],'license':_0x57f18a[_0x477d('0x613')],'setting':null,'crudPermissions':_0x57f18a[_0x477d('0xd66')]}});}function _0x5367f1(_0x1c25f3,_0x1e46d0){_0x92b035[_0x477d('0x395')]({'controller':_0x477d('0x26a1'),'controllerAs':'vm','templateUrl':_0x477d('0x26aa'),'parent':angular['element'](_0x669843[_0x477d('0x399')]),'targetEvent':_0x1e46d0,'clickOutsideToClose':!![],'locals':{'voicePrefix':_0x1c25f3,'voicePrefixes':_0x57f18a[_0x477d('0x2693')]?_0x57f18a[_0x477d('0x2693')][_0x477d('0xf2')]:[],'crudPermissions':_0x57f18a[_0x477d('0xd66')],'realtime':![]}});}function _0x45913a(_0x557c2c,_0x1999bc){var _0x51b35c=_0x92b035['confirm']()[_0x477d('0x49a')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20'+_['startCase']('voicePrefix')+'?')[_0x477d('0xd92')](_0x477d('0xd93')+(_0x557c2c['name']||_0x477d('0xcd2'))+_0x477d('0xd94')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x26ab'))['targetEvent'](_0x1999bc)['ok']('OK')[_0x477d('0x4f0')]('CANCEL');_0x92b035['show'](_0x51b35c)[_0x477d('0x76')](function(){_0x3b4149(_0x557c2c);},function(){console['log'](_0x477d('0xd97'));});}var _0x1b48d8=!![];var _0x429e0c=0x1;_0x5ce51d[_0x477d('0x4b5')](_0x477d('0xd98'),function(_0x2b9668,_0x5cac9e){if(_0x1b48d8){_0x4e4e9b(function(){_0x1b48d8=![];});}else{if(!_0x5cac9e){_0x429e0c=_0x57f18a['query'][_0x477d('0xe03')];}if(_0x2b9668!==_0x5cac9e){_0x57f18a['query']['page']=0x1;}if(!_0x2b9668){_0x57f18a[_0x477d('0x3ef')]['page']=_0x429e0c;}_0x57f18a[_0x477d('0x479')]();}});function _0x932a1b(_0x31132c){_0x57f18a[_0x477d('0x2693')]=_0x31132c||{'count':0x0,'rows':[]};}function _0x84a2ba(){_0x57f18a[_0x477d('0x3ef')][_0x477d('0x91c')]=(_0x57f18a['query'][_0x477d('0xe03')]-0x1)*_0x57f18a[_0x477d('0x3ef')][_0x477d('0x91d')];if(_0x5e400a[_0x477d('0x56')](_0x477d('0x5f'))){_0x57f18a[_0x477d('0x553')]=_0x48e206[_0x477d('0xcd2')][_0x477d('0x376')](_0x57f18a[_0x477d('0x3ef')],_0x932a1b)[_0x477d('0x38b')];}else{_0x57f18a[_0x477d('0x3ef')]['id']=_0x57f18a[_0x477d('0x3a5')]['id'];_0x57f18a[_0x477d('0x3ef')][_0x477d('0xd99')]=_0x477d('0x26ac');_0x57f18a['promise']=_0x48e206[_0x477d('0x3a5')][_0x477d('0xd9a')](_0x57f18a[_0x477d('0x3ef')],_0x932a1b)[_0x477d('0x38b')];}}function _0x4e4c2e(_0x4cbf79,_0xe0f1fa){_0x92b035[_0x477d('0x395')]({'controller':_0x477d('0x2694'),'controllerAs':'vm','templateUrl':_0x477d('0x26a9'),'parent':angular[_0x477d('0x398')](_0x669843[_0x477d('0x399')]),'targetEvent':_0x4cbf79,'clickOutsideToClose':!![],'locals':{'voicePrefix':_0xe0f1fa,'voicePrefixes':_0x57f18a['voicePrefixes'][_0x477d('0xf2')],'license':_0x57f18a[_0x477d('0x613')],'setting':_0x57f18a[_0x477d('0xc8e')],'crudPermissions':_0x57f18a[_0x477d('0xd66')]}});}function _0x3b4149(_0x289736){_0x48e206['voicePrefix'][_0x477d('0xa55')]({'id':_0x289736['id']})['$promise'][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x57f18a[_0x477d('0x2693')][_0x477d('0xf2')],{'id':_0x289736['id']});_0x57f18a[_0x477d('0x2693')][_0x477d('0x3bb')]-=0x1;if(!_0x57f18a['voicePrefixes'][_0x477d('0xf2')][_0x477d('0x79')]){_0x57f18a[_0x477d('0x479')]();}_0xc7a29d[_0x477d('0x485')]({'title':_[_0x477d('0xd91')](_0x477d('0xcd2'))+_0x477d('0xd9d'),'msg':_0x289736[_0x477d('0x94')]?_0x289736['name']+_0x477d('0xd7e'):''});})[_0x477d('0xf8')](function(_0x212405){if(_0x212405[_0x477d('0x451')]&&_0x212405[_0x477d('0x451')][_0x477d('0xd67')]&&_0x212405[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x57f18a[_0x477d('0xd67')]=_0x212405[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x212405['toString'](),'type':_0x477d('0x26ad')}];for(var _0xc536a1=0x0;_0xc536a1<_0x212405['data'][_0x477d('0xd67')][_0x477d('0x79')];_0xc536a1++){_0xc7a29d[_0x477d('0x44a')]({'title':_0x212405['data'][_0x477d('0xd67')][_0xc536a1][_0x477d('0x439')],'msg':_0x212405[_0x477d('0x451')][_0x477d('0xd67')][_0xc536a1][_0x477d('0x452')]});}}else{_0xc7a29d['error']({'title':_0x212405['status']?_0x477d('0x44b')+_0x212405['status']+'\x20-\x20'+_0x212405[_0x477d('0x44d')]:_0x477d('0x26ad'),'msg':_0x212405['data']?JSON[_0x477d('0x3fb')](_0x212405[_0x477d('0x451')][_0x477d('0x452')]):_0x212405[_0x477d('0x452')]||_0x212405['toString']()});}});}function _0x4f0286(){var _0x299015=angular['copy'](_0x57f18a[_0x477d('0x26a6')]);_0x57f18a[_0x477d('0x26a6')]=[];return _0x299015;}function _0x20ed33(_0x442666){var _0x3e93d4=_0x92b035['confirm']()[_0x477d('0x49a')](_0x477d('0x26ae'))[_0x477d('0xd92')](''+_0x57f18a[_0x477d('0x26a6')]['length']+'\x20selected'+'\x20will\x20be\x20deleted.')[_0x477d('0x687')]('delete\x20voicePrefixs')[_0x477d('0xd7c')](_0x442666)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x92b035[_0x477d('0x395')](_0x3e93d4)['then'](function(){_0x57f18a['selectedVoicePrefixes']['forEach'](function(_0x159b42){_0x3b4149(_0x159b42);});_0x57f18a[_0x477d('0x26a6')]=[];});}function _0x3d911c(){_0x57f18a[_0x477d('0x26a6')]=[];}function _0x29739d(){_0x57f18a[_0x477d('0x26a6')]=_0x57f18a['voicePrefixes'][_0x477d('0xf2')];}}}());(function(){'use strict';_0x1685c5[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x3c4'),_0x477d('0xd64'),_0x477d('0x384'),'$q','$translate',_0x477d('0x40e'),'voiceQueues',_0x477d('0xa76'),_0x477d('0x386'),_0x477d('0x55'),_0x477d('0x613'),_0x477d('0xc8e'),_0x477d('0xd66')];angular['module'](_0x477d('0x2f'))['controller'](_0x477d('0x2659'),_0x1685c5);function _0x1685c5(_0x19389f,_0x2b5b09,_0x3da9d5,_0x966f97,_0x5730f6,_0x41880c,_0x2019cb,_0xd13b77,_0x56e966,_0x1f9c41,_0x49f0c7,_0xe8db9d,_0x15d154,_0x430039){var _0x3c54f0=this;_0x3c54f0[_0x477d('0x3e5')]=_0x49f0c7[_0x477d('0x5c')]();_0x3c54f0[_0x477d('0xd67')]=[];_0x3c54f0[_0x477d('0xc8e')]=_0x15d154;_0x3c54f0[_0x477d('0x613')]=_0xe8db9d;_0x3c54f0[_0x477d('0xd66')]=_0x430039;_0x3c54f0[_0x477d('0xd68')]={};_0x3c54f0[_0x477d('0xd69')]=_0x3c54f0[_0x477d('0xc8e')]&&_0x3c54f0['setting'][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x3c54f0[_0x477d('0x49a')]=_0x477d('0x26af');_0x3c54f0[_0x477d('0xa76')]=angular['copy'](_0x56e966);_0x3c54f0[_0x477d('0x8f9')]=_0xd13b77;_0x3c54f0[_0x477d('0x26b0')]=![];if(!_0x3c54f0['voiceQueue']){_0x3c54f0[_0x477d('0xa76')]={'type':'inbound','strategy':_0x477d('0x26b1'),'timeout':0xf,'retry':0x2,'random_periodic_announce':'no','announce_holdtime':'no','announce_position':'no','reportholdtime':'no','autopause':'no','ringinuse':'no','timeoutrestart':'no','setinterfacevar':'no','setqueuevar':'no','setqueueentryvar':'no'};_0x3c54f0[_0x477d('0x49a')]=_0x477d('0x26b2');_0x3c54f0[_0x477d('0x26b0')]=!![];}_0x3c54f0[_0x477d('0x26b3')]=_0x2acf8f;_0x3c54f0[_0x477d('0x26b4')]=_0x11cfa9;_0x3c54f0[_0x477d('0x26b5')]=_0x1c61f7;_0x3c54f0[_0x477d('0xd6f')]=_0x376cba;_0x3c54f0['closeDialog']=_0x49a9b8;function _0x2acf8f(){_0x3c54f0[_0x477d('0xd67')]=[];_0x1f9c41['voiceQueue'][_0x477d('0xd70')](_0x3c54f0[_0x477d('0xa76')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x34fa21){_0x3c54f0[_0x477d('0x8f9')][_0x477d('0x63b')](_0x34fa21[_0x477d('0xd71')]());_0x2019cb['success']({'title':_0x477d('0x26b6'),'msg':_0x3c54f0[_0x477d('0xa76')]['name']?_0x3c54f0[_0x477d('0xa76')]['name']+_0x477d('0xd73'):''});_0x49a9b8(_0x34fa21);})['catch'](function(_0x347c51){if(_0x347c51[_0x477d('0x451')]&&_0x347c51[_0x477d('0x451')][_0x477d('0xd67')]&&_0x347c51[_0x477d('0x451')]['errors'][_0x477d('0x79')]){_0x3c54f0['errors']=_0x347c51[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x347c51['toString'](),'type':_0x477d('0x1e3d')}];for(var _0x592cf4=0x0;_0x592cf4<_0x347c51[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x592cf4+=0x1){_0x2019cb[_0x477d('0x44a')]({'title':_0x347c51[_0x477d('0x451')]['errors'][_0x592cf4][_0x477d('0x439')],'msg':_0x347c51[_0x477d('0x451')][_0x477d('0xd67')][_0x592cf4][_0x477d('0x452')]});}}else{_0x2019cb['error']({'title':_0x347c51[_0x477d('0x3c3')]?'API:'+_0x347c51[_0x477d('0x3c3')]+'\x20-\x20'+_0x347c51[_0x477d('0x44d')]:_0x477d('0x1e3d'),'msg':_0x347c51['data']?JSON['stringify'](_0x347c51[_0x477d('0x451')]['message']):_0x347c51[_0x477d('0x453')]()});}});}function _0x11cfa9(){_0x3c54f0['errors']=[];_0x1f9c41[_0x477d('0xa76')][_0x477d('0x710')]({'id':_0x3c54f0['voiceQueue']['id']},_0x3c54f0[_0x477d('0xa76')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x1f2c31){var _0x1605c1=_[_0x477d('0x10a')](_0x3c54f0[_0x477d('0x8f9')],{'id':_0x1f2c31['id']});if(_0x1605c1){_[_0x477d('0xef')](_0x1605c1,_['pick'](_0x1f2c31['toJSON'](),_['keys'](_0x1605c1)));}_0x2019cb[_0x477d('0x485')]({'title':_0x477d('0x26b7'),'msg':_0x3c54f0[_0x477d('0xa76')]['name']?_0x3c54f0[_0x477d('0xa76')][_0x477d('0x94')]+_0x477d('0xd76'):''});_0x49a9b8(_0x1f2c31);})[_0x477d('0xf8')](function(_0x3ba87c){if(_0x3ba87c[_0x477d('0x451')]&&_0x3ba87c[_0x477d('0x451')][_0x477d('0xd67')]&&_0x3ba87c[_0x477d('0x451')]['errors']['length']){_0x3c54f0[_0x477d('0xd67')]=_0x3ba87c[_0x477d('0x451')]['errors']||[{'message':_0x3ba87c[_0x477d('0x453')](),'type':_0x477d('0x1e3f')}];for(var _0x5934ae=0x0;_0x5934ae<_0x3ba87c[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x5934ae++){_0x2019cb['error']({'title':_0x3ba87c[_0x477d('0x451')]['errors'][_0x5934ae][_0x477d('0x439')],'msg':_0x3ba87c['data'][_0x477d('0xd67')][_0x5934ae][_0x477d('0x452')]});}}else{_0x2019cb['error']({'title':_0x3ba87c[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x3ba87c['status']+'\x20-\x20'+_0x3ba87c[_0x477d('0x44d')]:_0x477d('0x1e3f'),'msg':_0x3ba87c[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x3ba87c[_0x477d('0x451')][_0x477d('0x452')]):_0x3ba87c[_0x477d('0x453')]()});}});}function _0x1c61f7(_0x81f7cf){_0x3c54f0['errors']=[];var _0x36562a=_0x966f97[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xd79'))[_0x477d('0xdaf')]('The\x20voiceQueue\x20will\x20be\x20deleted.')[_0x477d('0x687')](_0x477d('0x26b8'))['ok'](_0x477d('0xd7b'))[_0x477d('0x4f0')](_0x477d('0x688'))[_0x477d('0xd7c')](_0x81f7cf);_0x966f97[_0x477d('0x395')](_0x36562a)[_0x477d('0x76')](function(){_0x1f9c41[_0x477d('0xa76')][_0x477d('0xa55')]({'id':_0x3c54f0[_0x477d('0xa76')]['id']})[_0x477d('0x38b')]['then'](function(){_[_0x477d('0x39c')](_0x3c54f0[_0x477d('0x8f9')],{'id':_0x3c54f0[_0x477d('0xa76')]['id']});_0x2019cb[_0x477d('0x485')]({'title':_0x477d('0x26b9'),'msg':(_0x3c54f0[_0x477d('0xa76')][_0x477d('0x94')]||_0x477d('0xa76'))+_0x477d('0xd7e')});_0x49a9b8(_0x3c54f0[_0x477d('0xa76')]);})['catch'](function(_0x4be993){if(_0x4be993[_0x477d('0x451')]&&_0x4be993[_0x477d('0x451')][_0x477d('0xd67')]&&_0x4be993[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x3c54f0[_0x477d('0xd67')]=_0x4be993[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x4be993[_0x477d('0x453')](),'type':_0x477d('0x1e42')}];for(var _0xf18991=0x0;_0xf18991<_0x4be993['data'][_0x477d('0xd67')]['length'];_0xf18991++){_0x2019cb[_0x477d('0x44a')]({'title':_0x4be993[_0x477d('0x451')]['errors'][_0xf18991][_0x477d('0x439')],'msg':_0x4be993[_0x477d('0x451')]['errors'][_0xf18991][_0x477d('0x452')]});}}else{_0x2019cb[_0x477d('0x44a')]({'title':_0x4be993[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x4be993[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x4be993[_0x477d('0x44d')]:_0x477d('0x1e42'),'msg':_0x4be993['data']?JSON['stringify'](_0x4be993[_0x477d('0x451')][_0x477d('0x452')]):_0x4be993[_0x477d('0x452')]||_0x4be993[_0x477d('0x453')]()});}});},function(){});}function _0x376cba(_0x5d926b){return _0x5d926b===null?undefined:new Date(_0x5d926b);}function _0x49a9b8(_0x12bb1e){_0x966f97[_0x477d('0x3bc')](_0x12bb1e);}}}());(function(){'use strict';_0x36ae85[_0x477d('0xa')]=[_0x477d('0x384'),'$q',_0x477d('0x40e'),_0x477d('0x386'),_0x477d('0xa76'),_0x477d('0x8f9'),'realtime','$translate',_0x477d('0x55'),_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x2f'))[_0x477d('0x3ba')](_0x477d('0x265b'),_0x36ae85);function _0x36ae85(_0x2ab86f,_0x42c99e,_0x3349f5,_0x4bf02b,_0x3671b2,_0x32914f,_0x5a8cfb,_0x2311be,_0x58e858,_0x4cf331){var _0x45b406=this;_0x45b406[_0x477d('0x3e5')]=_0x58e858[_0x477d('0x5c')]();_0x45b406[_0x477d('0xa76')]=_0x3671b2;_0x45b406[_0x477d('0xd66')]=_0x4cf331;_0x45b406[_0x477d('0x1184')]=0x0;_0x45b406['realtime']=_0x5a8cfb;_0x45b406['items']=[];_0x45b406['allowedItems']=[];_0x45b406['selectedItems']=[];_0x45b406[_0x477d('0x11f2')]=[];_0x45b406[_0x477d('0x11fd')]=[];_0x45b406['pendingChanges']=![];_0x45b406[_0x477d('0x71a')]=_0x235c0b;_0x45b406[_0x477d('0x11f3')]=_0x1859ac;_0x45b406[_0x477d('0x6bf')]=_0x3976f2;_0x45b406[_0x477d('0x1185')]={'readOnly':!_0x45b406['crudPermissions'][_0x477d('0xedb')],'items':[],'selectedItems':[],'showSelectAndDeselectAll':!![],'orderBy':_0x477d('0x94'),'line1':_0x477d('0xcd'),'line2':['name',_0x477d('0x324')],'line3':_0x477d('0x1184'),'labelAll':_0x2311be[_0x477d('0x45f')](_0x477d('0x26a2')),'labelSelected':_0x2311be['instant']('VOICE.SELECTED_AGENTS'),'transferCallback':function(_0x2655a0,_0x5a3f1a){if(_0x5a3f1a){_0x2655a0[_0x477d('0x3b1')](function(_0x3a31e8){_0x3a31e8[_0x477d('0x1184')]=undefined;});}else{_0x2655a0['forEach'](function(_0x27147b){_0x27147b[_0x477d('0x1184')]=_0x477d('0x1529')+_0x45b406[_0x477d('0x1184')];});}var _0x1614c0=_['xorWith'](_0x45b406[_0x477d('0x11fd')],_0x45b406[_0x477d('0x4a7')],function(_0x2e6c70,_0x18c113){return _0x2e6c70['id']===_0x18c113['id']&&_0x2e6c70[_0x477d('0x1184')]===_0x18c113[_0x477d('0x1184')];});_0x45b406['pendingChanges']=_[_0x477d('0x3b2')](_0x1614c0)?![]:!![];}};function _0x235c0b(){return _0x58e858['hasRole']('admin')?_0x426c2e()[_0x477d('0xf8')](function(_0x1da6e7){_0x3349f5[_0x477d('0x44a')]({'title':_0x1da6e7['status']?_0x477d('0x44b')+_0x1da6e7[_0x477d('0x3c3')]+'\x20-\x20'+_0x1da6e7['statusText']:_0x477d('0x11f6'),'msg':_0x1da6e7['status']?JSON[_0x477d('0x3fb')](_0x1da6e7[_0x477d('0x451')]):_0x1da6e7['toString']()});}):_0x56af47()[_0x477d('0x76')](function(_0x5692c0){_0x45b406[_0x477d('0xd99')]=_0x5692c0;return _0x426c2e();})['catch'](function(_0x268628){_0x3349f5[_0x477d('0x44a')]({'title':_0x268628[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x268628[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x268628['statusText']:_0x477d('0x11f6'),'msg':_0x268628[_0x477d('0x3c3')]?JSON['stringify'](_0x268628[_0x477d('0x451')]):_0x268628[_0x477d('0x453')]()});});}function _0x56af47(){return _0x42c99e(function(_0x5dea93,_0x14d19a){_0x4bf02b[_0x477d('0x3ac')]['get']({'userProfileId':_0x45b406['currentUser'][_0x477d('0x61')],'name':_0x477d('0xce')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x435b90){var _0x3541e1=_0x435b90&&_0x435b90[_0x477d('0xf2')]?_0x435b90[_0x477d('0xf2')][0x0]:null;_0x5dea93(_0x3541e1);})[_0x477d('0xf8')](function(_0x15ce61){_0x14d19a(_0x15ce61);});});}function _0x426c2e(){return _0x42c99e(function(_0x5b9036,_0x4c7b19){return _0x63edfa()[_0x477d('0x76')](function(_0x65d3a){_0x45b406[_0x477d('0x4a6')]=_0x65d3a[_0x477d('0xf2')]?_0x65d3a[_0x477d('0xf2')]:[];if(_0x58e858[_0x477d('0x56')](_0x477d('0x5f'))){return _0x65d3a;}else{if(_0x45b406[_0x477d('0xd99')]){return _0x45b406[_0x477d('0xd99')][_0x477d('0x3ad')]?_0x65d3a:_0x5aee67();}else{return null;}}})['then'](function(_0x440c7a){var _0x58007c=_0x440c7a&&_0x440c7a['rows']?_0x440c7a[_0x477d('0xf2')]:[];_0x45b406['allowedItems']=_[_0x477d('0x3cb')](_0x58007c,function(_0x268982){return _[_0x477d('0x10a')](_0x45b406['items'],{'id':_0x58e858[_0x477d('0x56')]('admin')||_0x45b406[_0x477d('0xd99')][_0x477d('0x3ad')]?_0x268982['id']:_0x268982[_0x477d('0x3af')]});});_0x45b406[_0x477d('0x11f2')]=angular[_0x477d('0x6d9')](_0x45b406[_0x477d('0x11f7')]);_0x45b406['items']['forEach'](function(_0x27a381){var _0x4fd57d=_[_0x477d('0x10a')](_0x45b406['allowedItems'],{'id':_0x27a381['id']});if(_0x58e858[_0x477d('0x56')]('admin')){_0x27a381[_0x477d('0x4a3')]=!![];}else{_0x27a381[_0x477d('0x4a3')]=typeof _0x4fd57d!==_0x477d('0x4a4')?!![]:![];}});return _0x46f725();})['then'](function(_0x5390ad){var _0x3a21f4=_0x5390ad&&_0x5390ad['rows']?_0x5390ad[_0x477d('0xf2')]:[];_0x45b406[_0x477d('0x4a7')]=_['map'](_0x3a21f4,function(_0x5447ea){var _0x4f7ed9=_['find'](_0x45b406['items'],{'id':_0x5447ea['id']});_0x4f7ed9[_0x477d('0x1184')]=_0x5447ea[_0x477d('0x1e45')]?_0x477d('0x1529')+_0x5447ea[_0x477d('0x1e45')][_0x477d('0x1184')]:'';_0x4f7ed9[_0x477d('0x324')]=_0x5447ea[_0x477d('0x3ea')](_0x477d('0x324'))?'<'+_0x5447ea[_0x477d('0x324')]+'>':'';return _0x4f7ed9;});_0x45b406['startingSelectedItems']=angular['copy'](_0x45b406[_0x477d('0x4a7')]);_0x45b406[_0x477d('0x1185')]['selectedItems']=_0x45b406[_0x477d('0x4a7')];_0x45b406[_0x477d('0x1185')][_0x477d('0x4a6')]=_[_0x477d('0x11f8')](_0x45b406[_0x477d('0x11f7')],_0x45b406[_0x477d('0x1185')][_0x477d('0x4a7')],'id');_0x5b9036();})[_0x477d('0xf8')](function(_0x5c3ccb){_0x4c7b19(_0x5c3ccb);});});}function _0x5aee67(){return _0x42c99e(function(_0x274327,_0x10cb92){return _0x4bf02b[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x45b406['section']['id'],'nolimit':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x10c87b){_0x274327(_0x10c87b);})[_0x477d('0xf8')](function(_0x501d92){_0x10cb92(_0x501d92);});});}function _0x46f725(){return _0x42c99e(function(_0x393895,_0x5e3cb1){return _0x4bf02b['voiceQueue']['getAgents']({'id':_0x45b406[_0x477d('0xa76')]['id'],'fields':'id,name,internal,fullname','nolimit':!![],'role':'agent'})['$promise']['then'](function(_0x2d71b9){_0x393895(_0x2d71b9);})[_0x477d('0xf8')](function(_0x3a880a){_0x5e3cb1(_0x3a880a);});});}function _0x63edfa(){return _0x42c99e(function(_0x355cb7,_0x1253bd){return _0x4bf02b[_0x477d('0x380')][_0x477d('0x376')]({'fields':_0x477d('0x11fa'),'nolimit':!![],'role':'agent'})[_0x477d('0x38b')]['then'](function(_0x261cc6){_0x355cb7(_0x261cc6);})[_0x477d('0xf8')](function(_0x154914){_0x1253bd(_0x154914);});});}function _0x550664(_0x890bd){return _0x42c99e(function(_0x255385,_0x496b77){if(_[_0x477d('0x3b2')](_0x890bd)){_0x255385();}else{var _0xc207f0=[];var _0x4fefe4=_[_0x477d('0x3ee')](_0x890bd,'penalty');for(var _0x4d8eea=0x0;_0x4d8eea-0x1?_0x4b3b27[_0x477d('0x3b6')][_0x477d('0x6c6')](_0x4b3b27[_0x477d('0x3b6')][_0x477d('0x24af')]('/')+0x1):_0x4b3b27[_0x477d('0x3b6')][_0x477d('0x24af')]('\x5c')>-0x1?_0x4b3b27[_0x477d('0x3b6')]['substring'](_0x4b3b27['value'][_0x477d('0x24af')]('\x5c')+0x1):_0x4b3b27[_0x477d('0x3b6')];return _0x3abd23['voiceRecording'][_0x477d('0x179f')]({'id':_0x4b3b27['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x11101e){var _0x3f9015=[_0x11101e[_0x477d('0x49e')]];var _0x2afa79=_0x477d('0x49d');var _0x3376f4=new Blob(_0x3f9015,{'type':_0x11101e[_0x477d('0x439')]});_0x2afa79=_0x4b3b27[_0x477d('0x648')]+_0x477d('0x270f');var _0x30a604=window[_0x477d('0x945')][_0x477d('0x3c7')]('a');_0x30a604['setAttribute'](_0x477d('0x3c8'),URL[_0x477d('0x49f')](_0x3376f4));_0x30a604[_0x477d('0x494')](_0x477d('0x49d'),_0x2afa79);document['body']['appendChild'](_0x30a604);_0x30a604['click']();})[_0x477d('0xf8')](function(_0x420e2d){if(_0x420e2d[_0x477d('0x451')]&&_0x420e2d[_0x477d('0x451')]['errors']&&_0x420e2d[_0x477d('0x451')]['errors'][_0x477d('0x79')]){for(var _0xc6aa01=0x0;_0xc6aa01<_0x420e2d[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0xc6aa01++){_0x5a6ecc[_0x477d('0x44a')]({'title':_0x420e2d[_0x477d('0x451')]['errors'][_0xc6aa01][_0x477d('0x439')],'msg':_0x420e2d['data'][_0x477d('0xd67')][_0xc6aa01][_0x477d('0x452')]});}}else{if(String(_0x420e2d['status'])==='404'&&_0x39144d===![]){_0x5a6ecc['info']({'title':_0x39f160[_0x477d('0x45f')](_0x477d('0x2710')),'msg':_0x39f160['instant'](_0x477d('0x2711'))});}else if(String(_0x420e2d['status'])==='404'){_0x5a6ecc[_0x477d('0x669')]({'title':_0x39f160[_0x477d('0x45f')](_0x477d('0x2710')),'msg':_0x39f160[_0x477d('0x45f')]('VOICE.FILE_NOT_FOUND')});}else{_0x5a6ecc[_0x477d('0x44a')]({'title':_0x420e2d[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x420e2d['status']+_0x477d('0x44c')+_0x420e2d['statusText']:_0x477d('0x26f9'),'msg':_0x420e2d[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x420e2d[_0x477d('0x451')]['message']):_0x420e2d[_0x477d('0x453')]()});}}});}function _0x11c131(_0x1e32fd){var _0x3ebadc=_0x1e32fd[_0x477d('0x24af')]('/')>-0x1?_0x1e32fd[_0x477d('0x6c6')](_0x1e32fd['lastIndexOf']('/')+0x1):_0x1e32fd[_0x477d('0x24af')]('\x5c')>-0x1?_0x1e32fd['substring'](_0x1e32fd['lastIndexOf']('\x5c')+0x1):_0x1e32fd;_0x3ebadc=_0x3ebadc[_0x477d('0x6c6')](0x0,_0x3ebadc[_0x477d('0x24af')]('.'));return _0x3ebadc;}function _0x2c0bf0(_0x538735,_0x52e714){var _0x17d5b4=![];var _0x4f3416=!_[_0x477d('0x484')](_0x538735[_0x477d('0x12f')])?_0x538735[_0x477d('0x12f')]:_0x538735['value'][_0x477d('0x6c6')](_0x538735[_0x477d('0x3b6')][_0x477d('0x24af')]('.'));_0x17d5b4=_0x4f3416===_0x477d('0x24b0')?!![]:![];var _0x131eb8=_0x538735[_0x477d('0x3b6')][_0x477d('0x24af')]('/')>-0x1?_0x538735[_0x477d('0x3b6')][_0x477d('0x6c6')](_0x538735[_0x477d('0x3b6')][_0x477d('0x24af')]('/')+0x1):_0x538735[_0x477d('0x3b6')][_0x477d('0x24af')]('\x5c')>-0x1?_0x538735[_0x477d('0x3b6')][_0x477d('0x6c6')](_0x538735[_0x477d('0x3b6')][_0x477d('0x24af')]('\x5c')+0x1):_0x538735[_0x477d('0x3b6')];return _0x3abd23[_0x477d('0xa81')][_0x477d('0x49d')]({'id':_0x538735['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x32b966){var _0x84e786=[_0x32b966[_0x477d('0x49e')]];var _0x520dc5='download';var _0x13aee5=new Blob(_0x84e786,{'type':_0x32b966['type']});_0x520dc5=_0x11c131(_0x538735[_0x477d('0x3b6')])+_0x538735[_0x477d('0x12f')];var _0x574f33=window[_0x477d('0x945')][_0x477d('0x3c7')]('a');_0x574f33[_0x477d('0x494')](_0x477d('0x3c8'),URL[_0x477d('0x49f')](_0x13aee5));_0x574f33[_0x477d('0x494')](_0x477d('0x49d'),_0x520dc5);document['body']['appendChild'](_0x574f33);_0x574f33[_0x477d('0x540')]();})[_0x477d('0xf8')](function(_0x3cf610){if(_0x3cf610[_0x477d('0x451')]&&_0x3cf610['data']['errors']&&_0x3cf610[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){for(var _0x56bccb=0x0;_0x56bccb<_0x3cf610[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x56bccb++){_0x5a6ecc[_0x477d('0x44a')]({'title':_0x3cf610[_0x477d('0x451')][_0x477d('0xd67')][_0x56bccb][_0x477d('0x439')],'msg':_0x3cf610[_0x477d('0x451')][_0x477d('0xd67')][_0x56bccb][_0x477d('0x452')]});}}else{if(String(_0x3cf610[_0x477d('0x3c3')])===_0x477d('0x24c6')&&_0x17d5b4===![]){_0x5a6ecc[_0x477d('0x669')]({'title':_0x39f160[_0x477d('0x45f')]('VOICE.CANT_DOWNLOAD_THIS_FILE'),'msg':_0x39f160['instant'](_0x477d('0x2711'))});}else if(String(_0x3cf610[_0x477d('0x3c3')])==='404'){_0x5a6ecc['info']({'title':_0x39f160['instant']('VOICE.CANT_DOWNLOAD_THIS_FILE'),'msg':_0x39f160[_0x477d('0x45f')](_0x477d('0x2712'))});}else{_0x5a6ecc[_0x477d('0x44a')]({'title':_0x3cf610[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x3cf610[_0x477d('0x3c3')]+'\x20-\x20'+_0x3cf610[_0x477d('0x44d')]:_0x477d('0x26f9'),'msg':_0x3cf610['data']?JSON[_0x477d('0x3fb')](_0x3cf610['data'][_0x477d('0x452')]):_0x3cf610[_0x477d('0x453')]()});}}});}function _0x11c131(_0x3735e){var _0x18389e=_0x3735e[_0x477d('0x24af')]('/')>-0x1?_0x3735e[_0x477d('0x6c6')](_0x3735e[_0x477d('0x24af')]('/')+0x1):_0x3735e[_0x477d('0x24af')]('\x5c')>-0x1?_0x3735e[_0x477d('0x6c6')](_0x3735e[_0x477d('0x24af')]('\x5c')+0x1):_0x3735e;_0x18389e=_0x18389e[_0x477d('0x6c6')](0x0,_0x18389e[_0x477d('0x24af')]('.'));return _0x18389e;}function _0x23963b(_0x2d17fd,_0x35a245){var _0x196e18=_0x21d2e2['confirm']()[_0x477d('0x49a')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20'+_[_0x477d('0xd91')](_0x477d('0xa81'))+'?')[_0x477d('0xd92')](_0x477d('0xd93')+(_0x2d17fd['name']||_0x477d('0xa81'))+_0x477d('0xd94')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x2713'))[_0x477d('0xd7c')](_0x35a245)['ok']('OK')['cancel'](_0x477d('0xd97'));_0x21d2e2[_0x477d('0x395')](_0x196e18)['then'](function(){_0x2a0177(_0x2d17fd);},function(){console[_0x477d('0x7b')]('CANCEL');});}var _0x4d1057=!![];var _0x2ae803=0x1;_0x5639dc['$watch'](_0x477d('0xd98'),function(_0x4ed427,_0xe3665a){if(_0x4d1057){_0x2f3948(function(){_0x4d1057=![];});}else{if(!_0xe3665a){_0x2ae803=_0x4744d9[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x4ed427!==_0xe3665a){_0x4744d9[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0x4ed427){_0x4744d9['query'][_0x477d('0xe03')]=_0x2ae803;}_0x4744d9['getVoiceRecordings']();}});function _0x62bad9(_0x169ffd){_0x4744d9[_0x477d('0x1799')]=_0x169ffd||{'count':0x0,'rows':[]};}function _0x33b03e(){_0x4744d9['query'][_0x477d('0x91c')]=(_0x4744d9[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x4744d9[_0x477d('0x3ef')][_0x477d('0x91d')];if(_0x5c2b87[_0x477d('0x56')](_0x477d('0x5f'))){_0x4744d9[_0x477d('0x553')]=_0x3abd23[_0x477d('0xa81')][_0x477d('0x376')](_0x4744d9['query'],_0x62bad9)['$promise'];}else{_0x4744d9['query']['id']=_0x4744d9['userProfile']['id'];_0x4744d9[_0x477d('0x3ef')]['section']=_0x477d('0x344');_0x4744d9['promise']=_0x3abd23[_0x477d('0x3a5')][_0x477d('0xd9a')](_0x4744d9['query'],_0x62bad9)[_0x477d('0x38b')];}}function _0x5a31e7(_0x349eb9,_0x47c123){_0x21d2e2[_0x477d('0x395')]({'controller':'CreateOrEditVoiceRecordingDialogController','controllerAs':'vm','templateUrl':'app/main/apps/voice/views/voiceRecordings/create/dialog.html','parent':angular[_0x477d('0x398')](_0x4b05b2[_0x477d('0x399')]),'targetEvent':_0x349eb9,'clickOutsideToClose':!![],'locals':{'voiceRecording':_0x47c123,'voiceRecordings':_0x4744d9[_0x477d('0x1799')]['rows'],'license':_0x4744d9[_0x477d('0x613')],'setting':_0x4744d9[_0x477d('0xc8e')],'crudPermissions':_0x4744d9[_0x477d('0xd66')]}});}function _0x2a0177(_0x5baa9d){_0x3abd23['voiceRecording'][_0x477d('0xa55')]({'id':_0x5baa9d['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x4744d9[_0x477d('0x1799')][_0x477d('0xf2')],{'id':_0x5baa9d['id']});_0x4744d9[_0x477d('0x1799')][_0x477d('0x3bb')]-=0x1;if(!_0x4744d9[_0x477d('0x1799')]['rows'][_0x477d('0x79')]){_0x4744d9[_0x477d('0x179c')]();}_0x5a6ecc[_0x477d('0x485')]({'title':_['startCase']('VoiceRecording')+_0x477d('0xd9d'),'msg':_0x5baa9d['name']?_0x5baa9d['name']+_0x477d('0xd7e'):''});})[_0x477d('0xf8')](function(_0xe56dbf){if(_0xe56dbf[_0x477d('0x451')]&&_0xe56dbf['data']['errors']&&_0xe56dbf[_0x477d('0x451')][_0x477d('0xd67')]['length']){_0x4744d9[_0x477d('0xd67')]=_0xe56dbf['data'][_0x477d('0xd67')]||[{'message':_0xe56dbf[_0x477d('0x453')](),'type':_0x477d('0x2714')}];for(var _0x3f01f6=0x0;_0x3f01f6<_0xe56dbf['data'][_0x477d('0xd67')][_0x477d('0x79')];_0x3f01f6++){_0x5a6ecc['error']({'title':_0xe56dbf[_0x477d('0x451')][_0x477d('0xd67')][_0x3f01f6][_0x477d('0x439')],'msg':_0xe56dbf['data']['errors'][_0x3f01f6][_0x477d('0x452')]});}}else{_0x5a6ecc[_0x477d('0x44a')]({'title':_0xe56dbf[_0x477d('0x3c3')]?_0x477d('0x44b')+_0xe56dbf[_0x477d('0x3c3')]+_0x477d('0x44c')+_0xe56dbf['statusText']:_0x477d('0x2714'),'msg':_0xe56dbf[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0xe56dbf[_0x477d('0x451')][_0x477d('0x452')]):_0xe56dbf['message']||_0xe56dbf[_0x477d('0x453')]()});}});}function _0x44a1cb(){var _0x50fc4d=angular[_0x477d('0x6d9')](_0x4744d9[_0x477d('0x2700')]);_0x4744d9[_0x477d('0x2700')]=[];return _0x50fc4d;}function _0xfda8ec(_0x19ff1c){var _0x40d878=_0x21d2e2[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x2715'))[_0x477d('0xd92')](''+_0x4744d9[_0x477d('0x2700')]['length']+_0x477d('0xda0')+_0x477d('0xd95'))[_0x477d('0x687')]('delete\x20VoiceRecordings')['targetEvent'](_0x19ff1c)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x21d2e2['show'](_0x40d878)[_0x477d('0x76')](function(){_0x4744d9[_0x477d('0x2700')][_0x477d('0x3b1')](function(_0x248871){_0x2a0177(_0x248871);});_0x4744d9[_0x477d('0x2700')]=[];});}function _0x4bc709(){_0x4744d9[_0x477d('0x2700')]=[];}function _0x5c7617(){_0x4744d9['selectedVoiceRecordings']=_0x4744d9[_0x477d('0x1799')][_0x477d('0xf2')];}}}());(function(){'use strict';_0x15e778[_0x477d('0xa')]=['$scope','$q',_0x477d('0x3fe'),_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x6db'),_0x477d('0xf39'),'agents','rpcAgents',_0x477d('0x386'),'socket',_0x477d('0x40e'),_0x477d('0x13b4'),'userProfile','userProfileSection',_0x477d('0x55'),_0x477d('0x613'),_0x477d('0x794')];angular['module'](_0x477d('0x2f'))[_0x477d('0x3ba')]('AgentsWhatsappRealtimeController',_0x15e778);function _0x15e778(_0x4e9499,_0x538497,_0x281925,_0x3ebe01,_0x3a8c4f,_0x5d7656,_0x491de0,_0x3f8bff,_0x442c20,_0x2603ad,_0x12896e,_0x30fab5,_0x1d2440,_0x508367,_0x1feebb,_0x5f2bc0,_0x4d2b07,_0x3a1e4c){var _0x38a342=this;var _0x43c7ce=[_0x477d('0x13b6'),'online',_0x477d('0x392'),_0x477d('0x13b7'),'pauseType','lastPauseAt',_0x477d('0x324'),_0x477d('0x13b8'),'chatPause',_0x477d('0x13d1'),_0x477d('0x13b9'),_0x477d('0x13d2'),_0x477d('0x13ba'),'faxPause',_0x477d('0x624'),_0x477d('0x19a8'),_0x477d('0x13bc'),_0x477d('0x13bd'),_0x477d('0x13be'),'whatsappCapacity',_0x477d('0x13bf'),_0x477d('0x13c0'),_0x477d('0x19a9'),'mailCurrentCapacity',_0x477d('0x13c2'),_0x477d('0x19aa'),'faxCurrentCapacity',_0x477d('0x19ab'),'openchannelStatus',_0x477d('0x1ec6'),'smsStatus',_0x477d('0x13c6'),_0x477d('0x13c7'),_0x477d('0x13c8'),'chatStatusTime',_0x477d('0x13ca'),'mailStatusTime','smsStatusTime',_0x477d('0x13fe'),_0x477d('0x13cc'),_0x477d('0x19ac'),_0x477d('0x1256'),_0x477d('0x13ef'),_0x477d('0x13cd'),'phoneBarEnableScreenRecordingByAgent',_0x477d('0x13cf')];var _0x35bf25=[_0x477d('0x13d0'),_0x477d('0x13d1'),'mailPause','smsPause',_0x477d('0x13ba'),_0x477d('0x13bb'),_0x477d('0x624'),_0x477d('0x13d3')];_0x38a342[_0x477d('0x3e5')]=_0x5f2bc0[_0x477d('0x5c')]();_0x38a342[_0x477d('0x1ec7')]=[_0x477d('0x5ed'),'inuse',_0x477d('0x13fb'),_0x477d('0x13d5'),_0x477d('0x13d6')];_0x38a342[_0x477d('0xf39')]=_0x491de0||{'count':0x0,'rows':[]};_0x38a342[_0x477d('0x613')]=_0x4d2b07;_0x38a342['userProfile']=_0x508367;_0x38a342['userProfileSection']=_0x1feebb&&_0x1feebb[_0x477d('0x3bb')]==0x1?_0x1feebb[_0x477d('0xf2')][0x0]:null;_0x38a342['crudPermissions']=_0x5f2bc0[_0x477d('0xd81')](_0x38a342[_0x477d('0x3ac')]?_0x38a342['userProfileSection'][_0x477d('0xd66')]:null);_0x38a342[_0x477d('0x125c')]=_0x3f8bff?_['keyBy'](_0x3f8bff[_0x477d('0xf2')]?_0x3f8bff[_0x477d('0xf2')]:[],'id'):{};_0x38a342[_0x477d('0x13d7')]=_0x442c20?_[_0x477d('0xdb5')](_0x442c20[_0x477d('0xf2')]?_0x442c20[_0x477d('0xf2')]:[],'id'):{};_0x38a342[_0x477d('0x13d8')]={};_0x38a342[_0x477d('0x600')]=![];_0x38a342[_0x477d('0x13d9')]=[];_0x38a342[_0x477d('0x13da')]={};for(var _0x127279 in _0x38a342[_0x477d('0x125c')]){if(_0x38a342[_0x477d('0x125c')][_0x477d('0x3ea')](_0x127279)){_0x38a342[_0x477d('0x125c')][_0x127279][_0x477d('0x5ee')]=!![];}}_0x38a342['query']={'limit':0xa,'page':0x1,'order':'fullname','globalStatusFilter':'','pauseTypeFilter':''};_0x38a342[_0x477d('0x38c')]=_0x11096d;_0x38a342['queueAdd']=_0x3a4374;_0x38a342[_0x477d('0x657')]=_0x1268d9;_0x38a342[_0x477d('0x13db')]=_0x44af04;_0x38a342[_0x477d('0x13dc')]=_0x30e01b;_0x38a342[_0x477d('0x13dd')]=_0x2200a0;_0x38a342[_0x477d('0x13de')]=_0x27397c;_0x38a342[_0x477d('0x13df')]=_0xf62773;_0x38a342[_0x477d('0x13e0')]=_0x2e8cb5;_0x38a342[_0x477d('0x13e1')]=_0x1db4d7;_0x38a342[_0x477d('0x13e2')]=_0x5ee71c;_0x38a342[_0x477d('0x13e3')]=_0x27bec6;_0x38a342[_0x477d('0x71a')]=_0x4672ff;_0x38a342[_0x477d('0x13e6')]=_0x4adc65;_0x38a342[_0x477d('0x13e4')]=_0x14d432;_0x38a342[_0x477d('0xa8a')]=_0x4f79a1;_0x12896e['on']('user:save',_0x38a342['onSave']);_0x12896e['on']('user:update',_0x38a342[_0x477d('0x13e3')]);_0x12896e['on'](_0x477d('0x1403'),_0x38a342[_0x477d('0x13e6')]);_0x12896e['on'](_0x477d('0x13e7'),_0x38a342[_0x477d('0x13e4')]);_0x4672ff();var _0x456314=_0x3a1e4c(function(){if(_0x38a342[_0x477d('0x600')]){_0x38a342[_0x477d('0x600')]=![];_0x4672ff();}},0x3e7);function _0x4672ff(_0x398b78){_0x38a342['load']=![];var _0x3dbb00=_0x538497[_0x477d('0x54a')]();_0x38a342[_0x477d('0x553')]=_0x3dbb00[_0x477d('0x553')];_0x38a342['filteredAgents']=[];_0x38a342['order']=[];_['forIn'](_0x38a342['agents'],function(_0x567a5e,_0x3a1a02){if(_0x38a342[_0x477d('0x13d7')][_0x3a1a02]){_[_0x477d('0xef')](_0x567a5e,_[_0x477d('0x10b')](_[_0x477d('0x3fc')](_0x38a342['rpcAgents'][_0x3a1a02],_0x35bf25),_0x43c7ce));}_0x27397c(_0x567a5e);if(_0x567a5e[_0x477d('0x13d3')]){_0x38a342[_0x477d('0x13e8')][_0x477d('0x3a7')](_0x567a5e);_0x38a342['agentInternal'][_0x567a5e[_0x477d('0x324')]]=_0x3a1a02;}else{_0x567a5e[_0x477d('0x13ed')]=_['toNumber'](moment()[_0x477d('0x12f')]('x'));}});if(_0x38a342['query'][_0x477d('0x13e9')]){_[_0x477d('0x39c')](_0x38a342['filteredAgents'],function(_0x420da7){return _0x420da7[_0x477d('0x13ea')]!==_0x38a342['query'][_0x477d('0x13e9')];});}if(_0x38a342[_0x477d('0x3ef')][_0x477d('0x13eb')]){_['remove'](_0x38a342['filteredAgents'],function(_0x1a637f){return _0x1a637f['pauseType']!==_0x38a342[_0x477d('0x3ef')][_0x477d('0x13eb')];});}if(_0x38a342[_0x477d('0x3ef')][_0x477d('0x3b3')]){_[_0x477d('0x39c')](_0x38a342['filteredAgents'],function(_0x59a909){return _0x59a909[_0x477d('0xcd')][_0x477d('0x449')]()[_0x477d('0x477')](_0x38a342['query']['filter'][_0x477d('0x449')]())<0x0;});}_0x38a342[_0x477d('0x13e8')]=_0x28b298(_0x38a342[_0x477d('0x13e8')]);var _0x5420f1=(_0x38a342['query'][_0x477d('0xe03')]-0x1)*_0x38a342[_0x477d('0x3ef')][_0x477d('0x91d')];_0x38a342[_0x477d('0x13d8')]=_[_0x477d('0x13ec')](_0x38a342['filteredAgents'],_0x5420f1)[_0x477d('0x9cd')](0x0,_0x38a342[_0x477d('0x3ef')]['limit']);for(var _0x15e29c=0x0;_0x15e29c<_0x38a342[_0x477d('0x13d8')][_0x477d('0x79')];_0x15e29c+=0x1){_0x38a342['order'][_0x477d('0x3a7')](_0x38a342[_0x477d('0x13d8')][_0x15e29c]['id']);}_0x3dbb00[_0x477d('0x5a')]();_0x38a342[_0x477d('0x600')]=!![];}function _0x5ee71c(_0x45d995){if(_0x38a342[_0x477d('0x125c')][_0x45d995['id']]){_[_0x477d('0xef')](_0x38a342[_0x477d('0x125c')][_0x45d995['id']],_['pick'](_[_0x477d('0x3fc')](_0x45d995,_0x35bf25),_0x43c7ce));_[_0x477d('0xef')](_0x38a342[_0x477d('0x13d7')][_0x45d995['id']],_[_0x477d('0x10b')](_[_0x477d('0x3fc')](_0x45d995,_0x35bf25),_0x43c7ce));_0x27397c(_0x38a342[_0x477d('0x125c')][_0x45d995['id']]);}}function _0x27bec6(_0x4b5350){if(_0x38a342[_0x477d('0x125c')][_0x4b5350['id']]){_[_0x477d('0xef')](_0x38a342[_0x477d('0x125c')][_0x4b5350['id']],_[_0x477d('0x10b')](_0x4b5350,_0x43c7ce));_['merge'](_0x38a342[_0x477d('0x13d7')][_0x4b5350['id']],_['pick'](_0x4b5350,_0x43c7ce));if(_0x4b5350[_0x477d('0x13b7')]){_0x38a342[_0x477d('0x125c')][_0x4b5350['id']][_0x477d('0x13ed')]=_0x4b5350[_0x477d('0x13b7')];_0x38a342[_0x477d('0x13d7')][_0x4b5350['id']]['globalStatusTime']=_0x4b5350[_0x477d('0x13b7')];}_0x27397c(_0x38a342[_0x477d('0x125c')][_0x4b5350['id']]);}}function _0x4adc65(_0xd0c6ea){if(_0x38a342[_0x477d('0x125c')][_0x38a342[_0x477d('0x13da')][_0xd0c6ea[_0x477d('0x13ee')]]]){_['merge'](_0x38a342[_0x477d('0x125c')][_0x38a342[_0x477d('0x13da')][_0xd0c6ea[_0x477d('0x13ee')]]],_[_0x477d('0x10b')](_0xd0c6ea,['queue',_0x477d('0x13ef')]));_['merge'](_0x38a342[_0x477d('0x13d7')][_0x38a342[_0x477d('0x13da')][_0xd0c6ea[_0x477d('0x13ee')]]],_[_0x477d('0x10b')](_0xd0c6ea,[_0x477d('0x1256'),'destconnectedlinenum']));}}function _0x14d432(_0x34f9ee){if(_0x38a342['agents'][_0x38a342['agentInternal'][_0x34f9ee[_0x477d('0x13ee')]]]){_0x38a342[_0x477d('0x125c')][_0x38a342[_0x477d('0x13da')][_0x34f9ee['destaccountcode']]]=_[_0x477d('0x3fc')](_0x38a342[_0x477d('0x125c')][_0x38a342['agentInternal'][_0x34f9ee['destaccountcode']]],['queue','destconnectedlinenum']);_0x38a342['rpcAgents'][_0x38a342[_0x477d('0x13da')][_0x34f9ee[_0x477d('0x13ee')]]]=_[_0x477d('0x3fc')](_0x38a342[_0x477d('0x13d7')][_0x38a342[_0x477d('0x13da')][_0x34f9ee[_0x477d('0x13ee')]]],['queue',_0x477d('0x13ef')]);}}function _0x11096d(_0x5874f0,_0x38bebe){return _0x2603ad['user'][_0x477d('0x38c')]({'id':_0x5874f0['id'],'device':_0x477d('0x11f1'),'agent_id':_0x5874f0['id'],'agent_name':_0x5874f0[_0x477d('0x94')]})['$promise']['then'](function(){_0x30fab5[_0x477d('0x485')]({'title':_0x477d('0x13f0'),'msg':_0x5874f0['fullname']+_0x477d('0x13f1')});if(_0x38a342[_0x477d('0x125c')][_0x5874f0['id']]){_0x38a342[_0x477d('0x125c')][_0x5874f0['id']][_0x477d('0x13d3')]=![];}if(_0x38a342[_0x477d('0x13d7')][_0x5874f0['id']]){_0x38a342[_0x477d('0x13d7')][_0x5874f0['id']][_0x477d('0x13d3')]=![];}_0x4672ff();})[_0x477d('0xf8')](function(_0x1db87b){_0x30fab5[_0x477d('0x44a')]({'title':_0x1db87b['status']?_0x477d('0x44b')+_0x1db87b[_0x477d('0x3c3')]+'\x20-\x20'+_0x1db87b[_0x477d('0x44d')]:_0x477d('0x13f2'),'msg':_0x1db87b[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x1db87b[_0x477d('0x451')][_0x477d('0x452')]):_0x1db87b[_0x477d('0x453')]()});});}function _0x1268d9(_0x24e209,_0x251c64){return _0x2603ad[_0x477d('0x380')][_0x477d('0x657')]({'id':_0x24e209['id'],'type':_0x251c64})[_0x477d('0x38b')]['then'](function(_0x23dd3e){if(_0x38a342[_0x477d('0x125c')][_0x24e209['id']]){_['merge'](_0x38a342[_0x477d('0x125c')][_0x24e209['id']],_[_0x477d('0x10b')](_0x23dd3e,_0x43c7ce));}if(_0x38a342['rpcAgents'][_0x24e209['id']]){_['merge'](_0x38a342[_0x477d('0x13d7')][_0x24e209['id']],_[_0x477d('0x10b')](_0x23dd3e,_0x43c7ce));}_0x27397c(_0x38a342[_0x477d('0x125c')][_0x24e209['id']]);})[_0x477d('0xf8')](function(_0x2d57a8){_0x30fab5['error']({'title':_0x2d57a8['status']?_0x477d('0x44b')+_0x2d57a8[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x2d57a8[_0x477d('0x44d')]:'api.staff.save','msg':_0x2d57a8[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x2d57a8[_0x477d('0x451')]['message']):_0x2d57a8[_0x477d('0x453')]()});});}function _0x44af04(_0x102b7c){return _0x2603ad[_0x477d('0x380')][_0x477d('0x15a7')]({'id':_0x102b7c['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x513afb){if(_0x38a342[_0x477d('0x125c')][_0x102b7c['id']]){_[_0x477d('0xef')](_0x38a342[_0x477d('0x125c')][_0x102b7c['id']],_[_0x477d('0x10b')](_0x513afb,_0x43c7ce));}if(_0x38a342[_0x477d('0x13d7')][_0x102b7c['id']]){_[_0x477d('0xef')](_0x38a342[_0x477d('0x13d7')][_0x102b7c['id']],_['pick'](_0x513afb,_0x43c7ce));}_0x27397c(_0x38a342[_0x477d('0x125c')][_0x102b7c['id']]);})[_0x477d('0xf8')](function(_0x4f7af9){_0x30fab5[_0x477d('0x44a')]({'title':_0x4f7af9[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x4f7af9[_0x477d('0x3c3')]+'\x20-\x20'+_0x4f7af9[_0x477d('0x44d')]:_0x477d('0x13f2'),'msg':_0x4f7af9['data']?JSON[_0x477d('0x3fb')](_0x4f7af9[_0x477d('0x451')][_0x477d('0x452')]):_0x4f7af9['toString']()});});}function _0x30e01b(_0x5d0bad){_0x3ebe01['show'](_0x3ebe01[_0x477d('0x120a')]()['clickOutsideToClose'](!![])['title'](_0x477d('0x19ae'))[_0x477d('0xd92')](_0x477d('0x13f4'))['ok']('Ok')['targetEvent'](_0x5d0bad));}function _0x3a4374(_0x23127a,_0x33ba5b){_0x3ebe01['show']({'controller':_0x477d('0x19af'),'controllerAs':'vm','templateUrl':'app/main/apps/staff/views/agents/edit/queueadd/queueadd.html','parent':angular[_0x477d('0x398')](_0x3a8c4f[_0x477d('0x399')]),'targetEvent':_0x33ba5b,'clickOutsideToClose':!![],'locals':{'agent':_0x23127a,'agents':[],'channel':'whatsapp','direction':'inbound','crudPermissions':_0x38a342['crudPermissions']}});}function _0xf62773(_0x23d483){return _0x23d483===_0x477d('0x657')||_0x23d483===_0x477d('0x13f6');}function _0x2e8cb5(_0xfe2198){return _0xfe2198===_0x477d('0x657');}function _0x1db4d7(_0x36d068){return _0x36d068===_0x477d('0x13f6');}function _0x588e47(_0x195d71){return _0x195d71===_0x477d('0x13f7')||_0x195d71===_0x477d('0x13f8')||_0x195d71===_0x477d('0x13f9')||_0x195d71==='ringing'||_[_0x477d('0x484')](_0x195d71);}function _0x2200a0(_0x5a1837,_0x299870){if(_0x299870===_0x477d('0x108')){if(_0x5a1837[_0x299870+'Status']!=='idle'){return _0x5a1837[_0x299870+'Status'];}if(_0x5a1837[_0x299870+'Pause']){_0x5a1837[_0x299870+_0x477d('0x135e')]='pause';return _0x477d('0x657');}return _0x477d('0x13f7');}else{if(_0x5a1837[_0x299870+_0x477d('0x13fa')]){_0x5a1837[_0x299870+'Status']=_0x477d('0x657');return'pause';}return _0x5a1837[_0x299870+'Status'];}}function _0x27397c(_0x5e2996){var _0x160236=_0x477d('0x13f8');if(_[_0x477d('0x943')]([_0x2200a0(_0x5e2996,_0x477d('0x108')),_0x2200a0(_0x5e2996,'chat'),_0x2200a0(_0x5e2996,_0x477d('0x1d6')),_0x2200a0(_0x5e2996,'openchannel'),_0x2200a0(_0x5e2996,_0x477d('0x26e')),_0x2200a0(_0x5e2996,_0x477d('0x35d')),_0x2200a0(_0x5e2996,_0x477d('0x154'))],_0xf62773)){_0x160236=_0x477d('0x657');}else if(_[_0x477d('0x3ab')]([_0x2200a0(_0x5e2996,_0x477d('0x108')),_0x2200a0(_0x5e2996,_0x477d('0xb6')),_0x2200a0(_0x5e2996,'mail'),_0x2200a0(_0x5e2996,_0x477d('0x22a')),_0x2200a0(_0x5e2996,_0x477d('0x26e')),_0x2200a0(_0x5e2996,_0x477d('0x35d')),_0x2200a0(_0x5e2996,'fax')],_0xf62773)){_0x160236='*pause';}else if(_[_0x477d('0x943')]([_0x2200a0(_0x5e2996,_0x477d('0x108')),_0x2200a0(_0x5e2996,_0x477d('0xb6')),_0x2200a0(_0x5e2996,_0x477d('0x1d6')),_0x2200a0(_0x5e2996,_0x477d('0x22a')),_0x2200a0(_0x5e2996,_0x477d('0x26e')),_0x2200a0(_0x5e2996,'whatsapp'),_0x2200a0(_0x5e2996,_0x477d('0x154'))],_0x588e47)){_0x160236=_0x477d('0x13f7');}else{_0x160236=_0x477d('0x13fb');}if(_0x5e2996['globalStatus']!==_0x160236){_0x5e2996[_0x477d('0x13ea')]=_0x160236;if(_0x5e2996[_0x477d('0x5ee')]){_0x5e2996[_0x477d('0x5ee')]=![];_0x5e2996[_0x477d('0x13ed')]=_0xf62773(_0x160236)?_['toNumber'](moment(_0x5e2996[_0x477d('0x13b7')])[_0x477d('0x12f')]('x')):_[_0x477d('0x13fc')]([_0x5e2996[_0x477d('0x19ac')],_0x5e2996[_0x477d('0x13c9')],_0x5e2996[_0x477d('0x13cb')],_0x5e2996[_0x477d('0x13fd')],_0x5e2996[_0x477d('0x13fe')],_0x5e2996[_0x477d('0x13ca')],_0x5e2996[_0x477d('0x13cc')]]);}else{_0x5e2996['globalStatusTime']=_['toNumber'](moment()[_0x477d('0x12f')]('x'));}}}function _0x28b298(_0x2c5865){var _0x4f071a=_[_0x477d('0x1337')](_0x38a342[_0x477d('0x3ef')][_0x477d('0x13d9')],'-')?_0x477d('0x13ff'):_0x477d('0x1400');return _[_0x477d('0x1401')](_0x2c5865,[_0x38a342[_0x477d('0x3ef')][_0x477d('0x13d9')][_0x477d('0x409')]('-','')],[_0x4f071a]);}function _0x38c764(){if(_0x456314){_0x3a1e4c['cancel'](_0x456314);_0x456314=null;}}function _0x4f79a1(_0x57b29c,_0x4bed2e){return _0x2603ad[_0x477d('0x380')][_0x477d('0x710')]({'id':_0x57b29c['id']},{'screenrecording':_0x4bed2e})[_0x477d('0x38b')][_0x477d('0xf8')](function(_0x4ac9e3){_0x30fab5[_0x477d('0x44a')]({'title':_0x4ac9e3['status']?_0x477d('0x44b')+_0x4ac9e3[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x4ac9e3[_0x477d('0x44d')]:_0x477d('0x19b0'),'msg':_0x4ac9e3[_0x477d('0x451')]?JSON['stringify'](_0x4ac9e3[_0x477d('0x451')][_0x477d('0x452')]):_0x4ac9e3['toString']()});});}_0x4e9499['$on'](_0x477d('0x505'),function(){_0x12896e[_0x477d('0x6b8')](_0x477d('0x13e5'));_0x12896e['removeAllListeners'](_0x477d('0x1402'));_0x12896e['removeAllListeners'](_0x477d('0x1403'));_0x12896e[_0x477d('0x6b8')]('user:agentcomplete');_0x38c764();});}}());(function(){'use strict';_0x4fc877[_0x477d('0xa')]=[_0x477d('0x474'),'$timeout','$mdDialog','$q','$document',_0x477d('0x794'),_0x477d('0xf2f'),'rpcQueues','api',_0x477d('0x5a3'),_0x477d('0x40e'),_0x477d('0x3a5'),_0x477d('0x3ac'),'Auth'];angular[_0x477d('0xb')](_0x477d('0x3e'))[_0x477d('0x3ba')]('QueuesWhatsappRealtimeController',_0x4fc877);function _0x4fc877(_0x5b91bf,_0x594048,_0x3535be,_0x8b2d97,_0x5c75a3,_0x228f50,_0x4156a1,_0x1c20c5,_0x57c3b6,_0x495b3f,_0x36ea6e,_0x2c35dc,_0x3f7b15,_0x20f704){var _0x5830f0=this;var _0x1f9404=[_0x477d('0x19b2'),_0x477d('0x1405'),_0x477d('0x10c'),_0x477d('0x10e'),'pTalking','originated',_0x477d('0x452'),_0x477d('0x16a8'),'dialMethod',_0x477d('0x1409'),_0x477d('0x140a')];_0x5830f0[_0x477d('0x3e5')]=_0x20f704[_0x477d('0x5c')]();_0x5830f0[_0x477d('0x3bb')]=_0x4156a1[_0x477d('0x3bb')]?_0x4156a1[_0x477d('0x3bb')]:0x0;_0x5830f0[_0x477d('0xf2f')]=_0x4156a1?_[_0x477d('0xdb5')](_0x4156a1[_0x477d('0xf2')]?_0x4156a1['rows']:[],'id'):{};_0x5830f0[_0x477d('0x1404')]=_0x1c20c5?_[_0x477d('0xdb5')](_0x1c20c5[_0x477d('0xf2')]?_0x1c20c5[_0x477d('0xf2')]:[],'id'):{};_0x5830f0[_0x477d('0x3a5')]=_0x2c35dc;_0x5830f0['userProfileSection']=_0x3f7b15&&_0x3f7b15[_0x477d('0x3bb')]==0x1?_0x3f7b15['rows'][0x0]:null;_0x5830f0[_0x477d('0xd66')]=_0x20f704['parseCrudPermissions'](_0x5830f0[_0x477d('0x3ac')]?_0x5830f0['userProfileSection']['crudPermissions']:null);if(_0x20f704[_0x477d('0x56')](_0x477d('0x5f'))){_0x5830f0['query']={'type':'inbound','sort':_0x477d('0x59'),'limit':0xa,'page':0x1};}else{_0x5830f0[_0x477d('0x3ef')]={'id':_0x5830f0['currentUser']['id'],'channel':_0x477d('0x35d'),'type':_0x477d('0x9e'),'sort':_0x477d('0x59'),'limit':0xa,'page':0x1};}_0x5830f0[_0x477d('0x485')]=_0x565c19;_0x5830f0[_0x477d('0x1418')]=_0x175e55;_0x5830f0['createOrEditWhatsappQueue']=_0x5280af;_0x5830f0['agentAdd']=_0x2ddfcc;_0x5830f0[_0x477d('0x140c')]=_0x255fed;_0x5830f0[_0x477d('0x13e2')]=_0x4c083a;_0x5830f0[_0x477d('0x140d')]=_0x19045d;_0x5830f0[_0x477d('0x1413')]=_0x506eb9;_0x5830f0[_0x477d('0x140e')]=_0x365a40;_0x5830f0[_0x477d('0x140f')]=_0x4747c8;_0x5830f0[_0x477d('0x1410')]=_0x19e1c7;_0x5830f0[_0x477d('0x6ad')]=_0x548c2f;_0x5830f0[_0x477d('0x13d9')]=[];_['forIn'](_0x5830f0[_0x477d('0xf2f')],function(_0x54f717,_0x9ee4da){_0x5830f0[_0x477d('0x13d9')][_0x477d('0x3a7')](_0x54f717['id']);});_0x495b3f['on'](_0x477d('0x1743'),_0x5830f0[_0x477d('0x13e2')]);_0x495b3f['on']('userWhatsappQueue:save',_0x5830f0[_0x477d('0x140d')]);_0x495b3f['on'](_0x477d('0x1748'),_0x5830f0[_0x477d('0x1413')]);_0x495b3f['on'](_0x477d('0x1402'),_0x5830f0[_0x477d('0x140e')]);_0x495b3f['on']('userVoiceQueue:remove',_0x5830f0[_0x477d('0x1410')]);_0x495b3f['on'](_0x477d('0x1415'),_0x5830f0[_0x477d('0x140f')]);function _0x548c2f(){var _0x5e4b8c=[];_[_0x477d('0xe4b')](_0x5830f0[_0x477d('0xf2f')],function(_0x232b90,_0x36a49b){_0x232b90[_0x477d('0x140a')]=0x0;_0x232b90[_0x477d('0x1416')]=0x0;_0x5830f0['queues'][_0x36a49b][_0x477d('0x125c')]={};_0x5e4b8c['push'](_0x57c3b6[_0x477d('0xcfa')][_0x477d('0x1417')]({'id':_0x36a49b})['$promise']);if(_0x5830f0[_0x477d('0x1404')][_0x36a49b]){_[_0x477d('0xef')](_0x232b90,_[_0x477d('0x10b')](_0x5830f0['rpcQueues'][_0x36a49b],_0x1f9404));}});return _0x8b2d97[_0x477d('0x7c')](_0x5e4b8c)[_0x477d('0x76')](function(_0x704f09){for(var _0x2f3334=0x0;_0x2f3334<_0x704f09[_0x477d('0x79')];_0x2f3334+=0x1){for(var _0x4dcfb7=0x0;_0x4dcfb7<_0x704f09[_0x2f3334][_0x477d('0xf2')][_0x477d('0x79')];_0x4dcfb7++){if(_0x704f09[_0x2f3334][_0x477d('0xf2')][_0x4dcfb7][_0x477d('0x140a')]){_0x5830f0['queues'][_0x704f09[_0x2f3334][_0x477d('0xf2')][_0x4dcfb7]['WhatsappQueueId']][_0x477d('0x140a')]++;}_0x5830f0['queues'][_0x704f09[_0x2f3334][_0x477d('0xf2')][_0x4dcfb7][_0x477d('0x2716')]]['loggedInDb']++;_0x5830f0[_0x477d('0xf2f')][_0x704f09[_0x2f3334][_0x477d('0xf2')][_0x4dcfb7][_0x477d('0x2716')]]['agents'][_0x704f09[_0x2f3334][_0x477d('0xf2')][_0x4dcfb7]['UserId']]=_0x704f09[_0x2f3334][_0x477d('0xf2')][_0x4dcfb7][_0x477d('0x2716')];}}})['catch'](function(_0x4586d8){console[_0x477d('0x44a')](_0x4586d8);});}function _0x4c083a(_0x18201c){if(_0x5830f0[_0x477d('0xf2f')][_0x18201c['id']]){_[_0x477d('0xef')](_0x5830f0[_0x477d('0xf2f')][_0x18201c['id']],_[_0x477d('0x10b')](_0x18201c,_0x1f9404));}}function _0x19045d(_0xbf06f1){if(_0x5830f0[_0x477d('0xf2f')][_0xbf06f1['WhatsappQueueId']]){_0x5830f0['queues'][_0xbf06f1[_0x477d('0x2716')]][_0x477d('0x1416')]++;}}function _0x506eb9(_0xb13f3a){if(_0x5830f0['queues'][_0xb13f3a[_0x477d('0x2716')]]){_0x5830f0['queues'][_0xb13f3a[_0x477d('0x2716')]][_0x477d('0x1416')]--;}}function _0x365a40(_0x4d14f9){console[_0x477d('0x7b')](_0x477d('0x140e'),_0x4d14f9);if(_0x4d14f9['voicePause']){_['forIn'](_0x5830f0[_0x477d('0xf2f')],function(_0x111b5d,_0x1a1446){if(_0x111b5d[_0x477d('0x125c')][_0x4d14f9['id']]){_0x111b5d['paused']+=0x1;console[_0x477d('0x7b')](_0x477d('0x657'));}});}else if(!_0x4d14f9[_0x477d('0x624')]){_[_0x477d('0xe4b')](_0x5830f0[_0x477d('0xf2f')],function(_0x39309b,_0x32a2f7){if(_0x39309b[_0x477d('0x125c')][_0x4d14f9['id']]){if(_0x39309b['paused']>0x0){_0x39309b[_0x477d('0x140a')]-=0x1;console['log'](_0x477d('0x15a7'));}}});}}function _0x4747c8(_0x2c9647){console['log'](_0x477d('0x1d39'),_0x2c9647);if(_0x5830f0[_0x477d('0xf2f')][_0x2c9647[_0x477d('0x2716')]]){_0x5830f0[_0x477d('0xf2f')][_0x2c9647[_0x477d('0x2716')]][_0x477d('0x1416')]+=0x1;_0x5830f0[_0x477d('0xf2f')][_0x2c9647[_0x477d('0x2716')]][_0x477d('0x125c')][_0x2c9647['UserId']]=_0x2c9647[_0x477d('0x2716')];}}function _0x19e1c7(_0x16c257){console[_0x477d('0x7b')](_0x477d('0x1410'),_0x16c257);if(_0x5830f0[_0x477d('0xf2f')][_0x16c257[_0x477d('0x2716')]]&&_0x5830f0[_0x477d('0xf2f')][_0x16c257['WhatsappQueueId']][_0x477d('0x1416')]>0x0){_0x5830f0[_0x477d('0xf2f')][_0x16c257['WhatsappQueueId']][_0x477d('0x1416')]-=0x1;delete _0x5830f0[_0x477d('0xf2f')][_0x16c257[_0x477d('0x2716')]]['agents'][_0x16c257[_0x477d('0x125b')]];}}var _0x45da66=!![];var _0x4999a8=0x1;_0x5b91bf[_0x477d('0x4b5')](_0x477d('0xd98'),function(_0x259c5f,_0x44fca2){if(_0x45da66){_0x594048(function(){_0x45da66=![];});}else{if(!_0x44fca2){_0x4999a8=_0x5830f0[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x259c5f!==_0x44fca2){_0x5830f0[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0x259c5f){_0x5830f0['query'][_0x477d('0xe03')]=_0x4999a8;}_0x5830f0[_0x477d('0x1418')]();}});function _0x565c19(_0x47469d){_0x5830f0[_0x477d('0x3bb')]=_0x47469d['count'];_0x5830f0[_0x477d('0xf2f')]=_0x47469d?_[_0x477d('0xdb5')](_0x47469d['rows']?_0x47469d['rows']:[],'id'):{};if(_0x47469d['rows']){_0x5830f0[_0x477d('0x13d9')]=[];for(var _0xc15cd6=0x0;_0xc15cd6<_0x47469d['rows'][_0x477d('0x79')];_0xc15cd6++){_0x5830f0[_0x477d('0x13d9')][_0x477d('0x3a7')](_0x47469d['rows'][_0xc15cd6]['id']);}}_0x548c2f();}function _0x175e55(){_0x5830f0[_0x477d('0x3ef')]['offset']=(_0x5830f0[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x5830f0[_0x477d('0x3ef')][_0x477d('0x91d')];if(_0x20f704[_0x477d('0x56')](_0x477d('0x5f'))){_0x5830f0[_0x477d('0x553')]=_0x57c3b6[_0x477d('0xcfa')][_0x477d('0x376')](_0x5830f0[_0x477d('0x3ef')],_0x565c19)[_0x477d('0x38b')];}else{_0x5830f0[_0x477d('0x3ef')]['id']=_0x5830f0[_0x477d('0x3a5')]['id'];_0x5830f0[_0x477d('0x3ef')][_0x477d('0xd99')]=_0x477d('0x35c');_0x5830f0[_0x477d('0x553')]=_0x57c3b6['userProfile'][_0x477d('0xd9a')](_0x5830f0[_0x477d('0x3ef')],_0x565c19)[_0x477d('0x38b')];}}function _0x5280af(_0x369f78,_0x24adfc){_0x3535be[_0x477d('0x395')]({'controller':'CreateOrEditWhatsappQueueDialogController','controllerAs':'vm','templateUrl':'app/main/apps/whatsapp/views/whatsappQueues/create/dialog.html','parent':angular[_0x477d('0x398')](_0x5c75a3['body']),'targetEvent':_0x369f78,'clickOutsideToClose':!![],'locals':{'whatsappQueue':_0x24adfc,'whatsappQueues':_[_0x477d('0x445')](_0x5830f0['queues']),'license':null,'setting':null,'crudPermissions':_0x5830f0[_0x477d('0xd66')]}});}function _0x2ddfcc(_0x42607c,_0x582cca){_0x3535be[_0x477d('0x395')]({'controller':_0x477d('0x2717'),'controllerAs':'vm','templateUrl':'app/main/apps/whatsapp/views/whatsappQueues/edit/agentadd/agentadd.html','parent':angular[_0x477d('0x398')](_0x5c75a3[_0x477d('0x399')]),'targetEvent':_0x42607c,'clickOutsideToClose':!![],'locals':{'whatsappQueue':_0x582cca,'whatsappQueues':_0x5830f0['queues']?_0x5830f0[_0x477d('0xf2f')][_0x477d('0xf2')]:[],'realtime':![],'crudPermissions':_0x5830f0['crudPermissions']}});}function _0x255fed(_0x2f4ffd){return _0x57c3b6[_0x477d('0xcfa')][_0x477d('0x710')](_0x2f4ffd)[_0x477d('0x38b')][_0x477d('0x76')](function(){_0x36ea6e['success']({'title':_0x477d('0x141a'),'msg':_0x2f4ffd['name']?_0x2f4ffd['name']+_0x477d('0xed7'):''});})[_0x477d('0xf8')](function(_0xe8c842){_0x36ea6e[_0x477d('0x44a')]({'title':'Error\x20creating\x20queue!','msg':_0xe8c842[_0x477d('0x452')]});});}_0x5b91bf[_0x477d('0x4ec')]('$destroy',function(){_0x495b3f[_0x477d('0x6b8')](_0x477d('0x1743'));_0x495b3f[_0x477d('0x6b8')](_0x477d('0x1748'));_0x495b3f[_0x477d('0x6b8')]('userWhatsappQueue:save');_0x495b3f['removeAllListeners'](_0x477d('0x1402'));_0x495b3f['removeAllListeners'](_0x477d('0x1414'));_0x495b3f[_0x477d('0x6b8')](_0x477d('0x1415'));});}}());(function(){'use strict';angular['module']('app.auth')[_0x477d('0x388')](_0x477d('0x13b4'),_0x24ba15);function _0x24ba15(){return{'status':{'registered':_0x477d('0x141d'),'unregistered':_0x477d('0x141e'),'lagged':_0x477d('0x141e'),'reachable':_0x477d('0x141d'),'unreachable':_0x477d('0x141e'),'unknown':'grey-fg\x20icon-minus-circle'},'state':{'unknown':_0x477d('0x1422'),'not_inuse':_0x477d('0x1420'),'inuse':_0x477d('0x19b3'),'busy':_0x477d('0x1421'),'invalid':'grey-fg\x20icon-phone-hangup','unavailable':_0x477d('0x1422'),'ringing':_0x477d('0x1423'),'ringinuse':_0x477d('0x1423'),'onhold':'blue-300-fg\x20icon-phone-paused'},'channelStatus':{'ring':_0x477d('0x1423'),'up':_0x477d('0x1425'),'hangup':'red-300-fg\x20icon-phone-hangup'},'channelStatusOut':{'ring':'blue-300-fg\x20icon-phone-outgoing','up':_0x477d('0x1425'),'hangup':_0x477d('0x1426')}};}}());(function(){'use strict';_0x5c8e80[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x3c4'),_0x477d('0x5a3')];angular['module'](_0x477d('0x3e'))[_0x477d('0x3ba')](_0x477d('0x2718'),_0x5c8e80);function _0x5c8e80(_0x18bf2f,_0x5cc9dd,_0x3d6fe4){var _0x3b6723=this;_0x3d6fe4[_0x477d('0x1427')]();_0x3d6fe4[_0x477d('0x678')]();_0x3b6723['selectedTab']=0x0;switch(_0x5cc9dd[_0x477d('0x548')][_0x477d('0x94')]){case _0x477d('0x355'):_0x3b6723[_0x477d('0xe95')]=0x0;break;case _0x477d('0x358'):_0x3b6723[_0x477d('0xe95')]=0x1;break;default:_0x3b6723[_0x477d('0xe95')]=0x0;_0x5cc9dd['go'](_0x477d('0x355'));}_0x18bf2f[_0x477d('0x4b5')](_0x477d('0x1428'),function(_0x1270f6,_0x3f4231){if(_0x1270f6!==_0x3f4231){switch(_0x1270f6){case 0x0:_0x5cc9dd['go'](_0x477d('0x355'));break;case 0x1:_0x5cc9dd['go']('app.whatsapp.realtime.queues');break;default:_0x5cc9dd['go'](_0x477d('0x355'));}}});}}());(function(){'use strict';_0x14c29d['$inject']=[_0x477d('0x474'),_0x477d('0x3c4'),_0x477d('0xd64'),_0x477d('0x384'),'$q',_0x477d('0x40d'),_0x477d('0x40e'),_0x477d('0x160f'),_0x477d('0x17e2'),_0x477d('0x386'),'Auth',_0x477d('0x613'),_0x477d('0xc8e'),_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x3e'))[_0x477d('0x3ba')](_0x477d('0x2719'),_0x14c29d);function _0x14c29d(_0x1ecd2d,_0x4eb820,_0x1a88bc,_0x4d82e0,_0x4c1358,_0xea4d9a,_0x247783,_0xd39b4c,_0x3ef981,_0x4fabe2,_0x4ae29b,_0x4b7979,_0x42426e,_0xc31cd7){var _0x2e1a99=this;_0x2e1a99[_0x477d('0x3e5')]=_0x4ae29b[_0x477d('0x5c')]();_0x2e1a99[_0x477d('0xd67')]=[];_0x2e1a99[_0x477d('0xc8e')]=_0x42426e;_0x2e1a99[_0x477d('0x613')]=_0x4b7979;_0x2e1a99[_0x477d('0xd66')]=_0xc31cd7;_0x2e1a99[_0x477d('0xd68')]={};_0x2e1a99['passwordPattern']=_0x2e1a99[_0x477d('0xc8e')]&&_0x2e1a99['setting'][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x2e1a99[_0x477d('0x49a')]=_0x477d('0x271a');_0x2e1a99['whatsappAccount']=angular[_0x477d('0x6d9')](_0x3ef981);_0x2e1a99['whatsappAccounts']=_0xd39b4c;_0x2e1a99[_0x477d('0x271b')]=![];if(!_0x2e1a99[_0x477d('0x17e2')]){_0x2e1a99['whatsappAccount']={'remote':_0x1a88bc[_0x477d('0x3ce')]()+'://'+_0x1a88bc['host']()+(_0x1a88bc['port']()?':'+_0x1a88bc[_0x477d('0x3cf')]():''),'type':_0x477d('0x203e'),'notificationSound':!![],'queueTransferTimeout':0x12c,'waitForTheAssignedAgent':0xa,'agentTransferTimeout':0x12c};_0x2e1a99[_0x477d('0x49a')]='WHATSAPP.NEW_WHATSAPPACCOUNT';_0x2e1a99[_0x477d('0x271b')]=!![];}if(_0x4eb820[_0x477d('0x37e')]['id']){_0x2e1a99[_0x477d('0x17e2')][_0x477d('0x1597')]=_0x4eb820['params']['id'];}_0x2e1a99[_0x477d('0x271c')]=_0x2683c2;_0x2e1a99[_0x477d('0x271d')]=_0x59ec0a;_0x2e1a99['deleteWhatsappAccount']=_0x520ab4;_0x2e1a99[_0x477d('0xd6f')]=_0x24ceaf;_0x2e1a99[_0x477d('0x6bf')]=_0x4835f0;_0x4ae29b[_0x477d('0x56')]('admin')?_0x4fabe2['cmList'][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94')})['$promise'][_0x477d('0x76')](function(_0x8f1ca3){_0x2e1a99['lists']=_0x8f1ca3[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0xccb14f){_0x247783[_0x477d('0x44a')]({'title':_0xccb14f[_0x477d('0x3c3')]?'API:'+_0xccb14f[_0x477d('0x3c3')]+'\x20-\x20'+_0xccb14f[_0x477d('0x44d')]:_0x477d('0x1228'),'msg':_0xccb14f[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0xccb14f[_0x477d('0x451')]):_0xccb14f[_0x477d('0x453')]()});}):_0x4fabe2[_0x477d('0xe3f')][_0x477d('0x376')]({'fields':'id,name','sort':_0x477d('0x94')})[_0x477d('0x38b')]['then'](function(_0x22e86c){_0x2e1a99[_0x477d('0xf1')]=_0x22e86c['rows']||[];})[_0x477d('0x76')](function(){return _0x4fabe2['userProfileSection'][_0x477d('0x376')]({'userProfileId':_0x2e1a99[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x12d})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x1856b4){var _0x9b6713=_0x1856b4&&_0x1856b4[_0x477d('0xf2')]?_0x1856b4[_0x477d('0xf2')][0x0]:null;if(!_0x9b6713){var _0x5e1ddb=[];var _0x530d0c=null;if(_0x2e1a99[_0x477d('0x17e2')]){_0x530d0c=_[_0x477d('0x10a')](_0x2e1a99['lists'],{'id':Number(_0x2e1a99[_0x477d('0x17e2')]['ListId'])});}for(var _0x3dce63=0x0;_0x3dce63<_0x2e1a99[_0x477d('0xf1')][_0x477d('0x79')];_0x3dce63++){if(_0x530d0c&&_0x2e1a99[_0x477d('0xf1')][_0x3dce63]['id']===_0x530d0c['id']){_0x2e1a99['lists'][_0x3dce63][_0x477d('0xf8b')]=![];_0x5e1ddb[_0x477d('0x3a7')](_0x2e1a99['lists'][_0x3dce63]);}}_0x2e1a99[_0x477d('0xf1')]=_0x5e1ddb;}else{if(!_0x9b6713[_0x477d('0x3ad')]){return _0x4fabe2[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x9b6713['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x547568){var _0x37036c=_[_0x477d('0x3cb')](_0x547568[_0x477d('0xf2')],function(_0x38409b){return _[_0x477d('0x10a')](_0x2e1a99[_0x477d('0xf1')],{'id':_0x38409b[_0x477d('0x3af')]});});var _0x58eec0=null;if(_0x2e1a99['whatsappAccount']){_0x58eec0=_[_0x477d('0x10a')](_0x2e1a99[_0x477d('0xf1')],{'id':Number(_0x2e1a99[_0x477d('0x17e2')]['ListId'])});}if(_0x58eec0&&!_['some'](_0x37036c,['id',_0x58eec0['id']])){var _0x1a4125=_[_0x477d('0x10a')](_0x2e1a99['lists'],{'id':_0x58eec0['id']});_0x1a4125[_0x477d('0xf8b')]=![];_0x37036c[_0x477d('0x3a7')](_0x1a4125);}_0x2e1a99[_0x477d('0xf1')]=_0x37036c;});}}})[_0x477d('0xf8')](function(_0x5ca155){_0x247783[_0x477d('0x44a')]({'title':_0x5ca155[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x5ca155[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x5ca155[_0x477d('0x44d')]:_0x477d('0x122a'),'msg':_0x5ca155[_0x477d('0x451')]?JSON['stringify'](_0x5ca155[_0x477d('0x451')]):_0x5ca155[_0x477d('0x453')]()});});_0x4ae29b[_0x477d('0x56')](_0x477d('0x5f'))?_0x4fabe2[_0x477d('0x657')]['get']({'fields':'name,id','sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')]['then'](function(_0x1b730d){_0x2e1a99['pauses']=_0x1b730d[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x4e105b){_0x247783[_0x477d('0x44a')]({'title':_0x4e105b[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x4e105b[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x4e105b[_0x477d('0x44d')]:_0x477d('0x13b3'),'msg':_0x4e105b[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x4e105b[_0x477d('0x451')]):_0x4e105b[_0x477d('0x453')]()});}):_0x4fabe2[_0x477d('0x657')][_0x477d('0x376')]({'fields':_0x477d('0x13b2'),'sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})['$promise']['then'](function(_0x178515){_0x2e1a99[_0x477d('0xf39')]=_0x178515[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x4fabe2['userProfileSection'][_0x477d('0x376')]({'userProfileId':_0x2e1a99[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x3ed})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x11dccf){var _0x46da25=_0x11dccf&&_0x11dccf[_0x477d('0xf2')]?_0x11dccf[_0x477d('0xf2')][0x0]:null;if(!_0x46da25){_0x2e1a99[_0x477d('0xf39')]=[];}else{if(!_0x46da25[_0x477d('0x3ad')]){return _0x4fabe2[_0x477d('0x3ae')]['get']({'sectionId':_0x46da25['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x5598a0){var _0x37f986=_['map'](_0x5598a0[_0x477d('0xf2')],function(_0x2060a0){return _[_0x477d('0x10a')](_0x2e1a99['pauses'],{'id':_0x2060a0[_0x477d('0x3af')]});});_0x2e1a99['pauses'][_0x477d('0x3b1')](function(_0x1397ff){if(!_[_0x477d('0x3ab')](_0x37f986,['id',_0x1397ff['id']])){_0x1397ff['canSelect']=![];}_0x37f986['push'](_0x1397ff);});_0x2e1a99['pauses']=_0x37f986;});}}})[_0x477d('0xf8')](function(_0xc0bb4e){_0x247783[_0x477d('0x44a')]({'title':_0xc0bb4e[_0x477d('0x3c3')]?_0x477d('0x44b')+_0xc0bb4e[_0x477d('0x3c3')]+_0x477d('0x44c')+_0xc0bb4e[_0x477d('0x44d')]:_0x477d('0x1958'),'msg':_0xc0bb4e[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0xc0bb4e['data']):_0xc0bb4e[_0x477d('0x453')]()});});function _0x2683c2(){_0x2e1a99[_0x477d('0xd67')]=[];_0x4fabe2[_0x477d('0x17e2')][_0x477d('0xd70')](_0x2e1a99[_0x477d('0x17e2')])['$promise'][_0x477d('0x76')](function(_0x2ab33b){_0x2e1a99[_0x477d('0x160f')][_0x477d('0x63b')](_0x2ab33b[_0x477d('0xd71')]());_0x247783[_0x477d('0x485')]({'title':_0x477d('0x271e'),'msg':_0x2e1a99['whatsappAccount'][_0x477d('0x94')]?_0x2e1a99[_0x477d('0x17e2')][_0x477d('0x94')]+_0x477d('0xd73'):''});_0x4835f0(_0x2ab33b);})[_0x477d('0xf8')](function(_0x3e1150){if(_0x3e1150[_0x477d('0x451')]&&_0x3e1150[_0x477d('0x451')][_0x477d('0xd67')]&&_0x3e1150[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x2e1a99[_0x477d('0xd67')]=_0x3e1150[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x3e1150[_0x477d('0x453')](),'type':_0x477d('0x271f')}];for(var _0x327492=0x0;_0x327492<_0x3e1150[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x327492+=0x1){_0x247783['error']({'title':_0x3e1150['data'][_0x477d('0xd67')][_0x327492][_0x477d('0x439')],'msg':_0x3e1150[_0x477d('0x451')][_0x477d('0xd67')][_0x327492]['message']});}}else{_0x247783['error']({'title':_0x3e1150[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x3e1150[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x3e1150[_0x477d('0x44d')]:_0x477d('0x271f'),'msg':_0x3e1150[_0x477d('0x451')]?JSON['stringify'](_0x3e1150[_0x477d('0x451')][_0x477d('0x452')]):_0x3e1150[_0x477d('0x453')]()});}});}function _0x59ec0a(){_0x2e1a99['errors']=[];_0x4fabe2['whatsappAccount'][_0x477d('0x710')]({'id':_0x2e1a99[_0x477d('0x17e2')]['id']},_0x2e1a99[_0x477d('0x17e2')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x38f086){var _0xc423dc=_[_0x477d('0x10a')](_0x2e1a99['whatsappAccounts'],{'id':_0x38f086['id']});if(_0xc423dc){_[_0x477d('0xef')](_0xc423dc,_[_0x477d('0x10b')](_0x38f086[_0x477d('0xd71')](),_['keys'](_0xc423dc)));}_0x247783[_0x477d('0x485')]({'title':_0x477d('0x2720'),'msg':_0x2e1a99['whatsappAccount']['name']?_0x2e1a99[_0x477d('0x17e2')][_0x477d('0x94')]+_0x477d('0xd76'):''});_0x4835f0(_0x38f086);})[_0x477d('0xf8')](function(_0x143d0d){if(_0x143d0d['data']&&_0x143d0d['data'][_0x477d('0xd67')]&&_0x143d0d[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x2e1a99[_0x477d('0xd67')]=_0x143d0d[_0x477d('0x451')]['errors']||[{'message':_0x143d0d[_0x477d('0x453')](),'type':_0x477d('0x2721')}];for(var _0xa53b3f=0x0;_0xa53b3f<_0x143d0d[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0xa53b3f++){_0x247783[_0x477d('0x44a')]({'title':_0x143d0d[_0x477d('0x451')]['errors'][_0xa53b3f][_0x477d('0x439')],'msg':_0x143d0d[_0x477d('0x451')][_0x477d('0xd67')][_0xa53b3f][_0x477d('0x452')]});}}else{_0x247783[_0x477d('0x44a')]({'title':_0x143d0d['status']?'API:'+_0x143d0d[_0x477d('0x3c3')]+'\x20-\x20'+_0x143d0d[_0x477d('0x44d')]:'api.whatsappAccount.update','msg':_0x143d0d[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x143d0d[_0x477d('0x451')][_0x477d('0x452')]):_0x143d0d[_0x477d('0x453')]()});}});}function _0x520ab4(_0x586374){_0x2e1a99[_0x477d('0xd67')]=[];var _0x242054=_0x4d82e0[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xd79'))[_0x477d('0xdaf')]('The\x20whatsappAccount\x20will\x20be\x20deleted.')[_0x477d('0x687')](_0x477d('0x2722'))['ok'](_0x477d('0xd7b'))[_0x477d('0x4f0')](_0x477d('0x688'))['targetEvent'](_0x586374);_0x4d82e0['show'](_0x242054)[_0x477d('0x76')](function(){_0x4fabe2[_0x477d('0x17e2')][_0x477d('0xa55')]({'id':_0x2e1a99[_0x477d('0x17e2')]['id']})['$promise']['then'](function(){_['remove'](_0x2e1a99['whatsappAccounts'],{'id':_0x2e1a99[_0x477d('0x17e2')]['id']});_0x247783[_0x477d('0x485')]({'title':_0x477d('0x2723'),'msg':(_0x2e1a99[_0x477d('0x17e2')][_0x477d('0x94')]||_0x477d('0x17e2'))+'\x20has\x20been\x20deleted!'});_0x4835f0(_0x2e1a99[_0x477d('0x17e2')]);})[_0x477d('0xf8')](function(_0x240b5){if(_0x240b5[_0x477d('0x451')]&&_0x240b5[_0x477d('0x451')][_0x477d('0xd67')]&&_0x240b5[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x2e1a99[_0x477d('0xd67')]=_0x240b5[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x240b5['toString'](),'type':_0x477d('0x2724')}];for(var _0x1b76d7=0x0;_0x1b76d7<_0x240b5['data'][_0x477d('0xd67')][_0x477d('0x79')];_0x1b76d7++){_0x247783[_0x477d('0x44a')]({'title':_0x240b5[_0x477d('0x451')]['errors'][_0x1b76d7][_0x477d('0x439')],'msg':_0x240b5[_0x477d('0x451')][_0x477d('0xd67')][_0x1b76d7][_0x477d('0x452')]});}}else{_0x247783[_0x477d('0x44a')]({'title':_0x240b5[_0x477d('0x3c3')]?'API:'+_0x240b5[_0x477d('0x3c3')]+'\x20-\x20'+_0x240b5[_0x477d('0x44d')]:_0x477d('0x2724'),'msg':_0x240b5['data']?JSON['stringify'](_0x240b5[_0x477d('0x451')][_0x477d('0x452')]):_0x240b5[_0x477d('0x452')]||_0x240b5['toString']()});}});},function(){});}function _0x24ceaf(_0x17633f){return _0x17633f===null?undefined:new Date(_0x17633f);}function _0x4835f0(_0x28996a){_0x4d82e0['hide'](_0x28996a);}}}());(function(){'use strict';_0x370fc8[_0x477d('0xa')]=['api',_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x40e'),_0x477d('0x55')];angular['module'](_0x477d('0x3e'))[_0x477d('0x3ba')]('WhatsappAccountActionsController',_0x370fc8);function _0x370fc8(_0x38e62a,_0x5845c5,_0x3a40f1,_0x24aa58,_0x3d98fd){var _0x7e1afa=this;_0x7e1afa[_0x477d('0x3e5')]=_0x3d98fd['getCurrentUser']();_0x7e1afa[_0x477d('0x17e2')]={};_0x7e1afa[_0x477d('0x2725')]={'count':0x0,'rows':[]};_0x7e1afa[_0x477d('0x2726')]=[];_0x7e1afa[_0x477d('0xd66')];_0x7e1afa[_0x477d('0x3ef')]={'sort':_0x477d('0x1243')};_0x7e1afa[_0x477d('0x1244')]=_[_0x477d('0x691')](_[_0x477d('0x1245')]([{'app':_0x477d('0x1246'),'appType':_0x477d('0x79c'),'types':[_0x477d('0x1247'),_0x477d('0x9f6'),'list'],'fields':[],'isApp':![]},{'app':_0x477d('0x3c6'),'appType':_0x477d('0x3c6'),'type':_0x477d('0x3c6'),'icon':_0x477d('0x1248'),'interval':_0x477d('0x1249'),'required':!![],'isApp':!![],'fields':[{'title':_0x477d('0x1918'),'name':'value','type':'text','param':0x0}]},{'app':_0x477d('0xa41'),'appType':_0x477d('0xa41'),'type':_0x477d('0xa41'),'icon':_0x477d('0x1248'),'interval':_0x477d('0x1249'),'required':!![],'isApp':!![],'extraApi':[{'name':_0x477d('0xf31'),'field':{'name':_0x477d('0xbb9'),'key':_0x477d('0x94')},'route':_0x477d('0xbb9'),'filters':{'fields':'id,name','sort':_0x477d('0x94'),'nolimit':!![]},'permissions':{'section':0x3f4}}],'fields':[{'title':_0x477d('0x124a'),'name':'command','type':_0x477d('0x41b'),'required':!![],'param':0x0},{'title':_0x477d('0x124b'),'name':_0x477d('0xbb9'),'type':_0x477d('0x124c'),'values':_0x477d('0xf31'),'value':'variable.name','option':_0x477d('0x124d'),'defaultValues':[{'value':'\x27\x27','option':_0x477d('0x124e')}],'defaultValue':'\x27\x27','param':0x1}]},{'app':_0x477d('0x124f'),'appType':_0x477d('0x124f'),'type':_0x477d('0x1250'),'icon':'icon-apps','interval':_0x477d('0x1249'),'isApp':!![],'fields':[{'title':'Priority','name':_0x477d('0x1243'),'type':'number','required':!![],'min':0x0,'param':0x0}]},{'app':_0x477d('0x1252'),'appType':_0x477d('0x1252'),'type':_0x477d('0x1252'),'icon':_0x477d('0x1248'),'interval':'*,*,*,*','isApp':!![],'fields':[{'title':_0x477d('0x1253'),'name':_0x477d('0xb98'),'type':_0x477d('0x41b'),'required':!![],'param':0x0},{'title':_0x477d('0x1254'),'name':_0x477d('0x1254'),'type':_0x477d('0x421'),'min':0x1,'required':!![],'param':0x1},{'title':_0x477d('0x1255'),'name':_0x477d('0x1255'),'type':_0x477d('0x421'),'min':0x1,'required':!![],'param':0x2}]},{'app':_0x477d('0x1256'),'appType':_0x477d('0x1256'),'foreignKey':_0x477d('0x2716'),'type':_0x477d('0x1256'),'icon':'icon-apps','interval':_0x477d('0x1249'),'isApp':!![],'extraApi':[{'name':_0x477d('0xf2f'),'field':{'name':'queue','key':_0x477d('0x94')},'route':_0x477d('0xcfa'),'filters':{'fields':'id,name,type','sort':'name','nolimit':!![]},'permissions':{'section':0x836}}],'fields':[{'title':_0x477d('0x1258'),'name':_0x477d('0x1256'),'type':'apiselect','values':'queues','value':_0x477d('0x1259'),'option':_0x477d('0x1259'),'defaultValue':0x12c,'required':!![],'param':0x0},{'title':_0x477d('0x125a'),'name':_0x477d('0x91b'),'type':_0x477d('0x421'),'max':0x20c49b,'min':0x0,'required':!![],'defaultValue':0x12c,'param':0x1}]},{'app':'agent','appType':_0x477d('0xcf'),'type':'agent','foreignKey':_0x477d('0x125b'),'icon':_0x477d('0x1248'),'interval':_0x477d('0x1249'),'isApp':!![],'extraApi':[{'name':_0x477d('0x125c'),'field':{'name':'agent','key':_0x477d('0x94')},'route':_0x477d('0x380'),'filters':{'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':!![],'role':_0x477d('0xcf')},'permissions':{'section':0xca}}],'fields':[{'title':_0x477d('0x125d'),'name':_0x477d('0xcf'),'type':_0x477d('0x124c'),'values':_0x477d('0x125c'),'value':_0x477d('0x125e'),'option':_0x477d('0x125e'),'required':!![],'param':0x0},{'title':_0x477d('0x125a'),'name':_0x477d('0x91b'),'type':_0x477d('0x421'),'max':0x20c49b,'min':0x0,'required':!![],'defaultValue':0x1e,'param':0x1}]},{'app':_0x477d('0x1260'),'appType':_0x477d('0x1260'),'type':'autoreply','icon':_0x477d('0x1248'),'interval':_0x477d('0x1249'),'isApp':!![],'fields':[{'title':'times','name':'times','type':_0x477d('0x462'),'defaultValue':'1','values':[{'option':_0x477d('0x1c82'),'value':'1'},{'option':_0x477d('0x1d4d'),'value':'0'}],'required':!![],'param':0x0},{'title':_0x477d('0xf7f'),'name':_0x477d('0x41b'),'type':'textarea','required':!![],'param':0x1}]},{'app':_0x477d('0x539'),'appType':_0x477d('0x539'),'type':_0x477d('0x539'),'icon':'icon-apps','interval':'*,*,*,*','isApp':!![],'fields':[{'title':_0x477d('0x125f'),'name':_0x477d('0xb95'),'type':_0x477d('0x41b'),'required':!![],'param':0x0}]},{'app':_0x477d('0xbb0'),'appType':_0x477d('0xbb0'),'type':_0x477d('0xbb0'),'foreignKey':_0x477d('0x1262'),'icon':_0x477d('0x1248'),'interval':_0x477d('0x1249'),'isApp':!![],'extraApi':[{'name':'tags','field':{'name':_0x477d('0xbb0'),'key':'name'},'route':_0x477d('0xbb0'),'filters':{'fields':'id,name','sort':_0x477d('0x94'),'nolimit':!![]},'permissions':{'section':0x3f0}}],'fields':[{'title':_0x477d('0x1264'),'name':'tag','type':_0x477d('0x124c'),'values':_0x477d('0x1263'),'value':'tag.name','option':_0x477d('0x1265'),'required':!![],'param':0x0}]},{'app':_0x477d('0x1266'),'appType':_0x477d('0x1266'),'type':'dialogflow','icon':'icon-apps','interval':_0x477d('0x1249'),'isApp':!![],'fields':[{'title':_0x477d('0x1f05'),'name':_0x477d('0x670'),'type':_0x477d('0x41b'),'required':!![],'param':0x0},{'title':_0x477d('0x1267'),'name':_0x477d('0x1267'),'type':_0x477d('0x462'),'defaultValue':_0x477d('0x1269'),'values':[{'option':_0x477d('0xf9d'),'value':_0x477d('0x1268')},{'option':_0x477d('0xf9e'),'value':_0x477d('0x1269')},{'option':_0x477d('0xf9f'),'value':_0x477d('0x126a')},{'option':_0x477d('0xfa0'),'value':_0x477d('0x126b')},{'option':_0x477d('0xfa1'),'value':'\x27es\x27'},{'option':_0x477d('0xfa2'),'value':_0x477d('0x126d')},{'option':_0x477d('0xfa3'),'value':_0x477d('0x126e')},{'option':_0x477d('0xfa4'),'value':'\x27ja\x27'},{'option':_0x477d('0xfa5'),'value':_0x477d('0x1270')},{'option':_0x477d('0xfa6'),'value':_0x477d('0x1f06')},{'option':_0x477d('0xfa7'),'value':_0x477d('0x1271')},{'option':_0x477d('0xfa8'),'value':'\x27pt\x27'},{'option':'Portuguese\x20(Nrazilian)','value':'\x27pt-br\x27'},{'option':_0x477d('0xfaa'),'value':_0x477d('0x1274')},{'option':_0x477d('0x1024'),'value':_0x477d('0x1275')},{'option':_0x477d('0x1027'),'value':_0x477d('0x1276')},{'option':_0x477d('0xfab'),'value':_0x477d('0x1277')},{'option':_0x477d('0xfad'),'value':_0x477d('0x1278')},{'option':_0x477d('0xfaf'),'value':_0x477d('0x1f07')},{'option':_0x477d('0xfe8'),'value':'\x27zh-TW\x27'}],'required':!![],'param':0x1},{'title':_0x477d('0x127a'),'name':_0x477d('0x127a'),'type':_0x477d('0x127b'),'maxlength':0xff,'required':![],'param':0x2,'help':!![]}]},{'app':'amazonlex','appType':_0x477d('0x127c'),'type':'amazonlex','icon':_0x477d('0x1248'),'interval':_0x477d('0x1249'),'isApp':!![],'fields':[{'title':_0x477d('0x127d'),'name':'accesskeyid','type':_0x477d('0x41b'),'required':!![],'param':0x0},{'title':'secretaccesskey','name':_0x477d('0x127e'),'type':_0x477d('0x41b'),'required':!![],'param':0x1},{'title':_0x477d('0x127f'),'name':'lexregion','type':_0x477d('0x462'),'defaultValue':_0x477d('0x1280'),'values':[{'option':_0x477d('0x115f'),'value':_0x477d('0x1280')},{'option':_0x477d('0x1163'),'value':_0x477d('0x1f08')},{'option':_0x477d('0x1166'),'value':'\x27eu-west-1\x27'},{'option':_0x477d('0x116b'),'value':_0x477d('0x1282')}],'required':!![],'param':0x2},{'title':'botname','name':'botname','type':_0x477d('0x41b'),'required':!![],'param':0x3},{'title':_0x477d('0x127a'),'name':'welcomemessage','type':_0x477d('0x127b'),'maxlength':0xff,'required':![],'param':0x4,'help':!![]}]}],[_0x477d('0x1291')]),{'isApp':![]});_0x7e1afa[_0x477d('0xa02')]={'group':{'name':_0x477d('0x1284'),'pull':_0x477d('0x117f')},'animation':0x64,'sort':![]};_0x7e1afa['applications']={'group':{'name':'opt2','put':_0x477d('0x1284')},'animation':0x64,'onAdd':function(_0xc962d5){_0x4ed414(_0xc962d5,_0xc962d5[_0x477d('0x191a')]);},'onSort':function(_0x52688f){_0x35c5f0();}};_0x7e1afa[_0x477d('0x5ee')]=_0x15b21a;_0x7e1afa[_0x477d('0xe66')]=_0x8a3610;_0x7e1afa[_0x477d('0x2727')]=_0x3133a8;_0x7e1afa[_0x477d('0x2728')]=_0x4ed414;_0x7e1afa['editInterval']=_0x241f39;_0x7e1afa[_0x477d('0x2729')]=_0x2539a6;_0x7e1afa[_0x477d('0x272a')]=_0x3b37d8;_0x7e1afa[_0x477d('0x128c')]=_0x35c5f0;_0x7e1afa[_0x477d('0x128f')]=_0x3c0db4;function _0x15b21a(_0xd6670c,_0x23f0b8){_0x7e1afa[_0x477d('0x17e2')]=_0xd6670c;_0x7e1afa['crudPermissions']=typeof _0x23f0b8!=='undefined'?_0x23f0b8:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x7e1afa[_0x477d('0x1285')][_0x477d('0x45c')]=!_0x7e1afa[_0x477d('0xd66')][_0x477d('0xedb')]?!![]:![];_0x7e1afa[_0x477d('0x3ef')]['id']=_0xd6670c['id'];_0x7e1afa['query']['isApp']=!![];_0x7e1afa[_0x477d('0x3ef')][_0x477d('0x128e')]=!![];_0x7e1afa['getWhatsappAccountApps']();_0x7e1afa['getIntervals']();}function _0x8a3610(_0x5df61f,_0x5b906a,_0x1fee56){var _0x15edb2=_0x5845c5[_0x477d('0xd78')]()[_0x477d('0x49a')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20application?')['htmlContent'](_0x477d('0xd93')+_0x5df61f[_0x477d('0x1291')]+_0x477d('0xd94')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x1292'))[_0x477d('0xd7c')](_0x1fee56)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x5845c5[_0x477d('0x395')](_0x15edb2)[_0x477d('0x76')](function(){_0x7e1afa['whatsappAccountApps'][_0x477d('0xf2')][_0x477d('0x45b')](_0x5b906a,0x1);_0x35c5f0();},function(){console[_0x477d('0x7b')]('CANCEL');});}function _0x4ed414(_0x175b0c,_0x30bbf5){if(_0x7e1afa['whatsappAccountApps'][_0x477d('0xf2')]['length']){var _0x2c0c14=_0x7e1afa['whatsappAccountApps'][_0x477d('0xf2')][_0x30bbf5]?_0x7e1afa[_0x477d('0x2725')][_0x477d('0xf2')][_0x30bbf5]:_0x7e1afa['whatsappAccountApps']['rows'][0x0];_0x5845c5[_0x477d('0x395')]({'controller':_0x477d('0x272b')+(_0x2c0c14[_0x477d('0x1294')]||_0x2c0c14[_0x477d('0x1291')])[_0x477d('0x449')]()+_0x477d('0x1295'),'controllerAs':'vm','templateUrl':_0x477d('0x272c')+(_0x2c0c14[_0x477d('0x1294')]||_0x2c0c14[_0x477d('0x1291')])[_0x477d('0x449')]()+_0x477d('0x1296'),'parent':angular[_0x477d('0x398')](_0x3a40f1['body']),'targetEvent':_0x175b0c,'clickOutsideToClose':!![],'locals':{'whatsappAccountApp':_0x2c0c14,'whatsappAccount':_0x7e1afa[_0x477d('0x17e2')],'crudPermissions':_0x7e1afa['crudPermissions']}})[_0x477d('0x76')](function(_0x3eb50e){if(_0x3eb50e){if(_0x3eb50e['id']){_0x7e1afa['whatsappAccountApps'][_0x477d('0xf2')][_0x30bbf5]=_0x3eb50e;}else{_0x7e1afa['whatsappAccountApps'][_0x477d('0xf2')][_0x477d('0x45b')](_0x30bbf5,0x0,_0x3eb50e);}_0x35c5f0();}})[_0x477d('0xf8')](function(_0xda3bad){if(_0xda3bad){_0x24aa58['error']({'title':_0xda3bad[_0x477d('0x3c3')]?'API:'+_0xda3bad['status']+_0x477d('0x44c')+_0xda3bad[_0x477d('0x44d')]:_0x477d('0x1921'),'msg':_0xda3bad['data']?JSON[_0x477d('0x3fb')](_0xda3bad[_0x477d('0x451')]):_0xda3bad[_0x477d('0x453')]()});}});}}function _0x241f39(_0x17129d,_0x5278d6){if(_0x7e1afa[_0x477d('0x2725')][_0x477d('0xf2')]['length']){var _0x1f822b=_0x7e1afa['whatsappAccountApps'][_0x477d('0xf2')][_0x5278d6]?_0x7e1afa[_0x477d('0x2725')]['rows'][_0x5278d6]:_0x7e1afa[_0x477d('0x2725')][_0x477d('0xf2')][0x0];_0x5845c5[_0x477d('0x395')]({'controller':'EditWhatsappAccountAppintervalDialogController','controllerAs':'vm','templateUrl':_0x477d('0x272d'),'parent':angular[_0x477d('0x398')](_0x3a40f1[_0x477d('0x399')]),'targetEvent':_0x17129d,'clickOutsideToClose':!![],'locals':{'interval':{'interval':_0x1f822b[_0x477d('0x79c')],'IntervalId':_0x1f822b['IntervalId'],'application':!![]},'intervals':[],'crudPermissions':_0x7e1afa['crudPermissions']}})['then'](function(_0x2aed5f){if(_0x2aed5f){_0x1f822b['interval']=_0x2aed5f[_0x477d('0x79c')]||_0x477d('0x1249');_0x1f822b[_0x477d('0xf8c')]=_0x2aed5f[_0x477d('0xf8c')]||null;_0x35c5f0();}});}}function _0x35c5f0(){var _0xf43375=0x1;var _0x515aca=[];for(var _0x3514e5=0x0,_0x5c578e=0x0;_0x3514e5<_0x7e1afa[_0x477d('0x2725')][_0x477d('0xf2')][_0x477d('0x79')];_0x3514e5++,_0x5c578e=0x0){var _0xbc7074=_0x7e1afa['whatsappAccountApps'][_0x477d('0xf2')][_0x3514e5];var _0x251fcd=[];var _0x150c8a=[];_0xbc7074[_0x477d('0x1298')]=_0xbc7074[_0x477d('0x79c')]!=='*,*,*,*'?[_0xbc7074[_0x477d('0x79c')]]:_0xbc7074['IntervalId']?_[_0x477d('0x3cb')](_[_0x477d('0x3b3')](_0x7e1afa[_0x477d('0x1298')]['rows'],{'IntervalId':_0xbc7074[_0x477d('0xf8c')]}),'interval'):[];_0xbc7074[_0x477d('0xf47')]=_0x7e1afa[_0x477d('0x17e2')][_0x477d('0xf47')];_0xbc7074['exten']=_0x7e1afa[_0x477d('0x17e2')]['exten'];if(_0xbc7074[_0x477d('0x439')]){_0xbc7074[_0x477d('0x439')]=_0xbc7074['type'][_0x477d('0x449')]();}_0xbc7074[_0x477d('0x1243')]=_0x251fcd[_0x477d('0x79')]?_[_0x477d('0x601')](_0x251fcd)['priority']+0x1:_0xf43375;_0xf43375=(_0x150c8a['length']?_[_0x477d('0x601')](_0x150c8a)['priority']:_0xbc7074[_0x477d('0x1243')])+0x1;_0x515aca=_[_0x477d('0x3a9')](_0x515aca,_0x251fcd,[_0xbc7074],_0x150c8a);}_0x38e62a['whatsappAccount']['addApplications']({'id':_0x7e1afa[_0x477d('0x17e2')]['id']},_[_0x477d('0x1245')](_0x515aca,_0x477d('0x1243')))[_0x477d('0x38b')][_0x477d('0x76')](function(_0x4b431b){_0x7e1afa['whatsappAccountApps'][_0x477d('0xf2')]=_0x4b431b[_0x477d('0xf2')];})['catch'](function(_0x2a8bad){console[_0x477d('0x44a')](_0x2a8bad);});}function _0x23ac18(_0x5a6ca7){_0x7e1afa[_0x477d('0x2725')]=_0x5a6ca7||{'count':0x0,'rows':[]};}function _0x3c0db4(){return _0x38e62a[_0x477d('0x79c')][_0x477d('0x376')]({'fields':_0x477d('0x1923')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x11979f){_0x7e1afa[_0x477d('0x1298')]=_0x11979f;})[_0x477d('0xf8')](function(_0x180b24){console[_0x477d('0x44a')](_0x180b24);});}function _0x3133a8(){_0x7e1afa[_0x477d('0x553')]=_0x38e62a[_0x477d('0x17e2')]['getApplications'](_0x7e1afa['query'],_0x23ac18)[_0x477d('0x38b')];}function _0x2539a6(_0xb0d0){_[_0x477d('0x39c')](_0x7e1afa[_0x477d('0x2725')]['rows'],{'id':_0xb0d0['id']});_0x35c5f0();_0x24aa58[_0x477d('0x485')]({'title':_0x477d('0x2053'),'msg':_0xb0d0[_0x477d('0x1291')]?_0xb0d0[_0x477d('0x1291')]+_0x477d('0xd7e'):''});}function _0x3b37d8(_0x5158d5){var _0x1e2876=_0x5845c5['confirm']()['title'](_0x477d('0x129b'))[_0x477d('0xd92')](_0x477d('0xd93')+_0x7e1afa[_0x477d('0x2726')][_0x477d('0x79')]+_0x477d('0xda0')+'\x20will\x20be\x20deleted.')[_0x477d('0x687')](_0x477d('0x129c'))[_0x477d('0xd7c')](_0x5158d5)['ok']('OK')['cancel'](_0x477d('0xd97'));_0x5845c5[_0x477d('0x395')](_0x1e2876)[_0x477d('0x76')](function(){_0x7e1afa[_0x477d('0x2726')]['forEach'](function(_0x410b2e){_[_0x477d('0x39c')](_0x7e1afa[_0x477d('0x2725')][_0x477d('0xf2')],{'id':_0x410b2e['id']});});_0x7e1afa[_0x477d('0x2726')]=[];_0x35c5f0();});}}}());(function(){'use strict';_0x190712['$inject']=[_0x477d('0x384'),'$q','toasty',_0x477d('0x386'),_0x477d('0x17e2'),'whatsappAccounts',_0x477d('0x11f1'),_0x477d('0x40d'),_0x477d('0x55'),_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x3e'))[_0x477d('0x3ba')]('WhatsappAccountagentaddController',_0x190712);function _0x190712(_0x4da4af,_0x14ec09,_0x188224,_0x41fc76,_0x382b11,_0x5eb81c,_0x4a72ac,_0x3ede27,_0x1b86b9,_0xe95270){var _0x19bb3f=this;_0x19bb3f['currentUser']=_0x1b86b9[_0x477d('0x5c')]();_0x19bb3f[_0x477d('0x17e2')]=_0x382b11;_0x19bb3f[_0x477d('0xd66')]=_0xe95270;_0x19bb3f['realtime']=_0x4a72ac;_0x19bb3f['items']=[];_0x19bb3f[_0x477d('0x11f7')]=[];_0x19bb3f['selectedItems']=[];_0x19bb3f[_0x477d('0x11f2')]=[];_0x19bb3f[_0x477d('0x11fd')]=[];_0x19bb3f[_0x477d('0x11f5')]=![];_0x19bb3f[_0x477d('0x71a')]=_0x11136f;_0x19bb3f['saveAgents']=_0x49b10f;_0x19bb3f[_0x477d('0x6bf')]=_0x3bb5c0;_0x19bb3f[_0x477d('0x1185')]={'readOnly':!_0x19bb3f[_0x477d('0xd66')][_0x477d('0xedb')],'items':[],'selectedItems':[],'showSelectAndDeselectAll':!![],'orderBy':_0x477d('0x94'),'line1':'fullname','line2':[_0x477d('0x94'),'internal'],'line3':'','labelAll':_0x3ede27[_0x477d('0x45f')](_0x477d('0x272e')),'labelSelected':_0x3ede27[_0x477d('0x45f')](_0x477d('0x272f')),'transferCallback':function(_0x5db989,_0x172427){var _0x86ca1e=_[_0x477d('0x11f4')](_0x19bb3f[_0x477d('0x11fd')],_0x19bb3f[_0x477d('0x4a7')],'id');_0x19bb3f['pendingChanges']=_[_0x477d('0x3b2')](_0x86ca1e)?![]:!![];}};function _0x11136f(){return _0x1b86b9[_0x477d('0x56')](_0x477d('0x5f'))?_0x5d1a96()[_0x477d('0xf8')](function(_0x43b870){_0x188224[_0x477d('0x44a')]({'title':_0x43b870[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x43b870['status']+'\x20-\x20'+_0x43b870['statusText']:'SYSTEM:GET_AGENTS','msg':_0x43b870[_0x477d('0x3c3')]?JSON[_0x477d('0x3fb')](_0x43b870[_0x477d('0x451')]):_0x43b870[_0x477d('0x453')]()});}):_0x46e6f4()[_0x477d('0x76')](function(_0x52a8a2){_0x19bb3f[_0x477d('0xd99')]=_0x52a8a2;return _0x5d1a96();})[_0x477d('0xf8')](function(_0x9f3818){_0x188224[_0x477d('0x44a')]({'title':_0x9f3818['status']?_0x477d('0x44b')+_0x9f3818[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x9f3818[_0x477d('0x44d')]:'SYSTEM:GET_AGENTS','msg':_0x9f3818['status']?JSON[_0x477d('0x3fb')](_0x9f3818[_0x477d('0x451')]):_0x9f3818[_0x477d('0x453')]()});});}function _0x46e6f4(){return _0x14ec09(function(_0x2cdd2e,_0x20f360){_0x41fc76[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x19bb3f[_0x477d('0x3e5')][_0x477d('0x61')],'name':_0x477d('0xce')})[_0x477d('0x38b')]['then'](function(_0x62dd4b){var _0x2d82db=_0x62dd4b&&_0x62dd4b[_0x477d('0xf2')]?_0x62dd4b[_0x477d('0xf2')][0x0]:null;_0x2cdd2e(_0x2d82db);})[_0x477d('0xf8')](function(_0x3925e7){_0x20f360(_0x3925e7);});});}function _0x5d1a96(){return _0x14ec09(function(_0x538807,_0x2c8c6b){return _0x1c8dcf()[_0x477d('0x76')](function(_0x4709fe){_0x19bb3f[_0x477d('0x4a6')]=_0x4709fe[_0x477d('0xf2')]?_0x4709fe['rows']:[];if(_0x1b86b9[_0x477d('0x56')](_0x477d('0x5f'))){return _0x4709fe;}else{if(_0x19bb3f['section']){return _0x19bb3f[_0x477d('0xd99')][_0x477d('0x3ad')]?_0x4709fe:_0x33ea9a();}else{return null;}}})[_0x477d('0x76')](function(_0x2d9ce8){var _0x540ecd=_0x2d9ce8&&_0x2d9ce8['rows']?_0x2d9ce8[_0x477d('0xf2')]:[];_0x19bb3f[_0x477d('0x11f7')]=_[_0x477d('0x3cb')](_0x540ecd,function(_0x58f08b){return _[_0x477d('0x10a')](_0x19bb3f['items'],{'id':_0x1b86b9['hasRole'](_0x477d('0x5f'))||_0x19bb3f[_0x477d('0xd99')][_0x477d('0x3ad')]?_0x58f08b['id']:_0x58f08b[_0x477d('0x3af')]});});_0x19bb3f[_0x477d('0x11f2')]=angular['copy'](_0x19bb3f[_0x477d('0x11f7')]);_0x19bb3f['items'][_0x477d('0x3b1')](function(_0x3b72e6){var _0x4e67fd=_[_0x477d('0x10a')](_0x19bb3f['allowedItems'],{'id':_0x3b72e6['id']});if(_0x1b86b9[_0x477d('0x56')](_0x477d('0x5f'))){_0x3b72e6[_0x477d('0x4a3')]=!![];}else{_0x3b72e6['isValid']=typeof _0x4e67fd!==_0x477d('0x4a4')?!![]:![];}});return _0x7f9eb7();})['then'](function(_0x4b6290){var _0x10df65=_0x4b6290&&_0x4b6290[_0x477d('0xf2')]?_0x4b6290[_0x477d('0xf2')]:[];_0x19bb3f[_0x477d('0x4a7')]=_[_0x477d('0x3cb')](_0x10df65,function(_0xc2ac6a){var _0xd6cfab=_[_0x477d('0x10a')](_0x19bb3f['items'],{'id':_0xc2ac6a['id']});_0xd6cfab['penalty']=_0xc2ac6a[_0x477d('0x2730')]?_0x477d('0x1529')+_0xc2ac6a[_0x477d('0x2730')]['penalty']:'';_0xd6cfab[_0x477d('0x324')]=_0xc2ac6a[_0x477d('0x3ea')]('internal')?'<'+_0xc2ac6a[_0x477d('0x324')]+'>':'';return _0xd6cfab;});_0x19bb3f[_0x477d('0x11fd')]=angular['copy'](_0x19bb3f[_0x477d('0x4a7')]);_0x19bb3f[_0x477d('0x1185')]['selectedItems']=_0x19bb3f['selectedItems'];_0x19bb3f['dualMultiselectOptions']['items']=_['differenceBy'](_0x19bb3f[_0x477d('0x11f7')],_0x19bb3f[_0x477d('0x1185')][_0x477d('0x4a7')],'id');_0x538807();})['catch'](function(_0x14bbe8){_0x2c8c6b(_0x14bbe8);});});}function _0x33ea9a(){return _0x14ec09(function(_0x420555,_0x524df3){return _0x41fc76[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x19bb3f[_0x477d('0xd99')]['id'],'nolimit':!![]})[_0x477d('0x38b')]['then'](function(_0x2e044b){_0x420555(_0x2e044b);})[_0x477d('0xf8')](function(_0x2cc50c){_0x524df3(_0x2cc50c);});});}function _0x7f9eb7(){return _0x14ec09(function(_0x2bff3b,_0x2af713){return _0x41fc76[_0x477d('0x17e2')][_0x477d('0x11f9')]({'id':_0x19bb3f['whatsappAccount']['id'],'fields':_0x477d('0x11fa'),'nolimit':!![],'role':_0x477d('0xcf')})[_0x477d('0x38b')]['then'](function(_0x52532d){_0x2bff3b(_0x52532d);})[_0x477d('0xf8')](function(_0x54999c){_0x2af713(_0x54999c);});});}function _0x1c8dcf(){return _0x14ec09(function(_0x50dc34,_0x21aeea){return _0x41fc76['user'][_0x477d('0x376')]({'fields':_0x477d('0x11fa'),'nolimit':!![],'role':_0x477d('0xcf')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x5415eb){_0x50dc34(_0x5415eb);})[_0x477d('0xf8')](function(_0x4fafb3){_0x21aeea(_0x4fafb3);});});}function _0x39ae78(_0x535186){return _0x14ec09(function(_0x385f55,_0x4d436d){if(_[_0x477d('0x3b2')](_0x535186)){_0x385f55();}else{_0x41fc76[_0x477d('0x17e2')][_0x477d('0x11fb')]({'id':_0x19bb3f[_0x477d('0x17e2')]['id'],'ids':_[_0x477d('0x3cb')](_0x535186,'id')})[_0x477d('0x38b')][_0x477d('0x76')](function(){_0x385f55();})[_0x477d('0xf8')](function(_0x4f0376){_0x4d436d(_0x4f0376);});}});}function _0x4b66ba(_0x2cda5e){return _0x14ec09(function(_0x5c783c,_0x5d4863){if(_[_0x477d('0x3b2')](_0x2cda5e)){_0x5c783c();}else{_0x41fc76[_0x477d('0x17e2')][_0x477d('0x11fc')]({'id':_0x19bb3f['whatsappAccount']['id'],'ids':_[_0x477d('0x3cb')](_0x2cda5e,'id')})[_0x477d('0x38b')][_0x477d('0x76')](function(){_0x5c783c();})['catch'](function(_0xd4e38d){_0x5d4863(_0xd4e38d);});}});}function _0x49b10f(){var _0xc88586=_[_0x477d('0x11f8')](_0x19bb3f[_0x477d('0x11fd')],_0x19bb3f['selectedItems'],'id');var _0x354a5d=_['differenceBy'](_0x19bb3f[_0x477d('0x4a7')],_0x19bb3f[_0x477d('0x11fd')],'id');return _0x4b66ba(_0xc88586)[_0x477d('0x76')](function(){return _0x39ae78(_0x354a5d);})['then'](function(){_0x19bb3f[_0x477d('0x11f5')]=![];_0x19bb3f[_0x477d('0x11f2')]=angular[_0x477d('0x6d9')](_0x19bb3f[_0x477d('0x11f7')]);_0x19bb3f[_0x477d('0x11fd')]=angular[_0x477d('0x6d9')](_0x19bb3f[_0x477d('0x4a7')]);_0x188224['success']({'title':'SUCCESS','msg':'Agents\x20association\x20has\x20been\x20updated!'});})['catch'](function(_0x42c9ad){_0x188224[_0x477d('0x44a')]({'title':_0x42c9ad[_0x477d('0x3c3')]?'API:'+_0x42c9ad[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x42c9ad[_0x477d('0x44d')]:'SYSTEM:LISTS_ASSOCIATION','msg':_0x42c9ad[_0x477d('0x3c3')]?JSON[_0x477d('0x3fb')](_0x42c9ad[_0x477d('0x451')]):_0x42c9ad[_0x477d('0x453')]()});});}function _0x3bb5c0(){_0x4da4af[_0x477d('0x3bc')]();}}}());(function(){'use strict';_0x16112c['$inject']=[_0x477d('0x384'),'$q',_0x477d('0x40e'),_0x477d('0x2731'),_0x477d('0x17e2'),'api','Auth',_0x477d('0xd66')];angular[_0x477d('0xb')]('app.whatsapp')['controller']('EditWhatsappAccountAppagentDialogController',_0x16112c);function _0x16112c(_0x225a94,_0x4b8f32,_0x15a86e,_0x1ccd09,_0x512a3b,_0x374935,_0x1381e1,_0x227b15){var _0x4d0cb5=this;_0x4d0cb5[_0x477d('0x3e5')]=_0x1381e1[_0x477d('0x5c')]();_0x4d0cb5['errors']=[];_0x4d0cb5[_0x477d('0x49a')]=_0x477d('0x2732')+(_0x1ccd09[_0x477d('0x1294')]||_0x1ccd09[_0x477d('0x1291')])[_0x477d('0x44f')]();_0x4d0cb5['agent']=angular['copy'](_0x1ccd09);_0x4d0cb5[_0x477d('0xd66')]=_0x227b15;_0x4d0cb5['hasModulePermissions']={};if(_0x4d0cb5['agent'][_0x477d('0x12ae')]){switch(_0x4d0cb5[_0x477d('0xcf')]['appType']?_0x4d0cb5[_0x477d('0xcf')][_0x477d('0x1294')][_0x477d('0x449')]():_0x4d0cb5[_0x477d('0xcf')]['app'][_0x477d('0x449')]()){case _0x477d('0x9f6'):break;case _0x477d('0x1266'):var _0x184c13=_0x4d0cb5['agent'][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x4d0cb5[_0x477d('0xcf')]['key']=_0x184c13[0x0];_0x4d0cb5['agent'][_0x477d('0x1267')]=_0x184c13[0x1];_0x4d0cb5[_0x477d('0xcf')][_0x477d('0x127a')]=_0x184c13[_0x477d('0x9cd')](0x2,_0x184c13[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x127c'):var _0x184c13=_0x4d0cb5['agent'][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x4d0cb5[_0x477d('0xcf')][_0x477d('0x127d')]=_0x184c13[0x0];_0x4d0cb5['agent'][_0x477d('0x127e')]=_0x184c13[0x1];_0x4d0cb5[_0x477d('0xcf')][_0x477d('0x127f')]=_0x184c13[0x2];_0x4d0cb5[_0x477d('0xcf')][_0x477d('0x1283')]=_0x184c13[0x3];_0x4d0cb5[_0x477d('0xcf')]['welcomemessage']=_0x184c13['slice'](0x4,_0x184c13[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case'autoreply':var _0x184c13=_0x4d0cb5[_0x477d('0xcf')]['appdata'][_0x477d('0x472')](',');_0x4d0cb5['agent'][_0x477d('0x1261')]=isNaN(_0x184c13[0x0])?_0x184c13[0x0]:parseInt(_0x184c13[0x0],0xa);_0x4d0cb5[_0x477d('0xcf')]['text']=_0x184c13[_0x477d('0x9cd')](0x1,_0x184c13['length'])[_0x477d('0x3f6')](',');break;case _0x477d('0x452'):_0x4d0cb5[_0x477d('0xcf')][_0x477d('0x41b')]=_0x4d0cb5[_0x477d('0xcf')][_0x477d('0x12ae')];break;case'set':_0x4d0cb5[_0x477d('0xcf')]['name']=_0x4d0cb5[_0x477d('0xcf')][_0x477d('0x12ae')]['split']('=')[0x0];_0x4d0cb5[_0x477d('0xcf')][_0x477d('0x3b6')]=_0x4d0cb5[_0x477d('0xcf')]['appdata'][_0x477d('0x472')]('=')[0x1];break;case _0x477d('0x12b0'):_0x4d0cb5['agent']['project']=_0x4d0cb5[_0x477d('0xcf')]['appdata'];break;default:var _0x357341=_0x4d0cb5['agent']['appdata'][_0x477d('0x472')](',');_0x4d0cb5['agent'][_0x477d('0xcf')]=_[_0x477d('0x3b2')](_0x357341[0x0])?_0x357341[0x0]:isNaN(_0x357341[0x0])?_0x357341[0x0]:parseInt(_0x357341[0x0],0xa);_0x4d0cb5[_0x477d('0xcf')][_0x477d('0x91b')]=_[_0x477d('0x3b2')](_0x357341[0x1])?_0x357341[0x1]:isNaN(_0x357341[0x1])?_0x357341[0x1]:parseInt(_0x357341[0x1],0xa);}}else{_0x4d0cb5[_0x477d('0xcf')]['timeout']=0x1e;}if(_0x4d0cb5['agent'][_0x477d('0x439')]&&_0x4d0cb5[_0x477d('0xcf')][_0x477d('0x439')][_0x477d('0x449')]()==='outbound'&&_0x4d0cb5[_0x477d('0xcf')][_0x477d('0x1294')]['toLowerCase']()===_0x477d('0x12b1')){_0x4d0cb5[_0x477d('0xcf')][_0x477d('0x6c0')]=_0x4d0cb5[_0x477d('0xcf')][_0x477d('0xf46')]?_0x4d0cb5['agent'][_0x477d('0xf46')][_0x477d('0x472')]('$')[0x0]:undefined;_0x4d0cb5['agent'][_0x477d('0x69b')]=_0x4d0cb5[_0x477d('0xcf')][_0x477d('0x12b2')]?_0x477d('0x12b3')+_0x4d0cb5[_0x477d('0xcf')]['callerID']:undefined;}_0x4d0cb5[_0x477d('0x2733')]=_0x5a019b;_0x4d0cb5[_0x477d('0x6bf')]=_0x22ffef;_0x1381e1[_0x477d('0x56')](_0x477d('0x5f'))?_0x374935[_0x477d('0x380')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':'name','nolimit':'true','role':'agent'})['$promise'][_0x477d('0x76')](function(_0x361784){_0x4d0cb5[_0x477d('0x125c')]=_0x361784[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0xbc771f){_0x15a86e['error']({'title':_0xbc771f[_0x477d('0x3c3')]?_0x477d('0x44b')+_0xbc771f[_0x477d('0x3c3')]+_0x477d('0x44c')+_0xbc771f[_0x477d('0x44d')]:_0x477d('0x11f6'),'msg':_0xbc771f[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0xbc771f[_0x477d('0x451')]):_0xbc771f[_0x477d('0x453')]()});}):_0x374935['user'][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee'),'role':_0x477d('0xcf')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x4cadf9){_0x4d0cb5[_0x477d('0x125c')]=_0x4cadf9[_0x477d('0xf2')]||[];})['then'](function(){return _0x374935[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x4d0cb5['currentUser'][_0x477d('0x61')],'sectionId':0xca})[_0x477d('0x38b')];})['then'](function(_0x59cd31){var _0x22618b=_0x59cd31&&_0x59cd31['rows']?_0x59cd31[_0x477d('0xf2')][0x0]:null;if(!_0x22618b){var _0x2d8c16=[];var _0x18f5af=null;if(_0x4d0cb5[_0x477d('0xcf')]){_0x18f5af=_[_0x477d('0x10a')](_0x4d0cb5[_0x477d('0x125c')],{'name':_0x4d0cb5[_0x477d('0xcf')][_0x477d('0xcf')]});}for(var _0x12888b=0x0;_0x12888b<_0x4d0cb5[_0x477d('0x125c')][_0x477d('0x79')];_0x12888b++){if(_0x18f5af&&_0x4d0cb5[_0x477d('0x125c')][_0x12888b]['id']===_0x18f5af['id']){_0x4d0cb5[_0x477d('0x125c')][_0x12888b]['canSelect']=![];_0x2d8c16['push'](_0x4d0cb5[_0x477d('0x125c')][_0x12888b]);}}_0x4d0cb5[_0x477d('0x125c')]=_0x2d8c16;}else{if(!_0x22618b[_0x477d('0x3ad')]){return _0x374935[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x22618b['id']})[_0x477d('0x38b')]['then'](function(_0xd88f75){var _0x1dce99=_[_0x477d('0x3cb')](_0xd88f75[_0x477d('0xf2')],function(_0x10de54){return _[_0x477d('0x10a')](_0x4d0cb5['agents'],{'id':_0x10de54['resourceId']});});var _0x335f3b=null;if(_0x4d0cb5['agent']){_0x335f3b=_[_0x477d('0x10a')](_0x4d0cb5[_0x477d('0x125c')],{'name':_0x4d0cb5[_0x477d('0xcf')][_0x477d('0xcf')]});}if(_0x335f3b&&!_['some'](_0x1dce99,['id',_0x335f3b['id']])){var _0xbe449f=_[_0x477d('0x10a')](_0x4d0cb5['agents'],{'id':_0x335f3b['id']});_0xbe449f[_0x477d('0xf8b')]=![];_0x1dce99['push'](_0xbe449f);}_0x4d0cb5['agents']=_0x1dce99;});}}})[_0x477d('0xf8')](function(_0x7647ac){_0x15a86e[_0x477d('0x44a')]({'title':_0x7647ac[_0x477d('0x3c3')]?'API:'+_0x7647ac[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x7647ac[_0x477d('0x44d')]:'SYSTEM:GETagents','msg':_0x7647ac['data']?JSON[_0x477d('0x3fb')](_0x7647ac[_0x477d('0x451')]):_0x7647ac[_0x477d('0x453')]()});});function _0x5a019b(){_0x4d0cb5['errors']=[];var _0x450f27=[];if(_0x4d0cb5['agent']['type']&&_0x4d0cb5[_0x477d('0xcf')][_0x477d('0x439')][_0x477d('0x449')]()===_0x477d('0x127')&&_0x4d0cb5[_0x477d('0xcf')][_0x477d('0x1294')]===_0x477d('0x12b5')){_0x4d0cb5[_0x477d('0xcf')][_0x477d('0xf46')]=_0x512a3b[_0x477d('0x12b6')]?(_0x4d0cb5[_0x477d('0xcf')][_0x477d('0x6c0')]||'')+_0x477d('0x12b7')+_0x512a3b[_0x477d('0x12b6')]+'}':(_0x4d0cb5[_0x477d('0xcf')][_0x477d('0x6c0')]||'')+_0x477d('0x12b8');if(_0x512a3b[_0x477d('0x12b9')]!=='none'){if(_0x4d0cb5['agent'][_0x477d('0x43c')][_0x477d('0x477')](_0x477d('0x12ba'))<0x0){_0x4d0cb5[_0x477d('0xcf')][_0x477d('0x43c')]+='U(xcally-mixmonitor-context)';}}else{_0x4d0cb5[_0x477d('0xcf')][_0x477d('0x43c')]=_0x4d0cb5[_0x477d('0xcf')]['options'][_0x477d('0x409')](_0x477d('0x12ba'),'');}}var _0xdfcfbe=_[_0x477d('0x10a')](_0x4d0cb5[_0x477d('0x125c')],{'name':_0x4d0cb5[_0x477d('0xcf')][_0x477d('0xcf')]});if(_0xdfcfbe){_0x4d0cb5[_0x477d('0xcf')][_0x477d('0x125b')]=_0xdfcfbe['id'];}if(_0x4d0cb5['agent']['appType']&&_0x4d0cb5[_0x477d('0xcf')][_0x477d('0x1294')]===_0x477d('0x9f6')){}else{switch((_0x4d0cb5[_0x477d('0xcf')][_0x477d('0x1291')]||_0x4d0cb5[_0x477d('0xcf')][_0x477d('0x1294')])[_0x477d('0x449')]()){case _0x477d('0x12af'):_0x4d0cb5[_0x477d('0xcf')][_0x477d('0x12ae')]=_0x4d0cb5['agent'][_0x477d('0x94')]+'='+_0x4d0cb5[_0x477d('0xcf')]['value'];break;case _0x477d('0x9f6'):break;default:_0x450f27[0x0]=_0x4d0cb5[_0x477d('0xcf')]['agent'];_0x450f27[0x1]=_0x4d0cb5['agent'][_0x477d('0x91b')];_0x4d0cb5[_0x477d('0xcf')]['appdata']=_0x450f27[_0x477d('0x3f6')](',');}}_0x22ffef(_0x4d0cb5['agent']);}function _0x22ffef(_0x3a8317){_0x225a94[_0x477d('0x3bc')](_0x3a8317);}}}());(function(){'use strict';_0x446162[_0x477d('0xa')]=['$mdDialog','$q',_0x477d('0x40e'),_0x477d('0x2731'),_0x477d('0x17e2'),_0x477d('0x386'),_0x477d('0x55'),'crudPermissions'];angular['module'](_0x477d('0x3e'))[_0x477d('0x3ba')]('EditWhatsappAccountAppamazonlexDialogController',_0x446162);function _0x446162(_0x694ba3,_0x5c1c54,_0x1fe81f,_0x516270,_0x132b93,_0x3003ad,_0x2b1322,_0x42b016){var _0x547f9a=this;_0x547f9a[_0x477d('0x3e5')]=_0x2b1322[_0x477d('0x5c')]();_0x547f9a[_0x477d('0xd67')]=[];_0x547f9a[_0x477d('0x49a')]=_0x477d('0x2732')+(_0x516270[_0x477d('0x1294')]||_0x516270[_0x477d('0x1291')])['toUpperCase']();_0x547f9a[_0x477d('0x127c')]=angular['copy'](_0x516270);_0x547f9a[_0x477d('0xd66')]=_0x42b016;_0x547f9a[_0x477d('0xd68')]={};if(_0x547f9a[_0x477d('0x127c')][_0x477d('0x12ae')]){switch(_0x547f9a['amazonlex'][_0x477d('0x1294')]?_0x547f9a[_0x477d('0x127c')][_0x477d('0x1294')]['toLowerCase']():_0x547f9a['amazonlex']['app'][_0x477d('0x449')]()){case'custom':break;case'dialogflow':var _0x387291=_0x547f9a[_0x477d('0x127c')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x547f9a[_0x477d('0x127c')][_0x477d('0x670')]=_0x387291[0x0];_0x547f9a[_0x477d('0x127c')][_0x477d('0x1267')]=_0x387291[0x1];_0x547f9a[_0x477d('0x127c')][_0x477d('0x127a')]=_0x387291[_0x477d('0x9cd')](0x2,_0x387291['length'])[_0x477d('0x3f6')](',');break;case _0x477d('0x127c'):var _0x387291=_0x547f9a[_0x477d('0x127c')][_0x477d('0x12ae')]['split'](',');_0x547f9a[_0x477d('0x127c')][_0x477d('0x127d')]=_0x387291[0x0];_0x547f9a[_0x477d('0x127c')][_0x477d('0x127e')]=_0x387291[0x1];_0x547f9a[_0x477d('0x127c')][_0x477d('0x127f')]=_0x387291[0x2];_0x547f9a['amazonlex'][_0x477d('0x1283')]=_0x387291[0x3];_0x547f9a[_0x477d('0x127c')]['welcomemessage']=_0x387291[_0x477d('0x9cd')](0x4,_0x387291[_0x477d('0x79')])['join'](',');break;case _0x477d('0x1260'):var _0x387291=_0x547f9a['amazonlex'][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x547f9a[_0x477d('0x127c')]['times']=isNaN(_0x387291[0x0])?_0x387291[0x0]:parseInt(_0x387291[0x0],0xa);_0x547f9a['amazonlex'][_0x477d('0x41b')]=_0x387291[_0x477d('0x9cd')](0x1,_0x387291['length'])[_0x477d('0x3f6')](',');break;case _0x477d('0x452'):_0x547f9a[_0x477d('0x127c')]['text']=_0x547f9a[_0x477d('0x127c')][_0x477d('0x12ae')];break;case'set':_0x547f9a[_0x477d('0x127c')][_0x477d('0x94')]=_0x547f9a[_0x477d('0x127c')][_0x477d('0x12ae')]['split']('=')[0x0];_0x547f9a[_0x477d('0x127c')][_0x477d('0x3b6')]=_0x547f9a[_0x477d('0x127c')][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x1];break;case _0x477d('0x12b0'):_0x547f9a[_0x477d('0x127c')][_0x477d('0xf13')]=_0x547f9a['amazonlex'][_0x477d('0x12ae')];break;default:var _0x5939cd=_0x547f9a[_0x477d('0x127c')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x547f9a[_0x477d('0x127c')][_0x477d('0x127d')]=_[_0x477d('0x3b2')](_0x5939cd[0x0])?_0x5939cd[0x0]:isNaN(_0x5939cd[0x0])?_0x5939cd[0x0]:parseInt(_0x5939cd[0x0],0xa);_0x547f9a[_0x477d('0x127c')][_0x477d('0x127e')]=_[_0x477d('0x3b2')](_0x5939cd[0x1])?_0x5939cd[0x1]:isNaN(_0x5939cd[0x1])?_0x5939cd[0x1]:parseInt(_0x5939cd[0x1],0xa);_0x547f9a[_0x477d('0x127c')]['lexregion']=_[_0x477d('0x3b2')](_0x5939cd[0x2])?_0x5939cd[0x2]:isNaN(_0x5939cd[0x2])?_0x5939cd[0x2]:parseInt(_0x5939cd[0x2],0xa);_0x547f9a[_0x477d('0x127c')][_0x477d('0x1283')]=_[_0x477d('0x3b2')](_0x5939cd[0x3])?_0x5939cd[0x3]:isNaN(_0x5939cd[0x3])?_0x5939cd[0x3]:parseInt(_0x5939cd[0x3],0xa);_0x547f9a[_0x477d('0x127c')][_0x477d('0x127a')]=_['isEmpty'](_0x5939cd[0x4])?_0x5939cd[0x4]:isNaN(_0x5939cd[0x4])?_0x5939cd[0x4]:parseInt(_0x5939cd[0x4],0xa);}}else{_0x547f9a[_0x477d('0x127c')]['lexregion']=_0x477d('0x1171');}if(_0x547f9a[_0x477d('0x127c')][_0x477d('0x439')]&&_0x547f9a[_0x477d('0x127c')][_0x477d('0x439')]['toLowerCase']()===_0x477d('0x127')&&_0x547f9a[_0x477d('0x127c')][_0x477d('0x1294')][_0x477d('0x449')]()==='outbounddial'){_0x547f9a[_0x477d('0x127c')][_0x477d('0x6c0')]=_0x547f9a['amazonlex'][_0x477d('0xf46')]?_0x547f9a[_0x477d('0x127c')][_0x477d('0xf46')][_0x477d('0x472')]('$')[0x0]:undefined;_0x547f9a[_0x477d('0x127c')]['callerId']=_0x547f9a[_0x477d('0x127c')]['callerID']?_0x477d('0x12b3')+_0x547f9a[_0x477d('0x127c')]['callerID']:undefined;}_0x547f9a[_0x477d('0x2733')]=_0x12de0a;_0x547f9a[_0x477d('0x6bf')]=_0x3a89b7;function _0x12de0a(){_0x547f9a['errors']=[];var _0x348337=[];if(_0x547f9a['amazonlex'][_0x477d('0x439')]&&_0x547f9a['amazonlex']['type'][_0x477d('0x449')]()===_0x477d('0x127')&&_0x547f9a[_0x477d('0x127c')]['appType']==='outboundDial'){_0x547f9a['amazonlex']['phone']=_0x132b93[_0x477d('0x12b6')]?(_0x547f9a[_0x477d('0x127c')]['prefix']||'')+_0x477d('0x12b7')+_0x132b93['cutdigits']+'}':(_0x547f9a[_0x477d('0x127c')][_0x477d('0x6c0')]||'')+'${EXTEN}';if(_0x132b93[_0x477d('0x12b9')]!==_0x477d('0x496')){if(_0x547f9a[_0x477d('0x127c')][_0x477d('0x43c')][_0x477d('0x477')](_0x477d('0x12ba'))<0x0){_0x547f9a[_0x477d('0x127c')]['options']+=_0x477d('0x12ba');}}else{_0x547f9a[_0x477d('0x127c')][_0x477d('0x43c')]=_0x547f9a[_0x477d('0x127c')][_0x477d('0x43c')][_0x477d('0x409')](_0x477d('0x12ba'),'');}}if(_0x547f9a['amazonlex'][_0x477d('0x1294')]&&_0x547f9a[_0x477d('0x127c')][_0x477d('0x1294')]===_0x477d('0x9f6')){}else{switch((_0x547f9a[_0x477d('0x127c')]['app']||_0x547f9a['amazonlex']['appType'])[_0x477d('0x449')]()){case _0x477d('0x12af'):_0x547f9a[_0x477d('0x127c')][_0x477d('0x12ae')]=_0x547f9a['amazonlex']['name']+'='+_0x547f9a['amazonlex'][_0x477d('0x3b6')];break;case _0x477d('0x9f6'):break;default:_0x348337[0x0]=_0x547f9a[_0x477d('0x127c')][_0x477d('0x127d')];_0x348337[0x1]=_0x547f9a['amazonlex'][_0x477d('0x127e')];_0x348337[0x2]=_0x547f9a[_0x477d('0x127c')]['lexregion'];_0x348337[0x3]=_0x547f9a[_0x477d('0x127c')][_0x477d('0x1283')];_0x348337[0x4]=_0x547f9a[_0x477d('0x127c')][_0x477d('0x127a')];_0x547f9a['amazonlex'][_0x477d('0x12ae')]=_0x348337[_0x477d('0x3f6')](',');}}_0x3a89b7(_0x547f9a[_0x477d('0x127c')]);}function _0x3a89b7(_0x3a8caf){_0x694ba3[_0x477d('0x3bc')](_0x3a8caf);}}}());(function(){'use strict';_0x9ea61a['$inject']=['$mdDialog','$q',_0x477d('0x40e'),'whatsappAccountApp','whatsappAccount',_0x477d('0x386'),_0x477d('0x55'),_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x3e'))['controller'](_0x477d('0x2734'),_0x9ea61a);function _0x9ea61a(_0x457e98,_0xbd4269,_0x27ea58,_0x536c4e,_0x127473,_0x2caf43,_0x5c8ffc,_0x24c5bd){var _0x28afed=this;_0x28afed[_0x477d('0x3e5')]=_0x5c8ffc[_0x477d('0x5c')]();_0x28afed[_0x477d('0xd67')]=[];_0x28afed['title']=_0x477d('0x2732')+(_0x536c4e[_0x477d('0x1294')]||_0x536c4e[_0x477d('0x1291')])[_0x477d('0x44f')]();_0x28afed[_0x477d('0x1260')]=angular[_0x477d('0x6d9')](_0x536c4e);_0x28afed[_0x477d('0xd66')]=_0x24c5bd;_0x28afed['hasModulePermissions']={};if(_0x28afed['autoreply'][_0x477d('0x12ae')]){switch(_0x28afed[_0x477d('0x1260')]['appType']?_0x28afed['autoreply'][_0x477d('0x1294')]['toLowerCase']():_0x28afed[_0x477d('0x1260')][_0x477d('0x1291')]['toLowerCase']()){case _0x477d('0x9f6'):break;case _0x477d('0x1266'):var _0x46d407=_0x28afed[_0x477d('0x1260')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x28afed[_0x477d('0x1260')][_0x477d('0x670')]=_0x46d407[0x0];_0x28afed['autoreply'][_0x477d('0x1267')]=_0x46d407[0x1];_0x28afed[_0x477d('0x1260')][_0x477d('0x127a')]=_0x46d407['slice'](0x2,_0x46d407[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case'amazonlex':var _0x46d407=_0x28afed[_0x477d('0x1260')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x28afed[_0x477d('0x1260')]['accesskeyid']=_0x46d407[0x0];_0x28afed[_0x477d('0x1260')][_0x477d('0x127e')]=_0x46d407[0x1];_0x28afed[_0x477d('0x1260')][_0x477d('0x127f')]=_0x46d407[0x2];_0x28afed[_0x477d('0x1260')]['botname']=_0x46d407[0x3];_0x28afed['autoreply'][_0x477d('0x127a')]=_0x46d407[_0x477d('0x9cd')](0x4,_0x46d407['length'])[_0x477d('0x3f6')](',');break;case _0x477d('0x1260'):var _0x46d407=_0x28afed[_0x477d('0x1260')][_0x477d('0x12ae')]['split'](',');_0x28afed[_0x477d('0x1260')][_0x477d('0x1261')]=isNaN(_0x46d407[0x0])?_0x46d407[0x0]:parseInt(_0x46d407[0x0],0xa);_0x28afed[_0x477d('0x1260')]['text']=_0x46d407[_0x477d('0x9cd')](0x1,_0x46d407[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case'message':_0x28afed['autoreply'][_0x477d('0x41b')]=_0x28afed['autoreply']['appdata'];break;case _0x477d('0x12af'):_0x28afed[_0x477d('0x1260')][_0x477d('0x94')]=_0x28afed[_0x477d('0x1260')][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x0];_0x28afed[_0x477d('0x1260')][_0x477d('0x3b6')]=_0x28afed[_0x477d('0x1260')][_0x477d('0x12ae')]['split']('=')[0x1];break;case _0x477d('0x12b0'):_0x28afed[_0x477d('0x1260')]['project']=_0x28afed['autoreply'][_0x477d('0x12ae')];break;default:var _0x571d5d=_0x28afed[_0x477d('0x1260')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x28afed[_0x477d('0x1260')][_0x477d('0x1261')]=_[_0x477d('0x3b2')](_0x571d5d[0x0])?_0x571d5d[0x0]:isNaN(_0x571d5d[0x0])?_0x571d5d[0x0]:parseInt(_0x571d5d[0x0],0xa);_0x28afed[_0x477d('0x1260')]['text']=_['isEmpty'](_0x571d5d[0x1])?_0x571d5d[0x1]:isNaN(_0x571d5d[0x1])?_0x571d5d[0x1]:parseInt(_0x571d5d[0x1],0xa);}}else{_0x28afed['autoreply']['times']=0x1;}if(_0x28afed[_0x477d('0x1260')]['type']&&_0x28afed[_0x477d('0x1260')][_0x477d('0x439')][_0x477d('0x449')]()===_0x477d('0x127')&&_0x28afed[_0x477d('0x1260')]['appType']['toLowerCase']()===_0x477d('0x12b1')){_0x28afed[_0x477d('0x1260')]['prefix']=_0x28afed[_0x477d('0x1260')][_0x477d('0xf46')]?_0x28afed[_0x477d('0x1260')][_0x477d('0xf46')]['split']('$')[0x0]:undefined;_0x28afed[_0x477d('0x1260')][_0x477d('0x69b')]=_0x28afed[_0x477d('0x1260')][_0x477d('0x12b2')]?_0x477d('0x12b3')+_0x28afed[_0x477d('0x1260')]['callerID']:undefined;}_0x28afed[_0x477d('0x2733')]=_0x484f50;_0x28afed['closeDialog']=_0x3938e5;function _0x484f50(){_0x28afed[_0x477d('0xd67')]=[];var _0x2b2fc9=[];if(_0x28afed[_0x477d('0x1260')][_0x477d('0x439')]&&_0x28afed[_0x477d('0x1260')]['type'][_0x477d('0x449')]()===_0x477d('0x127')&&_0x28afed['autoreply']['appType']==='outboundDial'){_0x28afed[_0x477d('0x1260')][_0x477d('0xf46')]=_0x127473['cutdigits']?(_0x28afed[_0x477d('0x1260')][_0x477d('0x6c0')]||'')+'${EXTEN:'+_0x127473[_0x477d('0x12b6')]+'}':(_0x28afed['autoreply'][_0x477d('0x6c0')]||'')+_0x477d('0x12b8');if(_0x127473[_0x477d('0x12b9')]!==_0x477d('0x496')){if(_0x28afed[_0x477d('0x1260')][_0x477d('0x43c')][_0x477d('0x477')](_0x477d('0x12ba'))<0x0){_0x28afed[_0x477d('0x1260')]['options']+=_0x477d('0x12ba');}}else{_0x28afed[_0x477d('0x1260')][_0x477d('0x43c')]=_0x28afed['autoreply']['options'][_0x477d('0x409')](_0x477d('0x12ba'),'');}}if(_0x28afed[_0x477d('0x1260')][_0x477d('0x1294')]&&_0x28afed[_0x477d('0x1260')][_0x477d('0x1294')]===_0x477d('0x9f6')){}else{switch((_0x28afed[_0x477d('0x1260')][_0x477d('0x1291')]||_0x28afed[_0x477d('0x1260')]['appType'])[_0x477d('0x449')]()){case _0x477d('0x12af'):_0x28afed[_0x477d('0x1260')][_0x477d('0x12ae')]=_0x28afed[_0x477d('0x1260')][_0x477d('0x94')]+'='+_0x28afed[_0x477d('0x1260')][_0x477d('0x3b6')];break;case _0x477d('0x9f6'):break;default:_0x2b2fc9[0x0]=_0x28afed[_0x477d('0x1260')][_0x477d('0x1261')];_0x2b2fc9[0x1]=_0x28afed['autoreply'][_0x477d('0x41b')];_0x28afed[_0x477d('0x1260')][_0x477d('0x12ae')]=_0x2b2fc9['join'](',');}}_0x3938e5(_0x28afed[_0x477d('0x1260')]);}function _0x3938e5(_0x5c4944){_0x457e98[_0x477d('0x3bc')](_0x5c4944);}}}());(function(){'use strict';_0x27fa4b[_0x477d('0xa')]=[_0x477d('0x384'),'$q','toasty',_0x477d('0x2731'),_0x477d('0x17e2'),_0x477d('0x386'),_0x477d('0x55'),_0x477d('0xd66')];angular['module'](_0x477d('0x3e'))[_0x477d('0x3ba')]('EditWhatsappAccountAppcloseDialogController',_0x27fa4b);function _0x27fa4b(_0x510fbb,_0x310048,_0x20e9ab,_0x199c1d,_0x5632d7,_0x28a62e,_0x1b5703,_0x1c8241){var _0x32215d=this;_0x32215d[_0x477d('0x3e5')]=_0x1b5703[_0x477d('0x5c')]();_0x32215d[_0x477d('0xd67')]=[];_0x32215d[_0x477d('0x49a')]=_0x477d('0x2732')+(_0x199c1d[_0x477d('0x1294')]||_0x199c1d[_0x477d('0x1291')])['toUpperCase']();_0x32215d[_0x477d('0x539')]=angular[_0x477d('0x6d9')](_0x199c1d);_0x32215d['crudPermissions']=_0x1c8241;_0x32215d[_0x477d('0xd68')]={};if(_0x32215d[_0x477d('0x539')][_0x477d('0x12ae')]){switch(_0x32215d['close'][_0x477d('0x1294')]?_0x32215d[_0x477d('0x539')][_0x477d('0x1294')][_0x477d('0x449')]():_0x32215d[_0x477d('0x539')][_0x477d('0x1291')][_0x477d('0x449')]()){case'custom':break;case _0x477d('0x1266'):var _0x2f8d07=_0x32215d['close'][_0x477d('0x12ae')]['split'](',');_0x32215d[_0x477d('0x539')][_0x477d('0x670')]=_0x2f8d07[0x0];_0x32215d[_0x477d('0x539')][_0x477d('0x1267')]=_0x2f8d07[0x1];_0x32215d[_0x477d('0x539')][_0x477d('0x127a')]=_0x2f8d07['slice'](0x2,_0x2f8d07[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x127c'):var _0x2f8d07=_0x32215d['close'][_0x477d('0x12ae')]['split'](',');_0x32215d[_0x477d('0x539')]['accesskeyid']=_0x2f8d07[0x0];_0x32215d[_0x477d('0x539')]['secretaccesskey']=_0x2f8d07[0x1];_0x32215d['close']['lexregion']=_0x2f8d07[0x2];_0x32215d[_0x477d('0x539')][_0x477d('0x1283')]=_0x2f8d07[0x3];_0x32215d[_0x477d('0x539')][_0x477d('0x127a')]=_0x2f8d07[_0x477d('0x9cd')](0x4,_0x2f8d07[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x1260'):var _0x2f8d07=_0x32215d[_0x477d('0x539')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x32215d[_0x477d('0x539')]['times']=isNaN(_0x2f8d07[0x0])?_0x2f8d07[0x0]:parseInt(_0x2f8d07[0x0],0xa);_0x32215d[_0x477d('0x539')][_0x477d('0x41b')]=_0x2f8d07[_0x477d('0x9cd')](0x1,_0x2f8d07[_0x477d('0x79')])['join'](',');break;case _0x477d('0x452'):_0x32215d[_0x477d('0x539')][_0x477d('0x41b')]=_0x32215d[_0x477d('0x539')][_0x477d('0x12ae')];break;case'set':_0x32215d['close']['name']=_0x32215d[_0x477d('0x539')][_0x477d('0x12ae')]['split']('=')[0x0];_0x32215d[_0x477d('0x539')]['value']=_0x32215d[_0x477d('0x539')][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x1];break;case _0x477d('0x12b0'):_0x32215d['close'][_0x477d('0xf13')]=_0x32215d[_0x477d('0x539')][_0x477d('0x12ae')];break;default:var _0x57b07e=_0x32215d[_0x477d('0x539')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x32215d['close'][_0x477d('0xb95')]=_[_0x477d('0x3b2')](_0x57b07e[0x0])?_0x57b07e[0x0]:isNaN(_0x57b07e[0x0])?_0x57b07e[0x0]:parseInt(_0x57b07e[0x0],0xa);}}else{}if(_0x32215d[_0x477d('0x539')][_0x477d('0x439')]&&_0x32215d[_0x477d('0x539')][_0x477d('0x439')][_0x477d('0x449')]()==='outbound'&&_0x32215d[_0x477d('0x539')][_0x477d('0x1294')][_0x477d('0x449')]()==='outbounddial'){_0x32215d['close'][_0x477d('0x6c0')]=_0x32215d['close'][_0x477d('0xf46')]?_0x32215d['close']['phone'][_0x477d('0x472')]('$')[0x0]:undefined;_0x32215d[_0x477d('0x539')][_0x477d('0x69b')]=_0x32215d[_0x477d('0x539')][_0x477d('0x12b2')]?_0x477d('0x12b3')+_0x32215d[_0x477d('0x539')][_0x477d('0x12b2')]:undefined;}_0x32215d[_0x477d('0x2733')]=_0x456a75;_0x32215d[_0x477d('0x6bf')]=_0x38a54b;function _0x456a75(){_0x32215d[_0x477d('0xd67')]=[];var _0x619e2a=[];if(_0x32215d[_0x477d('0x539')][_0x477d('0x439')]&&_0x32215d[_0x477d('0x539')]['type']['toLowerCase']()===_0x477d('0x127')&&_0x32215d[_0x477d('0x539')][_0x477d('0x1294')]===_0x477d('0x12b5')){_0x32215d[_0x477d('0x539')][_0x477d('0xf46')]=_0x5632d7[_0x477d('0x12b6')]?(_0x32215d[_0x477d('0x539')]['prefix']||'')+'${EXTEN:'+_0x5632d7['cutdigits']+'}':(_0x32215d[_0x477d('0x539')][_0x477d('0x6c0')]||'')+'${EXTEN}';if(_0x5632d7[_0x477d('0x12b9')]!==_0x477d('0x496')){if(_0x32215d[_0x477d('0x539')]['options'][_0x477d('0x477')](_0x477d('0x12ba'))<0x0){_0x32215d['close']['options']+=_0x477d('0x12ba');}}else{_0x32215d['close'][_0x477d('0x43c')]=_0x32215d[_0x477d('0x539')][_0x477d('0x43c')][_0x477d('0x409')](_0x477d('0x12ba'),'');}}if(_0x32215d['close'][_0x477d('0x1294')]&&_0x32215d[_0x477d('0x539')]['appType']===_0x477d('0x9f6')){}else{switch((_0x32215d[_0x477d('0x539')][_0x477d('0x1291')]||_0x32215d[_0x477d('0x539')][_0x477d('0x1294')])[_0x477d('0x449')]()){case _0x477d('0x12af'):_0x32215d[_0x477d('0x539')][_0x477d('0x12ae')]=_0x32215d[_0x477d('0x539')]['name']+'='+_0x32215d[_0x477d('0x539')][_0x477d('0x3b6')];break;case _0x477d('0x9f6'):break;default:_0x619e2a[0x0]=_0x32215d[_0x477d('0x539')]['disposition'];_0x32215d[_0x477d('0x539')][_0x477d('0x12ae')]=_0x619e2a[_0x477d('0x3f6')](',');}}_0x38a54b(_0x32215d['close']);}function _0x38a54b(_0x433b67){_0x510fbb[_0x477d('0x3bc')](_0x433b67);}}}());(function(){'use strict';_0x59c980[_0x477d('0xa')]=[_0x477d('0x384'),'$q',_0x477d('0x40e'),_0x477d('0x2731'),_0x477d('0x17e2'),_0x477d('0x386'),'Auth',_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x3e'))[_0x477d('0x3ba')](_0x477d('0x2735'),_0x59c980);function _0x59c980(_0x3d73ff,_0x556d31,_0x16ae9c,_0x215746,_0x48abb5,_0x21bf3c,_0x2797ac,_0x29e151){var _0x509414=this;_0x509414['currentUser']=_0x2797ac['getCurrentUser']();_0x509414[_0x477d('0xd67')]=[];_0x509414[_0x477d('0x49a')]=_0x477d('0x2732')+(_0x215746['appType']||_0x215746['app'])['toUpperCase']();_0x509414[_0x477d('0x1266')]=angular[_0x477d('0x6d9')](_0x215746);_0x509414[_0x477d('0xd66')]=_0x29e151;_0x509414[_0x477d('0xd68')]={};if(_0x509414['dialogflow']['appdata']){switch(_0x509414[_0x477d('0x1266')][_0x477d('0x1294')]?_0x509414[_0x477d('0x1266')][_0x477d('0x1294')]['toLowerCase']():_0x509414['dialogflow'][_0x477d('0x1291')][_0x477d('0x449')]()){case _0x477d('0x9f6'):break;case'dialogflow':var _0x19bb13=_0x509414['dialogflow'][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x509414[_0x477d('0x1266')][_0x477d('0x670')]=_0x19bb13[0x0];_0x509414[_0x477d('0x1266')]['language']=_0x19bb13[0x1];_0x509414['dialogflow']['welcomemessage']=_0x19bb13['slice'](0x2,_0x19bb13['length'])[_0x477d('0x3f6')](',');break;case'amazonlex':var _0x19bb13=_0x509414[_0x477d('0x1266')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x509414[_0x477d('0x1266')]['accesskeyid']=_0x19bb13[0x0];_0x509414[_0x477d('0x1266')][_0x477d('0x127e')]=_0x19bb13[0x1];_0x509414[_0x477d('0x1266')][_0x477d('0x127f')]=_0x19bb13[0x2];_0x509414[_0x477d('0x1266')][_0x477d('0x1283')]=_0x19bb13[0x3];_0x509414[_0x477d('0x1266')]['welcomemessage']=_0x19bb13[_0x477d('0x9cd')](0x4,_0x19bb13[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x1260'):var _0x19bb13=_0x509414[_0x477d('0x1266')]['appdata'][_0x477d('0x472')](',');_0x509414[_0x477d('0x1266')][_0x477d('0x1261')]=isNaN(_0x19bb13[0x0])?_0x19bb13[0x0]:parseInt(_0x19bb13[0x0],0xa);_0x509414[_0x477d('0x1266')][_0x477d('0x41b')]=_0x19bb13['slice'](0x1,_0x19bb13['length'])[_0x477d('0x3f6')](',');break;case'message':_0x509414[_0x477d('0x1266')]['text']=_0x509414['dialogflow'][_0x477d('0x12ae')];break;case _0x477d('0x12af'):_0x509414[_0x477d('0x1266')]['name']=_0x509414[_0x477d('0x1266')][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x0];_0x509414[_0x477d('0x1266')][_0x477d('0x3b6')]=_0x509414[_0x477d('0x1266')]['appdata'][_0x477d('0x472')]('=')[0x1];break;case _0x477d('0x12b0'):_0x509414['dialogflow'][_0x477d('0xf13')]=_0x509414[_0x477d('0x1266')][_0x477d('0x12ae')];break;default:var _0x1a6d53=_0x509414[_0x477d('0x1266')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x509414[_0x477d('0x1266')][_0x477d('0x670')]=_[_0x477d('0x3b2')](_0x1a6d53[0x0])?_0x1a6d53[0x0]:isNaN(_0x1a6d53[0x0])?_0x1a6d53[0x0]:parseInt(_0x1a6d53[0x0],0xa);_0x509414[_0x477d('0x1266')]['language']=_[_0x477d('0x3b2')](_0x1a6d53[0x1])?_0x1a6d53[0x1]:isNaN(_0x1a6d53[0x1])?_0x1a6d53[0x1]:parseInt(_0x1a6d53[0x1],0xa);_0x509414[_0x477d('0x1266')]['welcomemessage']=_[_0x477d('0x3b2')](_0x1a6d53[0x2])?_0x1a6d53[0x2]:isNaN(_0x1a6d53[0x2])?_0x1a6d53[0x2]:parseInt(_0x1a6d53[0x2],0xa);}}else{_0x509414[_0x477d('0x1266')][_0x477d('0x1267')]='en';}if(_0x509414[_0x477d('0x1266')]['type']&&_0x509414[_0x477d('0x1266')][_0x477d('0x439')][_0x477d('0x449')]()==='outbound'&&_0x509414[_0x477d('0x1266')][_0x477d('0x1294')][_0x477d('0x449')]()==='outbounddial'){_0x509414[_0x477d('0x1266')][_0x477d('0x6c0')]=_0x509414[_0x477d('0x1266')][_0x477d('0xf46')]?_0x509414[_0x477d('0x1266')][_0x477d('0xf46')][_0x477d('0x472')]('$')[0x0]:undefined;_0x509414[_0x477d('0x1266')][_0x477d('0x69b')]=_0x509414['dialogflow']['callerID']?_0x477d('0x12b3')+_0x509414[_0x477d('0x1266')][_0x477d('0x12b2')]:undefined;}_0x509414[_0x477d('0x2733')]=_0x5da6ef;_0x509414[_0x477d('0x6bf')]=_0x720858;function _0x5da6ef(){_0x509414[_0x477d('0xd67')]=[];var _0x18f935=[];if(_0x509414['dialogflow'][_0x477d('0x439')]&&_0x509414['dialogflow'][_0x477d('0x439')][_0x477d('0x449')]()==='outbound'&&_0x509414['dialogflow'][_0x477d('0x1294')]===_0x477d('0x12b5')){_0x509414[_0x477d('0x1266')][_0x477d('0xf46')]=_0x48abb5[_0x477d('0x12b6')]?(_0x509414[_0x477d('0x1266')][_0x477d('0x6c0')]||'')+_0x477d('0x12b7')+_0x48abb5[_0x477d('0x12b6')]+'}':(_0x509414[_0x477d('0x1266')]['prefix']||'')+_0x477d('0x12b8');if(_0x48abb5[_0x477d('0x12b9')]!==_0x477d('0x496')){if(_0x509414[_0x477d('0x1266')][_0x477d('0x43c')][_0x477d('0x477')]('U(xcally-mixmonitor-context)')<0x0){_0x509414[_0x477d('0x1266')][_0x477d('0x43c')]+='U(xcally-mixmonitor-context)';}}else{_0x509414[_0x477d('0x1266')]['options']=_0x509414[_0x477d('0x1266')][_0x477d('0x43c')]['replace'](_0x477d('0x12ba'),'');}}if(_0x509414[_0x477d('0x1266')][_0x477d('0x1294')]&&_0x509414['dialogflow'][_0x477d('0x1294')]===_0x477d('0x9f6')){}else{switch((_0x509414['dialogflow'][_0x477d('0x1291')]||_0x509414[_0x477d('0x1266')][_0x477d('0x1294')])[_0x477d('0x449')]()){case _0x477d('0x12af'):_0x509414[_0x477d('0x1266')][_0x477d('0x12ae')]=_0x509414['dialogflow'][_0x477d('0x94')]+'='+_0x509414[_0x477d('0x1266')]['value'];break;case'custom':break;default:_0x18f935[0x0]=_0x509414['dialogflow'][_0x477d('0x670')];_0x18f935[0x1]=_0x509414['dialogflow'][_0x477d('0x1267')];_0x18f935[0x2]=_0x509414[_0x477d('0x1266')][_0x477d('0x127a')];_0x509414['dialogflow'][_0x477d('0x12ae')]=_0x18f935['join'](',');}}_0x720858(_0x509414[_0x477d('0x1266')]);}function _0x720858(_0x46853c){_0x3d73ff[_0x477d('0x3bc')](_0x46853c);}}}());(function(){'use strict';_0x3fcc6f[_0x477d('0xa')]=[_0x477d('0x384'),'$q',_0x477d('0x40e'),_0x477d('0x2731'),'whatsappAccount',_0x477d('0x386'),_0x477d('0x55'),_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x3e'))['controller'](_0x477d('0x2736'),_0x3fcc6f);function _0x3fcc6f(_0x123d47,_0x22c28b,_0x1c8578,_0x326598,_0x1b9730,_0x2b873f,_0x191760,_0x4fae71){var _0x4372d5=this;_0x4372d5[_0x477d('0x3e5')]=_0x191760[_0x477d('0x5c')]();_0x4372d5[_0x477d('0xd67')]=[];_0x4372d5[_0x477d('0x49a')]=_0x477d('0x2732')+(_0x326598['appType']||_0x326598[_0x477d('0x1291')])[_0x477d('0x44f')]();_0x4372d5[_0x477d('0x1252')]=angular['copy'](_0x326598);_0x4372d5[_0x477d('0xd66')]=_0x4fae71;_0x4372d5[_0x477d('0xd68')]={};if(_0x4372d5[_0x477d('0x1252')][_0x477d('0x12ae')]){switch(_0x4372d5[_0x477d('0x1252')][_0x477d('0x1294')]?_0x4372d5[_0x477d('0x1252')][_0x477d('0x1294')]['toLowerCase']():_0x4372d5[_0x477d('0x1252')][_0x477d('0x1291')][_0x477d('0x449')]()){case'custom':break;case _0x477d('0x1266'):var _0x4de359=_0x4372d5['gotoif'][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x4372d5[_0x477d('0x1252')][_0x477d('0x670')]=_0x4de359[0x0];_0x4372d5[_0x477d('0x1252')][_0x477d('0x1267')]=_0x4de359[0x1];_0x4372d5['gotoif'][_0x477d('0x127a')]=_0x4de359[_0x477d('0x9cd')](0x2,_0x4de359[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case'amazonlex':var _0x4de359=_0x4372d5[_0x477d('0x1252')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x4372d5[_0x477d('0x1252')][_0x477d('0x127d')]=_0x4de359[0x0];_0x4372d5[_0x477d('0x1252')][_0x477d('0x127e')]=_0x4de359[0x1];_0x4372d5[_0x477d('0x1252')]['lexregion']=_0x4de359[0x2];_0x4372d5[_0x477d('0x1252')][_0x477d('0x1283')]=_0x4de359[0x3];_0x4372d5[_0x477d('0x1252')][_0x477d('0x127a')]=_0x4de359[_0x477d('0x9cd')](0x4,_0x4de359[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x1260'):var _0x4de359=_0x4372d5[_0x477d('0x1252')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x4372d5['gotoif'][_0x477d('0x1261')]=isNaN(_0x4de359[0x0])?_0x4de359[0x0]:parseInt(_0x4de359[0x0],0xa);_0x4372d5[_0x477d('0x1252')][_0x477d('0x41b')]=_0x4de359[_0x477d('0x9cd')](0x1,_0x4de359['length'])[_0x477d('0x3f6')](',');break;case _0x477d('0x452'):_0x4372d5[_0x477d('0x1252')][_0x477d('0x41b')]=_0x4372d5[_0x477d('0x1252')][_0x477d('0x12ae')];break;case _0x477d('0x12af'):_0x4372d5[_0x477d('0x1252')][_0x477d('0x94')]=_0x4372d5[_0x477d('0x1252')][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x0];_0x4372d5[_0x477d('0x1252')][_0x477d('0x3b6')]=_0x4372d5['gotoif'][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x1];break;case _0x477d('0x12b0'):_0x4372d5[_0x477d('0x1252')][_0x477d('0xf13')]=_0x4372d5[_0x477d('0x1252')]['appdata'];break;default:var _0x96c823=_0x4372d5[_0x477d('0x1252')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x4372d5[_0x477d('0x1252')]['condition']=_['isEmpty'](_0x96c823[0x0])?_0x96c823[0x0]:isNaN(_0x96c823[0x0])?_0x96c823[0x0]:parseInt(_0x96c823[0x0],0xa);_0x4372d5[_0x477d('0x1252')]['truepriority']=_['isEmpty'](_0x96c823[0x1])?_0x96c823[0x1]:isNaN(_0x96c823[0x1])?_0x96c823[0x1]:parseInt(_0x96c823[0x1],0xa);_0x4372d5[_0x477d('0x1252')][_0x477d('0x1255')]=_[_0x477d('0x3b2')](_0x96c823[0x2])?_0x96c823[0x2]:isNaN(_0x96c823[0x2])?_0x96c823[0x2]:parseInt(_0x96c823[0x2],0xa);}}else{}if(_0x4372d5['gotoif'][_0x477d('0x439')]&&_0x4372d5[_0x477d('0x1252')][_0x477d('0x439')][_0x477d('0x449')]()===_0x477d('0x127')&&_0x4372d5[_0x477d('0x1252')]['appType']['toLowerCase']()===_0x477d('0x12b1')){_0x4372d5[_0x477d('0x1252')][_0x477d('0x6c0')]=_0x4372d5[_0x477d('0x1252')]['phone']?_0x4372d5[_0x477d('0x1252')][_0x477d('0xf46')][_0x477d('0x472')]('$')[0x0]:undefined;_0x4372d5[_0x477d('0x1252')]['callerId']=_0x4372d5[_0x477d('0x1252')][_0x477d('0x12b2')]?_0x477d('0x12b3')+_0x4372d5[_0x477d('0x1252')][_0x477d('0x12b2')]:undefined;}_0x4372d5['saveWhatsappAccountApp']=_0x3b7e7c;_0x4372d5[_0x477d('0x6bf')]=_0x183deb;function _0x3b7e7c(){_0x4372d5[_0x477d('0xd67')]=[];var _0x179363=[];if(_0x4372d5[_0x477d('0x1252')][_0x477d('0x439')]&&_0x4372d5[_0x477d('0x1252')][_0x477d('0x439')]['toLowerCase']()===_0x477d('0x127')&&_0x4372d5[_0x477d('0x1252')][_0x477d('0x1294')]===_0x477d('0x12b5')){_0x4372d5['gotoif'][_0x477d('0xf46')]=_0x1b9730[_0x477d('0x12b6')]?(_0x4372d5[_0x477d('0x1252')][_0x477d('0x6c0')]||'')+_0x477d('0x12b7')+_0x1b9730[_0x477d('0x12b6')]+'}':(_0x4372d5['gotoif'][_0x477d('0x6c0')]||'')+_0x477d('0x12b8');if(_0x1b9730[_0x477d('0x12b9')]!=='none'){if(_0x4372d5['gotoif'][_0x477d('0x43c')][_0x477d('0x477')](_0x477d('0x12ba'))<0x0){_0x4372d5[_0x477d('0x1252')][_0x477d('0x43c')]+=_0x477d('0x12ba');}}else{_0x4372d5[_0x477d('0x1252')][_0x477d('0x43c')]=_0x4372d5['gotoif']['options'][_0x477d('0x409')]('U(xcally-mixmonitor-context)','');}}if(_0x4372d5[_0x477d('0x1252')][_0x477d('0x1294')]&&_0x4372d5[_0x477d('0x1252')][_0x477d('0x1294')]===_0x477d('0x9f6')){}else{switch((_0x4372d5[_0x477d('0x1252')][_0x477d('0x1291')]||_0x4372d5[_0x477d('0x1252')]['appType'])['toLowerCase']()){case _0x477d('0x12af'):_0x4372d5['gotoif'][_0x477d('0x12ae')]=_0x4372d5['gotoif'][_0x477d('0x94')]+'='+_0x4372d5['gotoif'][_0x477d('0x3b6')];break;case _0x477d('0x9f6'):break;default:_0x179363[0x0]=_0x4372d5[_0x477d('0x1252')]['condition'];_0x179363[0x1]=_0x4372d5[_0x477d('0x1252')][_0x477d('0x1254')];_0x179363[0x2]=_0x4372d5[_0x477d('0x1252')][_0x477d('0x1255')];_0x4372d5[_0x477d('0x1252')][_0x477d('0x12ae')]=_0x179363[_0x477d('0x3f6')](',');}}_0x183deb(_0x4372d5['gotoif']);}function _0x183deb(_0x55b365){_0x123d47[_0x477d('0x3bc')](_0x55b365);}}}());(function(){'use strict';_0x19f8f8[_0x477d('0xa')]=[_0x477d('0x384'),'$q','toasty',_0x477d('0x2731'),'whatsappAccount',_0x477d('0x386'),'Auth','crudPermissions'];angular[_0x477d('0xb')](_0x477d('0x3e'))[_0x477d('0x3ba')](_0x477d('0x2737'),_0x19f8f8);function _0x19f8f8(_0x2bff8,_0x16b580,_0xafea18,_0x398aa9,_0x35140d,_0x6e40ff,_0x4c17c4,_0x225076){var _0x2de54a=this;_0x2de54a['currentUser']=_0x4c17c4['getCurrentUser']();_0x2de54a[_0x477d('0xd67')]=[];_0x2de54a[_0x477d('0x49a')]=_0x477d('0x2732')+(_0x398aa9['appType']||_0x398aa9[_0x477d('0x1291')])[_0x477d('0x44f')]();_0x2de54a[_0x477d('0x124f')]=angular['copy'](_0x398aa9);_0x2de54a[_0x477d('0xd66')]=_0x225076;_0x2de54a[_0x477d('0xd68')]={};if(_0x2de54a[_0x477d('0x124f')][_0x477d('0x12ae')]){switch(_0x2de54a['gotop']['appType']?_0x2de54a['gotop']['appType']['toLowerCase']():_0x2de54a['gotop'][_0x477d('0x1291')][_0x477d('0x449')]()){case _0x477d('0x9f6'):break;case _0x477d('0x1266'):var _0x405c1d=_0x2de54a[_0x477d('0x124f')]['appdata'][_0x477d('0x472')](',');_0x2de54a[_0x477d('0x124f')][_0x477d('0x670')]=_0x405c1d[0x0];_0x2de54a['gotop'][_0x477d('0x1267')]=_0x405c1d[0x1];_0x2de54a[_0x477d('0x124f')]['welcomemessage']=_0x405c1d[_0x477d('0x9cd')](0x2,_0x405c1d[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x127c'):var _0x405c1d=_0x2de54a[_0x477d('0x124f')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x2de54a[_0x477d('0x124f')][_0x477d('0x127d')]=_0x405c1d[0x0];_0x2de54a[_0x477d('0x124f')][_0x477d('0x127e')]=_0x405c1d[0x1];_0x2de54a[_0x477d('0x124f')][_0x477d('0x127f')]=_0x405c1d[0x2];_0x2de54a[_0x477d('0x124f')][_0x477d('0x1283')]=_0x405c1d[0x3];_0x2de54a['gotop'][_0x477d('0x127a')]=_0x405c1d[_0x477d('0x9cd')](0x4,_0x405c1d[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x1260'):var _0x405c1d=_0x2de54a[_0x477d('0x124f')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x2de54a[_0x477d('0x124f')][_0x477d('0x1261')]=isNaN(_0x405c1d[0x0])?_0x405c1d[0x0]:parseInt(_0x405c1d[0x0],0xa);_0x2de54a[_0x477d('0x124f')]['text']=_0x405c1d['slice'](0x1,_0x405c1d[_0x477d('0x79')])['join'](',');break;case _0x477d('0x452'):_0x2de54a[_0x477d('0x124f')][_0x477d('0x41b')]=_0x2de54a['gotop'][_0x477d('0x12ae')];break;case'set':_0x2de54a['gotop'][_0x477d('0x94')]=_0x2de54a[_0x477d('0x124f')][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x0];_0x2de54a[_0x477d('0x124f')]['value']=_0x2de54a['gotop'][_0x477d('0x12ae')]['split']('=')[0x1];break;case _0x477d('0x12b0'):_0x2de54a[_0x477d('0x124f')][_0x477d('0xf13')]=_0x2de54a[_0x477d('0x124f')][_0x477d('0x12ae')];break;default:var _0x189b77=_0x2de54a[_0x477d('0x124f')][_0x477d('0x12ae')]['split'](',');_0x2de54a[_0x477d('0x124f')][_0x477d('0x1243')]=_[_0x477d('0x3b2')](_0x189b77[0x0])?_0x189b77[0x0]:isNaN(_0x189b77[0x0])?_0x189b77[0x0]:parseInt(_0x189b77[0x0],0xa);}}else{}if(_0x2de54a[_0x477d('0x124f')][_0x477d('0x439')]&&_0x2de54a[_0x477d('0x124f')]['type']['toLowerCase']()===_0x477d('0x127')&&_0x2de54a['gotop']['appType'][_0x477d('0x449')]()===_0x477d('0x12b1')){_0x2de54a['gotop'][_0x477d('0x6c0')]=_0x2de54a[_0x477d('0x124f')]['phone']?_0x2de54a[_0x477d('0x124f')][_0x477d('0xf46')][_0x477d('0x472')]('$')[0x0]:undefined;_0x2de54a['gotop']['callerId']=_0x2de54a[_0x477d('0x124f')][_0x477d('0x12b2')]?_0x477d('0x12b3')+_0x2de54a['gotop']['callerID']:undefined;}_0x2de54a[_0x477d('0x2733')]=_0x23043c;_0x2de54a[_0x477d('0x6bf')]=_0x13593b;function _0x23043c(){_0x2de54a[_0x477d('0xd67')]=[];var _0x4926c3=[];if(_0x2de54a[_0x477d('0x124f')][_0x477d('0x439')]&&_0x2de54a['gotop'][_0x477d('0x439')][_0x477d('0x449')]()===_0x477d('0x127')&&_0x2de54a[_0x477d('0x124f')][_0x477d('0x1294')]===_0x477d('0x12b5')){_0x2de54a['gotop'][_0x477d('0xf46')]=_0x35140d[_0x477d('0x12b6')]?(_0x2de54a['gotop']['prefix']||'')+_0x477d('0x12b7')+_0x35140d['cutdigits']+'}':(_0x2de54a[_0x477d('0x124f')][_0x477d('0x6c0')]||'')+'${EXTEN}';if(_0x35140d['recordingFormat']!==_0x477d('0x496')){if(_0x2de54a['gotop']['options'][_0x477d('0x477')](_0x477d('0x12ba'))<0x0){_0x2de54a[_0x477d('0x124f')][_0x477d('0x43c')]+=_0x477d('0x12ba');}}else{_0x2de54a[_0x477d('0x124f')][_0x477d('0x43c')]=_0x2de54a[_0x477d('0x124f')][_0x477d('0x43c')][_0x477d('0x409')]('U(xcally-mixmonitor-context)','');}}if(_0x2de54a[_0x477d('0x124f')][_0x477d('0x1294')]&&_0x2de54a['gotop']['appType']==='custom'){}else{switch((_0x2de54a[_0x477d('0x124f')][_0x477d('0x1291')]||_0x2de54a[_0x477d('0x124f')][_0x477d('0x1294')])[_0x477d('0x449')]()){case _0x477d('0x12af'):_0x2de54a[_0x477d('0x124f')][_0x477d('0x12ae')]=_0x2de54a['gotop'][_0x477d('0x94')]+'='+_0x2de54a['gotop'][_0x477d('0x3b6')];break;case'custom':break;default:_0x4926c3[0x0]=_0x2de54a['gotop'][_0x477d('0x1243')];_0x2de54a['gotop'][_0x477d('0x12ae')]=_0x4926c3[_0x477d('0x3f6')](',');}}_0x13593b(_0x2de54a['gotop']);}function _0x13593b(_0x465144){_0x2bff8[_0x477d('0x3bc')](_0x465144);}}}());(function(){'use strict';_0x3e86a6[_0x477d('0xa')]=[_0x477d('0x3c4'),'$mdDialog',_0x477d('0x6d3'),_0x477d('0xd14'),_0x477d('0x79c'),_0x477d('0x1298'),_0x477d('0x40e'),_0x477d('0x386'),'Auth',_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x2f'))[_0x477d('0x3ba')](_0x477d('0x2738'),_0x3e86a6);function _0x3e86a6(_0x58b78f,_0x4f5c38,_0x17270f,_0x5379ad,_0x2e8b12,_0x4fffbc,_0x574cc7,_0x459ed2,_0x58b189,_0x2a4355){var _0x2afbe1=this;_0x2afbe1['currentUser']=_0x58b189[_0x477d('0x5c')]();_0x2afbe1['errors']=[];_0x2afbe1[_0x477d('0x49a')]=_0x477d('0x12be');_0x2afbe1['interval']=angular[_0x477d('0x6d9')](_0x2e8b12);_0x2afbe1[_0x477d('0x1298')]=_0x4fffbc;_0x2afbe1[_0x477d('0x12bf')]=![];_0x2afbe1[_0x477d('0x12c0')]=['always',_0x477d('0x9f6'),'list'];_0x2afbe1[_0x477d('0xd66')]=_0x2a4355;_0x2afbe1[_0x477d('0x12c1')]=_0x5379ad[_0x477d('0x12c2')]();_0x2afbe1[_0x477d('0x12c3')]=_0x5379ad[_0x477d('0x12c4')]();_0x2afbe1[_0x477d('0x12c5')]=_0x5379ad[_0x477d('0x192f')]();_0x2afbe1['daysOfMonth']=_0x5379ad[_0x477d('0x12c7')]();if(!_0x2afbe1[_0x477d('0x79c')]){_0x2afbe1[_0x477d('0x79c')]={'interval':_0x477d('0x1249')};_0x2afbe1['type']=_0x477d('0x1247');_0x2afbe1[_0x477d('0x49a')]=_0x477d('0x1930');_0x2afbe1[_0x477d('0x12bf')]=!![];}else{if(_0x2afbe1[_0x477d('0x79c')][_0x477d('0x79c')]!==_0x477d('0x1249')){_0x2afbe1['type']=_0x477d('0x9f6');var _0xc0b479=_0x2afbe1[_0x477d('0x79c')][_0x477d('0x79c')][_0x477d('0x472')](',');var _0x444624=_0xc0b479[0x0];var _0x4970a6=_0xc0b479[0x1];var _0x1d3a14=_0xc0b479[0x2];var _0x5b94d7=_0xc0b479[0x3];if(_0x444624!=='*'){var _0x40cdbb=_0x444624[_0x477d('0x472')]('-')[0x0];var _0x4a6859=_0x444624['split']('-')[0x1];var _0x1624dc;_0x1624dc=new Date();_0x1624dc[_0x477d('0x12c8')](Number(_0x40cdbb[_0x477d('0x472')](':')[0x0]));_0x1624dc['setMinutes'](Number(_0x40cdbb[_0x477d('0x472')](':')[0x1]));_0x2afbe1['timeRangeFrom']=_0x1624dc;_0x1624dc=new Date();_0x1624dc['setHours'](Number(_0x4a6859['split'](':')[0x0]));_0x1624dc[_0x477d('0x12c9')](Number(_0x4a6859[_0x477d('0x472')](':')[0x1]));_0x2afbe1[_0x477d('0x12ca')]=_0x1624dc;}if(_0x4970a6!=='*'){_0x2afbe1[_0x477d('0x12d4')]=_0x4970a6['split']('-')[0x0];_0x2afbe1['dayOfWeekTo']=_0x4970a6[_0x477d('0x472')]('-')[0x1];}if(_0x1d3a14!=='*'){_0x2afbe1[_0x477d('0x12d5')]=_0x1d3a14[_0x477d('0x472')]('-')[0x0];_0x2afbe1[_0x477d('0x12d6')]=_0x1d3a14[_0x477d('0x472')]('-')[0x1];}if(_0x5b94d7!=='*'){_0x2afbe1['monthFrom']=_0x5b94d7[_0x477d('0x472')]('-')[0x0];_0x2afbe1[_0x477d('0x12cd')]=_0x5b94d7['split']('-')[0x1];}}else{_0x2afbe1[_0x477d('0x439')]=_0x477d('0x1247');}}if(_0x58b78f['params']['id']&&!_0x2afbe1[_0x477d('0x79c')]['application']){_0x2afbe1[_0x477d('0x79c')]['IntervalId']=_0x58b78f[_0x477d('0x37e')]['id'];}if(_0x2afbe1[_0x477d('0x79c')][_0x477d('0xf8c')]&&_0x2afbe1['interval'][_0x477d('0xf55')]){_0x2afbe1[_0x477d('0x439')]='list';}_0x2afbe1['addNewInterval']=_0x3cbf5c;_0x2afbe1[_0x477d('0x1931')]=_0x545af8;_0x2afbe1[_0x477d('0x6bf')]=_0xd36b0d;if(_0x2afbe1['interval'][_0x477d('0xf55')]){_0x58b189[_0x477d('0x56')]('admin')?_0x459ed2['interval'][_0x477d('0x376')]({'fields':_0x477d('0x12cf'),'IntervalId':_0x477d('0xea'),'nolimit':!![]})[_0x477d('0x38b')]['then'](function(_0x3c689c){_0x2afbe1['intervals']=_0x3c689c[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x6b910d){_0x574cc7[_0x477d('0x44a')]({'title':_0x6b910d['status']?_0x477d('0x44b')+_0x6b910d[_0x477d('0x3c3')]+'\x20-\x20'+_0x6b910d['statusText']:'SYSTEM:GET_INTERVALS','msg':_0x6b910d[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x6b910d[_0x477d('0x451')]):_0x6b910d[_0x477d('0x453')]()});}):_0x459ed2['interval'][_0x477d('0x376')]({'fields':_0x477d('0x12cf'),'IntervalId':_0x477d('0xea'),'nolimit':!![]})[_0x477d('0x38b')]['then'](function(_0x533df5){_0x2afbe1[_0x477d('0x1298')]=_0x533df5[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x459ed2[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x2afbe1[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x3ec})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x3980e2){var _0x3b8aa9=_0x3980e2&&_0x3980e2[_0x477d('0xf2')]?_0x3980e2['rows'][0x0]:null;if(!_0x3b8aa9){_0x2afbe1[_0x477d('0x1298')]=[];}else{if(!_0x3b8aa9[_0x477d('0x3ad')]){return _0x459ed2[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x3b8aa9['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x40019b){var _0x1970a4=_0x40019b&&_0x40019b[_0x477d('0xf2')]?_0x40019b['rows']:[];var _0x3536cf=[];var _0x1236f6=null;if(_0x2afbe1[_0x477d('0x79c')]){_0x1236f6=_[_0x477d('0x10a')](_0x2afbe1[_0x477d('0x1298')],{'name':_0x2afbe1[_0x477d('0x79c')][_0x477d('0xf8c')]});}if(_0x1236f6&&!_[_0x477d('0x3ab')](_0x1970a4,[_0x477d('0x3af'),_0x1236f6['id']])){_0x2afbe1['intervals'][_0x477d('0x3b1')](function(_0x11b1a8){if(_0x11b1a8['id']===_0x1236f6['id']){_0x11b1a8[_0x477d('0xf8b')]=![];_0x3536cf['push'](_0x11b1a8);}});}_0x2afbe1[_0x477d('0x1298')]=_0x3536cf;});}}})[_0x477d('0xf8')](function(_0xb1aca){_0x574cc7[_0x477d('0x44a')]({'title':_0xb1aca[_0x477d('0x3c3')]?_0x477d('0x44b')+_0xb1aca[_0x477d('0x3c3')]+_0x477d('0x44c')+_0xb1aca['statusText']:_0x477d('0x12d0'),'msg':_0xb1aca[_0x477d('0x451')]?JSON['stringify'](_0xb1aca[_0x477d('0x451')]):_0xb1aca[_0x477d('0x453')]()});});}function _0x26537b(){switch(_0x2afbe1['type']){case _0x477d('0x1247'):case _0x477d('0xa02'):return _0x477d('0x1249');case _0x477d('0x9f6'):var _0x320c0f=[];if(_0x2afbe1[_0x477d('0x12d1')]!=='*'&&_0x2afbe1[_0x477d('0x12d1')]&&_0x2afbe1[_0x477d('0x12ca')]){var _0x2dd060=(_0x2afbe1[_0x477d('0x12d1')][_0x477d('0x12d2')]()<0xa?'0':'')+_0x2afbe1[_0x477d('0x12d1')]['getHours']()+':'+((_0x2afbe1[_0x477d('0x12d1')][_0x477d('0x12d3')]()<0xa?'0':'')+_0x2afbe1[_0x477d('0x12d1')]['getMinutes']());var _0x439364=(_0x2afbe1[_0x477d('0x12ca')]['getHours']()<0xa?'0':'')+_0x2afbe1[_0x477d('0x12ca')][_0x477d('0x12d2')]()+':'+((_0x2afbe1[_0x477d('0x12ca')][_0x477d('0x12d3')]()<0xa?'0':'')+_0x2afbe1[_0x477d('0x12ca')]['getMinutes']());_0x320c0f[_0x477d('0x3a7')](_0x2dd060+'-'+_0x439364);}else{_0x320c0f['push']('*');}if(_0x2afbe1[_0x477d('0x12d4')]){if(_0x2afbe1[_0x477d('0x12cb')]){_0x320c0f[_0x477d('0x3a7')](_0x2afbe1[_0x477d('0x12d4')]+'-'+_0x2afbe1['dayOfWeekTo']);}else{_0x320c0f['push'](_0x2afbe1['dayOfWeekFrom']);}}else{_0x320c0f[_0x477d('0x3a7')]('*');}if(_0x2afbe1['monthDayFrom']){if(_0x2afbe1[_0x477d('0x12d6')]){_0x320c0f['push'](_0x2afbe1[_0x477d('0x12d5')]+'-'+_0x2afbe1[_0x477d('0x12d6')]);}else{_0x320c0f[_0x477d('0x3a7')](_0x2afbe1[_0x477d('0x12d5')]);}}else{_0x320c0f[_0x477d('0x3a7')]('*');}if(_0x2afbe1['monthFrom']){if(_0x2afbe1[_0x477d('0x12cd')]){_0x320c0f[_0x477d('0x3a7')](_0x2afbe1[_0x477d('0x12cc')]+'-'+_0x2afbe1[_0x477d('0x12cd')]);}else{_0x320c0f[_0x477d('0x3a7')](_0x2afbe1[_0x477d('0x12cc')]);}}else{_0x320c0f[_0x477d('0x3a7')]('*');}return _0x320c0f[_0x477d('0x3f6')]();}}function _0x3cbf5c(){_0x2afbe1['errors']=[];_0x2afbe1[_0x477d('0x79c')]['interval']=_0x26537b();_0x459ed2['interval'][_0x477d('0xd70')](_0x2afbe1[_0x477d('0x79c')])[_0x477d('0x38b')]['then'](function(_0x586939){_0x2afbe1[_0x477d('0x1298')][_0x477d('0x3a7')](_0x586939);_0x574cc7['success']({'title':_0x477d('0x12d7'),'msg':_0x2afbe1[_0x477d('0x79c')][_0x477d('0x94')]?_0x2afbe1[_0x477d('0x79c')][_0x477d('0x94')]+_0x477d('0xd73'):''});_0xd36b0d();})[_0x477d('0xf8')](function(_0x3bbad2){console[_0x477d('0x44a')](_0x3bbad2);_0x2afbe1[_0x477d('0xd67')]=_0x3bbad2[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x3bbad2[_0x477d('0x453')](),'type':_0x477d('0x12d8')}];});}function _0x545af8(){_0x2afbe1[_0x477d('0xd67')]=[];_0x2afbe1[_0x477d('0x79c')]['interval']=_0x26537b();if(_0x2afbe1[_0x477d('0x79c')][_0x477d('0xf55')]){_0x2afbe1['type']!=='list'&&(_0x2afbe1[_0x477d('0x79c')][_0x477d('0xf8c')]=null);_0xd36b0d(_0x2afbe1[_0x477d('0x79c')]);}else{_0x459ed2['interval'][_0x477d('0x710')]({'id':_0x2afbe1['interval']['id']},_0x2afbe1[_0x477d('0x79c')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x50f739){var _0x4f3ed1=_[_0x477d('0x10a')](_0x2afbe1[_0x477d('0x1298')],{'id':_0x50f739['id']});if(_0x4f3ed1){_[_0x477d('0xef')](_0x4f3ed1,_0x50f739);}_0x574cc7[_0x477d('0x485')]({'title':'Interval\x20properly\x20saved!','msg':'Interval\x20has\x20been\x20saved!'});_0xd36b0d();})[_0x477d('0xf8')](function(_0x230dd2){console[_0x477d('0x44a')](_0x230dd2);_0x2afbe1[_0x477d('0xd67')]=_0x230dd2['data'][_0x477d('0xd67')]||[{'message':_0x230dd2['toString'](),'type':_0x477d('0x12db')}];});}}function _0xd36b0d(_0x900c30){_0x4f5c38['hide'](_0x900c30);}}}());(function(){'use strict';_0x2360fd[_0x477d('0xa')]=[_0x477d('0x384'),'$q',_0x477d('0x40e'),_0x477d('0x2731'),_0x477d('0x17e2'),_0x477d('0x386'),'Auth',_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x3e'))[_0x477d('0x3ba')]('EditWhatsappAccountAppnoopDialogController',_0x2360fd);function _0x2360fd(_0x45902e,_0x3dd16e,_0x50acf2,_0x399fbe,_0x12c725,_0x41bd32,_0x2e2314,_0x475ac8){var _0xd460a0=this;_0xd460a0[_0x477d('0x3e5')]=_0x2e2314['getCurrentUser']();_0xd460a0['errors']=[];_0xd460a0[_0x477d('0x49a')]='WHATSAPP.EDIT_'+(_0x399fbe[_0x477d('0x1294')]||_0x399fbe['app'])[_0x477d('0x44f')]();_0xd460a0[_0x477d('0x3c6')]=angular[_0x477d('0x6d9')](_0x399fbe);_0xd460a0[_0x477d('0xd66')]=_0x475ac8;_0xd460a0['hasModulePermissions']={};if(_0xd460a0['noop'][_0x477d('0x12ae')]){switch(_0xd460a0['noop'][_0x477d('0x1294')]?_0xd460a0[_0x477d('0x3c6')][_0x477d('0x1294')][_0x477d('0x449')]():_0xd460a0['noop'][_0x477d('0x1291')][_0x477d('0x449')]()){case'custom':break;case _0x477d('0x1266'):var _0x5f0056=_0xd460a0[_0x477d('0x3c6')]['appdata'][_0x477d('0x472')](',');_0xd460a0[_0x477d('0x3c6')][_0x477d('0x670')]=_0x5f0056[0x0];_0xd460a0['noop'][_0x477d('0x1267')]=_0x5f0056[0x1];_0xd460a0[_0x477d('0x3c6')][_0x477d('0x127a')]=_0x5f0056['slice'](0x2,_0x5f0056[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case'amazonlex':var _0x5f0056=_0xd460a0[_0x477d('0x3c6')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0xd460a0[_0x477d('0x3c6')][_0x477d('0x127d')]=_0x5f0056[0x0];_0xd460a0['noop']['secretaccesskey']=_0x5f0056[0x1];_0xd460a0[_0x477d('0x3c6')]['lexregion']=_0x5f0056[0x2];_0xd460a0[_0x477d('0x3c6')][_0x477d('0x1283')]=_0x5f0056[0x3];_0xd460a0[_0x477d('0x3c6')][_0x477d('0x127a')]=_0x5f0056[_0x477d('0x9cd')](0x4,_0x5f0056['length'])[_0x477d('0x3f6')](',');break;case _0x477d('0x1260'):var _0x5f0056=_0xd460a0['noop'][_0x477d('0x12ae')][_0x477d('0x472')](',');_0xd460a0['noop'][_0x477d('0x1261')]=isNaN(_0x5f0056[0x0])?_0x5f0056[0x0]:parseInt(_0x5f0056[0x0],0xa);_0xd460a0['noop'][_0x477d('0x41b')]=_0x5f0056['slice'](0x1,_0x5f0056['length'])['join'](',');break;case _0x477d('0x452'):_0xd460a0['noop'][_0x477d('0x41b')]=_0xd460a0[_0x477d('0x3c6')][_0x477d('0x12ae')];break;case _0x477d('0x12af'):_0xd460a0[_0x477d('0x3c6')]['name']=_0xd460a0[_0x477d('0x3c6')]['appdata']['split']('=')[0x0];_0xd460a0['noop'][_0x477d('0x3b6')]=_0xd460a0[_0x477d('0x3c6')][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x1];break;case _0x477d('0x12b0'):_0xd460a0[_0x477d('0x3c6')][_0x477d('0xf13')]=_0xd460a0[_0x477d('0x3c6')]['appdata'];break;default:var _0x2f2126=_0xd460a0['noop'][_0x477d('0x12ae')][_0x477d('0x472')](',');_0xd460a0['noop'][_0x477d('0x3b6')]=_['isEmpty'](_0x2f2126[0x0])?_0x2f2126[0x0]:isNaN(_0x2f2126[0x0])?_0x2f2126[0x0]:parseInt(_0x2f2126[0x0],0xa);}}else{}if(_0xd460a0[_0x477d('0x3c6')][_0x477d('0x439')]&&_0xd460a0['noop'][_0x477d('0x439')][_0x477d('0x449')]()===_0x477d('0x127')&&_0xd460a0[_0x477d('0x3c6')]['appType']['toLowerCase']()===_0x477d('0x12b1')){_0xd460a0[_0x477d('0x3c6')][_0x477d('0x6c0')]=_0xd460a0[_0x477d('0x3c6')][_0x477d('0xf46')]?_0xd460a0[_0x477d('0x3c6')][_0x477d('0xf46')][_0x477d('0x472')]('$')[0x0]:undefined;_0xd460a0[_0x477d('0x3c6')][_0x477d('0x69b')]=_0xd460a0[_0x477d('0x3c6')][_0x477d('0x12b2')]?_0x477d('0x12b3')+_0xd460a0['noop'][_0x477d('0x12b2')]:undefined;}_0xd460a0[_0x477d('0x2733')]=_0x6ee557;_0xd460a0[_0x477d('0x6bf')]=_0x6dbaac;function _0x6ee557(){_0xd460a0['errors']=[];var _0x9100a5=[];if(_0xd460a0[_0x477d('0x3c6')]['type']&&_0xd460a0[_0x477d('0x3c6')]['type'][_0x477d('0x449')]()===_0x477d('0x127')&&_0xd460a0[_0x477d('0x3c6')][_0x477d('0x1294')]==='outboundDial'){_0xd460a0[_0x477d('0x3c6')][_0x477d('0xf46')]=_0x12c725[_0x477d('0x12b6')]?(_0xd460a0[_0x477d('0x3c6')][_0x477d('0x6c0')]||'')+_0x477d('0x12b7')+_0x12c725[_0x477d('0x12b6')]+'}':(_0xd460a0[_0x477d('0x3c6')]['prefix']||'')+_0x477d('0x12b8');if(_0x12c725[_0x477d('0x12b9')]!=='none'){if(_0xd460a0[_0x477d('0x3c6')]['options']['indexOf'](_0x477d('0x12ba'))<0x0){_0xd460a0['noop'][_0x477d('0x43c')]+='U(xcally-mixmonitor-context)';}}else{_0xd460a0[_0x477d('0x3c6')][_0x477d('0x43c')]=_0xd460a0['noop'][_0x477d('0x43c')][_0x477d('0x409')]('U(xcally-mixmonitor-context)','');}}if(_0xd460a0[_0x477d('0x3c6')]['appType']&&_0xd460a0[_0x477d('0x3c6')][_0x477d('0x1294')]==='custom'){}else{switch((_0xd460a0[_0x477d('0x3c6')]['app']||_0xd460a0[_0x477d('0x3c6')][_0x477d('0x1294')])['toLowerCase']()){case _0x477d('0x12af'):_0xd460a0[_0x477d('0x3c6')][_0x477d('0x12ae')]=_0xd460a0[_0x477d('0x3c6')][_0x477d('0x94')]+'='+_0xd460a0[_0x477d('0x3c6')][_0x477d('0x3b6')];break;case _0x477d('0x9f6'):break;default:_0x9100a5[0x0]=_0xd460a0[_0x477d('0x3c6')]['value'];_0xd460a0[_0x477d('0x3c6')]['appdata']=_0x9100a5[_0x477d('0x3f6')](',');}}_0x6dbaac(_0xd460a0[_0x477d('0x3c6')]);}function _0x6dbaac(_0x2ad07a){_0x45902e[_0x477d('0x3bc')](_0x2ad07a);}}}());(function(){'use strict';_0x2a49c1['$inject']=[_0x477d('0x384'),'$q','toasty',_0x477d('0x2731'),_0x477d('0x17e2'),'api',_0x477d('0x55'),'crudPermissions'];angular[_0x477d('0xb')](_0x477d('0x3e'))[_0x477d('0x3ba')](_0x477d('0x2739'),_0x2a49c1);function _0x2a49c1(_0x2e86d2,_0x44999a,_0x3b28a5,_0x2492c8,_0x3e43b,_0x2b86e2,_0x2bff4c,_0x5894fc){var _0x293f71=this;_0x293f71[_0x477d('0x3e5')]=_0x2bff4c['getCurrentUser']();_0x293f71['errors']=[];_0x293f71[_0x477d('0x49a')]=_0x477d('0x2732')+(_0x2492c8[_0x477d('0x1294')]||_0x2492c8[_0x477d('0x1291')])['toUpperCase']();_0x293f71['queue']=angular['copy'](_0x2492c8);_0x293f71['crudPermissions']=_0x5894fc;_0x293f71['hasModulePermissions']={};if(_0x293f71[_0x477d('0x1256')][_0x477d('0x12ae')]){switch(_0x293f71[_0x477d('0x1256')][_0x477d('0x1294')]?_0x293f71[_0x477d('0x1256')][_0x477d('0x1294')][_0x477d('0x449')]():_0x293f71[_0x477d('0x1256')][_0x477d('0x1291')][_0x477d('0x449')]()){case'custom':break;case _0x477d('0x1266'):var _0x564afb=_0x293f71['queue'][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x293f71[_0x477d('0x1256')]['key']=_0x564afb[0x0];_0x293f71[_0x477d('0x1256')][_0x477d('0x1267')]=_0x564afb[0x1];_0x293f71[_0x477d('0x1256')][_0x477d('0x127a')]=_0x564afb[_0x477d('0x9cd')](0x2,_0x564afb[_0x477d('0x79')])['join'](',');break;case _0x477d('0x127c'):var _0x564afb=_0x293f71[_0x477d('0x1256')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x293f71[_0x477d('0x1256')]['accesskeyid']=_0x564afb[0x0];_0x293f71[_0x477d('0x1256')][_0x477d('0x127e')]=_0x564afb[0x1];_0x293f71['queue']['lexregion']=_0x564afb[0x2];_0x293f71[_0x477d('0x1256')][_0x477d('0x1283')]=_0x564afb[0x3];_0x293f71[_0x477d('0x1256')]['welcomemessage']=_0x564afb[_0x477d('0x9cd')](0x4,_0x564afb[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case'autoreply':var _0x564afb=_0x293f71[_0x477d('0x1256')]['appdata'][_0x477d('0x472')](',');_0x293f71['queue'][_0x477d('0x1261')]=isNaN(_0x564afb[0x0])?_0x564afb[0x0]:parseInt(_0x564afb[0x0],0xa);_0x293f71['queue'][_0x477d('0x41b')]=_0x564afb['slice'](0x1,_0x564afb[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x452'):_0x293f71['queue']['text']=_0x293f71[_0x477d('0x1256')][_0x477d('0x12ae')];break;case'set':_0x293f71[_0x477d('0x1256')][_0x477d('0x94')]=_0x293f71[_0x477d('0x1256')][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x0];_0x293f71[_0x477d('0x1256')][_0x477d('0x3b6')]=_0x293f71[_0x477d('0x1256')][_0x477d('0x12ae')]['split']('=')[0x1];break;case _0x477d('0x12b0'):_0x293f71[_0x477d('0x1256')][_0x477d('0xf13')]=_0x293f71[_0x477d('0x1256')][_0x477d('0x12ae')];break;default:var _0x5add15=_0x293f71[_0x477d('0x1256')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x293f71[_0x477d('0x1256')][_0x477d('0x1256')]=_[_0x477d('0x3b2')](_0x5add15[0x0])?_0x5add15[0x0]:isNaN(_0x5add15[0x0])?_0x5add15[0x0]:parseInt(_0x5add15[0x0],0xa);_0x293f71[_0x477d('0x1256')]['timeout']=_['isEmpty'](_0x5add15[0x1])?_0x5add15[0x1]:isNaN(_0x5add15[0x1])?_0x5add15[0x1]:parseInt(_0x5add15[0x1],0xa);}}else{_0x293f71[_0x477d('0x1256')][_0x477d('0x1256')]=0x12c;_0x293f71[_0x477d('0x1256')][_0x477d('0x91b')]=0x12c;}if(_0x293f71[_0x477d('0x1256')]['type']&&_0x293f71['queue'][_0x477d('0x439')][_0x477d('0x449')]()==='outbound'&&_0x293f71['queue'][_0x477d('0x1294')]['toLowerCase']()===_0x477d('0x12b1')){_0x293f71[_0x477d('0x1256')]['prefix']=_0x293f71[_0x477d('0x1256')][_0x477d('0xf46')]?_0x293f71[_0x477d('0x1256')][_0x477d('0xf46')][_0x477d('0x472')]('$')[0x0]:undefined;_0x293f71[_0x477d('0x1256')][_0x477d('0x69b')]=_0x293f71[_0x477d('0x1256')][_0x477d('0x12b2')]?_0x477d('0x12b3')+_0x293f71[_0x477d('0x1256')]['callerID']:undefined;}_0x293f71[_0x477d('0x2733')]=_0x20b7c1;_0x293f71['closeDialog']=_0x104a3f;_0x2bff4c[_0x477d('0x56')](_0x477d('0x5f'))?_0x2b86e2[_0x477d('0xcfa')][_0x477d('0x376')]({'fields':'id,name,type','sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x3d26a3){_0x293f71[_0x477d('0xf2f')]=_0x3d26a3[_0x477d('0xf2')]||[];})['catch'](function(_0x21a3af){_0x3b28a5[_0x477d('0x44a')]({'title':_0x21a3af[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x21a3af['status']+_0x477d('0x44c')+_0x21a3af[_0x477d('0x44d')]:_0x477d('0x1934'),'msg':_0x21a3af[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x21a3af[_0x477d('0x451')]):_0x21a3af[_0x477d('0x453')]()});}):_0x2b86e2[_0x477d('0xcfa')][_0x477d('0x376')]({'fields':_0x477d('0x12de'),'sort':'name','nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')]['then'](function(_0x38dbc9){_0x293f71[_0x477d('0xf2f')]=_0x38dbc9[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0x2b86e2[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x293f71[_0x477d('0x3e5')]['userProfileId'],'sectionId':0x836})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x302f9d){var _0x38bac3=_0x302f9d&&_0x302f9d[_0x477d('0xf2')]?_0x302f9d[_0x477d('0xf2')][0x0]:null;if(!_0x38bac3){var _0xc0ffaa=[];var _0x2622f5=null;if(_0x293f71[_0x477d('0x1256')]){_0x2622f5=_[_0x477d('0x10a')](_0x293f71[_0x477d('0xf2f')],{'name':_0x293f71['queue']['queue']});}for(var _0x597d8b=0x0;_0x597d8b<_0x293f71[_0x477d('0xf2f')][_0x477d('0x79')];_0x597d8b++){if(_0x2622f5&&_0x293f71['queues'][_0x597d8b]['id']===_0x2622f5['id']){_0x293f71[_0x477d('0xf2f')][_0x597d8b]['canSelect']=![];_0xc0ffaa[_0x477d('0x3a7')](_0x293f71[_0x477d('0xf2f')][_0x597d8b]);}}_0x293f71[_0x477d('0xf2f')]=_0xc0ffaa;}else{if(!_0x38bac3['autoAssociation']){return _0x2b86e2['userProfileResource'][_0x477d('0x376')]({'sectionId':_0x38bac3['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x7a32f4){var _0xbc657=_[_0x477d('0x3cb')](_0x7a32f4['rows'],function(_0x32228e){return _[_0x477d('0x10a')](_0x293f71[_0x477d('0xf2f')],{'id':_0x32228e['resourceId']});});var _0x4792a4=null;if(_0x293f71[_0x477d('0x1256')]){_0x4792a4=_[_0x477d('0x10a')](_0x293f71['queues'],{'name':_0x293f71['queue'][_0x477d('0x1256')]});}if(_0x4792a4&&!_[_0x477d('0x3ab')](_0xbc657,['id',_0x4792a4['id']])){var _0x4e2c10=_[_0x477d('0x10a')](_0x293f71[_0x477d('0xf2f')],{'id':_0x4792a4['id']});_0x4e2c10[_0x477d('0xf8b')]=![];_0xbc657[_0x477d('0x3a7')](_0x4e2c10);}_0x293f71[_0x477d('0xf2f')]=_0xbc657;});}}})[_0x477d('0xf8')](function(_0x38a6a4){_0x3b28a5['error']({'title':_0x38a6a4[_0x477d('0x3c3')]?'API:'+_0x38a6a4[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x38a6a4[_0x477d('0x44d')]:_0x477d('0x12df'),'msg':_0x38a6a4[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x38a6a4[_0x477d('0x451')]):_0x38a6a4['toString']()});});function _0x20b7c1(){_0x293f71[_0x477d('0xd67')]=[];var _0x450ea7=[];if(_0x293f71['queue'][_0x477d('0x439')]&&_0x293f71['queue'][_0x477d('0x439')]['toLowerCase']()===_0x477d('0x127')&&_0x293f71[_0x477d('0x1256')][_0x477d('0x1294')]==='outboundDial'){_0x293f71[_0x477d('0x1256')][_0x477d('0xf46')]=_0x3e43b[_0x477d('0x12b6')]?(_0x293f71[_0x477d('0x1256')][_0x477d('0x6c0')]||'')+_0x477d('0x12b7')+_0x3e43b[_0x477d('0x12b6')]+'}':(_0x293f71[_0x477d('0x1256')][_0x477d('0x6c0')]||'')+_0x477d('0x12b8');if(_0x3e43b['recordingFormat']!=='none'){if(_0x293f71[_0x477d('0x1256')][_0x477d('0x43c')]['indexOf'](_0x477d('0x12ba'))<0x0){_0x293f71[_0x477d('0x1256')][_0x477d('0x43c')]+='U(xcally-mixmonitor-context)';}}else{_0x293f71['queue']['options']=_0x293f71[_0x477d('0x1256')]['options'][_0x477d('0x409')](_0x477d('0x12ba'),'');}}var _0x37f5ba=_[_0x477d('0x10a')](_0x293f71[_0x477d('0xf2f')],{'name':_0x293f71[_0x477d('0x1256')][_0x477d('0x1256')]});if(_0x37f5ba){_0x293f71[_0x477d('0x1256')][_[_0x477d('0x12e0')](_0x477d('0x35d'))+'QueueId']=_0x37f5ba['id'];}if(_0x293f71[_0x477d('0x1256')][_0x477d('0x1294')]&&_0x293f71[_0x477d('0x1256')][_0x477d('0x1294')]===_0x477d('0x9f6')){}else{switch((_0x293f71[_0x477d('0x1256')][_0x477d('0x1291')]||_0x293f71['queue']['appType'])['toLowerCase']()){case'set':_0x293f71[_0x477d('0x1256')][_0x477d('0x12ae')]=_0x293f71[_0x477d('0x1256')][_0x477d('0x94')]+'='+_0x293f71[_0x477d('0x1256')][_0x477d('0x3b6')];break;case _0x477d('0x9f6'):break;default:_0x450ea7[0x0]=_0x293f71[_0x477d('0x1256')]['queue'];_0x450ea7[0x1]=_0x293f71[_0x477d('0x1256')]['timeout'];_0x293f71[_0x477d('0x1256')]['appdata']=_0x450ea7[_0x477d('0x3f6')](',');}}_0x104a3f(_0x293f71[_0x477d('0x1256')]);}function _0x104a3f(_0x46b417){_0x2e86d2[_0x477d('0x3bc')](_0x46b417);}}}());(function(){'use strict';_0x2e3a1d['$inject']=[_0x477d('0x384'),'$q','toasty','whatsappAccountApp','whatsappAccount','api',_0x477d('0x55'),_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x3e'))['controller'](_0x477d('0x273a'),_0x2e3a1d);function _0x2e3a1d(_0x3f03bc,_0x5df9f5,_0x4e1d08,_0x28f280,_0x1469f2,_0x2f3573,_0x4115d2,_0x3be598){var _0x553f85=this;_0x553f85[_0x477d('0x3e5')]=_0x4115d2[_0x477d('0x5c')]();_0x553f85[_0x477d('0xd67')]=[];_0x553f85[_0x477d('0x49a')]=_0x477d('0x2732')+(_0x28f280[_0x477d('0x1294')]||_0x28f280['app'])['toUpperCase']();_0x553f85['system']=angular['copy'](_0x28f280);_0x553f85[_0x477d('0xd66')]=_0x3be598;_0x553f85[_0x477d('0xd68')]={};if(_0x553f85[_0x477d('0xa41')][_0x477d('0x12ae')]){switch(_0x553f85[_0x477d('0xa41')][_0x477d('0x1294')]?_0x553f85[_0x477d('0xa41')][_0x477d('0x1294')][_0x477d('0x449')]():_0x553f85[_0x477d('0xa41')][_0x477d('0x1291')][_0x477d('0x449')]()){case _0x477d('0x9f6'):break;case'dialogflow':var _0xf058bd=_0x553f85['system'][_0x477d('0x12ae')]['split'](',');_0x553f85['system'][_0x477d('0x670')]=_0xf058bd[0x0];_0x553f85[_0x477d('0xa41')][_0x477d('0x1267')]=_0xf058bd[0x1];_0x553f85[_0x477d('0xa41')][_0x477d('0x127a')]=_0xf058bd[_0x477d('0x9cd')](0x2,_0xf058bd['length'])[_0x477d('0x3f6')](',');break;case _0x477d('0x127c'):var _0xf058bd=_0x553f85[_0x477d('0xa41')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x553f85['system']['accesskeyid']=_0xf058bd[0x0];_0x553f85[_0x477d('0xa41')]['secretaccesskey']=_0xf058bd[0x1];_0x553f85[_0x477d('0xa41')]['lexregion']=_0xf058bd[0x2];_0x553f85[_0x477d('0xa41')]['botname']=_0xf058bd[0x3];_0x553f85['system'][_0x477d('0x127a')]=_0xf058bd[_0x477d('0x9cd')](0x4,_0xf058bd[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x1260'):var _0xf058bd=_0x553f85['system']['appdata'][_0x477d('0x472')](',');_0x553f85[_0x477d('0xa41')][_0x477d('0x1261')]=isNaN(_0xf058bd[0x0])?_0xf058bd[0x0]:parseInt(_0xf058bd[0x0],0xa);_0x553f85['system'][_0x477d('0x41b')]=_0xf058bd[_0x477d('0x9cd')](0x1,_0xf058bd[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x452'):_0x553f85['system'][_0x477d('0x41b')]=_0x553f85[_0x477d('0xa41')][_0x477d('0x12ae')];break;case _0x477d('0x12af'):_0x553f85['system'][_0x477d('0x94')]=_0x553f85[_0x477d('0xa41')][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x0];_0x553f85[_0x477d('0xa41')]['value']=_0x553f85[_0x477d('0xa41')][_0x477d('0x12ae')][_0x477d('0x472')]('=')[0x1];break;case _0x477d('0x12b0'):_0x553f85['system'][_0x477d('0xf13')]=_0x553f85[_0x477d('0xa41')]['appdata'];break;default:var _0x3b7a8f=_0x553f85[_0x477d('0xa41')][_0x477d('0x12ae')]['split'](',');_0x553f85[_0x477d('0xa41')]['command']=_[_0x477d('0x3b2')](_0x3b7a8f[0x0])?_0x3b7a8f[0x0]:isNaN(_0x3b7a8f[0x0])?_0x3b7a8f[0x0]:parseInt(_0x3b7a8f[0x0],0xa);_0x553f85[_0x477d('0xa41')]['variable']=_['isEmpty'](_0x3b7a8f[0x1])?_0x3b7a8f[0x1]:isNaN(_0x3b7a8f[0x1])?_0x3b7a8f[0x1]:parseInt(_0x3b7a8f[0x1],0xa);}}else{_0x553f85['system'][_0x477d('0xbb9')]='';}if(_0x553f85[_0x477d('0xa41')]['type']&&_0x553f85[_0x477d('0xa41')][_0x477d('0x439')][_0x477d('0x449')]()==='outbound'&&_0x553f85[_0x477d('0xa41')][_0x477d('0x1294')][_0x477d('0x449')]()===_0x477d('0x12b1')){_0x553f85[_0x477d('0xa41')][_0x477d('0x6c0')]=_0x553f85[_0x477d('0xa41')]['phone']?_0x553f85['system']['phone'][_0x477d('0x472')]('$')[0x0]:undefined;_0x553f85[_0x477d('0xa41')]['callerId']=_0x553f85[_0x477d('0xa41')][_0x477d('0x12b2')]?_0x477d('0x12b3')+_0x553f85[_0x477d('0xa41')][_0x477d('0x12b2')]:undefined;}_0x553f85[_0x477d('0x2733')]=_0x5a4632;_0x553f85['closeDialog']=_0x60999b;_0x4115d2[_0x477d('0x56')](_0x477d('0x5f'))?_0x2f3573['variable'][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':'name','nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x27ea3d){_0x553f85[_0x477d('0xf31')]=_0x27ea3d['rows']||[];})[_0x477d('0xf8')](function(_0x330a07){_0x4e1d08[_0x477d('0x44a')]({'title':_0x330a07['status']?'API:'+_0x330a07[_0x477d('0x3c3')]+'\x20-\x20'+_0x330a07[_0x477d('0x44d')]:_0x477d('0x12e1'),'msg':_0x330a07[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x330a07[_0x477d('0x451')]):_0x330a07['toString']()});}):_0x2f3573['variable'][_0x477d('0x376')]({'fields':'id,name','sort':_0x477d('0x94'),'nolimit':'true'})['$promise'][_0x477d('0x76')](function(_0x186c89){_0x553f85[_0x477d('0xf31')]=_0x186c89['rows']||[];})[_0x477d('0x76')](function(){return _0x2f3573[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x553f85[_0x477d('0x3e5')]['userProfileId'],'sectionId':0x3f4})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x23df27){var _0x322d09=_0x23df27&&_0x23df27['rows']?_0x23df27[_0x477d('0xf2')][0x0]:null;if(!_0x322d09){var _0x3de5d8=[];var _0x16ce3d=null;if(_0x553f85[_0x477d('0xa41')]){_0x16ce3d=_[_0x477d('0x10a')](_0x553f85[_0x477d('0xf31')],{'name':_0x553f85[_0x477d('0xa41')][_0x477d('0xbb9')]});}for(var _0x2fb3b4=0x0;_0x2fb3b4<_0x553f85[_0x477d('0xf31')]['length'];_0x2fb3b4++){if(_0x16ce3d&&_0x553f85[_0x477d('0xf31')][_0x2fb3b4]['id']===_0x16ce3d['id']){_0x553f85['variables'][_0x2fb3b4]['canSelect']=![];_0x3de5d8[_0x477d('0x3a7')](_0x553f85[_0x477d('0xf31')][_0x2fb3b4]);}}_0x553f85['variables']=_0x3de5d8;}else{if(!_0x322d09[_0x477d('0x3ad')]){return _0x2f3573['userProfileResource'][_0x477d('0x376')]({'sectionId':_0x322d09['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x539eb5){var _0x3475d5=_[_0x477d('0x3cb')](_0x539eb5[_0x477d('0xf2')],function(_0xfbf827){return _[_0x477d('0x10a')](_0x553f85[_0x477d('0xf31')],{'id':_0xfbf827[_0x477d('0x3af')]});});var _0x594dea=null;if(_0x553f85['system']){_0x594dea=_['find'](_0x553f85['variables'],{'name':_0x553f85[_0x477d('0xa41')][_0x477d('0xbb9')]});}if(_0x594dea&&!_[_0x477d('0x3ab')](_0x3475d5,['id',_0x594dea['id']])){var _0x3e49ad=_[_0x477d('0x10a')](_0x553f85['variables'],{'id':_0x594dea['id']});_0x3e49ad[_0x477d('0xf8b')]=![];_0x3475d5[_0x477d('0x3a7')](_0x3e49ad);}_0x553f85[_0x477d('0xf31')]=_0x3475d5;});}}})[_0x477d('0xf8')](function(_0x105479){_0x4e1d08['error']({'title':_0x105479['status']?_0x477d('0x44b')+_0x105479['status']+_0x477d('0x44c')+_0x105479[_0x477d('0x44d')]:_0x477d('0x1936'),'msg':_0x105479[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x105479['data']):_0x105479[_0x477d('0x453')]()});});function _0x5a4632(){_0x553f85[_0x477d('0xd67')]=[];var _0x1260b6=[];if(_0x553f85['system']['type']&&_0x553f85[_0x477d('0xa41')][_0x477d('0x439')][_0x477d('0x449')]()===_0x477d('0x127')&&_0x553f85[_0x477d('0xa41')][_0x477d('0x1294')]==='outboundDial'){_0x553f85[_0x477d('0xa41')]['phone']=_0x1469f2[_0x477d('0x12b6')]?(_0x553f85[_0x477d('0xa41')][_0x477d('0x6c0')]||'')+'${EXTEN:'+_0x1469f2[_0x477d('0x12b6')]+'}':(_0x553f85['system'][_0x477d('0x6c0')]||'')+_0x477d('0x12b8');if(_0x1469f2[_0x477d('0x12b9')]!==_0x477d('0x496')){if(_0x553f85[_0x477d('0xa41')][_0x477d('0x43c')][_0x477d('0x477')]('U(xcally-mixmonitor-context)')<0x0){_0x553f85[_0x477d('0xa41')]['options']+='U(xcally-mixmonitor-context)';}}else{_0x553f85[_0x477d('0xa41')][_0x477d('0x43c')]=_0x553f85[_0x477d('0xa41')][_0x477d('0x43c')][_0x477d('0x409')](_0x477d('0x12ba'),'');}}if(_0x553f85[_0x477d('0xa41')][_0x477d('0x1294')]&&_0x553f85[_0x477d('0xa41')][_0x477d('0x1294')]===_0x477d('0x9f6')){}else{switch((_0x553f85['system']['app']||_0x553f85[_0x477d('0xa41')][_0x477d('0x1294')])[_0x477d('0x449')]()){case _0x477d('0x12af'):_0x553f85[_0x477d('0xa41')][_0x477d('0x12ae')]=_0x553f85[_0x477d('0xa41')][_0x477d('0x94')]+'='+_0x553f85[_0x477d('0xa41')][_0x477d('0x3b6')];break;case _0x477d('0x9f6'):break;default:_0x1260b6[0x0]=_0x553f85[_0x477d('0xa41')][_0x477d('0xf49')];_0x1260b6[0x1]=_0x553f85[_0x477d('0xa41')][_0x477d('0xbb9')];_0x553f85[_0x477d('0xa41')]['appdata']=_0x1260b6[_0x477d('0x3f6')](',');}}_0x60999b(_0x553f85[_0x477d('0xa41')]);}function _0x60999b(_0x861559){_0x3f03bc['hide'](_0x861559);}}}());(function(){'use strict';_0x3d745d[_0x477d('0xa')]=[_0x477d('0x384'),'$q',_0x477d('0x40e'),'whatsappAccountApp',_0x477d('0x17e2'),'api',_0x477d('0x55'),_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x3e'))[_0x477d('0x3ba')](_0x477d('0x273b'),_0x3d745d);function _0x3d745d(_0x4dbfa1,_0x561016,_0x46e4e9,_0x488471,_0x183f24,_0x22a34d,_0x1bbdbc,_0x219893){var _0x9b0094=this;_0x9b0094[_0x477d('0x3e5')]=_0x1bbdbc[_0x477d('0x5c')]();_0x9b0094[_0x477d('0xd67')]=[];_0x9b0094[_0x477d('0x49a')]='WHATSAPP.EDIT_'+(_0x488471[_0x477d('0x1294')]||_0x488471[_0x477d('0x1291')])[_0x477d('0x44f')]();_0x9b0094[_0x477d('0xbb0')]=angular[_0x477d('0x6d9')](_0x488471);_0x9b0094['crudPermissions']=_0x219893;_0x9b0094[_0x477d('0xd68')]={};if(_0x9b0094[_0x477d('0xbb0')][_0x477d('0x12ae')]){switch(_0x9b0094[_0x477d('0xbb0')][_0x477d('0x1294')]?_0x9b0094[_0x477d('0xbb0')]['appType']['toLowerCase']():_0x9b0094[_0x477d('0xbb0')]['app'][_0x477d('0x449')]()){case _0x477d('0x9f6'):break;case _0x477d('0x1266'):var _0x1015f7=_0x9b0094[_0x477d('0xbb0')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x9b0094[_0x477d('0xbb0')][_0x477d('0x670')]=_0x1015f7[0x0];_0x9b0094[_0x477d('0xbb0')][_0x477d('0x1267')]=_0x1015f7[0x1];_0x9b0094[_0x477d('0xbb0')][_0x477d('0x127a')]=_0x1015f7[_0x477d('0x9cd')](0x2,_0x1015f7[_0x477d('0x79')])['join'](',');break;case _0x477d('0x127c'):var _0x1015f7=_0x9b0094['tag'][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x9b0094[_0x477d('0xbb0')][_0x477d('0x127d')]=_0x1015f7[0x0];_0x9b0094['tag'][_0x477d('0x127e')]=_0x1015f7[0x1];_0x9b0094[_0x477d('0xbb0')][_0x477d('0x127f')]=_0x1015f7[0x2];_0x9b0094[_0x477d('0xbb0')]['botname']=_0x1015f7[0x3];_0x9b0094[_0x477d('0xbb0')][_0x477d('0x127a')]=_0x1015f7['slice'](0x4,_0x1015f7[_0x477d('0x79')])['join'](',');break;case _0x477d('0x1260'):var _0x1015f7=_0x9b0094[_0x477d('0xbb0')][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x9b0094[_0x477d('0xbb0')][_0x477d('0x1261')]=isNaN(_0x1015f7[0x0])?_0x1015f7[0x0]:parseInt(_0x1015f7[0x0],0xa);_0x9b0094[_0x477d('0xbb0')][_0x477d('0x41b')]=_0x1015f7[_0x477d('0x9cd')](0x1,_0x1015f7[_0x477d('0x79')])[_0x477d('0x3f6')](',');break;case _0x477d('0x452'):_0x9b0094[_0x477d('0xbb0')][_0x477d('0x41b')]=_0x9b0094[_0x477d('0xbb0')]['appdata'];break;case'set':_0x9b0094[_0x477d('0xbb0')][_0x477d('0x94')]=_0x9b0094[_0x477d('0xbb0')]['appdata'][_0x477d('0x472')]('=')[0x0];_0x9b0094[_0x477d('0xbb0')][_0x477d('0x3b6')]=_0x9b0094[_0x477d('0xbb0')][_0x477d('0x12ae')]['split']('=')[0x1];break;case _0x477d('0x12b0'):_0x9b0094[_0x477d('0xbb0')][_0x477d('0xf13')]=_0x9b0094[_0x477d('0xbb0')][_0x477d('0x12ae')];break;default:var _0x39b885=_0x9b0094['tag'][_0x477d('0x12ae')][_0x477d('0x472')](',');_0x9b0094[_0x477d('0xbb0')][_0x477d('0xbb0')]=_[_0x477d('0x3b2')](_0x39b885[0x0])?_0x39b885[0x0]:isNaN(_0x39b885[0x0])?_0x39b885[0x0]:parseInt(_0x39b885[0x0],0xa);}}else{}if(_0x9b0094[_0x477d('0xbb0')][_0x477d('0x439')]&&_0x9b0094[_0x477d('0xbb0')][_0x477d('0x439')][_0x477d('0x449')]()==='outbound'&&_0x9b0094[_0x477d('0xbb0')]['appType'][_0x477d('0x449')]()==='outbounddial'){_0x9b0094[_0x477d('0xbb0')][_0x477d('0x6c0')]=_0x9b0094[_0x477d('0xbb0')]['phone']?_0x9b0094[_0x477d('0xbb0')][_0x477d('0xf46')]['split']('$')[0x0]:undefined;_0x9b0094['tag'][_0x477d('0x69b')]=_0x9b0094[_0x477d('0xbb0')]['callerID']?_0x477d('0x12b3')+_0x9b0094[_0x477d('0xbb0')][_0x477d('0x12b2')]:undefined;}_0x9b0094[_0x477d('0x2733')]=_0x51d734;_0x9b0094[_0x477d('0x6bf')]=_0x2e7ab4;_0x1bbdbc[_0x477d('0x56')](_0x477d('0x5f'))?_0x22a34d[_0x477d('0xbb0')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':'true'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x5cd34d){_0x9b0094[_0x477d('0x1263')]=_0x5cd34d[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0xd565d4){_0x46e4e9[_0x477d('0x44a')]({'title':_0xd565d4[_0x477d('0x3c3')]?'API:'+_0xd565d4[_0x477d('0x3c3')]+_0x477d('0x44c')+_0xd565d4['statusText']:_0x477d('0x12e3'),'msg':_0xd565d4['data']?JSON[_0x477d('0x3fb')](_0xd565d4[_0x477d('0x451')]):_0xd565d4[_0x477d('0x453')]()});}):_0x22a34d['tag'][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')]['then'](function(_0x25569a){_0x9b0094['tags']=_0x25569a[_0x477d('0xf2')]||[];})['then'](function(){return _0x22a34d['userProfileSection'][_0x477d('0x376')]({'userProfileId':_0x9b0094[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x3f0})['$promise'];})[_0x477d('0x76')](function(_0x40f89d){var _0x3bb88f=_0x40f89d&&_0x40f89d[_0x477d('0xf2')]?_0x40f89d[_0x477d('0xf2')][0x0]:null;if(!_0x3bb88f){var _0x545078=[];var _0x28f700=null;if(_0x9b0094[_0x477d('0xbb0')]){_0x28f700=_[_0x477d('0x10a')](_0x9b0094[_0x477d('0x1263')],{'name':_0x9b0094[_0x477d('0xbb0')][_0x477d('0xbb0')]});}for(var _0x48c9cb=0x0;_0x48c9cb<_0x9b0094[_0x477d('0x1263')]['length'];_0x48c9cb++){if(_0x28f700&&_0x9b0094['tags'][_0x48c9cb]['id']===_0x28f700['id']){_0x9b0094[_0x477d('0x1263')][_0x48c9cb][_0x477d('0xf8b')]=![];_0x545078[_0x477d('0x3a7')](_0x9b0094[_0x477d('0x1263')][_0x48c9cb]);}}_0x9b0094[_0x477d('0x1263')]=_0x545078;}else{if(!_0x3bb88f[_0x477d('0x3ad')]){return _0x22a34d[_0x477d('0x3ae')]['get']({'sectionId':_0x3bb88f['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x5c5067){var _0x10bca4=_['map'](_0x5c5067[_0x477d('0xf2')],function(_0x22c837){return _['find'](_0x9b0094[_0x477d('0x1263')],{'id':_0x22c837[_0x477d('0x3af')]});});var _0x1c1b17=null;if(_0x9b0094[_0x477d('0xbb0')]){_0x1c1b17=_[_0x477d('0x10a')](_0x9b0094[_0x477d('0x1263')],{'name':_0x9b0094[_0x477d('0xbb0')]['tag']});}if(_0x1c1b17&&!_[_0x477d('0x3ab')](_0x10bca4,['id',_0x1c1b17['id']])){var _0x335542=_[_0x477d('0x10a')](_0x9b0094[_0x477d('0x1263')],{'id':_0x1c1b17['id']});_0x335542[_0x477d('0xf8b')]=![];_0x10bca4[_0x477d('0x3a7')](_0x335542);}_0x9b0094['tags']=_0x10bca4;});}}})[_0x477d('0xf8')](function(_0xb3fc2c){_0x46e4e9[_0x477d('0x44a')]({'title':_0xb3fc2c[_0x477d('0x3c3')]?'API:'+_0xb3fc2c['status']+_0x477d('0x44c')+_0xb3fc2c[_0x477d('0x44d')]:_0x477d('0x12e4'),'msg':_0xb3fc2c[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0xb3fc2c['data']):_0xb3fc2c[_0x477d('0x453')]()});});function _0x51d734(){_0x9b0094[_0x477d('0xd67')]=[];var _0x39d407=[];if(_0x9b0094[_0x477d('0xbb0')][_0x477d('0x439')]&&_0x9b0094[_0x477d('0xbb0')][_0x477d('0x439')][_0x477d('0x449')]()===_0x477d('0x127')&&_0x9b0094[_0x477d('0xbb0')][_0x477d('0x1294')]===_0x477d('0x12b5')){_0x9b0094[_0x477d('0xbb0')][_0x477d('0xf46')]=_0x183f24['cutdigits']?(_0x9b0094[_0x477d('0xbb0')]['prefix']||'')+_0x477d('0x12b7')+_0x183f24[_0x477d('0x12b6')]+'}':(_0x9b0094[_0x477d('0xbb0')][_0x477d('0x6c0')]||'')+_0x477d('0x12b8');if(_0x183f24['recordingFormat']!=='none'){if(_0x9b0094[_0x477d('0xbb0')][_0x477d('0x43c')][_0x477d('0x477')](_0x477d('0x12ba'))<0x0){_0x9b0094[_0x477d('0xbb0')][_0x477d('0x43c')]+=_0x477d('0x12ba');}}else{_0x9b0094[_0x477d('0xbb0')][_0x477d('0x43c')]=_0x9b0094[_0x477d('0xbb0')][_0x477d('0x43c')][_0x477d('0x409')](_0x477d('0x12ba'),'');}}var _0xf22821=_[_0x477d('0x10a')](_0x9b0094[_0x477d('0x1263')],{'name':_0x9b0094[_0x477d('0xbb0')][_0x477d('0xbb0')]});if(_0xf22821){_0x9b0094[_0x477d('0xbb0')][_0x477d('0x1262')]=_0xf22821['id'];}if(_0x9b0094[_0x477d('0xbb0')][_0x477d('0x1294')]&&_0x9b0094[_0x477d('0xbb0')][_0x477d('0x1294')]===_0x477d('0x9f6')){}else{switch((_0x9b0094[_0x477d('0xbb0')][_0x477d('0x1291')]||_0x9b0094['tag'][_0x477d('0x1294')])['toLowerCase']()){case _0x477d('0x12af'):_0x9b0094['tag']['appdata']=_0x9b0094[_0x477d('0xbb0')]['name']+'='+_0x9b0094[_0x477d('0xbb0')][_0x477d('0x3b6')];break;case _0x477d('0x9f6'):break;default:_0x39d407[0x0]=_0x9b0094[_0x477d('0xbb0')]['tag'];_0x9b0094[_0x477d('0xbb0')]['appdata']=_0x39d407['join'](',');}}_0x2e7ab4(_0x9b0094[_0x477d('0xbb0')]);}function _0x2e7ab4(_0x451f87){_0x4dbfa1[_0x477d('0x3bc')](_0x451f87);}}}());(function(){'use strict';_0x26bfe6['$inject']=[_0x477d('0x385'),'$scope',_0x477d('0x3c4'),'$q','$translate',_0x477d('0x3fe'),_0x477d('0x384'),'$document',_0x477d('0x40e'),_0x477d('0x386'),_0x477d('0x55')];angular['module'](_0x477d('0x3e'))[_0x477d('0x3ba')](_0x477d('0x273c'),_0x26bfe6);function _0x26bfe6(_0x58f518,_0x5b63b9,_0x4d0dbd,_0x411cd1,_0x125ab2,_0x137ef5,_0x8d6bc2,_0x3bb80b,_0x2a88f4,_0x26bdca,_0x3f2c92){var _0x57911d=this;_0x57911d[_0x477d('0x3e5')]=_0x3f2c92['getCurrentUser']();_0x57911d['whatsappAccount']={};_0x57911d[_0x477d('0x273d')]={'count':0x0,'rows':[]};_0x57911d[_0x477d('0x273e')]=[];_0x57911d[_0x477d('0xd66')];_0x57911d[_0x477d('0x3ef')]={'read':_0x477d('0xea'),'closed':_0x477d('0xea'),'sort':_0x477d('0x1343'),'includeAll':_0x477d('0x2ee'),'limit':0xa,'page':0x1};_0x57911d['init']=_0x11596c;_0x57911d[_0x477d('0xe66')]=_0x1c5c4e;_0x57911d[_0x477d('0x273f')]=_0x15bd1c;_0x57911d[_0x477d('0x485')]=_0xc38f2d;_0x57911d[_0x477d('0x2740')]=_0x1a463b;_0x57911d['createOrEditWhatsappAccountInteraction']=_0x2ae5f1;_0x57911d[_0x477d('0x2741')]=_0x1d9439;_0x57911d['openAdvancedSearch']=_0x2946bd;_0x57911d[_0x477d('0x2742')]=_0x4eb1a9;_0x57911d['deleteWhatsappAccountInteraction']=_0x5c089f;_0x57911d[_0x477d('0x2743')]=_0x4b1f59;function _0x11596c(_0x293473,_0x3c5aa0){_0x57911d[_0x477d('0x17e2')]=_0x293473;_0x57911d[_0x477d('0xd66')]=typeof _0x3c5aa0!==_0x477d('0x4a4')?_0x3c5aa0:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x57911d['query'][_0x477d('0x1597')]=_0x57911d[_0x477d('0x17e2')]['id'];_0x57911d[_0x477d('0x3eb')]={'fields':_0x36a361()};_0x7ed96();}function _0x7ed96(){return _0x26bdca[_0x477d('0xbb0')][_0x477d('0x376')]()[_0x477d('0x38b')][_0x477d('0x76')](function(_0x33eb24){_0x57911d[_0x477d('0x1263')]=_0x33eb24||{'count':0x0,'rows':[]};})[_0x477d('0x76')](function(){_0x57911d[_0x477d('0x1349')]=_0x4e68ff();});}function _0x4e68ff(){return[{'name':_0x477d('0x134a'),'key':_0x477d('0xe37'),'type':_0x477d('0x420'),'label':_0x477d('0x134b')},{'name':'Messages','key':_0x477d('0x134d'),'type':'select','label':'DASHBOARDS.SELECT_READ_UNREAD','customOptions':[{'value':0x0,'translate':_0x477d('0x167e')},{'value':0x1,'translate':'DASHBOARDS.READ'},{'value':null,'translate':_0x477d('0x1350')}]},{'name':_0x477d('0x135e'),'key':_0x477d('0x1351'),'type':'select','label':_0x477d('0x168f'),'customOptions':[{'value':0x0,'translate':_0x477d('0x135f')},{'value':0x1,'translate':_0x477d('0x1352')},{'value':null,'translate':_0x477d('0x1350')}]},{'name':_0x477d('0x125d'),'key':_0x477d('0x125b'),'type':_0x477d('0x462'),'label':_0x477d('0x1353'),'customOptions':[{'value':_0x477d('0xea'),'translate':'DASHBOARDS.NOT_ASSIGNED'},{'value':undefined,'translate':_0x477d('0x1350')}]},{'name':_0x477d('0x1264'),'key':_0x477d('0xbb0'),'type':_0x477d('0x413'),'label':'DASHBOARDS.SELECT_TAG','options':_0x57911d[_0x477d('0x1263')][_0x477d('0xf2')],'placeholder':_0x477d('0x1356')}];}function _0x36a361(){return[{'name':'Id','column':'id','type':_0x477d('0x421')},{'name':_0x477d('0x1370'),'column':_0x477d('0x1370'),'type':_0x477d('0x443'),'options':{'searchFields':['firstName',_0x477d('0x1358'),_0x477d('0x1359')],'route':{'model':_0x477d('0xb6c'),'action':_0x477d('0x376'),'params':{'fields':'id,firstName,lastName,email','Contact':_0x477d('0x444'),'nolimit':!![]}},'extraOperators':['$substring'],'excludedOperators':[_0x477d('0x414')]}},{'name':_0x477d('0x135b'),'column':_0x477d('0x135c'),'type':'text','options':{'excludedOperators':[_0x477d('0x412'),_0x477d('0x414')]}},{'name':_0x477d('0x135d'),'column':_0x477d('0x1953'),'type':'text','options':{'excludedOperators':[_0x477d('0x412'),_0x477d('0x414')]}},{'name':_0x477d('0x135e'),'column':_0x477d('0x1351'),'type':_0x477d('0x462'),'values':[{'id':0x0,'translate':_0x477d('0x135f')},{'id':0x1,'translate':'DASHBOARDS.CLOSED'}],'options':{'excludedOperators':[_0x477d('0x414')]}},{'name':_0x477d('0x125d'),'column':'User','type':_0x477d('0x443'),'options':{'table':'i','route':{'model':_0x477d('0x380'),'action':_0x477d('0x376'),'params':{'role':_0x477d('0xcf'),'fields':_0x477d('0x1360'),'nolimit':!![]}},'searchFields':[_0x477d('0xcd'),_0x477d('0x94')],'extraOperators':[_0x477d('0x135a')],'excludedOperators':[_0x477d('0x414')]}},{'name':_0x477d('0x102'),'column':'Tag','type':'multiselect','options':{'route':{'model':'tag','action':'get','params':{'nolimit':!![]}},'excludedOperators':[_0x477d('0x3f5')]}},{'name':_0x477d('0x134a'),'column':_0x477d('0xe37'),'type':_0x477d('0x420'),'options':{'excludedOperators':[_0x477d('0x414')]}},{'name':_0x477d('0x1361'),'column':'unreadMessages','type':_0x477d('0x462'),'values':[{'id':0x1,'translate':_0x477d('0x134f')},{'id':0x0,'translate':_0x477d('0x167e')}],'options':{'excludedOperators':[_0x477d('0x414')]}}];}function _0x2946bd(){_0x8d6bc2[_0x477d('0x395')]({'controller':_0x477d('0x3e4'),'controllerAs':'vm','templateUrl':_0x477d('0x1362'),'parent':angular[_0x477d('0x398')](_0x3bb80b[_0x477d('0x399')]),'clickOutsideToClose':![],'locals':{'fields':_0x57911d[_0x477d('0x3eb')][_0x477d('0x458')],'color':undefined,'storagePath':_0x477d('0x2744')},'fullscreen':!![]})[_0x477d('0x76')](function(_0x5d80eb){_0x57911d[_0x477d('0x3ef')][_0x477d('0x3fd')]=_0x5d80eb===![]?undefined:_0x5d80eb;if(_0x57911d[_0x477d('0x3ef')][_0x477d('0x3fd')]){_0x1a463b();}else if(_0x5d80eb===![]){_0x1a463b();}})[_0x477d('0xf8')](function(_0xacc75b){_0x2a88f4[_0x477d('0x44a')]({'title':_0x477d('0x16a5'),'msg':_0xacc75b[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0xacc75b['data']['message']):_0xacc75b['toString']()});});}function _0x15bd1c(_0x511d1a,_0x1ef860,_0x5e7da5){return _0x26bdca['whatsappInteraction']['download']({'id':_0x511d1a['id'],'exists':!![],'attachments':_0x5e7da5})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x29f2c7){var _0x252270=[_0x29f2c7['buffer']];var _0x3fceb2='interaction'+_0x511d1a['id'];var _0x3bb70e=new Blob(_0x252270,{'type':_0x29f2c7['type']});_0x3fceb2='whatsapp-interaction'+_0x511d1a['id']+_0x477d('0x1366');var _0x4aaf50=window[_0x477d('0x945')][_0x477d('0x3c7')]('a');_0x4aaf50[_0x477d('0x494')](_0x477d('0x3c8'),URL['createObjectURL'](_0x3bb70e));_0x4aaf50['setAttribute'](_0x477d('0x49d'),_0x3fceb2);document[_0x477d('0x399')]['appendChild'](_0x4aaf50);_0x4aaf50['click']();})[_0x477d('0xf8')](function(_0x193cc2){if(_0x193cc2[_0x477d('0x451')]&&_0x193cc2[_0x477d('0x451')]['errors']&&_0x193cc2[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){for(var _0x5c8d68=0x0;_0x5c8d68<_0x193cc2[_0x477d('0x451')][_0x477d('0xd67')]['length'];_0x5c8d68+=0x1){_0x2a88f4[_0x477d('0x44a')]({'title':_0x193cc2[_0x477d('0x451')]['errors'][_0x5c8d68]['type'],'msg':_0x193cc2[_0x477d('0x451')][_0x477d('0xd67')][_0x5c8d68][_0x477d('0x452')]});}}else{_0x2a88f4[_0x477d('0x44a')]({'title':_0x193cc2[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x193cc2[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x193cc2[_0x477d('0x44d')]:_0x477d('0x271f'),'msg':_0x193cc2[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x193cc2[_0x477d('0x451')][_0x477d('0x452')]):_0x193cc2[_0x477d('0x453')]()});}});}function _0x1c5c4e(_0x419e49,_0x2cb58b){var _0x139c72=_0x8d6bc2[_0x477d('0xd78')]()[_0x477d('0x49a')]('Are\x20you\x20sure\x20want\x20to\x20delete\x20the\x20interaction?')[_0x477d('0xd92')](_0x477d('0xd93')+(_0x419e49[_0x477d('0x94')]||_0x419e49['id']&&_[_0x477d('0x1367')](_0x477d('0x1368'))+_0x419e49['id']||_0x477d('0x1364'))+_0x477d('0xd94')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x1369'))[_0x477d('0xd7c')](_0x2cb58b)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x8d6bc2[_0x477d('0x395')](_0x139c72)[_0x477d('0x76')](function(){_0x5c089f(_0x419e49);},function(){console['log']('CANCEL');});}function _0xc38f2d(_0xb12481){_0x57911d[_0x477d('0x273d')]=_0xb12481||{'count':0x0,'rows':[]};for(var _0x342bde=0x0;_0x342bde<_0x57911d[_0x477d('0x273d')]['rows'][_0x477d('0x79')];_0x342bde+=0x1){var _0x47b94a=_0x57911d[_0x477d('0x273d')]['rows'][_0x342bde];_0x458968(_0x47b94a);_0x47b94a['Owner']['name']=_0x6e99f7(_0x47b94a);}}function _0x1a463b(){_0x57911d[_0x477d('0x3ef')][_0x477d('0x91c')]=(_0x57911d[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x57911d[_0x477d('0x3ef')][_0x477d('0x91d')];_0x57911d[_0x477d('0x553')]=_0x26bdca[_0x477d('0xceb')][_0x477d('0x376')](_0x57911d[_0x477d('0x3ef')],_0xc38f2d)[_0x477d('0x38b')];}function _0x2ae5f1(_0x1e2288,_0x426579){_0x8d6bc2[_0x477d('0x395')]({'controller':'CreateOrEditInteractionDialogController','controllerAs':'vm','templateUrl':'app/main/apps/whatsapp/views/whatsappAccounts/edit/interactions/dialog.html','parent':angular[_0x477d('0x398')](_0x3bb80b['body']),'targetEvent':_0x1e2288,'clickOutsideToClose':!![],'locals':{'whatsappAccount':_0x57911d[_0x477d('0x17e2')],'interaction':_0x426579,'interactions':_0x57911d['whatsappAccountInteractions']['rows'],'license':null,'setting':null,'crudPermissions':_0x57911d[_0x477d('0xd66')]}});}function _0x1d9439(_0x45accc,_0x45c026){_0x8d6bc2[_0x477d('0x395')]({'controller':_0x477d('0x136c'),'controllerAs':'vm','templateUrl':_0x477d('0x1956'),'parent':angular[_0x477d('0x398')](_0x3bb80b[_0x477d('0x399')]),'targetEvent':_0x45accc,'clickOutsideToClose':!![],'onShowing':function(_0x320866,_0x4dc723){_0x320866['vm'][_0x477d('0x5ee')]({'id':0x1,'channel':_0x477d('0x35d'),'interaction':_0x45c026,'spy':!![]},_0x5b63b9[_0x477d('0x723')]['vm'][_0x477d('0xc8e')]);}});}function _0x5c089f(_0xe67fd){_0x26bdca[_0x477d('0xceb')][_0x477d('0xa55')]({'id':_0xe67fd['id']})['$promise'][_0x477d('0x76')](function(){_['remove'](_0x57911d[_0x477d('0x273d')][_0x477d('0xf2')],{'id':_0xe67fd['id']});_0x57911d[_0x477d('0x273d')][_0x477d('0x3bb')]-=0x1;if(!_0x57911d['whatsappAccountInteractions'][_0x477d('0xf2')][_0x477d('0x79')]){_0x1a463b();}_0x2a88f4['success']({'title':_0x477d('0x136d'),'msg':_0xe67fd[_0x477d('0x94')]?_0xe67fd[_0x477d('0x94')]+'\x20has\x20been\x20deleted!':''});})[_0x477d('0xf8')](function(_0x246aa3){if(_0x246aa3[_0x477d('0x451')]&&_0x246aa3[_0x477d('0x451')][_0x477d('0xd67')]&&_0x246aa3[_0x477d('0x451')]['errors'][_0x477d('0x79')]){vm[_0x477d('0xd67')]=_0x246aa3[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x246aa3[_0x477d('0x453')](),'type':_0x477d('0x2745')}];for(var _0x440cc1=0x0;_0x440cc1<_0x246aa3[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x440cc1++){_0x2a88f4[_0x477d('0x44a')]({'title':_0x246aa3['data'][_0x477d('0xd67')][_0x440cc1][_0x477d('0x439')],'msg':_0x246aa3[_0x477d('0x451')][_0x477d('0xd67')][_0x440cc1]['message']});}}else{_0x2a88f4[_0x477d('0x44a')]({'title':_0x246aa3[_0x477d('0x3c3')]?'API:'+_0x246aa3[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x246aa3[_0x477d('0x44d')]:'SYSTEM:GETwhatsappAccount','msg':_0x246aa3[_0x477d('0x451')]?JSON['stringify'](_0x246aa3[_0x477d('0x451')][_0x477d('0x452')]):_0x246aa3[_0x477d('0x452')]||_0x246aa3[_0x477d('0x453')]()});}});}function _0x4eb1a9(){var _0x1d7718=angular[_0x477d('0x6d9')](_0x57911d['selectedWhatsappAccountInteractions']);_0x57911d[_0x477d('0x273e')]=[];return _0x1d7718;}function _0x4b1f59(_0x70abaf){var _0x28222d=_0x8d6bc2[_0x477d('0xd78')]()['title'](_0x477d('0x136e'))[_0x477d('0xd92')](_0x477d('0xd93')+_0x57911d[_0x477d('0x273e')]['length']+_0x477d('0xda0')+'\x20will\x20be\x20deleted.')[_0x477d('0x687')](_0x477d('0x136f'))[_0x477d('0xd7c')](_0x70abaf)['ok']('OK')['cancel'](_0x477d('0xd97'));_0x8d6bc2[_0x477d('0x395')](_0x28222d)[_0x477d('0x76')](function(){_0x57911d[_0x477d('0x273e')][_0x477d('0x3b1')](function(_0x10db99){_0x5c089f(_0x10db99);});_0x57911d[_0x477d('0x273e')]=[];});}function _0x458968(_0x149bd7){if(_0x149bd7[_0x477d('0x1370')]){_0x149bd7['contactName']=(_0x149bd7[_0x477d('0x1370')]['firstName']||'')+'\x20'+(_0x149bd7['Contact'][_0x477d('0x1358')]||'');}else{_0x149bd7[_0x477d('0x1371')]=_0x125ab2[_0x477d('0x45f')]('DASHBOARDS.UNKNOWN');}}function _0x6e99f7(_0x44c2bc){if(_0x44c2bc['UserId']){if(_0x44c2bc[_0x477d('0x125b')]===_0x57911d[_0x477d('0x3e5')]['id']){return _0x125ab2[_0x477d('0x45f')](_0x477d('0x1373'));}else{return _0x44c2bc[_0x477d('0x1374')][_0x477d('0xcd')]+'\x20<'+_0x44c2bc[_0x477d('0x1374')]['internal']+'>';}}return _0x125ab2[_0x477d('0x45f')](_0x477d('0x1354'));}var _0x39bd9e=!![];var _0x206781=0x1;_0x5b63b9[_0x477d('0x4b5')](_0x477d('0x12f3'),function(_0x474172,_0x531ee9){if(_0x39bd9e){_0x137ef5(function(){_0x39bd9e=![];});}else{if(!_0x531ee9){_0x206781=_0x57911d[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x474172!==_0x531ee9){_0x57911d['query']['page']=0x1;}if(!_0x474172){_0x57911d[_0x477d('0x3ef')]['page']=_0x206781;}_0x1a463b();}});}}());(function(){'use strict';_0x7b4b37[_0x477d('0xa')]=[_0x477d('0x3c4'),_0x477d('0xd64'),'$mdDialog',_0x477d('0x475'),_0x477d('0x40d'),_0x477d('0x613'),_0x477d('0xc8e'),_0x477d('0x386'),_0x477d('0x40e'),_0x477d('0x55'),_0x477d('0x17e2'),'userProfileSection'];angular[_0x477d('0xb')](_0x477d('0x3e'))[_0x477d('0x3ba')](_0x477d('0x2746'),_0x7b4b37);function _0x7b4b37(_0x361498,_0x302ef8,_0x5a3cb3,_0x50e9c5,_0x26a025,_0x515fdd,_0x2cdfb0,_0xa2f45b,_0x5542af,_0x4d94b5,_0x99d6f4,_0x2f41d5){var _0xd078f2=this;_0xd078f2['currentUser']=_0x4d94b5[_0x477d('0x5c')]();_0xd078f2[_0x477d('0x613')]=_0x515fdd;_0xd078f2[_0x477d('0xc8e')]=_0x2cdfb0;_0xd078f2[_0x477d('0xd69')]=_0xd078f2['setting'][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0xd078f2[_0x477d('0x3cc')]=_0x302ef8[_0x477d('0x3ce')]()+'://'+_0x302ef8['host']();_0xd078f2[_0x477d('0x17e2')]=_0x99d6f4||_0x361498['params'][_0x477d('0x17e2')]||{};_0xd078f2['userProfileSection']=_0x2f41d5&&_0x2f41d5[_0x477d('0x3bb')]==0x1?_0x2f41d5[_0x477d('0xf2')][0x0]:null;_0xd078f2['crudPermissions']=_0x4d94b5[_0x477d('0xd81')](_0xd078f2[_0x477d('0x3ac')]?_0xd078f2['userProfileSection'][_0x477d('0xd66')]:null);_0xd078f2[_0x477d('0xd68')]={};_0xd078f2[_0x477d('0xe95')]=_0x361498['params'][_0x477d('0xe96')]||0x0;_0xd078f2[_0x477d('0x1222')]=_0x57901c;_0xd078f2['alert']=_0x5542af[_0x477d('0x669')];_0xd078f2[_0x477d('0x2747')]=_0x1db4aa;_0xd078f2[_0x477d('0x271d')]=_0x14b2ea;_0x4d94b5[_0x477d('0x56')](_0x477d('0x5f'))?_0xa2f45b['cmList'][_0x477d('0x376')]({'fields':'id,name','sort':_0x477d('0x94')})['$promise']['then'](function(_0xa3cd3c){_0xd078f2[_0x477d('0xf1')]=_0xa3cd3c['rows']||[];})[_0x477d('0xf8')](function(_0x5e164c){_0x5542af[_0x477d('0x44a')]({'title':_0x5e164c[_0x477d('0x3c3')]?'API:'+_0x5e164c[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x5e164c[_0x477d('0x44d')]:_0x477d('0x1228'),'msg':_0x5e164c[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x5e164c[_0x477d('0x451')]):_0x5e164c['toString']()});}):_0xa2f45b['cmList'][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x5bb66f){_0xd078f2[_0x477d('0xf1')]=_0x5bb66f[_0x477d('0xf2')]||[];})[_0x477d('0x76')](function(){return _0xa2f45b[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0xd078f2['currentUser'][_0x477d('0x61')],'sectionId':0x12d})['$promise'];})[_0x477d('0x76')](function(_0xb8d741){var _0x3c3469=_0xb8d741&&_0xb8d741[_0x477d('0xf2')]?_0xb8d741[_0x477d('0xf2')][0x0]:null;if(!_0x3c3469){var _0x5ad161=[];var _0x8df4ff=null;if(_0xd078f2[_0x477d('0x17e2')]){_0x8df4ff=_[_0x477d('0x10a')](_0xd078f2[_0x477d('0xf1')],{'id':Number(_0xd078f2[_0x477d('0x17e2')][_0x477d('0x1229')])});}for(var _0x482245=0x0;_0x482245<_0xd078f2[_0x477d('0xf1')][_0x477d('0x79')];_0x482245++){if(_0x8df4ff&&_0xd078f2['lists'][_0x482245]['id']===_0x8df4ff['id']){_0xd078f2['lists'][_0x482245][_0x477d('0xf8b')]=![];_0x5ad161[_0x477d('0x3a7')](_0xd078f2[_0x477d('0xf1')][_0x482245]);}}_0xd078f2[_0x477d('0xf1')]=_0x5ad161;}else{if(!_0x3c3469['autoAssociation']){return _0xa2f45b['userProfileResource'][_0x477d('0x376')]({'sectionId':_0x3c3469['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x52cbd8){var _0x30d67f=_[_0x477d('0x3cb')](_0x52cbd8['rows'],function(_0x2ff0f3){return _[_0x477d('0x10a')](_0xd078f2[_0x477d('0xf1')],{'id':_0x2ff0f3[_0x477d('0x3af')]});});var _0x35d030=null;if(_0xd078f2[_0x477d('0x17e2')]){_0x35d030=_['find'](_0xd078f2[_0x477d('0xf1')],{'id':Number(_0xd078f2[_0x477d('0x17e2')]['ListId'])});}if(_0x35d030&&!_[_0x477d('0x3ab')](_0x30d67f,['id',_0x35d030['id']])){var _0x30399c=_[_0x477d('0x10a')](_0xd078f2[_0x477d('0xf1')],{'id':_0x35d030['id']});_0x30399c[_0x477d('0xf8b')]=![];_0x30d67f[_0x477d('0x3a7')](_0x30399c);}_0xd078f2[_0x477d('0xf1')]=_0x30d67f;});}}})[_0x477d('0xf8')](function(_0x34b984){_0x5542af[_0x477d('0x44a')]({'title':_0x34b984[_0x477d('0x3c3')]?'API:'+_0x34b984[_0x477d('0x3c3')]+'\x20-\x20'+_0x34b984[_0x477d('0x44d')]:_0x477d('0x122a'),'msg':_0x34b984[_0x477d('0x451')]?JSON['stringify'](_0x34b984['data']):_0x34b984['toString']()});});_0x4d94b5[_0x477d('0x56')](_0x477d('0x5f'))?_0xa2f45b[_0x477d('0x657')][_0x477d('0x376')]({'fields':_0x477d('0x13b2'),'sort':'name','nolimit':_0x477d('0x2ee')})['$promise'][_0x477d('0x76')](function(_0x133e5a){_0xd078f2['pauses']=_0x133e5a[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x34495e){_0x5542af[_0x477d('0x44a')]({'title':_0x34495e[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x34495e[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x34495e['statusText']:_0x477d('0x13b3'),'msg':_0x34495e[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x34495e[_0x477d('0x451')]):_0x34495e[_0x477d('0x453')]()});}):_0xa2f45b[_0x477d('0x657')]['get']({'fields':_0x477d('0x13b2'),'sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x19d6c9){_0xd078f2[_0x477d('0xf39')]=_0x19d6c9[_0x477d('0xf2')]||[];})['then'](function(){return _0xa2f45b[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0xd078f2['currentUser'][_0x477d('0x61')],'sectionId':0x3ed})[_0x477d('0x38b')];})['then'](function(_0x3e666f){var _0x6c7d4f=_0x3e666f&&_0x3e666f[_0x477d('0xf2')]?_0x3e666f['rows'][0x0]:null;if(!_0x6c7d4f){_0xd078f2[_0x477d('0xf39')]=[];}else{if(!_0x6c7d4f[_0x477d('0x3ad')]){return _0xa2f45b[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x6c7d4f['id']})[_0x477d('0x38b')]['then'](function(_0x3de52b){var _0x26a14f=_[_0x477d('0x3cb')](_0x3de52b[_0x477d('0xf2')],function(_0x393346){return _[_0x477d('0x10a')](_0xd078f2[_0x477d('0xf39')],{'id':_0x393346[_0x477d('0x3af')]});});_0xd078f2[_0x477d('0xf39')]['forEach'](function(_0x1684b1){if(!_[_0x477d('0x3ab')](_0x26a14f,['id',_0x1684b1['id']])){_0x1684b1['canSelect']=![];}_0x26a14f[_0x477d('0x3a7')](_0x1684b1);});_0xd078f2[_0x477d('0xf39')]=_0x26a14f;});}}})[_0x477d('0xf8')](function(_0x9c1e20){_0x5542af[_0x477d('0x44a')]({'title':_0x9c1e20['status']?_0x477d('0x44b')+_0x9c1e20[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x9c1e20[_0x477d('0x44d')]:_0x477d('0x1958'),'msg':_0x9c1e20[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x9c1e20[_0x477d('0x451')]):_0x9c1e20[_0x477d('0x453')]()});});function _0x57901c(_0x3bb821,_0x1b8c92){_0x5a3cb3[_0x477d('0x395')]({'controller':_0x477d('0x2748'),'controllerAs':'vm','templateUrl':_0x477d('0x2749'),'parent':angular[_0x477d('0x398')](_0x50e9c5[_0x477d('0x399')]),'targetEvent':_0x1b8c92,'clickOutsideToClose':!![],'locals':{'whatsappAccount':_0x3bb821,'whatsappAccounts':_0xd078f2[_0x477d('0x160f')]?_0xd078f2['whatsappAccounts'][_0x477d('0xf2')]:[],'crudPermissions':_0xd078f2[_0x477d('0xd66')],'realtime':![]}});}function _0x1db4aa(){_0x361498['go'](_0x477d('0x366'),{},{'reload':'app.whatsapp.whatsappAccounts'});}function _0x14b2ea(){_0xa2f45b['whatsappAccount'][_0x477d('0x710')]({'id':_0xd078f2[_0x477d('0x17e2')]['id']},_0xd078f2[_0x477d('0x17e2')])[_0x477d('0x38b')][_0x477d('0x76')](function(){_0x5542af[_0x477d('0x485')]({'title':'WhatsappAccount\x20updated!','msg':_0xd078f2['whatsappAccount'][_0x477d('0x94')]?_0xd078f2[_0x477d('0x17e2')][_0x477d('0x94')]+'\x20has\x20been\x20updated!':''});})['catch'](function(_0x4db56d){_0x5542af[_0x477d('0x44a')]({'title':_0x4db56d[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x4db56d['status']+'\x20-\x20'+_0x4db56d[_0x477d('0x44d')]:_0x477d('0x2745'),'msg':_0x4db56d[_0x477d('0x451')]?JSON['stringify'](_0x4db56d[_0x477d('0x451')]):_0x4db56d[_0x477d('0x453')]()});});}}}());(function(){'use strict';_0x40cc00[_0x477d('0xa')]=[_0x477d('0x385'),'$scope',_0x477d('0x3c4'),'$q',_0x477d('0x40d'),_0x477d('0x3fe'),_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x40e'),_0x477d('0x386'),_0x477d('0x55')];angular[_0x477d('0xb')](_0x477d('0x3e'))[_0x477d('0x3ba')](_0x477d('0x274a'),_0x40cc00);function _0x40cc00(_0x4afc00,_0xc68339,_0x210868,_0x120685,_0x127609,_0x23a1b6,_0x5c009b,_0x42e312,_0x587ed6,_0x125d43,_0x305388){var _0x221d1e=this;_0x221d1e[_0x477d('0x3e5')]=_0x305388[_0x477d('0x5c')]();_0x221d1e[_0x477d('0x17e2')]={};_0x221d1e[_0x477d('0x274b')]={'count':0x0,'rows':[]};_0x221d1e[_0x477d('0x274c')]=[];_0x221d1e[_0x477d('0xd66')];_0x221d1e['query']={'fields':'createdAt,updatedAt,id,key,value,description','limit':0xa,'page':0x1};_0x221d1e['init']=_0x45e98f;_0x221d1e[_0x477d('0xe66')]=_0x289c3d;_0x221d1e['success']=_0x20e2fa;_0x221d1e[_0x477d('0x274d')]=_0x1d5519;_0x221d1e[_0x477d('0x274e')]=_0x38c5be;_0x221d1e[_0x477d('0x274f')]=_0x458dc6;_0x221d1e[_0x477d('0x2750')]=_0x3524ef;_0x221d1e[_0x477d('0x2751')]=_0x214bc3;function _0x45e98f(_0x24f1ce,_0x74f10){_0x221d1e[_0x477d('0x17e2')]=_0x24f1ce;_0x221d1e['crudPermissions']=typeof _0x74f10!==_0x477d('0x4a4')?_0x74f10:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x221d1e[_0x477d('0x3ef')][_0x477d('0x1597')]=_0x221d1e[_0x477d('0x17e2')]['id'];_0x221d1e[_0x477d('0x3ef')]['id']=_0x221d1e['whatsappAccount']['id'];_0x1d5519();}function _0x289c3d(_0x5b71ce,_0x53655a){var _0xbffe2d=_0x5c009b[_0x477d('0xd78')]()['title'](_0x477d('0x2752'))[_0x477d('0xd92')](_0x477d('0xd93')+(_0x5b71ce[_0x477d('0x94')]||_0x5b71ce['id']&&_[_0x477d('0x1367')]('whatsappCannedAnswer\x20#')+_0x5b71ce['id']||_0x477d('0x2753'))+''+_0x477d('0xd95'))[_0x477d('0x687')]('delete\x20whatsappCannedAnswer')['targetEvent'](_0x53655a)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x5c009b['show'](_0xbffe2d)[_0x477d('0x76')](function(){_0x3524ef(_0x5b71ce);},function(){console[_0x477d('0x7b')]('CANCEL');});}function _0x20e2fa(_0x1942de){_0x221d1e[_0x477d('0x274b')]=_0x1942de||{'count':0x0,'rows':[]};}function _0x1d5519(){_0x221d1e['query'][_0x477d('0x91c')]=(_0x221d1e[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x221d1e[_0x477d('0x3ef')]['limit'];_0x221d1e[_0x477d('0x553')]=_0x125d43['whatsappAccount'][_0x477d('0x12ed')](_0x221d1e['query'],_0x20e2fa)[_0x477d('0x38b')];}function _0x38c5be(_0x790a0e,_0x31e6b8){_0x5c009b[_0x477d('0x395')]({'controller':_0x477d('0x2754'),'controllerAs':'vm','templateUrl':'app/main/apps/whatsapp/views/whatsappAccounts/edit/whatsappCannedAnswers/dialog.html','parent':angular[_0x477d('0x398')](_0x42e312[_0x477d('0x399')]),'targetEvent':_0x790a0e,'clickOutsideToClose':!![],'locals':{'whatsappAccount':_0x221d1e[_0x477d('0x17e2')],'whatsappCannedAnswer':_0x31e6b8,'whatsappCannedAnswers':_0x221d1e[_0x477d('0x274b')]['rows'],'license':null,'setting':null,'crudPermissions':_0x221d1e[_0x477d('0xd66')]}});}function _0x3524ef(_0x4257d4){_0x125d43[_0x477d('0xb91')][_0x477d('0xa55')]({'id':_0x4257d4['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x221d1e[_0x477d('0x274b')]['rows'],{'id':_0x4257d4['id']});_0x221d1e[_0x477d('0x274b')][_0x477d('0x3bb')]-=0x1;if(!_0x221d1e[_0x477d('0x274b')]['rows'][_0x477d('0x79')]){_0x1d5519();}_0x587ed6[_0x477d('0x485')]({'title':'WhatsappCannedAnswer\x20deleted!','msg':_0x4257d4[_0x477d('0x94')]?_0x4257d4[_0x477d('0x94')]+'\x20has\x20been\x20deleted!':''});})['catch'](function(_0x18a05a){if(_0x18a05a[_0x477d('0x451')]&&_0x18a05a[_0x477d('0x451')][_0x477d('0xd67')]&&_0x18a05a['data'][_0x477d('0xd67')][_0x477d('0x79')]){vm['errors']=_0x18a05a[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x18a05a[_0x477d('0x453')](),'type':_0x477d('0x2745')}];for(var _0x1a361c=0x0;_0x1a361c<_0x18a05a[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x1a361c++){_0x587ed6[_0x477d('0x44a')]({'title':_0x18a05a[_0x477d('0x451')][_0x477d('0xd67')][_0x1a361c][_0x477d('0x439')],'msg':_0x18a05a['data']['errors'][_0x1a361c][_0x477d('0x452')]});}}else{_0x587ed6[_0x477d('0x44a')]({'title':_0x18a05a[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x18a05a[_0x477d('0x3c3')]+'\x20-\x20'+_0x18a05a[_0x477d('0x44d')]:_0x477d('0x2745'),'msg':_0x18a05a[_0x477d('0x451')]?JSON['stringify'](_0x18a05a['data'][_0x477d('0x452')]):_0x18a05a['message']||_0x18a05a[_0x477d('0x453')]()});}});}function _0x458dc6(){var _0x51f524=angular[_0x477d('0x6d9')](_0x221d1e[_0x477d('0x274c')]);_0x221d1e[_0x477d('0x274c')]=[];return _0x51f524;}function _0x214bc3(_0x2f5dd6){var _0x1fee8e=_0x5c009b[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x2755'))[_0x477d('0xd92')](_0x477d('0xd93')+_0x221d1e['selectedWhatsappAccountWhatsappCannedAnswers'][_0x477d('0x79')]+_0x477d('0xda0')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x2756'))[_0x477d('0xd7c')](_0x2f5dd6)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x5c009b['show'](_0x1fee8e)[_0x477d('0x76')](function(){_0x221d1e[_0x477d('0x274c')][_0x477d('0x3b1')](function(_0x2aab1b){_0x3524ef(_0x2aab1b);});_0x221d1e[_0x477d('0x274c')]=[];});}var _0x3512bc=!![];var _0x1edf03=0x1;_0xc68339[_0x477d('0x4b5')](_0x477d('0x12f3'),function(_0x4439fd,_0xfdeb38){if(_0x3512bc){_0x23a1b6(function(){_0x3512bc=![];});}else{if(!_0xfdeb38){_0x1edf03=_0x221d1e[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x4439fd!==_0xfdeb38){_0x221d1e[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0x4439fd){_0x221d1e[_0x477d('0x3ef')][_0x477d('0xe03')]=_0x1edf03;}_0x1d5519();}});}}());(function(){'use strict';_0x234cd4['$inject']=['$scope',_0x477d('0x3c4'),'$location','$mdDialog','$q',_0x477d('0x40d'),_0x477d('0x40e'),_0x477d('0x2757'),_0x477d('0x2753'),_0x477d('0x386'),'Auth',_0x477d('0x613'),_0x477d('0xc8e'),'crudPermissions'];angular[_0x477d('0xb')](_0x477d('0x3e'))[_0x477d('0x3ba')](_0x477d('0x2754'),_0x234cd4);function _0x234cd4(_0x35810e,_0x3bde17,_0x57b3ae,_0x308962,_0x10ca44,_0x25e75e,_0x48349a,_0x20e3f6,_0x55d71e,_0x3ad549,_0x217b38,_0xfa5662,_0x7e5c6e,_0x5af491){var _0x387bba=this;_0x387bba[_0x477d('0x3e5')]=_0x217b38[_0x477d('0x5c')]();_0x387bba[_0x477d('0xd67')]=[];_0x387bba[_0x477d('0xc8e')]=_0x7e5c6e;_0x387bba[_0x477d('0x613')]=_0xfa5662;_0x387bba[_0x477d('0xd66')]=_0x5af491;_0x387bba[_0x477d('0xd68')]={};_0x387bba['passwordPattern']=_0x387bba[_0x477d('0xc8e')]&&_0x387bba[_0x477d('0xc8e')][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x387bba[_0x477d('0x49a')]=_0x477d('0x2758');_0x387bba[_0x477d('0x2753')]=angular[_0x477d('0x6d9')](_0x55d71e);_0x387bba[_0x477d('0x2757')]=_0x20e3f6;_0x387bba[_0x477d('0x2759')]=![];if(!_0x387bba[_0x477d('0x2753')]){_0x387bba[_0x477d('0x2753')]={};_0x387bba[_0x477d('0x49a')]='WHATSAPP.NEW_WHATSAPPCANNEDANSWER';_0x387bba[_0x477d('0x2759')]=!![];}if(_0x3bde17['params']['id']){_0x387bba['whatsappCannedAnswer']['WhatsappAccountId']=_0x3bde17[_0x477d('0x37e')]['id'];}_0x387bba['addNewWhatsappCannedAnswer']=_0x3e714b;_0x387bba[_0x477d('0x275a')]=_0x441abc;_0x387bba[_0x477d('0x275b')]=_0x273dca;_0x387bba['getDateFromString']=_0x3f2024;_0x387bba[_0x477d('0x6bf')]=_0x1f2621;function _0x3e714b(){_0x387bba['errors']=[];_0x3ad549[_0x477d('0xb91')]['save'](_0x387bba[_0x477d('0x2753')])['$promise'][_0x477d('0x76')](function(_0x3569af){_0x387bba[_0x477d('0x2757')][_0x477d('0x63b')](_0x3569af[_0x477d('0xd71')]());_0x48349a[_0x477d('0x485')]({'title':_0x477d('0x275c'),'msg':_0x387bba[_0x477d('0x2753')][_0x477d('0x94')]?_0x387bba[_0x477d('0x2753')]['name']+_0x477d('0xd73'):''});_0x1f2621(_0x3569af);})[_0x477d('0xf8')](function(_0x2faef7){if(_0x2faef7[_0x477d('0x451')]&&_0x2faef7['data'][_0x477d('0xd67')]&&_0x2faef7[_0x477d('0x451')][_0x477d('0xd67')]['length']){_0x387bba[_0x477d('0xd67')]=_0x2faef7[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x2faef7[_0x477d('0x453')](),'type':_0x477d('0x12fc')}];for(var _0x54710f=0x0;_0x54710f<_0x2faef7[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x54710f+=0x1){_0x48349a[_0x477d('0x44a')]({'title':_0x2faef7[_0x477d('0x451')]['errors'][_0x54710f]['type'],'msg':_0x2faef7[_0x477d('0x451')][_0x477d('0xd67')][_0x54710f]['message']});}}else{_0x48349a[_0x477d('0x44a')]({'title':_0x2faef7[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x2faef7[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x2faef7[_0x477d('0x44d')]:_0x477d('0x12fc'),'msg':_0x2faef7['data']?JSON['stringify'](_0x2faef7[_0x477d('0x451')][_0x477d('0x452')]):_0x2faef7[_0x477d('0x453')]()});}});}function _0x441abc(){_0x387bba[_0x477d('0xd67')]=[];_0x3ad549[_0x477d('0xb91')][_0x477d('0x710')]({'id':_0x387bba[_0x477d('0x2753')]['id']},_0x387bba[_0x477d('0x2753')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x5399cf){var _0x575765=_[_0x477d('0x10a')](_0x387bba[_0x477d('0x2757')],{'id':_0x5399cf['id']});if(_0x575765){_[_0x477d('0xef')](_0x575765,_[_0x477d('0x10b')](_0x5399cf[_0x477d('0xd71')](),_[_0x477d('0x7f')](_0x575765)));}_0x48349a[_0x477d('0x485')]({'title':'WhatsappCannedAnswer\x20properly\x20saved!','msg':_0x387bba[_0x477d('0x2753')][_0x477d('0x94')]?_0x387bba[_0x477d('0x2753')][_0x477d('0x94')]+_0x477d('0xd76'):''});_0x1f2621(_0x5399cf);})[_0x477d('0xf8')](function(_0x1d274a){if(_0x1d274a[_0x477d('0x451')]&&_0x1d274a['data'][_0x477d('0xd67')]&&_0x1d274a[_0x477d('0x451')][_0x477d('0xd67')]['length']){_0x387bba[_0x477d('0xd67')]=_0x1d274a['data']['errors']||[{'message':_0x1d274a[_0x477d('0x453')](),'type':_0x477d('0x12fe')}];for(var _0x43e5ef=0x0;_0x43e5ef<_0x1d274a[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x43e5ef++){_0x48349a[_0x477d('0x44a')]({'title':_0x1d274a[_0x477d('0x451')][_0x477d('0xd67')][_0x43e5ef][_0x477d('0x439')],'msg':_0x1d274a[_0x477d('0x451')]['errors'][_0x43e5ef][_0x477d('0x452')]});}}else{_0x48349a[_0x477d('0x44a')]({'title':_0x1d274a[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x1d274a[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x1d274a[_0x477d('0x44d')]:_0x477d('0x12fe'),'msg':_0x1d274a[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x1d274a[_0x477d('0x451')][_0x477d('0x452')]):_0x1d274a['toString']()});}});}function _0x273dca(_0x2fc8dd){_0x387bba[_0x477d('0xd67')]=[];var _0x2bac5c=_0x308962[_0x477d('0xd78')]()['title']('Are\x20you\x20sure?')['content'](_0x477d('0x275d'))['ariaLabel']('Delete\x20WhatsappCannedAnswer')['ok'](_0x477d('0xd7b'))[_0x477d('0x4f0')](_0x477d('0x688'))[_0x477d('0xd7c')](_0x2fc8dd);_0x308962[_0x477d('0x395')](_0x2bac5c)[_0x477d('0x76')](function(){_0x3ad549[_0x477d('0xb91')][_0x477d('0xa55')]({'id':_0x387bba['whatsappCannedAnswer']['id']})[_0x477d('0x38b')]['then'](function(){_[_0x477d('0x39c')](_0x387bba[_0x477d('0x2757')],{'id':_0x387bba[_0x477d('0x2753')]['id']});_0x48349a['success']({'title':'WhatsappCannedAnswer\x20properly\x20deleted!','msg':(_0x387bba[_0x477d('0x2753')]['name']||_0x477d('0x2753'))+_0x477d('0xd7e')});_0x1f2621(_0x387bba['whatsappCannedAnswer']);})[_0x477d('0xf8')](function(_0x5e45ea){if(_0x5e45ea[_0x477d('0x451')]&&_0x5e45ea[_0x477d('0x451')][_0x477d('0xd67')]&&_0x5e45ea[_0x477d('0x451')][_0x477d('0xd67')]['length']){_0x387bba[_0x477d('0xd67')]=_0x5e45ea[_0x477d('0x451')]['errors']||[{'message':_0x5e45ea[_0x477d('0x453')](),'type':_0x477d('0x1300')}];for(var _0x24302b=0x0;_0x24302b<_0x5e45ea[_0x477d('0x451')]['errors']['length'];_0x24302b++){_0x48349a['error']({'title':_0x5e45ea[_0x477d('0x451')][_0x477d('0xd67')][_0x24302b][_0x477d('0x439')],'msg':_0x5e45ea[_0x477d('0x451')][_0x477d('0xd67')][_0x24302b][_0x477d('0x452')]});}}else{_0x48349a[_0x477d('0x44a')]({'title':_0x5e45ea[_0x477d('0x3c3')]?'API:'+_0x5e45ea[_0x477d('0x3c3')]+'\x20-\x20'+_0x5e45ea['statusText']:_0x477d('0x1300'),'msg':_0x5e45ea[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x5e45ea[_0x477d('0x451')][_0x477d('0x452')]):_0x5e45ea['message']||_0x5e45ea[_0x477d('0x453')]()});}});},function(){});}function _0x3f2024(_0x5776f2){return _0x5776f2===null?undefined:new Date(_0x5776f2);}function _0x1f2621(_0x18e20e){_0x308962['hide'](_0x18e20e);}}}());(function(){'use strict';_0x2145d6[_0x477d('0xa')]=[_0x477d('0x385'),'$scope',_0x477d('0x3c4'),'$q',_0x477d('0x40d'),_0x477d('0x3fe'),_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x40e'),_0x477d('0x386'),'Auth'];angular['module'](_0x477d('0x3e'))[_0x477d('0x3ba')](_0x477d('0x275e'),_0x2145d6);function _0x2145d6(_0x238fae,_0xd6a8a1,_0x46211d,_0x5c0ceb,_0x5ea36f,_0x448bca,_0x371139,_0x154202,_0x566c84,_0x54208c,_0x1862b2){var _0x2e355e=this;_0x2e355e[_0x477d('0x3e5')]=_0x1862b2[_0x477d('0x5c')]();_0x2e355e['whatsappAccount']={};_0x2e355e[_0x477d('0x275f')]={'count':0x0,'rows':[]};_0x2e355e[_0x477d('0x2760')]=[];_0x2e355e[_0x477d('0xd66')];_0x2e355e[_0x477d('0x3ef')]={'fields':_0x477d('0x2b0'),'limit':0xa,'page':0x1};_0x2e355e[_0x477d('0x5ee')]=_0x14802e;_0x2e355e[_0x477d('0xe66')]=_0x2e997e;_0x2e355e['success']=_0x13eb47;_0x2e355e['getWhatsappAccountWhatsappDispositions']=_0x101a0c;_0x2e355e[_0x477d('0x2761')]=_0x5c98ca;_0x2e355e[_0x477d('0x2762')]=_0x2f71ba;_0x2e355e[_0x477d('0x2763')]=_0x1cec16;_0x2e355e[_0x477d('0x2764')]=_0x4b32a7;function _0x14802e(_0x1626c8,_0x56b85f){_0x2e355e[_0x477d('0x17e2')]=_0x1626c8;_0x2e355e[_0x477d('0xd66')]=typeof _0x56b85f!==_0x477d('0x4a4')?_0x56b85f:{'readOnly':!![],'canEdit':![],'canDelete':![]};_0x2e355e['query'][_0x477d('0x1597')]=_0x2e355e['whatsappAccount']['id'];_0x2e355e[_0x477d('0x3ef')]['id']=_0x2e355e[_0x477d('0x17e2')]['id'];_0x101a0c();}function _0x2e997e(_0x18aca5,_0x458827){var _0x3b4c59=_0x371139[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x2765'))[_0x477d('0xd92')](_0x477d('0xd93')+(_0x18aca5[_0x477d('0x94')]||_0x18aca5['id']&&_[_0x477d('0x1367')](_0x477d('0x2766'))+_0x18aca5['id']||_0x477d('0x2767'))+_0x477d('0xd94')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x2768'))[_0x477d('0xd7c')](_0x458827)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x371139[_0x477d('0x395')](_0x3b4c59)[_0x477d('0x76')](function(){_0x1cec16(_0x18aca5);},function(){console[_0x477d('0x7b')](_0x477d('0xd97'));});}function _0x13eb47(_0xa76e8b){_0x2e355e['whatsappAccountWhatsappDispositions']=_0xa76e8b||{'count':0x0,'rows':[]};}function _0x101a0c(){_0x2e355e['query'][_0x477d('0x91c')]=(_0x2e355e[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x2e355e[_0x477d('0x3ef')][_0x477d('0x91d')];_0x2e355e[_0x477d('0x553')]=_0x54208c[_0x477d('0x17e2')][_0x477d('0x1309')](_0x2e355e[_0x477d('0x3ef')],_0x13eb47)[_0x477d('0x38b')];}function _0x5c98ca(_0x32f88c,_0x51259d){_0x371139[_0x477d('0x395')]({'controller':_0x477d('0x2769'),'controllerAs':'vm','templateUrl':_0x477d('0x276a'),'parent':angular[_0x477d('0x398')](_0x154202[_0x477d('0x399')]),'targetEvent':_0x32f88c,'clickOutsideToClose':!![],'locals':{'whatsappAccount':_0x2e355e[_0x477d('0x17e2')],'whatsappDisposition':_0x51259d,'whatsappDispositions':_0x2e355e[_0x477d('0x275f')]['rows'],'license':null,'setting':null,'crudPermissions':_0x2e355e['crudPermissions']}});}function _0x1cec16(_0x31333a){_0x54208c[_0x477d('0xb95')][_0x477d('0xa55')]({'id':_0x31333a['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x2e355e[_0x477d('0x275f')]['rows'],{'id':_0x31333a['id']});_0x2e355e[_0x477d('0x275f')][_0x477d('0x3bb')]-=0x1;if(!_0x2e355e['whatsappAccountWhatsappDispositions']['rows'][_0x477d('0x79')]){_0x101a0c();}_0x566c84['success']({'title':'WhatsappDisposition\x20deleted!','msg':_0x31333a['name']?_0x31333a[_0x477d('0x94')]+_0x477d('0xd7e'):''});})[_0x477d('0xf8')](function(_0x2bcd52){if(_0x2bcd52['data']&&_0x2bcd52['data'][_0x477d('0xd67')]&&_0x2bcd52[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){vm[_0x477d('0xd67')]=_0x2bcd52[_0x477d('0x451')]['errors']||[{'message':_0x2bcd52[_0x477d('0x453')](),'type':'SYSTEM:GETwhatsappAccount'}];for(var _0x217dcc=0x0;_0x217dcc<_0x2bcd52[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x217dcc++){_0x566c84['error']({'title':_0x2bcd52['data'][_0x477d('0xd67')][_0x217dcc][_0x477d('0x439')],'msg':_0x2bcd52[_0x477d('0x451')]['errors'][_0x217dcc][_0x477d('0x452')]});}}else{_0x566c84['error']({'title':_0x2bcd52[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x2bcd52[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x2bcd52[_0x477d('0x44d')]:'SYSTEM:GETwhatsappAccount','msg':_0x2bcd52['data']?JSON[_0x477d('0x3fb')](_0x2bcd52[_0x477d('0x451')][_0x477d('0x452')]):_0x2bcd52[_0x477d('0x452')]||_0x2bcd52[_0x477d('0x453')]()});}});}function _0x2f71ba(){var _0x535a17=angular[_0x477d('0x6d9')](_0x2e355e[_0x477d('0x2760')]);_0x2e355e[_0x477d('0x2760')]=[];return _0x535a17;}function _0x4b32a7(_0x33ba8c){var _0x42ca4a=_0x371139[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x276b'))[_0x477d('0xd92')](_0x477d('0xd93')+_0x2e355e[_0x477d('0x2760')][_0x477d('0x79')]+_0x477d('0xda0')+_0x477d('0xd95'))['ariaLabel'](_0x477d('0x276c'))[_0x477d('0xd7c')](_0x33ba8c)['ok']('OK')[_0x477d('0x4f0')]('CANCEL');_0x371139[_0x477d('0x395')](_0x42ca4a)[_0x477d('0x76')](function(){_0x2e355e['selectedWhatsappAccountWhatsappDispositions'][_0x477d('0x3b1')](function(_0x2094e8){_0x1cec16(_0x2094e8);});_0x2e355e['selectedWhatsappAccountWhatsappDispositions']=[];});}var _0x1f0c72=!![];var _0x1b71f8=0x1;_0xd6a8a1[_0x477d('0x4b5')](_0x477d('0x12f3'),function(_0x2f1fb6,_0x36061e){if(_0x1f0c72){_0x448bca(function(){_0x1f0c72=![];});}else{if(!_0x36061e){_0x1b71f8=_0x2e355e[_0x477d('0x3ef')]['page'];}if(_0x2f1fb6!==_0x36061e){_0x2e355e[_0x477d('0x3ef')][_0x477d('0xe03')]=0x1;}if(!_0x2f1fb6){_0x2e355e[_0x477d('0x3ef')][_0x477d('0xe03')]=_0x1b71f8;}_0x101a0c();}});}}());(function(){'use strict';_0x56e75e[_0x477d('0xa')]=[_0x477d('0x474'),'$state','$location',_0x477d('0x384'),'$q',_0x477d('0x40d'),_0x477d('0x40e'),'whatsappDispositions','whatsappDisposition',_0x477d('0x386'),'Auth',_0x477d('0x613'),'setting',_0x477d('0xd66')];angular[_0x477d('0xb')](_0x477d('0x3e'))[_0x477d('0x3ba')](_0x477d('0x2769'),_0x56e75e);function _0x56e75e(_0x16d65b,_0x2a8756,_0x1745fd,_0x371939,_0x58e09c,_0x445c9b,_0x4e9f74,_0x12942c,_0x195117,_0x42d687,_0x424d42,_0x4652a8,_0x4916f2,_0x430e58){var _0x1f9504=this;_0x1f9504[_0x477d('0x3e5')]=_0x424d42[_0x477d('0x5c')]();_0x1f9504['errors']=[];_0x1f9504[_0x477d('0xc8e')]=_0x4916f2;_0x1f9504[_0x477d('0x613')]=_0x4652a8;_0x1f9504[_0x477d('0xd66')]=_0x430e58;_0x1f9504[_0x477d('0xd68')]={};_0x1f9504[_0x477d('0xd69')]=_0x1f9504[_0x477d('0xc8e')]&&_0x1f9504['setting']['securePassword']?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x1f9504[_0x477d('0x49a')]=_0x477d('0x276d');_0x1f9504['whatsappDisposition']=angular[_0x477d('0x6d9')](_0x195117);_0x1f9504['whatsappDispositions']=_0x12942c;_0x1f9504['newWhatsappDisposition']=![];if(!_0x1f9504[_0x477d('0x2767')]){_0x1f9504['whatsappDisposition']={};_0x1f9504[_0x477d('0x49a')]=_0x477d('0x276e');_0x1f9504[_0x477d('0x276f')]=!![];}if(_0x2a8756[_0x477d('0x37e')]['id']){_0x1f9504[_0x477d('0x2767')]['WhatsappAccountId']=_0x2a8756[_0x477d('0x37e')]['id'];}_0x1f9504[_0x477d('0x2770')]=_0x1c510c;_0x1f9504[_0x477d('0x2771')]=_0x35cc1c;_0x1f9504[_0x477d('0x2772')]=_0x44967e;_0x1f9504[_0x477d('0xd6f')]=_0x2e02ea;_0x1f9504[_0x477d('0x6bf')]=_0x5b2ab0;function _0x1c510c(){_0x1f9504[_0x477d('0xd67')]=[];_0x42d687[_0x477d('0xb95')][_0x477d('0xd70')](_0x1f9504['whatsappDisposition'])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x38ea20){_0x1f9504[_0x477d('0x2773')][_0x477d('0x63b')](_0x38ea20[_0x477d('0xd71')]());_0x4e9f74[_0x477d('0x485')]({'title':'WhatsappDisposition\x20properly\x20created','msg':_0x1f9504[_0x477d('0x2767')][_0x477d('0x94')]?_0x1f9504['whatsappDisposition']['name']+'\x20has\x20been\x20created!':''});_0x5b2ab0(_0x38ea20);})[_0x477d('0xf8')](function(_0x3a5afa){if(_0x3a5afa['data']&&_0x3a5afa[_0x477d('0x451')][_0x477d('0xd67')]&&_0x3a5afa[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x1f9504[_0x477d('0xd67')]=_0x3a5afa[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x3a5afa['toString'](),'type':_0x477d('0x1314')}];for(var _0x460773=0x0;_0x460773<_0x3a5afa[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x460773+=0x1){_0x4e9f74[_0x477d('0x44a')]({'title':_0x3a5afa[_0x477d('0x451')][_0x477d('0xd67')][_0x460773][_0x477d('0x439')],'msg':_0x3a5afa[_0x477d('0x451')][_0x477d('0xd67')][_0x460773]['message']});}}else{_0x4e9f74[_0x477d('0x44a')]({'title':_0x3a5afa['status']?_0x477d('0x44b')+_0x3a5afa[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x3a5afa[_0x477d('0x44d')]:'api.disposition.save','msg':_0x3a5afa[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x3a5afa['data']['message']):_0x3a5afa['toString']()});}});}function _0x35cc1c(){_0x1f9504['errors']=[];_0x42d687[_0x477d('0xb95')]['update']({'id':_0x1f9504['whatsappDisposition']['id']},_0x1f9504['whatsappDisposition'])[_0x477d('0x38b')]['then'](function(_0x662fda){var _0x507ac8=_[_0x477d('0x10a')](_0x1f9504[_0x477d('0x2773')],{'id':_0x662fda['id']});if(_0x507ac8){_[_0x477d('0xef')](_0x507ac8,_[_0x477d('0x10b')](_0x662fda[_0x477d('0xd71')](),_['keys'](_0x507ac8)));}_0x4e9f74['success']({'title':_0x477d('0x2774'),'msg':_0x1f9504[_0x477d('0x2767')][_0x477d('0x94')]?_0x1f9504['whatsappDisposition'][_0x477d('0x94')]+_0x477d('0xd76'):''});_0x5b2ab0(_0x662fda);})[_0x477d('0xf8')](function(_0x3622ea){if(_0x3622ea[_0x477d('0x451')]&&_0x3622ea['data']['errors']&&_0x3622ea['data']['errors']['length']){_0x1f9504['errors']=_0x3622ea[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x3622ea['toString'](),'type':_0x477d('0x1316')}];for(var _0x57b39c=0x0;_0x57b39c<_0x3622ea[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x57b39c++){_0x4e9f74[_0x477d('0x44a')]({'title':_0x3622ea[_0x477d('0x451')][_0x477d('0xd67')][_0x57b39c][_0x477d('0x439')],'msg':_0x3622ea[_0x477d('0x451')][_0x477d('0xd67')][_0x57b39c][_0x477d('0x452')]});}}else{_0x4e9f74['error']({'title':_0x3622ea[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x3622ea[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x3622ea[_0x477d('0x44d')]:'api.disposition.update','msg':_0x3622ea['data']?JSON[_0x477d('0x3fb')](_0x3622ea[_0x477d('0x451')][_0x477d('0x452')]):_0x3622ea[_0x477d('0x453')]()});}});}function _0x44967e(_0x2b55ad){_0x1f9504[_0x477d('0xd67')]=[];var _0x360d25=_0x371939[_0x477d('0xd78')]()['title'](_0x477d('0xd79'))[_0x477d('0xdaf')](_0x477d('0x2775'))['ariaLabel']('Delete\x20WhatsappDisposition')['ok'](_0x477d('0xd7b'))['cancel'](_0x477d('0x688'))['targetEvent'](_0x2b55ad);_0x371939['show'](_0x360d25)['then'](function(){_0x42d687[_0x477d('0xb95')][_0x477d('0xa55')]({'id':_0x1f9504[_0x477d('0x2767')]['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x1f9504[_0x477d('0x2773')],{'id':_0x1f9504['whatsappDisposition']['id']});_0x4e9f74[_0x477d('0x485')]({'title':'WhatsappDisposition\x20properly\x20deleted!','msg':(_0x1f9504[_0x477d('0x2767')][_0x477d('0x94')]||'whatsappDisposition')+'\x20has\x20been\x20deleted!'});_0x5b2ab0(_0x1f9504['whatsappDisposition']);})[_0x477d('0xf8')](function(_0x18321e){if(_0x18321e[_0x477d('0x451')]&&_0x18321e[_0x477d('0x451')]['errors']&&_0x18321e[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x1f9504['errors']=_0x18321e[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x18321e[_0x477d('0x453')](),'type':_0x477d('0x1318')}];for(var _0x26881c=0x0;_0x26881c<_0x18321e[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x26881c++){_0x4e9f74[_0x477d('0x44a')]({'title':_0x18321e[_0x477d('0x451')][_0x477d('0xd67')][_0x26881c][_0x477d('0x439')],'msg':_0x18321e[_0x477d('0x451')][_0x477d('0xd67')][_0x26881c]['message']});}}else{_0x4e9f74[_0x477d('0x44a')]({'title':_0x18321e[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x18321e['status']+_0x477d('0x44c')+_0x18321e['statusText']:_0x477d('0x1318'),'msg':_0x18321e['data']?JSON[_0x477d('0x3fb')](_0x18321e['data'][_0x477d('0x452')]):_0x18321e[_0x477d('0x452')]||_0x18321e[_0x477d('0x453')]()});}});},function(){});}function _0x2e02ea(_0x5eaf72){return _0x5eaf72===null?undefined:new Date(_0x5eaf72);}function _0x5b2ab0(_0x11ef4d){_0x371939[_0x477d('0x3bc')](_0x11ef4d);}}}());(function(){'use strict';_0x53edbb[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x387'),_0x477d('0x3c4'),'$mdSidenav','$mdDialog',_0x477d('0x475'),'$timeout',_0x477d('0x40d'),_0x477d('0x160f'),_0x477d('0x3a5'),_0x477d('0x3ac'),_0x477d('0x386'),_0x477d('0x342'),_0x477d('0x40e'),_0x477d('0x55'),_0x477d('0x613'),_0x477d('0xc8e')];angular[_0x477d('0xb')]('app.whatsapp')['controller'](_0x477d('0x2776'),_0x53edbb);function _0x53edbb(_0x1eb261,_0x222508,_0x149c71,_0x3bd1ef,_0xfc130a,_0xdc887a,_0x438ba9,_0x5664ae,_0x215a5a,_0x29e8ea,_0x193a6c,_0x512039,_0x3fd6a3,_0x335446,_0x490d0c,_0x43e921,_0x20141c){var _0x5e88c9=this;_0x5e88c9[_0x477d('0x613')]=_0x43e921;_0x5e88c9['setting']=_0x20141c;_0x5e88c9[_0x477d('0x3e5')]=_0x490d0c[_0x477d('0x5c')]();_0x5e88c9[_0x477d('0x160f')]=_0x215a5a||{'count':0x0,'rows':[]};_0x5e88c9[_0x477d('0x3a5')]=_0x29e8ea;_0x5e88c9[_0x477d('0x3ac')]=_0x193a6c&&_0x193a6c[_0x477d('0x3bb')]==0x1?_0x193a6c['rows'][0x0]:null;_0x5e88c9[_0x477d('0xd66')]=_0x490d0c[_0x477d('0xd81')](_0x5e88c9[_0x477d('0x3ac')]?_0x5e88c9[_0x477d('0x3ac')][_0x477d('0xd66')]:null);_0x5e88c9[_0x477d('0xd82')]=_0x477d('0x160f');_0x5e88c9[_0x477d('0xd83')]='';_0x5e88c9['listOrderAsc']=null;_0x5e88c9[_0x477d('0x2777')]=[];_0x5e88c9['query']={'fields':_0x477d('0x369'),'sort':_0x477d('0x59'),'limit':0xa,'page':0x1};_0x5e88c9[_0x477d('0x138b')]=_[_0x477d('0xdb5')]([{'option':_0x477d('0x209d'),'value':'\x27twilio\x27'}],function(_0x36404f){return _[_0x477d('0x409')](_0x36404f[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x5e88c9[_0x477d('0xea6')]=_0x2c94c5;_0x5e88c9[_0x477d('0x1971')]=_0x504e79;_0x5e88c9[_0x477d('0x1222')]=_0x4990b3;_0x5e88c9['deleteconfirm']=_0x3a1127;_0x5e88c9[_0x477d('0x485')]=_0x5539e9;_0x5e88c9['getWhatsappAccounts']=_0x1f7268;_0x5e88c9[_0x477d('0x2778')]=_0x8dc22d;_0x5e88c9[_0x477d('0x2779')]=_0x259f5;_0x5e88c9['exportSelectedWhatsappAccounts']=_0x1ece85;_0x5e88c9[_0x477d('0x277a')]=_0x5baa95;_0x5e88c9[_0x477d('0x277b')]=_0x13425c;_0x5e88c9[_0x477d('0x277c')]=_0x146c57;_0x490d0c['hasRole'](_0x477d('0x5f'))?_0x512039[_0x477d('0xe3f')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x3cdb15){_0x5e88c9['lists']=_0x3cdb15[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x5952a6){_0x335446['error']({'title':_0x5952a6['status']?_0x477d('0x44b')+_0x5952a6[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x5952a6['statusText']:_0x477d('0x1228'),'msg':_0x5952a6[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x5952a6['data']):_0x5952a6[_0x477d('0x453')]()});}):_0x512039['cmList'][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'sort':_0x477d('0x94')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0xcc7492){_0x5e88c9['lists']=_0xcc7492[_0x477d('0xf2')]||[];})['then'](function(){return _0x512039[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x5e88c9[_0x477d('0x3e5')]['userProfileId'],'sectionId':0x12d})['$promise'];})['then'](function(_0x56f82d){var _0x4dfb7b=_0x56f82d&&_0x56f82d[_0x477d('0xf2')]?_0x56f82d['rows'][0x0]:null;if(!_0x4dfb7b){var _0x2362be=[];var _0x3deaa8=null;if(_0x5e88c9[_0x477d('0x17e2')]){_0x3deaa8=_[_0x477d('0x10a')](_0x5e88c9[_0x477d('0xf1')],{'id':Number(_0x5e88c9[_0x477d('0x17e2')][_0x477d('0x1229')])});}for(var _0x1b38f1=0x0;_0x1b38f1<_0x5e88c9['lists'][_0x477d('0x79')];_0x1b38f1++){if(_0x3deaa8&&_0x5e88c9[_0x477d('0xf1')][_0x1b38f1]['id']===_0x3deaa8['id']){_0x5e88c9[_0x477d('0xf1')][_0x1b38f1][_0x477d('0xf8b')]=![];_0x2362be[_0x477d('0x3a7')](_0x5e88c9[_0x477d('0xf1')][_0x1b38f1]);}}_0x5e88c9['lists']=_0x2362be;}else{if(!_0x4dfb7b['autoAssociation']){return _0x512039[_0x477d('0x3ae')]['get']({'sectionId':_0x4dfb7b['id']})['$promise'][_0x477d('0x76')](function(_0x58ddc7){var _0x52b4ba=_[_0x477d('0x3cb')](_0x58ddc7[_0x477d('0xf2')],function(_0x213485){return _['find'](_0x5e88c9[_0x477d('0xf1')],{'id':_0x213485[_0x477d('0x3af')]});});var _0x440273=null;if(_0x5e88c9[_0x477d('0x17e2')]){_0x440273=_[_0x477d('0x10a')](_0x5e88c9[_0x477d('0xf1')],{'id':Number(_0x5e88c9[_0x477d('0x17e2')][_0x477d('0x1229')])});}if(_0x440273&&!_[_0x477d('0x3ab')](_0x52b4ba,['id',_0x440273['id']])){var _0x28de9=_[_0x477d('0x10a')](_0x5e88c9[_0x477d('0xf1')],{'id':_0x440273['id']});_0x28de9[_0x477d('0xf8b')]=![];_0x52b4ba[_0x477d('0x3a7')](_0x28de9);}_0x5e88c9[_0x477d('0xf1')]=_0x52b4ba;});}}})[_0x477d('0xf8')](function(_0x2875eb){_0x335446[_0x477d('0x44a')]({'title':_0x2875eb['status']?_0x477d('0x44b')+_0x2875eb[_0x477d('0x3c3')]+'\x20-\x20'+_0x2875eb[_0x477d('0x44d')]:'SYSTEM:GETlists','msg':_0x2875eb[_0x477d('0x451')]?JSON['stringify'](_0x2875eb[_0x477d('0x451')]):_0x2875eb[_0x477d('0x453')]()});});_0x490d0c[_0x477d('0x56')](_0x477d('0x5f'))?_0x512039[_0x477d('0x657')]['get']({'fields':_0x477d('0x13b2'),'sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0xc57d4f){_0x5e88c9[_0x477d('0xf39')]=_0xc57d4f[_0x477d('0xf2')]||[];})[_0x477d('0xf8')](function(_0x149bfc){_0x335446[_0x477d('0x44a')]({'title':_0x149bfc[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x149bfc[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x149bfc[_0x477d('0x44d')]:_0x477d('0x13b3'),'msg':_0x149bfc[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x149bfc[_0x477d('0x451')]):_0x149bfc[_0x477d('0x453')]()});}):_0x512039[_0x477d('0x657')][_0x477d('0x376')]({'fields':_0x477d('0x13b2'),'sort':_0x477d('0x94'),'nolimit':_0x477d('0x2ee')})[_0x477d('0x38b')]['then'](function(_0x93afea){_0x5e88c9[_0x477d('0xf39')]=_0x93afea[_0x477d('0xf2')]||[];})['then'](function(){return _0x512039[_0x477d('0x3ac')]['get']({'userProfileId':_0x5e88c9[_0x477d('0x3e5')][_0x477d('0x61')],'sectionId':0x3ed})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x29f7ba){var _0x34ce12=_0x29f7ba&&_0x29f7ba[_0x477d('0xf2')]?_0x29f7ba['rows'][0x0]:null;if(!_0x34ce12){_0x5e88c9['pauses']=[];}else{if(!_0x34ce12['autoAssociation']){return _0x512039[_0x477d('0x3ae')]['get']({'sectionId':_0x34ce12['id']})['$promise'][_0x477d('0x76')](function(_0x528718){var _0x579085=_[_0x477d('0x3cb')](_0x528718['rows'],function(_0x55f408){return _[_0x477d('0x10a')](_0x5e88c9['pauses'],{'id':_0x55f408[_0x477d('0x3af')]});});_0x5e88c9['pauses'][_0x477d('0x3b1')](function(_0x4b088d){if(!_['some'](_0x579085,['id',_0x4b088d['id']])){_0x4b088d[_0x477d('0xf8b')]=![];}_0x579085[_0x477d('0x3a7')](_0x4b088d);});_0x5e88c9[_0x477d('0xf39')]=_0x579085;});}}})[_0x477d('0xf8')](function(_0x281330){_0x335446[_0x477d('0x44a')]({'title':_0x281330['status']?'API:'+_0x281330[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x281330[_0x477d('0x44d')]:_0x477d('0x1958'),'msg':_0x281330['data']?JSON[_0x477d('0x3fb')](_0x281330[_0x477d('0x451')]):_0x281330[_0x477d('0x453')]()});});function _0x2c94c5(_0x3c4ee5,_0x3213c9){_0x149c71['go'](_0x477d('0x277d'),{'id':_0x3c4ee5['id'],'whatsappAccount':_0x3c4ee5,'crudPermissions':_0x5e88c9[_0x477d('0xd66')]});}function _0x504e79(_0x1f8fcb,_0x19388d){_0x149c71['go'](_0x477d('0x277d'),{'id':_0x1f8fcb['id'],'tab':0x5});}function _0x4990b3(_0x40279e,_0x31dc4e){_0xfc130a[_0x477d('0x395')]({'controller':_0x477d('0x2748'),'controllerAs':'vm','templateUrl':_0x477d('0x2749'),'parent':angular[_0x477d('0x398')](_0xdc887a[_0x477d('0x399')]),'targetEvent':_0x31dc4e,'clickOutsideToClose':!![],'locals':{'whatsappAccount':_0x40279e,'whatsappAccounts':_0x5e88c9['whatsappAccounts']?_0x5e88c9[_0x477d('0x160f')][_0x477d('0xf2')]:[],'crudPermissions':_0x5e88c9[_0x477d('0xd66')],'realtime':![]}});}function _0x3a1127(_0x12b0a7,_0x11bc50){var _0x35ceaa=_0xfc130a[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xd90')+_[_0x477d('0xd91')]('whatsappAccount')+'?')[_0x477d('0xd92')](''+(_0x12b0a7[_0x477d('0x94')]||'whatsappAccount')+_0x477d('0xd94')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x277e'))['targetEvent'](_0x11bc50)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0xfc130a[_0x477d('0x395')](_0x35ceaa)[_0x477d('0x76')](function(){_0x259f5(_0x12b0a7);},function(){console[_0x477d('0x7b')](_0x477d('0xd97'));});}var _0x459548=!![];var _0x4424f6=0x1;_0x1eb261[_0x477d('0x4b5')]('vm.query.filter',function(_0x19e0c1,_0x59ad9d){if(_0x459548){_0x438ba9(function(){_0x459548=![];});}else{if(!_0x59ad9d){_0x4424f6=_0x5e88c9[_0x477d('0x3ef')][_0x477d('0xe03')];}if(_0x19e0c1!==_0x59ad9d){_0x5e88c9['query'][_0x477d('0xe03')]=0x1;}if(!_0x19e0c1){_0x5e88c9['query'][_0x477d('0xe03')]=_0x4424f6;}_0x5e88c9['getWhatsappAccounts']();}});function _0x5539e9(_0x2e778a){_0x5e88c9[_0x477d('0x160f')]=_0x2e778a||{'count':0x0,'rows':[]};}function _0x1f7268(){_0x5e88c9[_0x477d('0x3ef')][_0x477d('0x91c')]=(_0x5e88c9[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x5e88c9['query'][_0x477d('0x91d')];if(_0x490d0c[_0x477d('0x56')](_0x477d('0x5f'))){_0x5e88c9[_0x477d('0x553')]=_0x512039['whatsappAccount'][_0x477d('0x376')](_0x5e88c9[_0x477d('0x3ef')],_0x5539e9)[_0x477d('0x38b')];}else{_0x5e88c9['query']['id']=_0x5e88c9[_0x477d('0x3a5')]['id'];_0x5e88c9[_0x477d('0x3ef')][_0x477d('0xd99')]='WhatsappAccounts';_0x5e88c9[_0x477d('0x553')]=_0x512039[_0x477d('0x3a5')][_0x477d('0xd9a')](_0x5e88c9[_0x477d('0x3ef')],_0x5539e9)[_0x477d('0x38b')];}}function _0x8dc22d(_0x3dc799,_0x364d1f){_0xfc130a['show']({'controller':_0x477d('0x2719'),'controllerAs':'vm','templateUrl':_0x477d('0x277f'),'parent':angular[_0x477d('0x398')](_0xdc887a[_0x477d('0x399')]),'targetEvent':_0x3dc799,'clickOutsideToClose':!![],'locals':{'whatsappAccount':_0x364d1f,'whatsappAccounts':_0x5e88c9[_0x477d('0x160f')][_0x477d('0xf2')],'license':_0x5e88c9[_0x477d('0x613')],'setting':_0x5e88c9[_0x477d('0xc8e')],'crudPermissions':_0x5e88c9['crudPermissions']}});}function _0x259f5(_0x3e0640){_0x512039[_0x477d('0x17e2')][_0x477d('0xa55')]({'id':_0x3e0640['id']})['$promise'][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x5e88c9[_0x477d('0x160f')][_0x477d('0xf2')],{'id':_0x3e0640['id']});_0x5e88c9['whatsappAccounts'][_0x477d('0x3bb')]-=0x1;if(!_0x5e88c9[_0x477d('0x160f')][_0x477d('0xf2')]['length']){_0x5e88c9[_0x477d('0x1606')]();}_0x335446[_0x477d('0x485')]({'title':_['startCase'](_0x477d('0x2780'))+_0x477d('0xd9d'),'msg':_0x3e0640[_0x477d('0x94')]?_0x3e0640[_0x477d('0x94')]+_0x477d('0xd7e'):''});})[_0x477d('0xf8')](function(_0x35101f){if(_0x35101f[_0x477d('0x451')]&&_0x35101f[_0x477d('0x451')][_0x477d('0xd67')]&&_0x35101f['data'][_0x477d('0xd67')][_0x477d('0x79')]){_0x5e88c9[_0x477d('0xd67')]=_0x35101f[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x35101f[_0x477d('0x453')](),'type':'SYSTEM:DELETEwhatsappAccount'}];for(var _0x549c52=0x0;_0x549c52<_0x35101f[_0x477d('0x451')]['errors']['length'];_0x549c52++){_0x335446[_0x477d('0x44a')]({'title':_0x35101f['data'][_0x477d('0xd67')][_0x549c52][_0x477d('0x439')],'msg':_0x35101f[_0x477d('0x451')][_0x477d('0xd67')][_0x549c52][_0x477d('0x452')]});}}else{_0x335446[_0x477d('0x44a')]({'title':_0x35101f[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x35101f[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x35101f['statusText']:_0x477d('0x2781'),'msg':_0x35101f[_0x477d('0x451')]?JSON['stringify'](_0x35101f[_0x477d('0x451')]['message']):_0x35101f[_0x477d('0x452')]||_0x35101f[_0x477d('0x453')]()});}});}function _0x1ece85(){var _0x5e31fe=angular['copy'](_0x5e88c9[_0x477d('0x2777')]);_0x5e88c9[_0x477d('0x2777')]=[];return _0x5e31fe;}function _0x5baa95(_0x3d3ad1){var _0x187d88=_0xfc130a['confirm']()[_0x477d('0x49a')](_0x477d('0x2782'))[_0x477d('0xd92')](_0x477d('0xd93')+_0x5e88c9[_0x477d('0x2777')][_0x477d('0x79')]+'\x20selected'+_0x477d('0xd95'))['ariaLabel']('delete\x20WhatsappAccounts')['targetEvent'](_0x3d3ad1)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0xfc130a[_0x477d('0x395')](_0x187d88)['then'](function(){_0x5e88c9[_0x477d('0x2777')][_0x477d('0x3b1')](function(_0x3bd600){_0x259f5(_0x3bd600);});_0x5e88c9[_0x477d('0x2777')]=[];});}function _0x13425c(){_0x5e88c9[_0x477d('0x2777')]=[];}function _0x146c57(){_0x5e88c9[_0x477d('0x2777')]=_0x5e88c9[_0x477d('0x160f')][_0x477d('0xf2')];}}}());(function(){'use strict';_0x482b71[_0x477d('0xa')]=['$scope',_0x477d('0x3c4'),_0x477d('0xd64'),_0x477d('0x384'),'$q',_0x477d('0x40d'),'toasty','whatsappQueues','whatsappQueue','api',_0x477d('0x55'),_0x477d('0x613'),_0x477d('0xc8e'),_0x477d('0xd66')];angular['module'](_0x477d('0x3e'))[_0x477d('0x3ba')]('CreateOrEditWhatsappQueueDialogController',_0x482b71);function _0x482b71(_0x3a6ed0,_0x57cca9,_0xd7f68f,_0x2c9956,_0x2b435e,_0x2d6252,_0x24d322,_0x336341,_0xa91ba9,_0x2c44e4,_0x4fcc6f,_0x4e2069,_0x3e4e49,_0x2b9048){var _0x3cbff7=this;_0x3cbff7[_0x477d('0x3e5')]=_0x4fcc6f[_0x477d('0x5c')]();_0x3cbff7[_0x477d('0xd67')]=[];_0x3cbff7[_0x477d('0xc8e')]=_0x3e4e49;_0x3cbff7[_0x477d('0x613')]=_0x4e2069;_0x3cbff7[_0x477d('0xd66')]=_0x2b9048;_0x3cbff7[_0x477d('0xd68')]={};_0x3cbff7['passwordPattern']=_0x3cbff7[_0x477d('0xc8e')]&&_0x3cbff7[_0x477d('0xc8e')][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x3cbff7[_0x477d('0x49a')]='WHATSAPP.EDIT_WHATSAPPQUEUE';_0x3cbff7[_0x477d('0xcfa')]=angular[_0x477d('0x6d9')](_0xa91ba9);_0x3cbff7[_0x477d('0x1738')]=_0x336341;_0x3cbff7[_0x477d('0x2783')]=![];if(!_0x3cbff7[_0x477d('0xcfa')]){_0x3cbff7[_0x477d('0xcfa')]={'strategy':'beepall','timeout':0xa};_0x3cbff7[_0x477d('0x49a')]='WHATSAPP.NEW_WHATSAPPQUEUE';_0x3cbff7['newWhatsappQueue']=!![];}_0x3cbff7[_0x477d('0x2784')]=_0x25898e;_0x3cbff7[_0x477d('0x2785')]=_0x151608;_0x3cbff7[_0x477d('0x2786')]=_0x4d380a;_0x3cbff7[_0x477d('0xd6f')]=_0x3dbaf7;_0x3cbff7[_0x477d('0x6bf')]=_0x100636;function _0x25898e(){_0x3cbff7[_0x477d('0xd67')]=[];_0x2c44e4['whatsappQueue']['save'](_0x3cbff7['whatsappQueue'])[_0x477d('0x38b')][_0x477d('0x76')](function(_0x3fa68e){_0x3cbff7[_0x477d('0x1738')]['unshift'](_0x3fa68e['toJSON']());_0x24d322[_0x477d('0x485')]({'title':'WhatsappQueue\x20properly\x20created','msg':_0x3cbff7[_0x477d('0xcfa')][_0x477d('0x94')]?_0x3cbff7[_0x477d('0xcfa')]['name']+_0x477d('0xd73'):''});_0x100636(_0x3fa68e);})[_0x477d('0xf8')](function(_0x2b1c89){if(_0x2b1c89['data']&&_0x2b1c89[_0x477d('0x451')][_0x477d('0xd67')]&&_0x2b1c89['data'][_0x477d('0xd67')][_0x477d('0x79')]){_0x3cbff7[_0x477d('0xd67')]=_0x2b1c89[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x2b1c89['toString'](),'type':_0x477d('0x2787')}];for(var _0x4bddc8=0x0;_0x4bddc8<_0x2b1c89[_0x477d('0x451')]['errors'][_0x477d('0x79')];_0x4bddc8+=0x1){_0x24d322[_0x477d('0x44a')]({'title':_0x2b1c89[_0x477d('0x451')][_0x477d('0xd67')][_0x4bddc8]['type'],'msg':_0x2b1c89['data'][_0x477d('0xd67')][_0x4bddc8][_0x477d('0x452')]});}}else{_0x24d322[_0x477d('0x44a')]({'title':_0x2b1c89[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x2b1c89[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x2b1c89['statusText']:_0x477d('0x2787'),'msg':_0x2b1c89['data']?JSON[_0x477d('0x3fb')](_0x2b1c89[_0x477d('0x451')]['message']):_0x2b1c89[_0x477d('0x453')]()});}});}function _0x151608(){_0x3cbff7[_0x477d('0xd67')]=[];_0x2c44e4[_0x477d('0xcfa')][_0x477d('0x710')]({'id':_0x3cbff7[_0x477d('0xcfa')]['id']},_0x3cbff7[_0x477d('0xcfa')])[_0x477d('0x38b')][_0x477d('0x76')](function(_0xf5455a){var _0x4d64cf=_[_0x477d('0x10a')](_0x3cbff7[_0x477d('0x1738')],{'id':_0xf5455a['id']});if(_0x4d64cf){_['merge'](_0x4d64cf,_[_0x477d('0x10b')](_0xf5455a[_0x477d('0xd71')](),_[_0x477d('0x7f')](_0x4d64cf)));}_0x24d322[_0x477d('0x485')]({'title':'WhatsappQueue\x20properly\x20saved!','msg':_0x3cbff7[_0x477d('0xcfa')][_0x477d('0x94')]?_0x3cbff7[_0x477d('0xcfa')][_0x477d('0x94')]+_0x477d('0xd76'):''});_0x100636(_0xf5455a);})[_0x477d('0xf8')](function(_0x2f7d1b){if(_0x2f7d1b[_0x477d('0x451')]&&_0x2f7d1b[_0x477d('0x451')][_0x477d('0xd67')]&&_0x2f7d1b[_0x477d('0x451')]['errors']['length']){_0x3cbff7['errors']=_0x2f7d1b[_0x477d('0x451')]['errors']||[{'message':_0x2f7d1b[_0x477d('0x453')](),'type':_0x477d('0x2788')}];for(var _0x2b6ec9=0x0;_0x2b6ec9<_0x2f7d1b['data']['errors'][_0x477d('0x79')];_0x2b6ec9++){_0x24d322[_0x477d('0x44a')]({'title':_0x2f7d1b[_0x477d('0x451')]['errors'][_0x2b6ec9][_0x477d('0x439')],'msg':_0x2f7d1b[_0x477d('0x451')][_0x477d('0xd67')][_0x2b6ec9][_0x477d('0x452')]});}}else{_0x24d322[_0x477d('0x44a')]({'title':_0x2f7d1b[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x2f7d1b['status']+'\x20-\x20'+_0x2f7d1b['statusText']:_0x477d('0x2788'),'msg':_0x2f7d1b[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x2f7d1b[_0x477d('0x451')][_0x477d('0x452')]):_0x2f7d1b[_0x477d('0x453')]()});}});}function _0x4d380a(_0x154afe){_0x3cbff7[_0x477d('0xd67')]=[];var _0x25de16=_0x2c9956[_0x477d('0xd78')]()[_0x477d('0x49a')]('Are\x20you\x20sure?')[_0x477d('0xdaf')]('The\x20whatsappQueue\x20will\x20be\x20deleted.')[_0x477d('0x687')]('Delete\x20WhatsappQueue')['ok']('Delete')[_0x477d('0x4f0')]('Cancel')[_0x477d('0xd7c')](_0x154afe);_0x2c9956['show'](_0x25de16)['then'](function(){_0x2c44e4[_0x477d('0xcfa')][_0x477d('0xa55')]({'id':_0x3cbff7[_0x477d('0xcfa')]['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_['remove'](_0x3cbff7[_0x477d('0x1738')],{'id':_0x3cbff7[_0x477d('0xcfa')]['id']});_0x24d322[_0x477d('0x485')]({'title':_0x477d('0x2789'),'msg':(_0x3cbff7['whatsappQueue'][_0x477d('0x94')]||_0x477d('0xcfa'))+_0x477d('0xd7e')});_0x100636(_0x3cbff7['whatsappQueue']);})[_0x477d('0xf8')](function(_0x43c3e1){if(_0x43c3e1[_0x477d('0x451')]&&_0x43c3e1[_0x477d('0x451')][_0x477d('0xd67')]&&_0x43c3e1[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x3cbff7[_0x477d('0xd67')]=_0x43c3e1[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x43c3e1[_0x477d('0x453')](),'type':_0x477d('0x278a')}];for(var _0x7652d7=0x0;_0x7652d7<_0x43c3e1[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x7652d7++){_0x24d322[_0x477d('0x44a')]({'title':_0x43c3e1['data'][_0x477d('0xd67')][_0x7652d7][_0x477d('0x439')],'msg':_0x43c3e1['data'][_0x477d('0xd67')][_0x7652d7][_0x477d('0x452')]});}}else{_0x24d322['error']({'title':_0x43c3e1['status']?_0x477d('0x44b')+_0x43c3e1['status']+_0x477d('0x44c')+_0x43c3e1[_0x477d('0x44d')]:_0x477d('0x278a'),'msg':_0x43c3e1[_0x477d('0x451')]?JSON['stringify'](_0x43c3e1['data'][_0x477d('0x452')]):_0x43c3e1[_0x477d('0x452')]||_0x43c3e1[_0x477d('0x453')]()});}});},function(){});}function _0x3dbaf7(_0x1e7153){return _0x1e7153===null?undefined:new Date(_0x1e7153);}function _0x100636(_0x197e54){_0x2c9956['hide'](_0x197e54);}}}());(function(){'use strict';_0x1feeb6['$inject']=[_0x477d('0x384'),'$q',_0x477d('0x40e'),_0x477d('0x386'),_0x477d('0xcfa'),_0x477d('0x1738'),_0x477d('0x11f1'),_0x477d('0x40d'),_0x477d('0x55'),_0x477d('0xd66')];angular['module'](_0x477d('0x3e'))[_0x477d('0x3ba')](_0x477d('0x2717'),_0x1feeb6);function _0x1feeb6(_0x5d893e,_0x44ac24,_0x48a253,_0x19c087,_0x3abb1e,_0x43c5d6,_0x4ce264,_0x140772,_0x47ffe4,_0x5b2f73){var _0x1a3a33=this;_0x1a3a33[_0x477d('0x3e5')]=_0x47ffe4['getCurrentUser']();_0x1a3a33[_0x477d('0xcfa')]=_0x3abb1e;_0x1a3a33['crudPermissions']=_0x5b2f73;_0x1a3a33[_0x477d('0x11f1')]=_0x4ce264;_0x1a3a33['items']=[];_0x1a3a33[_0x477d('0x11f7')]=[];_0x1a3a33[_0x477d('0x4a7')]=[];_0x1a3a33[_0x477d('0x11f2')]=[];_0x1a3a33[_0x477d('0x11fd')]=[];_0x1a3a33[_0x477d('0x11f5')]=![];_0x1a3a33[_0x477d('0x71a')]=_0x509e49;_0x1a3a33[_0x477d('0x11f3')]=_0x26e4ce;_0x1a3a33[_0x477d('0x6bf')]=_0xf71667;_0x1a3a33[_0x477d('0x1185')]={'readOnly':!_0x1a3a33[_0x477d('0xd66')][_0x477d('0xedb')],'items':[],'selectedItems':[],'showSelectAndDeselectAll':!![],'orderBy':_0x477d('0x94'),'line1':_0x477d('0xcd'),'line2':[_0x477d('0x94'),_0x477d('0x324')],'line3':'','labelAll':_0x140772[_0x477d('0x45f')](_0x477d('0x272e')),'labelSelected':_0x140772[_0x477d('0x45f')](_0x477d('0x272f')),'transferCallback':function(_0x5454b7,_0x38fd26){var _0x3a7d33=_[_0x477d('0x11f4')](_0x1a3a33[_0x477d('0x11fd')],_0x1a3a33['selectedItems'],'id');_0x1a3a33[_0x477d('0x11f5')]=_[_0x477d('0x3b2')](_0x3a7d33)?![]:!![];}};function _0x509e49(){return _0x47ffe4[_0x477d('0x56')](_0x477d('0x5f'))?_0x3800d8()[_0x477d('0xf8')](function(_0x15885f){_0x48a253[_0x477d('0x44a')]({'title':_0x15885f['status']?_0x477d('0x44b')+_0x15885f[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x15885f[_0x477d('0x44d')]:_0x477d('0x11f6'),'msg':_0x15885f['status']?JSON[_0x477d('0x3fb')](_0x15885f['data']):_0x15885f[_0x477d('0x453')]()});}):_0x580250()[_0x477d('0x76')](function(_0x3a8eec){_0x1a3a33[_0x477d('0xd99')]=_0x3a8eec;return _0x3800d8();})[_0x477d('0xf8')](function(_0x2e98ec){_0x48a253[_0x477d('0x44a')]({'title':_0x2e98ec[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x2e98ec['status']+_0x477d('0x44c')+_0x2e98ec['statusText']:_0x477d('0x11f6'),'msg':_0x2e98ec[_0x477d('0x3c3')]?JSON[_0x477d('0x3fb')](_0x2e98ec[_0x477d('0x451')]):_0x2e98ec[_0x477d('0x453')]()});});}function _0x580250(){return _0x44ac24(function(_0x47ba81,_0x104dab){_0x19c087['userProfileSection'][_0x477d('0x376')]({'userProfileId':_0x1a3a33[_0x477d('0x3e5')]['userProfileId'],'name':'Agents'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x44e184){var _0x3e938e=_0x44e184&&_0x44e184[_0x477d('0xf2')]?_0x44e184[_0x477d('0xf2')][0x0]:null;_0x47ba81(_0x3e938e);})[_0x477d('0xf8')](function(_0x4cab9c){_0x104dab(_0x4cab9c);});});}function _0x3800d8(){return _0x44ac24(function(_0x4700e4,_0x112316){return _0x51aba0()['then'](function(_0x39cc08){_0x1a3a33[_0x477d('0x4a6')]=_0x39cc08['rows']?_0x39cc08[_0x477d('0xf2')]:[];if(_0x47ffe4[_0x477d('0x56')](_0x477d('0x5f'))){return _0x39cc08;}else{if(_0x1a3a33['section']){return _0x1a3a33[_0x477d('0xd99')][_0x477d('0x3ad')]?_0x39cc08:_0x5e471b();}else{return null;}}})[_0x477d('0x76')](function(_0x548b84){var _0x29999a=_0x548b84&&_0x548b84['rows']?_0x548b84[_0x477d('0xf2')]:[];_0x1a3a33['allowedItems']=_['map'](_0x29999a,function(_0xfce7f2){return _[_0x477d('0x10a')](_0x1a3a33[_0x477d('0x4a6')],{'id':_0x47ffe4[_0x477d('0x56')]('admin')||_0x1a3a33[_0x477d('0xd99')]['autoAssociation']?_0xfce7f2['id']:_0xfce7f2[_0x477d('0x3af')]});});_0x1a3a33[_0x477d('0x11f2')]=angular['copy'](_0x1a3a33[_0x477d('0x11f7')]);_0x1a3a33[_0x477d('0x4a6')][_0x477d('0x3b1')](function(_0x24b395){var _0x3a7d6a=_[_0x477d('0x10a')](_0x1a3a33['allowedItems'],{'id':_0x24b395['id']});if(_0x47ffe4['hasRole']('admin')){_0x24b395[_0x477d('0x4a3')]=!![];}else{_0x24b395[_0x477d('0x4a3')]=typeof _0x3a7d6a!==_0x477d('0x4a4')?!![]:![];}});return _0x357543();})[_0x477d('0x76')](function(_0x11885d){var _0x459852=_0x11885d&&_0x11885d[_0x477d('0xf2')]?_0x11885d[_0x477d('0xf2')]:[];_0x1a3a33[_0x477d('0x4a7')]=_[_0x477d('0x3cb')](_0x459852,function(_0x146701){var _0xc2258f=_['find'](_0x1a3a33[_0x477d('0x4a6')],{'id':_0x146701['id']});_0xc2258f[_0x477d('0x1184')]=_0x146701[_0x477d('0x278b')]?_0x477d('0x1529')+_0x146701[_0x477d('0x278b')][_0x477d('0x1184')]:'';_0xc2258f[_0x477d('0x324')]=_0x146701[_0x477d('0x3ea')](_0x477d('0x324'))?'<'+_0x146701[_0x477d('0x324')]+'>':'';return _0xc2258f;});_0x1a3a33[_0x477d('0x11fd')]=angular[_0x477d('0x6d9')](_0x1a3a33[_0x477d('0x4a7')]);_0x1a3a33[_0x477d('0x1185')]['selectedItems']=_0x1a3a33[_0x477d('0x4a7')];_0x1a3a33[_0x477d('0x1185')][_0x477d('0x4a6')]=_['differenceBy'](_0x1a3a33[_0x477d('0x11f7')],_0x1a3a33[_0x477d('0x1185')][_0x477d('0x4a7')],'id');_0x4700e4();})[_0x477d('0xf8')](function(_0xbadedc){_0x112316(_0xbadedc);});});}function _0x5e471b(){return _0x44ac24(function(_0x11be7e,_0x1ef99f){return _0x19c087[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x1a3a33[_0x477d('0xd99')]['id'],'nolimit':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x557267){_0x11be7e(_0x557267);})[_0x477d('0xf8')](function(_0x261a54){_0x1ef99f(_0x261a54);});});}function _0x357543(){return _0x44ac24(function(_0x2ceb16,_0x16b262){return _0x19c087['whatsappQueue'][_0x477d('0x11f9')]({'id':_0x1a3a33[_0x477d('0xcfa')]['id'],'fields':_0x477d('0x11fa'),'nolimit':!![],'role':_0x477d('0xcf')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x20107e){_0x2ceb16(_0x20107e);})[_0x477d('0xf8')](function(_0x3f910b){_0x16b262(_0x3f910b);});});}function _0x51aba0(){return _0x44ac24(function(_0xb2818f,_0xd8591c){return _0x19c087[_0x477d('0x380')][_0x477d('0x376')]({'fields':'id,name,internal,fullname','nolimit':!![],'role':_0x477d('0xcf')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x1746fd){_0xb2818f(_0x1746fd);})[_0x477d('0xf8')](function(_0x56c5ab){_0xd8591c(_0x56c5ab);});});}function _0x1b6bb9(_0x49a286){return _0x44ac24(function(_0x48a822,_0xde6b63){if(_['isEmpty'](_0x49a286)){_0x48a822();}else{_0x19c087['whatsappQueue'][_0x477d('0x11fb')]({'id':_0x1a3a33['whatsappQueue']['id'],'ids':_[_0x477d('0x3cb')](_0x49a286,'id')})['$promise']['then'](function(){_0x48a822();})[_0x477d('0xf8')](function(_0x5c7a46){_0xde6b63(_0x5c7a46);});}});}function _0x27baee(_0x434538){return _0x44ac24(function(_0x26d976,_0x20a5da){if(_[_0x477d('0x3b2')](_0x434538)){_0x26d976();}else{_0x19c087[_0x477d('0xcfa')]['removeAgents']({'id':_0x1a3a33[_0x477d('0xcfa')]['id'],'ids':_['map'](_0x434538,'id')})[_0x477d('0x38b')][_0x477d('0x76')](function(){_0x26d976();})[_0x477d('0xf8')](function(_0x2872d2){_0x20a5da(_0x2872d2);});}});}function _0x26e4ce(){var _0x32d5bb=_[_0x477d('0x11f8')](_0x1a3a33['startingSelectedItems'],_0x1a3a33[_0x477d('0x4a7')],'id');var _0x116381=_[_0x477d('0x11f8')](_0x1a3a33['selectedItems'],_0x1a3a33[_0x477d('0x11fd')],'id');return _0x27baee(_0x32d5bb)[_0x477d('0x76')](function(){return _0x1b6bb9(_0x116381);})[_0x477d('0x76')](function(){_0x1a3a33[_0x477d('0x11f5')]=![];_0x1a3a33[_0x477d('0x11f2')]=angular['copy'](_0x1a3a33[_0x477d('0x11f7')]);_0x1a3a33['startingSelectedItems']=angular['copy'](_0x1a3a33[_0x477d('0x4a7')]);_0x48a253[_0x477d('0x485')]({'title':_0x477d('0x11fe'),'msg':_0x477d('0x11ff')});})[_0x477d('0xf8')](function(_0x273c5b){_0x48a253['error']({'title':_0x273c5b[_0x477d('0x3c3')]?'API:'+_0x273c5b[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x273c5b[_0x477d('0x44d')]:_0x477d('0x1200'),'msg':_0x273c5b[_0x477d('0x3c3')]?JSON[_0x477d('0x3fb')](_0x273c5b[_0x477d('0x451')]):_0x273c5b['toString']()});});}function _0xf71667(){_0x5d893e[_0x477d('0x3bc')]();}}}());(function(){'use strict';_0x48ed2f[_0x477d('0xa')]=[_0x477d('0x384'),'$q',_0x477d('0x40e'),_0x477d('0x386'),_0x477d('0xcfa'),_0x477d('0x40d'),_0x477d('0x55'),'crudPermissions'];angular[_0x477d('0xb')]('app.whatsapp')[_0x477d('0x3ba')]('WhatsappQueueteamaddController',_0x48ed2f);function _0x48ed2f(_0x2c7126,_0x208370,_0x371315,_0x4bf52e,_0x295534,_0x2cb85f,_0x2cee41,_0x5ed621){var _0x524ec6=this;_0x524ec6[_0x477d('0x3e5')]=_0x2cee41[_0x477d('0x5c')]();_0x524ec6[_0x477d('0xcfa')]=_0x295534;_0x524ec6[_0x477d('0xd66')]=_0x5ed621;_0x524ec6[_0x477d('0x4a6')]=[];_0x524ec6[_0x477d('0x11f7')]=[];_0x524ec6[_0x477d('0x4a7')]=[];_0x524ec6['startingAllowedItems']=[];_0x524ec6[_0x477d('0x11fd')]=[];_0x524ec6[_0x477d('0x11f5')]=![];_0x524ec6[_0x477d('0x1185')]={'readOnly':!_0x524ec6[_0x477d('0xd66')]['canEdit'],'allowedItems':[],'selectedItems':[],'showSelectAndDeselectAll':!![],'orderBy':_0x477d('0x94'),'line1':_0x477d('0x94'),'line2':'','line3':'','labelAll':_0x2cb85f[_0x477d('0x45f')](_0x477d('0x278c')),'labelSelected':_0x2cb85f[_0x477d('0x45f')](_0x477d('0x278d')),'transferCallback':function(_0x535f80,_0x32798e){var _0x3ea4d4=_[_0x477d('0x11f4')](_0x524ec6[_0x477d('0x11fd')],_0x524ec6[_0x477d('0x4a7')],'id');_0x524ec6['pendingChanges']=_[_0x477d('0x3b2')](_0x3ea4d4)?![]:!![];}};_0x524ec6['onInit']=_0x26fde8;_0x524ec6['saveTeams']=_0x520c1e;_0x524ec6[_0x477d('0x6bf')]=_0x5cf04f;function _0x26fde8(){return _0x2cee41[_0x477d('0x56')](_0x477d('0x5f'))?_0x170924()[_0x477d('0xf8')](function(_0x253755){_0x371315[_0x477d('0x44a')]({'title':_0x253755[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x253755[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x253755['statusText']:_0x477d('0x1204'),'msg':_0x253755[_0x477d('0x3c3')]?JSON[_0x477d('0x3fb')](_0x253755[_0x477d('0x451')]):_0x253755['toString']()});}):_0x160a38()['then'](function(_0x38e4a3){_0x524ec6[_0x477d('0xd99')]=_0x38e4a3;return _0x170924();})[_0x477d('0xf8')](function(_0x46db78){_0x371315[_0x477d('0x44a')]({'title':_0x46db78[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x46db78[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x46db78[_0x477d('0x44d')]:'SYSTEM:GET_TEAMS','msg':_0x46db78[_0x477d('0x3c3')]?JSON['stringify'](_0x46db78[_0x477d('0x451')]):_0x46db78[_0x477d('0x453')]()});});}function _0x160a38(){return _0x208370(function(_0x559f1c,_0x4224ad){_0x4bf52e['userProfileSection']['get']({'userProfileId':_0x524ec6[_0x477d('0x3e5')][_0x477d('0x61')],'name':_0x477d('0x29f')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x5f27b6){var _0x3a135d=_0x5f27b6&&_0x5f27b6[_0x477d('0xf2')]?_0x5f27b6['rows'][0x0]:null;_0x559f1c(_0x3a135d);})[_0x477d('0xf8')](function(_0x481921){_0x4224ad(_0x481921);});});}function _0x170924(){return _0x208370(function(_0x2c8aa1,_0xab7e35){return _0x2ad066()[_0x477d('0x76')](function(_0x1ff851){_0x524ec6[_0x477d('0x4a6')]=_0x1ff851[_0x477d('0xf2')]?_0x1ff851['rows']:[];if(_0x2cee41[_0x477d('0x56')](_0x477d('0x5f'))){return _0x1ff851;}else{if(_0x524ec6[_0x477d('0xd99')]){return _0x524ec6['section'][_0x477d('0x3ad')]?_0x1ff851:_0x47fbe3();}else{return null;}}})[_0x477d('0x76')](function(_0x3fc054){var _0x5f2822=_0x3fc054&&_0x3fc054[_0x477d('0xf2')]?_0x3fc054[_0x477d('0xf2')]:[];_0x524ec6['allowedItems']=_[_0x477d('0x3cb')](_0x5f2822,function(_0x47f9cd){return _[_0x477d('0x10a')](_0x524ec6['items'],{'id':_0x2cee41[_0x477d('0x56')](_0x477d('0x5f'))||_0x524ec6[_0x477d('0xd99')][_0x477d('0x3ad')]?_0x47f9cd['id']:_0x47f9cd['resourceId']});});_0x524ec6[_0x477d('0x4a6')][_0x477d('0x3b1')](function(_0x10deaa){var _0x5aaf74=_[_0x477d('0x10a')](_0x524ec6[_0x477d('0x11f7')],{'id':_0x10deaa['id']});if(_0x2cee41[_0x477d('0x56')](_0x477d('0x5f'))){_0x10deaa['isValid']=!![];}else{_0x10deaa[_0x477d('0x4a3')]=typeof _0x5aaf74!==_0x477d('0x4a4')?!![]:![];}});return _0x14cf82();})[_0x477d('0x76')](function(_0x4632e0){var _0x1354f4=_0x4632e0&&_0x4632e0[_0x477d('0xf2')]?_0x4632e0['rows']:[];_0x524ec6['selectedItems']=_[_0x477d('0x3cb')](_0x1354f4,function(_0x6850e){return _[_0x477d('0x10a')](_0x524ec6[_0x477d('0x4a6')],{'id':_0x6850e['id']});});_0x524ec6[_0x477d('0x11fd')]=angular[_0x477d('0x6d9')](_0x524ec6[_0x477d('0x4a7')]);_0x524ec6[_0x477d('0x1185')]['selectedItems']=_0x524ec6[_0x477d('0x4a7')];_0x524ec6[_0x477d('0x1185')][_0x477d('0x4a6')]=_['differenceBy'](_0x524ec6[_0x477d('0x11f7')],_0x524ec6[_0x477d('0x1185')][_0x477d('0x4a7')],'id');_0x2c8aa1();})[_0x477d('0xf8')](function(_0x14ad95){_0xab7e35(_0x14ad95);});});}function _0x47fbe3(){return _0x208370(function(_0x30daf2,_0x548045){return _0x4bf52e[_0x477d('0x3ae')][_0x477d('0x376')]({'sectionId':_0x524ec6[_0x477d('0xd99')]['id'],'nolimit':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x3d53ed){_0x30daf2(_0x3d53ed);})[_0x477d('0xf8')](function(_0x53fa6c){_0x548045(_0x53fa6c);});});}function _0x14cf82(){return _0x208370(function(_0x136cf2,_0x528832){return _0x4bf52e['whatsappQueue'][_0x477d('0x1205')]({'id':_0x524ec6['whatsappQueue']['id'],'fields':'id,name','nolimit':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x1d9d19){_0x136cf2(_0x1d9d19);})[_0x477d('0xf8')](function(_0x3f2df7){_0x528832(_0x3f2df7);});});}function _0x2ad066(){return _0x208370(function(_0x5880a4,_0x5e1112){return _0x4bf52e[_0x477d('0xca3')][_0x477d('0x376')]({'fields':_0x477d('0x9c'),'nolimit':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x91de14){_0x5880a4(_0x91de14);})[_0x477d('0xf8')](function(_0x125de4){_0x5e1112(_0x125de4);});});}function _0x2f0948(_0x81ad29){return _0x208370(function(_0x3ef1c3,_0x30000e){if(_[_0x477d('0x3b2')](_0x81ad29)){_0x3ef1c3();}else{_0x4bf52e[_0x477d('0xcfa')][_0x477d('0x198b')]({'id':_0x524ec6[_0x477d('0xcfa')]['id'],'ids':_['map'](_0x81ad29,'id')})['$promise'][_0x477d('0x76')](function(){_0x3ef1c3();})[_0x477d('0xf8')](function(_0x1c5e81){_0x30000e(_0x1c5e81);});}});}function _0x362eca(_0x2d2113){return _0x208370(function(_0x5ec6d0,_0x3a75c8){if(_[_0x477d('0x3b2')](_0x2d2113)){_0x5ec6d0();}else{_0x4bf52e[_0x477d('0xcfa')][_0x477d('0x1206')]({'id':_0x524ec6[_0x477d('0xcfa')]['id'],'ids':_[_0x477d('0x3cb')](_0x2d2113,'id')})[_0x477d('0x38b')][_0x477d('0x76')](function(){_0x5ec6d0();})[_0x477d('0xf8')](function(_0x312f1b){_0x3a75c8(_0x312f1b);});}});}function _0x520c1e(){var _0x4bf5e0=_[_0x477d('0x11f8')](_0x524ec6[_0x477d('0x11fd')],_0x524ec6[_0x477d('0x4a7')],'id');var _0x1bae05=_[_0x477d('0x11f8')](_0x524ec6[_0x477d('0x4a7')],_0x524ec6[_0x477d('0x11fd')],'id');return _0x362eca(_0x4bf5e0)[_0x477d('0x76')](function(){return _0x2f0948(_0x1bae05);})['then'](function(){_0x524ec6[_0x477d('0x11f5')]=![];_0x524ec6['startingAllowedItems']=angular[_0x477d('0x6d9')](_0x524ec6[_0x477d('0x11f7')]);_0x524ec6[_0x477d('0x11fd')]=angular[_0x477d('0x6d9')](_0x524ec6[_0x477d('0x4a7')]);_0x371315[_0x477d('0x485')]({'title':_0x477d('0x11fe'),'msg':_0x477d('0x1207')});})[_0x477d('0xf8')](function(_0x155a7c){_0x371315['error']({'title':_0x155a7c['status']?_0x477d('0x44b')+_0x155a7c['status']+_0x477d('0x44c')+_0x155a7c[_0x477d('0x44d')]:_0x477d('0x1200'),'msg':_0x155a7c[_0x477d('0x3c3')]?JSON[_0x477d('0x3fb')](_0x155a7c['data']):_0x155a7c[_0x477d('0x453')]()});});}function _0x5cf04f(){_0x2c7126[_0x477d('0x3bc')]();}}}());(function(){'use strict';_0xb5381c[_0x477d('0xa')]=[_0x477d('0x3c4'),_0x477d('0xd64'),_0x477d('0x384'),'$document',_0x477d('0x40d'),'license','setting','api',_0x477d('0x40e'),_0x477d('0x55'),_0x477d('0xcfa'),_0x477d('0x3ac')];angular[_0x477d('0xb')](_0x477d('0x3e'))[_0x477d('0x3ba')](_0x477d('0x278e'),_0xb5381c);function _0xb5381c(_0x32f7c8,_0x4f0684,_0x4e9876,_0x47cfd5,_0x1bfb61,_0x4e7909,_0x4939a9,_0x5e5b3c,_0x412427,_0x3fddf5,_0x10b149,_0x2b8e1d){var _0x42c5df=this;_0x42c5df[_0x477d('0x3e5')]=_0x3fddf5[_0x477d('0x5c')]();_0x42c5df[_0x477d('0x613')]=_0x4e7909;_0x42c5df[_0x477d('0xc8e')]=_0x4939a9;_0x42c5df[_0x477d('0xd69')]=_0x42c5df[_0x477d('0xc8e')]['securePassword']?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x42c5df[_0x477d('0x3cc')]=_0x4f0684[_0x477d('0x3ce')]()+'://'+_0x4f0684['host']();_0x42c5df['whatsappQueue']=_0x10b149||_0x32f7c8['params'][_0x477d('0xcfa')]||{};_0x42c5df[_0x477d('0x3ac')]=_0x2b8e1d&&_0x2b8e1d['count']==0x1?_0x2b8e1d[_0x477d('0xf2')][0x0]:null;_0x42c5df[_0x477d('0xd66')]=_0x3fddf5['parseCrudPermissions'](_0x42c5df[_0x477d('0x3ac')]?_0x42c5df[_0x477d('0x3ac')]['crudPermissions']:null);_0x42c5df['hasModulePermissions']={};_0x42c5df[_0x477d('0xe95')]=_0x32f7c8[_0x477d('0x37e')][_0x477d('0xe96')]||0x0;_0x42c5df[_0x477d('0x11d4')]=_0x5b4eb9;_0x42c5df[_0x477d('0x1222')]=_0x2b37b3;_0x42c5df['alert']=_0x412427[_0x477d('0x669')];_0x42c5df[_0x477d('0x278f')]=_0x310a46;_0x42c5df[_0x477d('0x2785')]=_0x43ff64;function _0x5b4eb9(_0x2b6f5c,_0x1f8820){_0x4e9876[_0x477d('0x395')]({'controller':'WhatsappQueueteamaddController','controllerAs':'vm','templateUrl':_0x477d('0x2790'),'parent':angular[_0x477d('0x398')](_0x47cfd5[_0x477d('0x399')]),'targetEvent':_0x1f8820,'clickOutsideToClose':!![],'locals':{'whatsappQueue':_0x2b6f5c,'whatsappQueues':_0x42c5df[_0x477d('0x1738')]?_0x42c5df[_0x477d('0x1738')][_0x477d('0xf2')]:[],'crudPermissions':_0x42c5df[_0x477d('0xd66')]}});}function _0x2b37b3(_0x124c63,_0x4ab2de){_0x4e9876[_0x477d('0x395')]({'controller':_0x477d('0x2717'),'controllerAs':'vm','templateUrl':_0x477d('0x2791'),'parent':angular[_0x477d('0x398')](_0x47cfd5[_0x477d('0x399')]),'targetEvent':_0x4ab2de,'clickOutsideToClose':!![],'locals':{'whatsappQueue':_0x124c63,'whatsappQueues':_0x42c5df['whatsappQueues']?_0x42c5df[_0x477d('0x1738')][_0x477d('0xf2')]:[],'crudPermissions':_0x42c5df['crudPermissions'],'realtime':![]}});}function _0x310a46(){_0x32f7c8['go'](_0x477d('0x35f'),{},{'reload':_0x477d('0x35f')});}function _0x43ff64(){_0x5e5b3c[_0x477d('0xcfa')][_0x477d('0x710')]({'id':_0x42c5df[_0x477d('0xcfa')]['id']},_0x42c5df[_0x477d('0xcfa')])[_0x477d('0x38b')]['then'](function(){_0x412427[_0x477d('0x485')]({'title':_0x477d('0x2792'),'msg':_0x42c5df[_0x477d('0xcfa')][_0x477d('0x94')]?_0x42c5df[_0x477d('0xcfa')][_0x477d('0x94')]+_0x477d('0xed7'):''});})['catch'](function(_0x307a53){_0x412427[_0x477d('0x44a')]({'title':_0x307a53[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x307a53['status']+'\x20-\x20'+_0x307a53[_0x477d('0x44d')]:'SYSTEM:GETwhatsappQueue','msg':_0x307a53[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x307a53[_0x477d('0x451')]):_0x307a53[_0x477d('0x453')]()});});}}}());(function(){'use strict';_0x1770fa[_0x477d('0xa')]=['$scope',_0x477d('0x387'),_0x477d('0x3c4'),_0x477d('0x554'),'$mdDialog','$document',_0x477d('0x3fe'),_0x477d('0x40d'),_0x477d('0x1738'),_0x477d('0x3a5'),_0x477d('0x3ac'),'api','msUtils','toasty',_0x477d('0x55'),_0x477d('0x613'),_0x477d('0xc8e')];angular['module']('app.whatsapp')['controller'](_0x477d('0x2793'),_0x1770fa);function _0x1770fa(_0x293f08,_0x130449,_0xe69b0d,_0x241491,_0x26c090,_0x194912,_0x1f53b2,_0xfb1509,_0x281a2c,_0x12ce50,_0x424651,_0x4063a9,_0xd234fb,_0x5f96ea,_0x5add4a,_0x3b2d80,_0x3e0d50){var _0x2af4d7=this;_0x2af4d7[_0x477d('0x613')]=_0x3b2d80;_0x2af4d7['setting']=_0x3e0d50;_0x2af4d7[_0x477d('0x3e5')]=_0x5add4a[_0x477d('0x5c')]();_0x2af4d7[_0x477d('0x1738')]=_0x281a2c||{'count':0x0,'rows':[]};_0x2af4d7[_0x477d('0x3a5')]=_0x12ce50;_0x2af4d7[_0x477d('0x3ac')]=_0x424651&&_0x424651[_0x477d('0x3bb')]==0x1?_0x424651[_0x477d('0xf2')][0x0]:null;_0x2af4d7['crudPermissions']=_0x5add4a[_0x477d('0xd81')](_0x2af4d7[_0x477d('0x3ac')]?_0x2af4d7[_0x477d('0x3ac')]['crudPermissions']:null);_0x2af4d7[_0x477d('0xd82')]=_0x477d('0x1738');_0x2af4d7[_0x477d('0xd83')]='';_0x2af4d7[_0x477d('0xd84')]=null;_0x2af4d7[_0x477d('0x2794')]=[];_0x2af4d7[_0x477d('0x3ef')]={'fields':_0x477d('0xb5'),'sort':'-updatedAt','channel':_0x477d('0x35d'),'limit':0xa,'page':0x1};_0x2af4d7['arraystrategy']=_[_0x477d('0xdb5')]([{'option':_0x477d('0x1d09'),'value':_0x477d('0x11d2')},{'option':_0x477d('0x1d0a'),'value':'\x27rrmemory\x27'}],function(_0x6cf92f){return _['replace'](_0x6cf92f[_0x477d('0x3b6')],new RegExp('\x27','g'),'');});_0x2af4d7[_0x477d('0xea6')]=_0x3c774b;_0x2af4d7['teamadddialog']=_0x273dd4;_0x2af4d7[_0x477d('0x1222')]=_0x3f90ce;_0x2af4d7[_0x477d('0xd88')]=_0x26c9a5;_0x2af4d7[_0x477d('0x11d5')]=_0x3e0558;_0x2af4d7['success']=_0x4d3470;_0x2af4d7[_0x477d('0x173d')]=_0x581325;_0x2af4d7['createOrEditWhatsappQueue']=_0x54d9e4;_0x2af4d7[_0x477d('0x2786')]=_0x3b0759;_0x2af4d7[_0x477d('0x2795')]=_0x5db390;_0x2af4d7[_0x477d('0x2796')]=_0x2ec206;_0x2af4d7[_0x477d('0x2797')]=_0x24fa92;_0x2af4d7[_0x477d('0x2798')]=_0x289064;function _0x3c774b(_0x166d23,_0x183087){_0xe69b0d['go'](_0x477d('0x363'),{'id':_0x166d23['id'],'whatsappQueue':_0x166d23,'crudPermissions':_0x2af4d7[_0x477d('0xd66')]});}function _0x273dd4(_0x361e1e,_0x356720){_0x26c090[_0x477d('0x395')]({'controller':_0x477d('0x2799'),'controllerAs':'vm','templateUrl':'app/main/apps/whatsapp/views/whatsappQueues/edit/teamadd/teamadd.html','parent':angular[_0x477d('0x398')](_0x194912[_0x477d('0x399')]),'targetEvent':_0x356720,'clickOutsideToClose':!![],'locals':{'whatsappQueue':_0x361e1e,'whatsappQueues':_0x2af4d7[_0x477d('0x1738')]?_0x2af4d7[_0x477d('0x1738')]['rows']:[],'crudPermissions':_0x2af4d7[_0x477d('0xd66')]}});}function _0x3f90ce(_0x50ea2c,_0x1c60d6){_0x26c090[_0x477d('0x395')]({'controller':_0x477d('0x2717'),'controllerAs':'vm','templateUrl':_0x477d('0x2791'),'parent':angular[_0x477d('0x398')](_0x194912[_0x477d('0x399')]),'targetEvent':_0x1c60d6,'clickOutsideToClose':!![],'locals':{'whatsappQueue':_0x50ea2c,'whatsappQueues':_0x2af4d7[_0x477d('0x1738')]?_0x2af4d7['whatsappQueues'][_0x477d('0xf2')]:[],'crudPermissions':_0x2af4d7[_0x477d('0xd66')],'realtime':![]}});}function _0x26c9a5(_0x504338,_0x3d5b28){var _0x3c5e76=_0x26c090[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xd90')+_[_0x477d('0xd91')](_0x477d('0xcfa'))+'?')['htmlContent'](_0x477d('0xd93')+(_0x504338[_0x477d('0x94')]||_0x477d('0xcfa'))+_0x477d('0xd94')+'\x20will\x20be\x20deleted.')['ariaLabel'](_0x477d('0x279a'))[_0x477d('0xd7c')](_0x3d5b28)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x26c090[_0x477d('0x395')](_0x3c5e76)[_0x477d('0x76')](function(){_0x3b0759(_0x504338);},function(){console['log'](_0x477d('0xd97'));});}function _0x3e0558(_0x3c75b1,_0x27e77e){if(_0x5add4a[_0x477d('0x56')](_0x477d('0x5f'))){_0xe69b0d['go'](_0x477d('0x358'),{});}else{return _0x4063a9[_0x477d('0x3ac')][_0x477d('0x376')]({'userProfileId':_0x5add4a[_0x477d('0x5c')]()[_0x477d('0x61')],'sectionId':0x83e})['$promise'][_0x477d('0x76')](function(_0x446f7c){var _0x3c6f05=_0x446f7c&&_0x446f7c[_0x477d('0xf2')]?_0x446f7c[_0x477d('0xf2')][0x0]:null;if(_0x3c6f05&&_0x3c6f05[_0x477d('0x3b4')]){_0xe69b0d['go'](_0x477d('0x358'),{});}else{_0x5f96ea[_0x477d('0x669')]({'title':_0xfb1509[_0x477d('0x45f')](_0x477d('0x119d')),'msg':_0xfb1509[_0x477d('0x45f')]('STAFF.PERMISSIONS_UNAUTHORIZED_REDIRECT_MESSAGE')});}})[_0x477d('0xf8')](function(_0x54b275){_0x5f96ea['error']({'title':_0x54b275[_0x477d('0x3c3')]?'API:'+_0x54b275[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x54b275[_0x477d('0x44d')]:_0x477d('0x11df'),'msg':_0x54b275[_0x477d('0x3c3')]?JSON[_0x477d('0x3fb')](_0x54b275[_0x477d('0x451')]):_0x54b275['toString']()});});}}var _0x3f3c00=!![];var _0x2d47f1=0x1;_0x293f08[_0x477d('0x4b5')](_0x477d('0xd98'),function(_0x552a34,_0x6c5280){if(_0x3f3c00){_0x1f53b2(function(){_0x3f3c00=![];});}else{if(!_0x6c5280){_0x2d47f1=_0x2af4d7['query']['page'];}if(_0x552a34!==_0x6c5280){_0x2af4d7['query'][_0x477d('0xe03')]=0x1;}if(!_0x552a34){_0x2af4d7[_0x477d('0x3ef')][_0x477d('0xe03')]=_0x2d47f1;}_0x2af4d7[_0x477d('0x173d')]();}});function _0x4d3470(_0x31cc0a){_0x2af4d7[_0x477d('0x1738')]=_0x31cc0a||{'count':0x0,'rows':[]};}function _0x581325(){_0x2af4d7[_0x477d('0x3ef')]['offset']=(_0x2af4d7[_0x477d('0x3ef')][_0x477d('0xe03')]-0x1)*_0x2af4d7[_0x477d('0x3ef')][_0x477d('0x91d')];if(_0x5add4a[_0x477d('0x56')]('admin')){_0x2af4d7[_0x477d('0x553')]=_0x4063a9[_0x477d('0xcfa')][_0x477d('0x376')](_0x2af4d7[_0x477d('0x3ef')],_0x4d3470)[_0x477d('0x38b')];}else{_0x2af4d7[_0x477d('0x3ef')]['id']=_0x2af4d7[_0x477d('0x3a5')]['id'];_0x2af4d7[_0x477d('0x3ef')][_0x477d('0xd99')]='WhatsappQueues';_0x2af4d7['promise']=_0x4063a9[_0x477d('0x3a5')][_0x477d('0xd9a')](_0x2af4d7[_0x477d('0x3ef')],_0x4d3470)[_0x477d('0x38b')];}}function _0x54d9e4(_0x532a75,_0x2fcc7c){_0x26c090[_0x477d('0x395')]({'controller':'CreateOrEditWhatsappQueueDialogController','controllerAs':'vm','templateUrl':_0x477d('0x279b'),'parent':angular[_0x477d('0x398')](_0x194912[_0x477d('0x399')]),'targetEvent':_0x532a75,'clickOutsideToClose':!![],'locals':{'whatsappQueue':_0x2fcc7c,'whatsappQueues':_0x2af4d7[_0x477d('0x1738')][_0x477d('0xf2')],'license':_0x2af4d7[_0x477d('0x613')],'setting':_0x2af4d7[_0x477d('0xc8e')],'crudPermissions':_0x2af4d7[_0x477d('0xd66')]}});}function _0x3b0759(_0x2c71c9){_0x4063a9[_0x477d('0xcfa')][_0x477d('0xa55')]({'id':_0x2c71c9['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(){_[_0x477d('0x39c')](_0x2af4d7[_0x477d('0x1738')][_0x477d('0xf2')],{'id':_0x2c71c9['id']});_0x2af4d7[_0x477d('0x1738')][_0x477d('0x3bb')]-=0x1;if(!_0x2af4d7[_0x477d('0x1738')]['rows']['length']){_0x2af4d7[_0x477d('0x173d')]();}_0x5f96ea[_0x477d('0x485')]({'title':_[_0x477d('0xd91')]('WhatsappQueue')+_0x477d('0xd9d'),'msg':_0x2c71c9['name']?_0x2c71c9['name']+_0x477d('0xd7e'):''});})[_0x477d('0xf8')](function(_0x3c3c1c){if(_0x3c3c1c[_0x477d('0x451')]&&_0x3c3c1c[_0x477d('0x451')]['errors']&&_0x3c3c1c[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x2af4d7[_0x477d('0xd67')]=_0x3c3c1c['data'][_0x477d('0xd67')]||[{'message':_0x3c3c1c[_0x477d('0x453')](),'type':_0x477d('0x279c')}];for(var _0x42703c=0x0;_0x42703c<_0x3c3c1c[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x42703c++){_0x5f96ea[_0x477d('0x44a')]({'title':_0x3c3c1c[_0x477d('0x451')][_0x477d('0xd67')][_0x42703c][_0x477d('0x439')],'msg':_0x3c3c1c[_0x477d('0x451')][_0x477d('0xd67')][_0x42703c][_0x477d('0x452')]});}}else{_0x5f96ea['error']({'title':_0x3c3c1c[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x3c3c1c[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x3c3c1c[_0x477d('0x44d')]:_0x477d('0x279c'),'msg':_0x3c3c1c[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x3c3c1c[_0x477d('0x451')][_0x477d('0x452')]):_0x3c3c1c[_0x477d('0x452')]||_0x3c3c1c[_0x477d('0x453')]()});}});}function _0x5db390(){var _0x5c2a9a=angular['copy'](_0x2af4d7[_0x477d('0x2794')]);_0x2af4d7['selectedWhatsappQueues']=[];return _0x5c2a9a;}function _0x2ec206(_0x583923){var _0xa267db=_0x26c090[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x279d'))[_0x477d('0xd92')](_0x477d('0xd93')+_0x2af4d7[_0x477d('0x2794')][_0x477d('0x79')]+_0x477d('0xda0')+_0x477d('0xd95'))[_0x477d('0x687')](_0x477d('0x279e'))[_0x477d('0xd7c')](_0x583923)['ok']('OK')[_0x477d('0x4f0')](_0x477d('0xd97'));_0x26c090[_0x477d('0x395')](_0xa267db)[_0x477d('0x76')](function(){_0x2af4d7['selectedWhatsappQueues'][_0x477d('0x3b1')](function(_0x9a9c23){_0x3b0759(_0x9a9c23);});_0x2af4d7[_0x477d('0x2794')]=[];});}function _0x24fa92(){_0x2af4d7[_0x477d('0x2794')]=[];}function _0x289064(){_0x2af4d7[_0x477d('0x2794')]=_0x2af4d7[_0x477d('0x1738')]['rows'];}}}());(function(){'use strict';_0x49ce21[_0x477d('0xa')]=['$scope',_0x477d('0x3bd'),_0x477d('0x555'),_0x477d('0x15ea'),_0x477d('0x55'),'license',_0x477d('0x386'),_0x477d('0xc8e')];angular['module']('motion')[_0x477d('0x3ba')]('MainController',_0x49ce21);function _0x49ce21(_0x4ce333,_0x3db0f6,_0x530f31,_0x163737,_0x92fe5b,_0x2d1b8a,_0x4a567d,_0x69883f){const _0x1d87e3=this;_0x1d87e3['isAgent']=_0x4e5ec8;function _0x4e5ec8(){return _0x92fe5b[_0x477d('0x5c')]()&&_0x92fe5b[_0x477d('0x56')](_0x477d('0xcf'));}function _0x1f7c6c(_0x280fdb,_0x4919f2){return{'id':_0x280fdb,'title':_0x4919f2[_0x477d('0x94')]||'NONAME','state':_0x477d('0x105'),'stateParams':_0x4919f2,'weight':0x2,'hidden':()=>{return _0x92fe5b['hasRole']('agent')||!_0x92fe5b[_0x477d('0x37c')](_0x280fdb)&&!_0x92fe5b[_0x477d('0x56')](_0x477d('0x5f'));}};}function _0x383d95(_0xff3e4f,_0xaca0a){return{'id':_0xff3e4f,'title':_0xaca0a[_0x477d('0x94')]||_0x477d('0x279f'),'state':_0x477d('0x240'),'stateParams':_0xaca0a,'weight':0x2,'hidden':()=>{return _0x92fe5b[_0x477d('0x56')]('agent')||!_0x92fe5b[_0x477d('0x37c')](_0xff3e4f)&&!_0x92fe5b[_0x477d('0x56')]('admin');}};}function _0x46ec6f(_0x13f0d5,_0x52a3fd){let _0x5ac1cd={'user':_['pick'](_0x92fe5b['getCurrentUser'](),['id',_0x477d('0x94'),_0x477d('0xcd'),_0x477d('0x1359'),_0x477d('0x3a1'),_0x477d('0x324'),'interface'])};_0x52a3fd[_0x477d('0x1796')]=Mustache[_0x477d('0x15d9')](_0x52a3fd['agentUrl'],_0x5ac1cd);_0x163737['saveItem'](_0x477d('0x27a0')+_0x13f0d5,{'id':_0x13f0d5,'title':_0x52a3fd['name'],'translate':_0x52a3fd[_0x477d('0x94')],'state':_0x477d('0x27a1')+_0x52a3fd['id'],'stateParams':_0x52a3fd,'view':_0x477d('0xcba'),'icon':_0x52a3fd[_0x477d('0x1595')],'weight':0xc,'hidden':()=>{return!_0x92fe5b[_0x477d('0x37c')](_0x13f0d5);}});}_0x530f31[_0x477d('0x15f9')]('apps',{'title':_0x477d('0x27a2'),'group':!![],'weight':0x1,'hidden':()=>{return _0x92fe5b[_0x477d('0x56')](_0x477d('0xcf'));}});_0x4a567d[_0x477d('0x3e2')][_0x477d('0x376')]()[_0x477d('0x38b')][_0x477d('0x76')](function(_0x44d6b3){_0x1d87e3['version']=_0x44d6b3&&_0x44d6b3[_0x477d('0x548')]?_0x44d6b3['current']:_0x477d('0x27a3');})['catch'](function(_0x7e6125){_0x1d87e3[_0x477d('0x3e2')]=_0x477d('0x27a3');})[_0x477d('0x5ff')](function(){_0x530f31[_0x477d('0x15f9')](_0x477d('0x3e2'),{'title':_0x477d('0x27a4')+_0x1d87e3[_0x477d('0x3e2')],'group':!![],'weight':0x2,'hidden':function(){return _0x92fe5b['hasRole'](_0x477d('0xcf'));}});});function _0x3dda16(_0x5831f2){return _['map'](_0x5831f2['children'],function(_0x263d6b){return _0x263d6b['id'];});}if(_0x92fe5b['isLoggedIn']()){_0x4a567d[_0x477d('0xad2')][_0x477d('0x376')]()[_0x477d('0x38b')]['then'](function(_0x351661){var _0x2021d9=0x0;for(var _0x1133bb=0x0;_0x1133bb<_0x351661[_0x477d('0xf2')]['length'];_0x1133bb+=0x1){_0x2021d9=0x1869f+_0x351661[_0x477d('0xf2')][_0x1133bb]['id'];_0x530f31[_0x477d('0x15f9')]('apps.dashboards.custom_'+_0x2021d9,_0x1f7c6c(_0x2021d9,_0x351661[_0x477d('0xf2')][_0x1133bb]));}});_0x4a567d[_0x477d('0xcba')][_0x477d('0x376')]({'active':!![]})[_0x477d('0x38b')]['then'](function(_0x1f060f){var _0x97c634=0x0;if(_0x1f060f[_0x477d('0x3bb')]){var _0xd9a5d=_[_0x477d('0x3b3')](_0x1f060f['rows'],function(_0x20d93b){return _0x20d93b['sidebar']!='never'&&_0x20d93b['sidebar']!=_0x477d('0x27a5');});if(_0xd9a5d[_0x477d('0x79')]>0x0){_0x530f31[_0x477d('0x15f9')](_0x477d('0x27a6'),{'id':0x76c,'title':'Plugins','translate':'PLUGINS.PLUGINS','icon':_0x477d('0x1248'),'permissions':{'hidden':!![]},'weight':0x11,'hidden':function(){return _0x92fe5b[_0x477d('0x56')](_0x477d('0xcf'))||!_0x92fe5b[_0x477d('0x27a7')](_0x3dda16(this))&&!_0x92fe5b[_0x477d('0x56')](_0x477d('0x5f'));}});for(var _0x5d9dc6=0x0;_0x5d9dc6<_0xd9a5d[_0x477d('0x79')];_0x5d9dc6+=0x1){_0x97c634=0x15b38+_0xd9a5d[_0x5d9dc6]['id'];_0x530f31[_0x477d('0x15f9')](_0x477d('0x27a8')+_0x97c634,_0x383d95(_0x97c634,_0xd9a5d[_0x5d9dc6]));}_0x530f31['sort']();}var _0x229e7b=_[_0x477d('0x3b3')](_0x1f060f[_0x477d('0xf2')],function(_0x463e40){return _0x463e40[_0x477d('0x1670')]!=_0x477d('0x1e0a')&&_0x463e40['sidebar']!=_0x477d('0x27a9');});if(_0x229e7b[_0x477d('0x79')]>0x0){for(var _0x5d9dc6=0x0;_0x5d9dc6<_0x229e7b[_0x477d('0x79')];_0x5d9dc6+=0x1){_0x97c634=0x15b38+_0x229e7b[_0x5d9dc6]['id'];_0x46ec6f(_0x97c634,_0x229e7b[_0x5d9dc6]);}}}});}if(_0x2d1b8a['custom']&&!_0x69883f[_0x477d('0x27aa')]&&_0x69883f['pageTitle']){angular[_0x477d('0x398')](_0x477d('0x27ab'))[_0x477d('0x3de')](_0x69883f[_0x477d('0x27ac')]);}_0x530f31[_0x477d('0x15f9')](_0x477d('0x27ad'),{'id':0x64,'title':'Dashboards','translate':_0x477d('0x2192'),'icon':_0x477d('0x27ae'),'weight':0x2,'hidden':function(){return _0x92fe5b[_0x477d('0x56')](_0x477d('0xcf'))||!_0x92fe5b[_0x477d('0x27a7')](_0x3dda16(this))&&!_0x92fe5b['hasRole']('admin');}});_0x530f31[_0x477d('0x15f9')](_0x477d('0x27af'),{'id':0x65,'title':_0x477d('0x27b0'),'route':'','translate':_0x477d('0x21b9'),'state':_0x477d('0x103'),'weight':0x1,'hidden':function(){return _0x92fe5b[_0x477d('0x56')](_0x477d('0xcf'))||!_0x92fe5b['hasPermission'](0x65)&&!_0x92fe5b['hasRole'](_0x477d('0x5f'));}});_0x530f31[_0x477d('0x15f9')](_0x477d('0x27b1'),{'id':0xc8,'title':_0x477d('0x27b2'),'translate':_0x477d('0x27b3'),'icon':_0x477d('0x73e'),'weight':0x3,'hidden':function(){return _0x92fe5b[_0x477d('0x56')](_0x477d('0xcf'))||!_0x92fe5b[_0x477d('0x27a7')](_0x3dda16(this))&&!_0x92fe5b['hasRole'](_0x477d('0x5f'));}});_0x530f31[_0x477d('0x15f9')](_0x477d('0x27b4'),{'id':0xc9,'title':'Users','route':_0x477d('0x380'),'translate':_0x477d('0x27b5'),'state':_0x477d('0x2202'),'permissions':{'hidden':!![]},'weight':0x1,'hidden':function(){return _0x92fe5b[_0x477d('0x56')](_0x477d('0xcf'))||_0x92fe5b[_0x477d('0x56')]('user')||!_0x92fe5b[_0x477d('0x37c')](0xc9)&&!_0x92fe5b[_0x477d('0x56')](_0x477d('0x5f'));}});_0x530f31[_0x477d('0x15f9')](_0x477d('0x27b6'),{'id':0xca,'title':'Agents','route':_0x477d('0x380'),'translate':'STAFF.AGENTS','state':_0x477d('0x289'),'weight':0x1,'hidden':function(){return _0x92fe5b[_0x477d('0x56')](_0x477d('0xcf'))||!_0x92fe5b[_0x477d('0x37c')](0xca)&&!_0x92fe5b[_0x477d('0x56')](_0x477d('0x5f'));}});_0x530f31['saveItem']('apps.staff.telephones',{'id':0xcb,'title':_0x477d('0x296'),'route':_0x477d('0x380'),'translate':_0x477d('0x27b7'),'state':'app.staff.telephones','weight':0x1,'hidden':function(){return _0x92fe5b[_0x477d('0x56')]('agent')||!_0x92fe5b[_0x477d('0x37c')](0xcb)&&!_0x92fe5b['hasRole'](_0x477d('0x5f'));}});_0x530f31['saveItem'](_0x477d('0x27b8'),{'id':0xcc,'title':_0x477d('0x29f'),'route':_0x477d('0xca3'),'translate':'STAFF.TEAMS','state':_0x477d('0x29a'),'weight':0x1,'hidden':function(){return _0x92fe5b[_0x477d('0x56')]('agent')||!_0x92fe5b[_0x477d('0x37c')](0xcc)&&!_0x92fe5b[_0x477d('0x56')]('admin');}});_0x530f31[_0x477d('0x15f9')]('apps.staff.userProfiles',{'id':0xcd,'title':_0x477d('0x21de'),'route':_0x477d('0x3a5'),'translate':_0x477d('0x27b9'),'state':'app.staff.userProfiles','permissions':{'hidden':!![]},'weight':0x1,'hidden':function(){return _0x92fe5b[_0x477d('0x56')](_0x477d('0xcf'))||!_0x92fe5b[_0x477d('0x37c')](0xcd)&&!_0x92fe5b[_0x477d('0x56')](_0x477d('0x5f'));}});_0x530f31[_0x477d('0x15f9')](_0x477d('0x27ba'),{'id':0x12c,'title':_0x477d('0x27bb'),'translate':_0x477d('0x27bc'),'icon':_0x477d('0x15b0'),'license':'cm','weight':0x4,'hidden':function(){return!_0x2d1b8a['cm']||_0x92fe5b['hasRole'](_0x477d('0xcf'))||!_0x92fe5b[_0x477d('0x27a7')](_0x3dda16(this))&&!_0x92fe5b['hasRole'](_0x477d('0x5f'));}});_0x530f31[_0x477d('0x15f9')](_0x477d('0x27bd'),{'id':0x12d,'title':_0x477d('0xa9'),'route':_0x477d('0xe3f'),'translate':_0x477d('0x27be'),'state':_0x477d('0xd8'),'weight':0x2,'hidden':function(){return _0x92fe5b[_0x477d('0x56')](_0x477d('0xcf'))||!_0x92fe5b[_0x477d('0x37c')](0x12d)&&!_0x92fe5b[_0x477d('0x56')](_0x477d('0x5f'));}});_0x530f31[_0x477d('0x15f9')](_0x477d('0x27bf'),{'id':0x12e,'title':'Companies','route':_0x477d('0xb68'),'translate':_0x477d('0x27c0'),'state':'app.contactmanager.companies','weight':0x3,'hidden':function(){return _0x92fe5b[_0x477d('0x56')](_0x477d('0xcf'))||!_0x92fe5b[_0x477d('0x37c')](0x12e)&&!_0x92fe5b['hasRole'](_0x477d('0x5f'));}});_0x530f31[_0x477d('0x15f9')]('apps.contactmanager.globalCustomFields',{'id':0x130,'title':_0x477d('0x1515'),'route':_0x477d('0x1500'),'translate':_0x477d('0x27c1'),'state':_0x477d('0x27c2'),'permissions':{'association':![]},'weight':0x4,'hidden':function(){return _0x92fe5b[_0x477d('0x56')](_0x477d('0xcf'))||!_0x92fe5b[_0x477d('0x37c')](0x130)&&!_0x92fe5b[_0x477d('0x56')](_0x477d('0x5f'));}});_0x530f31[_0x477d('0x15f9')](_0x477d('0x27c3'),{'id':0x12f,'title':_0x477d('0xf0'),'route':'','translate':_0x477d('0x27c4'),'state':'app.contactmanager.contacts','permissions':{'association':![]},'weight':0x1,'hidden':function(){return _0x92fe5b[_0x477d('0x56')]('agent')||!_0x92fe5b[_0x477d('0x37c')](0x12f)&&!_0x92fe5b[_0x477d('0x56')](_0x477d('0x5f'));}});_0x530f31[_0x477d('0x15f9')](_0x477d('0x27c5'),{'id':0x190,'title':_0x477d('0x2434'),'translate':_0x477d('0x27c6'),'icon':_0x477d('0x1fcc'),'license':_0x477d('0x108'),'weight':0x5,'hidden':function(){return!_0x2d1b8a[_0x477d('0x108')]||_0x92fe5b['hasRole'](_0x477d('0xcf'))||!_0x92fe5b[_0x477d('0x27a7')](_0x3dda16(this))&&!_0x92fe5b[_0x477d('0x56')](_0x477d('0x5f'));}});_0x530f31[_0x477d('0x15f9')](_0x477d('0x27c7'),{'id':0x191,'title':'VoiceQueues','route':_0x477d('0xa76'),'channel':_0x477d('0x108'),'translate':_0x477d('0x27c8'),'state':'app.voice.voiceQueues','weight':0x1,'hidden':function(){return _0x92fe5b['hasRole']('agent')||!_0x92fe5b[_0x477d('0x37c')](0x191)&&!_0x92fe5b[_0x477d('0x56')](_0x477d('0x5f'));}});_0x530f31[_0x477d('0x15f9')]('apps.voice.inboundroutes',{'id':0x192,'title':'InboundRoutes','route':_0x477d('0x21a5'),'translate':_0x477d('0x27c9'),'state':_0x477d('0x311'),'weight':0x1,'hidden':function(){return _0x92fe5b[_0x477d('0x56')](_0x477d('0xcf'))||!_0x92fe5b['hasPermission'](0x192)&&!_0x92fe5b[_0x477d('0x56')](_0x477d('0x5f'));}});_0x530f31[_0x477d('0x15f9')](_0x477d('0x27ca'),{'id':0x193,'title':'OutboundRoutes','route':'voiceExtension','translate':_0x477d('0x27cb'),'state':_0x477d('0x319'),'weight':0x1,'hidden':function(){return _0x92fe5b[_0x477d('0x56')](_0x477d('0xcf'))||!_0x92fe5b['hasPermission'](0x193)&&!_0x92fe5b['hasRole'](_0x477d('0x5f'));}});_0x530f31[_0x477d('0x15f9')](_0x477d('0x27cc'),{'id':0x194,'title':_0x477d('0x325'),'route':'voiceExtension','translate':_0x477d('0x27cd'),'state':_0x477d('0x25ca'),'weight':0x1,'hidden':function(){return _0x92fe5b[_0x477d('0x56')](_0x477d('0xcf'))||!_0x92fe5b[_0x477d('0x37c')](0x194)&&!_0x92fe5b[_0x477d('0x56')](_0x477d('0x5f'));}});_0x530f31['saveItem']('apps.voice.contexts',{'id':0x195,'title':'Contexts','route':'voiceContext','translate':_0x477d('0x27ce'),'state':_0x477d('0x329'),'weight':0x1,'hidden':function(){return _0x92fe5b['hasRole']('agent')||!_0x92fe5b[_0x477d('0x37c')](0x195)&&!_0x92fe5b[_0x477d('0x56')]('admin');}});_0x530f31['saveItem'](_0x477d('0x27cf'),{'id':0x196,'title':_0x477d('0x332'),'route':_0x477d('0xa8c'),'translate':_0x477d('0x27d0'),'state':_0x477d('0x32d'),'weight':0x1,'hidden':function(){return _0x92fe5b[_0x477d('0x56')](_0x477d('0xcf'))||!_0x92fe5b[_0x477d('0x37c')](0x196)&&!_0x92fe5b[_0x477d('0x56')]('admin');}});_0x530f31[_0x477d('0x15f9')]('apps.voice.musiconholds',{'id':0x197,'title':'MusicOnHolds','route':_0x477d('0xa71'),'translate':_0x477d('0x27d1'),'state':_0x477d('0x336'),'weight':0x1,'hidden':function(){return _0x92fe5b[_0x477d('0x56')](_0x477d('0xcf'))||!_0x92fe5b[_0x477d('0x37c')](0x197)&&!_0x92fe5b[_0x477d('0x56')](_0x477d('0x5f'));}});_0x530f31[_0x477d('0x15f9')](_0x477d('0x27d2'),{'id':0x198,'title':_0x477d('0x344'),'route':_0x477d('0xa81'),'translate':_0x477d('0x27d3'),'state':_0x477d('0x26ff'),'permissions':{'association':![],'loading':!![]},'weight':0x1,'hidden':function(){return _0x92fe5b[_0x477d('0x56')]('agent')||!_0x92fe5b[_0x477d('0x37c')](0x198)&&!_0x92fe5b[_0x477d('0x56')](_0x477d('0x5f'));}});_0x530f31['saveItem'](_0x477d('0x27d4'),{'id':0x199,'title':_0x477d('0x24e8'),'route':_0x477d('0xa68'),'translate':_0x477d('0x27d5'),'state':_0x477d('0x27d6'),'weight':0x1,'hidden':function(){return _0x92fe5b[_0x477d('0x56')](_0x477d('0xcf'))||!_0x92fe5b['hasPermission'](0x199)&&!_0x92fe5b[_0x477d('0x56')]('admin');}});_0x530f31[_0x477d('0x15f9')](_0x477d('0x27d7'),{'id':0x19a,'title':_0x477d('0x26ac'),'route':_0x477d('0xcd2'),'translate':_0x477d('0x27d8'),'state':'app.voice.voicePrefixes','weight':0x1,'hidden':function(){return _0x92fe5b[_0x477d('0x56')]('agent')||!_0x92fe5b['hasPermission'](0x19a)&&!_0x92fe5b['hasRole'](_0x477d('0x5f'));}});_0x530f31[_0x477d('0x15f9')](_0x477d('0x27d9'),{'id':0x19b,'title':_0x477d('0x27da'),'route':'','translate':_0x477d('0x27db'),'state':_0x477d('0x2f0'),'permissions':{'association':![],'crud':![]},'weight':0x1,'hidden':function(){return _0x92fe5b[_0x477d('0x56')](_0x477d('0xcf'))||!_0x92fe5b['hasPermission'](0x19b)&&!_0x92fe5b[_0x477d('0x56')](_0x477d('0x5f'));}});_0x530f31[_0x477d('0x15f9')](_0x477d('0x27dc'),{'id':0x1f4,'title':'Chat','translate':_0x477d('0x27dd'),'icon':_0x477d('0x15aa'),'license':_0x477d('0xb6'),'weight':0x6,'hidden':function(){return!_0x2d1b8a[_0x477d('0xb6')]||_0x92fe5b[_0x477d('0x56')](_0x477d('0xcf'))||!_0x92fe5b[_0x477d('0x27a7')](_0x3dda16(this))&&!_0x92fe5b[_0x477d('0x56')](_0x477d('0x5f'));}});_0x530f31['saveItem'](_0x477d('0x27de'),{'id':0x1f5,'title':_0x477d('0xd4'),'route':_0x477d('0xe40'),'channel':_0x477d('0xb6'),'translate':_0x477d('0x27df'),'state':_0x477d('0xb2'),'weight':0x1,'hidden':function(){return _0x92fe5b[_0x477d('0x56')]('agent')||!_0x92fe5b[_0x477d('0x37c')](0x1f5)&&!_0x92fe5b[_0x477d('0x56')](_0x477d('0x5f'));}});_0x530f31[_0x477d('0x15f9')](_0x477d('0x27e0'),{'id':0x1f6,'title':_0x477d('0xc0'),'route':_0x477d('0xb32'),'channel':_0x477d('0xb6'),'translate':_0x477d('0x27e1'),'state':_0x477d('0xbb'),'weight':0x1,'hidden':function(){return _0x92fe5b[_0x477d('0x56')](_0x477d('0xcf'))||!_0x92fe5b[_0x477d('0x37c')](0x1f6)&&!_0x92fe5b[_0x477d('0x56')]('admin');}});_0x530f31[_0x477d('0x15f9')](_0x477d('0x27e2'),{'id':0x1fe,'title':_0x477d('0x27da'),'route':'','translate':_0x477d('0x27e3'),'state':_0x477d('0xb0'),'permissions':{'association':![],'crud':![]},'weight':0x1,'hidden':function(){return _0x92fe5b[_0x477d('0x56')](_0x477d('0xcf'))||!_0x92fe5b[_0x477d('0x37c')](0x1fe)&&!_0x92fe5b[_0x477d('0x56')]('admin');}});_0x530f31[_0x477d('0x15f9')](_0x477d('0x27e4'),{'id':0x258,'title':_0x477d('0x161a'),'translate':_0x477d('0x27e5'),'icon':_0x477d('0x15ab'),'license':'mail','weight':0x7,'hidden':function(){return!_0x2d1b8a[_0x477d('0x1d6')]||_0x92fe5b[_0x477d('0x56')](_0x477d('0xcf'))||!_0x92fe5b['hasChildrenPermissions'](_0x3dda16(this))&&!_0x92fe5b[_0x477d('0x56')](_0x477d('0x5f'));}});_0x530f31['saveItem'](_0x477d('0x27e6'),{'id':0x259,'title':_0x477d('0x1d5'),'route':_0x477d('0x1c81'),'channel':_0x477d('0x1d6'),'translate':_0x477d('0x27e7'),'state':_0x477d('0x1d0'),'weight':0x1,'hidden':function(){return _0x92fe5b[_0x477d('0x56')]('agent')||!_0x92fe5b[_0x477d('0x37c')](0x259)&&!_0x92fe5b['hasRole'](_0x477d('0x5f'));}});_0x530f31[_0x477d('0x15f9')](_0x477d('0x27e8'),{'id':0x25a,'title':_0x477d('0xa7'),'route':'mailAccount','channel':_0x477d('0x1d6'),'translate':'MAIL.MAILACCOUNTS','state':'app.mail.mailAccounts','weight':0x1,'hidden':function(){return _0x92fe5b['hasRole']('agent')||!_0x92fe5b[_0x477d('0x37c')](0x25a)&&!_0x92fe5b[_0x477d('0x56')](_0x477d('0x5f'));}});_0x530f31[_0x477d('0x15f9')](_0x477d('0x27e9'),{'id':0x25b,'title':_0x477d('0x1d2d'),'route':_0x477d('0xac0'),'channel':'mail','translate':_0x477d('0x27ea'),'state':'app.mail.mailSubtatuses','permissions':{'association':![]},'weight':0x1,'hidden':function(){return _0x92fe5b[_0x477d('0x56')](_0x477d('0xcf'))||!_0x92fe5b['hasPermission'](0x25b)&&!_0x92fe5b[_0x477d('0x56')](_0x477d('0x5f'));}});_0x530f31[_0x477d('0x15f9')]('apps.mail.realtime',{'id':0x262,'title':_0x477d('0x27da'),'route':'','translate':'MAIL.REALTIME','state':_0x477d('0x1cf'),'permissions':{'association':![],'crud':![]},'weight':0x1,'hidden':function(){return _0x92fe5b['hasRole']('agent')||!_0x92fe5b[_0x477d('0x37c')](0x262)&&!_0x92fe5b[_0x477d('0x56')](_0x477d('0x5f'));}});_0x530f31[_0x477d('0x15f9')](_0x477d('0x27eb'),{'id':0x2bc,'title':_0x477d('0x243a'),'translate':_0x477d('0x27ec'),'icon':_0x477d('0x15ac'),'license':_0x477d('0x18fc'),'weight':0x8,'hidden':function(){return!_0x2d1b8a[_0x477d('0x18fc')]||_0x92fe5b[_0x477d('0x56')]('agent')||!_0x92fe5b[_0x477d('0x27a7')](_0x3dda16(this))&&!_0x92fe5b['hasRole'](_0x477d('0x5f'));}});_0x530f31[_0x477d('0x15f9')](_0x477d('0x27ed'),{'id':0x2bd,'title':_0x477d('0x27f'),'route':_0x477d('0xb10'),'channel':_0x477d('0x26e'),'translate':'SMS.SMSQUEUES','state':'app.sms.smsQueues','weight':0x1,'hidden':function(){return _0x92fe5b[_0x477d('0x56')](_0x477d('0xcf'))||!_0x92fe5b[_0x477d('0x37c')](0x2bd)&&!_0x92fe5b['hasRole']('admin');}});_0x530f31[_0x477d('0x15f9')](_0x477d('0x27ee'),{'id':0x2be,'title':_0x477d('0xaa'),'route':_0x477d('0xe45'),'channel':'sms','translate':_0x477d('0x27ef'),'state':_0x477d('0x272'),'weight':0x1,'hidden':function(){return _0x92fe5b[_0x477d('0x56')]('agent')||!_0x92fe5b[_0x477d('0x37c')](0x2be)&&!_0x92fe5b[_0x477d('0x56')](_0x477d('0x5f'));}});_0x530f31[_0x477d('0x15f9')](_0x477d('0x27f0'),{'id':0x2c6,'title':_0x477d('0x27da'),'route':'','translate':'SMS.REALTIME','state':'app.sms.realtime','permissions':{'association':![],'crud':![]},'weight':0x1,'hidden':function(){return _0x92fe5b[_0x477d('0x56')](_0x477d('0xcf'))||!_0x92fe5b[_0x477d('0x37c')](0x2c6)&&!_0x92fe5b[_0x477d('0x56')](_0x477d('0x5f'));}});_0x530f31['saveItem']('apps.openchannel',{'id':0x320,'title':'Openchannel','translate':_0x477d('0x27f1'),'icon':_0x477d('0x15ad'),'license':_0x477d('0x22a'),'weight':0x9,'hidden':function(){return!_0x2d1b8a[_0x477d('0x22a')]||_0x92fe5b['hasRole'](_0x477d('0xcf'))||!_0x92fe5b['hasChildrenPermissions'](_0x3dda16(this))&&!_0x92fe5b[_0x477d('0x56')](_0x477d('0x5f'));}});_0x530f31[_0x477d('0x15f9')](_0x477d('0x27f2'),{'id':0x321,'title':_0x477d('0x22b'),'route':_0x477d('0xb2c'),'channel':'openChannel','translate':_0x477d('0x27f3'),'state':_0x477d('0x225'),'weight':0x1,'hidden':function(){return _0x92fe5b['hasRole'](_0x477d('0xcf'))||!_0x92fe5b['hasPermission'](0x321)&&!_0x92fe5b[_0x477d('0x56')](_0x477d('0x5f'));}});_0x530f31['saveItem'](_0x477d('0x27f4'),{'id':0x322,'title':_0x477d('0x142'),'route':_0x477d('0xb16'),'channel':_0x477d('0x1f1e'),'translate':_0x477d('0x27f5'),'state':_0x477d('0x1f5a'),'weight':0x1,'hidden':function(){return _0x92fe5b[_0x477d('0x56')](_0x477d('0xcf'))||!_0x92fe5b[_0x477d('0x37c')](0x322)&&!_0x92fe5b[_0x477d('0x56')]('admin');}});_0x530f31['saveItem'](_0x477d('0x27f6'),{'id':0x32a,'title':_0x477d('0x27da'),'route':'','translate':_0x477d('0x27f7'),'state':_0x477d('0x224'),'permissions':{'association':![],'crud':![]},'weight':0x1,'hidden':function(){return _0x92fe5b['hasRole'](_0x477d('0xcf'))||!_0x92fe5b['hasPermission'](0x32a)&&!_0x92fe5b[_0x477d('0x56')](_0x477d('0x5f'));}});_0x530f31[_0x477d('0x15f9')](_0x477d('0x27f8'),{'id':0x384,'title':'Fax','translate':'FAX.FAX','icon':_0x477d('0x182f'),'license':'fax','weight':0xa,'hidden':function(){return!_0x2d1b8a['fax']||_0x92fe5b[_0x477d('0x56')]('agent')||!_0x92fe5b[_0x477d('0x27a7')](_0x3dda16(this))&&!_0x92fe5b[_0x477d('0x56')]('admin');}});_0x530f31[_0x477d('0x15f9')](_0x477d('0x27f9'),{'id':0x385,'title':_0x477d('0x155'),'route':_0x477d('0xe48'),'channel':_0x477d('0x154'),'translate':_0x477d('0x27fa'),'state':_0x477d('0x150'),'weight':0x1,'hidden':function(){return _0x92fe5b['hasRole'](_0x477d('0xcf'))||!_0x92fe5b[_0x477d('0x37c')](0x385)&&!_0x92fe5b[_0x477d('0x56')](_0x477d('0x5f'));}});_0x530f31[_0x477d('0x15f9')](_0x477d('0x27fb'),{'id':0x386,'title':_0x477d('0x149'),'route':_0x477d('0xada'),'channel':_0x477d('0x154'),'translate':_0x477d('0x27fc'),'state':_0x477d('0x195a'),'weight':0x1,'hidden':function(){return _0x92fe5b[_0x477d('0x56')]('agent')||!_0x92fe5b[_0x477d('0x37c')](0x386)&&!_0x92fe5b[_0x477d('0x56')]('admin');}});_0x530f31[_0x477d('0x15f9')](_0x477d('0x27fd'),{'id':0x38e,'title':_0x477d('0x27da'),'route':'','translate':_0x477d('0x27fe'),'state':'app.fax.realtime','permissions':{'association':![],'crud':![]},'weight':0x1,'hidden':function(){return _0x92fe5b['hasRole'](_0x477d('0xcf'))||!_0x92fe5b[_0x477d('0x37c')](0x38e)&&!_0x92fe5b[_0x477d('0x56')](_0x477d('0x5f'));}});_0x530f31[_0x477d('0x15f9')](_0x477d('0x27ff'),{'id':0x3e8,'title':_0x477d('0x2800'),'translate':_0x477d('0x2801'),'icon':'icon-auto-fix','weight':0xf,'hidden':function(){return _0x92fe5b['hasRole'](_0x477d('0xcf'))||!_0x92fe5b[_0x477d('0x27a7')](_0x3dda16(this))&&!_0x92fe5b[_0x477d('0x56')](_0x477d('0x5f'));}});_0x530f31[_0x477d('0x15f9')](_0x477d('0x2802'),{'id':0x3e9,'title':_0x477d('0x2ab'),'route':'cannedAnswer','translate':_0x477d('0x2803'),'state':'app.tools.cannedAnswers','weight':0x1,'hidden':function(){return _0x92fe5b[_0x477d('0x56')](_0x477d('0xcf'))||!_0x92fe5b[_0x477d('0x37c')](0x3e9)&&!_0x92fe5b['hasRole'](_0x477d('0x5f'));}});_0x530f31['saveItem']('apps.tools.dispositions',{'id':0x3ea,'title':_0x477d('0x220'),'route':_0x477d('0xb95'),'translate':_0x477d('0x2804'),'state':_0x477d('0x2805'),'weight':0x2,'hidden':function(){return _0x92fe5b['hasRole']('agent')||!_0x92fe5b[_0x477d('0x37c')](0x3ea)&&!_0x92fe5b[_0x477d('0x56')](_0x477d('0x5f'));}});_0x530f31[_0x477d('0x15f9')](_0x477d('0x2806'),{'id':0x3eb,'title':_0x477d('0x2b6'),'route':'dashboard','translate':_0x477d('0x2807'),'state':'app.tools.customDashboards','weight':0x3,'hidden':function(){return _0x92fe5b[_0x477d('0x56')]('agent')||!_0x92fe5b[_0x477d('0x37c')](0x3eb)&&!_0x92fe5b[_0x477d('0x56')](_0x477d('0x5f'));}});_0x530f31[_0x477d('0x15f9')](_0x477d('0x2808'),{'id':0x3ec,'title':_0x477d('0xa5'),'route':_0x477d('0x79c'),'translate':'TOOLS.INTERVALS','state':'app.tools.intervals','weight':0x4,'hidden':function(){return _0x92fe5b['hasRole'](_0x477d('0xcf'))||!_0x92fe5b[_0x477d('0x37c')](0x3ec)&&!_0x92fe5b[_0x477d('0x56')](_0x477d('0x5f'));}});_0x530f31[_0x477d('0x15f9')](_0x477d('0x2809'),{'id':0x3ed,'title':_0x477d('0xac'),'route':_0x477d('0x657'),'translate':_0x477d('0x280a'),'state':'app.tools.pauses','weight':0x5,'hidden':function(){return _0x92fe5b[_0x477d('0x56')]('agent')||!_0x92fe5b[_0x477d('0x37c')](0x3ed)&&!_0x92fe5b[_0x477d('0x56')](_0x477d('0x5f'));}});_0x530f31[_0x477d('0x15f9')](_0x477d('0x280b'),{'id':0x3ee,'title':'Scheduler','route':_0x477d('0x22c0'),'translate':'TOOLS.SCHEDULER','state':_0x477d('0x2c0'),'weight':0x6,'hidden':function(){return _0x92fe5b[_0x477d('0x56')](_0x477d('0xcf'))||!_0x92fe5b[_0x477d('0x37c')](0x3ee)&&!_0x92fe5b[_0x477d('0x56')](_0x477d('0x5f'));}});_0x530f31[_0x477d('0x15f9')]('apps.tools.sounds',{'id':0x3ef,'title':'Sounds','route':_0x477d('0x15c9'),'translate':_0x477d('0x280c'),'state':_0x477d('0x2c6'),'weight':0x7,'hidden':function(){return _0x92fe5b[_0x477d('0x56')](_0x477d('0xcf'))||!_0x92fe5b[_0x477d('0x37c')](0x3ef)&&!_0x92fe5b[_0x477d('0x56')]('admin');}});_0x530f31[_0x477d('0x15f9')](_0x477d('0x280d'),{'id':0x3f0,'title':'Tags','route':'tag','translate':_0x477d('0x280e'),'state':_0x477d('0x280f'),'weight':0x8,'hidden':function(){return _0x92fe5b[_0x477d('0x56')]('agent')||!_0x92fe5b[_0x477d('0x37c')](0x3f0)&&!_0x92fe5b[_0x477d('0x56')](_0x477d('0x5f'));}});_0x530f31[_0x477d('0x15f9')]('apps.tools.templates',{'id':0x3f1,'title':_0x477d('0x2d0'),'route':_0x477d('0xbb2'),'translate':_0x477d('0x2810'),'state':_0x477d('0x2cc'),'weight':0x9,'hidden':function(){return _0x92fe5b[_0x477d('0x56')](_0x477d('0xcf'))||!_0x92fe5b['hasPermission'](0x3f1)&&!_0x92fe5b['hasRole']('admin');}});_0x530f31[_0x477d('0x15f9')](_0x477d('0x2811'),{'id':0x3f2,'title':_0x477d('0x2d6'),'route':_0x477d('0x233b'),'translate':'TOOLS.TRIGGERS','state':'app.tools.triggers','weight':0xa,'hidden':function(){return _0x92fe5b[_0x477d('0x56')]('agent')||!_0x92fe5b[_0x477d('0x37c')](0x3f2)&&!_0x92fe5b[_0x477d('0x56')](_0x477d('0x5f'));}});_0x530f31[_0x477d('0x15f9')](_0x477d('0x2812'),{'id':0x3f3,'title':_0x477d('0x2fa'),'route':_0x477d('0xaa8'),'translate':_0x477d('0x2813'),'state':_0x477d('0x2d9'),'weight':0xb,'hidden':function(){return _0x92fe5b[_0x477d('0x56')](_0x477d('0xcf'))||!_0x92fe5b[_0x477d('0x37c')](0x3f3)&&!_0x92fe5b['hasRole'](_0x477d('0x5f'));}});_0x530f31['saveItem'](_0x477d('0x2814'),{'id':0x3f4,'title':_0x477d('0x2e4'),'route':'variable','translate':_0x477d('0x2815'),'state':_0x477d('0x2e0'),'weight':0xc,'hidden':function(){return _0x92fe5b[_0x477d('0x56')](_0x477d('0xcf'))||!_0x92fe5b[_0x477d('0x37c')](0x3f4)&&!_0x92fe5b[_0x477d('0x56')](_0x477d('0x5f'));}});_0x530f31[_0x477d('0x15f9')](_0x477d('0x2816'),{'id':0x44c,'title':_0x477d('0x219c'),'translate':_0x477d('0x2817'),'icon':_0x477d('0x1fd4'),'license':'voice','weight':0xd,'hidden':function(){return!_0x2d1b8a['voice']||_0x92fe5b['hasRole'](_0x477d('0xcf'))||!_0x92fe5b[_0x477d('0x27a7')](_0x3dda16(this))&&!_0x92fe5b[_0x477d('0x56')](_0x477d('0x5f'));}});_0x530f31[_0x477d('0x15f9')]('apps.callysquare.odbcs',{'id':0x44d,'title':'ODBC','route':_0x477d('0xc95'),'translate':'CALLYSQUARE.ODBC','state':_0x477d('0x2818'),'weight':0x2,'hidden':function(){return _0x92fe5b[_0x477d('0x56')](_0x477d('0xcf'))||!_0x92fe5b[_0x477d('0x37c')](0x44d)&&!_0x92fe5b['hasRole'](_0x477d('0x5f'));}});_0x530f31[_0x477d('0x15f9')](_0x477d('0x2819'),{'id':0x44e,'title':_0x477d('0x8d'),'route':_0x477d('0x11b8'),'translate':_0x477d('0x281a'),'state':_0x477d('0x88'),'permissions':{'association':![],'loading':!![]},'weight':0x3,'hidden':function(){return _0x92fe5b[_0x477d('0x56')](_0x477d('0xcf'))||!_0x92fe5b[_0x477d('0x37c')](0x44e)&&!_0x92fe5b[_0x477d('0x56')](_0x477d('0x5f'));}});_0x530f31[_0x477d('0x15f9')]('apps.callysquare.projects',{'id':0x44f,'title':_0x477d('0x1ca'),'route':_0x477d('0xc99'),'translate':'CALLYSQUARE.PROJECTS','state':'app.callysquare.projects','weight':0x1,'hidden':function(){return _0x92fe5b[_0x477d('0x56')]('agent')||!_0x92fe5b[_0x477d('0x37c')](0x44f)&&!_0x92fe5b[_0x477d('0x56')](_0x477d('0x5f'));}});_0x530f31[_0x477d('0x15f9')](_0x477d('0x281b'),{'id':0x4b0,'title':'Analytics','translate':_0x477d('0x281c'),'icon':_0x477d('0x281d'),'weight':0x10,'hidden':function(){return _0x92fe5b[_0x477d('0x56')](_0x477d('0xcf'))||!_0x92fe5b[_0x477d('0x27a7')](_0x3dda16(this))&&!_0x92fe5b[_0x477d('0x56')](_0x477d('0x5f'));}});_0x530f31[_0x477d('0x15f9')]('apps.analytics.metrics',{'id':0x4b1,'title':'Metrics','route':'analyticMetric','translate':_0x477d('0x281e'),'state':_0x477d('0x52'),'weight':0x3,'hidden':function(){return _0x92fe5b[_0x477d('0x56')](_0x477d('0xcf'))||!_0x92fe5b[_0x477d('0x37c')](0x4b1)&&!_0x92fe5b[_0x477d('0x56')](_0x477d('0x5f'));}});_0x530f31[_0x477d('0x15f9')]('apps.analytics.extractedReports',{'id':0x4b2,'title':_0x477d('0x69'),'route':_0x477d('0xbcd'),'translate':_0x477d('0x281f'),'state':_0x477d('0x65'),'permissions':{'association':![],'loading':!![]},'weight':0x2,'hidden':function(){return _0x92fe5b[_0x477d('0x56')]('agent')||!_0x92fe5b[_0x477d('0x37c')](0x4b2)&&!_0x92fe5b[_0x477d('0x56')](_0x477d('0x5f'));}});_0x530f31[_0x477d('0x15f9')](_0x477d('0x2820'),{'id':0x4b3,'title':_0x477d('0x21a6'),'route':'','translate':_0x477d('0x2821'),'state':_0x477d('0x51'),'weight':0x1,'hidden':function(){return _0x92fe5b[_0x477d('0x56')](_0x477d('0xcf'))||!_0x92fe5b['hasPermission'](0x4b3)&&!_0x92fe5b['hasRole'](_0x477d('0x5f'));}});_0x530f31['saveItem'](_0x477d('0x2822'),{'id':0x514,'title':_0x477d('0x21c3'),'translate':'INTEGRATIONS.INTEGRATIONS','icon':_0x477d('0x2823'),'weight':0x11,'hidden':function(){return _0x92fe5b[_0x477d('0x56')]('agent')||!_0x92fe5b[_0x477d('0x27a7')](_0x3dda16(this))&&!_0x92fe5b[_0x477d('0x56')]('admin');}});_0x530f31[_0x477d('0x15f9')](_0x477d('0x2824'),{'id':0x515,'title':_0x477d('0x178'),'route':_0x477d('0xc16'),'translate':'INTEGRATIONS.ZENDESKACCOUNTS','state':'app.integrations.zendeskAccounts','permissions':{'association':![],'loading':!![]},'weight':0x1,'hidden':function(){return _0x92fe5b['hasRole'](_0x477d('0xcf'))||!_0x92fe5b[_0x477d('0x37c')](0x515)&&!_0x92fe5b['hasRole']('admin');}});_0x530f31[_0x477d('0x15f9')]('apps.integrations.salesforceAccounts',{'id':0x516,'title':_0x477d('0x183'),'route':_0x477d('0xbdd'),'translate':_0x477d('0x2825'),'state':'app.integrations.salesforceAccounts','permissions':{'association':![],'loading':!![]},'weight':0x2,'hidden':function(){return _0x92fe5b['hasRole'](_0x477d('0xcf'))||!_0x92fe5b[_0x477d('0x37c')](0x516)&&!_0x92fe5b['hasRole'](_0x477d('0x5f'));}});_0x530f31[_0x477d('0x15f9')](_0x477d('0x2826'),{'id':0x517,'title':'FreshdeskAccounts','route':_0x477d('0xc26'),'translate':_0x477d('0x2827'),'state':'app.integrations.freshdeskAccounts','permissions':{'association':![],'loading':!![]},'weight':0x3,'hidden':function(){return _0x92fe5b[_0x477d('0x56')](_0x477d('0xcf'))||!_0x92fe5b[_0x477d('0x37c')](0x517)&&!_0x92fe5b['hasRole'](_0x477d('0x5f'));}});_0x530f31[_0x477d('0x15f9')](_0x477d('0x2828'),{'id':0x519,'title':_0x477d('0x18e'),'route':_0x477d('0xbeb'),'translate':_0x477d('0x2829'),'state':_0x477d('0x18a'),'permissions':{'association':![],'loading':!![]},'weight':0x4,'hidden':function(){return _0x92fe5b[_0x477d('0x56')](_0x477d('0xcf'))||!_0x92fe5b[_0x477d('0x37c')](0x519)&&!_0x92fe5b['hasRole']('admin');}});_0x530f31[_0x477d('0x15f9')](_0x477d('0x282a'),{'id':0x51a,'title':_0x477d('0x197'),'route':_0x477d('0xbfa'),'translate':_0x477d('0x282b'),'state':_0x477d('0x192'),'permissions':{'association':![],'loading':!![]},'weight':0x5,'hidden':function(){return _0x92fe5b['hasRole']('agent')||!_0x92fe5b[_0x477d('0x37c')](0x51a)&&!_0x92fe5b['hasRole'](_0x477d('0x5f'));}});_0x530f31[_0x477d('0x15f9')]('apps.integrations.zohoAccounts',{'id':0x51b,'title':_0x477d('0x19e'),'route':'intZohoAccount','translate':_0x477d('0x282c'),'state':'app.integrations.zohoAccounts','permissions':{'association':![],'loading':!![]},'weight':0x6,'hidden':function(){return _0x92fe5b[_0x477d('0x56')](_0x477d('0xcf'))||!_0x92fe5b['hasPermission'](0x51b)&&!_0x92fe5b[_0x477d('0x56')]('admin');}});_0x530f31[_0x477d('0x15f9')]('apps.integrations.vtigerAccounts',{'id':0x51c,'title':_0x477d('0x1a7'),'route':_0x477d('0xc36'),'translate':_0x477d('0x282d'),'state':_0x477d('0x1a1'),'permissions':{'association':![],'loading':!![]},'weight':0x7,'hidden':function(){return _0x92fe5b['hasRole']('agent')||!_0x92fe5b[_0x477d('0x37c')](0x51c)&&!_0x92fe5b['hasRole']('admin');}});_0x530f31[_0x477d('0x15f9')](_0x477d('0x282e'),{'id':0x51d,'title':_0x477d('0x1b0'),'route':_0x477d('0xc52'),'translate':_0x477d('0x282f'),'state':_0x477d('0x1a6f'),'permissions':{'association':![],'loading':!![]},'weight':0x8,'hidden':function(){return _0x92fe5b['hasRole'](_0x477d('0xcf'))||!_0x92fe5b[_0x477d('0x37c')](0x51d)&&!_0x92fe5b[_0x477d('0x56')](_0x477d('0x5f'));}});_0x530f31[_0x477d('0x15f9')](_0x477d('0x2830'),{'id':0x51e,'title':'ServicenowAccounts','route':'intServicenowAccount','translate':_0x477d('0x2831'),'state':_0x477d('0x1b4'),'permissions':{'association':![],'loading':!![]},'weight':0x9,'hidden':function(){return _0x92fe5b[_0x477d('0x56')](_0x477d('0xcf'))||!_0x92fe5b[_0x477d('0x37c')](0x51e)&&!_0x92fe5b['hasRole'](_0x477d('0x5f'));}});_0x530f31['saveItem'](_0x477d('0x2832'),{'id':0x518,'title':_0x477d('0x1c1'),'route':_0x477d('0xc5d'),'translate':_0x477d('0x2833'),'state':_0x477d('0x1bd'),'permissions':{'association':![],'loading':!![]},'weight':0xa,'hidden':function(){return _0x92fe5b['hasRole'](_0x477d('0xcf'))||!_0x92fe5b[_0x477d('0x37c')](0x518)&&!_0x92fe5b[_0x477d('0x56')](_0x477d('0x5f'));}});_0x530f31[_0x477d('0x15f9')]('apps.settings',{'id':0x578,'title':_0x477d('0x21a1'),'translate':_0x477d('0x2834'),'icon':_0x477d('0x740'),'permissions':{'hidden':!![]},'weight':0x14,'hidden':function(){return _0x92fe5b[_0x477d('0x56')](_0x477d('0xcf'))||!_0x92fe5b[_0x477d('0x37c')](0x578)&&!_0x92fe5b['hasRole'](_0x477d('0x5f'));}});_0x530f31['saveItem'](_0x477d('0x2835'),{'id':0x579,'title':_0x477d('0x27b0'),'route':_0x477d('0xc8e'),'translate':'SETTINGS.GENERAL','state':_0x477d('0x249'),'weight':0x1,'hidden':function(){return _0x92fe5b[_0x477d('0x56')](_0x477d('0xcf'))||!_0x92fe5b[_0x477d('0x37c')](0x578)&&!_0x92fe5b['hasRole']('admin');}});_0x530f31[_0x477d('0x15f9')]('apps.settings.smtps',{'id':0x57a,'title':_0x477d('0x185a'),'route':_0x477d('0x1775'),'translate':'SETTINGS.SMTP','state':_0x477d('0x2836'),'weight':0x1,'hidden':function(){return _0x92fe5b[_0x477d('0x56')](_0x477d('0xcf'))||!_0x92fe5b[_0x477d('0x37c')](0x578)&&!_0x92fe5b['hasRole']('admin');}});_0x530f31[_0x477d('0x15f9')](_0x477d('0x2837'),{'id':0x57b,'title':_0x477d('0x2007'),'route':_0x477d('0x5cd'),'translate':_0x477d('0x2838'),'state':'app.settings.networks','weight':0x1,'hidden':function(){return _0x92fe5b['hasRole'](_0x477d('0xcf'))||!_0x92fe5b['hasPermission'](0x578)&&!_0x92fe5b[_0x477d('0x56')](_0x477d('0x5f'));}});_0x530f31[_0x477d('0x15f9')](_0x477d('0x2839'),{'id':0x57f,'title':_0x477d('0x283a'),'route':_0x477d('0xc8e'),'translate':_0x477d('0x283b'),'state':_0x477d('0x258'),'weight':0x1,'hidden':function(){return!_0x2d1b8a[_0x477d('0x9f6')]||_0x92fe5b[_0x477d('0x56')](_0x477d('0xcf'))||!_0x92fe5b[_0x477d('0x37c')](0x578)&&!_0x92fe5b['hasRole'](_0x477d('0x5f'));}});_0x530f31['saveItem'](_0x477d('0x283c'),{'id':0x580,'title':_0x477d('0x1f97'),'route':'cloudProvider','translate':_0x477d('0x283d'),'state':_0x477d('0x283e'),'weight':0x1,'hidden':function(){return!_0x2d1b8a['ai']||_0x92fe5b[_0x477d('0x56')](_0x477d('0xcf'))||!_0x92fe5b[_0x477d('0x37c')](0x578)&&!_0x92fe5b[_0x477d('0x56')](_0x477d('0x5f'));}});_0x530f31[_0x477d('0x15f9')]('apps.settings.updates',{'id':0x57c,'title':'Updates','route':'','translate':_0x477d('0x283f'),'state':_0x477d('0x246'),'weight':0x1,'hidden':function(){return!_0x2d1b8a[_0x477d('0x710')]||_0x92fe5b[_0x477d('0x56')](_0x477d('0xcf'))||!_0x92fe5b[_0x477d('0x37c')](0x578)&&!_0x92fe5b[_0x477d('0x56')](_0x477d('0x5f'));}});_0x530f31[_0x477d('0x15f9')](_0x477d('0x2840'),{'id':0x57d,'title':_0x477d('0x73f'),'route':'','translate':_0x477d('0x2841'),'state':_0x477d('0x247'),'weight':0x1,'hidden':function(){return _0x92fe5b[_0x477d('0x56')](_0x477d('0xcf'))||!_0x92fe5b['hasPermission'](0x578)&&!_0x92fe5b[_0x477d('0x56')]('admin');}});_0x530f31[_0x477d('0x15f9')](_0x477d('0x2842'),{'id':0x57e,'title':'System','route':'','translate':_0x477d('0x2843'),'state':_0x477d('0x262'),'weight':0x1,'hidden':function(){return _0x92fe5b[_0x477d('0x56')](_0x477d('0xcf'))||!_0x92fe5b[_0x477d('0x37c')](0x578)&&!_0x92fe5b['hasRole'](_0x477d('0x5f'));}});_0x530f31['saveItem'](_0x477d('0x2844'),{'id':0x5dc,'title':_0x477d('0x2845'),'translate':_0x477d('0x2846'),'icon':_0x477d('0x2847'),'license':_0x477d('0x17a4'),'weight':0x5,'hidden':function(){return!_0x2d1b8a[_0x477d('0x17a4')]||_0x92fe5b[_0x477d('0x56')]('agent')||!_0x92fe5b[_0x477d('0x27a7')](_0x3dda16(this))&&!_0x92fe5b[_0x477d('0x56')](_0x477d('0x5f'));}});_0x530f31[_0x477d('0x15f9')](_0x477d('0x2848'),{'id':0x5dd,'title':_0x477d('0x128'),'route':_0x477d('0xa76'),'channel':_0x477d('0x2121'),'translate':_0x477d('0x2849'),'state':'app.motiondialer.queueCampaigns','weight':0x1,'hidden':function(){return _0x92fe5b[_0x477d('0x56')](_0x477d('0xcf'))||!_0x92fe5b['hasPermission'](0x5dd)&&!_0x92fe5b['hasRole'](_0x477d('0x5f'));}});_0x530f31[_0x477d('0x15f9')](_0x477d('0x284a'),{'id':0x5de,'title':_0x477d('0x20a'),'route':_0x477d('0xca8'),'translate':_0x477d('0x284b'),'state':_0x477d('0x1e1f'),'weight':0x1,'hidden':function(){return _0x92fe5b[_0x477d('0x56')](_0x477d('0xcf'))||!_0x92fe5b[_0x477d('0x37c')](0x5de)&&!_0x92fe5b[_0x477d('0x56')](_0x477d('0x5f'));}});_0x530f31['saveItem'](_0x477d('0x284c'),{'id':0x5e6,'title':'Realtime','route':'','translate':_0x477d('0x284d'),'state':_0x477d('0x20f'),'permissions':{'association':![],'crud':![]},'weight':0x1,'hidden':function(){return _0x92fe5b[_0x477d('0x56')]('agent')||!_0x92fe5b[_0x477d('0x37c')](0x5e6)&&!_0x92fe5b[_0x477d('0x56')](_0x477d('0x5f'));}});_0x530f31[_0x477d('0x15f9')](_0x477d('0x284e'),{'id':0x640,'title':_0x477d('0x21a2'),'translate':_0x477d('0x284f'),'icon':_0x477d('0x2850'),'permissions':{'association':![]},'weight':0x15,'hidden':function(){return _0x92fe5b[_0x477d('0x56')](_0x477d('0xcf'))||!_0x92fe5b[_0x477d('0x37c')](0x640)&&!_0x92fe5b['hasRole'](_0x477d('0x5f'));}});_0x530f31[_0x477d('0x15f9')](_0x477d('0x2851'),{'id':0x641,'title':_0x477d('0x2852'),'route':'','translate':'HELP.ABOUT','state':_0x477d('0x16d'),'weight':0x1,'hidden':function(){return _0x92fe5b[_0x477d('0x56')](_0x477d('0xcf'))||!_0x92fe5b[_0x477d('0x37c')](0x640)&&!_0x92fe5b[_0x477d('0x56')]('admin');}});_0x530f31[_0x477d('0x15f9')]('apps.jscripty',{'id':0x6a4,'title':'jscripty','translate':_0x477d('0x2853'),'icon':_0x477d('0x15d8'),'license':_0x477d('0x1cb'),'weight':0xe,'hidden':function(){return!_0x2d1b8a['jscripty']||_0x92fe5b[_0x477d('0x56')](_0x477d('0xcf'))||!_0x92fe5b[_0x477d('0x27a7')](_0x3dda16(this))&&!_0x92fe5b[_0x477d('0x56')](_0x477d('0x5f'));}});_0x530f31[_0x477d('0x15f9')](_0x477d('0x2854'),{'id':0x6a5,'title':_0x477d('0x1ca'),'route':_0x477d('0xc88'),'translate':_0x477d('0x2855'),'state':_0x477d('0x1c6'),'weight':0x1,'hidden':function(){return _0x92fe5b[_0x477d('0x56')](_0x477d('0xcf'))||!_0x92fe5b['hasPermission'](0x6a5)&&!_0x92fe5b[_0x477d('0x56')](_0x477d('0x5f'));}});_0x530f31[_0x477d('0x15f9')](_0x477d('0x2856'),{'id':0x708,'title':_0x477d('0x2197'),'translate':_0x477d('0x2857'),'icon':_0x477d('0x2858'),'weight':0x12,'hidden':function(){return _0x92fe5b[_0x477d('0x56')]('agent')||!_0x92fe5b['hasChildrenPermissions'](_0x3dda16(this))&&!_0x92fe5b[_0x477d('0x56')](_0x477d('0x5f'));}});_0x530f31[_0x477d('0x15f9')](_0x477d('0x2859'),{'id':0x709,'title':_0x477d('0x1d76'),'route':_0x477d('0xcba'),'translate':_0x477d('0x285a'),'state':_0x477d('0x1f3'),'weight':0x1,'hidden':function(){return _0x92fe5b['hasRole'](_0x477d('0xcf'))||!_0x92fe5b[_0x477d('0x37c')](0x709)&&!_0x92fe5b[_0x477d('0x56')](_0x477d('0x5f'));}});_0x530f31[_0x477d('0x15f9')](_0x477d('0x285b'),{'id':0x7d0,'title':_0x477d('0x285c'),'translate':_0x477d('0x285d'),'icon':_0x477d('0x24c0'),'license':_0x477d('0x13cd'),'weight':0xc,'hidden':function(){return!_0x2d1b8a[_0x477d('0x13cd')]||_0x92fe5b[_0x477d('0x56')]('agent')||!_0x92fe5b['hasChildrenPermissions'](_0x3dda16(this))&&!_0x92fe5b[_0x477d('0x56')]('admin');}});_0x530f31['saveItem'](_0x477d('0x285e'),{'id':0x7d1,'title':_0x477d('0x2ed'),'route':'screenRecording','translate':_0x477d('0x285f'),'state':_0x477d('0x2e7'),'permissions':{'association':![],'loading':!![]},'weight':0x1,'hidden':function(){return _0x92fe5b['hasRole']('agent')||!_0x92fe5b[_0x477d('0x37c')](0x7d1)&&!_0x92fe5b[_0x477d('0x56')](_0x477d('0x5f'));}});_0x530f31[_0x477d('0x15f9')](_0x477d('0x2860'),{'id':0x834,'title':'Whatsapp','translate':_0x477d('0x2861'),'icon':_0x477d('0x15ae'),'license':_0x477d('0x35d'),'weight':0xb,'hidden':function(){return!_0x2d1b8a[_0x477d('0x35d')]||_0x92fe5b[_0x477d('0x56')]('agent')||!_0x92fe5b[_0x477d('0x27a7')](_0x3dda16(this))&&!_0x92fe5b[_0x477d('0x56')]('admin');}});_0x530f31['saveItem'](_0x477d('0x2862'),{'id':0x835,'title':_0x477d('0x35c'),'route':_0x477d('0xcfa'),'channel':_0x477d('0x35d'),'translate':_0x477d('0x2863'),'state':_0x477d('0x35f'),'weight':0x1,'hidden':function(){return _0x92fe5b[_0x477d('0x56')](_0x477d('0xcf'))||!_0x92fe5b[_0x477d('0x37c')](0x835)&&!_0x92fe5b['hasRole'](_0x477d('0x5f'));}});_0x530f31[_0x477d('0x15f9')]('apps.whatsapp.whatsappAccounts',{'id':0x836,'title':_0x477d('0x14f'),'route':'whatsappAccount','channel':_0x477d('0x35d'),'translate':_0x477d('0x2864'),'state':_0x477d('0x366'),'weight':0x1,'hidden':function(){return _0x92fe5b['hasRole']('agent')||!_0x92fe5b['hasPermission'](0x836)&&!_0x92fe5b['hasRole'](_0x477d('0x5f'));}});_0x530f31[_0x477d('0x15f9')](_0x477d('0x2865'),{'id':0x83e,'title':_0x477d('0x27da'),'route':'','translate':_0x477d('0x2866'),'state':_0x477d('0x353'),'permissions':{'association':![],'crud':![]},'weight':0x1,'hidden':function(){return _0x92fe5b['hasRole'](_0x477d('0xcf'))||!_0x92fe5b['hasPermission'](0x83e)&&!_0x92fe5b[_0x477d('0x56')](_0x477d('0x5f'));}});_0x530f31[_0x477d('0x568')]();_0x163737[_0x477d('0x15f9')](_0x477d('0x1244'),{'title':_0x477d('0x27a2'),'group':!![],'weight':0x1});_0x163737[_0x477d('0x15f9')]('apps.home',{'id':0x64,'title':_0x477d('0x2867'),'translate':'DASHBOARDS.HOME','icon':'icon-home','weight':0x1});_0x163737['saveItem'](_0x477d('0x2868'),{'id':0x65,'title':_0x477d('0x2869'),'translate':_0x477d('0x286a'),'state':_0x477d('0xad2'),'view':_0x477d('0xad2'),'icon':_0x477d('0x27ae'),'iconClass':_0x477d('0x286b'),'weight':0x1,'hidden':function(){return!_0x92fe5b[_0x477d('0x37c')](0x65);}});_0x163737[_0x477d('0x15f9')]('apps.home.contacts',{'id':0x66,'title':_0x477d('0xf0'),'translate':_0x477d('0x286c'),'state':_0x477d('0x1449'),'view':_0x477d('0x1449'),'icon':_0x477d('0x15b0'),'iconClass':'red-fg','weight':0x2,'hidden':function(){return!_0x2d1b8a['cm']||!_0x92fe5b[_0x477d('0x37c')](0x66);}});_0x163737[_0x477d('0x15f9')](_0x477d('0x286d'),{'id':0x67,'title':_0x477d('0xf0'),'translate':_0x477d('0x286e'),'state':_0x477d('0x286f'),'view':_0x477d('0x286f'),'icon':'icon-account-multiple','iconClass':_0x477d('0x2870'),'weight':0x3,'hidden':function(){return!_0x2d1b8a['cm']||!_0x92fe5b[_0x477d('0x37c')](0x67);}});_0x163737['saveItem'](_0x477d('0x2871'),{'id':0x71,'title':_0x477d('0x2872'),'translate':_0x477d('0x2873'),'state':_0x477d('0x2874'),'view':_0x477d('0x2874'),'icon':_0x477d('0x2875'),'iconClass':'blue-grey-fg','weight':0x3,'hidden':function(){return!_0x2d1b8a[_0x477d('0x17a4')]||!_0x92fe5b[_0x477d('0x37c')](0x71);}});_0x163737['saveItem'](_0x477d('0x2876'),{'id':0x6e,'title':_0x477d('0x2434'),'translate':_0x477d('0x2877'),'state':_0x477d('0x108'),'view':_0x477d('0x108'),'icon':_0x477d('0x1fcc'),'iconClass':_0x477d('0x2878'),'weight':0x4,'hidden':function(){return!_0x2d1b8a[_0x477d('0x108')]||!_0x92fe5b[_0x477d('0x37c')](0x6e);}});_0x163737['saveItem'](_0x477d('0x2879'),{'id':0x6f,'title':'Abandoned','translate':'DASHBOARDS.ABANDONED','state':_0x477d('0x111'),'view':_0x477d('0x111'),'icon':_0x477d('0x287a'),'iconClass':_0x477d('0x287b'),'weight':0x5,'hidden':function(){return!_0x2d1b8a[_0x477d('0x108')]||!_0x92fe5b[_0x477d('0x37c')](0x6f);}});_0x163737['saveItem'](_0x477d('0x287c'),{'id':0x68,'title':_0x477d('0x287d'),'translate':_0x477d('0x287e'),'state':_0x477d('0x287f'),'view':'recordings','icon':_0x477d('0x2880'),'iconClass':'indigo-A100-fg','weight':0x6,'hidden':function(){return!_0x2d1b8a[_0x477d('0x108')]||!_0x92fe5b['hasPermission'](0x68);}});_0x163737[_0x477d('0x15f9')](_0x477d('0x2881'),{'id':0x69,'title':_0x477d('0x2437'),'translate':_0x477d('0x2882'),'state':'chat','view':_0x477d('0xb6'),'icon':'icon-hangouts','iconClass':_0x477d('0x2883'),'weight':0x7,'hidden':function(){return!_0x2d1b8a['chat']||!_0x92fe5b['hasPermission'](0x69);}});_0x163737[_0x477d('0x15f9')](_0x477d('0x2884'),{'id':0x6a,'title':_0x477d('0x161a'),'translate':_0x477d('0x2885'),'state':_0x477d('0x1d6'),'view':_0x477d('0x1d6'),'icon':_0x477d('0x15ab'),'iconClass':'teal-fg','weight':0x8,'hidden':function(){return!_0x2d1b8a[_0x477d('0x1d6')]||!_0x92fe5b['hasPermission'](0x6a);}});_0x163737[_0x477d('0x15f9')](_0x477d('0x2886'),{'id':0x6b,'title':_0x477d('0x243a'),'translate':'DASHBOARDS.SMS','state':_0x477d('0x26e'),'view':_0x477d('0x26e'),'icon':_0x477d('0x15ac'),'iconClass':'orange-fg','weight':0x9,'hidden':function(){return!_0x2d1b8a['messaging']||!_0x92fe5b[_0x477d('0x37c')](0x6b);}});_0x163737[_0x477d('0x15f9')](_0x477d('0x2887'),{'id':0x6c,'title':_0x477d('0x2435'),'translate':_0x477d('0x2888'),'state':_0x477d('0x22a'),'view':_0x477d('0x22a'),'icon':'icon-google-earth','iconClass':_0x477d('0x2889'),'weight':0xa,'hidden':function(){return!_0x2d1b8a['openchannel']||!_0x92fe5b[_0x477d('0x37c')](0x6c);}});_0x163737[_0x477d('0x15f9')]('apps.home.fax',{'id':0x6d,'title':'Fax','translate':_0x477d('0x288a'),'state':'fax','view':_0x477d('0x154'),'icon':_0x477d('0x182f'),'iconClass':_0x477d('0x288b'),'weight':0xb,'hidden':function(){return!_0x2d1b8a['fax']||!_0x92fe5b['hasPermission'](0x6d);}});_0x163737[_0x477d('0x15f9')](_0x477d('0x288c'),{'id':0x72,'title':'Whatsapp','translate':_0x477d('0x288d'),'state':_0x477d('0x35d'),'view':_0x477d('0x35d'),'icon':_0x477d('0x15ae'),'iconClass':'lime-A700-fg','weight':0xc,'hidden':function(){return!_0x2d1b8a[_0x477d('0x35d')]||!_0x92fe5b[_0x477d('0x37c')](0x72);}});_0x4ce333[_0x477d('0x4ec')](_0x477d('0x288e'),function(_0x5b9227){if(_0x5b9227['targetScope']['$id']===_0x4ce333[_0x477d('0x288f')]){_0x3db0f6[_0x477d('0x480')]('msSplashScreen::remove');}});}}());(function(){'use strict';_0x3bd270['$inject']=[_0x477d('0x474'),_0x477d('0x385'),_0x477d('0xc8e'),_0x477d('0x5a3'),'msNavigationService',_0x477d('0x55')];angular[_0x477d('0xb')](_0x477d('0x28'))[_0x477d('0x3ba')]('NavigationController',_0x3bd270);function _0x3bd270(_0x1dbc7b,_0x4907e8,_0x18bb05,_0xf72d15,_0x5b48cc,_0x457507){var _0x351672=this;_0x351672['bodyEl']=angular[_0x477d('0x398')]('body');_0x351672[_0x477d('0x2890')]={'suppressScrollX':!![]};_0x351672[_0x477d('0xc8e')]=_0x18bb05;_0x351672[_0x477d('0x6ad')]=_0x3e8c45;_0x351672['toggleMsNavigationFolded']=_0x5b67a6;_0x351672['getLogo']=_0x3265db;_0xf72d15['on'](_0x477d('0x2891'),_0x414eb7);_0xf72d15['on'](_0x477d('0x2892'),_0x414eb7);_0xf72d15['on']('dashboard:remove',_0x594e3f);_0xf72d15['on'](_0x477d('0x2893'),_0x143204);_0xf72d15['on']('plugin:update',_0x143204);_0xf72d15['on'](_0x477d('0x2894'),_0x367c55);function _0x3e8c45(){_0x351672[_0x477d('0x578')]=_0x4907e8[_0x477d('0x376')](_0x477d('0x2895'))===_0x477d('0x2ee')||![];}function _0x5b67a6(){_0x351672['folded']=!_0x351672[_0x477d('0x578')];_0x4907e8[_0x477d('0x390')]('motion.folded',_0x351672[_0x477d('0x578')]);}function _0x3265db(){return _0x351672['setting'][_0x477d('0x2896')]?_0x477d('0x2897'):_0x351672['setting']['headerWhiteLabel'];}function _0x414eb7(_0x438641){if(_0x438641&&_0x438641['id']){var _0xc83bea=0x1869f+_0x438641['id'];_0x5b48cc[_0x477d('0x15f9')](_0x477d('0x2898')+_0xc83bea,{'id':_0xc83bea,'title':_0x438641[_0x477d('0x94')]||_0x477d('0x279f'),'state':_0x477d('0x105'),'stateParams':_0x438641,'weight':0x2,'hidden':function(){return _0x457507[_0x477d('0x56')]('agent')||!_0x457507[_0x477d('0x37c')](_0xc83bea)&&!_0x457507[_0x477d('0x56')](_0x477d('0x5f'));}});}}function _0x594e3f(_0x5055e8){if(_0x5055e8&&_0x5055e8['id']){var _0x564a6e=0x1869f+_0x5055e8['id'];_0x5b48cc[_0x477d('0x55f')](_0x477d('0x2898')+_0x564a6e);}}function _0x143204(_0x14b142){if(_0x14b142&&_0x14b142['id']&&_0x14b142[_0x477d('0x1670')]!=_0x477d('0x1e0a')){if(_0x14b142['active']){if(_0x14b142[_0x477d('0x1670')]==_0x477d('0x1247')||_0x14b142[_0x477d('0x1670')]==_0x477d('0x27a9')){_0x5b48cc[_0x477d('0x15f9')](_0x477d('0x27a6'),{'id':0x76c,'title':_0x477d('0x1d76'),'translate':_0x477d('0x2899'),'icon':_0x477d('0x1248'),'weight':0x11,'hidden':function(){return _0x457507['hasRole'](_0x477d('0xcf'))||!_0x457507[_0x477d('0x37c')](0x76c)&&!_0x457507[_0x477d('0x56')](_0x477d('0x5f'));}});var _0x446e44=0x15b38+_0x14b142['id'];_0x5b48cc[_0x477d('0x15f9')](_0x477d('0x27a8')+_0x446e44,{'id':_0x446e44,'title':_0x14b142[_0x477d('0x94')]||_0x477d('0x279f'),'state':'app.plugins.plugin','stateParams':_0x14b142,'weight':0x2,'hidden':function(){return _0x457507[_0x477d('0x56')](_0x477d('0xcf'))||!_0x457507[_0x477d('0x37c')](_0x446e44)&&!_0x457507[_0x477d('0x56')](_0x477d('0x5f'));}});_0x5b48cc[_0x477d('0x568')]();}}else{var _0x446e44=0x15b38+_0x14b142['id'];if(_0x313b45(0x76c,_0x446e44)&&(_0x14b142[_0x477d('0x1670')]=='always'||_0x14b142['sidebar']==_0x477d('0x27a9'))){_0x5b48cc[_0x477d('0x55f')](_0x477d('0x27a8')+_0x446e44);if(!_0x1b9066(0x76c)){_0x5b48cc[_0x477d('0x15f9')]('apps.plugins',{'id':0x76c,'title':_0x477d('0x1d76'),'translate':_0x477d('0x2899'),'icon':'icon-apps','weight':0x11,'hidden':function(){return!![];}});}}}}}function _0x367c55(_0x3aecdd){if(_0x3aecdd&&_0x3aecdd['id']&&_0x3aecdd[_0x477d('0x1670')]!=_0x477d('0x1e0a')){var _0x3e6459=0x15b38+_0x3aecdd['id'];if(_0x3aecdd[_0x477d('0x1670')]==_0x477d('0x1247')||_0x3aecdd[_0x477d('0x1670')]==_0x477d('0x27a9')){_0x5b48cc[_0x477d('0x55f')](_0x477d('0x27a8')+_0x3e6459);if(!_0x1b9066(0x76c)){_0x5b48cc[_0x477d('0x15f9')]('apps.plugins',{'id':0x76c,'title':_0x477d('0x1d76'),'translate':'PLUGINS.PLUGINS','icon':_0x477d('0x1248'),'weight':0x11,'hidden':function(){return!![];}});}}}}function _0x1b9066(_0x29e8f4){var _0x264e0e=_0x5b48cc['getNavigation']();var _0x282af8=_[_0x477d('0x10a')](_0x264e0e[0x0][_0x477d('0x53f')],{'id':_0x29e8f4});return _0x282af8&&_0x282af8[_0x477d('0x53f')][_0x477d('0x79')]>0x0?!![]:![];}function _0x313b45(_0x186171,_0x1d83c6){var _0x34ef09=_0x5b48cc[_0x477d('0x570')]();var _0x48a023=_['find'](_0x34ef09[0x0]['children'],{'id':_0x186171});if(!_0x48a023)return![];return _[_0x477d('0x3ab')](_0x48a023[_0x477d('0x53f')],{'id':_0x1d83c6});}_0x1dbc7b[_0x477d('0x4ec')](_0x477d('0x538'),function(){_0x351672[_0x477d('0x289a')][_0x477d('0x52f')](_0x477d('0x289b'));});}}());(function(){'use strict';_0x52c9ba['$inject']=[_0x477d('0x474'),_0x477d('0x40d'),'$q',_0x477d('0x55'),'socket','api','desktopNotification',_0x477d('0x613')];angular[_0x477d('0xb')]('app.quick-panel')[_0x477d('0x3ba')]('QuickPanelController',_0x52c9ba);function _0x52c9ba(_0x369fba,_0x56eb62,_0x4dc386,_0x55b40f,_0x1b87ef,_0x3e0451,_0x162d3a,_0x15b995){var _0x1b1589=this;_0x1b1589[_0x477d('0x420')]=moment()[_0x477d('0x12f')]();_0x1b1589[_0x477d('0x3e5')]=_0x55b40f[_0x477d('0x5c')]();_0x1b1589[_0x477d('0x613')]=_0x15b995;_0x1b1589[_0x477d('0x289c')]=0x0;_0x1b1589['unreadTotalGroupMessages']=0x0;_0x1b1589[_0x477d('0x289d')]=_0x1caf38;_0x1b1589[_0x477d('0x17f5')]=_0x90ba25;_0x1b1589[_0x477d('0x289e')]=_0x29090e;_0x1b87ef['on'](_0x477d('0x289f'),_0x1b1589['onMessageSave']);_0x1b87ef['on']('chatInternalMessage:update',_0x1b1589[_0x477d('0x289e')]);_0x3e0451[_0x477d('0xc6f')][_0x477d('0x376')]({'fields':_0x477d('0x28a0'),'ToId':_0x1b1589[_0x477d('0x3e5')]['id'],'read':![],'nolimit':!![],'ChatGroupId':_0x477d('0xea')})['$promise'][_0x477d('0x76')](function(_0x49a585){if(_0x49a585&&_0x49a585['count']){_0x1b1589[_0x477d('0x289c')]=_0x49a585[_0x477d('0x3bb')];}return _0x3e0451[_0x477d('0x380')][_0x477d('0x28a1')]({'id':_0x1b1589[_0x477d('0x3e5')]['id']})['$promise'];})[_0x477d('0x76')](function(_0x1b50b8){var _0x564cd0=[];var _0xb4ba53=_0x1b50b8[_0x477d('0xf2')];for(var _0x277acd=0x0;_0x277acd<_0xb4ba53[_0x477d('0x79')];_0x277acd++){_0x564cd0[_0x477d('0x3a7')](_0x3e0451[_0x477d('0xb5f')][_0x477d('0x28a2')]({'id':_0xb4ba53[_0x277acd]['id']})[_0x477d('0x38b')]);}return _0x4dc386[_0x477d('0x7c')](_0x564cd0);})['then'](function(_0x2c4cb4){for(var _0x299166=0x0;_0x299166<_0x2c4cb4[_0x477d('0x79')];_0x299166++){_0x1b1589[_0x477d('0x28a3')]+=_0x2c4cb4[_0x299166][_0x477d('0x3bb')];}})[_0x477d('0xf8')](function(_0x1a9da7){console[_0x477d('0x44a')](_0x1a9da7);});function _0x351404(_0x31cdca){var _0x1c047c={'autoClose':!![],'duration':0xa,'showOnPageHidden':!![],'icon':'api/users/'+_0x31cdca[_0x477d('0x28a0')]+'/avatar','body':_0x31cdca[_0x477d('0x399')]||'','focusOnclick':!![],'closeOnClick':!![]};_0x162d3a[_0x477d('0x395')](_0x56eb62['instant']('QUICKPANEL.NEW_INTERNAL_MESSAGE'),_0x1c047c);}function _0x188065(_0x34011d){if(_0x162d3a['isSupported']()){_0x162d3a['requestPermission']()[_0x477d('0x76')](function(){_0x351404(_0x34011d);},function(_0x1c5c07){console[_0x477d('0x44a')](_0x477d('0x15c5'),_0x1c5c07);});}else{console[_0x477d('0x44a')](_0x477d('0x15c6'));}}function _0x1caf38(){return _0x1b1589[_0x477d('0x3e5')][_0x477d('0x3a1')]==='admin'||_0x1b1589[_0x477d('0x3e5')][_0x477d('0x3a1')]===_0x477d('0x380')||_0x1b1589[_0x477d('0x3e5')]['role']===_0x477d('0xcf')&&_0x1b1589[_0x477d('0x3e5')][_0x477d('0x394')]!==0x0;}function _0x90ba25(_0x7c430b){if(_0x7c430b[_0x477d('0x28a4')]===_0x1b1589[_0x477d('0x3e5')]['id']&&_0x7c430b[_0x477d('0x28a0')]!==_0x1b1589[_0x477d('0x3e5')]['id']&&!_0x7c430b[_0x477d('0x134d')]&&_0x7c430b[_0x477d('0x28a5')]){_0x1b1589[_0x477d('0x28a3')]++;_0x188065(_0x7c430b);}if(_0x7c430b[_0x477d('0x28a4')]===_0x1b1589[_0x477d('0x3e5')]['id']&&!_0x7c430b['ChatGroupId']){_0x1b1589[_0x477d('0x289c')]+=0x1;_0x188065(_0x7c430b);}}function _0x29090e(_0x53a7e7){if(_0x53a7e7[_0x477d('0x28a4')]===_0x1b1589[_0x477d('0x3e5')]['id']&&_0x53a7e7[_0x477d('0x134d')]&&_0x1b1589['unreadTotalMessages']>0x0&&!_0x53a7e7[_0x477d('0x28a5')]){_0x1b1589[_0x477d('0x289c')]-=0x1;}if(_0x53a7e7[_0x477d('0x28a4')]==_0x1b1589['currentUser']['id']&&_0x53a7e7[_0x477d('0x28a0')]!==_0x1b1589['currentUser']['id']&&_0x53a7e7[_0x477d('0x28a5')]&&_0x53a7e7[_0x477d('0x134d')]){if(_0x1b1589[_0x477d('0x28a3')]>0x0){_0x1b1589[_0x477d('0x28a3')]--;}}}_0x369fba[_0x477d('0x4ec')](_0x477d('0x505'),function(){_0x1b87ef[_0x477d('0x6b8')]('chatInternalMessage:save');_0x1b87ef['removeAllListeners'](_0x477d('0x28a6'));});}}());(function(){'use strict';_0x3c59f4[_0x477d('0xa')]=[_0x477d('0x474'),'toasty',_0x477d('0x386'),_0x477d('0x3fe'),'Auth','socket',_0x477d('0x554'),'$q',_0x477d('0x794'),'$translate',_0x477d('0x3bd'),_0x477d('0x5a1')];angular[_0x477d('0xb')](_0x477d('0x2a'))['controller'](_0x477d('0x28a7'),_0x3c59f4);function _0x3c59f4(_0x5a6651,_0x3f2ff3,_0x534993,_0x2a56bd,_0x5cfbec,_0x314960,_0xeb8663,_0x132a54,_0x3e746b,_0xe2948a,_0x38a3ed,_0x3ee2a7){var _0x5e7778=this;_0x5e7778['currentUser']=_0x5cfbec[_0x477d('0x5c')]();_0x5e7778[_0x477d('0x380')]=undefined;_0x5e7778['users']={'count':0x0,'rows':[]};_0x5e7778[_0x477d('0x28a8')]=moment(0x0)['format'](_0x477d('0x38d'));_0x5e7778[_0x477d('0x28a9')]={};_0x5e7778[_0x477d('0x28aa')]='';_0x5e7778['disabled']=![];_0x5e7778[_0x477d('0x5ee')]=_0x15f035;_0x5e7778[_0x477d('0x28ab')]=_0x5e4bb0;_0x5e7778[_0x477d('0x1867')]=_0x58f8fb;_0x5e7778[_0x477d('0x17f5')]=_0xe241c1;_0x5e7778[_0x477d('0x289e')]=_0x171b0c;_0x5e7778[_0x477d('0x28ac')]=_0xa55026;_0x5e7778[_0x477d('0x165a')]=_0x4d40dd;_0x5e7778[_0x477d('0x482')]=_0x4d4234;_0x5e7778['transfer']=_0x3a2b95;_0x314960['on'](_0x477d('0x289f'),_0x5e7778['onMessageSave']);_0x314960['on'](_0x477d('0x28a6'),_0x5e7778[_0x477d('0x289e')]);_0x314960['on']('user:update',_0x5e7778['onUserUpdate']);_0xeb8663('quick-panel')[_0x477d('0x4e2')](function(){_0x5e7778['user']=undefined;});_0x534993[_0x477d('0xc6f')][_0x477d('0x376')]({'fields':_0x477d('0x28a0'),'ToId':_0x5e7778[_0x477d('0x3e5')]['id'],'read':![],'nolimit':!![],'ChatGroupId':'null'})['$promise']['then'](function(_0x51ff7e){_0x5e7778[_0x477d('0x28a9')]=_[_0x477d('0x28ad')](_0x51ff7e[_0x477d('0xf2')],_0x477d('0x28a0'));})[_0x477d('0xf8')](function(_0x5a8dd6){});_0x534993[_0x477d('0xc6f')]['getUsers']()[_0x477d('0x38b')][_0x477d('0x76')](function(_0x17a03d){_0x5e7778[_0x477d('0xf2d')]=_0x17a03d;})[_0x477d('0xf8')](function(_0x5dcfc2){console[_0x477d('0x44a')](_0x5dcfc2);});function _0x15f035(_0x1bbbd0){_0x5e7778[_0x477d('0x613')]=_0x1bbbd0;}function _0xe241c1(_0xb3626a){if(_0xb3626a[_0x477d('0x28a4')]===_0x5e7778[_0x477d('0x3e5')]['id']&&!_0xb3626a[_0x477d('0x28a5')]){if(_0x5e7778['user']&&_0x5e7778[_0x477d('0x380')]['id']===_0xb3626a[_0x477d('0x28a0')]){_0x5e7778[_0x477d('0x380')][_0x477d('0x15fb')][_0x477d('0xf2')][_0x477d('0x3a7')](_0xb3626a);_0x32cb28(0x0);_0x534993['chatInternalMessage'][_0x477d('0x710')]({'id':_0xb3626a['id'],'read':!![]});}else{_0x5e7778[_0x477d('0x28a9')][_0xb3626a[_0x477d('0x28a0')]]=_0x5e7778[_0x477d('0x28a9')][_0xb3626a[_0x477d('0x28a0')]]?_0x5e7778[_0x477d('0x28a9')][_0xb3626a[_0x477d('0x28a0')]]+0x1:0x1;}var _0x14cb90=_[_0x477d('0x10a')](_0x5e7778[_0x477d('0xf2d')][_0x477d('0xf2')],{'id':_0xb3626a['FromId']});if(_0x14cb90){_0x14cb90[_0x477d('0x28ae')]=_0xb3626a[_0x477d('0xe37')];_0x14cb90[_0x477d('0x1689')]=_0xb3626a;}}}function _0x171b0c(_0x4106df){if((_0x4106df['FromId']===_0x5e7778[_0x477d('0x3e5')]['id']||_0x4106df[_0x477d('0x28a4')]===_0x5e7778[_0x477d('0x3e5')]['id'])&&!_0x4106df[_0x477d('0x28a5')]){if(_0x5e7778[_0x477d('0x380')]){var _0x265c5e=_[_0x477d('0x10a')](_0x5e7778[_0x477d('0x380')][_0x477d('0x15fb')][_0x477d('0xf2')],{'id':_0x4106df['id']});if(_0x265c5e){_['merge'](_0x265c5e,_0x4106df);}}var _0x16af7b=_['find'](_0x5e7778[_0x477d('0xf2d')][_0x477d('0xf2')],{'id':_0x5e7778[_0x477d('0x3e5')]['id']===_0x4106df['FromId']?_0x4106df['ToId']:_0x4106df['FromId']});if(_0x16af7b&&_0x16af7b['lastMessage']){_[_0x477d('0xef')](_0x16af7b[_0x477d('0x1689')],_0x4106df);}if(_0x4106df['ToId']===_0x5e7778['currentUser']['id']){if(_0x4106df['read']&&_0x5e7778['unreadMessage'][_0x4106df['FromId']]>0x0){_0x5e7778['unreadMessage'][_0x4106df['FromId']]-=0x1;}}}}function _0xa55026(_0x3e1689){var _0x37b714=_[_0x477d('0x10a')](_0x5e7778[_0x477d('0xf2d')][_0x477d('0xf2')],{'id':_0x3e1689['id']});if(_0x37b714){if(!_['isNil'](_0x3e1689[_0x477d('0x13d3')])&&_0x37b714[_0x477d('0x13d3')]!==_0x3e1689[_0x477d('0x13d3')]){_0x37b714[_0x477d('0x13d3')]=_0x3e1689['online'];}if(!_[_0x477d('0x484')](_0x3e1689[_0x477d('0x28af')])&&_0x37b714[_0x477d('0x28af')]!==_0x3e1689['allowmessenger']){_0x37b714[_0x477d('0x28af')]=_0x3e1689[_0x477d('0x28af')];}}}function _0x5e4bb0(_0x56244d){if(_0x56244d){if(!_0x56244d[_0x477d('0x28af')]&&_0x56244d[_0x477d('0x3a1')]===_0x477d('0xcf')){_0x3f2ff3[_0x477d('0x5fd')]({'title':_0xe2948a[_0x477d('0x45f')](_0x477d('0x28b0')),'msg':_0xe2948a[_0x477d('0x45f')](_0x477d('0x28b1'))});_0x5e7778['user']=undefined;return;}_0x5e7778[_0x477d('0x380')]=_0x56244d;_0x5e7778['replyMessage']='';_0x534993['chatInternalMessage'][_0x477d('0x376')]({'sort':'createdAt','FromId':_0x5e7778[_0x477d('0x3e5')]['id']+','+_0x56244d['id'],'ToId':_0x5e7778[_0x477d('0x3e5')]['id']+','+_0x56244d['id'],'ChatGroupId':_0x477d('0xea')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x5535eb){if(_0x5535eb&&_0x5535eb[_0x477d('0xf2')]){_0x5e7778[_0x477d('0x380')]['messages']=_0x5535eb;for(var _0x489ffc=0x0;_0x489ffc<_0x5e7778['user']['messages'][_0x477d('0xf2')][_0x477d('0x79')];_0x489ffc+=0x1){if(_0x5e7778['user'][_0x477d('0x15fb')]['rows'][_0x489ffc]['read']===![]&&_0x5e7778['user'][_0x477d('0x15fb')]['rows'][_0x489ffc][_0x477d('0x28a4')]===_0x5e7778[_0x477d('0x3e5')]['id']){_0x534993[_0x477d('0xc6f')][_0x477d('0x710')]({'id':_0x5e7778[_0x477d('0x380')][_0x477d('0x15fb')][_0x477d('0xf2')][_0x489ffc]['id'],'read':!![]});}}}})[_0x477d('0x5ff')](function(){_0x32cb28(0x0);});}else{_0x5e7778[_0x477d('0x380')]=undefined;}}function _0x58f8fb(){_0x5e7778[_0x477d('0x45c')]=!![];var _0x440746=Date[_0x477d('0x936')]();if(_0x5e7778['replyMessage']===''){_0x5e7778[_0x477d('0x45c')]=![];return;}var _0x19fc3c={'FromId':_0x5e7778[_0x477d('0x3e5')]['id'],'ToId':_0x5e7778[_0x477d('0x380')]['id'],'body':_0x5e7778[_0x477d('0x28aa')],'read':![]};_0x5e7778['replyMessage']='';_0x534993[_0x477d('0xc6f')][_0x477d('0xd70')](_0x19fc3c)[_0x477d('0x38b')]['then'](function(_0x2a93e3){_0x5e7778[_0x477d('0x380')][_0x477d('0x15fb')]['rows'][_0x477d('0x3a7')](_0x2a93e3);_0x5e7778[_0x477d('0x380')]['lastMessageAt']=_0x2a93e3['createdAt'];_0x5e7778['user'][_0x477d('0x1689')]=_0x2a93e3;_0x32cb28(0x190);})[_0x477d('0xf8')](function(_0xf41a88){})[_0x477d('0x5ff')](function(){_0x5e7778['disabled']=![];});}function _0x32cb28(_0x8bc5e4){var _0x578eec=angular[_0x477d('0x398')](_0x477d('0x28b2'));_0x2a56bd(function(){_0x578eec[_0x477d('0x54f')]({'scrollTop':_0x578eec[0x0][_0x477d('0x70d')]},_0x8bc5e4);},0x0);}function _0xf1efe1(_0x48bdb5){return!_[_0x477d('0x484')](_0x48bdb5)?_0x48bdb5[_0x477d('0x409')](/[^\w.+#*\-]+/g,''):'';}function _0x4d40dd(_0x564b76){_0x38a3ed[_0x477d('0x480')]('webrtc::call',{'target':_0xf1efe1(_0x564b76)});}function _0x4d4234(_0x49f99f){return _0x12dd34(_0x477d('0x47c')+(_0x5e7778['user'][_0x477d('0x47d')]||'9888')+_0x477d('0x47f')+_0xf1efe1(_0x49f99f));}function _0x3a2b95(_0x3f2369){return _0x12dd34('http://127.0.0.1:'+(_0x5e7778[_0x477d('0x380')][_0x477d('0x47d')]||_0x477d('0x47e'))+'/api/transfer?number='+_0xf1efe1(_0x3f2369));}function _0x12dd34(_0x3cf3db){return _0x3ee2a7['get'](_0x3cf3db)[_0x477d('0x485')](function(){_0x3f2ff3[_0x477d('0x485')]({'title':_0x477d('0x486'),'msg':'Call\x20properly\x20handled!'});})[_0x477d('0x44a')](function(_0x31b7f7){_0x3f2ff3[_0x477d('0x44a')]({'title':_0x477d('0x488'),'msg':_0xe2948a['instant'](_0x477d('0x489'))});});}_0x5a6651['$on'](_0x477d('0x505'),function(){_0x314960[_0x477d('0x6b8')](_0x477d('0x289f'));_0x314960[_0x477d('0x6b8')]('chatInternalMessage:update');_0x314960[_0x477d('0x6b8')](_0x477d('0x1402'));});}}());(function(){'use strict';_0xa693fc[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x3c4'),_0x477d('0xd64'),'$mdDialog',_0x477d('0x40e'),'api',_0x477d('0x55'),_0x477d('0x587'),_0x477d('0x28b3')];angular[_0x477d('0xb')](_0x477d('0x2a'))[_0x477d('0x3ba')](_0x477d('0x28b4'),_0xa693fc);function _0xa693fc(_0x6240f4,_0x1d10b9,_0x39d052,_0x4ee9c8,_0x238698,_0x4866f3,_0x2069fb,_0x221d13,_0x144dea){var _0x4a0509=this;_0x4a0509[_0x477d('0xd67')]=[];_0x4a0509[_0x477d('0x49a')]=_0x477d('0x28b5');_0x4a0509[_0x477d('0x587')]=angular['copy'](_0x221d13);_0x4a0509[_0x477d('0x3e5')]=_0x2069fb[_0x477d('0x5c')]();_0x4a0509[_0x477d('0x28b3')]=_0x144dea;_0x4a0509[_0x477d('0x28b6')]=!![];if(!_0x4a0509[_0x477d('0x587')]){_0x4a0509[_0x477d('0x587')]={'write':!![],'members':[]};_0x4a0509[_0x477d('0x49a')]=_0x477d('0x28b7');}_0x4a0509[_0x477d('0x28b8')]=_0x32485d;_0x4a0509[_0x477d('0x6bf')]=_0x52c4bd;_0x4a0509[_0x477d('0x28b9')]=_0x342135;function _0x3d5d12(_0x1886b3){var _0x2456e3=angular[_0x477d('0x73b')](_0x1886b3);return function filterFn(_0x37ec92){var _0x4a76c1=_0x37ec92[_0x477d('0x94')][_0x477d('0x449')]();return _0x4a76c1['indexOf'](_0x2456e3)!=-0x1;};}function _0x342135(_0x12d7c9){return _0x12d7c9?_0x4a0509[_0x477d('0x28b3')][_0x477d('0xf2')][_0x477d('0x3b3')](_0x3d5d12(_0x12d7c9)):[];}function _0x32485d(){var _0x2c79c2;_0x4a0509[_0x477d('0xd67')]=[];return _0x4866f3[_0x477d('0xb5f')][_0x477d('0xd70')]({'name':_0x4a0509['group']['name'],'write':_0x4a0509['group']['write']})[_0x477d('0x38b')]['then'](function(_0xef5fbf){var _0x4b20c4=_[_0x477d('0x3cb')](_0x4a0509['group']['members'],'id');_0x4b20c4[_0x477d('0x63b')](_0x4a0509[_0x477d('0x3e5')]['id']);_0x2c79c2=_0xef5fbf;return _0x4866f3[_0x477d('0xb5f')]['addMembers']({'id':_0x2c79c2['id'],'ids':_0x4b20c4})['$promise'];})[_0x477d('0x76')](function(){_0x238698['success']({'title':_0x477d('0x28ba'),'msg':_0x2c79c2['name']+_0x477d('0xd76')});_0x52c4bd(_0x2c79c2);})[_0x477d('0xf8')](function(_0x368bf2){_0x238698[_0x477d('0x44a')]({'title':_0x368bf2[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x368bf2['status']+'\x20-\x20'+_0x368bf2['statusText']:_0x477d('0x11ed'),'msg':_0x368bf2[_0x477d('0x451')]?JSON['stringify'](_0x368bf2[_0x477d('0x451')][_0x477d('0x452')]):_0x368bf2['toString']()});});}function _0x4235e6(){_0x4a0509[_0x477d('0xd67')]=[];var _0x447ea6=_0x4ee9c8[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0xd79'))[_0x477d('0xdaf')]('The\x20chatQueue\x20will\x20be\x20deleted.')[_0x477d('0x687')](_0x477d('0x11ee'))['ok']('Delete')[_0x477d('0x4f0')](_0x477d('0x688'))['targetEvent'](event);_0x4ee9c8['show'](_0x447ea6)[_0x477d('0x76')](function(){_0x4866f3[_0x477d('0xe40')][_0x477d('0xa55')]({'id':_0x4a0509[_0x477d('0xe40')]['id']})[_0x477d('0x38b')]['then'](function(){_[_0x477d('0x39c')](_0x4a0509[_0x477d('0x11d1')],{'id':_0x4a0509[_0x477d('0xe40')]['id']});_0x238698['success']({'title':_0x477d('0x11ef'),'msg':(_0x4a0509[_0x477d('0xe40')]['name']||'chatQueue')+_0x477d('0xd7e')});_0x52c4bd(_0x4a0509[_0x477d('0xe40')]);})['catch'](function(_0x32a896){if(_0x32a896['data']&&_0x32a896['data']['errors']&&_0x32a896[_0x477d('0x451')]['errors'][_0x477d('0x79')]){_0x4a0509[_0x477d('0xd67')]=_0x32a896[_0x477d('0x451')][_0x477d('0xd67')]||[{'message':_0x32a896[_0x477d('0x453')](),'type':_0x477d('0x11f0')}];for(var _0x38e27a=0x0;_0x38e27a<_0x32a896[_0x477d('0x451')][_0x477d('0xd67')]['length'];_0x38e27a++){_0x238698[_0x477d('0x44a')]({'title':_0x32a896[_0x477d('0x451')]['errors'][_0x38e27a][_0x477d('0x439')],'msg':_0x32a896['data'][_0x477d('0xd67')][_0x38e27a]['message']});}}else{_0x238698[_0x477d('0x44a')]({'title':_0x32a896[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x32a896['status']+_0x477d('0x44c')+_0x32a896['statusText']:_0x477d('0x11f0'),'msg':_0x32a896[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x32a896[_0x477d('0x451')][_0x477d('0x452')]):_0x32a896[_0x477d('0x452')]||_0x32a896['toString']()});}});},function(){});}function _0x33f417(_0x58bfed){return _0x58bfed===null?undefined:new Date(_0x58bfed);}function _0x52c4bd(_0x5f00b2){_0x4ee9c8[_0x477d('0x3bc')](_0x5f00b2);}}}());(function(){'use strict';_0x48185a[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x475'),'$timeout','$mdDialog',_0x477d('0x554'),'$q',_0x477d('0x55'),_0x477d('0x386'),_0x477d('0x5a3'),_0x477d('0x40e')];angular[_0x477d('0xb')](_0x477d('0x2a'))['controller'](_0x477d('0x28bb'),_0x48185a);function _0x48185a(_0x105974,_0x9ba320,_0x407691,_0x3b5ff6,_0x46a5f5,_0x56afa1,_0x1868ff,_0x485d26,_0x18bd51,_0x5c501b){var _0x48812c=this;_0x48812c[_0x477d('0x3e5')]=_0x1868ff[_0x477d('0x5c')]();_0x48812c['unreadGroupMessages']={};_0x48812c[_0x477d('0x28bc')]={};_0x48812c[_0x477d('0x28bd')];_0x48812c[_0x477d('0x587')];_0x48812c[_0x477d('0x5ee')]=_0x5d9917;_0x48812c[_0x477d('0x28be')]=_0x31ca90;_0x48812c[_0x477d('0x28bf')]=_0x3fc21e;_0x48812c[_0x477d('0x28c0')]=_0x45ca0a;_0x48812c[_0x477d('0x28c1')]=_0x5ceb89;_0x48812c[_0x477d('0x28c2')]=_0x11178f;_0x48812c['toggleChat']=_0xfbaba9;_0x48812c[_0x477d('0x1867')]=_0x51e702;_0x18bd51['on'](_0x477d('0x289f'),_0xb364aa);_0x18bd51['on'](_0x477d('0x28a6'),_0x45857d);_0x18bd51['on']('chatGroup:remove',_0x2a03d2);_0x46a5f5(_0x477d('0x28c3'))[_0x477d('0x4e2')](_0x31ca90);function _0x2a03d2(_0x37ec3c){if(_0x48812c[_0x477d('0x28bc')][_0x37ec3c['id']]){delete _0x48812c['groups'][_0x37ec3c['id']];}}function _0x45857d(_0x4e2775){if(_0x4e2775[_0x477d('0x28a4')]==_0x48812c[_0x477d('0x3e5')]['id']&&_0x4e2775[_0x477d('0x28a0')]!==_0x48812c[_0x477d('0x3e5')]['id']&&_0x4e2775[_0x477d('0x28a5')]&&_0x4e2775[_0x477d('0x134d')]){if(_0x48812c[_0x477d('0x28bc')][_0x4e2775[_0x477d('0x28a5')]][_0x477d('0x28c4')]>0x0){_0x48812c[_0x477d('0x28bc')][_0x4e2775[_0x477d('0x28a5')]]['unreadGroupMessages']--;}if(_0x48812c['group']['messages'][_0x4e2775['id']]){_0x48812c[_0x477d('0x587')][_0x477d('0x15fb')][_0x4e2775['id']][_0x477d('0x134d')]=!![];}}}function _0xb364aa(_0x30ee1f){if(!_0x48812c[_0x477d('0x587')]&&_0x30ee1f[_0x477d('0x28a4')]===_0x48812c['currentUser']['id']&&_0x30ee1f[_0x477d('0x28a0')]!==_0x48812c[_0x477d('0x3e5')]['id']&&!_0x30ee1f['read']&&_0x30ee1f[_0x477d('0x28a5')]){var _0xa4026c=_0x48812c[_0x477d('0x28bc')][_0x30ee1f['ChatGroupId']];if(_0xa4026c){if(!_0xa4026c['unreadGroupMessages']){_0xa4026c['unreadGroupMessages']=0x0;}_0xa4026c[_0x477d('0x28c4')]++;}else{return _0x485d26['chatGroup'][_0x477d('0x376')]({'id':_0x30ee1f[_0x477d('0x28a5')]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x5079db){_0x5079db[_0x477d('0x28c4')]=0x1;_0x48812c['groups'][_0x5079db['id']]=_0x5079db;});}}if(_0x48812c[_0x477d('0x587')]&&_0x30ee1f[_0x477d('0x28a5')]===_0x48812c[_0x477d('0x587')]['id']&&_0x30ee1f[_0x477d('0x28a4')]===_0x48812c[_0x477d('0x3e5')]['id']){_0x485d26[_0x477d('0xc6f')][_0x477d('0x710')]({'id':_0x30ee1f['id'],'read':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(){_0x2f1ece(_0x30ee1f);});}}function _0x5d9917(_0x45d53e){_0x48812c[_0x477d('0x613')]=_0x45d53e;return _0x485d26[_0x477d('0x380')][_0x477d('0x28a1')]({'id':_0x48812c['currentUser']['id']})['$promise']['then'](function(_0x28831c){for(var _0x393216=0x0,_0x74fceb=[];_0x393216<_0x28831c[_0x477d('0xf2')][_0x477d('0x79')];_0x393216++){_0x28831c[_0x477d('0xf2')][_0x393216][_0x477d('0x28c4')]=0x0;_0x48812c[_0x477d('0x28bc')][_0x28831c[_0x477d('0xf2')][_0x393216]['id']]=_0x28831c['rows'][_0x393216];_0x74fceb[_0x477d('0x3a7')](_0x485d26[_0x477d('0xb5f')]['getUnread']({'id':_0x28831c[_0x477d('0xf2')][_0x393216]['id']})[_0x477d('0x38b')]);}return _0x56afa1['all'](_0x74fceb);})[_0x477d('0x76')](function(_0x53e9d8){for(var _0x22ec33=0x0;_0x22ec33<_0x53e9d8[_0x477d('0x79')];_0x22ec33++){_0x48812c[_0x477d('0x28bc')][_0x53e9d8[_0x22ec33]['id']][_0x477d('0x28c4')]+=_0x53e9d8[_0x22ec33][_0x477d('0x3bb')];}})[_0x477d('0xf8')](function(_0x172f04){console[_0x477d('0x44a')](_0x172f04);});}function _0x5ceb89(){return _['values'](_0x48812c[_0x477d('0x28bc')]);}function _0x11178f(_0x681e2b,_0x2f1551){_0x3b5ff6[_0x477d('0x395')]({'controller':_0x477d('0x28c5'),'controllerAs':'vm','templateUrl':'app/quick-panel/tabs/groups/info/dialog.html','parent':angular[_0x477d('0x398')](_0x9ba320[_0x477d('0x399')]),'targetEvent':_0x681e2b,'clickOutsideToClose':!![],'locals':{'message':_0x2f1551},'resolve':{'data':function(){var _0x1d3982={'messages':[]};return _0x485d26['chatInternalMessage'][_0x477d('0x376')]({'ChatInternalMessageId':_0x2f1551['id']})[_0x477d('0x38b')]['then'](function(_0x2d7586){var _0x31e213=[];_0x1d3982[_0x477d('0x15fb')]=_0x2d7586['rows'];_0x1d3982[_0x477d('0x15fb')][_0x477d('0x63b')](_0x2f1551);for(var _0x2884dd=0x0;_0x2884dd<_0x1d3982['messages']['length'];_0x2884dd++){_0x31e213['push'](_0x485d26[_0x477d('0x380')][_0x477d('0x376')]({'id':_0x1d3982[_0x477d('0x15fb')][_0x2884dd][_0x477d('0x28a4')],'fields':_0x477d('0x28c6')})[_0x477d('0x38b')]);}return _0x56afa1[_0x477d('0x7c')](_0x31e213);})[_0x477d('0x76')](function(_0x24ea6d){_0x1d3982[_0x477d('0xf2d')]=_0x24ea6d;return _0x1d3982;})['catch'](function(_0x429bb9){if(_0x429bb9){console[_0x477d('0x44a')](_0x429bb9);}});}}})[_0x477d('0x76')](function(){})[_0x477d('0xf8')](function(_0x193aed){if(_0x193aed){console[_0x477d('0x44a')](_0x193aed[_0x477d('0x452')]);}});}function _0x51e702(){if(!_0x48812c[_0x477d('0x28aa')]){return;}var _0x529fe0={'id':_0x48812c[_0x477d('0x587')]['id'],'FromId':_0x48812c[_0x477d('0x3e5')]['id'],'ToId':_0x48812c[_0x477d('0x3e5')]['id'],'body':_0x48812c[_0x477d('0x28aa')],'read':!![]};var _0xdd457=[];_0x48812c['replyMessage']='';_0x485d26[_0x477d('0xb5f')]['addMessage'](_0x529fe0)[_0x477d('0x38b')][_0x477d('0x76')](function(_0x2d6540){_0x529fe0[_0x477d('0x134d')]=![];_0x529fe0[_0x477d('0x28c7')]=_0x2d6540['id'];for(var _0x21090c=0x0;_0x21090c<_0x48812c[_0x477d('0x587')]['members'][_0x477d('0x79')];_0x21090c++){if(_0x48812c[_0x477d('0x587')]['members'][_0x21090c]['id']!==_0x48812c[_0x477d('0x3e5')]['id']){_0x529fe0[_0x477d('0x28a4')]=_0x48812c[_0x477d('0x587')]['members'][_0x21090c]['id'];_0xdd457[_0x477d('0x3a7')](_0x485d26[_0x477d('0xb5f')][_0x477d('0x28c8')](angular[_0x477d('0x6d9')](_0x529fe0))[_0x477d('0x38b')]);}}return _0x56afa1['all'](_0xdd457);})[_0x477d('0xf8')](function(_0x1e63ed){console[_0x477d('0x7b')](_0x1e63ed);});}function _0x2f1ece(_0x1fd217){_0x48812c[_0x477d('0x587')][_0x477d('0x15fb')][_0x1fd217['id']]=_0x1fd217;_0x14cfa6(0x190);}function _0x31ca90(){delete _0x48812c[_0x477d('0x587')];}function _0x14cfa6(_0x5e9536){var _0x46baa5=angular[_0x477d('0x398')](_0x477d('0x28c9'));_0x407691(function(){_0x46baa5['animate']({'scrollTop':_0x46baa5[0x0][_0x477d('0x70d')]},_0x5e9536);},0x0);}function _0xfbaba9(_0x559df1){_0x48812c[_0x477d('0x587')]={'id':_0x559df1['id'],'write':_0x559df1[_0x477d('0x28ca')],'messages':{}};_0x485d26[_0x477d('0xb5f')][_0x477d('0x1417')]({'id':_0x559df1['id'],'fields':'id,name,fullname'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x50eb02){_0x48812c['group'][_0x477d('0x28cb')]=_[_0x477d('0xdb5')](_0x50eb02[_0x477d('0xf2')],'id');_0x48812c[_0x477d('0x587')][_0x477d('0x28b3')]=_[_0x477d('0x11f8')](_0x50eb02['rows'],[{'id':_0x48812c[_0x477d('0x3e5')]['id']}],'id');_0x48812c[_0x477d('0x28bd')]=_[_0x477d('0x3cb')](_0x48812c[_0x477d('0x587')][_0x477d('0x28b3')],_0x477d('0xcd'))[_0x477d('0x3f6')](',\x20');return _0x485d26['chatGroup'][_0x477d('0x1804')]({'id':_0x559df1['id'],'nolimit':!![]})[_0x477d('0x38b')];})[_0x477d('0x76')](function(_0x317871){for(var _0x16ee7e=0x0,_0x1f43e9=[],_0x45105c;_0x16ee7e<_0x317871['count'];_0x16ee7e++){if(_0x317871[_0x477d('0xf2')][_0x16ee7e][_0x477d('0x28a4')]===_0x48812c[_0x477d('0x3e5')]['id']){_0x45105c=_0x317871[_0x477d('0xf2')][_0x16ee7e];_0x48812c[_0x477d('0x587')][_0x477d('0x15fb')][_0x45105c['id']]=_0x45105c;if(_0x317871[_0x477d('0xf2')][_0x16ee7e][_0x477d('0x28a4')]==_0x48812c[_0x477d('0x3e5')]['id']&&_0x317871['rows'][_0x16ee7e][_0x477d('0x28a0')]!==_0x48812c[_0x477d('0x3e5')]['id']&&!_0x45105c[_0x477d('0x134d')]){_0x1f43e9['push'](_0x485d26[_0x477d('0xc6f')]['update']({'id':_0x45105c['id'],'read':!![]}));}}}return _0x56afa1[_0x477d('0x7c')](_0x1f43e9);})['then'](function(){_0x14cfa6(0x190);})[_0x477d('0xf8')](function(_0x3e841b){console['error'](_0x3e841b[_0x477d('0x452')]);});}function _0x45ca0a(_0x1e4bbd,_0x393220){var _0x4b3eee=_0x3b5ff6[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x477d('0x28cc'))[_0x477d('0xd92')](_0x477d('0x28cd')+_0x1e4bbd['name']+_0x477d('0xd94')+_0x477d('0xd95'))['ariaLabel'](_0x477d('0x28ce'))['targetEvent'](_0x393220)['ok']('OK')[_0x477d('0x4f0')]('CANCEL');_0x3b5ff6['show'](_0x4b3eee)[_0x477d('0x76')](function(){return _0x485d26[_0x477d('0xb5f')][_0x477d('0xa55')]({'id':_0x1e4bbd['id']})[_0x477d('0x38b')];})[_0x477d('0x76')](function(){delete _0x48812c[_0x477d('0x28bc')][_0x1e4bbd['id']];_0x5c501b[_0x477d('0x485')]({'title':_0x477d('0x28cf'),'msg':_0x1e4bbd[_0x477d('0x94')]+'\x20has\x20been\x20deleted!'});})['catch'](function(_0x54ed74){if(_0x54ed74){_0x5c501b[_0x477d('0x44a')]({'title':_0x54ed74['status']?_0x477d('0x44b')+_0x54ed74[_0x477d('0x3c3')]+'\x20-\x20'+_0x54ed74[_0x477d('0x44d')]:'api.chatGroup.delete','msg':_0x54ed74[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x54ed74[_0x477d('0x451')][_0x477d('0x452')]):_0x54ed74['toString']()});}});}function _0x3fc21e(_0x5a7c55,_0x5961b1){_0x3b5ff6[_0x477d('0x395')]({'controller':_0x477d('0x28b4'),'controllerAs':'vm','templateUrl':_0x477d('0x28d0'),'parent':angular[_0x477d('0x398')](_0x9ba320[_0x477d('0x399')]),'targetEvent':_0x5961b1,'clickOutsideToClose':!![],'locals':{'group':_0x5a7c55,'me':_0x48812c[_0x477d('0x3e5')],'license':null,'setting':null},'resolve':{'members':function(){return _0x1868ff[_0x477d('0x56')]('admin')?_0x485d26[_0x477d('0x380')]['get']({'role':_0x477d('0xcf')})[_0x477d('0x38b')]:_0x485d26[_0x477d('0x3a5')][_0x477d('0xd9a')]({'id':_0x1868ff['getCurrentUser']()[_0x477d('0x61')],'section':_0x477d('0xce'),'role':_0x477d('0xcf')})[_0x477d('0x38b')];}}})[_0x477d('0x76')](function(_0x17a47d){if(_0x17a47d){_0x48812c[_0x477d('0x28bc')][_0x17a47d['id']]=_0x17a47d;}})[_0x477d('0xf8')](function(_0x29a609){if(_0x29a609){console[_0x477d('0x44a')](_0x29a609[_0x477d('0x452')]);}});}_0x105974[_0x477d('0x4ec')](_0x477d('0x505'),function(){_0x18bd51[_0x477d('0x6b8')](_0x477d('0x289f'));_0x18bd51[_0x477d('0x6b8')](_0x477d('0x28a6'));_0x18bd51[_0x477d('0x6b8')]('chatGroup:remove');});}}());(function(){'use strict';_0x58eb7f[_0x477d('0xa')]=[_0x477d('0x474'),'$state',_0x477d('0xd64'),'$mdDialog','toasty',_0x477d('0x386'),_0x477d('0x55'),_0x477d('0x451')];angular[_0x477d('0xb')](_0x477d('0x2a'))[_0x477d('0x3ba')](_0x477d('0x28c5'),_0x58eb7f);function _0x58eb7f(_0x2f3c22,_0x1f09eb,_0x5c7c33,_0x52d6c1,_0x32189a,_0x4e3967,_0x334034,_0x227942){var _0x3ada2c=this;_0x3ada2c[_0x477d('0x451')]=_0x227942;_0x3ada2c[_0x477d('0x49a')]='QUICKPANEL.INFO';_0x3ada2c[_0x477d('0x6bf')]=_0x2501b2;function _0x2501b2(){_0x52d6c1[_0x477d('0x3bc')]();}}}());(function(){'use strict';_0x55565a[_0x477d('0xa')]=['Auth',_0x477d('0x40e'),_0x477d('0x40d'),_0x477d('0x3c4'),'api',_0x477d('0x72')];angular['module'](_0x477d('0x3f'))['controller'](_0x477d('0x28d1'),_0x55565a);function _0x55565a(_0x43eeb3,_0x346a43,_0x4599db,_0x21d37d,_0x4cd635,_0x349c1b){var _0x439fef=this;_0x439fef[_0x477d('0x4dd')]={'token':_0x349c1b[_0x477d('0x391')]};_0x439fef[_0x477d('0xc8e')]={};_0x439fef['resetPassword']=_0x2122f2;_0x439fef['onInit']=_0x503cfa;function _0x503cfa(){if(_0x43eeb3[_0x477d('0xa12')]()){_0x21d37d['go'](_0x477d('0x103'));}return _0x4cd635[_0x477d('0xc8e')][_0x477d('0x28d2')]({'id':0x1})[_0x477d('0x38b')]['then'](function(_0x44d672){_0x439fef[_0x477d('0xc8e')]=_0x44d672;_0x439fef[_0x477d('0xd69')]=_0x439fef[_0x477d('0xc8e')][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';})['catch'](function(_0x185f64){if(_0x185f64){_0x346a43[_0x477d('0x44a')]({'title':_0x477d('0xd12'),'msg':_0x185f64[_0x477d('0x451')]?_0x185f64[_0x477d('0x451')][_0x477d('0x452')]||_0x185f64[_0x477d('0x452')]||_0x185f64:_0x185f64['message']||_0x185f64});}});}function _0x2122f2(){return _0x4cd635['auth']['reset'](_0x439fef[_0x477d('0x4dd')])['$promise'][_0x477d('0x76')](function(){_0x346a43[_0x477d('0x485')]({'title':_0x4599db[_0x477d('0x45f')]('RESETPASSWORD.PASSWORD_RESET'),'msg':_0x4599db[_0x477d('0x45f')](_0x477d('0x28d3'))});_0x21d37d['go'](_0x477d('0x40'));})['catch'](function(_0x354dac){if(_0x354dac){_0x346a43['error']({'title':_0x4599db[_0x477d('0x45f')](_0x477d('0x28d4')),'msg':_0x354dac[_0x477d('0x451')]?_0x354dac[_0x477d('0x451')][_0x477d('0x452')]||_0x354dac[_0x477d('0x452')]||_0x354dac:_0x354dac[_0x477d('0x452')]||_0x354dac});}});}}}());(function(){'use strict';_0x54678c[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x384'),'$mdToast','api','user',_0x477d('0xc8e'),'reset'];angular[_0x477d('0xb')](_0x477d('0x29'))[_0x477d('0x3ba')]('ChangePasswordController',_0x54678c);function _0x54678c(_0x28277e,_0x4be753,_0x115c3b,_0x20468d,_0x203ffd,_0x2eeab2,_0x54df26){var _0x183448=this;_0x183448['errors']=[];_0x183448[_0x477d('0x380')]=_0x203ffd;_0x183448[_0x477d('0xc8e')]=_0x2eeab2;_0x183448[_0x477d('0x18b0')]=_0x54df26;_0x183448[_0x477d('0xd69')]=_0x183448[_0x477d('0xc8e')][_0x477d('0xda4')]?/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/:'';_0x183448[_0x477d('0x2153')]=_0x1025c5;_0x183448['closeDialog']=_0x5ab9eb;_0x28277e[_0x477d('0x4b5')](_0x477d('0x2114'),function(_0x4430f3,_0x1bf541){if(!_[_0x477d('0x484')](_0x183448['oldPassword'])){if(_0x4430f3===_0x183448[_0x477d('0x2113')]){_0x28277e['changePasswordForm'][_0x477d('0x5d3')]['$setValidity']('oldPasswordMatch',![]);}else{_0x28277e[_0x477d('0x28d5')]['password'][_0x477d('0x2116')](_0x477d('0x2117'),!![]);}}});function _0x1025c5(){_0x183448[_0x477d('0xd67')]=[];_0x20468d[_0x477d('0x380')][_0x477d('0x2118')]({'id':_0x183448[_0x477d('0x380')]['id']},{'oldPassword':_0x183448[_0x477d('0x2113')],'newPassword':_0x183448['password']})['$promise']['then'](function(){_0x115c3b[_0x477d('0x395')](_0x115c3b['simple']()[_0x477d('0x68e')]('Your\x20password\x20properly\x20updated')[_0x477d('0x68f')]('top\x20right')[_0x477d('0x6d5')](0x1388));_0x5ab9eb();})['catch'](function(_0xe9df9e){console[_0x477d('0x44a')](_0xe9df9e);_0x183448[_0x477d('0xd67')]=_0xe9df9e[_0x477d('0x451')][_0x477d('0xd67')]&&_0xe9df9e[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]?_0xe9df9e[_0x477d('0x451')]['errors']:[{'message':_0xe9df9e[_0x477d('0x451')][_0x477d('0x452')]||'Authorization\x20error','type':_0x477d('0x28d6')}];});}function _0x5ab9eb(){_0x4be753['hide']();}}}());(function(){'use strict';_0x45326c[_0x477d('0xa')]=['$scope',_0x477d('0x3c4'),_0x477d('0xd64'),_0x477d('0x384'),_0x477d('0x40e'),'api',_0x477d('0xe9b'),_0x477d('0x132d')];angular['module'](_0x477d('0x29'))[_0x477d('0x3ba')](_0x477d('0x28d7'),_0x45326c);function _0x45326c(_0x450729,_0x490266,_0x5bd5ba,_0x583472,_0x36c3bf,_0x1b3d6f,_0x4cde7f,_0x286143){var _0x3d3aca=this;_0x3d3aca[_0x477d('0x28d8')]=_0x286143&&_0x286143['rows']?_[_0x477d('0x14bb')](_[_0x477d('0xdb5')](_0x286143['rows'],function(_0x56c1eb){return'cf_'+_0x56c1eb['id'];}),_0x477d('0x94')):{};_0x3d3aca[_0x477d('0xd67')]=[];_0x3d3aca[_0x477d('0x28d9')]=[];_0x3d3aca[_0x477d('0xe9b')]=_0x4cde7f;_0x3d3aca[_0x477d('0x1407')]=![];_0x3d3aca[_0x477d('0x533')]=![];_0x3d3aca['disableGetContact']=![];_0x3d3aca[_0x477d('0x28d9')][_0x477d('0x3a7')](_0x3d3aca[_0x477d('0xe9b')]['id']);_0x3d3aca[_0x477d('0x28da')]=_0x1d87f9;_0x3d3aca[_0x477d('0x6bf')]=_0x47557f;_0x3d3aca[_0x477d('0x28db')]=_0x145f91;_0x3d3aca['previousContact']=_0x10bf7f;_0x3d3aca['getFirstAvailableContact']=_0x217c70;_0x3d3aca['isCustomField']=_0xf6127f;_0x3d3aca[_0x477d('0x28dc')]=_0x1b7bb7;_0x3d3aca[_0x477d('0x484')]=_0x9e859a;function _0x9e859a(_0x303950){return _[_0x477d('0x484')](_0x303950);}function _0xf6127f(_0x13db8f){return _[_0x477d('0x1337')](_0x13db8f,'cf_');}function _0x1b7bb7(_0x58adb1){return _['includes'](['Company',_0x477d('0x132b'),_0x477d('0x1229'),_0x477d('0x125b'),_0x477d('0xe37'),_0x477d('0x1f57'),'id',_0x477d('0x1243'),_0x477d('0x14d1'),'tags',_0x477d('0xe38'),_0x477d('0x28dd'),'twitter',_0x477d('0x28de'),'wechat',_0x477d('0x212f'),_0x477d('0x28df'),_0x477d('0x28e0'),_0x477d('0x28e1')],_0x58adb1);}function _0x1d87f9(){_0x3d3aca[_0x477d('0x1407')]=!![];_0x3d3aca['disable']=!![];if(_[_0x477d('0x3b2')](_0x3d3aca[_0x477d('0xe9b')])){_0x36c3bf[_0x477d('0x44a')]({'title':_0x477d('0x15ca'),'msg':_0x477d('0x28e2')});_0x3d3aca[_0x477d('0x533')]=![];_0x3d3aca[_0x477d('0x28d9')]=[];_0x47557f(!![]);}else{_0x1b3d6f['rpc'][_0x477d('0x28e3')]({'id':_0x3d3aca[_0x477d('0xe9b')]['id']})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x23b069){_0x47557f(!![]);})['catch'](function(_0x5e2809){_0x36c3bf['error']({'title':'Message','msg':_0x5e2809[_0x477d('0x451')]});_0x47557f(!![]);})[_0x477d('0x5ff')](function(){_0x3d3aca[_0x477d('0x533')]=![];_0x3d3aca[_0x477d('0x28d9')]=[];});}}function _0x47557f(_0x2c0bb4){if(_[_0x477d('0x484')](_0x2c0bb4)){_0x1b3d6f['cmHopper'][_0x477d('0x710')]({'id':_0x3d3aca['preview']['id'],'UserId':null});}_0x583472['hide']();}_0x450729[_0x477d('0x4ec')](_0x477d('0x505'),function(){if(!_0x3d3aca['originated']){_0x1b3d6f[_0x477d('0xb79')][_0x477d('0x710')]({'id':_0x3d3aca[_0x477d('0xe9b')]['id'],'UserId':null});}});function _0x145f91(){_0x3d3aca[_0x477d('0x28e4')]=!![];return _0x1b3d6f[_0x477d('0xb79')]['getPreview']({'hopperIds':_0x3d3aca['hopperIds'],'direction':'next'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x124672){_0x3d3aca['disableGetContact']=![];if(!_[_0x477d('0x484')](_0x124672)&&!_[_0x477d('0x484')](_0x124672['Queue'])&&_0x124672[_0x477d('0x1258')][_0x477d('0x16a8')]){if(!_0x3d3aca[_0x477d('0x1407')]){_0x1b3d6f[_0x477d('0xb79')][_0x477d('0x710')]({'id':_0x3d3aca['preview']['id'],'UserId':null});}_0x3d3aca[_0x477d('0xe9b')]=_0x124672;_0x3d3aca[_0x477d('0x28d9')][_0x477d('0x3a7')](_0x3d3aca[_0x477d('0xe9b')]['id']);}else{_0x3d3aca[_0x477d('0x28d9')]=[];_0x583472['hide']();_0x36c3bf[_0x477d('0x669')]({'title':_0x477d('0x28e5'),'msg':_0x477d('0x28e6')});}})[_0x477d('0xf8')](function(_0x2c8cc9){_0x3d3aca[_0x477d('0x28e4')]=![];_0x3d3aca[_0x477d('0x28d9')]=[];if(_0x2c8cc9['status']===0x194){_0x3d3aca['getFirstAvailableContact']();}else if(_0x2c8cc9[_0x477d('0x451')]&&_0x2c8cc9[_0x477d('0x451')][_0x477d('0xd67')]&&_0x2c8cc9[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x583472[_0x477d('0x3bc')]();for(var _0x16b304=0x0;_0x16b304<_0x2c8cc9[_0x477d('0x451')][_0x477d('0xd67')]['length'];_0x16b304+=0x1){_0x36c3bf['error']({'title':_0x2c8cc9[_0x477d('0x451')][_0x477d('0xd67')][_0x16b304][_0x477d('0x439')],'msg':_0x2c8cc9[_0x477d('0x451')][_0x477d('0xd67')][_0x16b304]['message']});}}else{_0x583472[_0x477d('0x3bc')]();_0x36c3bf[_0x477d('0x44a')]({'title':_0x2c8cc9[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x2c8cc9[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x2c8cc9['statusText']:_0x477d('0x28e7'),'msg':_0x2c8cc9[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x2c8cc9[_0x477d('0x451')][_0x477d('0x452')]):_0x2c8cc9[_0x477d('0x453')]()});}});}function _0x10bf7f(){_0x3d3aca[_0x477d('0x28e4')]=!![];if(_0x3d3aca[_0x477d('0x28d9')][_0x477d('0x79')]>0x1){var _0x465572=_['without'](_0x3d3aca['hopperIds'],_0x3d3aca['preview']['id']);return _0x1b3d6f[_0x477d('0xb79')][_0x477d('0x28e8')]({'hopperIds':_0x465572,'direction':'prev'})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x4011de){_0x3d3aca[_0x477d('0x28e4')]=![];if(!_[_0x477d('0x484')](_0x4011de)&&!_[_0x477d('0x484')](_0x4011de['Queue'])&&_0x4011de[_0x477d('0x1258')][_0x477d('0x16a8')]){_[_0x477d('0x39c')](_0x3d3aca[_0x477d('0x28d9')],function(_0x53e3b5){return _0x53e3b5==_0x3d3aca[_0x477d('0xe9b')]['id'];});if(!_0x3d3aca[_0x477d('0x1407')]){_0x1b3d6f[_0x477d('0xb79')][_0x477d('0x710')]({'id':_0x3d3aca[_0x477d('0xe9b')]['id'],'UserId':null});}_0x3d3aca[_0x477d('0xe9b')]=_0x4011de;}else{_0x3d3aca[_0x477d('0x28d9')]=[];_0x583472[_0x477d('0x3bc')]();_0x36c3bf['info']({'title':_0x477d('0x28e5'),'msg':_0x477d('0x28e6')});}})[_0x477d('0xf8')](function(_0x118fb3){if(_0x118fb3['status']===0x194){_0x3d3aca[_0x477d('0x28d9')]=[_0x3d3aca['preview']['id']];_0x36c3bf[_0x477d('0x669')]({'title':_0x477d('0x28e5'),'msg':_0x477d('0x28e9')});}else if(_0x118fb3[_0x477d('0x451')]&&_0x118fb3['data'][_0x477d('0xd67')]&&_0x118fb3[_0x477d('0x451')]['errors']['length']){_0x3d3aca[_0x477d('0x28d9')]=[];_0x583472['hide']();for(var _0x3bff4d=0x0;_0x3bff4d<_0x118fb3[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')];_0x3bff4d+=0x1){_0x36c3bf[_0x477d('0x44a')]({'title':_0x118fb3['data'][_0x477d('0xd67')][_0x3bff4d][_0x477d('0x439')],'msg':_0x118fb3['data'][_0x477d('0xd67')][_0x3bff4d][_0x477d('0x452')]});}}else{_0x3d3aca['hopperIds']=[];_0x583472[_0x477d('0x3bc')]();_0x36c3bf[_0x477d('0x44a')]({'title':_0x118fb3[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x118fb3['status']+_0x477d('0x44c')+_0x118fb3['statusText']:_0x477d('0x28e7'),'msg':_0x118fb3[_0x477d('0x451')]?JSON['stringify'](_0x118fb3['data']['message']):_0x118fb3[_0x477d('0x453')]()});}});}}function _0x217c70(){_0x3d3aca[_0x477d('0x28e4')]=!![];_0x36c3bf[_0x477d('0x669')]({'title':_0x477d('0x28e5'),'msg':_0x477d('0x28ea')});return _0x1b3d6f[_0x477d('0xb79')][_0x477d('0x28e8')]({'hopperIds':[_0x3d3aca['preview']['id']],'direction':_0x477d('0x28eb')})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x2580bc){if(!_[_0x477d('0x484')](_0x2580bc)&&!_[_0x477d('0x484')](_0x2580bc[_0x477d('0x1258')])&&_0x2580bc[_0x477d('0x1258')][_0x477d('0x16a8')]){if(!_0x3d3aca[_0x477d('0x1407')]){_0x1b3d6f[_0x477d('0xb79')][_0x477d('0x710')]({'id':_0x3d3aca[_0x477d('0xe9b')]['id'],'UserId':null});}_0x3d3aca[_0x477d('0xe9b')]=_0x2580bc;_0x3d3aca[_0x477d('0x28d9')]['push'](_0x3d3aca[_0x477d('0xe9b')]['id']);}else{_0x583472[_0x477d('0x3bc')]();_0x36c3bf[_0x477d('0x669')]({'title':_0x477d('0x28e5'),'msg':'CAMPAIGN\x20NOT\x20ACTIVE'});}})[_0x477d('0xf8')](function(_0x2cde36){_0x583472[_0x477d('0x3bc')]();if(_0x2cde36['status']===0x194){_0x36c3bf[_0x477d('0x669')]({'title':_0x477d('0x28e5'),'msg':'CONTACTS\x20NOT\x20AVAILABLE'});}else if(_0x2cde36[_0x477d('0x451')]&&_0x2cde36[_0x477d('0x451')]['errors']&&_0x2cde36['data'][_0x477d('0xd67')][_0x477d('0x79')]){for(var _0x4a6cf3=0x0;_0x4a6cf3<_0x2cde36[_0x477d('0x451')]['errors'][_0x477d('0x79')];_0x4a6cf3+=0x1){_0x36c3bf[_0x477d('0x44a')]({'title':_0x2cde36['data'][_0x477d('0xd67')][_0x4a6cf3][_0x477d('0x439')],'msg':_0x2cde36[_0x477d('0x451')][_0x477d('0xd67')][_0x4a6cf3][_0x477d('0x452')]});}}else{_0x36c3bf['error']({'title':_0x2cde36[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x2cde36['status']+_0x477d('0x44c')+_0x2cde36[_0x477d('0x44d')]:'api\x20preview','msg':_0x2cde36[_0x477d('0x451')]?JSON[_0x477d('0x3fb')](_0x2cde36[_0x477d('0x451')][_0x477d('0x452')]):_0x2cde36['toString']()});}})[_0x477d('0x5ff')](function(){_0x3d3aca['disableGetContact']=![];});}}}());(function(){'use strict';_0x216cce[_0x477d('0xa')]=[_0x477d('0x474'),_0x477d('0x3bd'),'$q',_0x477d('0x3c4'),'$timeout',_0x477d('0xd64'),'$mdSidenav',_0x477d('0x40d'),_0x477d('0x6d3'),'$window',_0x477d('0x384'),_0x477d('0x475'),_0x477d('0x385'),'toasty',_0x477d('0x555'),_0x477d('0x55'),_0x477d('0x5a3'),_0x477d('0x386'),'license','setting',_0x477d('0x794')];angular[_0x477d('0xb')](_0x477d('0x29'))[_0x477d('0x3ba')]('ToolbarController',_0x216cce);function _0x216cce(_0x12444f,_0x27844d,_0x2d215a,_0x5e8428,_0x2c30da,_0x138c6e,_0x5ea2cc,_0x49eac3,_0x2615a4,_0x57441c,_0x36afce,_0x2f5145,_0x57eb26,_0x517687,_0x4eb226,_0x13c38d,_0x5927e9,_0x185df6,_0x1374c5,_0x2acc38,_0x3a2594){var _0x3708c5=this;_0x3708c5[_0x477d('0x8f9')]={};_0x3708c5[_0x477d('0xd5a')]=!![];var _0x2531e2;_0x27844d[_0x477d('0x28ec')]={'search':''};_0x3708c5['pauses']=[];_0x3708c5[_0x477d('0x613')]=_0x1374c5;_0x3708c5[_0x477d('0x3e5')]=_0x13c38d[_0x477d('0x5c')]();_0x3708c5[_0x477d('0x289c')]=0x0;_0x3708c5[_0x477d('0x28a3')]=0x0;_0x3708c5[_0x477d('0x28ed')]=0x0;if(_0x3708c5[_0x477d('0x3e5')][_0x477d('0x3a1')]==='agent'){_0x2531e2=_0x3a2594(_0x3ae578,0x3a97);}_0x3708c5['setting']=_0x2acc38;_0x3708c5[_0x477d('0x289a')]=angular[_0x477d('0x398')](_0x477d('0x399'));_0x3708c5[_0x477d('0x5c0')]={'realm':_0x477d('0x28ee'),'host':_0x138c6e[_0x477d('0x3c9')](),'protocol':_0x138c6e['protocol'](),'remotePlayerId':_0x477d('0x67a'),'ua':_0x477d('0x28ef'),'license':_0x3708c5[_0x477d('0x613')][_0x477d('0x478')],'phoneBarExpires':_0x3708c5[_0x477d('0x3e5')][_0x477d('0x5c4')],'phoneBarPrefixRequired':_0x3708c5[_0x477d('0x3e5')][_0x477d('0x47b')]};_0x3708c5[_0x477d('0x3ef')]={'id':_0x13c38d[_0x477d('0x5c')]()['id'],'fields':_0x477d('0x16ad'),'channel':_0x477d('0x108'),'nolimit':!![]};_0x3708c5[_0x477d('0x28f0')]=[{'title':_0x477d('0x28f1'),'icon':_0x477d('0x28f2'),'color':_0x477d('0x28f3')},{'title':_0x477d('0x28f4'),'icon':'icon-clock','color':_0x477d('0x28f5')},{'title':_0x477d('0x28f6'),'icon':'icon-minus-circle','color':_0x477d('0x28f7')},{'title':_0x477d('0x28f8'),'icon':_0x477d('0x28f9'),'color':_0x477d('0x28fa')},{'title':'Offline','icon':_0x477d('0x28f9'),'color':'#616161'}];_0x3708c5[_0x477d('0x28fb')]={'ar':{'title':'Arabic','translation':_0x477d('0x28fc'),'code':'ar','flag':'ar'},'da':{'title':_0x477d('0xf9d'),'translation':'TOOLBAR.DANISH','code':'da','flag':'da'},'de':{'title':_0x477d('0xf9f'),'translation':'TOOLBAR.GERMAN','code':'de','flag':'de'},'en':{'title':_0x477d('0xf9e'),'translation':_0x477d('0x28fd'),'code':'en','flag':'us'},'es':{'title':'Spanish','translation':_0x477d('0x28fe'),'code':'es','flag':'es'},'fa':{'title':_0x477d('0x1010'),'translation':_0x477d('0x28ff'),'code':'fa','flag':'fa'},'fi':{'title':_0x477d('0x2900'),'translation':'TOOLBAR.FINNISH','code':'fi','flag':'fi'},'fr':{'title':_0x477d('0xfa2'),'translation':_0x477d('0x2901'),'code':'fr','flag':'fr'},'he':{'title':_0x477d('0x2902'),'translation':'TOOLBAR.HEBREW','code':'he','flag':'he'},'hi':{'title':_0x477d('0xff1'),'translation':'TOOLBAR.HINDI','code':'hi','flag':'hi'},'id':{'title':_0x477d('0xfa3'),'translation':_0x477d('0x2903'),'code':'id','flag':'id'},'it':{'title':_0x477d('0xfa0'),'translation':'TOOLBAR.ITALIAN','code':'it','flag':'it'},'ja':{'title':'Japanese','translation':_0x477d('0x2904'),'code':'ja','flag':'ja'},'ko':{'title':'Korean','translation':'TOOLBAR.KOREAN','code':'ko','flag':'ko'},'lv':{'title':_0x477d('0x1000'),'translation':'TOOLBAR.LATVIAN','code':'lv','flag':'lv'},'nl':{'title':'Dutch','translation':'TOOLBAR.DUTCH','code':'nl','flag':'nl'},'no':{'title':'Norwegian','translation':_0x477d('0x2905'),'code':'no','flag':'no'},'pl':{'title':_0x477d('0x1013'),'translation':_0x477d('0x2906'),'code':'pl','flag':'pl'},'pt-BR':{'title':'Brazilian','translation':'TOOLBAR.BRAZILIAN','code':_0x477d('0xfd1'),'flag':_0x477d('0xfd1')},'pt-PT':{'title':_0x477d('0x2907'),'translation':_0x477d('0x2908'),'code':_0x477d('0xfd2'),'flag':'pt-PT'},'ru':{'title':_0x477d('0xfaa'),'translation':'TOOLBAR.RUSSIAN','code':'ru','flag':'ru'},'sv':{'title':_0x477d('0x1024'),'translation':'TOOLBAR.SWEDISH','code':'sv','flag':'sv'},'tr':{'title':_0x477d('0x102a'),'translation':_0x477d('0x2909'),'code':'tr','flag':'tr'},'zh-CN':{'title':_0x477d('0x290a'),'translation':_0x477d('0x290b'),'code':_0x477d('0xfac'),'flag':'zh-CN'},'zh-TW':{'title':_0x477d('0x290c'),'translation':_0x477d('0x290d'),'code':_0x477d('0xfe7'),'flag':'zh-TW'}};var _0x599c2b=['ar','fa','he'];_0x3708c5[_0x477d('0x290e')]=_0x199a66;_0x3708c5[_0x477d('0x38c')]=_0x5d96f8;_0x3708c5[_0x477d('0x290f')]=_0xf348b2;_0x3708c5[_0x477d('0x2910')]=_0x530fcd;_0x3708c5['toggleHorizontalMobileMenu']=_0x2f5d0b;_0x3708c5[_0x477d('0x2911')]=_0x35fc14;_0x3708c5[_0x477d('0x3fd')]=_0x59459e;_0x3708c5[_0x477d('0x2912')]=_0x1f3b21;_0x3708c5[_0x477d('0x2913')]=_0x5cea0c;_0x3708c5['changePassword']=_0x1d60a0;_0x3708c5[_0x477d('0x117')]=_0x3802ac;_0x3708c5[_0x477d('0x28ac')]=_0x44a2e6;_0x3708c5[_0x477d('0x2914')]=_0xf80257;_0x3708c5[_0x477d('0x657')]=_0x27c135;_0x3708c5[_0x477d('0x15a7')]=_0x40e94b;_0x3708c5[_0x477d('0xe9b')]=_0x11d164;_0x3708c5[_0x477d('0x2915')]=_0x46d46f;_0x3708c5[_0x477d('0x289d')]=_0x81d4be;_0x3708c5['onInternalMessageSave']=_0x1017b2;_0x3708c5['onInternalMessageUpdate']=_0x5c7c54;_0x3708c5['onUserVoiceQueue']=_0x168246;_0x3708c5[_0x477d('0x2916')]=_0x26cf65;_0x204346();_0x6c4b61();_0x474ca7();function _0x204346(){_0x3708c5[_0x477d('0x380')]=_0x13c38d['getCurrentUser']();_0x3708c5[_0x477d('0x5c0')][_0x477d('0x5c1')]=_0x3708c5[_0x477d('0x380')][_0x477d('0x2917')];_0x3708c5[_0x477d('0x5c0')]['id']=_0x3708c5[_0x477d('0x380')]['id'];_0x3708c5[_0x477d('0x5c0')]['name']=_0x3708c5[_0x477d('0x380')]['name'];_0x3708c5[_0x477d('0x5c0')][_0x477d('0xcd')]=_0x3708c5[_0x477d('0x380')][_0x477d('0xcd')];_0x3708c5[_0x477d('0x5c0')][_0x477d('0x324')]=_0x3708c5[_0x477d('0x380')][_0x477d('0x324')];_0x3708c5[_0x477d('0x5c0')][_0x477d('0x24aa')]=_0x3708c5['user'][_0x477d('0x2918')];_0x3708c5[_0x477d('0x5c0')][_0x477d('0x62b')]=_0x3708c5[_0x477d('0x380')][_0x477d('0x2919')];_0x3708c5[_0x477d('0x5c0')][_0x477d('0x291a')]=_0x3708c5[_0x477d('0x380')][_0x477d('0x291b')];_0x3708c5['conf'][_0x477d('0x663')]=_0x3708c5[_0x477d('0x380')][_0x477d('0x291c')];_0x3708c5[_0x477d('0x5c0')][_0x477d('0x62c')]=_0x3708c5[_0x477d('0x380')][_0x477d('0x291d')];_0x3708c5[_0x477d('0x291e')]=_0x3708c5['userStatusOptions'][0x0];var _0x47fff7=_0x57eb26[_0x477d('0x376')](_0x477d('0xd0e'));if(_0x47fff7&&_0x3708c5[_0x477d('0x28fb')][_0x477d('0x3ea')](_0x47fff7)){_0x3708c5[_0x477d('0x291f')]=_0x3708c5[_0x477d('0x28fb')][_0x47fff7];}else{_0x3708c5[_0x477d('0x291f')]=_0x3708c5['languages'][_0x49eac3[_0x477d('0xd0b')]()];}_0x185df6[_0x477d('0x657')][_0x477d('0x376')]({'fields':_0x477d('0x94'),'nolimit':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x4acfe8){_0x3708c5[_0x477d('0xf39')]=_0x4acfe8['rows']?_0x4acfe8[_0x477d('0xf2')]:[];})[_0x477d('0xf8')](function(_0x557562){_0x517687[_0x477d('0x44a')]({'title':_0x557562[_0x477d('0x3c3')]?'API:'+_0x557562[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x557562[_0x477d('0x44d')]:_0x477d('0x2920'),'msg':_0x557562[_0x477d('0x3c3')]?JSON['stringify'](_0x557562['data']):_0x557562[_0x477d('0x453')]()});});if(_0x13c38d[_0x477d('0x2921')]()==_0x477d('0x393')){if(_0x3708c5[_0x477d('0xc8e')][_0x477d('0xda4')]){if(!_0x3708c5[_0x477d('0x380')][_0x477d('0x2922')]){_0x1d60a0(null,!![]);}else{var _0x483116=moment(_0x3708c5[_0x477d('0x380')]['passwordResetAt'])[_0x477d('0x440')](_0x3708c5['setting'][_0x477d('0x2923')]||0x5a,_0x477d('0x137'));if(moment()['isAfter'](_0x483116)){_0x1d60a0(null,!![]);}else if(moment()['add'](0xf,_0x477d('0x137'))[_0x477d('0x2924')](_0x483116)){_0x517687[_0x477d('0x5fd')]({'title':_0x49eac3[_0x477d('0x45f')]('TOOLBAR.WARNING')+'!','msg':_0x49eac3[_0x477d('0x45f')]('TOOLBAR.PASSWORD_EXPIRE_REMAINING_DAYS')+':\x20'+Math['ceil'](_0x483116[_0x477d('0x7a9')](moment(),_0x477d('0x6fa'),!![])),'timeout':0x4e20});}}}}}function _0x474ca7(){_0x5927e9[_0x477d('0x678')]();_0x5927e9['on'](_0x477d('0x1402'),_0x3708c5[_0x477d('0x28ac')]);_0x5927e9['on'](_0x477d('0x2925'),_0x3708c5[_0x477d('0x2914')]);_0x5927e9['on'](_0x477d('0x289f'),_0x3708c5[_0x477d('0x2926')]);_0x5927e9['on'](_0x477d('0x28a6'),_0x3708c5[_0x477d('0x2927')]);_0x5927e9['on'](_0x477d('0x1415'),_0x3708c5[_0x477d('0x16b0')]);_0x5927e9['on'](_0x477d('0x16b3'),_0x3708c5[_0x477d('0x2916')]);_0x5927e9['on'](_0x477d('0x1414'),_0x3708c5[_0x477d('0x16b0')]);_0x5927e9['on'](_0x477d('0x16b5'),_0x3708c5[_0x477d('0x2916')]);_0x5927e9['on'](_0x477d('0x16b6'),_0x3708c5[_0x477d('0x2916')]);_0x5927e9['on']('user:forcelogout',_0x1b075b);_0x5927e9['on']('notification:send',_0x170711);}function _0x4fdc5e(){_0x5927e9['removeAllListeners'](_0x477d('0x2925'));_0x5927e9[_0x477d('0x6b8')]('user:update');_0x5927e9[_0x477d('0x6b8')](_0x477d('0x289f'));_0x5927e9[_0x477d('0x6b8')](_0x477d('0x28a6'));_0x5927e9[_0x477d('0x6b8')](_0x477d('0x1415'));_0x5927e9['removeAllListeners'](_0x477d('0x16b3'));_0x5927e9[_0x477d('0x6b8')]('userVoiceQueue:remove');_0x5927e9[_0x477d('0x6b8')](_0x477d('0x16b5'));_0x5927e9[_0x477d('0x6b8')](_0x477d('0x16b6'));_0x5927e9[_0x477d('0x6b8')]('user:forcelogout');_0x5927e9['removeAllListeners'](_0x477d('0x2928'));_0x5927e9[_0x477d('0x1427')]();}function _0x4d15d4(_0x4f5a70){_0x3708c5[_0x477d('0x8f9')]=_0x4f5a70?_[_0x477d('0xdb5')](_0x4f5a70['rows']?_0x4f5a70[_0x477d('0xf2')]:[],'id'):{};}function _0x6c4b61(){_0x3708c5[_0x477d('0x553')]=_0x185df6[_0x477d('0x380')][_0x477d('0x1418')](_0x3708c5[_0x477d('0x3ef')],_0x4d15d4)[_0x477d('0x38b')];}function _0x26cf65(_0xd2640f){_0x6c4b61();}function _0x168246(_0x316760){if(_[_0x477d('0x16ba')](_0x316760[_0x477d('0x125b')])===_0x13c38d[_0x477d('0x5c')]()['id']){_0x6c4b61();}}function _0x27c135(_0x3e7599){return _0x185df6['user']['pause']({'id':_0x3708c5[_0x477d('0x380')]['id'],'type':_0x3e7599||_0x477d('0x1897')})[_0x477d('0x38b')][_0x477d('0xf8')](function(_0x10b17a){_0x517687['error']({'title':_0x10b17a[_0x477d('0x3c3')]?_0x477d('0x44b')+_0x10b17a[_0x477d('0x3c3')]+'\x20-\x20'+_0x10b17a[_0x477d('0x44d')]:_0x477d('0x2929'),'msg':_0x10b17a[_0x477d('0x3c3')]?JSON[_0x477d('0x3fb')](_0x10b17a['data']):_0x10b17a[_0x477d('0x453')]()});});}function _0x40e94b(){return _0x185df6[_0x477d('0x380')][_0x477d('0x15a7')]({'id':_0x3708c5[_0x477d('0x380')]['id']})[_0x477d('0x38b')]['catch'](function(_0x2f8bac){_0x517687[_0x477d('0x44a')]({'title':_0x2f8bac['status']?_0x477d('0x44b')+_0x2f8bac[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x2f8bac[_0x477d('0x44d')]:'SYSTEM:UNPAUSEUSER','msg':_0x2f8bac['status']?JSON[_0x477d('0x3fb')](_0x2f8bac[_0x477d('0x451')]):_0x2f8bac[_0x477d('0x453')]()});});}function _0x11d164(_0x3459f5){_0x3708c5[_0x477d('0x533')]=!![];return _0x185df6[_0x477d('0xb79')]['getPreview']()[_0x477d('0x38b')][_0x477d('0x76')](function(_0x3eba89){if(!_[_0x477d('0x484')](_0x3eba89)&&!_['isNil'](_0x3eba89['Queue'])&&_0x3eba89[_0x477d('0x1258')][_0x477d('0x16a8')]){_0x36afce[_0x477d('0x395')]({'controller':'PreviewDialogController','controllerAs':'vm','templateUrl':'app/toolbar/preview/dialog.html','parent':angular['element'](_0x2f5145[_0x477d('0x399')]),'targetEvent':_0x3459f5,'clickOutsideToClose':!![],'locals':{'preview':_0x3eba89},'resolve':{'customFields':[_0x477d('0x5e'),function(_0x51a6d1){return _0x51a6d1['resolve']('cmCustomField@get',{'nolimit':!![]});}]}});}else{_0x517687['info']({'title':'PREVIEW','msg':'CAMPAIGN\x20NOT\x20ACTIVE'});}})[_0x477d('0xf8')](function(_0x135640){if(_0x135640['status']===0x194){_0x517687['info']({'title':'PREVIEW','msg':_0x477d('0x292a')});}else if(_0x135640['data']&&_0x135640['data'][_0x477d('0xd67')]&&_0x135640[_0x477d('0x451')][_0x477d('0xd67')][_0x477d('0x79')]){_0x3708c5['errors']=_0x135640['data'][_0x477d('0xd67')]||[{'message':_0x135640[_0x477d('0x453')](),'type':_0x477d('0x15e1')}];for(var _0x1fc622=0x0;_0x1fc622<_0x135640[_0x477d('0x451')]['errors'][_0x477d('0x79')];_0x1fc622+=0x1){_0x517687[_0x477d('0x44a')]({'title':_0x135640['data'][_0x477d('0xd67')][_0x1fc622][_0x477d('0x439')],'msg':_0x135640['data'][_0x477d('0xd67')][_0x1fc622][_0x477d('0x452')]});}}else{_0x517687[_0x477d('0x44a')]({'title':_0x135640[_0x477d('0x3c3')]?'API:'+_0x135640[_0x477d('0x3c3')]+_0x477d('0x44c')+_0x135640[_0x477d('0x44d')]:_0x477d('0x15e1'),'msg':_0x135640['data']?JSON[_0x477d('0x3fb')](_0x135640['data'][_0x477d('0x452')]):_0x135640['toString']()});}})[_0x477d('0x5ff')](function(){_0x3708c5[_0x477d('0x533')]=![];});}function _0x199a66(_0x47132b){_0x5ea2cc(_0x47132b)[_0x477d('0x1e78')]();}function _0x81d4be(){return _0x3708c5[_0x477d('0x3e5')][_0x477d('0x3a1')]===_0x477d('0x5f')||_0x3708c5['currentUser'][_0x477d('0x3a1')]===_0x477d('0x380')||_0x3708c5['currentUser'][_0x477d('0x3a1')]==='agent'&&_0x3708c5[_0x477d('0x3e5')][_0x477d('0x394')]!==0x0;}_0x185df6['chatInternalMessage'][_0x477d('0x376')]({'fields':_0x477d('0x28a0'),'ToId':_0x3708c5[_0x477d('0x3e5')]['id'],'read':![],'nolimit':!![]})[_0x477d('0x38b')][_0x477d('0x76')](function(_0x2ef4bb){_0x3708c5[_0x477d('0x289c')]=_0x2ef4bb[_0x477d('0xf2')][_0x477d('0x79')];});function _0x1017b2(_0x6bccd8){if(_0x6bccd8[_0x477d('0x28a4')]===_0x3708c5[_0x477d('0x3e5')]['id']&&!_0x6bccd8[_0x477d('0x28a5')]){_0x3708c5[_0x477d('0x289c')]+=0x1;}if(_0x6bccd8['ToId']===_0x3708c5['currentUser']['id']&&_0x6bccd8[_0x477d('0x28a0')]!==_0x3708c5[_0x477d('0x3e5')]['id']&&!_0x6bccd8['read']&&_0x6bccd8[_0x477d('0x28a5')]){_0x3708c5[_0x477d('0x28a3')]++;}}function _0x5c7c54(_0x336bb3){if(_0x336bb3[_0x477d('0x28a4')]===_0x3708c5['currentUser']['id']&&_0x336bb3[_0x477d('0x134d')]&&_0x3708c5['unreadTotalMessages']>0x0&&!_0x336bb3[_0x477d('0x28a5')]){_0x3708c5[_0x477d('0x289c')]-=0x1;}if(_0x336bb3[_0x477d('0x28a4')]===_0x3708c5['currentUser']['id']&&_0x336bb3[_0x477d('0x134d')]&&_0x336bb3['ChatGroupId']&&_0x3708c5[_0x477d('0x28a3')]>0x0){_0x3708c5[_0x477d('0x28a3')]--;}}function _0x530fcd(_0x4242ff){_0x3708c5[_0x477d('0x291e')]=_0x4242ff;}function _0x5d96f8(_0x481bba){_0x4fdc5e();return _0x13c38d[_0x477d('0x38c')](_0x481bba)[_0x477d('0x76')](function(){_0x27844d[_0x477d('0x480')](_0x477d('0x6b6'));return _0x5e8428['go'](_0x477d('0x40'));})[_0x477d('0xf8')](function(_0x309e62){console['error'](_0x309e62);});}function _0xf348b2(_0x50ce68){if(!_0x3708c5['languages'][_0x477d('0x3ea')](_0x50ce68[_0x477d('0x404')])){var _0x4efa14=_0x477d('0x292b');_0x2615a4[_0x477d('0x395')]({'template':_0x477d('0x292c')+_0x4efa14+_0x477d('0x292d'),'hideDelay':0x1b58,'position':_0x477d('0x68b'),'parent':_0x477d('0x78c')});return;}_0x3708c5['selectedLanguage']=_0x50ce68;_0x57eb26['put'](_0x477d('0xd0e'),_0x50ce68[_0x477d('0x404')]);_0x49eac3[_0x477d('0xd0f')](_0x50ce68[_0x477d('0x404')]);if(_0x5e8428[_0x477d('0x548')][_0x477d('0x94')]===_0x477d('0x96')){_0x57441c[_0x477d('0x3cc')]['reload']();}if(_0x599c2b['indexOf'](_0x50ce68[_0x477d('0x404')])>=0x0){_0x517687[_0x477d('0x669')]({'title':_0x49eac3[_0x477d('0x45f')](_0x477d('0x292e')),'msg':_0x49eac3[_0x477d('0x45f')](_0x477d('0x292f'))});}else{_0x12444f[_0x477d('0x723')][_0x477d('0x723')]['vm'][_0x477d('0x603')]=_0x477d('0xd0d');}}function _0x2f5d0b(){_0x3708c5[_0x477d('0x289a')][_0x477d('0x571')](_0x477d('0x289b'));}function _0x35fc14(){_0x4eb226[_0x477d('0x56e')]();}function _0x59459e(_0x27b0f1){var _0x1e1eb6=[],_0x3cc76a=_0x4eb226['getFlatNavigation'](),_0x3c8918=_0x2d215a[_0x477d('0x54a')]();for(var _0x36b96d=0x0;_0x36b96d<_0x3cc76a['length'];_0x36b96d++){if(_0x3cc76a[_0x36b96d]['uisref']){_0x1e1eb6[_0x477d('0x3a7')](_0x3cc76a[_0x36b96d]);}}if(_0x27b0f1){_0x1e1eb6=_0x1e1eb6[_0x477d('0x3b3')](function(_0x5c512f){if(angular['lowercase'](_0x5c512f[_0x477d('0x49a')])[_0x477d('0x3fd')](angular['lowercase'](_0x27b0f1))>-0x1){return!![];}});}_0x2c30da(function(){_0x3c8918[_0x477d('0x5a')](_0x1e1eb6);},0x3e8);return _0x3c8918[_0x477d('0x553')];}function _0x1f3b21(_0x46a26e){if(_0x46a26e[_0x477d('0x564')]){if(_0x46a26e[_0x477d('0x56a')]){_0x5e8428['go'](_0x46a26e['state'],_0x46a26e[_0x477d('0x56a')]);}else{_0x5e8428['go'](_0x46a26e[_0x477d('0xe')]);}}}function _0x5cea0c(_0x557ef7){_0x27844d['$broadcast']('webrtc::settings');}function _0x1d60a0(_0x36dff2,_0x1aa9df){_0x36afce[_0x477d('0x395')]({'controller':_0x477d('0x2930'),'controllerAs':'vm','templateUrl':_0x477d('0x2931'),'parent':angular[_0x477d('0x398')](_0x2f5145[_0x477d('0x399')]),'targetEvent':_0x36dff2,'clickOutsideToClose':_0x1aa9df?![]:!![],'escapeToClose':_0x1aa9df?![]:!![],'locals':{'user':_0x3708c5[_0x477d('0x380')],'setting':_0x2acc38,'reset':_0x1aa9df}});}function _0x3802ac(){return _0x13c38d[_0x477d('0x5c')]()&&_0x13c38d[_0x477d('0x56')]('agent');}function _0x44a2e6(_0x2b392b){if(_0x2b392b['id']===_0x3708c5[_0x477d('0x380')]['id']){if(_0x2b392b[_0x477d('0x3a1')]===_0x477d('0xcf')&&_[_0x477d('0x2932')](_0x2b392b[_0x477d('0x13d3')])&&!_0x2b392b[_0x477d('0x13d3')]){if(_0x3708c5[_0x477d('0x380')]['showWebBar']!==0x0){_0x4fdc5e();var _0x3a4ec8=_0x36afce[_0x477d('0xd78')]()[_0x477d('0x49a')](_0x49eac3[_0x477d('0x45f')](_0x477d('0x5e6'))+'!')['textContent'](_0x49eac3['instant'](_0x477d('0x2933')))[_0x477d('0x687')](_0x49eac3[_0x477d('0x45f')](_0x477d('0x5e6'))+'!')['ok'](_0x49eac3[_0x477d('0x45f')](_0x477d('0x2934')))['cancel'](_0x477d('0x2935'));_0x36afce[_0x477d('0x395')](_0x3a4ec8)['then'](function(){return _0x13c38d[_0x477d('0x2936')]()[_0x477d('0x76')](function(){_0x474ca7();_['merge'](_0x3708c5[_0x477d('0x380')],_0x2b392b);_0x13c38d[_0x477d('0xd62')](_0x3708c5[_0x477d('0x380')]);});})[_0x477d('0xf8')](function(_0x2701d6){_0x5d96f8(!![]);});}else{_0x5d96f8(!![]);}}else{_[_0x477d('0xef')](_0x3708c5['user'],_0x2b392b);_0x13c38d[_0x477d('0xd62')](_0x3708c5[_0x477d('0x380')]);}}}function _0xf80257(_0x3e0107){if(_0x3708c5['currentUser'][_0x477d('0x394')]===0x2&&_0x3708c5['currentUser'][_0x477d('0x3a1')]===_0x477d('0xcf')&&_0x3708c5['currentUser'][_0x477d('0x94')]===_0x3e0107[_0x477d('0x18c3')]){_0x517687[_0x477d('0x669')]({'title':_0x477d('0x2937'),'msg':'
\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Call\x20from:\x20'+_0x3e0107[_0x477d('0x15c2')]+_0x477d('0x2938')+_0x3e0107[_0x477d('0x1256')]+_0x477d('0x2939')+(_0x3e0107[_0x477d('0xf31')]&&_0x3e0107[_0x477d('0xf31')][_0x477d('0x293a')]?_0x3e0107[_0x477d('0xf31')][_0x477d('0x293a')]:_0x477d('0x293b'))+_0x477d('0x293c'),'showClose':!![],'timeout':0x2710,'html':!![]});}}function _0x46d46f(){return _0x3708c5[_0x477d('0xc8e')][_0x477d('0x2896')]?_0x477d('0x2897'):_0x3708c5[_0x477d('0xc8e')][_0x477d('0x293d')];}function _0x3ae578(){if(_[_0x477d('0x3ab')](_0x3708c5[_0x477d('0x8f9')],{'dialMethod':_0x477d('0xe9b'),'dialActive':!![]})&&_0x3708c5[_0x477d('0x613')][_0x477d('0x17a4')]&&_0x3708c5[_0x477d('0xd5a')]){_0x3708c5[_0x477d('0xd5a')]=![];_0x185df6['cmHopper'][_0x477d('0x293e')]()[_0x477d('0x38b')][_0x477d('0x76')](function(_0x4274ed){if(_0x4274ed&&_[_0x477d('0x566')](_0x4274ed[_0x477d('0x1449')])){_0x3708c5['contacts']=_0x4274ed[_0x477d('0x1449')];}})[_0x477d('0x5ff')](function(){_0x3708c5['polling']=!![];});}else{_0x3708c5['contacts']=0x0;}}function _0x219c0c(){if(_0x2531e2){_0x3a2594[_0x477d('0x4f0')](_0x2531e2);_0x2531e2=null;}}function _0x1b075b(_0x79aadf){console['debug'](_0x477d('0x293f'),_0x79aadf);if(_0x3708c5[_0x477d('0x380')][_0x477d('0x394')]!==0x0){_0x4fdc5e();return _0x13c38d[_0x477d('0x38c')](!![])['then'](function(){_0x27844d[_0x477d('0x480')]('webrtc::logout');_0x36afce[_0x477d('0x395')](_0x36afce[_0x477d('0x120a')]()[_0x477d('0x374')](angular[_0x477d('0x398')](_0x2f5145[_0x477d('0x399')]))[_0x477d('0x13f3')](![])[_0x477d('0x2940')](![])[_0x477d('0x49a')](_0x49eac3[_0x477d('0x45f')]('TOOLBAR.WARNING'))['textContent'](_0x49eac3[_0x477d('0x45f')](_0x477d('0x2941'),{'ip':_0x79aadf['ip']}))['ok']('OK'))[_0x477d('0x76')](function(){return _0x5e8428['go'](_0x477d('0x40'));});})[_0x477d('0xf8')](function(_0x165082){console['error'](_0x165082);});}}function _0x170711(_0x5100d9){var _0x5b7cc8=_0x5100d9;if(_0x3708c5[_0x477d('0x3e5')]['id']===_0x5b7cc8[_0x477d('0x2942')]){var _0x2f8ca8=_0x49eac3[_0x477d('0x45f')](_0x477d('0x2943'),{'sender':_0x5b7cc8[_0x477d('0x2944')]});var _0x530c66=_0x5b7cc8['description']?_0x49eac3[_0x477d('0x45f')]('TOOLBAR.NOTIFICATION_TITLE_RECIPIENT',{'recipient':_0x5b7cc8['description']}):null;_0x517687['wait']({'title':_0x530c66?_0x2f8ca8+'\x20'+_0x530c66:_0x2f8ca8,'msg':_0x5b7cc8[_0x477d('0xdaf')],'clickToClose':![],'timeout':![],'sound':_0x5b7cc8[_0x477d('0x2945')],'html':!![]});}}_0x12444f[_0x477d('0x4ec')](_0x477d('0x505'),function(){_0x5927e9['removeAllListeners']('user:called');_0x5927e9['removeAllListeners'](_0x477d('0x1402'));_0x5927e9[_0x477d('0x6b8')](_0x477d('0x289f'));_0x5927e9[_0x477d('0x6b8')]('chatInternalMessage:update');_0x5927e9['removeAllListeners'](_0x477d('0x1415'));_0x5927e9[_0x477d('0x6b8')](_0x477d('0x16b3'));_0x5927e9[_0x477d('0x6b8')](_0x477d('0x1414'));_0x5927e9['removeAllListeners'](_0x477d('0x16b5'));_0x5927e9[_0x477d('0x6b8')](_0x477d('0x16b6'));_0x5927e9['removeAllListeners'](_0x477d('0x2946'));_0x5927e9[_0x477d('0x6b8')](_0x477d('0x2928'));_0x219c0c();});}}());var urlParams=function(_0x251517){var _0x5349a8=new Object();var _0x51bb46=_0x251517[_0x477d('0x24af')]('?');if(_0x51bb46>0x0){var _0x3fa931=_0x251517[_0x477d('0x6c6')](_0x51bb46+0x1)['split']('&');for(var _0x276a59=0x0;_0x276a59<_0x3fa931['length'];_0x276a59++){_0x51bb46=_0x3fa931[_0x276a59]['indexOf']('=');if(_0x51bb46>0x0){_0x5349a8[_0x3fa931[_0x276a59]['substring'](0x0,_0x51bb46)]=_0x3fa931[_0x276a59]['substring'](_0x51bb46+0x1);}}}return _0x5349a8;}(window[_0x477d('0x3cc')][_0x477d('0x3c8')]);var t0=new Date();var MAX_REQUEST_SIZE=0xa00000;var MAX_WIDTH=0x2ee0;var MAX_HEIGHT=0x2ee0;var EXPORT_URL='http://exp.draw.io/ImageExport2/export';var SHARE_HOST='http://localhost:3000';var SAVE_URL=_0x477d('0x2947');var VARIABLE_URL=_0x477d('0x2948');var STENCIL_PATH=_0x477d('0x2949');var SHAPES_PATH=_0x477d('0x294a');var IMAGE_PATH=_0x477d('0x294b');var STYLE_PATH=_0x477d('0x294c');var CSS_PATH='/assets/plugins/square/styles';var OPEN_FORM=_0x477d('0x294d');var TEMPLATE_PATH=_0x477d('0x294e');var RESOURCES_PATH=_0x477d('0x294f');var RESOURCE_BASE=RESOURCES_PATH+_0x477d('0x2950');var CRUD_PERMISSIONS={'readOnly':![],'canEdit':![],'canDelete':![]};var tapAndHoldStartsConnection=!![];var showConnectorImg=!![];var mxLoadResources=![];var mxLanguages=['it','fr','ko','es','sv','ru','de','ja',_0x477d('0xfac'),'zh-TW','nl','fi','da',_0x477d('0xfd1'),'pt-PT','no','hi','tr','fa'];var mxLanguage='en';var match=document[_0x477d('0x2951')][_0x477d('0x408')](new RegExp('(^|\x20)'+_0x477d('0xd0e')+_0x477d('0x2952')));if(match&&mxLanguages[_0x477d('0x3a4')](match[0x2])){mxLanguage=match[0x2];}var mxBasePath='assets/plugins/mxgraph';var mxClient={'VERSION':_0x477d('0x2953'),'IS_IE':0x0<=navigator[_0x477d('0x96f')][_0x477d('0x477')]('MSIE'),'IS_IE6':0x0<=navigator[_0x477d('0x96f')][_0x477d('0x477')](_0x477d('0x2954')),'IS_QUIRKS':0x0<=navigator[_0x477d('0x96f')][_0x477d('0x477')](_0x477d('0x97d'))&&(null==document[_0x477d('0x2955')]||0x5==document[_0x477d('0x2955')]),'VML_PREFIX':'v','OFFICE_PREFIX':'o','IS_NS':0x0<=navigator[_0x477d('0x96f')]['indexOf'](_0x477d('0x2956'))&&0x0>navigator[_0x477d('0x96f')][_0x477d('0x477')](_0x477d('0x97d')),'IS_OP':0x0<=navigator[_0x477d('0x96f')][_0x477d('0x477')](_0x477d('0x2957')),'IS_OT':0x0>navigator[_0x477d('0x96f')][_0x477d('0x477')]('Presto/2.4.')&&0x0>navigator['userAgent']['indexOf'](_0x477d('0x2958'))&&0x0>navigator[_0x477d('0x96f')][_0x477d('0x477')](_0x477d('0x2959'))&&0x0>navigator[_0x477d('0x96f')][_0x477d('0x477')](_0x477d('0x295a'))&&0x0>navigator[_0x477d('0x96f')]['indexOf'](_0x477d('0x295b'))&&0x0>navigator[_0x477d('0x96f')]['indexOf'](_0x477d('0x295c')),'IS_SF':0x0<=navigator[_0x477d('0x96f')][_0x477d('0x477')](_0x477d('0x295d'))&&0x0>navigator[_0x477d('0x96f')]['indexOf'](_0x477d('0x295e')),'IS_GC':0x0<=navigator['userAgent']['indexOf'](_0x477d('0x295e')),'IS_MT':0x0<=navigator[_0x477d('0x96f')][_0x477d('0x477')](_0x477d('0x295f'))&&0x0>navigator[_0x477d('0x96f')][_0x477d('0x477')](_0x477d('0x2960'))&&0x0>navigator[_0x477d('0x96f')]['indexOf']('Firefox/2.')||0x0<=navigator[_0x477d('0x96f')][_0x477d('0x477')]('Iceweasel/')&&0x0>navigator['userAgent'][_0x477d('0x477')](_0x477d('0x2961'))&&0x0>navigator['userAgent'][_0x477d('0x477')](_0x477d('0x2962'))||0x0<=navigator['userAgent']['indexOf']('SeaMonkey/')&&0x0>navigator[_0x477d('0x96f')][_0x477d('0x477')](_0x477d('0x2963'))||0x0<=navigator[_0x477d('0x96f')]['indexOf']('Iceape/')&&0x0>navigator[_0x477d('0x96f')][_0x477d('0x477')]('Iceape/1.'),'IS_SVG':0x0<=navigator[_0x477d('0x96f')][_0x477d('0x477')](_0x477d('0x295f'))||0x0<=navigator['userAgent'][_0x477d('0x477')]('Iceweasel/')||0x0<=navigator[_0x477d('0x96f')][_0x477d('0x477')](_0x477d('0x2964'))||0x0<=navigator[_0x477d('0x96f')][_0x477d('0x477')](_0x477d('0x2965'))||0x0<=navigator[_0x477d('0x96f')]['indexOf'](_0x477d('0x2966'))||0x0<=navigator[_0x477d('0x96f')]['indexOf'](_0x477d('0x2967'))||0x0<=navigator['userAgent']['indexOf'](_0x477d('0x295d'))||0x0<=navigator[_0x477d('0x96f')][_0x477d('0x477')](_0x477d('0x2968'))||0x0<=navigator[_0x477d('0x96f')]['indexOf'](_0x477d('0x2957')),'NO_FO':0x0<=navigator[_0x477d('0x96f')][_0x477d('0x477')]('Firefox/1.')||0x0<=navigator[_0x477d('0x96f')]['indexOf']('Iceweasel/1.')||0x0<=navigator['userAgent'][_0x477d('0x477')](_0x477d('0x2969'))||0x0<=navigator[_0x477d('0x96f')][_0x477d('0x477')]('Iceweasel/2.')||0x0<=navigator[_0x477d('0x96f')][_0x477d('0x477')](_0x477d('0x2963'))||0x0<=navigator[_0x477d('0x96f')]['indexOf']('Iceape/1.')||0x0<=navigator[_0x477d('0x96f')][_0x477d('0x477')](_0x477d('0x296a'))||0x0<=navigator['userAgent']['indexOf'](_0x477d('0x296b'))||0x0<=navigator[_0x477d('0x96f')][_0x477d('0x477')](_0x477d('0x2957'))||0x0<=navigator[_0x477d('0x96f')]['indexOf'](_0x477d('0x97d'))||0x0<=navigator[_0x477d('0x96f')][_0x477d('0x477')]('Mozilla/2.'),'IS_VML':'MICROSOFT\x20INTERNET\x20EXPLORER'==navigator[_0x477d('0x296c')]['toUpperCase'](),'IS_MAC':0x0document[_0x477d('0x3cc')][_0x477d('0x3c8')]['indexOf'](_0x477d('0x2972'))&&0x0>document[_0x477d('0x3cc')][_0x477d('0x3c8')][_0x477d('0x477')]('https://'),'isBrowserSupported':function(){return mxClient[_0x477d('0x2973')]||mxClient[_0x477d('0x2974')];},'link':function(_0x1ed539,_0x30c997,_0x33c0ec){_0x33c0ec=_0x33c0ec||document;if(mxClient[_0x477d('0x2975')])_0x33c0ec[_0x477d('0x28ca')](_0x477d('0x2976')+_0x1ed539+_0x477d('0x2977')+_0x30c997+_0x477d('0x2978'));else{var _0x309bd5=_0x33c0ec[_0x477d('0x3c7')](_0x477d('0x2979'));_0x309bd5[_0x477d('0x494')](_0x477d('0x297a'),_0x1ed539);_0x309bd5[_0x477d('0x494')](_0x477d('0x3c8'),_0x30c997);_0x309bd5['setAttribute'](_0x477d('0x297b'),'ISO-8859-1');_0x309bd5[_0x477d('0x494')](_0x477d('0x439'),_0x477d('0x297c'));_0x33c0ec[_0x477d('0x297d')](_0x477d('0x654'))[0x0][_0x477d('0xd8f')](_0x309bd5);}},'include':function(_0x4709ff){document[_0x477d('0x28ca')](_0x477d('0x297e')+_0x4709ff+_0x477d('0x13ad'));},'dispose':function(){for(var _0x252974=0x0;_0x252974_0x5cb017&&_0x5518f6?(_0x5cb017++,window[_0x477d('0x29dd')](_0x3f1eee,_0x34077a)):null!=_0x1783a1&&_0x1783a1();},_0x34077a=0x1e;_0x3f1eee();},'cascadeOpacity':function(_0x5e0e07,_0x495942,_0x8ca25e){for(var _0x4ee11e=_0x5e0e07[_0x477d('0x44e')]['getChildCount'](_0x495942),_0x665de4=0x0;_0x665de4<_0x4ee11e;_0x665de4++){var _0x5490f5=_0x5e0e07['model'][_0x477d('0x29de')](_0x495942,_0x665de4),_0x2cf9ec=_0x5e0e07[_0x477d('0x29d4')]()[_0x477d('0x29df')](_0x5490f5);null!=_0x2cf9ec&&(mxUtils['setOpacity'](_0x2cf9ec[_0x477d('0x29e0')][_0x477d('0x584')],_0x8ca25e),mxEffects[_0x477d('0x29dc')](_0x5e0e07,_0x5490f5,_0x8ca25e));}_0x495942=_0x5e0e07[_0x477d('0x44e')][_0x477d('0x29e1')](_0x495942);if(null!=_0x495942)for(_0x665de4=0x0;_0x665de4<_0x495942[_0x477d('0x79')];_0x665de4++)_0x4ee11e=_0x5e0e07['getView']()['getState'](_0x495942[_0x665de4]),null!=_0x4ee11e&&mxUtils[_0x477d('0x29d7')](_0x4ee11e[_0x477d('0x29e0')][_0x477d('0x584')],_0x8ca25e);},'fadeOut':function(_0x2b07e7,_0x331dff,_0x335cb8,_0x3974cd,_0x3c8597,_0x19a797){_0x3974cd=_0x3974cd||0x28;_0x3c8597=_0x3c8597||0x1e;var _0x243b73=_0x331dff||0x64;mxUtils[_0x477d('0x29d7')](_0x2b07e7,_0x243b73);if(_0x19a797||null==_0x19a797){var _0x1556fc=function(){_0x243b73=Math[_0x477d('0x13fc')](_0x243b73-_0x3974cd,0x0);mxUtils[_0x477d('0x29d7')](_0x2b07e7,_0x243b73);0x0<_0x243b73?window[_0x477d('0x29dd')](_0x1556fc,_0x3c8597):(_0x2b07e7[_0x477d('0x457')][_0x477d('0x29c0')]=_0x477d('0x54d'),_0x335cb8&&_0x2b07e7[_0x477d('0x29e2')]&&_0x2b07e7[_0x477d('0x29e2')][_0x477d('0x29e3')](_0x2b07e7));};window[_0x477d('0x29dd')](_0x1556fc,_0x3c8597);}else _0x2b07e7[_0x477d('0x457')][_0x477d('0x29c0')]=_0x477d('0x54d'),_0x335cb8&&_0x2b07e7[_0x477d('0x29e2')]&&_0x2b07e7[_0x477d('0x29e2')][_0x477d('0x29e3')](_0x2b07e7);}},mxUtils={'errorResource':_0x477d('0x496')!=mxClient[_0x477d('0x1267')]?_0x477d('0x44a'):'','closeResource':'none'!=mxClient[_0x477d('0x1267')]?_0x477d('0x539'):'','errorImage':mxClient['imageBasePath']+'/error.gif','removeCursors':function(_0x2810b6){null!=_0x2810b6['style']&&(_0x2810b6[_0x477d('0x457')][_0x477d('0x29e4')]='');_0x2810b6=_0x2810b6[_0x477d('0x29e5')];if(null!=_0x2810b6)for(var _0x117adf=_0x2810b6[_0x477d('0x79')],_0x27c18d=0x0;_0x27c18d<_0x117adf;_0x27c18d+=0x1)mxUtils[_0x477d('0x29e6')](_0x2810b6[_0x27c18d]);},'getCurrentStyle':function(){return mxClient['IS_IE']?function(_0x138671){return null!=_0x138671?_0x138671[_0x477d('0x29e7')]:null;}:function(_0x4aa6a7){return null!=_0x4aa6a7?window[_0x477d('0x29e8')](_0x4aa6a7,''):null;};}(),'hasScrollbars':function(_0x5c63d8){_0x5c63d8=mxUtils['getCurrentStyle'](_0x5c63d8);return null!=_0x5c63d8&&(_0x477d('0x78e')==_0x5c63d8[_0x477d('0x29e9')]||_0x477d('0x593')==_0x5c63d8[_0x477d('0x29e9')]);},'bind':function(_0x37edaa,_0x57ea0a){return function(){return _0x57ea0a[_0x477d('0x4f5')](_0x37edaa,arguments);};},'eval':function(_0x573bc2){var _0x34db87=null;if(0x0<=_0x573bc2[_0x477d('0x477')](_0x477d('0x799')))try{eval(_0x477d('0x29ea')+_0x573bc2),_0x34db87=_mxJavaScriptExpression,_mxJavaScriptExpression=null;}catch(_0x4271de){mxLog[_0x477d('0x5f9')](_0x4271de[_0x477d('0x452')]+'\x20while\x20evaluating\x20'+_0x573bc2);}else try{_0x34db87=eval(_0x573bc2);}catch(_0x197d3f){mxLog[_0x477d('0x5f9')](_0x197d3f['message']+'\x20while\x20evaluating\x20'+_0x573bc2);}return _0x34db87;},'findNode':function(_0x2a9e1f,_0x402fbc,_0x24c969){var _0xd58009=_0x2a9e1f[_0x477d('0x29eb')](_0x402fbc);if(null!=_0xd58009&&_0xd58009==_0x24c969)return _0x2a9e1f;for(_0x2a9e1f=_0x2a9e1f[_0x477d('0x29ec')];null!=_0x2a9e1f;){_0xd58009=mxUtils['findNode'](_0x2a9e1f,_0x402fbc,_0x24c969);if(null!=_0xd58009)return _0xd58009;_0x2a9e1f=_0x2a9e1f['nextSibling'];}return null;},'findNodeByAttribute':function(){return 0x9<=document[_0x477d('0x2955')]?function(_0x19466a,_0x43aa1f,_0x18b1eb){var _0x243f18=null;if(null!=_0x19466a)if(_0x19466a[_0x477d('0x51a')]==mxConstants[_0x477d('0x29ed')]&&_0x19466a['getAttribute'](_0x43aa1f)==_0x18b1eb)_0x243f18=_0x19466a;else for(_0x19466a=_0x19466a[_0x477d('0x29ec')];null!=_0x19466a&&null==_0x243f18;)_0x243f18=mxUtils[_0x477d('0x29ee')](_0x19466a,_0x43aa1f,_0x18b1eb),_0x19466a=_0x19466a[_0x477d('0x29ef')];return _0x243f18;}:mxClient[_0x477d('0x2984')]?function(_0x546213,_0x437213,_0x596f64){return null==_0x546213?null:_0x546213[_0x477d('0x29f0')][_0x477d('0x29f1')](_0x477d('0x29f2')+_0x437213+'=\x27'+_0x596f64+'\x27]');}:function(_0x25583f,_0x26b053,_0x486cf6){return null==_0x25583f?null:_0x25583f[_0x477d('0x29f0')]['evaluate'](_0x477d('0x29f2')+_0x26b053+'=\x27'+_0x486cf6+'\x27]',_0x25583f[_0x477d('0x29f0')],null,XPathResult[_0x477d('0x29f3')],null)[_0x477d('0x29f4')]();};}(),'getFunctionName':function(_0x2783a7){var _0x3556ae=null;if(null!=_0x2783a7)if(null!=_0x2783a7[_0x477d('0x94')])_0x3556ae=_0x2783a7[_0x477d('0x94')];else{_0x2783a7=_0x2783a7[_0x477d('0x453')]();for(_0x3556ae=0x9;'\x20'==_0x2783a7[_0x477d('0x29ce')](_0x3556ae);)_0x3556ae++;var _0x192612=_0x2783a7[_0x477d('0x477')]('(',_0x3556ae),_0x3556ae=_0x2783a7['substring'](_0x3556ae,_0x192612);}return _0x3556ae;},'indexOf':function(_0x5c9a56,_0x4152a3){if(null!=_0x5c9a56&&null!=_0x4152a3)for(var _0x5067f3=0x0;_0x5067f3<_0x5c9a56['length'];_0x5067f3++)if(_0x5c9a56[_0x5067f3]==_0x4152a3)return _0x5067f3;return-0x1;},'remove':function(_0x203b32,_0x4e7034){var _0x2bbf99=null;if(_0x477d('0x29f5')==typeof _0x4e7034)for(var _0x544364=mxUtils['indexOf'](_0x4e7034,_0x203b32);0x0<=_0x544364;)_0x4e7034[_0x477d('0x45b')](_0x544364,0x1),_0x2bbf99=_0x203b32,_0x544364=mxUtils['indexOf'](_0x4e7034,_0x203b32);for(var _0x523d81 in _0x4e7034)_0x4e7034[_0x523d81]==_0x203b32&&(delete _0x4e7034[_0x523d81],_0x2bbf99=_0x203b32);return _0x2bbf99;},'isNode':function(_0x7dc636,_0x1c9ebe,_0x44b1a0,_0x420c80){return null!=_0x7dc636&&!isNaN(_0x7dc636[_0x477d('0x51a')])&&(null==_0x1c9ebe||_0x7dc636['nodeName'][_0x477d('0x449')]()==_0x1c9ebe[_0x477d('0x449')]())?null==_0x44b1a0||_0x7dc636[_0x477d('0x29eb')](_0x44b1a0)==_0x420c80:!0x1;},'getChildNodes':function(_0x525536,_0x120863){_0x120863=_0x120863||mxConstants[_0x477d('0x29ed')];for(var _0xfbedea=[],_0x38512d=_0x525536[_0x477d('0x29ec')];null!=_0x38512d;)_0x38512d['nodeType']==_0x120863&&_0xfbedea['push'](_0x38512d),_0x38512d=_0x38512d[_0x477d('0x29ef')];return _0xfbedea;},'createXmlDocument':function(){var _0x2a8ef0=null;document[_0x477d('0x29f6')]&&document[_0x477d('0x29f6')][_0x477d('0x29f7')]?_0x2a8ef0=document[_0x477d('0x29f6')]['createDocument']('','',null):window[_0x477d('0x29f8')]&&(_0x2a8ef0=new ActiveXObject('Microsoft.XMLDOM'));return _0x2a8ef0;},'parseXml':function(){return mxClient['IS_IE']&&('undefined'===typeof document[_0x477d('0x2955')]||0x9>document[_0x477d('0x2955')])?function(_0x12a9e2){var _0x51a3ea=mxUtils[_0x477d('0x29f9')]();_0x51a3ea['async']='false';_0x51a3ea[_0x477d('0x29fa')](_0x12a9e2);return _0x51a3ea;}:function(_0xea968d){return new DOMParser()[_0x477d('0x29fb')](_0xea968d,_0x477d('0x29fc'));};}(),'clearSelection':function(){if(document['selection'])return function(){document[_0x477d('0x29fd')]['empty']();};if(window[_0x477d('0x29fe')])return function(){window[_0x477d('0x29fe')]()[_0x477d('0x29ff')]();};}(),'getPrettyXml':function(_0x54efb7,_0x1b7309,_0x13f41c){var _0x307cee=[];if(null!=_0x54efb7)if(_0x1b7309=_0x1b7309||'\x20\x20',_0x13f41c=_0x13f41c||'',_0x54efb7[_0x477d('0x51a')]==mxConstants[_0x477d('0x2a00')])_0x307cee[_0x477d('0x3a7')](_0x54efb7['nodeValue']);else{_0x307cee[_0x477d('0x3a7')](_0x13f41c+'<'+_0x54efb7[_0x477d('0x2a01')]);var _0x226808=_0x54efb7[_0x477d('0xf66')];if(null!=_0x226808)for(var _0x3ceb96=0x0;_0x3ceb96<_0x226808[_0x477d('0x79')];_0x3ceb96++){var _0x166cd2=mxUtils[_0x477d('0x2a02')](_0x226808[_0x3ceb96][_0x477d('0x2a03')]);_0x307cee[_0x477d('0x3a7')]('\x20'+_0x226808[_0x3ceb96][_0x477d('0x2a01')]+'=\x22'+_0x166cd2+'\x22');}_0x226808=_0x54efb7['firstChild'];if(null!=_0x226808){for(_0x307cee[_0x477d('0x3a7')]('>\x0a');null!=_0x226808;)_0x307cee[_0x477d('0x3a7')](mxUtils[_0x477d('0x2a04')](_0x226808,_0x1b7309,_0x13f41c+_0x1b7309)),_0x226808=_0x226808[_0x477d('0x29ef')];_0x307cee[_0x477d('0x3a7')](_0x13f41c+'\x0a');}else _0x307cee[_0x477d('0x3a7')](_0x477d('0x2a05'));}return _0x307cee[_0x477d('0x3f6')]('');},'removeWhitespace':function(_0x581e42,_0x85fc37){for(var _0x2b1a9a=_0x85fc37?_0x581e42[_0x477d('0x2a06')]:_0x581e42['nextSibling'];null!=_0x2b1a9a&&_0x2b1a9a[_0x477d('0x51a')]==mxConstants[_0x477d('0x2a00')];){var _0x284e0f=_0x85fc37?_0x2b1a9a[_0x477d('0x2a06')]:_0x2b1a9a[_0x477d('0x29ef')],_0x15ebfd=mxUtils[_0x477d('0x2a07')](_0x2b1a9a);0x0==mxUtils[_0x477d('0x6ac')](_0x15ebfd)['length']&&_0x2b1a9a[_0x477d('0x29e2')]['removeChild'](_0x2b1a9a);_0x2b1a9a=_0x284e0f;}},'htmlEntities':function(_0x41aa49,_0x18d5a5){_0x41aa49=(_0x41aa49||'')[_0x477d('0x409')](/&/g,'&');_0x41aa49=_0x41aa49[_0x477d('0x409')](/"/g,'"');_0x41aa49=_0x41aa49[_0x477d('0x409')](/\'/g,_0x477d('0x2a08'));_0x41aa49=_0x41aa49[_0x477d('0x409')](//g,_0x477d('0x2a0a'));if(null==_0x18d5a5||_0x18d5a5)_0x41aa49=_0x41aa49[_0x477d('0x409')](/\n/g,_0x477d('0x2a0b'));return _0x41aa49;},'isVml':function(_0x55bb1f){return null!=_0x55bb1f&&_0x477d('0x298c')==_0x55bb1f[_0x477d('0x2a0c')];},'getXml':function(_0x20e1e0,_0x4ef51b){var _0x75d7da='';null!=_0x20e1e0&&(_0x75d7da=_0x20e1e0[_0x477d('0x1177')],_0x75d7da=null==_0x75d7da?_0x20e1e0[_0x477d('0x2a0d')]?_0x20e1e0[_0x477d('0x2a0d')]:new XMLSerializer()['serializeToString'](_0x20e1e0):_0x75d7da['replace'](/\r\n\t[\t]*/g,'')['replace'](/>\r\n/g,'>')[_0x477d('0x409')](/\r\n/g,'\x0a'));return _0x75d7da=_0x75d7da['replace'](/\n/g,_0x4ef51b||_0x477d('0x2a0b'));},'getTextContent':function(_0x5535e8){var _0x2b2fcb='';null!=_0x5535e8&&(null!=_0x5535e8[_0x477d('0x29ec')]&&(_0x5535e8=_0x5535e8['firstChild']),_0x2b2fcb=_0x5535e8[_0x477d('0x2a03')]||'');return _0x2b2fcb;},'getInnerHtml':function(){return mxClient[_0x477d('0x2984')]?function(_0x1ae03d){return null!=_0x1ae03d?_0x1ae03d[_0x477d('0x2a0d')]:'';}:function(_0x358843){return null!=_0x358843?new XMLSerializer()[_0x477d('0x2a0e')](_0x358843):'';};}(),'getOuterHtml':function(){return mxClient[_0x477d('0x2984')]?function(_0x453541){if(null!=_0x453541){if(null!=_0x453541['outerHTML'])return _0x453541[_0x477d('0x2a0f')];var _0x551273=[];_0x551273['push']('<'+_0x453541[_0x477d('0x2a01')]);var _0x875f6b=_0x453541['attributes'];if(null!=_0x875f6b)for(var _0x38aa6f=0x0;_0x38aa6f<_0x875f6b[_0x477d('0x79')];_0x38aa6f++){var _0x3391d3=_0x875f6b[_0x38aa6f]['nodeValue'];null!=_0x3391d3&&0x0<_0x3391d3[_0x477d('0x79')]&&(_0x551273[_0x477d('0x3a7')]('\x20'),_0x551273[_0x477d('0x3a7')](_0x875f6b[_0x38aa6f][_0x477d('0x2a01')]),_0x551273['push']('=\x22'),_0x551273[_0x477d('0x3a7')](_0x3391d3),_0x551273[_0x477d('0x3a7')]('\x22'));}0x0==_0x453541[_0x477d('0x2a0d')][_0x477d('0x79')]?_0x551273[_0x477d('0x3a7')]('/>'):(_0x551273[_0x477d('0x3a7')]('>'),_0x551273[_0x477d('0x3a7')](_0x453541[_0x477d('0x2a0d')]),_0x551273[_0x477d('0x3a7')](''));return _0x551273[_0x477d('0x3f6')]('');}return'';}:function(_0x5bd7ca){return null!=_0x5bd7ca?new XMLSerializer()[_0x477d('0x2a0e')](_0x5bd7ca):'';};}(),'write':function(_0x357994,_0x2c17af){var _0x260fb3=_0x357994[_0x477d('0x29f0')][_0x477d('0x2a10')](_0x2c17af);null!=_0x357994&&_0x357994[_0x477d('0xd8f')](_0x260fb3);return _0x260fb3;},'writeln':function(_0x2cc09f,_0x9aad4e){var _0x5c9bb9=_0x2cc09f[_0x477d('0x29f0')]['createTextNode'](_0x9aad4e);null!=_0x2cc09f&&(_0x2cc09f['appendChild'](_0x5c9bb9),_0x2cc09f[_0x477d('0xd8f')](document[_0x477d('0x3c7')]('br')));return _0x5c9bb9;},'br':function(_0x3060f2,_0x5cce95){_0x5cce95=_0x5cce95||0x1;for(var _0x5d3c02=null,_0x300c1e=0x0;_0x300c1e<_0x5cce95;_0x300c1e++)null!=_0x3060f2&&(_0x5d3c02=_0x3060f2[_0x477d('0x29f0')][_0x477d('0x3c7')]('br'),_0x3060f2['appendChild'](_0x5d3c02));return _0x5d3c02;},'button':function(_0x3077d4,_0x2db710,_0x1b0893){_0x1b0893=null!=_0x1b0893?_0x1b0893:document;_0x1b0893=_0x1b0893[_0x477d('0x3c7')](_0x477d('0x29b8'));mxUtils[_0x477d('0x28ca')](_0x1b0893,_0x3077d4);mxEvent[_0x477d('0x29b3')](_0x1b0893,_0x477d('0x540'),function(_0x4665b7){_0x2db710(_0x4665b7);});return _0x1b0893;},'para':function(_0x4be40b,_0x1d7f3f){var _0x45e5b5=document['createElement']('p');mxUtils[_0x477d('0x28ca')](_0x45e5b5,_0x1d7f3f);null!=_0x4be40b&&_0x4be40b[_0x477d('0xd8f')](_0x45e5b5);return _0x45e5b5;},'addTransparentBackgroundFilter':function(_0x31e73a){_0x31e73a[_0x477d('0x457')][_0x477d('0x3b3')]+='progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\x27'+mxClient[_0x477d('0x2986')]+_0x477d('0x2a11');},'linkAction':function(_0x321b8c,_0x410ed8,_0x440615,_0x5adda8,_0x181919){return mxUtils[_0x477d('0x2979')](_0x321b8c,_0x410ed8,function(){_0x440615[_0x477d('0x2a12')](_0x5adda8);},_0x181919);},'linkInvoke':function(_0x377fc6,_0x14c894,_0x330d5a,_0xb600a1,_0x20e59a,_0x4667b4){return mxUtils['link'](_0x377fc6,_0x14c894,function(){_0x330d5a[_0xb600a1](_0x20e59a);},_0x4667b4);},'link':function(_0x20a2ca,_0x5f1db5,_0x8bd63f,_0x30aadd){var _0x3910ab=document[_0x477d('0x3c7')]('span');_0x3910ab['style'][_0x477d('0x3e3')]='blue';_0x3910ab[_0x477d('0x457')][_0x477d('0x2a13')]=_0x477d('0x2a14');_0x3910ab[_0x477d('0x457')][_0x477d('0x29e4')]=_0x477d('0x2a15');null!=_0x30aadd&&(_0x3910ab['style'][_0x477d('0x2a16')]=_0x30aadd+'px');mxEvent[_0x477d('0x29b3')](_0x3910ab,_0x477d('0x540'),_0x8bd63f);mxUtils[_0x477d('0x28ca')](_0x3910ab,_0x5f1db5);null!=_0x20a2ca&&_0x20a2ca[_0x477d('0xd8f')](_0x3910ab);return _0x3910ab;},'fit':function(_0x431ed9){var _0x54b80c=parseInt(_0x431ed9['offsetLeft']),_0x5b5d95=parseInt(_0x431ed9['offsetWidth']),_0x4a8234=document[_0x477d('0x399')],_0x414cea=document['documentElement'],_0x372f1d=(_0x4a8234['scrollLeft']||_0x414cea[_0x477d('0x781')])+(_0x4a8234[_0x477d('0x29af')]||_0x414cea[_0x477d('0x29af')]);_0x54b80c+_0x5b5d95>_0x372f1d&&(_0x431ed9[_0x477d('0x457')][_0x477d('0x77e')]=Math['max'](_0x4a8234[_0x477d('0x781')]||_0x414cea['scrollLeft'],_0x372f1d-_0x5b5d95)+'px');_0x54b80c=parseInt(_0x431ed9[_0x477d('0x2a17')]);_0x5b5d95=parseInt(_0x431ed9['offsetHeight']);_0x372f1d=(_0x4a8234[_0x477d('0x52a')]||_0x414cea[_0x477d('0x52a')])+Math[_0x477d('0x13fc')](_0x4a8234[_0x477d('0x29ae')]||0x0,_0x414cea[_0x477d('0x29ae')]);_0x54b80c+_0x5b5d95>_0x372f1d&&(_0x431ed9[_0x477d('0x457')]['top']=Math['max'](_0x4a8234[_0x477d('0x52a')]||_0x414cea[_0x477d('0x52a')],_0x372f1d-_0x5b5d95)+'px');},'open':function(_0x26aa94){if(mxClient[_0x477d('0x29b1')]){try{netscape['security'][_0x477d('0x2a18')][_0x477d('0x2a19')](_0x477d('0x2a1a'));}catch(_0x3488e8){return mxUtils[_0x477d('0x120a')](_0x477d('0x2a1b')),'';}var _0x33ce05=Components[_0x477d('0x2a1c')][_0x477d('0x2a1d')][_0x477d('0x2a1e')](Components[_0x477d('0x2a1f')][_0x477d('0x2a20')]);_0x33ce05[_0x477d('0x2a21')](_0x26aa94);if(!_0x33ce05[_0x477d('0x1e02')]())return mxUtils[_0x477d('0x120a')](_0x477d('0x2a22')),'';_0x26aa94=Components[_0x477d('0x2a1c')]['@mozilla.org/network/file-input-stream;1'][_0x477d('0x2a1e')](Components[_0x477d('0x2a1f')]['nsIFileInputStream']);_0x26aa94[_0x477d('0x5ee')](_0x33ce05,0x1,0x4,null);_0x33ce05=Components[_0x477d('0x2a1c')][_0x477d('0x2a23')][_0x477d('0x2a1e')](Components[_0x477d('0x2a1f')][_0x477d('0x2a24')]);_0x33ce05[_0x477d('0x5ee')](_0x26aa94);return _0x33ce05['read'](_0x33ce05[_0x477d('0x1405')]());}_0x33ce05=new ActiveXObject(_0x477d('0x2a25'))[_0x477d('0x2a26')](_0x26aa94,0x1);_0x26aa94=_0x33ce05[_0x477d('0x2a27')]();_0x33ce05['close']();return _0x26aa94;},'save':function(_0x164e13,_0x4cf85b){if(mxClient['IS_NS']){try{netscape[_0x477d('0x2a28')][_0x477d('0x2a18')]['enablePrivilege']('UniversalXPConnect');}catch(_0x310eb8){mxUtils[_0x477d('0x120a')](_0x477d('0x2a29'));return;}var _0x11ad2a=Components[_0x477d('0x2a1c')]['@mozilla.org/file/local;1'][_0x477d('0x2a1e')](Components[_0x477d('0x2a1f')][_0x477d('0x2a20')]);_0x11ad2a[_0x477d('0x2a21')](_0x164e13);_0x11ad2a[_0x477d('0x1e02')]()||_0x11ad2a['create'](0x0,0x1a4);var _0x32c7ee=Components[_0x477d('0x2a1c')][_0x477d('0x2a2a')][_0x477d('0x2a1e')](Components[_0x477d('0x2a1f')]['nsIFileOutputStream']);_0x32c7ee['init'](_0x11ad2a,0x22,0x4,null);_0x32c7ee[_0x477d('0x28ca')](_0x4cf85b,_0x4cf85b[_0x477d('0x79')]);_0x32c7ee[_0x477d('0x2a2b')]();_0x32c7ee[_0x477d('0x539')]();}else _0x11ad2a=new ActiveXObject(_0x477d('0x2a25'))[_0x477d('0x2a2c')](_0x164e13,!0x0),_0x11ad2a[_0x477d('0x2a2d')](_0x4cf85b),_0x11ad2a[_0x477d('0x2a2e')]();},'saveAs':function(_0x32e909){var _0x46e41b=document[_0x477d('0x3c7')](_0x477d('0x15c0'));_0x46e41b[_0x477d('0x494')](_0x477d('0x49b'),'');_0x46e41b['style'][_0x477d('0x29c0')]=_0x477d('0x54d');document['body'][_0x477d('0xd8f')](_0x46e41b);try{if(mxClient[_0x477d('0x29b1')]){var _0x25b7db=_0x46e41b[_0x477d('0x2a2f')];_0x25b7db[_0x477d('0x1192')]();_0x25b7db[_0x477d('0x28ca')](_0x32e909);_0x25b7db[_0x477d('0x539')]();try{netscape[_0x477d('0x2a28')]['PrivilegeManager'][_0x477d('0x2a19')]('UniversalXPConnect'),_0x46e41b[_0x477d('0x401')](),saveDocument(_0x25b7db);}catch(_0x1f381f){mxUtils[_0x477d('0x120a')](_0x477d('0x2a30'));}}else _0x25b7db=_0x46e41b[_0x477d('0x2a31')][_0x477d('0x945')],_0x25b7db[_0x477d('0x28ca')](_0x32e909),_0x25b7db['execCommand']('SaveAs',!0x1,document[_0x477d('0x3cc')]);}finally{document[_0x477d('0x399')][_0x477d('0x29e3')](_0x46e41b);}},'copy':function(_0x39c57f){if(window[_0x477d('0x2a32')])window['clipboardData'][_0x477d('0x2a33')](_0x477d('0xf7f'),_0x39c57f);else{netscape[_0x477d('0x2a28')]['PrivilegeManager'][_0x477d('0x2a19')](_0x477d('0x2a1a'));var _0x1c5f77=Components['classes'][_0x477d('0x2a34')][_0x477d('0x2a1e')](Components[_0x477d('0x2a1f')][_0x477d('0x2a35')]);if(_0x1c5f77){var _0x1caa2d=Components[_0x477d('0x2a1c')]['@mozilla.org/widget/transferable;1']['createInstance'](Components['interfaces']['nsITransferable']);if(_0x1caa2d){_0x1caa2d[_0x477d('0x2a36')](_0x477d('0x2a37'));var _0x17f2d7=Components[_0x477d('0x2a1c')][_0x477d('0x2a38')][_0x477d('0x2a1e')](Components['interfaces']['nsISupportsString']);_0x17f2d7['data']=_0x39c57f;_0x1caa2d['setTransferData'](_0x477d('0x2a37'),_0x17f2d7,0x2*_0x39c57f['length']);_0x1c5f77[_0x477d('0x2a33')](_0x1caa2d,null,Components['interfaces'][_0x477d('0x2a35')][_0x477d('0x2a39')]);}}}},'load':function(_0x296025){_0x296025=new mxXmlRequest(_0x296025,null,_0x477d('0x6ab'),!0x1);_0x296025[_0x477d('0xa08')]();return _0x296025;},'get':function(_0x2496ef,_0x319052,_0x181d4d){return new mxXmlRequest(_0x2496ef,null,_0x477d('0x6ab'))['send'](_0x319052,_0x181d4d);},'post':function(_0x395654,_0x385263,_0x3bee72,_0x1ac839){return new mxXmlRequest(_0x395654,_0x385263)[_0x477d('0xa08')](_0x3bee72,_0x1ac839);},'submit':function(_0x3e85ae,_0x1bdd46,_0x2e6988,_0x1b4885){return new mxXmlRequest(_0x3e85ae,_0x1bdd46)[_0x477d('0x2a3a')](_0x2e6988,_0x1b4885);},'loadInto':function(_0x5a132d,_0x4d2282,_0x566f70){mxClient[_0x477d('0x2984')]?_0x4d2282[_0x477d('0x2a3b')]=function(){0x4==_0x4d2282[_0x477d('0x2a3c')]&&_0x566f70();}:_0x4d2282[_0x477d('0x5f4')](_0x477d('0x600'),_0x566f70,!0x1);_0x4d2282[_0x477d('0x600')](_0x5a132d);},'getValue':function(_0x4a008d,_0x142a67,_0x40ade5){_0x4a008d=null!=_0x4a008d?_0x4a008d[_0x142a67]:null;null==_0x4a008d&&(_0x4a008d=_0x40ade5);return _0x4a008d;},'getNumber':function(_0x1a2169,_0x444356,_0x678a00){_0x1a2169=null!=_0x1a2169?_0x1a2169[_0x444356]:null;null==_0x1a2169&&(_0x1a2169=_0x678a00||0x0);return Number(_0x1a2169);},'getColor':function(_0xd6c74a,_0x3c41fb,_0x1874fd){_0xd6c74a=null!=_0xd6c74a?_0xd6c74a[_0x3c41fb]:null;null==_0xd6c74a?_0xd6c74a=_0x1874fd:_0xd6c74a==mxConstants[_0x477d('0x29cb')]&&(_0xd6c74a=null);return _0xd6c74a;},'clone':function(_0x12367a,_0xbbdc99,_0x48c784){_0x48c784=null!=_0x48c784?_0x48c784:!0x1;var _0x4ccf2e=null;if(null!=_0x12367a&&'function'==typeof _0x12367a[_0x477d('0x29c3')]){var _0x4ccf2e=new _0x12367a[(_0x477d('0x29c3'))](),_0x563a52;for(_0x563a52 in _0x12367a)if(_0x563a52!=mxObjectIdentity[_0x477d('0x29c2')]&&(null==_0xbbdc99||0x0>mxUtils[_0x477d('0x477')](_0xbbdc99,_0x563a52)))_0x4ccf2e[_0x563a52]=!_0x48c784&&_0x477d('0x29f5')==typeof _0x12367a[_0x563a52]?mxUtils[_0x477d('0x117f')](_0x12367a[_0x563a52]):_0x12367a[_0x563a52];}return _0x4ccf2e;},'equalPoints':function(_0x5755f8,_0x2feea4){if(null==_0x5755f8&&null!=_0x2feea4||null!=_0x5755f8&&null==_0x2feea4||null!=_0x5755f8&&null!=_0x2feea4&&_0x5755f8[_0x477d('0x79')]!=_0x2feea4['length'])return!0x1;if(null!=_0x5755f8&&null!=_0x2feea4)for(var _0x538f16=0x0;_0x538f16<_0x5755f8[_0x477d('0x79')];_0x538f16++)if(_0x5755f8[_0x538f16]==_0x2feea4[_0x538f16]||null!=_0x5755f8[_0x538f16]&&!_0x5755f8[_0x538f16][_0x477d('0x546')](_0x2feea4[_0x538f16]))return!0x1;return!0x0;},'equalEntries':function(_0x5f33fe,_0x2fa939){if(null==_0x5f33fe&&null!=_0x2fa939||null!=_0x5f33fe&&null==_0x2fa939||null!=_0x5f33fe&&null!=_0x2fa939&&_0x5f33fe[_0x477d('0x79')]!=_0x2fa939[_0x477d('0x79')])return!0x1;if(null!=_0x5f33fe&&null!=_0x2fa939)for(var _0x330601 in _0x5f33fe)if(_0x5f33fe[_0x330601]!=_0x2fa939[_0x330601])return!0x1;return!0x0;},'extend':function(_0x263197,_0x37cef4){var _0x28a7a4=function(){};_0x28a7a4[_0x477d('0x798')]=_0x37cef4[_0x477d('0x798')];_0x263197[_0x477d('0x798')]=new _0x28a7a4();_0x263197[_0x477d('0x798')][_0x477d('0x29c3')]=_0x263197;},'toString':function(_0x782f){var _0x4744f2='',_0x3546c3;for(_0x3546c3 in _0x782f)try{if(null==_0x782f[_0x3546c3])_0x4744f2+=_0x3546c3+_0x477d('0x2a3d');else if(_0x477d('0x799')==typeof _0x782f[_0x3546c3])_0x4744f2+=_0x3546c3+_0x477d('0x2a3e');else if(_0x477d('0x29f5')==typeof _0x782f[_0x3546c3])var _0x1c8441=mxUtils[_0x477d('0x2a3f')](_0x782f[_0x3546c3][_0x477d('0x29c3')]),_0x4744f2=_0x4744f2+(_0x3546c3+_0x477d('0x2a40')+_0x1c8441+']\x0a');else _0x4744f2+=_0x3546c3+_0x477d('0x2a41')+_0x782f[_0x3546c3]+'\x0a';}catch(_0x2568e0){_0x4744f2+=_0x3546c3+'='+_0x2568e0[_0x477d('0x452')];}return _0x4744f2;},'toRadians':function(_0x5b9794){return Math['PI']*_0x5b9794/0xb4;},'arcToCurves':function(_0x4ff79c,_0x3f3010,_0x5f2899,_0x34e8f7,_0x181c11,_0x15cc15,_0x4de458,_0x37a7a3,_0x8a509f){_0x37a7a3-=_0x4ff79c;_0x8a509f-=_0x3f3010;if(0x0===_0x5f2899||0x0===_0x34e8f7)return _0x46b779;_0x5f2899=Math[_0x477d('0x2a42')](_0x5f2899);_0x34e8f7=Math['abs'](_0x34e8f7);var _0x57a133=-_0x37a7a3/0x2,_0x338b08=-_0x8a509f/0x2,_0x53c08b=Math['cos'](_0x181c11*Math['PI']/0xb4),_0x46b779=Math[_0x477d('0x2a43')](_0x181c11*Math['PI']/0xb4);_0x181c11=_0x53c08b*_0x57a133+_0x46b779*_0x338b08;var _0x57a133=-0x1*_0x46b779*_0x57a133+_0x53c08b*_0x338b08,_0x338b08=_0x181c11*_0x181c11,_0x1f6977=_0x57a133*_0x57a133,_0x18a7d2=_0x5f2899*_0x5f2899,_0x36e164=_0x34e8f7*_0x34e8f7,_0x2bedb6=_0x338b08/_0x18a7d2+_0x1f6977/_0x36e164;0x1<_0x2bedb6?(_0x5f2899*=Math[_0x477d('0x2a44')](_0x2bedb6),_0x34e8f7*=Math['sqrt'](_0x2bedb6),_0x15cc15=0x0):(_0x2bedb6=0x1,_0x15cc15===_0x4de458&&(_0x2bedb6=-0x1),_0x15cc15=_0x2bedb6*Math[_0x477d('0x2a44')]((_0x18a7d2*_0x36e164-_0x18a7d2*_0x1f6977-_0x36e164*_0x338b08)/(_0x18a7d2*_0x1f6977+_0x36e164*_0x338b08)));_0x338b08=_0x15cc15*_0x5f2899*_0x57a133/_0x34e8f7;_0x1f6977=-0x1*_0x15cc15*_0x34e8f7*_0x181c11/_0x5f2899;_0x37a7a3=_0x53c08b*_0x338b08-_0x46b779*_0x1f6977+_0x37a7a3/0x2;_0x8a509f=_0x46b779*_0x338b08+_0x53c08b*_0x1f6977+_0x8a509f/0x2;_0x18a7d2=Math[_0x477d('0x2a45')]((_0x57a133-_0x1f6977)/_0x34e8f7,(_0x181c11-_0x338b08)/_0x5f2899)-Math[_0x477d('0x2a45')](0x0,0x1);_0x15cc15=0x0<=_0x18a7d2?_0x18a7d2:0x2*Math['PI']+_0x18a7d2;_0x18a7d2=Math['atan2']((-_0x57a133-_0x1f6977)/_0x34e8f7,(-_0x181c11-_0x338b08)/_0x5f2899)-Math[_0x477d('0x2a45')]((_0x57a133-_0x1f6977)/_0x34e8f7,(_0x181c11-_0x338b08)/_0x5f2899);_0x181c11=0x0<=_0x18a7d2?_0x18a7d2:0x2*Math['PI']+_0x18a7d2;0x0==_0x4de458&&0x0<_0x181c11?_0x181c11-=0x2*Math['PI']:0x0!=_0x4de458&&0x0>_0x181c11&&(_0x181c11+=0x2*Math['PI']);_0x4de458=0x2*_0x181c11/Math['PI'];_0x4de458=Math[_0x477d('0x2a46')](0x0>_0x4de458?-0x1*_0x4de458:_0x4de458);_0x181c11/=_0x4de458;_0x57a133=0x8/0x3*Math[_0x477d('0x2a43')](_0x181c11/0x4)*Math['sin'](_0x181c11/0x4)/Math[_0x477d('0x2a43')](_0x181c11/0x2);_0x338b08=_0x53c08b*_0x5f2899;_0x53c08b*=_0x34e8f7;_0x5f2899*=_0x46b779;_0x34e8f7*=_0x46b779;for(var _0x49c2d9=Math['cos'](_0x15cc15),_0x5660f2=Math[_0x477d('0x2a43')](_0x15cc15),_0x1f6977=-_0x57a133*(_0x338b08*_0x5660f2+_0x34e8f7*_0x49c2d9),_0x18a7d2=-_0x57a133*(_0x5f2899*_0x5660f2-_0x53c08b*_0x49c2d9),_0x2bedb6=_0x36e164=0x0,_0x46b779=[],_0x5a4b16=0x0;_0x5a4b16<_0x4de458;++_0x5a4b16){_0x15cc15+=_0x181c11;var _0x49c2d9=Math[_0x477d('0x2a47')](_0x15cc15),_0x5660f2=Math[_0x477d('0x2a43')](_0x15cc15),_0x36e164=_0x338b08*_0x49c2d9-_0x34e8f7*_0x5660f2+_0x37a7a3,_0x2bedb6=_0x5f2899*_0x49c2d9+_0x53c08b*_0x5660f2+_0x8a509f,_0x1cf76e=-_0x57a133*(_0x338b08*_0x5660f2+_0x34e8f7*_0x49c2d9),_0x49c2d9=-_0x57a133*(_0x5f2899*_0x5660f2-_0x53c08b*_0x49c2d9),_0x5660f2=0x6*_0x5a4b16;_0x46b779[_0x5660f2]=Number(_0x1f6977+_0x4ff79c);_0x46b779[_0x5660f2+0x1]=Number(_0x18a7d2+_0x3f3010);_0x46b779[_0x5660f2+0x2]=Number(_0x36e164-_0x1cf76e+_0x4ff79c);_0x46b779[_0x5660f2+0x3]=Number(_0x2bedb6-_0x49c2d9+_0x3f3010);_0x46b779[_0x5660f2+0x4]=Number(_0x36e164+_0x4ff79c);_0x46b779[_0x5660f2+0x5]=Number(_0x2bedb6+_0x3f3010);_0x1f6977=_0x36e164+_0x1cf76e;_0x18a7d2=_0x2bedb6+_0x49c2d9;}return _0x46b779;},'getBoundingBox':function(_0x103de8,_0x58e301){var _0x20e1bb=null;if(null!=_0x103de8&&null!=_0x58e301&&0x0!=_0x58e301){var _0x372918=mxUtils[_0x477d('0x2a48')](_0x58e301),_0x20e1bb=Math[_0x477d('0x2a47')](_0x372918),_0x513d7c=Math[_0x477d('0x2a43')](_0x372918),_0x198837=new mxPoint(_0x103de8['x']+_0x103de8[_0x477d('0x4ef')]/0x2,_0x103de8['y']+_0x103de8['height']/0x2),_0x57ccc0=new mxPoint(_0x103de8['x'],_0x103de8['y']),_0x372918=new mxPoint(_0x103de8['x']+_0x103de8[_0x477d('0x4ef')],_0x103de8['y']),_0x2ce220=new mxPoint(_0x372918['x'],_0x103de8['y']+_0x103de8[_0x477d('0x504')]),_0x428397=new mxPoint(_0x103de8['x'],_0x2ce220['y']),_0x57ccc0=mxUtils['getRotatedPoint'](_0x57ccc0,_0x20e1bb,_0x513d7c,_0x198837),_0x372918=mxUtils[_0x477d('0x2a49')](_0x372918,_0x20e1bb,_0x513d7c,_0x198837),_0x2ce220=mxUtils[_0x477d('0x2a49')](_0x2ce220,_0x20e1bb,_0x513d7c,_0x198837),_0x428397=mxUtils[_0x477d('0x2a49')](_0x428397,_0x20e1bb,_0x513d7c,_0x198837),_0x20e1bb=new mxRectangle(_0x57ccc0['x'],_0x57ccc0['y'],0x0,0x0);_0x20e1bb[_0x477d('0x440')](new mxRectangle(_0x372918['x'],_0x372918['y'],0x0,0x0));_0x20e1bb['add'](new mxRectangle(_0x2ce220['x'],_0x2ce220['y'],0x0,0x0));_0x20e1bb[_0x477d('0x440')](new mxRectangle(_0x428397['x'],_0x428397['y'],0x0,0x0));}return _0x20e1bb;},'getRotatedPoint':function(_0x1117e3,_0x36f483,_0x568172,_0x449be3){_0x449be3=null!=_0x449be3?_0x449be3:new mxPoint();var _0x442589=_0x1117e3['x']-_0x449be3['x'];_0x1117e3=_0x1117e3['y']-_0x449be3['y'];return new mxPoint(_0x442589*_0x36f483-_0x1117e3*_0x568172+_0x449be3['x'],_0x1117e3*_0x36f483+_0x442589*_0x568172+_0x449be3['y']);},'getPortConstraints':function(_0x588b27,_0x240c7f,_0x326bf3,_0x127957){_0x588b27=mxUtils[_0x477d('0x2a4a')](_0x588b27[_0x477d('0x457')],mxConstants[_0x477d('0x2a4b')],null);if(null==_0x588b27)return _0x127957;_0x127957=_0x588b27[_0x477d('0x453')]();_0x588b27=mxConstants[_0x477d('0x2a4c')];0x0<=_0x127957[_0x477d('0x477')](mxConstants['DIRECTION_NORTH'])&&(_0x588b27|=mxConstants[_0x477d('0x2a4d')]);0x0<=_0x127957[_0x477d('0x477')](mxConstants[_0x477d('0x2a4e')])&&(_0x588b27|=mxConstants[_0x477d('0x2a4f')]);0x0<=_0x127957['indexOf'](mxConstants[_0x477d('0x2a50')])&&(_0x588b27|=mxConstants[_0x477d('0x2a51')]);0x0<=_0x127957[_0x477d('0x477')](mxConstants['DIRECTION_EAST'])&&(_0x588b27|=mxConstants[_0x477d('0x2a52')]);return _0x588b27;},'reversePortConstraints':function(_0x13728a){var _0x44f611=0x0,_0x44f611=(_0x13728a&mxConstants[_0x477d('0x2a4f')])<<0x3,_0x44f611=_0x44f611|(_0x13728a&mxConstants[_0x477d('0x2a4d')])<<0x1,_0x44f611=_0x44f611|(_0x13728a&mxConstants[_0x477d('0x2a51')])>>0x1;return _0x44f611|=(_0x13728a&mxConstants[_0x477d('0x2a52')])>>0x3;},'findNearestSegment':function(_0x31fa80,_0x15375d,_0x45a5fe){var _0xece2ee=-0x1;if(0x0<_0x31fa80['absolutePoints'][_0x477d('0x79')])for(var _0x375884=_0x31fa80['absolutePoints'][0x0],_0xce340=null,_0x4a30af=0x1;_0x4a30af<_0x31fa80['absolutePoints'][_0x477d('0x79')];_0x4a30af++){var _0x35b0f2=_0x31fa80[_0x477d('0x2a53')][_0x4a30af],_0x375884=mxUtils[_0x477d('0x2a54')](_0x375884['x'],_0x375884['y'],_0x35b0f2['x'],_0x35b0f2['y'],_0x15375d,_0x45a5fe);if(null==_0xce340||_0x375884<_0xce340)_0xce340=_0x375884,_0xece2ee=_0x4a30af-0x1;_0x375884=_0x35b0f2;}return _0xece2ee;},'rectangleIntersectsSegment':function(_0x5e684e,_0x171252,_0x36c14d){var _0x1309bd=_0x5e684e['y'],_0x45e5a0=_0x5e684e['x'],_0x5ec601=_0x1309bd+_0x5e684e[_0x477d('0x504')],_0x5fad98=_0x45e5a0+_0x5e684e[_0x477d('0x4ef')];_0x5e684e=_0x171252['x'];var _0x26f950=_0x36c14d['x'];_0x171252['x']>_0x36c14d['x']&&(_0x5e684e=_0x36c14d['x'],_0x26f950=_0x171252['x']);_0x26f950>_0x5fad98&&(_0x26f950=_0x5fad98);_0x5e684e<_0x45e5a0&&(_0x5e684e=_0x45e5a0);if(_0x5e684e>_0x26f950)return!0x1;var _0x45e5a0=_0x171252['y'],_0x5fad98=_0x36c14d['y'],_0x1c1048=_0x36c14d['x']-_0x171252['x'];1e-7_0x5fad98&&(_0x171252=_0x5fad98,_0x5fad98=_0x45e5a0,_0x45e5a0=_0x171252);_0x5fad98>_0x5ec601&&(_0x5fad98=_0x5ec601);_0x45e5a0<_0x1309bd&&(_0x45e5a0=_0x1309bd);return _0x45e5a0>_0x5fad98?!0x1:!0x0;},'contains':function(_0x512262,_0x101dbd,_0x51151f){return _0x512262['x']<=_0x101dbd&&_0x512262['x']+_0x512262[_0x477d('0x4ef')]>=_0x101dbd&&_0x512262['y']<=_0x51151f&&_0x512262['y']+_0x512262[_0x477d('0x504')]>=_0x51151f;},'intersects':function(_0x3958e7,_0x2ca32c){var _0x14f913=_0x3958e7[_0x477d('0x4ef')],_0x27d81c=_0x3958e7[_0x477d('0x504')],_0x25ce74=_0x2ca32c[_0x477d('0x4ef')],_0x59038d=_0x2ca32c['height'];if(0x0>=_0x25ce74||0x0>=_0x59038d||0x0>=_0x14f913||0x0>=_0x27d81c)return!0x1;var _0x3ca1e9=_0x3958e7['x'],_0xf6fa1a=_0x3958e7['y'],_0x3e0be6=_0x2ca32c['x'],_0x4face2=_0x2ca32c['y'],_0x25ce74=_0x25ce74+_0x3e0be6,_0x59038d=_0x59038d+_0x4face2,_0x14f913=_0x14f913+_0x3ca1e9,_0x27d81c=_0x27d81c+_0xf6fa1a;return(_0x25ce74<_0x3e0be6||_0x25ce74>_0x3ca1e9)&&(_0x59038d<_0x4face2||_0x59038d>_0xf6fa1a)&&(_0x14f913<_0x3ca1e9||_0x14f913>_0x3e0be6)&&(_0x27d81c<_0xf6fa1a||_0x27d81c>_0x4face2);},'intersectsHotspot':function(_0x51b349,_0x56b68b,_0xe9ce93,_0x5a6f7b,_0x55a1be,_0x2d835f){_0x5a6f7b=null!=_0x5a6f7b?_0x5a6f7b:0x1;_0x55a1be=null!=_0x55a1be?_0x55a1be:0x0;_0x2d835f=null!=_0x2d835f?_0x2d835f:0x0;if(0x0<_0x5a6f7b){var _0x121c55=_0x51b349['getCenterX'](),_0x4925b0=_0x51b349[_0x477d('0x2a55')](),_0x216d93=_0x51b349[_0x477d('0x4ef')],_0x2a6343=_0x51b349[_0x477d('0x504')],_0xd5f27c=mxUtils['getValue'](_0x51b349['style'],mxConstants[_0x477d('0x2a56')])*_0x51b349['view'][_0x477d('0x29d8')];0x0<_0xd5f27c&&(mxUtils[_0x477d('0x2a4a')](_0x51b349[_0x477d('0x457')],mxConstants['STYLE_HORIZONTAL'],!0x0)?(_0x4925b0=_0x51b349['y']+_0xd5f27c/0x2,_0x2a6343=_0xd5f27c):(_0x121c55=_0x51b349['x']+_0xd5f27c/0x2,_0x216d93=_0xd5f27c));_0x216d93=Math[_0x477d('0x13fc')](_0x55a1be,_0x216d93*_0x5a6f7b);_0x2a6343=Math['max'](_0x55a1be,_0x2a6343*_0x5a6f7b);0x0<_0x2d835f&&(_0x216d93=Math[_0x477d('0x4fa')](_0x216d93,_0x2d835f),_0x2a6343=Math[_0x477d('0x4fa')](_0x2a6343,_0x2d835f));_0x5a6f7b=new mxRectangle(_0x121c55-_0x216d93/0x2,_0x4925b0-_0x2a6343/0x2,_0x216d93,_0x2a6343);_0x121c55=mxUtils[_0x477d('0x2a48')](mxUtils[_0x477d('0x2a4a')](_0x51b349[_0x477d('0x457')],mxConstants['STYLE_ROTATION'])||0x0);0x0!=_0x121c55&&(_0x55a1be=Math['cos'](-_0x121c55),_0x2d835f=Math[_0x477d('0x2a43')](-_0x121c55),_0x121c55=new mxPoint(_0x51b349[_0x477d('0x29d1')](),_0x51b349[_0x477d('0x2a55')]()),_0x51b349=mxUtils['getRotatedPoint'](new mxPoint(_0x56b68b,_0xe9ce93),_0x55a1be,_0x2d835f,_0x121c55),_0x56b68b=_0x51b349['x'],_0xe9ce93=_0x51b349['y']);return mxUtils['contains'](_0x5a6f7b,_0x56b68b,_0xe9ce93);}return!0x0;},'getOffset':function(_0x391121,_0x3935db){var _0x1f6358=0x0,_0x20c9f0=0x0;if(null!=_0x3935db&&_0x3935db)var _0x1c8796=document['body'],_0x297b66=document[_0x477d('0x29ad')],_0x1f6358=_0x1f6358+(_0x1c8796[_0x477d('0x781')]||_0x297b66[_0x477d('0x781')]),_0x20c9f0=_0x20c9f0+(_0x1c8796[_0x477d('0x52a')]||_0x297b66[_0x477d('0x52a')]);for(;_0x391121[_0x477d('0x2a57')];)_0x1f6358+=_0x391121[_0x477d('0x2a58')],_0x20c9f0+=_0x391121[_0x477d('0x2a17')],_0x391121=_0x391121[_0x477d('0x2a57')];return new mxPoint(_0x1f6358,_0x20c9f0);},'getScrollOrigin':function(_0x528cb3){for(var _0x1a059d=document[_0x477d('0x399')],_0x279d67=document[_0x477d('0x29ad')],_0x3aa979=new mxPoint(_0x1a059d[_0x477d('0x781')]||_0x279d67['scrollLeft'],_0x1a059d[_0x477d('0x52a')]||_0x279d67['scrollTop']);null!=_0x528cb3&&_0x528cb3!=_0x1a059d&&_0x528cb3!=_0x279d67;)!isNaN(_0x528cb3[_0x477d('0x781')])&&!isNaN(_0x528cb3['scrollTop'])&&(_0x3aa979['x']+=_0x528cb3[_0x477d('0x781')],_0x3aa979['y']+=_0x528cb3['scrollTop']),_0x528cb3=_0x528cb3['parentNode'];return _0x3aa979;},'convertPoint':function(_0x2a3c92,_0x1a26cf,_0x3ca08c){var _0x58213a=mxUtils[_0x477d('0x2a59')](_0x2a3c92);_0x2a3c92=mxUtils['getOffset'](_0x2a3c92);_0x2a3c92['x']-=_0x58213a['x'];_0x2a3c92['y']-=_0x58213a['y'];return new mxPoint(_0x1a26cf-_0x2a3c92['x'],_0x3ca08c-_0x2a3c92['y']);},'ltrim':function(_0x32add3,_0x229752){return _0x32add3[_0x477d('0x409')](RegExp('^['+(_0x229752||'\x5cs')+']+','g'),'');},'rtrim':function(_0x5b35ef,_0x1d1e2a){return _0x5b35ef['replace'](RegExp('['+(_0x1d1e2a||'\x5cs')+_0x477d('0x2a5a'),'g'),'');},'trim':function(_0x877b72,_0xb5520a){return mxUtils['ltrim'](mxUtils[_0x477d('0x2a5b')](_0x877b72,_0xb5520a),_0xb5520a);},'isNumeric':function(_0x2b3f4f){return null!=_0x2b3f4f&&(null==_0x2b3f4f[_0x477d('0x79')]||0x0<_0x2b3f4f[_0x477d('0x79')]&&0x0>_0x2b3f4f[_0x477d('0x477')]('0x')&&0x0>_0x2b3f4f[_0x477d('0x477')]('0X'))&&!isNaN(_0x2b3f4f);},'mod':function(_0x2be89c,_0x2f6759){return(_0x2be89c%_0x2f6759+_0x2f6759)%_0x2f6759;},'intersection':function(_0x256453,_0x80368d,_0x58769e,_0x484087,_0x11a448,_0x11f5d6,_0x23731e,_0x45e499){var _0x43e228=(_0x45e499-_0x11f5d6)*(_0x58769e-_0x256453)-(_0x23731e-_0x11a448)*(_0x484087-_0x80368d);_0x23731e=((_0x23731e-_0x11a448)*(_0x80368d-_0x11f5d6)-(_0x45e499-_0x11f5d6)*(_0x256453-_0x11a448))/_0x43e228;_0x11a448=((_0x58769e-_0x256453)*(_0x80368d-_0x11f5d6)-(_0x484087-_0x80368d)*(_0x256453-_0x11a448))/_0x43e228;return 0x0<=_0x23731e&&0x1>=_0x23731e&&0x0<=_0x11a448&&0x1>=_0x11a448?new mxPoint(_0x256453+_0x23731e*(_0x58769e-_0x256453),_0x80368d+_0x23731e*(_0x484087-_0x80368d)):null;},'ptSegDistSq':function(_0x29ab27,_0x567977,_0x577748,_0x41f5a7,_0x4517a4,_0x17990e){_0x577748-=_0x29ab27;_0x41f5a7-=_0x567977;_0x4517a4-=_0x29ab27;_0x17990e-=_0x567977;0x0>=_0x4517a4*_0x577748+_0x17990e*_0x41f5a7?_0x577748=0x0:(_0x4517a4=_0x577748-_0x4517a4,_0x17990e=_0x41f5a7-_0x17990e,_0x29ab27=_0x4517a4*_0x577748+_0x17990e*_0x41f5a7,_0x577748=0x0>=_0x29ab27?0x0:_0x29ab27*_0x29ab27/(_0x577748*_0x577748+_0x41f5a7*_0x41f5a7));_0x4517a4=_0x4517a4*_0x4517a4+_0x17990e*_0x17990e-_0x577748;0x0>_0x4517a4&&(_0x4517a4=0x0);return _0x4517a4;},'relativeCcw':function(_0x34f3de,_0x2edd87,_0x1f1bb3,_0x39a158,_0x43203a,_0x467a70){_0x1f1bb3-=_0x34f3de;_0x39a158-=_0x2edd87;_0x43203a-=_0x34f3de;_0x467a70-=_0x2edd87;_0x34f3de=_0x43203a*_0x39a158-_0x467a70*_0x1f1bb3;0x0==_0x34f3de&&(_0x34f3de=_0x43203a*_0x1f1bb3+_0x467a70*_0x39a158,0x0<_0x34f3de&&(_0x34f3de=(_0x43203a-_0x1f1bb3)*_0x1f1bb3+(_0x467a70-_0x39a158)*_0x39a158,0x0>_0x34f3de&&(_0x34f3de=0x0)));return 0x0>_0x34f3de?-0x1:0x0<_0x34f3de?0x1:0x0;},'animateChanges':function(_0x4efc11,_0x121c18){mxEffects[_0x477d('0x2a5c')][_0x477d('0x4f5')](this,arguments);},'cascadeOpacity':function(_0x261903,_0x525b5b,_0x13ec52){mxEffects[_0x477d('0x29dc')][_0x477d('0x4f5')](this,arguments);},'fadeOut':function(_0x5d7aa6,_0x41e7c2,_0x523501,_0x3bb90d,_0x384d79,_0x258f85){mxEffects['fadeOut'][_0x477d('0x4f5')](this,arguments);},'setOpacity':function(_0x54667e,_0x29d2f1){mxUtils['isVml'](_0x54667e)?_0x54667e['style'][_0x477d('0x3b3')]=0x64<=_0x29d2f1?null:_0x477d('0x2a5d')+_0x29d2f1/0x5+')':mxClient['IS_IE']&&(_0x477d('0x4a4')===typeof document['documentMode']||0x9>document[_0x477d('0x2955')])?_0x54667e[_0x477d('0x457')]['filter']=0x64<=_0x29d2f1?null:_0x477d('0x2a5d')+_0x29d2f1+')':_0x54667e[_0x477d('0x457')][_0x477d('0x2a5e')]=_0x29d2f1/0x64;},'createImage':function(_0x22060b){var _0x325ac9=null;mxClient[_0x477d('0x2975')]&&'CSS1Compat'!=document[_0x477d('0x299f')]?(_0x325ac9=document[_0x477d('0x3c7')](mxClient[_0x477d('0x298f')]+_0x477d('0x2a5f')),_0x325ac9[_0x477d('0x494')](_0x477d('0x49b'),_0x22060b),_0x325ac9['style'][_0x477d('0x2a60')]='none'):(_0x325ac9=document['createElement'](_0x477d('0x791')),_0x325ac9[_0x477d('0x494')](_0x477d('0x49b'),_0x22060b),_0x325ac9[_0x477d('0x494')](_0x477d('0x2a61'),'0'));return _0x325ac9;},'sortCells':function(_0x30cae,_0x58c28b){_0x58c28b=null!=_0x58c28b?_0x58c28b:!0x0;var _0x2c6086=new mxDictionary();_0x30cae[_0x477d('0x568')](function(_0x343002,_0x20e748){var _0x4b1194=_0x2c6086[_0x477d('0x376')](_0x343002);null==_0x4b1194&&(_0x4b1194=mxCellPath[_0x477d('0x2a62')](_0x343002)[_0x477d('0x472')](mxCellPath['PATH_SEPARATOR']),_0x2c6086[_0x477d('0x390')](_0x343002,_0x4b1194));var _0x304bef=_0x2c6086[_0x477d('0x376')](_0x20e748);null==_0x304bef&&(_0x304bef=mxCellPath[_0x477d('0x2a62')](_0x20e748)[_0x477d('0x472')](mxCellPath[_0x477d('0x2a63')]),_0x2c6086[_0x477d('0x390')](_0x20e748,_0x304bef));_0x4b1194=mxCellPath[_0x477d('0x2a64')](_0x4b1194,_0x304bef);return 0x0==_0x4b1194?0x0:0x0<_0x4b1194==_0x58c28b?0x1:-0x1;});return _0x30cae;},'getStylename':function(_0x3c7751){return null!=_0x3c7751&&(_0x3c7751=_0x3c7751[_0x477d('0x472')](';')[0x0],0x0>_0x3c7751['indexOf']('='))?_0x3c7751:'';},'getStylenames':function(_0xb4925e){var _0x496554=[];if(null!=_0xb4925e){_0xb4925e=_0xb4925e[_0x477d('0x472')](';');for(var _0x21178e=0x0;_0x21178e<_0xb4925e[_0x477d('0x79')];_0x21178e++)0x0>_0xb4925e[_0x21178e][_0x477d('0x477')]('=')&&_0x496554['push'](_0xb4925e[_0x21178e]);}return _0x496554;},'indexOfStylename':function(_0x5171ed,_0x57180a){if(null!=_0x5171ed&&null!=_0x57180a)for(var _0x3eb1b1=_0x5171ed[_0x477d('0x472')](';'),_0x410d7d=0x0,_0x5c1366=0x0;_0x5c1366<_0x3eb1b1[_0x477d('0x79')];_0x5c1366++){if(_0x3eb1b1[_0x5c1366]==_0x57180a)return _0x410d7d;_0x410d7d+=_0x3eb1b1[_0x5c1366]['length']+0x1;}return-0x1;},'addStylename':function(_0x1f3342,_0x235fc5){0x0>mxUtils['indexOfStylename'](_0x1f3342,_0x235fc5)&&(null==_0x1f3342?_0x1f3342='':0x0<_0x1f3342['length']&&';'!=_0x1f3342[_0x477d('0x29ce')](_0x1f3342[_0x477d('0x79')]-0x1)&&(_0x1f3342+=';'),_0x1f3342+=_0x235fc5);return _0x1f3342;},'removeStylename':function(_0x2e8bf4,_0x3e213b){var _0x12d922=[];if(null!=_0x2e8bf4)for(var _0x2ff3bf=_0x2e8bf4['split'](';'),_0x3e66db=0x0;_0x3e66db<_0x2ff3bf['length'];_0x3e66db++)_0x2ff3bf[_0x3e66db]!=_0x3e213b&&_0x12d922[_0x477d('0x3a7')](_0x2ff3bf[_0x3e66db]);return _0x12d922[_0x477d('0x3f6')](';');},'removeAllStylenames':function(_0x59a573){var _0xf0d722=[];if(null!=_0x59a573){_0x59a573=_0x59a573[_0x477d('0x472')](';');for(var _0x1a5e8e=0x0;_0x1a5e8e<_0x59a573['length'];_0x1a5e8e++)0x0<=_0x59a573[_0x1a5e8e][_0x477d('0x477')]('=')&&_0xf0d722[_0x477d('0x3a7')](_0x59a573[_0x1a5e8e]);}return _0xf0d722['join'](';');},'setCellStyles':function(_0x235d24,_0x353f41,_0x5c7e0d,_0x8f5464){if(null!=_0x353f41&&0x0<_0x353f41[_0x477d('0x79')]){_0x235d24[_0x477d('0x2a65')]();try{for(var _0xe9d384=0x0;_0xe9d384<_0x353f41[_0x477d('0x79')];_0xe9d384++)if(null!=_0x353f41[_0xe9d384]){var _0x390855=mxUtils['setStyle'](_0x235d24['getStyle'](_0x353f41[_0xe9d384]),_0x5c7e0d,_0x8f5464);_0x235d24[_0x477d('0x2a66')](_0x353f41[_0xe9d384],_0x390855);}}finally{_0x235d24[_0x477d('0x2a67')]();}}},'setStyle':function(_0x20c25d,_0x137e0e,_0x45a627){var _0x3db330=null!=_0x45a627&&(_0x477d('0x4a4')==typeof _0x45a627[_0x477d('0x79')]||0x0<_0x45a627[_0x477d('0x79')]);if(null==_0x20c25d||0x0==_0x20c25d[_0x477d('0x79')])_0x3db330&&(_0x20c25d=_0x137e0e+'='+_0x45a627);else{var _0x3ec49b=_0x20c25d[_0x477d('0x477')](_0x137e0e+'=');0x0>_0x3ec49b?_0x3db330&&(_0x3db330=';'==_0x20c25d[_0x477d('0x29ce')](_0x20c25d[_0x477d('0x79')]-0x1)?'':';',_0x20c25d=_0x20c25d+_0x3db330+_0x137e0e+'='+_0x45a627):(_0x137e0e=_0x3db330?_0x137e0e+'='+_0x45a627:'',_0x45a627=_0x20c25d['indexOf'](';',_0x3ec49b),_0x3db330||_0x45a627++,_0x20c25d=_0x20c25d[_0x477d('0x6c6')](0x0,_0x3ec49b)+_0x137e0e+(_0x45a627>_0x3ec49b?_0x20c25d[_0x477d('0x6c6')](_0x45a627):''));}return _0x20c25d;},'setCellStyleFlags':function(_0x4253a1,_0x9c63a6,_0x28564a,_0x217891,_0x53feb5){if(null!=_0x9c63a6&&0x0<_0x9c63a6[_0x477d('0x79')]){_0x4253a1[_0x477d('0x2a65')]();try{for(var _0x1fc45f=0x0;_0x1fc45f<_0x9c63a6['length'];_0x1fc45f++)if(null!=_0x9c63a6[_0x1fc45f]){var _0x26d290=mxUtils['setStyleFlag'](_0x4253a1[_0x477d('0x2a68')](_0x9c63a6[_0x1fc45f]),_0x28564a,_0x217891,_0x53feb5);_0x4253a1[_0x477d('0x2a66')](_0x9c63a6[_0x1fc45f],_0x26d290);}}finally{_0x4253a1[_0x477d('0x2a67')]();}}},'setStyleFlag':function(_0x6d74b3,_0x5c010f,_0xdbb7c2,_0x1f98be){if(null==_0x6d74b3||0x0==_0x6d74b3[_0x477d('0x79')])_0x6d74b3=_0x1f98be||null==_0x1f98be?_0x5c010f+'='+_0xdbb7c2:_0x5c010f+'=0';else{var _0x57caff=_0x6d74b3[_0x477d('0x477')](_0x5c010f+'=');if(0x0>_0x57caff)_0x57caff=';'==_0x6d74b3['charAt'](_0x6d74b3[_0x477d('0x79')]-0x1)?'':';',_0x6d74b3=_0x1f98be||null==_0x1f98be?_0x6d74b3+_0x57caff+_0x5c010f+'='+_0xdbb7c2:_0x6d74b3+_0x57caff+_0x5c010f+'=0';else{var _0x1422ba=_0x6d74b3[_0x477d('0x477')](';',_0x57caff),_0x360151='',_0x360151=0x0>_0x1422ba?_0x6d74b3[_0x477d('0x6c6')](_0x57caff+_0x5c010f[_0x477d('0x79')]+0x1):_0x6d74b3['substring'](_0x57caff+_0x5c010f[_0x477d('0x79')]+0x1,_0x1422ba),_0x360151=null==_0x1f98be?parseInt(_0x360151)^_0xdbb7c2:_0x1f98be?parseInt(_0x360151)|_0xdbb7c2:parseInt(_0x360151)&~_0xdbb7c2;_0x6d74b3=_0x6d74b3['substring'](0x0,_0x57caff)+_0x5c010f+'='+_0x360151+(0x0<=_0x1422ba?_0x6d74b3[_0x477d('0x6c6')](_0x1422ba):'');}}return _0x6d74b3;},'getAlignmentAsPoint':function(_0x29e03e,_0x34cb37){var _0x982483=0x0,_0x110216=0x0;_0x29e03e==mxConstants[_0x477d('0x2a69')]?_0x982483=-0.5:_0x29e03e==mxConstants[_0x477d('0x2a6a')]&&(_0x982483=-0x1);_0x34cb37==mxConstants[_0x477d('0x2a6b')]?_0x110216=-0.5:_0x34cb37==mxConstants['ALIGN_BOTTOM']&&(_0x110216=-0x1);return new mxPoint(_0x982483,_0x110216);},'getSizeForString':function(_0x54cd7b,_0x5d22c8,_0x3d2196){_0x5d22c8=null!=_0x5d22c8?_0x5d22c8:mxConstants['DEFAULT_FONTSIZE'];_0x3d2196=null!=_0x3d2196?_0x3d2196:mxConstants[_0x477d('0x2a6c')];var _0x52bf0e=document[_0x477d('0x3c7')](_0x477d('0x2a6d'));_0x52bf0e[_0x477d('0x457')][_0x477d('0x1864')]=_0x3d2196;_0x52bf0e[_0x477d('0x457')][_0x477d('0x8f3')]=Math[_0x477d('0x4fc')](_0x5d22c8)+'px';_0x52bf0e['style'][_0x477d('0x2a6e')]=Math[_0x477d('0x4fc')](_0x5d22c8*mxConstants[_0x477d('0x2a6f')])+'px';_0x52bf0e[_0x477d('0x457')]['position']=_0x477d('0x54c');_0x52bf0e[_0x477d('0x457')]['whiteSpace']=_0x477d('0x2a70');_0x52bf0e[_0x477d('0x457')][_0x477d('0x29c0')]=_0x477d('0x54d');_0x52bf0e[_0x477d('0x457')]['display']=mxClient[_0x477d('0x2a71')]?_0x477d('0x2a72'):_0x477d('0x2a73');_0x52bf0e['style']['zoom']='1';_0x52bf0e[_0x477d('0x2a0d')]=_0x54cd7b;document[_0x477d('0x399')][_0x477d('0xd8f')](_0x52bf0e);_0x54cd7b=new mxRectangle(0x0,0x0,_0x52bf0e[_0x477d('0x2a74')],_0x52bf0e[_0x477d('0x591')]);document[_0x477d('0x399')][_0x477d('0x29e3')](_0x52bf0e);return _0x54cd7b;},'getViewXml':function(_0x3cff7c,_0x3c9873,_0x34f8eb,_0x44aac8,_0x41ae55){_0x44aac8=null!=_0x44aac8?_0x44aac8:0x0;_0x41ae55=null!=_0x41ae55?_0x41ae55:0x0;_0x3c9873=null!=_0x3c9873?_0x3c9873:0x1;null==_0x34f8eb&&(_0x34f8eb=[_0x3cff7c[_0x477d('0x2a75')]()[_0x477d('0x2a76')]()]);var _0x3e0bb5=_0x3cff7c[_0x477d('0x29d4')](),_0x561ad8=null,_0x26396e=_0x3e0bb5['isEventsEnabled']();_0x3e0bb5[_0x477d('0x2a77')](!0x1);var _0x6ea289=_0x3e0bb5[_0x477d('0x2a78')],_0x16648f=_0x3e0bb5[_0x477d('0x2a79')];_0x3cff7c['dialect']==mxConstants[_0x477d('0x2a7a')]?(_0x3e0bb5[_0x477d('0x2a78')]=document[_0x477d('0x2a7b')](mxConstants[_0x477d('0x2a7c')],'g'),_0x3e0bb5[_0x477d('0x2a7d')]['appendChild'](_0x3e0bb5[_0x477d('0x2a78')]),_0x3e0bb5['overlayPane']=document[_0x477d('0x2a7b')](mxConstants[_0x477d('0x2a7c')],'g')):(_0x3e0bb5['drawPane']=_0x3e0bb5[_0x477d('0x2a78')][_0x477d('0x2a7e')](!0x1),_0x3e0bb5['canvas'][_0x477d('0xd8f')](_0x3e0bb5['drawPane']),_0x3e0bb5[_0x477d('0x2a79')]=_0x3e0bb5[_0x477d('0x2a79')][_0x477d('0x2a7e')](!0x1));_0x3e0bb5[_0x477d('0x2a7d')][_0x477d('0xd8f')](_0x3e0bb5[_0x477d('0x2a79')]);var _0x9b16e1=_0x3e0bb5[_0x477d('0x2a7f')]();_0x3e0bb5['translate']=new mxPoint(_0x44aac8,_0x41ae55);_0x3c9873=new mxTemporaryCellStates(_0x3cff7c['getView'](),_0x3c9873,_0x34f8eb);try{_0x561ad8=new mxCodec()[_0x477d('0x2a80')](_0x3cff7c[_0x477d('0x29d4')]());}finally{_0x3c9873[_0x477d('0x2a81')](),_0x3e0bb5[_0x477d('0x454')]=_0x9b16e1,_0x3e0bb5['canvas'][_0x477d('0x29e3')](_0x3e0bb5[_0x477d('0x2a78')]),_0x3e0bb5['canvas'][_0x477d('0x29e3')](_0x3e0bb5['overlayPane']),_0x3e0bb5[_0x477d('0x2a78')]=_0x6ea289,_0x3e0bb5[_0x477d('0x2a79')]=_0x16648f,_0x3e0bb5[_0x477d('0x2a77')](_0x26396e);}return _0x561ad8;},'getScaleForPageCount':function(_0x99600e,_0x4ee720,_0x17cab3,_0x1521c2){if(0x1>_0x99600e)return 0x1;_0x17cab3=null!=_0x17cab3?_0x17cab3:mxConstants[_0x477d('0x2a82')];_0x1521c2=null!=_0x1521c2?_0x1521c2:0x0;var _0xdd1858=_0x17cab3[_0x477d('0x4ef')]-0x2*_0x1521c2;_0x17cab3=_0x17cab3['height']-0x2*_0x1521c2;_0x1521c2=_0x4ee720['getGraphBounds']()[_0x477d('0x117f')]();_0x4ee720=_0x4ee720[_0x477d('0x29d4')]()['getScale']();_0x1521c2[_0x477d('0x4ef')]/=_0x4ee720;_0x1521c2['height']/=_0x4ee720;_0x4ee720=_0x1521c2[_0x477d('0x4ef')];_0x17cab3=_0x4ee720/_0x1521c2[_0x477d('0x504')]/(_0xdd1858/_0x17cab3);_0x1521c2=Math['sqrt'](_0x99600e);var _0x1282b3=Math['sqrt'](_0x17cab3);_0x17cab3=_0x1521c2*_0x1282b3;_0x1521c2/=_0x1282b3;if(0x1>_0x17cab3&&_0x1521c2>_0x99600e){var _0x55277c=_0x1521c2/_0x99600e;_0x1521c2=_0x99600e;_0x17cab3/=_0x55277c;}0x1>_0x1521c2&&_0x17cab3>_0x99600e&&(_0x55277c=_0x17cab3/_0x99600e,_0x17cab3=_0x99600e,_0x1521c2/=_0x55277c);_0x55277c=Math[_0x477d('0x2a46')](_0x17cab3)*Math[_0x477d('0x2a46')](_0x1521c2);for(_0x1282b3=0x0;_0x55277c>_0x99600e;){var _0x55277c=Math[_0x477d('0x6c4')](_0x17cab3)/_0x17cab3,_0x55c01e=Math[_0x477d('0x6c4')](_0x1521c2)/_0x1521c2;0x1==_0x55277c&&(_0x55277c=Math[_0x477d('0x6c4')](_0x17cab3-0x1)/_0x17cab3);0x1==_0x55c01e&&(_0x55c01e=Math[_0x477d('0x6c4')](_0x1521c2-0x1)/_0x1521c2);_0x55277c=_0x55277c>_0x55c01e?_0x55277c:_0x55c01e;_0x17cab3*=_0x55277c;_0x1521c2*=_0x55277c;_0x55277c=Math[_0x477d('0x2a46')](_0x17cab3)*Math[_0x477d('0x2a46')](_0x1521c2);_0x1282b3++;if(0xa<_0x1282b3)break;}return 0.99999*(_0xdd1858*_0x17cab3/_0x4ee720);},'show':function(_0x1ace69,_0x453c21,_0x3e1ac3,_0x4bb470){_0x3e1ac3=null!=_0x3e1ac3?_0x3e1ac3:0x0;_0x4bb470=null!=_0x4bb470?_0x4bb470:0x0;null==_0x453c21?_0x453c21=window[_0x477d('0x1192')]()[_0x477d('0x945')]:_0x453c21[_0x477d('0x1192')]();var _0xc8e38=_0x1ace69[_0x477d('0x2a83')]();_0x3e1ac3=-_0xc8e38['x']+_0x3e1ac3;_0x4bb470=-_0xc8e38['y']+_0x4bb470;if(mxClient['IS_IE']){for(var _0xc8e38=_0x477d('0x2a84'),_0x12bc5c=document[_0x477d('0x297d')](_0x477d('0x2a85')),_0x1c943c=0x0;_0x1c943c<_0x12bc5c[_0x477d('0x79')];_0x1c943c++)_0xc8e38+=_0x12bc5c[_0x1c943c][_0x477d('0x2a0f')];_0xc8e38+='');};mxPrintPreview['prototype'][_0x477d('0x2f8e')]=function(_0x547a0b,_0x3ef9c3){var _0x534202=this[_0x477d('0x2f72')][_0x477d('0x945')],_0x560264=_0x534202['createElement'](_0x477d('0xd82'));_0x560264[_0x477d('0x471')]='mxPageSelector';_0x560264[_0x477d('0x494')]('border','0');for(var _0x20294f=_0x534202['createElement'](_0x477d('0x299a')),_0x1ea487=0x0;_0x1ea487<_0x547a0b;_0x1ea487++){for(var _0x4aa70a=_0x534202[_0x477d('0x3c7')]('tr'),_0x3cfe80=0x0;_0x3cfe80<_0x3ef9c3;_0x3cfe80++){var _0x1d1332=_0x1ea487*_0x3ef9c3+_0x3cfe80+0x1,_0x629a0e=_0x534202['createElement']('td');if(!mxClient[_0x477d('0x29b1')]||mxClient[_0x477d('0x2981')]||mxClient['IS_GC']){var _0x5abc96=_0x534202[_0x477d('0x3c7')]('a');_0x5abc96[_0x477d('0x494')]('href','#mxPage-'+_0x1d1332);mxUtils[_0x477d('0x28ca')](_0x5abc96,_0x1d1332,_0x534202);_0x629a0e[_0x477d('0xd8f')](_0x5abc96);}else mxUtils[_0x477d('0x28ca')](_0x629a0e,_0x1d1332,_0x534202);_0x4aa70a['appendChild'](_0x629a0e);}_0x20294f[_0x477d('0xd8f')](_0x4aa70a);}_0x560264['appendChild'](_0x20294f);return _0x560264;};mxPrintPreview['prototype'][_0x477d('0x2f81')]=function(_0x73c551,_0x1494a0,_0x2d3756){var _0x16ba7b=document[_0x477d('0x3c7')]('div');try{_0x16ba7b['style']['width']=_0x73c551+'px';_0x16ba7b[_0x477d('0x457')][_0x477d('0x504')]=_0x1494a0+'px';_0x16ba7b[_0x477d('0x457')][_0x477d('0x29e9')]=_0x477d('0x54d');_0x16ba7b[_0x477d('0x457')][_0x477d('0x2f8f')]=_0x477d('0x2ec4');_0x16ba7b[_0x477d('0x457')][_0x477d('0x68f')]=_0x477d('0x2d7f');var _0x46c998=document[_0x477d('0x3c7')](_0x477d('0x2a6d'));_0x46c998[_0x477d('0x457')]['top']=this['border']+'px';_0x46c998[_0x477d('0x457')][_0x477d('0x77e')]=this[_0x477d('0x2a61')]+'px';_0x46c998['style'][_0x477d('0x4ef')]=_0x73c551-0x2*this[_0x477d('0x2a61')]+'px';_0x46c998[_0x477d('0x457')]['height']=_0x1494a0-0x2*this[_0x477d('0x2a61')]+'px';_0x46c998[_0x477d('0x457')][_0x477d('0x29e9')]='hidden';this[_0x477d('0x2c83')]['dialect']==mxConstants[_0x477d('0x2d95')]&&(_0x46c998[_0x477d('0x457')][_0x477d('0x68f')]='absolute');_0x16ba7b['appendChild'](_0x46c998);document['body'][_0x477d('0xd8f')](_0x16ba7b);_0x2d3756(_0x46c998);}catch(_0xe49318){throw _0x16ba7b[_0x477d('0x29e2')][_0x477d('0x29e3')](_0x16ba7b),_0xe49318;}return _0x16ba7b;};mxPrintPreview[_0x477d('0x798')]['addGraphFragment']=function(_0x2d23dc,_0x5f3edc,_0x37af25,_0x303d43,_0x2495dd){_0x303d43=this[_0x477d('0x2c83')]['getView']();var _0x4cee7a=this['graph'][_0x477d('0x4e7')];this['graph']['container']=_0x2495dd;var _0x5e1cd9=_0x303d43[_0x477d('0x2f90')](),_0x41ddd1=_0x303d43[_0x477d('0x2f91')](),_0x1f6eba=_0x303d43[_0x477d('0x2f92')](),_0x413b16=_0x303d43['getOverlayPane']();this[_0x477d('0x2c83')][_0x477d('0x2d93')]==mxConstants['DIALECT_SVG']?_0x303d43[_0x477d('0x2dbe')]():this['graph'][_0x477d('0x2d93')]==mxConstants[_0x477d('0x2d95')]?_0x303d43['createVml']():_0x303d43[_0x477d('0x2dc0')]();var _0x5659c1=_0x303d43['isEventsEnabled']();_0x303d43[_0x477d('0x2a77')](!0x1);var _0x39e8e7=this[_0x477d('0x2c83')][_0x477d('0x2c6f')]();this[_0x477d('0x2c83')][_0x477d('0x2bda')](!0x1);var _0x3f95e5=_0x303d43[_0x477d('0x2a7f')]();_0x303d43[_0x477d('0x454')]=new mxPoint(_0x2d23dc,_0x5f3edc);_0x2d23dc=null;try{var _0x18931b=[this['graph'][_0x477d('0x2a75')]()['getRoot']()];_0x2d23dc=new mxTemporaryCellStates(_0x303d43,_0x37af25,_0x18931b);}finally{if(mxClient[_0x477d('0x2984')])_0x303d43[_0x477d('0x2a79')][_0x477d('0x2a0d')]='';else for(_0x37af25=_0x2495dd[_0x477d('0x29ec')];null!=_0x37af25;)_0x18931b=_0x37af25[_0x477d('0x29ef')],_0x5f3edc=_0x37af25[_0x477d('0x2a01')][_0x477d('0x449')](),_0x477d('0x2d05')==_0x5f3edc?(_0x37af25['setAttribute'](_0x477d('0x4ef'),parseInt(_0x2495dd[_0x477d('0x457')]['width'])),_0x37af25['setAttribute']('height',parseInt(_0x2495dd[_0x477d('0x457')][_0x477d('0x504')]))):'default'!=_0x37af25[_0x477d('0x457')][_0x477d('0x29e4')]&&_0x477d('0xd82')!=_0x5f3edc&&_0x37af25[_0x477d('0x29e2')][_0x477d('0x29e3')](_0x37af25),_0x37af25=_0x18931b;_0x303d43[_0x477d('0x2a79')][_0x477d('0x29e2')]['removeChild'](_0x303d43[_0x477d('0x2a79')]);this[_0x477d('0x2c83')][_0x477d('0x2bda')](_0x39e8e7);this['graph'][_0x477d('0x4e7')]=_0x4cee7a;_0x303d43[_0x477d('0x2a7d')]=_0x5e1cd9;_0x303d43[_0x477d('0x2f93')]=_0x41ddd1;_0x303d43[_0x477d('0x2a78')]=_0x1f6eba;_0x303d43[_0x477d('0x2a79')]=_0x413b16;_0x303d43['translate']=_0x3f95e5;_0x2d23dc['destroy']();_0x303d43[_0x477d('0x2a77')](_0x5659c1);}};mxPrintPreview[_0x477d('0x798')][_0x477d('0x2f94')]=function(){return null;};mxPrintPreview[_0x477d('0x798')][_0x477d('0x2f80')]=function(){return null;};mxPrintPreview[_0x477d('0x798')]['print']=function(){var _0xb57e34=this[_0x477d('0x1192')]();null!=_0xb57e34&&_0xb57e34[_0x477d('0x2a8f')]();};mxPrintPreview[_0x477d('0x798')]['close']=function(){null!=this['wnd']&&(this[_0x477d('0x2f72')]['close'](),this[_0x477d('0x2f72')]=null);};function mxStylesheet(){this[_0x477d('0x185d')]={};this[_0x477d('0x2f95')](this[_0x477d('0x2f96')]());this[_0x477d('0x2f97')](this[_0x477d('0x2f98')]());}mxStylesheet[_0x477d('0x798')]['createDefaultVertexStyle']=function(){var _0x31f160={};_0x31f160[mxConstants[_0x477d('0x2f99')]]=mxConstants[_0x477d('0x2f9a')];_0x31f160[mxConstants[_0x477d('0x2f9b')]]=mxPerimeter[_0x477d('0x2f9c')];_0x31f160[mxConstants['STYLE_VERTICAL_ALIGN']]=mxConstants['ALIGN_MIDDLE'];_0x31f160[mxConstants['STYLE_ALIGN']]=mxConstants[_0x477d('0x2a69')];_0x31f160[mxConstants['STYLE_FILLCOLOR']]=_0x477d('0x2f9d');_0x31f160[mxConstants[_0x477d('0x2de0')]]=_0x477d('0x2f9e');_0x31f160[mxConstants[_0x477d('0x2f9f')]]='#774400';return _0x31f160;};mxStylesheet['prototype']['createDefaultEdgeStyle']=function(){var _0x42f074={};_0x42f074[mxConstants[_0x477d('0x2f99')]]=mxConstants['SHAPE_CONNECTOR'];_0x42f074[mxConstants[_0x477d('0x2e47')]]=mxConstants[_0x477d('0x2df7')];_0x42f074[mxConstants['STYLE_VERTICAL_ALIGN']]=mxConstants[_0x477d('0x2a6b')];_0x42f074[mxConstants[_0x477d('0x2fa0')]]=mxConstants['ALIGN_CENTER'];_0x42f074[mxConstants[_0x477d('0x2de0')]]=_0x477d('0x2f9e');_0x42f074[mxConstants['STYLE_FONTCOLOR']]='#446299';return _0x42f074;};mxStylesheet['prototype'][_0x477d('0x2f95')]=function(_0x1a94d1){this[_0x477d('0x2fa1')](_0x477d('0x2fa2'),_0x1a94d1);};mxStylesheet[_0x477d('0x798')][_0x477d('0x2f97')]=function(_0x1d1e95){this[_0x477d('0x2fa1')](_0x477d('0x2fa3'),_0x1d1e95);};mxStylesheet[_0x477d('0x798')]['getDefaultVertexStyle']=function(){return this[_0x477d('0x185d')][_0x477d('0x2fa2')];};mxStylesheet[_0x477d('0x798')][_0x477d('0x2fa4')]=function(){return this[_0x477d('0x185d')][_0x477d('0x2fa3')];};mxStylesheet[_0x477d('0x798')][_0x477d('0x2fa1')]=function(_0xabbe2f,_0xc1a1cd){this['styles'][_0xabbe2f]=_0xc1a1cd;};mxStylesheet['prototype'][_0x477d('0x2e54')]=function(_0x5d8021,_0x26c029){var _0x4ae7a1=_0x26c029;if(null!=_0x5d8021&&0x0<_0x5d8021['length'])for(var _0x1d0896=_0x5d8021[_0x477d('0x472')](';'),_0x4ae7a1=null!=_0x4ae7a1&&';'!=_0x5d8021[_0x477d('0x29ce')](0x0)?mxUtils[_0x477d('0x117f')](_0x4ae7a1):{},_0x18ad71=0x0;_0x18ad71<_0x1d0896[_0x477d('0x79')];_0x18ad71++){var _0x380cee=_0x1d0896[_0x18ad71],_0x11a04c=_0x380cee[_0x477d('0x477')]('=');if(0x0<=_0x11a04c){var _0xd16693=_0x380cee[_0x477d('0x6c6')](0x0,_0x11a04c),_0x380cee=_0x380cee[_0x477d('0x6c6')](_0x11a04c+0x1);_0x380cee==mxConstants[_0x477d('0x29cb')]?delete _0x4ae7a1[_0xd16693]:mxUtils[_0x477d('0x2f37')](_0x380cee)?_0x4ae7a1[_0xd16693]=parseFloat(_0x380cee):_0x4ae7a1[_0xd16693]=_0x380cee;}else if(_0x380cee=this[_0x477d('0x185d')][_0x380cee],null!=_0x380cee)for(_0xd16693 in _0x380cee)_0x4ae7a1[_0xd16693]=_0x380cee[_0xd16693];}return _0x4ae7a1;};function mxCellState(_0x2833f6,_0x228f95,_0x52f032){this[_0x477d('0x1672')]=_0x2833f6;this['cell']=_0x228f95;this[_0x477d('0x457')]=_0x52f032;this['origin']=new mxPoint();this['absoluteOffset']=new mxPoint();}mxCellState['prototype']=new mxRectangle();mxCellState[_0x477d('0x798')][_0x477d('0x29c3')]=mxCellState;mxCellState[_0x477d('0x798')][_0x477d('0x1672')]=null;mxCellState[_0x477d('0x798')][_0x477d('0x29d5')]=null;mxCellState['prototype'][_0x477d('0x457')]=null;mxCellState['prototype']['invalid']=!0x0;mxCellState[_0x477d('0x798')]['invalidOrder']=!0x1;mxCellState[_0x477d('0x798')][_0x477d('0x2fa5')]=!0x1;mxCellState['prototype'][_0x477d('0x2fa6')]=null;mxCellState[_0x477d('0x798')][_0x477d('0x2a53')]=null;mxCellState[_0x477d('0x798')][_0x477d('0x2fa7')]=null;mxCellState[_0x477d('0x798')]['visibleSourceState']=null;mxCellState['prototype'][_0x477d('0x2fa8')]=null;mxCellState[_0x477d('0x798')][_0x477d('0x2fa9')]=0x0;mxCellState[_0x477d('0x798')]['length']=0x0;mxCellState[_0x477d('0x798')][_0x477d('0x2faa')]=null;mxCellState['prototype'][_0x477d('0x29e0')]=null;mxCellState[_0x477d('0x798')][_0x477d('0x41b')]=null;mxCellState[_0x477d('0x798')][_0x477d('0x2fab')]=function(_0x5b6f91,_0x3333d8){_0x5b6f91=_0x5b6f91||0x0;_0x3333d8=null!=_0x3333d8?_0x3333d8:new mxRectangle(this['x'],this['y'],this[_0x477d('0x4ef')],this['height']);if(null!=this[_0x477d('0x29e0')]&&null!=this[_0x477d('0x29e0')]['stencil']){var _0x1fb8f6=this[_0x477d('0x29e0')][_0x477d('0x2db8')]['computeAspect'](this[_0x477d('0x457')],_0x3333d8['x'],_0x3333d8['y'],_0x3333d8[_0x477d('0x4ef')],_0x3333d8[_0x477d('0x504')]);_0x3333d8['x']=_0x1fb8f6['x'];_0x3333d8['y']=_0x1fb8f6['y'];_0x3333d8[_0x477d('0x4ef')]=this[_0x477d('0x29e0')][_0x477d('0x2db8')]['w0']*_0x1fb8f6[_0x477d('0x4ef')];_0x3333d8[_0x477d('0x504')]=this[_0x477d('0x29e0')][_0x477d('0x2db8')]['h0']*_0x1fb8f6[_0x477d('0x504')];}0x0!=_0x5b6f91&&_0x3333d8[_0x477d('0x29d2')](_0x5b6f91);return _0x3333d8;};mxCellState['prototype'][_0x477d('0x2fac')]=function(_0x737800,_0x3d2469){_0x3d2469?(null==this[_0x477d('0x2a53')]&&(this['absolutePoints']=[]),0x0==this[_0x477d('0x2a53')][_0x477d('0x79')]?this['absolutePoints']['push'](_0x737800):this[_0x477d('0x2a53')][0x0]=_0x737800):null==this['absolutePoints']?(this['absolutePoints']=[],this[_0x477d('0x2a53')]['push'](null),this[_0x477d('0x2a53')][_0x477d('0x3a7')](_0x737800)):0x1==this[_0x477d('0x2a53')][_0x477d('0x79')]?this['absolutePoints'][_0x477d('0x3a7')](_0x737800):this[_0x477d('0x2a53')][this['absolutePoints']['length']-0x1]=_0x737800;};mxCellState[_0x477d('0x798')][_0x477d('0x2de9')]=function(_0x39b2be){null!=this[_0x477d('0x29e0')]&&this[_0x477d('0x29e0')][_0x477d('0x2de9')](_0x39b2be);null!=this[_0x477d('0x41b')]&&this[_0x477d('0x41b')][_0x477d('0x2de9')](_0x39b2be);};mxCellState[_0x477d('0x798')][_0x477d('0x2e58')]=function(_0x2ac6e4){_0x2ac6e4=this[_0x477d('0x2fad')](_0x2ac6e4);return null!=_0x2ac6e4?_0x2ac6e4['cell']:null;};mxCellState[_0x477d('0x798')][_0x477d('0x2fad')]=function(_0x564c8e){return _0x564c8e?this['visibleSourceState']:this[_0x477d('0x2fa8')];};mxCellState[_0x477d('0x798')][_0x477d('0x2fae')]=function(_0x55b835,_0x5ba592){_0x5ba592?this[_0x477d('0x2faf')]=_0x55b835:this[_0x477d('0x2fa8')]=_0x55b835;};mxCellState[_0x477d('0x798')][_0x477d('0x2a81')]=function(){this[_0x477d('0x1672')]['graph'][_0x477d('0x29db')][_0x477d('0x2a81')](this);};mxCellState[_0x477d('0x798')][_0x477d('0x117f')]=function(){var _0x2b9287=new mxCellState(this[_0x477d('0x1672')],this[_0x477d('0x29d5')],this[_0x477d('0x457')]);if(null!=this[_0x477d('0x2a53')]){_0x2b9287[_0x477d('0x2a53')]=[];for(var _0xe3b675=0x0;_0xe3b675=_0x389e42['x']:null!=_0x1183b2&&(_0x896769=_0x1183b2['x']+_0x1183b2['width']<_0x31121c['x']));}else return;_0x389e42=!0x0;null!=_0x26ff02?(_0x1183b2=new mxCellState(),_0x1183b2['x']=_0x26ff02['x'],_0x1183b2['y']=_0x26ff02['y']):null!=_0x1183b2&&(_0x1ef3da=mxUtils['getPortConstraints'](_0x1183b2,_0x5ddd90,!0x1,mxConstants[_0x477d('0x2a4c')]),_0x1ef3da!=mxConstants[_0x477d('0x2a4c')]?_0x389e42=_0x1ef3da==mxConstants['DIRECTION_MASK_WEST']:(_0x5ddd90=_0x24a063['getCellGeometry'](_0x1183b2[_0x477d('0x29d5')]),_0x5ddd90[_0x477d('0x2d7f')]?_0x389e42=0.5>=_0x5ddd90['x']:null!=_0x31121c&&(_0x389e42=_0x31121c['x']+_0x31121c['width']<_0x1183b2['x'])));null!=_0x31121c&&null!=_0x1183b2&&(_0x5ddd90=_0x896769?_0x31121c['x']:_0x31121c['x']+_0x31121c[_0x477d('0x4ef')],_0x31121c=_0x1aa2ae[_0x477d('0x303c')](_0x31121c),_0x24a063=_0x389e42?_0x1183b2['x']:_0x1183b2['x']+_0x1183b2['width'],_0x1183b2=_0x1aa2ae['getRoutingCenterY'](_0x1183b2),_0x1aa2ae=new mxPoint(_0x5ddd90+(_0x896769?-_0x2b63ad:_0x2b63ad),_0x31121c),_0x26ff02=new mxPoint(_0x24a063+(_0x389e42?-_0x2b63ad:_0x2b63ad),_0x1183b2),_0x896769==_0x389e42?(_0x2b63ad=_0x896769?Math[_0x477d('0x4fa')](_0x5ddd90,_0x24a063)-_0x2b63ad:Math['max'](_0x5ddd90,_0x24a063)+_0x2b63ad,_0x1e6de3[_0x477d('0x3a7')](new mxPoint(_0x2b63ad,_0x31121c)),_0x1e6de3['push'](new mxPoint(_0x2b63ad,_0x1183b2))):(_0x1aa2ae['x']<_0x26ff02['x']==_0x896769?(_0x2b63ad=_0x31121c+(_0x1183b2-_0x31121c)/0x2,_0x1e6de3['push'](_0x1aa2ae),_0x1e6de3[_0x477d('0x3a7')](new mxPoint(_0x1aa2ae['x'],_0x2b63ad)),_0x1e6de3[_0x477d('0x3a7')](new mxPoint(_0x26ff02['x'],_0x2b63ad))):_0x1e6de3[_0x477d('0x3a7')](_0x1aa2ae),_0x1e6de3[_0x477d('0x3a7')](_0x26ff02)));},'Loop':function(_0x18788f,_0x31cfbe,_0x5a657e,_0xefc132,_0x4bd2af){if(null!=_0x31cfbe){_0x5a657e=_0x18788f[_0x477d('0x1672')];var _0x176449=_0x5a657e[_0x477d('0x2c83')];_0xefc132=null!=_0xefc132&&0x0<_0xefc132[_0x477d('0x79')]?_0xefc132[0x0]:null;null!=_0xefc132&&(_0xefc132=_0x5a657e[_0x477d('0x303d')](_0x18788f,_0xefc132),mxUtils[_0x477d('0x2f32')](_0x31cfbe,_0xefc132['x'],_0xefc132['y'])&&(_0xefc132=null));var _0x30065d=0x0,_0x30a4b6=0x0,_0x3523dd=0x0,_0xc8992f=0x0,_0x176449=mxUtils[_0x477d('0x2a4a')](_0x18788f[_0x477d('0x457')],mxConstants[_0x477d('0x303a')],_0x176449['gridSize'])*_0x5a657e['scale'];_0x18788f=mxUtils[_0x477d('0x2a4a')](_0x18788f['style'],mxConstants[_0x477d('0x2da7')],mxConstants[_0x477d('0x2a4e')]);_0x18788f==mxConstants[_0x477d('0x2d0f')]||_0x18788f==mxConstants[_0x477d('0x2a50')]?(_0x30065d=_0x5a657e['getRoutingCenterX'](_0x31cfbe),_0x30a4b6=_0x176449):(_0x3523dd=_0x5a657e[_0x477d('0x303c')](_0x31cfbe),_0xc8992f=_0x176449);null==_0xefc132||_0xefc132['x']<_0x31cfbe['x']||_0xefc132['x']>_0x31cfbe['x']+_0x31cfbe[_0x477d('0x4ef')]?null!=_0xefc132?(_0x30065d=_0xefc132['x'],_0xc8992f=Math[_0x477d('0x13fc')](Math[_0x477d('0x2a42')](_0x3523dd-_0xefc132['y']),_0xc8992f)):_0x18788f==mxConstants[_0x477d('0x2d0f')]?_0x3523dd=_0x31cfbe['y']-0x2*_0x30a4b6:_0x18788f==mxConstants['DIRECTION_SOUTH']?_0x3523dd=_0x31cfbe['y']+_0x31cfbe[_0x477d('0x504')]+0x2*_0x30a4b6:_0x30065d=_0x18788f==mxConstants['DIRECTION_EAST']?_0x31cfbe['x']-0x2*_0xc8992f:_0x31cfbe['x']+_0x31cfbe[_0x477d('0x4ef')]+0x2*_0xc8992f:null!=_0xefc132&&(_0x30065d=_0x5a657e[_0x477d('0x303e')](_0x31cfbe),_0x30a4b6=Math[_0x477d('0x13fc')](Math[_0x477d('0x2a42')](_0x30065d-_0xefc132['x']),_0xc8992f),_0x3523dd=_0xefc132['y'],_0xc8992f=0x0);_0x4bd2af[_0x477d('0x3a7')](new mxPoint(_0x30065d-_0x30a4b6,_0x3523dd-_0xc8992f));_0x4bd2af['push'](new mxPoint(_0x30065d+_0x30a4b6,_0x3523dd+_0xc8992f));}},'ElbowConnector':function(_0xd06b1f,_0x40d0f5,_0x1e2f2a,_0x278864,_0x349759){var _0x8c247=null!=_0x278864&&0x0<_0x278864[_0x477d('0x79')]?_0x278864[0x0]:null,_0x525b71=!0x1,_0x3ac248=!0x1;if(null!=_0x40d0f5&&null!=_0x1e2f2a)if(null!=_0x8c247)var _0x11cda7=Math[_0x477d('0x4fa')](_0x40d0f5['x'],_0x1e2f2a['x']),_0x4a5724=Math['max'](_0x40d0f5['x']+_0x40d0f5[_0x477d('0x4ef')],_0x1e2f2a['x']+_0x1e2f2a[_0x477d('0x4ef')]),_0x3ac248=Math[_0x477d('0x4fa')](_0x40d0f5['y'],_0x1e2f2a['y']),_0xfe39d1=Math[_0x477d('0x13fc')](_0x40d0f5['y']+_0x40d0f5['height'],_0x1e2f2a['y']+_0x1e2f2a[_0x477d('0x504')]),_0x8c247=_0xd06b1f['view'][_0x477d('0x303d')](_0xd06b1f,_0x8c247),_0x525b71=_0x8c247['y']<_0x3ac248||_0x8c247['y']>_0xfe39d1,_0x3ac248=_0x8c247['x']<_0x11cda7||_0x8c247['x']>_0x4a5724;else _0x11cda7=Math[_0x477d('0x13fc')](_0x40d0f5['x'],_0x1e2f2a['x']),_0x4a5724=Math['min'](_0x40d0f5['x']+_0x40d0f5['width'],_0x1e2f2a['x']+_0x1e2f2a['width']),_0x525b71=_0x11cda7==_0x4a5724,_0x525b71||(_0x3ac248=Math[_0x477d('0x13fc')](_0x40d0f5['y'],_0x1e2f2a['y']),_0xfe39d1=Math['min'](_0x40d0f5['y']+_0x40d0f5[_0x477d('0x504')],_0x1e2f2a['y']+_0x1e2f2a[_0x477d('0x504')]),_0x3ac248=_0x3ac248==_0xfe39d1);!_0x3ac248&&(_0x525b71||_0xd06b1f[_0x477d('0x457')][mxConstants['STYLE_ELBOW']]==mxConstants[_0x477d('0x303f')])?mxEdgeStyle[_0x477d('0x3040')](_0xd06b1f,_0x40d0f5,_0x1e2f2a,_0x278864,_0x349759):mxEdgeStyle[_0x477d('0x3041')](_0xd06b1f,_0x40d0f5,_0x1e2f2a,_0x278864,_0x349759);},'SideToSide':function(_0x1d2bc8,_0x2ca635,_0x4a98ed,_0x453e62,_0x52bc37){var _0x474e7f=_0x1d2bc8[_0x477d('0x1672')];_0x453e62=null!=_0x453e62&&0x0<_0x453e62[_0x477d('0x79')]?_0x453e62[0x0]:null;var _0x3d6df0=_0x1d2bc8['absolutePoints'],_0xd29022=_0x3d6df0[0x0],_0x3d6df0=_0x3d6df0[_0x3d6df0[_0x477d('0x79')]-0x1];null!=_0x453e62&&(_0x453e62=_0x474e7f['transformControlPoint'](_0x1d2bc8,_0x453e62));null!=_0xd29022&&(_0x2ca635=new mxCellState(),_0x2ca635['x']=_0xd29022['x'],_0x2ca635['y']=_0xd29022['y']);null!=_0x3d6df0&&(_0x4a98ed=new mxCellState(),_0x4a98ed['x']=_0x3d6df0['x'],_0x4a98ed['y']=_0x3d6df0['y']);null!=_0x2ca635&&null!=_0x4a98ed&&(_0x1d2bc8=Math[_0x477d('0x13fc')](_0x2ca635['x'],_0x4a98ed['x']),_0xd29022=Math[_0x477d('0x4fa')](_0x2ca635['x']+_0x2ca635[_0x477d('0x4ef')],_0x4a98ed['x']+_0x4a98ed['width']),_0x1d2bc8=null!=_0x453e62?_0x453e62['x']:_0xd29022+(_0x1d2bc8-_0xd29022)/0x2,_0xd29022=_0x474e7f['getRoutingCenterY'](_0x2ca635),_0x474e7f=_0x474e7f[_0x477d('0x303c')](_0x4a98ed),null!=_0x453e62&&(_0x453e62['y']>=_0x2ca635['y']&&_0x453e62['y']<=_0x2ca635['y']+_0x2ca635[_0x477d('0x504')]&&(_0xd29022=_0x453e62['y']),_0x453e62['y']>=_0x4a98ed['y']&&_0x453e62['y']<=_0x4a98ed['y']+_0x4a98ed['height']&&(_0x474e7f=_0x453e62['y'])),!mxUtils[_0x477d('0x2f32')](_0x4a98ed,_0x1d2bc8,_0xd29022)&&!mxUtils[_0x477d('0x2f32')](_0x2ca635,_0x1d2bc8,_0xd29022)&&_0x52bc37['push'](new mxPoint(_0x1d2bc8,_0xd29022)),!mxUtils['contains'](_0x4a98ed,_0x1d2bc8,_0x474e7f)&&!mxUtils[_0x477d('0x2f32')](_0x2ca635,_0x1d2bc8,_0x474e7f)&&_0x52bc37['push'](new mxPoint(_0x1d2bc8,_0x474e7f)),0x1==_0x52bc37[_0x477d('0x79')]&&(null!=_0x453e62?!mxUtils[_0x477d('0x2f32')](_0x4a98ed,_0x1d2bc8,_0x453e62['y'])&&!mxUtils['contains'](_0x2ca635,_0x1d2bc8,_0x453e62['y'])&&_0x52bc37[_0x477d('0x3a7')](new mxPoint(_0x1d2bc8,_0x453e62['y'])):(_0x474e7f=Math[_0x477d('0x13fc')](_0x2ca635['y'],_0x4a98ed['y']),_0x2ca635=Math[_0x477d('0x4fa')](_0x2ca635['y']+_0x2ca635['height'],_0x4a98ed['y']+_0x4a98ed['height']),_0x52bc37['push'](new mxPoint(_0x1d2bc8,_0x474e7f+(_0x2ca635-_0x474e7f)/0x2)))));},'TopToBottom':function(_0x140d82,_0x30732c,_0xf7290e,_0x5eca09,_0x2eff64){var _0x4fa08b=_0x140d82[_0x477d('0x1672')];_0x5eca09=null!=_0x5eca09&&0x0<_0x5eca09[_0x477d('0x79')]?_0x5eca09[0x0]:null;var _0x6e92f3=_0x140d82['absolutePoints'],_0x8d4287=_0x6e92f3[0x0],_0x6e92f3=_0x6e92f3[_0x6e92f3[_0x477d('0x79')]-0x1];null!=_0x5eca09&&(_0x5eca09=_0x4fa08b[_0x477d('0x303d')](_0x140d82,_0x5eca09));null!=_0x8d4287&&(_0x30732c=new mxCellState(),_0x30732c['x']=_0x8d4287['x'],_0x30732c['y']=_0x8d4287['y']);null!=_0x6e92f3&&(_0xf7290e=new mxCellState(),_0xf7290e['x']=_0x6e92f3['x'],_0xf7290e['y']=_0x6e92f3['y']);null!=_0x30732c&&null!=_0xf7290e&&(_0x8d4287=Math[_0x477d('0x13fc')](_0x30732c['y'],_0xf7290e['y']),_0x6e92f3=Math[_0x477d('0x4fa')](_0x30732c['y']+_0x30732c[_0x477d('0x504')],_0xf7290e['y']+_0xf7290e['height']),_0x140d82=_0x4fa08b[_0x477d('0x303e')](_0x30732c),null!=_0x5eca09&&(_0x5eca09['x']>=_0x30732c['x']&&_0x5eca09['x']<=_0x30732c['x']+_0x30732c[_0x477d('0x4ef')])&&(_0x140d82=_0x5eca09['x']),_0x8d4287=null!=_0x5eca09?_0x5eca09['y']:_0x6e92f3+(_0x8d4287-_0x6e92f3)/0x2,!mxUtils['contains'](_0xf7290e,_0x140d82,_0x8d4287)&&!mxUtils[_0x477d('0x2f32')](_0x30732c,_0x140d82,_0x8d4287)&&_0x2eff64[_0x477d('0x3a7')](new mxPoint(_0x140d82,_0x8d4287)),_0x140d82=null!=_0x5eca09&&_0x5eca09['x']>=_0xf7290e['x']&&_0x5eca09['x']<=_0xf7290e['x']+_0xf7290e['width']?_0x5eca09['x']:_0x4fa08b[_0x477d('0x303e')](_0xf7290e),!mxUtils[_0x477d('0x2f32')](_0xf7290e,_0x140d82,_0x8d4287)&&!mxUtils['contains'](_0x30732c,_0x140d82,_0x8d4287)&&_0x2eff64[_0x477d('0x3a7')](new mxPoint(_0x140d82,_0x8d4287)),0x1==_0x2eff64[_0x477d('0x79')]&&(null!=_0x5eca09&&0x1==_0x2eff64[_0x477d('0x79')]?!mxUtils['contains'](_0xf7290e,_0x5eca09['x'],_0x8d4287)&&!mxUtils[_0x477d('0x2f32')](_0x30732c,_0x5eca09['x'],_0x8d4287)&&_0x2eff64[_0x477d('0x3a7')](new mxPoint(_0x5eca09['x'],_0x8d4287)):(_0x4fa08b=Math[_0x477d('0x13fc')](_0x30732c['x'],_0xf7290e['x']),_0x30732c=Math['min'](_0x30732c['x']+_0x30732c[_0x477d('0x4ef')],_0xf7290e['x']+_0xf7290e[_0x477d('0x4ef')]),_0x2eff64['push'](new mxPoint(_0x4fa08b+(_0x30732c-_0x4fa08b)/0x2,_0x8d4287)))));},'SegmentConnector':function(_0x19eae5,_0x1281a0,_0x45f288,_0x30771a,_0x4d0398){var _0x5abb75=_0x19eae5[_0x477d('0x2a53')],_0x386110=!0x0,_0x333b68=null,_0x41c33c=_0x5abb75[0x0];null==_0x41c33c&&null!=_0x1281a0?_0x41c33c=new mxPoint(_0x19eae5[_0x477d('0x1672')][_0x477d('0x303e')](_0x1281a0),_0x19eae5[_0x477d('0x1672')][_0x477d('0x303c')](_0x1281a0)):null!=_0x41c33c&&(_0x41c33c=_0x41c33c[_0x477d('0x117f')]());var _0x58d388=_0x5abb75[_0x477d('0x79')]-0x1;if(null!=_0x30771a&&0x0<_0x30771a[_0x477d('0x79')]){for(var _0x333b68=_0x19eae5[_0x477d('0x1672')]['transformControlPoint'](_0x19eae5,_0x30771a[0x0]),_0x28199d=_0x1281a0,_0x3e9e53=_0x5abb75[0x0],_0x3cb1a7=!0x1,_0x1e4a94=!0x1,_0x3cb1a7=_0x333b68,_0x2bd21e=_0x30771a[_0x477d('0x79')],_0x4bf898=0x0;0x2>_0x4bf898;_0x4bf898++){var _0xcc6a5b=null!=_0x3e9e53&&_0x3e9e53['x']==_0x3cb1a7['x'],_0x14b722=null!=_0x3e9e53&&_0x3e9e53['y']==_0x3cb1a7['y'],_0x63759a=null!=_0x28199d&&_0x3cb1a7['y']>=_0x28199d['y']&&_0x3cb1a7['y']<=_0x28199d['y']+_0x28199d['height'],_0x28199d=null!=_0x28199d&&_0x3cb1a7['x']>=_0x28199d['x']&&_0x3cb1a7['x']<=_0x28199d['x']+_0x28199d[_0x477d('0x4ef')],_0x3cb1a7=_0x14b722||null==_0x3e9e53&&_0x63759a,_0x1e4a94=_0xcc6a5b||null==_0x3e9e53&&_0x28199d;if(null!=_0x3e9e53&&!_0x14b722&&!_0xcc6a5b&&(_0x63759a||_0x28199d)){_0x386110=_0x63759a?!0x1:!0x0;break;}if(_0x1e4a94||_0x3cb1a7){_0x386110=_0x3cb1a7;0x1==_0x4bf898&&(_0x386110=0x0==_0x30771a[_0x477d('0x79')]%0x2?_0x3cb1a7:_0x1e4a94);break;}_0x28199d=_0x45f288;_0x3e9e53=_0x5abb75[_0x58d388];_0x3cb1a7=_0x19eae5[_0x477d('0x1672')]['transformControlPoint'](_0x19eae5,_0x30771a[_0x2bd21e-0x1]);}_0x386110&&(null!=_0x5abb75[0x0]&&_0x5abb75[0x0]['y']!=_0x333b68['y']||null==_0x5abb75[0x0]&&null!=_0x1281a0&&(_0x333b68['y']<_0x1281a0['y']||_0x333b68['y']>_0x1281a0['y']+_0x1281a0[_0x477d('0x504')]))?_0x4d0398[_0x477d('0x3a7')](new mxPoint(_0x41c33c['x'],_0x333b68['y'])):!_0x386110&&(null!=_0x5abb75[0x0]&&_0x5abb75[0x0]['x']!=_0x333b68['x']||null==_0x5abb75[0x0]&&null!=_0x1281a0&&(_0x333b68['x']<_0x1281a0['x']||_0x333b68['x']>_0x1281a0['x']+_0x1281a0[_0x477d('0x4ef')]))&&_0x4d0398[_0x477d('0x3a7')](new mxPoint(_0x333b68['x'],_0x41c33c['y']));_0x386110?_0x41c33c['y']=_0x333b68['y']:_0x41c33c['x']=_0x333b68['x'];for(_0x4bf898=0x0;_0x4bf898<_0x30771a[_0x477d('0x79')];_0x4bf898++)_0x386110=!_0x386110,_0x333b68=_0x19eae5['view'][_0x477d('0x303d')](_0x19eae5,_0x30771a[_0x4bf898]),_0x386110?_0x41c33c['y']=_0x333b68['y']:_0x41c33c['x']=_0x333b68['x'],_0x4d0398['push'](_0x41c33c[_0x477d('0x117f')]());}else _0x333b68=_0x41c33c,_0x386110=!0x0;_0x41c33c=_0x5abb75[_0x58d388];null==_0x41c33c&&null!=_0x45f288&&(_0x41c33c=new mxPoint(_0x19eae5[_0x477d('0x1672')]['getRoutingCenterX'](_0x45f288),_0x19eae5[_0x477d('0x1672')][_0x477d('0x303c')](_0x45f288)));_0x386110&&(null!=_0x5abb75[_0x58d388]&&_0x5abb75[_0x58d388]['y']!=_0x333b68['y']||null==_0x5abb75[_0x58d388]&&null!=_0x45f288&&(_0x333b68['y']<_0x45f288['y']||_0x333b68['y']>_0x45f288['y']+_0x45f288[_0x477d('0x504')]))?_0x4d0398[_0x477d('0x3a7')](new mxPoint(_0x41c33c['x'],_0x333b68['y'])):!_0x386110&&(null!=_0x5abb75[_0x58d388]&&_0x5abb75[_0x58d388]['x']!=_0x333b68['x']||null==_0x5abb75[_0x58d388]&&null!=_0x45f288&&(_0x333b68['x']<_0x45f288['x']||_0x333b68['x']>_0x45f288['x']+_0x45f288[_0x477d('0x4ef')]))&&_0x4d0398[_0x477d('0x3a7')](new mxPoint(_0x333b68['x'],_0x41c33c['y']));if(null==_0x5abb75[0x0]&&null!=_0x1281a0)for(;0x1<_0x4d0398['length']&&mxUtils['contains'](_0x1281a0,_0x4d0398[0x1]['x'],_0x4d0398[0x1]['y']);)_0x4d0398=_0x4d0398['splice'](0x1,0x1);if(null==_0x5abb75[_0x58d388]&&null!=_0x45f288)for(;0x1<_0x4d0398['length']&&mxUtils[_0x477d('0x2f32')](_0x45f288,_0x4d0398[_0x4d0398[_0x477d('0x79')]-0x1]['x'],_0x4d0398[_0x4d0398['length']-0x1]['y']);)_0x4d0398=_0x4d0398[_0x477d('0x45b')](_0x4d0398[_0x477d('0x79')]-0x1,0x1);},'orthBuffer':0xa,'dirVectors':[[-0x1,0x0],[0x0,-0x1],[0x1,0x0],[0x0,0x1],[-0x1,0x0],[0x0,-0x1],[0x1,0x0]],'wayPoints1':[[0x0,0x0],[0x0,0x0],[0x0,0x0],[0x0,0x0],[0x0,0x0],[0x0,0x0],[0x0,0x0],[0x0,0x0],[0x0,0x0],[0x0,0x0],[0x0,0x0],[0x0,0x0]],'routePatterns':[[[0x201,0x904,0x821,0xa02],[0x201,0x442,0x202,0x888,0x842,0xa01],[0x201,0x442,0x202,0xa04,0x888,0xa02],[0x201,0x904,0xa01,0x442,0x202,0xa08,0x904]],[[0x202,0x421,0x201,0x904,0x821,0xa02],[0x202,0x888,0x842,0xa01],[0x202,0x888,0xa02,0x421,0x201,0xa04,0x888],[0x202,0x421,0x201,0xa08,0x904,0xa01]],[[0x442,0x202,0x421,0x201,0x904,0x821,0xa02],[0x842,0xa01],[0x442,0xa02,0x421,0x201,0xa04,0x888],[0x442,0x202,0x421,0x201,0x904,0xa01,0xa08]],[[0x821,0xa02],[0x421,0x201,0x442,0x202,0x888,0x842,0xa01],[0x421,0x201,0x442,0x202,0x888,0xa02,0xa04],[0x421,0xa01,0x442,0x202,0xa08,0x904]]],'inlineRoutePatterns':[[null,[0x842,0xa08],null,null],[null,[0x202,0x821,0x842,0xa08],null,null],[null,[0x842,0xa01],null,null],[[0x821,0xa02],[0x421,0x842,0xa08],[0x888,0xa02],null]],'vertexSeperations':[],'limits':[[0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0],[0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0]],'LEFT_MASK':0x20,'TOP_MASK':0x40,'RIGHT_MASK':0x80,'BOTTOM_MASK':0x100,'LEFT':0x1,'TOP':0x2,'RIGHT':0x4,'BOTTOM':0x8,'SIDE_MASK':0x1e0,'CENTER_MASK':0x200,'SOURCE_MASK':0x400,'TARGET_MASK':0x800,'VERTEX_MASK':0xc00,'OrthConnector':function(_0x4e553c,_0x561696,_0x38c438,_0x436bb7,_0x11b833){var _0x1a6916=_0x4e553c[_0x477d('0x1672')]['graph'],_0x482b69=null==_0x561696?!0x1:_0x1a6916[_0x477d('0x2a75')]()['isEdge'](_0x561696[_0x477d('0x29d5')]),_0x1a6916=null==_0x38c438?!0x1:_0x1a6916[_0x477d('0x2a75')]()['isEdge'](_0x38c438['cell']);if(null!=_0x436bb7&&0x0<_0x436bb7['length']||_0x482b69||_0x1a6916)mxEdgeStyle[_0x477d('0x3042')](_0x4e553c,_0x561696,_0x38c438,_0x436bb7,_0x11b833);else{_0x436bb7=_0x4e553c['absolutePoints'];var _0x3992d0=_0x436bb7[0x0],_0x189f64=_0x436bb7[_0x436bb7[_0x477d('0x79')]-0x1];_0x436bb7=null!=_0x561696?_0x561696['x']:_0x3992d0['x'];var _0x482b69=null!=_0x561696?_0x561696['y']:_0x3992d0['y'],_0x35a0f7=null!=_0x561696?_0x561696[_0x477d('0x4ef')]:0x1,_0x421d17=null!=_0x561696?_0x561696[_0x477d('0x504')]:0x1,_0x204fac=null!=_0x38c438?_0x38c438['x']:_0x189f64['x'],_0x1bc6c0=null!=_0x38c438?_0x38c438['y']:_0x189f64['y'],_0x318475=null!=_0x38c438?_0x38c438['width']:0x1,_0x342158=null!=_0x38c438?_0x38c438[_0x477d('0x504')]:0x1,_0x1a6916=_0x4e553c[_0x477d('0x1672')][_0x477d('0x29d8')]*mxEdgeStyle[_0x477d('0x3043')],_0x453603=[mxConstants[_0x477d('0x3044')],mxConstants[_0x477d('0x3044')]];null!=_0x561696&&(_0x453603[0x0]=mxUtils[_0x477d('0x3045')](_0x561696,_0x4e553c,!0x0,mxConstants[_0x477d('0x3044')]));null!=_0x38c438&&(_0x453603[0x1]=mxUtils['getPortConstraints'](_0x38c438,_0x4e553c,!0x1,mxConstants[_0x477d('0x3044')]));_0x4e553c=[0x0,0x0];_0x436bb7=[[_0x436bb7,_0x482b69,_0x35a0f7,_0x421d17],[_0x204fac,_0x1bc6c0,_0x318475,_0x342158]];for(_0x35a0f7=0x0;0x2>_0x35a0f7;_0x35a0f7++)mxEdgeStyle[_0x477d('0x3046')][_0x35a0f7][0x1]=_0x436bb7[_0x35a0f7][0x0]-_0x1a6916,mxEdgeStyle['limits'][_0x35a0f7][0x2]=_0x436bb7[_0x35a0f7][0x1]-_0x1a6916,mxEdgeStyle[_0x477d('0x3046')][_0x35a0f7][0x4]=_0x436bb7[_0x35a0f7][0x0]+_0x436bb7[_0x35a0f7][0x2]+_0x1a6916,mxEdgeStyle[_0x477d('0x3046')][_0x35a0f7][0x8]=_0x436bb7[_0x35a0f7][0x1]+_0x436bb7[_0x35a0f7][0x3]+_0x1a6916;_0x35a0f7=_0x436bb7[0x0][0x0]+_0x436bb7[0x0][0x2]/0x2-(_0x436bb7[0x1][0x0]+_0x436bb7[0x1][0x2]/0x2);_0x421d17=_0x436bb7[0x0][0x1]+_0x436bb7[0x0][0x3]/0x2-(_0x436bb7[0x1][0x1]+_0x436bb7[0x1][0x3]/0x2);_0x482b69=0x0;0x0>_0x35a0f7?_0x482b69=0x0>_0x421d17?0x2:0x1:0x0>=_0x421d17&&(_0x482b69=0x3,0x0==_0x35a0f7&&(_0x482b69=0x2));_0x421d17=null;null!=_0x561696&&(_0x421d17=_0x3992d0);_0x561696=[[0.5,0.5],[0.5,0.5]];for(_0x35a0f7=0x0;0x2>_0x35a0f7;_0x35a0f7++)null!=_0x421d17&&(_0x561696[_0x35a0f7][0x0]=(_0x421d17['x']-_0x436bb7[_0x35a0f7][0x0])/_0x436bb7[_0x35a0f7][0x2],0.01>_0x561696[_0x35a0f7][0x0]?_0x4e553c[_0x35a0f7]=mxConstants[_0x477d('0x2a4f')]:0.99<_0x561696[_0x35a0f7][0x0]&&(_0x4e553c[_0x35a0f7]=mxConstants['DIRECTION_MASK_EAST']),_0x561696[_0x35a0f7][0x1]=(_0x421d17['y']-_0x436bb7[_0x35a0f7][0x1])/_0x436bb7[_0x35a0f7][0x3],0.01>_0x561696[_0x35a0f7][0x1]?_0x4e553c[_0x35a0f7]=mxConstants['DIRECTION_MASK_NORTH']:0.99<_0x561696[_0x35a0f7][0x1]&&(_0x4e553c[_0x35a0f7]=mxConstants[_0x477d('0x2a51')])),_0x421d17=null,null!=_0x38c438&&(_0x421d17=_0x189f64);_0x35a0f7=_0x436bb7[0x0][0x1]-(_0x436bb7[0x1][0x1]+_0x436bb7[0x1][0x3]);_0x421d17=_0x436bb7[0x0][0x0]-(_0x436bb7[0x1][0x0]+_0x436bb7[0x1][0x2]);_0x204fac=_0x436bb7[0x1][0x1]-(_0x436bb7[0x0][0x1]+_0x436bb7[0x0][0x3]);_0x1bc6c0=_0x436bb7[0x1][0x0]-(_0x436bb7[0x0][0x0]+_0x436bb7[0x0][0x2]);mxEdgeStyle['vertexSeperations'][0x1]=Math['max'](_0x421d17-0x2*_0x1a6916,0x0);mxEdgeStyle[_0x477d('0x3047')][0x2]=Math[_0x477d('0x13fc')](_0x35a0f7-0x2*_0x1a6916,0x0);mxEdgeStyle['vertexSeperations'][0x4]=Math[_0x477d('0x13fc')](_0x204fac-0x2*_0x1a6916,0x0);mxEdgeStyle['vertexSeperations'][0x3]=Math[_0x477d('0x13fc')](_0x1bc6c0-0x2*_0x1a6916,0x0);_0x38c438=[];_0x3992d0=[];_0x189f64=[];_0x3992d0[0x0]=_0x421d17>=_0x1bc6c0?mxConstants[_0x477d('0x2a4f')]:mxConstants[_0x477d('0x2a52')];_0x189f64[0x0]=_0x35a0f7>=_0x204fac?mxConstants[_0x477d('0x2a4d')]:mxConstants[_0x477d('0x2a51')];_0x3992d0[0x1]=mxUtils[_0x477d('0x3048')](_0x3992d0[0x0]);_0x189f64[0x1]=mxUtils['reversePortConstraints'](_0x189f64[0x0]);_0x421d17=_0x421d17>=_0x1bc6c0?_0x421d17:_0x1bc6c0;_0x204fac=_0x35a0f7>=_0x204fac?_0x35a0f7:_0x204fac;_0x1bc6c0=[[0x0,0x0],[0x0,0x0]];_0x318475=!0x1;for(_0x35a0f7=0x0;0x2>_0x35a0f7;_0x35a0f7++)0x0==_0x4e553c[_0x35a0f7]&&(0x0==(_0x3992d0[_0x35a0f7]&_0x453603[_0x35a0f7])&&(_0x3992d0[_0x35a0f7]=mxUtils[_0x477d('0x3048')](_0x3992d0[_0x35a0f7])),0x0==(_0x189f64[_0x35a0f7]&_0x453603[_0x35a0f7])&&(_0x189f64[_0x35a0f7]=mxUtils[_0x477d('0x3048')](_0x189f64[_0x35a0f7])),_0x1bc6c0[_0x35a0f7][0x0]=_0x189f64[_0x35a0f7],_0x1bc6c0[_0x35a0f7][0x1]=_0x3992d0[_0x35a0f7]);_0x204fac>0x2*_0x1a6916&&_0x421d17>0x2*_0x1a6916&&(0x0<(_0x3992d0[0x0]&_0x453603[0x0])&&0x0<(_0x189f64[0x1]&_0x453603[0x1])?(_0x1bc6c0[0x0][0x0]=_0x3992d0[0x0],_0x1bc6c0[0x0][0x1]=_0x189f64[0x0],_0x1bc6c0[0x1][0x0]=_0x189f64[0x1],_0x1bc6c0[0x1][0x1]=_0x3992d0[0x1],_0x318475=!0x0):0x0<(_0x189f64[0x0]&_0x453603[0x0])&&0x0<(_0x3992d0[0x1]&_0x453603[0x1])&&(_0x1bc6c0[0x0][0x0]=_0x189f64[0x0],_0x1bc6c0[0x0][0x1]=_0x3992d0[0x0],_0x1bc6c0[0x1][0x0]=_0x3992d0[0x1],_0x1bc6c0[0x1][0x1]=_0x189f64[0x1],_0x318475=!0x0));_0x204fac>0x2*_0x1a6916&&!_0x318475&&(_0x1bc6c0[0x0][0x0]=_0x189f64[0x0],_0x1bc6c0[0x0][0x1]=_0x3992d0[0x0],_0x1bc6c0[0x1][0x0]=_0x189f64[0x1],_0x1bc6c0[0x1][0x1]=_0x3992d0[0x1],_0x318475=!0x0);_0x421d17>0x2*_0x1a6916&&!_0x318475&&(_0x1bc6c0[0x0][0x0]=_0x3992d0[0x0],_0x1bc6c0[0x0][0x1]=_0x189f64[0x0],_0x1bc6c0[0x1][0x0]=_0x3992d0[0x1],_0x1bc6c0[0x1][0x1]=_0x189f64[0x1]);for(_0x35a0f7=0x0;0x2>_0x35a0f7;_0x35a0f7++)if(0x0==_0x4e553c[_0x35a0f7]&&(0x0==(_0x1bc6c0[_0x35a0f7][0x0]&_0x453603[_0x35a0f7])&&(_0x1bc6c0[_0x35a0f7][0x0]=_0x1bc6c0[_0x35a0f7][0x1]),_0x38c438[_0x35a0f7]=_0x1bc6c0[_0x35a0f7][0x0]&_0x453603[_0x35a0f7],_0x38c438[_0x35a0f7]|=(_0x1bc6c0[_0x35a0f7][0x1]&_0x453603[_0x35a0f7])<<0x8,_0x38c438[_0x35a0f7]|=(_0x1bc6c0[0x1-_0x35a0f7][_0x35a0f7]&_0x453603[_0x35a0f7])<<0x10,_0x38c438[_0x35a0f7]|=(_0x1bc6c0[0x1-_0x35a0f7][0x1-_0x35a0f7]&_0x453603[_0x35a0f7])<<0x18,0x0==(_0x38c438[_0x35a0f7]&0xf)&&(_0x38c438[_0x35a0f7]<<=0x8),0x0==(_0x38c438[_0x35a0f7]&0xf00)&&(_0x38c438[_0x35a0f7]=_0x38c438[_0x35a0f7]&0xf|_0x38c438[_0x35a0f7]>>0x8),0x0==(_0x38c438[_0x35a0f7]&0xf0000)&&(_0x38c438[_0x35a0f7]=_0x38c438[_0x35a0f7]&0xffff|(_0x38c438[_0x35a0f7]&0xf000000)>>0x8),_0x4e553c[_0x35a0f7]=_0x38c438[_0x35a0f7]&0xf,_0x453603[_0x35a0f7]==mxConstants[_0x477d('0x2a4f')]||_0x453603[_0x35a0f7]==mxConstants['DIRECTION_MASK_NORTH']||_0x453603[_0x35a0f7]==mxConstants[_0x477d('0x2a52')]||_0x453603[_0x35a0f7]==mxConstants[_0x477d('0x2a51')]))_0x4e553c[_0x35a0f7]=_0x453603[_0x35a0f7];_0x35a0f7=_0x4e553c[0x0]==mxConstants[_0x477d('0x2a52')]?0x3:_0x4e553c[0x0];_0x453603=_0x4e553c[0x1]==mxConstants[_0x477d('0x2a52')]?0x3:_0x4e553c[0x1];_0x35a0f7-=_0x482b69;_0x453603-=_0x482b69;0x1>_0x35a0f7&&(_0x35a0f7+=0x4);0x1>_0x453603&&(_0x453603+=0x4);_0x453603=mxEdgeStyle[_0x477d('0x3049')][_0x35a0f7-0x1][_0x453603-0x1];mxEdgeStyle['wayPoints1'][0x0][0x0]=_0x436bb7[0x0][0x0];mxEdgeStyle[_0x477d('0x304a')][0x0][0x1]=_0x436bb7[0x0][0x1];switch(_0x4e553c[0x0]){case mxConstants[_0x477d('0x2a4f')]:mxEdgeStyle[_0x477d('0x304a')][0x0][0x0]-=_0x1a6916;mxEdgeStyle[_0x477d('0x304a')][0x0][0x1]+=_0x561696[0x0][0x1]*_0x436bb7[0x0][0x3];break;case mxConstants[_0x477d('0x2a51')]:mxEdgeStyle[_0x477d('0x304a')][0x0][0x0]+=_0x561696[0x0][0x0]*_0x436bb7[0x0][0x2];mxEdgeStyle[_0x477d('0x304a')][0x0][0x1]+=_0x436bb7[0x0][0x3]+_0x1a6916;break;case mxConstants['DIRECTION_MASK_EAST']:mxEdgeStyle[_0x477d('0x304a')][0x0][0x0]+=_0x436bb7[0x0][0x2]+_0x1a6916;mxEdgeStyle[_0x477d('0x304a')][0x0][0x1]+=_0x561696[0x0][0x1]*_0x436bb7[0x0][0x3];break;case mxConstants[_0x477d('0x2a4d')]:mxEdgeStyle[_0x477d('0x304a')][0x0][0x0]+=_0x561696[0x0][0x0]*_0x436bb7[0x0][0x2],mxEdgeStyle[_0x477d('0x304a')][0x0][0x1]-=_0x1a6916;}_0x1a6916=0x0;_0x3992d0=_0x38c438=0x0<(_0x4e553c[0x0]&(mxConstants['DIRECTION_MASK_EAST']|mxConstants[_0x477d('0x2a4f')]))?0x0:0x1;for(_0x35a0f7=_0x189f64=0x0;_0x35a0f7<_0x453603[_0x477d('0x79')];_0x35a0f7++){_0x189f64=_0x453603[_0x35a0f7]&0xf;_0x342158=_0x189f64==mxConstants['DIRECTION_MASK_EAST']?0x3:_0x189f64;_0x342158+=_0x482b69;0x4<_0x342158&&(_0x342158-=0x4);_0x421d17=mxEdgeStyle[_0x477d('0x304b')][_0x342158-0x1];_0x189f64=0x0<_0x342158%0x2?0x0:0x1;_0x189f64!=_0x38c438&&(_0x1a6916++,mxEdgeStyle[_0x477d('0x304a')][_0x1a6916][0x0]=mxEdgeStyle['wayPoints1'][_0x1a6916-0x1][0x0],mxEdgeStyle[_0x477d('0x304a')][_0x1a6916][0x1]=mxEdgeStyle['wayPoints1'][_0x1a6916-0x1][0x1]);var _0xa4b3a2=0x0<(_0x453603[_0x35a0f7]&mxEdgeStyle[_0x477d('0x304c')]),_0x318475=0x0<(_0x453603[_0x35a0f7]&mxEdgeStyle[_0x477d('0x304d')]),_0x204fac=(_0x453603[_0x35a0f7]&mxEdgeStyle['SIDE_MASK'])>>0x5,_0x204fac=_0x204fac<<_0x482b69;0xf<_0x204fac&&(_0x204fac>>=0x4);_0x1bc6c0=0x0<(_0x453603[_0x35a0f7]&mxEdgeStyle[_0x477d('0x304e')]);(_0x318475||_0xa4b3a2)&&0x9>_0x204fac?(_0x342158=0x0,_0x318475=_0x318475?0x0:0x1,_0x342158=_0x1bc6c0&&0x0==_0x189f64?_0x436bb7[_0x318475][0x0]+_0x561696[_0x318475][0x0]*_0x436bb7[_0x318475][0x2]:_0x1bc6c0?_0x436bb7[_0x318475][0x1]+_0x561696[_0x318475][0x1]*_0x436bb7[_0x318475][0x3]:mxEdgeStyle[_0x477d('0x3046')][_0x318475][_0x204fac],0x0==_0x189f64?(_0x204fac=(_0x342158-mxEdgeStyle[_0x477d('0x304a')][_0x1a6916][0x0])*_0x421d17[0x0],0x0<_0x204fac&&(mxEdgeStyle['wayPoints1'][_0x1a6916][0x0]+=_0x421d17[0x0]*_0x204fac)):(_0x204fac=(_0x342158-mxEdgeStyle[_0x477d('0x304a')][_0x1a6916][0x1])*_0x421d17[0x1],0x0<_0x204fac&&(mxEdgeStyle[_0x477d('0x304a')][_0x1a6916][0x1]+=_0x421d17[0x1]*_0x204fac))):_0x1bc6c0&&(mxEdgeStyle[_0x477d('0x304a')][_0x1a6916][0x0]+=_0x421d17[0x0]*Math['abs'](mxEdgeStyle[_0x477d('0x3047')][_0x342158]/0x2),mxEdgeStyle[_0x477d('0x304a')][_0x1a6916][0x1]+=_0x421d17[0x1]*Math['abs'](mxEdgeStyle[_0x477d('0x3047')][_0x342158]/0x2));0x0<_0x1a6916&&mxEdgeStyle[_0x477d('0x304a')][_0x1a6916][_0x189f64]==mxEdgeStyle[_0x477d('0x304a')][_0x1a6916-0x1][_0x189f64]?_0x1a6916--:_0x38c438=_0x189f64;}for(_0x35a0f7=0x0;_0x35a0f7<=_0x1a6916&&!(_0x35a0f7==_0x1a6916&&((0x0<(_0x4e553c[0x1]&(mxConstants[_0x477d('0x2a52')]|mxConstants['DIRECTION_MASK_WEST']))?0x0:0x1)==_0x3992d0?0x0:0x1)!=(_0x1a6916+0x1)%0x2);_0x35a0f7++)_0x11b833['push'](new mxPoint(mxEdgeStyle[_0x477d('0x304a')][_0x35a0f7][0x0],mxEdgeStyle[_0x477d('0x304a')][_0x35a0f7][0x1]));}},'getRoutePattern':function(_0x537208,_0x45ae23,_0x4d0602,_0x1e57e1){var _0x3c4d95=_0x537208[0x0]==mxConstants['DIRECTION_MASK_EAST']?0x3:_0x537208[0x0];_0x537208=_0x537208[0x1]==mxConstants[_0x477d('0x2a52')]?0x3:_0x537208[0x1];_0x3c4d95-=_0x45ae23;_0x537208-=_0x45ae23;0x1>_0x3c4d95&&(_0x3c4d95+=0x4);0x1>_0x537208&&(_0x537208+=0x4);_0x45ae23=routePatterns[_0x3c4d95-0x1][_0x537208-0x1];if(0x0==_0x4d0602||0x0==_0x1e57e1)null!=inlineRoutePatterns[_0x3c4d95-0x1][_0x537208-0x1]&&(_0x45ae23=inlineRoutePatterns[_0x3c4d95-0x1][_0x537208-0x1]);return _0x45ae23;}},mxStyleRegistry={'values':[],'putValue':function(_0x1da8eb,_0x54af20){mxStyleRegistry[_0x477d('0x445')][_0x1da8eb]=_0x54af20;},'getValue':function(_0x3798e4){return mxStyleRegistry[_0x477d('0x445')][_0x3798e4];},'getName':function(_0x407dd7){for(var _0x4247fe in mxStyleRegistry[_0x477d('0x445')])if(mxStyleRegistry[_0x477d('0x445')][_0x4247fe]==_0x407dd7)return _0x4247fe;return null;}};mxStyleRegistry[_0x477d('0x304f')](mxConstants['EDGESTYLE_ELBOW'],mxEdgeStyle['ElbowConnector']);mxStyleRegistry[_0x477d('0x304f')](mxConstants[_0x477d('0x3050')],mxEdgeStyle['EntityRelation']);mxStyleRegistry[_0x477d('0x304f')](mxConstants['EDGESTYLE_LOOP'],mxEdgeStyle[_0x477d('0x3051')]);mxStyleRegistry[_0x477d('0x304f')](mxConstants[_0x477d('0x3052')],mxEdgeStyle[_0x477d('0x3041')]);mxStyleRegistry[_0x477d('0x304f')](mxConstants['EDGESTYLE_TOPTOBOTTOM'],mxEdgeStyle[_0x477d('0x3040')]);mxStyleRegistry['putValue'](mxConstants[_0x477d('0x3053')],mxEdgeStyle['OrthConnector']);mxStyleRegistry[_0x477d('0x304f')](mxConstants[_0x477d('0x3054')],mxEdgeStyle['SegmentConnector']);mxStyleRegistry[_0x477d('0x304f')](mxConstants['PERIMETER_ELLIPSE'],mxPerimeter[_0x477d('0x3055')]);mxStyleRegistry[_0x477d('0x304f')](mxConstants[_0x477d('0x3056')],mxPerimeter[_0x477d('0x2f9c')]);mxStyleRegistry[_0x477d('0x304f')](mxConstants['PERIMETER_RHOMBUS'],mxPerimeter[_0x477d('0x3057')]);mxStyleRegistry[_0x477d('0x304f')](mxConstants[_0x477d('0x3058')],mxPerimeter['TrianglePerimeter']);function mxGraphView(_0x3be8f0){this[_0x477d('0x2c83')]=_0x3be8f0;this[_0x477d('0x454')]=new mxPoint();this[_0x477d('0x3059')]=new mxRectangle();this[_0x477d('0x2ca1')]=new mxDictionary();}mxGraphView['prototype']=new mxEventSource();mxGraphView[_0x477d('0x798')][_0x477d('0x29c3')]=mxGraphView;mxGraphView[_0x477d('0x798')][_0x477d('0x305a')]=new mxPoint();mxGraphView[_0x477d('0x798')]['doneResource']=_0x477d('0x496')!=mxClient[_0x477d('0x1267')]?_0x477d('0x4ee'):'';mxGraphView[_0x477d('0x798')][_0x477d('0x305b')]=_0x477d('0x496')!=mxClient[_0x477d('0x1267')]?_0x477d('0x305c'):'';mxGraphView[_0x477d('0x798')][_0x477d('0x305d')]=!0x1;mxGraphView[_0x477d('0x798')]['captureDocumentGesture']=!0x0;mxGraphView[_0x477d('0x798')][_0x477d('0x305e')]=!0x0;mxGraphView[_0x477d('0x798')][_0x477d('0x305f')]=!0x0;mxGraphView[_0x477d('0x798')]['graph']=null;mxGraphView[_0x477d('0x798')][_0x477d('0x2e70')]=null;mxGraphView['prototype'][_0x477d('0x3059')]=null;mxGraphView[_0x477d('0x798')][_0x477d('0x29d8')]=0x1;mxGraphView['prototype'][_0x477d('0x454')]=null;mxGraphView[_0x477d('0x798')][_0x477d('0x3060')]=!0x1;mxGraphView['prototype']['getGraphBounds']=function(){return this[_0x477d('0x3059')];};mxGraphView['prototype'][_0x477d('0x3061')]=function(_0x5b2ceb){this['graphBounds']=_0x5b2ceb;};mxGraphView['prototype'][_0x477d('0x2eab')]=function(_0x18435){var _0x4f163c=null;if(null!=_0x18435&&0x0<_0x18435[_0x477d('0x79')])for(var _0x81ffc=this[_0x477d('0x2c83')][_0x477d('0x2a75')](),_0x3aa18d=0x0;_0x3aa18d<_0x18435[_0x477d('0x79')];_0x3aa18d++)if(_0x81ffc[_0x477d('0x2e5a')](_0x18435[_0x3aa18d])||_0x81ffc[_0x477d('0x29d6')](_0x18435[_0x3aa18d])){var _0x9ef4ea=this['getState'](_0x18435[_0x3aa18d]);null!=_0x9ef4ea&&(null==_0x4f163c?_0x4f163c=new mxRectangle(_0x9ef4ea['x'],_0x9ef4ea['y'],_0x9ef4ea[_0x477d('0x4ef')],_0x9ef4ea[_0x477d('0x504')]):_0x4f163c[_0x477d('0x440')](_0x9ef4ea));}return _0x4f163c;};mxGraphView[_0x477d('0x798')][_0x477d('0x3062')]=function(_0x2fcd9e){if(this[_0x477d('0x2e70')]!=_0x2fcd9e){var _0x4960c3=new mxCurrentRootChange(this,_0x2fcd9e);_0x4960c3[_0x477d('0x2a12')]();var _0x160404=new mxUndoableEdit(this,!0x1);_0x160404[_0x477d('0x440')](_0x4960c3);this['fireEvent'](new mxEventObject(mxEvent[_0x477d('0x2c38')],_0x477d('0xedd'),_0x160404));this[_0x477d('0x2c83')][_0x477d('0x3063')]();}return _0x2fcd9e;};mxGraphView[_0x477d('0x798')][_0x477d('0x3064')]=function(_0x60ed39,_0x4699c8,_0x155011){var _0x253d36=this[_0x477d('0x29d8')],_0x12a3d0=new mxPoint(this[_0x477d('0x454')]['x'],this['translate']['y']);if(this[_0x477d('0x29d8')]!=_0x60ed39||this[_0x477d('0x454')]['x']!=_0x4699c8||this[_0x477d('0x454')]['y']!=_0x155011)this['scale']=_0x60ed39,this['translate']['x']=_0x4699c8,this[_0x477d('0x454')]['y']=_0x155011,this[_0x477d('0x2b23')]()&&(this['revalidate'](),this[_0x477d('0x2c83')][_0x477d('0x3063')]());this[_0x477d('0x2b26')](new mxEventObject(mxEvent[_0x477d('0x3065')],_0x477d('0x29d8'),_0x60ed39,_0x477d('0x3066'),_0x253d36,_0x477d('0x454'),this[_0x477d('0x454')],_0x477d('0x3067'),_0x12a3d0));};mxGraphView[_0x477d('0x798')]['getScale']=function(){return this['scale'];};mxGraphView[_0x477d('0x798')][_0x477d('0x3068')]=function(_0xcbf23f){var _0x53baa1=this['scale'];this[_0x477d('0x29d8')]!=_0xcbf23f&&(this[_0x477d('0x29d8')]=_0xcbf23f,this[_0x477d('0x2b23')]()&&(this['revalidate'](),this[_0x477d('0x2c83')][_0x477d('0x3063')]()));this[_0x477d('0x2b26')](new mxEventObject(mxEvent[_0x477d('0x3069')],'scale',_0xcbf23f,_0x477d('0x3066'),_0x53baa1));};mxGraphView[_0x477d('0x798')][_0x477d('0x2a7f')]=function(){return this[_0x477d('0x454')];};mxGraphView[_0x477d('0x798')][_0x477d('0x306a')]=function(_0x170e0a,_0x3bba7e){var _0xb3023b=new mxPoint(this[_0x477d('0x454')]['x'],this[_0x477d('0x454')]['y']);if(this[_0x477d('0x454')]['x']!=_0x170e0a||this[_0x477d('0x454')]['y']!=_0x3bba7e)this[_0x477d('0x454')]['x']=_0x170e0a,this['translate']['y']=_0x3bba7e,this['isEventsEnabled']()&&(this[_0x477d('0x306b')](),this[_0x477d('0x2c83')][_0x477d('0x3063')]());this[_0x477d('0x2b26')](new mxEventObject(mxEvent[_0x477d('0x306c')],_0x477d('0x454'),this[_0x477d('0x454')],_0x477d('0x3067'),_0xb3023b));};mxGraphView['prototype'][_0x477d('0x911')]=function(){null!=this[_0x477d('0x2e70')]&&this[_0x477d('0x7aa')]();this[_0x477d('0x306b')]();};mxGraphView['prototype'][_0x477d('0x306b')]=function(){this[_0x477d('0x306d')]();this[_0x477d('0x306e')]();};mxGraphView['prototype']['clear']=function(_0x57bb94,_0x4c5b1f,_0x3f9f6d){var _0x54f8eb=this[_0x477d('0x2c83')]['getModel']();_0x57bb94=_0x57bb94||_0x54f8eb['getRoot']();_0x4c5b1f=null!=_0x4c5b1f?_0x4c5b1f:!0x1;_0x3f9f6d=null!=_0x3f9f6d?_0x3f9f6d:!0x0;this[_0x477d('0x306f')](_0x57bb94);if(_0x3f9f6d&&(_0x4c5b1f||_0x57bb94!=this[_0x477d('0x2e70')])){_0x3f9f6d=_0x54f8eb[_0x477d('0x2c42')](_0x57bb94);for(var _0x4cdfbf=0x0;_0x4cdfbf<_0x3f9f6d;_0x4cdfbf++)this[_0x477d('0x7aa')](_0x54f8eb[_0x477d('0x29de')](_0x57bb94,_0x4cdfbf),_0x4c5b1f);}else this[_0x477d('0x306d')](_0x57bb94);};mxGraphView['prototype'][_0x477d('0x306d')]=function(_0x139e0f,_0x56817e,_0x38c58c,_0x1eb850){var _0x13a6da=this[_0x477d('0x2c83')][_0x477d('0x2a75')]();_0x139e0f=_0x139e0f||_0x13a6da[_0x477d('0x2a76')]();_0x56817e=null!=_0x56817e?_0x56817e:!0x0;_0x38c58c=null!=_0x38c58c?_0x38c58c:!0x0;_0x1eb850=null!=_0x1eb850?_0x1eb850:!0x1;var _0x1a8c74=this[_0x477d('0x29df')](_0x139e0f);null!=_0x1a8c74&&(_0x1a8c74[_0x477d('0x26d0')]=!0x0,_0x1eb850&&(_0x1a8c74[_0x477d('0x2fa5')]=!0x0));if(_0x56817e)for(var _0x13fe95=_0x13a6da[_0x477d('0x2c42')](_0x139e0f),_0x1a8c74=0x0;_0x1a8c74<_0x13fe95;_0x1a8c74++){var _0x1b3919=_0x13a6da['getChildAt'](_0x139e0f,_0x1a8c74);this['invalidate'](_0x1b3919,_0x56817e,_0x38c58c,_0x1eb850);}if(_0x38c58c){_0x1eb850=_0x13a6da['getEdgeCount'](_0x139e0f);for(_0x1a8c74=0x0;_0x1a8c74<_0x1eb850;_0x1a8c74++)this[_0x477d('0x306d')](_0x13a6da[_0x477d('0x2e57')](_0x139e0f,_0x1a8c74),_0x56817e,_0x38c58c);}};mxGraphView['prototype'][_0x477d('0x306e')]=function(_0x4bbb75){var _0xca6f9a=mxLog[_0x477d('0x671')](_0x477d('0x3070'));window[_0x477d('0x3c3')]=mxResources[_0x477d('0x376')](this[_0x477d('0x305b')])||this[_0x477d('0x305b')];var _0x271044=null;if(this['optimizeVmlReflows']&&null!=this['canvas']&&null==this[_0x477d('0x2e17')]&&(0x8==document['documentMode']||mxClient[_0x477d('0x2a71')])){_0x271044=this[_0x477d('0x2a7d')][_0x477d('0x457')][_0x477d('0x6c2')];this['canvas']['style'][_0x477d('0x6c2')]=_0x477d('0x496');var _0x6b8e97=document[_0x477d('0x3c7')](_0x477d('0x2a6d'));_0x6b8e97[_0x477d('0x457')][_0x477d('0x68f')]='absolute';_0x6b8e97[_0x477d('0x457')]['whiteSpace']=_0x477d('0x2a70');_0x6b8e97['style'][_0x477d('0x29c0')]='hidden';_0x6b8e97[_0x477d('0x457')][_0x477d('0x6c2')]=mxClient['IS_QUIRKS']?_0x477d('0x2a72'):_0x477d('0x2a73');_0x6b8e97['style'][_0x477d('0x2d58')]='1';document[_0x477d('0x399')][_0x477d('0xd8f')](_0x6b8e97);this[_0x477d('0x2e17')]=_0x6b8e97;}_0x4bbb75=_0x4bbb75||(null!=this[_0x477d('0x2e70')]?this[_0x477d('0x2e70')]:this[_0x477d('0x2c83')][_0x477d('0x2a75')]()['getRoot']());this['validateBounds'](null,_0x4bbb75);_0x4bbb75=this[_0x477d('0x3071')](null,_0x4bbb75);null==_0x4bbb75&&(_0x4bbb75=new mxRectangle());this['setGraphBounds'](_0x4bbb75);this[_0x477d('0x3072')]();null!=_0x271044&&(this['canvas'][_0x477d('0x457')][_0x477d('0x6c2')]=_0x271044,document[_0x477d('0x399')][_0x477d('0x29e3')](this['textDiv']),this[_0x477d('0x2e17')]=null);window[_0x477d('0x3c3')]=mxResources[_0x477d('0x376')](this[_0x477d('0x2fb0')])||this['doneResource'];mxLog[_0x477d('0x74b')](_0x477d('0x3070'),_0xca6f9a);};mxGraphView['prototype']['createBackgroundPageShape']=function(_0x258078){return new mxRectangleShape(_0x258078,_0x477d('0x2d27'),_0x477d('0x9cc'));};mxGraphView[_0x477d('0x798')]['validateBackground']=function(){var _0x320841=this[_0x477d('0x2c83')][_0x477d('0x3073')]();if(null!=_0x320841){if(null==this[_0x477d('0x2df2')]||this[_0x477d('0x2df2')][_0x477d('0x12ab')]!=_0x320841[_0x477d('0x49b')]){null!=this['backgroundImage']&&this[_0x477d('0x2df2')]['destroy']();var _0xe3ede5=new mxRectangle(0x0,0x0,0x1,0x1);this[_0x477d('0x2df2')]=new mxImageShape(_0xe3ede5,_0x320841[_0x477d('0x49b')]);this[_0x477d('0x2df2')][_0x477d('0x2d93')]=this[_0x477d('0x2c83')]['dialect'];this[_0x477d('0x2df2')][_0x477d('0x5ee')](this[_0x477d('0x2f93')]);this[_0x477d('0x2df2')]['redraw']();}this[_0x477d('0x3074')](this[_0x477d('0x2df2')],_0x320841);}else null!=this[_0x477d('0x2df2')]&&(this[_0x477d('0x2df2')][_0x477d('0x2a81')](),this[_0x477d('0x2df2')]=null);this['graph']['pageVisible']?(_0xe3ede5=this['getBackgroundPageBounds'](),null==this[_0x477d('0x3075')]?(this[_0x477d('0x3075')]=this['createBackgroundPageShape'](_0xe3ede5),this['backgroundPageShape'][_0x477d('0x29d8')]=this[_0x477d('0x29d8')],this[_0x477d('0x3075')][_0x477d('0x2dd4')]=!0x0,this[_0x477d('0x3075')][_0x477d('0x2d93')]=this[_0x477d('0x2c83')]['dialect'],this[_0x477d('0x3075')][_0x477d('0x5ee')](this['backgroundPane']),this[_0x477d('0x3075')][_0x477d('0x2d97')](),mxEvent['addListener'](this[_0x477d('0x3075')][_0x477d('0x584')],_0x477d('0x2b33'),mxUtils[_0x477d('0x5d6')](this,function(_0x1544f5){this['graph'][_0x477d('0x302c')](_0x1544f5);})),mxEvent[_0x477d('0x2b30')](this[_0x477d('0x3075')][_0x477d('0x584')],mxUtils[_0x477d('0x5d6')](this,function(_0x2be7ac){this[_0x477d('0x2c83')][_0x477d('0x301b')](mxEvent[_0x477d('0x2b31')],new mxMouseEvent(_0x2be7ac));}),mxUtils[_0x477d('0x5d6')](this,function(_0x459a5d){null!=this['graph'][_0x477d('0x3076')]&&this[_0x477d('0x2c83')][_0x477d('0x3076')][_0x477d('0x3077')]()&&this[_0x477d('0x2c83')][_0x477d('0x3076')][_0x477d('0x3bc')]();this[_0x477d('0x2c83')]['isMouseDown']&&!mxEvent[_0x477d('0x2b14')](_0x459a5d)&&this[_0x477d('0x2c83')]['fireMouseEvent'](mxEvent[_0x477d('0x2b32')],new mxMouseEvent(_0x459a5d));}),mxUtils[_0x477d('0x5d6')](this,function(_0x1de3ed){this[_0x477d('0x2c83')][_0x477d('0x301b')](mxEvent[_0x477d('0x301d')],new mxMouseEvent(_0x1de3ed));}))):(this['backgroundPageShape']['scale']=this[_0x477d('0x29d8')],this[_0x477d('0x3075')][_0x477d('0x2db9')]=_0xe3ede5,this['backgroundPageShape'][_0x477d('0x2d97')]())):null!=this[_0x477d('0x3075')]&&(this[_0x477d('0x3075')][_0x477d('0x2a81')](),this[_0x477d('0x3075')]=null);};mxGraphView[_0x477d('0x798')][_0x477d('0x3078')]=function(){var _0x3b7e6b=this[_0x477d('0x2c83')]['pageFormat'],_0x1462c4=this[_0x477d('0x29d8')]*this['graph']['pageScale'];return new mxRectangle(this[_0x477d('0x29d8')]*this[_0x477d('0x454')]['x'],this[_0x477d('0x29d8')]*this[_0x477d('0x454')]['y'],_0x3b7e6b[_0x477d('0x4ef')]*_0x1462c4,_0x3b7e6b[_0x477d('0x504')]*_0x1462c4);};mxGraphView['prototype']['redrawBackgroundImage']=function(_0x247882,_0x5d48c3){_0x247882['scale']=this[_0x477d('0x29d8')];_0x247882[_0x477d('0x2db9')]['x']=this[_0x477d('0x29d8')]*this[_0x477d('0x454')]['x'];_0x247882['bounds']['y']=this['scale']*this[_0x477d('0x454')]['y'];_0x247882['bounds'][_0x477d('0x4ef')]=this[_0x477d('0x29d8')]*_0x5d48c3['width'];_0x247882['bounds'][_0x477d('0x504')]=this[_0x477d('0x29d8')]*_0x5d48c3[_0x477d('0x504')];_0x247882[_0x477d('0x2d97')]();};mxGraphView['prototype'][_0x477d('0x3079')]=function(_0xccfa6,_0x4900ac){var _0x505a13=this['graph'][_0x477d('0x2a75')](),_0xeba3c8=this[_0x477d('0x29df')](_0x4900ac,!0x0);if(null!=_0xeba3c8&&_0xeba3c8[_0x477d('0x26d0')]){if(this[_0x477d('0x2c83')][_0x477d('0x2f1b')](_0x4900ac)){if(_0x4900ac!=this[_0x477d('0x2e70')]&&null!=_0xccfa6){_0xeba3c8[_0x477d('0x2fa7')]['x']=0x0;_0xeba3c8[_0x477d('0x2fa7')]['y']=0x0;_0xeba3c8[_0x477d('0x2fa6')]['x']=_0xccfa6[_0x477d('0x2fa6')]['x'];_0xeba3c8[_0x477d('0x2fa6')]['y']=_0xccfa6['origin']['y'];var _0x299b22=this[_0x477d('0x2c83')][_0x477d('0x2e6a')](_0x4900ac);if(null!=_0x299b22){if(!_0x505a13[_0x477d('0x29d6')](_0x4900ac)){var _0x2a82c2=_0x299b22[_0x477d('0x91c')]||this['EMPTY_POINT'];_0x299b22[_0x477d('0x2d7f')]?(_0xeba3c8[_0x477d('0x2fa6')]['x']+=_0x299b22['x']*_0xccfa6[_0x477d('0x4ef')]/this[_0x477d('0x29d8')]+_0x2a82c2['x'],_0xeba3c8[_0x477d('0x2fa6')]['y']+=_0x299b22['y']*_0xccfa6[_0x477d('0x504')]/this['scale']+_0x2a82c2['y']):(_0xeba3c8['absoluteOffset']['x']=this['scale']*_0x2a82c2['x'],_0xeba3c8[_0x477d('0x2fa7')]['y']=this[_0x477d('0x29d8')]*_0x2a82c2['y'],_0xeba3c8['origin']['x']+=_0x299b22['x'],_0xeba3c8[_0x477d('0x2fa6')]['y']+=_0x299b22['y']);}_0xeba3c8['x']=this[_0x477d('0x29d8')]*(this[_0x477d('0x454')]['x']+_0xeba3c8['origin']['x']);_0xeba3c8['y']=this[_0x477d('0x29d8')]*(this[_0x477d('0x454')]['y']+_0xeba3c8['origin']['y']);_0xeba3c8['width']=this[_0x477d('0x29d8')]*_0x299b22[_0x477d('0x4ef')];_0xeba3c8[_0x477d('0x504')]=this[_0x477d('0x29d8')]*_0x299b22[_0x477d('0x504')];if(_0x505a13[_0x477d('0x2e5a')](_0x4900ac)){if(_0x299b22[_0x477d('0x2d7f')]&&(_0x2a82c2=mxUtils[_0x477d('0x2a48')](_0xccfa6[_0x477d('0x457')][mxConstants[_0x477d('0x2de3')]]||'0'),0x0!=_0x2a82c2)){var _0x299b22=Math[_0x477d('0x2a47')](_0x2a82c2),_0x2a82c2=Math[_0x477d('0x2a43')](_0x2a82c2),_0x4ad569=new mxPoint(_0xeba3c8[_0x477d('0x29d1')](),_0xeba3c8[_0x477d('0x2a55')]()),_0xe00876=new mxPoint(_0xccfa6[_0x477d('0x29d1')](),_0xccfa6['getCenterY']()),_0x299b22=mxUtils[_0x477d('0x2a49')](_0x4ad569,_0x299b22,_0x2a82c2,_0xe00876);_0xeba3c8['x']=_0x299b22['x']-_0xeba3c8[_0x477d('0x4ef')]/0x2;_0xeba3c8['y']=_0x299b22['y']-_0xeba3c8[_0x477d('0x504')]/0x2;}this[_0x477d('0x307a')](_0xeba3c8);}}}}else this[_0x477d('0x306f')](_0x4900ac);_0x2a82c2=this[_0x477d('0x2c83')]['getChildOffsetForCell'](_0x4900ac);null!=_0x2a82c2&&(_0xeba3c8['origin']['x']+=_0x2a82c2['x'],_0xeba3c8['origin']['y']+=_0x2a82c2['y']);}if(null!=_0xeba3c8&&(!this['graph'][_0x477d('0x2e74')](_0x4900ac)||_0x4900ac==this[_0x477d('0x2e70')])){_0x299b22=_0x505a13[_0x477d('0x2c42')](_0x4900ac);for(_0x2a82c2=0x0;_0x2a82c2<_0x299b22;_0x2a82c2++)_0x4ad569=_0x505a13[_0x477d('0x29de')](_0x4900ac,_0x2a82c2),this[_0x477d('0x3079')](_0xeba3c8,_0x4ad569);}};mxGraphView['prototype']['updateVertexLabelOffset']=function(_0x576fda){var _0xcae144=mxUtils[_0x477d('0x2a4a')](_0x576fda[_0x477d('0x457')],mxConstants[_0x477d('0x2fcb')],mxConstants['ALIGN_CENTER']);_0xcae144==mxConstants[_0x477d('0x2e3a')]?_0x576fda[_0x477d('0x2fa7')]['x']-=_0x576fda[_0x477d('0x4ef')]:_0xcae144==mxConstants[_0x477d('0x2a6a')]&&(_0x576fda['absoluteOffset']['x']+=_0x576fda[_0x477d('0x4ef')]);_0xcae144=mxUtils['getValue'](_0x576fda[_0x477d('0x457')],mxConstants[_0x477d('0x2fcc')],mxConstants[_0x477d('0x2a6b')]);_0xcae144==mxConstants['ALIGN_TOP']?_0x576fda[_0x477d('0x2fa7')]['y']-=_0x576fda[_0x477d('0x504')]:_0xcae144==mxConstants[_0x477d('0x2d4a')]&&(_0x576fda['absoluteOffset']['y']+=_0x576fda[_0x477d('0x504')]);};mxGraphView[_0x477d('0x798')][_0x477d('0x3071')]=function(_0x2a35c6,_0x2ae8a3){var _0x151c38=this[_0x477d('0x2c83')][_0x477d('0x2a75')](),_0x79a0c4=this[_0x477d('0x29df')](_0x2ae8a3),_0x59df9f=null;if(null!=_0x79a0c4){if(_0x79a0c4['invalid']){var _0x524590=this['graph']['getCellGeometry'](_0x2ae8a3);if(null!=_0x524590&&_0x151c38[_0x477d('0x29d6')](_0x2ae8a3)){var _0x5083c8=this[_0x477d('0x29df')](this[_0x477d('0x2e58')](_0x2ae8a3,!0x0));_0x79a0c4[_0x477d('0x2fae')](_0x5083c8,!0x0);if(null!=_0x5083c8&&_0x151c38[_0x477d('0x29d6')](_0x5083c8[_0x477d('0x29d5')])&&!_0x151c38[_0x477d('0x2e61')](_0x5083c8[_0x477d('0x29d5')],_0x2ae8a3)){var _0x24e0bf=this[_0x477d('0x29df')](_0x151c38[_0x477d('0x2e63')](_0x5083c8[_0x477d('0x29d5')]));this[_0x477d('0x3071')](_0x24e0bf,_0x5083c8['cell']);}var _0x10a750=this['getState'](this[_0x477d('0x2e58')](_0x2ae8a3,!0x1));_0x79a0c4[_0x477d('0x2fae')](_0x10a750,!0x1);null!=_0x10a750&&(_0x151c38[_0x477d('0x29d6')](_0x10a750[_0x477d('0x29d5')])&&!_0x151c38[_0x477d('0x2e61')](_0x10a750[_0x477d('0x29d5')],_0x2ae8a3))&&(_0x24e0bf=this[_0x477d('0x29df')](_0x151c38[_0x477d('0x2e63')](_0x10a750[_0x477d('0x29d5')])),this['validatePoints'](_0x24e0bf,_0x10a750[_0x477d('0x29d5')]));this[_0x477d('0x307b')](_0x79a0c4,_0x5083c8,_0x10a750);this[_0x477d('0x307c')](_0x79a0c4,_0x524590[_0x477d('0x2d96')],_0x5083c8,_0x10a750);this[_0x477d('0x307d')](_0x79a0c4,_0x5083c8,_0x10a750);this[_0x477d('0x307e')](_0x79a0c4);this[_0x477d('0x307f')](_0x79a0c4);}else null!=_0x524590&&(_0x524590[_0x477d('0x2d7f')]&&null!=_0x2a35c6&&_0x151c38['isEdge'](_0x2a35c6['cell']))&&(_0x524590=this[_0x477d('0x29d3')](_0x2a35c6,_0x524590),null!=_0x524590&&(_0x79a0c4['x']=_0x524590['x'],_0x79a0c4['y']=_0x524590['y'],_0x524590['x']=_0x524590['x']/this[_0x477d('0x29d8')]-this['translate']['x'],_0x524590['y']=_0x524590['y']/this['scale']-this[_0x477d('0x454')]['y'],_0x79a0c4[_0x477d('0x2fa6')]=_0x524590,this[_0x477d('0x3080')](_0x2a35c6,_0x79a0c4)));_0x79a0c4[_0x477d('0x26d0')]=!0x1;_0x2ae8a3!=this[_0x477d('0x2e70')]&&this[_0x477d('0x2c83')][_0x477d('0x29db')]['redraw'](_0x79a0c4,!0x1,this[_0x477d('0x3081')]());}if(_0x151c38['isEdge'](_0x2ae8a3)||_0x151c38[_0x477d('0x2e5a')](_0x2ae8a3))null!=_0x79a0c4['shape']&&null!=_0x79a0c4[_0x477d('0x29e0')][_0x477d('0x2dba')]&&(_0x59df9f=_0x79a0c4[_0x477d('0x29e0')][_0x477d('0x2dba')][_0x477d('0x117f')]()),null!=_0x79a0c4['text']&&!this[_0x477d('0x2c83')][_0x477d('0x2fca')](_0x79a0c4['cell'])&&null!=_0x79a0c4[_0x477d('0x41b')][_0x477d('0x2dba')]&&(null!=_0x59df9f?_0x59df9f['add'](_0x79a0c4[_0x477d('0x41b')][_0x477d('0x2dba')]):_0x59df9f=_0x79a0c4['text'][_0x477d('0x2dba')]['clone']());}if(null!=_0x79a0c4&&(!this[_0x477d('0x2c83')][_0x477d('0x2e74')](_0x2ae8a3)||_0x2ae8a3==this[_0x477d('0x2e70')])){_0x524590=_0x151c38[_0x477d('0x2c42')](_0x2ae8a3);for(_0x5083c8=0x0;_0x5083c8<_0x524590;_0x5083c8++)_0x24e0bf=_0x151c38['getChildAt'](_0x2ae8a3,_0x5083c8),_0x24e0bf=this['validatePoints'](_0x79a0c4,_0x24e0bf),null!=_0x24e0bf&&(null==_0x59df9f?_0x59df9f=_0x24e0bf:_0x59df9f[_0x477d('0x440')](_0x24e0bf));}return _0x59df9f;};mxGraphView['prototype'][_0x477d('0x3080')]=function(_0x309d91,_0x66b908){var _0xa81cb4=_0x66b908[_0x477d('0x29d5')];if(!this[_0x477d('0x2c83')][_0x477d('0x2e74')](_0xa81cb4)||_0xa81cb4==this[_0x477d('0x2e70')])for(var _0x5515fd=this['graph'][_0x477d('0x2a75')](),_0x37d340=_0x5515fd[_0x477d('0x2c42')](_0xa81cb4),_0x539d06=0x0;_0x539d06<_0x37d340;_0x539d06++)this[_0x477d('0x3079')](_0x66b908,_0x5515fd[_0x477d('0x29de')](_0xa81cb4,_0x539d06));};mxGraphView['prototype'][_0x477d('0x307b')]=function(_0x322b35,_0x3bde96,_0x1f0066){this[_0x477d('0x3082')](_0x322b35,_0x3bde96,!0x0,this[_0x477d('0x2c83')][_0x477d('0x3083')](_0x322b35,_0x3bde96,!0x0));this[_0x477d('0x3082')](_0x322b35,_0x1f0066,!0x1,this[_0x477d('0x2c83')]['getConnectionConstraint'](_0x322b35,_0x1f0066,!0x1));};mxGraphView[_0x477d('0x798')][_0x477d('0x3082')]=function(_0x14d929,_0x2fd0d5,_0x27abd8,_0x5066d0){var _0x4bed43=null;null!=_0x5066d0&&(_0x4bed43=this['graph'][_0x477d('0x3084')](_0x2fd0d5,_0x5066d0));if(null==_0x4bed43&&null==_0x2fd0d5){_0x2fd0d5=this[_0x477d('0x29d8')];_0x5066d0=this[_0x477d('0x454')];var _0x5cf10d=_0x14d929[_0x477d('0x2fa6')],_0x4bed43=this[_0x477d('0x2c83')][_0x477d('0x2e6a')](_0x14d929[_0x477d('0x29d5')])['getTerminalPoint'](_0x27abd8);null!=_0x4bed43&&(_0x4bed43=new mxPoint(_0x2fd0d5*(_0x5066d0['x']+_0x4bed43['x']+_0x5cf10d['x']),_0x2fd0d5*(_0x5066d0['y']+_0x4bed43['y']+_0x5cf10d['y'])));}_0x14d929[_0x477d('0x2fac')](_0x4bed43,_0x27abd8);};mxGraphView[_0x477d('0x798')][_0x477d('0x307c')]=function(_0x27036a,_0x1e087d,_0x4a0fca,_0x189abe){if(null!=_0x27036a){var _0x366eb0=[];_0x366eb0[_0x477d('0x3a7')](_0x27036a[_0x477d('0x2a53')][0x0]);var _0x323e28=this[_0x477d('0x3085')](_0x27036a,_0x1e087d,_0x4a0fca,_0x189abe);if(null!=_0x323e28)_0x4a0fca=this[_0x477d('0x3086')](_0x27036a,_0x4a0fca,!0x0),_0x189abe=this[_0x477d('0x3086')](_0x27036a,_0x189abe,!0x1),_0x323e28(_0x27036a,_0x4a0fca,_0x189abe,_0x1e087d,_0x366eb0);else if(null!=_0x1e087d)for(_0x323e28=0x0;_0x323e28<_0x1e087d[_0x477d('0x79')];_0x323e28++)null!=_0x1e087d[_0x323e28]&&(_0x189abe=mxUtils[_0x477d('0x117f')](_0x1e087d[_0x323e28]),_0x366eb0[_0x477d('0x3a7')](this[_0x477d('0x303d')](_0x27036a,_0x189abe)));_0x1e087d=_0x27036a['absolutePoints'];_0x366eb0[_0x477d('0x3a7')](_0x1e087d[_0x1e087d[_0x477d('0x79')]-0x1]);_0x27036a[_0x477d('0x2a53')]=_0x366eb0;}};mxGraphView[_0x477d('0x798')][_0x477d('0x303d')]=function(_0x5de29a,_0x2b9f8e){var _0x2e1290=_0x5de29a['origin'];return new mxPoint(this[_0x477d('0x29d8')]*(_0x2b9f8e['x']+this[_0x477d('0x454')]['x']+_0x2e1290['x']),this[_0x477d('0x29d8')]*(_0x2b9f8e['y']+this[_0x477d('0x454')]['y']+_0x2e1290['y']));};mxGraphView[_0x477d('0x798')][_0x477d('0x3085')]=function(_0x7d3d69,_0x5b8d20,_0x1983c9,_0xa05756){_0x7d3d69=null!=_0x1983c9&&_0x1983c9==_0xa05756?mxUtils[_0x477d('0x2a4a')](_0x7d3d69[_0x477d('0x457')],mxConstants[_0x477d('0x3087')],this[_0x477d('0x2c83')][_0x477d('0x3088')]):!mxUtils['getValue'](_0x7d3d69['style'],mxConstants['STYLE_NOEDGESTYLE'],!0x1)?_0x7d3d69[_0x477d('0x457')][mxConstants[_0x477d('0x3089')]]:null;_0x477d('0x1a68')==typeof _0x7d3d69&&(_0x5b8d20=mxStyleRegistry[_0x477d('0x2a4a')](_0x7d3d69),null==_0x5b8d20&&this['isAllowEval']()&&(_0x5b8d20=mxUtils['eval'](_0x7d3d69)),_0x7d3d69=_0x5b8d20);return _0x477d('0x799')==typeof _0x7d3d69?_0x7d3d69:null;};mxGraphView['prototype'][_0x477d('0x307d')]=function(_0x26518f,_0x1ab5c6,_0xf53c92){var _0x585da1=_0x26518f[_0x477d('0x2a53')],_0x7cb130=_0x585da1[0x0];null==_0x585da1[_0x585da1[_0x477d('0x79')]-0x1]&&null!=_0xf53c92&&this[_0x477d('0x308a')](_0x26518f,_0xf53c92,_0x1ab5c6,!0x1);null==_0x7cb130&&null!=_0x1ab5c6&&this[_0x477d('0x308a')](_0x26518f,_0x1ab5c6,_0xf53c92,!0x0);};mxGraphView[_0x477d('0x798')][_0x477d('0x308a')]=function(_0x18ad04,_0x5521b6,_0x4d0648,_0x40203c){_0x5521b6=this[_0x477d('0x3086')](_0x18ad04,_0x5521b6,_0x40203c);var _0x3abe5f=this['getNextPoint'](_0x18ad04,_0x4d0648,_0x40203c),_0x118d7c=this[_0x477d('0x2c83')]['isOrthogonal'](_0x18ad04);_0x4d0648=mxUtils[_0x477d('0x2a48')](Number(_0x5521b6[_0x477d('0x457')][mxConstants[_0x477d('0x2de3')]]||'0'));var _0x4068b1=new mxPoint(_0x5521b6['getCenterX'](),_0x5521b6[_0x477d('0x2a55')]());if(0x0!=_0x4d0648)var _0x1b3f61=Math[_0x477d('0x2a47')](-_0x4d0648),_0x190c2f=Math[_0x477d('0x2a43')](-_0x4d0648),_0x3abe5f=mxUtils[_0x477d('0x2a49')](_0x3abe5f,_0x1b3f61,_0x190c2f,_0x4068b1);_0x1b3f61=parseFloat(_0x18ad04[_0x477d('0x457')][mxConstants[_0x477d('0x308b')]]||0x0);_0x1b3f61+=parseFloat(_0x18ad04['style'][_0x40203c?mxConstants['STYLE_SOURCE_PERIMETER_SPACING']:mxConstants[_0x477d('0x308c')]]||0x0);_0x5521b6=this['getPerimeterPoint'](_0x5521b6,_0x3abe5f,0x0==_0x4d0648&&_0x118d7c,_0x1b3f61);0x0!=_0x4d0648&&(_0x1b3f61=Math[_0x477d('0x2a47')](_0x4d0648),_0x190c2f=Math[_0x477d('0x2a43')](_0x4d0648),_0x5521b6=mxUtils[_0x477d('0x2a49')](_0x5521b6,_0x1b3f61,_0x190c2f,_0x4068b1));_0x18ad04[_0x477d('0x2fac')](_0x5521b6,_0x40203c);};mxGraphView['prototype']['getTerminalPort']=function(_0x34d33e,_0xf90e82,_0x4a4f81){_0x34d33e=mxUtils[_0x477d('0x2a4a')](_0x34d33e[_0x477d('0x457')],_0x4a4f81?mxConstants[_0x477d('0x308d')]:mxConstants[_0x477d('0x308e')]);null!=_0x34d33e&&(_0x34d33e=this['getState'](this[_0x477d('0x2c83')][_0x477d('0x2a75')]()[_0x477d('0x2f36')](_0x34d33e)),null!=_0x34d33e&&(_0xf90e82=_0x34d33e));return _0xf90e82;};mxGraphView[_0x477d('0x798')]['getPerimeterPoint']=function(_0x35b0f5,_0x2a4ede,_0x45a533,_0x24da49){var _0x2b33fe=null;if(null!=_0x35b0f5){var _0x3881c=this[_0x477d('0x308f')](_0x35b0f5);if(null!=_0x3881c&&null!=_0x2a4ede&&(_0x24da49=this[_0x477d('0x2fab')](_0x35b0f5,_0x24da49),0x0<_0x24da49[_0x477d('0x4ef')]||0x0<_0x24da49[_0x477d('0x504')]))_0x2b33fe=_0x3881c(_0x24da49,_0x35b0f5,_0x2a4ede,_0x45a533);null==_0x2b33fe&&(_0x2b33fe=this['getPoint'](_0x35b0f5));}return _0x2b33fe;};mxGraphView[_0x477d('0x798')][_0x477d('0x303e')]=function(_0x9aceb7){var _0x419dbc=null!=_0x9aceb7[_0x477d('0x457')]?parseFloat(_0x9aceb7[_0x477d('0x457')][mxConstants[_0x477d('0x3090')]])||0x0:0x0;return _0x9aceb7[_0x477d('0x29d1')]()+_0x419dbc*_0x9aceb7[_0x477d('0x4ef')];};mxGraphView['prototype'][_0x477d('0x303c')]=function(_0x11f1ad){var _0x5ac8ee=null!=_0x11f1ad[_0x477d('0x457')]?parseFloat(_0x11f1ad[_0x477d('0x457')][mxConstants[_0x477d('0x3091')]])||0x0:0x0;return _0x11f1ad[_0x477d('0x2a55')]()+_0x5ac8ee*_0x11f1ad[_0x477d('0x504')];};mxGraphView[_0x477d('0x798')]['getPerimeterBounds']=function(_0x28dad2,_0x3c7796){_0x3c7796=null!=_0x3c7796?_0x3c7796:0x0;null!=_0x28dad2&&(_0x3c7796+=parseFloat(_0x28dad2[_0x477d('0x457')][mxConstants['STYLE_PERIMETER_SPACING']]||0x0));return _0x28dad2['getPerimeterBounds'](_0x3c7796*this['scale']);};mxGraphView['prototype'][_0x477d('0x308f')]=function(_0x54958b){_0x54958b=_0x54958b[_0x477d('0x457')][mxConstants[_0x477d('0x2f9b')]];if(_0x477d('0x1a68')==typeof _0x54958b){var _0x545e11=mxStyleRegistry[_0x477d('0x2a4a')](_0x54958b);null==_0x545e11&&this[_0x477d('0x3092')]()&&(_0x545e11=mxUtils[_0x477d('0x2da4')](_0x54958b));_0x54958b=_0x545e11;}return _0x477d('0x799')==typeof _0x54958b?_0x54958b:null;};mxGraphView[_0x477d('0x798')][_0x477d('0x3093')]=function(_0x48a0d9,_0x3014e6,_0x287435){_0x48a0d9=_0x48a0d9['absolutePoints'];var _0x4e1381=null;if(null!=_0x48a0d9&&(_0x287435||0x2<_0x48a0d9[_0x477d('0x79')]||null==_0x3014e6))_0x4e1381=_0x48a0d9[_0x477d('0x79')],_0x4e1381=_0x48a0d9[_0x287435?Math[_0x477d('0x4fa')](0x1,_0x4e1381-0x1):Math[_0x477d('0x13fc')](0x0,_0x4e1381-0x2)];null==_0x4e1381&&null!=_0x3014e6&&(_0x4e1381=new mxPoint(_0x3014e6['getCenterX'](),_0x3014e6['getCenterY']()));return _0x4e1381;};mxGraphView[_0x477d('0x798')][_0x477d('0x2e58')]=function(_0x26aa9f,_0x41bd56){for(var _0x4daed0=this['graph'][_0x477d('0x2a75')](),_0x167ed2=_0x4daed0[_0x477d('0x2e5c')](_0x26aa9f,_0x41bd56),_0x58ffe4=_0x167ed2;null!=_0x167ed2&&_0x167ed2!=this['currentRoot'];){if(!this[_0x477d('0x2c83')][_0x477d('0x2f1b')](_0x58ffe4)||this[_0x477d('0x2c83')][_0x477d('0x2e74')](_0x167ed2))_0x58ffe4=_0x167ed2;_0x167ed2=_0x4daed0[_0x477d('0x2e63')](_0x167ed2);}_0x4daed0[_0x477d('0x2e63')](_0x58ffe4)==_0x4daed0['getRoot']()&&(_0x58ffe4=null);return _0x58ffe4;};mxGraphView[_0x477d('0x798')][_0x477d('0x307e')]=function(_0x20f7d5){var _0x28fed2=_0x20f7d5[_0x477d('0x2a53')];_0x20f7d5['length']=0x0;if(null!=_0x28fed2&&0x0<_0x28fed2[_0x477d('0x79')]){var _0x3123d8=_0x28fed2[0x0],_0x118ab2=_0x28fed2[_0x28fed2[_0x477d('0x79')]-0x1];if(null==_0x3123d8||null==_0x118ab2)_0x20f7d5[_0x477d('0x29d5')]!=this[_0x477d('0x2e70')]&&this[_0x477d('0x7aa')](_0x20f7d5[_0x477d('0x29d5')],!0x0);else{if(_0x3123d8['x']!=_0x118ab2['x']||_0x3123d8['y']!=_0x118ab2['y']){var _0x4d4dcc=_0x118ab2['x']-_0x3123d8['x'],_0x7260cb=_0x118ab2['y']-_0x3123d8['y'];_0x20f7d5[_0x477d('0x2fa9')]=Math[_0x477d('0x2a44')](_0x4d4dcc*_0x4d4dcc+_0x7260cb*_0x7260cb);}else _0x20f7d5[_0x477d('0x2fa9')]=0x0;var _0x118ab2=0x0,_0x42818b=[],_0x7260cb=_0x3123d8;if(null!=_0x7260cb){for(var _0x3123d8=_0x7260cb['x'],_0x30365e=_0x7260cb['y'],_0x2ddaf4=_0x3123d8,_0x450c2f=_0x30365e,_0x4b3c58=0x1;_0x4b3c58<_0x28fed2[_0x477d('0x79')];_0x4b3c58++){var _0x2ef970=_0x28fed2[_0x4b3c58];null!=_0x2ef970&&(_0x4d4dcc=_0x7260cb['x']-_0x2ef970['x'],_0x7260cb=_0x7260cb['y']-_0x2ef970['y'],_0x4d4dcc=Math[_0x477d('0x2a44')](_0x4d4dcc*_0x4d4dcc+_0x7260cb*_0x7260cb),_0x42818b[_0x477d('0x3a7')](_0x4d4dcc),_0x118ab2+=_0x4d4dcc,_0x7260cb=_0x2ef970,_0x3123d8=Math[_0x477d('0x4fa')](_0x7260cb['x'],_0x3123d8),_0x30365e=Math['min'](_0x7260cb['y'],_0x30365e),_0x2ddaf4=Math[_0x477d('0x13fc')](_0x7260cb['x'],_0x2ddaf4),_0x450c2f=Math['max'](_0x7260cb['y'],_0x450c2f));}_0x20f7d5[_0x477d('0x79')]=_0x118ab2;_0x20f7d5[_0x477d('0x2faa')]=_0x42818b;_0x20f7d5['x']=_0x3123d8;_0x20f7d5['y']=_0x30365e;_0x20f7d5[_0x477d('0x4ef')]=Math[_0x477d('0x13fc')](0x1,_0x2ddaf4-_0x3123d8);_0x20f7d5['height']=Math[_0x477d('0x13fc')](0x1,_0x450c2f-_0x30365e);}}}};mxGraphView[_0x477d('0x798')][_0x477d('0x29d3')]=function(_0x15269f,_0x5bdcce){var _0x3129cb=_0x15269f[_0x477d('0x29d1')](),_0x404331=_0x15269f['getCenterY']();if(null!=_0x15269f[_0x477d('0x2faa')]&&(null==_0x5bdcce||_0x5bdcce[_0x477d('0x2d7f')])){for(var _0x57ca45=_0x15269f['absolutePoints'][_0x477d('0x79')],_0x3625e8=((null!=_0x5bdcce?_0x5bdcce['x']/0x2:0x0)+0.5)*_0x15269f[_0x477d('0x79')],_0x15fec7=_0x15269f[_0x477d('0x2faa')][0x0],_0x35f33a=0x0,_0x11ad64=0x1;_0x3625e8>_0x35f33a+_0x15fec7&&_0x11ad64<_0x57ca45-0x1;)_0x35f33a+=_0x15fec7,_0x15fec7=_0x15269f['segments'][_0x11ad64++];_0x57ca45=0x0==_0x15fec7?0x0:(_0x3625e8-_0x35f33a)/_0x15fec7;_0x3625e8=_0x15269f[_0x477d('0x2a53')][_0x11ad64-0x1];_0x11ad64=_0x15269f['absolutePoints'][_0x11ad64];if(null!=_0x3625e8&&null!=_0x11ad64){_0x35f33a=_0x3129cb=_0x404331=0x0;if(null!=_0x5bdcce){var _0x404331=_0x5bdcce['y'],_0x16852b=_0x5bdcce[_0x477d('0x91c')];null!=_0x16852b&&(_0x3129cb=_0x16852b['x'],_0x35f33a=_0x16852b['y']);}_0x16852b=_0x11ad64['x']-_0x3625e8['x'];_0x11ad64=_0x11ad64['y']-_0x3625e8['y'];_0x3129cb=_0x3625e8['x']+_0x16852b*_0x57ca45+((0x0==_0x15fec7?0x0:_0x11ad64/_0x15fec7)*_0x404331+_0x3129cb)*this['scale'];_0x404331=_0x3625e8['y']+_0x11ad64*_0x57ca45-((0x0==_0x15fec7?0x0:_0x16852b/_0x15fec7)*_0x404331-_0x35f33a)*this['scale'];}}else null!=_0x5bdcce&&(_0x16852b=_0x5bdcce[_0x477d('0x91c')],null!=_0x16852b&&(_0x3129cb+=_0x16852b['x'],_0x404331+=_0x16852b['y']));return new mxPoint(_0x3129cb,_0x404331);};mxGraphView['prototype']['getRelativePoint']=function(_0xf674e3,_0xf13d81,_0x2bb35f){var _0x442965=this[_0x477d('0x2c83')][_0x477d('0x2a75')]()[_0x477d('0x2e62')](_0xf674e3[_0x477d('0x29d5')]);if(null!=_0x442965){var _0x5980e8=_0xf674e3[_0x477d('0x2a53')]['length'];if(_0x442965[_0x477d('0x2d7f')]&&0x1<_0x5980e8){for(var _0x442965=_0xf674e3[_0x477d('0x79')],_0x1a54c1=_0xf674e3[_0x477d('0x2faa')],_0x28f399=_0xf674e3['absolutePoints'][0x0],_0x118dd4=_0xf674e3[_0x477d('0x2a53')][0x1],_0x5aef58=mxUtils[_0x477d('0x2a54')](_0x28f399['x'],_0x28f399['y'],_0x118dd4['x'],_0x118dd4['y'],_0xf13d81,_0x2bb35f),_0x30a176=0x0,_0xdb4733=0x0,_0x3a302b=0x0,_0x43f688=0x2;_0x43f688<_0x5980e8;_0x43f688++)_0xdb4733+=_0x1a54c1[_0x43f688-0x2],_0x118dd4=_0xf674e3[_0x477d('0x2a53')][_0x43f688],_0x28f399=mxUtils[_0x477d('0x2a54')](_0x28f399['x'],_0x28f399['y'],_0x118dd4['x'],_0x118dd4['y'],_0xf13d81,_0x2bb35f),_0x28f399<=_0x5aef58&&(_0x5aef58=_0x28f399,_0x30a176=_0x43f688-0x1,_0x3a302b=_0xdb4733),_0x28f399=_0x118dd4;_0x5980e8=_0x1a54c1[_0x30a176];_0x28f399=_0xf674e3[_0x477d('0x2a53')][_0x30a176];_0x118dd4=_0xf674e3['absolutePoints'][_0x30a176+0x1];_0x5aef58=_0x118dd4['x'];_0x1a54c1=_0x118dd4['y'];_0xf674e3=_0x28f399['x']-_0x5aef58;_0x30a176=_0x28f399['y']-_0x1a54c1;_0x5aef58=_0xf13d81-_0x5aef58;_0x1a54c1=_0x2bb35f-_0x1a54c1;_0x5aef58=_0xf674e3-_0x5aef58;_0x1a54c1=_0x30a176-_0x1a54c1;_0x1a54c1=_0x5aef58*_0xf674e3+_0x1a54c1*_0x30a176;_0xf674e3=Math[_0x477d('0x2a44')](0x0>=_0x1a54c1?0x0:_0x1a54c1*_0x1a54c1/(_0xf674e3*_0xf674e3+_0x30a176*_0x30a176));_0xf674e3>_0x5980e8&&(_0xf674e3=_0x5980e8);_0x5980e8=Math[_0x477d('0x2a44')](mxUtils['ptSegDistSq'](_0x28f399['x'],_0x28f399['y'],_0x118dd4['x'],_0x118dd4['y'],_0xf13d81,_0x2bb35f));-0x1==mxUtils[_0x477d('0x3094')](_0x28f399['x'],_0x28f399['y'],_0x118dd4['x'],_0x118dd4['y'],_0xf13d81,_0x2bb35f)&&(_0x5980e8=-_0x5980e8);return new mxPoint(-0x2*((_0x442965/0x2-_0x3a302b-_0xf674e3)/_0x442965),_0x5980e8/this['scale']);}}return new mxPoint();};mxGraphView['prototype'][_0x477d('0x307f')]=function(_0x3e49cf){var _0x5d7300=_0x3e49cf[_0x477d('0x2a53')];_0x3e49cf[_0x477d('0x2fa7')]['x']=_0x3e49cf[_0x477d('0x29d1')]();_0x3e49cf[_0x477d('0x2fa7')]['y']=_0x3e49cf['getCenterY']();if(null!=_0x5d7300&&0x0<_0x5d7300[_0x477d('0x79')]&&null!=_0x3e49cf[_0x477d('0x2faa')]){var _0x399f77=this[_0x477d('0x2c83')][_0x477d('0x2e6a')](_0x3e49cf['cell']);if(_0x399f77[_0x477d('0x2d7f')]){var _0x35a102=this[_0x477d('0x29d3')](_0x3e49cf,_0x399f77);null!=_0x35a102&&(_0x3e49cf['absoluteOffset']=_0x35a102);}else{var _0x35a102=_0x5d7300[0x0],_0x1ec0a3=_0x5d7300[_0x5d7300['length']-0x1];if(null!=_0x35a102&&null!=_0x1ec0a3){var _0x5d7300=_0x1ec0a3['x']-_0x35a102['x'],_0xad338f=_0x1ec0a3['y']-_0x35a102['y'],_0x2d95de=_0x1ec0a3=0x0,_0x399f77=_0x399f77['offset'];null!=_0x399f77&&(_0x1ec0a3=_0x399f77['x'],_0x2d95de=_0x399f77['y']);_0x399f77=_0x35a102['y']+_0xad338f/0x2+_0x2d95de*this['scale'];_0x3e49cf[_0x477d('0x2fa7')]['x']=_0x35a102['x']+_0x5d7300/0x2+_0x1ec0a3*this['scale'];_0x3e49cf[_0x477d('0x2fa7')]['y']=_0x399f77;}}}};mxGraphView['prototype'][_0x477d('0x29df')]=function(_0x470c2a,_0xe67dd2){_0xe67dd2=_0xe67dd2||!0x1;var _0x57bc8b=null;null!=_0x470c2a&&(_0x57bc8b=this[_0x477d('0x2ca1')][_0x477d('0x376')](_0x470c2a),this['graph'][_0x477d('0x2f1b')](_0x470c2a)&&(null==_0x57bc8b&&_0xe67dd2&&this['graph'][_0x477d('0x2f1b')](_0x470c2a)?(_0x57bc8b=this[_0x477d('0x2ca9')](_0x470c2a),this['states']['put'](_0x470c2a,_0x57bc8b)):_0xe67dd2&&(null!=_0x57bc8b&&this[_0x477d('0x3060')])&&(_0x57bc8b[_0x477d('0x457')]=this[_0x477d('0x2c83')][_0x477d('0x2e54')](_0x470c2a))));return _0x57bc8b;};mxGraphView['prototype'][_0x477d('0x3081')]=function(){return this['rendering'];};mxGraphView['prototype'][_0x477d('0x3095')]=function(_0xbe0527){this['rendering']=_0xbe0527;};mxGraphView[_0x477d('0x798')][_0x477d('0x3092')]=function(){return this[_0x477d('0x305d')];};mxGraphView[_0x477d('0x798')][_0x477d('0x3096')]=function(_0x2e05c2){this[_0x477d('0x305d')]=_0x2e05c2;};mxGraphView['prototype'][_0x477d('0x3097')]=function(){return this['states'];};mxGraphView[_0x477d('0x798')][_0x477d('0x2d8b')]=function(_0x344691){this[_0x477d('0x2ca1')]=_0x344691;};mxGraphView[_0x477d('0x798')][_0x477d('0x3098')]=function(_0x381188){if(null==_0x381188)return this[_0x477d('0x2ca1')];for(var _0x393285=[],_0x5ad720=0x0;_0x5ad720<_0x381188['length'];_0x5ad720++){var _0x5c2857=this[_0x477d('0x29df')](_0x381188[_0x5ad720]);null!=_0x5c2857&&_0x393285[_0x477d('0x3a7')](_0x5c2857);}return _0x393285;};mxGraphView['prototype'][_0x477d('0x306f')]=function(_0x230143){var _0x501e20=null;null!=_0x230143&&(_0x501e20=this[_0x477d('0x2ca1')][_0x477d('0x39c')](_0x230143),null!=_0x501e20&&(this[_0x477d('0x2c83')][_0x477d('0x29db')]['destroy'](_0x501e20),_0x501e20[_0x477d('0x2a81')]()));return _0x501e20;};mxGraphView[_0x477d('0x798')][_0x477d('0x2ca9')]=function(_0x4a417c){var _0x5a7c64=this[_0x477d('0x2c83')][_0x477d('0x2e54')](_0x4a417c);_0x4a417c=new mxCellState(this,_0x4a417c,_0x5a7c64);this[_0x477d('0x2c83')][_0x477d('0x29db')][_0x477d('0x4eb')](_0x4a417c,this['isRendering']());return _0x4a417c;};mxGraphView[_0x477d('0x798')][_0x477d('0x2f90')]=function(){return this['canvas'];};mxGraphView[_0x477d('0x798')][_0x477d('0x2f91')]=function(){return this[_0x477d('0x2f93')];};mxGraphView[_0x477d('0x798')][_0x477d('0x2f92')]=function(){return this[_0x477d('0x2a78')];};mxGraphView[_0x477d('0x798')]['getOverlayPane']=function(){return this[_0x477d('0x2a79')];};mxGraphView[_0x477d('0x798')][_0x477d('0x3099')]=function(_0x56d3ce){_0x56d3ce=mxEvent['getSource'](_0x56d3ce);return _0x56d3ce==this[_0x477d('0x2c83')]['container']||_0x56d3ce[_0x477d('0x29e2')]==this[_0x477d('0x2f93')]||null!=_0x56d3ce[_0x477d('0x29e2')]&&_0x56d3ce[_0x477d('0x29e2')][_0x477d('0x29e2')]==this['backgroundPane']||_0x56d3ce==this[_0x477d('0x2a7d')]['parentNode']||_0x56d3ce==this[_0x477d('0x2a7d')]||_0x56d3ce==this['backgroundPane']||_0x56d3ce==this[_0x477d('0x2a78')]||_0x56d3ce==this['overlayPane'];};mxGraphView[_0x477d('0x798')][_0x477d('0x309a')]=function(_0x4ed742){var _0x473881=mxUtils[_0x477d('0x2be8')](this[_0x477d('0x2c83')][_0x477d('0x4e7')]);_0x4ed742=new mxPoint(_0x4ed742['clientX']-_0x473881['x'],_0x4ed742[_0x477d('0x2b45')]-_0x473881['y']);var _0x473881=this[_0x477d('0x2c83')]['container'][_0x477d('0x2a74')],_0x1e8767=this[_0x477d('0x2c83')]['container']['clientWidth'];if(_0x473881>_0x1e8767&&_0x4ed742['x']>_0x1e8767+0x2&&_0x4ed742['x']<=_0x473881)return!0x0;_0x473881=this[_0x477d('0x2c83')][_0x477d('0x4e7')][_0x477d('0x591')];_0x1e8767=this['graph']['container'][_0x477d('0x29ae')];return _0x473881>_0x1e8767&&_0x4ed742['y']>_0x1e8767+0x2&&_0x4ed742['y']<=_0x473881?!0x0:!0x1;};mxGraphView['prototype']['init']=function(){this[_0x477d('0x2ffc')]();var _0x420edb=this['graph'];_0x420edb[_0x477d('0x2d93')]==mxConstants[_0x477d('0x2a7a')]?this[_0x477d('0x2dbe')]():_0x420edb[_0x477d('0x2d93')]==mxConstants[_0x477d('0x2d95')]?this[_0x477d('0x309b')]():this[_0x477d('0x2dc0')]();};mxGraphView[_0x477d('0x798')][_0x477d('0x2ffc')]=function(){var _0x425a7e=this[_0x477d('0x2c83')],_0xc703e6=_0x425a7e[_0x477d('0x4e7')];if(null!=_0xc703e6){mxEvent[_0x477d('0x2b30')](_0xc703e6,mxUtils[_0x477d('0x5d6')](this,function(_0x246469){mxClient[_0x477d('0x2b2c')]&&_0x425a7e[_0x477d('0x309c')]()&&_0x425a7e[_0x477d('0x2fc6')](!_0x425a7e[_0x477d('0x2fd1')]());this[_0x477d('0x3099')](_0x246469)&&(!mxClient['IS_IE']&&!mxClient[_0x477d('0x2982')]&&!mxClient[_0x477d('0x2d26')]&&!mxClient[_0x477d('0x2981')]||!this[_0x477d('0x309a')](_0x246469))&&_0x425a7e[_0x477d('0x301b')](mxEvent['MOUSE_DOWN'],new mxMouseEvent(_0x246469));}),mxUtils['bind'](this,function(_0x533331){this[_0x477d('0x3099')](_0x533331)&&_0x425a7e[_0x477d('0x301b')](mxEvent[_0x477d('0x2b32')],new mxMouseEvent(_0x533331));}),mxUtils[_0x477d('0x5d6')](this,function(_0x23ae4f){this['isContainerEvent'](_0x23ae4f)&&_0x425a7e[_0x477d('0x301b')](mxEvent[_0x477d('0x301d')],new mxMouseEvent(_0x23ae4f));}));mxEvent[_0x477d('0x29b3')](_0xc703e6,'dblclick',mxUtils['bind'](this,function(_0x455419){_0x425a7e['dblClick'](_0x455419);}));var _0x12a4dc=function(_0x28762f){var _0xa00a7e=null;mxClient['IS_TOUCH']&&(_0xa00a7e=mxEvent['getClientX'](_0x28762f),_0x28762f=mxEvent[_0x477d('0x2b1d')](_0x28762f),_0x28762f=mxUtils[_0x477d('0x3018')](_0xc703e6,_0xa00a7e,_0x28762f),_0xa00a7e=_0x425a7e['view'][_0x477d('0x29df')](_0x425a7e['getCellAt'](_0x28762f['x'],_0x28762f['y'])));return _0xa00a7e;};_0x425a7e[_0x477d('0x2c57')]({'mouseDown':function(_0x5799d5,_0x73267f){_0x425a7e[_0x477d('0x309d')][_0x477d('0x2bfd')]();},'mouseMove':function(){},'mouseUp':function(){}});this[_0x477d('0x309e')]=mxUtils[_0x477d('0x5d6')](this,function(_0x44a277){null!=_0x425a7e[_0x477d('0x3076')]&&_0x425a7e[_0x477d('0x3076')][_0x477d('0x3077')]()&&_0x425a7e[_0x477d('0x3076')][_0x477d('0x3bc')]();this[_0x477d('0x309f')]&&(_0x425a7e[_0x477d('0x2bee')]&&!mxEvent[_0x477d('0x2b14')](_0x44a277))&&_0x425a7e[_0x477d('0x301b')](mxEvent[_0x477d('0x2b32')],new mxMouseEvent(_0x44a277,_0x12a4dc(_0x44a277)));});this[_0x477d('0x30a0')]=mxUtils[_0x477d('0x5d6')](this,function(_0x3b12b){this[_0x477d('0x309f')]&&_0x425a7e['fireMouseEvent'](mxEvent[_0x477d('0x301d')],new mxMouseEvent(_0x3b12b));});mxEvent['addGestureListeners'](document,null,this[_0x477d('0x309e')],this[_0x477d('0x30a0')]);}};mxGraphView[_0x477d('0x798')][_0x477d('0x2dc0')]=function(){var _0x4f93cf=this[_0x477d('0x2c83')][_0x477d('0x4e7')];null!=_0x4f93cf&&(this[_0x477d('0x2a7d')]=this['createHtmlPane'](_0x477d('0x2999'),_0x477d('0x2999')),this['backgroundPane']=this[_0x477d('0x30a1')](_0x477d('0x2bae'),_0x477d('0x2bae')),this['drawPane']=this[_0x477d('0x30a1')](_0x477d('0x2bae'),_0x477d('0x2bae')),this[_0x477d('0x2a79')]=this['createHtmlPane'](_0x477d('0x2bae'),_0x477d('0x2bae')),this['canvas'][_0x477d('0xd8f')](this['backgroundPane']),this[_0x477d('0x2a7d')][_0x477d('0xd8f')](this[_0x477d('0x2a78')]),this['canvas']['appendChild'](this[_0x477d('0x2a79')]),_0x4f93cf[_0x477d('0xd8f')](this[_0x477d('0x2a7d')]),mxClient[_0x477d('0x2a71')]&&(_0x4f93cf=mxUtils[_0x477d('0x5d6')](this,function(_0x2ba67b){_0x2ba67b=this['getGraphBounds']();this[_0x477d('0x30a2')](_0x2ba67b['x']+_0x2ba67b[_0x477d('0x4ef')]+this[_0x477d('0x2c83')][_0x477d('0x2a61')],_0x2ba67b['y']+_0x2ba67b[_0x477d('0x504')]+this[_0x477d('0x2c83')][_0x477d('0x2a61')]);}),mxEvent['addListener'](window,'resize',_0x4f93cf)));};mxGraphView[_0x477d('0x798')][_0x477d('0x30a2')]=function(_0x5af0e6,_0x2f141b){if(null!=this[_0x477d('0x2c83')][_0x477d('0x4e7')]){var _0x74149e=this[_0x477d('0x2c83')][_0x477d('0x4e7')]['offsetHeight'];this[_0x477d('0x2a7d')]['style'][_0x477d('0x4ef')]=this['graph'][_0x477d('0x4e7')][_0x477d('0x2a74')]<_0x5af0e6?_0x5af0e6+'px':_0x477d('0x2999');this[_0x477d('0x2a7d')][_0x477d('0x457')][_0x477d('0x504')]=_0x74149e<_0x2f141b?_0x2f141b+'px':_0x477d('0x2999');}};mxGraphView['prototype'][_0x477d('0x30a1')]=function(_0x53f5a6,_0xd769b0){var _0x3fcce5=document['createElement'](_0x477d('0x2a8b'));null!=_0x53f5a6&&null!=_0xd769b0?(_0x3fcce5[_0x477d('0x457')][_0x477d('0x68f')]=_0x477d('0x54c'),_0x3fcce5[_0x477d('0x457')][_0x477d('0x77e')]=_0x477d('0x551'),_0x3fcce5[_0x477d('0x457')][_0x477d('0x72a')]=_0x477d('0x551'),_0x3fcce5[_0x477d('0x457')][_0x477d('0x4ef')]=_0x53f5a6,_0x3fcce5['style'][_0x477d('0x504')]=_0xd769b0):_0x3fcce5[_0x477d('0x457')][_0x477d('0x68f')]=_0x477d('0x2d7f');return _0x3fcce5;};mxGraphView[_0x477d('0x798')][_0x477d('0x309b')]=function(){var _0x41fd3e=this[_0x477d('0x2c83')][_0x477d('0x4e7')];if(null!=_0x41fd3e){var _0xd343dd=_0x41fd3e[_0x477d('0x2a74')],_0x2f5ae9=_0x41fd3e[_0x477d('0x591')];this[_0x477d('0x2a7d')]=this[_0x477d('0x30a3')](_0xd343dd,_0x2f5ae9);this['backgroundPane']=this['createVmlPane'](_0xd343dd,_0x2f5ae9);this[_0x477d('0x2a78')]=this[_0x477d('0x30a3')](_0xd343dd,_0x2f5ae9);this[_0x477d('0x2a79')]=this[_0x477d('0x30a3')](_0xd343dd,_0x2f5ae9);this[_0x477d('0x2a7d')][_0x477d('0xd8f')](this[_0x477d('0x2f93')]);this[_0x477d('0x2a7d')][_0x477d('0xd8f')](this[_0x477d('0x2a78')]);this['canvas'][_0x477d('0xd8f')](this[_0x477d('0x2a79')]);_0x41fd3e['appendChild'](this[_0x477d('0x2a7d')]);}};mxGraphView[_0x477d('0x798')][_0x477d('0x30a3')]=function(_0x9ffc17,_0x2b8bbf){var _0x2803d8=document['createElement'](mxClient[_0x477d('0x298f')]+_0x477d('0x2d7e'));_0x2803d8[_0x477d('0x457')][_0x477d('0x68f')]=_0x477d('0x54c');_0x2803d8[_0x477d('0x457')][_0x477d('0x77e')]=_0x477d('0x551');_0x2803d8[_0x477d('0x457')][_0x477d('0x72a')]=_0x477d('0x551');_0x2803d8[_0x477d('0x457')]['width']=_0x9ffc17+'px';_0x2803d8[_0x477d('0x457')][_0x477d('0x504')]=_0x2b8bbf+'px';_0x2803d8[_0x477d('0x494')](_0x477d('0x2d5f'),_0x9ffc17+','+_0x2b8bbf);_0x2803d8[_0x477d('0x494')](_0x477d('0x30a4'),_0x477d('0x30a5'));return _0x2803d8;};mxGraphView[_0x477d('0x798')][_0x477d('0x2dbe')]=function(){var _0x4c0511=this[_0x477d('0x2c83')][_0x477d('0x4e7')];this['canvas']=document[_0x477d('0x2a7b')](mxConstants[_0x477d('0x2a7c')],'g');this[_0x477d('0x2f93')]=document['createElementNS'](mxConstants[_0x477d('0x2a7c')],'g');this[_0x477d('0x2a7d')][_0x477d('0xd8f')](this['backgroundPane']);this[_0x477d('0x2a78')]=document[_0x477d('0x2a7b')](mxConstants[_0x477d('0x2a7c')],'g');this[_0x477d('0x2a7d')][_0x477d('0xd8f')](this[_0x477d('0x2a78')]);this[_0x477d('0x2a79')]=document[_0x477d('0x2a7b')](mxConstants[_0x477d('0x2a7c')],'g');this['canvas'][_0x477d('0xd8f')](this[_0x477d('0x2a79')]);var _0x399cc1=document['createElementNS'](mxConstants['NS_SVG'],_0x477d('0x2d05'));_0x399cc1[_0x477d('0x457')][_0x477d('0x4ef')]='100%';_0x399cc1[_0x477d('0x457')][_0x477d('0x504')]='100%';_0x399cc1[_0x477d('0x457')][_0x477d('0x6c2')]='block';_0x399cc1[_0x477d('0xd8f')](this[_0x477d('0x2a7d')]);null!=_0x4c0511&&(_0x4c0511[_0x477d('0xd8f')](_0x399cc1),_0x477d('0x30a6')==mxUtils[_0x477d('0x2b9f')](_0x4c0511)[_0x477d('0x68f')]&&(_0x4c0511[_0x477d('0x457')]['position']=_0x477d('0x2d7f')));};mxGraphView[_0x477d('0x798')][_0x477d('0x2a81')]=function(){var _0x50c5ea=null!=this[_0x477d('0x2a7d')]?this[_0x477d('0x2a7d')][_0x477d('0x2d12')]:null;null==_0x50c5ea&&(_0x50c5ea=this[_0x477d('0x2a7d')]);null!=_0x50c5ea&&null!=_0x50c5ea[_0x477d('0x29e2')]&&(this[_0x477d('0x7aa')](this[_0x477d('0x2e70')],!0x0),mxEvent[_0x477d('0x2bb7')](document,null,this[_0x477d('0x309e')],this[_0x477d('0x30a0')]),mxEvent[_0x477d('0x2b34')](this[_0x477d('0x2c83')]['container']),_0x50c5ea[_0x477d('0x29e2')][_0x477d('0x29e3')](_0x50c5ea),this[_0x477d('0x2a79')]=this[_0x477d('0x2a78')]=this[_0x477d('0x2f93')]=this[_0x477d('0x2a7d')]=this[_0x477d('0x30a0')]=this['moveHandler']=null);};function mxCurrentRootChange(_0x13c0eb,_0x2e5160){this[_0x477d('0x1672')]=_0x13c0eb;this[_0x477d('0x29da')]=this['root']=_0x2e5160;this[_0x477d('0x30a7')]=null==_0x2e5160;if(!this['isUp'])for(var _0x5e4c0=this[_0x477d('0x1672')]['currentRoot'],_0x45e53f=this[_0x477d('0x1672')][_0x477d('0x2c83')][_0x477d('0x2a75')]();null!=_0x5e4c0;){if(_0x5e4c0==_0x2e5160){this[_0x477d('0x30a7')]=!0x0;break;}_0x5e4c0=_0x45e53f[_0x477d('0x2e63')](_0x5e4c0);}}mxCurrentRootChange[_0x477d('0x798')]['execute']=function(){var _0x44ad30=this[_0x477d('0x1672')]['currentRoot'];this[_0x477d('0x1672')][_0x477d('0x2e70')]=this[_0x477d('0x29da')];this[_0x477d('0x29da')]=_0x44ad30;_0x44ad30=this[_0x477d('0x1672')][_0x477d('0x2c83')][_0x477d('0x30a8')](this[_0x477d('0x1672')]['currentRoot']);null!=_0x44ad30&&(this[_0x477d('0x1672')][_0x477d('0x454')]=new mxPoint(-_0x44ad30['x'],-_0x44ad30['y']));this['view'][_0x477d('0x2b26')](new mxEventObject(this[_0x477d('0x30a7')]?mxEvent['UP']:mxEvent[_0x477d('0x30a9')],'root',this[_0x477d('0x1672')][_0x477d('0x2e70')],_0x477d('0x29da'),this[_0x477d('0x29da')]));this[_0x477d('0x30a7')]?(this[_0x477d('0x1672')][_0x477d('0x7aa')](this['view'][_0x477d('0x2e70')],!0x0),this[_0x477d('0x1672')][_0x477d('0x306e')]()):this[_0x477d('0x1672')][_0x477d('0x911')]();this[_0x477d('0x30a7')]=!this[_0x477d('0x30a7')];};function mxGraph(_0x2f102b,_0x560df7,_0x49c441,_0x24f81e){this[_0x477d('0x30aa')]=null;this['renderHint']=_0x49c441;this[_0x477d('0x2d93')]=mxClient[_0x477d('0x2974')]?mxConstants['DIALECT_SVG']:_0x49c441==mxConstants['RENDERING_HINT_EXACT']&&mxClient['IS_VML']?mxConstants[_0x477d('0x2d95')]:_0x49c441==mxConstants['RENDERING_HINT_FASTEST']?mxConstants[_0x477d('0x3016')]:_0x49c441==mxConstants[_0x477d('0x30ab')]?mxConstants['DIALECT_PREFERHTML']:mxConstants[_0x477d('0x30ac')];this[_0x477d('0x44e')]=null!=_0x560df7?_0x560df7:new mxGraphModel();this['multiplicities']=[];this[_0x477d('0x30ad')]=[];this['cellRenderer']=this[_0x477d('0x30ae')]();this['setSelectionModel'](this[_0x477d('0x30af')]());this[_0x477d('0x30b0')](null!=_0x24f81e?_0x24f81e:this['createStylesheet']());this[_0x477d('0x1672')]=this['createGraphView']();this['graphModelChangeListener']=mxUtils[_0x477d('0x5d6')](this,function(_0x2122b8,_0x230b55){this[_0x477d('0x2c81')](_0x230b55[_0x477d('0x2b13')](_0x477d('0xedd'))[_0x477d('0x2c37')]);});this[_0x477d('0x44e')][_0x477d('0x29b3')](mxEvent[_0x477d('0x2c36')],this['graphModelChangeListener']);this['createHandlers']();null!=_0x2f102b&&this[_0x477d('0x5ee')](_0x2f102b);this[_0x477d('0x1672')][_0x477d('0x306b')]();}mxLoadResources&&mxResources['add'](mxClient[_0x477d('0x2985')]+_0x477d('0x30b1'));mxGraph['prototype']=new mxEventSource();mxGraph['prototype']['constructor']=mxGraph;mxGraph[_0x477d('0x798')][_0x477d('0x30b2')]=[];mxGraph[_0x477d('0x798')][_0x477d('0x30aa')]=null;mxGraph['prototype'][_0x477d('0x2bee')]=!0x1;mxGraph['prototype']['model']=null;mxGraph[_0x477d('0x798')][_0x477d('0x1672')]=null;mxGraph['prototype'][_0x477d('0x298a')]=null;mxGraph[_0x477d('0x798')][_0x477d('0x2fbe')]=null;mxGraph['prototype']['cellEditor']=null;mxGraph[_0x477d('0x798')][_0x477d('0x29db')]=null;mxGraph[_0x477d('0x798')][_0x477d('0x30b3')]=null;mxGraph[_0x477d('0x798')][_0x477d('0x30b4')]=null;mxGraph['prototype'][_0x477d('0x2d93')]=null;mxGraph[_0x477d('0x798')]['gridSize']=0xa;mxGraph['prototype'][_0x477d('0x2bdd')]=!0x0;mxGraph[_0x477d('0x798')][_0x477d('0x30b5')]=!0x0;mxGraph[_0x477d('0x798')][_0x477d('0x30b6')]=!0x0;mxGraph['prototype'][_0x477d('0x30b7')]=0x2bc;mxGraph['prototype'][_0x477d('0x30b8')]=0x19;mxGraph[_0x477d('0x798')][_0x477d('0x30b9')]=0x0;mxGraph['prototype'][_0x477d('0x30b9')]=0x0;mxGraph[_0x477d('0x798')]['lastTouchTime']=0x0;mxGraph[_0x477d('0x798')][_0x477d('0x302a')]=!0x0;mxGraph['prototype'][_0x477d('0x30ba')]=0x4;mxGraph[_0x477d('0x798')][_0x477d('0x30bb')]=0.5;mxGraph[_0x477d('0x798')]['defaultParent']=null;mxGraph['prototype']['alternateEdgeStyle']=null;mxGraph[_0x477d('0x798')][_0x477d('0x2df2')]=null;mxGraph['prototype'][_0x477d('0x30bc')]=!0x1;mxGraph[_0x477d('0x798')][_0x477d('0x30bd')]=!0x1;mxGraph['prototype'][_0x477d('0x30be')]=_0x477d('0x2bf9');mxGraph['prototype']['pageBreakDashed']=!0x0;mxGraph[_0x477d('0x798')][_0x477d('0x30bf')]=0x14;mxGraph[_0x477d('0x798')][_0x477d('0x30c0')]=!0x1;mxGraph[_0x477d('0x798')][_0x477d('0x2f70')]=mxConstants['PAGE_FORMAT_A4_PORTRAIT'];mxGraph['prototype'][_0x477d('0x2f6f')]=1.5;mxGraph['prototype'][_0x477d('0x3b4')]=!0x0;mxGraph['prototype']['escapeEnabled']=!0x0;mxGraph[_0x477d('0x798')][_0x477d('0x30c1')]=!0x0;mxGraph[_0x477d('0x798')]['enterStopsCellEditing']=!0x1;mxGraph[_0x477d('0x798')][_0x477d('0x30c2')]=!0x0;mxGraph[_0x477d('0x798')][_0x477d('0x30c3')]=!0x0;mxGraph[_0x477d('0x798')][_0x477d('0x30c4')]=!0x0;mxGraph['prototype'][_0x477d('0x30c5')]=!0x1;mxGraph[_0x477d('0x798')][_0x477d('0x30c6')]=!0x0;mxGraph['prototype'][_0x477d('0x30c7')]=!0x0;mxGraph[_0x477d('0x798')][_0x477d('0x30c8')]=!0x0;mxGraph['prototype'][_0x477d('0x30c9')]=!0x0;mxGraph['prototype'][_0x477d('0x30ca')]=!0x0;mxGraph[_0x477d('0x798')][_0x477d('0x30cb')]=!0x0;mxGraph[_0x477d('0x798')][_0x477d('0x30cc')]=!0x1;mxGraph[_0x477d('0x798')][_0x477d('0x30cd')]=!0x1;mxGraph[_0x477d('0x798')][_0x477d('0x30ce')]=!0x0;mxGraph['prototype'][_0x477d('0x30cf')]=!0x0;mxGraph['prototype'][_0x477d('0x30d0')]=!0x0;mxGraph[_0x477d('0x798')][_0x477d('0x30d1')]=!0x0;mxGraph[_0x477d('0x798')][_0x477d('0x30d2')]=!0x0;mxGraph['prototype'][_0x477d('0x30d3')]=!0x1;mxGraph[_0x477d('0x798')][_0x477d('0x2bef')]=!0x0;mxGraph[_0x477d('0x798')]['timerAutoScroll']=!0x1;mxGraph[_0x477d('0x798')][_0x477d('0x30d4')]=!0x1;mxGraph['prototype']['ignoreScrollbars']=!0x1;mxGraph[_0x477d('0x798')][_0x477d('0x30d5')]=!0x0;mxGraph['prototype']['maximumGraphBounds']=null;mxGraph['prototype'][_0x477d('0x30d6')]=null;mxGraph[_0x477d('0x798')][_0x477d('0x30d7')]=null;mxGraph[_0x477d('0x798')][_0x477d('0x30d8')]=null;mxGraph['prototype'][_0x477d('0x30d9')]=!0x1;mxGraph[_0x477d('0x798')][_0x477d('0x2a61')]=0x0;mxGraph[_0x477d('0x798')][_0x477d('0x2ff6')]=!0x0;mxGraph[_0x477d('0x798')]['keepEdgesInForeground']=!0x1;mxGraph['prototype'][_0x477d('0x2fff')]=!0x0;mxGraph[_0x477d('0x798')]['allowNegativeCoordinates']=!0x0;mxGraph[_0x477d('0x798')][_0x477d('0x30da')]=!0x0;mxGraph[_0x477d('0x798')]['extendParents']=!0x0;mxGraph[_0x477d('0x798')][_0x477d('0x30db')]=!0x0;mxGraph['prototype'][_0x477d('0x30dc')]=!0x0;mxGraph['prototype'][_0x477d('0x30dd')]=1.2;mxGraph[_0x477d('0x798')][_0x477d('0x30de')]=!0x1;mxGraph[_0x477d('0x798')][_0x477d('0x30df')]=!0x0;mxGraph['prototype']['resetViewOnRootChange']=!0x0;mxGraph[_0x477d('0x798')][_0x477d('0x30e0')]=!0x1;mxGraph[_0x477d('0x798')][_0x477d('0x30e1')]=!0x1;mxGraph[_0x477d('0x798')][_0x477d('0x30e2')]=!0x0;mxGraph[_0x477d('0x798')][_0x477d('0x30e3')]=!0x1;mxGraph['prototype']['defaultLoopStyle']=mxEdgeStyle[_0x477d('0x3051')];mxGraph['prototype'][_0x477d('0x30e4')]=!0x0;mxGraph[_0x477d('0x798')][_0x477d('0x30e5')]=!0x1;mxGraph[_0x477d('0x798')][_0x477d('0x30e6')]=!0x0;mxGraph['prototype'][_0x477d('0x30e7')]=!0x1;mxGraph[_0x477d('0x798')]['disconnectOnMove']=!0x0;mxGraph[_0x477d('0x798')]['labelsVisible']=!0x0;mxGraph[_0x477d('0x798')][_0x477d('0x30e8')]=!0x1;mxGraph[_0x477d('0x798')][_0x477d('0x30e9')]=!0x0;mxGraph[_0x477d('0x798')]['swimlaneNesting']=!0x0;mxGraph['prototype']['swimlaneIndicatorColorAttribute']=mxConstants['STYLE_FILLCOLOR'];mxGraph['prototype']['imageBundles']=null;mxGraph[_0x477d('0x798')][_0x477d('0x30ea')]=0.1;mxGraph[_0x477d('0x798')][_0x477d('0x30eb')]=0x8;mxGraph[_0x477d('0x798')][_0x477d('0x2c66')]=0x0;mxGraph[_0x477d('0x798')][_0x477d('0x2c5c')]=0x0;mxGraph[_0x477d('0x798')][_0x477d('0x30ec')]=new mxImage(mxClient[_0x477d('0x2986')]+_0x477d('0x30ed'),0x9,0x9);mxGraph['prototype']['expandedImage']=new mxImage(mxClient[_0x477d('0x2986')]+'/expanded.gif',0x9,0x9);mxGraph['prototype'][_0x477d('0x30ee')]=new mxImage(_0x477d('0x30ef'),0x10,0x10);mxGraph[_0x477d('0x798')][_0x477d('0x30f0')]=_0x477d('0x496')!=mxClient[_0x477d('0x1267')]?'alreadyConnected':'';mxGraph[_0x477d('0x798')][_0x477d('0x30f1')]=_0x477d('0x496')!=mxClient['language']?_0x477d('0x30f2'):'';mxGraph[_0x477d('0x798')]['collapseExpandResource']=_0x477d('0x496')!=mxClient['language']?_0x477d('0x30f3'):'';mxGraph[_0x477d('0x798')][_0x477d('0x5ee')]=function(_0x5b4f77){this[_0x477d('0x4e7')]=_0x5b4f77;this[_0x477d('0x30f4')]=this[_0x477d('0x30f5')]();this['view']['init']();this[_0x477d('0x3063')]();mxClient[_0x477d('0x2984')]&&(mxEvent[_0x477d('0x29b3')](window,_0x477d('0x30f6'),mxUtils[_0x477d('0x5d6')](this,function(){this[_0x477d('0x2a81')]();})),mxEvent[_0x477d('0x29b3')](_0x5b4f77,_0x477d('0x30f7'),mxUtils['bind'](this,function(){return this['isEditing']();})));0x8==document[_0x477d('0x2955')]&&_0x5b4f77[_0x477d('0x30f8')](_0x477d('0x30f9'),_0x477d('0x30fa'));};mxGraph[_0x477d('0x798')]['createHandlers']=function(_0x49d7df){this[_0x477d('0x3076')]=new mxTooltipHandler(this);this['tooltipHandler'][_0x477d('0x2bda')](!0x1);this[_0x477d('0x309d')]=new mxPanningHandler(this);this['panningHandler'][_0x477d('0x30fb')]=!0x1;this['selectionCellsHandler']=new mxSelectionCellsHandler(this);this[_0x477d('0x30fc')]=new mxConnectionHandler(this);this[_0x477d('0x30fc')]['setEnabled'](!0x1);this[_0x477d('0x30fd')]=new mxGraphHandler(this);};mxGraph[_0x477d('0x798')]['createSelectionModel']=function(){return new mxGraphSelectionModel(this);};mxGraph[_0x477d('0x798')][_0x477d('0x30fe')]=function(){return new mxStylesheet();};mxGraph[_0x477d('0x798')]['createGraphView']=function(){return new mxGraphView(this);};mxGraph[_0x477d('0x798')][_0x477d('0x30ae')]=function(){return new mxCellRenderer();};mxGraph[_0x477d('0x798')][_0x477d('0x30f5')]=function(){return new mxCellEditor(this);};mxGraph[_0x477d('0x798')][_0x477d('0x2a75')]=function(){return this['model'];};mxGraph['prototype'][_0x477d('0x29d4')]=function(){return this[_0x477d('0x1672')];};mxGraph[_0x477d('0x798')]['getStylesheet']=function(){return this['stylesheet'];};mxGraph[_0x477d('0x798')][_0x477d('0x30b0')]=function(_0x40aef6){this['stylesheet']=_0x40aef6;};mxGraph[_0x477d('0x798')]['getSelectionModel']=function(){return this[_0x477d('0x2fbe')];};mxGraph['prototype']['setSelectionModel']=function(_0x113ea2){this[_0x477d('0x2fbe')]=_0x113ea2;};mxGraph[_0x477d('0x798')][_0x477d('0x30ff')]=function(_0x4003bc){for(var _0x1eae18=[],_0x117487=0x0;_0x117487<_0x4003bc[_0x477d('0x79')];_0x117487++){var _0x5a0f48=_0x4003bc[_0x117487];if(_0x5a0f48[_0x477d('0x29c3')]!=mxRootChange){var _0x571dea=null;_0x5a0f48 instanceof mxChildChange&&null==_0x5a0f48['previous']?_0x571dea=_0x5a0f48[_0x477d('0x2e8b')]:null!=_0x5a0f48['cell']&&_0x5a0f48[_0x477d('0x29d5')]instanceof mxCell&&(_0x571dea=_0x5a0f48[_0x477d('0x29d5')]);null!=_0x571dea&&0x0>mxUtils[_0x477d('0x477')](_0x1eae18,_0x571dea)&&_0x1eae18['push'](_0x571dea);}}return this[_0x477d('0x2a75')]()[_0x477d('0x3100')](_0x1eae18);};mxGraph[_0x477d('0x798')][_0x477d('0x2c81')]=function(_0x41866f){for(var _0x103938=0x0;_0x103938<_0x41866f[_0x477d('0x79')];_0x103938++)this['processChange'](_0x41866f[_0x103938]);this[_0x477d('0x3101')](this[_0x477d('0x3102')](_0x41866f));this[_0x477d('0x1672')][_0x477d('0x306e')]();this['sizeDidChange']();};mxGraph[_0x477d('0x798')][_0x477d('0x3102')]=function(_0x8880fd){for(var _0x440f83=[],_0x450370=0x0;_0x450370<_0x8880fd['length'];_0x450370++){var _0x123650=_0x8880fd[_0x450370];if(_0x123650 instanceof mxRootChange)break;else _0x123650 instanceof mxChildChange?null!=_0x123650[_0x477d('0x29da')]&&null==_0x123650[_0x477d('0x374')]&&(_0x440f83=_0x440f83[_0x477d('0x3a9')](this['model'][_0x477d('0x2f2f')](_0x123650[_0x477d('0x2e8b')]))):_0x123650 instanceof mxVisibleChange&&(_0x440f83=_0x440f83[_0x477d('0x3a9')](this[_0x477d('0x44e')][_0x477d('0x2f2f')](_0x123650['cell'])));}return _0x440f83;};mxGraph['prototype']['processChange']=function(_0x29dbfe){if(_0x29dbfe instanceof mxRootChange)this[_0x477d('0x3103')](),this[_0x477d('0x3104')](_0x29dbfe['previous']),this[_0x477d('0x3105')]&&(this['view'][_0x477d('0x29d8')]=0x1,this[_0x477d('0x1672')][_0x477d('0x454')]['x']=0x0,this[_0x477d('0x1672')][_0x477d('0x454')]['y']=0x0),this[_0x477d('0x2b26')](new mxEventObject(mxEvent[_0x477d('0x3106')]));else if(_0x29dbfe instanceof mxChildChange){var _0x1823d9=this['model'][_0x477d('0x2e63')](_0x29dbfe[_0x477d('0x2e8b')]);null!=_0x1823d9?this[_0x477d('0x1672')][_0x477d('0x306d')](_0x29dbfe[_0x477d('0x2e8b')],!0x0,!0x1,null!=_0x29dbfe[_0x477d('0x29da')]):(this[_0x477d('0x3104')](_0x29dbfe[_0x477d('0x2e8b')]),this[_0x477d('0x1672')]['currentRoot']==_0x29dbfe[_0x477d('0x2e8b')]&&this['home']());_0x1823d9!=_0x29dbfe[_0x477d('0x29da')]&&(null!=_0x1823d9&&this[_0x477d('0x1672')]['invalidate'](_0x1823d9,!0x1,!0x1),null!=_0x29dbfe[_0x477d('0x29da')]&&this[_0x477d('0x1672')][_0x477d('0x306d')](_0x29dbfe[_0x477d('0x29da')],!0x1,!0x1));}else _0x29dbfe instanceof mxTerminalChange||_0x29dbfe instanceof mxGeometryChange?this[_0x477d('0x1672')][_0x477d('0x306d')](_0x29dbfe['cell']):_0x29dbfe instanceof mxValueChange?this[_0x477d('0x1672')]['invalidate'](_0x29dbfe[_0x477d('0x29d5')],!0x1,!0x1):_0x29dbfe instanceof mxStyleChange?(this[_0x477d('0x1672')][_0x477d('0x306d')](_0x29dbfe[_0x477d('0x29d5')],!0x0,!0x0,!0x1),this[_0x477d('0x1672')][_0x477d('0x306f')](_0x29dbfe[_0x477d('0x29d5')])):null!=_0x29dbfe[_0x477d('0x29d5')]&&_0x29dbfe['cell']instanceof mxCell&&this[_0x477d('0x3104')](_0x29dbfe[_0x477d('0x29d5')]);};mxGraph[_0x477d('0x798')]['removeStateForCell']=function(_0x381070){for(var _0x22c694=this[_0x477d('0x44e')]['getChildCount'](_0x381070),_0x5883a5=0x0;_0x5883a5<_0x22c694;_0x5883a5++)this[_0x477d('0x3104')](this['model'][_0x477d('0x29de')](_0x381070,_0x5883a5));this[_0x477d('0x1672')][_0x477d('0x306f')](_0x381070);};mxGraph[_0x477d('0x798')][_0x477d('0x3107')]=function(_0x52b8c3,_0x93e765){null==_0x52b8c3[_0x477d('0x2c9e')]&&(_0x52b8c3[_0x477d('0x2c9e')]=[]);_0x52b8c3[_0x477d('0x2c9e')][_0x477d('0x3a7')](_0x93e765);var _0x68abad=this[_0x477d('0x1672')][_0x477d('0x29df')](_0x52b8c3);null!=_0x68abad&&this['cellRenderer']['redraw'](_0x68abad);this[_0x477d('0x2b26')](new mxEventObject(mxEvent[_0x477d('0x3108')],'cell',_0x52b8c3,'overlay',_0x93e765));return _0x93e765;};mxGraph['prototype'][_0x477d('0x301f')]=function(_0xfdcc49){return _0xfdcc49['overlays'];};mxGraph[_0x477d('0x798')][_0x477d('0x3109')]=function(_0x2d8e2f,_0x274edf){if(null==_0x274edf)this[_0x477d('0x310a')](_0x2d8e2f);else{var _0x444162=mxUtils[_0x477d('0x477')](_0x2d8e2f[_0x477d('0x2c9e')],_0x274edf);0x0<=_0x444162?(_0x2d8e2f[_0x477d('0x2c9e')][_0x477d('0x45b')](_0x444162,0x1),0x0==_0x2d8e2f['overlays']['length']&&(_0x2d8e2f[_0x477d('0x2c9e')]=null),_0x444162=this[_0x477d('0x1672')][_0x477d('0x29df')](_0x2d8e2f),null!=_0x444162&&this[_0x477d('0x29db')][_0x477d('0x2d97')](_0x444162),this[_0x477d('0x2b26')](new mxEventObject(mxEvent['REMOVE_OVERLAY'],'cell',_0x2d8e2f,_0x477d('0x3020'),_0x274edf))):_0x274edf=null;}return _0x274edf;};mxGraph['prototype'][_0x477d('0x310a')]=function(_0x1d527e){var _0x526672=_0x1d527e[_0x477d('0x2c9e')];if(null!=_0x526672){_0x1d527e[_0x477d('0x2c9e')]=null;var _0x2d71fd=this[_0x477d('0x1672')][_0x477d('0x29df')](_0x1d527e);null!=_0x2d71fd&&this[_0x477d('0x29db')]['redraw'](_0x2d71fd);for(_0x2d71fd=0x0;_0x2d71fd<_0x526672[_0x477d('0x79')];_0x2d71fd++)this[_0x477d('0x2b26')](new mxEventObject(mxEvent[_0x477d('0x310b')],_0x477d('0x29d5'),_0x1d527e,'overlay',_0x526672[_0x2d71fd]));}return _0x526672;};mxGraph[_0x477d('0x798')]['clearCellOverlays']=function(_0x89325b){_0x89325b=null!=_0x89325b?_0x89325b:this[_0x477d('0x44e')][_0x477d('0x2a76')]();this[_0x477d('0x310a')](_0x89325b);for(var _0x4aeee5=this[_0x477d('0x44e')]['getChildCount'](_0x89325b),_0x29426e=0x0;_0x29426e<_0x4aeee5;_0x29426e++){var _0x26ebed=this[_0x477d('0x44e')]['getChildAt'](_0x89325b,_0x29426e);this['clearCellOverlays'](_0x26ebed);}};mxGraph[_0x477d('0x798')][_0x477d('0x310c')]=function(_0x320db9,_0x6588d5,_0x3eb5ac,_0x270b32){if(null!=_0x6588d5&&0x0<_0x6588d5['length'])return _0x3eb5ac=null!=_0x3eb5ac?_0x3eb5ac:this[_0x477d('0x30ee')],_0x6588d5=new mxCellOverlay(_0x3eb5ac,_0x477d('0x310d')+_0x6588d5+_0x477d('0x310e')),_0x270b32&&_0x6588d5[_0x477d('0x29b3')](mxEvent[_0x477d('0x310f')],mxUtils['bind'](this,function(_0x447388,_0x399012){this['isEnabled']()&&this[_0x477d('0x3110')](_0x320db9);})),this[_0x477d('0x3107')](_0x320db9,_0x6588d5);this[_0x477d('0x310a')](_0x320db9);return null;};mxGraph[_0x477d('0x798')][_0x477d('0x2fd2')]=function(_0x546ae1){this['startEditingAtCell'](null,_0x546ae1);};mxGraph[_0x477d('0x798')][_0x477d('0x3111')]=function(_0x284f9b,_0x13bbbe){null==_0x284f9b&&(_0x284f9b=this[_0x477d('0x3112')](),null!=_0x284f9b&&!this[_0x477d('0x3113')](_0x284f9b)&&(_0x284f9b=null));null!=_0x284f9b&&(this['fireEvent'](new mxEventObject(mxEvent['START_EDITING'],'cell',_0x284f9b,'event',_0x13bbbe)),this[_0x477d('0x30f4')][_0x477d('0x2fd2')](_0x284f9b,_0x13bbbe));};mxGraph[_0x477d('0x798')][_0x477d('0x2fde')]=function(_0x2b4db1,_0x32bab1){return this[_0x477d('0x3114')](_0x2b4db1);};mxGraph['prototype'][_0x477d('0x2fc6')]=function(_0x24d614){this[_0x477d('0x30f4')][_0x477d('0x2fc6')](_0x24d614);};mxGraph[_0x477d('0x798')][_0x477d('0x2fdb')]=function(_0x1a7b37,_0x53afac,_0x121400){this[_0x477d('0x44e')][_0x477d('0x2a65')]();try{this['cellLabelChanged'](_0x1a7b37,_0x53afac,this['isAutoSizeCell'](_0x1a7b37)),this['fireEvent'](new mxEventObject(mxEvent[_0x477d('0x3115')],_0x477d('0x29d5'),_0x1a7b37,_0x477d('0x3b6'),_0x53afac,_0x477d('0x2b35'),_0x121400));}finally{this[_0x477d('0x44e')]['endUpdate']();}return _0x1a7b37;};mxGraph[_0x477d('0x798')][_0x477d('0x3116')]=function(_0x15db0f,_0x52a54b,_0x4f5cc5){this[_0x477d('0x44e')][_0x477d('0x2a65')]();try{this[_0x477d('0x44e')][_0x477d('0x2f47')](_0x15db0f,_0x52a54b),_0x4f5cc5&&this[_0x477d('0x3117')](_0x15db0f,!0x1);}finally{this[_0x477d('0x44e')]['endUpdate']();}};mxGraph[_0x477d('0x798')][_0x477d('0x188c')]=function(_0x2d01e2){this[_0x477d('0x2fc6')](!0x0);this['connectionHandler'][_0x477d('0x18b0')]();this[_0x477d('0x30fd')][_0x477d('0x18b0')]();_0x2d01e2=this[_0x477d('0x2b89')]();for(var _0x4815e8=0x0;_0x4815e8<_0x2d01e2[_0x477d('0x79')];_0x4815e8++){var _0x5e4740=this['view'][_0x477d('0x29df')](_0x2d01e2[_0x4815e8]);null!=_0x5e4740&&null!=_0x5e4740[_0x477d('0x3118')]&&_0x5e4740[_0x477d('0x3118')][_0x477d('0x18b0')]();}};mxGraph['prototype'][_0x477d('0x540')]=function(_0x93ab62){var _0x3019b0=_0x93ab62['getEvent'](),_0xfea15c=_0x93ab62[_0x477d('0x2f36')](),_0x410e3e=new mxEventObject(mxEvent[_0x477d('0x310f')],_0x477d('0x2b35'),_0x3019b0,'cell',_0xfea15c);_0x93ab62[_0x477d('0x2b14')]()&&_0x410e3e[_0x477d('0x2b15')]();this[_0x477d('0x2b26')](_0x410e3e);this[_0x477d('0x2c6f')]()&&(!mxEvent[_0x477d('0x2b14')](_0x3019b0)&&!_0x410e3e[_0x477d('0x2b14')]())&&(null!=_0xfea15c?this[_0x477d('0x3119')](_0xfea15c,_0x3019b0):(_0xfea15c=null,this[_0x477d('0x311a')]()&&(_0xfea15c=this['getSwimlaneAt'](_0x93ab62[_0x477d('0x2b1e')](),_0x93ab62[_0x477d('0x311b')]())),null!=_0xfea15c?this[_0x477d('0x3119')](_0xfea15c,_0x3019b0):this[_0x477d('0x311c')](_0x3019b0)||this[_0x477d('0x3103')]()));};mxGraph[_0x477d('0x798')][_0x477d('0x302c')]=function(_0x42902d,_0x18dc7e){var _0x1e851c=new mxEventObject(mxEvent[_0x477d('0x311d')],_0x477d('0x2b35'),_0x42902d,'cell',_0x18dc7e);this[_0x477d('0x2b26')](_0x1e851c);this[_0x477d('0x2c6f')]()&&(!mxEvent['isConsumed'](_0x42902d)&&!_0x1e851c['isConsumed']()&&null!=_0x18dc7e&&this['isCellEditable'](_0x18dc7e))&&this['startEditingAtCell'](_0x18dc7e,_0x42902d);};mxGraph[_0x477d('0x798')][_0x477d('0x311e')]=function(_0x49bc9c,_0x5dec9c,_0x2212ba,_0x1c2281){if(!this['timerAutoScroll']&&(this['ignoreScrollbars']||mxUtils[_0x477d('0x2c59')](this[_0x477d('0x4e7')]))){var _0x25bc78=this[_0x477d('0x4e7')];_0x1c2281=null!=_0x1c2281?_0x1c2281:0x14;if(_0x49bc9c>=_0x25bc78[_0x477d('0x781')]&&_0x5dec9c>=_0x25bc78[_0x477d('0x52a')]&&_0x49bc9c<=_0x25bc78[_0x477d('0x781')]+_0x25bc78[_0x477d('0x29af')]&&_0x5dec9c<=_0x25bc78['scrollTop']+_0x25bc78[_0x477d('0x29ae')]){var _0x448430=_0x25bc78[_0x477d('0x781')]+_0x25bc78[_0x477d('0x29af')]-_0x49bc9c;if(_0x448430<_0x1c2281){if(_0x49bc9c=_0x25bc78[_0x477d('0x781')],_0x25bc78['scrollLeft']+=_0x1c2281-_0x448430,_0x2212ba&&_0x49bc9c==_0x25bc78['scrollLeft']){if(this[_0x477d('0x2d93')]==mxConstants[_0x477d('0x2a7a')]){_0x49bc9c=this['view'][_0x477d('0x2f92')]()['ownerSVGElement'];var _0x344c02=this[_0x477d('0x4e7')][_0x477d('0x70f')]+_0x1c2281-_0x448430;}else _0x344c02=Math['max'](_0x25bc78[_0x477d('0x29af')],_0x25bc78[_0x477d('0x70f')])+_0x1c2281-_0x448430,_0x49bc9c=this[_0x477d('0x1672')]['getCanvas']();_0x49bc9c['style'][_0x477d('0x4ef')]=_0x344c02+'px';_0x25bc78[_0x477d('0x781')]+=_0x1c2281-_0x448430;}}else _0x448430=_0x49bc9c-_0x25bc78[_0x477d('0x781')],_0x448430<_0x1c2281&&(_0x25bc78[_0x477d('0x781')]-=_0x1c2281-_0x448430);_0x448430=_0x25bc78[_0x477d('0x52a')]+_0x25bc78[_0x477d('0x29ae')]-_0x5dec9c;_0x448430<_0x1c2281?(_0x49bc9c=_0x25bc78['scrollTop'],_0x25bc78['scrollTop']+=_0x1c2281-_0x448430,_0x49bc9c==_0x25bc78[_0x477d('0x52a')]&&_0x2212ba&&(this[_0x477d('0x2d93')]==mxConstants[_0x477d('0x2a7a')]?(_0x49bc9c=this[_0x477d('0x1672')][_0x477d('0x2f92')]()[_0x477d('0x2d12')],_0x5dec9c=this[_0x477d('0x4e7')][_0x477d('0x70d')]+_0x1c2281-_0x448430):(_0x5dec9c=Math[_0x477d('0x13fc')](_0x25bc78[_0x477d('0x29ae')],_0x25bc78[_0x477d('0x70d')])+_0x1c2281-_0x448430,_0x49bc9c=this[_0x477d('0x1672')][_0x477d('0x2f90')]()),_0x49bc9c[_0x477d('0x457')][_0x477d('0x504')]=_0x5dec9c+'px',_0x25bc78[_0x477d('0x52a')]+=_0x1c2281-_0x448430)):(_0x448430=_0x5dec9c-_0x25bc78[_0x477d('0x52a')],_0x448430<_0x1c2281&&(_0x25bc78['scrollTop']-=_0x1c2281-_0x448430));}}else this[_0x477d('0x30d4')]&&!this[_0x477d('0x309d')][_0x477d('0x94d')]&&(null==this[_0x477d('0x311f')]&&(this['panningManager']=this[_0x477d('0x3120')]()),this[_0x477d('0x311f')][_0x477d('0x2c61')](_0x49bc9c+this[_0x477d('0x2c66')],_0x5dec9c+this[_0x477d('0x2c5c')]));};mxGraph[_0x477d('0x798')][_0x477d('0x3120')]=function(){return new mxPanningManager(this);};mxGraph[_0x477d('0x798')][_0x477d('0x3121')]=function(){function _0x1ed2fb(_0x412aa6){var _0x5dd156=0x0,_0x5dd156=_0x477d('0x3122')==_0x412aa6?0x2:'medium'==_0x412aa6?0x4:'thick'==_0x412aa6?0x6:parseInt(_0x412aa6);isNaN(_0x5dd156)&&(_0x5dd156=0x0);return _0x5dd156;}var _0x2c099f=mxUtils['getCurrentStyle'](this[_0x477d('0x4e7')]),_0x36e291=new mxRectangle();_0x36e291['x']=_0x1ed2fb(_0x2c099f['borderLeftWidth'])+parseInt(_0x2c099f['paddingLeft']||0x0);_0x36e291['y']=_0x1ed2fb(_0x2c099f[_0x477d('0x3123')])+parseInt(_0x2c099f[_0x477d('0x3124')]||0x0);_0x36e291['width']=_0x1ed2fb(_0x2c099f['borderRightWidth'])+parseInt(_0x2c099f[_0x477d('0x3125')]||0x0);_0x36e291['height']=_0x1ed2fb(_0x2c099f['borderBottomWidth'])+parseInt(_0x2c099f['paddingBottom']||0x0);return _0x36e291;};mxGraph[_0x477d('0x798')]['getPreferredPageSize']=function(_0x44084c,_0x491721,_0x550767){_0x44084c=this[_0x477d('0x1672')][_0x477d('0x29d8')];var _0xb3355f=this[_0x477d('0x1672')]['translate'],_0x11514e=this['pageFormat'],_0xdbaa03=_0x44084c*this[_0x477d('0x2f6f')],_0x11514e=new mxRectangle(0x0,0x0,_0x11514e[_0x477d('0x4ef')]*_0xdbaa03,_0x11514e[_0x477d('0x504')]*_0xdbaa03);_0x491721=this[_0x477d('0x30bd')]?Math['ceil'](_0x491721/_0x11514e[_0x477d('0x4ef')]):0x1;_0x550767=this[_0x477d('0x30bd')]?Math[_0x477d('0x2a46')](_0x550767/_0x11514e[_0x477d('0x504')]):0x1;return new mxRectangle(0x0,0x0,_0x491721*_0x11514e[_0x477d('0x4ef')]+0x2+_0xb3355f['x']/_0x44084c,_0x550767*_0x11514e[_0x477d('0x504')]+0x2+_0xb3355f['y']/_0x44084c);};mxGraph[_0x477d('0x798')][_0x477d('0x3063')]=function(){var _0x2527ed=this[_0x477d('0x2a83')]();if(null!=this['container']){var _0x250c22=this[_0x477d('0x3126')](),_0x490b05=Math[_0x477d('0x13fc')](0x0,_0x2527ed['x']+_0x2527ed[_0x477d('0x4ef')]+0x1+_0x250c22),_0x250c22=Math[_0x477d('0x13fc')](0x0,_0x2527ed['y']+_0x2527ed[_0x477d('0x504')]+0x1+_0x250c22);null!=this[_0x477d('0x30d7')]&&(_0x490b05=Math[_0x477d('0x13fc')](_0x490b05,this[_0x477d('0x30d7')][_0x477d('0x4ef')]),_0x250c22=Math[_0x477d('0x13fc')](_0x250c22,this[_0x477d('0x30d7')][_0x477d('0x504')]));this[_0x477d('0x30d9')]&&this[_0x477d('0x3127')](_0x490b05,_0x250c22);if(this['preferPageSize']||!mxClient[_0x477d('0x2984')]&&this[_0x477d('0x30bc')]){var _0x2e4b66=this[_0x477d('0x3128')](_0x2527ed,_0x490b05,_0x250c22);null!=_0x2e4b66&&(_0x490b05=_0x2e4b66[_0x477d('0x4ef')],_0x250c22=_0x2e4b66[_0x477d('0x504')]);}null!=this[_0x477d('0x30d6')]&&(_0x490b05=Math['max'](_0x490b05,this['minimumGraphSize'][_0x477d('0x4ef')]*this[_0x477d('0x1672')][_0x477d('0x29d8')]),_0x250c22=Math[_0x477d('0x13fc')](_0x250c22,this[_0x477d('0x30d6')][_0x477d('0x504')]*this[_0x477d('0x1672')][_0x477d('0x29d8')]));_0x490b05=Math[_0x477d('0x2a46')](_0x490b05-0x1);_0x250c22=Math[_0x477d('0x2a46')](_0x250c22-0x1);this[_0x477d('0x2d93')]==mxConstants[_0x477d('0x2a7a')]?(_0x2e4b66=this[_0x477d('0x1672')][_0x477d('0x2f92')]()[_0x477d('0x2d12')],_0x2e4b66[_0x477d('0x457')][_0x477d('0x3129')]=Math[_0x477d('0x13fc')](0x1,_0x490b05)+'px',_0x2e4b66[_0x477d('0x457')]['minHeight']=Math[_0x477d('0x13fc')](0x1,_0x250c22)+'px',_0x2e4b66[_0x477d('0x457')][_0x477d('0x4ef')]=_0x477d('0x2999'),_0x2e4b66['style'][_0x477d('0x504')]=_0x477d('0x2999')):mxClient[_0x477d('0x2a71')]?this[_0x477d('0x1672')]['updateHtmlCanvasSize'](Math[_0x477d('0x13fc')](0x1,_0x490b05),Math[_0x477d('0x13fc')](0x1,_0x250c22)):(this[_0x477d('0x1672')][_0x477d('0x2a7d')]['style']['minWidth']=Math[_0x477d('0x13fc')](0x1,_0x490b05)+'px',this[_0x477d('0x1672')]['canvas']['style'][_0x477d('0x312a')]=Math[_0x477d('0x13fc')](0x1,_0x250c22)+'px');this[_0x477d('0x312b')](this['pageBreaksVisible'],_0x490b05-0x1,_0x250c22-0x1);}this[_0x477d('0x2b26')](new mxEventObject(mxEvent[_0x477d('0x312c')],_0x477d('0x2db9'),_0x2527ed));};mxGraph[_0x477d('0x798')][_0x477d('0x3127')]=function(_0x5830bb,_0x32f494){if(mxClient[_0x477d('0x2984')])if(mxClient[_0x477d('0x2a71')]){var _0x3b1df9=this[_0x477d('0x3121')]();_0x5830bb+=Math[_0x477d('0x13fc')](0x2,_0x3b1df9['x']+_0x3b1df9['width']+0x1);_0x32f494+=Math['max'](0x2,_0x3b1df9['y']+_0x3b1df9[_0x477d('0x504')]+0x1);}else 0x9<=document[_0x477d('0x2955')]?(_0x5830bb+=0x3,_0x32f494+=0x5):(_0x5830bb+=0x1,_0x32f494+=0x1);else _0x32f494+=0x1;null!=this[_0x477d('0x30d8')]&&(_0x5830bb=Math[_0x477d('0x4fa')](this[_0x477d('0x30d8')][_0x477d('0x4ef')],_0x5830bb),_0x32f494=Math[_0x477d('0x4fa')](this[_0x477d('0x30d8')][_0x477d('0x504')],_0x32f494));this['container'][_0x477d('0x457')][_0x477d('0x4ef')]=Math[_0x477d('0x2a46')](_0x5830bb)+'px';this[_0x477d('0x4e7')][_0x477d('0x457')][_0x477d('0x504')]=Math[_0x477d('0x2a46')](_0x32f494)+'px';};mxGraph[_0x477d('0x798')]['updatePageBreaks']=function(_0x4a0211,_0x346d4e,_0x2d3d02){var _0x48c664=this[_0x477d('0x1672')]['scale'],_0x3a0036=this[_0x477d('0x1672')][_0x477d('0x454')],_0x30e23d=this[_0x477d('0x2f70')],_0x416f64=_0x48c664*this[_0x477d('0x2f6f')],_0x3a0036=new mxRectangle(_0x48c664*_0x3a0036['x'],_0x48c664*_0x3a0036['y'],_0x30e23d[_0x477d('0x4ef')]*_0x416f64,_0x30e23d[_0x477d('0x504')]*_0x416f64);_0x4a0211=_0x4a0211&&Math['min'](_0x3a0036[_0x477d('0x4ef')],_0x3a0036[_0x477d('0x504')])>this[_0x477d('0x30bf')];_0x3a0036['x']=mxUtils['mod'](_0x3a0036['x'],_0x3a0036[_0x477d('0x4ef')]);_0x3a0036['y']=mxUtils['mod'](_0x3a0036['y'],_0x3a0036['height']);_0x30e23d=_0x4a0211?Math[_0x477d('0x2a46')]((_0x346d4e-_0x3a0036['x'])/_0x3a0036['width']):0x0;_0x4a0211=_0x4a0211?Math[_0x477d('0x2a46')]((_0x2d3d02-_0x3a0036['y'])/_0x3a0036[_0x477d('0x504')]):0x0;null==this[_0x477d('0x312d')]&&0x0<_0x30e23d&&(this[_0x477d('0x312d')]=[]);if(null!=this[_0x477d('0x312d')]){for(_0x416f64=0x0;_0x416f64<=_0x30e23d;_0x416f64++){var _0x2d3b16=[new mxPoint(_0x3a0036['x']+_0x416f64*_0x3a0036[_0x477d('0x4ef')],0x1),new mxPoint(_0x3a0036['x']+_0x416f64*_0x3a0036['width'],_0x2d3d02)];null!=this['horizontalPageBreaks'][_0x416f64]?(this[_0x477d('0x312d')][_0x416f64]['scale']=0x1,this[_0x477d('0x312d')][_0x416f64]['points']=_0x2d3b16,this[_0x477d('0x312d')][_0x416f64]['redraw']()):(_0x2d3b16=new mxPolyline(_0x2d3b16,this[_0x477d('0x30be')],this[_0x477d('0x29d8')]),_0x2d3b16['dialect']=this[_0x477d('0x2d93')],_0x2d3b16['isDashed']=this['pageBreakDashed'],_0x2d3b16['scale']=_0x48c664,_0x2d3b16[_0x477d('0x5ee')](this[_0x477d('0x1672')][_0x477d('0x2f93')]),_0x2d3b16[_0x477d('0x2d97')](),this[_0x477d('0x312d')][_0x416f64]=_0x2d3b16);}for(_0x416f64=_0x30e23d;_0x416f64this['model']['getChildCount'](_0x123fef)&&_0x24aa4e--;this['model']['add'](_0x123fef,_0x19b739[_0xf053f3],_0x24aa4e+_0xf053f3);this[_0x477d('0x314f')]()&&this[_0x477d('0x3150')](_0x19b739[_0xf053f3])&&this['extendParent'](_0x19b739[_0xf053f3]);(null==_0x113389||_0x113389)&&this[_0x477d('0x3151')](_0x19b739[_0xf053f3]);null!=_0x129317&&this['cellConnected'](_0x19b739[_0xf053f3],_0x129317,!0x0);null!=_0x200271&&this[_0x477d('0x2b6c')](_0x19b739[_0xf053f3],_0x200271,!0x1);}this['fireEvent'](new mxEventObject(mxEvent[_0x477d('0x3152')],'cells',_0x19b739,_0x477d('0x374'),_0x123fef,_0x477d('0x2f5a'),_0x24aa4e,_0x477d('0x2c3b'),_0x129317,_0x477d('0x378'),_0x200271,_0x477d('0x54c'),_0x402d27));}finally{this[_0x477d('0x44e')]['endUpdate']();}}};mxGraph['prototype'][_0x477d('0x2b88')]=function(_0x153001,_0x2712ed){_0x2712ed=null!=_0x2712ed?_0x2712ed:!0x0;null==_0x153001&&(_0x153001=this[_0x477d('0x3153')](this[_0x477d('0x2b89')]()));_0x2712ed&&(_0x153001=this[_0x477d('0x3153')](this[_0x477d('0x3145')](_0x153001)));this['model']['beginUpdate']();try{this['cellsRemoved'](_0x153001),this[_0x477d('0x2b26')](new mxEventObject(mxEvent[_0x477d('0x3154')],_0x477d('0x2b86'),_0x153001,_0x477d('0x3155'),_0x2712ed));}finally{this['model'][_0x477d('0x2a67')]();}return _0x153001;};mxGraph['prototype'][_0x477d('0x2b65')]=function(_0x1dc5c4){if(null!=_0x1dc5c4&&0x0<_0x1dc5c4['length']){var _0x1c7dfc=this[_0x477d('0x1672')][_0x477d('0x29d8')],_0x1f4bab=this[_0x477d('0x1672')][_0x477d('0x454')];this[_0x477d('0x44e')][_0x477d('0x2a65')]();try{for(var _0x398c4c={},_0x67224d=0x0;_0x67224d<_0x1dc5c4[_0x477d('0x79')];_0x67224d++){var _0x2c151a=mxCellPath['create'](_0x1dc5c4[_0x67224d]);_0x398c4c[_0x2c151a]=_0x1dc5c4[_0x67224d];}for(_0x67224d=0x0;_0x67224d<_0x1dc5c4[_0x477d('0x79')];_0x67224d++){for(var _0x54dc47=this[_0x477d('0x2e81')](_0x1dc5c4[_0x67224d]),_0x2fb453=0x0;_0x2fb453<_0x54dc47[_0x477d('0x79')];_0x2fb453++)if(_0x2c151a=mxCellPath[_0x477d('0x2a62')](_0x54dc47[_0x2fb453]),null==_0x398c4c[_0x2c151a]){var _0x1c306d=this['model']['getGeometry'](_0x54dc47[_0x2fb453]);if(null!=_0x1c306d){var _0x3fb09d=this[_0x477d('0x1672')][_0x477d('0x29df')](_0x54dc47[_0x2fb453]);if(null!=_0x3fb09d){var _0x1c306d=_0x1c306d[_0x477d('0x117f')](),_0x3b1f50=_0x3fb09d[_0x477d('0x2e58')](!0x0)==_0x1dc5c4[_0x67224d],_0x30fe4b=_0x3fb09d[_0x477d('0x2a53')],_0x5cf1db=_0x3b1f50?0x0:_0x30fe4b[_0x477d('0x79')]-0x1;_0x1c306d['setTerminalPoint'](new mxPoint(_0x30fe4b[_0x5cf1db]['x']/_0x1c7dfc-_0x1f4bab['x'],_0x30fe4b[_0x5cf1db]['y']/_0x1c7dfc-_0x1f4bab['y']),_0x3b1f50);this[_0x477d('0x44e')][_0x477d('0x2f40')](_0x54dc47[_0x2fb453],null,_0x3b1f50);this[_0x477d('0x44e')]['setGeometry'](_0x54dc47[_0x2fb453],_0x1c306d);}}}this['model'][_0x477d('0x39c')](_0x1dc5c4[_0x67224d]);}this[_0x477d('0x2b26')](new mxEventObject(mxEvent['CELLS_REMOVED'],_0x477d('0x2b86'),_0x1dc5c4));}finally{this[_0x477d('0x44e')][_0x477d('0x2a67')]();}}};mxGraph[_0x477d('0x798')][_0x477d('0x2b6d')]=function(_0x244374,_0x38c6e5,_0x2f5434,_0x10c32b,_0x4618d8){_0x10c32b=_0x10c32b||0x0;_0x4618d8=_0x4618d8||0x0;null==_0x2f5434&&(_0x2f5434=this[_0x477d('0x2f54')]([_0x244374])[0x0]);var _0x755650=this[_0x477d('0x44e')]['getParent'](_0x244374),_0x1990ab=this[_0x477d('0x44e')][_0x477d('0x2e5c')](_0x244374,!0x0);this[_0x477d('0x44e')][_0x477d('0x2a65')]();try{this['cellsMoved'](_0x38c6e5,_0x10c32b,_0x4618d8,!0x1,!0x1),this[_0x477d('0x2b5e')](_0x38c6e5,_0x755650,this[_0x477d('0x44e')][_0x477d('0x2c42')](_0x755650),null,null,!0x0),this[_0x477d('0x2b5e')]([_0x2f5434],_0x755650,this['model']['getChildCount'](_0x755650),_0x1990ab,_0x38c6e5[0x0],!0x1),this['cellConnected'](_0x244374,_0x38c6e5[0x0],!0x0),this[_0x477d('0x2b26')](new mxEventObject(mxEvent[_0x477d('0x3156')],'edge',_0x244374,_0x477d('0x2b86'),_0x38c6e5,_0x477d('0x3157'),_0x2f5434,'dx',_0x10c32b,'dy',_0x4618d8));}finally{this[_0x477d('0x44e')]['endUpdate']();}return _0x2f5434;};mxGraph[_0x477d('0x798')][_0x477d('0x2b62')]=function(_0x4e2c8f,_0x151f18,_0x4f3979){null==_0x151f18&&(_0x151f18=this['getSelectionCells']());_0x4f3979&&(_0x151f18=this[_0x477d('0x3145')](_0x151f18));this[_0x477d('0x44e')]['beginUpdate']();try{this[_0x477d('0x3158')](_0x151f18,_0x4e2c8f),this[_0x477d('0x2b26')](new mxEventObject(mxEvent[_0x477d('0x3159')],_0x477d('0x395'),_0x4e2c8f,_0x477d('0x2b86'),_0x151f18,_0x477d('0x3155'),_0x4f3979));}finally{this[_0x477d('0x44e')][_0x477d('0x2a67')]();}return _0x151f18;};mxGraph['prototype']['cellsToggled']=function(_0x3ab4eb,_0x46ae26){if(null!=_0x3ab4eb&&0x0<_0x3ab4eb[_0x477d('0x79')]){this['model'][_0x477d('0x2a65')]();try{for(var _0x185377=0x0;_0x185377<_0x3ab4eb[_0x477d('0x79')];_0x185377++)this['model'][_0x477d('0x29b9')](_0x3ab4eb[_0x185377],_0x46ae26);}finally{this[_0x477d('0x44e')][_0x477d('0x2a67')]();}}};mxGraph[_0x477d('0x798')][_0x477d('0x3025')]=function(_0x32f47e,_0x39728f,_0x453041,_0x5248f9){_0x39728f=null!=_0x39728f?_0x39728f:!0x1;null==_0x453041&&(_0x453041=this['getFoldableCells'](this['getSelectionCells'](),_0x32f47e));this[_0x477d('0x2fc6')](!0x1);this[_0x477d('0x44e')][_0x477d('0x2a65')]();try{this['cellsFolded'](_0x453041,_0x32f47e,_0x39728f,_0x5248f9),this[_0x477d('0x2b26')](new mxEventObject(mxEvent[_0x477d('0x315a')],_0x477d('0x58b'),_0x32f47e,_0x477d('0x315b'),_0x39728f,_0x477d('0x2b86'),_0x453041));}finally{this['model'][_0x477d('0x2a67')]();}return _0x453041;};mxGraph[_0x477d('0x798')][_0x477d('0x2b69')]=function(_0x157e1a,_0xbe4d97,_0x37ba89,_0x41bd86){if(null!=_0x157e1a&&0x0<_0x157e1a['length']){this[_0x477d('0x44e')][_0x477d('0x2a65')]();try{for(var _0x1db903=0x0;_0x1db903<_0x157e1a[_0x477d('0x79')];_0x1db903++)if((!_0x41bd86||this[_0x477d('0x315c')](_0x157e1a[_0x1db903],_0xbe4d97))&&_0xbe4d97!=this['isCellCollapsed'](_0x157e1a[_0x1db903]))if(this[_0x477d('0x44e')]['setCollapsed'](_0x157e1a[_0x1db903],_0xbe4d97),this[_0x477d('0x315d')](_0x157e1a[_0x1db903],_0xbe4d97),this['isExtendParent'](_0x157e1a[_0x1db903])&&this['extendParent'](_0x157e1a[_0x1db903]),_0x37ba89){var _0x453a70=this[_0x477d('0x44e')][_0x477d('0x2f3e')](_0x157e1a[_0x1db903]);this['foldCells'](_0x453a70,_0xbe4d97,_0x37ba89);}this[_0x477d('0x2b26')](new mxEventObject(mxEvent['CELLS_FOLDED'],'cells',_0x157e1a,'collapse',_0xbe4d97,_0x477d('0x315b'),_0x37ba89));}finally{this[_0x477d('0x44e')][_0x477d('0x2a67')]();}}};mxGraph[_0x477d('0x798')][_0x477d('0x315d')]=function(_0x18ff78,_0x315169){if(null!=_0x18ff78){var _0xa5aeeb=this[_0x477d('0x44e')][_0x477d('0x2e62')](_0x18ff78);null!=_0xa5aeeb&&(_0xa5aeeb=_0xa5aeeb[_0x477d('0x117f')](),this[_0x477d('0x315e')](_0x18ff78,_0xa5aeeb,_0x315169),_0xa5aeeb[_0x477d('0x2f6b')](),this[_0x477d('0x44e')][_0x477d('0x2e65')](_0x18ff78,_0xa5aeeb));}};mxGraph[_0x477d('0x798')][_0x477d('0x315e')]=function(_0x3ef8a2,_0x5b7d98,_0x4e59dc){if(null!=_0x3ef8a2&&null!=_0x5b7d98){_0x4e59dc=this['view'][_0x477d('0x29df')](_0x3ef8a2);_0x4e59dc=null!=_0x4e59dc?_0x4e59dc[_0x477d('0x457')]:this[_0x477d('0x2e54')](_0x3ef8a2);if(null==_0x5b7d98[_0x477d('0x2f69')]){var _0x247910=_0x5b7d98;this[_0x477d('0x30dc')]&&(_0x3ef8a2=this[_0x477d('0x315f')](_0x3ef8a2),null!=_0x3ef8a2&&(_0x247910=_0x3ef8a2,_0x3ef8a2=mxUtils[_0x477d('0x2a4a')](_0x4e59dc,mxConstants[_0x477d('0x2a56')]),0x0<_0x3ef8a2&&(_0x247910['height']=Math[_0x477d('0x13fc')](_0x247910['height'],_0x3ef8a2))));_0x5b7d98[_0x477d('0x2f69')]=new mxRectangle(0x0,0x0,_0x247910[_0x477d('0x4ef')],_0x247910['height']);}if(null!=_0x5b7d98['alternateBounds']){_0x5b7d98[_0x477d('0x2f69')]['x']=_0x5b7d98['x'];_0x5b7d98[_0x477d('0x2f69')]['y']=_0x5b7d98['y'];var _0x203e31=mxUtils[_0x477d('0x2a48')](_0x4e59dc[mxConstants[_0x477d('0x2de3')]]||'0');0x0!=_0x203e31&&(_0x3ef8a2=_0x5b7d98[_0x477d('0x2f69')][_0x477d('0x29d1')]()-_0x5b7d98[_0x477d('0x29d1')](),_0x4e59dc=_0x5b7d98[_0x477d('0x2f69')][_0x477d('0x2a55')]()-_0x5b7d98[_0x477d('0x2a55')](),_0x247910=Math[_0x477d('0x2a47')](_0x203e31),_0x203e31=Math[_0x477d('0x2a43')](_0x203e31),_0x5b7d98[_0x477d('0x2f69')]['x']+=_0x247910*_0x3ef8a2-_0x203e31*_0x4e59dc-_0x3ef8a2,_0x5b7d98[_0x477d('0x2f69')]['y']+=_0x203e31*_0x3ef8a2+_0x247910*_0x4e59dc-_0x4e59dc);}}};mxGraph[_0x477d('0x798')][_0x477d('0x3145')]=function(_0xc3e6cb){var _0x2305a6=_0xc3e6cb[_0x477d('0x9cd')]();return _0x2305a6=_0x2305a6[_0x477d('0x3a9')](this[_0x477d('0x3160')](_0xc3e6cb));};mxGraph['prototype']['getAllEdges']=function(_0x20bbd1){var _0x5344e5=[];if(null!=_0x20bbd1)for(var _0x44c4f5=0x0;_0x44c4f5<_0x20bbd1[_0x477d('0x79')];_0x44c4f5++){for(var _0x24156b=this[_0x477d('0x44e')][_0x477d('0x2e56')](_0x20bbd1[_0x44c4f5]),_0x58ff28=0x0;_0x58ff28<_0x24156b;_0x58ff28++)_0x5344e5['push'](this[_0x477d('0x44e')][_0x477d('0x2e57')](_0x20bbd1[_0x44c4f5],_0x58ff28));_0x24156b=this[_0x477d('0x44e')][_0x477d('0x2f3e')](_0x20bbd1[_0x44c4f5]);_0x5344e5=_0x5344e5[_0x477d('0x3a9')](this[_0x477d('0x3160')](_0x24156b));}return _0x5344e5;};mxGraph[_0x477d('0x798')][_0x477d('0x2b71')]=function(_0x3809fb,_0x3805db){_0x3805db=null!=_0x3805db?_0x3805db:!0x1;this['model']['beginUpdate']();try{this[_0x477d('0x3117')](_0x3809fb,_0x3805db),this[_0x477d('0x2b26')](new mxEventObject(mxEvent['UPDATE_CELL_SIZE'],_0x477d('0x29d5'),_0x3809fb,'ignoreChildren',_0x3805db));}finally{this[_0x477d('0x44e')][_0x477d('0x2a67')]();}return _0x3809fb;};mxGraph[_0x477d('0x798')]['cellSizeUpdated']=function(_0x3a4a6d,_0x431cea){if(null!=_0x3a4a6d){this[_0x477d('0x44e')]['beginUpdate']();try{var _0x2777d8=this['getPreferredSizeForCell'](_0x3a4a6d),_0x696b5b=this[_0x477d('0x44e')][_0x477d('0x2e62')](_0x3a4a6d);if(null!=_0x2777d8&&null!=_0x696b5b){var _0xe97147=this[_0x477d('0x2e74')](_0x3a4a6d),_0x696b5b=_0x696b5b[_0x477d('0x117f')]();if(this[_0x477d('0x2e6b')](_0x3a4a6d)){var _0x51fa17=this[_0x477d('0x1672')][_0x477d('0x29df')](_0x3a4a6d),_0xb15b6=null!=_0x51fa17?_0x51fa17[_0x477d('0x457')]:this[_0x477d('0x2e54')](_0x3a4a6d),_0x2b9fd5=this['model'][_0x477d('0x2a68')](_0x3a4a6d);null==_0x2b9fd5&&(_0x2b9fd5='');mxUtils[_0x477d('0x2a4a')](_0xb15b6,mxConstants[_0x477d('0x2df0')],!0x0)?(_0x2b9fd5=mxUtils['setStyle'](_0x2b9fd5,mxConstants['STYLE_STARTSIZE'],_0x2777d8[_0x477d('0x504')]+0x8),_0xe97147&&(_0x696b5b[_0x477d('0x504')]=_0x2777d8[_0x477d('0x504')]+0x8),_0x696b5b[_0x477d('0x4ef')]=_0x2777d8['width']):(_0x2b9fd5=mxUtils['setStyle'](_0x2b9fd5,mxConstants[_0x477d('0x2a56')],_0x2777d8[_0x477d('0x4ef')]+0x8),_0xe97147&&(_0x696b5b[_0x477d('0x4ef')]=_0x2777d8[_0x477d('0x4ef')]+0x8),_0x696b5b[_0x477d('0x504')]=_0x2777d8[_0x477d('0x504')]);this[_0x477d('0x44e')][_0x477d('0x2a66')](_0x3a4a6d,_0x2b9fd5);}else _0x696b5b[_0x477d('0x4ef')]=_0x2777d8[_0x477d('0x4ef')],_0x696b5b[_0x477d('0x504')]=_0x2777d8[_0x477d('0x504')];if(!_0x431cea&&!_0xe97147){var _0x2fd03a=this[_0x477d('0x1672')][_0x477d('0x2eab')](this[_0x477d('0x44e')][_0x477d('0x2f3e')](_0x3a4a6d));if(null!=_0x2fd03a){var _0x57dd8b=this[_0x477d('0x1672')][_0x477d('0x454')],_0x162fdb=this[_0x477d('0x1672')]['scale'],_0x321675=(_0x2fd03a['y']+_0x2fd03a[_0x477d('0x504')])/_0x162fdb-_0x696b5b['y']-_0x57dd8b['y'];_0x696b5b[_0x477d('0x4ef')]=Math[_0x477d('0x13fc')](_0x696b5b[_0x477d('0x4ef')],(_0x2fd03a['x']+_0x2fd03a[_0x477d('0x4ef')])/_0x162fdb-_0x696b5b['x']-_0x57dd8b['x']);_0x696b5b['height']=Math['max'](_0x696b5b[_0x477d('0x504')],_0x321675);}}this[_0x477d('0x2b61')]([_0x3a4a6d],[_0x696b5b]);}}finally{this[_0x477d('0x44e')][_0x477d('0x2a67')]();}}};mxGraph[_0x477d('0x798')]['getPreferredSizeForCell']=function(_0x265fd7){var _0x80a496=null;if(null!=_0x265fd7){var _0x3f5ca6=this[_0x477d('0x1672')][_0x477d('0x29df')](_0x265fd7),_0x284fd7=null!=_0x3f5ca6?_0x3f5ca6[_0x477d('0x457')]:this[_0x477d('0x2e54')](_0x265fd7);if(null!=_0x284fd7&&!this[_0x477d('0x44e')][_0x477d('0x29d6')](_0x265fd7)){var _0x1125cb=_0x284fd7[mxConstants['STYLE_FONTSIZE']]||mxConstants[_0x477d('0x2cde')],_0x1bc34e=0x0,_0x80a496=0x0;if((null!=this[_0x477d('0x2c96')](_0x3f5ca6)||null!=_0x284fd7[mxConstants['STYLE_IMAGE']])&&_0x284fd7[mxConstants[_0x477d('0x2f99')]]==mxConstants['SHAPE_LABEL'])_0x284fd7[mxConstants['STYLE_VERTICAL_ALIGN']]==mxConstants['ALIGN_MIDDLE']&&(_0x1bc34e+=parseFloat(_0x284fd7[mxConstants[_0x477d('0x3161')]])||mxLabel['prototype'][_0x477d('0x2e33')]),_0x284fd7[mxConstants[_0x477d('0x2fa0')]]!=mxConstants[_0x477d('0x2a69')]&&(_0x80a496+=parseFloat(_0x284fd7[mxConstants[_0x477d('0x2e3b')]])||mxLabel['prototype'][_0x477d('0x2e33')]);_0x1bc34e+=0x2*(_0x284fd7[mxConstants[_0x477d('0x3011')]]||0x0);_0x1bc34e+=_0x284fd7[mxConstants['STYLE_SPACING_LEFT']]||0x0;_0x1bc34e+=_0x284fd7[mxConstants[_0x477d('0x2fe0')]]||0x0;_0x80a496+=0x2*(_0x284fd7[mxConstants['STYLE_SPACING']]||0x0);_0x80a496+=_0x284fd7[mxConstants[_0x477d('0x2fdf')]]||0x0;_0x80a496+=_0x284fd7[mxConstants['STYLE_SPACING_BOTTOM']]||0x0;_0x3f5ca6=this[_0x477d('0x3162')](_0x3f5ca6);null!=_0x3f5ca6&&(_0x1bc34e+=_0x3f5ca6[_0x477d('0x4ef')]+0x8);_0x3f5ca6=this[_0x477d('0x300e')](_0x265fd7);null!=_0x3f5ca6&&0x0<_0x3f5ca6[_0x477d('0x79')]?(this[_0x477d('0x300f')](_0x265fd7)||(_0x3f5ca6=_0x3f5ca6['replace'](/\n/g,_0x477d('0x2a95'))),_0x1125cb=mxUtils[_0x477d('0x3163')](_0x3f5ca6,_0x1125cb,_0x284fd7[mxConstants[_0x477d('0x2fd5')]]),_0x265fd7=_0x1125cb[_0x477d('0x4ef')]+_0x1bc34e,_0x80a496=_0x1125cb[_0x477d('0x504')]+_0x80a496,mxUtils[_0x477d('0x2a4a')](_0x284fd7,mxConstants[_0x477d('0x2df0')],!0x0)||(_0x284fd7=_0x80a496,_0x80a496=_0x265fd7,_0x265fd7=_0x284fd7),this[_0x477d('0x2bdd')]&&(_0x265fd7=this['snap'](_0x265fd7+this[_0x477d('0x2bf2')]/0x2),_0x80a496=this['snap'](_0x80a496+this[_0x477d('0x2bf2')]/0x2)),_0x80a496=new mxRectangle(0x0,0x0,_0x265fd7,_0x80a496)):(_0x284fd7=0x4*this[_0x477d('0x2bf2')],_0x80a496=new mxRectangle(0x0,0x0,_0x284fd7,_0x284fd7));}}return _0x80a496;};mxGraph['prototype'][_0x477d('0x302b')]=function(_0x3ebb4b,_0x5c2330){if(0.2_0x30a730?(_0x30a730=_0x41ef1e[_0x477d('0x504')]/_0x30a730,_0x48b2b2=(_0x30a730-_0x41ef1e[_0x477d('0x504')])/0x2,_0x41ef1e[_0x477d('0x504')]=_0x30a730,_0x30a730=Math[_0x477d('0x4fa')](_0x41ef1e['y'],_0x48b2b2),_0x41ef1e['y']-=_0x30a730,_0x4e6e4a=Math[_0x477d('0x4fa')](this[_0x477d('0x4e7')][_0x477d('0x70d')],_0x41ef1e['y']+_0x41ef1e[_0x477d('0x504')]),_0x41ef1e[_0x477d('0x504')]=_0x4e6e4a-_0x41ef1e['y']):(_0x30a730*=_0x41ef1e[_0x477d('0x4ef')],_0x48b2b2=(_0x30a730-_0x41ef1e[_0x477d('0x4ef')])/0x2,_0x41ef1e[_0x477d('0x4ef')]=_0x30a730,_0x30a730=Math[_0x477d('0x4fa')](_0x41ef1e['x'],_0x48b2b2),_0x41ef1e['x']-=_0x30a730,_0x48b2b2=Math[_0x477d('0x4fa')](this[_0x477d('0x4e7')][_0x477d('0x70f')],_0x41ef1e['x']+_0x41ef1e[_0x477d('0x4ef')]),_0x41ef1e[_0x477d('0x4ef')]=_0x48b2b2-_0x41ef1e['x']);_0x30a730=this[_0x477d('0x4e7')][_0x477d('0x29af')]/_0x41ef1e[_0x477d('0x4ef')];_0x48b2b2=this[_0x477d('0x1672')][_0x477d('0x29d8')]*_0x30a730;mxUtils['hasScrollbars'](this[_0x477d('0x4e7')])?(this[_0x477d('0x1672')][_0x477d('0x3068')](_0x48b2b2),this[_0x477d('0x4e7')][_0x477d('0x781')]=Math[_0x477d('0x4fc')](_0x41ef1e['x']*_0x30a730),this[_0x477d('0x4e7')]['scrollTop']=Math[_0x477d('0x4fc')](_0x41ef1e['y']*_0x30a730)):this['view']['scaleAndTranslate'](_0x48b2b2,this[_0x477d('0x1672')][_0x477d('0x454')]['x']-_0x41ef1e['x']/this['view'][_0x477d('0x29d8')],this[_0x477d('0x1672')][_0x477d('0x454')]['y']-_0x41ef1e['y']/this[_0x477d('0x1672')]['scale']);};mxGraph[_0x477d('0x798')][_0x477d('0x2ba4')]=function(_0xcc7fa0,_0x199bdc){if(null!=this[_0x477d('0x4e7')]){_0xcc7fa0=null!=_0xcc7fa0?_0xcc7fa0:0x0;_0x199bdc=null!=_0x199bdc?_0x199bdc:!0x1;var _0x46c9be=this['container'][_0x477d('0x29af')],_0xb60e85=this[_0x477d('0x4e7')]['clientHeight'],_0x26ae2d=this['view'][_0x477d('0x2a83')]();_0x199bdc&&(null!=_0x26ae2d['x']&&null!=_0x26ae2d['y'])&&(_0x26ae2d['width']+=_0x26ae2d['x'],_0x26ae2d[_0x477d('0x504')]+=_0x26ae2d['y'],_0x26ae2d['x']=0x0,_0x26ae2d['y']=0x0);var _0xe326ef=this[_0x477d('0x1672')]['scale'],_0x562fa0=_0x26ae2d[_0x477d('0x4ef')]/_0xe326ef,_0x3be88b=_0x26ae2d['height']/_0xe326ef;null!=this['backgroundImage']&&(_0x562fa0=Math['max'](_0x562fa0,this[_0x477d('0x2df2')][_0x477d('0x4ef')]-_0x26ae2d['x']/_0xe326ef),_0x3be88b=Math['max'](_0x3be88b,this[_0x477d('0x2df2')]['height']-_0x26ae2d['y']/_0xe326ef));var _0x80c995=_0x199bdc?_0xcc7fa0:0x2*_0xcc7fa0,_0x46c9be=Math['floor'](0x64*Math[_0x477d('0x4fa')](_0x46c9be/(_0x562fa0+_0x80c995),_0xb60e85/(_0x3be88b+_0x80c995)))/0x64;null!=this[_0x477d('0x30ea')]&&(_0x46c9be=Math[_0x477d('0x13fc')](_0x46c9be,this[_0x477d('0x30ea')]));null!=this[_0x477d('0x30eb')]&&(_0x46c9be=Math[_0x477d('0x4fa')](_0x46c9be,this[_0x477d('0x30eb')]));_0x199bdc?this[_0x477d('0x1672')][_0x477d('0x29d8')]!=_0x46c9be&&this[_0x477d('0x1672')][_0x477d('0x3068')](_0x46c9be):mxUtils['hasScrollbars'](this[_0x477d('0x4e7')])?(this[_0x477d('0x1672')][_0x477d('0x3068')](_0x46c9be),null!=_0x26ae2d['x']&&(this[_0x477d('0x4e7')][_0x477d('0x781')]=Math[_0x477d('0x4fc')](_0x26ae2d['x']/_0xe326ef)*_0x46c9be-_0xcc7fa0-Math[_0x477d('0x13fc')](0x0,(this[_0x477d('0x4e7')][_0x477d('0x29af')]-_0x562fa0*_0x46c9be)/0x2)),null!=_0x26ae2d['y']&&(this[_0x477d('0x4e7')]['scrollTop']=Math[_0x477d('0x4fc')](_0x26ae2d['y']/_0xe326ef)*_0x46c9be-_0xcc7fa0-Math[_0x477d('0x13fc')](0x0,(this[_0x477d('0x4e7')][_0x477d('0x29ae')]-_0x3be88b*_0x46c9be)/0x2))):this[_0x477d('0x1672')][_0x477d('0x3064')](_0x46c9be,null!=_0x26ae2d['x']?Math[_0x477d('0x6c4')](this['view'][_0x477d('0x454')]['x']-_0x26ae2d['x']/_0xe326ef+_0xcc7fa0+0x1):_0xcc7fa0,null!=_0x26ae2d['y']?Math[_0x477d('0x6c4')](this[_0x477d('0x1672')]['translate']['y']-_0x26ae2d['y']/_0xe326ef+_0xcc7fa0+0x1):_0xcc7fa0);}return this[_0x477d('0x1672')]['scale'];};mxGraph[_0x477d('0x798')][_0x477d('0x3193')]=function(_0x7fbf6f,_0x3c4e64){var _0x1de371=-this['view'][_0x477d('0x454')]['x'],_0x4fcf94=-this[_0x477d('0x1672')][_0x477d('0x454')]['y'],_0x2d5bf8=this[_0x477d('0x1672')][_0x477d('0x29df')](_0x7fbf6f);null!=_0x2d5bf8&&(_0x1de371=new mxRectangle(_0x1de371+_0x2d5bf8['x'],_0x4fcf94+_0x2d5bf8['y'],_0x2d5bf8['width'],_0x2d5bf8[_0x477d('0x504')]),_0x3c4e64&&null!=this['container']&&(_0x4fcf94=this[_0x477d('0x4e7')][_0x477d('0x29af')],_0x2d5bf8=this['container'][_0x477d('0x29ae')],_0x1de371['x']=_0x1de371[_0x477d('0x29d1')]()-_0x4fcf94/0x2,_0x1de371[_0x477d('0x4ef')]=_0x4fcf94,_0x1de371['y']=_0x1de371[_0x477d('0x2a55')]()-_0x2d5bf8/0x2,_0x1de371[_0x477d('0x504')]=_0x2d5bf8),this['scrollRectToVisible'](_0x1de371)&&this[_0x477d('0x1672')][_0x477d('0x306a')](this[_0x477d('0x1672')]['translate']['x'],this[_0x477d('0x1672')]['translate']['y']));};mxGraph[_0x477d('0x798')]['scrollRectToVisible']=function(_0x20fb26){var _0x3f92c4=!0x1;if(null!=_0x20fb26){var _0x24e641=this[_0x477d('0x4e7')][_0x477d('0x2a74')],_0x37155a=this['container']['offsetHeight'],_0x4280f0=Math[_0x477d('0x4fa')](_0x24e641,_0x20fb26[_0x477d('0x4ef')]),_0x2f724e=Math[_0x477d('0x4fa')](_0x37155a,_0x20fb26[_0x477d('0x504')]);if(mxUtils['hasScrollbars'](this['container'])){_0x24e641=this[_0x477d('0x4e7')];_0x20fb26['x']+=this['view'][_0x477d('0x454')]['x'];_0x20fb26['y']+=this[_0x477d('0x1672')][_0x477d('0x454')]['y'];var _0x514252=_0x24e641[_0x477d('0x781')]-_0x20fb26['x'],_0x37155a=Math[_0x477d('0x13fc')](_0x514252-_0x24e641[_0x477d('0x781')],0x0);0x0<_0x514252?_0x24e641[_0x477d('0x781')]-=_0x514252+0x2:(_0x514252=_0x20fb26['x']+_0x4280f0-_0x24e641[_0x477d('0x781')]-_0x24e641['clientWidth'],0x0<_0x514252&&(_0x24e641['scrollLeft']+=_0x514252+0x2));_0x4280f0=_0x24e641['scrollTop']-_0x20fb26['y'];_0x514252=Math[_0x477d('0x13fc')](0x0,_0x4280f0-_0x24e641['scrollTop']);0x0<_0x4280f0?_0x24e641[_0x477d('0x52a')]-=_0x4280f0+0x2:(_0x4280f0=_0x20fb26['y']+_0x2f724e-_0x24e641['scrollTop']-_0x24e641['clientHeight'],0x0<_0x4280f0&&(_0x24e641[_0x477d('0x52a')]+=_0x4280f0+0x2));!this[_0x477d('0x30c2')]&&(0x0!=_0x37155a||0x0!=_0x514252)&&this[_0x477d('0x1672')][_0x477d('0x306a')](_0x37155a,_0x514252);}else{var _0x514252=-this[_0x477d('0x1672')][_0x477d('0x454')]['x'],_0x39a5f5=-this['view'][_0x477d('0x454')]['y'],_0x240c4c=this['view']['scale'];_0x20fb26['x']+_0x4280f0>_0x514252+_0x24e641&&(this['view'][_0x477d('0x454')]['x']-=(_0x20fb26['x']+_0x4280f0-_0x24e641-_0x514252)/_0x240c4c,_0x3f92c4=!0x0);_0x20fb26['y']+_0x2f724e>_0x39a5f5+_0x37155a&&(this[_0x477d('0x1672')][_0x477d('0x454')]['y']-=(_0x20fb26['y']+_0x2f724e-_0x37155a-_0x39a5f5)/_0x240c4c,_0x3f92c4=!0x0);_0x20fb26['x']<_0x514252&&(this['view'][_0x477d('0x454')]['x']+=(_0x514252-_0x20fb26['x'])/_0x240c4c,_0x3f92c4=!0x0);_0x20fb26['y']<_0x39a5f5&&(this[_0x477d('0x1672')][_0x477d('0x454')]['y']+=(_0x39a5f5-_0x20fb26['y'])/_0x240c4c,_0x3f92c4=!0x0);_0x3f92c4&&(this[_0x477d('0x1672')][_0x477d('0x911')](),null!=this[_0x477d('0x3194')]&&this[_0x477d('0x3194')][_0x477d('0x911')]());}}return _0x3f92c4;};mxGraph[_0x477d('0x798')][_0x477d('0x2e6a')]=function(_0x4f8311){return this[_0x477d('0x44e')][_0x477d('0x2e62')](_0x4f8311);};mxGraph[_0x477d('0x798')][_0x477d('0x2f1b')]=function(_0x104e2e){return this[_0x477d('0x44e')][_0x477d('0x2bc1')](_0x104e2e);};mxGraph[_0x477d('0x798')][_0x477d('0x2e74')]=function(_0x2808b3){return this[_0x477d('0x44e')][_0x477d('0x2f4b')](_0x2808b3);};mxGraph['prototype'][_0x477d('0x3195')]=function(_0x4e270e){return this[_0x477d('0x44e')][_0x477d('0x2f46')](_0x4e270e);};mxGraph[_0x477d('0x798')]['isOrthogonal']=function(_0x75aa8f){var _0x3c3061=_0x75aa8f[_0x477d('0x457')][mxConstants[_0x477d('0x2e5f')]];if(null!=_0x3c3061)return _0x3c3061;_0x75aa8f=this[_0x477d('0x1672')][_0x477d('0x3085')](_0x75aa8f);return _0x75aa8f==mxEdgeStyle['SegmentConnector']||_0x75aa8f==mxEdgeStyle[_0x477d('0x3196')]||_0x75aa8f==mxEdgeStyle[_0x477d('0x3041')]||_0x75aa8f==mxEdgeStyle['TopToBottom']||_0x75aa8f==mxEdgeStyle[_0x477d('0x3197')]||_0x75aa8f==mxEdgeStyle['OrthConnector'];};mxGraph[_0x477d('0x798')][_0x477d('0x3198')]=function(_0x137981){var _0x11fd23=_0x137981['getVisibleTerminalState'](!0x0);_0x137981=_0x137981[_0x477d('0x2fad')](!0x1);return null!=_0x11fd23&&_0x11fd23==_0x137981;};mxGraph['prototype'][_0x477d('0x3199')]=function(_0x169fd0){return mxEvent[_0x477d('0x2b3e')](_0x169fd0);};mxGraph['prototype']['isToggleEvent']=function(_0x504f17){return mxClient[_0x477d('0x319a')]?mxEvent[_0x477d('0x319b')](_0x504f17):mxEvent[_0x477d('0x2b3e')](_0x504f17);};mxGraph['prototype']['isGridEnabledEvent']=function(_0xa3b853){return null!=_0xa3b853&&!mxEvent[_0x477d('0x319c')](_0xa3b853);};mxGraph['prototype']['isConstrainedEvent']=function(_0x2d8d63){return mxEvent[_0x477d('0x2b3d')](_0x2d8d63);};mxGraph[_0x477d('0x798')][_0x477d('0x319d')]=function(_0xf44e9e){return mxEvent[_0x477d('0x319c')](_0xf44e9e);};mxGraph['prototype'][_0x477d('0x319e')]=function(_0x2c98b1){mxUtils[_0x477d('0x120a')](_0x2c98b1);};mxGraph[_0x477d('0x798')]['isEdgeValid']=function(_0x264f16,_0x1d8487,_0x29dd13){return null==this[_0x477d('0x3148')](_0x264f16,_0x1d8487,_0x29dd13);};mxGraph[_0x477d('0x798')][_0x477d('0x3148')]=function(_0x1966be,_0x26000f,_0x3375b6){if(null!=_0x1966be&&!this['isAllowDanglingEdges']()&&(null==_0x26000f||null==_0x3375b6))return'';if(null!=_0x1966be&&null==this[_0x477d('0x44e')][_0x477d('0x2e5c')](_0x1966be,!0x0)&&null==this['model'][_0x477d('0x2e5c')](_0x1966be,!0x1))return null;if(!this['allowLoops']&&_0x26000f==_0x3375b6&&null!=_0x26000f||!this[_0x477d('0x319f')](_0x26000f,_0x3375b6))return'';if(null!=_0x26000f&&null!=_0x3375b6){var _0x439ed2='';if(!this[_0x477d('0x30e4')]){var _0x408e43=this[_0x477d('0x44e')]['getEdgesBetween'](_0x26000f,_0x3375b6,!0x0);if(0x1<_0x408e43[_0x477d('0x79')]||0x1==_0x408e43['length']&&_0x408e43[0x0]!=_0x1966be)_0x439ed2+=(mxResources['get'](this['alreadyConnectedResource'])||this[_0x477d('0x30f0')])+'\x0a';}var _0x408e43=this[_0x477d('0x44e')][_0x477d('0x2f44')](_0x26000f,!0x0,_0x1966be),_0x1d208b=this[_0x477d('0x44e')][_0x477d('0x2f44')](_0x3375b6,!0x1,_0x1966be);if(null!=this[_0x477d('0x30b3')])for(var _0xb2710f=0x0;_0xb2710fmxUtils[_0x477d('0x477')](_0x36ff2c,_0x5875c8)?_0x5875c8:null;};mxGraph[_0x477d('0x798')][_0x477d('0x3147')]=function(){var _0x59333e=this[_0x477d('0x3202')];null==_0x59333e&&(_0x59333e=this[_0x477d('0x3182')](),null==_0x59333e&&(_0x59333e=this[_0x477d('0x44e')]['getRoot'](),_0x59333e=this[_0x477d('0x44e')]['getChildAt'](_0x59333e,0x0)));return _0x59333e;};mxGraph[_0x477d('0x798')]['setDefaultParent']=function(_0xce1fd0){this['defaultParent']=_0xce1fd0;};mxGraph[_0x477d('0x798')][_0x477d('0x300b')]=function(_0x27b838){for(;null!=_0x27b838&&!this[_0x477d('0x2e6b')](_0x27b838);)_0x27b838=this[_0x477d('0x44e')]['getParent'](_0x27b838);return _0x27b838;};mxGraph[_0x477d('0x798')][_0x477d('0x3201')]=function(_0x1d05ea,_0x1ca048,_0x529f25){_0x529f25=_0x529f25||this['getDefaultParent']();if(null!=_0x529f25)for(var _0x5513ac=this[_0x477d('0x44e')]['getChildCount'](_0x529f25),_0x2131d0=0x0;_0x2131d0<_0x5513ac;_0x2131d0++){var _0x17d8db=this[_0x477d('0x44e')][_0x477d('0x29de')](_0x529f25,_0x2131d0),_0x53ae1e=this[_0x477d('0x3201')](_0x1d05ea,_0x1ca048,_0x17d8db);if(null!=_0x53ae1e)return _0x53ae1e;if(this[_0x477d('0x2e6b')](_0x17d8db)&&(_0x53ae1e=this['view'][_0x477d('0x29df')](_0x17d8db),this[_0x477d('0x2ec5')](_0x53ae1e,_0x1d05ea,_0x1ca048)))return _0x17d8db;}return null;};mxGraph[_0x477d('0x798')][_0x477d('0x3019')]=function(_0x3886db,_0x251f9d,_0x54a495,_0x22ed8c,_0x2932c9){_0x22ed8c=null!=_0x22ed8c?_0x22ed8c:!0x0;_0x2932c9=null!=_0x2932c9?_0x2932c9:!0x0;_0x54a495=null!=_0x54a495?_0x54a495:this[_0x477d('0x3147')]();if(null!=_0x54a495)for(var _0x293d87=this['model'][_0x477d('0x2c42')](_0x54a495)-0x1;0x0<=_0x293d87;_0x293d87--){var _0x218483=this[_0x477d('0x44e')][_0x477d('0x29de')](_0x54a495,_0x293d87),_0x3652ff=this[_0x477d('0x3019')](_0x3886db,_0x251f9d,_0x218483,_0x22ed8c,_0x2932c9);if(null!=_0x3652ff)return _0x3652ff;if(this[_0x477d('0x2f1b')](_0x218483)&&(_0x2932c9&&this[_0x477d('0x44e')][_0x477d('0x29d6')](_0x218483)||_0x22ed8c&&this[_0x477d('0x44e')][_0x477d('0x2e5a')](_0x218483)))if(_0x3652ff=this[_0x477d('0x1672')]['getState'](_0x218483),this[_0x477d('0x2ec5')](_0x3652ff,_0x3886db,_0x251f9d))return _0x218483;}return null;};mxGraph[_0x477d('0x798')]['intersects']=function(_0x5d6b71,_0x4db794,_0x47c075){if(null!=_0x5d6b71){var _0x1c6368=_0x5d6b71[_0x477d('0x2a53')];if(null!=_0x1c6368){_0x5d6b71=this['tolerance']*this['tolerance'];for(var _0x35a023=_0x1c6368[0x0],_0x355a7d=0x1;_0x355a7d<_0x1c6368['length'];_0x355a7d++){var _0x8740ac=_0x1c6368[_0x355a7d];if(mxUtils[_0x477d('0x2a54')](_0x35a023['x'],_0x35a023['y'],_0x8740ac['x'],_0x8740ac['y'],_0x4db794,_0x47c075)<=_0x5d6b71)return!0x0;_0x35a023=_0x8740ac;}}else if(_0x35a023=mxUtils['toRadians'](mxUtils[_0x477d('0x2a4a')](_0x5d6b71['style'],mxConstants[_0x477d('0x2de3')])||0x0),0x0!=_0x35a023&&(_0x1c6368=Math[_0x477d('0x2a47')](-_0x35a023),_0x35a023=Math[_0x477d('0x2a43')](-_0x35a023),_0x355a7d=new mxPoint(_0x5d6b71['getCenterX'](),_0x5d6b71[_0x477d('0x2a55')]()),_0x35a023=mxUtils[_0x477d('0x2a49')](new mxPoint(_0x4db794,_0x47c075),_0x1c6368,_0x35a023,_0x355a7d),_0x4db794=_0x35a023['x'],_0x47c075=_0x35a023['y']),mxUtils[_0x477d('0x2f32')](_0x5d6b71,_0x4db794,_0x47c075))return!0x0;}return!0x1;};mxGraph[_0x477d('0x798')][_0x477d('0x3203')]=function(_0x2aa8c7,_0x4db677,_0x45b034){var _0x2bbd33=this[_0x477d('0x29d4')]()[_0x477d('0x29df')](_0x2aa8c7);_0x2aa8c7=this[_0x477d('0x2e6c')](_0x2aa8c7);if(null!=_0x2bbd33){var _0x203dde=this[_0x477d('0x29d4')]()['getScale']();_0x4db677-=_0x2bbd33['x'];_0x45b034-=_0x2bbd33['y'];if(0x0<_0x2aa8c7['width']&&0x0<_0x4db677&&_0x4db677>_0x2aa8c7['width']*_0x203dde||0x0<_0x2aa8c7[_0x477d('0x504')]&&0x0<_0x45b034&&_0x45b034>_0x2aa8c7[_0x477d('0x504')]*_0x203dde)return!0x0;}return!0x1;};mxGraph[_0x477d('0x798')][_0x477d('0x2e68')]=function(_0x40d698){return this[_0x477d('0x2f3f')](_0x40d698,!0x0,!0x1);};mxGraph['prototype'][_0x477d('0x3204')]=function(_0x4a3503){return this['getChildCells'](_0x4a3503,!0x1,!0x0);};mxGraph[_0x477d('0x798')][_0x477d('0x2f3f')]=function(_0x1777c0,_0x5876c6,_0x529ace){_0x1777c0=null!=_0x1777c0?_0x1777c0:this[_0x477d('0x3147')]();_0x1777c0=this[_0x477d('0x44e')][_0x477d('0x2f3f')](_0x1777c0,null!=_0x5876c6?_0x5876c6:!0x1,null!=_0x529ace?_0x529ace:!0x1);_0x5876c6=[];for(_0x529ace=0x0;_0x529ace<_0x1777c0[_0x477d('0x79')];_0x529ace++)this['isCellVisible'](_0x1777c0[_0x529ace])&&_0x5876c6['push'](_0x1777c0[_0x529ace]);return _0x5876c6;};mxGraph[_0x477d('0x798')][_0x477d('0x2e81')]=function(_0x210ea9,_0x34cfc9){return this[_0x477d('0x29e1')](_0x210ea9,_0x34cfc9,!0x0,!0x0,!0x1);};mxGraph[_0x477d('0x798')][_0x477d('0x2eee')]=function(_0x46bde9,_0x38321c){return this[_0x477d('0x29e1')](_0x46bde9,_0x38321c,!0x0,!0x1,!0x1);};mxGraph[_0x477d('0x798')][_0x477d('0x2f45')]=function(_0x49dfd9,_0x3d780a){return this[_0x477d('0x29e1')](_0x49dfd9,_0x3d780a,!0x1,!0x0,!0x1);};mxGraph[_0x477d('0x798')][_0x477d('0x29e1')]=function(_0x83fcf2,_0x599064,_0x2659f6,_0x4b89ea,_0x44ca24,_0x2a6349){_0x2659f6=null!=_0x2659f6?_0x2659f6:!0x0;_0x4b89ea=null!=_0x4b89ea?_0x4b89ea:!0x0;_0x44ca24=null!=_0x44ca24?_0x44ca24:!0x0;_0x2a6349=null!=_0x2a6349?_0x2a6349:!0x1;for(var _0x422f30=[],_0x925e6=this[_0x477d('0x2e74')](_0x83fcf2),_0x2d1cfc=this[_0x477d('0x44e')][_0x477d('0x2c42')](_0x83fcf2),_0xf1e6f2=0x0;_0xf1e6f2<_0x2d1cfc;_0xf1e6f2++){var _0x1884f4=this[_0x477d('0x44e')][_0x477d('0x29de')](_0x83fcf2,_0xf1e6f2);if(_0x925e6||!this[_0x477d('0x2f1b')](_0x1884f4))_0x422f30=_0x422f30[_0x477d('0x3a9')](this[_0x477d('0x44e')][_0x477d('0x29e1')](_0x1884f4,_0x2659f6,_0x4b89ea));}_0x422f30=_0x422f30[_0x477d('0x3a9')](this[_0x477d('0x44e')][_0x477d('0x29e1')](_0x83fcf2,_0x2659f6,_0x4b89ea));_0x925e6=[];for(_0xf1e6f2=0x0;_0xf1e6f2<_0x422f30[_0x477d('0x79')];_0xf1e6f2++)_0x1884f4=this[_0x477d('0x1672')][_0x477d('0x29df')](_0x422f30[_0xf1e6f2]),_0x2d1cfc=null!=_0x1884f4?_0x1884f4[_0x477d('0x2e58')](!0x0):this[_0x477d('0x1672')][_0x477d('0x2e58')](_0x422f30[_0xf1e6f2],!0x0),_0x1884f4=null!=_0x1884f4?_0x1884f4[_0x477d('0x2e58')](!0x1):this[_0x477d('0x1672')][_0x477d('0x2e58')](_0x422f30[_0xf1e6f2],!0x1),(_0x44ca24&&_0x2d1cfc==_0x1884f4||_0x2d1cfc!=_0x1884f4&&(_0x2659f6&&_0x1884f4==_0x83fcf2&&(null==_0x599064||this[_0x477d('0x2f1c')](_0x2d1cfc,_0x599064,_0x2a6349))||_0x4b89ea&&_0x2d1cfc==_0x83fcf2&&(null==_0x599064||this[_0x477d('0x2f1c')](_0x1884f4,_0x599064,_0x2a6349))))&&_0x925e6[_0x477d('0x3a7')](_0x422f30[_0xf1e6f2]);return _0x925e6;};mxGraph[_0x477d('0x798')][_0x477d('0x2f1c')]=function(_0xed34b0,_0x5f4632,_0x136d53){return _0x136d53?this[_0x477d('0x44e')][_0x477d('0x2e61')](_0x5f4632,_0xed34b0):this[_0x477d('0x44e')][_0x477d('0x2e63')](_0xed34b0)==_0x5f4632;};mxGraph[_0x477d('0x798')][_0x477d('0x2eb3')]=function(_0x12a03f,_0x1f2e13,_0x58a713,_0x56de21){_0x58a713=null!=_0x58a713?_0x58a713:!0x0;_0x56de21=null!=_0x56de21?_0x56de21:!0x0;var _0x292a73=[],_0x477c02={};if(null!=_0x12a03f)for(var _0x2323f=0x0;_0x2323f<_0x12a03f[_0x477d('0x79')];_0x2323f++){var _0x237e69=this['view']['getState'](_0x12a03f[_0x2323f]),_0x3f4840=null!=_0x237e69?_0x237e69[_0x477d('0x2e58')](!0x0):this[_0x477d('0x1672')][_0x477d('0x2e58')](_0x12a03f[_0x2323f],!0x0),_0x237e69=null!=_0x237e69?_0x237e69[_0x477d('0x2e58')](!0x1):this[_0x477d('0x1672')][_0x477d('0x2e58')](_0x12a03f[_0x2323f],!0x1);if(_0x3f4840==_0x1f2e13&&null!=_0x237e69&&_0x237e69!=_0x1f2e13&&_0x56de21){var _0x14f7d=mxCellPath[_0x477d('0x2a62')](_0x237e69);null==_0x477c02[_0x14f7d]&&(_0x477c02[_0x14f7d]=_0x237e69,_0x292a73[_0x477d('0x3a7')](_0x237e69));}else _0x237e69==_0x1f2e13&&(null!=_0x3f4840&&_0x3f4840!=_0x1f2e13&&_0x58a713)&&(_0x14f7d=mxCellPath[_0x477d('0x2a62')](_0x3f4840),null==_0x477c02[_0x14f7d]&&(_0x477c02[_0x14f7d]=_0x3f4840,_0x292a73[_0x477d('0x3a7')](_0x3f4840)));}return _0x292a73;};mxGraph[_0x477d('0x798')][_0x477d('0x2e9c')]=function(_0x1d0167,_0x735158,_0x34802a){_0x34802a=null!=_0x34802a?_0x34802a:!0x1;for(var _0x253556=this['getEdges'](_0x1d0167),_0x2f4255=[],_0x4b772f=0x0;_0x4b772f<_0x253556[_0x477d('0x79')];_0x4b772f++){var _0x5127f4=this['view'][_0x477d('0x29df')](_0x253556[_0x4b772f]),_0x3be2c1=null!=_0x5127f4?_0x5127f4[_0x477d('0x2e58')](!0x0):this['view'][_0x477d('0x2e58')](_0x253556[_0x4b772f],!0x0),_0x5127f4=null!=_0x5127f4?_0x5127f4['getVisibleTerminal'](!0x1):this[_0x477d('0x1672')][_0x477d('0x2e58')](_0x253556[_0x4b772f],!0x1);(_0x3be2c1==_0x1d0167&&_0x5127f4==_0x735158||!_0x34802a&&_0x3be2c1==_0x735158&&_0x5127f4==_0x1d0167)&&_0x2f4255[_0x477d('0x3a7')](_0x253556[_0x4b772f]);}return _0x2f4255;};mxGraph[_0x477d('0x798')][_0x477d('0x3205')]=function(_0x278831,_0x57ce76){var _0x35f24e=mxUtils['convertPoint'](this[_0x477d('0x4e7')],mxEvent[_0x477d('0x2ba9')](_0x278831),mxEvent[_0x477d('0x2b1d')](_0x278831)),_0x381277=this[_0x477d('0x1672')][_0x477d('0x29d8')],_0x31008e=this[_0x477d('0x1672')]['translate'],_0x46af1c=!0x1!=_0x57ce76?this['gridSize']/0x2:0x0;_0x35f24e['x']=this[_0x477d('0x2bf3')](_0x35f24e['x']/_0x381277-_0x31008e['x']-_0x46af1c);_0x35f24e['y']=this['snap'](_0x35f24e['y']/_0x381277-_0x31008e['y']-_0x46af1c);return _0x35f24e;};mxGraph['prototype']['getCells']=function(_0x2393f1,_0x4c89ea,_0x396f68,_0x304cc3,_0x237692,_0x1bca57){_0x1bca57=null!=_0x1bca57?_0x1bca57:[];if(0x0<_0x396f68||0x0<_0x304cc3){var _0x17d820=_0x2393f1+_0x396f68,_0x511c82=_0x4c89ea+_0x304cc3;_0x237692=_0x237692||this[_0x477d('0x3147')]();if(null!=_0x237692)for(var _0x477b1b=this['model']['getChildCount'](_0x237692),_0x1a826b=0x0;_0x1a826b<_0x477b1b;_0x1a826b++){var _0x316165=this[_0x477d('0x44e')][_0x477d('0x29de')](_0x237692,_0x1a826b),_0x27da88=this['view'][_0x477d('0x29df')](_0x316165);if(this[_0x477d('0x2f1b')](_0x316165)&&null!=_0x27da88){var _0x2226b8=_0x27da88,_0x27da88=mxUtils[_0x477d('0x2a4a')](_0x27da88[_0x477d('0x457')],mxConstants['STYLE_ROTATION'])||0x0;0x0!=_0x27da88&&(_0x2226b8=mxUtils[_0x477d('0x2ded')](_0x2226b8,_0x27da88));_0x2226b8['x']>=_0x2393f1&&_0x2226b8['y']+_0x2226b8[_0x477d('0x504')]<=_0x511c82&&_0x2226b8['y']>=_0x4c89ea&&_0x2226b8['x']+_0x2226b8[_0x477d('0x4ef')]<=_0x17d820?_0x1bca57[_0x477d('0x3a7')](_0x316165):this[_0x477d('0x3206')](_0x2393f1,_0x4c89ea,_0x396f68,_0x304cc3,_0x316165,_0x1bca57);}}}return _0x1bca57;};mxGraph[_0x477d('0x798')][_0x477d('0x3207')]=function(_0x323a6b,_0x39dae9,_0x1175a6,_0x2f41f9,_0x3284d3){var _0x59a70f=[];if(_0x2f41f9||_0x3284d3)if(null==_0x1175a6&&(_0x1175a6=this[_0x477d('0x3147')]()),null!=_0x1175a6)for(var _0x4a7bcf=this[_0x477d('0x44e')]['getChildCount'](_0x1175a6),_0x281bc7=0x0;_0x281bc7<_0x4a7bcf;_0x281bc7++){var _0x16ec61=this['model'][_0x477d('0x29de')](_0x1175a6,_0x281bc7),_0xfec84c=this[_0x477d('0x1672')]['getState'](_0x16ec61);this[_0x477d('0x2f1b')](_0x16ec61)&&null!=_0xfec84c&&(!_0x2f41f9||_0xfec84c['x']>=_0x323a6b)&&(!_0x3284d3||_0xfec84c['y']>=_0x39dae9)&&_0x59a70f[_0x477d('0x3a7')](_0x16ec61);}return _0x59a70f;};mxGraph[_0x477d('0x798')][_0x477d('0x2e82')]=function(_0x15c7ec,_0x1fdceb,_0xb147eb){_0x1fdceb=null!=_0x1fdceb?_0x1fdceb:!0x1;_0xb147eb=null!=_0xb147eb?_0xb147eb:!0x1;var _0x22d9cc=[];if(null!=_0x15c7ec){for(var _0xa940bc=this[_0x477d('0x2a75')](),_0x572391=_0xa940bc[_0x477d('0x2c42')](_0x15c7ec),_0x103809=null,_0x4390fc=0x0,_0xa8d1ad=0x0;_0xa8d1ad<_0x572391;_0xa8d1ad++){var _0x20a265=_0xa940bc['getChildAt'](_0x15c7ec,_0xa8d1ad);if(this['model']['isVertex'](_0x20a265)&&this[_0x477d('0x2f1b')](_0x20a265)){for(var _0x2ceb11=this[_0x477d('0x2e81')](_0x20a265,_0x1fdceb?_0x15c7ec:null),_0x1e020e=0x0,_0x54c5aa=0x0,_0x2b621c=0x0;_0x2b621c<_0x2ceb11[_0x477d('0x79')];_0x2b621c++)this[_0x477d('0x1672')][_0x477d('0x2e58')](_0x2ceb11[_0x2b621c],!0x0)==_0x20a265?_0x1e020e++:_0x54c5aa++;(_0xb147eb&&0x0==_0x1e020e&&0x0<_0x54c5aa||!_0xb147eb&&0x0==_0x54c5aa&&0x0<_0x1e020e)&&_0x22d9cc[_0x477d('0x3a7')](_0x20a265);_0x2ceb11=_0xb147eb?_0x54c5aa-_0x1e020e:_0x1e020e-_0x54c5aa;_0x2ceb11>_0x4390fc&&(_0x4390fc=_0x2ceb11,_0x103809=_0x20a265);}}0x0==_0x22d9cc[_0x477d('0x79')]&&null!=_0x103809&&_0x22d9cc[_0x477d('0x3a7')](_0x103809);}return _0x22d9cc;};mxGraph[_0x477d('0x798')][_0x477d('0x2e55')]=function(_0xeb37e,_0x4187df,_0x5decac,_0x11de71,_0x2fa0d8){if(null!=_0x5decac&&null!=_0xeb37e){_0x4187df=null!=_0x4187df?_0x4187df:!0x0;_0x2fa0d8=_0x2fa0d8||[];var _0x45b861=mxCellPath[_0x477d('0x2a62')](_0xeb37e);if(null==_0x2fa0d8[_0x45b861]&&(_0x2fa0d8[_0x45b861]=_0xeb37e,_0x11de71=_0x5decac(_0xeb37e,_0x11de71),null==_0x11de71||_0x11de71))if(_0x11de71=this[_0x477d('0x44e')][_0x477d('0x2e56')](_0xeb37e),0x0<_0x11de71)for(_0x45b861=0x0;_0x45b861<_0x11de71;_0x45b861++){var _0x1b3f95=this[_0x477d('0x44e')][_0x477d('0x2e57')](_0xeb37e,_0x45b861),_0xd87c9d=this[_0x477d('0x44e')][_0x477d('0x2e5c')](_0x1b3f95,!0x0)==_0xeb37e;if(!_0x4187df||_0xd87c9d)_0xd87c9d=this[_0x477d('0x44e')][_0x477d('0x2e5c')](_0x1b3f95,!_0xd87c9d),this[_0x477d('0x2e55')](_0xd87c9d,_0x4187df,_0x5decac,_0x1b3f95,_0x2fa0d8);}}};mxGraph[_0x477d('0x798')][_0x477d('0x3208')]=function(_0x1b43a6){return this['getSelectionModel']()[_0x477d('0x2fb6')](_0x1b43a6);};mxGraph[_0x477d('0x798')][_0x477d('0x3209')]=function(){return this[_0x477d('0x320a')]()[_0x477d('0x3b2')]();};mxGraph['prototype'][_0x477d('0x3103')]=function(){return this[_0x477d('0x320a')]()['clear']();};mxGraph[_0x477d('0x798')][_0x477d('0x320b')]=function(){return this[_0x477d('0x320a')]()[_0x477d('0x2b86')]['length'];};mxGraph[_0x477d('0x798')][_0x477d('0x3112')]=function(){return this['getSelectionModel']()['cells'][0x0];};mxGraph['prototype']['getSelectionCells']=function(){return this[_0x477d('0x320a')]()[_0x477d('0x2b86')][_0x477d('0x9cd')]();};mxGraph[_0x477d('0x798')]['setSelectionCell']=function(_0x51845a){this['getSelectionModel']()[_0x477d('0x2fb7')](_0x51845a);};mxGraph[_0x477d('0x798')][_0x477d('0x2b8d')]=function(_0x3c1256){this[_0x477d('0x320a')]()[_0x477d('0x2fb8')](_0x3c1256);};mxGraph[_0x477d('0x798')]['addSelectionCell']=function(_0x5e0ba7){this[_0x477d('0x320a')]()['addCell'](_0x5e0ba7);};mxGraph[_0x477d('0x798')][_0x477d('0x320c')]=function(_0x36ff24){this[_0x477d('0x320a')]()[_0x477d('0x2b5d')](_0x36ff24);};mxGraph['prototype'][_0x477d('0x320d')]=function(_0x47fe4e){this[_0x477d('0x320a')]()[_0x477d('0x2fbd')](_0x47fe4e);};mxGraph[_0x477d('0x798')]['removeSelectionCells']=function(_0x36c880){this[_0x477d('0x320a')]()[_0x477d('0x2b88')](_0x36c880);};mxGraph[_0x477d('0x798')][_0x477d('0x320e')]=function(_0x34f98a,_0x4b1ee8){var _0x431154=this[_0x477d('0x3206')](_0x34f98a['x'],_0x34f98a['y'],_0x34f98a[_0x477d('0x4ef')],_0x34f98a[_0x477d('0x504')]);this[_0x477d('0x320f')](_0x431154,_0x4b1ee8);return _0x431154;};mxGraph[_0x477d('0x798')][_0x477d('0x3210')]=function(){this['selectCell'](!0x0);};mxGraph['prototype'][_0x477d('0x3211')]=function(){this['selectCell']();};mxGraph[_0x477d('0x798')][_0x477d('0x3212')]=function(){this[_0x477d('0x3213')](!0x1,!0x0);};mxGraph['prototype'][_0x477d('0x3214')]=function(){this[_0x477d('0x3213')](!0x1,!0x1,!0x0);};mxGraph[_0x477d('0x798')]['selectCell']=function(_0xd742d3,_0x2ff6dd,_0x364e82){var _0x343333=this[_0x477d('0x2fbe')],_0x40fbd3=0x0<_0x343333[_0x477d('0x2b86')][_0x477d('0x79')]?_0x343333[_0x477d('0x2b86')][0x0]:null;0x1<_0x343333[_0x477d('0x2b86')][_0x477d('0x79')]&&_0x343333[_0x477d('0x7aa')]();var _0x343333=null!=_0x40fbd3?this[_0x477d('0x44e')]['getParent'](_0x40fbd3):this[_0x477d('0x3147')](),_0x37b1a8=this['model'][_0x477d('0x2c42')](_0x343333);null==_0x40fbd3&&0x0<_0x37b1a8?(_0xd742d3=this['model'][_0x477d('0x29de')](_0x343333,0x0),this[_0x477d('0x3110')](_0xd742d3)):(null==_0x40fbd3||_0x2ff6dd)&&null!=this[_0x477d('0x1672')][_0x477d('0x29df')](_0x343333)&&null!=this['model'][_0x477d('0x2e62')](_0x343333)?this[_0x477d('0x3182')]()!=_0x343333&&this['setSelectionCell'](_0x343333):null!=_0x40fbd3&&_0x364e82?0x0_0x2ff6dd?_0x37b1a8-0x1:_0x2ff6dd)),this[_0x477d('0x3110')](_0xd742d3));};mxGraph[_0x477d('0x798')][_0x477d('0x6e5')]=function(_0x174f86){_0x174f86=_0x174f86||this[_0x477d('0x3147')]();_0x174f86=this[_0x477d('0x44e')][_0x477d('0x2f3e')](_0x174f86);null!=_0x174f86&&this['setSelectionCells'](_0x174f86);};mxGraph[_0x477d('0x798')][_0x477d('0x3215')]=function(_0x41e5f4){this['selectCells'](!0x0,!0x1,_0x41e5f4);};mxGraph[_0x477d('0x798')]['selectEdges']=function(_0x28b733){this[_0x477d('0x3216')](!0x1,!0x0,_0x28b733);};mxGraph['prototype'][_0x477d('0x3216')]=function(_0x19bbe4,_0x5e89ca,_0x1937e8){_0x1937e8=_0x1937e8||this[_0x477d('0x3147')]();var _0x1a3138=mxUtils[_0x477d('0x5d6')](this,function(_0x3e2f6e){return null!=this['view'][_0x477d('0x29df')](_0x3e2f6e)&&0x0==this[_0x477d('0x44e')]['getChildCount'](_0x3e2f6e)&&(this[_0x477d('0x44e')]['isVertex'](_0x3e2f6e)&&_0x19bbe4||this[_0x477d('0x44e')][_0x477d('0x29d6')](_0x3e2f6e)&&_0x5e89ca);});_0x1937e8=this['model']['filterDescendants'](_0x1a3138,_0x1937e8);this[_0x477d('0x2b8d')](_0x1937e8);};mxGraph[_0x477d('0x798')]['selectCellForEvent']=function(_0x2fbd1c,_0x3b4994){var _0x160a16=this[_0x477d('0x3208')](_0x2fbd1c);this['isToggleEvent'](_0x3b4994)?_0x160a16?this[_0x477d('0x320d')](_0x2fbd1c):this['addSelectionCell'](_0x2fbd1c):(!_0x160a16||0x1!=this[_0x477d('0x320b')]())&&this[_0x477d('0x3110')](_0x2fbd1c);};mxGraph['prototype'][_0x477d('0x320f')]=function(_0x5a5535,_0x5684cd){this['isToggleEvent'](_0x5684cd)?this[_0x477d('0x320c')](_0x5a5535):this[_0x477d('0x2b8d')](_0x5a5535);};mxGraph[_0x477d('0x798')][_0x477d('0x3217')]=function(_0x31f172){var _0x19ef08=null;null!=_0x31f172&&(this[_0x477d('0x44e')][_0x477d('0x29d6')](_0x31f172[_0x477d('0x29d5')])?(_0x19ef08=this[_0x477d('0x1672')][_0x477d('0x3085')](_0x31f172),_0x19ef08=this['isLoop'](_0x31f172)||_0x19ef08==mxEdgeStyle[_0x477d('0x3196')]||_0x19ef08==mxEdgeStyle[_0x477d('0x3041')]||_0x19ef08==mxEdgeStyle['TopToBottom']?new mxElbowEdgeHandler(_0x31f172):_0x19ef08==mxEdgeStyle['SegmentConnector']||_0x19ef08==mxEdgeStyle[_0x477d('0x3218')]?new mxEdgeSegmentHandler(_0x31f172):new mxEdgeHandler(_0x31f172)):_0x19ef08=new mxVertexHandler(_0x31f172));return _0x19ef08;};mxGraph['prototype']['addMouseListener']=function(_0x10ed87){null==this['mouseListeners']&&(this[_0x477d('0x30aa')]=[]);this[_0x477d('0x30aa')][_0x477d('0x3a7')](_0x10ed87);};mxGraph['prototype'][_0x477d('0x2c67')]=function(_0x334a9c){if(null!=this[_0x477d('0x30aa')])for(var _0x5160ca=0x0;_0x5160cathis['doubleTapTolerance']||null!=this[_0x477d('0x321c')]&&Math[_0x477d('0x2a42')](this['lastMouseY']-_0x39775d[_0x477d('0x2bb5')]())>this['doubleTapTolerance'])_0x2c8b28=!0x0;_0x2061fd==mxEvent[_0x477d('0x301d')]&&(this[_0x477d('0x321b')]=_0x39775d['getX'](),this['lastMouseY']=_0x39775d[_0x477d('0x2bb5')]());}if((_0x2061fd!=mxEvent['MOUSE_UP']||this[_0x477d('0x2bee')])&&_0x2c8b28){if(_0x2061fd==mxEvent['MOUSE_UP']&&(this[_0x477d('0x2bee')]=!0x1),!this[_0x477d('0x309c')]()&&(mxClient[_0x477d('0x2d26')]||mxClient['IS_SF']||mxClient[_0x477d('0x2982')]||mxClient[_0x477d('0x2984')]&&mxClient[_0x477d('0x2974')]||_0x39775d[_0x477d('0x2b19')]()[_0x477d('0x378')]!=this['container'])){_0x2061fd==mxEvent[_0x477d('0x2b32')]&&(this[_0x477d('0x2bee')]&&this[_0x477d('0x2bef')])&&this[_0x477d('0x311e')](_0x39775d[_0x477d('0x2b1e')](),_0x39775d[_0x477d('0x311b')](),this[_0x477d('0x30d5')]);if(null!=this['mouseListeners']){_0x30292e=[_0x30292e,_0x39775d];_0x39775d[_0x477d('0x2b19')]()[_0x477d('0x2b47')]=!0x0;for(_0x2c8b28=0x0;_0x2c8b28_0x248e0b['x']&&(_0x1cd7f0-=_0x248e0b['x']);0x0>_0x248e0b['y']&&(_0x59a9bd-=_0x248e0b['y']);if(_0x23e2f7[_0x477d('0x454')]['x']!=_0x1cd7f0||_0x23e2f7[_0x477d('0x454')]['y']!=_0x59a9bd)_0x23e2f7[_0x477d('0x454')]['x']=_0x1cd7f0,_0x23e2f7['translate']['y']=_0x59a9bd,_0x1d69ee=!0x0;var _0x248e0b=_0x23e2f7[_0x477d('0x454')],_0x360204=this['source'][_0x477d('0x29d4')]()['scale'],_0x1cd7f0=_0x360204/_0x23e2f7[_0x477d('0x29d8')],_0x59a9bd=0x1/_0x23e2f7[_0x477d('0x29d8')],_0x5bf142=this[_0x477d('0x2c3b')]['container'];this[_0x477d('0x2db9')]=new mxRectangle((_0x248e0b['x']-_0x94f43e['x']-this['source'][_0x477d('0x2c66')])/_0x59a9bd,(_0x248e0b['y']-_0x94f43e['y']-this[_0x477d('0x2c3b')][_0x477d('0x2c5c')])/_0x59a9bd,_0x5bf142[_0x477d('0x29af')]/_0x1cd7f0,_0x5bf142[_0x477d('0x29ae')]/_0x1cd7f0);this[_0x477d('0x2db9')]['x']+=this[_0x477d('0x2c3b')][_0x477d('0x4e7')][_0x477d('0x781')]*_0x23e2f7[_0x477d('0x29d8')]/_0x360204;this[_0x477d('0x2db9')]['y']+=this['source']['container'][_0x477d('0x52a')]*_0x23e2f7[_0x477d('0x29d8')]/_0x360204;_0x248e0b=this[_0x477d('0x322b')][_0x477d('0x2db9')];if(_0x248e0b['x']!=this[_0x477d('0x2db9')]['x']||_0x248e0b['y']!=this[_0x477d('0x2db9')]['y']||_0x248e0b[_0x477d('0x4ef')]!=this[_0x477d('0x2db9')][_0x477d('0x4ef')]||_0x248e0b['height']!=this['bounds'][_0x477d('0x504')])this[_0x477d('0x322b')][_0x477d('0x2db9')]=this[_0x477d('0x2db9')],this['selectionBorder']['redraw']();_0x248e0b=this[_0x477d('0x322f')]['bounds'];_0x23e2f7=new mxRectangle(this[_0x477d('0x2db9')]['x']+this[_0x477d('0x2db9')][_0x477d('0x4ef')]-_0x248e0b[_0x477d('0x4ef')]/0x2,this[_0x477d('0x2db9')]['y']+this[_0x477d('0x2db9')][_0x477d('0x504')]-_0x248e0b[_0x477d('0x504')]/0x2,_0x248e0b[_0x477d('0x4ef')],_0x248e0b[_0x477d('0x504')]);if(_0x248e0b['x']!=_0x23e2f7['x']||_0x248e0b['y']!=_0x23e2f7['y']||_0x248e0b[_0x477d('0x4ef')]!=_0x23e2f7[_0x477d('0x4ef')]||_0x248e0b[_0x477d('0x504')]!=_0x23e2f7[_0x477d('0x504')])this[_0x477d('0x322f')]['bounds']=_0x23e2f7,_0x477d('0x54d')!=this['sizer'][_0x477d('0x584')][_0x477d('0x457')][_0x477d('0x29c0')]&&this[_0x477d('0x322f')]['redraw']();_0x1d69ee&&this[_0x477d('0x2fd7')][_0x477d('0x1672')][_0x477d('0x306b')]();}}};mxOutline[_0x477d('0x798')]['mouseDown']=function(_0xf05d9a,_0x4d3bce){this[_0x477d('0x3b4')]&&this[_0x477d('0x3220')]&&(this[_0x477d('0x2d58')]=_0x4d3bce[_0x477d('0x2b1b')](this[_0x477d('0x322f')]),this[_0x477d('0x3235')]=_0x4d3bce[_0x477d('0x2b1c')](),this[_0x477d('0x3236')]=_0x4d3bce[_0x477d('0x2bb5')](),this[_0x477d('0x94d')]=!0x0,this[_0x477d('0x2c3b')][_0x477d('0x30c2')]&&mxUtils[_0x477d('0x2c59')](this['source']['container'])?(this[_0x477d('0x3237')]=this['source'][_0x477d('0x4e7')][_0x477d('0x781')],this[_0x477d('0x3238')]=this[_0x477d('0x2c3b')]['container']['scrollTop']):this['dy0']=this['dx0']=0x0);_0x4d3bce['consume']();};mxOutline[_0x477d('0x798')][_0x477d('0x2be3')]=function(_0x4fc9a2,_0x37c5b3){if(this[_0x477d('0x94d')]){this[_0x477d('0x322b')][_0x477d('0x584')][_0x477d('0x457')][_0x477d('0x6c2')]=this[_0x477d('0x3220')]?'':'none';this['sizer'][_0x477d('0x584')][_0x477d('0x457')][_0x477d('0x6c2')]=this[_0x477d('0x322b')]['node'][_0x477d('0x457')][_0x477d('0x6c2')];var _0x2505e2=_0x37c5b3['getX']()-this[_0x477d('0x3235')],_0x5ea6c8=_0x37c5b3[_0x477d('0x2bb5')]()-this['startY'],_0x566079=null;if(this[_0x477d('0x2d58')])_0x566079=this[_0x477d('0x2c3b')][_0x477d('0x4e7')],_0x5ea6c8=_0x2505e2/(_0x566079[_0x477d('0x29af')]/_0x566079[_0x477d('0x29ae')]),_0x566079=new mxRectangle(this['bounds']['x'],this[_0x477d('0x2db9')]['y'],Math[_0x477d('0x13fc')](0x1,this[_0x477d('0x2db9')]['width']+_0x2505e2),Math[_0x477d('0x13fc')](0x1,this[_0x477d('0x2db9')]['height']+_0x5ea6c8)),this['selectionBorder'][_0x477d('0x2db9')]=_0x566079,this[_0x477d('0x322b')]['redraw']();else{var _0x1916ef=this[_0x477d('0x2fd7')][_0x477d('0x29d4')]()['scale'],_0x566079=new mxRectangle(this['bounds']['x']+_0x2505e2,this[_0x477d('0x2db9')]['y']+_0x5ea6c8,this[_0x477d('0x2db9')]['width'],this[_0x477d('0x2db9')][_0x477d('0x504')]);this['selectionBorder'][_0x477d('0x2db9')]=_0x566079;this[_0x477d('0x322b')]['redraw']();_0x2505e2=_0x2505e2/_0x1916ef*this[_0x477d('0x2c3b')][_0x477d('0x29d4')]()[_0x477d('0x29d8')];_0x5ea6c8=_0x5ea6c8/_0x1916ef*this[_0x477d('0x2c3b')][_0x477d('0x29d4')]()[_0x477d('0x29d8')];this['source']['panGraph'](-_0x2505e2-this[_0x477d('0x3237')],-_0x5ea6c8-this[_0x477d('0x3238')]);}_0x2505e2=this[_0x477d('0x322f')][_0x477d('0x2db9')];this['sizer'][_0x477d('0x2db9')]=new mxRectangle(_0x566079['x']+_0x566079[_0x477d('0x4ef')]-_0x2505e2[_0x477d('0x4ef')]/0x2,_0x566079['y']+_0x566079[_0x477d('0x504')]-_0x2505e2['height']/0x2,_0x2505e2[_0x477d('0x4ef')],_0x2505e2[_0x477d('0x504')]);_0x477d('0x54d')!=this[_0x477d('0x322f')][_0x477d('0x584')]['style'][_0x477d('0x29c0')]&&this['sizer']['redraw']();_0x37c5b3['consume']();}};mxOutline[_0x477d('0x798')][_0x477d('0x2bec')]=function(_0x2f8fc3,_0x32681c){if(this[_0x477d('0x94d')]){var _0x296e88=_0x32681c[_0x477d('0x2b1c')]()-this[_0x477d('0x3235')],_0x46ffb7=_0x32681c['getY']()-this[_0x477d('0x3236')];if(0x0=this['max'])||!this[_0x477d('0x2c3b')]&&(0x0==this[_0x477d('0x13fc')]||_0x3177c8>=this['max'])))_0x5d7566+=this[_0x477d('0x31a5')]+'\x0a';null!=this['validNeighbors']&&(null!=this[_0x477d('0x323b')]&&0x0=_0x858cb)_0x3100e9=_0x3100e9[_0x477d('0x117f')](),_0x3100e9['translate'](-_0xfde55,0x0);else{var _0x384e92=Math[_0x477d('0x13fc')](0x0,_0x469163['x']-x0),_0x3100e9=_0x3100e9[_0x477d('0x117f')]();_0x3100e9[_0x477d('0x454')](-_0x6eaa86*_0x384e92,0x0);}if(this[_0x477d('0x3250')]())if(_0x469163['y']>=_0x5c49a2)_0x3100e9=_0x3100e9['clone'](),_0x3100e9[_0x477d('0x454')](0x0,-_0x31b53b);else{var _0xfb255e=Math[_0x477d('0x13fc')](0x0,_0x469163['y']-_0x5c2a32),_0x3100e9=_0x3100e9['clone']();_0x3100e9[_0x477d('0x454')](0x0,-_0x543216*_0xfb255e);}_0x3100e9!=_0x3bf920[_0x477d('0x2e62')](_0x4731f5)&&(_0x3bf920[_0x477d('0x2e65')](_0x4731f5,_0x3100e9),_0x25d69a&&_0x1179b5['extendParent'](_0x4731f5));}finally{_0x3bf920[_0x477d('0x2a67')]();}}}};mxSpaceManager[_0x477d('0x798')][_0x477d('0x3255')]=function(_0xfdf287){var _0x18e7d8=this['getGraph'](),_0x373328=_0x18e7d8['getModel']()[_0x477d('0x2e63')](_0xfdf287['cell']),_0x187512=this[_0x477d('0x3250')](),_0x421bf3=this[_0x477d('0x324e')]();return _0x18e7d8[_0x477d('0x3207')](_0xfdf287['x']+(_0x187512?0x0:_0xfdf287[_0x477d('0x4ef')]),_0xfdf287['y']+(_0x187512&&_0x421bf3?0x0:_0xfdf287[_0x477d('0x504')]),_0x373328,_0x421bf3,_0x187512);};mxSpaceManager[_0x477d('0x798')]['destroy']=function(){this[_0x477d('0x2c82')](null);};function mxSwimlaneManager(_0x36335b,_0x34f644,_0x39cd17,_0x188535){this['horizontal']=null!=_0x34f644?_0x34f644:!0x0;this[_0x477d('0x3257')]=null!=_0x39cd17?_0x39cd17:!0x0;this[_0x477d('0x3258')]=null!=_0x188535?_0x188535:!0x0;this[_0x477d('0x3259')]=mxUtils[_0x477d('0x5d6')](this,function(_0x4baf23,_0x369fd2){this[_0x477d('0x2c6f')]()&&this[_0x477d('0x325a')]()&&this[_0x477d('0x2b5e')](_0x369fd2['getProperty'](_0x477d('0x2b86')));});this[_0x477d('0x3253')]=mxUtils[_0x477d('0x5d6')](this,function(_0x3fd5f9,_0x36dfd4){this[_0x477d('0x2c6f')]()&&this[_0x477d('0x325b')]()&&this[_0x477d('0x2b61')](_0x36dfd4[_0x477d('0x2b13')](_0x477d('0x2b86')));});this['setGraph'](_0x36335b);}mxSwimlaneManager[_0x477d('0x798')]=new mxEventSource();mxSwimlaneManager[_0x477d('0x798')][_0x477d('0x29c3')]=mxSwimlaneManager;mxSwimlaneManager[_0x477d('0x798')][_0x477d('0x2c83')]=null;mxSwimlaneManager[_0x477d('0x798')][_0x477d('0x3b4')]=!0x0;mxSwimlaneManager[_0x477d('0x798')][_0x477d('0x750')]=!0x0;mxSwimlaneManager[_0x477d('0x798')][_0x477d('0x3257')]=!0x0;mxSwimlaneManager[_0x477d('0x798')][_0x477d('0x3258')]=!0x0;mxSwimlaneManager[_0x477d('0x798')][_0x477d('0x3259')]=null;mxSwimlaneManager['prototype'][_0x477d('0x3253')]=null;mxSwimlaneManager[_0x477d('0x798')]['isEnabled']=function(){return this[_0x477d('0x3b4')];};mxSwimlaneManager[_0x477d('0x798')][_0x477d('0x2bda')]=function(_0x40cabb){this[_0x477d('0x3b4')]=_0x40cabb;};mxSwimlaneManager[_0x477d('0x798')][_0x477d('0x2e6e')]=function(){return this['horizontal'];};mxSwimlaneManager[_0x477d('0x798')][_0x477d('0x325c')]=function(_0x4c46e1){this[_0x477d('0x750')]=_0x4c46e1;};mxSwimlaneManager['prototype']['isAddEnabled']=function(){return this[_0x477d('0x3257')];};mxSwimlaneManager[_0x477d('0x798')][_0x477d('0x325d')]=function(_0x29e367){this['addEnabled']=_0x29e367;};mxSwimlaneManager['prototype'][_0x477d('0x325b')]=function(){return this['resizeEnabled'];};mxSwimlaneManager['prototype']['setResizeEnabled']=function(_0x5e7d51){this['resizeEnabled']=_0x5e7d51;};mxSwimlaneManager[_0x477d('0x798')][_0x477d('0x2ee0')]=function(){return this[_0x477d('0x2c83')];};mxSwimlaneManager['prototype'][_0x477d('0x2c82')]=function(_0x59f933){null!=this['graph']&&(this[_0x477d('0x2c83')]['removeListener'](this[_0x477d('0x3259')]),this['graph'][_0x477d('0xd5c')](this[_0x477d('0x3253')]));this[_0x477d('0x2c83')]=_0x59f933;null!=this[_0x477d('0x2c83')]&&(this['graph']['addListener'](mxEvent[_0x477d('0x325e')],this[_0x477d('0x3259')]),this[_0x477d('0x2c83')][_0x477d('0x29b3')](mxEvent[_0x477d('0x3166')],this['resizeHandler']));};mxSwimlaneManager[_0x477d('0x798')]['isSwimlaneIgnored']=function(_0x4f8390){return!this['getGraph']()[_0x477d('0x2e6b')](_0x4f8390);};mxSwimlaneManager[_0x477d('0x798')]['isCellHorizontal']=function(_0x4475f8){if(this['graph'][_0x477d('0x2e6b')](_0x4475f8)){var _0x55dcba=this[_0x477d('0x2c83')][_0x477d('0x1672')][_0x477d('0x29df')](_0x4475f8);_0x4475f8=null!=_0x55dcba?_0x55dcba[_0x477d('0x457')]:this[_0x477d('0x2c83')][_0x477d('0x2e54')](_0x4475f8);return 0x1==mxUtils[_0x477d('0x2a4a')](_0x4475f8,mxConstants[_0x477d('0x2df0')],0x1);}return!this['isHorizontal']();};mxSwimlaneManager['prototype'][_0x477d('0x2b5e')]=function(_0x56d4bb){if(null!=_0x56d4bb){var _0x11905f=this[_0x477d('0x2ee0')]()['getModel']();_0x11905f[_0x477d('0x2a65')]();try{for(var _0x279b3a=0x0;_0x279b3a<_0x56d4bb[_0x477d('0x79')];_0x279b3a++)this[_0x477d('0x325f')](_0x56d4bb[_0x279b3a])||this['swimlaneAdded'](_0x56d4bb[_0x279b3a]);}finally{_0x11905f[_0x477d('0x2a67')]();}}};mxSwimlaneManager[_0x477d('0x798')][_0x477d('0x3260')]=function(_0x52c734){for(var _0x28e7e7=this[_0x477d('0x2ee0')]()[_0x477d('0x2a75')](),_0x1a8ce2=_0x28e7e7['getParent'](_0x52c734),_0xa6b4f2=_0x28e7e7['getChildCount'](_0x1a8ce2),_0xcc428f=null,_0xb05110=0x0;_0xb05110<_0xa6b4f2;_0xb05110++){var _0x348e46=_0x28e7e7[_0x477d('0x29de')](_0x1a8ce2,_0xb05110);if(_0x348e46!=_0x52c734&&!this[_0x477d('0x325f')](_0x348e46)&&(_0xcc428f=_0x28e7e7[_0x477d('0x2e62')](_0x348e46),null!=_0xcc428f))break;}null!=_0xcc428f&&this[_0x477d('0x3261')](_0x52c734,_0xcc428f[_0x477d('0x4ef')],_0xcc428f[_0x477d('0x504')]);};mxSwimlaneManager['prototype'][_0x477d('0x2b61')]=function(_0x17ad5e){if(null!=_0x17ad5e){var _0xdd097f=this[_0x477d('0x2ee0')]()[_0x477d('0x2a75')]();_0xdd097f['beginUpdate']();try{for(var _0x2a6f1d=0x0;_0x2a6f1d<_0x17ad5e[_0x477d('0x79')];_0x2a6f1d++)if(!this[_0x477d('0x325f')](_0x17ad5e[_0x2a6f1d])){var _0x3825be=_0xdd097f['getGeometry'](_0x17ad5e[_0x2a6f1d]);if(null!=_0x3825be){for(var _0x12ade3=new mxRectangle(0x0,0x0,_0x3825be[_0x477d('0x4ef')],_0x3825be[_0x477d('0x504')]),_0x4c8e19=_0x17ad5e[_0x2a6f1d],_0x2022e9=_0x4c8e19;null!=_0x2022e9;){var _0x4c8e19=_0x2022e9,_0x2022e9=_0xdd097f['getParent'](_0x2022e9),_0x30990b=this['graph']['isSwimlane'](_0x2022e9)?this[_0x477d('0x2c83')][_0x477d('0x2e6c')](_0x2022e9):new mxRectangle();_0x12ade3[_0x477d('0x4ef')]+=_0x30990b[_0x477d('0x4ef')];_0x12ade3[_0x477d('0x504')]+=_0x30990b[_0x477d('0x504')];}this[_0x477d('0x3261')](_0x4c8e19,_0x12ade3[_0x477d('0x4ef')],_0x12ade3['height']);}}}finally{_0xdd097f['endUpdate']();}}};mxSwimlaneManager[_0x477d('0x798')]['resizeSwimlane']=function(_0x17fd8c,_0x4afb7f,_0x1f969f){var _0x2cb772=this[_0x477d('0x2ee0')]()['getModel']();_0x2cb772[_0x477d('0x2a65')]();try{if(!this['isSwimlaneIgnored'](_0x17fd8c)){var _0x26b05e=_0x2cb772[_0x477d('0x2e62')](_0x17fd8c);if(null!=_0x26b05e){var _0x4169e0=this[_0x477d('0x3262')](_0x17fd8c);if(_0x4169e0&&_0x26b05e[_0x477d('0x504')]!=_0x1f969f||!_0x4169e0&&_0x26b05e['width']!=_0x4afb7f)_0x26b05e=_0x26b05e['clone'](),_0x4169e0?_0x26b05e['height']=_0x1f969f:_0x26b05e[_0x477d('0x4ef')]=_0x4afb7f,_0x2cb772[_0x477d('0x2e65')](_0x17fd8c,_0x26b05e);}}var _0x470de6=this[_0x477d('0x2c83')][_0x477d('0x2e6b')](_0x17fd8c)?this['graph']['getStartSize'](_0x17fd8c):new mxRectangle();_0x4afb7f-=_0x470de6['width'];_0x1f969f-=_0x470de6['height'];for(var _0x27c196=_0x2cb772[_0x477d('0x2c42')](_0x17fd8c),_0x26b05e=0x0;_0x26b05e<_0x27c196;_0x26b05e++){var _0x58d423=_0x2cb772[_0x477d('0x29de')](_0x17fd8c,_0x26b05e);this['resizeSwimlane'](_0x58d423,_0x4afb7f,_0x1f969f);}}finally{_0x2cb772['endUpdate']();}};mxSwimlaneManager['prototype'][_0x477d('0x2a81')]=function(){this[_0x477d('0x2c82')](null);};function mxTemporaryCellStates(_0x42b515,_0x2c4b47,_0x200dc9){this[_0x477d('0x1672')]=_0x42b515;_0x2c4b47=null!=_0x2c4b47?_0x2c4b47:0x1;this[_0x477d('0x3263')]=_0x42b515[_0x477d('0x2a83')]();this['oldStates']=_0x42b515[_0x477d('0x3097')]();this[_0x477d('0x3264')]=_0x42b515[_0x477d('0x2c93')]();_0x42b515[_0x477d('0x2d8b')](new mxDictionary());_0x42b515[_0x477d('0x3068')](_0x2c4b47);if(null!=_0x200dc9){_0x2c4b47=_0x42b515[_0x477d('0x2ca9')](new mxCell());for(var _0x56c40c=0x0;_0x56c40c<_0x200dc9[_0x477d('0x79')];_0x56c40c++)_0x42b515[_0x477d('0x3079')](_0x2c4b47,_0x200dc9[_0x56c40c]);for(var _0xe4143a=null,_0x56c40c=0x0;_0x56c40c<_0x200dc9[_0x477d('0x79')];_0x56c40c++){var _0x48ae43=_0x42b515[_0x477d('0x3071')](_0x2c4b47,_0x200dc9[_0x56c40c]);null==_0xe4143a?_0xe4143a=_0x48ae43:_0xe4143a[_0x477d('0x440')](_0x48ae43);}null==_0xe4143a&&(_0xe4143a=new mxRectangle());_0x42b515[_0x477d('0x3061')](_0xe4143a);}}mxTemporaryCellStates[_0x477d('0x798')]['view']=null;mxTemporaryCellStates['prototype'][_0x477d('0x3265')]=null;mxTemporaryCellStates[_0x477d('0x798')][_0x477d('0x3263')]=null;mxTemporaryCellStates['prototype'][_0x477d('0x3264')]=null;mxTemporaryCellStates[_0x477d('0x798')][_0x477d('0x2a81')]=function(){this[_0x477d('0x1672')][_0x477d('0x3068')](this[_0x477d('0x3264')]);this[_0x477d('0x1672')]['setStates'](this[_0x477d('0x3265')]);this[_0x477d('0x1672')][_0x477d('0x3061')](this[_0x477d('0x3263')]);};function mxCellStatePreview(_0x2fe56a){this[_0x477d('0x2c83')]=_0x2fe56a;this['deltas']={};}mxCellStatePreview[_0x477d('0x798')][_0x477d('0x2c83')]=null;mxCellStatePreview[_0x477d('0x798')][_0x477d('0x3266')]=null;mxCellStatePreview['prototype'][_0x477d('0x3bb')]=0x0;mxCellStatePreview[_0x477d('0x798')][_0x477d('0x3b2')]=function(){return 0x0==this['count'];};mxCellStatePreview[_0x477d('0x798')]['moveState']=function(_0x529cf7,_0x3509fd,_0x1b8595,_0x59d096,_0x5676a4){_0x59d096=null!=_0x59d096?_0x59d096:!0x0;_0x5676a4=null!=_0x5676a4?_0x5676a4:!0x0;var _0x540eef=mxCellPath['create'](_0x529cf7[_0x477d('0x29d5')]),_0x17f701=this[_0x477d('0x3266')][_0x540eef];null==_0x17f701?(_0x17f701=new mxPoint(_0x3509fd,_0x1b8595),this[_0x477d('0x3266')][_0x540eef]=_0x17f701,this[_0x477d('0x3bb')]++):_0x59d096?(_0x17f701['X']+=_0x3509fd,_0x17f701['Y']+=_0x1b8595):(_0x17f701['X']=_0x3509fd,_0x17f701['Y']=_0x1b8595);_0x5676a4&&this[_0x477d('0x3267')](_0x529cf7);return _0x17f701;};mxCellStatePreview[_0x477d('0x798')]['show']=function(_0x59cd59){var _0x56161c=this[_0x477d('0x2c83')][_0x477d('0x2a75')](),_0xf8e627=_0x56161c[_0x477d('0x2a76')](),_0x159f13;for(_0x159f13 in this[_0x477d('0x3266')]){var _0x4e2430=mxCellPath[_0x477d('0x5a')](_0xf8e627,_0x159f13),_0x3435a8=this[_0x477d('0x2c83')][_0x477d('0x1672')][_0x477d('0x29df')](_0x4e2430),_0x46779a=this[_0x477d('0x3266')][_0x159f13],_0x4e2430=this[_0x477d('0x2c83')][_0x477d('0x1672')][_0x477d('0x29df')](_0x56161c[_0x477d('0x2e63')](_0x4e2430));this['translateState'](_0x4e2430,_0x3435a8,_0x46779a['x'],_0x46779a['y']);}for(_0x159f13 in this[_0x477d('0x3266')])_0x4e2430=mxCellPath['resolve'](_0xf8e627,_0x159f13),_0x3435a8=this[_0x477d('0x2c83')][_0x477d('0x1672')][_0x477d('0x29df')](_0x4e2430),_0x46779a=this[_0x477d('0x3266')][_0x159f13],_0x4e2430=this[_0x477d('0x2c83')][_0x477d('0x1672')]['getState'](_0x56161c[_0x477d('0x2e63')](_0x4e2430)),this[_0x477d('0x3268')](_0x4e2430,_0x3435a8,_0x46779a['x'],_0x46779a['y'],_0x59cd59);};mxCellStatePreview['prototype'][_0x477d('0x3269')]=function(_0xcbe554,_0x16f7a3,_0x5ae8cf,_0x370af5){if(null!=_0x16f7a3){var _0x14fb16=this['graph'][_0x477d('0x2a75')]();if(_0x14fb16[_0x477d('0x2e5a')](_0x16f7a3[_0x477d('0x29d5')])){_0x16f7a3[_0x477d('0x26d0')]=!0x0;this[_0x477d('0x2c83')][_0x477d('0x1672')][_0x477d('0x3079')](_0xcbe554,_0x16f7a3['cell']);_0xcbe554=_0x14fb16[_0x477d('0x2e62')](_0x16f7a3[_0x477d('0x29d5')]);var _0x384e85=mxCellPath[_0x477d('0x2a62')](_0x16f7a3[_0x477d('0x29d5')]);if((0x0!=_0x5ae8cf||0x0!=_0x370af5)&&null!=_0xcbe554&&(!_0xcbe554[_0x477d('0x2d7f')]||null!=this['deltas'][_0x384e85]))_0x16f7a3['x']+=_0x5ae8cf,_0x16f7a3['y']+=_0x370af5;}_0xcbe554=_0x14fb16[_0x477d('0x2c42')](_0x16f7a3[_0x477d('0x29d5')]);for(_0x384e85=0x0;_0x384e85<_0xcbe554;_0x384e85++)this[_0x477d('0x3269')](_0x16f7a3,this[_0x477d('0x2c83')][_0x477d('0x1672')][_0x477d('0x29df')](_0x14fb16[_0x477d('0x29de')](_0x16f7a3[_0x477d('0x29d5')],_0x384e85)),_0x5ae8cf,_0x370af5);}};mxCellStatePreview[_0x477d('0x798')][_0x477d('0x3268')]=function(_0x5a2cfa,_0x4674d9,_0x69b868,_0x3fcdbd,_0x4379f5){if(null!=_0x4674d9){_0x4674d9['invalid']=!0x0;this['graph'][_0x477d('0x1672')]['validatePoints'](_0x5a2cfa,_0x4674d9[_0x477d('0x29d5')]);var _0x4a915f=mxCellPath[_0x477d('0x2a62')](_0x4674d9['cell']),_0x144009=this[_0x477d('0x2c83')]['getModel'](),_0x1c99f5=this[_0x477d('0x2c83')][_0x477d('0x2e6a')](_0x4674d9[_0x477d('0x29d5')]);if((0x0!=_0x69b868||0x0!=_0x3fcdbd)&&null!=_0x1c99f5&&_0x1c99f5[_0x477d('0x2d7f')]&&_0x144009[_0x477d('0x2e5a')](_0x4674d9['cell'])&&(null==_0x5a2cfa||_0x144009[_0x477d('0x2e5a')](_0x5a2cfa['cell'])||null!=this[_0x477d('0x3266')][_0x4a915f]))_0x4674d9['x']+=_0x69b868,_0x4674d9['y']+=_0x3fcdbd,this[_0x477d('0x2c83')]['cellRenderer'][_0x477d('0x2d97')](_0x4674d9);null!=_0x4379f5&&_0x4379f5(_0x4674d9);_0x5a2cfa=_0x144009[_0x477d('0x2c42')](_0x4674d9[_0x477d('0x29d5')]);for(_0x4a915f=0x0;_0x4a915f<_0x5a2cfa;_0x4a915f++)this[_0x477d('0x3268')](_0x4674d9,this[_0x477d('0x2c83')]['view'][_0x477d('0x29df')](_0x144009['getChildAt'](_0x4674d9[_0x477d('0x29d5')],_0x4a915f)),_0x69b868,_0x3fcdbd,_0x4379f5);}};mxCellStatePreview['prototype'][_0x477d('0x3267')]=function(_0x218b2c){for(var _0x4bb9d0=this[_0x477d('0x2c83')][_0x477d('0x2a75')](),_0x3c4bc3=_0x4bb9d0['getEdgeCount'](_0x218b2c[_0x477d('0x29d5')]),_0x2cd583=0x0;_0x2cd583<_0x3c4bc3;_0x2cd583++){var _0x4680c6=this['graph'][_0x477d('0x1672')][_0x477d('0x29df')](_0x4bb9d0[_0x477d('0x2e57')](_0x218b2c[_0x477d('0x29d5')],_0x2cd583));null!=_0x4680c6&&this['moveState'](_0x4680c6,0x0,0x0);}};function mxConnectionConstraint(_0x55bd2c,_0x4ece9d){this[_0x477d('0x317a')]=_0x55bd2c;this[_0x477d('0x2da0')]=null!=_0x4ece9d?_0x4ece9d:!0x0;}mxConnectionConstraint[_0x477d('0x798')]['point']=null;mxConnectionConstraint[_0x477d('0x798')]['perimeter']=null;function mxGraphHandler(_0xfa0ccb){this[_0x477d('0x2c83')]=_0xfa0ccb;this[_0x477d('0x2c83')]['addMouseListener'](this);this[_0x477d('0x3229')]=mxUtils[_0x477d('0x5d6')](this,function(){this[_0x477d('0x326a')]();});this[_0x477d('0x2c83')]['addListener'](mxEvent[_0x477d('0x2c5d')],this[_0x477d('0x3229')]);}mxGraphHandler[_0x477d('0x798')]['graph']=null;mxGraphHandler[_0x477d('0x798')]['maxCells']=mxClient[_0x477d('0x2984')]?0x14:0x32;mxGraphHandler[_0x477d('0x798')]['enabled']=!0x0;mxGraphHandler[_0x477d('0x798')][_0x477d('0x326b')]=!0x0;mxGraphHandler['prototype'][_0x477d('0x326c')]=!0x0;mxGraphHandler[_0x477d('0x798')]['moveEnabled']=!0x0;mxGraphHandler[_0x477d('0x798')][_0x477d('0x2bd7')]=!0x1;mxGraphHandler['prototype'][_0x477d('0x326d')]=null;mxGraphHandler[_0x477d('0x798')][_0x477d('0x326e')]=null;mxGraphHandler[_0x477d('0x798')]['currentDy']=null;mxGraphHandler[_0x477d('0x798')][_0x477d('0x326f')]=!0x0;mxGraphHandler[_0x477d('0x798')][_0x477d('0x3270')]=!0x0;mxGraphHandler[_0x477d('0x798')][_0x477d('0x2b68')]=!0x0;mxGraphHandler['prototype'][_0x477d('0x3271')]=!0x1;mxGraphHandler[_0x477d('0x798')][_0x477d('0x3272')]=!0x0;mxGraphHandler[_0x477d('0x798')][_0x477d('0x2bac')]=0x6;mxGraphHandler[_0x477d('0x798')][_0x477d('0x3273')]=_0x477d('0x9cc');mxGraphHandler['prototype']['htmlPreview']=!0x1;mxGraphHandler[_0x477d('0x798')][_0x477d('0x29e0')]=null;mxGraphHandler[_0x477d('0x798')][_0x477d('0x3274')]=!0x1;mxGraphHandler[_0x477d('0x798')][_0x477d('0x3275')]=!0x0;mxGraphHandler['prototype'][_0x477d('0x2c6f')]=function(){return this[_0x477d('0x3b4')];};mxGraphHandler[_0x477d('0x798')][_0x477d('0x2bda')]=function(_0x16f269){this[_0x477d('0x3b4')]=_0x16f269;};mxGraphHandler['prototype'][_0x477d('0x3276')]=function(){return this[_0x477d('0x326c')];};mxGraphHandler[_0x477d('0x798')]['setCloneEnabled']=function(_0x48a7c1){this['cloneEnabled']=_0x48a7c1;};mxGraphHandler['prototype'][_0x477d('0x3277')]=function(){return this[_0x477d('0x3278')];};mxGraphHandler['prototype']['setMoveEnabled']=function(_0x41754c){this[_0x477d('0x3278')]=_0x41754c;};mxGraphHandler[_0x477d('0x798')]['isSelectEnabled']=function(){return this[_0x477d('0x3270')];};mxGraphHandler[_0x477d('0x798')][_0x477d('0x3279')]=function(_0x36816a){this[_0x477d('0x3270')]=_0x36816a;};mxGraphHandler['prototype'][_0x477d('0x327a')]=function(){return this[_0x477d('0x2b68')];};mxGraphHandler[_0x477d('0x798')][_0x477d('0x327b')]=function(_0x5ddbbd){this[_0x477d('0x2b68')]=_0x5ddbbd;};mxGraphHandler[_0x477d('0x798')][_0x477d('0x327c')]=function(_0x37d275){return _0x37d275['getCell']();};mxGraphHandler[_0x477d('0x798')][_0x477d('0x327d')]=function(_0x1187d5){return this[_0x477d('0x2c83')][_0x477d('0x3208')](_0x1187d5);};mxGraphHandler[_0x477d('0x798')][_0x477d('0x2b48')]=function(_0x5744df,_0x4344df){if(!_0x4344df[_0x477d('0x2b14')]()&&this[_0x477d('0x2c6f')]()&&this[_0x477d('0x2c83')][_0x477d('0x2c6f')]()&&!this[_0x477d('0x2c83')]['isForceMarqueeEvent'](_0x4344df[_0x477d('0x2b19')]())&&null!=_0x4344df[_0x477d('0x29df')]()){var _0x42d80f=this[_0x477d('0x327c')](_0x4344df);this['cell']=null;this[_0x477d('0x327e')]=this[_0x477d('0x327d')](_0x42d80f);this[_0x477d('0x327f')]()&&!this['delayedSelection']&&this[_0x477d('0x2c83')][_0x477d('0x3119')](_0x42d80f,_0x4344df[_0x477d('0x2b19')]());if(this[_0x477d('0x3277')]()){var _0x11489c=this[_0x477d('0x2c83')][_0x477d('0x44e')],_0x40f635=_0x11489c[_0x477d('0x2e62')](_0x42d80f);this[_0x477d('0x2c83')]['isCellMovable'](_0x42d80f)&&(!_0x11489c[_0x477d('0x29d6')](_0x42d80f)||0x1_0x94bda0||Math[_0x477d('0x2a42')](_0x1b05da)>_0x94bda0){null==this[_0x477d('0x40a')]&&(this['highlight']=new mxCellHighlight(this['graph'],mxConstants[_0x477d('0x3288')],0x3));null==this[_0x477d('0x29e0')]&&(this['shape']=this[_0x477d('0x3283')](this[_0x477d('0x2db9')]));var _0x2cf6b7=_0x80671a[_0x477d('0x3289')](_0x28a47a['getEvent']()),_0x94bda0=!0x0;if(null!=this[_0x477d('0x326d')]&&this[_0x477d('0x3287')](_0x28a47a))_0x1b05da=this[_0x477d('0x326d')]['move'](this[_0x477d('0x2db9')],new mxPoint(_0x1d4170,_0x1b05da),_0x2cf6b7),_0x94bda0=!0x1,_0x1d4170=_0x1b05da['x'],_0x1b05da=_0x1b05da['y'];else if(_0x2cf6b7)var _0x5e5b2c=_0x80671a[_0x477d('0x29d4')]()[_0x477d('0x454')],_0x49af07=_0x80671a['getView']()[_0x477d('0x29d8')],_0x2cf6b7=this[_0x477d('0x2db9')]['x']-(_0x80671a[_0x477d('0x2bf3')](this[_0x477d('0x2db9')]['x']/_0x49af07-_0x5e5b2c['x'])+_0x5e5b2c['x'])*_0x49af07,_0x5e5b2c=this[_0x477d('0x2db9')]['y']-(_0x80671a['snap'](this[_0x477d('0x2db9')]['y']/_0x49af07-_0x5e5b2c['y'])+_0x5e5b2c['y'])*_0x49af07,_0x1b05da=this[_0x477d('0x2bf3')](new mxPoint(_0x1d4170,_0x1b05da)),_0x1d4170=_0x1b05da['x']-_0x2cf6b7,_0x1b05da=_0x1b05da['y']-_0x5e5b2c;null!=this[_0x477d('0x326d')]&&_0x94bda0&&this[_0x477d('0x326d')]['hide']();_0x80671a['isConstrainedEvent'](_0x28a47a[_0x477d('0x2b19')]())&&(Math[_0x477d('0x2a42')](_0x1d4170)>Math['abs'](_0x1b05da)?_0x1b05da=0x0:_0x1d4170=0x0);this[_0x477d('0x326e')]=_0x1d4170;this[_0x477d('0x328a')]=_0x1b05da;this[_0x477d('0x326a')]();_0x94bda0=null;_0x1b05da=_0x28a47a[_0x477d('0x2f36')]();_0x80671a[_0x477d('0x31e1')]()&&this[_0x477d('0x326b')]&&(_0x94bda0=_0x80671a[_0x477d('0x2bdf')](this[_0x477d('0x2b86')],_0x28a47a[_0x477d('0x2b19')](),_0x1b05da));_0x2cf6b7=_0x94bda0;for(_0x5e5b2c=_0x80671a[_0x477d('0x2a75')]();null!=_0x2cf6b7&&_0x2cf6b7!=this[_0x477d('0x2b86')][0x0];)_0x2cf6b7=_0x5e5b2c[_0x477d('0x2e63')](_0x2cf6b7);var _0x49af07=_0x80671a['isCloneEvent'](_0x28a47a[_0x477d('0x2b19')]())&&_0x80671a[_0x477d('0x3280')]()&&this[_0x477d('0x3276')](),_0x1d4170=_0x80671a['getView']()[_0x477d('0x29df')](_0x94bda0),_0x7d984b=!0x1;null!=_0x1d4170&&null==_0x2cf6b7&&(_0x5e5b2c[_0x477d('0x2e63')](this['cell'])!=_0x94bda0||_0x49af07)?(this[_0x477d('0x378')]!=_0x94bda0&&(this[_0x477d('0x378')]=_0x94bda0,this[_0x477d('0x328b')](mxConstants[_0x477d('0x3288')])),_0x7d984b=!0x0):(this[_0x477d('0x378')]=null,this[_0x477d('0x3271')]&&(null!=_0x1b05da&&0x1==this[_0x477d('0x2b86')]['length']&&_0x80671a[_0x477d('0x2a75')]()[_0x477d('0x2e5a')](_0x1b05da)&&_0x80671a[_0x477d('0x3195')](_0x1b05da))&&(_0x1d4170=_0x80671a[_0x477d('0x29d4')]()[_0x477d('0x29df')](_0x1b05da),null!=_0x1d4170&&(_0x80671a=null==_0x80671a[_0x477d('0x3148')](null,this[_0x477d('0x29d5')],_0x1b05da)?mxConstants[_0x477d('0x328c')]:mxConstants['INVALID_CONNECT_TARGET_COLOR'],this[_0x477d('0x328b')](_0x80671a),_0x7d984b=!0x0)));null!=_0x1d4170&&_0x7d984b?this[_0x477d('0x40a')]['highlight'](_0x1d4170):this[_0x477d('0x40a')][_0x477d('0x3bc')]();}_0x28a47a['consume']();mxEvent[_0x477d('0x2b15')](_0x28a47a[_0x477d('0x2b19')]());}else if((this['isMoveEnabled']()||this[_0x477d('0x3276')]())&&this['updateCursor']&&!_0x28a47a[_0x477d('0x2b14')]()&&null!=_0x28a47a[_0x477d('0x29df')]()&&!_0x80671a[_0x477d('0x2bee')])_0x1d4170=_0x80671a['getCursorForCell'](_0x28a47a[_0x477d('0x2f36')]()),null==_0x1d4170&&(_0x80671a[_0x477d('0x2c6f')]()&&_0x80671a['isCellMovable'](_0x28a47a[_0x477d('0x2f36')]()))&&(_0x1d4170=_0x80671a[_0x477d('0x2a75')]()['isEdge'](_0x28a47a['getCell']())?mxConstants[_0x477d('0x328d')]:mxConstants['CURSOR_MOVABLE_VERTEX']),_0x28a47a[_0x477d('0x29df')]()[_0x477d('0x2de9')](_0x1d4170),_0x28a47a['consume']();};mxGraphHandler['prototype'][_0x477d('0x326a')]=function(){null!=this[_0x477d('0x29e0')]&&(this[_0x477d('0x29e0')][_0x477d('0x2db9')]=new mxRectangle(Math['round'](this[_0x477d('0x3285')]['x']+this['currentDx']-this[_0x477d('0x2c83')][_0x477d('0x2c66')]),Math[_0x477d('0x4fc')](this[_0x477d('0x3285')]['y']+this[_0x477d('0x328a')]-this['graph'][_0x477d('0x2c5c')]),this[_0x477d('0x3285')]['width'],this['pBounds'][_0x477d('0x504')]),this['shape'][_0x477d('0x2d97')]());};mxGraphHandler[_0x477d('0x798')]['setHighlightColor']=function(_0xf0c9d3){null!=this['highlight']&&this[_0x477d('0x40a')]['setHighlightColor'](_0xf0c9d3);};mxGraphHandler['prototype'][_0x477d('0x2bec')]=function(_0x9221ac,_0x594fbd){if(!_0x594fbd['isConsumed']()){var _0x42449d=this['graph'];if(null!=this[_0x477d('0x29d5')]&&null!=this['first']&&null!=this[_0x477d('0x29e0')]&&null!=this['currentDx']&&null!=this[_0x477d('0x328a')]){var _0x160e0f=_0x42449d['getView']()[_0x477d('0x29d8')],_0x22c78b=_0x42449d[_0x477d('0x3199')](_0x594fbd[_0x477d('0x2b19')]())&&_0x42449d[_0x477d('0x3280')]()&&this[_0x477d('0x3276')](),_0x9042f0=this['currentDx']/_0x160e0f,_0x160e0f=this['currentDy']/_0x160e0f,_0x26f145=_0x594fbd[_0x477d('0x2f36')]();this[_0x477d('0x3271')]&&null==this[_0x477d('0x378')]&&null!=_0x26f145&&_0x42449d[_0x477d('0x2a75')]()[_0x477d('0x2e5a')](_0x26f145)&&_0x42449d[_0x477d('0x3195')](_0x26f145)&&_0x42449d[_0x477d('0x328e')](null,this[_0x477d('0x29d5')],_0x26f145)?_0x42449d[_0x477d('0x30fc')]['connect'](this[_0x477d('0x29d5')],_0x26f145,_0x594fbd['getEvent']()):(_0x26f145=this['target'],_0x42449d[_0x477d('0x31e3')]()&&_0x42449d[_0x477d('0x3200')](_0x26f145,this[_0x477d('0x2b86')],_0x594fbd[_0x477d('0x2b19')]())?_0x42449d['splitEdge'](_0x26f145,this[_0x477d('0x2b86')],null,_0x9042f0,_0x160e0f):this[_0x477d('0x2b5f')](this[_0x477d('0x2b86')],_0x9042f0,_0x160e0f,_0x22c78b,this[_0x477d('0x378')],_0x594fbd[_0x477d('0x2b19')]()));}else this[_0x477d('0x327f')]()&&(this[_0x477d('0x327e')]&&null!=this[_0x477d('0x29d5')])&&this['selectDelayed'](_0x594fbd);}this[_0x477d('0x3281')]&&_0x594fbd[_0x477d('0x2b15')]();this['reset']();};mxGraphHandler['prototype'][_0x477d('0x328f')]=function(_0x5f3dc0){this[_0x477d('0x2c83')][_0x477d('0x3119')](this[_0x477d('0x29d5')],_0x5f3dc0[_0x477d('0x2b19')]());};mxGraphHandler[_0x477d('0x798')]['reset']=function(){this[_0x477d('0x3290')]();this[_0x477d('0x327e')]=this['cellWasClicked']=!0x1;this[_0x477d('0x378')]=this[_0x477d('0x29d5')]=this['first']=this[_0x477d('0x3291')]=this[_0x477d('0x328a')]=this['currentDx']=null;};mxGraphHandler[_0x477d('0x798')]['shouldRemoveCellsFromParent']=function(_0x13610f,_0x147164,_0xda625c){if(this[_0x477d('0x2c83')]['getModel']()['isVertex'](_0x13610f)){_0x13610f=this[_0x477d('0x2c83')][_0x477d('0x29d4')]()[_0x477d('0x29df')](_0x13610f);_0xda625c=mxUtils['convertPoint'](this[_0x477d('0x2c83')][_0x477d('0x4e7')],mxEvent['getClientX'](_0xda625c),mxEvent[_0x477d('0x2b1d')](_0xda625c));var _0x25c0ac=mxUtils[_0x477d('0x2a48')](mxUtils['getValue'](_0x13610f[_0x477d('0x457')],mxConstants[_0x477d('0x2de3')])||0x0);if(0x0!=_0x25c0ac){_0x147164=Math[_0x477d('0x2a47')](-_0x25c0ac);var _0x25c0ac=Math[_0x477d('0x2a43')](-_0x25c0ac),_0x3c458b=new mxPoint(_0x13610f[_0x477d('0x29d1')](),_0x13610f[_0x477d('0x2a55')]());_0xda625c=mxUtils[_0x477d('0x2a49')](_0xda625c,_0x147164,_0x25c0ac,_0x3c458b);}return null!=_0x13610f&&!mxUtils[_0x477d('0x2f32')](_0x13610f,_0xda625c['x'],_0xda625c['y']);}return!0x1;};mxGraphHandler[_0x477d('0x798')]['moveCells']=function(_0x59a614,_0x857bd9,_0x3342d2,_0x30e7c3,_0x3723e5,_0x358bbe){_0x30e7c3&&(_0x59a614=this[_0x477d('0x2c83')]['getCloneableCells'](_0x59a614));null==_0x3723e5&&(this['isRemoveCellsFromParent']()&&this[_0x477d('0x3292')](this['graph']['getModel']()['getParent'](this[_0x477d('0x29d5')]),_0x59a614,_0x358bbe))&&(_0x3723e5=this[_0x477d('0x2c83')][_0x477d('0x3147')]());_0x59a614=this[_0x477d('0x2c83')]['moveCells'](_0x59a614,_0x857bd9-this[_0x477d('0x2c83')]['panDx']/this[_0x477d('0x2c83')][_0x477d('0x1672')][_0x477d('0x29d8')],_0x3342d2-this[_0x477d('0x2c83')][_0x477d('0x2c5c')]/this[_0x477d('0x2c83')][_0x477d('0x1672')][_0x477d('0x29d8')],_0x30e7c3,_0x3723e5,_0x358bbe);this[_0x477d('0x327f')]()&&this[_0x477d('0x3272')]&&this['graph'][_0x477d('0x3193')](_0x59a614[0x0]);_0x30e7c3&&this['graph'][_0x477d('0x2b8d')](_0x59a614);};mxGraphHandler['prototype']['destroyShapes']=function(){null!=this[_0x477d('0x29e0')]&&(this[_0x477d('0x29e0')][_0x477d('0x2a81')](),this['shape']=null);null!=this[_0x477d('0x326d')]&&(this[_0x477d('0x326d')][_0x477d('0x2a81')](),this[_0x477d('0x326d')]=null);null!=this[_0x477d('0x40a')]&&(this[_0x477d('0x40a')][_0x477d('0x2a81')](),this['highlight']=null);};mxGraphHandler['prototype'][_0x477d('0x2a81')]=function(){this['graph']['removeMouseListener'](this);this[_0x477d('0x2c83')][_0x477d('0xd5c')](this[_0x477d('0x3229')]);this[_0x477d('0x3290')]();};function mxPanningHandler(_0x488678,_0x5f4954){null!=_0x488678&&(this[_0x477d('0x2c83')]=_0x488678,this[_0x477d('0x2bfe')]=_0x5f4954,this[_0x477d('0x2c83')][_0x477d('0x2c57')](this),this[_0x477d('0x5ee')]());}mxPanningHandler[_0x477d('0x798')]=new mxPopupMenu();mxPanningHandler[_0x477d('0x798')][_0x477d('0x29c3')]=mxPanningHandler;mxPanningHandler[_0x477d('0x798')]['graph']=null;mxPanningHandler[_0x477d('0x798')][_0x477d('0x3293')]=null;mxPanningHandler[_0x477d('0x798')][_0x477d('0x3294')]=null;mxPanningHandler[_0x477d('0x798')][_0x477d('0x3295')]=!0x0;mxPanningHandler[_0x477d('0x798')]['useLeftButtonForPanning']=!0x1;mxPanningHandler[_0x477d('0x798')][_0x477d('0x3296')]=!0x0;mxPanningHandler[_0x477d('0x798')][_0x477d('0x3297')]=!0x0;mxPanningHandler[_0x477d('0x798')][_0x477d('0x3298')]=!0x1;mxPanningHandler[_0x477d('0x798')]['previewEnabled']=!0x0;mxPanningHandler[_0x477d('0x798')]['useGrid']=!0x1;mxPanningHandler[_0x477d('0x798')]['panningEnabled']=!0x0;mxPanningHandler[_0x477d('0x798')]['isPanningEnabled']=function(){return this['panningEnabled'];};mxPanningHandler['prototype'][_0x477d('0x3299')]=function(_0x10b0bc){this[_0x477d('0x30fb')]=_0x10b0bc;};mxPanningHandler[_0x477d('0x798')][_0x477d('0x5ee')]=function(){mxPopupMenu[_0x477d('0x798')][_0x477d('0x5ee')][_0x477d('0x4f5')](this);mxEvent[_0x477d('0x29b3')](this['div'],mxClient[_0x477d('0x2b2c')]?'touchmove':_0x477d('0x2b2f'),mxUtils[_0x477d('0x5d6')](this,function(_0x169a04){this['graph'][_0x477d('0x3076')]['hide']();}));};mxPanningHandler[_0x477d('0x798')][_0x477d('0x329a')]=function(_0x5873a6){var _0x5d814c=_0x5873a6['getEvent']();return this[_0x477d('0x329b')]&&(this['ignoreCell']||null==_0x5873a6['getState']())&&mxEvent['isLeftMouseButton'](_0x5d814c)||mxEvent[_0x477d('0x2b3e')](_0x5d814c)&&mxEvent['isShiftDown'](_0x5d814c)||this[_0x477d('0x3295')]&&mxEvent[_0x477d('0x2b1f')](_0x5d814c);};mxPanningHandler[_0x477d('0x798')][_0x477d('0x2b48')]=function(_0x4af470,_0x1f1a2c){if(!_0x1f1a2c[_0x477d('0x2b14')]()&&this['isEnabled']()){this['hideMenu']();this[_0x477d('0x3237')]=-this[_0x477d('0x2c83')]['container'][_0x477d('0x781')];this[_0x477d('0x3238')]=-this['graph'][_0x477d('0x4e7')][_0x477d('0x52a')];var _0x107f4e=mxUtils['convertPoint'](this[_0x477d('0x2c83')]['container'],_0x1f1a2c[_0x477d('0x2b1c')](),_0x1f1a2c[_0x477d('0x2bb5')]());this[_0x477d('0x3293')]=_0x107f4e['x'];this[_0x477d('0x3294')]=_0x107f4e['y'];this[_0x477d('0x329c')]=this[_0x477d('0x2b1f')](_0x1f1a2c);this[_0x477d('0x329d')]=this[_0x477d('0x329e')]()&&this[_0x477d('0x329a')](_0x1f1a2c);this[_0x477d('0x3235')]=_0x1f1a2c[_0x477d('0x2b1c')]();this['startY']=_0x1f1a2c[_0x477d('0x2bb5')]();this[_0x477d('0x329d')]&&this[_0x477d('0x329f')](_0x1f1a2c);}};mxPanningHandler[_0x477d('0x798')][_0x477d('0x329f')]=function(_0x4c08f2){_0x4c08f2[_0x477d('0x2b15')]();};mxPanningHandler[_0x477d('0x798')][_0x477d('0x2be3')]=function(_0x588a6e,_0x1d263f){var _0xeaa182=_0x1d263f[_0x477d('0x2b1c')]()-this[_0x477d('0x3235')],_0x2695dc=_0x1d263f[_0x477d('0x2bb5')]()-this[_0x477d('0x3236')];if(this[_0x477d('0x94d')])this[_0x477d('0x32a0')]&&(this[_0x477d('0x32a1')]&&(_0xeaa182=this[_0x477d('0x2c83')][_0x477d('0x2bf3')](_0xeaa182),_0x2695dc=this[_0x477d('0x2c83')]['snap'](_0x2695dc)),this[_0x477d('0x2c83')][_0x477d('0x2c5b')](_0xeaa182+this[_0x477d('0x3237')],_0x2695dc+this[_0x477d('0x3238')])),this['fireEvent'](new mxEventObject(mxEvent['PAN'],_0x477d('0x2b35'),_0x1d263f)),_0x1d263f[_0x477d('0x2b15')]();else if(this[_0x477d('0x329d')]){var _0x56aaa4=this[_0x477d('0x94d')];this['active']=Math[_0x477d('0x2a42')](_0xeaa182)>this['graph']['tolerance']||Math[_0x477d('0x2a42')](_0x2695dc)>this[_0x477d('0x2c83')][_0x477d('0x30ba')];!_0x56aaa4&&this[_0x477d('0x94d')]&&this['fireEvent'](new mxEventObject(mxEvent[_0x477d('0x32a2')],'event',_0x1d263f));}};mxPanningHandler[_0x477d('0x798')][_0x477d('0x2bec')]=function(_0x3b54c3,_0x1fffdb){var _0x11a1a2=Math[_0x477d('0x2a42')](_0x1fffdb[_0x477d('0x2b1c')]()-this[_0x477d('0x3235')]),_0x41af75=Math[_0x477d('0x2a42')](_0x1fffdb[_0x477d('0x2bb5')]()-this['startY']);if(this[_0x477d('0x94d')]){if(!this[_0x477d('0x2c83')]['useScrollbarsForPanning']||!mxUtils[_0x477d('0x2c59')](this[_0x477d('0x2c83')][_0x477d('0x4e7')])){_0x11a1a2=_0x1fffdb[_0x477d('0x2b1c')]()-this['startX'];_0x41af75=_0x1fffdb['getY']()-this[_0x477d('0x3236')];this['useGrid']&&(_0x11a1a2=this[_0x477d('0x2c83')][_0x477d('0x2bf3')](_0x11a1a2),_0x41af75=this['graph'][_0x477d('0x2bf3')](_0x41af75));var _0x260f27=this[_0x477d('0x2c83')][_0x477d('0x29d4')]()[_0x477d('0x29d8')],_0x2280df=this[_0x477d('0x2c83')]['getView']()[_0x477d('0x454')];this[_0x477d('0x2c83')][_0x477d('0x2c5b')](0x0,0x0);this[_0x477d('0x2c5b')](_0x2280df['x']+_0x11a1a2/_0x260f27,_0x2280df['y']+_0x41af75/_0x260f27);}this[_0x477d('0x94d')]=!0x1;this[_0x477d('0x2b26')](new mxEventObject(mxEvent[_0x477d('0x32a3')],_0x477d('0x2b35'),_0x1fffdb));_0x1fffdb[_0x477d('0x2b15')]();}else this[_0x477d('0x329c')]&&(_0x11a1a2this['graph'][_0x477d('0x30ba')]||_0x29867d>this[_0x477d('0x2c83')][_0x477d('0x30ba')]))this[_0x477d('0x29e0')]=this[_0x477d('0x2ff4')](),this[_0x477d('0x32ec')](_0x1c7079);null!=this['shape']&&(null!=this['edgeState']?this[_0x477d('0x29e0')][_0x477d('0x2d96')]=this[_0x477d('0x32d9')]['absolutePoints']:(_0xadac6b=[_0x3c87e7],null!=this[_0x477d('0x32e7')]&&(_0xadac6b=_0xadac6b[_0x477d('0x3a9')](this[_0x477d('0x32e7')])),_0xadac6b[_0x477d('0x3a7')](_0x1f9dda),this[_0x477d('0x29e0')][_0x477d('0x2d96')]=_0xadac6b),this[_0x477d('0x32f2')]());mxEvent[_0x477d('0x2b15')](_0x1c7079[_0x477d('0x2b19')]());_0x1c7079[_0x477d('0x2b15')]();}else!this[_0x477d('0x2c6f')]()||!this[_0x477d('0x2c83')][_0x477d('0x2c6f')]()?this[_0x477d('0x32c2')]['reset']():this[_0x477d('0x29da')]!=this[_0x477d('0x32df')]&&null==this[_0x477d('0x32d9')]?(this[_0x477d('0x32d2')](this[_0x477d('0x32d1')]),this[_0x477d('0x32d1')]=null,null!=this['currentState']&&null==this['error']&&(this[_0x477d('0x32d1')]=this[_0x477d('0x32f3')](this['currentState']),null==this[_0x477d('0x32d1')]&&(this[_0x477d('0x32df')][_0x477d('0x2de9')](mxConstants[_0x477d('0x32de')]),_0x1c7079['consume']())),this['previous']=this[_0x477d('0x32df')]):this['previous']==this[_0x477d('0x32df')]&&(null!=this['currentState']&&null==this[_0x477d('0x32d1')]&&!this[_0x477d('0x2c83')][_0x477d('0x2bee')])&&_0x1c7079[_0x477d('0x2b15')]();null!=this[_0x477d('0x32c2')][_0x477d('0x32e3')]&&this[_0x477d('0x32c1')][_0x477d('0x18b0')]();if(!this[_0x477d('0x2c83')]['isMouseDown']&&null!=this[_0x477d('0x32df')]&&null!=this[_0x477d('0x32d1')]){_0xadac6b=!0x1;_0x3c87e7=_0x1c7079[_0x477d('0x2b1a')]();for(_0x1f9dda=0x0;_0x1f9ddathis[_0x477d('0x2c83')][_0x477d('0x30ba')]||_0x2ff221>this[_0x477d('0x2c83')][_0x477d('0x30ba')]))null==this['waypoints']&&(this[_0x477d('0x32e7')]=[]),_0x1374da=this[_0x477d('0x2c83')][_0x477d('0x1672')]['scale'],_0x2ff221=new mxPoint(this['graph']['snap'](_0x34b6a8[_0x477d('0x2b1e')]()/_0x1374da)*_0x1374da,this[_0x477d('0x2c83')][_0x477d('0x2bf3')](_0x34b6a8[_0x477d('0x311b')]()/_0x1374da)*_0x1374da),this['waypoints']['push'](_0x2ff221);};mxConnectionHandler[_0x477d('0x798')]['mouseUp']=function(_0x2883c5,_0x2434c2){if(!_0x2434c2[_0x477d('0x2b14')]()&&this[_0x477d('0x32d5')]()){if(this[_0x477d('0x32c3')]&&!this['isStopEvent'](_0x2434c2)){this[_0x477d('0x32f6')](_0x2434c2);_0x2434c2['consume']();return;}if(null==this[_0x477d('0x44a')]){var _0x3676dc=null!=this[_0x477d('0x29da')]?this['previous'][_0x477d('0x29d5')]:null,_0x2baa8e=null;null!=this[_0x477d('0x32c2')][_0x477d('0x32e3')]&&null!=this[_0x477d('0x32c2')][_0x477d('0x32e2')]&&(_0x2baa8e=this[_0x477d('0x32c2')]['currentFocus'][_0x477d('0x29d5')]);null==_0x2baa8e&&this['marker'][_0x477d('0x32af')]()&&(_0x2baa8e=this[_0x477d('0x32c1')][_0x477d('0x32b0')]['cell']);this[_0x477d('0x678')](_0x3676dc,_0x2baa8e,_0x2434c2['getEvent'](),_0x2434c2[_0x477d('0x2f36')]());}else null!=this[_0x477d('0x29da')]&&(null!=this[_0x477d('0x32c1')][_0x477d('0x32b0')]&&this['previous'][_0x477d('0x29d5')]==this['marker'][_0x477d('0x32b0')]['cell'])&&this[_0x477d('0x2c83')]['selectCellForEvent'](this[_0x477d('0x32c1')][_0x477d('0x2c3b')],evt),0x0_0x4f733d||Math['abs'](_0x50d636)>_0x4f733d)null==this[_0x477d('0x2a6d')]&&(this[_0x477d('0x2a6d')]=this['createShape']()),mxUtils[_0x477d('0x3103')](),this[_0x477d('0x710')](_0x585e45,_0x41d392),_0x401c67[_0x477d('0x2b15')]();}};mxRubberband[_0x477d('0x798')]['createShape']=function(){null==this[_0x477d('0x3308')]&&(this['sharedDiv']=document[_0x477d('0x3c7')](_0x477d('0x2a6d')),this['sharedDiv']['className']=_0x477d('0x3309'),mxUtils[_0x477d('0x29d7')](this['sharedDiv'],this[_0x477d('0x3304')]));this[_0x477d('0x2c83')]['container'][_0x477d('0xd8f')](this['sharedDiv']);return this[_0x477d('0x3308')];};mxRubberband[_0x477d('0x798')]['mouseUp']=function(_0x140c54,_0x3141a2){var _0x167e14=null!=this[_0x477d('0x2a6d')];this[_0x477d('0x18b0')]();_0x167e14&&(_0x167e14=new mxRectangle(this['x'],this['y'],this[_0x477d('0x4ef')],this[_0x477d('0x504')]),this[_0x477d('0x2c83')][_0x477d('0x320e')](_0x167e14,_0x3141a2['getEvent']()),_0x3141a2[_0x477d('0x2b15')]());};mxRubberband[_0x477d('0x798')]['reset']=function(){null!=this[_0x477d('0x2a6d')]&&this['div'][_0x477d('0x29e2')][_0x477d('0x29e3')](this['div']);null!=this['dragHandler']&&(mxEvent[_0x477d('0xd5c')](document,_0x477d('0x2b2f'),this['dragHandler']),this['dragHandler']=null);null!=this[_0x477d('0x2bd0')]&&(mxEvent['removeListener'](document,_0x477d('0x2b2b'),this['dropHandler']),this[_0x477d('0x2bd0')]=null);this['currentY']=this['currentX']=0x0;this['div']=this[_0x477d('0xf72')]=null;};mxRubberband[_0x477d('0x798')][_0x477d('0x710')]=function(_0x39db72,_0x45c7fd){this[_0x477d('0x3305')]=_0x39db72;this[_0x477d('0x3306')]=_0x45c7fd;this[_0x477d('0x330a')]();};mxRubberband[_0x477d('0x798')][_0x477d('0x330a')]=function(){if(null!=this['div']){var _0x17de35=this[_0x477d('0x3305')]-this['graph']['panDx'],_0x45775d=this['currentY']-this[_0x477d('0x2c83')][_0x477d('0x2c5c')];this['x']=Math['min'](this[_0x477d('0xf72')]['x'],_0x17de35);this['y']=Math[_0x477d('0x4fa')](this['first']['y'],_0x45775d);this[_0x477d('0x4ef')]=Math[_0x477d('0x13fc')](this[_0x477d('0xf72')]['x'],_0x17de35)-this['x'];this[_0x477d('0x504')]=Math[_0x477d('0x13fc')](this['first']['y'],_0x45775d)-this['y'];_0x17de35=mxClient[_0x477d('0x2973')]?this[_0x477d('0x2c83')][_0x477d('0x2c5c')]:0x0;this[_0x477d('0x2a6d')][_0x477d('0x457')][_0x477d('0x77e')]=this['x']+(mxClient[_0x477d('0x2973')]?this['graph'][_0x477d('0x2c66')]:0x0)+'px';this[_0x477d('0x2a6d')][_0x477d('0x457')][_0x477d('0x72a')]=this['y']+_0x17de35+'px';this['div']['style']['width']=Math[_0x477d('0x13fc')](0x1,this[_0x477d('0x4ef')])+'px';this[_0x477d('0x2a6d')][_0x477d('0x457')][_0x477d('0x504')]=Math[_0x477d('0x13fc')](0x1,this[_0x477d('0x504')])+'px';}};mxRubberband[_0x477d('0x798')][_0x477d('0x2a81')]=function(){this[_0x477d('0x321d')]||(this['destroyed']=!0x0,this[_0x477d('0x2c83')][_0x477d('0x2c67')](this),this['graph']['removeListener'](this['panHandler']),this[_0x477d('0x18b0')](),null!=this[_0x477d('0x3308')]&&(this[_0x477d('0x3308')]=null));};function mxVertexHandler(_0x4bf854){null!=_0x4bf854&&(this[_0x477d('0xe')]=_0x4bf854,this[_0x477d('0x5ee')]());}mxVertexHandler[_0x477d('0x798')][_0x477d('0x2c83')]=null;mxVertexHandler[_0x477d('0x798')][_0x477d('0xe')]=null;mxVertexHandler[_0x477d('0x798')][_0x477d('0x330b')]=!0x1;mxVertexHandler['prototype'][_0x477d('0x2f5a')]=null;mxVertexHandler[_0x477d('0x798')][_0x477d('0x330c')]=!0x0;mxVertexHandler[_0x477d('0x798')][_0x477d('0x330d')]=null;mxVertexHandler[_0x477d('0x798')][_0x477d('0x30ba')]=0x0;mxVertexHandler[_0x477d('0x798')][_0x477d('0x3275')]=!0x1;mxVertexHandler[_0x477d('0x798')][_0x477d('0x330e')]=!0x0;mxVertexHandler[_0x477d('0x798')][_0x477d('0x5ee')]=function(){this[_0x477d('0x2c83')]=this['state'][_0x477d('0x1672')][_0x477d('0x2c83')];this[_0x477d('0x330f')]=this['getSelectionBounds'](this['state']);this[_0x477d('0x2db9')]=new mxRectangle(this[_0x477d('0x330f')]['x'],this[_0x477d('0x330f')]['y'],this[_0x477d('0x330f')][_0x477d('0x4ef')],this[_0x477d('0x330f')][_0x477d('0x504')]);this[_0x477d('0x322b')]=this[_0x477d('0x3310')](this['bounds']);this['selectionBorder'][_0x477d('0x2d93')]=this[_0x477d('0x2c83')][_0x477d('0x2d93')]!=mxConstants['DIALECT_SVG']?mxConstants[_0x477d('0x2d95')]:mxConstants[_0x477d('0x2a7a')];this[_0x477d('0x322b')][_0x477d('0x2ca8')]=!0x1;this['selectionBorder'][_0x477d('0x5ee')](this['graph'][_0x477d('0x29d4')]()[_0x477d('0x2d94')]());this[_0x477d('0x2c83')][_0x477d('0x2ec0')](this[_0x477d('0xe')][_0x477d('0x29d5')])&&(this[_0x477d('0x322b')][_0x477d('0x584')][_0x477d('0x457')][_0x477d('0x29e4')]=mxConstants[_0x477d('0x3311')]);mxEvent['redirectMouseEvents'](this['selectionBorder']['node'],this[_0x477d('0x2c83')],this[_0x477d('0xe')]);if(0x0>=mxGraphHandler['prototype'][_0x477d('0x3312')]||this[_0x477d('0x2c83')][_0x477d('0x320b')]()this[_0x477d('0xe')][_0x477d('0x4ef')]&&0x2>this['state']['height'])&&(this['labelShape']=this['createSizer'](mxConstants[_0x477d('0x3311')],null,null,mxConstants[_0x477d('0x331b')]),this[_0x477d('0x3313')][_0x477d('0x3a7')](this[_0x477d('0x331c')]));}if(this[_0x477d('0x3275')]&&(0x0>=mxGraphHandler[_0x477d('0x798')]['maxCells']||this['graph']['getSelectionCount']()_0x4bafec?0xb4:0x0;0x0<_0x518a9c&&(this[_0x477d('0x332b')]-=0xb4);this['rotationRaster']&&(_0x518a9c=_0x4cf2a2['x']-this[_0x477d('0xe')]['getCenterX'](),_0x4bafec=_0x4cf2a2['y']-this[_0x477d('0xe')][_0x477d('0x2a55')](),_0x518a9c=Math[_0x477d('0x2a42')](Math[_0x477d('0x2a44')](_0x518a9c*_0x518a9c+_0x4bafec*_0x4bafec)-this['state'][_0x477d('0x504')]/0x2-0x14),_0x518a9c=Math['max'](0x1,0x5*Math[_0x477d('0x4fa')](0x3,Math[_0x477d('0x13fc')](0x0,Math['round'](0x50/Math[_0x477d('0x2a42')](_0x518a9c))))),this[_0x477d('0x332b')]=Math['round'](this[_0x477d('0x332b')]/_0x518a9c)*_0x518a9c);this[_0x477d('0x322b')]['rotation']=this[_0x477d('0x332b')];this[_0x477d('0x322b')][_0x477d('0x2d97')]();}else{var _0x1af97d=mxUtils[_0x477d('0x2a48')](this['state'][_0x477d('0x457')][mxConstants['STYLE_ROTATION']]||'0'),_0x2fc674=Math[_0x477d('0x2a47')](-_0x1af97d),_0x53f16b=Math[_0x477d('0x2a43')](-_0x1af97d),_0xcf10e2=new mxPoint(this[_0x477d('0xe')][_0x477d('0x29d1')](),this[_0x477d('0xe')][_0x477d('0x2a55')]()),_0x518a9c=_0x4cf2a2['x']-this['startX'],_0x4bafec=_0x4cf2a2['y']-this[_0x477d('0x3236')],_0x4cf2a2=this[_0x477d('0x2c83')]['view']['translate'],_0x2a4515=_0x53f16b*_0x518a9c+_0x2fc674*_0x4bafec,_0x518a9c=_0x2fc674*_0x518a9c-_0x53f16b*_0x4bafec;this['bounds']=this[_0x477d('0x21a8')](this[_0x477d('0x330f')],_0x518a9c,_0x2a4515,this[_0x477d('0x2f5a')],_0x34747e,_0x4370e4,_0x4cf2a2);_0x2fc674=Math[_0x477d('0x2a47')](_0x1af97d);_0x53f16b=Math['sin'](_0x1af97d);_0x4bafec=new mxPoint(this[_0x477d('0x2db9')][_0x477d('0x29d1')](),this[_0x477d('0x2db9')][_0x477d('0x2a55')]());_0x518a9c=_0x4bafec['x']-_0xcf10e2['x'];_0x4bafec=_0x4bafec['y']-_0xcf10e2['y'];_0xcf10e2=_0x53f16b*_0x518a9c+_0x2fc674*_0x4bafec-_0x4bafec;this[_0x477d('0x2db9')]['x']+=_0x2fc674*_0x518a9c-_0x53f16b*_0x4bafec-_0x518a9c;this['bounds']['y']+=_0xcf10e2;this[_0x477d('0x32f2')]();}_0x46a498[_0x477d('0x2b15')]();}else null!=this[_0x477d('0x3327')](_0x46a498)&&_0x46a498['consume'](!0x1);};mxVertexHandler['prototype'][_0x477d('0x2bec')]=function(_0x1c8510,_0x5ace7b){if(!_0x5ace7b[_0x477d('0x2b14')]()&&null!=this[_0x477d('0x2f5a')]&&null!=this[_0x477d('0xe')]){var _0x17d285=new mxPoint(_0x5ace7b['getGraphX'](),_0x5ace7b[_0x477d('0x311b')]());this['graph'][_0x477d('0x2a75')]()['beginUpdate']();try{if(this[_0x477d('0x2f5a')]==mxEvent[_0x477d('0x3328')])null!=this[_0x477d('0x332b')]&&this[_0x477d('0x332d')](this['state'][_0x477d('0x29d5')],this[_0x477d('0x332b')]-(this[_0x477d('0xe')]['style'][mxConstants[_0x477d('0x2de3')]]||0x0));else{var _0x1495d9=this[_0x477d('0x2c83')][_0x477d('0x3289')](_0x5ace7b[_0x477d('0x2b19')]()),_0x581ece=mxUtils[_0x477d('0x2a48')](this['state'][_0x477d('0x457')][mxConstants[_0x477d('0x2de3')]]||'0'),_0xb872aa=Math[_0x477d('0x2a47')](-_0x581ece),_0x4dda7b=Math[_0x477d('0x2a43')](-_0x581ece),_0x3dfce7=_0x17d285['x']-this[_0x477d('0x3235')],_0x47f3fc=_0x17d285['y']-this[_0x477d('0x3236')],_0x17d285=_0x4dda7b*_0x3dfce7+_0xb872aa*_0x47f3fc,_0x3dfce7=_0xb872aa*_0x3dfce7-_0x4dda7b*_0x47f3fc,_0x47f3fc=_0x17d285,_0x54e8f3=this['graph']['view'][_0x477d('0x29d8')];this[_0x477d('0x3164')](this[_0x477d('0xe')][_0x477d('0x29d5')],_0x3dfce7/_0x54e8f3,_0x47f3fc/_0x54e8f3,this[_0x477d('0x2f5a')],_0x1495d9);}}finally{this[_0x477d('0x2c83')][_0x477d('0x2a75')]()[_0x477d('0x2a67')]();}this[_0x477d('0x18b0')]();_0x5ace7b['consume']();}};mxVertexHandler[_0x477d('0x798')][_0x477d('0x332d')]=function(_0x2ba069,_0x3fc62a){var _0x150274=this['graph']['getModel']();if(_0x150274[_0x477d('0x2e5a')](_0x2ba069)){var _0x127c8e=_0x2ba069==this[_0x477d('0xe')]?this[_0x477d('0xe')]:this[_0x477d('0x2c83')][_0x477d('0x1672')][_0x477d('0x29df')](_0x2ba069);null!=_0x127c8e&&this[_0x477d('0x2c83')][_0x477d('0x2e5d')](mxConstants[_0x477d('0x2de3')],(_0x127c8e['style'][mxConstants[_0x477d('0x2de3')]]||0x0)+_0x3fc62a,[_0x2ba069]);if(this['state'][_0x477d('0x29d5')]!=_0x2ba069&&(_0x127c8e=this[_0x477d('0x2c83')]['getCellGeometry'](_0x2ba069),null!=_0x127c8e&&!_0x127c8e['relative']))if(0x0!=_0x3fc62a){var _0x526506=this['graph'][_0x477d('0x2a75')]()['getParent'](_0x2ba069),_0x2c14c0=this['graph']['getCellGeometry'](_0x526506);if(!_0x127c8e[_0x477d('0x2d7f')]&&null!=_0x2c14c0){var _0x458a41=mxUtils[_0x477d('0x2a48')](_0x3fc62a),_0x526506=Math[_0x477d('0x2a47')](_0x458a41),_0x458a41=Math[_0x477d('0x2a43')](_0x458a41),_0x16e545=new mxPoint(_0x127c8e[_0x477d('0x29d1')](),_0x127c8e[_0x477d('0x2a55')]()),_0x2c14c0=new mxPoint(_0x2c14c0[_0x477d('0x4ef')]/0x2,_0x2c14c0[_0x477d('0x504')]/0x2),_0x526506=mxUtils['getRotatedPoint'](_0x16e545,_0x526506,_0x458a41,_0x2c14c0),_0x127c8e=_0x127c8e[_0x477d('0x117f')]();_0x127c8e['x']=_0x526506['x']-_0x127c8e[_0x477d('0x4ef')]/0x2;_0x127c8e['y']=_0x526506['y']-_0x127c8e['height']/0x2;_0x150274[_0x477d('0x2e65')](_0x2ba069,_0x127c8e);}}else _0x127c8e=_0x127c8e[_0x477d('0x117f')](),_0x127c8e['x']+=dx,_0x127c8e['y']+=dy,_0x150274[_0x477d('0x2e65')](_0x2ba069,_0x127c8e);_0x127c8e=_0x150274[_0x477d('0x2c42')](_0x2ba069);for(_0x526506=0x0;_0x526506<_0x127c8e;_0x526506++)this[_0x477d('0x332d')](_0x150274['getChildAt'](_0x2ba069,_0x526506),_0x3fc62a);}};mxVertexHandler[_0x477d('0x798')]['reset']=function(){this[_0x477d('0x2f5a')]=this[_0x477d('0x332b')]=null;null!=this[_0x477d('0xe9b')]&&(this[_0x477d('0xe9b')][_0x477d('0x2a81')](),this[_0x477d('0xe9b')]=null);null!=this[_0x477d('0x322b')]&&(this[_0x477d('0x322b')]['node'][_0x477d('0x457')][_0x477d('0x6c2')]=_0x477d('0x2a72'),this[_0x477d('0x330f')]=this['getSelectionBounds'](this['state']),this[_0x477d('0x2db9')]=new mxRectangle(this[_0x477d('0x330f')]['x'],this[_0x477d('0x330f')]['y'],this[_0x477d('0x330f')][_0x477d('0x4ef')],this['selectionBounds'][_0x477d('0x504')]),this['drawPreview']());};mxVertexHandler[_0x477d('0x798')]['resizeCell']=function(_0x42a268,_0x63d7a4,_0x1357df,_0x46b075,_0x4c7576){var _0x5aa17f=this[_0x477d('0x2c83')]['model'][_0x477d('0x2e62')](_0x42a268);if(null!=_0x5aa17f)if(_0x46b075==mxEvent['LABEL_HANDLE'])_0x46b075=this['graph'][_0x477d('0x1672')][_0x477d('0x29d8')],_0x63d7a4=(this[_0x477d('0x331c')]['bounds'][_0x477d('0x29d1')]()-this['startX'])/_0x46b075,_0x1357df=(this['labelShape'][_0x477d('0x2db9')][_0x477d('0x2a55')]()-this['startY'])/_0x46b075,_0x5aa17f=_0x5aa17f[_0x477d('0x117f')](),null==_0x5aa17f[_0x477d('0x91c')]?_0x5aa17f[_0x477d('0x91c')]=new mxPoint(_0x63d7a4,_0x1357df):(_0x5aa17f[_0x477d('0x91c')]['x']+=_0x63d7a4,_0x5aa17f[_0x477d('0x91c')]['y']+=_0x1357df),this[_0x477d('0x2c83')][_0x477d('0x44e')]['setGeometry'](_0x42a268,_0x5aa17f);else{_0x46b075=this[_0x477d('0x21a8')](_0x5aa17f,_0x63d7a4,_0x1357df,_0x46b075,_0x4c7576,0x1,new mxPoint(0x0,0x0));var _0x5d3ca4=mxUtils[_0x477d('0x2a48')](this[_0x477d('0xe')]['style'][mxConstants[_0x477d('0x2de3')]]||'0');if(0x0!=_0x5d3ca4){_0x63d7a4=_0x46b075[_0x477d('0x29d1')]()-_0x5aa17f['getCenterX']();_0x1357df=_0x46b075[_0x477d('0x2a55')]()-_0x5aa17f[_0x477d('0x2a55')]();_0x4c7576=Math[_0x477d('0x2a47')](_0x5d3ca4);var _0x3b07b5=Math[_0x477d('0x2a43')](_0x5d3ca4),_0x5d3ca4=_0x4c7576*_0x63d7a4-_0x3b07b5*_0x1357df-_0x63d7a4;_0x63d7a4=_0x3b07b5*_0x63d7a4+_0x4c7576*_0x1357df-_0x1357df;_0x1357df=_0x46b075['x']-_0x5aa17f['x'];var _0x47c7aa=_0x46b075['y']-_0x5aa17f['y'],_0x3be95c=_0x4c7576*_0x1357df-_0x3b07b5*_0x47c7aa;_0x4c7576=_0x3b07b5*_0x1357df+_0x4c7576*_0x47c7aa;_0x46b075['x']+=_0x5d3ca4;_0x46b075['y']+=_0x63d7a4;if(!this[_0x477d('0x2c83')][_0x477d('0x2e74')](_0x42a268)&&(0x0!=_0x5d3ca4||0x0!=_0x63d7a4))_0x1357df=_0x5aa17f['x']-_0x46b075['x']+_0x3be95c,_0x47c7aa=_0x5aa17f['y']-_0x46b075['y']+_0x4c7576,this[_0x477d('0x332e')](_0x42a268,_0x1357df,_0x47c7aa);}this['graph'][_0x477d('0x3164')](_0x42a268,_0x46b075);}};mxVertexHandler['prototype'][_0x477d('0x332e')]=function(_0x4b8f06,_0x3cd2f0,_0x5b557b){for(var _0x22e273=this['graph'][_0x477d('0x2a75')](),_0xca8cbe=_0x22e273['getChildCount'](_0x4b8f06),_0xf6e129=0x0;_0xf6e129<_0xca8cbe;_0xf6e129++){var _0x4c05a1=_0x22e273[_0x477d('0x29de')](_0x4b8f06,_0xf6e129);if(_0x22e273[_0x477d('0x2e5a')](_0x4c05a1)){var _0x170572=this[_0x477d('0x2c83')]['getCellGeometry'](_0x4c05a1);null!=_0x170572&&!_0x170572[_0x477d('0x2d7f')]&&(_0x170572=_0x170572[_0x477d('0x117f')](),_0x170572['x']+=_0x3cd2f0,_0x170572['y']+=_0x5b557b,_0x22e273['setGeometry'](_0x4c05a1,_0x170572));}}};mxVertexHandler[_0x477d('0x798')]['union']=function(_0x191c9c,_0x3d8323,_0x3c4a14,_0x4fd618,_0x3a0929,_0x58de16,_0x470530){if(this['singleSizer']){_0x470530=_0x191c9c['x']+_0x191c9c[_0x477d('0x4ef')]+_0x3d8323;var _0x5bd2c6=_0x191c9c['y']+_0x191c9c[_0x477d('0x504')]+_0x3c4a14;_0x3a0929&&(_0x470530=this[_0x477d('0x2c83')]['snap'](_0x470530/_0x58de16)*_0x58de16,_0x5bd2c6=this[_0x477d('0x2c83')]['snap'](_0x5bd2c6/_0x58de16)*_0x58de16);_0x58de16=new mxRectangle(_0x191c9c['x'],_0x191c9c['y'],0x0,0x0);_0x58de16['add'](new mxRectangle(_0x470530,_0x5bd2c6,0x0,0x0));return _0x58de16;}var _0x5bd2c6=_0x191c9c['x']-_0x470530['x']*_0x58de16,_0x325cf7=_0x5bd2c6+_0x191c9c[_0x477d('0x4ef')],_0x3dc292=_0x191c9c['y']-_0x470530['y']*_0x58de16;_0x191c9c=_0x3dc292+_0x191c9c['height'];0x4<_0x4fd618?(_0x191c9c+=_0x3c4a14,_0x3a0929&&(_0x191c9c=this[_0x477d('0x2c83')][_0x477d('0x2bf3')](_0x191c9c/_0x58de16)*_0x58de16)):0x3>_0x4fd618&&(_0x3dc292+=_0x3c4a14,_0x3a0929&&(_0x3dc292=this['graph']['snap'](_0x3dc292/_0x58de16)*_0x58de16));if(0x0==_0x4fd618||0x3==_0x4fd618||0x5==_0x4fd618)_0x5bd2c6+=_0x3d8323,_0x3a0929&&(_0x5bd2c6=this[_0x477d('0x2c83')]['snap'](_0x5bd2c6/_0x58de16)*_0x58de16);else if(0x2==_0x4fd618||0x4==_0x4fd618||0x7==_0x4fd618)_0x325cf7+=_0x3d8323,_0x3a0929&&(_0x325cf7=this[_0x477d('0x2c83')][_0x477d('0x2bf3')](_0x325cf7/_0x58de16)*_0x58de16);_0x3a0929=_0x325cf7-_0x5bd2c6;_0x191c9c-=_0x3dc292;0x0>_0x3a0929&&(_0x5bd2c6+=_0x3a0929,_0x3a0929=Math[_0x477d('0x2a42')](_0x3a0929));0x0>_0x191c9c&&(_0x3dc292+=_0x191c9c,_0x191c9c=Math[_0x477d('0x2a42')](_0x191c9c));return new mxRectangle(_0x5bd2c6+_0x470530['x']*_0x58de16,_0x3dc292+_0x470530['y']*_0x58de16,_0x3a0929,_0x191c9c);};mxVertexHandler[_0x477d('0x798')]['redraw']=function(){this[_0x477d('0x330f')]=this[_0x477d('0x332f')](this[_0x477d('0xe')]);this[_0x477d('0x2db9')]=new mxRectangle(this[_0x477d('0xe')]['x'],this[_0x477d('0xe')]['y'],this['state'][_0x477d('0x4ef')],this['state'][_0x477d('0x504')]);var _0x4864d8=this['state'];if(null!=this[_0x477d('0x3313')]){var _0x4a21c5=_0x4864d8['x']+_0x4864d8[_0x477d('0x4ef')],_0x483dad=_0x4864d8['y']+_0x4864d8[_0x477d('0x504')];if(this[_0x477d('0x330b')])this[_0x477d('0x332a')](this['sizers'][0x0],_0x4a21c5,_0x483dad);else{var _0x28b4e2=_0x4864d8['x']+_0x4864d8[_0x477d('0x4ef')]/0x2,_0x1276b8=_0x4864d8['y']+_0x4864d8['height']/0x2;if(0x1=mxGraphHandler[_0x477d('0x798')][_0x477d('0x3312')])this[_0x477d('0x3330')]=this[_0x477d('0x3337')]();this[_0x477d('0x93e')]=new mxPoint(this['state'][_0x477d('0x2fa7')]['x'],this[_0x477d('0xe')][_0x477d('0x2fa7')]['y']);this[_0x477d('0x331c')]=new mxRectangleShape(new mxRectangle(),mxConstants['LABEL_HANDLE_FILLCOLOR'],mxConstants['HANDLE_STROKECOLOR']);this['labelShape']['pointerEvents']=!0x1;this[_0x477d('0x3338')](this[_0x477d('0x331c')]);this[_0x477d('0x331c')][_0x477d('0x584')]['style'][_0x477d('0x29e4')]=mxConstants[_0x477d('0x3319')];mxEvent[_0x477d('0x322e')](this[_0x477d('0x331c')]['node'],this[_0x477d('0x2c83')],this[_0x477d('0xe')]);this['redraw']();};mxEdgeHandler[_0x477d('0x798')][_0x477d('0x3335')]=function(_0x2fbf92){return mxEvent[_0x477d('0x2b3d')](_0x2fbf92);};mxEdgeHandler[_0x477d('0x798')][_0x477d('0x3339')]=function(_0x31c03f){return mxEvent[_0x477d('0x2b3d')](_0x31c03f);};mxEdgeHandler[_0x477d('0x798')]['getSelectionPoints']=function(_0x201707){return _0x201707[_0x477d('0x2a53')];};mxEdgeHandler[_0x477d('0x798')][_0x477d('0x3310')]=function(_0x6986de){_0x6986de=new mxPolyline(_0x6986de,this[_0x477d('0x331f')]());_0x6986de[_0x477d('0x2d9b')]=this[_0x477d('0x3321')]();_0x6986de[_0x477d('0x2d90')]=this[_0x477d('0x3320')]();return _0x6986de;};mxEdgeHandler[_0x477d('0x798')]['getSelectionColor']=function(){return mxConstants['EDGE_SELECTION_COLOR'];};mxEdgeHandler['prototype'][_0x477d('0x3321')]=function(){return mxConstants[_0x477d('0x333a')];};mxEdgeHandler[_0x477d('0x798')][_0x477d('0x3320')]=function(){return mxConstants[_0x477d('0x333b')];};mxEdgeHandler[_0x477d('0x798')]['isConnectableCell']=function(_0x9225f1){return!0x0;};mxEdgeHandler[_0x477d('0x798')][_0x477d('0x2e42')]=function(){var _0x4dcd96=new mxCellMarker(this[_0x477d('0x2c83')]),_0x4eca58=this;_0x4dcd96[_0x477d('0x2f36')]=function(_0x3d4530){var _0x3864f5=mxCellMarker[_0x477d('0x798')]['getCell']['apply'](this,arguments);if(!_0x4eca58[_0x477d('0x32d4')](_0x3864f5))return null;var _0x5df5e4=_0x4eca58[_0x477d('0x2c83')][_0x477d('0x2a75')]();if(_0x3864f5==_0x4eca58['state']['cell']||null!=_0x3864f5&&!_0x4eca58[_0x477d('0x2c83')][_0x477d('0x30e5')]&&_0x5df5e4['isEdge'](_0x3864f5))_0x3864f5=null;return _0x3864f5;};_0x4dcd96[_0x477d('0x32d7')]=function(_0x34a6b0){var _0x5dd493=_0x4eca58[_0x477d('0x2c83')][_0x477d('0x2a75')](),_0x5dd493=_0x4eca58[_0x477d('0x2c83')][_0x477d('0x1672')][_0x477d('0x3086')](_0x34a6b0,_0x4eca58['graph'][_0x477d('0x1672')]['getState'](_0x5dd493['getTerminal'](_0x4eca58[_0x477d('0xe')][_0x477d('0x29d5')],!_0x4eca58[_0x477d('0x2b1b')])),!_0x4eca58[_0x477d('0x2b1b')]),_0x5dd493=null!=_0x5dd493?_0x5dd493[_0x477d('0x29d5')]:null;_0x4eca58[_0x477d('0x44a')]=_0x4eca58[_0x477d('0x32d6')](_0x4eca58[_0x477d('0x2b1b')]?_0x34a6b0[_0x477d('0x29d5')]:_0x5dd493,_0x4eca58[_0x477d('0x2b1b')]?_0x5dd493:_0x34a6b0['cell']);return null==_0x4eca58[_0x477d('0x44a')];};return _0x4dcd96;};mxEdgeHandler[_0x477d('0x798')]['validateConnection']=function(_0x2dc044,_0x500185){return this[_0x477d('0x2c83')][_0x477d('0x3148')](this[_0x477d('0xe')][_0x477d('0x29d5')],_0x2dc044,_0x500185);};mxEdgeHandler['prototype']['createBends']=function(){for(var _0x440d09=this[_0x477d('0xe')]['cell'],_0x251000=[],_0x5b5982=0x0;_0x5b5982_0x4a0d9e&&(_0x51e553-=_0x51e553+_0x1e1eee-_0x4a0d9e);_0x4a0d9e=_0x161015['y']+_0x161015[_0x477d('0x504')];_0x3bcaeb+_0x4f3496>_0x4a0d9e&&(_0x3bcaeb-=_0x3bcaeb+_0x4f3496-_0x4a0d9e);}}else null!=_0x1e1eee&&(_0x51e553-=_0x1e1eee['x']*_0x2d0d9d,_0x3bcaeb-=_0x1e1eee['y']*_0x2d0d9d);}}_0x6679a7=_0x6679a7[_0x477d('0x117f')]();_0x6679a7['x']=this[_0x477d('0x2c83')]['snap'](_0x51e553/_0x2d0d9d-this[_0x477d('0x2c83')][_0x477d('0x29d4')]()[_0x477d('0x454')]['x']-this['graph'][_0x477d('0x2bf2')]/0x2);_0x6679a7['y']=this[_0x477d('0x2c83')][_0x477d('0x2bf3')](_0x3bcaeb/_0x2d0d9d-this['graph']['getView']()[_0x477d('0x454')]['y']-this[_0x477d('0x2c83')]['gridSize']/0x2);_0x15c341['setGeometry'](_0x6679a7);null==_0x29eeb2&&(_0x29eeb2=this[_0x477d('0x2c83')][_0x477d('0x3147')]());this[_0x477d('0x33fb')](_0x15c341);this[_0x477d('0x2b26')](new mxEventObject(mxEvent[_0x477d('0x33ff')],'vertex',_0x15c341,_0x477d('0x374'),_0x29eeb2));_0x41706d['beginUpdate']();try{_0x15c341=this[_0x477d('0x2c83')][_0x477d('0x2fbb')](_0x15c341,_0x29eeb2),null!=_0x15c341&&(this[_0x477d('0x2c83')][_0x477d('0x3151')](_0x15c341),this[_0x477d('0x2b26')](new mxEventObject(mxEvent[_0x477d('0x3400')],_0x477d('0x2f5d'),_0x15c341)));}finally{_0x41706d[_0x477d('0x2a67')]();}null!=_0x15c341&&(this[_0x477d('0x2c83')][_0x477d('0x3110')](_0x15c341),this[_0x477d('0x2c83')][_0x477d('0x3193')](_0x15c341),this[_0x477d('0x2b26')](new mxEventObject(mxEvent[_0x477d('0x3401')],_0x477d('0x2f5d'),_0x15c341)));return _0x15c341;};mxEditor[_0x477d('0x798')]['destroy']=function(){this['destroyed']||(this['destroyed']=!0x0,null!=this['tasks']&&this[_0x477d('0x3394')][_0x477d('0x2a81')](),null!=this[_0x477d('0x2fd7')]&&this['outline']['destroy'](),null!=this[_0x477d('0x901')]&&this['properties'][_0x477d('0x2a81')](),null!=this[_0x477d('0x3397')]&&this[_0x477d('0x3397')][_0x477d('0x2a81')](),null!=this[_0x477d('0x33d8')]&&this[_0x477d('0x33d8')]['destroy'](),null!=this[_0x477d('0x337b')]&&this[_0x477d('0x337b')]['destroy'](),null!=this['graph']&&this[_0x477d('0x2c83')][_0x477d('0x2a81')](),this[_0x477d('0xf34')]=this[_0x477d('0x3c3')]=null);};var mxCodecRegistry={'codecs':[],'aliases':[],'register':function(_0x114e1e){if(null!=_0x114e1e){var _0x4090b3=_0x114e1e['getName']();mxCodecRegistry[_0x477d('0x3402')][_0x4090b3]=_0x114e1e;var _0x30949d=mxUtils[_0x477d('0x2a3f')](_0x114e1e[_0x477d('0xbb2')][_0x477d('0x29c3')]);_0x30949d!=_0x4090b3&&mxCodecRegistry[_0x477d('0x3403')](_0x30949d,_0x4090b3);}return _0x114e1e;},'addAlias':function(_0x5544c6,_0x11f745){mxCodecRegistry[_0x477d('0x3404')][_0x5544c6]=_0x11f745;},'getCodec':function(_0x4d8151){var _0x17c1df=null;if(null!=_0x4d8151){var _0x17c1df=mxUtils['getFunctionName'](_0x4d8151),_0x1fcebe=mxCodecRegistry[_0x477d('0x3404')][_0x17c1df];null!=_0x1fcebe&&(_0x17c1df=_0x1fcebe);_0x17c1df=mxCodecRegistry[_0x477d('0x3402')][_0x17c1df];if(null==_0x17c1df)try{_0x17c1df=new mxObjectCodec(new _0x4d8151()),mxCodecRegistry[_0x477d('0x611')](_0x17c1df);}catch(_0x220da9){}}return _0x17c1df;}};function mxCodec(_0x44bf3b){this['document']=_0x44bf3b||mxUtils['createXmlDocument']();this['objects']=[];}mxCodec[_0x477d('0x798')][_0x477d('0x945')]=null;mxCodec[_0x477d('0x798')][_0x477d('0x2b27')]=null;mxCodec['prototype'][_0x477d('0x3405')]=!0x1;mxCodec[_0x477d('0x798')][_0x477d('0x2c40')]=function(_0x2ada97,_0x505056){return this[_0x477d('0x2b27')][_0x2ada97]=_0x505056;};mxCodec[_0x477d('0x798')][_0x477d('0x9f5')]=function(_0x27b5ef){var _0xe0ca49=null;null!=_0x27b5ef&&(_0xe0ca49=this[_0x477d('0x2b27')][_0x27b5ef],null==_0xe0ca49&&(_0xe0ca49=this[_0x477d('0x3406')](_0x27b5ef),null==_0xe0ca49&&(_0x27b5ef=this['getElementById'](_0x27b5ef),null!=_0x27b5ef&&(_0xe0ca49=this[_0x477d('0x2c31')](_0x27b5ef)))));return _0xe0ca49;};mxCodec['prototype'][_0x477d('0x3406')]=function(_0x1dfe95){return null;};mxCodec['prototype']['getElementById']=function(_0x1de52a,_0x51ab99){return mxUtils[_0x477d('0x29ee')](this[_0x477d('0x945')][_0x477d('0x29ad')],null!=_0x51ab99?_0x51ab99:'id',_0x1de52a);};mxCodec[_0x477d('0x798')][_0x477d('0x2c41')]=function(_0x327ddf){var _0x26a475=null;null!=_0x327ddf&&(_0x26a475=this[_0x477d('0x3407')](_0x327ddf),null==_0x26a475&&_0x327ddf instanceof mxCell&&(_0x26a475=_0x327ddf[_0x477d('0x2c41')](),null==_0x26a475&&(_0x26a475=mxCellPath[_0x477d('0x2a62')](_0x327ddf),0x0==_0x26a475[_0x477d('0x79')]&&(_0x26a475=_0x477d('0x56f')))));return _0x26a475;};mxCodec['prototype'][_0x477d('0x3407')]=function(_0x544834){return null;};mxCodec[_0x477d('0x798')]['encode']=function(_0xf8f45d){var _0x4c5bd4=null;if(null!=_0xf8f45d&&null!=_0xf8f45d[_0x477d('0x29c3')]){var _0x5629b4=mxCodecRegistry[_0x477d('0x3408')](_0xf8f45d['constructor']);null!=_0x5629b4?_0x4c5bd4=_0x5629b4[_0x477d('0x2a80')](this,_0xf8f45d):mxUtils[_0x477d('0x2cfb')](_0xf8f45d)?_0x4c5bd4=mxClient[_0x477d('0x2984')]?_0xf8f45d[_0x477d('0x2a7e')](!0x0):this[_0x477d('0x945')]['importNode'](_0xf8f45d,!0x0):mxLog['warn'](_0x477d('0x3409')+mxUtils['getFunctionName'](_0xf8f45d[_0x477d('0x29c3')]));}return _0x4c5bd4;};mxCodec[_0x477d('0x798')]['decode']=function(_0x3c0e30,_0x408488){var _0x2c3142=null;if(null!=_0x3c0e30&&_0x3c0e30['nodeType']==mxConstants['NODETYPE_ELEMENT']){var _0x583236=null;try{_0x583236=eval(_0x3c0e30['nodeName']);}catch(_0x1d6fb5){}try{var _0x263e40=mxCodecRegistry[_0x477d('0x3408')](_0x583236);null!=_0x263e40?_0x2c3142=_0x263e40['decode'](this,_0x3c0e30,_0x408488):(_0x2c3142=_0x3c0e30[_0x477d('0x2a7e')](!0x0),_0x2c3142[_0x477d('0x2dcb')]('as'));}catch(_0x38d42c){mxLog[_0x477d('0x618')](_0x477d('0x340a')+_0x3c0e30[_0x477d('0x2a01')]+':\x20'+_0x38d42c[_0x477d('0x452')]);}}return _0x2c3142;};mxCodec[_0x477d('0x798')][_0x477d('0x340b')]=function(_0x1af693,_0xd85af6,_0x36904f){_0xd85af6[_0x477d('0xd8f')](this[_0x477d('0x2a80')](_0x1af693));if(null==_0x36904f||_0x36904f){_0x36904f=_0x1af693['getChildCount']();for(var _0x4f8d42=0x0;_0x4f8d42<_0x36904f;_0x4f8d42++)this[_0x477d('0x340b')](_0x1af693['getChildAt'](_0x4f8d42),_0xd85af6);}};mxCodec[_0x477d('0x798')]['isCellCodec']=function(_0x3f0ea7){return null!=_0x3f0ea7&&'function'==typeof _0x3f0ea7['isCellCodec']?_0x3f0ea7[_0x477d('0x340c')]():!0x1;};mxCodec[_0x477d('0x798')][_0x477d('0x340d')]=function(_0xcf2c05,_0x245c8e){_0x245c8e=null!=_0x245c8e?_0x245c8e:!0x0;var _0x1b7aa1=null;if(null!=_0xcf2c05&&_0xcf2c05[_0x477d('0x51a')]==mxConstants[_0x477d('0x29ed')]){_0x1b7aa1=mxCodecRegistry[_0x477d('0x3408')](_0xcf2c05['nodeName']);if(!this[_0x477d('0x340c')](_0x1b7aa1))for(var _0x4ea997=_0xcf2c05['firstChild'];null!=_0x4ea997&&!this[_0x477d('0x340c')](_0x1b7aa1);)_0x1b7aa1=mxCodecRegistry[_0x477d('0x3408')](_0x4ea997['nodeName']),_0x4ea997=_0x4ea997['nextSibling'];this[_0x477d('0x340c')](_0x1b7aa1)||(_0x1b7aa1=mxCodecRegistry[_0x477d('0x3408')](mxCell));_0x1b7aa1=_0x1b7aa1['decode'](this,_0xcf2c05);_0x245c8e&&this[_0x477d('0x340e')](_0x1b7aa1);}return _0x1b7aa1;};mxCodec['prototype']['insertIntoGraph']=function(_0x27b815){var _0x37304d=_0x27b815[_0x477d('0x374')],_0xed9083=_0x27b815[_0x477d('0x2e5c')](!0x0),_0x578701=_0x27b815[_0x477d('0x2e5c')](!0x1);_0x27b815[_0x477d('0x2f40')](null,!0x1);_0x27b815[_0x477d('0x2f40')](null,!0x0);_0x27b815[_0x477d('0x374')]=null;null!=_0x37304d&&_0x37304d['insert'](_0x27b815);null!=_0xed9083&&_0xed9083[_0x477d('0x2f42')](_0x27b815,!0x0);null!=_0x578701&&_0x578701[_0x477d('0x2f42')](_0x27b815,!0x1);};mxCodec[_0x477d('0x798')][_0x477d('0x494')]=function(_0x56f3aa,_0x307a23,_0xfc896e){null!=_0x307a23&&null!=_0xfc896e&&_0x56f3aa[_0x477d('0x494')](_0x307a23,_0xfc896e);};function mxObjectCodec(_0x2c49d7,_0x347721,_0x1bb734,_0x1ab8de){this['template']=_0x2c49d7;this[_0x477d('0x340f')]=null!=_0x347721?_0x347721:[];this[_0x477d('0x3410')]=null!=_0x1bb734?_0x1bb734:[];this[_0x477d('0x3411')]=null!=_0x1ab8de?_0x1ab8de:[];this[_0x477d('0x3412')]={};for(var _0x1bfb96 in this[_0x477d('0x3411')])this['reverse'][this[_0x477d('0x3411')][_0x1bfb96]]=_0x1bfb96;}mxObjectCodec[_0x477d('0x798')]['template']=null;mxObjectCodec[_0x477d('0x798')][_0x477d('0x340f')]=null;mxObjectCodec[_0x477d('0x798')][_0x477d('0x3410')]=null;mxObjectCodec[_0x477d('0x798')][_0x477d('0x3411')]=null;mxObjectCodec['prototype']['reverse']=null;mxObjectCodec[_0x477d('0x798')][_0x477d('0x2b11')]=function(){return mxUtils[_0x477d('0x2a3f')](this[_0x477d('0xbb2')]['constructor']);};mxObjectCodec['prototype'][_0x477d('0x3413')]=function(){return new this['template'][(_0x477d('0x29c3'))]();};mxObjectCodec[_0x477d('0x798')][_0x477d('0x3414')]=function(_0x2a5e0d){if(null!=_0x2a5e0d){var _0x2d7725=this[_0x477d('0x3412')][_0x2a5e0d];null!=_0x2d7725&&(_0x2a5e0d=_0x2d7725);}return _0x2a5e0d;};mxObjectCodec[_0x477d('0x798')]['getAttributeName']=function(_0x307390){if(null!=_0x307390){var _0x1ed51c=this['mapping'][_0x307390];null!=_0x1ed51c&&(_0x307390=_0x1ed51c);}return _0x307390;};mxObjectCodec['prototype'][_0x477d('0x3415')]=function(_0x33b118,_0x13ab49,_0x4e516a,_0x3f0c96){return _0x13ab49==mxObjectIdentity[_0x477d('0x29c2')]||0x0<=mxUtils[_0x477d('0x477')](this[_0x477d('0x340f')],_0x13ab49);};mxObjectCodec[_0x477d('0x798')][_0x477d('0x3416')]=function(_0x23a30b,_0x52feb8,_0x24bf53,_0x3da755){return 0x0<=mxUtils[_0x477d('0x477')](this[_0x477d('0x3410')],_0x52feb8);};mxObjectCodec[_0x477d('0x798')][_0x477d('0x2a80')]=function(_0x2d3bb4,_0x1ba3b0){var _0x4585f3=_0x2d3bb4[_0x477d('0x945')][_0x477d('0x3c7')](this['getName']());_0x1ba3b0=this[_0x477d('0x3417')](_0x2d3bb4,_0x1ba3b0,_0x4585f3);this[_0x477d('0x3418')](_0x2d3bb4,_0x1ba3b0,_0x4585f3);return this[_0x477d('0x3419')](_0x2d3bb4,_0x1ba3b0,_0x4585f3);};mxObjectCodec['prototype'][_0x477d('0x3418')]=function(_0x25119f,_0x5b8c49,_0x98902f){_0x25119f[_0x477d('0x494')](_0x98902f,'id',_0x25119f[_0x477d('0x2c41')](_0x5b8c49));for(var _0x55783b in _0x5b8c49){var _0x3254da=_0x55783b,_0x4157d0=_0x5b8c49[_0x3254da];null!=_0x4157d0&&!this[_0x477d('0x3415')](_0x5b8c49,_0x3254da,_0x4157d0,!0x0)&&(mxUtils[_0x477d('0x2f37')](_0x3254da)&&(_0x3254da=null),this[_0x477d('0x341a')](_0x25119f,_0x5b8c49,_0x3254da,_0x4157d0,_0x98902f));}};mxObjectCodec[_0x477d('0x798')][_0x477d('0x341a')]=function(_0x9807fb,_0x705be1,_0x5d22dc,_0x1bb053,_0x1a81b3){if(null!=_0x1bb053){if(this['isReference'](_0x705be1,_0x5d22dc,_0x1bb053,!0x0)){var _0x1d0164=_0x9807fb['getId'](_0x1bb053);if(null==_0x1d0164){mxLog['warn'](_0x477d('0x341b')+this['getName']()+'.'+_0x5d22dc+'='+_0x1bb053);return;}_0x1bb053=_0x1d0164;}_0x1d0164=this[_0x477d('0xbb2')][_0x5d22dc];if(null==_0x5d22dc||_0x9807fb[_0x477d('0x3405')]||_0x1d0164!=_0x1bb053)_0x5d22dc=this['getAttributeName'](_0x5d22dc),this['writeAttribute'](_0x9807fb,_0x705be1,_0x5d22dc,_0x1bb053,_0x1a81b3);}};mxObjectCodec[_0x477d('0x798')]['writeAttribute']=function(_0x49e274,_0x8308e6,_0x1fc448,_0x932754,_0x525eb9){_0x477d('0x29f5')!=typeof _0x932754?this[_0x477d('0x341c')](_0x49e274,_0x8308e6,_0x1fc448,_0x932754,_0x525eb9):this[_0x477d('0x341d')](_0x49e274,_0x8308e6,_0x1fc448,_0x932754,_0x525eb9);};mxObjectCodec[_0x477d('0x798')][_0x477d('0x341c')]=function(_0x33b33d,_0x2ad9db,_0x29f68c,_0x557f8d,_0x4a73f2){_0x557f8d=this[_0x477d('0x341e')](_0x557f8d);null==_0x29f68c?(_0x2ad9db=_0x33b33d['document'][_0x477d('0x3c7')]('add'),_0x477d('0x799')==typeof _0x557f8d?_0x2ad9db['appendChild'](_0x33b33d['document'][_0x477d('0x2a10')](_0x557f8d)):_0x33b33d[_0x477d('0x494')](_0x2ad9db,_0x477d('0x3b6'),_0x557f8d),_0x4a73f2[_0x477d('0xd8f')](_0x2ad9db)):_0x477d('0x799')!=typeof _0x557f8d&&_0x33b33d['setAttribute'](_0x4a73f2,_0x29f68c,_0x557f8d);};mxObjectCodec['prototype']['writeComplexAttribute']=function(_0x2997dc,_0x522599,_0xc0d32d,_0x5e00a2,_0x5573ef){_0x2997dc=_0x2997dc[_0x477d('0x2a80')](_0x5e00a2);null!=_0x2997dc?(null!=_0xc0d32d&&_0x2997dc[_0x477d('0x494')]('as',_0xc0d32d),_0x5573ef['appendChild'](_0x2997dc)):mxLog[_0x477d('0x5f9')](_0x477d('0x341f')+this[_0x477d('0x2b11')]()+'.'+_0xc0d32d+':\x20'+_0x5e00a2);};mxObjectCodec[_0x477d('0x798')][_0x477d('0x341e')]=function(_0x2f463e){if(_0x477d('0x4a4')==typeof _0x2f463e[_0x477d('0x79')]&&(!0x0==_0x2f463e||!0x1==_0x2f463e))_0x2f463e=!0x0==_0x2f463e?'1':'0';return _0x2f463e;};mxObjectCodec[_0x477d('0x798')][_0x477d('0x3420')]=function(_0x13417e){mxUtils[_0x477d('0x2f37')](_0x13417e)&&(_0x13417e=parseFloat(_0x13417e));return _0x13417e;};mxObjectCodec[_0x477d('0x798')][_0x477d('0x3417')]=function(_0x53b744,_0x4088af,_0x59404e){return _0x4088af;};mxObjectCodec[_0x477d('0x798')][_0x477d('0x3419')]=function(_0x50c5ae,_0x1ebdd0,_0xb1699b){return _0xb1699b;};mxObjectCodec[_0x477d('0x798')][_0x477d('0x2c31')]=function(_0xbdd0f4,_0x1d32d9,_0x19a839){var _0x2cd118=_0x1d32d9['getAttribute']('id'),_0x43988e=_0xbdd0f4[_0x477d('0x2b27')][_0x2cd118];null==_0x43988e&&(_0x43988e=_0x19a839||this[_0x477d('0x3413')](),null!=_0x2cd118&&_0xbdd0f4[_0x477d('0x2c40')](_0x2cd118,_0x43988e));_0x1d32d9=this[_0x477d('0x3421')](_0xbdd0f4,_0x1d32d9,_0x43988e);this[_0x477d('0x3422')](_0xbdd0f4,_0x1d32d9,_0x43988e);return this[_0x477d('0x3423')](_0xbdd0f4,_0x1d32d9,_0x43988e);};mxObjectCodec[_0x477d('0x798')][_0x477d('0x3422')]=function(_0x3db896,_0x567c7b,_0x342e21){null!=_0x567c7b&&(this['decodeAttributes'](_0x3db896,_0x567c7b,_0x342e21),this[_0x477d('0x3424')](_0x3db896,_0x567c7b,_0x342e21));};mxObjectCodec['prototype'][_0x477d('0x3425')]=function(_0x3529a0,_0x3cdf6b,_0x2f3504){_0x3cdf6b=_0x3cdf6b['attributes'];if(null!=_0x3cdf6b)for(var _0x4387b0=0x0;_0x4387b0<_0x3cdf6b[_0x477d('0x79')];_0x4387b0++)this['decodeAttribute'](_0x3529a0,_0x3cdf6b[_0x4387b0],_0x2f3504);};mxObjectCodec[_0x477d('0x798')][_0x477d('0x3426')]=function(_0x5a4d8b,_0x3e326e,_0x233770){var _0xbd208f=_0x3e326e['nodeName'];if('as'!=_0xbd208f&&'id'!=_0xbd208f){_0x3e326e=_0xbd208f==_0x477d('0x3b6')?_0x3e326e[_0x477d('0x2a03')]:this[_0x477d('0x3420')](_0x3e326e['nodeValue']);var _0x5dee3d=this['getFieldName'](_0xbd208f);if(this[_0x477d('0x3416')](_0x233770,_0x5dee3d,_0x3e326e,!0x1)){_0x5a4d8b=_0x5a4d8b['getObject'](_0x3e326e);if(null==_0x5a4d8b){mxLog[_0x477d('0x5f9')](_0x477d('0x3427')+this[_0x477d('0x2b11')]()+'.'+_0xbd208f+'='+_0x3e326e);return;}_0x3e326e=_0x5a4d8b;}this['isExcluded'](_0x233770,_0xbd208f,_0x3e326e,!0x1)||(_0x233770[_0xbd208f]=_0x3e326e);}};mxObjectCodec['prototype'][_0x477d('0x3424')]=function(_0x205043,_0x4b32c4,_0x17c0e6){for(_0x4b32c4=_0x4b32c4[_0x477d('0x29ec')];null!=_0x4b32c4;){var _0x1ca658=_0x4b32c4[_0x477d('0x29ef')];_0x4b32c4['nodeType']==mxConstants['NODETYPE_ELEMENT']&&!this[_0x477d('0x3428')](_0x205043,_0x4b32c4,_0x17c0e6)&&this[_0x477d('0x3429')](_0x205043,_0x4b32c4,_0x17c0e6);_0x4b32c4=_0x1ca658;}};mxObjectCodec[_0x477d('0x798')][_0x477d('0x3429')]=function(_0x3f0084,_0x1a9e37,_0xb1ad25){var _0x222ba7=this[_0x477d('0x3414')](_0x1a9e37[_0x477d('0x29eb')]('as'));if(null==_0x222ba7||!this['isExcluded'](_0xb1ad25,_0x222ba7,_0x1a9e37,!0x1)){var _0x477dbb=this[_0x477d('0x342a')](_0xb1ad25,_0x222ba7,_0x1a9e37),_0x2fca09=null;_0x477d('0x440')==_0x1a9e37[_0x477d('0x2a01')]?(_0x2fca09=_0x1a9e37[_0x477d('0x29eb')](_0x477d('0x3b6')),null==_0x2fca09&&(_0x2fca09=mxUtils[_0x477d('0x2da4')](mxUtils[_0x477d('0x2a07')](_0x1a9e37)))):_0x2fca09=_0x3f0084[_0x477d('0x2c31')](_0x1a9e37,_0x477dbb);this[_0x477d('0x342b')](_0xb1ad25,_0x222ba7,_0x2fca09,_0x477dbb);}};mxObjectCodec[_0x477d('0x798')][_0x477d('0x342a')]=function(_0x1944c5,_0x5cd334,_0x2fcdd5){_0x1944c5=_0x1944c5[_0x5cd334];_0x1944c5 instanceof Array&&0x0<_0x1944c5[_0x477d('0x79')]&&(_0x1944c5=null);return _0x1944c5;};mxObjectCodec[_0x477d('0x798')][_0x477d('0x342b')]=function(_0x1f9541,_0xdf6626,_0x55689b,_0x5e6d7d){null!=_0x55689b&&_0x55689b!=_0x5e6d7d&&(null!=_0xdf6626&&0x0<_0xdf6626[_0x477d('0x79')]?_0x1f9541[_0xdf6626]=_0x55689b:_0x1f9541['push'](_0x55689b));};mxObjectCodec[_0x477d('0x798')][_0x477d('0x3428')]=function(_0x481fc6,_0x24beb2,_0x1982ab){if('include'==_0x24beb2[_0x477d('0x2a01')]){_0x24beb2=_0x24beb2[_0x477d('0x29eb')](_0x477d('0x94'));if(null!=_0x24beb2)try{var _0x2b0ec8=mxUtils[_0x477d('0x600')](_0x24beb2)[_0x477d('0x2b78')]();null!=_0x2b0ec8&&_0x481fc6['decode'](_0x2b0ec8,_0x1982ab);}catch(_0x19a315){}return!0x0;}return!0x1;};mxObjectCodec[_0x477d('0x798')]['beforeDecode']=function(_0x548673,_0x1178b6,_0x2b0034){return _0x1178b6;};mxObjectCodec[_0x477d('0x798')][_0x477d('0x3423')]=function(_0x4c1682,_0x5a8732,_0x8f5607){return _0x8f5607;};mxCodecRegistry[_0x477d('0x611')](function(){var _0x398436=new mxObjectCodec(new mxCell(),[_0x477d('0x53f'),_0x477d('0x2ed6'),_0x477d('0x2c9e'),_0x477d('0x2f5e')],[_0x477d('0x374'),_0x477d('0x2c3b'),_0x477d('0x378')]);_0x398436['isCellCodec']=function(){return!0x0;};_0x398436['isExcluded']=function(_0x217dba,_0x2879f1,_0x3e8443,_0x1b8825){return mxObjectCodec['prototype']['isExcluded']['apply'](this,arguments)||_0x1b8825&&_0x477d('0x3b6')==_0x2879f1&&_0x3e8443[_0x477d('0x51a')]==mxConstants[_0x477d('0x29ed')];};_0x398436[_0x477d('0x3419')]=function(_0x34c35a,_0x5ccc69,_0x1f385f){if(null!=_0x5ccc69['value']&&_0x5ccc69['value'][_0x477d('0x51a')]==mxConstants[_0x477d('0x29ed')]){var _0x5810d2=_0x1f385f;_0x1f385f=mxClient[_0x477d('0x2984')]?_0x5ccc69['value'][_0x477d('0x2a7e')](!0x0):_0x34c35a[_0x477d('0x945')][_0x477d('0x342c')](_0x5ccc69[_0x477d('0x3b6')],!0x0);_0x1f385f[_0x477d('0xd8f')](_0x5810d2);_0x34c35a=_0x5810d2['getAttribute']('id');_0x1f385f[_0x477d('0x494')]('id',_0x34c35a);_0x5810d2[_0x477d('0x2dcb')]('id');}return _0x1f385f;};_0x398436[_0x477d('0x3421')]=function(_0xf6810b,_0x4955d2,_0xf19db){var _0x544f31=_0x4955d2,_0x402bcc=this[_0x477d('0x2b11')]();_0x4955d2[_0x477d('0x2a01')]!=_0x402bcc?(_0x544f31=_0x4955d2[_0x477d('0x297d')](_0x402bcc)[0x0],null!=_0x544f31&&_0x544f31[_0x477d('0x29e2')]==_0x4955d2?(mxUtils[_0x477d('0x342d')](_0x544f31,!0x0),mxUtils['removeWhitespace'](_0x544f31,!0x1),_0x544f31['parentNode'][_0x477d('0x29e3')](_0x544f31)):_0x544f31=null,_0xf19db['value']=_0x4955d2[_0x477d('0x2a7e')](!0x0),_0x4955d2=_0xf19db[_0x477d('0x3b6')][_0x477d('0x29eb')]('id'),null!=_0x4955d2&&(_0xf19db[_0x477d('0x2f34')](_0x4955d2),_0xf19db['value']['removeAttribute']('id'))):_0xf19db[_0x477d('0x2f34')](_0x4955d2['getAttribute']('id'));if(null!=_0x544f31)for(_0x4955d2=0x0;_0x4955d2=0x0)this[_0x477d('0x3111')](_0x2eba15);}else if(this[_0x477d('0x2a75')]()['isVertex'](_0x2eba15)){_0x49891d[_0x477d('0x343d')][_0x477d('0x346d')](_0x2eba15[_0x477d('0x2a4a')](),function(_0x29dc7a){for(var _0x48e9c7=0x0;_0x48e9c7<_0x29dc7a[_0x477d('0x79')];_0x48e9c7+=0x1){_0x2eba15[_0x477d('0x494')](_0x29dc7a[_0x48e9c7]['name'],_0x29dc7a[_0x48e9c7][_0x477d('0x3b6')]);}_0x463b57[_0x477d('0x911')](_0x2eba15);});}_0x40deeb[_0x477d('0x2b15')]();}};_0x463b57[_0x477d('0x309d')][_0x477d('0x2c6b')]=!![];_0x463b57['panningHandler'][_0x477d('0x2bfe')]=mxUtils[_0x477d('0x5d6')](this,function(_0x2d7f61,_0x516b86,_0x4e4b26){if(this[_0x477d('0x343e')]()){this['menus'][_0x477d('0x33ce')](_0x2d7f61,_0x516b86,_0x4e4b26);}});_0x215d4e['outline']['init'](this[_0x477d('0x346e')]);mxEvent[_0x477d('0x2b30')](document,mxUtils[_0x477d('0x5d6')](this,function(_0x4ef0d1){_0x463b57['panningHandler'][_0x477d('0x2bfd')]();}));if(mxClient[_0x477d('0x2b2c')]){mxEvent[_0x477d('0x29b3')](_0x463b57['container'],_0x477d('0x346f'),mxUtils[_0x477d('0x5d6')](this,function(_0x455d3b){_0x463b57[_0x477d('0x1672')][_0x477d('0x2f92')]()[_0x477d('0x494')](_0x477d('0x2d1b'),_0x477d('0x2d4b')+_0x455d3b[_0x477d('0x29d8')]+')');_0x463b57[_0x477d('0x1672')][_0x477d('0x2d94')]()[_0x477d('0x457')][_0x477d('0x29c0')]=_0x477d('0x54d');}));mxEvent['addListener'](_0x463b57[_0x477d('0x4e7')],'gestureend',mxUtils[_0x477d('0x5d6')](this,function(_0x31e3e4){_0x463b57[_0x477d('0x1672')][_0x477d('0x2f92')]()[_0x477d('0x2dcb')](_0x477d('0x2d1b'));_0x463b57[_0x477d('0x3470')]=!![];_0x463b57[_0x477d('0x2d58')](_0x31e3e4['scale']);_0x463b57[_0x477d('0x1672')][_0x477d('0x2d94')]()['style'][_0x477d('0x29c0')]='visible';}));}var _0x32edbe=this[_0x477d('0x343e')]()?this[_0x477d('0x3471')](_0x215d4e):null;this[_0x477d('0x3472')]=function(){return _0x32edbe;};mxEvent['addListener'](window,_0x477d('0x299d'),mxUtils['bind'](this,function(){this[_0x477d('0x911')]();_0x463b57[_0x477d('0x3063')]();this[_0x477d('0x336e')][_0x477d('0x2fd7')][_0x477d('0x710')](![]);this[_0x477d('0x336e')][_0x477d('0x2fd7')][_0x477d('0x2fd7')]['sizeDidChange']();}));this[_0x477d('0x5ee')]();this[_0x477d('0x1192')]();this[_0x477d('0x911')]();};EditorUi[_0x477d('0x798')][_0x477d('0x3473')]=mxClient[_0x477d('0x2b2c')]?0x10:0x8;EditorUi[_0x477d('0x798')]['menubarHeight']=0x21;EditorUi[_0x477d('0x798')]['toolbarHeight']=0x24;EditorUi['prototype'][_0x477d('0x3474')]=0x0;EditorUi[_0x477d('0x798')][_0x477d('0x3475')]=0xcc;EditorUi['prototype'][_0x477d('0x3476')]=0xbe;EditorUi['prototype'][_0x477d('0x5ee')]=function(){this[_0x477d('0x3477')]();this[_0x477d('0x3478')]();var _0x34cd9f=this[_0x477d('0x969')][_0x477d('0x376')]('paste');var _0x4726ca=function(){_0x34cd9f[_0x477d('0x2bda')](!mxClipboard[_0x477d('0x3b2')]());};var _0x1dca35=mxClipboard[_0x477d('0x33ac')];mxClipboard['cut']=function(){_0x1dca35[_0x477d('0x4f5')](this,arguments);_0x4726ca();};var _0xa46f1c=mxClipboard[_0x477d('0x6d9')];mxClipboard[_0x477d('0x6d9')]=function(){_0xa46f1c[_0x477d('0x4f5')](this,arguments);_0x4726ca();};};EditorUi[_0x477d('0x798')][_0x477d('0x343e')]=function(){if(CRUD_PERMISSIONS[_0x477d('0xedb')]){return!![];}else{return![];}};EditorUi[_0x477d('0x798')][_0x477d('0x3479')]=function(_0x34509b){var _0x1f68b5=window[_0x477d('0x945')][_0x477d('0x3c7')]('a');_0x1f68b5[_0x477d('0x3c8')]=_0x477d('0x347a')+encodeURIComponent(_0x34509b);_0x1f68b5[_0x477d('0x49d')]=this[_0x477d('0x336e')][_0x477d('0x6c8')]+_0x477d('0x347b');_0x1f68b5[_0x477d('0x378')]=_0x477d('0xeb9');_0x1f68b5['click']();};EditorUi[_0x477d('0x798')][_0x477d('0x1192')]=function(){try{if(window[_0x477d('0x347c')]!=null&&window[_0x477d('0x347c')][_0x477d('0x347d')]!=null){window[_0x477d('0x347c')][_0x477d('0x347d')][_0x477d('0x347e')](mxUtils[_0x477d('0x5d6')](this,function(_0x8f950a,_0x5101af){try{var _0x43c50b=mxUtils[_0x477d('0x2d43')](_0x8f950a);this['editor'][_0x477d('0x347f')](_0x43c50b[_0x477d('0x29ad')]);this['editor'][_0x477d('0x2fcf')]=![];this['editor'][_0x477d('0x3388')][_0x477d('0x7aa')]();if(_0x5101af!=null){this['editor'][_0x477d('0x6c8')]=_0x5101af;}}catch(_0x5db267){mxUtils[_0x477d('0x120a')](mxResources[_0x477d('0x376')]('invalidOrMissingFile')+':\x20'+_0x5db267[_0x477d('0x452')]);}}));}}catch(_0x36b75a){}};EditorUi[_0x477d('0x798')][_0x477d('0x3480')]=function(_0x17bbed,_0x34c25d,_0x135239){try{var _0x30be66=mxUtils[_0x477d('0x2d43')](_0x17bbed);this['editor'][_0x477d('0x347f')](_0x30be66['documentElement']);this[_0x477d('0x336e')][_0x477d('0x2fcf')]=![];this[_0x477d('0x336e')][_0x477d('0x3388')][_0x477d('0x7aa')]();if(_0x34c25d!=null){this[_0x477d('0x336e')][_0x477d('0x6c8')]=_0x34c25d;}if(_0x135239!=null){this[_0x477d('0x336e')][_0x477d('0x451')]=_0x135239;}}catch(_0x273b69){mxUtils[_0x477d('0x120a')](mxResources[_0x477d('0x376')](_0x477d('0x3481'))+':\x20'+_0x273b69[_0x477d('0x452')]);}};EditorUi[_0x477d('0x798')][_0x477d('0x306e')]=function(_0x5753e4,_0x4688eb){var _0x59a342=this[_0x477d('0x336e')][_0x477d('0x2c83')];for(var _0x5753e4=_0x5753e4!=null?_0x5753e4:_0x59a342['model'][_0x477d('0x2a76')](),_0x4688eb=_0x4688eb!=null?_0x4688eb:{},_0x4184b0=!![],_0x67c3dc=_0x59a342[_0x477d('0x44e')]['getChildCount'](_0x5753e4),_0x3fae6c=0x0;_0x3fae6c<_0x67c3dc;_0x3fae6c++){var _0x270e14=_0x59a342[_0x477d('0x44e')][_0x477d('0x29de')](_0x5753e4,_0x3fae6c),_0x3863c9=_0x4688eb;_0x59a342['isValidRoot'](_0x270e14)&&(_0x3863c9={});_0x3863c9=this['validate'](_0x270e14,_0x3863c9);_0x3863c9!=null?_0x59a342['setCellWarning'](_0x270e14,_0x3863c9[_0x477d('0x409')](/\n/g,_0x477d('0x2a95'))):_0x59a342[_0x477d('0x310c')](_0x270e14,null);_0x4184b0=_0x4184b0&&_0x3863c9==null;}_0x67c3dc='';if(_0x59a342[_0x477d('0x44e')][_0x477d('0x2e5a')](_0x5753e4)){switch(_0x5753e4[_0x477d('0x3b6')][_0x477d('0x2a01')]){case _0x477d('0x612'):_0x67c3dc=this['validateBlock'](_0x477d('0x612'))?'':_0x477d('0x3482')+'\x0a';break;case _0x477d('0x5ff'):_0x67c3dc=this[_0x477d('0x3483')](_0x477d('0x5ff'))?'':'Only\x20one\x20Finally\x20block\x20is\x20allowed'+'\x0a';break;case _0x477d('0x2531'):_0x67c3dc=_0x5753e4[_0x477d('0x3b6')][_0x477d('0x29eb')](_0x477d('0xf3d'))>0x0?'':mxResources[_0x477d('0x376')](_0x477d('0x3484'))+'\x0a';break;case _0x477d('0x605'):_0x67c3dc=_0x5753e4['value'][_0x477d('0x29eb')](_0x477d('0x91b'))>=0x0?'':mxResources['get'](_0x477d('0x3485'))+'\x0a';break;case _0x477d('0x2bfa'):_0x67c3dc=_0x5753e4['value'][_0x477d('0x29eb')]('file_id')>0x0?'':mxResources['get']('noAudioSelected')+'\x0a';_0x67c3dc+=_0x5753e4[_0x477d('0x3b6')][_0x477d('0x29eb')](_0x477d('0x3486'))>0x0?'':mxResources[_0x477d('0x376')](_0x477d('0x3487'))+'\x0a';_0x67c3dc+=_0x5753e4['value'][_0x477d('0x29eb')](_0x477d('0xf3e'))>=0x0?'':mxResources['get']('invalidTimeout')+'\x0a';_0x67c3dc+=_0x5753e4['value'][_0x477d('0x29eb')](_0x477d('0xf3f'))>=0x0?'':mxResources[_0x477d('0x376')]('invalidRetry')+'\x0a';break;case _0x477d('0x3457'):_0x67c3dc=_0x5753e4[_0x477d('0x3b6')]['getAttribute'](_0x477d('0xf3d'))>0x0?'':mxResources['get'](_0x477d('0x3484'))+'\x0a';_0x67c3dc+=_0x5753e4[_0x477d('0x3b6')][_0x477d('0x29eb')](_0x477d('0xf42'))>0x0?'':mxResources[_0x477d('0x376')](_0x477d('0x3488'))+'\x0a';_0x67c3dc+=_0x5753e4[_0x477d('0x3b6')][_0x477d('0x29eb')]('mindigit')>0x0?'':mxResources[_0x477d('0x376')]('wrongMinDigit')+'\x0a';_0x67c3dc+=_0x5753e4[_0x477d('0x3b6')]['getAttribute'](_0x477d('0xf41'))>0x0?'':mxResources[_0x477d('0x376')](_0x477d('0x3487'))+'\x0a';_0x67c3dc+=_0x5753e4[_0x477d('0x3b6')][_0x477d('0x29eb')](_0x477d('0xf3f'))>=0x0?'':mxResources['get']('invalidRetry')+'\x0a';break;case _0x477d('0x3458'):_0x67c3dc=_0x5753e4['value'][_0x477d('0x29eb')](_0x477d('0xf3d'))>0x0?'':mxResources[_0x477d('0x376')](_0x477d('0x3484'))+'\x0a';_0x67c3dc+=_0x5753e4[_0x477d('0x3b6')]['getAttribute']('variable_id')>0x0?'':mxResources[_0x477d('0x376')](_0x477d('0x3488'))+'\x0a';_0x67c3dc+=_0x5753e4['value'][_0x477d('0x29eb')](_0x477d('0xf40'))>0x0?'':mxResources[_0x477d('0x376')](_0x477d('0x3489'))+'\x0a';_0x67c3dc+=_0x5753e4['value'][_0x477d('0x29eb')](_0x477d('0xf41'))>0x0?'':mxResources['get'](_0x477d('0x3487'))+'\x0a';_0x67c3dc+=_0x5753e4[_0x477d('0x3b6')]['getAttribute'](_0x477d('0xf43'))>=0x0?'':mxResources[_0x477d('0x376')](_0x477d('0x348a'))+'\x0a';_0x67c3dc+=_0x5753e4[_0x477d('0x3b6')]['getAttribute'](_0x477d('0xf3f'))>=0x0?'':mxResources['get'](_0x477d('0x348b'))+'\x0a';break;case _0x477d('0x346c'):_0x67c3dc=_0x5753e4[_0x477d('0x3b6')][_0x477d('0x29eb')](_0x477d('0xf42'))>0x0?'':mxResources['get'](_0x477d('0x3488'))+'\x0a';break;case _0x477d('0x345b'):_0x67c3dc=_0x5753e4[_0x477d('0x3b6')][_0x477d('0x29eb')](_0x477d('0xf44'))>0x0?'':mxResources['get'](_0x477d('0x348c'))+'\x0a';_0x67c3dc+=_0x5753e4[_0x477d('0x3b6')][_0x477d('0x29eb')](_0x477d('0x3ef'))!==''?'':mxResources['get']('missingQuery')+'\x0a';break;case _0x477d('0x12af'):case'math':_0x67c3dc=_0x5753e4[_0x477d('0x3b6')][_0x477d('0x29eb')](_0x477d('0xf42'))>0x0?'':mxResources['get']('noVariableSelected')+'\x0a';break;case _0x477d('0x3466'):_0x67c3dc=_0x5753e4[_0x477d('0x3b6')][_0x477d('0x29eb')](_0x477d('0xf47'))!==''?'':mxResources['get'](_0x477d('0x348d'))+'\x0a';_0x67c3dc+=_0x5753e4['value'][_0x477d('0x29eb')]('extension')!==''?'':mxResources[_0x477d('0x376')]('noExtensionSelected')+'\x0a';_0x67c3dc+=_0x5753e4[_0x477d('0x3b6')][_0x477d('0x29eb')]('priority')>=0x1?'':mxResources[_0x477d('0x376')](_0x477d('0x348e'))+'\x0a';break;case'system':case _0x477d('0x12b0'):_0x67c3dc=_0x5753e4[_0x477d('0x3b6')]['getAttribute']('command')!==''?'':mxResources[_0x477d('0x376')]('noCommandSelected')+'\x0a';break;case _0x477d('0x1252'):_0x67c3dc=_0x5753e4[_0x477d('0x3b6')][_0x477d('0x29eb')]('condition')!==''?'':mxResources[_0x477d('0x376')](_0x477d('0x348f'))+'\x0a';break;case _0x477d('0x3451'):_0x67c3dc=_0x5753e4[_0x477d('0x3b6')]['getAttribute'](_0x477d('0xf4a'))!==''?'':mxResources[_0x477d('0x376')]('noDigitsSelected')+'\x0a';break;case'saynumber':_0x67c3dc=_0x5753e4[_0x477d('0x3b6')]['getAttribute'](_0x477d('0x421'))!==''?'':mxResources['get'](_0x477d('0x3490'))+'\x0a';break;case _0x477d('0x3453'):_0x67c3dc=_0x5753e4['value'][_0x477d('0x29eb')](_0x477d('0x41b'))!==''?'':mxResources[_0x477d('0x376')](_0x477d('0x3491'))+'\x0a';break;case _0x477d('0x6ae'):_0x67c3dc=_0x5753e4[_0x477d('0x3b6')][_0x477d('0x29eb')]('file')!==''?'':mxResources[_0x477d('0x376')](_0x477d('0x3492'))+'\x0a';_0x67c3dc+=_0x5753e4['value']['getAttribute'](_0x477d('0x91b'))>=-0x1?'':mxResources['get'](_0x477d('0x3485'))+'\x0a';break;case _0x477d('0x3469'):_0x67c3dc=_0x5753e4[_0x477d('0x3b6')][_0x477d('0x29eb')](_0x477d('0xf4b'))!==''?'':mxResources['get'](_0x477d('0x3493'))+'\x0a';break;case _0x477d('0x344f'):_0x67c3dc=_0x5753e4[_0x477d('0x3b6')][_0x477d('0x29eb')](_0x477d('0xf45'))!=='-1'?'':mxResources[_0x477d('0x376')](_0x477d('0x3494'))+'\x0a';_0x67c3dc+=_0x5753e4[_0x477d('0x3b6')][_0x477d('0x29eb')](_0x477d('0xf46'))!==''?'':mxResources['get'](_0x477d('0x3495'))+'\x0a';_0x67c3dc+=_0x5753e4[_0x477d('0x3b6')][_0x477d('0x29eb')](_0x477d('0x91b'))>=0x0?'':mxResources[_0x477d('0x376')]('invalidTimeout')+'\x0a';break;case'dial':_0x67c3dc=_0x5753e4['value'][_0x477d('0x29eb')](_0x477d('0xf8d'))>0x0?'':mxResources[_0x477d('0x376')](_0x477d('0x3495'))+'\x0a';_0x67c3dc+=_0x5753e4[_0x477d('0x3b6')][_0x477d('0x29eb')](_0x477d('0x91b'))>=0x0?'':mxResources[_0x477d('0x376')](_0x477d('0x3485'))+'\x0a';break;case _0x477d('0x1256'):_0x67c3dc=_0x5753e4['value'][_0x477d('0x29eb')](_0x477d('0xf4c'))!=='-1'?'':mxResources[_0x477d('0x376')](_0x477d('0x3496'))+'\x0a';_0x67c3dc+=_0x5753e4[_0x477d('0x3b6')][_0x477d('0x29eb')](_0x477d('0x91b'))>=0x0?'':mxResources[_0x477d('0x376')](_0x477d('0x3485'))+'\x0a';break;case'callback':_0x67c3dc=_0x5753e4[_0x477d('0x3b6')][_0x477d('0x29eb')](_0x477d('0xf90'))!=='-1'?'':mxResources[_0x477d('0x376')]('noListSelected')+'\x0a';_0x67c3dc+=_0x5753e4[_0x477d('0x3b6')][_0x477d('0x29eb')]('name')!==''?'':mxResources['get'](_0x477d('0x3497'))+'\x0a';_0x67c3dc+=_0x5753e4[_0x477d('0x3b6')][_0x477d('0x29eb')]('phone')!==''?'':mxResources[_0x477d('0x376')](_0x477d('0x3498'))+'\x0a';_0x67c3dc+=_0x5753e4[_0x477d('0x3b6')]['getAttribute'](_0x477d('0x2c5f'))!==''?'':mxResources['get'](_0x477d('0x3499'))+'\x0a';break;case _0x477d('0x3467'):_0x67c3dc=_0x5753e4['value'][_0x477d('0x29eb')](_0x477d('0xf4d'))>0x0?'':mxResources[_0x477d('0x376')]('noIntervalSelected')+'\x0a';break;case _0x477d('0x255d'):_0x67c3dc=_0x5753e4[_0x477d('0x3b6')][_0x477d('0x29eb')](_0x477d('0xf4e'))!==''?'':mxResources[_0x477d('0x376')](_0x477d('0x349a'))+'\x0a';break;case _0x477d('0x346a'):_0x67c3dc=_0x5753e4[_0x477d('0x3b6')][_0x477d('0x29eb')](_0x477d('0xf4f'))>0x0?'':mxResources['get'](_0x477d('0x349b'))+'\x0a';break;case _0x477d('0x345d'):_0x67c3dc=_0x5753e4[_0x477d('0x3b6')]['getAttribute'](_0x477d('0xf50'))>0x0?'':mxResources[_0x477d('0x376')](_0x477d('0x349c'))+'\x0a';_0x67c3dc+=_0x5753e4[_0x477d('0x3b6')][_0x477d('0x29eb')]('to')!==''?'':mxResources['get']('noRecipientSelected')+'\x0a';_0x67c3dc+=_0x5753e4[_0x477d('0x3b6')]['getAttribute'](_0x477d('0xf51'))!==''?'':mxResources[_0x477d('0x376')]('noTextSelected')+'\x0a';break;case'sendMail':_0x67c3dc=_0x5753e4[_0x477d('0x3b6')][_0x477d('0x29eb')](_0x477d('0xf52'))>0x0?'':mxResources['get'](_0x477d('0x349c'))+'\x0a';_0x67c3dc+=_0x5753e4['value']['getAttribute']('to')!==''?'':mxResources[_0x477d('0x376')]('noRecipientSelected')+'\x0a';break;case _0x477d('0x345f'):_0x67c3dc=_0x5753e4[_0x477d('0x3b6')][_0x477d('0x29eb')](_0x477d('0xf52'))>0x0?'':mxResources[_0x477d('0x376')]('noAccountSelected')+'\x0a';_0x67c3dc+=_0x5753e4[_0x477d('0x3b6')][_0x477d('0x29eb')]('to')!==''?'':mxResources[_0x477d('0x376')]('noRecipientSelected')+'\x0a';_0x67c3dc+=_0x5753e4[_0x477d('0x3b6')][_0x477d('0x29eb')](_0x477d('0x349d'))!==''?'':mxResources['get'](_0x477d('0x349e'))+'\x0a';break;case _0x477d('0x3454'):_0x67c3dc=_0x5753e4[_0x477d('0x3b6')][_0x477d('0x29eb')](_0x477d('0xf53'))!==''?'':mxResources[_0x477d('0x376')](_0x477d('0x349f'))+'\x0a';_0x67c3dc+=_0x5753e4['value']['getAttribute'](_0x477d('0x41b'))!==''?'':mxResources[_0x477d('0x376')](_0x477d('0x3491'))+'\x0a';break;case _0x477d('0x34a0'):_0x67c3dc=_0x5753e4[_0x477d('0x3b6')][_0x477d('0x29eb')](_0x477d('0x41b'))!==''?'':mxResources[_0x477d('0x376')](_0x477d('0x3491'))+'\x0a';break;case'awspolly':_0x67c3dc=_0x5753e4[_0x477d('0x3b6')]['getAttribute']('text')!==''?'':mxResources[_0x477d('0x376')](_0x477d('0x3491'))+'\x0a';_0x67c3dc=_0x5753e4['value'][_0x477d('0x29eb')](_0x477d('0xf5d'))!==''?'':mxResources[_0x477d('0x376')](_0x477d('0x34a1'))+'\x0a';_0x67c3dc=_0x5753e4['value'][_0x477d('0x29eb')](_0x477d('0xf56'))!==''?'':mxResources[_0x477d('0x376')](_0x477d('0x34a2'))+'\x0a';break;case _0x477d('0x3462'):_0x67c3dc=_0x5753e4[_0x477d('0x3b6')][_0x477d('0x29eb')](_0x477d('0xf5f'))!==''?'':mxResources[_0x477d('0x376')](_0x477d('0x34a3'))+'\x0a';_0x67c3dc=_0x5753e4['value']['getAttribute'](_0x477d('0x41b'))!==''?'':mxResources[_0x477d('0x376')](_0x477d('0x3491'))+'\x0a';_0x67c3dc=_0x5753e4['value']['getAttribute'](_0x477d('0xf5d'))!==''?'':mxResources[_0x477d('0x376')](_0x477d('0x34a1'))+'\x0a';_0x67c3dc=_0x5753e4[_0x477d('0x3b6')][_0x477d('0x29eb')](_0x477d('0xf56'))!==''?'':mxResources['get'](_0x477d('0x34a2'))+'\x0a';break;case'ispeechtts':_0x67c3dc=_0x5753e4[_0x477d('0x3b6')][_0x477d('0x29eb')]('text')!==''?'':mxResources[_0x477d('0x376')]('noTextSelected')+'\x0a';_0x67c3dc+=_0x5753e4[_0x477d('0x3b6')][_0x477d('0x29eb')]('key')!==''?'':mxResources[_0x477d('0x376')](_0x477d('0x34a4'))+'\x0a';_0x67c3dc+=_0x5753e4[_0x477d('0x3b6')][_0x477d('0x29eb')](_0x477d('0x34a5'))>=-0xa&&_0x5753e4['value'][_0x477d('0x29eb')](_0x477d('0x34a5'))<=0xa?'':mxResources[_0x477d('0x376')](_0x477d('0x34a6'))+'\x0a';break;case _0x477d('0x3459'):_0x67c3dc=_0x5753e4[_0x477d('0x3b6')]['getAttribute'](_0x477d('0x41b'))!==''?'':mxResources[_0x477d('0x376')](_0x477d('0x3491'))+'\x0a';break;case _0x477d('0x345a'):_0x67c3dc=_0x5753e4[_0x477d('0x3b6')][_0x477d('0x29eb')](_0x477d('0x41b'))!==''?'':mxResources[_0x477d('0x376')](_0x477d('0x3491'))+'\x0a';break;case _0x477d('0x34a7'):_0x67c3dc=_0x5753e4[_0x477d('0x3b6')]['getAttribute']('grammar')!==''?'':mxResources[_0x477d('0x376')]('noGrammarSelected')+'\x0a';break;case'sestekasr':_0x67c3dc=_0x5753e4[_0x477d('0x3b6')]['getAttribute'](_0x477d('0xf58'))!==''?'':mxResources['get'](_0x477d('0x34a8'))+'\x0a';break;case _0x477d('0x345c'):_0x67c3dc=_0x5753e4[_0x477d('0x3b6')][_0x477d('0x29eb')](_0x477d('0x670'))!==''?'':mxResources[_0x477d('0x376')](_0x477d('0x34a4'))+'\x0a';_0x67c3dc+=_0x5753e4[_0x477d('0x3b6')][_0x477d('0x29eb')]('timeout')>=-0x1?'':mxResources[_0x477d('0x376')](_0x477d('0x3485'))+'\x0a';break;case'googleasr':_0x67c3dc=_0x5753e4[_0x477d('0x3b6')][_0x477d('0x29eb')](_0x477d('0x670'))!==''?'':mxResources[_0x477d('0x376')]('noKeySelected')+'\x0a';_0x67c3dc+=_0x5753e4[_0x477d('0x3b6')]['getAttribute'](_0x477d('0x91b'))>=-0x1?'':mxResources['get'](_0x477d('0x3485'))+'\x0a';break;case _0x477d('0x3461'):_0x67c3dc=_0x5753e4['value'][_0x477d('0x29eb')](_0x477d('0x34a9'))!==''?'':mxResources[_0x477d('0x376')](_0x477d('0x34aa'))+'\x0a';_0x67c3dc+=_0x5753e4[_0x477d('0x3b6')][_0x477d('0x29eb')](_0x477d('0xf59'))!==''?'':mxResources['get'](_0x477d('0x34ab'))+'\x0a';_0x67c3dc+=_0x5753e4[_0x477d('0x3b6')][_0x477d('0x29eb')](_0x477d('0xf5a'))!==''?'':mxResources[_0x477d('0x376')](_0x477d('0x34ac'))+'\x0a';break;case _0x477d('0x346b'):_0x67c3dc=_0x5753e4['value'][_0x477d('0x29eb')](_0x477d('0xf55'))!==''?'':mxResources[_0x477d('0x376')](_0x477d('0x34ad'))+'\x0a';break;case'login':case _0x477d('0x657'):case _0x477d('0x15a7'):case _0x477d('0x38c'):_0x67c3dc=_0x5753e4[_0x477d('0x3b6')][_0x477d('0x29eb')]('findBy')!==''?'':mxResources['get'](_0x477d('0x34ae'))+'\x0a';break;case _0x477d('0x3463'):_0x67c3dc=_0x5753e4[_0x477d('0x3b6')][_0x477d('0x29eb')]('text')!==''?'':mxResources[_0x477d('0x376')](_0x477d('0x3491'))+'\x0a';_0x67c3dc+=_0x5753e4[_0x477d('0x3b6')][_0x477d('0x29eb')](_0x477d('0xf60'))!==''?'':mxResources[_0x477d('0x376')](_0x477d('0x34ac'))+'\x0a';_0x67c3dc+=_0x5753e4[_0x477d('0x3b6')][_0x477d('0x29eb')](_0x477d('0xf61'))!==''?'':mxResources[_0x477d('0x376')](_0x477d('0x34ac'))+'\x0a';_0x67c3dc+=_0x5753e4[_0x477d('0x3b6')][_0x477d('0x29eb')](_0x477d('0x5d2'))!==''?'':mxResources[_0x477d('0x376')](_0x477d('0x34af'))+'\x0a';_0x67c3dc+=_0x5753e4[_0x477d('0x3b6')][_0x477d('0x29eb')](_0x477d('0x5d3'))!==''?'':mxResources[_0x477d('0x376')](_0x477d('0x34b0'))+'\x0a';break;case'restapi':_0x67c3dc=_0x5753e4[_0x477d('0x3b6')][_0x477d('0x29eb')](_0x477d('0x3c1'))!==''?'':mxResources[_0x477d('0x376')](_0x477d('0x34b1'))+'\x0a';_0x67c3dc+=_0x5753e4[_0x477d('0x3b6')][_0x477d('0x29eb')](_0x477d('0x2b74'))!==''?'':mxResources[_0x477d('0x376')](_0x477d('0x34b2'))+'\x0a';case'mrcpsynth':_0x67c3dc=_0x5753e4[_0x477d('0x3b6')]['getAttribute'](_0x477d('0x41b'))!==''?'':mxResources[_0x477d('0x376')](_0x477d('0x3491'))+'\x0a';break;case _0x477d('0x3465'):_0x67c3dc=_0x5753e4['value'][_0x477d('0x29eb')]('grammar')!==''?'':mxResources[_0x477d('0x376')](_0x477d('0x34a8'))+'\x0a';break;}}if(_0x59a342['model'][_0x477d('0x29d6')](_0x5753e4)){var _0x68cf62=_0x59a342[_0x477d('0x44e')][_0x477d('0x2f36')](_0x5753e4['source'][_0x477d('0x2c41')]());switch(_0x68cf62[_0x477d('0x3b6')][_0x477d('0x2a01')]){case'background':case'menu':if(typeof _0x5753e4['getValue']()!=_0x477d('0x4a4')){var _0x5bf776=/^[0-9]+$|^[-]{1}$|^[i]{1}$|^[t]{1}$|^[*]{1}$|^[#]{1}$/;String(_0x5753e4[_0x477d('0x2a4a')]())[_0x477d('0x472')](',')['forEach'](function(_0x3b8c18){_0x67c3dc=_0x67c3dc+(_0x5bf776['test'](_0x3b8c18)?'':mxResources['get'](_0x477d('0x34b3'))+'\x0a');});}else{_0x67c3dc=_0x67c3dc+mxResources[_0x477d('0x376')](_0x477d('0x34b3'))+'\x0a';}break;case _0x477d('0x3458'):case _0x477d('0x3457'):if(typeof _0x5753e4['getValue']()!=_0x477d('0x4a4')){var _0x5bf776=/^(x|i|-)$/;_0x67c3dc=_0x67c3dc+(_0x5bf776['test'](String(_0x5753e4[_0x477d('0x2a4a')]()))?'':mxResources[_0x477d('0x376')](_0x477d('0x34b4'))+'\x0a');}else{_0x67c3dc=_0x67c3dc+mxResources[_0x477d('0x376')](_0x477d('0x34b4'))+'\x0a';}break;case _0x477d('0x1252'):case _0x477d('0x3467'):if(typeof _0x5753e4[_0x477d('0x2a4a')]()!='undefined'){var _0x5bf776=/^(true){1}$|^(false){1}$/;_0x67c3dc=_0x67c3dc+(_0x5bf776['test'](String(_0x5753e4[_0x477d('0x2a4a')]()))?'':mxResources[_0x477d('0x376')](_0x477d('0x34b5'))+'\x0a');}else{_0x67c3dc=_0x67c3dc+mxResources[_0x477d('0x376')](_0x477d('0x34b5'))+'\x0a';}break;case _0x477d('0x38a'):case _0x477d('0x657'):case'unpause':case _0x477d('0x38c'):if(typeof _0x5753e4[_0x477d('0x2a4a')]()!=_0x477d('0x4a4')){var _0x5bf776=/^(success){1}$|^(failure){1}$/;_0x67c3dc=_0x67c3dc+(_0x5bf776['test'](String(_0x5753e4[_0x477d('0x2a4a')]()))?'':mxResources[_0x477d('0x376')](_0x477d('0x34b6'))+'\x0a');}else{_0x67c3dc=_0x67c3dc+mxResources[_0x477d('0x376')](_0x477d('0x34b6'))+'\x0a';}break;}}_0x59a342['isCellCollapsed'](_0x5753e4)&&!_0x4184b0&&(_0x67c3dc=_0x67c3dc+((mxResources[_0x477d('0x376')](_0x59a342[_0x477d('0x30f1')])||_0x59a342[_0x477d('0x30f1')])+'\x0a'));_0x67c3dc=_0x59a342[_0x477d('0x44e')][_0x477d('0x29d6')](_0x5753e4)?_0x67c3dc+(_0x59a342[_0x477d('0x3148')](_0x5753e4,_0x59a342[_0x477d('0x44e')][_0x477d('0x2e5c')](_0x5753e4,!![]),_0x59a342['model']['getTerminal'](_0x5753e4,![]))||''):_0x67c3dc+(_0x59a342['getCellValidationError'](_0x5753e4)||'');_0x3fae6c=_0x59a342[_0x477d('0x31a4')](_0x5753e4,_0x4688eb);_0x3fae6c!=null&&(_0x67c3dc=_0x67c3dc+_0x3fae6c);_0x59a342[_0x477d('0x44e')]['getParent'](_0x5753e4)==null&&_0x59a342['view'][_0x477d('0x306e')]();return _0x67c3dc[_0x477d('0x79')]>0x0||!_0x4184b0?_0x67c3dc:null;};EditorUi[_0x477d('0x798')]['validateBlock']=function(_0x3ca3c1){var _0x3b9656=this[_0x477d('0x336e')]['graph'];var _0xb15862=_0x3b9656['getDefaultParent']();var _0x167f28=0x0;_0xb15862['children'][_0x477d('0x3b1')](function(_0x4cfccb){if(_0x3b9656[_0x477d('0x44e')]['isVertex'](_0x4cfccb)&&_0x4cfccb[_0x477d('0x3b6')][_0x477d('0x2a01')]==_0x3ca3c1){_0x167f28++;}});return _0x167f28>0x1?![]:!![];};EditorUi[_0x477d('0x798')]['getUrl']=function(_0x5564a2){var _0x1b99ff=_0x5564a2!=null?_0x5564a2:window[_0x477d('0x3cc')]['pathname'];var _0x2996dc=_0x1b99ff[_0x477d('0x477')]('?')>0x0?0x1:0x0;for(var _0x3b6146 in urlParams){if(_0x2996dc==0x0){_0x1b99ff+='?';}else{_0x1b99ff+='&';}_0x1b99ff+=_0x3b6146+'='+urlParams[_0x3b6146];_0x2996dc++;}return _0x1b99ff;};EditorUi[_0x477d('0x798')][_0x477d('0x3477')]=function(){var _0xefbb73=this[_0x477d('0x969')][_0x477d('0x376')](_0x477d('0x185f'));var _0x319d5c=this[_0x477d('0x969')][_0x477d('0x376')](_0x477d('0x2c4b'));var _0x2e4744=this['editor'][_0x477d('0x3388')];var _0x2f73aa=function(){_0xefbb73[_0x477d('0x2bda')](_0x2e4744['canUndo']());_0x319d5c['setEnabled'](_0x2e4744['canRedo']());};_0x2e4744[_0x477d('0x29b3')](mxEvent[_0x477d('0x2c50')],_0x2f73aa);_0x2e4744[_0x477d('0x29b3')](mxEvent[_0x477d('0x2c38')],_0x2f73aa);_0x2e4744['addListener'](mxEvent[_0x477d('0x33dd')],_0x2f73aa);_0x2e4744[_0x477d('0x29b3')](mxEvent[_0x477d('0x34b7')],_0x2f73aa);_0x2f73aa();};EditorUi[_0x477d('0x798')][_0x477d('0x3478')]=function(){var _0x38fd23=mxUtils[_0x477d('0x5d6')](this,function(){var _0x397ded=this[_0x477d('0x336e')][_0x477d('0x2c83')];var _0x1e5f5a=!_0x397ded[_0x477d('0x3209')]();var _0x344433=![];var _0xb71738=![];var _0x574cb6=_0x397ded[_0x477d('0x2b89')]();if(_0x574cb6!=null){for(var _0x5cd0ec=0x0;_0x5cd0ec<_0x574cb6['length'];_0x5cd0ec++){var _0x16a000=_0x574cb6[_0x5cd0ec];if(_0x397ded['getModel']()[_0x477d('0x29d6')](_0x16a000)){_0xb71738=!![];}if(_0x397ded['getModel']()[_0x477d('0x2e5a')](_0x16a000)){_0x344433=!![];}if(_0xb71738&&_0x344433){break;}}}var _0x239509=[_0x477d('0x33ac'),_0x477d('0x6d9'),_0x477d('0xa55'),_0x477d('0x14d2'),_0x477d('0x2d8a'),'italic',_0x477d('0x457'),_0x477d('0x2a14'),_0x477d('0x33b4'),_0x477d('0x34b8'),'dashed',_0x477d('0x1235'),_0x477d('0x2cc9'),_0x477d('0x34b9'),_0x477d('0x2af0')];for(var _0x5cd0ec=0x0;_0x5cd0ec<_0x239509[_0x477d('0x79')];_0x5cd0ec++){this[_0x477d('0x969')][_0x477d('0x376')](_0x239509[_0x5cd0ec])[_0x477d('0x2bda')](_0x1e5f5a);}this['actions'][_0x477d('0x376')](_0x477d('0x2ae4'))['setEnabled'](_0xb71738);this['actions']['get']('rotation')[_0x477d('0x2bda')](_0x344433);this[_0x477d('0x969')]['get']('wordWrap')[_0x477d('0x2bda')](_0x344433);this[_0x477d('0x969')][_0x477d('0x376')]('group')['setEnabled'](_0x397ded[_0x477d('0x320b')]()>0x1);this[_0x477d('0x969')]['get'](_0x477d('0x33ae'))[_0x477d('0x2bda')](_0x397ded[_0x477d('0x320b')]()==0x1&&_0x397ded[_0x477d('0x2a75')]()['getChildCount'](_0x397ded['getSelectionCell']())>0x0);var _0x196137=_0x344433&&_0x397ded[_0x477d('0x320b')]()==0x1;this[_0x477d('0x969')][_0x477d('0x376')](_0x477d('0x34ba'))['setEnabled'](_0x196137&&_0x397ded[_0x477d('0x2a75')]()[_0x477d('0x2e5a')](_0x397ded['getModel']()[_0x477d('0x2e63')](_0x397ded[_0x477d('0x3112')]())));var _0xe552af=[_0x477d('0x1864'),_0x477d('0x8f3'),_0x477d('0x34bb'),_0x477d('0x68f'),_0x477d('0x41b'),'format',_0x477d('0x34bc'),_0x477d('0x34bd'),'spacing'];for(var _0x5cd0ec=0x0;_0x5cd0ec<_0xe552af['length'];_0x5cd0ec++){this[_0x477d('0x343f')]['get'](_0xe552af[_0x5cd0ec])[_0x477d('0x2bda')](_0x1e5f5a);}_0xe552af=[_0x477d('0x28e0'),_0x477d('0x34be'),'linestart'];for(var _0x5cd0ec=0x0;_0x5cd0ec<_0xe552af[_0x477d('0x79')];_0x5cd0ec++){this[_0x477d('0x343f')][_0x477d('0x376')](_0xe552af[_0x5cd0ec])['setEnabled'](_0xb71738);}this[_0x477d('0x969')][_0x477d('0x376')](_0x477d('0x34bf'))[_0x477d('0x2bda')](_0xb71738);this[_0x477d('0x343f')][_0x477d('0x376')](_0x477d('0x1863'))[_0x477d('0x2bda')](_0x397ded[_0x477d('0x320b')]()>0x1);this['menus']['get'](_0x477d('0x603'))[_0x477d('0x2bda')](_0x344433||_0xb71738&&_0x397ded[_0x477d('0x3198')](_0x397ded[_0x477d('0x1672')][_0x477d('0x29df')](_0x397ded[_0x477d('0x3112')]())));this['menus'][_0x477d('0x376')](_0x477d('0x56d'))[_0x477d('0x2bda')](_0x397ded[_0x477d('0x30c7')]&&(_0x397ded[_0x477d('0x1672')]['currentRoot']!=null||_0x397ded['getSelectionCount']()==0x1&&_0x397ded[_0x477d('0x3186')](_0x397ded['getSelectionCell']())));this[_0x477d('0x969')][_0x477d('0x376')]('home')['setEnabled'](_0x397ded['view']['currentRoot']!=null);this[_0x477d('0x969')][_0x477d('0x376')](_0x477d('0x3187'))['setEnabled'](_0x397ded[_0x477d('0x1672')][_0x477d('0x2e70')]!=null);var _0x2cc97b=_0x397ded[_0x477d('0x320b')]()==0x1&&_0x397ded['isValidRoot'](_0x397ded[_0x477d('0x3112')]());this['actions']['get'](_0x477d('0x3185'))['setEnabled'](_0x2cc97b);this['actions'][_0x477d('0x376')](_0x477d('0x590'))[_0x477d('0x2bda')](_0x2cc97b);this[_0x477d('0x969')]['get']('collapse')[_0x477d('0x2bda')](_0x2cc97b);this['actions']['get'](_0x477d('0x34c0'))[_0x477d('0x2bda')](_0x397ded[_0x477d('0x320b')]()==0x1);this[_0x477d('0x969')][_0x477d('0x376')](_0x477d('0x34c1'))['setEnabled'](_0x397ded[_0x477d('0x320b')]()==0x1&&_0x397ded[_0x477d('0x34c2')](_0x397ded[_0x477d('0x3112')]())!=null);});this[_0x477d('0x336e')][_0x477d('0x2c83')][_0x477d('0x320a')]()[_0x477d('0x29b3')](mxEvent['CHANGE'],_0x38fd23);_0x38fd23();};EditorUi[_0x477d('0x798')][_0x477d('0x911')]=function(){var _0x2de801=mxClient['IS_IE']&&(document[_0x477d('0x2955')]==null||document[_0x477d('0x2955')]==0x5);var _0x48f590=this['container'][_0x477d('0x29af')]+0x186;var _0x453ba2=this[_0x477d('0x4e7')][_0x477d('0x29ae')]+0xbe;if(this[_0x477d('0x4e7')]==document[_0x477d('0x399')]){_0x48f590=document[_0x477d('0x399')][_0x477d('0x29af')]||document[_0x477d('0x29ad')][_0x477d('0x29af')];_0x453ba2=_0x2de801?document[_0x477d('0x399')][_0x477d('0x29ae')]||document['documentElement'][_0x477d('0x29ae')]:document[_0x477d('0x29ad')][_0x477d('0x29ae')];}var _0x4ab354=Math[_0x477d('0x13fc')](0x0,Math['min'](this[_0x477d('0x3475')],_0x48f590-this['splitSize']-0x14));var _0xc112ad=Math[_0x477d('0x13fc')](0x0,Math[_0x477d('0x4fa')](this[_0x477d('0x3476')],_0x453ba2-this[_0x477d('0x34c3')]-this[_0x477d('0x34c4')]-this[_0x477d('0x3473')]-0x1));this['menubarContainer'][_0x477d('0x457')][_0x477d('0x504')]=this[_0x477d('0x34c3')]+'px';this[_0x477d('0x3445')][_0x477d('0x457')][_0x477d('0x72a')]=this[_0x477d('0x34c3')]+'px';this[_0x477d('0x3445')][_0x477d('0x457')][_0x477d('0x504')]=this[_0x477d('0x34c4')]+'px';var _0x270b99=this[_0x477d('0x34c3')]+this[_0x477d('0x34c4')];if(!mxClient['IS_QUIRKS']){_0x270b99+=0x1;}this[_0x477d('0x3446')][_0x477d('0x457')][_0x477d('0x72a')]=_0x270b99+'px';this[_0x477d('0x3446')][_0x477d('0x457')][_0x477d('0x4ef')]=_0x4ab354+'px';this['outlineContainer'][_0x477d('0x457')][_0x477d('0x4ef')]=_0x4ab354+'px';this['outlineContainer'][_0x477d('0x457')][_0x477d('0x504')]=_0xc112ad+'px';this['diagramContainer']['style'][_0x477d('0x77e')]=this[_0x477d('0x343e')]()?_0x4ab354+this[_0x477d('0x3473')]+'px':_0x477d('0x551');this[_0x477d('0x3448')][_0x477d('0x457')][_0x477d('0x72a')]=this[_0x477d('0x3446')]['style'][_0x477d('0x72a')];this[_0x477d('0x34c5')]['style'][_0x477d('0x72a')]=this['sidebarContainer'][_0x477d('0x457')][_0x477d('0x72a')];this[_0x477d('0x34c5')]['style'][_0x477d('0x2a9b')]=this[_0x477d('0x346e')][_0x477d('0x457')][_0x477d('0x2a9b')];this[_0x477d('0x34c5')][_0x477d('0x457')][_0x477d('0x77e')]=_0x4ab354+'px';this[_0x477d('0x34c6')][_0x477d('0x457')]['width']=this[_0x477d('0x3446')][_0x477d('0x457')]['width'];this[_0x477d('0x34c6')][_0x477d('0x457')]['bottom']=_0xc112ad+this['footerHeight']+'px';if(_0x2de801){this[_0x477d('0x3442')][_0x477d('0x457')]['width']=_0x48f590+'px';this['toolbarContainer'][_0x477d('0x457')][_0x477d('0x4ef')]=this['menubarContainer'][_0x477d('0x457')][_0x477d('0x4ef')];var _0x13a84b=_0x453ba2-_0xc112ad-this[_0x477d('0x3473')]-this[_0x477d('0x34c3')]-this[_0x477d('0x34c4')];this[_0x477d('0x3446')][_0x477d('0x457')][_0x477d('0x504')]=_0x13a84b+'px';this['diagramContainer'][_0x477d('0x457')][_0x477d('0x4ef')]=_0x48f590-_0x4ab354-this[_0x477d('0x3473')]+'px';var _0x4711a6=_0x453ba2-this[_0x477d('0x34c3')]-this[_0x477d('0x34c4')];this[_0x477d('0x3448')][_0x477d('0x457')][_0x477d('0x504')]=_0x4711a6+'px';this[_0x477d('0x34c5')]['style'][_0x477d('0x504')]=_0x4711a6+'px';}else{this[_0x477d('0x3446')]['style'][_0x477d('0x2a9b')]=_0xc112ad+this[_0x477d('0x3473')]+'px';this[_0x477d('0x3448')][_0x477d('0x457')][_0x477d('0x2a9b')]=this[_0x477d('0x346e')][_0x477d('0x457')][_0x477d('0x2a9b')];}};EditorUi['prototype']['createDivs']=function(){this['menubarContainer']=this[_0x477d('0x2d31')]('geMenubarContainer');this['toolbarContainer']=this[_0x477d('0x2d31')]('geToolbarContainer');this[_0x477d('0x3446')]=this[_0x477d('0x2d31')](_0x477d('0x34c7'));this[_0x477d('0x346e')]=this[_0x477d('0x2d31')](_0x477d('0x34c8'));this['diagramContainer']=this['createDiv']('geDiagramContainer');this[_0x477d('0x3447')]=this[_0x477d('0x2d31')](_0x477d('0x34c9'));this[_0x477d('0x34c5')]=this[_0x477d('0x2d31')](_0x477d('0x34ca'));this[_0x477d('0x34c6')]=this['createDiv'](_0x477d('0x34cb'));this['menubarContainer']['style'][_0x477d('0x72a')]=_0x477d('0x551');this['menubarContainer'][_0x477d('0x457')]['left']='0px';this[_0x477d('0x3442')][_0x477d('0x457')][_0x477d('0x5ad')]=_0x477d('0x551');this['toolbarContainer'][_0x477d('0x457')]['left']=_0x477d('0x551');this['toolbarContainer'][_0x477d('0x457')]['right']='0px';this[_0x477d('0x3446')]['style'][_0x477d('0x77e')]=_0x477d('0x551');this[_0x477d('0x346e')][_0x477d('0x457')][_0x477d('0x2a9b')]=_0x477d('0x551');this[_0x477d('0x346e')]['style'][_0x477d('0x77e')]=_0x477d('0x551');this[_0x477d('0x3448')]['style']['overflow']=_0x477d('0x78e');this[_0x477d('0x3448')][_0x477d('0x457')][_0x477d('0x5ad')]=_0x477d('0x551');this[_0x477d('0x3447')][_0x477d('0x457')][_0x477d('0x77e')]=_0x477d('0x551');this[_0x477d('0x3447')][_0x477d('0x457')][_0x477d('0x5ad')]=_0x477d('0x551');this[_0x477d('0x3447')][_0x477d('0x457')][_0x477d('0x2a9b')]='0px';this['vsplit'][_0x477d('0x457')][_0x477d('0x77e')]=_0x477d('0x551');this['vsplit'][_0x477d('0x457')]['height']=this[_0x477d('0x3473')]+'px';this[_0x477d('0x34c5')][_0x477d('0x457')][_0x477d('0x4ef')]=this['splitSize']+'px';};EditorUi[_0x477d('0x798')]['createUi']=function(){this[_0x477d('0x34cc')]=this[_0x477d('0x343f')][_0x477d('0x34cd')](this[_0x477d('0x2d31')](_0x477d('0x34ce')));this[_0x477d('0x3442')][_0x477d('0xd8f')](this[_0x477d('0x34cc')][_0x477d('0x4e7')]);this[_0x477d('0x337b')]=this[_0x477d('0x338a')](this['createDiv'](_0x477d('0x34cf')));this[_0x477d('0x3445')][_0x477d('0xd8f')](this[_0x477d('0x337b')]['container']);this[_0x477d('0x1670')]=this[_0x477d('0x34d0')](this['sidebarContainer']);this[_0x477d('0x3447')][_0x477d('0xd8f')](this[_0x477d('0x34d1')]());this['statusContainer']=this[_0x477d('0x34d2')]();this[_0x477d('0x336e')][_0x477d('0x29b3')](_0x477d('0x34d3'),mxUtils[_0x477d('0x5d6')](this,function(){this[_0x477d('0x34d4')](this[_0x477d('0x336e')][_0x477d('0x2b7c')]());}));this[_0x477d('0x34d4')](this[_0x477d('0x336e')][_0x477d('0x2b7c')]());this[_0x477d('0x34cc')]['container']['appendChild'](this['statusContainer']);if(this[_0x477d('0x343e')]()){this['container'][_0x477d('0xd8f')](this[_0x477d('0x3446')]);this['container']['appendChild'](this['hsplit']);this['container'][_0x477d('0xd8f')](this['vsplit']);}this[_0x477d('0x4e7')]['appendChild'](this[_0x477d('0x3448')]);this['container'][_0x477d('0xd8f')](this['menubarContainer']);this[_0x477d('0x4e7')][_0x477d('0xd8f')](this[_0x477d('0x3445')]);this['container'][_0x477d('0xd8f')](this[_0x477d('0x346e')]);this[_0x477d('0x4e7')][_0x477d('0xd8f')](this[_0x477d('0x3447')]);this[_0x477d('0x34d5')](this[_0x477d('0x34c5')],!![],0x0,mxUtils['bind'](this,function(_0x10631f){this[_0x477d('0x3475')]=_0x10631f;this[_0x477d('0x911')]();this[_0x477d('0x336e')][_0x477d('0x2c83')][_0x477d('0x3063')]();this[_0x477d('0x336e')][_0x477d('0x2fd7')]['update'](![]);this[_0x477d('0x336e')][_0x477d('0x2fd7')][_0x477d('0x2fd7')][_0x477d('0x3063')]();}));this[_0x477d('0x34d5')](this[_0x477d('0x34c6')],![],this[_0x477d('0x3474')],mxUtils[_0x477d('0x5d6')](this,function(_0x5f088f){this['vsplitPosition']=_0x5f088f;this[_0x477d('0x911')]();this['editor'][_0x477d('0x2fd7')]['update'](![]);this[_0x477d('0x336e')][_0x477d('0x2fd7')][_0x477d('0x2fd7')][_0x477d('0x3063')]();}));};EditorUi[_0x477d('0x798')][_0x477d('0x34d2')]=function(){var _0x2f93cc=document[_0x477d('0x3c7')]('a');_0x2f93cc[_0x477d('0x471')]=_0x477d('0x34d6');return _0x2f93cc;};EditorUi[_0x477d('0x798')]['createStatusContainer']=function(){var _0x18b41a=document[_0x477d('0x3c7')]('a');_0x18b41a[_0x477d('0x471')]=_0x477d('0x34d6');return _0x18b41a;};EditorUi['prototype'][_0x477d('0x34d4')]=function(_0xe0ff4f){this[_0x477d('0x34d7')][_0x477d('0x2a0d')]=_0xe0ff4f;};EditorUi['prototype'][_0x477d('0x338a')]=function(_0x222c44){return new Toolbar(this,_0x222c44);};EditorUi['prototype'][_0x477d('0x34d0')]=function(_0x5c1e2b){return new Sidebar(this,_0x5c1e2b);};EditorUi[_0x477d('0x798')][_0x477d('0x34d1')]=function(){return this['createDiv']('geFooter');};EditorUi['prototype'][_0x477d('0x2d31')]=function(_0x38a007){var _0x5cc916=document[_0x477d('0x3c7')](_0x477d('0x2a6d'));_0x5cc916['className']=_0x38a007;return _0x5cc916;};EditorUi[_0x477d('0x798')][_0x477d('0x34d8')]=function(_0x17fd9b){var _0x154cc5=document[_0x477d('0x3c7')](_0x17fd9b);return _0x154cc5;};EditorUi[_0x477d('0x798')][_0x477d('0x34d9')]=function(_0x3da239){var _0x343760=document[_0x477d('0x3c7')](_0x477d('0x4dd'));_0x343760[_0x477d('0x471')]=_0x3da239;return _0x343760;};EditorUi[_0x477d('0x798')]['addSplitHandler']=function(_0x5d9397,_0x3b4c76,_0x274571,_0x1014ba){var _0x279e93=null;var _0x21cf99=null;function _0x1456e8(){return parseInt(_0x3b4c76?_0x5d9397[_0x477d('0x457')][_0x477d('0x77e')]:_0x5d9397['style']['bottom']);}function _0x3a145f(_0x10e36e){if(_0x279e93!=null){var _0x461ae0=new mxPoint(mxEvent['getClientX'](_0x10e36e),mxEvent[_0x477d('0x2b1d')](_0x10e36e));_0x1014ba(Math['max'](0x0,_0x21cf99+(_0x3b4c76?_0x461ae0['x']-_0x279e93['x']:_0x279e93['y']-_0x461ae0['y'])-_0x274571));mxEvent[_0x477d('0x2b15')](_0x10e36e);}}function _0x32e034(_0xba2bfe){_0x3a145f(_0xba2bfe);_0x279e93=null;_0x21cf99=null;}mxEvent[_0x477d('0x2b30')](_0x5d9397,function(_0x272e50){_0x279e93=new mxPoint(mxEvent[_0x477d('0x2ba9')](_0x272e50),mxEvent[_0x477d('0x2b1d')](_0x272e50));_0x21cf99=_0x1456e8();mxEvent[_0x477d('0x2b15')](_0x272e50);});mxEvent[_0x477d('0x29b3')](document,_0x477d('0x2b2f'),_0x3a145f);mxEvent[_0x477d('0x29b3')](document,'touchmove',_0x3a145f);mxEvent['addListener'](document,_0x477d('0x2b2b'),_0x32e034);mxEvent[_0x477d('0x29b3')](document,_0x477d('0x2b41'),_0x32e034);};EditorUi[_0x477d('0x798')][_0x477d('0x3247')]=function(_0x482a25,_0x22e754,_0x23d48c){var _0x55bfca=this[_0x477d('0x336e')][_0x477d('0x2c83')];var _0x8b8519=_0x55bfca[_0x477d('0x3112')]();_0x22e754=this[_0x477d('0x54f')]!=null?this[_0x477d('0x54f')]:_0x22e754;_0x55bfca[_0x477d('0x2a75')]()['beginUpdate']();try{_0x482a25[_0x477d('0x2a12')](_0x55bfca[_0x477d('0x3147')](),_0x8b8519);}catch(_0x881850){throw _0x881850;}finally{if(_0x22e754&&navigator[_0x477d('0x96f')]['indexOf'](_0x477d('0x97b'))<0x0){var _0xe312ac=new mxMorphing(_0x55bfca);_0xe312ac[_0x477d('0x29b3')](mxEvent[_0x477d('0x34da')],mxUtils['bind'](this,function(){_0x55bfca[_0x477d('0x2a75')]()[_0x477d('0x2a67')]();}));_0xe312ac[_0x477d('0x2c89')]();}else{_0x55bfca[_0x477d('0x2a75')]()[_0x477d('0x2a67')]();}}};EditorUi[_0x477d('0x798')][_0x477d('0x3471')]=function(_0x2ed107){var _0x16746d=this[_0x477d('0x336e')]['graph'];var _0xbaceb1=new mxKeyHandler(_0x16746d);_0xbaceb1[_0x477d('0x2b3e')]=function(_0x4d2c63){return mxEvent[_0x477d('0x2b3e')](_0x4d2c63)||mxClient[_0x477d('0x319a')]&&_0x4d2c63[_0x477d('0x2b3f')];};function _0x27c759(_0x74da4a){if(!_0x16746d[_0x477d('0x3209')]()){var _0x5f1536=0x0;var _0x3f7496=0x0;if(_0x74da4a==0x25){_0x5f1536=-0x1;}else if(_0x74da4a==0x26){_0x3f7496=-0x1;}else if(_0x74da4a==0x27){_0x5f1536=0x1;}else if(_0x74da4a==0x28){_0x3f7496=0x1;}_0x16746d['moveCells'](_0x16746d[_0x477d('0x2b89')](),_0x5f1536,_0x3f7496);_0x16746d['scrollCellToVisible'](_0x16746d[_0x477d('0x3112')]());}}var _0x560095=mxUtils[_0x477d('0x5d6')](this,function(_0x5ef567,_0x5edf71,_0x5d16c0,_0x12fd9a){var _0x46191d=this['actions'][_0x477d('0x376')](_0x5d16c0);if(_0x46191d!=null){var _0x176769=function(){if(_0x46191d[_0x477d('0x3b4')]){_0x46191d[_0x477d('0x2c05')]();}};if(_0x5edf71){if(_0x12fd9a){_0xbaceb1[_0x477d('0x3364')](_0x5ef567,_0x176769);}else{_0xbaceb1[_0x477d('0x3372')](_0x5ef567,_0x176769);}}else{if(_0x12fd9a){_0xbaceb1[_0x477d('0x3363')](_0x5ef567,_0x176769);}else{_0xbaceb1[_0x477d('0x3362')](_0x5ef567,_0x176769);}}}});var _0xb6131c=this;_0xbaceb1[_0x477d('0x671')]=function(){};_0xbaceb1[_0x477d('0x3362')](0x8,function(){_0x16746d['foldCells'](!![]);});_0xbaceb1[_0x477d('0x3362')](0xd,function(){_0x16746d['foldCells'](![]);});_0xbaceb1[_0x477d('0x3362')](0x21,function(){_0x16746d[_0x477d('0x3187')]();});_0xbaceb1['bindKey'](0x22,function(){_0x16746d['enterGroup']();});_0xbaceb1[_0x477d('0x3362')](0x24,function(){_0x16746d[_0x477d('0x3188')]();});_0xbaceb1[_0x477d('0x3362')](0x23,function(){_0x16746d['refresh']();});_0xbaceb1[_0x477d('0x3362')](0x25,function(){_0x27c759(0x25);});_0xbaceb1[_0x477d('0x3362')](0x26,function(){_0x27c759(0x26);});_0xbaceb1[_0x477d('0x3362')](0x27,function(){_0x27c759(0x27);});_0xbaceb1['bindKey'](0x28,function(){_0x27c759(0x28);});_0xbaceb1[_0x477d('0x3362')](0x71,function(){_0x16746d[_0x477d('0x3111')]();});_0x560095(0x2e,![],_0x477d('0xa55'));_0x560095(0x52,!![],_0x477d('0x34b9'));_0x560095(0x53,!![],_0x477d('0xd70'));_0x560095(0x53,!![],_0x477d('0x34db'),!![]);_0x560095(0x6b,![],'zoomIn');_0x560095(0x6d,![],_0x477d('0x33af'));_0x560095(0x41,!![],_0x477d('0x6e5'));_0x560095(0x56,!![],_0x477d('0x3215'),!![]);_0x560095(0x45,!![],'selectEdges',!![]);_0x560095(0x45,!![],_0x477d('0xeea'));_0x560095(0x42,!![],_0x477d('0x34b8'));_0x560095(0x46,!![],_0x477d('0x33b4'));_0x560095(0x44,!![],_0x477d('0x14d2'));_0x560095(0x5a,!![],_0x477d('0x185f'));_0x560095(0x59,!![],_0x477d('0x2c4b'));_0x560095(0x58,!![],_0x477d('0x33ac'));_0x560095(0x43,!![],_0x477d('0x6d9'));_0x560095(0x51,!![],_0x477d('0x678'));_0x560095(0x56,!![],_0x477d('0x33ad'));_0x560095(0x47,!![],_0x477d('0x587'));_0x560095(0x47,!![],'grid',!![]);_0x560095(0x55,!![],_0x477d('0x33ae'));_0x560095(0x70,![],_0x477d('0x34dc'));_0x560095(0x50,!![],_0x477d('0x34dd'),!![]);return _0xbaceb1;};EditorUi[_0x477d('0x798')]['createMultiplicities']=function(_0x4ed15e,_0x15030d,_0x5d9961,_0x153255){for(var _0x194d12=0x0;_0x194d12<_0x15030d['length'];_0x194d12++){_0x4ed15e['push'](new mxMultiplicity(!![],_0x15030d[_0x194d12],null,null,_0x5d9961[_0x194d12][0x0],_0x5d9961[_0x194d12][0x1],null,mxResources['get'](_0x15030d[_0x194d12])+mxResources['get']('musthave')+_0x5d9961[_0x194d12][0x0]+mxResources[_0x477d('0x376')](_0x477d('0x34de')),null));_0x4ed15e['push'](new mxMultiplicity(![],_0x15030d[_0x194d12],null,null,_0x153255[_0x194d12][0x0],_0x153255[_0x194d12][0x1],null,mxResources[_0x477d('0x376')](_0x15030d[_0x194d12])+mxResources[_0x477d('0x376')](_0x477d('0x34df'))+_0x153255[_0x194d12][0x0]+mxResources[_0x477d('0x376')](_0x477d('0x34e0')),null));}};var useLocalStorage=(mxClient['IS_TOUCH']||urlParams[_0x477d('0x34e1')]==_0x477d('0x38f'))&&typeof localStorage!=_0x477d('0x4a4');var fileSupport=window[_0x477d('0x34e2')]!=null&&window[_0x477d('0x34e3')]!=null&&window[_0x477d('0x34e4')]!=null;var touchStyle=mxClient[_0x477d('0x2b2c')]||urlParams['touch']=='1';var counter=0x0;try{var op=window;while(op[_0x477d('0x347c')]!=null&&!isNaN(op[_0x477d('0x347c')]['counter'])){op=op['opener'];}if(op!=null){op['counter']++;counter=op[_0x477d('0x29c4')];}}catch(_0x2a8ea5){}Editor=function(){mxEventSource[_0x477d('0x482')](this);this[_0x477d('0x5ee')]();this[_0x477d('0x34e5')]();this['graph']=new Graph();this[_0x477d('0x2fd7')]=new mxOutline(this[_0x477d('0x2c83')]);this[_0x477d('0x2fd7')][_0x477d('0x3221')]=!![];this['undoManager']=this['createUndoManager']();this[_0x477d('0x3c3')]='';this[_0x477d('0x6c8')]=null;this[_0x477d('0x34e6')]=function(){return this[_0x477d('0x6c8')]||mxResources[_0x477d('0x376')](_0x477d('0x34e7'),[counter])+_0x477d('0x347b');};this[_0x477d('0x34e8')]=function(){return this[_0x477d('0x6c8')];};this[_0x477d('0x33e1')]=function(_0x25aab2){this[_0x477d('0x3c3')]=_0x25aab2;this[_0x477d('0x2b26')](new mxEventObject(_0x477d('0x34d3')));};this['getStatus']=function(){return this['status'];};this[_0x477d('0x2fcf')]=![];this[_0x477d('0x34e9')]=function(){this[_0x477d('0x2fcf')]=!![];};this[_0x477d('0x2c83')]['getModel']()[_0x477d('0x29b3')](mxEvent[_0x477d('0x2c36')],mxUtils[_0x477d('0x5d6')](this,function(){this[_0x477d('0x34e9')]['apply'](this,arguments);}));window['onbeforeunload']=mxUtils['bind'](this,function(){if(this[_0x477d('0x2fcf')]){return mxResources[_0x477d('0x376')]('allChangesLost');}});this[_0x477d('0x2c83')][_0x477d('0x3105')]=![];this['graph']['scrollbars']=!![];this[_0x477d('0x2c83')]['background']=null;};mxUtils[_0x477d('0x3d1')](Editor,mxEventSource);Editor['prototype']['gridImage']=IMAGE_PATH+'/grid.gif';Editor[_0x477d('0x798')][_0x477d('0x34ea')]=IMAGE_PATH+_0x477d('0x2d68');Editor[_0x477d('0x798')][_0x477d('0x347f')]=function(_0x2dd7dd){var _0x4c3ea5=new mxCodec(_0x2dd7dd[_0x477d('0x29f0')]);if(_0x2dd7dd[_0x477d('0x2a01')]==_0x477d('0x34eb')){this['graph'][_0x477d('0x1672')][_0x477d('0x29d8')]=Number(_0x2dd7dd[_0x477d('0x29eb')](_0x477d('0x29d8'))||0x1);this[_0x477d('0x2c83')][_0x477d('0x2bdd')]=_0x2dd7dd[_0x477d('0x29eb')](_0x477d('0x34ec'))!='0';this[_0x477d('0x2c83')][_0x477d('0x30fd')][_0x477d('0x2bd7')]=_0x2dd7dd['getAttribute'](_0x477d('0x3291'))!='0';this[_0x477d('0x2c83')][_0x477d('0x33cc')](_0x2dd7dd[_0x477d('0x29eb')](_0x477d('0x34ed'))!='0');this[_0x477d('0x2c83')][_0x477d('0x2f62')](_0x2dd7dd[_0x477d('0x29eb')]('connect')!='0');this[_0x477d('0x2c83')]['foldingEnabled']=_0x2dd7dd[_0x477d('0x29eb')](_0x477d('0x34ee'))!='0';this[_0x477d('0x2c83')][_0x477d('0x2c58')]=_0x2dd7dd[_0x477d('0x29eb')]('scrollbars')!='0';if(!this[_0x477d('0x2c83')][_0x477d('0x2c58')]){this[_0x477d('0x2c83')][_0x477d('0x4e7')][_0x477d('0x781')]=0x0;this[_0x477d('0x2c83')][_0x477d('0x4e7')][_0x477d('0x52a')]=0x0;this[_0x477d('0x2c83')][_0x477d('0x1672')][_0x477d('0x454')]['x']=Number(_0x2dd7dd[_0x477d('0x29eb')]('dx')||0x0);this[_0x477d('0x2c83')][_0x477d('0x1672')][_0x477d('0x454')]['y']=Number(_0x2dd7dd[_0x477d('0x29eb')]('dy')||0x0);}this[_0x477d('0x2c83')][_0x477d('0x30bc')]=_0x2dd7dd['getAttribute'](_0x477d('0xe03'))=='1';this['graph']['pageBreaksVisible']=this['graph']['pageVisible'];this[_0x477d('0x2c83')][_0x477d('0x30c0')]=this[_0x477d('0x2c83')][_0x477d('0x30bd')];var _0x6b4b15=_0x2dd7dd[_0x477d('0x29eb')](_0x477d('0x2f6f'));if(_0x6b4b15!=null){this[_0x477d('0x2c83')][_0x477d('0x2f6f')]=_0x6b4b15;}else{this['graph'][_0x477d('0x2f6f')]=1.5;}var _0x46f65b=_0x2dd7dd[_0x477d('0x29eb')](_0x477d('0x34ef'));var _0x3fdf44=_0x2dd7dd[_0x477d('0x29eb')](_0x477d('0x34f0'));if(_0x46f65b!=null&&_0x3fdf44!=null){this['graph'][_0x477d('0x2f70')]=new mxRectangle(0x0,0x0,parseFloat(_0x46f65b),parseFloat(_0x3fdf44));this['outline'][_0x477d('0x2fd7')][_0x477d('0x2f70')]=this[_0x477d('0x2c83')][_0x477d('0x2f70')];}var _0x380b6d=_0x2dd7dd[_0x477d('0x29eb')](_0x477d('0x9fe'));if(_0x380b6d!=null&&_0x380b6d[_0x477d('0x79')]>0x0){this[_0x477d('0x2c83')][_0x477d('0x9fe')]=_0x380b6d;}_0x4c3ea5['decode'](_0x2dd7dd,this[_0x477d('0x2c83')][_0x477d('0x2a75')]());this[_0x477d('0x34f1')]();}};Editor['prototype'][_0x477d('0x34f2')]=function(){var _0x282d01=new mxCodec(mxUtils[_0x477d('0x29f9')]());var _0x3c6f89=_0x282d01[_0x477d('0x2a80')](this[_0x477d('0x2c83')][_0x477d('0x2a75')]());if(this['graph'][_0x477d('0x1672')]['translate']['x']!=0x0||this['graph'][_0x477d('0x1672')][_0x477d('0x454')]['y']!=0x0){_0x3c6f89[_0x477d('0x494')]('dx',Math[_0x477d('0x4fc')](this[_0x477d('0x2c83')][_0x477d('0x1672')][_0x477d('0x454')]['x']*0x64)/0x64);_0x3c6f89[_0x477d('0x494')]('dy',Math['round'](this['graph']['view'][_0x477d('0x454')]['y']*0x64)/0x64);}if(this[_0x477d('0x2c83')][_0x477d('0x1672')][_0x477d('0x29d8')]!=0x1){_0x3c6f89[_0x477d('0x494')](_0x477d('0x29d8'),Math['round'](this[_0x477d('0x2c83')]['view'][_0x477d('0x29d8')]*0x3e8)/0x3e8);}_0x3c6f89[_0x477d('0x494')](_0x477d('0x34ec'),this[_0x477d('0x2c83')]['isGridEnabled']()?'1':'0');_0x3c6f89['setAttribute'](_0x477d('0x3291'),this['graph'][_0x477d('0x30fd')][_0x477d('0x2bd7')]?'1':'0');_0x3c6f89[_0x477d('0x494')](_0x477d('0x3291'),this[_0x477d('0x2c83')]['graphHandler'][_0x477d('0x2bd7')]?'1':'0');_0x3c6f89[_0x477d('0x494')]('tooltips',this[_0x477d('0x2c83')][_0x477d('0x3076')][_0x477d('0x2c6f')]()?'1':'0');_0x3c6f89[_0x477d('0x494')]('connect',this['graph'][_0x477d('0x30fc')]['isEnabled']()?'1':'0');_0x3c6f89[_0x477d('0x494')](_0x477d('0x34ee'),this[_0x477d('0x2c83')][_0x477d('0x30c7')]?'1':'0');_0x3c6f89[_0x477d('0x494')](_0x477d('0xe03'),this[_0x477d('0x2c83')][_0x477d('0x30bc')]?'1':'0');_0x3c6f89[_0x477d('0x494')]('pageScale',this[_0x477d('0x2c83')]['pageScale']);_0x3c6f89[_0x477d('0x494')](_0x477d('0x34ef'),this['graph'][_0x477d('0x2f70')][_0x477d('0x4ef')]);_0x3c6f89[_0x477d('0x494')](_0x477d('0x34f0'),this[_0x477d('0x2c83')]['pageFormat'][_0x477d('0x504')]);if(!this['graph'][_0x477d('0x2c58')]){_0x3c6f89[_0x477d('0x494')](_0x477d('0x2c58'),'0');}if(this['graph'][_0x477d('0x9fe')]!=null){_0x3c6f89[_0x477d('0x494')](_0x477d('0x9fe'),this[_0x477d('0x2c83')]['background']);}return _0x3c6f89;};Editor[_0x477d('0x798')][_0x477d('0x34f1')]=function(){var _0x8a6d54=this[_0x477d('0x2c83')];var _0x17dc71=this[_0x477d('0x2fd7')];if(_0x8a6d54[_0x477d('0x4e7')]!=null&&_0x17dc71[_0x477d('0x2fd7')]['container']!=null){if(_0x8a6d54['background']!=null){if(_0x8a6d54[_0x477d('0x9fe')]=='none'){_0x8a6d54['container'][_0x477d('0x457')][_0x477d('0x2bf8')]='transparent';}else{if(_0x8a6d54['view'][_0x477d('0x3075')]!=null){_0x8a6d54[_0x477d('0x1672')][_0x477d('0x3075')][_0x477d('0x2d00')]=_0x8a6d54['background'];_0x8a6d54['view'][_0x477d('0x3075')][_0x477d('0x2dc1')]();}_0x8a6d54[_0x477d('0x4e7')][_0x477d('0x457')][_0x477d('0x2bf8')]=_0x8a6d54['background'];}}else{_0x8a6d54[_0x477d('0x4e7')][_0x477d('0x457')][_0x477d('0x2bf8')]='';}if(_0x8a6d54[_0x477d('0x30bc')]){_0x8a6d54[_0x477d('0x4e7')][_0x477d('0x457')][_0x477d('0x2bf8')]='#ebebeb';_0x8a6d54[_0x477d('0x4e7')]['style'][_0x477d('0x2a60')]=_0x477d('0x2e03');_0x8a6d54[_0x477d('0x4e7')][_0x477d('0x457')][_0x477d('0x2e02')]=_0x477d('0x34f3');_0x8a6d54[_0x477d('0x4e7')][_0x477d('0x457')][_0x477d('0x3123')]=_0x477d('0x2bae');_0x8a6d54[_0x477d('0x4e7')][_0x477d('0x457')][_0x477d('0x34f4')]=_0x477d('0x2bae');_0x8a6d54[_0x477d('0x4e7')]['style']['borderRightWidth']='0px';_0x8a6d54['container']['style']['borderBottomWidth']=_0x477d('0x551');}else{_0x8a6d54[_0x477d('0x4e7')][_0x477d('0x457')][_0x477d('0x2a61')]='';}_0x17dc71[_0x477d('0x2fd7')][_0x477d('0x4e7')][_0x477d('0x457')][_0x477d('0x2bf8')]=_0x8a6d54[_0x477d('0x4e7')]['style'][_0x477d('0x2bf8')];if(_0x17dc71[_0x477d('0x2fd7')][_0x477d('0x30bc')]!=_0x8a6d54[_0x477d('0x30bc')]||_0x17dc71[_0x477d('0x2fd7')]['pageScale']!=_0x8a6d54[_0x477d('0x2f6f')]){_0x17dc71[_0x477d('0x2fd7')]['pageScale']=_0x8a6d54['pageScale'];_0x17dc71[_0x477d('0x2fd7')][_0x477d('0x30bc')]=_0x8a6d54[_0x477d('0x30bc')];_0x17dc71[_0x477d('0x2fd7')][_0x477d('0x1672')]['validate']();}if(_0x8a6d54[_0x477d('0x2c58')]&&_0x8a6d54[_0x477d('0x4e7')][_0x477d('0x457')][_0x477d('0x29e9')]=='hidden'&&!touchStyle){_0x8a6d54[_0x477d('0x4e7')][_0x477d('0x457')][_0x477d('0x29e9')]=_0x477d('0x593');}else if(!_0x8a6d54[_0x477d('0x2c58')]||touchStyle){_0x8a6d54[_0x477d('0x4e7')][_0x477d('0x457')]['overflow']=_0x477d('0x54d');}var _0x4aae25=mxClient['IS_IE']&&document[_0x477d('0x2955')]>=0x9?_0x477d('0x344a')+this['transparentImage']+')':'none';_0x8a6d54[_0x477d('0x4e7')]['style'][_0x477d('0x2df2')]=!_0x8a6d54[_0x477d('0x30bc')]&&_0x8a6d54['isGridEnabled']()?_0x477d('0x344a')+this['gridImage']+')':_0x4aae25;if(_0x8a6d54['view'][_0x477d('0x3075')]!=null){_0x8a6d54[_0x477d('0x1672')][_0x477d('0x3075')][_0x477d('0x584')][_0x477d('0x457')][_0x477d('0x2df2')]=this[_0x477d('0x2c83')]['isGridEnabled']()?_0x477d('0x344a')+this[_0x477d('0x344b')]+')':'none';}}};Editor[_0x477d('0x798')][_0x477d('0x5ee')]=function(){if(mxClient['IS_IE6']){mxClient[_0x477d('0x2979')]('stylesheet',CSS_PATH+'/grapheditor-ie6.css');}mxResources[_0x477d('0x29c8')]=![];mxResources[_0x477d('0x440')](RESOURCE_BASE);mxConstants['DEFAULT_HOTSPOT']=0.3;var _0x1be1a9=mxConnectionHandler[_0x477d('0x798')][_0x477d('0x2e42')];mxConnectionHandler[_0x477d('0x798')]['createMarker']=function(){var _0x3709ad=_0x1be1a9['apply'](this,arguments);_0x3709ad[_0x477d('0x2ec5')]=mxUtils['bind'](this,function(_0x3cb692,_0x33a7fe){if(this['isConnecting']()){return!![];}return mxCellMarker['prototype']['intersects'][_0x477d('0x4f5')](_0x3709ad,arguments);});return _0x3709ad;};mxConstants['SHADOWCOLOR']='#d0d0d0';mxConstants['HANDLE_FILLCOLOR']=_0x477d('0x34f5');mxConstants[_0x477d('0x3326')]=_0x477d('0x34f6');mxConstants[_0x477d('0x34f7')]=_0x477d('0x34f8');mxConstants['OUTLINE_COLOR']='#00a8ff';mxConstants['OUTLINE_HANDLE_FILLCOLOR']='#99ccff';mxConstants[_0x477d('0x3232')]=_0x477d('0x34f8');mxConstants[_0x477d('0x3350')]=_0x477d('0x34f9');mxConstants[_0x477d('0x34fa')]=_0x477d('0x34f8');mxConstants[_0x477d('0x32fb')]=_0x477d('0x34f8');mxConstants[_0x477d('0x331b')]=_0x477d('0x34f9');mxConstants[_0x477d('0x2d8e')]=_0x477d('0x34f6');mxGraph[_0x477d('0x798')][_0x477d('0x30be')]=_0x477d('0x34fb');mxGraph['prototype'][_0x477d('0x2f6f')]=0x1;mxRubberband[_0x477d('0x798')]['defaultOpacity']=0x1e;mxGraphView['prototype']['createBackgroundPageShape']=function(_0x5a883f){return new mxRectangleShape(_0x5a883f,this[_0x477d('0x2c83')][_0x477d('0x9fe')]||_0x477d('0x2d27'),'#cacaca');};mxGraphView[_0x477d('0x798')][_0x477d('0x3078')]=function(){var _0x5e166e=this[_0x477d('0x2a83')]();var _0x187d9a=_0x5e166e[_0x477d('0x4ef')]>0x0?_0x5e166e['x']/this[_0x477d('0x29d8')]-this[_0x477d('0x454')]['x']:0x0;var _0x2ad135=_0x5e166e[_0x477d('0x504')]>0x0?_0x5e166e['y']/this[_0x477d('0x29d8')]-this[_0x477d('0x454')]['y']:0x0;var _0x38bbcf=_0x5e166e[_0x477d('0x4ef')]/this['scale'];var _0x2942e4=_0x5e166e[_0x477d('0x504')]/this[_0x477d('0x29d8')];var _0x9d7a21=this[_0x477d('0x2c83')]['pageFormat'];var _0x507d40=this[_0x477d('0x2c83')][_0x477d('0x2f6f')];var _0x3e9c26=_0x9d7a21[_0x477d('0x4ef')]*_0x507d40;var _0x2022cc=_0x9d7a21[_0x477d('0x504')]*_0x507d40;var _0x560a36=Math['floor'](Math[_0x477d('0x4fa')](0x0,_0x187d9a)/_0x3e9c26);var _0xf19aeb=Math[_0x477d('0x6c4')](Math[_0x477d('0x4fa')](0x0,_0x2ad135)/_0x2022cc);var _0x27eb63=Math['ceil'](Math[_0x477d('0x13fc')](0x1,_0x187d9a+_0x38bbcf)/_0x3e9c26);var _0x349477=Math[_0x477d('0x2a46')](Math[_0x477d('0x13fc')](0x1,_0x2ad135+_0x2942e4)/_0x2022cc);var _0x43771c=_0x27eb63-_0x560a36;var _0x4dd638=_0x349477-_0xf19aeb;var _0x1d70c4=new mxRectangle(this[_0x477d('0x29d8')]*(this[_0x477d('0x454')]['x']+_0x560a36*_0x3e9c26),this[_0x477d('0x29d8')]*(this[_0x477d('0x454')]['y']+_0xf19aeb*_0x2022cc),this[_0x477d('0x29d8')]*_0x43771c*_0x3e9c26,this['scale']*_0x4dd638*_0x2022cc);return _0x1d70c4;};var _0x20dc95=mxGraph[_0x477d('0x798')][_0x477d('0x2c5b')];mxGraph[_0x477d('0x798')][_0x477d('0x2c5b')]=function(_0x152bb9,_0x11f6e3){_0x20dc95[_0x477d('0x4f5')](this,arguments);if(this[_0x477d('0x2d93')]!=mxConstants['DIALECT_SVG']&&this[_0x477d('0x1672')][_0x477d('0x3075')]!=null&&(!this['useScrollbarsForPanning']||!mxUtils['hasScrollbars'](this['container']))){this['view'][_0x477d('0x3075')]['node'][_0x477d('0x457')]['marginLeft']=_0x152bb9+'px';this['view'][_0x477d('0x3075')][_0x477d('0x584')][_0x477d('0x457')][_0x477d('0x2bbf')]=_0x11f6e3+'px';}};var _0xbd83ba=this;mxGraphView[_0x477d('0x798')]['validateBackground']=function(){var _0x417e33=this[_0x477d('0x2c83')]['getBackgroundImage']();if(_0x417e33!=null){if(this[_0x477d('0x2df2')]==null||this['backgroundImage'][_0x477d('0x12ab')]!=_0x417e33[_0x477d('0x49b')]){if(this[_0x477d('0x2df2')]!=null){this[_0x477d('0x2df2')][_0x477d('0x2a81')]();}var _0x2c10ba=new mxRectangle(0x0,0x0,0x1,0x1);this['backgroundImage']=new mxImageShape(_0x2c10ba,_0x417e33['src']);this[_0x477d('0x2df2')][_0x477d('0x2d93')]=this[_0x477d('0x2c83')][_0x477d('0x2d93')];this[_0x477d('0x2df2')]['init'](this[_0x477d('0x2f93')]);this[_0x477d('0x2df2')][_0x477d('0x2d97')]();}this['redrawBackgroundImage'](this[_0x477d('0x2df2')],_0x417e33);}else if(this['backgroundImage']!=null){this['backgroundImage'][_0x477d('0x2a81')]();this[_0x477d('0x2df2')]=null;}if(this[_0x477d('0x2c83')][_0x477d('0x30bc')]){var _0x2c10ba=this[_0x477d('0x3078')]();if(this['backgroundPageShape']==null){this[_0x477d('0x3075')]=this[_0x477d('0x34fc')](_0x2c10ba);this[_0x477d('0x3075')]['scale']=0x1;this['backgroundPageShape'][_0x477d('0x2dd4')]=!![];this['backgroundPageShape']['dialect']=mxConstants[_0x477d('0x3016')];this[_0x477d('0x3075')][_0x477d('0x5ee')](this[_0x477d('0x2c83')][_0x477d('0x4e7')]);this['graph'][_0x477d('0x4e7')][_0x477d('0x29ec')][_0x477d('0x457')]['position']='absolute';this[_0x477d('0x2c83')][_0x477d('0x4e7')]['insertBefore'](this[_0x477d('0x3075')][_0x477d('0x584')],this[_0x477d('0x2c83')][_0x477d('0x4e7')]['firstChild']);this[_0x477d('0x3075')]['redraw']();this['backgroundPageShape'][_0x477d('0x584')][_0x477d('0x471')]=_0x477d('0x34fd');this[_0x477d('0x3075')]['node']['style']['backgroundPosition']=_0x477d('0x344d');mxEvent['addListener'](this[_0x477d('0x3075')]['node'],_0x477d('0x2b33'),mxUtils[_0x477d('0x5d6')](this,function(_0x46438e){this[_0x477d('0x2c83')][_0x477d('0x302c')](_0x46438e);}));mxEvent[_0x477d('0x2b30')](this[_0x477d('0x3075')][_0x477d('0x584')],mxUtils[_0x477d('0x5d6')](this,function(_0x120297){this[_0x477d('0x2c83')][_0x477d('0x301b')](mxEvent[_0x477d('0x2b31')],new mxMouseEvent(_0x120297));}),mxUtils[_0x477d('0x5d6')](this,function(_0x4f4c7c){if(this['graph'][_0x477d('0x3076')]!=null&&this[_0x477d('0x2c83')][_0x477d('0x3076')][_0x477d('0x3077')]()){this['graph']['tooltipHandler'][_0x477d('0x3bc')]();}if(this[_0x477d('0x2c83')]['isMouseDown']&&!mxEvent[_0x477d('0x2b14')](_0x4f4c7c)){this[_0x477d('0x2c83')]['fireMouseEvent'](mxEvent['MOUSE_MOVE'],new mxMouseEvent(_0x4f4c7c));}}),mxUtils[_0x477d('0x5d6')](this,function(_0x501174){this['graph'][_0x477d('0x301b')](mxEvent['MOUSE_UP'],new mxMouseEvent(_0x501174));}));}else{this['backgroundPageShape']['scale']=0x1;this[_0x477d('0x3075')][_0x477d('0x2db9')]=_0x2c10ba;this[_0x477d('0x3075')][_0x477d('0x2d97')]();}this[_0x477d('0x3075')][_0x477d('0x584')]['style'][_0x477d('0x2df2')]=this[_0x477d('0x2c83')]['isGridEnabled']()?_0x477d('0x344a')+_0xbd83ba[_0x477d('0x344b')]+')':_0x477d('0x496');}else if(this[_0x477d('0x3075')]!=null){this['backgroundPageShape'][_0x477d('0x2a81')]();this[_0x477d('0x3075')]=null;}};mxGraph[_0x477d('0x798')][_0x477d('0x312b')]=function(_0x400f86,_0x51173b,_0x581144){var _0x2e840f=this[_0x477d('0x1672')]['scale'];var _0x4814e4=this['view'][_0x477d('0x454')];var _0x2133a2=this[_0x477d('0x2f70')];var _0x2b4ad0=_0x2e840f*this[_0x477d('0x2f6f')];var _0x18734a=this[_0x477d('0x1672')][_0x477d('0x3078')]();_0x51173b=_0x18734a[_0x477d('0x4ef')];_0x581144=_0x18734a['height'];var _0x5ea3dc=new mxRectangle(_0x2e840f*_0x4814e4['x'],_0x2e840f*_0x4814e4['y'],_0x2133a2[_0x477d('0x4ef')]*_0x2b4ad0,_0x2133a2['height']*_0x2b4ad0);_0x400f86=_0x400f86&&Math[_0x477d('0x4fa')](_0x5ea3dc[_0x477d('0x4ef')],_0x5ea3dc[_0x477d('0x504')])>this[_0x477d('0x30bf')];var _0x41ed4e=_0x400f86?Math[_0x477d('0x2a46')](_0x51173b/_0x5ea3dc[_0x477d('0x4ef')])-0x1:0x0;var _0x31f294=_0x400f86?Math[_0x477d('0x2a46')](_0x581144/_0x5ea3dc['height'])-0x1:0x0;var _0x1417af=_0x18734a['x']+_0x51173b;var _0x4554f7=_0x18734a['y']+_0x581144;if(this[_0x477d('0x312d')]==null&&_0x41ed4e>0x0){this[_0x477d('0x312d')]=[];}if(this[_0x477d('0x312d')]!=null){for(var _0x338231=0x0;_0x338231<=_0x41ed4e;_0x338231++){var _0x4aea99=[new mxPoint(_0x18734a['x']+(_0x338231+0x1)*_0x5ea3dc[_0x477d('0x4ef')],_0x18734a['y']),new mxPoint(_0x18734a['x']+(_0x338231+0x1)*_0x5ea3dc[_0x477d('0x4ef')],_0x4554f7)];if(this[_0x477d('0x312d')][_0x338231]!=null){this['horizontalPageBreaks'][_0x338231]['scale']=0x1;this[_0x477d('0x312d')][_0x338231][_0x477d('0x2d96')]=_0x4aea99;this[_0x477d('0x312d')][_0x338231]['redraw']();}else{var _0x512cc1=new mxPolyline(_0x4aea99,this['pageBreakColor'],this[_0x477d('0x29d8')]);_0x512cc1[_0x477d('0x2d93')]=this['dialect'];_0x512cc1['isDashed']=this[_0x477d('0x312f')];_0x512cc1['addPipe']=![];_0x512cc1[_0x477d('0x29d8')]=_0x2e840f;_0x512cc1[_0x477d('0x5ee')](this['view'][_0x477d('0x2f93')]);_0x512cc1['redraw']();this[_0x477d('0x312d')][_0x338231]=_0x512cc1;}}for(var _0x338231=_0x41ed4e;_0x3382310x0){this[_0x477d('0x312e')]=[];}if(this[_0x477d('0x312e')]!=null){for(var _0x338231=0x0;_0x338231<=_0x31f294;_0x338231++){var _0x4aea99=[new mxPoint(_0x18734a['x'],_0x18734a['y']+(_0x338231+0x1)*_0x5ea3dc[_0x477d('0x504')]),new mxPoint(_0x1417af,_0x18734a['y']+(_0x338231+0x1)*_0x5ea3dc[_0x477d('0x504')])];if(this[_0x477d('0x312e')][_0x338231]!=null){this['verticalPageBreaks'][_0x338231][_0x477d('0x29d8')]=0x1;this[_0x477d('0x312e')][_0x338231]['points']=_0x4aea99;this[_0x477d('0x312e')][_0x338231][_0x477d('0x2d97')]();}else{var _0x512cc1=new mxPolyline(_0x4aea99,this[_0x477d('0x30be')],_0x2e840f);_0x512cc1['dialect']=this[_0x477d('0x2d93')];_0x512cc1[_0x477d('0x2d90')]=this[_0x477d('0x312f')];_0x512cc1[_0x477d('0x34fe')]=![];_0x512cc1[_0x477d('0x29d8')]=_0x2e840f;_0x512cc1[_0x477d('0x5ee')](this[_0x477d('0x1672')]['backgroundPane']);_0x512cc1[_0x477d('0x2d97')]();this[_0x477d('0x312e')][_0x338231]=_0x512cc1;}}for(var _0x338231=_0x31f294;_0x3382310x0&&_0x17a023[0x0]=='mxgraph'){_0x1f1948=_0x17a023[0x1];for(var _0xa518b0=0x2;_0xa518b0<_0x17a023[_0x477d('0x79')]-0x1;_0xa518b0++){_0x1f1948+='/'+_0x17a023[_0xa518b0];}}return _0x1f1948;};mxStencilRegistry[_0x477d('0x3500')]=function(_0x1a3b21,_0x1c1465,_0x15e049){_0x15e049=_0x15e049!=null?_0x15e049:![];var _0x1fef4f=mxStencilRegistry[_0x477d('0x3502')][_0x1a3b21];if(_0x15e049||_0x1fef4f==null){var _0x1a3148=![];if(_0x1fef4f==null){var _0x27f12c=mxUtils['load'](_0x1a3b21);_0x1fef4f=_0x27f12c['getXml']();mxStencilRegistry[_0x477d('0x3502')][_0x1a3b21]=_0x1fef4f;_0x1a3148=!![];}mxStencilRegistry[_0x477d('0x3506')](_0x1fef4f,_0x1c1465,_0x1a3148);}};mxStencilRegistry[_0x477d('0x3506')]=function(_0x368767,_0x19c2e7,_0x4fe46b){_0x4fe46b=_0x4fe46b!=null?_0x4fe46b:!![];var _0x549776=_0x368767[_0x477d('0x29ad')];var _0x4cdc81=_0x549776[_0x477d('0x29ec')];var _0x505d0b='';var _0x28d18f=_0x549776[_0x477d('0x29eb')](_0x477d('0x94'));if(_0x28d18f!=null){_0x505d0b=_0x28d18f+'.';}while(_0x4cdc81!=null){if(_0x4cdc81[_0x477d('0x51a')]==mxConstants[_0x477d('0x29ed')]){_0x28d18f=_0x4cdc81[_0x477d('0x29eb')](_0x477d('0x94'));if(_0x28d18f!=null){_0x505d0b=_0x505d0b[_0x477d('0x449')]();var _0x5277c8=_0x28d18f[_0x477d('0x409')](/ /g,'_');if(_0x4fe46b){mxStencilRegistry[_0x477d('0x3507')](_0x505d0b+_0x5277c8[_0x477d('0x449')](),new mxStencil(_0x4cdc81));}if(_0x19c2e7!=null){var _0x223e22=_0x4cdc81[_0x477d('0x29eb')]('w');var _0x1375ab=_0x4cdc81['getAttribute']('h');_0x223e22=_0x223e22==null?0x50:parseInt(_0x223e22,0xa);_0x1375ab=_0x1375ab==null?0x50:parseInt(_0x1375ab,0xa);_0x19c2e7(_0x505d0b,_0x5277c8,_0x28d18f,_0x223e22,_0x1375ab);}}}_0x4cdc81=_0x4cdc81[_0x477d('0x29ef')];}};}());OpenFile=function(_0x1ee852){this['producer']=null;this[_0x477d('0x3508')]=null;this[_0x477d('0x4ee')]=_0x1ee852;};OpenFile[_0x477d('0x798')][_0x477d('0x347e')]=function(_0x1ed536){this['consumer']=_0x1ed536;this[_0x477d('0x2a12')]();};OpenFile[_0x477d('0x798')][_0x477d('0x2a33')]=function(_0x3f082d,_0x6d33c0){this[_0x477d('0x451')]=_0x3f082d;this[_0x477d('0x6c8')]=_0x6d33c0;this[_0x477d('0x2a12')]();};OpenFile[_0x477d('0x798')]['error']=function(_0x418cf6){this[_0x477d('0x4f0')]();mxUtils[_0x477d('0x120a')](_0x418cf6);};OpenFile['prototype'][_0x477d('0x2a12')]=function(){if(this[_0x477d('0x3508')]!=null&&this['data']!=null){this[_0x477d('0x3508')](this['data'],this['filename']);this[_0x477d('0x4f0')]();}};OpenFile[_0x477d('0x798')]['cancel']=function(){if(this[_0x477d('0x4ee')]!=null){this[_0x477d('0x4ee')]();}};'use\x20strict';function Sidebar(_0x833dbc,_0x476f18){this[_0x477d('0x3509')]=_0x833dbc;this[_0x477d('0x4e7')]=_0x476f18;this[_0x477d('0x515')]=new Object();this[_0x477d('0x350a')]=new Object();this[_0x477d('0x350b')]=!![];this[_0x477d('0x2c83')]=new Graph(document[_0x477d('0x3c7')](_0x477d('0x2a6d')),null,null,this[_0x477d('0x3509')][_0x477d('0x336e')][_0x477d('0x2c83')][_0x477d('0x3224')]());this[_0x477d('0x2c83')]['resetViewOnRootChange']=![];this['graph']['foldingEnabled']=![];this[_0x477d('0x2c83')][_0x477d('0x2f62')](![]);this[_0x477d('0x2c83')]['autoScroll']=![];this[_0x477d('0x2c83')][_0x477d('0x33cc')](![]);this[_0x477d('0x2c83')][_0x477d('0x2bda')](![]);this[_0x477d('0x2c83')]['container']['style']['visibility']='hidden';this[_0x477d('0x2c83')][_0x477d('0x4e7')]['style'][_0x477d('0x68f')]=_0x477d('0x54c');this[_0x477d('0x2c83')][_0x477d('0x4e7')][_0x477d('0x457')][_0x477d('0x29e9')]=_0x477d('0x54d');this[_0x477d('0x2c83')]['container'][_0x477d('0x457')][_0x477d('0x504')]=_0x477d('0x2bae');this[_0x477d('0x2c83')][_0x477d('0x4e7')][_0x477d('0x457')][_0x477d('0x4ef')]=_0x477d('0x2bae');if(!mxClient[_0x477d('0x2984')]&&!mxClient[_0x477d('0x350c')]){this[_0x477d('0x2c83')][_0x477d('0x4e7')][_0x477d('0x457')][_0x477d('0x6c2')]='none';}document[_0x477d('0x399')][_0x477d('0xd8f')](this[_0x477d('0x2c83')][_0x477d('0x4e7')]);this['pointerUpHandler']=mxUtils[_0x477d('0x5d6')](this,function(){this['showTooltips']=!![];});mxEvent[_0x477d('0x29b3')](document,mxClient[_0x477d('0x350d')]?_0x477d('0x350e'):_0x477d('0x2b2b'),this[_0x477d('0x350f')]);this[_0x477d('0x3510')]=mxUtils[_0x477d('0x5d6')](this,function(){this[_0x477d('0x350b')]=![];this[_0x477d('0x3368')]();});mxEvent[_0x477d('0x29b3')](document,mxClient['IS_POINTER']?_0x477d('0x3511'):_0x477d('0x2b2a'),this[_0x477d('0x3510')]);this[_0x477d('0x3512')]=mxUtils[_0x477d('0x5d6')](this,function(_0x68d7dd){var _0x518a73=mxEvent[_0x477d('0x2b1a')](_0x68d7dd);while(_0x518a73!=null){if(_0x518a73==this[_0x477d('0x3513')]){return;}_0x518a73=_0x518a73['parentNode'];}this[_0x477d('0x3368')]();});mxEvent[_0x477d('0x29b3')](document,mxClient[_0x477d('0x350d')]?'pointermove':_0x477d('0x2b2f'),this[_0x477d('0x3512')]);this[_0x477d('0x3514')]=mxUtils[_0x477d('0x5d6')](this,function(_0x405e71){if(_0x405e71[_0x477d('0x3515')]==null&&_0x405e71[_0x477d('0x3516')]==null){this['hideTooltip']();}});mxEvent[_0x477d('0x29b3')](document,mxClient[_0x477d('0x350d')]?_0x477d('0x3517'):'mouseout',this[_0x477d('0x3514')]);mxEvent['addListener'](_0x476f18,_0x477d('0x78e'),mxUtils[_0x477d('0x5d6')](this,function(){this[_0x477d('0x350b')]=!![];}));this[_0x477d('0x5ee')]();if(!mxClient[_0x477d('0x2974')]){new Image()[_0x477d('0x49b')]=IMAGE_PATH+_0x477d('0x3518');}};Sidebar[_0x477d('0x798')][_0x477d('0x5ee')]=function(){var _0x2ebe27=STENCIL_PATH;this['addSearchPalette'](!![]);this[_0x477d('0x3519')](_0x477d('0x351a'),mxResources['get']('entry'),_0x2ebe27+'/entry/',_0x477d('0x351b'),[_0x477d('0x612'),_0x477d('0x5ff'),_0x477d('0x2cd7')],[mxResources[_0x477d('0x376')]('start'),mxResources[_0x477d('0x376')](_0x477d('0x5ff')),mxResources[_0x477d('0x376')](_0x477d('0x2cd7'))]);this[_0x477d('0x3519')]('call_management',mxResources['get'](_0x477d('0x351c')),_0x2ebe27+'/call_management/',_0x477d('0x351b'),[_0x477d('0x605'),_0x477d('0x1ed0'),'dial',_0x477d('0x344f'),_0x477d('0x1256'),_0x477d('0x255d'),_0x477d('0x1df7')],[mxResources[_0x477d('0x376')](_0x477d('0x605')),mxResources[_0x477d('0x376')](_0x477d('0x1ed0')),mxResources[_0x477d('0x376')](_0x477d('0x2537')),mxResources['get'](_0x477d('0x344f')),mxResources[_0x477d('0x376')]('queue'),mxResources[_0x477d('0x376')](_0x477d('0x255d')),mxResources[_0x477d('0x376')](_0x477d('0x1df7'))]);this[_0x477d('0x3519')](_0x477d('0x351d'),mxResources[_0x477d('0x376')]('agent_management'),_0x2ebe27+_0x477d('0x351e'),_0x477d('0x351b'),[_0x477d('0x38a'),'pause',_0x477d('0x15a7'),_0x477d('0x38c')],[mxResources[_0x477d('0x376')](_0x477d('0x38a')),mxResources[_0x477d('0x376')](_0x477d('0x657')),mxResources[_0x477d('0x376')]('unpause'),mxResources[_0x477d('0x376')](_0x477d('0x38c'))]);this[_0x477d('0x3519')]('variable',mxResources['get']('variable'),_0x2ebe27+_0x477d('0x351f'),_0x477d('0x351b'),[_0x477d('0x12af'),_0x477d('0x3450')],[mxResources[_0x477d('0x376')](_0x477d('0x12af')),mxResources[_0x477d('0x376')]('math')]);this[_0x477d('0x3519')](_0x477d('0x2531'),mxResources[_0x477d('0x376')](_0x477d('0x2531')),_0x2ebe27+_0x477d('0x3520'),_0x477d('0x351b'),[_0x477d('0x2531'),'menu',_0x477d('0x3451'),_0x477d('0x3452'),'sayphonetic',_0x477d('0x3457'),_0x477d('0x3458')],[mxResources[_0x477d('0x376')](_0x477d('0x2531')),mxResources[_0x477d('0x376')](_0x477d('0x2bfa')),mxResources[_0x477d('0x376')](_0x477d('0x3451')),mxResources[_0x477d('0x376')](_0x477d('0x3452')),mxResources[_0x477d('0x376')]('sayphonetic'),mxResources['get'](_0x477d('0x3457')),mxResources['get']('getsecretdigits')]);this[_0x477d('0x3519')](_0x477d('0x24aa'),mxResources['get'](_0x477d('0x24aa')),_0x2ebe27+'/recording/','_128x128.png',[_0x477d('0x6ae')],[mxResources[_0x477d('0x376')](_0x477d('0x6ae'))]);this['addImagePalette'](_0x477d('0x34a0'),_0x477d('0x3521'),_0x2ebe27+_0x477d('0x3522'),_0x477d('0x351b'),[_0x477d('0x3454'),_0x477d('0x34a0'),_0x477d('0x3455'),_0x477d('0x3456'),_0x477d('0x3459'),'sestektts',_0x477d('0x3523')],[_0x477d('0x3524'),_0x477d('0x3525'),_0x477d('0x3526'),'AWSPolly',_0x477d('0x3527'),_0x477d('0x3528'),_0x477d('0x3529')]);this['addImagePalette'](_0x477d('0x352a'),_0x477d('0x352b'),_0x2ebe27+_0x477d('0x352c'),'_128x128.png',[_0x477d('0x3460'),_0x477d('0x345c'),_0x477d('0x34a7'),'tildeasr','sestekasr',_0x477d('0x3465')],[_0x477d('0x352d'),_0x477d('0x352e'),'LumenvoxASR',_0x477d('0x352f'),_0x477d('0x3530'),'MRCPRecog']);this[_0x477d('0x3519')]('integrationServer',mxResources['get'](_0x477d('0x3531')),_0x2ebe27+'/integration_server/',_0x477d('0x351b'),['database','sendMail',_0x477d('0x345d'),_0x477d('0x1266'),_0x477d('0x3462'),_0x477d('0x3463'),'restapi'],[mxResources['get'](_0x477d('0x345b')),mxResources['get'](_0x477d('0x345e')),mxResources[_0x477d('0x376')]('sendSMS'),'Dialogflow',_0x477d('0x3532'),_0x477d('0x3533'),_0x477d('0x3534')]);this[_0x477d('0x3519')](_0x477d('0x3535'),mxResources[_0x477d('0x376')]('callflow'),_0x2ebe27+_0x477d('0x3536'),_0x477d('0x351b'),[_0x477d('0x3466'),_0x477d('0x1252'),'gotoiftime',_0x477d('0x346c')],[mxResources['get']('gotoc'),mxResources['get'](_0x477d('0x1252')),mxResources[_0x477d('0x376')](_0x477d('0x3467')),mxResources['get'](_0x477d('0x346c'))]);this[_0x477d('0x3519')](_0x477d('0x3537'),mxResources[_0x477d('0x376')](_0x477d('0x3537')),_0x2ebe27+'/stats/',_0x477d('0x351b'),['goal'],[mxResources[_0x477d('0x376')]('goal')]);this[_0x477d('0x3519')]('general',mxResources['get'](_0x477d('0x1fbc')),_0x2ebe27+'/general/',_0x477d('0x351b'),['noop','system',_0x477d('0x12b0'),_0x477d('0x346a'),_0x477d('0x346b')],[mxResources[_0x477d('0x376')](_0x477d('0x3c6')),mxResources[_0x477d('0x376')](_0x477d('0xa41')),mxResources[_0x477d('0x376')](_0x477d('0x12b0')),mxResources['get']('subproject'),mxResources[_0x477d('0x376')](_0x477d('0x346b'))]);};Sidebar[_0x477d('0x798')]['collapsedImage']=!mxClient[_0x477d('0x2974')]?IMAGE_PATH+_0x477d('0x30ed'):'data:image/gif;base64,R0lGODlhDQANAIABAJmZmf///yH/C1hNUCBEYXRhWE1QPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS4wLWMwNjAgNjEuMTM0Nzc3LCAyMDEwLzAyLzEyLTE3OjMyOjAwICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdFJlZj0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlUmVmIyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M1IE1hY2ludG9zaCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDozNUQyRTJFNjZGNUYxMUU1QjZEOThCNDYxMDQ2MzNCQiIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDozNUQyRTJFNzZGNUYxMUU1QjZEOThCNDYxMDQ2MzNCQiI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjFERjc3MEUxNkY1RjExRTVCNkQ5OEI0NjEwNDYzM0JCIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjFERjc3MEUyNkY1RjExRTVCNkQ5OEI0NjEwNDYzM0JCIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+Af/+/fz7+vn49/b19PPy8fDv7u3s6+rp6Ofm5eTj4uHg397d3Nva2djX1tXU09LR0M/OzczLysnIx8bFxMPCwcC/vr28u7q5uLe2tbSzsrGwr66trKuqqainpqWko6KhoJ+enZybmpmYl5aVlJOSkZCPjo2Mi4qJiIeGhYSDgoGAf359fHt6eXh3dnV0c3JxcG9ubWxramloZ2ZlZGNiYWBfXl1cW1pZWFdWVVRTUlFQT05NTEtKSUhHRkVEQ0JBQD8+PTw7Ojk4NzY1NDMyMTAvLi0sKyopKCcmJSQjIiEgHx4dHBsaGRgXFhUUExIREA8ODQwLCgkIBwYFBAMCAQAAIfkEAQAAAQAsAAAAAA0ADQAAAhSMj6lrwAjcC1GyahV+dcZJgeIIFgA7';Sidebar['prototype']['expandedImage']=!mxClient['IS_SVG']?IMAGE_PATH+'/expanded.gif':_0x477d('0x3538');Sidebar[_0x477d('0x798')][_0x477d('0x3539')]=!mxClient[_0x477d('0x2974')]?IMAGE_PATH+_0x477d('0x3518'):_0x477d('0x353a');Sidebar[_0x477d('0x798')][_0x477d('0x353b')]=!mxClient['IS_SVG']?IMAGE_PATH+_0x477d('0x353c'):_0x477d('0x353d');Sidebar[_0x477d('0x798')][_0x477d('0x353e')]=!![];Sidebar[_0x477d('0x798')][_0x477d('0x353f')]=0x10;Sidebar[_0x477d('0x798')]['tooltipDelay']=0x12c;Sidebar[_0x477d('0x798')][_0x477d('0x3540')]=0xc8;Sidebar[_0x477d('0x798')][_0x477d('0x3541')]=0x24;Sidebar[_0x477d('0x798')]['thumbHeight']=0x24;Sidebar[_0x477d('0x798')][_0x477d('0x3542')]=document[_0x477d('0x2955')]>=0x5?0x0:0x1;Sidebar[_0x477d('0x798')][_0x477d('0x3543')]=0x2;Sidebar[_0x477d('0x798')]['sidebarTitleSize']=0x9;Sidebar['prototype'][_0x477d('0x3544')]=![];Sidebar['prototype']['tooltipTitles']=!![];Sidebar['prototype'][_0x477d('0x3545')]=0x190;Sidebar[_0x477d('0x798')][_0x477d('0x3546')]=0x190;Sidebar['prototype'][_0x477d('0x3547')]=!![];Sidebar[_0x477d('0x798')]['defaultImageWidth']=0x50;Sidebar[_0x477d('0x798')][_0x477d('0x3548')]=0x50;Sidebar[_0x477d('0x798')]['getOffset']=function(_0x4d4667){_0x4d4667=_0x4d4667[_0x477d('0x4fb')]();return{'left':_0x4d4667['left']+window['scrollX'],'top':_0x4d4667[_0x477d('0x72a')]+window[_0x477d('0x3549')]};};Sidebar['prototype'][_0x477d('0x1654')]=function(_0x55f779,_0xf6ecf9,_0x28cb05,_0xc71b4f,_0x3d6d2b,_0x2cd353){if(this[_0x477d('0x353e')]&&this['showTooltips']){if(this[_0x477d('0x3513')]!=_0x55f779){if(this[_0x477d('0x2c64')]!=null){window[_0x477d('0x32e9')](this[_0x477d('0x2c64')]);this[_0x477d('0x2c64')]=null;}var _0x5b3f71=mxUtils[_0x477d('0x5d6')](this,function(){if(this[_0x477d('0x321f')]==null){this[_0x477d('0x321f')]=document[_0x477d('0x3c7')](_0x477d('0x2a6d'));this[_0x477d('0x321f')][_0x477d('0x471')]=_0x477d('0x354a');this['tooltip'][_0x477d('0x457')][_0x477d('0x2ba2')]=mxPopupMenu['prototype'][_0x477d('0x2ba2')]-0x1;document[_0x477d('0x399')][_0x477d('0xd8f')](this[_0x477d('0x321f')]);this['graph2']=new Graph(this[_0x477d('0x321f')],null,null,this[_0x477d('0x3509')]['editor'][_0x477d('0x2c83')][_0x477d('0x3224')]());this[_0x477d('0x354b')][_0x477d('0x3105')]=![];this[_0x477d('0x354b')][_0x477d('0x30c7')]=![];this['graph2'][_0x477d('0x2bdd')]=![];this['graph2'][_0x477d('0x2bef')]=![];this[_0x477d('0x354b')][_0x477d('0x33cc')](![]);this[_0x477d('0x354b')][_0x477d('0x2f62')](![]);this['graph2'][_0x477d('0x2bda')](![]);if(!mxClient[_0x477d('0x2974')]){this[_0x477d('0x354b')][_0x477d('0x1672')]['canvas'][_0x477d('0x457')]['position']=_0x477d('0x2d7f');}this['tooltipImage']=mxUtils['createImage'](this[_0x477d('0x3539')]);this[_0x477d('0x3539')]['className']=_0x477d('0x354c');this['tooltipImage'][_0x477d('0x457')]['zIndex']=mxPopupMenu['prototype']['zIndex']-0x1;this[_0x477d('0x3539')][_0x477d('0x457')]['position']=_0x477d('0x54c');this[_0x477d('0x3539')][_0x477d('0x457')][_0x477d('0x4ef')]=_0x477d('0x354d');this[_0x477d('0x3539')][_0x477d('0x457')][_0x477d('0x504')]=_0x477d('0x354e');document['body'][_0x477d('0xd8f')](this[_0x477d('0x3539')]);}this[_0x477d('0x354b')]['model']['clear']();this[_0x477d('0x354b')]['view'][_0x477d('0x306a')](this[_0x477d('0x353f')],this[_0x477d('0x353f')]);if(_0x28cb05>this[_0x477d('0x3545')]||_0xc71b4f>this[_0x477d('0x3546')]){this[_0x477d('0x354b')]['view'][_0x477d('0x29d8')]=Math['round'](Math[_0x477d('0x4fa')](this[_0x477d('0x3545')]/_0x28cb05,this['maxTooltipHeight']/_0xc71b4f)*0x64)/0x64;}else{this[_0x477d('0x354b')][_0x477d('0x1672')][_0x477d('0x29d8')]=0x1;}this[_0x477d('0x321f')][_0x477d('0x457')][_0x477d('0x6c2')]=_0x477d('0x550');this[_0x477d('0x354b')]['labelsVisible']=_0x2cd353==null||_0x2cd353;this[_0x477d('0x354b')][_0x477d('0x2b5d')](_0xf6ecf9);var _0x3e145f=this[_0x477d('0x354b')][_0x477d('0x2a83')]();var _0x28ecea=_0x3e145f[_0x477d('0x4ef')]+0x2*this[_0x477d('0x353f')]+0x4;var _0x3e0152=_0x3e145f[_0x477d('0x504')]+0x2*this[_0x477d('0x353f')];if(mxClient['IS_QUIRKS']){_0x3e0152+=0x4;this[_0x477d('0x321f')][_0x477d('0x457')][_0x477d('0x29e9')]=_0x477d('0x54d');}else{this[_0x477d('0x321f')][_0x477d('0x457')][_0x477d('0x29e9')]='visible';}this[_0x477d('0x3539')]['style'][_0x477d('0x29c0')]='visible';this['tooltip']['style'][_0x477d('0x4ef')]=_0x28ecea+'px';if(this[_0x477d('0x354f')]&&_0x3d6d2b!=null&&_0x3d6d2b['length']>0x0){if(this['tooltipTitle']==null){this[_0x477d('0x3550')]=document[_0x477d('0x3c7')](_0x477d('0x2a6d'));this[_0x477d('0x3550')][_0x477d('0x457')][_0x477d('0x3551')]='1px\x20solid\x20gray';this[_0x477d('0x3550')]['style'][_0x477d('0x2d7c')]=_0x477d('0x2e27');this[_0x477d('0x3550')][_0x477d('0x457')]['width']=_0x477d('0x2999');this[_0x477d('0x3550')][_0x477d('0x457')][_0x477d('0x29e9')]=_0x477d('0x54d');if(mxClient[_0x477d('0x2974')]){this[_0x477d('0x3550')][_0x477d('0x457')][_0x477d('0x3124')]='6px';}else{this['tooltipTitle'][_0x477d('0x457')][_0x477d('0x68f')]=_0x477d('0x54c');this[_0x477d('0x3550')][_0x477d('0x457')][_0x477d('0x3124')]=_0x477d('0x2c13');}this['tooltip']['appendChild'](this[_0x477d('0x3550')]);}else{this['tooltipTitle'][_0x477d('0x2a0d')]='';}this[_0x477d('0x3550')][_0x477d('0x457')][_0x477d('0x6c2')]='';mxUtils[_0x477d('0x28ca')](this['tooltipTitle'],_0x3d6d2b);var _0x3e95cf=this[_0x477d('0x3550')]['offsetHeight']+0xa;_0x3e0152+=_0x3e95cf;if(mxClient['IS_SVG']){this[_0x477d('0x3550')]['style'][_0x477d('0x2bbf')]=0x2-_0x3e95cf+'px';}else{_0x3e0152-=0x6;this[_0x477d('0x3550')]['style'][_0x477d('0x72a')]=_0x3e0152-_0x3e95cf+'px';}}else if(this['tooltipTitle']!=null&&this['tooltipTitle'][_0x477d('0x29e2')]!=null){this[_0x477d('0x3550')][_0x477d('0x457')][_0x477d('0x6c2')]=_0x477d('0x496');}this[_0x477d('0x321f')][_0x477d('0x457')]['height']=_0x3e0152+'px';var _0x43430a=-Math[_0x477d('0x4fc')](_0x3e145f['x']-this[_0x477d('0x353f')]);var _0x219da8=-Math[_0x477d('0x4fc')](_0x3e145f['y']-this['tooltipBorder']);var _0x306810=document['body'];var _0x4f8b6b=document[_0x477d('0x29ad')];var _0x5bd38b=_0x306810[_0x477d('0x29ae')]||_0x4f8b6b[_0x477d('0x29ae')];var _0x10824c=document[_0x477d('0x5b2')]('vertical-navigation')[_0x477d('0x2a74')]+this[_0x477d('0x4e7')][_0x477d('0x29af')];var _0x467dbe=Math[_0x477d('0x13fc')](0x0,this[_0x477d('0x2be8')](_0x55f779)['top']-this[_0x477d('0x4e7')][_0x477d('0x52a')]-_0x3e0152/0x2+0x10);if(mxClient[_0x477d('0x2974')]){if(_0x43430a!=0x0||_0x219da8!=0x0){this[_0x477d('0x354b')][_0x477d('0x1672')][_0x477d('0x2a7d')][_0x477d('0x494')](_0x477d('0x2d1b'),_0x477d('0x2d2a')+_0x43430a+','+_0x219da8+')');}else{this[_0x477d('0x354b')][_0x477d('0x1672')][_0x477d('0x2a7d')][_0x477d('0x2dcb')](_0x477d('0x2d1b'));}}else{this['graph2'][_0x477d('0x1672')][_0x477d('0x2a78')][_0x477d('0x457')][_0x477d('0x77e')]=_0x43430a+'px';this[_0x477d('0x354b')][_0x477d('0x1672')][_0x477d('0x2a78')][_0x477d('0x457')][_0x477d('0x72a')]=_0x219da8+'px';}this[_0x477d('0x321f')]['style'][_0x477d('0x68f')]=_0x477d('0x54c');this['tooltip']['style']['left']=_0x10824c+'px';this[_0x477d('0x321f')]['style'][_0x477d('0x72a')]=_0x467dbe+'px';this[_0x477d('0x3539')]['style'][_0x477d('0x77e')]=_0x10824c-0xd+'px';this[_0x477d('0x3539')][_0x477d('0x457')][_0x477d('0x72a')]=_0x467dbe+_0x3e0152/0x2-0xd+'px';});if(this[_0x477d('0x321f')]!=null&&this['tooltip'][_0x477d('0x457')]['display']!='none'){_0x5b3f71();}else{this['thread']=window[_0x477d('0x29dd')](_0x5b3f71,this[_0x477d('0x3552')]);}this[_0x477d('0x3513')]=_0x55f779;}}};Sidebar[_0x477d('0x798')][_0x477d('0x3368')]=function(){if(this['thread']!=null){window[_0x477d('0x32e9')](this['thread']);this['thread']=null;}if(this[_0x477d('0x321f')]!=null){this[_0x477d('0x321f')][_0x477d('0x457')][_0x477d('0x6c2')]=_0x477d('0x496');this[_0x477d('0x3539')][_0x477d('0x457')][_0x477d('0x29c0')]=_0x477d('0x54d');this[_0x477d('0x3513')]=null;}};Sidebar[_0x477d('0x798')][_0x477d('0x3553')]=function(_0x5d97ac,_0x4ea85e){if(this['taglist']!=null&&_0x5d97ac!=null&&_0x5d97ac['length']>0x0){var _0x344ea8=_0x5d97ac[_0x477d('0x449')]()[_0x477d('0x409')](/[\/\,\(\)]/g,'\x20')[_0x477d('0x472')]('\x20');for(var _0x861b43=0x0;_0x861b43<_0x344ea8[_0x477d('0x79')];_0x861b43++){_0x344ea8[_0x861b43]=_0x344ea8[_0x861b43][_0x477d('0x409')](/\.*\d*$/,'');if(_0x344ea8[_0x861b43][_0x477d('0x79')]>0x1){var _0x1e22e9=this[_0x477d('0x350a')][_0x344ea8[_0x861b43]];if(_0x1e22e9==null){_0x1e22e9={'entries':[],'dict':new mxDictionary()};this[_0x477d('0x350a')][_0x344ea8[_0x861b43]]=_0x1e22e9;}if(_0x1e22e9['dict']['get'](_0x4ea85e)==null){_0x1e22e9['dict']['put'](_0x4ea85e,_0x4ea85e);_0x1e22e9['entries']['push'](_0x4ea85e);}}}}return _0x4ea85e;};Sidebar[_0x477d('0x798')][_0x477d('0x3554')]=function(_0x392783,_0xafc50d,_0x54e03b,_0x230398,_0x1bc7bb){if(this[_0x477d('0x350a')]!=null&&_0x392783!=null){var _0x134d6e=_0x392783[_0x477d('0x449')]()[_0x477d('0x472')]('\x20');var _0x15e520=new mxDictionary();var _0x734596=(_0x54e03b+0x1)*_0xafc50d;var _0x41dbad=[];var _0x119192=0x0;for(var _0x388ab1=0x0;_0x388ab1<_0x134d6e[_0x477d('0x79')];_0x388ab1++){if(_0x134d6e[_0x388ab1][_0x477d('0x79')]>0x0){var _0x7ddaf7=this[_0x477d('0x350a')][_0x134d6e[_0x388ab1]];var _0xc439=new mxDictionary();if(_0x7ddaf7!=null){var _0x238df2=_0x7ddaf7[_0x477d('0x3555')];_0x41dbad=[];for(var _0x11fb8f=0x0;_0x11fb8f<_0x238df2['length'];_0x11fb8f++){var _0x7ddaf7=_0x238df2[_0x11fb8f];if(_0x119192==0x0==(_0x15e520[_0x477d('0x376')](_0x7ddaf7)==null)){_0xc439[_0x477d('0x390')](_0x7ddaf7,_0x7ddaf7);_0x41dbad[_0x477d('0x3a7')](_0x7ddaf7);if(_0x388ab1==_0x134d6e[_0x477d('0x79')]-0x1&&_0x41dbad[_0x477d('0x79')]==_0x734596){_0x230398(_0x41dbad['slice'](_0x54e03b*_0xafc50d,_0x734596),_0x734596,!![]);return;}}}}else{_0x41dbad=[];}_0x15e520=_0xc439;_0x119192++;}}var _0x4ac1b0=_0x41dbad[_0x477d('0x79')];_0x230398(_0x41dbad['slice'](_0x54e03b*_0xafc50d,(_0x54e03b+0x1)*_0xafc50d),_0x4ac1b0,![]);}else{_0x230398([]);}};Sidebar['prototype'][_0x477d('0x3556')]=function(_0x38497d){if(_0x38497d!=null){var _0x5d2631=_0x38497d[_0x477d('0x472')]('\x20');var _0x18a800=[];var _0x1dd811={};for(var _0x549759=0x0;_0x549759<_0x5d2631[_0x477d('0x79')];_0x549759++){if(_0x1dd811[_0x5d2631[_0x549759]]==null){_0x1dd811[_0x5d2631[_0x549759]]='1';_0x18a800[_0x477d('0x3a7')](_0x5d2631[_0x549759]);}}return _0x18a800[_0x477d('0x3f6')]('\x20');}return null;};Sidebar[_0x477d('0x798')]['cloneCell']=function(_0x4375cb,_0x2fac42){var _0x16a40d=_0x4375cb[_0x477d('0x117f')]();if(_0x2fac42!=null){_0x16a40d[_0x477d('0x3b6')]=_0x2fac42;}return _0x16a40d;};Sidebar[_0x477d('0x798')]['addSearchPalette']=function(_0x5dee60){var _0x1d1422=document[_0x477d('0x3c7')](_0x477d('0x2a6d'));_0x1d1422[_0x477d('0x457')][_0x477d('0x29c0')]=_0x477d('0x54d');this[_0x477d('0x4e7')]['appendChild'](_0x1d1422);var _0xf56f29=document[_0x477d('0x3c7')](_0x477d('0x2a6d'));_0xf56f29[_0x477d('0x471')]=_0x477d('0x3557');_0xf56f29[_0x477d('0x457')]['boxSizing']=_0x477d('0x3558');_0xf56f29['style'][_0x477d('0x29e9')]='hidden';_0xf56f29[_0x477d('0x457')][_0x477d('0x4ef')]=_0x477d('0x2999');_0xf56f29[_0x477d('0x457')]['padding']=_0x477d('0x3559');_0xf56f29['style'][_0x477d('0x3124')]=_0x477d('0x354d');_0xf56f29['style'][_0x477d('0x355a')]=_0x477d('0x551');if(!_0x5dee60){_0xf56f29['style'][_0x477d('0x6c2')]=_0x477d('0x496');}var _0x20de84=document[_0x477d('0x3c7')](_0x477d('0x2a6d'));_0x20de84[_0x477d('0x457')][_0x477d('0x2abe')]='nowrap';_0x20de84['style'][_0x477d('0x355b')]=_0x477d('0x2cfe');_0x20de84[_0x477d('0x457')][_0x477d('0x355a')]=_0x477d('0x3559');_0x20de84[_0x477d('0x457')][_0x477d('0x29e4')]=_0x477d('0x5e3');var _0x32b5f1=document[_0x477d('0x3c7')](_0x477d('0x1320'));_0x32b5f1[_0x477d('0x494')](_0x477d('0x4ae'),mxResources[_0x477d('0x376')]('searchShapes'));_0x32b5f1[_0x477d('0x494')]('type',_0x477d('0x41b'));_0x32b5f1[_0x477d('0x457')][_0x477d('0x8f3')]=_0x477d('0x355c');_0x32b5f1['style'][_0x477d('0x29e9')]=_0x477d('0x54d');_0x32b5f1[_0x477d('0x457')][_0x477d('0x355d')]=_0x477d('0x3558');_0x32b5f1[_0x477d('0x457')][_0x477d('0x2a61')]='solid\x201px\x20#d5d5d5';_0x32b5f1[_0x477d('0x457')]['borderRadius']='4px';_0x32b5f1[_0x477d('0x457')][_0x477d('0x4ef')]=_0x477d('0x2999');_0x32b5f1['style']['outline']=_0x477d('0x496');_0x32b5f1['style'][_0x477d('0x2a97')]=_0x477d('0x2c13');_0x20de84[_0x477d('0xd8f')](_0x32b5f1);var _0x3ea43d=document[_0x477d('0x3c7')]('img');_0x3ea43d[_0x477d('0x494')]('src',Sidebar[_0x477d('0x798')]['searchImage']);_0x3ea43d[_0x477d('0x494')](_0x477d('0x49a'),mxResources[_0x477d('0x376')](_0x477d('0x3fd')));_0x3ea43d[_0x477d('0x457')][_0x477d('0x68f')]='relative';_0x3ea43d[_0x477d('0x457')][_0x477d('0x77e')]=_0x477d('0x355e');if(mxClient[_0x477d('0x2a71')]){_0x32b5f1['style'][_0x477d('0x504')]=_0x477d('0x355f');_0x3ea43d[_0x477d('0x457')]['top']='-4px';}else{_0x3ea43d[_0x477d('0x457')]['top']='2px';}_0x3ea43d[_0x477d('0x457')]['background']=_0x477d('0x2df3')+this[_0x477d('0x3509')][_0x477d('0x336e')][_0x477d('0x34ea')]+'\x27)';var _0x443ac0;_0x20de84['appendChild'](_0x3ea43d);_0xf56f29[_0x477d('0xd8f')](_0x20de84);var _0x18f6bf=document[_0x477d('0x3c7')](_0x477d('0x2e27'));var _0x31052f=mxUtils[_0x477d('0x29b8')](mxResources['get'](_0x477d('0x3560')),function(){_0x443ac0();});_0x31052f[_0x477d('0x457')][_0x477d('0x6c2')]=_0x477d('0x496');_0x31052f[_0x477d('0x457')][_0x477d('0x2a6e')]=_0x477d('0x2d81');_0x31052f['style']['marginTop']=_0x477d('0x33f6');_0x31052f[_0x477d('0x457')][_0x477d('0x3561')]=_0x477d('0x3559');_0x18f6bf['style']['paddingTop']=_0x477d('0x33f6');_0x18f6bf['style'][_0x477d('0x355a')]=_0x477d('0x3559');_0x18f6bf[_0x477d('0xd8f')](_0x31052f);_0xf56f29[_0x477d('0xd8f')](_0x18f6bf);var _0x20e02f='';var _0x3b212f=![];var _0x5a70b9=![];var _0x3ad670=0x0;var _0x5a1db9=new Object();var _0x1c2939=0xc;var _0x1cbb80=mxUtils[_0x477d('0x5d6')](this,function(){_0x3b212f=![];this[_0x477d('0x3562')]=null;var _0x24b90f=_0xf56f29[_0x477d('0x29ec')];while(_0x24b90f!=null){var _0x1a1a32=_0x24b90f[_0x477d('0x29ef')];if(_0x24b90f!=_0x20de84&&_0x24b90f!=_0x18f6bf){_0x24b90f[_0x477d('0x29e2')][_0x477d('0x29e3')](_0x24b90f);}_0x24b90f=_0x1a1a32;}});_0x443ac0=mxUtils[_0x477d('0x5d6')](this,function(){_0x1c2939=0x4*Math['max'](0x1,Math[_0x477d('0x6c4')](this['container'][_0x477d('0x29af')]/(this[_0x477d('0x3541')]+0xa)));this['hideTooltip']();if(_0x32b5f1[_0x477d('0x3b6')]!=''){if(_0x18f6bf['parentNode']!=null){if(_0x20e02f!=_0x32b5f1[_0x477d('0x3b6')]){_0x1cbb80();_0x20e02f=_0x32b5f1[_0x477d('0x3b6')];_0x5a1db9=new Object();_0x5a70b9=![];_0x3ad670=0x0;}if(!_0x3b212f&&!_0x5a70b9){_0x31052f[_0x477d('0x494')](_0x477d('0x45c'),_0x477d('0x2ee'));_0x31052f[_0x477d('0x457')][_0x477d('0x6c2')]='';_0x31052f[_0x477d('0x457')]['cursor']=_0x477d('0x3563');_0x31052f[_0x477d('0x2a0d')]=mxResources[_0x477d('0x376')](_0x477d('0x1d9a'))+_0x477d('0x202b');_0x3b212f=!![];var _0x4ab980=new Object();this['currentSearch']=_0x4ab980;this[_0x477d('0x3554')](_0x20e02f,_0x1c2939,_0x3ad670,mxUtils[_0x477d('0x5d6')](this,function(_0x2d4132,_0x3ee1d8,_0x1b2dcf){if(this['currentSearch']==_0x4ab980){_0x2d4132=_0x2d4132!=null?_0x2d4132:[];_0x3b212f=![];_0x3ad670++;_0x18f6bf['parentNode'][_0x477d('0x29e3')](_0x18f6bf);for(var _0x52bc96=0x0;_0x52bc96<_0x2d4132[_0x477d('0x79')];_0x52bc96++){var _0x2ab487=_0x2d4132[_0x52bc96]();if(_0x5a1db9[_0x2ab487['innerHTML']]==null){_0x5a1db9[_0x2ab487[_0x477d('0x2a0d')]]='1';_0xf56f29['appendChild'](_0x2d4132[_0x52bc96]());}}if(_0x1b2dcf){_0x31052f[_0x477d('0x2dcb')](_0x477d('0x45c'));_0x31052f[_0x477d('0x2a0d')]=mxResources[_0x477d('0x376')](_0x477d('0x3560'));}else{_0x31052f[_0x477d('0x2a0d')]=mxResources[_0x477d('0x376')]('reset');_0x31052f[_0x477d('0x457')][_0x477d('0x6c2')]='none';_0x5a70b9=!![];}_0x31052f[_0x477d('0x457')]['cursor']='';if(_0x2d4132['length']==0x0&&_0x3ad670==0x1){var _0x176a60=document['createElement'](_0x477d('0x2a6d'));_0x176a60[_0x477d('0x471')]=_0x477d('0x3564');_0x176a60[_0x477d('0x457')][_0x477d('0x2bf8')]='transparent';_0x176a60['style'][_0x477d('0x2e02')]=_0x477d('0x2d19');_0x176a60[_0x477d('0x457')][_0x477d('0x3e3')]='gray';_0x176a60[_0x477d('0x457')][_0x477d('0x2a97')]=_0x477d('0x551');_0x176a60[_0x477d('0x457')][_0x477d('0x2e1a')]=_0x477d('0x3565');_0x176a60[_0x477d('0x457')][_0x477d('0x3124')]=_0x477d('0x2c13');_0x176a60['style'][_0x477d('0x2d7c')]='center';_0x176a60[_0x477d('0x457')][_0x477d('0x29e4')]=_0x477d('0x5e3');mxUtils[_0x477d('0x28ca')](_0x176a60,mxResources[_0x477d('0x376')]('noResultsFor',[_0x20e02f]));_0xf56f29[_0x477d('0xd8f')](_0x176a60);}_0xf56f29['appendChild'](_0x18f6bf);}}),mxUtils['bind'](this,function(){_0x31052f[_0x477d('0x457')][_0x477d('0x29e4')]='';}));}}}else{_0x1cbb80();_0x32b5f1[_0x477d('0x3b6')]='';_0x20e02f='';_0x5a1db9=new Object();_0x31052f[_0x477d('0x457')][_0x477d('0x6c2')]=_0x477d('0x496');_0x5a70b9=![];_0x32b5f1['focus']();}});mxEvent[_0x477d('0x29b3')](_0x32b5f1,_0x477d('0x3360'),mxUtils['bind'](this,function(_0x318ebf){if(_0x318ebf[_0x477d('0x673')]==0xd){_0x443ac0();}}));mxEvent[_0x477d('0x29b3')](_0x32b5f1,_0x477d('0x401'),function(){_0x32b5f1[_0x477d('0x457')][_0x477d('0x3125')]='';_0x3ea43d[_0x477d('0x457')][_0x477d('0x6c2')]='none';});mxEvent[_0x477d('0x29b3')](_0x32b5f1,_0x477d('0x2fdd'),function(){_0x32b5f1[_0x477d('0x457')]['paddingRight']=_0x477d('0x2a98');_0x3ea43d['style'][_0x477d('0x6c2')]='';});_0x32b5f1['style'][_0x477d('0x3125')]=_0x477d('0x2a98');mxEvent['addListener'](_0x32b5f1,_0x477d('0x672'),mxUtils[_0x477d('0x5d6')](this,function(_0x1b30cc){if(_0x32b5f1[_0x477d('0x3b6')]==''){_0x5a70b9=!![];_0x31052f[_0x477d('0x457')][_0x477d('0x6c2')]=_0x477d('0x496');}else if(_0x32b5f1[_0x477d('0x3b6')]!=_0x20e02f){_0x31052f[_0x477d('0x457')][_0x477d('0x6c2')]=_0x477d('0x496');_0x5a70b9=![];}else if(!_0x3b212f){if(_0x5a70b9){_0x31052f[_0x477d('0x457')][_0x477d('0x6c2')]='none';}else{_0x31052f['style']['display']='';}}}));mxEvent['addListener'](_0x32b5f1,_0x477d('0x2b2a'),function(_0x2da32e){if(_0x2da32e['stopPropagation']){_0x2da32e[_0x477d('0x2b46')]();}_0x2da32e[_0x477d('0x321a')]=!![];});mxEvent[_0x477d('0x29b3')](_0x32b5f1,_0x477d('0x30f7'),function(_0x2f75c6){if(_0x2f75c6[_0x477d('0x2b46')]){_0x2f75c6['stopPropagation']();}_0x2f75c6['cancelBubble']=!![];});var _0x208d02=document[_0x477d('0x3c7')](_0x477d('0x2a6d'));_0x208d02[_0x477d('0xd8f')](_0xf56f29);this['container']['appendChild'](_0x208d02);this[_0x477d('0x515')][_0x477d('0x3fd')]=[_0x1d1422,_0x208d02];};Sidebar[_0x477d('0x798')]['createTitle']=function(_0x4f33e6){var _0x4af268=document[_0x477d('0x3c7')]('a');_0x4af268[_0x477d('0x494')]('href',_0x477d('0x3566'));_0x4af268[_0x477d('0x494')](_0x477d('0x49a'),mxResources[_0x477d('0x376')](_0x477d('0x3567')));_0x4af268[_0x477d('0x471')]='geTitle';mxUtils['write'](_0x4af268,_0x4f33e6);return _0x4af268;};Sidebar['prototype'][_0x477d('0x3568')]=function(_0x4f6a2b,_0x346180,_0x3dd217,_0x145d92,_0x1c97bc,_0x2fb7dc,_0x58c3b9,_0x4d10c1,_0x2b8add){this[_0x477d('0x2c83')][_0x477d('0x31a7')]=_0x2fb7dc==null||_0x2fb7dc;var _0x4b86d0=mxClient['NO_FO'];mxClient[_0x477d('0x301e')]=Editor[_0x477d('0x798')][_0x477d('0x3569')];if(![]&&_0x4d10c1!=null&&_0x2b8add!=null){var _0x11d28f=Math[_0x477d('0x6c4')](Math['min']((_0x346180-0x2*this[_0x477d('0x3543')])/_0x4d10c1,(_0x3dd217-0x2*this[_0x477d('0x3543')])/_0x2b8add)*0x64)/0x64;this[_0x477d('0x2c83')][_0x477d('0x1672')][_0x477d('0x3064')](_0x11d28f,Math['floor']((_0x346180-_0x4d10c1*_0x11d28f)/0x2/_0x11d28f),Math[_0x477d('0x6c4')]((_0x3dd217-_0x2b8add*_0x11d28f)/0x2/_0x11d28f));this[_0x477d('0x2c83')][_0x477d('0x2b5d')](_0x4f6a2b);}else{this[_0x477d('0x2c83')][_0x477d('0x1672')][_0x477d('0x3064')](0x1,0x0,0x0);this['graph'][_0x477d('0x2b5d')](_0x4f6a2b);var _0x577c2e=this[_0x477d('0x2c83')]['getGraphBounds']();var _0x11d28f=Math['floor'](Math[_0x477d('0x4fa')]((_0x346180-0x2*this['thumbBorder'])/_0x577c2e['width'],(_0x3dd217-0x2*this[_0x477d('0x3543')])/_0x577c2e[_0x477d('0x504')])*0x64)/0x64;this[_0x477d('0x2c83')][_0x477d('0x1672')][_0x477d('0x3064')](_0x11d28f,Math[_0x477d('0x6c4')]((_0x346180-_0x577c2e[_0x477d('0x4ef')]*_0x11d28f)/0x2/_0x11d28f-_0x577c2e['x']),Math[_0x477d('0x6c4')]((_0x3dd217-_0x577c2e['height']*_0x11d28f)/0x2/_0x11d28f-_0x577c2e['y']));}var _0x32d542=null;if(this[_0x477d('0x2c83')][_0x477d('0x2d93')]==mxConstants[_0x477d('0x2a7a')]&&!mxClient[_0x477d('0x301e')]){_0x32d542=this['graph'][_0x477d('0x1672')][_0x477d('0x2f90')]()[_0x477d('0x2d12')][_0x477d('0x2a7e')](!![]);}else{_0x32d542=this['graph']['container'][_0x477d('0x2a7e')](![]);_0x32d542[_0x477d('0x2a0d')]=this[_0x477d('0x2c83')][_0x477d('0x4e7')][_0x477d('0x2a0d')];}this['graph'][_0x477d('0x2a75')]()[_0x477d('0x7aa')]();mxClient[_0x477d('0x301e')]=_0x4b86d0;if(mxClient[_0x477d('0x2975')]){_0x145d92['style'][_0x477d('0x2df2')]=_0x477d('0x344a')+this[_0x477d('0x3509')][_0x477d('0x336e')][_0x477d('0x34ea')]+')';}_0x32d542[_0x477d('0x457')]['position']=_0x477d('0x2d7f');_0x32d542[_0x477d('0x457')]['overflow']=_0x477d('0x54d');_0x32d542[_0x477d('0x457')][_0x477d('0x29e4')]=_0x477d('0x2aaf');_0x32d542['style'][_0x477d('0x77e')]=this[_0x477d('0x3543')]+'px';_0x32d542['style'][_0x477d('0x72a')]=this[_0x477d('0x3543')]+'px';_0x32d542['style'][_0x477d('0x4ef')]=_0x346180+'px';_0x32d542[_0x477d('0x457')][_0x477d('0x504')]=_0x3dd217+'px';_0x32d542[_0x477d('0x457')]['visibility']='';_0x32d542[_0x477d('0x457')]['minWidth']='';_0x32d542[_0x477d('0x457')][_0x477d('0x312a')]='';_0x145d92[_0x477d('0xd8f')](_0x32d542);if(this[_0x477d('0x3544')]&&_0x1c97bc!=null&&_0x58c3b9!=![]){var _0x17caa4=mxClient['IS_QUIRKS']?0x2*this[_0x477d('0x3542')]+0x2:0x0;_0x145d92[_0x477d('0x457')][_0x477d('0x504')]=this['thumbHeight']+_0x17caa4+this['sidebarTitleSize']+0x8+'px';var _0x4e9b67=document[_0x477d('0x3c7')](_0x477d('0x2a6d'));_0x4e9b67['style'][_0x477d('0x8f3')]=this[_0x477d('0x356a')]+'px';_0x4e9b67[_0x477d('0x457')][_0x477d('0x3e3')]=_0x477d('0x356b');_0x4e9b67[_0x477d('0x457')][_0x477d('0x2d7c')]='center';_0x4e9b67['style'][_0x477d('0x2abe')]='nowrap';if(mxClient['IS_IE']){_0x4e9b67[_0x477d('0x457')][_0x477d('0x504')]=this['sidebarTitleSize']+0xc+'px';}_0x4e9b67[_0x477d('0x457')][_0x477d('0x3124')]='4px';mxUtils[_0x477d('0x28ca')](_0x4e9b67,_0x1c97bc);_0x145d92[_0x477d('0xd8f')](_0x4e9b67);}return _0x577c2e;};Sidebar[_0x477d('0x798')]['createItem']=function(_0xbf018e,_0x407f85,_0x15db9f,_0x394aa2,_0x193dc3,_0x3a1029,_0x41248c){var _0x3f045f=document[_0x477d('0x3c7')]('a');_0x3f045f[_0x477d('0x494')](_0x477d('0x3c8'),_0x477d('0x3566'));_0x3f045f[_0x477d('0x471')]=_0x477d('0x356c');_0x3f045f['style'][_0x477d('0x29e9')]='hidden';var _0x471309=mxClient['IS_QUIRKS']?0x8+0x2*this['thumbPadding']:0x2*this[_0x477d('0x3543')];_0x3f045f[_0x477d('0x457')][_0x477d('0x4ef')]=this[_0x477d('0x3541')]+_0x471309+'px';_0x3f045f[_0x477d('0x457')]['height']=this[_0x477d('0x356d')]+_0x471309+'px';_0x3f045f['style'][_0x477d('0x2a97')]=this['thumbPadding']+'px';mxEvent[_0x477d('0x29b3')](_0x3f045f,_0x477d('0x540'),function(_0x2389d5){mxEvent[_0x477d('0x2b15')](_0x2389d5);});this[_0x477d('0x3568')](_0xbf018e,this[_0x477d('0x3541')],this[_0x477d('0x356d')],_0x3f045f,_0x407f85,_0x15db9f,_0x394aa2,_0x193dc3,_0x3a1029);var _0x1fe868=new mxRectangle(0x0,0x0,_0x193dc3,_0x3a1029);if(_0xbf018e[_0x477d('0x79')]>0x1||_0xbf018e[0x0][_0x477d('0x2f5d')]){var _0x49fe49=this[_0x477d('0x356e')](_0x3f045f,this[_0x477d('0x356f')](_0xbf018e,!![],_0x41248c,_0x1fe868),this[_0x477d('0x3570')](_0x193dc3,_0x3a1029),_0xbf018e,_0x1fe868);this[_0x477d('0x3571')](_0x3f045f,_0x49fe49,_0xbf018e);_0x49fe49[_0x477d('0x2bdb')]=mxUtils[_0x477d('0x5d6')](this,function(){return this['editorUi']['editor'][_0x477d('0x2c83')][_0x477d('0x30fd')][_0x477d('0x2bd7')];});}else if(_0xbf018e[0x0]!=null&&_0xbf018e[0x0]['edge']){var _0x49fe49=this['createDragSource'](_0x3f045f,this[_0x477d('0x356f')](_0xbf018e,![],_0x41248c,_0x1fe868),this['createDragPreview'](_0x193dc3,_0x3a1029),_0xbf018e,_0x1fe868);this[_0x477d('0x3571')](_0x3f045f,_0x49fe49,_0xbf018e);}if(!mxClient[_0x477d('0x3572')]){mxEvent['addGestureListeners'](_0x3f045f,null,mxUtils[_0x477d('0x5d6')](this,function(_0x5b3bdb){this[_0x477d('0x1654')](_0x3f045f,_0xbf018e,_0x1fe868[_0x477d('0x4ef')],_0x1fe868[_0x477d('0x504')],_0x407f85,_0x15db9f);}));}return _0x3f045f;};Sidebar['prototype'][_0x477d('0x356f')]=function(_0x6ed3df,_0x58e897,_0x102631,_0x72ad77){_0x102631=_0x102631!=null?_0x102631:!![];return mxUtils['bind'](this,function(_0x5836c5,_0x112ab3,_0x184867,_0xc71c2e,_0x132bce){if(_0x5836c5[_0x477d('0x2c6f')]()){_0x6ed3df=_0x5836c5['getImportableCells'](_0x6ed3df);if(_0x6ed3df[_0x477d('0x79')]>0x0){_0x5836c5[_0x477d('0x2fc6')]();var _0x4b9d30=_0x184867!=null?_0x5836c5[_0x477d('0x31ff')](_0x184867,_0x6ed3df,_0x112ab3):![];var _0x41cce6=null;if(_0x184867!=null&&!_0x4b9d30){_0x184867=null;}if(!_0x5836c5[_0x477d('0x31ce')](_0x184867||_0x5836c5[_0x477d('0x3147')]())){_0x5836c5[_0x477d('0x44e')][_0x477d('0x2a65')]();try{_0xc71c2e=Math[_0x477d('0x4fc')](_0xc71c2e);_0x132bce=Math['round'](_0x132bce);if(_0x58e897&&_0x5836c5[_0x477d('0x3200')](_0x184867,_0x6ed3df,_0x112ab3)){var _0x251f9b=_0x5836c5[_0x477d('0x2f54')](_0x6ed3df);_0x5836c5[_0x477d('0x2b6d')](_0x184867,_0x251f9b,null,_0xc71c2e-_0x72ad77[_0x477d('0x4ef')]/0x2,_0x132bce-_0x72ad77[_0x477d('0x504')]/0x2);_0x41cce6=_0x251f9b;}else if(_0x6ed3df[_0x477d('0x79')]>0x0){_0x41cce6=_0x5836c5[_0x477d('0x2b8c')](_0x6ed3df,_0xc71c2e,_0x132bce,_0x184867);}if(_0x5836c5[_0x477d('0x3573')]!=null){var _0x2aa33c=_0x5836c5[_0x477d('0x3573')][_0x477d('0x3244')](_0x184867);if(_0x2aa33c!=null){var _0x1fc7db=_0x5836c5[_0x477d('0x1672')]['scale'];var _0x248d6f=_0x5836c5[_0x477d('0x1672')][_0x477d('0x454')];var _0x4c2ed9=(_0xc71c2e+_0x248d6f['x'])*_0x1fc7db;var _0x2c1873=(_0x132bce+_0x248d6f['y'])*_0x1fc7db;for(var _0x486da9=0x0;_0x486da9<_0x41cce6[_0x477d('0x79')];_0x486da9++){_0x2aa33c[_0x477d('0x2e52')](_0x41cce6[_0x486da9],_0x4c2ed9,_0x2c1873);}}}if(_0x102631){_0x5836c5[_0x477d('0x2b26')](new mxEventObject(_0x477d('0x3574'),'cells',_0x41cce6));}}finally{_0x5836c5['model']['endUpdate']();}if(_0x41cce6!=null&&_0x41cce6[_0x477d('0x79')]>0x0){_0x5836c5[_0x477d('0x3193')](_0x41cce6[0x0]);_0x5836c5[_0x477d('0x2b8d')](_0x41cce6);}}}mxEvent['consume'](_0x112ab3);}});};Sidebar[_0x477d('0x798')][_0x477d('0x3570')]=function(_0x54317a,_0x102adb){var _0xb60092=document[_0x477d('0x3c7')](_0x477d('0x2a6d'));_0xb60092[_0x477d('0x457')]['border']=_0x477d('0x3575');_0xb60092[_0x477d('0x457')]['width']=_0x54317a+'px';_0xb60092['style']['height']=_0x102adb+'px';return _0xb60092;};Sidebar[_0x477d('0x798')][_0x477d('0x356e')]=function(_0x163f50,_0x247a8c,_0x2268f2){var _0x305b59=mxUtils[_0x477d('0x3384')](_0x163f50,this[_0x477d('0x3509')]['editor']['graph'],_0x247a8c,_0x2268f2,0x0,0x0,this[_0x477d('0x3509')][_0x477d('0x336e')]['graph'][_0x477d('0x2aa1')],!![],!![]);_0x305b59[_0x477d('0x2bdf')]=function(_0x230468,_0x458554,_0x51092b){var _0x3cf304=mxDragSource[_0x477d('0x798')]['getDropTarget']['apply'](this,arguments);if(!_0x230468[_0x477d('0x3186')](_0x3cf304)){_0x3cf304=null;}return _0x3cf304;};return _0x305b59;};Sidebar['prototype'][_0x477d('0x3571')]=function(_0x5b072a,_0x2ffbc6){var _0x5ec37a=this[_0x477d('0x3509')][_0x477d('0x336e')][_0x477d('0x2c83')];var _0x138736=null;mxEvent['addGestureListeners'](_0x5b072a,function(_0x33a14e){_0x138736=new mxPoint(mxEvent[_0x477d('0x2ba9')](_0x33a14e),mxEvent[_0x477d('0x2b1d')](_0x33a14e));});var _0x29ef3b=_0x2ffbc6[_0x477d('0x2bec')];_0x2ffbc6[_0x477d('0x2bec')]=function(_0x38fbbb){if(!mxEvent['isPopupTrigger'](_0x38fbbb)&&this['currentGraph']==null&&_0x138736!=null){var _0x332e02=_0x5ec37a[_0x477d('0x30ba')];if(Math['abs'](_0x138736['x']-mxEvent[_0x477d('0x2ba9')](_0x38fbbb))<=_0x332e02&&Math[_0x477d('0x2a42')](_0x138736['y']-mxEvent['getClientY'](_0x38fbbb))<=_0x332e02){var _0x48a101=_0x5ec37a[_0x477d('0x3576')]();_0x2ffbc6['drop'](_0x5ec37a,_0x38fbbb,null,_0x48a101,_0x48a101);}}_0x29ef3b[_0x477d('0x4f5')](this,arguments);_0x138736=null;};};Sidebar[_0x477d('0x798')][_0x477d('0x3577')]=function(_0x15e966,_0x389982,_0x24a57e,_0x2f5d50,_0x4f763f,_0x406638,_0x112803,_0x4beeab){_0x4beeab=_0x4beeab!=null&&_0x4beeab[_0x477d('0x79')]>0x0?_0x4beeab:_0x4f763f['toLowerCase']();return this[_0x477d('0x3553')](_0x4beeab,mxUtils[_0x477d('0x5d6')](this,function(){return this[_0x477d('0x3578')](_0x15e966,_0x389982,_0x24a57e,_0x2f5d50,_0x4f763f,_0x406638,_0x112803);}));};Sidebar[_0x477d('0x798')][_0x477d('0x29f9')]=function(_0x5798a9,_0x46041f,_0x45d34b,_0x51f1c1){var _0x37fded=mxUtils[_0x477d('0x29f9')]();var _0x3908c6=_0x37fded['createElement'](_0x5798a9);_0x3908c6['setAttribute'](_0x477d('0x93e'),_0x46041f);_0x45d34b[_0x477d('0x3b1')](function(_0x3effc4,_0xa2551a){_0x3908c6[_0x477d('0x494')](_0x3effc4,_0x51f1c1[_0xa2551a]?_0x51f1c1[_0xa2551a]:'');});return _0x3908c6;};Sidebar[_0x477d('0x798')]['createVertexTemplate']=function(_0x178429,_0x573f5c,_0x35a4bb,_0x320a1a,_0x1bcae6,_0x35d9ff,_0x2d4c14,_0x3a35e){var _0x2eebde=[];var _0x18932f=[];switch(_0x320a1a){case _0x477d('0x605'):_0x2eebde=['timeout'];_0x18932f=['0'];break;case _0x477d('0x612'):_0x2eebde=['answer'];_0x18932f=[_0x477d('0xf6b')];break;case _0x477d('0x3460'):_0x2eebde=[_0x477d('0x670'),_0x477d('0x3579'),_0x477d('0x91b'),_0x477d('0x357a'),_0x477d('0x2945')];_0x18932f=['',_0x477d('0x357b'),'10','#',_0x477d('0xf79')];break;case _0x477d('0x3461'):_0x2eebde=['uri',_0x477d('0x34a9'),_0x477d('0xf59'),_0x477d('0x91b'),_0x477d('0x357a'),_0x477d('0x2945')];_0x18932f=[_0x477d('0x357c'),'','','10','#',_0x477d('0xf79')];break;case _0x477d('0x345c'):_0x2eebde=[_0x477d('0x670'),_0x477d('0x44e'),_0x477d('0x357d'),'timeout','intKey',_0x477d('0x2945')];_0x18932f=['','',_0x477d('0x357b'),'10','#',_0x477d('0xf79')];break;case'playback':_0x2eebde=[_0x477d('0xf3d'),_0x477d('0x12a8')];_0x18932f=['0'];break;case _0x477d('0x9fe'):_0x2eebde=[_0x477d('0xf3d'),_0x477d('0xf3e'),_0x477d('0x3486')];_0x18932f=['0','5','1'];break;case _0x477d('0x2bfa'):_0x2eebde=[_0x477d('0xf3d'),_0x477d('0xf3e'),_0x477d('0x3486'),'retry','variable_id'];_0x18932f=['0','5','1','1','0'];break;case _0x477d('0x3457'):_0x2eebde=['file_id',_0x477d('0xf3e'),_0x477d('0xf40'),_0x477d('0xf41'),_0x477d('0xf3f'),_0x477d('0xf42')];_0x18932f=['0','5','1','10','1','0'];break;case _0x477d('0x3458'):_0x2eebde=[_0x477d('0xf3d'),_0x477d('0xf3e'),'mindigit','maxdigit',_0x477d('0xf3f'),'hiddendigitsnum',_0x477d('0x357e'),_0x477d('0xf42')];_0x18932f=['0','5','1','10','1','0',_0x477d('0xf72'),'0'];break;case'custom_app':_0x2eebde=['application','options'];_0x18932f=['',''];break;case _0x477d('0x12af'):_0x2eebde=[_0x477d('0xf42'),_0x477d('0x357f')];_0x18932f=['0',''];break;case _0x477d('0x345b'):_0x2eebde=[_0x477d('0xf44'),_0x477d('0x3ef'),'variable_id'];_0x18932f=['0','',''];break;case'noop':_0x2eebde=[_0x477d('0x202a')];_0x18932f=[];break;case'gotoc':_0x2eebde=[_0x477d('0xf47'),_0x477d('0xf48'),_0x477d('0x1243')];_0x18932f=['','','1'];break;case'system':_0x2eebde=[_0x477d('0xf42'),_0x477d('0xf49')];_0x18932f=[];break;case _0x477d('0x12b0'):_0x2eebde=[_0x477d('0xf49'),_0x477d('0x3580')];_0x18932f=[];break;case _0x477d('0x1252'):_0x2eebde=[_0x477d('0xb98')];_0x18932f=[];break;case _0x477d('0x3467'):_0x2eebde=[_0x477d('0xf4d')];_0x18932f=['0'];break;case _0x477d('0x346c'):_0x2eebde=[_0x477d('0xf42')];_0x18932f=['0'];break;case _0x477d('0x3451'):_0x2eebde=['digits','escape_digits'];_0x18932f=['','#'];break;case'saynumber':_0x2eebde=['number',_0x477d('0x3581')];_0x18932f=['','#'];break;case _0x477d('0x3453'):_0x2eebde=['text','escape_digits'];_0x18932f=['','#'];break;case _0x477d('0x6ae'):_0x2eebde=[_0x477d('0xec5'),'recordingFormat',_0x477d('0x91b'),_0x477d('0x3581')];_0x18932f=['',_0x477d('0xf75'),'-1','#'];break;case _0x477d('0x2537'):_0x2eebde=[_0x477d('0xf8d'),_0x477d('0x91b'),_0x477d('0x12a8'),_0x477d('0x3c1')];_0x18932f=['0','60'];break;case'ext_dial':_0x2eebde=[_0x477d('0xf46'),_0x477d('0xf45'),_0x477d('0x91b'),_0x477d('0x12a8'),_0x477d('0x3c1')];_0x18932f=['','-1','60'];break;case _0x477d('0x3454'):_0x2eebde=[_0x477d('0xf53'),_0x477d('0xf54'),_0x477d('0x41b'),'languageCode',_0x477d('0x3582')];_0x18932f=['',_0x477d('0x41b'),'',_0x477d('0xfbe'),'FEMALE'];break;case'tts':_0x2eebde=['text','google_tts_language'];_0x18932f=['','it'];break;case _0x477d('0x3455'):_0x2eebde=[_0x477d('0x41b'),_0x477d('0x670'),_0x477d('0x3583'),_0x477d('0x34a5'),_0x477d('0x357a')];_0x18932f=['','','euritalianfemale','0','#'];break;case _0x477d('0x3459'):_0x2eebde=[_0x477d('0x41b'),_0x477d('0x43c')];_0x18932f=['',''];break;case _0x477d('0x345a'):_0x2eebde=[_0x477d('0x41b'),_0x477d('0x43c')];_0x18932f=['',''];break;case'lumenvoxasr':_0x2eebde=[_0x477d('0xf58'),_0x477d('0x43c')];_0x18932f=['',''];break;case'sestekasr':_0x2eebde=[_0x477d('0xf58'),_0x477d('0x43c')];_0x18932f=[_0x477d('0x3584'),''];break;case _0x477d('0x3456'):_0x2eebde=[_0x477d('0xf5d'),_0x477d('0xf56'),'aws_polly_region','aws_polly_voice',_0x477d('0x41b'),_0x477d('0xf57')];_0x18932f=['','',_0x477d('0x1165'),'Amy','',_0x477d('0x41b')];break;case'awslex':_0x2eebde=[_0x477d('0xf5d'),_0x477d('0xf56'),'aws_lex_region','aws_bot_name',_0x477d('0x41b')];_0x18932f=['','',_0x477d('0x1165'),'',''];break;case'queue':_0x2eebde=['queue_id','opts','url','file_id',_0x477d('0x91b'),_0x477d('0x12b0'),_0x477d('0x252d'),'gosub',_0x477d('0x68f')];_0x18932f=['-1','xX','','',_0x477d('0x9ed')];break;case _0x477d('0x255d'):_0x2eebde=['mailbox',_0x477d('0x43c')];_0x18932f=['',''];break;case _0x477d('0x346a'):_0x2eebde=[_0x477d('0xf4f')];_0x18932f=['0'];break;case _0x477d('0x3450'):_0x2eebde=[_0x477d('0x3585'),_0x477d('0xf42')];_0x18932f=['','0'];break;case _0x477d('0x3468'):_0x2eebde=[_0x477d('0x3586'),_0x477d('0xcf'),'queue_event','data1','data2',_0x477d('0x3587'),'data4',_0x477d('0x3588')];_0x18932f=[];break;case _0x477d('0x3469'):_0x2eebde=[_0x477d('0xf4b')];_0x18932f=[];break;case _0x477d('0x1df7'):_0x2eebde=[_0x477d('0x94'),_0x477d('0x1358'),_0x477d('0xf46'),_0x477d('0xf90'),_0x477d('0x2c5f'),_0x477d('0x3589')];_0x18932f=[_0x477d('0x358a'),'',_0x477d('0x358b'),'-1','5','2'];break;case _0x477d('0x345d'):_0x2eebde=[_0x477d('0xf50'),'to',_0x477d('0xf51')];_0x18932f=['0'];break;case _0x477d('0x345e'):_0x2eebde=[_0x477d('0xf52'),'to','cc',_0x477d('0xf63'),_0x477d('0x135c'),_0x477d('0x41b')];_0x18932f=['0'];break;case'sendFax':_0x2eebde=[_0x477d('0xf52'),'to',_0x477d('0x358c'),'attachment_name',_0x477d('0x358d'),_0x477d('0x349d')];_0x18932f=['0'];break;case _0x477d('0x38a'):case'unpause':case _0x477d('0x38c'):_0x2eebde=[_0x477d('0xf5b')];_0x18932f=[_0x477d('0x324')];break;case _0x477d('0x657'):_0x2eebde=[_0x477d('0xf5b'),'pause_id'];_0x18932f=[_0x477d('0x324'),''];break;case'dialogflow':_0x2eebde=[_0x477d('0x670'),'text',_0x477d('0xf5c')];_0x18932f=['','','it'];break;case _0x477d('0x3463'):_0x2eebde=[_0x477d('0xf60'),'username',_0x477d('0x5d3'),'ndassistant_url','text',_0x477d('0xf13'),'ndagenerate_audio',_0x477d('0x358e'),_0x477d('0x358f'),_0x477d('0x3590')];_0x18932f=['','','','','','',0x1,'','','message'];break;case'restapi':_0x2eebde=[_0x477d('0x3c1'),_0x477d('0x2b74'),_0x477d('0x91b'),_0x477d('0x3591'),_0x477d('0x3592'),_0x477d('0x3593'),_0x477d('0xf42')];_0x18932f=['','GET','5','','','',''];break;case _0x477d('0x3523'):_0x2eebde=[_0x477d('0x41b'),_0x477d('0x43c')];_0x18932f=['',''];break;case'mrcprecog':_0x2eebde=[_0x477d('0xf58'),_0x477d('0x43c')];_0x18932f=['',''];break;default:_0x2eebde=[];_0x18932f=[];break;}var _0x3df568=this[_0x477d('0x29f9')](_0x320a1a,_0x1bcae6,_0x2eebde,_0x18932f);var _0x466faf=[new mxCell(_0x3df568,new mxGeometry(0x0,0x0,_0x573f5c,_0x35a4bb),_0x178429)];_0x466faf[0x0][_0x477d('0x2f5d')]=!![];return this[_0x477d('0x3594')](_0x466faf,_0x573f5c,_0x35a4bb,_0x1bcae6,_0x35d9ff,_0x2d4c14,_0x3a35e);};Sidebar[_0x477d('0x798')][_0x477d('0x3594')]=function(_0x171206,_0x3ee66c,_0x45fc3d,_0x32ded1,_0x490c3e,_0x5816ce,_0x5e60ed){return this[_0x477d('0x3595')](_0x171206,_0x32ded1,_0x490c3e,_0x5816ce,_0x3ee66c,_0x45fc3d,_0x5e60ed);};Sidebar[_0x477d('0x798')][_0x477d('0x3596')]=function(_0x244754,_0xff4610,_0x58255f,_0x347823,_0x10e0ad,_0x5bcb22,_0xb79be8){var _0x9effba=new mxCell(_0x347823!=null?_0x347823:'',new mxGeometry(0x0,0x0,_0xff4610,_0x58255f),_0x244754);_0x9effba[_0x477d('0x29d9')][_0x477d('0x3149')](new mxPoint(0x0,_0x58255f),!![]);_0x9effba[_0x477d('0x29d9')][_0x477d('0x3149')](new mxPoint(_0xff4610,0x0),![]);_0x9effba[_0x477d('0x29d9')][_0x477d('0x2d7f')]=!![];_0x9effba[_0x477d('0x2f61')]=!![];return this[_0x477d('0x3597')]([_0x9effba],_0xff4610,_0x58255f,_0x10e0ad,_0x5bcb22,_0xb79be8);};Sidebar[_0x477d('0x798')][_0x477d('0x3597')]=function(_0x559156,_0x30df1b,_0x4d44e8,_0x283131,_0x31f35c,_0x143eed){return this[_0x477d('0x3595')](_0x559156,_0x283131,_0x31f35c,!![],_0x30df1b,_0x4d44e8,_0x143eed);};Sidebar[_0x477d('0x798')]['addPaletteFunctions']=function(_0x1518aa,_0xf94ec9,_0x37c023,_0x485a6c){this[_0x477d('0x3598')](_0x1518aa,_0xf94ec9,_0x37c023,mxUtils[_0x477d('0x5d6')](this,function(_0x33b7ec){for(var _0x4f0822=0x0;_0x4f0822<_0x485a6c[_0x477d('0x79')];_0x4f0822++){_0x33b7ec[_0x477d('0xd8f')](_0x485a6c[_0x4f0822](_0x33b7ec));}}));};Sidebar[_0x477d('0x798')][_0x477d('0x3598')]=function(_0x42d98b,_0x19444a,_0x5f21de,_0x518950){var _0x169bae=this[_0x477d('0x3599')](_0x19444a);this[_0x477d('0x4e7')][_0x477d('0xd8f')](_0x169bae);var _0x2a46ee=document[_0x477d('0x3c7')](_0x477d('0x2a6d'));_0x2a46ee[_0x477d('0x471')]='geSidebar';if(mxClient[_0x477d('0x350d')]){_0x2a46ee[_0x477d('0x457')][_0x477d('0x359a')]=_0x477d('0x496');}mxEvent['addListener'](_0x2a46ee,_0x477d('0x2b2f'),mxUtils[_0x477d('0x5d6')](this,function(_0x4e1f09){if(mxEvent[_0x477d('0x2b1a')](_0x4e1f09)==_0x2a46ee){_0x2a46ee['setAttribute'](_0x477d('0x49a'),mxResources[_0x477d('0x376')]('sidebarTooltip'));}else{_0x2a46ee['removeAttribute'](_0x477d('0x49a'));}}));if(_0x5f21de){_0x518950(_0x2a46ee);_0x518950=null;}else{_0x2a46ee[_0x477d('0x457')][_0x477d('0x6c2')]='none';}this[_0x477d('0x359b')](_0x169bae,_0x2a46ee,_0x518950);var _0x2d85be=document[_0x477d('0x3c7')](_0x477d('0x2a6d'));_0x2d85be[_0x477d('0xd8f')](_0x2a46ee);this[_0x477d('0x4e7')][_0x477d('0xd8f')](_0x2d85be);if(_0x42d98b!=null){this[_0x477d('0x515')][_0x42d98b]=[_0x169bae,_0x2d85be];}return _0x2a46ee;};Sidebar[_0x477d('0x798')][_0x477d('0x359b')]=function(_0x5ebb62,_0x23071d,_0x33f379){var _0x50eb78=![];if(!mxClient['IS_IE']||document[_0x477d('0x2955')]>=0x8){_0x5ebb62[_0x477d('0x457')]['backgroundImage']=_0x23071d[_0x477d('0x457')][_0x477d('0x6c2')]==_0x477d('0x496')?'url(\x27'+this[_0x477d('0x30ec')]+'\x27)':_0x477d('0x2df3')+this['expandedImage']+'\x27)';}_0x5ebb62[_0x477d('0x457')][_0x477d('0x359c')]='no-repeat';_0x5ebb62[_0x477d('0x457')]['backgroundPosition']=_0x477d('0x359d');mxEvent[_0x477d('0x29b3')](_0x5ebb62,_0x477d('0x540'),mxUtils[_0x477d('0x5d6')](this,function(_0x2aca9e){if(_0x23071d[_0x477d('0x457')][_0x477d('0x6c2')]==_0x477d('0x496')){if(!_0x50eb78){_0x50eb78=!![];if(_0x33f379!=null){_0x5ebb62[_0x477d('0x457')][_0x477d('0x29e4')]=_0x477d('0x3563');var _0x142cd5=_0x5ebb62[_0x477d('0x2a0d')];_0x5ebb62[_0x477d('0x2a0d')]=mxResources[_0x477d('0x376')](_0x477d('0x1d9a'))+'...';window['setTimeout'](function(){var _0x53c4d1=mxClient[_0x477d('0x301e')];mxClient[_0x477d('0x301e')]=Editor[_0x477d('0x798')][_0x477d('0x3569')];_0x33f379(_0x23071d);mxClient[_0x477d('0x301e')]=_0x53c4d1;_0x23071d[_0x477d('0x457')][_0x477d('0x6c2')]=_0x477d('0x550');_0x5ebb62['style']['cursor']='';_0x5ebb62[_0x477d('0x2a0d')]=_0x142cd5;},0x0);}else{_0x23071d[_0x477d('0x457')][_0x477d('0x6c2')]='block';}}else{_0x23071d[_0x477d('0x457')]['display']=_0x477d('0x550');}_0x5ebb62[_0x477d('0x457')]['backgroundImage']=_0x477d('0x2df3')+this[_0x477d('0x359e')]+'\x27)';}else{_0x5ebb62['style'][_0x477d('0x2df2')]=_0x477d('0x2df3')+this[_0x477d('0x30ec')]+'\x27)';_0x23071d['style'][_0x477d('0x6c2')]=_0x477d('0x496');}mxEvent[_0x477d('0x2b15')](_0x2aca9e);}));};Sidebar[_0x477d('0x798')][_0x477d('0x3519')]=function(_0x36e60c,_0x342352,_0x27c5ea,_0x19e01c,_0x564fff,_0x5348d5,_0x18ba53){var _0x482613=_0x5348d5!=null;var _0x5314a2=[];for(var _0x4ce94e=0x0;_0x4ce94e<_0x564fff[_0x477d('0x79')];_0x4ce94e++){mxUtils[_0x477d('0x5d6')](this,function(_0x21d8ca,_0xe6ed06,_0x5b5505){if(_0x5b5505==null){var _0x32395f=_0x21d8ca['lastIndexOf']('/');var _0x26b01c=_0x21d8ca[_0x477d('0x24af')]('.');_0x5b5505=_0x21d8ca[_0x477d('0x6c6')](_0x32395f>=0x0?_0x32395f+0x1:0x0,_0x26b01c>=0x0?_0x26b01c:_0x21d8ca[_0x477d('0x79')])['replace'](/[-_]/g,'\x20');}_0x5314a2[_0x477d('0x3a7')](this[_0x477d('0x3577')](_0x477d('0x359f')+_0x27c5ea+_0x21d8ca+_0x19e01c,this[_0x477d('0x35a0')],this[_0x477d('0x3548')],_0x564fff[_0x4ce94e],_0xe6ed06,![],!![],this[_0x477d('0x3556')](_0x5b5505)));})(_0x564fff[_0x4ce94e],_0x5348d5!=null?_0x5348d5[_0x4ce94e]:null,_0x18ba53!=null?_0x18ba53[_0x564fff[_0x4ce94e]]:null);}this[_0x477d('0x35a1')](_0x36e60c,_0x342352,![],_0x5314a2);};if(typeof html4!==_0x477d('0x4a4')){html4[_0x477d('0x35a2')][_0x477d('0x35a3')]=0x0;}mxConstants[_0x477d('0x2caf')]=0.25;mxConstants['SHADOWCOLOR']=_0x477d('0x2cad');mxConstants['VML_SHADOWCOLOR']=_0x477d('0x35a4');mxGraph[_0x477d('0x798')]['pageBreakColor']=_0x477d('0x34fb');mxGraph[_0x477d('0x798')][_0x477d('0x2f6f')]=0x1;(function(){try{if(navigator!=null&&navigator[_0x477d('0x1267')]!=null){var _0x4f5380=navigator[_0x477d('0x1267')][_0x477d('0x449')]();mxGraph['prototype']['pageFormat']=_0x4f5380==='en-us'||_0x4f5380===_0x477d('0x35a5')||_0x4f5380===_0x477d('0x35a6')?mxConstants['PAGE_FORMAT_LETTER_PORTRAIT']:mxConstants[_0x477d('0x2a82')];}}catch(_0x12446e){}}());mxText['prototype'][_0x477d('0x2e11')]=0x5;mxText[_0x477d('0x798')]['baseSpacingBottom']=0x1;mxGraphModel[_0x477d('0x798')][_0x477d('0x35a7')]=![];mxGraphView[_0x477d('0x798')][_0x477d('0x344b')]=mxClient[_0x477d('0x2974')]?'data:image/gif;base64,R0lGODlhCgAKAJEAAAAAAP///8zMzP///yH5BAEAAAMALAAAAAAKAAoAAAIJ1I6py+0Po2wFADs=':IMAGE_PATH+_0x477d('0x35a8');mxGraphView[_0x477d('0x798')][_0x477d('0x35a9')]=0x4;mxGraphView[_0x477d('0x798')][_0x477d('0x35aa')]=0x4;mxGraphView[_0x477d('0x798')][_0x477d('0x35ab')]='#e0e0e0';mxSvgCanvas2D[_0x477d('0x798')][_0x477d('0x35ac')]=_0x477d('0x35ad');Graph=function(_0x4e190e,_0x29ec46,_0x20497e,_0xab886f){mxGraph[_0x477d('0x482')](this,_0x4e190e,_0x29ec46,_0x20497e,_0xab886f);this[_0x477d('0x2f62')](!![]);this[_0x477d('0x31e2')](![]);this['setPanning'](!![]);this['setTooltips'](!mxClient['IS_TOUCH']);this[_0x477d('0x31de')](![]);this['setMultigraph'](![]);this[_0x477d('0x30d4')]=!![];this[_0x477d('0x30e2')]=![];this[_0x477d('0x30da')]=![];this[_0x477d('0x30fc')][_0x477d('0x32c0')]=!![];this['setAllowDanglingEdges'](![]);this[_0x477d('0x30fc')]['setCreateTarget'](![]);this[_0x477d('0x30fc')][_0x477d('0x31f3')]=function(){return mxConnectionHandler['prototype'][_0x477d('0x31f3')][_0x477d('0x4f5')](this,arguments)&&urlParams[_0x477d('0x678')]!='2';};this['alternateEdgeStyle']=_0x477d('0x766');if(_0xab886f==null){this[_0x477d('0x35ae')]();}var _0x1d204d=new mxRubberband(this);this[_0x477d('0x35af')]=function(){return _0x1d204d;};this[_0x477d('0x309d')]['addListener'](mxEvent['PAN_START'],mxUtils[_0x477d('0x5d6')](this,function(){this['container'][_0x477d('0x457')][_0x477d('0x29e4')]='pointer';}));this[_0x477d('0x309d')][_0x477d('0x29b3')](mxEvent['PAN_END'],mxUtils['bind'](this,function(){this[_0x477d('0x4e7')][_0x477d('0x457')]['cursor']=_0x477d('0x5e3');}));this['isHtmlLabel']=function(_0x108f95){var _0xb7a033=this[_0x477d('0x1672')][_0x477d('0x29df')](_0x108f95);var _0x40a431=_0xb7a033!=null?_0xb7a033[_0x477d('0x457')]:this[_0x477d('0x2e54')](_0x108f95);return _0x40a431[_0x477d('0x3de')]=='1'||_0x40a431['whiteSpace']=='wrap';};this[_0x477d('0x29db')][_0x477d('0x302e')]=function(_0x14fc2b){var _0x7803b2=mxCellRenderer[_0x477d('0x798')]['getLabelValue'][_0x477d('0x4f5')](this,arguments);if(_0x14fc2b[_0x477d('0x457')]['whiteSpace']==_0x477d('0x2cfd')&&_0x14fc2b[_0x477d('0x457')][_0x477d('0x3de')]!=0x1){_0x7803b2=mxUtils[_0x477d('0x2a02')](_0x7803b2,![]);}return _0x7803b2;};this[_0x477d('0x31ce')]=function(_0x3cd74a){return![];};this[_0x477d('0x30fc')][_0x477d('0x32ee')]=0x10;var _0x302ae2=this[_0x477d('0x30fc')]['tapAndHold'];this[_0x477d('0x30fc')]['tapAndHold']=function(_0x20f982,_0x570fd3){if(_0x570fd3==null){if(!this[_0x477d('0x2c83')][_0x477d('0x309d')]['active']){_0x1d204d[_0x477d('0x612')](_0x20f982[_0x477d('0x2b1e')](),_0x20f982[_0x477d('0x311b')]());this['graph']['panningHandler']['panningTrigger']=![];}}else if(tapAndHoldStartsConnection){_0x302ae2['apply'](this,arguments);}else if(this[_0x477d('0x2c83')]['isCellSelected'](_0x570fd3['cell'])&&this[_0x477d('0x2c83')]['getSelectionCount']()>0x1){this[_0x477d('0x2c83')][_0x477d('0x320d')](_0x570fd3[_0x477d('0x29d5')]);}};if(touchStyle){this['initTouch']();}};mxUtils[_0x477d('0x3d1')](Graph,mxGraph);Graph[_0x477d('0x798')]['minFitScale']=null;Graph['prototype'][_0x477d('0x30eb')]=null;Graph[_0x477d('0x798')]['loadStylesheet']=function(){var _0x5241d4=mxUtils[_0x477d('0x600')](STYLE_PATH+'/default.xml')['getDocumentElement']();var _0x44a869=new mxCodec(_0x5241d4['ownerDocument']);_0x44a869[_0x477d('0x2c31')](_0x5241d4,this[_0x477d('0x3224')]());};Graph[_0x477d('0x798')][_0x477d('0x2b6e')]=function(_0x3c5879){if(_0x3c5879!=null){var _0x32d380=this[_0x477d('0x1672')]['getState'](_0x3c5879);var _0x4b471b=_0x32d380!=null?_0x32d380[_0x477d('0x457')]:this[_0x477d('0x2e54')](_0x3c5879);if(_0x4b471b!=null){var _0x4476c4=mxUtils[_0x477d('0x2a4a')](_0x4b471b,mxConstants[_0x477d('0x3358')],mxConstants[_0x477d('0x35b0')]);var _0x447746=_0x4476c4==mxConstants[_0x477d('0x35b0')]?mxConstants['ELBOW_VERTICAL']:mxConstants[_0x477d('0x35b0')];this['setCellStyles'](mxConstants[_0x477d('0x3358')],_0x447746,[_0x3c5879]);}}};Graph[_0x477d('0x798')][_0x477d('0x35b1')]=function(_0x19462e){if(_0x19462e!=null&&this[_0x477d('0x2a75')]()[_0x477d('0x29d6')](_0x19462e)){var _0x4be054=this[_0x477d('0x2a75')]()['cloneCells']([_0x19462e])[0x0];if(_0x4be054[_0x477d('0x29d9')]!=null){_0x4be054[_0x477d('0x29d9')][_0x477d('0x2d96')]=null;}var _0x3fe20c=_0x4be054[_0x477d('0x2a68')]();_0x3fe20c=mxUtils[_0x477d('0x2a66')](_0x3fe20c,mxConstants[_0x477d('0x3175')],null);_0x3fe20c=mxUtils[_0x477d('0x2a66')](_0x3fe20c,mxConstants[_0x477d('0x3177')],null);_0x3fe20c=mxUtils[_0x477d('0x2a66')](_0x3fe20c,mxConstants[_0x477d('0x317b')],null);_0x3fe20c=mxUtils['setStyle'](_0x3fe20c,mxConstants[_0x477d('0x3176')],null);_0x4be054[_0x477d('0x2a66')](_0x3fe20c);this[_0x477d('0x30fc')][_0x477d('0x32e6')]=function(_0x2721df){return this['graph'][_0x477d('0x1672')]['createState'](_0x4be054);};this[_0x477d('0x30fc')]['factoryMethod']=function(){return this[_0x477d('0x2c83')]['cloneCells']([_0x4be054])[0x0];};}};Graph[_0x477d('0x798')][_0x477d('0x315c')]=function(_0x3e342a){return this[_0x477d('0x30c7')]&&this[_0x477d('0x2e6b')](_0x3e342a);};Graph['prototype'][_0x477d('0x3186')]=function(_0x4b860e){return this[_0x477d('0x2e6b')](_0x4b860e);};Graph['prototype'][_0x477d('0x3140')]=function(){var _0x51a536=mxGraph[_0x477d('0x798')][_0x477d('0x3140')]['apply'](this,arguments);_0x51a536[_0x477d('0x2a66')](_0x477d('0x587'));return _0x51a536;};Graph['prototype'][_0x477d('0x31af')]=function(_0x589dc2){var _0x53eb2d='';if(this[_0x477d('0x2a75')]()[_0x477d('0x2e5a')](_0x589dc2)){_0x53eb2d+=mxResources[_0x477d('0x376')](_0x477d('0x35b2')+_0x589dc2[_0x477d('0x3b6')]['nodeName'])||'';}else if(this[_0x477d('0x2a75')]()[_0x477d('0x29d6')](_0x589dc2)){_0x53eb2d=mxGraph[_0x477d('0x798')][_0x477d('0x31af')][_0x477d('0x4f5')](this,arguments);}return _0x53eb2d;};Graph[_0x477d('0x798')]['convertValueToString']=function(_0x27dd4a){if(_0x27dd4a['value']!=null&&typeof _0x27dd4a[_0x477d('0x3b6')]==_0x477d('0x29f5')){return _0x27dd4a['value'][_0x477d('0x29eb')](_0x477d('0x93e'));}return mxGraph[_0x477d('0x798')][_0x477d('0x3114')][_0x477d('0x4f5')](this,arguments);};Graph[_0x477d('0x798')][_0x477d('0x3116')]=function(_0x16bfe9,_0x2e3e0b,_0x24472b){if(_0x16bfe9[_0x477d('0x3b6')]!=null&&typeof _0x16bfe9[_0x477d('0x3b6')]==_0x477d('0x29f5')){var _0x3f2688=_0x16bfe9[_0x477d('0x3b6')]['cloneNode'](!![]);_0x3f2688[_0x477d('0x494')](_0x477d('0x93e'),_0x2e3e0b);_0x2e3e0b=_0x3f2688;}mxGraph['prototype'][_0x477d('0x3116')][_0x477d('0x4f5')](this,arguments);};Graph[_0x477d('0x798')][_0x477d('0x35b3')]=function(_0x1338f6,_0xbee6fb){var _0xd387fe=null;if(_0x1338f6[_0x477d('0x3b6')]!=null&&typeof _0x1338f6[_0x477d('0x3b6')]=='object'){_0xd387fe=_0x1338f6[_0x477d('0x3b6')][_0x477d('0x2a7e')](!![]);}else{var _0x40c3e0=mxUtils['createXmlDocument']();_0xd387fe=_0x40c3e0[_0x477d('0x3c7')](_0x477d('0x35b4'));_0xd387fe[_0x477d('0x494')]('label',_0x1338f6[_0x477d('0x3b6')]);}if(_0xbee6fb!=null&&_0xbee6fb[_0x477d('0x79')]>0x0){_0xd387fe[_0x477d('0x494')](_0x477d('0x2979'),_0xbee6fb);}else{_0xd387fe[_0x477d('0x2dcb')](_0x477d('0x2979'));}this[_0x477d('0x44e')]['setValue'](_0x1338f6,_0xd387fe);};Graph[_0x477d('0x798')][_0x477d('0x34c2')]=function(_0xa1c199){if(_0xa1c199[_0x477d('0x3b6')]!=null&&typeof _0xa1c199[_0x477d('0x3b6')]=='object'){return _0xa1c199[_0x477d('0x3b6')][_0x477d('0x29eb')](_0x477d('0x2979'));}return null;};Graph['prototype'][_0x477d('0x35b5')]=function(){this[_0x477d('0x30fc')][_0x477d('0x32c1')][_0x477d('0x2c6f')]=function(){return this['graph'][_0x477d('0x30fc')][_0x477d('0xf72')]!=null;};this[_0x477d('0x29b3')](mxEvent[_0x477d('0x32d3')],function(_0x11f517,_0x3c6113){this[_0x477d('0x309d')][_0x477d('0x2bfd')]();});var _0x470f0e=![];var _0x42dfe0=null;this[_0x477d('0x3219')]=function(_0x288781){mxGraph[_0x477d('0x798')][_0x477d('0x3219')][_0x477d('0x4f5')](this,arguments);if(_0x288781[_0x477d('0x29df')]()==null){var _0x3f283d=this['getCellAt'](_0x288781[_0x477d('0x2b17')],_0x288781[_0x477d('0x2b18')]);if(this[_0x477d('0x2a75')]()['isEdge'](_0x3f283d)){_0x288781[_0x477d('0xe')]=this[_0x477d('0x1672')][_0x477d('0x29df')](_0x3f283d);if(_0x288781[_0x477d('0xe')]!=null&&_0x288781[_0x477d('0xe')][_0x477d('0x29e0')]!=null){this[_0x477d('0x4e7')][_0x477d('0x457')][_0x477d('0x29e4')]=_0x288781[_0x477d('0xe')][_0x477d('0x29e0')][_0x477d('0x584')]['style'][_0x477d('0x29e4')];}}}if(_0x288781['getState']()==null){this[_0x477d('0x4e7')][_0x477d('0x457')][_0x477d('0x29e4')]=_0x477d('0x5e3');}};this[_0x477d('0x301b')]=function(_0x276742,_0x2e6cc7,_0x2c341b){if(_0x276742==mxEvent['MOUSE_DOWN']){if(!this[_0x477d('0x309d')]['isMenuShowing']()){_0x42dfe0=_0x2e6cc7[_0x477d('0x2f36')]();_0x470f0e=_0x42dfe0!=null?this[_0x477d('0x3208')](_0x42dfe0):this[_0x477d('0x3209')]();}else{_0x470f0e=![];_0x42dfe0=null;}}else if(_0x276742==mxEvent[_0x477d('0x301d')]){if(_0x470f0e&&!this['isEditing']()){if(!this[_0x477d('0x309d')][_0x477d('0x2bfc')]()){var _0x2420a9=mxEvent[_0x477d('0x2ba9')](_0x2e6cc7[_0x477d('0x2b19')]());var _0x35642f=mxEvent[_0x477d('0x2b1d')](_0x2e6cc7['getEvent']());this['panningHandler'][_0x477d('0x15c1')](_0x2420a9+0x10,_0x35642f,_0x42dfe0,_0x2e6cc7[_0x477d('0x2b19')]());}_0x470f0e=![];_0x42dfe0=null;_0x2e6cc7[_0x477d('0x2b15')]();return;}_0x470f0e=![];_0x42dfe0=null;}mxGraph['prototype']['fireMouseEvent']['apply'](this,arguments);if(_0x276742==mxEvent[_0x477d('0x2b32')]&&_0x2e6cc7[_0x477d('0x2b14')]()){_0x470f0e=![];_0x42dfe0=null;}};};(function(){mxVertexHandler[_0x477d('0x798')][_0x477d('0x3275')]=!![];mxText['prototype'][_0x477d('0x2e11')]=0x5;mxText[_0x477d('0x798')]['baseSpacingBottom']=0x1;if(touchStyle){mxConstants[_0x477d('0x3324')]=0x10;mxConstants[_0x477d('0x331a')]=0x7;if(mxClient[_0x477d('0x2b2c')]){mxVertexHandler[_0x477d('0x798')][_0x477d('0x30ba')]=0x4;mxEdgeHandler[_0x477d('0x798')]['tolerance']=0x6;Graph[_0x477d('0x798')][_0x477d('0x30ba')]=0xe;Graph[_0x477d('0x798')][_0x477d('0x2bf2')]=0x14;mxPanningHandler[_0x477d('0x798')][_0x477d('0x3296')]=![];mxPanningHandler[_0x477d('0x798')][_0x477d('0x329b')]=!![];mxPanningHandler[_0x477d('0x798')][_0x477d('0x329a')]=function(_0x5a78e6){var _0x390d3f=_0x5a78e6[_0x477d('0x2b19')]();return this['useLeftButtonForPanning']&&(this[_0x477d('0x3298')]||_0x5a78e6['getState']()==null)||mxEvent[_0x477d('0x2b3e')](_0x390d3f)&&mxEvent[_0x477d('0x2b3d')](_0x390d3f)||this[_0x477d('0x3295')]&&mxEvent[_0x477d('0x2b1f')](_0x390d3f);};}var _0x13bdba=mxGraphHandler[_0x477d('0x798')][_0x477d('0x2b48')];mxGraphHandler[_0x477d('0x798')][_0x477d('0x2b48')]=function(_0x5aaf3c,_0x19dfee){_0x13bdba[_0x477d('0x4f5')](this,arguments);if(this['graph'][_0x477d('0x3208')](_0x19dfee[_0x477d('0x2f36')]())&&this[_0x477d('0x2c83')][_0x477d('0x320b')]()>0x1){this[_0x477d('0x327e')]=![];}};Graph[_0x477d('0x798')][_0x477d('0x35b6')]=function(_0x426cfe){this[_0x477d('0x3076')]=new mxTooltipHandler(this);this['tooltipHandler']['setEnabled'](![]);this[_0x477d('0x3194')]=new mxSelectionCellsHandler(this);this[_0x477d('0x309d')]=new mxPanningHandler(this);this[_0x477d('0x309d')]['panningEnabled']=![];this['connectionHandler']=new mxConnectionHandler(this);this[_0x477d('0x30fc')][_0x477d('0x2bda')](![]);this[_0x477d('0x30fd')]=new mxGraphHandler(this);};mxConnectionHandler[_0x477d('0x798')][_0x477d('0x3216')]=function(_0x22fd43,_0x5d301a){if(touchStyle&&_0x5d301a!=null){this[_0x477d('0x2c83')][_0x477d('0x3110')](_0x5d301a);}else{this['graph'][_0x477d('0x3110')](_0x22fd43);}};var _0x24ada7=mxGraph['prototype'][_0x477d('0x302c')];Graph[_0x477d('0x798')][_0x477d('0x302c')]=function(_0xc0c85a,_0x36316d){if(_0x36316d==null){var _0x5c380d=mxUtils[_0x477d('0x3018')](this[_0x477d('0x4e7')],mxEvent['getClientX'](_0xc0c85a),mxEvent[_0x477d('0x2b1d')](_0xc0c85a));_0x36316d=this[_0x477d('0x3019')](_0x5c380d['x'],_0x5c380d['y']);}_0x24ada7[_0x477d('0x482')](this,_0xc0c85a,_0x36316d);};var _0x3071ef=new mxImage(IMAGE_PATH+_0x477d('0x35b7'),0x10,0x10);mxVertexHandler[_0x477d('0x798')]['handleImage']=_0x3071ef;mxEdgeHandler[_0x477d('0x798')][_0x477d('0x330d')]=_0x3071ef;mxOutline['prototype']['sizerImage']=_0x3071ef;new Image()[_0x477d('0x49b')]=_0x3071ef[_0x477d('0x49b')];var _0x3a6ad5=IMAGE_PATH+'/touch-connector.png';var _0x1c2cd0=mxVertexHandler[_0x477d('0x798')][_0x477d('0x5ee')];mxVertexHandler[_0x477d('0x798')][_0x477d('0x5ee')]=function(){_0x1c2cd0[_0x477d('0x4f5')](this,arguments);if(showConnectorImg&&this[_0x477d('0x2c83')][_0x477d('0x30fc')][_0x477d('0x2c6f')]()&&this['graph'][_0x477d('0x3195')](this[_0x477d('0xe')][_0x477d('0x29d5')])&&!this[_0x477d('0x2c83')]['isValidRoot'](this['state'][_0x477d('0x29d5')])&&this['graph'][_0x477d('0x320b')]()==0x1){this[_0x477d('0x35b8')]=mxUtils[_0x477d('0x35b9')](_0x3a6ad5);this[_0x477d('0x35b8')][_0x477d('0x457')][_0x477d('0x29e4')]=_0x477d('0x2a15');this[_0x477d('0x35b8')][_0x477d('0x457')]['width']=_0x477d('0x35ba');this[_0x477d('0x35b8')]['style'][_0x477d('0x504')]=_0x477d('0x35ba');this[_0x477d('0x35b8')][_0x477d('0x457')][_0x477d('0x68f')]=_0x477d('0x54c');if(!mxClient[_0x477d('0x2b2c')]){this[_0x477d('0x35b8')][_0x477d('0x494')](_0x477d('0x49a'),mxResources[_0x477d('0x376')](_0x477d('0x678')));mxEvent[_0x477d('0x322e')](this[_0x477d('0x35b8')],this['graph'],this[_0x477d('0xe')]);}this[_0x477d('0x35b8')]['style'][_0x477d('0x2a97')]=_0x477d('0x2ba6');mxEvent[_0x477d('0x2b30')](this[_0x477d('0x35b8')],mxUtils['bind'](this,function(_0x1956f0){this[_0x477d('0x2c83')][_0x477d('0x309d')][_0x477d('0x2bfd')]();var _0x2dd5a4=mxUtils[_0x477d('0x3018')](this['graph'][_0x477d('0x4e7')],mxEvent[_0x477d('0x2ba9')](_0x1956f0),mxEvent[_0x477d('0x2b1d')](_0x1956f0));this[_0x477d('0x2c83')]['connectionHandler'][_0x477d('0x612')](this[_0x477d('0xe')],_0x2dd5a4['x'],_0x2dd5a4['y']);this[_0x477d('0x2c83')][_0x477d('0x2bee')]=!![];mxEvent['consume'](_0x1956f0);}));this[_0x477d('0x2c83')][_0x477d('0x4e7')][_0x477d('0xd8f')](this[_0x477d('0x35b8')]);}this[_0x477d('0x35bb')]();};var _0x43e4a6=mxVertexHandler[_0x477d('0x798')][_0x477d('0x2d97')];mxVertexHandler[_0x477d('0x798')][_0x477d('0x2d97')]=function(){_0x43e4a6[_0x477d('0x4f5')](this);this[_0x477d('0x35bb')]();};mxVertexHandler[_0x477d('0x798')]['redrawTools']=function(){if(this[_0x477d('0xe')]!=null&&this[_0x477d('0x35b8')]!=null){if(mxVertexHandler[_0x477d('0x798')][_0x477d('0x330b')]){this[_0x477d('0x35b8')]['style']['left']=this[_0x477d('0xe')]['x']+this[_0x477d('0xe')][_0x477d('0x4ef')]-this[_0x477d('0x35b8')]['offsetWidth']/0x2+'px';this[_0x477d('0x35b8')][_0x477d('0x457')]['top']=this['state']['y']-this[_0x477d('0x35b8')][_0x477d('0x591')]/0x2+'px';}else{this['connectorImg']['style'][_0x477d('0x77e')]=this[_0x477d('0xe')]['x']+this[_0x477d('0xe')]['width']+mxConstants['HANDLE_SIZE']/0x2+0x4+'px';this['connectorImg'][_0x477d('0x457')]['top']=this[_0x477d('0xe')]['y']+(this[_0x477d('0xe')][_0x477d('0x504')]-this[_0x477d('0x35b8')]['offsetHeight'])/0x2+'px';}}};var _0x3e45e5=mxVertexHandler[_0x477d('0x798')][_0x477d('0x2a81')];mxVertexHandler['prototype'][_0x477d('0x2a81')]=function(_0x1a151c,_0x2910db){_0x3e45e5['apply'](this,arguments);if(this['connectorImg']!=null){this[_0x477d('0x35b8')]['parentNode']['removeChild'](this[_0x477d('0x35b8')]);this[_0x477d('0x35b8')]=null;}};new Image()[_0x477d('0x49b')]=_0x3a6ad5;}else{var _0x4b447a=new mxImage(IMAGE_PATH+_0x477d('0x35bc'),0xf,0xf);mxConnectionHandler[_0x477d('0x798')][_0x477d('0x32bf')]=_0x4b447a;new Image()[_0x477d('0x49b')]=_0x4b447a[_0x477d('0x49b')];if(urlParams['connect']=='2'){var _0x4b447a=new mxImage(IMAGE_PATH+'/connector.png',0xf,0xf);var _0x1c2cd0=mxVertexHandler[_0x477d('0x798')][_0x477d('0x5ee')];mxVertexHandler[_0x477d('0x798')][_0x477d('0x5ee')]=function(){_0x1c2cd0[_0x477d('0x4f5')](this,arguments);if(showConnectorImg&&this[_0x477d('0x2c83')][_0x477d('0x30fc')][_0x477d('0x2c6f')]()&&this['graph'][_0x477d('0x3195')](this['state'][_0x477d('0x29d5')])&&!this[_0x477d('0x2c83')][_0x477d('0x3186')](this['state'][_0x477d('0x29d5')])&&this[_0x477d('0x2c83')][_0x477d('0x320b')]()==0x1){if(mxClient[_0x477d('0x2984')]&&!mxClient[_0x477d('0x2974')]){this['connectorImg']=document[_0x477d('0x3c7')](_0x477d('0x2a6d'));this[_0x477d('0x35b8')][_0x477d('0x457')]['backgroundImage']=_0x477d('0x344a')+_0x4b447a[_0x477d('0x49b')]+')';this[_0x477d('0x35b8')]['style']['backgroundPosition']=_0x477d('0x2e27');this[_0x477d('0x35b8')][_0x477d('0x457')][_0x477d('0x359c')]=_0x477d('0x35bd');this[_0x477d('0x35b8')][_0x477d('0x457')]['width']=_0x4b447a[_0x477d('0x4ef')]+0x4+'px';this[_0x477d('0x35b8')][_0x477d('0x457')][_0x477d('0x504')]=_0x4b447a[_0x477d('0x504')]+0x4+'px';this[_0x477d('0x35b8')][_0x477d('0x457')][_0x477d('0x6c2')]=mxClient[_0x477d('0x2a71')]?'inline':_0x477d('0x2a73');}else{this['connectorImg']=mxUtils[_0x477d('0x35b9')](_0x4b447a[_0x477d('0x49b')]);this['connectorImg'][_0x477d('0x457')][_0x477d('0x4ef')]=_0x4b447a[_0x477d('0x4ef')]+'px';this['connectorImg']['style']['height']=_0x4b447a['height']+'px';}this['connectorImg'][_0x477d('0x457')]['cursor']=_0x477d('0x2a15');this['connectorImg'][_0x477d('0x457')]['position']=_0x477d('0x54c');this['connectorImg'][_0x477d('0x494')](_0x477d('0x49a'),mxResources[_0x477d('0x376')]('connect'));mxEvent[_0x477d('0x322e')](this['connectorImg'],this[_0x477d('0x2c83')],this[_0x477d('0xe')]);this[_0x477d('0x35b8')][_0x477d('0x457')][_0x477d('0x2a97')]=_0x477d('0x2ba6');mxEvent['addListener'](this[_0x477d('0x35b8')],_0x477d('0x2b2a'),mxUtils[_0x477d('0x5d6')](this,function(_0x496e4e){this[_0x477d('0x2c83')][_0x477d('0x309d')][_0x477d('0x2bfd')]();var _0x3ca0c3=mxUtils[_0x477d('0x3018')](this[_0x477d('0x2c83')]['container'],mxEvent[_0x477d('0x2ba9')](_0x496e4e),mxEvent[_0x477d('0x2b1d')](_0x496e4e));this[_0x477d('0x2c83')][_0x477d('0x30fc')][_0x477d('0x612')](this[_0x477d('0xe')],_0x3ca0c3['x'],_0x3ca0c3['y']);this[_0x477d('0x2c83')][_0x477d('0x2bee')]=!![];mxEvent[_0x477d('0x2b15')](_0x496e4e);}));this['graph'][_0x477d('0x4e7')][_0x477d('0xd8f')](this[_0x477d('0x35b8')]);}this[_0x477d('0x35bb')]();};var _0x43e4a6=mxVertexHandler['prototype'][_0x477d('0x2d97')];mxVertexHandler['prototype'][_0x477d('0x2d97')]=function(){_0x43e4a6[_0x477d('0x4f5')](this);this[_0x477d('0x35bb')]();};mxVertexHandler[_0x477d('0x798')][_0x477d('0x35bb')]=function(){if(this[_0x477d('0xe')]!=null&&this[_0x477d('0x35b8')]!=null){if(mxVertexHandler['prototype'][_0x477d('0x330b')]){this[_0x477d('0x35b8')]['style'][_0x477d('0x77e')]=this[_0x477d('0xe')]['x']+this[_0x477d('0xe')][_0x477d('0x4ef')]-this[_0x477d('0x35b8')]['offsetWidth']/0x2+'px';this[_0x477d('0x35b8')][_0x477d('0x457')]['top']=this[_0x477d('0xe')]['y']-this['connectorImg'][_0x477d('0x591')]/0x2+'px';}else{this[_0x477d('0x35b8')][_0x477d('0x457')][_0x477d('0x77e')]=this['state']['x']+this[_0x477d('0xe')][_0x477d('0x4ef')]+mxConstants[_0x477d('0x3324')]/0x2+0x2+'px';this['connectorImg'][_0x477d('0x457')]['top']=this[_0x477d('0xe')]['y']+(this[_0x477d('0xe')]['height']-this[_0x477d('0x35b8')][_0x477d('0x591')])/0x2+'px';}}};var _0x3e45e5=mxVertexHandler['prototype'][_0x477d('0x2a81')];mxVertexHandler['prototype']['destroy']=function(_0x1d3c72,_0x350f82){_0x3e45e5['apply'](this,arguments);if(this[_0x477d('0x35b8')]!=null){this[_0x477d('0x35b8')]['parentNode'][_0x477d('0x29e3')](this['connectorImg']);this[_0x477d('0x35b8')]=null;}};}}}());_0x477d('0x35be');function Actions(_0x195909){this[_0x477d('0x3509')]=_0x195909;this[_0x477d('0x969')]=new Object();this['init']();};Actions['prototype']['init']=function(){var _0x37c2ff=this[_0x477d('0x3509')];var _0x34c4eb=_0x37c2ff[_0x477d('0x336e')];var _0x17e4fe=_0x34c4eb[_0x477d('0x2c83')];this[_0x477d('0x23bc')](_0x477d('0x1619'),function(){_0x37c2ff['projectDesignController'][_0x477d('0xf18')]();},CRUD_PERMISSIONS['canEdit']);this[_0x477d('0x23bc')](_0x477d('0x1192'),function(){_0x37c2ff['projectDesignController'][_0x477d('0x35bf')]();},CRUD_PERMISSIONS[_0x477d('0xedb')]);this[_0x477d('0x23bc')](_0x477d('0xd70'),function(){_0x37c2ff['projectDesignController']['saveOrPublishProject'](mxUtils[_0x477d('0x2a04')](_0x34c4eb[_0x477d('0x34f2')]()));_0x37c2ff[_0x477d('0x336e')][_0x477d('0x2fcf')]=![];},CRUD_PERMISSIONS[_0x477d('0xedb')],null,_0x477d('0x35c0'));this[_0x477d('0x23bc')](_0x477d('0x34db'),function(){_0x37c2ff[_0x477d('0x343d')]['saveProjectAs'](mxUtils[_0x477d('0x2a04')](_0x34c4eb[_0x477d('0x34f2')]()));},CRUD_PERMISSIONS[_0x477d('0xedb')],null,_0x477d('0x35c1'));this['addAction'](_0x477d('0x34dd'),function(){_0x37c2ff[_0x477d('0x336e')][_0x477d('0x33e1')]('');var _0x38dd9e=_0x37c2ff[_0x477d('0x306e')]();if(_0x38dd9e===null){_0x37c2ff[_0x477d('0x343d')]['saveOrPublishProject'](mxUtils[_0x477d('0x2a04')](_0x34c4eb[_0x477d('0x34f2')]()),!![]);_0x37c2ff['editor'][_0x477d('0x2fcf')]=![];}else{_0x37c2ff[_0x477d('0x336e')][_0x477d('0x33e1')](_0x477d('0x35c2'));setTimeout(function(){_0x37c2ff[_0x477d('0x336e')][_0x477d('0x33e1')]('');},0xbb8);}},CRUD_PERMISSIONS[_0x477d('0xedb')],null,_0x477d('0x35c3'));this[_0x477d('0x23bc')](_0x477d('0xbb9'),function(){_0x37c2ff[_0x477d('0x343d')][_0x477d('0x1195')]();},CRUD_PERMISSIONS[_0x477d('0xedb')]);this[_0x477d('0x23bc')](_0x477d('0x14d8'),function(){_0x37c2ff['projectDesignController'][_0x477d('0x35c4')](function(_0x132d04){_0x34c4eb[_0x477d('0x347f')](mxUtils[_0x477d('0x2d43')](_0x132d04)[_0x477d('0x29ad')]);});},CRUD_PERMISSIONS[_0x477d('0xedb')]);this[_0x477d('0x23bc')](_0x477d('0xeea'),function(){_0x37c2ff[_0x477d('0x3479')](mxUtils[_0x477d('0x2a04')](_0x34c4eb[_0x477d('0x34f2')]()));},null,null,_0x477d('0x35c5'));this[_0x477d('0x23bc')]('editFile',function(){_0x37c2ff['projectDesignController'][_0x477d('0x1196')](mxUtils[_0x477d('0x2a04')](_0x34c4eb['getGraphXml']()),function(_0x24956c){_0x34c4eb[_0x477d('0x347f')](mxUtils[_0x477d('0x2d43')](_0x24956c)[_0x477d('0x29ad')]);});},CRUD_PERMISSIONS['canEdit']);this['addAction'](_0x477d('0x2a8f'),function(){mxUtils['printScreen'](_0x17e4fe);},null,_0x477d('0x35c6'),_0x477d('0x35c7'));this[_0x477d('0x23bc')](_0x477d('0xe9b'),function(){mxUtils[_0x477d('0x395')](_0x17e4fe,null,0xa,0xa);});this[_0x477d('0x23bc')](_0x477d('0x185f'),function(){_0x34c4eb[_0x477d('0x3388')]['undo']();},null,_0x477d('0x35c8'),_0x477d('0x35c9'));this['addAction'](_0x477d('0x2c4b'),function(){_0x34c4eb[_0x477d('0x3388')]['redo']();},null,_0x477d('0x35ca'),'Ctrl+Y');this[_0x477d('0x23bc')](_0x477d('0x33ac'),function(){mxClipboard[_0x477d('0x33ac')](_0x17e4fe);},null,_0x477d('0x35cb'),'Ctrl+X');this[_0x477d('0x23bc')]('copy',function(){mxClipboard[_0x477d('0x6d9')](_0x17e4fe);},null,'sprite-copy',_0x477d('0x35cc'));this[_0x477d('0x23bc')](_0x477d('0x33ad'),function(){mxClipboard[_0x477d('0x33ad')](_0x17e4fe);},![],_0x477d('0x35cd'),_0x477d('0x35ce'));this[_0x477d('0x23bc')](_0x477d('0xa55'),function(){_0x17e4fe[_0x477d('0x2b88')]();},null,null,_0x477d('0xd7b'));this['addAction'](_0x477d('0x14d2'),function(){var _0xfb52f0=_0x17e4fe[_0x477d('0x2bf2')];_0x17e4fe[_0x477d('0x2b8d')](_0x17e4fe[_0x477d('0x2b5f')](_0x17e4fe['getSelectionCells'](),_0xfb52f0,_0xfb52f0,!![]));},null,null,_0x477d('0x35cf'));this[_0x477d('0x23bc')](_0x477d('0x3215'),function(){_0x17e4fe['selectVertices']();},null,null,_0x477d('0x35d0'));this['addAction'](_0x477d('0x33b3'),function(){_0x17e4fe['selectEdges']();},null,null,'Ctrl+Shift+E');this['addAction'](_0x477d('0x6e5'),function(){_0x17e4fe[_0x477d('0x6e5')]();},null,null,'Ctrl+A');this[_0x477d('0x23bc')](_0x477d('0x3188'),function(){_0x17e4fe['home']();},null,null,_0x477d('0x2867'));this[_0x477d('0x23bc')](_0x477d('0x3187'),function(){_0x17e4fe[_0x477d('0x3187')]();},null,null,_0x477d('0x35d1'));this[_0x477d('0x23bc')](_0x477d('0x3185'),function(){_0x17e4fe['enterGroup']();},null,null,_0x477d('0x35d2'));this['addAction']('expand',function(){_0x17e4fe[_0x477d('0x3025')](![]);},null,null,_0x477d('0x35d3'));this['addAction'](_0x477d('0x58b'),function(){_0x17e4fe[_0x477d('0x3025')](!![]);},null,null,_0x477d('0x35d4'));this[_0x477d('0x23bc')](_0x477d('0x33b4'),function(){_0x17e4fe[_0x477d('0x2b63')](![]);},null,null,_0x477d('0x35d5'));this['addAction'](_0x477d('0x34b8'),function(){_0x17e4fe[_0x477d('0x2b63')](!![]);},null,null,_0x477d('0x35d6'));this[_0x477d('0x23bc')](_0x477d('0x587'),function(){_0x17e4fe[_0x477d('0x3110')](_0x17e4fe['groupCells'](null,0x0));},null,null,_0x477d('0x35d7'));this[_0x477d('0x23bc')](_0x477d('0x33ae'),function(){_0x17e4fe['setSelectionCells'](_0x17e4fe[_0x477d('0x2b67')]());},null,null,_0x477d('0x35d8'));this[_0x477d('0x23bc')]('removeFromGroup',function(){_0x17e4fe[_0x477d('0x2b68')]();});this[_0x477d('0x23bc')](_0x477d('0x34c0'),function(){var _0x1e19e8=_0x17e4fe[_0x477d('0x3112')]();var _0x2bf193=_0x17e4fe[_0x477d('0x34c2')](_0x1e19e8);if(_0x2bf193==null){_0x2bf193='';}_0x2bf193=mxUtils[_0x477d('0x683')](mxResources['get']('enterValue'),_0x2bf193);if(_0x2bf193!=null){_0x17e4fe[_0x477d('0x35b3')](_0x1e19e8,_0x2bf193);}});this['addAction'](_0x477d('0x34c1'),function(){var _0x131f0a=_0x17e4fe['getSelectionCell']();var _0x1278a6=_0x17e4fe[_0x477d('0x34c2')](_0x131f0a);if(_0x1278a6!=null){window[_0x477d('0x1192')](_0x1278a6);}});this['addAction'](_0x477d('0x2af0'),function(){var _0x2bd35a=_0x17e4fe[_0x477d('0x2b89')]();if(_0x2bd35a!=null){_0x17e4fe[_0x477d('0x2a75')]()[_0x477d('0x2a65')]();try{for(var _0x2f8014=0x0;_0x2f8014<_0x2bd35a['length'];_0x2f8014++){var _0x5ceeff=_0x2bd35a[_0x2f8014];if(_0x17e4fe['getModel']()[_0x477d('0x2c42')](_0x5ceeff)){_0x17e4fe[_0x477d('0x2f19')]([_0x5ceeff],0x14);}else{_0x17e4fe[_0x477d('0x2b71')](_0x5ceeff);}}}finally{_0x17e4fe['getModel']()['endUpdate']();}}});this[_0x477d('0x23bc')](_0x477d('0x35d9'),function(){var _0x4409e2=_0x17e4fe[_0x477d('0x29d4')]()[_0x477d('0x29df')](_0x17e4fe['getSelectionCell']());var _0x5b3675=_0x477d('0x2cfd');if(_0x4409e2!=null&&_0x4409e2['style'][mxConstants[_0x477d('0x35da')]]==_0x477d('0x2cfd')){_0x5b3675=null;}_0x17e4fe['setCellStyles'](mxConstants[_0x477d('0x35da')],_0x5b3675);});this[_0x477d('0x23bc')](_0x477d('0x2abf'),function(){var _0x1a862d='0';var _0x45e760=_0x17e4fe[_0x477d('0x29d4')]()['getState'](_0x17e4fe['getSelectionCell']());if(_0x45e760!=null){_0x1a862d=_0x45e760[_0x477d('0x457')][mxConstants['STYLE_ROTATION']]||_0x1a862d;}_0x1a862d=mxUtils[_0x477d('0x683')](mxResources[_0x477d('0x376')](_0x477d('0x35db'))+'\x20('+mxResources[_0x477d('0x376')]('rotation')+'\x200-360)',_0x1a862d);if(_0x1a862d!=null){_0x17e4fe['setCellStyles'](mxConstants[_0x477d('0x2de3')],_0x1a862d);}});this[_0x477d('0x23bc')](_0x477d('0x34b9'),function(){var _0x239d09=_0x17e4fe['getSelectionCells']();if(_0x239d09!=null){_0x17e4fe['getModel']()['beginUpdate']();try{for(var _0x2f7c8c=0x0;_0x2f7c8c<_0x239d09[_0x477d('0x79')];_0x2f7c8c++){var _0x205c34=_0x239d09[_0x2f7c8c];if(_0x17e4fe['getModel']()['isVertex'](_0x205c34)&&_0x17e4fe[_0x477d('0x2a75')]()['getChildCount'](_0x205c34)==0x0){var _0x1fc36a=_0x17e4fe[_0x477d('0x2e6a')](_0x205c34);if(_0x1fc36a!=null){_0x1fc36a=_0x1fc36a[_0x477d('0x117f')]();_0x1fc36a['x']+=_0x1fc36a[_0x477d('0x4ef')]/0x2-_0x1fc36a['height']/0x2;_0x1fc36a['y']+=_0x1fc36a[_0x477d('0x504')]/0x2-_0x1fc36a[_0x477d('0x4ef')]/0x2;var _0x25c25c=_0x1fc36a[_0x477d('0x4ef')];_0x1fc36a[_0x477d('0x4ef')]=_0x1fc36a['height'];_0x1fc36a['height']=_0x25c25c;_0x17e4fe[_0x477d('0x2a75')]()['setGeometry'](_0x205c34,_0x1fc36a);var _0x2801e5=_0x17e4fe[_0x477d('0x1672')]['getState'](_0x205c34);if(_0x2801e5!=null){var _0x430284=_0x2801e5[_0x477d('0x457')][mxConstants['STYLE_DIRECTION']]||_0x477d('0x2b07');if(_0x430284==_0x477d('0x2b07')){_0x430284=_0x477d('0x2b06');}else if(_0x430284=='south'){_0x430284='west';}else if(_0x430284=='west'){_0x430284=_0x477d('0x2dac');}else if(_0x430284=='north'){_0x430284='east';}_0x17e4fe['setCellStyles'](mxConstants[_0x477d('0x2da7')],_0x430284,[_0x205c34]);}}}}}finally{_0x17e4fe['getModel']()[_0x477d('0x2a67')]();}}},null,null,_0x477d('0x35dc'));this[_0x477d('0x23bc')](_0x477d('0x33b0'),function(){_0x17e4fe[_0x477d('0x3190')](0x1);});this['addAction'](_0x477d('0x318e'),function(){_0x17e4fe['zoomIn']();},null,null,'Add');this[_0x477d('0x23bc')](_0x477d('0x33af'),function(){_0x17e4fe[_0x477d('0x33af')]();},null,null,'Subtract');this[_0x477d('0x23bc')](_0x477d('0x35dd'),function(){_0x17e4fe['fit']();});this[_0x477d('0x23bc')](_0x477d('0x35de'),mxUtils[_0x477d('0x5d6')](this,function(){if(!_0x17e4fe['pageVisible']){this[_0x477d('0x376')](_0x477d('0x35df'))['funct']();}var _0x5de4a9=_0x17e4fe[_0x477d('0x2f70')];var _0x384955=_0x17e4fe[_0x477d('0x2f6f')];var _0x116659=_0x17e4fe[_0x477d('0x4e7')][_0x477d('0x29af')]-0x14;var _0x4f0167=_0x17e4fe[_0x477d('0x4e7')][_0x477d('0x29ae')]-0x14;var _0x11e2fa=Math[_0x477d('0x6c4')](0x64*Math[_0x477d('0x4fa')](_0x116659/_0x5de4a9[_0x477d('0x4ef')]/_0x384955,_0x4f0167/_0x5de4a9[_0x477d('0x504')]/_0x384955))/0x64;_0x17e4fe[_0x477d('0x3190')](_0x11e2fa);_0x17e4fe[_0x477d('0x4e7')][_0x477d('0x781')]=Math['round'](_0x17e4fe['view'][_0x477d('0x454')]['x']*_0x11e2fa-Math[_0x477d('0x13fc')](0xa,(_0x17e4fe['container'][_0x477d('0x29af')]-_0x5de4a9['width']*_0x384955*_0x11e2fa)/0x2));_0x17e4fe[_0x477d('0x4e7')][_0x477d('0x52a')]=Math[_0x477d('0x4fc')](_0x17e4fe[_0x477d('0x1672')][_0x477d('0x454')]['y']*_0x11e2fa-Math[_0x477d('0x13fc')](0xa,(_0x17e4fe['container'][_0x477d('0x29ae')]-_0x5de4a9[_0x477d('0x504')]*_0x384955*_0x11e2fa)/0x2));}));this[_0x477d('0x23bc')](_0x477d('0x35e0'),mxUtils[_0x477d('0x5d6')](this,function(){if(!_0x17e4fe['pageVisible']){this[_0x477d('0x376')](_0x477d('0x35df'))[_0x477d('0x2c05')]();}var _0x271bda=_0x17e4fe[_0x477d('0x2f70')];var _0x364ad5=_0x17e4fe[_0x477d('0x2f6f')];var _0x1695e7=_0x17e4fe[_0x477d('0x4e7')][_0x477d('0x29af')]-0x14;var _0x29c435=Math[_0x477d('0x6c4')](0x64*_0x1695e7/_0x271bda[_0x477d('0x4ef')]/_0x364ad5)/0x64;_0x17e4fe['zoomTo'](_0x29c435);_0x17e4fe[_0x477d('0x4e7')]['scrollLeft']=Math[_0x477d('0x4fc')](_0x17e4fe[_0x477d('0x1672')]['translate']['x']*_0x29c435-Math[_0x477d('0x13fc')](0xa,(_0x17e4fe[_0x477d('0x4e7')][_0x477d('0x29af')]-_0x271bda[_0x477d('0x4ef')]*_0x364ad5*_0x29c435)/0x2));_0x17e4fe[_0x477d('0x4e7')][_0x477d('0x52a')]=Math['round'](_0x17e4fe['view'][_0x477d('0x454')]['y']*_0x29c435-Math[_0x477d('0x13fc')](0xa,(_0x17e4fe[_0x477d('0x4e7')]['clientHeight']-_0x271bda[_0x477d('0x504')]*_0x364ad5*_0x29c435)/0x2));}));this[_0x477d('0x390')](_0x477d('0x35e1'),new Action(mxResources['get'](_0x477d('0x9f6')),function(){var _0xabad31=mxUtils[_0x477d('0x683')](mxResources[_0x477d('0x376')](_0x477d('0x35db'))+_0x477d('0x35e2'),parseInt(_0x17e4fe[_0x477d('0x29d4')]()[_0x477d('0x2c93')]()*0x64));if(_0xabad31!=null&&_0xabad31[_0x477d('0x79')]>0x0&&!isNaN(parseInt(_0xabad31))){_0x17e4fe[_0x477d('0x3190')](parseInt(_0xabad31)/0x64);}}));var _0x2aef52=null;_0x2aef52=this['addAction']('grid',function(){_0x17e4fe[_0x477d('0x2bdc')](!_0x17e4fe['isGridEnabled']());_0x34c4eb['updateGraphComponents']();},null,null,'Ctrl+Shift+G');_0x2aef52[_0x477d('0x35e3')](!![]);_0x2aef52[_0x477d('0x35e4')](function(){return _0x17e4fe['isGridEnabled']();});_0x2aef52=this[_0x477d('0x23bc')](_0x477d('0x3291'),function(){_0x17e4fe[_0x477d('0x30fd')][_0x477d('0x2bd7')]=!_0x17e4fe[_0x477d('0x30fd')][_0x477d('0x2bd7')];});_0x2aef52[_0x477d('0x35e3')](!![]);_0x2aef52['setSelectedCallback'](function(){return _0x17e4fe[_0x477d('0x30fd')]['guidesEnabled'];});_0x2aef52=this[_0x477d('0x23bc')]('tooltips',function(){_0x17e4fe[_0x477d('0x3076')][_0x477d('0x2bda')](!_0x17e4fe[_0x477d('0x3076')]['isEnabled']());});_0x2aef52[_0x477d('0x35e3')](!![]);_0x2aef52[_0x477d('0x35e4')](function(){return _0x17e4fe[_0x477d('0x3076')][_0x477d('0x2c6f')]();});_0x2aef52=this['addAction'](_0x477d('0x56d'),function(){_0x17e4fe[_0x477d('0x30c7')]=!_0x17e4fe[_0x477d('0x30c7')];_0x17e4fe['view'][_0x477d('0x306b')]();});_0x2aef52[_0x477d('0x35e3')](!![]);_0x2aef52[_0x477d('0x35e4')](function(){return _0x17e4fe[_0x477d('0x30c7')];});_0x2aef52=this[_0x477d('0x23bc')](_0x477d('0x2c58'),function(){_0x17e4fe[_0x477d('0x2c58')]=!_0x17e4fe[_0x477d('0x2c58')];_0x34c4eb[_0x477d('0x34f1')]();if(!_0x17e4fe[_0x477d('0x2c58')]){var _0x411242=_0x17e4fe[_0x477d('0x1672')][_0x477d('0x454')];_0x17e4fe['view'][_0x477d('0x306a')](_0x411242['x']-_0x17e4fe[_0x477d('0x4e7')][_0x477d('0x781')]/_0x17e4fe[_0x477d('0x1672')][_0x477d('0x29d8')],_0x411242['y']-_0x17e4fe['container'][_0x477d('0x52a')]/_0x17e4fe[_0x477d('0x1672')][_0x477d('0x29d8')]);_0x17e4fe[_0x477d('0x4e7')]['scrollLeft']=0x0;_0x17e4fe[_0x477d('0x4e7')]['scrollTop']=0x0;_0x17e4fe[_0x477d('0x3063')]();}else{var _0x1f4769=_0x17e4fe[_0x477d('0x1672')]['translate']['x'];var _0x4b8f6c=_0x17e4fe[_0x477d('0x1672')][_0x477d('0x454')]['y'];_0x17e4fe[_0x477d('0x1672')][_0x477d('0x454')]['x']=0x0;_0x17e4fe[_0x477d('0x1672')][_0x477d('0x454')]['y']=0x0;_0x17e4fe[_0x477d('0x3063')]();_0x17e4fe[_0x477d('0x4e7')]['scrollLeft']-=Math[_0x477d('0x4fc')](_0x1f4769*_0x17e4fe[_0x477d('0x1672')][_0x477d('0x29d8')]);_0x17e4fe[_0x477d('0x4e7')][_0x477d('0x52a')]-=Math[_0x477d('0x4fc')](_0x4b8f6c*_0x17e4fe[_0x477d('0x1672')][_0x477d('0x29d8')]);}},!mxClient[_0x477d('0x2b2c')]);_0x2aef52['setToggleAction'](!![]);_0x2aef52[_0x477d('0x35e4')](function(){return _0x17e4fe[_0x477d('0x4e7')]['style'][_0x477d('0x29e9')]==_0x477d('0x593');});_0x2aef52=this[_0x477d('0x23bc')](_0x477d('0x35df'),mxUtils[_0x477d('0x5d6')](this,function(){_0x17e4fe[_0x477d('0x30bc')]=!_0x17e4fe['pageVisible'];_0x17e4fe[_0x477d('0x30bd')]=_0x17e4fe[_0x477d('0x30bc')];_0x17e4fe['preferPageSize']=_0x17e4fe['pageBreaksVisible'];_0x17e4fe[_0x477d('0x1672')][_0x477d('0x306e')]();_0x17e4fe[_0x477d('0x3063')]();_0x34c4eb[_0x477d('0x34f1')]();_0x34c4eb[_0x477d('0x2fd7')][_0x477d('0x710')]();if(mxUtils[_0x477d('0x2c59')](_0x17e4fe['container'])){if(_0x17e4fe[_0x477d('0x30bc')]){_0x17e4fe[_0x477d('0x4e7')][_0x477d('0x781')]-=0x14;_0x17e4fe[_0x477d('0x4e7')][_0x477d('0x52a')]-=0x14;}else{_0x17e4fe['container'][_0x477d('0x781')]+=0x14;_0x17e4fe[_0x477d('0x4e7')][_0x477d('0x52a')]+=0x14;}}}));_0x2aef52['setToggleAction'](!![]);_0x2aef52[_0x477d('0x35e4')](function(){return _0x17e4fe[_0x477d('0x30bc')];});_0x2aef52=this['addAction']('connect',function(){_0x17e4fe[_0x477d('0x2f62')](!_0x17e4fe[_0x477d('0x30fc')][_0x477d('0x2c6f')]());},null,null,_0x477d('0x35e5'));_0x2aef52[_0x477d('0x35e3')](!![]);_0x2aef52[_0x477d('0x35e4')](function(){return _0x17e4fe['connectionHandler']['isEnabled']();});_0x2aef52=this[_0x477d('0x23bc')]('copyConnect',function(){_0x17e4fe['connectionHandler']['setCreateTarget'](!_0x17e4fe[_0x477d('0x30fc')][_0x477d('0x32cc')]());});_0x2aef52[_0x477d('0x35e3')](!![]);_0x2aef52['setSelectedCallback'](function(){return _0x17e4fe[_0x477d('0x30fc')][_0x477d('0x32cc')]();});this[_0x477d('0x23bc')](_0x477d('0x172'),function(){window[_0x477d('0x1192')]('https://wiki.xcallymotion.com/display/XMV/Cally+Square');});this[_0x477d('0x390')](_0x477d('0x34dc'),new Action(mxResources['get'](_0x477d('0x34dc'))+_0x477d('0x35e6'),function(){window[_0x477d('0x1192')](_0x477d('0x35e7'));},null,null,null));var _0x61cd4d=mxUtils[_0x477d('0x5d6')](this,function(_0x5b9023,_0x875dbb){this['addAction'](_0x5b9023,function(){_0x17e4fe[_0x477d('0x33b9')](mxConstants[_0x477d('0x2fd6')],_0x875dbb);});});_0x61cd4d(_0x477d('0x2d8a'),mxConstants[_0x477d('0x2d36')]);_0x61cd4d('italic',mxConstants[_0x477d('0x2d38')]);_0x61cd4d(_0x477d('0x2a14'),mxConstants[_0x477d('0x2d39')]);this[_0x477d('0x23bc')](_0x477d('0x2cc9'),function(){_0x17e4fe[_0x477d('0x3136')](mxConstants['STYLE_SHADOW']);});this[_0x477d('0x23bc')](_0x477d('0x2ae3'),function(){_0x17e4fe['toggleCellStyles'](mxConstants[_0x477d('0x35e8')]);});this['addAction'](_0x477d('0x1235'),function(){_0x17e4fe['toggleCellStyles'](mxConstants[_0x477d('0x2de7')]);});this[_0x477d('0x23bc')](_0x477d('0x2ae4'),function(){_0x17e4fe[_0x477d('0x3136')](mxConstants['STYLE_CURVED']);});this[_0x477d('0x23bc')](_0x477d('0x457'),function(){var _0x522043=_0x17e4fe[_0x477d('0x2b89')]();if(_0x522043!=null&&_0x522043[_0x477d('0x79')]>0x0){var _0x436682=_0x17e4fe[_0x477d('0x2a75')]();var _0x3ceaf2=mxUtils['prompt'](mxResources[_0x477d('0x376')](_0x477d('0x35db'))+'\x20('+mxResources['get'](_0x477d('0x457'))+')',_0x436682['getStyle'](_0x522043[0x0])||'');if(_0x3ceaf2!=null){_0x17e4fe[_0x477d('0x3134')](_0x3ceaf2,_0x522043);}}});this['addAction'](_0x477d('0x34bf'),function(){_0x17e4fe[_0x477d('0x35b1')](_0x17e4fe[_0x477d('0x3112')]());});this['addAction'](_0x477d('0x35e9'),function(){var _0x50632c=_0x17e4fe['getSelectionCell']();if(_0x50632c!=null&&_0x17e4fe['getModel']()[_0x477d('0x29d6')](_0x50632c)){var _0x19e03a=_0x34c4eb[_0x477d('0x2c83')][_0x477d('0x3194')][_0x477d('0x31ad')](_0x50632c);if(_0x19e03a instanceof mxEdgeHandler){var _0x4f191c=_0x17e4fe[_0x477d('0x1672')][_0x477d('0x454')];var _0x15f590=_0x17e4fe['view']['scale'];var _0x9e136f=_0x4f191c['x'];var _0x2f34ca=_0x4f191c['y'];var _0x465536=_0x17e4fe[_0x477d('0x2a75')]()[_0x477d('0x2e63')](_0x50632c);var _0x397ffe=_0x17e4fe[_0x477d('0x2e6a')](_0x465536);if(_0x17e4fe[_0x477d('0x2a75')]()['isVertex'](_0x465536)&&_0x397ffe!=null){_0x9e136f+=_0x397ffe['x'];_0x2f34ca+=_0x397ffe['y'];}_0x19e03a[_0x477d('0x334e')](_0x19e03a['state'],_0x17e4fe[_0x477d('0x309d')]['triggerX']/_0x15f590-_0x9e136f,_0x17e4fe[_0x477d('0x309d')][_0x477d('0x3294')]/_0x15f590-_0x2f34ca);}}});this[_0x477d('0x23bc')](_0x477d('0x35ea'),function(){var _0x5217a9=_0x37c2ff[_0x477d('0x969')][_0x477d('0x376')](_0x477d('0x35ea'));if(_0x5217a9['handler']!=null){_0x5217a9[_0x477d('0x3118')]['removePoint'](_0x5217a9[_0x477d('0x3118')][_0x477d('0xe')],_0x5217a9[_0x477d('0x2f5a')]);}});this[_0x477d('0x23bc')](_0x477d('0x12ab'),function(){function _0x257008(_0xe341dd,_0x233de7,_0x29f9e1){var _0x21893d=null;var _0x2f7900=_0x17e4fe[_0x477d('0x2b89')]();_0x17e4fe['getModel']()[_0x477d('0x2a65')]();try{if(_0x2f7900[_0x477d('0x79')]==0x0){var _0x527f4c=_0x17e4fe[_0x477d('0x3576')]();_0x2f7900=[_0x17e4fe[_0x477d('0x314a')](_0x17e4fe[_0x477d('0x3147')](),null,'',_0x527f4c,_0x527f4c,_0x233de7,_0x29f9e1)];_0x21893d=_0x2f7900;}_0x17e4fe[_0x477d('0x2e5d')](mxConstants['STYLE_IMAGE'],_0xe341dd,_0x2f7900);_0x17e4fe['setCellStyles'](mxConstants[_0x477d('0x2f99')],_0x477d('0x12ab'),_0x2f7900);if(_0x17e4fe[_0x477d('0x320b')]()==0x1){if(_0x233de7!=null&&_0x29f9e1!=null){var _0x4ecb1b=_0x2f7900[0x0];var _0x42388b=_0x17e4fe[_0x477d('0x2a75')]()['getGeometry'](_0x4ecb1b);if(_0x42388b!=null){_0x42388b=_0x42388b['clone']();_0x42388b['width']=_0x233de7;_0x42388b['height']=_0x29f9e1;_0x17e4fe[_0x477d('0x2a75')]()[_0x477d('0x2e65')](_0x4ecb1b,_0x42388b);}}}}finally{_0x17e4fe[_0x477d('0x2a75')]()[_0x477d('0x2a67')]();}if(_0x21893d!=null){_0x17e4fe[_0x477d('0x2b8d')](_0x21893d);_0x17e4fe[_0x477d('0x3193')](_0x21893d[0x0]);}};var _0x5f44ba='';var _0x79f585=_0x17e4fe['getView']()[_0x477d('0x29df')](_0x17e4fe[_0x477d('0x3112')]());if(_0x79f585!=null){_0x5f44ba=_0x79f585[_0x477d('0x457')][mxConstants[_0x477d('0x3132')]]||_0x5f44ba;}_0x5f44ba=mxUtils['prompt'](mxResources[_0x477d('0x376')](_0x477d('0x35db'))+'\x20('+mxResources[_0x477d('0x376')](_0x477d('0x3c1'))+')',_0x5f44ba);if(_0x5f44ba!=null){if(_0x5f44ba[_0x477d('0x79')]>0x0){var _0x9ad254=new Image();_0x9ad254[_0x477d('0xec7')]=function(){_0x257008(_0x5f44ba,_0x9ad254[_0x477d('0x4ef')],_0x9ad254[_0x477d('0x504')]);};_0x9ad254[_0x477d('0x35eb')]=function(){mxUtils['alert'](mxResources[_0x477d('0x376')](_0x477d('0x35ec')));};_0x9ad254[_0x477d('0x49b')]=_0x5f44ba;}}});};Actions['prototype']['addAction']=function(_0x5caf8c,_0x316787,_0x3732fd,_0x5bc38e,_0x428176){return this[_0x477d('0x390')](_0x5caf8c,new Action(mxResources[_0x477d('0x376')](_0x5caf8c),_0x316787,_0x3732fd,_0x5bc38e,_0x428176));};Actions[_0x477d('0x798')]['put']=function(_0x49ec56,_0x31a8ce){this['actions'][_0x49ec56]=_0x31a8ce;return _0x31a8ce;};Actions[_0x477d('0x798')][_0x477d('0x376')]=function(_0x449e01){return this[_0x477d('0x969')][_0x449e01];};function Action(_0x272d69,_0x153afe,_0x2467d4,_0x3c90ad,_0x2f73d2){mxEventSource[_0x477d('0x482')](this);this[_0x477d('0x93e')]=_0x272d69;this[_0x477d('0x2c05')]=_0x153afe;this[_0x477d('0x3b4')]=_0x2467d4!=null?_0x2467d4:!![];this['iconCls']=_0x3c90ad;this[_0x477d('0x35ed')]=_0x2f73d2;};mxUtils[_0x477d('0x3d1')](Action,mxEventSource);Action[_0x477d('0x798')]['setEnabled']=function(_0x440013){if(this[_0x477d('0x3b4')]!=_0x440013){this[_0x477d('0x3b4')]=_0x440013;this[_0x477d('0x2b26')](new mxEventObject(_0x477d('0x35ee')));}};Action[_0x477d('0x798')][_0x477d('0x35e3')]=function(_0x3ca064){this[_0x477d('0x35ef')]=_0x3ca064;};Action[_0x477d('0x798')][_0x477d('0x35e4')]=function(_0x4d04c5){this['selectedCallback']=_0x4d04c5;};Action[_0x477d('0x798')][_0x477d('0x2fb6')]=function(){return this['selectedCallback']();};Menus=function(_0x1803e6){this[_0x477d('0x3509')]=_0x1803e6;this[_0x477d('0x343f')]=new Object();this[_0x477d('0x5ee')]();new Image()['src']=IMAGE_PATH+_0x477d('0x35f0');};Menus[_0x477d('0x798')][_0x477d('0x5ee')]=function(){var _0x4be7=this[_0x477d('0x3509')]['editor'][_0x477d('0x2c83')];this['put'](_0x477d('0x1864'),new Menu(mxUtils[_0x477d('0x5d6')](this,function(_0x355b2a,_0x5f5d7c){var _0x3e6e61=[_0x477d('0x35f1'),_0x477d('0x35f2'),_0x477d('0x4c3'),'Garamond',_0x477d('0x4bd'),_0x477d('0x4bf'),_0x477d('0x4c0'),'Lucida\x20Console',_0x477d('0x35f3')];for(var _0x38e3c4=0x0;_0x38e3c4<_0x3e6e61[_0x477d('0x79')];_0x38e3c4++){var _0x298ad3=this[_0x477d('0x35f4')](_0x355b2a,_0x3e6e61[_0x38e3c4],[mxConstants[_0x477d('0x2fd5')]],[_0x3e6e61[_0x38e3c4]],null,_0x5f5d7c);_0x298ad3[_0x477d('0x29ec')]['nextSibling'][_0x477d('0x457')][_0x477d('0x1864')]=_0x3e6e61[_0x38e3c4];}_0x355b2a['addSeparator'](_0x5f5d7c);this['promptChange'](_0x355b2a,mxResources[_0x477d('0x376')](_0x477d('0x9f6')),'',mxConstants[_0x477d('0x2a6c')],mxConstants[_0x477d('0x2fd5')],_0x5f5d7c);})));this[_0x477d('0x390')](_0x477d('0x8f3'),new Menu(mxUtils[_0x477d('0x5d6')](this,function(_0xa0f41d,_0x44a645){var _0x2fe609=[0x6,0x8,0x9,0xa,0xb,0xc,0xe,0x12,0x18,0x24,0x30,0x48];for(var _0x50c541=0x0;_0x50c541<_0x2fe609[_0x477d('0x79')];_0x50c541++){this['styleChange'](_0xa0f41d,_0x2fe609[_0x50c541],[mxConstants[_0x477d('0x2fd4')]],[_0x2fe609[_0x50c541]],null,_0x44a645);}_0xa0f41d[_0x477d('0x2c10')](_0x44a645);this[_0x477d('0x35f5')](_0xa0f41d,mxResources[_0x477d('0x376')](_0x477d('0x9f6')),'(pt)','12',mxConstants[_0x477d('0x2fd4')],_0x44a645);})));this[_0x477d('0x390')](_0x477d('0x34bd'),new Menu(mxUtils[_0x477d('0x5d6')](this,function(_0x234e30,_0x20255a){var _0x3e8cbd=[0x1,0x2,0x3,0x4,0x8,0xc,0x10,0x18];for(var _0x42a6e2=0x0;_0x42a6e2<_0x3e8cbd[_0x477d('0x79')];_0x42a6e2++){this['styleChange'](_0x234e30,_0x3e8cbd[_0x42a6e2]+'px',[mxConstants[_0x477d('0x2dab')]],[_0x3e8cbd[_0x42a6e2]],null,_0x20255a);}_0x234e30[_0x477d('0x2c10')](_0x20255a);this[_0x477d('0x35f5')](_0x234e30,mxResources[_0x477d('0x376')](_0x477d('0x9f6')),_0x477d('0x35f6'),'1',mxConstants[_0x477d('0x2dab')],_0x20255a);})));this['put']('line',new Menu(mxUtils[_0x477d('0x5d6')](this,function(_0x2764f5,_0x115f00){this['styleChange'](_0x2764f5,mxResources[_0x477d('0x376')](_0x477d('0x35f7')),[mxConstants[_0x477d('0x3089')]],[null],null,_0x115f00);this[_0x477d('0x35f4')](_0x2764f5,mxResources[_0x477d('0x376')]('entityRelation'),[mxConstants[_0x477d('0x3089')]],[_0x477d('0x2b08')],null,_0x115f00);_0x2764f5[_0x477d('0x2c10')](_0x115f00);this[_0x477d('0x35f4')](_0x2764f5,mxResources[_0x477d('0x376')]('horizontal'),[mxConstants[_0x477d('0x3089')],mxConstants[_0x477d('0x3358')]],['elbowEdgeStyle',_0x477d('0x750')],null,_0x115f00);this[_0x477d('0x35f4')](_0x2764f5,mxResources['get'](_0x477d('0x766')),[mxConstants[_0x477d('0x3089')],mxConstants[_0x477d('0x3358')]],['elbowEdgeStyle',_0x477d('0x766')],null,_0x115f00);_0x2764f5[_0x477d('0x2c10')](_0x115f00);this[_0x477d('0x35f4')](_0x2764f5,mxResources[_0x477d('0x376')](_0x477d('0x35f8')),[mxConstants[_0x477d('0x3089')]],[_0x477d('0x2b0d')],null,_0x115f00);this['styleChange'](_0x2764f5,mxResources[_0x477d('0x376')]('automatic'),[mxConstants[_0x477d('0x3089')]],[_0x477d('0x2b0c')],null,_0x115f00);})));this['put'](_0x477d('0x34be'),new Menu(mxUtils[_0x477d('0x5d6')](this,function(_0x41d41d,_0x25cb80){this['styleChange'](_0x41d41d,mxResources[_0x477d('0x376')](_0x477d('0x2b03')),[mxConstants['STYLE_ENDARROW']],[mxConstants[_0x477d('0x2df7')]],null,_0x25cb80);this[_0x477d('0x35f4')](_0x41d41d,mxResources['get'](_0x477d('0x35f9')),[mxConstants['STYLE_ENDARROW']],[mxConstants[_0x477d('0x35fa')]],null,_0x25cb80);this['styleChange'](_0x41d41d,mxResources[_0x477d('0x376')](_0x477d('0x550')),[mxConstants[_0x477d('0x2e47')]],[mxConstants[_0x477d('0x35fb')]],null,_0x25cb80);_0x41d41d[_0x477d('0x2c10')](_0x25cb80);this[_0x477d('0x35f4')](_0x41d41d,mxResources[_0x477d('0x376')](_0x477d('0x2dfa')),[mxConstants[_0x477d('0x2e47')]],[mxConstants[_0x477d('0x35fc')]],null,_0x25cb80);this[_0x477d('0x35f4')](_0x41d41d,mxResources[_0x477d('0x376')]('diamond'),[mxConstants[_0x477d('0x2e47')]],[mxConstants[_0x477d('0x2df8')]],null,_0x25cb80);this[_0x477d('0x35f4')](_0x41d41d,mxResources[_0x477d('0x376')](_0x477d('0x2b05')),[mxConstants[_0x477d('0x2e47')]],[mxConstants[_0x477d('0x35fd')]],null,_0x25cb80);_0x41d41d[_0x477d('0x2c10')](_0x25cb80);this[_0x477d('0x35f4')](_0x41d41d,mxResources[_0x477d('0x376')](_0x477d('0x496')),[mxConstants[_0x477d('0x2e47')]],[mxConstants[_0x477d('0x29cb')]],null,_0x25cb80);_0x41d41d['addSeparator'](_0x25cb80);_0x41d41d['addItem'](mxResources[_0x477d('0x376')](_0x477d('0x2d19')),null,function(){_0x4be7[_0x477d('0x3136')](_0x477d('0x2ae1'),!![]);},_0x25cb80,null,!![]);_0x41d41d[_0x477d('0x2c10')](_0x25cb80);this[_0x477d('0x35f5')](_0x41d41d,mxResources['get'](_0x477d('0x117b')),_0x477d('0x35f6'),mxConstants[_0x477d('0x2e45')],mxConstants['STYLE_ENDSIZE'],_0x25cb80);})));this[_0x477d('0x390')](_0x477d('0x35fe'),new Menu(mxUtils[_0x477d('0x5d6')](this,function(_0x1e81ad,_0x2a92a5){this[_0x477d('0x35f4')](_0x1e81ad,mxResources[_0x477d('0x376')]('classic'),[mxConstants[_0x477d('0x2e46')]],[mxConstants[_0x477d('0x2df7')]],null,_0x2a92a5);this[_0x477d('0x35f4')](_0x1e81ad,mxResources['get'](_0x477d('0x35f9')),[mxConstants['STYLE_STARTARROW']],[mxConstants['ARROW_OPEN']],null,_0x2a92a5);this[_0x477d('0x35f4')](_0x1e81ad,mxResources['get'](_0x477d('0x550')),[mxConstants[_0x477d('0x2e46')]],[mxConstants[_0x477d('0x35fb')]],null,_0x2a92a5);_0x1e81ad[_0x477d('0x2c10')](_0x2a92a5);this[_0x477d('0x35f4')](_0x1e81ad,mxResources[_0x477d('0x376')](_0x477d('0x2dfa')),[mxConstants['STYLE_STARTARROW']],[mxConstants[_0x477d('0x35fc')]],null,_0x2a92a5);this['styleChange'](_0x1e81ad,mxResources[_0x477d('0x376')]('diamond'),[mxConstants['STYLE_STARTARROW']],[mxConstants[_0x477d('0x2df8')]],null,_0x2a92a5);this[_0x477d('0x35f4')](_0x1e81ad,mxResources[_0x477d('0x376')](_0x477d('0x2b05')),[mxConstants[_0x477d('0x2e46')]],[mxConstants[_0x477d('0x35fd')]],null,_0x2a92a5);_0x1e81ad[_0x477d('0x2c10')](_0x2a92a5);this['styleChange'](_0x1e81ad,mxResources[_0x477d('0x376')](_0x477d('0x496')),[mxConstants[_0x477d('0x2e46')]],[mxConstants[_0x477d('0x29cb')]],null,_0x2a92a5);_0x1e81ad[_0x477d('0x2c10')](_0x2a92a5);_0x1e81ad[_0x477d('0x14fc')](mxResources[_0x477d('0x376')](_0x477d('0x2d19')),null,function(){_0x4be7[_0x477d('0x3136')](_0x477d('0x2ae2'),!![]);},_0x2a92a5,null,!![]);_0x1e81ad[_0x477d('0x2c10')](_0x2a92a5);this[_0x477d('0x35f5')](_0x1e81ad,mxResources[_0x477d('0x376')](_0x477d('0x117b')),_0x477d('0x35f6'),mxConstants[_0x477d('0x2e45')],mxConstants[_0x477d('0x2a56')],_0x2a92a5);})));this[_0x477d('0x390')](_0x477d('0x2aea'),new Menu(mxUtils[_0x477d('0x5d6')](this,function(_0x1636e5,_0x34c4a2){var _0x40836c=this['editorUi'][_0x477d('0x969')][_0x477d('0x376')](_0x477d('0x2cc9'))[_0x477d('0x3b4')];var _0x50bf57=this['get'](_0x477d('0x28e0'))[_0x477d('0x3b4')];if(_0x40836c||_0x1636e5[_0x477d('0x35ff')]){this[_0x477d('0x35f5')](_0x1636e5,mxResources['get'](_0x477d('0x72a')),_0x477d('0x35f6'),'0',mxConstants[_0x477d('0x2fdf')],_0x34c4a2,_0x40836c);this[_0x477d('0x35f5')](_0x1636e5,mxResources[_0x477d('0x376')](_0x477d('0x5ad')),'(px)','0',mxConstants[_0x477d('0x2fe0')],_0x34c4a2,_0x40836c);this['promptChange'](_0x1636e5,mxResources[_0x477d('0x376')](_0x477d('0x2a9b')),_0x477d('0x35f6'),'0',mxConstants[_0x477d('0x2fe1')],_0x34c4a2,_0x40836c);this[_0x477d('0x35f5')](_0x1636e5,mxResources[_0x477d('0x376')](_0x477d('0x77e')),_0x477d('0x35f6'),'0',mxConstants[_0x477d('0x2fe2')],_0x34c4a2,_0x40836c);_0x1636e5['addSeparator'](_0x34c4a2);this['promptChange'](_0x1636e5,mxResources[_0x477d('0x376')](_0x477d('0x28ec')),_0x477d('0x35f6'),'0',mxConstants[_0x477d('0x3011')],_0x34c4a2,_0x40836c);this[_0x477d('0x35f5')](_0x1636e5,mxResources[_0x477d('0x376')]('perimeter'),_0x477d('0x35f6'),'0',mxConstants['STYLE_PERIMETER_SPACING'],_0x34c4a2,_0x40836c);}if(_0x50bf57||_0x1636e5[_0x477d('0x35ff')]){_0x1636e5[_0x477d('0x2c10')](_0x34c4a2);this['promptChange'](_0x1636e5,mxResources[_0x477d('0x376')](_0x477d('0x3600')),_0x477d('0x35f6'),'0',mxConstants[_0x477d('0x3601')],_0x34c4a2,_0x50bf57);this[_0x477d('0x35f5')](_0x1636e5,mxResources['get'](_0x477d('0x3602')),_0x477d('0x35f6'),'0',mxConstants[_0x477d('0x308c')],_0x34c4a2,_0x50bf57);}})));this[_0x477d('0x390')](_0x477d('0x12f'),new Menu(mxUtils[_0x477d('0x5d6')](this,function(_0x172bcb,_0x588d17){this[_0x477d('0x3603')](_0x172bcb,'style',_0x588d17);})));this['put']('text',new Menu(mxUtils[_0x477d('0x5d6')](this,function(_0x27af4c,_0x327884){var _0x11aed2=this[_0x477d('0x376')](_0x477d('0x41b'))['enabled'];_0x27af4c[_0x477d('0x2c10')](_0x327884);this[_0x477d('0x3604')]('fontFamily',_0x27af4c,_0x327884);this[_0x477d('0x3604')]('fontSize',_0x27af4c,_0x327884);this[_0x477d('0x3605')](_0x27af4c,['-',_0x477d('0x2d8a'),_0x477d('0x2d59'),_0x477d('0x2a14'),'-'],_0x327884);this['addSubmenu'](_0x477d('0x34bb'),_0x27af4c,_0x327884);this['addMenuItem'](_0x27af4c,'wordWrap',_0x327884);_0x27af4c[_0x477d('0x2c10')](_0x327884);this[_0x477d('0x35f5')](_0x27af4c,mxResources[_0x477d('0x376')](_0x477d('0x2ab7')),_0x477d('0x3606'),_0x477d('0x9f1'),mxConstants[_0x477d('0x3015')],_0x327884,_0x11aed2);_0x27af4c[_0x477d('0x14fc')](mxResources[_0x477d('0x376')](_0x477d('0x3bc')),null,function(){_0x4be7['toggleCellStyles'](mxConstants[_0x477d('0x31a8')],![]);},_0x327884,null,_0x11aed2);})));this[_0x477d('0x390')](_0x477d('0x34bb'),new Menu(mxUtils[_0x477d('0x5d6')](this,function(_0x529572,_0xb6107){this[_0x477d('0x35f4')](_0x529572,mxResources[_0x477d('0x376')](_0x477d('0x3607')),[mxConstants[_0x477d('0x2fa0')]],[mxConstants[_0x477d('0x2e3a')]],null,_0xb6107);this[_0x477d('0x35f4')](_0x529572,mxResources[_0x477d('0x376')](_0x477d('0x2e27')),[mxConstants[_0x477d('0x2fa0')]],[mxConstants[_0x477d('0x2a69')]],null,_0xb6107);this[_0x477d('0x35f4')](_0x529572,mxResources[_0x477d('0x376')](_0x477d('0x3608')),[mxConstants[_0x477d('0x2fa0')]],[mxConstants[_0x477d('0x2a6a')]],null,_0xb6107);_0x529572[_0x477d('0x2c10')](_0xb6107);this['styleChange'](_0x529572,mxResources[_0x477d('0x376')](_0x477d('0x3609')),[mxConstants['STYLE_VERTICAL_ALIGN']],[mxConstants['ALIGN_TOP']],null,_0xb6107);this[_0x477d('0x35f4')](_0x529572,mxResources[_0x477d('0x376')](_0x477d('0x2a9c')),[mxConstants[_0x477d('0x2fcd')]],[mxConstants[_0x477d('0x2a6b')]],null,_0xb6107);this[_0x477d('0x35f4')](_0x529572,mxResources[_0x477d('0x376')](_0x477d('0x360a')),[mxConstants[_0x477d('0x2fcd')]],[mxConstants[_0x477d('0x2d4a')]],null,_0xb6107);_0x529572['addSeparator'](_0xb6107);this[_0x477d('0x3604')](_0x477d('0x68f'),_0x529572,_0xb6107);this[_0x477d('0x3604')](_0x477d('0x2aea'),_0x529572,_0xb6107);_0x529572[_0x477d('0x2c10')](_0xb6107);var _0x298ee7=this[_0x477d('0x376')](_0x477d('0x41b'))[_0x477d('0x3b4')];_0x529572[_0x477d('0x14fc')](mxResources[_0x477d('0x376')]('vertical'),null,function(){_0x4be7[_0x477d('0x3136')](mxConstants[_0x477d('0x2df0')],!![]);},_0xb6107,null,_0x298ee7);})));this[_0x477d('0x390')](_0x477d('0x68f'),new Menu(mxUtils[_0x477d('0x5d6')](this,function(_0x25f521,_0x6c806e){this[_0x477d('0x35f4')](_0x25f521,mxResources[_0x477d('0x376')]('left'),[mxConstants[_0x477d('0x2fcb')],mxConstants[_0x477d('0x2fa0')]],[mxConstants[_0x477d('0x2e3a')],mxConstants[_0x477d('0x2a6a')]],null,_0x6c806e);this[_0x477d('0x35f4')](_0x25f521,mxResources[_0x477d('0x376')](_0x477d('0x2e27')),[mxConstants[_0x477d('0x2fcb')],mxConstants[_0x477d('0x2fa0')]],[mxConstants[_0x477d('0x2a69')],mxConstants[_0x477d('0x2a69')]],null,_0x6c806e);this['styleChange'](_0x25f521,mxResources[_0x477d('0x376')](_0x477d('0x5ad')),[mxConstants['STYLE_LABEL_POSITION'],mxConstants[_0x477d('0x2fa0')]],[mxConstants[_0x477d('0x2a6a')],mxConstants[_0x477d('0x2e3a')]],null,_0x6c806e);_0x25f521[_0x477d('0x2c10')](_0x6c806e);this[_0x477d('0x35f4')](_0x25f521,mxResources[_0x477d('0x376')](_0x477d('0x72a')),[mxConstants[_0x477d('0x2fcc')],mxConstants['STYLE_VERTICAL_ALIGN']],[mxConstants[_0x477d('0x2e3c')],mxConstants['ALIGN_BOTTOM']],null,_0x6c806e);this[_0x477d('0x35f4')](_0x25f521,mxResources[_0x477d('0x376')](_0x477d('0x2a9c')),[mxConstants['STYLE_VERTICAL_LABEL_POSITION'],mxConstants[_0x477d('0x2fcd')]],[mxConstants['ALIGN_MIDDLE'],mxConstants[_0x477d('0x2a6b')]],null,_0x6c806e);this[_0x477d('0x35f4')](_0x25f521,mxResources[_0x477d('0x376')](_0x477d('0x2a9b')),[mxConstants['STYLE_VERTICAL_LABEL_POSITION'],mxConstants['STYLE_VERTICAL_ALIGN']],[mxConstants[_0x477d('0x2d4a')],mxConstants[_0x477d('0x2e3c')]],null,_0x6c806e);})));this['put']('direction',new Menu(mxUtils['bind'](this,function(_0x43c833,_0x18d70b){_0x43c833[_0x477d('0x14fc')](mxResources[_0x477d('0x376')](_0x477d('0x2ace')),null,function(){_0x4be7[_0x477d('0x3136')](mxConstants['STYLE_FLIPH'],![]);},_0x18d70b);_0x43c833[_0x477d('0x14fc')](mxResources['get'](_0x477d('0x2acf')),null,function(){_0x4be7[_0x477d('0x3136')](mxConstants[_0x477d('0x317d')],![]);},_0x18d70b);this['addMenuItems'](_0x43c833,['-',_0x477d('0x34b9'),_0x477d('0x2abf')],_0x18d70b);})));this['put'](_0x477d('0x1863'),new Menu(mxUtils[_0x477d('0x5d6')](this,function(_0x133fde,_0x1e99ef){_0x133fde[_0x477d('0x14fc')](mxResources[_0x477d('0x376')]('leftAlign'),null,function(){_0x4be7['alignCells'](mxConstants['ALIGN_LEFT']);},_0x1e99ef);_0x133fde[_0x477d('0x14fc')](mxResources[_0x477d('0x376')]('center'),null,function(){_0x4be7['alignCells'](mxConstants[_0x477d('0x2a69')]);},_0x1e99ef);_0x133fde['addItem'](mxResources['get']('rightAlign'),null,function(){_0x4be7['alignCells'](mxConstants[_0x477d('0x2a6a')]);},_0x1e99ef);_0x133fde['addSeparator'](_0x1e99ef);_0x133fde[_0x477d('0x14fc')](mxResources[_0x477d('0x376')]('topAlign'),null,function(){_0x4be7['alignCells'](mxConstants[_0x477d('0x2e3c')]);},_0x1e99ef);_0x133fde[_0x477d('0x14fc')](mxResources[_0x477d('0x376')](_0x477d('0x2a9c')),null,function(){_0x4be7[_0x477d('0x2b6a')](mxConstants[_0x477d('0x2a6b')]);},_0x1e99ef);_0x133fde['addItem'](mxResources[_0x477d('0x376')]('bottomAlign'),null,function(){_0x4be7[_0x477d('0x2b6a')](mxConstants[_0x477d('0x2d4a')]);},_0x1e99ef);})));this[_0x477d('0x390')](_0x477d('0x2e84'),new Menu(mxUtils[_0x477d('0x5d6')](this,function(_0x187399,_0x3c7e82){_0x187399[_0x477d('0x14fc')](mxResources[_0x477d('0x376')](_0x477d('0x3383')),null,mxUtils[_0x477d('0x5d6')](this,function(){var _0x50a8fd=new mxHierarchicalLayout(_0x4be7,mxConstants[_0x477d('0x2a4e')]);this[_0x477d('0x3509')]['executeLayout'](_0x50a8fd,!![],!![]);}),_0x3c7e82);_0x187399['addItem'](mxResources[_0x477d('0x376')]('verticalFlow'),null,mxUtils[_0x477d('0x5d6')](this,function(){var _0x459c99=new mxHierarchicalLayout(_0x4be7,mxConstants[_0x477d('0x2d0f')]);this[_0x477d('0x3509')][_0x477d('0x3247')](_0x459c99,!![],!![]);}),_0x3c7e82);})));this[_0x477d('0x390')](_0x477d('0x56d'),new Menu(mxUtils[_0x477d('0x5d6')](this,function(_0x590197,_0x465a2d){this[_0x477d('0x3605')](_0x590197,[_0x477d('0x3188'),'-',_0x477d('0x3187'),_0x477d('0x3185'),'-',_0x477d('0x590'),'collapse'],_0x465a2d);})));this[_0x477d('0x390')]('arrange',new Menu(mxUtils['bind'](this,function(_0x1bf157,_0x30cd59){this[_0x477d('0x3605')](_0x1bf157,[_0x477d('0x33b4'),'toBack','-'],_0x30cd59);this['addSubmenu'](_0x477d('0x2e84'),_0x1bf157,_0x30cd59);_0x1bf157[_0x477d('0x2c10')](_0x30cd59);this['addMenuItems'](_0x1bf157,['-','group','ungroup',_0x477d('0x34ba')],_0x30cd59);})));this[_0x477d('0x390')](_0x477d('0x1672'),new Menu(mxUtils[_0x477d('0x5d6')](this,function(_0x5e984a,_0x51ebd1){this[_0x477d('0x3605')](_0x5e984a,['actualSize'],_0x51ebd1);_0x5e984a[_0x477d('0x2c10')]();var _0x5dc696=[0.25,0.5,0.75,0x1,0x2,0x4];for(var _0x5cf173=0x0;_0x5cf173<_0x5dc696[_0x477d('0x79')];_0x5cf173++){(function(_0xaab9f2){_0x5e984a[_0x477d('0x14fc')](_0xaab9f2*0x64+'%',null,function(){_0x4be7['zoomTo'](_0xaab9f2);},_0x51ebd1);}(_0x5dc696[_0x5cf173]));}this[_0x477d('0x3605')](_0x5e984a,['-','zoomIn',_0x477d('0x33af'),'-',_0x477d('0x35dd'),_0x477d('0x35e1'),'-','fitPage',_0x477d('0x35e0')],_0x51ebd1);})));this[_0x477d('0x390')](_0x477d('0xec5'),new Menu(mxUtils['bind'](this,function(_0x10e480,_0xc2dbd5){this[_0x477d('0x3605')](_0x10e480,[_0x477d('0x1619'),_0x477d('0x1192'),'-',_0x477d('0xd70'),_0x477d('0x34db'),'publish','-',_0x477d('0xbb9'),'-',_0x477d('0x14d8'),_0x477d('0xeea'),'-',_0x477d('0x360b'),_0x477d('0xe0e'),'-','print'],_0xc2dbd5);})));this[_0x477d('0x390')](_0x477d('0xedd'),new Menu(mxUtils[_0x477d('0x5d6')](this,function(_0x292c26,_0x1b5819){this[_0x477d('0x3605')](_0x292c26,[_0x477d('0x185f'),_0x477d('0x2c4b'),'-',_0x477d('0x33ac'),_0x477d('0x6d9'),_0x477d('0x33ad'),_0x477d('0xa55'),'-',_0x477d('0x14d2'),'-',_0x477d('0x3215'),_0x477d('0x33b3'),'selectAll']);})));this['put'](_0x477d('0x172'),new Menu(mxUtils[_0x477d('0x5d6')](this,function(_0x5378fb,_0x1f3bd4){this[_0x477d('0x3605')](_0x5378fb,['help','-',_0x477d('0x34dc')]);})));};Menus[_0x477d('0x798')][_0x477d('0x390')]=function(_0x14f665,_0x4ab305){this[_0x477d('0x343f')][_0x14f665]=_0x4ab305;};Menus['prototype']['get']=function(_0x5540bd){return this[_0x477d('0x343f')][_0x5540bd];};Menus[_0x477d('0x798')][_0x477d('0x3604')]=function(_0xd68c9b,_0x50fa52,_0x1c66e1){var _0x594893=this[_0x477d('0x376')](_0xd68c9b)[_0x477d('0x3b4')];if(_0x50fa52[_0x477d('0x35ff')]||_0x594893){var _0x335166=_0x50fa52['addItem'](mxResources[_0x477d('0x376')](_0xd68c9b),null,null,_0x1c66e1,null,_0x594893);this[_0x477d('0x360c')](_0xd68c9b,_0x50fa52,_0x335166);}};Menus['prototype'][_0x477d('0x360c')]=function(_0x38b872,_0x5293e4,_0x536f9e){var _0xa36c76=this[_0x477d('0x376')](_0x38b872);if(_0xa36c76!=null&&(_0x5293e4[_0x477d('0x35ff')]||_0xa36c76[_0x477d('0x3b4')])){this[_0x477d('0x376')](_0x38b872)['execute'](_0x5293e4,_0x536f9e);}};Menus[_0x477d('0x798')][_0x477d('0x35f4')]=function(_0x196889,_0x4896b5,_0x2a9236,_0x480432,_0x1743fa,_0x35a32f){return _0x196889[_0x477d('0x14fc')](_0x4896b5,null,mxUtils[_0x477d('0x5d6')](this,function(){var _0x42469c=this[_0x477d('0x3509')][_0x477d('0x336e')]['graph'];_0x42469c['getModel']()[_0x477d('0x2a65')]();try{for(var _0x57a36d=0x0;_0x57a36d<_0x2a9236[_0x477d('0x79')];_0x57a36d++){_0x42469c[_0x477d('0x2e5d')](_0x2a9236[_0x57a36d],_0x480432[_0x57a36d]);}}finally{_0x42469c[_0x477d('0x2a75')]()[_0x477d('0x2a67')]();}}),_0x35a32f,_0x1743fa);};Menus[_0x477d('0x798')]['promptChange']=function(_0x36a097,_0x466e64,_0x49e2d3,_0x2293b8,_0x237ed6,_0x44fa62,_0x2aff56){return _0x36a097['addItem'](_0x466e64,null,mxUtils[_0x477d('0x5d6')](this,function(){var _0x2495e5=this['editorUi']['editor'][_0x477d('0x2c83')];var _0x1b4ef3=_0x2293b8;var _0x5e06f0=_0x2495e5[_0x477d('0x29d4')]()[_0x477d('0x29df')](_0x2495e5[_0x477d('0x3112')]());if(_0x5e06f0!=null){_0x1b4ef3=_0x5e06f0[_0x477d('0x457')][_0x237ed6]||_0x1b4ef3;}_0x1b4ef3=mxUtils[_0x477d('0x683')](mxResources[_0x477d('0x376')](_0x477d('0x35db'))+(_0x49e2d3[_0x477d('0x79')]>0x0?'\x20'+_0x49e2d3:''),_0x1b4ef3);if(_0x1b4ef3!=null&&_0x1b4ef3[_0x477d('0x79')]>0x0){_0x2495e5[_0x477d('0x2e5d')](_0x237ed6,_0x1b4ef3);}}),_0x44fa62,null,_0x2aff56);};Menus['prototype']['addMenuItem']=function(_0x1b6905,_0x1068f9,_0x3faaab){var _0x257c3d=this[_0x477d('0x3509')][_0x477d('0x969')][_0x477d('0x376')](_0x1068f9);if(_0x257c3d!=null&&(_0x1b6905[_0x477d('0x35ff')]||_0x257c3d['enabled'])){var _0x1d469b=_0x1b6905['addItem'](_0x257c3d[_0x477d('0x93e')],null,_0x257c3d[_0x477d('0x2c05')],_0x3faaab,null,_0x257c3d[_0x477d('0x3b4')]);if(_0x257c3d[_0x477d('0x35ef')]&&_0x257c3d[_0x477d('0x2fb6')]()){this['addCheckmark'](_0x1d469b);}this[_0x477d('0x737')](_0x1d469b,_0x257c3d);return _0x1d469b;}return null;};Menus['prototype']['addShortcut']=function(_0x436c30,_0x505407){if(_0x505407[_0x477d('0x35ed')]!=null){var _0x32206d=_0x436c30[_0x477d('0x29ec')][_0x477d('0x29ef')][_0x477d('0x29ef')];var _0x26546c=document['createElement'](_0x477d('0x360d'));_0x26546c[_0x477d('0x457')][_0x477d('0x3e3')]=_0x477d('0x2bf9');mxUtils[_0x477d('0x28ca')](_0x26546c,_0x505407[_0x477d('0x35ed')]);_0x32206d[_0x477d('0xd8f')](_0x26546c);}};Menus[_0x477d('0x798')]['addCheckmark']=function(_0x30ae15){var _0x525fa8=_0x30ae15['firstChild'][_0x477d('0x29ef')];_0x525fa8[_0x477d('0x457')]['backgroundImage']=_0x477d('0x344a')+IMAGE_PATH+'/checkmark.gif)';_0x525fa8[_0x477d('0x457')][_0x477d('0x359c')]=_0x477d('0x35bd');_0x525fa8['style']['backgroundPosition']=_0x477d('0x360e');};Menus[_0x477d('0x798')][_0x477d('0x3605')]=function(_0x29a82d,_0x58bab3,_0x41a4e5){for(var _0x415ed4=0x0;_0x415ed4<_0x58bab3[_0x477d('0x79')];_0x415ed4++){if(_0x58bab3[_0x415ed4]=='-'){_0x29a82d['addSeparator'](_0x41a4e5);}else{this[_0x477d('0x3603')](_0x29a82d,_0x58bab3[_0x415ed4],_0x41a4e5);}}};Menus[_0x477d('0x798')][_0x477d('0x33ce')]=function(_0x398d5d,_0x5d0885,_0x39a658){var _0x545499=this[_0x477d('0x3509')][_0x477d('0x336e')]['graph'];_0x398d5d[_0x477d('0x2c6c')]=!![];if(_0x545499['isSelectionEmpty']()){this[_0x477d('0x3605')](_0x398d5d,[_0x477d('0x185f'),'redo','-',_0x477d('0x33ad'),'-']);}else{this['addMenuItems'](_0x398d5d,[_0x477d('0xa55'),'-',_0x477d('0x33ac'),_0x477d('0x6d9'),'-','duplicate']);if(_0x545499[_0x477d('0x320b')]()==0x1&&_0x545499[_0x477d('0x2a75')]()[_0x477d('0x29d6')](_0x545499[_0x477d('0x3112')]())){this[_0x477d('0x3605')](_0x398d5d,[_0x477d('0x34bf')]);}_0x398d5d[_0x477d('0x2c10')]();}if(_0x545499[_0x477d('0x320b')]()>0x0){this[_0x477d('0x3605')](_0x398d5d,[_0x477d('0x33b4'),_0x477d('0x34b8'),'-']);if(_0x545499['getModel']()[_0x477d('0x29d6')](_0x545499['getSelectionCell']())){var _0x1932ec=![];var _0x5d0885=_0x545499[_0x477d('0x3112')]();if(_0x5d0885!=null&&_0x545499[_0x477d('0x2a75')]()['isEdge'](_0x5d0885)){var _0x222251=_0x545499[_0x477d('0x3194')]['getHandler'](_0x5d0885);if(_0x222251 instanceof mxEdgeHandler&&_0x222251[_0x477d('0x3330')]!=null&&_0x222251['bends'][_0x477d('0x79')]>0x2){var _0xa96c0d=_0x222251['getHandleForEvent'](new mxMouseEvent(_0x39a658));var _0x3f3235=this[_0x477d('0x3509')][_0x477d('0x969')][_0x477d('0x376')](_0x477d('0x35ea'));_0x3f3235[_0x477d('0x3118')]=_0x222251;_0x3f3235[_0x477d('0x2f5a')]=_0xa96c0d;_0x1932ec=_0xa96c0d>0x0&&_0xa96c0d<_0x222251[_0x477d('0x3330')][_0x477d('0x79')];}}this[_0x477d('0x3605')](_0x398d5d,['-',_0x1932ec?_0x477d('0x35ea'):'addWaypoint']);}else if(_0x545499[_0x477d('0x320b')]()>0x1){_0x398d5d['addSeparator']();this[_0x477d('0x3605')](_0x398d5d,[_0x477d('0x587')]);}_0x398d5d['addSeparator']();if(_0x545499[_0x477d('0x320b')]()==0x1){var _0x19e936=_0x545499[_0x477d('0x34c2')](_0x545499[_0x477d('0x3112')]());if(_0x19e936!=null){this[_0x477d('0x3605')](_0x398d5d,['openLink']);}}}else{this[_0x477d('0x3605')](_0x398d5d,['-',_0x477d('0x3215'),'selectEdges','-','selectAll']);}};Menus[_0x477d('0x798')][_0x477d('0x34cd')]=function(_0x54712f){var _0x36a1ca=new Menubar(this[_0x477d('0x3509')],_0x54712f);var _0x33a598=[];if(CRUD_PERMISSIONS['canEdit']){_0x33a598=['file',_0x477d('0xedd'),_0x477d('0x1672'),'format',_0x477d('0x41b'),'arrange',_0x477d('0x172')];}else{_0x33a598=[_0x477d('0xec5'),'view',_0x477d('0x172')];}for(var _0x16291d=0x0;_0x16291d<_0x33a598[_0x477d('0x79')];_0x16291d++){_0x36a1ca[_0x477d('0x360c')](mxResources[_0x477d('0x376')](_0x33a598[_0x16291d]),this[_0x477d('0x376')](_0x33a598[_0x16291d])['funct']);}return _0x36a1ca;};function Menubar(_0x50d73f,_0x2fdffb){this[_0x477d('0x3509')]=_0x50d73f;this[_0x477d('0x4e7')]=_0x2fdffb;mxEvent['addGestureListeners'](document,mxUtils[_0x477d('0x5d6')](this,function(_0x6cf87){this['hideMenu']();}));};Menubar[_0x477d('0x798')][_0x477d('0x2bfd')]=function(){if(this[_0x477d('0x360f')]!=null){this[_0x477d('0x360f')][_0x477d('0x2bfd')]();}};Menubar[_0x477d('0x798')][_0x477d('0x360c')]=function(_0x4d8310,_0x4b201e){var _0x598f32=document[_0x477d('0x3c7')]('a');_0x598f32[_0x477d('0x494')](_0x477d('0x3c8'),'javascript:void(0);');_0x598f32[_0x477d('0x471')]=_0x477d('0x356c');mxUtils[_0x477d('0x28ca')](_0x598f32,_0x4d8310);this['addMenuHandler'](_0x598f32,_0x4b201e);this[_0x477d('0x4e7')]['appendChild'](_0x598f32);return _0x598f32;};Menubar[_0x477d('0x798')]['getOffset']=function(_0x2f06b){_0x2f06b=_0x2f06b[_0x477d('0x4fb')]();return{'left':_0x2f06b[_0x477d('0x77e')]+window[_0x477d('0x3610')],'top':_0x2f06b['top']+window[_0x477d('0x3549')]};};Menubar['prototype'][_0x477d('0x3611')]=function(_0x2f11b6,_0x456957){if(_0x456957!=null){var _0x32c663=!![];var _0x1aa6ea=mxUtils[_0x477d('0x5d6')](this,function(_0x4954a5){if(_0x32c663&&_0x2f11b6['enabled']==null||_0x2f11b6['enabled']){this['editorUi'][_0x477d('0x336e')]['graph'][_0x477d('0x309d')][_0x477d('0x2bfd')]();var _0x44288d=new mxPopupMenu(_0x456957);_0x44288d[_0x477d('0x2a6d')]['className']+='\x20geMenubarMenu';_0x44288d[_0x477d('0x2c6c')]=!![];_0x44288d['showDisabled']=!![];_0x44288d['autoExpand']=!![];_0x44288d[_0x477d('0x2bfd')]=mxUtils[_0x477d('0x5d6')](this,function(){mxPopupMenu['prototype']['hideMenu'][_0x477d('0x4f5')](_0x44288d,arguments);_0x44288d[_0x477d('0x2a81')]();this[_0x477d('0x360f')]=null;this[_0x477d('0x3513')]=null;});var _0xa9402e=this['getOffset'](_0x2f11b6)[_0x477d('0x77e')];var _0x1ffa67=this[_0x477d('0x2be8')](_0x2f11b6)[_0x477d('0x72a')]+_0x2f11b6[_0x477d('0x591')];_0x44288d[_0x477d('0x15c1')](_0xa9402e,_0x1ffa67,null,_0x4954a5);this['currentMenu']=_0x44288d;this[_0x477d('0x3513')]=_0x2f11b6;}_0x32c663=!![];mxEvent[_0x477d('0x2b15')](_0x4954a5);});mxEvent[_0x477d('0x29b3')](_0x2f11b6,_0x477d('0x2b2f'),mxUtils[_0x477d('0x5d6')](this,function(_0x24a27f){if(this[_0x477d('0x360f')]!=null&&this[_0x477d('0x3513')]!=_0x2f11b6){this['hideMenu']();_0x1aa6ea(_0x24a27f);}}));mxEvent['addListener'](_0x2f11b6,'mousedown',mxUtils[_0x477d('0x5d6')](this,function(){_0x32c663=this[_0x477d('0x3513')]!=_0x2f11b6;}));mxEvent[_0x477d('0x29b3')](_0x2f11b6,_0x477d('0x540'),_0x1aa6ea);}};function Menu(_0x406891,_0x112c33){mxEventSource['call'](this);this[_0x477d('0x2c05')]=_0x406891;this[_0x477d('0x3b4')]=_0x112c33!=null?_0x112c33:!![];};mxUtils[_0x477d('0x3d1')](Menu,mxEventSource);Menu['prototype']['setEnabled']=function(_0xa58821){if(this[_0x477d('0x3b4')]!=_0xa58821){this['enabled']=_0xa58821;this[_0x477d('0x2b26')](new mxEventObject(_0x477d('0x35ee')));}};Menu[_0x477d('0x798')][_0x477d('0x2a12')]=function(_0x326302,_0x4f9203){this[_0x477d('0x2c05')](_0x326302,_0x4f9203);};function Toolbar(_0x210325,_0x33a12a){this[_0x477d('0x3509')]=_0x210325;this['container']=_0x33a12a;this['init']();mxEvent[_0x477d('0x2b30')](document,mxUtils[_0x477d('0x5d6')](this,function(_0x47f676){this[_0x477d('0x2bfd')]();}));};Toolbar[_0x477d('0x798')][_0x477d('0x5ee')]=function(){if(CRUD_PERMISSIONS['canEdit']){this[_0x477d('0x3374')](['save',_0x477d('0x34dd'),'-',_0x477d('0x2a8f'),'undo','redo','-',_0x477d('0x6d9'),'cut',_0x477d('0x33ad'),_0x477d('0xa55'),'-',_0x477d('0x14d2'),'-',_0x477d('0x33b0'),_0x477d('0x318e'),_0x477d('0x33af'),'-']);}else{this['addItems']([_0x477d('0x2a8f'),_0x477d('0x33b0'),_0x477d('0x318e'),'zoomOut','-']);}};Toolbar[_0x477d('0x798')]['hideMenu']=function(){if(this['currentMenu']!=null){this[_0x477d('0x360f')][_0x477d('0x2bfd')]();this[_0x477d('0x360f')][_0x477d('0x2a81')]();this[_0x477d('0x360f')]=null;}};Toolbar[_0x477d('0x798')]['addMenu']=function(_0x5c3df0,_0x4677a5,_0x504d78,_0x59aea1){var _0x4dbfb5=this[_0x477d('0x3509')][_0x477d('0x343f')][_0x477d('0x376')](_0x59aea1);var _0x4e7ae4=this[_0x477d('0x3612')](_0x5c3df0,_0x4677a5,_0x504d78,_0x4dbfb5[_0x477d('0x2c05')]);_0x4dbfb5[_0x477d('0x29b3')](_0x477d('0x35ee'),function(){_0x4e7ae4[_0x477d('0x2bda')](_0x4dbfb5[_0x477d('0x3b4')]);});return _0x4e7ae4;};Toolbar['prototype'][_0x477d('0x3612')]=function(_0x3ab3da,_0x259abb,_0x40ac10,_0x22e76e){var _0x33b1f7=_0x40ac10?this['createLabel'](_0x3ab3da):this[_0x477d('0x3613')](_0x3ab3da);this[_0x477d('0x3614')](_0x33b1f7,_0x259abb);this['addMenuHandler'](_0x33b1f7,_0x40ac10,_0x22e76e);this[_0x477d('0x4e7')][_0x477d('0xd8f')](_0x33b1f7);return _0x33b1f7;};Toolbar[_0x477d('0x798')][_0x477d('0x2c10')]=function(){var _0x3bc289=document[_0x477d('0x3c7')]('div');_0x3bc289[_0x477d('0x471')]='geSeparator';this[_0x477d('0x4e7')][_0x477d('0xd8f')](_0x3bc289);return _0x3bc289;};Toolbar['prototype'][_0x477d('0x3374')]=function(_0x46b4eb){for(var _0x15c9fa=0x0;_0x15c9fa<_0x46b4eb['length'];_0x15c9fa++){var _0x23a33b=_0x46b4eb[_0x15c9fa];if(_0x23a33b=='-'){this['addSeparator']();}else{this[_0x477d('0x14fc')](_0x477d('0x3615')+_0x23a33b[_0x477d('0x449')](),_0x23a33b);}}};Toolbar[_0x477d('0x798')]['addItem']=function(_0xefd8be,_0x542a67){var _0x150524=this[_0x477d('0x3509')][_0x477d('0x969')][_0x477d('0x376')](_0x542a67);var _0x4fffd0=null;if(_0x150524!=null){_0x4fffd0=this['addButton'](_0xefd8be,_0x150524[_0x477d('0x93e')],_0x150524['funct']);_0x4fffd0[_0x477d('0x2bda')](_0x150524[_0x477d('0x3b4')]);_0x150524['addListener'](_0x477d('0x35ee'),function(){_0x4fffd0[_0x477d('0x2bda')](_0x150524[_0x477d('0x3b4')]);});}return _0x4fffd0;};Toolbar[_0x477d('0x798')][_0x477d('0x29a2')]=function(_0x2506a2,_0x38b993,_0x7f6a31){var _0x1328c7=this['createButton'](_0x2506a2);this['initElement'](_0x1328c7,_0x38b993);this[_0x477d('0x3571')](_0x1328c7,_0x7f6a31);this[_0x477d('0x4e7')][_0x477d('0xd8f')](_0x1328c7);return _0x1328c7;};Toolbar[_0x477d('0x798')][_0x477d('0x3616')]=function(_0x406172){var _0x55c1b8=this[_0x477d('0x3509')][_0x477d('0x336e')][_0x477d('0x2c83')];var _0x2e668d=function(){var _0x49a1dc=!_0x55c1b8[_0x477d('0x3209')]();for(var _0x45140d=0x0;_0x45140d<_0x406172[_0x477d('0x79')];_0x45140d++){_0x406172[_0x45140d][_0x477d('0x2bda')](_0x49a1dc);}};_0x55c1b8[_0x477d('0x320a')]()[_0x477d('0x29b3')](mxEvent[_0x477d('0x2c36')],_0x2e668d);_0x2e668d();};Toolbar['prototype'][_0x477d('0x3617')]=function(_0x7cd7e5){var _0x46783a=this['editorUi'][_0x477d('0x336e')][_0x477d('0x2c83')];var _0xe03128=function(){var _0x22409e=![];if(!_0x46783a[_0x477d('0x3209')]()){var _0x2c9a20=_0x46783a[_0x477d('0x2b89')]();for(var _0x278511=0x0;_0x278511<_0x2c9a20[_0x477d('0x79')];_0x278511++){if(_0x46783a[_0x477d('0x2a75')]()[_0x477d('0x29d6')](_0x2c9a20[_0x278511])){_0x22409e=!![];break;}}}for(var _0x278511=0x0;_0x278511<_0x7cd7e5['length'];_0x278511++){_0x7cd7e5[_0x278511][_0x477d('0x2bda')](_0x22409e);}};_0x46783a[_0x477d('0x320a')]()[_0x477d('0x29b3')](mxEvent['CHANGE'],_0xe03128);_0xe03128();};Toolbar[_0x477d('0x798')][_0x477d('0x3614')]=function(_0x513683,_0x4df549){_0x513683[_0x477d('0x494')](_0x477d('0x3449'),'0');if(_0x4df549!=null){_0x513683[_0x477d('0x494')]('title',_0x4df549);}this[_0x477d('0x3618')](_0x513683);};Toolbar['prototype']['addEnabledState']=function(_0x577db0){var _0x4cad29=_0x577db0[_0x477d('0x471')];_0x577db0[_0x477d('0x2bda')]=function(_0x5b722d){_0x577db0[_0x477d('0x3b4')]=_0x5b722d;if(_0x5b722d){_0x577db0['className']=_0x4cad29;}else{_0x577db0['className']=_0x4cad29+_0x477d('0x3619');}};_0x577db0['setEnabled'](!![]);};Toolbar[_0x477d('0x798')]['addClickHandler']=function(_0x11c555,_0x58a135){if(_0x58a135!=null){mxEvent[_0x477d('0x29b3')](_0x11c555,'click',function(_0x47e875){if(_0x11c555[_0x477d('0x3b4')]){_0x58a135(_0x47e875);}mxEvent[_0x477d('0x2b15')](_0x47e875);});}};Toolbar[_0x477d('0x798')][_0x477d('0x3613')]=function(_0x11c6f0){var _0x567575=document[_0x477d('0x3c7')]('a');_0x567575[_0x477d('0x494')](_0x477d('0x3c8'),_0x477d('0x3566'));_0x567575[_0x477d('0x471')]=_0x477d('0x361a');var _0x44a548=document[_0x477d('0x3c7')](_0x477d('0x2a6d'));_0x44a548['className']='geSprite\x20'+_0x11c6f0;_0x567575['appendChild'](_0x44a548);return _0x567575;};Toolbar[_0x477d('0x798')][_0x477d('0x302f')]=function(_0x32f27a,_0x531143){var _0x41f06d=document[_0x477d('0x3c7')]('a');_0x41f06d['setAttribute'](_0x477d('0x3c8'),_0x477d('0x3566'));_0x41f06d['className']=_0x477d('0x361b');mxUtils[_0x477d('0x28ca')](_0x41f06d,_0x32f27a);return _0x41f06d;};Toolbar[_0x477d('0x798')][_0x477d('0x3611')]=function(_0xc5180c,_0x1e066b,_0x129262,_0x462188){if(_0x129262!=null){var _0x189921=this[_0x477d('0x3509')][_0x477d('0x336e')][_0x477d('0x2c83')];var _0x2652ed=null;mxEvent[_0x477d('0x29b3')](_0xc5180c,'click',mxUtils[_0x477d('0x5d6')](this,function(_0x1a1f7b){if(_0xc5180c[_0x477d('0x3b4')]==null||_0xc5180c[_0x477d('0x3b4')]){_0x189921['panningHandler']['hideMenu']();_0x2652ed=new mxPopupMenu(_0x129262);_0x2652ed[_0x477d('0x2a6d')]['className']+=_0x477d('0x361c');_0x2652ed[_0x477d('0x35ff')]=_0x462188;_0x2652ed[_0x477d('0x904')]=_0x1e066b;_0x2652ed[_0x477d('0x2c6b')]=!![];_0x2652ed['popup'](_0xc5180c['offsetLeft'],_0xc5180c[_0x477d('0x2a17')]+_0xc5180c[_0x477d('0x591')]+0x22,null,_0x1a1f7b);this[_0x477d('0x360f')]=_0x2652ed;}mxEvent[_0x477d('0x2b15')](_0x1a1f7b);}));}};'use\x20strict';function createCheckbox(_0x47c251){var _0x382e5a=document[_0x477d('0x3c7')](_0x477d('0x1320'));_0x382e5a[_0x477d('0x494')](_0x477d('0x439'),_0x477d('0x1c44'));if(_0x47c251){_0x382e5a[_0x477d('0x494')](_0x477d('0x361d'),!![]);}return _0x382e5a;}function createDropdownFromApi(_0x5104a6,_0x5e1bd1,_0x57f740,_0xd46bd3,_0x4c5a48,_0xc7a9d4,_0x152ba4,_0x1274fd){var _0x3cf33c=new XMLHttpRequest();_0x3cf33c[_0x477d('0x1192')]('GET',_0x5104a6,![]);_0x3cf33c[_0x477d('0x361e')](_0x477d('0x3c2'),'Bearer\x20'+_0x4c5a48['editor'][_0x477d('0x451')]['token']);_0x3cf33c[_0x477d('0xa08')](null);var _0x548a87=[];if(_0x3cf33c[_0x477d('0x3c3')]===0xc8){_0x548a87=JSON[_0x477d('0x77')](_0x3cf33c[_0x477d('0xf3e')]);}var _0x1641a9=document['createElement'](_0x477d('0x462'));var _0x8c401f=document[_0x477d('0x3c7')](_0x477d('0x21d5'));_0x8c401f[_0x477d('0x41b')]='--\x20None\x20--';_0x8c401f['value']='-1';_0x1641a9[_0x477d('0xd8f')](_0x8c401f);_0x548a87[_0x477d('0xf2')]['forEach'](function(_0x5f3053){if(!_0x1274fd||_0x5f3053[_0x57f740]!=_0x1274fd){_0x8c401f=document[_0x477d('0x3c7')]('option');_0x8c401f[_0x477d('0x41b')]=_0x5f3053[_0x57f740];if(_0xc7a9d4&&_0x152ba4){_0x8c401f[_0x477d('0x3b6')]=_0x152ba4;_0xc7a9d4[_0x477d('0x3b1')](function(_0x2f4dc7){_0x8c401f[_0x477d('0x3b6')]=_0x8c401f[_0x477d('0x3b6')][_0x477d('0x409')]('%'+_0x2f4dc7+'%',_0x5f3053[_0x2f4dc7]);});_0x8c401f[_0x477d('0x1e07')]=_0x8c401f['value']==_0x5e1bd1;}else{_0x8c401f[_0x477d('0x3b6')]=_0x5f3053[_0xd46bd3];_0x8c401f['selected']=_0x5f3053[_0xd46bd3]==_0x5e1bd1;}_0x1641a9['appendChild'](_0x8c401f);}});_0x1641a9['className']=_0x477d('0x361f');return _0x1641a9;}function createDropdownWithOptgroupFromApi(_0x3cd37b,_0x3b7d17,_0x54d35b,_0x90aa95,_0x5ecda0,_0x31cb5b){var _0x3f8286=new XMLHttpRequest();_0x3f8286['open']('GET',_0x3cd37b,![]);_0x3f8286['setRequestHeader'](_0x477d('0x3c2'),_0x477d('0x12aa')+_0x5ecda0[_0x477d('0x336e')][_0x477d('0x451')][_0x477d('0x391')]);_0x3f8286['send'](null);var _0x32c761=[];if(_0x3f8286[_0x477d('0x3c3')]===0xc8){_0x32c761=JSON[_0x477d('0x77')](_0x3f8286[_0x477d('0xf3e')]);}var _0x115649=document[_0x477d('0x3c7')](_0x477d('0x462'));var _0xe0da0=document[_0x477d('0x3c7')](_0x477d('0x21d5'));_0xe0da0[_0x477d('0x41b')]='--\x20None\x20--';_0xe0da0[_0x477d('0x3b6')]='-1';_0x115649[_0x477d('0xd8f')](_0xe0da0);var _0x53ad37=_['groupBy'](_0x32c761[_0x477d('0xf2')],_0x31cb5b);for(var _0x40321c in _0x53ad37){if(_0x53ad37[_0x477d('0x3ea')](_0x40321c)){var _0x5c38e5=document[_0x477d('0x3c7')](_0x477d('0x3620'));_0x5c38e5[_0x477d('0x93e')]=_[_0x477d('0x12e0')](_0x40321c);var _0x742061=_0x53ad37[_0x40321c];_0x742061[_0x477d('0x3b1')](function(_0x4d847b){_0xe0da0=document['createElement'](_0x477d('0x21d5'));_0xe0da0[_0x477d('0x41b')]=_0x4d847b[_0x54d35b];_0xe0da0[_0x477d('0x3b6')]=_0x4d847b[_0x90aa95];_0xe0da0[_0x477d('0x1e07')]=_0x4d847b[_0x90aa95]==_0x3b7d17;_0x5c38e5[_0x477d('0xd8f')](_0xe0da0);});_0x115649[_0x477d('0xd8f')](_0x5c38e5);}}_0x115649[_0x477d('0x471')]='form-control\x20select2';return _0x115649;}function createGroupedDropdownFromApi(_0x50d5c1,_0x5759b7,_0xcae98c,_0x403306,_0x3ddd19,_0x18e831){var _0x3cc893=new XMLHttpRequest();_0x3cc893['open'](_0x477d('0x6ab'),_0x50d5c1,![]);_0x3cc893[_0x477d('0x361e')](_0x477d('0x3c2'),_0x477d('0x12aa')+_0x3ddd19[_0x477d('0x336e')][_0x477d('0x451')][_0x477d('0x391')]);_0x3cc893['send'](null);var _0x2443fd=[];if(_0x3cc893[_0x477d('0x3c3')]===0xc8){_0x2443fd=JSON[_0x477d('0x77')](_0x3cc893[_0x477d('0xf3e')]);}var _0x48a583=document[_0x477d('0x3c7')]('select');var _0x13937a=document[_0x477d('0x3c7')](_0x477d('0x21d5'));_0x13937a[_0x477d('0x41b')]='--\x20None\x20--';_0x13937a[_0x477d('0x3b6')]='0';_0x48a583[_0x477d('0xd8f')](_0x13937a);_0x2443fd[_0x477d('0xf2')][_0x477d('0x3b1')](function(_0x540656){_0x13937a=document[_0x477d('0x3c7')]('option');_0x13937a[_0x477d('0x471')]=_0x477d('0x3621');_0x13937a[_0x477d('0x41b')]=_0x540656[_0xcae98c][_0x477d('0x44f')]();_0x13937a[_0x477d('0x3b6')]=_0x540656[_0x403306];_0x13937a['selected']=_0x540656[_0x403306]==_0x5759b7;_0x48a583[_0x477d('0xd8f')](_0x13937a);_0x540656[_0x18e831][_0x477d('0x3b1')](function(_0x58ce8c){_0x13937a=document['createElement'](_0x477d('0x21d5'));_0x13937a[_0x477d('0x471')]=_0x477d('0x3622');_0x13937a['text']='-'+_[_0x477d('0x12e0')](_0x58ce8c[_0xcae98c]);_0x13937a[_0x477d('0x3b6')]=_0x58ce8c[_0x403306];_0x13937a[_0x477d('0x1e07')]=_0x58ce8c[_0x403306]==_0x5759b7;_0x48a583[_0x477d('0xd8f')](_0x13937a);});});_0x48a583[_0x477d('0x471')]=_0x477d('0x361f');return _0x48a583;}function createDropdownFromArray(_0x41497f,_0x348d85){var _0x14a632=document[_0x477d('0x3c7')](_0x477d('0x462'));for(var _0x5aee58 in _0x41497f){var _0x2b756d=document[_0x477d('0x3c7')]('option');_0x2b756d[_0x477d('0x41b')]=_0x41497f[_0x5aee58];_0x2b756d[_0x477d('0x3b6')]=_0x5aee58;if(_0x348d85>0x0||_0x348d85!='')_0x2b756d[_0x477d('0x1e07')]=_0x348d85===_0x5aee58?!![]:![];_0x14a632[_0x477d('0xd8f')](_0x2b756d);}_0x14a632['className']=_0x477d('0x361f');return _0x14a632;}function createDropdownFromTigerDialList(_0x3517ef){var _0x10f9a6=document[_0x477d('0x3c7')](_0x477d('0x462'));var _0x1ed2cb=[];var _0xf30e8e=new XMLHttpRequest();try{_0xf30e8e['open'](_0x477d('0xf87'),_0x477d('0x3623'),![]);_0xf30e8e[_0x477d('0xa08')](JSON[_0x477d('0x3fb')]({'page':0x1,'size':0x927c0}));if(_0xf30e8e['status']===0xc8){var _0x3c935a=JSON[_0x477d('0x77')](_0xf30e8e['response']);if(_0x3c935a['status']>0x0){var _0x39de0=_0x3c935a['response'][_0x477d('0x3624')]['rows'];for(var _0xf1225d in _0x39de0){_0x1ed2cb[_0x39de0[_0xf1225d]['id']]=_0x39de0[_0xf1225d][_0x477d('0x94')];}}}}catch(_0x2b00e6){console[_0x477d('0x7b')](_0x2b00e6);}for(var _0x180c45 in _0x1ed2cb){var _0x4e32f1=document[_0x477d('0x3c7')](_0x477d('0x21d5'));_0x4e32f1[_0x477d('0x41b')]=_0x1ed2cb[_0x180c45];_0x4e32f1[_0x477d('0x3b6')]=_0x180c45;if(_0x3517ef>0x0||_0x3517ef!='')_0x4e32f1[_0x477d('0x1e07')]=_0x3517ef===_0x180c45?!![]:![];_0x10f9a6[_0x477d('0xd8f')](_0x4e32f1);}_0x10f9a6[_0x477d('0x471')]=_0x477d('0x361f');return _0x10f9a6;}function Dialog(_0x4bfac9,_0x36bfdc,_0x2983c1,_0x497bd8,_0x4a0e7e,_0x1eee52,_0x16f74c){var _0x36d333=0x0;if(mxClient[_0x477d('0x2984')]&&document[_0x477d('0x2955')]!=0x9){_0x36d333=0x3c;}_0x2983c1+=_0x36d333;_0x497bd8+=_0x36d333;var _0x327455=Math[_0x477d('0x13fc')](0x0,Math[_0x477d('0x4fc')]((document[_0x477d('0x399')][_0x477d('0x70f')]-_0x2983c1)/0x2));var _0x18faf2=Math['max'](0x0,Math[_0x477d('0x4fc')]((Math['max'](document[_0x477d('0x399')][_0x477d('0x70d')],document['documentElement'][_0x477d('0x70d')])-_0x497bd8)/0x3));var _0x3ec135=_0x4bfac9[_0x477d('0x2d31')]('geDialog');_0x3ec135[_0x477d('0x471')]='modal\x20fade\x20in\x20center';_0x3ec135[_0x477d('0x457')][_0x477d('0x6c2')]=_0x477d('0x550');_0x3ec135[_0x477d('0x457')]['paddingRight']=_0x477d('0x355c');var _0x1a9979=_0x4bfac9[_0x477d('0x2d31')](_0x477d('0x3625'));_0x1a9979[_0x477d('0x471')]=_0x477d('0x3626');_0x1a9979[_0x477d('0xd8f')](_0x36bfdc);_0x3ec135[_0x477d('0xd8f')](_0x1a9979);if(this['bg']==null){this['bg']=_0x4bfac9[_0x477d('0x2d31')](_0x477d('0x9fe'));this['bg'][_0x477d('0x471')]='modal-backdrop\x20fade\x20in';if(mxClient['IS_QUIRKS']){new mxDivResizer(this['bg']);}}if(_0x4a0e7e){document[_0x477d('0x399')]['appendChild'](this['bg']);}document[_0x477d('0x399')][_0x477d('0xd8f')](_0x3ec135);this['onDialogClose']=_0x16f74c;this[_0x477d('0x4e7')]=_0x3ec135;};Dialog['prototype'][_0x477d('0x539')]=function(){if(this[_0x477d('0x3627')]!=null){this[_0x477d('0x3627')]();this['onDialogClose']=null;}this[_0x477d('0x4e7')][_0x477d('0x29e2')][_0x477d('0x29e3')](this[_0x477d('0x4e7')]);this['bg'][_0x477d('0x29e2')][_0x477d('0x29e3')](this['bg']);};function ImportDialog(_0x374777){var _0x47c920=_0x374777[_0x477d('0x2d31')](_0x477d('0x3628'));var _0x502f93=_0x374777[_0x477d('0x2d31')](_0x477d('0x3629'));var _0xbe4cef=_0x374777['createDiv']('modal-body');var _0x20d791=_0x374777[_0x477d('0x2d31')](_0x477d('0x362a'));var _0x100aa4=_0x374777['createHeader']('h4');mxUtils[_0x477d('0x28ca')](_0x100aa4,mxResources[_0x477d('0x376')](_0x477d('0x14d8'))+_0x477d('0x362b'));var _0xea1c3b=mxUtils[_0x477d('0x29b8')]('',function(){_0x374777[_0x477d('0x362c')]();});_0xea1c3b[_0x477d('0x471')]=_0x477d('0x539');_0x502f93[_0x477d('0xd8f')](_0xea1c3b);_0x502f93[_0x477d('0xd8f')](_0x100aa4);var _0x36bab4=_0x374777[_0x477d('0x2d31')](_0x477d('0x14e3'));var _0x2c4f69=_0x374777[_0x477d('0x2d31')](_0x477d('0x362d'));var _0x25dbb9=document[_0x477d('0x3c7')](_0x477d('0x127b'));_0x25dbb9[_0x477d('0x457')][_0x477d('0x4ef')]=_0x477d('0x2999');_0x25dbb9[_0x477d('0x457')][_0x477d('0x504')]=_0x477d('0x362e');var _0x5eec81=document[_0x477d('0x3c7')]('input');_0x5eec81[_0x477d('0x439')]='file';_0x5eec81[_0x477d('0x494')]('accept',_0x477d('0x29fc'));_0x5eec81['addEventListener'](_0x477d('0x2c49'),function readSingleFile(_0x2cf6db){var _0x19516e=_0x2cf6db[_0x477d('0x378')][_0x477d('0x25d9')][0x0];console[_0x477d('0x7b')](_0x19516e);if(_0x19516e){if(_0x19516e[_0x477d('0x439')]===_0x477d('0x29fc')){var _0x5379c3=new FileReader();_0x5379c3[_0x477d('0xec7')]=function(_0x8d4a8e){var _0x138e72=_0x8d4a8e['target'][_0x477d('0xec8')];mxUtils[_0x477d('0x28ca')](_0x25dbb9,_0x138e72);};_0x5379c3['readAsText'](_0x19516e);}else{alert('Failed\x20to\x20load\x20format\x20file');}}else{alert('Failed\x20to\x20load\x20file');}},![]);_0x2c4f69[_0x477d('0xd8f')](_0x5eec81);_0x2c4f69[_0x477d('0xd8f')](_0x25dbb9);_0x36bab4[_0x477d('0xd8f')](_0x2c4f69);_0xbe4cef[_0x477d('0xd8f')](_0x36bab4);var _0x4a368b=mxUtils[_0x477d('0x29b8')](mxResources['get'](_0x477d('0x14d8')),mxUtils[_0x477d('0x5d6')](this,function(_0x3c1a0d){var _0x34a68b=mxUtils['parseXml'](_0x25dbb9[_0x477d('0x3b6')]);_0x374777['editor'][_0x477d('0x347f')](_0x34a68b[_0x477d('0x29ad')]);_0x374777['hideDialog']();}));_0x4a368b[_0x477d('0x471')]=_0x477d('0x362f');var _0x3463f3=mxUtils[_0x477d('0x29b8')](mxResources[_0x477d('0x376')](_0x477d('0x4f0')),function(){_0x374777[_0x477d('0x362c')]();});_0x3463f3[_0x477d('0x471')]=_0x477d('0x3630');_0x20d791[_0x477d('0xd8f')](_0x4a368b);_0x20d791[_0x477d('0xd8f')](_0x3463f3);_0x47c920[_0x477d('0xd8f')](_0x502f93);_0x47c920[_0x477d('0xd8f')](_0xbe4cef);_0x47c920[_0x477d('0xd8f')](_0x20d791);this[_0x477d('0x4e7')]=_0x47c920;};function AboutDialog(_0x78bf8c){var _0x2a986f=_0x78bf8c[_0x477d('0x2d31')]('modal-content');var _0x5adf37=_0x78bf8c['createDiv'](_0x477d('0x3629'));var _0x3fb232=_0x78bf8c['createDiv']('modal-body');var _0x5afe86=_0x78bf8c[_0x477d('0x2d31')](_0x477d('0x362a'));var _0x27e8a3=_0x78bf8c[_0x477d('0x34d8')]('h4');mxUtils['write'](_0x27e8a3,mxResources[_0x477d('0x376')]('about')+_0x477d('0x35e6'));var _0x113718=mxUtils['button']('',function(){_0x78bf8c['hideDialog']();});_0x113718[_0x477d('0x471')]='close';_0x5adf37[_0x477d('0xd8f')](_0x113718);_0x5adf37[_0x477d('0xd8f')](_0x27e8a3);var _0x3e4337=document[_0x477d('0x3c7')]('img');_0x3e4337[_0x477d('0x457')][_0x477d('0x2a61')]='0px';_0x3e4337[_0x477d('0x494')](_0x477d('0x4ef'),_0x477d('0x3631'));_0x3e4337[_0x477d('0x494')](_0x477d('0x4ef'),_0x477d('0x3632'));_0x3e4337['setAttribute'](_0x477d('0x49b'),IMAGE_PATH+_0x477d('0x3633'));_0x3fb232['appendChild'](_0x3e4337);mxUtils['br'](_0x3fb232);mxUtils[_0x477d('0x28ca')](_0x3fb232,_0x477d('0x3634')+mxClient[_0x477d('0x2998')]);mxUtils['br'](_0x3fb232);var _0x40a015=document[_0x477d('0x3c7')]('a');_0x40a015[_0x477d('0x494')](_0x477d('0x3c8'),_0x477d('0x3635'));_0x40a015[_0x477d('0x494')]('target','_blank');mxUtils[_0x477d('0x28ca')](_0x40a015,_0x477d('0x3636'));_0x3fb232[_0x477d('0xd8f')](_0x40a015);mxUtils['br'](_0x3fb232);mxUtils['br'](_0x3fb232);var _0xffa8d8=mxUtils[_0x477d('0x29b8')](mxResources['get'](_0x477d('0x539')),function(){_0x78bf8c['hideDialog']();});_0xffa8d8[_0x477d('0x471')]=_0x477d('0x3630');_0x5afe86[_0x477d('0xd8f')](_0xffa8d8);_0x2a986f['appendChild'](_0x5adf37);_0x2a986f['appendChild'](_0x3fb232);_0x2a986f['appendChild'](_0x5afe86);this['container']=_0x2a986f;};function SaveDialog(_0x1882da){var _0x4628b6=_0x1882da[_0x477d('0x2d31')](_0x477d('0x3628'));var _0x2ad107=_0x1882da[_0x477d('0x2d31')](_0x477d('0x3629'));var _0x25d23a=_0x1882da['createDiv']('modal-body');var _0xe7b7b5=_0x1882da[_0x477d('0x2d31')](_0x477d('0x362a'));var _0x1daadb=_0x1882da[_0x477d('0x34d8')]('h4');mxUtils[_0x477d('0x28ca')](_0x1daadb,mxResources['get']('saveAs'));var _0x374138=mxUtils['button']('',function(){_0x1882da[_0x477d('0x362c')]();});_0x374138[_0x477d('0x471')]=_0x477d('0x539');_0x2ad107['appendChild'](_0x374138);_0x2ad107['appendChild'](_0x1daadb);var _0x309ff4='name';var _0x41b8f9='_'+_0x309ff4;var _0x339a9c=_0x1882da[_0x477d('0x336e')][_0x477d('0x34e6')]();var _0x29467a=_0x1882da['createDiv'](_0x477d('0x14e3'));var _0x51b4cb=_0x1882da[_0x477d('0x2d31')](_0x477d('0x3637'));var _0x37ff4e=_0x1882da[_0x477d('0x2d31')](_0x477d('0x3638'));var _0x326d1b=document[_0x477d('0x3c7')](_0x477d('0x93e'));_0x326d1b[_0x477d('0x471')]=_0x477d('0x3639');mxUtils[_0x477d('0x28ca')](_0x326d1b,mxResources[_0x477d('0x376')](_0x309ff4));_0x51b4cb[_0x477d('0xd8f')](_0x326d1b);var _0xbbee9b=document[_0x477d('0x3c7')](_0x477d('0x1320'));_0xbbee9b['setAttribute'](_0x477d('0x3b6'),_0x339a9c+_0x477d('0x363a'));_0xbbee9b[_0x477d('0x494')]('id',_0x41b8f9);_0xbbee9b[_0x477d('0x471')]=_0x477d('0x363b');_0x37ff4e[_0x477d('0xd8f')](_0xbbee9b);_0x29467a[_0x477d('0xd8f')](_0x51b4cb);_0x29467a[_0x477d('0xd8f')](_0x37ff4e);_0x25d23a['appendChild'](_0x29467a);var _0x5c0142=mxUtils[_0x477d('0x29b8')](mxResources[_0x477d('0x376')]('save'),function(){_0x1882da[_0x477d('0x34db')](_0xbbee9b[_0x477d('0x3b6')]);_0x1882da[_0x477d('0x362c')]();});_0x5c0142['className']='btn\x20blue';var _0x2fa966=mxUtils['button'](mxResources['get'](_0x477d('0x4f0')),function(){_0x1882da[_0x477d('0x362c')]();});_0x2fa966['className']=_0x477d('0x3630');_0xe7b7b5['appendChild'](_0x5c0142);_0xe7b7b5[_0x477d('0xd8f')](_0x2fa966);_0x4628b6[_0x477d('0xd8f')](_0x2ad107);_0x4628b6[_0x477d('0xd8f')](_0x25d23a);_0x4628b6[_0x477d('0xd8f')](_0xe7b7b5);this[_0x477d('0x4e7')]=_0x4628b6;};function NewDialog(_0x5205cf){var _0x15b6fc=_0x5205cf[_0x477d('0x2d31')](_0x477d('0x3628'));var _0x40b67f=_0x5205cf['createDiv'](_0x477d('0x3629'));var _0x3e169f=_0x5205cf[_0x477d('0x2d31')]('modal-body');var _0x1e8d3b=_0x5205cf['createDiv'](_0x477d('0x362a'));var _0x5c539f=_0x5205cf[_0x477d('0x34d8')]('h4');mxUtils[_0x477d('0x28ca')](_0x5c539f,mxResources[_0x477d('0x376')](_0x477d('0x1619')));var _0x11571f=mxUtils[_0x477d('0x29b8')]('',function(){_0x5205cf[_0x477d('0x362c')]();});_0x11571f[_0x477d('0x471')]=_0x477d('0x539');_0x40b67f[_0x477d('0xd8f')](_0x11571f);_0x40b67f[_0x477d('0xd8f')](_0x5c539f);var _0x20537f=_0x477d('0x94');var _0x86aa75='_'+_0x20537f;var _0x28ddf4=_0x5205cf['editor']['getOrCreateFilename']();var _0x547cc2=_0x5205cf[_0x477d('0x2d31')]('row');var _0x56b5a9=_0x5205cf[_0x477d('0x2d31')]('col-md-4');var _0xb369dd=_0x5205cf[_0x477d('0x2d31')](_0x477d('0x3638'));var _0x1ed2c2=document['createElement'](_0x477d('0x93e'));_0x1ed2c2[_0x477d('0x471')]='control-label\x20pull-right';mxUtils[_0x477d('0x28ca')](_0x1ed2c2,mxResources[_0x477d('0x376')](_0x20537f));_0x56b5a9[_0x477d('0xd8f')](_0x1ed2c2);var _0xb9c1f0=document[_0x477d('0x3c7')]('input');_0xb9c1f0['setAttribute'](_0x477d('0x3b6'),_0x28ddf4+_0x477d('0x1191'));_0xb9c1f0[_0x477d('0x494')]('id',_0x86aa75);_0xb9c1f0['className']=_0x477d('0x363b');_0xb369dd[_0x477d('0xd8f')](_0xb9c1f0);_0x547cc2[_0x477d('0xd8f')](_0x56b5a9);_0x547cc2[_0x477d('0xd8f')](_0xb369dd);_0x3e169f['appendChild'](_0x547cc2);var _0x586117=mxUtils[_0x477d('0x29b8')](mxResources[_0x477d('0x376')](_0x477d('0x1619')),function(){_0x5205cf[_0x477d('0x1619')](_0xb9c1f0[_0x477d('0x3b6')]);_0x5205cf[_0x477d('0x362c')]();});_0x586117[_0x477d('0x471')]=_0x477d('0x362f');var _0x653770=mxUtils['button'](mxResources[_0x477d('0x376')](_0x477d('0x4f0')),function(){_0x5205cf[_0x477d('0x362c')]();});_0x653770[_0x477d('0x471')]='btn\x20default';_0x1e8d3b[_0x477d('0xd8f')](_0x586117);_0x1e8d3b[_0x477d('0xd8f')](_0x653770);_0x15b6fc[_0x477d('0xd8f')](_0x40b67f);_0x15b6fc['appendChild'](_0x3e169f);_0x15b6fc[_0x477d('0xd8f')](_0x1e8d3b);this[_0x477d('0x4e7')]=_0x15b6fc;};function DescriptionDialog(_0x28efc6){console['log'](_0x28efc6[_0x477d('0x336e')][_0x477d('0x451')]);var _0xb4827a=_0x28efc6['createDiv'](_0x477d('0x3628'));var _0x31f7bf=_0x28efc6[_0x477d('0x2d31')](_0x477d('0x3629'));var _0x19899c=_0x28efc6[_0x477d('0x2d31')](_0x477d('0x363c'));var _0xbe6b50=_0x28efc6[_0x477d('0x2d31')]('modal-footer');var _0xed971b=_0x28efc6['createHeader']('h4');mxUtils[_0x477d('0x28ca')](_0xed971b,mxResources[_0x477d('0x376')](_0x477d('0xe0e')));var _0x495b1d=mxUtils['button']('',function(){_0x28efc6[_0x477d('0x362c')]();});_0x495b1d[_0x477d('0x471')]='close';_0x31f7bf[_0x477d('0xd8f')](_0x495b1d);_0x31f7bf[_0x477d('0xd8f')](_0xed971b);var _0x1b6666=_0x28efc6[_0x477d('0x2d31')](_0x477d('0x363d'));var _0x5367c7=_0x477d('0xe0e');var _0x5ae84c='_'+_0x5367c7;var _0x66657d=_0x28efc6[_0x477d('0x336e')][_0x477d('0x451')]['description']||'';var _0x286b3f=_0x28efc6[_0x477d('0x2d31')]('form-group');var _0x392694=document['createElement'](_0x477d('0x93e'));_0x392694[_0x477d('0x471')]=_0x477d('0x363e');mxUtils[_0x477d('0x28ca')](_0x392694,mxResources[_0x477d('0x376')](_0x5367c7));_0x286b3f[_0x477d('0xd8f')](_0x392694);var _0x423c51=document[_0x477d('0x3c7')](_0x477d('0x1320'));_0x423c51[_0x477d('0x494')]('value',_0x66657d);_0x423c51[_0x477d('0x471')]=_0x477d('0x363b');_0x423c51['setAttribute']('id',_0x5ae84c);var _0x17c05a=_0x28efc6['createDiv'](_0x477d('0x363f'));_0x17c05a[_0x477d('0xd8f')](_0x423c51);_0x286b3f[_0x477d('0xd8f')](_0x17c05a);_0x1b6666[_0x477d('0xd8f')](_0x286b3f);_0x19899c[_0x477d('0xd8f')](_0x1b6666);var _0x3cbd3e=mxUtils[_0x477d('0x29b8')](mxResources['get'](_0x477d('0x710')),function(){_0x28efc6['description'](_0x423c51[_0x477d('0x3b6')]);_0x28efc6['hideDialog']();});_0x3cbd3e[_0x477d('0x471')]='btn\x20blue';var _0x822b2d=mxUtils[_0x477d('0x29b8')](mxResources[_0x477d('0x376')](_0x477d('0x4f0')),function(){_0x28efc6[_0x477d('0x362c')]();});_0x822b2d['className']=_0x477d('0x3630');_0xbe6b50[_0x477d('0xd8f')](_0x3cbd3e);_0xbe6b50['appendChild'](_0x822b2d);_0xb4827a['appendChild'](_0x31f7bf);_0xb4827a[_0x477d('0xd8f')](_0x19899c);_0xb4827a[_0x477d('0xd8f')](_0xbe6b50);this[_0x477d('0x4e7')]=_0xb4827a;}function VariableDialog(_0x1cece5){var _0x3b3d54=_0x1cece5[_0x477d('0x2d31')](_0x477d('0x3628'));var _0x5390bd=_0x1cece5[_0x477d('0x2d31')](_0x477d('0x3629'));var _0x4b689e=_0x1cece5[_0x477d('0x2d31')](_0x477d('0x363c'));var _0x10c8ed=_0x1cece5[_0x477d('0x2d31')](_0x477d('0x362a'));var _0x30b36d=_0x1cece5[_0x477d('0x34d8')]('h4');mxUtils['write'](_0x30b36d,mxResources['get']('variable'));var _0x3e2674=mxUtils['button']('',function(){_0x1cece5[_0x477d('0x362c')]();});_0x3e2674[_0x477d('0x471')]=_0x477d('0x539');_0x5390bd[_0x477d('0xd8f')](_0x3e2674);_0x5390bd['appendChild'](_0x30b36d);var _0xdfd7b7=_0x1cece5[_0x477d('0x2d31')](_0x477d('0x363d'));var _0x21e60d=_0x477d('0x94');var _0x57f70e='_'+_0x21e60d;var _0x444239='variable\x20name';var _0x258a3d=_0x1cece5[_0x477d('0x2d31')](_0x477d('0x3640'));var _0xfbff85=document[_0x477d('0x3c7')](_0x477d('0x93e'));_0xfbff85['className']=_0x477d('0x363e');mxUtils['write'](_0xfbff85,mxResources[_0x477d('0x376')](_0x21e60d));_0x258a3d[_0x477d('0xd8f')](_0xfbff85);var _0x3579d1=document['createElement'](_0x477d('0x1320'));_0x3579d1[_0x477d('0x494')](_0x477d('0x3b6'),_0x444239);_0x3579d1[_0x477d('0x471')]=_0x477d('0x363b');_0x3579d1[_0x477d('0x494')]('id',_0x57f70e);var _0x51372b=_0x1cece5[_0x477d('0x2d31')](_0x477d('0x363f'));_0x51372b[_0x477d('0xd8f')](_0x3579d1);_0x258a3d[_0x477d('0xd8f')](_0x51372b);_0xdfd7b7[_0x477d('0xd8f')](_0x258a3d);_0x21e60d=_0x477d('0xe0e');_0x57f70e='_'+_0x21e60d;_0x444239=_0x477d('0x3641');_0x258a3d=_0x1cece5[_0x477d('0x2d31')](_0x477d('0x3642'));_0xfbff85=document[_0x477d('0x3c7')]('label');_0xfbff85[_0x477d('0x471')]=_0x477d('0x363e');mxUtils[_0x477d('0x28ca')](_0xfbff85,mxResources[_0x477d('0x376')](_0x21e60d));_0x258a3d[_0x477d('0xd8f')](_0xfbff85);var _0x2cf9e7=document[_0x477d('0x3c7')](_0x477d('0x1320'));_0x2cf9e7[_0x477d('0x494')](_0x477d('0x3b6'),_0x444239);_0x2cf9e7[_0x477d('0x471')]=_0x477d('0x363b');_0x2cf9e7['setAttribute']('id',_0x57f70e);_0x51372b=_0x1cece5[_0x477d('0x2d31')](_0x477d('0x363f'));_0x51372b[_0x477d('0xd8f')](_0x2cf9e7);_0x258a3d[_0x477d('0xd8f')](_0x51372b);_0xdfd7b7['appendChild'](_0x258a3d);_0x4b689e[_0x477d('0xd8f')](_0xdfd7b7);var _0xa3f3a0=mxUtils[_0x477d('0x29b8')](mxResources[_0x477d('0x376')]('new'),function(){_0x1cece5['variable'](_0x3579d1[_0x477d('0x3b6')],_0x2cf9e7['value']);_0x1cece5[_0x477d('0x362c')]();});_0xa3f3a0['className']=_0x477d('0x362f');var _0x40650f=mxUtils[_0x477d('0x29b8')](mxResources['get'](_0x477d('0x4f0')),function(){_0x1cece5[_0x477d('0x362c')]();});_0x40650f[_0x477d('0x471')]='btn\x20default';_0x10c8ed[_0x477d('0xd8f')](_0xa3f3a0);_0x10c8ed['appendChild'](_0x40650f);_0x3b3d54[_0x477d('0xd8f')](_0x5390bd);_0x3b3d54[_0x477d('0xd8f')](_0x4b689e);_0x3b3d54[_0x477d('0xd8f')](_0x10c8ed);this['container']=_0x3b3d54;}function OpenDialog(_0x3cdad8){var _0x5ac218=_0x3cdad8['createDiv'](_0x477d('0x3628'));var _0x19bdfb=_0x3cdad8[_0x477d('0x2d31')]('modal-header');var _0x428e4d=_0x3cdad8[_0x477d('0x2d31')](_0x477d('0x363c'));var _0x266961=_0x3cdad8[_0x477d('0x2d31')](_0x477d('0x362a'));var _0x1ca1a7=_0x3cdad8[_0x477d('0x34d8')]('h4');mxUtils[_0x477d('0x28ca')](_0x1ca1a7,mxResources['get'](_0x477d('0x1192')));var _0x17edc7=mxUtils[_0x477d('0x29b8')]('',function(){_0x3cdad8[_0x477d('0x362c')]();});_0x17edc7[_0x477d('0x471')]=_0x477d('0x539');_0x19bdfb[_0x477d('0xd8f')](_0x17edc7);_0x19bdfb[_0x477d('0xd8f')](_0x1ca1a7);var _0x1221ed=_0x3cdad8['createDiv']('row');var _0x894ce0=_0x3cdad8['createDiv']('col-md-4');var _0x3e914c=_0x3cdad8[_0x477d('0x2d31')](_0x477d('0x3638'));var _0x159b35=document['createElement'](_0x477d('0x93e'));_0x159b35[_0x477d('0x471')]=_0x477d('0x3639');mxUtils[_0x477d('0x28ca')](_0x159b35,mxResources[_0x477d('0x376')]('name'));_0x894ce0[_0x477d('0xd8f')](_0x159b35);var _0x4f2af5=new XMLHttpRequest();_0x4f2af5[_0x477d('0x1192')]('GET','/api/square/projects',![]);_0x4f2af5[_0x477d('0x361e')](_0x477d('0x3c2'),_0x477d('0x12aa')+_0x3cdad8[_0x477d('0x336e')][_0x477d('0x451')]['token']);_0x4f2af5[_0x477d('0xa08')](null);var _0x21b7ac=[];if(_0x4f2af5[_0x477d('0x3c3')]===0xc8){_0x21b7ac=JSON[_0x477d('0x77')](_0x4f2af5[_0x477d('0xf3e')]);}var _0x14b541=document['createElement'](_0x477d('0x462'));for(var _0x3aedcb=0x0;_0x3aedcb<_0x21b7ac[_0x477d('0x79')];_0x3aedcb++){var _0x15ba01=document['createElement'](_0x477d('0x21d5'));_0x15ba01[_0x477d('0x41b')]=_0x21b7ac[_0x3aedcb]['name'];_0x15ba01[_0x477d('0x3b6')]=_0x21b7ac[_0x3aedcb]['id'];_0x14b541[_0x477d('0xd8f')](_0x15ba01);}_0x14b541[_0x477d('0x471')]=_0x477d('0x363b');_0x3e914c[_0x477d('0xd8f')](_0x14b541);_0x1221ed['appendChild'](_0x894ce0);_0x1221ed[_0x477d('0xd8f')](_0x3e914c);_0x428e4d['appendChild'](_0x1221ed);var _0x2fbff2=mxUtils[_0x477d('0x29b8')](mxResources[_0x477d('0x376')]('open'),function(){console[_0x477d('0x7b')](_0x14b541);console[_0x477d('0x7b')](_0x14b541['value']);window[_0x477d('0x1192')](_0x477d('0x3643')+_0x14b541[_0x477d('0x3b6')],_0x477d('0x1182'));_0x3cdad8['hideDialog']();});_0x2fbff2['className']=_0x477d('0x362f');var _0x48d139=mxUtils[_0x477d('0x29b8')](mxResources[_0x477d('0x376')]('cancel'),function(){_0x3cdad8[_0x477d('0x362c')]();});_0x48d139['className']=_0x477d('0x3630');_0x266961[_0x477d('0xd8f')](_0x2fbff2);_0x266961[_0x477d('0xd8f')](_0x48d139);_0x5ac218[_0x477d('0xd8f')](_0x19bdfb);_0x5ac218[_0x477d('0xd8f')](_0x428e4d);_0x5ac218[_0x477d('0xd8f')](_0x266961);this[_0x477d('0x4e7')]=_0x5ac218;};function RenameDialog(_0x34a943){var _0x3059ca=_0x34a943[_0x477d('0x2d31')](_0x477d('0x3628'));var _0x2fe4eb=_0x34a943[_0x477d('0x2d31')](_0x477d('0x3629'));var _0x49b5f1=_0x34a943[_0x477d('0x2d31')]('modal-body');var _0x38fc08=_0x34a943[_0x477d('0x2d31')](_0x477d('0x362a'));var _0x2d5475=_0x34a943['createHeader']('h4');mxUtils[_0x477d('0x28ca')](_0x2d5475,mxResources[_0x477d('0x376')](_0x477d('0x3644')));var _0x1e0f87=mxUtils[_0x477d('0x29b8')]('',function(){_0x34a943[_0x477d('0x362c')]();});_0x1e0f87[_0x477d('0x471')]=_0x477d('0x539');_0x2fe4eb[_0x477d('0xd8f')](_0x1e0f87);_0x2fe4eb[_0x477d('0xd8f')](_0x2d5475);var _0xcd0e5f=_0x34a943[_0x477d('0x2d31')](_0x477d('0x14e3'));var _0x149f5f=_0x34a943[_0x477d('0x2d31')]('col-md-4');var _0x4bafe5=_0x34a943[_0x477d('0x2d31')](_0x477d('0x3638'));var _0x586a70=document[_0x477d('0x3c7')](_0x477d('0x93e'));_0x586a70[_0x477d('0x471')]='control-label\x20pull-right';mxUtils[_0x477d('0x28ca')](_0x586a70,mxResources[_0x477d('0x376')](_0x477d('0x94')));_0x149f5f['appendChild'](_0x586a70);var _0x35844d=_0x34a943['editor']['filename'];var _0x3b1b89=document['createElement'](_0x477d('0x1320'));_0x3b1b89[_0x477d('0x494')](_0x477d('0x3b6'),_0x35844d);_0x3b1b89[_0x477d('0x471')]=_0x477d('0x363b');_0x4bafe5[_0x477d('0xd8f')](_0x3b1b89);_0xcd0e5f['appendChild'](_0x149f5f);_0xcd0e5f[_0x477d('0xd8f')](_0x4bafe5);_0x49b5f1['appendChild'](_0xcd0e5f);var _0x2959da=mxUtils[_0x477d('0x29b8')](mxResources[_0x477d('0x376')](_0x477d('0xd70')),function(){var _0x397eeb=new XMLHttpRequest();_0x397eeb['open'](_0x477d('0xf88'),SAVE_URL+_0x34a943['editor']['data']['id'],!![]);_0x397eeb[_0x477d('0x361e')](_0x477d('0x2b82'),_0x477d('0x2b83'));_0x397eeb[_0x477d('0x361e')](_0x477d('0x3c2'),_0x477d('0x12aa')+_0x34a943['editor'][_0x477d('0x451')]['token']);_0x397eeb[_0x477d('0xa08')](_0x477d('0x3645')+_0x3b1b89[_0x477d('0x3b6')]);_0x397eeb[_0x477d('0xec7')]=function(_0x4d094a){if(_0x397eeb['status']===0xc8){_0x34a943[_0x477d('0x336e')][_0x477d('0x33e1')](_0x477d('0x3646'));_0x34a943[_0x477d('0x336e')][_0x477d('0x6c8')]=_0x3b1b89['value'];}else{console['log'](_0x397eeb[_0x477d('0xf3e')]);_0x34a943[_0x477d('0x336e')]['setStatus'](JSON[_0x477d('0x77')](_0x397eeb[_0x477d('0xf3e')])[_0x477d('0xd67')][0x0][_0x477d('0x452')]);}};_0x397eeb[_0x477d('0x35eb')]=function(_0x1cb4df){mxUtils[_0x477d('0x120a')](_0x397eeb[_0x477d('0x44d')]);};_0x34a943[_0x477d('0x362c')]();});_0x2959da[_0x477d('0x471')]=_0x477d('0x362f');var _0xac44cc=mxUtils['button'](mxResources[_0x477d('0x376')]('cancel'),function(){_0x34a943['hideDialog']();});_0xac44cc['className']='btn\x20default';_0x38fc08[_0x477d('0xd8f')](_0x2959da);_0x38fc08[_0x477d('0xd8f')](_0xac44cc);_0x3059ca[_0x477d('0xd8f')](_0x2fe4eb);_0x3059ca['appendChild'](_0x49b5f1);_0x3059ca[_0x477d('0xd8f')](_0x38fc08);this[_0x477d('0x4e7')]=_0x3059ca;};function EditFileDialog(_0x3830a2){var _0x2c5625=_0x3830a2['createDiv'](_0x477d('0x3628'));var _0x3e7c66=_0x3830a2[_0x477d('0x2d31')]('modal-header');var _0xa874d6=_0x3830a2[_0x477d('0x2d31')](_0x477d('0x363c'));var _0x2d8806=_0x3830a2[_0x477d('0x2d31')]('modal-footer');var _0x2dc1c3=_0x3830a2[_0x477d('0x34d8')]('h4');mxUtils[_0x477d('0x28ca')](_0x2dc1c3,mxResources[_0x477d('0x376')](_0x477d('0xedd')));var _0x11d105=mxUtils['button']('',function(){_0x3830a2[_0x477d('0x362c')]();});_0x11d105['className']=_0x477d('0x539');_0x3e7c66[_0x477d('0xd8f')](_0x11d105);_0x3e7c66['appendChild'](_0x2dc1c3);var _0x2d0cdd=_0x3830a2['createDiv'](_0x477d('0x14e3'));var _0x412027=_0x3830a2['createDiv'](_0x477d('0x362d'));var _0x3c7a11=document['createElement'](_0x477d('0x127b'));_0x3c7a11['style'][_0x477d('0x4ef')]=_0x477d('0x2999');_0x3c7a11[_0x477d('0x457')]['height']=_0x477d('0x362e');_0x3c7a11[_0x477d('0x3b6')]=mxUtils[_0x477d('0x2a04')](_0x3830a2[_0x477d('0x336e')][_0x477d('0x34f2')]());if(fileSupport){function _0xfab435(_0x144b02){_0x144b02[_0x477d('0x2b46')]();_0x144b02[_0x477d('0x52c')]();if(_0x144b02[_0x477d('0x3647')][_0x477d('0x25d9')][_0x477d('0x79')]>0x0){var _0x13fa52=_0x144b02[_0x477d('0x3647')]['files'][0x0];var _0x5071bb=new FileReader();_0x5071bb[_0x477d('0xec7')]=function(_0x3b7c09){_0x3c7a11[_0x477d('0x3b6')]=_0x3b7c09[_0x477d('0x378')][_0x477d('0xec8')];};_0x5071bb[_0x477d('0x117d')](_0x13fa52);}};function _0x10d517(_0x1e430c){_0x1e430c[_0x477d('0x2b46')]();_0x1e430c[_0x477d('0x52c')]();};_0x3c7a11['addEventListener'](_0x477d('0x3648'),_0x10d517,![]);_0x3c7a11['addEventListener']('drop',_0xfab435,![]);}_0x412027[_0x477d('0xd8f')](_0x3c7a11);_0x2d0cdd[_0x477d('0xd8f')](_0x412027);_0xa874d6['appendChild'](_0x2d0cdd);var _0xb25610=mxUtils['button'](mxResources[_0x477d('0x376')](_0x477d('0xd70')),function(){var _0x389260=mxUtils[_0x477d('0x2d43')](_0x3c7a11['value']);_0x3830a2[_0x477d('0x336e')][_0x477d('0x347f')](_0x389260[_0x477d('0x29ad')]);_0x3830a2[_0x477d('0x362c')]();});_0xb25610[_0x477d('0x471')]=_0x477d('0x362f');var _0x4eb673=mxUtils[_0x477d('0x29b8')](mxResources['get'](_0x477d('0x4f0')),function(){_0x3830a2[_0x477d('0x362c')]();});_0x4eb673[_0x477d('0x471')]='btn\x20default';_0x2d8806['appendChild'](_0xb25610);_0x2d8806[_0x477d('0xd8f')](_0x4eb673);_0x2c5625[_0x477d('0xd8f')](_0x3e7c66);_0x2c5625[_0x477d('0xd8f')](_0xa874d6);_0x2c5625[_0x477d('0xd8f')](_0x2d8806);this[_0x477d('0x4e7')]=_0x2c5625;};function ExportDialog(_0x3c5ce8){var _0x5549fa=_0x3c5ce8['createDiv'](_0x477d('0x3628'));var _0x41f0d1=_0x3c5ce8[_0x477d('0x2d31')](_0x477d('0x3629'));var _0x44c0a3=_0x3c5ce8[_0x477d('0x2d31')](_0x477d('0x3649'));var _0x2d57ce=_0x3c5ce8['createDiv'](_0x477d('0x362a'));var _0x419a71=_0x3c5ce8[_0x477d('0x34d8')]('h4');mxUtils[_0x477d('0x28ca')](_0x419a71,mxResources[_0x477d('0x376')](_0x477d('0xeea'))+_0x477d('0x362b'));var _0x1a0a28=mxUtils[_0x477d('0x29b8')]('',function(){_0x3c5ce8[_0x477d('0x362c')]();});_0x1a0a28[_0x477d('0x471')]='close';_0x41f0d1[_0x477d('0xd8f')](_0x1a0a28);_0x41f0d1[_0x477d('0xd8f')](_0x419a71);var _0x1da25a=_0x3c5ce8[_0x477d('0x2d31')](_0x477d('0x363d'));var _0x1f67c9=_0x3c5ce8[_0x477d('0x2d31')]('form-group\x20last');var _0xf9486e=document[_0x477d('0x3c7')](_0x477d('0x93e'));_0xf9486e[_0x477d('0x471')]=_0x477d('0x363e');mxUtils[_0x477d('0x28ca')](_0xf9486e,mxResources[_0x477d('0x376')](_0x477d('0x6c8')));var _0x1951e7=document[_0x477d('0x3c7')](_0x477d('0x1320'));_0x1951e7[_0x477d('0x494')](_0x477d('0x3b6'),_0x3c5ce8['editor'][_0x477d('0x34e6')]());_0x1951e7[_0x477d('0x471')]=_0x477d('0x363b');var _0x893a3a=_0x3c5ce8[_0x477d('0x2d31')](_0x477d('0x363f'));_0x893a3a['appendChild'](_0x1951e7);_0x1f67c9['appendChild'](_0xf9486e);_0x1f67c9['appendChild'](_0x893a3a);_0x1da25a[_0x477d('0xd8f')](_0x1f67c9);_0x44c0a3['appendChild'](_0x1da25a);var _0x29e9f0=mxUtils[_0x477d('0x29b8')](mxResources[_0x477d('0x376')](_0x477d('0xeea')),mxUtils[_0x477d('0x5d6')](this,function(_0x156c71){_0x3c5ce8['save'](![]);var _0x4cd922=encodeURIComponent(mxUtils[_0x477d('0x2b79')](_0x3c5ce8[_0x477d('0x336e')][_0x477d('0x34f2')]()));new mxXmlRequest(SAVE_URL+_0x3c5ce8[_0x477d('0x336e')]['data']['id']+'/download',_0x477d('0x364a')+_0x1951e7[_0x477d('0x3b6')],_0x477d('0x6ab'))['simulate'](document,'_blank');_0x3c5ce8[_0x477d('0x362c')]();}));_0x29e9f0['className']=_0x477d('0x362f');var _0x35ad87=mxUtils[_0x477d('0x29b8')](mxResources['get'](_0x477d('0x4f0')),function(){_0x3c5ce8['hideDialog']();});_0x35ad87[_0x477d('0x471')]=_0x477d('0x3630');_0x2d57ce[_0x477d('0xd8f')](_0x29e9f0);_0x2d57ce[_0x477d('0xd8f')](_0x35ad87);_0x5549fa[_0x477d('0xd8f')](_0x41f0d1);_0x5549fa[_0x477d('0xd8f')](_0x44c0a3);_0x5549fa[_0x477d('0xd8f')](_0x2d57ce);this['container']=_0x5549fa;};function GeneralDialog(_0x108b8c,_0x4eea48){console['log'](_0x477d('0x1fbc'));var _0x19158f=_0x108b8c[_0x477d('0x336e')][_0x477d('0x2c83')];var _0x28c683=_0x108b8c['createDiv'](_0x477d('0x364b'));var _0x580a17=_0x108b8c[_0x477d('0x2d31')](_0x477d('0x732'));var _0x1f2115=_0x108b8c[_0x477d('0x2d31')](_0x477d('0x364c'));var _0xa0cd05=_0x108b8c['createDiv'](_0x477d('0x364d'));var _0x1fdfc8=_0x108b8c[_0x477d('0x34d8')]('h4');mxUtils[_0x477d('0x28ca')](_0x1fdfc8,mxResources[_0x477d('0x376')](_0x477d('0xedd'))+'\x20'+mxResources[_0x477d('0x376')](_0x4eea48['value'][_0x477d('0x2a01')]));var _0x6c8fa=mxUtils['button']('',function(){_0x108b8c['hideDialog']();});_0x6c8fa['className']=_0x477d('0x539');_0x580a17[_0x477d('0xd8f')](_0x6c8fa);_0x580a17['appendChild'](_0x1fdfc8);var _0x4ce138=_0x4eea48[_0x477d('0x3b6')][_0x477d('0xf66')]['length'];var _0x4e12fe=_0x108b8c[_0x477d('0x2d31')](_0x477d('0x363d'));for(var _0x906483=0x0;_0x906483<_0x4ce138;_0x906483++){var _0x13bc82=_0x4eea48['value'][_0x477d('0xf66')][_0x906483][_0x477d('0x94')];var _0x489ff3='_'+_0x13bc82;var _0x5b723c=_0x4eea48[_0x477d('0x3b6')][_0x477d('0xf66')][_0x906483][_0x477d('0x3b6')];var _0x5a0f94=_0x108b8c[_0x477d('0x2d31')](_0x906483==_0x4ce138-0x1?_0x477d('0x3642'):'form-group');var _0x3deb42=document['createElement'](_0x477d('0x93e'));_0x3deb42[_0x477d('0x471')]=_0x477d('0x363e');mxUtils['write'](_0x3deb42,mxResources['get'](_0x13bc82));_0x5a0f94[_0x477d('0xd8f')](_0x3deb42);var _0x3d582f;switch(_0x13bc82){case _0x477d('0xf8d'):_0x3d582f=createDropdownWithOptgroupFromApi(_0x477d('0x364e'),_0x5b723c,_0x477d('0xcd'),'id',_0x108b8c,'role');break;case _0x477d('0xf4c'):_0x3d582f=createDropdownFromApi(_0x477d('0x364f'),_0x5b723c,_0x477d('0x94'),'name',_0x108b8c);break;case _0x477d('0xf45'):_0x3d582f=createDropdownFromApi(_0x477d('0x3650'),_0x5b723c,'name',_0x477d('0x94'),_0x108b8c);break;case _0x477d('0xf42'):_0x3d582f=createDropdownFromApi(_0x477d('0x2948'),_0x5b723c,_0x477d('0x94'),'id',_0x108b8c);break;case _0x477d('0xf52'):if(_0x4eea48[_0x477d('0x3b6')][_0x477d('0x2a01')]==_0x477d('0x345e')){_0x3d582f=createDropdownFromApi('/api/mail/servers/out',_0x5b723c,_0x477d('0x5d2'),'id',_0x108b8c);}else{_0x3d582f=createDropdownFromApi(_0x477d('0x3651'),_0x5b723c,_0x477d('0x94'),'id',_0x108b8c);}break;case _0x477d('0xf8f'):_0x3d582f=createDropdownFromApi('/api/templates',_0x5b723c,'name','id',_0x108b8c);break;case _0x477d('0xf47'):_0x3d582f=createDropdownFromApi(_0x477d('0x3652'),_0x5b723c,_0x477d('0x94'),_0x477d('0x94'),_0x108b8c);break;case _0x477d('0xf4e'):_0x3d582f=createDropdownFromApi(_0x477d('0x3653'),_0x5b723c,_0x477d('0xf4e'),'id',_0x108b8c,['mailbox',_0x477d('0xf47')],_0x477d('0x3654'));break;case _0x477d('0x44e'):_0x3d582f=createDropdownFromArray(ISPEECHASRMODEL,_0x5b723c);break;case'ispeech_asr_language':_0x3d582f=createDropdownFromArray(ISPEECHASRLANG,_0x5b723c);break;case _0x477d('0x2945'):_0x3d582f=createDropdownFromArray(ISPEECHBEEP,_0x5b723c);break;case _0x477d('0x357e'):_0x3d582f=createDropdownFromArray(SECRETDIGITSPOS,_0x5b723c);break;case _0x477d('0x3583'):_0x3d582f=createDropdownFromArray(ISPEECHLANG,_0x5b723c);break;case _0x477d('0x3655'):_0x3d582f=createDropdownFromArray(GOOGLETTSLANG,_0x5b723c);break;case _0x477d('0x357a'):_0x3d582f=createDropdownFromArray(ASRINTKEYS,_0x5b723c);break;case'recordingFormat':_0x3d582f=createDropdownFromArray(RECORDINGFORMAT,_0x5b723c);break;case'answer':_0x3d582f=createDropdownFromArray(BOOLSELECT,_0x5b723c);break;case _0x477d('0xf90'):_0x3d582f=createDropdownFromTigerDialList(_0x5b723c);break;case'interval_id':_0x3d582f=createGroupedDropdownFromApi('/api/intervals',_0x5b723c,_0x477d('0x94'),'id',_0x108b8c,'SubIntervals');break;case _0x477d('0xf4f'):_0x3d582f=createDropdownFromApi('/api/square/projects',_0x5b723c,_0x477d('0x94'),'id',_0x108b8c,null,null,_0x108b8c[_0x477d('0x336e')]['getOrCreateFilename']());break;case _0x477d('0xf44'):_0x3d582f=createDropdownFromApi(_0x477d('0x3656'),_0x5b723c,_0x477d('0x94'),'id',_0x108b8c);break;case'file_id':_0x3d582f=createDropdownFromApi('/api/sounds',_0x5b723c,'display_name','id',_0x108b8c);break;case _0x477d('0x91b'):case _0x477d('0x3486'):case'mindigit':case'maxdigit':case _0x477d('0xf3e'):case _0x477d('0xf3f'):case'speed':_0x3d582f=document[_0x477d('0x3c7')](_0x477d('0x1320'));_0x3d582f['setAttribute']('type','number');_0x3d582f[_0x477d('0x494')](_0x477d('0x4fa'),0x0);_0x3d582f['setAttribute']('max',0x3e8);_0x3d582f[_0x477d('0x494')](_0x477d('0x3b6'),_0x5b723c);_0x3d582f[_0x477d('0x471')]='form-control';break;case _0x477d('0x41b'):case'key':case _0x477d('0x3ef'):case'condition':case'command':case _0x477d('0x399'):_0x3d582f=document[_0x477d('0x3c7')](_0x477d('0x127b'));_0x3d582f[_0x477d('0x2a0d')]=_0x5b723c;_0x3d582f[_0x477d('0x471')]=_0x477d('0x363b');break;case _0x477d('0xf51'):_0x3d582f=document[_0x477d('0x3c7')](_0x477d('0x127b'));_0x3d582f[_0x477d('0x2a0d')]=_0x5b723c;_0x3d582f[_0x477d('0x471')]=_0x477d('0x363b');_0x3d582f[_0x477d('0x494')](_0x477d('0x3657'),_0x477d('0x3658'));break;default:_0x3d582f=document[_0x477d('0x3c7')](_0x477d('0x1320'));_0x3d582f[_0x477d('0x494')](_0x477d('0x3b6'),_0x5b723c);_0x3d582f[_0x477d('0x471')]='form-control';break;}_0x3d582f[_0x477d('0x494')]('id',_0x489ff3);var _0x246d9f=_0x108b8c[_0x477d('0x2d31')]('col-sm-8');_0x246d9f[_0x477d('0xd8f')](_0x3d582f);if(mxResources[_0x477d('0x376')](_0x477d('0x3659')+_0x13bc82)){var _0x5e8d37=_0x108b8c[_0x477d('0x2d31')]('p');_0x5e8d37[_0x477d('0x471')]=_0x477d('0x365a');mxUtils[_0x477d('0x28ca')](_0x5e8d37,mxResources[_0x477d('0x376')](_0x477d('0x3659')+_0x13bc82));_0x246d9f[_0x477d('0xd8f')](_0x5e8d37);}_0x5a0f94['appendChild'](_0x246d9f);_0x4e12fe['appendChild'](_0x5a0f94);}_0x1f2115[_0x477d('0xd8f')](_0x4e12fe);var _0x297f48=mxUtils[_0x477d('0x29b8')](mxResources[_0x477d('0x376')](_0x477d('0xd70')),mxUtils[_0x477d('0x5d6')](this,function(_0x5e3653){for(var _0x227118=0x0;_0x227118<_0x4eea48['value'][_0x477d('0xf66')][_0x477d('0x79')];_0x227118++){var _0x515e8e='_'+_0x4eea48[_0x477d('0x3b6')][_0x477d('0xf66')][_0x227118][_0x477d('0x94')];var _0x4beaab=_0x4eea48[_0x477d('0x3b6')][_0x477d('0xf66')][_0x227118][_0x477d('0x94')];_0x4eea48[_0x477d('0x494')](_0x4beaab,document[_0x477d('0x5b2')](_0x515e8e)[_0x477d('0x3b6')]);};_0x19158f[_0x477d('0x911')](_0x4eea48);_0x108b8c[_0x477d('0x362c')]();}));_0x297f48[_0x477d('0x471')]=_0x477d('0x362f');var _0x56d909=mxUtils[_0x477d('0x29b8')](mxResources[_0x477d('0x376')]('cancel'),function(){_0x108b8c['hideDialog']();});_0x56d909[_0x477d('0x471')]=_0x477d('0x3630');_0xa0cd05[_0x477d('0xd8f')](_0x297f48);_0xa0cd05[_0x477d('0xd8f')](_0x56d909);_0x28c683[_0x477d('0xd8f')](_0x580a17);_0x28c683[_0x477d('0xd8f')](_0x1f2115);_0x28c683['appendChild'](_0xa0cd05);this[_0x477d('0x4e7')]=_0x28c683;};angular[_0x477d('0xb')](_0x477d('0x26'))[_0x477d('0x373')]([_0x477d('0x365b'),function(_0x143a79){'use strict';_0x143a79[_0x477d('0x390')](_0x477d('0x397'),_0x477d('0x365c')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x365d')+_0x477d('0x365e')+_0x477d('0x365f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3660')+'\x0a'+_0x477d('0x3661')+_0x477d('0x3662')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{telephone.fullname}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3663')+'\x0a'+_0x477d('0x3664')+_0x477d('0x3665')+_0x477d('0x3666')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3667')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Cancel
\x0a'+_0x477d('0x3668')+_0x477d('0x3669')+_0x477d('0x366a')+_0x477d('0x366b'));_0x143a79['put'](_0x477d('0x1362'),_0x477d('0x366c')+_0x477d('0x366d')+_0x477d('0x366e')+_0x477d('0x365d')+_0x477d('0x365e')+_0x477d('0x366f')+_0x477d('0x3670')+_0x477d('0x3671')+_0x477d('0x3672')+_0x477d('0x3673')+_0x477d('0x3674')+_0x477d('0x3675')+_0x477d('0x3676')+_0x477d('0x3674')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3660')+'\x0a'+_0x477d('0x3661')+_0x477d('0x3677')+_0x477d('0x3663')+'\x0a'+_0x477d('0x3664')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3669')+_0x477d('0x366a')+_0x477d('0x366b'));_0x143a79[_0x477d('0x390')](_0x477d('0x40f'),_0x477d('0x3678')+_0x477d('0x3679')+_0x477d('0x367a')+_0x477d('0x367b')+_0x477d('0x367c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27DASHBOARDS.MEET_ANY_CONDITIONS\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x367d')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x367e')+_0x477d('0x367f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3680')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20$chip.displayValue\x20}}\x0a'+_0x477d('0x3687')+_0x477d('0x3688')+_0x477d('0x3689')+_0x477d('0x368a')+_0x477d('0x368b')+_0x477d('0x368c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x368d')+_0x477d('0x368e')+_0x477d('0x368f')+_0x477d('0x3690')+_0x477d('0x3691')+_0x477d('0x368d')+_0x477d('0x3692')+_0x477d('0x3693')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3694')+_0x477d('0x3695')+_0x477d('0x3696')+_0x477d('0x3697')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3698')+_0x477d('0x3699')+'\x0a'+_0x477d('0x369a')+_0x477d('0x369b')+_0x477d('0x369c')+_0x477d('0x369d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x369e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20field.name\x20}}\x0a'+_0x477d('0x36a0')+_0x477d('0x36a1')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a2')+_0x477d('0x36a3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a5')+_0x477d('0x36a6')+_0x477d('0x36a7')+_0x477d('0x368a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a8')+_0x477d('0x368a')+_0x477d('0x36a9')+_0x477d('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x36ab')+_0x477d('0x36ac')+_0x477d('0x36ad')+_0x477d('0x36a3')+_0x477d('0x36ae')+_0x477d('0x36af')+_0x477d('0x36b0')+_0x477d('0x36b1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36b2')+_0x477d('0x36b3')+_0x477d('0x36b4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36b5')+_0x477d('0x36b6')+_0x477d('0x36b7')+_0x477d('0x36b8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x36c1')+_0x477d('0x36c2')+_0x477d('0x36a3')+_0x477d('0x36c3')+_0x477d('0x36c4')+_0x477d('0x36b0')+_0x477d('0x36c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{item.name}}\x0a'+_0x477d('0x36aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c6')+_0x477d('0x36a3')+_0x477d('0x36c7')+_0x477d('0x36c4')+_0x477d('0x36b0')+_0x477d('0x36c5')+_0x477d('0x36c8')+_0x477d('0x36aa')+_0x477d('0x36a0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c9')+_0x477d('0x36ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mdp-placeholder=\x22{{\x20vm.selectedOperator.type\x20===\x20\x27$between\x27\x20?\x20\x27DASHBOARDS.STARTING_DATE\x27\x20:\x20\x27DASHBOARDS.VALUE\x27\x20|\x20translate\x20}}\x22\x0a'+_0x477d('0x36cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36cc')+_0x477d('0x36cd')+_0x477d('0x36ce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-keydown=\x22$event.keyCode\x20==\x2013\x20&&\x20vm.isValidCondition\x20&&\x20vm.handleKeyboardAction()\x22\x20flex>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36ae')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.selectedField\x22\x0a'+_0x477d('0x36b0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20placeholder=\x22{{\x20\x27DASHBOARDS.VALUE\x27\x20|\x20translate\x20}}\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36d9')+_0x477d('0x36da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22DASHBOARDS.ADD\x22>\x0a'+_0x477d('0x36db')+_0x477d('0x36dc')+_0x477d('0x36dd')+_0x477d('0x36de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36dc')+_0x477d('0x36df')+_0x477d('0x36e0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36dc')+_0x477d('0x3699')+_0x477d('0x1877'));_0x143a79['put']('app/core/directives/ms-card/templates/template-1/template-1.html',_0x477d('0x36e1')+'\x20\x20\x20\x20\x0a'+_0x477d('0x36e2')+_0x477d('0x3699')+'\x0a'+_0x477d('0x36e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e4')+_0x477d('0x36e5')+'\x0a'+_0x477d('0x36e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{card.subtitle}}\x0a'+_0x477d('0x36e5')+'\x0a'+_0x477d('0x36e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{card.text}}\x0a'+_0x477d('0x36e5')+_0x477d('0x3699')+_0x477d('0x1877'));_0x143a79[_0x477d('0x390')](_0x477d('0x36e8'),_0x477d('0x36e9')+_0x477d('0x36ea')+_0x477d('0x36eb')+_0x477d('0x36ec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{card.title}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x36ed')+_0x477d('0x36ee')+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x0a'+_0x477d('0x36ef')+_0x477d('0x36f0')+_0x477d('0x36f1')+_0x477d('0x36e5')+_0x477d('0x3699')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x36f2')+_0x477d('0x3699')+_0x477d('0x1877'));_0x143a79[_0x477d('0x390')](_0x477d('0x36f3'),_0x477d('0x36f4')+_0x477d('0x36f5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+'\x0a'+_0x477d('0x36eb')+_0x477d('0x36f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{card.title}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36ee')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3699')+'\x0a'+_0x477d('0x36f7')+_0x477d('0x36e2')+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20{{card.text}}\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x1877'));_0x143a79[_0x477d('0x390')](_0x477d('0x36f8'),_0x477d('0x36f9')+_0x477d('0x36fa')+_0x477d('0x36eb')+_0x477d('0x36fb')+_0x477d('0x36fc')+_0x477d('0x36c0')+'\x0a'+_0x477d('0x36fd')+_0x477d('0x36ee')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{card.cta}}\x0a'+_0x477d('0x36e5')+_0x477d('0x3699')+'\x0a'+_0x477d('0x36fe')+_0x477d('0x36e2')+'\x20\x20\x20\x20\x0a'+_0x477d('0x1877'));_0x143a79[_0x477d('0x390')](_0x477d('0x36ff'),_0x477d('0x3700')+_0x477d('0x3701')+_0x477d('0x3702')+_0x477d('0x36e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3703')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{card.text}}\x0a'+_0x477d('0x36e5')+_0x477d('0x3699')+'\x0a'+_0x477d('0x36f7')+_0x477d('0x36e2')+_0x477d('0x3699')+_0x477d('0x1877'));_0x143a79[_0x477d('0x390')](_0x477d('0x3704'),_0x477d('0x3705')+_0x477d('0x3706')+_0x477d('0x3707')+_0x477d('0x36e4')+_0x477d('0x36e5')+'\x0a'+_0x477d('0x3708')+_0x477d('0x3709')+_0x477d('0x36e5')+_0x477d('0x3699')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3699')+_0x477d('0x1877'));_0x143a79[_0x477d('0x390')]('app/core/directives/ms-card/templates/template-6/template-6.html','\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x36e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{card.subtitle}}\x0a'+_0x477d('0x36e5')+'\x0a'+_0x477d('0x370a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{card.title}}\x0a'+_0x477d('0x36e5')+'\x0a'+_0x477d('0x370b')+_0x477d('0x370c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3699')+'');_0x143a79[_0x477d('0x390')](_0x477d('0x370d'),_0x477d('0x370e')+_0x477d('0x370f')+_0x477d('0x3710')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36fc')+_0x477d('0x36c0')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36ee')+_0x477d('0x36c0')+'\x0a'+_0x477d('0x3711')+_0x477d('0x3712')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x3713')+_0x477d('0x3714')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3715')+_0x477d('0x3715')+_0x477d('0x3715')+_0x477d('0x3715')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x3699')+'\x0a'+_0x477d('0x36f7')+_0x477d('0x36e2')+_0x477d('0x3699')+_0x477d('0x1877'));_0x143a79['put'](_0x477d('0x3716'),_0x477d('0x3717')+_0x477d('0x36f7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3699')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e4')+_0x477d('0x36e5')+'\x0a'+_0x477d('0x36e6')+_0x477d('0x3718')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3719')+_0x477d('0x371a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{card.button2}}\x0a'+_0x477d('0x36e5')+'\x0a'+_0x477d('0x36e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{card.text}}\x0a'+_0x477d('0x36e5')+_0x477d('0x3699')+_0x477d('0x1877'));_0x143a79[_0x477d('0x390')](_0x477d('0x371b'),_0x477d('0x371c')+_0x477d('0x36f5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x371d')+_0x477d('0x36e5')+'\x0a'+_0x477d('0x36eb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36fc')+_0x477d('0x36c0')+'\x0a'+_0x477d('0x371e')+_0x477d('0x36ee')+_0x477d('0x36c0')+'\x0a'+_0x477d('0x36e5')+_0x477d('0x3699')+'\x0a'+_0x477d('0x371f')+'\x20\x20\x20\x20\x20\x20\x20\x20{{card.text}}\x0a'+_0x477d('0x3699')+'\x0a'+_0x477d('0x36f7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3699')+'\x0a'+_0x477d('0x3720')+_0x477d('0x3721')+_0x477d('0x3722')+_0x477d('0x36dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3723')+_0x477d('0x36dc')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x1877'));_0x143a79['put'](_0x477d('0x48a'),_0x477d('0x3724')+_0x477d('0x3725')+'\x0a'+_0x477d('0x3726')+_0x477d('0x3727')+'\x20\x20\x20\x20\x20\x20\x20\x20{{prefix}}-
{{target}}\x0a'+_0x477d('0x3728')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3729')+_0x477d('0x372a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.CALL_NUMBER\x27\x20|\x20translate}}\x20({{prefix\x20?\x20prefix\x20+\x20\x27-\x27\x20+\x20target\x20:\x20target}})\x0a'+_0x477d('0x372b')+_0x477d('0x372c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x372d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x372c')+_0x477d('0x372e')+'\x20\x20\x0a'+'\x0a'+'\x0a'+_0x477d('0x372f')+_0x477d('0x3730')+_0x477d('0x3731')+_0x477d('0x3732')+'\x0a'+_0x477d('0x3726')+_0x477d('0x3733')+_0x477d('0x3734')+_0x477d('0x3735')+'\x0a'+_0x477d('0x3736')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3737')+_0x477d('0x372b')+_0x477d('0x372c')+_0x477d('0x3729')+_0x477d('0x3738')+_0x477d('0x372d')+_0x477d('0x372b')+_0x477d('0x372c')+_0x477d('0x372e')+_0x477d('0x3739')+'\x0a');_0x143a79[_0x477d('0x390')]('app/core/directives/ms-dual-multiselect/ms-dual-multiselect.html',_0x477d('0x373a')+_0x477d('0x373b')+_0x477d('0x373c')+_0x477d('0x373d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x373e')+_0x477d('0x373f')+_0x477d('0x3740')+_0x477d('0x3741')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-repeat=\x22item\x20in\x20options.items\x20|\x20filter:\x20query\x20|\x20orderBy:\x20options.orderBy\x22\x0a'+_0x477d('0x3742')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{getLine(item,\x20options.line1)}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{getLine(item,\x20options.line2)}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{getLine(item,\x20options.line3)}}

\x0a'+_0x477d('0x3743')+_0x477d('0x3744')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3745')+_0x477d('0x3746')+_0x477d('0x3747')+_0x477d('0x3748')+_0x477d('0x3749')+_0x477d('0x374a')+_0x477d('0x374b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x374c')+_0x477d('0x374d')+_0x477d('0x3699')+'\x0a'+_0x477d('0x373b')+_0x477d('0x373c')+_0x477d('0x373d')+_0x477d('0x374e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x373f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x374f')+_0x477d('0x3750')+_0x477d('0x3751')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3752')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{getLine(item,\x20options.line1)}}\x0a'+_0x477d('0x3753')+_0x477d('0x3754')+_0x477d('0x3743')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

\x0a'+_0x477d('0x36bf')+_0x477d('0x3746')+_0x477d('0x3747')+_0x477d('0x3748')+_0x477d('0x3749')+_0x477d('0x374a')+_0x477d('0x3755')+_0x477d('0x3756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{options.labelSelected\x20||\x20\x27Selected\x20Items\x27}}\x20({{options.selectedItems.length}})\x0a'+_0x477d('0x36e5')+_0x477d('0x3699')+_0x477d('0x1877'));_0x143a79['put']('app/core/directives/ms-font-family/ms-font-family.html',_0x477d('0x3757')+_0x477d('0x3758')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3759'));_0x143a79[_0x477d('0x390')](_0x477d('0x4e0'),'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x375a')+_0x477d('0x375b')+'\x20\x20\x20\x20\x0a'+'\x0a');_0x143a79[_0x477d('0x390')]('app/core/directives/ms-material-color-picker/ms-material-color-picker.html',_0x477d('0x375c')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x375d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x375f')+_0x477d('0x3760')+_0x477d('0x3761')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Select\x20Color\x0a'+_0x477d('0x3760')+_0x477d('0x372b')+_0x477d('0x3762')+_0x477d('0x3699')+'\x0a'+_0x477d('0x3763')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3766')+_0x477d('0x372b')+'\x0a'+_0x477d('0x3767')+_0x477d('0x3768')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3769')+_0x477d('0x376a')+_0x477d('0x376b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x376c')+_0x477d('0x372b')+_0x477d('0x376d')+'\x0a'+_0x477d('0x376e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x376f')+_0x477d('0x3770')+_0x477d('0x3771')+_0x477d('0x3772')+_0x477d('0x3773')+_0x477d('0x3774')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3775')+_0x477d('0x3776')+_0x477d('0x3777')+_0x477d('0x3778')+_0x477d('0x3772')+_0x477d('0x3779')+_0x477d('0x3774')+_0x477d('0x377a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22s16\x20icon-check\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36c0')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x372e')+'');_0x143a79['put'](_0x477d('0x598'),'\x0a'+_0x477d('0x377b')+_0x477d('0x377c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3735')+_0x477d('0x377d')+'\x0a'+_0x477d('0x377e')+_0x477d('0x377f')+_0x477d('0x3780')+_0x477d('0x3781')+_0x477d('0x3782')+'\x0a'+_0x477d('0x3783')+_0x477d('0x3784')+'\x0a'+_0x477d('0x3785')+'\x0a'+_0x477d('0x3786')+_0x477d('0x3787')+_0x477d('0x3788')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{node.title}}\x0a'+_0x477d('0x3789')+_0x477d('0x378a')+_0x477d('0x36e5')+'\x0a'+_0x477d('0x378b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27active\x20md-accent-bg\x20md-accent-fg\x27:\x20vm.isActive}\x22\x0a'+_0x477d('0x378c')+_0x477d('0x3788')+_0x477d('0x378d')+_0x477d('0x3789')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x378e')+'\x0a'+_0x477d('0x3699')+'\x0a'+_0x477d('0x378f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3791')+'\x0a'+_0x477d('0x3792')+_0x477d('0x3793'));_0x143a79[_0x477d('0x390')](_0x477d('0x573'),_0x477d('0x3794')+_0x477d('0x3795')+_0x477d('0x3796')+_0x477d('0x3797')+_0x477d('0x3782')+'\x0a'+_0x477d('0x3798')+_0x477d('0x3799')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x379a')+_0x477d('0x378d')+_0x477d('0x379b')+_0x477d('0x379c')+_0x477d('0x36e5')+'\x0a'+_0x477d('0x379d')+_0x477d('0x379a')+_0x477d('0x378d')+_0x477d('0x379b')+_0x477d('0x379c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3699')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a');_0x143a79[_0x477d('0x390')](_0x477d('0x37a0'),_0x477d('0x37a1')+'\x0a'+_0x477d('0x37a2')+_0x477d('0x37a3')+_0x477d('0x37a4')+_0x477d('0x37a5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x37a6')+_0x477d('0x372b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x37a7')+'\x20\x20\x20\x20\x0a'+_0x477d('0x37a8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x37a9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{item.n}}\x20\x0a'+_0x477d('0x37aa')+_0x477d('0x37ab')+_0x477d('0x37ac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x37ad')+_0x477d('0x37ae')+_0x477d('0x37af')+_0x477d('0x37b0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x37b1')+_0x477d('0x37aa')+_0x477d('0x37b2')+_0x477d('0x37ac')+_0x477d('0x3774')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x37ad')+_0x477d('0x37ae')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x37b0')+_0x477d('0x37a9')+_0x477d('0x37b1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{l\x20|\x20uppercase}}\x0a'+_0x477d('0x37ac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x37ad')+_0x477d('0x37ae')+_0x477d('0x37b3')+_0x477d('0x37b4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x37b5')+_0x477d('0x3670')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x37b6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x37a9')+_0x477d('0x37b1')+_0x477d('0x37b7')+_0x477d('0x37ab')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

\x0a'+_0x477d('0x3774')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x37b4')+_0x477d('0x37b8')+_0x477d('0x37b5')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x37ad')+'\x0a'+_0x477d('0x37a1')+'\x0a'+'\x0a'+'\x0a'+_0x477d('0x37b9')+_0x477d('0x37ba')+_0x477d('0x37bb')+_0x477d('0x37bc')+_0x477d('0x37bd')+_0x477d('0x37be')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x37bf')+'\x0a'+_0x477d('0x37c0')+_0x477d('0x37c1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Speaker\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36dc')+_0x477d('0x37c2')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x37c3')+_0x477d('0x37c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Microphone\x0a'+_0x477d('0x37be')+_0x477d('0x36dc')+_0x477d('0x37c5')+'\x0a'+_0x477d('0x37c6')+_0x477d('0x37c7')+_0x477d('0x37c8')+_0x477d('0x37c9')+_0x477d('0x37ca')+_0x477d('0x37cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3699')+_0x477d('0x37cc')+_0x477d('0x37cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x37ce')+_0x477d('0x37cf')+_0x477d('0x37d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20local-data=\x22vm_pb.calls\x22\x0a'+_0x477d('0x37d1')+_0x477d('0x37d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20minlength=\x220\x22\x0a'+_0x477d('0x37d3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20disable-input=\x22!vm_pb.registered\x22\x0a'+_0x477d('0x37d4')+_0x477d('0x37d5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20input-changed=\x22vm_pb.targetChanged\x22\x0a'+_0x477d('0x37d6')+_0x477d('0x37d7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-keypress=\x22vm_pb.typeWrapper($event)\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20focus-first=\x22true\x22\x20/>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x37d8')+_0x477d('0x37d9')+_0x477d('0x36c0')+_0x477d('0x37da')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x37db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x37dc')+_0x477d('0x37dd')+_0x477d('0x372b')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x0a'+_0x477d('0x377d')+'\x0a'+'\x0a'+_0x477d('0x37de')+'\x0a'+_0x477d('0x37e9')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x37ea')+_0x477d('0x37eb')+_0x477d('0x37ec')+_0x477d('0x36dc')+_0x477d('0x37ed')+_0x477d('0x37ee')+_0x477d('0x37ef')+_0x477d('0x36e5')+'\x0a'+_0x477d('0x37f0')+_0x477d('0x37f1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x37f2')+'\x0a'+_0x477d('0x37f3')+_0x477d('0x37f4')+_0x477d('0x37f5')+_0x477d('0x36dc')+_0x477d('0x37f6')+'\x0a'+_0x477d('0x37f7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x37f8')+_0x477d('0x36dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x37f9')+_0x477d('0x37fa')+_0x477d('0x37fb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x37fc')+_0x477d('0x37fd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3699')+_0x477d('0x377d')+_0x477d('0x37e6'));_0x143a79['put'](_0x477d('0x37fe'),'\x0a'+_0x477d('0x37ff')+'\x20\x20\x20\x20id=\x22ms-target\x22\x0a'+_0x477d('0x3800')+_0x477d('0x3801')+_0x477d('0x3802')+_0x477d('0x3803')+_0x477d('0x3804')+_0x477d('0x3805')+_0x477d('0x3806')+'\x20\x20\x20\x20ng-blur=\x22hideResults($event)\x22\x0a'+_0x477d('0x3807')+_0x477d('0x3808')+_0x477d('0x3809')+_0x477d('0x380a')+'\x20\x20\x0a'+_0x477d('0x380b')+_0x477d('0x380c')+_0x477d('0x380d')+_0x477d('0x380e')+_0x477d('0x380f')+_0x477d('0x3699')+'\x20\x20\x0a'+_0x477d('0x377d'));_0x143a79['put'](_0x477d('0x6bc'),_0x477d('0x3810')+_0x477d('0x3811')+_0x477d('0x3812')+_0x477d('0x3811')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3813')+'\x20\x20\x20\x20\x0a'+_0x477d('0x1877'));_0x143a79[_0x477d('0x390')](_0x477d('0x47a'),_0x477d('0x3814')+_0x477d('0x366d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x365d')+_0x477d('0x365e')+_0x477d('0x3815')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3816')+_0x477d('0x3817')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3660')+'\x0a'+_0x477d('0x3661')+_0x477d('0x3818')+_0x477d('0x3819')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20no\x20prefix\x0a'+_0x477d('0x381a')+_0x477d('0x3663')+'\x0a'+_0x477d('0x3664')+_0x477d('0x381b')+_0x477d('0x381c')+_0x477d('0x372b')+_0x477d('0x381d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Cancel\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x366a')+'');_0x143a79[_0x477d('0x390')]('assets/ms-phonebar/record/dialog.html','\x0a'+_0x477d('0x366d')+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x365e')+_0x477d('0x381f')+_0x477d('0x3670')+_0x477d('0x3671')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3820')+_0x477d('0x3674')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3674')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x3821')+_0x477d('0x3822')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3823')+_0x477d('0x3824')+_0x477d('0x3825')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Actions\x0a'+_0x477d('0x3826')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3827')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3828')+_0x477d('0x3829')+_0x477d('0x382a')+_0x477d('0x382b')+_0x477d('0x3826')+_0x477d('0x382c')+_0x477d('0x382d')+_0x477d('0x382e')+_0x477d('0x382f')+_0x477d('0x382b')+_0x477d('0x382e')+_0x477d('0x3830')+_0x477d('0x3831')+_0x477d('0x3832')+_0x477d('0x382b')+_0x477d('0x3826')+_0x477d('0x3833')+_0x477d('0x3834')+_0x477d('0x3835')+'\x0a'+_0x477d('0x366a')+'\x0a');_0x143a79[_0x477d('0x390')](_0x477d('0x3836'),_0x477d('0x3837')+_0x477d('0x366d')+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x365e')+_0x477d('0x3838')+_0x477d('0x3670')+_0x477d('0x3671')+_0x477d('0x3839')+_0x477d('0x3817')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x3661')+_0x477d('0x383a')+_0x477d('0x383b')+_0x477d('0x383c')+_0x477d('0x383d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20session.name\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x3663')+'\x0a'+_0x477d('0x3664')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x383e')+_0x477d('0x372b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x383f')+_0x477d('0x372b')+_0x477d('0x3669')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79['put'](_0x477d('0x693'),_0x477d('0x3841')+'\x20\x20\x20\x20\x0a'+_0x477d('0x381e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3842')+_0x477d('0x3843')+_0x477d('0x3844')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3845')+_0x477d('0x3846')+_0x477d('0x3847')+_0x477d('0x3848')+_0x477d('0x3849')+_0x477d('0x384a')+_0x477d('0x384b')+_0x477d('0x384c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x384d')+_0x477d('0x384e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Auto\x20Answer\x0a'+_0x477d('0x384f')+_0x477d('0x3850')+_0x477d('0x3851')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x384c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x384d')+_0x477d('0x3852')+_0x477d('0x3853')+_0x477d('0x3854')+_0x477d('0x3855')+_0x477d('0x3856')+_0x477d('0x3857')+_0x477d('0x3858')+_0x477d('0x3859')+_0x477d('0x385a')+_0x477d('0x385b')+_0x477d('0x385c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x385d')+_0x477d('0x385e')+_0x477d('0x385f')+_0x477d('0x3860')+'\x0a'+_0x477d('0x3861')+_0x477d('0x3862')+_0x477d('0x3863')+_0x477d('0x382a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3853')+_0x477d('0x3864')+_0x477d('0x3865')+_0x477d('0x3856')+_0x477d('0x3857')+_0x477d('0x3866')+_0x477d('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Field\x20is\x20required\x0a'+_0x477d('0x385b')+_0x477d('0x385c')+_0x477d('0x3867')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3868')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Mute\x0a'+_0x477d('0x3860')+'\x0a'+_0x477d('0x3861')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3863')+_0x477d('0x382a')+_0x477d('0x36a9')+'\x0a'+_0x477d('0x3852')+_0x477d('0x3869')+_0x477d('0x386a')+_0x477d('0x386b')+_0x477d('0x386c')+_0x477d('0x3857')+_0x477d('0x386d')+_0x477d('0x3859')+_0x477d('0x385a')+_0x477d('0x385b')+_0x477d('0x385c')+_0x477d('0x3867')+'\x0a'+_0x477d('0x385d')+_0x477d('0x386e')+_0x477d('0x385f')+_0x477d('0x3860')+_0x477d('0x382a')+_0x477d('0x36a9')+_0x477d('0x384b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x386f')+_0x477d('0x384d')+_0x477d('0x3870')+_0x477d('0x3871')+_0x477d('0x3872')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3873')+_0x477d('0x3871')+_0x477d('0x3874')+_0x477d('0x3875')+_0x477d('0x3873')+_0x477d('0x3871')+_0x477d('0x3876')+_0x477d('0x3877')+_0x477d('0x3873')+_0x477d('0x3871')+_0x477d('0x3878')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3871')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Microphone\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3873')+_0x477d('0x3871')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Speaker\x0a'+_0x477d('0x3879')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x384b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387a')+_0x477d('0x3663')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387b')+_0x477d('0x387c')+_0x477d('0x387d')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x387f'),_0x477d('0x3880')+_0x477d('0x3881')+'\x20\x20\x20\x20\x20\x20\x20\x20class=\x22padding-horizontal-16\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3882')+_0x477d('0x3883')+_0x477d('0x3884')+_0x477d('0x3885')+_0x477d('0x3886')+_0x477d('0x3887')+_0x477d('0x3888')+'\x0a'+_0x477d('0x3889')+_0x477d('0x388a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22filter.options.length\x20===\x200\x22\x20ng-change=\x22vm.onMultiselectSelection(filter)\x22\x0a'+_0x477d('0x388b')+_0x477d('0x388c')+_0x477d('0x388d')+_0x477d('0x388e')+_0x477d('0x388f')+_0x477d('0x3890')+_0x477d('0x3891')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3894')+_0x477d('0x3895')+_0x477d('0x3896')+_0x477d('0x3897')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3898')+_0x477d('0x3899')+_0x477d('0x389a')+_0x477d('0x372b')+_0x477d('0x36e5')+_0x477d('0x3699')+_0x477d('0x1877'));_0x143a79[_0x477d('0x390')](_0x477d('0x72d'),_0x477d('0x389b')+_0x477d('0x389c')+_0x477d('0x389d')+_0x477d('0x389e')+_0x477d('0x389f')+_0x477d('0x38a0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x38a1')+_0x477d('0x38a2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x38a8')+'\x0a'+_0x477d('0x38a9')+_0x477d('0x38aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27selected\x27:\x20$index\x20==\x20vm.selectedResultIndex}\x22\x20md-ink-ripple>\x0a'+_0x477d('0x387b')+_0x477d('0x38ab')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x38ac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x38ad')+_0x477d('0x38ae')+_0x477d('0x38af')+_0x477d('0x3670')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3699')+'');_0x143a79[_0x477d('0x390')](_0x477d('0x746'),_0x477d('0x38b0')+_0x477d('0x38b1')+'\x0a'+_0x477d('0x38b2')+_0x477d('0x38b3')+_0x477d('0x38b4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-sortable=\x22MsShortcuts.sortableOptions\x22>\x0a'+_0x477d('0x38b5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x38b6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{shortcut.title}}\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x38b7')+_0x477d('0x38b8')+_0x477d('0x38b9')+_0x477d('0x38ba')+_0x477d('0x38bb')+_0x477d('0x372b')+'\x0a'+_0x477d('0x38bc')+_0x477d('0x38bd')+_0x477d('0x38be')+_0x477d('0x38bf')+_0x477d('0x38c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a9')+_0x477d('0x38c1')+_0x477d('0x38c2')+_0x477d('0x38c3')+_0x477d('0x38c4')+_0x477d('0x36a9')+'\x0a'+_0x477d('0x38c5')+_0x477d('0x38c6')+_0x477d('0x38c7')+_0x477d('0x38c8')+_0x477d('0x36bf')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x38c9')+'\x0a'+_0x477d('0x38ca')+_0x477d('0x38cb')+_0x477d('0x38cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-mousedown=\x22MsShortcuts.absorbEvent($event)\x22\x0a'+_0x477d('0x38cd')+_0x477d('0x38ce')+_0x477d('0x38cf')+_0x477d('0x38d0')+_0x477d('0x38d1')+_0x477d('0x38d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x38d3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x38d4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{result.title}}\x0a'+_0x477d('0x385b')+_0x477d('0x385c')+_0x477d('0x38d5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27fade-text\x27:\x20!result.hasShortcut}\x22>\x0a'+_0x477d('0x382a')+_0x477d('0x36a9')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x38d6')+_0x477d('0x38d7')+_0x477d('0x3699')+'\x0a'+_0x477d('0x38d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22MsShortcuts.toggleMobileBar()\x22>\x0a'+_0x477d('0x38d9')+_0x477d('0x38da')+_0x477d('0x38db')+_0x477d('0x38dc')+_0x477d('0x3735')+_0x477d('0x377d'));_0x143a79[_0x477d('0x390')](_0x477d('0x38dd'),_0x477d('0x38de')+_0x477d('0x38df')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x38e0')+_0x477d('0x38e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22MsStepper.gotoStep(step.stepNumber)\x22\x0a'+_0x477d('0x38e2')+_0x477d('0x38e3')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3760')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x38e8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{step.stepTitle}}\x0a'+_0x477d('0x38e9')+_0x477d('0x3670')+_0x477d('0x372b')+_0x477d('0x36e5')+_0x477d('0x3699')+'\x0a'+_0x477d('0x38ea')+'\x0a'+_0x477d('0x38eb')+_0x477d('0x38ec')+_0x477d('0x38ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22MsStepper.gotoPreviousStep()\x22>\x0a'+_0x477d('0x38ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x38ef')+_0x477d('0x38f0')+_0x477d('0x38f1')+_0x477d('0x38f2')+_0x477d('0x376b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x38ec')+_0x477d('0x38f3')+_0x477d('0x38f4')+_0x477d('0x38f5')+_0x477d('0x38f6')+_0x477d('0x36dc')+'\x0a'+_0x477d('0x38f7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22MsStepper.resetForm()\x22\x0a'+_0x477d('0x38f8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!MsStepper.isFormValid()\x22>\x0a'+_0x477d('0x38f9')+_0x477d('0x36dc')+_0x477d('0x3699')+'');_0x143a79[_0x477d('0x390')]('app/core/directives/ms-stepper/templates/vertical/step/vertical-step.html',_0x477d('0x38fa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27current\x27:\x20MsStepper.isStepCurrent(stepInfo.stepNumber),\x20\x27valid\x27:\x20MsStepper.isStepValid(stepInfo.stepNumber),\x20\x27disabled\x27:\x20MsStepper.isStepDisabled(stepInfo.stepNumber),\x20\x27optional\x27:\x20MsStepper.isStepOptional(stepInfo.stepNumber)}\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22MsStepper.gotoStep(stepInfo.stepNumber)\x22\x0a'+_0x477d('0x38fb')+_0x477d('0x38fc')+_0x477d('0x38fd')+_0x477d('0x38fe')+'\x0a'+_0x477d('0x38ff')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x37cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3900')+_0x477d('0x37cb')+_0x477d('0x3699')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3901')+'\x20\x20\x20\x20\x20\x20\x20\x20{{stepInfo.stepTitle}}\x0a'+_0x477d('0x3902')+_0x477d('0x3699')+_0x477d('0x37e3')+'\x0a'+'\x0a'+'\x0a'+_0x477d('0x3903')+'\x20\x20\x20\x20\x20ng-show=\x22MsStepper.isStepCurrent(stepInfo.stepNumber)\x22>\x0a'+_0x477d('0x3904')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22MsStepper.isFirstStep()\x22\x0a'+_0x477d('0x3905')+_0x477d('0x3906')+_0x477d('0x3735')+'\x0a'+_0x477d('0x3904')+_0x477d('0x3907')+_0x477d('0x3908')+_0x477d('0x3909')+_0x477d('0x390a')+_0x477d('0x3735')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3910')+'\x20\x20\x20\x20\x0a'+_0x477d('0x1877'));_0x143a79[_0x477d('0x390')]('app/core/directives/ms-tab-scroll/ms-tab-scroll.html',_0x477d('0x3911')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3912')+_0x477d('0x3735')+_0x477d('0x3913')+_0x477d('0x3914')+_0x477d('0x36e5')+_0x477d('0x3699')+_0x477d('0x3915')+_0x477d('0x3916')+'\x20\x20\x20\x20\x0a'+_0x477d('0x1877'));_0x143a79[_0x477d('0x390')]('app/core/directives/ms-timezone/ms-timezone.html','\x0a'+_0x477d('0x3917')+'\x20\x20\x20\x20{{t.name}}\x20({{t.offsetStr}})\x0a'+'\x0a');_0x143a79[_0x477d('0x390')](_0x477d('0x3918'),_0x477d('0x3919')+_0x477d('0x391a')+_0x477d('0x391b')+_0x477d('0x3699')+'\x20\x20\x20\x20{{\x20\x27TOOLS.\x27\x20+\x20widget.attrs[0].value\x20|\x20uppercase\x20|\x20translate\x20}}*\x0a'+_0x477d('0x377d'));_0x143a79['put'](_0x477d('0x391c'),_0x477d('0x391d')+'\x0a'+'\x20\x20\x20\x20{{\x20vm.getMultiBarChart(widget)}}\x0a'+'\x0a'+_0x477d('0x391e')+'\x20\x20\x20\x20\x0a'+'\x0a');_0x143a79['put'](_0x477d('0x391f'),'\x0a'+'\x0a'+_0x477d('0x3920')+'\x0a'+_0x477d('0x3921')+_0x477d('0x3922')+_0x477d('0x377d'));_0x143a79['put']('app/core/directives/ms-widget-engine/ms-widget-engine-web-report/ms-widget-engine.web-report.html',_0x477d('0x3923')+_0x477d('0x3924')+_0x477d('0x3925')+'\x20\x20\x20\x20\x20\x20\x20\x20
{{vm.error.sql}}
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20
Message
\x0a'+_0x477d('0x3926')+_0x477d('0x3927')+_0x477d('0x3928')+_0x477d('0x3929')+_0x477d('0x392a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x392b')+_0x477d('0x392c')+_0x477d('0x372b')+_0x477d('0x392d')+_0x477d('0x36e5')+_0x477d('0x392e')+_0x477d('0x392f')+_0x477d('0x3930')+_0x477d('0x3931')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{column.alias\x20||\x20column.field}}\x0a'+_0x477d('0x3932')+_0x477d('0x3933')+_0x477d('0x3934')+_0x477d('0x3935')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.valueReplacer(key,\x20value)\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3936')+_0x477d('0x3937')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3938')+_0x477d('0x36a9')+_0x477d('0x3939')+_0x477d('0x3932')+_0x477d('0x393a')+_0x477d('0x393b')+_0x477d('0x393c')+'\x0a'+_0x477d('0x393d')+'\x0a');_0x143a79[_0x477d('0x390')]('app/core/directives/ms-widget-engine/ms-widget-engine.html',_0x477d('0x393e')+_0x477d('0x393f')+_0x477d('0x3940')+_0x477d('0x3941')+_0x477d('0x3942')+_0x477d('0x3943')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20widget.title\x20||\x20\x27No\x20Title\x27\x20}}\x0a'+_0x477d('0x3944')+_0x477d('0x3945')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Move\x0a'+_0x477d('0x3946')+_0x477d('0x3947')+_0x477d('0x3948')+_0x477d('0x3949')+_0x477d('0x394a')+_0x477d('0x3832')+_0x477d('0x394b')+_0x477d('0x368e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x0a'+_0x477d('0x368d')+_0x477d('0x368e')+_0x477d('0x394c')+_0x477d('0x368d')+_0x477d('0x3692')+_0x477d('0x3693')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x394d')+_0x477d('0x394e')+_0x477d('0x394f')+_0x477d('0x3950')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3951')+_0x477d('0x36a9')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3952')+_0x477d('0x3791')+_0x477d('0x377d'));_0x143a79[_0x477d('0x390')](_0x477d('0x10'),'\x0a'+_0x477d('0x3953')+'');_0x143a79['put']('app/core/layouts/content-with-toolbar.html',_0x477d('0x3954')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3953')+'\x0a'+_0x477d('0x3955')+_0x477d('0x3956')+'');_0x143a79[_0x477d('0x390')](_0x477d('0xd49'),_0x477d('0x3957')+'\x0a'+_0x477d('0x3958')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3699')+'\x0a'+_0x477d('0x3959')+_0x477d('0x395a')+_0x477d('0x3699')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x0a'+_0x477d('0x1877'));_0x143a79['put'](_0x477d('0xd46'),'\x0a'+'\x0a'+_0x477d('0x395d')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x395f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-component-id=\x22navigation\x22\x20ms-scroll\x20ui-view=\x22navigation\x22>\x0a'+'\x0a'+_0x477d('0x3961')+_0x477d('0x3962')+_0x477d('0x36e5')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3699')+'\x0a'+'\x0a'+_0x477d('0x1877'));_0x143a79['put'](_0x477d('0xd41'),_0x477d('0x3963')+'\x0a'+_0x477d('0x3964')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3959')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3699')+'\x0a'+_0x477d('0x3965')+'\x0a'+_0x477d('0x377d')+'\x0a'+_0x477d('0x3966'));_0x143a79['put'](_0x477d('0x9b2'),_0x477d('0x3967')+_0x477d('0x3968')+_0x477d('0x377d')+'\x0a'+_0x477d('0x3969')+'\x0a'+_0x477d('0x396a')+_0x477d('0x396b')+_0x477d('0x396c')+_0x477d('0x396d')+_0x477d('0x396e')+_0x477d('0x396f')+_0x477d('0x3970')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{layoutStyle.label}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3971')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3972')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3973')+_0x477d('0x3974')+_0x477d('0x3975')+_0x477d('0x3976')+_0x477d('0x3977')+_0x477d('0x3971')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+'\x0a'+_0x477d('0x3972')+'\x0a'+_0x477d('0x3978')+_0x477d('0x3979')+_0x477d('0x397a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x397e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x0a'+'');_0x143a79[_0x477d('0x390')](_0x477d('0x11'),_0x477d('0x397f')+_0x477d('0x3980')+'\x20\x20\x20\x20\x20\x20\x20\x20404\x0a'+'\x0a'+_0x477d('0x3981')+'\x20\x20\x20\x20\x20\x20\x20\x20Search\x20for\x20anything\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Log\x20in\x20to\x20your\x20account\x0a'+'\x0a'+_0x477d('0x39ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ae')+_0x477d('0x39af')+_0x477d('0x399e')+_0x477d('0x39b0')+_0x477d('0x36a9')+_0x477d('0x36bf')+_0x477d('0x39a2')+'\x0a'+_0x477d('0x399b')+_0x477d('0x39b1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x399e')+_0x477d('0x39b2')+_0x477d('0x36a9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39b3')+_0x477d('0x39b4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remember\x20Me\x0a'+_0x477d('0x39b5')+_0x477d('0x39b6')+_0x477d('0x3670')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.message}}
\x0a'+_0x477d('0x39b7')+_0x477d('0x39b8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39b9')+'\x0a'+_0x477d('0x39ba')+'\x0a'+_0x477d('0x39bb')+_0x477d('0x39bc')+_0x477d('0x36c0')+'\x0a'+_0x477d('0x39bd')+_0x477d('0x39be')+_0x477d('0x39bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Log\x20in\x20with\x20Google\x0a'+_0x477d('0x3774')+_0x477d('0x3670')+_0x477d('0x372b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3699')+_0x477d('0x377d'));_0x143a79[_0x477d('0x390')](_0x477d('0xd9b'),_0x477d('0x39c0')+'\x20\x20\x20\x20\x0a'+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x38ad')+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x39c8')+_0x477d('0x39c9')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d1')+_0x477d('0x39d2')+_0x477d('0x39d3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x39d4')+_0x477d('0x39d5')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x39d7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d8')+_0x477d('0x36bf')+_0x477d('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39da')+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3663')+'\x0a'+_0x477d('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39dd')+_0x477d('0x39de')+_0x477d('0x39df')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22ANALYTICS.SAVE\x22\x20translate-attr-aria-label=\x22ANALYTICS.SAVE\x22>\x0a'+_0x477d('0x39e0')+_0x477d('0x39e1')+'\x0a'+_0x477d('0x39e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x477d('0x39e3')+_0x477d('0x39e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20EXTRACTEDREPORT\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39e5')+_0x477d('0x39e6')+_0x477d('0x39e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39e8')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x39e9')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')]('app/main/apps/analytics/views/extractedReports/extractedReports.html',_0x477d('0x39ea')+'\x0a'+_0x477d('0x39eb')+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x37cd')+_0x477d('0x39ec')+_0x477d('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3760')+_0x477d('0x39ee')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ef')+'\x0a'+_0x477d('0x39f0')+_0x477d('0x39f1')+_0x477d('0x39f2')+_0x477d('0x39f3')+_0x477d('0x39f4')+_0x477d('0x39f5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39f6')+_0x477d('0x39a2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39f7')+_0x477d('0x36bf')+_0x477d('0x3699')+_0x477d('0x39f8')+'\x0a'+_0x477d('0x39f9')+'\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a'+_0x477d('0x39fa')+'\x0a'+_0x477d('0x39fb')+_0x477d('0x39fc')+_0x477d('0x39fd')+_0x477d('0x39fe')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+'\x0a'+_0x477d('0x39ff')+'\x0a'+_0x477d('0x3a00')+_0x477d('0x3a01')+_0x477d('0x3a02')+_0x477d('0x3a03')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a04')+_0x477d('0x3a05')+_0x477d('0x3a06')+_0x477d('0x3a07')+_0x477d('0x3a08')+_0x477d('0x3674')+_0x477d('0x3a09')+_0x477d('0x3a0a')+_0x477d('0x3a0b')+_0x477d('0x3a0c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a0a')+_0x477d('0x3a0d')+_0x477d('0x3a0e')+_0x477d('0x3832')+_0x477d('0x3a0f')+_0x477d('0x3a10')+_0x477d('0x3a11')+_0x477d('0x36c0')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a12')+_0x477d('0x3a13')+_0x477d('0x3a14')+_0x477d('0x3a15')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22ANALYTICS.DELETE_SELECTED\x22>\x0a'+_0x477d('0x3a16')+_0x477d('0x387e')+_0x477d('0x382a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3699')+_0x477d('0x3a17')+'\x0a'+_0x477d('0x3a18')+_0x477d('0x3a19')+'\x0a'+_0x477d('0x3a1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a1b')+_0x477d('0x3a1c')+_0x477d('0x3a1d')+_0x477d('0x3a1e')+_0x477d('0x3a1f')+_0x477d('0x3a20')+_0x477d('0x3a21')+_0x477d('0x3a22')+_0x477d('0x3a23')+_0x477d('0x3a24')+_0x477d('0x3a25')+_0x477d('0x3a26')+_0x477d('0x3a27')+_0x477d('0x3a28')+_0x477d('0x3a29')+_0x477d('0x3a2a')+_0x477d('0x3a2b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a2c')+_0x477d('0x3a2d')+_0x477d('0x3a2e')+_0x477d('0x3a2f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a30')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a'+_0x477d('0x3a31')+_0x477d('0x3a32')+_0x477d('0x3a2c')+_0x477d('0x3a33')+_0x477d('0x3a34')+_0x477d('0x3a35')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{extractedReport.basename}}\x0a'+_0x477d('0x3a37')+_0x477d('0x3a39')+_0x477d('0x3a3a')+_0x477d('0x3a3b')+_0x477d('0x3a3c')+_0x477d('0x3a3d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a44')+_0x477d('0x3947')+'\x0a'+_0x477d('0x3a45')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a48')+_0x477d('0x3a49')+_0x477d('0x3a4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3a4e')+'\x0a'+_0x477d('0x3a4f')+_0x477d('0x3a50')+_0x477d('0x3a51')+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a53')+_0x477d('0x3a54')+_0x477d('0x3a55')+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3692')+'\x0a'+_0x477d('0x3693')+_0x477d('0x3939')+'\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a56')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a57')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a58')+_0x477d('0x3a59')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3699')+_0x477d('0x3a5a')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3699'));_0x143a79['put'](_0x477d('0xe02'),_0x477d('0x3a5b')+'\x20\x20\x20\x20\x0a'+_0x477d('0x381e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x477d('0x3843')+_0x477d('0x3844')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Table\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5f')+_0x477d('0x3a46')+_0x477d('0x3a60')+_0x477d('0x3a61')+_0x477d('0x3a46')+_0x477d('0x3a62')+_0x477d('0x3a63')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>CDR\x0a'+_0x477d('0x3a64')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Chat\x20Website\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Chat\x20Interaction\x0a'+_0x477d('0x3a65')+_0x477d('0x3a46')+_0x477d('0x3a66')+_0x477d('0x3a67')+_0x477d('0x3a46')+_0x477d('0x3a68')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CSquare\x20Report\x0a'+_0x477d('0x3a70')+_0x477d('0x3a46')+_0x477d('0x3a71')+_0x477d('0x3a72')+_0x477d('0x3a46')+_0x477d('0x3a73')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Dialer\x20Hopper\x20Logs\x0a'+_0x477d('0x3a75')+_0x477d('0x3a46')+_0x477d('0x3a76')+_0x477d('0x3a77')+_0x477d('0x3a46')+_0x477d('0x3a78')+_0x477d('0x3a79')+_0x477d('0x3a46')+_0x477d('0x3a7a')+_0x477d('0x3a7b')+_0x477d('0x3a46')+_0x477d('0x3a7c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Email\x20Report\x20Queue\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Fax\x20Account\x0a'+_0x477d('0x3a81')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a82')+_0x477d('0x3a83')+_0x477d('0x3a46')+_0x477d('0x3a84')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Jscripty\x20Sessions\x0a'+_0x477d('0x3a8b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a8c')+_0x477d('0x3a8d')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Jscripty\x20Answers\x0a'+_0x477d('0x3a8e')+_0x477d('0x3a46')+_0x477d('0x3a8f')+_0x477d('0x3a90')+_0x477d('0x3a46')+_0x477d('0x3a91')+_0x477d('0x3a92')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a93')+_0x477d('0x3a94')+_0x477d('0x3a46')+_0x477d('0x3a95')+_0x477d('0x3a96')+_0x477d('0x3a46')+_0x477d('0x3a97')+_0x477d('0x3a98')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a99')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Queue\x20Report\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SMS\x20Account\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SMS\x20Interaction\x0a'+_0x477d('0x3a9c')+_0x477d('0x3a46')+_0x477d('0x3a9d')+_0x477d('0x3a9e')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>SMS\x20Queues\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Voice\x20Recordings\x0a'+_0x477d('0x3aa4')+_0x477d('0x3a46')+_0x477d('0x3aa5')+_0x477d('0x3aa6')+_0x477d('0x3a46')+_0x477d('0x3aa7')+_0x477d('0x3aa8')+_0x477d('0x3a46')+_0x477d('0x3aa9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Whatsapp\x20Queues\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Whatsapp\x20Report\x20Queue\x0a'+_0x477d('0x3aaa')+_0x477d('0x3a46')+_0x477d('0x3aab')+_0x477d('0x3aac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x3aad')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3aae')+_0x477d('0x3aaf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x3ab0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ab1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x3ab2')+_0x477d('0x3ab3')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x3ab4')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3663')+'\x0a'+_0x477d('0x39dc')+_0x477d('0x387b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39e5')+_0x477d('0x3aba')+_0x477d('0x39e7')+_0x477d('0x3a16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x39e9')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3840'));_0x143a79['put'](_0x477d('0x54'),_0x477d('0x3abb')+'\x0a'+_0x477d('0x39eb')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3abc')+_0x477d('0x37cd')+_0x477d('0x39ec')+_0x477d('0x39ed')+_0x477d('0x3abd')+_0x477d('0x3760')+_0x477d('0x3abe')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39ef')+'\x0a'+_0x477d('0x39f0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39f2')+_0x477d('0x39f3')+_0x477d('0x39f4')+_0x477d('0x39f5')+_0x477d('0x3abf')+_0x477d('0x39f6')+_0x477d('0x39a2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39f7')+_0x477d('0x36bf')+_0x477d('0x3699')+_0x477d('0x39f8')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3ac0')+_0x477d('0x39fa')+'\x0a'+_0x477d('0x3ac1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39fe')+_0x477d('0x372b')+_0x477d('0x36e5')+'\x0a'+_0x477d('0x39ff')+'\x0a'+_0x477d('0x3a00')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedMetrics.length}}\x0a'+_0x477d('0x3a03')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3674')+_0x477d('0x3a09')+_0x477d('0x3a0a')+_0x477d('0x3ac2')+_0x477d('0x3a0c')+_0x477d('0x3832')+_0x477d('0x3a0f')+_0x477d('0x3a0a')+_0x477d('0x3ac3')+_0x477d('0x3a0e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a0f')+_0x477d('0x3a10')+_0x477d('0x3a11')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3ac4')+_0x477d('0x3ac5')+_0x477d('0x3a13')+_0x477d('0x3a14')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x382a')+_0x477d('0x36e5')+_0x477d('0x3699')+_0x477d('0x3a17')+'\x0a'+_0x477d('0x3a18')+_0x477d('0x3a19')+'\x0a'+_0x477d('0x3a1a')+_0x477d('0x3ac6')+'\x0a'+_0x477d('0x3a1b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ac7')+_0x477d('0x3ac8')+_0x477d('0x3a21')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a23')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27ANALYTICS.NAME\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x3ac9')+_0x477d('0x3aca')+_0x477d('0x3acb')+_0x477d('0x3a2c')+_0x477d('0x3a2d')+_0x477d('0x3a2e')+_0x477d('0x3acc')+_0x477d('0x3acd')+_0x477d('0x3a30')+_0x477d('0x3ace')+_0x477d('0x3a31')+_0x477d('0x3a32')+_0x477d('0x3a2c')+_0x477d('0x3acf')+_0x477d('0x3ad0')+_0x477d('0x3ad1')+_0x477d('0x3ad2')+_0x477d('0x3ad3')+_0x477d('0x3ad4')+_0x477d('0x3ad5')+_0x477d('0x3ad6')+_0x477d('0x3ad7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3947')+'\x0a'+_0x477d('0x3a45')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3adc')+'\x0a'+_0x477d('0x3add')+_0x477d('0x3ade')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Metric\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3a47')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4d')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3adf')+_0x477d('0x3ae0')+_0x477d('0x3ae1')+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3692')+'\x0a'+_0x477d('0x3693')+_0x477d('0x3939')+'\x0a'+'\x0a'+_0x477d('0x3a2c')+_0x477d('0x3a56')+_0x477d('0x3ae2')+_0x477d('0x3a57')+'\x0a'+_0x477d('0x3ae3')+_0x477d('0x3ae4')+_0x477d('0x3ae5')+_0x477d('0x3a59')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+_0x477d('0x3ae6')+'\x0a'+_0x477d('0x3699')+_0x477d('0x3a5a')+'\x0a'+_0x477d('0x3ae7')+_0x477d('0x3ae8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20metric\x22\x20translate\x20translate-attr-aria-label=\x22ANALYTICS.ADD_METRIC\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3735')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a');_0x143a79[_0x477d('0x390')]('app/main/apps/analytics/views/reports/copy/dialog.html','\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x3ae9')+_0x477d('0x3843')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3aea')+_0x477d('0x3aeb')+_0x477d('0x3aec')+_0x477d('0x3aed')+_0x477d('0x3aee')+_0x477d('0x36bf')+_0x477d('0x3aef')+_0x477d('0x3af0')+_0x477d('0x3674')+_0x477d('0x3670')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x0a'+_0x477d('0x3af1')+_0x477d('0x3af2')+_0x477d('0x39d2')+_0x477d('0x39d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3af3')+_0x477d('0x3af4')+_0x477d('0x3af5')+_0x477d('0x36c0')+_0x477d('0x3aea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3aec')+_0x477d('0x3aed')+_0x477d('0x3aee')+_0x477d('0x36bf')+_0x477d('0x3aef')+_0x477d('0x3af0')+_0x477d('0x3674')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3663')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3af6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x3669')+_0x477d('0x366a')+_0x477d('0x366b'));_0x143a79['put'](_0x477d('0xec4'),_0x477d('0x3af7')+_0x477d('0x3af8')+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x3aea')+_0x477d('0x3aeb')+_0x477d('0x3aec')+_0x477d('0x3aed')+_0x477d('0x3aee')+_0x477d('0x36bf')+_0x477d('0x3aef')+_0x477d('0x3af0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36c0')+_0x477d('0x383b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x0a'+_0x477d('0x3af9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x39d8')+_0x477d('0x36bf')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3afa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Table\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3afb')+_0x477d('0x36a0')+_0x477d('0x3afc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Table\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x383b')+_0x477d('0x3ab2')+_0x477d('0x3afd')+_0x477d('0x3afe')+_0x477d('0x39d2')+_0x477d('0x3aff')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3b00')+_0x477d('0x3b01')+_0x477d('0x3b02')+_0x477d('0x3b03')+_0x477d('0x3b04')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-min-length=\x220\x22\x0a'+_0x477d('0x3b05')+_0x477d('0x3b06')+_0x477d('0x3b07')+_0x477d('0x3b08')+_0x477d('0x3b09')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b0a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b0b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b0c')+_0x477d('0x3b0d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b0e')+_0x477d('0x36a9')+_0x477d('0x3b0f')+_0x477d('0x3b10')+_0x477d('0x3b11')+_0x477d('0x3832')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b12')+_0x477d('0x3b13')+_0x477d('0x3b14')+_0x477d('0x3b15')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{field}}\x0a'+_0x477d('0x3b15')+_0x477d('0x3b16')+_0x477d('0x3b17')+_0x477d('0x3b15')+_0x477d('0x3b18')+_0x477d('0x3b19')+'\x0a'+_0x477d('0x3aea')+_0x477d('0x3aeb')+_0x477d('0x3aec')+_0x477d('0x3aed')+_0x477d('0x3aee')+_0x477d('0x36bf')+_0x477d('0x3aef')+_0x477d('0x3af0')+_0x477d('0x3674')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x3663')+'\x0a'+_0x477d('0x3b1a')+_0x477d('0x3b1b')+_0x477d('0x3b1c')+_0x477d('0x387d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3b1d')+_0x477d('0x3b1e')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a16')+_0x477d('0x39e8')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3669')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3840'));_0x143a79['put'](_0x477d('0x3b1f'),_0x477d('0x3b20')+_0x477d('0x3b21')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Operator\x0a'+_0x477d('0x3b22')+_0x477d('0x3b23')+_0x477d('0x3b24')+_0x477d('0x3b25')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b26')+_0x477d('0x3b27')+_0x477d('0x3670')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b28')+_0x477d('0x3b29')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27ANALYTICS.CONDITION\x27\x20|\x20translate}}\x0a'+_0x477d('0x373e')+_0x477d('0x3b28')+_0x477d('0x3b2a')+_0x477d('0x3b2b')+_0x477d('0x373e')+_0x477d('0x3b2c')+_0x477d('0x3b2d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27ANALYTICS.GROUP\x27\x20|\x20translate}}\x0a'+_0x477d('0x373e')+_0x477d('0x3699')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3b2e')+_0x477d('0x3b2f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20COLUMN\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b30')+_0x477d('0x3b31')+_0x477d('0x3b32')+_0x477d('0x3b33')+_0x477d('0x3b31')+_0x477d('0x36a0')+_0x477d('0x3b34')+_0x477d('0x39d2')+_0x477d('0x3b35')+_0x477d('0x36bf')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b2f')+_0x477d('0x3b36')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{condition}}\x0a'+_0x477d('0x36a0')+_0x477d('0x3b37')+_0x477d('0x39d2')+_0x477d('0x3b38')+_0x477d('0x36bf')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b39')+_0x477d('0x3b3a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x3b3b')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x3b3c')+_0x477d('0x3b3d')+_0x477d('0x3a16')+_0x477d('0x387e')+_0x477d('0x36a1')+_0x477d('0x36e5')+_0x477d('0x3b3e')+'\x20\x20\x20\x20\x0a'+'');_0x143a79[_0x477d('0x390')](_0x477d('0xe6f'),_0x477d('0x3b3f')+_0x477d('0x3b40')+_0x477d('0x381e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.title}}\x0a'+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x3b41')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3aea')+_0x477d('0x3aeb')+_0x477d('0x3aec')+_0x477d('0x3aed')+_0x477d('0x3aee')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3af0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36c0')+_0x477d('0x383b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x0a'+_0x477d('0x3b42')+_0x477d('0x3b43')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Select\x20an\x20existing\x20metric\x0a'+_0x477d('0x3b44')+_0x477d('0x36a0')+_0x477d('0x3b45')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b46')+_0x477d('0x3b47')+_0x477d('0x3b48')+_0x477d('0x3b49')+_0x477d('0x3b4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{column}}\x0a'+_0x477d('0x3b4b')+_0x477d('0x3b4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b4d')+_0x477d('0x3b4c')+_0x477d('0x3b15')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x399e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Column\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36bf')+_0x477d('0x39a2')+_0x477d('0x3b4e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Metric\x20Name\x0a'+_0x477d('0x3b4f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{metric.name}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b50')+_0x477d('0x399e')+_0x477d('0x3b51')+_0x477d('0x36a9')+_0x477d('0x36bf')+_0x477d('0x39a2')+_0x477d('0x3b52')+_0x477d('0x3b53')+_0x477d('0x3b54')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x399e')+_0x477d('0x3b55')+_0x477d('0x36a9')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b56')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b57')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Alias\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x3b58')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Function\x0a'+_0x477d('0x3b59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Function\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{function.value}}\x0a'+_0x477d('0x36a0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b58')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Format\x0a'+_0x477d('0x3b5a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Format\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{format.value}}\x0a'+_0x477d('0x36a0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x383b')+_0x477d('0x3b5b')+_0x477d('0x3b5c')+_0x477d('0x3b5d')+_0x477d('0x36a0')+_0x477d('0x36a1')+_0x477d('0x383b')+_0x477d('0x3b5e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Order\x0a'+_0x477d('0x3b5f')+_0x477d('0x36a0')+_0x477d('0x36a1')+_0x477d('0x3aea')+_0x477d('0x3aeb')+_0x477d('0x3aec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x36bf')+_0x477d('0x3aef')+_0x477d('0x3af0')+_0x477d('0x3674')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x3663')+'\x0a'+_0x477d('0x3b1a')+_0x477d('0x3b1b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387d')+_0x477d('0x387e')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b60')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b61')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39e8')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3669')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')]('app/main/apps/analytics/views/reports/edit/view.html','\x0a'+'\x0a'+_0x477d('0x39eb')+_0x477d('0x3b62')+_0x477d('0x3b63')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x387b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b64')+_0x477d('0x3670')+'\x0a'+_0x477d('0x38e8')+_0x477d('0x3b65')+_0x477d('0x3b66')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b67')+_0x477d('0x36bf')+_0x477d('0x3b68')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.report.description}}\x0a'+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3b69')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b6a')+_0x477d('0x372b')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x0a'+_0x477d('0x39f8')+'\x0a'+_0x477d('0x3a18')+_0x477d('0x3b6b')+'\x0a'+_0x477d('0x3b6c')+_0x477d('0x3b6d')+_0x477d('0x3b6e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SETTINGS\x0a'+_0x477d('0x3b6f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b70')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b71')+_0x477d('0x36a9')+_0x477d('0x3b72')+_0x477d('0x3b73')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x0a'+_0x477d('0x3b74')+_0x477d('0x3b75')+_0x477d('0x3859')+_0x477d('0x3b76')+_0x477d('0x385b')+_0x477d('0x385c')+_0x477d('0x3867')+_0x477d('0x3b73')+_0x477d('0x3b77')+_0x477d('0x3b78')+_0x477d('0x3b79')+_0x477d('0x3859')+_0x477d('0x3b7a')+_0x477d('0x385b')+_0x477d('0x385c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36bf')+_0x477d('0x3b7b')+_0x477d('0x3b7c')+_0x477d('0x3b6d')+_0x477d('0x3b6e')+_0x477d('0x3b7d')+_0x477d('0x3b6f')+'\x0a'+_0x477d('0x3b7e')+_0x477d('0x3b7f')+_0x477d('0x3b80')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b81')+_0x477d('0x3b82')+_0x477d('0x3b83')+_0x477d('0x3b84')+_0x477d('0x3b85')+_0x477d('0x3b86')+_0x477d('0x3b87')+_0x477d('0x3b88')+_0x477d('0x3b86')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b89')+_0x477d('0x3b86')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x385b')+_0x477d('0x3b8a')+_0x477d('0x3b8b')+_0x477d('0x3b8c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3691')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b8d')+_0x477d('0x3b8e')+_0x477d('0x3b81')+_0x477d('0x3b8f')+_0x477d('0x3b8a')+_0x477d('0x3b90')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x385c')+_0x477d('0x3b8d')+_0x477d('0x3b91')+_0x477d('0x3b92')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b93')+_0x477d('0x3b94')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b95')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Column\x20or\x20Metric\x0a'+_0x477d('0x3b96')+_0x477d('0x3b97')+_0x477d('0x3b98')+_0x477d('0x3b99')+_0x477d('0x3b9a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b9b')+_0x477d('0x3b9c')+_0x477d('0x3b9d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b9e')+_0x477d('0x3b9f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ba0')+_0x477d('0x3ba1')+_0x477d('0x3ba2')+_0x477d('0x3ba3')+_0x477d('0x3ba4')+_0x477d('0x3ba5')+_0x477d('0x3ba6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{reportField.function}}--\x0a'+_0x477d('0x3ba7')+_0x477d('0x3ba8')+_0x477d('0x3ba9')+_0x477d('0x3baa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3bab')+_0x477d('0x3bac')+_0x477d('0x3bad')+'\x0a'+_0x477d('0x3bae')+_0x477d('0x3baf')+_0x477d('0x3bb0')+_0x477d('0x3bb1')+_0x477d('0x3bb2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3baf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3bb3')+_0x477d('0x3bb2')+_0x477d('0x3bb4')+_0x477d('0x3bb5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ba4')+_0x477d('0x3b9b')+_0x477d('0x3bb6')+_0x477d('0x3bb7')+_0x477d('0x3bb8')+_0x477d('0x36a9')+_0x477d('0x36bf')+_0x477d('0x3b7b')+_0x477d('0x3b7c')+_0x477d('0x3b6d')+_0x477d('0x3b6e')+_0x477d('0x3bb9')+_0x477d('0x3b6f')+'\x0a'+_0x477d('0x3b7e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3bba')+_0x477d('0x3bbb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3bbc')+_0x477d('0x3bbd')+_0x477d('0x3bbe')+_0x477d('0x36a9')+_0x477d('0x36bf')+_0x477d('0x3b7b')+_0x477d('0x3b7c')+_0x477d('0x3bbf')+_0x477d('0x3b6e')+_0x477d('0x3bc0')+_0x477d('0x3b6f')+'\x0a'+_0x477d('0x3b7e')+_0x477d('0x3bc1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3bc2')+_0x477d('0x3bc3')+_0x477d('0x36a9')+_0x477d('0x3bc4')+_0x477d('0x3bc5')+_0x477d('0x3bc6')+_0x477d('0x3bc7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
{{vm.error.msg}}
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3bc8')+_0x477d('0x3bc9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3bca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{column.alias\x20||\x20column.field}}\x0a'+_0x477d('0x3bcb')+_0x477d('0x3bcc')+_0x477d('0x3bcd')+_0x477d('0x3bce')+_0x477d('0x3bcf')+_0x477d('0x3bcb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3bd0')+_0x477d('0x3bcb')+_0x477d('0x3bd1')+_0x477d('0x3bd2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x36bf')+_0x477d('0x3b7b')+_0x477d('0x3b7c')+_0x477d('0x3bd3')+_0x477d('0x3b6e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Query\x0a'+_0x477d('0x3b6f')+'\x0a'+_0x477d('0x3b7e')+_0x477d('0x3bc1')+_0x477d('0x3bd4')+_0x477d('0x3bc2')+_0x477d('0x3bd5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3bc4')+_0x477d('0x3bc5')+_0x477d('0x3bc6')+_0x477d('0x3bc7')+_0x477d('0x3bd6')+_0x477d('0x3bd7')+_0x477d('0x3bd8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.queryResult}}\x0a'+_0x477d('0x36a9')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3bd9')+'\x0a'+_0x477d('0x3699')+_0x477d('0x3a5a')+'\x0a'+_0x477d('0x377d'));_0x143a79[_0x477d('0x390')](_0x477d('0xeb2'),'\x0a'+_0x477d('0x3af8')+_0x477d('0x381e')+_0x477d('0x365d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Preview\x20Report\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3aeb')+_0x477d('0x3aec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x3aee')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3af0')+_0x477d('0x3674')+_0x477d('0x3670')+_0x477d('0x36c0')+_0x477d('0x3af3')+_0x477d('0x3bda')+_0x477d('0x3bdb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20LIMITED\x20RESULT\x0a'+_0x477d('0x3670')+_0x477d('0x3bdc')+_0x477d('0x3bdd')+_0x477d('0x3bde')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Message\x0a'+_0x477d('0x3bdf')+_0x477d('0x3be0')+_0x477d('0x3be1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3be2')+_0x477d('0x3be3')+_0x477d('0x3be4')+_0x477d('0x3be5')+_0x477d('0x3be6')+_0x477d('0x3be7')+_0x477d('0x3be8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.valueReplacer(key,\x20value)\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3be9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NO\x20DATA\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3bea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3beb')+_0x477d('0x36c0')+_0x477d('0x3aea')+_0x477d('0x3aeb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x3aee')+_0x477d('0x36bf')+_0x477d('0x3aef')+_0x477d('0x3af0')+_0x477d('0x3674')+_0x477d('0x3670')+_0x477d('0x36c0')+_0x477d('0x3663')+'\x0a'+_0x477d('0x3b1a')+_0x477d('0x3bec')+_0x477d('0x3bed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CLOSE\x0a'+_0x477d('0x372b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')]('app/main/apps/analytics/views/reports/reports.html',_0x477d('0x3bee')+'\x0a'+_0x477d('0x39eb')+_0x477d('0x3bef')+'\x0a'+_0x477d('0x3abc')+_0x477d('0x37cd')+_0x477d('0x39ec')+_0x477d('0x39ed')+_0x477d('0x3abd')+_0x477d('0x3760')+_0x477d('0x3bf0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x36e5')+_0x477d('0x39ef')+_0x477d('0x3699')+_0x477d('0x39f8')+'\x0a'+_0x477d('0x39f9')+_0x477d('0x3bf1')+_0x477d('0x3bf2')+'\x0a'+_0x477d('0x3bf3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Back\x0a'+_0x477d('0x372b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39ff')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3bf4')+_0x477d('0x3a03')+_0x477d('0x3760')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3bf5')+_0x477d('0x3bf6')+_0x477d('0x3a08')+_0x477d('0x3674')+_0x477d('0x3a09')+_0x477d('0x3a0a')+_0x477d('0x3bf7')+_0x477d('0x3a0c')+_0x477d('0x3832')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a0a')+_0x477d('0x3bf8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Select\x20none\x0a'+_0x477d('0x3832')+_0x477d('0x3a0f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3bf9')+_0x477d('0x3bfa')+_0x477d('0x3a13')+_0x477d('0x3a14')+_0x477d('0x3bfb')+_0x477d('0x3bfc')+_0x477d('0x3bfd')+_0x477d('0x3a16')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x3699')+_0x477d('0x3a17')+'\x0a'+_0x477d('0x3a18')+_0x477d('0x3a19')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3bfe')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3bff')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3c00')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3c01')+_0x477d('0x3c02')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-model-options=\x22{\x20debounce:\x201000\x20}\x22\x20translate\x0a'+_0x477d('0x3c03')+_0x477d('0x3c04')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b19')+_0x477d('0x3c05')+_0x477d('0x3c06')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20tree=\x22vm.treeDefaultInstance\x22>\x0a'+_0x477d('0x3b19')+_0x477d('0x3c05')+_0x477d('0x3c07')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20tree=\x22vm.treeCustomInstance\x22>\x0a'+_0x477d('0x3b19')+_0x477d('0x36e5')+_0x477d('0x3c08')+_0x477d('0x3c09')+_0x477d('0x3c0a')+_0x477d('0x3c0b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3c0c')+_0x477d('0x37ac')+_0x477d('0x3c0d')+_0x477d('0x3c0e')+_0x477d('0x3c0f')+_0x477d('0x3c10')+_0x477d('0x3c11')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22import\x20report\x22\x20translate\x20translate-attr-label=\x22ANALYTICS.IMPORT_REPORT\x22\x0a'+_0x477d('0x3c12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3947')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3c15')+_0x477d('0x3c16')+_0x477d('0x3c17')+_0x477d('0x3c18')+_0x477d('0x3c19')+_0x477d('0x3c1a')+_0x477d('0x3c1b')+_0x477d('0x3c1c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3c1d')+_0x477d('0x3c1e')+_0x477d('0x3acd')+_0x477d('0x3c1f')+_0x477d('0x3c20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a32')+_0x477d('0x3c1c')+_0x477d('0x3c21')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3c30')+_0x477d('0x3c31')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3c3a')+_0x477d('0x3c3b')+_0x477d('0x3c3c')+_0x477d('0x3c3d')+_0x477d('0x3c3e')+_0x477d('0x3c3f')+_0x477d('0x3c40')+_0x477d('0x3c34')+_0x477d('0x3c30')+'\x0a'+_0x477d('0x3c41')+_0x477d('0x3c42')+_0x477d('0x3c43')+_0x477d('0x3c44')+_0x477d('0x3c34')+_0x477d('0x3c30')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3c45')+_0x477d('0x3a32')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3c46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-label=\x22{page:\x20\x27{{\x27ANALYTICS.PAGE\x27\x20|\x20translate}}:\x27,\x20rowsPerPage:\x20\x27{{\x27ANALYTICS.ROWSPERPAGE\x27\x20|\x20translate}}:\x27,\x20of:\x20\x27{{\x27ANALYTICS.OF\x27\x20|\x20translate}}\x27}\x22\x0a'+_0x477d('0x3c47')+_0x477d('0x3c48')+_0x477d('0x3c49')+_0x477d('0x3ae6')+'\x0a'+_0x477d('0x3699')+_0x477d('0x3a5a')+'\x0a'+_0x477d('0x3c4a')+'');_0x143a79[_0x477d('0x390')](_0x477d('0x3c4b'),_0x477d('0x3c4c')+_0x477d('0x3af8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x365d')+_0x477d('0x3c4d')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39c2')+_0x477d('0x3aea')+_0x477d('0x3aeb')+_0x477d('0x3aec')+_0x477d('0x3aed')+_0x477d('0x3aee')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3af0')+_0x477d('0x3674')+_0x477d('0x3670')+_0x477d('0x36c0')+_0x477d('0x383b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x0a'+_0x477d('0x3c4e')+_0x477d('0x3af2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d8')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x383b')+_0x477d('0x3c4f')+_0x477d('0x3c50')+_0x477d('0x3c51')+_0x477d('0x3c52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PDF\x0a'+_0x477d('0x3c53')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3c54')+_0x477d('0x39d2')+_0x477d('0x3c55')+_0x477d('0x36bf')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3c56')+_0x477d('0x3c57')+_0x477d('0x3c58')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3c59')+_0x477d('0x3c5a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3c5b')+_0x477d('0x382a')+_0x477d('0x3c5c')+_0x477d('0x3c5d')+_0x477d('0x382a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3c5e')+_0x477d('0x3670')+_0x477d('0x3c57')+_0x477d('0x3c5f')+_0x477d('0x3c60')+_0x477d('0x3c59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Date\x20Range\x20From\x20field\x20is\x20required\x0a'+_0x477d('0x382a')+_0x477d('0x3c61')+_0x477d('0x3c62')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3c63')+_0x477d('0x3c64')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a9')+_0x477d('0x3c5e')+_0x477d('0x3670')+_0x477d('0x36c0')+_0x477d('0x3c56')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3c65')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3c66')+_0x477d('0x382a')+_0x477d('0x3c61')+_0x477d('0x3c67')+_0x477d('0x382a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3c68')+_0x477d('0x3670')+_0x477d('0x3c57')+_0x477d('0x3c69')+_0x477d('0x3c6a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3c6b')+_0x477d('0x382a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3c6c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a9')+_0x477d('0x3c68')+_0x477d('0x3670')+_0x477d('0x36c0')+'\x0a'+_0x477d('0x3aea')+_0x477d('0x3aeb')+_0x477d('0x3aec')+_0x477d('0x3aed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3af0')+_0x477d('0x3674')+_0x477d('0x3670')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387b')+_0x477d('0x3c6d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RUN\x20REPORT\x0a'+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3c56')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3c6e')+_0x477d('0x3c6f')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3669')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0xef0'),_0x477d('0x3c70')+_0x477d('0x3af8')+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x3c71')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x3661')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3aeb')+_0x477d('0x3aec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x3aee')+_0x477d('0x36bf')+_0x477d('0x3aef')+_0x477d('0x3af0')+_0x477d('0x3674')+_0x477d('0x3670')+_0x477d('0x36c0')+_0x477d('0x3af3')+_0x477d('0x3bda')+_0x477d('0x3bdb')+_0x477d('0x3670')+_0x477d('0x3bdc')+_0x477d('0x3bdd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
{{vm.error.sql}}
\x0a'+_0x477d('0x3c72')+_0x477d('0x3bdf')+_0x477d('0x3be0')+_0x477d('0x3be1')+_0x477d('0x3c73')+_0x477d('0x3be2')+_0x477d('0x3be3')+_0x477d('0x3be4')+_0x477d('0x3be5')+_0x477d('0x3be6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3c74')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.valueReplacer(key,\x20value)\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3c75')+_0x477d('0x3c76')+_0x477d('0x3c77')+_0x477d('0x3c78')+_0x477d('0x385b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3be5')+_0x477d('0x3bea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3beb')+'\x0a'+_0x477d('0x3c79')+_0x477d('0x3c7a')+_0x477d('0x36c0')+_0x477d('0x3aea')+_0x477d('0x3aeb')+_0x477d('0x3aec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x3aee')+_0x477d('0x36bf')+_0x477d('0x3aef')+_0x477d('0x3af0')+_0x477d('0x3674')+_0x477d('0x3670')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3bec')+_0x477d('0x3bed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CLOSE\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3669')+_0x477d('0x366a')+_0x477d('0x366b'));_0x143a79[_0x477d('0x390')](_0x477d('0xf0d'),_0x477d('0x3c7b')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x365d')+_0x477d('0x39c1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x38ad')+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39c7')+_0x477d('0x3c7c')+_0x477d('0x3c7d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x3c7e')+_0x477d('0x39d2')+_0x477d('0x3c7f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DSN\x0a'+_0x477d('0x3c80')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x3c81')+_0x477d('0x3c82')+_0x477d('0x39d2')+_0x477d('0x3c83')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x0a'+_0x477d('0x3c84')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x3c85')+_0x477d('0x39d2')+_0x477d('0x3c86')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x3ab5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387b')+_0x477d('0x3c87')+_0x477d('0x39de')+_0x477d('0x3c88')+_0x477d('0x3c89')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3c8a')+_0x477d('0x3c8b')+_0x477d('0x3c8c')+_0x477d('0x3c8d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20ODBC\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x39e5')+_0x477d('0x3c8e')+_0x477d('0x3c8f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x39e9')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79['put'](_0x477d('0x3c90'),'\x0a'+'\x0a'+_0x477d('0x39eb')+_0x477d('0x3bef')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x37cd')+_0x477d('0x39ec')+_0x477d('0x39ed')+_0x477d('0x3c91')+_0x477d('0x3760')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ODBC\x0a'+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39f0')+_0x477d('0x39f1')+_0x477d('0x39f2')+_0x477d('0x39f3')+_0x477d('0x39f4')+_0x477d('0x39f5')+_0x477d('0x3abf')+_0x477d('0x3c92')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x39f7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3699')+_0x477d('0x39f8')+'\x0a'+_0x477d('0x39f9')+_0x477d('0x3c93')+_0x477d('0x39fa')+'\x0a'+_0x477d('0x3c94')+_0x477d('0x39fc')+_0x477d('0x39fd')+_0x477d('0x3c95')+_0x477d('0x372b')+_0x477d('0x36e5')+'\x0a'+_0x477d('0x39ff')+'\x0a'+_0x477d('0x3a00')+_0x477d('0x3c96')+_0x477d('0x3c97')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20selected\x0a'+_0x477d('0x3760')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a04')+_0x477d('0x3a05')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22multi\x20select\x20toggle\x22\x0a'+_0x477d('0x3c98')+_0x477d('0x3a08')+_0x477d('0x3674')+_0x477d('0x3a09')+_0x477d('0x3a0a')+_0x477d('0x3c99')+_0x477d('0x3a0c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a0a')+_0x477d('0x3c9a')+_0x477d('0x3a0e')+_0x477d('0x3832')+_0x477d('0x3a0f')+_0x477d('0x3a10')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+'\x0a'+_0x477d('0x3ac4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a13')+_0x477d('0x3a14')+_0x477d('0x3c9b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22CALLYSQUARE.DELETE_SELECTED\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x382a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3699')+_0x477d('0x3a17')+'\x0a'+_0x477d('0x3a18')+_0x477d('0x3a19')+'\x0a'+_0x477d('0x3a1a')+_0x477d('0x3ac6')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3c9c')+_0x477d('0x3a1d')+_0x477d('0x3a1e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3c9d')+_0x477d('0x3a21')+_0x477d('0x3a22')+_0x477d('0x3c9e')+_0x477d('0x3c9f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CALLYSQUARE.DSN\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CALLYSQUARE.DESCRIPTION\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x3acb')+_0x477d('0x3a2c')+_0x477d('0x3a2d')+_0x477d('0x3a2e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3acd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a2c')+_0x477d('0x3ca0')+_0x477d('0x3ca1')+_0x477d('0x3ca2')+_0x477d('0x3ca3')+_0x477d('0x3ca4')+_0x477d('0x3ca5')+_0x477d('0x3ca6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a45')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3adc')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3cac')+_0x477d('0x3cad')+_0x477d('0x3cae')+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3caf')+'\x0a'+_0x477d('0x3cb0')+_0x477d('0x3cb1')+_0x477d('0x3cb2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3692')+'\x0a'+_0x477d('0x3693')+_0x477d('0x3939')+'\x0a'+'\x0a'+_0x477d('0x3a2c')+_0x477d('0x3a56')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a57')+'\x0a'+_0x477d('0x3cb3')+_0x477d('0x3ae4')+_0x477d('0x3cb4')+_0x477d('0x3a59')+'\x0a'+_0x477d('0x3cb5')+_0x477d('0x36e5')+_0x477d('0x3ae6')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3a5a')+'\x0a'+_0x477d('0x3cb6')+_0x477d('0x3cb7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20odbc\x22\x20translate\x20translate-attr-aria-label=\x22CALLYSQUARE.ADD_ODBC\x22>\x0a'+_0x477d('0x3cb8')+_0x477d('0x3735')+_0x477d('0x3cb9')+'\x20\x20\x20\x20\x0a');_0x143a79['put'](_0x477d('0x1199'),_0x477d('0x3cba')+_0x477d('0x3cbb')+_0x477d('0x381e')+_0x477d('0x365d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.title\x20|\x20translate}}\x0a'+_0x477d('0x3843')+_0x477d('0x3844')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3660')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3aeb')+_0x477d('0x3aec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x3aee')+_0x477d('0x36bf')+_0x477d('0x3aef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3674')+_0x477d('0x3670')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3c7c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3cbc')+_0x477d('0x39d2')+_0x477d('0x3c7f')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3cbd')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x383b')+_0x477d('0x3cbe')+_0x477d('0x3cbf')+_0x477d('0x3cc0')+_0x477d('0x39d2')+_0x477d('0x3c86')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3cc1')+_0x477d('0x3cc2')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3aeb')+_0x477d('0x3aec')+_0x477d('0x3aed')+_0x477d('0x3aee')+_0x477d('0x36bf')+_0x477d('0x3aef')+_0x477d('0x3af0')+_0x477d('0x3674')+_0x477d('0x3670')+_0x477d('0x36c0')+_0x477d('0x3663')+'\x0a'+_0x477d('0x3b1a')+_0x477d('0x3b1b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x477d('0x387e')+'\x0a'+_0x477d('0x3cc3')+_0x477d('0x3cc4')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3c56')+_0x477d('0x3cc5')+_0x477d('0x3a16')+_0x477d('0x3cc6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3669')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x1198'),'\x0a'+_0x477d('0x3cc7')+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x3cc8')+_0x477d('0x3843')+_0x477d('0x3844')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x3660')+_0x477d('0x39c2')+_0x477d('0x3cc9')+_0x477d('0x3cca')+'\x0a'+_0x477d('0x3ccb')+_0x477d('0x3ccc')+_0x477d('0x3ccd')+_0x477d('0x3cce')+_0x477d('0x3ccf')+_0x477d('0x3cd0')+_0x477d('0x36a0')+_0x477d('0x3cd1')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3cd2')+_0x477d('0x3cd3')+_0x477d('0x3b31')+_0x477d('0x3cd4')+_0x477d('0x3cd5')+_0x477d('0x3b31')+_0x477d('0x3cd6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{v.option}}\x0a'+_0x477d('0x3b31')+_0x477d('0x3cd0')+_0x477d('0x36a0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3cd7')+_0x477d('0x3cd8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3cd9')+_0x477d('0x3cda')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3cdb')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x3cdc')+_0x477d('0x3cdd')+_0x477d('0x3cde')+_0x477d('0x3cdf')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ce0')+_0x477d('0x3ce1')+'\x0a'+_0x477d('0x3ce2')+_0x477d('0x3ce3')+_0x477d('0x3ce4')+_0x477d('0x39d6')+_0x477d('0x3ce5')+_0x477d('0x3ce6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Max\x20250\x20chars\x20are\x20supported\x0a'+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3ce7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x3ce8')+_0x477d('0x39d2')+_0x477d('0x3ce9')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x3663')+'\x0a'+_0x477d('0x3cea')+_0x477d('0x387b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387d')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3840'));_0x143a79['put'](_0x477d('0x11a1'),_0x477d('0x3ceb')+_0x477d('0x3cec')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3ced')+_0x477d('0x3cee')+_0x477d('0x3cef')+_0x477d('0x3cf0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3cf1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3cf2')+_0x477d('0x3cf3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3cf4')+_0x477d('0x3cf5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+_0x477d('0x380f')+_0x477d('0x3cf6')+_0x477d('0x3cf7')+_0x477d('0x3cf8')+_0x477d('0x3cf9')+_0x477d('0x3cf1')+_0x477d('0x3cfa')+_0x477d('0x3cf2')+_0x477d('0x3cf3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3cfb')+_0x477d('0x3cf4')+_0x477d('0x3cf5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+_0x477d('0x380f')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3cfc')+_0x477d('0x380c')+_0x477d('0x3cfd')+_0x477d('0x3cfe')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3cff')+_0x477d('0x3d00')+'\x0a');_0x143a79[_0x477d('0x390')](_0x477d('0x11a3'),_0x477d('0x3ceb')+_0x477d('0x3d01')+_0x477d('0x3d02')+_0x477d('0x3ced')+_0x477d('0x3d03')+_0x477d('0x3cef')+_0x477d('0x3cf0')+_0x477d('0x36dc')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x392e')+_0x477d('0x3d04')+_0x477d('0x3cf1')+_0x477d('0x3cfa')+_0x477d('0x3cf2')+_0x477d('0x3cf3')+_0x477d('0x3cfb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3cf5')+_0x477d('0x3d05')+_0x477d('0x36e5')+_0x477d('0x380f')+_0x477d('0x3d06')+_0x477d('0x3d07')+'\x0a'+_0x477d('0x3d08')+_0x477d('0x3d09')+_0x477d('0x380f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3d0a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Upload\x0a'+_0x477d('0x36dc')+'\x20\x20\x20\x20\x20\x20\x20\x20You\x20can\x20also\x20drop\x20files\x20here\x20to\x20upload.\x20Only\x20XML\x20-\x20Max.\x205MB\x0a'+_0x477d('0x380f')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3d0b')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b69')+_0x477d('0x3d0c')+_0x477d('0x36e5')+_0x477d('0x3d0d')+_0x477d('0x3d0e')+_0x477d('0x36dc')+_0x477d('0x380f')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3d0f')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3d10')+_0x477d('0x3d11')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x380f')+_0x477d('0x3cff')+_0x477d('0x3d00')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')]('app/main/apps/callysquare/views/projects/edit/info/info.html',_0x477d('0x3ceb')+'\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3d12')+_0x477d('0x3cef')+_0x477d('0x3cf0')+_0x477d('0x36dc')+_0x477d('0x380f')+_0x477d('0x392e')+_0x477d('0x3d04')+_0x477d('0x3cf1')+_0x477d('0x3cfa')+_0x477d('0x3cf2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x3d13')+_0x477d('0x3cfb')+_0x477d('0x3cf4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3d05')+_0x477d('0x36e5')+_0x477d('0x380f')+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20Description\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3cf9')+_0x477d('0x3cf6')+_0x477d('0x3d14')+_0x477d('0x3d15')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3cf1')+_0x477d('0x3cfa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x3cf3')+_0x477d('0x3d13')+_0x477d('0x3cfb')+_0x477d('0x3cf4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3d05')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x3d0f')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3d16')+_0x477d('0x3d17')+_0x477d('0x36dc')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3cff')+_0x477d('0x3d00')+'\x0a');_0x143a79[_0x477d('0x390')](_0x477d('0x3d18'),_0x477d('0x3ceb')+_0x477d('0x3d19')+_0x477d('0x3d02')+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3cf0')+_0x477d('0x36dc')+_0x477d('0x380f')+_0x477d('0x392e')+_0x477d('0x3d04')+_0x477d('0x3cf1')+_0x477d('0x3cfa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x3cf4')+_0x477d('0x3cf5')+_0x477d('0x3d05')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x380f')+_0x477d('0x3cf6')+_0x477d('0x3d1a')+_0x477d('0x3d1b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{p.name}}\x0a'+_0x477d('0x3888')+_0x477d('0x3d1c')+_0x477d('0x3d1d')+_0x477d('0x3d1e')+_0x477d('0x3cfb')+_0x477d('0x36e5')+_0x477d('0x3cf9')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3d1f')+_0x477d('0x3cf9')+_0x477d('0x3cf1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x3cf3')+_0x477d('0x3d13')+_0x477d('0x3cfb')+_0x477d('0x3cf4')+_0x477d('0x3cf5')+_0x477d('0x3d05')+'\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x380f')+_0x477d('0x3d0f')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x380c')+_0x477d('0x3d20')+_0x477d('0x3d21')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3cff')+'\x20\x20\x0a'+'\x0a');_0x143a79['put']('app/main/apps/callysquare/views/projects/edit/permissionadd/permissionadd.html',_0x477d('0x3d22')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3d23')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3d24')+_0x477d('0x3d25')+_0x477d('0x3843')+_0x477d('0x3844')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3660')+_0x477d('0x3661')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3663')+'\x20\x20\x20\x20\x0a'+'');_0x143a79[_0x477d('0x390')](_0x477d('0x3d26'),'\x0a'+'\x20\x20\x0a'+_0x477d('0x3d02')+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3cef')+_0x477d('0x3cf0')+_0x477d('0x36dc')+_0x477d('0x380f')+_0x477d('0x392e')+_0x477d('0x3d04')+_0x477d('0x3cf1')+_0x477d('0x3cfa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x3cf3')+_0x477d('0x3d13')+_0x477d('0x3cfb')+_0x477d('0x3cf4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3d05')+_0x477d('0x36e5')+_0x477d('0x380f')+_0x477d('0x3cf6')+_0x477d('0x3d27')+_0x477d('0x3d28')+_0x477d('0x3d29')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a'+_0x477d('0x3cfb')+_0x477d('0x36e5')+_0x477d('0x3cf9')+_0x477d('0x3cf6')+_0x477d('0x3d1f')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3cf1')+_0x477d('0x3cfa')+_0x477d('0x3cf2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x3d13')+_0x477d('0x3cfb')+_0x477d('0x3cf4')+_0x477d('0x3cf5')+_0x477d('0x3d05')+_0x477d('0x36e5')+_0x477d('0x380f')+_0x477d('0x3d0f')+'\x0a'+_0x477d('0x3cfc')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3d2a')+_0x477d('0x3d2b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x0a'+'\x0a');_0x143a79[_0x477d('0x390')](_0x477d('0x97'),_0x477d('0x3d2c')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3b62')+_0x477d('0x3b63')+_0x477d('0x3d2d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x387b')+'\x0a'+_0x477d('0x3d2e')+_0x477d('0x3d2f')+_0x477d('0x3670')+'\x0a'+_0x477d('0x38e8')+_0x477d('0x3b65')+_0x477d('0x3d30')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3d31')+_0x477d('0x3d32')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x0a'+_0x477d('0x3d33')+_0x477d('0x3d34')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x372b')+_0x477d('0x36e5')+'\x0a'+_0x477d('0x3699')+_0x477d('0x39f8')+'\x0a'+_0x477d('0x3a18')+_0x477d('0x3d35')+'\x0a'+_0x477d('0x3d36')+'\x0a'+_0x477d('0x3d37')+_0x477d('0x3a5a')+'\x0a'+'\x0a');_0x143a79['put'](_0x477d('0x91'),_0x477d('0x3d38')+'\x0a'+_0x477d('0x39eb')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3abc')+_0x477d('0x37cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ed')+_0x477d('0x3d39')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3d3a')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39ef')+'\x0a'+_0x477d('0x3d3b')+_0x477d('0x3d3c')+_0x477d('0x3d3d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3d3e')+_0x477d('0x3d3f')+_0x477d('0x3d40')+_0x477d('0x36a1')+_0x477d('0x36e5')+_0x477d('0x3d41')+'\x0a'+_0x477d('0x3699')+_0x477d('0x39f8')+'\x0a'+_0x477d('0x39f9')+_0x477d('0x3d42')+'\x0a'+_0x477d('0x3d43')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39fd')+_0x477d('0x3c95')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+'\x0a'+_0x477d('0x39ff')+'\x0a'+_0x477d('0x3a00')+_0x477d('0x3d44')+_0x477d('0x3d45')+_0x477d('0x3d46')+_0x477d('0x3760')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3d47')+_0x477d('0x3a08')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a09')+_0x477d('0x3a0a')+_0x477d('0x3d48')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Select\x20all\x0a'+_0x477d('0x3832')+_0x477d('0x3a0f')+_0x477d('0x3a0a')+_0x477d('0x3d49')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Select\x20none\x0a'+_0x477d('0x3832')+_0x477d('0x3a0f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a11')+_0x477d('0x36c0')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3d4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a14')+_0x477d('0x3d4b')+_0x477d('0x3a16')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3a17')+'\x0a'+_0x477d('0x3a18')+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ac6')+'\x0a'+_0x477d('0x3d4c')+_0x477d('0x3a1d')+_0x477d('0x3d4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3d4e')+_0x477d('0x3be3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3d4f')+_0x477d('0x3d50')+_0x477d('0x3d51')+_0x477d('0x3d52')+_0x477d('0x3d53')+_0x477d('0x3be5')+_0x477d('0x3be6')+_0x477d('0x3be7')+_0x477d('0x3d54')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3d55')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3d56')+_0x477d('0x3d57')+_0x477d('0x3d58')+_0x477d('0x3d59')+_0x477d('0x3d5a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{project.notes}}\x0a'+_0x477d('0x3d5b')+_0x477d('0x3d5c')+_0x477d('0x3d5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3d5e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3d5f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Project\x0a'+_0x477d('0x3d60')+_0x477d('0x3d61')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3d62')+_0x477d('0x3d63')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3d61')+_0x477d('0x3d64')+_0x477d('0x3d65')+_0x477d('0x3d66')+_0x477d('0x3be5')+_0x477d('0x3bea')+_0x477d('0x3d67')+_0x477d('0x3beb')+'\x0a'+_0x477d('0x3d68')+_0x477d('0x3b19')+_0x477d('0x3d69')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3d6a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ae6')+'\x0a'+_0x477d('0x3699')+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3d6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3735')+_0x477d('0x3d6c')+'\x0a'+'\x0a');_0x143a79[_0x477d('0x390')]('app/main/apps/callysquare/views/squareRecordings/create/dialog.html',_0x477d('0x3d6d')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x365d')+_0x477d('0x39c1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3844')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+_0x477d('0x39c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x3d6e')+_0x477d('0x3d6f')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x3d70')+_0x477d('0x36bf')+_0x477d('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c3')+_0x477d('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387b')+_0x477d('0x3d71')+_0x477d('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22squareRecordingForm.$invalid\x20||\x20squareRecordingForm.$pristine\x22\x0a'+_0x477d('0x3c89')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x477d('0x39e1')+'\x0a'+_0x477d('0x3d72')+_0x477d('0x3c8b')+_0x477d('0x3d73')+_0x477d('0x3d74')+_0x477d('0x3d75')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3d76')+_0x477d('0x3c8f')+_0x477d('0x3a16')+_0x477d('0x3cc6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x39e9')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')]('app/main/apps/callysquare/views/squareRecordings/squareRecordings.html',_0x477d('0x3d77')+'\x0a'+_0x477d('0x39eb')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3abc')+_0x477d('0x37cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ed')+_0x477d('0x3c91')+_0x477d('0x3760')+_0x477d('0x3d78')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39ef')+'\x0a'+_0x477d('0x39f0')+_0x477d('0x39f1')+_0x477d('0x39f2')+_0x477d('0x39f3')+_0x477d('0x39f4')+_0x477d('0x39f5')+_0x477d('0x3abf')+_0x477d('0x3c92')+_0x477d('0x39a2')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x3699')+_0x477d('0x39f8')+'\x0a'+_0x477d('0x39f9')+_0x477d('0x3d79')+_0x477d('0x39fa')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3c95')+_0x477d('0x372b')+_0x477d('0x36e5')+'\x0a'+_0x477d('0x39ff')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x3d7a')+_0x477d('0x3d7b')+_0x477d('0x3d7c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a04')+_0x477d('0x3a05')+_0x477d('0x3a06')+_0x477d('0x3c98')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3674')+_0x477d('0x3a09')+_0x477d('0x3a0a')+_0x477d('0x3d7d')+_0x477d('0x3a0c')+_0x477d('0x3832')+_0x477d('0x3a0f')+_0x477d('0x3a0a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a0e')+_0x477d('0x3832')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a10')+_0x477d('0x3a11')+_0x477d('0x36c0')+'\x0a'+_0x477d('0x3ac4')+_0x477d('0x3d7e')+_0x477d('0x3a13')+_0x477d('0x3a14')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a18')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a1a')+_0x477d('0x3ac6')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3d80')+_0x477d('0x3a1d')+_0x477d('0x3a1e')+_0x477d('0x3d81')+_0x477d('0x3d82')+_0x477d('0x3a21')+_0x477d('0x3a22')+_0x477d('0x3d83')+_0x477d('0x3d84')+_0x477d('0x3d85')+_0x477d('0x3d86')+_0x477d('0x3d87')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CALLYSQUARE.AUDIO\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x3d88')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a2c')+_0x477d('0x3a2d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3d89')+_0x477d('0x3d8a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a'+_0x477d('0x3a31')+_0x477d('0x3a32')+_0x477d('0x3a2c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3d8b')+_0x477d('0x3d8c')+_0x477d('0x3d8d')+_0x477d('0x3d8e')+_0x477d('0x3d8f')+_0x477d('0x3d90')+_0x477d('0x3d8f')+_0x477d('0x3d91')+_0x477d('0x3d8f')+_0x477d('0x3d92')+_0x477d('0x3d8f')+_0x477d('0x3d93')+_0x477d('0x3d94')+_0x477d('0x3d95')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3d96')+_0x477d('0x3d97')+_0x477d('0x3d98')+_0x477d('0x3d99')+_0x477d('0x3d9a')+_0x477d('0x3d9b')+_0x477d('0x3d9c')+_0x477d('0x3d9d')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3d9e')+_0x477d('0x3ca9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3947')+'\x0a'+_0x477d('0x3a45')+'\x0a'+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3d9f')+_0x477d('0x3da0')+_0x477d('0x3da1')+_0x477d('0x3a52')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3caf')+'\x0a'+_0x477d('0x3da2')+_0x477d('0x3da3')+_0x477d('0x3da4')+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3692')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x0a'+_0x477d('0x3a2c')+_0x477d('0x3a56')+_0x477d('0x3ae2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3da5')+_0x477d('0x3ae4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a59')+'\x0a'+_0x477d('0x3cb5')+_0x477d('0x36e5')+_0x477d('0x3ae6')+'\x0a'+_0x477d('0x3699')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3da6')+_0x477d('0x3699'));_0x143a79[_0x477d('0x390')](_0x477d('0xb4'),_0x477d('0x3da7')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3bef')+'\x0a'+_0x477d('0x3abc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ed')+_0x477d('0x3da8')+_0x477d('0x3760')+_0x477d('0x3da9')+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39f0')+_0x477d('0x39f1')+_0x477d('0x39f2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39f4')+_0x477d('0x39f5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39a2')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36bf')+_0x477d('0x3699')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39f9')+_0x477d('0x3daa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22>\x0a'+'\x0a'+_0x477d('0x3dab')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3dac')+_0x477d('0x372b')+'\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x0a'+_0x477d('0x39ff')+'\x0a'+_0x477d('0x3a00')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3dad')+_0x477d('0x3dae')+_0x477d('0x3760')+'\x0a'+_0x477d('0x3daf')+_0x477d('0x3a04')+_0x477d('0x3a05')+_0x477d('0x3a06')+_0x477d('0x3db0')+_0x477d('0x3a08')+_0x477d('0x3674')+_0x477d('0x3a09')+_0x477d('0x3a0a')+_0x477d('0x3db1')+_0x477d('0x3a0c')+_0x477d('0x3832')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a0a')+_0x477d('0x3db2')+_0x477d('0x3a0e')+_0x477d('0x3832')+_0x477d('0x3a0f')+_0x477d('0x3a10')+_0x477d('0x3a11')+_0x477d('0x36c0')+'\x0a'+_0x477d('0x3ac4')+_0x477d('0x3db3')+_0x477d('0x3a13')+_0x477d('0x3a14')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3db6')+_0x477d('0x3a21')+_0x477d('0x3a22')+_0x477d('0x3db7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.NAME\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.STRATEGY\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x3acb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a2d')+_0x477d('0x3a2e')+_0x477d('0x3db8')+_0x477d('0x3db9')+_0x477d('0x3a30')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a32')+_0x477d('0x3a2c')+_0x477d('0x3dba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3dbb')+_0x477d('0x3dbc')+_0x477d('0x3dbd')+_0x477d('0x3dbe')+_0x477d('0x3dbf')+_0x477d('0x3dc0')+_0x477d('0x3dc1')+'\x0a'+_0x477d('0x3a42')+'\x0a'+_0x477d('0x3a43')+'\x0a'+_0x477d('0x3d9e')+_0x477d('0x3dc2')+_0x477d('0x3a44')+_0x477d('0x3947')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3dc3')+_0x477d('0x3dc4')+_0x477d('0x3dc5')+_0x477d('0x3a52')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3a47')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3dc6')+'\x0a'+_0x477d('0x3dc7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22CHAT.TEAMADD_CHATQUEUE\x22>\x0a'+_0x477d('0x3dc8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3dc6')+'\x0a'+_0x477d('0x3dc9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22CHAT.AGENTADD_CHATQUEUE\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20agentadd\x20ChatQueue\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3caf')+'\x0a'+_0x477d('0x3dca')+_0x477d('0x3dcb')+_0x477d('0x3dcc')+_0x477d('0x3a52')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3dc6')+'\x0a'+_0x477d('0x3dcd')+_0x477d('0x3dce')+_0x477d('0x3dcf')+_0x477d('0x3a52')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3939')+'\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a56')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ae4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a59')+'\x0a'+_0x477d('0x3cb5')+_0x477d('0x36e5')+_0x477d('0x3ae6')+'\x0a'+_0x477d('0x3699')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3dd0')+_0x477d('0x3dd1')+_0x477d('0x3dd2')+_0x477d('0x3cb8')+_0x477d('0x3735')+_0x477d('0x3dd3')+_0x477d('0x3699'));_0x143a79[_0x477d('0x390')](_0x477d('0x1419'),_0x477d('0x3dd4')+_0x477d('0x3dd5')+_0x477d('0x381e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c1')+_0x477d('0x3843')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c3')+_0x477d('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x36e5')+_0x477d('0x39c7')+_0x477d('0x3dd6')+_0x477d('0x3dd7')+_0x477d('0x39ca')+_0x477d('0x3dd8')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x477d('0x3dd9')+_0x477d('0x3dda')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x3ddb')+_0x477d('0x3ddc')+_0x477d('0x39d2')+_0x477d('0x3ddd')+_0x477d('0x36bf')+_0x477d('0x3dde')+_0x477d('0x3ddf')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Strategy\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Beepall\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3de3')+_0x477d('0x39d2')+_0x477d('0x3de4')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent_Timeout\x0a'+_0x477d('0x3de5')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x221\x22\x20\x20\x20\x0a'+_0x477d('0x3de6')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x3de7')+_0x477d('0x39d2')+_0x477d('0x3de8')+_0x477d('0x36bf')+_0x477d('0x3de9')+_0x477d('0x3dea')+_0x477d('0x3deb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3dec')+_0x477d('0x3deb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x0a'+_0x477d('0x3ded')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x3dee')+_0x477d('0x39d2')+_0x477d('0x3def')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39dc')+_0x477d('0x387b')+_0x477d('0x3df0')+_0x477d('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22chatQueueForm.$invalid\x20||\x20chatQueueForm.$pristine\x22\x0a'+_0x477d('0x3df1')+_0x477d('0x39e0')+_0x477d('0x39e1')+'\x0a'+_0x477d('0x3df2')+_0x477d('0x3c8b')+_0x477d('0x3df3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22CHAT.ADD_CHATQUEUE\x22\x20translate-attr-aria-label=\x22CHAT.ADD_CHATQUEUE\x22>\x0a'+_0x477d('0x3df4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x39e5')+_0x477d('0x3df5')+_0x477d('0x3df6')+_0x477d('0x3a16')+_0x477d('0x3df7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x39e9')+_0x477d('0x366a')+'\x0a');_0x143a79[_0x477d('0x390')](_0x477d('0x120c'),_0x477d('0x3df8')+_0x477d('0x3df9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3dfa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Add\x20Agent\x20to\x20chatQueue\x0a'+_0x477d('0x3d25')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3844')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3660')+_0x477d('0x3661')+_0x477d('0x3dfb')+_0x477d('0x3663')+_0x477d('0x3dfc')+_0x477d('0x3dfd')+_0x477d('0x3dfe')+_0x477d('0x3b6a')+_0x477d('0x372b')+_0x477d('0x3669')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x11de'),_0x477d('0x3df8')+_0x477d('0x3df9')+_0x477d('0x3d23')+_0x477d('0x3dfa')+_0x477d('0x3dff')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3660')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3dfb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3dfc')+_0x477d('0x3dfd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b6a')+_0x477d('0x372b')+_0x477d('0x3669')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0xb9'),_0x477d('0x3e00')+'\x0a'+_0x477d('0x39eb')+_0x477d('0x3b62')+_0x477d('0x3b63')+_0x477d('0x3e01')+_0x477d('0x3e02')+_0x477d('0x3e03')+_0x477d('0x3e04')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x387b')+'\x0a'+_0x477d('0x3e05')+_0x477d('0x3e06')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x38e8')+_0x477d('0x3b65')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.chatQueue.id}}\x0a'+_0x477d('0x3e07')+_0x477d('0x36bf')+_0x477d('0x3b68')+_0x477d('0x3e08')+_0x477d('0x36bf')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+_0x477d('0x3ab5')+_0x477d('0x3e09')+_0x477d('0x3e0a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22md-fab\x20md-orange-500-bg\x20md-icon-button\x22\x0a'+_0x477d('0x3e0b')+_0x477d('0x3e0c')+_0x477d('0x3e0d')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3ab5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e0e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22md-fab\x20md-purple-500-bg\x20md-icon-button\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22agentadd\x22\x20\x20>\x0a'+_0x477d('0x3e0f')+_0x477d('0x3e10')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e11')+_0x477d('0x3d05')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3699')+_0x477d('0x39f8')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3b6c')+_0x477d('0x3e12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e13')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e14')+_0x477d('0x3e15')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e16')+_0x477d('0x385c')+_0x477d('0x3e17')+_0x477d('0x3e18')+_0x477d('0x3dd6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20must\x20be\x20valid\x20pattern\x20\x0a'+_0x477d('0x36bf')+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x3e1b')+_0x477d('0x3e1c')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x3de1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1e')+_0x477d('0x3e1f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3de2')+_0x477d('0x3aac')+_0x477d('0x3e20')+_0x477d('0x39d2')+_0x477d('0x3de4')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e21')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent_Timeout\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3de9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent_Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a'+_0x477d('0x3deb')+_0x477d('0x3e23')+_0x477d('0x3dec')+_0x477d('0x3deb')+_0x477d('0x3e24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3bef')+'\x0a'+_0x477d('0x3abc')+_0x477d('0x37cd')+_0x477d('0x39ec')+_0x477d('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3760')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ChatWebsites\x0a'+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ef')+'\x0a'+_0x477d('0x39f0')+_0x477d('0x39f1')+_0x477d('0x39f2')+_0x477d('0x39f3')+_0x477d('0x39f4')+_0x477d('0x39f5')+_0x477d('0x3abf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39a2')+_0x477d('0x36c0')+_0x477d('0x39f7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3e2d')+_0x477d('0x39fa')+'\x0a'+_0x477d('0x3e2e')+_0x477d('0x39fc')+_0x477d('0x39fd')+_0x477d('0x3dac')+_0x477d('0x372b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39ff')+'\x0a'+_0x477d('0x3a00')+_0x477d('0x3e2f')+_0x477d('0x3e30')+_0x477d('0x3dae')+_0x477d('0x3760')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a04')+_0x477d('0x3a05')+_0x477d('0x3a06')+_0x477d('0x3db0')+_0x477d('0x3a08')+_0x477d('0x3674')+_0x477d('0x3a09')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e31')+_0x477d('0x3a0c')+_0x477d('0x3832')+_0x477d('0x3a0f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e32')+_0x477d('0x3a0e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a0f')+_0x477d('0x3a10')+_0x477d('0x3a11')+_0x477d('0x36c0')+'\x0a'+_0x477d('0x3ac4')+_0x477d('0x3e33')+_0x477d('0x3a13')+_0x477d('0x3a14')+_0x477d('0x3e34')+_0x477d('0x3db4')+_0x477d('0x3a16')+_0x477d('0x387e')+_0x477d('0x382a')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a18')+_0x477d('0x3a19')+'\x0a'+_0x477d('0x3a1a')+_0x477d('0x3ac6')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e35')+_0x477d('0x3a1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e36')+_0x477d('0x3e37')+_0x477d('0x3a21')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3db7')+_0x477d('0x3e38')+_0x477d('0x3e39')+_0x477d('0x3e3a')+_0x477d('0x3e3b')+_0x477d('0x3e3c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a2c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e3d')+_0x477d('0x3e3e')+_0x477d('0x3a30')+_0x477d('0x3e3f')+_0x477d('0x3a31')+_0x477d('0x3a32')+_0x477d('0x3a2c')+_0x477d('0x3e40')+_0x477d('0x3e41')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{chatWebsite.name}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3d9e')+_0x477d('0x3dc2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3947')+'\x0a'+_0x477d('0x3a45')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3adc')+'\x0a'+_0x477d('0x3e48')+_0x477d('0x3e49')+_0x477d('0x3e4a')+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3dc6')+'\x0a'+_0x477d('0x3e4b')+_0x477d('0x3e4c')+_0x477d('0x3e4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3dc6')+'\x0a'+_0x477d('0x3e4e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22CHAT.OFFLINEMESSAGES_CHATWEBSITE\x22>\x0a'+_0x477d('0x3e4f')+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3939')+'\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a57')+'\x0a'+_0x477d('0x3e54')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e55')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3cb5')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3a5a')+'\x0a'+_0x477d('0x3e56')+_0x477d('0x3e57')+_0x477d('0x3e58')+_0x477d('0x3cb8')+_0x477d('0x3735')+_0x477d('0x3e59')+'\x20\x20\x20\x20\x0a');_0x143a79[_0x477d('0x390')](_0x477d('0x3e5a'),_0x477d('0x3e5b')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x365d')+_0x477d('0x39c1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39c7')+_0x477d('0x3dd6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x3e5d')+_0x477d('0x3e5e')+_0x477d('0x3e5f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x3e60')+_0x477d('0x36bf')+_0x477d('0x3e61')+_0x477d('0x3e62')+_0x477d('0x36bf')+_0x477d('0x39d9')+_0x477d('0x36a1')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MotionAddress\x0a'+_0x477d('0x3e63')+_0x477d('0x3e64')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x3e65')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MotionAddress\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3e66')+_0x477d('0x3e67')+_0x477d('0x36bf')+_0x477d('0x3e68')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MotionAddress\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x3e69')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d6')+_0x477d('0x3e6a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MotionProxy\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3e66')+_0x477d('0x3e6b')+_0x477d('0x36bf')+_0x477d('0x3e68')+_0x477d('0x3e6c')+_0x477d('0x36bf')+_0x477d('0x39d9')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x3e6d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e73')+_0x477d('0x3e74')+_0x477d('0x3e75')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x3e76')+_0x477d('0x3e77')+_0x477d('0x3e78')+_0x477d('0x3aac')+_0x477d('0x3e79')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Interval\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3e73')+_0x477d('0x3e7a')+_0x477d('0x3e7b')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x3e7c')+_0x477d('0x39d2')+_0x477d('0x3def')+_0x477d('0x36bf')+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ab5')+_0x477d('0x39c3')+_0x477d('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+_0x477d('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e7d')+_0x477d('0x39de')+_0x477d('0x3e7e')+_0x477d('0x3df1')+_0x477d('0x39e0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3e7f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x477d('0x3e80')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22CHAT.ADD_CHATWEBSITE\x22\x20translate-attr-aria-label=\x22CHAT.ADD_CHATWEBSITE\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20CHATWEBSITE\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x39e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3661')+_0x477d('0x3dfb')+_0x477d('0x3663')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3dfd')+_0x477d('0x3dfe')+_0x477d('0x3b6a')+_0x477d('0x372b')+_0x477d('0x3669')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x3e84'),_0x477d('0x3e5b')+'\x20\x20\x20\x20\x0a'+_0x477d('0x381e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39c7')+_0x477d('0x3e85')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e8a')+_0x477d('0x3e8b')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x220\x22\x20\x20\x20\x0a'+_0x477d('0x3de6')+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x3e8c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a'+_0x477d('0x3deb')+_0x477d('0x3e23')+_0x477d('0x3e8d')+_0x477d('0x3deb')+_0x477d('0x3e24')+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3663')+'\x0a'+_0x477d('0x3b1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3669')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x3e8f'),_0x477d('0x3e5b')+_0x477d('0x3e90')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c5')+_0x477d('0x39c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+_0x477d('0x39c7')+_0x477d('0x3e91')+_0x477d('0x3e92')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ce')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x3e93')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20accesskeyid\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20secretaccesskey\x0a'+_0x477d('0x3e94')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e95')+_0x477d('0x39d2')+_0x477d('0x3e96')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x3e97')+_0x477d('0x3e98')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x3de0')+_0x477d('0x3e99')+_0x477d('0x3a46')+_0x477d('0x3e9a')+_0x477d('0x3e9b')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>US\x20West\x20(Oregon)\x0a'+_0x477d('0x3e9c')+_0x477d('0x3a46')+_0x477d('0x3e9d')+_0x477d('0x3e9e')+_0x477d('0x3a46')+_0x477d('0x3e9f')+_0x477d('0x3aac')+_0x477d('0x3ea0')+_0x477d('0x39d2')+_0x477d('0x3ea1')+_0x477d('0x36bf')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e73')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20botname\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20botname\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20welcomemessage\x0a'+_0x477d('0x3ea2')+_0x477d('0x3ea3')+_0x477d('0x3ea4')+_0x477d('0x3ea5')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3ea6')+_0x477d('0x3ea7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x3670')+_0x477d('0x3867')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3b1a')+_0x477d('0x3b1b')+_0x477d('0x3ea8')+_0x477d('0x39de')+_0x477d('0x3e8e')+_0x477d('0x3df1')+_0x477d('0x39e0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x3669')+'\x20\x20\x20\x20\x0a'+'\x0a');_0x143a79[_0x477d('0x390')](_0x477d('0x3ea9'),_0x477d('0x3e5b')+_0x477d('0x3e90')+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39da')+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x39db')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+_0x477d('0x39c7')+_0x477d('0x3eaa')+_0x477d('0x3eab')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x3a5e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x3de0')+_0x477d('0x3eac')+_0x477d('0x3a46')+_0x477d('0x3ead')+_0x477d('0x3eae')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Always\x0a'+_0x477d('0x3aac')+_0x477d('0x3eaf')+_0x477d('0x39d2')+_0x477d('0x3eb0')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3e73')+_0x477d('0x3eb1')+_0x477d('0x3eb2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3eb3')+_0x477d('0x39ca')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Text\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x3670')+_0x477d('0x3867')+_0x477d('0x3eb4')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b1b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3669')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x3eb5'),_0x477d('0x3e5b')+'\x20\x20\x20\x20\x0a'+_0x477d('0x381e')+_0x477d('0x365d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c4')+_0x477d('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3eb6')+_0x477d('0x3eb7')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x3eb8')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Disposition\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3b1a')+_0x477d('0x3b1b')+_0x477d('0x3ea8')+_0x477d('0x39de')+_0x477d('0x3e8e')+_0x477d('0x3df1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x477d('0x39e1')+_0x477d('0x36c0')+_0x477d('0x3669')+_0x477d('0x366a')+'\x0a');_0x143a79[_0x477d('0x390')](_0x477d('0x3eb9'),_0x477d('0x3e5b')+_0x477d('0x3e90')+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x38ad')+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x3eba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ebb')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x3ebc')+_0x477d('0x3ebd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x3de0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Danish\x0a'+_0x477d('0x3ebe')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ebf')+_0x477d('0x3ec0')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>German\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Thai\x0a'+_0x477d('0x3ed5')+_0x477d('0x3a46')+_0x477d('0x3ed6')+_0x477d('0x3ed7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ed8')+_0x477d('0x3ed9')+_0x477d('0x3a46')+_0x477d('0x3eda')+_0x477d('0x3edb')+_0x477d('0x3a46')+_0x477d('0x3edc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3edd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20language\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ede')+_0x477d('0x3edf')+_0x477d('0x3ea3')+_0x477d('0x3ea4')+_0x477d('0x3ea5')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3ea6')+_0x477d('0x3ea7')+_0x477d('0x36bf')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3867')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x38ad')+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+_0x477d('0x3b1a')+_0x477d('0x3b1b')+_0x477d('0x3ea8')+_0x477d('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22chatWebsiteFormApp.$invalid\x20||\x20chatWebsiteFormApp.$pristine\x22\x0a'+_0x477d('0x3df1')+_0x477d('0x39e0')+_0x477d('0x39e1')+_0x477d('0x36c0')+_0x477d('0x3669')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x3ee0'),'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3844')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ee1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20truepriority\x0a'+_0x477d('0x3ee4')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3ee5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ee6')+_0x477d('0x39d2')+_0x477d('0x3ee7')+_0x477d('0x36bf')+_0x477d('0x3de9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20truepriority\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ee8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ee9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20falsepriority\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3de9')+_0x477d('0x3eea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ee8')+_0x477d('0x36a1')+_0x477d('0x3ab5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3b1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ea8')+_0x477d('0x39de')+_0x477d('0x3e8e')+_0x477d('0x3df1')+_0x477d('0x39e0')+_0x477d('0x39e1')+_0x477d('0x36c0')+_0x477d('0x3669')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x3eeb'),_0x477d('0x3e5b')+_0x477d('0x3e90')+_0x477d('0x381e')+_0x477d('0x365d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39c7')+_0x477d('0x3eec')+_0x477d('0x3eed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3eee')+_0x477d('0x39cb')+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x3eef')+_0x477d('0x39d2')+_0x477d('0x3ef0')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ef1')+_0x477d('0x3deb')+_0x477d('0x3ee8')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b1b')+_0x477d('0x3ea8')+_0x477d('0x39de')+_0x477d('0x3e8e')+_0x477d('0x3df1')+_0x477d('0x39e0')+_0x477d('0x39e1')+_0x477d('0x36c0')+_0x477d('0x3669')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x3ef2'),_0x477d('0x3ef3')+_0x477d('0x3ef4')+_0x477d('0x381e')+_0x477d('0x365d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x477d('0x3843')+_0x477d('0x3844')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39c2')+_0x477d('0x3aea')+_0x477d('0x3aeb')+_0x477d('0x3aec')+_0x477d('0x3aed')+_0x477d('0x3aee')+_0x477d('0x36bf')+_0x477d('0x3aef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3674')+_0x477d('0x3670')+_0x477d('0x36c0')+'\x0a'+_0x477d('0x3eb4')+_0x477d('0x383b')+_0x477d('0x3ef5')+_0x477d('0x3ef6')+_0x477d('0x3ef7')+_0x477d('0x36a0')+_0x477d('0x36a1')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ef8')+_0x477d('0x3ef9')+_0x477d('0x3efa')+_0x477d('0x36a0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3efb')+_0x477d('0x3efc')+_0x477d('0x3efd')+_0x477d('0x3c57')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3efe')+_0x477d('0x3eff')+_0x477d('0x3f00')+_0x477d('0x3f01')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3c68')+_0x477d('0x3670')+_0x477d('0x3f02')+_0x477d('0x3f03')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f04')+_0x477d('0x3f05')+_0x477d('0x36a9')+_0x477d('0x399e')+_0x477d('0x3f06')+_0x477d('0x36a9')+_0x477d('0x36bf')+_0x477d('0x3f07')+_0x477d('0x3670')+_0x477d('0x36c0')+_0x477d('0x3f08')+'\x0a'+_0x477d('0x3f09')+_0x477d('0x3f0a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f0b')+_0x477d('0x3f0c')+_0x477d('0x3f0d')+_0x477d('0x3f0e')+_0x477d('0x3f0f')+_0x477d('0x3b15')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3f10')+_0x477d('0x3f11')+_0x477d('0x3f12')+_0x477d('0x3f0f')+_0x477d('0x3b15')+_0x477d('0x3f13')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x3f14')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Time\x20Range\x0a'+_0x477d('0x3efd')+_0x477d('0x3f15')+_0x477d('0x3f0c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f0e')+_0x477d('0x3f16')+_0x477d('0x3b15')+_0x477d('0x39a2')+'\x0a'+_0x477d('0x3f17')+_0x477d('0x3f11')+_0x477d('0x3f18')+_0x477d('0x3f16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f19')+_0x477d('0x36bf')+_0x477d('0x39a2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f1a')+_0x477d('0x3efd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f0c')+_0x477d('0x3f1b')+_0x477d('0x3f0e')+_0x477d('0x3f1c')+_0x477d('0x3b15')+'\x0a'+_0x477d('0x39a2')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20To\x0a'+_0x477d('0x3f1d')+_0x477d('0x3f1c')+_0x477d('0x3b15')+_0x477d('0x3f1e')+_0x477d('0x36bf')+_0x477d('0x39a2')+_0x477d('0x36c0')+_0x477d('0x3f1f')+'\x0a'+_0x477d('0x3aea')+_0x477d('0x3aeb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x3aee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x3aef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3674')+_0x477d('0x3670')+_0x477d('0x36c0')+_0x477d('0x3663')+'\x0a'+_0x477d('0x3b1a')+_0x477d('0x387b')+_0x477d('0x3f20')+_0x477d('0x387d')+_0x477d('0x387e')+'\x0a'+_0x477d('0x3f21')+_0x477d('0x3f22')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3669')+_0x477d('0x366a')+'\x0a');_0x143a79[_0x477d('0x390')]('app/main/apps/chat/views/chatWebsites/edit/apps/noop/dialog.html',_0x477d('0x3e5b')+_0x477d('0x3e90')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f23')+_0x477d('0x3f24')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x3f25')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f26')+_0x477d('0x36bf')+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+_0x477d('0x3b1a')+_0x477d('0x3b1b')+_0x477d('0x3ea8')+_0x477d('0x39de')+_0x477d('0x3e8e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22CHAT.SAVE\x22\x20translate-attr-aria-label=\x22CHAT.SAVE\x22>\x0a'+_0x477d('0x39e0')+_0x477d('0x39e1')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x3f27'),_0x477d('0x3e5b')+_0x477d('0x3e90')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Queue\x0a'+_0x477d('0x3f28')+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x3de0')+_0x477d('0x3f29')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22queue.canSelect\x20===\x20false\x22>{{\x20queue.name\x20}}\x0a'+_0x477d('0x3aac')+_0x477d('0x3f2a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f2b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e8a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x3e8c')+_0x477d('0x36bf')+_0x477d('0x3de9')+_0x477d('0x3f2c')+_0x477d('0x3deb')+_0x477d('0x3e23')+_0x477d('0x3e8d')+_0x477d('0x3deb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x3ab5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3663')+'\x0a'+_0x477d('0x3b1a')+_0x477d('0x3b1b')+_0x477d('0x3ea8')+_0x477d('0x39de')+_0x477d('0x3e8e')+_0x477d('0x3df1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x477d('0x39e1')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79['put']('app/main/apps/chat/views/chatWebsites/edit/apps/system/dialog.html',_0x477d('0x3e5b')+_0x477d('0x3e90')+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c4')+_0x477d('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f2d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x3f2e')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f2f')+_0x477d('0x3f30')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+_0x477d('0x3de0')+_0x477d('0x3f31')+_0x477d('0x3f32')+_0x477d('0x3f33')+_0x477d('0x3aac')+_0x477d('0x3f34')+_0x477d('0x39d2')+_0x477d('0x3f35')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x3eb4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+_0x477d('0x3b1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ea8')+_0x477d('0x39de')+_0x477d('0x3e8e')+_0x477d('0x3df1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x477d('0x39e1')+_0x477d('0x36c0')+_0x477d('0x3669')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79['put'](_0x477d('0x3f36'),_0x477d('0x3e5b')+'\x20\x20\x20\x20\x0a'+_0x477d('0x381e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f37')+_0x477d('0x3f38')+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x3de0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20tag.name\x20}}\x0a'+_0x477d('0x3aac')+_0x477d('0x3f39')+_0x477d('0x39d2')+_0x477d('0x3f3a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3eb4')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3663')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b1b')+_0x477d('0x3ea8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22chatWebsiteFormApp.$invalid\x20||\x20chatWebsiteFormApp.$pristine\x22\x0a'+_0x477d('0x3df1')+_0x477d('0x39e0')+_0x477d('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79['put'](_0x477d('0x12ee'),_0x477d('0x3f3b')+'\x20\x20\x20\x20\x0a'+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39c7')+_0x477d('0x3eba')+_0x477d('0x3f3c')+_0x477d('0x3e64')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ce')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x3f3d')+_0x477d('0x39d2')+_0x477d('0x3ebb')+_0x477d('0x36bf')+_0x477d('0x39d9')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x3f23')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ea4')+_0x477d('0x3f3e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x3f26')+_0x477d('0x36bf')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e73')+_0x477d('0x3e7a')+_0x477d('0x3f3f')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f40')+_0x477d('0x39d2')+_0x477d('0x3def')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3663')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387b')+_0x477d('0x3f41')+_0x477d('0x39de')+_0x477d('0x3f42')+_0x477d('0x3df1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x477d('0x39e1')+'\x0a'+_0x477d('0x3f43')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x477d('0x3f44')+_0x477d('0x3f45')+_0x477d('0x3f46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x39e5')+_0x477d('0x3f47')+_0x477d('0x3df6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79['put'](_0x477d('0x3f48'),_0x477d('0x3f49')+_0x477d('0x3f4a')+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x0a'+_0x477d('0x3f4b')+_0x477d('0x3e64')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ce')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x3f4c')+_0x477d('0x39d2')+_0x477d('0x3ddd')+_0x477d('0x36bf')+_0x477d('0x39d9')+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79['put'](_0x477d('0x1383'),_0x477d('0x3f51')+_0x477d('0x3d02')+_0x477d('0x3f52')+_0x477d('0x3f53')+_0x477d('0x3f54')+_0x477d('0x3f55')+_0x477d('0x372b')+_0x477d('0x36e5')+_0x477d('0x392e')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20
{{vm.message.body}}
\x0a'+_0x477d('0x3d37')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')]('app/main/apps/chat/views/chatWebsites/edit/proactive/dialog.html',_0x477d('0x3f56')+_0x477d('0x3f57')+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x36e5')+_0x477d('0x39c7')+_0x477d('0x3dd6')+_0x477d('0x3f58')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x3f59')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x3f5a')+_0x477d('0x3f5b')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x3de0')+_0x477d('0x3f5c')+_0x477d('0x3f5d')+_0x477d('0x3a46')+_0x477d('0x3f5e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f5f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f60')+_0x477d('0x3aac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f61')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f62')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f64')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d9')+_0x477d('0x36a1')+_0x477d('0x3f65')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Timeout\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d6')+_0x477d('0x3f66')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e8c')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f67')+_0x477d('0x3deb')+_0x477d('0x3ee8')+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+_0x477d('0x39dc')+_0x477d('0x387b')+_0x477d('0x3f68')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x477d('0x3f69')+_0x477d('0x3df1')+_0x477d('0x39e0')+_0x477d('0x39e1')+'\x0a'+_0x477d('0x3f6a')+_0x477d('0x3c8b')+_0x477d('0x3f6b')+_0x477d('0x3f6c')+_0x477d('0x3f6d')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x39e5')+_0x477d('0x3f6e')+_0x477d('0x3df6')+_0x477d('0x3a16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x39e9')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79['put'](_0x477d('0xc2'),_0x477d('0x3f6f')+'\x0a'+_0x477d('0x39eb')+_0x477d('0x3b62')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f70')+_0x477d('0x3f71')+_0x477d('0x3f72')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x372b')+'\x0a'+_0x477d('0x387b')+'\x0a'+_0x477d('0x3f73')+_0x477d('0x3f74')+_0x477d('0x3670')+'\x0a'+_0x477d('0x38e8')+_0x477d('0x3b65')+_0x477d('0x3f75')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.chatWebsite.name}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b68')+_0x477d('0x3f76')+_0x477d('0x36bf')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ab5')+_0x477d('0x3e09')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f78')+_0x477d('0x3e0d')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x3f79')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x477d('0x3d05')+_0x477d('0x36e5')+'\x0a'+_0x477d('0x3699')+_0x477d('0x39f8')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3b6b')+'\x0a'+_0x477d('0x3b6c')+_0x477d('0x3e12')+_0x477d('0x3f7a')+_0x477d('0x3e13')+_0x477d('0x3f7b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f7c')+_0x477d('0x3f7d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GENERAL
\x0a'+_0x477d('0x385c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e18')+_0x477d('0x3dd6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20key\x0a'+_0x477d('0x3e5e')+_0x477d('0x3e5f')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x3e60')+_0x477d('0x36bf')+_0x477d('0x3e61')+_0x477d('0x3e62')+_0x477d('0x36bf')+_0x477d('0x39d9')+_0x477d('0x36a1')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MotionAddress\x0a'+_0x477d('0x3e63')+_0x477d('0x3e64')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x3f7e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f7f')+_0x477d('0x36bf')+_0x477d('0x3e66')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MotionAddress\x20must\x20be\x20a\x20valid\x20url\x20http://www.xcally.com\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e68')+_0x477d('0x3f80')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x0a'+_0x477d('0x3f81')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x3de0')+_0x477d('0x3e6e')+_0x477d('0x3e6f')+_0x477d('0x3aac')+_0x477d('0x3e70')+_0x477d('0x3f82')+_0x477d('0x39d2')+_0x477d('0x3e72')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x3f83')+_0x477d('0x3e8a')+_0x477d('0x3f84')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e22')+_0x477d('0x39d2')+_0x477d('0x3e8c')+_0x477d('0x36bf')+_0x477d('0x3f85')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f86')+_0x477d('0x3f87')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3ee5')+_0x477d('0x3de6')+_0x477d('0x39cd')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x3f88')+_0x477d('0x39d2')+_0x477d('0x3f89')+_0x477d('0x36bf')+_0x477d('0x3de9')+_0x477d('0x3f8a')+_0x477d('0x3deb')+_0x477d('0x3e23')+_0x477d('0x3f8b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e24')+_0x477d('0x36a1')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x0a'+_0x477d('0x3e7b')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3def')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x3ab5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e27')+_0x477d('0x3f8c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f8d')+_0x477d('0x385c')+_0x477d('0x3f8e')+_0x477d('0x3e18')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20notificationSound\x0a'+_0x477d('0x3eb4')+_0x477d('0x3867')+_0x477d('0x3e73')+_0x477d('0x3f8f')+_0x477d('0x3eb4')+_0x477d('0x3867')+_0x477d('0x3f90')+_0x477d('0x3f91')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e27')+_0x477d('0x3f92')+_0x477d('0x3f7d')+_0x477d('0x3f93')+_0x477d('0x385c')+_0x477d('0x3f94')+_0x477d('0x3e18')+_0x477d('0x3f95')+_0x477d('0x3eb4')+_0x477d('0x3867')+_0x477d('0x3f96')+_0x477d('0x3f97')+_0x477d('0x3f98')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ee5')+_0x477d('0x3de6')+_0x477d('0x39cd')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x3f99')+_0x477d('0x36bf')+_0x477d('0x3de9')+_0x477d('0x3f9a')+_0x477d('0x3deb')+_0x477d('0x3e23')+_0x477d('0x3f9b')+_0x477d('0x3deb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f9c')+_0x477d('0x3eb4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f9d')+_0x477d('0x3f9e')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3ee5')+_0x477d('0x3de6')+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x3f9f')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20agentTransferTimeout\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3fa0')+_0x477d('0x3deb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3fa1')+_0x477d('0x3deb')+_0x477d('0x3e24')+_0x477d('0x36a1')+_0x477d('0x3ab5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e27')+_0x477d('0x3e28')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3fa2')+_0x477d('0x3f7b')+_0x477d('0x3e14')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3fa3')+_0x477d('0x3fa4')+_0x477d('0x3fa5')+_0x477d('0x3fa6')+'\x0a'+'\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Token\x0a'+_0x477d('0x3fa7')+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MotionProxy\x0a'+_0x477d('0x3fa8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3fa9')+_0x477d('0x3faa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Motion\x20Proxy\x20field\x20is\x20required\x0a'+_0x477d('0x3fab')+_0x477d('0x3fac')+_0x477d('0x3fad')+_0x477d('0x3fab')+_0x477d('0x3cfb')+_0x477d('0x3cf9')+_0x477d('0x3cf6')+_0x477d('0x3fae')+'\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x3faf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm_ac.start}}\x20{{vm_ac.script}}\x20{{vm_ac.end}}\x0a'+_0x477d('0x3fb0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3d00')+_0x477d('0x377d')+'\x0a'+_0x477d('0x3e27')+_0x477d('0x3fb1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3fb2')+_0x477d('0x385c')+_0x477d('0x3fb3')+_0x477d('0x3e18')+_0x477d('0x3e74')+_0x477d('0x3e75')+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x3de0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Always\x0a'+_0x477d('0x3e77')+_0x477d('0x3e78')+_0x477d('0x3aac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x3fb4')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3e73')+_0x477d('0x3fb5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<\x0a'+_0x477d('0x3fb6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x3fb7')+_0x477d('0x36bf')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3eb4')+_0x477d('0x3e26')+_0x477d('0x3e27')+_0x477d('0x3fb8')+_0x477d('0x3f7d')+_0x477d('0x3fb9')+_0x477d('0x385c')+_0x477d('0x3fba')+_0x477d('0x3e18')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MandatoryDisposition\x0a'+_0x477d('0x3eb4')+_0x477d('0x3867')+_0x477d('0x3fbb')+_0x477d('0x3fbc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x3fbe')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3eb4')+_0x477d('0x3e26')+_0x477d('0x3e27')+_0x477d('0x3e28')+_0x477d('0x3e29')+_0x477d('0x3e12')+_0x477d('0x3f7a')+_0x477d('0x3fbf')+_0x477d('0x3f7b')+_0x477d('0x3e14')+_0x477d('0x3fc0')+_0x477d('0x3f7d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20APPEARANCE\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3fc1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3fc2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fontSize\x0a'+_0x477d('0x3fc3')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3eee')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x3fc4')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fontSize\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3de9')+_0x477d('0x3fc5')+_0x477d('0x3deb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20headershape\x0a'+_0x477d('0x3fc6')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+_0x477d('0x3de0')+_0x477d('0x3f5c')+_0x477d('0x3fc7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27CHAT.ROUNDED\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3fc8')+_0x477d('0x3fc9')+_0x477d('0x3a46')+_0x477d('0x3fca')+_0x477d('0x3aac')+_0x477d('0x3fcb')+_0x477d('0x39d2')+_0x477d('0x3fcc')+_0x477d('0x36bf')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ShowAgentAvatar\x0a'+_0x477d('0x3eb4')+_0x477d('0x3867')+_0x477d('0x3e73')+_0x477d('0x3fcd')+_0x477d('0x3eb4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e73')+_0x477d('0x3fce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3fcf')+_0x477d('0x3a46')+_0x477d('0x3fd0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3fd1')+_0x477d('0x3a46')+_0x477d('0x3fd2')+_0x477d('0x3fc8')+_0x477d('0x3fd3')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27CHAT.LEFT\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3fd4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3fd5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3fd6')+_0x477d('0x3fd7')+_0x477d('0x3fd8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x220\x22\x20\x20\x20\x0a'+_0x477d('0x3fd9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x3fda')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x3fdb')+_0x477d('0x36bf')+_0x477d('0x3de9')+_0x477d('0x3fdc')+_0x477d('0x3deb')+_0x477d('0x3e23')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20verticalPosition\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x20100\x0a'+_0x477d('0x3deb')+_0x477d('0x3e24')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x3fdd')+_0x477d('0x3fde')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x3de0')+_0x477d('0x3f5c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x3fe1')+_0x477d('0x36bf')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e73')+_0x477d('0x3fe2')+_0x477d('0x3fe3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-maxlength=\x22255\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x3fe4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e61')+_0x477d('0x3fe5')+_0x477d('0x36bf')+_0x477d('0x39d9')+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x3e26')+_0x477d('0x3e27')+_0x477d('0x3fe6')+_0x477d('0x3f7d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ONLINESTATUS\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3fe7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e61')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20header_online\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x3fea')+_0x477d('0x3feb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-maxlength=\x22255\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3fec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e61')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20start_chat_button\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255\x0a'+_0x477d('0x36bf')+_0x477d('0x39d9')+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x3e26')+_0x477d('0x3e27')+_0x477d('0x3fed')+_0x477d('0x3f7d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OFFLINESTATUS\x0a'+_0x477d('0x385c')+_0x477d('0x3fee')+_0x477d('0x3e18')+_0x477d('0x3fef')+_0x477d('0x3eb4')+_0x477d('0x3ff0')+_0x477d('0x3867')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ff1')+_0x477d('0x3ff2')+_0x477d('0x3e64')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x3ff3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ff4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e61')+_0x477d('0x3ff5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d9')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x3ff6')+_0x477d('0x3ff7')+_0x477d('0x3e64')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x3ff8')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20offline_chat_button\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ff9')+_0x477d('0x3ffa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-maxlength=\x22255\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ffb')+_0x477d('0x36bf')+_0x477d('0x3e61')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20offlineMessageSubject\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255\x0a'+_0x477d('0x36bf')+_0x477d('0x39d9')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x3ffc')+_0x477d('0x3ffd')+_0x477d('0x3e64')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x3ffe')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20offlineMessageBody\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3e61')+_0x477d('0x3fff')+_0x477d('0x36bf')+_0x477d('0x39d9')+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x3e26')+_0x477d('0x3e27')+_0x477d('0x4000')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4001')+_0x477d('0x385c')+_0x477d('0x4002')+_0x477d('0x3e18')+_0x477d('0x4003')+_0x477d('0x4004')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4005')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x4006')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20closingMessage\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255\x0a'+_0x477d('0x36bf')+_0x477d('0x39ca')+_0x477d('0x3670')+_0x477d('0x3867')+_0x477d('0x3e73')+_0x477d('0x4007')+_0x477d('0x4008')+_0x477d('0x3e64')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x4009')+_0x477d('0x39d2')+_0x477d('0x400a')+_0x477d('0x36bf')+_0x477d('0x3e61')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20skipMessageButton\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x400b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x400c')+_0x477d('0x400d')+_0x477d('0x400e')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x400f')+_0x477d('0x3a46')+_0x477d('0x4010')+_0x477d('0x4011')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Thumb\x0a'+_0x477d('0x3aac')+_0x477d('0x4012')+_0x477d('0x39d2')+_0x477d('0x4013')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x4014')+_0x477d('0x4015')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4018')+_0x477d('0x3deb')+_0x477d('0x3e23')+_0x477d('0x4019')+_0x477d('0x3deb')+_0x477d('0x3e24')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x401a')+_0x477d('0x3eb4')+_0x477d('0x3867')+_0x477d('0x401b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20feedbackTitle\x0a'+_0x477d('0x401c')+_0x477d('0x3e64')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x401d')+_0x477d('0x36bf')+_0x477d('0x3e61')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20feedbackTitle\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255\x0a'+_0x477d('0x36bf')+_0x477d('0x39d9')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x401e')+_0x477d('0x3eb4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x401f')+_0x477d('0x4020')+_0x477d('0x3e64')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x4021')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4022')+_0x477d('0x36bf')+_0x477d('0x3e61')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20forwardTranscriptMessage\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20closingMessageButton\x0a'+_0x477d('0x4023')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-maxlength=\x22255\x22\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x4024')+_0x477d('0x39d2')+_0x477d('0x4025')+_0x477d('0x36bf')+_0x477d('0x3e61')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20closingMessageButton\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255\x0a'+_0x477d('0x36bf')+_0x477d('0x39d9')+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x3e26')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4026')+_0x477d('0x3f7d')+_0x477d('0x4027')+_0x477d('0x385c')+_0x477d('0x4028')+_0x477d('0x3e18')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autoclose\x0a'+_0x477d('0x3eb4')+_0x477d('0x3867')+_0x477d('0x3e73')+_0x477d('0x4029')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3867')+_0x477d('0x3e73')+_0x477d('0x402a')+_0x477d('0x402b')+_0x477d('0x3e64')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x402c')+_0x477d('0x39d2')+_0x477d('0x402d')+_0x477d('0x36bf')+_0x477d('0x3e61')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20unmanagedMessage\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x402e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x402f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e61')+_0x477d('0x4030')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4031')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20sendUnmanaged\x0a'+_0x477d('0x4032')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-maxlength=\x22255\x22\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x4033')+_0x477d('0x39d2')+_0x477d('0x4034')+_0x477d('0x36bf')+_0x477d('0x3e61')+_0x477d('0x4035')+_0x477d('0x36bf')+_0x477d('0x39d9')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20noteTitle\x0a'+_0x477d('0x4036')+_0x477d('0x3e64')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x4037')+_0x477d('0x39d2')+_0x477d('0x4038')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20noteTitle\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255\x0a'+_0x477d('0x36bf')+_0x477d('0x39d9')+_0x477d('0x36a1')+_0x477d('0x3ab5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4039')+_0x477d('0x3f7d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20INTERACTION\x0a'+_0x477d('0x385c')+_0x477d('0x403a')+_0x477d('0x3e18')+_0x477d('0x403b')+_0x477d('0x403c')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x3f5c')+_0x477d('0x403d')+_0x477d('0x3a46')+_0x477d('0x403e')+_0x477d('0x3fc8')+_0x477d('0x403f')+_0x477d('0x3a46')+_0x477d('0x4040')+_0x477d('0x3fc8')+_0x477d('0x4041')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27CHAT.AGENTFULLNAME\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4042')+_0x477d('0x39d2')+_0x477d('0x4043')+_0x477d('0x36bf')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e73')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20customerAlias\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d6')+_0x477d('0x4044')+_0x477d('0x39d2')+_0x477d('0x4045')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4046')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d9')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x4047')+_0x477d('0x4048')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3eee')+_0x477d('0x4049')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x404a')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x404b')+_0x477d('0x3deb')+_0x477d('0x3e23')+_0x477d('0x404c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e24')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x404d')+_0x477d('0x404e')+_0x477d('0x3e64')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x404f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4050')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e61')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WebsiteAlias\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255\x0a'+_0x477d('0x36bf')+_0x477d('0x39d9')+_0x477d('0x36a1')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20closingQuestion\x0a'+_0x477d('0x4051')+_0x477d('0x3e64')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x4052')+_0x477d('0x39d2')+_0x477d('0x4053')+_0x477d('0x36bf')+_0x477d('0x3e61')+_0x477d('0x4054')+_0x477d('0x36bf')+_0x477d('0x39d9')+_0x477d('0x36a1')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20formSubmitSuccessMessage\x0a'+_0x477d('0x4055')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-maxlength=\x22255\x22\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x4056')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4057')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e61')+_0x477d('0x4058')+_0x477d('0x36bf')+_0x477d('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4059')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20formSubmitFailureMessage\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255\x0a'+_0x477d('0x36bf')+_0x477d('0x39d9')+_0x477d('0x36a1')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20enableCustomerWriting\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3867')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20waitingTitle\x0a'+_0x477d('0x405c')+_0x477d('0x3e64')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x405d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x405e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e61')+_0x477d('0x405f')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4060')+_0x477d('0x4061')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ea4')+_0x477d('0x4062')+_0x477d('0x39ca')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20waitingMessage\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3ea6')+_0x477d('0x4063')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x3670')+_0x477d('0x3867')+_0x477d('0x3e73')+_0x477d('0x4064')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4065')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e61')+_0x477d('0x4066')+_0x477d('0x36bf')+_0x477d('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x4067')+_0x477d('0x3eb4')+_0x477d('0x3867')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20enableCustomerAttachment\x0a'+_0x477d('0x3eb4')+_0x477d('0x3867')+_0x477d('0x3e73')+_0x477d('0x4068')+_0x477d('0x3eb4')+_0x477d('0x3867')+_0x477d('0x3e73')+_0x477d('0x4069')+_0x477d('0x3eb4')+_0x477d('0x3867')+_0x477d('0x3e73')+_0x477d('0x406a')+_0x477d('0x406b')+_0x477d('0x3e64')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x406c')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20systemAlias\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x406d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x3e26')+_0x477d('0x3e27')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x406e')+_0x477d('0x385c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e18')+_0x477d('0x406f')+_0x477d('0x3eb4')+_0x477d('0x3867')+_0x477d('0x4070')+_0x477d('0x4071')+_0x477d('0x4072')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4073')+_0x477d('0x39ca')+_0x477d('0x39d2')+_0x477d('0x4074')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x3ea6')+_0x477d('0x4075')+_0x477d('0x36bf')+_0x477d('0x39ca')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3eb4')+_0x477d('0x3e26')+_0x477d('0x3e27')+_0x477d('0x4076')+_0x477d('0x3f7d')+'\x20\x20\x20\x20LOGO\x0a'+_0x477d('0x377d')+_0x477d('0x4077')+'\x0a'+_0x477d('0x4078')+_0x477d('0x4079')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x407a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x407b')+_0x477d('0x407c')+_0x477d('0x407d')+_0x477d('0x372b')+_0x477d('0x407e')+_0x477d('0x36e5')+'\x0a'+_0x477d('0x407f')+_0x477d('0x4080')+_0x477d('0x4081')+_0x477d('0x4082')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4083')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+'\x0a'+_0x477d('0x4084')+_0x477d('0x4085')+_0x477d('0x3670')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3699')+_0x477d('0x377d')+'\x0a'+_0x477d('0x3e27')+_0x477d('0x4086')+_0x477d('0x3f7d')+_0x477d('0x4087')+_0x477d('0x377d')+'\x0a'+'\x0a'+_0x477d('0x4078')+_0x477d('0x4079')+'\x0a'+_0x477d('0x4088')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Drop\x20to\x20upload\x0a'+_0x477d('0x36e5')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x407c')+_0x477d('0x407d')+_0x477d('0x372b')+_0x477d('0x407e')+_0x477d('0x36e5')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4081')+_0x477d('0x4082')+_0x477d('0x4089')+_0x477d('0x4083')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+'\x0a'+_0x477d('0x4084')+_0x477d('0x408a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+_0x477d('0x3699')+_0x477d('0x377d')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x408b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x408c')+_0x477d('0x377d')+_0x477d('0x408d')+'\x0a'+_0x477d('0x4078')+'\x20\x20\x20\x20\x20\x20\x20\x20flow-drag-enter=\x22vm_ca.dropping=true\x22\x20flow-drag-leave=\x22vm_ca.dropping=false\x22\x20ng-class=\x22{\x27dropping\x27:vm.dropping}\x22>\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x407a')+_0x477d('0x36e5')+'\x0a'+_0x477d('0x407b')+_0x477d('0x407c')+_0x477d('0x407d')+_0x477d('0x372b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20You\x20can\x20also\x20drop\x20images\x20here\x20to\x20upload.\x20Only\x20PNG,\x20JPG\x20-\x20Max.\x208MB\x0a'+_0x477d('0x36e5')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x408e')+_0x477d('0x4081')+_0x477d('0x4082')+_0x477d('0x408f')+_0x477d('0x4083')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4090')+_0x477d('0x3670')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3699')+_0x477d('0x377d')+'\x0a'+_0x477d('0x3e27')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f7d')+_0x477d('0x4091')+'\x0a'+_0x477d('0x4092')+'\x0a'+_0x477d('0x4078')+'\x20\x20\x20\x20\x20\x20\x20\x20flow-drag-enter=\x22vm_ca.dropping=true\x22\x20flow-drag-leave=\x22vm_ca.dropping=false\x22\x20ng-class=\x22{\x27dropping\x27:vm.dropping}\x22>\x0a'+'\x0a'+_0x477d('0x4088')+_0x477d('0x407a')+_0x477d('0x36e5')+'\x0a'+_0x477d('0x407b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x407d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x407e')+_0x477d('0x36e5')+'\x0a'+_0x477d('0x407f')+_0x477d('0x4093')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4082')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36bf')+_0x477d('0x4094')+_0x477d('0x3670')+'\x0a'+_0x477d('0x4084')+_0x477d('0x4095')+_0x477d('0x3670')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3699')+_0x477d('0x377d')+'\x0a'+_0x477d('0x3e27')+_0x477d('0x3e28')+_0x477d('0x3e29')+_0x477d('0x3e12')+_0x477d('0x3f7a')+_0x477d('0x4096')+_0x477d('0x3f7b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4097')+_0x477d('0x4098')+_0x477d('0x4099')+_0x477d('0x409a')+_0x477d('0x409b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{button.name}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x409c')+_0x477d('0x3fa6')+'\x0a'+'\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x409d')+_0x477d('0x409e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x409f')+_0x477d('0x40a0')+_0x477d('0x36bf')+_0x477d('0x40a1')+_0x477d('0x40a2')+_0x477d('0x40a3')+'\x0a'+_0x477d('0x40a4')+_0x477d('0x39d6')+_0x477d('0x40a5')+_0x477d('0x40a6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MapKey\x0a'+_0x477d('0x40a7')+_0x477d('0x40a8')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20field.value\x20}}\x0a'+_0x477d('0x40a9')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x40aa')+_0x477d('0x40a9')+_0x477d('0x3b15')+_0x477d('0x39a2')+_0x477d('0x40ab')+'\x0a'+_0x477d('0x40ac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x40ad')+_0x477d('0x40ae')+_0x477d('0x40af')+_0x477d('0x40b0')+_0x477d('0x3b15')+_0x477d('0x39a2')+_0x477d('0x40b1')+'\x0a'+_0x477d('0x40b2')+_0x477d('0x40b3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x40b4')+_0x477d('0x40b5')+_0x477d('0x40b6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x40b7')+_0x477d('0x40b6')+'\x0a'+_0x477d('0x40b8')+'\x0a'+_0x477d('0x40b9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x40ba')+_0x477d('0x3947')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x40bb')+_0x477d('0x40bc')+_0x477d('0x40bd')+_0x477d('0x40be')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x40bf')+_0x477d('0x40c0')+_0x477d('0x40c1')+'\x0a'+_0x477d('0x40c2')+'\x0a'+_0x477d('0x40c3')+'\x0a'+_0x477d('0x40c4')+_0x477d('0x40c5')+_0x477d('0x3832')+_0x477d('0x40c6')+_0x477d('0x40c7')+_0x477d('0x3832')+_0x477d('0x40c8')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x40c9')+_0x477d('0x40ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20None\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20variable.name\x20}}\x0a'+_0x477d('0x3857')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a46')+_0x477d('0x3b73')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Contact\x20Manager\x20Field\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x40cb')+'\x0a'+_0x477d('0x40cc')+_0x477d('0x40cd')+_0x477d('0x40ce')+'\x0a'+_0x477d('0x40cf')+_0x477d('0x40d0')+_0x477d('0x40ce')+_0x477d('0x3857')+_0x477d('0x3867')+_0x477d('0x40d1')+'\x0a'+_0x477d('0x40d2')+_0x477d('0x40d3')+_0x477d('0x40d4')+_0x477d('0x40d5')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ae4')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x40d6')+_0x477d('0x409d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x40d7')+_0x477d('0x40d8')+_0x477d('0x40d9')+_0x477d('0x40da')+_0x477d('0x40a1')+_0x477d('0x40a2')+_0x477d('0x40db')+_0x477d('0x40dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ae4')+_0x477d('0x380f')+_0x477d('0x3fa6')+'\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e29')+_0x477d('0x3e12')+_0x477d('0x3f7a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OFFLINE\x0a'+_0x477d('0x3f7b')+_0x477d('0x3e14')+_0x477d('0x40dd')+_0x477d('0x40de')+_0x477d('0x4099')+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x40df')+_0x477d('0x40e0')+_0x477d('0x40e1')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3fa6')+'\x0a'+_0x477d('0x40e2')+_0x477d('0x40d6')+_0x477d('0x409d')+_0x477d('0x409e')+_0x477d('0x40d7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x40a0')+_0x477d('0x36bf')+_0x477d('0x40a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x40a3')+'\x0a'+_0x477d('0x40e3')+_0x477d('0x40e4')+_0x477d('0x40e5')+_0x477d('0x39a2')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x40e6')+_0x477d('0x40e7')+_0x477d('0x40e8')+_0x477d('0x40e9')+_0x477d('0x40ea')+_0x477d('0x40eb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36bf')+_0x477d('0x39a2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x40a5')+_0x477d('0x40ec')+_0x477d('0x40ed')+_0x477d('0x40ee')+_0x477d('0x40a8')+'\x0a'+_0x477d('0x40ef')+_0x477d('0x40f0')+_0x477d('0x40a9')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x40aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b15')+_0x477d('0x39a2')+_0x477d('0x40ab')+'\x0a'+_0x477d('0x40ac')+_0x477d('0x40ec')+_0x477d('0x40ad')+_0x477d('0x40f1')+_0x477d('0x40af')+_0x477d('0x40f2')+_0x477d('0x3b15')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x40b1')+'\x0a'+_0x477d('0x40b2')+_0x477d('0x40f3')+_0x477d('0x40f4')+_0x477d('0x40b4')+_0x477d('0x40b5')+_0x477d('0x40b6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x40b7')+_0x477d('0x40b6')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{item.props.title\x20||\x20item.type}}\x0a'+'\x0a'+_0x477d('0x40b9')+_0x477d('0x40f5')+_0x477d('0x40ba')+_0x477d('0x3947')+_0x477d('0x40f6')+'\x0a'+_0x477d('0x40bb')+_0x477d('0x40bc')+_0x477d('0x40bd')+_0x477d('0x40be')+_0x477d('0x40c1')+_0x477d('0x40bf')+_0x477d('0x40c0')+_0x477d('0x40c1')+'\x0a'+_0x477d('0x40c2')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x40c4')+_0x477d('0x40c5')+_0x477d('0x3832')+_0x477d('0x40c6')+_0x477d('0x40c7')+_0x477d('0x3832')+_0x477d('0x40c8')+'\x0a'+_0x477d('0x40f7')+_0x477d('0x40f8')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3b73')+_0x477d('0x40f9')+_0x477d('0x40fa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20None\x0a'+'\x0a'+_0x477d('0x40cc')+_0x477d('0x40cd')+_0x477d('0x40ce')+'\x0a'+_0x477d('0x40cf')+_0x477d('0x40d0')+_0x477d('0x40ce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3867')+_0x477d('0x40d1')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x40d3')+_0x477d('0x40d4')+_0x477d('0x40d5')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ae4')+_0x477d('0x380f')+_0x477d('0x40d6')+_0x477d('0x409d')+_0x477d('0x409e')+_0x477d('0x40d7')+_0x477d('0x40d8')+_0x477d('0x40d9')+_0x477d('0x40da')+_0x477d('0x40a1')+_0x477d('0x40a2')+_0x477d('0x40db')+_0x477d('0x40fb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ae4')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3fa6')+_0x477d('0x377d')+'\x0a'+_0x477d('0x3e27')+_0x477d('0x3e28')+_0x477d('0x3e29')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f7a')+_0x477d('0x40fc')+_0x477d('0x3f7b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x40fd')+_0x477d('0x40fe')+_0x477d('0x40ff')+_0x477d('0x4100')+_0x477d('0x4101')+_0x477d('0x4102')+_0x477d('0x4103')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x411a')+_0x477d('0x411b')+_0x477d('0x4115')+_0x477d('0x411c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.TIMEOUT\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x4115')+_0x477d('0x411d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.CREATED_AT\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x4115')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x411e')+_0x477d('0x411f')+_0x477d('0x4120')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4121')+_0x477d('0x4122')+_0x477d('0x4123')+_0x477d('0x4124')+_0x477d('0x4125')+_0x477d('0x4123')+_0x477d('0x4126')+_0x477d('0x4127')+_0x477d('0x4128')+_0x477d('0x4129')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a46')+_0x477d('0x412a')+_0x477d('0x412b')+_0x477d('0x4123')+_0x477d('0x4124')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{chatProactiveAction.timeout}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x412c')+_0x477d('0x412d')+_0x477d('0x412e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x412f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4130')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4131')+_0x477d('0x4132')+_0x477d('0x4133')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4134')+_0x477d('0x4135')+_0x477d('0x4136')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4137')+_0x477d('0x4138')+_0x477d('0x411e')+_0x477d('0x4139')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x413a')+_0x477d('0x413b')+_0x477d('0x413c')+_0x477d('0x411e')+_0x477d('0x413d')+_0x477d('0x413e')+_0x477d('0x413f')+_0x477d('0x4140')+_0x477d('0x3fa6')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e28')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e12')+_0x477d('0x3f7a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DISPOSITIONS\x0a'+_0x477d('0x3f7b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4141')+_0x477d('0x4142')+_0x477d('0x4143')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20ChatDispositions\x0a'+_0x477d('0x4102')+_0x477d('0x4103')+_0x477d('0x4144')+_0x477d('0x4145')+_0x477d('0x4105')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x4106')+_0x477d('0x4146')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4147')+_0x477d('0x3b2c')+_0x477d('0x4148')+_0x477d('0x410b')+_0x477d('0x410c')+_0x477d('0x4149')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22CHAT.DELETE_SELECTED\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3d05')+_0x477d('0x40da')+_0x477d('0x4106')+_0x477d('0x4110')+_0x477d('0x414a')+_0x477d('0x414b')+_0x477d('0x4113')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.ID\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x4115')+_0x477d('0x4116')+_0x477d('0x4117')+_0x477d('0x4115')+_0x477d('0x411d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.CREATED_AT\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x414c')+_0x477d('0x411e')+_0x477d('0x411f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x414d')+'>\x0a'+_0x477d('0x414e')+_0x477d('0x414f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4150')+_0x477d('0x4151')+_0x477d('0x4123')+_0x477d('0x4152')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20chatDisposition.createdAt\x20|\x20formatdate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4153')+_0x477d('0x412f')+_0x477d('0x4154')+_0x477d('0x4130')+_0x477d('0x4155')+'\x20\x0a'+_0x477d('0x4156')+_0x477d('0x4157')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4158')+_0x477d('0x4133')+_0x477d('0x4159')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x415a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20ChatDisposition\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x415b')+_0x477d('0x415c')+_0x477d('0x4137')+_0x477d('0x4138')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x415d')+_0x477d('0x415e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x415f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x413c')+_0x477d('0x411e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x413e')+'\x20\x20\x0a'+_0x477d('0x4160')+_0x477d('0x3fa6')+'\x0a'+_0x477d('0x3e27')+_0x477d('0x3e28')+_0x477d('0x3e29')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f7a')+_0x477d('0x4161')+_0x477d('0x3f7b')+_0x477d('0x3e14')+_0x477d('0x4162')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4163')+_0x477d('0x4100')+_0x477d('0x4164')+_0x477d('0x4102')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4165')+_0x477d('0x4166')+_0x477d('0x4105')+_0x477d('0x40e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4106')+'\x20\x20\x0a'+_0x477d('0x4108')+_0x477d('0x4167')+_0x477d('0x3b2c')+_0x477d('0x4168')+_0x477d('0x410b')+_0x477d('0x410c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x40da')+_0x477d('0x4106')+'\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4169')+_0x477d('0x4113')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x416a')+_0x477d('0x4115')+_0x477d('0x416b')+_0x477d('0x416c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x416d')+_0x477d('0x416e')+_0x477d('0x4115')+_0x477d('0x416f')+_0x477d('0x4170')+_0x477d('0x4115')+_0x477d('0x411d')+_0x477d('0x4171')+_0x477d('0x4115')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x411e')+_0x477d('0x411f')+_0x477d('0x4120')+_0x477d('0x4172')+'>\x0a'+_0x477d('0x4173')+_0x477d('0x4174')+_0x477d('0x4123')+_0x477d('0x4175')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{chatCannedAnswer.key}}\x0a'+_0x477d('0x4123')+_0x477d('0x4175')+_0x477d('0x4176')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{chatCannedAnswer.description}}\x0a'+_0x477d('0x4123')+_0x477d('0x4177')+_0x477d('0x4178')+_0x477d('0x412e')+_0x477d('0x4153')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4154')+_0x477d('0x4130')+_0x477d('0x4155')+'\x20\x0a'+_0x477d('0x4156')+_0x477d('0x4157')+_0x477d('0x4179')+_0x477d('0x417a')+_0x477d('0x4133')+_0x477d('0x4159')+_0x477d('0x4134')+_0x477d('0x417b')+_0x477d('0x417c')+_0x477d('0x3a52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x415c')+_0x477d('0x4137')+_0x477d('0x4138')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x417d')+_0x477d('0x417e')+_0x477d('0x417f')+_0x477d('0x4180')+_0x477d('0x413b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x411e')+_0x477d('0x413d')+_0x477d('0x413e')+_0x477d('0x413f')+_0x477d('0x4181')+_0x477d('0x3fa6')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e28')+_0x477d('0x3e29')+_0x477d('0x3e12')+_0x477d('0x3f7a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20VIDEO\x0a'+_0x477d('0x3f7b')+_0x477d('0x3e14')+_0x477d('0x4182')+_0x477d('0x3f7d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20VIDAOO\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e18')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vidaooEscalation\x0a'+_0x477d('0x3eb4')+_0x477d('0x3867')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4183')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vidaooApiKey\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x3ab5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e27')+_0x477d('0x3e28')+_0x477d('0x3e29')+_0x477d('0x3e12')+_0x477d('0x3f7a')+_0x477d('0x4185')+_0x477d('0x3f7b')+_0x477d('0x3e14')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4186')+_0x477d('0x4187')+_0x477d('0x4188')+_0x477d('0x4189')+_0x477d('0x418a')+_0x477d('0x418b')+_0x477d('0x418c')+_0x477d('0x37cb')+_0x477d('0x418d')+_0x477d('0x418e')+_0x477d('0x37a7')+_0x477d('0x418f')+_0x477d('0x4190')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4191')+_0x477d('0x4192')+_0x477d('0x418e')+_0x477d('0x4193')+'\x20\x20\x0a'+'\x20\x20\x0a'+'\x20\x20\x0a'+'\x20\x20\x0a'+'\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x4108')+'\x20\x20\x20\x20\x20\x20\x20\x20Drag\x20&\x20Drop\x20Routing\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4194')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x392e')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4195')+_0x477d('0x3b2c')+_0x477d('0x4196')+_0x477d('0x4197')+_0x477d('0x4198')+_0x477d('0x36dc')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x392e')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x4199')+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x419a')+_0x477d('0x419b')+_0x477d('0x419c')+_0x477d('0x419d')+_0x477d('0x419e')+_0x477d('0x419f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x0a'+_0x477d('0x419e')+_0x477d('0x41a0')+_0x477d('0x41a1')+_0x477d('0x419e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41a2')+_0x477d('0x419e')+_0x477d('0x419b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41a3')+_0x477d('0x41a4')+_0x477d('0x41a5')+_0x477d('0x41a6')+_0x477d('0x41a7')+_0x477d('0x41a8')+_0x477d('0x413c')+_0x477d('0x41a9')+_0x477d('0x41aa')+_0x477d('0x41ab')+_0x477d('0x41ac')+_0x477d('0x41a7')+_0x477d('0x41ad')+_0x477d('0x41ae')+_0x477d('0x41af')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{app.IntervalId\x20?\x20\x27From\x20List\x27\x20:\x20(app.interval\x20===\x20\x27*,*,*,*\x27\x20?\x20\x27Always\x27\x20:\x20\x27Custom\x27)}}\x0a'+_0x477d('0x41b0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41b1')+_0x477d('0x3a43')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a45')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41b2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20App\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4b')+_0x477d('0x41b3')+_0x477d('0x41b4')+_0x477d('0x41b5')+_0x477d('0x3a52')+_0x477d('0x3a4b')+_0x477d('0x41b6')+_0x477d('0x41b7')+_0x477d('0x41b8')+_0x477d('0x3a52')+_0x477d('0x3a4b')+_0x477d('0x41b9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x413c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41ba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41bb')+_0x477d('0x413c')+_0x477d('0x41a3')+_0x477d('0x41bc')+_0x477d('0x41bd')+_0x477d('0x41be')+'\x0a'+'\x0a'+_0x477d('0x41bf')+'\x0a'+_0x477d('0x41c0')+_0x477d('0x377d')+_0x477d('0x41c1')+'\x0a'+'\x0a'+_0x477d('0x3e27')+_0x477d('0x3e28')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e12')+_0x477d('0x3f7a')+_0x477d('0x41c2')+_0x477d('0x3f7b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41c3')+_0x477d('0x41c4')+_0x477d('0x41c5')+_0x477d('0x4100')+_0x477d('0x41c6')+_0x477d('0x4102')+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41c7')+_0x477d('0x41c8')+_0x477d('0x41c9')+_0x477d('0x41ca')+_0x477d('0x41cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x20\x27blink\x27:\x20vm_dc.query.search\x20}\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x380f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x40da')+'\x20\x20\x0a'+_0x477d('0x41ce')+_0x477d('0x4108')+_0x477d('0x41cf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x410c')+_0x477d('0x41d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22CHAT.DELETE_SELECTED\x22>\x0a'+_0x477d('0x410f')+_0x477d('0x3d05')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4106')+_0x477d('0x4110')+_0x477d('0x41d1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4113')+_0x477d('0x4114')+_0x477d('0x416a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41d2')+_0x477d('0x41d3')+_0x477d('0x41d2')+_0x477d('0x41d3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41d4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x411d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.STARTEDAT\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41d5')+_0x477d('0x41d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41d7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.AGENT\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.TAGS\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x4115')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x411f')+_0x477d('0x4120')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41dd')+_0x477d('0x41de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41df')+_0x477d('0x41e0')+_0x477d('0x3939')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41e1')+_0x477d('0x41e2')+_0x477d('0x40da')+_0x477d('0x3939')+_0x477d('0x41e3')+_0x477d('0x41e4')+_0x477d('0x41e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3939')+_0x477d('0x41e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41e7')+_0x477d('0x41e8')+_0x477d('0x41e9')+_0x477d('0x41ea')+_0x477d('0x377d')+_0x477d('0x4123')+_0x477d('0x41eb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20interaction.createdAt\x20|\x20formatdate\x20}}\x0a'+_0x477d('0x412e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41ec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41ee')+_0x477d('0x41ef')+_0x477d('0x36a9')+_0x477d('0x40da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41f0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41f1')+_0x477d('0x41f2')+_0x477d('0x41f3')+_0x477d('0x41f4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41f5')+_0x477d('0x41f6')+_0x477d('0x41f7')+_0x477d('0x41f8')+_0x477d('0x41f4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4123')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{interaction.Owner.name}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41f9')+_0x477d('0x41fa')+_0x477d('0x41fb')+_0x477d('0x41fc')+_0x477d('0x41fd')+_0x477d('0x41fe')+_0x477d('0x41ff')+_0x477d('0x36a9')+_0x477d('0x412e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4154')+_0x477d('0x4130')+_0x477d('0x4155')+'\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4200')+_0x477d('0x4201')+_0x477d('0x4202')+_0x477d('0x3a52')+_0x477d('0x415b')+_0x477d('0x4203')+_0x477d('0x4204')+_0x477d('0x4205')+_0x477d('0x4206')+_0x477d('0x415b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4207')+_0x477d('0x4208')+_0x477d('0x4206')+_0x477d('0x415b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4209')+_0x477d('0x420a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x415c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4138')+_0x477d('0x411e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x420b')+_0x477d('0x417f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20interaction\x20available\x0a'+_0x477d('0x413b')+_0x477d('0x413c')+_0x477d('0x411e')+_0x477d('0x413d')+_0x477d('0x413e')+'\x20\x20\x0a'+_0x477d('0x420c')+_0x477d('0x3fa6')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e28')+_0x477d('0x3e29')+_0x477d('0x3e12')+_0x477d('0x3f7a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OFFLINEMESSAGES\x0a'+_0x477d('0x3f7b')+_0x477d('0x3e14')+_0x477d('0x420d')+_0x477d('0x420e')+_0x477d('0x420f')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20OfflineMessages\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4103')+_0x477d('0x382a')+_0x477d('0x4106')+'\x20\x20\x0a'+_0x477d('0x4108')+_0x477d('0x4210')+_0x477d('0x3b2c')+_0x477d('0x4211')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x410c')+_0x477d('0x4212')+_0x477d('0x410e')+_0x477d('0x410f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x40da')+'\x20\x20\x0a'+'\x20\x20\x0a'+_0x477d('0x4213')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4113')+_0x477d('0x4114')+_0x477d('0x416a')+_0x477d('0x4115')+_0x477d('0x4214')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.CONTACT\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x4115')+_0x477d('0x411d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.CREATED_AT\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x4115')+_0x477d('0x414c')+_0x477d('0x411e')+_0x477d('0x411f')+_0x477d('0x4120')+_0x477d('0x4215')+'>\x0a'+_0x477d('0x41da')+_0x477d('0x4216')+_0x477d('0x4123')+_0x477d('0x4217')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{offlineMessage.Contact.firstName}}\x0a'+_0x477d('0x4123')+_0x477d('0x41eb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20offlineMessage.createdAt\x20|\x20formatdate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x412f')+_0x477d('0x4154')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x0a'+_0x477d('0x4156')+_0x477d('0x4218')+_0x477d('0x4219')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SHOW\x20OfflineMessage\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x415b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x421a')+_0x477d('0x421b')+_0x477d('0x3a52')+_0x477d('0x415b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4137')+_0x477d('0x4138')+_0x477d('0x411e')+_0x477d('0x421c')+_0x477d('0x415e')+_0x477d('0x417f')+_0x477d('0x421d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x413c')+_0x477d('0x411e')+_0x477d('0x413d')+_0x477d('0x413e')+'\x20\x20\x0a'+_0x477d('0x421e')+_0x477d('0x3fa6')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e28')+_0x477d('0x3e29')+_0x477d('0x3e2a')+'\x0a'+_0x477d('0x3699')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x377d'));_0x143a79[_0x477d('0x390')](_0x477d('0xcb'),'\x0a'+_0x477d('0x421f')+_0x477d('0x4100')+_0x477d('0x4220')+_0x477d('0x3b2c')+_0x477d('0x4221')+_0x477d('0x4222')+_0x477d('0x4223')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-change=\x22vm.query.pauseTypeFilter\x20=\x20\x27\x27;\x20vm.onInit()\x22>\x0a'+_0x477d('0x4224')+_0x477d('0x4225')+_0x477d('0x4226')+_0x477d('0x4227')+_0x477d('0x4228')+_0x477d('0x3888')+'\x0a'+_0x477d('0x4229')+_0x477d('0x422a')+_0x477d('0x422b')+_0x477d('0x422c')+_0x477d('0x422d')+_0x477d('0x422e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AUTOPAUSE\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{pause.name}}\x0a'+_0x477d('0x3888')+_0x477d('0x3699')+_0x477d('0x422f')+'\x0a'+'\x0a'+_0x477d('0x4230')+_0x477d('0x4231')+_0x477d('0x4232')+_0x477d('0x4233')+_0x477d('0x4234')+_0x477d('0x4235')+_0x477d('0x4236')+_0x477d('0x4237')+_0x477d('0x4238')+_0x477d('0x4239')+_0x477d('0x423a')+_0x477d('0x423b')+_0x477d('0x423c')+_0x477d('0x423d')+_0x477d('0x423e')+_0x477d('0x41a3')+_0x477d('0x419a')+_0x477d('0x423f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.NAME\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x4240')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.STATUS\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x4241')+_0x477d('0x4242')+_0x477d('0x4243')+_0x477d('0x4244')+'\x0a'+_0x477d('0x4245')+_0x477d('0x4246')+'\x0a'+_0x477d('0x4247')+_0x477d('0x4248')+_0x477d('0x4249')+_0x477d('0x424a')+_0x477d('0x36bb')+_0x477d('0x419e')+'\x0a'+_0x477d('0x424b')+_0x477d('0x424c')+_0x477d('0x4249')+_0x477d('0x424d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x419e')+'\x0a'+_0x477d('0x424e')+_0x477d('0x424f')+_0x477d('0x4249')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.CAPACITY\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x36bb')+_0x477d('0x419e')+'\x0a'+_0x477d('0x4250')+_0x477d('0x4251')+_0x477d('0x4249')+_0x477d('0x4252')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x419e')+'\x0a'+_0x477d('0x4253')+_0x477d('0x4254')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27FAX.CAPACITY\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x36bb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4255')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4249')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.CAPACITY\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x36bb')+_0x477d('0x419e')+_0x477d('0x41a3')+_0x477d('0x41a4')+_0x477d('0x4256')+_0x477d('0x4257')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4258')+_0x477d('0x4259')+_0x477d('0x36bf')+_0x477d('0x413c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x425a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x425b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-src=\x22{{vm.agents[value].userpic\x20&&\x20\x27api/users/\x27+vm.agents[value].id+\x27/avatar\x27\x20||\x20\x27assets/images/avatars/profile.png\x27}}\x22>\x0a'+_0x477d('0x425c')+_0x477d('0x425d')+_0x477d('0x425e')+_0x477d('0x36a9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x413c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x425f')+_0x477d('0x4260')+_0x477d('0x4261')+_0x477d('0x3684')+_0x477d('0x4262')+_0x477d('0x4263')+_0x477d('0x4264')+_0x477d('0x4265')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4266')+_0x477d('0x368a')+_0x477d('0x36a9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3684')+_0x477d('0x4267')+_0x477d('0x4263')+_0x477d('0x4264')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.TOOLTIP_SCREENRECORDING_OFF\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x4268')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x368a')+_0x477d('0x36a9')+_0x477d('0x36bf')+_0x477d('0x413c')+'\x0a'+'\x0a'+'\x0a'+_0x477d('0x4269')+_0x477d('0x426a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27idle\x27:\x27lime-300-bg\x27,\x27busy\x27:\x27indigo-100-bg\x27,\x27*pause\x27:\x27amber-50-bg\x27,\x27pause\x27:\x27amber-200-bg\x27}[vm.agents[value].globalStatus]\x22>{{\x20vm.isPause(vm.agents[value].globalStatus)\x20?\x20\x27\x27\x20:\x20vm.agents[value].globalStatus\x20|\x20uppercase\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.isPause(vm.agents[value].globalStatus)\x20?\x20(vm.isPartialPause(vm.agents[value].globalStatus)\x20?\x20\x27*\x27+vm.agents[value].pauseType\x20||\x20\x27DEFAULT\x20PAUSE\x27\x20\x20:\x20vm.agents[value].pauseType\x20||\x20\x27DEFAULT\x20PAUSE\x27)\x20:\x20\x27\x27}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x426b')+_0x477d('0x426c')+_0x477d('0x426d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x426b')+_0x477d('0x426e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22vm.isPause(vm.agents[value].globalStatus)\x20||\x20vm.isPartialPause(vm.agents[value].globalStatus)\x22\x0a'+_0x477d('0x426f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hhours}}:{{mminutes}}:{{sseconds}}\x0a'+_0x477d('0x413c')+_0x477d('0x4270')+_0x477d('0x4271')+_0x477d('0x4272')+_0x477d('0x4273')+_0x477d('0x4274')+_0x477d('0x4275')+_0x477d('0x36bf')+_0x477d('0x413c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4276')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27idle\x27:\x27lime-300-fg\x27,\x27maxcapacity\x27:\x27red-A200-fg\x27,\x27working\x27:\x27indigo-100-fg\x27,\x27pause\x27:\x27amber-200-fg\x27}[vm.agents[value].voiceStatus]\x22>{{\x20vm.agents[value].queue\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.agents[value].destconnectedlinenum\x20}}\x0a'+_0x477d('0x4277')+_0x477d('0x4278')+_0x477d('0x4279')+_0x477d('0x427a')+_0x477d('0x427b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x413c')+'\x0a'+_0x477d('0x427c')+_0x477d('0x4271')+_0x477d('0x41ee')+_0x477d('0x427d')+_0x477d('0x427e')+_0x477d('0x36a9')+_0x477d('0x36bf')+_0x477d('0x413c')+_0x477d('0x427f')+_0x477d('0x4280')+_0x477d('0x4281')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4271')+_0x477d('0x41ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.agents[value].mailStatus\x20|\x20uppercase\x20}}\x0a'+_0x477d('0x36a9')+_0x477d('0x36bf')+_0x477d('0x413c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x427d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27idle\x27:\x27lime-300-bg\x27,\x27maxcapacity\x27:\x27red-A200-bg\x27,\x27working\x27:\x27indigo-100-bg\x27,\x27pause\x27:\x27amber-200-bg\x27}[vm.agents[value].smsStatus]\x22>{{\x20vm.agents[value].smsStatus\x20|\x20uppercase\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36bf')+_0x477d('0x413c')+_0x477d('0x4285')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27idle\x27:\x27lime-300-fg\x27,\x27maxcapacity\x27:\x27red-A200-fg\x27,\x27working\x27:\x27indigo-100-fg\x27,\x27pause\x27:\x27amber-200-fg\x27}[vm.agents[value].smsStatus]\x22>\x0a'+_0x477d('0x4286')+'\x0a'+_0x477d('0x4287')+_0x477d('0x4271')+_0x477d('0x41ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x428b')+_0x477d('0x4271')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x427d')+_0x477d('0x428c')+_0x477d('0x36a9')+_0x477d('0x36bf')+_0x477d('0x413c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.agents[value].whatsappStatus\x20|\x20uppercase\x20}}\x0a'+_0x477d('0x36a9')+_0x477d('0x36bf')+_0x477d('0x413c')+_0x477d('0x4290')+_0x477d('0x4291')+_0x477d('0x4292')+'\x0a'+_0x477d('0x4293')+_0x477d('0x3a43')+_0x477d('0x3d9e')+_0x477d('0x4294')+_0x477d('0x3a44')+_0x477d('0x3947')+'\x0a'+_0x477d('0x4295')+_0x477d('0x4296')+_0x477d('0x4297')+_0x477d('0x4298')+_0x477d('0x4299')+_0x477d('0x3a52')+_0x477d('0x3a4b')+_0x477d('0x4296')+_0x477d('0x429a')+_0x477d('0x429b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Add\x20Agent\x20In\x20Queue\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x429c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22vm.license.screenrecording\x20&&\x20vm.agents[value].phoneBarEnableScreenRecordingByAgent\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x429d')+_0x477d('0x429e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x429f')+_0x477d('0x42a0')+_0x477d('0x42a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22CHAT.START_SCREENRECORDING\x22>Start\x0a'+_0x477d('0x42a2')+_0x477d('0x3c30')+_0x477d('0x42a3')+_0x477d('0x42a4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22CHAT.STOP_SCREENRECORDING\x22>Stop\x0a'+_0x477d('0x42a2')+_0x477d('0x3c30')+_0x477d('0x42a5')+_0x477d('0x3c45')+_0x477d('0x3a4b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3c28')+_0x477d('0x429d')+_0x477d('0x42a6')+_0x477d('0x429f')+_0x477d('0x3c31')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x42ad')+_0x477d('0x42ae')+_0x477d('0x42af')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Unpause\x0a'+_0x477d('0x3a52')+_0x477d('0x3a4b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x42b0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41a3')+_0x477d('0x41bc')+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x0a'+_0x477d('0x42b1')+_0x477d('0x42b2')+'\x20\x20\x20\x20md-limit=\x22vm.query.limit\x22\x20md-limit-options=\x22[10,\x2015,\x2020,\x2050,\x20100,\x20250]\x22\x20md-page=\x22vm.query.page\x22\x0a'+_0x477d('0x42b3')+_0x477d('0x42b4')+_0x477d('0x42b5'));_0x143a79[_0x477d('0x390')](_0x477d('0x42b6'),_0x477d('0x42b7')+'\x0a'+_0x477d('0x4100')+_0x477d('0x42b8')+_0x477d('0x3b2c')+_0x477d('0x42b9')+_0x477d('0x3699')+_0x477d('0x422f')+'\x0a'+_0x477d('0x42ba')+'\x0a'+_0x477d('0x4231')+_0x477d('0x42bb')+_0x477d('0x419a')+_0x477d('0x42bc')+_0x477d('0x42bd')+_0x477d('0x42be')+_0x477d('0x42bf')+_0x477d('0x42c0')+_0x477d('0x42c1')+_0x477d('0x41a3')+_0x477d('0x41a4')+_0x477d('0x4256')+_0x477d('0x42c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4258')+_0x477d('0x42c3')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41a3')+_0x477d('0x42c4')+_0x477d('0x42c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x42c6')+_0x477d('0x413c')+_0x477d('0x41a7')+_0x477d('0x42c7')+_0x477d('0x413c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x42c8')+_0x477d('0x413c')+_0x477d('0x41a7')+_0x477d('0x42c9')+_0x477d('0x413c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a43')+_0x477d('0x42ca')+_0x477d('0x42cb')+_0x477d('0x3947')+'\x0a'+_0x477d('0x3a45')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x42cc')+_0x477d('0x42cd')+_0x477d('0x3a52')+_0x477d('0x3a4b')+_0x477d('0x42ce')+_0x477d('0x42cf')+_0x477d('0x42d0')+_0x477d('0x3a52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41b9')+_0x477d('0x42b0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41a3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x42d1')+'\x0a'+'\x0a'+_0x477d('0x42d2')+_0x477d('0x42d3')+_0x477d('0x41c1'));_0x143a79[_0x477d('0x390')](_0x477d('0xc6'),_0x477d('0x42d4')+_0x477d('0x3a18')+_0x477d('0x3b6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x42d5')+_0x477d('0x42d6')+_0x477d('0x42d7')+_0x477d('0x42d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x42d9')+_0x477d('0x42d6')+_0x477d('0x42da')+_0x477d('0x42d8')+_0x477d('0x384c')+_0x477d('0x42db')+'\x0a'+_0x477d('0x42dc')+'\x0a'+_0x477d('0x3699')+'\x20\x20\x20\x20\x0a'+_0x477d('0x377d'));_0x143a79[_0x477d('0x390')](_0x477d('0x42dd'),_0x477d('0x42de')+'\x0a'+_0x477d('0x39eb')+_0x477d('0x3bef')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x37cd')+_0x477d('0x39ec')+_0x477d('0x39ed')+_0x477d('0x42df')+_0x477d('0x3760')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Companies\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+_0x477d('0x39ef')+'\x0a'+_0x477d('0x39f0')+_0x477d('0x39f1')+_0x477d('0x39f2')+_0x477d('0x39f3')+_0x477d('0x39f4')+_0x477d('0x39f5')+_0x477d('0x3abf')+_0x477d('0x42e0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x39f7')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x0a'+_0x477d('0x39f8')+'\x0a'+_0x477d('0x39f9')+_0x477d('0x42e1')+_0x477d('0x39fa')+'\x0a'+_0x477d('0x42e2')+_0x477d('0x39fc')+_0x477d('0x39fd')+_0x477d('0x42e3')+_0x477d('0x372b')+_0x477d('0x36e5')+'\x0a'+_0x477d('0x39ff')+'\x0a'+_0x477d('0x3a00')+_0x477d('0x42e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedCompanies.length}}\x0a'+_0x477d('0x42e5')+_0x477d('0x3760')+'\x0a'+_0x477d('0x3daf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a08')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a09')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x42e6')+_0x477d('0x3a0c')+_0x477d('0x3832')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a0a')+_0x477d('0x42e7')+_0x477d('0x3a0e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a10')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3ac4')+_0x477d('0x42e8')+_0x477d('0x3a13')+_0x477d('0x3a14')+_0x477d('0x42e9')+_0x477d('0x42ea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x382a')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3a17')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3a19')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ac6')+'\x0a'+_0x477d('0x3a1b')+_0x477d('0x42eb')+_0x477d('0x3a1d')+_0x477d('0x3a1e')+_0x477d('0x42ec')+_0x477d('0x42ed')+_0x477d('0x3a21')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x42ee')+_0x477d('0x42ef')+_0x477d('0x42f0')+_0x477d('0x3acb')+_0x477d('0x3a2c')+_0x477d('0x3a2d')+_0x477d('0x3a2e')+_0x477d('0x42f1')+_0x477d('0x3db9')+_0x477d('0x3a30')+_0x477d('0x42f2')+_0x477d('0x3a31')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x42f3')+_0x477d('0x42f4')+_0x477d('0x42f5')+_0x477d('0x42f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a43')+'\x0a'+_0x477d('0x3d9e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22CONTACTMANAGER.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a'+_0x477d('0x3a44')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a45')+'\x0a'+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3adc')+'\x0a'+_0x477d('0x42fa')+_0x477d('0x42fb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Company\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3dc6')+'\x0a'+_0x477d('0x42fc')+_0x477d('0x42fd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20goToContacts\x20Company\x0a'+_0x477d('0x3a52')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3caf')+'\x0a'+_0x477d('0x42fe')+_0x477d('0x42ff')+_0x477d('0x4300')+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3692')+'\x0a'+_0x477d('0x3693')+_0x477d('0x3939')+'\x0a'+'\x0a'+_0x477d('0x3a2c')+_0x477d('0x3a56')+_0x477d('0x3ae2')+_0x477d('0x3a57')+'\x0a'+_0x477d('0x4301')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ae6')+'\x0a'+_0x477d('0x3699')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4302')+_0x477d('0x4303')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20company\x22\x20translate\x20translate-attr-aria-label=\x22CONTACTMANAGER.ADD_COMPANY\x22>\x0a'+_0x477d('0x3cb8')+_0x477d('0x3735')+_0x477d('0x4304')+_0x477d('0x3699'));_0x143a79[_0x477d('0x390')](_0x477d('0x1433'),_0x477d('0x4305')+_0x477d('0x4306')+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39da')+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x0a'+_0x477d('0x4307')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4308')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4309')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x430a')+_0x477d('0x430b')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x430c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x430d')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x430e')+_0x477d('0x430f')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x4310')+_0x477d('0x39d2')+_0x477d('0x4311')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x4312')+_0x477d('0x4313')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x4314')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4315')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x4316')+_0x477d('0x4317')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x4318')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x4319')+_0x477d('0x431a')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x431b')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x431c')+_0x477d('0x431d')+_0x477d('0x3e64')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x431e')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x431f')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x4320')+_0x477d('0x4321')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x4322')+_0x477d('0x39d2')+_0x477d('0x4323')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4324')+_0x477d('0x4325')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x4326')+_0x477d('0x39d2')+_0x477d('0x4327')+_0x477d('0x36bf')+_0x477d('0x4328')+_0x477d('0x4329')+_0x477d('0x36bf')+_0x477d('0x385b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x432a')+_0x477d('0x39d2')+_0x477d('0x432b')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x3ab5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+_0x477d('0x39dc')+_0x477d('0x387b')+_0x477d('0x432c')+_0x477d('0x39de')+_0x477d('0x432d')+_0x477d('0x432e')+_0x477d('0x39e0')+_0x477d('0x39e1')+'\x0a'+_0x477d('0x432f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x477d('0x4330')+_0x477d('0x4331')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20COMPANY\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x39e5')+_0x477d('0x4332')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22CONTACTMANAGER.DELETE\x22>\x0a'+_0x477d('0x3a16')+_0x477d('0x4333')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x39e9')+_0x477d('0x366a')+'\x0a');_0x143a79[_0x477d('0x390')](_0x477d('0x4334'),'\x0a'+'\x0a'+_0x477d('0x39eb')+_0x477d('0x3b62')+_0x477d('0x3b63')+_0x477d('0x4335')+_0x477d('0x4336')+_0x477d('0x4337')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x372b')+'\x0a'+_0x477d('0x387b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4338')+_0x477d('0x3670')+'\x0a'+_0x477d('0x38e8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4339')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.company.name}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b68')+_0x477d('0x433a')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x433b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22md-fab\x20md-warn\x20md-icon-button\x22\x0a'+_0x477d('0x433c')+_0x477d('0x433d')+_0x477d('0x433e')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e11')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+'\x0a'+_0x477d('0x3699')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a18')+_0x477d('0x3b6b')+'\x0a'+_0x477d('0x3b6c')+_0x477d('0x3e12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x433f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e14')+_0x477d('0x4340')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GENERAL\x0a'+_0x477d('0x385c')+_0x477d('0x3e17')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4341')+_0x477d('0x4307')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x3e1a')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Phone\x0a'+_0x477d('0x430b')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x4342')+_0x477d('0x39d2')+_0x477d('0x430d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x430e')+_0x477d('0x430f')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x4311')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x4312')+_0x477d('0x4313')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x4343')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Fax\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x4316')+_0x477d('0x4317')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x4344')+_0x477d('0x39d2')+_0x477d('0x4318')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x4319')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x431b')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x431c')+_0x477d('0x431d')+_0x477d('0x3e64')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x431e')+_0x477d('0x36bf')+_0x477d('0x3e61')+_0x477d('0x431f')+_0x477d('0x36bf')+_0x477d('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x4320')+_0x477d('0x4321')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x4345')+_0x477d('0x39d2')+_0x477d('0x4323')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x4324')+_0x477d('0x4325')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4346')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Email\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4329')+_0x477d('0x36bf')+_0x477d('0x385b')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x4347')+_0x477d('0x4348')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x3e25')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x432b')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e28')+_0x477d('0x3e29')+_0x477d('0x3e12')+_0x477d('0x3f7a')+_0x477d('0x4349')+_0x477d('0x3f7b')+_0x477d('0x3e14')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x434a')+_0x477d('0x385c')+_0x477d('0x434b')+_0x477d('0x3e18')+_0x477d('0x434c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Street\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x434e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4350')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4351')+_0x477d('0x4352')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x4353')+_0x477d('0x39d2')+_0x477d('0x4354')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x4355')+_0x477d('0x4356')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4357')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Country\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ab5')+_0x477d('0x3e26')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e28')+_0x477d('0x3e29')+_0x477d('0x3e12')+_0x477d('0x3f7a')+_0x477d('0x4358')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x3e14')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f7d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SHIPMENTADDRESS\x0a'+_0x477d('0x385c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e18')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Street\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4359')+_0x477d('0x36bf')+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Postal_Code\x0a'+_0x477d('0x435a')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x435b')+_0x477d('0x39d2')+_0x477d('0x4350')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x4351')+_0x477d('0x435c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x435d')+_0x477d('0x39d2')+_0x477d('0x4354')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x4355')+_0x477d('0x435e')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x435f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4360')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x3e26')+_0x477d('0x3e27')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e29')+_0x477d('0x3e2a')+'\x0a'+_0x477d('0x3699')+_0x477d('0x3a5a')+'\x0a'+'\x0a');_0x143a79[_0x477d('0x390')](_0x477d('0xed'),_0x477d('0x4361')+'\x0a'+_0x477d('0x39eb')+_0x477d('0x3bef')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x37cd')+_0x477d('0x39ec')+_0x477d('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Contacts\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39ef')+'\x0a'+_0x477d('0x3d3b')+_0x477d('0x3d3c')+_0x477d('0x3d3d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3d3e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4362')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3d41')+'\x0a'+_0x477d('0x3699')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39f9')+_0x477d('0x4363')+_0x477d('0x4364')+_0x477d('0x39fc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x42e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a00')+_0x477d('0x4365')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedContacts.length}}\x0a'+_0x477d('0x4366')+_0x477d('0x3760')+'\x0a'+_0x477d('0x3daf')+_0x477d('0x4367')+_0x477d('0x3a08')+_0x477d('0x3674')+_0x477d('0x3a09')+_0x477d('0x3a0a')+_0x477d('0x4368')+_0x477d('0x3a0c')+_0x477d('0x3832')+_0x477d('0x3a0f')+_0x477d('0x3a0a')+_0x477d('0x4369')+_0x477d('0x3a0e')+_0x477d('0x3832')+_0x477d('0x3a0f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a11')+_0x477d('0x36c0')+'\x0a'+_0x477d('0x3ac4')+_0x477d('0x436a')+_0x477d('0x3a13')+_0x477d('0x3a14')+_0x477d('0x436b')+_0x477d('0x3a16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a18')+_0x477d('0x3a19')+_0x477d('0x3a1a')+_0x477d('0x3ac6')+_0x477d('0x3c56')+_0x477d('0x436c')+_0x477d('0x436d')+_0x477d('0x436e')+_0x477d('0x436f')+_0x477d('0x4370')+_0x477d('0x4371')+_0x477d('0x436d')+_0x477d('0x436e')+_0x477d('0x4372')+_0x477d('0x4373')+_0x477d('0x4374')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20All\x0a'+_0x477d('0x4375')+_0x477d('0x3857')+_0x477d('0x3867')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4371')+_0x477d('0x436d')+_0x477d('0x436e')+_0x477d('0x4372')+_0x477d('0x4376')+_0x477d('0x4377')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20All\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{company.name}}\x0a'+_0x477d('0x3857')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4370')+_0x477d('0x4371')+_0x477d('0x436d')+_0x477d('0x436e')+_0x477d('0x4372')+_0x477d('0x4378')+_0x477d('0x4379')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{tag.name}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4370')+_0x477d('0x4371')+_0x477d('0x3670')+'\x0a'+_0x477d('0x437a')+_0x477d('0x437b')+_0x477d('0x437c')+_0x477d('0x437d')+_0x477d('0x437e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x437f')+_0x477d('0x4380')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27CONTACTMANAGER.PHONE\x27\x20|\x20translate}}\x0a'+_0x477d('0x4381')+_0x477d('0x4382')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27CONTACTMANAGER.LIST\x27\x20|\x20translate}}\x0a'+_0x477d('0x4383')+_0x477d('0x4384')+_0x477d('0x4385')+_0x477d('0x4386')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4387')+_0x477d('0x4388')+_0x477d('0x4389')+_0x477d('0x438a')+_0x477d('0x438b')+_0x477d('0x438c')+_0x477d('0x4386')+_0x477d('0x438d')+_0x477d('0x438e')+_0x477d('0x438f')+_0x477d('0x4390')+_0x477d('0x4391')+_0x477d('0x4392')+_0x477d('0x4393')+_0x477d('0x4394')+_0x477d('0x4395')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4396')+_0x477d('0x4397')+_0x477d('0x4398')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201\x22\x20layout=\x22column\x22\x20layout-align=\x22center\x20center\x22>\x0a'+_0x477d('0x4399')+_0x477d('0x439a')+_0x477d('0x439b')+_0x477d('0x439c')+_0x477d('0x3b86')+_0x477d('0x438b')+_0x477d('0x438c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x439d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3c34')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x439e')+_0x477d('0x439f')+_0x477d('0x43a0')+_0x477d('0x3bad')+_0x477d('0x43a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x43a2')+_0x477d('0x3bad')+_0x477d('0x43a1')+_0x477d('0x439e')+_0x477d('0x43a3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Duplicate\x20Contact\x0a'+_0x477d('0x3bad')+_0x477d('0x43a1')+_0x477d('0x43a4')+_0x477d('0x43a5')+_0x477d('0x43a6')+_0x477d('0x43a7')+_0x477d('0x3bad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x43a8')+_0x477d('0x438c')+_0x477d('0x4386')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x43a9')+_0x477d('0x43aa')+'\x0a'+_0x477d('0x43ab')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-page=\x22vm.query.page\x22\x20md-total=\x22{{vm.contacts.count}}\x22\x20md-on-paginate=\x22vm.getContacts\x22\x20md-page-select>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x43ac')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3ae6')+_0x477d('0x3699')+_0x477d('0x3a5a')+'\x0a'+_0x477d('0x43ad')+_0x477d('0x43ae')+_0x477d('0x43af')+_0x477d('0x43b0')+_0x477d('0x43b1')+_0x477d('0x372b')+_0x477d('0x43b2')+_0x477d('0x43b3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x43bd')+'\x20\x20\x20\x20\x0a'+_0x477d('0x43be')+_0x477d('0x377d'));_0x143a79[_0x477d('0x390')](_0x477d('0x1474'),_0x477d('0x43bf')+_0x477d('0x43c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x3aea')+_0x477d('0x3aeb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x3aed')+_0x477d('0x3aee')+_0x477d('0x36bf')+_0x477d('0x3aef')+_0x477d('0x3af0')+_0x477d('0x3674')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x36c0')+'\x0a'+_0x477d('0x383b')+_0x477d('0x43c1')+_0x477d('0x43c2')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x43c3')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+'\x0a'+_0x477d('0x383b')+_0x477d('0x43c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+'\x0a'+_0x477d('0x383b')+_0x477d('0x430a')+_0x477d('0x43c5')+_0x477d('0x36a1')+'\x0a'+_0x477d('0x383b')+_0x477d('0x4324')+_0x477d('0x43c6')+_0x477d('0x36a1')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x43c7')+_0x477d('0x43c8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x383b')+_0x477d('0x4312')+_0x477d('0x43c9')+_0x477d('0x36a1')+'\x0a'+_0x477d('0x383b')+_0x477d('0x43ca')+_0x477d('0x43cb')+_0x477d('0x43cc')+_0x477d('0x43cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20None\x0a'+_0x477d('0x3b31')+_0x477d('0x36a0')+'\x0a'+_0x477d('0x43ce')+_0x477d('0x39d2')+_0x477d('0x43cf')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+'\x0a'+_0x477d('0x43d0')+_0x477d('0x43d1')+_0x477d('0x43d2')+'\x0a'+_0x477d('0x43d3')+_0x477d('0x43d4')+_0x477d('0x43d5')+_0x477d('0x36bf')+_0x477d('0x3670')+'\x0a'+_0x477d('0x43d6')+_0x477d('0x43d2')+'\x0a'+_0x477d('0x43d7')+_0x477d('0x43d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20None\x0a'+_0x477d('0x3b15')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x43d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x43da')+_0x477d('0x43db')+_0x477d('0x3670')+'\x0a'+_0x477d('0x43dc')+_0x477d('0x43d2')+'\x0a'+_0x477d('0x43dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x383b')+_0x477d('0x43de')+_0x477d('0x43df')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{company.name}}\x0a'+_0x477d('0x36a0')+_0x477d('0x36a1')+'\x0a'+_0x477d('0x43e0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20All\x20Fields\x0a'+_0x477d('0x36c0')+'\x0a'+_0x477d('0x43e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Date\x20of\x20Birth\x0a'+_0x477d('0x43e2')+_0x477d('0x36a1')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Country\x0a'+_0x477d('0x43e3')+_0x477d('0x36a1')+'\x0a'+_0x477d('0x43e4')+_0x477d('0x4351')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+'\x0a'+_0x477d('0x43e4')+_0x477d('0x434c')+_0x477d('0x43e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x43e4')+_0x477d('0x43e6')+_0x477d('0x43e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x43e4')+_0x477d('0x43e8')+_0x477d('0x43e9')+_0x477d('0x36a1')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Fewer\x20Fields\x0a'+_0x477d('0x36c0')+'\x0a'+_0x477d('0x3aea')+_0x477d('0x3aeb')+_0x477d('0x3aec')+_0x477d('0x3aed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3af0')+_0x477d('0x3674')+_0x477d('0x3670')+_0x477d('0x36c0')+_0x477d('0x3663')+'\x0a'+_0x477d('0x3b1a')+_0x477d('0x3b1b')+_0x477d('0x43ea')+_0x477d('0x387d')+_0x477d('0x387e')+'\x0a'+_0x477d('0x43eb')+_0x477d('0x43ec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x43ed')+_0x477d('0x3a16')+_0x477d('0x4333')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')]('app/main/apps/contactmanager/views/contacts/duplicate/dialog.html',_0x477d('0x43ee')+'\x20\x20\x20\x20\x0a'+_0x477d('0x381e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c1')+_0x477d('0x3843')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3aea')+_0x477d('0x3aeb')+_0x477d('0x3aec')+_0x477d('0x3aed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x36bf')+_0x477d('0x3aef')+_0x477d('0x3af0')+_0x477d('0x3674')+_0x477d('0x3670')+_0x477d('0x36c0')+'\x0a'+_0x477d('0x383b')+_0x477d('0x43ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x43ef')+_0x477d('0x36a0')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x43cf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3aea')+_0x477d('0x3aeb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x3aed')+_0x477d('0x3aee')+_0x477d('0x36bf')+_0x477d('0x3aef')+_0x477d('0x3af0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3b1a')+_0x477d('0x387b')+_0x477d('0x43f0')+_0x477d('0x43ec')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x366a')+_0x477d('0x366b'));_0x143a79['put'](_0x477d('0x43f1'),_0x477d('0x43f2')+_0x477d('0x43f3')+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3660')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3aea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x3aee')+_0x477d('0x36bf')+_0x477d('0x3aef')+_0x477d('0x3af0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36c0')+_0x477d('0x43f4')+_0x477d('0x43f5')+_0x477d('0x43f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x43f7')+_0x477d('0x36a9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x43f8')+_0x477d('0x36a9')+_0x477d('0x36bf')+_0x477d('0x43f9')+_0x477d('0x36c0')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x43fa')+_0x477d('0x43fb')+_0x477d('0x399e')+_0x477d('0x43fc')+_0x477d('0x36a9')+_0x477d('0x3f04')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Time\x20is\x20invalid\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+'\x0a'+_0x477d('0x3aea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x3aed')+_0x477d('0x3aee')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3af0')+_0x477d('0x3674')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x36c0')+_0x477d('0x3663')+'\x0a'+_0x477d('0x3b1a')+_0x477d('0x3b1b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x43fd')+_0x477d('0x43fe')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3c56')+_0x477d('0x43ff')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x366a')+_0x477d('0x366b'));_0x143a79['put'](_0x477d('0x4400'),_0x477d('0x4401')+'\x0a'+_0x477d('0x39eb')+_0x477d('0x3b62')+_0x477d('0x3b63')+_0x477d('0x4402')+_0x477d('0x3e04')+_0x477d('0x387e')+'\x0a'+_0x477d('0x3bff')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4403')+_0x477d('0x36bf')+'\x0a'+_0x477d('0x4404')+_0x477d('0x4405')+_0x477d('0x4406')+_0x477d('0x36a9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4407')+_0x477d('0x36a9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36e5')+'\x0a'+_0x477d('0x4408')+_0x477d('0x4409')+_0x477d('0x440a')+_0x477d('0x440b')+_0x477d('0x440c')+_0x477d('0x440d')+_0x477d('0x3674')+_0x477d('0x440e')+_0x477d('0x440f')+_0x477d('0x4410')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4411')+_0x477d('0x4412')+_0x477d('0x4413')+_0x477d('0x4414')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x4415')+_0x477d('0x36e5')+'\x0a'+_0x477d('0x4416')+_0x477d('0x4417')+_0x477d('0x4418')+_0x477d('0x372b')+_0x477d('0x4419')+_0x477d('0x3b6a')+_0x477d('0x372b')+_0x477d('0x36e5')+_0x477d('0x3699')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a18')+_0x477d('0x3b6b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b6d')+_0x477d('0x3b6e')+_0x477d('0x441a')+_0x477d('0x3b6f')+'\x0a'+_0x477d('0x3b7e')+_0x477d('0x4271')+_0x477d('0x441b')+_0x477d('0x441c')+_0x477d('0x3bba')+_0x477d('0x441d')+_0x477d('0x382a')+_0x477d('0x441e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x441f')+_0x477d('0x4420')+_0x477d('0x4421')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4422')+'\x0a'+_0x477d('0x4423')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4424')+_0x477d('0x3b86')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4425')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4420')+_0x477d('0x4426')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4427')+'\x0a'+_0x477d('0x385c')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4428')+_0x477d('0x4420')+_0x477d('0x4429')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x442a')+_0x477d('0x4427')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x442b')+_0x477d('0x4420')+_0x477d('0x442c')+_0x477d('0x442d')+_0x477d('0x442e')+_0x477d('0x4427')+_0x477d('0x385c')+'\x0a'+_0x477d('0x442f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4420')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Email\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4430')+_0x477d('0x4423')+_0x477d('0x4431')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Email\x20must\x20be\x20a\x20valid\x20e-mail\x20address\x0a'+_0x477d('0x3b86')+_0x477d('0x438b')+_0x477d('0x4427')+_0x477d('0x4425')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4420')+_0x477d('0x4432')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4433')+_0x477d('0x4427')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x442f')+_0x477d('0x4434')+_0x477d('0x4435')+_0x477d('0x4436')+_0x477d('0x4427')+_0x477d('0x385c')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4437')+_0x477d('0x4438')+_0x477d('0x4439')+_0x477d('0x443a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x443b')+_0x477d('0x443c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x443d')+_0x477d('0x443e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x443f')+_0x477d('0x4440')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Companies\x0a'+_0x477d('0x4441')+_0x477d('0x385c')+'\x0a'+_0x477d('0x442f')+_0x477d('0x4442')+_0x477d('0x4443')+_0x477d('0x4444')+_0x477d('0x4445')+_0x477d('0x4446')+_0x477d('0x4447')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x443d')+_0x477d('0x4427')+_0x477d('0x4448')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4449')+_0x477d('0x444a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x385c')+'\x0a'+_0x477d('0x444b')+_0x477d('0x444c')+_0x477d('0x385c')+'\x0a'+_0x477d('0x444d')+_0x477d('0x444e')+_0x477d('0x444f')+_0x477d('0x4450')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Country\x0a'+_0x477d('0x4451')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4452')+_0x477d('0x4453')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4450')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20City\x0a'+_0x477d('0x4454')+_0x477d('0x4452')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x444e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4455')+_0x477d('0x4450')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Street\x0a'+_0x477d('0x4456')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4457')+_0x477d('0x4450')+_0x477d('0x4458')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4452')+_0x477d('0x385b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4450')+_0x477d('0x4459')+_0x477d('0x445a')+_0x477d('0x445b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x385b')+'\x0a'+_0x477d('0x3c77')+_0x477d('0x445c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x385c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x445d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x445e')+_0x477d('0x445f')+_0x477d('0x3f01')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4460')+_0x477d('0x4461')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4462')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4463')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4464')+_0x477d('0x4465')+_0x477d('0x4466')+_0x477d('0x4467')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4460')+_0x477d('0x4468')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4469')+_0x477d('0x446a')+_0x477d('0x446b')+_0x477d('0x446c')+_0x477d('0x4468')+_0x477d('0x446d')+_0x477d('0x446e')+_0x477d('0x446f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x382a')+_0x477d('0x4460')+_0x477d('0x4468')+_0x477d('0x4470')+_0x477d('0x4471')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x446b')+_0x477d('0x446c')+_0x477d('0x4468')+_0x477d('0x4472')+_0x477d('0x4473')+_0x477d('0x4474')+_0x477d('0x446b')+_0x477d('0x382a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x40b9')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3bba')+_0x477d('0x4475')+_0x477d('0x382a')+_0x477d('0x4476')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4477')+_0x477d('0x4478')+_0x477d('0x4479')+_0x477d('0x447a')+_0x477d('0x447b')+_0x477d('0x447c')+_0x477d('0x447d')+_0x477d('0x446b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x447e')+_0x477d('0x447f')+_0x477d('0x4480')+_0x477d('0x4481')+_0x477d('0x4482')+_0x477d('0x438b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4483')+_0x477d('0x447f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4484')+_0x477d('0x447b')+_0x477d('0x443d')+_0x477d('0x4427')+'\x0a'+_0x477d('0x4485')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4486')+_0x477d('0x4487')+_0x477d('0x4427')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x447f')+_0x477d('0x4488')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x385c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a9')+_0x477d('0x36bf')+_0x477d('0x3b7b')+_0x477d('0x3b7c')+'\x0a'+_0x477d('0x4489')+_0x477d('0x3b6e')+_0x477d('0x448a')+_0x477d('0x3b6f')+'\x0a'+_0x477d('0x3b7e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x448b')+_0x477d('0x3b81')+_0x477d('0x448c')+_0x477d('0x3b8a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x448d')+_0x477d('0x448e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3691')+_0x477d('0x385c')+_0x477d('0x3b8d')+'\x0a'+_0x477d('0x448f')+_0x477d('0x3b91')+_0x477d('0x4490')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b93')+_0x477d('0x4491')+_0x477d('0x4492')+_0x477d('0x4493')+_0x477d('0x4494')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CONTACTMANAGER.RECALLME\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CONTACTMANAGER.VOICEQUEUEID\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x4495')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4496')+_0x477d('0x4497')+_0x477d('0x4498')+_0x477d('0x4499')+_0x477d('0x3ba4')+_0x477d('0x3b9b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x449a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hopper.phone}}\x0a'+_0x477d('0x449b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.arraypriority[hopper.priority].option\x20}}\x0a'+_0x477d('0x449c')+_0x477d('0x449d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hopper.VoiceQueueId}}\x0a'+_0x477d('0x449e')+_0x477d('0x449f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3bad')+'\x0a'+_0x477d('0x44a0')+_0x477d('0x42ce')+_0x477d('0x44a1')+_0x477d('0x44a2')+_0x477d('0x3bb2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Hopper\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3bb4')+_0x477d('0x42ce')+_0x477d('0x44a3')+_0x477d('0x44a4')+_0x477d('0x3bb2')+_0x477d('0x3bb4')+_0x477d('0x3bb5')+_0x477d('0x44a5')+_0x477d('0x3ba4')+_0x477d('0x3b9b')+_0x477d('0x3bb6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3bb8')+'\x0a'+_0x477d('0x44a6')+_0x477d('0x44a7')+_0x477d('0x36a9')+_0x477d('0x36bf')+'\x0a'+_0x477d('0x4271')+_0x477d('0x44a8')+_0x477d('0x448b')+_0x477d('0x3b81')+_0x477d('0x44a9')+_0x477d('0x3b8a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27CONTACTMANAGER.RELOAD\x27\x20|\x20translate}}\x0a'+_0x477d('0x44aa')+_0x477d('0x3691')+_0x477d('0x385c')+_0x477d('0x3b8d')+'\x0a'+_0x477d('0x448f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x44ab')+_0x477d('0x3b93')+_0x477d('0x44ac')+_0x477d('0x44ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CONTACTMANAGER.STATE\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x44ae')+_0x477d('0x44af')+_0x477d('0x3b9b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4498')+_0x477d('0x4499')+_0x477d('0x3ba4')+_0x477d('0x3b9b')+_0x477d('0x44b0')+_0x477d('0x44b1')+_0x477d('0x44b2')+_0x477d('0x44b3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{final.starttime\x20|\x20date:\x27medium\x27}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{final.disposition}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3bb6')+_0x477d('0x3bb7')+_0x477d('0x3bb8')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x44a7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36bf')+'\x0a'+_0x477d('0x4271')+_0x477d('0x44a8')+_0x477d('0x448b')+_0x477d('0x3b81')+_0x477d('0x44b4')+_0x477d('0x3b8a')+_0x477d('0x44b5')+_0x477d('0x44b6')+_0x477d('0x448e')+_0x477d('0x44aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x385c')+_0x477d('0x3b8d')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b91')+_0x477d('0x4490')+_0x477d('0x44b7')+_0x477d('0x3b93')+_0x477d('0x44ac')+_0x477d('0x44ad')+_0x477d('0x44b8')+_0x477d('0x4493')+_0x477d('0x44ae')+_0x477d('0x44b9')+_0x477d('0x3b9b')+_0x477d('0x3b9c')+_0x477d('0x44ba')+_0x477d('0x44bb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4497')+_0x477d('0x4498')+_0x477d('0x4499')+_0x477d('0x3ba4')+_0x477d('0x3b9b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x44bc')+_0x477d('0x44bd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{history.statedesc}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{history.scheduledat\x20|\x20date:\x27medium\x27}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{history.starttime\x20|\x20date:\x27medium\x27}}\x0a'+_0x477d('0x44be')+_0x477d('0x3b9b')+_0x477d('0x3bb6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3bb8')+'\x0a'+_0x477d('0x44bf')+_0x477d('0x44a7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36bf')+_0x477d('0x3b7b')+_0x477d('0x3b7c')+'\x0a'+_0x477d('0x44c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x44c1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3b7e')+_0x477d('0x4271')+_0x477d('0x44a8')+_0x477d('0x448b')+_0x477d('0x3b81')+_0x477d('0x44c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x44c3')+_0x477d('0x385c')+_0x477d('0x3b8d')+'\x0a'+_0x477d('0x44c4')+_0x477d('0x3b91')+_0x477d('0x4490')+_0x477d('0x44c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4491')+_0x477d('0x44ae')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CONTACTMANAGER.ENDTIME\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x44c6')+_0x477d('0x44c7')+_0x477d('0x44c8')+_0x477d('0x3b9b')+_0x477d('0x3b9c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x44c9')+_0x477d('0x44ca')+_0x477d('0x4497')+_0x477d('0x4498')+_0x477d('0x4499')+_0x477d('0x3ba4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x44cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{session.starttime\x20|\x20date:\x27medium\x27}}\x0a'+_0x477d('0x44cc')+_0x477d('0x44cd')+_0x477d('0x44ce')+_0x477d('0x44cf')+_0x477d('0x3b9b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3bb8')+'\x0a'+_0x477d('0x44a6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a9')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b7c')+'\x0a'+_0x477d('0x3b6d')+_0x477d('0x3b6e')+_0x477d('0x44d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3b7e')+_0x477d('0x44d1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x384b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b7c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3699')+_0x477d('0x3a5a')+'\x0a'+_0x477d('0x377d'));_0x143a79[_0x477d('0x390')](_0x477d('0x44d2'),_0x477d('0x44d3')+_0x477d('0x44d4')+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x44d5')+_0x477d('0x44d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3660')+'\x0a'+_0x477d('0x44d7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x3aea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3aec')+_0x477d('0x3aed')+_0x477d('0x3aee')+_0x477d('0x36bf')+_0x477d('0x3aef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3674')+_0x477d('0x3670')+_0x477d('0x36c0')+'\x0a'+_0x477d('0x3a00')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CONTACT\x20MANAGER\x0a'+'\x0a'+_0x477d('0x44d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20field\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x44d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3c04')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x0a'+_0x477d('0x44da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{list.name}}\x0a'+_0x477d('0x44db')+_0x477d('0x3c04')+'\x0a'+_0x477d('0x44dc')+_0x477d('0x44dd')+_0x477d('0x44de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20field\x20}}\x0a'+_0x477d('0x44df')+_0x477d('0x44d9')+_0x477d('0x44e0')+_0x477d('0x44db')+_0x477d('0x3c04')+'\x0a'+_0x477d('0x44e1')+_0x477d('0x44e2')+_0x477d('0x44e3')+_0x477d('0x44e4')+_0x477d('0x44e5')+_0x477d('0x44e6')+_0x477d('0x44e0')+_0x477d('0x44db')+_0x477d('0x3c04')+'\x0a'+_0x477d('0x44e1')+_0x477d('0x44e7')+_0x477d('0x44e8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3c04')+'\x0a'+_0x477d('0x44e9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MOTION\x20BULL\x0a'+'\x0a'+_0x477d('0x44ea')+_0x477d('0x44eb')+_0x477d('0x44ec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20field\x20}}\x0a'+_0x477d('0x44ed')+_0x477d('0x44ee')+_0x477d('0x44ef')+_0x477d('0x44f0')+_0x477d('0x3851')+_0x477d('0x36bf')+'\x0a'+_0x477d('0x44f1')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x44f2')+_0x477d('0x44f3')+_0x477d('0x44f4')+_0x477d('0x36a9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36bf')+_0x477d('0x3670')+'\x0a'+_0x477d('0x44f5')+_0x477d('0x44f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x44f7')+_0x477d('0x44f8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x44f9')+_0x477d('0x44fa')+_0x477d('0x385c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Please\x20wait,\x20we\x20are\x20processing\x20your\x20contacts...\x0a'+_0x477d('0x382a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x44fb')+_0x477d('0x44fc')+_0x477d('0x44fd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x44f7')+_0x477d('0x44f8')+_0x477d('0x44fe')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x385c')+_0x477d('0x44ff')+_0x477d('0x382a')+_0x477d('0x4500')+_0x477d('0x44fb')+_0x477d('0x44fc')+_0x477d('0x4501')+'\x0a'+_0x477d('0x4502')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x44f7')+_0x477d('0x44f8')+_0x477d('0x44fe')+_0x477d('0x4503')+_0x477d('0x4504')+_0x477d('0x385c')+_0x477d('0x4505')+_0x477d('0x382a')+_0x477d('0x4500')+_0x477d('0x44fb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4506')+_0x477d('0x4507')+_0x477d('0x44f7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x44f9')+_0x477d('0x4508')+_0x477d('0x385c')+_0x477d('0x4509')+_0x477d('0x382a')+_0x477d('0x4500')+_0x477d('0x44fb')+_0x477d('0x44fc')+_0x477d('0x450a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x36c0')+_0x477d('0x3663')+'\x0a'+_0x477d('0x3b1a')+_0x477d('0x3c56')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x450b')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x450c')+_0x477d('0x387e')+_0x477d('0x450d')+_0x477d('0x450e')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3669')+'\x20\x20\x20\x20\x0a'+'');_0x143a79[_0x477d('0x390')]('app/main/apps/contactmanager/views/contacts/merge/dialog.html',_0x477d('0x450f')+_0x477d('0x43c0')+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x3aea')+_0x477d('0x3aeb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x3aed')+_0x477d('0x3aee')+_0x477d('0x36bf')+_0x477d('0x3aef')+_0x477d('0x3af0')+_0x477d('0x3674')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x36c0')+'\x0a'+_0x477d('0x4510')+_0x477d('0x4511')+_0x477d('0x4512')+_0x477d('0x36a1')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4513')+_0x477d('0x4514')+_0x477d('0x4515')+_0x477d('0x3752')+_0x477d('0x4516')+_0x477d('0x4517')+_0x477d('0x4518')+_0x477d('0x36bf')+_0x477d('0x3747')+_0x477d('0x3748')+'\x0a'+_0x477d('0x3aea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3aec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36c0')+_0x477d('0x3663')+'\x20\x20\x20\x20\x0a'+'');_0x143a79[_0x477d('0x390')](_0x477d('0x1513'),_0x477d('0x4519')+_0x477d('0x451a')+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Alias\x0a'+_0x477d('0x451b')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ce')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x451c')+_0x477d('0x39d2')+_0x477d('0x451d')+_0x477d('0x36bf')+_0x477d('0x39d9')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x4319')+_0x477d('0x451e')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x451f')+_0x477d('0x3dda')+_0x477d('0x3de0')+_0x477d('0x4520')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4521')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x431b')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4529')+_0x477d('0x452a')+_0x477d('0x452b')+_0x477d('0x452c')+_0x477d('0x452d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20All\x0a'+_0x477d('0x452e')+_0x477d('0x452d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x452f')+_0x477d('0x4530')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x4531')+_0x477d('0x4532')+_0x477d('0x413b')+_0x477d('0x4533')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a'+_0x477d('0x452e')+_0x477d('0x452d')+_0x477d('0x3747')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4534')+_0x477d('0x4535')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Items\x0a'+_0x477d('0x3747')+_0x477d('0x452f')+_0x477d('0x36c0')+_0x477d('0x3e73')+_0x477d('0x4536')+_0x477d('0x3eb4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3eb4')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c6')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39dc')+_0x477d('0x387b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39e0')+_0x477d('0x39e1')+'\x0a'+_0x477d('0x4538')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22globalCustomFieldForm.$invalid\x22\x0a'+_0x477d('0x4539')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20GLOBALCUSTOMFIELD\x0a'+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39e5')+_0x477d('0x453a')+_0x477d('0x453b')+_0x477d('0x3a16')+_0x477d('0x4333')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x39e9')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79['put']('app/main/apps/contactmanager/views/globalCustomFields/globalCustomFields.html',_0x477d('0x453c')+'\x0a'+_0x477d('0x39eb')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3abc')+_0x477d('0x37cd')+_0x477d('0x39ec')+_0x477d('0x39ed')+_0x477d('0x42df')+_0x477d('0x3760')+_0x477d('0x453d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39f0')+_0x477d('0x39f1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39f3')+_0x477d('0x39f4')+_0x477d('0x39f5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x42e0')+_0x477d('0x39a2')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x0a'+_0x477d('0x39f8')+'\x0a'+_0x477d('0x39f9')+_0x477d('0x453e')+_0x477d('0x39fa')+'\x0a'+_0x477d('0x453f')+_0x477d('0x39fc')+_0x477d('0x39fd')+_0x477d('0x42e3')+_0x477d('0x372b')+_0x477d('0x36e5')+'\x0a'+_0x477d('0x39ff')+'\x0a'+_0x477d('0x3a00')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4540')+_0x477d('0x42e5')+_0x477d('0x3760')+'\x0a'+_0x477d('0x3daf')+_0x477d('0x3a04')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22$mdOpenMenu($event)\x22\x0a'+_0x477d('0x3a06')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22CONTACTMANAGER.MULTI_SELECT_TOGGLE\x22>\x0a'+_0x477d('0x3a08')+_0x477d('0x3674')+_0x477d('0x3a09')+_0x477d('0x3a0a')+_0x477d('0x4541')+_0x477d('0x3a0c')+_0x477d('0x3832')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a0a')+_0x477d('0x4542')+_0x477d('0x3a0e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x36c0')+'\x0a'+_0x477d('0x3ac4')+_0x477d('0x4543')+_0x477d('0x3a13')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4544')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22CONTACTMANAGER.DELETE_SELECTED\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x382a')+_0x477d('0x36e5')+_0x477d('0x3699')+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3a19')+'\x0a'+_0x477d('0x3a1a')+_0x477d('0x3ac6')+'\x0a'+_0x477d('0x3a1b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a1d')+_0x477d('0x3a1e')+_0x477d('0x4545')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a21')+_0x477d('0x3a22')+_0x477d('0x42ee')+_0x477d('0x4546')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CONTACTMANAGER.TYPE\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x4547')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a2c')+_0x477d('0x3a2d')+_0x477d('0x3a2e')+_0x477d('0x4548')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a30')+_0x477d('0x42f2')+_0x477d('0x3a31')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a2c')+_0x477d('0x4549')+_0x477d('0x454a')+_0x477d('0x454b')+_0x477d('0x454c')+_0x477d('0x454d')+_0x477d('0x454e')+_0x477d('0x454f')+_0x477d('0x4550')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22type\x20\x22>{{\x20vm.arraytype[globalCustomField.type].option\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4554')+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3caf')+'\x0a'+_0x477d('0x4555')+_0x477d('0x4556')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20GlobalCustomField\x0a'+_0x477d('0x3a52')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ae2')+_0x477d('0x3a57')+'\x0a'+_0x477d('0x4557')+_0x477d('0x3ae4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a59')+'\x0a'+_0x477d('0x3cb5')+_0x477d('0x36e5')+_0x477d('0x3ae6')+'\x0a'+_0x477d('0x3699')+_0x477d('0x3a5a')+'\x0a'+_0x477d('0x4558')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3699'));_0x143a79['put'](_0x477d('0x455a'),_0x477d('0x455b')+_0x477d('0x455c')+_0x477d('0x381e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4341')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d6')+_0x477d('0x455d')+_0x477d('0x39d2')+_0x477d('0x4309')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x4347')+_0x477d('0x455e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+_0x477d('0x39dc')+_0x477d('0x387b')+_0x477d('0x455f')+_0x477d('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22listForm.$invalid\x20||\x20listForm.$pristine\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22CONTACTMANAGER.SAVE\x22\x20translate-attr-aria-label=\x22CONTACTMANAGER.SAVE\x22>\x0a'+_0x477d('0x39e0')+_0x477d('0x39e1')+'\x0a'+_0x477d('0x4560')+_0x477d('0x3c8b')+_0x477d('0x4561')+_0x477d('0x4562')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20LIST\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x1569'),_0x477d('0x4563')+_0x477d('0x4564')+_0x477d('0x3d23')+_0x477d('0x3dfa')+_0x477d('0x4565')+_0x477d('0x3d25')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3660')+_0x477d('0x3661')+_0x477d('0x3dfb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3dfc')+_0x477d('0x3dfd')+_0x477d('0x3dfe')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x477d('0x372b')+_0x477d('0x3669')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3840'));_0x143a79['put'](_0x477d('0x4566'),'\x0a'+_0x477d('0x4567')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Alias\x0a'+_0x477d('0x4568')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x451d')+_0x477d('0x36bf')+_0x477d('0x39d9')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x4319')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Switch\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x456b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x431b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x456c')+_0x477d('0x4534')+_0x477d('0x4529')+_0x477d('0x456d')+_0x477d('0x452b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x452d')+_0x477d('0x456e')+_0x477d('0x456f')+_0x477d('0x452e')+_0x477d('0x452d')+_0x477d('0x3747')+_0x477d('0x452f')+_0x477d('0x4530')+_0x477d('0x4570')+_0x477d('0x4571')+_0x477d('0x4531')+_0x477d('0x4532')+_0x477d('0x413b')+_0x477d('0x4572')+_0x477d('0x4573')+_0x477d('0x452e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3747')+_0x477d('0x452f')+_0x477d('0x4534')+_0x477d('0x4574')+_0x477d('0x4575')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4576')+_0x477d('0x3eb4')+_0x477d('0x3867')+_0x477d('0x3eb4')+_0x477d('0x39c3')+_0x477d('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x39db')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+_0x477d('0x39dc')+_0x477d('0x387b')+_0x477d('0x4577')+_0x477d('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22customFieldForm.$invalid\x20||\x20customFieldForm.$pristine\x22\x0a'+_0x477d('0x432e')+_0x477d('0x39e0')+_0x477d('0x39e1')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4579')+_0x477d('0x453b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4333')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39e9')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0xde'),_0x477d('0x457a')+'\x0a'+_0x477d('0x39eb')+_0x477d('0x3b62')+_0x477d('0x3b63')+_0x477d('0x457b')+_0x477d('0x457c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22CONTACTMANAGER.GO_TO_LISTS\x22>\x0a'+_0x477d('0x3e04')+_0x477d('0x372b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x457d')+_0x477d('0x3670')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b65')+_0x477d('0x457e')+_0x477d('0x457f')+_0x477d('0x36bf')+_0x477d('0x3b68')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.list.createdAt\x20|\x20date:\x27medium\x27}}\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ab5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4580')+_0x477d('0x3f77')+_0x477d('0x433c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x433e')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3ab5')+_0x477d('0x3e09')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x38ad')+_0x477d('0x4584')+_0x477d('0x3e11')+_0x477d('0x3d05')+_0x477d('0x36e5')+'\x0a'+_0x477d('0x3699')+_0x477d('0x39f8')+'\x0a'+_0x477d('0x3a18')+_0x477d('0x3b6b')+'\x0a'+_0x477d('0x3b6c')+_0x477d('0x3e12')+_0x477d('0x3f7a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SETTINGS\x0a'+_0x477d('0x3f7b')+_0x477d('0x3e14')+_0x477d('0x4585')+_0x477d('0x3f7d')+_0x477d('0x4586')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e17')+_0x477d('0x3e18')+_0x477d('0x4341')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x4309')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x4347')+_0x477d('0x455e')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e25')+_0x477d('0x39d2')+_0x477d('0x432b')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x4587')+_0x477d('0x4588')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x4589')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Prefix\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x3e26')+_0x477d('0x3e27')+_0x477d('0x3e28')+_0x477d('0x3e29')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f7a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CUSTOMFIELDS\x0a'+_0x477d('0x3f7b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x458a')+_0x477d('0x458b')+_0x477d('0x458c')+_0x477d('0x4100')+_0x477d('0x458d')+_0x477d('0x4102')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x458e')+_0x477d('0x458f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x40e1')+_0x477d('0x3670')+'\x20\x20\x0a'+'\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4590')+_0x477d('0x3b2c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x410b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4591')+_0x477d('0x4592')+_0x477d('0x410f')+_0x477d('0x3d05')+_0x477d('0x40da')+_0x477d('0x4106')+'\x20\x20\x0a'+_0x477d('0x4593')+_0x477d('0x4594')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4114')+_0x477d('0x4595')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4596')+_0x477d('0x4597')+_0x477d('0x4115')+_0x477d('0x4118')+_0x477d('0x4598')+_0x477d('0x4115')+_0x477d('0x4599')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CONTACTMANAGER.REQUIRED\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x414c')+_0x477d('0x411e')+_0x477d('0x411f')+_0x477d('0x4120')+_0x477d('0x459a')+'>\x0a'+_0x477d('0x459b')+_0x477d('0x459c')+_0x477d('0x4123')+_0x477d('0x459d')+_0x477d('0x459e')+_0x477d('0x4123')+_0x477d('0x4126')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm_dc.createOrEditListCustomField($event,\x20customField)\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell>\x0a'+_0x477d('0x459f')+_0x477d('0x3a46')+_0x477d('0x45a0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x45a1')+_0x477d('0x4130')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x0a'+_0x477d('0x4156')+_0x477d('0x4157')+_0x477d('0x45a2')+_0x477d('0x45a3')+_0x477d('0x4133')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4134')+_0x477d('0x45a4')+_0x477d('0x45a5')+_0x477d('0x3a52')+_0x477d('0x415b')+_0x477d('0x415c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x411e')+_0x477d('0x45a6')+_0x477d('0x417e')+_0x477d('0x417f')+_0x477d('0x45a7')+_0x477d('0x413b')+_0x477d('0x413c')+_0x477d('0x411e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x413e')+_0x477d('0x413f')+_0x477d('0x45a8')+'\x20\x20\x0a'+'\x0a'+_0x477d('0x3e27')+_0x477d('0x3e28')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e12')+_0x477d('0x3f7a')+_0x477d('0x45a9')+_0x477d('0x3f7b')+_0x477d('0x3e14')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x45aa')+_0x477d('0x45ab')+_0x477d('0x4100')+'\x20\x20\x20\x20\x20\x20VoiceDispositions\x0a'+_0x477d('0x4102')+_0x477d('0x4103')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x40e1')+_0x477d('0x3670')+_0x477d('0x4106')+_0x477d('0x45ac')+_0x477d('0x4108')+_0x477d('0x45ad')+_0x477d('0x3b2c')+_0x477d('0x45ae')+_0x477d('0x410b')+_0x477d('0x410c')+_0x477d('0x45af')+_0x477d('0x4592')+_0x477d('0x410f')+_0x477d('0x3d05')+_0x477d('0x40da')+_0x477d('0x4106')+'\x20\x20\x0a'+_0x477d('0x45b0')+_0x477d('0x45b1')+_0x477d('0x4113')+_0x477d('0x4114')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CONTACTMANAGER.ID\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x4115')+_0x477d('0x4116')+_0x477d('0x45b2')+_0x477d('0x4115')+_0x477d('0x411d')+_0x477d('0x45b3')+_0x477d('0x4115')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x411f')+_0x477d('0x4120')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x45b4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{voiceDisposition.id}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x45b5')+_0x477d('0x4123')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x45b6')+_0x477d('0x412e')+_0x477d('0x4153')+_0x477d('0x412f')+_0x477d('0x45a1')+_0x477d('0x4130')+_0x477d('0x4155')+'\x20\x0a'+_0x477d('0x4156')+_0x477d('0x4157')+_0x477d('0x45b7')+_0x477d('0x45b8')+_0x477d('0x4133')+_0x477d('0x4159')+_0x477d('0x4134')+_0x477d('0x45b9')+_0x477d('0x45ba')+_0x477d('0x3a52')+_0x477d('0x415b')+_0x477d('0x415c')+_0x477d('0x4137')+_0x477d('0x4138')+_0x477d('0x411e')+_0x477d('0x45bb')+_0x477d('0x415e')+_0x477d('0x417f')+_0x477d('0x45bc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x413c')+_0x477d('0x411e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x413e')+_0x477d('0x413f')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3fa6')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e28')+_0x477d('0x3e29')+_0x477d('0x3e2a')+'\x0a'+_0x477d('0x3699')+_0x477d('0x3a5a')+'\x0a'+_0x477d('0x377d'));_0x143a79[_0x477d('0x390')]('app/main/apps/contactmanager/views/lists/edit/voiceDispositions/dialog.html','\x0a'+_0x477d('0x45bd')+_0x477d('0x381e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c3')+_0x477d('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39c7')+_0x477d('0x4341')+_0x477d('0x45be')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39dc')+_0x477d('0x387b')+_0x477d('0x45bf')+_0x477d('0x39de')+_0x477d('0x45c0')+_0x477d('0x432e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x477d('0x39e1')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39e5')+_0x477d('0x45c3')+_0x477d('0x453b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x39e9')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3840'));_0x143a79['put'](_0x477d('0xda'),_0x477d('0x45c4')+'\x0a'+_0x477d('0x39eb')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3abc')+_0x477d('0x37cd')+_0x477d('0x39ec')+_0x477d('0x39ed')+_0x477d('0x42df')+_0x477d('0x3760')+_0x477d('0x45c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39f0')+_0x477d('0x39f1')+_0x477d('0x39f2')+_0x477d('0x39f3')+_0x477d('0x39f4')+_0x477d('0x39f5')+_0x477d('0x3abf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39a2')+_0x477d('0x36c0')+_0x477d('0x39f7')+_0x477d('0x36bf')+_0x477d('0x3699')+_0x477d('0x39f8')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x45c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22>\x0a'+'\x0a'+_0x477d('0x45c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39fd')+_0x477d('0x42e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39ff')+'\x0a'+_0x477d('0x3a00')+_0x477d('0x45c8')+_0x477d('0x45c9')+_0x477d('0x42e5')+_0x477d('0x3760')+'\x0a'+_0x477d('0x3daf')+_0x477d('0x3a04')+_0x477d('0x3a05')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22multi\x20select\x20toggle\x22\x0a'+_0x477d('0x45ca')+_0x477d('0x3a08')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a0a')+_0x477d('0x45cb')+_0x477d('0x3a0c')+_0x477d('0x3832')+_0x477d('0x3a0f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x45cc')+_0x477d('0x3a0e')+_0x477d('0x3832')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+'\x0a'+_0x477d('0x3ac4')+_0x477d('0x45cd')+_0x477d('0x3a13')+_0x477d('0x3a14')+_0x477d('0x45ce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22CONTACTMANAGER.DELETE_SELECTED\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x382a')+_0x477d('0x36e5')+_0x477d('0x3699')+_0x477d('0x3a17')+'\x0a'+_0x477d('0x3a18')+_0x477d('0x3a19')+'\x0a'+_0x477d('0x3a1a')+_0x477d('0x3ac6')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x45cf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a1e')+_0x477d('0x45d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a21')+_0x477d('0x3a22')+_0x477d('0x42ee')+_0x477d('0x42ef')+_0x477d('0x42f0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a2d')+_0x477d('0x3a2e')+_0x477d('0x45d1')+_0x477d('0x3db9')+_0x477d('0x3a30')+_0x477d('0x42f2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x45d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x45d3')+_0x477d('0x45d4')+_0x477d('0x45d5')+_0x477d('0x45d6')+_0x477d('0x45d5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22description\x20\x22\x20>{{list.description}}\x0a'+_0x477d('0x3ad9')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a43')+'\x0a'+_0x477d('0x3d9e')+_0x477d('0x4552')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3adc')+'\x0a'+_0x477d('0x45d7')+_0x477d('0x45d8')+_0x477d('0x45d9')+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3dc6')+'\x0a'+_0x477d('0x45da')+_0x477d('0x45db')+_0x477d('0x45dc')+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3dc6')+'\x0a'+_0x477d('0x45dd')+_0x477d('0x45de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20exportCsvContacts\x20List\x0a'+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a47')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4d')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x45df')+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3caf')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3693')+_0x477d('0x3939')+'\x0a'+'\x0a'+_0x477d('0x3a2c')+_0x477d('0x3a56')+_0x477d('0x3ae2')+_0x477d('0x3a57')+'\x0a'+_0x477d('0x45e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x45e2')+_0x477d('0x3a59')+'\x0a'+_0x477d('0x3cb5')+_0x477d('0x36e5')+_0x477d('0x3ae6')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3a5a')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x45e3')+_0x477d('0x45e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3735')+_0x477d('0x45e5')+_0x477d('0x3699'));_0x143a79[_0x477d('0x390')](_0x477d('0x106'),_0x477d('0x45e6')+'\x20\x20\x20\x20

Custom\x20Dashboard\x20not\x20available...

\x0a'+'\x0a'+'\x0a'+_0x477d('0x45e7')+_0x477d('0x45e8')+_0x477d('0x3dfa')+_0x477d('0x45e9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x45ea')+_0x477d('0x45eb')+_0x477d('0x45ec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x45ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+_0x477d('0x45ee')+_0x477d('0x3d37')+_0x477d('0x377d'));_0x143a79[_0x477d('0x390')](_0x477d('0x119'),_0x477d('0x45ef')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Home\x0a'+_0x477d('0x45f0')+_0x477d('0x36dc')+'\x0a'+_0x477d('0x45f1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x45f7')+_0x477d('0x45f8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x45fc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x45fd')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x4602')+_0x477d('0x4603')+_0x477d('0x4604')+_0x477d('0x4605')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4606')+_0x477d('0x4607')+_0x477d('0x4608')+_0x477d('0x4609')+_0x477d('0x36e5')+_0x477d('0x460a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x460c')+_0x477d('0x4603')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-include=\x22\x27app/main/apps/dashboards/views/general/agent/bot/agent.general.bot.html\x27\x22\x0a'+_0x477d('0x460d')+_0x477d('0x36e5')+_0x477d('0x460e')+_0x477d('0x460c')+_0x477d('0x4603')+_0x477d('0x460f')+_0x477d('0x4610')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x4611')+_0x477d('0x4612')+_0x477d('0x4603')+_0x477d('0x4613')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-controller=\x22AgentGeneralIframeController\x20as\x20vm\x22\x20ng-init=\x22vm.init(tab,\x20$parent.vm.setting)\x22>\x0a'+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3699')+'');_0x143a79[_0x477d('0x390')](_0x477d('0x4614'),'\x0a'+'\x0a'+'\x0a'+_0x477d('0x4615')+_0x477d('0x4616')+_0x477d('0x4617')+_0x477d('0x36c0')+_0x477d('0x4618')+_0x477d('0x4619')+_0x477d('0x461a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x461b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x461c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x461d')+_0x477d('0x461e')+_0x477d('0x461f')+_0x477d('0x4620')+_0x477d('0x4621')+_0x477d('0x4622')+_0x477d('0x4623')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22!vm.interaction.closed\x22>\x0a'+_0x477d('0x4624')+_0x477d('0x4625')+_0x477d('0x4626')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-->\x0a'+_0x477d('0x382a')+_0x477d('0x36a9')+_0x477d('0x4627')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a9')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4628')+_0x477d('0x461b')+_0x477d('0x4629')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x461b')+_0x477d('0x462e')+_0x477d('0x462f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.tab.title}}\x20-\x20{{message.createdAt\x20|\x20date:\x20\x27medium\x27}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4630')+_0x477d('0x4631')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20System\x20-\x20{{message.createdAt\x20|\x20date:\x20\x27medium\x27}}\x0a'+_0x477d('0x438b')+_0x477d('0x4632')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x438b')+_0x477d('0x385b')+_0x477d('0x385c')+_0x477d('0x4633')+_0x477d('0x382a')+_0x477d('0x36a9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4634')+_0x477d('0x3b19')+_0x477d('0x36e5')+_0x477d('0x3d37')+'\x20\x20\x20\x20');_0x143a79[_0x477d('0x390')](_0x477d('0x4635'),_0x477d('0x4636')+_0x477d('0x4637')+_0x477d('0x4638')+_0x477d('0x4639')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x463a')+_0x477d('0x463b')+_0x477d('0x463c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x463d')+_0x477d('0x463e')+_0x477d('0x463f')+_0x477d('0x4640')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20days\x20>\x200\x20?\x20days\x20+\x20\x27d\x27\x20:\x20\x27\x27\x20}}\x20{{hhours}}:{{mminutes}}:{{sseconds}}\x0a'+_0x477d('0x382a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4641')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4642')+_0x477d('0x4643')+_0x477d('0x385c')+'\x0a'+_0x477d('0x4644')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4645')+_0x477d('0x385c')+'\x0a'+_0x477d('0x4646')+_0x477d('0x4647')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Queue:\x20{{call.queue}}\x0a'+_0x477d('0x385c')+_0x477d('0x4648')+_0x477d('0x4649')+_0x477d('0x464a')+_0x477d('0x385c')+_0x477d('0x382a')+_0x477d('0x464b')+_0x477d('0x464c')+_0x477d('0x464d')+_0x477d('0x3a52')+_0x477d('0x382a')+_0x477d('0x36a9')+_0x477d('0x4371')+_0x477d('0x464e')+_0x477d('0x464f')+_0x477d('0x4650')+_0x477d('0x4651')+_0x477d('0x4652')+_0x477d('0x3947')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4653')+_0x477d('0x4654')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4655')+_0x477d('0x4656')+_0x477d('0x3947')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4657')+_0x477d('0x3947')+_0x477d('0x36bf')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4658')+_0x477d('0x4659')+_0x477d('0x465a')+_0x477d('0x465b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.contact.createdAt\x20|\x20date:\x27medium\x27}}\x0a'+_0x477d('0x382a')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x442f')+_0x477d('0x465c')+_0x477d('0x4450')+_0x477d('0x465d')+_0x477d('0x465e')+_0x477d('0x465f')+_0x477d('0x4660')+_0x477d('0x4661')+_0x477d('0x4662')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b86')+_0x477d('0x4452')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x4663')+_0x477d('0x4664')+_0x477d('0x4665')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4666')+_0x477d('0x4667')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4668')+_0x477d('0x4669')+_0x477d('0x466a')+_0x477d('0x466b')+_0x477d('0x466c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20jscripty\x20projects\x20available\x0a'+_0x477d('0x4669')+_0x477d('0x466a')+_0x477d('0x466d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x438b')+_0x477d('0x385b')+_0x477d('0x4425')+_0x477d('0x4420')+_0x477d('0x466e')+_0x477d('0x466f')+_0x477d('0x4427')+_0x477d('0x385c')+'\x0a'+_0x477d('0x442f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4450')+_0x477d('0x4670')+_0x477d('0x4671')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4672')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4632')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4673')+_0x477d('0x4674')+_0x477d('0x438b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x465c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Mobile\x0a'+_0x477d('0x4675')+_0x477d('0x4676')+_0x477d('0x4677')+_0x477d('0x4452')+_0x477d('0x4632')+_0x477d('0x4678')+_0x477d('0x4679')+_0x477d('0x4674')+_0x477d('0x438b')+_0x477d('0x4632')+_0x477d('0x4663')+_0x477d('0x467a')+_0x477d('0x467b')+_0x477d('0x3d60')+'\x0a'+_0x477d('0x4666')+_0x477d('0x467c')+_0x477d('0x467d')+_0x477d('0x467e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x466a')+_0x477d('0x467f')+_0x477d('0x4680')+_0x477d('0x4681')+_0x477d('0x4669')+_0x477d('0x466a')+_0x477d('0x466d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x438b')+_0x477d('0x4632')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4682')+_0x477d('0x4683')+_0x477d('0x3d60')+'\x0a'+_0x477d('0x4666')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4684')+_0x477d('0x4685')+_0x477d('0x4669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4686')+_0x477d('0x4687')+_0x477d('0x4688')+_0x477d('0x4669')+_0x477d('0x466a')+_0x477d('0x466d')+_0x477d('0x4689')+_0x477d('0x438b')+_0x477d('0x385b')+_0x477d('0x385c')+'\x0a'+_0x477d('0x442f')+_0x477d('0x465c')+_0x477d('0x4450')+_0x477d('0x468a')+_0x477d('0x468b')+_0x477d('0x468c')+_0x477d('0x4660')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Email\x20must\x20be\x20a\x20valid\x20e-mail\x20address\x0a'+_0x477d('0x4499')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4452')+_0x477d('0x4632')+_0x477d('0x4663')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x468d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x468e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x468f')+_0x477d('0x4669')+_0x477d('0x466a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4690')+_0x477d('0x4691')+_0x477d('0x4669')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x466d')+_0x477d('0x4689')+_0x477d('0x438b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4425')+_0x477d('0x465c')+_0x477d('0x4450')+_0x477d('0x4692')+_0x477d('0x4693')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4632')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4694')+_0x477d('0x3d60')+'\x0a'+_0x477d('0x4666')+_0x477d('0x4695')+_0x477d('0x4696')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{account.name}}\x0a'+_0x477d('0x4669')+_0x477d('0x466a')+_0x477d('0x4697')+_0x477d('0x4698')+_0x477d('0x4699')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x466a')+_0x477d('0x466d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x438b')+_0x477d('0x385b')+_0x477d('0x385c')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x469a')+_0x477d('0x469b')+_0x477d('0x4427')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x442f')+_0x477d('0x4420')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Company\x0a'+_0x477d('0x469c')+_0x477d('0x469d')+_0x477d('0x469e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20None\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4425')+_0x477d('0x4420')+_0x477d('0x469f')+_0x477d('0x4444')+_0x477d('0x46a0')+_0x477d('0x46a1')+_0x477d('0x443d')+_0x477d('0x4427')+_0x477d('0x385c')+'\x0a'+_0x477d('0x442f')+_0x477d('0x4420')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Country\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x46a2')+_0x477d('0x4427')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4420')+_0x477d('0x46a3')+_0x477d('0x46a4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x385c')+'\x0a'+_0x477d('0x442f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x46a5')+_0x477d('0x46a6')+_0x477d('0x4427')+_0x477d('0x4425')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x46a7')+_0x477d('0x46a8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x385c')+'\x0a'+_0x477d('0x442f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Notes\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x46a9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3bbe')+_0x477d('0x445d')+_0x477d('0x4659')+_0x477d('0x46aa')+_0x477d('0x46ab')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4420')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x46ac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4425')+_0x477d('0x4420')+_0x477d('0x46ad')+_0x477d('0x46ae')+_0x477d('0x46af')+_0x477d('0x4427')+_0x477d('0x385c')+_0x477d('0x442f')+_0x477d('0x4420')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x46b0')+_0x477d('0x46b1')+_0x477d('0x4427')+_0x477d('0x4425')+_0x477d('0x4420')+_0x477d('0x46b2')+_0x477d('0x46b3')+_0x477d('0x46b4')+_0x477d('0x4427')+_0x477d('0x385c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4420')+_0x477d('0x46b5')+_0x477d('0x46b6')+_0x477d('0x46b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4425')+_0x477d('0x4420')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x46b8')+_0x477d('0x4427')+_0x477d('0x385c')+_0x477d('0x3bbe')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x46b9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CUSTOM\x20FIELDS\x0a'+_0x477d('0x46ba')+'\x0a'+_0x477d('0x46bb')+_0x477d('0x46bc')+_0x477d('0x46bd')+_0x477d('0x46be')+_0x477d('0x4479')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{list.id}}\x20-\x20{{list.name}}\x0a'+_0x477d('0x447c')+_0x477d('0x447d')+_0x477d('0x446b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x46bd')+_0x477d('0x46bf')+_0x477d('0x4479')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{list.id}}\x20-\x20{{list.name}}\x0a'+_0x477d('0x447c')+_0x477d('0x447d')+_0x477d('0x446b')+_0x477d('0x46c0')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x447e')+_0x477d('0x46c1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4481')+_0x477d('0x4482')+_0x477d('0x438b')+_0x477d('0x4427')+'\x0a'+_0x477d('0x4483')+_0x477d('0x46c1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{value.value}}\x0a'+_0x477d('0x447b')+_0x477d('0x443d')+_0x477d('0x4427')+'\x0a'+_0x477d('0x4485')+_0x477d('0x46c2')+_0x477d('0x46c3')+_0x477d('0x4487')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x46c1')+_0x477d('0x46c4')+_0x477d('0x4427')+_0x477d('0x385c')+_0x477d('0x3bbe')+_0x477d('0x445d')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x46c5')+'\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x4637')+_0x477d('0x4638')+_0x477d('0x46c6')+_0x477d('0x46c7')+_0x477d('0x463a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x46c8')+_0x477d('0x46c5')+_0x477d('0x46c9')+'\x20\x20\x20\x20\x0a'+'\x0a');_0x143a79[_0x477d('0x390')](_0x477d('0x46ca'),_0x477d('0x46cb')+_0x477d('0x46cc')+_0x477d('0x46cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x46ce')+_0x477d('0x46cf')+_0x477d('0x46d0')+_0x477d('0x3674')+_0x477d('0x3670')+_0x477d('0x46d1')+_0x477d('0x46d2')+_0x477d('0x46d3')+_0x477d('0x46d4')+_0x477d('0x46d5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x46d6')+_0x477d('0x46d7')+_0x477d('0x44db')+_0x477d('0x3c04')+_0x477d('0x46d4')+_0x477d('0x46d8')+_0x477d('0x46d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x461b')+_0x477d('0x46da')+_0x477d('0x4271')+_0x477d('0x46db')+_0x477d('0x46dc')+_0x477d('0x46dd')+_0x477d('0x3859')+_0x477d('0x46de')+_0x477d('0x385b')+_0x477d('0x46df')+_0x477d('0x46e0')+_0x477d('0x385b')+_0x477d('0x385c')+_0x477d('0x46e1')+_0x477d('0x36a9')+_0x477d('0x3eb4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x46e2')+_0x477d('0x3859')+_0x477d('0x46e3')+_0x477d('0x385b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x46e4')+_0x477d('0x385b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x46e5')+_0x477d('0x36a9')+_0x477d('0x36bf')+_0x477d('0x46e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Campaign\x0a'+_0x477d('0x46e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20queueCampaign.name\x20}}\x20({{\x20queueCampaign.dialActive\x20?\x20\x27Active\x27\x20:\x20\x27Not\x20Active\x27\x20}})\x0a'+_0x477d('0x44db')+_0x477d('0x46e8')+_0x477d('0x3c59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Campaign\x20field\x20is\x20required\x0a'+_0x477d('0x382a')+_0x477d('0x36a9')+_0x477d('0x3c04')+_0x477d('0x3670')+_0x477d('0x46e9')+_0x477d('0x46ea')+_0x477d('0x46eb')+_0x477d('0x46ec')+_0x477d('0x387e')+_0x477d('0x46ed')+_0x477d('0x46ee')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x46ef')+_0x477d('0x387e')+_0x477d('0x3d25')+_0x477d('0x46f0')+_0x477d('0x46f1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x46f2')+_0x477d('0x46f3')+_0x477d('0x3bff')+_0x477d('0x46f4')+_0x477d('0x46f5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x46f6'));_0x143a79[_0x477d('0x390')]('app/main/apps/dashboards/views/general/agent/contact/reschedule/dialog.html',_0x477d('0x46f7')+_0x477d('0x46f8')+_0x477d('0x46f9')+_0x477d('0x365d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39c2')+_0x477d('0x3aea')+_0x477d('0x3aeb')+_0x477d('0x3aec')+_0x477d('0x3aed')+_0x477d('0x3aee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3aef')+_0x477d('0x3af0')+_0x477d('0x3674')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x46fa')+_0x477d('0x46fb')+_0x477d('0x46fc')+_0x477d('0x3c59')+_0x477d('0x46fd')+_0x477d('0x382a')+_0x477d('0x3c61')+_0x477d('0x46fe')+_0x477d('0x382a')+_0x477d('0x36a9')+_0x477d('0x3c5e')+_0x477d('0x3670')+'\x0a'+_0x477d('0x46fa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x46ff')+_0x477d('0x3c59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Time\x20is\x20required\x0a'+_0x477d('0x382a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4700')+_0x477d('0x382a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3c68')+_0x477d('0x3670')+_0x477d('0x36c0')+_0x477d('0x3663')+'\x0a'+_0x477d('0x3b1a')+_0x477d('0x387b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387d')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3669')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x4701'),_0x477d('0x4702')+_0x477d('0x4703')+_0x477d('0x4704')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4705')+_0x477d('0x4706')+_0x477d('0x4707')+_0x477d('0x3749')+_0x477d('0x4708')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x470d')+_0x477d('0x470e')+'');_0x143a79[_0x477d('0x390')](_0x477d('0x470f'),_0x477d('0x4710')+_0x477d('0x4711')+_0x477d('0x4712')+_0x477d('0x4713')+_0x477d('0x4714')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3bec')+_0x477d('0x4717')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20search=\x22vm_bull.getAbandonedCalls()\x22>\x0a'+_0x477d('0x4718')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm_bull.refresh\x20&&\x20vm_bull.refreshAbandonedCalls($event)\x22\x0a'+_0x477d('0x4719')+_0x477d('0x471a')+_0x477d('0x471b')+_0x477d('0x471c')+_0x477d('0x372b')+_0x477d('0x36e5')+_0x477d('0x392e')+_0x477d('0x4199')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x471d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-on-reorder=\x22vm_bull.getAbandonedCalls\x22>\x0a'+_0x477d('0x471e')+_0x477d('0x471f')+_0x477d('0x4720')+_0x477d('0x4721')+_0x477d('0x4722')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.ABANDONAT\x27\x20|\x20translate}}\x0a'+_0x477d('0x4723')+_0x477d('0x4724')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4725')+_0x477d('0x4726')+_0x477d('0x4727')+_0x477d('0x4728')+_0x477d('0x3932')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3934')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4729')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3939')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x472a')+_0x477d('0x472b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{abandonedCall.calleridname}}\x0a'+_0x477d('0x472c')+_0x477d('0x472d')+_0x477d('0x472e')+_0x477d('0x472f')+_0x477d('0x4730')+_0x477d('0x4731')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4732')+_0x477d('0x4733')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{abandonedCall.queuecallerabandonAt\x20?\x20(abandonedCall.queuecallerabandonAt\x20|\x20formatdate)\x20:\x20undefined\x20}}\x0a'+_0x477d('0x3939')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{abandonedCall.queuecallerexitAt\x20?\x20(abandonedCall.queuecallerexitAt\x20|\x20formatdate)\x20:\x20undefined\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4734')+_0x477d('0x4735')+_0x477d('0x4736')+_0x477d('0x4737')+_0x477d('0x4738')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22vm_bull.disable[abandonedCall.id]\x22\x0a'+_0x477d('0x4739')+_0x477d('0x473a')+_0x477d('0x473b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{abandonedCall.lastAssignedTo}}\x0a'+_0x477d('0x473c')+_0x477d('0x473d')+_0x477d('0x473e')+_0x477d('0x473f')+_0x477d('0x4740')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4741')+_0x477d('0x368e')+_0x477d('0x4742')+_0x477d('0x4743')+_0x477d('0x4744')+_0x477d('0x4745')+_0x477d('0x4746')+_0x477d('0x4747')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4748')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3d64')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x368d')+_0x477d('0x3692')+_0x477d('0x3693')+_0x477d('0x3939')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x393a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x393c')+_0x477d('0x4749')+_0x477d('0x474a')+_0x477d('0x474b')+'');_0x143a79[_0x477d('0x390')](_0x477d('0x474c'),_0x477d('0x4710')+_0x477d('0x4711')+_0x477d('0x474d')+_0x477d('0x4713')+_0x477d('0x4714')+_0x477d('0x474e')+_0x477d('0x474f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20on-expand=\x22vm_voice.onSearchBarExpand()\x22\x20query=\x22vm_voice.query.filter\x22\x0a'+_0x477d('0x4750')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4751')+_0x477d('0x4752')+_0x477d('0x4718')+_0x477d('0x4753')+_0x477d('0x4719')+_0x477d('0x471a')+_0x477d('0x4754')+_0x477d('0x471c')+_0x477d('0x372b')+_0x477d('0x36e5')+_0x477d('0x392e')+_0x477d('0x4199')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4755')+_0x477d('0x4756')+_0x477d('0x471e')+_0x477d('0x471f')+_0x477d('0x4720')+_0x477d('0x4721')+_0x477d('0x4722')+_0x477d('0x4757')+_0x477d('0x4725')+_0x477d('0x4726')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.LASTASSIGNEDTO\x27\x20|\x20translate}}\x0a'+_0x477d('0x4728')+_0x477d('0x3932')+_0x477d('0x3933')+_0x477d('0x3934')+_0x477d('0x4758')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4759')+_0x477d('0x36a9')+_0x477d('0x3939')+_0x477d('0x3932')+_0x477d('0x475a')+_0x477d('0x472b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{abandonedCall.calleridname}}\x0a'+_0x477d('0x472c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x472e')+_0x477d('0x475b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm_voice.queuesMap[abandonedCall.queue]}}\x0a'+_0x477d('0x4733')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{abandonedCall.queuecallerabandonAt\x20?\x20(abandonedCall.queuecallerabandonAt\x20|\x20formatdate)\x20:\x20undefined\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x475c')+_0x477d('0x475d')+_0x477d('0x4737')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22abandonedCall.lastAssignedTo\x20===\x20vm_voice.currentUser.name\x20||\x20!abandonedCall.lastAssignedTo\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22vm_voice.disable[abandonedCall.id]\x22\x0a'+_0x477d('0x4739')+_0x477d('0x475e')+_0x477d('0x473b')+_0x477d('0x3939')+_0x477d('0x475f')+_0x477d('0x473c')+_0x477d('0x4760')+_0x477d('0x473e')+_0x477d('0x473f')+_0x477d('0x4740')+_0x477d('0x3832')+_0x477d('0x4741')+_0x477d('0x368e')+_0x477d('0x4742')+_0x477d('0x4743')+_0x477d('0x4744')+_0x477d('0x4745')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x4764')+_0x477d('0x4765')+'\x20\x20\x20\x20\x20\x20\x20\x20md-on-paginate=\x22vm_voice.getAbandonedCalls\x22\x20md-page-select>\x0a'+_0x477d('0x4766'));_0x143a79[_0x477d('0x390')](_0x477d('0x4767'),_0x477d('0x4768')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4776')+_0x477d('0x4777')+_0x477d('0x4778')+_0x477d('0x4779')+_0x477d('0x4775')+_0x477d('0x3670')+_0x477d('0x36c0')+_0x477d('0x477a')+_0x477d('0x477b')+_0x477d('0x477c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-controller=\x22AgentHomeScheduledCallsController\x20as\x20vm\x22>\x0a'+_0x477d('0x477d')+_0x477d('0x4775')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x477e')+_0x477d('0x477f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-include=\x22\x27app/main/apps/dashboards/views/general/agent/home/voice/agent.general.voice.html\x27\x22\x0a'+_0x477d('0x4780')+_0x477d('0x4781')+_0x477d('0x4775')+_0x477d('0x3670')+_0x477d('0x36c0')+_0x477d('0x4782')+_0x477d('0x4783')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-include=\x22\x27app/main/apps/dashboards/views/general/agent/home/abandoned/agent.general.abandoned.html\x27\x22\x0a'+_0x477d('0x4784')+_0x477d('0x4785')+_0x477d('0x4775')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4786')+_0x477d('0x4787')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-include=\x22\x27app/main/apps/dashboards/views/general/agent/home/recordings/agent.general.recordings.html\x27\x22\x0a'+_0x477d('0x4788')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x4789')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x478a')+_0x477d('0x4775')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x478b')+_0x477d('0x478c')+_0x477d('0x478d')+_0x477d('0x478e')+_0x477d('0x3670')+_0x477d('0x478f')+_0x477d('0x4775')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4793')+_0x477d('0x4794')+_0x477d('0x4795')+_0x477d('0x4796')+_0x477d('0x3670')+_0x477d('0x4797')+_0x477d('0x4775')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4798')+_0x477d('0x4799')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-include=\x22\x27app/main/apps/dashboards/views/general/agent/home/fax/agent.general.fax.html\x27\x22\x0a'+_0x477d('0x479a')+_0x477d('0x3670')+_0x477d('0x479b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-include=\x22\x27app/main/apps/dashboards/views/general/agent/home/agent.general.home.permissions.html\x27\x22>\x0a'+_0x477d('0x3670')+_0x477d('0x36c0')+_0x477d('0x479c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x479f')+_0x477d('0x47a0')+_0x477d('0x47a1')+_0x477d('0x47a2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-init=\x22vm.onInit(vm_home.license,\x20vm_home.setting,\x20vm_home.plugin)\x22\x20layout-fill>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36c0')+_0x477d('0x47a3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+_0x477d('0x3699')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x47a4')+_0x477d('0x47a5')+_0x477d('0x47a6')+_0x477d('0x47a7')+_0x477d('0x47a8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x45fd')+_0x477d('0x3699')+_0x477d('0x1877'));_0x143a79['put'](_0x477d('0x47aa'),_0x477d('0x47ab')+_0x477d('0x47ac')+'\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27DASHBOARDS.WELCOME_TO_MOTION\x27\x20|\x20translate\x20}}!\x0a'+_0x477d('0x47ad')+_0x477d('0x3699')+'\x0a'+_0x477d('0x47ae')+_0x477d('0x47af')+_0x477d('0x3699')+'\x0a');_0x143a79[_0x477d('0x390')](_0x477d('0x47b0'),_0x477d('0x4710')+_0x477d('0x47b1')+_0x477d('0x47b2')+_0x477d('0x4100')+_0x477d('0x47b3')+_0x477d('0x47b4')+_0x477d('0x47b5')+_0x477d('0x47b6')+_0x477d('0x47b7')+_0x477d('0x47b8')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x47b9')+_0x477d('0x47ba')+_0x477d('0x47bb')+_0x477d('0x47bc')+_0x477d('0x47bd')+_0x477d('0x47be')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.ADVANCED_SEARCH\x27\x20|\x20translate}}\x0a'+_0x477d('0x36dc')+_0x477d('0x47c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22DASHBOARDS.RELOAD\x22\x0a'+_0x477d('0x47c1')+_0x477d('0x47c2')+_0x477d('0x47c3')+_0x477d('0x36dc')+_0x477d('0x380f')+_0x477d('0x3699')+_0x477d('0x4106')+_0x477d('0x47c4')+_0x477d('0x47c5')+_0x477d('0x47c6')+_0x477d('0x47c7')+_0x477d('0x47c8')+_0x477d('0x47c9')+_0x477d('0x47ca')+_0x477d('0x47cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x47cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x47cd')+_0x477d('0x47ce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.LAST_MESSAGE\x27\x20|\x20translate}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.STATUS\x27\x20|\x20translate}}\x0a'+_0x477d('0x47cf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x47d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x47d1')+_0x477d('0x47d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x47d3')+_0x477d('0x47d4')+_0x477d('0x47d5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x47d6')+_0x477d('0x47d7')+_0x477d('0x47d8')+_0x477d('0x36c0')+_0x477d('0x47d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x200}\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387b')+_0x477d('0x47da')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x47db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x47dc')+_0x477d('0x47dd')+_0x477d('0x47de')+_0x477d('0x47df')+_0x477d('0x47e0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x47d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x47e1')+_0x477d('0x47e2')+_0x477d('0x47e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x47e4')+_0x477d('0x47e5')+_0x477d('0x47e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x47d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x47e7')+_0x477d('0x47e8')+_0x477d('0x47e9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20layout-margin>{{\x20interaction.contactName\x20}}\x0a'+_0x477d('0x47ea')+_0x477d('0x47eb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x47d9')+_0x477d('0x47ec')+_0x477d('0x47ed')+_0x477d('0x47d9')+_0x477d('0x47ec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x47ee')+_0x477d('0x47ef')+_0x477d('0x47f0')+_0x477d('0x47f1')+_0x477d('0x3fab')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20messages\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x47ec')+_0x477d('0x47f2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22red-fg\x20font-size-12\x22>{{\x20\x27DASHBOARDS.CLOSED\x27\x20|\x20translate}}\x20\x20-\x0a'+_0x477d('0x47f8')+_0x477d('0x47d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x47f9')+_0x477d('0x47d9')+_0x477d('0x47fa')+_0x477d('0x47fb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.getChatWebsiteLabel(interaction)\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x47fc')+_0x477d('0x47fd')+_0x477d('0x47f0')+_0x477d('0x47fe')+_0x477d('0x47ff')+_0x477d('0x4800')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4801')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-style=\x22{\x27color\x27:\x20interaction.Tags.length\x20==\x201\x20&&\x20interaction.Tags[0].color\x20}\x22>\x0a'+_0x477d('0x47ee')+_0x477d('0x3fab')+_0x477d('0x36c0')+_0x477d('0x47d9')+_0x477d('0x4802')+_0x477d('0x4803')+_0x477d('0x4804')+_0x477d('0x4805')+_0x477d('0x4806')+_0x477d('0x39e1')+_0x477d('0x4807')+_0x477d('0x4808')+_0x477d('0x4809')+_0x477d('0x480a')+_0x477d('0x480b')+_0x477d('0x452d')+_0x477d('0x480c')+_0x477d('0x4808')+_0x477d('0x480d')+_0x477d('0x480e')+_0x477d('0x480f')+_0x477d('0x452d')+_0x477d('0x480c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4810')+_0x477d('0x4811')+_0x477d('0x4812')+_0x477d('0x452d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4813')+_0x477d('0x4814')+_0x477d('0x4815')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Close\x20and\x20Dispose\x0a'+_0x477d('0x452d')+_0x477d('0x480c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4816')+_0x477d('0x47d9')+_0x477d('0x4817')+_0x477d('0x4818')+_0x477d('0x42d1')+'\x20\x20\x0a'+_0x477d('0x4819')+_0x477d('0x481a')+_0x477d('0x481b')+_0x477d('0x481c')+'\x20\x20\x20\x20md-page-select>\x0a'+_0x477d('0x4766'));_0x143a79[_0x477d('0x390')]('app/main/apps/dashboards/views/general/agent/home/contacts/agent.general.contacts.html',_0x477d('0x481d')+'\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4820')+_0x477d('0x47ba')+_0x477d('0x47bb')+_0x477d('0x47bc')+_0x477d('0x47bd')+_0x477d('0x47be')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x380f')+'\x20\x20\x20\x20\x0a'+_0x477d('0x4106')+'\x20\x20\x0a'+_0x477d('0x47c5')+_0x477d('0x4825')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4826')+_0x477d('0x4827')+_0x477d('0x4828')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.MOBILE\x27\x20|\x20translate}}\x0a'+_0x477d('0x4829')+_0x477d('0x482a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.LIST\x27\x20|\x20translate}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.TAGS\x27\x20|\x20translate}}\x0a'+_0x477d('0x482b')+_0x477d('0x4817')+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x482c')+_0x477d('0x482d')+_0x477d('0x47d6')+_0x477d('0x482e')+_0x477d('0x36c0')+_0x477d('0x47d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x482f')+_0x477d('0x4830')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{contact.lastName}}\x0a'+_0x477d('0x4831')+_0x477d('0x4832')+_0x477d('0x4833')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20license=\x22vm_home.license\x22>\x0a'+_0x477d('0x4834')+_0x477d('0x47d9')+_0x477d('0x4835')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4836')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20license=\x22vm_home.license\x22>\x0a'+_0x477d('0x4834')+_0x477d('0x47d9')+_0x477d('0x4837')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{contact.email}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.listsMap[contact.ListId].name}}\x0a'+_0x477d('0x47d9')+_0x477d('0x4838')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4839')+_0x477d('0x483a')+_0x477d('0x483b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x483c')+_0x477d('0x47fe')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{tag.name}},\x0a'+_0x477d('0x4800')+_0x477d('0x43b8')+_0x477d('0x483d')+_0x477d('0x3fab')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x483e')+_0x477d('0x4803')+_0x477d('0x483f')+_0x477d('0x4840')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39e1')+'\x0a'+_0x477d('0x4841')+_0x477d('0x4808')+_0x477d('0x4842')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Contact\x0a'+_0x477d('0x452d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4808')+_0x477d('0x4843')+_0x477d('0x4844')+_0x477d('0x452d')+_0x477d('0x480c')+_0x477d('0x4808')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Duplicate\x20Contact\x0a'+_0x477d('0x452d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4845')+_0x477d('0x4816')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4817')+_0x477d('0x4818')+_0x477d('0x42d1')+_0x477d('0x413f')+'\x0a'+'\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4708')+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3749')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x484d')+_0x477d('0x484e')+_0x477d('0x3749')+_0x477d('0x4708')+_0x477d('0x484f')+_0x477d('0x4850')+_0x477d('0x3749')+_0x477d('0x4851')+_0x477d('0x4852')+_0x477d('0x4853')+_0x477d('0x3749')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4854')+_0x477d('0x4855')+_0x477d('0x3749')+_0x477d('0x4708')+_0x477d('0x4856')+_0x477d('0x4857')+_0x477d('0x3749')+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x470e')+_0x477d('0x377d'));_0x143a79['put'](_0x477d('0x4858'),_0x477d('0x4859')+_0x477d('0x485a')+_0x477d('0x485b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Queues\x0a'+_0x477d('0x485c')+_0x477d('0x36c0')+_0x477d('0x3660')+_0x477d('0x3821')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x485d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x485e')+_0x477d('0x485f')+_0x477d('0x4860')+_0x477d('0x4861')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4862')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4863')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4864')+_0x477d('0x382a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4865')+_0x477d('0x4866')+_0x477d('0x4867')+_0x477d('0x4868')+_0x477d('0x4869')+_0x477d('0x486a')+_0x477d('0x382b')+_0x477d('0x3826')+_0x477d('0x3833')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3835')+'\x0a'+_0x477d('0x486b')+_0x477d('0x486c')+_0x477d('0x485a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3dfa')+_0x477d('0x486d')+_0x477d('0x485c')+_0x477d('0x36c0')+_0x477d('0x3660')+_0x477d('0x3821')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x486e')+_0x477d('0x3823')+_0x477d('0x486f')+_0x477d('0x4870')+_0x477d('0x4871')+_0x477d('0x3826')+_0x477d('0x4862')+_0x477d('0x3827')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4872')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4864')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3826')+_0x477d('0x4873')+_0x477d('0x4874')+_0x477d('0x4875')+_0x477d('0x4876')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3833')+_0x477d('0x3834')+_0x477d('0x3835')+'\x0a'+_0x477d('0x4877')+_0x477d('0x486c')+_0x477d('0x377d'));_0x143a79[_0x477d('0x390')]('app/main/apps/dashboards/views/general/agent/home/dashboard/chat/agent.general.dashboard.chat.html',_0x477d('0x4859')+_0x477d('0x485a')+_0x477d('0x4878')+_0x477d('0x3dfa')+_0x477d('0x4879')+_0x477d('0x485c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3660')+_0x477d('0x3821')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x487a')+_0x477d('0x3823')+_0x477d('0x487b')+_0x477d('0x487c')+_0x477d('0x487d')+_0x477d('0x4861')+_0x477d('0x3826')+_0x477d('0x4862')+_0x477d('0x3827')+_0x477d('0x487e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3828')+_0x477d('0x487f')+_0x477d('0x382a')+_0x477d('0x382b')+_0x477d('0x3826')+_0x477d('0x4880')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{queue.name}}\x0a'+_0x477d('0x4881')+_0x477d('0x4882')+_0x477d('0x4883')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4884')+_0x477d('0x3826')+_0x477d('0x3833')+_0x477d('0x3834')+_0x477d('0x3835')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x486c')+_0x477d('0x485a')+_0x477d('0x4878')+_0x477d('0x3dfa')+_0x477d('0x4885')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3660')+_0x477d('0x3821')+_0x477d('0x4886')+_0x477d('0x486e')+_0x477d('0x3823')+_0x477d('0x4887')+_0x477d('0x4888')+_0x477d('0x4889')+_0x477d('0x3826')+_0x477d('0x4862')+_0x477d('0x3827')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3828')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a'+_0x477d('0x382a')+_0x477d('0x382b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x488a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{interaction.account}}\x0a'+_0x477d('0x488b')+_0x477d('0x488c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3833')+_0x477d('0x3834')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x488d')+_0x477d('0x486c')+'\x0a');_0x143a79[_0x477d('0x390')]('app/main/apps/dashboards/views/general/agent/home/dashboard/fax/agent.general.dashboard.fax.html',_0x477d('0x4859')+_0x477d('0x485a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3dfa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Queues\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x3660')+_0x477d('0x3821')+_0x477d('0x488e')+_0x477d('0x488f')+_0x477d('0x3823')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27DASHBOARDS.NAME\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x487c')+_0x477d('0x487d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4862')+_0x477d('0x3827')+_0x477d('0x4890')+_0x477d('0x4891')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x487f')+_0x477d('0x382a')+_0x477d('0x382b')+_0x477d('0x3826')+_0x477d('0x4892')+_0x477d('0x4893')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{queue.waiting\x20||\x200}}\x0a'+_0x477d('0x4882')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4894')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-->\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3833')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3835')+'\x0a'+_0x477d('0x4895')+_0x477d('0x486c')+_0x477d('0x485a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3dfa')+_0x477d('0x4885')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x3660')+_0x477d('0x3821')+_0x477d('0x4886')+_0x477d('0x486e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4887')+_0x477d('0x4888')+_0x477d('0x4889')+_0x477d('0x3826')+_0x477d('0x4862')+_0x477d('0x3827')+_0x477d('0x4896')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3828')+_0x477d('0x487f')+_0x477d('0x382a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3826')+_0x477d('0x4897')+_0x477d('0x4898')+_0x477d('0x488b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{interaction.from}}\x0a'+_0x477d('0x3826')+_0x477d('0x3833')+_0x477d('0x3834')+_0x477d('0x3835')+'\x0a'+_0x477d('0x4899')+'\x20\x20\x20\x20\x0a'+_0x477d('0x377d'));_0x143a79[_0x477d('0x390')](_0x477d('0x489a'),_0x477d('0x4859')+_0x477d('0x485a')+_0x477d('0x489b')+_0x477d('0x3dfa')+_0x477d('0x4879')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3660')+_0x477d('0x3821')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x489c')+_0x477d('0x3823')+_0x477d('0x487b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27DASHBOARDS.WAITING\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x487d')+_0x477d('0x4861')+_0x477d('0x3826')+_0x477d('0x4862')+_0x477d('0x3827')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4891')+_0x477d('0x3828')+_0x477d('0x487f')+_0x477d('0x382a')+_0x477d('0x382b')+_0x477d('0x3826')+_0x477d('0x489d')+_0x477d('0x4893')+_0x477d('0x4881')+_0x477d('0x4882')+_0x477d('0x4883')+_0x477d('0x4894')+_0x477d('0x4884')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3834')+_0x477d('0x3835')+'\x0a'+_0x477d('0x489e')+_0x477d('0x486c')+_0x477d('0x485a')+_0x477d('0x489b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4885')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x3660')+_0x477d('0x3821')+_0x477d('0x4886')+_0x477d('0x486e')+_0x477d('0x3823')+_0x477d('0x4887')+_0x477d('0x4888')+_0x477d('0x4889')+_0x477d('0x3826')+_0x477d('0x4862')+_0x477d('0x3827')+_0x477d('0x489f')+_0x477d('0x4872')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x487f')+_0x477d('0x382a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x48a0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{interaction.account}}\x0a'+_0x477d('0x488b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{interaction.from}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3833')+_0x477d('0x3834')+_0x477d('0x3835')+'\x0a'+_0x477d('0x48a1')+_0x477d('0x486c')+'\x0a');_0x143a79['put'](_0x477d('0x48a2'),_0x477d('0x4859')+_0x477d('0x485a')+_0x477d('0x48a3')+_0x477d('0x3dfa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Queues\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x3660')+_0x477d('0x3821')+_0x477d('0x48a4')+_0x477d('0x48a5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x487b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27DASHBOARDS.WAITING\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4861')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4862')+_0x477d('0x3827')+_0x477d('0x48a6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3828')+_0x477d('0x487f')+_0x477d('0x382a')+_0x477d('0x382b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x48a7')+_0x477d('0x4893')+_0x477d('0x4881')+_0x477d('0x4882')+_0x477d('0x4883')+_0x477d('0x4894')+_0x477d('0x4884')+_0x477d('0x3826')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x48a8')+'\x20\x20\x20\x20\x0a'+_0x477d('0x485a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3dfa')+_0x477d('0x4885')+_0x477d('0x485c')+_0x477d('0x36c0')+_0x477d('0x3660')+_0x477d('0x3821')+_0x477d('0x4886')+_0x477d('0x486e')+_0x477d('0x3823')+_0x477d('0x4887')+_0x477d('0x4888')+_0x477d('0x4889')+_0x477d('0x3826')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3827')+_0x477d('0x48a9')+_0x477d('0x4872')+_0x477d('0x3828')+_0x477d('0x487f')+_0x477d('0x382a')+_0x477d('0x382b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x48aa')+_0x477d('0x4898')+_0x477d('0x488b')+_0x477d('0x488c')+_0x477d('0x3826')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3835')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x486c')+_0x477d('0x377d'));_0x143a79[_0x477d('0x390')](_0x477d('0x48ab'),_0x477d('0x4859')+'\x20\x20\x20\x20\x0a'+_0x477d('0x48ac')+_0x477d('0x3dfa')+_0x477d('0x4879')+_0x477d('0x485c')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3821')+_0x477d('0x48ad')+_0x477d('0x48ae')+_0x477d('0x3823')+_0x477d('0x487b')+_0x477d('0x487c')+_0x477d('0x487d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3826')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x48af')+_0x477d('0x4891')+_0x477d('0x3828')+_0x477d('0x487f')+_0x477d('0x382a')+_0x477d('0x382b')+_0x477d('0x3826')+_0x477d('0x48b0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{queue.name}}\x0a'+_0x477d('0x4881')+_0x477d('0x4882')+_0x477d('0x4883')+_0x477d('0x4894')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-->\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3833')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x48b1')+_0x477d('0x486c')+'\x20\x20\x20\x20\x0a'+_0x477d('0x48ac')+_0x477d('0x3dfa')+_0x477d('0x4885')+_0x477d('0x485c')+_0x477d('0x36c0')+_0x477d('0x3660')+_0x477d('0x3821')+_0x477d('0x4886')+_0x477d('0x486e')+_0x477d('0x3823')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27DASHBOARDS.ACCOUNT\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x4888')+_0x477d('0x4889')+_0x477d('0x3826')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3827')+_0x477d('0x48b2')+_0x477d('0x4872')+_0x477d('0x3828')+_0x477d('0x487f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x382b')+_0x477d('0x3826')+_0x477d('0x48b3')+_0x477d('0x4898')+_0x477d('0x488b')+_0x477d('0x488c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3834')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x48b4')+'\x20\x20\x20\x20\x0a'+'\x0a');_0x143a79[_0x477d('0x390')](_0x477d('0x48b5'),_0x477d('0x4859')+_0x477d('0x485a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3dfa')+_0x477d('0x48b6')+_0x477d('0x485c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3660')+_0x477d('0x3821')+_0x477d('0x48b7')+_0x477d('0x48b8')+_0x477d('0x3823')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.NAME\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x48b9')+_0x477d('0x4860')+_0x477d('0x4861')+_0x477d('0x3826')+_0x477d('0x4862')+_0x477d('0x3827')+_0x477d('0x48ba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a'+_0x477d('0x382a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3826')+_0x477d('0x48bb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{voiceQueue.name}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{voiceQueue.dialMethod}}\x0a'+_0x477d('0x4868')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x486a')+_0x477d('0x382b')+_0x477d('0x3826')+_0x477d('0x3833')+_0x477d('0x3834')+_0x477d('0x3835')+'\x0a'+_0x477d('0x48bc')+_0x477d('0x486c')+_0x477d('0x485a')+_0x477d('0x48bd')+_0x477d('0x3dfa')+_0x477d('0x486d')+_0x477d('0x485c')+_0x477d('0x36c0')+_0x477d('0x3660')+_0x477d('0x3821')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x486e')+_0x477d('0x3823')+_0x477d('0x486f')+_0x477d('0x4870')+_0x477d('0x4871')+_0x477d('0x3826')+_0x477d('0x4862')+_0x477d('0x3827')+_0x477d('0x48be')+_0x477d('0x4872')+_0x477d('0x3828')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a'+_0x477d('0x382a')+_0x477d('0x382b')+_0x477d('0x3826')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4874')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{channel.queue}}\x0a'+_0x477d('0x4876')+_0x477d('0x3826')+_0x477d('0x3833')+_0x477d('0x3834')+_0x477d('0x3835')+'\x0a'+_0x477d('0x48bf')+'\x20\x20\x20\x20\x0a'+'\x0a');_0x143a79[_0x477d('0x390')](_0x477d('0x48c0'),_0x477d('0x4859')+'\x20\x20\x20\x20\x0a'+_0x477d('0x48c1')+_0x477d('0x3dfa')+_0x477d('0x4879')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3821')+_0x477d('0x48c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3823')+_0x477d('0x487b')+_0x477d('0x487c')+_0x477d('0x487d')+_0x477d('0x4861')+_0x477d('0x3826')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3827')+_0x477d('0x48c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3828')+_0x477d('0x487f')+_0x477d('0x382a')+_0x477d('0x382b')+_0x477d('0x3826')+_0x477d('0x48c4')+_0x477d('0x4893')+_0x477d('0x4881')+_0x477d('0x4882')+_0x477d('0x4883')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4884')+_0x477d('0x3826')+_0x477d('0x3833')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x48c5')+_0x477d('0x486c')+_0x477d('0x485a')+_0x477d('0x48c1')+_0x477d('0x3dfa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x485c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3821')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x486e')+_0x477d('0x3823')+_0x477d('0x4887')+_0x477d('0x4888')+_0x477d('0x4889')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4862')+_0x477d('0x3827')+_0x477d('0x48c6')+_0x477d('0x4872')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x487f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x382b')+_0x477d('0x3826')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{interaction.account}}\x0a'+_0x477d('0x488b')+_0x477d('0x488c')+_0x477d('0x3826')+_0x477d('0x3833')+_0x477d('0x3834')+_0x477d('0x3835')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x486c')+'\x0a');_0x143a79['put'](_0x477d('0x48c7'),_0x477d('0x4710')+_0x477d('0x47b1')+'\x20\x20\x20\x20ng-disabled=\x22vm.searchInProgress\x22>\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x47b3')+_0x477d('0x48c8')+_0x477d('0x47b5')+'\x20\x20\x20\x20\x20\x20\x20\x20on-expand=\x22vm.onSearchBarExpand()\x22\x20query=\x22vm.query.filter\x22\x20debounce=\x22300\x22\x20direction=\x22down\x22\x20icon-color=\x22white-fg\x22\x0a'+_0x477d('0x47b7')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4103')+_0x477d('0x48c9')+_0x477d('0x47ba')+_0x477d('0x47bb')+_0x477d('0x47bc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22Advanced\x20search\x22\x20translate\x20translate-attr-aria-label=\x22DASHBOARDS.ADVANCED_SEARCH\x22\x0a'+_0x477d('0x47be')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x48cc')+_0x477d('0x48cd')+_0x477d('0x4105')+_0x477d('0x36dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x48ce')+_0x477d('0x48cf')+_0x477d('0x48d0')+'>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20faxAccount.name\x20}}\x20({{\x20faxAccount.key\x20}})\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x48d1')+'\x20\x20\x20\x20\x0a'+_0x477d('0x4106')+_0x477d('0x47c4')+'\x20\x20\x20\x20\x0a'+_0x477d('0x48d2')+_0x477d('0x47c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x47c9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x48d3')+_0x477d('0x47cc')+_0x477d('0x47cc')+_0x477d('0x47cd')+_0x477d('0x47ce')+_0x477d('0x48d4')+_0x477d('0x48d5')+_0x477d('0x47cf')+_0x477d('0x48d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.ACCOUNT\x27\x20|\x20translate}}\x0a'+_0x477d('0x48d3')+_0x477d('0x47d1')+_0x477d('0x47d2')+_0x477d('0x4817')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x47d4')+_0x477d('0x48d7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x47d7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Interaction\x0a'+_0x477d('0x36c0')+_0x477d('0x47d9')+_0x477d('0x4817')+_0x477d('0x48d8')+_0x477d('0x48d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{interaction.id}}\x0a'+_0x477d('0x36c0')+_0x477d('0x47d9')+_0x477d('0x47fc')+_0x477d('0x47db')+_0x477d('0x48da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x47dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-repeat=\x22u\x20in\x20interaction.Users\x22>{{\x20(u.id\x20==\x20vm.user.id)\x20?\x20\x27DASHBOARDS.ME\x27\x20:\x20u.fullname\x20|\x20translate\x20}},\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x47d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x200\x22\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22>\x0a'+_0x477d('0x47e2')+_0x477d('0x47e3')+_0x477d('0x36c0')+_0x477d('0x47d9')+_0x477d('0x47e4')+_0x477d('0x47e5')+_0x477d('0x47e6')+_0x477d('0x36c0')+_0x477d('0x47d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x47e8')+_0x477d('0x47e9')+_0x477d('0x48db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x48dc')+_0x477d('0x48dd')+_0x477d('0x48de')+_0x477d('0x48df')+_0x477d('0x48e0')+_0x477d('0x47ee')+_0x477d('0x47ef')+_0x477d('0x47f0')+_0x477d('0x47f1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x48e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x48dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x47f7')+_0x477d('0x48e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{interaction.substatus}}\x0a'+_0x477d('0x47d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x47f9')+_0x477d('0x47d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x47fc')+_0x477d('0x47fd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x47ff')+_0x477d('0x4800')+_0x477d('0x43b8')+_0x477d('0x4801')+_0x477d('0x48e5')+_0x477d('0x47ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x47d9')+_0x477d('0x4802')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4804')+_0x477d('0x4805')+_0x477d('0x4806')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4807')+_0x477d('0x4808')+_0x477d('0x48e6')+_0x477d('0x480a')+_0x477d('0x48e7')+_0x477d('0x452d')+_0x477d('0x480c')+_0x477d('0x4808')+_0x477d('0x48e8')+_0x477d('0x48e9')+_0x477d('0x48ea')+_0x477d('0x452d')+_0x477d('0x480c')+_0x477d('0x4813')+_0x477d('0x4814')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22DASHBOARDS.CLOSE_AND_DISPOSE\x22>\x0a'+_0x477d('0x48eb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4845')+_0x477d('0x4816')+_0x477d('0x47d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4818')+_0x477d('0x42d1')+_0x477d('0x413f')+_0x477d('0x4819')+_0x477d('0x481a')+_0x477d('0x481b')+_0x477d('0x48ec')+_0x477d('0x48ed')+_0x477d('0x4766'));_0x143a79[_0x477d('0x390')](_0x477d('0x48ee'),_0x477d('0x4710')+_0x477d('0x47b1')+_0x477d('0x47b2')+_0x477d('0x4100')+_0x477d('0x47b3')+_0x477d('0x48ef')+_0x477d('0x47b5')+_0x477d('0x47b6')+_0x477d('0x47b7')+_0x477d('0x47b8')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x48f0')+_0x477d('0x47ba')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x47bc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22Advanced\x20search\x22\x20translate\x20translate-attr-aria-label=\x22DASHBOARDS.ADVANCED_SEARCH\x22\x0a'+_0x477d('0x47be')+_0x477d('0x48f1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x20\x27{{\x20vm.sectionColor\x20}}-fg\x20blink\x27:\x20vm.query.search\x20}\x22>\x0a'+_0x477d('0x4821')+_0x477d('0x36dc')+_0x477d('0x47c0')+_0x477d('0x48ca')+_0x477d('0x48f2')+_0x477d('0x47c2')+_0x477d('0x47c3')+_0x477d('0x36dc')+_0x477d('0x380f')+_0x477d('0x48f3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x48f4')+_0x477d('0x48f5')+_0x477d('0x48cf')+_0x477d('0x48f6')+'>\x0a'+_0x477d('0x48f7')+_0x477d('0x48f8')+_0x477d('0x48f9')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3699')+'\x20\x20\x0a'+'\x20\x20\x0a'+_0x477d('0x47c5')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x47c7')+_0x477d('0x47c8')+_0x477d('0x47c9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x47cb')+_0x477d('0x48d3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x47cd')+_0x477d('0x48fa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.STARTEDAT\x27\x20|\x20translate}}\x0a'+_0x477d('0x48d4')+_0x477d('0x48d5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.AGENT\x27\x20|\x20translate}}\x0a'+_0x477d('0x48d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.ACCOUNT\x27\x20|\x20translate}}\x0a'+_0x477d('0x48d3')+_0x477d('0x47d1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4817')+_0x477d('0x47d3')+_0x477d('0x47d4')+_0x477d('0x48fb')+_0x477d('0x48fc')+_0x477d('0x47d6')+_0x477d('0x47d7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Interaction\x0a'+_0x477d('0x36c0')+_0x477d('0x47d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x48fd')+_0x477d('0x48d9')+_0x477d('0x48fe')+_0x477d('0x387b')+_0x477d('0x47da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x47d9')+_0x477d('0x47fc')+_0x477d('0x47db')+_0x477d('0x48da')+_0x477d('0x47dc')+_0x477d('0x47dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-repeat=\x22u\x20in\x20interaction.Users\x22>{{\x20(u.id\x20==\x20vm.user.id)\x20?\x20\x27DASHBOARDS.ME\x27\x20:\x20u.fullname\x20|\x20translate\x20}}{{interaction.unreadMessages}}\x0a'+_0x477d('0x36c0')+_0x477d('0x47d9')+_0x477d('0x47e4')+_0x477d('0x47e5')+_0x477d('0x47e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x47d9')+_0x477d('0x48ff')+_0x477d('0x47e7')+_0x477d('0x47e8')+_0x477d('0x47e9')+_0x477d('0x48db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4900')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4901')+_0x477d('0x3b18')+_0x477d('0x4902')+_0x477d('0x36c0')+_0x477d('0x4903')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22text-truncate\x20font-size-12\x22>{{\x20interaction.subject\x20}}\x0a'+_0x477d('0x47d9')+_0x477d('0x4904')+_0x477d('0x47ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x48de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x48e1')+_0x477d('0x47d9')+_0x477d('0x48ff')+_0x477d('0x47f2')+_0x477d('0x48e2')+_0x477d('0x47f3')+_0x477d('0x47f4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x47f6')+_0x477d('0x47f7')+_0x477d('0x48e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{interaction.substatus}}\x0a'+_0x477d('0x47d9')+_0x477d('0x4905')+_0x477d('0x47f9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4906')+_0x477d('0x4907')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.getMailAccountLabel(interaction)\x20}}\x0a'+_0x477d('0x47d9')+_0x477d('0x47fc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x47fe')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{tag.name}},\x0a'+_0x477d('0x4800')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4803')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4807')+_0x477d('0x4808')+_0x477d('0x4908')+_0x477d('0x480a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20Mail\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x480c')+_0x477d('0x4808')+_0x477d('0x4909')+_0x477d('0x490a')+_0x477d('0x480f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x480c')+_0x477d('0x4808')+_0x477d('0x490b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MAIL.DOWNLOAD_WITHOUT_ATTACHMENTS\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Download\x20without\x20attachments\x0a'+_0x477d('0x452d')+_0x477d('0x480c')+_0x477d('0x4813')+_0x477d('0x4814')+_0x477d('0x4815')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Close\x20and\x20Dispose\x0a'+_0x477d('0x452d')+_0x477d('0x480c')+_0x477d('0x4845')+_0x477d('0x4816')+_0x477d('0x47d9')+_0x477d('0x4817')+_0x477d('0x4818')+_0x477d('0x42d1')+_0x477d('0x413f')+'\x20\x20\x0a'+_0x477d('0x490f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x491b')+_0x477d('0x491c')+_0x477d('0x491d')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x392e')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x491e')+_0x477d('0x471e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.ID\x27\x20|\x20translate}}\x0a'+_0x477d('0x491f')+_0x477d('0x4920')+_0x477d('0x4921')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.FAX\x27\x20|\x20translate}}\x0a'+_0x477d('0x4922')+_0x477d('0x4923')+_0x477d('0x4924')+_0x477d('0x4728')+_0x477d('0x3932')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3934')+_0x477d('0x4925')+_0x477d('0x4729')+_0x477d('0x4926')+_0x477d('0x4759')+_0x477d('0x36a9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3932')+_0x477d('0x4927')+_0x477d('0x4928')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{contact.firstName}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{contact.lastName}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4731')+_0x477d('0x3939')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4731')+_0x477d('0x3939')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{contact.fax}}\x0a'+_0x477d('0x4929')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x492a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x492b')+_0x477d('0x492c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{contact.Tags[0].name}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x492d')+_0x477d('0x492e')+_0x477d('0x492f')+_0x477d('0x4930')+_0x477d('0x4931')+_0x477d('0x4932')+_0x477d('0x382a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x473c')+_0x477d('0x4933')+_0x477d('0x473e')+_0x477d('0x473f')+_0x477d('0x4740')+_0x477d('0x3832')+'\x0a'+_0x477d('0x4934')+_0x477d('0x368e')+_0x477d('0x4935')+_0x477d('0x4936')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x368d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Merge\x20Contact\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x368d')+_0x477d('0x3692')+_0x477d('0x3693')+_0x477d('0x3939')+_0x477d('0x3932')+_0x477d('0x393a')+_0x477d('0x393b')+_0x477d('0x393c')+'\x0a'+_0x477d('0x4939')+_0x477d('0x493a')+_0x477d('0x493b'));_0x143a79[_0x477d('0x390')](_0x477d('0x493c'),_0x477d('0x4710')+_0x477d('0x47b1')+_0x477d('0x47b2')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20Interactions\x0a'+_0x477d('0x47b5')+'\x20\x20\x20\x20\x20\x20\x20\x20on-expand=\x22vm.onSearchBarExpand()\x22\x20query=\x22vm.query.filter\x22\x20debounce=\x22300\x22\x20direction=\x22down\x22\x20icon-color=\x22white-fg\x22\x0a'+_0x477d('0x47b7')+_0x477d('0x47b8')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x493d')+'\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22vm.query.search\x22>\x0a'+_0x477d('0x47bb')+_0x477d('0x47bc')+_0x477d('0x47bd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.openAdvancedSearch()\x22>\x0a'+_0x477d('0x48f1')+_0x477d('0x47bf')+_0x477d('0x4821')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x47c0')+_0x477d('0x48ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.getOpenchannelInteractions()\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x47c3')+_0x477d('0x36dc')+_0x477d('0x380f')+_0x477d('0x493e')+_0x477d('0x48cc')+_0x477d('0x48cd')+_0x477d('0x4105')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x493f')+_0x477d('0x48cf')+_0x477d('0x4940')+_0x477d('0x4941')+_0x477d('0x4942')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x48f9')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3699')+_0x477d('0x4106')+'\x20\x20\x0a'+_0x477d('0x47c5')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x47c7')+_0x477d('0x47c8')+_0x477d('0x47c9')+_0x477d('0x47ca')+_0x477d('0x47cb')+_0x477d('0x48d3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x47cc')+_0x477d('0x47cd')+_0x477d('0x47ce')+_0x477d('0x48d4')+_0x477d('0x48d5')+_0x477d('0x47cf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4943')+_0x477d('0x48d3')+_0x477d('0x47d1')+_0x477d('0x47d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x47d4')+_0x477d('0x4944')+_0x477d('0x48fc')+_0x477d('0x47d6')+_0x477d('0x47d7')+_0x477d('0x47d8')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4817')+_0x477d('0x4945')+_0x477d('0x48d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x47da')+_0x477d('0x36c0')+_0x477d('0x47d9')+_0x477d('0x47fc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x47dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20(u.id\x20==\x20vm.user.id)\x20?\x20\x27DASHBOARDS.ME\x27\x20:\x20u.fullname\x20|\x20translate\x20}}{{interaction.unreadMessages}}\x0a'+_0x477d('0x36c0')+_0x477d('0x47d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x47e5')+_0x477d('0x47e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x47d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x47e7')+_0x477d('0x47e8')+_0x477d('0x47e9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20layout-margin>{{\x20interaction.contactName\x20}}\x0a'+_0x477d('0x47ea')+_0x477d('0x47eb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x47d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x47ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4946')+_0x477d('0x48dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x47ef')+_0x477d('0x47f0')+_0x477d('0x47f1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x48e1')+_0x477d('0x47d9')+_0x477d('0x4946')+_0x477d('0x47f2')+_0x477d('0x48e2')+_0x477d('0x47f3')+_0x477d('0x47f4')+_0x477d('0x47f5')+_0x477d('0x47f6')+_0x477d('0x47f7')+_0x477d('0x48e3')+_0x477d('0x47f8')+_0x477d('0x47d9')+_0x477d('0x4947')+_0x477d('0x47f9')+_0x477d('0x47d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x47ff')+_0x477d('0x4800')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4801')+_0x477d('0x48e5')+_0x477d('0x47ee')+_0x477d('0x3fab')+_0x477d('0x36c0')+_0x477d('0x47d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4803')+_0x477d('0x4804')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22DASHBOARDS.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a'+_0x477d('0x4806')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4807')+_0x477d('0x4808')+_0x477d('0x494a')+_0x477d('0x480a')+_0x477d('0x494b')+_0x477d('0x452d')+_0x477d('0x480c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x494c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22OPENCHANNEL.DOWNLOAD_WITH_ATTACHMENTS\x22>\x0a'+_0x477d('0x480f')+_0x477d('0x452d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4808')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4813')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x48eb')+_0x477d('0x452d')+_0x477d('0x480c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4816')+_0x477d('0x47d9')+_0x477d('0x4817')+_0x477d('0x4818')+_0x477d('0x42d1')+_0x477d('0x413f')+_0x477d('0x4819')+_0x477d('0x481a')+_0x477d('0x481b')+_0x477d('0x494e')+'\x20\x20\x20\x20md-page-select>\x0a'+_0x477d('0x4766'));_0x143a79[_0x477d('0x390')](_0x477d('0x494f'),_0x477d('0x4950')+'\x20\x20\x20\x20\x0a'+_0x477d('0x1877'));_0x143a79[_0x477d('0x390')](_0x477d('0x4951'),_0x477d('0x481d')+_0x477d('0x4952')+_0x477d('0x3929')+_0x477d('0x4953')+_0x477d('0x4954')+_0x477d('0x4910')+_0x477d('0x4955')+_0x477d('0x4912')+_0x477d('0x3bec')+_0x477d('0x4956')+_0x477d('0x4957')+_0x477d('0x36e5')+_0x477d('0x392e')+_0x477d('0x4199')+_0x477d('0x3930')+_0x477d('0x4958')+_0x477d('0x471e')+_0x477d('0x4959')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.UNIQUEID\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x495a')+_0x477d('0x495b')+_0x477d('0x495c')+_0x477d('0x495d')+_0x477d('0x495e')+_0x477d('0x495f')+_0x477d('0x4960')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3932')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3934')+_0x477d('0x4961')+_0x477d('0x4729')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4759')+_0x477d('0x36a9')+_0x477d('0x3939')+_0x477d('0x3932')+_0x477d('0x4962')+_0x477d('0x4963')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{voiceRecording.uniqueid}}\x0a'+_0x477d('0x4964')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4965')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4966')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4967')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3939')+_0x477d('0x4968')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4730')+_0x477d('0x4731')+_0x477d('0x3939')+_0x477d('0x4969')+_0x477d('0x496a')+_0x477d('0x496b')+_0x477d('0x496c')+_0x477d('0x496d')+_0x477d('0x3939')+_0x477d('0x496e')+_0x477d('0x496f')+_0x477d('0x4970')+_0x477d('0x4971')+_0x477d('0x4972')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.CANT_PLAY_GSM_AUDIO_FILES\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x427b')+_0x477d('0x3939')+_0x477d('0x4973')+_0x477d('0x473c')+_0x477d('0x4933')+_0x477d('0x473e')+_0x477d('0x4974')+_0x477d('0x4740')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4934')+_0x477d('0x368e')+_0x477d('0x4975')+_0x477d('0x4976')+_0x477d('0x4977')+_0x477d('0x3691')+_0x477d('0x368d')+_0x477d('0x4978')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Download\x20Transcribe\x0a'+_0x477d('0x3691')+_0x477d('0x368d')+_0x477d('0x3692')+_0x477d('0x3693')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3932')+_0x477d('0x393a')+_0x477d('0x393b')+_0x477d('0x393c')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x4979')+'');_0x143a79['put'](_0x477d('0x497a'),'\x0a'+_0x477d('0x497b')+_0x477d('0x3929')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Scheduled\x20Calls\x0a'+_0x477d('0x3bec')+_0x477d('0x497c')+_0x477d('0x4957')+_0x477d('0x497d')+_0x477d('0x497e')+_0x477d('0x471a')+_0x477d('0x497f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+_0x477d('0x392e')+_0x477d('0x4199')+_0x477d('0x3930')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4980')+_0x477d('0x4981')+_0x477d('0x4982')+_0x477d('0x4983')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.RECALLME\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x4984')+_0x477d('0x4728')+_0x477d('0x3932')+_0x477d('0x3933')+_0x477d('0x3934')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4729')+_0x477d('0x4926')+_0x477d('0x4985')+_0x477d('0x36a9')+_0x477d('0x3939')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4986')+_0x477d('0x4987')+_0x477d('0x4988')+_0x477d('0x4989')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x498a')+_0x477d('0x498b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.priorities[scheduledCall.priority]\x20}}\x0a'+_0x477d('0x4988')+_0x477d('0x498c')+_0x477d('0x498d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-font-icon=\x22{{\x20scheduledCall.recallme\x20\x20&&\x20scheduledCall.UserId\x20==\x20vm.currentUser.id\x20?\x20\x27icon-check\x27\x20:\x20\x27icon-close\x27\x20}}\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4988')+_0x477d('0x498e')+_0x477d('0x498f')+_0x477d('0x3939')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4933')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3832')+'\x0a'+_0x477d('0x4934')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4991')+_0x477d('0x4992')+_0x477d('0x4993')+_0x477d('0x3691')+_0x477d('0x368d')+_0x477d('0x368e')+_0x477d('0x4994')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MOTIONDIALER.DELETE_HOPPER\x22>\x0a'+_0x477d('0x4995')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x368d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3693')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3932')+_0x477d('0x393a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4939')+'\x20\x20\x20\x20\x20\x20\x20\x20md-total=\x22{{vm.scheduledCalls.count}}\x22\x20md-on-paginate=\x22vm.getScheduledCalls\x22\x20md-page-select>\x0a'+_0x477d('0x4979')+_0x477d('0x4766'));_0x143a79[_0x477d('0x390')](_0x477d('0x4996'),_0x477d('0x4710')+_0x477d('0x47b1')+'\x20\x20\x20\x20ng-disabled=\x22vm.searchInProgress\x22>\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x47b3')+_0x477d('0x4997')+_0x477d('0x47b5')+_0x477d('0x47b6')+'\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22vm.query.search\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4103')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x47bc')+_0x477d('0x47bd')+_0x477d('0x47be')+_0x477d('0x48f1')+_0x477d('0x47bf')+_0x477d('0x4821')+_0x477d('0x36dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x499c')+_0x477d('0x48f8')+_0x477d('0x48f9')+_0x477d('0x48d1')+_0x477d('0x3699')+_0x477d('0x4106')+_0x477d('0x47c4')+_0x477d('0x47c5')+_0x477d('0x499d')+_0x477d('0x47c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.ID\x27\x20|\x20translate}}\x0a'+_0x477d('0x47ca')+_0x477d('0x47cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x47cc')+_0x477d('0x47cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.CONTACT\x27\x20|\x20translate}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.STARTEDAT\x27\x20|\x20translate}}\x0a'+_0x477d('0x48d4')+_0x477d('0x48d5')+_0x477d('0x47cf')+_0x477d('0x48d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.ACCOUNT\x27\x20|\x20translate}}\x0a'+_0x477d('0x48d3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.TAGS\x27\x20|\x20translate}}\x0a'+_0x477d('0x47d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x47d3')+_0x477d('0x47d4')+_0x477d('0x499e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x47d6')+_0x477d('0x47d7')+_0x477d('0x47d8')+_0x477d('0x36c0')+_0x477d('0x47d9')+_0x477d('0x4817')+_0x477d('0x499f')+_0x477d('0x48d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387b')+_0x477d('0x47da')+_0x477d('0x36c0')+_0x477d('0x47d9')+_0x477d('0x47fc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x48da')+_0x477d('0x47dc')+_0x477d('0x47dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-repeat=\x22u\x20in\x20interaction.Users\x22>{{\x20(u.id\x20==\x20vm.user.id)\x20?\x20\x27DASHBOARDS.ME\x27\x20:\x20u.fullname\x20|\x20translate\x20}}\x0a'+_0x477d('0x47d9')+_0x477d('0x47e4')+_0x477d('0x47e1')+_0x477d('0x47e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20layout-margin>{{interaction.unreadMessages}}\x0a'+_0x477d('0x36c0')+_0x477d('0x47d9')+_0x477d('0x47e4')+_0x477d('0x47e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x47d9')+_0x477d('0x49a0')+_0x477d('0x47e7')+_0x477d('0x47e8')+_0x477d('0x47e9')+_0x477d('0x48db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x47f5')+_0x477d('0x47f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x47d9')+_0x477d('0x49a1')+_0x477d('0x47f9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x49a2')+_0x477d('0x49a3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.getSmsAccountLabel(interaction)\x20}}\x0a'+_0x477d('0x47d9')+_0x477d('0x47fc')+_0x477d('0x47fd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x47fe')+_0x477d('0x47ff')+_0x477d('0x4800')+_0x477d('0x43b8')+_0x477d('0x4801')+_0x477d('0x48e5')+_0x477d('0x47ee')+_0x477d('0x3fab')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4802')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4804')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22DASHBOARDS.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a'+_0x477d('0x4806')+_0x477d('0x39e1')+_0x477d('0x4807')+_0x477d('0x4808')+_0x477d('0x49a4')+_0x477d('0x480a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20Sms\x0a'+_0x477d('0x452d')+_0x477d('0x480c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4845')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4818')+'\x20\x20\x20\x20\x0a'+_0x477d('0x413f')+'\x20\x20\x0a'+_0x477d('0x4766'));_0x143a79[_0x477d('0x390')]('app/main/apps/dashboards/views/general/agent/home/voice/agent.general.voice.html',_0x477d('0x481d')+_0x477d('0x49a7')+_0x477d('0x3929')+_0x477d('0x49a8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x49a9')+_0x477d('0x4957')+_0x477d('0x36e5')+_0x477d('0x392e')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3930')+_0x477d('0x49aa')+_0x477d('0x471e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27VOICE.ID\x27\x20|\x20translate}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.TYPE\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x49ab')+_0x477d('0x49ac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.STARTEDAT\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x49ad')+_0x477d('0x49ae')+_0x477d('0x49af')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3933')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x49b0')+_0x477d('0x49b1')+_0x477d('0x4926')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3932')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x49b2')+_0x477d('0x49b3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x472d')+_0x477d('0x49b4')+_0x477d('0x4731')+_0x477d('0x3939')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x472d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4731')+_0x477d('0x3939')+_0x477d('0x49b5')+_0x477d('0x49b6')+_0x477d('0x49b7')+_0x477d('0x49b8')+_0x477d('0x49b9')+_0x477d('0x3939')+_0x477d('0x473c')+_0x477d('0x4933')+_0x477d('0x473e')+_0x477d('0x4974')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3832')+'\x0a'+_0x477d('0x4934')+_0x477d('0x368e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x49ba')+_0x477d('0x3691')+_0x477d('0x368d')+_0x477d('0x3692')+_0x477d('0x3693')+_0x477d('0x3939')+_0x477d('0x3932')+_0x477d('0x393a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x393c')+_0x477d('0x4939')+'\x20\x20\x20\x20\x20\x20\x20\x20md-total=\x22{{vm.voiceCalls.count}}\x22\x20md-on-paginate=\x22vm.getVoiceCalls\x22\x20md-page-select>\x0a'+_0x477d('0x4766'));_0x143a79[_0x477d('0x390')]('app/main/apps/dashboards/views/general/agent/home/voice/details/dialog.html',_0x477d('0x49bb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x49bc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3844')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3660')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x49bd')+_0x477d('0x49be')+_0x477d('0x49bf')+_0x477d('0x49c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

{{vm.call.uniqueid}}

\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x49be')+_0x477d('0x49bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type

\x0a'+_0x477d('0x49c1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3747')+'\x0a'+_0x477d('0x49be')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Source

\x0a'+_0x477d('0x49c2')+_0x477d('0x36bf')+_0x477d('0x3747')+'\x0a'+_0x477d('0x49be')+_0x477d('0x49bf')+_0x477d('0x49c3')+_0x477d('0x49c4')+_0x477d('0x36bf')+_0x477d('0x3747')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x49bf')+_0x477d('0x49c5')+_0x477d('0x49c6')+_0x477d('0x36bf')+_0x477d('0x3747')+'\x0a'+_0x477d('0x49be')+_0x477d('0x49bf')+_0x477d('0x49c7')+_0x477d('0x49c8')+_0x477d('0x36bf')+_0x477d('0x3747')+'\x0a'+_0x477d('0x49be')+_0x477d('0x49bf')+_0x477d('0x49c9')+_0x477d('0x49ca')+_0x477d('0x36bf')+_0x477d('0x3747')+'\x0a'+_0x477d('0x49be')+_0x477d('0x49bf')+_0x477d('0x49cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

{{vm.call.duration\x20?\x20vm.call.duration\x20:\x20\x27--\x27}}s

\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x49cc')+_0x477d('0x49cd')+_0x477d('0x36bf')+_0x477d('0x3747')+'\x0a'+_0x477d('0x49be')+_0x477d('0x49bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Disposition

\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

{{vm.call.userDisposition\x20?\x20vm.call.userDisposition\x20:\x20\x27--\x27}}

\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x49be')+_0x477d('0x49bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Note

\x0a'+_0x477d('0x49ce')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3748')+_0x477d('0x3663')+'\x0a'+_0x477d('0x3b1a')+_0x477d('0x49cf')+_0x477d('0x49d0')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x49d1'),_0x477d('0x4710')+'\x20\x20\x0a'+_0x477d('0x47c3')+_0x477d('0x36dc')+_0x477d('0x380f')+_0x477d('0x49d5')+_0x477d('0x48cc')+_0x477d('0x48cd')+_0x477d('0x4105')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x48f4')+_0x477d('0x49d6')+_0x477d('0x48cf')+_0x477d('0x49d7')+'>\x0a'+_0x477d('0x49d8')+_0x477d('0x48f8')+_0x477d('0x48f9')+_0x477d('0x48d1')+_0x477d('0x3699')+_0x477d('0x4106')+_0x477d('0x47c4')+_0x477d('0x47c5')+_0x477d('0x49d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x47c8')+_0x477d('0x47c9')+_0x477d('0x47ca')+_0x477d('0x47cb')+_0x477d('0x48d3')+_0x477d('0x47cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x47cd')+_0x477d('0x47ce')+_0x477d('0x48d4')+_0x477d('0x48d5')+_0x477d('0x47cf')+_0x477d('0x48d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.ACCOUNT\x27\x20|\x20translate}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x47d1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4817')+_0x477d('0x47d3')+_0x477d('0x47d4')+_0x477d('0x49da')+_0x477d('0x48fc')+_0x477d('0x47d6')+_0x477d('0x47d7')+_0x477d('0x47d8')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x49db')+_0x477d('0x48d9')+_0x477d('0x49dc')+_0x477d('0x387b')+_0x477d('0x47da')+_0x477d('0x36c0')+_0x477d('0x47d9')+_0x477d('0x47fc')+_0x477d('0x47db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x47dc')+_0x477d('0x47dd')+_0x477d('0x47de')+_0x477d('0x47df')+_0x477d('0x47e0')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x47e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x47e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x47d9')+_0x477d('0x49dd')+_0x477d('0x47e7')+_0x477d('0x47e8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27no-margin-bottom\x27\x20:\x20interaction.contactInfo}\x22\x0a'+_0x477d('0x48db')+_0x477d('0x47ea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20layout-margin>{{\x20interaction.contactInfo\x20}}\x0a'+_0x477d('0x36c0')+_0x477d('0x47d9')+_0x477d('0x49dd')+_0x477d('0x47ed')+_0x477d('0x47d9')+_0x477d('0x49dd')+_0x477d('0x48dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x48df')+_0x477d('0x48e0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x47f0')+_0x477d('0x47f1')+_0x477d('0x3fab')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x48e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x49dd')+_0x477d('0x47f2')+_0x477d('0x48e2')+_0x477d('0x47f3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{interaction.disposition}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{interaction.closedAt\x20|\x20formatdate\x20}}\x0a'+_0x477d('0x47f7')+_0x477d('0x48e3')+_0x477d('0x47f8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x49de')+_0x477d('0x47f9')+_0x477d('0x47d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x47fd')+_0x477d('0x47f0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x47ff')+_0x477d('0x4800')+_0x477d('0x43b8')+_0x477d('0x4801')+_0x477d('0x48e5')+_0x477d('0x47ee')+_0x477d('0x3fab')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4802')+_0x477d('0x4803')+_0x477d('0x4804')+_0x477d('0x4805')+_0x477d('0x4806')+_0x477d('0x39e1')+_0x477d('0x4807')+_0x477d('0x4808')+_0x477d('0x49e1')+_0x477d('0x480a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20Whatsapp\x0a'+_0x477d('0x452d')+_0x477d('0x480c')+_0x477d('0x4808')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x48eb')+_0x477d('0x452d')+_0x477d('0x480c')+_0x477d('0x4845')+_0x477d('0x4816')+_0x477d('0x47d9')+_0x477d('0x4817')+_0x477d('0x4818')+_0x477d('0x42d1')+'\x20\x20
\x0a'+_0x477d('0x4819')+_0x477d('0x481a')+_0x477d('0x481b')+'\x20\x20\x20\x20md-total=\x22{{vm.whatsappInteractions.count}}\x22\x20md-on-paginate=\x22vm.getWhatsappInteractions\x22\x0a'+'\x20\x20\x20\x20md-page-select>\x0a'+_0x477d('0x4766'));_0x143a79[_0x477d('0x390')](_0x477d('0x49e2'),_0x477d('0x49e3')+'\x0a'+_0x477d('0x49e4')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+'');_0x143a79[_0x477d('0x390')]('app/main/apps/dashboards/views/general/agent/interaction/agent.general.interaction.dialog.html','\x0a'+_0x477d('0x49e5')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x49e6'),_0x477d('0x49e7')+_0x477d('0x49e8')+'\x0a'+_0x477d('0x49e9')+'\x0a'+_0x477d('0x49ea')+'\x0a'+_0x477d('0x49eb')+'\x0a'+_0x477d('0x49ec')+_0x477d('0x49ed')+'\x0a'+_0x477d('0x49ee')+_0x477d('0x49ef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20(u.id\x20==\x20vm.user.id)\x20?\x20\x27DASHBOARDS.ME\x27\x20:\x20vm.usersMap[u.id]\x20|\x20translate\x20}}\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x484b')+'\x0a'+_0x477d('0x49f0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x49f1')+'\x0a'+_0x477d('0x49f2')+_0x477d('0x49f3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x49f4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x49f5')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x46c5')+_0x477d('0x49f6')+'\x0a'+_0x477d('0x49f7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x49f8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x49f9')+_0x477d('0x3699')+_0x477d('0x49fa')+_0x477d('0x49fb'));_0x143a79[_0x477d('0x390')](_0x477d('0x175d'),_0x477d('0x49fc')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x365d')+_0x477d('0x463c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SEND\x0a'+_0x477d('0x3674')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3674')+_0x477d('0x3670')+_0x477d('0x49fe')+_0x477d('0x49ff')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x4a00')+_0x477d('0x4a01')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4a02')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4a03')+_0x477d('0x4a04')+_0x477d('0x4a05')+_0x477d('0x4a06')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x4a07')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4a08')+_0x477d('0x3670')+_0x477d('0x36a1')+'\x0a'+_0x477d('0x4a09')+_0x477d('0x4a0a')+_0x477d('0x3aec')+_0x477d('0x41e5')+_0x477d('0x4a0b')+_0x477d('0x4a0c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4a0d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3674')+_0x477d('0x3670')+_0x477d('0x36c0')+'\x0a'+_0x477d('0x3663')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3840'));_0x143a79['put'](_0x477d('0x1818'),'\x0a'+_0x477d('0x4a10')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x365d')+_0x477d('0x463c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4a11')+_0x477d('0x4a12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.SEND\x27\x20|\x20translate\x20|\x20uppercase\x20}}\x0a'+_0x477d('0x4a13')+_0x477d('0x4a14')+_0x477d('0x4933')+_0x477d('0x4a15')+_0x477d('0x4a16')+_0x477d('0x4a17')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4a18')+_0x477d('0x4742')+_0x477d('0x4743')+_0x477d('0x4a19')+_0x477d('0x4a1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4745')+_0x477d('0x4a1b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4a1c')+_0x477d('0x3d60')+_0x477d('0x3d61')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x368d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4a1d')+_0x477d('0x4a1e')+_0x477d('0x3691')+_0x477d('0x368d')+_0x477d('0x3692')+_0x477d('0x3693')+_0x477d('0x36bf')+_0x477d('0x4a1f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22Save\x20draft\x22\x20ng-click=\x22vm.saveDraft()\x22>\x0a'+_0x477d('0x4a20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4a21')+_0x477d('0x4a22')+_0x477d('0x4a23')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4a24')+_0x477d('0x4a25')+_0x477d('0x4a26')+_0x477d('0x4a27')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3674')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.message.from}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3aea')+_0x477d('0x3aeb')+_0x477d('0x3aec')+_0x477d('0x3aed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3aef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36c0')+_0x477d('0x4a2a')+_0x477d('0x4a2b')+_0x477d('0x4a2c')+_0x477d('0x4a2d')+_0x477d('0x4a2e')+_0x477d('0x4a2f')+_0x477d('0x4a30')+_0x477d('0x4a31')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.getContact(contact)\x20}}\x0a'+_0x477d('0x4a05')+_0x477d('0x4a06')+_0x477d('0x3697')+_0x477d('0x4a32')+_0x477d('0x39d2')+_0x477d('0x4a33')+_0x477d('0x36bf')+_0x477d('0x3670')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4a34')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20BCC\x0a'+_0x477d('0x3670')+_0x477d('0x36a1')+'\x0a'+_0x477d('0x4a35')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Cc\x0a'+_0x477d('0x4a36')+_0x477d('0x4a37')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-require-match=\x22false\x22\x20required>\x0a'+_0x477d('0x4a38')+_0x477d('0x4a31')+_0x477d('0x4a03')+_0x477d('0x4a04')+_0x477d('0x4a05')+_0x477d('0x4a06')+_0x477d('0x3697')+_0x477d('0x36a1')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4a39')+_0x477d('0x4a3a')+_0x477d('0x4a3b')+_0x477d('0x4a2f')+_0x477d('0x4a3c')+_0x477d('0x4a31')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4a04')+_0x477d('0x4a05')+_0x477d('0x4a06')+_0x477d('0x3697')+_0x477d('0x36a1')+'\x0a'+_0x477d('0x4a3d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Subject\x0a'+_0x477d('0x4a3e')+_0x477d('0x36a1')+'\x0a'+_0x477d('0x4a09')+_0x477d('0x4a3f')+_0x477d('0x4a40')+_0x477d('0x3aec')+_0x477d('0x41e5')+_0x477d('0x4a0b')+_0x477d('0x4a41')+_0x477d('0x36bf')+'\x0a'+_0x477d('0x4a42')+_0x477d('0x4a43')+_0x477d('0x4a44')+_0x477d('0x3674')+_0x477d('0x3670')+_0x477d('0x36c0')+'\x0a'+_0x477d('0x4a45')+_0x477d('0x4a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ready=\x22vm.onReadyEditor()\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4a47')+_0x477d('0x4a48')+_0x477d('0x4a49')+'\x0a'+_0x477d('0x4a4a')+_0x477d('0x4a4b')+_0x477d('0x4a4c')+_0x477d('0x4a4d')+_0x477d('0x4a4e')+_0x477d('0x3b07')+_0x477d('0x4a4f')+_0x477d('0x36bb')+_0x477d('0x4a50')+_0x477d('0x4a51')+_0x477d('0x4a52')+_0x477d('0x4a53')+_0x477d('0x3b09')+'\x0a'+_0x477d('0x4a54')+_0x477d('0x4a55')+_0x477d('0x4a56')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3663')+_0x477d('0x366a')+_0x477d('0x366b'));_0x143a79[_0x477d('0x390')](_0x477d('0x178b'),_0x477d('0x4a57')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x365d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SEND\x0a'+_0x477d('0x3674')+_0x477d('0x4a58')+_0x477d('0x4a59')+_0x477d('0x3674')+_0x477d('0x3670')+_0x477d('0x4a5a')+_0x477d('0x4a5b')+_0x477d('0x4a29')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3aeb')+_0x477d('0x3aec')+_0x477d('0x3aed')+_0x477d('0x3aee')+_0x477d('0x36bf')+_0x477d('0x3aef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3674')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4a5c')+_0x477d('0x4a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4a5e')+_0x477d('0x4a03')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.getContact(contact)\x20}}\x0a'+_0x477d('0x4a05')+_0x477d('0x4a06')+_0x477d('0x3697')+_0x477d('0x4a32')+_0x477d('0x39d2')+_0x477d('0x4a5f')+_0x477d('0x36bf')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4a60')+_0x477d('0x4a61')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4a62')+_0x477d('0x4a63')+_0x477d('0x4a64')+_0x477d('0x4a65')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4a66')+_0x477d('0x4a67')+'\x0a'+_0x477d('0x4a54')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20canned\x20answers\x20were\x20found\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b0b')+'\x0a'+'\x0a'+_0x477d('0x3663')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x17c5'),_0x477d('0x4a57')+_0x477d('0x4a10')+_0x477d('0x46f9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x463c')+_0x477d('0x4a68')+_0x477d('0x4a69')+_0x477d('0x3674')+_0x477d('0x4a58')+_0x477d('0x4a6a')+_0x477d('0x3674')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4a5a')+_0x477d('0x4a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3660')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3aea')+_0x477d('0x3aeb')+_0x477d('0x3aec')+_0x477d('0x3aed')+_0x477d('0x3aee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3aef')+_0x477d('0x3af0')+_0x477d('0x3674')+_0x477d('0x3670')+_0x477d('0x36c0')+'\x0a'+_0x477d('0x4a5c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20To\x0a'+_0x477d('0x4a6c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4a03')+_0x477d('0x4a04')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4a06')+_0x477d('0x3697')+_0x477d('0x4a32')+_0x477d('0x39d2')+_0x477d('0x4a6d')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+'\x0a'+_0x477d('0x4a60')+_0x477d('0x4a6e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4a64')+_0x477d('0x4a6f')+_0x477d('0x4a70')+_0x477d('0x4a66')+_0x477d('0x4a67')+'\x0a'+_0x477d('0x4a54')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20canned\x20answers\x20were\x20found\x0a'+_0x477d('0x4a56')+_0x477d('0x3b0b')+'\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x17e1'),_0x477d('0x4a57')+_0x477d('0x4a10')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x365d')+_0x477d('0x463c')+_0x477d('0x4a68')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SEND\x0a'+_0x477d('0x3674')+_0x477d('0x4a58')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Add\x20note\x0a'+_0x477d('0x3674')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.message.from}}\x0a'+_0x477d('0x4a71')+_0x477d('0x4a29')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3aea')+_0x477d('0x3aeb')+_0x477d('0x3aec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x3aee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3aef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3674')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+'\x0a'+_0x477d('0x4a5c')+_0x477d('0x4a72')+_0x477d('0x4a6c')+_0x477d('0x4a73')+_0x477d('0x4a03')+_0x477d('0x4a04')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4a06')+_0x477d('0x3697')+_0x477d('0x4a32')+_0x477d('0x39d2')+_0x477d('0x4a74')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+'\x0a'+_0x477d('0x4a60')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4a75')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4a64')+_0x477d('0x4a76')+_0x477d('0x4a77')+_0x477d('0x4a66')+_0x477d('0x4a67')+'\x0a'+_0x477d('0x4a54')+_0x477d('0x4a78')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x0a'+_0x477d('0x3663')+'\x20\x20\x20\x20\x0a'+'\x0a');_0x143a79[_0x477d('0x390')](_0x477d('0x15a6'),_0x477d('0x4a79')+_0x477d('0x4a7a')+_0x477d('0x46f9')+_0x477d('0x365d')+_0x477d('0x4a7b')+_0x477d('0x4a7c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39c2')+_0x477d('0x3aea')+_0x477d('0x3aeb')+_0x477d('0x3aec')+_0x477d('0x3aed')+_0x477d('0x3aee')+_0x477d('0x36bf')+_0x477d('0x3aef')+_0x477d('0x3af0')+_0x477d('0x3674')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x383b')+_0x477d('0x4a7d')+_0x477d('0x4a7e')+_0x477d('0x4a7f')+_0x477d('0x4a80')+_0x477d('0x36a0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x4a81')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4a82')+_0x477d('0x4a83')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3aea')+_0x477d('0x3aeb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x3aed')+_0x477d('0x3aee')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3af0')+_0x477d('0x3674')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3663')+'\x0a'+_0x477d('0x3b1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4a84')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CLOSE\x20AND\x20DISPOSE\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4a85')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CLOSE\x20WITHOUT\x20DISPOSE\x0a'+_0x477d('0x387e')+_0x477d('0x4a86')+_0x477d('0x4a87')+_0x477d('0x387e')+_0x477d('0x4a88')+_0x477d('0x4a89')+_0x477d('0x4a8a')+_0x477d('0x3670')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x366a')+_0x477d('0x366b'));_0x143a79[_0x477d('0x390')](_0x477d('0x1816'),_0x477d('0x4a8b')+_0x477d('0x4a8c')+_0x477d('0x46f9')+_0x477d('0x365d')+_0x477d('0x4a8d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x3aea')+_0x477d('0x3aeb')+_0x477d('0x3aec')+_0x477d('0x3aed')+_0x477d('0x3aee')+_0x477d('0x36bf')+_0x477d('0x3aef')+_0x477d('0x3af0')+_0x477d('0x3674')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x383b')+_0x477d('0x4a8e')+_0x477d('0x4a8f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-blur=\x22vm.searchText\x20=\x20\x27\x27\x22\x0a'+_0x477d('0x4a90')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-selected-item-change=\x22vm.selectedItemChange\x22\x0a'+_0x477d('0x4a91')+_0x477d('0x4a92')+_0x477d('0x4a93')+_0x477d('0x4a94')+_0x477d('0x4a95')+_0x477d('0x4a96')+_0x477d('0x36d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4a97')+_0x477d('0x4a98')+_0x477d('0x4a99')+_0x477d('0x4a9a')+_0x477d('0x4a9b')+_0x477d('0x36a1')+'\x0a'+_0x477d('0x3aea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3aec')+_0x477d('0x3aed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3af0')+_0x477d('0x3674')+_0x477d('0x3670')+_0x477d('0x36c0')+_0x477d('0x3663')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387b')+_0x477d('0x4a9c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a');_0x143a79[_0x477d('0x390')](_0x477d('0x181d'),_0x477d('0x4a9d')+'\x20\x20\x20\x20\x0a'+_0x477d('0x46f9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4a9e')+_0x477d('0x4a9f')+_0x477d('0x3844')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3aea')+_0x477d('0x3aeb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x3aed')+_0x477d('0x3aee')+_0x477d('0x36bf')+_0x477d('0x3aef')+_0x477d('0x3af0')+_0x477d('0x3674')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x36c0')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x0a'+_0x477d('0x4aa0')+_0x477d('0x4aa1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x4aa2')+_0x477d('0x36bf')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4aa3')+_0x477d('0x4aa4')+_0x477d('0x4aa5')+_0x477d('0x36a0')+_0x477d('0x4aa6')+_0x477d('0x39d2')+_0x477d('0x4aa7')+_0x477d('0x36bf')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4aa8')+_0x477d('0x4aa9')+_0x477d('0x4aaa')+_0x477d('0x4aab')+_0x477d('0x36a0')+_0x477d('0x4aac')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+'\x0a'+_0x477d('0x3aea')+_0x477d('0x3aeb')+_0x477d('0x3aec')+_0x477d('0x3aed')+_0x477d('0x3aee')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3af0')+_0x477d('0x3674')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3663')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b1a')+_0x477d('0x387b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4aad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x366a')+_0x477d('0x366b'));_0x143a79[_0x477d('0x390')](_0x477d('0x4aae'),_0x477d('0x4aaf')+_0x477d('0x4ab0')+_0x477d('0x4ab1')+_0x477d('0x4ab2')+_0x477d('0x4ab3')+'\x20\x20\x20\x20\x20\x20on-reply=\x22vm.reply(event,\x20body)\x22\x0a'+_0x477d('0x4ab4')+'\x20\x20\x20\x20\x20\x20ng-model=\x22vm.tab.areaText\x22\x0a'+_0x477d('0x4ab5')+'\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4ab6')+_0x477d('0x4ab7')+_0x477d('0x4ab8')+_0x477d('0x3d05')+'\x0a'+_0x477d('0x4ab9')+_0x477d('0x4aba')+_0x477d('0x4abb')+_0x477d('0x3d05')+_0x477d('0x380f')+_0x477d('0x3fa6')+'\x0a'+'\x20\x20\x0a'+'\x20\x20\x0a'+_0x477d('0x377d')+_0x477d('0x4ac4'));_0x143a79[_0x477d('0x390')](_0x477d('0x4ac5'),_0x477d('0x4ac6')+_0x477d('0x4ac7')+_0x477d('0x4ac8')+_0x477d('0x4ac9')+_0x477d('0x4aca')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4acb')+_0x477d('0x4acc')+_0x477d('0x4ac8')+_0x477d('0x4acd')+_0x477d('0x4ace')+_0x477d('0x380f')+_0x477d('0x4acb')+_0x477d('0x4acf')+_0x477d('0x4ac8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Device\x20Model

\x0a'+_0x477d('0x4ad0')+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x0a'+'\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Referer

\x0a'+_0x477d('0x4ad1')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4acb')+_0x477d('0x4ad2')+_0x477d('0x4ac8')+_0x477d('0x4ad3')+_0x477d('0x4ad4')+_0x477d('0x380f')+_0x477d('0x4acb')+_0x477d('0x4ad5')+'\x20\x20\x20\x20\x0a'+_0x477d('0x4ad6')+'\x20\x20\x20\x20\x20\x20\x20\x20

{{item.customerPort}}

\x0a'+_0x477d('0x3699')+_0x477d('0x4acb')+_0x477d('0x4ad7')+'\x20\x20\x0a'+_0x477d('0x4ac8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Rating

\x0a'+_0x477d('0x4ad8')+_0x477d('0x4ad9')+_0x477d('0x4ada')+_0x477d('0x380f')+_0x477d('0x4acb')+_0x477d('0x4adb')+_0x477d('0x4ac8')+_0x477d('0x4adc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{item.ratingMessage}}\x0a'+_0x477d('0x380f')+_0x477d('0x4acb')+_0x477d('0x377d'));_0x143a79['put'](_0x477d('0x4add'),_0x477d('0x4ade')+'\x20\x20\x20\x20\x0a'+_0x477d('0x4638')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Contact\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x463a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4adf')+_0x477d('0x46d4')+_0x477d('0x4ae0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x0a'+_0x477d('0x4ae1')+_0x477d('0x3c04')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4ae2')+_0x477d('0x4ae3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3c04')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4ae4')+_0x477d('0x4ae5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3c04')+'\x0a'+_0x477d('0x4ae6')+_0x477d('0x4ae7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Fax\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3c04')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4ae8')+_0x477d('0x3947')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x46c5')+_0x477d('0x46c9')+_0x477d('0x4ae9')+_0x477d('0x4637')+_0x477d('0x4638')+_0x477d('0x4aea')+_0x477d('0x46c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4aeb')+_0x477d('0x4aec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.interaction.id}}\x20-\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.interaction.id}}\x20-\x20\x0a'+_0x477d('0x4aed')+_0x477d('0x36c0')+_0x477d('0x3713')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x49bf')+_0x477d('0x4aee')+_0x477d('0x4aef')+_0x477d('0x4af0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3747')+'\x0a'+_0x477d('0x49be')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4af1')+_0x477d('0x4af2')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x49bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20External\x20URL

\x0a'+_0x477d('0x4af3')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x49bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Created\x20At

\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

{{vm.interaction.createdAt\x20|\x20date:\x20\x27medium\x27}}

\x0a'+_0x477d('0x36bf')+_0x477d('0x3747')+'\x0a'+_0x477d('0x4af4')+_0x477d('0x4af5')+_0x477d('0x4af6')+_0x477d('0x36bf')+_0x477d('0x49f4')+_0x477d('0x4af7')+_0x477d('0x36bf')+_0x477d('0x4af8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4af9')+_0x477d('0x4afa')+_0x477d('0x4afb')+_0x477d('0x4afc')+_0x477d('0x4afd')+_0x477d('0x382a')+_0x477d('0x36a9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4afe')+'\x0a'+_0x477d('0x4aff')+_0x477d('0x49bf')+_0x477d('0x4b00')+_0x477d('0x4b01')+_0x477d('0x36bf')+_0x477d('0x3747')+_0x477d('0x4b02')+_0x477d('0x49bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Disposition

\x0a'+_0x477d('0x4b03')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4b04')+_0x477d('0x49bf')+_0x477d('0x4b05')+_0x477d('0x4b06')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3748')+_0x477d('0x46c9')+_0x477d('0x4ae9')+_0x477d('0x4637')+_0x477d('0x4638')+_0x477d('0x4b07')+_0x477d('0x46c7')+_0x477d('0x463a')+_0x477d('0x4b08')+_0x477d('0x46c8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x4ae9')+_0x477d('0x4b09'));_0x143a79[_0x477d('0x390')](_0x477d('0x4b0a'),_0x477d('0x4b0b')+'\x0a'+_0x477d('0x4b0c')+_0x477d('0x4b0d')+_0x477d('0x4b0e')+_0x477d('0x4b0f')+_0x477d('0x4b10')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4b11')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4b12')+_0x477d('0x4b13')+_0x477d('0x36e5')+_0x477d('0x4b14')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x4b0e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Created\x20At

\x0a'+_0x477d('0x4b15')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x4b16')+_0x477d('0x3699')+_0x477d('0x4b17')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4b18')+'\x20\x20\x20\x20\x0a'+_0x477d('0x4b0e')+_0x477d('0x4b19')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

{{item.closedAt\x20|\x20date:\x20\x27medium\x27}}

\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4b14')+_0x477d('0x4b1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4b1b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

{{\x20item.disposition\x20}}

\x0a'+_0x477d('0x36e5')+_0x477d('0x4b14')+_0x477d('0x4b1c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4b1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20item.note\x20}}\x0a'+_0x477d('0x36e5')+_0x477d('0x4b14')+'\x0a'+'\x20\x20\x20\x20Tags

\x0a'+_0x477d('0x4b1e')+_0x477d('0x4b1f')+_0x477d('0x4b20')+_0x477d('0x4b21')+_0x477d('0x4b22')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x380f')+_0x477d('0x4b14')+'\x0a');_0x143a79['put']('app/main/apps/dashboards/views/general/agent/interaction/views/agent.general.info.journey.html',_0x477d('0x4b23')+_0x477d('0x3679')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4b24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20All\x0a'+_0x477d('0x4b25')+_0x477d('0x4b26')+_0x477d('0x4b27')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Sms\x0a'+_0x477d('0x4b28')+_0x477d('0x4b29')+_0x477d('0x4b2a')+_0x477d('0x3888')+_0x477d('0x373e')+_0x477d('0x3699')+_0x477d('0x4b2b')+_0x477d('0x4b2c')+_0x477d('0x4b2d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4b2c')+_0x477d('0x4b2e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3699')+_0x477d('0x49fa')+'\x0a'+_0x477d('0x4b2f')+_0x477d('0x4b30')+_0x477d('0x4b31')+_0x477d('0x4b32')+_0x477d('0x4b33')+_0x477d('0x4b34')+_0x477d('0x4b35')+_0x477d('0x4b36')+_0x477d('0x4b37')+_0x477d('0x4b38')+_0x477d('0x4b39')+_0x477d('0x4b3a')+_0x477d('0x4b3b')+_0x477d('0x4b3c')+_0x477d('0x4b3d')+_0x477d('0x4b3e')+_0x477d('0x3674')+_0x477d('0x4b3f')+_0x477d('0x4b40')+_0x477d('0x4b41')+_0x477d('0x4b42')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x427b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4b48')+_0x477d('0x3774')+_0x477d('0x3670')+_0x477d('0x4b49')+_0x477d('0x4b4a')+_0x477d('0x4b4b')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4b4d')+_0x477d('0x4b4e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4b4f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20title=\x22{{\x20\x27DASHBOARDS.STATUS\x27\x20|\x20translate}}:\x20{{\x20\x27DASHBOARDS.CLOSED\x27\x20|\x20translate}}\x20({{\x20item.disposition\x20||\x20(\x27DASHBOARDS.NO_DISPOSITION_SET\x27\x20|\x20translate)}})\x22>{{\x20\x27DASHBOARDS.STATUS\x27\x20|\x20translate}}:\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27DASHBOARDS.CLOSED\x27\x20|\x20translate}}\x0a'+_0x477d('0x4b50')+_0x477d('0x36bf')+_0x477d('0x4b51')+_0x477d('0x4b52')+_0x477d('0x4b53')+_0x477d('0x4b54')+_0x477d('0x4b55')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20title=\x22{{\x20\x27DASHBOARDS.DISPOSITION\x27\x20|\x20translate}}:\x20{{\x20item.userDisposition\x20||\x20\x27No\x20Dispose\x27}}\x22>{{\x20\x27DASHBOARDS.DISPOSITION\x27\x20|\x20translate}}:\x0a'+_0x477d('0x4b56')+_0x477d('0x3c0d')+_0x477d('0x4b57')+_0x477d('0x4b58')+_0x477d('0x4b59')+_0x477d('0x4b5a')+_0x477d('0x3674')+_0x477d('0x3670')+_0x477d('0x3b19')+_0x477d('0x36e5')+_0x477d('0x3699')+_0x477d('0x4b5b')+'\x0a'+'\x0a'+_0x477d('0x4b5c')+_0x477d('0x1877'));_0x143a79['put'](_0x477d('0x4b5d'),'\x0a'+'\x0a'+_0x477d('0x4b0c')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4b5e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

{{item.type\x20?\x20item.type\x20:\x20\x27no\x20type\x27}}

\x0a'+_0x477d('0x36e5')+_0x477d('0x4b14')+'\x0a'+_0x477d('0x4b0d')+_0x477d('0x4b0e')+_0x477d('0x4b5f')+_0x477d('0x4b60')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4b14')+'\x0a'+_0x477d('0x4b0d')+_0x477d('0x4b0e')+_0x477d('0x4b61')+_0x477d('0x4b62')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4b14')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x4b0e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Caller\x20Id

\x0a'+_0x477d('0x4b63')+_0x477d('0x36e5')+_0x477d('0x4b14')+'\x0a'+_0x477d('0x4b0d')+_0x477d('0x4b0e')+_0x477d('0x4b64')+_0x477d('0x4b65')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4b0d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Uniqueid

\x0a'+_0x477d('0x4b66')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4b14')+'\x0a'+_0x477d('0x4b0d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4b67')+_0x477d('0x4b68')+_0x477d('0x36e5')+_0x477d('0x4b14')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x4b0e')+_0x477d('0x4b69')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

{{item.duration\x20?\x20item.duration\x20:\x20\x27--\x27}}s

\x0a'+_0x477d('0x36e5')+_0x477d('0x4b14')+'\x0a'+_0x477d('0x4b0d')+_0x477d('0x4b0e')+_0x477d('0x4b6a')+_0x477d('0x4b6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4b14')+_0x477d('0x4b6c'));_0x143a79[_0x477d('0x390')](_0x477d('0x4b6d'),'\x0a'+_0x477d('0x4b6e')+_0x477d('0x4ac8')+_0x477d('0x4b6f')+_0x477d('0x4b70')+_0x477d('0x380f')+_0x477d('0x4acb')+_0x477d('0x377d'));_0x143a79[_0x477d('0x390')](_0x477d('0x4b71'),'\x0a'+_0x477d('0x4b72')+_0x477d('0x4ac8')+_0x477d('0x4b73')+_0x477d('0x4b74')+_0x477d('0x4b75')+_0x477d('0x380f')+'\x20\x20\x0a'+_0x477d('0x377d'));_0x143a79[_0x477d('0x390')](_0x477d('0x4b76'),_0x477d('0x4b77')+_0x477d('0x4b78')+_0x477d('0x4b79')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x4b7a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3735')+'\x0a'+_0x477d('0x4b7b')+_0x477d('0x4b7c')+_0x477d('0x4b7d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.getLabelByMessage(message)\x20}}\x20-\x20{{message.createdAt\x20|\x20date:\x20\x27medium\x27}}\x0a'+_0x477d('0x36c0')+_0x477d('0x4b7e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x380f')+_0x477d('0x4b7f')+_0x477d('0x4b80')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.getLabelByMessage(message)\x20}}\x20-\x20{{message.createdAt\x20|\x20date:\x20\x27medium\x27}}\x0a'+_0x477d('0x36e5')+_0x477d('0x4b81')+_0x477d('0x4b82')+_0x477d('0x4b83')+_0x477d('0x36c0')+_0x477d('0x4b84')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4b85')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4b86')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x380f')+_0x477d('0x4b87')+_0x477d('0x4b88')+_0x477d('0x4b89')+_0x477d('0x4b8a')+_0x477d('0x3d05')+_0x477d('0x380f')+_0x477d('0x4b8b')+_0x477d('0x4b8c')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3699')+_0x477d('0x377d')+_0x477d('0x4b8d'));_0x143a79[_0x477d('0x390')]('app/main/apps/dashboards/views/general/agent/interaction/views/agent.general.interaction.mail.html','\x0a'+_0x477d('0x4b8e')+'\x20\x20\x20\x20\x20\x20\x20\x20ng-init=\x22vm.selectedMailShowSystemMessage[message.id]\x20=\x20false\x22>\x0a'+_0x477d('0x4b8f')+_0x477d('0x387b')+_0x477d('0x4b90')+_0x477d('0x4b91')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.agent.fullname\x20||\x20vm.usersMap[message.UserId]}}
\x0a'+_0x477d('0x4b92')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4b93')+_0x477d('0x365e')+_0x477d('0x3746')+_0x477d('0x3670')+_0x477d('0x4b94')+_0x477d('0x4b95')+_0x477d('0x4b96')+_0x477d('0x4b97')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4b98')+_0x477d('0x4b99')+_0x477d('0x4b9a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3674')+_0x477d('0x4b9b')+_0x477d('0x4b9c')+_0x477d('0x4b9d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Attachments\x0a'+_0x477d('0x36a9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4b9e')+_0x477d('0x3a0f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x365e')+_0x477d('0x3746')+_0x477d('0x3670')+_0x477d('0x36c0')+_0x477d('0x4b9f')+_0x477d('0x3c49')+_0x477d('0x4ba0')+_0x477d('0x4ba1')+_0x477d('0x4ba2')+_0x477d('0x4ba3')+_0x477d('0x4ba4')+_0x477d('0x4ba5')+_0x477d('0x36c0')+_0x477d('0x4ba6')+_0x477d('0x4ba7')+_0x477d('0x4ba8')+_0x477d('0x4ba9')+_0x477d('0x4baa')+_0x477d('0x4bab')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4bac')+_0x477d('0x4bad')+_0x477d('0x4bae')+_0x477d('0x4baf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4bb0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20=\x200\x22>\x0a'+_0x477d('0x4bb7')+_0x477d('0x4bb8')+_0x477d('0x385c')+_0x477d('0x382a')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Date:\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20From:\x0a'+_0x477d('0x4bbf')+_0x477d('0x4bc0')+_0x477d('0x4bc1')+_0x477d('0x4bc2')+_0x477d('0x4bc1')+_0x477d('0x4bc3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Accepted:\x0a'+_0x477d('0x385c')+'\x0a'+_0x477d('0x4bc7')+_0x477d('0x4bc8')+_0x477d('0x4bc9')+_0x477d('0x4bca')+_0x477d('0x4bc0')+_0x477d('0x4bcb')+_0x477d('0x4bcc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{message.bcc}}\x0a'+_0x477d('0x4bcb')+_0x477d('0x4bcf')+_0x477d('0x385c')+_0x477d('0x382a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4bd0')+_0x477d('0x4bd1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22message.direction\x20===\x27in\x27\x22>{{message.from.indexOf(vm.contact.email)\x20>=\x200\x20?\x20vm.contact.firstName\x20+\x20\x27\x20\x27\x20+\x20vm.contact.lastName\x20:\x20\x27*\x27\x20+\x20message.from}}\x0a'+_0x477d('0x4bd1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22message.direction\x20===\x27out\x27\x20&&\x20message.UserId\x22>{{vm.agent.fullname\x20||\x20vm.usersMap[message.UserId]}}\x0a'+_0x477d('0x4bd1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22message.direction\x20===\x27out\x27\x20&&\x20!message.UserId\x22>System\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{message.createdAt\x20|\x20date:\x27medium\x27}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4bd2')+_0x477d('0x4bd3')+_0x477d('0x4bd4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-src=\x22api/users/{{message.UserId}}/avatar\x22>\x0a'+_0x477d('0x4bd5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20src=\x22assets/images/avatars/robot.png\x22>\x0a'+_0x477d('0x4bd6')+_0x477d('0x4bd7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-->\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36bf')+'\x0a'+_0x477d('0x4bd8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4bd9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x4bda')+_0x477d('0x4bdb')+_0x477d('0x4931')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3832')+_0x477d('0x4bde')+_0x477d('0x4be1')+_0x477d('0x4be2')+_0x477d('0x4931')+_0x477d('0x4be3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4bde')+_0x477d('0x4be4')+_0x477d('0x4be5')+_0x477d('0x4931')+_0x477d('0x4be6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4be7')+_0x477d('0x4be8')+_0x477d('0x4be9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4bd7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4bea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Download\x0a'+_0x477d('0x4268')+_0x477d('0x4beb')+_0x477d('0x3a52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4bec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4bef')+_0x477d('0x4bf0')+_0x477d('0x4bf1')+_0x477d('0x3d5e')+_0x477d('0x4bf2')+_0x477d('0x4bf3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4bf4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4bf8')+_0x477d('0x385b')+_0x477d('0x3a52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4bf9')+_0x477d('0x4bfa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Attachments\x0a'+_0x477d('0x385b')+_0x477d('0x4bfb')+_0x477d('0x4bfc')+_0x477d('0x4bfd')+_0x477d('0x4bfe')+_0x477d('0x4bf2')+_0x477d('0x4bf3')+_0x477d('0x4bff')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36bf')+'\x0a'+_0x477d('0x4c00')+_0x477d('0x44f1')+_0x477d('0x3b19')+_0x477d('0x36e5')+_0x477d('0x3699')+_0x477d('0x1877'));_0x143a79[_0x477d('0x390')](_0x477d('0x4c01'),_0x477d('0x4c02')+_0x477d('0x4c03')+_0x477d('0x377d')+'Waiting\x0a'+'We\x20are\x20loading\x20the\x20interaction...');_0x143a79[_0x477d('0x390')](_0x477d('0x4c04'),_0x477d('0x4c05')+_0x477d('0x4c06')+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x0a'+_0x477d('0x4c07')+_0x477d('0x4c08')+_0x477d('0x4c09'));_0x143a79[_0x477d('0x390')](_0x477d('0x4c0a'),_0x477d('0x4c0b')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x4c0c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.interaction.id}}\x20-\x20{{vm.account.key}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c0d')+_0x477d('0x4c0e')+_0x477d('0x47ee')+_0x477d('0x4c0f')+_0x477d('0x36c0')+_0x477d('0x4c10')+_0x477d('0x4c11')+_0x477d('0x4c12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20days\x20>\x200\x20?\x20days\x20+\x20\x27d\x27\x20:\x20\x27\x27\x20}}\x20{{hhours}}:{{mminutes}}:{{sseconds}}\x0a'+_0x477d('0x4c13')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x4c14')+_0x477d('0x4c15')+_0x477d('0x4c16')+_0x477d('0x4c17')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3699')+'\x20\x20\x20\x20\x0a'+_0x477d('0x4c18')+_0x477d('0x478b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4798')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c19')+_0x477d('0x36c0')+_0x477d('0x479c')+_0x477d('0x4c1a')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x4c1b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c1c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3d05')+_0x477d('0x4c1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c1e')+_0x477d('0x4c1f')+_0x477d('0x452d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c20')+_0x477d('0x4c21')+_0x477d('0x452d')+_0x477d('0x4c22')+_0x477d('0x4c23')+_0x477d('0x4c24')+_0x477d('0x4c25')+_0x477d('0x4c26')+_0x477d('0x4806')+_0x477d('0x372b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4c27')+_0x477d('0x4c28')+_0x477d('0x4c29')+_0x477d('0x3674')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4808')+_0x477d('0x4c2a')+_0x477d('0x4c2b')+_0x477d('0x3674')+_0x477d('0x480c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c2c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Transfer\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x480c')+_0x477d('0x4c2d')+_0x477d('0x3a43')+_0x477d('0x4c2e')+_0x477d('0x4c2f')+_0x477d('0x3947')+_0x477d('0x4c30')+_0x477d('0x4c31')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c32')+_0x477d('0x3a52')+_0x477d('0x3a4b')+_0x477d('0x4c33')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c34')+_0x477d('0x3a52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x41b9')+_0x477d('0x42b0')+_0x477d('0x480c')+_0x477d('0x4c35')+_0x477d('0x4c36')+_0x477d('0x4c37')+_0x477d('0x3674')+_0x477d('0x480c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c38')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Close\x20and\x20Dispose\x0a'+_0x477d('0x3674')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c39')+_0x477d('0x4c3a')+_0x477d('0x4c3b')+_0x477d('0x3674')+_0x477d('0x480c')+_0x477d('0x38d6')+_0x477d('0x4c24')+_0x477d('0x3699')+_0x477d('0x377d'));_0x143a79['put'](_0x477d('0x4c3c'),_0x477d('0x4c3d')+_0x477d('0x4c3e')+_0x477d('0x4c3f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3735')+_0x477d('0x377d')+_0x477d('0x4c40')+_0x477d('0x4c41')+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x0a'+_0x477d('0x4c42')+_0x477d('0x4c43')+_0x477d('0x37e3')+_0x477d('0x4c44')+_0x477d('0x4c45')+'\x20\x20\x20\x20\x0a'+_0x477d('0x37e3')+_0x477d('0x4c46')+_0x477d('0x4c47')+_0x477d('0x4c48')+'');_0x143a79['put']('app/main/apps/dashboards/views/general/agent/interaction/views/agent.general.toolbar.sms.html',_0x477d('0x4c49')+_0x477d('0x4c4a')+'\x20\x20\x20\x20\x0a'+_0x477d('0x37e3')+_0x477d('0x4c4b')+_0x477d('0x4c07')+'\x20\x20\x0a'+_0x477d('0x4c09'));_0x143a79[_0x477d('0x390')](_0x477d('0x4c4c'),_0x477d('0x4c4d')+'\x20\x20\x20\x20Note\x0a'+_0x477d('0x4c48')+'\x0a'+'\x0a'+_0x477d('0x4c07')+_0x477d('0x4c08')+_0x477d('0x4c09'));_0x143a79[_0x477d('0x390')](_0x477d('0x4c4e'),_0x477d('0x4c4f')+_0x477d('0x37b9')+'\x20\x20\x20\x20\x20\x20\x20\x20{{\x20days\x20>\x200\x20?\x20days\x20+\x20\x27d\x27\x20:\x20\x27\x27\x20}}\x20{{hhours}}:{{mminutes}}:{{sseconds}}\x0a'+_0x477d('0x4c50')+_0x477d('0x4c51')+_0x477d('0x4c52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c53')+'\x20\x20\x20\x20\x0a'+_0x477d('0x4c54')+_0x477d('0x4c55')+_0x477d('0x49fa'));_0x143a79[_0x477d('0x390')](_0x477d('0x4c56'),_0x477d('0x4c57')+'\x20\x20\x20\x20\x0a'+_0x477d('0x4c58')+'\x20\x20\x20\x20\x20\x20\x20\x20{{vm.notification.queue}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c59')+_0x477d('0x4c5a')+_0x477d('0x372b')+_0x477d('0x4c5b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20REJECT\x0a'+_0x477d('0x372b')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x0a'+_0x477d('0x4c5c'));_0x143a79[_0x477d('0x390')](_0x477d('0x4c5d'),_0x477d('0x4c5e')+_0x477d('0x4c5f')+_0x477d('0x4c60')+_0x477d('0x4c61'));_0x143a79[_0x477d('0x390')]('app/main/apps/dashboards/views/general/user/chat/user.general.chat.html',_0x477d('0x4c62')+_0x477d('0x4c63')+_0x477d('0x4c64')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Today\x20Interactions\x20STATS\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x4c65')+'\x0a'+_0x477d('0x4c66')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c67')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c68')+_0x477d('0x4c69')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c6a')+_0x477d('0x4c6b')+_0x477d('0x4c6c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c6d')+_0x477d('0x3670')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c6e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4c70')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c71')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x4c72')+_0x477d('0x3670')+_0x477d('0x4c73')+_0x477d('0x4c74')+'\x0a'+_0x477d('0x4c75')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4c76')+_0x477d('0x4c77')+_0x477d('0x4c67')+_0x477d('0x4c78')+_0x477d('0x4c79')+_0x477d('0x4c69')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c6a')+_0x477d('0x4c7a')+_0x477d('0x4c7b')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.OPENED\x27\x20|\x20translate\x20|\x20uppercase}}
\x0a'+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c7c')+_0x477d('0x4c7d')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c7e')+'\x0a'+_0x477d('0x4c70')+_0x477d('0x4c7f')+_0x477d('0x4c80')+_0x477d('0x4c71')+_0x477d('0x4a44')+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x4c81')+_0x477d('0x3670')+_0x477d('0x4c73')+_0x477d('0x4c74')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c82')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c77')+_0x477d('0x4c67')+_0x477d('0x4c78')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c69')+_0x477d('0x4c83')+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c6a')+_0x477d('0x4c84')+_0x477d('0x4c85')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.MANAGED\x27\x20|\x20translate\x20|\x20uppercase}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4c7c')+_0x477d('0x4c86')+_0x477d('0x3670')+_0x477d('0x4c6f')+_0x477d('0x4c7e')+'\x0a'+_0x477d('0x4c70')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c80')+_0x477d('0x4c71')+_0x477d('0x4a44')+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+_0x477d('0x38ad')+_0x477d('0x4c87')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c74')+'\x0a'+_0x477d('0x4c75')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4c88')+_0x477d('0x4c77')+_0x477d('0x4c67')+_0x477d('0x4c78')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c83')+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c6a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c89')+_0x477d('0x36bf')+_0x477d('0x4c8a')+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c7c')+_0x477d('0x4c8b')+_0x477d('0x3670')+_0x477d('0x4c6f')+_0x477d('0x4c7e')+'\x0a'+_0x477d('0x4c70')+_0x477d('0x4c7f')+_0x477d('0x4c80')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4a44')+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x4c8c')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4c75')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ab5')+_0x477d('0x3ab5')+_0x477d('0x4c8d')+_0x477d('0x4c77')+'\x0a'+_0x477d('0x4c67')+_0x477d('0x4c78')+_0x477d('0x4c79')+_0x477d('0x4c69')+_0x477d('0x4c83')+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c6a')+_0x477d('0x4c8e')+_0x477d('0x4c8f')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.TOTAL_OFFERED\x27\x20|\x20translate\x20|\x20uppercase}}
\x0a'+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c7c')+_0x477d('0x4c90')+_0x477d('0x3670')+_0x477d('0x4c6f')+_0x477d('0x4c7e')+'\x0a'+_0x477d('0x4c70')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c71')+_0x477d('0x4a44')+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+_0x477d('0x38ad')+_0x477d('0x4c91')+_0x477d('0x3670')+_0x477d('0x4c73')+_0x477d('0x4c74')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c92')+'\x0a'+_0x477d('0x3699')+_0x477d('0x4c93')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x4c65')+_0x477d('0x4c66')+_0x477d('0x4c94')+_0x477d('0x3ab5')+_0x477d('0x4c67')+_0x477d('0x4c78')+_0x477d('0x4c68')+_0x477d('0x4c69')+_0x477d('0x4c83')+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c6a')+_0x477d('0x4c95')+_0x477d('0x4c96')+_0x477d('0x36bf')+_0x477d('0x4c97')+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c7c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.AVG_HOLD_TIME_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}\x0a'+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c7e')+'\x0a'+_0x477d('0x4c70')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c71')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3674')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x38ad')+_0x477d('0x4c98')+_0x477d('0x3670')+_0x477d('0x4c73')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4c75')+_0x477d('0x4c99')+'\x0a'+_0x477d('0x4c9a')+_0x477d('0x4c77')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c67')+_0x477d('0x4c78')+_0x477d('0x4c79')+_0x477d('0x4c69')+_0x477d('0x4c83')+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c6a')+_0x477d('0x4c9b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.inbound.avgTalkTime\x20||\x20\x2700:00:00\x27\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c9c')+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c7c')+_0x477d('0x4c9d')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c7e')+'\x0a'+_0x477d('0x4c70')+_0x477d('0x4c7f')+_0x477d('0x4c80')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+_0x477d('0x38ad')+_0x477d('0x4c9e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c74')+'\x0a'+_0x477d('0x4c75')+_0x477d('0x4c82')+_0x477d('0x3ab5')+_0x477d('0x4c9f')+_0x477d('0x4c94')+_0x477d('0x3ab5')+_0x477d('0x4c67')+_0x477d('0x4c78')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c69')+_0x477d('0x4c83')+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c6a')+_0x477d('0x4ca0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.inbound.answerRate\x20||\x200\x20}}%\x0a'+_0x477d('0x36bf')+_0x477d('0x4ca1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4c7c')+_0x477d('0x4ca2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c7f')+_0x477d('0x4c80')+_0x477d('0x4c71')+_0x477d('0x4a44')+_0x477d('0x3674')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x38ad')+_0x477d('0x4ca3')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c74')+'\x0a'+_0x477d('0x4c75')+_0x477d('0x4ca4')+'\x0a'+_0x477d('0x4c88')+_0x477d('0x4c77')+_0x477d('0x4c67')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c79')+_0x477d('0x4c69')+_0x477d('0x4c83')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c6a')+_0x477d('0x4ca5')+_0x477d('0x4ca6')+_0x477d('0x36bf')+_0x477d('0x4ca7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4c7c')+_0x477d('0x4ca8')+_0x477d('0x3670')+_0x477d('0x4c6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4c70')+_0x477d('0x4c7f')+_0x477d('0x4c80')+_0x477d('0x4c71')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+'\x0a'+_0x477d('0x38ad')+_0x477d('0x4ca9')+_0x477d('0x3670')+_0x477d('0x4c73')+_0x477d('0x4c74')+'\x0a'+_0x477d('0x4c75')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c88')+_0x477d('0x4c77')+'\x0a'+_0x477d('0x4c67')+_0x477d('0x4c78')+_0x477d('0x4c79')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c83')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4c6a')+_0x477d('0x4c8e')+_0x477d('0x4caa')+_0x477d('0x36bf')+_0x477d('0x4cab')+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c7c')+_0x477d('0x4cac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c6f')+_0x477d('0x4c7e')+'\x0a'+_0x477d('0x4c70')+_0x477d('0x4c7f')+_0x477d('0x4c80')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+_0x477d('0x38ad')+_0x477d('0x4cad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4c75')+_0x477d('0x4c92')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3699')+_0x477d('0x4c93')+'\x0a'+_0x477d('0x4cae'));_0x143a79['put'](_0x477d('0x125'),_0x477d('0x4c62')+_0x477d('0x4c63')+'\x20\x20\x20\x20\x0a'+_0x477d('0x4caf')+'\x20\x20\x20\x20\x20\x20\x20\x20Today\x20Motion\x20Bull\x20STATS\x0a'+_0x477d('0x3699')+'\x0a'+_0x477d('0x4cb0')+_0x477d('0x4c65')+'\x0a'+_0x477d('0x4c66')+_0x477d('0x4c77')+'\x0a'+_0x477d('0x4c67')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c68')+_0x477d('0x4c69')+_0x477d('0x4c83')+_0x477d('0x3674')+_0x477d('0x4cb1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c6a')+_0x477d('0x4c6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.inbound.waiting\x20||\x200}}\x0a'+_0x477d('0x36bf')+_0x477d('0x4cb2')+_0x477d('0x3670')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.VOICE_WAITING_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c7f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c71')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x4cb3')+_0x477d('0x3670')+_0x477d('0x4c73')+_0x477d('0x4c74')+'\x0a'+_0x477d('0x4c75')+_0x477d('0x4c99')+'\x0a'+_0x477d('0x4c76')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c67')+_0x477d('0x4c78')+_0x477d('0x4c79')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c83')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4cb1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c6a')+_0x477d('0x4c7a')+_0x477d('0x4cb4')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.VOICE_TALKING\x27\x20|\x20translate\x20|\x20uppercase}}
\x0a'+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c7c')+_0x477d('0x4cb5')+_0x477d('0x3670')+_0x477d('0x4c6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4c70')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4a44')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+'\x0a'+_0x477d('0x38ad')+_0x477d('0x4cb6')+_0x477d('0x3670')+_0x477d('0x4c73')+_0x477d('0x4c74')+'\x0a'+_0x477d('0x4c75')+_0x477d('0x4c82')+'\x0a'+_0x477d('0x4c9f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c67')+_0x477d('0x4c78')+_0x477d('0x4c68')+_0x477d('0x4c69')+_0x477d('0x4c83')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4cb1')+_0x477d('0x4ae4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4c6a')+_0x477d('0x4c84')+_0x477d('0x4c85')+_0x477d('0x36bf')+_0x477d('0x4cb7')+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c7c')+_0x477d('0x4cb8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c7f')+_0x477d('0x4c80')+_0x477d('0x4c71')+_0x477d('0x4a44')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+'\x0a'+_0x477d('0x38ad')+_0x477d('0x4cb9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c74')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4ca4')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c77')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c78')+_0x477d('0x4c79')+_0x477d('0x4c69')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3674')+_0x477d('0x4cb1')+_0x477d('0x4cba')+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4cbb')+_0x477d('0x4cbc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.VOICE_ABANDONED\x27\x20|\x20translate\x20|\x20uppercase}}\x0a'+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c7c')+_0x477d('0x4cbd')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c7e')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c7f')+_0x477d('0x4c80')+_0x477d('0x4c71')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+'\x0a'+_0x477d('0x38ad')+_0x477d('0x4cbe')+_0x477d('0x3670')+_0x477d('0x4c73')+_0x477d('0x4c74')+'\x0a'+_0x477d('0x4c75')+_0x477d('0x4c92')+'\x0a'+_0x477d('0x4c8d')+_0x477d('0x4c77')+'\x0a'+_0x477d('0x4c67')+_0x477d('0x4c78')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c69')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4cb1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4c6a')+_0x477d('0x4c8e')+_0x477d('0x4cbf')+_0x477d('0x36bf')+_0x477d('0x4cc0')+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c7c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.DROPPED_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c6f')+_0x477d('0x4c7e')+'\x0a'+_0x477d('0x4c70')+_0x477d('0x4c7f')+_0x477d('0x4c80')+_0x477d('0x4c71')+_0x477d('0x4a44')+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.DROPPED\x27\x20|\x20translate}}\x0a'+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c74')+'\x0a'+_0x477d('0x4c75')+_0x477d('0x4c92')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x4c93')+'\x0a'+_0x477d('0x4cb0')+_0x477d('0x4c65')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c77')+'\x0a'+_0x477d('0x4c67')+_0x477d('0x4c78')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c69')+_0x477d('0x4c83')+_0x477d('0x3674')+_0x477d('0x4cb1')+_0x477d('0x4cc1')+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c6a')+_0x477d('0x4c8e')+_0x477d('0x4cc2')+_0x477d('0x36bf')+_0x477d('0x4cc3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4c7c')+_0x477d('0x4cc4')+_0x477d('0x3670')+_0x477d('0x4c6f')+_0x477d('0x4c7e')+'\x0a'+_0x477d('0x4c70')+_0x477d('0x4c7f')+_0x477d('0x4c80')+_0x477d('0x4c71')+_0x477d('0x4a44')+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+_0x477d('0x38ad')+_0x477d('0x4cc5')+_0x477d('0x3670')+_0x477d('0x4c73')+_0x477d('0x4c74')+'\x0a'+_0x477d('0x4c75')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4c76')+_0x477d('0x4c77')+'\x0a'+_0x477d('0x4c67')+_0x477d('0x4c78')+_0x477d('0x4c79')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3674')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4cc6')+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c6a')+_0x477d('0x4c9b')+_0x477d('0x4cc7')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.VOICE_AVG_TALK_TIME\x27\x20|\x20translate\x20|\x20uppercase}}\x0a'+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c7c')+_0x477d('0x4cc8')+_0x477d('0x3670')+_0x477d('0x4c6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c7f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c71')+_0x477d('0x4a44')+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+_0x477d('0x38ad')+_0x477d('0x4cc9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c73')+_0x477d('0x4c74')+'\x0a'+_0x477d('0x4c75')+_0x477d('0x4c82')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c77')+'\x0a'+_0x477d('0x4c67')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c68')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c83')+_0x477d('0x3674')+_0x477d('0x4cb1')+_0x477d('0x4cca')+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4ca0')+_0x477d('0x4ccb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4ccc')+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c7c')+_0x477d('0x4ccd')+_0x477d('0x3670')+_0x477d('0x4c6f')+_0x477d('0x4c7e')+'\x0a'+_0x477d('0x4c70')+_0x477d('0x4c7f')+_0x477d('0x4c80')+_0x477d('0x4c71')+_0x477d('0x4a44')+_0x477d('0x3674')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x38ad')+_0x477d('0x4cce')+_0x477d('0x3670')+_0x477d('0x4c73')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4ca4')+'\x0a'+_0x477d('0x4c8d')+_0x477d('0x4c77')+'\x0a'+_0x477d('0x4c67')+_0x477d('0x4c78')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c69')+_0x477d('0x4c83')+_0x477d('0x3674')+_0x477d('0x4cb1')+_0x477d('0x4cca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c6a')+_0x477d('0x4ca5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.inbound.outboundAbandonRate\x20||\x200}}%\x0a'+_0x477d('0x36bf')+_0x477d('0x4ccf')+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c7c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.VOICE_ABANDON_RATE_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}\x0a'+_0x477d('0x3670')+_0x477d('0x4c6f')+_0x477d('0x4c7e')+'\x0a'+_0x477d('0x4c70')+_0x477d('0x4c7f')+_0x477d('0x4c80')+_0x477d('0x4c71')+_0x477d('0x4a44')+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+_0x477d('0x38ad')+_0x477d('0x4cd0')+_0x477d('0x3670')+_0x477d('0x4c73')+_0x477d('0x4c74')+'\x0a'+_0x477d('0x4c75')+_0x477d('0x4c92')+'\x0a'+_0x477d('0x4c8d')+_0x477d('0x4c77')+'\x0a'+_0x477d('0x4c67')+_0x477d('0x4c78')+_0x477d('0x4c79')+_0x477d('0x4c69')+_0x477d('0x4c83')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4cb1')+_0x477d('0x4cca')+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c6a')+_0x477d('0x4ca5')+_0x477d('0x4cd1')+_0x477d('0x36bf')+_0x477d('0x4cd2')+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c7c')+_0x477d('0x4cd3')+_0x477d('0x3670')+_0x477d('0x4c6f')+_0x477d('0x4c7e')+'\x0a'+_0x477d('0x4c70')+_0x477d('0x4c7f')+_0x477d('0x4c80')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4a44')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+'\x0a'+_0x477d('0x38ad')+_0x477d('0x4cd4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c73')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4c75')+_0x477d('0x4c92')+'\x0a'+_0x477d('0x3699')+'\x20\x20\x20\x20\x0a'+_0x477d('0x377d')+'\x0a'+'\x0a'+'\x0a'+_0x477d('0x4c63')+'\x20\x20\x20\x20\x0a'+_0x477d('0x4caf')+_0x477d('0x4cd5')+_0x477d('0x3699')+'\x0a'+_0x477d('0x4cb0')+_0x477d('0x4c65')+'\x0a'+_0x477d('0x4c8d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4c67')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c79')+_0x477d('0x4c69')+_0x477d('0x4c83')+_0x477d('0x3674')+_0x477d('0x4cb1')+_0x477d('0x4cc1')+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c6a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4cd6')+_0x477d('0x36bf')+_0x477d('0x4cd7')+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c7c')+_0x477d('0x4cd8')+_0x477d('0x3670')+_0x477d('0x4c6f')+_0x477d('0x4c7e')+'\x0a'+_0x477d('0x4c70')+_0x477d('0x4c7f')+_0x477d('0x4c80')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4a44')+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+_0x477d('0x38ad')+_0x477d('0x4cd9')+_0x477d('0x3670')+_0x477d('0x4c73')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4c75')+_0x477d('0x4c92')+'\x0a'+_0x477d('0x3699')+_0x477d('0x4c93')+_0x477d('0x377d')+_0x477d('0x4cda'));_0x143a79['put'](_0x477d('0x145'),_0x477d('0x4c62')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4cdb')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4cb0')+_0x477d('0x4c65')+'\x0a'+_0x477d('0x4c66')+_0x477d('0x4c77')+_0x477d('0x4c67')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c68')+_0x477d('0x4c69')+_0x477d('0x4c83')+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c6c')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.WAITING\x27\x20|\x20translate\x20|\x20uppercase}}\x0a'+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c7c')+_0x477d('0x4c6e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c6f')+_0x477d('0x4c7e')+'\x0a'+_0x477d('0x4c70')+_0x477d('0x4c7f')+_0x477d('0x4c80')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4a44')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+'\x0a'+_0x477d('0x38ad')+_0x477d('0x4c72')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c73')+_0x477d('0x4c74')+'\x0a'+_0x477d('0x4c75')+_0x477d('0x4c99')+'\x0a'+_0x477d('0x4c76')+_0x477d('0x4c77')+_0x477d('0x4c67')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c79')+_0x477d('0x4c69')+_0x477d('0x4c83')+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c6a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c7b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4cdc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4c7c')+_0x477d('0x4c7d')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4c70')+_0x477d('0x4c7f')+_0x477d('0x4c80')+_0x477d('0x4c71')+_0x477d('0x4a44')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+'\x0a'+_0x477d('0x38ad')+_0x477d('0x4c81')+_0x477d('0x3670')+_0x477d('0x4c73')+_0x477d('0x4c74')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c82')+'\x0a'+_0x477d('0x4c9f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c67')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c68')+_0x477d('0x4c69')+_0x477d('0x4c83')+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c6a')+_0x477d('0x4c84')+_0x477d('0x4c85')+_0x477d('0x36bf')+_0x477d('0x4cdd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4c7c')+_0x477d('0x4c86')+_0x477d('0x3670')+_0x477d('0x4c6f')+_0x477d('0x4c7e')+'\x0a'+_0x477d('0x4c70')+_0x477d('0x4c7f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4a44')+_0x477d('0x3674')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.MANAGED\x27\x20|\x20translate}}\x0a'+_0x477d('0x3670')+_0x477d('0x4c73')+_0x477d('0x4c74')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4ca4')+'\x0a'+_0x477d('0x3ab5')+_0x477d('0x4c88')+_0x477d('0x4c77')+'\x0a'+_0x477d('0x4c67')+_0x477d('0x4c78')+_0x477d('0x4c79')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c83')+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c6a')+_0x477d('0x4c8e')+_0x477d('0x4caa')+_0x477d('0x36bf')+_0x477d('0x4cab')+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c7c')+_0x477d('0x4cac')+_0x477d('0x3670')+_0x477d('0x4c6f')+_0x477d('0x4c7e')+'\x0a'+_0x477d('0x4c70')+_0x477d('0x4c7f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4a44')+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+_0x477d('0x38ad')+_0x477d('0x4cad')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c74')+'\x0a'+_0x477d('0x4c75')+_0x477d('0x4c92')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c8d')+_0x477d('0x4c77')+'\x0a'+_0x477d('0x4c67')+_0x477d('0x4c78')+_0x477d('0x4c79')+_0x477d('0x4c69')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c6a')+_0x477d('0x4c8e')+_0x477d('0x4c8f')+_0x477d('0x36bf')+_0x477d('0x4cde')+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c7c')+_0x477d('0x4c90')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4c70')+_0x477d('0x4c7f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c71')+_0x477d('0x4a44')+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+_0x477d('0x38ad')+_0x477d('0x4c91')+_0x477d('0x3670')+_0x477d('0x4c73')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c92')+'\x0a'+_0x477d('0x3699')+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x4c65')+_0x477d('0x4c66')+_0x477d('0x4cdf')+_0x477d('0x3ab5')+_0x477d('0x4c67')+_0x477d('0x4c78')+_0x477d('0x4c68')+_0x477d('0x4c69')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c6a')+_0x477d('0x4c95')+_0x477d('0x4c96')+_0x477d('0x36bf')+_0x477d('0x4c97')+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c7c')+_0x477d('0x4ce0')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4c70')+_0x477d('0x4c7f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c71')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3674')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x38ad')+_0x477d('0x4c98')+_0x477d('0x3670')+_0x477d('0x4c73')+_0x477d('0x4c74')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ab5')+_0x477d('0x4c67')+_0x477d('0x4c78')+_0x477d('0x4c68')+_0x477d('0x4c69')+_0x477d('0x4c83')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4ca0')+_0x477d('0x4ce1')+_0x477d('0x36bf')+_0x477d('0x4ca1')+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c7c')+_0x477d('0x4ca2')+_0x477d('0x3670')+_0x477d('0x4c6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4c70')+_0x477d('0x4c7f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c71')+_0x477d('0x4a44')+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.MANAGED_RATE\x27\x20|\x20translate}}\x0a'+_0x477d('0x3670')+_0x477d('0x4c73')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4c75')+_0x477d('0x4ca4')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c67')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c79')+_0x477d('0x4c69')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4c6a')+_0x477d('0x4ca5')+_0x477d('0x4ca6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.UNMANAGED_RATE\x27\x20|\x20translate\x20|\x20uppercase}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4c7c')+_0x477d('0x4ce2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c6f')+_0x477d('0x4c7e')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c80')+_0x477d('0x4c71')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+_0x477d('0x38ad')+_0x477d('0x4ce3')+_0x477d('0x3670')+_0x477d('0x4c73')+_0x477d('0x4c74')+'\x0a'+_0x477d('0x4c75')+_0x477d('0x4c92')+_0x477d('0x3ab5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x4c93')+_0x477d('0x377d')+_0x477d('0x4cae'));_0x143a79[_0x477d('0x390')](_0x477d('0x134'),_0x477d('0x4c62')+'\x0a'+_0x477d('0x4c64')+_0x477d('0x4ce4')+_0x477d('0x4ce5')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4cb0')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4c66')+_0x477d('0x4c77')+_0x477d('0x4c67')+_0x477d('0x4c78')+_0x477d('0x4c68')+_0x477d('0x4c69')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c6a')+_0x477d('0x4c6b')+_0x477d('0x4c6c')+_0x477d('0x36bf')+_0x477d('0x4c6d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4c7c')+_0x477d('0x4c6e')+_0x477d('0x3670')+_0x477d('0x4c6f')+_0x477d('0x4c7e')+'\x0a'+_0x477d('0x4c70')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c80')+_0x477d('0x4c71')+_0x477d('0x4a44')+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+_0x477d('0x38ad')+_0x477d('0x4c72')+_0x477d('0x3670')+_0x477d('0x4c73')+_0x477d('0x4c74')+'\x0a'+_0x477d('0x4c75')+_0x477d('0x4c99')+'\x0a'+_0x477d('0x4c76')+_0x477d('0x4c77')+_0x477d('0x4c67')+_0x477d('0x4c78')+_0x477d('0x4c79')+_0x477d('0x4c69')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c6a')+_0x477d('0x4c7a')+_0x477d('0x4c7b')+_0x477d('0x36bf')+_0x477d('0x4cdc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4c7c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.OPENED_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c6f')+_0x477d('0x4c7e')+'\x0a'+_0x477d('0x4c70')+_0x477d('0x4c7f')+_0x477d('0x4c80')+_0x477d('0x4c71')+_0x477d('0x4a44')+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+_0x477d('0x38ad')+_0x477d('0x4c81')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c74')+'\x0a'+_0x477d('0x4c75')+_0x477d('0x4c82')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c77')+_0x477d('0x4c67')+_0x477d('0x4c78')+_0x477d('0x4c68')+_0x477d('0x4c69')+_0x477d('0x4c83')+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c6a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.inbound.answered\x20||\x200}}\x0a'+_0x477d('0x36bf')+_0x477d('0x4cdd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4c7c')+_0x477d('0x4c86')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4c70')+_0x477d('0x4c7f')+_0x477d('0x4c80')+_0x477d('0x4c71')+_0x477d('0x4a44')+_0x477d('0x3674')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x38ad')+_0x477d('0x4c87')+_0x477d('0x3670')+_0x477d('0x4c73')+_0x477d('0x4c74')+'\x0a'+_0x477d('0x4c75')+_0x477d('0x4ca4')+'\x0a'+_0x477d('0x3ab5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c78')+_0x477d('0x4c79')+_0x477d('0x4c69')+_0x477d('0x4c83')+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c6a')+_0x477d('0x4c8e')+_0x477d('0x4caa')+_0x477d('0x36bf')+_0x477d('0x4cab')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4c7c')+_0x477d('0x4cac')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c7e')+'\x0a'+_0x477d('0x4c70')+_0x477d('0x4c7f')+_0x477d('0x4c80')+_0x477d('0x4c71')+_0x477d('0x4a44')+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+_0x477d('0x38ad')+_0x477d('0x4cad')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4c75')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ab5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4c67')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c79')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c83')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c6a')+_0x477d('0x4c8e')+_0x477d('0x4c8f')+_0x477d('0x36bf')+_0x477d('0x4cde')+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c7c')+_0x477d('0x4c90')+_0x477d('0x3670')+_0x477d('0x4c6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4c70')+_0x477d('0x4c7f')+_0x477d('0x4c80')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4a44')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+'\x0a'+_0x477d('0x38ad')+_0x477d('0x4c91')+_0x477d('0x3670')+_0x477d('0x4c73')+_0x477d('0x4c74')+'\x0a'+_0x477d('0x4c75')+_0x477d('0x4c92')+'\x0a'+_0x477d('0x3699')+_0x477d('0x4c93')+'\x0a'+_0x477d('0x4cb0')+_0x477d('0x4c65')+_0x477d('0x4c66')+_0x477d('0x4cdf')+_0x477d('0x3ab5')+_0x477d('0x4c67')+_0x477d('0x4c78')+_0x477d('0x4c68')+_0x477d('0x4c69')+_0x477d('0x4c83')+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c6a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c96')+_0x477d('0x36bf')+_0x477d('0x4c97')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.AVG_HOLD_TIME_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}\x0a'+_0x477d('0x3670')+_0x477d('0x4c6f')+_0x477d('0x4c7e')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c80')+_0x477d('0x4c71')+_0x477d('0x4a44')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+'\x0a'+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.AVG_HOLD_TIME\x27\x20|\x20translate}}\x0a'+_0x477d('0x3670')+_0x477d('0x4c73')+_0x477d('0x4c74')+'\x0a'+_0x477d('0x4c75')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3ab5')+_0x477d('0x4c9f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ab5')+_0x477d('0x4c67')+_0x477d('0x4c78')+_0x477d('0x4c68')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c83')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c6a')+_0x477d('0x4ca0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.inbound.answerRate\x20||\x200\x20}}%\x0a'+_0x477d('0x36bf')+_0x477d('0x4ca1')+_0x477d('0x3670')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4ca2')+_0x477d('0x3670')+_0x477d('0x4c6f')+_0x477d('0x4c7e')+'\x0a'+_0x477d('0x4c70')+_0x477d('0x4c7f')+_0x477d('0x4c80')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4a44')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x38ad')+_0x477d('0x4ca3')+_0x477d('0x3670')+_0x477d('0x4c73')+_0x477d('0x4c74')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4ca4')+'\x0a'+_0x477d('0x4ce6')+_0x477d('0x4ce7')+_0x477d('0x4c67')+_0x477d('0x4c78')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c69')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3674')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4ca5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.inbound.abandonRate\x20||\x200\x20}}%\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.UNMANAGED_RATE\x27\x20|\x20translate\x20|\x20uppercase}}\x0a'+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c7c')+_0x477d('0x4ce2')+_0x477d('0x3670')+_0x477d('0x4c6f')+_0x477d('0x4c7e')+'\x0a'+_0x477d('0x4c70')+_0x477d('0x4c7f')+_0x477d('0x4c80')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+_0x477d('0x38ad')+_0x477d('0x4ce3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c74')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ab5')+_0x477d('0x3ab5')+_0x477d('0x3699')+_0x477d('0x4c93')+_0x477d('0x377d')+_0x477d('0x4cae'));_0x143a79[_0x477d('0x390')](_0x477d('0x4ce8'),'\x0a'+_0x477d('0x4c63')+_0x477d('0x4c64')+_0x477d('0x4ce9')+_0x477d('0x4cea')+_0x477d('0x3699')+'\x0a'+_0x477d('0x4cb0')+_0x477d('0x4c65')+'\x0a'+_0x477d('0x4c66')+_0x477d('0x4c77')+_0x477d('0x4c67')+_0x477d('0x4c78')+_0x477d('0x4c68')+_0x477d('0x4c69')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.inbound.waiting\x20||\x200}}\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.WAITING\x27\x20|\x20translate\x20|\x20uppercase}}\x0a'+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c7c')+_0x477d('0x4c6e')+_0x477d('0x3670')+_0x477d('0x4c6f')+_0x477d('0x4c7e')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c80')+_0x477d('0x4c71')+_0x477d('0x4a44')+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.WAITING\x27\x20|\x20translate}}\x0a'+_0x477d('0x3670')+_0x477d('0x4c73')+_0x477d('0x4c74')+'\x0a'+_0x477d('0x4c75')+_0x477d('0x4c99')+'\x0a'+_0x477d('0x4c76')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c67')+_0x477d('0x4c78')+_0x477d('0x4c79')+_0x477d('0x4c69')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c7a')+_0x477d('0x4c7b')+_0x477d('0x36bf')+_0x477d('0x4cdc')+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c7c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.OPENED_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}\x0a'+_0x477d('0x3670')+_0x477d('0x4c6f')+_0x477d('0x4c7e')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c7f')+_0x477d('0x4c80')+_0x477d('0x4c71')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3674')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x4c81')+_0x477d('0x3670')+_0x477d('0x4c73')+_0x477d('0x4c74')+'\x0a'+_0x477d('0x4c75')+_0x477d('0x4c82')+'\x0a'+_0x477d('0x4c9f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c67')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c83')+_0x477d('0x3674')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x0a'+_0x477d('0x4c6a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.inbound.answered\x20||\x200}}\x0a'+_0x477d('0x36bf')+_0x477d('0x4cdd')+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c7c')+_0x477d('0x4c86')+_0x477d('0x3670')+_0x477d('0x4c6f')+_0x477d('0x4c7e')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c7f')+_0x477d('0x4c80')+_0x477d('0x4c71')+_0x477d('0x4a44')+_0x477d('0x3674')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.MANAGED\x27\x20|\x20translate}}\x0a'+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c74')+'\x0a'+_0x477d('0x4c75')+_0x477d('0x4ca4')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c88')+_0x477d('0x4c77')+'\x0a'+_0x477d('0x4c67')+_0x477d('0x4c78')+_0x477d('0x4c79')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c83')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c6a')+_0x477d('0x4c8e')+_0x477d('0x4caa')+_0x477d('0x36bf')+_0x477d('0x4cab')+_0x477d('0x3670')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.UNMANAGED_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}\x0a'+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c7e')+'\x0a'+_0x477d('0x4c70')+_0x477d('0x4c7f')+_0x477d('0x4c80')+_0x477d('0x4c71')+_0x477d('0x4a44')+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+_0x477d('0x38ad')+_0x477d('0x4cad')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c74')+'\x0a'+_0x477d('0x4c75')+_0x477d('0x4c92')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c8d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4c67')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c79')+_0x477d('0x4c69')+_0x477d('0x4c83')+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c6a')+_0x477d('0x4c8e')+_0x477d('0x4c8f')+_0x477d('0x36bf')+_0x477d('0x4cde')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x0a'+_0x477d('0x4c7c')+_0x477d('0x4c90')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4c70')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c71')+_0x477d('0x4a44')+_0x477d('0x3674')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x38ad')+_0x477d('0x4c91')+_0x477d('0x3670')+_0x477d('0x4c73')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4c75')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3699')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4cb0')+_0x477d('0x4c65')+_0x477d('0x4c66')+_0x477d('0x4cdf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c78')+_0x477d('0x4c68')+_0x477d('0x4c69')+_0x477d('0x4c83')+_0x477d('0x3674')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4c6a')+_0x477d('0x4c95')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.inbound.avgHoldTime\x20||\x20\x2700:00:00\x27\x20}}\x0a'+_0x477d('0x36bf')+_0x477d('0x4c97')+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c7c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.AVG_HOLD_TIME_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}\x0a'+_0x477d('0x3670')+_0x477d('0x4c6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4c70')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c80')+_0x477d('0x4c71')+_0x477d('0x4a44')+_0x477d('0x3674')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x38ad')+_0x477d('0x4c98')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c74')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c99')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4ceb')+_0x477d('0x3ab5')+_0x477d('0x4c67')+_0x477d('0x4c78')+_0x477d('0x4c68')+_0x477d('0x4c69')+_0x477d('0x4c83')+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c6a')+_0x477d('0x4ca0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.inbound.answerRate\x20||\x200\x20}}%\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.MANAGED_RATE\x27\x20|\x20translate\x20|\x20uppercase}}\x0a'+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c7c')+_0x477d('0x4ca2')+_0x477d('0x3670')+_0x477d('0x4c6f')+_0x477d('0x4c7e')+'\x0a'+_0x477d('0x4c70')+_0x477d('0x4c7f')+_0x477d('0x4c80')+_0x477d('0x4c71')+_0x477d('0x4a44')+_0x477d('0x3674')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x38ad')+_0x477d('0x4ca3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c73')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4c75')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4ce6')+_0x477d('0x4ce7')+_0x477d('0x4c67')+_0x477d('0x4c78')+_0x477d('0x4c79')+_0x477d('0x4c69')+_0x477d('0x4c83')+_0x477d('0x3674')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4ca5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.inbound.abandonRate\x20||\x200\x20}}%\x0a'+_0x477d('0x36bf')+_0x477d('0x4cec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4c7c')+_0x477d('0x4ce2')+_0x477d('0x3670')+_0x477d('0x4c6f')+_0x477d('0x4c7e')+'\x0a'+_0x477d('0x4c70')+_0x477d('0x4c7f')+_0x477d('0x4c80')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3674')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x38ad')+_0x477d('0x4ce3')+_0x477d('0x3670')+_0x477d('0x4c73')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4c75')+_0x477d('0x4c92')+_0x477d('0x3ab5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3699')+_0x477d('0x4c93')+'\x0a'+_0x477d('0x4cae'));_0x143a79[_0x477d('0x390')](_0x477d('0x13b'),_0x477d('0x4c62')+_0x477d('0x4c63')+_0x477d('0x4c64')+_0x477d('0x4ced')+_0x477d('0x4cee')+_0x477d('0x3699')+'\x0a'+_0x477d('0x4cb0')+_0x477d('0x4c65')+'\x0a'+_0x477d('0x4c66')+_0x477d('0x4c77')+_0x477d('0x4c67')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c69')+_0x477d('0x4c83')+_0x477d('0x3674')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4c6a')+_0x477d('0x4c6b')+_0x477d('0x4c6c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c6d')+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c7c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.WAITING_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}\x0a'+_0x477d('0x3670')+_0x477d('0x4c6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4c70')+_0x477d('0x4c7f')+_0x477d('0x4c80')+_0x477d('0x4c71')+_0x477d('0x4a44')+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.WAITING\x27\x20|\x20translate}}\x0a'+_0x477d('0x3670')+_0x477d('0x4c73')+_0x477d('0x4c74')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c99')+'\x0a'+_0x477d('0x4c76')+_0x477d('0x4c77')+_0x477d('0x4c67')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c79')+_0x477d('0x4c69')+_0x477d('0x4c83')+_0x477d('0x3674')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4c6a')+_0x477d('0x4c7a')+_0x477d('0x4c7b')+_0x477d('0x36bf')+_0x477d('0x4cdc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4c7c')+_0x477d('0x4c7d')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c7e')+'\x0a'+_0x477d('0x4c70')+_0x477d('0x4c7f')+_0x477d('0x4c80')+_0x477d('0x4c71')+_0x477d('0x4a44')+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x4c81')+_0x477d('0x3670')+_0x477d('0x4c73')+_0x477d('0x4c74')+'\x0a'+_0x477d('0x4c75')+_0x477d('0x4c82')+'\x0a'+_0x477d('0x4c9f')+_0x477d('0x4c77')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c78')+_0x477d('0x4c68')+_0x477d('0x4c69')+_0x477d('0x4c83')+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c6a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c85')+_0x477d('0x36bf')+_0x477d('0x4cdd')+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c7c')+_0x477d('0x4c86')+_0x477d('0x3670')+_0x477d('0x4c6f')+_0x477d('0x4c7e')+'\x0a'+_0x477d('0x4c70')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c80')+_0x477d('0x4c71')+_0x477d('0x4a44')+_0x477d('0x3674')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x0a'+_0x477d('0x38ad')+_0x477d('0x4c87')+_0x477d('0x3670')+_0x477d('0x4c73')+_0x477d('0x4c74')+'\x0a'+_0x477d('0x4c75')+_0x477d('0x4ca4')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c88')+_0x477d('0x4c77')+'\x0a'+_0x477d('0x4c67')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c79')+_0x477d('0x4c69')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c6a')+_0x477d('0x4c8e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.inbound.unmanaged\x20||\x200}}\x0a'+_0x477d('0x36bf')+_0x477d('0x4cab')+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c7c')+_0x477d('0x4cac')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4c70')+_0x477d('0x4c7f')+_0x477d('0x4c80')+_0x477d('0x4c71')+_0x477d('0x4a44')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+'\x0a'+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.UNMANAGED\x27\x20|\x20translate}}\x0a'+_0x477d('0x3670')+_0x477d('0x4c73')+_0x477d('0x4c74')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c92')+_0x477d('0x3ab5')+_0x477d('0x4c8d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4c67')+_0x477d('0x4c78')+_0x477d('0x4c79')+_0x477d('0x4c69')+_0x477d('0x4c83')+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c6a')+_0x477d('0x4c8e')+_0x477d('0x4c8f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4cde')+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c7c')+_0x477d('0x4c90')+_0x477d('0x3670')+_0x477d('0x4c6f')+_0x477d('0x4c7e')+'\x0a'+_0x477d('0x4c70')+_0x477d('0x4c7f')+_0x477d('0x4c80')+_0x477d('0x4c71')+_0x477d('0x4a44')+_0x477d('0x3674')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x38ad')+_0x477d('0x4c91')+_0x477d('0x3670')+_0x477d('0x4c73')+_0x477d('0x4c74')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c92')+'\x0a'+_0x477d('0x3699')+_0x477d('0x4c93')+'\x0a'+_0x477d('0x4cb0')+_0x477d('0x4c65')+_0x477d('0x4c66')+_0x477d('0x4cdf')+_0x477d('0x3ab5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c78')+_0x477d('0x4c68')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c83')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c6a')+_0x477d('0x4c95')+_0x477d('0x4c96')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.AVG_HOLD_TIME\x27\x20|\x20translate\x20|\x20uppercase}}\x0a'+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c7c')+_0x477d('0x4ce0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c6f')+_0x477d('0x4c7e')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c7f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c71')+_0x477d('0x4a44')+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.AVG_HOLD_TIME\x27\x20|\x20translate}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c73')+_0x477d('0x4c74')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c99')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c9f')+_0x477d('0x4ceb')+_0x477d('0x3ab5')+_0x477d('0x4c67')+_0x477d('0x4c78')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c69')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c6a')+_0x477d('0x4ca0')+_0x477d('0x4ce1')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.MANAGED_RATE\x27\x20|\x20translate\x20|\x20uppercase}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4c7c')+_0x477d('0x4ca2')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c7e')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c7f')+_0x477d('0x4c80')+_0x477d('0x4c71')+_0x477d('0x4a44')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.MANAGED_RATE\x27\x20|\x20translate}}\x0a'+_0x477d('0x3670')+_0x477d('0x4c73')+_0x477d('0x4c74')+'\x0a'+_0x477d('0x4c75')+_0x477d('0x4ca4')+'\x0a'+_0x477d('0x4ce6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c67')+_0x477d('0x4c78')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c69')+_0x477d('0x4c83')+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c6a')+_0x477d('0x4ca5')+_0x477d('0x4ca6')+_0x477d('0x36bf')+_0x477d('0x4cec')+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c7c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.UNMANAGED_RATE_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}\x0a'+_0x477d('0x3670')+_0x477d('0x4c6f')+_0x477d('0x4c7e')+'\x0a'+_0x477d('0x4c70')+_0x477d('0x4c7f')+_0x477d('0x4c80')+_0x477d('0x4c71')+_0x477d('0x4a44')+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+_0x477d('0x38ad')+_0x477d('0x4ce3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x4c73')+_0x477d('0x4c74')+'\x0a'+_0x477d('0x4c75')+_0x477d('0x4c92')+_0x477d('0x3ab5')+_0x477d('0x3ab5')+_0x477d('0x3699')+_0x477d('0x4c93')+_0x477d('0x377d')+_0x477d('0x4cae'));_0x143a79[_0x477d('0x390')](_0x477d('0x11a'),_0x477d('0x4cef')+_0x477d('0x4cf0')+_0x477d('0x4cf1')+_0x477d('0x4cf2')+_0x477d('0x4cf3')+_0x477d('0x4cf4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4cf7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ui-sref=\x22app.dashboards.general.dialer\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x384c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4cf8')+_0x477d('0x384c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4d04')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+_0x477d('0x4d05')+'\x0a'+_0x477d('0x4d06')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20layout-padding\x20layout-wrap>\x0a'+_0x477d('0x4d07')+_0x477d('0x4d08')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Use\x20the\x20left\x20sidebar\x20to\x0a'+_0x477d('0x4d09')+_0x477d('0x36c0')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4d0a')+_0x477d('0x36c0')+_0x477d('0x3749')+_0x477d('0x3699')+_0x477d('0x1877'));_0x143a79['put'](_0x477d('0x120'),_0x477d('0x4c62')+_0x477d('0x4c63')+_0x477d('0x4c64')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4d0b')+_0x477d('0x3699')+'\x0a'+_0x477d('0x4cb0')+_0x477d('0x4c65')+'\x0a'+_0x477d('0x4c66')+_0x477d('0x4c77')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c78')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c83')+_0x477d('0x3674')+_0x477d('0x4cb1')+_0x477d('0x4d0c')+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c6a')+_0x477d('0x4c6b')+_0x477d('0x4c6c')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.VOICE_WAITING\x27\x20|\x20translate\x20|\x20uppercase}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4c7c')+_0x477d('0x4d0d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c6f')+_0x477d('0x4c7e')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c7f')+_0x477d('0x4c80')+_0x477d('0x4c71')+_0x477d('0x4a44')+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.VOICE_WAITING\x27\x20|\x20translate}}\x0a'+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c74')+'\x0a'+_0x477d('0x4c75')+_0x477d('0x4c99')+'\x0a'+_0x477d('0x4c76')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c67')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c79')+_0x477d('0x4c69')+_0x477d('0x4c83')+_0x477d('0x3674')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4cc6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4c6a')+_0x477d('0x4c7a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.inbound.talking\x20||\x200}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4d0e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4c7c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.VOICE_TALKING_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c7e')+'\x0a'+_0x477d('0x4c70')+_0x477d('0x4c7f')+_0x477d('0x4c80')+_0x477d('0x4c71')+_0x477d('0x4a44')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+'\x0a'+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.VOICE_TALKING\x27\x20|\x20translate}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c74')+'\x0a'+_0x477d('0x4c75')+_0x477d('0x4c82')+'\x0a'+_0x477d('0x4c9f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c67')+_0x477d('0x4c78')+_0x477d('0x4c68')+_0x477d('0x4c69')+_0x477d('0x4c83')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4cb1')+_0x477d('0x4ae4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c6a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c85')+_0x477d('0x36bf')+_0x477d('0x4cb7')+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c7c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.VOICE_ANSWERED_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}\x0a'+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c7e')+'\x0a'+_0x477d('0x4c70')+_0x477d('0x4c7f')+_0x477d('0x4c80')+_0x477d('0x4c71')+_0x477d('0x4a44')+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+_0x477d('0x38ad')+_0x477d('0x4cb9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c73')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4c75')+_0x477d('0x4ca4')+'\x0a'+_0x477d('0x4c8d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c67')+_0x477d('0x4c78')+_0x477d('0x4c79')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c83')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4cb1')+_0x477d('0x4cba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c6a')+_0x477d('0x4cbb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.inbound.abandoned\x20||\x200}}\x0a'+_0x477d('0x36bf')+_0x477d('0x4d0f')+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c7c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.VOICE_ABANDONED_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}\x0a'+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c7e')+'\x0a'+_0x477d('0x4c70')+_0x477d('0x4c7f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c71')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3674')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x4d10')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x4c73')+_0x477d('0x4c74')+'\x0a'+_0x477d('0x4c75')+_0x477d('0x4c92')+'\x0a'+_0x477d('0x4c8d')+_0x477d('0x4c77')+'\x0a'+_0x477d('0x4c67')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c79')+_0x477d('0x4c69')+_0x477d('0x4c83')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4cb1')+_0x477d('0x4d11')+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c8e')+_0x477d('0x4c8f')+_0x477d('0x36bf')+_0x477d('0x4d12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4c7c')+_0x477d('0x4d13')+_0x477d('0x3670')+_0x477d('0x4c6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4c70')+_0x477d('0x4c7f')+_0x477d('0x4c80')+_0x477d('0x4c71')+_0x477d('0x4a44')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+'\x0a'+_0x477d('0x38ad')+_0x477d('0x4d14')+_0x477d('0x3670')+_0x477d('0x4c73')+_0x477d('0x4c74')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c92')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x4c93')+'\x0a'+_0x477d('0x4cb0')+_0x477d('0x4c65')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4c67')+_0x477d('0x4c78')+_0x477d('0x4c68')+_0x477d('0x4c69')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3674')+_0x477d('0x4cb1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c6a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.inbound.avgHoldTime\x20||\x20\x2700:00:00\x27\x20}}\x0a'+_0x477d('0x36bf')+_0x477d('0x4d15')+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c7c')+_0x477d('0x4d16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c7e')+'\x0a'+_0x477d('0x4c70')+_0x477d('0x4c7f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c71')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.VOICE_AVG_HOLD_TIME\x27\x20|\x20translate}}\x0a'+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4c75')+_0x477d('0x4c99')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c77')+'\x0a'+_0x477d('0x4c67')+_0x477d('0x4c78')+_0x477d('0x4c79')+_0x477d('0x4c69')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3674')+_0x477d('0x4cb1')+_0x477d('0x4cc6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c9b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.inbound.avgTalkTime\x20||\x20\x2700:00:00\x27\x20}}\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.VOICE_AVG_TALK_TIME\x27\x20|\x20translate\x20|\x20uppercase}}\x0a'+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c7c')+_0x477d('0x4cc8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c6f')+_0x477d('0x4c7e')+'\x0a'+_0x477d('0x4c70')+_0x477d('0x4c7f')+_0x477d('0x4c80')+_0x477d('0x4c71')+_0x477d('0x4a44')+_0x477d('0x3674')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.VOICE_AVG_TALK_TIME\x27\x20|\x20translate}}\x0a'+_0x477d('0x3670')+_0x477d('0x4c73')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4c75')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c77')+'\x0a'+_0x477d('0x4c67')+_0x477d('0x4c78')+_0x477d('0x4c68')+_0x477d('0x4c69')+_0x477d('0x4c83')+_0x477d('0x3674')+_0x477d('0x4cb1')+_0x477d('0x4cca')+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c6a')+_0x477d('0x4ca0')+_0x477d('0x4ce1')+_0x477d('0x36bf')+_0x477d('0x4ccc')+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c7c')+_0x477d('0x4ccd')+_0x477d('0x3670')+_0x477d('0x4c6f')+_0x477d('0x4c7e')+'\x0a'+_0x477d('0x4c70')+_0x477d('0x4c7f')+_0x477d('0x4c80')+_0x477d('0x4c71')+_0x477d('0x4a44')+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.VOICE_ANSWER_RATE\x27\x20|\x20translate}}\x0a'+_0x477d('0x3670')+_0x477d('0x4c73')+_0x477d('0x4c74')+'\x0a'+_0x477d('0x4c75')+_0x477d('0x4ca4')+'\x0a'+_0x477d('0x4c8d')+_0x477d('0x4c77')+'\x0a'+_0x477d('0x4c67')+_0x477d('0x4c78')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c69')+_0x477d('0x4c83')+_0x477d('0x3674')+_0x477d('0x4cb1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c6a')+_0x477d('0x4ca5')+_0x477d('0x4ca6')+_0x477d('0x36bf')+_0x477d('0x4ccf')+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c7c')+_0x477d('0x4d17')+_0x477d('0x3670')+_0x477d('0x4c6f')+_0x477d('0x4c7e')+'\x0a'+_0x477d('0x4c70')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c80')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4a44')+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+_0x477d('0x38ad')+_0x477d('0x4cbe')+_0x477d('0x3670')+_0x477d('0x4c73')+_0x477d('0x4c74')+'\x0a'+_0x477d('0x4c75')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4c8d')+_0x477d('0x4c77')+'\x0a'+_0x477d('0x4c67')+_0x477d('0x4c78')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c69')+_0x477d('0x4c83')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4cb1')+_0x477d('0x4cc1')+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4caa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4d18')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4c7c')+_0x477d('0x4d19')+_0x477d('0x3670')+_0x477d('0x4c6f')+_0x477d('0x4c7e')+'\x0a'+_0x477d('0x4c70')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c80')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.VOICE_UNMANAGED\x27\x20|\x20translate}}\x0a'+_0x477d('0x3670')+_0x477d('0x4c73')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4c75')+_0x477d('0x4c92')+'\x0a'+_0x477d('0x3699')+_0x477d('0x4c93')+_0x477d('0x377d')+_0x477d('0x4d1a')+'\x0a'+_0x477d('0x4d1b')+'\x0a'+_0x477d('0x4c64')+_0x477d('0x4caf')+'\x20\x20\x20\x20\x20\x20\x20\x20Today\x20Outbound\x20STATS\x0a'+_0x477d('0x3699')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c77')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c68')+_0x477d('0x4c69')+_0x477d('0x4c83')+_0x477d('0x3674')+_0x477d('0x4cb1')+_0x477d('0x4d1c')+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c6a')+_0x477d('0x4c6b')+_0x477d('0x4d1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4d1e')+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c7c')+_0x477d('0x4d1f')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c7e')+'\x0a'+_0x477d('0x4c70')+_0x477d('0x4c7f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c71')+_0x477d('0x4a44')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.TOTAL\x27\x20|\x20translate}}\x0a'+_0x477d('0x3670')+_0x477d('0x4c73')+_0x477d('0x4c74')+'\x0a'+_0x477d('0x4c75')+_0x477d('0x4c99')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c78')+_0x477d('0x4c68')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3674')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4ae4')+_0x477d('0x3674')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4c6a')+_0x477d('0x4c84')+_0x477d('0x4d20')+_0x477d('0x36bf')+_0x477d('0x4d21')+_0x477d('0x3670')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4d22')+_0x477d('0x3670')+_0x477d('0x4c6f')+_0x477d('0x4c7e')+'\x0a'+_0x477d('0x4c70')+_0x477d('0x4c7f')+_0x477d('0x4c80')+_0x477d('0x4c71')+_0x477d('0x4a44')+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+_0x477d('0x38ad')+_0x477d('0x4d23')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c74')+'\x0a'+_0x477d('0x4c75')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4c76')+_0x477d('0x4c77')+'\x0a'+_0x477d('0x4c67')+_0x477d('0x4c78')+_0x477d('0x4c79')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3674')+_0x477d('0x4cb1')+_0x477d('0x4d24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c6a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4d25')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.TOT_DURATION\x27\x20|\x20translate\x20|\x20uppercase}}\x0a'+_0x477d('0x3670')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4d26')+_0x477d('0x3670')+_0x477d('0x4c6f')+_0x477d('0x4c7e')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c80')+_0x477d('0x4c71')+_0x477d('0x4a44')+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.TOT_DURATION\x27\x20|\x20translate}}\x0a'+_0x477d('0x3670')+_0x477d('0x4c73')+_0x477d('0x4c74')+'\x0a'+_0x477d('0x4c75')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4c8d')+_0x477d('0x4c77')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3674')+_0x477d('0x4cb1')+_0x477d('0x4d27')+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c6a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4d28')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4d29')+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c7c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.AVG_DURATION_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}\x0a'+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c7e')+'\x0a'+_0x477d('0x4c70')+_0x477d('0x4c7f')+_0x477d('0x4c80')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4a44')+_0x477d('0x3674')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x38ad')+_0x477d('0x4d2a')+_0x477d('0x3670')+_0x477d('0x4c73')+_0x477d('0x4c74')+'\x0a'+_0x477d('0x4c75')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c77')+'\x0a'+_0x477d('0x4c67')+_0x477d('0x4c78')+_0x477d('0x4c79')+_0x477d('0x4c69')+_0x477d('0x4c83')+_0x477d('0x3674')+_0x477d('0x4cb1')+_0x477d('0x4cca')+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c6a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4d2b')+_0x477d('0x36bf')+_0x477d('0x4d2c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4c7c')+_0x477d('0x4d2d')+_0x477d('0x3670')+_0x477d('0x4c6f')+_0x477d('0x4c7e')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c7f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c71')+_0x477d('0x4a44')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x38ad')+_0x477d('0x4d2e')+_0x477d('0x3670')+_0x477d('0x4c73')+_0x477d('0x4c74')+'\x0a'+_0x477d('0x4c75')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3699')+'\x20\x20\x20\x20\x0a'+_0x477d('0x377d')+_0x477d('0x4d2f'));_0x143a79[_0x477d('0x390')](_0x477d('0x14b'),_0x477d('0x4c62')+_0x477d('0x4c63')+_0x477d('0x4c64')+_0x477d('0x4d30')+_0x477d('0x4d31')+_0x477d('0x3699')+'\x0a'+_0x477d('0x4cb0')+_0x477d('0x4c65')+'\x0a'+_0x477d('0x4c66')+_0x477d('0x4c77')+_0x477d('0x4c67')+_0x477d('0x4c78')+_0x477d('0x4c68')+_0x477d('0x4c69')+_0x477d('0x4c83')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c6a')+_0x477d('0x4c6b')+_0x477d('0x4c6c')+_0x477d('0x36bf')+_0x477d('0x4c6d')+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c7c')+_0x477d('0x4c6e')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c7e')+'\x0a'+_0x477d('0x4c70')+_0x477d('0x4c7f')+_0x477d('0x4c80')+_0x477d('0x4c71')+_0x477d('0x4a44')+_0x477d('0x3674')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.HELP.WAITING\x27\x20|\x20translate}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x4c73')+_0x477d('0x4c74')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c99')+'\x0a'+_0x477d('0x4c76')+_0x477d('0x4c77')+_0x477d('0x4c67')+_0x477d('0x4c78')+_0x477d('0x4c79')+_0x477d('0x4c69')+_0x477d('0x4c83')+_0x477d('0x3674')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4c6a')+_0x477d('0x4c7a')+_0x477d('0x4c7b')+_0x477d('0x36bf')+_0x477d('0x4cdc')+_0x477d('0x3670')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c7d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c6f')+_0x477d('0x4c7e')+'\x0a'+_0x477d('0x4c70')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c80')+_0x477d('0x4c71')+_0x477d('0x4a44')+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+_0x477d('0x38ad')+_0x477d('0x4c81')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c73')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c82')+'\x0a'+_0x477d('0x4c9f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c78')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c69')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c6a')+_0x477d('0x4c84')+_0x477d('0x4c85')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.MANAGED\x27\x20|\x20translate\x20|\x20uppercase}}\x0a'+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c7c')+_0x477d('0x4c86')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c6f')+_0x477d('0x4c7e')+'\x0a'+_0x477d('0x4c70')+_0x477d('0x4c7f')+_0x477d('0x4c80')+_0x477d('0x4c71')+_0x477d('0x4a44')+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+_0x477d('0x38ad')+_0x477d('0x4c87')+_0x477d('0x3670')+_0x477d('0x4c73')+_0x477d('0x4c74')+'\x0a'+_0x477d('0x4c75')+_0x477d('0x4ca4')+'\x0a'+_0x477d('0x3ab5')+_0x477d('0x4c88')+_0x477d('0x4c77')+'\x0a'+_0x477d('0x4c67')+_0x477d('0x4c78')+_0x477d('0x4c79')+_0x477d('0x4c69')+_0x477d('0x4c83')+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c6a')+_0x477d('0x4c8e')+_0x477d('0x4caa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4cab')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4c7c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.UNMANAGED_TEXT\x27\x20|\x20translate\x20|\x20uppercase}}\x0a'+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c7e')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c7f')+_0x477d('0x4c80')+_0x477d('0x4c71')+_0x477d('0x4a44')+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x4cad')+_0x477d('0x3670')+_0x477d('0x4c73')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ab5')+_0x477d('0x4c8d')+_0x477d('0x4c77')+'\x0a'+_0x477d('0x4c67')+_0x477d('0x4c78')+_0x477d('0x4c79')+_0x477d('0x4c69')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x0a'+_0x477d('0x4c6a')+_0x477d('0x4c8e')+_0x477d('0x4c8f')+_0x477d('0x36bf')+_0x477d('0x4cde')+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c7c')+_0x477d('0x4c90')+_0x477d('0x3670')+_0x477d('0x4c6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4c70')+_0x477d('0x4c7f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c71')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3674')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x38ad')+_0x477d('0x4c91')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c73')+_0x477d('0x4c74')+'\x0a'+_0x477d('0x4c75')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3699')+_0x477d('0x4c93')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x4c66')+_0x477d('0x4cdf')+_0x477d('0x3ab5')+_0x477d('0x4c67')+_0x477d('0x4c78')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c69')+_0x477d('0x4c83')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4c6a')+_0x477d('0x4c95')+_0x477d('0x4c96')+_0x477d('0x36bf')+_0x477d('0x4c97')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4ce0')+_0x477d('0x3670')+_0x477d('0x4c6f')+_0x477d('0x4c7e')+'\x0a'+_0x477d('0x4c70')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4a44')+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+_0x477d('0x38ad')+_0x477d('0x4c98')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c74')+'\x0a'+_0x477d('0x4c75')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c9f')+_0x477d('0x4ceb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c67')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c68')+_0x477d('0x4c69')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3674')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4ca0')+_0x477d('0x4ce1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.MANAGED_RATE\x27\x20|\x20translate\x20|\x20uppercase}}\x0a'+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c7c')+_0x477d('0x4ca2')+_0x477d('0x3670')+_0x477d('0x4c6f')+_0x477d('0x4c7e')+'\x0a'+_0x477d('0x4c70')+_0x477d('0x4c7f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c71')+_0x477d('0x4a44')+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+_0x477d('0x38ad')+_0x477d('0x4ca3')+_0x477d('0x3670')+_0x477d('0x4c73')+_0x477d('0x4c74')+'\x0a'+_0x477d('0x4c75')+_0x477d('0x4ca4')+'\x0a'+_0x477d('0x4ce6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c67')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c79')+_0x477d('0x4c69')+_0x477d('0x4c83')+_0x477d('0x3674')+_0x477d('0x3670')+'\x0a'+_0x477d('0x4c6a')+_0x477d('0x4ca5')+_0x477d('0x4ca6')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.UNMANAGED_RATE\x27\x20|\x20translate\x20|\x20uppercase}}\x0a'+_0x477d('0x3670')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4ce2')+_0x477d('0x3670')+_0x477d('0x4c6f')+_0x477d('0x4c7e')+'\x0a'+_0x477d('0x4c70')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c80')+_0x477d('0x4c71')+_0x477d('0x4a44')+_0x477d('0x3674')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x38ad')+_0x477d('0x4ce3')+_0x477d('0x3670')+_0x477d('0x4c73')+_0x477d('0x4c74')+'\x0a'+_0x477d('0x4c75')+_0x477d('0x4c92')+_0x477d('0x3ab5')+_0x477d('0x3ab5')+_0x477d('0x3699')+_0x477d('0x4c93')+_0x477d('0x377d')+_0x477d('0x4cae'));_0x143a79[_0x477d('0x390')](_0x477d('0x1977'),_0x477d('0x4d32')+_0x477d('0x4d33')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39c7')+_0x477d('0x4d34')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x4d35')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x4d36')+_0x477d('0x4d37')+_0x477d('0x3e5f')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4d38')+_0x477d('0x39d2')+_0x477d('0x4d39')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4d3a')+_0x477d('0x36bf')+_0x477d('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20trunk\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20TrunkId.name\x20}}\x0a'+_0x477d('0x3aac')+_0x477d('0x4d3c')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20trunk\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3e73')+_0x477d('0x4d3d')+_0x477d('0x4d3e')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4d3f')+_0x477d('0x4d40')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20localstationid\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4d41')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e6e')+_0x477d('0x3e6f')+_0x477d('0x3aac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x4d42')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3e73')+_0x477d('0x4d43')+_0x477d('0x4d44')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4d4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22FAX.DELETE\x22>\x0a'+_0x477d('0x3a16')+_0x477d('0x4d4b')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39e9')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x1959'),_0x477d('0x4d4c')+_0x477d('0x4d4d')+_0x477d('0x3d23')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4d4e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+_0x477d('0x3661')+_0x477d('0x3dfb')+_0x477d('0x3663')+_0x477d('0x3dfc')+_0x477d('0x3dfd')+_0x477d('0x3dfe')+_0x477d('0x3b6a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x4d4f'),_0x477d('0x4d32')+_0x477d('0x4d50')+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3844')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+_0x477d('0x39c7')+_0x477d('0x4d51')+_0x477d('0x4d52')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x3de0')+_0x477d('0x3e86')+_0x477d('0x3e87')+_0x477d('0x3aac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x4d53')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3e73')+_0x477d('0x4d54')+_0x477d('0x3e8b')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x220\x22\x20\x20\x20\x0a'+_0x477d('0x3de6')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Timeout\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3de9')+_0x477d('0x4d55')+_0x477d('0x3deb')+_0x477d('0x3e23')+_0x477d('0x4d56')+_0x477d('0x3deb')+_0x477d('0x3e24')+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3663')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b1b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39e0')+_0x477d('0x39e1')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')]('app/main/apps/fax/views/faxAccounts/edit/apps/close/dialog.html',_0x477d('0x4d32')+'\x20\x20\x20\x20\x0a'+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4d58')+_0x477d('0x3eb7')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x4d59')+_0x477d('0x39d2')+_0x477d('0x4d5a')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3663')+'\x0a'+_0x477d('0x3b1a')+_0x477d('0x3b1b')+_0x477d('0x4d5b')+_0x477d('0x39de')+_0x477d('0x4d57')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22FAX.SAVE\x22\x20translate-attr-aria-label=\x22FAX.SAVE\x22>\x0a'+_0x477d('0x39e0')+_0x477d('0x39e1')+_0x477d('0x36c0')+_0x477d('0x3669')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')]('app/main/apps/fax/views/faxAccounts/edit/apps/gotoif/dialog.html','\x0a'+_0x477d('0x4d50')+_0x477d('0x381e')+_0x477d('0x365d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+_0x477d('0x39c7')+_0x477d('0x4d5c')+_0x477d('0x4d5d')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x4d5e')+_0x477d('0x39d2')+_0x477d('0x4d5f')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x4d60')+_0x477d('0x3ee4')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3ee5')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x4d61')+_0x477d('0x36bf')+_0x477d('0x3de9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20truepriority\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a'+_0x477d('0x3deb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x4d62')+_0x477d('0x4d63')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x221\x22\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x4d64')+_0x477d('0x39d2')+_0x477d('0x4d65')+_0x477d('0x36bf')+_0x477d('0x3de9')+_0x477d('0x4d66')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ee8')+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3b1a')+_0x477d('0x3b1b')+_0x477d('0x4d5b')+_0x477d('0x39de')+_0x477d('0x4d57')+_0x477d('0x4d46')+_0x477d('0x39e0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x3669')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')]('app/main/apps/fax/views/faxAccounts/edit/apps/gotop/dialog.html','\x0a'+_0x477d('0x4d50')+_0x477d('0x381e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c5')+_0x477d('0x39c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4d67')+_0x477d('0x3eed')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x220\x22\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x4d68')+_0x477d('0x39d2')+_0x477d('0x4d69')+_0x477d('0x36bf')+_0x477d('0x3de9')+_0x477d('0x4d6a')+_0x477d('0x3deb')+_0x477d('0x3ee8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ab5')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b1b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x477d('0x39e1')+_0x477d('0x36c0')+_0x477d('0x3669')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x4d6b'),'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x381e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c1')+_0x477d('0x3843')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3aec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x3aee')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3af0')+_0x477d('0x3674')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+'\x0a'+_0x477d('0x3eb4')+_0x477d('0x383b')+_0x477d('0x3ef5')+_0x477d('0x3ef6')+_0x477d('0x3ef7')+_0x477d('0x36a0')+_0x477d('0x36a1')+'\x0a'+_0x477d('0x4d6c')+_0x477d('0x3ef8')+_0x477d('0x3ef9')+_0x477d('0x3efa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3efb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Time\x20Range\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3c57')+_0x477d('0x4d6d')+_0x477d('0x3efe')+_0x477d('0x3eff')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Time\x20Range\x20From\x20field\x20is\x20invalid\x0a'+_0x477d('0x3f01')+_0x477d('0x40da')+_0x477d('0x3c68')+_0x477d('0x3670')+_0x477d('0x3f02')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4d6e')+_0x477d('0x3f04')+_0x477d('0x3f05')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x399e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Time\x20Range\x20To\x20field\x20is\x20required\x0a'+_0x477d('0x36a9')+_0x477d('0x36bf')+_0x477d('0x3f07')+_0x477d('0x3670')+_0x477d('0x36c0')+_0x477d('0x3f08')+'\x0a'+_0x477d('0x3f09')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Week\x20Days\x0a'+_0x477d('0x3efd')+_0x477d('0x3f0b')+_0x477d('0x3f0c')+_0x477d('0x3f0d')+_0x477d('0x3f0e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20day.value\x20|\x20ucfirst\x20}}\x0a'+_0x477d('0x3b15')+_0x477d('0x39a2')+'\x0a'+_0x477d('0x3f10')+_0x477d('0x3f11')+_0x477d('0x3f12')+_0x477d('0x3f0f')+_0x477d('0x3b15')+_0x477d('0x3f13')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39a2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f14')+'\x0a'+_0x477d('0x4d6f')+_0x477d('0x4d70')+_0x477d('0x3efd')+_0x477d('0x3f15')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20From\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f0e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20month\x20}}\x0a'+_0x477d('0x3b15')+_0x477d('0x39a2')+'\x0a'+_0x477d('0x3f17')+_0x477d('0x3f11')+_0x477d('0x3f18')+_0x477d('0x3f16')+_0x477d('0x3b15')+_0x477d('0x3f19')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39a2')+_0x477d('0x36c0')+_0x477d('0x4d71')+'\x0a'+_0x477d('0x4d72')+_0x477d('0x3f1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f15')+_0x477d('0x3f0c')+_0x477d('0x3f1b')+_0x477d('0x3f0e')+_0x477d('0x3f1c')+_0x477d('0x3b15')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4d73')+_0x477d('0x3f11')+_0x477d('0x3f1d')+_0x477d('0x3f1c')+_0x477d('0x3b15')+_0x477d('0x3f1e')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x3f1f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x3aed')+_0x477d('0x3aee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x3aef')+_0x477d('0x3af0')+_0x477d('0x3674')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x3663')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387b')+_0x477d('0x3f20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3f21')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20INTERVAL\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x366a')+'\x0a');_0x143a79[_0x477d('0x390')](_0x477d('0x4d74'),_0x477d('0x4d32')+_0x477d('0x4d50')+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x4d75')+_0x477d('0x3f24')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x4d76')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Value\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x39c3')+_0x477d('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b1b')+_0x477d('0x4d5b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x477d('0x4d57')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22FAX.SAVE\x22\x20translate-attr-aria-label=\x22FAX.SAVE\x22>\x0a'+_0x477d('0x39e0')+_0x477d('0x39e1')+_0x477d('0x36c0')+_0x477d('0x3669')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')]('app/main/apps/fax/views/faxAccounts/edit/apps/queue/dialog.html',_0x477d('0x4d32')+_0x477d('0x4d50')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x365d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x477d('0x3843')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39da')+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+_0x477d('0x39c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39c7')+_0x477d('0x4d77')+_0x477d('0x3f28')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x3de0')+_0x477d('0x3f29')+_0x477d('0x4d78')+_0x477d('0x3aac')+_0x477d('0x4d79')+_0x477d('0x39d2')+_0x477d('0x4d7a')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3e73')+_0x477d('0x4d54')+_0x477d('0x4d7b')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x220\x22\x20\x20\x20\x0a'+_0x477d('0x3de6')+_0x477d('0x39cd')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x4d7c')+_0x477d('0x39d2')+_0x477d('0x4d7d')+_0x477d('0x36bf')+_0x477d('0x3de9')+_0x477d('0x4d55')+_0x477d('0x3deb')+_0x477d('0x3e23')+_0x477d('0x4d56')+_0x477d('0x3deb')+_0x477d('0x3e24')+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x39c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b1b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3840'));_0x143a79['put'](_0x477d('0x4d7e'),_0x477d('0x4d32')+_0x477d('0x4d50')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x4d7f')+_0x477d('0x4d80')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x4d81')+_0x477d('0x39d2')+_0x477d('0x4d82')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Variable\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b1b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a');_0x143a79[_0x477d('0x390')](_0x477d('0x4d85'),_0x477d('0x4d32')+_0x477d('0x4d50')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x365d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x38ad')+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+_0x477d('0x39c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4d86')+_0x477d('0x3f38')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ce')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+_0x477d('0x3de0')+_0x477d('0x4d87')+_0x477d('0x4d88')+_0x477d('0x3aac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4d89')+_0x477d('0x36bf')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3eb4')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b1b')+_0x477d('0x4d5b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x477d('0x4d57')+_0x477d('0x4d46')+_0x477d('0x39e0')+_0x477d('0x39e1')+_0x477d('0x36c0')+_0x477d('0x3669')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x1942'),_0x477d('0x4d8a')+_0x477d('0x4d8b')+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4d35')+_0x477d('0x36bf')+_0x477d('0x39d9')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+_0x477d('0x39dc')+_0x477d('0x387b')+_0x477d('0x4d8c')+_0x477d('0x39de')+_0x477d('0x4d8d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22FAX.SAVE\x22\x20translate-attr-aria-label=\x22FAX.SAVE\x22>\x0a'+_0x477d('0x39e0')+_0x477d('0x39e1')+'\x0a'+_0x477d('0x4d8e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x477d('0x4d8f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22FAX.ADD_FAXDISPOSITION\x22\x20translate-attr-aria-label=\x22FAX.ADD_FAXDISPOSITION\x22>\x0a'+_0x477d('0x4d90')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x39e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x39e9')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x4d92'),_0x477d('0x4d93')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3b62')+_0x477d('0x3b63')+_0x477d('0x4d94')+_0x477d('0x4d95')+_0x477d('0x4d96')+_0x477d('0x3e04')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x387b')+'\x0a'+_0x477d('0x4d97')+_0x477d('0x4d98')+_0x477d('0x3670')+'\x0a'+_0x477d('0x38e8')+_0x477d('0x3b65')+_0x477d('0x4d99')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.faxAccount.name}}\x0a'+_0x477d('0x36bf')+_0x477d('0x3b68')+_0x477d('0x4d9a')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e09')+_0x477d('0x4d9b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22md-fab\x20md-warn\x20md-icon-button\x22\x0a'+_0x477d('0x433c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e09')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3699')+_0x477d('0x39f8')+'\x0a'+_0x477d('0x3a18')+_0x477d('0x3b6b')+'\x0a'+_0x477d('0x3b6c')+_0x477d('0x3e12')+_0x477d('0x3f7a')+_0x477d('0x4d9e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e14')+_0x477d('0x4d9f')+_0x477d('0x3f7d')+_0x477d('0x4da0')+_0x477d('0x385c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4d34')+_0x477d('0x4da1')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x4d35')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x4d36')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d9')+_0x477d('0x36a1')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20headerinfo\x0a'+_0x477d('0x4da3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x4da4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4da5')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x4da6')+_0x477d('0x4da7')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x4d3b')+_0x477d('0x4da8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x4da9')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3e73')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20localstationid\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4daa')+_0x477d('0x39d2')+_0x477d('0x4dab')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4d41')+_0x477d('0x4dac')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x3de0')+_0x477d('0x3e6e')+_0x477d('0x3e6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f82')+_0x477d('0x39d2')+_0x477d('0x4d42')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4dad')+_0x477d('0x4dae')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3ee5')+_0x477d('0x3de6')+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x3f88')+_0x477d('0x39d2')+_0x477d('0x4daf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WaitForTheAssignedAgent\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e23')+_0x477d('0x4db0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x4d43')+_0x477d('0x4d44')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x3e25')+_0x477d('0x39d2')+_0x477d('0x4db1')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x3e26')+_0x477d('0x3e27')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f7d')+_0x477d('0x4db2')+_0x477d('0x385c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4db3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20notificationShake\x0a'+_0x477d('0x3eb4')+_0x477d('0x3867')+_0x477d('0x3f90')+_0x477d('0x4db4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e26')+_0x477d('0x3e27')+_0x477d('0x4db5')+_0x477d('0x3f7d')+_0x477d('0x4db6')+_0x477d('0x385c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4db7')+_0x477d('0x3eb4')+_0x477d('0x3867')+_0x477d('0x4db8')+_0x477d('0x4db9')+_0x477d('0x4dba')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3ee5')+_0x477d('0x3de6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x4dbb')+_0x477d('0x36bf')+_0x477d('0x3de9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20queueTransferTimeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a'+_0x477d('0x3deb')+_0x477d('0x3e23')+_0x477d('0x4dbc')+_0x477d('0x3deb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x4dbd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3867')+_0x477d('0x4dbe')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20agentTransferTimeout\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20agentTransferTimeout\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3de9')+_0x477d('0x4dbf')+_0x477d('0x3deb')+_0x477d('0x3e23')+_0x477d('0x4dc0')+_0x477d('0x3deb')+_0x477d('0x3e24')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e26')+_0x477d('0x3e27')+_0x477d('0x3e28')+_0x477d('0x3e29')+_0x477d('0x3e12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4dc1')+_0x477d('0x3f7b')+_0x477d('0x3e14')+_0x477d('0x4dc2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADVANCED\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e18')+_0x477d('0x4dc3')+_0x477d('0x4dc4')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x3de0')+_0x477d('0x4dc5')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>yes\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20no\x0a'+_0x477d('0x3aac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4dc6')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ECM\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4dc7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x207200\x0a'+_0x477d('0x4dcc')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>9600\x0a'+_0x477d('0x4dcd')+_0x477d('0x3a46')+_0x477d('0x4dce')+_0x477d('0x4dcf')+_0x477d('0x3a46')+_0x477d('0x4dd0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4dd1')+_0x477d('0x39d2')+_0x477d('0x4dd2')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3e73')+_0x477d('0x4dd3')+_0x477d('0x4dd4')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x3de0')+_0x477d('0x4dd5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4dc8')+_0x477d('0x4dc9')+_0x477d('0x3a46')+_0x477d('0x4dca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x3e73')+_0x477d('0x4ddb')+_0x477d('0x4ddc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4ddd')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20modem\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x4dde')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4ddf')+_0x477d('0x4de0')+_0x477d('0x39d2')+_0x477d('0x4de1')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x4de2')+_0x477d('0x4de3')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x4de4')+_0x477d('0x4de5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4de6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x4de7')+_0x477d('0x4de8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x4de9')+_0x477d('0x4dea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4deb')+_0x477d('0x36bf')+_0x477d('0x3f85')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x4dec')+_0x477d('0x4ded')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x3de0')+_0x477d('0x4dee')+_0x477d('0x3a46')+_0x477d('0x4def')+_0x477d('0x4df0')+_0x477d('0x3a46')+_0x477d('0x4df1')+_0x477d('0x4df2')+_0x477d('0x3a46')+_0x477d('0x4df3')+_0x477d('0x4df4')+_0x477d('0x3a46')+_0x477d('0x4df5')+_0x477d('0x3aac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4df6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3eb4')+_0x477d('0x3e26')+_0x477d('0x3e27')+_0x477d('0x4df7')+_0x477d('0x3f7d')+_0x477d('0x4df8')+_0x477d('0x385c')+_0x477d('0x3fba')+_0x477d('0x3e18')+_0x477d('0x4df9')+_0x477d('0x3eb4')+_0x477d('0x3867')+_0x477d('0x4dfa')+_0x477d('0x4dfb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MandatoryDispositionPauseId\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3eb4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e27')+_0x477d('0x3e28')+_0x477d('0x3e29')+_0x477d('0x3e12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DISPOSITIONS\x0a'+_0x477d('0x3f7b')+_0x477d('0x3e14')+_0x477d('0x4dff')+_0x477d('0x4e00')+_0x477d('0x4e01')+_0x477d('0x4100')+_0x477d('0x4e02')+_0x477d('0x4102')+_0x477d('0x4103')+_0x477d('0x4e03')+_0x477d('0x4e04')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x40e1')+_0x477d('0x3670')+_0x477d('0x4106')+'\x20\x20\x0a'+_0x477d('0x4108')+'\x20\x20\x20\x20\x20\x20\x20\x20{{vm_dc.selectedFaxAccountFaxDispositions.length}}\x20{{vm_dc.selectedFaxAccountFaxDispositions.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected\x0a'+_0x477d('0x3b2c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x410b')+_0x477d('0x410c')+_0x477d('0x4e05')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22FAX.DELETE_SELECTED\x22>\x0a'+_0x477d('0x410f')+_0x477d('0x3d05')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x0a'+_0x477d('0x4110')+_0x477d('0x4e06')+_0x477d('0x4e07')+_0x477d('0x4113')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4e08')+_0x477d('0x4115')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4e09')+_0x477d('0x4115')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4e0a')+_0x477d('0x4115')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x411e')+_0x477d('0x411f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4e0b')+'>\x0a'+_0x477d('0x4e0c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{faxDisposition.id}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4e0d')+_0x477d('0x4123')+_0x477d('0x4e0e')+_0x477d('0x4e0f')+_0x477d('0x412e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x412f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4130')+_0x477d('0x4155')+'\x20\x0a'+_0x477d('0x4156')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4e10')+_0x477d('0x4e11')+_0x477d('0x4133')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4e12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20FaxDisposition\x0a'+_0x477d('0x3a52')+_0x477d('0x415b')+_0x477d('0x415c')+_0x477d('0x4137')+_0x477d('0x4138')+_0x477d('0x411e')+_0x477d('0x4e13')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x417f')+_0x477d('0x4e14')+_0x477d('0x413b')+_0x477d('0x413c')+_0x477d('0x411e')+_0x477d('0x413d')+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x0a'+_0x477d('0x4e15')+_0x477d('0x3fa6')+'\x0a'+_0x477d('0x3e27')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e29')+_0x477d('0x3e12')+_0x477d('0x3f7a')+_0x477d('0x4e16')+_0x477d('0x3f7b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4e17')+_0x477d('0x4e18')+_0x477d('0x4186')+_0x477d('0x4187')+_0x477d('0x4188')+_0x477d('0x4189')+_0x477d('0x418a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x418c')+_0x477d('0x37cb')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x418e')+'\x20\x20\x20\x20\x0a'+_0x477d('0x418f')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4e19')+_0x477d('0x4e1a')+_0x477d('0x4192')+_0x477d('0x418e')+_0x477d('0x4193')+_0x477d('0x3fa6')+_0x477d('0x4e1b')+_0x477d('0x4e1c')+'\x20\x20\x0a'+_0x477d('0x4e1d')+_0x477d('0x4e1e')+_0x477d('0x4108')+'\x20\x20\x20\x20\x20\x20\x20\x20Drag\x20&\x20Drop\x20Routing\x0a'+_0x477d('0x3b2c')+_0x477d('0x4194')+_0x477d('0x380f')+_0x477d('0x392e')+_0x477d('0x4e1f')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4e20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x4199')+_0x477d('0x4e22')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x419a')+_0x477d('0x419b')+_0x477d('0x419c')+_0x477d('0x419d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x419f')+_0x477d('0x4e23')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41a1')+_0x477d('0x419e')+_0x477d('0x41a0')+_0x477d('0x41a2')+_0x477d('0x419e')+_0x477d('0x419b')+_0x477d('0x419b')+_0x477d('0x41a3')+_0x477d('0x41a4')+_0x477d('0x41a5')+_0x477d('0x4e24')+_0x477d('0x41a7')+_0x477d('0x41a8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4e25')+_0x477d('0x4e26')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{app.appdata}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{app.IntervalId\x20?\x20\x27From\x20List\x27\x20:\x20app.interval}}\x0a'+_0x477d('0x41a7')+_0x477d('0x41ad')+_0x477d('0x41ae')+_0x477d('0x41af')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{app.IntervalId\x20?\x20\x27From\x20List\x27\x20:\x20(app.interval\x20===\x20\x27*,*,*,*\x27\x20?\x20\x27Always\x27\x20:\x20\x27Custom\x27)}}\x0a'+_0x477d('0x41b0')+_0x477d('0x452d')+_0x477d('0x413c')+_0x477d('0x41b1')+_0x477d('0x3a43')+_0x477d('0x4e27')+_0x477d('0x3a44')+_0x477d('0x3947')+'\x0a'+_0x477d('0x3a45')+_0x477d('0x41b3')+_0x477d('0x4e28')+_0x477d('0x4e29')+_0x477d('0x3a52')+_0x477d('0x3a4b')+_0x477d('0x41b3')+_0x477d('0x41b4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Interval\x0a'+_0x477d('0x3a52')+_0x477d('0x3a4b')+_0x477d('0x41b6')+_0x477d('0x41b7')+_0x477d('0x41b8')+_0x477d('0x3a52')+_0x477d('0x3a4b')+_0x477d('0x41b9')+_0x477d('0x42b0')+_0x477d('0x413c')+_0x477d('0x41a3')+_0x477d('0x4e2a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41bb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41a3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41bd')+_0x477d('0x41be')+_0x477d('0x4e2b')+'\x0a'+_0x477d('0x41bf')+'\x0a'+'\x0a'+_0x477d('0x377d')+'\x0a'+_0x477d('0x377d')+'\x0a'+_0x477d('0x3e27')+_0x477d('0x3e28')+_0x477d('0x3e29')+_0x477d('0x3e12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4e2c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4e2d')+_0x477d('0x4e2e')+_0x477d('0x4e2f')+_0x477d('0x4100')+'\x20\x20\x20\x20\x20\x20Interactions\x0a'+_0x477d('0x4102')+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41c7')+_0x477d('0x41c8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x20\x27md-fab\x20md-mini\x20md-accent-bg\x27:\x20vm_dc.query.search\x20}\x22\x20aria-label=\x22Filter\x22\x20translate\x0a'+_0x477d('0x41ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x40da')+_0x477d('0x4106')+'\x20\x20\x0a'+_0x477d('0x4108')+'\x20\x20\x20\x20\x20\x20\x20\x20{{vm_dc.selectedFaxAccountInteractions.length}}\x20{{vm_dc.selectedFaxAccountInteractions.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected\x0a'+_0x477d('0x3b2c')+_0x477d('0x4e33')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x410c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3d05')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x0a'+_0x477d('0x4110')+_0x477d('0x4e35')+_0x477d('0x4e36')+_0x477d('0x4113')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4e08')+_0x477d('0x4115')+_0x477d('0x41d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4115')+_0x477d('0x41d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41d2')+_0x477d('0x41d3')+_0x477d('0x4214')+_0x477d('0x4e37')+_0x477d('0x4115')+_0x477d('0x411d')+_0x477d('0x4e38')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4e39')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4e3a')+_0x477d('0x4e3b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4214')+_0x477d('0x4e3c')+_0x477d('0x4115')+_0x477d('0x41d8')+_0x477d('0x4e3d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x414c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x411f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41db')+_0x477d('0x4123')+_0x477d('0x41dc')+_0x477d('0x4e3e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4e3f')+_0x477d('0x41dd')+_0x477d('0x41de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41e0')+_0x477d('0x3939')+_0x477d('0x41e3')+_0x477d('0x41e1')+_0x477d('0x41e2')+_0x477d('0x40da')+_0x477d('0x3939')+_0x477d('0x41e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41e0')+_0x477d('0x3939')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4baa')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4e40')+_0x477d('0x412e')+_0x477d('0x4e41')+_0x477d('0x41ec')+_0x477d('0x4e42')+_0x477d('0x41ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41ee')+_0x477d('0x41ef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x40da')+_0x477d('0x412e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41f3')+_0x477d('0x41f4')+_0x477d('0x4e45')+_0x477d('0x41f5')+_0x477d('0x4e46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41f8')+_0x477d('0x41f4')+_0x477d('0x4e45')+_0x477d('0x4123')+_0x477d('0x3a46')+_0x477d('0x4e47')+_0x477d('0x4e48')+_0x477d('0x4123')+_0x477d('0x4e49')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41fa')+_0x477d('0x41fb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41fd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-style=\x22{\x27color\x27:\x20interaction.Tags.length\x20==\x201\x20&&\x20interaction.Tags[0].color\x20}\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a9')+_0x477d('0x412e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4e4a')+_0x477d('0x4130')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4200')+_0x477d('0x4e4b')+_0x477d('0x4202')+_0x477d('0x3a52')+_0x477d('0x415b')+_0x477d('0x4203')+_0x477d('0x4e4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Download\x0a'+_0x477d('0x4206')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4e4d')+_0x477d('0x4e4e')+_0x477d('0x420a')+_0x477d('0x3a52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4137')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x411e')+_0x477d('0x4e4f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x417f')+_0x477d('0x4e50')+_0x477d('0x413b')+_0x477d('0x413c')+_0x477d('0x411e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x413e')+_0x477d('0x413f')+_0x477d('0x4e51')+_0x477d('0x3fa6')+'\x0a'+_0x477d('0x3e27')+_0x477d('0x3e28')+_0x477d('0x3e29')+_0x477d('0x3e2a')+'\x0a'+_0x477d('0x3699')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x377d'));_0x143a79[_0x477d('0x390')](_0x477d('0x158'),'\x0a'+'\x0a'+_0x477d('0x39eb')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3abc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ec')+_0x477d('0x39ed')+_0x477d('0x4e52')+_0x477d('0x3760')+_0x477d('0x4e53')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39ef')+'\x0a'+_0x477d('0x39f0')+_0x477d('0x39f1')+_0x477d('0x39f2')+_0x477d('0x39f3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4e54')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x0a'+_0x477d('0x39f8')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x4e55')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22>\x0a'+'\x0a'+_0x477d('0x4e56')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39fd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Back\x0a'+_0x477d('0x372b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a00')+_0x477d('0x4e57')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedFaxAccounts.length}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20selected\x0a'+_0x477d('0x3760')+'\x0a'+_0x477d('0x3daf')+_0x477d('0x3a04')+_0x477d('0x3a05')+_0x477d('0x3a06')+_0x477d('0x4e58')+_0x477d('0x3a08')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a09')+_0x477d('0x3a0a')+_0x477d('0x4e59')+_0x477d('0x3a0c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a0f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a0e')+_0x477d('0x3832')+_0x477d('0x3a0f')+_0x477d('0x3a10')+_0x477d('0x3a11')+_0x477d('0x36c0')+'\x0a'+_0x477d('0x3ac4')+_0x477d('0x4e5a')+_0x477d('0x3a13')+_0x477d('0x3a14')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a19')+'\x0a'+_0x477d('0x3a1a')+_0x477d('0x3ac6')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4e5c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a1e')+_0x477d('0x4e5d')+_0x477d('0x4e5e')+_0x477d('0x3a21')+_0x477d('0x3a22')+_0x477d('0x4e5f')+_0x477d('0x4e60')+_0x477d('0x4e61')+_0x477d('0x4e62')+_0x477d('0x4e63')+_0x477d('0x4e64')+_0x477d('0x3acb')+_0x477d('0x3a2c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a2e')+_0x477d('0x4e65')+_0x477d('0x3e3e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4e66')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a32')+_0x477d('0x3a2c')+_0x477d('0x4e67')+_0x477d('0x4e68')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{faxAccount.key}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3adc')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3dc6')+'\x0a'+_0x477d('0x4e72')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22FAX.INTERACTIONS_FAXACCOUNT\x22>\x0a'+_0x477d('0x4e73')+_0x477d('0x3a52')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3dc6')+'\x0a'+_0x477d('0x4e74')+_0x477d('0x4e75')+_0x477d('0x4e76')+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4e77')+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3caf')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x0a'+_0x477d('0x3a2c')+_0x477d('0x3a56')+_0x477d('0x3ae2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4e7a')+_0x477d('0x3ae4')+_0x477d('0x4e7b')+_0x477d('0x3a59')+'\x0a'+_0x477d('0x3cb5')+_0x477d('0x36e5')+_0x477d('0x3ae6')+'\x0a'+_0x477d('0x3699')+_0x477d('0x3a5a')+'\x0a'+_0x477d('0x4e7c')+_0x477d('0x4e7d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20faxAccount\x22\x20translate\x20translate-attr-aria-label=\x22FAX.ADD_FAXACCOUNT\x22>\x0a'+_0x477d('0x3cb8')+_0x477d('0x3735')+_0x477d('0x4e7e')+_0x477d('0x3699'));_0x143a79[_0x477d('0x390')](_0x477d('0x199a'),_0x477d('0x4e7f')+_0x477d('0x4e80')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39c7')+_0x477d('0x4d34')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3dde')+_0x477d('0x4e84')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x4e85')+_0x477d('0x4e86')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x39cf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RR\x20Memory\x0a'+_0x477d('0x3aac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x4e87')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent_Timeout\x0a'+_0x477d('0x4e88')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x221\x22\x20\x20\x20\x0a'+_0x477d('0x3de6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x4e89')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent_Timeout\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3de9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent_Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a'+_0x477d('0x3deb')+_0x477d('0x3e23')+_0x477d('0x4e8a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x4d43')+_0x477d('0x4e8b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x4e8c')+_0x477d('0x39d2')+_0x477d('0x4db1')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x38ad')+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4e8d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x477d('0x4e8e')+_0x477d('0x4d46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x477d('0x39e1')+'\x0a'+_0x477d('0x4e8f')+_0x477d('0x3c8b')+_0x477d('0x4e90')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22FAX.ADD_FAXQUEUE\x22\x20translate-attr-aria-label=\x22FAX.ADD_FAXQUEUE\x22>\x0a'+_0x477d('0x4e91')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79['put'](_0x477d('0x1990'),'\x0a'+_0x477d('0x4e92')+_0x477d('0x3d23')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4e93')+_0x477d('0x3d25')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3661')+_0x477d('0x3dfb')+_0x477d('0x3663')+_0x477d('0x3dfc')+_0x477d('0x3dfd')+_0x477d('0x3dfe')+_0x477d('0x3b6a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3669')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x4e94'),_0x477d('0x4e95')+_0x477d('0x4e92')+_0x477d('0x3d23')+_0x477d('0x3dfa')+_0x477d('0x4e96')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3dfb')+_0x477d('0x3663')+_0x477d('0x3dfc')+_0x477d('0x3dfd')+_0x477d('0x4e97')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x477d('0x372b')+_0x477d('0x3669')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x4e98'),'\x0a'+'\x0a'+_0x477d('0x39eb')+_0x477d('0x3b62')+_0x477d('0x3b63')+_0x477d('0x4e99')+_0x477d('0x4e9a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22FAX.GO_TO_FAXQUEUES\x22>\x0a'+_0x477d('0x3e04')+_0x477d('0x372b')+'\x0a'+_0x477d('0x387b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4e9b')+_0x477d('0x3670')+'\x0a'+_0x477d('0x38e8')+_0x477d('0x3b65')+_0x477d('0x4e9c')+_0x477d('0x4e9d')+_0x477d('0x36bf')+_0x477d('0x3b68')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.faxQueue.createdAt\x20|\x20date:\x27medium\x27}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ab5')+_0x477d('0x3e09')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e09')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e10')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e11')+_0x477d('0x3d05')+_0x477d('0x36e5')+'\x0a'+_0x477d('0x3699')+_0x477d('0x39f8')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3b6b')+'\x0a'+_0x477d('0x3b6c')+_0x477d('0x3e12')+_0x477d('0x3f7a')+_0x477d('0x4d9e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e14')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f7d')+_0x477d('0x4da0')+_0x477d('0x385c')+_0x477d('0x3e17')+_0x477d('0x3e18')+_0x477d('0x4d34')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x3e1a')+_0x477d('0x39d2')+_0x477d('0x4d35')+_0x477d('0x36bf')+_0x477d('0x3dde')+_0x477d('0x4e84')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x4e85')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Beepall\x0a'+_0x477d('0x3e1f')+_0x477d('0x3a46')+_0x477d('0x3de2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4e87')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e73')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent_Timeout\x0a'+_0x477d('0x4e88')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x221\x22\x20\x20\x20\x0a'+_0x477d('0x3de6')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x3e22')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent_Timeout\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3de9')+_0x477d('0x4ea2')+_0x477d('0x3deb')+_0x477d('0x3e23')+_0x477d('0x4e8a')+_0x477d('0x3deb')+_0x477d('0x3e24')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x4d43')+_0x477d('0x4e8b')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x3e25')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4db1')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x3e26')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e28')+_0x477d('0x3e29')+_0x477d('0x3e2a')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x377d'));_0x143a79[_0x477d('0x390')](_0x477d('0x151'),'\x0a'+'\x0a'+_0x477d('0x39eb')+_0x477d('0x3bef')+'\x0a'+_0x477d('0x3abc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ec')+_0x477d('0x39ed')+_0x477d('0x4e52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4ea3')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ef')+'\x0a'+_0x477d('0x39f0')+_0x477d('0x39f1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39f3')+_0x477d('0x39f4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3abf')+_0x477d('0x4e54')+_0x477d('0x39a2')+_0x477d('0x36c0')+_0x477d('0x39f7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x39f8')+'\x0a'+_0x477d('0x39f9')+_0x477d('0x4ea4')+_0x477d('0x39fa')+'\x0a'+_0x477d('0x4ea5')+_0x477d('0x39fc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4ea6')+_0x477d('0x372b')+_0x477d('0x36e5')+'\x0a'+_0x477d('0x39ff')+'\x0a'+_0x477d('0x3a00')+_0x477d('0x4ea7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedFaxQueues.length}}\x0a'+_0x477d('0x4ea8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3daf')+_0x477d('0x3a04')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22$mdOpenMenu($event)\x22\x0a'+_0x477d('0x3a06')+_0x477d('0x4e58')+_0x477d('0x3a08')+_0x477d('0x3674')+_0x477d('0x3a09')+_0x477d('0x3a0a')+_0x477d('0x4ea9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Select\x20all\x0a'+_0x477d('0x3832')+_0x477d('0x3a0f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4eaa')+_0x477d('0x3a0e')+_0x477d('0x3832')+_0x477d('0x3a0f')+_0x477d('0x3a10')+_0x477d('0x3a11')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3ac4')+_0x477d('0x4eab')+_0x477d('0x3a13')+_0x477d('0x3a14')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a1a')+_0x477d('0x3ac6')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4eac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a1e')+_0x477d('0x4ead')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a21')+_0x477d('0x3a22')+_0x477d('0x4e5f')+_0x477d('0x4e60')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27FAX.STRATEGY\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x3acb')+_0x477d('0x3a2c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a2e')+_0x477d('0x4eae')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a30')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a'+_0x477d('0x3a31')+_0x477d('0x3a32')+_0x477d('0x3a2c')+_0x477d('0x4eaf')+_0x477d('0x4eb0')+_0x477d('0x4eb1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{faxQueue.id}}\x0a'+_0x477d('0x4eb2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22name\x20\x22\x20>{{faxQueue.name}}\x0a'+_0x477d('0x4eb3')+_0x477d('0x4eb4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a42')+'\x0a'+_0x477d('0x3a43')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3947')+'\x0a'+_0x477d('0x3a45')+'\x0a'+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3adc')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3dc6')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4eb9')+_0x477d('0x4eba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20agentadd\x20FaxQueue\x0a'+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4ebb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22FAX.DELETE_FAXQUEUE\x22>\x0a'+_0x477d('0x4ebc')+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3dc6')+'\x0a'+_0x477d('0x4ebd')+_0x477d('0x4ebe')+_0x477d('0x4ebf')+_0x477d('0x3a52')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4c')+_0x477d('0x3692')+'\x0a'+_0x477d('0x3693')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x0a'+_0x477d('0x3a2c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ae2')+_0x477d('0x3a57')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ae4')+_0x477d('0x4ec0')+_0x477d('0x3a59')+'\x0a'+_0x477d('0x3cb5')+_0x477d('0x36e5')+_0x477d('0x3ae6')+'\x0a'+_0x477d('0x3699')+_0x477d('0x3a5a')+'\x0a'+_0x477d('0x4ec1')+_0x477d('0x4ec2')+_0x477d('0x4ec3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x4ec4')+_0x477d('0x3699'));_0x143a79[_0x477d('0x390')](_0x477d('0x16b'),'\x0a'+_0x477d('0x421f')+_0x477d('0x4100')+'\x20\x20\x20\x20\x20\x20\x20\x20Accounts\x0a'+_0x477d('0x3b2c')+_0x477d('0x42b9')+'\x20\x20\x20\x20\x0a'+_0x477d('0x422f')+'\x0a'+_0x477d('0x4ec5')+_0x477d('0x4230')+_0x477d('0x4231')+_0x477d('0x4ec6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4ec7')+_0x477d('0x4ec8')+_0x477d('0x4ec9')+_0x477d('0x4eca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27FAX.OUT\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x3d53')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4256')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4ecb')+_0x477d('0x36bf')+_0x477d('0x413c')+_0x477d('0x41a3')+_0x477d('0x4ecc')+_0x477d('0x4ecd')+_0x477d('0x4ece')+_0x477d('0x41a7')+_0x477d('0x4ecf')+_0x477d('0x413c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4271')+_0x477d('0x4ed0')+_0x477d('0x4ed1')+_0x477d('0x4ed2')+_0x477d('0x36bf')+_0x477d('0x413c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4271')+_0x477d('0x4ed3')+_0x477d('0x4ed4')+_0x477d('0x4ed5')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a43')+_0x477d('0x4ed6')+_0x477d('0x3a44')+_0x477d('0x3947')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4ed7')+_0x477d('0x3a52')+_0x477d('0x3a4b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x42b0')+_0x477d('0x413c')+_0x477d('0x41a3')+_0x477d('0x41bc')+_0x477d('0x42d1')+_0x477d('0x41be')+'\x0a'+_0x477d('0x4ed8')+'\x0a'+_0x477d('0x41c1'));_0x143a79[_0x477d('0x390')](_0x477d('0x160'),'\x0a'+'\x0a'+_0x477d('0x4100')+_0x477d('0x4ed9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4221')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20on-collapse=\x22vm.query.filter\x20=\x20undefined;\x20vm.onInit()\x22\x20debounce=\x22300\x22>\x0a'+_0x477d('0x4223')+_0x477d('0x4eda')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27FAX.ALL\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x4edb')+_0x477d('0x4edc')+_0x477d('0x4edd')+_0x477d('0x4ede')+_0x477d('0x3888')+'\x0a'+_0x477d('0x4229')+_0x477d('0x422a')+_0x477d('0x422b')+_0x477d('0x422c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ACW\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20LOGININPAUSE\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AUTOPAUSE\x0a'+_0x477d('0x4edf')+_0x477d('0x3888')+_0x477d('0x3699')+'\x0a'+'\x0a'+_0x477d('0x4ec5')+_0x477d('0x4230')+_0x477d('0x4231')+_0x477d('0x4232')+_0x477d('0x4233')+_0x477d('0x4ee0')+_0x477d('0x4235')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.CHAT\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x4237')+_0x477d('0x4238')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x423a')+_0x477d('0x423b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x423d')+_0x477d('0x423e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x419a')+_0x477d('0x423f')+_0x477d('0x4ee1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27FAX.STATUS\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x4241')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27FAX.LOGIN_TIME\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x4243')+_0x477d('0x4ee2')+'\x0a'+_0x477d('0x4245')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Info\x0a'+'\x0a'+_0x477d('0x4247')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x424a')+_0x477d('0x36bb')+_0x477d('0x419e')+'\x0a'+_0x477d('0x424b')+_0x477d('0x424c')+_0x477d('0x4249')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.CAPACITY\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x36bb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x424e')+_0x477d('0x424f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4ee3')+_0x477d('0x36bb')+_0x477d('0x419e')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27OPENCHANNEL.STATUS\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x4251')+_0x477d('0x4249')+_0x477d('0x4252')+_0x477d('0x36bb')+_0x477d('0x419e')+'\x0a'+_0x477d('0x4253')+_0x477d('0x4254')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4ee4')+_0x477d('0x36bb')+_0x477d('0x419e')+'\x0a'+_0x477d('0x4255')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4ee5')+_0x477d('0x36bb')+_0x477d('0x419e')+_0x477d('0x41a3')+_0x477d('0x41a4')+_0x477d('0x4256')+_0x477d('0x4257')+_0x477d('0x4ee6')+_0x477d('0x4258')+_0x477d('0x4ee7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x413c')+_0x477d('0x41a3')+_0x477d('0x4ee8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4261')+_0x477d('0x3684')+_0x477d('0x4262')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22icon-camcorder-box26\x22>\x0a'+_0x477d('0x4264')+_0x477d('0x4eea')+_0x477d('0x4268')+_0x477d('0x4266')+_0x477d('0x368a')+_0x477d('0x36a9')+_0x477d('0x4eeb')+_0x477d('0x3684')+_0x477d('0x4267')+_0x477d('0x4263')+_0x477d('0x4264')+_0x477d('0x4eec')+_0x477d('0x4268')+_0x477d('0x4266')+_0x477d('0x368a')+_0x477d('0x36a9')+_0x477d('0x36bf')+_0x477d('0x413c')+'\x0a'+'\x0a'+'\x0a'+_0x477d('0x4269')+_0x477d('0x426a')+_0x477d('0x4eed')+_0x477d('0x4eee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x426c')+_0x477d('0x426d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.agents[value].voiceStatus\x20|\x20uppercase\x20}}\x0a'+_0x477d('0x4274')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22text-boxed\x20md-background-bg\x20bl\x20bt\x20padding-5\x20orange-400-bg\x22>ONHOLD\x0a'+_0x477d('0x36bf')+_0x477d('0x413c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4ef0')+_0x477d('0x4276')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27idle\x27:\x27lime-300-fg\x27,\x27maxcapacity\x27:\x27red-A200-fg\x27,\x27working\x27:\x27indigo-100-fg\x27,\x27pause\x27:\x27amber-200-fg\x27}[vm.agents[value].voiceStatus]\x22>{{\x20vm.agents[value].queue\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hhours}}:{{mminutes}}:{{sseconds}}\x0a'+_0x477d('0x427b')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4271')+_0x477d('0x41ee')+_0x477d('0x427d')+_0x477d('0x427e')+_0x477d('0x36a9')+_0x477d('0x36bf')+_0x477d('0x413c')+_0x477d('0x427f')+_0x477d('0x4280')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.agents[value].chatCurrentCapacity\x20}}\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.agents[value].mailStatus\x20|\x20uppercase\x20}}\x0a'+_0x477d('0x36a9')+_0x477d('0x36bf')+_0x477d('0x413c')+_0x477d('0x4ef2')+_0x477d('0x4282')+_0x477d('0x4283')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41ee')+_0x477d('0x427d')+_0x477d('0x4ef3')+_0x477d('0x36a9')+_0x477d('0x36bf')+_0x477d('0x413c')+_0x477d('0x4285')+_0x477d('0x4ef4')+_0x477d('0x4286')+'\x0a'+_0x477d('0x4287')+_0x477d('0x4271')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x427d')+_0x477d('0x4288')+_0x477d('0x36a9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4289')+_0x477d('0x428a')+_0x477d('0x4ef5')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4271')+_0x477d('0x41ee')+_0x477d('0x427d')+_0x477d('0x428c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x413c')+_0x477d('0x4ef6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27idle\x27:\x27lime-300-fg\x27,\x27maxcapacity\x27:\x27red-A200-fg\x27,\x27working\x27:\x27indigo-100-fg\x27,\x27pause\x27:\x27amber-200-fg\x27}[vm.agents[value].faxStatus]\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.agents[value].faxCurrentCapacity\x20}}\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4271')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x427d')+_0x477d('0x4ef7')+_0x477d('0x36a9')+_0x477d('0x36bf')+_0x477d('0x413c')+_0x477d('0x4290')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27idle\x27:\x27lime-300-fg\x27,\x27maxcapacity\x27:\x27red-A200-fg\x27,\x27working\x27:\x27indigo-100-fg\x27,\x27pause\x27:\x27amber-200-fg\x27}[vm.agents[value].whatsappStatus]\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.agents[value].whatsappCurrentCapacity\x20}}\x0a'+'\x0a'+_0x477d('0x4293')+_0x477d('0x3a43')+_0x477d('0x3d9e')+_0x477d('0x4294')+_0x477d('0x3a44')+_0x477d('0x3947')+'\x0a'+_0x477d('0x4295')+_0x477d('0x4296')+_0x477d('0x4297')+_0x477d('0x4ef8')+_0x477d('0x4299')+_0x477d('0x3a52')+_0x477d('0x3a4b')+_0x477d('0x4296')+_0x477d('0x429a')+_0x477d('0x4ef9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Add\x20Agent\x20In\x20Queue\x0a'+_0x477d('0x3a52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3c28')+_0x477d('0x429d')+_0x477d('0x4efa')+_0x477d('0x3691')+_0x477d('0x429f')+_0x477d('0x42a0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3c45')+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x4296')+_0x477d('0x3c28')+_0x477d('0x429d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22FAX.PAUSE\x22>Pause\x0a'+_0x477d('0x429f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x42aa')+_0x477d('0x4efd')+_0x477d('0x4efe')+_0x477d('0x4eff')+_0x477d('0x42a8')+_0x477d('0x3c30')+_0x477d('0x42a9')+_0x477d('0x42aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22vm.agents[value].voicePause\x20&&\x20pause.name\x20===\x20vm.agents[value].pauseType\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.pause(vm.agents[value],\x20pause.name)\x22>{{pause.name}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3c30')+_0x477d('0x42a5')+_0x477d('0x3c45')+_0x477d('0x3a4b')+_0x477d('0x42ad')+_0x477d('0x42ae')+_0x477d('0x4f00')+_0x477d('0x4f01')+_0x477d('0x3a52')+_0x477d('0x3a4b')+_0x477d('0x41b9')+_0x477d('0x42b0')+_0x477d('0x413c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41bc')+_0x477d('0x42d1')+_0x477d('0x41be')+'\x0a'+_0x477d('0x42b1')+_0x477d('0x4f02')+_0x477d('0x481b')+_0x477d('0x42b3')+_0x477d('0x42b4')+_0x477d('0x42b5'));_0x143a79[_0x477d('0x390')](_0x477d('0x167'),_0x477d('0x42b7')+_0x477d('0x421f')+_0x477d('0x4100')+'\x20\x20\x20\x20\x20\x20\x20\x20Queues\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x42b9')+'\x20\x20\x20\x20\x0a'+_0x477d('0x422f')+'\x0a'+_0x477d('0x42ba')+_0x477d('0x4230')+_0x477d('0x4231')+_0x477d('0x42bb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4ec7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27FAX.LOGGED_IN\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x4f03')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27FAX.READY\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27FAX.WAITING\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x42c1')+_0x477d('0x41a3')+_0x477d('0x41a4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x417e')+_0x477d('0x4258')+_0x477d('0x4ecb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x413c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x42c5')+_0x477d('0x41a7')+_0x477d('0x42c6')+_0x477d('0x413c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x42c7')+_0x477d('0x413c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.queues[value].available\x20||\x200}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41a7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.queues[value].waiting\x20||\x200}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f04')+_0x477d('0x3a43')+_0x477d('0x4f05')+_0x477d('0x42cb')+_0x477d('0x3947')+'\x0a'+_0x477d('0x3a45')+_0x477d('0x4296')+_0x477d('0x4f06')+_0x477d('0x42cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4b')+_0x477d('0x42ce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x42d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41b9')+_0x477d('0x42b0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41a3')+_0x477d('0x41bc')+'\x20\x20\x20\x20\x0a'+_0x477d('0x41be')+'\x0a'+_0x477d('0x4f07')+_0x477d('0x42d3')+_0x477d('0x41c1'));_0x143a79[_0x477d('0x390')]('app/main/apps/fax/views/realtime/realtime.html',_0x477d('0x42d4')+_0x477d('0x3a18')+_0x477d('0x3b6b')+_0x477d('0x3b6c')+_0x477d('0x42d5')+_0x477d('0x42d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agents\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x42d9')+_0x477d('0x42d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Trunks\x0a'+_0x477d('0x42d8')+_0x477d('0x384c')+_0x477d('0x42d9')+_0x477d('0x42d6')+_0x477d('0x4f08')+_0x477d('0x42d8')+_0x477d('0x384c')+_0x477d('0x42d9')+_0x477d('0x42d6')+_0x477d('0x4f09')+_0x477d('0x42d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x42db')+'\x0a'+_0x477d('0x42dc')+'\x0a'+_0x477d('0x3699')+'\x20\x20\x20\x20\x0a'+_0x477d('0x377d'));_0x143a79[_0x477d('0x390')](_0x477d('0x163'),_0x477d('0x42b7')+_0x477d('0x421f')+_0x477d('0x4100')+_0x477d('0x4f0a')+_0x477d('0x3b2c')+_0x477d('0x42b9')+_0x477d('0x4f0b')+_0x477d('0x4f0c')+_0x477d('0x4f0d')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f0e')+_0x477d('0x3699')+_0x477d('0x422f')+'\x0a'+'\x0a'+_0x477d('0x4230')+_0x477d('0x4231')+_0x477d('0x4f0f')+_0x477d('0x4f10')+_0x477d('0x419a')+_0x477d('0x4ec7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27FAX.TRUNK_STATUS\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27FAX.REGISTRY\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x419b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41a4')+_0x477d('0x4256')+_0x477d('0x4f11')+_0x477d('0x4f12')+_0x477d('0x4258')+_0x477d('0x4ecb')+_0x477d('0x36bf')+_0x477d('0x413c')+_0x477d('0x41a3')+_0x477d('0x4f13')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{trunk.name}}\x0a'+_0x477d('0x41a7')+_0x477d('0x4f14')+_0x477d('0x4f15')+_0x477d('0x4f16')+_0x477d('0x4f17')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41a7')+_0x477d('0x4f18')+_0x477d('0x4f19')+_0x477d('0x4f16')+_0x477d('0x4f1a')+_0x477d('0x4f1b')+_0x477d('0x4f1c')+_0x477d('0x4f1d')+_0x477d('0x413c')+_0x477d('0x4f1e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4ed6')+_0x477d('0x3a44')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4295')+_0x477d('0x4296')+_0x477d('0x4f1f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Trunk\x0a'+_0x477d('0x3a52')+_0x477d('0x3a4b')+_0x477d('0x41b9')+_0x477d('0x42b0')+_0x477d('0x413c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41bc')+_0x477d('0x42d1')+_0x477d('0x41be')+'\x0a'+_0x477d('0x4f20')+'\x20\x20\x20\x20md-on-paginate=\x22vm.getTrunks\x22\x20md-page-select>\x0a'+_0x477d('0x4f21')+_0x477d('0x41c1'));_0x143a79['put'](_0x477d('0x171'),_0x477d('0x4f22')+_0x477d('0x4f23')+_0x477d('0x4f24')+_0x477d('0x3a00')+_0x477d('0x4f25')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4f26')+'\x0a'+_0x477d('0x3a00')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f27')+_0x477d('0x3670')+_0x477d('0x4f28')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f29')+_0x477d('0x4f2a')+_0x477d('0x3944')+_0x477d('0x4f2b')+_0x477d('0x36bf')+'\x0a'+_0x477d('0x4f2c')+_0x477d('0x4f2d')+_0x477d('0x4f2e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f2f')+_0x477d('0x36bf')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f30')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3944')+_0x477d('0x4f31')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4f2c')+_0x477d('0x4f32')+_0x477d('0x4f33')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f34')+_0x477d('0x36bf')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4f35')+'\x0a'+_0x477d('0x4f36')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Follow\x20us\x20on\x0a'+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f37')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4f38')+_0x477d('0x4f39')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f3a')+_0x477d('0x4f3b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f3c')+_0x477d('0x4f3d')+_0x477d('0x4f3e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Contact\x20Us\x0a'+_0x477d('0x3670')+_0x477d('0x4f36')+_0x477d('0x4f3f')+_0x477d('0x3670')+'\x0a'+_0x477d('0x4f40')+'\x0a'+_0x477d('0x4f41')+'\x0a'+_0x477d('0x4f35')+'\x0a'+_0x477d('0x4f42')+'\x0a'+_0x477d('0x4f40')+'\x0a'+_0x477d('0x4f43')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+_0x477d('0x3699')+_0x477d('0x377d'));_0x143a79[_0x477d('0x390')](_0x477d('0x19d9'),_0x477d('0x4f44')+_0x477d('0x4f45')+_0x477d('0x381e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x477d('0x3843')+_0x477d('0x3844')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x0a'+_0x477d('0x4f46')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x4f47')+_0x477d('0x39d2')+_0x477d('0x4f48')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x4f49')+_0x477d('0x4f4a')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3de0')+_0x477d('0x3f5c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f50')+_0x477d('0x4f51')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f52')+_0x477d('0x39d2')+_0x477d('0x4f53')+_0x477d('0x36bf')+_0x477d('0x3e66')+_0x477d('0x4f54')+_0x477d('0x36bf')+_0x477d('0x39d9')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x4f55')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f56')+_0x477d('0x3a46')+_0x477d('0x4f57')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f58')+_0x477d('0x39d2')+_0x477d('0x4f59')+_0x477d('0x36bf')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f5a')+_0x477d('0x4f5b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x4f5c')+_0x477d('0x39d2')+_0x477d('0x4f5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Password\x0a'+_0x477d('0x4f5e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-placeholder=\x22INTEGRATIONS.PASSWORD\x22\x20\x20required\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x4f5f')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Must\x20contain\x20at\x20least\x208\x20characters,\x20with\x20a\x20minimum\x20of\x201\x20lowercase\x20letter,\x201\x20uppercase\x20letter,\x201\x20numeric\x20character\x20and\x201\x20special\x20character\x20~!?*@#$%^&-_=+[{]}.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36bf')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e73')+_0x477d('0x4f60')+_0x477d('0x4f61')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x4f62')+_0x477d('0x4f63')+_0x477d('0x39d2')+_0x477d('0x4f64')+_0x477d('0x36bf')+_0x477d('0x3e66')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MotionProxyAddress\x20must\x20be\x20a\x20valid\x20url\x20http://www.xcally.com\x0a'+_0x477d('0x36bf')+_0x477d('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x4f65')+_0x477d('0x4f66')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x4f67')+_0x477d('0x39d2')+_0x477d('0x4f68')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3663')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4f6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x477d('0x4f6c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22INTEGRATIONS.ADD_DESKACCOUNT\x22\x20translate-attr-aria-label=\x22INTEGRATIONS.ADD_DESKACCOUNT\x22>\x0a'+_0x477d('0x4f6d')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x39e5')+_0x477d('0x4f6e')+_0x477d('0x4f6f')+_0x477d('0x3a16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x39e9')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x194'),_0x477d('0x4f70')+'\x0a'+_0x477d('0x39eb')+_0x477d('0x3bef')+'\x0a'+_0x477d('0x3abc')+_0x477d('0x37cd')+_0x477d('0x39ec')+_0x477d('0x39ed')+_0x477d('0x4f71')+_0x477d('0x3760')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DeskAccounts\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39f0')+_0x477d('0x39f1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39f3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39f5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f72')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x39f7')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x0a'+_0x477d('0x39f8')+'\x0a'+_0x477d('0x39f9')+_0x477d('0x4f73')+_0x477d('0x39fa')+'\x0a'+_0x477d('0x4f74')+_0x477d('0x39fc')+_0x477d('0x39fd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Back\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+'\x0a'+_0x477d('0x39ff')+'\x0a'+_0x477d('0x3a00')+_0x477d('0x4f75')+_0x477d('0x4f76')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20selected\x0a'+_0x477d('0x3760')+'\x0a'+_0x477d('0x3daf')+_0x477d('0x3a04')+_0x477d('0x3a05')+_0x477d('0x3a06')+_0x477d('0x4f77')+_0x477d('0x3a08')+_0x477d('0x3674')+_0x477d('0x3a09')+_0x477d('0x3a0a')+_0x477d('0x4f78')+_0x477d('0x3a0c')+_0x477d('0x3832')+_0x477d('0x3a0f')+_0x477d('0x3a0a')+_0x477d('0x4f79')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Select\x20none\x0a'+_0x477d('0x3832')+_0x477d('0x3a0f')+_0x477d('0x3a10')+_0x477d('0x3a11')+_0x477d('0x36c0')+'\x0a'+_0x477d('0x3ac4')+_0x477d('0x4f7a')+_0x477d('0x3a13')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f7b')+_0x477d('0x4f7c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+_0x477d('0x3699')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a18')+_0x477d('0x3a19')+'\x0a'+_0x477d('0x3a1a')+_0x477d('0x3ac6')+'\x0a'+_0x477d('0x3a1b')+_0x477d('0x4f7d')+_0x477d('0x3a1d')+_0x477d('0x3a1e')+_0x477d('0x4f7e')+_0x477d('0x4f7f')+_0x477d('0x3a21')+_0x477d('0x3a22')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.ID\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.NAME\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x4f80')+_0x477d('0x4f81')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a2d')+_0x477d('0x3a2e')+_0x477d('0x4f82')+_0x477d('0x3acd')+_0x477d('0x3a30')+_0x477d('0x4f83')+_0x477d('0x3a31')+_0x477d('0x3a32')+_0x477d('0x3a2c')+_0x477d('0x4f84')+_0x477d('0x4f85')+_0x477d('0x4f86')+_0x477d('0x4f87')+_0x477d('0x4f88')+_0x477d('0x4f89')+_0x477d('0x4f8a')+_0x477d('0x4f89')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22remoteUri\x20\x22\x20>{{deskAccount.remoteUri}}\x0a'+_0x477d('0x4f89')+_0x477d('0x4f8b')+_0x477d('0x3ad9')+'\x0a'+_0x477d('0x3a42')+'\x0a'+_0x477d('0x3a43')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a44')+_0x477d('0x3947')+'\x0a'+_0x477d('0x3a45')+'\x0a'+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3adc')+'\x0a'+_0x477d('0x4f8c')+_0x477d('0x4f8d')+_0x477d('0x4f8e')+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3dc6')+'\x0a'+_0x477d('0x4f8f')+_0x477d('0x4f90')+_0x477d('0x4f91')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4f92')+_0x477d('0x4f93')+_0x477d('0x4f94')+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3939')+'\x0a'+'\x0a'+_0x477d('0x3a2c')+_0x477d('0x3a56')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a57')+'\x0a'+_0x477d('0x4f95')+_0x477d('0x3ae4')+_0x477d('0x4f96')+_0x477d('0x3a59')+'\x0a'+_0x477d('0x3cb5')+_0x477d('0x36e5')+_0x477d('0x3ae6')+'\x0a'+_0x477d('0x3699')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4f97')+_0x477d('0x4f98')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20deskAccount\x22\x20translate\x20translate-attr-aria-label=\x22INTEGRATIONS.ADD_DESKACCOUNT\x22>\x0a'+_0x477d('0x3cb8')+_0x477d('0x3735')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3699'));_0x143a79[_0x477d('0x390')]('app/main/apps/integrations/views/deskAccounts/edit/configurations/dialog.html',_0x477d('0x4f99')+_0x477d('0x4f9a')+_0x477d('0x381e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39c7')+_0x477d('0x4f9b')+_0x477d('0x4f9c')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x4f9d')+_0x477d('0x39d2')+_0x477d('0x4f48')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Channel\x0a'+_0x477d('0x4f9e')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3a5e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x3f5c')+_0x477d('0x4f9f')+_0x477d('0x3a46')+_0x477d('0x4fa0')+_0x477d('0x3aac')+_0x477d('0x4fa1')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Channel\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3e73')+_0x477d('0x4f49')+_0x477d('0x4fa2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x39cf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x3f5c')+_0x477d('0x4fa3')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27INTEGRATIONS.INBOUND_IN_QUEUE\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3fc8')+_0x477d('0x4fa4')+_0x477d('0x3a46')+_0x477d('0x4fa5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4fa6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f4f')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x3eb4')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3663')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4fa7')+_0x477d('0x39de')+_0x477d('0x4fa8')+_0x477d('0x4f6a')+_0x477d('0x39e0')+_0x477d('0x39e1')+'\x0a'+_0x477d('0x4fa9')+_0x477d('0x3c8b')+_0x477d('0x4faa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22INTEGRATIONS.ADD_DESKCONFIGURATION\x22\x20translate-attr-aria-label=\x22INTEGRATIONS.ADD_DESKCONFIGURATION\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20DESKCONFIGURATION\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4fab')+_0x477d('0x4f6f')+_0x477d('0x3a16')+_0x477d('0x4fac')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x39e9')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x19f5'),'\x0a'+_0x477d('0x4fad')+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x3aea')+_0x477d('0x3aeb')+_0x477d('0x3aec')+_0x477d('0x3aed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3af0')+_0x477d('0x3674')+_0x477d('0x3670')+_0x477d('0x36c0')+'\x0a'+_0x477d('0x4fae')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4faf')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4fb0')+_0x477d('0x46d4')+_0x477d('0x4fb1')+_0x477d('0x4fb2')+_0x477d('0x4fb3')+_0x477d('0x4fb4')+_0x477d('0x44db')+_0x477d('0x4fb5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22deskAccountItemForm.type.$touched\x22\x20role=\x22alert\x22>\x0a'+_0x477d('0x3c59')+_0x477d('0x4fb6')+_0x477d('0x4fb7')+_0x477d('0x382a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4fb8')+_0x477d('0x4fb9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x384e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x0a'+_0x477d('0x4fc4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20String\x0a'+_0x477d('0x4fc5')+_0x477d('0x4fc6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4fc7')+_0x477d('0x4fc8')+_0x477d('0x4fc1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x20field\x20is\x0a'+_0x477d('0x4fc3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x382a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4fc9')+_0x477d('0x4fca')+_0x477d('0x4fcb')+_0x477d('0x4fcc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22deskAccountItemForm.keyContent.$touched\x22\x20role=\x22alert\x22>\x0a'+_0x477d('0x4fc1')+_0x477d('0x4fcd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20field\x20is\x20required\x0a'+_0x477d('0x385c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3851')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4fce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x385c')+_0x477d('0x382a')+_0x477d('0x3851')+'\x0a'+_0x477d('0x4fdc')+_0x477d('0x4fce')+_0x477d('0x4fdd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{variable.name}}\x0a'+_0x477d('0x44ef')+_0x477d('0x44f0')+_0x477d('0x3851')+_0x477d('0x36bf')+_0x477d('0x4fde')+_0x477d('0x3670')+_0x477d('0x4fdf')+_0x477d('0x4fe0')+_0x477d('0x4fe1')+_0x477d('0x384e')+_0x477d('0x4fe2')+_0x477d('0x4fe3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4fe4')+_0x477d('0x4fe5')+_0x477d('0x4fe6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4fd4')+'\x0a'+_0x477d('0x4fe7')+_0x477d('0x4fe8')+_0x477d('0x4fe9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4fd4')+'\x0a'+_0x477d('0x44f0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4fec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4fed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

Account\x20is\x20not\x20connected.\x20Please\x20check\x20your\x20configurations!

\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4fee')+_0x477d('0x3670')+_0x477d('0x4fef')+_0x477d('0x4ff0')+_0x477d('0x3670')+_0x477d('0x36c0')+_0x477d('0x3aea')+_0x477d('0x3aeb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x3aee')+_0x477d('0x36bf')+_0x477d('0x3aef')+_0x477d('0x3af0')+_0x477d('0x3674')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387b')+_0x477d('0x4ff1')+_0x477d('0x4ff2')+_0x477d('0x387d')+_0x477d('0x387e')+'\x0a'+_0x477d('0x4ff3')+_0x477d('0x4ff4')+_0x477d('0x4ff5')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4fac')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3840')+'\x0a'+'\x0a'+'\x0a'+_0x477d('0x4ff6')+_0x477d('0x4ff7')+'\x0a'+_0x477d('0x4ff8')+_0x477d('0x4ff9')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20String\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Variable\x0a'+_0x477d('0x4ffa')+_0x477d('0x3888')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x5006')+_0x477d('0x5007')+_0x477d('0x4ffc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Value\x20field\x20is\x20required\x0a'+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4ffe')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x5003')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x5008')+_0x477d('0x5009')+_0x477d('0x4ffc')+_0x477d('0x500a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+_0x477d('0x4ffe')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x500b')+_0x477d('0x500c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required>\x0a'+_0x477d('0x500d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{agentColumn}}\x0a'+_0x477d('0x500e')+_0x477d('0x500f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5010')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3888')+_0x477d('0x5011')+_0x477d('0x5012')+_0x477d('0x4ffc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Variable\x20name\x20field\x20is\x0a'+_0x477d('0x5013')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x4ffe')+'\x0a'+_0x477d('0x5014')+'\x20\x20\x20\x20\x20\x20\x20\x20Value\x0a'+_0x477d('0x5015')+_0x477d('0x5016')+_0x477d('0x3888')+_0x477d('0x4ffe')+'\x0a'+_0x477d('0x5017')+'\x0a'+'\x0a'+'\x0a'+_0x477d('0x5018')+'\x20\x20\x20\x20\x0a'+_0x477d('0x4ff8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5019')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Variable\x0a'+_0x477d('0x501a')+_0x477d('0x3b25')+_0x477d('0x501b')+_0x477d('0x4ffc')+_0x477d('0x4ffd')+_0x477d('0x501c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x501d')+_0x477d('0x501e')+_0x477d('0x501f')+'\x20\x20\x20\x20\x20\x20Content\x0a'+_0x477d('0x5020')+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5021')+_0x477d('0x3cfb')+_0x477d('0x380f')+_0x477d('0x501d')+'\x0a'+_0x477d('0x5022')+_0x477d('0x5023')+_0x477d('0x5024')+_0x477d('0x5025')+_0x477d('0x5026')+_0x477d('0x5027')+_0x477d('0x5028')+_0x477d('0x5029')+_0x477d('0x502a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{dialColumn}}\x0a'+_0x477d('0x5028')+_0x477d('0x5029')+_0x477d('0x502b')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3d1d')+_0x477d('0x502c')+_0x477d('0x502d')+_0x477d('0x3cfb')+_0x477d('0x380f')+_0x477d('0x501d')+'\x0a'+_0x477d('0x502e')+'\x20\x20\x20\x20\x20\x20Value\x0a'+_0x477d('0x502f')+_0x477d('0x5030')+_0x477d('0x502b')+_0x477d('0x501d')+_0x477d('0x5031'));_0x143a79[_0x477d('0x390')](_0x477d('0x199'),_0x477d('0x5032')+'\x0a'+_0x477d('0x39eb')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3b63')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x5034')+_0x477d('0x5035')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b65')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.deskAccount.id}}\x0a'+_0x477d('0x5036')+_0x477d('0x36bf')+_0x477d('0x3b68')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.deskAccount.createdAt\x20|\x20date:\x27medium\x27}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x38ad')+_0x477d('0x5037')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x477d('0x3d05')+_0x477d('0x36e5')+'\x0a'+_0x477d('0x3699')+_0x477d('0x39f8')+'\x0a'+_0x477d('0x3a18')+_0x477d('0x3b6b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e12')+_0x477d('0x3f7a')+_0x477d('0x5038')+_0x477d('0x3f7b')+_0x477d('0x3e14')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f7d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GENERAL\x0a'+_0x477d('0x385c')+_0x477d('0x3e17')+_0x477d('0x3e18')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x0a'+_0x477d('0x4f46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x3e1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f48')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x4f49')+_0x477d('0x4f4a')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x3de0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5039')+_0x477d('0x3a46')+_0x477d('0x4f4b')+_0x477d('0x3fc8')+_0x477d('0x4f4c')+_0x477d('0x3a46')+_0x477d('0x4f4d')+_0x477d('0x3aac')+_0x477d('0x503a')+_0x477d('0x39d2')+_0x477d('0x4f4f')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3e73')+_0x477d('0x4f50')+_0x477d('0x4f51')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x503b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f53')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e66')+_0x477d('0x4f54')+_0x477d('0x36bf')+_0x477d('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f55')+_0x477d('0x503c')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x3de0')+_0x477d('0x4f56')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Basic\x0a'+_0x477d('0x3aac')+_0x477d('0x503d')+_0x477d('0x39d2')+_0x477d('0x4f59')+_0x477d('0x36bf')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x503e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Username\x0a'+_0x477d('0x4f5b')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x4f5d')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x503f')+_0x477d('0x4f5e')+_0x477d('0x5040')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Password\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x5041')+_0x477d('0x5042')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x3eb4')+_0x477d('0x3e73')+_0x477d('0x4f60')+_0x477d('0x4f61')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MotionProxyAddress\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5043')+_0x477d('0x36bf')+_0x477d('0x39d9')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f65')+_0x477d('0x4f66')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x4f68')+_0x477d('0x36bf')+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e26')+_0x477d('0x3e27')+_0x477d('0x3e28')+_0x477d('0x3e29')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f7a')+_0x477d('0x5044')+_0x477d('0x3f7b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5045')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5046')+_0x477d('0x377d')+_0x477d('0x5047')+_0x477d('0x5048')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5049')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x43b1')+_0x477d('0x372b')+_0x477d('0x36e5')+_0x477d('0x504a')+_0x477d('0x504b')+_0x477d('0x504c')+_0x477d('0x504d')+_0x477d('0x3d9e')+_0x477d('0x504e')+_0x477d('0x42cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a45')+_0x477d('0x504f')+_0x477d('0x5050')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20DeskConfiguration\x0a'+_0x477d('0x3a52')+_0x477d('0x3a4b')+_0x477d('0x41b9')+_0x477d('0x42b0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x486c')+_0x477d('0x5051')+'\x20\x20\x20\x20\x0a'+_0x477d('0x5052')+_0x477d('0x5053')+_0x477d('0x5054')+_0x477d('0x5055')+_0x477d('0x5056')+_0x477d('0x5057')+_0x477d('0x5058')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x485c')+_0x477d('0x5059')+_0x477d('0x505a')+_0x477d('0x491d')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x505b')+_0x477d('0x3dfa')+_0x477d('0x505c')+_0x477d('0x485c')+_0x477d('0x505d')+_0x477d('0x3a16')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+_0x477d('0x505e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x486e')+_0x477d('0x3823')+_0x477d('0x505f')+_0x477d('0x5060')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.CONTENT\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x5061')+_0x477d('0x3826')+_0x477d('0x4862')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5062')+_0x477d('0x5063')+_0x477d('0x5064')+_0x477d('0x5065')+_0x477d('0x382b')+_0x477d('0x5066')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{subject.content}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{subject.variableName}}\x0a'+_0x477d('0x5067')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5068')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{subject.keyContent}}\x0a'+_0x477d('0x5069')+_0x477d('0x506a')+_0x477d('0x506b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x506c')+_0x477d('0x382b')+_0x477d('0x506d')+_0x477d('0x506e')+_0x477d('0x506f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x5070')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Subject\x0a'+_0x477d('0x3d5e')+_0x477d('0x4bf2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5071')+_0x477d('0x3d5e')+_0x477d('0x4bf2')+_0x477d('0x4bf3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3826')+_0x477d('0x3833')+_0x477d('0x3834')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5072')+'\x0a'+'\x0a'+_0x477d('0x5053')+_0x477d('0x5054')+_0x477d('0x5073')+_0x477d('0x5056')+'\x20\x20\x20\x20\x0a'+_0x477d('0x5074')+_0x477d('0x3dfa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5075')+_0x477d('0x5076')+_0x477d('0x491d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x3660')+_0x477d('0x5077')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5078')+_0x477d('0x485c')+_0x477d('0x5079')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+_0x477d('0x505e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x486e')+_0x477d('0x3823')+_0x477d('0x505f')+_0x477d('0x5060')+_0x477d('0x507a')+_0x477d('0x5061')+_0x477d('0x3826')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3827')+_0x477d('0x507b')+_0x477d('0x507c')+_0x477d('0x507d')+_0x477d('0x507e')+_0x477d('0x507f')+_0x477d('0x382b')+_0x477d('0x5080')+_0x477d('0x5081')+_0x477d('0x5082')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm_cc.variablesById[description.VariableId].name\x20}}\x0a'+_0x477d('0x5083')+_0x477d('0x5084')+_0x477d('0x5085')+_0x477d('0x5086')+_0x477d('0x5087')+_0x477d('0x5088')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5089')+_0x477d('0x382b')+_0x477d('0x506d')+_0x477d('0x506e')+_0x477d('0x506f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a52')+'\x0a'+_0x477d('0x5070')+_0x477d('0x508a')+_0x477d('0x508b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Description\x0a'+_0x477d('0x3d5e')+_0x477d('0x4bf2')+_0x477d('0x508c')+_0x477d('0x508d')+_0x477d('0x508e')+_0x477d('0x3d5e')+_0x477d('0x4bf2')+_0x477d('0x4bf3')+_0x477d('0x4bff')+_0x477d('0x382b')+_0x477d('0x3826')+_0x477d('0x3833')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5072')+_0x477d('0x508f')+'\x0a'+_0x477d('0x5090')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20FIELDS\x0a'+_0x477d('0x5056')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3dfa')+_0x477d('0x485c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x491d')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3dfa')+_0x477d('0x5091')+_0x477d('0x485c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a16')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3660')+_0x477d('0x505e')+_0x477d('0x5092')+_0x477d('0x486e')+_0x477d('0x3823')+_0x477d('0x505f')+_0x477d('0x5060')+_0x477d('0x507a')+_0x477d('0x5061')+_0x477d('0x3826')+_0x477d('0x4862')+_0x477d('0x3827')+_0x477d('0x5093')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{field.id}}\x0a'+_0x477d('0x5094')+_0x477d('0x5095')+_0x477d('0x5096')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5097')+_0x477d('0x5098')+_0x477d('0x5099')+_0x477d('0x5083')+_0x477d('0x509a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x509b')+_0x477d('0x509c')+_0x477d('0x509d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x368a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{field.content}}\x0a'+_0x477d('0x382b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x506e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x509e')+_0x477d('0x3a52')+'\x0a'+_0x477d('0x5070')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x509f')+_0x477d('0x50a0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4bf2')+_0x477d('0x508c')+_0x477d('0x50a1')+_0x477d('0x50a2')+_0x477d('0x3d5e')+_0x477d('0x4bf2')+_0x477d('0x4bf3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3833')+_0x477d('0x3834')+_0x477d('0x3835')+'\x20\x20\x20\x20\x0a'+_0x477d('0x508f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5090')+_0x477d('0x50a3')+_0x477d('0x50a4')+_0x477d('0x50a5')+_0x477d('0x50a6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x50a7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Tags\x0a'+_0x477d('0x50a8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20tag.name\x20}}\x0a'+_0x477d('0x50a9')+_0x477d('0x50aa')+_0x477d('0x50ab')+_0x477d('0x50ac')+_0x477d('0x50ad')+_0x477d('0x50ae')+_0x477d('0x50af')+_0x477d('0x50b0')+_0x477d('0x50b1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x50b2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x50b3')+_0x477d('0x3cfb')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x50b4')+_0x477d('0x377d')+'\x0a'+_0x477d('0x3e27')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e29')+_0x477d('0x3e2a')+'\x0a'+_0x477d('0x3699')+_0x477d('0x3a5a')+'\x0a'+_0x477d('0x377d'));_0x143a79[_0x477d('0x390')](_0x477d('0x1a43'),_0x477d('0x50b5')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39c7')+_0x477d('0x4f9b')+_0x477d('0x50b6')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x4f48')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x3a5d')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f5a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x50b8')+_0x477d('0x503f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x50b9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f5f')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Must\x20contain\x20at\x20least\x208\x20characters,\x20with\x20a\x20minimum\x20of\x201\x20lowercase\x20letter,\x201\x20uppercase\x20letter,\x201\x20numeric\x20character\x20and\x201\x20special\x20character\x20~!?*@#$%^&-_=+[{]}.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3eb4')+_0x477d('0x3e73')+_0x477d('0x4f50')+_0x477d('0x50ba')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x50bb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f53')+_0x477d('0x36bf')+_0x477d('0x3e66')+_0x477d('0x4f54')+_0x477d('0x36bf')+_0x477d('0x39d9')+_0x477d('0x36a1')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TenantId\x0a'+_0x477d('0x50bc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x50bd')+_0x477d('0x39d2')+_0x477d('0x50be')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x50bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ClientId\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ClientSecret\x0a'+_0x477d('0x50c0')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x50c1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x4f60')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5043')+_0x477d('0x36bf')+_0x477d('0x39d9')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x4f65')+_0x477d('0x50c3')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x50c4')+_0x477d('0x39d2')+_0x477d('0x4f68')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x39c3')+_0x477d('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+_0x477d('0x39dc')+_0x477d('0x387b')+_0x477d('0x50c5')+_0x477d('0x39de')+_0x477d('0x50c6')+_0x477d('0x4f6a')+_0x477d('0x39e0')+_0x477d('0x39e1')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a');_0x143a79['put'](_0x477d('0x1ac'),_0x477d('0x50c9')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3abc')+_0x477d('0x37cd')+_0x477d('0x39ec')+_0x477d('0x39ed')+_0x477d('0x4f71')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Dynamics365Accounts\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39f1')+_0x477d('0x39f2')+_0x477d('0x39f3')+_0x477d('0x39f4')+_0x477d('0x39f5')+_0x477d('0x3abf')+_0x477d('0x4f72')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x39f7')+_0x477d('0x36bf')+'\x20\x20\x20\x20
\x0a'+_0x477d('0x39f8')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x50ca')+_0x477d('0x39fa')+'\x0a'+_0x477d('0x50cb')+_0x477d('0x39fc')+_0x477d('0x39fd')+_0x477d('0x50cc')+_0x477d('0x372b')+_0x477d('0x36e5')+'\x0a'+_0x477d('0x39ff')+'\x0a'+_0x477d('0x3a00')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedDynamics365Accounts.length}}\x0a'+_0x477d('0x50cd')+_0x477d('0x3760')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a04')+_0x477d('0x3a05')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22multi\x20select\x20toggle\x22\x0a'+_0x477d('0x4f77')+_0x477d('0x3a08')+_0x477d('0x3674')+_0x477d('0x3a09')+_0x477d('0x3a0a')+_0x477d('0x50ce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Select\x20all\x0a'+_0x477d('0x3832')+_0x477d('0x3a0f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x50cf')+_0x477d('0x3a0e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a0f')+_0x477d('0x3a10')+_0x477d('0x3a11')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3ac4')+_0x477d('0x50d0')+_0x477d('0x3a13')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x50d1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22INTEGRATIONS.DELETE_SELECTED\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x382a')+_0x477d('0x36e5')+_0x477d('0x3699')+_0x477d('0x3a17')+'\x0a'+_0x477d('0x3a18')+_0x477d('0x3a19')+'\x0a'+_0x477d('0x3a1a')+_0x477d('0x3ac6')+'\x0a'+_0x477d('0x3a1b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a1d')+_0x477d('0x3a1e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x50d2')+_0x477d('0x3a21')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x50d3')+_0x477d('0x50d4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.USERNAME\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x4f80')+_0x477d('0x3acb')+_0x477d('0x3a2c')+_0x477d('0x3a2d')+_0x477d('0x3a2e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3acd')+_0x477d('0x3a30')+_0x477d('0x4f83')+_0x477d('0x3a31')+_0x477d('0x3a32')+_0x477d('0x3a2c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x50d5')+_0x477d('0x50d6')+_0x477d('0x50d7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22id\x20\x22\x20>{{dynamics365Account.id}}\x0a'+_0x477d('0x50d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22name\x20\x22\x20>{{dynamics365Account.name}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{dynamics365Account.username}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{dynamics365Account.remoteUri}}\x0a'+_0x477d('0x3ad9')+'\x0a'+_0x477d('0x3a42')+'\x0a'+_0x477d('0x3a43')+'\x0a'+_0x477d('0x3d9e')+_0x477d('0x50d9')+_0x477d('0x3a44')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a45')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a47')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3adc')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x50da')+_0x477d('0x3a52')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3dc6')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x50db')+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x50dc')+'\x0a'+_0x477d('0x50dd')+_0x477d('0x50de')+_0x477d('0x50df')+_0x477d('0x3a52')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3692')+'\x0a'+_0x477d('0x3693')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x0a'+_0x477d('0x3a2c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ae2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x50e0')+_0x477d('0x3ae4')+_0x477d('0x50e1')+_0x477d('0x3a59')+'\x0a'+_0x477d('0x3cb5')+_0x477d('0x36e5')+_0x477d('0x3ae6')+'\x0a'+_0x477d('0x3699')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x50e2')+_0x477d('0x50e3')+_0x477d('0x50e4')+_0x477d('0x3cb8')+_0x477d('0x3735')+_0x477d('0x50e5')+'\x20\x20\x20\x20\x0a');_0x143a79[_0x477d('0x390')](_0x477d('0x1a51'),_0x477d('0x50e6')+_0x477d('0x50e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f9b')+_0x477d('0x50e8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x50e9')+_0x477d('0x39d2')+_0x477d('0x4f48')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x50ea')+_0x477d('0x50eb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3de0')+_0x477d('0x3f5c')+_0x477d('0x4f9f')+_0x477d('0x3a46')+_0x477d('0x4fa0')+_0x477d('0x3aac')+_0x477d('0x50ec')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Channel\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3e73')+_0x477d('0x4f49')+_0x477d('0x50ed')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x39cf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x3f5c')+_0x477d('0x4fa3')+_0x477d('0x3a46')+_0x477d('0x50ee')+_0x477d('0x3fc8')+_0x477d('0x4fa4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4fa5')+_0x477d('0x3aac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x4f4f')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x3e73')+_0x477d('0x50ef')+_0x477d('0x50f0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3de0')+_0x477d('0x3f5c')+_0x477d('0x50f1')+_0x477d('0x3a46')+_0x477d('0x50f2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x50f3')+_0x477d('0x3a46')+_0x477d('0x50f4')+_0x477d('0x3aac')+_0x477d('0x50f5')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TicketType\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x3eb4')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x50f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22dynamics365ConfigurationForm.$invalid\x20||\x20dynamics365ConfigurationForm.$pristine\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22INTEGRATIONS.SAVE\x22\x20translate-attr-aria-label=\x22INTEGRATIONS.SAVE\x22>\x0a'+_0x477d('0x39e0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4fac')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x39e9')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79['put'](_0x477d('0x1a55'),_0x477d('0x50fb')+_0x477d('0x50fc')+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3aea')+_0x477d('0x3aeb')+_0x477d('0x3aec')+_0x477d('0x3aed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3af0')+_0x477d('0x3674')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x50fd')+_0x477d('0x50fe')+_0x477d('0x50ff')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x5100')+_0x477d('0x4fb0')+_0x477d('0x46d4')+_0x477d('0x4fb1')+_0x477d('0x4fb2')+_0x477d('0x4fb3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Key\x20Value\x0a'+_0x477d('0x44db')+_0x477d('0x5101')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22dynamics365AccountItemForm.type.$touched\x22\x20role=\x22alert\x22>\x0a'+_0x477d('0x3c59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x20field\x20is\x0a'+_0x477d('0x4fb7')+_0x477d('0x382a')+_0x477d('0x36a9')+_0x477d('0x3c04')+_0x477d('0x4fb8')+_0x477d('0x4fb9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5102')+_0x477d('0x5103')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4fbb')+_0x477d('0x4fbc')+_0x477d('0x382a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3c04')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4fbe')+_0x477d('0x4fbf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Key\x20field\x20is\x0a'+_0x477d('0x4fc3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x382a')+_0x477d('0x3851')+'\x0a'+_0x477d('0x384e')+_0x477d('0x5105')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5106')+_0x477d('0x4fc5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Custom\x20Variable\x0a'+_0x477d('0x44f0')+_0x477d('0x5107')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22dynamics365AccountItemForm.keyType.$touched\x22\x20role=\x22alert\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x20field\x20is\x0a'+_0x477d('0x4fc3')+_0x477d('0x385c')+_0x477d('0x382a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4fc9')+_0x477d('0x4fca')+_0x477d('0x4fcb')+_0x477d('0x5108')+_0x477d('0x5109')+_0x477d('0x4fc1')+_0x477d('0x4fcd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20field\x20is\x20required\x0a'+_0x477d('0x385c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3851')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4fce')+_0x477d('0x510a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-selected-text=\x22vm.getSelectedVariable()\x22\x20required>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4fd6')+_0x477d('0x4fd7')+_0x477d('0x4fd4')+_0x477d('0x44f0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4fda')+_0x477d('0x4fdb')+_0x477d('0x510c')+_0x477d('0x385c')+_0x477d('0x382a')+_0x477d('0x3851')+'\x0a'+_0x477d('0x4fdc')+_0x477d('0x4fce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x510d')+_0x477d('0x44ef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36bf')+_0x477d('0x4fde')+_0x477d('0x3670')+_0x477d('0x4fdf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4fe1')+_0x477d('0x384e')+_0x477d('0x4fe2')+_0x477d('0x4fe3')+_0x477d('0x510e')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4fe5')+_0x477d('0x4fe6')+_0x477d('0x4fd3')+_0x477d('0x4fd4')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x510f')+_0x477d('0x5110')+_0x477d('0x4fc1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Field\x20is\x0a'+_0x477d('0x4fc3')+_0x477d('0x385c')+_0x477d('0x382a')+_0x477d('0x3851')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4fec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5111')+_0x477d('0x36bf')+_0x477d('0x4fee')+_0x477d('0x3670')+_0x477d('0x4fef')+_0x477d('0x4ff0')+_0x477d('0x3670')+_0x477d('0x36c0')+_0x477d('0x3aea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3aec')+_0x477d('0x3aed')+_0x477d('0x3aee')+_0x477d('0x36bf')+_0x477d('0x3aef')+_0x477d('0x3af0')+_0x477d('0x3674')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x3663')+'\x0a'+_0x477d('0x39dc')+_0x477d('0x387b')+_0x477d('0x5112')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22INTEGRATIONS.SAVE\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x5113')+_0x477d('0x4ff4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3c56')+_0x477d('0x5114')+_0x477d('0x3a16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3669')+_0x477d('0x366a')+_0x477d('0x3840')+'\x0a'+'\x0a'+'\x0a'+_0x477d('0x4ff6')+_0x477d('0x4ff7')+'\x0a'+_0x477d('0x4ff8')+_0x477d('0x4ff9')+'\x0a'+_0x477d('0x5115')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Variable\x0a'+_0x477d('0x4ffa')+_0x477d('0x3888')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x20field\x20is\x20required\x0a'+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4ffe')+'\x0a'+_0x477d('0x4fff')+'\x0a'+_0x477d('0x5000')+'\x0a'+_0x477d('0x5001')+_0x477d('0x5002')+_0x477d('0x5003')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{option.name}}\x0a'+_0x477d('0x3888')+'\x0a'+_0x477d('0x5116')+_0x477d('0x5117')+_0x477d('0x4ffc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Value\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+_0x477d('0x4ffe')+'\x0a'+_0x477d('0x5118')+'\x20\x20\x20\x20\x20\x20\x20\x20Content\x0a'+'\x0a'+_0x477d('0x5119')+'\x0a'+_0x477d('0x511a')+_0x477d('0x511b')+_0x477d('0x4ffc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Content\x20field\x20is\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x511c')+_0x477d('0x500b')+_0x477d('0x500c')+_0x477d('0x511d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x511e')+_0x477d('0x500e')+_0x477d('0x500f')+_0x477d('0x511f')+_0x477d('0x5010')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x500f')+_0x477d('0x3888')+_0x477d('0x5120')+_0x477d('0x5121')+_0x477d('0x4ffc')+_0x477d('0x5122')+_0x477d('0x5013')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x4ffe')+'\x0a'+_0x477d('0x5014')+_0x477d('0x500b')+_0x477d('0x5015')+_0x477d('0x5016')+_0x477d('0x3888')+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x0a'+'\x0a'+_0x477d('0x5018')+'\x20\x20\x20\x20\x0a'+_0x477d('0x4ff8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5019')+_0x477d('0x5123')+_0x477d('0x501a')+_0x477d('0x3b25')+_0x477d('0x5124')+_0x477d('0x4ffc')+_0x477d('0x4ffd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+_0x477d('0x501d')+_0x477d('0x501e')+_0x477d('0x501f')+_0x477d('0x5125')+_0x477d('0x5020')+_0x477d('0x5126')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22dynamics365AccountItemForm.content.$touched\x22\x20role=\x22alert\x22>\x0a'+_0x477d('0x3d1d')+_0x477d('0x5021')+_0x477d('0x3cfb')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x501d')+'\x0a'+_0x477d('0x5022')+'\x20\x20\x20\x20\x20\x20Value\x0a'+_0x477d('0x5024')+_0x477d('0x5025')+_0x477d('0x5026')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{agentColumn}}\x0a'+_0x477d('0x5028')+_0x477d('0x5029')+_0x477d('0x502a')+_0x477d('0x5127')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5029')+_0x477d('0x502b')+_0x477d('0x5128')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22dynamics365AccountItemForm.variableName.$touched\x22\x20role=\x22alert\x22>\x0a'+_0x477d('0x3d1d')+_0x477d('0x502c')+_0x477d('0x502d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x380f')+_0x477d('0x501d')+'\x0a'+_0x477d('0x502e')+_0x477d('0x5023')+_0x477d('0x502f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{variable.name}}\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x0a'+'\x20\x20');_0x143a79[_0x477d('0x390')]('app/main/apps/integrations/views/dynamics365Accounts/edit/view.html',_0x477d('0x5129')+'\x0a'+_0x477d('0x39eb')+_0x477d('0x3b62')+_0x477d('0x3b63')+_0x477d('0x512a')+_0x477d('0x512b')+_0x477d('0x512c')+_0x477d('0x3e04')+_0x477d('0x372b')+'\x0a'+_0x477d('0x387b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x512d')+_0x477d('0x3670')+'\x0a'+_0x477d('0x38e8')+_0x477d('0x3b65')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.dynamics365Account.id}}\x0a'+_0x477d('0x512e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b68')+_0x477d('0x512f')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x38ad')+_0x477d('0x5130')+_0x477d('0x3e11')+_0x477d('0x3d05')+_0x477d('0x36e5')+'\x0a'+_0x477d('0x3699')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a18')+_0x477d('0x3b6b')+'\x0a'+_0x477d('0x3b6c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f7a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ACCOUNT\x0a'+_0x477d('0x3f7b')+_0x477d('0x3e14')+_0x477d('0x5131')+_0x477d('0x3f7d')+_0x477d('0x5132')+_0x477d('0x385c')+_0x477d('0x3e17')+_0x477d('0x3e18')+_0x477d('0x4f9b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x4f48')+_0x477d('0x36bf')+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Username\x0a'+_0x477d('0x5133')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x5134')+_0x477d('0x39d2')+_0x477d('0x4f5d')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x50b8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Password\x0a'+_0x477d('0x5135')+_0x477d('0x5040')+_0x477d('0x5136')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Password\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5041')+_0x477d('0x5042')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x3eb4')+_0x477d('0x3e73')+_0x477d('0x4f50')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d6')+_0x477d('0x503b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f53')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e66')+_0x477d('0x4f54')+_0x477d('0x36bf')+_0x477d('0x39d9')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x5137')+_0x477d('0x50bc')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x50be')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ClientId\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ClientSecret\x0a'+_0x477d('0x50c0')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x50c1')+_0x477d('0x36bf')+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x4f60')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e25')+_0x477d('0x39d2')+_0x477d('0x4f68')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x3ab5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e28')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e12')+_0x477d('0x3f7a')+_0x477d('0x5044')+_0x477d('0x3f7b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x513b')+_0x477d('0x3f7d')+_0x477d('0x5046')+_0x477d('0x377d')+_0x477d('0x513c')+_0x477d('0x5048')+_0x477d('0x513d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.CONFIGURATIONS\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x513e')+_0x477d('0x43b1')+_0x477d('0x372b')+_0x477d('0x36e5')+_0x477d('0x504a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x513f')+_0x477d('0x504d')+_0x477d('0x3d9e')+_0x477d('0x504e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3947')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x504f')+_0x477d('0x5140')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Dynamics365Configuration\x0a'+_0x477d('0x3a52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41b9')+_0x477d('0x42b0')+_0x477d('0x5141')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x5051')+_0x477d('0x5142')+_0x477d('0x5052')+_0x477d('0x5053')+_0x477d('0x5054')+_0x477d('0x5055')+'\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x485c')+_0x477d('0x5059')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x491d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x505b')+_0x477d('0x3dfa')+_0x477d('0x505c')+_0x477d('0x485c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3660')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5143')+_0x477d('0x486e')+_0x477d('0x3823')+_0x477d('0x505f')+_0x477d('0x5060')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.CONTENT\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x5061')+_0x477d('0x3826')+_0x477d('0x4862')+_0x477d('0x3827')+_0x477d('0x5144')+_0x477d('0x5062')+_0x477d('0x5063')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{subject.nameField\x20||\x20subject.idField}}\x0a'+_0x477d('0x5065')+_0x477d('0x382b')+_0x477d('0x5066')+_0x477d('0x5145')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{subject.variableName}}\x0a'+_0x477d('0x5067')+_0x477d('0x5083')+_0x477d('0x5068')+_0x477d('0x5085')+_0x477d('0x5146')+_0x477d('0x5069')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm_cc.variablesById[subject.VariableId].name\x20}}\x0a'+_0x477d('0x506b')+_0x477d('0x368a')+_0x477d('0x506c')+_0x477d('0x382b')+_0x477d('0x506d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x506f')+_0x477d('0x509e')+_0x477d('0x3a52')+'\x0a'+_0x477d('0x5070')+_0x477d('0x508a')+_0x477d('0x5147')+_0x477d('0x5148')+_0x477d('0x3d5e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x508c')+_0x477d('0x5149')+_0x477d('0x5071')+_0x477d('0x3d5e')+_0x477d('0x4bf2')+_0x477d('0x4bf3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x382b')+_0x477d('0x3826')+_0x477d('0x3833')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3835')+_0x477d('0x5072')+_0x477d('0x508f')+'\x0a'+_0x477d('0x5053')+_0x477d('0x5054')+_0x477d('0x5073')+_0x477d('0x5056')+_0x477d('0x5057')+_0x477d('0x5074')+_0x477d('0x3dfa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5075')+_0x477d('0x5076')+_0x477d('0x491d')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5077')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5078')+_0x477d('0x485c')+_0x477d('0x5079')+_0x477d('0x3a16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3660')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x514a')+_0x477d('0x486e')+_0x477d('0x3823')+_0x477d('0x505f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.TYPE\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x507a')+_0x477d('0x5061')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3827')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x507c')+_0x477d('0x507d')+_0x477d('0x507e')+_0x477d('0x507f')+_0x477d('0x382b')+_0x477d('0x5080')+_0x477d('0x5081')+_0x477d('0x5082')+_0x477d('0x514b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5084')+_0x477d('0x5085')+_0x477d('0x5086')+_0x477d('0x5087')+_0x477d('0x5088')+_0x477d('0x506b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5089')+_0x477d('0x382b')+_0x477d('0x506d')+_0x477d('0x506e')+_0x477d('0x506f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a52')+'\x0a'+_0x477d('0x5070')+_0x477d('0x508a')+_0x477d('0x508b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Description\x0a'+_0x477d('0x3d5e')+_0x477d('0x4bf2')+_0x477d('0x508c')+_0x477d('0x508d')+_0x477d('0x508e')+_0x477d('0x3d5e')+_0x477d('0x4bf2')+_0x477d('0x4bf3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x382b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3834')+_0x477d('0x3835')+_0x477d('0x5072')+_0x477d('0x508f')+'\x0a'+_0x477d('0x5090')+_0x477d('0x5054')+_0x477d('0x514c')+_0x477d('0x5056')+_0x477d('0x5057')+_0x477d('0x514d')+_0x477d('0x3dfa')+_0x477d('0x485c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x514e')+_0x477d('0x491d')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+_0x477d('0x514f')+_0x477d('0x3dfa')+_0x477d('0x5091')+_0x477d('0x485c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a16')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+_0x477d('0x505e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x486e')+_0x477d('0x3823')+_0x477d('0x505f')+_0x477d('0x5060')+_0x477d('0x507a')+_0x477d('0x5061')+_0x477d('0x3826')+_0x477d('0x4862')+_0x477d('0x3827')+_0x477d('0x5093')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{field.id}}\x0a'+_0x477d('0x5094')+_0x477d('0x5095')+_0x477d('0x5096')+_0x477d('0x382b')+_0x477d('0x5150')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{field.content}}\x0a'+_0x477d('0x5098')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm_cc.variablesById[field.VariableId].name\x20}}\x0a'+_0x477d('0x5083')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{field.key}}\x0a'+_0x477d('0x5085')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{field.keyContent}}\x0a'+_0x477d('0x509c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm_cc.variablesById[field.VariableId].name\x20}}\x0a'+_0x477d('0x506b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5151')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x506e')+_0x477d('0x506f')+_0x477d('0x509e')+_0x477d('0x3a52')+'\x0a'+_0x477d('0x5070')+_0x477d('0x508a')+_0x477d('0x509f')+_0x477d('0x50a0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x508c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x50a2')+_0x477d('0x3d5e')+_0x477d('0x4bf2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4bff')+_0x477d('0x382b')+_0x477d('0x3826')+_0x477d('0x3833')+_0x477d('0x3834')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5072')+'\x0a'+'\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5152')+_0x477d('0x50b0')+_0x477d('0x50b1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x50b2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x50b3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x380f')+'\x20\x20\x0a'+'\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e28')+_0x477d('0x3e29')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3699')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x377d'));_0x143a79[_0x477d('0x390')](_0x477d('0x5153'),_0x477d('0x5154')+_0x477d('0x5155')+_0x477d('0x381e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x477d('0x3843')+_0x477d('0x3844')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39c7')+_0x477d('0x4f9b')+_0x477d('0x5156')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x4f48')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x4f5a')+_0x477d('0x5157')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x5158')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Username\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x4f50')+_0x477d('0x5159')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x515a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f53')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f54')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x515b')+_0x477d('0x515c')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ApiKey\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x4f60')+_0x477d('0x515d')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x515e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f64')+_0x477d('0x36bf')+_0x477d('0x3e66')+_0x477d('0x5043')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ab5')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+_0x477d('0x39dc')+_0x477d('0x387b')+_0x477d('0x5160')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x477d('0x5161')+_0x477d('0x4f6a')+_0x477d('0x39e0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x5162')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22freshdeskAccountForm.$invalid\x22\x0a'+_0x477d('0x5163')+_0x477d('0x5164')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5165')+_0x477d('0x4f6f')+_0x477d('0x3a16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a'+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39e9')+_0x477d('0x366a')+'\x0a');_0x143a79[_0x477d('0x390')](_0x477d('0x1a86'),_0x477d('0x5166')+_0x477d('0x5167')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x365d')+_0x477d('0x39c1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3844')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x4f9b')+_0x477d('0x5168')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5169')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x39d9')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x50ea')+_0x477d('0x516a')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3a5e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cf')+_0x477d('0x3de0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f9f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4fa0')+_0x477d('0x3aac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x516b')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3e73')+_0x477d('0x4f49')+_0x477d('0x516c')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3de0')+_0x477d('0x3f5c')+_0x477d('0x4fa3')+_0x477d('0x3a46')+_0x477d('0x50ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4fa4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4fa5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+_0x477d('0x39dc')+_0x477d('0x387b')+_0x477d('0x516d')+_0x477d('0x39de')+_0x477d('0x516e')+_0x477d('0x4f6a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x516f')+_0x477d('0x3c8b')+_0x477d('0x5170')+_0x477d('0x5171')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20FRESHDESKCONFIGURATION\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39e5')+_0x477d('0x5172')+_0x477d('0x4f6f')+_0x477d('0x3a16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x39e9')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')]('app/main/apps/integrations/views/freshdeskAccounts/edit/item/dialog.html',_0x477d('0x5173')+'\x20\x20\x20\x20\x0a'+_0x477d('0x381e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3aea')+_0x477d('0x3aeb')+_0x477d('0x3aec')+_0x477d('0x3aed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x36bf')+_0x477d('0x3aef')+_0x477d('0x3af0')+_0x477d('0x3674')+_0x477d('0x3670')+_0x477d('0x36c0')+'\x0a'+_0x477d('0x4fae')+_0x477d('0x50fd')+_0x477d('0x50fe')+_0x477d('0x50ff')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4fb0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4fb1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4fb3')+_0x477d('0x4fb4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5174')+_0x477d('0x5175')+_0x477d('0x3c59')+_0x477d('0x4fb6')+_0x477d('0x4fb7')+_0x477d('0x382a')+_0x477d('0x36a9')+_0x477d('0x3c04')+_0x477d('0x4fb8')+_0x477d('0x4fb9')+_0x477d('0x5176')+_0x477d('0x5177')+_0x477d('0x5178')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4fbb')+_0x477d('0x4fbc')+_0x477d('0x382a')+_0x477d('0x36a9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x384e')+_0x477d('0x4fbe')+_0x477d('0x4fbf')+_0x477d('0x5179')+_0x477d('0x517a')+_0x477d('0x4fc1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Key\x20field\x20is\x0a'+_0x477d('0x4fc3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x382a')+_0x477d('0x3851')+'\x0a'+_0x477d('0x384e')+_0x477d('0x5105')+_0x477d('0x4fc4')+_0x477d('0x5106')+_0x477d('0x4fc5')+_0x477d('0x4fc6')+_0x477d('0x44f0')+_0x477d('0x517b')+_0x477d('0x517c')+_0x477d('0x4fc1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x20field\x20is\x0a'+_0x477d('0x4fc3')+_0x477d('0x385c')+_0x477d('0x382a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4fc9')+_0x477d('0x4fca')+_0x477d('0x4fcb')+_0x477d('0x517d')+_0x477d('0x517e')+_0x477d('0x4fc1')+_0x477d('0x4fcd')+_0x477d('0x517f')+_0x477d('0x385c')+_0x477d('0x382a')+_0x477d('0x3851')+'\x0a'+_0x477d('0x5180')+_0x477d('0x4fce')+_0x477d('0x510a')+_0x477d('0x4fcf')+_0x477d('0x4fd0')+_0x477d('0x4fd1')+_0x477d('0x4fd2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4fd4')+_0x477d('0x4fd5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{dialColumn}}\x0a'+_0x477d('0x4fd4')+_0x477d('0x44f0')+_0x477d('0x5181')+_0x477d('0x5182')+_0x477d('0x4fc1')+_0x477d('0x4fda')+_0x477d('0x4fdb')+_0x477d('0x510c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x382a')+_0x477d('0x3851')+'\x0a'+_0x477d('0x4fdc')+_0x477d('0x4fce')+_0x477d('0x4fdd')+_0x477d('0x510d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3851')+_0x477d('0x36bf')+_0x477d('0x4fde')+_0x477d('0x3670')+_0x477d('0x4fdf')+_0x477d('0x4fe0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20FIELD\x0a'+_0x477d('0x4fe3')+_0x477d('0x510e')+'\x0a'+_0x477d('0x4fe4')+_0x477d('0x4fe5')+_0x477d('0x4fe6')+_0x477d('0x4fd3')+_0x477d('0x4fd4')+'\x0a'+_0x477d('0x4fe7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x385c')+_0x477d('0x382a')+_0x477d('0x3851')+'\x0a'+_0x477d('0x5185')+_0x477d('0x4fec')+_0x477d('0x5185')+'\x0a'+_0x477d('0x36bf')+_0x477d('0x4fed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

Account\x20is\x20not\x20connected.\x20Please\x20check\x20your\x20configurations!

\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4ff0')+_0x477d('0x3670')+_0x477d('0x36c0')+_0x477d('0x3aea')+_0x477d('0x3aeb')+_0x477d('0x3aec')+_0x477d('0x3aed')+_0x477d('0x3aee')+_0x477d('0x36bf')+_0x477d('0x3aef')+_0x477d('0x3af0')+_0x477d('0x3674')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387b')+_0x477d('0x5186')+_0x477d('0x4ff2')+_0x477d('0x387d')+_0x477d('0x387e')+'\x0a'+_0x477d('0x5187')+_0x477d('0x4ff4')+_0x477d('0x4ff5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5114')+_0x477d('0x3a16')+_0x477d('0x4fac')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3669')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3840')+'\x0a'+_0x477d('0x5188')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x4ff7')+'\x0a'+_0x477d('0x4ff8')+_0x477d('0x4ff9')+'\x0a'+_0x477d('0x5115')+_0x477d('0x5189')+_0x477d('0x4ffa')+_0x477d('0x3888')+_0x477d('0x518a')+_0x477d('0x4ffb')+_0x477d('0x4ffc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x20field\x20is\x20required\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x4ffe')+'\x0a'+_0x477d('0x4fff')+'\x0a'+_0x477d('0x5000')+'\x0a'+_0x477d('0x5001')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20Content\x0a'+'\x0a'+_0x477d('0x5004')+_0x477d('0x5005')+_0x477d('0x3888')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4ffc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Value\x20field\x20is\x20required\x0a'+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4ffe')+'\x0a'+_0x477d('0x5118')+_0x477d('0x5003')+'\x0a'+_0x477d('0x5119')+'\x0a'+_0x477d('0x518b')+_0x477d('0x518c')+_0x477d('0x4ffc')+_0x477d('0x500a')+_0x477d('0x5013')+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x511c')+_0x477d('0x500b')+_0x477d('0x500c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x511e')+_0x477d('0x500e')+_0x477d('0x500f')+_0x477d('0x511f')+_0x477d('0x5010')+_0x477d('0x500e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3888')+_0x477d('0x518d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22freshdeskAccountItemForm.variableName.$touched\x22\x20role=\x22alert\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5122')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x4ffe')+'\x0a'+_0x477d('0x5014')+_0x477d('0x500b')+_0x477d('0x5015')+_0x477d('0x5016')+_0x477d('0x3888')+_0x477d('0x4ffe')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3792')+'\x0a'+_0x477d('0x5018')+_0x477d('0x518e')+_0x477d('0x4ff8')+_0x477d('0x518f')+_0x477d('0x5019')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Variable\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Custom\x20Variable\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5190')+_0x477d('0x4ffc')+_0x477d('0x4ffd')+_0x477d('0x501c')+_0x477d('0x36e5')+_0x477d('0x501d')+_0x477d('0x501e')+_0x477d('0x501f')+_0x477d('0x5125')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5191')+_0x477d('0x5192')+_0x477d('0x3d1d')+_0x477d('0x5021')+_0x477d('0x3cfb')+_0x477d('0x380f')+_0x477d('0x501d')+'\x0a'+_0x477d('0x5022')+_0x477d('0x5023')+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{dialColumn}}\x0a'+_0x477d('0x5028')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e04')+_0x477d('0x372b')+'\x0a'+_0x477d('0x387b')+'\x0a'+_0x477d('0x5197')+_0x477d('0x5198')+_0x477d('0x3670')+'\x0a'+_0x477d('0x38e8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5199')+_0x477d('0x519a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x519b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e11')+_0x477d('0x3d05')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x39f8')+'\x0a'+_0x477d('0x3a18')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3b6c')+_0x477d('0x3e12')+_0x477d('0x3f7a')+_0x477d('0x5038')+_0x477d('0x3f7b')+_0x477d('0x3e14')+_0x477d('0x519c')+_0x477d('0x3f7d')+_0x477d('0x5132')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e17')+_0x477d('0x3e18')+_0x477d('0x4f9b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d6')+_0x477d('0x5134')+_0x477d('0x39d2')+_0x477d('0x4f5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Uri\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Uri\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3e66')+_0x477d('0x4f54')+_0x477d('0x36bf')+_0x477d('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x515b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ApiKey\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x4f60')+_0x477d('0x515d')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x513a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f64')+_0x477d('0x36bf')+_0x477d('0x3e66')+_0x477d('0x5043')+_0x477d('0x36bf')+_0x477d('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x4f65')+_0x477d('0x519e')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x3e25')+_0x477d('0x39d2')+_0x477d('0x4f68')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x3e26')+_0x477d('0x3e27')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x3e29')+_0x477d('0x3e12')+_0x477d('0x3f7a')+_0x477d('0x5044')+_0x477d('0x3f7b')+_0x477d('0x3e14')+_0x477d('0x519f')+_0x477d('0x3f7d')+_0x477d('0x5046')+_0x477d('0x377d')+'\x0a'+_0x477d('0x5048')+_0x477d('0x513d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.CONFIGURATIONS\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x372b')+_0x477d('0x36e5')+_0x477d('0x504a')+_0x477d('0x51a0')+_0x477d('0x51a1')+_0x477d('0x504d')+_0x477d('0x3d9e')+_0x477d('0x504e')+_0x477d('0x42cb')+_0x477d('0x3947')+_0x477d('0x3a45')+_0x477d('0x504f')+_0x477d('0x51a2')+_0x477d('0x51a3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41b9')+_0x477d('0x42b0')+_0x477d('0x5141')+_0x477d('0x3698')+_0x477d('0x486c')+'\x20\x20\x20\x20\x0a'+_0x477d('0x5142')+_0x477d('0x5052')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5054')+_0x477d('0x5055')+'\x20\x20\x20\x20\x0a'+_0x477d('0x5057')+_0x477d('0x5058')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x505a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+_0x477d('0x505b')+_0x477d('0x3dfa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm_cc.selectedSubjects.length}}\x20{{vm_cc.selectedSubjects.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected\x0a'+_0x477d('0x485c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a16')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+_0x477d('0x505e')+_0x477d('0x5143')+_0x477d('0x486e')+_0x477d('0x3823')+_0x477d('0x505f')+_0x477d('0x5060')+_0x477d('0x507a')+_0x477d('0x5061')+_0x477d('0x3826')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3827')+_0x477d('0x5144')+_0x477d('0x5062')+_0x477d('0x5063')+_0x477d('0x5064')+_0x477d('0x5065')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5066')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{subject.content}}\x0a'+_0x477d('0x51a4')+_0x477d('0x5067')+_0x477d('0x5083')+_0x477d('0x5068')+_0x477d('0x5085')+_0x477d('0x5146')+_0x477d('0x5069')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm_cc.variablesById[subject.VariableId].name\x20}}\x0a'+_0x477d('0x506b')+_0x477d('0x368a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{subject.content}}\x0a'+_0x477d('0x382b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a52')+'\x0a'+_0x477d('0x5070')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5147')+_0x477d('0x5148')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5149')+_0x477d('0x5071')+_0x477d('0x3d5e')+_0x477d('0x4bf2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4bff')+_0x477d('0x382b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3833')+_0x477d('0x3834')+_0x477d('0x3835')+_0x477d('0x5072')+_0x477d('0x508f')+'\x0a'+_0x477d('0x5053')+_0x477d('0x5054')+'\x20\x20\x20\x20\x20\x20\x20\x20DESCRIPTIONS\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x5057')+_0x477d('0x5074')+_0x477d('0x3dfa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5077')+_0x477d('0x3dfa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm_cc.selectedDescriptions.length}}\x20{{vm_cc.selectedDescriptions.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected\x0a'+_0x477d('0x485c')+_0x477d('0x5079')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x514a')+_0x477d('0x486e')+_0x477d('0x3823')+_0x477d('0x505f')+_0x477d('0x5060')+_0x477d('0x507a')+_0x477d('0x5061')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4862')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x507b')+_0x477d('0x507c')+_0x477d('0x507d')+_0x477d('0x507e')+_0x477d('0x507f')+_0x477d('0x382b')+_0x477d('0x5080')+_0x477d('0x5081')+_0x477d('0x5082')+_0x477d('0x514b')+_0x477d('0x5083')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{description.key}}\x0a'+_0x477d('0x5085')+_0x477d('0x5086')+_0x477d('0x5087')+_0x477d('0x5088')+_0x477d('0x506b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5089')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x506e')+_0x477d('0x506f')+_0x477d('0x509e')+_0x477d('0x3a52')+'\x0a'+_0x477d('0x5070')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x508b')+_0x477d('0x51a5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x508c')+_0x477d('0x508d')+_0x477d('0x508e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4bff')+_0x477d('0x382b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3834')+_0x477d('0x3835')+_0x477d('0x5072')+'\x0a'+'\x0a'+_0x477d('0x5090')+'\x20\x20\x20\x20\x0a'+_0x477d('0x514c')+'\x20\x20\x20\x20\x0a'+_0x477d('0x5057')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x485c')+_0x477d('0x51a6')+_0x477d('0x514e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x514f')+_0x477d('0x3dfa')+_0x477d('0x5091')+_0x477d('0x485c')+_0x477d('0x51a7')+_0x477d('0x3a16')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+_0x477d('0x505e')+_0x477d('0x5092')+_0x477d('0x486e')+_0x477d('0x3823')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.ID\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x5060')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.CONTENT\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x5061')+_0x477d('0x3826')+_0x477d('0x4862')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5093')+_0x477d('0x51a8')+_0x477d('0x5094')+_0x477d('0x5095')+_0x477d('0x5096')+_0x477d('0x382b')+_0x477d('0x5150')+_0x477d('0x5097')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{field.variableName}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm_cc.variablesById[field.VariableId].name\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x509a')+_0x477d('0x5085')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{field.keyContent}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{field.variableName}}\x0a'+_0x477d('0x509d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x368a')+_0x477d('0x5151')+_0x477d('0x382b')+_0x477d('0x506d')+_0x477d('0x506e')+_0x477d('0x506f')+_0x477d('0x509e')+_0x477d('0x3a52')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x50a0')+_0x477d('0x3d5e')+_0x477d('0x4bf2')+_0x477d('0x508c')+_0x477d('0x50a1')+_0x477d('0x50a2')+_0x477d('0x3d5e')+_0x477d('0x4bf2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4bff')+_0x477d('0x382b')+_0x477d('0x3826')+_0x477d('0x3833')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3835')+'\x20\x20\x20\x20\x0a'+_0x477d('0x508f')+'\x0a'+_0x477d('0x39ca')+_0x477d('0x5090')+_0x477d('0x50a3')+_0x477d('0x50a4')+_0x477d('0x50a5')+_0x477d('0x50a6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x51a9')+_0x477d('0x50a8')+_0x477d('0x51aa')+_0x477d('0x50a9')+_0x477d('0x50aa')+_0x477d('0x50ab')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x50ad')+_0x477d('0x50ae')+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x51ab')+_0x477d('0x50b2')+_0x477d('0x39e1')+_0x477d('0x50b3')+_0x477d('0x3cfb')+_0x477d('0x380f')+_0x477d('0x50b4')+_0x477d('0x377d')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e29')+_0x477d('0x3e2a')+'\x0a'+_0x477d('0x3699')+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x0a');_0x143a79[_0x477d('0x390')](_0x477d('0x186'),'\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3abc')+_0x477d('0x37cd')+_0x477d('0x39ec')+_0x477d('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3760')+_0x477d('0x51ac')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39f1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39f4')+_0x477d('0x39f5')+_0x477d('0x3abf')+_0x477d('0x4f72')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36bf')+_0x477d('0x3699')+_0x477d('0x39f8')+'\x0a'+_0x477d('0x39f9')+_0x477d('0x51ad')+_0x477d('0x39fa')+'\x0a'+_0x477d('0x51ae')+_0x477d('0x39fc')+_0x477d('0x39fd')+_0x477d('0x50cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+'\x0a'+_0x477d('0x39ff')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x51af')+_0x477d('0x51b0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20selected\x0a'+_0x477d('0x3760')+'\x0a'+_0x477d('0x3daf')+_0x477d('0x3a04')+_0x477d('0x3a05')+_0x477d('0x3a06')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22INTEGRATIONS.MULTI_SELECT_TOGGLE\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3674')+_0x477d('0x3a09')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a0c')+_0x477d('0x3832')+_0x477d('0x3a0f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x51b1')+_0x477d('0x3a0e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a0f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x0a'+_0x477d('0x3ac4')+_0x477d('0x51b2')+_0x477d('0x3a13')+_0x477d('0x3a14')+_0x477d('0x51b3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22INTEGRATIONS.DELETE_SELECTED\x22>\x0a'+_0x477d('0x3a16')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+_0x477d('0x3699')+_0x477d('0x3a17')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3a19')+'\x0a'+_0x477d('0x3a1a')+_0x477d('0x3ac6')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x51b4')+_0x477d('0x3a1d')+_0x477d('0x3a1e')+_0x477d('0x51b5')+_0x477d('0x51b6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a22')+_0x477d('0x50d3')+_0x477d('0x50d4')+_0x477d('0x4f81')+_0x477d('0x4f80')+_0x477d('0x3acb')+_0x477d('0x3a2c')+_0x477d('0x3a2d')+_0x477d('0x3a2e')+_0x477d('0x51b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a30')+_0x477d('0x4f83')+_0x477d('0x3a31')+_0x477d('0x3a32')+_0x477d('0x3a2c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x51b8')+_0x477d('0x51b9')+_0x477d('0x51ba')+_0x477d('0x51bb')+_0x477d('0x51bc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22name\x20\x22\x20>{{freshdeskAccount.name}}\x0a'+_0x477d('0x51bc')+_0x477d('0x51bd')+_0x477d('0x51bc')+_0x477d('0x51be')+_0x477d('0x3ad9')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a43')+'\x0a'+_0x477d('0x3d9e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22INTEGRATIONS.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a'+_0x477d('0x3a44')+_0x477d('0x3947')+'\x0a'+_0x477d('0x3a45')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3adc')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3dc6')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3caf')+'\x0a'+_0x477d('0x51c2')+_0x477d('0x51c3')+_0x477d('0x51c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3693')+_0x477d('0x3939')+'\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a56')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x51c5')+_0x477d('0x3ae4')+_0x477d('0x51c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3cb5')+_0x477d('0x36e5')+_0x477d('0x3ae6')+'\x0a'+_0x477d('0x3699')+_0x477d('0x3a5a')+'\x0a'+_0x477d('0x51c7')+_0x477d('0x51c8')+_0x477d('0x51c9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3735')+_0x477d('0x51ca')+'\x20\x20\x20\x20\x0a');_0x143a79[_0x477d('0x390')](_0x477d('0x1ae4'),_0x477d('0x51cb')+_0x477d('0x51cc')+_0x477d('0x381e')+_0x477d('0x365d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x4f5a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x4f5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x4f50')+_0x477d('0x51ce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x51cf')+_0x477d('0x39d2')+_0x477d('0x4f53')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e66')+_0x477d('0x4f54')+_0x477d('0x36bf')+_0x477d('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x515b')+_0x477d('0x51d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x51d1')+_0x477d('0x39d2')+_0x477d('0x51d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f60')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d6')+_0x477d('0x4f62')+_0x477d('0x51d3')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MotionProxyAddress\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e66')+_0x477d('0x5043')+_0x477d('0x36bf')+_0x477d('0x39d9')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x4f65')+_0x477d('0x51d4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x51d5')+_0x477d('0x39d2')+_0x477d('0x4f68')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39e0')+_0x477d('0x39e1')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20FRESHSALESACCOUNT\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x39e5')+_0x477d('0x51d6')+_0x477d('0x4f6f')+_0x477d('0x3a16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x39e9')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x51d7'),_0x477d('0x51d8')+_0x477d('0x51d9')+_0x477d('0x381e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c1')+_0x477d('0x3843')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39c7')+_0x477d('0x4f9b')+_0x477d('0x51da')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f48')+_0x477d('0x36bf')+_0x477d('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x50ea')+_0x477d('0x51db')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x39cf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x3f5c')+_0x477d('0x4f9f')+_0x477d('0x3a46')+_0x477d('0x4fa0')+_0x477d('0x3aac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Channel\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x3e73')+_0x477d('0x4f49')+_0x477d('0x51dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x3de0')+_0x477d('0x3f5c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.INBOUND_IN_QUEUE\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3fc8')+_0x477d('0x4fa4')+_0x477d('0x3a46')+_0x477d('0x4fa5')+_0x477d('0x3aac')+_0x477d('0x51dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f4f')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39dc')+_0x477d('0x387b')+_0x477d('0x51de')+_0x477d('0x39de')+_0x477d('0x51df')+_0x477d('0x4f6a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x51e0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x477d('0x51e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22INTEGRATIONS.ADD_FRESHSALESCONFIGURATION\x22\x20translate-attr-aria-label=\x22INTEGRATIONS.ADD_FRESHSALESCONFIGURATION\x22>\x0a'+_0x477d('0x51e2')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x39e5')+_0x477d('0x51e3')+_0x477d('0x4f6f')+_0x477d('0x3a16')+_0x477d('0x4fac')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x39e9')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3840'));_0x143a79['put'](_0x477d('0x1acb'),_0x477d('0x51e4')+'\x20\x20\x20\x20\x0a'+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39c2')+_0x477d('0x3aea')+_0x477d('0x3aeb')+_0x477d('0x3aec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x36bf')+_0x477d('0x3aef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3674')+_0x477d('0x3670')+_0x477d('0x36c0')+'\x0a'+_0x477d('0x4fae')+_0x477d('0x50fd')+_0x477d('0x50fe')+_0x477d('0x50ff')+_0x477d('0x4faf')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4fb0')+_0x477d('0x46d4')+_0x477d('0x4fb1')+_0x477d('0x4fb2')+_0x477d('0x4fb3')+_0x477d('0x4fb4')+_0x477d('0x44db')+_0x477d('0x51e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22freshsalesAccountItemForm.type.$touched\x22\x20role=\x22alert\x22>\x0a'+_0x477d('0x3c59')+_0x477d('0x4fb6')+_0x477d('0x4fb7')+_0x477d('0x382a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3c04')+_0x477d('0x4fb8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Content\x0a'+_0x477d('0x5176')+_0x477d('0x51e6')+_0x477d('0x51e7')+_0x477d('0x3c59')+_0x477d('0x4fbb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20is\x20required\x0a'+_0x477d('0x382a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4fbd')+_0x477d('0x384e')+_0x477d('0x4fbe')+_0x477d('0x4fbf')+_0x477d('0x51e8')+_0x477d('0x51e9')+_0x477d('0x4fc1')+_0x477d('0x4fc2')+_0x477d('0x4fc3')+_0x477d('0x385c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x384e')+_0x477d('0x5105')+_0x477d('0x4fc4')+_0x477d('0x5106')+_0x477d('0x4fc5')+_0x477d('0x4fc6')+_0x477d('0x44f0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x20field\x20is\x0a'+_0x477d('0x4fc3')+_0x477d('0x385c')+_0x477d('0x382a')+_0x477d('0x3851')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4fca')+_0x477d('0x4fcb')+_0x477d('0x51eb')+_0x477d('0x51ec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4fcd')+_0x477d('0x517f')+_0x477d('0x385c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x5180')+_0x477d('0x4fce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4fd0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4fd5')+_0x477d('0x4fd6')+_0x477d('0x4fd7')+_0x477d('0x4fd4')+_0x477d('0x44f0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4fce')+_0x477d('0x4fdd')+_0x477d('0x510d')+_0x477d('0x44ef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3851')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4fde')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4fdf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4fe1')+_0x477d('0x384e')+_0x477d('0x4fe2')+_0x477d('0x4fe3')+_0x477d('0x510e')+'\x0a'+_0x477d('0x4fe4')+_0x477d('0x4fe5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-repeat=\x22standard\x20in\x20vm.fields\x20|\x20filter:\x20{custom:\x20false}\x20\x22>{{standard.name}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4fd4')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4feb')+_0x477d('0x4fc3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x382a')+_0x477d('0x3851')+'\x0a'+_0x477d('0x5185')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x36bf')+_0x477d('0x4fed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

Account\x20is\x20not\x20connected.\x20Please\x20check\x20your\x20configurations!

\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x4fef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

No\x20Item

\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x3aea')+_0x477d('0x3aeb')+_0x477d('0x3aec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x3aee')+_0x477d('0x36bf')+_0x477d('0x3aef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36c0')+_0x477d('0x3663')+'\x0a'+_0x477d('0x39dc')+_0x477d('0x387b')+_0x477d('0x51ef')+_0x477d('0x4ff2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x477d('0x387e')+'\x0a'+_0x477d('0x51f0')+_0x477d('0x4ff4')+_0x477d('0x4ff5')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3c56')+_0x477d('0x5114')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4fac')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3669')+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x0a'+_0x477d('0x5188')+'\x0a'+_0x477d('0x4ff6')+_0x477d('0x4ff7')+'\x0a'+_0x477d('0x4ff8')+_0x477d('0x4ff9')+'\x0a'+_0x477d('0x5115')+_0x477d('0x5189')+_0x477d('0x4ffa')+_0x477d('0x3888')+_0x477d('0x51f1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20role=\x22alert\x22>\x0a'+_0x477d('0x4ffc')+_0x477d('0x4ffd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+_0x477d('0x4ffe')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x5000')+'\x0a'+_0x477d('0x5001')+_0x477d('0x5002')+_0x477d('0x5003')+'\x0a'+_0x477d('0x5004')+_0x477d('0x5005')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x51f2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22freshsalesAccountItemForm.option.$touched\x22\x20role=\x22alert\x22>\x0a'+_0x477d('0x4ffc')+_0x477d('0x51f3')+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x5003')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x51f4')+_0x477d('0x51f5')+_0x477d('0x4ffc')+_0x477d('0x500a')+_0x477d('0x5013')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x4ffe')+'\x0a'+_0x477d('0x511c')+_0x477d('0x500b')+_0x477d('0x500c')+_0x477d('0x511d')+_0x477d('0x500d')+_0x477d('0x511e')+_0x477d('0x500e')+_0x477d('0x500f')+_0x477d('0x511f')+_0x477d('0x5010')+_0x477d('0x500e')+_0x477d('0x500f')+_0x477d('0x3888')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x5014')+'\x20\x20\x20\x20\x20\x20\x20\x20Value\x0a'+_0x477d('0x5015')+_0x477d('0x5016')+_0x477d('0x3888')+_0x477d('0x4ffe')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3792')+'\x0a'+_0x477d('0x5018')+'\x20\x20\x20\x20\x0a'+_0x477d('0x4ff8')+_0x477d('0x518f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20String\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Variable\x0a'+_0x477d('0x501a')+_0x477d('0x3b25')+_0x477d('0x51f7')+_0x477d('0x4ffc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x20field\x20is\x20required\x0a'+_0x477d('0x501c')+_0x477d('0x36e5')+_0x477d('0x501d')+_0x477d('0x501e')+'\x20\x20\x0a'+_0x477d('0x5125')+_0x477d('0x5020')+_0x477d('0x51f8')+_0x477d('0x51f9')+_0x477d('0x3d1d')+_0x477d('0x5021')+_0x477d('0x3cfb')+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x0a'+'\x0a'+'\x20\x20\x0a'+_0x477d('0x5023')+'\x20\x20\x20\x20\x20\x20{{agentColumn}}\x0a'+_0x477d('0x5028')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x502a')+_0x477d('0x5127')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5029')+_0x477d('0x502b')+_0x477d('0x51fa')+_0x477d('0x51fb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Variable\x20name\x20field\x20is\x0a'+_0x477d('0x502d')+_0x477d('0x3cfb')+_0x477d('0x380f')+_0x477d('0x501d')+'\x0a'+_0x477d('0x502e')+_0x477d('0x5023')+_0x477d('0x502f')+_0x477d('0x5030')+_0x477d('0x502b')+_0x477d('0x501d')+_0x477d('0x5031'));_0x143a79[_0x477d('0x390')](_0x477d('0x1c3'),'\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3b62')+_0x477d('0x3b63')+_0x477d('0x51fc')+_0x477d('0x51fd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22INTEGRATIONS.GO_TO_FRESHSALESACCOUNTS\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x372b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x51fe')+_0x477d('0x51ff')+_0x477d('0x3670')+'\x0a'+_0x477d('0x38e8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5200')+_0x477d('0x5201')+_0x477d('0x36bf')+_0x477d('0x3b68')+_0x477d('0x5202')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+'\x0a'+_0x477d('0x3699')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a18')+_0x477d('0x3b6b')+'\x0a'+_0x477d('0x3b6c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f7a')+_0x477d('0x5038')+_0x477d('0x3f7b')+_0x477d('0x3e14')+_0x477d('0x5203')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5132')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e17')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x0a'+_0x477d('0x5204')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1a')+_0x477d('0x39d2')+_0x477d('0x4f48')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x4f5a')+_0x477d('0x5205')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5134')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Username\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Uri\x0a'+_0x477d('0x51ce')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x503b')+_0x477d('0x39d2')+_0x477d('0x4f53')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e66')+_0x477d('0x4f54')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d9')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x515b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x519d')+_0x477d('0x39d2')+_0x477d('0x51d2')+_0x477d('0x36bf')+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f60')+_0x477d('0x5206')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f62')+_0x477d('0x513a')+_0x477d('0x39d2')+_0x477d('0x4f64')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e66')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MotionProxyAddress\x20must\x20be\x20a\x20valid\x20url\x20http://www.xcally.com\x0a'+_0x477d('0x36bf')+_0x477d('0x39d9')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x4f65')+_0x477d('0x51d4')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x3e25')+_0x477d('0x39d2')+_0x477d('0x4f68')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x3e26')+_0x477d('0x3e27')+_0x477d('0x3e28')+_0x477d('0x3e29')+_0x477d('0x3e12')+_0x477d('0x3f7a')+_0x477d('0x5044')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e14')+_0x477d('0x5207')+_0x477d('0x3f7d')+'\x20\x20\x20\x20CONFIGURATIONS\x0a'+_0x477d('0x377d')+'\x0a'+'\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.CONFIGURATIONS\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x5208')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x372b')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5209')+_0x477d('0x520a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3d9e')+_0x477d('0x504e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x504f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20FreshsalesConfiguration\x0a'+_0x477d('0x3a52')+_0x477d('0x3a4b')+_0x477d('0x41b9')+_0x477d('0x42b0')+_0x477d('0x5141')+_0x477d('0x3698')+_0x477d('0x486c')+_0x477d('0x5051')+_0x477d('0x5142')+_0x477d('0x5052')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5054')+_0x477d('0x5055')+_0x477d('0x5056')+'\x20\x20\x20\x20\x0a'+_0x477d('0x5058')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x485c')+_0x477d('0x5059')+_0x477d('0x505a')+_0x477d('0x491d')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3660')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x505c')+_0x477d('0x485c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x3660')+_0x477d('0x505e')+_0x477d('0x5143')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3823')+_0x477d('0x505f')+_0x477d('0x5060')+_0x477d('0x507a')+_0x477d('0x5061')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4862')+_0x477d('0x3827')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{subject.id}}\x0a'+_0x477d('0x5063')+_0x477d('0x5064')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{subject.type}}\x0a'+_0x477d('0x382b')+_0x477d('0x5066')+_0x477d('0x5145')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{subject.variableName}}\x0a'+_0x477d('0x5067')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5068')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5146')+_0x477d('0x5069')+_0x477d('0x506a')+_0x477d('0x506b')+_0x477d('0x368a')+_0x477d('0x506c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x506e')+_0x477d('0x506f')+_0x477d('0x509e')+_0x477d('0x3a52')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5148')+_0x477d('0x3d5e')+_0x477d('0x4bf2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5149')+_0x477d('0x5071')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4bf3')+_0x477d('0x4bff')+_0x477d('0x382b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3833')+_0x477d('0x3834')+_0x477d('0x3835')+_0x477d('0x5072')+_0x477d('0x508f')+'\x0a'+_0x477d('0x5053')+_0x477d('0x5054')+_0x477d('0x5073')+_0x477d('0x5056')+_0x477d('0x5057')+_0x477d('0x5074')+_0x477d('0x3dfa')+_0x477d('0x485c')+_0x477d('0x5075')+_0x477d('0x5076')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3dfa')+_0x477d('0x5078')+_0x477d('0x485c')+_0x477d('0x5079')+_0x477d('0x3a16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x3660')+_0x477d('0x505e')+_0x477d('0x514a')+_0x477d('0x486e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x505f')+_0x477d('0x5060')+_0x477d('0x507a')+_0x477d('0x5061')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4862')+_0x477d('0x3827')+_0x477d('0x507b')+_0x477d('0x507c')+_0x477d('0x507d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{description.nameField\x20||\x20description.idField}}\x0a'+_0x477d('0x507f')+_0x477d('0x382b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5081')+_0x477d('0x5082')+_0x477d('0x514b')+_0x477d('0x5083')+_0x477d('0x5084')+_0x477d('0x5085')+_0x477d('0x5086')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{description.variableName}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm_cc.variablesById[description.VariableId].name\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x368a')+_0x477d('0x5089')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x506e')+_0x477d('0x506f')+_0x477d('0x509e')+_0x477d('0x3a52')+'\x0a'+_0x477d('0x5070')+_0x477d('0x508a')+_0x477d('0x508b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Description\x0a'+_0x477d('0x3d5e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x508c')+_0x477d('0x508d')+_0x477d('0x508e')+_0x477d('0x3d5e')+_0x477d('0x4bf2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4bff')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3826')+_0x477d('0x3833')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3835')+_0x477d('0x5072')+_0x477d('0x508f')+'\x0a'+_0x477d('0x39ca')+_0x477d('0x50ae')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x51ab')+_0x477d('0x50b2')+_0x477d('0x39e1')+_0x477d('0x50b3')+_0x477d('0x3cfb')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x50b4')+_0x477d('0x377d')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e29')+_0x477d('0x3e2a')+'\x0a'+_0x477d('0x3699')+_0x477d('0x3a5a')+'\x0a'+_0x477d('0x377d'));_0x143a79[_0x477d('0x390')](_0x477d('0x520b'),_0x477d('0x520c')+'\x0a'+_0x477d('0x39eb')+_0x477d('0x3bef')+'\x0a'+_0x477d('0x3abc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f71')+_0x477d('0x3760')+_0x477d('0x520d')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39f0')+_0x477d('0x39f1')+_0x477d('0x39f2')+_0x477d('0x39f3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39f5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f72')+_0x477d('0x39a2')+_0x477d('0x36c0')+_0x477d('0x39f7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3699')+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x520e')+_0x477d('0x39fa')+'\x0a'+_0x477d('0x520f')+_0x477d('0x39fc')+_0x477d('0x39fd')+_0x477d('0x50cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+'\x0a'+_0x477d('0x39ff')+'\x0a'+_0x477d('0x3a00')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5210')+_0x477d('0x50cd')+_0x477d('0x3760')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3674')+_0x477d('0x3a09')+_0x477d('0x3a0a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Select\x20all\x0a'+_0x477d('0x3832')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a0a')+_0x477d('0x5211')+_0x477d('0x3a0e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a0f')+_0x477d('0x3a10')+_0x477d('0x3a11')+_0x477d('0x36c0')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a13')+_0x477d('0x3a14')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x382a')+_0x477d('0x36e5')+_0x477d('0x3699')+_0x477d('0x3a17')+'\x0a'+_0x477d('0x3a18')+_0x477d('0x3a19')+'\x0a'+_0x477d('0x3a1a')+_0x477d('0x3ac6')+'\x0a'+_0x477d('0x3a1b')+_0x477d('0x5212')+_0x477d('0x3a1d')+_0x477d('0x3a1e')+_0x477d('0x5213')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a21')+_0x477d('0x3a22')+_0x477d('0x50d3')+_0x477d('0x50d4')+_0x477d('0x4f81')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.URI\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a2c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a2e')+_0x477d('0x5214')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a30')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a'+_0x477d('0x3a31')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a2c')+_0x477d('0x5215')+_0x477d('0x5216')+_0x477d('0x5217')+_0x477d('0x5218')+_0x477d('0x5219')+_0x477d('0x521a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22name\x20\x22\x20>{{freshsalesAccount.name}}\x0a'+_0x477d('0x521a')+_0x477d('0x521b')+_0x477d('0x521a')+_0x477d('0x521c')+_0x477d('0x3ad9')+'\x0a'+_0x477d('0x3a42')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3d9e')+_0x477d('0x50d9')+_0x477d('0x3a44')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a45')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3adc')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x5221')+_0x477d('0x5222')+_0x477d('0x5223')+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3692')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3939')+'\x0a'+'\x0a'+_0x477d('0x3a2c')+_0x477d('0x3a56')+_0x477d('0x3ae2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x5224')+_0x477d('0x3ae4')+_0x477d('0x5225')+_0x477d('0x3a59')+'\x0a'+_0x477d('0x3cb5')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3a5a')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3735')+_0x477d('0x5226')+_0x477d('0x3699'));_0x143a79[_0x477d('0x390')](_0x477d('0x1b1b'),_0x477d('0x5227')+_0x477d('0x5228')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3844')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39c7')+_0x477d('0x4f9b')+_0x477d('0x5229')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x522a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x4f49')+_0x477d('0x522b')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3de0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5039')+_0x477d('0x3a46')+_0x477d('0x4f4b')+_0x477d('0x3fc8')+_0x477d('0x4f4c')+_0x477d('0x3a46')+_0x477d('0x4f4d')+_0x477d('0x3aac')+_0x477d('0x522c')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3e73')+_0x477d('0x4f5a')+_0x477d('0x522d')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x522e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f5d')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Uri\x0a'+_0x477d('0x522f')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x5230')+_0x477d('0x39d2')+_0x477d('0x4f53')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f54')+_0x477d('0x36bf')+_0x477d('0x39d9')+_0x477d('0x36a1')+_0x477d('0x50b8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Password\x0a'+_0x477d('0x5231')+_0x477d('0x5040')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x4f5f')+_0x477d('0x36bf')+_0x477d('0x5041')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Must\x20contain\x20at\x20least\x208\x20characters,\x20with\x20a\x20minimum\x20of\x201\x20lowercase\x20letter,\x201\x20uppercase\x20letter,\x201\x20numeric\x20character\x20and\x201\x20special\x20character\x20~!?*@#$%^&-_=+[{]}.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3eb4')+_0x477d('0x3e73')+_0x477d('0x50bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d6')+_0x477d('0x5232')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ClientId\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x5233')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x50c1')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5235')+_0x477d('0x5236')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x5237')+_0x477d('0x39d2')+_0x477d('0x5238')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MotionProxyAddress\x0a'+_0x477d('0x5239')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x4f62')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x4f64')+_0x477d('0x36bf')+_0x477d('0x3e66')+_0x477d('0x5043')+_0x477d('0x36bf')+_0x477d('0x39d9')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x4f65')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x4f68')+_0x477d('0x36bf')+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ab5')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c5')+_0x477d('0x39c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+_0x477d('0x39dc')+_0x477d('0x387b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39e0')+_0x477d('0x39e1')+'\x0a'+_0x477d('0x523b')+_0x477d('0x3c8b')+_0x477d('0x523c')+_0x477d('0x523d')+_0x477d('0x523e')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x39e5')+_0x477d('0x523f')+_0x477d('0x4f6f')+_0x477d('0x3a16')+_0x477d('0x4fac')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x366a')+'\x0a');_0x143a79[_0x477d('0x390')](_0x477d('0x1afb'),_0x477d('0x5240')+_0x477d('0x5241')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f9b')+_0x477d('0x5242')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x5243')+_0x477d('0x39d2')+_0x477d('0x4f48')+_0x477d('0x36bf')+_0x477d('0x39d9')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x50ea')+_0x477d('0x5244')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3a5e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3de0')+_0x477d('0x3f5c')+_0x477d('0x4f9f')+_0x477d('0x3a46')+_0x477d('0x4fa0')+_0x477d('0x3aac')+_0x477d('0x5245')+_0x477d('0x39d2')+_0x477d('0x516b')+_0x477d('0x36bf')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e73')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x0a'+_0x477d('0x5246')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x3de0')+_0x477d('0x3f5c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.OUTBOUND_CALL\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3aac')+_0x477d('0x5247')+_0x477d('0x39d2')+_0x477d('0x4f4f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x50ef')+_0x477d('0x5248')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3de0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.TASK\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5249')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27INTEGRATIONS.CASE\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x524a')+_0x477d('0x39d2')+_0x477d('0x524b')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3eb4')+_0x477d('0x39c3')+_0x477d('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x524d')+_0x477d('0x3c8b')+_0x477d('0x524e')+_0x477d('0x524f')+_0x477d('0x5250')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5251')+_0x477d('0x4f6f')+_0x477d('0x3a16')+_0x477d('0x4fac')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x5252'),'\x0a'+_0x477d('0x5253')+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39c2')+_0x477d('0x3aea')+_0x477d('0x3aeb')+_0x477d('0x3aec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x3aee')+_0x477d('0x36bf')+_0x477d('0x3aef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3674')+_0x477d('0x3670')+_0x477d('0x36c0')+'\x0a'+_0x477d('0x4fae')+_0x477d('0x50fd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x50ff')+_0x477d('0x4faf')+_0x477d('0x3670')+_0x477d('0x5100')+_0x477d('0x4fb0')+_0x477d('0x46d4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x0a'+_0x477d('0x4fb2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20String\x0a'+_0x477d('0x4fb4')+_0x477d('0x44db')+_0x477d('0x5254')+_0x477d('0x5255')+_0x477d('0x3c59')+_0x477d('0x4fb6')+_0x477d('0x4fb7')+_0x477d('0x382a')+_0x477d('0x36a9')+_0x477d('0x3c04')+_0x477d('0x4fb8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Content\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5256')+_0x477d('0x5257')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4fbb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20is\x20required\x0a'+_0x477d('0x382a')+_0x477d('0x36a9')+_0x477d('0x3c04')+_0x477d('0x4fbd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4fbe')+_0x477d('0x4fbf')+_0x477d('0x5258')+_0x477d('0x5259')+_0x477d('0x4fc1')+_0x477d('0x4fc2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x0a'+_0x477d('0x385c')+_0x477d('0x382a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x0a'+_0x477d('0x4fc4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20String\x0a'+_0x477d('0x4fc5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Custom\x20Variable\x0a'+_0x477d('0x44f0')+_0x477d('0x525a')+_0x477d('0x525b')+_0x477d('0x4fc1')+_0x477d('0x525c')+_0x477d('0x4fc3')+_0x477d('0x385c')+_0x477d('0x382a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4fc9')+_0x477d('0x4fca')+_0x477d('0x4fcb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Content\x0a'+_0x477d('0x517f')+_0x477d('0x385c')+_0x477d('0x382a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x5180')+_0x477d('0x4fce')+_0x477d('0x510a')+_0x477d('0x4fcf')+_0x477d('0x4fd0')+_0x477d('0x4fd1')+_0x477d('0x4fd2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4fd4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4fd6')+_0x477d('0x4fd7')+_0x477d('0x4fd4')+_0x477d('0x44f0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4fc1')+_0x477d('0x4fda')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22INTEGRATIONS.ERRORS.VARIABLENAME_REQUIRED\x22>Variable\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20name\x20field\x20is\x20required\x0a'+_0x477d('0x385c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3851')+'\x0a'+_0x477d('0x4fdc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Value\x0a'+_0x477d('0x4fdd')+_0x477d('0x510d')+_0x477d('0x44ef')+_0x477d('0x44f0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4fde')+_0x477d('0x3670')+_0x477d('0x4fdf')+_0x477d('0x4fe0')+_0x477d('0x4fe1')+_0x477d('0x384e')+_0x477d('0x4fe2')+_0x477d('0x4fe3')+_0x477d('0x510e')+'\x0a'+_0x477d('0x4fe4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{custom.name}}\x0a'+_0x477d('0x4fd3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x44f0')+_0x477d('0x525e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22salesforceAccountItemForm.customField.$touched\x22\x20role=\x22alert\x22>\x0a'+_0x477d('0x4fc1')+_0x477d('0x4feb')+_0x477d('0x4fc3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x382a')+_0x477d('0x3851')+'\x0a'+_0x477d('0x5185')+_0x477d('0x4fec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x36bf')+_0x477d('0x4fed')+_0x477d('0x5111')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4fee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4fef')+_0x477d('0x4ff0')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3aea')+_0x477d('0x3aeb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x3aed')+_0x477d('0x3aee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x3aef')+_0x477d('0x3af0')+_0x477d('0x3674')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3663')+'\x0a'+_0x477d('0x39dc')+_0x477d('0x387b')+_0x477d('0x525f')+_0x477d('0x4ff2')+_0x477d('0x387d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x5260')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22INTEGRATIONS.ADD\x22>\x0a'+_0x477d('0x4ff5')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5114')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4fac')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3669')+_0x477d('0x366a')+_0x477d('0x3840')+'\x0a'+_0x477d('0x5188')+'\x0a'+_0x477d('0x4ff6')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4ff8')+_0x477d('0x4ff9')+'\x0a'+_0x477d('0x5115')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Variable\x0a'+_0x477d('0x4ffa')+_0x477d('0x3888')+'\x20\x20\x20\x20\x20\x20\x20\x20Type\x20field\x20is\x20required\x0a'+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4ffe')+'\x0a'+_0x477d('0x4fff')+'\x0a'+_0x477d('0x5000')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x5002')+_0x477d('0x5003')+'\x0a'+_0x477d('0x5004')+_0x477d('0x5005')+_0x477d('0x3888')+'\x0a'+_0x477d('0x5261')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22salesforceAccountItemForm.option.$touched\x22\x20role=\x22alert\x22>\x0a'+_0x477d('0x4ffc')+_0x477d('0x51f3')+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x5118')+_0x477d('0x5003')+'\x0a'+_0x477d('0x5119')+'\x0a'+_0x477d('0x5262')+_0x477d('0x5263')+_0x477d('0x4ffc')+_0x477d('0x500a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+_0x477d('0x4ffe')+'\x0a'+_0x477d('0x511c')+_0x477d('0x500b')+_0x477d('0x500c')+_0x477d('0x511d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x511e')+_0x477d('0x500e')+_0x477d('0x500f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5010')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x500f')+_0x477d('0x3888')+_0x477d('0x5264')+_0x477d('0x5265')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5122')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x0a'+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4ffe')+'\x0a'+_0x477d('0x5014')+_0x477d('0x500b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{variable.name}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4ffe')+'\x0a'+_0x477d('0x5017')+'\x0a'+'\x0a'+'\x0a'+'\x0a'+_0x477d('0x518e')+'\x20\x20\x20\x20\x20\x20\x20\x20Type\x0a'+_0x477d('0x518f')+_0x477d('0x5019')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Variable\x0a'+_0x477d('0x501a')+_0x477d('0x3b25')+_0x477d('0x5266')+_0x477d('0x4ffc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+_0x477d('0x501d')+_0x477d('0x501e')+_0x477d('0x501f')+_0x477d('0x5125')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5267')+_0x477d('0x5268')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5021')+_0x477d('0x3cfb')+_0x477d('0x380f')+_0x477d('0x501d')+'\x0a'+_0x477d('0x5022')+_0x477d('0x5023')+'\x20\x20\x20\x20\x20\x20{{agentColumn}}\x0a'+_0x477d('0x5028')+_0x477d('0x5029')+_0x477d('0x502a')+_0x477d('0x5127')+_0x477d('0x5028')+_0x477d('0x5029')+_0x477d('0x502b')+_0x477d('0x5269')+_0x477d('0x526a')+_0x477d('0x3d1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Variable\x20name\x20field\x20is\x0a'+_0x477d('0x502d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x380f')+_0x477d('0x501d')+'\x0a'+_0x477d('0x502e')+'\x20\x20\x20\x20\x20\x20Value\x0a'+_0x477d('0x502f')+_0x477d('0x5030')+_0x477d('0x502b')+_0x477d('0x501d')+_0x477d('0x5031'));_0x143a79[_0x477d('0x390')](_0x477d('0x526b'),_0x477d('0x526c')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3b62')+_0x477d('0x3b63')+_0x477d('0x526d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.gotoSalesforceAccounts()\x22\x0a'+_0x477d('0x526e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x372b')+'\x0a'+_0x477d('0x387b')+'\x0a'+_0x477d('0x526f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+'\x0a'+_0x477d('0x38e8')+_0x477d('0x3b65')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.salesforceAccount.id}}\x0a'+_0x477d('0x5270')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.salesforceAccount.createdAt\x20|\x20date:\x27medium\x27}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x477d('0x3d05')+_0x477d('0x36e5')+'\x0a'+_0x477d('0x3699')+_0x477d('0x39f8')+'\x0a'+_0x477d('0x3a18')+_0x477d('0x3b6b')+'\x0a'+_0x477d('0x3b6c')+_0x477d('0x3e12')+_0x477d('0x3f7a')+_0x477d('0x5038')+_0x477d('0x3f7b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5271')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5132')+_0x477d('0x385c')+_0x477d('0x3e17')+_0x477d('0x3e18')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x0a'+_0x477d('0x5229')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x3e1a')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x4f49')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f5c')+_0x477d('0x5039')+_0x477d('0x3a46')+_0x477d('0x4f4b')+_0x477d('0x3fc8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.NEW_TAB\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x503a')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3e73')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Username\x0a'+_0x477d('0x522d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x5134')+_0x477d('0x39d2')+_0x477d('0x4f5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x4f50')+_0x477d('0x522f')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x4f53')+_0x477d('0x36bf')+_0x477d('0x3e66')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Uri\x20must\x20be\x20a\x20valid\x20url\x20http://www.xcally.com\x0a'+_0x477d('0x36bf')+_0x477d('0x39d9')+_0x477d('0x36a1')+_0x477d('0x50b8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Password\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f5f')+_0x477d('0x36bf')+_0x477d('0x5041')+_0x477d('0x5042')+_0x477d('0x36bf')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3eb4')+_0x477d('0x3e73')+_0x477d('0x50bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5138')+_0x477d('0x39d2')+_0x477d('0x5139')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5233')+_0x477d('0x5272')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5273')+_0x477d('0x39d2')+_0x477d('0x50c1')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x5235')+_0x477d('0x5236')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x5274')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5238')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MotionProxyAddress\x0a'+_0x477d('0x5239')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x513a')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MotionProxyAddress\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MotionProxyAddress\x20must\x20be\x20a\x20valid\x20url\x20http://www.xcally.com\x0a'+_0x477d('0x36bf')+_0x477d('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d6')+_0x477d('0x3e25')+_0x477d('0x39d2')+_0x477d('0x4f68')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x3e26')+_0x477d('0x3e27')+_0x477d('0x3e28')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x3e12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5044')+_0x477d('0x3f7b')+_0x477d('0x3e14')+_0x477d('0x5275')+_0x477d('0x3f7d')+_0x477d('0x5046')+_0x477d('0x377d')+'\x0a'+'\x20\x20\x0a'+_0x477d('0x513d')+_0x477d('0x5049')+_0x477d('0x5276')+_0x477d('0x43b1')+_0x477d('0x372b')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20salesforceConfiguration.name\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3d9e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22INTEGRATIONS.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a'+_0x477d('0x42cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a45')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5277')+_0x477d('0x5278')+_0x477d('0x3a52')+_0x477d('0x3a4b')+_0x477d('0x41b9')+_0x477d('0x42b0')+_0x477d('0x5141')+_0x477d('0x3698')+_0x477d('0x486c')+_0x477d('0x5051')+_0x477d('0x5142')+_0x477d('0x5052')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x5055')+_0x477d('0x5056')+_0x477d('0x5057')+_0x477d('0x5058')+_0x477d('0x3dfa')+_0x477d('0x485c')+_0x477d('0x5059')+_0x477d('0x505a')+_0x477d('0x491d')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+_0x477d('0x505b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm_cc.selectedSubjects.length}}\x20{{vm_cc.selectedSubjects.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected\x0a'+_0x477d('0x485c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a16')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+_0x477d('0x505e')+_0x477d('0x5143')+_0x477d('0x486e')+_0x477d('0x3823')+_0x477d('0x505f')+_0x477d('0x5060')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.CONTENT\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x5061')+_0x477d('0x3826')+_0x477d('0x4862')+_0x477d('0x3827')+_0x477d('0x5144')+_0x477d('0x5062')+_0x477d('0x5063')+_0x477d('0x5064')+_0x477d('0x5065')+_0x477d('0x382b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5145')+_0x477d('0x51a4')+_0x477d('0x5067')+_0x477d('0x5083')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{subject.key}}\x0a'+_0x477d('0x5085')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{subject.keyContent}}\x0a'+_0x477d('0x5069')+_0x477d('0x506a')+_0x477d('0x506b')+_0x477d('0x368a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{subject.content}}\x0a'+_0x477d('0x382b')+_0x477d('0x506d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x509e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x508a')+_0x477d('0x5147')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Subject\x0a'+_0x477d('0x3d5e')+_0x477d('0x4bf2')+_0x477d('0x508c')+_0x477d('0x5149')+_0x477d('0x5071')+_0x477d('0x3d5e')+_0x477d('0x4bf2')+_0x477d('0x4bf3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x382b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3833')+_0x477d('0x3834')+_0x477d('0x3835')+_0x477d('0x5072')+'\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5054')+'\x20\x20\x20\x20\x20\x20\x20\x20DESCRIPTIONS\x0a'+_0x477d('0x5056')+_0x477d('0x5057')+_0x477d('0x5074')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x485c')+_0x477d('0x5075')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x491d')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3660')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3dfa')+_0x477d('0x5078')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5079')+_0x477d('0x3a16')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+_0x477d('0x505e')+_0x477d('0x514a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3823')+_0x477d('0x505f')+_0x477d('0x5060')+_0x477d('0x507a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3826')+_0x477d('0x4862')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x507c')+_0x477d('0x507d')+_0x477d('0x507e')+_0x477d('0x507f')+_0x477d('0x382b')+_0x477d('0x5080')+_0x477d('0x5081')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{description.variableName}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm_cc.variablesById[description.VariableId].name\x20}}\x0a'+_0x477d('0x5083')+_0x477d('0x5084')+_0x477d('0x5085')+_0x477d('0x5086')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{description.variableName}}\x0a'+_0x477d('0x5088')+_0x477d('0x506b')+_0x477d('0x368a')+_0x477d('0x5089')+_0x477d('0x382b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x506e')+_0x477d('0x506f')+_0x477d('0x509e')+_0x477d('0x3a52')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x508a')+_0x477d('0x508b')+_0x477d('0x51a5')+_0x477d('0x3d5e')+_0x477d('0x4bf2')+_0x477d('0x508c')+_0x477d('0x508d')+_0x477d('0x508e')+_0x477d('0x3d5e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4bff')+_0x477d('0x382b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3833')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3835')+_0x477d('0x5072')+_0x477d('0x508f')+'\x0a'+_0x477d('0x5090')+_0x477d('0x5054')+_0x477d('0x514c')+_0x477d('0x5056')+_0x477d('0x5057')+_0x477d('0x514d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x485c')+_0x477d('0x51a6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+_0x477d('0x514f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5091')+_0x477d('0x485c')+_0x477d('0x51a7')+_0x477d('0x3a16')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+_0x477d('0x505e')+_0x477d('0x5092')+_0x477d('0x486e')+_0x477d('0x3823')+_0x477d('0x505f')+_0x477d('0x5060')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.CONTENT\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x5061')+_0x477d('0x3826')+_0x477d('0x4862')+_0x477d('0x3827')+_0x477d('0x5093')+_0x477d('0x51a8')+_0x477d('0x5094')+_0x477d('0x5095')+_0x477d('0x5096')+_0x477d('0x382b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5097')+_0x477d('0x5098')+_0x477d('0x5099')+_0x477d('0x5083')+_0x477d('0x509a')+_0x477d('0x5085')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{field.keyContent}}\x0a'+_0x477d('0x509c')+_0x477d('0x509d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x368a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{field.content}}\x0a'+_0x477d('0x382b')+_0x477d('0x506d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x506f')+_0x477d('0x509e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x5070')+_0x477d('0x508a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x50a0')+_0x477d('0x3d5e')+_0x477d('0x4bf2')+_0x477d('0x508c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x50a2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4bf2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4bff')+_0x477d('0x382b')+_0x477d('0x3826')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3834')+_0x477d('0x3835')+_0x477d('0x5072')+'\x0a'+'\x0a'+_0x477d('0x5279')+_0x477d('0x5054')+_0x477d('0x527a')+_0x477d('0x5056')+_0x477d('0x5057')+_0x477d('0x527b')+_0x477d('0x527c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x527d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x527e')+_0x477d('0x527f')+_0x477d('0x5280')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5072')+_0x477d('0x508f')+'\x0a'+_0x477d('0x5281')+_0x477d('0x50ae')+_0x477d('0x5282')+_0x477d('0x50b0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x51ab')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39e1')+_0x477d('0x50b3')+_0x477d('0x3cfb')+_0x477d('0x380f')+_0x477d('0x50b4')+_0x477d('0x377d')+'\x0a'+_0x477d('0x3e27')+_0x477d('0x3e28')+_0x477d('0x3e29')+_0x477d('0x3e2a')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3a5a')+'\x0a'+_0x477d('0x377d'));_0x143a79[_0x477d('0x390')](_0x477d('0x17f'),_0x477d('0x5283')+'\x0a'+_0x477d('0x39eb')+_0x477d('0x3bef')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x37cd')+_0x477d('0x39ec')+_0x477d('0x39ed')+_0x477d('0x4f71')+_0x477d('0x3760')+_0x477d('0x5284')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39ef')+'\x0a'+_0x477d('0x39f0')+_0x477d('0x39f1')+_0x477d('0x39f2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39f4')+_0x477d('0x39f5')+_0x477d('0x3abf')+_0x477d('0x4f72')+_0x477d('0x39a2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39f7')+_0x477d('0x36bf')+_0x477d('0x3699')+_0x477d('0x39f8')+'\x0a'+_0x477d('0x39f9')+_0x477d('0x5285')+_0x477d('0x39fa')+'\x0a'+_0x477d('0x5286')+_0x477d('0x39fc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x50cc')+_0x477d('0x372b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39ff')+'\x0a'+_0x477d('0x3a00')+_0x477d('0x5287')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedSalesforceAccounts.length}}\x0a'+_0x477d('0x50cd')+_0x477d('0x3760')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a04')+_0x477d('0x3a05')+_0x477d('0x3a06')+_0x477d('0x4f77')+_0x477d('0x3a08')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a09')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5288')+_0x477d('0x3a0c')+_0x477d('0x3832')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a0a')+_0x477d('0x5289')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Select\x20none\x0a'+_0x477d('0x3832')+_0x477d('0x3a0f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a11')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3ac4')+_0x477d('0x528a')+_0x477d('0x3a13')+_0x477d('0x3a14')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3a17')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3a19')+'\x0a'+_0x477d('0x3a1a')+_0x477d('0x3ac6')+'\x0a'+_0x477d('0x3a1b')+_0x477d('0x528b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a1e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x528c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a22')+_0x477d('0x50d3')+_0x477d('0x50d4')+_0x477d('0x4f81')+_0x477d('0x4f80')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a2d')+_0x477d('0x3a2e')+_0x477d('0x528d')+_0x477d('0x3acd')+_0x477d('0x3a30')+_0x477d('0x4f83')+_0x477d('0x3a31')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a2c')+_0x477d('0x528e')+_0x477d('0x528f')+_0x477d('0x5290')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{salesforceAccount.remoteUri}}\x0a'+_0x477d('0x3ad9')+'\x0a'+_0x477d('0x3a42')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3d9e')+_0x477d('0x50d9')+_0x477d('0x3a44')+_0x477d('0x3947')+'\x0a'+_0x477d('0x3a45')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x5295')+_0x477d('0x5296')+_0x477d('0x5297')+_0x477d('0x3a52')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3dc6')+'\x0a'+_0x477d('0x5298')+_0x477d('0x5299')+_0x477d('0x529a')+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3caf')+'\x0a'+_0x477d('0x529b')+_0x477d('0x529c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20SalesforceAccount\x0a'+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3693')+_0x477d('0x3939')+'\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a56')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x529d')+_0x477d('0x3a59')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+_0x477d('0x3ae6')+'\x0a'+_0x477d('0x3699')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x529e')+_0x477d('0x529f')+_0x477d('0x52a0')+_0x477d('0x3cb8')+_0x477d('0x3735')+_0x477d('0x52a1')+_0x477d('0x3699'));_0x143a79[_0x477d('0x390')]('app/main/apps/integrations/views/servicenowAccounts/create/dialog.html',_0x477d('0x52a2')+_0x477d('0x52a3')+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3844')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x0a'+_0x477d('0x52a4')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x52a5')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x4f5a')+_0x477d('0x52a6')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x4f5d')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x50b8')+_0x477d('0x503f')+_0x477d('0x52a7')+_0x477d('0x5040')+_0x477d('0x52a8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f5f')+_0x477d('0x36bf')+_0x477d('0x5041')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Must\x20contain\x20at\x20least\x208\x20characters,\x20with\x20a\x20minimum\x20of\x201\x20lowercase\x20letter,\x201\x20uppercase\x20letter,\x201\x20numeric\x20character\x20and\x201\x20special\x20character\x20~!?*@#$%^&-_=+[{]}.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36bf')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3eb4')+_0x477d('0x3e73')+_0x477d('0x52a9')+_0x477d('0x52aa')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Email\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x4328')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Email\x20must\x20be\x20a\x20valid\x20e-mail\x20address\x0a'+_0x477d('0x36bf')+_0x477d('0x385b')+_0x477d('0x36a1')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Host\x0a'+_0x477d('0x52ab')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x52ac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Host\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3e66')+_0x477d('0x52ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MotionProxyAddress\x0a'+_0x477d('0x52ae')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x52af')+_0x477d('0x39d2')+_0x477d('0x4f64')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5043')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d9')+_0x477d('0x36a1')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x0a'+_0x477d('0x52b0')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x52b1')+_0x477d('0x39d2')+_0x477d('0x4f68')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ab5')+_0x477d('0x39c3')+_0x477d('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3663')+'\x0a'+_0x477d('0x39dc')+_0x477d('0x387b')+_0x477d('0x52b2')+_0x477d('0x39de')+_0x477d('0x52b3')+_0x477d('0x4f6a')+_0x477d('0x39e0')+_0x477d('0x39e1')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x39e5')+_0x477d('0x52b7')+_0x477d('0x4f6f')+_0x477d('0x3a16')+_0x477d('0x4fac')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x39e9')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')]('app/main/apps/integrations/views/servicenowAccounts/edit/configurations/dialog.html',_0x477d('0x52b8')+_0x477d('0x52b9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c7')+_0x477d('0x4f9b')+_0x477d('0x52ba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cf')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x52bb')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x39d9')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x50ea')+_0x477d('0x52bc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x3de0')+_0x477d('0x3f5c')+_0x477d('0x4f9f')+_0x477d('0x3a46')+_0x477d('0x4fa0')+_0x477d('0x3aac')+_0x477d('0x52bd')+_0x477d('0x39d2')+_0x477d('0x516b')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x0a'+_0x477d('0x52be')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x3de0')+_0x477d('0x3f5c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3eb4')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39dc')+_0x477d('0x387b')+_0x477d('0x52c0')+_0x477d('0x39de')+_0x477d('0x52c1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22INTEGRATIONS.SAVE\x22\x20translate-attr-aria-label=\x22INTEGRATIONS.SAVE\x22>\x0a'+_0x477d('0x39e0')+_0x477d('0x39e1')+'\x0a'+_0x477d('0x52c2')+_0x477d('0x3c8b')+_0x477d('0x52c3')+_0x477d('0x52c4')+_0x477d('0x52c5')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39c2')+_0x477d('0x3aea')+_0x477d('0x3aeb')+_0x477d('0x3aec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x3aee')+_0x477d('0x36bf')+_0x477d('0x3aef')+_0x477d('0x3af0')+_0x477d('0x3674')+_0x477d('0x3670')+_0x477d('0x36c0')+'\x0a'+_0x477d('0x4fae')+_0x477d('0x50fd')+_0x477d('0x50fe')+_0x477d('0x50ff')+_0x477d('0x4faf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5100')+_0x477d('0x4fb0')+_0x477d('0x46d4')+_0x477d('0x4fb1')+_0x477d('0x4fb2')+_0x477d('0x4fb3')+_0x477d('0x4fb4')+_0x477d('0x44db')+_0x477d('0x52c8')+_0x477d('0x52c9')+_0x477d('0x3c59')+_0x477d('0x4fb6')+_0x477d('0x4fb7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a9')+_0x477d('0x3c04')+_0x477d('0x4fb8')+_0x477d('0x4fb9')+_0x477d('0x5176')+_0x477d('0x52ca')+_0x477d('0x52cb')+_0x477d('0x3c59')+_0x477d('0x4fbb')+_0x477d('0x4fbc')+_0x477d('0x382a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x384e')+_0x477d('0x4fbe')+_0x477d('0x4fbf')+_0x477d('0x52cc')+_0x477d('0x52cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4fc2')+_0x477d('0x4fc3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x382a')+_0x477d('0x3851')+'\x0a'+_0x477d('0x384e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x0a'+_0x477d('0x4fc4')+_0x477d('0x5106')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Variable\x0a'+_0x477d('0x4fc6')+_0x477d('0x44f0')+_0x477d('0x52ce')+_0x477d('0x52cf')+_0x477d('0x4fc1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x20field\x20is\x0a'+_0x477d('0x4fc3')+_0x477d('0x385c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3851')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4fca')+_0x477d('0x4fcb')+_0x477d('0x52d0')+_0x477d('0x52d1')+_0x477d('0x4fc1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Content\x0a'+_0x477d('0x517f')+_0x477d('0x385c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3851')+'\x0a'+_0x477d('0x5180')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Value\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4fd1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-repeat=\x22agentColumn\x20in\x20vm.voiceAgentReportColumns\x22>{{agentColumn}}\x0a'+_0x477d('0x4fd3')+_0x477d('0x4fd4')+_0x477d('0x4fd5')+_0x477d('0x4fd6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-repeat=\x22dialColumn\x20in\x20vm.voiceDialReportColumns\x22>{{dialColumn}}\x0a'+_0x477d('0x4fd4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x52d2')+_0x477d('0x52d3')+_0x477d('0x4fc1')+_0x477d('0x4fda')+_0x477d('0x4fdb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20name\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3851')+'\x0a'+_0x477d('0x4fdc')+_0x477d('0x4fce')+_0x477d('0x4fdd')+_0x477d('0x510d')+_0x477d('0x44ef')+_0x477d('0x44f0')+_0x477d('0x3851')+_0x477d('0x36bf')+_0x477d('0x4fde')+_0x477d('0x3670')+_0x477d('0x4fdf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x384e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20FIELD\x0a'+_0x477d('0x4fe3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4fe4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4fe7')+_0x477d('0x4fe8')+_0x477d('0x4fe9')+_0x477d('0x4fd3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4fc1')+_0x477d('0x4feb')+_0x477d('0x4fc3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x382a')+_0x477d('0x3851')+'\x0a'+_0x477d('0x5185')+_0x477d('0x4fec')+_0x477d('0x5185')+'\x0a'+_0x477d('0x36bf')+_0x477d('0x4fed')+_0x477d('0x5111')+_0x477d('0x36bf')+_0x477d('0x4fee')+_0x477d('0x3670')+_0x477d('0x4fef')+_0x477d('0x4ff0')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3aea')+_0x477d('0x3aeb')+_0x477d('0x3aec')+_0x477d('0x3aed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x36bf')+_0x477d('0x3aef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3674')+_0x477d('0x3670')+_0x477d('0x36c0')+_0x477d('0x3663')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5114')+_0x477d('0x3a16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a'+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3669')+_0x477d('0x366a')+_0x477d('0x3840')+'\x0a'+'\x0a'+'\x0a'+_0x477d('0x4ff6')+_0x477d('0x4ff7')+'\x0a'+_0x477d('0x4ff8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x5115')+_0x477d('0x5189')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Custom\x20Variable\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x52d5')+_0x477d('0x4ffb')+_0x477d('0x4ffc')+_0x477d('0x4ffd')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x4ffe')+'\x0a'+_0x477d('0x4fff')+'\x0a'+_0x477d('0x5000')+'\x0a'+_0x477d('0x5001')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5003')+'\x0a'+_0x477d('0x5004')+_0x477d('0x5005')+_0x477d('0x3888')+'\x0a'+_0x477d('0x52d6')+_0x477d('0x52d7')+_0x477d('0x4ffc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Value\x20field\x20is\x20required\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x4ffe')+'\x0a'+_0x477d('0x5118')+'\x20\x20\x20\x20\x20\x20\x20\x20Content\x0a'+'\x0a'+_0x477d('0x5119')+'\x0a'+_0x477d('0x52d8')+_0x477d('0x52d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Content\x20field\x20is\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+_0x477d('0x4ffe')+'\x0a'+_0x477d('0x511c')+_0x477d('0x500b')+_0x477d('0x500c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required>\x0a'+_0x477d('0x500d')+_0x477d('0x511e')+_0x477d('0x500e')+_0x477d('0x500f')+_0x477d('0x511f')+_0x477d('0x5010')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x500f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x52da')+_0x477d('0x52db')+_0x477d('0x4ffc')+_0x477d('0x5122')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x5014')+'\x20\x20\x20\x20\x20\x20\x20\x20Value\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{variable.name}}\x0a'+_0x477d('0x3888')+_0x477d('0x4ffe')+'\x0a'+_0x477d('0x5017')+'\x0a'+_0x477d('0x3792')+'\x0a'+_0x477d('0x5018')+'\x20\x20\x20\x20\x0a'+_0x477d('0x4ff8')+_0x477d('0x518f')+_0x477d('0x5019')+_0x477d('0x5123')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Custom\x20Variable\x0a'+_0x477d('0x3b25')+_0x477d('0x52dc')+_0x477d('0x4ffc')+_0x477d('0x4ffd')+_0x477d('0x501c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x501d')+_0x477d('0x501e')+_0x477d('0x501f')+_0x477d('0x5125')+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3d1d')+_0x477d('0x5021')+_0x477d('0x3cfb')+_0x477d('0x380f')+_0x477d('0x501d')+'\x0a'+'\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20Value\x0a'+_0x477d('0x5024')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5027')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5029')+_0x477d('0x502a')+_0x477d('0x5127')+_0x477d('0x5028')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x502b')+'\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x0a'+_0x477d('0x5023')+_0x477d('0x502f')+_0x477d('0x5030')+_0x477d('0x502b')+'\x20\x20\x0a'+_0x477d('0x5031'));_0x143a79['put'](_0x477d('0x1bb'),_0x477d('0x52de')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3b62')+_0x477d('0x3b63')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x372b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x52e0')+_0x477d('0x52e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x38e8')+_0x477d('0x3b65')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.servicenowAccount.id}}\x0a'+_0x477d('0x52e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x52e3')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x38ad')+_0x477d('0x52e4')+_0x477d('0x3e11')+_0x477d('0x3d05')+_0x477d('0x36e5')+'\x0a'+_0x477d('0x3699')+_0x477d('0x39f8')+'\x0a'+_0x477d('0x3a18')+_0x477d('0x3b6b')+'\x0a'+_0x477d('0x3b6c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f7a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ACCOUNT\x0a'+_0x477d('0x3f7b')+_0x477d('0x3e14')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5132')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e17')+_0x477d('0x3e18')+_0x477d('0x4f9b')+_0x477d('0x52a4')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f48')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x4f5a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d6')+_0x477d('0x5134')+_0x477d('0x39d2')+_0x477d('0x4f5d')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x50b8')+_0x477d('0x503f')+_0x477d('0x52a7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-placeholder=\x22INTEGRATIONS.PASSWORD\x22\x20\x20required\x20\x20>\x0a'+_0x477d('0x5136')+_0x477d('0x39d2')+_0x477d('0x4f5f')+_0x477d('0x36bf')+_0x477d('0x5041')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Must\x20contain\x20at\x20least\x208\x20characters,\x20with\x20a\x20minimum\x20of\x201\x20lowercase\x20letter,\x201\x20uppercase\x20letter,\x201\x20numeric\x20character\x20and\x201\x20special\x20character\x20~!?*@#$%^&-_=+[{]}.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3eb4')+_0x477d('0x3e73')+_0x477d('0x52a9')+_0x477d('0x52aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x52e5')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Email\x20must\x20be\x20a\x20valid\x20e-mail\x20address\x0a'+_0x477d('0x36bf')+_0x477d('0x385b')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x52e6')+_0x477d('0x52ab')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x503b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x52e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e66')+_0x477d('0x52ad')+_0x477d('0x36bf')+_0x477d('0x39d9')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f60')+_0x477d('0x52ae')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x4f62')+_0x477d('0x513a')+_0x477d('0x39d2')+_0x477d('0x4f64')+_0x477d('0x36bf')+_0x477d('0x3e66')+_0x477d('0x5043')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d9')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x4f65')+_0x477d('0x52b0')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x3e25')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x3e26')+_0x477d('0x3e27')+_0x477d('0x3e28')+_0x477d('0x3e29')+_0x477d('0x3e12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CONFIGURATIONS\x0a'+_0x477d('0x3f7b')+_0x477d('0x3e14')+_0x477d('0x52e8')+_0x477d('0x3f7d')+_0x477d('0x5046')+_0x477d('0x377d')+_0x477d('0x52e9')+_0x477d('0x5048')+_0x477d('0x513d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.CONFIGURATIONS\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x52ea')+_0x477d('0x43b1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x52eb')+_0x477d('0x52ec')+_0x477d('0x504d')+_0x477d('0x3d9e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22INTEGRATIONS.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3947')+_0x477d('0x3a45')+_0x477d('0x504f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x52ed')+_0x477d('0x3a52')+_0x477d('0x3a4b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x42b0')+_0x477d('0x5141')+_0x477d('0x3698')+_0x477d('0x486c')+'\x20\x20\x20\x20\x0a'+_0x477d('0x5142')+_0x477d('0x5052')+_0x477d('0x5053')+_0x477d('0x5054')+_0x477d('0x5055')+'\x20\x20\x20\x20\x0a'+_0x477d('0x5057')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x485c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x505a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+_0x477d('0x505b')+_0x477d('0x3dfa')+_0x477d('0x505c')+_0x477d('0x485c')+_0x477d('0x505d')+_0x477d('0x3a16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x505e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x486e')+_0x477d('0x3823')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.ID\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.TYPE\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.CONTENT\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4862')+_0x477d('0x3827')+_0x477d('0x5144')+_0x477d('0x5062')+_0x477d('0x5063')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{subject.nameField\x20||\x20subject.idField}}\x0a'+_0x477d('0x5065')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5066')+_0x477d('0x5145')+_0x477d('0x51a4')+_0x477d('0x5067')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5068')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{subject.keyContent}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{subject.variableName}}\x0a'+_0x477d('0x506a')+_0x477d('0x506b')+_0x477d('0x368a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{subject.content}}\x0a'+_0x477d('0x382b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x506e')+_0x477d('0x506f')+_0x477d('0x509e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x5070')+_0x477d('0x508a')+_0x477d('0x5147')+_0x477d('0x5148')+_0x477d('0x3d5e')+_0x477d('0x4bf2')+_0x477d('0x508c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5071')+_0x477d('0x3d5e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4bff')+_0x477d('0x382b')+_0x477d('0x3826')+_0x477d('0x3833')+_0x477d('0x3834')+_0x477d('0x3835')+_0x477d('0x5072')+_0x477d('0x508f')+'\x0a'+_0x477d('0x5053')+_0x477d('0x5054')+'\x20\x20\x20\x20\x20\x20\x20\x20DESCRIPTIONS\x0a'+'\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3dfa')+_0x477d('0x485c')+_0x477d('0x5075')+_0x477d('0x5076')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm_cc.selectedDescriptions.length}}\x20{{vm_cc.selectedDescriptions.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected\x0a'+_0x477d('0x485c')+_0x477d('0x5079')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x3660')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x514a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3823')+_0x477d('0x505f')+_0x477d('0x5060')+_0x477d('0x507a')+_0x477d('0x5061')+_0x477d('0x3826')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3827')+_0x477d('0x507b')+_0x477d('0x507c')+_0x477d('0x507d')+_0x477d('0x507e')+_0x477d('0x507f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5081')+_0x477d('0x5082')+_0x477d('0x514b')+_0x477d('0x5083')+_0x477d('0x5084')+_0x477d('0x5085')+_0x477d('0x5086')+_0x477d('0x5087')+_0x477d('0x5088')+_0x477d('0x506b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5089')+_0x477d('0x382b')+_0x477d('0x506d')+_0x477d('0x506e')+_0x477d('0x506f')+_0x477d('0x509e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x5070')+_0x477d('0x508a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x51a5')+_0x477d('0x3d5e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x508c')+_0x477d('0x508d')+_0x477d('0x508e')+_0x477d('0x3d5e')+_0x477d('0x4bf2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4bff')+_0x477d('0x382b')+_0x477d('0x3826')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3835')+_0x477d('0x5072')+_0x477d('0x508f')+'\x0a'+_0x477d('0x39ca')+_0x477d('0x50ae')+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20CONFIGURATION\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x380f')+'\x20\x20\x0a'+'\x0a'+'\x0a'+_0x477d('0x3e27')+_0x477d('0x3e28')+_0x477d('0x3e29')+_0x477d('0x3e2a')+'\x0a'+_0x477d('0x3699')+_0x477d('0x3a5a')+'\x0a'+_0x477d('0x377d'));_0x143a79[_0x477d('0x390')](_0x477d('0x1b6'),'\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3abc')+_0x477d('0x37cd')+_0x477d('0x39ec')+_0x477d('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3760')+_0x477d('0x52ee')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39ef')+'\x0a'+_0x477d('0x39f0')+_0x477d('0x39f1')+_0x477d('0x39f2')+_0x477d('0x39f3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39f5')+_0x477d('0x3abf')+_0x477d('0x4f72')+_0x477d('0x39a2')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36bf')+_0x477d('0x3699')+_0x477d('0x39f8')+'\x0a'+_0x477d('0x39f9')+_0x477d('0x52ef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22>\x0a'+'\x0a'+_0x477d('0x52f0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39fd')+_0x477d('0x50cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a00')+_0x477d('0x52f1')+_0x477d('0x52f2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20selected\x0a'+_0x477d('0x3760')+'\x0a'+_0x477d('0x3daf')+_0x477d('0x3a04')+_0x477d('0x3a05')+_0x477d('0x3a06')+_0x477d('0x4f77')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3674')+_0x477d('0x3a09')+_0x477d('0x3a0a')+_0x477d('0x52f3')+_0x477d('0x3a0c')+_0x477d('0x3832')+_0x477d('0x3a0f')+_0x477d('0x3a0a')+_0x477d('0x52f4')+_0x477d('0x3a0e')+_0x477d('0x3832')+_0x477d('0x3a0f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a11')+_0x477d('0x36c0')+'\x0a'+_0x477d('0x3ac4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a14')+_0x477d('0x52f5')+_0x477d('0x4f7c')+_0x477d('0x3a16')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+_0x477d('0x3699')+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3a19')+'\x0a'+_0x477d('0x3a1a')+_0x477d('0x3ac6')+'\x0a'+_0x477d('0x3a1b')+_0x477d('0x52f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a1e')+_0x477d('0x52f7')+_0x477d('0x52f8')+_0x477d('0x3a21')+_0x477d('0x3a22')+_0x477d('0x50d3')+_0x477d('0x50d4')+_0x477d('0x4f81')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.EMAIL\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.HOST\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x3acb')+_0x477d('0x3a2c')+_0x477d('0x3a2d')+_0x477d('0x3a2e')+_0x477d('0x52f9')+_0x477d('0x52fa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a'+_0x477d('0x3a31')+_0x477d('0x3a32')+_0x477d('0x3a2c')+_0x477d('0x52fb')+_0x477d('0x52fc')+_0x477d('0x52fd')+_0x477d('0x52fe')+_0x477d('0x52ff')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{servicenowAccount.email}}\x0a'+_0x477d('0x5301')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22remoteUri\x20\x22\x20>{{servicenowAccount.remoteUri}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a42')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x5303')+_0x477d('0x5304')+_0x477d('0x5305')+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x5306')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22INTEGRATIONS.TEST_SERVICENOWACCOUNT\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Test\x20ServicenowAccount\x0a'+_0x477d('0x3a52')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x50dc')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x0a'+_0x477d('0x3a2c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ae2')+_0x477d('0x3a57')+'\x0a'+_0x477d('0x5309')+_0x477d('0x3ae4')+_0x477d('0x530a')+_0x477d('0x3a59')+'\x0a'+_0x477d('0x3cb5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ae6')+'\x0a'+_0x477d('0x3699')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x530b')+_0x477d('0x530c')+_0x477d('0x530d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3735')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3699'));_0x143a79[_0x477d('0x390')](_0x477d('0x530e'),_0x477d('0x530f')+_0x477d('0x5310')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x365d')+_0x477d('0x39c1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39da')+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x0a'+_0x477d('0x5311')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5312')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Username\x0a'+_0x477d('0x5313')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Username\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x4f50')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x4f53')+_0x477d('0x36bf')+_0x477d('0x3e66')+_0x477d('0x4f54')+_0x477d('0x36bf')+_0x477d('0x39d9')+_0x477d('0x36a1')+_0x477d('0x50b8')+_0x477d('0x503f')+_0x477d('0x5314')+_0x477d('0x5040')+_0x477d('0x5315')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f5f')+_0x477d('0x36bf')+_0x477d('0x5041')+_0x477d('0x5042')+_0x477d('0x36bf')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3eb4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f60')+_0x477d('0x5316')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f62')+_0x477d('0x5317')+_0x477d('0x39d2')+_0x477d('0x4f64')+_0x477d('0x36bf')+_0x477d('0x3e66')+_0x477d('0x5043')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f65')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ab5')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+_0x477d('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5319')+_0x477d('0x39de')+_0x477d('0x531a')+_0x477d('0x4f6a')+_0x477d('0x39e0')+_0x477d('0x39e1')+'\x0a'+_0x477d('0x531b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x477d('0x531c')+_0x477d('0x531d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20SUGARCRMACCOUNT\x0a'+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4fac')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39e9')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x1b63'),_0x477d('0x531e')+_0x477d('0x531f')+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f9b')+_0x477d('0x5320')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ce')+_0x477d('0x39cb')+_0x477d('0x39cf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x5321')+_0x477d('0x39d2')+_0x477d('0x4f48')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Channel\x0a'+_0x477d('0x5322')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x39cf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x3f5c')+_0x477d('0x4f9f')+_0x477d('0x3a46')+_0x477d('0x4fa0')+_0x477d('0x3aac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Channel\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e73')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3eb4')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+_0x477d('0x39dc')+_0x477d('0x387b')+_0x477d('0x5323')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x477d('0x5324')+_0x477d('0x4f6a')+_0x477d('0x39e0')+_0x477d('0x39e1')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5326')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x39e5')+_0x477d('0x5327')+_0x477d('0x4f6f')+_0x477d('0x3a16')+_0x477d('0x4fac')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x1b68'),'\x0a'+_0x477d('0x5328')+_0x477d('0x381e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39c2')+_0x477d('0x3aea')+_0x477d('0x3aeb')+_0x477d('0x3aec')+_0x477d('0x3aed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x36bf')+_0x477d('0x3aef')+_0x477d('0x3af0')+_0x477d('0x3674')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+'\x0a'+_0x477d('0x4fae')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4faf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5100')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x46d4')+_0x477d('0x4fb1')+_0x477d('0x4fb2')+_0x477d('0x4fb3')+_0x477d('0x4fb4')+_0x477d('0x44db')+_0x477d('0x5329')+_0x477d('0x532a')+_0x477d('0x3c59')+_0x477d('0x4fb6')+_0x477d('0x4fb7')+_0x477d('0x382a')+_0x477d('0x36a9')+_0x477d('0x3c04')+_0x477d('0x4fb8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Content\x0a'+_0x477d('0x5176')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3851')+'\x0a'+_0x477d('0x384e')+_0x477d('0x5105')+_0x477d('0x4fc4')+_0x477d('0x5106')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Variable\x0a'+_0x477d('0x4fc6')+_0x477d('0x44f0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4fc1')+_0x477d('0x525c')+_0x477d('0x4fc3')+_0x477d('0x385c')+_0x477d('0x382a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Content\x0a'+_0x477d('0x4fcb')+_0x477d('0x532e')+_0x477d('0x532f')+_0x477d('0x4fc1')+_0x477d('0x4fcd')+_0x477d('0x517f')+_0x477d('0x385c')+_0x477d('0x382a')+_0x477d('0x3851')+'\x0a'+_0x477d('0x5180')+_0x477d('0x4fce')+_0x477d('0x510a')+_0x477d('0x4fcf')+_0x477d('0x4fd0')+_0x477d('0x4fd1')+_0x477d('0x4fd2')+_0x477d('0x4fd3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4fd5')+_0x477d('0x4fd6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-repeat=\x22dialColumn\x20in\x20vm.voiceDialReportColumns\x22>{{dialColumn}}\x0a'+_0x477d('0x4fd4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5330')+_0x477d('0x5331')+_0x477d('0x4fc1')+_0x477d('0x4fda')+_0x477d('0x4fdb')+_0x477d('0x510c')+_0x477d('0x385c')+_0x477d('0x382a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4fdc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Value\x0a'+_0x477d('0x4fdd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{variable.name}}\x0a'+_0x477d('0x44ef')+_0x477d('0x44f0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36bf')+_0x477d('0x4fde')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4fe0')+_0x477d('0x4fe1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4fe2')+_0x477d('0x4fe3')+_0x477d('0x510e')+'\x0a'+_0x477d('0x4fe4')+_0x477d('0x4fe5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-repeat=\x22standard\x20in\x20vm.fields\x20|\x20filter:\x20{custom:\x20false}\x20\x22>{{standard.name}}\x0a'+_0x477d('0x4fd3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4fe7')+_0x477d('0x4fe8')+_0x477d('0x4fe9')+_0x477d('0x4fd3')+_0x477d('0x4fd4')+'\x0a'+_0x477d('0x44f0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4fc1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Field\x20is\x0a'+_0x477d('0x4fc3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3851')+'\x0a'+_0x477d('0x5185')+_0x477d('0x4fec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x36bf')+_0x477d('0x4fed')+_0x477d('0x5111')+_0x477d('0x36bf')+_0x477d('0x4fee')+_0x477d('0x3670')+_0x477d('0x4fef')+_0x477d('0x4ff0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x3aea')+_0x477d('0x3aeb')+_0x477d('0x3aec')+_0x477d('0x3aed')+_0x477d('0x3aee')+_0x477d('0x36bf')+_0x477d('0x3aef')+_0x477d('0x3af0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39dc')+_0x477d('0x387b')+_0x477d('0x5332')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22INTEGRATIONS.SAVE\x22>\x0a'+_0x477d('0x387d')+_0x477d('0x387e')+'\x0a'+_0x477d('0x5333')+_0x477d('0x4ff4')+_0x477d('0x4ff5')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3c56')+_0x477d('0x5114')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4fac')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3669')+_0x477d('0x366a')+_0x477d('0x3840')+'\x0a'+_0x477d('0x5188')+'\x0a'+_0x477d('0x4ff6')+_0x477d('0x4ff7')+'\x0a'+_0x477d('0x4ff8')+_0x477d('0x4ff9')+'\x0a'+_0x477d('0x5115')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Variable\x0a'+_0x477d('0x4ffa')+_0x477d('0x3888')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4fff')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x5002')+_0x477d('0x5003')+'\x0a'+_0x477d('0x5004')+_0x477d('0x5005')+_0x477d('0x3888')+'\x0a'+_0x477d('0x5334')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22sugarcrmAccountItemForm.option.$touched\x22\x20role=\x22alert\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x51f3')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x4ffe')+'\x0a'+_0x477d('0x5118')+_0x477d('0x5003')+'\x0a'+_0x477d('0x5119')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x500a')+_0x477d('0x5013')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x4ffe')+'\x0a'+_0x477d('0x511c')+_0x477d('0x500b')+_0x477d('0x500c')+_0x477d('0x511d')+_0x477d('0x500d')+_0x477d('0x511e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x511f')+_0x477d('0x5010')+_0x477d('0x500e')+_0x477d('0x500f')+_0x477d('0x3888')+_0x477d('0x5336')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22sugarcrmAccountItemForm.variableName.$touched\x22\x20role=\x22alert\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5122')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x4ffe')+'\x0a'+_0x477d('0x5014')+_0x477d('0x500b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5016')+_0x477d('0x3888')+_0x477d('0x4ffe')+'\x0a'+_0x477d('0x5017')+'\x0a'+'\x0a'+'\x0a'+'\x0a'+_0x477d('0x518e')+_0x477d('0x4ff8')+_0x477d('0x518f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20String\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Variable\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Custom\x20Variable\x0a'+_0x477d('0x3b25')+_0x477d('0x5337')+_0x477d('0x4ffc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x20field\x20is\x20required\x0a'+_0x477d('0x501c')+_0x477d('0x36e5')+_0x477d('0x501d')+_0x477d('0x501e')+_0x477d('0x501f')+_0x477d('0x5125')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5338')+_0x477d('0x5339')+_0x477d('0x3d1d')+_0x477d('0x5021')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x380f')+_0x477d('0x501d')+'\x0a'+_0x477d('0x5022')+'\x20\x20\x20\x20\x20\x20Value\x0a'+_0x477d('0x5024')+_0x477d('0x5025')+_0x477d('0x5026')+_0x477d('0x5027')+_0x477d('0x5028')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x502a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{dialColumn}}\x0a'+_0x477d('0x5028')+_0x477d('0x5029')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x533a')+_0x477d('0x533b')+_0x477d('0x3d1d')+_0x477d('0x502c')+_0x477d('0x502d')+_0x477d('0x3cfb')+_0x477d('0x380f')+'\x20\x20\x0a'+'\x0a'+_0x477d('0x502e')+_0x477d('0x5023')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5030')+_0x477d('0x502b')+_0x477d('0x501d')+_0x477d('0x5031'));_0x143a79[_0x477d('0x390')](_0x477d('0x533c'),_0x477d('0x533d')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3b62')+_0x477d('0x3b63')+_0x477d('0x533e')+_0x477d('0x533f')+_0x477d('0x5340')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x387b')+'\x0a'+_0x477d('0x5341')+_0x477d('0x5342')+_0x477d('0x3670')+'\x0a'+_0x477d('0x38e8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.sugarcrmAccount.id}}\x0a'+_0x477d('0x5343')+_0x477d('0x36bf')+_0x477d('0x3b68')+_0x477d('0x5344')+_0x477d('0x36bf')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x38ad')+_0x477d('0x5345')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x477d('0x3d05')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3699')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a18')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3b6c')+_0x477d('0x3e12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5038')+_0x477d('0x3f7b')+_0x477d('0x3e14')+_0x477d('0x5346')+_0x477d('0x3f7d')+_0x477d('0x5132')+_0x477d('0x385c')+_0x477d('0x3e17')+_0x477d('0x3e18')+_0x477d('0x4f9b')+_0x477d('0x5311')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ce')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x3e1a')+_0x477d('0x39d2')+_0x477d('0x4f48')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f5a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x4f5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x4f50')+_0x477d('0x5347')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x503b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f53')+_0x477d('0x36bf')+_0x477d('0x3e66')+_0x477d('0x4f54')+_0x477d('0x36bf')+_0x477d('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x503f')+_0x477d('0x5314')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-placeholder=\x22INTEGRATIONS.PASSWORD\x22\x20\x20required\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x4f5f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5042')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f60')+_0x477d('0x5316')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x513a')+_0x477d('0x39d2')+_0x477d('0x4f64')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e66')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MotionProxyAddress\x20must\x20be\x20a\x20valid\x20url\x20http://www.xcally.com\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x3e26')+_0x477d('0x3e27')+_0x477d('0x3e28')+_0x477d('0x3e29')+_0x477d('0x3e12')+_0x477d('0x3f7a')+_0x477d('0x5044')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e14')+_0x477d('0x5348')+_0x477d('0x3f7d')+_0x477d('0x5046')+_0x477d('0x377d')+_0x477d('0x5349')+_0x477d('0x5048')+_0x477d('0x513d')+_0x477d('0x5049')+_0x477d('0x534a')+_0x477d('0x43b1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x504a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x534b')+_0x477d('0x504d')+_0x477d('0x3d9e')+_0x477d('0x504e')+_0x477d('0x42cb')+_0x477d('0x3947')+_0x477d('0x3a45')+_0x477d('0x504f')+_0x477d('0x534c')+_0x477d('0x534d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4b')+_0x477d('0x41b9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x5051')+'\x20\x20\x20\x20\x0a'+_0x477d('0x5052')+_0x477d('0x5053')+_0x477d('0x5054')+_0x477d('0x5055')+_0x477d('0x5056')+_0x477d('0x5057')+_0x477d('0x5058')+_0x477d('0x3dfa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5059')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x491d')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x505b')+_0x477d('0x3dfa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm_cc.selectedSubjects.length}}\x20{{vm_cc.selectedSubjects.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected\x0a'+_0x477d('0x485c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+_0x477d('0x505e')+_0x477d('0x5143')+_0x477d('0x486e')+_0x477d('0x3823')+_0x477d('0x505f')+_0x477d('0x5060')+_0x477d('0x507a')+_0x477d('0x5061')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4862')+_0x477d('0x3827')+_0x477d('0x5144')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{subject.id}}\x0a'+_0x477d('0x5063')+_0x477d('0x5064')+_0x477d('0x5065')+_0x477d('0x382b')+_0x477d('0x5066')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{subject.content}}\x0a'+_0x477d('0x51a4')+_0x477d('0x5067')+_0x477d('0x5083')+_0x477d('0x5068')+_0x477d('0x5085')+_0x477d('0x5146')+_0x477d('0x5069')+_0x477d('0x506a')+_0x477d('0x506b')+_0x477d('0x368a')+_0x477d('0x506c')+_0x477d('0x382b')+_0x477d('0x506d')+_0x477d('0x506e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x509e')+_0x477d('0x3a52')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x508a')+_0x477d('0x5147')+_0x477d('0x5148')+_0x477d('0x3d5e')+_0x477d('0x4bf2')+_0x477d('0x508c')+_0x477d('0x5149')+_0x477d('0x5071')+_0x477d('0x3d5e')+_0x477d('0x4bf2')+_0x477d('0x4bf3')+_0x477d('0x4bff')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3826')+_0x477d('0x3833')+_0x477d('0x3834')+_0x477d('0x3835')+'\x20\x20\x20\x20\x0a'+_0x477d('0x508f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5054')+'\x20\x20\x20\x20\x20\x20\x20\x20DESCRIPTIONS\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x5057')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3dfa')+_0x477d('0x485c')+_0x477d('0x5075')+_0x477d('0x5076')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+_0x477d('0x5077')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5078')+_0x477d('0x485c')+_0x477d('0x5079')+_0x477d('0x3a16')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+_0x477d('0x505e')+_0x477d('0x514a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3823')+_0x477d('0x505f')+_0x477d('0x5060')+_0x477d('0x507a')+_0x477d('0x5061')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4862')+_0x477d('0x3827')+_0x477d('0x507b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{description.id}}\x0a'+_0x477d('0x507d')+_0x477d('0x507e')+_0x477d('0x507f')+_0x477d('0x382b')+_0x477d('0x5080')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{description.content}}\x0a'+_0x477d('0x5082')+_0x477d('0x514b')+_0x477d('0x5083')+_0x477d('0x5084')+_0x477d('0x5085')+_0x477d('0x5086')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{description.variableName}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm_cc.variablesById[description.VariableId].name\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x368a')+_0x477d('0x5089')+_0x477d('0x382b')+_0x477d('0x506d')+_0x477d('0x506e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a52')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x508a')+_0x477d('0x508b')+_0x477d('0x51a5')+_0x477d('0x3d5e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x508c')+_0x477d('0x508d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Description\x0a'+_0x477d('0x3d5e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4bf3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x382b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5072')+'\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5054')+'\x20\x20\x20\x20\x20\x20\x20\x20FIELDS\x0a'+_0x477d('0x5056')+_0x477d('0x5057')+_0x477d('0x514d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x485c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x514e')+_0x477d('0x491d')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+_0x477d('0x514f')+_0x477d('0x3dfa')+_0x477d('0x5091')+_0x477d('0x485c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x3660')+_0x477d('0x505e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x486e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x505f')+_0x477d('0x5060')+_0x477d('0x507a')+_0x477d('0x5061')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4862')+_0x477d('0x3827')+_0x477d('0x5093')+_0x477d('0x51a8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{field.nameField\x20||\x20field.idField}}\x0a'+_0x477d('0x5096')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5150')+_0x477d('0x5097')+_0x477d('0x5098')+_0x477d('0x5099')+_0x477d('0x5083')+_0x477d('0x509a')+_0x477d('0x5085')+_0x477d('0x509b')+_0x477d('0x509c')+_0x477d('0x509d')+_0x477d('0x506b')+_0x477d('0x368a')+_0x477d('0x5151')+_0x477d('0x382b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x506f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x5070')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x509f')+_0x477d('0x50a0')+_0x477d('0x3d5e')+_0x477d('0x4bf2')+_0x477d('0x508c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Field\x0a'+_0x477d('0x3d5e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4bf3')+_0x477d('0x4bff')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3833')+_0x477d('0x3834')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5072')+'\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x50ae')+_0x477d('0x534e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20layout=\x22row\x22\x20layout-sm=\x22column\x22\x20layout-align=\x22center\x20center\x22\x20layout-wrap>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x50b2')+_0x477d('0x39e1')+_0x477d('0x50b3')+_0x477d('0x3cfb')+_0x477d('0x380f')+_0x477d('0x50b4')+_0x477d('0x377d')+'\x0a'+_0x477d('0x3e27')+_0x477d('0x3e28')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e2a')+'\x0a'+_0x477d('0x3699')+_0x477d('0x3a5a')+'\x0a'+_0x477d('0x377d'));_0x143a79[_0x477d('0x390')]('app/main/apps/integrations/views/sugarcrmAccounts/sugarcrmAccounts.html',_0x477d('0x534f')+'\x0a'+_0x477d('0x39eb')+_0x477d('0x3bef')+'\x0a'+_0x477d('0x3abc')+_0x477d('0x37cd')+_0x477d('0x39ec')+_0x477d('0x39ed')+_0x477d('0x4f71')+_0x477d('0x3760')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SugarcrmAccounts\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+_0x477d('0x39ef')+'\x0a'+_0x477d('0x39f0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39f2')+_0x477d('0x39f3')+_0x477d('0x39f4')+_0x477d('0x39f5')+_0x477d('0x3abf')+_0x477d('0x4f72')+_0x477d('0x39a2')+_0x477d('0x36c0')+_0x477d('0x39f7')+_0x477d('0x36bf')+_0x477d('0x3699')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39f9')+_0x477d('0x5350')+_0x477d('0x39fa')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39fc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Back\x0a'+_0x477d('0x372b')+_0x477d('0x36e5')+'\x0a'+_0x477d('0x39ff')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5351')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20selected\x0a'+_0x477d('0x3760')+'\x0a'+_0x477d('0x3daf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3674')+_0x477d('0x3a09')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5352')+_0x477d('0x3a0c')+_0x477d('0x3832')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5353')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Select\x20none\x0a'+_0x477d('0x3832')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a10')+_0x477d('0x3a11')+_0x477d('0x36c0')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5354')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5355')+_0x477d('0x4f7c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x36e5')+_0x477d('0x3699')+_0x477d('0x3a17')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a1a')+_0x477d('0x3ac6')+'\x0a'+_0x477d('0x3a1b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5356')+_0x477d('0x5357')+_0x477d('0x3a21')+_0x477d('0x3a22')+_0x477d('0x50d3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.NAME\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x4f81')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.URI\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a2c')+_0x477d('0x3a2d')+_0x477d('0x3a2e')+_0x477d('0x5358')+_0x477d('0x3acd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a'+_0x477d('0x3a31')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a2c')+_0x477d('0x5359')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x535a')+_0x477d('0x535b')+_0x477d('0x535c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{sugarcrmAccount.name}}\x0a'+_0x477d('0x535d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22username\x20\x22\x20>{{sugarcrmAccount.username}}\x0a'+_0x477d('0x535d')+_0x477d('0x535e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a43')+'\x0a'+_0x477d('0x3d9e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22INTEGRATIONS.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a'+_0x477d('0x3a44')+_0x477d('0x3947')+'\x0a'+_0x477d('0x3a45')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3dc6')+'\x0a'+_0x477d('0x5360')+_0x477d('0x5361')+_0x477d('0x5362')+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3a47')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3dc6')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3939')+'\x0a'+'\x0a'+_0x477d('0x3a2c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ae2')+_0x477d('0x3a57')+'\x0a'+_0x477d('0x5365')+_0x477d('0x3ae4')+_0x477d('0x5366')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3699')+_0x477d('0x3a5a')+'\x0a'+_0x477d('0x5367')+_0x477d('0x5368')+_0x477d('0x5369')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3735')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3699'));_0x143a79[_0x477d('0x390')](_0x477d('0x536a'),'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x381e')+_0x477d('0x365d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x477d('0x3843')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x0a'+_0x477d('0x536b')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x536c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d6')+_0x477d('0x536d')+_0x477d('0x39d2')+_0x477d('0x4f68')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x536e')+_0x477d('0x536f')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vTiger_User_Name\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5370')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x52e6')+_0x477d('0x5373')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x5374')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x52e7')+_0x477d('0x36bf')+_0x477d('0x3e66')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Host\x20must\x20be\x20a\x20valid\x20url\x20http://www.xcally.com\x0a'+_0x477d('0x36bf')+_0x477d('0x39d9')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f60')+_0x477d('0x5375')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x4f62')+_0x477d('0x5376')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MotionProxyAddress\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3e66')+_0x477d('0x5043')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3663')+'\x0a'+_0x477d('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5377')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x477d('0x5378')+_0x477d('0x4f6a')+_0x477d('0x39e0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x5379')+_0x477d('0x3c8b')+_0x477d('0x537a')+_0x477d('0x537b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20VTIGERACCOUNT\x0a'+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x537c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22INTEGRATIONS.DELETE\x22>\x0a'+_0x477d('0x3a16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x39e9')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79['put'](_0x477d('0x1b95'),_0x477d('0x537d')+_0x477d('0x537e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39c7')+_0x477d('0x4f9b')+_0x477d('0x537f')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x5380')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f48')+_0x477d('0x36bf')+_0x477d('0x39d9')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Channel\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.VOICE\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3aac')+_0x477d('0x5381')+_0x477d('0x39d2')+_0x477d('0x516b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x3670')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f49')+_0x477d('0x5382')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3de0')+_0x477d('0x3f5c')+_0x477d('0x4fa3')+_0x477d('0x3a46')+_0x477d('0x50ee')+_0x477d('0x3fc8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39dc')+_0x477d('0x387b')+_0x477d('0x5384')+_0x477d('0x39de')+_0x477d('0x5385')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22INTEGRATIONS.SAVE\x22\x20translate-attr-aria-label=\x22INTEGRATIONS.SAVE\x22>\x0a'+_0x477d('0x39e0')+_0x477d('0x39e1')+'\x0a'+_0x477d('0x5386')+_0x477d('0x3c8b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22vtigerConfigurationForm.$invalid\x22\x0a'+_0x477d('0x5387')+_0x477d('0x5388')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5389')+_0x477d('0x4f6f')+_0x477d('0x3a16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a'+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79['put'](_0x477d('0x1b99'),_0x477d('0x538a')+_0x477d('0x538b')+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x3aea')+_0x477d('0x3aeb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x3aed')+_0x477d('0x3aee')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3af0')+_0x477d('0x3674')+_0x477d('0x3670')+_0x477d('0x36c0')+'\x0a'+_0x477d('0x4fae')+_0x477d('0x50fd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x50ff')+_0x477d('0x4faf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4fb0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x0a'+_0x477d('0x4fb2')+_0x477d('0x4fb3')+_0x477d('0x4fb4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x538c')+_0x477d('0x538d')+_0x477d('0x3c59')+_0x477d('0x4fb6')+_0x477d('0x4fb7')+_0x477d('0x382a')+_0x477d('0x36a9')+_0x477d('0x3c04')+_0x477d('0x4fb8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Content\x0a'+_0x477d('0x5176')+_0x477d('0x538e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22vtigerAccountItemForm.content.$touched\x22\x20role=\x22alert\x22>\x0a'+_0x477d('0x3c59')+_0x477d('0x4fbb')+_0x477d('0x4fbc')+_0x477d('0x382a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3c04')+_0x477d('0x4fbd')+_0x477d('0x384e')+_0x477d('0x4fbe')+_0x477d('0x4fbf')+_0x477d('0x538f')+_0x477d('0x5390')+_0x477d('0x4fc1')+_0x477d('0x4fc2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x382a')+_0x477d('0x3851')+'\x0a'+_0x477d('0x384e')+_0x477d('0x5105')+_0x477d('0x4fc4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20String\x0a'+_0x477d('0x4fc5')+_0x477d('0x4fc6')+_0x477d('0x44f0')+_0x477d('0x5391')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22vtigerAccountItemForm.keyType.$touched\x22\x20role=\x22alert\x22>\x0a'+_0x477d('0x4fc1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x20field\x20is\x0a'+_0x477d('0x4fc3')+_0x477d('0x385c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4fc9')+_0x477d('0x4fca')+_0x477d('0x4fcb')+_0x477d('0x5392')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22vtigerAccountItemForm.keyContent.$touched\x22\x20role=\x22alert\x22>\x0a'+_0x477d('0x4fc1')+_0x477d('0x4fcd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20field\x20is\x20required\x0a'+_0x477d('0x385c')+_0x477d('0x382a')+_0x477d('0x3851')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Value\x0a'+_0x477d('0x510a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-selected-text=\x22vm.getSelectedVariable()\x22\x20required>\x0a'+_0x477d('0x4fd0')+_0x477d('0x4fd1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-repeat=\x22agentColumn\x20in\x20vm.voiceAgentReportColumns\x22>{{agentColumn}}\x0a'+_0x477d('0x4fd3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4fd5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Value\x0a'+_0x477d('0x4fdd')+_0x477d('0x510d')+_0x477d('0x44ef')+_0x477d('0x44f0')+_0x477d('0x3851')+_0x477d('0x36bf')+_0x477d('0x4fde')+_0x477d('0x3670')+_0x477d('0x4fdf')+_0x477d('0x4fe0')+_0x477d('0x4fe1')+_0x477d('0x384e')+_0x477d('0x4fe2')+_0x477d('0x4fe3')+_0x477d('0x510e')+'\x0a'+_0x477d('0x4fe4')+_0x477d('0x4fe5')+_0x477d('0x4fe6')+_0x477d('0x4fd3')+_0x477d('0x4fd4')+'\x0a'+_0x477d('0x4fe7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4fd4')+'\x0a'+_0x477d('0x44f0')+_0x477d('0x5395')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22vtigerAccountItemForm.customField.$touched\x22\x20role=\x22alert\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4feb')+_0x477d('0x4fc3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3851')+'\x0a'+_0x477d('0x5185')+_0x477d('0x4fec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x36bf')+_0x477d('0x4fed')+_0x477d('0x5111')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x4fef')+_0x477d('0x4ff0')+_0x477d('0x3670')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3aec')+_0x477d('0x3aed')+_0x477d('0x3aee')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3674')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x3663')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5114')+_0x477d('0x3a16')+_0x477d('0x4fac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x3669')+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x0a'+_0x477d('0x5188')+'\x0a'+_0x477d('0x4ff6')+_0x477d('0x4ff7')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20Type\x0a'+_0x477d('0x4ff9')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20String\x0a'+_0x477d('0x5189')+_0x477d('0x4ffa')+_0x477d('0x3888')+_0x477d('0x5397')+_0x477d('0x4ffb')+_0x477d('0x4ffc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x20field\x20is\x20required\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x4ffe')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x5002')+_0x477d('0x5003')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5005')+_0x477d('0x3888')+'\x0a'+_0x477d('0x5398')+_0x477d('0x5399')+_0x477d('0x4ffc')+_0x477d('0x51f3')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x4ffe')+'\x0a'+_0x477d('0x5118')+_0x477d('0x5003')+'\x0a'+_0x477d('0x5119')+'\x0a'+_0x477d('0x539a')+_0x477d('0x539b')+_0x477d('0x4ffc')+_0x477d('0x500a')+_0x477d('0x5013')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4ffe')+'\x0a'+_0x477d('0x511c')+_0x477d('0x500b')+_0x477d('0x500c')+_0x477d('0x511d')+_0x477d('0x500d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{agentColumn}}\x0a'+_0x477d('0x500e')+_0x477d('0x500f')+_0x477d('0x511f')+_0x477d('0x5010')+_0x477d('0x500e')+_0x477d('0x500f')+_0x477d('0x3888')+_0x477d('0x539c')+_0x477d('0x539d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Variable\x20name\x20field\x20is\x0a'+_0x477d('0x5013')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x5014')+_0x477d('0x500b')+_0x477d('0x5015')+_0x477d('0x5016')+_0x477d('0x3888')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x5017')+'\x0a'+_0x477d('0x3792')+'\x0a'+_0x477d('0x5018')+'\x20\x20\x20\x20\x0a'+_0x477d('0x4ff8')+_0x477d('0x518f')+_0x477d('0x5019')+_0x477d('0x5123')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Custom\x20Variable\x0a'+_0x477d('0x3b25')+_0x477d('0x539e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4ffd')+_0x477d('0x501c')+_0x477d('0x36e5')+_0x477d('0x501d')+_0x477d('0x501e')+'\x20\x20\x0a'+_0x477d('0x5125')+_0x477d('0x5020')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x501d')+'\x0a'+_0x477d('0x5022')+'\x20\x20\x20\x20\x20\x20Value\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{agentColumn}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5029')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{dialColumn}}\x0a'+_0x477d('0x5028')+_0x477d('0x5029')+_0x477d('0x502b')+_0x477d('0x53a0')+_0x477d('0x53a1')+_0x477d('0x3d1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Variable\x20name\x20field\x20is\x0a'+_0x477d('0x502d')+_0x477d('0x3cfb')+_0x477d('0x380f')+_0x477d('0x501d')+'\x0a'+'\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20Value\x0a'+_0x477d('0x502f')+_0x477d('0x5030')+_0x477d('0x502b')+_0x477d('0x501d')+_0x477d('0x5031'));_0x143a79['put'](_0x477d('0x1a9'),'\x0a'+'\x0a'+_0x477d('0x39eb')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3b63')+_0x477d('0x53a2')+_0x477d('0x53a3')+_0x477d('0x53a4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x372b')+'\x0a'+_0x477d('0x387b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+'\x0a'+_0x477d('0x38e8')+_0x477d('0x3b65')+_0x477d('0x53a5')+_0x477d('0x53a6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b68')+_0x477d('0x53a7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e11')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3699')+_0x477d('0x39f8')+'\x0a'+_0x477d('0x3a18')+_0x477d('0x3b6b')+'\x0a'+_0x477d('0x3b6c')+_0x477d('0x3e12')+_0x477d('0x3f7a')+_0x477d('0x5038')+_0x477d('0x3f7b')+_0x477d('0x3e14')+_0x477d('0x53a8')+_0x477d('0x3f7d')+_0x477d('0x5132')+_0x477d('0x385c')+_0x477d('0x3e17')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f9b')+_0x477d('0x536b')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ce')+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1a')+_0x477d('0x39d2')+_0x477d('0x4f48')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x0a'+_0x477d('0x53a9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x4f68')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x536e')+_0x477d('0x536f')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x53aa')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5370')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5372')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x52e6')+_0x477d('0x5373')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x52e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e66')+_0x477d('0x52ad')+_0x477d('0x36bf')+_0x477d('0x39d9')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f60')+_0x477d('0x5375')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f62')+_0x477d('0x513a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MotionProxyAddress\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3e66')+_0x477d('0x5043')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d9')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e27')+_0x477d('0x3e28')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5044')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e14')+_0x477d('0x53ab')+_0x477d('0x3f7d')+'\x20\x20\x20\x20CONFIGURATIONS\x0a'+_0x477d('0x377d')+'\x0a'+_0x477d('0x5048')+_0x477d('0x513d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.CONFIGURATIONS\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x53ac')+_0x477d('0x43b1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+_0x477d('0x504a')+_0x477d('0x53ad')+_0x477d('0x53ae')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3d9e')+_0x477d('0x504e')+_0x477d('0x42cb')+_0x477d('0x3947')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x504f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20VtigerConfiguration\x0a'+_0x477d('0x3a52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41b9')+_0x477d('0x42b0')+_0x477d('0x5141')+_0x477d('0x3698')+_0x477d('0x486c')+_0x477d('0x5051')+_0x477d('0x5142')+_0x477d('0x5052')+_0x477d('0x5053')+_0x477d('0x5054')+'\x20\x20\x20\x20\x20\x20\x20\x20SUBJECTS\x0a'+_0x477d('0x5056')+_0x477d('0x5057')+_0x477d('0x5058')+_0x477d('0x3dfa')+_0x477d('0x485c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x505a')+_0x477d('0x491d')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x505b')+_0x477d('0x3dfa')+_0x477d('0x505c')+_0x477d('0x485c')+_0x477d('0x505d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x486e')+_0x477d('0x3823')+_0x477d('0x505f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.TYPE\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x507a')+_0x477d('0x5061')+_0x477d('0x3826')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3827')+_0x477d('0x5144')+_0x477d('0x5062')+_0x477d('0x5063')+_0x477d('0x5064')+_0x477d('0x5065')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5066')+_0x477d('0x5145')+_0x477d('0x51a4')+_0x477d('0x5067')+_0x477d('0x5083')+_0x477d('0x5068')+_0x477d('0x5085')+_0x477d('0x5146')+_0x477d('0x5069')+_0x477d('0x506a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x368a')+_0x477d('0x506c')+_0x477d('0x382b')+_0x477d('0x506d')+_0x477d('0x506e')+_0x477d('0x506f')+_0x477d('0x509e')+_0x477d('0x3a52')+'\x0a'+_0x477d('0x5070')+_0x477d('0x508a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Subject\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4bf2')+_0x477d('0x508c')+_0x477d('0x5149')+_0x477d('0x5071')+_0x477d('0x3d5e')+_0x477d('0x4bf2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4bff')+_0x477d('0x382b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3833')+_0x477d('0x3834')+_0x477d('0x3835')+'\x20\x20\x20\x20\x0a'+_0x477d('0x508f')+'\x0a'+_0x477d('0x5053')+'\x20\x20\x20\x20\x0a'+_0x477d('0x5073')+'\x20\x20\x20\x20\x0a'+_0x477d('0x5057')+_0x477d('0x5074')+_0x477d('0x3dfa')+_0x477d('0x485c')+_0x477d('0x5075')+_0x477d('0x5076')+_0x477d('0x491d')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3dfa')+_0x477d('0x5078')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5079')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x3660')+_0x477d('0x505e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x486e')+_0x477d('0x3823')+_0x477d('0x505f')+_0x477d('0x5060')+_0x477d('0x507a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3826')+_0x477d('0x4862')+_0x477d('0x3827')+_0x477d('0x507b')+_0x477d('0x507c')+_0x477d('0x507d')+_0x477d('0x507e')+_0x477d('0x507f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5080')+_0x477d('0x5081')+_0x477d('0x5082')+_0x477d('0x514b')+_0x477d('0x5083')+_0x477d('0x5084')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5086')+_0x477d('0x5087')+_0x477d('0x5088')+_0x477d('0x506b')+_0x477d('0x368a')+_0x477d('0x5089')+_0x477d('0x382b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x506f')+_0x477d('0x509e')+_0x477d('0x3a52')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x508a')+_0x477d('0x508b')+_0x477d('0x51a5')+_0x477d('0x3d5e')+_0x477d('0x4bf2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x508d')+_0x477d('0x508e')+_0x477d('0x3d5e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4bf3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3826')+_0x477d('0x3833')+_0x477d('0x3834')+_0x477d('0x3835')+'\x20\x20\x20\x20\x0a'+_0x477d('0x508f')+'\x0a'+_0x477d('0x5090')+_0x477d('0x5054')+'\x20\x20\x20\x20\x20\x20\x20\x20FIELDS\x0a'+_0x477d('0x5056')+_0x477d('0x5057')+_0x477d('0x514d')+_0x477d('0x3dfa')+_0x477d('0x485c')+_0x477d('0x51a6')+_0x477d('0x514e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3660')+_0x477d('0x514f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5091')+_0x477d('0x485c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a16')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3660')+_0x477d('0x505e')+_0x477d('0x5092')+_0x477d('0x486e')+_0x477d('0x3823')+_0x477d('0x505f')+_0x477d('0x5060')+_0x477d('0x507a')+_0x477d('0x5061')+_0x477d('0x3826')+_0x477d('0x4862')+_0x477d('0x3827')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x51a8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5095')+_0x477d('0x5096')+_0x477d('0x382b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5097')+_0x477d('0x5098')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm_cc.variablesById[field.VariableId].name\x20}}\x0a'+_0x477d('0x5083')+_0x477d('0x509a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x509b')+_0x477d('0x509c')+_0x477d('0x509d')+_0x477d('0x506b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{field.content}}\x0a'+_0x477d('0x382b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x506f')+_0x477d('0x509e')+_0x477d('0x3a52')+'\x0a'+_0x477d('0x5070')+_0x477d('0x508a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Field\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4bf2')+_0x477d('0x508c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x50a2')+_0x477d('0x3d5e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4bf3')+_0x477d('0x4bff')+_0x477d('0x382b')+_0x477d('0x3826')+_0x477d('0x3833')+_0x477d('0x3834')+_0x477d('0x3835')+_0x477d('0x5072')+_0x477d('0x508f')+'\x0a'+_0x477d('0x39ca')+_0x477d('0x50ae')+'\x20\x20\x20\x20\x20\x20ADD\x20CONFIGURATION\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x380f')+_0x477d('0x50b4')+_0x477d('0x377d')+'\x0a'+_0x477d('0x3e27')+_0x477d('0x3e28')+_0x477d('0x3e29')+_0x477d('0x3e2a')+'\x0a'+_0x477d('0x3699')+_0x477d('0x3a5a')+'\x0a'+_0x477d('0x377d'));_0x143a79[_0x477d('0x390')](_0x477d('0x1a3'),_0x477d('0x53af')+'\x0a'+_0x477d('0x39eb')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3abc')+_0x477d('0x37cd')+_0x477d('0x39ec')+_0x477d('0x39ed')+_0x477d('0x4f71')+_0x477d('0x3760')+_0x477d('0x53b0')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39ef')+'\x0a'+_0x477d('0x39f0')+_0x477d('0x39f1')+_0x477d('0x39f2')+_0x477d('0x39f3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3abf')+_0x477d('0x4f72')+_0x477d('0x39a2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36bf')+_0x477d('0x3699')+_0x477d('0x39f8')+'\x0a'+_0x477d('0x39f9')+_0x477d('0x53b1')+_0x477d('0x39fa')+'\x0a'+_0x477d('0x53b2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39fd')+_0x477d('0x50cc')+_0x477d('0x372b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a00')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedVtigerAccounts.length}}\x0a'+_0x477d('0x50cd')+_0x477d('0x3760')+'\x0a'+_0x477d('0x3daf')+_0x477d('0x3a04')+_0x477d('0x3a05')+_0x477d('0x3a06')+_0x477d('0x4f77')+_0x477d('0x3a08')+_0x477d('0x3674')+_0x477d('0x3a09')+_0x477d('0x3a0a')+_0x477d('0x53b3')+_0x477d('0x3a0c')+_0x477d('0x3832')+_0x477d('0x3a0f')+_0x477d('0x3a0a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a0e')+_0x477d('0x3832')+_0x477d('0x3a0f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x53b4')+_0x477d('0x3a13')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x53b5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22INTEGRATIONS.DELETE_SELECTED\x22>\x0a'+_0x477d('0x3a16')+_0x477d('0x387e')+_0x477d('0x382a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3699')+_0x477d('0x3a17')+'\x0a'+_0x477d('0x3a18')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a1a')+_0x477d('0x3ac6')+'\x0a'+_0x477d('0x3a1b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a1d')+_0x477d('0x3a1e')+_0x477d('0x53b6')+_0x477d('0x53b7')+_0x477d('0x3a21')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.ID\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x50d4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.VTIGER_USER_NAME\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x53b8')+_0x477d('0x3acb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a2d')+_0x477d('0x3a2e')+_0x477d('0x53b9')+_0x477d('0x3acd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f83')+_0x477d('0x3a31')+_0x477d('0x3a32')+_0x477d('0x3a2c')+_0x477d('0x53ba')+_0x477d('0x53bb')+_0x477d('0x53bc')+_0x477d('0x53bd')+_0x477d('0x53be')+_0x477d('0x53bf')+_0x477d('0x53c0')+_0x477d('0x53bf')+_0x477d('0x53c1')+_0x477d('0x53bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22remoteUri\x20\x22\x20>{{vtigerAccount.remoteUri}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a42')+'\x0a'+_0x477d('0x3a43')+'\x0a'+_0x477d('0x3d9e')+_0x477d('0x50d9')+_0x477d('0x3a44')+_0x477d('0x3947')+'\x0a'+_0x477d('0x3a45')+'\x0a'+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4d')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x53c2')+_0x477d('0x53c3')+_0x477d('0x53c4')+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3dc6')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4d')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x53c7')+_0x477d('0x53c8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20VtigerAccount\x0a'+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3692')+'\x0a'+_0x477d('0x3693')+_0x477d('0x3939')+'\x0a'+'\x0a'+_0x477d('0x3a2c')+_0x477d('0x3a56')+_0x477d('0x3ae2')+_0x477d('0x3a57')+'\x0a'+_0x477d('0x53c9')+_0x477d('0x3ae4')+_0x477d('0x53ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3cb5')+_0x477d('0x36e5')+_0x477d('0x3ae6')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3a5a')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x53cb')+_0x477d('0x53cc')+_0x477d('0x3cb8')+'\x20\x20\x20\x20\x0a'+_0x477d('0x53cd')+_0x477d('0x3699'));_0x143a79[_0x477d('0x390')](_0x477d('0x1bed'),'\x0a'+_0x477d('0x53ce')+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39c7')+_0x477d('0x4f9b')+_0x477d('0x53cf')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x53d0')+_0x477d('0x39d2')+_0x477d('0x4f48')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x0a'+_0x477d('0x53d1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x3de0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5039')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27INTEGRATIONS.INTEGRATION_TAB\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3fc8')+_0x477d('0x4f4c')+_0x477d('0x3a46')+_0x477d('0x4f4d')+_0x477d('0x3aac')+_0x477d('0x53d2')+_0x477d('0x39d2')+_0x477d('0x4f4f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3e73')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Username\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f54')+_0x477d('0x36bf')+_0x477d('0x39d9')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f55')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Password\x0a'+_0x477d('0x53d7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x53d8')+_0x477d('0x3aac')+_0x477d('0x53d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x53da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Password\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x53db')+_0x477d('0x39d2')+_0x477d('0x4f5f')+_0x477d('0x36bf')+_0x477d('0x5041')+_0x477d('0x5042')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3eb4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x53dc')+_0x477d('0x53dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x53de')+_0x477d('0x39d2')+_0x477d('0x53df')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f60')+_0x477d('0x53e0')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x4f62')+_0x477d('0x53e1')+_0x477d('0x39d2')+_0x477d('0x4f64')+_0x477d('0x36bf')+_0x477d('0x3e66')+_0x477d('0x5043')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f65')+_0x477d('0x53e2')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cf')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x53e3')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387b')+_0x477d('0x53e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x477d('0x53e5')+_0x477d('0x4f6a')+_0x477d('0x39e0')+_0x477d('0x39e1')+'\x0a'+_0x477d('0x53e6')+_0x477d('0x3c8b')+_0x477d('0x53e7')+_0x477d('0x53e8')+_0x477d('0x53e9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x39e5')+_0x477d('0x53ea')+_0x477d('0x4f6f')+_0x477d('0x3a16')+_0x477d('0x4fac')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39e9')+_0x477d('0x366a')+'\x0a');_0x143a79['put'](_0x477d('0x1bd4'),_0x477d('0x53eb')+'\x20\x20\x20\x20\x0a'+_0x477d('0x381e')+_0x477d('0x365d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x3aea')+_0x477d('0x3aeb')+_0x477d('0x3aec')+_0x477d('0x3aed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3aef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3674')+_0x477d('0x3670')+_0x477d('0x36c0')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x50fd')+_0x477d('0x50fe')+_0x477d('0x50ff')+_0x477d('0x4faf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5100')+_0x477d('0x4fb0')+_0x477d('0x46d4')+_0x477d('0x4fb1')+_0x477d('0x4fb2')+_0x477d('0x4fb3')+_0x477d('0x4fb4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x53ec')+_0x477d('0x53ed')+_0x477d('0x3c59')+_0x477d('0x4fb6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x0a'+_0x477d('0x382a')+_0x477d('0x36a9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4fb8')+_0x477d('0x4fb9')+_0x477d('0x5176')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4fbd')+_0x477d('0x384e')+_0x477d('0x4fbe')+_0x477d('0x4fbf')+_0x477d('0x53ef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22zendeskAccountItemForm.key.$touched\x22\x20role=\x22alert\x22>\x0a'+_0x477d('0x4fc1')+_0x477d('0x4fc2')+_0x477d('0x4fc3')+_0x477d('0x385c')+_0x477d('0x382a')+_0x477d('0x3851')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5105')+_0x477d('0x4fc4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20String\x0a'+_0x477d('0x4fc5')+_0x477d('0x4fc6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x53f0')+_0x477d('0x53f1')+_0x477d('0x4fc1')+_0x477d('0x525c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x0a'+_0x477d('0x385c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3851')+'\x0a'+_0x477d('0x4fc9')+_0x477d('0x4fca')+_0x477d('0x4fcb')+_0x477d('0x53f2')+_0x477d('0x53f3')+_0x477d('0x4fc1')+_0x477d('0x4fcd')+_0x477d('0x517f')+_0x477d('0x385c')+_0x477d('0x382a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x5180')+_0x477d('0x4fce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4fd0')+_0x477d('0x4fd1')+_0x477d('0x4fd2')+_0x477d('0x4fd3')+_0x477d('0x4fd4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4fd6')+_0x477d('0x4fd7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4fda')+_0x477d('0x4fdb')+_0x477d('0x510c')+_0x477d('0x385c')+_0x477d('0x382a')+_0x477d('0x3851')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Value\x0a'+_0x477d('0x4fdd')+_0x477d('0x510d')+_0x477d('0x44ef')+_0x477d('0x44f0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x4fdf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4fe1')+_0x477d('0x384e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20FIELD\x0a'+_0x477d('0x4fe3')+_0x477d('0x510e')+'\x0a'+_0x477d('0x4fe4')+_0x477d('0x4fe5')+_0x477d('0x4fe6')+_0x477d('0x4fd3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4fe7')+_0x477d('0x4fe8')+_0x477d('0x4fe9')+_0x477d('0x4fd3')+_0x477d('0x4fd4')+'\x0a'+_0x477d('0x44f0')+_0x477d('0x53f5')+_0x477d('0x53f6')+_0x477d('0x4fc1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Field\x20is\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x382a')+_0x477d('0x3851')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4fed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

Account\x20is\x20not\x20connected.\x20Please\x20check\x20your\x20configurations!

\x0a'+_0x477d('0x36bf')+_0x477d('0x4fee')+_0x477d('0x3670')+_0x477d('0x4fef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

No\x20Item

\x0a'+_0x477d('0x3670')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3aec')+_0x477d('0x3aed')+_0x477d('0x3aee')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3af0')+_0x477d('0x3674')+_0x477d('0x3670')+_0x477d('0x36c0')+_0x477d('0x3663')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x53f7')+_0x477d('0x4ff2')+_0x477d('0x387d')+_0x477d('0x387e')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x3c56')+_0x477d('0x5114')+_0x477d('0x3a16')+_0x477d('0x4fac')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3669')+_0x477d('0x366a')+_0x477d('0x3840')+'\x0a'+_0x477d('0x5188')+'\x0a'+_0x477d('0x4ff6')+_0x477d('0x4ff7')+'\x0a'+_0x477d('0x4ff8')+_0x477d('0x4ff9')+'\x0a'+_0x477d('0x5115')+_0x477d('0x5189')+_0x477d('0x4ffa')+_0x477d('0x3888')+_0x477d('0x53f8')+_0x477d('0x4ffb')+_0x477d('0x4ffc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x20field\x20is\x20required\x0a'+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4ffe')+'\x0a'+_0x477d('0x4fff')+'\x0a'+_0x477d('0x5000')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x5002')+'\x20\x20\x20\x20\x20\x20\x20\x20Content\x0a'+'\x0a'+_0x477d('0x5004')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{option.name}}\x0a'+_0x477d('0x3888')+'\x0a'+_0x477d('0x53f9')+_0x477d('0x53fa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x51f3')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x5118')+_0x477d('0x5003')+'\x0a'+_0x477d('0x5119')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20Content\x20field\x20is\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+_0x477d('0x4ffe')+'\x0a'+_0x477d('0x511c')+_0x477d('0x500b')+_0x477d('0x500c')+_0x477d('0x511d')+_0x477d('0x500d')+_0x477d('0x511e')+_0x477d('0x500e')+_0x477d('0x500f')+_0x477d('0x511f')+_0x477d('0x5010')+_0x477d('0x500e')+_0x477d('0x500f')+_0x477d('0x3888')+_0x477d('0x53fc')+_0x477d('0x53fd')+_0x477d('0x4ffc')+_0x477d('0x5122')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x4ffe')+'\x0a'+_0x477d('0x5014')+_0x477d('0x500b')+_0x477d('0x5015')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{variable.name}}\x0a'+_0x477d('0x3888')+_0x477d('0x4ffe')+'\x0a'+_0x477d('0x5017')+'\x0a'+_0x477d('0x3792')+'\x0a'+_0x477d('0x5018')+_0x477d('0x518e')+_0x477d('0x4ff8')+_0x477d('0x518f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20String\x0a'+_0x477d('0x5123')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Custom\x20Variable\x0a'+_0x477d('0x3b25')+_0x477d('0x53fe')+_0x477d('0x4ffc')+_0x477d('0x4ffd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+_0x477d('0x501d')+'\x20\x20\x0a'+'\x20\x20\x0a'+_0x477d('0x5125')+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x0a'+'\x0a'+_0x477d('0x5022')+_0x477d('0x5023')+_0x477d('0x5024')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5027')+_0x477d('0x5028')+_0x477d('0x5029')+_0x477d('0x502a')+_0x477d('0x5127')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x502b')+'\x20\x20\x20\x20\x20\x20Value\x0a'+_0x477d('0x502f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{variable.name}}\x0a'+_0x477d('0x502b')+_0x477d('0x501d')+'\x20\x20');_0x143a79[_0x477d('0x390')](_0x477d('0x17b'),_0x477d('0x5401')+'\x0a'+_0x477d('0x39eb')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3b63')+_0x477d('0x5402')+_0x477d('0x5403')+_0x477d('0x5404')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x372b')+'\x0a'+_0x477d('0x387b')+'\x0a'+_0x477d('0x5405')+_0x477d('0x5406')+_0x477d('0x3670')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.zendeskAccount.id}}\x0a'+_0x477d('0x5407')+_0x477d('0x36bf')+_0x477d('0x3b68')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.zendeskAccount.createdAt\x20|\x20date:\x27medium\x27}}\x0a'+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x5408')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x477d('0x3d05')+'\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x0a'+_0x477d('0x3699')+_0x477d('0x39f8')+'\x0a'+_0x477d('0x3a18')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3b6c')+_0x477d('0x3e12')+_0x477d('0x3f7a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ACCOUNT\x0a'+_0x477d('0x3f7b')+_0x477d('0x3e14')+_0x477d('0x5409')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GENERAL\x0a'+_0x477d('0x385c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e18')+_0x477d('0x4f9b')+_0x477d('0x53cf')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f48')+_0x477d('0x36bf')+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x4f49')+_0x477d('0x53d1')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x3de0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5039')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27INTEGRATIONS.INTEGRATION_TAB\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3fc8')+_0x477d('0x4f4c')+_0x477d('0x3a46')+_0x477d('0x4f4d')+_0x477d('0x3aac')+_0x477d('0x503a')+_0x477d('0x39d2')+_0x477d('0x4f4f')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3e73')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Username\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f50')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Uri\x20must\x20be\x20a\x20valid\x20url\x20http://www.xcally.com\x0a'+_0x477d('0x36bf')+_0x477d('0x39d9')+_0x477d('0x36a1')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AuthType\x0a'+_0x477d('0x540a')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5e')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x3de0')+_0x477d('0x53d6')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Password\x0a'+_0x477d('0x53d7')+_0x477d('0x3a46')+_0x477d('0x53d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x4f59')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x503f')+_0x477d('0x540b')+_0x477d('0x5040')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x4f5f')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5042')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3eb4')+_0x477d('0x540c')+_0x477d('0x53dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x4f60')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d6')+_0x477d('0x4f62')+_0x477d('0x513a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MotionProxyAddress\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MotionProxyAddress\x20must\x20be\x20a\x20valid\x20url\x20http://www.xcally.com\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d9')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x4f65')+_0x477d('0x53e2')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x3e25')+_0x477d('0x39d2')+_0x477d('0x4f68')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x3e26')+_0x477d('0x3e27')+_0x477d('0x3e28')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f7a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CONFIGURATIONS\x0a'+_0x477d('0x3f7b')+_0x477d('0x3e14')+_0x477d('0x540e')+_0x477d('0x3f7d')+_0x477d('0x540f')+_0x477d('0x377d')+_0x477d('0x5410')+_0x477d('0x5048')+_0x477d('0x513d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.CONFIGURATIONS\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x5411')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x372b')+_0x477d('0x36e5')+_0x477d('0x504a')+_0x477d('0x5412')+_0x477d('0x5413')+_0x477d('0x504d')+_0x477d('0x3d9e')+_0x477d('0x504e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3947')+_0x477d('0x3a45')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5414')+_0x477d('0x5415')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x42b0')+_0x477d('0x5141')+_0x477d('0x3698')+_0x477d('0x486c')+_0x477d('0x5051')+_0x477d('0x5142')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5053')+_0x477d('0x5054')+_0x477d('0x5055')+_0x477d('0x5056')+_0x477d('0x5057')+_0x477d('0x5058')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x485c')+_0x477d('0x5059')+_0x477d('0x505a')+_0x477d('0x491d')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3dfa')+_0x477d('0x505c')+_0x477d('0x485c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3660')+_0x477d('0x505e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x486e')+_0x477d('0x3823')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.ID\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x5060')+_0x477d('0x507a')+_0x477d('0x5061')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4862')+_0x477d('0x3827')+_0x477d('0x5144')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{subject.id}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{subject.nameField\x20||\x20subject.idField}}\x0a'+_0x477d('0x5065')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5066')+_0x477d('0x5145')+_0x477d('0x51a4')+_0x477d('0x5067')+_0x477d('0x5083')+_0x477d('0x5068')+_0x477d('0x5085')+_0x477d('0x5146')+_0x477d('0x5069')+_0x477d('0x506a')+_0x477d('0x506b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{subject.content}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x506d')+_0x477d('0x506e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x509e')+_0x477d('0x3a52')+'\x0a'+_0x477d('0x5070')+_0x477d('0x508a')+_0x477d('0x5147')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Subject\x0a'+_0x477d('0x3d5e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x508c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5071')+_0x477d('0x3d5e')+_0x477d('0x4bf2')+_0x477d('0x4bf3')+_0x477d('0x4bff')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3826')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x5072')+'\x0a'+'\x0a'+_0x477d('0x5053')+'\x20\x20\x20\x20\x0a'+_0x477d('0x5073')+_0x477d('0x5056')+_0x477d('0x5057')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3dfa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5075')+_0x477d('0x5076')+_0x477d('0x491d')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3dfa')+_0x477d('0x5078')+_0x477d('0x485c')+_0x477d('0x5079')+_0x477d('0x3a16')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x505e')+_0x477d('0x514a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3823')+_0x477d('0x505f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.TYPE\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x507a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3826')+_0x477d('0x4862')+_0x477d('0x3827')+_0x477d('0x507b')+_0x477d('0x507c')+_0x477d('0x507d')+_0x477d('0x507e')+_0x477d('0x507f')+_0x477d('0x382b')+_0x477d('0x5080')+_0x477d('0x5081')+_0x477d('0x5082')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm_cc.variablesById[description.VariableId].name\x20}}\x0a'+_0x477d('0x5083')+_0x477d('0x5084')+_0x477d('0x5085')+_0x477d('0x5086')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{description.variableName}}\x0a'+_0x477d('0x5088')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x368a')+_0x477d('0x5089')+_0x477d('0x382b')+_0x477d('0x506d')+_0x477d('0x506e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x509e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x5070')+_0x477d('0x508a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Description\x0a'+_0x477d('0x3d5e')+_0x477d('0x4bf2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x508d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Description\x0a'+_0x477d('0x3d5e')+_0x477d('0x4bf2')+_0x477d('0x4bf3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x382b')+_0x477d('0x3826')+_0x477d('0x3833')+_0x477d('0x3834')+_0x477d('0x3835')+_0x477d('0x5072')+'\x0a'+'\x0a'+_0x477d('0x5090')+_0x477d('0x5054')+'\x20\x20\x20\x20\x20\x20\x20\x20FIELDS\x0a'+_0x477d('0x5056')+_0x477d('0x5057')+_0x477d('0x514d')+_0x477d('0x3dfa')+_0x477d('0x485c')+_0x477d('0x51a6')+_0x477d('0x514e')+_0x477d('0x491d')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x514f')+_0x477d('0x3dfa')+_0x477d('0x5091')+_0x477d('0x485c')+_0x477d('0x51a7')+_0x477d('0x3a16')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x486e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x505f')+_0x477d('0x5060')+_0x477d('0x507a')+_0x477d('0x5061')+_0x477d('0x3826')+_0x477d('0x4862')+_0x477d('0x3827')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x51a8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5095')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{field.type}}\x0a'+_0x477d('0x382b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{field.content}}\x0a'+_0x477d('0x5098')+_0x477d('0x5099')+_0x477d('0x5083')+_0x477d('0x509a')+_0x477d('0x5085')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{field.keyContent}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{field.variableName}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm_cc.variablesById[field.VariableId].name\x20}}\x0a'+_0x477d('0x506b')+_0x477d('0x368a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{field.content}}\x0a'+_0x477d('0x382b')+_0x477d('0x506d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x509e')+_0x477d('0x3a52')+'\x0a'+_0x477d('0x5070')+_0x477d('0x508a')+_0x477d('0x509f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Field\x0a'+_0x477d('0x3d5e')+_0x477d('0x4bf2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x50a1')+_0x477d('0x50a2')+_0x477d('0x3d5e')+_0x477d('0x4bf2')+_0x477d('0x4bf3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x382b')+_0x477d('0x3826')+_0x477d('0x3833')+_0x477d('0x3834')+_0x477d('0x3835')+'\x20\x20\x20\x20\x0a'+_0x477d('0x508f')+'\x0a'+_0x477d('0x39ca')+_0x477d('0x5090')+_0x477d('0x50a3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TAGS\x0a'+_0x477d('0x50a5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5416')+_0x477d('0x50a7')+_0x477d('0x51a9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x51aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x50aa')+_0x477d('0x50ab')+_0x477d('0x50ac')+_0x477d('0x50ad')+_0x477d('0x50ae')+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20CONFIGURATION\x0a'+_0x477d('0x3cfb')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x50b4')+'\x0a'+'\x0a'+_0x477d('0x3e27')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e29')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3699')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x377d'));_0x143a79[_0x477d('0x390')](_0x477d('0x1bd1'),'\x0a'+_0x477d('0x5417')+_0x477d('0x381e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c1')+_0x477d('0x3843')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c7')+_0x477d('0x4f9b')+_0x477d('0x5418')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x4f48')+_0x477d('0x36bf')+_0x477d('0x39d9')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Channel\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x516b')+_0x477d('0x36bf')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e73')+_0x477d('0x4f49')+_0x477d('0x541a')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3de0')+_0x477d('0x3f5c')+_0x477d('0x4fa3')+_0x477d('0x3a46')+_0x477d('0x50ee')+_0x477d('0x3fc8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x38ad')+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+_0x477d('0x39dc')+_0x477d('0x387b')+_0x477d('0x541b')+_0x477d('0x39de')+_0x477d('0x541c')+_0x477d('0x4f6a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x477d('0x39e1')+'\x0a'+_0x477d('0x541d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x477d('0x541e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22INTEGRATIONS.ADD_ZENDESKCONFIGURATION\x22\x20translate-attr-aria-label=\x22INTEGRATIONS.ADD_ZENDESKCONFIGURATION\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20ZENDESKCONFIGURATION\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x39e5')+_0x477d('0x541f')+_0x477d('0x4f6f')+_0x477d('0x3a16')+_0x477d('0x4fac')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x39e9')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79['put'](_0x477d('0x5420'),'\x0a'+'\x0a'+_0x477d('0x39eb')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3abc')+_0x477d('0x37cd')+_0x477d('0x39ec')+_0x477d('0x39ed')+_0x477d('0x4f71')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5421')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+_0x477d('0x39ef')+'\x0a'+_0x477d('0x39f0')+_0x477d('0x39f1')+_0x477d('0x39f2')+_0x477d('0x39f3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39f5')+_0x477d('0x3abf')+_0x477d('0x4f72')+_0x477d('0x39a2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x39f8')+'\x0a'+_0x477d('0x39f9')+_0x477d('0x5422')+_0x477d('0x39fa')+'\x0a'+_0x477d('0x5423')+_0x477d('0x39fc')+_0x477d('0x39fd')+_0x477d('0x50cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+'\x0a'+_0x477d('0x39ff')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x5424')+_0x477d('0x5425')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20selected\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3daf')+_0x477d('0x3a04')+_0x477d('0x3a05')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22multi\x20select\x20toggle\x22\x0a'+_0x477d('0x4f77')+_0x477d('0x3a08')+_0x477d('0x3674')+_0x477d('0x3a09')+_0x477d('0x3a0a')+_0x477d('0x5426')+_0x477d('0x3a0c')+_0x477d('0x3832')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5427')+_0x477d('0x3a0e')+_0x477d('0x3832')+_0x477d('0x3a0f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a11')+_0x477d('0x36c0')+'\x0a'+_0x477d('0x3ac4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x382a')+_0x477d('0x36e5')+_0x477d('0x3699')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a18')+_0x477d('0x3a19')+'\x0a'+_0x477d('0x3a1a')+_0x477d('0x3ac6')+'\x0a'+_0x477d('0x3a1b')+_0x477d('0x5428')+_0x477d('0x3a1d')+_0x477d('0x3a1e')+_0x477d('0x5429')+_0x477d('0x542a')+_0x477d('0x3a21')+_0x477d('0x3a22')+_0x477d('0x50d3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.NAME\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x4f81')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.URI\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a2c')+_0x477d('0x3a2d')+_0x477d('0x3a2e')+_0x477d('0x542b')+_0x477d('0x3acd')+_0x477d('0x3a30')+_0x477d('0x4f83')+_0x477d('0x3a31')+_0x477d('0x3a32')+_0x477d('0x3a2c')+_0x477d('0x542c')+_0x477d('0x542d')+_0x477d('0x542e')+_0x477d('0x542f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22id\x20\x22\x20>{{zendeskAccount.id}}\x0a'+_0x477d('0x5430')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22name\x20\x22\x20>{{zendeskAccount.name}}\x0a'+_0x477d('0x5430')+_0x477d('0x5431')+_0x477d('0x5430')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22remoteUri\x20\x22\x20>{{zendeskAccount.remoteUri}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a43')+'\x0a'+_0x477d('0x3d9e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22INTEGRATIONS.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a'+_0x477d('0x3a44')+_0x477d('0x3947')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a47')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3adc')+'\x0a'+_0x477d('0x5432')+_0x477d('0x5433')+_0x477d('0x5434')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3dc6')+'\x0a'+_0x477d('0x5435')+_0x477d('0x5436')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Test\x20ZendeskAccount\x0a'+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3caf')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3692')+'\x0a'+_0x477d('0x3693')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x0a'+_0x477d('0x3a2c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ae2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x5439')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x543a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3cb5')+'\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3699')+_0x477d('0x3a5a')+'\x0a'+_0x477d('0x543b')+_0x477d('0x543c')+_0x477d('0x543d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3735')+_0x477d('0x543e')+_0x477d('0x3699'));_0x143a79[_0x477d('0x390')](_0x477d('0x1c2b'),_0x477d('0x543f')+_0x477d('0x5440')+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x0a'+_0x477d('0x5441')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x5442')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f48')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x52e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5445')+_0x477d('0x39d2')+_0x477d('0x52e7')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5446')+_0x477d('0x5447')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3a5e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x5448')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5449')+_0x477d('0x544a')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>AU\x0a'+_0x477d('0x544b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x544c')+_0x477d('0x544d')+_0x477d('0x3a46')+_0x477d('0x544e')+_0x477d('0x544f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5450')+_0x477d('0x3aac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Zone\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3e73')+_0x477d('0x50bf')+_0x477d('0x5451')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x5139')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x5233')+_0x477d('0x5452')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5453')+_0x477d('0x39d2')+_0x477d('0x50c1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5454')+_0x477d('0x5455')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x5456')+_0x477d('0x5457')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Code\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MotionProxyAddress\x0a'+_0x477d('0x5458')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MotionProxyAddress\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e66')+_0x477d('0x5043')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f65')+_0x477d('0x5459')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x3ab5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c4')+_0x477d('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c5')+_0x477d('0x39c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39dc')+_0x477d('0x387b')+_0x477d('0x545a')+_0x477d('0x39de')+_0x477d('0x545b')+_0x477d('0x4f6a')+_0x477d('0x39e0')+_0x477d('0x39e1')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x39e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')]('app/main/apps/integrations/views/zohoAccounts/edit/configurations/dialog.html',_0x477d('0x545f')+_0x477d('0x5460')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c1')+_0x477d('0x3843')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3660')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x4f9b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.VOICE\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3aac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x516b')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3e73')+_0x477d('0x4f49')+_0x477d('0x5463')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x3de0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4fa3')+_0x477d('0x3a46')+_0x477d('0x50ee')+_0x477d('0x3fc8')+_0x477d('0x4fa4')+_0x477d('0x3a46')+_0x477d('0x4fa5')+_0x477d('0x3aac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x4f4f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c3')+_0x477d('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3663')+'\x0a'+_0x477d('0x39dc')+_0x477d('0x387b')+_0x477d('0x5464')+_0x477d('0x39de')+_0x477d('0x5465')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22INTEGRATIONS.SAVE\x22\x20translate-attr-aria-label=\x22INTEGRATIONS.SAVE\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x477d('0x39e1')+'\x0a'+_0x477d('0x5466')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22zohoConfigurationForm.$invalid\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22INTEGRATIONS.ADD_ZOHOCONFIGURATION\x22\x20translate-attr-aria-label=\x22INTEGRATIONS.ADD_ZOHOCONFIGURATION\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20ZOHOCONFIGURATION\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39e5')+_0x477d('0x5467')+_0x477d('0x4f6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a'+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39e9')+_0x477d('0x366a')+'\x0a');_0x143a79[_0x477d('0x390')](_0x477d('0x1c0e'),'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x3aea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x3aed')+_0x477d('0x3aee')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3af0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x36c0')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x50fd')+_0x477d('0x50fe')+_0x477d('0x50ff')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x5100')+_0x477d('0x4fb0')+_0x477d('0x46d4')+_0x477d('0x4fb1')+_0x477d('0x4fb2')+_0x477d('0x4fb3')+_0x477d('0x4fb4')+_0x477d('0x44db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x20field\x20is\x0a'+_0x477d('0x4fb7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3c04')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4fb9')+_0x477d('0x5176')+_0x477d('0x5469')+_0x477d('0x546a')+_0x477d('0x3c59')+_0x477d('0x4fbb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20is\x20required\x0a'+_0x477d('0x382a')+_0x477d('0x36a9')+_0x477d('0x3c04')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x384e')+_0x477d('0x4fbe')+_0x477d('0x4fbf')+_0x477d('0x546b')+_0x477d('0x546c')+_0x477d('0x4fc1')+_0x477d('0x4fc2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x0a'+_0x477d('0x385c')+_0x477d('0x382a')+_0x477d('0x3851')+'\x0a'+_0x477d('0x384e')+_0x477d('0x5105')+_0x477d('0x4fc4')+_0x477d('0x5106')+_0x477d('0x4fc5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Custom\x20Variable\x0a'+_0x477d('0x44f0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x525c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x382a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4fca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Content\x0a'+_0x477d('0x517f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x382a')+_0x477d('0x3851')+'\x0a'+_0x477d('0x5180')+_0x477d('0x4fce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4fd5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Variable\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20name\x20field\x20is\x20required\x0a'+_0x477d('0x385c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3851')+'\x0a'+_0x477d('0x4fdc')+_0x477d('0x4fce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x510d')+_0x477d('0x44ef')+_0x477d('0x44f0')+_0x477d('0x3851')+_0x477d('0x36bf')+_0x477d('0x4fde')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4fe0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x384e')+_0x477d('0x4fe2')+_0x477d('0x4fe3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4fe4')+_0x477d('0x4fe5')+_0x477d('0x4fe6')+_0x477d('0x4fd3')+_0x477d('0x4fd4')+'\x0a'+_0x477d('0x4fe7')+_0x477d('0x4fe8')+_0x477d('0x4fe9')+_0x477d('0x4fd3')+_0x477d('0x4fd4')+'\x0a'+_0x477d('0x44f0')+_0x477d('0x5471')+_0x477d('0x5472')+_0x477d('0x4fc1')+_0x477d('0x4feb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x382a')+_0x477d('0x3851')+'\x0a'+_0x477d('0x5185')+_0x477d('0x4fec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

Account\x20is\x20not\x20connected.\x20Please\x20check\x20your\x20configurations!

\x0a'+_0x477d('0x36bf')+_0x477d('0x4fee')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

No\x20Item

\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x3aea')+_0x477d('0x3aeb')+_0x477d('0x3aec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x3aee')+_0x477d('0x36bf')+_0x477d('0x3aef')+_0x477d('0x3af0')+_0x477d('0x3674')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3663')+'\x0a'+_0x477d('0x39dc')+_0x477d('0x387b')+_0x477d('0x5473')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22INTEGRATIONS.SAVE\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x477d('0x387e')+'\x0a'+_0x477d('0x5474')+_0x477d('0x4ff4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3c56')+_0x477d('0x5114')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3669')+_0x477d('0x366a')+_0x477d('0x3840')+'\x0a'+_0x477d('0x5188')+'\x0a'+_0x477d('0x4ff6')+_0x477d('0x4ff7')+'\x0a'+_0x477d('0x4ff8')+_0x477d('0x4ff9')+'\x0a'+_0x477d('0x5115')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Variable\x0a'+_0x477d('0x4ffa')+_0x477d('0x3888')+_0x477d('0x5475')+_0x477d('0x4ffb')+_0x477d('0x4ffc')+_0x477d('0x4ffd')+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4fff')+'\x0a'+_0x477d('0x5000')+'\x0a'+_0x477d('0x5001')+_0x477d('0x5002')+'\x20\x20\x20\x20\x20\x20\x20\x20Content\x0a'+'\x0a'+_0x477d('0x5004')+_0x477d('0x5005')+_0x477d('0x3888')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5003')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x5477')+_0x477d('0x5478')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x500a')+_0x477d('0x5013')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4ffe')+'\x0a'+_0x477d('0x511c')+'\x20\x20\x20\x20\x20\x20\x20\x20Value\x0a'+_0x477d('0x500c')+_0x477d('0x511d')+_0x477d('0x500d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{agentColumn}}\x0a'+_0x477d('0x500e')+_0x477d('0x500f')+_0x477d('0x511f')+_0x477d('0x5010')+_0x477d('0x500e')+_0x477d('0x500f')+_0x477d('0x3888')+_0x477d('0x5479')+_0x477d('0x547a')+_0x477d('0x4ffc')+_0x477d('0x5122')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x0a'+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4ffe')+'\x0a'+_0x477d('0x5014')+_0x477d('0x500b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{variable.name}}\x0a'+_0x477d('0x3888')+_0x477d('0x4ffe')+'\x0a'+_0x477d('0x5017')+'\x0a'+_0x477d('0x3792')+'\x0a'+'\x0a'+_0x477d('0x518e')+_0x477d('0x4ff8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5019')+_0x477d('0x5123')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Custom\x20Variable\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x547b')+_0x477d('0x4ffc')+_0x477d('0x4ffd')+_0x477d('0x501c')+_0x477d('0x36e5')+_0x477d('0x501d')+_0x477d('0x501e')+'\x20\x20\x0a'+_0x477d('0x5125')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x547c')+_0x477d('0x547d')+_0x477d('0x3d1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Content\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x501d')+'\x0a'+_0x477d('0x5022')+_0x477d('0x5023')+_0x477d('0x5024')+_0x477d('0x5025')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5027')+_0x477d('0x5028')+_0x477d('0x5029')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5127')+_0x477d('0x5028')+_0x477d('0x5029')+_0x477d('0x502b')+_0x477d('0x547e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-show=\x22zohoAccountItemForm.variableName.$touched\x22\x20role=\x22alert\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x502c')+_0x477d('0x502d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x501d')+'\x0a'+_0x477d('0x502e')+_0x477d('0x5023')+_0x477d('0x502f')+_0x477d('0x5030')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x501d')+_0x477d('0x5031'));_0x143a79[_0x477d('0x390')](_0x477d('0x19f'),_0x477d('0x547f')+'\x0a'+_0x477d('0x39eb')+_0x477d('0x3b62')+_0x477d('0x3b63')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x372b')+'\x0a'+_0x477d('0x387b')+'\x0a'+_0x477d('0x5481')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+'\x0a'+_0x477d('0x38e8')+_0x477d('0x3b65')+_0x477d('0x5482')+_0x477d('0x5483')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.zohoAccount.createdAt\x20|\x20date:\x27medium\x27}}\x0a'+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x38ad')+_0x477d('0x5484')+_0x477d('0x3e11')+_0x477d('0x3d05')+_0x477d('0x36e5')+'\x0a'+_0x477d('0x3699')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a18')+_0x477d('0x3b6b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e12')+_0x477d('0x3f7a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ACCOUNT\x0a'+_0x477d('0x3f7b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5485')+_0x477d('0x3f7d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GENERAL\x0a'+_0x477d('0x385c')+_0x477d('0x3e17')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x0a'+_0x477d('0x5441')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x52e6')+_0x477d('0x5486')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3a5e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+_0x477d('0x3de0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20zoho.eu\x0a'+_0x477d('0x3aac')+_0x477d('0x5488')+_0x477d('0x39d2')+_0x477d('0x52e7')+_0x477d('0x36bf')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e73')+_0x477d('0x5446')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20US\x0a'+_0x477d('0x544a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>AU\x0a'+_0x477d('0x544b')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>EU\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Zone\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3e73')+_0x477d('0x50bf')+_0x477d('0x5451')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5138')+_0x477d('0x39d2')+_0x477d('0x5139')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5233')+_0x477d('0x5452')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x548b')+_0x477d('0x5273')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x50c1')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x5454')+_0x477d('0x5455')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x5456')+_0x477d('0x548c')+_0x477d('0x39d2')+_0x477d('0x548d')+_0x477d('0x36bf')+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x548e')+_0x477d('0x548f')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x3e19')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20disabled\x20\x0a'+_0x477d('0x3dda')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x5490')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MotionProxyAddress\x0a'+_0x477d('0x5458')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x4f62')+_0x477d('0x513a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MotionProxyAddress\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e66')+_0x477d('0x5043')+_0x477d('0x36bf')+_0x477d('0x39d9')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x4f65')+_0x477d('0x5459')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x3e25')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f68')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x3e26')+_0x477d('0x3e27')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e29')+_0x477d('0x3e12')+_0x477d('0x3f7a')+_0x477d('0x5044')+_0x477d('0x3f7b')+_0x477d('0x3e14')+_0x477d('0x5491')+_0x477d('0x3f7d')+_0x477d('0x5046')+_0x477d('0x377d')+'\x0a'+'\x20\x20\x0a'+_0x477d('0x513d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.CONFIGURATIONS\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x5492')+_0x477d('0x43b1')+_0x477d('0x372b')+_0x477d('0x36e5')+_0x477d('0x504a')+_0x477d('0x5493')+_0x477d('0x5494')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a45')+_0x477d('0x504f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20ZohoConfiguration\x0a'+_0x477d('0x3a52')+_0x477d('0x3a4b')+_0x477d('0x41b9')+_0x477d('0x42b0')+_0x477d('0x5141')+_0x477d('0x3698')+_0x477d('0x486c')+_0x477d('0x5051')+_0x477d('0x5142')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5053')+_0x477d('0x5054')+_0x477d('0x5055')+_0x477d('0x5056')+_0x477d('0x5057')+_0x477d('0x5058')+_0x477d('0x3dfa')+_0x477d('0x485c')+_0x477d('0x5059')+_0x477d('0x505a')+_0x477d('0x491d')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3dfa')+_0x477d('0x505c')+_0x477d('0x485c')+_0x477d('0x505d')+_0x477d('0x3a16')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3660')+_0x477d('0x505e')+_0x477d('0x5143')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3823')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.ID\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x5060')+_0x477d('0x507a')+_0x477d('0x5061')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4862')+_0x477d('0x3827')+_0x477d('0x5144')+_0x477d('0x5062')+_0x477d('0x5063')+_0x477d('0x5064')+_0x477d('0x5065')+_0x477d('0x382b')+_0x477d('0x5066')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{subject.content}}\x0a'+_0x477d('0x51a4')+_0x477d('0x5067')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5068')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{subject.keyContent}}\x0a'+_0x477d('0x5069')+_0x477d('0x506a')+_0x477d('0x506b')+_0x477d('0x368a')+_0x477d('0x506c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x506d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x506f')+_0x477d('0x509e')+_0x477d('0x3a52')+'\x0a'+_0x477d('0x5070')+_0x477d('0x508a')+_0x477d('0x5147')+_0x477d('0x5148')+_0x477d('0x3d5e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x508c')+_0x477d('0x5149')+_0x477d('0x5071')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4bf3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x382b')+_0x477d('0x3826')+_0x477d('0x3833')+_0x477d('0x3834')+_0x477d('0x3835')+_0x477d('0x5072')+'\x0a'+'\x0a'+_0x477d('0x5053')+_0x477d('0x5054')+_0x477d('0x5073')+_0x477d('0x5056')+_0x477d('0x5057')+_0x477d('0x5074')+_0x477d('0x3dfa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5075')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x491d')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5077')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5078')+_0x477d('0x485c')+_0x477d('0x5079')+_0x477d('0x3a16')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x486e')+_0x477d('0x3823')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.ID\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x5060')+_0x477d('0x507a')+_0x477d('0x5061')+_0x477d('0x3826')+_0x477d('0x4862')+_0x477d('0x3827')+_0x477d('0x507b')+_0x477d('0x507c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x507e')+_0x477d('0x507f')+_0x477d('0x382b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5081')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{description.variableName}}\x0a'+_0x477d('0x514b')+_0x477d('0x5083')+_0x477d('0x5084')+_0x477d('0x5085')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{description.keyContent}}\x0a'+_0x477d('0x5087')+_0x477d('0x5088')+_0x477d('0x506b')+_0x477d('0x368a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{description.content}}\x0a'+_0x477d('0x382b')+_0x477d('0x506d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x509e')+_0x477d('0x3a52')+'\x0a'+_0x477d('0x5070')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x508b')+_0x477d('0x51a5')+_0x477d('0x3d5e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x508d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Description\x0a'+_0x477d('0x3d5e')+_0x477d('0x4bf2')+_0x477d('0x4bf3')+_0x477d('0x4bff')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3826')+_0x477d('0x3833')+_0x477d('0x3834')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5072')+_0x477d('0x508f')+'\x0a'+_0x477d('0x5090')+_0x477d('0x5054')+_0x477d('0x514c')+_0x477d('0x5056')+_0x477d('0x5057')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3dfa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x51a6')+_0x477d('0x514e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+_0x477d('0x514f')+_0x477d('0x3dfa')+_0x477d('0x5091')+_0x477d('0x485c')+_0x477d('0x51a7')+_0x477d('0x3a16')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5092')+_0x477d('0x486e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27INTEGRATIONS.ID\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x5060')+_0x477d('0x507a')+_0x477d('0x5061')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4862')+_0x477d('0x3827')+_0x477d('0x5093')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{field.id}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5095')+_0x477d('0x5096')+_0x477d('0x382b')+_0x477d('0x5150')+_0x477d('0x5097')+_0x477d('0x5098')+_0x477d('0x5099')+_0x477d('0x5083')+_0x477d('0x509a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{field.keyContent}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{field.variableName}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm_cc.variablesById[field.VariableId].name\x20}}\x0a'+_0x477d('0x506b')+_0x477d('0x368a')+_0x477d('0x5151')+_0x477d('0x382b')+_0x477d('0x506d')+_0x477d('0x506e')+_0x477d('0x506f')+_0x477d('0x509e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x5070')+_0x477d('0x508a')+_0x477d('0x509f')+_0x477d('0x50a0')+_0x477d('0x3d5e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x50a1')+_0x477d('0x50a2')+_0x477d('0x3d5e')+_0x477d('0x4bf2')+_0x477d('0x4bf3')+_0x477d('0x4bff')+_0x477d('0x382b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3833')+_0x477d('0x3834')+_0x477d('0x3835')+_0x477d('0x5072')+'\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5054')+_0x477d('0x527a')+'\x20\x20\x20\x20
\x0a'+_0x477d('0x5057')+_0x477d('0x527b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x527d')+_0x477d('0x5280')+_0x477d('0x380f')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5495')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x527f')+_0x477d('0x5280')+_0x477d('0x380f')+_0x477d('0x5072')+_0x477d('0x508f')+'\x0a'+_0x477d('0x5281')+_0x477d('0x50ae')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x50b1')+_0x477d('0x51ab')+_0x477d('0x50b2')+_0x477d('0x39e1')+_0x477d('0x50b3')+_0x477d('0x3cfb')+_0x477d('0x380f')+_0x477d('0x50b4')+_0x477d('0x377d')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e28')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e2a')+'\x0a'+_0x477d('0x3699')+_0x477d('0x3a5a')+'\x0a'+_0x477d('0x377d'));_0x143a79['put']('app/main/apps/integrations/views/zohoAccounts/zohoAccounts.html',_0x477d('0x5496')+'\x0a'+_0x477d('0x39eb')+_0x477d('0x3bef')+'\x0a'+_0x477d('0x3abc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f71')+_0x477d('0x3760')+_0x477d('0x5497')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ef')+'\x0a'+_0x477d('0x39f0')+_0x477d('0x39f1')+_0x477d('0x39f2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39f4')+_0x477d('0x39f5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39f7')+_0x477d('0x36bf')+_0x477d('0x3699')+_0x477d('0x39f8')+'\x0a'+_0x477d('0x39f9')+_0x477d('0x5498')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22>\x0a'+'\x0a'+_0x477d('0x5499')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39fd')+_0x477d('0x50cc')+_0x477d('0x372b')+_0x477d('0x36e5')+'\x0a'+_0x477d('0x39ff')+'\x0a'+_0x477d('0x3a00')+_0x477d('0x549a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedZohoAccounts.length}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20selected\x0a'+_0x477d('0x3760')+'\x0a'+_0x477d('0x3daf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a08')+_0x477d('0x3674')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a0a')+_0x477d('0x549b')+_0x477d('0x3a0c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a0a')+_0x477d('0x549c')+_0x477d('0x3a0e')+_0x477d('0x3832')+_0x477d('0x3a0f')+_0x477d('0x3a10')+_0x477d('0x3a11')+_0x477d('0x36c0')+'\x0a'+_0x477d('0x3ac4')+_0x477d('0x549d')+_0x477d('0x3a13')+_0x477d('0x3a14')+_0x477d('0x549e')+_0x477d('0x4f7c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x382a')+_0x477d('0x36e5')+_0x477d('0x3699')+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a1a')+_0x477d('0x3ac6')+'\x0a'+_0x477d('0x3a1b')+_0x477d('0x549f')+_0x477d('0x3a1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x54a0')+_0x477d('0x54a1')+_0x477d('0x3a21')+_0x477d('0x3a22')+_0x477d('0x50d3')+_0x477d('0x50d4')+_0x477d('0x54a2')+_0x477d('0x54a3')+_0x477d('0x3acb')+_0x477d('0x3a2c')+_0x477d('0x3a2d')+_0x477d('0x3a2e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a'+_0x477d('0x3a31')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a2c')+_0x477d('0x54a4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x54a5')+_0x477d('0x54a6')+_0x477d('0x54a7')+_0x477d('0x54a8')+_0x477d('0x54a9')+_0x477d('0x54aa')+_0x477d('0x54ab')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22zone\x20\x22>{{\x20vm.arrayzone[zohoAccount.zone].option\x20}}\x0a'+_0x477d('0x3dc1')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a43')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a45')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3adc')+'\x0a'+_0x477d('0x54ac')+_0x477d('0x54ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20ZohoAccount\x0a'+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3a47')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3dc6')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3692')+'\x0a'+_0x477d('0x3693')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a56')+_0x477d('0x3ae2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x54b3')+_0x477d('0x3ae4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3cb5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3a5a')+'\x0a'+_0x477d('0x54b4')+_0x477d('0x54b5')+_0x477d('0x54b6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3699'));_0x143a79['put']('app/main/apps/jscripty/views/projects/create/dialog.html',_0x477d('0x3cba')+_0x477d('0x3cbb')+_0x477d('0x381e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+_0x477d('0x39c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x54b7')+_0x477d('0x54b8')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-pattern=\x22/^[A-Za-z0-9\x5c.\x5c_]+$/i\x22\x20\x20\x0a'+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ce')+_0x477d('0x54b9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x54ba')+_0x477d('0x54bb')+_0x477d('0x39d2')+_0x477d('0x54bc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x54bd')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x0a'+_0x477d('0x54be')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x54bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x54c0')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x39c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387b')+_0x477d('0x54c1')+_0x477d('0x39de')+_0x477d('0x54c2')+_0x477d('0x54c3')+_0x477d('0x39e0')+_0x477d('0x39e1')+'\x0a'+_0x477d('0x54c4')+_0x477d('0x3c8b')+_0x477d('0x54c5')+_0x477d('0x54c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20PROJECT\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x39e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x39e9')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')]('app/main/apps/jscripty/views/projects/edit/clone/clone.html',_0x477d('0x54c9')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+_0x477d('0x39c7')+_0x477d('0x54b7')+_0x477d('0x54b8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-pattern=\x22/^[A-Za-z0-9\x5c.\x5c_]+$/i\x22\x20\x20\x0a'+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x54b9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x54ba')+_0x477d('0x54bb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3dde')+_0x477d('0x54bd')+_0x477d('0x36bf')+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ab5')+_0x477d('0x39c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3663')+'\x0a'+_0x477d('0x3b1a')+_0x477d('0x54ca')+_0x477d('0x54cb')+_0x477d('0x54cc')+_0x477d('0x54cd')+_0x477d('0x54ce')+_0x477d('0x372b')+_0x477d('0x3669')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79['put']('app/main/apps/jscripty/views/projects/edit/sessions/dialog.html',_0x477d('0x54cf')+_0x477d('0x54d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x365d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x54d1')+_0x477d('0x54d2')+_0x477d('0x54d3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x54d4')+_0x477d('0x54d5')+_0x477d('0x54d6')+_0x477d('0x54d7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x54d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Project:\x20{{vm.project.name}}\x0a'+_0x477d('0x54d5')+_0x477d('0x54d8')+_0x477d('0x54d9')+_0x477d('0x54da')+_0x477d('0x54db')+_0x477d('0x54dc')+_0x477d('0x54dd')+_0x477d('0x54de')+_0x477d('0x54df')+_0x477d('0x54e0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x54e1')+_0x477d('0x3fab')+_0x477d('0x5141')+_0x477d('0x54e2')+'\x0a'+_0x477d('0x3663')+_0x477d('0x366a')+'\x0a');_0x143a79[_0x477d('0x390')](_0x477d('0x54e3'),_0x477d('0x54e4')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3b63')+_0x477d('0x54e5')+_0x477d('0x54e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22JSCRIPTY.GO_TO_PROJECTS\x22>\x0a'+_0x477d('0x3e04')+_0x477d('0x372b')+'\x0a'+_0x477d('0x387b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+'\x0a'+_0x477d('0x38e8')+_0x477d('0x3b65')+_0x477d('0x54e7')+_0x477d('0x54e8')+_0x477d('0x36bf')+_0x477d('0x3b68')+_0x477d('0x54e9')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x54ea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22md-fab\x20md-green-500-bg\x20md-icon-button\x22\x0a'+_0x477d('0x54eb')+_0x477d('0x54ec')+_0x477d('0x54ed')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x38ad')+_0x477d('0x54ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x477d('0x3d05')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3699')+_0x477d('0x39f8')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3b6b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x54ef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e14')+_0x477d('0x54f0')+_0x477d('0x3f7d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GENERAL\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e17')+_0x477d('0x3e18')+_0x477d('0x54b7')+_0x477d('0x54b8')+_0x477d('0x39ca')+_0x477d('0x3dd8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x3e19')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20disabled\x20\x0a'+_0x477d('0x3dda')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x54ba')+_0x477d('0x3e1a')+_0x477d('0x39d2')+_0x477d('0x54bc')+_0x477d('0x36bf')+_0x477d('0x3dde')+_0x477d('0x54bd')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x54f1')+_0x477d('0x3eb4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e73')+_0x477d('0x54f2')+_0x477d('0x3eb4')+_0x477d('0x54f3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e73')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x54c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x3ab5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e27')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e29')+_0x477d('0x3e12')+_0x477d('0x3f7a')+_0x477d('0x54f4')+_0x477d('0x3f7b')+_0x477d('0x3e14')+_0x477d('0x54f5')+_0x477d('0x54f6')+_0x477d('0x54f7')+'\x0a'+'\x0a'+_0x477d('0x3e27')+_0x477d('0x3e28')+_0x477d('0x3e29')+_0x477d('0x3e12')+_0x477d('0x3f7a')+_0x477d('0x54f8')+_0x477d('0x3f7b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x54f9')+_0x477d('0x54fa')+_0x477d('0x54fb')+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Reset\x0a'+_0x477d('0x40e1')+_0x477d('0x3fa6')+_0x477d('0x54fc')+_0x477d('0x377d')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e28')+_0x477d('0x3e29')+_0x477d('0x3e12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x54fd')+_0x477d('0x3f7b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x54fe')+_0x477d('0x54ff')+_0x477d('0x4100')+_0x477d('0x5500')+_0x477d('0x4102')+_0x477d('0x4103')+_0x477d('0x382a')+_0x477d('0x4106')+_0x477d('0x5501')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5502')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5503')+_0x477d('0x410b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5504')+_0x477d('0x5505')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x40da')+'\x20\x20\x0a'+'\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4113')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5506')+_0x477d('0x4115')+_0x477d('0x5507')+_0x477d('0x5508')+_0x477d('0x4115')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5509')+_0x477d('0x4115')+_0x477d('0x550a')+_0x477d('0x550b')+_0x477d('0x4115')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x550c')+_0x477d('0x4115')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x550d')+_0x477d('0x4115')+_0x477d('0x414c')+_0x477d('0x411e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4120')+_0x477d('0x550e')+'>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{session.id}}\x0a'+_0x477d('0x4123')+_0x477d('0x41eb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20session.starttime\x20|\x20formatdate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4e41')+_0x477d('0x550f')+_0x477d('0x412e')+_0x477d('0x4e47')+_0x477d('0x5510')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4217')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{session.calleridnum}}\x0a'+_0x477d('0x4123')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5511')+_0x477d('0x412f')+_0x477d('0x5512')+_0x477d('0x4130')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5513')+_0x477d('0x5514')+_0x477d('0x5515')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5516')+_0x477d('0x5517')+_0x477d('0x5518')+_0x477d('0x3a52')+_0x477d('0x415b')+_0x477d('0x415c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4138')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5519')+_0x477d('0x551a')+_0x477d('0x417f')+_0x477d('0x551b')+_0x477d('0x413b')+_0x477d('0x413c')+_0x477d('0x411e')+_0x477d('0x413d')+_0x477d('0x413e')+_0x477d('0x413f')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e29')+_0x477d('0x3e12')+_0x477d('0x3f7a')+_0x477d('0x551c')+_0x477d('0x3f7b')+_0x477d('0x3e14')+_0x477d('0x551d')+_0x477d('0x551e')+_0x477d('0x551f')+_0x477d('0x5520')+'\x20\x20\x20\x20\x0a'+_0x477d('0x5521')+_0x477d('0x5522')+_0x477d('0x3735')+_0x477d('0x3fa6')+_0x477d('0x5523')+_0x477d('0x5524')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5525')+_0x477d('0x5526')+_0x477d('0x5527')+_0x477d('0x5528')+_0x477d('0x5529')+_0x477d('0x486e')+_0x477d('0x552a')+_0x477d('0x552b')+_0x477d('0x552c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20%\x0a'+_0x477d('0x552d')+_0x477d('0x4862')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x552e')+_0x477d('0x552f')+_0x477d('0x5530')+_0x477d('0x5531')+_0x477d('0x552d')+_0x477d('0x552a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27JSCRIPTY.TOTAL\x27\x20|\x20translate}}\x0a'+_0x477d('0x5532')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20100\x0a'+_0x477d('0x552d')+_0x477d('0x3833')+_0x477d('0x5533')+_0x477d('0x5534')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5535')+_0x477d('0x5536')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x486c')+_0x477d('0x5537')+_0x477d('0x3fa6')+_0x477d('0x377d')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e28')+_0x477d('0x3e29')+_0x477d('0x3e2a')+'\x0a'+_0x477d('0x3699')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x377d'));_0x143a79[_0x477d('0x390')](_0x477d('0x1c7'),_0x477d('0x3d38')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3bef')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x37cd')+_0x477d('0x39ec')+_0x477d('0x39ed')+_0x477d('0x5538')+_0x477d('0x3760')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Projects\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39ef')+'\x0a'+_0x477d('0x39f0')+_0x477d('0x39f1')+_0x477d('0x39f2')+_0x477d('0x39f3')+_0x477d('0x39f4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3abf')+_0x477d('0x5539')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x39f7')+_0x477d('0x36bf')+_0x477d('0x3699')+_0x477d('0x39f8')+'\x0a'+_0x477d('0x39f9')+_0x477d('0x553a')+_0x477d('0x39fa')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39fc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x553b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+'\x0a'+_0x477d('0x39ff')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x3d44')+_0x477d('0x3d45')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20selected\x0a'+_0x477d('0x3760')+'\x0a'+_0x477d('0x3daf')+_0x477d('0x3a04')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22$mdOpenMenu($event)\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22multi\x20select\x20toggle\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22JSCRIPTY.MULTI_SELECT_TOGGLE\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3674')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x553c')+_0x477d('0x3a0c')+_0x477d('0x3832')+_0x477d('0x3a0f')+_0x477d('0x3a0a')+_0x477d('0x553d')+_0x477d('0x3a0e')+_0x477d('0x3832')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a11')+_0x477d('0x36c0')+'\x0a'+_0x477d('0x3ac4')+_0x477d('0x3d4a')+_0x477d('0x3a13')+_0x477d('0x3a14')+_0x477d('0x553e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22JSCRIPTY.DELETE_SELECTED\x22>\x0a'+_0x477d('0x3a16')+_0x477d('0x387e')+_0x477d('0x382a')+_0x477d('0x36e5')+_0x477d('0x3699')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a18')+_0x477d('0x3a19')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x553f')+_0x477d('0x5540')+_0x477d('0x3a21')+_0x477d('0x3a22')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27JSCRIPTY.ID\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x5541')+_0x477d('0x5542')+_0x477d('0x5543')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a2c')+_0x477d('0x3a2d')+_0x477d('0x3a2e')+_0x477d('0x5544')+_0x477d('0x3acd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5545')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a2c')+_0x477d('0x5546')+_0x477d('0x5547')+_0x477d('0x5548')+_0x477d('0x5549')+_0x477d('0x554a')+_0x477d('0x554b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22name\x20\x22\x20>{{project.name}}\x0a'+_0x477d('0x554b')+_0x477d('0x554c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3d9e')+_0x477d('0x554e')+_0x477d('0x3a44')+_0x477d('0x3947')+'\x0a'+_0x477d('0x3a45')+'\x0a'+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3adc')+'\x0a'+_0x477d('0x554f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22JSCRIPTY.EDIT_PROJECT\x22>\x0a'+_0x477d('0x5550')+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3adc')+'\x0a'+_0x477d('0x5551')+_0x477d('0x5552')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20clone\x20Project\x0a'+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3dc6')+'\x0a'+_0x477d('0x5553')+_0x477d('0x5554')+_0x477d('0x5555')+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3dc6')+'\x0a'+_0x477d('0x5556')+_0x477d('0x5557')+_0x477d('0x5558')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3692')+'\x0a'+_0x477d('0x3693')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a56')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x5559')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x555a')+_0x477d('0x3a59')+'\x0a'+_0x477d('0x3cb5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ae6')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3a5a')+'\x0a'+_0x477d('0x555b')+'\x20\x20\x20\x20\x0a'+_0x477d('0x39d6')+_0x477d('0x5561')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x5562')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5563')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5564')+_0x477d('0x36bf')+_0x477d('0x3e61')+_0x477d('0x5565')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d9')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x5566')+_0x477d('0x5567')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5568')+_0x477d('0x39d2')+_0x477d('0x5569')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x556a')+_0x477d('0x36bf')+_0x477d('0x385b')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x556b')+_0x477d('0x556c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x39cf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x3e6e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22ListId.canSelect\x20===\x20false\x22>{{\x20ListId.name\x20}}\x0a'+_0x477d('0x3aac')+_0x477d('0x556d')+_0x477d('0x39d2')+_0x477d('0x556e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e73')+_0x477d('0x556f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3867')+_0x477d('0x5570')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Service\x0a'+_0x477d('0x5571')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3de0')+_0x477d('0x5572')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5573')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Gmail\x0a'+_0x477d('0x5574')+_0x477d('0x3a46')+_0x477d('0x5575')+_0x477d('0x5576')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Yahoo\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x557a')+_0x477d('0x557b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x557d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IMAP_Port\x0a'+_0x477d('0x557e')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x557f')+_0x477d('0x39d2')+_0x477d('0x5580')+_0x477d('0x36bf')+_0x477d('0x3f85')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5581')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SMTP_Host\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x5582')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SMTP_Port\x0a'+_0x477d('0x5583')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x5584')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SMTP_Port\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3f85')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5585')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5586')+_0x477d('0x5587')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Username\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x558a')+_0x477d('0x558b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Password\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5041')+_0x477d('0x558e')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3eb4')+_0x477d('0x3e73')+_0x477d('0x558f')+_0x477d('0x5590')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x5591')+_0x477d('0x39d2')+_0x477d('0x5592')+_0x477d('0x36bf')+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39dc')+_0x477d('0x387b')+_0x477d('0x5593')+_0x477d('0x39de')+_0x477d('0x5594')+_0x477d('0x5595')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x477d('0x39e1')+'\x0a'+_0x477d('0x5596')+_0x477d('0x3c8b')+_0x477d('0x5597')+_0x477d('0x5598')+_0x477d('0x5599')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x39e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3840'));_0x143a79['put']('app/main/apps/mail/views/mailAccounts/edit/agentadd/agentadd.html',_0x477d('0x559c')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3d23')+_0x477d('0x3dfa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Add\x20Agent\x20to\x20mailAccount\x0a'+_0x477d('0x3d25')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3661')+_0x477d('0x3dfb')+_0x477d('0x3663')+_0x477d('0x3dfc')+_0x477d('0x3dfd')+_0x477d('0x3dfe')+_0x477d('0x3b6a')+_0x477d('0x372b')+_0x477d('0x3669')+_0x477d('0x366a')+'\x0a');_0x143a79['put'](_0x477d('0x559d'),'\x0a'+_0x477d('0x559e')+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent\x0a'+_0x477d('0x4d52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+_0x477d('0x3de0')+_0x477d('0x3e86')+_0x477d('0x3e87')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x559f')+_0x477d('0x39d2')+_0x477d('0x55a0')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3e73')+_0x477d('0x55a1')+_0x477d('0x3e8b')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3eee')+_0x477d('0x3de6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x55a2')+_0x477d('0x36bf')+_0x477d('0x3de9')+_0x477d('0x55a3')+_0x477d('0x3deb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x55a4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x3e24')+_0x477d('0x36a1')+_0x477d('0x3ab5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+_0x477d('0x3b1a')+_0x477d('0x3b1b')+_0x477d('0x55a5')+_0x477d('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22mailAccountFormApp.$invalid\x20||\x20mailAccountFormApp.$pristine\x22\x0a'+_0x477d('0x5595')+_0x477d('0x39e0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x3669')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79['put'](_0x477d('0x55a6'),_0x477d('0x555e')+_0x477d('0x559e')+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c3')+_0x477d('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+_0x477d('0x39c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39c7')+_0x477d('0x55a7')+_0x477d('0x3eab')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x3de0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x55a9')+_0x477d('0x39d2')+_0x477d('0x55aa')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3f90')+_0x477d('0x55ab')+_0x477d('0x55ac')+_0x477d('0x36c0')+_0x477d('0x3eb4')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+_0x477d('0x3b1a')+_0x477d('0x3b1b')+_0x477d('0x55a5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x477d('0x55ad')+_0x477d('0x5595')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x477d('0x39e1')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x366a')+'\x0a');_0x143a79[_0x477d('0x390')](_0x477d('0x55ae'),_0x477d('0x555e')+_0x477d('0x559e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x365d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c7')+_0x477d('0x55af')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x55b0')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x39c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x38ad')+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b1b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3669')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x55b1'),_0x477d('0x555e')+'\x20\x20\x20\x20\x0a'+_0x477d('0x381e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x477d('0x3843')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x55b2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d6')+_0x477d('0x55b3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x55b4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x55b5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x55b6')+_0x477d('0x36bf')+_0x477d('0x3de9')+_0x477d('0x55b7')+_0x477d('0x3deb')+_0x477d('0x3ee8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x55b8')+_0x477d('0x4d63')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3ee5')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x55b9')+_0x477d('0x39d2')+_0x477d('0x55ba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20falsepriority\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a'+_0x477d('0x3deb')+_0x477d('0x3ee8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ab5')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+_0x477d('0x3b1a')+_0x477d('0x3b1b')+_0x477d('0x55a5')+_0x477d('0x39de')+_0x477d('0x55ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22MAIL.SAVE\x22\x20translate-attr-aria-label=\x22MAIL.SAVE\x22>\x0a'+_0x477d('0x39e0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x3669')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x55bb'),_0x477d('0x555e')+_0x477d('0x559e')+_0x477d('0x381e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39c7')+_0x477d('0x55bc')+_0x477d('0x3eed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x220\x22\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x55bd')+_0x477d('0x39d2')+_0x477d('0x55be')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Priority\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ab5')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+_0x477d('0x3b1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x55a5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x477d('0x55ad')+_0x477d('0x5595')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x477d('0x39e1')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x55bf'),_0x477d('0x3ef3')+_0x477d('0x3ef4')+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x3aea')+_0x477d('0x3aeb')+_0x477d('0x3aec')+_0x477d('0x3aed')+_0x477d('0x3aee')+_0x477d('0x36bf')+_0x477d('0x3aef')+_0x477d('0x3af0')+_0x477d('0x3674')+_0x477d('0x3670')+_0x477d('0x36c0')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x383b')+_0x477d('0x3ef5')+_0x477d('0x3ef6')+_0x477d('0x3ef7')+_0x477d('0x36a0')+_0x477d('0x36a1')+'\x0a'+_0x477d('0x4d6c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Intervals\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3efa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3efc')+_0x477d('0x3efd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4d6d')+_0x477d('0x3efe')+_0x477d('0x3eff')+_0x477d('0x3f00')+_0x477d('0x3f01')+_0x477d('0x40da')+_0x477d('0x3c68')+_0x477d('0x3670')+_0x477d('0x3f02')+_0x477d('0x3f03')+_0x477d('0x4d6e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f05')+_0x477d('0x36a9')+_0x477d('0x399e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Time\x20Range\x20To\x20field\x20is\x20required\x0a'+_0x477d('0x36a9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f07')+_0x477d('0x3670')+_0x477d('0x36c0')+_0x477d('0x3f08')+'\x0a'+_0x477d('0x3f09')+_0x477d('0x3f0a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f0c')+_0x477d('0x3f0d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Always\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20day.value\x20|\x20ucfirst\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20To\x0a'+_0x477d('0x3f12')+_0x477d('0x3f0f')+_0x477d('0x3b15')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36bf')+_0x477d('0x39a2')+_0x477d('0x36c0')+_0x477d('0x3f14')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4d70')+_0x477d('0x3efd')+_0x477d('0x3f15')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20From\x0a'+_0x477d('0x55c0')+_0x477d('0x3f0e')+_0x477d('0x3f16')+_0x477d('0x3b15')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f11')+_0x477d('0x3f18')+_0x477d('0x3f16')+_0x477d('0x3b15')+_0x477d('0x3f19')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4d72')+_0x477d('0x3f1a')+_0x477d('0x3efd')+_0x477d('0x3f15')+_0x477d('0x3f0c')+_0x477d('0x3f1b')+_0x477d('0x3f0e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20month.value\x20|\x20ucfirst\x20}}\x0a'+_0x477d('0x3b15')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20To\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f1c')+_0x477d('0x3b15')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3aea')+_0x477d('0x3aeb')+_0x477d('0x3aec')+_0x477d('0x3aed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x36bf')+_0x477d('0x3aef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36c0')+_0x477d('0x3663')+'\x0a'+_0x477d('0x3b1a')+_0x477d('0x387b')+_0x477d('0x3f20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3f21')+_0x477d('0x3f22')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x55c1'),_0x477d('0x555e')+_0x477d('0x559e')+_0x477d('0x381e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Value\x0a'+_0x477d('0x3f24')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x55c2')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Value\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+_0x477d('0x3b1a')+_0x477d('0x3b1b')+_0x477d('0x55a5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22mailAccountFormApp.$invalid\x20||\x20mailAccountFormApp.$pristine\x22\x0a'+_0x477d('0x5595')+_0x477d('0x39e0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x3669')+_0x477d('0x366a')+'\x0a');_0x143a79[_0x477d('0x390')](_0x477d('0x55c3'),_0x477d('0x555e')+_0x477d('0x559e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Queue\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Queue\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Timeout\x0a'+_0x477d('0x4d7b')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3eee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20max=\x222147483\x22\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x55a2')+_0x477d('0x36bf')+_0x477d('0x3de9')+_0x477d('0x55a3')+_0x477d('0x3deb')+_0x477d('0x3e23')+_0x477d('0x55a4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x3e24')+_0x477d('0x36a1')+_0x477d('0x3ab5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c6')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3663')+'\x0a'+_0x477d('0x3b1a')+_0x477d('0x3b1b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x3669')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x55c5'),_0x477d('0x555e')+_0x477d('0x559e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x55c6')+_0x477d('0x4d80')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cd')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x55c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Command\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x55c8')+_0x477d('0x3f30')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x3de0')+_0x477d('0x3f31')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x39db')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+_0x477d('0x3b1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x55a5')+_0x477d('0x39de')+_0x477d('0x55ad')+_0x477d('0x5595')+_0x477d('0x39e0')+_0x477d('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x366a')+'\x0a');_0x143a79[_0x477d('0x390')](_0x477d('0x55cb'),_0x477d('0x555e')+_0x477d('0x559e')+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Tag\x0a'+_0x477d('0x3f38')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x4d87')+_0x477d('0x4d88')+_0x477d('0x3aac')+_0x477d('0x55cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Tag\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39da')+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+_0x477d('0x3b1a')+_0x477d('0x3b1b')+_0x477d('0x55a5')+_0x477d('0x39de')+_0x477d('0x55ad')+_0x477d('0x5595')+_0x477d('0x39e0')+_0x477d('0x39e1')+_0x477d('0x36c0')+_0x477d('0x3669')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x1cb1'),_0x477d('0x55cd')+_0x477d('0x55ce')+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Key\x0a'+_0x477d('0x55cf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-maxlength=\x22255\x22\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cd')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x55d0')+_0x477d('0x39d2')+_0x477d('0x55d1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d9')+_0x477d('0x36a1')+_0x477d('0x55d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Value\x0a'+_0x477d('0x55d3')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x558f')+_0x477d('0x55d4')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x55d5')+_0x477d('0x39d2')+_0x477d('0x5592')+_0x477d('0x36bf')+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+_0x477d('0x39dc')+_0x477d('0x387b')+_0x477d('0x55d6')+_0x477d('0x39de')+_0x477d('0x55d7')+_0x477d('0x5595')+_0x477d('0x39e0')+_0x477d('0x39e1')+'\x0a'+_0x477d('0x55d8')+_0x477d('0x3c8b')+_0x477d('0x55d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22MAIL.ADD_MAILCANNEDANSWER\x22\x20translate-attr-aria-label=\x22MAIL.ADD_MAILCANNEDANSWER\x22>\x0a'+_0x477d('0x55da')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x55db')+_0x477d('0x559a')+_0x477d('0x3a16')+_0x477d('0x559b')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x39e9')+_0x477d('0x366a')+'\x0a');_0x143a79['put']('app/main/apps/mail/views/mailAccounts/edit/mailDispositions/dialog.html',_0x477d('0x55dc')+'\x20\x20\x20\x20\x0a'+_0x477d('0x381e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x0a'+_0x477d('0x55dd')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cd')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x55de')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ab5')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+_0x477d('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x55df')+_0x477d('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22mailDispositionForm.$invalid\x20||\x20mailDispositionForm.$pristine\x22\x0a'+_0x477d('0x5595')+_0x477d('0x39e0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x55e0')+_0x477d('0x3c8b')+_0x477d('0x55e1')+_0x477d('0x55e2')+_0x477d('0x55e3')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x39e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x39e9')+'\x20\x20\x20\x20\x0a'+'\x0a');_0x143a79[_0x477d('0x390')](_0x477d('0x1df'),'\x0a'+'\x0a'+_0x477d('0x39eb')+_0x477d('0x3b62')+_0x477d('0x3b63')+_0x477d('0x55e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.gotoMailAccounts()\x22\x0a'+_0x477d('0x55e5')+_0x477d('0x3e04')+_0x477d('0x372b')+'\x0a'+_0x477d('0x387b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x55e6')+_0x477d('0x3670')+'\x0a'+_0x477d('0x38e8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x55e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.mailAccount.name}}\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x55e8')+_0x477d('0x36bf')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+_0x477d('0x3ab5')+_0x477d('0x3e09')+_0x477d('0x55e9')+_0x477d('0x3f77')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22goto\x22\x20\x20>\x0a'+_0x477d('0x55ea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3ab5')+_0x477d('0x3e09')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e0d')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x38ad')+_0x477d('0x55eb')+_0x477d('0x3e11')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3699')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a18')+_0x477d('0x3b6b')+'\x0a'+_0x477d('0x3b6c')+_0x477d('0x3e12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x55ec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e14')+_0x477d('0x55ed')+_0x477d('0x3f7d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GENERAL\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e17')+_0x477d('0x3e18')+_0x477d('0x5560')+_0x477d('0x55ee')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5562')+_0x477d('0x55ef')+_0x477d('0x3e5f')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20key\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3e61')+_0x477d('0x5565')+_0x477d('0x36bf')+_0x477d('0x39d9')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x5566')+_0x477d('0x5567')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x4346')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5569')+_0x477d('0x36bf')+_0x477d('0x4328')+_0x477d('0x556a')+_0x477d('0x36bf')+_0x477d('0x385b')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x556b')+_0x477d('0x556c')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5e')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x3de0')+_0x477d('0x3e6e')+_0x477d('0x3e6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x556e')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3e73')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Active\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x55f0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x55f1')+_0x477d('0x55f2')+_0x477d('0x39d2')+_0x477d('0x55f3')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x3e73')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Font_Size\x0a'+_0x477d('0x55f4')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x228\x22\x20\x20\x20\x0a'+_0x477d('0x55f5')+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x55f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x55f7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3de9')+_0x477d('0x55f8')+_0x477d('0x3deb')+_0x477d('0x3e23')+_0x477d('0x55f9')+_0x477d('0x3deb')+_0x477d('0x3e24')+_0x477d('0x36a1')+_0x477d('0x55d2')+_0x477d('0x55fa')+_0x477d('0x55fb')+_0x477d('0x36c0')+_0x477d('0x3e73')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mark_as_unread\x0a'+_0x477d('0x3eb4')+_0x477d('0x55fc')+_0x477d('0x3867')+_0x477d('0x3e73')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WaitForTheAssignedAgent\x0a'+_0x477d('0x55fd')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3ee5')+_0x477d('0x3de6')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x3f88')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WaitForTheAssignedAgent\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3de9')+_0x477d('0x55fe')+_0x477d('0x3deb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x55ff')+_0x477d('0x3deb')+_0x477d('0x3e24')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x558f')+_0x477d('0x5590')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e25')+_0x477d('0x39d2')+_0x477d('0x5592')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x3e26')+_0x477d('0x3e27')+_0x477d('0x5600')+_0x477d('0x3f7d')+_0x477d('0x5601')+_0x477d('0x385c')+_0x477d('0x3f8e')+_0x477d('0x3e18')+_0x477d('0x5602')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5603')+_0x477d('0x3eb4')+_0x477d('0x3867')+_0x477d('0x3f90')+_0x477d('0x5604')+_0x477d('0x5605')+_0x477d('0x36c0')+_0x477d('0x3eb4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5606')+_0x477d('0x3f7d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TRANSFER\x0a'+_0x477d('0x385c')+_0x477d('0x3f94')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5607')+_0x477d('0x3eb4')+_0x477d('0x3867')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5608')+_0x477d('0x5609')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3ee5')+_0x477d('0x3de6')+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x560a')+_0x477d('0x39d2')+_0x477d('0x560b')+_0x477d('0x36bf')+_0x477d('0x3de9')+_0x477d('0x560c')+_0x477d('0x3deb')+_0x477d('0x3e23')+_0x477d('0x560d')+_0x477d('0x3deb')+_0x477d('0x3e24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x560e')+_0x477d('0x3eb4')+_0x477d('0x3867')+_0x477d('0x560f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20agentTransferTimeout\x0a'+_0x477d('0x5610')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3ee5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20max=\x222147483\x22\x20\x20\x0a'+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x3f9f')+_0x477d('0x39d2')+_0x477d('0x5611')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5612')+_0x477d('0x3deb')+_0x477d('0x3e23')+_0x477d('0x5613')+_0x477d('0x3deb')+_0x477d('0x3e24')+_0x477d('0x36a1')+_0x477d('0x3ab5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e27')+_0x477d('0x3e28')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e12')+_0x477d('0x3f7a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IMAP\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e14')+_0x477d('0x5614')+_0x477d('0x3f7d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IMAP\x0a'+_0x477d('0x385c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e18')+_0x477d('0x5615')+_0x477d('0x5616')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39ca')+_0x477d('0x3a5e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+_0x477d('0x3de0')+_0x477d('0x5572')+_0x477d('0x3a46')+_0x477d('0x5573')+_0x477d('0x5617')+_0x477d('0x3a46')+_0x477d('0x5618')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d6')+_0x477d('0x561d')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IMAP_Host\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x561e')+_0x477d('0x557e')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x561f')+_0x477d('0x39d2')+_0x477d('0x5580')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x5620')+_0x477d('0x3eb4')+_0x477d('0x3867')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5621')+_0x477d('0x3eb4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5622')+_0x477d('0x5587')+_0x477d('0x5623')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5588')+_0x477d('0x5624')+_0x477d('0x39d2')+_0x477d('0x5625')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x5626')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Password\x0a'+_0x477d('0x5627')+_0x477d('0x558c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5628')+_0x477d('0x39d2')+_0x477d('0x5629')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Must\x20contain\x20at\x20least\x208\x20characters,\x20with\x20a\x20minimum\x20of\x201\x20lowercase\x20letter,\x201\x20uppercase\x20letter,\x201\x20numeric\x20character\x20and\x201\x20special\x20character\x20~!?*@#$%^&-_=+[{]}.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3eb4')+_0x477d('0x3e73')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mailbox\x0a'+_0x477d('0x562a')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x562b')+_0x477d('0x39d2')+_0x477d('0x562c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20connTimeout\x0a'+_0x477d('0x562d')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3ee5')+_0x477d('0x39cb')+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x562e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x562f')+_0x477d('0x36bf')+_0x477d('0x3de9')+_0x477d('0x5630')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ee8')+_0x477d('0x36a1')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20authTimeout\x0a'+_0x477d('0x5631')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ee5')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x5632')+_0x477d('0x39d2')+_0x477d('0x5633')+_0x477d('0x36bf')+_0x477d('0x3de9')+_0x477d('0x5634')+_0x477d('0x3deb')+_0x477d('0x3ee8')+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x3e26')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e28')+_0x477d('0x3e29')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f7a')+_0x477d('0x5635')+_0x477d('0x3f7b')+_0x477d('0x3e14')+_0x477d('0x5636')+_0x477d('0x3f7d')+_0x477d('0x5637')+_0x477d('0x385c')+_0x477d('0x5638')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5615')+_0x477d('0x5639')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x5572')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5573')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5579')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5581')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SMTP_Host\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x563c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x563f')+_0x477d('0x5640')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5641')+_0x477d('0x3867')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5642')+_0x477d('0x3eb4')+_0x477d('0x3867')+_0x477d('0x5643')+_0x477d('0x5587')+_0x477d('0x5644')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5588')+_0x477d('0x5645')+_0x477d('0x39d2')+_0x477d('0x5625')+_0x477d('0x36bf')+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5646')+_0x477d('0x558b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x5629')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5041')+_0x477d('0x558e')+_0x477d('0x36bf')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3eb4')+_0x477d('0x3eb4')+_0x477d('0x3e26')+_0x477d('0x3e27')+_0x477d('0x3e28')+_0x477d('0x3e29')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5647')+_0x477d('0x3f7b')+_0x477d('0x3e14')+_0x477d('0x5648')+_0x477d('0x3f7d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DISPOSITION\x0a'+_0x477d('0x385c')+_0x477d('0x3fba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5649')+_0x477d('0x3eb4')+_0x477d('0x3867')+_0x477d('0x564a')+_0x477d('0x564b')+_0x477d('0x564c')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x4dfc')+_0x477d('0x3fbd')+_0x477d('0x3aac')+_0x477d('0x564d')+_0x477d('0x4dfe')+_0x477d('0x39d2')+_0x477d('0x564e')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e26')+_0x477d('0x3e27')+_0x477d('0x3e28')+_0x477d('0x3e29')+_0x477d('0x3e12')+_0x477d('0x3f7a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DISPOSITIONS\x0a'+_0x477d('0x3f7b')+_0x477d('0x3e14')+_0x477d('0x564f')+_0x477d('0x5650')+_0x477d('0x5651')+_0x477d('0x4100')+_0x477d('0x5652')+_0x477d('0x4102')+_0x477d('0x4103')+_0x477d('0x5653')+_0x477d('0x5654')+_0x477d('0x4105')+_0x477d('0x40e1')+_0x477d('0x3670')+_0x477d('0x4106')+_0x477d('0x5655')+_0x477d('0x4108')+_0x477d('0x5656')+_0x477d('0x3b2c')+_0x477d('0x5657')+_0x477d('0x410b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5658')+_0x477d('0x5659')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3d05')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4106')+_0x477d('0x4110')+_0x477d('0x565a')+_0x477d('0x565b')+_0x477d('0x4113')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x565c')+_0x477d('0x4115')+_0x477d('0x4116')+_0x477d('0x565d')+_0x477d('0x4115')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.CREATED_AT\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x4115')+_0x477d('0x414c')+_0x477d('0x411e')+_0x477d('0x411f')+_0x477d('0x4120')+_0x477d('0x565e')+'>\x0a'+_0x477d('0x565f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{mailDisposition.id}}\x0a'+_0x477d('0x4123')+_0x477d('0x5660')+_0x477d('0x5661')+_0x477d('0x4123')+_0x477d('0x5662')+_0x477d('0x5663')+_0x477d('0x412e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x412f')+_0x477d('0x5664')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4155')+'\x20\x0a'+_0x477d('0x4156')+_0x477d('0x4157')+_0x477d('0x5665')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20MailDisposition\x0a'+_0x477d('0x4133')+_0x477d('0x4159')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5666')+_0x477d('0x5667')+_0x477d('0x3a52')+_0x477d('0x415b')+_0x477d('0x415c')+_0x477d('0x4137')+_0x477d('0x4138')+_0x477d('0x411e')+_0x477d('0x5668')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x417f')+_0x477d('0x5669')+_0x477d('0x413b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x411e')+_0x477d('0x413d')+_0x477d('0x413e')+_0x477d('0x413f')+_0x477d('0x566a')+_0x477d('0x3fa6')+'\x0a'+_0x477d('0x3e27')+_0x477d('0x3e28')+_0x477d('0x3e29')+_0x477d('0x3e12')+_0x477d('0x3f7a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CANNEDANSWERS\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x566b')+_0x477d('0x566c')+'\x20\x20\x20\x20\x0a'+_0x477d('0x566d')+_0x477d('0x4102')+_0x477d('0x4103')+_0x477d('0x566e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20mailCannedAnswer\x22\x20translate\x20translate-attr-label=\x22MAIL.ADD_MAILCANNEDANSWER\x22>\x0a'+_0x477d('0x4105')+_0x477d('0x40e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4106')+_0x477d('0x566f')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5671')+_0x477d('0x410b')+_0x477d('0x410c')+_0x477d('0x5672')+_0x477d('0x5659')+_0x477d('0x410f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x40da')+'\x20\x20\x0a'+_0x477d('0x4110')+_0x477d('0x5673')+_0x477d('0x5674')+_0x477d('0x4113')+_0x477d('0x4114')+_0x477d('0x565c')+_0x477d('0x4115')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5675')+_0x477d('0x4115')+_0x477d('0x416d')+_0x477d('0x5676')+_0x477d('0x4115')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5677')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x411d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.CREATED_AT\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x4115')+_0x477d('0x414c')+_0x477d('0x411e')+_0x477d('0x411f')+_0x477d('0x4120')+_0x477d('0x5678')+'>\x0a'+_0x477d('0x5679')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{mailCannedAnswer.id}}\x0a'+_0x477d('0x4123')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x567a')+_0x477d('0x4123')+_0x477d('0x567b')+_0x477d('0x567c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{mailCannedAnswer.description}}\x0a'+_0x477d('0x4123')+_0x477d('0x567d')+_0x477d('0x567e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4153')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x0a'+_0x477d('0x4156')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x567f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4159')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5680')+_0x477d('0x3a52')+_0x477d('0x415b')+_0x477d('0x415c')+_0x477d('0x4137')+_0x477d('0x4138')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5681')+_0x477d('0x417e')+_0x477d('0x417f')+_0x477d('0x5682')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x413c')+_0x477d('0x411e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x413f')+_0x477d('0x5683')+_0x477d('0x3fa6')+'\x0a'+_0x477d('0x3e27')+_0x477d('0x3e28')+_0x477d('0x3e29')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f7a')+_0x477d('0x5684')+_0x477d('0x3f7b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5685')+_0x477d('0x4186')+_0x477d('0x4187')+_0x477d('0x4188')+_0x477d('0x4189')+_0x477d('0x418a')+_0x477d('0x418b')+_0x477d('0x418c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x418d')+_0x477d('0x418e')+_0x477d('0x37a7')+_0x477d('0x418f')+_0x477d('0x4190')+_0x477d('0x4e19')+_0x477d('0x5686')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x418e')+_0x477d('0x4193')+_0x477d('0x3fa6')+_0x477d('0x4e1b')+'\x20\x20\x0a'+_0x477d('0x5687')+_0x477d('0x4e1d')+_0x477d('0x5688')+_0x477d('0x4108')+_0x477d('0x5689')+_0x477d('0x3b2c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x380f')+'\x20\x20\x20\x20\x0a'+_0x477d('0x568a')+_0x477d('0x4108')+'\x20\x20\x20\x20\x20\x20\x20\x20{{vm_ac.selectedMailAccountApps.length}}\x20{{vm_ac.selectedMailAccountApps.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected\x0a'+_0x477d('0x3b2c')+_0x477d('0x568b')+_0x477d('0x568c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36dc')+_0x477d('0x380f')+_0x477d('0x392e')+'\x0a'+_0x477d('0x568d')+'\x20\x20\x20\x20\x0a'+_0x477d('0x568e')+_0x477d('0x4f0f')+_0x477d('0x419a')+_0x477d('0x419b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x419d')+_0x477d('0x419e')+_0x477d('0x419f')+_0x477d('0x4e23')+_0x477d('0x419e')+_0x477d('0x41a0')+_0x477d('0x41a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41a0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Interval\x0a'+_0x477d('0x419e')+_0x477d('0x419b')+_0x477d('0x419b')+_0x477d('0x41a3')+_0x477d('0x41a4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x568f')+_0x477d('0x41a7')+_0x477d('0x41a8')+_0x477d('0x413c')+_0x477d('0x5690')+_0x477d('0x5691')+_0x477d('0x5692')+_0x477d('0x41ac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41ad')+_0x477d('0x41ae')+_0x477d('0x41af')+_0x477d('0x5693')+_0x477d('0x41b0')+_0x477d('0x452d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41b1')+_0x477d('0x3a43')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3947')+'\x0a'+_0x477d('0x3a45')+_0x477d('0x41b3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4e29')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4b')+_0x477d('0x41b3')+_0x477d('0x41b4')+_0x477d('0x41b5')+_0x477d('0x3a52')+_0x477d('0x3a4b')+_0x477d('0x41b6')+_0x477d('0x41b7')+_0x477d('0x41b8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4b')+_0x477d('0x41b9')+_0x477d('0x42b0')+_0x477d('0x413c')+_0x477d('0x41a3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41bb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41a3')+_0x477d('0x41bc')+_0x477d('0x41bd')+_0x477d('0x41be')+_0x477d('0x4e2b')+'\x0a'+_0x477d('0x41bf')+'\x0a'+_0x477d('0x41c0')+'\x0a'+_0x477d('0x41c1')+'\x0a'+'\x0a'+_0x477d('0x3e27')+_0x477d('0x3e28')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e12')+_0x477d('0x3f7a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20INTERACTIONS\x0a'+_0x477d('0x3f7b')+_0x477d('0x3e14')+_0x477d('0x5694')+_0x477d('0x5695')+_0x477d('0x5696')+_0x477d('0x4100')+'\x20\x20\x20\x20\x20\x20Interactions\x0a'+_0x477d('0x4102')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5697')+_0x477d('0x41c7')+_0x477d('0x41c8')+_0x477d('0x41c9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22DASHBOARDS.FILTER\x22\x20ng-click=\x22vm_dc.openAdvancedSearch()\x22>\x0a'+_0x477d('0x41cb')+_0x477d('0x4e30')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x380f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x40e1')+_0x477d('0x40da')+_0x477d('0x4106')+_0x477d('0x5699')+_0x477d('0x4108')+'\x20\x20\x20\x20\x20\x20\x20\x20{{vm_dc.selectedMailAccountInteractions.length}}\x20{{vm_dc.selectedMailAccountInteractions.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x569a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x410c')+_0x477d('0x569b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22MAIL.DELETE_SELECTED\x22>\x0a'+_0x477d('0x410f')+_0x477d('0x3d05')+_0x477d('0x40da')+_0x477d('0x4106')+_0x477d('0x4110')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x569c')+_0x477d('0x4113')+_0x477d('0x4114')+_0x477d('0x565c')+_0x477d('0x4115')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4115')+_0x477d('0x41d2')+_0x477d('0x41d3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41d3')+_0x477d('0x4214')+_0x477d('0x569d')+_0x477d('0x4115')+_0x477d('0x569e')+_0x477d('0x569f')+_0x477d('0x4115')+_0x477d('0x411d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.STARTEDAT\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41d5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.LASTMESSAGE\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x4115')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x56a0')+_0x477d('0x4115')+_0x477d('0x4214')+_0x477d('0x56a1')+_0x477d('0x4115')+_0x477d('0x41d8')+_0x477d('0x56a2')+_0x477d('0x4115')+_0x477d('0x414c')+_0x477d('0x411e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4120')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41dc')+_0x477d('0x4e3e')+_0x477d('0x56a3')+_0x477d('0x4e3f')+_0x477d('0x41dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20,\x20\x0a'+_0x477d('0x41f4')+_0x477d('0x41df')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3939')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20interaction.unreadMessages}}\x0a'+_0x477d('0x40da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41e3')+_0x477d('0x41e4')+_0x477d('0x41e5')+_0x477d('0x41e0')+_0x477d('0x3939')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4baa')+_0x477d('0x41e7')+_0x477d('0x41e8')+_0x477d('0x41e9')+_0x477d('0x41ea')+_0x477d('0x377d')+_0x477d('0x4123')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x56a4')+_0x477d('0x56a5')+_0x477d('0x56a6')+_0x477d('0x41f4')+_0x477d('0x36a9')+_0x477d('0x4123')+_0x477d('0x41eb')+_0x477d('0x4e40')+_0x477d('0x412e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41ec')+_0x477d('0x4e42')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x427b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41ef')+_0x477d('0x36a9')+_0x477d('0x40da')+_0x477d('0x412e')+_0x477d('0x41f0')+_0x477d('0x4128')+_0x477d('0x4e43')+_0x477d('0x56a7')+_0x477d('0x41f2')+_0x477d('0x41f3')+_0x477d('0x41f4')+_0x477d('0x4e45')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x56a8')+_0x477d('0x41f7')+_0x477d('0x41f8')+_0x477d('0x41f4')+_0x477d('0x4e45')+_0x477d('0x4123')+_0x477d('0x3a46')+_0x477d('0x4e47')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{interaction.Owner.name}}\x0a'+_0x477d('0x4123')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41f9')+_0x477d('0x41fa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{tag.name}},\x20\x0a'+_0x477d('0x41fc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41ff')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x56a9')+_0x477d('0x412f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4155')+'\x20\x0a'+_0x477d('0x4156')+_0x477d('0x4200')+_0x477d('0x56aa')+_0x477d('0x4202')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Download\x20with\x20attachments\x0a'+_0x477d('0x4206')+_0x477d('0x415b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x56ab')+_0x477d('0x4208')+_0x477d('0x4206')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4e4d')+_0x477d('0x56ac')+_0x477d('0x420a')+_0x477d('0x3a52')+_0x477d('0x415b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4137')+_0x477d('0x4138')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x56ad')+_0x477d('0x56ae')+_0x477d('0x417f')+_0x477d('0x56af')+_0x477d('0x413b')+_0x477d('0x413c')+_0x477d('0x411e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x413e')+_0x477d('0x413f')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x0a'+'\x0a'+_0x477d('0x3e27')+_0x477d('0x3e28')+_0x477d('0x3e29')+_0x477d('0x3e2a')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3a5a')+'\x0a'+_0x477d('0x377d'));_0x143a79[_0x477d('0x390')](_0x477d('0x56b0'),'\x0a'+'\x0a'+_0x477d('0x39eb')+_0x477d('0x3bef')+'\x0a'+_0x477d('0x3abc')+_0x477d('0x37cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ed')+_0x477d('0x56b1')+_0x477d('0x3760')+_0x477d('0x56b2')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39ef')+'\x0a'+_0x477d('0x39f0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39f2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39f4')+_0x477d('0x39f5')+_0x477d('0x3abf')+_0x477d('0x56b3')+_0x477d('0x39a2')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36bf')+_0x477d('0x3699')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39f9')+_0x477d('0x56b4')+_0x477d('0x39fa')+'\x0a'+_0x477d('0x56b5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39fd')+_0x477d('0x56b6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x56b7')+_0x477d('0x56b8')+_0x477d('0x3760')+'\x0a'+_0x477d('0x3daf')+_0x477d('0x3a04')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22$mdOpenMenu($event)\x22\x0a'+_0x477d('0x3a06')+_0x477d('0x56b9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3674')+_0x477d('0x3a09')+_0x477d('0x3a0a')+_0x477d('0x56ba')+_0x477d('0x3a0c')+_0x477d('0x3832')+_0x477d('0x3a0f')+_0x477d('0x3a0a')+_0x477d('0x56bb')+_0x477d('0x3a0e')+_0x477d('0x3832')+_0x477d('0x3a0f')+_0x477d('0x3a10')+_0x477d('0x3a11')+_0x477d('0x36c0')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a13')+_0x477d('0x3a14')+_0x477d('0x56bc')+_0x477d('0x56bd')+_0x477d('0x3a16')+_0x477d('0x387e')+_0x477d('0x382a')+_0x477d('0x36e5')+_0x477d('0x3699')+_0x477d('0x3a17')+'\x0a'+_0x477d('0x3a18')+_0x477d('0x3a19')+'\x0a'+_0x477d('0x3a1a')+_0x477d('0x3ac6')+'\x0a'+_0x477d('0x3a1b')+_0x477d('0x56be')+_0x477d('0x3a1d')+_0x477d('0x3a1e')+_0x477d('0x56bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x56c0')+_0x477d('0x56c1')+_0x477d('0x56c2')+_0x477d('0x56c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.ACTIVE\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x56c4')+_0x477d('0x3acb')+_0x477d('0x3a2c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a2e')+_0x477d('0x56c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a30')+_0x477d('0x56c6')+_0x477d('0x3a31')+_0x477d('0x3a32')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{mailAccount.id}}\x0a'+_0x477d('0x56c7')+_0x477d('0x56c8')+_0x477d('0x56c7')+_0x477d('0x56c9')+_0x477d('0x56c7')+_0x477d('0x56ca')+_0x477d('0x56cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22active\x20\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{mailAccount.description}}\x0a'+_0x477d('0x3ad9')+'\x0a'+_0x477d('0x3a42')+'\x0a'+_0x477d('0x3a43')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a44')+_0x477d('0x3947')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3adc')+'\x0a'+_0x477d('0x56cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MAIL.EDIT_MAILACCOUNT\x22>\x0a'+_0x477d('0x56cd')+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3dc6')+'\x0a'+_0x477d('0x56ce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MAIL.VERIFYSMTP_MAILACCOUNT\x22>\x0a'+_0x477d('0x56cf')+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3dc6')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x56d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3dc6')+'\x0a'+_0x477d('0x56d1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MAIL.GOTOREALTIME_MAILACCOUNT\x22>\x0a'+_0x477d('0x56d2')+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3dc6')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AgentAdd\x20MailAccount\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3caf')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3693')+_0x477d('0x3939')+'\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a56')+_0x477d('0x3ae2')+_0x477d('0x3a57')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ae4')+_0x477d('0x56d4')+_0x477d('0x3a59')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+_0x477d('0x3ae6')+'\x0a'+'\x20\x20\x20\x20
\x0a'+_0x477d('0x3a5a')+'\x0a'+_0x477d('0x56d5')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3735')+_0x477d('0x56d6')+_0x477d('0x3699'));_0x143a79[_0x477d('0x390')]('app/main/apps/mail/views/mailQueues/create/dialog.html',_0x477d('0x56d7')+_0x477d('0x56d8')+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x56da')+_0x477d('0x39d2')+_0x477d('0x56db')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x56dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x56dd')+_0x477d('0x56de')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x3de0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x56df')+_0x477d('0x36bf')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e73')+_0x477d('0x56e0')+_0x477d('0x56e1')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x221\x22\x20\x20\x20\x0a'+_0x477d('0x3de6')+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x56e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x56e3')+_0x477d('0x36bf')+_0x477d('0x3de9')+_0x477d('0x56e4')+_0x477d('0x3deb')+_0x477d('0x3e23')+_0x477d('0x56e5')+_0x477d('0x3deb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x558f')+_0x477d('0x56e6')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x56e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5592')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x3ab5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39da')+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+_0x477d('0x39dc')+_0x477d('0x387b')+_0x477d('0x56e8')+_0x477d('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22mailQueueForm.$invalid\x20||\x20mailQueueForm.$pristine\x22\x0a'+_0x477d('0x5595')+_0x477d('0x39e0')+_0x477d('0x39e1')+'\x0a'+_0x477d('0x56e9')+_0x477d('0x3c8b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22mailQueueForm.$invalid\x22\x0a'+_0x477d('0x56ea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20MAILQUEUE\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x56eb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22MAIL.DELETE\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x559b')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x39e9')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')]('app/main/apps/mail/views/mailQueues/edit/agentadd/agentadd.html','\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3d23')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x56ec')+_0x477d('0x3d25')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+_0x477d('0x3661')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3663')+_0x477d('0x3dfc')+_0x477d('0x3dfd')+_0x477d('0x3dfe')+_0x477d('0x3b6a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3669')+_0x477d('0x366a')+'\x0a');_0x143a79[_0x477d('0x390')](_0x477d('0x1d03'),'\x0a'+_0x477d('0x56ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3dfa')+_0x477d('0x56ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+_0x477d('0x3661')+_0x477d('0x3dfb')+_0x477d('0x3663')+_0x477d('0x3dfc')+_0x477d('0x3dfd')+_0x477d('0x4e97')+_0x477d('0x3b6a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3669')+'\x20\x20\x20\x20\x0a'+'\x0a');_0x143a79[_0x477d('0x390')](_0x477d('0x1d8'),'\x0a'+'\x0a'+_0x477d('0x39eb')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3b63')+_0x477d('0x56ef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.gotoMailQueues()\x22\x0a'+_0x477d('0x56f0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x372b')+'\x0a'+_0x477d('0x387b')+'\x0a'+_0x477d('0x56f1')+_0x477d('0x56f2')+_0x477d('0x3670')+'\x0a'+_0x477d('0x38e8')+_0x477d('0x3b65')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.mailQueue.id}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.mailQueue.name}}\x0a'+_0x477d('0x36bf')+_0x477d('0x3b68')+_0x477d('0x56f3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ab5')+_0x477d('0x3e09')+_0x477d('0x56f4')+_0x477d('0x4e9e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22teamadd\x22\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x3ab5')+_0x477d('0x3e09')+_0x477d('0x56f5')+_0x477d('0x4ea0')+_0x477d('0x4581')+_0x477d('0x56f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x477d('0x3d05')+'\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x0a'+_0x477d('0x3699')+_0x477d('0x39f8')+'\x0a'+_0x477d('0x3a18')+_0x477d('0x3b6b')+'\x0a'+_0x477d('0x3b6c')+_0x477d('0x3e12')+_0x477d('0x3f7a')+_0x477d('0x55ec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e14')+_0x477d('0x56f7')+_0x477d('0x3f7d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GENERAL\x0a'+_0x477d('0x385c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e18')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x0a'+_0x477d('0x56f8')+_0x477d('0x39ca')+_0x477d('0x3dd8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4ea1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x56f9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x56db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20must\x20be\x20valid\x20pattern\x20\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x56dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x56df')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3e73')+_0x477d('0x56e0')+_0x477d('0x56e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x221\x22\x20\x20\x20\x0a'+_0x477d('0x3de6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x3e22')+_0x477d('0x39d2')+_0x477d('0x56e3')+_0x477d('0x36bf')+_0x477d('0x3de9')+_0x477d('0x56e4')+_0x477d('0x3deb')+_0x477d('0x3e23')+_0x477d('0x56e5')+_0x477d('0x3deb')+_0x477d('0x3e24')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x558f')+_0x477d('0x56e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e25')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5592')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e27')+_0x477d('0x3e28')+_0x477d('0x3e29')+_0x477d('0x3e2a')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x377d'));_0x143a79[_0x477d('0x390')](_0x477d('0x1d2'),_0x477d('0x56fa')+'\x0a'+_0x477d('0x39eb')+_0x477d('0x3bef')+'\x0a'+_0x477d('0x3abc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ed')+_0x477d('0x56b1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MailQueues\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+_0x477d('0x39ef')+'\x0a'+_0x477d('0x39f0')+_0x477d('0x39f1')+_0x477d('0x39f2')+_0x477d('0x39f3')+_0x477d('0x39f4')+_0x477d('0x39f5')+_0x477d('0x3abf')+_0x477d('0x56b3')+_0x477d('0x39a2')+_0x477d('0x36c0')+_0x477d('0x39f7')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x0a'+_0x477d('0x39f8')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a'+_0x477d('0x39fa')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39fc')+_0x477d('0x39fd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Back\x0a'+_0x477d('0x372b')+_0x477d('0x36e5')+'\x0a'+_0x477d('0x39ff')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x56fb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedMailQueues.length}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20selected\x0a'+_0x477d('0x3760')+'\x0a'+_0x477d('0x3daf')+_0x477d('0x3a04')+_0x477d('0x3a05')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22multi\x20select\x20toggle\x22\x0a'+_0x477d('0x56b9')+_0x477d('0x3a08')+_0x477d('0x3674')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a0a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a0c')+_0x477d('0x3832')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a0a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a0e')+_0x477d('0x3832')+_0x477d('0x3a0f')+_0x477d('0x3a10')+_0x477d('0x3a11')+_0x477d('0x36c0')+'\x0a'+_0x477d('0x3ac4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a14')+_0x477d('0x56fc')+_0x477d('0x56bd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x382a')+_0x477d('0x36e5')+'\x20\x20\x20\x20
\x0a'+_0x477d('0x3a17')+'\x0a'+_0x477d('0x3a18')+_0x477d('0x3a19')+'\x0a'+_0x477d('0x3a1a')+_0x477d('0x3ac6')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x56fd')+_0x477d('0x3a1d')+_0x477d('0x3a1e')+_0x477d('0x56fe')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a21')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x56c0')+_0x477d('0x56c1')+_0x477d('0x56ff')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a2e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3db9')+_0x477d('0x3a30')+_0x477d('0x56c6')+_0x477d('0x3a31')+_0x477d('0x3a32')+_0x477d('0x3a2c')+_0x477d('0x5700')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5701')+_0x477d('0x5702')+_0x477d('0x5703')+_0x477d('0x5704')+_0x477d('0x5705')+_0x477d('0x5706')+_0x477d('0x5707')+_0x477d('0x3dc1')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a43')+'\x0a'+_0x477d('0x3d9e')+_0x477d('0x5708')+_0x477d('0x3a44')+_0x477d('0x3947')+'\x0a'+_0x477d('0x3a45')+'\x0a'+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3adc')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x570b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MAIL.TEAMADD_MAILQUEUE\x22>\x0a'+_0x477d('0x570c')+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3dc6')+'\x0a'+_0x477d('0x570d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MAIL.AGENTADD_MAILQUEUE\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20agentadd\x20MailQueue\x0a'+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3a47')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3caf')+'\x0a'+_0x477d('0x570e')+_0x477d('0x570f')+_0x477d('0x5710')+_0x477d('0x3a52')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a47')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4d')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x5711')+_0x477d('0x5712')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20goToRealtime\x20MailQueue\x0a'+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3692')+'\x0a'+_0x477d('0x3693')+_0x477d('0x3939')+'\x0a'+'\x0a'+_0x477d('0x3a2c')+_0x477d('0x3a56')+_0x477d('0x3ae2')+_0x477d('0x3a57')+'\x0a'+_0x477d('0x5713')+_0x477d('0x3ae4')+_0x477d('0x5714')+_0x477d('0x3a59')+'\x0a'+_0x477d('0x3cb5')+_0x477d('0x36e5')+_0x477d('0x3ae6')+'\x0a'+_0x477d('0x3699')+_0x477d('0x3a5a')+'\x0a'+_0x477d('0x5715')+_0x477d('0x5716')+_0x477d('0x5717')+_0x477d('0x3cb8')+_0x477d('0x3735')+_0x477d('0x5718')+_0x477d('0x3699'));_0x143a79[_0x477d('0x390')](_0x477d('0x1d2b'),_0x477d('0x5719')+_0x477d('0x571a')+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x38ad')+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x0a'+_0x477d('0x571b')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x571c')+_0x477d('0x39d2')+_0x477d('0x56db')+_0x477d('0x36bf')+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x558f')+_0x477d('0x571d')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x5592')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39dc')+_0x477d('0x387b')+_0x477d('0x571e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x477d('0x571f')+_0x477d('0x5595')+_0x477d('0x39e0')+_0x477d('0x39e1')+'\x0a'+_0x477d('0x5720')+_0x477d('0x3c8b')+_0x477d('0x5721')+_0x477d('0x5722')+_0x477d('0x5723')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x39e9')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x1e2'),_0x477d('0x5724')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ec')+_0x477d('0x39ed')+_0x477d('0x56b1')+_0x477d('0x3760')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MailSubstatuses\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+_0x477d('0x39ef')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39f1')+_0x477d('0x39f2')+_0x477d('0x39f3')+_0x477d('0x39f4')+_0x477d('0x39f5')+_0x477d('0x3abf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39a2')+_0x477d('0x36c0')+_0x477d('0x39f7')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x0a'+_0x477d('0x39f8')+'\x0a'+_0x477d('0x39f9')+_0x477d('0x5725')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22>\x0a'+'\x0a'+_0x477d('0x5726')+_0x477d('0x39fc')+_0x477d('0x39fd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Back\x0a'+_0x477d('0x372b')+_0x477d('0x36e5')+'\x0a'+_0x477d('0x39ff')+'\x0a'+_0x477d('0x3a00')+_0x477d('0x5727')+_0x477d('0x5728')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20selected\x0a'+_0x477d('0x3760')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a04')+_0x477d('0x3a05')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22multi\x20select\x20toggle\x22\x0a'+_0x477d('0x56b9')+_0x477d('0x3a08')+_0x477d('0x3674')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a0a')+_0x477d('0x5729')+_0x477d('0x3a0c')+_0x477d('0x3832')+_0x477d('0x3a0f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Select\x20none\x0a'+_0x477d('0x3832')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a10')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x572a')+_0x477d('0x3a13')+_0x477d('0x3a14')+_0x477d('0x572b')+_0x477d('0x56bd')+_0x477d('0x3a16')+_0x477d('0x387e')+_0x477d('0x382a')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a18')+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ac6')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x572c')+_0x477d('0x3a1d')+_0x477d('0x3a1e')+_0x477d('0x572d')+_0x477d('0x572e')+_0x477d('0x3a21')+_0x477d('0x3a22')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.ID\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.NAME\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x56c4')+_0x477d('0x3acb')+_0x477d('0x3a2c')+_0x477d('0x3a2d')+_0x477d('0x3a2e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a30')+_0x477d('0x56c6')+_0x477d('0x3a31')+_0x477d('0x3a32')+_0x477d('0x3a2c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x572f')+_0x477d('0x5730')+_0x477d('0x5731')+_0x477d('0x5732')+_0x477d('0x5733')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22name\x20\x22\x20>{{mailSubstatus.name}}\x0a'+_0x477d('0x5733')+_0x477d('0x5734')+_0x477d('0x3ad9')+'\x0a'+_0x477d('0x3ada')+'\x0a'+_0x477d('0x3a43')+'\x0a'+_0x477d('0x3d9e')+_0x477d('0x5708')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3947')+'\x0a'+_0x477d('0x3a45')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3adc')+'\x0a'+_0x477d('0x5735')+_0x477d('0x5736')+_0x477d('0x5737')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3caf')+'\x0a'+_0x477d('0x5738')+_0x477d('0x5739')+_0x477d('0x573a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3692')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3939')+'\x0a'+'\x0a'+_0x477d('0x3a2c')+_0x477d('0x3a56')+_0x477d('0x3ae2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x573b')+_0x477d('0x3a59')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ae6')+'\x0a'+_0x477d('0x3699')+_0x477d('0x3a5a')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x573c')+_0x477d('0x573d')+_0x477d('0x3cb8')+_0x477d('0x3735')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3699'));_0x143a79[_0x477d('0x390')]('app/main/apps/mail/views/realtime/accounts/view.html','\x0a'+_0x477d('0x421f')+_0x477d('0x4100')+'\x20\x20\x20\x20\x20\x20\x20\x20Accounts\x0a'+_0x477d('0x3b2c')+_0x477d('0x42b9')+_0x477d('0x3699')+'\x0a'+'\x0a'+_0x477d('0x4ec5')+_0x477d('0x4230')+_0x477d('0x4231')+_0x477d('0x573e')+_0x477d('0x419a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.NAME\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x573f')+_0x477d('0x5740')+_0x477d('0x5741')+_0x477d('0x5742')+_0x477d('0x5743')+_0x477d('0x5744')+_0x477d('0x3d53')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41a4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5745')+_0x477d('0x5746')+_0x477d('0x4258')+_0x477d('0x5747')+_0x477d('0x36bf')+_0x477d('0x413c')+_0x477d('0x41a3')+_0x477d('0x5748')+_0x477d('0x5749')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.mailAccounts[value].key}}\x0a'+_0x477d('0x41a7')+_0x477d('0x574a')+_0x477d('0x413c')+_0x477d('0x41a7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4ed0')+_0x477d('0x574b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.mailAccounts[value].lastIn\x20?\x20\x20(vm.mailAccounts[value].lastIn\x20|\x20date:\x20\x27shortTime\x27)\x20:\x20\x27\x27}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x413c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4ed3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.mailAccounts[value].out\x20||\x200}}\x0a'+_0x477d('0x574c')+_0x477d('0x36bf')+_0x477d('0x413c')+_0x477d('0x574d')+_0x477d('0x574e')+_0x477d('0x574f')+_0x477d('0x5750')+_0x477d('0x5751')+_0x477d('0x5752')+_0x477d('0x5753')+_0x477d('0x5754')+_0x477d('0x5755')+_0x477d('0x5756')+_0x477d('0x5757')+_0x477d('0x5758')+_0x477d('0x3f01')+_0x477d('0x5759')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x575a')+_0x477d('0x575b')+_0x477d('0x574f')+_0x477d('0x5750')+_0x477d('0x575c')+_0x477d('0x575d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20(\x27MAIL.\x27\x20+\x20vm.mailAccounts[value].Smtp.status.toUpperCase())\x20|\x20translate}}\x0a'+_0x477d('0x3f01')+_0x477d('0x575e')+_0x477d('0x40da')+_0x477d('0x575f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5760')+_0x477d('0x3a43')+_0x477d('0x4ed6')+_0x477d('0x3a44')+_0x477d('0x3947')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5761')+_0x477d('0x4ed7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4b')+_0x477d('0x42ce')+_0x477d('0x5762')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Verify\x20Smtp\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4b')+_0x477d('0x3bb5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x413c')+_0x477d('0x41a3')+_0x477d('0x41bc')+_0x477d('0x42d1')+_0x477d('0x41be')+'\x0a'+_0x477d('0x5763')+'\x0a'+_0x477d('0x41c1'));_0x143a79['put'](_0x477d('0x1e9'),'\x0a'+_0x477d('0x421f')+_0x477d('0x4100')+_0x477d('0x5764')+_0x477d('0x3b2c')+_0x477d('0x4221')+_0x477d('0x4222')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5765')+_0x477d('0x5766')+_0x477d('0x5767')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.BUSY\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x5768')+_0x477d('0x3888')+'\x0a'+_0x477d('0x4229')+_0x477d('0x422a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20All\x0a'+_0x477d('0x422c')+_0x477d('0x422d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20LOGININPAUSE\x0a'+_0x477d('0x5769')+_0x477d('0x4edf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3699')+_0x477d('0x422f')+'\x0a'+'\x0a'+_0x477d('0x4230')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4233')+_0x477d('0x576a')+_0x477d('0x4235')+_0x477d('0x4236')+_0x477d('0x4237')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.SMS\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x4239')+_0x477d('0x423a')+_0x477d('0x423b')+_0x477d('0x423c')+_0x477d('0x423d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x419a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x576b')+_0x477d('0x4240')+_0x477d('0x576c')+_0x477d('0x4241')+_0x477d('0x576d')+_0x477d('0x4243')+_0x477d('0x576e')+'\x0a'+_0x477d('0x4245')+_0x477d('0x4246')+'\x0a'+_0x477d('0x4247')+_0x477d('0x4248')+_0x477d('0x4249')+_0x477d('0x424a')+_0x477d('0x36bb')+_0x477d('0x419e')+'\x0a'+_0x477d('0x424b')+_0x477d('0x424c')+_0x477d('0x4249')+_0x477d('0x424d')+_0x477d('0x36bb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.STATUS\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x424f')+_0x477d('0x4249')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.CAPACITY\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x36bb')+_0x477d('0x419e')+'\x0a'+_0x477d('0x4250')+_0x477d('0x4251')+_0x477d('0x4249')+_0x477d('0x4252')+_0x477d('0x36bb')+_0x477d('0x419e')+'\x0a'+_0x477d('0x4253')+_0x477d('0x4254')+_0x477d('0x4249')+_0x477d('0x4ee4')+_0x477d('0x36bb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.STATUS\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x576f')+_0x477d('0x4249')+_0x477d('0x4ee5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41a4')+_0x477d('0x4256')+_0x477d('0x4257')+_0x477d('0x4ee6')+_0x477d('0x4258')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.NO_AGENT_ONLINE\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x36bf')+_0x477d('0x413c')+_0x477d('0x41a3')+_0x477d('0x4ee8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.agents[value].fullname}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.agents[value].internal}}\x0a'+_0x477d('0x36a9')+_0x477d('0x36bf')+_0x477d('0x413c')+_0x477d('0x425a')+_0x477d('0x425f')+_0x477d('0x4260')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3684')+_0x477d('0x4262')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22icon-camcorder-box26\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5770')+_0x477d('0x4268')+_0x477d('0x4266')+_0x477d('0x368a')+_0x477d('0x36a9')+_0x477d('0x4eeb')+_0x477d('0x3684')+_0x477d('0x4267')+_0x477d('0x4263')+_0x477d('0x4264')+_0x477d('0x5771')+_0x477d('0x4268')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a9')+_0x477d('0x36bf')+_0x477d('0x413c')+'\x0a'+'\x0a'+'\x0a'+_0x477d('0x4269')+_0x477d('0x426a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27idle\x27:\x27lime-300-bg\x27,\x27busy\x27:\x27indigo-100-bg\x27,\x27*pause\x27:\x27amber-50-bg\x27,\x27pause\x27:\x27amber-200-bg\x27}[vm.agents[value].globalStatus]\x22>{{\x20vm.isPause(vm.agents[value].globalStatus)\x20?\x20\x27\x27\x20:\x20vm.agents[value].globalStatus\x20|\x20uppercase\x20}}\x0a'+_0x477d('0x4eee')+_0x477d('0x413c')+_0x477d('0x426b')+_0x477d('0x426c')+_0x477d('0x426d')+_0x477d('0x413c')+_0x477d('0x426b')+_0x477d('0x426e')+_0x477d('0x4eef')+_0x477d('0x426f')+_0x477d('0x426d')+_0x477d('0x413c')+_0x477d('0x4270')+_0x477d('0x4271')+_0x477d('0x4272')+_0x477d('0x4273')+_0x477d('0x4274')+_0x477d('0x4275')+_0x477d('0x36bf')+_0x477d('0x413c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hhours}}:{{mminutes}}:{{sseconds}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36bf')+_0x477d('0x413c')+'\x0a'+_0x477d('0x427c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x427d')+_0x477d('0x427e')+_0x477d('0x36a9')+_0x477d('0x36bf')+_0x477d('0x413c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41ee')+_0x477d('0x427d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27idle\x27:\x27lime-300-bg\x27,\x27maxcapacity\x27:\x27red-A200-bg\x27,\x27working\x27:\x27indigo-100-bg\x27,\x27pause\x27:\x27amber-200-bg\x27}[vm.agents[value].mailStatus]\x22>{{\x20vm.agents[value].mailStatus\x20|\x20uppercase\x20}}\x0a'+_0x477d('0x36a9')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4ef2')+_0x477d('0x4282')+_0x477d('0x4283')+'\x0a'+_0x477d('0x4284')+_0x477d('0x4271')+_0x477d('0x41ee')+_0x477d('0x427d')+_0x477d('0x4ef3')+_0x477d('0x36a9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x413c')+_0x477d('0x4285')+_0x477d('0x4ef4')+_0x477d('0x4286')+'\x0a'+_0x477d('0x4287')+_0x477d('0x4271')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.agents[value].openchannelStatus\x20|\x20uppercase\x20}}\x0a'+_0x477d('0x36a9')+_0x477d('0x36bf')+_0x477d('0x413c')+_0x477d('0x4289')+_0x477d('0x428a')+_0x477d('0x4ef5')+'\x0a'+_0x477d('0x428b')+_0x477d('0x4271')+_0x477d('0x41ee')+_0x477d('0x427d')+_0x477d('0x428c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36bf')+_0x477d('0x413c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41ee')+_0x477d('0x427d')+_0x477d('0x4ef7')+_0x477d('0x36a9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x413c')+_0x477d('0x4290')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27idle\x27:\x27lime-300-fg\x27,\x27maxcapacity\x27:\x27red-A200-fg\x27,\x27working\x27:\x27indigo-100-fg\x27,\x27pause\x27:\x27amber-200-fg\x27}[vm.agents[value].whatsappStatus]\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.agents[value].whatsappCurrentCapacity\x20}}\x0a'+'\x0a'+_0x477d('0x4293')+_0x477d('0x3a43')+_0x477d('0x3d9e')+_0x477d('0x4294')+_0x477d('0x3a44')+_0x477d('0x3947')+'\x0a'+_0x477d('0x4295')+_0x477d('0x4296')+_0x477d('0x4297')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MAIL.LOGOUT\x22>\x0a'+_0x477d('0x4299')+_0x477d('0x3a52')+_0x477d('0x3a4b')+_0x477d('0x4296')+_0x477d('0x429a')+_0x477d('0x5775')+_0x477d('0x5776')+_0x477d('0x3a52')+_0x477d('0x3a4b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x42a3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Stop\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Screen\x20Recording\x0a'+_0x477d('0x3c30')+_0x477d('0x42a5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x4296')+_0x477d('0x3c28')+_0x477d('0x429d')+_0x477d('0x577a')+_0x477d('0x429f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x42aa')+_0x477d('0x4efd')+_0x477d('0x4efe')+_0x477d('0x577b')+_0x477d('0x42a8')+_0x477d('0x3c30')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x42aa')+_0x477d('0x42ab')+_0x477d('0x42ac')+_0x477d('0x3c34')+_0x477d('0x3c30')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3c45')+_0x477d('0x3a4b')+_0x477d('0x42ad')+_0x477d('0x42ae')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MAIL.UNPAUSE\x22>\x0a'+_0x477d('0x4f01')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41b9')+_0x477d('0x42b0')+_0x477d('0x413c')+_0x477d('0x41a3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x42d1')+'\x0a'+'\x0a'+_0x477d('0x42b1')+_0x477d('0x577c')+_0x477d('0x481b')+_0x477d('0x42b3')+_0x477d('0x42b4')+_0x477d('0x42b5'));_0x143a79[_0x477d('0x390')]('app/main/apps/mail/views/realtime/queues/view.html',_0x477d('0x42b7')+_0x477d('0x421f')+_0x477d('0x4100')+_0x477d('0x577d')+_0x477d('0x3b2c')+_0x477d('0x42b9')+'\x20\x20\x20\x20\x0a'+_0x477d('0x422f')+'\x0a'+_0x477d('0x42ba')+_0x477d('0x4230')+_0x477d('0x4231')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x419a')+_0x477d('0x577e')+_0x477d('0x577f')+_0x477d('0x5780')+_0x477d('0x5781')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.WAITING\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x42c1')+_0x477d('0x41a3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4256')+_0x477d('0x42c2')+_0x477d('0x417e')+_0x477d('0x4258')+_0x477d('0x5747')+_0x477d('0x36bf')+_0x477d('0x413c')+_0x477d('0x41a3')+_0x477d('0x42c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.queues[value].name}}\x0a'+_0x477d('0x41a7')+_0x477d('0x42c6')+_0x477d('0x413c')+_0x477d('0x41a7')+_0x477d('0x42c7')+_0x477d('0x413c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x42c8')+_0x477d('0x413c')+_0x477d('0x41a7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.queues[value].waiting\x20||\x200}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f04')+_0x477d('0x3a43')+_0x477d('0x5782')+_0x477d('0x42cb')+_0x477d('0x3947')+'\x0a'+_0x477d('0x3a45')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5783')+_0x477d('0x42cd')+_0x477d('0x3a52')+_0x477d('0x3a4b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5784')+_0x477d('0x42d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41b9')+_0x477d('0x42b0')+_0x477d('0x413c')+_0x477d('0x41a3')+_0x477d('0x41bc')+_0x477d('0x42d1')+_0x477d('0x41be')+'\x0a'+_0x477d('0x5785')+_0x477d('0x42d3')+_0x477d('0x41c1'));_0x143a79['put'](_0x477d('0x5786'),_0x477d('0x42d4')+_0x477d('0x3a18')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3b6c')+_0x477d('0x42d5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5787')+_0x477d('0x42d8')+_0x477d('0x384c')+_0x477d('0x42d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Queues\x0a'+_0x477d('0x42d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x42d9')+_0x477d('0x42d6')+_0x477d('0x5788')+_0x477d('0x42d8')+_0x477d('0x384c')+_0x477d('0x42db')+'\x0a'+_0x477d('0x42dc')+'\x0a'+_0x477d('0x3699')+_0x477d('0x3a5a')+_0x477d('0x377d'));_0x143a79[_0x477d('0x390')](_0x477d('0x1d77'),_0x477d('0x5789')+_0x477d('0x578a')+_0x477d('0x381e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+_0x477d('0x39c7')+_0x477d('0x578b')+_0x477d('0x578c')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x578d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x0a'+_0x477d('0x578e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x578f')+_0x477d('0x3dda')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x5790')+_0x477d('0x39d2')+_0x477d('0x5791')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5792')+_0x477d('0x3eb4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e73')+_0x477d('0x5793')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d6')+_0x477d('0x5794')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x5795')+_0x477d('0x5796')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x5797')+_0x477d('0x39d2')+_0x477d('0x5798')+_0x477d('0x36bf')+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Sidebar\x0a'+_0x477d('0x5799')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cf')+_0x477d('0x3de0')+_0x477d('0x579a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x55a8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x57a0')+_0x477d('0x39d2')+_0x477d('0x57a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x57a2')+_0x477d('0x57a3')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x57a4')+_0x477d('0x36bf')+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x57a5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AgentUrl\x0a'+_0x477d('0x57a6')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x57a7')+_0x477d('0x39d2')+_0x477d('0x57a8')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x57a9')+_0x477d('0x57aa')+_0x477d('0x57ab')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x578f')+_0x477d('0x3dda')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x57ac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x57ad')+_0x477d('0x36bf')+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x57a9')+_0x477d('0x57ae')+_0x477d('0x57af')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x57b0')+_0x477d('0x39d2')+_0x477d('0x57b1')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x57b2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x57b3')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Version\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387b')+_0x477d('0x57b4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x477d('0x57b5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22MARKETPLACE.SAVE\x22\x20translate-attr-aria-label=\x22MARKETPLACE.SAVE\x22>\x0a'+_0x477d('0x39e0')+_0x477d('0x39e1')+'\x0a'+_0x477d('0x57b6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x477d('0x57b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22MARKETPLACE.ADD_PLUGIN\x22\x20translate-attr-aria-label=\x22MARKETPLACE.ADD_PLUGIN\x22>\x0a'+_0x477d('0x57b8')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x57b9')+_0x477d('0x57ba')+_0x477d('0x3a16')+_0x477d('0x57bb')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x39e9')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x1fa'),_0x477d('0x57bc')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3b62')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x57bf')+_0x477d('0x57c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x38e8')+_0x477d('0x3b65')+_0x477d('0x57c1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.plugin.name}}\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x57c2')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x38ad')+_0x477d('0x57c3')+_0x477d('0x3e11')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+'\x0a'+_0x477d('0x3699')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a18')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3b6c')+_0x477d('0x3e12')+_0x477d('0x3f7a')+_0x477d('0x57c4')+_0x477d('0x3f7b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f7d')+_0x477d('0x57c5')+_0x477d('0x385c')+_0x477d('0x3e17')+_0x477d('0x3e18')+_0x477d('0x578b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d6')+_0x477d('0x3e1a')+_0x477d('0x39d2')+_0x477d('0x57c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x0a'+_0x477d('0x578e')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20disabled\x20\x0a'+_0x477d('0x3dda')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x503a')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x57c7')+_0x477d('0x3eb4')+_0x477d('0x3867')+_0x477d('0x3e73')+_0x477d('0x5793')+_0x477d('0x57c8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x57c9')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Icon\x0a'+_0x477d('0x5796')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x57ca')+_0x477d('0x39d2')+_0x477d('0x5798')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x57cb')+_0x477d('0x5799')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Admin\x20Only\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Never\x0a'+_0x477d('0x3aac')+_0x477d('0x57cc')+_0x477d('0x39d2')+_0x477d('0x57a1')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x57cd')+_0x477d('0x57a2')+_0x477d('0x57a3')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x57a4')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x57a5')+_0x477d('0x57ce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x57a8')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x57a9')+_0x477d('0x57aa')+_0x477d('0x57ab')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x3e19')+_0x477d('0x4ea1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x57d0')+_0x477d('0x39d2')+_0x477d('0x57ad')+_0x477d('0x36bf')+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x57a9')+_0x477d('0x57ae')+_0x477d('0x57af')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x57d1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x57b1')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x57b2')+_0x477d('0x57d2')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3e19')+_0x477d('0x4ea1')+_0x477d('0x3dda')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x57d3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x57d4')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x3e26')+_0x477d('0x3e27')+_0x477d('0x3e28')+_0x477d('0x3e29')+_0x477d('0x3e2a')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3a5a')+'\x0a'+_0x477d('0x377d'));_0x143a79[_0x477d('0x390')](_0x477d('0x1f5'),_0x477d('0x57d5')+'\x0a'+_0x477d('0x39eb')+_0x477d('0x3bef')+'\x0a'+_0x477d('0x3abc')+_0x477d('0x37cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x57d6')+_0x477d('0x3760')+_0x477d('0x57d7')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39ef')+'\x0a'+_0x477d('0x39f0')+_0x477d('0x39f1')+_0x477d('0x39f2')+_0x477d('0x39f3')+_0x477d('0x39f4')+_0x477d('0x39f5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x57d8')+_0x477d('0x39a2')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36bf')+_0x477d('0x3699')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39f9')+_0x477d('0x57d9')+_0x477d('0x39fa')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39fc')+_0x477d('0x39fd')+_0x477d('0x57da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a00')+_0x477d('0x57db')+_0x477d('0x57dc')+_0x477d('0x57dd')+_0x477d('0x3760')+'\x0a'+_0x477d('0x3daf')+_0x477d('0x3a04')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22$mdOpenMenu($event)\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22multi\x20select\x20toggle\x22\x0a'+_0x477d('0x57de')+_0x477d('0x3a08')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a0a')+_0x477d('0x57df')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Select\x20all\x0a'+_0x477d('0x3832')+_0x477d('0x3a0f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x57e0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Select\x20none\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a0f')+_0x477d('0x3a10')+_0x477d('0x3a11')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3ac4')+_0x477d('0x57e1')+_0x477d('0x3a13')+_0x477d('0x3a14')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a19')+'\x0a'+_0x477d('0x3a1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x57e3')+_0x477d('0x57e4')+_0x477d('0x3970')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Installing\x0a'+_0x477d('0x57e5')+_0x477d('0x36bf')+_0x477d('0x57e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a1b')+_0x477d('0x57e7')+_0x477d('0x3a1d')+_0x477d('0x3a1e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x57e8')+_0x477d('0x3a21')+_0x477d('0x3a22')+_0x477d('0x57e9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MARKETPLACE.TYPE\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MARKETPLACE.ACTIVE\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x57ea')+_0x477d('0x57eb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a2c')+_0x477d('0x3a2d')+_0x477d('0x3a2e')+_0x477d('0x57ec')+_0x477d('0x52fa')+_0x477d('0x3a30')+_0x477d('0x57ed')+_0x477d('0x3a31')+_0x477d('0x3a32')+_0x477d('0x3a2c')+_0x477d('0x57ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x57ef')+_0x477d('0x57f0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22name\x20\x22\x20>{{plugin.name}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x57f7')+'\x0a'+_0x477d('0x57f8')+_0x477d('0x57f9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Plugin\x0a'+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3adc')+'\x0a'+_0x477d('0x57fa')+_0x477d('0x57fb')+_0x477d('0x57fc')+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x57fd')+'\x0a'+_0x477d('0x57fe')+_0x477d('0x57ff')+_0x477d('0x5800')+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x57fd')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Download\x20Plugin\x0a'+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x5803')+'\x0a'+_0x477d('0x5804')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MARKETPLACE.UNINSTALL_PLUGIN\x22>\x0a'+_0x477d('0x5805')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a47')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3caf')+'\x0a'+_0x477d('0x5806')+_0x477d('0x5807')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Plugin\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3692')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3939')+'\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a56')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x5808')+_0x477d('0x3ae4')+_0x477d('0x5809')+_0x477d('0x3a59')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ae6')+'\x0a'+_0x477d('0x3699')+_0x477d('0x3a5a')+'\x0a'+_0x477d('0x580a')+_0x477d('0x580b')+_0x477d('0x580c')+_0x477d('0x3735')+_0x477d('0x580d')+_0x477d('0x3699'));_0x143a79[_0x477d('0x390')](_0x477d('0x580e'),_0x477d('0x580f')+_0x477d('0x5810')+_0x477d('0x381e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x3aea')+_0x477d('0x3aeb')+_0x477d('0x3aec')+_0x477d('0x3aed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3aef')+_0x477d('0x3af0')+_0x477d('0x3674')+_0x477d('0x3670')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x5812')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Drop\x20to\x20upload\x0a'+_0x477d('0x3670')+'\x0a'+_0x477d('0x5813')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Upload\x0a'+_0x477d('0x3674')+_0x477d('0x5814')+_0x477d('0x3670')+_0x477d('0x36c0')+'\x0a'+_0x477d('0x5815')+_0x477d('0x38ad')+_0x477d('0x5816')+_0x477d('0x5817')+_0x477d('0x3670')+_0x477d('0x5818')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3663')+'\x0a'+_0x477d('0x3b1a')+_0x477d('0x5819')+_0x477d('0x3c56')+_0x477d('0x581a')+_0x477d('0x581b')+_0x477d('0x581c')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3669')+_0x477d('0x366a')+'');_0x143a79[_0x477d('0x390')](_0x477d('0x1e2f'),'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x381e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x581d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x581f')+_0x477d('0x5820')+_0x477d('0x39d2')+_0x477d('0x5821')+_0x477d('0x36bf')+_0x477d('0x3dde')+_0x477d('0x5822')+_0x477d('0x36bf')+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5823')+_0x477d('0x3eb4')+_0x477d('0x3867')+_0x477d('0x3e73')+_0x477d('0x5824')+_0x477d('0x5825')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x3de0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20TrunkId.name\x20}}\x0a'+_0x477d('0x3aac')+_0x477d('0x5826')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5827')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3e73')+_0x477d('0x5828')+_0x477d('0x5829')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x3de0')+_0x477d('0x3e77')+_0x477d('0x3e78')+_0x477d('0x3aac')+_0x477d('0x582a')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Interval\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x582b')+_0x477d('0x582c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x3de0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x582d')+_0x477d('0x3a46')+_0x477d('0x582e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5831')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x3e73')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CallySquareProject\x0a'+_0x477d('0x5832')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x3de0')+_0x477d('0x5833')+_0x477d('0x5834')+_0x477d('0x3aac')+_0x477d('0x5835')+_0x477d('0x39d2')+_0x477d('0x5836')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3e73')+_0x477d('0x5837')+_0x477d('0x5838')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x221\x22\x20\x20\x20\x0a'+_0x477d('0x5839')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x583a')+_0x477d('0x583b')+_0x477d('0x39d2')+_0x477d('0x583c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3de9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ConcurrentCalls\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a'+_0x477d('0x3deb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ConcurrentCalls\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x20200\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x583d')+_0x477d('0x583e')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x583f')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5848')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x39e9')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79['put']('app/main/apps/motiondialer/views/ivrCampaigns/edit/blacklistadd/blacklistadd.html','\x0a'+_0x477d('0x5849')+_0x477d('0x3d23')+_0x477d('0x3dfa')+_0x477d('0x584a')+_0x477d('0x3d25')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+_0x477d('0x3661')+_0x477d('0x584b')+_0x477d('0x584c')+_0x477d('0x584d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x584e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x584f')+_0x477d('0x3b6a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3669')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x1e13'),_0x477d('0x5850')+_0x477d('0x5851')+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x581d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5821')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3dde')+_0x477d('0x5822')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x3ab5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39da')+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+_0x477d('0x39c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+_0x477d('0x3b1a')+_0x477d('0x5852')+_0x477d('0x54cb')+_0x477d('0x5853')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22CLONE\x22\x20translate=\x22MOTIONDIALER.CLONE_IVRCAMPAIGN\x22\x20translate-attr-aria-label=\x22MOTIONDIALER.CLONE_IVRCAMPAIGN\x22>\x0a'+_0x477d('0x5854')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a');_0x143a79[_0x477d('0x390')]('app/main/apps/motiondialer/views/ivrCampaigns/edit/hoppers/dialog.html','\x0a'+_0x477d('0x43f3')+_0x477d('0x381e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x55d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ScheduledAt\x0a'+_0x477d('0x5855')+_0x477d('0x46db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5856')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5857')+_0x477d('0x385b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Date\x20is\x20invalid\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x385c')+_0x477d('0x46e1')+_0x477d('0x36a9')+_0x477d('0x46db')+_0x477d('0x5858')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3859')+_0x477d('0x5859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x46df')+_0x477d('0x585a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x385c')+_0x477d('0x46e5')+_0x477d('0x36a9')+_0x477d('0x44f1')+_0x477d('0x382a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x585b')+_0x477d('0x585c')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20High\x0a'+_0x477d('0x585f')+_0x477d('0x3a46')+_0x477d('0x5860')+_0x477d('0x5861')+_0x477d('0x3a46')+_0x477d('0x5862')+_0x477d('0x5863')+_0x477d('0x3a46')+_0x477d('0x5864')+_0x477d('0x3aac')+_0x477d('0x5865')+_0x477d('0x5866')+_0x477d('0x39d2')+_0x477d('0x5867')+_0x477d('0x36bf')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3eb4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+_0x477d('0x39dc')+_0x477d('0x387b')+_0x477d('0x5868')+_0x477d('0x39de')+_0x477d('0x5869')+_0x477d('0x5841')+_0x477d('0x39e0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x586a')+_0x477d('0x3c8b')+_0x477d('0x586b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22MOTIONDIALER.ADD_HOPPER\x22\x20translate-attr-aria-label=\x22MOTIONDIALER.ADD_HOPPER\x22>\x0a'+_0x477d('0x43fe')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x586c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22MOTIONDIALER.DELETE\x22>\x0a'+_0x477d('0x3a16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x39e9')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x1e14'),_0x477d('0x586d')+_0x477d('0x5849')+_0x477d('0x3d23')+_0x477d('0x3dfa')+_0x477d('0x586e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+_0x477d('0x3661')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x584c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x584e')+_0x477d('0x3dfc')+_0x477d('0x3dfd')+_0x477d('0x584f')+_0x477d('0x3b6a')+_0x477d('0x372b')+_0x477d('0x3669')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x1e1c'),_0x477d('0x586f')+_0x477d('0x5870')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3dfa')+_0x477d('0x5871')+_0x477d('0x3d25')+_0x477d('0x5872')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+_0x477d('0x5873')+_0x477d('0x5874')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5875')+_0x477d('0x5876')+_0x477d('0x5877')+_0x477d('0x5878')+_0x477d('0x36bf')+_0x477d('0x5879')+_0x477d('0x36bf')+_0x477d('0x587a')+_0x477d('0x587b')+_0x477d('0x587c')+_0x477d('0x5878')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3663')+_0x477d('0x587d')+_0x477d('0x587e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x587f')+_0x477d('0x387d')+_0x477d('0x39e1')+_0x477d('0x5880')+_0x477d('0x5881')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x366a')+'\x0a');_0x143a79['put'](_0x477d('0x20b'),_0x477d('0x5882')+'\x0a'+_0x477d('0x39eb')+_0x477d('0x3b62')+_0x477d('0x3b63')+_0x477d('0x5883')+_0x477d('0x5884')+_0x477d('0x5885')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x372b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x5886')+_0x477d('0x5887')+_0x477d('0x3670')+'\x0a'+_0x477d('0x38e8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5888')+_0x477d('0x5889')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b68')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.ivrCampaign.createdAt\x20|\x20date:\x27medium\x27}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x588a')+_0x477d('0x588b')+_0x477d('0x54eb')+_0x477d('0x588c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3ab5')+_0x477d('0x3e09')+_0x477d('0x588d')+_0x477d('0x588b')+_0x477d('0x588e')+_0x477d('0x588f')+_0x477d('0x5890')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ab5')+_0x477d('0x3e09')+_0x477d('0x5891')+_0x477d('0x3f77')+_0x477d('0x5892')+_0x477d('0x5893')+_0x477d('0x5894')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x3ab5')+_0x477d('0x5895')+_0x477d('0x5896')+_0x477d('0x3f77')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22resetlist\x22\x20\x20>\x0a'+_0x477d('0x5897')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ab5')+_0x477d('0x3e09')+_0x477d('0x5898')+_0x477d('0x3f77')+_0x477d('0x433c')+_0x477d('0x5899')+_0x477d('0x589a')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x38ad')+_0x477d('0x589b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x477d('0x3d05')+_0x477d('0x36e5')+'\x0a'+_0x477d('0x3699')+_0x477d('0x39f8')+'\x0a'+_0x477d('0x3a18')+_0x477d('0x3b6b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e12')+_0x477d('0x3f7a')+_0x477d('0x589c')+_0x477d('0x3f7b')+_0x477d('0x3e14')+_0x477d('0x589d')+_0x477d('0x3f7d')+_0x477d('0x589e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e17')+_0x477d('0x3e18')+_0x477d('0x581d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x5821')+_0x477d('0x36bf')+_0x477d('0x3dde')+_0x477d('0x5822')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Active\x0a'+_0x477d('0x3eb4')+_0x477d('0x3867')+_0x477d('0x3e73')+_0x477d('0x5824')+_0x477d('0x5825')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x3de0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20TrunkId.name\x20}}\x0a'+_0x477d('0x3aac')+_0x477d('0x589f')+_0x477d('0x39d2')+_0x477d('0x5827')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3e73')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20BackupTrunk\x0a'+_0x477d('0x58a0')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x58a1')+_0x477d('0x58a2')+_0x477d('0x58a3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x58a4')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x3e73')+_0x477d('0x5828')+_0x477d('0x5829')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x3e77')+_0x477d('0x3e78')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x58a5')+_0x477d('0x39d2')+_0x477d('0x58a6')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x582b')+_0x477d('0x582c')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x3de0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x582d')+_0x477d('0x3a46')+_0x477d('0x582e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x58a7')+_0x477d('0x3a46')+_0x477d('0x582f')+_0x477d('0x3fc8')+_0x477d('0x58a8')+_0x477d('0x3a46')+_0x477d('0x5830')+_0x477d('0x3aac')+_0x477d('0x58a9')+_0x477d('0x39d2')+_0x477d('0x5831')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CutDigit\x0a'+_0x477d('0x58aa')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3eee')+_0x477d('0x58ab')+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x58ac')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CutDigit\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3de9')+_0x477d('0x58ad')+_0x477d('0x3deb')+_0x477d('0x3e23')+_0x477d('0x58ae')+_0x477d('0x3deb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x583d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x3ab5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e27')+_0x477d('0x3e28')+_0x477d('0x3e29')+_0x477d('0x3e12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x58af')+_0x477d('0x3f7b')+_0x477d('0x3e14')+_0x477d('0x58b0')+_0x477d('0x3f7d')+_0x477d('0x58b1')+_0x477d('0x385c')+_0x477d('0x58b2')+_0x477d('0x3e18')+_0x477d('0x58b3')+_0x477d('0x5832')+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x5833')+_0x477d('0x5834')+_0x477d('0x3aac')+_0x477d('0x58b4')+_0x477d('0x39d2')+_0x477d('0x5836')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5837')+_0x477d('0x5838')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3ee5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20max=\x22200\x22\x20\x20\x0a'+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x583a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x583c')+_0x477d('0x36bf')+_0x477d('0x3de9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ConcurrentCalls\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a'+_0x477d('0x3deb')+_0x477d('0x3e23')+_0x477d('0x58b5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x3ab5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e27')+_0x477d('0x58b6')+_0x477d('0x3f7d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ORIGINATE\x0a'+_0x477d('0x385c')+_0x477d('0x58b7')+_0x477d('0x3e18')+_0x477d('0x58b8')+_0x477d('0x58b9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x58ba')+_0x477d('0x39d2')+_0x477d('0x58bb')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OriginateCallerIdNumber\x0a'+_0x477d('0x58bc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x58bd')+_0x477d('0x58be')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x58bf')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RandomLastDigitCallerIdNumber\x0a'+_0x477d('0x58c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3eee')+_0x477d('0x58ab')+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x58c1')+_0x477d('0x58c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RandomLastDigitCallerIdNumber\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3de9')+_0x477d('0x58c3')+_0x477d('0x3deb')+_0x477d('0x3e23')+_0x477d('0x58c4')+_0x477d('0x3deb')+_0x477d('0x3e24')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x58c5')+_0x477d('0x58c6')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3ee5')+_0x477d('0x58c7')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x58c8')+_0x477d('0x58c9')+_0x477d('0x39d2')+_0x477d('0x58ca')+_0x477d('0x36bf')+_0x477d('0x3de9')+_0x477d('0x58cb')+_0x477d('0x3deb')+_0x477d('0x3e23')+_0x477d('0x58cc')+_0x477d('0x3deb')+_0x477d('0x3e24')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x58cd')+_0x477d('0x58ce')+_0x477d('0x39ca')+_0x477d('0x58cf')+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Prefix\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3dde')+_0x477d('0x58d0')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e26')+_0x477d('0x3e27')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x3e29')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f7a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RETRYANDFREQUENCY\x0a'+_0x477d('0x3f7b')+_0x477d('0x3e14')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f7d')+_0x477d('0x58d1')+_0x477d('0x385c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e18')+_0x477d('0x58d2')+_0x477d('0x58d3')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3ee5')+_0x477d('0x58c7')+_0x477d('0x39cd')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x58d4')+_0x477d('0x39d2')+_0x477d('0x58d5')+_0x477d('0x36bf')+_0x477d('0x3de9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GlobalMaxRetry\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e23')+_0x477d('0x58d6')+_0x477d('0x3deb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x3e26')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x58d7')+_0x477d('0x3f7d')+_0x477d('0x58d8')+_0x477d('0x385c')+_0x477d('0x58d9')+_0x477d('0x3e18')+_0x477d('0x58da')+_0x477d('0x58db')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x221\x22\x20\x20\x20\x0a'+_0x477d('0x58c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x58dc')+_0x477d('0x58dd')+_0x477d('0x39d2')+_0x477d('0x58de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3de9')+_0x477d('0x58df')+_0x477d('0x3deb')+_0x477d('0x3e23')+_0x477d('0x58e0')+_0x477d('0x3deb')+_0x477d('0x3e24')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x58e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x58e3')+_0x477d('0x39d2')+_0x477d('0x58e4')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x58e5')+_0x477d('0x3deb')+_0x477d('0x3e23')+_0x477d('0x58e6')+_0x477d('0x3deb')+_0x477d('0x3e24')+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x3e26')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f7d')+_0x477d('0x58e7')+_0x477d('0x385c')+_0x477d('0x58e8')+_0x477d('0x3e18')+_0x477d('0x58e9')+_0x477d('0x58ea')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3ee5')+_0x477d('0x58c7')+_0x477d('0x39cd')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x58eb')+_0x477d('0x58ec')+_0x477d('0x39d2')+_0x477d('0x58ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20BusyMaxRetry\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a'+_0x477d('0x3deb')+_0x477d('0x3e23')+_0x477d('0x58ee')+_0x477d('0x3deb')+_0x477d('0x3e24')+_0x477d('0x36a1')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20BusyRetryTime\x0a'+_0x477d('0x58ef')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3ee5')+_0x477d('0x58e2')+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x58f0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x58f1')+_0x477d('0x36bf')+_0x477d('0x3de9')+_0x477d('0x58f2')+_0x477d('0x3deb')+_0x477d('0x3e23')+_0x477d('0x58f3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ab5')+_0x477d('0x3e26')+_0x477d('0x3e27')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f7d')+_0x477d('0x58f4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x58f5')+_0x477d('0x3e18')+_0x477d('0x58f6')+_0x477d('0x58f7')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x221\x22\x20\x20\x20\x0a'+_0x477d('0x58c7')+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x58f8')+_0x477d('0x58f9')+_0x477d('0x39d2')+_0x477d('0x58fa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x58fb')+_0x477d('0x3deb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x58fc')+_0x477d('0x3deb')+_0x477d('0x3e24')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x58fd')+_0x477d('0x58fe')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3ee5')+_0x477d('0x58e2')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x58ff')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5900')+_0x477d('0x36bf')+_0x477d('0x3de9')+_0x477d('0x5901')+_0x477d('0x3deb')+_0x477d('0x3e23')+_0x477d('0x5902')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e24')+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x3e26')+_0x477d('0x3e27')+_0x477d('0x5903')+_0x477d('0x3f7d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NOSUCHNUMBER\x0a'+_0x477d('0x385c')+_0x477d('0x5904')+_0x477d('0x3e18')+_0x477d('0x5905')+_0x477d('0x5906')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3ee5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20max=\x22999\x22\x20\x20\x0a'+_0x477d('0x39cd')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x5907')+_0x477d('0x5908')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5909')+_0x477d('0x36bf')+_0x477d('0x3de9')+_0x477d('0x590a')+_0x477d('0x3deb')+_0x477d('0x3e23')+_0x477d('0x590b')+_0x477d('0x3deb')+_0x477d('0x3e24')+_0x477d('0x36a1')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NoSuchNumberRetryTime\x0a'+_0x477d('0x590c')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ee5')+_0x477d('0x58e2')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x590d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x590e')+_0x477d('0x36bf')+_0x477d('0x3de9')+_0x477d('0x590f')+_0x477d('0x3deb')+_0x477d('0x3e23')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NoSuchNumberRetryTime\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x2099999\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e24')+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x3e26')+_0x477d('0x3e27')+_0x477d('0x5910')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DROP\x0a'+_0x477d('0x385c')+_0x477d('0x5911')+_0x477d('0x3e18')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DropMaxRetry\x0a'+_0x477d('0x5912')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3ee5')+_0x477d('0x58c7')+_0x477d('0x39cd')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5913')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5914')+_0x477d('0x36bf')+_0x477d('0x3de9')+_0x477d('0x5915')+_0x477d('0x3deb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5916')+_0x477d('0x3deb')+_0x477d('0x3e24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x5917')+_0x477d('0x5918')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x221\x22\x20\x20\x20\x0a'+_0x477d('0x58e2')+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x5919')+_0x477d('0x591a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DropRetryTime\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x591b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e23')+_0x477d('0x591c')+_0x477d('0x3deb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x3e26')+_0x477d('0x3e27')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x591d')+_0x477d('0x385c')+_0x477d('0x591e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x591f')+_0x477d('0x5920')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x221\x22\x20\x20\x20\x0a'+_0x477d('0x58c7')+_0x477d('0x39cd')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x5921')+_0x477d('0x5922')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5923')+_0x477d('0x36bf')+_0x477d('0x3de9')+_0x477d('0x5924')+_0x477d('0x3deb')+_0x477d('0x3e23')+_0x477d('0x5925')+_0x477d('0x3deb')+_0x477d('0x3e24')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x5926')+_0x477d('0x5927')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3ee5')+_0x477d('0x58e2')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x5928')+_0x477d('0x5929')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AbandonedRetryTime\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x592a')+_0x477d('0x3deb')+_0x477d('0x3e23')+_0x477d('0x592b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ab5')+_0x477d('0x3e26')+_0x477d('0x3e27')+_0x477d('0x592c')+_0x477d('0x3f7d')+_0x477d('0x592d')+_0x477d('0x385c')+_0x477d('0x592e')+_0x477d('0x3e18')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MachineMaxRetry\x0a'+_0x477d('0x592f')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x221\x22\x20\x20\x20\x0a'+_0x477d('0x58c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5930')+_0x477d('0x39d2')+_0x477d('0x5931')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3de9')+_0x477d('0x5932')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e23')+_0x477d('0x5933')+_0x477d('0x3deb')+_0x477d('0x3e24')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5934')+_0x477d('0x5935')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x221\x22\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20max=\x2299999\x22\x20\x20\x0a'+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5936')+_0x477d('0x5937')+_0x477d('0x39d2')+_0x477d('0x5938')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3de9')+_0x477d('0x5939')+_0x477d('0x3deb')+_0x477d('0x3e23')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MachineRetryTime\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x2099999\x0a'+_0x477d('0x3deb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ab5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e27')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f7d')+_0x477d('0x593a')+_0x477d('0x385c')+_0x477d('0x593b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x593c')+_0x477d('0x593d')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x221\x22\x20\x20\x20\x0a'+_0x477d('0x58c7')+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x593e')+_0x477d('0x593f')+_0x477d('0x39d2')+_0x477d('0x5940')+_0x477d('0x36bf')+_0x477d('0x3de9')+_0x477d('0x5941')+_0x477d('0x3deb')+_0x477d('0x3e23')+_0x477d('0x5942')+_0x477d('0x3deb')+_0x477d('0x3e24')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x5943')+_0x477d('0x5944')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x221\x22\x20\x20\x20\x0a'+_0x477d('0x58e2')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x5945')+_0x477d('0x5946')+_0x477d('0x39d2')+_0x477d('0x5947')+_0x477d('0x36bf')+_0x477d('0x3de9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AgentRejectRetryTime\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a'+_0x477d('0x3deb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5948')+_0x477d('0x3deb')+_0x477d('0x3e24')+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x3e26')+_0x477d('0x3e27')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x3e29')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5949')+_0x477d('0x3f7b')+_0x477d('0x3e14')+_0x477d('0x594a')+_0x477d('0x3f7d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADVANCED\x0a'+_0x477d('0x385c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x594b')+_0x477d('0x594c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x3f5c')+_0x477d('0x594d')+_0x477d('0x3a46')+_0x477d('0x594e')+_0x477d('0x3fc8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x5951')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e26')+_0x477d('0x3e27')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GLOBALINTERVAL\x0a'+_0x477d('0x385c')+_0x477d('0x5952')+_0x477d('0x3e18')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GlobalInterval\x0a'+_0x477d('0x5953')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x5954')+_0x477d('0x5955')+_0x477d('0x39d2')+_0x477d('0x5956')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e26')+_0x477d('0x3e27')+_0x477d('0x5957')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5958')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5959')+_0x477d('0x3e18')+_0x477d('0x595a')+_0x477d('0x595b')+_0x477d('0x595c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Timezone\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3eb4')+_0x477d('0x3e26')+_0x477d('0x3e27')+_0x477d('0x595d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AMD\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e18')+_0x477d('0x595e')+_0x477d('0x3eb4')+_0x477d('0x595f')+_0x477d('0x3867')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5960')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ee8')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5965')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x596a')+_0x477d('0x596b')+_0x477d('0x596c')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3eee')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x596d')+_0x477d('0x596e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AMDAfterGreetingSilence\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3de9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AMDAfterGreetingSilence\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ee8')+_0x477d('0x36a1')+_0x477d('0x596a')+_0x477d('0x596f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5972')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3de9')+_0x477d('0x5973')+_0x477d('0x3deb')+_0x477d('0x3ee8')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AMDMinWordLength\x0a'+_0x477d('0x5974')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3eee')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x5975')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5976')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5977')+_0x477d('0x3deb')+_0x477d('0x3ee8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x596a')+_0x477d('0x5978')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x597b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3de9')+_0x477d('0x597c')+_0x477d('0x3deb')+_0x477d('0x3ee8')+_0x477d('0x36a1')+_0x477d('0x596a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AMDMaximumNumberOfWords\x0a'+_0x477d('0x597d')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3eee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x597e')+_0x477d('0x597f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5980')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3de9')+_0x477d('0x5981')+_0x477d('0x3deb')+_0x477d('0x3ee8')+_0x477d('0x36a1')+_0x477d('0x596a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AMDSilenceThreshold\x0a'+_0x477d('0x5982')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3eee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20max=\x2232767\x22\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x5983')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5984')+_0x477d('0x36bf')+_0x477d('0x3de9')+_0x477d('0x5985')+_0x477d('0x3deb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AMDSilenceThreshold\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x2032767\x0a'+_0x477d('0x3deb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x596a')+_0x477d('0x5986')+_0x477d('0x5987')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3eee')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x5988')+_0x477d('0x5989')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AMDMaximumWordLength\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3de9')+_0x477d('0x598a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ee8')+_0x477d('0x36a1')+_0x477d('0x3ab5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e27')+_0x477d('0x3e28')+_0x477d('0x3e29')+_0x477d('0x3e12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x598b')+_0x477d('0x3f7b')+_0x477d('0x3e14')+_0x477d('0x598c')+_0x477d('0x598d')+_0x477d('0x598e')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x598f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5990')+_0x477d('0x3d05')+_0x477d('0x380f')+_0x477d('0x4106')+_0x477d('0x5991')+'\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x5992')+'\x0a'+_0x477d('0x5993')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5994')+_0x477d('0x5995')+_0x477d('0x5996')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5997')+_0x477d('0x5998')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x5999')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x5993')+_0x477d('0x599a')+_0x477d('0x5994')+_0x477d('0x599b')+_0x477d('0x599c')+_0x477d('0x36e5')+_0x477d('0x5997')+_0x477d('0x5998')+'\x0a'+_0x477d('0x599d')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x599e')+_0x477d('0x5992')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x599a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x599f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.OPEN\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x36e5')+_0x477d('0x5997')+_0x477d('0x5998')+'\x0a'+_0x477d('0x599d')+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x5993')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5994')+_0x477d('0x59a0')+_0x477d('0x59a1')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5998')+'\x0a'+_0x477d('0x599d')+_0x477d('0x59a2')+'\x0a'+'\x20\x20\x0a'+'\x20\x20\x0a'+_0x477d('0x377d')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x59a3')+_0x477d('0x59a4')+'\x20\x20\x0a'+_0x477d('0x4100')+_0x477d('0x59a5')+_0x477d('0x4102')+_0x477d('0x4103')+_0x477d('0x59a6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22refresh\x20Hoppers\x22\x20translate\x20translate-attr-label=\x22MOTIONDIALER.REFRESH_HOPPERS\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4106')+_0x477d('0x59a7')+_0x477d('0x4108')+_0x477d('0x59a8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x59a9')+_0x477d('0x410b')+_0x477d('0x410c')+_0x477d('0x59aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22MOTIONDIALER.DELETE_SELECTED\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3d05')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4106')+_0x477d('0x4110')+_0x477d('0x59ab')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x59ac')+_0x477d('0x59ad')+_0x477d('0x4115')+_0x477d('0x59ae')+_0x477d('0x59af')+_0x477d('0x4115')+_0x477d('0x59b0')+_0x477d('0x59b1')+_0x477d('0x4115')+_0x477d('0x59b2')+_0x477d('0x59b3')+_0x477d('0x4115')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.NOANSWER\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x4115')+_0x477d('0x59b4')+_0x477d('0x59b5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x59b6')+_0x477d('0x59b7')+_0x477d('0x4115')+_0x477d('0x59b8')+_0x477d('0x59b9')+_0x477d('0x4115')+_0x477d('0x59ba')+_0x477d('0x59bb')+_0x477d('0x4115')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x59bc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x59bd')+_0x477d('0x4115')+_0x477d('0x59be')+_0x477d('0x59bf')+_0x477d('0x4115')+_0x477d('0x414c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x411f')+_0x477d('0x4120')+_0x477d('0x59c0')+'>\x0a'+_0x477d('0x59c1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hopper.ContactId}}\x0a'+_0x477d('0x4123')+_0x477d('0x59c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hopper.phone}}\x0a'+_0x477d('0x4123')+_0x477d('0x59c2')+_0x477d('0x59c3')+_0x477d('0x4123')+_0x477d('0x59c2')+_0x477d('0x59c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x59c2')+_0x477d('0x59c5')+_0x477d('0x4123')+_0x477d('0x59c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hopper.countnosuchnumberretry}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x59c2')+_0x477d('0x59c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x59c2')+_0x477d('0x59c7')+_0x477d('0x4123')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x59c8')+_0x477d('0x4123')+_0x477d('0x59c2')+_0x477d('0x59c9')+_0x477d('0x4123')+_0x477d('0x59ca')+_0x477d('0x59cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x59cc')+_0x477d('0x3a46')+_0x477d('0x4153')+_0x477d('0x412f')+_0x477d('0x59cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4155')+'\x20\x0a'+_0x477d('0x4156')+_0x477d('0x4157')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x59ce')+_0x477d('0x4133')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4134')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Hopper\x0a'+_0x477d('0x3a52')+_0x477d('0x415b')+_0x477d('0x415c')+_0x477d('0x4137')+_0x477d('0x4138')+_0x477d('0x411e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20hopper\x20available\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x413c')+_0x477d('0x411e')+_0x477d('0x413d')+_0x477d('0x413e')+'\x20\x20\x0a'+_0x477d('0x59cf')+_0x477d('0x3fa6')+'\x0a'+_0x477d('0x3e27')+_0x477d('0x3e28')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e12')+_0x477d('0x3f7a')+_0x477d('0x59d0')+_0x477d('0x3f7b')+_0x477d('0x3e14')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x59d1')+'\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x59d2')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4103')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x40e1')+_0x477d('0x40da')+_0x477d('0x4106')+'\x20\x20\x0a'+_0x477d('0x4108')+'\x20\x20\x20\x20\x20\x20\x20\x20{{vm_dc.selectedIvrCampaignHopperHistories.length}}\x20{{vm_dc.selectedIvrCampaignHopperHistories.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected\x0a'+_0x477d('0x3b2c')+_0x477d('0x59d3')+_0x477d('0x410b')+_0x477d('0x410c')+_0x477d('0x40da')+'\x20\x20\x0a'+'\x20\x20\x0a'+_0x477d('0x59d4')+_0x477d('0x59d5')+_0x477d('0x4113')+_0x477d('0x59d6')+_0x477d('0x59d7')+_0x477d('0x4115')+_0x477d('0x59d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.CONTACTID\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x4115')+_0x477d('0x59d9')+_0x477d('0x59af')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.NAME\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x59da')+_0x477d('0x59db')+_0x477d('0x4115')+_0x477d('0x59dc')+_0x477d('0x59bd')+_0x477d('0x4115')+_0x477d('0x5507')+_0x477d('0x59dd')+_0x477d('0x4115')+_0x477d('0x59de')+_0x477d('0x59df')+_0x477d('0x4115')+_0x477d('0x414c')+_0x477d('0x411e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4120')+_0x477d('0x59e0')+'>\x0a'+_0x477d('0x41da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hopperHistory.uniqueid}}\x0a'+_0x477d('0x4123')+_0x477d('0x4217')+_0x477d('0x59e1')+_0x477d('0x4123')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hopperHistory.calleridnum}}\x0a'+_0x477d('0x4123')+_0x477d('0x4217')+_0x477d('0x59e2')+_0x477d('0x4123')+_0x477d('0x4217')+_0x477d('0x59e3')+_0x477d('0x4123')+_0x477d('0x41eb')+_0x477d('0x59e4')+_0x477d('0x412e')+_0x477d('0x4e41')+_0x477d('0x59e5')+_0x477d('0x412e')+_0x477d('0x4e41')+_0x477d('0x59e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x411e')+_0x477d('0x59e7')+_0x477d('0x59e8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x59e9')+_0x477d('0x413b')+_0x477d('0x413c')+_0x477d('0x411e')+_0x477d('0x413d')+_0x477d('0x413e')+'\x20\x20\x0a'+_0x477d('0x59ea')+_0x477d('0x3fa6')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e29')+_0x477d('0x3e12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20FINAL\x0a'+_0x477d('0x3f7b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x59eb')+_0x477d('0x59ec')+'\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x59ed')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4103')+_0x477d('0x59ee')+_0x477d('0x59ef')+_0x477d('0x41cd')+_0x477d('0x40e1')+_0x477d('0x59f0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x59f1')+_0x477d('0x59f2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x59f3')+_0x477d('0x59f4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NoAnswer\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{vm_dc.contacts.noAnswerContacts}})\x0a'+_0x477d('0x40b6')+_0x477d('0x59f5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x59f6')+_0x477d('0x59f7')+_0x477d('0x59f8')+_0x477d('0x40b6')+_0x477d('0x59f5')+_0x477d('0x59f3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x59f9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{vm_dc.contacts.congestionContacts}})\x0a'+_0x477d('0x40b6')+_0x477d('0x59f5')+_0x477d('0x59f3')+_0x477d('0x59fa')+_0x477d('0x59fb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{vm_dc.contacts.dropContacts}})\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x59f5')+_0x477d('0x59f3')+_0x477d('0x59fc')+_0x477d('0x59fd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{vm_dc.contacts.abandonedContacts}})\x0a'+_0x477d('0x40b6')+_0x477d('0x59f5')+_0x477d('0x59f3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x59fe')+_0x477d('0x59ff')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x59f5')+_0x477d('0x59f3')+_0x477d('0x5a00')+_0x477d('0x5a01')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{vm_dc.contacts.noSuchContacts}})\x0a'+_0x477d('0x40b6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5a02')+_0x477d('0x5a03')+_0x477d('0x5a04')+_0x477d('0x5a05')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5a06')+_0x477d('0x4816')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3cfb')+_0x477d('0x4106')+_0x477d('0x5a07')+_0x477d('0x4108')+_0x477d('0x5a08')+_0x477d('0x3b2c')+_0x477d('0x5a09')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5a0a')+_0x477d('0x5a0b')+_0x477d('0x5a0c')+_0x477d('0x5a0d')+_0x477d('0x3d05')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4106')+'\x20\x20\x0a'+_0x477d('0x5a0e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4113')+_0x477d('0x59d6')+_0x477d('0x59d7')+_0x477d('0x4115')+_0x477d('0x59d8')+_0x477d('0x59ad')+_0x477d('0x4115')+_0x477d('0x59d9')+_0x477d('0x59af')+_0x477d('0x4115')+_0x477d('0x5a0f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.NAME\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x4115')+_0x477d('0x59da')+_0x477d('0x59db')+_0x477d('0x4115')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.CONGESTION\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x4115')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x59b3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5a10')+_0x477d('0x5a11')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x59b5')+_0x477d('0x4115')+_0x477d('0x59b6')+_0x477d('0x59b7')+_0x477d('0x4115')+_0x477d('0x59b8')+_0x477d('0x59b9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x59ba')+_0x477d('0x59bb')+_0x477d('0x4115')+_0x477d('0x5a12')+_0x477d('0x59bc')+_0x477d('0x4115')+_0x477d('0x5507')+_0x477d('0x59dd')+_0x477d('0x4115')+_0x477d('0x59de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.ENDTIME\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x4115')+_0x477d('0x5a13')+_0x477d('0x5a14')+_0x477d('0x4115')+_0x477d('0x414c')+_0x477d('0x411e')+_0x477d('0x411f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5a15')+'>\x0a'+_0x477d('0x41da')+_0x477d('0x5a16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4217')+_0x477d('0x5a17')+_0x477d('0x4123')+_0x477d('0x4217')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hopperFinal.calleridnum}}\x0a'+_0x477d('0x4123')+_0x477d('0x4217')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hopperFinal.calleridname}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5a18')+_0x477d('0x4123')+_0x477d('0x4217')+_0x477d('0x5a19')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4217')+_0x477d('0x5a1a')+_0x477d('0x4123')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5a1b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4217')+_0x477d('0x5a1c')+_0x477d('0x4123')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5a1d')+_0x477d('0x4123')+_0x477d('0x4217')+_0x477d('0x5a1e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4217')+_0x477d('0x5a1f')+_0x477d('0x4123')+_0x477d('0x4217')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hopperFinal.countagentrejectretry}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41eb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20hopperFinal.starttime\x20|\x20formatdate\x20}}\x0a'+_0x477d('0x412e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5a20')+_0x477d('0x412e')+_0x477d('0x4e47')+_0x477d('0x5a21')+_0x477d('0x4123')+_0x477d('0x5a22')+_0x477d('0x412f')+_0x477d('0x59cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4155')+'\x20\x0a'+_0x477d('0x4156')+_0x477d('0x5a23')+_0x477d('0x5a24')+_0x477d('0x5a25')+_0x477d('0x4133')+_0x477d('0x4159')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4137')+_0x477d('0x4138')+_0x477d('0x411e')+_0x477d('0x5a26')+_0x477d('0x5a27')+_0x477d('0x417f')+_0x477d('0x5a28')+_0x477d('0x413b')+_0x477d('0x413c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x413d')+_0x477d('0x413e')+'\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x0a'+'\x0a'+_0x477d('0x3e27')+_0x477d('0x3e28')+_0x477d('0x3e29')+_0x477d('0x3e12')+_0x477d('0x3f7a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20BLACKLIST\x0a'+_0x477d('0x3f7b')+_0x477d('0x3e14')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5a29')+_0x477d('0x5a2a')+_0x477d('0x4100')+'\x20\x20\x20\x20\x20\x20HopperBlacks\x0a'+_0x477d('0x4102')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x382a')+'\x20\x20\x0a'+_0x477d('0x5a2b')+_0x477d('0x4108')+_0x477d('0x5a2c')+_0x477d('0x3b2c')+_0x477d('0x5a2d')+_0x477d('0x410b')+_0x477d('0x410c')+_0x477d('0x40da')+_0x477d('0x4106')+_0x477d('0x4110')+_0x477d('0x5a2e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4113')+_0x477d('0x59ac')+_0x477d('0x59ad')+_0x477d('0x4115')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x59af')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x414c')+_0x477d('0x411e')+_0x477d('0x411f')+_0x477d('0x4120')+_0x477d('0x5a2f')+'>\x0a'+_0x477d('0x41da')+_0x477d('0x5a30')+_0x477d('0x4123')+_0x477d('0x4217')+_0x477d('0x5a31')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5a32')+_0x477d('0x5a33')+_0x477d('0x411e')+_0x477d('0x5a34')+_0x477d('0x5746')+_0x477d('0x417f')+_0x477d('0x5a35')+_0x477d('0x413b')+_0x477d('0x413c')+_0x477d('0x411e')+_0x477d('0x413d')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x413f')+_0x477d('0x5a36')+_0x477d('0x3fa6')+'\x0a'+_0x477d('0x3e27')+_0x477d('0x3e28')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e2a')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3a5a')+'\x0a'+_0x477d('0x377d'));_0x143a79['put'](_0x477d('0x5a37'),_0x477d('0x5a38')+'\x0a'+_0x477d('0x39eb')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3abc')+_0x477d('0x37cd')+_0x477d('0x39ec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5a39')+_0x477d('0x3760')+_0x477d('0x5a3a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39f0')+_0x477d('0x39f1')+_0x477d('0x39f2')+_0x477d('0x39f3')+_0x477d('0x39f4')+_0x477d('0x39f5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5a3b')+_0x477d('0x39a2')+_0x477d('0x36c0')+_0x477d('0x39f7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3699')+_0x477d('0x39f8')+'\x0a'+_0x477d('0x39f9')+'\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a'+_0x477d('0x39fa')+'\x0a'+_0x477d('0x5a3c')+_0x477d('0x39fc')+_0x477d('0x39fd')+_0x477d('0x5a3d')+_0x477d('0x372b')+_0x477d('0x36e5')+'\x0a'+_0x477d('0x39ff')+'\x0a'+_0x477d('0x3a00')+_0x477d('0x5a3e')+_0x477d('0x5a3f')+_0x477d('0x5a40')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3daf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a09')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5a42')+_0x477d('0x3a0c')+_0x477d('0x3832')+_0x477d('0x3a0f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5a43')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Select\x20none\x0a'+_0x477d('0x3832')+_0x477d('0x3a0f')+_0x477d('0x3a10')+_0x477d('0x3a11')+_0x477d('0x36c0')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5a44')+_0x477d('0x3a13')+_0x477d('0x3a14')+_0x477d('0x5a45')+_0x477d('0x5a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x382a')+_0x477d('0x36e5')+_0x477d('0x3699')+_0x477d('0x3a17')+'\x0a'+_0x477d('0x3a18')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a1a')+_0x477d('0x3ac6')+'\x0a'+_0x477d('0x3a1b')+_0x477d('0x5a47')+_0x477d('0x3a1d')+_0x477d('0x3a1e')+_0x477d('0x5a48')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a21')+_0x477d('0x3a22')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.ID\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x5a49')+_0x477d('0x5a4a')+_0x477d('0x5a4b')+_0x477d('0x5a4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a2c')+_0x477d('0x3a2d')+_0x477d('0x3a2e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a30')+_0x477d('0x5a4d')+_0x477d('0x3a31')+_0x477d('0x3a32')+_0x477d('0x3a2c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5a4e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5a4f')+_0x477d('0x5a50')+_0x477d('0x5a51')+_0x477d('0x5a52')+_0x477d('0x5a53')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22active\x20\x22>\x0a'+_0x477d('0x5a54')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22TrunkId\x20\x22>{{\x20(vm.trunks\x20|\x20filter\x20:\x20{\x27id\x27:ivrCampaign.TrunkId}\x20:\x20true)[0].name\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a44')+_0x477d('0x3947')+'\x0a'+_0x477d('0x3a45')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3adc')+'\x0a'+_0x477d('0x5a56')+_0x477d('0x5a57')+_0x477d('0x5a58')+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x5a59')+_0x477d('0x5a5a')+_0x477d('0x5a5b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3dc6')+'\x0a'+_0x477d('0x5a5c')+_0x477d('0x5a5d')+_0x477d('0x5a5e')+_0x477d('0x3a52')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3dc6')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20blacklistadd\x20IvrCampaign\x0a'+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3caf')+'\x0a'+_0x477d('0x5a5f')+_0x477d('0x5a60')+_0x477d('0x5a61')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3dc6')+'\x0a'+_0x477d('0x5a62')+_0x477d('0x5a63')+_0x477d('0x5a64')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3692')+'\x0a'+_0x477d('0x3693')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x0a'+_0x477d('0x3a2c')+_0x477d('0x3a56')+_0x477d('0x3ae2')+_0x477d('0x3a57')+'\x0a'+_0x477d('0x5a65')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5a66')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3cb5')+_0x477d('0x36e5')+_0x477d('0x3ae6')+'\x0a'+_0x477d('0x3699')+_0x477d('0x3a5a')+'\x0a'+_0x477d('0x5a67')+_0x477d('0x5a68')+_0x477d('0x5a69')+_0x477d('0x3cb8')+_0x477d('0x3735')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3699'));_0x143a79['put'](_0x477d('0x1eb7'),'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3844')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x0a'+_0x477d('0x5a6a')+_0x477d('0x39ca')+_0x477d('0x3dd8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x477d('0x5a6b')+_0x477d('0x3dda')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x581f')+_0x477d('0x5a6c')+_0x477d('0x39d2')+_0x477d('0x5821')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20must\x20be\x20valid\x20pattern\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x5a6d')+_0x477d('0x3eb4')+_0x477d('0x3867')+_0x477d('0x3e73')+_0x477d('0x5824')+_0x477d('0x5a6e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x39cf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5827')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x5a6f')+_0x477d('0x5828')+_0x477d('0x5a70')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x3de0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x3e73')+_0x477d('0x582b')+_0x477d('0x5a72')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x3de0')+_0x477d('0x3f5c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CheckDuplicate\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x3e73')+_0x477d('0x5a74')+_0x477d('0x5a75')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3a5e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3de0')+_0x477d('0x5a76')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5a77')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5a7e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5a7f')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x5a80')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PowerLevel\x0a'+_0x477d('0x5a81')+_0x477d('0x5a82')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5a83')+_0x477d('0x5a84')+_0x477d('0x5a85')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x3f5c')+_0x477d('0x5a86')+_0x477d('0x3a46')+_0x477d('0x5a87')+_0x477d('0x3fc8')+_0x477d('0x5a88')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5a89')+_0x477d('0x3aac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5a8a')+_0x477d('0x39d2')+_0x477d('0x5a8b')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x5a83')+_0x477d('0x5a8c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5a83')+_0x477d('0x5a8d')+_0x477d('0x5a8e')+_0x477d('0x5a8f')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MaxConcurrentCalls\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MaxConcurrentCalls\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3de9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MaxConcurrentCalls\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a'+_0x477d('0x3deb')+_0x477d('0x3e23')+_0x477d('0x5a92')+_0x477d('0x3deb')+_0x477d('0x3e24')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5a93')+_0x477d('0x5a94')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ee5')+_0x477d('0x58c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5a95')+_0x477d('0x39d2')+_0x477d('0x5a96')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5a97')+_0x477d('0x3deb')+_0x477d('0x3e23')+_0x477d('0x5a98')+_0x477d('0x3deb')+_0x477d('0x3e24')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x5a99')+_0x477d('0x5a9a')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3eee')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x5a9b')+_0x477d('0x36bf')+_0x477d('0x3de9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AgentTimeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ee8')+_0x477d('0x36a1')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x0a'+_0x477d('0x5a9c')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x5a9d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5a9e')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387b')+_0x477d('0x5a9f')+_0x477d('0x39de')+_0x477d('0x5aa0')+_0x477d('0x5841')+_0x477d('0x39e0')+_0x477d('0x39e1')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5aa2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x39e5')+_0x477d('0x5aa3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22MOTIONDIALER.DELETE\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5848')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x39e9')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x1e87'),'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3dfa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Add\x20Agent\x20to\x20queueCampaign\x0a'+_0x477d('0x3d25')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+_0x477d('0x3661')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5aa4')+_0x477d('0x5aa5')+_0x477d('0x5aa6')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20You\x20must\x20supply\x20a\x20penalty.\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5aa7')+_0x477d('0x36bf')+_0x477d('0x3ea6')+_0x477d('0x5aa8')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3dfc')+_0x477d('0x3dfd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b6a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3669')+_0x477d('0x366a')+'\x0a');_0x143a79['put'](_0x477d('0x1e86'),_0x477d('0x5aa9')+_0x477d('0x5870')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3dfa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Add\x20List\x20in\x20QUEUECAMPAIGN\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3660')+_0x477d('0x3661')+_0x477d('0x584b')+_0x477d('0x584c')+_0x477d('0x584d')+_0x477d('0x5aaa')+_0x477d('0x584e')+_0x477d('0x3dfc')+_0x477d('0x3dfd')+_0x477d('0x584f')+_0x477d('0x3b6a')+_0x477d('0x372b')+_0x477d('0x3669')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x1e85'),'\x0a'+_0x477d('0x5aab')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+_0x477d('0x39c7')+_0x477d('0x581d')+_0x477d('0x5a6a')+_0x477d('0x39ca')+_0x477d('0x3dd8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.newQueueCampaign\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x581f')+_0x477d('0x5a6c')+_0x477d('0x39d2')+_0x477d('0x5821')+_0x477d('0x36bf')+_0x477d('0x3dde')+_0x477d('0x5822')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x5a6d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3867')+_0x477d('0x3eb4')+_0x477d('0x39c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+_0x477d('0x3b1a')+_0x477d('0x5aac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x477d('0x5aad')+_0x477d('0x5aae')+_0x477d('0x5aaf')+_0x477d('0x372b')+_0x477d('0x3669')+_0x477d('0x366a')+'\x0a');_0x143a79[_0x477d('0x390')](_0x477d('0x14be'),'\x0a'+_0x477d('0x43f3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5ab0')+_0x477d('0x5855')+_0x477d('0x46db')+_0x477d('0x5ab1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3859')+_0x477d('0x5857')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x46df')+_0x477d('0x5ab2')+_0x477d('0x385b')+_0x477d('0x385c')+_0x477d('0x46e1')+_0x477d('0x36a9')+_0x477d('0x46db')+_0x477d('0x5858')+_0x477d('0x5ab3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x46df')+_0x477d('0x585a')+_0x477d('0x385b')+_0x477d('0x385c')+_0x477d('0x46e5')+_0x477d('0x36a9')+_0x477d('0x44f1')+_0x477d('0x382a')+_0x477d('0x3e73')+_0x477d('0x585b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20High\x0a'+_0x477d('0x585f')+_0x477d('0x3a46')+_0x477d('0x5860')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Lowest\x0a'+_0x477d('0x3aac')+_0x477d('0x5865')+_0x477d('0x5866')+_0x477d('0x39d2')+_0x477d('0x5867')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RecallAgent\x0a'+_0x477d('0x3eb4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5ab4')+_0x477d('0x5ab5')+_0x477d('0x5ab6')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x3de0')+_0x477d('0x5ab7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22UserId.canSelect\x20===\x20false\x22>{{\x20UserId.name\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5ab8')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3eb4')+_0x477d('0x39c3')+_0x477d('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x3663')+'\x0a'+_0x477d('0x39dc')+_0x477d('0x387b')+_0x477d('0x5868')+_0x477d('0x39de')+_0x477d('0x5869')+_0x477d('0x5841')+_0x477d('0x39e0')+_0x477d('0x39e1')+'\x0a'+_0x477d('0x586a')+_0x477d('0x3c8b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22hopperForm.$invalid\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22MOTIONDIALER.ADD_HOPPER\x22\x20translate-attr-aria-label=\x22MOTIONDIALER.ADD_HOPPER\x22>\x0a'+_0x477d('0x43fe')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x586c')+_0x477d('0x5847')+_0x477d('0x3a16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x39e9')+'\x20\x20\x20\x20\x0a'+'\x0a');_0x143a79['put'](_0x477d('0x1eb4'),_0x477d('0x5aa9')+_0x477d('0x5870')+_0x477d('0x3d23')+_0x477d('0x3dfa')+_0x477d('0x5ab9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3843')+_0x477d('0x3844')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3660')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x584b')+_0x477d('0x584c')+_0x477d('0x584d')+_0x477d('0x5aaa')+_0x477d('0x584e')+_0x477d('0x3dfc')+_0x477d('0x3dfd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b6a')+_0x477d('0x372b')+_0x477d('0x3669')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x1e8a'),_0x477d('0x586f')+_0x477d('0x5870')+_0x477d('0x3d23')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5871')+_0x477d('0x3d25')+_0x477d('0x5872')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3660')+_0x477d('0x5873')+_0x477d('0x5874')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5876')+_0x477d('0x5877')+_0x477d('0x5878')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5879')+_0x477d('0x36bf')+_0x477d('0x587a')+_0x477d('0x587b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20item.name\x20|\x20limitTo:40\x20}}\x0a'+_0x477d('0x5878')+_0x477d('0x36bf')+_0x477d('0x413b')+_0x477d('0x3663')+_0x477d('0x587d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x587f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x477d('0x39e1')+_0x477d('0x5880')+_0x477d('0x5881')+_0x477d('0x5aba')+_0x477d('0x3cfb')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3840'));_0x143a79['put'](_0x477d('0x5abb'),'\x0a'+_0x477d('0x5870')+_0x477d('0x3d23')+_0x477d('0x3dfa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Teams\x20Association\x0a'+_0x477d('0x3d25')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+_0x477d('0x3661')+_0x477d('0x5abc')+_0x477d('0x5aa4')+_0x477d('0x5aa5')+_0x477d('0x5aa6')+_0x477d('0x39d2')+_0x477d('0x5abd')+_0x477d('0x36bf')+_0x477d('0x5abe')+_0x477d('0x5aa7')+_0x477d('0x36bf')+_0x477d('0x3ea6')+_0x477d('0x5aa8')+_0x477d('0x36bf')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3dfb')+_0x477d('0x3663')+_0x477d('0x3dfc')+_0x477d('0x3dfd')+_0x477d('0x4e97')+_0x477d('0x3b6a')+_0x477d('0x372b')+_0x477d('0x3669')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x205'),_0x477d('0x5abf')+'\x0a'+_0x477d('0x39eb')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3b63')+_0x477d('0x5ac0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.gotoQueueCampaigns()\x22\x0a'+_0x477d('0x5ac1')+_0x477d('0x3e04')+_0x477d('0x372b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x5ac2')+_0x477d('0x5ac3')+_0x477d('0x3670')+'\x0a'+_0x477d('0x38e8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5ac4')+_0x477d('0x5ac5')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5ac6')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5895')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5ac8')+_0x477d('0x588b')+_0x477d('0x588e')+_0x477d('0x5ac9')+_0x477d('0x5890')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3ab5')+_0x477d('0x3e09')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5aca')+_0x477d('0x5894')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ab5')+_0x477d('0x3e09')+_0x477d('0x5acb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22md-fab\x20md-orange-500-bg\x20md-icon-button\x22\x0a'+_0x477d('0x3e0b')+_0x477d('0x5acc')+_0x477d('0x3e0d')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5acd')+_0x477d('0x4ea0')+_0x477d('0x4581')+_0x477d('0x5ace')+_0x477d('0x3e10')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5acf')+_0x477d('0x3f77')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22resetlist\x22\x20\x20>\x0a'+_0x477d('0x5ad0')+_0x477d('0x5ad1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x3ab5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x589a')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x38ad')+_0x477d('0x5ad2')+_0x477d('0x3e11')+_0x477d('0x3d05')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3699')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a18')+_0x477d('0x3b6b')+'\x0a'+_0x477d('0x3b6c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f7a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SETTINGS\x0a'+_0x477d('0x3f7b')+_0x477d('0x3e14')+_0x477d('0x5ad3')+_0x477d('0x3f7d')+_0x477d('0x589e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e17')+_0x477d('0x3e18')+_0x477d('0x581d')+_0x477d('0x5a6a')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-pattern=\x22/^[A-Za-z0-9\x5c.\x5c_]+$/i\x22\x20\x20\x0a'+_0x477d('0x39cc')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x477d('0x3e19')+_0x477d('0x4ea1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x581f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x5821')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5822')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5ad4')+_0x477d('0x3eb4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e73')+_0x477d('0x5824')+_0x477d('0x5a6e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+_0x477d('0x3de0')+_0x477d('0x4d3b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22TrunkId.canSelect\x20===\x20false\x22>{{\x20TrunkId.name\x20}}\x0a'+_0x477d('0x3aac')+_0x477d('0x589f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5827')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20BackupTrunk\x0a'+_0x477d('0x5ad5')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x58a1')+_0x477d('0x58a2')+_0x477d('0x58a3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5ad6')+_0x477d('0x39d2')+_0x477d('0x58a4')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x5a6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Interval\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e77')+_0x477d('0x3e78')+_0x477d('0x3aac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x58a6')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x3e73')+_0x477d('0x582b')+_0x477d('0x5a72')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x3f5c')+_0x477d('0x582d')+_0x477d('0x3a46')+_0x477d('0x582e')+_0x477d('0x3fc8')+_0x477d('0x58a7')+_0x477d('0x3a46')+_0x477d('0x582f')+_0x477d('0x3fc8')+_0x477d('0x58a8')+_0x477d('0x3a46')+_0x477d('0x5830')+_0x477d('0x3aac')+_0x477d('0x58a9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5831')+_0x477d('0x36bf')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e73')+_0x477d('0x5ad7')+_0x477d('0x5ad8')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3eee')+_0x477d('0x58ab')+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CutDigit\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3de9')+_0x477d('0x58ad')+_0x477d('0x3deb')+_0x477d('0x3e23')+_0x477d('0x58ae')+_0x477d('0x3deb')+_0x477d('0x3e24')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x583d')+_0x477d('0x5a9c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e25')+_0x477d('0x39d2')+_0x477d('0x5a9e')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x3e26')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e28')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e12')+_0x477d('0x3f7a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CAMPAIGN\x0a'+_0x477d('0x3f7b')+_0x477d('0x3e14')+_0x477d('0x5ad9')+_0x477d('0x3f7d')+_0x477d('0x58b1')+_0x477d('0x385c')+_0x477d('0x58b2')+_0x477d('0x3e18')+_0x477d('0x5a74')+_0x477d('0x5a75')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x5a76')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5a77')+_0x477d('0x5ada')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>PowerDialing\x0a'+_0x477d('0x5a79')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Predictive\x0a'+_0x477d('0x5a7b')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Preview\x0a'+_0x477d('0x5adb')+_0x477d('0x3a46')+_0x477d('0x5a7d')+_0x477d('0x3aac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5adc')+_0x477d('0x39d2')+_0x477d('0x5a7f')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x5a80')+_0x477d('0x5add')+_0x477d('0x5a81')+_0x477d('0x5a82')+_0x477d('0x36a1')+_0x477d('0x5a83')+_0x477d('0x5a84')+_0x477d('0x5a85')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+_0x477d('0x3de0')+_0x477d('0x3f5c')+_0x477d('0x5a86')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27MOTIONDIALER.AGENTBUSYFACTOR\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3fc8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PredictiveOptimization\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x5a83')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PredictiveOptimizationPercentage\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5a8d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5a8f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5a6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MaxConcurrentCalls\x0a'+_0x477d('0x5ae0')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3eee')+_0x477d('0x5ae1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5a90')+_0x477d('0x5ae2')+_0x477d('0x39d2')+_0x477d('0x5ae3')+_0x477d('0x36bf')+_0x477d('0x3de9')+_0x477d('0x5ae4')+_0x477d('0x3deb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MaxConcurrentCalls\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x209999\x0a'+_0x477d('0x3deb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x5a99')+_0x477d('0x5a9a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3eee')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5ae5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x5a9b')+_0x477d('0x36bf')+_0x477d('0x3de9')+_0x477d('0x5ae6')+_0x477d('0x3deb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x3e26')+_0x477d('0x3e27')+_0x477d('0x5ae7')+_0x477d('0x3f7d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QUEUE\x0a'+_0x477d('0x385c')+_0x477d('0x5ae8')+_0x477d('0x5ae9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QueueOptions\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d6')+_0x477d('0x5aea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5aeb')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x5aec')+_0x477d('0x5a93')+_0x477d('0x5a94')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x221\x22\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20max=\x22999\x22\x20\x20\x0a'+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5aed')+_0x477d('0x39d2')+_0x477d('0x5a96')+_0x477d('0x36bf')+_0x477d('0x3de9')+_0x477d('0x5a97')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e23')+_0x477d('0x5a98')+_0x477d('0x3deb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x5aee')+_0x477d('0x5aef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Fewest\x20Calls\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Weight\x20Random\x0a'+_0x477d('0x3aac')+_0x477d('0x5afc')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Strategy\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5afd')+_0x477d('0x5afe')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3eee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5aff')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Retry\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3de9')+_0x477d('0x5b00')+_0x477d('0x3deb')+_0x477d('0x3ee8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5b01')+_0x477d('0x5b02')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3eee')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5b03')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x5b04')+_0x477d('0x36bf')+_0x477d('0x3de9')+_0x477d('0x5b05')+_0x477d('0x3deb')+_0x477d('0x3ee8')+_0x477d('0x36a1')+_0x477d('0x5aec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Weight\x0a'+_0x477d('0x5b06')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3eee')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x5b07')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3de9')+_0x477d('0x5b08')+_0x477d('0x3deb')+_0x477d('0x3ee8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5aec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MusicOnHold\x0a'+_0x477d('0x5b09')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x3de0')+_0x477d('0x5b0a')+_0x477d('0x5b0b')+_0x477d('0x3aac')+_0x477d('0x5b0c')+_0x477d('0x5b0d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5b0e')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x5b0f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CallySquareProject\x0a'+_0x477d('0x5b10')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x3de0')+_0x477d('0x58a1')+_0x477d('0x5b11')+_0x477d('0x5b12')+_0x477d('0x3aac')+_0x477d('0x5b13')+_0x477d('0x5b14')+_0x477d('0x39d2')+_0x477d('0x5836')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5b15')+_0x477d('0x5b16')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x3de0')+_0x477d('0x58a1')+_0x477d('0x5b17')+_0x477d('0x5b18')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5b19')+_0x477d('0x5b1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5b1b')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5b1c')+_0x477d('0x5b10')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x3de0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20None\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20dialQueueProject.name\x20}}\x0a'+_0x477d('0x3aac')+_0x477d('0x5b1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x5b1e')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x5b1f')+_0x477d('0x5b20')+_0x477d('0x5b16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x3de0')+_0x477d('0x58a1')+_0x477d('0x5b17')+_0x477d('0x5b18')+_0x477d('0x3aac')+_0x477d('0x5b21')+_0x477d('0x5b1a')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CallySquareProjectPreview2\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5b22')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RunIfHangupAgent\x0a'+_0x477d('0x3eb4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3eb4')+_0x477d('0x3e26')+_0x477d('0x3e27')+_0x477d('0x5b23')+_0x477d('0x3f7d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ORIGINATE\x0a'+_0x477d('0x385c')+_0x477d('0x58b7')+_0x477d('0x3e18')+_0x477d('0x58b8')+_0x477d('0x5b24')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5b25')+_0x477d('0x58ba')+_0x477d('0x39d2')+_0x477d('0x58bb')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5b26')+_0x477d('0x5b27')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x58be')+_0x477d('0x39d2')+_0x477d('0x58bf')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5b28')+_0x477d('0x5b29')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3eee')+_0x477d('0x58ab')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x58c1')+_0x477d('0x58c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RandomLastDigitCallerIdNumber\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3de9')+_0x477d('0x58c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e23')+_0x477d('0x58c4')+_0x477d('0x3deb')+_0x477d('0x3e24')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x58c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OriginateTimeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a'+_0x477d('0x3deb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x58cc')+_0x477d('0x3deb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x58cd')+_0x477d('0x5b2a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x58cf')+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5b2b')+_0x477d('0x39d2')+_0x477d('0x5b2c')+_0x477d('0x36bf')+_0x477d('0x3dde')+_0x477d('0x58d0')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x3e26')+_0x477d('0x3e27')+_0x477d('0x3e28')+_0x477d('0x3e29')+_0x477d('0x3e12')+_0x477d('0x3f7a')+_0x477d('0x5b2d')+_0x477d('0x3f7b')+_0x477d('0x3e14')+_0x477d('0x5b2e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GLOBAL\x0a'+_0x477d('0x385c')+_0x477d('0x5b2f')+_0x477d('0x3e18')+_0x477d('0x58d2')+_0x477d('0x5b30')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ee5')+_0x477d('0x58c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5b31')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GlobalMaxRetry\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GlobalMaxRetry\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a'+_0x477d('0x3deb')+_0x477d('0x3e23')+_0x477d('0x58d6')+_0x477d('0x3deb')+_0x477d('0x3e24')+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x3e26')+_0x477d('0x3e27')+_0x477d('0x5b32')+_0x477d('0x3f7d')+_0x477d('0x58d8')+_0x477d('0x385c')+_0x477d('0x58d9')+_0x477d('0x3e18')+_0x477d('0x58da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e23')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CongestionMaxRetry\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x20999\x0a'+_0x477d('0x3deb')+_0x477d('0x3e24')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x58e1')+_0x477d('0x5b33')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3ee5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20max=\x2299999\x22\x20\x20\x0a'+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x58e3')+_0x477d('0x39d2')+_0x477d('0x58e4')+_0x477d('0x36bf')+_0x477d('0x3de9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CongestionRetryTime\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a'+_0x477d('0x3deb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x58e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e24')+_0x477d('0x36a1')+_0x477d('0x3ab5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e27')+_0x477d('0x5b34')+_0x477d('0x3f7d')+_0x477d('0x58e7')+_0x477d('0x385c')+_0x477d('0x58e8')+_0x477d('0x3e18')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20BusyMaxRetry\x0a'+_0x477d('0x5b35')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x221\x22\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20max=\x22999\x22\x20\x20\x0a'+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ce')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x58eb')+_0x477d('0x58ec')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20BusyMaxRetry\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5b36')+_0x477d('0x3deb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20BusyMaxRetry\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x20999\x0a'+_0x477d('0x3deb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20BusyRetryTime\x0a'+_0x477d('0x5b37')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3ee5')+_0x477d('0x58e2')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5b38')+_0x477d('0x39d2')+_0x477d('0x58f1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x58f2')+_0x477d('0x3deb')+_0x477d('0x3e23')+_0x477d('0x58f3')+_0x477d('0x3deb')+_0x477d('0x3e24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ab5')+_0x477d('0x3e26')+_0x477d('0x3e27')+_0x477d('0x5b39')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NOANSWER\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x58f5')+_0x477d('0x3e18')+_0x477d('0x58f6')+_0x477d('0x5b3a')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3ee5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20max=\x22999\x22\x20\x20\x0a'+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x58f8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x58fa')+_0x477d('0x36bf')+_0x477d('0x3de9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NoAnswerMaxRetry\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a'+_0x477d('0x3deb')+_0x477d('0x3e23')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NoAnswerMaxRetry\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x20999\x0a'+_0x477d('0x3deb')+_0x477d('0x3e24')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x58fd')+_0x477d('0x5b3b')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3ee5')+_0x477d('0x58e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x58ff')+_0x477d('0x5b3c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5900')+_0x477d('0x36bf')+_0x477d('0x3de9')+_0x477d('0x5901')+_0x477d('0x3deb')+_0x477d('0x3e23')+_0x477d('0x5902')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ab5')+_0x477d('0x3e26')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5b3d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NOSUCHNUMBER\x0a'+_0x477d('0x385c')+_0x477d('0x5904')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5905')+_0x477d('0x5b3e')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3ee5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20max=\x22999\x22\x20\x20\x0a'+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NoSuchNumberMaxRetry\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3de9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NoSuchNumberMaxRetry\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a'+_0x477d('0x3deb')+_0x477d('0x3e23')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NoSuchNumberMaxRetry\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x20999\x0a'+_0x477d('0x3deb')+_0x477d('0x3e24')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NoSuchNumberRetryTime\x0a'+_0x477d('0x5b3f')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ee5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20max=\x2299999\x22\x20\x20\x0a'+_0x477d('0x39cd')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x590d')+_0x477d('0x39d2')+_0x477d('0x590e')+_0x477d('0x36bf')+_0x477d('0x3de9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NoSuchNumberRetryTime\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a'+_0x477d('0x3deb')+_0x477d('0x3e23')+_0x477d('0x5b40')+_0x477d('0x3deb')+_0x477d('0x3e24')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e26')+_0x477d('0x3e27')+_0x477d('0x5b41')+_0x477d('0x3f7d')+_0x477d('0x5b42')+_0x477d('0x385c')+_0x477d('0x5911')+_0x477d('0x3e18')+_0x477d('0x5b43')+_0x477d('0x5b44')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3ee5')+_0x477d('0x58c7')+_0x477d('0x39cd')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5913')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5914')+_0x477d('0x36bf')+_0x477d('0x3de9')+_0x477d('0x5915')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e23')+_0x477d('0x5916')+_0x477d('0x3deb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x5917')+_0x477d('0x5b45')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x221\x22\x20\x20\x20\x0a'+_0x477d('0x58e2')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x5919')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DropRetryTime\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x591b')+_0x477d('0x3deb')+_0x477d('0x3e23')+_0x477d('0x591c')+_0x477d('0x3deb')+_0x477d('0x3e24')+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x3e26')+_0x477d('0x3e27')+_0x477d('0x5b46')+_0x477d('0x3f7d')+_0x477d('0x591d')+_0x477d('0x385c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e18')+_0x477d('0x591f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5926')+_0x477d('0x5b47')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ee5')+_0x477d('0x58e2')+_0x477d('0x39cd')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5b48')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AbandonedRetryTime\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e23')+_0x477d('0x592b')+_0x477d('0x3deb')+_0x477d('0x3e24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ab5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e27')+_0x477d('0x5b49')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x592d')+_0x477d('0x385c')+_0x477d('0x592e')+_0x477d('0x3e18')+_0x477d('0x5b4a')+_0x477d('0x5b4b')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ee5')+_0x477d('0x58c7')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5930')+_0x477d('0x39d2')+_0x477d('0x5931')+_0x477d('0x36bf')+_0x477d('0x3de9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MachineMaxRetry\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e23')+_0x477d('0x5933')+_0x477d('0x3deb')+_0x477d('0x3e24')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x5934')+_0x477d('0x5b4c')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3ee5')+_0x477d('0x58e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5936')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x5938')+_0x477d('0x36bf')+_0x477d('0x3de9')+_0x477d('0x5939')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e23')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MachineRetryTime\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x2099999\x0a'+_0x477d('0x3deb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x3e26')+_0x477d('0x3e27')+_0x477d('0x5b4d')+_0x477d('0x3f7d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AGENTREJECT\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x593b')+_0x477d('0x3e18')+_0x477d('0x593c')+_0x477d('0x5b4e')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x221\x22\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20max=\x22999\x22\x20\x20\x0a'+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x593e')+_0x477d('0x593f')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AgentRejectMaxRetry\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3de9')+_0x477d('0x5941')+_0x477d('0x3deb')+_0x477d('0x3e23')+_0x477d('0x5942')+_0x477d('0x3deb')+_0x477d('0x3e24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5943')+_0x477d('0x5b4f')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x221\x22\x20\x20\x20\x0a'+_0x477d('0x58e2')+_0x477d('0x39cd')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5945')+_0x477d('0x5946')+_0x477d('0x39d2')+_0x477d('0x5947')+_0x477d('0x36bf')+_0x477d('0x3de9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AgentRejectRetryTime\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e23')+_0x477d('0x5948')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x3e26')+_0x477d('0x3e27')+_0x477d('0x3e28')+_0x477d('0x3e29')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f7a')+_0x477d('0x5949')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x3e14')+_0x477d('0x5b50')+_0x477d('0x3f7d')+_0x477d('0x5b51')+_0x477d('0x385c')+_0x477d('0x5b52')+_0x477d('0x3e18')+_0x477d('0x5b53')+_0x477d('0x3eb4')+_0x477d('0x5b54')+_0x477d('0x3867')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AfterCallWorkDuration\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x5b56')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3de9')+_0x477d('0x5b57')+_0x477d('0x3deb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AutoPause\x0a'+_0x477d('0x5b58')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x3de0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5b5b')+_0x477d('0x5b5c')+_0x477d('0x39d2')+_0x477d('0x5b5d')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3e73')+_0x477d('0x5b5e')+_0x477d('0x5b5f')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x3de0')+_0x477d('0x3f5c')+_0x477d('0x5b60')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5b59')+_0x477d('0x3fc8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.NO\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3aac')+_0x477d('0x5b61')+_0x477d('0x5b62')+_0x477d('0x39d2')+_0x477d('0x5b63')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5b64')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5b65')+_0x477d('0x39d2')+_0x477d('0x5b66')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MemberDelay\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a'+_0x477d('0x3deb')+_0x477d('0x3ee8')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5b67')+_0x477d('0x5b68')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x3de0')+_0x477d('0x3f5c')+_0x477d('0x5b60')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27MOTIONDIALER.YES\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3fc8')+_0x477d('0x5b69')+_0x477d('0x3a46')+_0x477d('0x5b5a')+_0x477d('0x3aac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5b6a')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5b6b')+_0x477d('0x5b6c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x5b6d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5b6e')+_0x477d('0x5b6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5b70')+_0x477d('0x5b71')+_0x477d('0x3a46')+_0x477d('0x5b72')+_0x477d('0x5b73')+_0x477d('0x3a46')+_0x477d('0x5b74')+_0x477d('0x3aac')+_0x477d('0x5b75')+_0x477d('0x5b76')+_0x477d('0x39d2')+_0x477d('0x5b77')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5b78')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x5b7c')+_0x477d('0x5b7d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x3de0')+_0x477d('0x3f5c')+_0x477d('0x5b60')+_0x477d('0x3a46')+_0x477d('0x5b59')+_0x477d('0x3fc8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x5b7f')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3e73')+_0x477d('0x5b80')+_0x477d('0x5b81')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x3f5c')+_0x477d('0x5b60')+_0x477d('0x3a46')+_0x477d('0x5b59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5b69')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5b5a')+_0x477d('0x3aac')+_0x477d('0x5b82')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x5b83')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x3e73')+_0x477d('0x5b84')+_0x477d('0x5b85')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x3de0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.YES\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3fc8')+_0x477d('0x5b69')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27MOTIONDIALER.NO\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3aac')+_0x477d('0x5b86')+_0x477d('0x5b87')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SetQueueEntryVariables\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3e73')+_0x477d('0x594b')+_0x477d('0x5b88')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x3de0')+_0x477d('0x3f5c')+_0x477d('0x594d')+_0x477d('0x3a46')+_0x477d('0x594e')+_0x477d('0x3fc8')+_0x477d('0x5b89')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x594f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x5951')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5b8a')+_0x477d('0x3eb4')+_0x477d('0x3867')+_0x477d('0x5b8b')+_0x477d('0x5b8c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20mandatoryDispositionPauseId.name\x20}}\x0a'+_0x477d('0x3aac')+_0x477d('0x5b8d')+_0x477d('0x5b8e')+_0x477d('0x39d2')+_0x477d('0x5b8f')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3eb4')+_0x477d('0x3e26')+_0x477d('0x3e27')+_0x477d('0x5b90')+_0x477d('0x3f7d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADVANCEDPREVIEW\x0a'+_0x477d('0x385c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5b53')+_0x477d('0x3eb4')+_0x477d('0x5b54')+_0x477d('0x3867')+_0x477d('0x5b91')+_0x477d('0x5b92')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3de9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AfterCallWorkDuration\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a'+_0x477d('0x3deb')+_0x477d('0x3ee8')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x5b6b')+_0x477d('0x5b6c')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x3de0')+_0x477d('0x5b6d')+_0x477d('0x3a46')+_0x477d('0x5b6e')+_0x477d('0x5b6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5b70')+_0x477d('0x5b71')+_0x477d('0x3a46')+_0x477d('0x5b72')+_0x477d('0x5b73')+_0x477d('0x3a46')+_0x477d('0x5b74')+_0x477d('0x3aac')+_0x477d('0x5b75')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x5b77')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e73')+_0x477d('0x594b')+_0x477d('0x5b88')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+_0x477d('0x3de0')+_0x477d('0x3f5c')+_0x477d('0x594d')+_0x477d('0x3a46')+_0x477d('0x594e')+_0x477d('0x3fc8')+_0x477d('0x5b89')+_0x477d('0x3a46')+_0x477d('0x594f')+_0x477d('0x3aac')+_0x477d('0x5950')+_0x477d('0x5b94')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DialOrderByScheduledAt\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3e73')+_0x477d('0x5b8a')+_0x477d('0x3eb4')+_0x477d('0x3867')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MandatoryDispositionPauseId\x0a'+_0x477d('0x5b95')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x3de0')+_0x477d('0x4dfc')+_0x477d('0x3fbd')+_0x477d('0x3aac')+_0x477d('0x5b8d')+_0x477d('0x5b96')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MandatoryDispositionPauseId\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3eb4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5b97')+_0x477d('0x3f7d')+_0x477d('0x5b98')+_0x477d('0x385c')+_0x477d('0x5b99')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5b9a')+_0x477d('0x5b9b')+_0x477d('0x5b9c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5a83')+_0x477d('0x5b9d')+_0x477d('0x5b9e')+_0x477d('0x5b9f')+_0x477d('0x36a1')+_0x477d('0x3eb4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e27')+_0x477d('0x5ba0')+_0x477d('0x3f7d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RECALLME\x0a'+_0x477d('0x385c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DialRecallMeTimeout\x0a'+_0x477d('0x5ba1')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3ee5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ce')+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x5ba2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DialRecallMeTimeout\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5ba3')+_0x477d('0x3deb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x5ba4')+_0x477d('0x3eb4')+_0x477d('0x5ba5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3eb4')+_0x477d('0x3e26')+_0x477d('0x3e27')+_0x477d('0x5ba6')+_0x477d('0x3f7d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GLOBALINTERVAL\x0a'+_0x477d('0x385c')+_0x477d('0x5952')+_0x477d('0x3e18')+_0x477d('0x5ba7')+_0x477d('0x5ba8')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x5954')+_0x477d('0x5955')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GlobalInterval\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ab5')+_0x477d('0x3e26')+_0x477d('0x3e27')+_0x477d('0x5ba9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5958')+_0x477d('0x385c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x595a')+_0x477d('0x5baa')+_0x477d('0x595c')+_0x477d('0x5bab')+_0x477d('0x39d2')+_0x477d('0x5bac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3eb4')+_0x477d('0x3e26')+_0x477d('0x3e27')+_0x477d('0x5bad')+_0x477d('0x3f7d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AMD\x0a'+_0x477d('0x385c')+_0x477d('0x5bae')+_0x477d('0x3e18')+_0x477d('0x5baf')+_0x477d('0x3eb4')+_0x477d('0x595f')+_0x477d('0x3867')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5960')+_0x477d('0x5bb0')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3eee')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x5961')+_0x477d('0x5962')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5963')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3de9')+_0x477d('0x5964')+_0x477d('0x3deb')+_0x477d('0x3ee8')+_0x477d('0x36a1')+_0x477d('0x5bb1')+_0x477d('0x5965')+_0x477d('0x5bb2')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3eee')+_0x477d('0x39cb')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5966')+_0x477d('0x5967')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AMDGreeting\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AMDGreeting\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ee8')+_0x477d('0x36a1')+_0x477d('0x5bb1')+_0x477d('0x596b')+_0x477d('0x5bb3')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x220\x22\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x596d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x5bb4')+_0x477d('0x36bf')+_0x477d('0x3de9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AMDAfterGreetingSilence\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ee8')+_0x477d('0x36a1')+_0x477d('0x5bb1')+_0x477d('0x596f')+_0x477d('0x5bb5')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x220\x22\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x5970')+_0x477d('0x5971')+_0x477d('0x39d2')+_0x477d('0x5972')+_0x477d('0x36bf')+_0x477d('0x3de9')+_0x477d('0x5973')+_0x477d('0x3deb')+_0x477d('0x3ee8')+_0x477d('0x36a1')+_0x477d('0x5bb1')+_0x477d('0x5bb6')+_0x477d('0x5bb7')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3eee')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x5976')+_0x477d('0x36bf')+_0x477d('0x3de9')+_0x477d('0x5977')+_0x477d('0x3deb')+_0x477d('0x3ee8')+_0x477d('0x36a1')+_0x477d('0x5bb1')+_0x477d('0x5978')+_0x477d('0x5bb8')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3eee')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x5979')+_0x477d('0x597a')+_0x477d('0x39d2')+_0x477d('0x597b')+_0x477d('0x36bf')+_0x477d('0x3de9')+_0x477d('0x597c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ee8')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5bb9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3de9')+_0x477d('0x5985')+_0x477d('0x3deb')+_0x477d('0x3e23')+_0x477d('0x5bbd')+_0x477d('0x3deb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x5bb1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AMDMaximumWordLength\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5989')+_0x477d('0x39d2')+_0x477d('0x5bbe')+_0x477d('0x36bf')+_0x477d('0x3de9')+_0x477d('0x598a')+_0x477d('0x3deb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x3e26')+_0x477d('0x3e27')+_0x477d('0x3e28')+_0x477d('0x3e29')+_0x477d('0x3e12')+_0x477d('0x3f7a')+_0x477d('0x598b')+_0x477d('0x3f7b')+_0x477d('0x3e14')+_0x477d('0x5bbf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x598e')+_0x477d('0x4108')+'\x20\x20\x20\x20\x20\x20\x20\x20Hoppers\x0a'+_0x477d('0x5bc0')+_0x477d('0x5bc1')+_0x477d('0x5990')+_0x477d('0x3d05')+_0x477d('0x380f')+'\x20\x20\x0a'+'\x20\x20\x0a'+_0x477d('0x5bc2')+'\x0a'+_0x477d('0x5bc3')+_0x477d('0x5992')+'\x0a'+_0x477d('0x5993')+_0x477d('0x599a')+_0x477d('0x5994')+_0x477d('0x5995')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.TOTAL\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x36e5')+_0x477d('0x5997')+'\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x599d')+_0x477d('0x5bc4')+'\x0a'+_0x477d('0x5999')+_0x477d('0x5992')+'\x0a'+_0x477d('0x5993')+_0x477d('0x599a')+_0x477d('0x5994')+_0x477d('0x599b')+_0x477d('0x599c')+_0x477d('0x36e5')+_0x477d('0x5997')+_0x477d('0x5998')+'\x0a'+_0x477d('0x599d')+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5994')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm_hs.total\x20?\x20(vm_hs.total\x20-\x20(vm_hs.fresh\x20||\x200))\x20:\x200}}\x20({{vm_hs.total\x20?\x20((((vm_hs.total\x20-\x20(vm_hs.fresh\x20||\x200))\x20*\x20100)/((vm_hs.closed\x20||\x200)\x20+\x20(vm_hs.total\x20||\x200)))\x20|\x20number:\x202)\x20:\x200}}%)\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.OPEN\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x36e5')+_0x477d('0x5997')+'\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x599d')+_0x477d('0x59a2')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x5992')+'\x0a'+_0x477d('0x5993')+_0x477d('0x599a')+_0x477d('0x5994')+_0x477d('0x59a0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.CLOSED\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5998')+'\x0a'+_0x477d('0x599d')+_0x477d('0x59a2')+'\x0a'+'\x20\x20\x0a'+_0x477d('0x5bc5')+_0x477d('0x377d')+'\x0a'+_0x477d('0x3e27')+_0x477d('0x5bc6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5bc7')+_0x477d('0x4100')+_0x477d('0x59a5')+_0x477d('0x4102')+_0x477d('0x4103')+_0x477d('0x5bc8')+_0x477d('0x5bc9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x40e1')+_0x477d('0x40da')+_0x477d('0x4106')+_0x477d('0x5bca')+_0x477d('0x4108')+_0x477d('0x5bcb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5bcc')+_0x477d('0x410b')+_0x477d('0x410c')+_0x477d('0x5bcd')+_0x477d('0x5bce')+_0x477d('0x410f')+_0x477d('0x3d05')+_0x477d('0x40da')+'\x20\x20\x0a'+_0x477d('0x4110')+_0x477d('0x5bcf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x59ac')+_0x477d('0x59ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x59ae')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.PHONE\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x59b0')+_0x477d('0x59b1')+_0x477d('0x4115')+_0x477d('0x59b2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.BUSY\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x4115')+_0x477d('0x5a10')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.NOANSWER\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x59b4')+_0x477d('0x59b5')+_0x477d('0x4115')+_0x477d('0x59b6')+_0x477d('0x59b7')+_0x477d('0x4115')+_0x477d('0x59b8')+_0x477d('0x59b9')+_0x477d('0x4115')+_0x477d('0x59ba')+_0x477d('0x59bb')+_0x477d('0x4115')+_0x477d('0x5a12')+_0x477d('0x59bc')+_0x477d('0x4115')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x59bd')+_0x477d('0x4115')+_0x477d('0x59be')+_0x477d('0x59bf')+_0x477d('0x4115')+_0x477d('0x5bd0')+_0x477d('0x5bd1')+_0x477d('0x4115')+_0x477d('0x414c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x411f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5bd2')+'>\x0a'+_0x477d('0x5bd3')+_0x477d('0x5bd4')+_0x477d('0x4123')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5bd5')+_0x477d('0x4123')+_0x477d('0x5bd6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hopper.countcongestionretry}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5bd6')+_0x477d('0x59c4')+_0x477d('0x4123')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x59c5')+_0x477d('0x4123')+_0x477d('0x5bd6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hopper.countnosuchnumberretry}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x59c6')+_0x477d('0x4123')+_0x477d('0x5bd6')+_0x477d('0x59c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5bd6')+_0x477d('0x59c8')+_0x477d('0x4123')+_0x477d('0x5bd6')+_0x477d('0x59c9')+_0x477d('0x4123')+_0x477d('0x5bd7')+_0x477d('0x59cb')+_0x477d('0x412e')+_0x477d('0x5bd8')+_0x477d('0x5bd9')+_0x477d('0x4128')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm_dc.arraypriority[hopper.priority].option\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x412f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4130')+_0x477d('0x4155')+'\x20\x0a'+_0x477d('0x4156')+_0x477d('0x4157')+_0x477d('0x5bda')+_0x477d('0x59ce')+_0x477d('0x4133')+_0x477d('0x4159')+_0x477d('0x4134')+_0x477d('0x5bdb')+_0x477d('0x5bdc')+_0x477d('0x3a52')+_0x477d('0x415b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4137')+_0x477d('0x4138')+_0x477d('0x411e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5bdd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5bde')+_0x477d('0x413b')+_0x477d('0x413c')+_0x477d('0x411e')+_0x477d('0x413d')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x413f')+_0x477d('0x5bdf')+_0x477d('0x3fa6')+'\x0a'+_0x477d('0x3e27')+_0x477d('0x3e28')+_0x477d('0x3e29')+_0x477d('0x3e12')+_0x477d('0x3f7a')+_0x477d('0x59d0')+_0x477d('0x3f7b')+_0x477d('0x3e14')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x0a'+_0x477d('0x4100')+_0x477d('0x59d2')+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5be0')+_0x477d('0x5be1')+_0x477d('0x41cd')+_0x477d('0x40e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4106')+_0x477d('0x5be2')+_0x477d('0x4108')+'\x20\x20\x20\x20\x20\x20\x20\x20{{vm_dc.selectedQueueCampaignHopperHistories.length}}\x20{{vm_dc.selectedQueueCampaignHopperHistories.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected\x0a'+_0x477d('0x3b2c')+_0x477d('0x5be3')+_0x477d('0x410b')+_0x477d('0x410c')+_0x477d('0x40da')+_0x477d('0x4106')+'\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5be4')+_0x477d('0x4113')+_0x477d('0x59d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.UNIQUEID\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x4115')+_0x477d('0x59d8')+_0x477d('0x59ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x59d9')+_0x477d('0x59af')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5be5')+_0x477d('0x4115')+_0x477d('0x59da')+_0x477d('0x59db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x59dc')+_0x477d('0x59bd')+_0x477d('0x4115')+_0x477d('0x5507')+_0x477d('0x59dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x59de')+_0x477d('0x59df')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x414c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x411f')+_0x477d('0x4120')+_0x477d('0x5be6')+'>\x0a'+_0x477d('0x41da')+_0x477d('0x5be7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4217')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hopperHistory.ContactId}}\x0a'+_0x477d('0x4123')+_0x477d('0x4217')+_0x477d('0x5be8')+_0x477d('0x4123')+_0x477d('0x4217')+_0x477d('0x59e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4217')+_0x477d('0x59e3')+_0x477d('0x4123')+_0x477d('0x41eb')+_0x477d('0x59e4')+_0x477d('0x412e')+_0x477d('0x4e41')+_0x477d('0x59e5')+_0x477d('0x412e')+_0x477d('0x4e41')+_0x477d('0x59e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5511')+_0x477d('0x5a33')+_0x477d('0x411e')+_0x477d('0x5be9')+_0x477d('0x59e8')+_0x477d('0x417f')+_0x477d('0x59e9')+_0x477d('0x413b')+_0x477d('0x413c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x413f')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3fa6')+'\x0a'+_0x477d('0x3e27')+_0x477d('0x3e28')+_0x477d('0x3e29')+_0x477d('0x3e12')+_0x477d('0x3f7a')+_0x477d('0x5bea')+_0x477d('0x3f7b')+_0x477d('0x3e14')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5beb')+'\x20\x20\x0a'+_0x477d('0x4100')+_0x477d('0x59ed')+_0x477d('0x4102')+_0x477d('0x4103')+_0x477d('0x5bec')+_0x477d('0x59ef')+_0x477d('0x41cd')+_0x477d('0x40e1')+_0x477d('0x59f0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5bed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5bee')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x59f3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NoAnswer\x0a'+_0x477d('0x5bef')+_0x477d('0x40b6')+_0x477d('0x59f5')+_0x477d('0x59f3')+_0x477d('0x5bf0')+_0x477d('0x59f7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{vm_dc.contacts.busyContacts}})\x0a'+_0x477d('0x40b6')+_0x477d('0x59f5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x59f9')+_0x477d('0x5bf1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x59f3')+_0x477d('0x5bf2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Drop\x0a'+_0x477d('0x5bf3')+_0x477d('0x40b6')+_0x477d('0x59f5')+_0x477d('0x59f3')+_0x477d('0x5bf4')+_0x477d('0x59fd')+_0x477d('0x5bf5')+_0x477d('0x40b6')+_0x477d('0x59f5')+_0x477d('0x59f3')+_0x477d('0x5bf6')+_0x477d('0x59fe')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{vm_dc.contacts.reCallContacts}})\x0a'+_0x477d('0x40b6')+_0x477d('0x59f5')+_0x477d('0x59f3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NoSuchNumber\x0a'+_0x477d('0x5bf7')+_0x477d('0x40b6')+_0x477d('0x59f5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5bf8')+_0x477d('0x5a04')+_0x477d('0x5a05')+_0x477d('0x3947')+_0x477d('0x5bf9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5bfa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4106')+_0x477d('0x5bfb')+_0x477d('0x4108')+_0x477d('0x5bfc')+_0x477d('0x3b2c')+_0x477d('0x5bfd')+_0x477d('0x410b')+_0x477d('0x410c')+_0x477d('0x5bfe')+_0x477d('0x5a0b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5a0d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3fab')+_0x477d('0x4106')+_0x477d('0x4110')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5bff')+_0x477d('0x4113')+_0x477d('0x59d6')+_0x477d('0x59d7')+_0x477d('0x4115')+_0x477d('0x59d8')+_0x477d('0x59ad')+_0x477d('0x4115')+_0x477d('0x59d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.PHONE\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x4115')+_0x477d('0x5a0f')+_0x477d('0x5be5')+_0x477d('0x4115')+_0x477d('0x59da')+_0x477d('0x59db')+_0x477d('0x4115')+_0x477d('0x59b0')+_0x477d('0x59b1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x59b3')+_0x477d('0x4115')+_0x477d('0x5a10')+_0x477d('0x5a11')+_0x477d('0x4115')+_0x477d('0x59b4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.NOSUCHNUMBER\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x4115')+_0x477d('0x59b6')+_0x477d('0x59b7')+_0x477d('0x4115')+_0x477d('0x59b8')+_0x477d('0x59b9')+_0x477d('0x4115')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x59bb')+_0x477d('0x4115')+_0x477d('0x5a12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.AGENTREJECT\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x4115')+_0x477d('0x5507')+_0x477d('0x59dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x59de')+_0x477d('0x59df')+_0x477d('0x4115')+_0x477d('0x5a13')+_0x477d('0x5a14')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x414c')+_0x477d('0x411e')+_0x477d('0x411f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5c00')+'>\x0a'+_0x477d('0x41da')+_0x477d('0x5a16')+_0x477d('0x4123')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5a17')+_0x477d('0x4123')+_0x477d('0x4217')+_0x477d('0x5c01')+_0x477d('0x4123')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hopperFinal.calleridname}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hopperFinal.statedesc}}\x0a'+_0x477d('0x4123')+_0x477d('0x4217')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hopperFinal.countcongestionretry}}\x0a'+_0x477d('0x4123')+_0x477d('0x4217')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hopperFinal.countbusyretry}}\x0a'+_0x477d('0x4123')+_0x477d('0x4217')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hopperFinal.countnoanswerretry}}\x0a'+_0x477d('0x4123')+_0x477d('0x4217')+_0x477d('0x5a1c')+_0x477d('0x4123')+_0x477d('0x4217')+_0x477d('0x5a1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4217')+_0x477d('0x5a1e')+_0x477d('0x4123')+_0x477d('0x4217')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hopperFinal.countmachineretry}}\x0a'+_0x477d('0x4123')+_0x477d('0x4217')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hopperFinal.countagentrejectretry}}\x0a'+_0x477d('0x4123')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5c02')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4e41')+_0x477d('0x5a20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5a21')+_0x477d('0x4123')+_0x477d('0x5a22')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x59cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4155')+'\x20\x0a'+_0x477d('0x4156')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5a24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Move\x20HopperFinal\x0a'+_0x477d('0x4133')+_0x477d('0x4159')+_0x477d('0x5c03')+_0x477d('0x4137')+_0x477d('0x4138')+_0x477d('0x411e')+_0x477d('0x5c04')+_0x477d('0x5a27')+_0x477d('0x417f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20hopperfinal\x20available\x0a'+_0x477d('0x413b')+_0x477d('0x413c')+_0x477d('0x411e')+_0x477d('0x413d')+_0x477d('0x413e')+_0x477d('0x413f')+_0x477d('0x5c05')+_0x477d('0x3fa6')+'\x0a'+_0x477d('0x3e27')+_0x477d('0x3e28')+_0x477d('0x3e29')+_0x477d('0x3e12')+_0x477d('0x3f7a')+_0x477d('0x5c06')+_0x477d('0x3f7b')+_0x477d('0x3e14')+_0x477d('0x5c07')+_0x477d('0x5c08')+'\x20\x20\x0a'+_0x477d('0x4100')+_0x477d('0x5c09')+_0x477d('0x4102')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x382a')+_0x477d('0x4106')+_0x477d('0x5c0a')+_0x477d('0x4108')+_0x477d('0x5c0b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5c0c')+_0x477d('0x410b')+_0x477d('0x410c')+_0x477d('0x40da')+_0x477d('0x4106')+_0x477d('0x4110')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5c0d')+_0x477d('0x4113')+_0x477d('0x59ac')+_0x477d('0x59ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x59ae')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.PHONE\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x4115')+_0x477d('0x414c')+_0x477d('0x411e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5c0e')+'>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5a30')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4217')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hopperBlack.phone}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5a32')+_0x477d('0x5a33')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5746')+_0x477d('0x417f')+_0x477d('0x5a35')+_0x477d('0x413b')+_0x477d('0x413c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x413d')+_0x477d('0x413e')+_0x477d('0x413f')+_0x477d('0x5c0f')+_0x477d('0x3fa6')+'\x0a'+_0x477d('0x3e27')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e29')+_0x477d('0x3e2a')+'\x0a'+_0x477d('0x3699')+_0x477d('0x3a5a')+'\x0a'+_0x477d('0x377d'));_0x143a79['put'](_0x477d('0x200'),_0x477d('0x5c10')+'\x0a'+_0x477d('0x39eb')+_0x477d('0x3bef')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ec')+_0x477d('0x39ed')+_0x477d('0x5a39')+_0x477d('0x3760')+_0x477d('0x5c11')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39ef')+'\x0a'+_0x477d('0x39f0')+_0x477d('0x39f1')+_0x477d('0x39f2')+_0x477d('0x39f3')+_0x477d('0x39f4')+_0x477d('0x39f5')+_0x477d('0x3abf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39a2')+_0x477d('0x36c0')+_0x477d('0x39f7')+_0x477d('0x36bf')+_0x477d('0x3699')+_0x477d('0x39f8')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x5c12')+_0x477d('0x39fa')+'\x0a'+_0x477d('0x5c13')+_0x477d('0x39fc')+_0x477d('0x39fd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Back\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39ff')+'\x0a'+_0x477d('0x3a00')+_0x477d('0x5c14')+_0x477d('0x5c15')+_0x477d('0x5a40')+_0x477d('0x3760')+'\x0a'+_0x477d('0x3daf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a08')+_0x477d('0x3674')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a0a')+_0x477d('0x5c16')+_0x477d('0x3a0c')+_0x477d('0x3832')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a0a')+_0x477d('0x5c17')+_0x477d('0x3a0e')+_0x477d('0x3832')+_0x477d('0x3a0f')+_0x477d('0x3a10')+_0x477d('0x3a11')+_0x477d('0x36c0')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a13')+_0x477d('0x3a14')+_0x477d('0x5c18')+_0x477d('0x5a46')+_0x477d('0x3a16')+_0x477d('0x387e')+_0x477d('0x382a')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a1a')+_0x477d('0x3ac6')+'\x0a'+_0x477d('0x3a1b')+_0x477d('0x5c19')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a1e')+_0x477d('0x5c1a')+_0x477d('0x5c1b')+_0x477d('0x3a21')+_0x477d('0x3a22')+_0x477d('0x5c1c')+_0x477d('0x5a49')+_0x477d('0x5c1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.TRUNK\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x5c1e')+_0x477d('0x5c1f')+_0x477d('0x3acb')+_0x477d('0x3a2c')+_0x477d('0x3a2d')+_0x477d('0x3a2e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e3e')+_0x477d('0x3a30')+_0x477d('0x5a4d')+_0x477d('0x3a31')+_0x477d('0x3a32')+_0x477d('0x3a2c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5c20')+_0x477d('0x5c21')+_0x477d('0x5c22')+_0x477d('0x5c23')+_0x477d('0x5c24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22name\x20\x22\x20>{{queueCampaign.name}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3adc')+'\x0a'+_0x477d('0x5c2c')+_0x477d('0x5c2d')+_0x477d('0x5c2e')+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3adc')+'\x0a'+_0x477d('0x5c2f')+_0x477d('0x5c30')+_0x477d('0x5c31')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3dc6')+'\x0a'+_0x477d('0x5c32')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MOTIONDIALER.LISTADD_QUEUECAMPAIGN\x22>\x0a'+_0x477d('0x5c33')+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x5c34')+_0x477d('0x5c35')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20blacklistadd\x20QueueCampaign\x0a'+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3a47')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3dc6')+'\x0a'+_0x477d('0x5c36')+_0x477d('0x5c37')+_0x477d('0x5c38')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3dc6')+'\x0a'+_0x477d('0x5c39')+_0x477d('0x5c3a')+_0x477d('0x5c3b')+_0x477d('0x3a52')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3caf')+'\x0a'+_0x477d('0x5c3c')+_0x477d('0x5c3d')+_0x477d('0x5c3e')+_0x477d('0x3a52')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x5c3f')+_0x477d('0x5c40')+_0x477d('0x5c41')+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3692')+'\x0a'+_0x477d('0x3693')+_0x477d('0x3939')+'\x0a'+'\x0a'+_0x477d('0x3a2c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a57')+'\x0a'+_0x477d('0x5c42')+_0x477d('0x3ae4')+_0x477d('0x5c43')+_0x477d('0x3a59')+'\x0a'+_0x477d('0x3cb5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ae6')+'\x0a'+_0x477d('0x3699')+_0x477d('0x3a5a')+'\x0a'+_0x477d('0x5c44')+'\x20\x20\x20\x20\x0a');_0x143a79['put']('app/main/apps/motiondialer/views/realtime/abandonedcalls/view.html',_0x477d('0x5c47')+_0x477d('0x4713')+_0x477d('0x4714')+_0x477d('0x5c48')+_0x477d('0x3bec')+'\x0a'+_0x477d('0x5c49')+_0x477d('0x5c4a')+_0x477d('0x5c4b')+_0x477d('0x5c4c')+_0x477d('0x471a')+_0x477d('0x5c4d')+_0x477d('0x372b')+_0x477d('0x36e5')+_0x477d('0x392e')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3930')+_0x477d('0x5c4e')+_0x477d('0x471e')+_0x477d('0x5c4f')+_0x477d('0x4720')+_0x477d('0x4721')+_0x477d('0x4722')+_0x477d('0x4757')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.QUEUECALLEREXITAT\x27\x20|\x20translate}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.QUEUECALLEREXITREASON\x27\x20|\x20translate}}\x0a'+_0x477d('0x5c50')+_0x477d('0x5c51')+_0x477d('0x4728')+_0x477d('0x3932')+_0x477d('0x3933')+_0x477d('0x3934')+_0x477d('0x5c52')+_0x477d('0x4729')+_0x477d('0x4926')+_0x477d('0x4759')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3932')+_0x477d('0x5c53')+_0x477d('0x5c54')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{call.calleridname}}\x0a'+_0x477d('0x5c55')+_0x477d('0x5c56')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{call.queuecallerabandonAt\x20?\x20(call.queuecallerabandonAt\x20|\x20formatdate)\x20:\x20undefined\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{call.queuecallerexitAt\x20?\x20(call.queuecallerexitAt\x20|\x20formatdate)\x20:\x20undefined\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{call.queuecallerexitreason}}\x0a'+_0x477d('0x5c57')+_0x477d('0x5c58')+_0x477d('0x473c')+_0x477d('0x4933')+_0x477d('0x5c59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3832')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5c5a')+_0x477d('0x4742')+_0x477d('0x5c5b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5c5c')+_0x477d('0x5c5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5c5e')+_0x477d('0x3d61')+_0x477d('0x3d64')+_0x477d('0x3d65')+_0x477d('0x368d')+_0x477d('0x368e')+_0x477d('0x4742')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Dispose\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5c5f')+_0x477d('0x5c60')+_0x477d('0x3d61')+_0x477d('0x3d64')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3939')+_0x477d('0x3932')+_0x477d('0x393a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x393c')+'\x0a'+_0x477d('0x5c61'));_0x143a79[_0x477d('0x390')](_0x477d('0x213'),_0x477d('0x42b7')+_0x477d('0x421f')+_0x477d('0x4100')+'\x20\x20\x20\x20\x20\x20\x20\x20Agents\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4223')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-change=\x22vm.query.pauseTypeFilter\x20=\x20\x27\x27;\x20vm.onInit()\x22>\x0a'+_0x477d('0x5c62')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.PAUSE\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.PARTIALPAUSE\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x5c63')+_0x477d('0x5c64')+_0x477d('0x3888')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20{{pause.name}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3699')+_0x477d('0x422f')+'\x0a'+'\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x4232')+_0x477d('0x4233')+_0x477d('0x5c65')+_0x477d('0x4235')+_0x477d('0x4236')+_0x477d('0x4237')+_0x477d('0x4238')+_0x477d('0x4239')+_0x477d('0x423a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27FAX.FAX\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x423d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x419a')+_0x477d('0x423f')+_0x477d('0x5c66')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.STATUS\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.LOGIN_TIME\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5c67')+'\x0a'+_0x477d('0x4245')+_0x477d('0x4246')+'\x0a'+_0x477d('0x4247')+_0x477d('0x4248')+_0x477d('0x4249')+_0x477d('0x424a')+_0x477d('0x36bb')+_0x477d('0x419e')+'\x0a'+_0x477d('0x424b')+_0x477d('0x424c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.CAPACITY\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x36bb')+_0x477d('0x419e')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.STATUS\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x424f')+_0x477d('0x4249')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.CAPACITY\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x36bb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4250')+_0x477d('0x4251')+_0x477d('0x4249')+_0x477d('0x4252')+_0x477d('0x36bb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27FAX.STATUS\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x4254')+_0x477d('0x4249')+_0x477d('0x4ee4')+_0x477d('0x36bb')+_0x477d('0x419e')+'\x0a'+_0x477d('0x4255')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4249')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.CAPACITY\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x36bb')+_0x477d('0x419e')+_0x477d('0x41a3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4256')+_0x477d('0x4257')+_0x477d('0x4ee6')+_0x477d('0x4258')+_0x477d('0x5c68')+_0x477d('0x36bf')+_0x477d('0x413c')+_0x477d('0x41a3')+_0x477d('0x4ee8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5c69')+_0x477d('0x425b')+_0x477d('0x4ee9')+_0x477d('0x425c')+_0x477d('0x425d')+_0x477d('0x425e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x413c')+_0x477d('0x425a')+_0x477d('0x425f')+_0x477d('0x4260')+_0x477d('0x4261')+_0x477d('0x3684')+_0x477d('0x4262')+_0x477d('0x4263')+_0x477d('0x4264')+_0x477d('0x5c6a')+_0x477d('0x4268')+_0x477d('0x4266')+_0x477d('0x368a')+_0x477d('0x36a9')+_0x477d('0x4eeb')+_0x477d('0x3684')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x413c')+'\x0a'+'\x0a'+'\x0a'+_0x477d('0x4269')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.isPause(vm.agents[value].globalStatus)\x20?\x20\x27\x27\x20:\x20vm.agents[value].globalStatus\x20|\x20uppercase\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.isPause(vm.agents[value].globalStatus)\x20?\x20(vm.isPartialPause(vm.agents[value].globalStatus)\x20?\x20\x27*\x27+vm.agents[value].pauseType\x20||\x20\x27DEFAULT\x20PAUSE\x27\x20\x20:\x20vm.agents[value].pauseType\x20||\x20\x27DEFAULT\x20PAUSE\x27)\x20:\x20\x27\x27}}\x0a'+_0x477d('0x413c')+_0x477d('0x426b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20days\x20>\x200\x20?\x20days\x20+\x20\x27d\x27\x20:\x20\x27\x27\x20}}\x0a'+_0x477d('0x426d')+_0x477d('0x413c')+_0x477d('0x426b')+_0x477d('0x426e')+_0x477d('0x4eef')+_0x477d('0x426f')+_0x477d('0x426d')+_0x477d('0x413c')+_0x477d('0x4270')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4272')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27idle\x27:\x27lime-300-bg\x27,\x27talking\x27:\x27indigo-100-bg\x27,\x27ringing\x27:\x27orange-400-bg\x27,\x27pause\x27:\x27amber-200-bg\x27}[vm.agents[value].voiceStatus]\x22>{{\x20vm.agents[value].voiceStatus\x20|\x20uppercase\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x413c')+_0x477d('0x4270')+_0x477d('0x4ef0')+_0x477d('0x4276')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27idle\x27:\x27lime-300-fg\x27,\x27maxcapacity\x27:\x27red-A200-fg\x27,\x27working\x27:\x27indigo-100-fg\x27,\x27pause\x27:\x27amber-200-fg\x27}[vm.agents[value].voiceStatus]\x22>{{\x20vm.agents[value].queue\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4278')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27idle\x27:\x27lime-300-fg\x27,\x27maxcapacity\x27:\x27red-A200-fg\x27,\x27working\x27:\x27indigo-100-fg\x27,\x27pause\x27:\x27amber-200-fg\x27}[vm.agents[value].voiceStatus]\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hhours}}:{{mminutes}}:{{sseconds}}\x0a'+_0x477d('0x427b')+_0x477d('0x36bf')+_0x477d('0x413c')+'\x0a'+_0x477d('0x427c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41ee')+_0x477d('0x427d')+_0x477d('0x427e')+_0x477d('0x36a9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x413c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36bf')+_0x477d('0x413c')+_0x477d('0x4ef2')+_0x477d('0x4282')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.agents[value].mailCurrentCapacity\x20}}\x0a'+'\x0a'+_0x477d('0x4284')+_0x477d('0x4271')+_0x477d('0x41ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4285')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27idle\x27:\x27lime-300-fg\x27,\x27maxcapacity\x27:\x27red-A200-fg\x27,\x27working\x27:\x27indigo-100-fg\x27,\x27pause\x27:\x27amber-200-fg\x27}[vm.agents[value].smsStatus]\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.agents[value].smsCurrentCapacity\x20}}\x0a'+'\x0a'+_0x477d('0x4287')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x427d')+_0x477d('0x4288')+_0x477d('0x36a9')+_0x477d('0x36bf')+_0x477d('0x413c')+_0x477d('0x4289')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27idle\x27:\x27lime-300-fg\x27,\x27maxcapacity\x27:\x27red-A200-fg\x27,\x27working\x27:\x27indigo-100-fg\x27,\x27pause\x27:\x27amber-200-fg\x27}[vm.agents[value].openchannelStatus]\x22>\x0a'+_0x477d('0x4ef5')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41ee')+_0x477d('0x427d')+_0x477d('0x428c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x413c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4271')+_0x477d('0x41ee')+_0x477d('0x427d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27idle\x27:\x27lime-300-bg\x27,\x27maxcapacity\x27:\x27red-A200-bg\x27,\x27working\x27:\x27indigo-100-bg\x27,\x27pause\x27:\x27amber-200-bg\x27}[vm.agents[value].whatsappStatus]\x22>{{\x20vm.agents[value].whatsappStatus\x20|\x20uppercase\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36bf')+_0x477d('0x413c')+_0x477d('0x4290')+_0x477d('0x4291')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.agents[value].whatsappCurrentCapacity\x20}}\x0a'+'\x0a'+_0x477d('0x4293')+_0x477d('0x3a43')+_0x477d('0x3d9e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22STAFF.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a'+_0x477d('0x3a44')+_0x477d('0x3947')+'\x0a'+_0x477d('0x4295')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4297')+_0x477d('0x5c6d')+_0x477d('0x4299')+_0x477d('0x3a52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4296')+_0x477d('0x429a')+_0x477d('0x5c6e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Add\x20Agent\x20In\x20Queue\x0a'+_0x477d('0x3a52')+_0x477d('0x3a4b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3c28')+_0x477d('0x429d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MOTIONDIALER.SCREENRECORDING\x22>Screen\x20Recording\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x429f')+_0x477d('0x42a0')+_0x477d('0x42a1')+_0x477d('0x5c6f')+_0x477d('0x42a2')+_0x477d('0x3c30')+_0x477d('0x42a3')+_0x477d('0x42a4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22MOTIONDIALER.STOP_SCREENRECORDING\x22>Stop\x0a'+_0x477d('0x42a2')+_0x477d('0x3c30')+_0x477d('0x42a5')+_0x477d('0x3c45')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4296')+_0x477d('0x3c28')+_0x477d('0x429d')+_0x477d('0x5c70')+_0x477d('0x429f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x42aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22\x20vm.agents[value].voicePause\x20&&\x20\x27DEFAULT\x20PAUSE\x27\x20===\x20vm.agents[value].pauseType\x22\x0a'+_0x477d('0x4efe')+_0x477d('0x5c71')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Pause\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x42a9')+_0x477d('0x42aa')+_0x477d('0x42ab')+_0x477d('0x42ac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3c30')+_0x477d('0x42a5')+_0x477d('0x3c45')+_0x477d('0x3a4b')+_0x477d('0x42ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4b')+_0x477d('0x41b9')+_0x477d('0x42b0')+_0x477d('0x413c')+_0x477d('0x41a3')+_0x477d('0x41bc')+_0x477d('0x42d1')+_0x477d('0x41be')+'\x0a'+_0x477d('0x42b1')+_0x477d('0x5c73')+_0x477d('0x481b')+_0x477d('0x42b3')+_0x477d('0x42b4')+_0x477d('0x42b5'));_0x143a79['put']('app/main/apps/motiondialer/views/realtime/ivr_campaigns/view.html',_0x477d('0x42b7')+'\x0a'+_0x477d('0x4100')+_0x477d('0x5c74')+_0x477d('0x3b2c')+_0x477d('0x42b9')+_0x477d('0x3699')+_0x477d('0x422f')+'\x0a'+_0x477d('0x42ba')+_0x477d('0x4230')+_0x477d('0x4231')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x419a')+_0x477d('0x5c75')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27MOTIONDIALER.TOTAL\x27\x20|\x20translate}}\x0a'+_0x477d('0x5c76')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27MOTIONDIALER.LIMITED\x27\x20|\x20translate}}\x0a'+_0x477d('0x5c77')+_0x477d('0x5c78')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27MOTIONDIALER.CALLYSQUAREPROJECT\x27\x20|\x20translate}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.TRUNK\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.ACTIVE\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x41a3')+_0x477d('0x41a4')+_0x477d('0x4256')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x551a')+_0x477d('0x4258')+_0x477d('0x5c79')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x413c')+_0x477d('0x41a3')+_0x477d('0x5c7a')+_0x477d('0x41a7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{campaign.name}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{campaign.ivrTotalCallsDays\x20||\x200}}\x0a'+_0x477d('0x413c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5c7b')+_0x477d('0x413c')+_0x477d('0x41a7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{campaign.limitCalls\x20||\x200}}\x0a'+_0x477d('0x413c')+_0x477d('0x41a7')+_0x477d('0x5c7c')+_0x477d('0x413c')+_0x477d('0x41a7')+_0x477d('0x5c7d')+_0x477d('0x413c')+_0x477d('0x41a7')+_0x477d('0x5c7e')+_0x477d('0x413c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{campaign.Trunk\x20?\x20campaign.Trunk.name\x20:\x20\x27--\x27}}\x0a'+_0x477d('0x413c')+_0x477d('0x41a7')+_0x477d('0x5c7f')+_0x477d('0x413c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a43')+_0x477d('0x5c80')+_0x477d('0x42cb')+_0x477d('0x3947')+_0x477d('0x3a45')+_0x477d('0x4296')+_0x477d('0x5c81')+_0x477d('0x5c82')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x42b0')+_0x477d('0x413c')+_0x477d('0x41a3')+_0x477d('0x41bc')+_0x477d('0x42d1')+'\x0a'+'\x0a'+_0x477d('0x5c83')+_0x477d('0x42d3')+_0x477d('0x41c1'));_0x143a79['put'](_0x477d('0x21a'),_0x477d('0x42b7')+_0x477d('0x421f')+_0x477d('0x5c84')+_0x477d('0x5c85')+_0x477d('0x5c86')+'\x20\x20\x20\x20\x20-->\x0a'+'\x20\x20\x0a'+'\x0a'+'\x0a'+'\x0a'+_0x477d('0x4230')+'\x20\x20\x0a'+_0x477d('0x5c87')+_0x477d('0x5c88')+_0x477d('0x5c89')+_0x477d('0x5c8a')+'\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.QUEUE\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x5c8b')+_0x477d('0x5c8c')+_0x477d('0x5c8d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5c8e')+_0x477d('0x5c8f')+_0x477d('0x5c90')+_0x477d('0x5c91')+_0x477d('0x5c92')+_0x477d('0x5c93')+_0x477d('0x5c94')+_0x477d('0x3fab')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5c8e')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x47fc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5c95')+_0x477d('0x47d9')+_0x477d('0x5c96')+_0x477d('0x5c97')+_0x477d('0x5c98')+_0x477d('0x47fc')+_0x477d('0x5c99')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{channel.connectedlinename}},\x20{{channel.connectedlinenum}}\x0a'+_0x477d('0x5c9a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hhours}}:{{mminutes}}:{{sseconds}}\x0a'+_0x477d('0x47ef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5c9b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.WAITING_FOR_AGENT\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x5c9c')+_0x477d('0x376b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x47fc')+_0x477d('0x5c9d')+_0x477d('0x5c9c')+_0x477d('0x376b')+_0x477d('0x47d9')+_0x477d('0x5c9e')+_0x477d('0x4803')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5c9f')+_0x477d('0x39e1')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4808')+_0x477d('0x5ca0')+_0x477d('0x5ca1')+_0x477d('0x452d')+_0x477d('0x480c')+_0x477d('0x4808')+_0x477d('0x5ca2')+_0x477d('0x5ca3')+_0x477d('0x452d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5ca4')+_0x477d('0x5ca5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5ca6')+_0x477d('0x5ca7')+_0x477d('0x5bf9')+_0x477d('0x3a10')+_0x477d('0x5ca8')+_0x477d('0x480c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4816')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5c8e')+'\x20\x20\x20\x20\x0a'+_0x477d('0x5ca9')+_0x477d('0x41be')+'\x0a'+_0x477d('0x5caa')+_0x477d('0x4e2b')+_0x477d('0x41c1'));_0x143a79[_0x477d('0x390')](_0x477d('0x222'),_0x477d('0x42b7')+_0x477d('0x421f')+_0x477d('0x4100')+_0x477d('0x5cab')+_0x477d('0x3b2c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3699')+_0x477d('0x422f')+'\x0a'+_0x477d('0x42ba')+_0x477d('0x4230')+_0x477d('0x4231')+_0x477d('0x42bb')+_0x477d('0x419a')+_0x477d('0x5cac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MOTIONDIALER.NAME\x27\x20|\x20translate}}\x0a'+_0x477d('0x5cad')+_0x477d('0x5cae')+_0x477d('0x5cad')+_0x477d('0x5caf')+_0x477d('0x5cad')+_0x477d('0x5cb0')+_0x477d('0x5cad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MOTIONDIALER.ABANDONED\x27\x20|\x20translate}}\x0a'+_0x477d('0x5cad')+_0x477d('0x5cb1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27\x0a'+_0x477d('0x5cb2')+_0x477d('0x5cad')+_0x477d('0x5cb3')+_0x477d('0x5cad')+_0x477d('0x5cb4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41a4')+_0x477d('0x4256')+_0x477d('0x42c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4258')+_0x477d('0x5c79')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41a3')+_0x477d('0x5cb5')+_0x477d('0x5cb6')+_0x477d('0x5cb7')+_0x477d('0x3a32')+_0x477d('0x5cb8')+_0x477d('0x5cb9')+_0x477d('0x3a32')+_0x477d('0x5cb8')+_0x477d('0x5cba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5cb8')+_0x477d('0x5cbb')+_0x477d('0x3a32')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5cbc')+_0x477d('0x3a32')+_0x477d('0x5cb8')+_0x477d('0x5cbd')+_0x477d('0x3a32')+_0x477d('0x5cb8')+_0x477d('0x5cbe')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5cb8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{queue.total\x20?\x20(queue.sumDuration\x20/\x20queue.total)\x20:\x200\x20|\x20number:\x200\x20|\x20secToTime\x20|\x20date:\x27HH:mm:ss\x27}}\x0a'+_0x477d('0x3a32')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5cbf')+_0x477d('0x3a32')+_0x477d('0x3b9b')+_0x477d('0x41bc')+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x0a'+_0x477d('0x5cc0')+'\x0a'+_0x477d('0x41c1'));_0x143a79[_0x477d('0x390')]('app/main/apps/motiondialer/views/realtime/queues/predictive/dialog.html',_0x477d('0x5cc1')+_0x477d('0x3d02')+_0x477d('0x3f52')+_0x477d('0x5cc2')+_0x477d('0x3f54')+_0x477d('0x3f55')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x392e')+'\x20\x20\x20\x20\x0a'+_0x477d('0x5cc3')+_0x477d('0x5cc4')+_0x477d('0x5cc5')+_0x477d('0x36e5')+'\x0a'+_0x477d('0x5cc6')+_0x477d('0x3c56')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5cc7')+_0x477d('0x5cc8')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3c56')+_0x477d('0x5cc9')+_0x477d('0x5cca')+_0x477d('0x5ccb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5cc9')+_0x477d('0x5ccc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5ccd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a00')+_0x477d('0x5cce')+_0x477d('0x5ccf')+_0x477d('0x3760')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x5cd0')+_0x477d('0x3c56')+_0x477d('0x5cc9')+_0x477d('0x5cd1')+_0x477d('0x5cc8')+_0x477d('0x3670')+_0x477d('0x36c0')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5cc9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Start\x20Time\x0a'+_0x477d('0x5cd2')+_0x477d('0x3670')+_0x477d('0x5cc9')+_0x477d('0x5ccc')+_0x477d('0x5cd3')+_0x477d('0x5cd4')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5ccf')+_0x477d('0x3760')+_0x477d('0x36c0')+_0x477d('0x5cd5')+_0x477d('0x5cd6')+_0x477d('0x5cd7')+_0x477d('0x5cd8')+_0x477d('0x5cd9')+_0x477d('0x36a9')+_0x477d('0x5cda')+_0x477d('0x5cdb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5cdc')+_0x477d('0x5cdd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Total\x20Calls\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.queueCampaign.predictiveIntervalTotalCalls\x20}}\x0a'+_0x477d('0x4386')+_0x477d('0x5cdd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Total\x20Calls\x0a'+_0x477d('0x5cde')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5cdf')+_0x477d('0x5ce0')+_0x477d('0x5ce1')+_0x477d('0x5ce2')+_0x477d('0x4386')+_0x477d('0x5cdd')+_0x477d('0x5ce3')+_0x477d('0x5ce4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-->\x0a'+_0x477d('0x5cdd')+_0x477d('0x5ce5')+_0x477d('0x5ce6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5cdd')+_0x477d('0x5ce7')+_0x477d('0x5ce8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5ce9')+_0x477d('0x43a9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5cd6')+_0x477d('0x5cd7')+_0x477d('0x5cd8')+_0x477d('0x5cea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x5cda')+_0x477d('0x5cdb')+_0x477d('0x5ceb')+_0x477d('0x5cdc')+_0x477d('0x5cdd')+_0x477d('0x5cec')+_0x477d('0x5ced')+_0x477d('0x4386')+_0x477d('0x5cdd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20One\x20call\x20every\x0a'+_0x477d('0x5cee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Drop\x20Rate\x0a'+_0x477d('0x5cef')+_0x477d('0x4386')+_0x477d('0x5cdd')+_0x477d('0x5cf0')+_0x477d('0x5cf1')+_0x477d('0x4386')+_0x477d('0x5ce9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x43aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3d0f')+_0x477d('0x366b'));_0x143a79[_0x477d('0x390')]('app/main/apps/motiondialer/views/realtime/queues/view.html','\x0a'+_0x477d('0x421f')+_0x477d('0x4100')+_0x477d('0x5cf2')+_0x477d('0x3b2c')+_0x477d('0x42b9')+_0x477d('0x3699')+_0x477d('0x422f')+'\x0a'+_0x477d('0x42ba')+_0x477d('0x4230')+_0x477d('0x4231')+_0x477d('0x42bb')+_0x477d('0x419a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.NAME\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x5cf3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.PAUSED\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x5cf4')+_0x477d('0x5cf5')+_0x477d('0x5cf6')+_0x477d('0x5cf7')+_0x477d('0x5cf8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MOTIONDIALER.METHOD\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x5cf9')+_0x477d('0x5cfa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41a3')+_0x477d('0x41a4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x420b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5c79')+_0x477d('0x36bf')+_0x477d('0x413c')+_0x477d('0x41a3')+_0x477d('0x42c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.queues[value].name}}\x0a'+_0x477d('0x41a7')+_0x477d('0x42c6')+_0x477d('0x413c')+_0x477d('0x41a7')+_0x477d('0x42c7')+_0x477d('0x413c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.queues[value].available\x20||\x200}}\x0a'+_0x477d('0x413c')+_0x477d('0x41a7')+_0x477d('0x42c9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5cfb')+_0x477d('0x5cfc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5cfd')+_0x477d('0x5cfe')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5cff')+_0x477d('0x413c')+_0x477d('0x41a7')+_0x477d('0x5d00')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41a7')+_0x477d('0x5d01')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41a7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x413c')+_0x477d('0x5d02')+_0x477d('0x3a43')+_0x477d('0x5c80')+_0x477d('0x42cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4296')+_0x477d('0x5d03')+_0x477d('0x42cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4b')+_0x477d('0x5d04')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20Predictive\x20Info\x0a'+_0x477d('0x3a52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x42ce')+_0x477d('0x5d05')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Add\x20Agents\x20to\x20queue\x0a'+_0x477d('0x3a52')+_0x477d('0x3a4b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x42b0')+_0x477d('0x413c')+_0x477d('0x41a3')+_0x477d('0x41bc')+_0x477d('0x42d1')+_0x477d('0x41be')+'\x0a'+'\x0a'+'\x0a'+'\x0a');_0x143a79['put'](_0x477d('0x210'),_0x477d('0x42d4')+_0x477d('0x3a18')+_0x477d('0x3b6b')+_0x477d('0x3b6c')+_0x477d('0x42d5')+_0x477d('0x42d6')+_0x477d('0x5d06')+_0x477d('0x42d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x42d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Queues\x0a'+_0x477d('0x42d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x42d9')+_0x477d('0x42d6')+_0x477d('0x5d07')+_0x477d('0x42d8')+_0x477d('0x384c')+_0x477d('0x42d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5d08')+_0x477d('0x42d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x42d9')+_0x477d('0x42d6')+_0x477d('0x5d09')+_0x477d('0x42d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x42d9')+_0x477d('0x42d6')+_0x477d('0x5d0a')+_0x477d('0x42d8')+_0x477d('0x384c')+_0x477d('0x42db')+'\x0a'+_0x477d('0x42dc')+'\x0a'+_0x477d('0x3699')+_0x477d('0x3a5a')+_0x477d('0x377d'));_0x143a79['put'](_0x477d('0x1f62'),_0x477d('0x5d0b')+_0x477d('0x5d0c')+_0x477d('0x381e')+_0x477d('0x365d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x477d('0x3843')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x38ad')+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+_0x477d('0x39c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5d0d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x5d18')+_0x477d('0x36bf')+_0x477d('0x3e66')+_0x477d('0x5d19')+_0x477d('0x36bf')+_0x477d('0x39d9')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x5d1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e6e')+_0x477d('0x3e6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5d1b')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5d1c')+_0x477d('0x5d1d')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5d1e')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ab5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3663')+'\x0a'+_0x477d('0x39dc')+_0x477d('0x387b')+_0x477d('0x5d1f')+_0x477d('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22openchannelAccountForm.$invalid\x20||\x20openchannelAccountForm.$pristine\x22\x0a'+_0x477d('0x5d20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x477d('0x39e1')+'\x0a'+_0x477d('0x5d21')+_0x477d('0x3c8b')+_0x477d('0x5d22')+_0x477d('0x5d23')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20OPENCHANNELACCOUNT\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x39e5')+_0x477d('0x5d24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22OPENCHANNEL.DELETE\x22>\x0a'+_0x477d('0x3a16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x39e9')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x1f59'),_0x477d('0x5d25')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3d23')+_0x477d('0x3dfa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Add\x20Agent\x20to\x20openchannelAccount\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3661')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3663')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3dfd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b6a')+_0x477d('0x372b')+_0x477d('0x3669')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x5d26'),_0x477d('0x5d0b')+_0x477d('0x5d27')+_0x477d('0x381e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c6')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent\x0a'+_0x477d('0x4d52')+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x3de0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3e73')+_0x477d('0x5d2a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a'+_0x477d('0x3deb')+_0x477d('0x3e23')+_0x477d('0x5d2d')+_0x477d('0x3deb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5d2e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x477d('0x5d2f')+_0x477d('0x5d20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x477d('0x39e1')+_0x477d('0x36c0')+_0x477d('0x3669')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x5d30'),_0x477d('0x5d0b')+_0x477d('0x5d27')+_0x477d('0x381e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3660')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39c7')+_0x477d('0x5d31')+_0x477d('0x3e92')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5d32')+_0x477d('0x39d2')+_0x477d('0x5d33')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20secretaccesskey\x0a'+_0x477d('0x3e94')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5d34')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5d35')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20lexregion\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x5d37')+_0x477d('0x36bf')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e73')+_0x477d('0x5d38')+_0x477d('0x5d39')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x5d3a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5d3b')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20welcomemessage\x0a'+_0x477d('0x3ea2')+_0x477d('0x5d3c')+_0x477d('0x3ea4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39d2')+_0x477d('0x5d3d')+_0x477d('0x36bf')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3ea6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20welcomemessage\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255\x0a'+_0x477d('0x36bf')+_0x477d('0x39ca')+_0x477d('0x3670')+_0x477d('0x3867')+_0x477d('0x3eb4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3663')+'\x0a'+_0x477d('0x3b1a')+_0x477d('0x3b1b')+_0x477d('0x5d2e')+_0x477d('0x39de')+_0x477d('0x5d2f')+_0x477d('0x5d20')+_0x477d('0x39e0')+_0x477d('0x39e1')+_0x477d('0x36c0')+_0x477d('0x3669')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x5d3e'),_0x477d('0x5d0b')+_0x477d('0x5d27')+_0x477d('0x381e')+_0x477d('0x365d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5d3f')+_0x477d('0x3eab')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x3eac')+_0x477d('0x3a46')+_0x477d('0x3ead')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x3670')+_0x477d('0x3867')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+_0x477d('0x3b1a')+_0x477d('0x3b1b')+_0x477d('0x5d2e')+_0x477d('0x39de')+_0x477d('0x5d2f')+_0x477d('0x5d20')+_0x477d('0x39e0')+_0x477d('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a');_0x143a79[_0x477d('0x390')](_0x477d('0x5d45'),'\x0a'+_0x477d('0x5d27')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39c7')+_0x477d('0x5d46')+_0x477d('0x3eb7')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5d47')+_0x477d('0x39d2')+_0x477d('0x5d48')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x3ab5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+_0x477d('0x3b1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x3669')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x5d49'),'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x381e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5d4a')+_0x477d('0x5d4b')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x5d4c')+_0x477d('0x39d2')+_0x477d('0x5d4d')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20language\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Danish\x0a'+_0x477d('0x3ebe')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>English\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20German\x0a'+_0x477d('0x5d4f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ec1')+_0x477d('0x3ec2')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Spanish\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Indonesian\x0a'+_0x477d('0x5d50')+_0x477d('0x3a46')+_0x477d('0x3ec7')+_0x477d('0x3ec8')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Korean\x20(South\x20Korea)\x0a'+_0x477d('0x3eca')+_0x477d('0x3a46')+_0x477d('0x3ecb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Portuguese\x20(European)\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Thai\x0a'+_0x477d('0x3ed5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ed6')+_0x477d('0x3ed7')+_0x477d('0x3a46')+_0x477d('0x3ed8')+_0x477d('0x3ed9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3eda')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Chinese\x20(Traditional)\x0a'+_0x477d('0x3aac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20language\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5d52')+_0x477d('0x3edf')+_0x477d('0x5d3c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5d53')+_0x477d('0x39ca')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20welcomemessage\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3ea6')+_0x477d('0x5d54')+_0x477d('0x36bf')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3eb4')+_0x477d('0x39c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+_0x477d('0x3b1a')+_0x477d('0x3b1b')+_0x477d('0x5d2e')+_0x477d('0x39de')+_0x477d('0x5d2f')+_0x477d('0x5d20')+_0x477d('0x39e0')+_0x477d('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x3669')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x5d55'),'\x0a'+_0x477d('0x5d27')+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+_0x477d('0x39c7')+_0x477d('0x5d56')+_0x477d('0x4d5d')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x5d57')+_0x477d('0x39d2')+_0x477d('0x5d58')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x5d59')+_0x477d('0x3ee4')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x221\x22\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x5d5a')+_0x477d('0x36bf')+_0x477d('0x3de9')+_0x477d('0x5d5b')+_0x477d('0x3deb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20falsepriority\x0a'+_0x477d('0x4d63')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3ee5')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x5d5c')+_0x477d('0x39d2')+_0x477d('0x5d5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3de9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20falsepriority\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a'+_0x477d('0x3deb')+_0x477d('0x3ee8')+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+_0x477d('0x3b1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3669')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x5d5e'),_0x477d('0x5d0b')+_0x477d('0x5d27')+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3844')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c4')+_0x477d('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5d5f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Priority\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3de9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Priority\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b1b')+_0x477d('0x5d2e')+_0x477d('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22openchannelAccountFormApp.$invalid\x20||\x20openchannelAccountFormApp.$pristine\x22\x0a'+_0x477d('0x5d20')+_0x477d('0x39e0')+_0x477d('0x39e1')+_0x477d('0x36c0')+_0x477d('0x3669')+_0x477d('0x366a')+'\x0a');_0x143a79[_0x477d('0x390')](_0x477d('0x1f10'),_0x477d('0x3ef3')+_0x477d('0x3ef4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3aeb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3af0')+_0x477d('0x3674')+_0x477d('0x3670')+_0x477d('0x36c0')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x383b')+_0x477d('0x3ef5')+_0x477d('0x3ef6')+_0x477d('0x3ef7')+_0x477d('0x36a0')+_0x477d('0x36a1')+'\x0a'+_0x477d('0x4d6c')+_0x477d('0x3ef8')+_0x477d('0x3ef9')+_0x477d('0x3efa')+_0x477d('0x36a0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3efb')+_0x477d('0x3efc')+_0x477d('0x3efd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4d6d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3eff')+_0x477d('0x3f00')+_0x477d('0x3f01')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3c68')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f03')+_0x477d('0x4d6e')+_0x477d('0x3f04')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Time\x20Range\x20To\x20field\x20is\x20invalid\x0a'+_0x477d('0x36a9')+_0x477d('0x399e')+_0x477d('0x3f06')+_0x477d('0x36a9')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Week\x20Days\x0a'+_0x477d('0x3efd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20From\x0a'+_0x477d('0x3f0d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Always\x0a'+_0x477d('0x3f0f')+_0x477d('0x3b15')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f11')+_0x477d('0x3f12')+_0x477d('0x3f0f')+_0x477d('0x3b15')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36bf')+_0x477d('0x39a2')+_0x477d('0x36c0')+_0x477d('0x3f14')+'\x0a'+_0x477d('0x4d6f')+_0x477d('0x4d70')+_0x477d('0x3efd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20From\x0a'+_0x477d('0x55c0')+_0x477d('0x3f0e')+_0x477d('0x3f16')+_0x477d('0x3b15')+_0x477d('0x39a2')+'\x0a'+_0x477d('0x3f17')+_0x477d('0x3f11')+_0x477d('0x3f18')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20month\x20}}\x0a'+_0x477d('0x3b15')+_0x477d('0x3f19')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4d71')+'\x0a'+_0x477d('0x4d72')+_0x477d('0x3f1a')+_0x477d('0x3efd')+_0x477d('0x3f15')+_0x477d('0x3f0c')+_0x477d('0x3f1b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Always\x0a'+_0x477d('0x3f1c')+_0x477d('0x3b15')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4d73')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20To\x0a'+_0x477d('0x3f1d')+_0x477d('0x3f1c')+_0x477d('0x3b15')+_0x477d('0x3f1e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39a2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f1f')+'\x0a'+_0x477d('0x3aea')+_0x477d('0x3aeb')+_0x477d('0x3aec')+_0x477d('0x3aed')+_0x477d('0x3aee')+_0x477d('0x36bf')+_0x477d('0x3aef')+_0x477d('0x3af0')+_0x477d('0x3674')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3663')+'\x0a'+_0x477d('0x3b1a')+_0x477d('0x387b')+_0x477d('0x3f20')+_0x477d('0x387d')+_0x477d('0x387e')+'\x0a'+_0x477d('0x3f21')+_0x477d('0x3f22')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3669')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x5d60'),_0x477d('0x5d0b')+_0x477d('0x5d27')+_0x477d('0x381e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39c7')+_0x477d('0x5d61')+_0x477d('0x3f24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x5d62')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5d63')+_0x477d('0x36bf')+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ab5')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3b1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5d2e')+_0x477d('0x39de')+_0x477d('0x5d2f')+_0x477d('0x5d20')+_0x477d('0x39e0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x3669')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')]('app/main/apps/openchannel/views/openchannelAccounts/edit/apps/queue/dialog.html','\x0a'+_0x477d('0x5d27')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x365d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x477d('0x3843')+_0x477d('0x3844')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Queue\x0a'+_0x477d('0x3f28')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ce')+_0x477d('0x39ca')+_0x477d('0x3a5e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5d64')+_0x477d('0x39d2')+_0x477d('0x5d65')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3e73')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Timeout\x0a'+_0x477d('0x4d7b')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3eee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20max=\x222147483\x22\x20\x20\x0a'+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x5d2b')+_0x477d('0x39d2')+_0x477d('0x5d2c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a'+_0x477d('0x3deb')+_0x477d('0x3e23')+_0x477d('0x5d2d')+_0x477d('0x3deb')+_0x477d('0x3e24')+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+_0x477d('0x3b1a')+_0x477d('0x3b1b')+_0x477d('0x5d2e')+_0x477d('0x39de')+_0x477d('0x5d2f')+_0x477d('0x5d20')+_0x477d('0x39e0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x3669')+_0x477d('0x366a')+'\x0a');_0x143a79[_0x477d('0x390')]('app/main/apps/openchannel/views/openchannelAccounts/edit/apps/system/dialog.html',_0x477d('0x5d0b')+_0x477d('0x5d27')+_0x477d('0x381e')+_0x477d('0x365d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c7')+_0x477d('0x5d66')+_0x477d('0x4d80')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5d67')+_0x477d('0x39d2')+_0x477d('0x5d68')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x5d69')+_0x477d('0x3f30')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x3f31')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5d6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x3eb4')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+_0x477d('0x3b1a')+_0x477d('0x3b1b')+_0x477d('0x5d2e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22openchannelAccountFormApp.$invalid\x20||\x20openchannelAccountFormApp.$pristine\x22\x0a'+_0x477d('0x5d20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x477d('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3669')+'\x20\x20\x20\x20\x0a'+'\x0a');_0x143a79[_0x477d('0x390')](_0x477d('0x5d6c'),_0x477d('0x5d0b')+'\x20\x20\x20\x20\x0a'+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c6')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x5d6d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4d87')+_0x477d('0x4d88')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5d6e')+_0x477d('0x39d2')+_0x477d('0x5d6f')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x3eb4')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+_0x477d('0x39c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b1b')+_0x477d('0x5d2e')+_0x477d('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22openchannelAccountFormApp.$invalid\x20||\x20openchannelAccountFormApp.$pristine\x22\x0a'+_0x477d('0x5d20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x477d('0x39e1')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x366a')+'\x0a');_0x143a79[_0x477d('0x390')](_0x477d('0x1f33'),_0x477d('0x5d70')+_0x477d('0x5d71')+_0x477d('0x381e')+_0x477d('0x365d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Key\x0a'+_0x477d('0x5d72')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-maxlength=\x22255\x22\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x5d73')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Key\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x5d61')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ea4')+_0x477d('0x5d74')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5d63')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3670')+_0x477d('0x3867')+_0x477d('0x3e73')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x0a'+_0x477d('0x5d75')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ab5')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+_0x477d('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5d76')+_0x477d('0x39de')+_0x477d('0x5d77')+_0x477d('0x5d20')+_0x477d('0x39e0')+_0x477d('0x39e1')+'\x0a'+_0x477d('0x5d78')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x477d('0x5d79')+_0x477d('0x5d7a')+_0x477d('0x5d7b')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x39e5')+_0x477d('0x5d7c')+_0x477d('0x5d7d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5d7e')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x39e9')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x5d7f'),_0x477d('0x5d80')+_0x477d('0x5d81')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39c7')+_0x477d('0x5d0d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d6')+_0x477d('0x5d82')+_0x477d('0x39d2')+_0x477d('0x5d10')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+_0x477d('0x39dc')+_0x477d('0x387b')+_0x477d('0x5d83')+_0x477d('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22openchannelDispositionForm.$invalid\x20||\x20openchannelDispositionForm.$pristine\x22\x0a'+_0x477d('0x5d20')+_0x477d('0x39e0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x5d84')+_0x477d('0x3c8b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22openchannelDispositionForm.$invalid\x22\x0a'+_0x477d('0x5d85')+_0x477d('0x5d86')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5d87')+_0x477d('0x5d7d')+_0x477d('0x3a16')+_0x477d('0x5d7e')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x39e9')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x234'),_0x477d('0x5d88')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3b62')+_0x477d('0x3b63')+_0x477d('0x5d89')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.gotoOpenchannelAccounts()\x22\x0a'+_0x477d('0x5d8a')+_0x477d('0x3e04')+_0x477d('0x372b')+'\x0a'+_0x477d('0x387b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5d8b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x38e8')+_0x477d('0x3b65')+_0x477d('0x5d8c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.openchannelAccount.name}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b68')+_0x477d('0x5d8d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ab5')+_0x477d('0x3e09')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5d8f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x477d('0x3d05')+_0x477d('0x36e5')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x39f8')+'\x0a'+_0x477d('0x3a18')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3b6c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f7a')+_0x477d('0x5d90')+_0x477d('0x3f7b')+_0x477d('0x3e14')+_0x477d('0x5d91')+_0x477d('0x3f7d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GENERAL\x0a'+_0x477d('0x385c')+_0x477d('0x3e17')+_0x477d('0x3e18')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x0a'+_0x477d('0x5d92')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4ea1')+_0x477d('0x3dda')+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1a')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x5d11')+_0x477d('0x5d12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-maxlength=\x225\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x4da2')+_0x477d('0x39d2')+_0x477d('0x5d14')+_0x477d('0x36bf')+_0x477d('0x3e61')+_0x477d('0x5d15')+_0x477d('0x36bf')+_0x477d('0x39d9')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5d16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20replyUri\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20replyUri\x20must\x20be\x20a\x20valid\x20url\x20http://www.xcally.com\x0a'+_0x477d('0x36bf')+_0x477d('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5d1a')+_0x477d('0x5d94')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x3de0')+_0x477d('0x3e6e')+_0x477d('0x3e6f')+_0x477d('0x3aac')+_0x477d('0x5d95')+_0x477d('0x3f82')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3e73')+_0x477d('0x5d96')+_0x477d('0x5d97')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x221\x22\x20\x20\x20\x0a'+_0x477d('0x3de6')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x3f88')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5d98')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5d99')+_0x477d('0x3deb')+_0x477d('0x3e23')+_0x477d('0x5d9a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x5d9b')+_0x477d('0x5d9c')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x3de0')+_0x477d('0x3f31')+_0x477d('0x5d9d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20mapKey.displayName\x20}}\x0a'+_0x477d('0x5d9e')+_0x477d('0x5d9f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20mapKey.displayName\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x447d')+_0x477d('0x5da0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5da1')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3e73')+_0x477d('0x5d1c')+_0x477d('0x5d1d')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x3e25')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5da2')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x5da3')+_0x477d('0x5da4')+_0x477d('0x5da5')+_0x477d('0x5da6')+_0x477d('0x5da7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x54d5')+_0x477d('0x5da8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3eb4')+_0x477d('0x3e26')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f7d')+_0x477d('0x5da9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f8e')+_0x477d('0x3e18')+_0x477d('0x5daa')+_0x477d('0x3eb4')+_0x477d('0x3867')+_0x477d('0x3e73')+_0x477d('0x5dab')+_0x477d('0x3eb4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5dac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x3eb4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e27')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f7d')+_0x477d('0x5dad')+_0x477d('0x385c')+_0x477d('0x3f94')+_0x477d('0x3e18')+_0x477d('0x5dae')+_0x477d('0x3eb4')+_0x477d('0x3867')+_0x477d('0x5daf')+_0x477d('0x5db0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d6')+_0x477d('0x560a')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20queueTransferTimeout\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3de9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20queueTransferTimeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e23')+_0x477d('0x5db1')+_0x477d('0x3deb')+_0x477d('0x3e24')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x5db2')+_0x477d('0x3eb4')+_0x477d('0x3867')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20agentTransferTimeout\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20agentTransferTimeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x202147483\x0a'+_0x477d('0x3deb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ab5')+_0x477d('0x3e26')+_0x477d('0x3e27')+_0x477d('0x3e28')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f7a')+_0x477d('0x5db5')+_0x477d('0x3f7b')+_0x477d('0x3e14')+_0x477d('0x5db6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5db7')+_0x477d('0x385c')+_0x477d('0x5db8')+_0x477d('0x3e18')+_0x477d('0x5db9')+_0x477d('0x5dba')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ce')+_0x477d('0x3e19')+_0x477d('0x4ea1')+_0x477d('0x3dda')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5dbb')+_0x477d('0x5dbc')+_0x477d('0x39d2')+_0x477d('0x5dbd')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x3e26')+_0x477d('0x3e27')+_0x477d('0x5dbe')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DISPOSITION\x0a'+_0x477d('0x385c')+_0x477d('0x3fba')+_0x477d('0x3e18')+_0x477d('0x5dbf')+_0x477d('0x3eb4')+_0x477d('0x3867')+_0x477d('0x5dc0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MandatoryDispositionPauseId\x0a'+_0x477d('0x5dc1')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3a5e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+_0x477d('0x3de0')+_0x477d('0x4dfc')+_0x477d('0x3fbd')+_0x477d('0x3aac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x5dc2')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x3eb4')+_0x477d('0x3e26')+_0x477d('0x3e27')+_0x477d('0x3e28')+_0x477d('0x3e29')+_0x477d('0x3e12')+_0x477d('0x3f7a')+_0x477d('0x5dc3')+_0x477d('0x3f7b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5dc4')+_0x477d('0x5dc5')+_0x477d('0x4100')+_0x477d('0x5dc6')+_0x477d('0x4102')+_0x477d('0x4103')+_0x477d('0x5dc7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20openchannelDisposition\x22\x20translate\x20translate-attr-label=\x22OPENCHANNEL.ADD_OPENCHANNELDISPOSITION\x22>\x0a'+_0x477d('0x4105')+_0x477d('0x40e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4106')+_0x477d('0x5dc8')+_0x477d('0x4108')+_0x477d('0x5dc9')+_0x477d('0x3b2c')+_0x477d('0x5dca')+_0x477d('0x410b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x0a'+_0x477d('0x5dcc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4113')+_0x477d('0x4114')+_0x477d('0x5dcd')+_0x477d('0x4115')+_0x477d('0x4116')+_0x477d('0x5dce')+_0x477d('0x4115')+_0x477d('0x411d')+_0x477d('0x5dcf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x414c')+_0x477d('0x411e')+_0x477d('0x411f')+_0x477d('0x4120')+_0x477d('0x5dd0')+'>\x0a'+_0x477d('0x5dd1')+_0x477d('0x5dd2')+_0x477d('0x4123')+_0x477d('0x5dd3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{openchannelDisposition.name}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5dd4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4153')+_0x477d('0x412f')+_0x477d('0x5dd5')+_0x477d('0x4130')+_0x477d('0x4155')+'\x20\x0a'+_0x477d('0x4156')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5dd6')+_0x477d('0x5dd7')+_0x477d('0x4133')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4134')+_0x477d('0x5dd8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20OpenchannelDisposition\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x415b')+_0x477d('0x415c')+_0x477d('0x4137')+_0x477d('0x4138')+_0x477d('0x411e')+_0x477d('0x5dd9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20openchanneldisposition\x20available\x0a'+_0x477d('0x413b')+_0x477d('0x413c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x413d')+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x0a'+_0x477d('0x5dda')+_0x477d('0x3fa6')+'\x0a'+_0x477d('0x3e27')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e29')+_0x477d('0x3e12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CANNEDANSWERS\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e14')+_0x477d('0x5ddb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5ddc')+_0x477d('0x4100')+_0x477d('0x5ddd')+_0x477d('0x4102')+_0x477d('0x4103')+_0x477d('0x5dde')+_0x477d('0x5ddf')+_0x477d('0x4105')+_0x477d('0x40e1')+_0x477d('0x3670')+_0x477d('0x4106')+_0x477d('0x5de0')+_0x477d('0x4108')+_0x477d('0x5de1')+_0x477d('0x3b2c')+_0x477d('0x5de2')+_0x477d('0x410b')+_0x477d('0x410c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3d05')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4106')+'\x20\x20\x0a'+_0x477d('0x5de3')+_0x477d('0x5de4')+_0x477d('0x4113')+_0x477d('0x4114')+_0x477d('0x5dcd')+_0x477d('0x4115')+_0x477d('0x416b')+_0x477d('0x5de5')+_0x477d('0x4115')+_0x477d('0x416d')+_0x477d('0x5de6')+_0x477d('0x4115')+_0x477d('0x416f')+_0x477d('0x5de7')+_0x477d('0x4115')+_0x477d('0x411d')+_0x477d('0x5dcf')+_0x477d('0x4115')+_0x477d('0x414c')+_0x477d('0x411e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5de8')+'>\x0a'+_0x477d('0x5de9')+_0x477d('0x5dea')+_0x477d('0x4123')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5deb')+_0x477d('0x4123')+_0x477d('0x5dec')+_0x477d('0x5ded')+_0x477d('0x4123')+_0x477d('0x5dec')+_0x477d('0x5dee')+_0x477d('0x4123')+_0x477d('0x5def')+_0x477d('0x5df0')+_0x477d('0x412e')+_0x477d('0x4153')+_0x477d('0x412f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4130')+_0x477d('0x4155')+'\x20\x0a'+_0x477d('0x4156')+_0x477d('0x4157')+_0x477d('0x5df1')+_0x477d('0x5df2')+_0x477d('0x4133')+_0x477d('0x4159')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5df3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x411e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x417e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20openchannelcannedanswer\x20available\x0a'+_0x477d('0x413b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x411e')+_0x477d('0x413d')+_0x477d('0x413e')+_0x477d('0x413f')+_0x477d('0x5df4')+_0x477d('0x3fa6')+'\x0a'+_0x477d('0x3e27')+_0x477d('0x3e28')+_0x477d('0x3e29')+_0x477d('0x3e12')+_0x477d('0x3f7a')+_0x477d('0x5df5')+_0x477d('0x3f7b')+_0x477d('0x3e14')+_0x477d('0x5df6')+_0x477d('0x5df7')+'\x20\x20\x0a'+_0x477d('0x4187')+_0x477d('0x4188')+_0x477d('0x4189')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x418b')+_0x477d('0x418c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x418d')+_0x477d('0x418e')+_0x477d('0x37a7')+_0x477d('0x418f')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4e19')+_0x477d('0x5df8')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x418e')+_0x477d('0x4193')+'\x20\x20\x0a'+'\x20\x20\x0a'+_0x477d('0x4e1c')+_0x477d('0x5687')+'\x20\x20\x0a'+_0x477d('0x5df9')+_0x477d('0x4108')+_0x477d('0x5689')+_0x477d('0x3b2c')+_0x477d('0x4194')+_0x477d('0x380f')+_0x477d('0x392e')+_0x477d('0x5dfa')+_0x477d('0x4108')+_0x477d('0x5dfb')+_0x477d('0x3b2c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x380f')+_0x477d('0x392e')+'\x0a'+_0x477d('0x568d')+'\x20\x20\x20\x20\x0a'+_0x477d('0x5dfc')+_0x477d('0x4f0f')+_0x477d('0x419a')+_0x477d('0x419b')+_0x477d('0x419c')+_0x477d('0x419d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x419f')+_0x477d('0x4e23')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41a0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Appdata\x0a'+_0x477d('0x419e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41a2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x419b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41a3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41a5')+_0x477d('0x5dfd')+_0x477d('0x41a7')+_0x477d('0x41a8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5dfe')+_0x477d('0x5dff')+_0x477d('0x5e00')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{app.IntervalId\x20?\x20\x27From\x20List\x27\x20:\x20app.interval}}\x0a'+_0x477d('0x41a7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41ae')+_0x477d('0x41af')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{app.IntervalId\x20?\x20\x27From\x20List\x27\x20:\x20(app.interval\x20===\x20\x27*,*,*,*\x27\x20?\x20\x27Always\x27\x20:\x20\x27Custom\x27)}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41b1')+_0x477d('0x3a43')+_0x477d('0x4e27')+_0x477d('0x3a44')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a45')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5e01')+_0x477d('0x4e29')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4b')+_0x477d('0x41b3')+_0x477d('0x41b4')+_0x477d('0x41b5')+_0x477d('0x3a52')+_0x477d('0x3a4b')+_0x477d('0x41b6')+_0x477d('0x41b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20App\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4b')+_0x477d('0x41b9')+_0x477d('0x42b0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5e02')+_0x477d('0x5e03')+_0x477d('0x41bb')+_0x477d('0x413c')+_0x477d('0x41a3')+_0x477d('0x41bc')+_0x477d('0x41bd')+_0x477d('0x41be')+'\x0a'+'\x0a'+'\x0a'+'\x0a'+_0x477d('0x41c0')+'\x0a'+_0x477d('0x41c1')+_0x477d('0x377d')+'\x0a'+_0x477d('0x3e27')+_0x477d('0x3e28')+_0x477d('0x3e29')+_0x477d('0x3e12')+_0x477d('0x3f7a')+_0x477d('0x5e04')+_0x477d('0x3f7b')+_0x477d('0x3e14')+_0x477d('0x5e05')+_0x477d('0x5e06')+_0x477d('0x5e07')+_0x477d('0x4100')+_0x477d('0x5e08')+_0x477d('0x4102')+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41c7')+_0x477d('0x41c8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x20\x27md-fab\x20md-mini\x20md-accent-bg\x27:\x20vm_dc.query.search\x20}\x22\x20aria-label=\x22Filter\x22\x20translate\x0a'+_0x477d('0x41ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x40da')+_0x477d('0x4106')+_0x477d('0x5e0b')+_0x477d('0x4108')+_0x477d('0x5e0c')+_0x477d('0x3b2c')+_0x477d('0x5e0d')+_0x477d('0x410b')+_0x477d('0x410c')+_0x477d('0x5e0e')+_0x477d('0x5dcb')+_0x477d('0x410f')+_0x477d('0x3d05')+_0x477d('0x40da')+'\x20\x20\x0a'+_0x477d('0x4110')+_0x477d('0x5e0f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4113')+_0x477d('0x4114')+_0x477d('0x5dcd')+_0x477d('0x4115')+_0x477d('0x41d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41d2')+_0x477d('0x41d3')+_0x477d('0x4214')+_0x477d('0x5e10')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x411d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27OPENCHANNEL.STARTEDAT\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41d5')+_0x477d('0x5e11')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5e12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4214')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27OPENCHANNEL.AGENT\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27OPENCHANNEL.TAGS\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x4115')+_0x477d('0x414c')+_0x477d('0x411e')+_0x477d('0x411f')+_0x477d('0x4120')+_0x477d('0x5e13')+'ng-class=\x22{\x27text-bold\x20text-italic\x27:\x20interaction.unreadMessages\x20>\x200}\x22>\x0a'+_0x477d('0x41da')+_0x477d('0x41db')+_0x477d('0x4123')+_0x477d('0x41dc')+_0x477d('0x4e3e')+_0x477d('0x56a3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41dd')+_0x477d('0x41de')+_0x477d('0x41f4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41e0')+_0x477d('0x3939')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41e1')+_0x477d('0x41e2')+_0x477d('0x40da')+_0x477d('0x3939')+_0x477d('0x41e3')+_0x477d('0x41e4')+_0x477d('0x41e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3939')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4baa')+_0x477d('0x41e7')+'\x20\x20\x20\x20\x20\x20\x20\x20layout-margin>{{\x20interaction.contactName\x20}}\x0a'+_0x477d('0x41e9')+_0x477d('0x41ea')+_0x477d('0x377d')+_0x477d('0x4123')+_0x477d('0x41eb')+_0x477d('0x4e40')+_0x477d('0x412e')+_0x477d('0x4e41')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4e42')+_0x477d('0x41ed')+_0x477d('0x427b')+_0x477d('0x41ee')+_0x477d('0x41ef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41f0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5e14')+_0x477d('0x41f2')+_0x477d('0x41f3')+_0x477d('0x41f4')+_0x477d('0x4e45')+_0x477d('0x41f5')+_0x477d('0x5e15')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41f8')+_0x477d('0x41f4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4e47')+_0x477d('0x4e48')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4e49')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41fa')+_0x477d('0x41fb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41fd')+_0x477d('0x41fe')+_0x477d('0x41ff')+_0x477d('0x36a9')+_0x477d('0x412e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x412f')+_0x477d('0x5dd5')+_0x477d('0x4130')+_0x477d('0x4155')+'\x20\x0a'+_0x477d('0x4156')+_0x477d('0x4200')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4202')+_0x477d('0x3a52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4203')+_0x477d('0x5e16')+_0x477d('0x4205')+_0x477d('0x4206')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5e17')+_0x477d('0x4208')+_0x477d('0x4206')+_0x477d('0x415b')+_0x477d('0x4e4d')+_0x477d('0x5e18')+_0x477d('0x420a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x415b')+_0x477d('0x415c')+_0x477d('0x4137')+_0x477d('0x4138')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5e19')+_0x477d('0x420b')+_0x477d('0x417f')+_0x477d('0x5e1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x413c')+_0x477d('0x411e')+_0x477d('0x413d')+_0x477d('0x413e')+'\x20\x20\x0a'+_0x477d('0x5e1b')+_0x477d('0x3fa6')+'\x0a'+_0x477d('0x3e27')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e29')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3699')+_0x477d('0x3a5a')+'\x0a'+_0x477d('0x377d'));_0x143a79[_0x477d('0x390')](_0x477d('0x230'),_0x477d('0x5e1c')+'\x0a'+_0x477d('0x39eb')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3abc')+_0x477d('0x37cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5e1d')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39ef')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39f1')+_0x477d('0x39f2')+_0x477d('0x39f3')+_0x477d('0x39f4')+_0x477d('0x39f5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5e1e')+_0x477d('0x39a2')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36bf')+_0x477d('0x3699')+_0x477d('0x39f8')+'\x0a'+_0x477d('0x39f9')+'\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a'+_0x477d('0x39fa')+'\x0a'+_0x477d('0x5e1f')+_0x477d('0x39fc')+_0x477d('0x39fd')+_0x477d('0x5e20')+_0x477d('0x372b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39ff')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5e21')+_0x477d('0x5e22')+_0x477d('0x3760')+'\x0a'+_0x477d('0x3daf')+_0x477d('0x3a04')+_0x477d('0x3a05')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22multi\x20select\x20toggle\x22\x0a'+_0x477d('0x5e23')+_0x477d('0x3a08')+_0x477d('0x3674')+_0x477d('0x3a09')+_0x477d('0x3a0a')+_0x477d('0x5e24')+_0x477d('0x3a0c')+_0x477d('0x3832')+_0x477d('0x3a0f')+_0x477d('0x3a0a')+_0x477d('0x5e25')+_0x477d('0x3a0e')+_0x477d('0x3832')+_0x477d('0x3a0f')+_0x477d('0x3a10')+_0x477d('0x3a11')+_0x477d('0x36c0')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a14')+_0x477d('0x5e26')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22OPENCHANNEL.DELETE_SELECTED\x22>\x0a'+_0x477d('0x3a16')+_0x477d('0x387e')+_0x477d('0x382a')+_0x477d('0x36e5')+_0x477d('0x3699')+_0x477d('0x3a17')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3a19')+'\x0a'+_0x477d('0x3a1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a1d')+_0x477d('0x3a1e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5e27')+_0x477d('0x3a21')+_0x477d('0x3a22')+_0x477d('0x5e28')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27OPENCHANNEL.NAME\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x5e29')+_0x477d('0x5e2a')+_0x477d('0x5e2b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27OPENCHANNEL.DESCRIPTION\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a2c')+_0x477d('0x3a2d')+_0x477d('0x3a2e')+_0x477d('0x5e2c')+_0x477d('0x3e3e')+_0x477d('0x3a30')+_0x477d('0x5e2d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x3a32')+_0x477d('0x3a2c')+_0x477d('0x5e2e')+_0x477d('0x5e2f')+_0x477d('0x5e30')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{openchannelAccount.id}}\x0a'+_0x477d('0x5e31')+_0x477d('0x5e32')+_0x477d('0x5e31')+_0x477d('0x5e33')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{openchannelAccount.description}}\x0a'+_0x477d('0x3ad9')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a43')+'\x0a'+_0x477d('0x3d9e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22OPENCHANNEL.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a'+_0x477d('0x3a44')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3a47')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4d')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5e38')+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3dc6')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3692')+'\x0a'+_0x477d('0x3693')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x0a'+_0x477d('0x3a2c')+_0x477d('0x3a56')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a57')+'\x0a'+_0x477d('0x5e3d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5e3e')+_0x477d('0x3a59')+'\x0a'+_0x477d('0x3cb5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x5e3f')+_0x477d('0x5e40')+_0x477d('0x5e41')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3735')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a');_0x143a79['put'](_0x477d('0x1f82'),_0x477d('0x5e42')+_0x477d('0x5e43')+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39c7')+_0x477d('0x5d0d')+_0x477d('0x5e44')+_0x477d('0x39ca')+_0x477d('0x3dd8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cd')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.newOpenchannelQueue\x22\x20\x0a'+_0x477d('0x3dda')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x5e45')+_0x477d('0x5e46')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3dde')+_0x477d('0x5e47')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Strategy\x0a'+_0x477d('0x5e48')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x3de0')+_0x477d('0x3de1')+_0x477d('0x3a46')+_0x477d('0x3e1e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5e4b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent_Timeout\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3de9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent_Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a'+_0x477d('0x3deb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent_Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x202147483\x0a'+_0x477d('0x3deb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x5d1c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x5da2')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x39c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39dc')+_0x477d('0x387b')+_0x477d('0x5e4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x477d('0x5e4e')+_0x477d('0x5d20')+_0x477d('0x39e0')+_0x477d('0x39e1')+'\x0a'+_0x477d('0x5e4f')+_0x477d('0x3c8b')+_0x477d('0x5e50')+_0x477d('0x5e51')+_0x477d('0x5e52')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x39e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a');_0x143a79[_0x477d('0x390')]('app/main/apps/openchannel/views/openchannelQueues/edit/agentadd/agentadd.html','\x0a'+_0x477d('0x5e53')+_0x477d('0x3d23')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5e54')+_0x477d('0x3d25')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3844')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3661')+_0x477d('0x3dfb')+_0x477d('0x3663')+_0x477d('0x3dfc')+_0x477d('0x3dfd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b6a')+_0x477d('0x372b')+_0x477d('0x3669')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x5e55'),'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3d23')+_0x477d('0x3dfa')+_0x477d('0x5e56')+_0x477d('0x3d25')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3dfb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3dfc')+_0x477d('0x3dfd')+_0x477d('0x4e97')+_0x477d('0x3b6a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3669')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79['put'](_0x477d('0x22d'),_0x477d('0x5e57')+'\x0a'+_0x477d('0x39eb')+_0x477d('0x3b62')+_0x477d('0x3b63')+_0x477d('0x5e58')+_0x477d('0x5e59')+_0x477d('0x5e5a')+_0x477d('0x3e04')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x387b')+'\x0a'+_0x477d('0x5e5b')+_0x477d('0x5e5c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x0a'+_0x477d('0x38e8')+_0x477d('0x3b65')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.openchannelQueue.id}}\x0a'+_0x477d('0x5e5d')+_0x477d('0x36bf')+_0x477d('0x3b68')+_0x477d('0x5e5e')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3ab5')+_0x477d('0x3e09')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e0d')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ab5')+_0x477d('0x3e09')+_0x477d('0x5e5f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22md-fab\x20md-purple-500-bg\x20md-icon-button\x22\x0a'+_0x477d('0x4581')+_0x477d('0x5e60')+_0x477d('0x3e10')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x38ad')+_0x477d('0x5e61')+_0x477d('0x3e11')+_0x477d('0x3d05')+_0x477d('0x36e5')+'\x0a'+_0x477d('0x3699')+_0x477d('0x39f8')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3b6c')+_0x477d('0x3e12')+_0x477d('0x3f7a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SETTINGS\x0a'+_0x477d('0x3f7b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GENERAL\x0a'+_0x477d('0x385c')+_0x477d('0x3e17')+_0x477d('0x3e18')+_0x477d('0x5d0d')+_0x477d('0x5e44')+_0x477d('0x39ca')+_0x477d('0x3dd8')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x477d('0x3e19')+_0x477d('0x4ea1')+_0x477d('0x3dda')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x5e45')+_0x477d('0x3e1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3dde')+_0x477d('0x5e47')+_0x477d('0x36bf')+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x5e62')+_0x477d('0x5e48')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x3de0')+_0x477d('0x3de1')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Beepall\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RR\x20Memory\x0a'+_0x477d('0x3aac')+_0x477d('0x3e20')+_0x477d('0x39d2')+_0x477d('0x5e4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e73')+_0x477d('0x5e4b')+_0x477d('0x5e63')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3ee5')+_0x477d('0x3de6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e22')+_0x477d('0x39d2')+_0x477d('0x5e64')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5e65')+_0x477d('0x3deb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent_Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x202147483\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x5d1c')+_0x477d('0x5e66')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x5da2')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x3ab5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e27')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e2a')+'\x0a'+_0x477d('0x3699')+_0x477d('0x3a5a')+'\x0a'+_0x477d('0x377d'));_0x143a79[_0x477d('0x390')]('app/main/apps/openchannel/views/openchannelQueues/openchannelQueues.html',_0x477d('0x5e67')+'\x0a'+_0x477d('0x39eb')+_0x477d('0x3bef')+'\x0a'+_0x477d('0x3abc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ec')+_0x477d('0x39ed')+_0x477d('0x5e68')+_0x477d('0x3760')+_0x477d('0x5e69')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+_0x477d('0x39ef')+'\x0a'+_0x477d('0x39f0')+_0x477d('0x39f1')+_0x477d('0x39f2')+_0x477d('0x39f3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39f5')+_0x477d('0x3abf')+_0x477d('0x5e1e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x39f7')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x0a'+_0x477d('0x39f8')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x5e6a')+_0x477d('0x39fa')+'\x0a'+_0x477d('0x5e6b')+_0x477d('0x39fc')+_0x477d('0x39fd')+_0x477d('0x5e20')+_0x477d('0x372b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39ff')+'\x0a'+_0x477d('0x3a00')+_0x477d('0x5e6c')+_0x477d('0x5e6d')+_0x477d('0x5e22')+_0x477d('0x3760')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a04')+_0x477d('0x3a05')+_0x477d('0x3a06')+_0x477d('0x5e23')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3674')+_0x477d('0x3a09')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5e6e')+_0x477d('0x3a0c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a0f')+_0x477d('0x3a0a')+_0x477d('0x5e6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Select\x20none\x0a'+_0x477d('0x3832')+_0x477d('0x3a0f')+_0x477d('0x3a10')+_0x477d('0x3a11')+_0x477d('0x36c0')+'\x0a'+_0x477d('0x3ac4')+_0x477d('0x5e70')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a14')+_0x477d('0x5e71')+_0x477d('0x5e72')+_0x477d('0x3a16')+_0x477d('0x387e')+_0x477d('0x382a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3a17')+'\x0a'+_0x477d('0x3a18')+_0x477d('0x3a19')+'\x0a'+_0x477d('0x3a1a')+_0x477d('0x3ac6')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5e73')+_0x477d('0x3a1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5e74')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a21')+_0x477d('0x3a22')+_0x477d('0x5e28')+_0x477d('0x5e75')+_0x477d('0x5e76')+_0x477d('0x3acb')+_0x477d('0x3a2c')+_0x477d('0x3a2d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a30')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a32')+_0x477d('0x3a2c')+_0x477d('0x5e77')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5e78')+_0x477d('0x5e79')+_0x477d('0x5e7a')+_0x477d('0x5e7b')+_0x477d('0x5e7c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a44')+_0x477d('0x3947')+'\x0a'+_0x477d('0x3a45')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a47')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3adc')+'\x0a'+_0x477d('0x5e7e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22OPENCHANNEL.EDIT_OPENCHANNELQUEUE\x22>\x0a'+_0x477d('0x5e7f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x5e80')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22OPENCHANNEL.TEAMADD_OPENCHANNELQUEUE\x22>\x0a'+_0x477d('0x5e81')+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3dc6')+'\x0a'+_0x477d('0x5e82')+_0x477d('0x5e83')+_0x477d('0x5e84')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3caf')+'\x0a'+_0x477d('0x5e85')+_0x477d('0x5e86')+_0x477d('0x5e87')+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x5e88')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22OPENCHANNEL.GOTOREALTIME_OPENCHANNELQUEUE\x22>\x0a'+_0x477d('0x5e89')+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4c')+_0x477d('0x3692')+'\x0a'+_0x477d('0x3693')+_0x477d('0x3939')+'\x0a'+'\x0a'+_0x477d('0x3a2c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ae2')+_0x477d('0x3a57')+'\x0a'+_0x477d('0x5e8a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5e8b')+_0x477d('0x3a59')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+_0x477d('0x3ae6')+'\x0a'+_0x477d('0x3699')+_0x477d('0x3a5a')+'\x0a'+_0x477d('0x5e8c')+_0x477d('0x5e8d')+_0x477d('0x5e8e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3735')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3699'));_0x143a79[_0x477d('0x390')]('app/main/apps/openchannel/views/realtime/agents/view.html','\x0a'+_0x477d('0x421f')+_0x477d('0x4100')+_0x477d('0x5e8f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4221')+_0x477d('0x4222')+_0x477d('0x4223')+_0x477d('0x4eda')+_0x477d('0x5e90')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27OPENCHANNEL.PAUSE\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x5e91')+_0x477d('0x5e92')+_0x477d('0x5e93')+_0x477d('0x3888')+'\x0a'+_0x477d('0x4229')+_0x477d('0x422a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20All\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DEFAULT\x20PAUSE\x0a'+_0x477d('0x422d')+_0x477d('0x422e')+_0x477d('0x5769')+_0x477d('0x4edf')+_0x477d('0x3888')+'\x20\x20\x20\x20\x0a'+_0x477d('0x422f')+'\x0a'+'\x0a'+_0x477d('0x4230')+_0x477d('0x4231')+_0x477d('0x4232')+_0x477d('0x4233')+_0x477d('0x5e94')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.VOICE\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.CHAT\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27MAIL.MAIL\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.SMS\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x4239')+_0x477d('0x423a')+_0x477d('0x423b')+_0x477d('0x423c')+_0x477d('0x423d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41a3')+_0x477d('0x419a')+_0x477d('0x423f')+_0x477d('0x5e95')+_0x477d('0x4240')+_0x477d('0x5e96')+_0x477d('0x4241')+_0x477d('0x5e97')+_0x477d('0x4243')+_0x477d('0x5e98')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.STATUS\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x4246')+'\x0a'+_0x477d('0x4247')+_0x477d('0x4248')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x424a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x419e')+'\x0a'+_0x477d('0x424b')+_0x477d('0x424c')+_0x477d('0x4249')+_0x477d('0x424d')+_0x477d('0x36bb')+_0x477d('0x419e')+'\x0a'+_0x477d('0x424e')+_0x477d('0x424f')+_0x477d('0x4249')+_0x477d('0x4ee3')+_0x477d('0x36bb')+_0x477d('0x419e')+'\x0a'+_0x477d('0x4250')+_0x477d('0x4251')+_0x477d('0x4249')+_0x477d('0x4252')+_0x477d('0x36bb')+_0x477d('0x419e')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27FAX.STATUS\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x4254')+_0x477d('0x4249')+_0x477d('0x4ee4')+_0x477d('0x36bb')+_0x477d('0x419e')+'\x0a'+_0x477d('0x4255')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4249')+_0x477d('0x4ee5')+_0x477d('0x36bb')+_0x477d('0x419e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4256')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4258')+_0x477d('0x5e99')+_0x477d('0x36bf')+_0x477d('0x413c')+_0x477d('0x41a3')+_0x477d('0x4ee8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5c69')+_0x477d('0x425b')+_0x477d('0x4ee9')+_0x477d('0x425c')+_0x477d('0x425d')+_0x477d('0x425e')+_0x477d('0x36a9')+_0x477d('0x36bf')+_0x477d('0x413c')+_0x477d('0x425a')+_0x477d('0x425f')+_0x477d('0x4260')+_0x477d('0x4261')+_0x477d('0x3684')+_0x477d('0x4262')+_0x477d('0x4263')+_0x477d('0x4264')+_0x477d('0x5e9a')+_0x477d('0x4268')+_0x477d('0x4266')+_0x477d('0x368a')+_0x477d('0x36a9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3684')+_0x477d('0x4267')+_0x477d('0x4263')+_0x477d('0x4264')+_0x477d('0x5e9b')+_0x477d('0x4268')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x368a')+_0x477d('0x36a9')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x0a'+'\x0a'+_0x477d('0x4269')+_0x477d('0x426a')+_0x477d('0x4eed')+_0x477d('0x4eee')+_0x477d('0x413c')+_0x477d('0x426b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20days\x20>\x200\x20?\x20days\x20+\x20\x27d\x27\x20:\x20\x27\x27\x20}}\x0a'+_0x477d('0x426d')+_0x477d('0x413c')+_0x477d('0x426b')+_0x477d('0x426e')+_0x477d('0x4eef')+_0x477d('0x426f')+_0x477d('0x426d')+_0x477d('0x413c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4272')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27idle\x27:\x27lime-300-bg\x27,\x27talking\x27:\x27indigo-100-bg\x27,\x27ringing\x27:\x27orange-400-bg\x27,\x27pause\x27:\x27amber-200-bg\x27}[vm.agents[value].voiceStatus]\x22>{{\x20vm.agents[value].voiceStatus\x20|\x20uppercase\x20}}\x0a'+_0x477d('0x4274')+_0x477d('0x4275')+_0x477d('0x36bf')+_0x477d('0x413c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4ef0')+_0x477d('0x4276')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27idle\x27:\x27lime-300-fg\x27,\x27maxcapacity\x27:\x27red-A200-fg\x27,\x27working\x27:\x27indigo-100-fg\x27,\x27pause\x27:\x27amber-200-fg\x27}[vm.agents[value].voiceStatus]\x22>{{\x20vm.agents[value].queue\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.agents[value].destconnectedlinenum\x20}}\x0a'+_0x477d('0x4277')+_0x477d('0x4278')+_0x477d('0x4279')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hhours}}:{{mminutes}}:{{sseconds}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36bf')+_0x477d('0x413c')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4271')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36bf')+_0x477d('0x413c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x413c')+_0x477d('0x4ef2')+_0x477d('0x4282')+_0x477d('0x4283')+'\x0a'+_0x477d('0x4284')+_0x477d('0x4271')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x427d')+_0x477d('0x4ef3')+_0x477d('0x36a9')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4285')+_0x477d('0x4ef4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.agents[value].smsCurrentCapacity\x20}}\x0a'+'\x0a'+_0x477d('0x4287')+_0x477d('0x4271')+_0x477d('0x41ee')+_0x477d('0x427d')+_0x477d('0x4288')+_0x477d('0x36a9')+_0x477d('0x36bf')+_0x477d('0x413c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x428b')+_0x477d('0x4271')+_0x477d('0x41ee')+_0x477d('0x427d')+_0x477d('0x428c')+_0x477d('0x36a9')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4ef6')+_0x477d('0x428d')+_0x477d('0x428e')+'\x0a'+_0x477d('0x428f')+_0x477d('0x4271')+_0x477d('0x41ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x413c')+_0x477d('0x4290')+_0x477d('0x4291')+_0x477d('0x4292')+'\x0a'+_0x477d('0x4293')+_0x477d('0x3a43')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4296')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Screen\x20Recording\x0a'+_0x477d('0x3691')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x42a0')+_0x477d('0x42a1')+_0x477d('0x5e9e')+_0x477d('0x42a2')+_0x477d('0x3c30')+_0x477d('0x42a3')+_0x477d('0x42a4')+_0x477d('0x5e9f')+_0x477d('0x42a2')+_0x477d('0x3c30')+_0x477d('0x42a5')+_0x477d('0x3c45')+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x4296')+_0x477d('0x3c28')+_0x477d('0x429d')+_0x477d('0x5ea0')+_0x477d('0x429f')+_0x477d('0x3c31')+_0x477d('0x42aa')+_0x477d('0x4efd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.pause(vm.agents[value])\x22>{{pause.name}}\x0a'+_0x477d('0x3c34')+_0x477d('0x3c30')+_0x477d('0x42a5')+_0x477d('0x3c45')+_0x477d('0x3a4b')+_0x477d('0x42ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41bc')+_0x477d('0x42d1')+_0x477d('0x41be')+'\x0a'+_0x477d('0x42b1')+_0x477d('0x5ea3')+_0x477d('0x481b')+'\x20\x20\x20\x20md-total=\x22{{vm.filteredAgents.length}}\x22\x20md-on-paginate=\x22vm.onInit\x22\x20md-page-select>\x0a'+'\x0a'+_0x477d('0x42b5'));_0x143a79[_0x477d('0x390')](_0x477d('0x23e'),_0x477d('0x42b7')+_0x477d('0x421f')+_0x477d('0x4100')+_0x477d('0x5ea4')+_0x477d('0x3b2c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x0a'+_0x477d('0x42ba')+_0x477d('0x4230')+'\x20\x20\x20\x20\x0a'+_0x477d('0x42bb')+_0x477d('0x419a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27OPENCHANNEL.NAME\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x5ea5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27OPENCHANNEL.PAUSED\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27OPENCHANNEL.READY\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x5ea6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41a3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4256')+_0x477d('0x42c2')+_0x477d('0x417e')+_0x477d('0x4258')+_0x477d('0x5ea7')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41a3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x42c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x42c6')+_0x477d('0x413c')+_0x477d('0x41a7')+_0x477d('0x42c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x42c8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x42c9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f04')+_0x477d('0x3a43')+_0x477d('0x5ea8')+_0x477d('0x42cb')+_0x477d('0x3947')+'\x0a'+_0x477d('0x3a45')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5ea9')+_0x477d('0x42cd')+_0x477d('0x3a52')+_0x477d('0x3a4b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5eaa')+_0x477d('0x42d0')+_0x477d('0x3a52')+_0x477d('0x3a4b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x42b0')+_0x477d('0x413c')+_0x477d('0x41a3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x42d1')+_0x477d('0x41be')+'\x0a'+_0x477d('0x5eab')+_0x477d('0x42d3')+_0x477d('0x41c1'));_0x143a79['put'](_0x477d('0x5eac'),_0x477d('0x42d4')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3b6b')+_0x477d('0x3b6c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5ead')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x384c')+_0x477d('0x42d9')+_0x477d('0x42d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Queues\x0a'+_0x477d('0x42d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x42db')+'\x0a'+_0x477d('0x42dc')+'\x0a'+_0x477d('0x3699')+_0x477d('0x3a5a')+'\x0a');_0x143a79['put']('app/main/apps/plugins/views/plugin/plugin.html',_0x477d('0x5eae')+_0x477d('0x5eaf')+_0x477d('0x377d')+'\x0a'+_0x477d('0x5eb0')+_0x477d('0x1877'));_0x143a79[_0x477d('0x390')](_0x477d('0x5eb1'),'\x0a'+'\x0a'+_0x477d('0x39eb')+_0x477d('0x3bef')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x37cd')+_0x477d('0x39ec')+_0x477d('0x39ed')+_0x477d('0x5eb2')+_0x477d('0x3760')+_0x477d('0x5eb3')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39ef')+'\x0a'+_0x477d('0x39f0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39f2')+_0x477d('0x39f3')+_0x477d('0x39f4')+_0x477d('0x39f5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5eb4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x39f7')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x0a'+_0x477d('0x39f8')+'\x0a'+_0x477d('0x39f9')+_0x477d('0x5eb5')+_0x477d('0x39fa')+'\x0a'+_0x477d('0x5eb6')+_0x477d('0x39fc')+_0x477d('0x39fd')+_0x477d('0x5eb7')+_0x477d('0x372b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39ff')+'\x0a'+_0x477d('0x3a00')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedAiTools.length}}\x0a'+_0x477d('0x5eb8')+_0x477d('0x3760')+'\x0a'+_0x477d('0x3daf')+_0x477d('0x3a04')+_0x477d('0x3a05')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22multi\x20select\x20toggle\x22\x0a'+_0x477d('0x5eb9')+_0x477d('0x3a08')+_0x477d('0x3674')+_0x477d('0x3a09')+_0x477d('0x3a0a')+_0x477d('0x5eba')+_0x477d('0x3a0c')+_0x477d('0x3832')+_0x477d('0x3a0f')+_0x477d('0x3a0a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a0e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a0f')+_0x477d('0x3a10')+_0x477d('0x3a11')+_0x477d('0x36c0')+'\x0a'+_0x477d('0x3ac4')+_0x477d('0x5ebb')+_0x477d('0x3a13')+_0x477d('0x3a14')+_0x477d('0x5ebc')+_0x477d('0x5ebd')+_0x477d('0x3a16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x382a')+_0x477d('0x36e5')+_0x477d('0x3699')+_0x477d('0x3a17')+'\x0a'+_0x477d('0x3a18')+_0x477d('0x3a19')+'\x0a'+_0x477d('0x3a1a')+_0x477d('0x3ac6')+'\x0a'+_0x477d('0x3a1b')+_0x477d('0x5ebe')+_0x477d('0x3a1d')+_0x477d('0x3a1e')+_0x477d('0x5ebf')+_0x477d('0x5ec0')+_0x477d('0x3a21')+_0x477d('0x3a22')+_0x477d('0x5ec1')+_0x477d('0x5ec2')+_0x477d('0x5ec3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a2c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a2e')+_0x477d('0x5ec4')+_0x477d('0x3db9')+_0x477d('0x3a30')+_0x477d('0x5ec5')+_0x477d('0x3a31')+_0x477d('0x3a32')+_0x477d('0x3a2c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5ec6')+_0x477d('0x5ec7')+_0x477d('0x5ec8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22id\x20\x22\x20>{{cloudProvider.id}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a44')+_0x477d('0x3947')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x5ecc')+_0x477d('0x5ecd')+_0x477d('0x5ece')+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3dc6')+'\x0a'+_0x477d('0x5ecf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22SETTINGS.DELETE_CLOUDPROVIDER\x22>\x0a'+_0x477d('0x5ed0')+_0x477d('0x3a52')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3939')+'\x0a'+'\x0a'+_0x477d('0x3a2c')+_0x477d('0x3a56')+_0x477d('0x3ae2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x5ed1')+_0x477d('0x3ae4')+_0x477d('0x5ed2')+_0x477d('0x3a59')+'\x0a'+_0x477d('0x3cb5')+_0x477d('0x36e5')+_0x477d('0x3ae6')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3a5a')+'\x0a'+_0x477d('0x5ed3')+_0x477d('0x5ed4')+_0x477d('0x5ed5')+_0x477d('0x3cb8')+_0x477d('0x3735')+_0x477d('0x5ed6')+_0x477d('0x3699'));_0x143a79[_0x477d('0x390')]('app/main/apps/settings/views/cloudProviders/create/dialog.html','\x0a'+_0x477d('0x5ed7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x365d')+_0x477d('0x39c1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3844')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39c7')+_0x477d('0x5ed8')+_0x477d('0x5ed9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5eda')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Service\x0a'+_0x477d('0x5edb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x5edc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3de0')+_0x477d('0x5edd')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>AmazonAWS\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x5ede')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5edf')+_0x477d('0x5ee0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5ee1')+_0x477d('0x39d2')+_0x477d('0x5ee2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x5ee3')+_0x477d('0x5ee4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d6')+_0x477d('0x5ee5')+_0x477d('0x39d2')+_0x477d('0x5ee6')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3663')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39e0')+_0x477d('0x39e1')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5ee8')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5ee9')+_0x477d('0x5eea')+_0x477d('0x3a16')+_0x477d('0x5eeb')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39e9')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79['put'](_0x477d('0x5eec'),_0x477d('0x5eed')+_0x477d('0x5eee')+_0x477d('0x381e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c5')+_0x477d('0x39c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5eef')+_0x477d('0x3eb4')+_0x477d('0x3867')+_0x477d('0x3e73')+_0x477d('0x5ef0')+_0x477d('0x3eb4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5ef1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e73')+_0x477d('0x5ef2')+_0x477d('0x3eb4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5ef3')+_0x477d('0x5ef4')+_0x477d('0x5ef5')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x5ef6')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Header_WhiteLabel\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default_Page_Title\x0a'+_0x477d('0x3eb4')+_0x477d('0x3867')+_0x477d('0x5ef7')+_0x477d('0x5ef8')+_0x477d('0x5ef9')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x5efa')+_0x477d('0x39d2')+_0x477d('0x5efb')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x5efc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default_Preferred\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3867')+_0x477d('0x3eb4')+_0x477d('0x39c3')+_0x477d('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+_0x477d('0x39dc')+_0x477d('0x387b')+_0x477d('0x5efd')+_0x477d('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22customizationForm.$invalid\x20||\x20customizationForm.$pristine\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22SETTINGS.SAVE\x22\x20translate-attr-aria-label=\x22SETTINGS.SAVE\x22>\x0a'+_0x477d('0x39e0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x5efe')+_0x477d('0x3c8b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22customizationForm.$invalid\x22\x0a'+_0x477d('0x5eff')+_0x477d('0x5f00')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x39e5')+_0x477d('0x5f01')+_0x477d('0x5eea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5eeb')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x39e9')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x25a'),'\x0a'+'\x0a'+_0x477d('0x39eb')+_0x477d('0x3bef')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x37cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ed')+_0x477d('0x5eb2')+_0x477d('0x3760')+_0x477d('0x5f02')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x5f03')+_0x477d('0x5f04')+_0x477d('0x5f05')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.saveCustomization()\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22(customizationsForm.$pristine\x20&&\x20logoForm.$pristine\x20&&\x20logologinForm.$pristine\x20&&\x20preferredForm.$pristine\x20&&\x20faviconForm.$pristine)\x20||\x20(customizationsForm.$invalid\x20||\x20logoForm.$invalid\x20||\x20logologinForm.$invalid\x20||\x20preferredForm.$invalid\x20||\x20faviconForm.$invalid)\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20translate=\x22SETTINGS.SAVE\x22\x20translate-attr-aria-label=\x22SETTINGS.SAVE\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a1a')+_0x477d('0x3ac6')+_0x477d('0x39cf')+_0x477d('0x5f06')+_0x477d('0x5f07')+_0x477d('0x5f08')+_0x477d('0x40da')+_0x477d('0x5f09')+_0x477d('0x5f0a')+_0x477d('0x5eef')+_0x477d('0x3eb4')+_0x477d('0x3867')+_0x477d('0x3e73')+_0x477d('0x5ef0')+_0x477d('0x3eb4')+_0x477d('0x3867')+_0x477d('0x3e73')+_0x477d('0x5ef1')+_0x477d('0x3eb4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e73')+_0x477d('0x5ef2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3867')+_0x477d('0x5ef3')+_0x477d('0x5ef4')+_0x477d('0x5ef5')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x5f0b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default_Page_Title\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5ef7')+_0x477d('0x5ef8')+_0x477d('0x5ef9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x5efb')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x5efc')+_0x477d('0x5f0c')+_0x477d('0x3eb4')+_0x477d('0x3867')+_0x477d('0x3eb4')+_0x477d('0x5f0d')+_0x477d('0x5756')+_0x477d('0x3eb4')+_0x477d('0x5f0e')+_0x477d('0x5f07')+_0x477d('0x5f0f')+_0x477d('0x377d')+'\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5f15')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x5f16')+_0x477d('0x4085')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3699')+_0x477d('0x377d')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5f17')+_0x477d('0x5f07')+_0x477d('0x5f18')+'\x0a'+_0x477d('0x5f19')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4088')+_0x477d('0x407a')+_0x477d('0x36e5')+'\x0a'+_0x477d('0x407b')+_0x477d('0x5f11')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Upload\x0a'+_0x477d('0x372b')+_0x477d('0x407e')+_0x477d('0x36e5')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5f1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4083')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5f1b')+_0x477d('0x3670')+'\x0a'+_0x477d('0x5f16')+_0x477d('0x5f1c')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3699')+'\x0a'+'\x0a'+_0x477d('0x5756')+_0x477d('0x3eb4')+_0x477d('0x5f1d')+_0x477d('0x5f07')+_0x477d('0x5f1e')+'\x0a'+_0x477d('0x5f1f')+'\x0a'+_0x477d('0x5f20')+_0x477d('0x5f21')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x407a')+_0x477d('0x36e5')+'\x0a'+_0x477d('0x407b')+_0x477d('0x5f11')+_0x477d('0x407d')+_0x477d('0x372b')+_0x477d('0x407e')+_0x477d('0x36e5')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5f22')+_0x477d('0x5f13')+_0x477d('0x4082')+_0x477d('0x5f23')+_0x477d('0x4083')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5f24')+_0x477d('0x3670')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5f25')+_0x477d('0x3670')+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x0a'+_0x477d('0x377d')+'\x0a'+_0x477d('0x5756')+_0x477d('0x3eb4')+_0x477d('0x5f26')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5f27')+'\x0a'+_0x477d('0x5f28')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x407a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x407b')+_0x477d('0x5f11')+_0x477d('0x407d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5f2a')+_0x477d('0x36e5')+'\x0a'+_0x477d('0x407f')+_0x477d('0x5f2b')+_0x477d('0x5f13')+_0x477d('0x4082')+_0x477d('0x5f2c')+_0x477d('0x4083')+_0x477d('0x36bf')+_0x477d('0x5f2d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3699')+_0x477d('0x377d')+'\x0a'+_0x477d('0x5756')+_0x477d('0x3eb4')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3699')+_0x477d('0x3a5a')+_0x477d('0x377d'));_0x143a79[_0x477d('0x390')](_0x477d('0x5f2e'),'\x0a'+_0x477d('0x5f2f')+_0x477d('0x381e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3ab5')+_0x477d('0x39c3')+_0x477d('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3663')+'\x0a'+_0x477d('0x39dc')+_0x477d('0x387b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5f33')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x39e5')+_0x477d('0x5f34')+_0x477d('0x5eea')+_0x477d('0x3a16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3840'));_0x143a79['put'](_0x477d('0x24b'),_0x477d('0x5f35')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3bef')+'\x0a'+_0x477d('0x3abc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ec')+_0x477d('0x39ed')+_0x477d('0x5eb2')+_0x477d('0x3760')+_0x477d('0x5f36')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39ef')+'\x0a'+_0x477d('0x5f03')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+'\x0a'+_0x477d('0x3699')+_0x477d('0x39f8')+'\x0a'+_0x477d('0x3a19')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5f39')+_0x477d('0x5f07')+_0x477d('0x5f3a')+_0x477d('0x40da')+_0x477d('0x5f3b')+_0x477d('0x5f0a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Min_Internal\x0a'+_0x477d('0x5f3c')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3eee')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x5f3d')+_0x477d('0x36bf')+_0x477d('0x3de9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Min_Internal\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a'+_0x477d('0x3deb')+_0x477d('0x3ee8')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x5f3e')+_0x477d('0x5f3f')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3eee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5f40')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5f41')+_0x477d('0x3deb')+_0x477d('0x3ee8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RtlSupport\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5f42')+_0x477d('0x3867')+_0x477d('0x3eb4')+_0x477d('0x5f0d')+_0x477d('0x5756')+_0x477d('0x3eb4')+_0x477d('0x5f43')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5f44')+_0x477d('0x40da')+_0x477d('0x5f45')+_0x477d('0x5f0a')+_0x477d('0x5f46')+_0x477d('0x3eb4')+_0x477d('0x3867')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MotionbarAutoUpdaterUrl\x0a'+_0x477d('0x5f47')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x5f48')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5f49')+_0x477d('0x39d2')+_0x477d('0x5f4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e66')+_0x477d('0x5f4b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x5f4c')+_0x477d('0x3eb4')+_0x477d('0x5f4d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5f0d')+_0x477d('0x5756')+_0x477d('0x3eb4')+_0x477d('0x5f4e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5f4f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5f50')+_0x477d('0x5f0a')+_0x477d('0x5f51')+_0x477d('0x3eb4')+_0x477d('0x3867')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5f52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SplitSizeCsv\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3f85')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5f53')+_0x477d('0x5f54')+_0x477d('0x5f55')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x5f56')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f85')+_0x477d('0x36a1')+_0x477d('0x5f53')+_0x477d('0x5f57')+_0x477d('0x5f58')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x5f59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5f0d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5f07')+_0x477d('0x5f5a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5f5b')+_0x477d('0x5f0a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EnableEmailPreview\x0a'+_0x477d('0x3eb4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e73')+_0x477d('0x5f5c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Left\x0a'+_0x477d('0x5f5e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5f5f')+_0x477d('0x3aac')+_0x477d('0x5f60')+_0x477d('0x39d2')+_0x477d('0x5f61')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x3eb4')+_0x477d('0x5f0d')+_0x477d('0x5756')+_0x477d('0x3eb4')+_0x477d('0x5f62')+_0x477d('0x5f07')+_0x477d('0x5f63')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5f64')+_0x477d('0x5f0a')+_0x477d('0x5f65')+_0x477d('0x5f66')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5f67')+_0x477d('0x5f68')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20defaultScreenRecordingPath\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5756')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5f69')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5f6a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5f6b')+_0x477d('0x3eb4')+_0x477d('0x5f6c')+_0x477d('0x3867')+_0x477d('0x3e73')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Call_Recording_Encryption\x0a'+_0x477d('0x3eb4')+_0x477d('0x3867')+_0x477d('0x3e73')+_0x477d('0x5f6d')+_0x477d('0x5f6e')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cf')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x5f6f')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20allowedLoginAttempts\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x5f70')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d6')+_0x477d('0x5f71')+_0x477d('0x39d2')+_0x477d('0x5f72')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f85')+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x5f0d')+_0x477d('0x5756')+_0x477d('0x3eb4')+_0x477d('0x5f73')+_0x477d('0x5f07')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IMAPGENERALSETTINGS\x0a'+_0x477d('0x40da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5f74')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x5f77')+_0x477d('0x36bf')+_0x477d('0x3de9')+_0x477d('0x5f78')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ee8')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5f0d')+_0x477d('0x5756')+_0x477d('0x3eb4')+_0x477d('0x5f79')+_0x477d('0x5f07')+_0x477d('0x5f7a')+_0x477d('0x40da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5f7b')+_0x477d('0x3eb4')+_0x477d('0x3867')+_0x477d('0x3eb4')+_0x477d('0x5f0d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3eb4')+_0x477d('0x5f7c')+_0x477d('0x5f07')+_0x477d('0x5f7d')+_0x477d('0x40da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5f7e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Australian\x20English\x0a'+_0x477d('0x5f81')+_0x477d('0x3a46')+_0x477d('0x5f82')+_0x477d('0x5f83')+_0x477d('0x3a46')+_0x477d('0x5f84')+_0x477d('0x5f85')+_0x477d('0x3a46')+_0x477d('0x5f86')+_0x477d('0x5f87')+_0x477d('0x3a46')+_0x477d('0x5f88')+_0x477d('0x5f89')+_0x477d('0x3a46')+_0x477d('0x5f8a')+_0x477d('0x5f8b')+_0x477d('0x3a46')+_0x477d('0x5f8c')+_0x477d('0x5f8d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5f8e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20German\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Portuguese(Portugal)\x0a'+_0x477d('0x5f97')+_0x477d('0x3a46')+_0x477d('0x5f98')+_0x477d('0x5f99')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5f9a')+_0x477d('0x3ed7')+_0x477d('0x3a46')+_0x477d('0x5f9b')+_0x477d('0x5f9c')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Japanese\x20(Japan)\x0a'+_0x477d('0x5f9d')+_0x477d('0x3a46')+_0x477d('0x5f9e')+_0x477d('0x5f9f')+_0x477d('0x3a46')+_0x477d('0x5fa0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Malay\x20(Malaysia)\x20-\x20This\x20language\x20is\x20not\x20available\x20for\x20the\x20Sentiment\x20Analysis\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Russian\x20(Russia)\x20-\x20This\x20language\x20is\x20not\x20available\x20for\x20the\x20Sentiment\x20Analysis\x0a'+_0x477d('0x5fa3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5fa4')+_0x477d('0x5fa5')+_0x477d('0x3a46')+_0x477d('0x5fa6')+_0x477d('0x5fa7')+_0x477d('0x3a46')+_0x477d('0x5fa8')+_0x477d('0x5fa9')+_0x477d('0x3a46')+_0x477d('0x5faa')+_0x477d('0x5fab')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5fac')+_0x477d('0x3aac')+_0x477d('0x5fad')+_0x477d('0x39d2')+_0x477d('0x5fae')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5faf')+_0x477d('0x5fb0')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x5fb1')+_0x477d('0x39d2')+_0x477d('0x5fb2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Transcribe\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3867')+_0x477d('0x5fb3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TranscribeRegion\x0a'+_0x477d('0x5fb4')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3de0')+_0x477d('0x3e99')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>US\x20East\x20(N.\x20Virginia)\x0a'+_0x477d('0x5fb5')+_0x477d('0x3a46')+_0x477d('0x5fb6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20US\x20West\x20(N.\x20California)\x0a'+_0x477d('0x3e9b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5d36')+_0x477d('0x5fb7')+_0x477d('0x3a46')+_0x477d('0x5fb8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Asia\x20Pacific\x20(Sydney)\x0a'+_0x477d('0x5fbe')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5fbf')+_0x477d('0x5fc0')+_0x477d('0x3a46')+_0x477d('0x5fc1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Europe\x20(Paris)\x0a'+_0x477d('0x5fc6')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Middle\x20East\x20(Bahrain)\x0a'+_0x477d('0x5fc7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>South\x20America\x20(São\x20Paulo)\x0a'+_0x477d('0x3aac')+_0x477d('0x5fc8')+_0x477d('0x39d2')+_0x477d('0x5fc9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x5fb3')+_0x477d('0x5fca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5fcf')+_0x477d('0x5fd0')+_0x477d('0x3eb4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5fd1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SentimentRegion\x0a'+_0x477d('0x5fd2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x3e99')+_0x477d('0x3a46')+_0x477d('0x3e9a')+_0x477d('0x5fb5')+_0x477d('0x3a46')+_0x477d('0x5fb6')+_0x477d('0x3e9b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5d36')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Asia\x20Pacific\x20(Seoul)\x0a'+_0x477d('0x5fbc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5fbd')+_0x477d('0x3e9e')+_0x477d('0x3a46')+_0x477d('0x3e9f')+_0x477d('0x5fbe')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5fbf')+_0x477d('0x5fc0')+_0x477d('0x3a46')+_0x477d('0x5fc1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Europe\x20(Frankfurt)\x0a'+_0x477d('0x3e9c')+_0x477d('0x3a46')+_0x477d('0x5fc3')+_0x477d('0x5fc4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5fc5')+_0x477d('0x3aac')+_0x477d('0x5fd3')+_0x477d('0x39d2')+_0x477d('0x5fd4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x5fd1')+_0x477d('0x5fd5')+_0x477d('0x5fd6')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x39cf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x5fd7')+_0x477d('0x5fd8')+_0x477d('0x3aac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x5fd9')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5f0d')+_0x477d('0x5756')+_0x477d('0x3eb4')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3699')+_0x477d('0x3a5a')+'\x0a');_0x143a79[_0x477d('0x390')](_0x477d('0x260'),_0x477d('0x5fda')+'\x0a'+_0x477d('0x5fdb')+_0x477d('0x5fdc')+_0x477d('0x461b')+_0x477d('0x5fdd')+_0x477d('0x387b')+_0x477d('0x5fde')+_0x477d('0x5fdf')+_0x477d('0x5fe0')+_0x477d('0x427b')+_0x477d('0x5fe1')+_0x477d('0x3670')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5fe4')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5fe5')+'\x20\x20\x20\x20\x0a'+_0x477d('0x5fe6')+_0x477d('0x5fe7')+_0x477d('0x5fe8')+_0x477d('0x5fe9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5fea')+_0x477d('0x5feb')+_0x477d('0x5fec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5fed')+_0x477d('0x385c')+_0x477d('0x382a')+_0x477d('0x5fee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SETTINGS.PLAN\x27\x20|\x20translate\x20}}:\x20MONTH\x20TO\x20MONTH\x0a'+_0x477d('0x5fef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SETTINGS.PLAN\x27\x20|\x20translate\x20}}:\x20PERPETUAL\x0a'+_0x477d('0x385c')+_0x477d('0x382a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x462f')+_0x477d('0x5ff0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20License\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3691')+_0x477d('0x385c')+_0x477d('0x382a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x461b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SETTINGS.EXPIRATION_DATE\x27\x20|\x20translate\x20}}:\x20{{vm.license.expiration\x20|\x20date:\x20\x27longDate\x27}}\x0a'+_0x477d('0x5ff1')+_0x477d('0x461b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5ff2')+_0x477d('0x5ff3')+_0x477d('0x5ff4')+_0x477d('0x5ff5')+_0x477d('0x5ff6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27SETTINGS.EXPIRATION_REASON_MESSAGE_CHANGED\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x5ff7')+_0x477d('0x5ff8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SETTINGS.SEND_EMAIL_TO\x27\x20|\x20translate\x20}}:\x20license@xcally.com.\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x461b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5ff9')+_0x477d('0x5ffa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x461b')+_0x477d('0x5ffb')+_0x477d('0x5ffc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5ffd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5ffe')+_0x477d('0x5fff')+_0x477d('0x385c')+_0x477d('0x3873')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6000')+_0x477d('0x6001')+_0x477d('0x6002')+_0x477d('0x6003')+_0x477d('0x385c')+_0x477d('0x3873')+_0x477d('0x5ffd')+_0x477d('0x6004')+_0x477d('0x6001')+_0x477d('0x6005')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Telephones

\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3873')+_0x477d('0x6006')+_0x477d('0x461b')+_0x477d('0x6007')+_0x477d('0x5ffc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6008')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6001')+_0x477d('0x6009')+_0x477d('0x600a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3873')+_0x477d('0x6006')+_0x477d('0x600b')+_0x477d('0x600c')+_0x477d('0x600d')+_0x477d('0x6001')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x600a')+_0x477d('0x385c')+_0x477d('0x3873')+_0x477d('0x6006')+_0x477d('0x600b')+_0x477d('0x600e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6001')+_0x477d('0x6009')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SETTINGS.\x27\x20+\x20(vm.license[channel.name]\x20?\x20\x27ENABLED\x27\x20:\x20\x27DISABLED\x27)\x20|\x20translate\x20}}

\x0a'+_0x477d('0x385c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6006')+_0x477d('0x461b')+_0x477d('0x600f')+_0x477d('0x5ffc')+_0x477d('0x600b')+_0x477d('0x6010')+_0x477d('0x6011')+_0x477d('0x6001')+_0x477d('0x6012')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SETTINGS.\x27\x20+\x20(vm.license[module.name]\x20?\x20\x27ENABLED\x27\x20:\x20\x27DISABLED\x27)\x20|\x20translate\x20}}

\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3873')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x461b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SETTINGS.SESSIONS\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x5ffc')+_0x477d('0x600b')+_0x477d('0x6013')+_0x477d('0x6014')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6015')+_0x477d('0x6016')+_0x477d('0x6017')+_0x477d('0x6018')+_0x477d('0x6019')+_0x477d('0x601a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.license[session.name]}}\x20{{\x20\x27SETTINGS.\x27\x20+\x20session.label\x20|\x20uppercase\x20|\x20translate\x20}}

\x0a'+_0x477d('0x601b')+_0x477d('0x601c')+_0x477d('0x385b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x382a')+_0x477d('0x6006')+_0x477d('0x461b')+_0x477d('0x601d')+_0x477d('0x5ffc')+_0x477d('0x600b')+_0x477d('0x601e')+_0x477d('0x601f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6020')+_0x477d('0x6021')+_0x477d('0x385c')+_0x477d('0x3873')+_0x477d('0x6006')+_0x477d('0x600b')+_0x477d('0x6022')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6020')+_0x477d('0x6021')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3873')+_0x477d('0x6006')+'\x0a'+'\x0a'+_0x477d('0x6023')+_0x477d('0x5ffc')+_0x477d('0x600b')+_0x477d('0x6024')+_0x477d('0x6025')+_0x477d('0x6001')+_0x477d('0x6026')+_0x477d('0x6027')+_0x477d('0x385c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6028')+_0x477d('0x6025')+_0x477d('0x6001')+_0x477d('0x6026')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SETTINGS.\x27\x20+\x20(vm.license[other.name]\x20?\x20\x27ENABLED\x27\x20:\x20\x27DISABLED\x27)\x20|\x20translate\x20}}

\x0a'+_0x477d('0x385c')+_0x477d('0x3873')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4371')+_0x477d('0x3670')+_0x477d('0x6029')+'\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x602a')+_0x477d('0x461b')+_0x477d('0x36e5')+_0x477d('0x602b')+_0x477d('0x461b')+_0x477d('0x3da6')+_0x477d('0x602c'));_0x143a79['put'](_0x477d('0x602d'),'\x0a'+_0x477d('0x602e')+_0x477d('0x602f')+_0x477d('0x6030')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Request\x20License\x0a'+_0x477d('0x6031')+_0x477d('0x46d0')+_0x477d('0x3674')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6032')+_0x477d('0x6033')+_0x477d('0x44f3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x36a9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6034')+_0x477d('0x3947')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x6035')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x0a'+_0x477d('0x6036')+_0x477d('0x6037')+_0x477d('0x399e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Address\x20field\x20is\x20required\x0a'+_0x477d('0x36a9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Email\x0a'+_0x477d('0x6038')+_0x477d('0x6039')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Email\x20field\x20is\x20required\x0a'+_0x477d('0x36a9')+_0x477d('0x40ea')+_0x477d('0x603a')+_0x477d('0x36a9')+_0x477d('0x36bf')+_0x477d('0x39a2')+_0x477d('0x6035')+_0x477d('0x603b')+_0x477d('0x603c')+_0x477d('0x603d')+_0x477d('0x603e')+_0x477d('0x603f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6040')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6041')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SETTINGS.STAFF\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x6042')+_0x477d('0x6043')+_0x477d('0x6044')+_0x477d('0x6045')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3c59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Users\x20field\x20is\x20required\x0a'+_0x477d('0x382a')+_0x477d('0x36a9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6043')+_0x477d('0x6046')+_0x477d('0x6047')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3c59')+_0x477d('0x6048')+_0x477d('0x382a')+_0x477d('0x36a9')+_0x477d('0x3c04')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6049')+_0x477d('0x604a')+_0x477d('0x604b')+_0x477d('0x3c59')+_0x477d('0x604c')+_0x477d('0x382a')+_0x477d('0x36a9')+_0x477d('0x3c04')+_0x477d('0x3670')+_0x477d('0x461b')+_0x477d('0x604d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x604e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+'\x20\x20\x20\x20\x0a'+_0x477d('0x604f')+_0x477d('0x6042')+_0x477d('0x6050')+_0x477d('0x3670')+_0x477d('0x461b')+_0x477d('0x6051')+_0x477d('0x463c')+_0x477d('0x6052')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6053')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x200={{\x20\x27SETTINGS.UNLIMITED_CHANNELS\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x6054')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6055')+_0x477d('0x382a')+_0x477d('0x36a9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x461b')+_0x477d('0x6056')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x6057')+_0x477d('0x6042')+_0x477d('0x6058')+_0x477d('0x3670')+_0x477d('0x461b')+_0x477d('0x6035')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x0a'+_0x477d('0x6059')+_0x477d('0x39a2')+_0x477d('0x461b')+_0x477d('0x6032')+_0x477d('0x6033')+_0x477d('0x44f3')+_0x477d('0x605a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x36a9')+_0x477d('0x605b')+_0x477d('0x6034')+_0x477d('0x3947')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x46e9')+_0x477d('0x461b')+_0x477d('0x605c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x605d')+_0x477d('0x46f5')+_0x477d('0x3674')+_0x477d('0x3670')+_0x477d('0x46f2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x46f6'));_0x143a79[_0x477d('0x390')](_0x477d('0x1fd9'),_0x477d('0x605e')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x365d')+_0x477d('0x605f')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3aea')+_0x477d('0x3aeb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x3aed')+_0x477d('0x3aee')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3674')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x0a'+_0x477d('0x6060')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Do\x20you\x20want\x20to\x20update\x20your\x20license\x20manually?\x0a'+_0x477d('0x46c5')+_0x477d('0x383b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Enter\x20your\x20license\x0a'+_0x477d('0x6061')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20License\x20key\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+'\x0a'+_0x477d('0x3aea')+_0x477d('0x3aeb')+_0x477d('0x3aec')+_0x477d('0x3aed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3aef')+_0x477d('0x3af0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36c0')+_0x477d('0x3663')+'\x0a'+_0x477d('0x3b1a')+_0x477d('0x387b')+_0x477d('0x6062')+_0x477d('0x6063')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x3669')+_0x477d('0x366a')+_0x477d('0x366b'));_0x143a79[_0x477d('0x390')](_0x477d('0x2006'),_0x477d('0x6064')+'\x20\x20\x20\x20\x0a'+_0x477d('0x381e')+_0x477d('0x365d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6065')+_0x477d('0x6066')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5e')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20LocalNET\x0a'+_0x477d('0x6067')+_0x477d('0x3a46')+_0x477d('0x6068')+_0x477d('0x6069')+_0x477d('0x3a46')+_0x477d('0x606a')+_0x477d('0x606b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x606c')+_0x477d('0x3aac')+_0x477d('0x606d')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x606e')+_0x477d('0x606f')+_0x477d('0x6070')+_0x477d('0x39ca')+_0x477d('0x6071')+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6072')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6073')+_0x477d('0x36bf')+_0x477d('0x3dde')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20localNetAddress\x20must\x20be\x20valid\x20pattern\x20\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6074')+_0x477d('0x6075')+_0x477d('0x6070')+_0x477d('0x39ca')+_0x477d('0x6076')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x6077')+_0x477d('0x6072')+_0x477d('0x39d2')+_0x477d('0x6078')+_0x477d('0x36bf')+_0x477d('0x3dde')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Address\x20must\x20be\x20valid\x20pattern\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x6079')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Address\x0a'+_0x477d('0x6070')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x6078')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x607a')+_0x477d('0x607b')+_0x477d('0x607c')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x607d')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x607e')+_0x477d('0x607f')+_0x477d('0x39d2')+_0x477d('0x6080')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x607a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Password\x0a'+_0x477d('0x6081')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x607d')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x6082')+_0x477d('0x6083')+_0x477d('0x39d2')+_0x477d('0x6084')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3663')+'\x0a'+_0x477d('0x6085')+_0x477d('0x387b')+_0x477d('0x6086')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x477d('0x6087')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22SETTINGS.SAVE\x22\x20translate-attr-aria-label=\x22SETTINGS.SAVE\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x6088')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x477d('0x6089')+_0x477d('0x608a')+_0x477d('0x608b')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x254'),_0x477d('0x608c')+'\x0a'+_0x477d('0x39eb')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3abc')+_0x477d('0x37cd')+_0x477d('0x39ec')+_0x477d('0x39ed')+_0x477d('0x5eb2')+_0x477d('0x3760')+_0x477d('0x608d')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ef')+'\x0a'+_0x477d('0x39f0')+_0x477d('0x39f1')+_0x477d('0x39f2')+_0x477d('0x39f3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39f5')+_0x477d('0x3abf')+_0x477d('0x5eb4')+_0x477d('0x39a2')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36bf')+_0x477d('0x3699')+_0x477d('0x39f8')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x608e')+_0x477d('0x39fa')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39fd')+_0x477d('0x5eb7')+_0x477d('0x372b')+_0x477d('0x36e5')+'\x0a'+_0x477d('0x39ff')+'\x0a'+_0x477d('0x3a00')+_0x477d('0x608f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedNetworks.length}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20selected\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3daf')+_0x477d('0x3a04')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22$mdOpenMenu($event)\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22multi\x20select\x20toggle\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22SETTINGS.MULTI_SELECT_TOGGLE\x22>\x0a'+_0x477d('0x3a08')+_0x477d('0x3674')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a0a')+_0x477d('0x6090')+_0x477d('0x3a0c')+_0x477d('0x3832')+_0x477d('0x3a0f')+_0x477d('0x3a0a')+_0x477d('0x6091')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Select\x20none\x0a'+_0x477d('0x3832')+_0x477d('0x3a0f')+_0x477d('0x3a10')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6092')+_0x477d('0x3a13')+_0x477d('0x3a14')+_0x477d('0x6093')+_0x477d('0x5ebd')+_0x477d('0x3a16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x382a')+_0x477d('0x36e5')+_0x477d('0x3699')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a18')+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ac6')+'\x0a'+_0x477d('0x3a1b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a1d')+_0x477d('0x3a1e')+_0x477d('0x6094')+_0x477d('0x6095')+_0x477d('0x3a21')+_0x477d('0x3a22')+_0x477d('0x5ec1')+_0x477d('0x6096')+_0x477d('0x6097')+_0x477d('0x6098')+_0x477d('0x3acb')+_0x477d('0x3a2c')+_0x477d('0x3a2d')+_0x477d('0x3a2e')+_0x477d('0x6099')+_0x477d('0x3acd')+_0x477d('0x3a30')+_0x477d('0x5ec5')+_0x477d('0x3a31')+_0x477d('0x3a32')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x609a')+_0x477d('0x609b')+_0x477d('0x609c')+_0x477d('0x609d')+_0x477d('0x609e')+_0x477d('0x609f')+_0x477d('0x60a0')+_0x477d('0x60a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22value\x20\x22\x20>{{network.value}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3d9e')+_0x477d('0x60a3')+_0x477d('0x3a44')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a45')+'\x0a'+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3dc6')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3dc6')+'\x0a'+_0x477d('0x60a6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22SETTINGS.DELETE_NETWORK\x22>\x0a'+_0x477d('0x60a7')+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3692')+'\x0a'+_0x477d('0x3693')+_0x477d('0x3939')+'\x0a'+'\x0a'+_0x477d('0x3a2c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ae2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x60a8')+_0x477d('0x3ae4')+_0x477d('0x60a9')+_0x477d('0x3a59')+'\x0a'+_0x477d('0x3cb5')+_0x477d('0x36e5')+_0x477d('0x3ae6')+'\x0a'+_0x477d('0x3699')+_0x477d('0x3a5a')+'\x0a'+_0x477d('0x60aa')+_0x477d('0x60ab')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20network\x22\x20translate\x20translate-attr-aria-label=\x22SETTINGS.ADD_NETWORK\x22>\x0a'+_0x477d('0x3cb8')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3699'));_0x143a79[_0x477d('0x390')](_0x477d('0x60ac'),'\x0a'+_0x477d('0x60ad')+_0x477d('0x381e')+_0x477d('0x365d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AccountName\x0a'+_0x477d('0x60ae')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39cb')+_0x477d('0x39cf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x60af')+_0x477d('0x39d2')+_0x477d('0x60b0')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x60b1')+_0x477d('0x60b2')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x60b3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x60b4')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x60b5')+_0x477d('0x36bf')+_0x477d('0x385b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x60b6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SMTP_Service\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x60b7')+_0x477d('0x60b8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x563b')+_0x477d('0x39d2')+_0x477d('0x60b9')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x60ba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SMTP_Port\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x60bc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x60bd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SMTP_Authentication\x0a'+_0x477d('0x3eb4')+_0x477d('0x3867')+_0x477d('0x60be')+_0x477d('0x60bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SMTP_Username\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SMTP_Password\x0a'+_0x477d('0x60c1')+_0x477d('0x60c2')+_0x477d('0x60c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6084')+_0x477d('0x36bf')+_0x477d('0x5041')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Must\x20contain\x20at\x20least\x208\x20characters,\x20with\x20a\x20minimum\x20of\x201\x20lowercase\x20letter,\x201\x20uppercase\x20letter,\x201\x20numeric\x20character\x20and\x201\x20special\x20character\x20~!?*@#$%^&-_=+[{]}.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3eb4')+_0x477d('0x3e73')+_0x477d('0x60c4')+_0x477d('0x60c5')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x60c6')+_0x477d('0x39d2')+_0x477d('0x60c7')+_0x477d('0x36bf')+_0x477d('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ab5')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387b')+_0x477d('0x60c8')+_0x477d('0x39de')+_0x477d('0x60c9')+_0x477d('0x5f30')+_0x477d('0x39e0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x60ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x477d('0x60cb')+_0x477d('0x60cc')+_0x477d('0x60cd')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39e5')+_0x477d('0x60ce')+_0x477d('0x5eea')+_0x477d('0x3a16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x39e9')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79['put'](_0x477d('0x60cf'),_0x477d('0x60d0')+'\x0a'+_0x477d('0x39eb')+_0x477d('0x3bef')+'\x0a'+_0x477d('0x3abc')+_0x477d('0x37cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ed')+_0x477d('0x5eb2')+_0x477d('0x3760')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Smtp\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39ef')+'\x0a'+_0x477d('0x5f03')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20VERIFY\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5f04')+_0x477d('0x5f05')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.saveSmtp()\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22(generalForm.$pristine)\x20||\x20(generalForm.$invalid)\x22\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x20translate=\x22SETTINGS.SAVE\x22\x20translate-attr-aria-label=\x22SETTINGS.SAVE\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x477d('0x3d05')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3699')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a19')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x60d1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x60d2')+_0x477d('0x40da')+_0x477d('0x60d3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AccountName\x0a'+_0x477d('0x60ae')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ce')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x3e1a')+_0x477d('0x39d2')+_0x477d('0x60b0')+_0x477d('0x36bf')+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EmailAddress\x0a'+_0x477d('0x60b2')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x60b3')+_0x477d('0x4346')+_0x477d('0x39d2')+_0x477d('0x60b4')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x60b5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x385b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x60b6')+_0x477d('0x60d4')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x3de0')+_0x477d('0x5572')+_0x477d('0x3a46')+_0x477d('0x5573')+_0x477d('0x5617')+_0x477d('0x3a46')+_0x477d('0x5618')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Outlook365\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x60d5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SMTP_Service\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x60b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SMTP_Host\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x60b9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x60ba')+_0x477d('0x60d6')+_0x477d('0x60d7')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x60d8')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SMTP_Port\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3f85')+_0x477d('0x36a1')+_0x477d('0x60ba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SMTP_Secure\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x60bd')+_0x477d('0x3867')+_0x477d('0x60b7')+_0x477d('0x60d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3867')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x60bf')+_0x477d('0x60da')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x60db')+_0x477d('0x39d2')+_0x477d('0x60dc')+_0x477d('0x36bf')+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x60dd')+_0x477d('0x60c1')+_0x477d('0x60c2')+_0x477d('0x60c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x6084')+_0x477d('0x36bf')+_0x477d('0x5041')+_0x477d('0x60de')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3eb4')+_0x477d('0x3e73')+_0x477d('0x60c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d9')+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x5f0d')+_0x477d('0x5756')+_0x477d('0x3eb4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ae6')+'\x0a'+_0x477d('0x3699')+_0x477d('0x3a5a')+_0x477d('0x377d'));_0x143a79[_0x477d('0x390')]('app/main/apps/settings/views/system/system.html',_0x477d('0x60df')+'\x0a'+_0x477d('0x39eb')+_0x477d('0x3b62')+_0x477d('0x3abc')+_0x477d('0x37cd')+_0x477d('0x39ec')+_0x477d('0x39ed')+_0x477d('0x60e0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x60e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+_0x477d('0x39ef')+'\x20\x20\x20\x20\x0a'+_0x477d('0x39f8')+'\x0a'+_0x477d('0x3a18')+_0x477d('0x3b6b')+'\x0a'+_0x477d('0x60e2')+_0x477d('0x3b6d')+_0x477d('0x3b6e')+_0x477d('0x60e3')+_0x477d('0x3b6f')+'\x0a'+_0x477d('0x3b7e')+_0x477d('0x60e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x60e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x60e6')+_0x477d('0x60e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OS\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x60e8')+_0x477d('0x60e9')+_0x477d('0x60ea')+_0x477d('0x60eb')+_0x477d('0x60ec')+_0x477d('0x60ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Node.js:\x20{{vm.system.node}}\x0a'+_0x477d('0x60ee')+_0x477d('0x60ef')+_0x477d('0x3b86')+_0x477d('0x438b')+_0x477d('0x385b')+_0x477d('0x60f0')+_0x477d('0x60f1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x60f2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x60e6')+_0x477d('0x60f3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CPU\x0a'+_0x477d('0x385b')+'\x0a'+_0x477d('0x60e8')+_0x477d('0x60e9')+_0x477d('0x60ea')+_0x477d('0x60f4')+_0x477d('0x60f5')+_0x477d('0x60f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x60f7')+_0x477d('0x3b86')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x385b')+_0x477d('0x60f0')+_0x477d('0x60f1')+_0x477d('0x60f8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x60f9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x60fa')+_0x477d('0x60fb')+_0x477d('0x385b')+'\x0a'+_0x477d('0x60e8')+_0x477d('0x60e9')+_0x477d('0x60ea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27SETTINGS.TOTAL\x27\x20|\x20translate}}:\x20{{vm.system.mem.total\x20/\x201024\x20/\x201024\x20/\x201024\x20|\x20number:0}}\x20GB\x0a'+_0x477d('0x60fc')+_0x477d('0x60fd')+_0x477d('0x3b86')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x60f4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Used\x0a'+_0x477d('0x60fe')+_0x477d('0x4499')+_0x477d('0x60ff')+'\x0a'+_0x477d('0x3b86')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x385b')+_0x477d('0x60f0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x60f8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x6100')+_0x477d('0x6101')+_0x477d('0x60f9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6102')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x60e8')+_0x477d('0x60e9')+_0x477d('0x60ea')+_0x477d('0x6103')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27SETTINGS.MOUNT_POINT\x27\x20|\x20translate}}:\x20\x22{{disk.mount}}\x22\x0a'+_0x477d('0x6104')+_0x477d('0x6105')+_0x477d('0x3b86')+_0x477d('0x60ea')+_0x477d('0x60f4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Used\x0a'+_0x477d('0x6106')+_0x477d('0x4499')+_0x477d('0x6107')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x438b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x60f0')+_0x477d('0x60f1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x445d')+'\x0a'+_0x477d('0x6100')+_0x477d('0x6108')+_0x477d('0x60f9')+_0x477d('0x60e6')+_0x477d('0x60fa')+_0x477d('0x6109')+_0x477d('0x385b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x60ea')+_0x477d('0x610a')+_0x477d('0x610b')+_0x477d('0x610c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MAC:\x20{{net.mac}}\x0a'+_0x477d('0x3b86')+_0x477d('0x438b')+_0x477d('0x385b')+_0x477d('0x60f0')+_0x477d('0x60f1')+_0x477d('0x60f8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x610d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x610e')+_0x477d('0x610f')+_0x477d('0x6110')+_0x477d('0x6111')+_0x477d('0x6112')+_0x477d('0x385b')+_0x477d('0x6113')+_0x477d('0x6114')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6115')+_0x477d('0x6116')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20pid\x0a'+_0x477d('0x6117')+_0x477d('0x6118')+_0x477d('0x6119')+_0x477d('0x611a')+_0x477d('0x611b')+_0x477d('0x611c')+_0x477d('0x611d')+_0x477d('0x611e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{process.pid}}\x0a'+_0x477d('0x611f')+_0x477d('0x5cfd')+_0x477d('0x6120')+_0x477d('0x6121')+_0x477d('0x6122')+_0x477d('0x6123')+_0x477d('0x6124')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{process.pmem}}%\x0a'+_0x477d('0x6125')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6126')+_0x477d('0x6127')+_0x477d('0x6128')+_0x477d('0x382a')+_0x477d('0x445d')+_0x477d('0x36bf')+_0x477d('0x3b7b')+_0x477d('0x3b7c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b6e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PROCESSES\x0a'+_0x477d('0x3b6f')+'\x0a'+_0x477d('0x3b7e')+_0x477d('0x6129')+_0x477d('0x612a')+_0x477d('0x448b')+_0x477d('0x3b81')+_0x477d('0x612b')+_0x477d('0x3b8a')+_0x477d('0x612c')+_0x477d('0x612d')+_0x477d('0x612e')+_0x477d('0x3691')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b8d')+_0x477d('0x3b91')+_0x477d('0x612f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b93')+_0x477d('0x6130')+_0x477d('0x6131')+_0x477d('0x6132')+_0x477d('0x6133')+_0x477d('0x6134')+_0x477d('0x6135')+_0x477d('0x6136')+_0x477d('0x3b9b')+_0x477d('0x3b9c')+_0x477d('0x44ba')+_0x477d('0x6137')+_0x477d('0x6138')+_0x477d('0x6139')+_0x477d('0x613a')+_0x477d('0x3ba0')+_0x477d('0x613b')+_0x477d('0x3ba4')+_0x477d('0x613c')+_0x477d('0x613d')+_0x477d('0x3ba0')+_0x477d('0x613e')+_0x477d('0x613f')+_0x477d('0x3d60')+_0x477d('0x6140')+_0x477d('0x6141')+_0x477d('0x3d60')+_0x477d('0x3ba4')+_0x477d('0x3b9b')+_0x477d('0x3bb6')+_0x477d('0x6142')+_0x477d('0x3b93')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6143')+_0x477d('0x6143')+_0x477d('0x6144')+_0x477d('0x6143')+_0x477d('0x6143')+_0x477d('0x3b9b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3bb7')+_0x477d('0x3bb8')+_0x477d('0x445d')+_0x477d('0x612a')+_0x477d('0x448b')+_0x477d('0x3b81')+_0x477d('0x6145')+_0x477d('0x3b8a')+_0x477d('0x385c')+_0x477d('0x3b8d')+_0x477d('0x3b91')+_0x477d('0x612f')+_0x477d('0x6146')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6147')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27SETTINGS.DESCRIPTION\x27\x20|\x20translate}}\x0a'+_0x477d('0x3b9b')+_0x477d('0x3b9c')+_0x477d('0x44ba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6148')+_0x477d('0x6149')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x614a')+_0x477d('0x614b')+_0x477d('0x614c')+_0x477d('0x3b9b')+_0x477d('0x614a')+_0x477d('0x614d')+_0x477d('0x614e')+_0x477d('0x3b9b')+_0x477d('0x614a')+_0x477d('0x614f')+_0x477d('0x6150')+_0x477d('0x3b9b')+_0x477d('0x614a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20pm2\x20logs\x20[id\x20|\x20name]\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SETTINGS.PM2_LOGS\x27\x20|\x20translate}}\x0a'+_0x477d('0x3b9b')+_0x477d('0x3bb6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3bb8')+_0x477d('0x445d')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b7c')+_0x477d('0x3bd9')+'\x0a'+_0x477d('0x3699')+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x0a');_0x143a79[_0x477d('0x390')](_0x477d('0x2034'),'\x0a'+_0x477d('0x6151')+_0x477d('0x3d02')+_0x477d('0x3ced')+'\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x477d('0x380f')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x6152')+_0x477d('0x6153')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3d04')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6154')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Grab\x20a\x20quick\x20coffee\x20and\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20get\x20back\x20here\x20as\x20soon\x20as\x20completed!\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.output}}\x0a'+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6155')+_0x477d('0x6156')+_0x477d('0x6157')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6158')+_0x477d('0x6159')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.output}}\x0a'+_0x477d('0x3cfb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x615a')+_0x477d('0x380f')+_0x477d('0x3d0f')+'\x0a'+_0x477d('0x615b')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x615c')+_0x477d('0x615d')+_0x477d('0x36dc')+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x0a'+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')]('app/main/apps/settings/views/updates/updates.html',_0x477d('0x615e')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3bef')+'\x0a'+_0x477d('0x3abc')+_0x477d('0x37cd')+_0x477d('0x39ec')+_0x477d('0x39ed')+_0x477d('0x5eb2')+_0x477d('0x3760')+_0x477d('0x615f')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ef')+_0x477d('0x3699')+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3a19')+'\x0a'+_0x477d('0x3a1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6160')+_0x477d('0x57e4')+_0x477d('0x3970')+'\x0a'+_0x477d('0x6161')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.version.current}}\x0a'+'\x0a'+_0x477d('0x6162')+_0x477d('0x6163')+_0x477d('0x3947')+_0x477d('0x36bf')+_0x477d('0x57e6')+_0x477d('0x6164')+_0x477d('0x3970')+'\x0a'+_0x477d('0x6165')+'\x0a'+_0x477d('0x6166')+'\x0a'+_0x477d('0x6167')+_0x477d('0x6163')+_0x477d('0x3947')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20UPDATE\x0a'+_0x477d('0x36bf')+_0x477d('0x57e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3970')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20REMOTE\x20VERSION\x0a'+'\x0a'+_0x477d('0x6168')+_0x477d('0x36bf')+_0x477d('0x57e6')+_0x477d('0x36c0')+_0x477d('0x6169')+'\x0a'+_0x477d('0x616a')+_0x477d('0x57e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x616b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x616c')+_0x477d('0x616d')+_0x477d('0x616e')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+_0x477d('0x3ae6')+'\x0a'+_0x477d('0x3699')+_0x477d('0x3a5a')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x1877'));_0x143a79['put']('app/main/apps/sms/views/realtime/agents/view.html',_0x477d('0x42b7')+'\x0a'+_0x477d('0x4100')+_0x477d('0x616f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4221')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20on-collapse=\x22vm.query.filter\x20=\x20undefined;\x20vm.onInit()\x22\x20debounce=\x22300\x22>\x0a'+_0x477d('0x4223')+_0x477d('0x4eda')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.ALL\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x6170')+_0x477d('0x6171')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.BUSY\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x6172')+_0x477d('0x3888')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20DEFAULT\x20PAUSE\x0a'+_0x477d('0x422d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20LOGININPAUSE\x0a'+_0x477d('0x5769')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{pause.name}}\x0a'+_0x477d('0x3888')+_0x477d('0x3699')+_0x477d('0x422f')+'\x0a'+_0x477d('0x4ec5')+_0x477d('0x4230')+_0x477d('0x4231')+_0x477d('0x4232')+_0x477d('0x4233')+_0x477d('0x6173')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.VOICE\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x4236')+_0x477d('0x4237')+_0x477d('0x4238')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x423a')+_0x477d('0x423b')+_0x477d('0x423c')+_0x477d('0x423d')+_0x477d('0x423e')+_0x477d('0x41a3')+_0x477d('0x419a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6174')+_0x477d('0x4240')+_0x477d('0x6175')+_0x477d('0x4241')+_0x477d('0x6176')+_0x477d('0x4243')+_0x477d('0x6177')+'\x0a'+_0x477d('0x4245')+_0x477d('0x4246')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.STATUS\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x4248')+_0x477d('0x4249')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.CAPACITY\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x36bb')+_0x477d('0x419e')+'\x0a'+_0x477d('0x424b')+_0x477d('0x424c')+_0x477d('0x4249')+_0x477d('0x424d')+_0x477d('0x36bb')+_0x477d('0x419e')+'\x0a'+_0x477d('0x424e')+_0x477d('0x424f')+_0x477d('0x4249')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.CAPACITY\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x36bb')+_0x477d('0x419e')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27OPENCHANNEL.STATUS\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4249')+_0x477d('0x4252')+_0x477d('0x36bb')+_0x477d('0x419e')+'\x0a'+_0x477d('0x4253')+_0x477d('0x4254')+_0x477d('0x4249')+_0x477d('0x4ee4')+_0x477d('0x36bb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.STATUS\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4249')+_0x477d('0x4ee5')+_0x477d('0x36bb')+_0x477d('0x419e')+_0x477d('0x41a3')+_0x477d('0x41a4')+_0x477d('0x4256')+_0x477d('0x4257')+_0x477d('0x4ee6')+_0x477d('0x4258')+_0x477d('0x6178')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41a3')+_0x477d('0x4ee8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5c69')+_0x477d('0x425b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-src=\x22{{vm.agents[value].userpic\x20&&\x20\x27api/users/\x27+vm.agents[value].id+\x27/avatar\x27\x20||\x20\x27assets/images/avatars/profile.png\x27}}\x22>\x0a'+_0x477d('0x425c')+_0x477d('0x425d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.agents[value].internal}}\x0a'+_0x477d('0x36a9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x425a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4267')+_0x477d('0x4263')+_0x477d('0x4264')+_0x477d('0x617a')+_0x477d('0x4268')+_0x477d('0x4266')+_0x477d('0x368a')+_0x477d('0x36a9')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4271')+_0x477d('0x4272')+_0x477d('0x4273')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4270')+_0x477d('0x4ef0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4278')+_0x477d('0x4279')+_0x477d('0x427a')+_0x477d('0x427b')+_0x477d('0x36bf')+_0x477d('0x413c')+'\x0a'+_0x477d('0x427c')+_0x477d('0x4271')+_0x477d('0x41ee')+_0x477d('0x427d')+_0x477d('0x427e')+_0x477d('0x36a9')+_0x477d('0x36bf')+_0x477d('0x413c')+_0x477d('0x427f')+_0x477d('0x4280')+_0x477d('0x4281')+'\x0a'+_0x477d('0x5774')+_0x477d('0x4271')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4283')+'\x0a'+_0x477d('0x4284')+_0x477d('0x4271')+_0x477d('0x41ee')+_0x477d('0x427d')+_0x477d('0x4ef3')+_0x477d('0x36a9')+_0x477d('0x36bf')+_0x477d('0x413c')+_0x477d('0x4285')+_0x477d('0x4ef4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.agents[value].smsCurrentCapacity\x20}}\x0a'+'\x0a'+_0x477d('0x4287')+_0x477d('0x4271')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x427d')+_0x477d('0x4288')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4271')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x413c')+_0x477d('0x4ef6')+_0x477d('0x428d')+_0x477d('0x428e')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4271')+_0x477d('0x41ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3947')+'\x0a'+_0x477d('0x4295')+_0x477d('0x4296')+_0x477d('0x4297')+_0x477d('0x617b')+_0x477d('0x4299')+_0x477d('0x3a52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4296')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x429c')+_0x477d('0x5777')+_0x477d('0x3c28')+_0x477d('0x429d')+_0x477d('0x617d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x429f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x42a3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x4296')+_0x477d('0x3c28')+_0x477d('0x429d')+_0x477d('0x6180')+_0x477d('0x429f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x42aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22\x20vm.agents[value].voicePause\x20&&\x20\x27DEFAULT\x20PAUSE\x27\x20===\x20vm.agents[value].pauseType\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.pause(vm.agents[value])\x22>\x0a'+_0x477d('0x3c30')+_0x477d('0x42a9')+_0x477d('0x42aa')+_0x477d('0x42ab')+_0x477d('0x42ac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3c30')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3c45')+_0x477d('0x3a4b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x42ae')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22SMS.UNPAUSE\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Unpause\x0a'+_0x477d('0x3a52')+_0x477d('0x3a4b')+_0x477d('0x41b9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x413c')+_0x477d('0x41a3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x41be')+'\x0a'+'\x0a'+_0x477d('0x4100')+_0x477d('0x6182')+_0x477d('0x3b2c')+_0x477d('0x42b9')+_0x477d('0x3699')+_0x477d('0x422f')+'\x0a'+'\x0a'+_0x477d('0x4230')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x419a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.NAME\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x6183')+_0x477d('0x6184')+_0x477d('0x6185')+_0x477d('0x6186')+_0x477d('0x42c1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41a4')+_0x477d('0x4256')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x417e')+_0x477d('0x4258')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a'+_0x477d('0x36bf')+_0x477d('0x413c')+_0x477d('0x41a3')+_0x477d('0x42c4')+_0x477d('0x42c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x42c6')+_0x477d('0x413c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x42c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41a7')+_0x477d('0x42c8')+_0x477d('0x413c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x42c9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f04')+_0x477d('0x3a43')+_0x477d('0x6187')+_0x477d('0x42cb')+_0x477d('0x3947')+'\x0a'+_0x477d('0x3a45')+_0x477d('0x4296')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x42cd')+_0x477d('0x3a52')+_0x477d('0x3a4b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x42d0')+_0x477d('0x3a52')+_0x477d('0x3a4b')+_0x477d('0x41b9')+_0x477d('0x42b0')+_0x477d('0x413c')+_0x477d('0x41a3')+_0x477d('0x41bc')+_0x477d('0x42d1')+_0x477d('0x41be')+'\x0a'+_0x477d('0x6188')+_0x477d('0x42d3')+'\x0a');_0x143a79[_0x477d('0x390')]('app/main/apps/sms/views/realtime/realtime.html',_0x477d('0x42d4')+_0x477d('0x3a18')+_0x477d('0x3b6b')+_0x477d('0x3b6c')+_0x477d('0x42d5')+_0x477d('0x42d6')+_0x477d('0x6189')+_0x477d('0x42d8')+_0x477d('0x384c')+_0x477d('0x42d9')+_0x477d('0x42d6')+_0x477d('0x618a')+_0x477d('0x42d8')+_0x477d('0x384c')+_0x477d('0x42db')+'\x0a'+_0x477d('0x42dc')+'\x0a'+_0x477d('0x3699')+'\x20\x20\x20\x20\x0a'+_0x477d('0x377d'));_0x143a79[_0x477d('0x390')]('app/main/apps/sms/views/smsAccounts/create/dialog.html','\x0a'+_0x477d('0x618b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x365d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x618c')+_0x477d('0x618d')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x618e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x618f')+_0x477d('0x39d2')+_0x477d('0x6190')+_0x477d('0x36bf')+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20key\x0a'+_0x477d('0x6191')+_0x477d('0x3e5f')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6192')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20key\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x205\x0a'+_0x477d('0x36bf')+_0x477d('0x39d9')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6193')+_0x477d('0x6194')+_0x477d('0x3e64')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x6195')+_0x477d('0x6196')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6197')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6198')+_0x477d('0x36bf')+_0x477d('0x3e68')+_0x477d('0x6199')+_0x477d('0x36bf')+_0x477d('0x39d9')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x619a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x619b')+_0x477d('0x39d2')+_0x477d('0x619c')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3e73')+_0x477d('0x619d')+_0x477d('0x619e')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cf')+_0x477d('0x3de0')+_0x477d('0x619f')+_0x477d('0x3a46')+_0x477d('0x61a0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ClickSend\x0a'+_0x477d('0x61a5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Plivo\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x61ac')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x61ad')+_0x477d('0x61ae')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x61af')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Phone\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x61b0')+_0x477d('0x61b1')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x61b2')+_0x477d('0x39d2')+_0x477d('0x61b3')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x61b4')+_0x477d('0x61b5')+_0x477d('0x61b6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x61b7')+_0x477d('0x39d2')+_0x477d('0x61b8')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x61b9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AuthToken\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Method\x0a'+_0x477d('0x61bc')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x3de0')+_0x477d('0x61bd')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Basic\x0a'+_0x477d('0x61be')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x61bf')+_0x477d('0x61c0')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Classic+\x0a'+_0x477d('0x3aac')+_0x477d('0x61c1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x61c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x61c3')+_0x477d('0x61c4')+_0x477d('0x61c5')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x61c6')+_0x477d('0x39d2')+_0x477d('0x61c7')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x61c8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Password\x0a'+_0x477d('0x61c9')+_0x477d('0x61ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x61cb')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Must\x20contain\x20at\x20least\x208\x20characters,\x20with\x20a\x20minimum\x20of\x201\x20lowercase\x20letter,\x201\x20uppercase\x20letter,\x201\x20numeric\x20character\x20and\x201\x20special\x20character\x20~!?*@#$%^&-_=+[{]}.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3eb4')+_0x477d('0x61cc')+_0x477d('0x61cd')+_0x477d('0x61ce')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cf')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x61cf')+_0x477d('0x39d2')+_0x477d('0x61d0')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x61d1')+_0x477d('0x61d2')+_0x477d('0x61d3')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cf')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x61d4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x61d5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x61d6')+_0x477d('0x61d7')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x61d8')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x3ab5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x38ad')+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+_0x477d('0x39dc')+_0x477d('0x387b')+_0x477d('0x61d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x477d('0x61da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22SMS.SAVE\x22\x20translate-attr-aria-label=\x22SMS.SAVE\x22>\x0a'+_0x477d('0x39e0')+_0x477d('0x39e1')+'\x0a'+_0x477d('0x61db')+_0x477d('0x3c8b')+_0x477d('0x61dc')+_0x477d('0x61dd')+_0x477d('0x61de')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x39e5')+_0x477d('0x61df')+_0x477d('0x61e0')+_0x477d('0x3a16')+_0x477d('0x61e1')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x39e9')+_0x477d('0x366a')+'\x0a');_0x143a79[_0x477d('0x390')](_0x477d('0x2099'),'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3d23')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x61e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+_0x477d('0x3661')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3663')+_0x477d('0x3dfc')+_0x477d('0x3dfd')+_0x477d('0x3dfe')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x477d('0x372b')+_0x477d('0x3669')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x61e3'),_0x477d('0x61e4')+_0x477d('0x61e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39c7')+_0x477d('0x61e6')+_0x477d('0x4d52')+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x3de0')+_0x477d('0x3e86')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22agent.canSelect\x20===\x20false\x22>{{\x20agent.name\x20}}\x0a'+_0x477d('0x3aac')+_0x477d('0x61e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x61e8')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x61e9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x61eb')+_0x477d('0x36bf')+_0x477d('0x3de9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a'+_0x477d('0x3deb')+_0x477d('0x3e23')+_0x477d('0x61ec')+_0x477d('0x3deb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3b1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x61ed')+_0x477d('0x39de')+_0x477d('0x61ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22SMS.SAVE\x22\x20translate-attr-aria-label=\x22SMS.SAVE\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x61ef'),_0x477d('0x61e4')+_0x477d('0x61e5')+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20accesskeyid\x0a'+_0x477d('0x3e92')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x61f0')+_0x477d('0x39d2')+_0x477d('0x61f1')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x61f2')+_0x477d('0x3e94')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x61f3')+_0x477d('0x36bf')+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20lexregion\x0a'+_0x477d('0x3e98')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x3de0')+_0x477d('0x3e99')+_0x477d('0x3a46')+_0x477d('0x3e9a')+_0x477d('0x3e9b')+_0x477d('0x3a46')+_0x477d('0x5d36')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20lexregion\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x61f4')+_0x477d('0x5d39')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x61f5')+_0x477d('0x39d2')+_0x477d('0x61f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x61f7')+_0x477d('0x3ea2')+_0x477d('0x61f8')+_0x477d('0x3ea4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x61f9')+_0x477d('0x36bf')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3ea6')+_0x477d('0x61fa')+_0x477d('0x36bf')+_0x477d('0x39ca')+_0x477d('0x3670')+_0x477d('0x3867')+_0x477d('0x3eb4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3663')+'\x0a'+_0x477d('0x3b1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x61ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x477d('0x61ee')+_0x477d('0x61fb')+_0x477d('0x39e0')+_0x477d('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3669')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x61fc'),_0x477d('0x61e4')+_0x477d('0x61e5')+_0x477d('0x381e')+_0x477d('0x365d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x477d('0x3843')+_0x477d('0x3844')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x61fd')+_0x477d('0x3eab')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5e')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x3de0')+_0x477d('0x3eac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ead')+_0x477d('0x3eae')+_0x477d('0x3a46')+_0x477d('0x55a8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20times\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Text\x0a'+_0x477d('0x3eb2')+_0x477d('0x3ea4')+_0x477d('0x61fe')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x61ff')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x3867')+_0x477d('0x3eb4')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x61ed')+_0x477d('0x39de')+_0x477d('0x61ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22SMS.SAVE\x22\x20translate-attr-aria-label=\x22SMS.SAVE\x22>\x0a'+_0x477d('0x39e0')+_0x477d('0x39e1')+_0x477d('0x36c0')+_0x477d('0x3669')+'\x20\x20\x20\x20\x0a'+'\x0a');_0x143a79[_0x477d('0x390')](_0x477d('0x6200'),_0x477d('0x61e4')+_0x477d('0x61e5')+_0x477d('0x381e')+_0x477d('0x365d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Disposition\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+_0x477d('0x3b1a')+_0x477d('0x3b1b')+_0x477d('0x61ed')+_0x477d('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22smsAccountFormApp.$invalid\x20||\x20smsAccountFormApp.$pristine\x22\x0a'+_0x477d('0x61fb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x477d('0x39e1')+_0x477d('0x36c0')+_0x477d('0x3669')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x6203'),_0x477d('0x61e4')+'\x20\x20\x20\x20\x0a'+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x36e5')+_0x477d('0x39c7')+_0x477d('0x6204')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x6205')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6206')+_0x477d('0x3ebd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x3de0')+_0x477d('0x5d4e')+_0x477d('0x3a46')+_0x477d('0x6207')+_0x477d('0x3ebe')+_0x477d('0x3a46')+_0x477d('0x3ebf')+_0x477d('0x3ec0')+_0x477d('0x3a46')+_0x477d('0x6208')+_0x477d('0x5d4f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ec1')+_0x477d('0x3ec2')+_0x477d('0x3a46')+_0x477d('0x3ec3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20French\x0a'+_0x477d('0x3ec5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ec6')+_0x477d('0x5d50')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ec7')+_0x477d('0x3ec8')+_0x477d('0x3a46')+_0x477d('0x3ec9')+_0x477d('0x3eca')+_0x477d('0x3a46')+_0x477d('0x3ecb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Portuguese\x20(Nrazilian)\x0a'+_0x477d('0x5d51')+_0x477d('0x3a46')+_0x477d('0x3ed1')+_0x477d('0x3ed2')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Swedish\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Chinese\x20(Traditional)\x0a'+_0x477d('0x3aac')+_0x477d('0x620b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x620c')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3e73')+_0x477d('0x61f7')+_0x477d('0x3edf')+_0x477d('0x61f8')+_0x477d('0x3ea4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20welcomemessage\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ea6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20welcomemessage\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255\x0a'+_0x477d('0x36bf')+_0x477d('0x39ca')+_0x477d('0x3670')+_0x477d('0x3867')+_0x477d('0x3eb4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x61ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x477d('0x61ee')+_0x477d('0x61fb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x477d('0x39e1')+_0x477d('0x36c0')+_0x477d('0x3669')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79['put'](_0x477d('0x620d'),_0x477d('0x61e4')+_0x477d('0x61e5')+_0x477d('0x381e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Condition\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Condition\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x620e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d6')+_0x477d('0x620f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6210')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6211')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ee8')+_0x477d('0x36a1')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20falsepriority\x0a'+_0x477d('0x4d63')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3ee5')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x6212')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20falsepriority\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3de9')+_0x477d('0x6213')+_0x477d('0x3deb')+_0x477d('0x3ee8')+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+_0x477d('0x39c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+_0x477d('0x3b1a')+_0x477d('0x3b1b')+_0x477d('0x61ed')+_0x477d('0x39de')+_0x477d('0x61ee')+_0x477d('0x61fb')+_0x477d('0x39e0')+_0x477d('0x39e1')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x6214'),_0x477d('0x61e4')+_0x477d('0x61e5')+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x39db')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x6215')+_0x477d('0x3eed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3eee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cd')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x6216')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6217')+_0x477d('0x36bf')+_0x477d('0x3de9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Priority\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ee8')+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x39c3')+_0x477d('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b1b')+_0x477d('0x61ed')+_0x477d('0x39de')+_0x477d('0x61ee')+_0x477d('0x61fb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x3669')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x2052'),_0x477d('0x3ef3')+_0x477d('0x3ef4')+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x3aea')+_0x477d('0x3aeb')+_0x477d('0x3aec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x3aee')+_0x477d('0x36bf')+_0x477d('0x3aef')+_0x477d('0x3af0')+_0x477d('0x3674')+_0x477d('0x3670')+_0x477d('0x36c0')+'\x0a'+_0x477d('0x3eb4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ef5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ef7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4d6c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Intervals\x0a'+_0x477d('0x3ef9')+_0x477d('0x3efa')+_0x477d('0x36a0')+_0x477d('0x36a1')+'\x0a'+_0x477d('0x3efb')+_0x477d('0x3efc')+_0x477d('0x3efd')+_0x477d('0x3c57')+_0x477d('0x4d6d')+_0x477d('0x3efe')+_0x477d('0x3eff')+_0x477d('0x3f00')+_0x477d('0x3f01')+_0x477d('0x40da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f03')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f04')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Time\x20Range\x20To\x20field\x20is\x20invalid\x0a'+_0x477d('0x36a9')+_0x477d('0x399e')+_0x477d('0x3f06')+_0x477d('0x36a9')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x3f08')+'\x0a'+_0x477d('0x3f09')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Week\x20Days\x0a'+_0x477d('0x3efd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f0c')+_0x477d('0x3f0d')+_0x477d('0x3f0e')+_0x477d('0x3f0f')+_0x477d('0x3b15')+_0x477d('0x39a2')+'\x0a'+_0x477d('0x3f10')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20To\x0a'+_0x477d('0x3f12')+_0x477d('0x3f0f')+_0x477d('0x3b15')+_0x477d('0x3f13')+_0x477d('0x36bf')+_0x477d('0x39a2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f14')+'\x0a'+_0x477d('0x4d6f')+_0x477d('0x4d70')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f15')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20From\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f0e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20month\x20}}\x0a'+_0x477d('0x3b15')+_0x477d('0x39a2')+'\x0a'+_0x477d('0x3f17')+_0x477d('0x3f11')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f19')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x4d71')+'\x0a'+_0x477d('0x4d72')+_0x477d('0x3f1a')+_0x477d('0x3efd')+_0x477d('0x3f15')+_0x477d('0x3f0c')+_0x477d('0x3f1b')+_0x477d('0x3f0e')+_0x477d('0x3f1c')+_0x477d('0x3b15')+'\x0a'+_0x477d('0x39a2')+'\x0a'+_0x477d('0x4d73')+_0x477d('0x3f11')+_0x477d('0x3f1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20month.value\x20|\x20ucfirst\x20}}\x0a'+_0x477d('0x3b15')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3aea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3aec')+_0x477d('0x3aed')+_0x477d('0x3aee')+_0x477d('0x36bf')+_0x477d('0x3aef')+_0x477d('0x3af0')+_0x477d('0x3674')+_0x477d('0x3670')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3b1a')+_0x477d('0x387b')+_0x477d('0x3f20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x477d('0x387e')+'\x0a'+_0x477d('0x3f21')+_0x477d('0x3f22')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x366a')+'\x0a');_0x143a79[_0x477d('0x390')](_0x477d('0x6218'),'\x0a'+_0x477d('0x61e5')+_0x477d('0x381e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c1')+_0x477d('0x3843')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39c7')+_0x477d('0x6219')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d6')+_0x477d('0x621a')+_0x477d('0x39d2')+_0x477d('0x621b')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x3ab5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b1b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39e0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x3669')+_0x477d('0x366a')+'\x0a');_0x143a79[_0x477d('0x390')](_0x477d('0x621c'),'\x0a'+_0x477d('0x61e5')+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39c7')+_0x477d('0x621d')+_0x477d('0x3f28')+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x3f29')+_0x477d('0x4d78')+_0x477d('0x3aac')+_0x477d('0x621e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x621f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3e73')+_0x477d('0x61e9')+_0x477d('0x4d7b')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3eee')+_0x477d('0x3de6')+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x61ea')+_0x477d('0x39d2')+_0x477d('0x61eb')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6220')+_0x477d('0x3deb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x61ec')+_0x477d('0x3deb')+_0x477d('0x3e24')+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3b1a')+_0x477d('0x3b1b')+_0x477d('0x61ed')+_0x477d('0x39de')+_0x477d('0x61ee')+_0x477d('0x61fb')+_0x477d('0x39e0')+_0x477d('0x39e1')+_0x477d('0x36c0')+_0x477d('0x3669')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x6221'),_0x477d('0x61e4')+_0x477d('0x61e5')+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Command\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x6222')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x6223')+_0x477d('0x3f30')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x3de0')+_0x477d('0x3f31')+_0x477d('0x3f32')+_0x477d('0x3f33')+_0x477d('0x3aac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x6224')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3eb4')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+_0x477d('0x3b1a')+_0x477d('0x3b1b')+_0x477d('0x61ed')+_0x477d('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22smsAccountFormApp.$invalid\x20||\x20smsAccountFormApp.$pristine\x22\x0a'+_0x477d('0x61fb')+_0x477d('0x39e0')+_0x477d('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3669')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79['put'](_0x477d('0x6225'),'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x6226')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x3663')+'\x0a'+_0x477d('0x3b1a')+_0x477d('0x3b1b')+_0x477d('0x61ed')+_0x477d('0x39de')+_0x477d('0x61ee')+_0x477d('0x61fb')+_0x477d('0x39e0')+_0x477d('0x39e1')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a');_0x143a79[_0x477d('0x390')](_0x477d('0x2073'),_0x477d('0x6229')+'\x20\x20\x20\x20\x0a'+_0x477d('0x381e')+_0x477d('0x365d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x39db')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39c7')+_0x477d('0x6204')+_0x477d('0x622a')+_0x477d('0x3e64')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x6205')+_0x477d('0x36bf')+_0x477d('0x39d9')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x6219')+_0x477d('0x622b')+_0x477d('0x3ea4')+_0x477d('0x622c')+_0x477d('0x39ca')+_0x477d('0x39d2')+_0x477d('0x621b')+_0x477d('0x36bf')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3670')+_0x477d('0x3867')+_0x477d('0x3e73')+_0x477d('0x61d6')+_0x477d('0x622d')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x622e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x39c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+_0x477d('0x39dc')+_0x477d('0x387b')+_0x477d('0x622f')+_0x477d('0x39de')+_0x477d('0x6230')+_0x477d('0x61fb')+_0x477d('0x39e0')+_0x477d('0x39e1')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a16')+_0x477d('0x61e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x2089'),'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x618c')+_0x477d('0x6235')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6236')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x39d9')+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3663')+'\x0a'+_0x477d('0x39dc')+_0x477d('0x387b')+_0x477d('0x6237')+_0x477d('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22smsDispositionForm.$invalid\x20||\x20smsDispositionForm.$pristine\x22\x0a'+_0x477d('0x61fb')+_0x477d('0x39e0')+_0x477d('0x39e1')+'\x0a'+_0x477d('0x6238')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22smsDispositionForm.$invalid\x22\x0a'+_0x477d('0x6239')+_0x477d('0x623a')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x39e5')+_0x477d('0x623b')+_0x477d('0x61e0')+_0x477d('0x3a16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x39e9')+'\x20\x20\x20\x20\x0a'+'\x0a');_0x143a79['put'](_0x477d('0x276'),'\x0a'+'\x0a'+_0x477d('0x39eb')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3b63')+_0x477d('0x623c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.gotoSmsAccounts()\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22SMS.GO_TO_SMSACCOUNTS\x22>\x0a'+_0x477d('0x3e04')+_0x477d('0x372b')+'\x0a'+_0x477d('0x387b')+'\x0a'+_0x477d('0x623d')+_0x477d('0x623e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x38e8')+_0x477d('0x3b65')+_0x477d('0x623f')+_0x477d('0x6240')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b68')+_0x477d('0x6241')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3ab5')+_0x477d('0x3e09')+_0x477d('0x6242')+_0x477d('0x3f77')+_0x477d('0x4581')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x38ad')+_0x477d('0x6243')+_0x477d('0x3e11')+_0x477d('0x3d05')+_0x477d('0x36e5')+'\x0a'+_0x477d('0x3699')+_0x477d('0x39f8')+'\x0a'+_0x477d('0x3a18')+_0x477d('0x3b6b')+'\x0a'+_0x477d('0x3b6c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f7a')+_0x477d('0x6244')+_0x477d('0x3f7b')+_0x477d('0x3e14')+_0x477d('0x6245')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GENERAL\x0a'+_0x477d('0x385c')+_0x477d('0x3e17')+_0x477d('0x3e18')+_0x477d('0x618c')+_0x477d('0x618d')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cd')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4ea1')+_0x477d('0x3dda')+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1a')+_0x477d('0x39d2')+_0x477d('0x6190')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x6246')+_0x477d('0x6191')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-maxlength=\x225\x22\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x4da2')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20key\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20key\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x205\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d9')+_0x477d('0x36a1')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x0a'+_0x477d('0x6247')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x3de0')+_0x477d('0x3e6e')+_0x477d('0x3e6f')+_0x477d('0x3aac')+_0x477d('0x6248')+_0x477d('0x3f82')+_0x477d('0x39d2')+_0x477d('0x619c')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3e73')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x0a'+_0x477d('0x619e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x619f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x61a0')+_0x477d('0x6249')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x61a1')+_0x477d('0x61a2')+_0x477d('0x3a46')+_0x477d('0x61a3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CSCTelecom\x0a'+_0x477d('0x61aa')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Intelepeer\x0a'+_0x477d('0x3aac')+_0x477d('0x503a')+_0x477d('0x39d2')+_0x477d('0x61ac')+_0x477d('0x36bf')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e73')+_0x477d('0x61ad')+_0x477d('0x61ae')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x4342')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x624d')+_0x477d('0x36bf')+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x624e')+_0x477d('0x61b0')+_0x477d('0x61b1')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x624f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x61b3')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x61b4')+_0x477d('0x61b5')+_0x477d('0x61b6')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6250')+_0x477d('0x39d2')+_0x477d('0x61b8')+_0x477d('0x36bf')+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x61b9')+_0x477d('0x6251')+_0x477d('0x6252')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x6253')+_0x477d('0x39d2')+_0x477d('0x61bb')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x6254')+_0x477d('0x6255')+_0x477d('0x61bc')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x3de0')+_0x477d('0x61bd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f57')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Classic+\x0a'+_0x477d('0x3aac')+_0x477d('0x6256')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x61c2')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x61c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Username\x0a'+_0x477d('0x61c5')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x5134')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Username\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x61c8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Password\x0a'+_0x477d('0x61c9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-placeholder=\x22SMS.PASSWORD\x22\x20\x20required\x20\x20>\x0a'+_0x477d('0x5136')+_0x477d('0x39d2')+_0x477d('0x61cb')+_0x477d('0x36bf')+_0x477d('0x5041')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Must\x20contain\x20at\x20least\x208\x20characters,\x20with\x20a\x20minimum\x20of\x201\x20lowercase\x20letter,\x201\x20uppercase\x20letter,\x201\x20numeric\x20character\x20and\x201\x20special\x20character\x20~!?*@#$%^&-_=+[{]}.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x3eb4')+_0x477d('0x61cc')+_0x477d('0x61cd')+_0x477d('0x61ce')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x6257')+_0x477d('0x39d2')+_0x477d('0x61d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ApiKey\x0a'+_0x477d('0x61d3')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cd')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x519d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x61d5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6258')+_0x477d('0x6259')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-maxlength=\x2211\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-pattern=\x22/^[A-Za-z0-9\x5c.\x5cs]*$/i\x22\x20\x20\x0a'+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x625a')+_0x477d('0x36bf')+_0x477d('0x3dde')+_0x477d('0x625b')+_0x477d('0x36bf')+_0x477d('0x3e61')+_0x477d('0x625c')+_0x477d('0x36bf')+_0x477d('0x39d9')+_0x477d('0x36a1')+_0x477d('0x625d')+_0x477d('0x625e')+_0x477d('0x3eb4')+_0x477d('0x3867')+_0x477d('0x3e73')+_0x477d('0x625f')+_0x477d('0x6260')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x221\x22\x20\x20\x20\x0a'+_0x477d('0x3de6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x3f88')+_0x477d('0x39d2')+_0x477d('0x6261')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3de9')+_0x477d('0x6262')+_0x477d('0x3deb')+_0x477d('0x3e23')+_0x477d('0x6263')+_0x477d('0x3deb')+_0x477d('0x3e24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x0a'+_0x477d('0x61d7')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x3e25')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6264')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x6265')+_0x477d('0x5da4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5da6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6266')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6267')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6268')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6269')+_0x477d('0x5da6')+_0x477d('0x5da7')+_0x477d('0x626a')+_0x477d('0x54d5')+_0x477d('0x626b')+_0x477d('0x6267')+_0x477d('0x3eb4')+_0x477d('0x3e26')+_0x477d('0x3e27')+_0x477d('0x626c')+_0x477d('0x3f7d')+_0x477d('0x626d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20notificationSound\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3867')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x626e')+_0x477d('0x3eb4')+_0x477d('0x3867')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x626f')+_0x477d('0x6270')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e27')+_0x477d('0x6271')+_0x477d('0x3f7d')+_0x477d('0x6272')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f94')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6273')+_0x477d('0x3eb4')+_0x477d('0x3867')+_0x477d('0x6274')+_0x477d('0x6275')+_0x477d('0x6276')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x221\x22\x20\x20\x20\x0a'+_0x477d('0x3de6')+_0x477d('0x39cd')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x560a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6277')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3de9')+_0x477d('0x6278')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20queueTransferTimeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x202147483\x0a'+_0x477d('0x3deb')+_0x477d('0x3e24')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x6279')+_0x477d('0x3eb4')+_0x477d('0x3867')+_0x477d('0x627a')+_0x477d('0x627b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20agentTransferTimeout\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3de9')+_0x477d('0x627c')+_0x477d('0x3deb')+_0x477d('0x3e23')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20agentTransferTimeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x202147483\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e24')+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x3e26')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e28')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADVANCED\x0a'+_0x477d('0x3f7b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x627d')+_0x477d('0x3f7d')+_0x477d('0x627e')+_0x477d('0x385c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e18')+_0x477d('0x627f')+_0x477d('0x6280')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x3e19')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20disabled\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x5dbc')+_0x477d('0x39d2')+_0x477d('0x6281')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x6193')+_0x477d('0x6194')+_0x477d('0x3e64')+_0x477d('0x39cb')+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6282')+_0x477d('0x39d2')+_0x477d('0x6197')+_0x477d('0x36bf')+_0x477d('0x3e66')+_0x477d('0x6198')+_0x477d('0x36bf')+_0x477d('0x3e68')+_0x477d('0x6199')+_0x477d('0x36bf')+_0x477d('0x39d9')+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x3e26')+_0x477d('0x3e27')+_0x477d('0x6283')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6284')+_0x477d('0x385c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6285')+_0x477d('0x3eb4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6286')+_0x477d('0x6287')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6289')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3eb4')+_0x477d('0x3e26')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e28')+_0x477d('0x3e29')+_0x477d('0x3e12')+_0x477d('0x3f7a')+_0x477d('0x628a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e14')+_0x477d('0x628b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x628c')+_0x477d('0x4100')+_0x477d('0x628d')+_0x477d('0x4102')+_0x477d('0x4103')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4105')+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4106')+_0x477d('0x628e')+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20{{vm_dc.selectedSmsAccountSmsDispositions.length}}\x20{{vm_dc.selectedSmsAccountSmsDispositions.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x628f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x410c')+_0x477d('0x6290')+_0x477d('0x6291')+_0x477d('0x410f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x40da')+_0x477d('0x4106')+'\x20\x20\x0a'+_0x477d('0x6292')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4113')+_0x477d('0x4114')+_0x477d('0x6293')+_0x477d('0x4115')+_0x477d('0x4116')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.NAME\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x4115')+_0x477d('0x411d')+_0x477d('0x6294')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x414c')+_0x477d('0x411e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4120')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6295')+_0x477d('0x6296')+_0x477d('0x4123')+_0x477d('0x6297')+_0x477d('0x6298')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6299')+_0x477d('0x629a')+_0x477d('0x412e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x412f')+_0x477d('0x629b')+_0x477d('0x4130')+_0x477d('0x4155')+'\x20\x0a'+_0x477d('0x4156')+_0x477d('0x4157')+_0x477d('0x629c')+_0x477d('0x629d')+_0x477d('0x4133')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4134')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x629e')+_0x477d('0x3a52')+_0x477d('0x415b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4137')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x629f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x417f')+_0x477d('0x62a0')+_0x477d('0x413b')+_0x477d('0x413c')+_0x477d('0x411e')+_0x477d('0x413d')+_0x477d('0x413e')+_0x477d('0x413f')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3fa6')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e28')+_0x477d('0x3e29')+_0x477d('0x3e12')+_0x477d('0x3f7a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CANNEDANSWERS\x0a'+_0x477d('0x3f7b')+_0x477d('0x3e14')+_0x477d('0x62a1')+_0x477d('0x62a2')+_0x477d('0x62a3')+_0x477d('0x4100')+'\x20\x20\x20\x20\x20\x20SmsCannedAnswers\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x62a4')+_0x477d('0x62a5')+_0x477d('0x4105')+_0x477d('0x40e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4106')+_0x477d('0x62a6')+_0x477d('0x4108')+_0x477d('0x62a7')+_0x477d('0x3b2c')+_0x477d('0x62a8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x410c')+_0x477d('0x62a9')+_0x477d('0x6291')+_0x477d('0x410f')+_0x477d('0x3d05')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x0a'+_0x477d('0x4110')+_0x477d('0x62aa')+_0x477d('0x62ab')+_0x477d('0x4113')+_0x477d('0x4114')+_0x477d('0x6293')+_0x477d('0x4115')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.KEY\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x416d')+_0x477d('0x62ac')+_0x477d('0x4115')+_0x477d('0x416f')+_0x477d('0x62ad')+_0x477d('0x4115')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6294')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x414c')+_0x477d('0x411e')+_0x477d('0x411f')+_0x477d('0x4120')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x62ae')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{smsCannedAnswer.id}}\x0a'+_0x477d('0x4123')+_0x477d('0x62af')+_0x477d('0x62b0')+_0x477d('0x4123')+_0x477d('0x62af')+_0x477d('0x62b1')+_0x477d('0x4123')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x62b2')+_0x477d('0x4123')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20smsCannedAnswer.createdAt\x20|\x20formatdate\x20}}\x0a'+_0x477d('0x412e')+_0x477d('0x4153')+_0x477d('0x412f')+_0x477d('0x629b')+_0x477d('0x4130')+_0x477d('0x4155')+'\x20\x0a'+_0x477d('0x4156')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20SmsCannedAnswer\x0a'+_0x477d('0x4133')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4134')+_0x477d('0x62b3')+_0x477d('0x62b4')+_0x477d('0x3a52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x415c')+_0x477d('0x4137')+_0x477d('0x4138')+_0x477d('0x411e')+_0x477d('0x62b5')+_0x477d('0x417e')+_0x477d('0x417f')+_0x477d('0x62b6')+_0x477d('0x413b')+_0x477d('0x413c')+_0x477d('0x411e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x413e')+'\x20\x20\x0a'+_0x477d('0x62b7')+'\x20\x20\x0a'+'\x0a'+_0x477d('0x3e27')+_0x477d('0x3e28')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f7a')+_0x477d('0x62b8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x3e14')+_0x477d('0x62b9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4186')+_0x477d('0x4187')+_0x477d('0x4188')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x418b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Applications\x20List\x0a'+_0x477d('0x37cb')+_0x477d('0x418d')+_0x477d('0x418e')+_0x477d('0x37a7')+_0x477d('0x418f')+_0x477d('0x4190')+_0x477d('0x4e19')+'\x20\x20\x20\x20\x20\x20\x20\x20{{a.alias\x20||\x20a.appType}}

\x0a'+_0x477d('0x4192')+_0x477d('0x418e')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x0a'+_0x477d('0x4e1b')+_0x477d('0x4e1c')+'\x20\x20\x0a'+_0x477d('0x4e1d')+_0x477d('0x62ba')+_0x477d('0x4108')+_0x477d('0x5689')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4194')+_0x477d('0x380f')+_0x477d('0x392e')+_0x477d('0x62bb')+_0x477d('0x4108')+'\x20\x20\x20\x20\x20\x20\x20\x20{{vm_ac.selectedSmsAccountApps.length}}\x20{{vm_ac.selectedSmsAccountApps.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected\x0a'+_0x477d('0x3b2c')+_0x477d('0x62bc')+_0x477d('0x62bd')+_0x477d('0x4198')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x392e')+'\x0a'+_0x477d('0x568d')+_0x477d('0x4199')+_0x477d('0x62be')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x419a')+_0x477d('0x419b')+_0x477d('0x419c')+_0x477d('0x419d')+_0x477d('0x419e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4e23')+_0x477d('0x419e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41a0')+_0x477d('0x41a2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x419b')+_0x477d('0x419b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41a4')+_0x477d('0x41a5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41a7')+_0x477d('0x41a8')+_0x477d('0x413c')+_0x477d('0x62bf')+_0x477d('0x62c0')+_0x477d('0x62c1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{app.IntervalId\x20?\x20\x27From\x20List\x27\x20:\x20app.interval}}\x0a'+_0x477d('0x41a7')+_0x477d('0x41ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41af')+_0x477d('0x5693')+_0x477d('0x41b0')+_0x477d('0x452d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41b1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4e27')+_0x477d('0x3a44')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a45')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20App\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4b')+_0x477d('0x41b3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41b5')+_0x477d('0x3a52')+_0x477d('0x3a4b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41b7')+_0x477d('0x41b8')+_0x477d('0x3a52')+_0x477d('0x3a4b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x42b0')+_0x477d('0x413c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x62c2')+_0x477d('0x5e03')+_0x477d('0x41bb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41a3')+_0x477d('0x41bc')+_0x477d('0x41bd')+_0x477d('0x41be')+_0x477d('0x4e2b')+'\x0a'+_0x477d('0x41bf')+'\x0a'+_0x477d('0x41c0')+_0x477d('0x377d')+_0x477d('0x41c1')+_0x477d('0x377d')+'\x0a'+_0x477d('0x3e27')+_0x477d('0x3e28')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f7a')+_0x477d('0x62c3')+_0x477d('0x3f7b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x62c4')+_0x477d('0x62c5')+_0x477d('0x4100')+_0x477d('0x62c6')+_0x477d('0x4102')+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41c7')+_0x477d('0x41c8')+_0x477d('0x41c9')+_0x477d('0x41ca')+_0x477d('0x41cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x20\x27blink\x27:\x20vm_dc.query.search\x20}\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x62c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22refresh\x20Interactions\x22\x20translate\x20translate-attr-label=\x22SMS.REFRESH_INTERACTIONS\x22>\x0a'+_0x477d('0x41cd')+_0x477d('0x40e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4106')+_0x477d('0x62c8')+_0x477d('0x4108')+_0x477d('0x62c9')+_0x477d('0x3b2c')+_0x477d('0x62ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x410c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4110')+_0x477d('0x62cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4113')+_0x477d('0x4114')+_0x477d('0x6293')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41d2')+_0x477d('0x62cc')+_0x477d('0x4115')+_0x477d('0x41d2')+_0x477d('0x41d3')+_0x477d('0x41d2')+_0x477d('0x41d3')+_0x477d('0x4214')+_0x477d('0x62cd')+_0x477d('0x4115')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x62ce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x62cf')+_0x477d('0x4115')+_0x477d('0x4e3a')+_0x477d('0x62d0')+_0x477d('0x4115')+_0x477d('0x4214')+_0x477d('0x62d1')+_0x477d('0x4115')+_0x477d('0x41d8')+_0x477d('0x62d2')+_0x477d('0x4115')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x411e')+_0x477d('0x411f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x62d3')+'ng-class=\x22{\x27text-bold\x20text-italic\x27:\x20interaction.unreadMessages\x20>\x200}\x22>\x0a'+_0x477d('0x41da')+_0x477d('0x41db')+_0x477d('0x4123')+_0x477d('0x41dc')+_0x477d('0x4e3e')+_0x477d('0x56a3')+_0x477d('0x4e3f')+_0x477d('0x41dd')+_0x477d('0x41de')+_0x477d('0x41f4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41e0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x200\x22\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20interaction.unreadMessages}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3939')+_0x477d('0x41e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41e5')+_0x477d('0x41e0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41e6')+_0x477d('0x4baa')+_0x477d('0x41e7')+_0x477d('0x41e8')+_0x477d('0x41e9')+_0x477d('0x41ea')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41eb')+_0x477d('0x4e40')+_0x477d('0x412e')+_0x477d('0x4e41')+_0x477d('0x41ec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41ee')+_0x477d('0x41ef')+_0x477d('0x36a9')+_0x477d('0x40da')+_0x477d('0x412e')+_0x477d('0x41f0')+_0x477d('0x4128')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x62d4')+_0x477d('0x41f2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-\x20{{\x20interaction.substatus\x20}}\x0a'+_0x477d('0x41f4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41f5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.CLOSED\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x41f7')+_0x477d('0x41f8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4123')+_0x477d('0x3a46')+_0x477d('0x4e47')+_0x477d('0x4e48')+_0x477d('0x4123')+_0x477d('0x4e49')+_0x477d('0x41f9')+_0x477d('0x41fa')+_0x477d('0x41fb')+_0x477d('0x41fc')+_0x477d('0x41fd')+_0x477d('0x41fe')+_0x477d('0x41ff')+_0x477d('0x36a9')+_0x477d('0x412e')+_0x477d('0x56a9')+_0x477d('0x412f')+_0x477d('0x629b')+_0x477d('0x4130')+_0x477d('0x4155')+'\x20\x0a'+_0x477d('0x4156')+_0x477d('0x4200')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4202')+_0x477d('0x3a52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4203')+_0x477d('0x62d5')+_0x477d('0x62d6')+_0x477d('0x4206')+_0x477d('0x415b')+_0x477d('0x4e4d')+_0x477d('0x62d7')+_0x477d('0x420a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x415b')+_0x477d('0x415c')+_0x477d('0x4137')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x411e')+_0x477d('0x62d8')+_0x477d('0x420b')+_0x477d('0x417f')+_0x477d('0x62d9')+_0x477d('0x413b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x413e')+_0x477d('0x413f')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3fa6')+'\x0a'+_0x477d('0x3e27')+_0x477d('0x3e28')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e2a')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3a5a')+'\x0a'+_0x477d('0x377d'));_0x143a79[_0x477d('0x390')](_0x477d('0x273'),_0x477d('0x62da')+'\x0a'+_0x477d('0x39eb')+_0x477d('0x3bef')+'\x0a'+_0x477d('0x3abc')+_0x477d('0x37cd')+_0x477d('0x39ec')+_0x477d('0x39ed')+_0x477d('0x62db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x62dc')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39ef')+'\x0a'+_0x477d('0x39f0')+_0x477d('0x39f1')+_0x477d('0x39f2')+_0x477d('0x39f3')+_0x477d('0x39f4')+_0x477d('0x39f5')+_0x477d('0x3abf')+_0x477d('0x62dd')+_0x477d('0x39a2')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36bf')+_0x477d('0x3699')+_0x477d('0x39f8')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x62de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22>\x0a'+'\x0a'+_0x477d('0x62df')+_0x477d('0x39fc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Back\x0a'+_0x477d('0x372b')+_0x477d('0x36e5')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a00')+_0x477d('0x62e0')+_0x477d('0x62e1')+_0x477d('0x62e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3daf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a0a')+_0x477d('0x62e3')+_0x477d('0x3a0c')+_0x477d('0x3832')+_0x477d('0x3a0f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x62e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Select\x20none\x0a'+_0x477d('0x3832')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a11')+_0x477d('0x36c0')+'\x0a'+_0x477d('0x3ac4')+_0x477d('0x62e5')+_0x477d('0x3a13')+_0x477d('0x3a14')+_0x477d('0x62e6')+_0x477d('0x62e7')+_0x477d('0x3a16')+_0x477d('0x387e')+_0x477d('0x382a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3a19')+'\x0a'+_0x477d('0x3a1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a1b')+_0x477d('0x62e8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a1e')+_0x477d('0x62e9')+_0x477d('0x62ea')+_0x477d('0x3a21')+_0x477d('0x3a22')+_0x477d('0x62eb')+_0x477d('0x62ec')+_0x477d('0x62ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.LIST\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x62ee')+_0x477d('0x62ef')+_0x477d('0x62f0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a2c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a2e')+_0x477d('0x62f1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a30')+_0x477d('0x62f2')+_0x477d('0x3a31')+_0x477d('0x3a32')+_0x477d('0x3a2c')+_0x477d('0x62f3')+_0x477d('0x62f4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x62f5')+_0x477d('0x62f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20(vm.lists\x20|\x20filter\x20:\x20{\x27id\x27:smsAccount.ListId}\x20:\x20true)[0].name\x20}}\x0a'+_0x477d('0x62fa')+_0x477d('0x62fb')+_0x477d('0x62fa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22phone\x20\x22\x20>{{smsAccount.phone}}\x0a'+_0x477d('0x62f8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22description\x20\x22\x20>{{smsAccount.description}}\x0a'+_0x477d('0x3ad9')+'\x0a'+_0x477d('0x3a42')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3d9e')+_0x477d('0x62fc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3adc')+'\x0a'+_0x477d('0x62fd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22SMS.EDIT_SMSACCOUNT\x22>\x0a'+_0x477d('0x62fe')+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3a47')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3dc6')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3dc6')+'\x0a'+_0x477d('0x6300')+_0x477d('0x6301')+_0x477d('0x6302')+_0x477d('0x3a52')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3693')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x0a'+_0x477d('0x3a2c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ae2')+_0x477d('0x3a57')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ae4')+_0x477d('0x6305')+_0x477d('0x3a59')+'\x0a'+_0x477d('0x3cb5')+_0x477d('0x36e5')+_0x477d('0x3ae6')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x6306')+_0x477d('0x6307')+_0x477d('0x6308')+_0x477d('0x3cb8')+_0x477d('0x3735')+_0x477d('0x6309')+_0x477d('0x3699'));_0x143a79[_0x477d('0x390')](_0x477d('0x630a'),_0x477d('0x630b')+_0x477d('0x630c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c1')+_0x477d('0x3843')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c4')+_0x477d('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6190')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x630f')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x6310')+_0x477d('0x6311')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3a5e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x3de1')+_0x477d('0x3a46')+_0x477d('0x3e1e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6312')+_0x477d('0x39d2')+_0x477d('0x6313')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3e73')+_0x477d('0x6314')+_0x477d('0x6315')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3ee5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20max=\x222147483\x22\x20\x20\x0a'+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x6316')+_0x477d('0x36bf')+_0x477d('0x3de9')+_0x477d('0x6317')+_0x477d('0x3deb')+_0x477d('0x3e23')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent_Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x202147483\x0a'+_0x477d('0x3deb')+_0x477d('0x3e24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x0a'+_0x477d('0x6318')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6319')+_0x477d('0x39d2')+_0x477d('0x6264')+_0x477d('0x36bf')+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ab5')+_0x477d('0x39c3')+_0x477d('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c5')+_0x477d('0x39c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3663')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x631a')+_0x477d('0x39de')+_0x477d('0x631b')+_0x477d('0x61fb')+_0x477d('0x39e0')+_0x477d('0x39e1')+'\x0a'+_0x477d('0x631c')+_0x477d('0x3c8b')+_0x477d('0x631d')+_0x477d('0x631e')+_0x477d('0x631f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6320')+_0x477d('0x61e0')+_0x477d('0x3a16')+_0x477d('0x61e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x39e9')+_0x477d('0x366a')+'\x0a');_0x143a79[_0x477d('0x390')](_0x477d('0x203b'),'\x0a'+_0x477d('0x6321')+_0x477d('0x3d23')+_0x477d('0x3dfa')+_0x477d('0x6322')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+_0x477d('0x3661')+_0x477d('0x3dfb')+_0x477d('0x3663')+_0x477d('0x3dfc')+_0x477d('0x3dfd')+_0x477d('0x3dfe')+_0x477d('0x3b6a')+_0x477d('0x372b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79['put'](_0x477d('0x20cd'),'\x0a'+_0x477d('0x6321')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6323')+_0x477d('0x3d25')+_0x477d('0x3843')+_0x477d('0x3844')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x3660')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3dfb')+_0x477d('0x3663')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3dfd')+_0x477d('0x4e97')+_0x477d('0x3b6a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3669')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79['put'](_0x477d('0x270'),'\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3b62')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6324')+_0x477d('0x6325')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22SMS.GO_TO_SMSQUEUES\x22>\x0a'+_0x477d('0x3e04')+_0x477d('0x372b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x6326')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+'\x0a'+_0x477d('0x38e8')+_0x477d('0x3b65')+_0x477d('0x6327')+_0x477d('0x6328')+_0x477d('0x36bf')+_0x477d('0x3b68')+_0x477d('0x6329')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x632c')+_0x477d('0x3e10')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x38ad')+_0x477d('0x632d')+_0x477d('0x3e11')+_0x477d('0x3d05')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3699')+_0x477d('0x39f8')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6244')+_0x477d('0x3f7b')+_0x477d('0x3e14')+_0x477d('0x632e')+_0x477d('0x3f7d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GENERAL\x0a'+_0x477d('0x385c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x618c')+_0x477d('0x632f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3dd8')+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ce')+_0x477d('0x3e19')+_0x477d('0x4ea1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x630d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x6190')+_0x477d('0x36bf')+_0x477d('0x3dde')+_0x477d('0x630f')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Strategy\x0a'+_0x477d('0x6311')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x3de0')+_0x477d('0x3de1')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Beepall\x0a'+_0x477d('0x3e1f')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>RR\x20Memory\x0a'+_0x477d('0x3aac')+_0x477d('0x3e20')+_0x477d('0x39d2')+_0x477d('0x6313')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6314')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x61d6')+_0x477d('0x6318')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x3e25')+_0x477d('0x39d2')+_0x477d('0x6264')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x3e26')+_0x477d('0x3e27')+_0x477d('0x3e28')+_0x477d('0x3e29')+_0x477d('0x3e2a')+'\x0a'+_0x477d('0x3699')+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x0a');_0x143a79[_0x477d('0x390')](_0x477d('0x26b'),_0x477d('0x6331')+'\x0a'+_0x477d('0x39eb')+_0x477d('0x3bef')+'\x0a'+_0x477d('0x3abc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ec')+_0x477d('0x39ed')+_0x477d('0x62db')+_0x477d('0x3760')+_0x477d('0x6332')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ef')+'\x0a'+_0x477d('0x39f0')+_0x477d('0x39f1')+_0x477d('0x39f2')+_0x477d('0x39f3')+_0x477d('0x39f4')+_0x477d('0x39f5')+_0x477d('0x3abf')+_0x477d('0x62dd')+_0x477d('0x39a2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39f7')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x0a'+_0x477d('0x39f8')+'\x0a'+_0x477d('0x39f9')+'\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a'+_0x477d('0x39fa')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39fc')+_0x477d('0x39fd')+_0x477d('0x6333')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+'\x0a'+_0x477d('0x39ff')+'\x0a'+_0x477d('0x3a00')+_0x477d('0x6334')+_0x477d('0x6335')+_0x477d('0x62e2')+_0x477d('0x3760')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a04')+_0x477d('0x3a05')+_0x477d('0x3a06')+_0x477d('0x6336')+_0x477d('0x3a08')+_0x477d('0x3674')+_0x477d('0x3a09')+_0x477d('0x3a0a')+_0x477d('0x6337')+_0x477d('0x3a0c')+_0x477d('0x3832')+_0x477d('0x3a0f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6338')+_0x477d('0x3a0e')+_0x477d('0x3832')+_0x477d('0x3a0f')+_0x477d('0x3a10')+_0x477d('0x3a11')+_0x477d('0x36c0')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6339')+_0x477d('0x3a13')+_0x477d('0x3a14')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x633b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a22')+_0x477d('0x62eb')+_0x477d('0x62ec')+_0x477d('0x633c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a2c')+_0x477d('0x3a2d')+_0x477d('0x3a2e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3db9')+_0x477d('0x3a30')+_0x477d('0x62f2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a32')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x633d')+_0x477d('0x633e')+_0x477d('0x633f')+_0x477d('0x6340')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22id\x20\x22\x20>{{smsQueue.id}}\x0a'+_0x477d('0x6341')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22name\x20\x22\x20>{{smsQueue.name}}\x0a'+_0x477d('0x6342')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22strategy\x20\x22>{{\x20vm.arraystrategy[smsQueue.strategy].option\x20}}\x0a'+_0x477d('0x3dc1')+'\x0a'+_0x477d('0x3a42')+'\x0a'+_0x477d('0x3a43')+'\x0a'+_0x477d('0x3d9e')+_0x477d('0x62fc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6346')+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3a47')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4d')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6347')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3a47')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4d')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x6348')+_0x477d('0x6349')+_0x477d('0x634a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3dc6')+'\x0a'+_0x477d('0x634b')+_0x477d('0x634c')+_0x477d('0x634d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3693')+_0x477d('0x3939')+'\x0a'+'\x0a'+_0x477d('0x3a2c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ae2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ae4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a59')+'\x0a'+_0x477d('0x3cb5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ae6')+'\x0a'+_0x477d('0x3699')+_0x477d('0x3a5a')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x634e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20smsQueue\x22\x20translate\x20translate-attr-aria-label=\x22SMS.ADD_SMSQUEUE\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3735')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3699'));_0x143a79['put'](_0x477d('0x28a'),'\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3bef')+'\x0a'+_0x477d('0x3abc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ed')+_0x477d('0x634f')+_0x477d('0x3760')+_0x477d('0x6350')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39ef')+'\x0a'+_0x477d('0x39f0')+_0x477d('0x39f1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39f3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3abf')+_0x477d('0x6351')+_0x477d('0x39a2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36bf')+_0x477d('0x3699')+_0x477d('0x39f8')+'\x0a'+_0x477d('0x39f9')+_0x477d('0x6352')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22>\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39fc')+_0x477d('0x39fd')+_0x477d('0x6353')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+'\x0a'+_0x477d('0x39ff')+'\x0a'+_0x477d('0x3a00')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedAgents.length}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20selected\x0a'+_0x477d('0x3760')+'\x0a'+_0x477d('0x3daf')+_0x477d('0x3a04')+_0x477d('0x3a05')+_0x477d('0x3a06')+_0x477d('0x6354')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3674')+_0x477d('0x3a09')+_0x477d('0x3a0a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a0c')+_0x477d('0x3832')+_0x477d('0x3a0f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6355')+_0x477d('0x3a0e')+_0x477d('0x3832')+_0x477d('0x3a0f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a11')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3ac4')+_0x477d('0x6356')+_0x477d('0x3a13')+_0x477d('0x3a14')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3a17')+'\x0a'+_0x477d('0x3a18')+_0x477d('0x3a19')+'\x0a'+_0x477d('0x3a1a')+_0x477d('0x3ac6')+'\x0a'+_0x477d('0x3a1b')+_0x477d('0x6358')+_0x477d('0x3a1d')+_0x477d('0x3a1e')+_0x477d('0x6359')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a21')+_0x477d('0x3a22')+_0x477d('0x635a')+_0x477d('0x635b')+_0x477d('0x635c')+_0x477d('0x635d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27STAFF.PHONE\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x635e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27STAFF.INTERNAL\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27STAFF.DISABLED\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x635f')+_0x477d('0x3acb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a2d')+_0x477d('0x3a2e')+_0x477d('0x6360')+_0x477d('0x6361')+_0x477d('0x3a30')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a'+_0x477d('0x3a31')+_0x477d('0x3a32')+_0x477d('0x3a2c')+_0x477d('0x6362')+_0x477d('0x6363')+_0x477d('0x6364')+_0x477d('0x6365')+_0x477d('0x6366')+_0x477d('0x6367')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22name\x20\x22\x20>{{agent.name}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.arrayshowWebBar[agent.showWebBar].option\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{agent.mobile}}\x0a'+_0x477d('0x6367')+_0x477d('0x636a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x636e')+_0x477d('0x636f')+_0x477d('0x6370')+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3dc6')+'\x0a'+_0x477d('0x6371')+_0x477d('0x6372')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20teamadd\x20Agent\x0a'+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3caf')+'\x0a'+_0x477d('0x6373')+_0x477d('0x6374')+_0x477d('0x6375')+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3692')+'\x0a'+_0x477d('0x3693')+_0x477d('0x3939')+'\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ae2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x6376')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x6377')+_0x477d('0x3a59')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3699')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x6378')+_0x477d('0x6379')+_0x477d('0x637a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3735')+_0x477d('0x637b')+_0x477d('0x3699'));_0x143a79[_0x477d('0x390')](_0x477d('0x2100'),'\x0a'+_0x477d('0x637c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x637d')+_0x477d('0x637e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ce')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x637f')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x6380')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Username\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3dde')+_0x477d('0x6382')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Alias\x0a'+_0x477d('0x6383')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x6384')+_0x477d('0x39d2')+_0x477d('0x6385')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6386')+_0x477d('0x6387')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x3de0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Phonebar\x0a'+_0x477d('0x6388')+_0x477d('0x3a46')+_0x477d('0x6389')+_0x477d('0x638a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>WebRTC\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x638b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x638c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3e73')+_0x477d('0x638d')+_0x477d('0x638e')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x638f')+_0x477d('0x39d2')+_0x477d('0x6390')+_0x477d('0x36bf')+_0x477d('0x4328')+_0x477d('0x6391')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6392')+_0x477d('0x6393')+_0x477d('0x6394')+_0x477d('0x6395')+_0x477d('0x39d2')+_0x477d('0x6396')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5041')+_0x477d('0x6397')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6398')+_0x477d('0x6399')+_0x477d('0x639a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x639b')+_0x477d('0x36bf')+_0x477d('0x639c')+_0x477d('0x639d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3eb4')+_0x477d('0x639e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AutoInternal\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Internal\x0a'+_0x477d('0x639f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x6381')+_0x477d('0x3dda')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x63a0')+_0x477d('0x39d2')+_0x477d('0x63a1')+_0x477d('0x36bf')+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x63a2')+_0x477d('0x63a3')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x63a4')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x63a5')+_0x477d('0x63a6')+_0x477d('0x3eb4')+_0x477d('0x3867')+_0x477d('0x63a7')+_0x477d('0x63a8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3867')+_0x477d('0x63a9')+_0x477d('0x63aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RemoteControlPort\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x63ab')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Voicemail\x0a'+_0x477d('0x3eb4')+_0x477d('0x3867')+_0x477d('0x3eb4')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a16')+_0x477d('0x63b2')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x39e9')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x212c'),_0x477d('0x63b3')+_0x477d('0x637c')+_0x477d('0x381e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x63b4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20STAFF.CHANGE_PASSWORD\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x3aea')+_0x477d('0x3aeb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x3aed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x3aef')+_0x477d('0x3af0')+_0x477d('0x3674')+_0x477d('0x3670')+_0x477d('0x36c0')+_0x477d('0x63b5')+_0x477d('0x63b6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Password\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x63b8')+_0x477d('0x63b9')+_0x477d('0x63ba')+_0x477d('0x63bb')+_0x477d('0x63bc')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Password\x20field\x20is\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x0a'+_0x477d('0x36bf')+'\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Must\x20contain\x0a'+_0x477d('0x63bd')+_0x477d('0x63be')+_0x477d('0x36bf')+_0x477d('0x63bf')+_0x477d('0x63c0')+_0x477d('0x36bf')+'\x0a'+_0x477d('0x39ca')+'\x0a'+'\x0a'+'\x0a'+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x383b')+_0x477d('0x6399')+_0x477d('0x63c1')+_0x477d('0x63c2')+_0x477d('0x39d2')+_0x477d('0x63c3')+_0x477d('0x63c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x63c5')+_0x477d('0x63c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3aec')+_0x477d('0x3aed')+_0x477d('0x3aee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3aef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3674')+_0x477d('0x3670')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x63c7')+_0x477d('0x63c8')+_0x477d('0x63c9')+_0x477d('0x387d')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3669')+_0x477d('0x366a')+_0x477d('0x366b'));_0x143a79[_0x477d('0x390')](_0x477d('0x13f5'),'\x0a'+_0x477d('0x63ca')+_0x477d('0x3d23')+_0x477d('0x3dfa')+_0x477d('0x63cb')+_0x477d('0x3d25')+_0x477d('0x3843')+_0x477d('0x3844')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x3660')+_0x477d('0x3661')+_0x477d('0x63cc')+_0x477d('0x63cd')+_0x477d('0x5aa5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x5abd')+_0x477d('0x36bf')+_0x477d('0x5abe')+_0x477d('0x5aa7')+_0x477d('0x36bf')+_0x477d('0x3ea6')+_0x477d('0x5aa8')+_0x477d('0x36bf')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x63ce')+_0x477d('0x3663')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3dfd')+_0x477d('0x63cf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x477d('0x372b')+_0x477d('0x3669')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x20fd'),_0x477d('0x63d0')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3d23')+_0x477d('0x3dfa')+_0x477d('0x63d1')+_0x477d('0x3d25')+_0x477d('0x3843')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+_0x477d('0x3661')+_0x477d('0x3dfb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3dfc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4e97')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3669')+_0x477d('0x366a')+'\x0a');_0x143a79[_0x477d('0x390')]('app/main/apps/staff/views/agents/edit/view.html',_0x477d('0x63d2')+'\x0a'+_0x477d('0x39eb')+_0x477d('0x3b62')+_0x477d('0x3b63')+_0x477d('0x63d3')+_0x477d('0x63d4')+_0x477d('0x63d5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x372b')+'\x0a'+_0x477d('0x387b')+'\x0a'+_0x477d('0x63d6')+_0x477d('0x63d7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x38e8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x63d8')+_0x477d('0x63d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b68')+_0x477d('0x63da')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x63db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x63dc')+_0x477d('0x63dd')+_0x477d('0x63de')+_0x477d('0x63df')+_0x477d('0x3947')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x63e0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x63e1')+_0x477d('0x63e2')+_0x477d('0x3947')+_0x477d('0x63e3')+_0x477d('0x63e4')+_0x477d('0x63e5')+_0x477d('0x3947')+_0x477d('0x63e6')+_0x477d('0x63e7')+_0x477d('0x63e8')+_0x477d('0x3947')+_0x477d('0x63e9')+_0x477d('0x63ea')+_0x477d('0x63eb')+_0x477d('0x3947')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x63ec')+_0x477d('0x63ed')+_0x477d('0x3947')+_0x477d('0x63ee')+_0x477d('0x63ef')+_0x477d('0x63f0')+_0x477d('0x3947')+_0x477d('0x63f1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Fax\x0a'+_0x477d('0x63f2')+_0x477d('0x3947')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20whatsapp\x0a'+_0x477d('0x63f3')+_0x477d('0x3947')+_0x477d('0x63f4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3fab')+_0x477d('0x5281')+_0x477d('0x3e09')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x63f5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ab5')+_0x477d('0x5895')+_0x477d('0x63f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22md-fab\x20md-warn\x20md-icon-button\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22changepassword\x22\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x63f7')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x38ad')+_0x477d('0x63f8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x477d('0x3d05')+_0x477d('0x36e5')+'\x0a'+_0x477d('0x3699')+_0x477d('0x39f8')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3b6b')+'\x0a'+_0x477d('0x3b6c')+_0x477d('0x3e12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x63f9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x63fa')+_0x477d('0x3f7d')+_0x477d('0x63fb')+_0x477d('0x385c')+_0x477d('0x63fc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x637d')+_0x477d('0x637e')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x63fd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x637f')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x6380')+_0x477d('0x63fe')+_0x477d('0x39ca')+_0x477d('0x3dd8')+_0x477d('0x39cc')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3e19')+_0x477d('0x4ea1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x63ff')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6382')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6400')+_0x477d('0x6383')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x6385')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6386')+_0x477d('0x6387')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x3de0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20External\x0a'+_0x477d('0x638a')+_0x477d('0x3a46')+_0x477d('0x6402')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6403')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x638c')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x638d')+_0x477d('0x638e')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x6404')+_0x477d('0x39d2')+_0x477d('0x6390')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4328')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Email\x20must\x20be\x20a\x20valid\x20e-mail\x20address\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6405')+_0x477d('0x6406')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x6407')+_0x477d('0x39d2')+_0x477d('0x6408')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Mobile\x0a'+_0x477d('0x6409')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x640a')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x640b')+_0x477d('0x640c')+_0x477d('0x3eb4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e73')+_0x477d('0x640d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3867')+_0x477d('0x3e73')+_0x477d('0x63a2')+_0x477d('0x63a3')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x63a4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ab5')+_0x477d('0x3e26')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x640e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x640f')+_0x477d('0x385c')+_0x477d('0x6410')+_0x477d('0x6411')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Last_Password_Reset_At\x0a'+_0x477d('0x6412')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x3e19')+_0x477d('0x4ea1')+_0x477d('0x3dda')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x6413')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6414')+_0x477d('0x36bf')+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6415')+_0x477d('0x6412')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3e19')+_0x477d('0x4ea1')+_0x477d('0x3dda')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x6416')+_0x477d('0x39d2')+_0x477d('0x6417')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Disabled\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6418')+_0x477d('0x3867')+_0x477d('0x6419')+_0x477d('0x641a')+_0x477d('0x3eb4')+_0x477d('0x641b')+_0x477d('0x3867')+_0x477d('0x3eb4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e27')+_0x477d('0x641c')+_0x477d('0x3f7d')+_0x477d('0x641d')+_0x477d('0x377d')+_0x477d('0x641e')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4088')+_0x477d('0x407a')+_0x477d('0x36e5')+'\x0a'+_0x477d('0x407b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x407d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20You\x20can\x20also\x20drop\x20images\x20here\x20to\x20upload.\x20Only\x20PNG,\x20JPG\x20-\x20Max.\x208MB\x0a'+_0x477d('0x36e5')+'\x0a'+_0x477d('0x407f')+_0x477d('0x641f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4082')+_0x477d('0x6420')+_0x477d('0x4083')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+'\x0a'+_0x477d('0x6421')+_0x477d('0x6422')+_0x477d('0x3670')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3699')+_0x477d('0x377d')+'\x0a'+_0x477d('0x3e27')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e29')+_0x477d('0x3e12')+_0x477d('0x3f7a')+_0x477d('0x6423')+_0x477d('0x3f7b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6424')+_0x477d('0x3f7d')+_0x477d('0x6425')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e17')+_0x477d('0x6426')+_0x477d('0x6427')+_0x477d('0x639f')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x477d('0x3e19')+_0x477d('0x4ea1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x6428')+_0x477d('0x39d2')+_0x477d('0x63a1')+_0x477d('0x36bf')+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6429')+_0x477d('0x642a')+_0x477d('0x642b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x642c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+_0x477d('0x3de0')+_0x477d('0x642d')+_0x477d('0x3a46')+_0x477d('0x642e')+_0x477d('0x642f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6430')+_0x477d('0x6431')+_0x477d('0x6432')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>ws\x0a'+_0x477d('0x6433')+_0x477d('0x6432')+_0x477d('0x6434')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Transport\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3e73')+_0x477d('0x6438')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d6')+_0x477d('0x6439')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x643a')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x643b')+_0x477d('0x643c')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20multiple\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x643d')+_0x477d('0x3a46')+_0x477d('0x643e')+_0x477d('0x643f')+_0x477d('0x3a46')+_0x477d('0x6440')+_0x477d('0x6441')+_0x477d('0x3a46')+_0x477d('0x6442')+_0x477d('0x3ecc')+_0x477d('0x3a46')+_0x477d('0x6443')+_0x477d('0x579e')+_0x477d('0x3a46')+_0x477d('0x6444')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6446')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NAT\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3e73')+_0x477d('0x6447')+_0x477d('0x6448')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x3de0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x3e73')+_0x477d('0x644f')+_0x477d('0x6450')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x642c')+_0x477d('0x3a5e')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x3de0')+_0x477d('0x6451')+_0x477d('0x3a46')+_0x477d('0x6452')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gsm\x0a'+_0x477d('0x6454')+_0x477d('0x3a46')+_0x477d('0x6455')+_0x477d('0x6456')+_0x477d('0x3a46')+_0x477d('0x6457')+_0x477d('0x6458')+_0x477d('0x3a46')+_0x477d('0x6459')+_0x477d('0x645a')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>h264\x0a'+_0x477d('0x3aac')+_0x477d('0x645b')+_0x477d('0x645c')+_0x477d('0x39d2')+_0x477d('0x645d')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x3e73')+_0x477d('0x645e')+_0x477d('0x645f')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x6460')+_0x477d('0x39d2')+_0x477d('0x6461')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x6462')+_0x477d('0x6463')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x3de0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Context\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6465')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x6469')+_0x477d('0x646a')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x646b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x646c')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x646d')+_0x477d('0x3eb4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x646e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Yes\x0a'+_0x477d('0x3ecc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x646f')+_0x477d('0x6470')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Always\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6471')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Videosupport\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x3e73')+_0x477d('0x6472')+_0x477d('0x6473')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3a5e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+_0x477d('0x3de0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Inactive\x0a'+_0x477d('0x5b6f')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>wav\x0a'+_0x477d('0x6474')+_0x477d('0x3a46')+_0x477d('0x5b72')+_0x477d('0x5b73')+_0x477d('0x3a46')+_0x477d('0x5b74')+_0x477d('0x3aac')+_0x477d('0x6475')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MonitorExtension\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3eb4')+_0x477d('0x3e26')+_0x477d('0x3e27')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e29')+_0x477d('0x3e12')+_0x477d('0x3f7a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OTHER_CHANNELS\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x3e14')+_0x477d('0x6476')+_0x477d('0x3f7d')+_0x477d('0x6477')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6478')+_0x477d('0x6479')+_0x477d('0x647a')+_0x477d('0x647b')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x220\x22\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ce')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x647c')+_0x477d('0x647d')+_0x477d('0x39d2')+_0x477d('0x647e')+_0x477d('0x36bf')+_0x477d('0x3de9')+_0x477d('0x647f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ee8')+_0x477d('0x36a1')+_0x477d('0x6480')+_0x477d('0x6481')+_0x477d('0x6482')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3eee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x6483')+_0x477d('0x6484')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MailCapacity\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3de9')+_0x477d('0x6485')+_0x477d('0x3deb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6486')+_0x477d('0x6487')+_0x477d('0x6488')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3eee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6489')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x648a')+_0x477d('0x36bf')+_0x477d('0x3de9')+_0x477d('0x648b')+_0x477d('0x3deb')+_0x477d('0x3ee8')+_0x477d('0x36a1')+_0x477d('0x648c')+_0x477d('0x648d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OpenchannelCapacity\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3de9')+_0x477d('0x6490')+_0x477d('0x3deb')+_0x477d('0x3ee8')+_0x477d('0x36a1')+_0x477d('0x6491')+_0x477d('0x6492')+_0x477d('0x6493')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x220\x22\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x6494')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x6495')+_0x477d('0x36bf')+_0x477d('0x3de9')+_0x477d('0x6496')+_0x477d('0x3deb')+_0x477d('0x3ee8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6497')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x6498')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6499')+_0x477d('0x3deb')+_0x477d('0x3ee8')+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x3e26')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e28')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x649a')+_0x477d('0x3f7a')+_0x477d('0x649b')+_0x477d('0x3f7b')+_0x477d('0x3e14')+_0x477d('0x649c')+_0x477d('0x3f7d')+_0x477d('0x649d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x649e')+_0x477d('0x3e18')+_0x477d('0x649f')+_0x477d('0x3eb4')+_0x477d('0x3867')+_0x477d('0x3e73')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AutoAnswer\x0a'+_0x477d('0x3eb4')+_0x477d('0x3867')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x64a0')+_0x477d('0x64a1')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3eee')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x64a2')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AutoAnswerDelay\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3de9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AutoAnswerDelay\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a'+_0x477d('0x3deb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x64a3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x64a4')+_0x477d('0x3eb4')+_0x477d('0x3867')+_0x477d('0x3e73')+_0x477d('0x64a5')+_0x477d('0x3eb4')+_0x477d('0x3867')+_0x477d('0x3e73')+_0x477d('0x64a6')+_0x477d('0x3eb4')+_0x477d('0x3867')+_0x477d('0x3e73')+_0x477d('0x64a7')+_0x477d('0x3eb4')+_0x477d('0x3867')+_0x477d('0x63a7')+_0x477d('0x64a8')+_0x477d('0x3eb4')+_0x477d('0x3867')+_0x477d('0x64a9')+_0x477d('0x64aa')+_0x477d('0x3eb4')+_0x477d('0x3867')+_0x477d('0x64a9')+_0x477d('0x64ab')+_0x477d('0x3eb4')+_0x477d('0x64ac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3eb4')+_0x477d('0x3e26')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f7d')+_0x477d('0x64ad')+_0x477d('0x385c')+_0x477d('0x64ae')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x64af')+_0x477d('0x3eb4')+_0x477d('0x3867')+_0x477d('0x63a9')+_0x477d('0x63aa')+_0x477d('0x64b0')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x64b1')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RemoteControlPort\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3f85')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e26')+_0x477d('0x3e27')+_0x477d('0x64b2')+_0x477d('0x3f7d')+_0x477d('0x64b3')+_0x477d('0x385c')+_0x477d('0x64b4')+_0x477d('0x3e18')+_0x477d('0x64b5')+_0x477d('0x64b6')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x64b7')+_0x477d('0x64b8')+_0x477d('0x39d2')+_0x477d('0x64b9')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x64ba')+_0x477d('0x64bb')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x64bc')+_0x477d('0x64bd')+_0x477d('0x39d2')+_0x477d('0x64be')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e26')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x64bf')+_0x477d('0x3f7d')+_0x477d('0x64c0')+_0x477d('0x385c')+_0x477d('0x64c1')+_0x477d('0x3e18')+_0x477d('0x64c2')+_0x477d('0x3eb4')+_0x477d('0x3867')+_0x477d('0x64c3')+_0x477d('0x64c4')+_0x477d('0x64c5')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x64c6')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20UnconditionalNumber\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x3e26')+_0x477d('0x3e27')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e29')+_0x477d('0x64c7')+_0x477d('0x3f7a')+_0x477d('0x64c8')+_0x477d('0x3f7b')+_0x477d('0x3e14')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f7d')+_0x477d('0x64c9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x64ca')+_0x477d('0x3e18')+_0x477d('0x64cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x64cc')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dtlsprivatekey\x0a'+_0x477d('0x64cd')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x64ce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dtlsprivatekey\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x649f')+_0x477d('0x3eb4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e73')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AutoAnswer\x0a'+_0x477d('0x3eb4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x64cf')+_0x477d('0x64a0')+_0x477d('0x64a1')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3eee')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x64d0')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AutoAnswerDelay\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3de9')+_0x477d('0x64d1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ee8')+_0x477d('0x36a1')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EnableRecording\x0a'+_0x477d('0x3eb4')+_0x477d('0x3867')+_0x477d('0x3e73')+_0x477d('0x64a5')+_0x477d('0x3eb4')+_0x477d('0x3867')+_0x477d('0x3e73')+_0x477d('0x64a6')+_0x477d('0x3eb4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e26')+_0x477d('0x3e27')+_0x477d('0x64d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x64d3')+_0x477d('0x385c')+_0x477d('0x64d4')+_0x477d('0x3e18')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SipExpires\x0a'+_0x477d('0x64b6')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x64d5')+_0x477d('0x39d2')+_0x477d('0x64b9')+_0x477d('0x36bf')+_0x477d('0x3f85')+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x3e26')+_0x477d('0x3e27')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e29')+_0x477d('0x3e12')+_0x477d('0x3f7a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PERMISSIONS\x0a'+_0x477d('0x3f7b')+_0x477d('0x3e14')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f7d')+_0x477d('0x64d6')+_0x477d('0x385c')+_0x477d('0x64d7')+_0x477d('0x3e18')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EnableMessenger\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3867')+_0x477d('0x3e73')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PrefixRequired\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3867')+_0x477d('0x3eb4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e27')+_0x477d('0x64d8')+_0x477d('0x3f7d')+_0x477d('0x64d9')+_0x477d('0x377d')+_0x477d('0x64da')+'\x20\x20\x0a'+'\x0a'+_0x477d('0x64db')+_0x477d('0x64dc')+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x64dd')+_0x477d('0x64de')+_0x477d('0x64df')+_0x477d('0x4192')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x64e0')+_0x477d('0x64e1')+_0x477d('0x64e2')+_0x477d('0x64e3')+_0x477d('0x64e4')+_0x477d('0x64e5')+_0x477d('0x64e6')+_0x477d('0x64e7')+'\x20\x20\x0a'+_0x477d('0x64e8')+'\x0a'+_0x477d('0x64e9')+'\x0a'+_0x477d('0x377d')+'\x0a'+_0x477d('0x3e27')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e29')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3a5a')+'\x0a'+_0x477d('0x377d'));_0x143a79['put'](_0x477d('0x2145'),_0x477d('0x64ea')+_0x477d('0x64eb')+_0x477d('0x381e')+_0x477d('0x365d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3844')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c7')+_0x477d('0x64ec')+_0x477d('0x64ed')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x64ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x64ef')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x63a2')+_0x477d('0x64f0')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x64f1')+_0x477d('0x39d2')+_0x477d('0x63a4')+_0x477d('0x36bf')+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ab5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x64f2')+_0x477d('0x39de')+_0x477d('0x64f3')+_0x477d('0x63ad')+_0x477d('0x39e0')+_0x477d('0x39e1')+'\x0a'+_0x477d('0x64f4')+_0x477d('0x3c8b')+_0x477d('0x64f5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22STAFF.ADD_TEAM\x22\x20translate-attr-aria-label=\x22STAFF.ADD_TEAM\x22>\x0a'+_0x477d('0x64f6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x39e5')+_0x477d('0x64f7')+_0x477d('0x64f8')+_0x477d('0x3a16')+_0x477d('0x63b2')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x2144'),_0x477d('0x64f9')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3d23')+_0x477d('0x3dfa')+_0x477d('0x64fa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3843')+_0x477d('0x3844')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3660')+_0x477d('0x3661')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3663')+_0x477d('0x3dfc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3dfe')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x477d('0x372b')+_0x477d('0x3669')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x29c'),'\x0a'+'\x0a'+_0x477d('0x39eb')+_0x477d('0x3bef')+'\x0a'+_0x477d('0x3abc')+_0x477d('0x37cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ed')+_0x477d('0x634f')+_0x477d('0x3760')+_0x477d('0x64fb')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39ef')+'\x0a'+_0x477d('0x39f0')+_0x477d('0x39f1')+_0x477d('0x39f2')+_0x477d('0x39f3')+_0x477d('0x39f4')+_0x477d('0x39f5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6351')+_0x477d('0x39a2')+_0x477d('0x36c0')+_0x477d('0x39f7')+_0x477d('0x36bf')+_0x477d('0x3699')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39f9')+'\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a'+_0x477d('0x39fa')+'\x0a'+_0x477d('0x64fc')+_0x477d('0x39fc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6353')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+'\x0a'+_0x477d('0x39ff')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x64fd')+_0x477d('0x64fe')+_0x477d('0x64ff')+_0x477d('0x3760')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a08')+_0x477d('0x3674')+_0x477d('0x3a09')+_0x477d('0x3a0a')+_0x477d('0x6500')+_0x477d('0x3a0c')+_0x477d('0x3832')+_0x477d('0x3a0f')+_0x477d('0x3a0a')+_0x477d('0x6501')+_0x477d('0x3a0e')+_0x477d('0x3832')+_0x477d('0x3a0f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a11')+_0x477d('0x36c0')+'\x0a'+_0x477d('0x3ac4')+_0x477d('0x6502')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a14')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a16')+_0x477d('0x387e')+_0x477d('0x382a')+_0x477d('0x36e5')+'\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3a19')+'\x0a'+_0x477d('0x3a1a')+_0x477d('0x3ac6')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6503')+_0x477d('0x3a1d')+_0x477d('0x3a1e')+_0x477d('0x6504')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a22')+_0x477d('0x6505')+_0x477d('0x6506')+_0x477d('0x6507')+_0x477d('0x3acb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a2e')+_0x477d('0x6508')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6509')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a2c')+_0x477d('0x650a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x650b')+_0x477d('0x650c')+_0x477d('0x650d')+_0x477d('0x650e')+_0x477d('0x650f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3947')+'\x0a'+_0x477d('0x3a45')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a47')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4d')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3dc6')+'\x0a'+_0x477d('0x6513')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22STAFF.AGENTADD_TEAM\x22>\x0a'+_0x477d('0x6514')+_0x477d('0x3a52')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3caf')+'\x0a'+_0x477d('0x6515')+_0x477d('0x6516')+_0x477d('0x6517')+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3693')+_0x477d('0x3939')+'\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a56')+_0x477d('0x3ae2')+_0x477d('0x3a57')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ae4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a59')+'\x0a'+_0x477d('0x3cb5')+_0x477d('0x36e5')+_0x477d('0x3ae6')+'\x0a'+_0x477d('0x3699')+_0x477d('0x3a5a')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3699'));_0x143a79[_0x477d('0x390')](_0x477d('0x216c'),'\x0a'+_0x477d('0x6519')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x477d('0x3843')+_0x477d('0x3844')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c3')+_0x477d('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c7')+_0x477d('0x651a')+_0x477d('0x651b')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x651c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x651d')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Username\x0a'+_0x477d('0x651e')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-pattern=\x22/^[A-Za-z0-9\x5c.\x5c_]+$/i\x22\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x651f')+_0x477d('0x3dda')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x6520')+_0x477d('0x6521')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Username\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3dde')+_0x477d('0x6382')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x638d')+_0x477d('0x6522')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x6523')+_0x477d('0x39d2')+_0x477d('0x6390')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4328')+_0x477d('0x6391')+_0x477d('0x36bf')+_0x477d('0x385b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6524')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Password\x0a'+_0x477d('0x6525')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-placeholder=\x22STAFF.PASSWORD\x22\x20\x20required\x20\x20>\x0a'+_0x477d('0x6526')+_0x477d('0x39d2')+_0x477d('0x6396')+_0x477d('0x36bf')+_0x477d('0x5041')+_0x477d('0x6397')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6527')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Confirm\x20Password\x0a'+_0x477d('0x639a')+_0x477d('0x6528')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x639b')+_0x477d('0x36bf')+_0x477d('0x639c')+_0x477d('0x639d')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3eb4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x0a'+_0x477d('0x6529')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x63a4')+_0x477d('0x36bf')+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x652a')+_0x477d('0x652b')+_0x477d('0x3eb4')+_0x477d('0x3867')+_0x477d('0x652c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Internal\x0a'+_0x477d('0x652d')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.newTelephone\x22\x20\x0a'+_0x477d('0x3dda')+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x652e')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Internal\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x652f')+_0x477d('0x3eb4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3eb4')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39e5')+_0x477d('0x6533')+_0x477d('0x64f8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x39e9')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x215c'),'\x0a'+_0x477d('0x6519')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x365d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27\x0a'+_0x477d('0x6534')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x3aea')+_0x477d('0x3aeb')+_0x477d('0x3aec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3af0')+_0x477d('0x3674')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x6535')+_0x477d('0x63b6')+_0x477d('0x6536')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-placeholder=\x22STAFF.OLD_PASSWORD\x22\x20required>\x0a'+_0x477d('0x6537')+_0x477d('0x39d2')+_0x477d('0x6396')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x383b')+_0x477d('0x63b8')+_0x477d('0x63b9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-pattern=\x22vm.passwordPattern\x22\x20translate-attr-placeholder=\x22STAFF.NEW_PASSWORD\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required>\x0a'+_0x477d('0x6538')+_0x477d('0x39d2')+_0x477d('0x6539')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x0a'+_0x477d('0x36bf')+'\x0a'+_0x477d('0x39ca')+_0x477d('0x5041')+_0x477d('0x653a')+_0x477d('0x63bd')+_0x477d('0x63be')+_0x477d('0x36bf')+_0x477d('0x63bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20New\x20password\x20must\x20be\x20different\x20from\x20old\x20one\x0a'+_0x477d('0x36bf')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x0a'+'\x0a'+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x383b')+_0x477d('0x6399')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x653b')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Confirm\x20field\x20is\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x639c')+_0x477d('0x63c5')+_0x477d('0x63c6')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3aea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3af0')+_0x477d('0x3674')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x36c0')+_0x477d('0x3663')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387b')+_0x477d('0x63c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22telephoneForm.$invalid\x20||\x20telephoneForm.$pristine\x22\x20aria-label=\x22SAVE\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22STAFF.SAVE\x22\x20translate-attr-aria-label=\x22STAFF.SAVE\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3669')+_0x477d('0x366a')+'');_0x143a79[_0x477d('0x390')]('app/main/apps/staff/views/telephones/edit/view.html',_0x477d('0x653c')+'\x0a'+_0x477d('0x39eb')+_0x477d('0x3b62')+_0x477d('0x3b63')+_0x477d('0x653d')+_0x477d('0x653e')+_0x477d('0x653f')+_0x477d('0x3e04')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x387b')+'\x0a'+_0x477d('0x6540')+_0x477d('0x6541')+_0x477d('0x3670')+'\x0a'+_0x477d('0x38e8')+_0x477d('0x3b65')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.telephone.id}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.telephone.name}}\x0a'+_0x477d('0x36bf')+_0x477d('0x3b68')+_0x477d('0x6542')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5895')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x477d('0x3d05')+_0x477d('0x36e5')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a18')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3b6c')+_0x477d('0x3e12')+_0x477d('0x3f7a')+_0x477d('0x63f9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x3e14')+_0x477d('0x6543')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6544')+_0x477d('0x385c')+_0x477d('0x6545')+_0x477d('0x3e18')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Accountname\x0a'+_0x477d('0x651b')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x651d')+_0x477d('0x36bf')+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x6380')+_0x477d('0x651e')+_0x477d('0x39ca')+_0x477d('0x3dd8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3e19')+_0x477d('0x4ea1')+_0x477d('0x3dda')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x6520')+_0x477d('0x6546')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Username\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3dde')+_0x477d('0x6382')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x638d')+_0x477d('0x6522')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x6547')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6390')+_0x477d('0x36bf')+_0x477d('0x4328')+_0x477d('0x6391')+_0x477d('0x36bf')+_0x477d('0x385b')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x63a2')+_0x477d('0x6529')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6548')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x6405')+_0x477d('0x6549')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x654a')+_0x477d('0x39d2')+_0x477d('0x6408')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x654b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Mobile\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e27')+_0x477d('0x3e28')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6423')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e14')+_0x477d('0x654d')+_0x477d('0x3f7d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GENERAL\x0a'+_0x477d('0x385c')+_0x477d('0x3e17')+_0x477d('0x654e')+_0x477d('0x6427')+_0x477d('0x652d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4ea1')+_0x477d('0x3dda')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x63a1')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Transport\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20wss\x0a'+_0x477d('0x6550')+_0x477d('0x3a46')+_0x477d('0x6435')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6436')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6551')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3e73')+_0x477d('0x643b')+_0x477d('0x6552')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20multiple\x20\x0a'+_0x477d('0x3a5e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x643d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x643e')+_0x477d('0x643f')+_0x477d('0x3a46')+_0x477d('0x6440')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20route\x0a'+_0x477d('0x3aac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x6554')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x644f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ulaw\x0a'+_0x477d('0x6555')+_0x477d('0x3a46')+_0x477d('0x6453')+_0x477d('0x5b73')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5b74')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20opus\x0a'+_0x477d('0x645a')+_0x477d('0x3a46')+_0x477d('0x6556')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x645b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x645d')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3e73')+_0x477d('0x645e')+_0x477d('0x6557')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x6460')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CallerId\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Context\x0a'+_0x477d('0x6558')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3a5e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+_0x477d('0x3de0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20context.name\x20}}\x0a'+_0x477d('0x3aac')+_0x477d('0x6559')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x655a')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6465')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d6')+_0x477d('0x6466')+_0x477d('0x6467')+_0x477d('0x39d2')+_0x477d('0x6468')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x6469')+_0x477d('0x655b')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x646b')+_0x477d('0x655c')+_0x477d('0x39d2')+_0x477d('0x646c')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x646e')+_0x477d('0x655d')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x3de0')+_0x477d('0x4dc5')+_0x477d('0x3a46')+_0x477d('0x655e')+_0x477d('0x3ecc')+_0x477d('0x3a46')+_0x477d('0x646f')+_0x477d('0x6470')+_0x477d('0x3a46')+_0x477d('0x55a8')+_0x477d('0x3aac')+_0x477d('0x6471')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Videosupport\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3e73')+_0x477d('0x655f')+_0x477d('0x6560')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x3de0')+_0x477d('0x4dc5')+_0x477d('0x3a46')+_0x477d('0x6442')+_0x477d('0x3ecc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6443')+_0x477d('0x3aac')+_0x477d('0x6561')+_0x477d('0x6562')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6563')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3eb4')+_0x477d('0x3e26')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e28')+_0x477d('0x3e29')+_0x477d('0x3e2a')+'\x0a'+_0x477d('0x3699')+_0x477d('0x3a5a')+'\x0a'+'\x0a');_0x143a79[_0x477d('0x390')](_0x477d('0x292'),_0x477d('0x6564')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3bef')+'\x0a'+_0x477d('0x3abc')+_0x477d('0x37cd')+_0x477d('0x39ec')+_0x477d('0x39ed')+_0x477d('0x634f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6565')+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39f0')+_0x477d('0x39f1')+_0x477d('0x39f2')+_0x477d('0x39f3')+_0x477d('0x39f4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3abf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x39f7')+_0x477d('0x36bf')+_0x477d('0x3699')+_0x477d('0x39f8')+'\x0a'+_0x477d('0x39f9')+'\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22>\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39fc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Back\x0a'+_0x477d('0x372b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a00')+_0x477d('0x6566')+_0x477d('0x6567')+_0x477d('0x64ff')+_0x477d('0x3760')+'\x0a'+_0x477d('0x3daf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a08')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a09')+_0x477d('0x3a0a')+_0x477d('0x6568')+_0x477d('0x3a0c')+_0x477d('0x3832')+_0x477d('0x3a0f')+_0x477d('0x3a0a')+_0x477d('0x6569')+_0x477d('0x3a0e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a10')+_0x477d('0x3a11')+_0x477d('0x36c0')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x656a')+_0x477d('0x3a13')+_0x477d('0x3a14')+_0x477d('0x656b')+_0x477d('0x6357')+_0x477d('0x3a16')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3699')+_0x477d('0x3a17')+'\x0a'+_0x477d('0x3a18')+_0x477d('0x3a19')+'\x0a'+_0x477d('0x3a1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a1b')+_0x477d('0x656c')+_0x477d('0x3a1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x656d')+_0x477d('0x656e')+_0x477d('0x3a21')+_0x477d('0x3a22')+_0x477d('0x656f')+_0x477d('0x635b')+_0x477d('0x635d')+_0x477d('0x6570')+_0x477d('0x3acb')+_0x477d('0x3a2c')+_0x477d('0x3a2d')+_0x477d('0x3a2e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3acd')+_0x477d('0x3a30')+_0x477d('0x6509')+_0x477d('0x3a31')+_0x477d('0x3a32')+_0x477d('0x3a2c')+_0x477d('0x6571')+_0x477d('0x6572')+_0x477d('0x6573')+_0x477d('0x6574')+_0x477d('0x6575')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a43')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3adc')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6579')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3caf')+'\x0a'+_0x477d('0x657a')+_0x477d('0x657b')+_0x477d('0x657c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3692')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3939')+'\x0a'+'\x0a'+_0x477d('0x3a2c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ae2')+_0x477d('0x3a57')+'\x0a'+_0x477d('0x657d')+_0x477d('0x3ae4')+_0x477d('0x657e')+_0x477d('0x3a59')+'\x0a'+_0x477d('0x3cb5')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3699')+_0x477d('0x3a5a')+'\x0a'+_0x477d('0x657f')+_0x477d('0x6580')+_0x477d('0x6581')+_0x477d('0x3cb8')+'\x20\x20\x20\x20\x0a'+_0x477d('0x6582')+'\x20\x20\x20\x20\x0a');_0x143a79[_0x477d('0x390')](_0x477d('0x21df'),'\x0a'+_0x477d('0x6583')+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x64ec')+_0x477d('0x6584')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x6585')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x6586')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x64ef')+_0x477d('0x36bf')+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x0a'+_0x477d('0x6587')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x6588')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x63a4')+_0x477d('0x36bf')+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x6589')+_0x477d('0x658a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x642c')+_0x477d('0x3a5e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x3f5c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27STAFF.EDIT_PERMISSION\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3fc8')+_0x477d('0x658d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x658e')+_0x477d('0x3aac')+_0x477d('0x658f')+_0x477d('0x39d2')+_0x477d('0x6590')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3eb4')+_0x477d('0x39c3')+_0x477d('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6591')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x477d('0x6592')+_0x477d('0x63ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x477d('0x39e1')+'\x0a'+_0x477d('0x6593')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x477d('0x6594')+_0x477d('0x6595')+_0x477d('0x6596')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x39e5')+_0x477d('0x6597')+_0x477d('0x64f8')+_0x477d('0x3a16')+_0x477d('0x63b2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x39e9')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x21cc'),_0x477d('0x6598')+_0x477d('0x6583')+_0x477d('0x381e')+_0x477d('0x365d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x477d('0x3843')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39c7')+_0x477d('0x64ec')+_0x477d('0x6584')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.newUserProfile\x22\x20\x0a'+_0x477d('0x3dda')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x64ef')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x63a2')+_0x477d('0x6587')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x63a4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x6589')+_0x477d('0x658a')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x642c')+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x3de0')+_0x477d('0x3f5c')+_0x477d('0x6599')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20disabled\x20>\x20{{\x20\x27STAFF.READ_PERMISSION\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3fc8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CrudPermissions\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x39db')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3b1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a');_0x143a79['put'](_0x477d('0x21ca'),_0x477d('0x659c')+_0x477d('0x659d')+_0x477d('0x3d23')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x63cb')+_0x477d('0x3d25')+_0x477d('0x659e')+_0x477d('0x3844')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3661')+_0x477d('0x659f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x65a0')+_0x477d('0x65a1')+_0x477d('0x65a2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{subsection.translate\x20|\x20translate}}\x0a'+_0x477d('0x44db')+_0x477d('0x3c04')+_0x477d('0x65a3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x65a5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x65a6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27STAFF.PERMISSIONS_SECTION_SHOW\x27\x20|\x20translate}}\x0a'+_0x477d('0x65a7')+_0x477d('0x3947')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x65a8')+_0x477d('0x65a9')+_0x477d('0x65aa')+_0x477d('0x4266')+_0x477d('0x3832')+_0x477d('0x65ab')+_0x477d('0x65ac')+_0x477d('0x65ad')+_0x477d('0x65ae')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27STAFF.EDIT_PERMISSION\x27\x20|\x20translate}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3832')+_0x477d('0x65ab')+_0x477d('0x65af')+_0x477d('0x65b0')+_0x477d('0x65b1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27STAFF.DELETE_PERMISSION\x27\x20|\x20translate}}\x0a'+_0x477d('0x4266')+_0x477d('0x3832')+_0x477d('0x36a9')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x65b2')+_0x477d('0x65b3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27STAFF.PERMISSIONS_AUTO_ASSOCIATION_INFO\x27\x20|\x20translate}}

\x0a'+_0x477d('0x3670')+_0x477d('0x65b5')+_0x477d('0x65b6')+_0x477d('0x65b3')+_0x477d('0x65a0')+_0x477d('0x65b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default\x0a'+_0x477d('0x65b9')+_0x477d('0x44db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x65ba')+_0x477d('0x65bb')+_0x477d('0x3670')+_0x477d('0x36c0')+_0x477d('0x65bc')+_0x477d('0x65bd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-hide=\x22vm.selectedSection.autoAssociation\x22>\x0a'+_0x477d('0x3663')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a00')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x65be')+_0x477d('0x36c0')+_0x477d('0x65bf')+_0x477d('0x3b6a')+_0x477d('0x372b')+_0x477d('0x3669')+_0x477d('0x366a')+_0x477d('0x366b'));_0x143a79[_0x477d('0x390')](_0x477d('0x65c0'),_0x477d('0x65c1')+'\x0a'+_0x477d('0x39eb')+_0x477d('0x3b62')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e04')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x65c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+'\x0a'+_0x477d('0x38e8')+_0x477d('0x3b65')+_0x477d('0x65c4')+_0x477d('0x65c5')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x65c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e11')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3699')+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3b6b')+'\x0a'+_0x477d('0x3b6c')+_0x477d('0x3e12')+_0x477d('0x3f7a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SETTINGS\x0a'+_0x477d('0x3f7b')+_0x477d('0x3e14')+_0x477d('0x65c9')+_0x477d('0x3f7d')+_0x477d('0x6425')+_0x477d('0x385c')+_0x477d('0x3e17')+_0x477d('0x3e18')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x63a2')+_0x477d('0x6587')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x3e25')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x6589')+_0x477d('0x658a')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x642c')+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x3de0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6599')+_0x477d('0x3a46')+_0x477d('0x658b')+_0x477d('0x3fc8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x6590')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3eb4')+_0x477d('0x3e26')+_0x477d('0x3e27')+_0x477d('0x3e28')+_0x477d('0x3e29')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f7a')+_0x477d('0x65ca')+_0x477d('0x3f7b')+_0x477d('0x3e14')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f7d')+_0x477d('0x65cb')+_0x477d('0x377d')+'\x0a'+_0x477d('0x65cc')+_0x477d('0x65cd')+_0x477d('0x65ce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x65d4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x65d5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22{{father.translate}}\x22>{{\x20father.title\x20}}\x0a'+_0x477d('0x65d6')+_0x477d('0x65d7')+_0x477d('0x65d8')+_0x477d('0x65d9')+_0x477d('0x65da')+_0x477d('0x65db')+_0x477d('0x65dc')+_0x477d('0x65dd')+_0x477d('0x65de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm_pc.manageResources(father)\x22\x0a'+_0x477d('0x65df')+_0x477d('0x65e0')+_0x477d('0x4413')+_0x477d('0x65e1')+_0x477d('0x3947')+_0x477d('0x65e2')+_0x477d('0x65e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20father.status.name\x20}}\x0a'+_0x477d('0x65d6')+_0x477d('0x65e4')+_0x477d('0x3b19')+_0x477d('0x65e5')+'\x20\x20\x20\x20\x0a'+_0x477d('0x377d')+'\x0a'+_0x477d('0x3e27')+_0x477d('0x3e28')+_0x477d('0x3e29')+_0x477d('0x3e2a')+'\x0a'+_0x477d('0x3699')+_0x477d('0x3a5a')+'\x0a'+'\x0a');_0x143a79[_0x477d('0x390')](_0x477d('0x65e6'),_0x477d('0x65e7')+'\x0a'+_0x477d('0x39eb')+_0x477d('0x3bef')+'\x0a'+_0x477d('0x3abc')+_0x477d('0x37cd')+_0x477d('0x39ec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x634f')+_0x477d('0x3760')+_0x477d('0x65e8')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39ef')+'\x0a'+_0x477d('0x39f0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39f2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39f4')+_0x477d('0x39f5')+_0x477d('0x3abf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39a2')+_0x477d('0x36c0')+_0x477d('0x39f7')+_0x477d('0x36bf')+_0x477d('0x3699')+_0x477d('0x39f8')+'\x0a'+_0x477d('0x39f9')+'\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22>\x0a'+'\x0a'+_0x477d('0x65e9')+_0x477d('0x39fc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6353')+_0x477d('0x372b')+_0x477d('0x36e5')+'\x0a'+_0x477d('0x39ff')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedUserProfiles.length}}\x0a'+_0x477d('0x64ff')+_0x477d('0x3760')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a08')+_0x477d('0x3674')+_0x477d('0x3a09')+_0x477d('0x3a0a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Select\x20all\x0a'+_0x477d('0x3832')+_0x477d('0x3a0f')+_0x477d('0x3a0a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a0e')+_0x477d('0x3832')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a10')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+'\x0a'+_0x477d('0x3ac4')+_0x477d('0x65ea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a14')+_0x477d('0x65eb')+_0x477d('0x6357')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x36e5')+_0x477d('0x3699')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a18')+_0x477d('0x3a19')+'\x0a'+_0x477d('0x3a1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a1b')+_0x477d('0x65ec')+_0x477d('0x3a1d')+_0x477d('0x3a1e')+_0x477d('0x65ed')+_0x477d('0x65ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a22')+_0x477d('0x6505')+_0x477d('0x6506')+_0x477d('0x6507')+_0x477d('0x65ef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a2c')+_0x477d('0x3a2d')+_0x477d('0x3a2e')+_0x477d('0x65f0')+_0x477d('0x3acd')+_0x477d('0x3a30')+_0x477d('0x6509')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a32')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x65f1')+_0x477d('0x65f2')+_0x477d('0x65f3')+_0x477d('0x65f4')+_0x477d('0x65f5')+_0x477d('0x65f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22name\x20\x22\x20>{{userProfile.name}}\x0a'+_0x477d('0x65f6')+_0x477d('0x65f7')+_0x477d('0x65f8')+_0x477d('0x65f9')+_0x477d('0x3dc1')+'\x0a'+_0x477d('0x3a42')+'\x0a'+_0x477d('0x3a43')+'\x0a'+_0x477d('0x3d9e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22STAFF.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a'+_0x477d('0x3a44')+_0x477d('0x3947')+'\x0a'+_0x477d('0x3a45')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x65fa')+_0x477d('0x65fb')+_0x477d('0x65fc')+_0x477d('0x3a52')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a47')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3adc')+'\x0a'+_0x477d('0x65fd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22STAFF.CLONE_USERPROFILE\x22>\x0a'+_0x477d('0x65fe')+_0x477d('0x3a52')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x65ff')+'\x0a'+_0x477d('0x6600')+_0x477d('0x6601')+_0x477d('0x6602')+_0x477d('0x3a52')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3693')+_0x477d('0x3939')+'\x0a'+'\x0a'+_0x477d('0x3a2c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ae4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a59')+'\x0a'+_0x477d('0x3cb5')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3699')+_0x477d('0x3a5a')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x6604')+_0x477d('0x3699'));_0x143a79[_0x477d('0x390')]('app/main/apps/staff/views/users/create/dialog.html',_0x477d('0x6605')+_0x477d('0x6606')+_0x477d('0x381e')+_0x477d('0x365d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x477d('0x3843')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c4')+_0x477d('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+_0x477d('0x39c7')+_0x477d('0x6607')+_0x477d('0x6608')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x6609')+_0x477d('0x3dda')+_0x477d('0x3de0')+_0x477d('0x660a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Admin\x0a'+_0x477d('0x644a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x644b')+_0x477d('0x3aac')+_0x477d('0x660b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x660c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x660d')+_0x477d('0x660e')+_0x477d('0x660f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x3de0')+_0x477d('0x6610')+_0x477d('0x6611')+_0x477d('0x3aac')+_0x477d('0x6612')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20UserProfile\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x3e73')+_0x477d('0x637d')+_0x477d('0x6613')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x6614')+_0x477d('0x39d2')+_0x477d('0x637f')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x6380')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6615')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x63ff')+_0x477d('0x36bf')+_0x477d('0x3dde')+_0x477d('0x6382')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x638d')+_0x477d('0x6616')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x6390')+_0x477d('0x36bf')+_0x477d('0x4328')+_0x477d('0x6391')+_0x477d('0x36bf')+_0x477d('0x385b')+_0x477d('0x36a1')+_0x477d('0x6617')+_0x477d('0x6392')+_0x477d('0x6618')+_0x477d('0x6394')+_0x477d('0x6619')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6396')+_0x477d('0x36bf')+_0x477d('0x5041')+_0x477d('0x6397')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3eb4')+_0x477d('0x661a')+_0x477d('0x6399')+_0x477d('0x639a')+_0x477d('0x661b')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Confirm\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x639c')+_0x477d('0x639d')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e73')+_0x477d('0x63a2')+_0x477d('0x661c')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x661d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x661e')+_0x477d('0x6427')+_0x477d('0x661f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x6609')+_0x477d('0x3dda')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x6620')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x63a1')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+_0x477d('0x39dc')+_0x477d('0x387b')+_0x477d('0x6621')+_0x477d('0x39de')+_0x477d('0x6622')+_0x477d('0x63ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x477d('0x39e1')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20USER\x0a'+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39e5')+_0x477d('0x6624')+_0x477d('0x64f8')+_0x477d('0x3a16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x39e9')+_0x477d('0x366a')+'\x0a');_0x143a79[_0x477d('0x390')](_0x477d('0x2201'),_0x477d('0x6625')+_0x477d('0x6606')+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x63b4')+_0x477d('0x6626')+_0x477d('0x3843')+_0x477d('0x3844')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x6627')+_0x477d('0x6628')+_0x477d('0x3c49')+'\x0a'+_0x477d('0x3b1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6629')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22{{\x20vm.user.apiKey\x20===\x20\x27N/A\x27\x20?\x20\x27STAFF.GENERATE\x27\x20:\x20\x27STAFF.REGENERATE\x27\x20}}\x22\x20translate-attr-aria-label=\x22STAFF.GENERATE\x22>\x0a'+_0x477d('0x662a')+_0x477d('0x387e')+_0x477d('0x662b')+_0x477d('0x662c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3669')+_0x477d('0x366a')+_0x477d('0x366b'));_0x143a79[_0x477d('0x390')](_0x477d('0x662d'),_0x477d('0x6625')+_0x477d('0x6606')+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x63b4')+_0x477d('0x6534')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3aeb')+_0x477d('0x3aec')+_0x477d('0x3aed')+_0x477d('0x3aee')+_0x477d('0x36bf')+_0x477d('0x3aef')+_0x477d('0x3af0')+_0x477d('0x3674')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x662e')+_0x477d('0x63b6')+_0x477d('0x6536')+_0x477d('0x63b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Password\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x383b')+_0x477d('0x63b8')+_0x477d('0x63b9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-pattern=\x22vm.passwordPattern\x22\x20translate-attr-placeholder=\x22STAFF.NEW_PASSWORD\x22\x0a'+_0x477d('0x63bb')+_0x477d('0x662f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6539')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x0a'+_0x477d('0x36bf')+'\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Must\x20contain\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20at\x20least\x208\x20characters,\x20with\x20a\x20minimum\x20of\x201\x20lowercase\x20letter,\x201\x20uppercase\x20letter,\x201\x20numeric\x0a'+_0x477d('0x63be')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x63c0')+_0x477d('0x36bf')+'\x0a'+_0x477d('0x39ca')+'\x0a'+'\x0a'+'\x0a'+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x383b')+_0x477d('0x6399')+_0x477d('0x63c1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x63c3')+_0x477d('0x63c4')+_0x477d('0x36bf')+_0x477d('0x639c')+_0x477d('0x63c5')+_0x477d('0x63c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x3aea')+_0x477d('0x3aeb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x3aed')+_0x477d('0x3aee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36c0')+_0x477d('0x3663')+'\x0a'+_0x477d('0x3b1a')+_0x477d('0x387b')+_0x477d('0x63c7')+_0x477d('0x6630')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22STAFF.SAVE\x22\x20translate-attr-aria-label=\x22STAFF.SAVE\x22>\x0a'+_0x477d('0x387d')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3669')+_0x477d('0x366a')+_0x477d('0x366b'));_0x143a79[_0x477d('0x390')](_0x477d('0x285'),_0x477d('0x6631')+'\x0a'+_0x477d('0x39eb')+_0x477d('0x3b62')+_0x477d('0x3b63')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x387b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6634')+_0x477d('0x3670')+'\x0a'+_0x477d('0x38e8')+_0x477d('0x3b65')+_0x477d('0x6635')+_0x477d('0x6636')+_0x477d('0x36bf')+_0x477d('0x3b68')+_0x477d('0x6637')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ab5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6638')+_0x477d('0x4e9e')+_0x477d('0x6639')+_0x477d('0x663a')+_0x477d('0x663b')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5895')+_0x477d('0x663c')+_0x477d('0x3f77')+_0x477d('0x663d')+_0x477d('0x663e')+_0x477d('0x63f7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x477d('0x3d05')+'\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x0a'+_0x477d('0x3699')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a18')+_0x477d('0x3b6b')+'\x0a'+_0x477d('0x3b6c')+_0x477d('0x3e12')+_0x477d('0x3f7a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ACCOUNT\x0a'+_0x477d('0x3f7b')+_0x477d('0x3e14')+_0x477d('0x663f')+_0x477d('0x3f7d')+_0x477d('0x63fb')+_0x477d('0x385c')+_0x477d('0x63fc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6607')+_0x477d('0x6608')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x3e19')+_0x477d('0x4ea1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3de0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6641')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Role\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x660d')+_0x477d('0x660e')+_0x477d('0x660f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x3de0')+_0x477d('0x6610')+_0x477d('0x6611')+_0x477d('0x3aac')+_0x477d('0x6642')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6643')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x637d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Fullname\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Username\x0a'+_0x477d('0x6644')+_0x477d('0x39ca')+_0x477d('0x3dd8')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4ea1')+_0x477d('0x3dda')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x6520')+_0x477d('0x6645')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x63ff')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3dde')+_0x477d('0x6382')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Email\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Email\x20must\x20be\x20a\x20valid\x20e-mail\x20address\x0a'+_0x477d('0x36bf')+_0x477d('0x385b')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6405')+_0x477d('0x6646')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6407')+_0x477d('0x39d2')+_0x477d('0x6408')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x654b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x640a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x63a2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e27')+_0x477d('0x6648')+_0x477d('0x3f7d')+_0x477d('0x640f')+_0x477d('0x385c')+_0x477d('0x6410')+_0x477d('0x6649')+_0x477d('0x664a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6651')+_0x477d('0x3eb4')+_0x477d('0x6418')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6652')+_0x477d('0x6653')+_0x477d('0x3eb4')+_0x477d('0x641b')+_0x477d('0x3867')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e27')+_0x477d('0x6654')+_0x477d('0x3f7d')+_0x477d('0x641d')+_0x477d('0x377d')+'\x0a'+'\x0a'+_0x477d('0x6655')+_0x477d('0x4079')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x407a')+_0x477d('0x36e5')+'\x0a'+_0x477d('0x407b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x407d')+_0x477d('0x372b')+_0x477d('0x407e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x407f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6656')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6420')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6657')+_0x477d('0x3670')+'\x0a'+_0x477d('0x6658')+_0x477d('0x6422')+_0x477d('0x3670')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3699')+'\x0a'+'\x0a'+_0x477d('0x3e27')+_0x477d('0x3e28')+_0x477d('0x3e29')+_0x477d('0x3e12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6423')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e14')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f7d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GENERAL\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e17')+_0x477d('0x6659')+_0x477d('0x6427')+_0x477d('0x661f')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x3e19')+_0x477d('0x4ea1')+_0x477d('0x3dda')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Internal\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x642a')+_0x477d('0x665a')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x642c')+_0x477d('0x3a5e')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x3de0')+_0x477d('0x642d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>udp\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6437')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Transport\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x643b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20comedia\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20yes\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x665b')+_0x477d('0x6446')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NAT\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e73')+_0x477d('0x644f')+_0x477d('0x665c')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x642c')+_0x477d('0x3a5e')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x6451')+_0x477d('0x3a46')+_0x477d('0x6452')+_0x477d('0x6555')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6453')+_0x477d('0x5b73')+_0x477d('0x3a46')+_0x477d('0x5b74')+_0x477d('0x6454')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6455')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20g729\x0a'+_0x477d('0x6458')+_0x477d('0x3a46')+_0x477d('0x6459')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x645b')+_0x477d('0x645c')+_0x477d('0x39d2')+_0x477d('0x645d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e73')+_0x477d('0x6462')+_0x477d('0x665d')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x3de0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3e73')+_0x477d('0x6465')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d6')+_0x477d('0x6466')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Callgroup\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6469')+_0x477d('0x665e')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x646b')+_0x477d('0x655c')+_0x477d('0x39d2')+_0x477d('0x646c')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ApiKey\x0a'+_0x477d('0x5da4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5da6')+_0x477d('0x5da7')+_0x477d('0x664f')+_0x477d('0x54d5')+_0x477d('0x6650')+_0x477d('0x6267')+_0x477d('0x3e73')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Videosupport\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x665f')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3eb4')+_0x477d('0x3e26')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e28')+_0x477d('0x3e29')+_0x477d('0x3e2a')+'\x0a'+_0x477d('0x3699')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x377d'));_0x143a79[_0x477d('0x390')](_0x477d('0x6660'),_0x477d('0x6661')+'\x0a'+_0x477d('0x39eb')+_0x477d('0x3bef')+'\x0a'+_0x477d('0x3abc')+_0x477d('0x37cd')+_0x477d('0x39ec')+_0x477d('0x39ed')+_0x477d('0x634f')+_0x477d('0x3760')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Users\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39ef')+'\x0a'+_0x477d('0x39f0')+_0x477d('0x39f1')+_0x477d('0x39f2')+_0x477d('0x39f3')+_0x477d('0x39f4')+_0x477d('0x39f5')+_0x477d('0x3abf')+_0x477d('0x6351')+_0x477d('0x39a2')+_0x477d('0x36c0')+_0x477d('0x39f7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3699')+_0x477d('0x39f8')+'\x0a'+_0x477d('0x39f9')+'\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a'+_0x477d('0x39fa')+'\x0a'+_0x477d('0x6662')+_0x477d('0x39fc')+_0x477d('0x39fd')+_0x477d('0x6353')+_0x477d('0x372b')+_0x477d('0x36e5')+'\x0a'+_0x477d('0x39ff')+'\x0a'+_0x477d('0x3a00')+_0x477d('0x6663')+_0x477d('0x6664')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20selected\x0a'+_0x477d('0x3760')+'\x0a'+_0x477d('0x3daf')+_0x477d('0x3a04')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22$mdOpenMenu($event)\x22\x0a'+_0x477d('0x3a06')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22STAFF.MULTI_SELECT_TOGGLE\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a09')+_0x477d('0x3a0a')+_0x477d('0x6665')+_0x477d('0x3a0c')+_0x477d('0x3832')+_0x477d('0x3a0f')+_0x477d('0x3a0a')+_0x477d('0x6666')+_0x477d('0x3a0e')+_0x477d('0x3832')+_0x477d('0x3a0f')+_0x477d('0x3a10')+_0x477d('0x3a11')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3ac4')+_0x477d('0x6667')+_0x477d('0x3a13')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3a17')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3a19')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a1b')+_0x477d('0x6668')+_0x477d('0x3a1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6669')+_0x477d('0x666a')+_0x477d('0x3a21')+_0x477d('0x3a22')+_0x477d('0x666b')+_0x477d('0x666c')+_0x477d('0x666d')+_0x477d('0x635b')+_0x477d('0x635d')+_0x477d('0x666e')+_0x477d('0x635e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27STAFF.INTERNAL\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x666f')+_0x477d('0x635f')+_0x477d('0x3acb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a2e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a30')+_0x477d('0x6509')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a32')+_0x477d('0x3a2c')+_0x477d('0x6670')+_0x477d('0x6671')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6672')+_0x477d('0x6673')+_0x477d('0x6674')+_0x477d('0x6675')+_0x477d('0x6676')+_0x477d('0x6677')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x667e')+_0x477d('0x667f')+_0x477d('0x3d9d')+'\x0a'+_0x477d('0x3a42')+'\x0a'+_0x477d('0x3a43')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a45')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3adc')+'\x0a'+_0x477d('0x6680')+_0x477d('0x6681')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20User\x0a'+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a47')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x65ff')+'\x0a'+_0x477d('0x6682')+_0x477d('0x6683')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20User\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3692')+'\x0a'+_0x477d('0x3693')+_0x477d('0x3939')+'\x0a'+'\x0a'+_0x477d('0x3a2c')+_0x477d('0x3a56')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a57')+'\x0a'+_0x477d('0x6684')+_0x477d('0x3ae4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3cb5')+_0x477d('0x36e5')+_0x477d('0x3ae6')+'\x0a'+_0x477d('0x3699')+_0x477d('0x3a5a')+'\x0a'+_0x477d('0x6685')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3cb8')+_0x477d('0x3735')+_0x477d('0x43be')+_0x477d('0x3699'));_0x143a79[_0x477d('0x390')]('app/main/apps/tools/views/cannedAnswers/cannedAnswers.html','\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3bef')+'\x0a'+_0x477d('0x3abc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6686')+_0x477d('0x3760')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CannedAnswers\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39ef')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39f3')+_0x477d('0x39f4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3abf')+_0x477d('0x6687')+_0x477d('0x39a2')+_0x477d('0x36c0')+_0x477d('0x39f7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3699')+_0x477d('0x39f8')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x6688')+_0x477d('0x39fa')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39fc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6689')+_0x477d('0x372b')+_0x477d('0x36e5')+'\x0a'+_0x477d('0x39ff')+'\x0a'+_0x477d('0x3a00')+_0x477d('0x668a')+_0x477d('0x668b')+_0x477d('0x668c')+_0x477d('0x3760')+'\x0a'+_0x477d('0x3daf')+_0x477d('0x3a04')+_0x477d('0x3a05')+_0x477d('0x3a06')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22TOOLS.MULTI_SELECT_TOGGLE\x22>\x0a'+_0x477d('0x3a08')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a09')+_0x477d('0x3a0a')+_0x477d('0x668d')+_0x477d('0x3a0c')+_0x477d('0x3832')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x668e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Select\x20none\x0a'+_0x477d('0x3832')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a10')+_0x477d('0x3a11')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3ac4')+_0x477d('0x668f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6690')+_0x477d('0x6691')+_0x477d('0x3a16')+_0x477d('0x387e')+_0x477d('0x382a')+_0x477d('0x36e5')+_0x477d('0x3699')+_0x477d('0x3a17')+'\x0a'+_0x477d('0x3a18')+_0x477d('0x3a19')+'\x0a'+_0x477d('0x3a1a')+_0x477d('0x3ac6')+'\x0a'+_0x477d('0x3a1b')+_0x477d('0x6692')+_0x477d('0x3a1d')+_0x477d('0x3a1e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6693')+_0x477d('0x3a21')+_0x477d('0x3a22')+_0x477d('0x6694')+_0x477d('0x6695')+_0x477d('0x6696')+_0x477d('0x6697')+_0x477d('0x3acb')+_0x477d('0x3a2c')+_0x477d('0x3a2d')+_0x477d('0x3a2e')+_0x477d('0x6698')+_0x477d('0x3acd')+_0x477d('0x3a30')+_0x477d('0x6699')+_0x477d('0x3a31')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a2c')+_0x477d('0x669a')+_0x477d('0x669b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x669c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22id\x20\x22\x20>{{cannedAnswer.id}}\x0a'+_0x477d('0x669d')+_0x477d('0x669e')+_0x477d('0x669d')+_0x477d('0x669f')+_0x477d('0x669d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22description\x20\x22\x20>{{cannedAnswer.description}}\x0a'+_0x477d('0x3ad9')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a43')+'\x0a'+_0x477d('0x3d9e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22TOOLS.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a'+_0x477d('0x3a44')+_0x477d('0x3947')+'\x0a'+_0x477d('0x3a45')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20CannedAnswer\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3caf')+'\x0a'+_0x477d('0x66a0')+_0x477d('0x66a1')+_0x477d('0x66a2')+_0x477d('0x3a52')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3939')+'\x0a'+'\x0a'+_0x477d('0x3a2c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ae2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x66a3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x66a4')+_0x477d('0x3a59')+'\x0a'+_0x477d('0x3cb5')+_0x477d('0x36e5')+_0x477d('0x3ae6')+'\x0a'+_0x477d('0x3699')+_0x477d('0x3a5a')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3cb8')+'\x20\x20\x20\x20\x0a'+_0x477d('0x66a5')+_0x477d('0x3699'));_0x143a79[_0x477d('0x390')]('app/main/apps/tools/views/cannedAnswers/create/dialog.html',_0x477d('0x66a6')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x365d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39c7')+_0x477d('0x66a7')+_0x477d('0x66a8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-maxlength=\x22255\x22\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x66a9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x66aa')+_0x477d('0x36bf')+_0x477d('0x3e61')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Key\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Value\x0a'+_0x477d('0x66ab')+_0x477d('0x3ea4')+_0x477d('0x66ac')+_0x477d('0x39ca')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Value\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3670')+_0x477d('0x3867')+_0x477d('0x3e73')+_0x477d('0x66ad')+_0x477d('0x66ae')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x66af')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387b')+_0x477d('0x66b0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22cannedAnswerForm.$invalid\x20||\x20cannedAnswerForm.$pristine\x22\x0a'+_0x477d('0x66b1')+_0x477d('0x39e0')+_0x477d('0x39e1')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x66b4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22TOOLS.DELETE\x22>\x0a'+_0x477d('0x3a16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a');_0x143a79[_0x477d('0x390')](_0x477d('0x223a'),_0x477d('0x66b5')+_0x477d('0x66b6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x66b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x0a'+_0x477d('0x66ba')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x66bb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x3ab5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+_0x477d('0x39c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39dc')+_0x477d('0x387b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39e5')+_0x477d('0x66c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22TOOLS.DELETE\x22>\x0a'+_0x477d('0x3a16')+_0x477d('0x66c1')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x2b3'),_0x477d('0x66c2')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3bef')+'\x0a'+_0x477d('0x3abc')+_0x477d('0x37cd')+_0x477d('0x39ec')+_0x477d('0x39ed')+_0x477d('0x6686')+_0x477d('0x3760')+_0x477d('0x66c3')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39ef')+'\x0a'+_0x477d('0x39f0')+_0x477d('0x39f1')+_0x477d('0x39f2')+_0x477d('0x39f3')+_0x477d('0x39f4')+_0x477d('0x39f5')+_0x477d('0x3abf')+_0x477d('0x6687')+_0x477d('0x39a2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39f7')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x0a'+_0x477d('0x39f8')+'\x0a'+_0x477d('0x39f9')+_0x477d('0x66c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22>\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39fc')+_0x477d('0x39fd')+_0x477d('0x6689')+_0x477d('0x372b')+_0x477d('0x36e5')+'\x0a'+_0x477d('0x39ff')+'\x0a'+_0x477d('0x3a00')+_0x477d('0x66c5')+_0x477d('0x66c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20selected\x0a'+_0x477d('0x3760')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a04')+_0x477d('0x3a05')+_0x477d('0x3a06')+_0x477d('0x66c7')+_0x477d('0x3a08')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a0a')+_0x477d('0x66c8')+_0x477d('0x3a0c')+_0x477d('0x3832')+_0x477d('0x3a0f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x66c9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Select\x20none\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a10')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+'\x0a'+_0x477d('0x3ac4')+_0x477d('0x66ca')+_0x477d('0x3a13')+_0x477d('0x3a14')+_0x477d('0x66cb')+_0x477d('0x6691')+_0x477d('0x3a16')+_0x477d('0x387e')+_0x477d('0x382a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3699')+_0x477d('0x3a17')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3a19')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ac6')+'\x0a'+_0x477d('0x3a1b')+_0x477d('0x66cc')+_0x477d('0x3a1d')+_0x477d('0x3a1e')+_0x477d('0x66cd')+_0x477d('0x66ce')+_0x477d('0x3a21')+_0x477d('0x3a22')+_0x477d('0x6694')+_0x477d('0x66cf')+_0x477d('0x6697')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a2c')+_0x477d('0x3a2d')+_0x477d('0x3a2e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a30')+_0x477d('0x6699')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a32')+_0x477d('0x3a2c')+_0x477d('0x66d0')+_0x477d('0x66d1')+_0x477d('0x66d2')+_0x477d('0x66d3')+_0x477d('0x66d4')+_0x477d('0x66d5')+_0x477d('0x66d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a45')+'\x0a'+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x66d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22TOOLS.EDIT_CUSTOMDASHBOARD\x22>\x0a'+_0x477d('0x66da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3adc')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3dc6')+'\x0a'+_0x477d('0x66dd')+_0x477d('0x66de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20goToDashboard\x20CustomDashboard\x0a'+_0x477d('0x3a52')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a47')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4d')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x66df')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22TOOLS.DELETE_CUSTOMDASHBOARD\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20CustomDashboard\x0a'+_0x477d('0x3a52')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3692')+'\x0a'+_0x477d('0x3693')+_0x477d('0x3939')+'\x0a'+'\x0a'+_0x477d('0x3a2c')+_0x477d('0x3a56')+_0x477d('0x3ae2')+_0x477d('0x3a57')+'\x0a'+_0x477d('0x66e0')+_0x477d('0x3ae4')+_0x477d('0x66e1')+_0x477d('0x3a59')+'\x0a'+_0x477d('0x3cb5')+_0x477d('0x36e5')+_0x477d('0x3ae6')+'\x0a'+_0x477d('0x3699')+_0x477d('0x3a5a')+'\x0a'+_0x477d('0x66e2')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3735')+_0x477d('0x66e3')+_0x477d('0x3699'));_0x143a79['put'](_0x477d('0x2239'),_0x477d('0x66e4')+_0x477d('0x66b6')+_0x477d('0x381e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x66b7')+_0x477d('0x66e5')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x66b9')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ab5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x3663')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x66e6')+_0x477d('0x54cb')+_0x477d('0x66e7')+_0x477d('0x66e8')+_0x477d('0x66e9')+_0x477d('0x372b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x224b'),_0x477d('0x66ea')+_0x477d('0x66eb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x0a'+_0x477d('0x66ec')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ce')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.newDashboardItem\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3de0')+_0x477d('0x3f5c')+_0x477d('0x66ed')+_0x477d('0x3a46')+_0x477d('0x66ee')+_0x477d('0x3fc8')+_0x477d('0x66ef')+_0x477d('0x3a46')+_0x477d('0x66f0')+_0x477d('0x3fc8')+_0x477d('0x66f1')+_0x477d('0x3a46')+_0x477d('0x66f2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x66f3')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27TOOLS.WEBREPORT\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3fc8')+_0x477d('0x66f4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x66f5')+_0x477d('0x3fc8')+_0x477d('0x66f6')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27TOOLS.CLOCK\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3fc8')+_0x477d('0x66f7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x66f8')+_0x477d('0x3aac')+_0x477d('0x66f9')+_0x477d('0x39d2')+_0x477d('0x66fa')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x3e73')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Title\x0a'+_0x477d('0x66fb')+_0x477d('0x3e64')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x66fc')+_0x477d('0x36bf')+_0x477d('0x3e61')+_0x477d('0x66fd')+_0x477d('0x36bf')+_0x477d('0x39d9')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x66fe')+_0x477d('0x66ff')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x6700')+_0x477d('0x39d2')+_0x477d('0x6701')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Url\x20must\x20be\x20a\x20valid\x20url\x20http://www.xcally.com\x0a'+_0x477d('0x36bf')+_0x477d('0x39d9')+_0x477d('0x36a1')+_0x477d('0x6702')+_0x477d('0x6703')+_0x477d('0x6704')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x6705')+_0x477d('0x39d2')+_0x477d('0x6706')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x6707')+_0x477d('0x6708')+_0x477d('0x6709')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x670a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x670b')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x6707')+_0x477d('0x670c')+_0x477d('0x670d')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x3de0')+_0x477d('0x670e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x670f')+_0x477d('0x6710')+_0x477d('0x3a46')+_0x477d('0x6711')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GMT-8.00\x0a'+_0x477d('0x6715')+_0x477d('0x3a46')+_0x477d('0x6716')+_0x477d('0x6717')+_0x477d('0x3a46')+_0x477d('0x6718')+_0x477d('0x6719')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x671a')+_0x477d('0x671b')+_0x477d('0x3a46')+_0x477d('0x671c')+_0x477d('0x671d')+_0x477d('0x3a46')+_0x477d('0x671e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GMT-2.00\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GMT+1.00\x0a'+_0x477d('0x6724')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6725')+_0x477d('0x6726')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>GMT+3.00\x0a'+_0x477d('0x6727')+_0x477d('0x3a46')+_0x477d('0x6728')+_0x477d('0x6729')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>GMT+4.00\x0a'+_0x477d('0x672a')+_0x477d('0x3a46')+_0x477d('0x672b')+_0x477d('0x672c')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>GMT+5.00\x0a'+_0x477d('0x672d')+_0x477d('0x3a46')+_0x477d('0x672e')+_0x477d('0x672f')+_0x477d('0x3a46')+_0x477d('0x6730')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GMT+8.00\x0a'+_0x477d('0x6735')+_0x477d('0x3a46')+_0x477d('0x6736')+_0x477d('0x6737')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6738')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x673f')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x6740')+_0x477d('0x6741')+_0x477d('0x6742')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x3de0')+_0x477d('0x3f5c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.ABANDONED\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3fc8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.TALKING\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3fc8')+_0x477d('0x6747')+_0x477d('0x3a46')+_0x477d('0x6748')+_0x477d('0x3fc8')+_0x477d('0x6749')+_0x477d('0x3a46')+_0x477d('0x674a')+_0x477d('0x3aac')+_0x477d('0x674b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x674c')+_0x477d('0x36bf')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x674d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Serie1\x0a'+_0x477d('0x674e')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x3de0')+_0x477d('0x3f5c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.UNMANAGED\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6751')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Serie1\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x674d')+_0x477d('0x6752')+_0x477d('0x6753')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cf')+_0x477d('0x3de0')+_0x477d('0x3f5c')+_0x477d('0x6754')+_0x477d('0x3a46')+_0x477d('0x6755')+_0x477d('0x3fc8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.ABANDONED\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3fc8')+_0x477d('0x6756')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27TOOLS.WAITING\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3fc8')+_0x477d('0x6746')+_0x477d('0x3a46')+_0x477d('0x6750')+_0x477d('0x3fc8')+_0x477d('0x6747')+_0x477d('0x3a46')+_0x477d('0x6748')+_0x477d('0x3fc8')+_0x477d('0x6749')+_0x477d('0x3a46')+_0x477d('0x674a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6757')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Serie2\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x674d')+_0x477d('0x6758')+_0x477d('0x6759')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x3de0')+_0x477d('0x3f5c')+_0x477d('0x6754')+_0x477d('0x3a46')+_0x477d('0x6755')+_0x477d('0x3fc8')+_0x477d('0x675a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6743')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6744')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27TOOLS.ABANDONED\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3fc8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x675d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Report\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6761')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6762')+_0x477d('0x6763')+_0x477d('0x6764')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6765')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6766')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6767')+_0x477d('0x36bf')+_0x477d('0x3de9')+_0x477d('0x6768')+_0x477d('0x3deb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x6769')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20FilterVoiceQueues\x0a'+_0x477d('0x676a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20multiple\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x3de0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20FilterVoiceQueues\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x676d')+_0x477d('0x676e')+_0x477d('0x676f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x6770')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20max=\x2240\x22\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6771')+_0x477d('0x39d2')+_0x477d('0x6772')+_0x477d('0x36bf')+_0x477d('0x3de9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20FontSize\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x2012\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e23')+_0x477d('0x6773')+_0x477d('0x3deb')+_0x477d('0x3e24')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6774')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20link\x0a'+_0x477d('0x6775')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6776')+_0x477d('0x39d2')+_0x477d('0x6777')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6778')+_0x477d('0x36bf')+_0x477d('0x39d9')+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x39c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387b')+_0x477d('0x6779')+_0x477d('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22dashboarditemForm.$invalid\x20||\x20dashboarditemForm.$pristine\x22\x0a'+_0x477d('0x66b1')+_0x477d('0x39e0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x677a')+_0x477d('0x3c8b')+_0x477d('0x677b')+_0x477d('0x677c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20DASHBOARDITEM\x0a'+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39e5')+_0x477d('0x677d')+_0x477d('0x677e')+_0x477d('0x3a16')+_0x477d('0x66c1')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x677f'),_0x477d('0x6780')+'\x0a'+_0x477d('0x39eb')+_0x477d('0x3b62')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6781')+_0x477d('0x6782')+_0x477d('0x6783')+_0x477d('0x3e04')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x387b')+'\x0a'+_0x477d('0x6784')+_0x477d('0x6785')+_0x477d('0x3670')+'\x0a'+_0x477d('0x38e8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.customDashboard.id}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.customDashboard.name}}\x0a'+_0x477d('0x36bf')+_0x477d('0x3b68')+_0x477d('0x6786')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3ab5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6787')+_0x477d('0x588b')+_0x477d('0x54eb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x54ed')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3ab5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6788')+_0x477d('0x3f77')+_0x477d('0x433c')+_0x477d('0x6789')+_0x477d('0x433e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x477d('0x3d05')+_0x477d('0x36e5')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x39f8')+'\x0a'+_0x477d('0x3a18')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3b6c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f7a')+_0x477d('0x678a')+_0x477d('0x3f7b')+_0x477d('0x3e14')+_0x477d('0x678b')+_0x477d('0x3f7d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GENERAL\x0a'+_0x477d('0x385c')+_0x477d('0x3e17')+_0x477d('0x3e18')+_0x477d('0x66b7')+_0x477d('0x66e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1a')+_0x477d('0x39d2')+_0x477d('0x66b9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x66ad')+_0x477d('0x66ba')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x66bb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x3e26')+_0x477d('0x3e27')+_0x477d('0x3e28')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x678c')+_0x477d('0x3f7b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x678d')+_0x477d('0x678e')+_0x477d('0x678f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6790')+_0x477d('0x36db')+_0x477d('0x36dc')+_0x477d('0x6791')+_0x477d('0x6792')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3699')+_0x477d('0x6793')+_0x477d('0x6794')+_0x477d('0x6795')+_0x477d('0x6796')+_0x477d('0x36dc')+_0x477d('0x3699')+_0x477d('0x377d')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e29')+_0x477d('0x3e2a')+'\x0a'+_0x477d('0x3699')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x377d'));_0x143a79[_0x477d('0x390')](_0x477d('0x226b'),_0x477d('0x6797')+_0x477d('0x6798')+_0x477d('0x3929')+_0x477d('0x6799')+_0x477d('0x679a')+_0x477d('0x679b')+_0x477d('0x3f55')+_0x477d('0x372b')+_0x477d('0x36e5')+_0x477d('0x392e')+'\x0a'+_0x477d('0x679c')+_0x477d('0x5fe5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x679d')+_0x477d('0x57e6')+_0x477d('0x679e')+_0x477d('0x679f')+_0x477d('0x57e6')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x67a0')+_0x477d('0x67a1')+_0x477d('0x67a2')+_0x477d('0x67a3')+_0x477d('0x3744')+_0x477d('0x36bf')+_0x477d('0x394d')+_0x477d('0x3d4d')+_0x477d('0x67a4')+_0x477d('0x67a5')+_0x477d('0x3be3')+_0x477d('0x67a6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x22ANALYTICS.NAME\x22\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x22ANALYTICS.DESCRIPTION\x22\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x22ANALYTICS.CREATED_AT\x22\x20|\x20translate\x20}}\x0a'+_0x477d('0x3be5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3be7')+_0x477d('0x67a7')+_0x477d('0x67a8')+_0x477d('0x3c77')+_0x477d('0x67a9')+_0x477d('0x385b')+_0x477d('0x3d66')+_0x477d('0x3be5')+_0x477d('0x67aa')+_0x477d('0x67ab')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20report.name\x20}}\x0a'+_0x477d('0x67ac')+_0x477d('0x67ad')+_0x477d('0x3be5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3d67')+_0x477d('0x3beb')+'\x0a'+_0x477d('0x67ae')+_0x477d('0x67af')+_0x477d('0x67b0')+_0x477d('0x67b1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-page=\x22vm.query.page\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-total=\x22{{\x20vm.reports.count\x20}}\x22\x0a'+_0x477d('0x67b2')+_0x477d('0x67b3')+_0x477d('0x67b4')+_0x477d('0x3b19')+_0x477d('0x36e5')+_0x477d('0x3d0f')+_0x477d('0x67b5')+_0x477d('0x67b6')+'\x20\x20\x20\x20\x20\x20\x20\x20CANCEL\x0a'+_0x477d('0x67b7')+_0x477d('0x3cff')+_0x477d('0x3840'));_0x143a79['put'](_0x477d('0x2283'),'\x0a'+_0x477d('0x4a7a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39c7')+_0x477d('0x66b7')+_0x477d('0x67b8')+_0x477d('0x3e64')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ce')+_0x477d('0x39cb')+_0x477d('0x39cf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x67b9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x67ba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d9')+_0x477d('0x36a1')+_0x477d('0x3ab5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39da')+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+_0x477d('0x39dc')+_0x477d('0x387b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39e0')+_0x477d('0x39e1')+'\x0a'+_0x477d('0x67bc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x477d('0x67bd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22TOOLS.ADD_DISPOSITION\x22\x20translate-attr-aria-label=\x22TOOLS.ADD_DISPOSITION\x22>\x0a'+_0x477d('0x67be')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x39e5')+_0x477d('0x67bf')+_0x477d('0x677e')+_0x477d('0x3a16')+_0x477d('0x66c1')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x366a')+'\x0a');_0x143a79[_0x477d('0x390')](_0x477d('0x2ae'),_0x477d('0x67c0')+'\x0a'+_0x477d('0x39eb')+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x37cd')+_0x477d('0x39ec')+_0x477d('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3760')+_0x477d('0x67c1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ef')+'\x0a'+_0x477d('0x39f0')+_0x477d('0x39f1')+_0x477d('0x39f2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39f4')+_0x477d('0x39f5')+_0x477d('0x3abf')+_0x477d('0x6687')+_0x477d('0x39a2')+_0x477d('0x36c0')+_0x477d('0x39f7')+_0x477d('0x36bf')+_0x477d('0x3699')+_0x477d('0x39f8')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x67c2')+_0x477d('0x39fa')+'\x0a'+_0x477d('0x67c3')+_0x477d('0x39fc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6689')+_0x477d('0x372b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39ff')+'\x0a'+_0x477d('0x3a00')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x67c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20selected\x0a'+_0x477d('0x3760')+'\x0a'+_0x477d('0x3daf')+_0x477d('0x3a04')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22$mdOpenMenu($event)\x22\x0a'+_0x477d('0x3a06')+_0x477d('0x66c7')+_0x477d('0x3a08')+_0x477d('0x3674')+_0x477d('0x3a09')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x67c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Select\x20all\x0a'+_0x477d('0x3832')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a0a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a0e')+_0x477d('0x3832')+_0x477d('0x3a0f')+_0x477d('0x3a10')+_0x477d('0x3a11')+_0x477d('0x36c0')+'\x0a'+_0x477d('0x3ac4')+_0x477d('0x67c6')+_0x477d('0x3a13')+_0x477d('0x3a14')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+_0x477d('0x3699')+_0x477d('0x3a17')+'\x0a'+_0x477d('0x3a18')+_0x477d('0x3a19')+'\x0a'+_0x477d('0x3a1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a1b')+_0x477d('0x67c7')+_0x477d('0x3a1d')+_0x477d('0x3a1e')+_0x477d('0x67c8')+_0x477d('0x67c9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a22')+_0x477d('0x6694')+_0x477d('0x66cf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a2c')+_0x477d('0x3a2d')+_0x477d('0x3a2e')+_0x477d('0x67ca')+_0x477d('0x67cb')+_0x477d('0x3a30')+_0x477d('0x6699')+_0x477d('0x3a31')+_0x477d('0x3a32')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x67cc')+_0x477d('0x67cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{disposition.id}}\x0a'+_0x477d('0x67ce')+_0x477d('0x67cf')+_0x477d('0x3ad9')+'\x0a'+_0x477d('0x3ada')+'\x0a'+_0x477d('0x3a43')+'\x0a'+_0x477d('0x3d9e')+_0x477d('0x66d8')+_0x477d('0x3a44')+_0x477d('0x3947')+'\x0a'+_0x477d('0x3a45')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x67d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22TOOLS.EDIT_DISPOSITION\x22>\x0a'+_0x477d('0x67d1')+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3caf')+'\x0a'+_0x477d('0x67d2')+_0x477d('0x67d3')+_0x477d('0x67d4')+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3692')+'\x0a'+_0x477d('0x3693')+_0x477d('0x3939')+'\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a56')+_0x477d('0x3ae2')+_0x477d('0x3a57')+'\x0a'+_0x477d('0x67d5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x67d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3cb5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ae6')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3a5a')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x67d7')+_0x477d('0x67d8')+_0x477d('0x3cb8')+_0x477d('0x3735')+_0x477d('0x67d9')+_0x477d('0x3699'));_0x143a79[_0x477d('0x390')](_0x477d('0x22a5'),_0x477d('0x67da')+_0x477d('0x3ef4')+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39c7')+_0x477d('0x66b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x66ad')+_0x477d('0x67dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x66bb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x3ab5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+_0x477d('0x39c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+_0x477d('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x67dd')+_0x477d('0x39de')+_0x477d('0x67de')+_0x477d('0x66b1')+_0x477d('0x39e0')+_0x477d('0x39e1')+'\x0a'+_0x477d('0x67df')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x477d('0x67e0')+_0x477d('0x67e1')+_0x477d('0x3f22')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x39e5')+_0x477d('0x67e2')+_0x477d('0x677e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x66c1')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x67e3'),_0x477d('0x3ef3')+_0x477d('0x3ef4')+_0x477d('0x381e')+_0x477d('0x365d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x477d('0x3843')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3aea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3aec')+_0x477d('0x3aed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3674')+_0x477d('0x3670')+_0x477d('0x36c0')+'\x0a'+_0x477d('0x67e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x0a'+_0x477d('0x67e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x66b9')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x67e6')+_0x477d('0x3eb4')+_0x477d('0x383b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x0a'+_0x477d('0x3ef6')+_0x477d('0x3ef7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+'\x0a'+_0x477d('0x4d6c')+_0x477d('0x3ef8')+_0x477d('0x3ef9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20interval.name\x20}}\x0a'+_0x477d('0x36a0')+_0x477d('0x36a1')+'\x0a'+_0x477d('0x3efb')+_0x477d('0x3efc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3c57')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Time\x20Range\x20From\x20field\x20is\x20invalid\x0a'+_0x477d('0x3f01')+_0x477d('0x40da')+_0x477d('0x3c68')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x3f02')+_0x477d('0x3f03')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Time\x20Range\x20To\x20field\x20is\x20invalid\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f06')+_0x477d('0x36a9')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f08')+'\x0a'+_0x477d('0x3f09')+_0x477d('0x3f0a')+_0x477d('0x3efd')+_0x477d('0x3f0b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20From\x0a'+_0x477d('0x3f0d')+_0x477d('0x3f0e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20day.value\x20|\x20ucfirst\x20}}\x0a'+_0x477d('0x3b15')+_0x477d('0x39a2')+'\x0a'+_0x477d('0x3f10')+_0x477d('0x3f11')+_0x477d('0x3f12')+_0x477d('0x3f0f')+_0x477d('0x3b15')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36bf')+_0x477d('0x39a2')+_0x477d('0x36c0')+_0x477d('0x3f14')+'\x0a'+_0x477d('0x4d6f')+_0x477d('0x4d70')+_0x477d('0x3efd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f0c')+_0x477d('0x55c0')+_0x477d('0x3f0e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20month\x20}}\x0a'+_0x477d('0x3b15')+_0x477d('0x39a2')+'\x0a'+_0x477d('0x3f17')+_0x477d('0x3f11')+_0x477d('0x3f18')+_0x477d('0x3f16')+_0x477d('0x3b15')+_0x477d('0x3f19')+_0x477d('0x36bf')+_0x477d('0x39a2')+_0x477d('0x36c0')+_0x477d('0x4d71')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f1a')+_0x477d('0x3efd')+_0x477d('0x3f15')+_0x477d('0x3f0c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f0e')+_0x477d('0x3f1c')+_0x477d('0x3b15')+'\x0a'+_0x477d('0x39a2')+'\x0a'+_0x477d('0x4d73')+_0x477d('0x3f11')+_0x477d('0x3f1d')+_0x477d('0x3f1c')+_0x477d('0x3b15')+_0x477d('0x3f1e')+_0x477d('0x36bf')+_0x477d('0x39a2')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3aea')+_0x477d('0x3aeb')+_0x477d('0x3aec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x3aee')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3af0')+_0x477d('0x3674')+_0x477d('0x3670')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387d')+_0x477d('0x387e')+'\x0a'+_0x477d('0x3f21')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20INTERVAL\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3669')+_0x477d('0x366a')+'\x0a');_0x143a79[_0x477d('0x390')](_0x477d('0x67e7'),_0x477d('0x67da')+_0x477d('0x3ef4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c1')+_0x477d('0x3843')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39c7')+_0x477d('0x66b7')+_0x477d('0x67e8')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39cb')+_0x477d('0x39cf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x67db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x66b9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d9')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+_0x477d('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x67dd')+_0x477d('0x39de')+_0x477d('0x67de')+_0x477d('0x66b1')+_0x477d('0x39e0')+_0x477d('0x39e1')+'\x0a'+_0x477d('0x67df')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22intervalForm.$invalid\x22\x0a'+_0x477d('0x67e1')+_0x477d('0x3f22')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x67e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22TOOLS.DELETE\x22>\x0a'+_0x477d('0x3a16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x39e9')+_0x477d('0x366a')+'\x0a');_0x143a79[_0x477d('0x390')](_0x477d('0x2bc'),_0x477d('0x67e9')+'\x0a'+_0x477d('0x39eb')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3b63')+_0x477d('0x67ea')+_0x477d('0x67eb')+_0x477d('0x67ec')+_0x477d('0x3e04')+_0x477d('0x372b')+'\x0a'+_0x477d('0x387b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x67ed')+_0x477d('0x3670')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b65')+_0x477d('0x67ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.interval.name}}\x0a'+_0x477d('0x36bf')+_0x477d('0x3b68')+_0x477d('0x67ef')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x38ad')+_0x477d('0x67f0')+_0x477d('0x3e11')+_0x477d('0x3d05')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3699')+_0x477d('0x39f8')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3b6c')+_0x477d('0x3e12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x678a')+_0x477d('0x3f7b')+_0x477d('0x3e14')+_0x477d('0x67f1')+_0x477d('0x3f7d')+_0x477d('0x67f2')+_0x477d('0x385c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e18')+_0x477d('0x66b7')+_0x477d('0x67f3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x3e1a')+_0x477d('0x39d2')+_0x477d('0x66b9')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x66ad')+_0x477d('0x67dc')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e25')+_0x477d('0x39d2')+_0x477d('0x66bb')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x3e26')+_0x477d('0x3e27')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e29')+_0x477d('0x3e12')+_0x477d('0x3f7a')+_0x477d('0x67f4')+_0x477d('0x3f7b')+_0x477d('0x3e14')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x67f5')+_0x477d('0x67f6')+'\x20\x20\x20\x20\x0a'+_0x477d('0x67f7')+_0x477d('0x4102')+_0x477d('0x4103')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x0a'+_0x477d('0x67f9')+_0x477d('0x4108')+'\x20\x20\x20\x20\x20\x20\x20\x20{{vm_dc.selectedIntervalIntervals.length}}\x20{{vm_dc.selectedIntervalIntervals.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected\x0a'+_0x477d('0x3b2c')+_0x477d('0x67fa')+_0x477d('0x410b')+_0x477d('0x410c')+_0x477d('0x67fb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22TOOLS.DELETE_SELECTED\x22>\x0a'+_0x477d('0x410f')+_0x477d('0x3d05')+_0x477d('0x40da')+_0x477d('0x4106')+_0x477d('0x4110')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x67fc')+_0x477d('0x4113')+_0x477d('0x3d53')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.ID\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x4115')+_0x477d('0x4116')+_0x477d('0x67fd')+_0x477d('0x4115')+_0x477d('0x67fe')+_0x477d('0x67ff')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x411d')+_0x477d('0x6800')+_0x477d('0x4115')+_0x477d('0x414c')+_0x477d('0x411e')+_0x477d('0x411f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6801')+'>\x0a'+_0x477d('0x6802')+_0x477d('0x6803')+_0x477d('0x6804')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6805')+_0x477d('0x4123')+_0x477d('0x6806')+_0x477d('0x6807')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6806')+_0x477d('0x6808')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6809')+_0x477d('0x412e')+_0x477d('0x4153')+_0x477d('0x412f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x0a'+_0x477d('0x4156')+_0x477d('0x4157')+_0x477d('0x680a')+_0x477d('0x680b')+_0x477d('0x4133')+_0x477d('0x4159')+_0x477d('0x4134')+_0x477d('0x680c')+_0x477d('0x680d')+_0x477d('0x3a52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x415c')+_0x477d('0x4137')+_0x477d('0x4138')+_0x477d('0x411e')+_0x477d('0x680e')+_0x477d('0x417e')+_0x477d('0x417f')+_0x477d('0x680f')+_0x477d('0x413b')+_0x477d('0x413c')+_0x477d('0x411e')+_0x477d('0x413d')+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x0a'+_0x477d('0x3fa6')+'\x0a'+_0x477d('0x3e27')+_0x477d('0x3e28')+_0x477d('0x3e29')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3699')+_0x477d('0x3a5a')+'\x0a'+_0x477d('0x377d'));_0x143a79['put'](_0x477d('0x2ba'),_0x477d('0x6810')+'\x0a'+_0x477d('0x39eb')+_0x477d('0x3bef')+'\x0a'+_0x477d('0x3abc')+_0x477d('0x37cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ed')+_0x477d('0x6686')+_0x477d('0x3760')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Intervals\x0a'+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ef')+'\x0a'+_0x477d('0x39f0')+_0x477d('0x39f1')+_0x477d('0x39f2')+_0x477d('0x39f3')+_0x477d('0x39f4')+_0x477d('0x39f5')+_0x477d('0x3abf')+_0x477d('0x6687')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3699')+_0x477d('0x39f8')+'\x0a'+_0x477d('0x39f9')+_0x477d('0x6811')+_0x477d('0x39fa')+'\x0a'+_0x477d('0x6812')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Back\x0a'+_0x477d('0x372b')+_0x477d('0x36e5')+'\x0a'+_0x477d('0x39ff')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x6813')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedIntervals.length}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20selected\x0a'+_0x477d('0x3760')+'\x0a'+_0x477d('0x3daf')+_0x477d('0x3a04')+_0x477d('0x3a05')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22multi\x20select\x20toggle\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22TOOLS.MULTI_SELECT_TOGGLE\x22>\x0a'+_0x477d('0x3a08')+_0x477d('0x3674')+_0x477d('0x3a09')+_0x477d('0x3a0a')+_0x477d('0x6814')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Select\x20all\x0a'+_0x477d('0x3832')+_0x477d('0x3a0f')+_0x477d('0x3a0a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Select\x20none\x0a'+_0x477d('0x3832')+_0x477d('0x3a0f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a11')+_0x477d('0x36c0')+'\x0a'+_0x477d('0x3ac4')+_0x477d('0x6815')+_0x477d('0x3a13')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6816')+_0x477d('0x6691')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x382a')+_0x477d('0x36e5')+_0x477d('0x3699')+_0x477d('0x3a17')+'\x0a'+_0x477d('0x3a18')+_0x477d('0x3a19')+'\x0a'+_0x477d('0x3a1a')+_0x477d('0x3ac6')+'\x0a'+_0x477d('0x3a1b')+_0x477d('0x6817')+_0x477d('0x3a1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6818')+_0x477d('0x3a21')+_0x477d('0x3a22')+_0x477d('0x6694')+_0x477d('0x66cf')+_0x477d('0x6697')+_0x477d('0x3acb')+_0x477d('0x3a2c')+_0x477d('0x3a2d')+_0x477d('0x3a2e')+_0x477d('0x6819')+_0x477d('0x3db9')+_0x477d('0x3a30')+_0x477d('0x6699')+_0x477d('0x3a31')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a2c')+_0x477d('0x681a')+_0x477d('0x681b')+_0x477d('0x681c')+_0x477d('0x681d')+_0x477d('0x681e')+_0x477d('0x681f')+_0x477d('0x6820')+_0x477d('0x681f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22description\x20\x22\x20>{{interval.description}}\x0a'+_0x477d('0x3ad9')+'\x0a'+_0x477d('0x3ada')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a44')+_0x477d('0x3947')+'\x0a'+_0x477d('0x3a45')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3adc')+'\x0a'+_0x477d('0x6821')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22TOOLS.EDIT_INTERVAL\x22>\x0a'+_0x477d('0x41b5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x680d')+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4c')+_0x477d('0x3692')+'\x0a'+_0x477d('0x3693')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a56')+_0x477d('0x3ae2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x6822')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6823')+_0x477d('0x3a59')+'\x0a'+_0x477d('0x3cb5')+_0x477d('0x36e5')+_0x477d('0x3ae6')+'\x0a'+_0x477d('0x3699')+_0x477d('0x3a5a')+'\x0a'+_0x477d('0x6824')+'\x20\x20\x20\x20\x0a'+_0x477d('0x365d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c4')+_0x477d('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x66b7')+_0x477d('0x6829')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39cb')+_0x477d('0x39cf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x682a')+_0x477d('0x39d2')+_0x477d('0x66b9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x66ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x66bb')+_0x477d('0x36bf')+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ab5')+_0x477d('0x39c3')+_0x477d('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+_0x477d('0x39dc')+_0x477d('0x387b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39e0')+_0x477d('0x39e1')+'\x0a'+_0x477d('0x682c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x477d('0x682d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22TOOLS.ADD_PAUSE\x22\x20translate-attr-aria-label=\x22TOOLS.ADD_PAUSE\x22>\x0a'+_0x477d('0x682e')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x39e5')+_0x477d('0x682f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22TOOLS.DELETE\x22>\x0a'+_0x477d('0x3a16')+_0x477d('0x66c1')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x39e9')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x2be'),_0x477d('0x6830')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3bef')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x37cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3760')+_0x477d('0x6831')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39ef')+'\x0a'+_0x477d('0x39f0')+_0x477d('0x39f1')+_0x477d('0x39f2')+_0x477d('0x39f3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39f5')+_0x477d('0x3abf')+_0x477d('0x6687')+_0x477d('0x39a2')+_0x477d('0x36c0')+_0x477d('0x39f7')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x6832')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22>\x0a'+'\x0a'+_0x477d('0x6833')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39fd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Back\x0a'+_0x477d('0x372b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39ff')+'\x0a'+_0x477d('0x3a00')+_0x477d('0x6834')+_0x477d('0x6835')+_0x477d('0x668c')+_0x477d('0x3760')+'\x0a'+_0x477d('0x3daf')+_0x477d('0x3a04')+_0x477d('0x3a05')+_0x477d('0x3a06')+_0x477d('0x66c7')+_0x477d('0x3a08')+_0x477d('0x3674')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6836')+_0x477d('0x3a0c')+_0x477d('0x3832')+_0x477d('0x3a0f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a0e')+_0x477d('0x3832')+_0x477d('0x3a0f')+_0x477d('0x3a10')+_0x477d('0x3a11')+_0x477d('0x36c0')+'\x0a'+_0x477d('0x3ac4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a13')+_0x477d('0x3a14')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3699')+_0x477d('0x3a17')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ac6')+'\x0a'+_0x477d('0x3a1b')+_0x477d('0x6837')+_0x477d('0x3a1d')+_0x477d('0x3a1e')+_0x477d('0x6838')+_0x477d('0x6839')+_0x477d('0x3a21')+_0x477d('0x3a22')+_0x477d('0x6694')+_0x477d('0x66cf')+_0x477d('0x6697')+_0x477d('0x3acb')+_0x477d('0x3a2c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a2e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6699')+_0x477d('0x3a31')+_0x477d('0x3a32')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x683a')+_0x477d('0x683b')+_0x477d('0x683c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22id\x20\x22\x20>{{pause.id}}\x0a'+_0x477d('0x683d')+_0x477d('0x683e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{pause.description}}\x0a'+_0x477d('0x3ad9')+'\x0a'+_0x477d('0x3ada')+'\x0a'+_0x477d('0x3a43')+'\x0a'+_0x477d('0x3d9e')+_0x477d('0x66d8')+_0x477d('0x3a44')+_0x477d('0x3947')+'\x0a'+_0x477d('0x3a45')+'\x0a'+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3adc')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3caf')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3692')+'\x0a'+_0x477d('0x3693')+_0x477d('0x3939')+'\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a57')+'\x0a'+_0x477d('0x6842')+_0x477d('0x3ae4')+_0x477d('0x6843')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3cb5')+_0x477d('0x36e5')+_0x477d('0x3ae6')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x6844')+_0x477d('0x6845')+_0x477d('0x6846')+_0x477d('0x3cb8')+_0x477d('0x3735')+_0x477d('0x6847')+_0x477d('0x3699'));_0x143a79[_0x477d('0x390')](_0x477d('0x22eb'),_0x477d('0x6848')+_0x477d('0x6849')+_0x477d('0x381e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3660')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39c7')+_0x477d('0x66b7')+_0x477d('0x684a')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ce')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x684b')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x684c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6761')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d9')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x684f')+_0x477d('0x6850')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x3de0')+_0x477d('0x6851')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>CSV\x0a'+_0x477d('0x6852')+_0x477d('0x3a46')+_0x477d('0x6853')+_0x477d('0x6854')+_0x477d('0x3a46')+_0x477d('0x6855')+_0x477d('0x3aac')+_0x477d('0x6856')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Output\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3e73')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Active\x0a'+_0x477d('0x3eb4')+_0x477d('0x3867')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6857')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6858')+_0x477d('0x6859')+_0x477d('0x3859')+_0x477d('0x685a')+_0x477d('0x385b')+_0x477d('0x46df')+_0x477d('0x685b')+_0x477d('0x385b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x46e1')+_0x477d('0x36a9')+_0x477d('0x46db')+_0x477d('0x685c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Time\x20is\x20required\x0a'+_0x477d('0x385b')+_0x477d('0x46df')+_0x477d('0x685d')+_0x477d('0x385b')+_0x477d('0x385c')+_0x477d('0x46e5')+_0x477d('0x36a9')+_0x477d('0x44f1')+_0x477d('0x382a')+_0x477d('0x3f90')+_0x477d('0x685e')+_0x477d('0x5855')+_0x477d('0x46db')+_0x477d('0x685f')+_0x477d('0x6859')+_0x477d('0x3859')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Date\x20is\x20required\x0a'+_0x477d('0x385b')+_0x477d('0x46df')+_0x477d('0x685b')+_0x477d('0x385b')+_0x477d('0x385c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a9')+_0x477d('0x46db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6860')+_0x477d('0x3859')+_0x477d('0x6861')+_0x477d('0x385b')+_0x477d('0x46df')+_0x477d('0x685d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x385c')+_0x477d('0x46e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x382a')+_0x477d('0x6862')+_0x477d('0x6863')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6864')+_0x477d('0x3e73')+_0x477d('0x6865')+_0x477d('0x6866')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x6867')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20LastUnit\x0a'+_0x477d('0x6868')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x3de0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Hours\x0a'+_0x477d('0x686b')+_0x477d('0x3a46')+_0x477d('0x686c')+_0x477d('0x686d')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Weeks\x0a'+_0x477d('0x686e')+_0x477d('0x3a46')+_0x477d('0x686f')+_0x477d('0x6870')+_0x477d('0x3a46')+_0x477d('0x6871')+_0x477d('0x6872')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Years\x0a'+_0x477d('0x3aac')+_0x477d('0x6873')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6874')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e73')+_0x477d('0x6875')+_0x477d('0x3eb4')+_0x477d('0x3867')+_0x477d('0x6876')+_0x477d('0x6877')+_0x477d('0x6878')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x3de0')+_0x477d('0x6879')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22MailAccountId.canSelect\x20===\x20false\x22>{{\x20MailAccountId.name\x20}}\x0a'+_0x477d('0x3aac')+_0x477d('0x687a')+_0x477d('0x39d2')+_0x477d('0x687b')+_0x477d('0x36bf')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6876')+_0x477d('0x687c')+_0x477d('0x687d')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x687e')+_0x477d('0x687f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EmailAddress\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6880')+_0x477d('0x6881')+_0x477d('0x6882')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cf')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x6883')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6884')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6885')+_0x477d('0x6886')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6887')+_0x477d('0x6888')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EmailBccAddress\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x6880')+_0x477d('0x6889')+_0x477d('0x3eb4')+_0x477d('0x3867')+_0x477d('0x3e73')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d6')+_0x477d('0x688a')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d9')+_0x477d('0x36a1')+_0x477d('0x3ab5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3663')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x688c')+_0x477d('0x3c8b')+_0x477d('0x688d')+_0x477d('0x688e')+_0x477d('0x688f')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x39e5')+_0x477d('0x6890')+_0x477d('0x677e')+_0x477d('0x3a16')+_0x477d('0x66c1')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39e9')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79['put']('app/main/apps/tools/views/schedules/partialViews/reports/treeReports.html',_0x477d('0x6797')+_0x477d('0x6798')+_0x477d('0x3929')+_0x477d('0x6799')+_0x477d('0x679a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f55')+_0x477d('0x372b')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x679c')+_0x477d('0x5fe5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x679e')+_0x477d('0x679d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x57e6')+_0x477d('0x36c0')+_0x477d('0x6891')+_0x477d('0x6892')+_0x477d('0x67a0')+_0x477d('0x67a1')+_0x477d('0x67a2')+_0x477d('0x67a3')+_0x477d('0x3744')+_0x477d('0x36bf')+_0x477d('0x394d')+_0x477d('0x3d4d')+_0x477d('0x67a4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3be3')+_0x477d('0x67a6')+_0x477d('0x6893')+_0x477d('0x6894')+_0x477d('0x6895')+_0x477d('0x3be5')+_0x477d('0x3be6')+_0x477d('0x3be7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x67a8')+_0x477d('0x3c77')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a'+_0x477d('0x385b')+_0x477d('0x3d66')+_0x477d('0x3be5')+_0x477d('0x67aa')+_0x477d('0x67ab')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20report.name\x20}}\x0a'+_0x477d('0x67ac')+_0x477d('0x67ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3d67')+_0x477d('0x3beb')+'\x0a'+_0x477d('0x67ae')+_0x477d('0x67af')+_0x477d('0x67b0')+_0x477d('0x67b1')+_0x477d('0x6896')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-total=\x22{{\x20vm.reports.count\x20}}\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-on-paginate=\x22vm.getReports\x22\x0a'+_0x477d('0x67b3')+_0x477d('0x67b4')+_0x477d('0x3b19')+_0x477d('0x36e5')+_0x477d('0x3d0f')+'\x20\x20\x20\x20\x0a'+_0x477d('0x67b6')+_0x477d('0x6897')+_0x477d('0x67b7')+_0x477d('0x3cff')+'\x0a');_0x143a79[_0x477d('0x390')](_0x477d('0x2c2'),_0x477d('0x6898')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3bef')+'\x0a'+_0x477d('0x3abc')+_0x477d('0x37cd')+_0x477d('0x39ec')+_0x477d('0x39ed')+_0x477d('0x6686')+_0x477d('0x3760')+_0x477d('0x6899')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39ef')+'\x0a'+_0x477d('0x39f0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39f2')+_0x477d('0x39f3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39f5')+_0x477d('0x3abf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39a2')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3699')+_0x477d('0x39f8')+'\x0a'+_0x477d('0x39f9')+_0x477d('0x689a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22>\x0a'+'\x0a'+_0x477d('0x689b')+_0x477d('0x39fc')+_0x477d('0x39fd')+_0x477d('0x6689')+_0x477d('0x372b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a00')+_0x477d('0x689c')+_0x477d('0x689d')+_0x477d('0x668c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3daf')+_0x477d('0x3a04')+_0x477d('0x3a05')+_0x477d('0x3a06')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22TOOLS.MULTI_SELECT_TOGGLE\x22>\x0a'+_0x477d('0x3a08')+_0x477d('0x3674')+_0x477d('0x3a09')+_0x477d('0x3a0a')+_0x477d('0x689e')+_0x477d('0x3a0c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a0f')+_0x477d('0x3a0a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Select\x20none\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a0f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a11')+_0x477d('0x36c0')+'\x0a'+_0x477d('0x3ac4')+_0x477d('0x689f')+_0x477d('0x3a13')+_0x477d('0x3a14')+_0x477d('0x68a0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22TOOLS.DELETE_SELECTED\x22>\x0a'+_0x477d('0x3a16')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+_0x477d('0x3699')+_0x477d('0x3a17')+'\x0a'+_0x477d('0x3a18')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a1a')+_0x477d('0x3ac6')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x68a1')+_0x477d('0x3a1d')+_0x477d('0x3a1e')+_0x477d('0x68a2')+_0x477d('0x68a3')+_0x477d('0x3a21')+_0x477d('0x3a22')+_0x477d('0x6694')+_0x477d('0x66cf')+_0x477d('0x68a4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.VALIDITYSTART\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.VALIDITYEND\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x6697')+_0x477d('0x3acb')+_0x477d('0x3a2c')+_0x477d('0x3a2d')+_0x477d('0x3a2e')+_0x477d('0x68a5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6699')+_0x477d('0x3a31')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x68a6')+_0x477d('0x68a7')+_0x477d('0x68a8')+_0x477d('0x68a9')+_0x477d('0x68aa')+_0x477d('0x68ab')+_0x477d('0x68ac')+_0x477d('0x68ad')+_0x477d('0x68ae')+_0x477d('0x68af')+_0x477d('0x68ae')+_0x477d('0x68b0')+_0x477d('0x68b1')+_0x477d('0x68b2')+_0x477d('0x3ad9')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a43')+'\x0a'+_0x477d('0x3d9e')+_0x477d('0x66d8')+_0x477d('0x3a44')+_0x477d('0x3947')+'\x0a'+_0x477d('0x3a45')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3dc6')+'\x0a'+_0x477d('0x68b5')+_0x477d('0x68b6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Run\x20Schedule\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3caf')+'\x0a'+_0x477d('0x68b7')+_0x477d('0x68b8')+_0x477d('0x68b9')+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4c')+_0x477d('0x3692')+'\x0a'+_0x477d('0x3693')+_0x477d('0x3939')+'\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a56')+_0x477d('0x3ae2')+_0x477d('0x3a57')+'\x0a'+_0x477d('0x68ba')+_0x477d('0x3ae4')+_0x477d('0x68bb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3cb5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ae6')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3a5a')+'\x0a'+_0x477d('0x68bc')+_0x477d('0x68bd')+_0x477d('0x68be')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x68bf')+_0x477d('0x3699'));_0x143a79['put'](_0x477d('0x2303'),_0x477d('0x68c0')+_0x477d('0x68c1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x0a'+_0x477d('0x68c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cf')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x68c3')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x0a'+_0x477d('0x68c4')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c5')+_0x477d('0x39c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x68c5')+_0x477d('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22soundForm.$invalid\x20||\x20soundForm.$pristine\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22TOOLS.SAVE\x22\x20translate-attr-aria-label=\x22TOOLS.SAVE\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x477d('0x39e1')+'\x0a'+_0x477d('0x68c6')+_0x477d('0x3c8b')+_0x477d('0x68c7')+_0x477d('0x68c8')+_0x477d('0x68c9')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x68ca')+_0x477d('0x677e')+_0x477d('0x3a16')+_0x477d('0x66c1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x39e9')+'\x20\x20\x20\x20\x0a'+'\x0a');_0x143a79['put'](_0x477d('0x2c7'),_0x477d('0x68cb')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3bef')+'\x0a'+_0x477d('0x3abc')+_0x477d('0x37cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ed')+_0x477d('0x6686')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x68cc')+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39f0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39f2')+_0x477d('0x39f3')+_0x477d('0x39f4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3abf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39a2')+_0x477d('0x36c0')+_0x477d('0x39f7')+_0x477d('0x36bf')+_0x477d('0x3699')+_0x477d('0x39f8')+'\x0a'+_0x477d('0x39f9')+_0x477d('0x68cd')+_0x477d('0x39fa')+'\x0a'+_0x477d('0x68ce')+_0x477d('0x39fc')+_0x477d('0x39fd')+_0x477d('0x6689')+_0x477d('0x372b')+_0x477d('0x36e5')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x68cf')+_0x477d('0x668c')+_0x477d('0x3760')+'\x0a'+_0x477d('0x3daf')+_0x477d('0x3a04')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22$mdOpenMenu($event)\x22\x0a'+_0x477d('0x3a06')+_0x477d('0x66c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3674')+_0x477d('0x3a09')+_0x477d('0x3a0a')+_0x477d('0x68d0')+_0x477d('0x3a0c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a0e')+_0x477d('0x3832')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a10')+_0x477d('0x3a11')+_0x477d('0x36c0')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x68d1')+_0x477d('0x3a13')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a16')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x36e5')+_0x477d('0x3699')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a18')+_0x477d('0x3a19')+'\x0a'+_0x477d('0x3a1a')+_0x477d('0x3ac6')+'\x0a'+_0x477d('0x3a1b')+_0x477d('0x68d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a1e')+_0x477d('0x68d3')+_0x477d('0x68d4')+_0x477d('0x3a21')+_0x477d('0x3a22')+_0x477d('0x6694')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.NAME\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x68d5')+_0x477d('0x6697')+_0x477d('0x3acb')+_0x477d('0x3a2c')+_0x477d('0x3a2d')+_0x477d('0x3a2e')+_0x477d('0x68d6')+_0x477d('0x3acd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6699')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a32')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x68d7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x68d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22id\x20\x22\x20>{{sound.id}}\x0a'+_0x477d('0x68d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22name\x20\x22\x20>{{sound.name}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x68da')+_0x477d('0x68db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x68dc')+_0x477d('0x68dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a42')+'\x0a'+_0x477d('0x3a43')+'\x0a'+_0x477d('0x3d9e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22TOOLS.MORE\x22\x20ng-click=\x22$mdOpenMenu($event)\x22>\x0a'+_0x477d('0x3a44')+_0x477d('0x3947')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x68de')+_0x477d('0x68df')+_0x477d('0x68e0')+_0x477d('0x3a52')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3dc6')+'\x0a'+_0x477d('0x68e1')+_0x477d('0x68e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Download\x20Sound\x0a'+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3caf')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3692')+'\x0a'+_0x477d('0x3693')+_0x477d('0x3939')+'\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a56')+_0x477d('0x3ae2')+_0x477d('0x3a57')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ae4')+_0x477d('0x68e5')+_0x477d('0x3a59')+'\x0a'+_0x477d('0x3cb5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ae6')+'\x0a'+_0x477d('0x3699')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x68e6')+_0x477d('0x68e7')+_0x477d('0x580c')+'\x20\x20\x20\x20\x0a'+_0x477d('0x68e8')+_0x477d('0x3699'));_0x143a79['put'](_0x477d('0x230b'),_0x477d('0x580f')+_0x477d('0x5810')+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x3aea')+_0x477d('0x3aeb')+_0x477d('0x3aec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x3aee')+_0x477d('0x36bf')+_0x477d('0x3aef')+_0x477d('0x3af0')+_0x477d('0x3674')+_0x477d('0x3670')+_0x477d('0x36c0')+_0x477d('0x68e9')+_0x477d('0x5811')+_0x477d('0x68ea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20flow-drag-leave=\x22vm.dropping=false\x22\x20ng-class=\x22{\x27dropping\x27:vm.dropping}\x22>\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x68eb')+_0x477d('0x3670')+'\x0a'+_0x477d('0x5813')+_0x477d('0x68ec')+_0x477d('0x68ed')+_0x477d('0x3674')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20You\x20can\x20also\x20drop\x20your\x20file\x20here\x20to\x20upload.\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+'\x0a'+_0x477d('0x5815')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x68ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.sound.file.name}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x5818')+_0x477d('0x36c0')+'\x0a'+_0x477d('0x3663')+'\x0a'+_0x477d('0x3b1a')+_0x477d('0x5819')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x581a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22TOOLS.FINISH\x22\x20translate-attr-aria-label=\x22TOOLS.FINISH\x22>\x0a'+_0x477d('0x581c')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3669')+_0x477d('0x366a')+'');_0x143a79[_0x477d('0x390')](_0x477d('0x2322'),_0x477d('0x68ef')+_0x477d('0x4a8c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x66ad')+_0x477d('0x68f1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x68f2')+_0x477d('0x39d2')+_0x477d('0x66bb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x68f3')+_0x477d('0x3eb4')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x68f4')+_0x477d('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22tagForm.$invalid\x20||\x20tagForm.$pristine\x22\x0a'+_0x477d('0x66b1')+_0x477d('0x39e0')+_0x477d('0x39e1')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x68f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x68f7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22TOOLS.DELETE\x22>\x0a'+_0x477d('0x3a16')+_0x477d('0x66c1')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3840'));_0x143a79['put'](_0x477d('0x2c9'),_0x477d('0x68f8')+'\x0a'+_0x477d('0x39eb')+_0x477d('0x3bef')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x37cd')+_0x477d('0x39ec')+_0x477d('0x39ed')+_0x477d('0x6686')+_0x477d('0x3760')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Tags\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39ef')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39f1')+_0x477d('0x39f2')+_0x477d('0x39f3')+_0x477d('0x39f4')+_0x477d('0x39f5')+_0x477d('0x3abf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39a2')+_0x477d('0x36c0')+_0x477d('0x39f7')+_0x477d('0x36bf')+_0x477d('0x3699')+_0x477d('0x39f8')+'\x0a'+_0x477d('0x39f9')+_0x477d('0x68f9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22>\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6689')+_0x477d('0x372b')+_0x477d('0x36e5')+'\x0a'+_0x477d('0x39ff')+'\x0a'+_0x477d('0x3a00')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x68fa')+_0x477d('0x668c')+_0x477d('0x3760')+'\x0a'+_0x477d('0x3daf')+_0x477d('0x3a04')+_0x477d('0x3a05')+_0x477d('0x3a06')+_0x477d('0x66c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3674')+_0x477d('0x3a09')+_0x477d('0x3a0a')+_0x477d('0x68fb')+_0x477d('0x3a0c')+_0x477d('0x3832')+_0x477d('0x3a0f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x68fc')+_0x477d('0x3a0e')+_0x477d('0x3832')+_0x477d('0x3a0f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a11')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3ac4')+_0x477d('0x68fd')+_0x477d('0x3a13')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x68fe')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22TOOLS.DELETE_SELECTED\x22>\x0a'+_0x477d('0x3a16')+_0x477d('0x387e')+_0x477d('0x382a')+_0x477d('0x36e5')+_0x477d('0x3699')+_0x477d('0x3a17')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a1a')+_0x477d('0x3ac6')+'\x0a'+_0x477d('0x3a1b')+_0x477d('0x68ff')+_0x477d('0x3a1d')+_0x477d('0x3a1e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6900')+_0x477d('0x3a21')+_0x477d('0x3a22')+_0x477d('0x6694')+_0x477d('0x66cf')+_0x477d('0x6697')+_0x477d('0x6901')+_0x477d('0x3acb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a2e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a30')+_0x477d('0x6699')+_0x477d('0x3a31')+_0x477d('0x3a32')+_0x477d('0x3a2c')+_0x477d('0x6902')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6903')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a43')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a45')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3adc')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a47')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3caf')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Tag\x0a'+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3692')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3939')+'\x0a'+'\x0a'+_0x477d('0x3a2c')+_0x477d('0x3a56')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a57')+'\x0a'+_0x477d('0x690b')+_0x477d('0x3ae4')+_0x477d('0x690c')+_0x477d('0x3a59')+'\x0a'+_0x477d('0x3cb5')+_0x477d('0x36e5')+_0x477d('0x3ae6')+'\x0a'+_0x477d('0x3699')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x690d')+_0x477d('0x690e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20tag\x22\x20translate\x20translate-attr-aria-label=\x22TOOLS.ADD_TAG\x22>\x0a'+_0x477d('0x3cb8')+_0x477d('0x3735')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3699'));_0x143a79['put'](_0x477d('0x2334'),_0x477d('0x690f')+_0x477d('0x6910')+_0x477d('0x381e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3844')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+_0x477d('0x39c7')+_0x477d('0x66b7')+_0x477d('0x6911')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6912')+_0x477d('0x6913')+_0x477d('0x36c0')+_0x477d('0x3e73')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x0a'+_0x477d('0x6914')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x6915')+_0x477d('0x39d2')+_0x477d('0x66bb')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x39c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a16')+_0x477d('0x66c1')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x39e9')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x2cd'),'\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3bef')+'\x0a'+_0x477d('0x3abc')+_0x477d('0x37cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ed')+_0x477d('0x6686')+_0x477d('0x3760')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Templates\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39ef')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39f2')+_0x477d('0x39f3')+_0x477d('0x39f4')+_0x477d('0x39f5')+_0x477d('0x3abf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39a2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39f7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3699')+_0x477d('0x39f8')+'\x0a'+_0x477d('0x39f9')+_0x477d('0x6919')+_0x477d('0x39fa')+'\x0a'+_0x477d('0x691a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6689')+_0x477d('0x372b')+_0x477d('0x36e5')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x691b')+_0x477d('0x668c')+_0x477d('0x3760')+'\x0a'+_0x477d('0x3daf')+_0x477d('0x3a04')+_0x477d('0x3a05')+_0x477d('0x3a06')+_0x477d('0x66c7')+_0x477d('0x3a08')+_0x477d('0x3674')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a0a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Select\x20all\x0a'+_0x477d('0x3832')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a0a')+_0x477d('0x691c')+_0x477d('0x3a0e')+_0x477d('0x3832')+_0x477d('0x3a0f')+_0x477d('0x3a10')+_0x477d('0x3a11')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a13')+_0x477d('0x3a14')+_0x477d('0x691d')+_0x477d('0x6691')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+_0x477d('0x3699')+_0x477d('0x3a17')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3a19')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ac6')+'\x0a'+_0x477d('0x3a1b')+_0x477d('0x691e')+_0x477d('0x3a1d')+_0x477d('0x3a1e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x691f')+_0x477d('0x3a21')+_0x477d('0x3a22')+_0x477d('0x6694')+_0x477d('0x66cf')+_0x477d('0x6697')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a2c')+_0x477d('0x3a2d')+_0x477d('0x3a2e')+_0x477d('0x6920')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a30')+_0x477d('0x6699')+_0x477d('0x3a31')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a2c')+_0x477d('0x6921')+_0x477d('0x6922')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a45')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3adc')+'\x0a'+_0x477d('0x6927')+_0x477d('0x6928')+_0x477d('0x6929')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x692a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22TOOLS.DELETE_TEMPLATE\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Template\x0a'+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3692')+'\x0a'+_0x477d('0x3693')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x0a'+_0x477d('0x3a2c')+_0x477d('0x3a56')+_0x477d('0x3ae2')+_0x477d('0x3a57')+'\x0a'+_0x477d('0x692b')+_0x477d('0x3ae4')+_0x477d('0x692c')+_0x477d('0x3a59')+'\x0a'+_0x477d('0x3cb5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3699')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x692d')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3cb8')+_0x477d('0x3735')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a');_0x143a79['put'](_0x477d('0x2448'),_0x477d('0x692e')+'\x20\x20\x20\x20\x0a'+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c6')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x66b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x66b9')+_0x477d('0x36bf')+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Channel\x0a'+_0x477d('0x692f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5e')+_0x477d('0x6930')+_0x477d('0x3dda')+_0x477d('0x3de0')+_0x477d('0x3f5c')+_0x477d('0x4f9f')+_0x477d('0x3a46')+_0x477d('0x6931')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Channel\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x3e73')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x0a'+_0x477d('0x3eb4')+_0x477d('0x3867')+_0x477d('0x3e73')+_0x477d('0x66ad')+_0x477d('0x6941')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cf')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6942')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+_0x477d('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6943')+_0x477d('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22triggerForm.$invalid\x20||\x20triggerForm.$pristine\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22TOOLS.SAVE\x22\x20translate-attr-aria-label=\x22TOOLS.SAVE\x22>\x0a'+_0x477d('0x39e0')+_0x477d('0x39e1')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39e5')+_0x477d('0x6947')+_0x477d('0x677e')+_0x477d('0x3a16')+_0x477d('0x66c1')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x39e9')+'\x20\x20\x20\x20\x0a'+'\x0a');_0x143a79[_0x477d('0x390')](_0x477d('0x23ac'),_0x477d('0x6948')+_0x477d('0x6949')+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Action\x0a'+_0x477d('0x694a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-init=\x22vm.onActionInit()\x22\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5e')+_0x477d('0x694b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x3f5c')+_0x477d('0x694c')+_0x477d('0x694d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27TOOLS.CONTACT_MANAGER\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3fc8')+_0x477d('0x694e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22vm.trigger.channel\x20==\x20\x27voice\x27\x20&&\x20((vm.newAction\x20&&\x20vm.hasModulePermissions.Integrations)\x20||\x20!vm.newAction)\x22\x20\x0a'+_0x477d('0x694f')+_0x477d('0x3fc8')+_0x477d('0x6950')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6951')+_0x477d('0x3fc8')+_0x477d('0x6952')+_0x477d('0x3a46')+_0x477d('0x6953')+_0x477d('0x3fc8')+_0x477d('0x6954')+_0x477d('0x3a46')+_0x477d('0x6955')+_0x477d('0x3fc8')+_0x477d('0x6956')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27TOOLS.BROWSER\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3fc8')+_0x477d('0x6957')+_0x477d('0x694d')+_0x477d('0x6958')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6959')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27TOOLS.SCRIPT\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x695a')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x695b')+_0x477d('0x695c')+_0x477d('0x695d')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3de0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x695f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6960')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x6961')+_0x477d('0x3ef5')+_0x477d('0x695d')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5e')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3de0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6964')+_0x477d('0x6965')+_0x477d('0x695d')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x3de0')+_0x477d('0x6966')+_0x477d('0x695e')+_0x477d('0x3aac')+_0x477d('0x695f')+_0x477d('0x39d2')+_0x477d('0x6967')+_0x477d('0x36bf')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6964')+_0x477d('0x6968')+_0x477d('0x6969')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3a5e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3de0')+_0x477d('0x3f5c')+_0x477d('0x696a')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27TOOLS.YES\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3fc8')+_0x477d('0x696b')+_0x477d('0x3a46')+_0x477d('0x696c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x696d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x696e')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x696f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x695f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x696f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Url\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d6')+_0x477d('0x697d')+_0x477d('0x697e')+_0x477d('0x39d2')+_0x477d('0x697f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6980')+_0x477d('0x3deb')+_0x477d('0x3e23')+_0x477d('0x6981')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x6979')+_0x477d('0x6982')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6983')+_0x477d('0x6984')+_0x477d('0x6985')+_0x477d('0x6986')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6984')+_0x477d('0x6987')+_0x477d('0x6988')+_0x477d('0x6989')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x698a')+_0x477d('0x696d')+_0x477d('0x39d2')+_0x477d('0x698b')+_0x477d('0x36bf')+_0x477d('0x39d9')+_0x477d('0x36a1')+_0x477d('0x698c')+_0x477d('0x698d')+_0x477d('0x698e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x698f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6990')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d9')+_0x477d('0x36a1')+_0x477d('0x698c')+_0x477d('0x6991')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6992')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6993')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6994')+_0x477d('0x36bf')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3670')+_0x477d('0x3867')+_0x477d('0x6995')+_0x477d('0x6996')+_0x477d('0x695d')+_0x477d('0x6997')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x3de0')+_0x477d('0x6998')+_0x477d('0x6999')+_0x477d('0x699a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Desk\x0a'+_0x477d('0x69a4')+_0x477d('0x69a5')+_0x477d('0x69a6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ServiceNow\x0a'+_0x477d('0x69ab')+_0x477d('0x69ac')+_0x477d('0x69ad')+_0x477d('0x3aac')+_0x477d('0x695f')+_0x477d('0x39d2')+_0x477d('0x69ae')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x69af')+_0x477d('0x69b0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Account\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Account\x0a'+_0x477d('0x6969')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.newAction\x20&&\x20(!vm.newAction\x20&&\x20!vm.hasSectionPermissions[1306])\x22\x20\x0a'+_0x477d('0x3dda')+_0x477d('0x3de0')+_0x477d('0x69b3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22data2.canSelect\x20===\x20false\x22>{{\x20data2.name\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x696d')+_0x477d('0x39d2')+_0x477d('0x69b4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x69b5')+_0x477d('0x69b0')+_0x477d('0x6969')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.newAction\x20&&\x20(!vm.newAction\x20&&\x20!vm.hasSectionPermissions[1307])\x22\x20\x0a'+_0x477d('0x3dda')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x69b6')+_0x477d('0x69b2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x696d')+_0x477d('0x39d2')+_0x477d('0x69b4')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x69b7')+_0x477d('0x69b0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Account\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x69b9')+_0x477d('0x69b0')+_0x477d('0x6969')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5e')+_0x477d('0x69ba')+_0x477d('0x3dda')+_0x477d('0x3de0')+_0x477d('0x69bb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22data2.canSelect\x20===\x20false\x22>{{\x20data2.name\x20}}\x0a'+_0x477d('0x3aac')+_0x477d('0x696d')+_0x477d('0x39d2')+_0x477d('0x69b4')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x69b0')+_0x477d('0x6969')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x69bc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3de0')+_0x477d('0x69bd')+_0x477d('0x69b2')+_0x477d('0x3aac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Account\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x69be')+_0x477d('0x69b0')+_0x477d('0x6969')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5e')+_0x477d('0x69bf')+_0x477d('0x3dda')+_0x477d('0x3de0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x696d')+_0x477d('0x39d2')+_0x477d('0x69b4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x69c2')+_0x477d('0x69b0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x69c5')+_0x477d('0x69b0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Account\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x69c7')+_0x477d('0x69c8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20data3.name\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x69c9')+_0x477d('0x39d2')+_0x477d('0x69ca')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x69cb')+_0x477d('0x69c8')+_0x477d('0x69cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x477d('0x69cd')+_0x477d('0x3dda')+_0x477d('0x3de0')+_0x477d('0x69ce')+_0x477d('0x69cf')+_0x477d('0x3aac')+_0x477d('0x69c9')+_0x477d('0x39d2')+_0x477d('0x69ca')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x69d0')+_0x477d('0x69c8')+_0x477d('0x69cc')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x477d('0x69d1')+_0x477d('0x3dda')+_0x477d('0x3de0')+_0x477d('0x69d2')+_0x477d('0x69cf')+_0x477d('0x3aac')+_0x477d('0x69c9')+_0x477d('0x39d2')+_0x477d('0x69ca')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x69d3')+_0x477d('0x69c8')+_0x477d('0x69cc')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x69d4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x69d5')+_0x477d('0x69cf')+_0x477d('0x3aac')+_0x477d('0x69c9')+_0x477d('0x39d2')+_0x477d('0x69ca')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x69c8')+_0x477d('0x69cc')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x477d('0x69ba')+_0x477d('0x3dda')+_0x477d('0x3de0')+_0x477d('0x69d6')+_0x477d('0x69cf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x69c9')+_0x477d('0x39d2')+_0x477d('0x69ca')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x69d7')+_0x477d('0x69c8')+_0x477d('0x69cc')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x3a5e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.newAction\x20&&\x20(!vm.newAction\x20&&\x20!vm.hasSectionPermissions[1303])\x22\x20\x0a'+_0x477d('0x3dda')+_0x477d('0x3de0')+_0x477d('0x69d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22data3.canSelect\x20===\x20false\x22>{{\x20data3.name\x20}}\x0a'+_0x477d('0x3aac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x69ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x69d9')+_0x477d('0x69c8')+_0x477d('0x69cc')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x69bf')+_0x477d('0x3dda')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x69c8')+_0x477d('0x69cc')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x477d('0x69c1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x69da')+_0x477d('0x69cf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x69c9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x69ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x69db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Configuration\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x69dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Configuration\x0a'+_0x477d('0x69cc')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.newAction\x20&&\x20(!vm.newAction\x20&&\x20!vm.hasSectionPermissions[1311])\x22\x20\x0a'+_0x477d('0x3dda')+_0x477d('0x3de0')+_0x477d('0x69de')+_0x477d('0x69cf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x69c9')+_0x477d('0x39d2')+_0x477d('0x69ca')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x69df')+_0x477d('0x3ef5')+_0x477d('0x695d')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3a5e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cf')+_0x477d('0x3de0')+_0x477d('0x69e0')+_0x477d('0x3a46')+_0x477d('0x6962')+_0x477d('0x5861')+_0x477d('0x3a46')+_0x477d('0x6963')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Windows\x20App\x0a'+_0x477d('0x3aac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x66fa')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x66fe')+_0x477d('0x69e1')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6701')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Url\x20must\x20be\x20a\x20valid\x20url\x20http://www.xcally.com\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d9')+_0x477d('0x36a1')+_0x477d('0x69e2')+_0x477d('0x69e3')+_0x477d('0x69e4')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x696d')+_0x477d('0x39d2')+_0x477d('0x69e5')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x69e2')+_0x477d('0x69e6')+_0x477d('0x69e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x69c9')+_0x477d('0x39d2')+_0x477d('0x69e8')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x69e9')+_0x477d('0x69ea')+_0x477d('0x6969')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x3de0')+_0x477d('0x69eb')+_0x477d('0x69b2')+_0x477d('0x3aac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Template\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Template\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x696d')+_0x477d('0x39d2')+_0x477d('0x69ec')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x69ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Url\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x69ee')+_0x477d('0x69ef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EventVariables\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x69ed')+_0x477d('0x69f2')+_0x477d('0x69f3')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x3de0')+_0x477d('0x3f5c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x69f8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x69f9')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x69fa')+_0x477d('0x69fb')+_0x477d('0x69fc')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x697e')+_0x477d('0x39d2')+_0x477d('0x69fd')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x69fe')+_0x477d('0x69ff')+_0x477d('0x6a00')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6a01')+_0x477d('0x39d2')+_0x477d('0x6a02')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c3')+_0x477d('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+_0x477d('0x39c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6a03')+_0x477d('0x39de')+_0x477d('0x6a04')+_0x477d('0x66b1')+_0x477d('0x39e0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x6a05')+_0x477d('0x3c8b')+_0x477d('0x6a06')+_0x477d('0x6a07')+_0x477d('0x6a08')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39e5')+_0x477d('0x6a09')+_0x477d('0x677e')+_0x477d('0x3a16')+_0x477d('0x66c1')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x39e9')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x6a0a'),'\x0a'+_0x477d('0x6a0b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39c7')+_0x477d('0x6a0c')+_0x477d('0x6a0d')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x3de0')+_0x477d('0x3f5c')+_0x477d('0x6a0e')+_0x477d('0x694d')+_0x477d('0x6a0f')+_0x477d('0x3fc8')+_0x477d('0x6a10')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22vm.trigger.channel\x20==\x20\x27voice\x27\x22\x20\x0a'+_0x477d('0x6a11')+_0x477d('0x3fc8')+_0x477d('0x6a12')+_0x477d('0x694d')+_0x477d('0x6a13')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e73')+_0x477d('0x6a1c')+_0x477d('0x6a1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3de0')+_0x477d('0x3f5c')+_0x477d('0x6a1e')+_0x477d('0x3a46')+_0x477d('0x6a1f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6a20')+_0x477d('0x3a46')+_0x477d('0x6a21')+_0x477d('0x3aac')+_0x477d('0x6a22')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Operator\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x6a23')+_0x477d('0x69b0')+_0x477d('0x6a24')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x3de0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x6a27')+_0x477d('0x69b0')+_0x477d('0x6a24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x3de0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x69b4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x6a28')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Account\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x6a2a')+_0x477d('0x69b0')+_0x477d('0x6a24')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x3de0')+_0x477d('0x6a2b')+_0x477d('0x6a25')+_0x477d('0x3aac')+_0x477d('0x6a26')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x69b4')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x6a2c')+_0x477d('0x69b0')+_0x477d('0x6a24')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x3de0')+_0x477d('0x6a2d')+_0x477d('0x6a25')+_0x477d('0x3aac')+_0x477d('0x6a26')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Account\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x69b0')+_0x477d('0x6a24')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x3de0')+_0x477d('0x6a2e')+_0x477d('0x6a25')+_0x477d('0x3aac')+_0x477d('0x6a26')+_0x477d('0x39d2')+_0x477d('0x69b4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x6a2f')+_0x477d('0x6a30')+_0x477d('0x6a24')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x6a31')+_0x477d('0x6a25')+_0x477d('0x3aac')+_0x477d('0x6a26')+_0x477d('0x39d2')+_0x477d('0x6a32')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x6a33')+_0x477d('0x6a34')+_0x477d('0x6a24')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cf')+_0x477d('0x3de0')+_0x477d('0x6a35')+_0x477d('0x6a36')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x6a37')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent\x0a'+_0x477d('0x6a24')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x6a3a')+_0x477d('0x6a3b')+_0x477d('0x6a24')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cf')+_0x477d('0x3de0')+_0x477d('0x6a3c')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Abandon\x0a'+_0x477d('0x6a3d')+_0x477d('0x3a46')+_0x477d('0x6a3e')+_0x477d('0x6a3f')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Hangup\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Ring\x0a'+_0x477d('0x6a42')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Answer\x0a'+_0x477d('0x3aac')+_0x477d('0x6a26')+_0x477d('0x39d2')+_0x477d('0x6a43')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x6a44')+_0x477d('0x6a3b')+_0x477d('0x6a24')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x3de0')+_0x477d('0x6a45')+_0x477d('0x3a46')+_0x477d('0x6a46')+_0x477d('0x6a47')+_0x477d('0x3a46')+_0x477d('0x6a48')+_0x477d('0x3aac')+_0x477d('0x6a26')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Value\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x6a49')+_0x477d('0x6a3b')+_0x477d('0x6a24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x3de0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Outgoing\x0a'+_0x477d('0x6a4c')+_0x477d('0x3a46')+_0x477d('0x6a4d')+_0x477d('0x6a4e')+_0x477d('0x3a46')+_0x477d('0x6a4f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6a26')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Value\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3eb4')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3663')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387b')+_0x477d('0x6a50')+_0x477d('0x39de')+_0x477d('0x6a51')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22TOOLS.SAVE\x22\x20translate-attr-aria-label=\x22TOOLS.SAVE\x22>\x0a'+_0x477d('0x39e0')+_0x477d('0x39e1')+'\x0a'+_0x477d('0x6a52')+_0x477d('0x3c8b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22allConditionForm.$invalid\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22TOOLS.ADD_ALLCONDITION\x22\x20translate-attr-aria-label=\x22TOOLS.ADD_ALLCONDITION\x22>\x0a'+_0x477d('0x6a53')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39e5')+_0x477d('0x6a54')+_0x477d('0x677e')+_0x477d('0x3a16')+_0x477d('0x66c1')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79['put']('app/main/apps/tools/views/triggers/edit/anyconditions/dialog.html','\x0a'+_0x477d('0x6a55')+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39c7')+_0x477d('0x6a0c')+_0x477d('0x6a56')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x3de0')+_0x477d('0x3f5c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.CALL_STATUS\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3fc8')+_0x477d('0x6a12')+_0x477d('0x694d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27TOOLS.OUTBOUNDROUTE\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3fc8')+_0x477d('0x6a57')+_0x477d('0x694d')+_0x477d('0x6a14')+_0x477d('0x3fc8')+_0x477d('0x6a58')+_0x477d('0x6a15')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27TOOLS.ACCOUNT\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3fc8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.MESSAGE\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3aac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x6a1b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6a1c')+_0x477d('0x6a5a')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x3de0')+_0x477d('0x3f5c')+_0x477d('0x6a1e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27TOOLS.EQUALS\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3fc8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x6a5b')+_0x477d('0x36bf')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6a5c')+_0x477d('0x69b0')+_0x477d('0x6a5d')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x3de0')+_0x477d('0x6a5e')+_0x477d('0x6a25')+_0x477d('0x3aac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x69b4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x6a5f')+_0x477d('0x69b0')+_0x477d('0x6a5d')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x39cf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x6a60')+_0x477d('0x6a25')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x69b4')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x6a61')+_0x477d('0x69b0')+_0x477d('0x6a5d')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x3de0')+_0x477d('0x6a29')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22value.canSelect\x20===\x20false\x22>{{\x20value.name\x20}}\x0a'+_0x477d('0x3aac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Account\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x6a62')+_0x477d('0x69b0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20value.name\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Account\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x6a63')+_0x477d('0x69b0')+_0x477d('0x6a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x3de0')+_0x477d('0x6a2e')+_0x477d('0x6a25')+_0x477d('0x3aac')+_0x477d('0x6a64')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Account\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Queue\x0a'+_0x477d('0x6a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x3a5e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cf')+_0x477d('0x3de0')+_0x477d('0x6a31')+_0x477d('0x6a25')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6a64')+_0x477d('0x39d2')+_0x477d('0x6a32')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x6a65')+_0x477d('0x6a34')+_0x477d('0x6a5d')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x3de0')+_0x477d('0x6a35')+_0x477d('0x6a36')+_0x477d('0x3aac')+_0x477d('0x6a64')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6a37')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x6a66')+_0x477d('0x6a67')+_0x477d('0x6a5d')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6a39')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x6a68')+_0x477d('0x6a3b')+_0x477d('0x6a5d')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x39cf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x6a3c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6a69')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Ring\x0a'+_0x477d('0x6a42')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6a6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6a64')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6a43')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x6a6c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Value\x0a'+_0x477d('0x6a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x39cf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Opened\x0a'+_0x477d('0x6a47')+_0x477d('0x3a46')+_0x477d('0x6a48')+_0x477d('0x3aac')+_0x477d('0x6a64')+_0x477d('0x39d2')+_0x477d('0x6a43')+_0x477d('0x36bf')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Value\x0a'+_0x477d('0x6a5d')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x6a6d')+_0x477d('0x3a46')+_0x477d('0x6a4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x6a43')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3eb4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x38ad')+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387b')+_0x477d('0x6a6f')+_0x477d('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22anyConditionForm.$invalid\x20||\x20anyConditionForm.$pristine\x22\x0a'+_0x477d('0x66b1')+_0x477d('0x39e0')+_0x477d('0x39e1')+'\x0a'+_0x477d('0x6a70')+_0x477d('0x3c8b')+_0x477d('0x6a71')+_0x477d('0x6a72')+_0x477d('0x6a73')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6a74')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22TOOLS.DELETE\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x66c1')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79['put'](_0x477d('0x2d8'),_0x477d('0x6a75')+'\x0a'+_0x477d('0x39eb')+_0x477d('0x3b62')+_0x477d('0x3b63')+_0x477d('0x6a76')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.gotoTriggers()\x22\x0a'+_0x477d('0x6a77')+_0x477d('0x3e04')+_0x477d('0x372b')+'\x0a'+_0x477d('0x387b')+'\x0a'+_0x477d('0x6a78')+_0x477d('0x6a79')+_0x477d('0x3670')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b65')+_0x477d('0x6a7a')+_0x477d('0x6a7b')+_0x477d('0x36bf')+_0x477d('0x3b68')+_0x477d('0x6a7c')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x38ad')+_0x477d('0x6a7d')+_0x477d('0x3e11')+_0x477d('0x3d05')+_0x477d('0x36e5')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x39f8')+'\x0a'+_0x477d('0x3a18')+_0x477d('0x3b6b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e12')+_0x477d('0x3f7a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SETTINGS\x0a'+_0x477d('0x3f7b')+_0x477d('0x3e14')+_0x477d('0x6a7e')+_0x477d('0x3f7d')+_0x477d('0x67f2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x66b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Channel\x0a'+_0x477d('0x692f')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x3e19')+_0x477d('0x4ea1')+_0x477d('0x3dda')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f9f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6931')+_0x477d('0x3fc8')+_0x477d('0x6a7f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22vm.license.openchannel\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27TOOLS.OPENCHANNEL\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3fc8')+_0x477d('0x6934')+_0x477d('0x6935')+_0x477d('0x6936')+_0x477d('0x3fc8')+_0x477d('0x6937')+_0x477d('0x6938')+_0x477d('0x6939')+_0x477d('0x3fc8')+_0x477d('0x693a')+_0x477d('0x6a80')+_0x477d('0x693b')+_0x477d('0x3fc8')+_0x477d('0x693c')+_0x477d('0x693d')+_0x477d('0x693e')+_0x477d('0x3fc8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Channel\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6a83')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3867')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x66ad')+_0x477d('0x6941')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x3e25')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ab5')+_0x477d('0x3e26')+_0x477d('0x3e27')+_0x477d('0x3e28')+_0x477d('0x3e29')+_0x477d('0x3e12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6a84')+_0x477d('0x3f7b')+_0x477d('0x3e14')+_0x477d('0x6a85')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6a86')+_0x477d('0x4100')+_0x477d('0x6a87')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4103')+_0x477d('0x6a88')+_0x477d('0x6a89')+_0x477d('0x4105')+_0x477d('0x40e1')+_0x477d('0x3670')+'\x20\x20\x0a'+_0x477d('0x6a8a')+_0x477d('0x4108')+'\x20\x20\x20\x20\x20\x20\x20\x20{{vm_dc.selectedTriggerAllConditions.length}}\x20{{vm_dc.selectedTriggerAllConditions.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected\x0a'+_0x477d('0x3b2c')+_0x477d('0x6a8b')+_0x477d('0x410b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6a8c')+_0x477d('0x6a8d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3d05')+_0x477d('0x40da')+_0x477d('0x4106')+'\x20\x20\x0a'+_0x477d('0x6a8e')+_0x477d('0x6a8f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6a90')+_0x477d('0x4115')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6a91')+_0x477d('0x4115')+_0x477d('0x6a92')+_0x477d('0x6a93')+_0x477d('0x4115')+_0x477d('0x416d')+_0x477d('0x6a94')+_0x477d('0x4115')+_0x477d('0x411d')+_0x477d('0x6800')+_0x477d('0x4115')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x411e')+_0x477d('0x411f')+_0x477d('0x4120')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{allCondition.id}}\x0a'+_0x477d('0x4123')+_0x477d('0x4126')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm_dc.createOrEditTriggerAllCondition($event,\x20allCondition)\x22\x20\x0a'+_0x477d('0x4128')+_0x477d('0x6a95')+_0x477d('0x4123')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20(vm_dc.chatAccounts\x20|\x20filter\x20:\x20{\x27id\x27:allCondition.value})[0].name\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20(vm_dc.mailAccounts\x20|\x20filter\x20:\x20{\x27id\x27:allCondition.value})[0].name\x20}}\x0a'+_0x477d('0x6a9a')+_0x477d('0x6a9b')+_0x477d('0x6a9c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20(vm_dc.openchannelAccounts\x20|\x20filter\x20:\x20{\x27id\x27:allCondition.value})[0].name\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20(vm_dc.queues\x20|\x20filter\x20:\x20{\x27name\x27:allCondition.value})[0].name\x20}}\x0a'+_0x477d('0x6a9d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20(vm_dc.agents\x20|\x20filter\x20:\x20{\x27name\x27:allCondition.value})[0].fullname\x20}}\x0a'+_0x477d('0x5bd8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm_dc.createOrEditTriggerAllCondition($event,\x20allCondition)\x22\x20\x0a'+_0x477d('0x6a9e')+_0x477d('0x6a9f')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm_dc.interactionStatusValues[allCondition.value].option\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a46')+_0x477d('0x5bd8')+_0x477d('0x6a96')+_0x477d('0x6aa0')+_0x477d('0x6aa1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6aa2')+_0x477d('0x6aa3')+_0x477d('0x412e')+_0x477d('0x4153')+_0x477d('0x412f')+_0x477d('0x6aa4')+_0x477d('0x4130')+_0x477d('0x4155')+'\x20\x0a'+_0x477d('0x4156')+_0x477d('0x4157')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6aa5')+_0x477d('0x4133')+_0x477d('0x4159')+_0x477d('0x4134')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6aa6')+_0x477d('0x3a52')+_0x477d('0x415b')+_0x477d('0x415c')+_0x477d('0x4137')+_0x477d('0x4138')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6aa7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20allcondition\x20available\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x413c')+_0x477d('0x411e')+_0x477d('0x413d')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x413f')+_0x477d('0x6aa8')+'\x20\x20\x0a'+'\x0a'+_0x477d('0x3e27')+_0x477d('0x6aa9')+_0x477d('0x6aaa')+_0x477d('0x6aab')+_0x477d('0x4100')+_0x477d('0x6aac')+_0x477d('0x4102')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6aad')+_0x477d('0x6aae')+_0x477d('0x4105')+_0x477d('0x40e1')+_0x477d('0x3670')+_0x477d('0x4106')+_0x477d('0x6aaf')+_0x477d('0x4108')+_0x477d('0x6ab0')+_0x477d('0x3b2c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x410b')+_0x477d('0x410c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x40da')+_0x477d('0x4106')+_0x477d('0x4110')+_0x477d('0x6ab1')+_0x477d('0x6ab2')+_0x477d('0x4113')+_0x477d('0x4114')+_0x477d('0x6a90')+_0x477d('0x4115')+_0x477d('0x6ab3')+_0x477d('0x6a91')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6a92')+_0x477d('0x6a93')+_0x477d('0x4115')+_0x477d('0x416d')+_0x477d('0x6a94')+_0x477d('0x4115')+_0x477d('0x411d')+_0x477d('0x6800')+_0x477d('0x4115')+_0x477d('0x414c')+_0x477d('0x411e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4120')+_0x477d('0x6ab4')+'>\x0a'+_0x477d('0x6ab5')+_0x477d('0x6ab6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4126')+_0x477d('0x6ab7')+_0x477d('0x4128')+_0x477d('0x6ab8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a46')+_0x477d('0x5bd8')+_0x477d('0x6ab7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.\x27\x20+\x20vm_dc.arrayoperator[anyCondition.operator].option\x20|\x20uppercase\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6ab9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{anyCondition.value}}\x0a'+_0x477d('0x4123')+_0x477d('0x6aba')+_0x477d('0x6abb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20(vm_dc.smsAccounts\x20|\x20filter\x20:\x20{\x27id\x27:anyCondition.value})[0].name\x20}}\x0a'+_0x477d('0x6abc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20(vm_dc.openchannelAccounts\x20|\x20filter\x20:\x20{\x27id\x27:anyCondition.value})[0].name\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20(vm_dc.queues\x20|\x20filter\x20:\x20{\x27name\x27:anyCondition.value})[0].name\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20(vm_dc.outboundRoutes\x20|\x20filter\x20:\x20{\x27id\x27:anyCondition.value})[0].exten\x20}}\x0a'+_0x477d('0x6abd')+_0x477d('0x5bd8')+_0x477d('0x6ab7')+_0x477d('0x6abe')+_0x477d('0x6abf')+_0x477d('0x3a46')+_0x477d('0x5bd8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm_dc.createOrEditTriggerAnyCondition($event,\x20anyCondition)\x22\x20\x0a'+_0x477d('0x6ac0')+_0x477d('0x6ac1')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6aa4')+_0x477d('0x4130')+_0x477d('0x4155')+'\x20\x0a'+_0x477d('0x4156')+_0x477d('0x4157')+_0x477d('0x6ac5')+_0x477d('0x6ac6')+_0x477d('0x4133')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4134')+_0x477d('0x6ac7')+_0x477d('0x6ac8')+_0x477d('0x3a52')+_0x477d('0x415b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4138')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6ac9')+_0x477d('0x6aca')+_0x477d('0x417f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20anycondition\x20available\x0a'+_0x477d('0x413b')+_0x477d('0x413c')+_0x477d('0x411e')+_0x477d('0x413d')+_0x477d('0x413e')+'\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3fa6')+'\x0a'+_0x477d('0x3e27')+_0x477d('0x6acb')+_0x477d('0x6acc')+_0x477d('0x6acd')+_0x477d('0x4100')+'\x20\x20\x20\x20\x20\x20Actions\x0a'+_0x477d('0x4102')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6ace')+_0x477d('0x6acf')+_0x477d('0x4105')+_0x477d('0x40e1')+_0x477d('0x3670')+_0x477d('0x4106')+_0x477d('0x6ad0')+_0x477d('0x4108')+_0x477d('0x6ad1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6ad2')+_0x477d('0x410b')+_0x477d('0x410c')+_0x477d('0x6ad3')+_0x477d('0x6a8d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3d05')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4106')+_0x477d('0x4110')+_0x477d('0x6ad4')+_0x477d('0x6ad5')+_0x477d('0x4113')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6a90')+_0x477d('0x4115')+_0x477d('0x6ad6')+_0x477d('0x6ad7')+_0x477d('0x4115')+_0x477d('0x6ad8')+_0x477d('0x6ad9')+_0x477d('0x4115')+_0x477d('0x6ada')+_0x477d('0x6adb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x411d')+_0x477d('0x6800')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x411e')+_0x477d('0x411f')+_0x477d('0x4120')+_0x477d('0x6adc')+'>\x0a'+_0x477d('0x6add')+_0x477d('0x6ade')+_0x477d('0x4123')+_0x477d('0x4126')+_0x477d('0x6adf')+_0x477d('0x4128')+_0x477d('0x6ae0')+_0x477d('0x4123')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6ae1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6ae2')+_0x477d('0x3a46')+_0x477d('0x6ae3')+_0x477d('0x5bd8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm_dc.createOrEditTriggerAction($event,\x20action)\x22\x20\x0a'+_0x477d('0x6ae4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.\x27\x20+\x20vm_dc.autoCreateContact[action.data2].option\x20|\x20uppercase\x20|\x20translate\x20}}\x0a'+_0x477d('0x4123')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6ae9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{action.data2}}\x0a'+_0x477d('0x4123')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6aea')+_0x477d('0x4123')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6aeb')+_0x477d('0x4123')+_0x477d('0x4126')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm_dc.createOrEditTriggerAction($event,\x20action)\x22\x20\x0a'+_0x477d('0x6aec')+_0x477d('0x6aed')+_0x477d('0x3a46')+_0x477d('0x6aee')+_0x477d('0x6aef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20(vm_dc.zohoAccounts\x20|\x20filter\x20:\x20{\x27id\x27:action.data2})[0].name\x20}}\x0a'+_0x477d('0x6af0')+_0x477d('0x6af1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20(vm_dc.freshdeskAccounts\x20|\x20filter\x20:\x20{\x27id\x27:action.data2})[0].name\x20}}\x0a'+_0x477d('0x6af2')+_0x477d('0x6af3')+_0x477d('0x6af4')+_0x477d('0x6af5')+_0x477d('0x5bd8')+_0x477d('0x6adf')+_0x477d('0x6af6')+_0x477d('0x6af7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6aea')+_0x477d('0x4123')+_0x477d('0x6af8')+_0x477d('0x6aea')+_0x477d('0x4123')+_0x477d('0x6af9')+_0x477d('0x6afa')+_0x477d('0x6afb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{action.data2}}\x0a'+_0x477d('0x4123')+_0x477d('0x6afc')+_0x477d('0x6afd')+_0x477d('0x412e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x412f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4130')+_0x477d('0x4155')+'\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4157')+_0x477d('0x6afe')+_0x477d('0x6aff')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4159')+_0x477d('0x4134')+_0x477d('0x6b00')+_0x477d('0x6b01')+_0x477d('0x3a52')+_0x477d('0x415b')+_0x477d('0x415c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4138')+_0x477d('0x411e')+_0x477d('0x6b02')+_0x477d('0x6b03')+_0x477d('0x417f')+_0x477d('0x6b04')+_0x477d('0x413b')+_0x477d('0x413c')+_0x477d('0x411e')+_0x477d('0x413d')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x413f')+_0x477d('0x6b05')+'\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e28')+_0x477d('0x3e29')+_0x477d('0x3e2a')+'\x0a'+_0x477d('0x3699')+_0x477d('0x3a5a')+'\x0a'+_0x477d('0x377d'));_0x143a79[_0x477d('0x390')](_0x477d('0x2d2'),_0x477d('0x6b06')+'\x0a'+_0x477d('0x39eb')+_0x477d('0x3bef')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6686')+_0x477d('0x3760')+_0x477d('0x6b07')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39ef')+'\x0a'+_0x477d('0x39f0')+_0x477d('0x39f1')+_0x477d('0x39f2')+_0x477d('0x39f3')+_0x477d('0x39f4')+_0x477d('0x39f5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6687')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36bf')+_0x477d('0x3699')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39f9')+_0x477d('0x6b08')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22>\x0a'+'\x0a'+_0x477d('0x6b09')+_0x477d('0x39fc')+_0x477d('0x39fd')+_0x477d('0x6689')+_0x477d('0x372b')+_0x477d('0x36e5')+'\x0a'+_0x477d('0x39ff')+'\x0a'+_0x477d('0x3a00')+_0x477d('0x6b0a')+_0x477d('0x6b0b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20selected\x0a'+_0x477d('0x3760')+'\x0a'+_0x477d('0x3daf')+_0x477d('0x3a04')+_0x477d('0x3a05')+_0x477d('0x3a06')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22TOOLS.MULTI_SELECT_TOGGLE\x22>\x0a'+_0x477d('0x3a08')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a09')+_0x477d('0x3a0a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a0c')+_0x477d('0x3832')+_0x477d('0x3a0f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6b0c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Select\x20none\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a0f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a11')+_0x477d('0x36c0')+'\x0a'+_0x477d('0x3ac4')+_0x477d('0x6b0d')+_0x477d('0x3a13')+_0x477d('0x3a14')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3a19')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a1b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6b0e')+_0x477d('0x6b0f')+_0x477d('0x3a21')+_0x477d('0x3a22')+_0x477d('0x6694')+_0x477d('0x66cf')+_0x477d('0x6b10')+_0x477d('0x6b11')+_0x477d('0x6697')+_0x477d('0x3acb')+_0x477d('0x3a2c')+_0x477d('0x3a2d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6b12')+_0x477d('0x52fa')+_0x477d('0x3a30')+_0x477d('0x6699')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a32')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6b13')+_0x477d('0x6b14')+_0x477d('0x6b15')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{trigger.name}}\x0a'+_0x477d('0x6b18')+_0x477d('0x6b19')+_0x477d('0x6b1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22status\x20\x22>\x0a'+_0x477d('0x6b1b')+_0x477d('0x6b1c')+_0x477d('0x3ad9')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a43')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3947')+'\x0a'+_0x477d('0x3a45')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3adc')+'\x0a'+_0x477d('0x6b1d')+_0x477d('0x6b1e')+_0x477d('0x6b1f')+_0x477d('0x3a52')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3caf')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6b20')+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4c')+_0x477d('0x3692')+'\x0a'+_0x477d('0x3693')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x0a'+_0x477d('0x3a2c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ae2')+_0x477d('0x3a57')+'\x0a'+_0x477d('0x6b21')+_0x477d('0x3ae4')+_0x477d('0x6b22')+_0x477d('0x3a59')+'\x0a'+_0x477d('0x3cb5')+_0x477d('0x36e5')+_0x477d('0x3ae6')+'\x0a'+_0x477d('0x3699')+_0x477d('0x3a5a')+'\x0a'+_0x477d('0x6b23')+'\x20\x20\x20\x20\x0a'+_0x477d('0x6b26')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x365d')+_0x477d('0x39c1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x66b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3dde')+_0x477d('0x6b29')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6b2a')+_0x477d('0x3eb4')+_0x477d('0x3867')+_0x477d('0x3e73')+_0x477d('0x6b2b')+_0x477d('0x6b2c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x6b2d')+_0x477d('0x6b2e')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20host\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x50b8')+_0x477d('0x6b2f')+_0x477d('0x6b30')+_0x477d('0x6b31')+_0x477d('0x6b32')+_0x477d('0x6b33')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Password\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x5041')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Must\x20contain\x20at\x20least\x208\x20characters,\x20with\x20a\x20minimum\x20of\x201\x20lowercase\x20letter,\x201\x20uppercase\x20letter,\x201\x20numeric\x20character\x20and\x201\x20special\x20character\x20~!?*@#$%^&-_=+[{]}.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3eb4')+_0x477d('0x3e73')+_0x477d('0x6b34')+_0x477d('0x6b35')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6b36')+_0x477d('0x39d2')+_0x477d('0x6b37')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6b38')+_0x477d('0x6b39')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x6b3a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6b3b')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x66ad')+_0x477d('0x6b3c')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x6b3d')+_0x477d('0x39d2')+_0x477d('0x66bb')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x3ab5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+_0x477d('0x39dc')+_0x477d('0x387b')+_0x477d('0x6b3e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x477d('0x6b3f')+_0x477d('0x66b1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x477d('0x39e1')+'\x0a'+_0x477d('0x6b40')+_0x477d('0x3c8b')+_0x477d('0x6b41')+_0x477d('0x6b42')+_0x477d('0x6b43')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39e5')+_0x477d('0x6b44')+_0x477d('0x677e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x245f'),'\x0a'+_0x477d('0x6b26')+_0x477d('0x381e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c4')+_0x477d('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c5')+_0x477d('0x39c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x66b7')+_0x477d('0x6b45')+_0x477d('0x39ca')+_0x477d('0x3dd8')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.newTrunk\x22\x20\x0a'+_0x477d('0x3dda')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x6b28')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3dde')+_0x477d('0x6b29')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x6b2a')+_0x477d('0x3eb4')+_0x477d('0x3867')+_0x477d('0x3eb4')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3b1a')+_0x477d('0x6b46')+_0x477d('0x54cb')+_0x477d('0x6b47')+_0x477d('0x6b48')+_0x477d('0x6b49')+_0x477d('0x372b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')]('app/main/apps/tools/views/trunks/edit/view.html',_0x477d('0x6b4a')+'\x0a'+_0x477d('0x39eb')+_0x477d('0x3b62')+_0x477d('0x3b63')+_0x477d('0x6b4b')+_0x477d('0x6b4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22TOOLS.GO_TO_TRUNKS\x22>\x0a'+_0x477d('0x3e04')+_0x477d('0x372b')+'\x0a'+_0x477d('0x387b')+'\x0a'+_0x477d('0x6b4d')+_0x477d('0x6b4e')+_0x477d('0x3670')+'\x0a'+_0x477d('0x38e8')+_0x477d('0x3b65')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.trunk.id}}\x0a'+_0x477d('0x6b4f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b68')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.trunk.createdAt\x20|\x20date:\x27medium\x27}}\x0a'+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3ab5')+_0x477d('0x3e09')+_0x477d('0x6b50')+_0x477d('0x3f77')+_0x477d('0x433c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x589a')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3ab5')+_0x477d('0x5895')+_0x477d('0x6b51')+_0x477d('0x588b')+_0x477d('0x54eb')+_0x477d('0x6b52')+_0x477d('0x54ed')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x38ad')+_0x477d('0x6b53')+_0x477d('0x3e11')+_0x477d('0x3d05')+_0x477d('0x36e5')+'\x0a'+_0x477d('0x3699')+_0x477d('0x39f8')+'\x0a'+_0x477d('0x3a18')+_0x477d('0x3b6b')+'\x0a'+_0x477d('0x3b6c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x678a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e14')+_0x477d('0x6b54')+_0x477d('0x3f7d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GENERAL\x0a'+_0x477d('0x385c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x66b7')+_0x477d('0x6b45')+_0x477d('0x39ca')+_0x477d('0x3dd8')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x477d('0x3e19')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20disabled\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x6b28')+_0x477d('0x3e1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x66b9')+_0x477d('0x36bf')+_0x477d('0x3dde')+_0x477d('0x6b29')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x6b55')+_0x477d('0x3eb4')+_0x477d('0x3867')+_0x477d('0x3e73')+_0x477d('0x6b2b')+_0x477d('0x6b2c')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x6b2d')+_0x477d('0x5488')+_0x477d('0x39d2')+_0x477d('0x6b56')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x50b8')+_0x477d('0x6b2f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x6b57')+_0x477d('0x36bf')+_0x477d('0x5041')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Must\x20contain\x20at\x20least\x208\x20characters,\x20with\x20a\x20minimum\x20of\x201\x20lowercase\x20letter,\x201\x20uppercase\x20letter,\x201\x20numeric\x20character\x20and\x201\x20special\x20character\x20~!?*@#$%^&-_=+[{]}.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3eb4')+_0x477d('0x3e73')+_0x477d('0x6b34')+_0x477d('0x6b35')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x6b58')+_0x477d('0x6b59')+_0x477d('0x39d2')+_0x477d('0x6b37')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6b5a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x3ef5')+_0x477d('0x6b61')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3a5e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x6b62')+_0x477d('0x3a46')+_0x477d('0x6449')+_0x477d('0x644a')+_0x477d('0x3a46')+_0x477d('0x644b')+_0x477d('0x6b63')+_0x477d('0x3a46')+_0x477d('0x644c')+_0x477d('0x3aac')+_0x477d('0x6b64')+_0x477d('0x503a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x66fa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dtmfmode\x0a'+_0x477d('0x6b65')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x3de0')+_0x477d('0x6b66')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6b67')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20shortinfo\x0a'+_0x477d('0x6b6a')+_0x477d('0x3a46')+_0x477d('0x6b6b')+_0x477d('0x6b6c')+_0x477d('0x3a46')+_0x477d('0x6b6d')+_0x477d('0x3aac')+_0x477d('0x6b6e')+_0x477d('0x6b6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6b70')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3e73')+_0x477d('0x6b71')+_0x477d('0x6b72')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x642c')+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x3de0')+_0x477d('0x643d')+_0x477d('0x3a46')+_0x477d('0x643e')+_0x477d('0x643f')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>comedia\x0a'+_0x477d('0x6441')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>yes\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20route\x0a'+_0x477d('0x3aac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6446')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6b73')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3e73')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20qualify\x0a'+_0x477d('0x6b74')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x3f5c')+_0x477d('0x5b60')+_0x477d('0x3a46')+_0x477d('0x69f0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.NO\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3aac')+_0x477d('0x6b75')+_0x477d('0x6b76')+_0x477d('0x39d2')+_0x477d('0x6b77')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3e73')+_0x477d('0x6b78')+_0x477d('0x6b79')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20multiple\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x3de0')+_0x477d('0x6451')+_0x477d('0x3a46')+_0x477d('0x6452')+_0x477d('0x6555')+_0x477d('0x3a46')+_0x477d('0x6453')+_0x477d('0x5b73')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>gsm\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20opus\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6b80')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6b81')+_0x477d('0x6b82')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x642c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x3de0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3e73')+_0x477d('0x6b8b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d6')+_0x477d('0x6b8c')+_0x477d('0x6b8d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6b8e')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x66ad')+_0x477d('0x6b3c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e25')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ab5')+_0x477d('0x3e26')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e28')+_0x477d('0x3e29')+_0x477d('0x3e12')+_0x477d('0x3f7a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADVANCED\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x3e14')+_0x477d('0x6b8f')+_0x477d('0x3f7d')+_0x477d('0x6b90')+_0x477d('0x385c')+_0x477d('0x5b52')+_0x477d('0x3e18')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20registry\x0a'+_0x477d('0x6b39')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6b91')+_0x477d('0x39d2')+_0x477d('0x6b3b')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x6b92')+_0x477d('0x6b93')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x4dc5')+_0x477d('0x3a46')+_0x477d('0x6442')+_0x477d('0x3ecc')+_0x477d('0x3a46')+_0x477d('0x6443')+_0x477d('0x6b94')+_0x477d('0x3a46')+_0x477d('0x6b95')+_0x477d('0x6b96')+_0x477d('0x3a46')+_0x477d('0x6b97')+_0x477d('0x3aac')+_0x477d('0x6b98')+_0x477d('0x6b99')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6b9a')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3e73')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20callcounter\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.NO\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6b9b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20callcounter\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6b9c')+_0x477d('0x6b9d')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x6b9e')+_0x477d('0x6b9f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6ba0')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fromuser\x0a'+_0x477d('0x6ba1')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x6ba2')+_0x477d('0x6ba3')+_0x477d('0x39d2')+_0x477d('0x6ba4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x6ba5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d6')+_0x477d('0x6ba6')+_0x477d('0x6ba7')+_0x477d('0x39d2')+_0x477d('0x6ba8')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Add_phone_to_URI\x0a'+_0x477d('0x6ba9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x3de0')+_0x477d('0x3f5c')+_0x477d('0x5b60')+_0x477d('0x3a46')+_0x477d('0x69f0')+_0x477d('0x3fc8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.NO\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3aac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6baa')+_0x477d('0x39d2')+_0x477d('0x6bab')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6bac')+_0x477d('0x6bad')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x3de0')+_0x477d('0x3f5c')+_0x477d('0x5b60')+_0x477d('0x3a46')+_0x477d('0x69f0')+_0x477d('0x3fc8')+_0x477d('0x5b69')+_0x477d('0x3a46')+_0x477d('0x696c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6bae')+_0x477d('0x6baf')+_0x477d('0x39d2')+_0x477d('0x6bb0')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6bb1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f5c')+_0x477d('0x5b60')+_0x477d('0x3a46')+_0x477d('0x69f0')+_0x477d('0x3fc8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6bb7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.NO\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3aac')+_0x477d('0x6bb8')+_0x477d('0x6bb9')+_0x477d('0x39d2')+_0x477d('0x6bba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e73')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20port\x0a'+_0x477d('0x6bbb')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6bbc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6bbd')+_0x477d('0x36bf')+_0x477d('0x3f85')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x6bbe')+_0x477d('0x6bbf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x642c')+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x3de0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6bc2')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6bc3')+_0x477d('0x6bc4')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x6bc5')+_0x477d('0x6bc6')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20t38pt_udptl\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x39d9')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x6bc7')+_0x477d('0x6bc8')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Yes\x0a'+_0x477d('0x3ecc')+_0x477d('0x3a46')+_0x477d('0x646f')+_0x477d('0x6470')+_0x477d('0x3a46')+_0x477d('0x55a8')+_0x477d('0x3aac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x6bc9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3eb4')+_0x477d('0x3e26')+_0x477d('0x3e27')+_0x477d('0x3e28')+_0x477d('0x3e29')+_0x477d('0x3e12')+_0x477d('0x3f7a')+_0x477d('0x6bca')+_0x477d('0x3f7b')+_0x477d('0x3e14')+_0x477d('0x6bcb')+_0x477d('0x3f7d')+_0x477d('0x6bcc')+_0x477d('0x385c')+_0x477d('0x6bcd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6bce')+_0x477d('0x6bcf')+_0x477d('0x6bd0')+_0x477d('0x6984')+_0x477d('0x3eb4')+_0x477d('0x3e26')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e28')+_0x477d('0x3e29')+_0x477d('0x3e2a')+'\x0a'+_0x477d('0x3699')+_0x477d('0x3a5a')+'\x0a'+'\x0a');_0x143a79[_0x477d('0x390')](_0x477d('0x2da'),_0x477d('0x6bd1')+'\x0a'+_0x477d('0x39eb')+_0x477d('0x3bef')+'\x0a'+_0x477d('0x3abc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3760')+_0x477d('0x6bd2')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ef')+'\x0a'+_0x477d('0x39f0')+_0x477d('0x39f1')+_0x477d('0x39f2')+_0x477d('0x39f3')+_0x477d('0x39f4')+_0x477d('0x39f5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6687')+_0x477d('0x39a2')+_0x477d('0x36c0')+_0x477d('0x39f7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3699')+_0x477d('0x39f8')+'\x0a'+_0x477d('0x39f9')+'\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22>\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39fc')+_0x477d('0x39fd')+_0x477d('0x6689')+_0x477d('0x372b')+_0x477d('0x36e5')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a00')+_0x477d('0x6bd3')+_0x477d('0x6bd4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20selected\x0a'+_0x477d('0x3760')+'\x0a'+_0x477d('0x3daf')+_0x477d('0x3a04')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22$mdOpenMenu($event)\x22\x0a'+_0x477d('0x3a06')+_0x477d('0x66c7')+_0x477d('0x3a08')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a0a')+_0x477d('0x6bd5')+_0x477d('0x3a0c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a0f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6bd6')+_0x477d('0x3a0e')+_0x477d('0x3832')+_0x477d('0x3a0f')+_0x477d('0x3a10')+_0x477d('0x3a11')+_0x477d('0x36c0')+'\x0a'+_0x477d('0x3ac4')+_0x477d('0x6bd7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6bd8')+_0x477d('0x6691')+_0x477d('0x3a16')+_0x477d('0x387e')+_0x477d('0x382a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3a17')+'\x0a'+_0x477d('0x3a18')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a1a')+_0x477d('0x3ac6')+'\x0a'+_0x477d('0x3a1b')+_0x477d('0x6bd9')+_0x477d('0x3a1d')+_0x477d('0x3a1e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6bda')+_0x477d('0x3a21')+_0x477d('0x3a22')+_0x477d('0x6694')+_0x477d('0x66cf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.ACTIVE\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x6bdb')+_0x477d('0x6bdc')+_0x477d('0x6697')+_0x477d('0x3acb')+_0x477d('0x3a2c')+_0x477d('0x3a2d')+_0x477d('0x3a2e')+_0x477d('0x6bdd')+_0x477d('0x3e3e')+_0x477d('0x3a30')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a'+_0x477d('0x3a31')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a2c')+_0x477d('0x6bde')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6bdf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{trunk.name}}\x0a'+_0x477d('0x6be2')+_0x477d('0x6be3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a43')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3adc')+'\x0a'+_0x477d('0x6be7')+_0x477d('0x6be8')+_0x477d('0x6be9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3adc')+'\x0a'+_0x477d('0x6bea')+_0x477d('0x6beb')+_0x477d('0x6bec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3dc6')+'\x0a'+_0x477d('0x6bed')+_0x477d('0x6bee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20goToRealtime\x20Trunk\x0a'+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3caf')+'\x0a'+_0x477d('0x6bef')+_0x477d('0x6bf0')+_0x477d('0x6bf1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3692')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x0a'+_0x477d('0x3a2c')+_0x477d('0x3a56')+_0x477d('0x3ae2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x6bf2')+_0x477d('0x3ae4')+_0x477d('0x6bf3')+_0x477d('0x3a59')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3699')+_0x477d('0x3a5a')+'\x0a'+_0x477d('0x6bf4')+_0x477d('0x6bf5')+_0x477d('0x6bf6')+_0x477d('0x3cb8')+_0x477d('0x3735')+_0x477d('0x6bf7')+_0x477d('0x3699'));_0x143a79[_0x477d('0x390')](_0x477d('0x119c'),_0x477d('0x6bf8')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x365d')+_0x477d('0x39c1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3844')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39c7')+_0x477d('0x66b7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x0a'+_0x477d('0x6bfa')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x6bfb')+_0x477d('0x39d2')+_0x477d('0x66bb')+_0x477d('0x36bf')+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ab5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a16')+_0x477d('0x66c1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x39e9')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')]('app/main/apps/tools/views/variables/variables.html',_0x477d('0x6c01')+'\x0a'+_0x477d('0x39eb')+_0x477d('0x3bef')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x37cd')+_0x477d('0x39ec')+_0x477d('0x39ed')+_0x477d('0x6686')+_0x477d('0x3760')+_0x477d('0x6c02')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39f0')+_0x477d('0x39f1')+_0x477d('0x39f2')+_0x477d('0x39f3')+_0x477d('0x39f4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6687')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39f7')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x0a'+_0x477d('0x39f8')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x6c03')+_0x477d('0x39fa')+'\x0a'+_0x477d('0x6c04')+_0x477d('0x39fc')+_0x477d('0x39fd')+_0x477d('0x6689')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+'\x0a'+_0x477d('0x39ff')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x6c05')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedVariables.length}}\x0a'+_0x477d('0x668c')+_0x477d('0x3760')+'\x0a'+_0x477d('0x3daf')+_0x477d('0x3a04')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22$mdOpenMenu($event)\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22multi\x20select\x20toggle\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-aria-label=\x22TOOLS.MULTI_SELECT_TOGGLE\x22>\x0a'+_0x477d('0x3a08')+_0x477d('0x3674')+_0x477d('0x3a09')+_0x477d('0x3a0a')+_0x477d('0x6c06')+_0x477d('0x3a0c')+_0x477d('0x3832')+_0x477d('0x3a0f')+_0x477d('0x3a0a')+_0x477d('0x6c07')+_0x477d('0x3a0e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a0f')+_0x477d('0x3a10')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x0a'+_0x477d('0x3ac4')+_0x477d('0x6c08')+_0x477d('0x3a13')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x382a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3699')+_0x477d('0x3a17')+'\x0a'+_0x477d('0x3a18')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a1b')+_0x477d('0x6c09')+_0x477d('0x3a1d')+_0x477d('0x3a1e')+_0x477d('0x6c0a')+_0x477d('0x6c0b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a22')+_0x477d('0x6694')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.NAME\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27TOOLS.DESCRIPTION\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x3acb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a2d')+_0x477d('0x3a2e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a30')+_0x477d('0x6699')+_0x477d('0x3a31')+_0x477d('0x3a32')+_0x477d('0x3a2c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6c0c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6c0d')+_0x477d('0x6c0e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a47')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3adc')+'\x0a'+_0x477d('0x6c12')+_0x477d('0x6c13')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Variable\x0a'+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3a47')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4d')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3692')+'\x0a'+_0x477d('0x3693')+_0x477d('0x3939')+'\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ae2')+_0x477d('0x3a57')+'\x0a'+_0x477d('0x6c16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6c17')+_0x477d('0x3a59')+'\x0a'+_0x477d('0x3cb5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ae6')+'\x0a'+_0x477d('0x3699')+_0x477d('0x3a5a')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6c18')+_0x477d('0x6c19')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3735')+_0x477d('0x6c1a')+_0x477d('0x3699'));_0x143a79['put'](_0x477d('0x24ca'),_0x477d('0x6c1b')+_0x477d('0x6c1c')+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39c7')+_0x477d('0x6c1d')+_0x477d('0x6c1e')+_0x477d('0x6c1f')+_0x477d('0x6c20')+_0x477d('0x6c21')+_0x477d('0x6c22')+_0x477d('0x6c23')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a0')+_0x477d('0x6c24')+_0x477d('0x39d2')+_0x477d('0x6c25')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3eb4')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3663')+'\x0a'+_0x477d('0x39dc')+_0x477d('0x387b')+_0x477d('0x6c26')+_0x477d('0x39de')+_0x477d('0x6c27')+_0x477d('0x6c28')+_0x477d('0x39e0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6c2a')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x39e5')+_0x477d('0x6c2b')+_0x477d('0x6c2c')+_0x477d('0x3a16')+_0x477d('0x6c2d')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x39e9')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79['put']('app/main/apps/video/views/screenRecordings/partialViews/play.html',_0x477d('0x6c2e')+_0x477d('0x6c2f')+_0x477d('0x3d23')+_0x477d('0x3dfa')+_0x477d('0x6c30')+_0x477d('0x3d25')+_0x477d('0x5872')+_0x477d('0x3844')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3660')+_0x477d('0x5873')+_0x477d('0x6c31')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5cd6')+_0x477d('0x39ca')+_0x477d('0x6c32')+_0x477d('0x6c33')+_0x477d('0x6c34')+_0x477d('0x6c35')+_0x477d('0x506b')+_0x477d('0x6c36')+_0x477d('0x6c37')+_0x477d('0x39ca')+_0x477d('0x6c38')+_0x477d('0x6c39')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20id=\x22vm.recording.id\x22\x20title=\x22vm.filename\x22\x20element=\x22vm.element\x22\x20model=\x22vm.route\x22\x20path=\x22vm.path\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22md-card-image\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x6c3a')+_0x477d('0x6c3b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.app.toUpperCase()\x20+\x20\x27.FILE_NOT_FOUND\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x3774')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6c3c')+_0x477d('0x6c3d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.recording.updatedAt}}\x0a'+_0x477d('0x6c3e')+_0x477d('0x6c3f')+_0x477d('0x6c40')+_0x477d('0x6c41')+_0x477d('0x6c42')+_0x477d('0x6c43')+_0x477d('0x6c44')+_0x477d('0x6c45')+'\x0a'+_0x477d('0x6c46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6c47')+_0x477d('0x6c48')+_0x477d('0x6c49')+_0x477d('0x385c')+_0x477d('0x3873')+_0x477d('0x6006')+_0x477d('0x6c4a')+'\x0a'+_0x477d('0x6c4b')+_0x477d('0x57e6')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6c4c')+_0x477d('0x6c4d')+_0x477d('0x6c4e')+_0x477d('0x36e5')+_0x477d('0x366a')+'');_0x143a79[_0x477d('0x390')](_0x477d('0x2e8'),_0x477d('0x6c4f')+'\x0a'+_0x477d('0x39eb')+_0x477d('0x3bef')+'\x0a'+_0x477d('0x3abc')+_0x477d('0x37cd')+_0x477d('0x39ec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6c50')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6c51')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ef')+'\x0a'+_0x477d('0x39f0')+_0x477d('0x39f1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39f3')+_0x477d('0x39f4')+_0x477d('0x39f5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6c52')+_0x477d('0x39a2')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6c53')+_0x477d('0x36bf')+_0x477d('0x3699')+_0x477d('0x39f8')+'\x0a'+_0x477d('0x39f9')+_0x477d('0x6c54')+_0x477d('0x39fa')+'\x0a'+_0x477d('0x6c55')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6c56')+_0x477d('0x372b')+_0x477d('0x36e5')+'\x0a'+_0x477d('0x39ff')+'\x0a'+_0x477d('0x3a00')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6c57')+_0x477d('0x6c58')+_0x477d('0x3760')+'\x0a'+_0x477d('0x3daf')+_0x477d('0x3a04')+_0x477d('0x3a05')+_0x477d('0x3a06')+_0x477d('0x6c59')+_0x477d('0x3a08')+_0x477d('0x3674')+_0x477d('0x3a09')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a0c')+_0x477d('0x3832')+_0x477d('0x3a0f')+_0x477d('0x3a0a')+_0x477d('0x6c5a')+_0x477d('0x3a0e')+_0x477d('0x3832')+_0x477d('0x3a0f')+_0x477d('0x3a10')+_0x477d('0x3a11')+_0x477d('0x36c0')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6c5b')+_0x477d('0x3a13')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6c5c')+_0x477d('0x6c5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x382a')+_0x477d('0x36e5')+_0x477d('0x3699')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a18')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a1a')+_0x477d('0x3ac6')+'\x0a'+_0x477d('0x3a1b')+_0x477d('0x6c5e')+_0x477d('0x3a1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6c5f')+_0x477d('0x3a21')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6c60')+_0x477d('0x6c61')+_0x477d('0x6c62')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VIDEO.DURATION\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x6c63')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VIDEO.RECORDENDTIME\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x3acb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a2d')+_0x477d('0x3a2e')+_0x477d('0x6c64')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a30')+_0x477d('0x6c65')+_0x477d('0x3a31')+_0x477d('0x3a32')+_0x477d('0x3a2c')+_0x477d('0x6c66')+_0x477d('0x6c67')+_0x477d('0x6c68')+_0x477d('0x6c69')+_0x477d('0x6c6a')+_0x477d('0x6c6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22rating\x20\x22>No\x20rating\x0a'+_0x477d('0x6c6c')+_0x477d('0x6c6d')+_0x477d('0x6c6e')+_0x477d('0x6c6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22startedAt\x20\x22>{{screenRecording.startedAt\x20|\x20date:\x27medium\x27\x20}}\x0a'+_0x477d('0x6c70')+_0x477d('0x6c71')+_0x477d('0x3d9d')+'\x0a'+_0x477d('0x3a42')+'\x0a'+_0x477d('0x3a43')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a47')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3caf')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6c77')+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4c')+_0x477d('0x3692')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x0a'+_0x477d('0x3a2c')+_0x477d('0x3a56')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a57')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ae4')+_0x477d('0x6c78')+_0x477d('0x3a59')+'\x0a'+_0x477d('0x3cb5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ae6')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a');_0x143a79[_0x477d('0x390')](_0x477d('0x6c79'),_0x477d('0x6c7a')+'\x0a'+_0x477d('0x39eb')+_0x477d('0x3bef')+'\x0a'+_0x477d('0x3abc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ed')+_0x477d('0x6c7b')+_0x477d('0x3760')+_0x477d('0x6c7c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+_0x477d('0x39ef')+'\x0a'+_0x477d('0x39f0')+_0x477d('0x39f1')+_0x477d('0x39f2')+_0x477d('0x39f3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39f5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39a2')+_0x477d('0x36c0')+_0x477d('0x39f7')+_0x477d('0x36bf')+_0x477d('0x3699')+_0x477d('0x39f8')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a'+_0x477d('0x39fa')+'\x0a'+_0x477d('0x6c7d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39fd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Back\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a00')+_0x477d('0x6c7e')+_0x477d('0x6c7f')+_0x477d('0x6c80')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3daf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6c83')+_0x477d('0x3a0e')+_0x477d('0x3832')+_0x477d('0x3a0f')+_0x477d('0x3a10')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6c84')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6c85')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22VOICE.DELETE_SELECTED\x22>\x0a'+_0x477d('0x3a16')+_0x477d('0x387e')+_0x477d('0x382a')+_0x477d('0x36e5')+_0x477d('0x3699')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a18')+_0x477d('0x3a19')+'\x0a'+_0x477d('0x3a1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6c86')+_0x477d('0x3a1d')+_0x477d('0x3a1e')+_0x477d('0x6c87')+_0x477d('0x6c88')+_0x477d('0x3a21')+_0x477d('0x3a22')+_0x477d('0x6c89')+_0x477d('0x6c8a')+_0x477d('0x6c8b')+_0x477d('0x6c8c')+_0x477d('0x6c8d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.DESCRIPTION\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a2d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6c8e')+_0x477d('0x3e3e')+_0x477d('0x3a30')+_0x477d('0x4864')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a2c')+_0x477d('0x6c8f')+_0x477d('0x6c90')+_0x477d('0x6c91')+_0x477d('0x6c92')+_0x477d('0x6c93')+_0x477d('0x6c94')+_0x477d('0x6c95')+_0x477d('0x6c94')+_0x477d('0x6c96')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6c97')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22record\x20\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3947')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3adc')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6c9a')+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3caf')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3692')+'\x0a'+_0x477d('0x3693')+_0x477d('0x3939')+'\x0a'+'\x0a'+_0x477d('0x3a2c')+_0x477d('0x3a56')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a57')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6c9c')+_0x477d('0x3a59')+'\x0a'+_0x477d('0x3cb5')+_0x477d('0x36e5')+_0x477d('0x3ae6')+'\x0a'+_0x477d('0x3699')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x6c9d')+_0x477d('0x6c9e')+_0x477d('0x6c9f')+_0x477d('0x3cb8')+_0x477d('0x3735')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3699'));_0x143a79[_0x477d('0x390')](_0x477d('0x24e5'),_0x477d('0x6ca0')+'\x20\x20\x20\x20\x0a'+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6ca1')+_0x477d('0x6ca2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x6ca3')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Prefix\x0a'+_0x477d('0x6ca4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x6ca5')+_0x477d('0x39d2')+_0x477d('0x6ca6')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x6ca7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20q:\x20Don\x27t\x20play\x20a\x20beep\x20when\x20beginning\x20to\x20spy\x20on\x20a\x20channel,\x20or\x20speak\x20the\x20selected\x20channel\x20name.\x0a'+_0x477d('0x6caf')+_0x477d('0x3a46')+_0x477d('0x6cb0')+_0x477d('0x6cb1')+_0x477d('0x3a46')+_0x477d('0x6cb2')+_0x477d('0x6cb3')+_0x477d('0x3a46')+_0x477d('0x6cb4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20W:\x20Enable\x20private\x20whisper\x20mode,\x20so\x20the\x20spying\x20channel\x20can\x20talk\x20to\x20the\x20spied-on\x20channel\x20but\x20cannot\x20listen\x20to\x20that\x20channel.\x0a'+_0x477d('0x3aac')+_0x477d('0x6cb5')+_0x477d('0x39d2')+_0x477d('0x6cb6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6cb7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3867')+_0x477d('0x6cb8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Password\x0a'+_0x477d('0x6cb9')+_0x477d('0x6cba')+_0x477d('0x6cbb')+_0x477d('0x39d2')+_0x477d('0x6cbc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5041')+_0x477d('0x6cbd')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3eb4')+_0x477d('0x3e73')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Record\x0a'+_0x477d('0x3eb4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20recordingFormat\x0a'+_0x477d('0x6cbe')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3de0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6cbf')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3e73')+_0x477d('0x6cc0')+_0x477d('0x6cc1')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x6cc2')+_0x477d('0x39d2')+_0x477d('0x6cc3')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x39c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387b')+_0x477d('0x6cc4')+_0x477d('0x39de')+_0x477d('0x6cc5')+_0x477d('0x6cc6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x477d('0x39e1')+'\x0a'+_0x477d('0x6cc7')+_0x477d('0x3c8b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22chanSpyForm.$invalid\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22VOICE.ADD_CHANSPY\x22\x20translate-attr-aria-label=\x22VOICE.ADD_CHANSPY\x22>\x0a'+_0x477d('0x6cc8')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x39e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')]('app/main/apps/voice/views/contexts/contexts.html',_0x477d('0x6ccb')+'\x0a'+_0x477d('0x39eb')+_0x477d('0x3bef')+'\x0a'+_0x477d('0x3abc')+_0x477d('0x37cd')+_0x477d('0x39ec')+_0x477d('0x39ed')+_0x477d('0x6c7b')+_0x477d('0x3760')+_0x477d('0x6ccc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39f0')+_0x477d('0x39f1')+_0x477d('0x39f2')+_0x477d('0x39f3')+_0x477d('0x39f4')+_0x477d('0x39f5')+_0x477d('0x3abf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39a2')+_0x477d('0x36c0')+_0x477d('0x39f7')+_0x477d('0x36bf')+_0x477d('0x3699')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39f9')+_0x477d('0x6ccd')+_0x477d('0x39fa')+'\x0a'+_0x477d('0x6cce')+_0x477d('0x39fc')+_0x477d('0x39fd')+_0x477d('0x6ccf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39ff')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x6cd0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedContexts.length}}\x0a'+_0x477d('0x6c80')+_0x477d('0x3760')+'\x0a'+_0x477d('0x3daf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a0f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6cd2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Select\x20none\x0a'+_0x477d('0x3832')+_0x477d('0x3a0f')+_0x477d('0x3a10')+_0x477d('0x3a11')+_0x477d('0x36c0')+'\x0a'+_0x477d('0x3ac4')+_0x477d('0x6cd3')+_0x477d('0x3a13')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6cd4')+_0x477d('0x6cd5')+_0x477d('0x3a16')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3699')+_0x477d('0x3a17')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3a19')+'\x0a'+_0x477d('0x3a1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a1b')+_0x477d('0x6cd6')+_0x477d('0x3a1d')+_0x477d('0x3a1e')+_0x477d('0x6cd7')+_0x477d('0x6cd8')+_0x477d('0x3a21')+_0x477d('0x3a22')+_0x477d('0x6c89')+_0x477d('0x6c8a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.DESCRIPTION\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x3acb')+_0x477d('0x3a2c')+_0x477d('0x3a2d')+_0x477d('0x3a2e')+_0x477d('0x6cd9')+_0x477d('0x3db9')+_0x477d('0x3a30')+_0x477d('0x4864')+_0x477d('0x3a31')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6cda')+_0x477d('0x6cdb')+_0x477d('0x6cdc')+_0x477d('0x6cdd')+_0x477d('0x6cde')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a43')+'\x0a'+_0x477d('0x3d9e')+_0x477d('0x6c99')+_0x477d('0x3a44')+_0x477d('0x3947')+'\x0a'+_0x477d('0x3a45')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Context\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3a47')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3caf')+'\x0a'+_0x477d('0x6ce1')+_0x477d('0x6ce2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20Context\x0a'+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3692')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3939')+'\x0a'+'\x0a'+_0x477d('0x3a2c')+_0x477d('0x3a56')+_0x477d('0x3ae2')+_0x477d('0x3a57')+'\x0a'+_0x477d('0x6ce3')+_0x477d('0x3ae4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3cb5')+_0x477d('0x36e5')+_0x477d('0x3ae6')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3a5a')+'\x0a'+_0x477d('0x6ce4')+_0x477d('0x6ce5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20context\x22\x20translate\x20translate-attr-aria-label=\x22VOICE.ADD_CONTEXT\x22>\x0a'+_0x477d('0x3cb8')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a');_0x143a79[_0x477d('0x390')]('app/main/apps/voice/views/contexts/create/dialog.html',_0x477d('0x6ce6')+_0x477d('0x6ce7')+_0x477d('0x381e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x36e5')+_0x477d('0x39c7')+_0x477d('0x6ca1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x6cc0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6cc3')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ab5')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387b')+_0x477d('0x6ceb')+_0x477d('0x39de')+_0x477d('0x6cec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22VOICE.SAVE\x22\x20translate-attr-aria-label=\x22VOICE.SAVE\x22>\x0a'+_0x477d('0x39e0')+_0x477d('0x39e1')+'\x0a'+_0x477d('0x6ced')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x477d('0x6cee')+_0x477d('0x6cef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20CONTEXT\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x39e5')+_0x477d('0x6cf0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22VOICE.DELETE\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6cca')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x2598'),_0x477d('0x6cf1')+_0x477d('0x6cf2')+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x6cf3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6cf5')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x6cf6')+_0x477d('0x6cf7')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x39cf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x6cf8')+_0x477d('0x6464')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6cf9')+_0x477d('0x39d2')+_0x477d('0x6cfa')+_0x477d('0x36bf')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e73')+_0x477d('0x6cc0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387b')+_0x477d('0x6cfc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x477d('0x6cfd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22VOICE.SAVE\x22\x20translate-attr-aria-label=\x22VOICE.SAVE\x22>\x0a'+_0x477d('0x39e0')+_0x477d('0x39e1')+'\x0a'+_0x477d('0x6cfe')+_0x477d('0x3c8b')+_0x477d('0x6cff')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22VOICE.ADD_INBOUNDROUTE\x22\x20translate-attr-aria-label=\x22VOICE.ADD_INBOUNDROUTE\x22>\x0a'+_0x477d('0x6d00')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x39e5')+_0x477d('0x6d01')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22VOICE.DELETE\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6cca')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x39e9')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79['put'](_0x477d('0x6d02'),'\x0a'+_0x477d('0x6d03')+_0x477d('0x381e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c6')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6d04')+_0x477d('0x6d05')+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x3de0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6d07')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Project\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x3eb4')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b1b')+_0x477d('0x6d08')+_0x477d('0x39de')+_0x477d('0x6d09')+_0x477d('0x6cc6')+_0x477d('0x39e0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x3669')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79['put'](_0x477d('0x6d0a'),_0x477d('0x6cf1')+_0x477d('0x6d03')+_0x477d('0x381e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39c7')+_0x477d('0x6d0b')+_0x477d('0x6d0c')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x6d0d')+_0x477d('0x39d2')+_0x477d('0x6d0e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x6d0f')+_0x477d('0x6d10')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x6d11')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Arguments\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+_0x477d('0x3b1a')+_0x477d('0x3b1b')+_0x477d('0x6d08')+_0x477d('0x39de')+_0x477d('0x6d09')+_0x477d('0x6cc6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x477d('0x39e1')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x6d12'),'\x0a'+_0x477d('0x6d03')+_0x477d('0x381e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c5')+_0x477d('0x39c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6d13')+_0x477d('0x6d14')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6d15')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6d16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x6d17')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d6')+_0x477d('0x6d18')+_0x477d('0x39d2')+_0x477d('0x6d19')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6d1a')+_0x477d('0x3deb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Options\x0a'+_0x477d('0x6d1b')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6d1c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Options\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x6d1d')+_0x477d('0x6d1e')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x6d1f')+_0x477d('0x36bf')+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ab5')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+_0x477d('0x39c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+_0x477d('0x3b1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6d08')+_0x477d('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22inboundrouteFormApp.$invalid\x20||\x20inboundrouteFormApp.$pristine\x22\x0a'+_0x477d('0x6cc6')+_0x477d('0x39e0')+_0x477d('0x39e1')+_0x477d('0x36c0')+_0x477d('0x3669')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x6d20'),_0x477d('0x6cf1')+'\x20\x20\x20\x20\x0a'+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6d21')+_0x477d('0x6d22')+_0x477d('0x39ca')+_0x477d('0x39ce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+_0x477d('0x3de0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20trunk.name\x20}}\x0a'+_0x477d('0x3aac')+_0x477d('0x6d23')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6d24')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3e73')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Phone\x0a'+_0x477d('0x6d25')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x6d26')+_0x477d('0x39d2')+_0x477d('0x6d27')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6d17')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d6')+_0x477d('0x6d18')+_0x477d('0x39d2')+_0x477d('0x6d19')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6d1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ee8')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6ca7')+_0x477d('0x6d28')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x6d1c')+_0x477d('0x39d2')+_0x477d('0x6cb6')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Url\x0a'+_0x477d('0x6d29')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6d1f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x39c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x38ad')+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3663')+'\x0a'+_0x477d('0x3b1a')+_0x477d('0x3b1b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x36e5')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Context\x0a'+_0x477d('0x6d2b')+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x3de0')+_0x477d('0x6cf8')+_0x477d('0x6464')+_0x477d('0x3aac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x6cfa')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x3e73')+_0x477d('0x6d2c')+_0x477d('0x6d2d')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x6d2e')+_0x477d('0x39d2')+_0x477d('0x6d2f')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x6d30')+_0x477d('0x6d31')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x6d32')+_0x477d('0x39d2')+_0x477d('0x6d33')+_0x477d('0x36bf')+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ab5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+_0x477d('0x3b1a')+_0x477d('0x3b1b')+_0x477d('0x6d08')+_0x477d('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22inboundrouteFormApp.$invalid\x20||\x20inboundrouteFormApp.$pristine\x22\x0a'+_0x477d('0x6cc6')+_0x477d('0x39e0')+_0x477d('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3669')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79['put'](_0x477d('0x6d34'),'\x0a'+_0x477d('0x6d03')+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Hangup_Cause\x0a'+_0x477d('0x6d35')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x3de0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x696a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6d36')+_0x477d('0x3fc8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.HANGUPCAUSE_16\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3fc8')+_0x477d('0x6d37')+_0x477d('0x3a46')+_0x477d('0x6d38')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6d39')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6d3a')+_0x477d('0x3fc8')+_0x477d('0x6d3b')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27VOICE.HANGUPCAUSE_21\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3fc8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.HANGUPCAUSE_41\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Hangup_Cause\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3eb4')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3b1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6d08')+_0x477d('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22inboundrouteFormApp.$invalid\x20||\x20inboundrouteFormApp.$pristine\x22\x0a'+_0x477d('0x6cc6')+_0x477d('0x39e0')+_0x477d('0x39e1')+_0x477d('0x36c0')+_0x477d('0x3669')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79['put'](_0x477d('0x6d42'),'\x0a'+_0x477d('0x6d03')+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39c7')+_0x477d('0x6d43')+_0x477d('0x6d44')+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x3de0')+_0x477d('0x6d45')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22user.canSelect\x20===\x20false\x22>{{\x20user.name\x20}}\x0a'+_0x477d('0x3aac')+_0x477d('0x6d46')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20User\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6d17')+_0x477d('0x6d47')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3eee')+_0x477d('0x39cb')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6d18')+_0x477d('0x39d2')+_0x477d('0x6d19')+_0x477d('0x36bf')+_0x477d('0x3de9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a'+_0x477d('0x3deb')+_0x477d('0x3ee8')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x6ca7')+_0x477d('0x6d48')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Options\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x6d1d')+_0x477d('0x6d49')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x6d4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6d1f')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x39db')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b1b')+_0x477d('0x6d08')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22inboundrouteFormApp.$invalid\x20||\x20inboundrouteFormApp.$pristine\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22VOICE.SAVE\x22\x20translate-attr-aria-label=\x22VOICE.SAVE\x22>\x0a'+_0x477d('0x39e0')+_0x477d('0x39e1')+_0x477d('0x36c0')+_0x477d('0x3669')+'\x20\x20\x20\x20\x0a'+'\x0a');_0x143a79[_0x477d('0x390')]('app/main/apps/voice/views/inboundroutes/edit/apps/interval/dialog.html',_0x477d('0x3ef3')+_0x477d('0x3ef4')+_0x477d('0x381e')+_0x477d('0x365d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x3aea')+_0x477d('0x3aeb')+_0x477d('0x3aec')+_0x477d('0x3aed')+_0x477d('0x3aee')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3674')+_0x477d('0x3670')+_0x477d('0x36c0')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x383b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ef7')+_0x477d('0x36a0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4d6c')+_0x477d('0x3ef8')+_0x477d('0x3ef9')+_0x477d('0x3efa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+'\x0a'+_0x477d('0x3efb')+_0x477d('0x3efc')+_0x477d('0x3efd')+_0x477d('0x3c57')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3eff')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Time\x20Range\x20From\x20field\x20is\x20invalid\x0a'+_0x477d('0x3f01')+_0x477d('0x40da')+_0x477d('0x3c68')+_0x477d('0x3670')+_0x477d('0x3f02')+_0x477d('0x3f03')+_0x477d('0x4d6e')+_0x477d('0x3f04')+_0x477d('0x3f05')+_0x477d('0x36a9')+_0x477d('0x399e')+_0x477d('0x3f06')+_0x477d('0x36a9')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Week\x20Days\x0a'+_0x477d('0x3efd')+_0x477d('0x3f0b')+_0x477d('0x3f0c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f0e')+_0x477d('0x3f0f')+_0x477d('0x3b15')+_0x477d('0x39a2')+'\x0a'+_0x477d('0x3f10')+_0x477d('0x3f11')+_0x477d('0x3f12')+_0x477d('0x3f0f')+_0x477d('0x3b15')+_0x477d('0x3f13')+_0x477d('0x36bf')+_0x477d('0x39a2')+_0x477d('0x36c0')+_0x477d('0x3f14')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4d70')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f15')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20From\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f0e')+_0x477d('0x3f16')+_0x477d('0x3b15')+_0x477d('0x39a2')+'\x0a'+_0x477d('0x3f17')+_0x477d('0x3f11')+_0x477d('0x3f18')+_0x477d('0x3f16')+_0x477d('0x3b15')+_0x477d('0x3f19')+_0x477d('0x36bf')+_0x477d('0x39a2')+_0x477d('0x36c0')+_0x477d('0x4d71')+'\x0a'+_0x477d('0x4d72')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Time\x20Range\x0a'+_0x477d('0x3efd')+_0x477d('0x3f15')+_0x477d('0x3f0c')+_0x477d('0x3f1b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Always\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20month.value\x20|\x20ucfirst\x20}}\x0a'+_0x477d('0x3b15')+'\x0a'+_0x477d('0x39a2')+'\x0a'+_0x477d('0x4d73')+_0x477d('0x3f11')+_0x477d('0x3f1d')+_0x477d('0x3f1c')+_0x477d('0x3b15')+_0x477d('0x3f1e')+_0x477d('0x36bf')+_0x477d('0x39a2')+_0x477d('0x36c0')+_0x477d('0x3f1f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3aeb')+_0x477d('0x3aec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x3aee')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3af0')+_0x477d('0x3674')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3663')+'\x0a'+_0x477d('0x3b1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3f21')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20INTERVAL\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x3669')+_0x477d('0x366a')+'\x0a');_0x143a79['put'](_0x477d('0x6d4b'),_0x477d('0x6cf1')+'\x20\x20\x20\x20\x0a'+_0x477d('0x381e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3844')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6d4c')+_0x477d('0x6d4d')+_0x477d('0x39ca')+_0x477d('0x39ce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x6d4e')+_0x477d('0x6d4f')+_0x477d('0x3aac')+_0x477d('0x6d11')+_0x477d('0x39d2')+_0x477d('0x6d50')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6ca7')+_0x477d('0x6d51')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x6cb6')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x6d52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x39db')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+_0x477d('0x3b1a')+_0x477d('0x3b1b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79['put']('app/main/apps/voice/views/inboundroutes/edit/apps/queue/dialog.html',_0x477d('0x6cf1')+_0x477d('0x6d03')+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39c7')+_0x477d('0x6d53')+_0x477d('0x3f28')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ce')+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x3de0')+_0x477d('0x3f29')+_0x477d('0x4d78')+_0x477d('0x3aac')+_0x477d('0x6d54')+_0x477d('0x39d2')+_0x477d('0x6d55')+_0x477d('0x36bf')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Options\x0a'+_0x477d('0x6d56')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6d1c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6cb6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6d1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x6d1f')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x6d57')+_0x477d('0x6d58')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x3de0')+_0x477d('0x3f31')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Announce_Overrides\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6d17')+_0x477d('0x4d7b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3eee')+_0x477d('0x39cb')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x6d18')+_0x477d('0x39d2')+_0x477d('0x6d19')+_0x477d('0x36bf')+_0x477d('0x3de9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a'+_0x477d('0x3deb')+_0x477d('0x3ee8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agi\x0a'+_0x477d('0x6d5a')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x6d5b')+_0x477d('0x39d2')+_0x477d('0x6d5c')+_0x477d('0x36bf')+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x6d5d')+_0x477d('0x6d5e')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x6d5f')+_0x477d('0x39d2')+_0x477d('0x6d60')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GoSub\x0a'+_0x477d('0x6d61')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x6d62')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GoSub\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6d63')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Position\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a'+_0x477d('0x3deb')+_0x477d('0x3ee8')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x6d6a')+_0x477d('0x3eb4')+_0x477d('0x3867')+_0x477d('0x3eb4')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+_0x477d('0x3b1a')+_0x477d('0x3b1b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3669')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79['put'](_0x477d('0x6d6b'),_0x477d('0x6cf1')+_0x477d('0x6d03')+_0x477d('0x381e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6d43')+_0x477d('0x6d6c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x477d('0x642c')+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x6d19')+_0x477d('0x36bf')+_0x477d('0x3de9')+_0x477d('0x6d1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ee8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x6ca7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d6')+_0x477d('0x6d1c')+_0x477d('0x39d2')+_0x477d('0x6cb6')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Url\x0a'+_0x477d('0x6d71')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x6d4a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6d1f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c5')+_0x477d('0x39c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b1b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x477d('0x39e1')+_0x477d('0x36c0')+_0x477d('0x3669')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79['put']('app/main/apps/voice/views/inboundroutes/edit/apps/set/dialog.html',_0x477d('0x6cf1')+'\x20\x20\x20\x20\x0a'+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x6d72')+_0x477d('0x6d73')+_0x477d('0x39ca')+_0x477d('0x39ce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x6d74')+_0x477d('0x6d75')+_0x477d('0x3aac')+_0x477d('0x6d76')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6d77')+_0x477d('0x36bf')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e73')+_0x477d('0x6d78')+_0x477d('0x6d79')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x6d7a')+_0x477d('0x36bf')+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ab5')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3b1a')+_0x477d('0x3b1b')+_0x477d('0x6d08')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22inboundrouteFormApp.$invalid\x20||\x20inboundrouteFormApp.$pristine\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22VOICE.SAVE\x22\x20translate-attr-aria-label=\x22VOICE.SAVE\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3669')+_0x477d('0x366a')+'\x0a');_0x143a79[_0x477d('0x390')](_0x477d('0x6d7b'),_0x477d('0x6cf1')+_0x477d('0x6d03')+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39c7')+_0x477d('0x6d7c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6d7d')+_0x477d('0x6d7e')+_0x477d('0x3aac')+_0x477d('0x6d7f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6d80')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Options\x0a'+_0x477d('0x6d81')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6cb6')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ab5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b1b')+_0x477d('0x6d08')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x477d('0x6d09')+_0x477d('0x6cc6')+_0x477d('0x39e0')+_0x477d('0x39e1')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')]('app/main/apps/voice/views/inboundroutes/edit/view.html',_0x477d('0x6d82')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3b62')+_0x477d('0x3b63')+_0x477d('0x6d83')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.gotoInboundRoutes()\x22\x0a'+_0x477d('0x6d84')+_0x477d('0x3e04')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x387b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6d85')+_0x477d('0x3670')+'\x0a'+_0x477d('0x38e8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6d86')+_0x477d('0x6d87')+_0x477d('0x36bf')+_0x477d('0x3b68')+_0x477d('0x6d88')+_0x477d('0x36bf')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x38ad')+_0x477d('0x6d89')+_0x477d('0x3e11')+_0x477d('0x3d05')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3699')+_0x477d('0x39f8')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3b6c')+_0x477d('0x3e12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6d8a')+_0x477d('0x3f7b')+_0x477d('0x3e14')+_0x477d('0x6d8b')+_0x477d('0x3f7d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GENERAL\x0a'+_0x477d('0x385c')+_0x477d('0x3e17')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PhoneNumber\x0a'+_0x477d('0x6d8c')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x6d8d')+_0x477d('0x39d2')+_0x477d('0x6cf5')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x6cf6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x3e73')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x0a'+_0x477d('0x6d8e')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e25')+_0x477d('0x39d2')+_0x477d('0x6cc3')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e26')+_0x477d('0x3e27')+_0x477d('0x3e28')+_0x477d('0x3e29')+_0x477d('0x3e12')+_0x477d('0x3f7a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ACTIONS\x0a'+_0x477d('0x3f7b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6d8f')+_0x477d('0x6d90')+'\x20\x20\x0a'+_0x477d('0x4187')+'\x20\x20\x20\x20\x0a'+_0x477d('0x4189')+_0x477d('0x418a')+_0x477d('0x418b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Applications\x20List\x0a'+_0x477d('0x37cb')+_0x477d('0x418d')+_0x477d('0x418e')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x4190')+_0x477d('0x4e19')+'\x20\x20\x20\x20\x20\x20\x20\x20{{a.alias\x20||\x20a.appType}}

\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x418e')+_0x477d('0x4193')+_0x477d('0x3fa6')+'\x20\x20\x0a'+_0x477d('0x4e1c')+'\x20\x20\x0a'+_0x477d('0x4e1d')+'\x20\x20\x20\x20\x0a'+_0x477d('0x4108')+_0x477d('0x5689')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4194')+_0x477d('0x380f')+_0x477d('0x392e')+_0x477d('0x6d91')+_0x477d('0x4108')+'\x20\x20\x20\x20\x20\x20\x20\x20{{vm_ac.selectedInboundRouteApps.length}}\x20{{vm_ac.selectedInboundRouteApps.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6d92')+_0x477d('0x6d93')+_0x477d('0x4198')+_0x477d('0x36dc')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x392e')+'\x0a'+_0x477d('0x568d')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x419a')+_0x477d('0x419b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x0a'+_0x477d('0x419e')+_0x477d('0x41a0')+_0x477d('0x41a1')+_0x477d('0x419e')+_0x477d('0x41a0')+_0x477d('0x41a2')+_0x477d('0x419e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x419b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41a4')+_0x477d('0x41a5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41a7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6d94')+_0x477d('0x6d95')+_0x477d('0x41ac')+_0x477d('0x41a7')+_0x477d('0x41ad')+_0x477d('0x41ae')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5693')+_0x477d('0x41b0')+_0x477d('0x452d')+_0x477d('0x413c')+_0x477d('0x41b1')+_0x477d('0x3a43')+_0x477d('0x4e27')+_0x477d('0x3a44')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a45')+_0x477d('0x41b3')+_0x477d('0x6d96')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20App\x0a'+_0x477d('0x3a52')+_0x477d('0x3a4b')+_0x477d('0x41b3')+_0x477d('0x41b4')+_0x477d('0x41b5')+_0x477d('0x3a52')+_0x477d('0x3a4b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41b7')+_0x477d('0x41b8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4b')+_0x477d('0x41b9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x413c')+_0x477d('0x41a3')+_0x477d('0x6d97')+_0x477d('0x6d98')+_0x477d('0x41bb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41a3')+_0x477d('0x41bc')+_0x477d('0x6d99')+_0x477d('0x6d9a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20(*)\x20-\x20Custom\x20application.\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6d9b')+_0x477d('0x6d9c')+_0x477d('0x41bd')+_0x477d('0x41be')+_0x477d('0x4e2b')+'\x0a'+_0x477d('0x41bf')+'\x0a'+'\x0a'+_0x477d('0x377d')+'\x0a'+'\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e28')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e2a')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3a5a')+'\x0a'+'\x0a');_0x143a79[_0x477d('0x390')](_0x477d('0x6d9d'),_0x477d('0x6d9e')+'\x0a'+_0x477d('0x39eb')+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x37cd')+_0x477d('0x39ec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6c7b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6d9f')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39ef')+'\x0a'+_0x477d('0x39f0')+_0x477d('0x39f1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39f3')+_0x477d('0x39f4')+_0x477d('0x39f5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39a2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39f7')+_0x477d('0x36bf')+_0x477d('0x3699')+_0x477d('0x39f8')+'\x0a'+_0x477d('0x39f9')+'\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a'+_0x477d('0x39fa')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39fc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6ccf')+_0x477d('0x372b')+_0x477d('0x36e5')+'\x0a'+_0x477d('0x39ff')+'\x0a'+_0x477d('0x3a00')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6da0')+_0x477d('0x6c80')+_0x477d('0x3760')+'\x0a'+_0x477d('0x3daf')+_0x477d('0x3a04')+_0x477d('0x3a05')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22multi\x20select\x20toggle\x22\x0a'+_0x477d('0x6c81')+_0x477d('0x3a08')+_0x477d('0x3674')+_0x477d('0x3a09')+_0x477d('0x3a0a')+_0x477d('0x6da1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Select\x20all\x0a'+_0x477d('0x3832')+_0x477d('0x3a0f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6da2')+_0x477d('0x3a0e')+_0x477d('0x3832')+_0x477d('0x3a0f')+_0x477d('0x3a10')+_0x477d('0x3a11')+_0x477d('0x36c0')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6da3')+_0x477d('0x3a13')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6da4')+_0x477d('0x6cd5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x382a')+_0x477d('0x36e5')+_0x477d('0x3699')+_0x477d('0x3a17')+'\x0a'+_0x477d('0x3a18')+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ac6')+'\x0a'+_0x477d('0x3a1b')+_0x477d('0x6da5')+_0x477d('0x3a1d')+_0x477d('0x3a1e')+_0x477d('0x6da6')+_0x477d('0x6da7')+_0x477d('0x3a21')+_0x477d('0x3a22')+_0x477d('0x6c89')+_0x477d('0x6da8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.DESCRIPTION\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x3acb')+_0x477d('0x3a2c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a2e')+_0x477d('0x6da9')+_0x477d('0x3db9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4864')+_0x477d('0x3a31')+_0x477d('0x3a32')+_0x477d('0x3a2c')+_0x477d('0x6daa')+_0x477d('0x6dab')+_0x477d('0x6dac')+_0x477d('0x6dad')+_0x477d('0x6dae')+_0x477d('0x6daf')+_0x477d('0x6db0')+_0x477d('0x6daf')+_0x477d('0x6db1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3ada')+'\x0a'+_0x477d('0x3a43')+'\x0a'+_0x477d('0x3d9e')+_0x477d('0x6c99')+_0x477d('0x3a44')+_0x477d('0x3947')+'\x0a'+_0x477d('0x3a45')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3caf')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a57')+'\x0a'+_0x477d('0x6db5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a59')+'\x0a'+_0x477d('0x3cb5')+_0x477d('0x36e5')+_0x477d('0x3ae6')+'\x0a'+_0x477d('0x3699')+_0x477d('0x3a5a')+'\x0a'+_0x477d('0x6db6')+'\x20\x20\x20\x20\x0a'+_0x477d('0x381e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x477d('0x3843')+_0x477d('0x3844')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c3')+_0x477d('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PhoneNumber\x0a'+_0x477d('0x6dba')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cd')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6dbb')+_0x477d('0x39d2')+_0x477d('0x6cf5')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x6cf6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x6cfa')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3e73')+_0x477d('0x6cc0')+_0x477d('0x6dbc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6dbd')+_0x477d('0x39d2')+_0x477d('0x6cc3')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387b')+_0x477d('0x6dbe')+_0x477d('0x39de')+_0x477d('0x6dbf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22VOICE.SAVE\x22\x20translate-attr-aria-label=\x22VOICE.SAVE\x22>\x0a'+_0x477d('0x39e0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x39e5')+_0x477d('0x6dc3')+_0x477d('0x6cc9')+_0x477d('0x3a16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a');_0x143a79['put'](_0x477d('0x6dc4'),'\x0a'+_0x477d('0x6dc5')+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6d04')+_0x477d('0x6d05')+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x3de0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20project.name\x20}}\x0a'+_0x477d('0x3aac')+_0x477d('0x6dc6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6dc7')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3eb4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+_0x477d('0x3b1a')+_0x477d('0x3b1b')+_0x477d('0x6dc8')+_0x477d('0x39de')+_0x477d('0x6dc9')+_0x477d('0x6cc6')+_0x477d('0x39e0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3669')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')]('app/main/apps/voice/views/internalroutes/edit/apps/custom/dialog.html',_0x477d('0x6db9')+'\x20\x20\x20\x20\x0a'+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Application_Name\x0a'+_0x477d('0x6d0c')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6dca')+_0x477d('0x39d2')+_0x477d('0x6d0e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6d0f')+_0x477d('0x6d10')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6dcb')+_0x477d('0x39d2')+_0x477d('0x6dcc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+_0x477d('0x3b1a')+_0x477d('0x3b1b')+_0x477d('0x6dc8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x477d('0x6dc9')+_0x477d('0x6cc6')+_0x477d('0x39e0')+_0x477d('0x39e1')+_0x477d('0x36c0')+_0x477d('0x3669')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x6dcd'),_0x477d('0x6db9')+'\x20\x20\x20\x20\x0a'+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6d13')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6dce')+_0x477d('0x39d2')+_0x477d('0x6d16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Timeout\x0a'+_0x477d('0x6dcf')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3eee')+_0x477d('0x39cb')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x6d19')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6d1a')+_0x477d('0x3deb')+_0x477d('0x3ee8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x6ca7')+_0x477d('0x6d1b')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6dd0')+_0x477d('0x39d2')+_0x477d('0x6cb6')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x6d1d')+_0x477d('0x6d1e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x6dd1')+_0x477d('0x39d2')+_0x477d('0x6d1f')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x3ab5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+_0x477d('0x3b1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6dc8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22internalrouteFormApp.$invalid\x20||\x20internalrouteFormApp.$pristine\x22\x0a'+_0x477d('0x6cc6')+_0x477d('0x39e0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x6dd2'),_0x477d('0x6db9')+_0x477d('0x6dc5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x365d')+_0x477d('0x39c1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c3')+_0x477d('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x36e5')+_0x477d('0x39c7')+_0x477d('0x6d21')+_0x477d('0x6d22')+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39ca')+_0x477d('0x3a5e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+_0x477d('0x3de0')+_0x477d('0x6dd3')+_0x477d('0x6dd4')+_0x477d('0x3aac')+_0x477d('0x6dd5')+_0x477d('0x39d2')+_0x477d('0x6d24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6dd6')+_0x477d('0x6d25')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x6dd7')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Phone\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6d17')+_0x477d('0x6dd8')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3eee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x6d19')+_0x477d('0x36bf')+_0x477d('0x3de9')+_0x477d('0x6d1a')+_0x477d('0x3deb')+_0x477d('0x3ee8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x6ca7')+_0x477d('0x6d28')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x6dd0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6cb6')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x6d1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Url\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ab5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x38ad')+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+_0x477d('0x3b1a')+_0x477d('0x3b1b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3669')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')]('app/main/apps/voice/views/internalroutes/edit/apps/goto/dialog.html',_0x477d('0x6db9')+_0x477d('0x6dc5')+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3660')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6cf6')+_0x477d('0x6d2b')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+_0x477d('0x3de0')+_0x477d('0x6cf8')+_0x477d('0x6464')+_0x477d('0x3aac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x6cfa')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3e73')+_0x477d('0x6d2c')+_0x477d('0x6d2d')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x6dd9')+_0x477d('0x39d2')+_0x477d('0x6d2f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6d30')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6d33')+_0x477d('0x36bf')+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ab5')+_0x477d('0x39c3')+_0x477d('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x6ddb')+_0x477d('0x6d35')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x3f5c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.HANGUPCAUSE_18\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3fc8')+_0x477d('0x6d3b')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27VOICE.HANGUPCAUSE_21\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6dde')+_0x477d('0x3a46')+_0x477d('0x6d3c')+_0x477d('0x3fc8')+_0x477d('0x6d3d')+_0x477d('0x3a46')+_0x477d('0x6d3e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6de0')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3eb4')+_0x477d('0x39c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+_0x477d('0x3b1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6dc8')+_0x477d('0x39de')+_0x477d('0x6dc9')+_0x477d('0x6cc6')+_0x477d('0x39e0')+_0x477d('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3669')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79['put'](_0x477d('0x6de1'),'\x0a'+_0x477d('0x6dc5')+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6d43')+_0x477d('0x6d44')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ce')+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x3de0')+_0x477d('0x6d45')+_0x477d('0x6de2')+_0x477d('0x3aac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x6d6f')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x3e73')+_0x477d('0x6d17')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Timeout\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3de9')+_0x477d('0x6d1a')+_0x477d('0x3deb')+_0x477d('0x3ee8')+_0x477d('0x36a1')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Options\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x6d1d')+_0x477d('0x6d49')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x6dd1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6d1f')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x39c3')+_0x477d('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+_0x477d('0x3b1a')+_0x477d('0x3b1b')+_0x477d('0x6dc8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x477d('0x6dc9')+_0x477d('0x6cc6')+_0x477d('0x39e0')+_0x477d('0x39e1')+_0x477d('0x36c0')+_0x477d('0x3669')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79['put'](_0x477d('0x25ba'),_0x477d('0x3ef3')+_0x477d('0x3ef4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x365d')+_0x477d('0x39c1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3844')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x3aea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3aec')+_0x477d('0x3aed')+_0x477d('0x3aee')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3674')+_0x477d('0x3670')+_0x477d('0x36c0')+'\x0a'+_0x477d('0x3eb4')+_0x477d('0x383b')+_0x477d('0x3ef5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ef7')+_0x477d('0x36a0')+_0x477d('0x36a1')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ef8')+_0x477d('0x3ef9')+_0x477d('0x3efa')+_0x477d('0x36a0')+_0x477d('0x36a1')+'\x0a'+_0x477d('0x3efb')+_0x477d('0x3efc')+_0x477d('0x3efd')+_0x477d('0x3c57')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3efe')+_0x477d('0x3eff')+_0x477d('0x3f00')+_0x477d('0x3f01')+_0x477d('0x40da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x3f02')+_0x477d('0x3f03')+_0x477d('0x4d6e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f05')+_0x477d('0x36a9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f06')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36bf')+_0x477d('0x3f07')+_0x477d('0x3670')+_0x477d('0x36c0')+_0x477d('0x3f08')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Week\x20Days\x0a'+_0x477d('0x3efd')+_0x477d('0x3f0b')+_0x477d('0x3f0c')+_0x477d('0x3f0d')+_0x477d('0x3f0e')+_0x477d('0x3f0f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39a2')+'\x0a'+_0x477d('0x3f10')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20To\x0a'+_0x477d('0x3f12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20day.value\x20|\x20ucfirst\x20}}\x0a'+_0x477d('0x3b15')+_0x477d('0x3f13')+_0x477d('0x36bf')+_0x477d('0x39a2')+_0x477d('0x36c0')+_0x477d('0x3f14')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4d70')+_0x477d('0x3efd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f0c')+_0x477d('0x55c0')+_0x477d('0x3f0e')+_0x477d('0x3f16')+_0x477d('0x3b15')+_0x477d('0x39a2')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20To\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f16')+_0x477d('0x3b15')+_0x477d('0x3f19')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39a2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4d71')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f1a')+_0x477d('0x3efd')+_0x477d('0x3f15')+_0x477d('0x3f0c')+_0x477d('0x3f1b')+_0x477d('0x3f0e')+_0x477d('0x3f1c')+_0x477d('0x3b15')+'\x0a'+_0x477d('0x39a2')+'\x0a'+_0x477d('0x4d73')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20To\x0a'+_0x477d('0x3f1d')+_0x477d('0x3f1c')+_0x477d('0x3b15')+_0x477d('0x3f1e')+_0x477d('0x36bf')+_0x477d('0x39a2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f1f')+'\x0a'+_0x477d('0x3aea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3aec')+_0x477d('0x3aed')+_0x477d('0x3aee')+_0x477d('0x36bf')+_0x477d('0x3aef')+_0x477d('0x3af0')+_0x477d('0x3674')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3b1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x477d('0x387e')+'\x0a'+_0x477d('0x3f21')+_0x477d('0x3f22')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3669')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3840'));_0x143a79['put'](_0x477d('0x6de3'),_0x477d('0x6db9')+_0x477d('0x6dc5')+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39c7')+_0x477d('0x6d4c')+_0x477d('0x6d4d')+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39ca')+_0x477d('0x3a5e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+_0x477d('0x3de0')+_0x477d('0x6d4e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22appdata.canSelect\x20===\x20false\x22>{{\x20appdata.name\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x6d50')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e73')+_0x477d('0x6ca7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d6')+_0x477d('0x6dd0')+_0x477d('0x39d2')+_0x477d('0x6cb6')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x6d52')+_0x477d('0x3eb4')+_0x477d('0x3867')+_0x477d('0x3eb4')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6dc8')+_0x477d('0x39de')+_0x477d('0x6dc9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22VOICE.SAVE\x22\x20translate-attr-aria-label=\x22VOICE.SAVE\x22>\x0a'+_0x477d('0x39e0')+_0x477d('0x39e1')+_0x477d('0x36c0')+_0x477d('0x3669')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x6de4'),_0x477d('0x6db9')+'\x20\x20\x20\x20\x0a'+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c5')+_0x477d('0x39c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x6d53')+_0x477d('0x3f28')+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x3f29')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22queue.canSelect\x20===\x20false\x22>{{\x20queue.name\x20}}\x0a'+_0x477d('0x3aac')+_0x477d('0x6de5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6d55')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6ca7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Options\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x6d1d')+_0x477d('0x6de6')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6de7')+_0x477d('0x39d2')+_0x477d('0x6d1f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Announce_Overrides\x0a'+_0x477d('0x6d58')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x3de0')+_0x477d('0x3f31')+_0x477d('0x6de8')+_0x477d('0x6d59')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6de9')+_0x477d('0x39d2')+_0x477d('0x6dea')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3e73')+_0x477d('0x6d17')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d6')+_0x477d('0x6deb')+_0x477d('0x39d2')+_0x477d('0x6d19')+_0x477d('0x36bf')+_0x477d('0x3de9')+_0x477d('0x6d1a')+_0x477d('0x3deb')+_0x477d('0x3ee8')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6dec')+_0x477d('0x6d5a')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x6ded')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6d5c')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Macro\x0a'+_0x477d('0x6d5e')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x6dee')+_0x477d('0x39d2')+_0x477d('0x6d60')+_0x477d('0x36bf')+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x6def')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GoSub\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x6d63')+_0x477d('0x6df1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6df2')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Rule\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Position\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x6d69')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6df3')+_0x477d('0x3deb')+_0x477d('0x3ee8')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x6d6a')+_0x477d('0x3eb4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3b1a')+_0x477d('0x3b1b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39e0')+_0x477d('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3669')+_0x477d('0x366a')+'\x0a');_0x143a79[_0x477d('0x390')](_0x477d('0x6df4'),'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x381e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39c7')+_0x477d('0x6d43')+_0x477d('0x6d6c')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20multiple\x20\x0a'+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x3de0')+_0x477d('0x6df5')+_0x477d('0x6d6d')+_0x477d('0x3aac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x6d6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x3670')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Timeout\x0a'+_0x477d('0x6d70')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3eee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Timeout\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3de9')+_0x477d('0x6d1a')+_0x477d('0x3deb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x6ca7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d6')+_0x477d('0x6dd0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6cb6')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x6d1d')+_0x477d('0x6d71')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x6d1f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ab5')+_0x477d('0x39c3')+_0x477d('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x3663')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b1b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a');_0x143a79[_0x477d('0x390')](_0x477d('0x6df6'),_0x477d('0x6db9')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39c7')+_0x477d('0x6d72')+_0x477d('0x6d73')+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x3de0')+_0x477d('0x6d74')+_0x477d('0x6d75')+_0x477d('0x3aac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x6d77')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3e73')+_0x477d('0x6d78')+_0x477d('0x6d79')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6d7a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+_0x477d('0x3b1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6dc8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x477d('0x6dc9')+_0x477d('0x6cc6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x477d('0x39e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a');_0x143a79[_0x477d('0x390')](_0x477d('0x6df7'),'\x0a'+_0x477d('0x6dc5')+_0x477d('0x381e')+_0x477d('0x365d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+_0x477d('0x39c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Mailbox@Context\x0a'+_0x477d('0x6df8')+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39ca')+_0x477d('0x3a5e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20voiceMail.mailbox\x20}}\x0a'+_0x477d('0x3aac')+_0x477d('0x6df9')+_0x477d('0x39d2')+_0x477d('0x6d80')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x3e73')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Options\x0a'+_0x477d('0x6d81')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x6dd0')+_0x477d('0x39d2')+_0x477d('0x6cb6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3663')+'\x0a'+_0x477d('0x3b1a')+_0x477d('0x3b1b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x366a')+'\x0a');_0x143a79[_0x477d('0x390')](_0x477d('0x327'),'\x0a'+'\x0a'+_0x477d('0x39eb')+_0x477d('0x3b62')+_0x477d('0x3b63')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x372b')+'\x0a'+_0x477d('0x387b')+'\x0a'+_0x477d('0x6dfc')+_0x477d('0x6dfd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x38e8')+_0x477d('0x3b65')+_0x477d('0x6dfe')+_0x477d('0x6dff')+_0x477d('0x36bf')+_0x477d('0x3b68')+_0x477d('0x6e00')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x38ad')+_0x477d('0x6e01')+_0x477d('0x3e11')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+'\x0a'+_0x477d('0x3699')+_0x477d('0x39f8')+'\x0a'+_0x477d('0x3a18')+_0x477d('0x3b6b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e12')+_0x477d('0x3f7a')+_0x477d('0x6d8a')+_0x477d('0x3f7b')+_0x477d('0x3e14')+_0x477d('0x6e02')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6e03')+_0x477d('0x385c')+_0x477d('0x3e17')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6cf3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x6cf5')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6cf6')+_0x477d('0x6e04')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x3de0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6559')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Context\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e73')+_0x477d('0x6cc0')+_0x477d('0x6dbc')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e25')+_0x477d('0x39d2')+_0x477d('0x6cc3')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e26')+_0x477d('0x3e27')+_0x477d('0x3e28')+_0x477d('0x3e29')+_0x477d('0x3e12')+_0x477d('0x3f7a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ACTIONS\x0a'+_0x477d('0x3f7b')+_0x477d('0x3e14')+_0x477d('0x6e05')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4186')+'\x20\x20\x0a'+_0x477d('0x4188')+_0x477d('0x4189')+_0x477d('0x418a')+_0x477d('0x418b')+_0x477d('0x418c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x418d')+_0x477d('0x418e')+'\x20\x20\x20\x20\x0a'+_0x477d('0x418f')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4e19')+_0x477d('0x6e06')+_0x477d('0x4192')+_0x477d('0x418e')+_0x477d('0x4193')+_0x477d('0x3fa6')+_0x477d('0x4e1b')+_0x477d('0x4e1c')+'\x20\x20\x0a'+_0x477d('0x4e1d')+_0x477d('0x6e07')+_0x477d('0x4108')+_0x477d('0x5689')+_0x477d('0x3b2c')+_0x477d('0x4194')+_0x477d('0x380f')+_0x477d('0x392e')+_0x477d('0x6e08')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6e09')+_0x477d('0x3b2c')+_0x477d('0x6e0a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22VOICE.DELETE_SELECTED\x22>\x0a'+_0x477d('0x4198')+_0x477d('0x36dc')+_0x477d('0x380f')+_0x477d('0x392e')+'\x0a'+_0x477d('0x568d')+_0x477d('0x4199')+_0x477d('0x6e0b')+_0x477d('0x4f0f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x419b')+_0x477d('0x419f')+_0x477d('0x4e23')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41a0')+_0x477d('0x41a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41a0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Interval\x0a'+_0x477d('0x419e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x419b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41a4')+_0x477d('0x41a5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41a7')+_0x477d('0x41a8')+_0x477d('0x413c')+_0x477d('0x6e0c')+_0x477d('0x6e0d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{app.IntervalId\x20?\x20\x27From\x20List\x27\x20:\x20app.interval}}\x0a'+_0x477d('0x41a7')+_0x477d('0x41ad')+_0x477d('0x41ae')+_0x477d('0x41af')+_0x477d('0x5693')+_0x477d('0x41b0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41b1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a44')+_0x477d('0x3947')+'\x0a'+_0x477d('0x3a45')+_0x477d('0x41b3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4e29')+_0x477d('0x3a52')+_0x477d('0x3a4b')+_0x477d('0x41b3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41b5')+_0x477d('0x3a52')+_0x477d('0x3a4b')+_0x477d('0x41b6')+_0x477d('0x41b7')+_0x477d('0x41b8')+_0x477d('0x3a52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x41b9')+_0x477d('0x42b0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6e0e')+_0x477d('0x6d98')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20apps\x20available\x0a'+_0x477d('0x413c')+_0x477d('0x41a3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6d9a')+_0x477d('0x6e0f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20(*)\x20-\x20Custom\x20application.\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6d9b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'
\x0a'+_0x477d('0x4e2b')+'\x0a'+_0x477d('0x41bf')+'\x0a'+'\x0a'+_0x477d('0x377d')+_0x477d('0x41c1')+'\x0a'+'\x0a'+_0x477d('0x3e27')+_0x477d('0x3e28')+_0x477d('0x3e29')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3a5a')+'\x0a'+'\x0a');_0x143a79[_0x477d('0x390')](_0x477d('0x323'),'\x0a'+'\x0a'+_0x477d('0x39eb')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3abc')+_0x477d('0x37cd')+_0x477d('0x39ec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6c7b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20InternalRoutes\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39f2')+_0x477d('0x39f3')+_0x477d('0x39f4')+_0x477d('0x39f5')+_0x477d('0x3abf')+_0x477d('0x6e10')+_0x477d('0x39a2')+_0x477d('0x36c0')+_0x477d('0x39f7')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x0a'+_0x477d('0x39f8')+'\x0a'+_0x477d('0x39f9')+_0x477d('0x6e11')+_0x477d('0x39fa')+'\x0a'+_0x477d('0x6e12')+_0x477d('0x39fc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Back\x0a'+_0x477d('0x372b')+_0x477d('0x36e5')+'\x0a'+_0x477d('0x39ff')+'\x0a'+_0x477d('0x3a00')+_0x477d('0x6e13')+_0x477d('0x6e14')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20selected\x0a'+_0x477d('0x3760')+'\x0a'+_0x477d('0x3daf')+_0x477d('0x3a04')+_0x477d('0x3a05')+_0x477d('0x3a06')+_0x477d('0x6c81')+_0x477d('0x3a08')+_0x477d('0x3674')+_0x477d('0x3a09')+_0x477d('0x3a0a')+_0x477d('0x6e15')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Select\x20all\x0a'+_0x477d('0x3832')+_0x477d('0x3a0f')+_0x477d('0x3a0a')+_0x477d('0x6e16')+_0x477d('0x3a0e')+_0x477d('0x3832')+_0x477d('0x3a0f')+_0x477d('0x3a10')+_0x477d('0x3a11')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3ac4')+_0x477d('0x6e17')+_0x477d('0x3a13')+_0x477d('0x3a14')+_0x477d('0x6e18')+_0x477d('0x6cd5')+_0x477d('0x3a16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x382a')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a18')+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ac6')+'\x0a'+_0x477d('0x3a1b')+_0x477d('0x6e19')+_0x477d('0x3a1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6e1a')+_0x477d('0x6e1b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6c89')+_0x477d('0x6da8')+_0x477d('0x6e1c')+_0x477d('0x3acb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a2d')+_0x477d('0x3a2e')+_0x477d('0x6e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a30')+_0x477d('0x4864')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a32')+_0x477d('0x3a2c')+_0x477d('0x6e1e')+_0x477d('0x6e1f')+_0x477d('0x6e20')+_0x477d('0x6e21')+_0x477d('0x6e22')+_0x477d('0x6e23')+_0x477d('0x6e24')+_0x477d('0x6e23')+_0x477d('0x6e25')+_0x477d('0x3ad9')+'\x0a'+_0x477d('0x3ada')+'\x0a'+_0x477d('0x3a43')+'\x0a'+_0x477d('0x3d9e')+_0x477d('0x6c99')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3947')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3adc')+'\x0a'+_0x477d('0x6e26')+_0x477d('0x6e27')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20InternalRoute\x0a'+_0x477d('0x3a52')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x6e28')+_0x477d('0x6e29')+_0x477d('0x6e2a')+_0x477d('0x3a52')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3692')+'\x0a'+_0x477d('0x3693')+_0x477d('0x3939')+'\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a57')+'\x0a'+_0x477d('0x6e2b')+_0x477d('0x3ae4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a59')+'\x0a'+_0x477d('0x3cb5')+_0x477d('0x36e5')+_0x477d('0x3ae6')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3a5a')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6e2c')+_0x477d('0x6e2d')+_0x477d('0x3cb8')+_0x477d('0x3735')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3699'));_0x143a79[_0x477d('0x390')]('app/main/apps/voice/views/musiconholds/create/dialog.html',_0x477d('0x6e2e')+'\x20\x20\x20\x20\x0a'+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39c7')+_0x477d('0x6ca1')+_0x477d('0x6e2f')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x477d('0x6e30')+_0x477d('0x3dda')+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6e31')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Mode\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.CUSTOM\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3aac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x6e34')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x6e35')+_0x477d('0x6e36')+_0x477d('0x6e37')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x6e38')+_0x477d('0x39d2')+_0x477d('0x6e39')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x6e3a')+_0x477d('0x6e3b')+_0x477d('0x6e3c')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cf')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6e3d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6e3e')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x6e3f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Sort\x0a'+_0x477d('0x6e40')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x3de0')+_0x477d('0x3f5c')+_0x477d('0x6e41')+_0x477d('0x3a46')+_0x477d('0x6e42')+_0x477d('0x3fc8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.ALPHABETICAL\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3aac')+_0x477d('0x6e43')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Sort\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3eb4')+_0x477d('0x39c3')+_0x477d('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+_0x477d('0x39dc')+_0x477d('0x387b')+_0x477d('0x6e44')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x477d('0x6e45')+_0x477d('0x6cc6')+_0x477d('0x39e0')+_0x477d('0x39e1')+'\x0a'+_0x477d('0x6e46')+_0x477d('0x3c8b')+_0x477d('0x6e47')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22VOICE.ADD_MUSICONHOLD\x22\x20translate-attr-aria-label=\x22VOICE.ADD_MUSICONHOLD\x22>\x0a'+_0x477d('0x6e48')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6e49')+_0x477d('0x6cc9')+_0x477d('0x3a16')+_0x477d('0x6cca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x39e9')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3840'));_0x143a79['put']('app/main/apps/voice/views/musiconholds/edit/mohSounds/dialog.html',_0x477d('0x6e4a')+_0x477d('0x6e4b')+_0x477d('0x381e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20File\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x6e4e')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387b')+_0x477d('0x6e4f')+_0x477d('0x39de')+_0x477d('0x6e50')+_0x477d('0x6cc6')+_0x477d('0x39e0')+_0x477d('0x39e1')+'\x0a'+_0x477d('0x6e51')+_0x477d('0x3c8b')+_0x477d('0x6e52')+_0x477d('0x6e53')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20MOHSOUND\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x39e5')+_0x477d('0x6e54')+_0x477d('0x6cc9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6cca')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x366a')+'\x0a');_0x143a79['put'](_0x477d('0x33e'),_0x477d('0x6e55')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3b62')+_0x477d('0x3b63')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.musiconhold.id}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.musiconhold.name}}\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6e5a')+_0x477d('0x36bf')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+_0x477d('0x38ad')+_0x477d('0x6e5b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x477d('0x3d05')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3699')+_0x477d('0x39f8')+'\x0a'+_0x477d('0x3a18')+_0x477d('0x3b6b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e12')+_0x477d('0x3f7a')+_0x477d('0x6d8a')+_0x477d('0x3f7b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6e5c')+_0x477d('0x3f7d')+_0x477d('0x6e03')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e17')+_0x477d('0x3e18')+_0x477d('0x6ca1')+_0x477d('0x6e2f')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x477d('0x3e19')+_0x477d('0x4ea1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x3e1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6ce9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x6e5d')+_0x477d('0x6e5e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20disabled\x20\x0a'+_0x477d('0x3dda')+_0x477d('0x3de0')+_0x477d('0x3f5c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Directory\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x39d9')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6e3b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6e3f')+_0x477d('0x6e63')+_0x477d('0x6e40')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x3de0')+_0x477d('0x3f5c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AUDIOFILES\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e14')+_0x477d('0x6e67')+_0x477d('0x6e68')+_0x477d('0x6e69')+_0x477d('0x4100')+_0x477d('0x6e6a')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4103')+_0x477d('0x6e6b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20mohSound\x22\x20translate\x20translate-attr-label=\x22VOICE.ADD_MOHSOUND\x22>\x0a'+_0x477d('0x4105')+'\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4106')+_0x477d('0x6e6c')+_0x477d('0x4108')+_0x477d('0x6e6d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x410b')+_0x477d('0x410c')+_0x477d('0x6e6e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22delete\x20selected\x22\x20translate\x20translate-attr-label=\x22VOICE.DELETE_SELECTED\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3d05')+_0x477d('0x40da')+'\x20\x20\x0a'+_0x477d('0x4110')+_0x477d('0x6e6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4113')+_0x477d('0x4114')+_0x477d('0x6e70')+_0x477d('0x4115')+_0x477d('0x6e71')+_0x477d('0x6e72')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x411d')+_0x477d('0x6e73')+_0x477d('0x4115')+_0x477d('0x414c')+_0x477d('0x411e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6e74')+'>\x0a'+_0x477d('0x41da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{mohSound.id}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4e49')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6e75')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6e76')+_0x477d('0x412e')+_0x477d('0x5511')+_0x477d('0x412f')+_0x477d('0x6e77')+_0x477d('0x4130')+_0x477d('0x4155')+'\x20\x0a'+_0x477d('0x4156')+_0x477d('0x4134')+_0x477d('0x6e78')+_0x477d('0x6e79')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x415b')+_0x477d('0x415c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4138')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6e7a')+_0x477d('0x551a')+_0x477d('0x417f')+_0x477d('0x6e7b')+_0x477d('0x413b')+_0x477d('0x413c')+_0x477d('0x411e')+_0x477d('0x413d')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x413f')+_0x477d('0x6e7c')+'\x20\x20\x0a'+'\x0a'+_0x477d('0x3e27')+_0x477d('0x3e28')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e2a')+'\x0a'+_0x477d('0x3699')+_0x477d('0x3a5a')+'\x0a'+_0x477d('0x377d'));_0x143a79[_0x477d('0x390')]('app/main/apps/voice/views/musiconholds/musiconholds.html','\x0a'+'\x0a'+_0x477d('0x39eb')+_0x477d('0x3bef')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x37cd')+_0x477d('0x39ec')+_0x477d('0x39ed')+_0x477d('0x6c7b')+_0x477d('0x3760')+_0x477d('0x6e7d')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39ef')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39f2')+_0x477d('0x39f3')+_0x477d('0x39f4')+_0x477d('0x39f5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6e10')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x39f7')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x6e7e')+_0x477d('0x39fa')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39fc')+_0x477d('0x39fd')+_0x477d('0x6ccf')+_0x477d('0x372b')+_0x477d('0x36e5')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a00')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedMusicOnHolds.length}}\x0a'+_0x477d('0x6c80')+_0x477d('0x3760')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a04')+_0x477d('0x3a05')+_0x477d('0x3a06')+_0x477d('0x6c81')+_0x477d('0x3a08')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a0a')+_0x477d('0x6e7f')+_0x477d('0x3a0c')+_0x477d('0x3832')+_0x477d('0x3a0f')+_0x477d('0x3a0a')+_0x477d('0x6e80')+_0x477d('0x3a0e')+_0x477d('0x3832')+_0x477d('0x3a0f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a11')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3ac4')+_0x477d('0x6e81')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a14')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x382a')+_0x477d('0x36e5')+_0x477d('0x3699')+_0x477d('0x3a17')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3a19')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a1b')+_0x477d('0x6e82')+_0x477d('0x3a1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6e83')+_0x477d('0x6e84')+_0x477d('0x3a21')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.ID\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x6c8a')+_0x477d('0x6e85')+_0x477d('0x6e86')+_0x477d('0x3acb')+_0x477d('0x3a2c')+_0x477d('0x3a2d')+_0x477d('0x3a2e')+_0x477d('0x6e87')+_0x477d('0x3acd')+_0x477d('0x3a30')+_0x477d('0x4864')+_0x477d('0x3a31')+_0x477d('0x3a32')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6e88')+_0x477d('0x6e89')+_0x477d('0x6e8a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22id\x20\x22\x20>{{musiconhold.id}}\x0a'+_0x477d('0x6e8b')+_0x477d('0x6e8c')+_0x477d('0x6e8d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22mode\x20\x22>{{\x20\x27VOICE.\x27\x20+\x20vm.arraymode[musiconhold.mode].option\x20|\x20uppercase\x20|\x20translate\x20}}\x0a'+_0x477d('0x6e8e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22sort\x20\x22>{{\x20\x27VOICE.\x27\x20+\x20vm.arraysort[musiconhold.sort].option\x20|\x20uppercase\x20|\x20translate\x20}}\x0a'+_0x477d('0x3dc1')+'\x0a'+_0x477d('0x3ada')+'\x0a'+_0x477d('0x3a43')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3947')+'\x0a'+_0x477d('0x3a45')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a47')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4d')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x6e8f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22VOICE.EDIT_MUSICONHOLD\x22>\x0a'+_0x477d('0x6e90')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a47')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3caf')+'\x0a'+_0x477d('0x6e91')+_0x477d('0x6e92')+_0x477d('0x6e93')+_0x477d('0x3a52')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3692')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3939')+'\x0a'+'\x0a'+_0x477d('0x3a2c')+_0x477d('0x3a56')+_0x477d('0x3ae2')+_0x477d('0x3a57')+'\x0a'+_0x477d('0x6e94')+_0x477d('0x3ae4')+_0x477d('0x6e95')+_0x477d('0x3a59')+'\x0a'+_0x477d('0x3cb5')+_0x477d('0x36e5')+_0x477d('0x3ae6')+'\x0a'+_0x477d('0x3699')+_0x477d('0x3a5a')+'\x0a'+_0x477d('0x6e96')+_0x477d('0x6e97')+_0x477d('0x6e98')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3735')+_0x477d('0x6e99')+_0x477d('0x3699'));_0x143a79[_0x477d('0x390')]('app/main/apps/voice/views/outboundroutes/create/dialog.html',_0x477d('0x6e9a')+'\x20\x20\x20\x20\x0a'+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PhoneNumber\x0a'+_0x477d('0x6e9b')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x6e9c')+_0x477d('0x39d2')+_0x477d('0x6cf5')+_0x477d('0x36bf')+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x6cf6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Context\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e73')+_0x477d('0x6e9d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20wav\x0a'+_0x477d('0x6474')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>wav49\x0a'+_0x477d('0x5b73')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>gsm\x0a'+_0x477d('0x3aac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6ea0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Recording\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3e73')+_0x477d('0x6ea1')+_0x477d('0x6ea2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x220\x22\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x6ea3')+_0x477d('0x36bf')+_0x477d('0x3de9')+_0x477d('0x6ea4')+_0x477d('0x3deb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x0a'+_0x477d('0x6ea5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6ea6')+_0x477d('0x39d2')+_0x477d('0x6cc3')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c3')+_0x477d('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6ea7')+_0x477d('0x39de')+_0x477d('0x6ea8')+_0x477d('0x6cc6')+_0x477d('0x39e0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x6ea9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x477d('0x6eaa')+_0x477d('0x6eab')+_0x477d('0x6eac')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x39e5')+_0x477d('0x6ead')+_0x477d('0x6cc9')+_0x477d('0x3a16')+_0x477d('0x6cca')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x366a')+'\x0a');_0x143a79[_0x477d('0x390')]('app/main/apps/voice/views/outboundroutes/edit/apps/custom/dialog.html',_0x477d('0x6e9a')+_0x477d('0x6eae')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Application_Name\x0a'+_0x477d('0x6d0c')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x6d0e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x6d0f')+_0x477d('0x6d10')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x6eaf')+_0x477d('0x39d2')+_0x477d('0x6dcc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b1b')+_0x477d('0x6eb0')+_0x477d('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22outboundrouteFormApp.$invalid\x20||\x20outboundrouteFormApp.$pristine\x22\x0a'+_0x477d('0x6cc6')+_0x477d('0x39e0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x3669')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')]('app/main/apps/voice/views/outboundroutes/edit/apps/interval/dialog.html',_0x477d('0x3ef3')+_0x477d('0x3ef4')+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x3aea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3aec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x3aee')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3af0')+_0x477d('0x3674')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3eb4')+_0x477d('0x383b')+_0x477d('0x3ef5')+_0x477d('0x3ef6')+_0x477d('0x3ef7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4d6c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Intervals\x0a'+_0x477d('0x3ef9')+_0x477d('0x3efa')+_0x477d('0x36a0')+_0x477d('0x36a1')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3efc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3c57')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3efe')+_0x477d('0x3eff')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Time\x20Range\x20From\x20field\x20is\x20invalid\x0a'+_0x477d('0x3f01')+_0x477d('0x40da')+_0x477d('0x3c68')+_0x477d('0x3670')+_0x477d('0x3f02')+_0x477d('0x3f03')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f05')+_0x477d('0x36a9')+_0x477d('0x399e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Time\x20Range\x20To\x20field\x20is\x20required\x0a'+_0x477d('0x36a9')+_0x477d('0x36bf')+_0x477d('0x3f07')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f08')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f0a')+_0x477d('0x3efd')+_0x477d('0x3f0b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20From\x0a'+_0x477d('0x3f0d')+_0x477d('0x3f0e')+_0x477d('0x3f0f')+_0x477d('0x3b15')+_0x477d('0x39a2')+'\x0a'+_0x477d('0x3f10')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20To\x0a'+_0x477d('0x3f12')+_0x477d('0x3f0f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f13')+_0x477d('0x36bf')+_0x477d('0x39a2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f14')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4d70')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f15')+_0x477d('0x3f0c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f0e')+_0x477d('0x3f16')+_0x477d('0x3b15')+_0x477d('0x39a2')+'\x0a'+_0x477d('0x3f17')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20To\x0a'+_0x477d('0x3f18')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20month\x20}}\x0a'+_0x477d('0x3b15')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36bf')+_0x477d('0x39a2')+_0x477d('0x36c0')+_0x477d('0x4d71')+'\x0a'+_0x477d('0x4d72')+_0x477d('0x3f1a')+_0x477d('0x3efd')+_0x477d('0x3f15')+_0x477d('0x3f0c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f0e')+_0x477d('0x3f1c')+_0x477d('0x3b15')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4d73')+_0x477d('0x3f11')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f1c')+_0x477d('0x3b15')+_0x477d('0x3f1e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39a2')+_0x477d('0x36c0')+_0x477d('0x3f1f')+'\x0a'+_0x477d('0x3aea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3aec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x3aee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3aef')+_0x477d('0x3af0')+_0x477d('0x3674')+_0x477d('0x3670')+_0x477d('0x36c0')+_0x477d('0x3663')+'\x0a'+_0x477d('0x3b1a')+_0x477d('0x387b')+_0x477d('0x3f20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x477d('0x387e')+'\x0a'+_0x477d('0x3f21')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20INTERVAL\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')]('app/main/apps/voice/views/outboundroutes/edit/apps/outbounddial/dialog.html',_0x477d('0x6e9a')+'\x20\x20\x20\x20\x0a'+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x38ad')+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c6')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6d21')+_0x477d('0x6eb1')+_0x477d('0x39ca')+_0x477d('0x39ce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x3de0')+_0x477d('0x6dd3')+_0x477d('0x6dd4')+_0x477d('0x3aac')+_0x477d('0x6eb2')+_0x477d('0x39d2')+_0x477d('0x6d24')+_0x477d('0x36bf')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6eb3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d6')+_0x477d('0x6eb4')+_0x477d('0x6eb5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6eb6')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Prefix\x0a'+_0x477d('0x6eb7')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x6ca6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x6eb8')+_0x477d('0x6eb9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x6eba')+_0x477d('0x4d87')+_0x477d('0x4d88')+_0x477d('0x3aac')+_0x477d('0x6ebb')+_0x477d('0x39d2')+_0x477d('0x6ebc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x3e73')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Timeout\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6d1a')+_0x477d('0x3deb')+_0x477d('0x3ee8')+_0x477d('0x36a1')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Options\x0a'+_0x477d('0x6ebe')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x6ebf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6cb6')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x6d1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6d1f')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x3ab5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3b1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6eb0')+_0x477d('0x39de')+_0x477d('0x6ec1')+_0x477d('0x6cc6')+_0x477d('0x39e0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')]('app/main/apps/voice/views/outboundroutes/edit/view.html',_0x477d('0x6ec2')+'\x0a'+_0x477d('0x39eb')+_0x477d('0x3b62')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6ec3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.gotoOutboundRoutes()\x22\x0a'+_0x477d('0x6ec4')+_0x477d('0x3e04')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6ec5')+_0x477d('0x3670')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b65')+_0x477d('0x6ec6')+_0x477d('0x6ec7')+_0x477d('0x36bf')+_0x477d('0x3b68')+_0x477d('0x6ec8')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x38ad')+_0x477d('0x6ec9')+_0x477d('0x3e11')+_0x477d('0x3d05')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3699')+_0x477d('0x39f8')+'\x0a'+_0x477d('0x3a18')+_0x477d('0x3b6b')+'\x0a'+_0x477d('0x3b6c')+_0x477d('0x3e12')+_0x477d('0x3f7a')+_0x477d('0x6d8a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6eca')+_0x477d('0x3f7d')+_0x477d('0x6e03')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e17')+_0x477d('0x3e18')+_0x477d('0x6cf3')+_0x477d('0x6e9b')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ce')+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6cf5')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Context\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Context\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3e73')+_0x477d('0x6e9d')+_0x477d('0x6ecb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x3de0')+_0x477d('0x6e9e')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>none\x0a'+_0x477d('0x5b6f')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>wav\x0a'+_0x477d('0x6474')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>wav49\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3e73')+_0x477d('0x6ea1')+_0x477d('0x6ea2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3eee')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x6ecf')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CutDigits\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6ea4')+_0x477d('0x3deb')+_0x477d('0x3ee8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x6cc0')+_0x477d('0x6ea5')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x3e25')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x3e26')+_0x477d('0x3e27')+_0x477d('0x3e28')+_0x477d('0x3e29')+_0x477d('0x3e12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6ed0')+_0x477d('0x3f7b')+_0x477d('0x3e14')+_0x477d('0x6ed1')+_0x477d('0x6ed2')+_0x477d('0x4186')+'\x20\x20\x0a'+_0x477d('0x4188')+_0x477d('0x4189')+_0x477d('0x418a')+_0x477d('0x418b')+_0x477d('0x418c')+_0x477d('0x37cb')+_0x477d('0x418d')+_0x477d('0x418e')+_0x477d('0x37a7')+_0x477d('0x418f')+_0x477d('0x4190')+_0x477d('0x4e19')+_0x477d('0x6e06')+_0x477d('0x4192')+_0x477d('0x418e')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3fa6')+_0x477d('0x4e1b')+'\x20\x20\x0a'+_0x477d('0x5687')+_0x477d('0x4e1d')+_0x477d('0x6ed3')+_0x477d('0x4108')+_0x477d('0x5689')+_0x477d('0x3b2c')+_0x477d('0x4194')+_0x477d('0x380f')+_0x477d('0x392e')+'\x20\x20\x20\x20\x0a'+_0x477d('0x4108')+_0x477d('0x6ed4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6ed5')+_0x477d('0x6d93')+_0x477d('0x4198')+_0x477d('0x36dc')+_0x477d('0x380f')+_0x477d('0x392e')+'\x0a'+_0x477d('0x568d')+_0x477d('0x4199')+_0x477d('0x6ed6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x419a')+_0x477d('0x419b')+_0x477d('0x419f')+_0x477d('0x4e23')+_0x477d('0x419e')+_0x477d('0x41a0')+_0x477d('0x41a1')+_0x477d('0x419e')+_0x477d('0x41a0')+_0x477d('0x41a2')+_0x477d('0x419e')+_0x477d('0x419b')+_0x477d('0x419b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41a4')+_0x477d('0x41a5')+_0x477d('0x6ed7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41a8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6ed8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{app.appdata}}\x0a'+_0x477d('0x41ac')+_0x477d('0x41a7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41af')+_0x477d('0x5693')+_0x477d('0x41b0')+_0x477d('0x452d')+_0x477d('0x413c')+_0x477d('0x41b1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a44')+_0x477d('0x3947')+'\x0a'+_0x477d('0x3a45')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6ed9')+_0x477d('0x4e29')+_0x477d('0x3a52')+_0x477d('0x3a4b')+_0x477d('0x41b3')+_0x477d('0x41b4')+_0x477d('0x41b5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41b7')+_0x477d('0x41b8')+_0x477d('0x3a52')+_0x477d('0x3a4b')+_0x477d('0x41b9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x413c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6eda')+_0x477d('0x6d98')+_0x477d('0x41bb')+_0x477d('0x413c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41bc')+_0x477d('0x6d99')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6e0f')+_0x477d('0x6edb')+_0x477d('0x6edc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6d9c')+_0x477d('0x41bd')+'\x0a'+_0x477d('0x4e2b')+'\x0a'+_0x477d('0x41bf')+'\x0a'+'\x0a'+_0x477d('0x377d')+_0x477d('0x41c1')+_0x477d('0x377d')+'\x0a'+_0x477d('0x3e27')+_0x477d('0x3e28')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3699')+_0x477d('0x3a5a')+'\x0a'+_0x477d('0x377d'));_0x143a79[_0x477d('0x390')]('app/main/apps/voice/views/outboundroutes/outboundroutes.html','\x0a'+'\x0a'+_0x477d('0x39eb')+_0x477d('0x3bef')+'\x0a'+_0x477d('0x3abc')+_0x477d('0x37cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ed')+_0x477d('0x6c7b')+_0x477d('0x3760')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OutboundRoutes\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39f0')+_0x477d('0x39f1')+_0x477d('0x39f2')+_0x477d('0x39f3')+_0x477d('0x39f4')+_0x477d('0x39f5')+_0x477d('0x3abf')+_0x477d('0x6e10')+_0x477d('0x39a2')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36bf')+_0x477d('0x3699')+_0x477d('0x39f8')+'\x0a'+_0x477d('0x39f9')+_0x477d('0x6edd')+_0x477d('0x39fa')+'\x0a'+_0x477d('0x6ede')+_0x477d('0x39fc')+_0x477d('0x39fd')+_0x477d('0x6ccf')+_0x477d('0x372b')+_0x477d('0x36e5')+'\x0a'+_0x477d('0x39ff')+'\x0a'+_0x477d('0x3a00')+_0x477d('0x6edf')+_0x477d('0x6ee0')+_0x477d('0x6c80')+_0x477d('0x3760')+'\x0a'+_0x477d('0x3daf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6ee2')+_0x477d('0x3a0e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a10')+_0x477d('0x3a11')+_0x477d('0x36c0')+'\x0a'+_0x477d('0x3ac4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a14')+_0x477d('0x6ee3')+_0x477d('0x6cd5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x382a')+_0x477d('0x36e5')+_0x477d('0x3699')+_0x477d('0x3a17')+'\x0a'+_0x477d('0x3a18')+_0x477d('0x3a19')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ac6')+'\x0a'+_0x477d('0x3a1b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a1d')+_0x477d('0x3a1e')+_0x477d('0x6ee4')+_0x477d('0x6ee5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a22')+_0x477d('0x6c89')+_0x477d('0x6da8')+_0x477d('0x6e1c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a2c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a2e')+_0x477d('0x6ee6')+_0x477d('0x3db9')+_0x477d('0x3a30')+_0x477d('0x4864')+_0x477d('0x3a31')+_0x477d('0x3a32')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6ee7')+_0x477d('0x6ee8')+_0x477d('0x6ee9')+_0x477d('0x6eea')+_0x477d('0x6eeb')+_0x477d('0x6eec')+_0x477d('0x6eed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a44')+_0x477d('0x3947')+'\x0a'+_0x477d('0x3a45')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x6eef')+_0x477d('0x6ef0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20OutboundRoute\x0a'+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3caf')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20OutboundRoute\x0a'+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3692')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3939')+'\x0a'+'\x0a'+_0x477d('0x3a2c')+_0x477d('0x3a56')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a57')+'\x0a'+_0x477d('0x6ef1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6ef2')+_0x477d('0x3a59')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+_0x477d('0x3ae6')+'\x0a'+_0x477d('0x3699')+_0x477d('0x3a5a')+'\x0a'+_0x477d('0x6ef3')+_0x477d('0x6ef4')+_0x477d('0x6ef5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3735')+_0x477d('0x6ef6')+_0x477d('0x3699'));_0x143a79[_0x477d('0x390')](_0x477d('0x302'),_0x477d('0x5c47')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4714')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3bec')+'\x0a'+_0x477d('0x5c49')+_0x477d('0x5c4a')+_0x477d('0x5c4b')+_0x477d('0x5c4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.CLICKRELOAD\x27\x20|\x20translate}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+_0x477d('0x392e')+_0x477d('0x4199')+_0x477d('0x3930')+_0x477d('0x5c4e')+_0x477d('0x471e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ID\x0a'+_0x477d('0x4720')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.PHONE\x27\x20|\x20translate}}\x0a'+_0x477d('0x4722')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.ABANDONAT\x27\x20|\x20translate}}\x0a'+_0x477d('0x5c50')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.DISPOSITION\x27\x20|\x20translate}}\x0a'+_0x477d('0x4728')+_0x477d('0x3932')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3934')+_0x477d('0x5c52')+_0x477d('0x4729')+_0x477d('0x4926')+_0x477d('0x4759')+_0x477d('0x36a9')+_0x477d('0x3939')+_0x477d('0x3932')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5c54')+_0x477d('0x6ef7')+_0x477d('0x5c55')+_0x477d('0x5c56')+_0x477d('0x6ef8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{call.lastAssignedTo}}\x0a'+_0x477d('0x6ef9')+_0x477d('0x473c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5c59')+_0x477d('0x4740')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6efa')+_0x477d('0x5c5a')+_0x477d('0x4742')+_0x477d('0x5c5b')+_0x477d('0x4745')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5c5d')+_0x477d('0x3d61')+_0x477d('0x6efb')+_0x477d('0x5c5e')+_0x477d('0x3d61')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x368e')+_0x477d('0x4742')+_0x477d('0x6efc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5c5f')+_0x477d('0x5c60')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3d64')+_0x477d('0x3d65')+_0x477d('0x368d')+_0x477d('0x3692')+_0x477d('0x3693')+_0x477d('0x3939')+_0x477d('0x3932')+_0x477d('0x393a')+_0x477d('0x393b')+_0x477d('0x393c')+'\x0a'+_0x477d('0x5c61'));_0x143a79[_0x477d('0x390')](_0x477d('0x2f2'),_0x477d('0x42b7')+_0x477d('0x421f')+_0x477d('0x4100')+'\x20\x20\x20\x20\x20\x20\x20\x20Agents\x0a'+_0x477d('0x3b2c')+_0x477d('0x4221')+_0x477d('0x4222')+'\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.PARTIALPAUSE\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.BUSY\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x6eff')+_0x477d('0x3888')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x422b')+_0x477d('0x422c')+_0x477d('0x422d')+_0x477d('0x422e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AUTOPAUSE\x0a'+_0x477d('0x4edf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3699')+_0x477d('0x422f')+'\x0a'+_0x477d('0x4ec5')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x4232')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6f00')+_0x477d('0x4235')+_0x477d('0x4236')+_0x477d('0x4237')+_0x477d('0x4238')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27OPENCHANNEL.OPENCHANNEL\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27FAX.FAX\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x423c')+_0x477d('0x423d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41a3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x423f')+_0x477d('0x6f01')+_0x477d('0x4240')+_0x477d('0x6f02')+_0x477d('0x4241')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.LOGIN_TIME\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6f03')+'\x0a'+_0x477d('0x4245')+_0x477d('0x4246')+'\x0a'+_0x477d('0x4247')+_0x477d('0x4248')+_0x477d('0x4249')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.CAPACITY\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x36bb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x424b')+_0x477d('0x424c')+_0x477d('0x4249')+_0x477d('0x424d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x419e')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.STATUS\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x424f')+_0x477d('0x4249')+_0x477d('0x4ee3')+_0x477d('0x36bb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4250')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4249')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27OPENCHANNEL.CAPACITY\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x36bb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4253')+_0x477d('0x4254')+_0x477d('0x4249')+_0x477d('0x4ee4')+_0x477d('0x36bb')+_0x477d('0x419e')+'\x0a'+_0x477d('0x4255')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4249')+_0x477d('0x4ee5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41a3')+_0x477d('0x41a4')+_0x477d('0x4256')+_0x477d('0x4257')+_0x477d('0x4ee6')+_0x477d('0x4258')+_0x477d('0x6f04')+_0x477d('0x36bf')+_0x477d('0x413c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4ee8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x425b')+_0x477d('0x4ee9')+_0x477d('0x425c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.agents[value].fullname}}\x0a'+_0x477d('0x425e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36bf')+_0x477d('0x413c')+_0x477d('0x425a')+_0x477d('0x425f')+_0x477d('0x4260')+_0x477d('0x4261')+_0x477d('0x3684')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6f05')+_0x477d('0x4268')+_0x477d('0x4266')+_0x477d('0x368a')+_0x477d('0x36a9')+_0x477d('0x4eeb')+_0x477d('0x3684')+_0x477d('0x4267')+_0x477d('0x4263')+_0x477d('0x4264')+_0x477d('0x6f06')+_0x477d('0x4268')+_0x477d('0x4266')+_0x477d('0x368a')+_0x477d('0x36a9')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x0a'+'\x0a'+_0x477d('0x4269')+_0x477d('0x426a')+_0x477d('0x4eed')+_0x477d('0x4eee')+_0x477d('0x413c')+_0x477d('0x426b')+_0x477d('0x426c')+_0x477d('0x426d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4270')+_0x477d('0x4ef0')+_0x477d('0x4276')+_0x477d('0x5772')+_0x477d('0x5773')+_0x477d('0x4ef1')+_0x477d('0x4277')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x427d')+_0x477d('0x427e')+_0x477d('0x36a9')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x427f')+_0x477d('0x4280')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.agents[value].chatCurrentCapacity\x20}}\x0a'+'\x0a'+_0x477d('0x5774')+_0x477d('0x4271')+_0x477d('0x41ee')+_0x477d('0x427d')+_0x477d('0x5c6c')+_0x477d('0x36a9')+_0x477d('0x36bf')+_0x477d('0x413c')+_0x477d('0x4ef2')+_0x477d('0x4282')+_0x477d('0x4283')+'\x0a'+_0x477d('0x4284')+_0x477d('0x4271')+_0x477d('0x41ee')+_0x477d('0x427d')+_0x477d('0x4ef3')+_0x477d('0x36a9')+_0x477d('0x36bf')+_0x477d('0x413c')+_0x477d('0x4285')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27idle\x27:\x27lime-300-fg\x27,\x27maxcapacity\x27:\x27red-A200-fg\x27,\x27working\x27:\x27indigo-100-fg\x27,\x27pause\x27:\x27amber-200-fg\x27}[vm.agents[value].smsStatus]\x22>\x0a'+_0x477d('0x4286')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4271')+_0x477d('0x41ee')+_0x477d('0x427d')+_0x477d('0x4288')+_0x477d('0x36a9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x413c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4271')+_0x477d('0x41ee')+_0x477d('0x427d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27idle\x27:\x27lime-300-bg\x27,\x27maxcapacity\x27:\x27red-A200-bg\x27,\x27working\x27:\x27indigo-100-bg\x27,\x27pause\x27:\x27amber-200-bg\x27}[vm.agents[value].faxStatus]\x22>{{\x20vm.agents[value].faxStatus\x20|\x20uppercase\x20}}\x0a'+_0x477d('0x36a9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x413c')+_0x477d('0x4ef6')+_0x477d('0x428d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.agents[value].faxCurrentCapacity\x20}}\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4271')+_0x477d('0x41ee')+_0x477d('0x427d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27idle\x27:\x27lime-300-bg\x27,\x27maxcapacity\x27:\x27red-A200-bg\x27,\x27working\x27:\x27indigo-100-bg\x27,\x27pause\x27:\x27amber-200-bg\x27}[vm.agents[value].whatsappStatus]\x22>{{\x20vm.agents[value].whatsappStatus\x20|\x20uppercase\x20}}\x0a'+_0x477d('0x36a9')+_0x477d('0x36bf')+_0x477d('0x413c')+_0x477d('0x4290')+_0x477d('0x4291')+_0x477d('0x4292')+'\x0a'+_0x477d('0x4293')+_0x477d('0x3a43')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3947')+'\x0a'+_0x477d('0x4295')+_0x477d('0x4296')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4b')+_0x477d('0x4296')+_0x477d('0x429a')+_0x477d('0x6f08')+_0x477d('0x5776')+_0x477d('0x3a52')+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x429c')+_0x477d('0x5777')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x429d')+_0x477d('0x6f09')+_0x477d('0x3691')+_0x477d('0x429f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x42a1')+_0x477d('0x6f0a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Screen\x20Recording\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x42a3')+_0x477d('0x42a4')+_0x477d('0x6f0b')+_0x477d('0x42a2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x42a5')+_0x477d('0x3c45')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4296')+_0x477d('0x3c28')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{pause.name}}\x0a'+_0x477d('0x3c34')+_0x477d('0x3c30')+_0x477d('0x42a5')+_0x477d('0x3c45')+_0x477d('0x3a4b')+_0x477d('0x42ad')+_0x477d('0x42ae')+_0x477d('0x6f0e')+_0x477d('0x4f01')+_0x477d('0x3a52')+_0x477d('0x3a4b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x42b0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41a3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x42d1')+_0x477d('0x41be')+'\x0a'+'\x0a'+_0x477d('0x42b4')+_0x477d('0x42b5'));_0x143a79['put']('app/main/apps/voice/views/realtime/outbound_calls/view.html',_0x477d('0x42b7')+_0x477d('0x421f')+'\x20\x20\x20\x20\x0a'+_0x477d('0x6f10')+_0x477d('0x3b2c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3699')+'\x0a'+'\x0a'+_0x477d('0x6f11')+_0x477d('0x4230')+_0x477d('0x6f12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x419a')+_0x477d('0x6f13')+_0x477d('0x6f14')+_0x477d('0x6f15')+_0x477d('0x6f16')+_0x477d('0x41a3')+_0x477d('0x41a4')+_0x477d('0x4256')+_0x477d('0x6f17')+_0x477d('0x5746')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a'+_0x477d('0x36bf')+_0x477d('0x413c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6f18')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6f19')+_0x477d('0x413c')+_0x477d('0x41a7')+_0x477d('0x6f1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6f1b')+_0x477d('0x41a7')+_0x477d('0x6f1c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hhours}}:{{mminutes}}:{{sseconds}}\x0a'+_0x477d('0x3774')+_0x477d('0x6f1d')+_0x477d('0x413c')+_0x477d('0x41a3')+_0x477d('0x41bc')+_0x477d('0x42d1')+_0x477d('0x41be')+'\x0a'+_0x477d('0x6f1e')+'\x0a'+'\x0a');_0x143a79['put'](_0x477d('0x6f1f'),_0x477d('0x42b7')+_0x477d('0x421f')+_0x477d('0x5c84')+_0x477d('0x6f20')+_0x477d('0x5c86')+_0x477d('0x6f21')+_0x477d('0x3fa6')+_0x477d('0x422f')+'\x0a'+_0x477d('0x6f22')+_0x477d('0x4230')+'\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5c89')+_0x477d('0x6f23')+_0x477d('0x6f24')+'\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.CALLER\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x6f25')+'\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.DURATION\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x6f26')+_0x477d('0x5c8e')+_0x477d('0x5c8f')+_0x477d('0x5c90')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5c92')+_0x477d('0x5c93')+_0x477d('0x6f27')+_0x477d('0x3fab')+_0x477d('0x47d9')+_0x477d('0x5c8e')+_0x477d('0x6f28')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5c95')+_0x477d('0x47d9')+_0x477d('0x5c96')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{channel.queue}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{channel.calleridnum}}\x0a'+_0x477d('0x47fc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6f29')+_0x477d('0x5c9a')+_0x477d('0x6f2a')+_0x477d('0x47ef')+_0x477d('0x376b')+_0x477d('0x5c9b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.WAITING_FOR_AGENT\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x5c9c')+_0x477d('0x376b')+_0x477d('0x47d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5c9d')+_0x477d('0x5c9c')+_0x477d('0x376b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5c9e')+_0x477d('0x4803')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5c9f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4807')+_0x477d('0x4808')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5ca1')+_0x477d('0x452d')+_0x477d('0x480c')+_0x477d('0x4808')+_0x477d('0x6f2b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Number\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6f2c')+_0x477d('0x6f2d')+_0x477d('0x5ca6')+_0x477d('0x5ca7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4845')+_0x477d('0x4816')+_0x477d('0x47d9')+_0x477d('0x5c8e')+_0x477d('0x6f2e')+_0x477d('0x5ca9')+'\x0a'+'\x0a'+_0x477d('0x6f2f')+'\x0a'+_0x477d('0x41c1'));_0x143a79[_0x477d('0x390')](_0x477d('0x305'),_0x477d('0x42b7')+'\x0a'+_0x477d('0x4100')+_0x477d('0x5cab')+_0x477d('0x3b2c')+_0x477d('0x42b9')+_0x477d('0x3699')+_0x477d('0x422f')+'\x0a'+'\x0a'+_0x477d('0x4230')+_0x477d('0x4231')+_0x477d('0x42bb')+_0x477d('0x419a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20VOICE.NAME\x27\x20|\x20translate}}\x0a'+_0x477d('0x6f30')+_0x477d('0x6f31')+_0x477d('0x6f30')+_0x477d('0x6f32')+_0x477d('0x6f30')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20VOICE.ABANDONED\x27\x20|\x20translate}}\x0a'+_0x477d('0x6f30')+_0x477d('0x6f33')+_0x477d('0x6f30')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20VOICE.AVG_HOLD_TIME\x27\x20|\x20translate}}\x0a'+_0x477d('0x6f30')+_0x477d('0x6f34')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27\x0a'+_0x477d('0x6f35')+_0x477d('0x6f36')+_0x477d('0x41a4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x42c2')+_0x477d('0x551a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a'+_0x477d('0x36bf')+_0x477d('0x413c')+_0x477d('0x41a3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6f37')+_0x477d('0x3939')+_0x477d('0x4988')+_0x477d('0x6f38')+_0x477d('0x6f39')+_0x477d('0x3939')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{queue.answered\x20||\x200}}\x20({{(queue.total)\x20?\x20(queue.answered\x20||\x200)\x20*\x20100/queue.total\x20:\x200\x20|\x20number:1}}%)\x0a'+_0x477d('0x3939')+_0x477d('0x4988')+_0x477d('0x6f3a')+_0x477d('0x3939')+_0x477d('0x4988')+_0x477d('0x6f3b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4988')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{queue.total\x20?\x20((queue.sumHoldTime\x20||\x200)\x20/\x20queue.total)\x20:\x200\x20|\x20number:\x200\x20|\x20secToTime\x20|\x20date:\x27HH:mm:ss\x27}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{(queue.total\x20?\x20((queue.sumDuration\x20||\x200)\x20/\x20queue.total)\x20:\x200)\x20|\x20number:\x200\x20|\x20secToTime\x20|\x20date:\x27HH:mm:ss\x27}}\x0a'+_0x477d('0x3939')+_0x477d('0x4988')+_0x477d('0x6f3c')+_0x477d('0x3939')+_0x477d('0x6f36')+_0x477d('0x41bc')+_0x477d('0x42d1')+'\x0a'+'\x0a'+'\x0a'+_0x477d('0x42d3')+_0x477d('0x41c1'));_0x143a79['put'](_0x477d('0x2fd'),'\x0a'+_0x477d('0x421f')+_0x477d('0x4100')+_0x477d('0x6f3d')+_0x477d('0x3b2c')+_0x477d('0x42b9')+_0x477d('0x3699')+_0x477d('0x422f')+'\x0a'+_0x477d('0x42ba')+_0x477d('0x4230')+_0x477d('0x4231')+_0x477d('0x42bb')+_0x477d('0x419a')+_0x477d('0x6f3e')+_0x477d('0x6f3f')+_0x477d('0x6f40')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.READY\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.WAITING\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x6f41')+_0x477d('0x42c1')+_0x477d('0x41a3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x42c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4258')+_0x477d('0x6f42')+_0x477d('0x36bf')+_0x477d('0x413c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.queues[value].name}}\x0a'+_0x477d('0x41a7')+_0x477d('0x42c6')+_0x477d('0x413c')+_0x477d('0x41a7')+_0x477d('0x42c7')+_0x477d('0x413c')+_0x477d('0x41a7')+_0x477d('0x42c8')+_0x477d('0x413c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.queues[value].waiting\x20||\x200}}\x0a'+_0x477d('0x413c')+_0x477d('0x5cfb')+_0x477d('0x6f43')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f04')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4e27')+_0x477d('0x42cb')+_0x477d('0x3947')+'\x0a'+_0x477d('0x3a45')+_0x477d('0x4296')+_0x477d('0x6f44')+_0x477d('0x42cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x42ce')+_0x477d('0x6f45')+_0x477d('0x42d0')+_0x477d('0x3a52')+_0x477d('0x3a4b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x42b0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41bc')+'\x20\x20\x20\x20\x0a'+_0x477d('0x41be')+'\x0a'+_0x477d('0x6f46')+_0x477d('0x42d3')+_0x477d('0x41c1'));_0x143a79[_0x477d('0x390')](_0x477d('0x6f47'),_0x477d('0x42d4')+_0x477d('0x3a18')+_0x477d('0x3b6b')+_0x477d('0x3b6c')+_0x477d('0x42d5')+_0x477d('0x42d6')+_0x477d('0x6f48')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x42d9')+_0x477d('0x42d6')+_0x477d('0x6f49')+_0x477d('0x42d8')+_0x477d('0x384c')+_0x477d('0x42d9')+_0x477d('0x42d6')+_0x477d('0x6f4a')+_0x477d('0x42d8')+_0x477d('0x384c')+_0x477d('0x42d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6f4b')+_0x477d('0x42d8')+_0x477d('0x384c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x42d6')+_0x477d('0x6f4c')+_0x477d('0x42d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x42d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6f4d')+_0x477d('0x42d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x42d6')+_0x477d('0x6f4e')+_0x477d('0x42d8')+_0x477d('0x384c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6f4f')+_0x477d('0x42d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x42db')+'\x0a'+_0x477d('0x42dc')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3a5a')+_0x477d('0x377d'));_0x143a79[_0x477d('0x390')](_0x477d('0x2f5'),_0x477d('0x42b7')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20Telephones\x0a'+_0x477d('0x3b2c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f0b')+_0x477d('0x6f50')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27VOICE.INFO\x27\x20|\x20translate}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6f51')+_0x477d('0x3699')+_0x477d('0x422f')+'\x0a'+'\x0a'+_0x477d('0x4230')+_0x477d('0x4231')+_0x477d('0x6f52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.ACCOUNTNAME\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x6f53')+_0x477d('0x6f54')+_0x477d('0x6f55')+_0x477d('0x41a3')+_0x477d('0x41a4')+_0x477d('0x4256')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5746')+_0x477d('0x4258')+_0x477d('0x6f42')+_0x477d('0x36bf')+_0x477d('0x413c')+_0x477d('0x41a3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{telephone.fullname}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{telephone.internal}}\x0a'+_0x477d('0x41a7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27VOICE.\x27\x20+\x20telephone.state\x20|\x20uppercase\x20|\x20translate}}\x0a'+_0x477d('0x6f56')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41a7')+_0x477d('0x6f57')+_0x477d('0x6f58')+_0x477d('0x6f56')+_0x477d('0x6f59')+_0x477d('0x413c')+_0x477d('0x41a3')+_0x477d('0x41bc')+'\x20\x20\x20\x20\x0a'+_0x477d('0x41be')+'\x0a'+_0x477d('0x6f5a')+_0x477d('0x42b4')+'\x0a');_0x143a79[_0x477d('0x390')](_0x477d('0x2f9'),_0x477d('0x42b7')+_0x477d('0x421f')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20Telephones\x0a'+_0x477d('0x3b2c')+_0x477d('0x42b9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3699')+_0x477d('0x422f')+'\x0a'+'\x0a'+_0x477d('0x4230')+'\x20\x20\x20\x20\x0a'+_0x477d('0x4f0f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x419a')+_0x477d('0x6f3e')+_0x477d('0x6f5c')+_0x477d('0x6f5d')+_0x477d('0x419b')+_0x477d('0x41a3')+_0x477d('0x41a4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f11')+_0x477d('0x4f12')+_0x477d('0x4258')+_0x477d('0x6f42')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f13')+_0x477d('0x6f5e')+_0x477d('0x41a7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6f5f')+_0x477d('0x4f16')+_0x477d('0x4f17')+_0x477d('0x413c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6f60')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4f1c')+_0x477d('0x4f1d')+_0x477d('0x413c')+_0x477d('0x4f1e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4ed6')+_0x477d('0x3a44')+_0x477d('0x3947')+'\x0a'+_0x477d('0x4295')+_0x477d('0x4296')+_0x477d('0x6f61')+_0x477d('0x6be9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4b')+_0x477d('0x41b9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x413c')+_0x477d('0x41a3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x42d1')+'\x0a'+'\x0a'+_0x477d('0x6f62')+_0x477d('0x6f63')+_0x477d('0x4f21')+_0x477d('0x41c1'));_0x143a79[_0x477d('0x390')](_0x477d('0x268f'),_0x477d('0x6f64')+_0x477d('0x6f65')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c4')+_0x477d('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c6')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+_0x477d('0x39c7')+_0x477d('0x6f66')+_0x477d('0x6f67')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x6f68')+_0x477d('0x39d2')+_0x477d('0x6f69')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x6f6a')+_0x477d('0x6f6b')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6f6c')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x6f6d')+_0x477d('0x39d2')+_0x477d('0x6f6e')+_0x477d('0x36bf')+_0x477d('0x4328')+_0x477d('0x6f6f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x385b')+_0x477d('0x36a1')+_0x477d('0x50b8')+_0x477d('0x6f70')+_0x477d('0x6f71')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-placeholder=\x22VOICE.PASSWORD\x22\x20\x20required\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6cbc')+_0x477d('0x36bf')+_0x477d('0x5041')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Must\x20contain\x20at\x20least\x208\x20characters,\x20with\x20a\x20minimum\x20of\x201\x20lowercase\x20letter,\x201\x20uppercase\x20letter,\x201\x20numeric\x20character\x20and\x201\x20special\x20character\x20~!?*@#$%^&-_=+[{]}.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6f72')+_0x477d('0x6f73')+_0x477d('0x639a')+_0x477d('0x6f74')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Confirm\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x639c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Your\x20password\x20did\x20not\x20match\x0a'+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3eb4')+_0x477d('0x3e73')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MailBox\x0a'+_0x477d('0x6f75')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.newVoicemail\x22\x20\x0a'+_0x477d('0x3dda')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x6f76')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Attach\x0a'+_0x477d('0x6f77')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x3de0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5b60')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27VOICE.YES\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3fc8')+_0x477d('0x5b69')+_0x477d('0x3a46')+_0x477d('0x6f78')+_0x477d('0x3aac')+_0x477d('0x6f79')+_0x477d('0x39d2')+_0x477d('0x6f7a')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3eb4')+_0x477d('0x39c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+_0x477d('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6f7b')+_0x477d('0x39de')+_0x477d('0x6f7c')+_0x477d('0x6cc6')+_0x477d('0x39e0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x6f7d')+_0x477d('0x3c8b')+_0x477d('0x6f7e')+_0x477d('0x6f7f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20VOICEMAIL\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6f80')+_0x477d('0x6cc9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6cca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x334'),_0x477d('0x6f81')+'\x0a'+_0x477d('0x39eb')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3b63')+_0x477d('0x6f82')+_0x477d('0x6f83')+_0x477d('0x6f84')+_0x477d('0x3e04')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x387b')+'\x0a'+_0x477d('0x6f85')+_0x477d('0x6f86')+_0x477d('0x3670')+'\x0a'+_0x477d('0x38e8')+_0x477d('0x3b65')+_0x477d('0x6f87')+_0x477d('0x6f88')+_0x477d('0x36bf')+_0x477d('0x3b68')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.voicemail.createdAt\x20|\x20date:\x27medium\x27}}\x0a'+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e11')+_0x477d('0x3d05')+_0x477d('0x36e5')+'\x0a'+_0x477d('0x3699')+_0x477d('0x39f8')+'\x0a'+_0x477d('0x3a18')+_0x477d('0x3b6b')+'\x0a'+_0x477d('0x3b6c')+_0x477d('0x3e12')+_0x477d('0x3f7a')+_0x477d('0x6d8a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x3e14')+_0x477d('0x6f89')+_0x477d('0x3f7d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GENERAL\x0a'+_0x477d('0x385c')+_0x477d('0x3e17')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6f66')+_0x477d('0x6f67')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x6f8a')+_0x477d('0x39d2')+_0x477d('0x6f69')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6f6a')+_0x477d('0x6f6b')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6f6c')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4346')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6f6e')+_0x477d('0x36bf')+_0x477d('0x4328')+_0x477d('0x6f6f')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x50b8')+_0x477d('0x6f70')+_0x477d('0x6f71')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-placeholder=\x22VOICE.PASSWORD\x22\x20\x20required\x20\x20>\x0a'+_0x477d('0x5136')+_0x477d('0x39d2')+_0x477d('0x6cbc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6cbd')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x3eb4')+_0x477d('0x6f72')+_0x477d('0x6f73')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6f8b')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Confirm\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x639c')+_0x477d('0x6f8c')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MailBox\x0a'+_0x477d('0x6f75')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e19')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20disabled\x20\x0a'+_0x477d('0x3dda')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x6f8d')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MailBox\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x6f8e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20context.name\x20}}\x0a'+_0x477d('0x3aac')+_0x477d('0x6f8f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6f90')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3eb4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x3e29')+_0x477d('0x3e12')+_0x477d('0x3f7a')+_0x477d('0x6f91')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x3e14')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADVANCED\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5b52')+_0x477d('0x3e18')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TimeZone\x0a'+_0x477d('0x6f92')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ce')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x6f93')+_0x477d('0x39d2')+_0x477d('0x6f94')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Attach\x0a'+_0x477d('0x6f77')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+_0x477d('0x3de0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5b60')+_0x477d('0x3a46')+_0x477d('0x6f95')+_0x477d('0x3fc8')+_0x477d('0x5b69')+_0x477d('0x3a46')+_0x477d('0x6f78')+_0x477d('0x3aac')+_0x477d('0x6f96')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Attach\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6f97')+_0x477d('0x6f98')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+_0x477d('0x3de0')+_0x477d('0x3f5c')+_0x477d('0x5b60')+_0x477d('0x3a46')+_0x477d('0x6f95')+_0x477d('0x3fc8')+_0x477d('0x5b69')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6f78')+_0x477d('0x3aac')+_0x477d('0x6f99')+_0x477d('0x39d2')+_0x477d('0x6f9a')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3e73')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x0a'+_0x477d('0x6f9b')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x3de0')+_0x477d('0x3f5c')+_0x477d('0x5b60')+_0x477d('0x3a46')+_0x477d('0x6f95')+_0x477d('0x3fc8')+_0x477d('0x5b69')+_0x477d('0x3a46')+_0x477d('0x6f78')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6f9c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e73')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EmailBody\x0a'+_0x477d('0x6f9d')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x6f9e')+_0x477d('0x39d2')+_0x477d('0x6f9f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6fa0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x6fa3')+_0x477d('0x6fa4')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3eee')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x6fa5')+_0x477d('0x39d2')+_0x477d('0x6fa6')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6fa7')+_0x477d('0x3deb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x6fa8')+_0x477d('0x6fa9')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x220\x22\x20\x20\x20\x0a'+_0x477d('0x5ae1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x6faa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6fab')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6fac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e23')+_0x477d('0x6fad')+_0x477d('0x3deb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x3e26')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e28')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6fae')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e14')+_0x477d('0x6faf')+_0x477d('0x6fb0')+_0x477d('0x6fb1')+_0x477d('0x4100')+_0x477d('0x6fb2')+_0x477d('0x4102')+_0x477d('0x4103')+_0x477d('0x382a')+_0x477d('0x4106')+_0x477d('0x6fb3')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6fb4')+_0x477d('0x3b2c')+_0x477d('0x6fb5')+_0x477d('0x410b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6fb6')+_0x477d('0x6fb7')+_0x477d('0x410f')+_0x477d('0x3d05')+_0x477d('0x40da')+_0x477d('0x4106')+_0x477d('0x4110')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6fb8')+_0x477d('0x4113')+_0x477d('0x4114')+_0x477d('0x6e70')+_0x477d('0x4115')+_0x477d('0x6fb9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.CALLER_ID\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x4115')+_0x477d('0x6fba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.DURATION\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x4115')+_0x477d('0x6e71')+_0x477d('0x6e72')+_0x477d('0x4115')+_0x477d('0x6fbb')+_0x477d('0x6fbc')+_0x477d('0x4115')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x411f')+_0x477d('0x4120')+_0x477d('0x6fbd')+'>\x0a'+_0x477d('0x41da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{message.id}}\x0a'+_0x477d('0x4123')+_0x477d('0x4217')+_0x477d('0x6fbe')+_0x477d('0x4123')+_0x477d('0x4217')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{message.duration}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6fbf')+_0x477d('0x6fc0')+_0x477d('0x6e75')+_0x477d('0x412e')+_0x477d('0x4e41')+_0x477d('0x6fc1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x412f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4130')+_0x477d('0x4155')+'\x20\x0a'+_0x477d('0x4156')+_0x477d('0x4134')+_0x477d('0x6fc2')+_0x477d('0x6fc3')+_0x477d('0x3a52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x415c')+_0x477d('0x4137')+_0x477d('0x4138')+_0x477d('0x411e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x551a')+_0x477d('0x417f')+_0x477d('0x6fc4')+_0x477d('0x413b')+_0x477d('0x413c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x413d')+_0x477d('0x413e')+_0x477d('0x413f')+_0x477d('0x6fc5')+_0x477d('0x3fa6')+'\x0a'+_0x477d('0x3e27')+_0x477d('0x3e28')+_0x477d('0x3e29')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3a5a')+'\x0a'+_0x477d('0x377d'));_0x143a79[_0x477d('0x390')](_0x477d('0x6fc6'),_0x477d('0x6fc7')+'\x0a'+_0x477d('0x39eb')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3abc')+_0x477d('0x37cd')+_0x477d('0x39ec')+_0x477d('0x39ed')+_0x477d('0x6c7b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6fc8')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39ef')+'\x0a'+_0x477d('0x39f0')+_0x477d('0x39f1')+_0x477d('0x39f2')+_0x477d('0x39f3')+_0x477d('0x39f4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3abf')+_0x477d('0x6e10')+_0x477d('0x39a2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39f7')+_0x477d('0x36bf')+_0x477d('0x3699')+_0x477d('0x39f8')+'\x0a'+_0x477d('0x39f9')+_0x477d('0x6fc9')+_0x477d('0x39fa')+'\x0a'+_0x477d('0x6fca')+_0x477d('0x39fc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6ccf')+_0x477d('0x372b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39ff')+'\x0a'+_0x477d('0x3a00')+_0x477d('0x6fcb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedVoicemails.length}}\x0a'+_0x477d('0x6c80')+_0x477d('0x3760')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a04')+_0x477d('0x3a05')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22multi\x20select\x20toggle\x22\x0a'+_0x477d('0x6c81')+_0x477d('0x3a08')+_0x477d('0x3674')+_0x477d('0x3a09')+_0x477d('0x3a0a')+_0x477d('0x6fcc')+_0x477d('0x3a0c')+_0x477d('0x3832')+_0x477d('0x3a0f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6fcd')+_0x477d('0x3a0e')+_0x477d('0x3832')+_0x477d('0x3a0f')+_0x477d('0x3a10')+_0x477d('0x3a11')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3ac4')+_0x477d('0x6fce')+_0x477d('0x3a13')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a18')+_0x477d('0x3a19')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ac6')+'\x0a'+_0x477d('0x3a1b')+_0x477d('0x6fcf')+_0x477d('0x3a1d')+_0x477d('0x3a1e')+_0x477d('0x6fd0')+_0x477d('0x6fd1')+_0x477d('0x3a21')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.ID\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x6fd2')+_0x477d('0x6fd3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.MAILBOX\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x3acb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a2e')+_0x477d('0x6fd4')+_0x477d('0x3acd')+_0x477d('0x3a30')+_0x477d('0x4864')+_0x477d('0x3a31')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a2c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6fd5')+_0x477d('0x6fd6')+_0x477d('0x6fd7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x6fde')+_0x477d('0x6fdf')+_0x477d('0x6fe0')+_0x477d('0x3a52')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3692')+'\x0a'+_0x477d('0x3693')+_0x477d('0x3939')+'\x0a'+'\x0a'+_0x477d('0x3a2c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ae2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x6fe1')+_0x477d('0x3ae4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a59')+'\x0a'+_0x477d('0x3cb5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ae6')+'\x0a'+_0x477d('0x3699')+_0x477d('0x3a5a')+'\x0a'+_0x477d('0x6fe2')+_0x477d('0x6fe3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22add\x20voicemail\x22\x20translate\x20translate-attr-aria-label=\x22VOICE.ADD_VOICEMAIL\x22>\x0a'+_0x477d('0x3cb8')+_0x477d('0x3735')+_0x477d('0x6fe4')+_0x477d('0x3699'));_0x143a79[_0x477d('0x390')](_0x477d('0x26a9'),_0x477d('0x6fe5')+_0x477d('0x6fe6')+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x0a'+_0x477d('0x6fe7')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-pattern=\x22/^[A-Za-z0-9\x5c.\x5c_]+$/i\x22\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x6fe8')+_0x477d('0x6fe9')+_0x477d('0x39d2')+_0x477d('0x6ce9')+_0x477d('0x36bf')+_0x477d('0x3dde')+_0x477d('0x3cbd')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x6fea')+_0x477d('0x6feb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x3de0')+_0x477d('0x6fec')+_0x477d('0x6fed')+_0x477d('0x3aac')+_0x477d('0x6fee')+_0x477d('0x39d2')+_0x477d('0x6fef')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x3e73')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CallerIdAll\x0a'+_0x477d('0x6ff0')+_0x477d('0x39ca')+_0x477d('0x6ff1')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x6ff2')+_0x477d('0x6ff3')+_0x477d('0x39d2')+_0x477d('0x6ff4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3dde')+_0x477d('0x6ff5')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x6cc0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x38ad')+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387b')+_0x477d('0x6ff7')+_0x477d('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22voicePrefixForm.$invalid\x20||\x20voicePrefixForm.$pristine\x22\x0a'+_0x477d('0x6cc6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x477d('0x39e1')+'\x0a'+_0x477d('0x6ff8')+_0x477d('0x3c8b')+_0x477d('0x6ff9')+_0x477d('0x6ffa')+_0x477d('0x6ffb')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39e5')+_0x477d('0x6ffc')+_0x477d('0x6cc9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6cca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x39e9')+_0x477d('0x366a')+'\x0a');_0x143a79[_0x477d('0x390')](_0x477d('0x26aa'),_0x477d('0x6ffd')+_0x477d('0x6ffe')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3dfa')+_0x477d('0x6fff')+_0x477d('0x3d25')+_0x477d('0x3843')+_0x477d('0x3844')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x3660')+_0x477d('0x3661')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3663')+_0x477d('0x3dfc')+_0x477d('0x3dfd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3669')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79['put'](_0x477d('0x34e'),_0x477d('0x7000')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3abc')+_0x477d('0x37cd')+_0x477d('0x39ec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6c7b')+_0x477d('0x3760')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20VoicePrefixes\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39f0')+_0x477d('0x39f1')+_0x477d('0x39f2')+_0x477d('0x39f3')+_0x477d('0x39f4')+_0x477d('0x39f5')+_0x477d('0x3abf')+_0x477d('0x6e10')+_0x477d('0x39a2')+_0x477d('0x36c0')+_0x477d('0x39f7')+_0x477d('0x36bf')+_0x477d('0x3699')+_0x477d('0x39f8')+'\x0a'+_0x477d('0x39f9')+_0x477d('0x7001')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20layout=\x22row\x22\x20layout-align=\x22start\x20center\x22>\x0a'+'\x0a'+_0x477d('0x7002')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Back\x0a'+_0x477d('0x372b')+_0x477d('0x36e5')+'\x0a'+_0x477d('0x39ff')+'\x0a'+_0x477d('0x3a00')+_0x477d('0x7003')+_0x477d('0x7004')+_0x477d('0x6c80')+_0x477d('0x3760')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a04')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22$mdOpenMenu($event)\x22\x0a'+_0x477d('0x3a06')+_0x477d('0x6c81')+_0x477d('0x3a08')+_0x477d('0x3674')+_0x477d('0x3a09')+_0x477d('0x3a0a')+_0x477d('0x7005')+_0x477d('0x3a0c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a0f')+_0x477d('0x3a0a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Select\x20none\x0a'+_0x477d('0x3832')+_0x477d('0x3a0f')+_0x477d('0x3a10')+_0x477d('0x3a11')+_0x477d('0x36c0')+'\x0a'+_0x477d('0x3ac4')+_0x477d('0x7006')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a14')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x382a')+_0x477d('0x36e5')+_0x477d('0x3699')+_0x477d('0x3a17')+'\x0a'+_0x477d('0x3a18')+'\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ac6')+'\x0a'+_0x477d('0x3a1b')+_0x477d('0x7007')+_0x477d('0x3a1d')+_0x477d('0x3a1e')+_0x477d('0x7008')+_0x477d('0x7009')+_0x477d('0x3a21')+_0x477d('0x3a22')+_0x477d('0x6c89')+_0x477d('0x6c8a')+_0x477d('0x700a')+_0x477d('0x700b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.DESCRIPTION\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a2c')+_0x477d('0x3a2d')+_0x477d('0x3a2e')+_0x477d('0x700c')+_0x477d('0x52fa')+_0x477d('0x3a30')+_0x477d('0x4864')+_0x477d('0x3a31')+_0x477d('0x3a32')+_0x477d('0x3a2c')+_0x477d('0x700d')+_0x477d('0x700e')+_0x477d('0x700f')+_0x477d('0x7010')+_0x477d('0x7011')+_0x477d('0x7012')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22name\x20\x22\x20>{{voicePrefix.name}}\x0a'+_0x477d('0x7012')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22VoiceExtensionId\x20\x22>{{\x20(vm.outboundRoutes\x20|\x20filter\x20:\x20{\x27id\x27:voicePrefix.VoiceExtensionId}\x20:\x20true)[0].exten\x20}}\x0a'+_0x477d('0x7013')+_0x477d('0x7014')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{voicePrefix.description}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3947')+'\x0a'+_0x477d('0x3a45')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a47')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3adc')+'\x0a'+_0x477d('0x7015')+_0x477d('0x7016')+_0x477d('0x7017')+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3dc6')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3caf')+'\x0a'+_0x477d('0x701a')+_0x477d('0x701b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20voicePrefix\x0a'+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3692')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3939')+'\x0a'+'\x0a'+_0x477d('0x3a2c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ae2')+_0x477d('0x3a57')+'\x0a'+_0x477d('0x701c')+_0x477d('0x3ae4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a59')+'\x0a'+_0x477d('0x3cb5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ae6')+'\x0a'+_0x477d('0x3699')+_0x477d('0x3a5a')+'\x0a'+_0x477d('0x701d')+_0x477d('0x701e')+_0x477d('0x701f')+_0x477d('0x3cb8')+_0x477d('0x3735')+_0x477d('0x7020')+_0x477d('0x3699'));_0x143a79[_0x477d('0x390')](_0x477d('0x265a'),'\x0a'+_0x477d('0x7021')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x39db')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x6ca1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20must\x20be\x20valid\x20pattern\x20\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Strategy\x0a'+_0x477d('0x7024')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x3de0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Ringall\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Least\x20Recent\x0a'+_0x477d('0x5af7')+_0x477d('0x3a46')+_0x477d('0x7026')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x7029')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6cc0')+_0x477d('0x702a')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6cc3')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3663')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x39e9')+'\x20\x20\x20\x20\x0a'+'\x0a');_0x143a79['put'](_0x477d('0x265c'),_0x477d('0x7031')+_0x477d('0x7032')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3dfa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Add\x20Agent\x20to\x20voiceQueue\x0a'+_0x477d('0x3d25')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5abc')+_0x477d('0x7033')+_0x477d('0x5aa5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x5abd')+_0x477d('0x36bf')+_0x477d('0x5abe')+_0x477d('0x5aa7')+_0x477d('0x36bf')+_0x477d('0x3ea6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Max\x20Penalty\x203\x20characters.\x0a'+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3dfb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3dfc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3dfe')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x477d('0x372b')+_0x477d('0x3669')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x7034'),_0x477d('0x7031')+_0x477d('0x7032')+_0x477d('0x3d23')+_0x477d('0x3dfa')+_0x477d('0x7035')+_0x477d('0x3d25')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3844')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3660')+_0x477d('0x3661')+_0x477d('0x5abc')+_0x477d('0x7033')+_0x477d('0x5aa5')+_0x477d('0x7036')+_0x477d('0x39d2')+_0x477d('0x5abd')+_0x477d('0x36bf')+_0x477d('0x5abe')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Min\x20Penalty\x200\x20characters.\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5aa8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3dfb')+_0x477d('0x3663')+_0x477d('0x3dfc')+_0x477d('0x3dfd')+_0x477d('0x4e97')+_0x477d('0x3b6a')+_0x477d('0x372b')+_0x477d('0x3669')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x30f'),_0x477d('0x7037')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3b62')+_0x477d('0x3b63')+_0x477d('0x7038')+_0x477d('0x7039')+_0x477d('0x703a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x372b')+'\x0a'+_0x477d('0x387b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x703b')+_0x477d('0x3670')+'\x0a'+_0x477d('0x38e8')+_0x477d('0x3b65')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#{{vm.voiceQueue.id}}\x0a'+_0x477d('0x703c')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.voiceQueue.createdAt\x20|\x20date:\x27medium\x27}}\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3ab5')+_0x477d('0x3e09')+_0x477d('0x703d')+_0x477d('0x4e9e')+_0x477d('0x3e0b')+_0x477d('0x703e')+_0x477d('0x3e0d')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ab5')+_0x477d('0x3e09')+_0x477d('0x703f')+_0x477d('0x4ea0')+_0x477d('0x4581')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e09')+_0x477d('0x7040')+_0x477d('0x3f77')+_0x477d('0x433c')+_0x477d('0x7041')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x38ad')+_0x477d('0x7042')+_0x477d('0x3e11')+_0x477d('0x3d05')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x39f8')+'\x0a'+_0x477d('0x3a18')+_0x477d('0x3b6b')+'\x0a'+_0x477d('0x3b6c')+_0x477d('0x3e12')+_0x477d('0x3f7a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SETTINGS\x0a'+_0x477d('0x3f7b')+_0x477d('0x3e14')+_0x477d('0x7043')+_0x477d('0x3f7d')+_0x477d('0x6e03')+_0x477d('0x385c')+_0x477d('0x3e17')+_0x477d('0x3e18')+_0x477d('0x6ca1')+_0x477d('0x7044')+_0x477d('0x39ca')+_0x477d('0x3dd8')+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x477d('0x3e19')+_0x477d('0x4ea1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6fe8')+_0x477d('0x3e1a')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20must\x20be\x20valid\x20pattern\x20\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x7045')+_0x477d('0x7024')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x7046')+_0x477d('0x3a46')+_0x477d('0x7047')+_0x477d('0x3e1f')+_0x477d('0x3a46')+_0x477d('0x5af1')+_0x477d('0x7025')+_0x477d('0x3a46')+_0x477d('0x5af6')+_0x477d('0x5af7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Fewest\x20Calls\x0a'+_0x477d('0x7048')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Random\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Linear\x0a'+_0x477d('0x5afb')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Weight\x20Random\x0a'+_0x477d('0x3aac')+_0x477d('0x3e20')+_0x477d('0x39d2')+_0x477d('0x7029')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3e73')+_0x477d('0x6d17')+_0x477d('0x7049')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3eee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x704a')+_0x477d('0x3e22')+_0x477d('0x39d2')+_0x477d('0x6d19')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3de9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a'+_0x477d('0x3deb')+_0x477d('0x3ee8')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x704b')+_0x477d('0x704c')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3eee')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x704d')+_0x477d('0x704e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MaxLength\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3de9')+_0x477d('0x704f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ee8')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x7050')+_0x477d('0x7051')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3eee')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x7052')+_0x477d('0x7053')+_0x477d('0x39d2')+_0x477d('0x7054')+_0x477d('0x36bf')+_0x477d('0x3de9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Retry\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ee8')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x7055')+_0x477d('0x7056')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3eee')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x7057')+_0x477d('0x7058')+_0x477d('0x39d2')+_0x477d('0x7059')+_0x477d('0x36bf')+_0x477d('0x3de9')+_0x477d('0x705a')+_0x477d('0x3deb')+_0x477d('0x3ee8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Weight\x0a'+_0x477d('0x705b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3eee')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x705c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Weight\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3de9')+_0x477d('0x705d')+_0x477d('0x3deb')+_0x477d('0x3ee8')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x705e')+_0x477d('0x705f')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x642c')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x7060')+_0x477d('0x3a46')+_0x477d('0x7061')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20paused\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ringing\x0a'+_0x477d('0x706a')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22vm.voiceQueue.joinempty.length\x20===\x201\x20&&\x20vm.voiceQueue.joinempty[0]\x20===\x20\x27unavailable\x27\x22\x20>unavailable\x0a'+_0x477d('0x706b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22vm.voiceQueue.joinempty.length\x20===\x201\x20&&\x20vm.voiceQueue.joinempty[0]\x20===\x20\x27invalid\x27\x22\x20>invalid\x0a'+_0x477d('0x706c')+_0x477d('0x3a46')+_0x477d('0x706d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20wrapup\x0a'+_0x477d('0x3aac')+_0x477d('0x706e')+_0x477d('0x706f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x7070')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x3e73')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20LeaveWhenEmpty\x0a'+_0x477d('0x7071')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x642c')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x3de0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20loose\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20invalid\x0a'+_0x477d('0x706c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x707b')+_0x477d('0x707c')+_0x477d('0x3a46')+_0x477d('0x707d')+_0x477d('0x3aac')+_0x477d('0x707e')+_0x477d('0x707f')+_0x477d('0x39d2')+_0x477d('0x7080')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MusicOnHold\x0a'+_0x477d('0x7081')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x5b0a')+_0x477d('0x5b0b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x7082')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MusicOnHold\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3e73')+_0x477d('0x7083')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AnnounceToAgent\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6cc0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d6')+_0x477d('0x3e25')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6cc3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e26')+_0x477d('0x3e27')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e12')+_0x477d('0x3f7a')+_0x477d('0x7089')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x708a')+_0x477d('0x3f7d')+_0x477d('0x708b')+_0x477d('0x385c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e18')+_0x477d('0x708c')+_0x477d('0x708d')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x220\x22\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x708e')+_0x477d('0x708f')+_0x477d('0x39d2')+_0x477d('0x7090')+_0x477d('0x36bf')+_0x477d('0x3de9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AnnounceFrequency\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ee8')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x7091')+_0x477d('0x7092')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3eee')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x7093')+_0x477d('0x39d2')+_0x477d('0x7094')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3de9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MinAnnounceFrequency\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ee8')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x7095')+_0x477d('0x7096')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x220\x22\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x7097')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3de9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PeriodicAnnounceFrequency\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ee8')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x7098')+_0x477d('0x7099')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x3de0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5b60')+_0x477d('0x3a46')+_0x477d('0x6f95')+_0x477d('0x3fc8')+_0x477d('0x5b69')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27VOICE.NO\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x709a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x709b')+_0x477d('0x36bf')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e73')+_0x477d('0x709c')+_0x477d('0x709d')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x3de0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x70a1')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3e73')+_0x477d('0x70a2')+_0x477d('0x70a3')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+_0x477d('0x3de0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Limit\x0a'+_0x477d('0x70a4')+_0x477d('0x3a46')+_0x477d('0x70a5')+_0x477d('0x3aac')+_0x477d('0x70a6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x70a7')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AnnouncePositionLimit\x0a'+_0x477d('0x70a8')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x70a9')+_0x477d('0x70aa')+_0x477d('0x39d2')+_0x477d('0x70ab')+_0x477d('0x36bf')+_0x477d('0x3f85')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x70ac')+_0x477d('0x70ad')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x3f5c')+_0x477d('0x5b60')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27VOICE.YES\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3fc8')+_0x477d('0x5b69')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20{{\x20\x27VOICE.NO\x27\x20|\x20translate\x20}}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x70ae')+_0x477d('0x70af')+_0x477d('0x39d2')+_0x477d('0x70b0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x3eb4')+_0x477d('0x3e26')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x70b1')+_0x477d('0x3f7d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ANNOUNCEMENTS\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x70b2')+_0x477d('0x3e18')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PeriodicAnnounce\x0a'+_0x477d('0x70b3')+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x642c')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x70b4')+_0x477d('0x70b5')+_0x477d('0x70b6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x70b7')+_0x477d('0x70b8')+_0x477d('0x39d2')+_0x477d('0x70b9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e73')+_0x477d('0x70ba')+_0x477d('0x70bb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x3de0')+_0x477d('0x70bc')+_0x477d('0x70bd')+_0x477d('0x70be')+_0x477d('0x70bf')+_0x477d('0x3aac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x70c0')+_0x477d('0x39d2')+_0x477d('0x70c1')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x70c2')+_0x477d('0x70c3')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x3de0')+_0x477d('0x70bc')+_0x477d('0x70bd')+_0x477d('0x70c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22queue_youarenext.canSelect\x20===\x20false\x22>{{\x20queue_youarenext.name\x20}}\x0a'+_0x477d('0x3aac')+_0x477d('0x70c5')+_0x477d('0x70c6')+_0x477d('0x39d2')+_0x477d('0x70c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3e73')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ThereareAnnounce\x0a'+_0x477d('0x70c8')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x3de0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Disabled\x0a'+_0x477d('0x70c9')+_0x477d('0x70ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x70cb')+_0x477d('0x70cc')+_0x477d('0x39d2')+_0x477d('0x70cd')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x70ce')+_0x477d('0x70cf')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x70bc')+_0x477d('0x70bd')+_0x477d('0x70d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22queue_callswaiting.canSelect\x20===\x20false\x22>{{\x20queue_callswaiting.name\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x70d1')+_0x477d('0x39d2')+_0x477d('0x70d2')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x3e73')+_0x477d('0x70d3')+_0x477d('0x70d4')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+_0x477d('0x3de0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Disabled\x0a'+_0x477d('0x70d5')+_0x477d('0x70d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x70d7')+_0x477d('0x70d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x70d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x70da')+_0x477d('0x70db')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x3de0')+_0x477d('0x70bc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Disabled\x0a'+_0x477d('0x70dc')+_0x477d('0x70dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x70de')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MinutesAnnounce\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MinuteAnnounce\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x70bc')+_0x477d('0x70bd')+_0x477d('0x70df')+_0x477d('0x70e0')+_0x477d('0x3aac')+_0x477d('0x70e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x70e2')+_0x477d('0x36bf')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e73')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SecondsAnnounce\x0a'+_0x477d('0x70e3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x3de0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default\x0a'+_0x477d('0x70bd')+_0x477d('0x70e4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22queue_seconds.canSelect\x20===\x20false\x22>{{\x20queue_seconds.name\x20}}\x0a'+_0x477d('0x3aac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x70e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x70e6')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3e73')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ThankYouAnnounce\x0a'+_0x477d('0x70e7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x3de0')+_0x477d('0x70bc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Disabled\x0a'+_0x477d('0x70e8')+_0x477d('0x70e9')+_0x477d('0x3aac')+_0x477d('0x70ea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ThankYouAnnounce\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e26')+_0x477d('0x3e27')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e29')+_0x477d('0x3e12')+_0x477d('0x3f7a')+_0x477d('0x6f91')+_0x477d('0x3f7b')+_0x477d('0x3e14')+_0x477d('0x70eb')+_0x477d('0x3f7d')+_0x477d('0x70ec')+_0x477d('0x385c')+_0x477d('0x5b52')+_0x477d('0x3e18')+_0x477d('0x70ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x70ee')+_0x477d('0x3867')+_0x477d('0x70ef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AfterCallWorkDuration\x0a'+_0x477d('0x70f0')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x220\x22\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x70f1')+_0x477d('0x70f2')+_0x477d('0x39d2')+_0x477d('0x70f3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AfterCallWorkDuration\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ee8')+_0x477d('0x36a1')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AutoPause\x0a'+_0x477d('0x70f4')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x3de0')+_0x477d('0x3f5c')+_0x477d('0x70f5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6f95')+_0x477d('0x3fc8')+_0x477d('0x5b69')+_0x477d('0x3a46')+_0x477d('0x6f78')+_0x477d('0x3aac')+_0x477d('0x70f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x70f7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RingInUse\x0a'+_0x477d('0x70f8')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+_0x477d('0x3de0')+_0x477d('0x3f5c')+_0x477d('0x5b60')+_0x477d('0x3a46')+_0x477d('0x6f95')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RingInUse\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3e73')+_0x477d('0x70fa')+_0x477d('0x70fb')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3eee')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5b65')+_0x477d('0x39d2')+_0x477d('0x70fc')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x70fd')+_0x477d('0x3deb')+_0x477d('0x3ee8')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x70fe')+_0x477d('0x70ff')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+_0x477d('0x3de0')+_0x477d('0x3f5c')+_0x477d('0x5b60')+_0x477d('0x3a46')+_0x477d('0x6f95')+_0x477d('0x3fc8')+_0x477d('0x5b69')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6f78')+_0x477d('0x3aac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x7100')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x3e73')+_0x477d('0x7101')+_0x477d('0x7102')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x3e73')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Context\x0a'+_0x477d('0x7105')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x7106')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x6cfa')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SetInterfaceVariables\x0a'+_0x477d('0x7107')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x3f5c')+_0x477d('0x5b60')+_0x477d('0x3a46')+_0x477d('0x6f95')+_0x477d('0x3fc8')+_0x477d('0x5b69')+_0x477d('0x3a46')+_0x477d('0x6f78')+_0x477d('0x3aac')+_0x477d('0x7108')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x7109')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x710a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x710b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x710c')+_0x477d('0x36bf')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e73')+_0x477d('0x710d')+_0x477d('0x710e')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x3de0')+_0x477d('0x3f5c')+_0x477d('0x5b60')+_0x477d('0x3a46')+_0x477d('0x6f95')+_0x477d('0x3fc8')+_0x477d('0x5b69')+_0x477d('0x3a46')+_0x477d('0x6f78')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x710f')+_0x477d('0x5b87')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SetQueueEntryVariables\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3e73')+_0x477d('0x7110')+_0x477d('0x7111')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x220\x22\x20\x20\x20\x0a'+_0x477d('0x3fd9')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x7112')+_0x477d('0x7113')+_0x477d('0x39d2')+_0x477d('0x7114')+_0x477d('0x36bf')+_0x477d('0x3de9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ServiceLevel\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a'+_0x477d('0x3deb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x7115')+_0x477d('0x3deb')+_0x477d('0x3e24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x7116')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3867')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x7117')+_0x477d('0x7118')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x4dfc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22mandatoryDispositionPauseId.canSelect\x20===\x20false\x22>{{\x20mandatoryDispositionPauseId.name\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5b8e')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MandatoryDispositionPauseId\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3eb4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e27')+_0x477d('0x3e28')+_0x477d('0x3e29')+_0x477d('0x3e2a')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3a5a')+'\x0a'+'\x0a');_0x143a79[_0x477d('0x390')](_0x477d('0x30c'),'\x0a'+'\x0a'+_0x477d('0x39eb')+_0x477d('0x3bef')+'\x0a'+_0x477d('0x3abc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20VoiceQueues\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39ef')+'\x0a'+_0x477d('0x39f0')+_0x477d('0x39f1')+_0x477d('0x39f2')+_0x477d('0x39f3')+_0x477d('0x39f4')+_0x477d('0x39f5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6e10')+_0x477d('0x39a2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39f7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3699')+_0x477d('0x39f8')+'\x0a'+_0x477d('0x39f9')+_0x477d('0x7119')+_0x477d('0x39fa')+'\x0a'+_0x477d('0x711a')+_0x477d('0x39fc')+_0x477d('0x39fd')+_0x477d('0x6ccf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39ff')+'\x0a'+_0x477d('0x3a00')+_0x477d('0x711b')+_0x477d('0x711c')+_0x477d('0x6c80')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3daf')+_0x477d('0x3a04')+_0x477d('0x3a05')+_0x477d('0x3a06')+_0x477d('0x6c81')+_0x477d('0x3a08')+_0x477d('0x3674')+_0x477d('0x3a09')+_0x477d('0x3a0a')+_0x477d('0x711d')+_0x477d('0x3a0c')+_0x477d('0x3832')+_0x477d('0x3a0f')+_0x477d('0x3a0a')+_0x477d('0x711e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Select\x20none\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a0f')+_0x477d('0x3a10')+_0x477d('0x3a11')+_0x477d('0x36c0')+'\x0a'+_0x477d('0x3ac4')+_0x477d('0x711f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a14')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x382a')+_0x477d('0x36e5')+_0x477d('0x3699')+_0x477d('0x3a17')+'\x0a'+_0x477d('0x3a18')+_0x477d('0x3a19')+'\x0a'+_0x477d('0x3a1a')+_0x477d('0x3ac6')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x7120')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a21')+_0x477d('0x3a22')+_0x477d('0x6c89')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.NAME\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x7121')+_0x477d('0x6e1c')+_0x477d('0x3acb')+_0x477d('0x3a2c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a2e')+_0x477d('0x7122')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4864')+_0x477d('0x3a31')+_0x477d('0x3a32')+_0x477d('0x3a2c')+_0x477d('0x7123')+_0x477d('0x7124')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x7125')+_0x477d('0x7126')+_0x477d('0x7127')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22name\x20\x22\x20>{{voiceQueue.name}}\x0a'+_0x477d('0x7128')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22strategy\x20\x22>{{\x20vm.arraystrategy[voiceQueue.strategy].option\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a44')+_0x477d('0x3947')+'\x0a'+_0x477d('0x3a45')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a47')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3adc')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3dc6')+'\x0a'+_0x477d('0x712c')+_0x477d('0x712d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20teamadd\x20VoiceQueue\x0a'+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x712e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22VOICE.AGENTADD_VOICEQUEUE\x22>\x0a'+_0x477d('0x712f')+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3caf')+'\x0a'+_0x477d('0x7130')+_0x477d('0x7131')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20VoiceQueue\x0a'+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3a47')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3dc6')+'\x0a'+_0x477d('0x7132')+_0x477d('0x7133')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20goToRealtime\x20VoiceQueue\x0a'+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3693')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ae2')+_0x477d('0x3a57')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ae4')+_0x477d('0x7134')+_0x477d('0x3a59')+'\x0a'+_0x477d('0x3cb5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ae6')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3a5a')+'\x0a'+_0x477d('0x7135')+'\x20\x20\x20\x20\x0a');_0x143a79[_0x477d('0x390')](_0x477d('0x7138'),_0x477d('0x7139')+_0x477d('0x713a')+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x713b')+_0x477d('0x713c')+_0x477d('0x713d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6c22')+_0x477d('0x6c23')+_0x477d('0x713e')+_0x477d('0x36a0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x713f')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x3eb4')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39dc')+_0x477d('0x387b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x346'),_0x477d('0x7144')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3b62')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x7146')+_0x477d('0x3670')+'\x0a'+_0x477d('0x38e8')+_0x477d('0x3b65')+_0x477d('0x7147')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.voiceRecording.name}}\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x7148')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e11')+_0x477d('0x3d05')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3699')+_0x477d('0x39f8')+'\x0a'+_0x477d('0x3a18')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3b6c')+_0x477d('0x3e12')+_0x477d('0x3f7a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GENERAL\x0a'+_0x477d('0x3f7b')+_0x477d('0x3e14')+_0x477d('0x7149')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x714a')+_0x477d('0x385c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x0a'+_0x477d('0x714b')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ce')+_0x477d('0x3e19')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20disabled\x20\x0a'+_0x477d('0x3dda')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x714c')+_0x477d('0x39d2')+_0x477d('0x714d')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x714e')+_0x477d('0x714f')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x3e19')+_0x477d('0x4ea1')+_0x477d('0x3dda')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x7150')+_0x477d('0x39d2')+_0x477d('0x7151')+_0x477d('0x36bf')+_0x477d('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x7152')+_0x477d('0x7153')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x3e19')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20disabled\x20\x0a'+_0x477d('0x3dda')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x7154')+_0x477d('0x39d2')+_0x477d('0x7155')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d9')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x7156')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Called\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Connected\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6d55')+_0x477d('0x36bf')+_0x477d('0x39d9')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x715b')+_0x477d('0x715c')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3e19')+_0x477d('0x4ea1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x715d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x715e')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x713b')+_0x477d('0x715f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27VOICE.NO_RATING\x27\x20|\x20translate}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6c21')+_0x477d('0x6c22')+_0x477d('0x6c23')+_0x477d('0x713e')+_0x477d('0x36a0')+_0x477d('0x7160')+_0x477d('0x39d2')+_0x477d('0x713f')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x3e73')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Disposition\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Disposition\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ab5')+_0x477d('0x3e26')+_0x477d('0x3e27')+_0x477d('0x3e28')+_0x477d('0x3e29')+_0x477d('0x7161')+_0x477d('0x3f7a')+_0x477d('0x7162')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e14')+_0x477d('0x7163')+_0x477d('0x3f7d')+_0x477d('0x7164')+_0x477d('0x385c')+_0x477d('0x7165')+_0x477d('0x7166')+_0x477d('0x7167')+_0x477d('0x7168')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x7169')+_0x477d('0x716a')+_0x477d('0x716b')+_0x477d('0x6984')+_0x477d('0x3eb4')+_0x477d('0x3e26')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x716c')+_0x477d('0x716d')+_0x477d('0x716e')+_0x477d('0x3928')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x716f')+_0x477d('0x3bec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x392e')+'\x0a'+_0x477d('0x4cb0')+_0x477d('0x4c65')+'\x0a'+_0x477d('0x4c66')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c67')+_0x477d('0x7170')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x7171')+_0x477d('0x7172')+_0x477d('0x36bf')+_0x477d('0x7173')+_0x477d('0x7174')+_0x477d('0x36bf')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c7e')+_0x477d('0x4c75')+_0x477d('0x4c99')+'\x0a'+_0x477d('0x4c9f')+_0x477d('0x7175')+_0x477d('0x4c67')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x7176')+_0x477d('0x7177')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{\x20(vm_ss.voiceRecording.sPositive\x20||\x200)\x20*\x20100\x20|\x20number:\x202\x20\x20}}%)\x0a'+_0x477d('0x36bf')+_0x477d('0x7173')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.SENTIMENT_POSITIVE\x27\x20|\x20translate\x20|\x20uppercase\x20}}\x0a'+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x4c6f')+_0x477d('0x4c7e')+_0x477d('0x4c75')+_0x477d('0x4ca4')+'\x0a'+_0x477d('0x4c76')+_0x477d('0x7175')+_0x477d('0x4c67')+_0x477d('0x7170')+_0x477d('0x7176')+_0x477d('0x7177')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{\x20(vm_ss.voiceRecording.sNegative\x20||\x200)\x20*\x20100\x20|\x20number:\x202\x20\x20}}%)\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x7173')+_0x477d('0x7178')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x4c6f')+_0x477d('0x4c7e')+_0x477d('0x4c75')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4c8d')+_0x477d('0x7175')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x7176')+_0x477d('0x7177')+_0x477d('0x7179')+_0x477d('0x36bf')+_0x477d('0x7173')+_0x477d('0x717a')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c6f')+_0x477d('0x4c7e')+_0x477d('0x4c75')+_0x477d('0x4c92')+'\x0a'+_0x477d('0x717b')+_0x477d('0x7175')+_0x477d('0x4c67')+_0x477d('0x7170')+_0x477d('0x7176')+_0x477d('0x7177')+_0x477d('0x717c')+_0x477d('0x36bf')+_0x477d('0x7173')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.SENTIMENT_MIXED\x27\x20|\x20translate\x20|\x20uppercase\x20}}\x0a'+_0x477d('0x36bf')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4c7e')+_0x477d('0x4c75')+_0x477d('0x717d')+'\x0a'+_0x477d('0x3699')+_0x477d('0x4c93')+_0x477d('0x377d')+_0x477d('0x3e27')+_0x477d('0x3e28')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e2a')+'\x0a'+_0x477d('0x3699')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x377d'));_0x143a79['put'](_0x477d('0x340'),_0x477d('0x717e')+'\x0a'+_0x477d('0x39eb')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3abc')+_0x477d('0x37cd')+_0x477d('0x39ec')+_0x477d('0x39ed')+_0x477d('0x6c7b')+_0x477d('0x3760')+_0x477d('0x717f')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39ef')+'\x0a'+_0x477d('0x39f0')+_0x477d('0x39f1')+_0x477d('0x39f2')+_0x477d('0x39f3')+_0x477d('0x39f4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3abf')+_0x477d('0x6e10')+_0x477d('0x39a2')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x7180')+_0x477d('0x36bf')+_0x477d('0x3699')+_0x477d('0x39f8')+'\x0a'+_0x477d('0x39f9')+_0x477d('0x7181')+_0x477d('0x39fa')+'\x0a'+_0x477d('0x7182')+_0x477d('0x39fc')+_0x477d('0x39fd')+_0x477d('0x6ccf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+'\x0a'+_0x477d('0x39ff')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x7183')+_0x477d('0x7184')+_0x477d('0x6c80')+_0x477d('0x3760')+'\x0a'+_0x477d('0x3daf')+_0x477d('0x3a04')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22$mdOpenMenu($event)\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22multi\x20select\x20toggle\x22\x0a'+_0x477d('0x6c81')+_0x477d('0x3a08')+_0x477d('0x3674')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x7185')+_0x477d('0x3a0c')+_0x477d('0x3832')+_0x477d('0x3a0f')+_0x477d('0x3a0a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a0e')+_0x477d('0x3832')+_0x477d('0x3a0f')+_0x477d('0x3a10')+_0x477d('0x3a11')+_0x477d('0x36c0')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a13')+_0x477d('0x3a14')+_0x477d('0x7186')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22transcribesentiment\x20selected\x22\x20translate\x20translate-attr-label=\x22VOICERECORDINGS.TRANSCRIBESENTIMENT_SELECTED\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27VOICE.RUNTRANSCRIBESENTIMENT_VOICERECORDING\x27\x20|\x20translate}}\x0a'+_0x477d('0x3674')+_0x477d('0x7187')+_0x477d('0x7188')+_0x477d('0x7189')+_0x477d('0x3947')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x718a')+_0x477d('0x3832')+_0x477d('0x718b')+_0x477d('0x6cd5')+_0x477d('0x3a16')+_0x477d('0x387e')+_0x477d('0x382a')+'\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x3699')+_0x477d('0x3a17')+'\x0a'+_0x477d('0x3a18')+_0x477d('0x3a19')+'\x0a'+_0x477d('0x3a1a')+_0x477d('0x3ac6')+'\x0a'+_0x477d('0x3a1b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a1e')+_0x477d('0x718c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a21')+_0x477d('0x3a22')+_0x477d('0x718d')+_0x477d('0x718e')+_0x477d('0x718f')+_0x477d('0x7190')+_0x477d('0x7191')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.QUEUE\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x7192')+_0x477d('0x7193')+_0x477d('0x7194')+_0x477d('0x7195')+_0x477d('0x7196')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.TRANSCRIBE\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.SENTIMENTANALYSIS\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x3acb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a2d')+_0x477d('0x3a2e')+_0x477d('0x7197')+_0x477d('0x7198')+_0x477d('0x3a30')+_0x477d('0x4864')+_0x477d('0x3a31')+_0x477d('0x3a32')+_0x477d('0x3a2c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x7199')+_0x477d('0x719a')+_0x477d('0x719b')+_0x477d('0x719c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{voiceRecording.exten}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{voiceRecording.connectedlinenum}}\x0a'+_0x477d('0x719f')+_0x477d('0x71a0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27VOICE.CANT_PLAY_GSM_AUDIO_FILES\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x3d99')+_0x477d('0x3d9a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3947')+'\x0a'+_0x477d('0x3a45')+'\x0a'+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3adc')+'\x0a'+_0x477d('0x71aa')+_0x477d('0x71ab')+_0x477d('0x71ac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3a47')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x71ad')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x71ae')+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x71b1')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x71b4')+'\x0a'+_0x477d('0x71b5')+_0x477d('0x71b6')+_0x477d('0x71b7')+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a47')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3dc6')+'\x0a'+_0x477d('0x71b8')+_0x477d('0x71b9')+_0x477d('0x71ba')+_0x477d('0x3a52')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a47')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3caf')+'\x0a'+_0x477d('0x71bb')+_0x477d('0x71bc')+_0x477d('0x71bd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4c')+_0x477d('0x3692')+'\x0a'+_0x477d('0x3693')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x0a'+_0x477d('0x3a2c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ae4')+_0x477d('0x71be')+_0x477d('0x3a59')+'\x0a'+_0x477d('0x3cb5')+_0x477d('0x36e5')+_0x477d('0x3ae6')+'\x0a'+_0x477d('0x3699')+_0x477d('0x3a5a')+'\x0a'+_0x477d('0x3da6')+_0x477d('0x3699'));_0x143a79[_0x477d('0x390')]('app/main/apps/whatsapp/views/realtime/agents/view.html',_0x477d('0x42b7')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x71bf')+_0x477d('0x3b2c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4229')+_0x477d('0x422a')+_0x477d('0x422b')+_0x477d('0x422c')+_0x477d('0x422d')+_0x477d('0x422e')+_0x477d('0x5769')+_0x477d('0x4edf')+_0x477d('0x3888')+_0x477d('0x3699')+'\x0a'+'\x0a'+_0x477d('0x4ec5')+'\x0a'+_0x477d('0x4231')+_0x477d('0x4232')+_0x477d('0x4233')+_0x477d('0x71c5')+_0x477d('0x4235')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27CHAT.CHAT\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x4237')+_0x477d('0x4238')+_0x477d('0x4239')+_0x477d('0x423a')+_0x477d('0x423b')+_0x477d('0x423c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.WHATSAPP\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x419a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x71c6')+_0x477d('0x4240')+_0x477d('0x71c7')+_0x477d('0x4241')+_0x477d('0x71c8')+_0x477d('0x4243')+_0x477d('0x71c9')+'\x0a'+_0x477d('0x4245')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Info\x0a'+'\x0a'+_0x477d('0x4247')+_0x477d('0x4248')+_0x477d('0x4249')+_0x477d('0x424a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x419e')+'\x0a'+_0x477d('0x424b')+_0x477d('0x424c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x424d')+_0x477d('0x36bb')+_0x477d('0x419e')+'\x0a'+_0x477d('0x424e')+_0x477d('0x424f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27SMS.CAPACITY\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x36bb')+_0x477d('0x419e')+'\x0a'+_0x477d('0x4250')+_0x477d('0x4251')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4252')+_0x477d('0x36bb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4253')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4249')+_0x477d('0x4ee4')+_0x477d('0x36bb')+_0x477d('0x419e')+'\x0a'+_0x477d('0x4255')+_0x477d('0x576f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.CAPACITY\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x36bb')+_0x477d('0x419e')+_0x477d('0x41a3')+_0x477d('0x41a4')+_0x477d('0x4256')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4258')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.NO_AGENT_ONLINE\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41a3')+_0x477d('0x4ee8')+_0x477d('0x425a')+_0x477d('0x5c69')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.agents[value].fullname}}\x0a'+_0x477d('0x425e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36bf')+_0x477d('0x413c')+_0x477d('0x425a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3684')+_0x477d('0x4262')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22icon-camcorder-box26\x22>\x0a'+_0x477d('0x4264')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.TOOLTIP_SCREENRECORDING_ON\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4266')+_0x477d('0x368a')+_0x477d('0x36a9')+_0x477d('0x4eeb')+_0x477d('0x3684')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a9')+_0x477d('0x36bf')+_0x477d('0x413c')+'\x0a'+'\x0a'+'\x0a'+_0x477d('0x4269')+_0x477d('0x426a')+_0x477d('0x4eed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.isPause(vm.agents[value].globalStatus)\x20?\x20(vm.isPartialPause(vm.agents[value].globalStatus)\x20?\x20\x27*\x27+vm.agents[value].pauseType\x20||\x20\x27DEFAULT\x20PAUSE\x27\x20\x20:\x20vm.agents[value].pauseType\x20||\x20\x27DEFAULT\x20PAUSE\x27)\x20:\x20\x27\x27}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x426c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hhours}}:{{mminutes}}:{{sseconds}}\x0a'+_0x477d('0x413c')+_0x477d('0x426b')+_0x477d('0x426e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22vm.isPause(vm.agents[value].globalStatus)\x20||\x20vm.isPartialPause(vm.agents[value].globalStatus)\x22\x0a'+_0x477d('0x426f')+_0x477d('0x426d')+_0x477d('0x413c')+_0x477d('0x4270')+_0x477d('0x4271')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4270')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.agents[value].destconnectedlinenum\x20}}\x0a'+_0x477d('0x4277')+_0x477d('0x4278')+_0x477d('0x4279')+_0x477d('0x427a')+_0x477d('0x427b')+_0x477d('0x36bf')+_0x477d('0x413c')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4271')+_0x477d('0x41ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.agents[value].chatStatus\x20|\x20uppercase\x20}}\x0a'+_0x477d('0x36a9')+_0x477d('0x36bf')+_0x477d('0x413c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x427d')+_0x477d('0x5c6c')+_0x477d('0x36a9')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41ee')+_0x477d('0x427d')+_0x477d('0x4ef3')+_0x477d('0x36a9')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4285')+_0x477d('0x4ef4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.agents[value].smsCurrentCapacity\x20}}\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4ef5')+'\x0a'+_0x477d('0x428b')+_0x477d('0x4271')+_0x477d('0x41ee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36bf')+_0x477d('0x413c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4290')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27idle\x27:\x27lime-300-fg\x27,\x27maxcapacity\x27:\x27red-A200-fg\x27,\x27working\x27:\x27indigo-100-fg\x27,\x27pause\x27:\x27amber-200-fg\x27}[vm.agents[value].whatsappStatus]\x22>\x0a'+_0x477d('0x4292')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3d9e')+_0x477d('0x4294')+_0x477d('0x3a44')+_0x477d('0x3947')+'\x0a'+_0x477d('0x4295')+_0x477d('0x4296')+_0x477d('0x4297')+_0x477d('0x71ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Logout\x0a'+_0x477d('0x3a52')+_0x477d('0x3a4b')+_0x477d('0x4296')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x429c')+_0x477d('0x5777')+_0x477d('0x3c28')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x429f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x42a1')+_0x477d('0x71cd')+_0x477d('0x42a2')+_0x477d('0x3c30')+_0x477d('0x42a3')+_0x477d('0x42a4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22WHATSAPP.STOP_SCREENRECORDING\x22>Stop\x0a'+_0x477d('0x42a2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x42a5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x4296')+_0x477d('0x3c28')+_0x477d('0x429d')+_0x477d('0x71ce')+_0x477d('0x429f')+_0x477d('0x3c31')+_0x477d('0x42aa')+_0x477d('0x4efd')+_0x477d('0x4efe')+_0x477d('0x71cf')+_0x477d('0x42a8')+_0x477d('0x3c30')+_0x477d('0x42a9')+_0x477d('0x42aa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22vm.agents[value].voicePause\x20&&\x20pause.name\x20===\x20vm.agents[value].pauseType\x22\x0a'+_0x477d('0x42ac')+_0x477d('0x3c34')+_0x477d('0x3c30')+_0x477d('0x42a5')+_0x477d('0x3c45')+_0x477d('0x3a4b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x42ae')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22WHATSAPP.UNPAUSE\x22>\x0a'+_0x477d('0x4f01')+_0x477d('0x3a52')+_0x477d('0x3a4b')+_0x477d('0x41b9')+_0x477d('0x42b0')+_0x477d('0x413c')+_0x477d('0x41a3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x42d1')+_0x477d('0x41be')+'\x0a'+'\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x71d1')+_0x477d('0x3b2c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3699')+'\x0a'+'\x0a'+_0x477d('0x42ba')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.NAME\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x71d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.PAUSED\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x71d3')+_0x477d('0x71d4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41a3')+_0x477d('0x41a4')+_0x477d('0x4256')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x417e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x71d5')+_0x477d('0x36bf')+_0x477d('0x413c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x42c4')+_0x477d('0x42c5')+_0x477d('0x41a7')+_0x477d('0x42c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x42c7')+_0x477d('0x413c')+_0x477d('0x41a7')+_0x477d('0x42c8')+_0x477d('0x413c')+_0x477d('0x41a7')+_0x477d('0x42c9')+_0x477d('0x413c')+_0x477d('0x4f04')+_0x477d('0x3a43')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4296')+_0x477d('0x71d6')+_0x477d('0x42cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x71d7')+_0x477d('0x42d0')+_0x477d('0x3a52')+_0x477d('0x3a4b')+_0x477d('0x41b9')+_0x477d('0x42b0')+_0x477d('0x413c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x42d1')+_0x477d('0x41be')+'\x0a'+_0x477d('0x71d8')+_0x477d('0x42d3')+_0x477d('0x41c1'));_0x143a79[_0x477d('0x390')]('app/main/apps/whatsapp/views/realtime/realtime.html','\x0a'+_0x477d('0x3a18')+_0x477d('0x3b6b')+_0x477d('0x3b6c')+_0x477d('0x42d5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x71d9')+_0x477d('0x42d8')+_0x477d('0x384c')+_0x477d('0x42d9')+_0x477d('0x42d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Queues\x0a'+_0x477d('0x42d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x42db')+'\x0a'+_0x477d('0x42dc')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a');_0x143a79[_0x477d('0x390')](_0x477d('0x277f'),_0x477d('0x71da')+'\x20\x20\x20\x20\x0a'+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39da')+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x71db')+_0x477d('0x71dc')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x477d('0x71dd')+_0x477d('0x3dda')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x71de')+_0x477d('0x71df')+_0x477d('0x39d2')+_0x477d('0x71e0')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20key\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x0a'+_0x477d('0x71e4')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x3de0')+_0x477d('0x3e6e')+_0x477d('0x3e6f')+_0x477d('0x3aac')+_0x477d('0x71e5')+_0x477d('0x71e6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x71e7')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MotionProxy\x0a'+_0x477d('0x71e8')+_0x477d('0x3e64')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x71e9')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MotionProxy\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x71ea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e68')+_0x477d('0x71eb')+_0x477d('0x36bf')+_0x477d('0x39d9')+_0x477d('0x36a1')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Type\x0a'+_0x477d('0x71ec')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cf')+_0x477d('0x3de0')+_0x477d('0x619f')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Twilio\x0a'+_0x477d('0x3aac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x71ed')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x71ee')+_0x477d('0x71ef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AccountSID\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x71f0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AuthToken\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20phone\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x71f3')+_0x477d('0x71f4')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x71f5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x71f6')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ab5')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39dc')+_0x477d('0x387b')+_0x477d('0x71f7')+_0x477d('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22whatsappAccountForm.$invalid\x20||\x20whatsappAccountForm.$pristine\x22\x0a'+_0x477d('0x71f8')+_0x477d('0x39e0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x39e9')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x2749'),'\x0a'+_0x477d('0x71fc')+_0x477d('0x3d23')+_0x477d('0x3dfa')+_0x477d('0x71fd')+_0x477d('0x3d25')+_0x477d('0x3843')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+_0x477d('0x3661')+_0x477d('0x3dfb')+_0x477d('0x3663')+_0x477d('0x3dfc')+_0x477d('0x3dfd')+_0x477d('0x3dfe')+_0x477d('0x3b6a')+_0x477d('0x372b')+_0x477d('0x3669')+_0x477d('0x366a')+'\x0a');_0x143a79[_0x477d('0x390')](_0x477d('0x71fe'),_0x477d('0x71da')+_0x477d('0x71ff')+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39c7')+_0x477d('0x7200')+_0x477d('0x4d52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ce')+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x3e86')+_0x477d('0x3e87')+_0x477d('0x3aac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x7201')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x7202')+_0x477d('0x3e8b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3eee')+_0x477d('0x3de6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x7203')+_0x477d('0x39d2')+_0x477d('0x7204')+_0x477d('0x36bf')+_0x477d('0x3de9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x200\x0a'+_0x477d('0x3deb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x7205')+_0x477d('0x3deb')+_0x477d('0x3e24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ab5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+_0x477d('0x3b1a')+_0x477d('0x3b1b')+_0x477d('0x7206')+_0x477d('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22whatsappAccountFormApp.$invalid\x20||\x20whatsappAccountFormApp.$pristine\x22\x0a'+_0x477d('0x71f8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x477d('0x39e1')+_0x477d('0x36c0')+_0x477d('0x3669')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x7207'),_0x477d('0x71da')+_0x477d('0x71ff')+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+_0x477d('0x39c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x7208')+_0x477d('0x3e92')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x7209')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20secretaccesskey\x0a'+_0x477d('0x3e94')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x720a')+_0x477d('0x39d2')+_0x477d('0x720b')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x720c')+_0x477d('0x3e98')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x3de0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20US\x20West\x20(Oregon)\x0a'+_0x477d('0x3e9c')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>EU\x20(Ireland)\x0a'+_0x477d('0x3e9e')+_0x477d('0x3a46')+_0x477d('0x3e9f')+_0x477d('0x3aac')+_0x477d('0x720d')+_0x477d('0x39d2')+_0x477d('0x720e')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3e73')+_0x477d('0x720f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x7211')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20welcomemessage\x0a'+_0x477d('0x3ea2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ea4')+_0x477d('0x7212')+_0x477d('0x39ca')+_0x477d('0x39d2')+_0x477d('0x7213')+_0x477d('0x36bf')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3ea6')+_0x477d('0x7214')+_0x477d('0x36bf')+_0x477d('0x39ca')+_0x477d('0x3670')+_0x477d('0x3867')+_0x477d('0x3eb4')+_0x477d('0x39c3')+_0x477d('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b1b')+_0x477d('0x7206')+_0x477d('0x39de')+_0x477d('0x7215')+_0x477d('0x71f8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x477d('0x39e1')+_0x477d('0x36c0')+_0x477d('0x3669')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x7216'),'\x0a'+_0x477d('0x71ff')+_0x477d('0x381e')+_0x477d('0x365d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x7217')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20One\x20Time\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x7218')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x3e73')+_0x477d('0x7219')+_0x477d('0x3eb2')+_0x477d('0x3ea4')+_0x477d('0x721a')+_0x477d('0x39ca')+_0x477d('0x39d2')+_0x477d('0x721b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3670')+_0x477d('0x3867')+_0x477d('0x3eb4')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+_0x477d('0x3b1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x7206')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22whatsappAccountFormApp.$invalid\x20||\x20whatsappAccountFormApp.$pristine\x22\x0a'+_0x477d('0x71f8')+_0x477d('0x39e0')+_0x477d('0x39e1')+_0x477d('0x36c0')+_0x477d('0x3669')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')]('app/main/apps/whatsapp/views/whatsappAccounts/edit/apps/close/dialog.html',_0x477d('0x71da')+_0x477d('0x71ff')+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+_0x477d('0x39c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x721c')+_0x477d('0x3eb7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x721d')+_0x477d('0x39d2')+_0x477d('0x721e')+_0x477d('0x36bf')+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ab5')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c6')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3b1a')+_0x477d('0x3b1b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39c7')+_0x477d('0x7220')+_0x477d('0x5d4b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x7221')+_0x477d('0x39d2')+_0x477d('0x7222')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x7223')+_0x477d('0x3ebd')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x3de0')+_0x477d('0x5d4e')+_0x477d('0x3a46')+_0x477d('0x6207')+_0x477d('0x3ebe')+_0x477d('0x3a46')+_0x477d('0x3ebf')+_0x477d('0x3ec0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6208')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Italian\x0a'+_0x477d('0x3ec2')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Spanish\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Indonesian\x0a'+_0x477d('0x5d50')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Japanese\x0a'+_0x477d('0x3ec8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ec9')+_0x477d('0x3eca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Dutch\x0a'+_0x477d('0x3ecc')+_0x477d('0x3a46')+_0x477d('0x3ecd')+_0x477d('0x3ece')+_0x477d('0x3a46')+_0x477d('0x3ecf')+_0x477d('0x6209')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>Portuguese\x20(Nrazilian)\x0a'+_0x477d('0x5d51')+_0x477d('0x3a46')+_0x477d('0x3ed1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Ukrainian\x0a'+_0x477d('0x3ed7')+_0x477d('0x3a46')+_0x477d('0x3ed8')+_0x477d('0x3ed9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3eda')+_0x477d('0x3edb')+_0x477d('0x3a46')+_0x477d('0x3edc')+_0x477d('0x3aac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x7224')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3e73')+_0x477d('0x7225')+_0x477d('0x3edf')+_0x477d('0x7226')+_0x477d('0x3ea4')+_0x477d('0x7212')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x7213')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ea6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20welcomemessage\x20must\x20have\x20a\x20maximum\x20length\x20equal\x20to\x20255\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x3867')+_0x477d('0x3eb4')+_0x477d('0x39c3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+_0x477d('0x3b1a')+_0x477d('0x3b1b')+_0x477d('0x7206')+_0x477d('0x39de')+_0x477d('0x7215')+_0x477d('0x71f8')+_0x477d('0x39e0')+_0x477d('0x39e1')+_0x477d('0x36c0')+_0x477d('0x3669')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x7227'),_0x477d('0x71da')+_0x477d('0x71ff')+_0x477d('0x381e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39c7')+_0x477d('0x7228')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x722a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x722b')+_0x477d('0x3ee4')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3ee5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x722c')+_0x477d('0x39d2')+_0x477d('0x722d')+_0x477d('0x36bf')+_0x477d('0x3de9')+_0x477d('0x722e')+_0x477d('0x3deb')+_0x477d('0x3ee8')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x722f')+_0x477d('0x4d63')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x221\x22\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x7230')+_0x477d('0x39d2')+_0x477d('0x7231')+_0x477d('0x36bf')+_0x477d('0x3de9')+_0x477d('0x7232')+_0x477d('0x3deb')+_0x477d('0x3ee8')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c3')+_0x477d('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+_0x477d('0x3b1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x7206')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x477d('0x7215')+_0x477d('0x71f8')+_0x477d('0x39e0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x3669')+_0x477d('0x366a')+'\x0a');_0x143a79[_0x477d('0x390')]('app/main/apps/whatsapp/views/whatsappAccounts/edit/apps/gotop/dialog.html',_0x477d('0x71da')+_0x477d('0x71ff')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x365d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x477d('0x3843')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x7233')+_0x477d('0x3eed')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min=\x220\x22\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39cb')+_0x477d('0x3e1d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x7234')+_0x477d('0x36bf')+_0x477d('0x3de9')+_0x477d('0x7235')+_0x477d('0x3deb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x3ab5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3b1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x7206')+_0x477d('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22whatsappAccountFormApp.$invalid\x20||\x20whatsappAccountFormApp.$pristine\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22SAVE\x22\x20translate=\x22WHATSAPP.SAVE\x22\x20translate-attr-aria-label=\x22WHATSAPP.SAVE\x22>\x0a'+_0x477d('0x39e0')+_0x477d('0x39e1')+_0x477d('0x36c0')+_0x477d('0x3669')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x272d'),_0x477d('0x3ef3')+_0x477d('0x3ef4')+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3aea')+_0x477d('0x3aeb')+_0x477d('0x3aec')+_0x477d('0x3aed')+_0x477d('0x3aee')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3af0')+_0x477d('0x3674')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+'\x0a'+_0x477d('0x3eb4')+_0x477d('0x383b')+_0x477d('0x3ef5')+_0x477d('0x3ef6')+_0x477d('0x3ef7')+_0x477d('0x36a0')+_0x477d('0x36a1')+'\x0a'+_0x477d('0x4d6c')+_0x477d('0x3ef8')+_0x477d('0x3ef9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20interval.name\x20}}\x0a'+_0x477d('0x36a0')+_0x477d('0x36a1')+'\x0a'+_0x477d('0x3efb')+_0x477d('0x3efc')+_0x477d('0x3efd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4d6d')+_0x477d('0x3efe')+_0x477d('0x3eff')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Time\x20Range\x20From\x20field\x20is\x20invalid\x0a'+_0x477d('0x3f01')+_0x477d('0x40da')+_0x477d('0x3c68')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f02')+_0x477d('0x3f03')+_0x477d('0x4d6e')+_0x477d('0x3f04')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Time\x20Range\x20To\x20field\x20is\x20invalid\x0a'+_0x477d('0x36a9')+_0x477d('0x399e')+_0x477d('0x3f06')+_0x477d('0x36a9')+_0x477d('0x36bf')+_0x477d('0x3f07')+_0x477d('0x3670')+_0x477d('0x36c0')+_0x477d('0x3f08')+'\x0a'+_0x477d('0x3f09')+_0x477d('0x3f0a')+_0x477d('0x3efd')+_0x477d('0x3f0b')+_0x477d('0x3f0c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f0e')+_0x477d('0x3f0f')+_0x477d('0x3b15')+_0x477d('0x39a2')+'\x0a'+_0x477d('0x3f10')+_0x477d('0x3f11')+_0x477d('0x3f12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20day.value\x20|\x20ucfirst\x20}}\x0a'+_0x477d('0x3b15')+_0x477d('0x3f13')+_0x477d('0x36bf')+_0x477d('0x39a2')+_0x477d('0x36c0')+_0x477d('0x3f14')+'\x0a'+_0x477d('0x4d6f')+_0x477d('0x4d70')+_0x477d('0x3efd')+_0x477d('0x3f15')+_0x477d('0x3f0c')+_0x477d('0x55c0')+_0x477d('0x3f0e')+_0x477d('0x3f16')+_0x477d('0x3b15')+_0x477d('0x39a2')+'\x0a'+_0x477d('0x3f17')+_0x477d('0x3f11')+_0x477d('0x3f18')+_0x477d('0x3f16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f19')+_0x477d('0x36bf')+_0x477d('0x39a2')+_0x477d('0x36c0')+_0x477d('0x4d71')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f15')+_0x477d('0x3f0c')+_0x477d('0x3f1b')+_0x477d('0x3f0e')+_0x477d('0x3f1c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4d73')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20To\x0a'+_0x477d('0x3f1d')+_0x477d('0x3f1c')+_0x477d('0x3b15')+_0x477d('0x3f1e')+_0x477d('0x36bf')+_0x477d('0x39a2')+_0x477d('0x36c0')+_0x477d('0x3f1f')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3aec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x36bf')+_0x477d('0x3aef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3674')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3663')+'\x0a'+_0x477d('0x3b1a')+_0x477d('0x387b')+_0x477d('0x3f20')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+_0x477d('0x387e')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f22')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3669')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x7236'),'\x0a'+_0x477d('0x71ff')+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c5')+_0x477d('0x39c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Value\x0a'+_0x477d('0x3f24')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x7237')+_0x477d('0x39d2')+_0x477d('0x7238')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x3ab5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39da')+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+_0x477d('0x3b1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a');_0x143a79[_0x477d('0x390')](_0x477d('0x7239'),_0x477d('0x71da')+_0x477d('0x71ff')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+_0x477d('0x39c7')+_0x477d('0x723a')+_0x477d('0x3f28')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20required\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x3de0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20queue.name\x20}}\x0a'+_0x477d('0x3aac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x723b')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3e73')+_0x477d('0x7202')+_0x477d('0x4d7b')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3eee')+_0x477d('0x3de6')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x7203')+_0x477d('0x39d2')+_0x477d('0x7204')+_0x477d('0x36bf')+_0x477d('0x3de9')+_0x477d('0x723c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e23')+_0x477d('0x7205')+_0x477d('0x3deb')+_0x477d('0x3e24')+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x39c3')+_0x477d('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+_0x477d('0x3b1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x7206')+_0x477d('0x39de')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22whatsappAccountFormApp.$invalid\x20||\x20whatsappAccountFormApp.$pristine\x22\x0a'+_0x477d('0x71f8')+_0x477d('0x39e0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x3669')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x723d'),_0x477d('0x71da')+_0x477d('0x71ff')+_0x477d('0x381e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x39db')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39c7')+_0x477d('0x723e')+_0x477d('0x4d80')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cd')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x723f')+_0x477d('0x39d2')+_0x477d('0x7240')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x7241')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Variable\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3eb4')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3663')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x7206')+_0x477d('0x39de')+_0x477d('0x7215')+_0x477d('0x71f8')+_0x477d('0x39e0')+_0x477d('0x39e1')+_0x477d('0x36c0')+_0x477d('0x3669')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x7243'),'\x0a'+_0x477d('0x71ff')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+_0x477d('0x39db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x7244')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x7245')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3eb4')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b1b')+_0x477d('0x7206')+_0x477d('0x39de')+_0x477d('0x7215')+_0x477d('0x71f8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3669')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x7246'),_0x477d('0x7247')+'\x0a'+_0x477d('0x39eb')+_0x477d('0x3b62')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x7248')+_0x477d('0x7249')+_0x477d('0x724a')+_0x477d('0x3e04')+_0x477d('0x372b')+'\x0a'+_0x477d('0x387b')+'\x0a'+_0x477d('0x724b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b65')+_0x477d('0x724c')+_0x477d('0x724d')+_0x477d('0x36bf')+_0x477d('0x3b68')+_0x477d('0x724e')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+_0x477d('0x3ab5')+_0x477d('0x3e09')+_0x477d('0x724f')+_0x477d('0x3f77')+_0x477d('0x4581')+_0x477d('0x7250')+_0x477d('0x3e0d')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x38ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e11')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x39f8')+'\x0a'+_0x477d('0x3a18')+_0x477d('0x3b6b')+'\x0a'+_0x477d('0x3b6c')+_0x477d('0x3e12')+_0x477d('0x3f7a')+_0x477d('0x7251')+_0x477d('0x3f7b')+_0x477d('0x3e14')+_0x477d('0x7252')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x7253')+_0x477d('0x385c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e18')+_0x477d('0x71db')+_0x477d('0x71dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ce')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4ea1')+_0x477d('0x3dda')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3a5d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20key\x0a'+_0x477d('0x7254')+_0x477d('0x3e5f')+_0x477d('0x39cb')+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x4da2')+_0x477d('0x39d2')+_0x477d('0x71e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e61')+_0x477d('0x71e3')+_0x477d('0x36bf')+_0x477d('0x39d9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x7255')+_0x477d('0x71e4')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x3de0')+_0x477d('0x3e6e')+_0x477d('0x3e6f')+_0x477d('0x3aac')+_0x477d('0x71e5')+_0x477d('0x3f82')+_0x477d('0x39d2')+_0x477d('0x71e7')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x71ee')+_0x477d('0x71ef')+_0x477d('0x7256')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x7257')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x7258')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AuthToken\x0a'+_0x477d('0x7259')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x6253')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AuthToken\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20phone\x0a'+_0x477d('0x725a')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x0a'+_0x477d('0x39d6')+_0x477d('0x4342')+_0x477d('0x39d2')+_0x477d('0x71f2')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x725b')+_0x477d('0x5da4')+_0x477d('0x725c')+_0x477d('0x5da6')+_0x477d('0x5da7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x6267')+_0x477d('0x725d')+_0x477d('0x725e')+_0x477d('0x5da4')+_0x477d('0x6269')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5da7')+_0x477d('0x725f')+_0x477d('0x54d5')+_0x477d('0x7260')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x7261')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x7263')+_0x477d('0x3deb')+_0x477d('0x3e23')+_0x477d('0x7264')+_0x477d('0x3deb')+_0x477d('0x3e24')+_0x477d('0x36a1')+_0x477d('0x39c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Description\x0a'+_0x477d('0x71f4')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x71f6')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ab5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x7265')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x7266')+_0x477d('0x385c')+_0x477d('0x3f8e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x7267')+_0x477d('0x3eb4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e73')+_0x477d('0x7268')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3867')+_0x477d('0x3f90')+_0x477d('0x7269')+_0x477d('0x726a')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e26')+_0x477d('0x3e27')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x726b')+_0x477d('0x385c')+_0x477d('0x3f94')+_0x477d('0x3e18')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20queueTransfer\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3867')+_0x477d('0x726c')+_0x477d('0x726d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d6')+_0x477d('0x560a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20queueTransferTimeout\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20queueTransferTimeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a'+_0x477d('0x3deb')+_0x477d('0x3e23')+_0x477d('0x726e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e24')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x726f')+_0x477d('0x3eb4')+_0x477d('0x3867')+_0x477d('0x7270')+_0x477d('0x7271')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x7273')+_0x477d('0x3deb')+_0x477d('0x3e23')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20agentTransferTimeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x202147483\x0a'+_0x477d('0x3deb')+_0x477d('0x3e24')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ab5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e27')+_0x477d('0x3e28')+_0x477d('0x3e29')+_0x477d('0x3e12')+_0x477d('0x3f7a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADVANCED\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x7274')+_0x477d('0x3f7d')+_0x477d('0x7275')+_0x477d('0x385c')+_0x477d('0x5db8')+_0x477d('0x3e18')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MotionProxy\x0a'+_0x477d('0x71e8')+_0x477d('0x3e64')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x7276')+_0x477d('0x6282')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MotionProxy\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3e66')+_0x477d('0x71ea')+_0x477d('0x36bf')+_0x477d('0x3e68')+_0x477d('0x71eb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d9')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x7277')+_0x477d('0x7278')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4ea1')+_0x477d('0x3dda')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5dbc')+_0x477d('0x39d2')+_0x477d('0x7279')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e27')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f7d')+_0x477d('0x727a')+_0x477d('0x385c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e18')+_0x477d('0x727b')+_0x477d('0x3eb4')+_0x477d('0x3867')+_0x477d('0x727c')+_0x477d('0x727d')+_0x477d('0x727e')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x3de0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4dfe')+_0x477d('0x39d2')+_0x477d('0x727f')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3eb4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e27')+_0x477d('0x3e28')+_0x477d('0x3e29')+_0x477d('0x3e12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x7280')+_0x477d('0x3f7b')+_0x477d('0x3e14')+_0x477d('0x7281')+_0x477d('0x7282')+_0x477d('0x7283')+_0x477d('0x4100')+_0x477d('0x7284')+_0x477d('0x4102')+_0x477d('0x4103')+_0x477d('0x7285')+_0x477d('0x7286')+_0x477d('0x4105')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+'\x20\x20\x0a'+_0x477d('0x7287')+_0x477d('0x4108')+'\x20\x20\x20\x20\x20\x20\x20\x20{{vm_dc.selectedWhatsappAccountWhatsappDispositions.length}}\x20{{vm_dc.selectedWhatsappAccountWhatsappDispositions.length\x20>\x201\x20?\x20\x27items\x27\x20:\x20\x27item\x27}}\x20selected\x0a'+_0x477d('0x3b2c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x410c')+_0x477d('0x7288')+_0x477d('0x7289')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3d05')+_0x477d('0x40da')+_0x477d('0x4106')+'\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x728a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4114')+_0x477d('0x728b')+_0x477d('0x4115')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x728c')+_0x477d('0x4115')+_0x477d('0x411d')+_0x477d('0x728d')+_0x477d('0x4115')+_0x477d('0x414c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4120')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x728e')+_0x477d('0x728f')+_0x477d('0x4123')+_0x477d('0x7290')+_0x477d('0x7291')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x7292')+_0x477d('0x7293')+_0x477d('0x412e')+_0x477d('0x4153')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x7294')+_0x477d('0x4130')+_0x477d('0x4155')+'\x20\x0a'+_0x477d('0x4156')+_0x477d('0x4157')+_0x477d('0x7295')+_0x477d('0x7296')+_0x477d('0x4133')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x4134')+_0x477d('0x7297')+_0x477d('0x7298')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x415b')+_0x477d('0x415c')+_0x477d('0x4137')+_0x477d('0x4138')+_0x477d('0x411e')+_0x477d('0x7299')+_0x477d('0x415e')+_0x477d('0x417f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20whatsappdisposition\x20available\x0a'+_0x477d('0x413b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x411e')+_0x477d('0x413d')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x413f')+_0x477d('0x729a')+_0x477d('0x3fa6')+'\x0a'+_0x477d('0x3e27')+_0x477d('0x3e28')+_0x477d('0x3e29')+_0x477d('0x3e12')+_0x477d('0x3f7a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CANNEDANSWERS\x0a'+_0x477d('0x3f7b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x729b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x729c')+_0x477d('0x4100')+'\x20\x20\x20\x20\x20\x20WhatsappCannedAnswers\x0a'+_0x477d('0x4102')+_0x477d('0x4103')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4106')+_0x477d('0x729e')+_0x477d('0x4108')+_0x477d('0x729f')+_0x477d('0x3b2c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x410b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x72a0')+_0x477d('0x7289')+_0x477d('0x410f')+_0x477d('0x3d05')+_0x477d('0x40da')+_0x477d('0x4106')+'\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x72a1')+_0x477d('0x4113')+_0x477d('0x4114')+_0x477d('0x728b')+_0x477d('0x4115')+_0x477d('0x416b')+_0x477d('0x72a2')+_0x477d('0x4115')+_0x477d('0x416d')+_0x477d('0x72a3')+_0x477d('0x4115')+_0x477d('0x416f')+_0x477d('0x72a4')+_0x477d('0x4115')+_0x477d('0x411d')+_0x477d('0x728d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x411e')+_0x477d('0x411f')+_0x477d('0x4120')+_0x477d('0x72a5')+'>\x0a'+_0x477d('0x72a6')+_0x477d('0x72a7')+_0x477d('0x4123')+_0x477d('0x72a8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{whatsappCannedAnswer.key}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x72a8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{whatsappCannedAnswer.value}}\x0a'+_0x477d('0x4123')+_0x477d('0x72a8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{whatsappCannedAnswer.description}}\x0a'+_0x477d('0x4123')+_0x477d('0x72a9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20whatsappCannedAnswer.createdAt\x20|\x20formatdate\x20}}\x0a'+_0x477d('0x412e')+_0x477d('0x4153')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4130')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4157')+_0x477d('0x72aa')+_0x477d('0x72ab')+_0x477d('0x4133')+_0x477d('0x4159')+_0x477d('0x4134')+_0x477d('0x72ac')+_0x477d('0x72ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x415c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x411e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x417e')+_0x477d('0x417f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20whatsappcannedanswer\x20available\x0a'+_0x477d('0x413b')+_0x477d('0x413c')+_0x477d('0x411e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x413e')+_0x477d('0x413f')+_0x477d('0x72ae')+'\x20\x20\x0a'+'\x0a'+_0x477d('0x3e27')+_0x477d('0x3e28')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x72af')+_0x477d('0x3f7b')+_0x477d('0x3e14')+_0x477d('0x72b0')+_0x477d('0x72b1')+_0x477d('0x4186')+_0x477d('0x4187')+_0x477d('0x4188')+_0x477d('0x4189')+_0x477d('0x418a')+_0x477d('0x418b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Applications\x20List\x0a'+_0x477d('0x37cb')+_0x477d('0x418d')+_0x477d('0x418e')+_0x477d('0x37a7')+_0x477d('0x418f')+_0x477d('0x4190')+_0x477d('0x4e19')+'\x20\x20\x20\x20\x20\x20\x20\x20{{a.alias\x20||\x20a.appType}}

\x0a'+_0x477d('0x4192')+_0x477d('0x418e')+_0x477d('0x4193')+'\x20\x20\x0a'+_0x477d('0x4e1b')+'\x20\x20\x0a'+'\x20\x20\x0a'+_0x477d('0x4e1d')+'\x20\x20\x20\x20\x0a'+_0x477d('0x4108')+_0x477d('0x5689')+_0x477d('0x3b2c')+_0x477d('0x4194')+_0x477d('0x380f')+_0x477d('0x392e')+_0x477d('0x72b2')+_0x477d('0x4108')+_0x477d('0x72b3')+_0x477d('0x3b2c')+_0x477d('0x72b4')+_0x477d('0x72b5')+_0x477d('0x4198')+_0x477d('0x36dc')+'\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x392e')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x4199')+_0x477d('0x72b6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x419a')+_0x477d('0x419b')+_0x477d('0x419c')+_0x477d('0x419d')+_0x477d('0x419e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4e23')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41a0')+_0x477d('0x41a1')+_0x477d('0x419e')+_0x477d('0x41a0')+_0x477d('0x41a2')+_0x477d('0x419e')+_0x477d('0x419b')+_0x477d('0x419b')+_0x477d('0x41a3')+_0x477d('0x41a4')+_0x477d('0x41a5')+_0x477d('0x72b7')+_0x477d('0x41a7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x413c')+_0x477d('0x72b8')+_0x477d('0x72b9')+_0x477d('0x72ba')+_0x477d('0x41ac')+_0x477d('0x41a7')+_0x477d('0x41ad')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41af')+_0x477d('0x5693')+_0x477d('0x41b0')+_0x477d('0x452d')+_0x477d('0x413c')+_0x477d('0x41b1')+_0x477d('0x3a43')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a44')+_0x477d('0x3947')+'\x0a'+_0x477d('0x3a45')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x72bb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20App\x0a'+_0x477d('0x3a52')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41b3')+_0x477d('0x41b4')+_0x477d('0x41b5')+_0x477d('0x3a52')+_0x477d('0x3a4b')+_0x477d('0x41b6')+_0x477d('0x41b7')+_0x477d('0x41b8')+_0x477d('0x3a52')+_0x477d('0x3a4b')+_0x477d('0x41b9')+_0x477d('0x42b0')+_0x477d('0x413c')+_0x477d('0x41a3')+_0x477d('0x72bc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41bb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41a3')+_0x477d('0x41bc')+_0x477d('0x41bd')+_0x477d('0x41be')+_0x477d('0x4e2b')+'\x0a'+_0x477d('0x41bf')+'\x0a'+'\x0a'+_0x477d('0x377d')+_0x477d('0x41c1')+_0x477d('0x377d')+'\x0a'+_0x477d('0x3e27')+_0x477d('0x3e28')+_0x477d('0x3e29')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3f7a')+_0x477d('0x72bd')+_0x477d('0x3f7b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x72be')+'\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x72bf')+_0x477d('0x4102')+_0x477d('0x4103')+_0x477d('0x72c0')+_0x477d('0x41c7')+_0x477d('0x41c8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x20\x27md-fab\x20md-mini\x20md-accent-bg\x27:\x20vm_dc.query.search\x20}\x22\x20aria-label=\x22Filter\x22\x20translate\x0a'+_0x477d('0x41ca')+_0x477d('0x41cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x20\x27blink\x27:\x20vm_dc.query.search\x20}\x22>\x0a'+_0x477d('0x36dc')+_0x477d('0x380f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x72c3')+_0x477d('0x3b2c')+_0x477d('0x72c4')+_0x477d('0x410b')+_0x477d('0x410c')+_0x477d('0x72c5')+_0x477d('0x7289')+_0x477d('0x410f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x40da')+'\x20\x20\x0a'+'\x20\x20\x0a'+_0x477d('0x72c6')+_0x477d('0x72c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4114')+_0x477d('0x728b')+_0x477d('0x4115')+_0x477d('0x41d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4115')+_0x477d('0x41d2')+_0x477d('0x41d3')+_0x477d('0x41d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4214')+_0x477d('0x72c8')+_0x477d('0x4115')+_0x477d('0x411d')+_0x477d('0x72c9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41d5')+_0x477d('0x72ca')+_0x477d('0x4115')+_0x477d('0x4e3a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.STATUS\x27\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x72cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41d8')+_0x477d('0x72cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x414c')+_0x477d('0x411e')+_0x477d('0x411f')+_0x477d('0x4120')+_0x477d('0x72cd')+_0x477d('0x41d9')+_0x477d('0x41da')+_0x477d('0x41db')+_0x477d('0x4123')+_0x477d('0x41dc')+_0x477d('0x4e3e')+_0x477d('0x56a3')+_0x477d('0x4e3f')+_0x477d('0x41dd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20,\x20\x0a'+_0x477d('0x41f4')+_0x477d('0x41df')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3939')+_0x477d('0x41e3')+_0x477d('0x41e1')+_0x477d('0x41e2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3939')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41e4')+_0x477d('0x41e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3939')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4baa')+_0x477d('0x41e7')+_0x477d('0x41e8')+_0x477d('0x41e9')+_0x477d('0x41ea')+_0x477d('0x377d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4e40')+_0x477d('0x412e')+_0x477d('0x4e41')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4e42')+_0x477d('0x41ed')+_0x477d('0x427b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x41ef')+_0x477d('0x36a9')+_0x477d('0x40da')+_0x477d('0x412e')+_0x477d('0x41f0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell>\x0a'+_0x477d('0x4e43')+_0x477d('0x72ce')+_0x477d('0x41f2')+_0x477d('0x41f3')+_0x477d('0x41f4')+_0x477d('0x4e45')+_0x477d('0x41f5')+_0x477d('0x72cf')+_0x477d('0x41f7')+_0x477d('0x41f8')+_0x477d('0x41f4')+_0x477d('0x4e45')+_0x477d('0x4123')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{interaction.Owner.name}}\x0a'+_0x477d('0x4123')+_0x477d('0x4e49')+_0x477d('0x41f9')+_0x477d('0x41fa')+_0x477d('0x41fb')+_0x477d('0x41fc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x412e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x412f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4130')+_0x477d('0x4155')+'\x20\x0a'+_0x477d('0x4156')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4202')+_0x477d('0x3a52')+_0x477d('0x415b')+_0x477d('0x4203')+_0x477d('0x72d0')+_0x477d('0x62d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x415b')+_0x477d('0x4e4d')+_0x477d('0x72d1')+_0x477d('0x420a')+_0x477d('0x3a52')+_0x477d('0x415b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4138')+_0x477d('0x411e')+_0x477d('0x72d2')+_0x477d('0x420b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x72d3')+_0x477d('0x413b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x413d')+_0x477d('0x413e')+_0x477d('0x413f')+_0x477d('0x72d4')+_0x477d('0x3fa6')+'\x0a'+_0x477d('0x3e27')+_0x477d('0x3e28')+_0x477d('0x3e29')+_0x477d('0x3e2a')+'\x0a'+_0x477d('0x3699')+_0x477d('0x3a5a')+'\x0a'+_0x477d('0x377d'));_0x143a79['put'](_0x477d('0x72d5'),_0x477d('0x72d6')+_0x477d('0x72d7')+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+_0x477d('0x39c7')+_0x477d('0x7220')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c7')+_0x477d('0x72d9')+_0x477d('0x72da')+_0x477d('0x3ea4')+_0x477d('0x72db')+_0x477d('0x39ca')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Value\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e73')+_0x477d('0x71f3')+_0x477d('0x72dc')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x72dd')+_0x477d('0x39d2')+_0x477d('0x71f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ab5')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+_0x477d('0x39c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3663')+'\x0a'+_0x477d('0x39dc')+_0x477d('0x387b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x72df')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x477d('0x72e0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22WHATSAPP.ADD_WHATSAPPCANNEDANSWER\x22\x20translate-attr-aria-label=\x22WHATSAPP.ADD_WHATSAPPCANNEDANSWER\x22>\x0a'+_0x477d('0x72e1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x39e5')+_0x477d('0x72e2')+_0x477d('0x72e3')+_0x477d('0x3a16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x39e9')+'\x20\x20\x20\x20\x0a'+'\x0a');_0x143a79['put']('app/main/apps/whatsapp/views/whatsappAccounts/edit/whatsappDispositions/dialog.html',_0x477d('0x72e4')+_0x477d('0x72e5')+_0x477d('0x381e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x71db')+_0x477d('0x72e6')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x39cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ce')+_0x477d('0x39cb')+_0x477d('0x39cf')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x72e7')+_0x477d('0x39d2')+_0x477d('0x71e0')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ab5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+_0x477d('0x3670')+_0x477d('0x39c5')+_0x477d('0x39c6')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39dc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x72e8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x477d('0x72e9')+_0x477d('0x71f8')+_0x477d('0x39e0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x72ea')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+_0x477d('0x72eb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22ADD\x22\x20translate=\x22WHATSAPP.ADD_WHATSAPPDISPOSITION\x22\x20translate-attr-aria-label=\x22WHATSAPP.ADD_WHATSAPPDISPOSITION\x22>\x0a'+_0x477d('0x72ec')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x39e5')+_0x477d('0x72ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22WHATSAPP.DELETE\x22>\x0a'+_0x477d('0x3a16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DELETE\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x368'),_0x477d('0x72ee')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x3bef')+'\x0a'+_0x477d('0x3abc')+_0x477d('0x37cd')+_0x477d('0x39ec')+_0x477d('0x39ed')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3760')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WhatsappAccounts\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+_0x477d('0x39ef')+'\x0a'+_0x477d('0x39f0')+_0x477d('0x39f1')+_0x477d('0x39f2')+_0x477d('0x39f3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3abf')+_0x477d('0x72ef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x39f7')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x0a'+_0x477d('0x39f8')+'\x0a'+_0x477d('0x39f9')+_0x477d('0x72f0')+_0x477d('0x39fa')+'\x0a'+_0x477d('0x72f1')+_0x477d('0x39fc')+_0x477d('0x39fd')+_0x477d('0x72f2')+_0x477d('0x372b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39ff')+'\x0a'+_0x477d('0x3a00')+_0x477d('0x72f3')+_0x477d('0x72f4')+_0x477d('0x72f5')+_0x477d('0x3760')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a08')+_0x477d('0x3674')+_0x477d('0x3a09')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x72f6')+_0x477d('0x3a0c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a0f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x72f7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Select\x20none\x0a'+_0x477d('0x3832')+_0x477d('0x3a0f')+_0x477d('0x3a10')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+'\x0a'+_0x477d('0x3ac4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a13')+_0x477d('0x3a14')+_0x477d('0x72f8')+_0x477d('0x72f9')+_0x477d('0x3a16')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+_0x477d('0x3699')+_0x477d('0x3a17')+'\x0a'+_0x477d('0x3a18')+_0x477d('0x3a19')+'\x0a'+_0x477d('0x3a1a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a1b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a1d')+_0x477d('0x3a1e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x72fa')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a22')+_0x477d('0x72fb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.NAME\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x72fc')+_0x477d('0x72fd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.TYPE\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x72fe')+_0x477d('0x72ff')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a2e')+_0x477d('0x7300')+_0x477d('0x3d8a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x7301')+_0x477d('0x3a31')+_0x477d('0x3a32')+_0x477d('0x3a2c')+_0x477d('0x7302')+_0x477d('0x7303')+_0x477d('0x7304')+_0x477d('0x7305')+_0x477d('0x7306')+_0x477d('0x7307')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-cell\x20class=\x22name\x20\x22\x20>{{whatsappAccount.name}}\x0a'+_0x477d('0x7307')+_0x477d('0x7308')+_0x477d('0x7307')+_0x477d('0x7309')+_0x477d('0x730a')+_0x477d('0x730b')+_0x477d('0x730a')+_0x477d('0x730c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3947')+'\x0a'+_0x477d('0x3a45')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3adc')+'\x0a'+_0x477d('0x730e')+_0x477d('0x730f')+_0x477d('0x7310')+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3dc6')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x7311')+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3dc6')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3692')+'\x0a'+_0x477d('0x3693')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x0a'+_0x477d('0x3a2c')+_0x477d('0x3a56')+_0x477d('0x3ae2')+_0x477d('0x3a57')+'\x0a'+_0x477d('0x7315')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x7316')+_0x477d('0x3a59')+'\x0a'+_0x477d('0x3cb5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ae6')+'\x0a'+_0x477d('0x3699')+_0x477d('0x3a5a')+'\x0a'+_0x477d('0x7317')+_0x477d('0x7318')+_0x477d('0x7319')+_0x477d('0x3cb8')+_0x477d('0x3735')+_0x477d('0x731a')+_0x477d('0x3699'));_0x143a79[_0x477d('0x390')](_0x477d('0x279b'),_0x477d('0x731b')+_0x477d('0x731c')+_0x477d('0x381e')+_0x477d('0x365d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x39c3')+_0x477d('0x39da')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x39c4')+_0x477d('0x39db')+_0x477d('0x3670')+_0x477d('0x39c5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39c7')+_0x477d('0x71db')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x71e0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x3dde')+_0x477d('0x731e')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x731f')+_0x477d('0x7320')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3a5e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cf')+_0x477d('0x3de0')+_0x477d('0x3de1')+_0x477d('0x3a46')+_0x477d('0x3e1e')+_0x477d('0x3e1f')+_0x477d('0x3a46')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>RR\x20Memory\x0a'+_0x477d('0x3aac')+_0x477d('0x7321')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Strategy\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x7322')+_0x477d('0x7323')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3ee5')+_0x477d('0x3de6')+_0x477d('0x39cd')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x7324')+_0x477d('0x39d2')+_0x477d('0x7325')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3de9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent_Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x201\x0a'+_0x477d('0x3deb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x7326')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e24')+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x71f3')+_0x477d('0x7327')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cb')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x7328')+_0x477d('0x39d2')+_0x477d('0x71f6')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x39c3')+_0x477d('0x39da')+_0x477d('0x38ad')+_0x477d('0x39c4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20({{error.type}})\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39c6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39dc')+_0x477d('0x387b')+_0x477d('0x7329')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22send-button\x20md-accent\x20md-raised\x22\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22whatsappQueueForm.$invalid\x20||\x20whatsappQueueForm.$pristine\x22\x0a'+_0x477d('0x71f8')+_0x477d('0x39e0')+_0x477d('0x39e1')+'\x0a'+_0x477d('0x732a')+_0x477d('0x3c8b')+_0x477d('0x732b')+_0x477d('0x732c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ADD\x20WHATSAPPQUEUE\x0a'+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a16')+_0x477d('0x732d')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x39e9')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x2791'),_0x477d('0x732e')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x732f')+_0x477d('0x3d25')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3661')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3663')+_0x477d('0x3dfc')+_0x477d('0x3dfd')+_0x477d('0x3dfe')+_0x477d('0x3b6a')+_0x477d('0x372b')+_0x477d('0x3669')+_0x477d('0x366a')+'\x0a');_0x143a79['put'](_0x477d('0x2790'),_0x477d('0x732e')+'\x20\x20\x20\x20\x0a'+_0x477d('0x3d23')+_0x477d('0x3dfa')+_0x477d('0x7330')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3843')+_0x477d('0x3844')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3661')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3dfd')+_0x477d('0x4e97')+_0x477d('0x3b6a')+_0x477d('0x372b')+_0x477d('0x3669')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x364'),_0x477d('0x7331')+'\x0a'+_0x477d('0x39eb')+_0x477d('0x3b62')+_0x477d('0x3b63')+_0x477d('0x7332')+_0x477d('0x7333')+_0x477d('0x7334')+_0x477d('0x3e04')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x387b')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x7335')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3b65')+_0x477d('0x7336')+_0x477d('0x7337')+_0x477d('0x36bf')+_0x477d('0x3b68')+_0x477d('0x7338')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3ab5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x7339')+_0x477d('0x4e9e')+_0x477d('0x3e0b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e0d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x3ab5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x733a')+_0x477d('0x4ea0')+_0x477d('0x4581')+_0x477d('0x733b')+_0x477d('0x3e10')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x38ad')+_0x477d('0x733c')+_0x477d('0x3e11')+_0x477d('0x3d05')+_0x477d('0x36e5')+'\x0a'+_0x477d('0x3699')+_0x477d('0x39f8')+'\x0a'+_0x477d('0x3a18')+_0x477d('0x3b6b')+'\x0a'+_0x477d('0x3b6c')+_0x477d('0x3e12')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SETTINGS\x0a'+_0x477d('0x3f7b')+_0x477d('0x3e14')+_0x477d('0x733d')+_0x477d('0x3f7d')+_0x477d('0x7253')+_0x477d('0x385c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e18')+_0x477d('0x71db')+_0x477d('0x733e')+_0x477d('0x39ca')+_0x477d('0x3dd8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39cd')+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autofocus\x20\x0a'+_0x477d('0x3e19')+_0x477d('0x4ea1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x39d0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e1a')+_0x477d('0x39d2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name\x20field\x20is\x20required\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3dde')+_0x477d('0x731e')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x731f')+_0x477d('0x7320')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x39ca')+_0x477d('0x3a5e')+_0x477d('0x39cb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.crudPermissions.canEdit\x22\x20\x0a'+_0x477d('0x3de0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Strategy\x20field\x20is\x20required\x0a'+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x3e73')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent_Timeout\x0a'+_0x477d('0x7323')+_0x477d('0x39ca')+_0x477d('0x39cb')+_0x477d('0x3ee5')+_0x477d('0x3de6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-required=\x22true\x22\x20\x20\x0a'+_0x477d('0x39ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39cb')+_0x477d('0x3e1d')+_0x477d('0x39cb')+_0x477d('0x39d0')+_0x477d('0x39d6')+_0x477d('0x3e22')+_0x477d('0x39d2')+_0x477d('0x7325')+_0x477d('0x36bf')+_0x477d('0x3de9')+_0x477d('0x733f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3e23')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Agent_Timeout\x20must\x20be\x20a\x20valid\x20greater\x20or\x20equal\x20than\x202147483\x0a'+_0x477d('0x3deb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a1')+_0x477d('0x39c7')+_0x477d('0x71f3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x71f6')+_0x477d('0x36bf')+_0x477d('0x3a5d')+_0x477d('0x36a1')+_0x477d('0x3ab5')+_0x477d('0x3e26')+_0x477d('0x3e27')+_0x477d('0x3e28')+_0x477d('0x3e29')+_0x477d('0x3e2a')+'\x0a'+_0x477d('0x3699')+_0x477d('0x3a5a')+'\x0a'+_0x477d('0x377d'));_0x143a79[_0x477d('0x390')](_0x477d('0x361'),_0x477d('0x7340')+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3abc')+_0x477d('0x37cd')+_0x477d('0x39ec')+_0x477d('0x39ed')+_0x477d('0x7341')+_0x477d('0x3760')+_0x477d('0x7342')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x39ef')+'\x0a'+_0x477d('0x39f0')+_0x477d('0x39f1')+_0x477d('0x39f2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39f4')+_0x477d('0x39f5')+_0x477d('0x3abf')+_0x477d('0x72ef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x39f7')+_0x477d('0x36bf')+_0x477d('0x3699')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39f9')+'\x20\x20\x20\x20\x200\x22\x20class=\x22selected-bar\x20header\x20animate-slide-down\x20md-accent-bg\x22\x0a'+_0x477d('0x39fa')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39fc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Back\x0a'+_0x477d('0x372b')+_0x477d('0x36e5')+'\x0a'+_0x477d('0x39ff')+'\x0a'+_0x477d('0x3a00')+_0x477d('0x7343')+_0x477d('0x7344')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20selected\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3daf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a08')+_0x477d('0x3674')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a0a')+_0x477d('0x7345')+_0x477d('0x3a0c')+_0x477d('0x3832')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x7346')+_0x477d('0x3a0e')+_0x477d('0x3832')+_0x477d('0x3a0f')+_0x477d('0x3a10')+_0x477d('0x3a11')+_0x477d('0x36c0')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x7347')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a14')+_0x477d('0x7348')+_0x477d('0x72f9')+_0x477d('0x3a16')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x382a')+_0x477d('0x36e5')+_0x477d('0x3699')+_0x477d('0x3a17')+'\x0a'+_0x477d('0x3a18')+_0x477d('0x3a19')+'\x0a'+_0x477d('0x3a1a')+_0x477d('0x3ac6')+'\x0a'+_0x477d('0x3a1b')+_0x477d('0x7349')+_0x477d('0x3a1d')+_0x477d('0x3a1e')+_0x477d('0x734a')+_0x477d('0x734b')+_0x477d('0x3a21')+_0x477d('0x3a22')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27WHATSAPP.ID\x27\x20|\x20translate\x20}}\x0a'+_0x477d('0x734c')+_0x477d('0x734d')+_0x477d('0x3acb')+_0x477d('0x3a2c')+_0x477d('0x3a2d')+_0x477d('0x3a2e')+_0x477d('0x734e')+_0x477d('0x3db9')+_0x477d('0x3a30')+_0x477d('0x7301')+_0x477d('0x3a31')+_0x477d('0x3a32')+_0x477d('0x3a2c')+_0x477d('0x734f')+_0x477d('0x7350')+_0x477d('0x7351')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.arraystrategy[whatsappQueue.strategy].option\x20}}\x0a'+_0x477d('0x3dc1')+'\x0a'+_0x477d('0x3a42')+'\x0a'+_0x477d('0x3a43')+'\x0a'+_0x477d('0x3d9e')+_0x477d('0x7356')+_0x477d('0x3a44')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a45')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a47')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a4d')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x7357')+_0x477d('0x7358')+_0x477d('0x7359')+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x735a')+_0x477d('0x735b')+_0x477d('0x735c')+_0x477d('0x3a52')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3dc6')+'\x0a'+_0x477d('0x735d')+_0x477d('0x735e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20agentadd\x20WhatsappQueue\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3caf')+'\x0a'+_0x477d('0x735f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22WHATSAPP.DELETE_WHATSAPPQUEUE\x22>\x0a'+_0x477d('0x7360')+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3a47')+'\x0a'+_0x477d('0x3a46')+_0x477d('0x3a4d')+'\x0a'+_0x477d('0x3dc6')+'\x0a'+_0x477d('0x7361')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate=\x22WHATSAPP.GOTOREALTIME_WHATSAPPQUEUE\x22>\x0a'+_0x477d('0x7362')+_0x477d('0x3a52')+'\x0a'+_0x477d('0x3a4b')+'\x0a'+_0x477d('0x3a4c')+_0x477d('0x3a4c')+_0x477d('0x3692')+'\x0a'+_0x477d('0x3693')+_0x477d('0x3939')+'\x0a'+'\x0a'+_0x477d('0x3a2c')+_0x477d('0x3a56')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a57')+'\x0a'+_0x477d('0x7363')+_0x477d('0x3ae4')+_0x477d('0x7364')+_0x477d('0x3a59')+'\x0a'+_0x477d('0x3cb5')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3699')+_0x477d('0x3a5a')+'\x0a'+_0x477d('0x7365')+_0x477d('0x7366')+_0x477d('0x7367')+_0x477d('0x3cb8')+_0x477d('0x3735')+_0x477d('0x7368')+'\x20\x20\x20\x20\x0a');_0x143a79[_0x477d('0x390')](_0x477d('0x7369'),_0x477d('0x3992')+_0x477d('0x736a')+_0x477d('0x1877'));_0x143a79[_0x477d('0x390')](_0x477d('0xd48'),'\x0a'+'');_0x143a79[_0x477d('0x390')]('app/navigation/layouts/vertical-navigation/navigation.html','\x0a'+_0x477d('0x736b')+_0x477d('0x736c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20{{vm.getLogo()\x20|\x20uppercase}}\x0a'+_0x477d('0x3699')+'\x20\x20\x20\x20\x0a'+_0x477d('0x422f')+'\x0a'+'\x0a');_0x143a79['put'](_0x477d('0xd50'),_0x477d('0x736d')+'\x20\x20\x20\x20\x0a'+_0x477d('0x736e')+_0x477d('0x736f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TODAY\x0a'+_0x477d('0x7370')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x7371')+_0x477d('0x7372')+_0x477d('0x7373')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x7374')+_0x477d('0x7375')+_0x477d('0x7370')+_0x477d('0x7376')+_0x477d('0x7377')+_0x477d('0x7371')+_0x477d('0x7372')+_0x477d('0x7378')+_0x477d('0x736f')+_0x477d('0x7379')+_0x477d('0x737a')+_0x477d('0x7370')+_0x477d('0x7376')+_0x477d('0x737b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x470d')+_0x477d('0x49fa'));_0x143a79['put'](_0x477d('0x737c'),_0x477d('0x737d')+_0x477d('0x737e')+'\x20\x20\x20\x20\x20\x20\x20\x20Friends\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x737f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x7380')+'\x0a'+_0x477d('0x7381')+'\x0a'+_0x477d('0x4b0e')+_0x477d('0x7382')+_0x477d('0x7383')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4b14')+_0x477d('0x4b6c')+'\x0a'+_0x477d('0x4b0b')+'\x0a'+_0x477d('0x7384')+_0x477d('0x737e')+_0x477d('0x7385')+_0x477d('0x7386')+'\x0a'+_0x477d('0x7387')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x4b0e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

{{server.location}}

\x0a'+_0x477d('0x7388')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4b14')+_0x477d('0x4b6c')+'\x0a'+_0x477d('0x4b0b')+'\x0a'+'\x0a'+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20User\x20Stats\x0a'+_0x477d('0x7386')+'\x0a'+_0x477d('0x7389')+_0x477d('0x4b0e')+_0x477d('0x738a')+_0x477d('0x738b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20value=\x22{{stat.percent}}\x22>\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4b14')+_0x477d('0x738c'));_0x143a79[_0x477d('0x390')](_0x477d('0x738d'),_0x477d('0x738e')+'\x20\x20\x20\x20\x0a'+_0x477d('0x738f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x7390')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate\x20translate-attr-placeholder=\x22QUICKPANEL.SEARCH\x22\x20flex>\x0a'+_0x477d('0x7391')+_0x477d('0x7392')+_0x477d('0x7393')+_0x477d('0x7394')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x7395')+_0x477d('0x7396')+_0x477d('0x500e')+_0x477d('0x3b25')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x7386')+_0x477d('0x7397')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20All\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Online\x0a'+_0x477d('0x7398')+_0x477d('0x7399')+_0x477d('0x37a7')+_0x477d('0x739a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3713')+_0x477d('0x739c')+_0x477d('0x739d')+_0x477d('0x739e')+_0x477d('0x739f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm_ct.unreadMessage[user.id]}}\x0a'+_0x477d('0x73a0')+_0x477d('0x463c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

{{user.fullname}}

\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x418e')+'\x0a'+'\x0a'+_0x477d('0x73ab')+_0x477d('0x73ac')+_0x477d('0x3f52')+'\x0a'+_0x477d('0x387b')+_0x477d('0x73ad')+_0x477d('0x73ae')+_0x477d('0x73af')+_0x477d('0x387e')+_0x477d('0x73b0')+_0x477d('0x73b1')+_0x477d('0x73b2')+_0x477d('0x36c0')+'\x0a'+_0x477d('0x73b3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x73b6')+_0x477d('0x73b7')+_0x477d('0x73b8')+_0x477d('0x73b9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3674')+'\x0a'+_0x477d('0x3a09')+_0x477d('0x73ba')+_0x477d('0x73bb')+_0x477d('0x73bc')+_0x477d('0x3832')+_0x477d('0x3a0f')+_0x477d('0x73ba')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x73bd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3a0f')+_0x477d('0x3a10')+_0x477d('0x3a11')+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x0a'+_0x477d('0x392e')+_0x477d('0x73be')+_0x477d('0x73bf')+_0x477d('0x73c0')+_0x477d('0x73c1')+_0x477d('0x73c2')+_0x477d('0x73c3')+_0x477d('0x73c4')+_0x477d('0x73c5')+_0x477d('0x73c6')+_0x477d('0x73c7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-bind-html=\x22message.body\x20|\x20embed:{linkTarget:\x27_blank\x27,emoji:false,fontSmiley:false}\x22>\x0a'+_0x477d('0x3671')+_0x477d('0x73c8')+_0x477d('0x73c9')+_0x477d('0x73ca')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36e5')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x73cc')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x73d1')+_0x477d('0x381e')+_0x477d('0x365d')+_0x477d('0x39c1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3844')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x39c2')+_0x477d('0x73d2')+_0x477d('0x3aea')+_0x477d('0x3aeb')+_0x477d('0x3aec')+_0x477d('0x3aed')+_0x477d('0x3aee')+_0x477d('0x36bf')+_0x477d('0x3aef')+_0x477d('0x3af0')+_0x477d('0x3674')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x73d3')+'\x0a'+_0x477d('0x73d4')+_0x477d('0x383b')+_0x477d('0x73d5')+_0x477d('0x73d6')+_0x477d('0x73d7')+_0x477d('0x39d2')+_0x477d('0x73d8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5041')+_0x477d('0x73d9')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x73da')+'\x0a'+_0x477d('0x73db')+_0x477d('0x383b')+_0x477d('0x73dc')+_0x477d('0x73dd')+_0x477d('0x73de')+_0x477d('0x73df')+_0x477d('0x39d2')+_0x477d('0x73e0')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x73e1')+_0x477d('0x383b')+_0x477d('0x73e2')+_0x477d('0x73e3')+_0x477d('0x73e4')+_0x477d('0x36a1')+_0x477d('0x73e5')+'\x0a'+_0x477d('0x3aea')+_0x477d('0x3aeb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x3aed')+_0x477d('0x3aee')+_0x477d('0x36bf')+_0x477d('0x3aef')+_0x477d('0x3af0')+_0x477d('0x3674')+_0x477d('0x3670')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x73e6')+_0x477d('0x387d')+_0x477d('0x387e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x3669')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79[_0x477d('0x390')](_0x477d('0x73e7'),_0x477d('0x73e8')+'\x20\x20\x20\x20\x0a'+_0x477d('0x39f0')+_0x477d('0x73e9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x73ea')+_0x477d('0x73eb')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x73ec')+_0x477d('0x73ed')+_0x477d('0x73ee')+_0x477d('0x372b')+_0x477d('0x73ef')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x37a7')+'\x0a'+_0x477d('0x73f0')+_0x477d('0x73f1')+_0x477d('0x73f2')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x73f3')+_0x477d('0x73f4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

{{group.name}}

\x0a'+_0x477d('0x3670')+_0x477d('0x36c0')+'\x0a'+_0x477d('0x73f5')+_0x477d('0x73f6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x73f7')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x73f8')+_0x477d('0x73f9')+_0x477d('0x73fa')+_0x477d('0x36c0')+_0x477d('0x5536')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x418e')+_0x477d('0x73fb')+_0x477d('0x377d')+'\x0a'+_0x477d('0x73fc')+_0x477d('0x73ac')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x73fd')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x73fe')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x73ff')+'\x0a'+_0x477d('0x73b3')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x7400')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x7401')+_0x477d('0x7402')+_0x477d('0x7403')+_0x477d('0x7404')+_0x477d('0x73c6')+_0x477d('0x7405')+_0x477d('0x7406')+_0x477d('0x3670')+_0x477d('0x7407')+_0x477d('0x3671')+_0x477d('0x7408')+_0x477d('0x7409')+_0x477d('0x3670')+_0x477d('0x36c0')+_0x477d('0x36e5')+_0x477d('0x3d37')+'\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x740a')+'\x0a'+_0x477d('0x740b')+_0x477d('0x73d0')+_0x477d('0x36dc')+_0x477d('0x366a')+_0x477d('0x377d'));_0x143a79[_0x477d('0x390')]('app/quick-panel/tabs/groups/info/dialog.html','\x0a'+_0x477d('0x73d1')+_0x477d('0x381e')+_0x477d('0x365d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.title\x20|\x20translate\x20}}\x0a'+_0x477d('0x740c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x740d')+_0x477d('0x463c')+_0x477d('0x5c69')+_0x477d('0x740e')+_0x477d('0x740f')+_0x477d('0x36bf')+_0x477d('0x7410')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.data.messages[$index].updatedAt\x20|\x20formatdate\x20}}\x0a'+_0x477d('0x36bf')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+_0x477d('0x7411')+_0x477d('0x3670')+_0x477d('0x36c0')+_0x477d('0x3663')+_0x477d('0x366a')+_0x477d('0x366b'));_0x143a79[_0x477d('0x390')](_0x477d('0x7412'),_0x477d('0x7413')+_0x477d('0x7414')+_0x477d('0x7415')+_0x477d('0x7416')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.date\x20|\x20date:\x27d\x27}}\x0a'+_0x477d('0x7417')+_0x477d('0x7418')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x0a'+_0x477d('0x4b6c')+'\x0a'+_0x477d('0x7419')+'\x0a'+_0x477d('0x741a')+_0x477d('0x741b')+'\x0a'+_0x477d('0x741c')+_0x477d('0x4b0e')+_0x477d('0x741d')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

{{event.detail}}

\x0a'+_0x477d('0x36e5')+'\x20\x20\x20\x20\x0a'+_0x477d('0x4b6c')+'\x0a'+_0x477d('0x4b0b')+'\x0a'+_0x477d('0x741a')+_0x477d('0x741e')+_0x477d('0x741f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

{{note.title}}

\x0a'+'\x0a'+_0x477d('0x7420')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x0a'+_0x477d('0x4b6c')+'\x0a'+_0x477d('0x4b0b')+'\x0a'+_0x477d('0x741a')+_0x477d('0x7421')+'\x0a'+_0x477d('0x7422')+'\x20\x20\x20\x20\x20\x20\x20\x20Notifications\x0a'+_0x477d('0x7423')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20translate-attr-aria-label=\x22QUICKPANEL.NOTIFICATIONS\x22>\x0a'+'\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x7422')+_0x477d('0x7424')+_0x477d('0x7425')+_0x477d('0x7426')+_0x477d('0x4b14')+'\x0a'+_0x477d('0x7422')+_0x477d('0x7427')+_0x477d('0x7428')+_0x477d('0x7429')+_0x477d('0x4b14')+_0x477d('0x742a'));_0x143a79[_0x477d('0x390')](_0x477d('0x36e'),_0x477d('0x742b')+_0x477d('0x742c')+_0x477d('0x742d')+'\x0a'+_0x477d('0x3999')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Reset\x20your\x20password\x0a'+'\x0a'+_0x477d('0x742e')+'\x0a'+_0x477d('0x399b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Password\x20field\x20is\x20required\x0a'+_0x477d('0x36a9')+_0x477d('0x39a0')+_0x477d('0x7432')+_0x477d('0x36a9')+_0x477d('0x36bf')+_0x477d('0x39a2')+'\x0a'+_0x477d('0x399b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RESET\x20MY\x20PASSWORD\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39b9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3699')+_0x477d('0x377d'));_0x143a79[_0x477d('0x390')]('app/toolbar/changepassword/changepassword.html',_0x477d('0x6625')+'\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x365d')+_0x477d('0x743a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Change\x20Password\x0a'+_0x477d('0x743b')+_0x477d('0x3844')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3660')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3aea')+_0x477d('0x3aeb')+_0x477d('0x3aec')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{error.message}}\x0a'+_0x477d('0x3aee')+_0x477d('0x36bf')+_0x477d('0x3aef')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3674')+_0x477d('0x3670')+_0x477d('0x36c0')+_0x477d('0x383b')+_0x477d('0x743c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x743d')+_0x477d('0x39d2')+_0x477d('0x743e')+_0x477d('0x36bf')+_0x477d('0x3670')+_0x477d('0x36a1')+_0x477d('0x383b')+_0x477d('0x743f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x39d2')+_0x477d('0x743e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x5041')+_0x477d('0x7440')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x7441')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20New\x20password\x20must\x20be\x20different\x20from\x20old\x20one\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3670')+_0x477d('0x36a1')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x7442')+_0x477d('0x63c1')+_0x477d('0x7443')+_0x477d('0x39d2')+_0x477d('0x7444')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x7445')+_0x477d('0x36bf')+_0x477d('0x3670')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3aea')+_0x477d('0x3aeb')+_0x477d('0x3aec')+_0x477d('0x3aed')+_0x477d('0x3aee')+_0x477d('0x36bf')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3674')+_0x477d('0x3670')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x3b1a')+_0x477d('0x387b')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x3669')+_0x477d('0x366a')+_0x477d('0x3840'));_0x143a79['put']('app/toolbar/layouts/vertical-navigation/toolbar.html',_0x477d('0x3992')+_0x477d('0x7446')+_0x477d('0x7447')+_0x477d('0x7448')+_0x477d('0x36dc')+'\x0a'+_0x477d('0x7449')+'\x0a'+_0x477d('0x744a')+'\x0a'+_0x477d('0x744b')+_0x477d('0x744c')+_0x477d('0x36e5')+'\x0a'+_0x477d('0x744d')+_0x477d('0x744e')+_0x477d('0x744f')+_0x477d('0x36e5')+'\x0a'+_0x477d('0x7450')+_0x477d('0x7451')+_0x477d('0x7452')+_0x477d('0x3699')+'\x0a'+_0x477d('0x7453')+'\x0a'+_0x477d('0x7454')+'\x0a'+_0x477d('0x7455')+_0x477d('0x7456')+_0x477d('0x7457')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x7458')+_0x477d('0x387e')+'\x0a'+_0x477d('0x7459')+_0x477d('0x745a')+_0x477d('0x745b')+_0x477d('0x387e')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x745c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3674')+_0x477d('0x4b9b')+_0x477d('0x745d')+_0x477d('0x745e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27TOOLBAR.NO_PAUSES_AVAILABLE\x27\x20|\x20translate}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x745f')+_0x477d('0x7460')+_0x477d('0x7461')+_0x477d('0x3832')+_0x477d('0x3a0f')+_0x477d('0x3a10')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36c0')+_0x477d('0x36e5')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x7462')+_0x477d('0x7463')+_0x477d('0x7464')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27TOOLBAR.LOGIN_TIME\x27\x20|\x20translate}}\x0a'+_0x477d('0x7465')+_0x477d('0x36c0')+_0x477d('0x7466')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20days\x20>\x200\x20?\x20days\x20+\x20\x27d\x27\x20:\x20\x27\x27\x20}}\x20{{hhours}}:{{mminutes}}:{{sseconds}}\x0a'+_0x477d('0x7467')+_0x477d('0x7468')+_0x477d('0x36c0')+_0x477d('0x7469')+_0x477d('0x746a')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x746b')+'\x0a'+_0x477d('0x746c')+_0x477d('0x746d')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x746e')+_0x477d('0x746f')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x7470')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36a9')+_0x477d('0x7471')+_0x477d('0x7472')+_0x477d('0x7473')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x7474')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x387e')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x7475')+_0x477d('0x7476')+_0x477d('0x7477')+_0x477d('0x59f5')+'\x0a'+_0x477d('0x7478')+_0x477d('0x7479')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Change\x20Password\x0a'+_0x477d('0x59f5')+'\x0a'+_0x477d('0x747a')+'\x0a'+_0x477d('0x7478')+_0x477d('0x747b')+_0x477d('0x747c')+_0x477d('0x59f5')+_0x477d('0x5a06')+_0x477d('0x4816')+_0x477d('0x747d')+'\x0a'+_0x477d('0x744a')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x747e')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x747f')+_0x477d('0x36dc')+'\x0a'+_0x477d('0x7480')+'\x0a'+_0x477d('0x7481')+_0x477d('0x7482')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x7483')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x372b')+'\x0a'+_0x477d('0x7484')+_0x477d('0x7485')+_0x477d('0x7486')+_0x477d('0x7487')+_0x477d('0x7488')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{lang.title}}\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3674')+_0x477d('0x480c')+_0x477d('0x38d6')+_0x477d('0x4c24')+'\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x0a'+_0x477d('0x7489')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36dc')+_0x477d('0x748a')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x36dc')+'\x0a'+_0x477d('0x748b')+'\x0a'+_0x477d('0x748c')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.unreadTotalMessages\x20+\x20vm.unreadTotalGroupMessages}}\x0a'+_0x477d('0x748d')+_0x477d('0x36dc')+'\x20\x20\x20\x20\x0a'+'\x0a');_0x143a79[_0x477d('0x390')](_0x477d('0x748e'),'\x0a'+_0x477d('0x748f')+_0x477d('0x46f9')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x7490')+_0x477d('0x3843')+_0x477d('0x3844')+_0x477d('0x387e')+_0x477d('0x36c0')+_0x477d('0x3660')+'\x0a'+_0x477d('0x39c2')+_0x477d('0x7491')+_0x477d('0x7492')+_0x477d('0x7493')+_0x477d('0x7494')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3c04')+_0x477d('0x7495')+_0x477d('0x7496')+_0x477d('0x7497')+_0x477d('0x3c04')+_0x477d('0x7498')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3c04')+_0x477d('0x7499')+_0x477d('0x749a')+_0x477d('0x749b')+_0x477d('0x3c04')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Company\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3c04')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x4b4d')+_0x477d('0x749c')+_0x477d('0x749d')+_0x477d('0x749e')+_0x477d('0x749f')+_0x477d('0x3c04')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x749c')+_0x477d('0x74a0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3c04')+_0x477d('0x3670')+_0x477d('0x36c0')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x74a1')+_0x477d('0x36c0')+_0x477d('0x3663')+'\x0a'+_0x477d('0x74a2')+_0x477d('0x74a3')+_0x477d('0x74a4')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x74a5')+_0x477d('0x74a6')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x74a7')+_0x477d('0x74a8')+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a'+_0x477d('0x3669')+'\x20\x20\x20\x20\x0a'+_0x477d('0x366b'));}]); \ No newline at end of file diff --git a/server/api/action/action.attributes.js b/server/api/action/action.attributes.js index 54f1085..25f6702 100644 --- a/server/api/action/action.attributes.js +++ b/server/api/action/action.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x76ff=['motionbar','jscripty','urlForward','bot','script','Allowed\x20values:\x20contactManager,\x20integration,\x20motionbar,\x20jscripty,\x20urlForward,\x20browser,\x20bot,\x20script','contactManager[ListId],\x20integration[intName(zendesk)],\x20motionbar[Popup(0),URL(1),WinApp(2)],\x20urlForward[GET,POST],\x20browser[TemplateId(0),URL(1)]','integration[AccountId],\x20motionbar[TemplateId,URL,WinAppPath],\x20urlForward[URL]','motionbar[NULL,NULL,WinAppArguments]','TEXT','sequelize','exports','VIRTUAL','action','STRING','contactManager','integration'];(function(_0x596284,_0x1cd02b){var _0x5313c6=function(_0x77db49){while(--_0x77db49){_0x596284['push'](_0x596284['shift']());}};_0x5313c6(++_0x1cd02b);}(_0x76ff,0x180));var _0xf76f=function(_0x259b8a,_0x526def){_0x259b8a=_0x259b8a-0x0;var _0x40b2b0=_0x76ff[_0x259b8a];return _0x40b2b0;};'use strict';var Sequelize=require(_0xf76f('0x0'));module[_0xf76f('0x1')]={'name':{'type':Sequelize[_0xf76f('0x2')],'get':function(_0x4ce130){return this['getDataValue'](_0xf76f('0x3'));}},'action':{'type':Sequelize[_0xf76f('0x4')],'allowNull':![],'validate':{'isIn':{'args':[[_0xf76f('0x5'),_0xf76f('0x6'),_0xf76f('0x7'),_0xf76f('0x8'),_0xf76f('0x9'),'browser',_0xf76f('0xa'),_0xf76f('0xb')]],'msg':_0xf76f('0xc')}},'comment':'Allowed\x20values:\x20contactManager,\x20integration,\x20motionbar,\x20jscripty,\x20urlForward,\x20browser,\x20bot,\x20script'},'data1':{'type':Sequelize[_0xf76f('0x4')](0x1000),'comment':_0xf76f('0xd')},'data2':{'type':Sequelize[_0xf76f('0x4')](0x1000),'comment':_0xf76f('0xe')},'data3':{'type':Sequelize[_0xf76f('0x4')](0x1000),'comment':_0xf76f('0xf')},'data4':{'type':Sequelize[_0xf76f('0x4')](0x1000)},'data5':{'type':Sequelize[_0xf76f('0x4')](0x1000)},'data6':{'type':Sequelize['STRING']},'data7':{'type':Sequelize[_0xf76f('0x10')]}}; \ No newline at end of file +var _0x18b0=['urlForward','browser','bot','script','Allowed\x20values:\x20contactManager,\x20integration,\x20motionbar,\x20jscripty,\x20urlForward,\x20browser,\x20bot,\x20script','contactManager[ListId],\x20integration[intName(zendesk)],\x20motionbar[Popup(0),URL(1),WinApp(2)],\x20urlForward[GET,POST],\x20browser[TemplateId(0),URL(1)]','integration[AccountId],\x20motionbar[TemplateId,URL,WinAppPath],\x20urlForward[URL]','motionbar[NULL,NULL,WinAppArguments]','TEXT','sequelize','exports','getDataValue','action','STRING','contactManager','motionbar','jscripty'];(function(_0x435cf8,_0x2aa562){var _0x53025b=function(_0x5ed774){while(--_0x5ed774){_0x435cf8['push'](_0x435cf8['shift']());}};_0x53025b(++_0x2aa562);}(_0x18b0,0xd5));var _0x018b=function(_0x54ec17,_0x324321){_0x54ec17=_0x54ec17-0x0;var _0x502799=_0x18b0[_0x54ec17];return _0x502799;};'use strict';var Sequelize=require(_0x018b('0x0'));module[_0x018b('0x1')]={'name':{'type':Sequelize['VIRTUAL'],'get':function(_0x4a3a3){return this[_0x018b('0x2')](_0x018b('0x3'));}},'action':{'type':Sequelize[_0x018b('0x4')],'allowNull':![],'validate':{'isIn':{'args':[[_0x018b('0x5'),'integration',_0x018b('0x6'),_0x018b('0x7'),_0x018b('0x8'),_0x018b('0x9'),_0x018b('0xa'),_0x018b('0xb')]],'msg':_0x018b('0xc')}},'comment':_0x018b('0xc')},'data1':{'type':Sequelize[_0x018b('0x4')](0x1000),'comment':_0x018b('0xd')},'data2':{'type':Sequelize[_0x018b('0x4')](0x1000),'comment':_0x018b('0xe')},'data3':{'type':Sequelize[_0x018b('0x4')](0x1000),'comment':_0x018b('0xf')},'data4':{'type':Sequelize['STRING'](0x1000)},'data5':{'type':Sequelize[_0x018b('0x4')](0x1000)},'data6':{'type':Sequelize['STRING']},'data7':{'type':Sequelize[_0x018b('0x10')]}}; \ No newline at end of file diff --git a/server/api/action/action.controller.js b/server/api/action/action.controller.js index 511d0ae..dc46971 100644 --- a/server/api/action/action.controller.js +++ b/server/api/action/action.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x3447=['limit','set','Content-Range','json','reject','save','update','then','destroy','stack','name','send','body','Action','find','catch','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','util','path','sox','to-csv','lodash','crypto','jsforce','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','../../config/utils','../../config/environment','sendStatus','status','end','count','offset'];(function(_0x3275cf,_0x3f56b2){var _0x3015b6=function(_0x4ac0cd){while(--_0x4ac0cd){_0x3275cf['push'](_0x3275cf['shift']());}};_0x3015b6(++_0x3f56b2);}(_0x3447,0xfb));var _0x7344=function(_0xa3463d,_0x32f8da){_0xa3463d=_0xa3463d-0x0;var _0x50fd67=_0x3447[_0xa3463d];return _0x50fd67;};'use strict';var pdf=require(_0x7344('0x0'));var emlformat=require(_0x7344('0x1'));var rimraf=require(_0x7344('0x2'));var zipdir=require(_0x7344('0x3'));var jsonpatch=require(_0x7344('0x4'));var rp=require(_0x7344('0x5'));var moment=require(_0x7344('0x6'));var BPromise=require(_0x7344('0x7'));var Mustache=require('mustache');var util=require(_0x7344('0x8'));var path=require(_0x7344('0x9'));var sox=require(_0x7344('0xa'));var csv=require(_0x7344('0xb'));var ejs=require('ejs');var fs=require('fs');var _=require(_0x7344('0xc'));var squel=require('squel');var crypto=require(_0x7344('0xd'));var jsforce=require(_0x7344('0xe'));var deskjs=require(_0x7344('0xf'));var toCsv=require(_0x7344('0xb'));var querystring=require(_0x7344('0x10'));var Papa=require(_0x7344('0x11'));var Redis=require(_0x7344('0x12'));var authService=require(_0x7344('0x13'));var qs=require(_0x7344('0x14'));var as=require(_0x7344('0x15'));var hardwareService=require(_0x7344('0x16'));var logger=require(_0x7344('0x17'))('api');var utils=require(_0x7344('0x18'));var config=require(_0x7344('0x19'));var db=require('../../mysqldb')['db'];function respondWithStatusCode(_0x384c05,_0x38247a){_0x38247a=_0x38247a||0xcc;return function(_0x487e12){if(_0x487e12){return _0x384c05[_0x7344('0x1a')](_0x38247a);}return _0x384c05[_0x7344('0x1b')](_0x38247a)[_0x7344('0x1c')]();};}function respondWithResult(_0x3639c0,_0x10ebf4){_0x10ebf4=_0x10ebf4||0xc8;return function(_0x49a0fc){if(_0x49a0fc){return _0x3639c0[_0x7344('0x1b')](_0x10ebf4)['json'](_0x49a0fc);}};}function respondWithFilteredResult(_0x129824,_0x484bde){return function(_0xfba1b4){if(_0xfba1b4){var _0x2708ef=_0xfba1b4[_0x7344('0x1d')],_0x48268a=_0x484bde[_0x7344('0x1e')],_0x57f1bc=_0x484bde[_0x7344('0x1e')]+_0x484bde[_0x7344('0x1f')],_0x1f266b;if(_0x57f1bc>=_0x2708ef){_0x57f1bc=_0x2708ef;_0x1f266b=0xc8;}else{_0x1f266b=0xce;}_0x129824['status'](_0x1f266b);return _0x129824[_0x7344('0x20')](_0x7344('0x21'),_0x48268a+'-'+_0x57f1bc+'/'+_0x2708ef)[_0x7344('0x22')](_0xfba1b4);}return null;};}function patchUpdates(_0xd8379b){return function(_0x4b232e){try{jsonpatch['apply'](_0x4b232e,_0xd8379b,!![]);}catch(_0x28dcef){return BPromise[_0x7344('0x23')](_0x28dcef);}return _0x4b232e[_0x7344('0x24')]();};}function saveUpdates(_0x397f66,_0x164efd){return function(_0x2ca975){if(_0x2ca975){return _0x2ca975[_0x7344('0x25')](_0x397f66)[_0x7344('0x26')](function(_0x2af016){return _0x2af016;});}return null;};}function removeEntity(_0x3b7b43,_0x49ad40){return function(_0x2a34fd){if(_0x2a34fd){return _0x2a34fd[_0x7344('0x27')]()[_0x7344('0x26')](function(){_0x3b7b43[_0x7344('0x1b')](0xcc)[_0x7344('0x1c')]();});}};}function handleEntityNotFound(_0x198979,_0x1b7bbc){return function(_0x182628){if(!_0x182628){_0x198979[_0x7344('0x1a')](0x194);}return _0x182628;};}function handleError(_0xf99114,_0x54e473){_0x54e473=_0x54e473||0x1f4;return function(_0x42ea20){logger['error'](_0x42ea20[_0x7344('0x28')]);if(_0x42ea20[_0x7344('0x29')]){delete _0x42ea20['name'];}_0xf99114[_0x7344('0x1b')](_0x54e473)[_0x7344('0x2a')](_0x42ea20);};}exports['update']=function(_0x2ee593,_0x62ac75){if(_0x2ee593['body']['id']){delete _0x2ee593[_0x7344('0x2b')]['id'];}return db[_0x7344('0x2c')][_0x7344('0x2d')]({'where':{'id':_0x2ee593['params']['id']}})[_0x7344('0x26')](handleEntityNotFound(_0x62ac75,null))[_0x7344('0x26')](saveUpdates(_0x2ee593['body'],null))['then'](respondWithResult(_0x62ac75,null))[_0x7344('0x2e')](handleError(_0x62ac75,null));};exports[_0x7344('0x27')]=function(_0x4133a3,_0x378f10){return db[_0x7344('0x2c')][_0x7344('0x2d')]({'where':{'id':_0x4133a3['params']['id']}})['then'](handleEntityNotFound(_0x378f10,null))[_0x7344('0x26')](removeEntity(_0x378f10,null))[_0x7344('0x2e')](handleError(_0x378f10,null));}; \ No newline at end of file +var _0xff09=['offset','limit','status','set','Content-Range','json','apply','save','update','then','destroy','name','send','body','find','params','catch','html-pdf','zip-dir','fast-json-patch','request-promise','moment','bluebird','util','path','lodash','squel','jsforce','desk.js','to-csv','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','sendStatus','end','count'];(function(_0x3f6140,_0x1263f7){var _0xa3a268=function(_0x496e81){while(--_0x496e81){_0x3f6140['push'](_0x3f6140['shift']());}};_0xa3a268(++_0x1263f7);}(_0xff09,0x119));var _0x9ff0=function(_0x38a0ec,_0x323c2e){_0x38a0ec=_0x38a0ec-0x0;var _0x15709e=_0xff09[_0x38a0ec];return _0x15709e;};'use strict';var pdf=require(_0x9ff0('0x0'));var emlformat=require('eml-format');var rimraf=require('rimraf');var zipdir=require(_0x9ff0('0x1'));var jsonpatch=require(_0x9ff0('0x2'));var rp=require(_0x9ff0('0x3'));var moment=require(_0x9ff0('0x4'));var BPromise=require(_0x9ff0('0x5'));var Mustache=require('mustache');var util=require(_0x9ff0('0x6'));var path=require(_0x9ff0('0x7'));var sox=require('sox');var csv=require('to-csv');var ejs=require('ejs');var fs=require('fs');var _=require(_0x9ff0('0x8'));var squel=require(_0x9ff0('0x9'));var crypto=require('crypto');var jsforce=require(_0x9ff0('0xa'));var deskjs=require(_0x9ff0('0xb'));var toCsv=require(_0x9ff0('0xc'));var querystring=require(_0x9ff0('0xd'));var Papa=require(_0x9ff0('0xe'));var Redis=require(_0x9ff0('0xf'));var authService=require(_0x9ff0('0x10'));var qs=require(_0x9ff0('0x11'));var as=require(_0x9ff0('0x12'));var hardwareService=require(_0x9ff0('0x13'));var logger=require(_0x9ff0('0x14'))(_0x9ff0('0x15'));var utils=require(_0x9ff0('0x16'));var config=require(_0x9ff0('0x17'));var db=require('../../mysqldb')['db'];function respondWithStatusCode(_0x1bafd6,_0xf42893){_0xf42893=_0xf42893||0xcc;return function(_0x4f8252){if(_0x4f8252){return _0x1bafd6[_0x9ff0('0x18')](_0xf42893);}return _0x1bafd6['status'](_0xf42893)[_0x9ff0('0x19')]();};}function respondWithResult(_0x3e69da,_0x2691d2){_0x2691d2=_0x2691d2||0xc8;return function(_0x316164){if(_0x316164){return _0x3e69da['status'](_0x2691d2)['json'](_0x316164);}};}function respondWithFilteredResult(_0x23d498,_0x3d7bee){return function(_0x10437f){if(_0x10437f){var _0x2971ac=_0x10437f[_0x9ff0('0x1a')],_0x1933fc=_0x3d7bee[_0x9ff0('0x1b')],_0x35e860=_0x3d7bee[_0x9ff0('0x1b')]+_0x3d7bee[_0x9ff0('0x1c')],_0x296178;if(_0x35e860>=_0x2971ac){_0x35e860=_0x2971ac;_0x296178=0xc8;}else{_0x296178=0xce;}_0x23d498[_0x9ff0('0x1d')](_0x296178);return _0x23d498[_0x9ff0('0x1e')](_0x9ff0('0x1f'),_0x1933fc+'-'+_0x35e860+'/'+_0x2971ac)[_0x9ff0('0x20')](_0x10437f);}return null;};}function patchUpdates(_0xd11534){return function(_0x2c3bf8){try{jsonpatch[_0x9ff0('0x21')](_0x2c3bf8,_0xd11534,!![]);}catch(_0x560acb){return BPromise['reject'](_0x560acb);}return _0x2c3bf8[_0x9ff0('0x22')]();};}function saveUpdates(_0x3dd22b,_0xe6af49){return function(_0x266185){if(_0x266185){return _0x266185[_0x9ff0('0x23')](_0x3dd22b)[_0x9ff0('0x24')](function(_0x3eba9a){return _0x3eba9a;});}return null;};}function removeEntity(_0x3933f7,_0x14b117){return function(_0x333154){if(_0x333154){return _0x333154[_0x9ff0('0x25')]()[_0x9ff0('0x24')](function(){_0x3933f7[_0x9ff0('0x1d')](0xcc)[_0x9ff0('0x19')]();});}};}function handleEntityNotFound(_0x59f807,_0x2cd5c0){return function(_0x159010){if(!_0x159010){_0x59f807[_0x9ff0('0x18')](0x194);}return _0x159010;};}function handleError(_0x520d07,_0x473b6a){_0x473b6a=_0x473b6a||0x1f4;return function(_0x18003d){logger['error'](_0x18003d['stack']);if(_0x18003d[_0x9ff0('0x26')]){delete _0x18003d[_0x9ff0('0x26')];}_0x520d07[_0x9ff0('0x1d')](_0x473b6a)[_0x9ff0('0x27')](_0x18003d);};}exports['update']=function(_0x5687c8,_0x1b33a7){if(_0x5687c8[_0x9ff0('0x28')]['id']){delete _0x5687c8['body']['id'];}return db['Action'][_0x9ff0('0x29')]({'where':{'id':_0x5687c8[_0x9ff0('0x2a')]['id']}})[_0x9ff0('0x24')](handleEntityNotFound(_0x1b33a7,null))[_0x9ff0('0x24')](saveUpdates(_0x5687c8[_0x9ff0('0x28')],null))[_0x9ff0('0x24')](respondWithResult(_0x1b33a7,null))[_0x9ff0('0x2b')](handleError(_0x1b33a7,null));};exports[_0x9ff0('0x25')]=function(_0x36a5bf,_0x284a41){return db['Action'][_0x9ff0('0x29')]({'where':{'id':_0x36a5bf[_0x9ff0('0x2a')]['id']}})[_0x9ff0('0x24')](handleEntityNotFound(_0x284a41,null))[_0x9ff0('0x24')](removeEntity(_0x284a41,null))['catch'](handleError(_0x284a41,null));}; \ No newline at end of file diff --git a/server/api/action/action.model.js b/server/api/action/action.model.js index 048a936..2cd26f7 100644 --- a/server/api/action/action.model.js +++ b/server/api/action/action.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x8970=['bluebird','rimraf','exports','define','tools_actions','lodash','../../config/logger','api'];(function(_0x30ddeb,_0x227942){var _0x13707e=function(_0x1478a6){while(--_0x1478a6){_0x30ddeb['push'](_0x30ddeb['shift']());}};_0x13707e(++_0x227942);}(_0x8970,0x16d));var _0x0897=function(_0x824866,_0x5f0c05){_0x824866=_0x824866-0x0;var _0x462276=_0x8970[_0x824866];return _0x462276;};'use strict';var _=require(_0x0897('0x0'));var util=require('util');var logger=require(_0x0897('0x1'))(_0x0897('0x2'));var moment=require('moment');var BPromise=require(_0x0897('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x0897('0x4'));var config=require('../../config/environment');var attributes=require('./action.attributes');module[_0x0897('0x5')]=function(_0x8efdfe,_0x2cb84b){return _0x8efdfe[_0x0897('0x6')]('Action',attributes,{'tableName':_0x0897('0x7'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0xa58c=['path','rimraf','../../config/environment','./action.attributes','exports','Action','tools_actions','lodash','util','../../config/logger','api','moment','bluebird','request-promise'];(function(_0x2da298,_0x435a4b){var _0x19f2cc=function(_0x57aafd){while(--_0x57aafd){_0x2da298['push'](_0x2da298['shift']());}};_0x19f2cc(++_0x435a4b);}(_0xa58c,0x173));var _0xca58=function(_0x4ba901,_0x58ae68){_0x4ba901=_0x4ba901-0x0;var _0x8a4150=_0xa58c[_0x4ba901];return _0x8a4150;};'use strict';var _=require(_0xca58('0x0'));var util=require(_0xca58('0x1'));var logger=require(_0xca58('0x2'))(_0xca58('0x3'));var moment=require(_0xca58('0x4'));var BPromise=require(_0xca58('0x5'));var rp=require(_0xca58('0x6'));var fs=require('fs');var path=require(_0xca58('0x7'));var rimraf=require(_0xca58('0x8'));var config=require(_0xca58('0x9'));var attributes=require(_0xca58('0xa'));module[_0xca58('0xb')]=function(_0x231a93,_0x365cbc){return _0x231a93['define'](_0xca58('0xc'),attributes,{'tableName':_0xca58('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/action/action.rpc.js b/server/api/action/action.rpc.js index 025c81c..ceefaa9 100644 --- a/server/api/action/action.rpc.js +++ b/server/api/action/action.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x0713=['Action,\x20%s,\x20%s','request\x20sent','debug','Action,\x20%s,\x20%s,\x20%s','stringify','error','code','message','result','catch','moment','bluebird','randomstring','ioredis','../../mysqldb','../../config/logger','rpc','../../config/environment','jayson/promise','client','http','request','then','info'];(function(_0x1aaea0,_0x107265){var _0x2e7b1a=function(_0x4f2745){while(--_0x4f2745){_0x1aaea0['push'](_0x1aaea0['shift']());}};_0x2e7b1a(++_0x107265);}(_0x0713,0x1ba));var _0x3071=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x0713[_0x3dd15e];return _0x231fd0;};'use strict';var _=require('lodash');var util=require('util');var moment=require(_0x3071('0x0'));var BPromise=require(_0x3071('0x1'));var rs=require(_0x3071('0x2'));var fs=require('fs');var Redis=require(_0x3071('0x3'));var db=require(_0x3071('0x4'))['db'];var utils=require('../../config/utils');var logger=require(_0x3071('0x5'))(_0x3071('0x6'));var config=require(_0x3071('0x7'));var jayson=require(_0x3071('0x8'));var client=jayson[_0x3071('0x9')][_0x3071('0xa')]({'port':0x232a});function respondWithRpcPromise(_0x1d3dd6,_0x2f1e87,_0xbd737f){return new BPromise(function(_0x22274c,_0x3e9a5e){return client[_0x3071('0xb')](_0x1d3dd6,_0xbd737f)[_0x3071('0xc')](function(_0x4a36ec){logger[_0x3071('0xd')](_0x3071('0xe'),_0x2f1e87,_0x3071('0xf'));logger[_0x3071('0x10')](_0x3071('0x11'),_0x2f1e87,'request\x20sent',JSON[_0x3071('0x12')](_0x4a36ec));if(_0x4a36ec[_0x3071('0x13')]){if(_0x4a36ec[_0x3071('0x13')][_0x3071('0x14')]===0x1f4){logger[_0x3071('0x13')]('Action,\x20%s,\x20%s',_0x2f1e87,_0x4a36ec['error'][_0x3071('0x15')]);return _0x3e9a5e(_0x4a36ec['error'][_0x3071('0x15')]);}logger[_0x3071('0x13')]('Action,\x20%s,\x20%s',_0x2f1e87,_0x4a36ec[_0x3071('0x13')]['message']);return _0x22274c(_0x4a36ec[_0x3071('0x13')][_0x3071('0x15')]);}else{logger[_0x3071('0xd')](_0x3071('0xe'),_0x2f1e87,_0x3071('0xf'));_0x22274c(_0x4a36ec[_0x3071('0x16')][_0x3071('0x15')]);}})[_0x3071('0x17')](function(_0x21aad3){logger[_0x3071('0x13')]('Action,\x20%s,\x20%s',_0x2f1e87,_0x21aad3);_0x3e9a5e(_0x21aad3);});});} \ No newline at end of file +var _0x70e0=['code','Action,\x20%s,\x20%s','message','result','catch','lodash','util','moment','ioredis','../../mysqldb','../../config/utils','../../config/logger','../../config/environment','client','request','then','info','debug','Action,\x20%s,\x20%s,\x20%s','request\x20sent','stringify','error'];(function(_0x286f96,_0xea2cbd){var _0x4d8a49=function(_0x1b28b0){while(--_0x1b28b0){_0x286f96['push'](_0x286f96['shift']());}};_0x4d8a49(++_0xea2cbd);}(_0x70e0,0x17b));var _0x070e=function(_0x57cf0e,_0x30a986){_0x57cf0e=_0x57cf0e-0x0;var _0x1c5851=_0x70e0[_0x57cf0e];return _0x1c5851;};'use strict';var _=require(_0x070e('0x0'));var util=require(_0x070e('0x1'));var moment=require(_0x070e('0x2'));var BPromise=require('bluebird');var rs=require('randomstring');var fs=require('fs');var Redis=require(_0x070e('0x3'));var db=require(_0x070e('0x4'))['db'];var utils=require(_0x070e('0x5'));var logger=require(_0x070e('0x6'))('rpc');var config=require(_0x070e('0x7'));var jayson=require('jayson/promise');var client=jayson[_0x070e('0x8')]['http']({'port':0x232a});function respondWithRpcPromise(_0x56e420,_0x5032e5,_0x35ab0c){return new BPromise(function(_0x1e11f0,_0x604664){return client[_0x070e('0x9')](_0x56e420,_0x35ab0c)[_0x070e('0xa')](function(_0x68a09e){logger[_0x070e('0xb')]('Action,\x20%s,\x20%s',_0x5032e5,'request\x20sent');logger[_0x070e('0xc')](_0x070e('0xd'),_0x5032e5,_0x070e('0xe'),JSON[_0x070e('0xf')](_0x68a09e));if(_0x68a09e[_0x070e('0x10')]){if(_0x68a09e[_0x070e('0x10')][_0x070e('0x11')]===0x1f4){logger[_0x070e('0x10')](_0x070e('0x12'),_0x5032e5,_0x68a09e[_0x070e('0x10')][_0x070e('0x13')]);return _0x604664(_0x68a09e['error']['message']);}logger[_0x070e('0x10')]('Action,\x20%s,\x20%s',_0x5032e5,_0x68a09e['error']['message']);return _0x1e11f0(_0x68a09e[_0x070e('0x10')][_0x070e('0x13')]);}else{logger['info']('Action,\x20%s,\x20%s',_0x5032e5,_0x070e('0xe'));_0x1e11f0(_0x68a09e[_0x070e('0x14')][_0x070e('0x13')]);}})[_0x070e('0x15')](function(_0x5bc71e){logger['error'](_0x070e('0x12'),_0x5032e5,_0x5bc71e);_0x604664(_0x5bc71e);});});} \ No newline at end of file diff --git a/server/api/action/index.js b/server/api/action/index.js index 136c29b..0ffdae3 100644 --- a/server/api/action/index.js +++ b/server/api/action/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x0477=['update','delete','/:id','exports','multer','util','path','Router','../../components/interaction/service','../../config/environment','isAuthenticated'];(function(_0x52b89d,_0x4db9c4){var _0xaa4eeb=function(_0x21f833){while(--_0x21f833){_0x52b89d['push'](_0x52b89d['shift']());}};_0xaa4eeb(++_0x4db9c4);}(_0x0477,0x14e));var _0x7047=function(_0x229a03,_0x36fefc){_0x229a03=_0x229a03-0x0;var _0x2d6e11=_0x0477[_0x229a03];return _0x2d6e11;};'use strict';var multer=require(_0x7047('0x0'));var util=require(_0x7047('0x1'));var path=require(_0x7047('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x7047('0x3')]();var auth=require('../../components/auth/service');var interaction=require(_0x7047('0x4'));var config=require(_0x7047('0x5'));var controller=require('./action.controller');router['put']('/:id',auth[_0x7047('0x6')](),controller[_0x7047('0x7')]);router[_0x7047('0x8')](_0x7047('0x9'),auth[_0x7047('0x6')](),controller['destroy']);module[_0x7047('0xa')]=router; \ No newline at end of file +var _0x7e77=['../../config/environment','put','isAuthenticated','delete','/:id','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service'];(function(_0x37418b,_0x24542b){var _0x6a924f=function(_0x454c01){while(--_0x454c01){_0x37418b['push'](_0x37418b['shift']());}};_0x6a924f(++_0x24542b);}(_0x7e77,0x70));var _0x77e7=function(_0x4792c8,_0x5158a1){_0x4792c8=_0x4792c8-0x0;var _0x35edb1=_0x7e77[_0x4792c8];return _0x35edb1;};'use strict';var multer=require(_0x77e7('0x0'));var util=require(_0x77e7('0x1'));var path=require(_0x77e7('0x2'));var timeout=require(_0x77e7('0x3'));var express=require(_0x77e7('0x4'));var router=express[_0x77e7('0x5')]();var auth=require(_0x77e7('0x6'));var interaction=require(_0x77e7('0x7'));var config=require(_0x77e7('0x8'));var controller=require('./action.controller');router[_0x77e7('0x9')]('/:id',auth[_0x77e7('0xa')](),controller['update']);router[_0x77e7('0xb')](_0x77e7('0xc'),auth['isAuthenticated'](),controller[_0x77e7('0xd')]);module[_0x77e7('0xe')]=router; \ No newline at end of file diff --git a/server/api/analyticCustomReport/analyticCustomReport.attributes.js b/server/api/analyticCustomReport/analyticCustomReport.attributes.js index e879f6a..2b42298 100644 --- a/server/api/analyticCustomReport/analyticCustomReport.attributes.js +++ b/server/api/analyticCustomReport/analyticCustomReport.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x414b=['STRING','TEXT'];(function(_0x39c5fe,_0x5bfad0){var _0x1e7e44=function(_0x4f5dea){while(--_0x4f5dea){_0x39c5fe['push'](_0x39c5fe['shift']());}};_0x1e7e44(++_0x5bfad0);}(_0x414b,0x12c));var _0xb414=function(_0xb667c6,_0x39ac73){_0xb667c6=_0xb667c6-0x0;var _0x2debca=_0x414b[_0xb667c6];return _0x2debca;};'use strict';var Sequelize=require('sequelize');module['exports']={'name':{'type':Sequelize[_0xb414('0x0')],'allowNull':![]},'description':{'type':Sequelize[_0xb414('0x0')]},'parent':{'type':Sequelize['STRING']},'table':{'type':Sequelize[_0xb414('0x0')]},'conditions':{'type':Sequelize['TEXT']},'joins':{'type':Sequelize[_0xb414('0x1')]}}; \ No newline at end of file +var _0x4a83=['TEXT','sequelize','exports','STRING'];(function(_0x470b51,_0x3a6ea8){var _0xa56d75=function(_0x1d56da){while(--_0x1d56da){_0x470b51['push'](_0x470b51['shift']());}};_0xa56d75(++_0x3a6ea8);}(_0x4a83,0x121));var _0x34a8=function(_0x30dfad,_0x2dba06){_0x30dfad=_0x30dfad-0x0;var _0x101afa=_0x4a83[_0x30dfad];return _0x101afa;};'use strict';var Sequelize=require(_0x34a8('0x0'));module[_0x34a8('0x1')]={'name':{'type':Sequelize[_0x34a8('0x2')],'allowNull':![]},'description':{'type':Sequelize[_0x34a8('0x2')]},'parent':{'type':Sequelize[_0x34a8('0x2')]},'table':{'type':Sequelize[_0x34a8('0x2')]},'conditions':{'type':Sequelize[_0x34a8('0x3')]},'joins':{'type':Sequelize[_0x34a8('0x3')]}}; \ No newline at end of file diff --git a/server/api/analyticCustomReport/analyticCustomReport.controller.js b/server/api/analyticCustomReport/analyticCustomReport.controller.js index 9870ee2..7da598c 100644 --- a/server/api/analyticCustomReport/analyticCustomReport.controller.js +++ b/server/api/analyticCustomReport/analyticCustomReport.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x4fdb=['squel','crypto','jsforce','querystring','papaparse','ioredis','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/environment','../../mysqldb','dbH','sendStatus','end','status','json','count','offset','limit','set','apply','reject','save','destroy','CustomReports','UserProfileResource','then','stack','name','send','index','map','AnalyticCustomReport','rawAttributes','fieldName','type','key','keys','query','filters','intersection','model','attributes','fields','length','order','sort','where','pick','filter','merge','VIRTUAL','options','includeAll','include','findAll','rows','show','create','body','get','Unable\x20to\x20retrieve\x20the\x20current\x20user','user','Reports','UserProfileSection','userProfileId','autoAssociation','catch','error','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','update','find','params','join','left_join','right_join','cross_join','SUM(%s)','COUNT(%s)','MAX(%s)','AVG(%s)','GROUP_CONCAT(%s\x20ORDER\x20BY\x20%s\x20ASC)','GROUP_CONCAT(%s\x20ORDER\x20BY\x20%s\x20DESC)','SEC_TO_TIME(%s)','DATE(%s)','HOUR(%s)','ROUND(%s)','UNIX_TIMESTAMP(%s)','includes','IS\x20NULL','IS\x20NOT\x20NULL','IS\x20EMPTY','rules','group','field','condition','value','Sequelize','Please\x20insert\x20at\x20least\x20one\x20field','AnalyticMetric','from','table','MetricId','function','replace','format','groupBy','orderBy','DESC','alias','joins','parse','foreignKey','foreignTable','%s.%s\x20=\x20%s.%s','parentKey','conditions','clone','debug','Limited\x20Query:','toString','sequelize','QueryTypes','SELECT','COUNT(DISTINCT\x20%s)','IS\x20NOT\x20EMPTY','operator','getFields','ValidationErrorItem','select','fullPath','%s-%s.%s','randomstring','generate','output','custom','AnalyticExtractedReport','.calldate\x20BETWEEN\x20?\x20AND\x20?','startDate','.createdAt\x20BETWEEN\x20?\x20AND\x20?','endDate','info','Run\x20Query:','child_process','fork','../../components/export/','../../files/reports','countTable','COUNT(*)','run','runReport','GROUP_CONCAT(%s)','keyBy','metric','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','mustache','path','to-csv'];(function(_0xa464c9,_0x7c86d8){var _0x3d73c4=function(_0x5c2056){while(--_0x5c2056){_0xa464c9['push'](_0xa464c9['shift']());}};_0x3d73c4(++_0x7c86d8);}(_0x4fdb,0x9c));var _0xb4fd=function(_0x4cbd25,_0x4038e5){_0x4cbd25=_0x4cbd25-0x0;var _0x3367d4=_0x4fdb[_0x4cbd25];return _0x3367d4;};'use strict';var pdf=require(_0xb4fd('0x0'));var emlformat=require(_0xb4fd('0x1'));var rimraf=require(_0xb4fd('0x2'));var zipdir=require(_0xb4fd('0x3'));var jsonpatch=require(_0xb4fd('0x4'));var rp=require(_0xb4fd('0x5'));var moment=require(_0xb4fd('0x6'));var BPromise=require(_0xb4fd('0x7'));var Mustache=require(_0xb4fd('0x8'));var util=require('util');var path=require(_0xb4fd('0x9'));var sox=require('sox');var csv=require(_0xb4fd('0xa'));var ejs=require('ejs');var fs=require('fs');var _=require('lodash');var squel=require(_0xb4fd('0xb'));var crypto=require(_0xb4fd('0xc'));var jsforce=require(_0xb4fd('0xd'));var deskjs=require('desk.js');var toCsv=require('to-csv');var querystring=require(_0xb4fd('0xe'));var Papa=require(_0xb4fd('0xf'));var Redis=require(_0xb4fd('0x10'));var authService=require('../../components/auth/service');var qs=require(_0xb4fd('0x11'));var as=require(_0xb4fd('0x12'));var hardwareService=require(_0xb4fd('0x13'));var logger=require(_0xb4fd('0x14'))(_0xb4fd('0x15'));var utils=require('../../config/utils');var config=require(_0xb4fd('0x16'));var db=require(_0xb4fd('0x17'))['db'];var dbH=require(_0xb4fd('0x17'))[_0xb4fd('0x18')];function respondWithStatusCode(_0x5ba7e1,_0x38173d){_0x38173d=_0x38173d||0xcc;return function(_0x65f08a){if(_0x65f08a){return _0x5ba7e1[_0xb4fd('0x19')](_0x38173d);}return _0x5ba7e1['status'](_0x38173d)[_0xb4fd('0x1a')]();};}function respondWithResult(_0x1234d7,_0xc35d8d){_0xc35d8d=_0xc35d8d||0xc8;return function(_0x41e21a){if(_0x41e21a){return _0x1234d7[_0xb4fd('0x1b')](_0xc35d8d)[_0xb4fd('0x1c')](_0x41e21a);}};}function respondWithFilteredResult(_0x3a0872,_0x47e288){return function(_0x2076d5){if(_0x2076d5){var _0x12401d=_0x2076d5[_0xb4fd('0x1d')],_0x2e92b5=_0x47e288[_0xb4fd('0x1e')],_0x2d4701=_0x47e288[_0xb4fd('0x1e')]+_0x47e288[_0xb4fd('0x1f')],_0x35adf3;if(_0x2d4701>=_0x12401d){_0x2d4701=_0x12401d;_0x35adf3=0xc8;}else{_0x35adf3=0xce;}_0x3a0872[_0xb4fd('0x1b')](_0x35adf3);return _0x3a0872[_0xb4fd('0x20')]('Content-Range',_0x2e92b5+'-'+_0x2d4701+'/'+_0x12401d)['json'](_0x2076d5);}return null;};}function patchUpdates(_0x504e80){return function(_0x5c14c0){try{jsonpatch[_0xb4fd('0x21')](_0x5c14c0,_0x504e80,!![]);}catch(_0x4413ad){return BPromise[_0xb4fd('0x22')](_0x4413ad);}return _0x5c14c0[_0xb4fd('0x23')]();};}function saveUpdates(_0x458133,_0x2adfbd){return function(_0xedff2f){if(_0xedff2f){return _0xedff2f['update'](_0x458133)['then'](function(_0x216307){return _0x216307;});}return null;};}function removeEntity(_0x25bb7d,_0x157fc2){return function(_0x4a1d88){if(_0x4a1d88){return _0x4a1d88[_0xb4fd('0x24')]()['then'](function(){var _0x46cba4=_0x4a1d88['get']({'plain':!![]});var _0x2a9c8c=_0xb4fd('0x25');return db[_0xb4fd('0x26')][_0xb4fd('0x24')]({'where':{'type':_0x2a9c8c,'resourceId':_0x46cba4['id']}})[_0xb4fd('0x27')](function(){return _0x4a1d88;});})[_0xb4fd('0x27')](function(){_0x25bb7d[_0xb4fd('0x1b')](0xcc)[_0xb4fd('0x1a')]();});}};}function handleEntityNotFound(_0x526fb2,_0x498761){return function(_0x4baf02){if(!_0x4baf02){_0x526fb2[_0xb4fd('0x19')](0x194);}return _0x4baf02;};}function handleError(_0x4bad85,_0x3617b2){_0x3617b2=_0x3617b2||0x1f4;return function(_0x5e9d2b){logger['error'](_0x5e9d2b[_0xb4fd('0x28')]);if(_0x5e9d2b[_0xb4fd('0x29')]){delete _0x5e9d2b[_0xb4fd('0x29')];}_0x4bad85['status'](_0x3617b2)[_0xb4fd('0x2a')](_0x5e9d2b);};}exports[_0xb4fd('0x2b')]=function(_0x68776,_0x1a653b){var _0x5d5606={},_0xd72bc3={},_0x263d6f={'count':0x0,'rows':[]};var _0x4836a0=_[_0xb4fd('0x2c')](db[_0xb4fd('0x2d')][_0xb4fd('0x2e')],function(_0x597874){return{'name':_0x597874[_0xb4fd('0x2f')],'type':_0x597874[_0xb4fd('0x30')][_0xb4fd('0x31')]};});_0xd72bc3['model']=_['map'](_0x4836a0,'name');_0xd72bc3['query']=_[_0xb4fd('0x32')](_0x68776[_0xb4fd('0x33')]);_0xd72bc3[_0xb4fd('0x34')]=_[_0xb4fd('0x35')](_0xd72bc3[_0xb4fd('0x36')],_0xd72bc3[_0xb4fd('0x33')]);_0x5d5606[_0xb4fd('0x37')]=_[_0xb4fd('0x35')](_0xd72bc3[_0xb4fd('0x36')],qs[_0xb4fd('0x38')](_0x68776[_0xb4fd('0x33')][_0xb4fd('0x38')]));_0x5d5606[_0xb4fd('0x37')]=_0x5d5606[_0xb4fd('0x37')][_0xb4fd('0x39')]?_0x5d5606[_0xb4fd('0x37')]:_0xd72bc3[_0xb4fd('0x36')];if(!_0x68776[_0xb4fd('0x33')]['hasOwnProperty']('nolimit')){_0x5d5606[_0xb4fd('0x1f')]=qs[_0xb4fd('0x1f')](_0x68776[_0xb4fd('0x33')][_0xb4fd('0x1f')]);_0x5d5606[_0xb4fd('0x1e')]=qs['offset'](_0x68776[_0xb4fd('0x33')][_0xb4fd('0x1e')]);}_0x5d5606[_0xb4fd('0x3a')]=qs[_0xb4fd('0x3b')](_0x68776[_0xb4fd('0x33')]['sort']);_0x5d5606[_0xb4fd('0x3c')]=qs['filters'](_[_0xb4fd('0x3d')](_0x68776[_0xb4fd('0x33')],_0xd72bc3['filters']),_0x4836a0);if(_0x68776['query'][_0xb4fd('0x3e')]){_0x5d5606[_0xb4fd('0x3c')]=_[_0xb4fd('0x3f')](_0x5d5606[_0xb4fd('0x3c')],{'$or':_[_0xb4fd('0x2c')](_0x4836a0,function(_0x2718a0){if(_0x2718a0['type']!==_0xb4fd('0x40')){var _0x1c99b7={};_0x1c99b7[_0x2718a0['name']]={'$like':'%'+_0x68776[_0xb4fd('0x33')][_0xb4fd('0x3e')]+'%'};return _0x1c99b7;}})});}_0x5d5606=_[_0xb4fd('0x3f')]({},_0x5d5606,_0x68776[_0xb4fd('0x41')]);var _0x511d2b={'where':_0x5d5606[_0xb4fd('0x3c')]};return db[_0xb4fd('0x2d')][_0xb4fd('0x1d')](_0x511d2b)[_0xb4fd('0x27')](function(_0xcbd37){_0x263d6f[_0xb4fd('0x1d')]=_0xcbd37;if(_0x68776['query'][_0xb4fd('0x42')]){_0x5d5606[_0xb4fd('0x43')]=[{'all':!![]}];}return db['AnalyticCustomReport'][_0xb4fd('0x44')](_0x5d5606);})[_0xb4fd('0x27')](function(_0x1d1a43){_0x263d6f[_0xb4fd('0x45')]=_0x1d1a43;return _0x263d6f;})[_0xb4fd('0x27')](respondWithFilteredResult(_0x1a653b,_0x5d5606))['catch'](handleError(_0x1a653b,null));};exports[_0xb4fd('0x46')]=function(_0x661f32,_0xdaac5a){var _0x571c39={'raw':![],'where':{'id':_0x661f32['params']['id']}},_0x28bd3f={};_0x28bd3f[_0xb4fd('0x36')]=_[_0xb4fd('0x32')](db['AnalyticCustomReport'][_0xb4fd('0x2e')]);_0x28bd3f['query']=_[_0xb4fd('0x32')](_0x661f32[_0xb4fd('0x33')]);_0x28bd3f[_0xb4fd('0x34')]=_['intersection'](_0x28bd3f[_0xb4fd('0x36')],_0x28bd3f[_0xb4fd('0x33')]);_0x571c39[_0xb4fd('0x37')]=_[_0xb4fd('0x35')](_0x28bd3f[_0xb4fd('0x36')],qs[_0xb4fd('0x38')](_0x661f32[_0xb4fd('0x33')]['fields']));_0x571c39['attributes']=_0x571c39[_0xb4fd('0x37')][_0xb4fd('0x39')]?_0x571c39[_0xb4fd('0x37')]:_0x28bd3f[_0xb4fd('0x36')];if(_0x661f32['query'][_0xb4fd('0x42')]){_0x571c39['include']=[{'all':!![]}];}_0x571c39=_['merge']({},_0x571c39,_0x661f32[_0xb4fd('0x41')]);return db[_0xb4fd('0x2d')]['find'](_0x571c39)[_0xb4fd('0x27')](handleEntityNotFound(_0xdaac5a,null))[_0xb4fd('0x27')](respondWithResult(_0xdaac5a,null))['catch'](handleError(_0xdaac5a,null));};exports[_0xb4fd('0x47')]=function(_0x208430,_0x3b6014){return db['AnalyticCustomReport']['create'](_0x208430[_0xb4fd('0x48')],{})[_0xb4fd('0x27')](function(_0x17fbc7){var _0x339990=_0x208430['user'][_0xb4fd('0x49')]({'plain':!![]});if(!_0x339990)throw new Error(_0xb4fd('0x4a'));if(_0x339990['role']===_0xb4fd('0x4b')){var _0x24c7d4=_0x17fbc7[_0xb4fd('0x49')]({'plain':!![]});var _0x4bc6b2=_0xb4fd('0x4c');return db[_0xb4fd('0x4d')]['find']({'where':{'name':_0x4bc6b2,'userProfileId':_0x339990[_0xb4fd('0x4e')]},'raw':!![]})['then'](function(_0x5a7bc0){if(_0x5a7bc0&&_0x5a7bc0[_0xb4fd('0x4f')]===0x0){return db[_0xb4fd('0x26')][_0xb4fd('0x47')]({'name':_0x24c7d4[_0xb4fd('0x29')],'resourceId':_0x24c7d4['id'],'type':_0xb4fd('0x25'),'sectionId':_0x5a7bc0['id']},{})[_0xb4fd('0x27')](function(){return _0x17fbc7;});}else{return _0x17fbc7;}})[_0xb4fd('0x50')](function(_0x315524){logger[_0xb4fd('0x51')](_0xb4fd('0x52'),_0x315524);throw _0x315524;});}return _0x17fbc7;})[_0xb4fd('0x27')](respondWithResult(_0x3b6014,0xc9))[_0xb4fd('0x50')](handleError(_0x3b6014,null));};exports[_0xb4fd('0x53')]=function(_0x3ba6e3,_0xbf4686){if(_0x3ba6e3['body']['id']){delete _0x3ba6e3['body']['id'];}return db[_0xb4fd('0x2d')][_0xb4fd('0x54')]({'where':{'id':_0x3ba6e3[_0xb4fd('0x55')]['id']}})[_0xb4fd('0x27')](handleEntityNotFound(_0xbf4686,null))[_0xb4fd('0x27')](saveUpdates(_0x3ba6e3['body'],null))['then'](respondWithResult(_0xbf4686,null))[_0xb4fd('0x50')](handleError(_0xbf4686,null));};exports[_0xb4fd('0x24')]=function(_0x5a5bf9,_0x534f46){return db['AnalyticCustomReport'][_0xb4fd('0x54')]({'where':{'id':_0x5a5bf9[_0xb4fd('0x55')]['id']}})[_0xb4fd('0x27')](handleEntityNotFound(_0x534f46,null))[_0xb4fd('0x27')](removeEntity(_0x534f46,null))['catch'](handleError(_0x534f46,null));};exports['preview']=function(_0x380638,_0x265ae6){var _0x22ec0d=0xa;var _0x4c2f50=[_0xb4fd('0x56'),_0xb4fd('0x57'),_0xb4fd('0x58'),_0xb4fd('0x59')];var _0x566b7c={'SUM':_0xb4fd('0x5a'),'COUNT':_0xb4fd('0x5b'),'COUNT DISTINCT':'COUNT(DISTINCT\x20%s)','MAX':_0xb4fd('0x5c'),'MIN':'MIN(%s)','AVG':_0xb4fd('0x5d'),'GROUP_CONCAT':'GROUP_CONCAT(%s)','GROUP_CONCAT ASC':_0xb4fd('0x5e'),'GROUP_CONCAT DESC':_0xb4fd('0x5f')};var _0xbe2c63={'SEC_TO_TIME':_0xb4fd('0x60'),'DATE':_0xb4fd('0x61'),'HOUR':_0xb4fd('0x62'),'ROUND':_0xb4fd('0x63'),'UNIX_TIMESTAMP':_0xb4fd('0x64')};var _0x7021cf=function(_0x1e19e3){return!_[_0xb4fd('0x65')]([_0xb4fd('0x66'),_0xb4fd('0x67'),_0xb4fd('0x68'),'IS\x20NOT\x20EMPTY'],_0x1e19e3);};var _0x3274db=function(_0x56f77c){if(!_0x56f77c||!_0x56f77c[_0xb4fd('0x69')]['length']){return'';}for(var _0x244f91='(',_0x15a097=0x0;_0x15a097<_0x56f77c[_0xb4fd('0x69')][_0xb4fd('0x39')];_0x15a097+=0x1){_0x15a097>0x0&&(_0x244f91+='\x20'+_0x56f77c['operator']+'\x20');_0x244f91+=_0x56f77c['rules'][_0x15a097][_0xb4fd('0x6a')]?_0x3274db(_0x56f77c['rules'][_0x15a097][_0xb4fd('0x6a')]):_0x56f77c[_0xb4fd('0x69')][_0x15a097][_0xb4fd('0x6b')]+'\x20'+_0x56f77c['rules'][_0x15a097][_0xb4fd('0x6c')]+(_0x7021cf(_0x56f77c['rules'][_0x15a097][_0xb4fd('0x6c')])?'\x20'+_0x56f77c[_0xb4fd('0x69')][_0x15a097][_0xb4fd('0x6d')]:'');}return _0x244f91+')';};var _0x2fe519={'where':{'id':_0x380638[_0xb4fd('0x55')]['id']}},_0x521ff6,_0x65661a,_0x483dfd,_0x38bac8,_0x3c573a;_0x2fe519=_['merge']({},_0x2fe519,_0x380638['options']);return db['AnalyticCustomReport'][_0xb4fd('0x54')](_0x2fe519)['then'](function(_0x3fac26){if(_0x3fac26){_0x521ff6=_0x3fac26;return _0x3fac26['getFields']();}return null;})[_0xb4fd('0x27')](function(_0x138330){if(_0x138330){if(!_0x138330[_0xb4fd('0x39')]){throw new db[(_0xb4fd('0x6e'))]['ValidationErrorItem'](_0xb4fd('0x6f'),0x193);}_0x65661a=_0x138330;return db[_0xb4fd('0x70')][_0xb4fd('0x44')]({'raw':!![]});}return null;})[_0xb4fd('0x27')](function(_0x139004){if(_0x139004){_0x483dfd=_['keyBy'](_0x139004,'id');var _0x3b232e;var _0xcc95ba=squel['select']();_0xcc95ba[_0xb4fd('0x71')](_0x521ff6[_0xb4fd('0x72')]);for(var _0x31b1bb=0x0;_0x31b1bb<_0x65661a[_0xb4fd('0x39')];_0x31b1bb+=0x1){_0x3b232e=_0x65661a[_0x31b1bb][_0xb4fd('0x73')]?_0x483dfd[_0x65661a[_0x31b1bb][_0xb4fd('0x73')]]['metric']:_0x65661a[_0x31b1bb][_0xb4fd('0x6b')];_0x3b232e=_0x65661a[_0x31b1bb][_0xb4fd('0x74')]?_[_0xb4fd('0x75')](_0x566b7c[_0x65661a[_0x31b1bb][_0xb4fd('0x74')]],'%s',_0x3b232e):_0x3b232e;_0x3b232e=_0x65661a[_0x31b1bb][_0xb4fd('0x76')]?_[_0xb4fd('0x75')](_0xbe2c63[_0x65661a[_0x31b1bb][_0xb4fd('0x76')]],'%s',_0x3b232e):_0x3b232e;if(_0x65661a[_0x31b1bb][_0xb4fd('0x77')]){_0xcc95ba[_0xb4fd('0x6a')](_0x3b232e);}_0x65661a[_0x31b1bb][_0xb4fd('0x78')]&&_0xcc95ba[_0xb4fd('0x3a')](_0x3b232e,_0x65661a[_0x31b1bb][_0xb4fd('0x78')]===_0xb4fd('0x79')?![]:!![]);_0xcc95ba[_0xb4fd('0x6b')](_0x3b232e,_0x65661a[_0x31b1bb][_0xb4fd('0x7a')]||_0x3b232e);}if(_0x521ff6['joins']){_0x521ff6[_0xb4fd('0x7b')]=JSON[_0xb4fd('0x7c')](_0x521ff6[_0xb4fd('0x7b')]);for(var _0x4ba09d=0x0;_0x4ba09d<_0x521ff6[_0xb4fd('0x7b')]['length'];_0x4ba09d+=0x1){if(_0x521ff6[_0xb4fd('0x7b')][_0x4ba09d]['type']&&_['includes'](_0x4c2f50,_0x521ff6['joins'][_0x4ba09d][_0xb4fd('0x30')])&&_0x521ff6['joins'][_0x4ba09d]['parentKey']&&_0x521ff6[_0xb4fd('0x7b')][_0x4ba09d]['foreignTable']&&_0x521ff6['joins'][_0x4ba09d][_0xb4fd('0x7d')]){_0xcc95ba[_0x521ff6['joins'][_0x4ba09d][_0xb4fd('0x30')]](_0x521ff6[_0xb4fd('0x7b')][_0x4ba09d][_0xb4fd('0x7e')],null,util[_0xb4fd('0x76')](_0xb4fd('0x7f'),_0x521ff6['table'],_0x521ff6['joins'][_0x4ba09d][_0xb4fd('0x80')],_0x521ff6[_0xb4fd('0x7b')][_0x4ba09d]['foreignTable'],_0x521ff6[_0xb4fd('0x7b')][_0x4ba09d][_0xb4fd('0x7d')]));}}}if(_0x521ff6[_0xb4fd('0x81')]){_0x521ff6[_0xb4fd('0x81')]=JSON['parse'](_0x521ff6[_0xb4fd('0x81')]);_0xcc95ba[_0xb4fd('0x3c')](_0x3274db(_0x521ff6[_0xb4fd('0x81')]['group']));}_0x3c573a=_0xcc95ba[_0xb4fd('0x82')]();_0xcc95ba[_0xb4fd('0x1f')](_0x22ec0d);_0xcc95ba['offset'](0x0);logger[_0xb4fd('0x83')](_0xb4fd('0x84'),_0xcc95ba[_0xb4fd('0x85')]());return db[_0xb4fd('0x86')][_0xb4fd('0x33')](_0xcc95ba[_0xb4fd('0x85')](),{'type':db[_0xb4fd('0x86')][_0xb4fd('0x87')][_0xb4fd('0x88')]});}})[_0xb4fd('0x27')](respondWithResult(_0x265ae6,null))['catch'](handleError(_0x265ae6,null));};function runReport(_0x12e965,_0x511072,_0x2d5b9b){var _0x3200aa=_0x511072[_0xb4fd('0x29')];var _0x671ce5=0xa;var _0x1e94a4=[_0xb4fd('0x56'),_0xb4fd('0x57'),_0xb4fd('0x58'),_0xb4fd('0x59')];var _0x1ab011={'SUM':_0xb4fd('0x5a'),'COUNT':_0xb4fd('0x5b'),'COUNT DISTINCT':_0xb4fd('0x89'),'MAX':_0xb4fd('0x5c'),'MIN':'MIN(%s)','AVG':_0xb4fd('0x5d'),'GROUP_CONCAT':'GROUP_CONCAT(%s)','GROUP_CONCAT ASC':_0xb4fd('0x5e'),'GROUP_CONCAT DESC':'GROUP_CONCAT(%s\x20ORDER\x20BY\x20%s\x20DESC)'};var _0x3441ad={'SEC_TO_TIME':'SEC_TO_TIME(%s)','DATE':_0xb4fd('0x61'),'HOUR':'HOUR(%s)','ROUND':_0xb4fd('0x63'),'UNIX_TIMESTAMP':_0xb4fd('0x64')};var _0x5e91d9=function(_0x456309){return!_[_0xb4fd('0x65')]([_0xb4fd('0x66'),_0xb4fd('0x67'),_0xb4fd('0x68'),_0xb4fd('0x8a')],_0x456309);};var _0x23b4b4=function(_0x37544f){if(!_0x37544f||!_0x37544f[_0xb4fd('0x69')][_0xb4fd('0x39')]){return'';}for(var _0x4bdbc9='(',_0x14be3e=0x0;_0x14be3e<_0x37544f[_0xb4fd('0x69')][_0xb4fd('0x39')];_0x14be3e+=0x1){_0x14be3e>0x0&&(_0x4bdbc9+='\x20'+_0x37544f[_0xb4fd('0x8b')]+'\x20');_0x4bdbc9+=_0x37544f['rules'][_0x14be3e][_0xb4fd('0x6a')]?_0x23b4b4(_0x37544f[_0xb4fd('0x69')][_0x14be3e][_0xb4fd('0x6a')]):_0x37544f['rules'][_0x14be3e]['field']+'\x20'+_0x37544f['rules'][_0x14be3e]['condition']+(_0x5e91d9(_0x37544f[_0xb4fd('0x69')][_0x14be3e][_0xb4fd('0x6c')])?'\x20'+_0x37544f['rules'][_0x14be3e][_0xb4fd('0x6d')]:'');}return _0x4bdbc9+')';};var _0x21fe18={'where':{'id':_0x12e965['id']}},_0x2722cd,_0x4b18f3,_0xba1aee,_0x27d024,_0x2efa1a;_0x21fe18=_[_0xb4fd('0x3f')]({},_0x21fe18,_0x2d5b9b);return db[_0xb4fd('0x2d')][_0xb4fd('0x54')](_0x21fe18)['then'](function(_0x1d8a56){if(_0x1d8a56){_0x2722cd=_0x1d8a56;return _0x1d8a56[_0xb4fd('0x8c')]();}return null;})[_0xb4fd('0x27')](function(_0x102e93){if(_0x102e93){if(!_0x102e93['length']){throw new db[(_0xb4fd('0x6e'))][(_0xb4fd('0x8d'))](_0xb4fd('0x6f'),0x193);}_0x4b18f3=_0x102e93;return db[_0xb4fd('0x70')][_0xb4fd('0x44')]({'raw':!![]});}return null;})[_0xb4fd('0x27')](function(_0x13c318){if(_0x13c318){_0xba1aee=_['keyBy'](_0x13c318,'id');var _0x2a6eed;var _0x3c66b1=squel[_0xb4fd('0x8e')]();_0x3c66b1[_0xb4fd('0x71')](_0x2722cd[_0xb4fd('0x72')]);for(var _0xbea99f=0x0;_0xbea99f<_0x4b18f3[_0xb4fd('0x39')];_0xbea99f+=0x1){_0x2a6eed=_0x4b18f3[_0xbea99f][_0xb4fd('0x73')]?_0xba1aee[_0x4b18f3[_0xbea99f][_0xb4fd('0x73')]]['metric']:_0x4b18f3[_0xbea99f][_0xb4fd('0x6b')];_0x2a6eed=_0x4b18f3[_0xbea99f][_0xb4fd('0x74')]?_['replace'](_0x1ab011[_0x4b18f3[_0xbea99f][_0xb4fd('0x74')]],'%s',_0x2a6eed):_0x2a6eed;_0x2a6eed=_0x4b18f3[_0xbea99f]['format']?_[_0xb4fd('0x75')](_0x3441ad[_0x4b18f3[_0xbea99f][_0xb4fd('0x76')]],'%s',_0x2a6eed):_0x2a6eed;if(_0x4b18f3[_0xbea99f]['groupBy']){_0x3c66b1[_0xb4fd('0x6a')](_0x2a6eed);}_0x4b18f3[_0xbea99f]['orderBy']&&_0x3c66b1['order'](_0x2a6eed,_0x4b18f3[_0xbea99f][_0xb4fd('0x78')]==='DESC'?![]:!![]);_0x3c66b1[_0xb4fd('0x6b')](_0x2a6eed,_0x4b18f3[_0xbea99f][_0xb4fd('0x7a')]||_0x2a6eed);}if(_0x2722cd[_0xb4fd('0x7b')]){_0x2722cd[_0xb4fd('0x7b')]=JSON[_0xb4fd('0x7c')](_0x2722cd[_0xb4fd('0x7b')]);for(var _0x31fcad=0x0;_0x31fcad<_0x2722cd['joins'][_0xb4fd('0x39')];_0x31fcad+=0x1){if(_0x2722cd[_0xb4fd('0x7b')][_0x31fcad][_0xb4fd('0x30')]&&_['includes'](_0x1e94a4,_0x2722cd[_0xb4fd('0x7b')][_0x31fcad][_0xb4fd('0x30')])&&_0x2722cd[_0xb4fd('0x7b')][_0x31fcad][_0xb4fd('0x80')]&&_0x2722cd['joins'][_0x31fcad]['foreignTable']&&_0x2722cd[_0xb4fd('0x7b')][_0x31fcad]['foreignKey']){_0x3c66b1[_0x2722cd[_0xb4fd('0x7b')][_0x31fcad][_0xb4fd('0x30')]](_0x2722cd['joins'][_0x31fcad][_0xb4fd('0x7e')],null,util[_0xb4fd('0x76')](_0xb4fd('0x7f'),_0x2722cd[_0xb4fd('0x72')],_0x2722cd['joins'][_0x31fcad][_0xb4fd('0x80')],_0x2722cd[_0xb4fd('0x7b')][_0x31fcad]['foreignTable'],_0x2722cd[_0xb4fd('0x7b')][_0x31fcad][_0xb4fd('0x7d')]));}}}if(_0x2722cd[_0xb4fd('0x81')]){_0x2722cd[_0xb4fd('0x81')]=JSON[_0xb4fd('0x7c')](_0x2722cd[_0xb4fd('0x81')]);_0x3c66b1[_0xb4fd('0x3c')](_0x23b4b4(_0x2722cd[_0xb4fd('0x81')]['group']));}_0x2efa1a=_0x3c66b1[_0xb4fd('0x82')]();_0x3c66b1[_0xb4fd('0x1f')](_0x671ce5);_0x3c66b1[_0xb4fd('0x1e')](0x0);logger['debug'](_0xb4fd('0x84'),_0x3c66b1[_0xb4fd('0x85')]());return db[_0xb4fd('0x86')][_0xb4fd('0x33')](_0x3c66b1[_0xb4fd('0x85')](),{'type':db[_0xb4fd('0x86')][_0xb4fd('0x87')][_0xb4fd('0x88')]});}})[_0xb4fd('0x27')](function(_0x529eea){if(!_0x529eea['length']){throw new db[(_0xb4fd('0x6e'))][(_0xb4fd('0x8d'))]('No\x20available\x20data',0xcc);}if(_0x511072['output']==='web'){return null;}var _0x1f950c=_['merge'](_0x511072,{'name':_0x511072[_0xb4fd('0x8f')]||_0x511072[_0xb4fd('0x29')]||_0x2722cd[_0xb4fd('0x29')],'basename':_0x3200aa,'savename':util[_0xb4fd('0x76')](_0xb4fd('0x90'),_0x511072[_0xb4fd('0x29')]||_0x2722cd[_0xb4fd('0x29')],require(_0xb4fd('0x91'))[_0xb4fd('0x92')](0x4),_0x511072[_0xb4fd('0x93')]||'csv'),'reportId':_0x2722cd['id'],'reportType':_0xb4fd('0x94')});return db[_0xb4fd('0x95')][_0xb4fd('0x47')](_0x1f950c,{'raw':!![]});})['then'](function(_0x26861e){if(_0x2722cd[_0xb4fd('0x72')]==='cdr'){_0x2efa1a[_0xb4fd('0x3c')](_0x2722cd[_0xb4fd('0x72')]+_0xb4fd('0x96'),_0x511072[_0xb4fd('0x97')],_0x511072['endDate']);}else{_0x2efa1a[_0xb4fd('0x3c')](_0x2722cd[_0xb4fd('0x72')]+_0xb4fd('0x98'),_0x511072[_0xb4fd('0x97')],_0x511072[_0xb4fd('0x99')]);}if(_0x26861e){logger[_0xb4fd('0x9a')](_0xb4fd('0x9b'),_0x2efa1a[_0xb4fd('0x85')]());require(_0xb4fd('0x9c'))[_0xb4fd('0x9d')](path[_0xb4fd('0x56')](__dirname,_0xb4fd('0x9e'),_0x26861e[_0xb4fd('0x93')]),[_0x26861e['id'],_0x2efa1a[_0xb4fd('0x85')](),path[_0xb4fd('0x56')](__dirname,_0xb4fd('0x9f'),_0x26861e['savename']),_0x3200aa]);return _0x26861e;}else{var _0x489433=squel[_0xb4fd('0x8e')]();_0x489433[_0xb4fd('0x71')]('('+_0x2efa1a[_0xb4fd('0x85')]()+')',_0xb4fd('0xa0'));_0x489433['field'](_0xb4fd('0xa1'),'count');_0x2efa1a[_0xb4fd('0x1f')](_0x511072['limit']||_0x671ce5);_0x2efa1a['offset'](_0x511072['offset']||0x0);return dbH[_0xb4fd('0x86')][_0xb4fd('0x33')](_0x489433['toString'](),{'type':dbH['sequelize'][_0xb4fd('0x87')][_0xb4fd('0x88')]})[_0xb4fd('0x27')](function(_0x4841c6){if(!_0x4841c6[_0xb4fd('0x39')]){_0x27d024=0x0;}else{_0x27d024=_0x4841c6[0x0][_0xb4fd('0x1d')]||0x0;}return dbH[_0xb4fd('0x86')][_0xb4fd('0x33')](_0x2efa1a['toString'](),{'type':dbH[_0xb4fd('0x86')][_0xb4fd('0x87')][_0xb4fd('0x88')]});})[_0xb4fd('0x27')](function(_0x1be707){return{'rows':_0x1be707||[],'count':_0x27d024};});}});}exports[_0xb4fd('0xa2')]=function(_0x40a93e,_0x4c996c){return runReport(_0x40a93e['params'],_0x40a93e[_0xb4fd('0x33')],_0x40a93e[_0xb4fd('0x41')])[_0xb4fd('0x27')](respondWithResult(_0x4c996c,null))['catch'](handleError(_0x4c996c,null));};exports[_0xb4fd('0xa3')]=runReport;exports['query']=function(_0x232312,_0x582e59){var _0x4c6951=0xa;var _0x2cddf1=['join','left_join',_0xb4fd('0x58'),_0xb4fd('0x59')];var _0x5254ac={'SUM':_0xb4fd('0x5a'),'COUNT':'COUNT(%s)','COUNT DISTINCT':_0xb4fd('0x89'),'MAX':_0xb4fd('0x5c'),'MIN':'MIN(%s)','AVG':_0xb4fd('0x5d'),'GROUP_CONCAT':_0xb4fd('0xa4'),'GROUP_CONCAT ASC':_0xb4fd('0x5e'),'GROUP_CONCAT DESC':_0xb4fd('0x5f')};var _0x36e9fb={'SEC_TO_TIME':_0xb4fd('0x60'),'DATE':_0xb4fd('0x61'),'HOUR':_0xb4fd('0x62'),'ROUND':_0xb4fd('0x63'),'UNIX_TIMESTAMP':_0xb4fd('0x64')};var _0x3c9597=function(_0x2c1d46){return!_[_0xb4fd('0x65')](['IS\x20NULL','IS\x20NOT\x20NULL','IS\x20EMPTY',_0xb4fd('0x8a')],_0x2c1d46);};var _0x416e22=function(_0x811a5){if(!_0x811a5||!_0x811a5[_0xb4fd('0x69')][_0xb4fd('0x39')]){return'';}for(var _0x2f6285='(',_0x10e2fd=0x0;_0x10e2fd<_0x811a5[_0xb4fd('0x69')][_0xb4fd('0x39')];_0x10e2fd+=0x1){_0x10e2fd>0x0&&(_0x2f6285+='\x20'+_0x811a5[_0xb4fd('0x8b')]+'\x20');_0x2f6285+=_0x811a5[_0xb4fd('0x69')][_0x10e2fd]['group']?_0x416e22(_0x811a5[_0xb4fd('0x69')][_0x10e2fd][_0xb4fd('0x6a')]):_0x811a5[_0xb4fd('0x69')][_0x10e2fd][_0xb4fd('0x6b')]+'\x20'+_0x811a5[_0xb4fd('0x69')][_0x10e2fd][_0xb4fd('0x6c')]+(_0x3c9597(_0x811a5[_0xb4fd('0x69')][_0x10e2fd][_0xb4fd('0x6c')])?'\x20'+_0x811a5[_0xb4fd('0x69')][_0x10e2fd][_0xb4fd('0x6d')]:'');}return _0x2f6285+')';};var _0x3242ab={'where':{'id':_0x232312[_0xb4fd('0x55')]['id']}},_0x3968c6,_0xfe7a72,_0x184e23,_0xe224c5,_0x58ad9e;_0x3242ab=_[_0xb4fd('0x3f')]({},_0x3242ab,_0x232312[_0xb4fd('0x41')]);return db[_0xb4fd('0x2d')][_0xb4fd('0x54')](_0x3242ab)['then'](function(_0x2d6b80){if(_0x2d6b80){_0x3968c6=_0x2d6b80;return _0x2d6b80[_0xb4fd('0x8c')]();}return null;})['then'](function(_0x196448){if(_0x196448){if(!_0x196448[_0xb4fd('0x39')]){throw new db[(_0xb4fd('0x6e'))][(_0xb4fd('0x8d'))](_0xb4fd('0x6f'),0x193);}_0xfe7a72=_0x196448;return db[_0xb4fd('0x70')][_0xb4fd('0x44')]({'raw':!![]});}return null;})['then'](function(_0x1c3089){if(_0x1c3089){_0x184e23=_[_0xb4fd('0xa5')](_0x1c3089,'id');var _0x58f400;var _0x48739e=squel[_0xb4fd('0x8e')]();_0x48739e[_0xb4fd('0x71')](_0x3968c6[_0xb4fd('0x72')]);for(var _0x4ebfab=0x0;_0x4ebfab<_0xfe7a72['length'];_0x4ebfab+=0x1){_0x58f400=_0xfe7a72[_0x4ebfab][_0xb4fd('0x73')]?_0x184e23[_0xfe7a72[_0x4ebfab][_0xb4fd('0x73')]][_0xb4fd('0xa6')]:_0xfe7a72[_0x4ebfab][_0xb4fd('0x6b')];_0x58f400=_0xfe7a72[_0x4ebfab][_0xb4fd('0x74')]?_[_0xb4fd('0x75')](_0x5254ac[_0xfe7a72[_0x4ebfab]['function']],'%s',_0x58f400):_0x58f400;_0x58f400=_0xfe7a72[_0x4ebfab][_0xb4fd('0x76')]?_[_0xb4fd('0x75')](_0x36e9fb[_0xfe7a72[_0x4ebfab][_0xb4fd('0x76')]],'%s',_0x58f400):_0x58f400;if(_0xfe7a72[_0x4ebfab][_0xb4fd('0x77')]){_0x48739e[_0xb4fd('0x6a')](_0x58f400);}_0xfe7a72[_0x4ebfab][_0xb4fd('0x78')]&&_0x48739e[_0xb4fd('0x3a')](_0x58f400,_0xfe7a72[_0x4ebfab]['orderBy']===_0xb4fd('0x79')?![]:!![]);_0x48739e['field'](_0x58f400,_0xfe7a72[_0x4ebfab][_0xb4fd('0x7a')]||_0x58f400);}if(_0x3968c6['joins']){_0x3968c6[_0xb4fd('0x7b')]=JSON['parse'](_0x3968c6[_0xb4fd('0x7b')]);for(var _0x46eccd=0x0;_0x46eccd<_0x3968c6[_0xb4fd('0x7b')][_0xb4fd('0x39')];_0x46eccd+=0x1){if(_0x3968c6[_0xb4fd('0x7b')][_0x46eccd]['type']&&_[_0xb4fd('0x65')](_0x2cddf1,_0x3968c6['joins'][_0x46eccd]['type'])&&_0x3968c6['joins'][_0x46eccd][_0xb4fd('0x80')]&&_0x3968c6[_0xb4fd('0x7b')][_0x46eccd][_0xb4fd('0x7e')]&&_0x3968c6[_0xb4fd('0x7b')][_0x46eccd][_0xb4fd('0x7d')]){_0x48739e[_0x3968c6[_0xb4fd('0x7b')][_0x46eccd]['type']](_0x3968c6[_0xb4fd('0x7b')][_0x46eccd][_0xb4fd('0x7e')],null,util['format']('%s.%s\x20=\x20%s.%s',_0x3968c6[_0xb4fd('0x72')],_0x3968c6[_0xb4fd('0x7b')][_0x46eccd][_0xb4fd('0x80')],_0x3968c6[_0xb4fd('0x7b')][_0x46eccd][_0xb4fd('0x7e')],_0x3968c6[_0xb4fd('0x7b')][_0x46eccd][_0xb4fd('0x7d')]));}}}if(_0x3968c6[_0xb4fd('0x81')]){_0x3968c6['conditions']=JSON[_0xb4fd('0x7c')](_0x3968c6[_0xb4fd('0x81')]);_0x48739e[_0xb4fd('0x3c')](_0x416e22(_0x3968c6[_0xb4fd('0x81')]['group']));}_0x58ad9e=_0x48739e[_0xb4fd('0x82')]();_0x48739e[_0xb4fd('0x1f')](_0x4c6951);_0x48739e[_0xb4fd('0x1e')](0x0);logger[_0xb4fd('0x83')](_0xb4fd('0x84'),_0x48739e[_0xb4fd('0x85')]());return db[_0xb4fd('0x86')][_0xb4fd('0x33')](_0x48739e[_0xb4fd('0x85')](),{'type':db[_0xb4fd('0x86')]['QueryTypes']['SELECT']});}})[_0xb4fd('0x27')](function(){return{'sql':_0x58ad9e['toString']()};})[_0xb4fd('0x27')](respondWithResult(_0x582e59,null))[_0xb4fd('0x50')](handleError(_0x582e59,null));}; \ No newline at end of file +var _0x8d53=['keys','filters','query','intersection','fields','attributes','length','hasOwnProperty','nolimit','order','where','pick','filter','type','VIRTUAL','merge','include','findAll','rows','catch','show','params','includeAll','options','find','create','user','get','Unable\x20to\x20retrieve\x20the\x20current\x20user','role','Reports','UserProfileSection','userProfileId','autoAssociation','CustomReports','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','body','preview','join','left_join','right_join','cross_join','SUM(%s)','MAX(%s)','MIN(%s)','AVG(%s)','GROUP_CONCAT(%s\x20ORDER\x20BY\x20%s\x20DESC)','SEC_TO_TIME(%s)','DATE(%s)','HOUR(%s)','ROUND(%s)','UNIX_TIMESTAMP(%s)','includes','IS\x20NULL','IS\x20NOT\x20NULL','IS\x20NOT\x20EMPTY','rules','operator','group','value','getFields','Sequelize','ValidationErrorItem','select','from','MetricId','metric','function','replace','format','groupBy','orderBy','field','alias','joins','parse','parentKey','foreignTable','foreignKey','%s.%s\x20=\x20%s.%s','table','conditions','clone','debug','toString','sequelize','SELECT','COUNT(DISTINCT\x20%s)','GROUP_CONCAT(%s)','GROUP_CONCAT(%s\x20ORDER\x20BY\x20%s\x20ASC)','condition','Please\x20insert\x20at\x20least\x20one\x20field','AnalyticMetric','keyBy','DESC','Limited\x20Query:','QueryTypes','No\x20available\x20data','web','%s-%s.%s','randomstring','output','csv','custom','AnalyticExtractedReport','cdr','.calldate\x20BETWEEN\x20?\x20AND\x20?','startDate','.createdAt\x20BETWEEN\x20?\x20AND\x20?','endDate','Run\x20Query:','fork','savename','countTable','COUNT(*)','run','runReport','IS\x20EMPTY','html-pdf','eml-format','zip-dir','fast-json-patch','request-promise','moment','bluebird','mustache','util','path','to-csv','ejs','lodash','crypto','jsforce','desk.js','querystring','ioredis','../../components/auth/service','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../mysqldb','sendStatus','status','end','count','offset','limit','Content-Range','apply','reject','update','UserProfileResource','destroy','then','error','stack','name','send','index','map','AnalyticCustomReport','rawAttributes','fieldName','key','model'];(function(_0x835f74,_0x123452){var _0x46a4d6=function(_0x5b7adc){while(--_0x5b7adc){_0x835f74['push'](_0x835f74['shift']());}};_0x46a4d6(++_0x123452);}(_0x8d53,0x1c2));var _0x38d5=function(_0x3039e0,_0x155469){_0x3039e0=_0x3039e0-0x0;var _0x3d817f=_0x8d53[_0x3039e0];return _0x3d817f;};'use strict';var pdf=require(_0x38d5('0x0'));var emlformat=require(_0x38d5('0x1'));var rimraf=require('rimraf');var zipdir=require(_0x38d5('0x2'));var jsonpatch=require(_0x38d5('0x3'));var rp=require(_0x38d5('0x4'));var moment=require(_0x38d5('0x5'));var BPromise=require(_0x38d5('0x6'));var Mustache=require(_0x38d5('0x7'));var util=require(_0x38d5('0x8'));var path=require(_0x38d5('0x9'));var sox=require('sox');var csv=require(_0x38d5('0xa'));var ejs=require(_0x38d5('0xb'));var fs=require('fs');var _=require(_0x38d5('0xc'));var squel=require('squel');var crypto=require(_0x38d5('0xd'));var jsforce=require(_0x38d5('0xe'));var deskjs=require(_0x38d5('0xf'));var toCsv=require(_0x38d5('0xa'));var querystring=require(_0x38d5('0x10'));var Papa=require('papaparse');var Redis=require(_0x38d5('0x11'));var authService=require(_0x38d5('0x12'));var qs=require('../../components/parsers/qs');var as=require(_0x38d5('0x13'));var hardwareService=require(_0x38d5('0x14'));var logger=require(_0x38d5('0x15'))(_0x38d5('0x16'));var utils=require('../../config/utils');var config=require('../../config/environment');var db=require(_0x38d5('0x17'))['db'];var dbH=require(_0x38d5('0x17'))['dbH'];function respondWithStatusCode(_0x421410,_0x4dbccf){_0x4dbccf=_0x4dbccf||0xcc;return function(_0x28a5ae){if(_0x28a5ae){return _0x421410[_0x38d5('0x18')](_0x4dbccf);}return _0x421410[_0x38d5('0x19')](_0x4dbccf)[_0x38d5('0x1a')]();};}function respondWithResult(_0x217a90,_0x3115b5){_0x3115b5=_0x3115b5||0xc8;return function(_0x5a5f89){if(_0x5a5f89){return _0x217a90[_0x38d5('0x19')](_0x3115b5)['json'](_0x5a5f89);}};}function respondWithFilteredResult(_0xa455d1,_0x53e995){return function(_0x44cfa8){if(_0x44cfa8){var _0x463e2e=_0x44cfa8[_0x38d5('0x1b')],_0x1fa26c=_0x53e995[_0x38d5('0x1c')],_0x4e98df=_0x53e995[_0x38d5('0x1c')]+_0x53e995[_0x38d5('0x1d')],_0x1e5353;if(_0x4e98df>=_0x463e2e){_0x4e98df=_0x463e2e;_0x1e5353=0xc8;}else{_0x1e5353=0xce;}_0xa455d1[_0x38d5('0x19')](_0x1e5353);return _0xa455d1['set'](_0x38d5('0x1e'),_0x1fa26c+'-'+_0x4e98df+'/'+_0x463e2e)['json'](_0x44cfa8);}return null;};}function patchUpdates(_0x55c0e1){return function(_0x4fd892){try{jsonpatch[_0x38d5('0x1f')](_0x4fd892,_0x55c0e1,!![]);}catch(_0x1c91a7){return BPromise[_0x38d5('0x20')](_0x1c91a7);}return _0x4fd892['save']();};}function saveUpdates(_0x48eb53,_0x1b62be){return function(_0x1c5289){if(_0x1c5289){return _0x1c5289[_0x38d5('0x21')](_0x48eb53)['then'](function(_0x3eb7d1){return _0x3eb7d1;});}return null;};}function removeEntity(_0x58d42a,_0x83a6be){return function(_0x42bc44){if(_0x42bc44){return _0x42bc44['destroy']()['then'](function(){var _0x34d764=_0x42bc44['get']({'plain':!![]});var _0x3d1c85='CustomReports';return db[_0x38d5('0x22')][_0x38d5('0x23')]({'where':{'type':_0x3d1c85,'resourceId':_0x34d764['id']}})[_0x38d5('0x24')](function(){return _0x42bc44;});})['then'](function(){_0x58d42a[_0x38d5('0x19')](0xcc)[_0x38d5('0x1a')]();});}};}function handleEntityNotFound(_0x5b93e3,_0x35e2ff){return function(_0x1f8d11){if(!_0x1f8d11){_0x5b93e3[_0x38d5('0x18')](0x194);}return _0x1f8d11;};}function handleError(_0x30520b,_0x3d8d86){_0x3d8d86=_0x3d8d86||0x1f4;return function(_0x295591){logger[_0x38d5('0x25')](_0x295591[_0x38d5('0x26')]);if(_0x295591[_0x38d5('0x27')]){delete _0x295591[_0x38d5('0x27')];}_0x30520b[_0x38d5('0x19')](_0x3d8d86)[_0x38d5('0x28')](_0x295591);};}exports[_0x38d5('0x29')]=function(_0x5dd0c1,_0x514d2f){var _0x55a6d7={},_0x44f70d={},_0x3ec1f4={'count':0x0,'rows':[]};var _0x4ff0d4=_[_0x38d5('0x2a')](db[_0x38d5('0x2b')][_0x38d5('0x2c')],function(_0x1ad9ad){return{'name':_0x1ad9ad[_0x38d5('0x2d')],'type':_0x1ad9ad['type'][_0x38d5('0x2e')]};});_0x44f70d[_0x38d5('0x2f')]=_[_0x38d5('0x2a')](_0x4ff0d4,_0x38d5('0x27'));_0x44f70d['query']=_[_0x38d5('0x30')](_0x5dd0c1['query']);_0x44f70d[_0x38d5('0x31')]=_['intersection'](_0x44f70d[_0x38d5('0x2f')],_0x44f70d[_0x38d5('0x32')]);_0x55a6d7['attributes']=_[_0x38d5('0x33')](_0x44f70d[_0x38d5('0x2f')],qs[_0x38d5('0x34')](_0x5dd0c1['query'][_0x38d5('0x34')]));_0x55a6d7['attributes']=_0x55a6d7[_0x38d5('0x35')][_0x38d5('0x36')]?_0x55a6d7[_0x38d5('0x35')]:_0x44f70d[_0x38d5('0x2f')];if(!_0x5dd0c1['query'][_0x38d5('0x37')](_0x38d5('0x38'))){_0x55a6d7['limit']=qs[_0x38d5('0x1d')](_0x5dd0c1[_0x38d5('0x32')][_0x38d5('0x1d')]);_0x55a6d7[_0x38d5('0x1c')]=qs[_0x38d5('0x1c')](_0x5dd0c1[_0x38d5('0x32')][_0x38d5('0x1c')]);}_0x55a6d7[_0x38d5('0x39')]=qs['sort'](_0x5dd0c1[_0x38d5('0x32')]['sort']);_0x55a6d7[_0x38d5('0x3a')]=qs[_0x38d5('0x31')](_[_0x38d5('0x3b')](_0x5dd0c1['query'],_0x44f70d['filters']),_0x4ff0d4);if(_0x5dd0c1[_0x38d5('0x32')][_0x38d5('0x3c')]){_0x55a6d7[_0x38d5('0x3a')]=_['merge'](_0x55a6d7['where'],{'$or':_[_0x38d5('0x2a')](_0x4ff0d4,function(_0x34b7ca){if(_0x34b7ca[_0x38d5('0x3d')]!==_0x38d5('0x3e')){var _0x561294={};_0x561294[_0x34b7ca[_0x38d5('0x27')]]={'$like':'%'+_0x5dd0c1[_0x38d5('0x32')][_0x38d5('0x3c')]+'%'};return _0x561294;}})});}_0x55a6d7=_[_0x38d5('0x3f')]({},_0x55a6d7,_0x5dd0c1['options']);var _0x4d197e={'where':_0x55a6d7['where']};return db[_0x38d5('0x2b')][_0x38d5('0x1b')](_0x4d197e)[_0x38d5('0x24')](function(_0x19f46f){_0x3ec1f4[_0x38d5('0x1b')]=_0x19f46f;if(_0x5dd0c1[_0x38d5('0x32')]['includeAll']){_0x55a6d7[_0x38d5('0x40')]=[{'all':!![]}];}return db[_0x38d5('0x2b')][_0x38d5('0x41')](_0x55a6d7);})[_0x38d5('0x24')](function(_0x23def4){_0x3ec1f4[_0x38d5('0x42')]=_0x23def4;return _0x3ec1f4;})['then'](respondWithFilteredResult(_0x514d2f,_0x55a6d7))[_0x38d5('0x43')](handleError(_0x514d2f,null));};exports[_0x38d5('0x44')]=function(_0x48612c,_0x269011){var _0x3bc1ad={'raw':![],'where':{'id':_0x48612c[_0x38d5('0x45')]['id']}},_0x29947c={};_0x29947c[_0x38d5('0x2f')]=_[_0x38d5('0x30')](db[_0x38d5('0x2b')][_0x38d5('0x2c')]);_0x29947c['query']=_[_0x38d5('0x30')](_0x48612c['query']);_0x29947c['filters']=_[_0x38d5('0x33')](_0x29947c['model'],_0x29947c['query']);_0x3bc1ad['attributes']=_['intersection'](_0x29947c['model'],qs['fields'](_0x48612c['query']['fields']));_0x3bc1ad[_0x38d5('0x35')]=_0x3bc1ad[_0x38d5('0x35')][_0x38d5('0x36')]?_0x3bc1ad[_0x38d5('0x35')]:_0x29947c[_0x38d5('0x2f')];if(_0x48612c[_0x38d5('0x32')][_0x38d5('0x46')]){_0x3bc1ad[_0x38d5('0x40')]=[{'all':!![]}];}_0x3bc1ad=_[_0x38d5('0x3f')]({},_0x3bc1ad,_0x48612c[_0x38d5('0x47')]);return db[_0x38d5('0x2b')][_0x38d5('0x48')](_0x3bc1ad)[_0x38d5('0x24')](handleEntityNotFound(_0x269011,null))[_0x38d5('0x24')](respondWithResult(_0x269011,null))[_0x38d5('0x43')](handleError(_0x269011,null));};exports[_0x38d5('0x49')]=function(_0x458d55,_0x44644a){return db[_0x38d5('0x2b')]['create'](_0x458d55['body'],{})['then'](function(_0x91cd1d){var _0x1d303a=_0x458d55[_0x38d5('0x4a')][_0x38d5('0x4b')]({'plain':!![]});if(!_0x1d303a)throw new Error(_0x38d5('0x4c'));if(_0x1d303a[_0x38d5('0x4d')]===_0x38d5('0x4a')){var _0x26ece9=_0x91cd1d[_0x38d5('0x4b')]({'plain':!![]});var _0x22f7fc=_0x38d5('0x4e');return db[_0x38d5('0x4f')][_0x38d5('0x48')]({'where':{'name':_0x22f7fc,'userProfileId':_0x1d303a[_0x38d5('0x50')]},'raw':!![]})['then'](function(_0xa2e87d){if(_0xa2e87d&&_0xa2e87d[_0x38d5('0x51')]===0x0){return db[_0x38d5('0x22')][_0x38d5('0x49')]({'name':_0x26ece9['name'],'resourceId':_0x26ece9['id'],'type':_0x38d5('0x52'),'sectionId':_0xa2e87d['id']},{})['then'](function(){return _0x91cd1d;});}else{return _0x91cd1d;}})['catch'](function(_0x12d077){logger[_0x38d5('0x25')](_0x38d5('0x53'),_0x12d077);throw _0x12d077;});}return _0x91cd1d;})[_0x38d5('0x24')](respondWithResult(_0x44644a,0xc9))[_0x38d5('0x43')](handleError(_0x44644a,null));};exports[_0x38d5('0x21')]=function(_0x49c30a,_0x514229){if(_0x49c30a[_0x38d5('0x54')]['id']){delete _0x49c30a[_0x38d5('0x54')]['id'];}return db['AnalyticCustomReport']['find']({'where':{'id':_0x49c30a['params']['id']}})[_0x38d5('0x24')](handleEntityNotFound(_0x514229,null))['then'](saveUpdates(_0x49c30a[_0x38d5('0x54')],null))[_0x38d5('0x24')](respondWithResult(_0x514229,null))[_0x38d5('0x43')](handleError(_0x514229,null));};exports[_0x38d5('0x23')]=function(_0x147b05,_0xc11b0b){return db[_0x38d5('0x2b')][_0x38d5('0x48')]({'where':{'id':_0x147b05[_0x38d5('0x45')]['id']}})['then'](handleEntityNotFound(_0xc11b0b,null))[_0x38d5('0x24')](removeEntity(_0xc11b0b,null))['catch'](handleError(_0xc11b0b,null));};exports[_0x38d5('0x55')]=function(_0x174e2d,_0x5cabd4){var _0x54ae21=0xa;var _0x2bd8d2=[_0x38d5('0x56'),_0x38d5('0x57'),_0x38d5('0x58'),_0x38d5('0x59')];var _0x145950={'SUM':_0x38d5('0x5a'),'COUNT':'COUNT(%s)','COUNT DISTINCT':'COUNT(DISTINCT\x20%s)','MAX':_0x38d5('0x5b'),'MIN':_0x38d5('0x5c'),'AVG':_0x38d5('0x5d'),'GROUP_CONCAT':'GROUP_CONCAT(%s)','GROUP_CONCAT ASC':'GROUP_CONCAT(%s\x20ORDER\x20BY\x20%s\x20ASC)','GROUP_CONCAT DESC':_0x38d5('0x5e')};var _0x333876={'SEC_TO_TIME':_0x38d5('0x5f'),'DATE':_0x38d5('0x60'),'HOUR':_0x38d5('0x61'),'ROUND':_0x38d5('0x62'),'UNIX_TIMESTAMP':_0x38d5('0x63')};var _0x25e65c=function(_0x5cc4d4){return!_[_0x38d5('0x64')]([_0x38d5('0x65'),_0x38d5('0x66'),'IS\x20EMPTY',_0x38d5('0x67')],_0x5cc4d4);};var _0x388d1c=function(_0x14b2d3){if(!_0x14b2d3||!_0x14b2d3['rules'][_0x38d5('0x36')]){return'';}for(var _0x475cd3='(',_0x188ca2=0x0;_0x188ca2<_0x14b2d3[_0x38d5('0x68')][_0x38d5('0x36')];_0x188ca2+=0x1){_0x188ca2>0x0&&(_0x475cd3+='\x20'+_0x14b2d3[_0x38d5('0x69')]+'\x20');_0x475cd3+=_0x14b2d3[_0x38d5('0x68')][_0x188ca2]['group']?_0x388d1c(_0x14b2d3[_0x38d5('0x68')][_0x188ca2][_0x38d5('0x6a')]):_0x14b2d3['rules'][_0x188ca2]['field']+'\x20'+_0x14b2d3[_0x38d5('0x68')][_0x188ca2]['condition']+(_0x25e65c(_0x14b2d3[_0x38d5('0x68')][_0x188ca2]['condition'])?'\x20'+_0x14b2d3[_0x38d5('0x68')][_0x188ca2][_0x38d5('0x6b')]:'');}return _0x475cd3+')';};var _0x13d894={'where':{'id':_0x174e2d[_0x38d5('0x45')]['id']}},_0x33c075,_0x159c99,_0x591190,_0x675eb5,_0x2cce1b;_0x13d894=_[_0x38d5('0x3f')]({},_0x13d894,_0x174e2d['options']);return db['AnalyticCustomReport'][_0x38d5('0x48')](_0x13d894)[_0x38d5('0x24')](function(_0x11251f){if(_0x11251f){_0x33c075=_0x11251f;return _0x11251f[_0x38d5('0x6c')]();}return null;})[_0x38d5('0x24')](function(_0x31de09){if(_0x31de09){if(!_0x31de09['length']){throw new db[(_0x38d5('0x6d'))][(_0x38d5('0x6e'))]('Please\x20insert\x20at\x20least\x20one\x20field',0x193);}_0x159c99=_0x31de09;return db['AnalyticMetric'][_0x38d5('0x41')]({'raw':!![]});}return null;})['then'](function(_0x1610fe){if(_0x1610fe){_0x591190=_['keyBy'](_0x1610fe,'id');var _0x518947;var _0x595b14=squel[_0x38d5('0x6f')]();_0x595b14[_0x38d5('0x70')](_0x33c075['table']);for(var _0x2ac0e4=0x0;_0x2ac0e4<_0x159c99[_0x38d5('0x36')];_0x2ac0e4+=0x1){_0x518947=_0x159c99[_0x2ac0e4][_0x38d5('0x71')]?_0x591190[_0x159c99[_0x2ac0e4][_0x38d5('0x71')]][_0x38d5('0x72')]:_0x159c99[_0x2ac0e4]['field'];_0x518947=_0x159c99[_0x2ac0e4][_0x38d5('0x73')]?_[_0x38d5('0x74')](_0x145950[_0x159c99[_0x2ac0e4]['function']],'%s',_0x518947):_0x518947;_0x518947=_0x159c99[_0x2ac0e4][_0x38d5('0x75')]?_[_0x38d5('0x74')](_0x333876[_0x159c99[_0x2ac0e4][_0x38d5('0x75')]],'%s',_0x518947):_0x518947;if(_0x159c99[_0x2ac0e4][_0x38d5('0x76')]){_0x595b14[_0x38d5('0x6a')](_0x518947);}_0x159c99[_0x2ac0e4][_0x38d5('0x77')]&&_0x595b14[_0x38d5('0x39')](_0x518947,_0x159c99[_0x2ac0e4][_0x38d5('0x77')]==='DESC'?![]:!![]);_0x595b14[_0x38d5('0x78')](_0x518947,_0x159c99[_0x2ac0e4][_0x38d5('0x79')]||_0x518947);}if(_0x33c075[_0x38d5('0x7a')]){_0x33c075[_0x38d5('0x7a')]=JSON[_0x38d5('0x7b')](_0x33c075[_0x38d5('0x7a')]);for(var _0x2ce317=0x0;_0x2ce317<_0x33c075[_0x38d5('0x7a')][_0x38d5('0x36')];_0x2ce317+=0x1){if(_0x33c075[_0x38d5('0x7a')][_0x2ce317]['type']&&_['includes'](_0x2bd8d2,_0x33c075[_0x38d5('0x7a')][_0x2ce317][_0x38d5('0x3d')])&&_0x33c075[_0x38d5('0x7a')][_0x2ce317][_0x38d5('0x7c')]&&_0x33c075['joins'][_0x2ce317][_0x38d5('0x7d')]&&_0x33c075['joins'][_0x2ce317][_0x38d5('0x7e')]){_0x595b14[_0x33c075[_0x38d5('0x7a')][_0x2ce317][_0x38d5('0x3d')]](_0x33c075[_0x38d5('0x7a')][_0x2ce317][_0x38d5('0x7d')],null,util[_0x38d5('0x75')](_0x38d5('0x7f'),_0x33c075[_0x38d5('0x80')],_0x33c075['joins'][_0x2ce317]['parentKey'],_0x33c075[_0x38d5('0x7a')][_0x2ce317][_0x38d5('0x7d')],_0x33c075[_0x38d5('0x7a')][_0x2ce317][_0x38d5('0x7e')]));}}}if(_0x33c075[_0x38d5('0x81')]){_0x33c075[_0x38d5('0x81')]=JSON['parse'](_0x33c075[_0x38d5('0x81')]);_0x595b14['where'](_0x388d1c(_0x33c075[_0x38d5('0x81')][_0x38d5('0x6a')]));}_0x2cce1b=_0x595b14[_0x38d5('0x82')]();_0x595b14[_0x38d5('0x1d')](_0x54ae21);_0x595b14[_0x38d5('0x1c')](0x0);logger[_0x38d5('0x83')]('Limited\x20Query:',_0x595b14[_0x38d5('0x84')]());return db[_0x38d5('0x85')][_0x38d5('0x32')](_0x595b14['toString'](),{'type':db['sequelize']['QueryTypes'][_0x38d5('0x86')]});}})[_0x38d5('0x24')](respondWithResult(_0x5cabd4,null))[_0x38d5('0x43')](handleError(_0x5cabd4,null));};function runReport(_0x7ed451,_0x1bee3f,_0x3f6463){var _0x44fad6=_0x1bee3f[_0x38d5('0x27')];var _0x2b1044=0xa;var _0x57a435=[_0x38d5('0x56'),_0x38d5('0x57'),'right_join',_0x38d5('0x59')];var _0x4bede4={'SUM':'SUM(%s)','COUNT':'COUNT(%s)','COUNT DISTINCT':_0x38d5('0x87'),'MAX':_0x38d5('0x5b'),'MIN':_0x38d5('0x5c'),'AVG':'AVG(%s)','GROUP_CONCAT':_0x38d5('0x88'),'GROUP_CONCAT ASC':_0x38d5('0x89'),'GROUP_CONCAT DESC':_0x38d5('0x5e')};var _0x41401d={'SEC_TO_TIME':'SEC_TO_TIME(%s)','DATE':'DATE(%s)','HOUR':_0x38d5('0x61'),'ROUND':_0x38d5('0x62'),'UNIX_TIMESTAMP':'UNIX_TIMESTAMP(%s)'};var _0x441b25=function(_0x1b1aff){return!_[_0x38d5('0x64')]([_0x38d5('0x65'),'IS\x20NOT\x20NULL','IS\x20EMPTY',_0x38d5('0x67')],_0x1b1aff);};var _0x4422f4=function(_0x162b20){if(!_0x162b20||!_0x162b20[_0x38d5('0x68')][_0x38d5('0x36')]){return'';}for(var _0x369e15='(',_0x1c588a=0x0;_0x1c588a<_0x162b20[_0x38d5('0x68')][_0x38d5('0x36')];_0x1c588a+=0x1){_0x1c588a>0x0&&(_0x369e15+='\x20'+_0x162b20[_0x38d5('0x69')]+'\x20');_0x369e15+=_0x162b20[_0x38d5('0x68')][_0x1c588a][_0x38d5('0x6a')]?_0x4422f4(_0x162b20[_0x38d5('0x68')][_0x1c588a][_0x38d5('0x6a')]):_0x162b20['rules'][_0x1c588a][_0x38d5('0x78')]+'\x20'+_0x162b20['rules'][_0x1c588a]['condition']+(_0x441b25(_0x162b20[_0x38d5('0x68')][_0x1c588a][_0x38d5('0x8a')])?'\x20'+_0x162b20[_0x38d5('0x68')][_0x1c588a][_0x38d5('0x6b')]:'');}return _0x369e15+')';};var _0x165b12={'where':{'id':_0x7ed451['id']}},_0x5c2d6d,_0x124cc6,_0x1077c0,_0x19096c,_0x451993;_0x165b12=_[_0x38d5('0x3f')]({},_0x165b12,_0x3f6463);return db[_0x38d5('0x2b')][_0x38d5('0x48')](_0x165b12)['then'](function(_0xf85554){if(_0xf85554){_0x5c2d6d=_0xf85554;return _0xf85554[_0x38d5('0x6c')]();}return null;})[_0x38d5('0x24')](function(_0xd9e6c2){if(_0xd9e6c2){if(!_0xd9e6c2[_0x38d5('0x36')]){throw new db[(_0x38d5('0x6d'))][(_0x38d5('0x6e'))](_0x38d5('0x8b'),0x193);}_0x124cc6=_0xd9e6c2;return db[_0x38d5('0x8c')][_0x38d5('0x41')]({'raw':!![]});}return null;})[_0x38d5('0x24')](function(_0x519aec){if(_0x519aec){_0x1077c0=_[_0x38d5('0x8d')](_0x519aec,'id');var _0x3eb56c;var _0x45d1c3=squel[_0x38d5('0x6f')]();_0x45d1c3[_0x38d5('0x70')](_0x5c2d6d[_0x38d5('0x80')]);for(var _0x520ef6=0x0;_0x520ef6<_0x124cc6[_0x38d5('0x36')];_0x520ef6+=0x1){_0x3eb56c=_0x124cc6[_0x520ef6][_0x38d5('0x71')]?_0x1077c0[_0x124cc6[_0x520ef6][_0x38d5('0x71')]][_0x38d5('0x72')]:_0x124cc6[_0x520ef6][_0x38d5('0x78')];_0x3eb56c=_0x124cc6[_0x520ef6][_0x38d5('0x73')]?_[_0x38d5('0x74')](_0x4bede4[_0x124cc6[_0x520ef6][_0x38d5('0x73')]],'%s',_0x3eb56c):_0x3eb56c;_0x3eb56c=_0x124cc6[_0x520ef6][_0x38d5('0x75')]?_[_0x38d5('0x74')](_0x41401d[_0x124cc6[_0x520ef6][_0x38d5('0x75')]],'%s',_0x3eb56c):_0x3eb56c;if(_0x124cc6[_0x520ef6][_0x38d5('0x76')]){_0x45d1c3[_0x38d5('0x6a')](_0x3eb56c);}_0x124cc6[_0x520ef6][_0x38d5('0x77')]&&_0x45d1c3[_0x38d5('0x39')](_0x3eb56c,_0x124cc6[_0x520ef6][_0x38d5('0x77')]===_0x38d5('0x8e')?![]:!![]);_0x45d1c3['field'](_0x3eb56c,_0x124cc6[_0x520ef6][_0x38d5('0x79')]||_0x3eb56c);}if(_0x5c2d6d[_0x38d5('0x7a')]){_0x5c2d6d[_0x38d5('0x7a')]=JSON[_0x38d5('0x7b')](_0x5c2d6d[_0x38d5('0x7a')]);for(var _0x1bd3a0=0x0;_0x1bd3a0<_0x5c2d6d[_0x38d5('0x7a')][_0x38d5('0x36')];_0x1bd3a0+=0x1){if(_0x5c2d6d[_0x38d5('0x7a')][_0x1bd3a0][_0x38d5('0x3d')]&&_['includes'](_0x57a435,_0x5c2d6d[_0x38d5('0x7a')][_0x1bd3a0]['type'])&&_0x5c2d6d['joins'][_0x1bd3a0]['parentKey']&&_0x5c2d6d['joins'][_0x1bd3a0][_0x38d5('0x7d')]&&_0x5c2d6d[_0x38d5('0x7a')][_0x1bd3a0][_0x38d5('0x7e')]){_0x45d1c3[_0x5c2d6d[_0x38d5('0x7a')][_0x1bd3a0][_0x38d5('0x3d')]](_0x5c2d6d[_0x38d5('0x7a')][_0x1bd3a0]['foreignTable'],null,util['format'](_0x38d5('0x7f'),_0x5c2d6d[_0x38d5('0x80')],_0x5c2d6d[_0x38d5('0x7a')][_0x1bd3a0][_0x38d5('0x7c')],_0x5c2d6d[_0x38d5('0x7a')][_0x1bd3a0][_0x38d5('0x7d')],_0x5c2d6d[_0x38d5('0x7a')][_0x1bd3a0][_0x38d5('0x7e')]));}}}if(_0x5c2d6d[_0x38d5('0x81')]){_0x5c2d6d[_0x38d5('0x81')]=JSON[_0x38d5('0x7b')](_0x5c2d6d[_0x38d5('0x81')]);_0x45d1c3[_0x38d5('0x3a')](_0x4422f4(_0x5c2d6d[_0x38d5('0x81')]['group']));}_0x451993=_0x45d1c3[_0x38d5('0x82')]();_0x45d1c3['limit'](_0x2b1044);_0x45d1c3[_0x38d5('0x1c')](0x0);logger['debug'](_0x38d5('0x8f'),_0x45d1c3['toString']());return db['sequelize']['query'](_0x45d1c3[_0x38d5('0x84')](),{'type':db[_0x38d5('0x85')][_0x38d5('0x90')][_0x38d5('0x86')]});}})['then'](function(_0x1dbdf3){if(!_0x1dbdf3['length']){throw new db[(_0x38d5('0x6d'))][(_0x38d5('0x6e'))](_0x38d5('0x91'),0xcc);}if(_0x1bee3f['output']===_0x38d5('0x92')){return null;}var _0x43f9c3=_[_0x38d5('0x3f')](_0x1bee3f,{'name':_0x1bee3f['fullPath']||_0x1bee3f['name']||_0x5c2d6d[_0x38d5('0x27')],'basename':_0x44fad6,'savename':util[_0x38d5('0x75')](_0x38d5('0x93'),_0x1bee3f[_0x38d5('0x27')]||_0x5c2d6d[_0x38d5('0x27')],require(_0x38d5('0x94'))['generate'](0x4),_0x1bee3f[_0x38d5('0x95')]||_0x38d5('0x96')),'reportId':_0x5c2d6d['id'],'reportType':_0x38d5('0x97')});return db[_0x38d5('0x98')][_0x38d5('0x49')](_0x43f9c3,{'raw':!![]});})[_0x38d5('0x24')](function(_0x3bf2ac){if(_0x5c2d6d[_0x38d5('0x80')]===_0x38d5('0x99')){_0x451993[_0x38d5('0x3a')](_0x5c2d6d[_0x38d5('0x80')]+_0x38d5('0x9a'),_0x1bee3f[_0x38d5('0x9b')],_0x1bee3f['endDate']);}else{_0x451993[_0x38d5('0x3a')](_0x5c2d6d[_0x38d5('0x80')]+_0x38d5('0x9c'),_0x1bee3f[_0x38d5('0x9b')],_0x1bee3f[_0x38d5('0x9d')]);}if(_0x3bf2ac){logger['info'](_0x38d5('0x9e'),_0x451993['toString']());require('child_process')[_0x38d5('0x9f')](path[_0x38d5('0x56')](__dirname,'../../components/export/',_0x3bf2ac[_0x38d5('0x95')]),[_0x3bf2ac['id'],_0x451993[_0x38d5('0x84')](),path[_0x38d5('0x56')](__dirname,'../../files/reports',_0x3bf2ac[_0x38d5('0xa0')]),_0x44fad6]);return _0x3bf2ac;}else{var _0x466dd0=squel[_0x38d5('0x6f')]();_0x466dd0['from']('('+_0x451993[_0x38d5('0x84')]()+')',_0x38d5('0xa1'));_0x466dd0[_0x38d5('0x78')](_0x38d5('0xa2'),_0x38d5('0x1b'));_0x451993[_0x38d5('0x1d')](_0x1bee3f['limit']||_0x2b1044);_0x451993['offset'](_0x1bee3f[_0x38d5('0x1c')]||0x0);return dbH[_0x38d5('0x85')][_0x38d5('0x32')](_0x466dd0['toString'](),{'type':dbH['sequelize']['QueryTypes']['SELECT']})['then'](function(_0x471b42){if(!_0x471b42[_0x38d5('0x36')]){_0x19096c=0x0;}else{_0x19096c=_0x471b42[0x0][_0x38d5('0x1b')]||0x0;}return dbH[_0x38d5('0x85')][_0x38d5('0x32')](_0x451993[_0x38d5('0x84')](),{'type':dbH[_0x38d5('0x85')][_0x38d5('0x90')]['SELECT']});})[_0x38d5('0x24')](function(_0x4822cf){return{'rows':_0x4822cf||[],'count':_0x19096c};});}});}exports[_0x38d5('0xa3')]=function(_0x125f4a,_0x47699b){return runReport(_0x125f4a[_0x38d5('0x45')],_0x125f4a[_0x38d5('0x32')],_0x125f4a[_0x38d5('0x47')])[_0x38d5('0x24')](respondWithResult(_0x47699b,null))['catch'](handleError(_0x47699b,null));};exports[_0x38d5('0xa4')]=runReport;exports[_0x38d5('0x32')]=function(_0x254d0a,_0x18540a){var _0x2fba2c=0xa;var _0x1432f6=['join',_0x38d5('0x57'),_0x38d5('0x58'),'cross_join'];var _0x4a5c81={'SUM':'SUM(%s)','COUNT':'COUNT(%s)','COUNT DISTINCT':'COUNT(DISTINCT\x20%s)','MAX':_0x38d5('0x5b'),'MIN':'MIN(%s)','AVG':'AVG(%s)','GROUP_CONCAT':'GROUP_CONCAT(%s)','GROUP_CONCAT ASC':_0x38d5('0x89'),'GROUP_CONCAT DESC':_0x38d5('0x5e')};var _0x3cbdd0={'SEC_TO_TIME':_0x38d5('0x5f'),'DATE':_0x38d5('0x60'),'HOUR':_0x38d5('0x61'),'ROUND':_0x38d5('0x62'),'UNIX_TIMESTAMP':'UNIX_TIMESTAMP(%s)'};var _0x59ccee=function(_0x1a7e13){return!_[_0x38d5('0x64')]([_0x38d5('0x65'),_0x38d5('0x66'),_0x38d5('0xa5'),_0x38d5('0x67')],_0x1a7e13);};var _0x43cc53=function(_0x599aa7){if(!_0x599aa7||!_0x599aa7['rules'][_0x38d5('0x36')]){return'';}for(var _0x2ebc48='(',_0x156dbe=0x0;_0x156dbe<_0x599aa7['rules'][_0x38d5('0x36')];_0x156dbe+=0x1){_0x156dbe>0x0&&(_0x2ebc48+='\x20'+_0x599aa7[_0x38d5('0x69')]+'\x20');_0x2ebc48+=_0x599aa7[_0x38d5('0x68')][_0x156dbe][_0x38d5('0x6a')]?_0x43cc53(_0x599aa7[_0x38d5('0x68')][_0x156dbe]['group']):_0x599aa7['rules'][_0x156dbe][_0x38d5('0x78')]+'\x20'+_0x599aa7[_0x38d5('0x68')][_0x156dbe][_0x38d5('0x8a')]+(_0x59ccee(_0x599aa7['rules'][_0x156dbe]['condition'])?'\x20'+_0x599aa7['rules'][_0x156dbe][_0x38d5('0x6b')]:'');}return _0x2ebc48+')';};var _0x3e7f00={'where':{'id':_0x254d0a[_0x38d5('0x45')]['id']}},_0x4964af,_0x4c4cd2,_0x3c6910,_0x585d3f,_0x22b337;_0x3e7f00=_[_0x38d5('0x3f')]({},_0x3e7f00,_0x254d0a[_0x38d5('0x47')]);return db[_0x38d5('0x2b')][_0x38d5('0x48')](_0x3e7f00)[_0x38d5('0x24')](function(_0x257f41){if(_0x257f41){_0x4964af=_0x257f41;return _0x257f41[_0x38d5('0x6c')]();}return null;})['then'](function(_0x25809c){if(_0x25809c){if(!_0x25809c['length']){throw new db[(_0x38d5('0x6d'))][(_0x38d5('0x6e'))](_0x38d5('0x8b'),0x193);}_0x4c4cd2=_0x25809c;return db['AnalyticMetric']['findAll']({'raw':!![]});}return null;})[_0x38d5('0x24')](function(_0x266d06){if(_0x266d06){_0x3c6910=_['keyBy'](_0x266d06,'id');var _0x2e6304;var _0x55160d=squel[_0x38d5('0x6f')]();_0x55160d['from'](_0x4964af[_0x38d5('0x80')]);for(var _0x2a55be=0x0;_0x2a55be<_0x4c4cd2[_0x38d5('0x36')];_0x2a55be+=0x1){_0x2e6304=_0x4c4cd2[_0x2a55be][_0x38d5('0x71')]?_0x3c6910[_0x4c4cd2[_0x2a55be]['MetricId']][_0x38d5('0x72')]:_0x4c4cd2[_0x2a55be][_0x38d5('0x78')];_0x2e6304=_0x4c4cd2[_0x2a55be][_0x38d5('0x73')]?_[_0x38d5('0x74')](_0x4a5c81[_0x4c4cd2[_0x2a55be][_0x38d5('0x73')]],'%s',_0x2e6304):_0x2e6304;_0x2e6304=_0x4c4cd2[_0x2a55be][_0x38d5('0x75')]?_[_0x38d5('0x74')](_0x3cbdd0[_0x4c4cd2[_0x2a55be][_0x38d5('0x75')]],'%s',_0x2e6304):_0x2e6304;if(_0x4c4cd2[_0x2a55be][_0x38d5('0x76')]){_0x55160d[_0x38d5('0x6a')](_0x2e6304);}_0x4c4cd2[_0x2a55be][_0x38d5('0x77')]&&_0x55160d[_0x38d5('0x39')](_0x2e6304,_0x4c4cd2[_0x2a55be][_0x38d5('0x77')]===_0x38d5('0x8e')?![]:!![]);_0x55160d[_0x38d5('0x78')](_0x2e6304,_0x4c4cd2[_0x2a55be]['alias']||_0x2e6304);}if(_0x4964af[_0x38d5('0x7a')]){_0x4964af['joins']=JSON[_0x38d5('0x7b')](_0x4964af[_0x38d5('0x7a')]);for(var _0x33686f=0x0;_0x33686f<_0x4964af[_0x38d5('0x7a')]['length'];_0x33686f+=0x1){if(_0x4964af[_0x38d5('0x7a')][_0x33686f][_0x38d5('0x3d')]&&_[_0x38d5('0x64')](_0x1432f6,_0x4964af['joins'][_0x33686f][_0x38d5('0x3d')])&&_0x4964af[_0x38d5('0x7a')][_0x33686f][_0x38d5('0x7c')]&&_0x4964af['joins'][_0x33686f][_0x38d5('0x7d')]&&_0x4964af[_0x38d5('0x7a')][_0x33686f][_0x38d5('0x7e')]){_0x55160d[_0x4964af[_0x38d5('0x7a')][_0x33686f][_0x38d5('0x3d')]](_0x4964af[_0x38d5('0x7a')][_0x33686f][_0x38d5('0x7d')],null,util[_0x38d5('0x75')](_0x38d5('0x7f'),_0x4964af['table'],_0x4964af[_0x38d5('0x7a')][_0x33686f][_0x38d5('0x7c')],_0x4964af[_0x38d5('0x7a')][_0x33686f][_0x38d5('0x7d')],_0x4964af['joins'][_0x33686f][_0x38d5('0x7e')]));}}}if(_0x4964af[_0x38d5('0x81')]){_0x4964af['conditions']=JSON[_0x38d5('0x7b')](_0x4964af[_0x38d5('0x81')]);_0x55160d[_0x38d5('0x3a')](_0x43cc53(_0x4964af[_0x38d5('0x81')][_0x38d5('0x6a')]));}_0x22b337=_0x55160d['clone']();_0x55160d[_0x38d5('0x1d')](_0x2fba2c);_0x55160d[_0x38d5('0x1c')](0x0);logger[_0x38d5('0x83')]('Limited\x20Query:',_0x55160d[_0x38d5('0x84')]());return db[_0x38d5('0x85')]['query'](_0x55160d[_0x38d5('0x84')](),{'type':db[_0x38d5('0x85')]['QueryTypes'][_0x38d5('0x86')]});}})['then'](function(){return{'sql':_0x22b337['toString']()};})[_0x38d5('0x24')](respondWithResult(_0x18540a,null))[_0x38d5('0x43')](handleError(_0x18540a,null));}; \ No newline at end of file diff --git a/server/api/analyticCustomReport/analyticCustomReport.model.js b/server/api/analyticCustomReport/analyticCustomReport.model.js index c28ccb0..fcc30ec 100644 --- a/server/api/analyticCustomReport/analyticCustomReport.model.js +++ b/server/api/analyticCustomReport/analyticCustomReport.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xd51a=['bluebird','request-promise','path','rimraf','./analyticCustomReport.attributes','define','AnalyticCustomReport','analytics_custom_reports','util','../../config/logger','api','moment'];(function(_0xa9d560,_0x2f615e){var _0x48d8c2=function(_0x44fb51){while(--_0x44fb51){_0xa9d560['push'](_0xa9d560['shift']());}};_0x48d8c2(++_0x2f615e);}(_0xd51a,0x1ac));var _0xad51=function(_0x3167f5,_0x184150){_0x3167f5=_0x3167f5-0x0;var _0x2b3603=_0xd51a[_0x3167f5];return _0x2b3603;};'use strict';var _=require('lodash');var util=require(_0xad51('0x0'));var logger=require(_0xad51('0x1'))(_0xad51('0x2'));var moment=require(_0xad51('0x3'));var BPromise=require(_0xad51('0x4'));var rp=require(_0xad51('0x5'));var fs=require('fs');var path=require(_0xad51('0x6'));var rimraf=require(_0xad51('0x7'));var config=require('../../config/environment');var attributes=require(_0xad51('0x8'));module['exports']=function(_0x134276,_0x3c28c1){return _0x134276[_0xad51('0x9')](_0xad51('0xa'),attributes,{'tableName':_0xad51('0xb'),'paranoid':!![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0x8051=['util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./analyticCustomReport.attributes','exports','define','AnalyticCustomReport','lodash'];(function(_0x1573ea,_0x434f02){var _0x51c0e2=function(_0x5c9b28){while(--_0x5c9b28){_0x1573ea['push'](_0x1573ea['shift']());}};_0x51c0e2(++_0x434f02);}(_0x8051,0x125));var _0x1805=function(_0x168667,_0x59799a){_0x168667=_0x168667-0x0;var _0x1d36c1=_0x8051[_0x168667];return _0x1d36c1;};'use strict';var _=require(_0x1805('0x0'));var util=require(_0x1805('0x1'));var logger=require(_0x1805('0x2'))(_0x1805('0x3'));var moment=require(_0x1805('0x4'));var BPromise=require(_0x1805('0x5'));var rp=require(_0x1805('0x6'));var fs=require('fs');var path=require(_0x1805('0x7'));var rimraf=require(_0x1805('0x8'));var config=require(_0x1805('0x9'));var attributes=require(_0x1805('0xa'));module[_0x1805('0xb')]=function(_0x33d82c,_0x10c7ba){return _0x33d82c[_0x1805('0xc')](_0x1805('0xd'),attributes,{'tableName':'analytics_custom_reports','paranoid':!![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/analyticCustomReport/analyticCustomReport.rpc.js b/server/api/analyticCustomReport/analyticCustomReport.rpc.js index 5b65d25..33ef1cc 100644 --- a/server/api/analyticCustomReport/analyticCustomReport.rpc.js +++ b/server/api/analyticCustomReport/analyticCustomReport.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x41b6=['rpc','jayson/promise','client','http','request','then','info','AnalyticCustomReport,\x20%s,\x20%s','request\x20sent','AnalyticCustomReport,\x20%s,\x20%s,\x20%s','stringify','error','message','result','catch','lodash','util','moment','bluebird','ioredis','../../mysqldb','../../config/utils','../../config/logger'];(function(_0xf60a0e,_0x1e1b18){var _0x26eeda=function(_0x2b20f4){while(--_0x2b20f4){_0xf60a0e['push'](_0xf60a0e['shift']());}};_0x26eeda(++_0x1e1b18);}(_0x41b6,0x1db));var _0x641b=function(_0x2dafbe,_0x5d04de){_0x2dafbe=_0x2dafbe-0x0;var _0x58a45a=_0x41b6[_0x2dafbe];return _0x58a45a;};'use strict';var _=require(_0x641b('0x0'));var util=require(_0x641b('0x1'));var moment=require(_0x641b('0x2'));var BPromise=require(_0x641b('0x3'));var rs=require('randomstring');var fs=require('fs');var Redis=require(_0x641b('0x4'));var db=require(_0x641b('0x5'))['db'];var utils=require(_0x641b('0x6'));var logger=require(_0x641b('0x7'))(_0x641b('0x8'));var config=require('../../config/environment');var jayson=require(_0x641b('0x9'));var client=jayson[_0x641b('0xa')][_0x641b('0xb')]({'port':0x232a});function respondWithRpcPromise(_0xca454c,_0xc5b1ee,_0x32eb74){return new BPromise(function(_0x5ae2a9,_0x54365a){return client[_0x641b('0xc')](_0xca454c,_0x32eb74)[_0x641b('0xd')](function(_0x4a48ae){logger[_0x641b('0xe')](_0x641b('0xf'),_0xc5b1ee,_0x641b('0x10'));logger['debug'](_0x641b('0x11'),_0xc5b1ee,'request\x20sent',JSON[_0x641b('0x12')](_0x4a48ae));if(_0x4a48ae[_0x641b('0x13')]){if(_0x4a48ae['error']['code']===0x1f4){logger[_0x641b('0x13')](_0x641b('0xf'),_0xc5b1ee,_0x4a48ae[_0x641b('0x13')][_0x641b('0x14')]);return _0x54365a(_0x4a48ae[_0x641b('0x13')][_0x641b('0x14')]);}logger[_0x641b('0x13')](_0x641b('0xf'),_0xc5b1ee,_0x4a48ae[_0x641b('0x13')]['message']);return _0x5ae2a9(_0x4a48ae['error'][_0x641b('0x14')]);}else{logger[_0x641b('0xe')]('AnalyticCustomReport,\x20%s,\x20%s',_0xc5b1ee,_0x641b('0x10'));_0x5ae2a9(_0x4a48ae[_0x641b('0x15')]['message']);}})[_0x641b('0x16')](function(_0x4b63f8){logger[_0x641b('0x13')](_0x641b('0xf'),_0xc5b1ee,_0x4b63f8);_0x54365a(_0x4b63f8);});});} \ No newline at end of file +var _0x1a98=['bluebird','../../mysqldb','../../config/utils','../../config/logger','jayson/promise','client','http','request','then','AnalyticCustomReport,\x20%s,\x20%s','request\x20sent','AnalyticCustomReport,\x20%s,\x20%s,\x20%s','stringify','error','code','message','info','result','lodash','util'];(function(_0x306064,_0x88fccb){var _0x17d9a2=function(_0x56411c){while(--_0x56411c){_0x306064['push'](_0x306064['shift']());}};_0x17d9a2(++_0x88fccb);}(_0x1a98,0xb2));var _0x81a9=function(_0x47c040,_0x5211e3){_0x47c040=_0x47c040-0x0;var _0x265cfc=_0x1a98[_0x47c040];return _0x265cfc;};'use strict';var _=require(_0x81a9('0x0'));var util=require(_0x81a9('0x1'));var moment=require('moment');var BPromise=require(_0x81a9('0x2'));var rs=require('randomstring');var fs=require('fs');var Redis=require('ioredis');var db=require(_0x81a9('0x3'))['db'];var utils=require(_0x81a9('0x4'));var logger=require(_0x81a9('0x5'))('rpc');var config=require('../../config/environment');var jayson=require(_0x81a9('0x6'));var client=jayson[_0x81a9('0x7')][_0x81a9('0x8')]({'port':0x232a});function respondWithRpcPromise(_0x53ce2a,_0x5e4a16,_0x3a6d2d){return new BPromise(function(_0xd28071,_0x33c307){return client[_0x81a9('0x9')](_0x53ce2a,_0x3a6d2d)[_0x81a9('0xa')](function(_0x4bf1c4){logger['info'](_0x81a9('0xb'),_0x5e4a16,_0x81a9('0xc'));logger['debug'](_0x81a9('0xd'),_0x5e4a16,_0x81a9('0xc'),JSON[_0x81a9('0xe')](_0x4bf1c4));if(_0x4bf1c4[_0x81a9('0xf')]){if(_0x4bf1c4[_0x81a9('0xf')][_0x81a9('0x10')]===0x1f4){logger[_0x81a9('0xf')](_0x81a9('0xb'),_0x5e4a16,_0x4bf1c4[_0x81a9('0xf')][_0x81a9('0x11')]);return _0x33c307(_0x4bf1c4['error'][_0x81a9('0x11')]);}logger['error']('AnalyticCustomReport,\x20%s,\x20%s',_0x5e4a16,_0x4bf1c4[_0x81a9('0xf')][_0x81a9('0x11')]);return _0xd28071(_0x4bf1c4[_0x81a9('0xf')]['message']);}else{logger[_0x81a9('0x12')]('AnalyticCustomReport,\x20%s,\x20%s',_0x5e4a16,'request\x20sent');_0xd28071(_0x4bf1c4[_0x81a9('0x13')]['message']);}})['catch'](function(_0x37829b){logger[_0x81a9('0xf')](_0x81a9('0xb'),_0x5e4a16,_0x37829b);_0x33c307(_0x37829b);});});} \ No newline at end of file diff --git a/server/api/analyticCustomReport/index.js b/server/api/analyticCustomReport/index.js index 574f179..9ff74d9 100644 --- a/server/api/analyticCustomReport/index.js +++ b/server/api/analyticCustomReport/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x3e37=['util','path','connect-timeout','express','Router','../../components/auth/service','../../config/environment','./analyticCustomReport.controller','isAuthenticated','index','get','/:id','show','/:id/preview','/:id/run','query','post','put','update','destroy','exports'];(function(_0x381589,_0x27a707){var _0x2a075d=function(_0x4ea19d){while(--_0x4ea19d){_0x381589['push'](_0x381589['shift']());}};_0x2a075d(++_0x27a707);}(_0x3e37,0xbd));var _0x73e3=function(_0x4e676e,_0x2a7c6d){_0x4e676e=_0x4e676e-0x0;var _0x336a3c=_0x3e37[_0x4e676e];return _0x336a3c;};'use strict';var multer=require('multer');var util=require(_0x73e3('0x0'));var path=require(_0x73e3('0x1'));var timeout=require(_0x73e3('0x2'));var express=require(_0x73e3('0x3'));var router=express[_0x73e3('0x4')]();var auth=require(_0x73e3('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x73e3('0x6'));var controller=require(_0x73e3('0x7'));router['get']('/',auth[_0x73e3('0x8')](),controller[_0x73e3('0x9')]);router[_0x73e3('0xa')](_0x73e3('0xb'),auth['isAuthenticated'](),controller[_0x73e3('0xc')]);router[_0x73e3('0xa')](_0x73e3('0xd'),auth[_0x73e3('0x8')](),controller['preview']);router[_0x73e3('0xa')](_0x73e3('0xe'),auth[_0x73e3('0x8')](),controller['run']);router[_0x73e3('0xa')]('/:id/query',auth[_0x73e3('0x8')](),controller[_0x73e3('0xf')]);router[_0x73e3('0x10')]('/',auth[_0x73e3('0x8')](),controller['create']);router[_0x73e3('0x11')]('/:id',auth[_0x73e3('0x8')](),controller[_0x73e3('0x12')]);router['delete'](_0x73e3('0xb'),auth[_0x73e3('0x8')](),controller[_0x73e3('0x13')]);module[_0x73e3('0x14')]=router; \ No newline at end of file +var _0x6930=['./analyticCustomReport.controller','isAuthenticated','index','get','/:id/preview','preview','/:id/run','run','query','put','/:id','update','delete','exports','multer','path','connect-timeout','express','Router','../../components/interaction/service'];(function(_0x2641f9,_0x26715f){var _0x585741=function(_0x2d1462){while(--_0x2d1462){_0x2641f9['push'](_0x2641f9['shift']());}};_0x585741(++_0x26715f);}(_0x6930,0xd6));var _0x0693=function(_0x1c7a52,_0x5656dc){_0x1c7a52=_0x1c7a52-0x0;var _0x4e6be2=_0x6930[_0x1c7a52];return _0x4e6be2;};'use strict';var multer=require(_0x0693('0x0'));var util=require('util');var path=require(_0x0693('0x1'));var timeout=require(_0x0693('0x2'));var express=require(_0x0693('0x3'));var router=express[_0x0693('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0x0693('0x5'));var config=require('../../config/environment');var controller=require(_0x0693('0x6'));router['get']('/',auth[_0x0693('0x7')](),controller[_0x0693('0x8')]);router['get']('/:id',auth[_0x0693('0x7')](),controller['show']);router[_0x0693('0x9')](_0x0693('0xa'),auth[_0x0693('0x7')](),controller[_0x0693('0xb')]);router[_0x0693('0x9')](_0x0693('0xc'),auth[_0x0693('0x7')](),controller[_0x0693('0xd')]);router[_0x0693('0x9')]('/:id/query',auth[_0x0693('0x7')](),controller[_0x0693('0xe')]);router['post']('/',auth[_0x0693('0x7')](),controller['create']);router[_0x0693('0xf')](_0x0693('0x10'),auth[_0x0693('0x7')](),controller[_0x0693('0x11')]);router[_0x0693('0x12')](_0x0693('0x10'),auth[_0x0693('0x7')](),controller['destroy']);module[_0x0693('0x13')]=router; \ No newline at end of file diff --git a/server/api/analyticDefaultReport/analyticDefaultReport.attributes.js b/server/api/analyticDefaultReport/analyticDefaultReport.attributes.js index 4bf112d..86561b8 100644 --- a/server/api/analyticDefaultReport/analyticDefaultReport.attributes.js +++ b/server/api/analyticDefaultReport/analyticDefaultReport.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x14a7=['sequelize','STRING','TEXT'];(function(_0x3ae812,_0x57767f){var _0x3f6639=function(_0x47e00e){while(--_0x47e00e){_0x3ae812['push'](_0x3ae812['shift']());}};_0x3f6639(++_0x57767f);}(_0x14a7,0xae));var _0x714a=function(_0x34a52b,_0x99e88b){_0x34a52b=_0x34a52b-0x0;var _0x1842e0=_0x14a7[_0x34a52b];return _0x1842e0;};'use strict';var Sequelize=require(_0x714a('0x0'));module['exports']={'name':{'type':Sequelize[_0x714a('0x1')],'allowNull':![]},'description':{'type':Sequelize[_0x714a('0x1')]},'parent':{'type':Sequelize[_0x714a('0x1')]},'table':{'type':Sequelize[_0x714a('0x1')]},'conditions':{'type':Sequelize[_0x714a('0x2')]},'joins':{'type':Sequelize[_0x714a('0x2')]}}; \ No newline at end of file +var _0x71c8=['STRING','sequelize'];(function(_0x167cc1,_0x56ef5a){var _0x10bc4b=function(_0xd6a255){while(--_0xd6a255){_0x167cc1['push'](_0x167cc1['shift']());}};_0x10bc4b(++_0x56ef5a);}(_0x71c8,0x65));var _0x871c=function(_0x3ab51d,_0x2fa01d){_0x3ab51d=_0x3ab51d-0x0;var _0x29a04e=_0x71c8[_0x3ab51d];return _0x29a04e;};'use strict';var Sequelize=require(_0x871c('0x0'));module['exports']={'name':{'type':Sequelize[_0x871c('0x1')],'allowNull':![]},'description':{'type':Sequelize[_0x871c('0x1')]},'parent':{'type':Sequelize['STRING']},'table':{'type':Sequelize[_0x871c('0x1')]},'conditions':{'type':Sequelize['TEXT']},'joins':{'type':Sequelize['TEXT']}}; \ No newline at end of file diff --git a/server/api/analyticDefaultReport/analyticDefaultReport.controller.js b/server/api/analyticDefaultReport/analyticDefaultReport.controller.js index ff9475c..7f21c21 100644 --- a/server/api/analyticDefaultReport/analyticDefaultReport.controller.js +++ b/server/api/analyticDefaultReport/analyticDefaultReport.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x1b30=['key','model','map','query','keys','filters','intersection','attributes','fields','length','nolimit','sort','where','pick','filter','merge','options','count','include','findAll','rows','show','params','includeAll','find','catch','create','body','user','role','userProfileId','autoAssociation','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','destroy','preview','join','cross_join','SUM(%s)','COUNT(%s)','COUNT(DISTINCT\x20%s)','MAX(%s)','MIN(%s)','AVG(%s)','GROUP_CONCAT(%s)','GROUP_CONCAT(%s\x20ORDER\x20BY\x20%s\x20DESC)','SEC_TO_TIME(%s)','DATE(%s)','HOUR(%s)','ROUND(%s)','UNIX_TIMESTAMP(%s)','IS\x20NULL','IS\x20NOT\x20NULL','IS\x20EMPTY','rules','operator','group','field','condition','getFields','Sequelize','ValidationErrorItem','Please\x20insert\x20at\x20least\x20one\x20field','AnalyticMetric','keyBy','select','from','table','MetricId','function','replace','format','groupBy','orderBy','DESC','alias','joins','parse','parentKey','foreignTable','foreignKey','%s.%s\x20=\x20%s.%s','conditions','clone','debug','toString','sequelize','SELECT','right_join','GROUP_CONCAT(%s\x20ORDER\x20BY\x20%s\x20ASC)','includes','IS\x20NOT\x20EMPTY','value','metric','QueryTypes','No\x20available\x20data','web','%s-%s.%s','generate','output','csv','AnalyticExtractedReport','cdr','.calldate\x20BETWEEN\x20?\x20AND\x20?','startDate','endDate','info','../../files/reports','countTable','COUNT(*)','runReport','left_join','order','Limited\x20Query:','html-pdf','eml-format','zip-dir','fast-json-patch','moment','bluebird','mustache','path','sox','to-csv','ejs','crypto','jsforce','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','sendStatus','status','end','json','offset','limit','set','Content-Range','reject','save','update','then','get','DefaultReports','UserProfileResource','error','name','index','AnalyticDefaultReport','rawAttributes','fieldName','type'];(function(_0x53f0ff,_0x34cca8){var _0x51d8a9=function(_0x1111b1){while(--_0x1111b1){_0x53f0ff['push'](_0x53f0ff['shift']());}};_0x51d8a9(++_0x34cca8);}(_0x1b30,0x111));var _0x01b3=function(_0x488315,_0x264c2a){_0x488315=_0x488315-0x0;var _0x43b193=_0x1b30[_0x488315];return _0x43b193;};'use strict';var pdf=require(_0x01b3('0x0'));var emlformat=require(_0x01b3('0x1'));var rimraf=require('rimraf');var zipdir=require(_0x01b3('0x2'));var jsonpatch=require(_0x01b3('0x3'));var rp=require('request-promise');var moment=require(_0x01b3('0x4'));var BPromise=require(_0x01b3('0x5'));var Mustache=require(_0x01b3('0x6'));var util=require('util');var path=require(_0x01b3('0x7'));var sox=require(_0x01b3('0x8'));var csv=require(_0x01b3('0x9'));var ejs=require(_0x01b3('0xa'));var fs=require('fs');var _=require('lodash');var squel=require('squel');var crypto=require(_0x01b3('0xb'));var jsforce=require(_0x01b3('0xc'));var deskjs=require('desk.js');var toCsv=require(_0x01b3('0x9'));var querystring=require(_0x01b3('0xd'));var Papa=require(_0x01b3('0xe'));var Redis=require(_0x01b3('0xf'));var authService=require(_0x01b3('0x10'));var qs=require(_0x01b3('0x11'));var as=require(_0x01b3('0x12'));var hardwareService=require(_0x01b3('0x13'));var logger=require(_0x01b3('0x14'))(_0x01b3('0x15'));var utils=require(_0x01b3('0x16'));var config=require(_0x01b3('0x17'));var db=require(_0x01b3('0x18'))['db'];var dbH=require(_0x01b3('0x18'))['dbH'];function respondWithStatusCode(_0x34855a,_0x12d5a9){_0x12d5a9=_0x12d5a9||0xcc;return function(_0x42ff61){if(_0x42ff61){return _0x34855a[_0x01b3('0x19')](_0x12d5a9);}return _0x34855a[_0x01b3('0x1a')](_0x12d5a9)[_0x01b3('0x1b')]();};}function respondWithResult(_0x235b56,_0x409e5f){_0x409e5f=_0x409e5f||0xc8;return function(_0x28069a){if(_0x28069a){return _0x235b56[_0x01b3('0x1a')](_0x409e5f)[_0x01b3('0x1c')](_0x28069a);}};}function respondWithFilteredResult(_0x3a55fd,_0x5d11d8){return function(_0x461292){if(_0x461292){var _0x5e1b8a=_0x461292['count'],_0xee39f8=_0x5d11d8['offset'],_0x3a5a38=_0x5d11d8[_0x01b3('0x1d')]+_0x5d11d8[_0x01b3('0x1e')],_0x43ee5f;if(_0x3a5a38>=_0x5e1b8a){_0x3a5a38=_0x5e1b8a;_0x43ee5f=0xc8;}else{_0x43ee5f=0xce;}_0x3a55fd[_0x01b3('0x1a')](_0x43ee5f);return _0x3a55fd[_0x01b3('0x1f')](_0x01b3('0x20'),_0xee39f8+'-'+_0x3a5a38+'/'+_0x5e1b8a)['json'](_0x461292);}return null;};}function patchUpdates(_0x16ad60){return function(_0x1d424f){try{jsonpatch['apply'](_0x1d424f,_0x16ad60,!![]);}catch(_0x118d17){return BPromise[_0x01b3('0x21')](_0x118d17);}return _0x1d424f[_0x01b3('0x22')]();};}function saveUpdates(_0x1aeede,_0x2ca4dc){return function(_0x5db7ea){if(_0x5db7ea){return _0x5db7ea[_0x01b3('0x23')](_0x1aeede)[_0x01b3('0x24')](function(_0x58b7ce){return _0x58b7ce;});}return null;};}function removeEntity(_0x2af18a,_0x446b22){return function(_0x459d2d){if(_0x459d2d){return _0x459d2d['destroy']()['then'](function(){var _0x41c73a=_0x459d2d[_0x01b3('0x25')]({'plain':!![]});var _0x4dd5f6=_0x01b3('0x26');return db[_0x01b3('0x27')]['destroy']({'where':{'type':_0x4dd5f6,'resourceId':_0x41c73a['id']}})[_0x01b3('0x24')](function(){return _0x459d2d;});})[_0x01b3('0x24')](function(){_0x2af18a[_0x01b3('0x1a')](0xcc)['end']();});}};}function handleEntityNotFound(_0xf36325,_0x5d98e0){return function(_0x4b3c45){if(!_0x4b3c45){_0xf36325[_0x01b3('0x19')](0x194);}return _0x4b3c45;};}function handleError(_0x57e135,_0x449fad){_0x449fad=_0x449fad||0x1f4;return function(_0x3f588a){logger[_0x01b3('0x28')](_0x3f588a['stack']);if(_0x3f588a['name']){delete _0x3f588a[_0x01b3('0x29')];}_0x57e135['status'](_0x449fad)['send'](_0x3f588a);};}exports[_0x01b3('0x2a')]=function(_0x29e50c,_0x2b8e51){var _0x4e80e9={},_0x19e221={},_0x3bea48={'count':0x0,'rows':[]};var _0x1b33ee=_['map'](db[_0x01b3('0x2b')][_0x01b3('0x2c')],function(_0x43f965){return{'name':_0x43f965[_0x01b3('0x2d')],'type':_0x43f965[_0x01b3('0x2e')][_0x01b3('0x2f')]};});_0x19e221[_0x01b3('0x30')]=_[_0x01b3('0x31')](_0x1b33ee,'name');_0x19e221[_0x01b3('0x32')]=_[_0x01b3('0x33')](_0x29e50c[_0x01b3('0x32')]);_0x19e221[_0x01b3('0x34')]=_[_0x01b3('0x35')](_0x19e221['model'],_0x19e221[_0x01b3('0x32')]);_0x4e80e9[_0x01b3('0x36')]=_['intersection'](_0x19e221['model'],qs[_0x01b3('0x37')](_0x29e50c[_0x01b3('0x32')]['fields']));_0x4e80e9[_0x01b3('0x36')]=_0x4e80e9['attributes'][_0x01b3('0x38')]?_0x4e80e9[_0x01b3('0x36')]:_0x19e221[_0x01b3('0x30')];if(!_0x29e50c[_0x01b3('0x32')]['hasOwnProperty'](_0x01b3('0x39'))){_0x4e80e9[_0x01b3('0x1e')]=qs[_0x01b3('0x1e')](_0x29e50c[_0x01b3('0x32')][_0x01b3('0x1e')]);_0x4e80e9[_0x01b3('0x1d')]=qs['offset'](_0x29e50c[_0x01b3('0x32')][_0x01b3('0x1d')]);}_0x4e80e9['order']=qs[_0x01b3('0x3a')](_0x29e50c[_0x01b3('0x32')][_0x01b3('0x3a')]);_0x4e80e9[_0x01b3('0x3b')]=qs[_0x01b3('0x34')](_[_0x01b3('0x3c')](_0x29e50c[_0x01b3('0x32')],_0x19e221[_0x01b3('0x34')]),_0x1b33ee);if(_0x29e50c['query'][_0x01b3('0x3d')]){_0x4e80e9[_0x01b3('0x3b')]=_['merge'](_0x4e80e9[_0x01b3('0x3b')],{'$or':_[_0x01b3('0x31')](_0x1b33ee,function(_0x6a3fbe){if(_0x6a3fbe['type']!=='VIRTUAL'){var _0x4e0f9b={};_0x4e0f9b[_0x6a3fbe[_0x01b3('0x29')]]={'$like':'%'+_0x29e50c['query'][_0x01b3('0x3d')]+'%'};return _0x4e0f9b;}})});}_0x4e80e9=_[_0x01b3('0x3e')]({},_0x4e80e9,_0x29e50c[_0x01b3('0x3f')]);var _0xede1f5={'where':_0x4e80e9['where']};return db[_0x01b3('0x2b')][_0x01b3('0x40')](_0xede1f5)['then'](function(_0x25821c){_0x3bea48[_0x01b3('0x40')]=_0x25821c;if(_0x29e50c[_0x01b3('0x32')]['includeAll']){_0x4e80e9[_0x01b3('0x41')]=[{'all':!![]}];}return db[_0x01b3('0x2b')][_0x01b3('0x42')](_0x4e80e9);})[_0x01b3('0x24')](function(_0xa9788a){_0x3bea48[_0x01b3('0x43')]=_0xa9788a;return _0x3bea48;})[_0x01b3('0x24')](respondWithFilteredResult(_0x2b8e51,_0x4e80e9))['catch'](handleError(_0x2b8e51,null));};exports[_0x01b3('0x44')]=function(_0x58c90c,_0x3569b2){var _0x3a43f8={'raw':!![],'where':{'id':_0x58c90c[_0x01b3('0x45')]['id']}},_0x8aba3f={};_0x8aba3f['model']=_['keys'](db[_0x01b3('0x2b')][_0x01b3('0x2c')]);_0x8aba3f[_0x01b3('0x32')]=_['keys'](_0x58c90c[_0x01b3('0x32')]);_0x8aba3f[_0x01b3('0x34')]=_['intersection'](_0x8aba3f[_0x01b3('0x30')],_0x8aba3f[_0x01b3('0x32')]);_0x3a43f8['attributes']=_[_0x01b3('0x35')](_0x8aba3f[_0x01b3('0x30')],qs['fields'](_0x58c90c[_0x01b3('0x32')]['fields']));_0x3a43f8['attributes']=_0x3a43f8['attributes']['length']?_0x3a43f8[_0x01b3('0x36')]:_0x8aba3f[_0x01b3('0x30')];if(_0x58c90c[_0x01b3('0x32')][_0x01b3('0x46')]){_0x3a43f8[_0x01b3('0x41')]=[{'all':!![]}];}_0x3a43f8=_[_0x01b3('0x3e')]({},_0x3a43f8,_0x58c90c[_0x01b3('0x3f')]);return db[_0x01b3('0x2b')][_0x01b3('0x47')](_0x3a43f8)[_0x01b3('0x24')](handleEntityNotFound(_0x3569b2,null))['then'](respondWithResult(_0x3569b2,null))[_0x01b3('0x48')](handleError(_0x3569b2,null));};exports[_0x01b3('0x49')]=function(_0x1aecbd,_0xfef329){return db['AnalyticDefaultReport'][_0x01b3('0x49')](_0x1aecbd[_0x01b3('0x4a')],{})[_0x01b3('0x24')](function(_0xfa2b25){var _0x53d059=_0x1aecbd[_0x01b3('0x4b')][_0x01b3('0x25')]({'plain':!![]});if(!_0x53d059)throw new Error('Unable\x20to\x20retrieve\x20the\x20current\x20user');if(_0x53d059[_0x01b3('0x4c')]===_0x01b3('0x4b')){var _0x5abcc7=_0xfa2b25[_0x01b3('0x25')]({'plain':!![]});var _0x3c7405='Reports';return db['UserProfileSection']['find']({'where':{'name':_0x3c7405,'userProfileId':_0x53d059[_0x01b3('0x4d')]},'raw':!![]})[_0x01b3('0x24')](function(_0x4abfc6){if(_0x4abfc6&&_0x4abfc6[_0x01b3('0x4e')]===0x0){return db[_0x01b3('0x27')]['create']({'name':_0x5abcc7[_0x01b3('0x29')],'resourceId':_0x5abcc7['id'],'type':_0x01b3('0x26'),'sectionId':_0x4abfc6['id']},{})['then'](function(){return _0xfa2b25;});}else{return _0xfa2b25;}})[_0x01b3('0x48')](function(_0x519de7){logger[_0x01b3('0x28')](_0x01b3('0x4f'),_0x519de7);throw _0x519de7;});}return _0xfa2b25;})[_0x01b3('0x24')](respondWithResult(_0xfef329,0xc9))[_0x01b3('0x48')](handleError(_0xfef329,null));};exports[_0x01b3('0x23')]=function(_0x12dd00,_0x16b7b2){if(_0x12dd00[_0x01b3('0x4a')]['id']){delete _0x12dd00[_0x01b3('0x4a')]['id'];}return db[_0x01b3('0x2b')][_0x01b3('0x47')]({'where':{'id':_0x12dd00['params']['id']}})['then'](handleEntityNotFound(_0x16b7b2,null))[_0x01b3('0x24')](saveUpdates(_0x12dd00[_0x01b3('0x4a')],null))[_0x01b3('0x24')](respondWithResult(_0x16b7b2,null))[_0x01b3('0x48')](handleError(_0x16b7b2,null));};exports[_0x01b3('0x50')]=function(_0x14fce3,_0x421195){return db[_0x01b3('0x2b')][_0x01b3('0x47')]({'where':{'id':_0x14fce3[_0x01b3('0x45')]['id']}})[_0x01b3('0x24')](handleEntityNotFound(_0x421195,null))['then'](removeEntity(_0x421195,null))[_0x01b3('0x48')](handleError(_0x421195,null));};exports[_0x01b3('0x51')]=function(_0xb4c304,_0xbab0e0){var _0x51808f=0xa;var _0x2e6f9e=[_0x01b3('0x52'),'left_join','right_join',_0x01b3('0x53')];var _0x53c85e={'SUM':_0x01b3('0x54'),'COUNT':_0x01b3('0x55'),'COUNT DISTINCT':_0x01b3('0x56'),'MAX':_0x01b3('0x57'),'MIN':_0x01b3('0x58'),'AVG':_0x01b3('0x59'),'GROUP_CONCAT':_0x01b3('0x5a'),'GROUP_CONCAT ASC':'GROUP_CONCAT(%s\x20ORDER\x20BY\x20%s\x20ASC)','GROUP_CONCAT DESC':_0x01b3('0x5b')};var _0x5dc758={'SEC_TO_TIME':_0x01b3('0x5c'),'DATE':_0x01b3('0x5d'),'HOUR':_0x01b3('0x5e'),'ROUND':_0x01b3('0x5f'),'UNIX_TIMESTAMP':_0x01b3('0x60')};var _0x4884a8=function(_0x353ce7){return!_['includes']([_0x01b3('0x61'),_0x01b3('0x62'),_0x01b3('0x63'),'IS\x20NOT\x20EMPTY'],_0x353ce7);};var _0xcb7c4=function(_0x5a5c7f){if(!_0x5a5c7f||!_0x5a5c7f[_0x01b3('0x64')][_0x01b3('0x38')]){return'';}for(var _0x380a9b='(',_0x237b52=0x0;_0x237b52<_0x5a5c7f[_0x01b3('0x64')][_0x01b3('0x38')];_0x237b52+=0x1){_0x237b52>0x0&&(_0x380a9b+='\x20'+_0x5a5c7f[_0x01b3('0x65')]+'\x20');_0x380a9b+=_0x5a5c7f['rules'][_0x237b52][_0x01b3('0x66')]?_0xcb7c4(_0x5a5c7f[_0x01b3('0x64')][_0x237b52][_0x01b3('0x66')]):_0x5a5c7f[_0x01b3('0x64')][_0x237b52][_0x01b3('0x67')]+'\x20'+_0x5a5c7f[_0x01b3('0x64')][_0x237b52][_0x01b3('0x68')]+(_0x4884a8(_0x5a5c7f[_0x01b3('0x64')][_0x237b52][_0x01b3('0x68')])?'\x20'+_0x5a5c7f[_0x01b3('0x64')][_0x237b52]['value']:'');}return _0x380a9b+')';};var _0x38e529={'where':{'id':_0xb4c304[_0x01b3('0x45')]['id']}},_0x11deb8,_0x5f55fc,_0x40743d,_0x1c56df,_0x5b7bea;_0x38e529=_[_0x01b3('0x3e')]({},_0x38e529,_0xb4c304['options']);return db['AnalyticDefaultReport'][_0x01b3('0x47')](_0x38e529)[_0x01b3('0x24')](function(_0x5413e1){if(_0x5413e1){_0x11deb8=_0x5413e1;return _0x5413e1[_0x01b3('0x69')]();}return null;})[_0x01b3('0x24')](function(_0x31d700){if(_0x31d700){if(!_0x31d700[_0x01b3('0x38')]){throw new db[(_0x01b3('0x6a'))][(_0x01b3('0x6b'))](_0x01b3('0x6c'),0x193);}_0x5f55fc=_0x31d700;return db[_0x01b3('0x6d')][_0x01b3('0x42')]({'raw':!![]});}return null;})[_0x01b3('0x24')](function(_0x28b360){if(_0x28b360){_0x40743d=_[_0x01b3('0x6e')](_0x28b360,'id');var _0x2fd270;var _0x3ccc44=squel[_0x01b3('0x6f')]();_0x3ccc44[_0x01b3('0x70')](_0x11deb8[_0x01b3('0x71')]);for(var _0x32ecfa=0x0;_0x32ecfa<_0x5f55fc[_0x01b3('0x38')];_0x32ecfa+=0x1){_0x2fd270=_0x5f55fc[_0x32ecfa][_0x01b3('0x72')]?_0x40743d[_0x5f55fc[_0x32ecfa]['MetricId']]['metric']:_0x5f55fc[_0x32ecfa][_0x01b3('0x67')];_0x2fd270=_0x5f55fc[_0x32ecfa][_0x01b3('0x73')]?_[_0x01b3('0x74')](_0x53c85e[_0x5f55fc[_0x32ecfa][_0x01b3('0x73')]],'%s',_0x2fd270):_0x2fd270;_0x2fd270=_0x5f55fc[_0x32ecfa][_0x01b3('0x75')]?_[_0x01b3('0x74')](_0x5dc758[_0x5f55fc[_0x32ecfa]['format']],'%s',_0x2fd270):_0x2fd270;if(_0x5f55fc[_0x32ecfa][_0x01b3('0x76')]){_0x3ccc44[_0x01b3('0x66')](_0x2fd270);}_0x5f55fc[_0x32ecfa][_0x01b3('0x77')]&&_0x3ccc44['order'](_0x2fd270,_0x5f55fc[_0x32ecfa][_0x01b3('0x77')]===_0x01b3('0x78')?![]:!![]);_0x3ccc44[_0x01b3('0x67')](_0x2fd270,_0x5f55fc[_0x32ecfa][_0x01b3('0x79')]||_0x2fd270);}if(_0x11deb8[_0x01b3('0x7a')]){_0x11deb8[_0x01b3('0x7a')]=JSON[_0x01b3('0x7b')](_0x11deb8['joins']);for(var _0x281713=0x0;_0x281713<_0x11deb8[_0x01b3('0x7a')]['length'];_0x281713+=0x1){if(_0x11deb8['joins'][_0x281713][_0x01b3('0x2e')]&&_['includes'](_0x2e6f9e,_0x11deb8[_0x01b3('0x7a')][_0x281713]['type'])&&_0x11deb8[_0x01b3('0x7a')][_0x281713][_0x01b3('0x7c')]&&_0x11deb8[_0x01b3('0x7a')][_0x281713][_0x01b3('0x7d')]&&_0x11deb8['joins'][_0x281713][_0x01b3('0x7e')]){_0x3ccc44[_0x11deb8['joins'][_0x281713][_0x01b3('0x2e')]](_0x11deb8[_0x01b3('0x7a')][_0x281713][_0x01b3('0x7d')],null,util[_0x01b3('0x75')](_0x01b3('0x7f'),_0x11deb8[_0x01b3('0x71')],_0x11deb8[_0x01b3('0x7a')][_0x281713][_0x01b3('0x7c')],_0x11deb8[_0x01b3('0x7a')][_0x281713][_0x01b3('0x7d')],_0x11deb8[_0x01b3('0x7a')][_0x281713]['foreignKey']));}}}if(_0x11deb8[_0x01b3('0x80')]){_0x11deb8[_0x01b3('0x80')]=JSON[_0x01b3('0x7b')](_0x11deb8[_0x01b3('0x80')]);_0x3ccc44['where'](_0xcb7c4(_0x11deb8[_0x01b3('0x80')][_0x01b3('0x66')]));}_0x5b7bea=_0x3ccc44[_0x01b3('0x81')]();_0x3ccc44[_0x01b3('0x1e')](_0x51808f);_0x3ccc44['offset'](0x0);logger[_0x01b3('0x82')]('Limited\x20Query:',_0x3ccc44[_0x01b3('0x83')]());return db[_0x01b3('0x84')][_0x01b3('0x32')](_0x3ccc44[_0x01b3('0x83')](),{'type':db[_0x01b3('0x84')]['QueryTypes'][_0x01b3('0x85')]});}})[_0x01b3('0x24')](respondWithResult(_0xbab0e0,null))['catch'](handleError(_0xbab0e0,null));};function runReport(_0x599332,_0x377e64,_0x8ae8e){var _0x3621bb=_0x377e64[_0x01b3('0x29')];var _0x38a62d=0xa;var _0x1d53f5=[_0x01b3('0x52'),'left_join',_0x01b3('0x86'),_0x01b3('0x53')];var _0x467e71={'SUM':_0x01b3('0x54'),'COUNT':'COUNT(%s)','COUNT DISTINCT':_0x01b3('0x56'),'MAX':_0x01b3('0x57'),'MIN':_0x01b3('0x58'),'AVG':_0x01b3('0x59'),'GROUP_CONCAT':_0x01b3('0x5a'),'GROUP_CONCAT ASC':_0x01b3('0x87'),'GROUP_CONCAT DESC':_0x01b3('0x5b')};var _0xd6d61e={'SEC_TO_TIME':_0x01b3('0x5c'),'DATE':_0x01b3('0x5d'),'HOUR':_0x01b3('0x5e'),'ROUND':_0x01b3('0x5f'),'UNIX_TIMESTAMP':'UNIX_TIMESTAMP(%s)'};var _0x3d654f=function(_0x40f73d){return!_[_0x01b3('0x88')]([_0x01b3('0x61'),'IS\x20NOT\x20NULL','IS\x20EMPTY',_0x01b3('0x89')],_0x40f73d);};var _0x25adf6=function(_0x11eec7){if(!_0x11eec7||!_0x11eec7[_0x01b3('0x64')]['length']){return'';}for(var _0xc2f26e='(',_0x1d12e3=0x0;_0x1d12e3<_0x11eec7[_0x01b3('0x64')]['length'];_0x1d12e3+=0x1){_0x1d12e3>0x0&&(_0xc2f26e+='\x20'+_0x11eec7['operator']+'\x20');_0xc2f26e+=_0x11eec7[_0x01b3('0x64')][_0x1d12e3][_0x01b3('0x66')]?_0x25adf6(_0x11eec7[_0x01b3('0x64')][_0x1d12e3]['group']):_0x11eec7[_0x01b3('0x64')][_0x1d12e3][_0x01b3('0x67')]+'\x20'+_0x11eec7['rules'][_0x1d12e3][_0x01b3('0x68')]+(_0x3d654f(_0x11eec7['rules'][_0x1d12e3][_0x01b3('0x68')])?'\x20'+_0x11eec7[_0x01b3('0x64')][_0x1d12e3][_0x01b3('0x8a')]:'');}return _0xc2f26e+')';};var _0x5137e1={'where':{'id':_0x599332['id']}},_0x413f9d,_0x487988,_0x2686aa,_0x4fcdbb,_0x4a9197;_0x5137e1=_[_0x01b3('0x3e')]({},_0x5137e1,_0x8ae8e);return db[_0x01b3('0x2b')][_0x01b3('0x47')](_0x5137e1)[_0x01b3('0x24')](function(_0x594751){if(_0x594751){_0x413f9d=_0x594751;return _0x594751[_0x01b3('0x69')]();}return null;})[_0x01b3('0x24')](function(_0x51c9c3){if(_0x51c9c3){if(!_0x51c9c3[_0x01b3('0x38')]){throw new db['Sequelize'][(_0x01b3('0x6b'))](_0x01b3('0x6c'),0x193);}_0x487988=_0x51c9c3;return db[_0x01b3('0x6d')][_0x01b3('0x42')]({'raw':!![]});}return null;})[_0x01b3('0x24')](function(_0x5bb062){if(_0x5bb062){_0x2686aa=_[_0x01b3('0x6e')](_0x5bb062,'id');var _0x1ea4c4;var _0x342e6e=squel['select']();_0x342e6e[_0x01b3('0x70')](_0x413f9d['table']);for(var _0x32f1e9=0x0;_0x32f1e9<_0x487988['length'];_0x32f1e9+=0x1){_0x1ea4c4=_0x487988[_0x32f1e9]['MetricId']?_0x2686aa[_0x487988[_0x32f1e9][_0x01b3('0x72')]][_0x01b3('0x8b')]:_0x487988[_0x32f1e9][_0x01b3('0x67')];_0x1ea4c4=_0x487988[_0x32f1e9][_0x01b3('0x73')]?_[_0x01b3('0x74')](_0x467e71[_0x487988[_0x32f1e9][_0x01b3('0x73')]],'%s',_0x1ea4c4):_0x1ea4c4;_0x1ea4c4=_0x487988[_0x32f1e9][_0x01b3('0x75')]?_[_0x01b3('0x74')](_0xd6d61e[_0x487988[_0x32f1e9][_0x01b3('0x75')]],'%s',_0x1ea4c4):_0x1ea4c4;if(_0x487988[_0x32f1e9][_0x01b3('0x76')]){_0x342e6e[_0x01b3('0x66')](_0x1ea4c4);}_0x487988[_0x32f1e9][_0x01b3('0x77')]&&_0x342e6e['order'](_0x1ea4c4,_0x487988[_0x32f1e9][_0x01b3('0x77')]===_0x01b3('0x78')?![]:!![]);_0x342e6e[_0x01b3('0x67')](_0x1ea4c4,_0x487988[_0x32f1e9][_0x01b3('0x79')]||_0x1ea4c4);}if(_0x413f9d[_0x01b3('0x7a')]){_0x413f9d['joins']=JSON['parse'](_0x413f9d['joins']);for(var _0x1f6f90=0x0;_0x1f6f90<_0x413f9d[_0x01b3('0x7a')][_0x01b3('0x38')];_0x1f6f90+=0x1){if(_0x413f9d[_0x01b3('0x7a')][_0x1f6f90][_0x01b3('0x2e')]&&_[_0x01b3('0x88')](_0x1d53f5,_0x413f9d[_0x01b3('0x7a')][_0x1f6f90][_0x01b3('0x2e')])&&_0x413f9d[_0x01b3('0x7a')][_0x1f6f90][_0x01b3('0x7c')]&&_0x413f9d[_0x01b3('0x7a')][_0x1f6f90][_0x01b3('0x7d')]&&_0x413f9d[_0x01b3('0x7a')][_0x1f6f90][_0x01b3('0x7e')]){_0x342e6e[_0x413f9d[_0x01b3('0x7a')][_0x1f6f90]['type']](_0x413f9d['joins'][_0x1f6f90][_0x01b3('0x7d')],null,util['format']('%s.%s\x20=\x20%s.%s',_0x413f9d['table'],_0x413f9d[_0x01b3('0x7a')][_0x1f6f90]['parentKey'],_0x413f9d[_0x01b3('0x7a')][_0x1f6f90][_0x01b3('0x7d')],_0x413f9d[_0x01b3('0x7a')][_0x1f6f90][_0x01b3('0x7e')]));}}}if(_0x413f9d[_0x01b3('0x80')]){_0x413f9d[_0x01b3('0x80')]=JSON[_0x01b3('0x7b')](_0x413f9d[_0x01b3('0x80')]);_0x342e6e[_0x01b3('0x3b')](_0x25adf6(_0x413f9d['conditions'][_0x01b3('0x66')]));}_0x4a9197=_0x342e6e[_0x01b3('0x81')]();_0x342e6e[_0x01b3('0x1e')](_0x38a62d);_0x342e6e[_0x01b3('0x1d')](0x0);logger[_0x01b3('0x82')]('Limited\x20Query:',_0x342e6e['toString']());return db[_0x01b3('0x84')][_0x01b3('0x32')](_0x342e6e['toString'](),{'type':db[_0x01b3('0x84')][_0x01b3('0x8c')]['SELECT']});}})[_0x01b3('0x24')](function(_0x7eaaba){if(!_0x7eaaba[_0x01b3('0x38')]){throw new db[(_0x01b3('0x6a'))]['ValidationErrorItem'](_0x01b3('0x8d'),0xcc);}if(_0x377e64['output']===_0x01b3('0x8e')){return null;}var _0x24af38=_[_0x01b3('0x3e')](_0x377e64,{'name':_0x377e64['fullPath']||_0x377e64[_0x01b3('0x29')]||_0x413f9d[_0x01b3('0x29')],'basename':_0x3621bb,'savename':util[_0x01b3('0x75')](_0x01b3('0x8f'),_0x377e64['name']||_0x413f9d[_0x01b3('0x29')],require('randomstring')[_0x01b3('0x90')](0x4),_0x377e64[_0x01b3('0x91')]||_0x01b3('0x92')),'reportId':_0x413f9d['id'],'reportType':'default'});return db[_0x01b3('0x93')][_0x01b3('0x49')](_0x24af38,{'raw':!![]});})[_0x01b3('0x24')](function(_0x1145ca){if(_0x413f9d[_0x01b3('0x71')]===_0x01b3('0x94')){_0x4a9197[_0x01b3('0x3b')](_0x413f9d[_0x01b3('0x71')]+_0x01b3('0x95'),_0x377e64[_0x01b3('0x96')],_0x377e64[_0x01b3('0x97')]);}else{_0x4a9197['where'](_0x413f9d['table']+'.createdAt\x20BETWEEN\x20?\x20AND\x20?',_0x377e64[_0x01b3('0x96')],_0x377e64[_0x01b3('0x97')]);}if(_0x1145ca){logger[_0x01b3('0x98')]('Run\x20Query:',_0x4a9197[_0x01b3('0x83')]());require('child_process')['fork'](path[_0x01b3('0x52')](__dirname,'../../components/export/',_0x1145ca['output']),[_0x1145ca['id'],_0x4a9197[_0x01b3('0x83')](),path[_0x01b3('0x52')](__dirname,_0x01b3('0x99'),_0x1145ca['savename']),_0x3621bb]);return _0x1145ca;}else{var _0x179def=squel[_0x01b3('0x6f')]();_0x179def[_0x01b3('0x70')]('('+_0x4a9197[_0x01b3('0x83')]()+')',_0x01b3('0x9a'));_0x179def[_0x01b3('0x67')](_0x01b3('0x9b'),_0x01b3('0x40'));_0x4a9197['limit'](_0x377e64[_0x01b3('0x1e')]||_0x38a62d);_0x4a9197[_0x01b3('0x1d')](_0x377e64[_0x01b3('0x1d')]||0x0);return dbH[_0x01b3('0x84')][_0x01b3('0x32')](_0x179def[_0x01b3('0x83')](),{'type':dbH[_0x01b3('0x84')]['QueryTypes'][_0x01b3('0x85')]})['then'](function(_0x5dd32a){if(!_0x5dd32a['length']){_0x4fcdbb=0x0;}else{_0x4fcdbb=_0x5dd32a[0x0][_0x01b3('0x40')]||0x0;}return dbH['sequelize'][_0x01b3('0x32')](_0x4a9197[_0x01b3('0x83')](),{'type':dbH[_0x01b3('0x84')][_0x01b3('0x8c')][_0x01b3('0x85')]});})[_0x01b3('0x24')](function(_0x1bda9b){return{'rows':_0x1bda9b||[],'count':_0x4fcdbb};});}});}exports['run']=function(_0x501869,_0x58f5f2){return runReport(_0x501869['params'],_0x501869['query'],_0x501869[_0x01b3('0x3f')])[_0x01b3('0x24')](respondWithResult(_0x58f5f2,null))[_0x01b3('0x48')](handleError(_0x58f5f2,null));};exports[_0x01b3('0x9c')]=runReport;exports[_0x01b3('0x32')]=function(_0x1eae0f,_0x17b9ab){var _0x41de93=0xa;var _0x373995=[_0x01b3('0x52'),_0x01b3('0x9d'),_0x01b3('0x86'),_0x01b3('0x53')];var _0x3e3723={'SUM':_0x01b3('0x54'),'COUNT':'COUNT(%s)','COUNT DISTINCT':'COUNT(DISTINCT\x20%s)','MAX':_0x01b3('0x57'),'MIN':_0x01b3('0x58'),'AVG':'AVG(%s)','GROUP_CONCAT':_0x01b3('0x5a'),'GROUP_CONCAT ASC':'GROUP_CONCAT(%s\x20ORDER\x20BY\x20%s\x20ASC)','GROUP_CONCAT DESC':_0x01b3('0x5b')};var _0x227214={'SEC_TO_TIME':_0x01b3('0x5c'),'DATE':_0x01b3('0x5d'),'HOUR':_0x01b3('0x5e'),'ROUND':_0x01b3('0x5f'),'UNIX_TIMESTAMP':'UNIX_TIMESTAMP(%s)'};var _0x24cf0a=function(_0x293365){return!_[_0x01b3('0x88')]([_0x01b3('0x61'),'IS\x20NOT\x20NULL','IS\x20EMPTY',_0x01b3('0x89')],_0x293365);};var _0xf80428=function(_0x2c50fd){if(!_0x2c50fd||!_0x2c50fd[_0x01b3('0x64')][_0x01b3('0x38')]){return'';}for(var _0x586e64='(',_0x5f4155=0x0;_0x5f4155<_0x2c50fd[_0x01b3('0x64')]['length'];_0x5f4155+=0x1){_0x5f4155>0x0&&(_0x586e64+='\x20'+_0x2c50fd[_0x01b3('0x65')]+'\x20');_0x586e64+=_0x2c50fd[_0x01b3('0x64')][_0x5f4155][_0x01b3('0x66')]?_0xf80428(_0x2c50fd[_0x01b3('0x64')][_0x5f4155][_0x01b3('0x66')]):_0x2c50fd[_0x01b3('0x64')][_0x5f4155][_0x01b3('0x67')]+'\x20'+_0x2c50fd['rules'][_0x5f4155][_0x01b3('0x68')]+(_0x24cf0a(_0x2c50fd[_0x01b3('0x64')][_0x5f4155]['condition'])?'\x20'+_0x2c50fd[_0x01b3('0x64')][_0x5f4155][_0x01b3('0x8a')]:'');}return _0x586e64+')';};var _0x203cd4={'where':{'id':_0x1eae0f[_0x01b3('0x45')]['id']}},_0x2e1740,_0x5ce14b,_0x2e1ca6,_0x35b2e2,_0x82abbb;_0x203cd4=_[_0x01b3('0x3e')]({},_0x203cd4,_0x1eae0f[_0x01b3('0x3f')]);return db[_0x01b3('0x2b')][_0x01b3('0x47')](_0x203cd4)[_0x01b3('0x24')](function(_0x17b6bc){if(_0x17b6bc){_0x2e1740=_0x17b6bc;return _0x17b6bc[_0x01b3('0x69')]();}return null;})[_0x01b3('0x24')](function(_0x557924){if(_0x557924){if(!_0x557924['length']){throw new db[(_0x01b3('0x6a'))]['ValidationErrorItem'](_0x01b3('0x6c'),0x193);}_0x5ce14b=_0x557924;return db[_0x01b3('0x6d')][_0x01b3('0x42')]({'raw':!![]});}return null;})['then'](function(_0x4b1288){if(_0x4b1288){_0x2e1ca6=_[_0x01b3('0x6e')](_0x4b1288,'id');var _0x2d4c6e;var _0x42455a=squel[_0x01b3('0x6f')]();_0x42455a['from'](_0x2e1740[_0x01b3('0x71')]);for(var _0x4699ab=0x0;_0x4699ab<_0x5ce14b[_0x01b3('0x38')];_0x4699ab+=0x1){_0x2d4c6e=_0x5ce14b[_0x4699ab]['MetricId']?_0x2e1ca6[_0x5ce14b[_0x4699ab][_0x01b3('0x72')]][_0x01b3('0x8b')]:_0x5ce14b[_0x4699ab][_0x01b3('0x67')];_0x2d4c6e=_0x5ce14b[_0x4699ab][_0x01b3('0x73')]?_['replace'](_0x3e3723[_0x5ce14b[_0x4699ab]['function']],'%s',_0x2d4c6e):_0x2d4c6e;_0x2d4c6e=_0x5ce14b[_0x4699ab][_0x01b3('0x75')]?_[_0x01b3('0x74')](_0x227214[_0x5ce14b[_0x4699ab][_0x01b3('0x75')]],'%s',_0x2d4c6e):_0x2d4c6e;if(_0x5ce14b[_0x4699ab][_0x01b3('0x76')]){_0x42455a[_0x01b3('0x66')](_0x2d4c6e);}_0x5ce14b[_0x4699ab][_0x01b3('0x77')]&&_0x42455a[_0x01b3('0x9e')](_0x2d4c6e,_0x5ce14b[_0x4699ab]['orderBy']==='DESC'?![]:!![]);_0x42455a[_0x01b3('0x67')](_0x2d4c6e,_0x5ce14b[_0x4699ab][_0x01b3('0x79')]||_0x2d4c6e);}if(_0x2e1740[_0x01b3('0x7a')]){_0x2e1740[_0x01b3('0x7a')]=JSON['parse'](_0x2e1740[_0x01b3('0x7a')]);for(var _0x29a386=0x0;_0x29a386<_0x2e1740[_0x01b3('0x7a')][_0x01b3('0x38')];_0x29a386+=0x1){if(_0x2e1740[_0x01b3('0x7a')][_0x29a386][_0x01b3('0x2e')]&&_[_0x01b3('0x88')](_0x373995,_0x2e1740[_0x01b3('0x7a')][_0x29a386][_0x01b3('0x2e')])&&_0x2e1740[_0x01b3('0x7a')][_0x29a386][_0x01b3('0x7c')]&&_0x2e1740[_0x01b3('0x7a')][_0x29a386][_0x01b3('0x7d')]&&_0x2e1740['joins'][_0x29a386][_0x01b3('0x7e')]){_0x42455a[_0x2e1740[_0x01b3('0x7a')][_0x29a386]['type']](_0x2e1740[_0x01b3('0x7a')][_0x29a386][_0x01b3('0x7d')],null,util['format'](_0x01b3('0x7f'),_0x2e1740[_0x01b3('0x71')],_0x2e1740[_0x01b3('0x7a')][_0x29a386]['parentKey'],_0x2e1740['joins'][_0x29a386][_0x01b3('0x7d')],_0x2e1740[_0x01b3('0x7a')][_0x29a386][_0x01b3('0x7e')]));}}}if(_0x2e1740[_0x01b3('0x80')]){_0x2e1740[_0x01b3('0x80')]=JSON[_0x01b3('0x7b')](_0x2e1740[_0x01b3('0x80')]);_0x42455a['where'](_0xf80428(_0x2e1740[_0x01b3('0x80')][_0x01b3('0x66')]));}_0x82abbb=_0x42455a[_0x01b3('0x81')]();_0x42455a[_0x01b3('0x1e')](_0x41de93);_0x42455a['offset'](0x0);logger[_0x01b3('0x82')](_0x01b3('0x9f'),_0x42455a[_0x01b3('0x83')]());return db[_0x01b3('0x84')]['query'](_0x42455a[_0x01b3('0x83')](),{'type':db[_0x01b3('0x84')]['QueryTypes'][_0x01b3('0x85')]});}})[_0x01b3('0x24')](function(){return{'sql':_0x82abbb[_0x01b3('0x83')]()};})['then'](respondWithResult(_0x17b9ab,null))[_0x01b3('0x48')](handleError(_0x17b9ab,null));}; \ No newline at end of file +var _0xe171=['keys','intersection','fields','attributes','hasOwnProperty','nolimit','sort','pick','filter','where','merge','VIRTUAL','includeAll','findAll','rows','catch','show','length','include','create','body','user','Reports','find','userProfileId','autoAssociation','DefaultReports','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','params','preview','join','left_join','COUNT(%s)','COUNT(DISTINCT\x20%s)','MAX(%s)','MIN(%s)','AVG(%s)','GROUP_CONCAT(%s)','GROUP_CONCAT(%s\x20ORDER\x20BY\x20%s\x20ASC)','HOUR(%s)','ROUND(%s)','UNIX_TIMESTAMP(%s)','includes','IS\x20NULL','IS\x20NOT\x20NULL','IS\x20EMPTY','IS\x20NOT\x20EMPTY','rules','operator','group','field','condition','options','Sequelize','Please\x20insert\x20at\x20least\x20one\x20field','AnalyticMetric','keyBy','select','from','table','MetricId','metric','function','replace','format','groupBy','orderBy','order','DESC','joins','parse','type','foreignTable','foreignKey','%s.%s\x20=\x20%s.%s','parentKey','conditions','debug','Limited\x20Query:','sequelize','QueryTypes','SELECT','cross_join','SUM(%s)','GROUP_CONCAT(%s\x20ORDER\x20BY\x20%s\x20DESC)','SEC_TO_TIME(%s)','DATE(%s)','value','getFields','alias','clone','toString','ValidationErrorItem','No\x20available\x20data','%s-%s.%s','randomstring','generate','default','AnalyticExtractedReport','cdr','.calldate\x20BETWEEN\x20?\x20AND\x20?','startDate','endDate','.createdAt\x20BETWEEN\x20?\x20AND\x20?','Run\x20Query:','child_process','../../components/export/','output','../../files/reports','COUNT(*)','run','runReport','right_join','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','util','path','sox','to-csv','lodash','squel','crypto','jsforce','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','api','../../config/environment','../../mysqldb','dbH','sendStatus','status','end','json','count','offset','limit','Content-Range','apply','reject','save','update','then','destroy','get','UserProfileResource','error','stack','name','send','index','map','AnalyticDefaultReport','rawAttributes','fieldName','key','model','query'];(function(_0x10e337,_0x4b2143){var _0x1be4ff=function(_0xd46e7b){while(--_0xd46e7b){_0x10e337['push'](_0x10e337['shift']());}};_0x1be4ff(++_0x4b2143);}(_0xe171,0x118));var _0x1e17=function(_0x304c13,_0x22ac2e){_0x304c13=_0x304c13-0x0;var _0x335654=_0xe171[_0x304c13];return _0x335654;};'use strict';var pdf=require(_0x1e17('0x0'));var emlformat=require(_0x1e17('0x1'));var rimraf=require(_0x1e17('0x2'));var zipdir=require(_0x1e17('0x3'));var jsonpatch=require(_0x1e17('0x4'));var rp=require(_0x1e17('0x5'));var moment=require(_0x1e17('0x6'));var BPromise=require(_0x1e17('0x7'));var Mustache=require('mustache');var util=require(_0x1e17('0x8'));var path=require(_0x1e17('0x9'));var sox=require(_0x1e17('0xa'));var csv=require(_0x1e17('0xb'));var ejs=require('ejs');var fs=require('fs');var _=require(_0x1e17('0xc'));var squel=require(_0x1e17('0xd'));var crypto=require(_0x1e17('0xe'));var jsforce=require(_0x1e17('0xf'));var deskjs=require('desk.js');var toCsv=require(_0x1e17('0xb'));var querystring=require(_0x1e17('0x10'));var Papa=require(_0x1e17('0x11'));var Redis=require(_0x1e17('0x12'));var authService=require(_0x1e17('0x13'));var qs=require(_0x1e17('0x14'));var as=require(_0x1e17('0x15'));var hardwareService=require('../../config/license/hardware');var logger=require('../../config/logger')(_0x1e17('0x16'));var utils=require('../../config/utils');var config=require(_0x1e17('0x17'));var db=require(_0x1e17('0x18'))['db'];var dbH=require(_0x1e17('0x18'))[_0x1e17('0x19')];function respondWithStatusCode(_0x1cc88a,_0x555e84){_0x555e84=_0x555e84||0xcc;return function(_0x63114b){if(_0x63114b){return _0x1cc88a[_0x1e17('0x1a')](_0x555e84);}return _0x1cc88a[_0x1e17('0x1b')](_0x555e84)[_0x1e17('0x1c')]();};}function respondWithResult(_0x2d448d,_0x3f31d3){_0x3f31d3=_0x3f31d3||0xc8;return function(_0xf7572d){if(_0xf7572d){return _0x2d448d[_0x1e17('0x1b')](_0x3f31d3)[_0x1e17('0x1d')](_0xf7572d);}};}function respondWithFilteredResult(_0x442779,_0x50a4ad){return function(_0x56a31a){if(_0x56a31a){var _0x200b68=_0x56a31a[_0x1e17('0x1e')],_0x12357e=_0x50a4ad[_0x1e17('0x1f')],_0x42277f=_0x50a4ad['offset']+_0x50a4ad[_0x1e17('0x20')],_0x4374c7;if(_0x42277f>=_0x200b68){_0x42277f=_0x200b68;_0x4374c7=0xc8;}else{_0x4374c7=0xce;}_0x442779[_0x1e17('0x1b')](_0x4374c7);return _0x442779['set'](_0x1e17('0x21'),_0x12357e+'-'+_0x42277f+'/'+_0x200b68)['json'](_0x56a31a);}return null;};}function patchUpdates(_0xff2824){return function(_0x5f0b8c){try{jsonpatch[_0x1e17('0x22')](_0x5f0b8c,_0xff2824,!![]);}catch(_0x527ee1){return BPromise[_0x1e17('0x23')](_0x527ee1);}return _0x5f0b8c[_0x1e17('0x24')]();};}function saveUpdates(_0x2e9f66,_0x2fe169){return function(_0x349dea){if(_0x349dea){return _0x349dea[_0x1e17('0x25')](_0x2e9f66)[_0x1e17('0x26')](function(_0x4c5301){return _0x4c5301;});}return null;};}function removeEntity(_0x3f80ba,_0xcea651){return function(_0x21df0d){if(_0x21df0d){return _0x21df0d[_0x1e17('0x27')]()['then'](function(){var _0x1af9fe=_0x21df0d[_0x1e17('0x28')]({'plain':!![]});var _0xa4d072='DefaultReports';return db[_0x1e17('0x29')][_0x1e17('0x27')]({'where':{'type':_0xa4d072,'resourceId':_0x1af9fe['id']}})[_0x1e17('0x26')](function(){return _0x21df0d;});})['then'](function(){_0x3f80ba[_0x1e17('0x1b')](0xcc)[_0x1e17('0x1c')]();});}};}function handleEntityNotFound(_0x2487e6,_0x34edf2){return function(_0x8a4d4){if(!_0x8a4d4){_0x2487e6[_0x1e17('0x1a')](0x194);}return _0x8a4d4;};}function handleError(_0x56a4cb,_0x1bd3f6){_0x1bd3f6=_0x1bd3f6||0x1f4;return function(_0x45d873){logger[_0x1e17('0x2a')](_0x45d873[_0x1e17('0x2b')]);if(_0x45d873['name']){delete _0x45d873[_0x1e17('0x2c')];}_0x56a4cb['status'](_0x1bd3f6)[_0x1e17('0x2d')](_0x45d873);};}exports[_0x1e17('0x2e')]=function(_0x4d1821,_0x6acaa3){var _0x138b04={},_0x5a35b6={},_0x54d435={'count':0x0,'rows':[]};var _0xc3134=_[_0x1e17('0x2f')](db[_0x1e17('0x30')][_0x1e17('0x31')],function(_0x54018c){return{'name':_0x54018c[_0x1e17('0x32')],'type':_0x54018c['type'][_0x1e17('0x33')]};});_0x5a35b6[_0x1e17('0x34')]=_[_0x1e17('0x2f')](_0xc3134,_0x1e17('0x2c'));_0x5a35b6[_0x1e17('0x35')]=_[_0x1e17('0x36')](_0x4d1821[_0x1e17('0x35')]);_0x5a35b6['filters']=_['intersection'](_0x5a35b6['model'],_0x5a35b6[_0x1e17('0x35')]);_0x138b04['attributes']=_[_0x1e17('0x37')](_0x5a35b6[_0x1e17('0x34')],qs[_0x1e17('0x38')](_0x4d1821['query']['fields']));_0x138b04[_0x1e17('0x39')]=_0x138b04['attributes']['length']?_0x138b04[_0x1e17('0x39')]:_0x5a35b6[_0x1e17('0x34')];if(!_0x4d1821[_0x1e17('0x35')][_0x1e17('0x3a')](_0x1e17('0x3b'))){_0x138b04[_0x1e17('0x20')]=qs[_0x1e17('0x20')](_0x4d1821[_0x1e17('0x35')][_0x1e17('0x20')]);_0x138b04[_0x1e17('0x1f')]=qs[_0x1e17('0x1f')](_0x4d1821[_0x1e17('0x35')][_0x1e17('0x1f')]);}_0x138b04['order']=qs[_0x1e17('0x3c')](_0x4d1821['query'][_0x1e17('0x3c')]);_0x138b04['where']=qs['filters'](_[_0x1e17('0x3d')](_0x4d1821[_0x1e17('0x35')],_0x5a35b6['filters']),_0xc3134);if(_0x4d1821[_0x1e17('0x35')][_0x1e17('0x3e')]){_0x138b04[_0x1e17('0x3f')]=_[_0x1e17('0x40')](_0x138b04[_0x1e17('0x3f')],{'$or':_[_0x1e17('0x2f')](_0xc3134,function(_0x284bb2){if(_0x284bb2['type']!==_0x1e17('0x41')){var _0x14eea2={};_0x14eea2[_0x284bb2[_0x1e17('0x2c')]]={'$like':'%'+_0x4d1821[_0x1e17('0x35')]['filter']+'%'};return _0x14eea2;}})});}_0x138b04=_[_0x1e17('0x40')]({},_0x138b04,_0x4d1821['options']);var _0x70baa={'where':_0x138b04['where']};return db[_0x1e17('0x30')][_0x1e17('0x1e')](_0x70baa)[_0x1e17('0x26')](function(_0x1080e1){_0x54d435[_0x1e17('0x1e')]=_0x1080e1;if(_0x4d1821[_0x1e17('0x35')][_0x1e17('0x42')]){_0x138b04['include']=[{'all':!![]}];}return db[_0x1e17('0x30')][_0x1e17('0x43')](_0x138b04);})[_0x1e17('0x26')](function(_0xc399fe){_0x54d435[_0x1e17('0x44')]=_0xc399fe;return _0x54d435;})[_0x1e17('0x26')](respondWithFilteredResult(_0x6acaa3,_0x138b04))[_0x1e17('0x45')](handleError(_0x6acaa3,null));};exports[_0x1e17('0x46')]=function(_0x124cc9,_0x2c125b){var _0x462848={'raw':!![],'where':{'id':_0x124cc9['params']['id']}},_0x5e28ce={};_0x5e28ce[_0x1e17('0x34')]=_[_0x1e17('0x36')](db['AnalyticDefaultReport'][_0x1e17('0x31')]);_0x5e28ce[_0x1e17('0x35')]=_[_0x1e17('0x36')](_0x124cc9['query']);_0x5e28ce['filters']=_[_0x1e17('0x37')](_0x5e28ce[_0x1e17('0x34')],_0x5e28ce[_0x1e17('0x35')]);_0x462848[_0x1e17('0x39')]=_['intersection'](_0x5e28ce[_0x1e17('0x34')],qs[_0x1e17('0x38')](_0x124cc9[_0x1e17('0x35')][_0x1e17('0x38')]));_0x462848['attributes']=_0x462848[_0x1e17('0x39')][_0x1e17('0x47')]?_0x462848['attributes']:_0x5e28ce[_0x1e17('0x34')];if(_0x124cc9['query']['includeAll']){_0x462848[_0x1e17('0x48')]=[{'all':!![]}];}_0x462848=_[_0x1e17('0x40')]({},_0x462848,_0x124cc9['options']);return db[_0x1e17('0x30')]['find'](_0x462848)[_0x1e17('0x26')](handleEntityNotFound(_0x2c125b,null))['then'](respondWithResult(_0x2c125b,null))[_0x1e17('0x45')](handleError(_0x2c125b,null));};exports['create']=function(_0x324e73,_0x26a035){return db[_0x1e17('0x30')][_0x1e17('0x49')](_0x324e73[_0x1e17('0x4a')],{})[_0x1e17('0x26')](function(_0x2db30b){var _0x1e777f=_0x324e73['user'][_0x1e17('0x28')]({'plain':!![]});if(!_0x1e777f)throw new Error('Unable\x20to\x20retrieve\x20the\x20current\x20user');if(_0x1e777f['role']===_0x1e17('0x4b')){var _0x5b1492=_0x2db30b[_0x1e17('0x28')]({'plain':!![]});var _0x38d70b=_0x1e17('0x4c');return db['UserProfileSection'][_0x1e17('0x4d')]({'where':{'name':_0x38d70b,'userProfileId':_0x1e777f[_0x1e17('0x4e')]},'raw':!![]})[_0x1e17('0x26')](function(_0x1de01d){if(_0x1de01d&&_0x1de01d[_0x1e17('0x4f')]===0x0){return db[_0x1e17('0x29')][_0x1e17('0x49')]({'name':_0x5b1492[_0x1e17('0x2c')],'resourceId':_0x5b1492['id'],'type':_0x1e17('0x50'),'sectionId':_0x1de01d['id']},{})[_0x1e17('0x26')](function(){return _0x2db30b;});}else{return _0x2db30b;}})['catch'](function(_0x3b97a9){logger[_0x1e17('0x2a')](_0x1e17('0x51'),_0x3b97a9);throw _0x3b97a9;});}return _0x2db30b;})[_0x1e17('0x26')](respondWithResult(_0x26a035,0xc9))[_0x1e17('0x45')](handleError(_0x26a035,null));};exports[_0x1e17('0x25')]=function(_0x12f833,_0x208756){if(_0x12f833['body']['id']){delete _0x12f833[_0x1e17('0x4a')]['id'];}return db[_0x1e17('0x30')][_0x1e17('0x4d')]({'where':{'id':_0x12f833[_0x1e17('0x52')]['id']}})[_0x1e17('0x26')](handleEntityNotFound(_0x208756,null))[_0x1e17('0x26')](saveUpdates(_0x12f833['body'],null))[_0x1e17('0x26')](respondWithResult(_0x208756,null))[_0x1e17('0x45')](handleError(_0x208756,null));};exports['destroy']=function(_0x4657c5,_0x569544){return db[_0x1e17('0x30')][_0x1e17('0x4d')]({'where':{'id':_0x4657c5['params']['id']}})[_0x1e17('0x26')](handleEntityNotFound(_0x569544,null))[_0x1e17('0x26')](removeEntity(_0x569544,null))[_0x1e17('0x45')](handleError(_0x569544,null));};exports[_0x1e17('0x53')]=function(_0x10b966,_0x2cb24f){var _0x538c71=0xa;var _0x266a3d=[_0x1e17('0x54'),_0x1e17('0x55'),'right_join','cross_join'];var _0x4872b6={'SUM':'SUM(%s)','COUNT':_0x1e17('0x56'),'COUNT DISTINCT':_0x1e17('0x57'),'MAX':_0x1e17('0x58'),'MIN':_0x1e17('0x59'),'AVG':_0x1e17('0x5a'),'GROUP_CONCAT':_0x1e17('0x5b'),'GROUP_CONCAT ASC':_0x1e17('0x5c'),'GROUP_CONCAT DESC':'GROUP_CONCAT(%s\x20ORDER\x20BY\x20%s\x20DESC)'};var _0x5b3678={'SEC_TO_TIME':'SEC_TO_TIME(%s)','DATE':'DATE(%s)','HOUR':_0x1e17('0x5d'),'ROUND':_0x1e17('0x5e'),'UNIX_TIMESTAMP':_0x1e17('0x5f')};var _0x2e5da3=function(_0x3beb6a){return!_[_0x1e17('0x60')]([_0x1e17('0x61'),_0x1e17('0x62'),_0x1e17('0x63'),_0x1e17('0x64')],_0x3beb6a);};var _0x2a2071=function(_0x2764f1){if(!_0x2764f1||!_0x2764f1['rules'][_0x1e17('0x47')]){return'';}for(var _0x230648='(',_0x24265a=0x0;_0x24265a<_0x2764f1[_0x1e17('0x65')][_0x1e17('0x47')];_0x24265a+=0x1){_0x24265a>0x0&&(_0x230648+='\x20'+_0x2764f1[_0x1e17('0x66')]+'\x20');_0x230648+=_0x2764f1[_0x1e17('0x65')][_0x24265a][_0x1e17('0x67')]?_0x2a2071(_0x2764f1[_0x1e17('0x65')][_0x24265a][_0x1e17('0x67')]):_0x2764f1[_0x1e17('0x65')][_0x24265a][_0x1e17('0x68')]+'\x20'+_0x2764f1[_0x1e17('0x65')][_0x24265a][_0x1e17('0x69')]+(_0x2e5da3(_0x2764f1[_0x1e17('0x65')][_0x24265a][_0x1e17('0x69')])?'\x20'+_0x2764f1[_0x1e17('0x65')][_0x24265a]['value']:'');}return _0x230648+')';};var _0x42e7a0={'where':{'id':_0x10b966[_0x1e17('0x52')]['id']}},_0x10102a,_0x48e228,_0x509c27,_0x36e77d,_0x25e779;_0x42e7a0=_[_0x1e17('0x40')]({},_0x42e7a0,_0x10b966[_0x1e17('0x6a')]);return db[_0x1e17('0x30')][_0x1e17('0x4d')](_0x42e7a0)[_0x1e17('0x26')](function(_0x22c89d){if(_0x22c89d){_0x10102a=_0x22c89d;return _0x22c89d['getFields']();}return null;})[_0x1e17('0x26')](function(_0x6b2edc){if(_0x6b2edc){if(!_0x6b2edc[_0x1e17('0x47')]){throw new db[(_0x1e17('0x6b'))]['ValidationErrorItem'](_0x1e17('0x6c'),0x193);}_0x48e228=_0x6b2edc;return db[_0x1e17('0x6d')][_0x1e17('0x43')]({'raw':!![]});}return null;})['then'](function(_0x542fb1){if(_0x542fb1){_0x509c27=_[_0x1e17('0x6e')](_0x542fb1,'id');var _0x5c47c7;var _0x444a37=squel[_0x1e17('0x6f')]();_0x444a37[_0x1e17('0x70')](_0x10102a[_0x1e17('0x71')]);for(var _0x1f6679=0x0;_0x1f6679<_0x48e228[_0x1e17('0x47')];_0x1f6679+=0x1){_0x5c47c7=_0x48e228[_0x1f6679][_0x1e17('0x72')]?_0x509c27[_0x48e228[_0x1f6679][_0x1e17('0x72')]][_0x1e17('0x73')]:_0x48e228[_0x1f6679]['field'];_0x5c47c7=_0x48e228[_0x1f6679][_0x1e17('0x74')]?_['replace'](_0x4872b6[_0x48e228[_0x1f6679]['function']],'%s',_0x5c47c7):_0x5c47c7;_0x5c47c7=_0x48e228[_0x1f6679]['format']?_[_0x1e17('0x75')](_0x5b3678[_0x48e228[_0x1f6679][_0x1e17('0x76')]],'%s',_0x5c47c7):_0x5c47c7;if(_0x48e228[_0x1f6679][_0x1e17('0x77')]){_0x444a37[_0x1e17('0x67')](_0x5c47c7);}_0x48e228[_0x1f6679][_0x1e17('0x78')]&&_0x444a37[_0x1e17('0x79')](_0x5c47c7,_0x48e228[_0x1f6679][_0x1e17('0x78')]===_0x1e17('0x7a')?![]:!![]);_0x444a37[_0x1e17('0x68')](_0x5c47c7,_0x48e228[_0x1f6679]['alias']||_0x5c47c7);}if(_0x10102a['joins']){_0x10102a[_0x1e17('0x7b')]=JSON[_0x1e17('0x7c')](_0x10102a['joins']);for(var _0x65e343=0x0;_0x65e343<_0x10102a['joins'][_0x1e17('0x47')];_0x65e343+=0x1){if(_0x10102a[_0x1e17('0x7b')][_0x65e343][_0x1e17('0x7d')]&&_[_0x1e17('0x60')](_0x266a3d,_0x10102a[_0x1e17('0x7b')][_0x65e343][_0x1e17('0x7d')])&&_0x10102a[_0x1e17('0x7b')][_0x65e343]['parentKey']&&_0x10102a[_0x1e17('0x7b')][_0x65e343][_0x1e17('0x7e')]&&_0x10102a[_0x1e17('0x7b')][_0x65e343][_0x1e17('0x7f')]){_0x444a37[_0x10102a[_0x1e17('0x7b')][_0x65e343][_0x1e17('0x7d')]](_0x10102a[_0x1e17('0x7b')][_0x65e343]['foreignTable'],null,util['format'](_0x1e17('0x80'),_0x10102a[_0x1e17('0x71')],_0x10102a[_0x1e17('0x7b')][_0x65e343][_0x1e17('0x81')],_0x10102a[_0x1e17('0x7b')][_0x65e343][_0x1e17('0x7e')],_0x10102a['joins'][_0x65e343]['foreignKey']));}}}if(_0x10102a[_0x1e17('0x82')]){_0x10102a[_0x1e17('0x82')]=JSON[_0x1e17('0x7c')](_0x10102a[_0x1e17('0x82')]);_0x444a37[_0x1e17('0x3f')](_0x2a2071(_0x10102a['conditions'][_0x1e17('0x67')]));}_0x25e779=_0x444a37['clone']();_0x444a37['limit'](_0x538c71);_0x444a37[_0x1e17('0x1f')](0x0);logger[_0x1e17('0x83')](_0x1e17('0x84'),_0x444a37['toString']());return db[_0x1e17('0x85')][_0x1e17('0x35')](_0x444a37['toString'](),{'type':db[_0x1e17('0x85')][_0x1e17('0x86')][_0x1e17('0x87')]});}})['then'](respondWithResult(_0x2cb24f,null))[_0x1e17('0x45')](handleError(_0x2cb24f,null));};function runReport(_0x6359c4,_0x206abf,_0x35652a){var _0x856be8=_0x206abf[_0x1e17('0x2c')];var _0x329b3a=0xa;var _0xc41ef5=[_0x1e17('0x54'),'left_join','right_join',_0x1e17('0x88')];var _0x4b47be={'SUM':_0x1e17('0x89'),'COUNT':_0x1e17('0x56'),'COUNT DISTINCT':_0x1e17('0x57'),'MAX':_0x1e17('0x58'),'MIN':'MIN(%s)','AVG':_0x1e17('0x5a'),'GROUP_CONCAT':_0x1e17('0x5b'),'GROUP_CONCAT ASC':_0x1e17('0x5c'),'GROUP_CONCAT DESC':_0x1e17('0x8a')};var _0x5163c7={'SEC_TO_TIME':_0x1e17('0x8b'),'DATE':_0x1e17('0x8c'),'HOUR':_0x1e17('0x5d'),'ROUND':_0x1e17('0x5e'),'UNIX_TIMESTAMP':_0x1e17('0x5f')};var _0x520dfd=function(_0x1e3b68){return!_[_0x1e17('0x60')]([_0x1e17('0x61'),'IS\x20NOT\x20NULL',_0x1e17('0x63'),_0x1e17('0x64')],_0x1e3b68);};var _0x490c06=function(_0x1a9748){if(!_0x1a9748||!_0x1a9748['rules']['length']){return'';}for(var _0x52e257='(',_0xf0f71a=0x0;_0xf0f71a<_0x1a9748[_0x1e17('0x65')][_0x1e17('0x47')];_0xf0f71a+=0x1){_0xf0f71a>0x0&&(_0x52e257+='\x20'+_0x1a9748['operator']+'\x20');_0x52e257+=_0x1a9748[_0x1e17('0x65')][_0xf0f71a]['group']?_0x490c06(_0x1a9748[_0x1e17('0x65')][_0xf0f71a]['group']):_0x1a9748['rules'][_0xf0f71a][_0x1e17('0x68')]+'\x20'+_0x1a9748['rules'][_0xf0f71a]['condition']+(_0x520dfd(_0x1a9748[_0x1e17('0x65')][_0xf0f71a][_0x1e17('0x69')])?'\x20'+_0x1a9748[_0x1e17('0x65')][_0xf0f71a][_0x1e17('0x8d')]:'');}return _0x52e257+')';};var _0x22b349={'where':{'id':_0x6359c4['id']}},_0x54e4dc,_0x14d359,_0x314a86,_0x49c7a0,_0x2da280;_0x22b349=_['merge']({},_0x22b349,_0x35652a);return db[_0x1e17('0x30')]['find'](_0x22b349)[_0x1e17('0x26')](function(_0x2c0450){if(_0x2c0450){_0x54e4dc=_0x2c0450;return _0x2c0450[_0x1e17('0x8e')]();}return null;})[_0x1e17('0x26')](function(_0x5521e7){if(_0x5521e7){if(!_0x5521e7['length']){throw new db[(_0x1e17('0x6b'))]['ValidationErrorItem'](_0x1e17('0x6c'),0x193);}_0x14d359=_0x5521e7;return db[_0x1e17('0x6d')]['findAll']({'raw':!![]});}return null;})[_0x1e17('0x26')](function(_0x3228cc){if(_0x3228cc){_0x314a86=_[_0x1e17('0x6e')](_0x3228cc,'id');var _0x48f5f9;var _0x551e98=squel[_0x1e17('0x6f')]();_0x551e98['from'](_0x54e4dc[_0x1e17('0x71')]);for(var _0x254953=0x0;_0x254953<_0x14d359['length'];_0x254953+=0x1){_0x48f5f9=_0x14d359[_0x254953]['MetricId']?_0x314a86[_0x14d359[_0x254953]['MetricId']]['metric']:_0x14d359[_0x254953]['field'];_0x48f5f9=_0x14d359[_0x254953][_0x1e17('0x74')]?_[_0x1e17('0x75')](_0x4b47be[_0x14d359[_0x254953][_0x1e17('0x74')]],'%s',_0x48f5f9):_0x48f5f9;_0x48f5f9=_0x14d359[_0x254953][_0x1e17('0x76')]?_[_0x1e17('0x75')](_0x5163c7[_0x14d359[_0x254953][_0x1e17('0x76')]],'%s',_0x48f5f9):_0x48f5f9;if(_0x14d359[_0x254953]['groupBy']){_0x551e98['group'](_0x48f5f9);}_0x14d359[_0x254953]['orderBy']&&_0x551e98[_0x1e17('0x79')](_0x48f5f9,_0x14d359[_0x254953][_0x1e17('0x78')]===_0x1e17('0x7a')?![]:!![]);_0x551e98['field'](_0x48f5f9,_0x14d359[_0x254953][_0x1e17('0x8f')]||_0x48f5f9);}if(_0x54e4dc[_0x1e17('0x7b')]){_0x54e4dc['joins']=JSON[_0x1e17('0x7c')](_0x54e4dc[_0x1e17('0x7b')]);for(var _0x20b1ff=0x0;_0x20b1ff<_0x54e4dc[_0x1e17('0x7b')][_0x1e17('0x47')];_0x20b1ff+=0x1){if(_0x54e4dc[_0x1e17('0x7b')][_0x20b1ff][_0x1e17('0x7d')]&&_[_0x1e17('0x60')](_0xc41ef5,_0x54e4dc['joins'][_0x20b1ff][_0x1e17('0x7d')])&&_0x54e4dc['joins'][_0x20b1ff][_0x1e17('0x81')]&&_0x54e4dc[_0x1e17('0x7b')][_0x20b1ff]['foreignTable']&&_0x54e4dc['joins'][_0x20b1ff][_0x1e17('0x7f')]){_0x551e98[_0x54e4dc[_0x1e17('0x7b')][_0x20b1ff][_0x1e17('0x7d')]](_0x54e4dc[_0x1e17('0x7b')][_0x20b1ff][_0x1e17('0x7e')],null,util[_0x1e17('0x76')](_0x1e17('0x80'),_0x54e4dc[_0x1e17('0x71')],_0x54e4dc[_0x1e17('0x7b')][_0x20b1ff][_0x1e17('0x81')],_0x54e4dc[_0x1e17('0x7b')][_0x20b1ff][_0x1e17('0x7e')],_0x54e4dc['joins'][_0x20b1ff][_0x1e17('0x7f')]));}}}if(_0x54e4dc[_0x1e17('0x82')]){_0x54e4dc[_0x1e17('0x82')]=JSON[_0x1e17('0x7c')](_0x54e4dc[_0x1e17('0x82')]);_0x551e98[_0x1e17('0x3f')](_0x490c06(_0x54e4dc['conditions'][_0x1e17('0x67')]));}_0x2da280=_0x551e98[_0x1e17('0x90')]();_0x551e98[_0x1e17('0x20')](_0x329b3a);_0x551e98[_0x1e17('0x1f')](0x0);logger[_0x1e17('0x83')](_0x1e17('0x84'),_0x551e98[_0x1e17('0x91')]());return db[_0x1e17('0x85')][_0x1e17('0x35')](_0x551e98[_0x1e17('0x91')](),{'type':db['sequelize'][_0x1e17('0x86')][_0x1e17('0x87')]});}})[_0x1e17('0x26')](function(_0x58d1be){if(!_0x58d1be['length']){throw new db['Sequelize'][(_0x1e17('0x92'))](_0x1e17('0x93'),0xcc);}if(_0x206abf['output']==='web'){return null;}var _0x26bb3b=_[_0x1e17('0x40')](_0x206abf,{'name':_0x206abf['fullPath']||_0x206abf[_0x1e17('0x2c')]||_0x54e4dc[_0x1e17('0x2c')],'basename':_0x856be8,'savename':util[_0x1e17('0x76')](_0x1e17('0x94'),_0x206abf[_0x1e17('0x2c')]||_0x54e4dc[_0x1e17('0x2c')],require(_0x1e17('0x95'))[_0x1e17('0x96')](0x4),_0x206abf['output']||'csv'),'reportId':_0x54e4dc['id'],'reportType':_0x1e17('0x97')});return db[_0x1e17('0x98')][_0x1e17('0x49')](_0x26bb3b,{'raw':!![]});})[_0x1e17('0x26')](function(_0x22b1bc){if(_0x54e4dc[_0x1e17('0x71')]===_0x1e17('0x99')){_0x2da280[_0x1e17('0x3f')](_0x54e4dc[_0x1e17('0x71')]+_0x1e17('0x9a'),_0x206abf[_0x1e17('0x9b')],_0x206abf[_0x1e17('0x9c')]);}else{_0x2da280[_0x1e17('0x3f')](_0x54e4dc['table']+_0x1e17('0x9d'),_0x206abf[_0x1e17('0x9b')],_0x206abf[_0x1e17('0x9c')]);}if(_0x22b1bc){logger['info'](_0x1e17('0x9e'),_0x2da280[_0x1e17('0x91')]());require(_0x1e17('0x9f'))['fork'](path[_0x1e17('0x54')](__dirname,_0x1e17('0xa0'),_0x22b1bc[_0x1e17('0xa1')]),[_0x22b1bc['id'],_0x2da280[_0x1e17('0x91')](),path[_0x1e17('0x54')](__dirname,_0x1e17('0xa2'),_0x22b1bc['savename']),_0x856be8]);return _0x22b1bc;}else{var _0x562be5=squel[_0x1e17('0x6f')]();_0x562be5[_0x1e17('0x70')]('('+_0x2da280['toString']()+')','countTable');_0x562be5['field'](_0x1e17('0xa3'),_0x1e17('0x1e'));_0x2da280[_0x1e17('0x20')](_0x206abf[_0x1e17('0x20')]||_0x329b3a);_0x2da280[_0x1e17('0x1f')](_0x206abf[_0x1e17('0x1f')]||0x0);return dbH[_0x1e17('0x85')]['query'](_0x562be5[_0x1e17('0x91')](),{'type':dbH['sequelize'][_0x1e17('0x86')][_0x1e17('0x87')]})[_0x1e17('0x26')](function(_0x51d7d7){if(!_0x51d7d7[_0x1e17('0x47')]){_0x49c7a0=0x0;}else{_0x49c7a0=_0x51d7d7[0x0][_0x1e17('0x1e')]||0x0;}return dbH[_0x1e17('0x85')]['query'](_0x2da280[_0x1e17('0x91')](),{'type':dbH[_0x1e17('0x85')][_0x1e17('0x86')][_0x1e17('0x87')]});})['then'](function(_0x80a719){return{'rows':_0x80a719||[],'count':_0x49c7a0};});}});}exports[_0x1e17('0xa4')]=function(_0x4741e1,_0xfa0934){return runReport(_0x4741e1[_0x1e17('0x52')],_0x4741e1[_0x1e17('0x35')],_0x4741e1[_0x1e17('0x6a')])[_0x1e17('0x26')](respondWithResult(_0xfa0934,null))['catch'](handleError(_0xfa0934,null));};exports[_0x1e17('0xa5')]=runReport;exports[_0x1e17('0x35')]=function(_0x355eb1,_0x9486e4){var _0x290bb6=0xa;var _0x25d8b0=[_0x1e17('0x54'),_0x1e17('0x55'),_0x1e17('0xa6'),_0x1e17('0x88')];var _0x45344f={'SUM':_0x1e17('0x89'),'COUNT':'COUNT(%s)','COUNT DISTINCT':_0x1e17('0x57'),'MAX':'MAX(%s)','MIN':_0x1e17('0x59'),'AVG':_0x1e17('0x5a'),'GROUP_CONCAT':_0x1e17('0x5b'),'GROUP_CONCAT ASC':_0x1e17('0x5c'),'GROUP_CONCAT DESC':_0x1e17('0x8a')};var _0x403b36={'SEC_TO_TIME':_0x1e17('0x8b'),'DATE':'DATE(%s)','HOUR':_0x1e17('0x5d'),'ROUND':_0x1e17('0x5e'),'UNIX_TIMESTAMP':_0x1e17('0x5f')};var _0x1d6104=function(_0x1f6b83){return!_['includes']([_0x1e17('0x61'),_0x1e17('0x62'),_0x1e17('0x63'),'IS\x20NOT\x20EMPTY'],_0x1f6b83);};var _0x448a85=function(_0x1c8222){if(!_0x1c8222||!_0x1c8222['rules']['length']){return'';}for(var _0xe178b2='(',_0xf34914=0x0;_0xf34914<_0x1c8222['rules'][_0x1e17('0x47')];_0xf34914+=0x1){_0xf34914>0x0&&(_0xe178b2+='\x20'+_0x1c8222['operator']+'\x20');_0xe178b2+=_0x1c8222[_0x1e17('0x65')][_0xf34914][_0x1e17('0x67')]?_0x448a85(_0x1c8222[_0x1e17('0x65')][_0xf34914][_0x1e17('0x67')]):_0x1c8222['rules'][_0xf34914]['field']+'\x20'+_0x1c8222['rules'][_0xf34914][_0x1e17('0x69')]+(_0x1d6104(_0x1c8222['rules'][_0xf34914][_0x1e17('0x69')])?'\x20'+_0x1c8222[_0x1e17('0x65')][_0xf34914][_0x1e17('0x8d')]:'');}return _0xe178b2+')';};var _0x12af9e={'where':{'id':_0x355eb1['params']['id']}},_0x7dad48,_0x2803f0,_0x3b715d,_0x322940,_0x4ab371;_0x12af9e=_[_0x1e17('0x40')]({},_0x12af9e,_0x355eb1['options']);return db[_0x1e17('0x30')][_0x1e17('0x4d')](_0x12af9e)[_0x1e17('0x26')](function(_0x14fbfd){if(_0x14fbfd){_0x7dad48=_0x14fbfd;return _0x14fbfd['getFields']();}return null;})[_0x1e17('0x26')](function(_0x439e3a){if(_0x439e3a){if(!_0x439e3a[_0x1e17('0x47')]){throw new db[(_0x1e17('0x6b'))][(_0x1e17('0x92'))](_0x1e17('0x6c'),0x193);}_0x2803f0=_0x439e3a;return db[_0x1e17('0x6d')][_0x1e17('0x43')]({'raw':!![]});}return null;})[_0x1e17('0x26')](function(_0x5d2a08){if(_0x5d2a08){_0x3b715d=_[_0x1e17('0x6e')](_0x5d2a08,'id');var _0x4e6231;var _0x5136e4=squel[_0x1e17('0x6f')]();_0x5136e4['from'](_0x7dad48[_0x1e17('0x71')]);for(var _0x3e8569=0x0;_0x3e8569<_0x2803f0[_0x1e17('0x47')];_0x3e8569+=0x1){_0x4e6231=_0x2803f0[_0x3e8569]['MetricId']?_0x3b715d[_0x2803f0[_0x3e8569][_0x1e17('0x72')]][_0x1e17('0x73')]:_0x2803f0[_0x3e8569]['field'];_0x4e6231=_0x2803f0[_0x3e8569][_0x1e17('0x74')]?_[_0x1e17('0x75')](_0x45344f[_0x2803f0[_0x3e8569]['function']],'%s',_0x4e6231):_0x4e6231;_0x4e6231=_0x2803f0[_0x3e8569]['format']?_[_0x1e17('0x75')](_0x403b36[_0x2803f0[_0x3e8569][_0x1e17('0x76')]],'%s',_0x4e6231):_0x4e6231;if(_0x2803f0[_0x3e8569][_0x1e17('0x77')]){_0x5136e4[_0x1e17('0x67')](_0x4e6231);}_0x2803f0[_0x3e8569][_0x1e17('0x78')]&&_0x5136e4['order'](_0x4e6231,_0x2803f0[_0x3e8569][_0x1e17('0x78')]===_0x1e17('0x7a')?![]:!![]);_0x5136e4[_0x1e17('0x68')](_0x4e6231,_0x2803f0[_0x3e8569][_0x1e17('0x8f')]||_0x4e6231);}if(_0x7dad48[_0x1e17('0x7b')]){_0x7dad48[_0x1e17('0x7b')]=JSON[_0x1e17('0x7c')](_0x7dad48[_0x1e17('0x7b')]);for(var _0xf67e84=0x0;_0xf67e84<_0x7dad48[_0x1e17('0x7b')][_0x1e17('0x47')];_0xf67e84+=0x1){if(_0x7dad48[_0x1e17('0x7b')][_0xf67e84][_0x1e17('0x7d')]&&_[_0x1e17('0x60')](_0x25d8b0,_0x7dad48[_0x1e17('0x7b')][_0xf67e84][_0x1e17('0x7d')])&&_0x7dad48['joins'][_0xf67e84][_0x1e17('0x81')]&&_0x7dad48[_0x1e17('0x7b')][_0xf67e84][_0x1e17('0x7e')]&&_0x7dad48[_0x1e17('0x7b')][_0xf67e84]['foreignKey']){_0x5136e4[_0x7dad48['joins'][_0xf67e84][_0x1e17('0x7d')]](_0x7dad48[_0x1e17('0x7b')][_0xf67e84][_0x1e17('0x7e')],null,util['format']('%s.%s\x20=\x20%s.%s',_0x7dad48[_0x1e17('0x71')],_0x7dad48[_0x1e17('0x7b')][_0xf67e84][_0x1e17('0x81')],_0x7dad48[_0x1e17('0x7b')][_0xf67e84]['foreignTable'],_0x7dad48[_0x1e17('0x7b')][_0xf67e84][_0x1e17('0x7f')]));}}}if(_0x7dad48['conditions']){_0x7dad48[_0x1e17('0x82')]=JSON[_0x1e17('0x7c')](_0x7dad48[_0x1e17('0x82')]);_0x5136e4['where'](_0x448a85(_0x7dad48['conditions'][_0x1e17('0x67')]));}_0x4ab371=_0x5136e4['clone']();_0x5136e4['limit'](_0x290bb6);_0x5136e4[_0x1e17('0x1f')](0x0);logger[_0x1e17('0x83')]('Limited\x20Query:',_0x5136e4[_0x1e17('0x91')]());return db[_0x1e17('0x85')][_0x1e17('0x35')](_0x5136e4[_0x1e17('0x91')](),{'type':db['sequelize']['QueryTypes'][_0x1e17('0x87')]});}})[_0x1e17('0x26')](function(){return{'sql':_0x4ab371[_0x1e17('0x91')]()};})[_0x1e17('0x26')](respondWithResult(_0x9486e4,null))[_0x1e17('0x45')](handleError(_0x9486e4,null));}; \ No newline at end of file diff --git a/server/api/analyticDefaultReport/analyticDefaultReport.model.js b/server/api/analyticDefaultReport/analyticDefaultReport.model.js index f19522a..ca0a3ae 100644 --- a/server/api/analyticDefaultReport/analyticDefaultReport.model.js +++ b/server/api/analyticDefaultReport/analyticDefaultReport.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x0088=['moment','bluebird','request-promise','rimraf','exports','define','AnalyticDefaultReport','analytics_default_reports','lodash','../../config/logger','api'];(function(_0x58c6b2,_0x187e4b){var _0x2a6528=function(_0x2f1ab0){while(--_0x2f1ab0){_0x58c6b2['push'](_0x58c6b2['shift']());}};_0x2a6528(++_0x187e4b);}(_0x0088,0x1ec));var _0x8008=function(_0x580bc0,_0x22b16e){_0x580bc0=_0x580bc0-0x0;var _0x2b5164=_0x0088[_0x580bc0];return _0x2b5164;};'use strict';var _=require(_0x8008('0x0'));var util=require('util');var logger=require(_0x8008('0x1'))(_0x8008('0x2'));var moment=require(_0x8008('0x3'));var BPromise=require(_0x8008('0x4'));var rp=require(_0x8008('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x8008('0x6'));var config=require('../../config/environment');var attributes=require('./analyticDefaultReport.attributes');module[_0x8008('0x7')]=function(_0xbd66ce,_0x54f525){return _0xbd66ce[_0x8008('0x8')](_0x8008('0x9'),attributes,{'tableName':_0x8008('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0x4f41=['analytics_default_reports','util','../../config/logger','api','bluebird','path','../../config/environment','./analyticDefaultReport.attributes','exports'];(function(_0xc0a3d3,_0x2c8d00){var _0x3386e8=function(_0x3f9df4){while(--_0x3f9df4){_0xc0a3d3['push'](_0xc0a3d3['shift']());}};_0x3386e8(++_0x2c8d00);}(_0x4f41,0x6d));var _0x14f4=function(_0x5a685a,_0x14937e){_0x5a685a=_0x5a685a-0x0;var _0x19db1c=_0x4f41[_0x5a685a];return _0x19db1c;};'use strict';var _=require('lodash');var util=require(_0x14f4('0x0'));var logger=require(_0x14f4('0x1'))(_0x14f4('0x2'));var moment=require('moment');var BPromise=require(_0x14f4('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x14f4('0x4'));var rimraf=require('rimraf');var config=require(_0x14f4('0x5'));var attributes=require(_0x14f4('0x6'));module[_0x14f4('0x7')]=function(_0x480037,_0x545513){return _0x480037['define']('AnalyticDefaultReport',attributes,{'tableName':_0x14f4('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/analyticDefaultReport/analyticDefaultReport.rpc.js b/server/api/analyticDefaultReport/analyticDefaultReport.rpc.js index 1e4cbd0..6905d34 100644 --- a/server/api/analyticDefaultReport/analyticDefaultReport.rpc.js +++ b/server/api/analyticDefaultReport/analyticDefaultReport.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x6ce9=['client','http','info','AnalyticDefaultReport,\x20%s,\x20%s','request\x20sent','debug','AnalyticDefaultReport,\x20%s,\x20%s,\x20%s','stringify','error','code','message','result','catch','lodash','util','moment','ioredis','../../config/utils','../../config/logger','rpc','../../config/environment'];(function(_0x564637,_0x4aa8f3){var _0x4c7f15=function(_0x3d35c8){while(--_0x3d35c8){_0x564637['push'](_0x564637['shift']());}};_0x4c7f15(++_0x4aa8f3);}(_0x6ce9,0x76));var _0x96ce=function(_0x46454c,_0x5758c0){_0x46454c=_0x46454c-0x0;var _0x428251=_0x6ce9[_0x46454c];return _0x428251;};'use strict';var _=require(_0x96ce('0x0'));var util=require(_0x96ce('0x1'));var moment=require(_0x96ce('0x2'));var BPromise=require('bluebird');var rs=require('randomstring');var fs=require('fs');var Redis=require(_0x96ce('0x3'));var db=require('../../mysqldb')['db'];var utils=require(_0x96ce('0x4'));var logger=require(_0x96ce('0x5'))(_0x96ce('0x6'));var config=require(_0x96ce('0x7'));var jayson=require('jayson/promise');var client=jayson[_0x96ce('0x8')][_0x96ce('0x9')]({'port':0x232a});function respondWithRpcPromise(_0x1a24c7,_0x569a40,_0x1abd8c){return new BPromise(function(_0x16a140,_0x7ecb26){return client['request'](_0x1a24c7,_0x1abd8c)['then'](function(_0xa4f286){logger[_0x96ce('0xa')](_0x96ce('0xb'),_0x569a40,_0x96ce('0xc'));logger[_0x96ce('0xd')](_0x96ce('0xe'),_0x569a40,_0x96ce('0xc'),JSON[_0x96ce('0xf')](_0xa4f286));if(_0xa4f286[_0x96ce('0x10')]){if(_0xa4f286[_0x96ce('0x10')][_0x96ce('0x11')]===0x1f4){logger['error'](_0x96ce('0xb'),_0x569a40,_0xa4f286[_0x96ce('0x10')][_0x96ce('0x12')]);return _0x7ecb26(_0xa4f286['error'][_0x96ce('0x12')]);}logger[_0x96ce('0x10')](_0x96ce('0xb'),_0x569a40,_0xa4f286[_0x96ce('0x10')][_0x96ce('0x12')]);return _0x16a140(_0xa4f286[_0x96ce('0x10')][_0x96ce('0x12')]);}else{logger[_0x96ce('0xa')](_0x96ce('0xb'),_0x569a40,_0x96ce('0xc'));_0x16a140(_0xa4f286[_0x96ce('0x13')][_0x96ce('0x12')]);}})[_0x96ce('0x14')](function(_0x212e28){logger[_0x96ce('0x10')]('AnalyticDefaultReport,\x20%s,\x20%s',_0x569a40,_0x212e28);_0x7ecb26(_0x212e28);});});} \ No newline at end of file +var _0xdf79=['stringify','error','code','AnalyticDefaultReport,\x20%s,\x20%s','message','moment','bluebird','randomstring','ioredis','../../mysqldb','jayson/promise','client','http','then','info','request\x20sent','debug','AnalyticDefaultReport,\x20%s,\x20%s,\x20%s'];(function(_0x3b0731,_0xcf9925){var _0x4204d7=function(_0x635ac5){while(--_0x635ac5){_0x3b0731['push'](_0x3b0731['shift']());}};_0x4204d7(++_0xcf9925);}(_0xdf79,0xa7));var _0x9df7=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0xdf79[_0x14add3];return _0x4a174f;};'use strict';var _=require('lodash');var util=require('util');var moment=require(_0x9df7('0x0'));var BPromise=require(_0x9df7('0x1'));var rs=require(_0x9df7('0x2'));var fs=require('fs');var Redis=require(_0x9df7('0x3'));var db=require(_0x9df7('0x4'))['db'];var utils=require('../../config/utils');var logger=require('../../config/logger')('rpc');var config=require('../../config/environment');var jayson=require(_0x9df7('0x5'));var client=jayson[_0x9df7('0x6')][_0x9df7('0x7')]({'port':0x232a});function respondWithRpcPromise(_0x39f3c2,_0x5cf73b,_0x21d177){return new BPromise(function(_0x4cc7d5,_0x1663c8){return client['request'](_0x39f3c2,_0x21d177)[_0x9df7('0x8')](function(_0x1d86ed){logger[_0x9df7('0x9')]('AnalyticDefaultReport,\x20%s,\x20%s',_0x5cf73b,_0x9df7('0xa'));logger[_0x9df7('0xb')](_0x9df7('0xc'),_0x5cf73b,'request\x20sent',JSON[_0x9df7('0xd')](_0x1d86ed));if(_0x1d86ed[_0x9df7('0xe')]){if(_0x1d86ed[_0x9df7('0xe')][_0x9df7('0xf')]===0x1f4){logger[_0x9df7('0xe')](_0x9df7('0x10'),_0x5cf73b,_0x1d86ed[_0x9df7('0xe')][_0x9df7('0x11')]);return _0x1663c8(_0x1d86ed[_0x9df7('0xe')][_0x9df7('0x11')]);}logger[_0x9df7('0xe')](_0x9df7('0x10'),_0x5cf73b,_0x1d86ed['error']['message']);return _0x4cc7d5(_0x1d86ed[_0x9df7('0xe')][_0x9df7('0x11')]);}else{logger[_0x9df7('0x9')]('AnalyticDefaultReport,\x20%s,\x20%s',_0x5cf73b,_0x9df7('0xa'));_0x4cc7d5(_0x1d86ed['result']['message']);}})['catch'](function(_0x47241b){logger[_0x9df7('0xe')](_0x9df7('0x10'),_0x5cf73b,_0x47241b);_0x1663c8(_0x47241b);});});} \ No newline at end of file diff --git a/server/api/analyticDefaultReport/index.js b/server/api/analyticDefaultReport/index.js index b85a779..7acf752 100644 --- a/server/api/analyticDefaultReport/index.js +++ b/server/api/analyticDefaultReport/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xea0e=['preview','run','/:id/query','query','post','put','/:id','update','delete','exports','multer','path','connect-timeout','Router','../../components/interaction/service','../../config/environment','./analyticDefaultReport.controller','get','isAuthenticated','show','/:id/preview'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0xea0e,0x1d8));var _0xeea0=function(_0x2ff939,_0x1a2b39){_0x2ff939=_0x2ff939-0x0;var _0x556971=_0xea0e[_0x2ff939];return _0x556971;};'use strict';var multer=require(_0xeea0('0x0'));var util=require('util');var path=require(_0xeea0('0x1'));var timeout=require(_0xeea0('0x2'));var express=require('express');var router=express[_0xeea0('0x3')]();var auth=require('../../components/auth/service');var interaction=require(_0xeea0('0x4'));var config=require(_0xeea0('0x5'));var controller=require(_0xeea0('0x6'));router[_0xeea0('0x7')]('/',auth[_0xeea0('0x8')](),controller['index']);router[_0xeea0('0x7')]('/:id',auth[_0xeea0('0x8')](),controller[_0xeea0('0x9')]);router['get'](_0xeea0('0xa'),auth['isAuthenticated'](),controller[_0xeea0('0xb')]);router['get']('/:id/run',auth[_0xeea0('0x8')](),controller[_0xeea0('0xc')]);router[_0xeea0('0x7')](_0xeea0('0xd'),auth[_0xeea0('0x8')](),controller[_0xeea0('0xe')]);router[_0xeea0('0xf')]('/',auth['isAuthenticated'](),controller['create']);router[_0xeea0('0x10')](_0xeea0('0x11'),auth['isAuthenticated'](),controller[_0xeea0('0x12')]);router[_0xeea0('0x13')]('/:id',auth[_0xeea0('0x8')](),controller['destroy']);module[_0xeea0('0x14')]=router; \ No newline at end of file +var _0x5056=['connect-timeout','express','Router','../../components/interaction/service','../../config/environment','./analyticDefaultReport.controller','get','isAuthenticated','/:id','show','/:id/preview','preview','/:id/run','run','/:id/query','put','update','delete','multer','util','path'];(function(_0x422905,_0x3bce3a){var _0x33dc6c=function(_0x4852c9){while(--_0x4852c9){_0x422905['push'](_0x422905['shift']());}};_0x33dc6c(++_0x3bce3a);}(_0x5056,0xf9));var _0x6505=function(_0x241c1c,_0x4e68d4){_0x241c1c=_0x241c1c-0x0;var _0x58f71d=_0x5056[_0x241c1c];return _0x58f71d;};'use strict';var multer=require(_0x6505('0x0'));var util=require(_0x6505('0x1'));var path=require(_0x6505('0x2'));var timeout=require(_0x6505('0x3'));var express=require(_0x6505('0x4'));var router=express[_0x6505('0x5')]();var auth=require('../../components/auth/service');var interaction=require(_0x6505('0x6'));var config=require(_0x6505('0x7'));var controller=require(_0x6505('0x8'));router[_0x6505('0x9')]('/',auth[_0x6505('0xa')](),controller['index']);router[_0x6505('0x9')](_0x6505('0xb'),auth[_0x6505('0xa')](),controller[_0x6505('0xc')]);router['get'](_0x6505('0xd'),auth[_0x6505('0xa')](),controller[_0x6505('0xe')]);router[_0x6505('0x9')](_0x6505('0xf'),auth[_0x6505('0xa')](),controller[_0x6505('0x10')]);router[_0x6505('0x9')](_0x6505('0x11'),auth[_0x6505('0xa')](),controller['query']);router['post']('/',auth[_0x6505('0xa')](),controller['create']);router[_0x6505('0x12')](_0x6505('0xb'),auth[_0x6505('0xa')](),controller[_0x6505('0x13')]);router[_0x6505('0x14')]('/:id',auth['isAuthenticated'](),controller['destroy']);module['exports']=router; \ No newline at end of file diff --git a/server/api/analyticExtractedReport/analyticExtractedReport.attributes.js b/server/api/analyticExtractedReport/analyticExtractedReport.attributes.js index baaa0f3..a57b20e 100644 --- a/server/api/analyticExtractedReport/analyticExtractedReport.attributes.js +++ b/server/api/analyticExtractedReport/analyticExtractedReport.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x236b=['exports','STRING','ENUM','pdf','csv','DATE','manual','scheduled','UNSIGNED','sequelize'];(function(_0x3ab51d,_0x2fa01d){var _0x29a04e=function(_0x7807b0){while(--_0x7807b0){_0x3ab51d['push'](_0x3ab51d['shift']());}};_0x29a04e(++_0x2fa01d);}(_0x236b,0x18f));var _0xb236=function(_0x1c0fec,_0x1e85cb){_0x1c0fec=_0x1c0fec-0x0;var _0x4031c2=_0x236b[_0x1c0fec];return _0x4031c2;};'use strict';var Sequelize=require(_0xb236('0x0'));var moment=require('moment');module[_0xb236('0x1')]={'name':{'type':Sequelize[_0xb236('0x2')],'allowNull':![]},'basename':{'type':Sequelize['STRING'],'allowNull':![]},'output':{'type':Sequelize[_0xb236('0x3')]('csv',_0xb236('0x4'),'xlsx'),'allowNull':![],'defaultValue':_0xb236('0x5')},'savename':{'type':Sequelize['STRING'],'allowNull':![]},'startDate':{'type':Sequelize[_0xb236('0x6')]},'endDate':{'type':Sequelize[_0xb236('0x6')]},'status':{'type':Sequelize['STRING'],'defaultValue':'Loading'},'type':{'type':Sequelize[_0xb236('0x3')](_0xb236('0x7'),_0xb236('0x8')),'allowNull':![],'defaultValue':_0xb236('0x7')},'reportId':{'type':Sequelize['INTEGER'](0xb)[_0xb236('0x9')]},'reportType':{'type':Sequelize[_0xb236('0x2')]}}; \ No newline at end of file +var _0x2ee9=['pdf','xlsx','DATE','Loading','manual','scheduled','INTEGER','sequelize','moment','exports','STRING','ENUM','csv'];(function(_0x21af3a,_0x386e1d){var _0x268a49=function(_0x41a650){while(--_0x41a650){_0x21af3a['push'](_0x21af3a['shift']());}};_0x268a49(++_0x386e1d);}(_0x2ee9,0x1a7));var _0x92ee=function(_0x2be609,_0x3af0ce){_0x2be609=_0x2be609-0x0;var _0x2a00f9=_0x2ee9[_0x2be609];return _0x2a00f9;};'use strict';var Sequelize=require(_0x92ee('0x0'));var moment=require(_0x92ee('0x1'));module[_0x92ee('0x2')]={'name':{'type':Sequelize['STRING'],'allowNull':![]},'basename':{'type':Sequelize[_0x92ee('0x3')],'allowNull':![]},'output':{'type':Sequelize[_0x92ee('0x4')](_0x92ee('0x5'),_0x92ee('0x6'),_0x92ee('0x7')),'allowNull':![],'defaultValue':_0x92ee('0x5')},'savename':{'type':Sequelize[_0x92ee('0x3')],'allowNull':![]},'startDate':{'type':Sequelize[_0x92ee('0x8')]},'endDate':{'type':Sequelize[_0x92ee('0x8')]},'status':{'type':Sequelize[_0x92ee('0x3')],'defaultValue':_0x92ee('0x9')},'type':{'type':Sequelize[_0x92ee('0x4')](_0x92ee('0xa'),_0x92ee('0xb')),'allowNull':![],'defaultValue':_0x92ee('0xa')},'reportId':{'type':Sequelize[_0x92ee('0xc')](0xb)['UNSIGNED']},'reportType':{'type':Sequelize['STRING']}}; \ No newline at end of file diff --git a/server/api/analyticExtractedReport/analyticExtractedReport.controller.js b/server/api/analyticExtractedReport/analyticExtractedReport.controller.js index 6618533..9669ab1 100644 --- a/server/api/analyticExtractedReport/analyticExtractedReport.controller.js +++ b/server/api/analyticExtractedReport/analyticExtractedReport.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x3192=['index','map','AnalyticExtractedReport','rawAttributes','fieldName','type','key','query','keys','filters','intersection','model','attributes','fields','length','hasOwnProperty','nolimit','order','sort','where','pick','filter','VIRTUAL','options','includeAll','include','findAll','rows','catch','show','merge','find','create','body','user','Unable\x20to\x20retrieve\x20the\x20current\x20user','role','UserProfileSection','userProfileId','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','download','params','basename','savename','output','root','Sequelize','Report\x20not\x20found\x20or\x20empty','exists','join','server/files/reports','format','%s.%s','toLowerCase','html-pdf','eml-format','rimraf','fast-json-patch','request-promise','bluebird','mustache','util','path','sox','to-csv','ejs','lodash','squel','crypto','jsforce','querystring','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/logger','api','../../config/utils','../../mysqldb','sendStatus','status','end','json','count','offset','limit','set','Content-Range','update','then','destroy','get','ExtractedReports','UserProfileResource','error','stack','name','send'];(function(_0x25e10c,_0x49596a){var _0x5dfd94=function(_0x2f4bfb){while(--_0x2f4bfb){_0x25e10c['push'](_0x25e10c['shift']());}};_0x5dfd94(++_0x49596a);}(_0x3192,0xf6));var _0x2319=function(_0x1dc00a,_0x112b46){_0x1dc00a=_0x1dc00a-0x0;var _0x1806cb=_0x3192[_0x1dc00a];return _0x1806cb;};'use strict';var pdf=require(_0x2319('0x0'));var emlformat=require(_0x2319('0x1'));var rimraf=require(_0x2319('0x2'));var zipdir=require('zip-dir');var jsonpatch=require(_0x2319('0x3'));var rp=require(_0x2319('0x4'));var moment=require('moment');var BPromise=require(_0x2319('0x5'));var Mustache=require(_0x2319('0x6'));var util=require(_0x2319('0x7'));var path=require(_0x2319('0x8'));var sox=require(_0x2319('0x9'));var csv=require(_0x2319('0xa'));var ejs=require(_0x2319('0xb'));var fs=require('fs');var _=require(_0x2319('0xc'));var squel=require(_0x2319('0xd'));var crypto=require(_0x2319('0xe'));var jsforce=require(_0x2319('0xf'));var deskjs=require('desk.js');var toCsv=require('to-csv');var querystring=require(_0x2319('0x10'));var Papa=require('papaparse');var Redis=require('ioredis');var authService=require('../../components/auth/service');var qs=require(_0x2319('0x11'));var as=require(_0x2319('0x12'));var hardwareService=require('../../config/license/hardware');var logger=require(_0x2319('0x13'))(_0x2319('0x14'));var utils=require(_0x2319('0x15'));var config=require('../../config/environment');var db=require(_0x2319('0x16'))['db'];function respondWithStatusCode(_0xfafaa2,_0x3d9c32){_0x3d9c32=_0x3d9c32||0xcc;return function(_0x1dacfe){if(_0x1dacfe){return _0xfafaa2[_0x2319('0x17')](_0x3d9c32);}return _0xfafaa2[_0x2319('0x18')](_0x3d9c32)[_0x2319('0x19')]();};}function respondWithResult(_0x41da65,_0x2ccf70){_0x2ccf70=_0x2ccf70||0xc8;return function(_0x13d69f){if(_0x13d69f){return _0x41da65[_0x2319('0x18')](_0x2ccf70)[_0x2319('0x1a')](_0x13d69f);}};}function respondWithFilteredResult(_0x393726,_0x18ace6){return function(_0x58861f){if(_0x58861f){var _0x567404=_0x58861f[_0x2319('0x1b')],_0x421efb=_0x18ace6[_0x2319('0x1c')],_0x12e3e4=_0x18ace6[_0x2319('0x1c')]+_0x18ace6[_0x2319('0x1d')],_0x28b6b7;if(_0x12e3e4>=_0x567404){_0x12e3e4=_0x567404;_0x28b6b7=0xc8;}else{_0x28b6b7=0xce;}_0x393726['status'](_0x28b6b7);return _0x393726[_0x2319('0x1e')](_0x2319('0x1f'),_0x421efb+'-'+_0x12e3e4+'/'+_0x567404)[_0x2319('0x1a')](_0x58861f);}return null;};}function patchUpdates(_0x5b1d88){return function(_0x2cb1ba){try{jsonpatch['apply'](_0x2cb1ba,_0x5b1d88,!![]);}catch(_0x1e8b68){return BPromise['reject'](_0x1e8b68);}return _0x2cb1ba['save']();};}function saveUpdates(_0xd898d0,_0x393403){return function(_0x2dc8e6){if(_0x2dc8e6){return _0x2dc8e6[_0x2319('0x20')](_0xd898d0)[_0x2319('0x21')](function(_0x17bc2e){return _0x17bc2e;});}return null;};}function removeEntity(_0x3973d3,_0x1dec8a){return function(_0x2109f0){if(_0x2109f0){return _0x2109f0[_0x2319('0x22')]()[_0x2319('0x21')](function(){var _0x1e76ac=_0x2109f0[_0x2319('0x23')]({'plain':!![]});var _0x46d99d=_0x2319('0x24');return db[_0x2319('0x25')][_0x2319('0x22')]({'where':{'type':_0x46d99d,'resourceId':_0x1e76ac['id']}})['then'](function(){return _0x2109f0;});})[_0x2319('0x21')](function(){_0x3973d3[_0x2319('0x18')](0xcc)[_0x2319('0x19')]();});}};}function handleEntityNotFound(_0x5bffab,_0x565733){return function(_0x3d9e74){if(!_0x3d9e74){_0x5bffab[_0x2319('0x17')](0x194);}return _0x3d9e74;};}function handleError(_0x24a204,_0x47bfff){_0x47bfff=_0x47bfff||0x1f4;return function(_0x4c45ee){logger[_0x2319('0x26')](_0x4c45ee[_0x2319('0x27')]);if(_0x4c45ee[_0x2319('0x28')]){delete _0x4c45ee[_0x2319('0x28')];}_0x24a204[_0x2319('0x18')](_0x47bfff)[_0x2319('0x29')](_0x4c45ee);};}exports[_0x2319('0x2a')]=function(_0xd988cc,_0x32b8a8){var _0x47a89b={},_0xc89527={},_0x29482f={'count':0x0,'rows':[]};var _0x3f3f16=_[_0x2319('0x2b')](db[_0x2319('0x2c')][_0x2319('0x2d')],function(_0x2ede72){return{'name':_0x2ede72[_0x2319('0x2e')],'type':_0x2ede72[_0x2319('0x2f')][_0x2319('0x30')]};});_0xc89527['model']=_[_0x2319('0x2b')](_0x3f3f16,_0x2319('0x28'));_0xc89527[_0x2319('0x31')]=_[_0x2319('0x32')](_0xd988cc['query']);_0xc89527[_0x2319('0x33')]=_[_0x2319('0x34')](_0xc89527[_0x2319('0x35')],_0xc89527[_0x2319('0x31')]);_0x47a89b[_0x2319('0x36')]=_[_0x2319('0x34')](_0xc89527[_0x2319('0x35')],qs[_0x2319('0x37')](_0xd988cc[_0x2319('0x31')][_0x2319('0x37')]));_0x47a89b[_0x2319('0x36')]=_0x47a89b[_0x2319('0x36')][_0x2319('0x38')]?_0x47a89b['attributes']:_0xc89527[_0x2319('0x35')];if(!_0xd988cc[_0x2319('0x31')][_0x2319('0x39')](_0x2319('0x3a'))){_0x47a89b['limit']=qs['limit'](_0xd988cc['query'][_0x2319('0x1d')]);_0x47a89b['offset']=qs[_0x2319('0x1c')](_0xd988cc[_0x2319('0x31')][_0x2319('0x1c')]);}_0x47a89b[_0x2319('0x3b')]=qs[_0x2319('0x3c')](_0xd988cc[_0x2319('0x31')][_0x2319('0x3c')]);_0x47a89b[_0x2319('0x3d')]=qs[_0x2319('0x33')](_[_0x2319('0x3e')](_0xd988cc['query'],_0xc89527['filters']),_0x3f3f16);if(_0xd988cc['query'][_0x2319('0x3f')]){_0x47a89b[_0x2319('0x3d')]=_['merge'](_0x47a89b['where'],{'$or':_[_0x2319('0x2b')](_0x3f3f16,function(_0x24393d){if(_0x24393d[_0x2319('0x2f')]!==_0x2319('0x40')){var _0x2012e3={};_0x2012e3[_0x24393d[_0x2319('0x28')]]={'$like':'%'+_0xd988cc['query']['filter']+'%'};return _0x2012e3;}})});}_0x47a89b=_['merge']({},_0x47a89b,_0xd988cc[_0x2319('0x41')]);var _0x2b5391={'where':_0x47a89b['where']};return db[_0x2319('0x2c')][_0x2319('0x1b')](_0x2b5391)[_0x2319('0x21')](function(_0x415f7a){_0x29482f[_0x2319('0x1b')]=_0x415f7a;if(_0xd988cc['query'][_0x2319('0x42')]){_0x47a89b[_0x2319('0x43')]=[{'all':!![]}];}return db[_0x2319('0x2c')][_0x2319('0x44')](_0x47a89b);})[_0x2319('0x21')](function(_0x2bbd9e){_0x29482f[_0x2319('0x45')]=_0x2bbd9e;return _0x29482f;})[_0x2319('0x21')](respondWithFilteredResult(_0x32b8a8,_0x47a89b))[_0x2319('0x46')](handleError(_0x32b8a8,null));};exports[_0x2319('0x47')]=function(_0x3bfffe,_0x684810){var _0x562991={'raw':!![],'where':{'id':_0x3bfffe['params']['id']}},_0x41ba4f={};_0x41ba4f['model']=_['keys'](db['AnalyticExtractedReport'][_0x2319('0x2d')]);_0x41ba4f[_0x2319('0x31')]=_['keys'](_0x3bfffe[_0x2319('0x31')]);_0x41ba4f[_0x2319('0x33')]=_['intersection'](_0x41ba4f[_0x2319('0x35')],_0x41ba4f[_0x2319('0x31')]);_0x562991['attributes']=_['intersection'](_0x41ba4f[_0x2319('0x35')],qs[_0x2319('0x37')](_0x3bfffe[_0x2319('0x31')]['fields']));_0x562991[_0x2319('0x36')]=_0x562991['attributes'][_0x2319('0x38')]?_0x562991[_0x2319('0x36')]:_0x41ba4f[_0x2319('0x35')];if(_0x3bfffe[_0x2319('0x31')][_0x2319('0x42')]){_0x562991['include']=[{'all':!![]}];}_0x562991=_[_0x2319('0x48')]({},_0x562991,_0x3bfffe[_0x2319('0x41')]);return db[_0x2319('0x2c')][_0x2319('0x49')](_0x562991)[_0x2319('0x21')](handleEntityNotFound(_0x684810,null))[_0x2319('0x21')](respondWithResult(_0x684810,null))[_0x2319('0x46')](handleError(_0x684810,null));};exports[_0x2319('0x4a')]=function(_0x1b569c,_0x2f2ded){return db['AnalyticExtractedReport'][_0x2319('0x4a')](_0x1b569c[_0x2319('0x4b')],{})[_0x2319('0x21')](function(_0x274ccc){var _0x42ec75=_0x1b569c[_0x2319('0x4c')][_0x2319('0x23')]({'plain':!![]});if(!_0x42ec75)throw new Error(_0x2319('0x4d'));if(_0x42ec75[_0x2319('0x4e')]==='user'){var _0x4e245b=_0x274ccc[_0x2319('0x23')]({'plain':!![]});var _0x4259cf='ExtractedReports';return db[_0x2319('0x4f')][_0x2319('0x49')]({'where':{'name':_0x4259cf,'userProfileId':_0x42ec75[_0x2319('0x50')]},'raw':!![]})['then'](function(_0x5a7a93){if(_0x5a7a93&&_0x5a7a93['autoAssociation']===0x0){return db[_0x2319('0x25')][_0x2319('0x4a')]({'name':_0x4e245b[_0x2319('0x28')],'resourceId':_0x4e245b['id'],'type':_0x5a7a93[_0x2319('0x28')],'sectionId':_0x5a7a93['id']},{})[_0x2319('0x21')](function(){return _0x274ccc;});}else{return _0x274ccc;}})[_0x2319('0x46')](function(_0x5f5ccf){logger[_0x2319('0x26')](_0x2319('0x51'),_0x5f5ccf);throw _0x5f5ccf;});}return _0x274ccc;})[_0x2319('0x21')](respondWithResult(_0x2f2ded,0xc9))[_0x2319('0x46')](handleError(_0x2f2ded,null));};exports[_0x2319('0x20')]=function(_0x566916,_0x4feabe){if(_0x566916[_0x2319('0x4b')]['id']){delete _0x566916['body']['id'];}return db[_0x2319('0x2c')][_0x2319('0x49')]({'where':{'id':_0x566916['params']['id']}})[_0x2319('0x21')](handleEntityNotFound(_0x4feabe,null))[_0x2319('0x21')](saveUpdates(_0x566916[_0x2319('0x4b')],null))[_0x2319('0x21')](respondWithResult(_0x4feabe,null))[_0x2319('0x46')](handleError(_0x4feabe,null));};exports[_0x2319('0x22')]=function(_0x331ede,_0x4c6bd8){return db[_0x2319('0x2c')][_0x2319('0x49')]({'where':{'id':_0x331ede['params']['id']}})[_0x2319('0x21')](handleEntityNotFound(_0x4c6bd8,null))[_0x2319('0x21')](removeEntity(_0x4c6bd8,null))[_0x2319('0x46')](handleError(_0x4c6bd8,null));};exports[_0x2319('0x52')]=function(_0x42d2e7,_0x198d63,_0x509635){return db['AnalyticExtractedReport']['find']({'where':{'id':_0x42d2e7[_0x2319('0x53')]['id']},'attributes':[_0x2319('0x28'),_0x2319('0x54'),_0x2319('0x55'),_0x2319('0x56')],'raw':!![]})[_0x2319('0x21')](handleEntityNotFound(_0x198d63,null))['then'](function(_0x591acf){if(_0x591acf){if(!fs['existsSync'](path['join'](config[_0x2319('0x57')],'server/files/reports',_0x591acf[_0x2319('0x55')]))){throw new db[(_0x2319('0x58'))]['ValidationError'](_0x2319('0x59'));}if(_0x42d2e7[_0x2319('0x31')][_0x2319('0x5a')]){return _0x198d63[_0x2319('0x17')](0xc8);}return _0x198d63[_0x2319('0x52')](path[_0x2319('0x5b')](config[_0x2319('0x57')],_0x2319('0x5c'),_0x591acf[_0x2319('0x55')]),util[_0x2319('0x5d')](_0x2319('0x5e'),_0x591acf[_0x2319('0x54')]||_0x591acf[_0x2319('0x28')],_0x591acf[_0x2319('0x56')][_0x2319('0x5f')]()));}})[_0x2319('0x46')](handleError(_0x198d63,null));}; \ No newline at end of file +var _0xfdda=['update','then','destroy','get','ExtractedReports','UserProfileResource','error','stack','name','send','map','AnalyticExtractedReport','rawAttributes','key','model','query','keys','intersection','attributes','length','hasOwnProperty','nolimit','sort','where','filters','pick','filter','merge','type','VIRTUAL','options','include','findAll','show','params','fields','find','create','body','user','Unable\x20to\x20retrieve\x20the\x20current\x20user','role','UserProfileSection','userProfileId','autoAssociation','catch','download','basename','savename','output','existsSync','join','root','server/files/reports','Sequelize','Report\x20not\x20found\x20or\x20empty','exists','format','%s.%s','toLowerCase','eml-format','rimraf','fast-json-patch','request-promise','moment','mustache','util','path','sox','to-csv','ejs','lodash','crypto','desk.js','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','api','../../config/utils','../../config/environment','../../mysqldb','sendStatus','status','end','json','count','offset','limit','set','Content-Range','reject','save'];(function(_0x5805d7,_0x3d584a){var _0x170fe4=function(_0x3b9b73){while(--_0x3b9b73){_0x5805d7['push'](_0x5805d7['shift']());}};_0x170fe4(++_0x3d584a);}(_0xfdda,0xf8));var _0xafdd=function(_0x3c7152,_0x302b29){_0x3c7152=_0x3c7152-0x0;var _0x43aea5=_0xfdda[_0x3c7152];return _0x43aea5;};'use strict';var pdf=require('html-pdf');var emlformat=require(_0xafdd('0x0'));var rimraf=require(_0xafdd('0x1'));var zipdir=require('zip-dir');var jsonpatch=require(_0xafdd('0x2'));var rp=require(_0xafdd('0x3'));var moment=require(_0xafdd('0x4'));var BPromise=require('bluebird');var Mustache=require(_0xafdd('0x5'));var util=require(_0xafdd('0x6'));var path=require(_0xafdd('0x7'));var sox=require(_0xafdd('0x8'));var csv=require(_0xafdd('0x9'));var ejs=require(_0xafdd('0xa'));var fs=require('fs');var _=require(_0xafdd('0xb'));var squel=require('squel');var crypto=require(_0xafdd('0xc'));var jsforce=require('jsforce');var deskjs=require(_0xafdd('0xd'));var toCsv=require(_0xafdd('0x9'));var querystring=require('querystring');var Papa=require(_0xafdd('0xe'));var Redis=require(_0xafdd('0xf'));var authService=require(_0xafdd('0x10'));var qs=require(_0xafdd('0x11'));var as=require(_0xafdd('0x12'));var hardwareService=require('../../config/license/hardware');var logger=require('../../config/logger')(_0xafdd('0x13'));var utils=require(_0xafdd('0x14'));var config=require(_0xafdd('0x15'));var db=require(_0xafdd('0x16'))['db'];function respondWithStatusCode(_0x35ac82,_0x48b521){_0x48b521=_0x48b521||0xcc;return function(_0x14355d){if(_0x14355d){return _0x35ac82[_0xafdd('0x17')](_0x48b521);}return _0x35ac82[_0xafdd('0x18')](_0x48b521)[_0xafdd('0x19')]();};}function respondWithResult(_0x41518e,_0x3f7812){_0x3f7812=_0x3f7812||0xc8;return function(_0xcf8ae2){if(_0xcf8ae2){return _0x41518e[_0xafdd('0x18')](_0x3f7812)[_0xafdd('0x1a')](_0xcf8ae2);}};}function respondWithFilteredResult(_0x24e7b0,_0x39a733){return function(_0x281524){if(_0x281524){var _0x1f157a=_0x281524[_0xafdd('0x1b')],_0x49d2c9=_0x39a733[_0xafdd('0x1c')],_0x48da8f=_0x39a733['offset']+_0x39a733[_0xafdd('0x1d')],_0x6e260e;if(_0x48da8f>=_0x1f157a){_0x48da8f=_0x1f157a;_0x6e260e=0xc8;}else{_0x6e260e=0xce;}_0x24e7b0['status'](_0x6e260e);return _0x24e7b0[_0xafdd('0x1e')](_0xafdd('0x1f'),_0x49d2c9+'-'+_0x48da8f+'/'+_0x1f157a)['json'](_0x281524);}return null;};}function patchUpdates(_0x2ba144){return function(_0x482d79){try{jsonpatch['apply'](_0x482d79,_0x2ba144,!![]);}catch(_0x93c4e6){return BPromise[_0xafdd('0x20')](_0x93c4e6);}return _0x482d79[_0xafdd('0x21')]();};}function saveUpdates(_0x16bcfb,_0x5a97e5){return function(_0x472fb0){if(_0x472fb0){return _0x472fb0[_0xafdd('0x22')](_0x16bcfb)[_0xafdd('0x23')](function(_0x3a622e){return _0x3a622e;});}return null;};}function removeEntity(_0x117023,_0xc0cc7d){return function(_0x1a371a){if(_0x1a371a){return _0x1a371a[_0xafdd('0x24')]()[_0xafdd('0x23')](function(){var _0x165111=_0x1a371a[_0xafdd('0x25')]({'plain':!![]});var _0x234b18=_0xafdd('0x26');return db[_0xafdd('0x27')][_0xafdd('0x24')]({'where':{'type':_0x234b18,'resourceId':_0x165111['id']}})[_0xafdd('0x23')](function(){return _0x1a371a;});})[_0xafdd('0x23')](function(){_0x117023[_0xafdd('0x18')](0xcc)[_0xafdd('0x19')]();});}};}function handleEntityNotFound(_0x3df725,_0x2c071b){return function(_0x4987b1){if(!_0x4987b1){_0x3df725[_0xafdd('0x17')](0x194);}return _0x4987b1;};}function handleError(_0x479399,_0x502601){_0x502601=_0x502601||0x1f4;return function(_0x301cf8){logger[_0xafdd('0x28')](_0x301cf8[_0xafdd('0x29')]);if(_0x301cf8[_0xafdd('0x2a')]){delete _0x301cf8[_0xafdd('0x2a')];}_0x479399['status'](_0x502601)[_0xafdd('0x2b')](_0x301cf8);};}exports['index']=function(_0x4b177a,_0x2d0ead){var _0x4c4597={},_0x577b64={},_0x4cad16={'count':0x0,'rows':[]};var _0x2499e6=_[_0xafdd('0x2c')](db[_0xafdd('0x2d')][_0xafdd('0x2e')],function(_0x43d3a1){return{'name':_0x43d3a1['fieldName'],'type':_0x43d3a1['type'][_0xafdd('0x2f')]};});_0x577b64[_0xafdd('0x30')]=_[_0xafdd('0x2c')](_0x2499e6,_0xafdd('0x2a'));_0x577b64[_0xafdd('0x31')]=_[_0xafdd('0x32')](_0x4b177a[_0xafdd('0x31')]);_0x577b64['filters']=_[_0xafdd('0x33')](_0x577b64[_0xafdd('0x30')],_0x577b64[_0xafdd('0x31')]);_0x4c4597[_0xafdd('0x34')]=_[_0xafdd('0x33')](_0x577b64[_0xafdd('0x30')],qs['fields'](_0x4b177a['query']['fields']));_0x4c4597[_0xafdd('0x34')]=_0x4c4597[_0xafdd('0x34')][_0xafdd('0x35')]?_0x4c4597['attributes']:_0x577b64[_0xafdd('0x30')];if(!_0x4b177a[_0xafdd('0x31')][_0xafdd('0x36')](_0xafdd('0x37'))){_0x4c4597[_0xafdd('0x1d')]=qs[_0xafdd('0x1d')](_0x4b177a[_0xafdd('0x31')]['limit']);_0x4c4597[_0xafdd('0x1c')]=qs[_0xafdd('0x1c')](_0x4b177a[_0xafdd('0x31')][_0xafdd('0x1c')]);}_0x4c4597['order']=qs[_0xafdd('0x38')](_0x4b177a['query'][_0xafdd('0x38')]);_0x4c4597[_0xafdd('0x39')]=qs[_0xafdd('0x3a')](_[_0xafdd('0x3b')](_0x4b177a[_0xafdd('0x31')],_0x577b64['filters']),_0x2499e6);if(_0x4b177a[_0xafdd('0x31')][_0xafdd('0x3c')]){_0x4c4597['where']=_[_0xafdd('0x3d')](_0x4c4597[_0xafdd('0x39')],{'$or':_[_0xafdd('0x2c')](_0x2499e6,function(_0x391606){if(_0x391606[_0xafdd('0x3e')]!==_0xafdd('0x3f')){var _0x477389={};_0x477389[_0x391606[_0xafdd('0x2a')]]={'$like':'%'+_0x4b177a[_0xafdd('0x31')][_0xafdd('0x3c')]+'%'};return _0x477389;}})});}_0x4c4597=_[_0xafdd('0x3d')]({},_0x4c4597,_0x4b177a[_0xafdd('0x40')]);var _0x191593={'where':_0x4c4597[_0xafdd('0x39')]};return db[_0xafdd('0x2d')]['count'](_0x191593)[_0xafdd('0x23')](function(_0x2500d3){_0x4cad16['count']=_0x2500d3;if(_0x4b177a[_0xafdd('0x31')]['includeAll']){_0x4c4597[_0xafdd('0x41')]=[{'all':!![]}];}return db['AnalyticExtractedReport'][_0xafdd('0x42')](_0x4c4597);})[_0xafdd('0x23')](function(_0x241321){_0x4cad16['rows']=_0x241321;return _0x4cad16;})[_0xafdd('0x23')](respondWithFilteredResult(_0x2d0ead,_0x4c4597))['catch'](handleError(_0x2d0ead,null));};exports[_0xafdd('0x43')]=function(_0x3a2882,_0xe9327d){var _0x105b25={'raw':!![],'where':{'id':_0x3a2882[_0xafdd('0x44')]['id']}},_0x267c07={};_0x267c07[_0xafdd('0x30')]=_['keys'](db[_0xafdd('0x2d')][_0xafdd('0x2e')]);_0x267c07[_0xafdd('0x31')]=_[_0xafdd('0x32')](_0x3a2882['query']);_0x267c07['filters']=_[_0xafdd('0x33')](_0x267c07[_0xafdd('0x30')],_0x267c07[_0xafdd('0x31')]);_0x105b25[_0xafdd('0x34')]=_['intersection'](_0x267c07[_0xafdd('0x30')],qs[_0xafdd('0x45')](_0x3a2882[_0xafdd('0x31')][_0xafdd('0x45')]));_0x105b25[_0xafdd('0x34')]=_0x105b25[_0xafdd('0x34')][_0xafdd('0x35')]?_0x105b25['attributes']:_0x267c07['model'];if(_0x3a2882[_0xafdd('0x31')]['includeAll']){_0x105b25[_0xafdd('0x41')]=[{'all':!![]}];}_0x105b25=_[_0xafdd('0x3d')]({},_0x105b25,_0x3a2882[_0xafdd('0x40')]);return db['AnalyticExtractedReport'][_0xafdd('0x46')](_0x105b25)[_0xafdd('0x23')](handleEntityNotFound(_0xe9327d,null))[_0xafdd('0x23')](respondWithResult(_0xe9327d,null))['catch'](handleError(_0xe9327d,null));};exports['create']=function(_0x5bed7b,_0x53be6a){return db[_0xafdd('0x2d')][_0xafdd('0x47')](_0x5bed7b[_0xafdd('0x48')],{})[_0xafdd('0x23')](function(_0x2c206c){var _0x2fdb90=_0x5bed7b[_0xafdd('0x49')]['get']({'plain':!![]});if(!_0x2fdb90)throw new Error(_0xafdd('0x4a'));if(_0x2fdb90[_0xafdd('0x4b')]===_0xafdd('0x49')){var _0x52fa15=_0x2c206c[_0xafdd('0x25')]({'plain':!![]});var _0x431185=_0xafdd('0x26');return db[_0xafdd('0x4c')][_0xafdd('0x46')]({'where':{'name':_0x431185,'userProfileId':_0x2fdb90[_0xafdd('0x4d')]},'raw':!![]})['then'](function(_0xab7a36){if(_0xab7a36&&_0xab7a36[_0xafdd('0x4e')]===0x0){return db[_0xafdd('0x27')][_0xafdd('0x47')]({'name':_0x52fa15[_0xafdd('0x2a')],'resourceId':_0x52fa15['id'],'type':_0xab7a36[_0xafdd('0x2a')],'sectionId':_0xab7a36['id']},{})[_0xafdd('0x23')](function(){return _0x2c206c;});}else{return _0x2c206c;}})['catch'](function(_0x498921){logger[_0xafdd('0x28')]('Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s',_0x498921);throw _0x498921;});}return _0x2c206c;})[_0xafdd('0x23')](respondWithResult(_0x53be6a,0xc9))[_0xafdd('0x4f')](handleError(_0x53be6a,null));};exports[_0xafdd('0x22')]=function(_0x57deed,_0x2fa96e){if(_0x57deed['body']['id']){delete _0x57deed[_0xafdd('0x48')]['id'];}return db[_0xafdd('0x2d')][_0xafdd('0x46')]({'where':{'id':_0x57deed['params']['id']}})[_0xafdd('0x23')](handleEntityNotFound(_0x2fa96e,null))[_0xafdd('0x23')](saveUpdates(_0x57deed[_0xafdd('0x48')],null))[_0xafdd('0x23')](respondWithResult(_0x2fa96e,null))['catch'](handleError(_0x2fa96e,null));};exports['destroy']=function(_0x447f80,_0xeee51a){return db[_0xafdd('0x2d')]['find']({'where':{'id':_0x447f80[_0xafdd('0x44')]['id']}})[_0xafdd('0x23')](handleEntityNotFound(_0xeee51a,null))[_0xafdd('0x23')](removeEntity(_0xeee51a,null))[_0xafdd('0x4f')](handleError(_0xeee51a,null));};exports[_0xafdd('0x50')]=function(_0x2082b2,_0x53ac0f,_0x1e79e3){return db[_0xafdd('0x2d')]['find']({'where':{'id':_0x2082b2[_0xafdd('0x44')]['id']},'attributes':[_0xafdd('0x2a'),_0xafdd('0x51'),_0xafdd('0x52'),_0xafdd('0x53')],'raw':!![]})['then'](handleEntityNotFound(_0x53ac0f,null))[_0xafdd('0x23')](function(_0x17176a){if(_0x17176a){if(!fs[_0xafdd('0x54')](path[_0xafdd('0x55')](config[_0xafdd('0x56')],_0xafdd('0x57'),_0x17176a[_0xafdd('0x52')]))){throw new db[(_0xafdd('0x58'))]['ValidationError'](_0xafdd('0x59'));}if(_0x2082b2[_0xafdd('0x31')][_0xafdd('0x5a')]){return _0x53ac0f[_0xafdd('0x17')](0xc8);}return _0x53ac0f[_0xafdd('0x50')](path[_0xafdd('0x55')](config[_0xafdd('0x56')],'server/files/reports',_0x17176a[_0xafdd('0x52')]),util[_0xafdd('0x5b')](_0xafdd('0x5c'),_0x17176a[_0xafdd('0x51')]||_0x17176a[_0xafdd('0x2a')],_0x17176a[_0xafdd('0x53')][_0xafdd('0x5d')]()));}})['catch'](handleError(_0x53ac0f,null));}; \ No newline at end of file diff --git a/server/api/analyticExtractedReport/analyticExtractedReport.model.js b/server/api/analyticExtractedReport/analyticExtractedReport.model.js index 463a79d..6890a07 100644 --- a/server/api/analyticExtractedReport/analyticExtractedReport.model.js +++ b/server/api/analyticExtractedReport/analyticExtractedReport.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x4254=['AnalyticExtractedReport','util','../../config/logger','api','moment','bluebird','../../config/environment','exports','define'];(function(_0x12a968,_0x4db803){var _0x598f1b=function(_0x558def){while(--_0x558def){_0x12a968['push'](_0x12a968['shift']());}};_0x598f1b(++_0x4db803);}(_0x4254,0x157));var _0x4425=function(_0x30b316,_0x48b0bf){_0x30b316=_0x30b316-0x0;var _0x19aee8=_0x4254[_0x30b316];return _0x19aee8;};'use strict';var _=require('lodash');var util=require(_0x4425('0x0'));var logger=require(_0x4425('0x1'))(_0x4425('0x2'));var moment=require(_0x4425('0x3'));var BPromise=require(_0x4425('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x4425('0x5'));var attributes=require('./analyticExtractedReport.attributes');module[_0x4425('0x6')]=function(_0x4a66fa,_0x3f71cc){return _0x4a66fa[_0x4425('0x7')](_0x4425('0x8'),attributes,{'tableName':'analytics_extracted_reports','paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0xd7a4=['util','../../config/logger','api','bluebird','request-promise','rimraf','../../config/environment','./analyticExtractedReport.attributes','exports','AnalyticExtractedReport','analytics_extracted_reports'];(function(_0x4565bf,_0x5ad9d6){var _0x5610ba=function(_0x170988){while(--_0x170988){_0x4565bf['push'](_0x4565bf['shift']());}};_0x5610ba(++_0x5ad9d6);}(_0xd7a4,0xdc));var _0x4d7a=function(_0x4eee78,_0x48694f){_0x4eee78=_0x4eee78-0x0;var _0x2a3ea0=_0xd7a4[_0x4eee78];return _0x2a3ea0;};'use strict';var _=require('lodash');var util=require(_0x4d7a('0x0'));var logger=require(_0x4d7a('0x1'))(_0x4d7a('0x2'));var moment=require('moment');var BPromise=require(_0x4d7a('0x3'));var rp=require(_0x4d7a('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x4d7a('0x5'));var config=require(_0x4d7a('0x6'));var attributes=require(_0x4d7a('0x7'));module[_0x4d7a('0x8')]=function(_0x5374fa,_0x48c403){return _0x5374fa['define'](_0x4d7a('0x9'),attributes,{'tableName':_0x4d7a('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/analyticExtractedReport/analyticExtractedReport.rpc.js b/server/api/analyticExtractedReport/analyticExtractedReport.rpc.js index bb2e3f8..bb6ff5c 100644 --- a/server/api/analyticExtractedReport/analyticExtractedReport.rpc.js +++ b/server/api/analyticExtractedReport/analyticExtractedReport.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xfa88=['lodash','util','moment','bluebird','randomstring','ioredis','../../mysqldb','../../config/utils','../../config/logger','rpc','client','request','then','info','AnalyticExtractedReport,\x20%s,\x20%s','request\x20sent','debug','error','message','result','catch'];(function(_0x4a9fb1,_0x273043){var _0x348672=function(_0x142b69){while(--_0x142b69){_0x4a9fb1['push'](_0x4a9fb1['shift']());}};_0x348672(++_0x273043);}(_0xfa88,0x1a4));var _0x8fa8=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xfa88[_0x3dd15e];return _0x231fd0;};'use strict';var _=require(_0x8fa8('0x0'));var util=require(_0x8fa8('0x1'));var moment=require(_0x8fa8('0x2'));var BPromise=require(_0x8fa8('0x3'));var rs=require(_0x8fa8('0x4'));var fs=require('fs');var Redis=require(_0x8fa8('0x5'));var db=require(_0x8fa8('0x6'))['db'];var utils=require(_0x8fa8('0x7'));var logger=require(_0x8fa8('0x8'))(_0x8fa8('0x9'));var config=require('../../config/environment');var jayson=require('jayson/promise');var client=jayson[_0x8fa8('0xa')]['http']({'port':0x232a});function respondWithRpcPromise(_0x2dcd83,_0x4a2d02,_0xd8a33a){return new BPromise(function(_0xac8dc1,_0x10cb5e){return client[_0x8fa8('0xb')](_0x2dcd83,_0xd8a33a)[_0x8fa8('0xc')](function(_0x26a448){logger[_0x8fa8('0xd')](_0x8fa8('0xe'),_0x4a2d02,_0x8fa8('0xf'));logger[_0x8fa8('0x10')]('AnalyticExtractedReport,\x20%s,\x20%s,\x20%s',_0x4a2d02,_0x8fa8('0xf'),JSON['stringify'](_0x26a448));if(_0x26a448['error']){if(_0x26a448['error']['code']===0x1f4){logger[_0x8fa8('0x11')](_0x8fa8('0xe'),_0x4a2d02,_0x26a448[_0x8fa8('0x11')][_0x8fa8('0x12')]);return _0x10cb5e(_0x26a448[_0x8fa8('0x11')][_0x8fa8('0x12')]);}logger[_0x8fa8('0x11')](_0x8fa8('0xe'),_0x4a2d02,_0x26a448['error'][_0x8fa8('0x12')]);return _0xac8dc1(_0x26a448['error'][_0x8fa8('0x12')]);}else{logger[_0x8fa8('0xd')](_0x8fa8('0xe'),_0x4a2d02,_0x8fa8('0xf'));_0xac8dc1(_0x26a448[_0x8fa8('0x13')][_0x8fa8('0x12')]);}})[_0x8fa8('0x14')](function(_0x28073e){logger[_0x8fa8('0x11')](_0x8fa8('0xe'),_0x4a2d02,_0x28073e);_0x10cb5e(_0x28073e);});});} \ No newline at end of file +var _0x4160=['jayson/promise','client','request','then','AnalyticExtractedReport,\x20%s,\x20%s','request\x20sent','debug','error','code','message','info','result','bluebird','ioredis','../../config/logger','../../config/environment'];(function(_0x463934,_0x1e38ec){var _0x44c1a2=function(_0x2116d7){while(--_0x2116d7){_0x463934['push'](_0x463934['shift']());}};_0x44c1a2(++_0x1e38ec);}(_0x4160,0x19c));var _0x0416=function(_0x471cea,_0x424db4){_0x471cea=_0x471cea-0x0;var _0x519d61=_0x4160[_0x471cea];return _0x519d61;};'use strict';var _=require('lodash');var util=require('util');var moment=require('moment');var BPromise=require(_0x0416('0x0'));var rs=require('randomstring');var fs=require('fs');var Redis=require(_0x0416('0x1'));var db=require('../../mysqldb')['db'];var utils=require('../../config/utils');var logger=require(_0x0416('0x2'))('rpc');var config=require(_0x0416('0x3'));var jayson=require(_0x0416('0x4'));var client=jayson[_0x0416('0x5')]['http']({'port':0x232a});function respondWithRpcPromise(_0x23627a,_0x1ea568,_0x598b5e){return new BPromise(function(_0x1ca2f6,_0x5b732a){return client[_0x0416('0x6')](_0x23627a,_0x598b5e)[_0x0416('0x7')](function(_0x4c2fcc){logger['info'](_0x0416('0x8'),_0x1ea568,_0x0416('0x9'));logger[_0x0416('0xa')]('AnalyticExtractedReport,\x20%s,\x20%s,\x20%s',_0x1ea568,_0x0416('0x9'),JSON['stringify'](_0x4c2fcc));if(_0x4c2fcc['error']){if(_0x4c2fcc[_0x0416('0xb')][_0x0416('0xc')]===0x1f4){logger['error'](_0x0416('0x8'),_0x1ea568,_0x4c2fcc[_0x0416('0xb')][_0x0416('0xd')]);return _0x5b732a(_0x4c2fcc[_0x0416('0xb')][_0x0416('0xd')]);}logger['error'](_0x0416('0x8'),_0x1ea568,_0x4c2fcc[_0x0416('0xb')][_0x0416('0xd')]);return _0x1ca2f6(_0x4c2fcc[_0x0416('0xb')][_0x0416('0xd')]);}else{logger[_0x0416('0xe')](_0x0416('0x8'),_0x1ea568,'request\x20sent');_0x1ca2f6(_0x4c2fcc[_0x0416('0xf')]['message']);}})['catch'](function(_0xe4d29f){logger[_0x0416('0xb')](_0x0416('0x8'),_0x1ea568,_0xe4d29f);_0x5b732a(_0xe4d29f);});});} \ No newline at end of file diff --git a/server/api/analyticExtractedReport/index.js b/server/api/analyticExtractedReport/index.js index f0ee70d..de68bbb 100644 --- a/server/api/analyticExtractedReport/index.js +++ b/server/api/analyticExtractedReport/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xf958=['show','/:id/download','download','create','update','destroy','multer','path','express','../../components/auth/service','../../components/interaction/service','../../config/environment','isAuthenticated','index','get','/:id'];(function(_0x25a018,_0x4eb5a1){var _0x4bb3a1=function(_0x46dd1a){while(--_0x46dd1a){_0x25a018['push'](_0x25a018['shift']());}};_0x4bb3a1(++_0x4eb5a1);}(_0xf958,0xe6));var _0x8f95=function(_0x4b66ab,_0x4d1140){_0x4b66ab=_0x4b66ab-0x0;var _0x58b2ac=_0xf958[_0x4b66ab];return _0x58b2ac;};'use strict';var multer=require(_0x8f95('0x0'));var util=require('util');var path=require(_0x8f95('0x1'));var timeout=require('connect-timeout');var express=require(_0x8f95('0x2'));var router=express['Router']();var auth=require(_0x8f95('0x3'));var interaction=require(_0x8f95('0x4'));var config=require(_0x8f95('0x5'));var controller=require('./analyticExtractedReport.controller');router['get']('/',auth[_0x8f95('0x6')](),controller[_0x8f95('0x7')]);router[_0x8f95('0x8')](_0x8f95('0x9'),auth['isAuthenticated'](),controller[_0x8f95('0xa')]);router[_0x8f95('0x8')](_0x8f95('0xb'),auth[_0x8f95('0x6')](),controller[_0x8f95('0xc')]);router['post']('/',auth[_0x8f95('0x6')](),controller[_0x8f95('0xd')]);router['put'](_0x8f95('0x9'),auth[_0x8f95('0x6')](),controller[_0x8f95('0xe')]);router['delete'](_0x8f95('0x9'),auth[_0x8f95('0x6')](),controller[_0x8f95('0xf')]);module['exports']=router; \ No newline at end of file +var _0x484a=['/:id','multer','util','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/:id/download','download','create','put','delete'];(function(_0x2a30c0,_0x253c0e){var _0x4d5fdb=function(_0x57e5df){while(--_0x57e5df){_0x2a30c0['push'](_0x2a30c0['shift']());}};_0x4d5fdb(++_0x253c0e);}(_0x484a,0x191));var _0xa484=function(_0x3bdd68,_0x16e776){_0x3bdd68=_0x3bdd68-0x0;var _0xb2c133=_0x484a[_0x3bdd68];return _0xb2c133;};'use strict';var multer=require(_0xa484('0x0'));var util=require(_0xa484('0x1'));var path=require('path');var timeout=require(_0xa484('0x2'));var express=require('express');var router=express[_0xa484('0x3')]();var auth=require(_0xa484('0x4'));var interaction=require(_0xa484('0x5'));var config=require(_0xa484('0x6'));var controller=require('./analyticExtractedReport.controller');router[_0xa484('0x7')]('/',auth[_0xa484('0x8')](),controller[_0xa484('0x9')]);router[_0xa484('0x7')]('/:id',auth[_0xa484('0x8')](),controller['show']);router[_0xa484('0x7')](_0xa484('0xa'),auth[_0xa484('0x8')](),controller[_0xa484('0xb')]);router['post']('/',auth[_0xa484('0x8')](),controller[_0xa484('0xc')]);router[_0xa484('0xd')]('/:id',auth[_0xa484('0x8')](),controller['update']);router[_0xa484('0xe')](_0xa484('0xf'),auth[_0xa484('0x8')](),controller['destroy']);module['exports']=router; \ No newline at end of file diff --git a/server/api/analyticFieldReport/analyticFieldReport.attributes.js b/server/api/analyticFieldReport/analyticFieldReport.attributes.js index bbd4310..b0c72d0 100644 --- a/server/api/analyticFieldReport/analyticFieldReport.attributes.js +++ b/server/api/analyticFieldReport/analyticFieldReport.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x814b=['TEXT','STRING','BOOLEAN','sequelize','exports'];(function(_0x50da6f,_0xfeb8d1){var _0xaff1c5=function(_0x41f703){while(--_0x41f703){_0x50da6f['push'](_0x50da6f['shift']());}};_0xaff1c5(++_0xfeb8d1);}(_0x814b,0x1a2));var _0xb814=function(_0x923ab6,_0x200ec5){_0x923ab6=_0x923ab6-0x0;var _0x484752=_0x814b[_0x923ab6];return _0x484752;};'use strict';var Sequelize=require(_0xb814('0x0'));module[_0xb814('0x1')]={'field':{'type':Sequelize[_0xb814('0x2')]},'alias':{'type':Sequelize[_0xb814('0x3')]},'function':{'type':Sequelize[_0xb814('0x3')]},'format':{'type':Sequelize[_0xb814('0x3')]},'groupBy':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'orderBy':{'type':Sequelize[_0xb814('0x3')]},'custom':{'type':Sequelize[_0xb814('0x4')],'defaultValue':![]}}; \ No newline at end of file +var _0x5fc3=['sequelize','exports','STRING','BOOLEAN'];(function(_0x3ec60c,_0x3435da){var _0x2543a6=function(_0x5afcdc){while(--_0x5afcdc){_0x3ec60c['push'](_0x3ec60c['shift']());}};_0x2543a6(++_0x3435da);}(_0x5fc3,0xa8));var _0x35fc=function(_0x2892da,_0x191a40){_0x2892da=_0x2892da-0x0;var _0x28cff2=_0x5fc3[_0x2892da];return _0x28cff2;};'use strict';var Sequelize=require(_0x35fc('0x0'));module[_0x35fc('0x1')]={'field':{'type':Sequelize['TEXT']},'alias':{'type':Sequelize[_0x35fc('0x2')]},'function':{'type':Sequelize[_0x35fc('0x2')]},'format':{'type':Sequelize[_0x35fc('0x2')]},'groupBy':{'type':Sequelize[_0x35fc('0x3')],'defaultValue':![]},'orderBy':{'type':Sequelize[_0x35fc('0x2')]},'custom':{'type':Sequelize['BOOLEAN'],'defaultValue':![]}}; \ No newline at end of file diff --git a/server/api/analyticFieldReport/analyticFieldReport.controller.js b/server/api/analyticFieldReport/analyticFieldReport.controller.js index cc65d8f..9a3f26f 100644 --- a/server/api/analyticFieldReport/analyticFieldReport.controller.js +++ b/server/api/analyticFieldReport/analyticFieldReport.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xe2f6=['offset','limit','set','Content-Range','apply','reject','update','destroy','then','error','stack','name','send','index','type','key','model','map','query','keys','filters','intersection','attributes','fields','length','hasOwnProperty','nolimit','order','sort','pick','filter','where','merge','VIRTUAL','options','AnalyticFieldReport','include','findAll','rows','catch','show','rawAttributes','includeAll','find','create','bulkCreate','body','params','addFields','findOne','sequelize','transaction','CustomReportId','html-pdf','eml-format','rimraf','fast-json-patch','moment','util','sox','to-csv','ejs','lodash','squel','crypto','desk.js','querystring','papaparse','../../components/auth/service','../../components/parsers/advancedSearch','../../config/logger','api','../../config/utils','../../mysqldb','sendStatus','status','end','json','count'];(function(_0x4cbde1,_0x5785ec){var _0x37d42=function(_0x318af3){while(--_0x318af3){_0x4cbde1['push'](_0x4cbde1['shift']());}};_0x37d42(++_0x5785ec);}(_0xe2f6,0x1c0));var _0x6e2f=function(_0x4069d4,_0x5e7036){_0x4069d4=_0x4069d4-0x0;var _0x5c891d=_0xe2f6[_0x4069d4];return _0x5c891d;};'use strict';var pdf=require(_0x6e2f('0x0'));var emlformat=require(_0x6e2f('0x1'));var rimraf=require(_0x6e2f('0x2'));var zipdir=require('zip-dir');var jsonpatch=require(_0x6e2f('0x3'));var rp=require('request-promise');var moment=require(_0x6e2f('0x4'));var BPromise=require('bluebird');var Mustache=require('mustache');var util=require(_0x6e2f('0x5'));var path=require('path');var sox=require(_0x6e2f('0x6'));var csv=require(_0x6e2f('0x7'));var ejs=require(_0x6e2f('0x8'));var fs=require('fs');var _=require(_0x6e2f('0x9'));var squel=require(_0x6e2f('0xa'));var crypto=require(_0x6e2f('0xb'));var jsforce=require('jsforce');var deskjs=require(_0x6e2f('0xc'));var toCsv=require('to-csv');var querystring=require(_0x6e2f('0xd'));var Papa=require(_0x6e2f('0xe'));var Redis=require('ioredis');var authService=require(_0x6e2f('0xf'));var qs=require('../../components/parsers/qs');var as=require(_0x6e2f('0x10'));var hardwareService=require('../../config/license/hardware');var logger=require(_0x6e2f('0x11'))(_0x6e2f('0x12'));var utils=require(_0x6e2f('0x13'));var config=require('../../config/environment');var db=require(_0x6e2f('0x14'))['db'];function respondWithStatusCode(_0x5d9fe6,_0x1a04a3){_0x1a04a3=_0x1a04a3||0xcc;return function(_0x4b8ca8){if(_0x4b8ca8){return _0x5d9fe6[_0x6e2f('0x15')](_0x1a04a3);}return _0x5d9fe6[_0x6e2f('0x16')](_0x1a04a3)[_0x6e2f('0x17')]();};}function respondWithResult(_0xf46199,_0x117a5b){_0x117a5b=_0x117a5b||0xc8;return function(_0x5bf740){if(_0x5bf740){return _0xf46199[_0x6e2f('0x16')](_0x117a5b)[_0x6e2f('0x18')](_0x5bf740);}};}function respondWithFilteredResult(_0xff2fd7,_0x220c9e){return function(_0x2a7001){if(_0x2a7001){var _0x3733ea=_0x2a7001[_0x6e2f('0x19')],_0x9b146b=_0x220c9e[_0x6e2f('0x1a')],_0x5e4171=_0x220c9e[_0x6e2f('0x1a')]+_0x220c9e[_0x6e2f('0x1b')],_0x50b731;if(_0x5e4171>=_0x3733ea){_0x5e4171=_0x3733ea;_0x50b731=0xc8;}else{_0x50b731=0xce;}_0xff2fd7['status'](_0x50b731);return _0xff2fd7[_0x6e2f('0x1c')](_0x6e2f('0x1d'),_0x9b146b+'-'+_0x5e4171+'/'+_0x3733ea)[_0x6e2f('0x18')](_0x2a7001);}return null;};}function patchUpdates(_0x28bc5f){return function(_0x395a5a){try{jsonpatch[_0x6e2f('0x1e')](_0x395a5a,_0x28bc5f,!![]);}catch(_0x188ec6){return BPromise[_0x6e2f('0x1f')](_0x188ec6);}return _0x395a5a['save']();};}function saveUpdates(_0x3bc2af,_0x1a37a6){return function(_0x4e6c3c){if(_0x4e6c3c){return _0x4e6c3c[_0x6e2f('0x20')](_0x3bc2af)['then'](function(_0x34878b){return _0x34878b;});}return null;};}function removeEntity(_0x5ad19f,_0xa0587e){return function(_0x17acaf){if(_0x17acaf){return _0x17acaf[_0x6e2f('0x21')]()[_0x6e2f('0x22')](function(){_0x5ad19f[_0x6e2f('0x16')](0xcc)['end']();});}};}function handleEntityNotFound(_0x2a0fb1,_0x4495fb){return function(_0x469f5f){if(!_0x469f5f){_0x2a0fb1[_0x6e2f('0x15')](0x194);}return _0x469f5f;};}function handleError(_0x279cf5,_0x5c91e6){_0x5c91e6=_0x5c91e6||0x1f4;return function(_0x38dc7e){logger[_0x6e2f('0x23')](_0x38dc7e[_0x6e2f('0x24')]);if(_0x38dc7e['name']){delete _0x38dc7e[_0x6e2f('0x25')];}_0x279cf5['status'](_0x5c91e6)[_0x6e2f('0x26')](_0x38dc7e);};}exports[_0x6e2f('0x27')]=function(_0x3aabe9,_0x4f9ed9){var _0x485693={},_0x5df39b={},_0x43d2bd={'count':0x0,'rows':[]};var _0x53435b=_['map'](db['AnalyticFieldReport']['rawAttributes'],function(_0x3141a2){return{'name':_0x3141a2['fieldName'],'type':_0x3141a2[_0x6e2f('0x28')][_0x6e2f('0x29')]};});_0x5df39b[_0x6e2f('0x2a')]=_[_0x6e2f('0x2b')](_0x53435b,_0x6e2f('0x25'));_0x5df39b[_0x6e2f('0x2c')]=_[_0x6e2f('0x2d')](_0x3aabe9[_0x6e2f('0x2c')]);_0x5df39b[_0x6e2f('0x2e')]=_[_0x6e2f('0x2f')](_0x5df39b[_0x6e2f('0x2a')],_0x5df39b[_0x6e2f('0x2c')]);_0x485693[_0x6e2f('0x30')]=_['intersection'](_0x5df39b[_0x6e2f('0x2a')],qs[_0x6e2f('0x31')](_0x3aabe9[_0x6e2f('0x2c')][_0x6e2f('0x31')]));_0x485693[_0x6e2f('0x30')]=_0x485693[_0x6e2f('0x30')][_0x6e2f('0x32')]?_0x485693[_0x6e2f('0x30')]:_0x5df39b[_0x6e2f('0x2a')];if(!_0x3aabe9['query'][_0x6e2f('0x33')](_0x6e2f('0x34'))){_0x485693[_0x6e2f('0x1b')]=qs[_0x6e2f('0x1b')](_0x3aabe9[_0x6e2f('0x2c')]['limit']);_0x485693['offset']=qs[_0x6e2f('0x1a')](_0x3aabe9[_0x6e2f('0x2c')][_0x6e2f('0x1a')]);}_0x485693[_0x6e2f('0x35')]=qs[_0x6e2f('0x36')](_0x3aabe9[_0x6e2f('0x2c')]['sort']);_0x485693['where']=qs[_0x6e2f('0x2e')](_[_0x6e2f('0x37')](_0x3aabe9['query'],_0x5df39b[_0x6e2f('0x2e')]),_0x53435b);if(_0x3aabe9['query'][_0x6e2f('0x38')]){_0x485693[_0x6e2f('0x39')]=_[_0x6e2f('0x3a')](_0x485693[_0x6e2f('0x39')],{'$or':_[_0x6e2f('0x2b')](_0x53435b,function(_0x3de2e4){if(_0x3de2e4[_0x6e2f('0x28')]!==_0x6e2f('0x3b')){var _0x174b8c={};_0x174b8c[_0x3de2e4[_0x6e2f('0x25')]]={'$like':'%'+_0x3aabe9[_0x6e2f('0x2c')][_0x6e2f('0x38')]+'%'};return _0x174b8c;}})});}_0x485693=_[_0x6e2f('0x3a')]({},_0x485693,_0x3aabe9[_0x6e2f('0x3c')]);var _0x33e544={'where':_0x485693[_0x6e2f('0x39')]};return db[_0x6e2f('0x3d')]['count'](_0x33e544)[_0x6e2f('0x22')](function(_0x5ece29){_0x43d2bd[_0x6e2f('0x19')]=_0x5ece29;if(_0x3aabe9['query']['includeAll']){_0x485693[_0x6e2f('0x3e')]=[{'all':!![]}];}return db[_0x6e2f('0x3d')][_0x6e2f('0x3f')](_0x485693);})[_0x6e2f('0x22')](function(_0x23396e){_0x43d2bd[_0x6e2f('0x40')]=_0x23396e;return _0x43d2bd;})[_0x6e2f('0x22')](respondWithFilteredResult(_0x4f9ed9,_0x485693))[_0x6e2f('0x41')](handleError(_0x4f9ed9,null));};exports[_0x6e2f('0x42')]=function(_0x5da988,_0x16d18d){var _0x1ed2aa={'raw':![],'where':{'id':_0x5da988['params']['id']}},_0x129ea1={};_0x129ea1[_0x6e2f('0x2a')]=_[_0x6e2f('0x2d')](db['AnalyticFieldReport'][_0x6e2f('0x43')]);_0x129ea1['query']=_[_0x6e2f('0x2d')](_0x5da988[_0x6e2f('0x2c')]);_0x129ea1[_0x6e2f('0x2e')]=_[_0x6e2f('0x2f')](_0x129ea1[_0x6e2f('0x2a')],_0x129ea1[_0x6e2f('0x2c')]);_0x1ed2aa[_0x6e2f('0x30')]=_['intersection'](_0x129ea1[_0x6e2f('0x2a')],qs[_0x6e2f('0x31')](_0x5da988['query'][_0x6e2f('0x31')]));_0x1ed2aa[_0x6e2f('0x30')]=_0x1ed2aa[_0x6e2f('0x30')]['length']?_0x1ed2aa[_0x6e2f('0x30')]:_0x129ea1[_0x6e2f('0x2a')];if(_0x5da988['query'][_0x6e2f('0x44')]){_0x1ed2aa['include']=[{'all':!![]}];}_0x1ed2aa=_[_0x6e2f('0x3a')]({},_0x1ed2aa,_0x5da988[_0x6e2f('0x3c')]);return db[_0x6e2f('0x3d')][_0x6e2f('0x45')](_0x1ed2aa)[_0x6e2f('0x22')](handleEntityNotFound(_0x16d18d,null))['then'](respondWithResult(_0x16d18d,null))['catch'](handleError(_0x16d18d,null));};exports[_0x6e2f('0x46')]=function(_0x4d1572,_0x4e52bf){return db[_0x6e2f('0x3d')][_0x6e2f('0x46')](_0x4d1572['body'],{})[_0x6e2f('0x22')](respondWithResult(_0x4e52bf,0xc9))[_0x6e2f('0x41')](handleError(_0x4e52bf,null));};exports['bulkCreate']=function(_0x1cc71b,_0x8d97cf){return db[_0x6e2f('0x3d')][_0x6e2f('0x47')](_0x1cc71b[_0x6e2f('0x48')],{'raw':![],'individualHooks':!![]})[_0x6e2f('0x22')](respondWithResult(_0x8d97cf,0xc9))[_0x6e2f('0x41')](handleError(_0x8d97cf,null));};exports[_0x6e2f('0x20')]=function(_0x2b990b,_0x55e160){if(_0x2b990b[_0x6e2f('0x48')]['id']){delete _0x2b990b[_0x6e2f('0x48')]['id'];}return db[_0x6e2f('0x3d')][_0x6e2f('0x45')]({'where':{'id':_0x2b990b[_0x6e2f('0x49')]['id']}})[_0x6e2f('0x22')](handleEntityNotFound(_0x55e160,null))[_0x6e2f('0x22')](saveUpdates(_0x2b990b[_0x6e2f('0x48')],null))[_0x6e2f('0x22')](respondWithResult(_0x55e160,null))[_0x6e2f('0x41')](handleError(_0x55e160,null));};exports[_0x6e2f('0x21')]=function(_0xec3952,_0x1370f9){return db['AnalyticFieldReport'][_0x6e2f('0x45')]({'where':{'id':_0xec3952[_0x6e2f('0x49')]['id']}})[_0x6e2f('0x22')](handleEntityNotFound(_0x1370f9,null))[_0x6e2f('0x22')](removeEntity(_0x1370f9,null))['catch'](handleError(_0x1370f9,null));};exports['bulkDestroy']=function(_0x5bc83f,_0x21eb4a){return db[_0x6e2f('0x3d')][_0x6e2f('0x21')]({'where':{'id':_0x5bc83f[_0x6e2f('0x2c')]['ids']||[]},'raw':![],'individualHooks':!![]})[_0x6e2f('0x22')](respondWithResult(_0x21eb4a,0xcc))[_0x6e2f('0x41')](handleError(_0x21eb4a,null));};exports[_0x6e2f('0x4a')]=function(_0x5fb492,_0x170e3c,_0x22973d){return db['AnalyticCustomReport'][_0x6e2f('0x4b')]({'where':{'id':_0x5fb492[_0x6e2f('0x49')]['id']}})['then'](handleEntityNotFound(_0x170e3c,null))[_0x6e2f('0x22')](function(_0x3e989d){if(_0x3e989d){return db[_0x6e2f('0x4c')][_0x6e2f('0x4d')](function(_0x2b24d5){return db[_0x6e2f('0x3d')][_0x6e2f('0x21')]({'where':{'CustomReportId':_0x5fb492['params']['id']},'transaction':_0x2b24d5})[_0x6e2f('0x22')](function(_0x43a295){var _0x55eac8=_[_0x6e2f('0x2b')](_0x5fb492[_0x6e2f('0x48')],function(_0x5d3852){delete _0x5d3852['id'];_0x5d3852[_0x6e2f('0x4e')]=_0x5fb492[_0x6e2f('0x49')]['id'];return _0x5d3852;});return db[_0x6e2f('0x3d')][_0x6e2f('0x47')](_0x55eac8,{'transaction':_0x2b24d5});});})['then'](function(){return db[_0x6e2f('0x3d')][_0x6e2f('0x3f')]({'where':{'CustomReportId':_0x5fb492[_0x6e2f('0x49')]['id']}});});}})[_0x6e2f('0x22')](respondWithResult(_0x170e3c,null))[_0x6e2f('0x41')](handleError(_0x170e3c,null));}; \ No newline at end of file +var _0x7288=['includeAll','include','findAll','rows','catch','params','find','create','bulkCreate','body','bulkDestroy','ids','AnalyticCustomReport','sequelize','transaction','CustomReportId','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','moment','mustache','sox','to-csv','ejs','lodash','crypto','jsforce','querystring','papaparse','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','../../config/utils','../../config/environment','../../mysqldb','sendStatus','status','end','json','count','offset','set','Content-Range','apply','reject','save','update','then','destroy','stack','name','index','AnalyticFieldReport','rawAttributes','type','key','model','map','keys','intersection','fields','attributes','length','query','nolimit','limit','order','where','filters','pick','merge','VIRTUAL','filter','options'];(function(_0x45171f,_0x3d9457){var _0x3d0c0b=function(_0x59c310){while(--_0x59c310){_0x45171f['push'](_0x45171f['shift']());}};_0x3d0c0b(++_0x3d9457);}(_0x7288,0x144));var _0x8728=function(_0x18f3bf,_0x178de0){_0x18f3bf=_0x18f3bf-0x0;var _0x5690d2=_0x7288[_0x18f3bf];return _0x5690d2;};'use strict';var pdf=require(_0x8728('0x0'));var emlformat=require(_0x8728('0x1'));var rimraf=require(_0x8728('0x2'));var zipdir=require(_0x8728('0x3'));var jsonpatch=require(_0x8728('0x4'));var rp=require('request-promise');var moment=require(_0x8728('0x5'));var BPromise=require('bluebird');var Mustache=require(_0x8728('0x6'));var util=require('util');var path=require('path');var sox=require(_0x8728('0x7'));var csv=require(_0x8728('0x8'));var ejs=require(_0x8728('0x9'));var fs=require('fs');var _=require(_0x8728('0xa'));var squel=require('squel');var crypto=require(_0x8728('0xb'));var jsforce=require(_0x8728('0xc'));var deskjs=require('desk.js');var toCsv=require(_0x8728('0x8'));var querystring=require(_0x8728('0xd'));var Papa=require(_0x8728('0xe'));var Redis=require('ioredis');var authService=require('../../components/auth/service');var qs=require(_0x8728('0xf'));var as=require(_0x8728('0x10'));var hardwareService=require(_0x8728('0x11'));var logger=require(_0x8728('0x12'))('api');var utils=require(_0x8728('0x13'));var config=require(_0x8728('0x14'));var db=require(_0x8728('0x15'))['db'];function respondWithStatusCode(_0x49d952,_0x219cbd){_0x219cbd=_0x219cbd||0xcc;return function(_0x764595){if(_0x764595){return _0x49d952[_0x8728('0x16')](_0x219cbd);}return _0x49d952[_0x8728('0x17')](_0x219cbd)[_0x8728('0x18')]();};}function respondWithResult(_0x224270,_0x57832e){_0x57832e=_0x57832e||0xc8;return function(_0x21768a){if(_0x21768a){return _0x224270[_0x8728('0x17')](_0x57832e)[_0x8728('0x19')](_0x21768a);}};}function respondWithFilteredResult(_0x9e6683,_0x150cc2){return function(_0x55c8c3){if(_0x55c8c3){var _0xb6e69c=_0x55c8c3[_0x8728('0x1a')],_0x27b91d=_0x150cc2[_0x8728('0x1b')],_0x11f9e3=_0x150cc2['offset']+_0x150cc2['limit'],_0x50c985;if(_0x11f9e3>=_0xb6e69c){_0x11f9e3=_0xb6e69c;_0x50c985=0xc8;}else{_0x50c985=0xce;}_0x9e6683[_0x8728('0x17')](_0x50c985);return _0x9e6683[_0x8728('0x1c')](_0x8728('0x1d'),_0x27b91d+'-'+_0x11f9e3+'/'+_0xb6e69c)[_0x8728('0x19')](_0x55c8c3);}return null;};}function patchUpdates(_0x406c05){return function(_0x74c0d2){try{jsonpatch[_0x8728('0x1e')](_0x74c0d2,_0x406c05,!![]);}catch(_0x26ad7d){return BPromise[_0x8728('0x1f')](_0x26ad7d);}return _0x74c0d2[_0x8728('0x20')]();};}function saveUpdates(_0x364034,_0x3e18e6){return function(_0xaaf9f){if(_0xaaf9f){return _0xaaf9f[_0x8728('0x21')](_0x364034)[_0x8728('0x22')](function(_0xb0278d){return _0xb0278d;});}return null;};}function removeEntity(_0x5ad95c,_0x599ec4){return function(_0x1400b9){if(_0x1400b9){return _0x1400b9[_0x8728('0x23')]()[_0x8728('0x22')](function(){_0x5ad95c[_0x8728('0x17')](0xcc)['end']();});}};}function handleEntityNotFound(_0x545809,_0x46fe40){return function(_0x89d7d8){if(!_0x89d7d8){_0x545809[_0x8728('0x16')](0x194);}return _0x89d7d8;};}function handleError(_0x2b6f2f,_0x3cf226){_0x3cf226=_0x3cf226||0x1f4;return function(_0x27e9bd){logger['error'](_0x27e9bd[_0x8728('0x24')]);if(_0x27e9bd[_0x8728('0x25')]){delete _0x27e9bd[_0x8728('0x25')];}_0x2b6f2f[_0x8728('0x17')](_0x3cf226)['send'](_0x27e9bd);};}exports[_0x8728('0x26')]=function(_0x407568,_0x317521){var _0x105913={},_0x13c8e3={},_0x105abf={'count':0x0,'rows':[]};var _0x286389=_['map'](db[_0x8728('0x27')][_0x8728('0x28')],function(_0xc110c4){return{'name':_0xc110c4['fieldName'],'type':_0xc110c4[_0x8728('0x29')][_0x8728('0x2a')]};});_0x13c8e3[_0x8728('0x2b')]=_[_0x8728('0x2c')](_0x286389,_0x8728('0x25'));_0x13c8e3['query']=_[_0x8728('0x2d')](_0x407568['query']);_0x13c8e3['filters']=_[_0x8728('0x2e')](_0x13c8e3[_0x8728('0x2b')],_0x13c8e3['query']);_0x105913['attributes']=_[_0x8728('0x2e')](_0x13c8e3[_0x8728('0x2b')],qs[_0x8728('0x2f')](_0x407568['query']['fields']));_0x105913[_0x8728('0x30')]=_0x105913[_0x8728('0x30')][_0x8728('0x31')]?_0x105913['attributes']:_0x13c8e3[_0x8728('0x2b')];if(!_0x407568[_0x8728('0x32')]['hasOwnProperty'](_0x8728('0x33'))){_0x105913[_0x8728('0x34')]=qs[_0x8728('0x34')](_0x407568[_0x8728('0x32')][_0x8728('0x34')]);_0x105913[_0x8728('0x1b')]=qs['offset'](_0x407568[_0x8728('0x32')][_0x8728('0x1b')]);}_0x105913[_0x8728('0x35')]=qs['sort'](_0x407568[_0x8728('0x32')]['sort']);_0x105913[_0x8728('0x36')]=qs[_0x8728('0x37')](_[_0x8728('0x38')](_0x407568[_0x8728('0x32')],_0x13c8e3['filters']),_0x286389);if(_0x407568[_0x8728('0x32')]['filter']){_0x105913[_0x8728('0x36')]=_[_0x8728('0x39')](_0x105913[_0x8728('0x36')],{'$or':_[_0x8728('0x2c')](_0x286389,function(_0x29f48e){if(_0x29f48e[_0x8728('0x29')]!==_0x8728('0x3a')){var _0xcd18da={};_0xcd18da[_0x29f48e[_0x8728('0x25')]]={'$like':'%'+_0x407568[_0x8728('0x32')][_0x8728('0x3b')]+'%'};return _0xcd18da;}})});}_0x105913=_[_0x8728('0x39')]({},_0x105913,_0x407568[_0x8728('0x3c')]);var _0x5be3ad={'where':_0x105913['where']};return db[_0x8728('0x27')]['count'](_0x5be3ad)[_0x8728('0x22')](function(_0x26d99f){_0x105abf[_0x8728('0x1a')]=_0x26d99f;if(_0x407568[_0x8728('0x32')][_0x8728('0x3d')]){_0x105913[_0x8728('0x3e')]=[{'all':!![]}];}return db['AnalyticFieldReport'][_0x8728('0x3f')](_0x105913);})['then'](function(_0xbae6fd){_0x105abf[_0x8728('0x40')]=_0xbae6fd;return _0x105abf;})[_0x8728('0x22')](respondWithFilteredResult(_0x317521,_0x105913))[_0x8728('0x41')](handleError(_0x317521,null));};exports['show']=function(_0x425be8,_0x1944c5){var _0x48ed9f={'raw':![],'where':{'id':_0x425be8[_0x8728('0x42')]['id']}},_0x33b3e0={};_0x33b3e0['model']=_[_0x8728('0x2d')](db[_0x8728('0x27')][_0x8728('0x28')]);_0x33b3e0[_0x8728('0x32')]=_['keys'](_0x425be8[_0x8728('0x32')]);_0x33b3e0[_0x8728('0x37')]=_[_0x8728('0x2e')](_0x33b3e0[_0x8728('0x2b')],_0x33b3e0['query']);_0x48ed9f[_0x8728('0x30')]=_[_0x8728('0x2e')](_0x33b3e0[_0x8728('0x2b')],qs[_0x8728('0x2f')](_0x425be8[_0x8728('0x32')][_0x8728('0x2f')]));_0x48ed9f[_0x8728('0x30')]=_0x48ed9f[_0x8728('0x30')]['length']?_0x48ed9f[_0x8728('0x30')]:_0x33b3e0[_0x8728('0x2b')];if(_0x425be8['query'][_0x8728('0x3d')]){_0x48ed9f[_0x8728('0x3e')]=[{'all':!![]}];}_0x48ed9f=_[_0x8728('0x39')]({},_0x48ed9f,_0x425be8[_0x8728('0x3c')]);return db[_0x8728('0x27')][_0x8728('0x43')](_0x48ed9f)[_0x8728('0x22')](handleEntityNotFound(_0x1944c5,null))[_0x8728('0x22')](respondWithResult(_0x1944c5,null))[_0x8728('0x41')](handleError(_0x1944c5,null));};exports[_0x8728('0x44')]=function(_0x821845,_0x2c50ff){return db[_0x8728('0x27')][_0x8728('0x44')](_0x821845['body'],{})[_0x8728('0x22')](respondWithResult(_0x2c50ff,0xc9))['catch'](handleError(_0x2c50ff,null));};exports['bulkCreate']=function(_0x10c4bc,_0x8f79f8){return db[_0x8728('0x27')][_0x8728('0x45')](_0x10c4bc[_0x8728('0x46')],{'raw':![],'individualHooks':!![]})[_0x8728('0x22')](respondWithResult(_0x8f79f8,0xc9))[_0x8728('0x41')](handleError(_0x8f79f8,null));};exports[_0x8728('0x21')]=function(_0x4a587b,_0x66520a){if(_0x4a587b[_0x8728('0x46')]['id']){delete _0x4a587b[_0x8728('0x46')]['id'];}return db[_0x8728('0x27')][_0x8728('0x43')]({'where':{'id':_0x4a587b[_0x8728('0x42')]['id']}})[_0x8728('0x22')](handleEntityNotFound(_0x66520a,null))['then'](saveUpdates(_0x4a587b[_0x8728('0x46')],null))[_0x8728('0x22')](respondWithResult(_0x66520a,null))['catch'](handleError(_0x66520a,null));};exports[_0x8728('0x23')]=function(_0x214245,_0x17b995){return db[_0x8728('0x27')][_0x8728('0x43')]({'where':{'id':_0x214245[_0x8728('0x42')]['id']}})[_0x8728('0x22')](handleEntityNotFound(_0x17b995,null))[_0x8728('0x22')](removeEntity(_0x17b995,null))[_0x8728('0x41')](handleError(_0x17b995,null));};exports[_0x8728('0x47')]=function(_0x2ea82d,_0x27985f){return db[_0x8728('0x27')][_0x8728('0x23')]({'where':{'id':_0x2ea82d[_0x8728('0x32')][_0x8728('0x48')]||[]},'raw':![],'individualHooks':!![]})['then'](respondWithResult(_0x27985f,0xcc))[_0x8728('0x41')](handleError(_0x27985f,null));};exports['addFields']=function(_0xf74868,_0x2c09d6,_0x497bb9){return db[_0x8728('0x49')]['findOne']({'where':{'id':_0xf74868[_0x8728('0x42')]['id']}})[_0x8728('0x22')](handleEntityNotFound(_0x2c09d6,null))[_0x8728('0x22')](function(_0x3a0149){if(_0x3a0149){return db[_0x8728('0x4a')][_0x8728('0x4b')](function(_0x56bf9b){return db[_0x8728('0x27')][_0x8728('0x23')]({'where':{'CustomReportId':_0xf74868['params']['id']},'transaction':_0x56bf9b})['then'](function(_0x5200d2){var _0x4b108b=_['map'](_0xf74868[_0x8728('0x46')],function(_0x62b2b7){delete _0x62b2b7['id'];_0x62b2b7[_0x8728('0x4c')]=_0xf74868[_0x8728('0x42')]['id'];return _0x62b2b7;});return db[_0x8728('0x27')]['bulkCreate'](_0x4b108b,{'transaction':_0x56bf9b});});})[_0x8728('0x22')](function(){return db[_0x8728('0x27')]['findAll']({'where':{'CustomReportId':_0xf74868['params']['id']}});});}})['then'](respondWithResult(_0x2c09d6,null))[_0x8728('0x41')](handleError(_0x2c09d6,null));}; \ No newline at end of file diff --git a/server/api/analyticFieldReport/analyticFieldReport.model.js b/server/api/analyticFieldReport/analyticFieldReport.model.js index 76b7b16..faac2ba 100644 --- a/server/api/analyticFieldReport/analyticFieldReport.model.js +++ b/server/api/analyticFieldReport/analyticFieldReport.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xd15f=['api','moment','bluebird','request-promise','path','rimraf','define','AnalyticFieldReport','lodash','../../config/logger'];(function(_0x1b56ba,_0x14fea9){var _0x539e84=function(_0x31b865){while(--_0x31b865){_0x1b56ba['push'](_0x1b56ba['shift']());}};_0x539e84(++_0x14fea9);}(_0xd15f,0x80));var _0xfd15=function(_0x23ec06,_0x561142){_0x23ec06=_0x23ec06-0x0;var _0x2831d4=_0xd15f[_0x23ec06];return _0x2831d4;};'use strict';var _=require(_0xfd15('0x0'));var util=require('util');var logger=require(_0xfd15('0x1'))(_0xfd15('0x2'));var moment=require(_0xfd15('0x3'));var BPromise=require(_0xfd15('0x4'));var rp=require(_0xfd15('0x5'));var fs=require('fs');var path=require(_0xfd15('0x6'));var rimraf=require(_0xfd15('0x7'));var config=require('../../config/environment');var attributes=require('./analyticFieldReport.attributes');module['exports']=function(_0x3900a8,_0x26be7b){return _0x3900a8[_0xfd15('0x8')](_0xfd15('0x9'),attributes,{'tableName':'analytics_report_fields','paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0x768b=['moment','bluebird','request-promise','path','./analyticFieldReport.attributes','exports','define','AnalyticFieldReport','analytics_report_fields','lodash','../../config/logger','api'];(function(_0x3db750,_0x5d66c2){var _0x5427a=function(_0x41fdb8){while(--_0x41fdb8){_0x3db750['push'](_0x3db750['shift']());}};_0x5427a(++_0x5d66c2);}(_0x768b,0x1dd));var _0xb768=function(_0x4f04fd,_0x11f30d){_0x4f04fd=_0x4f04fd-0x0;var _0x466fee=_0x768b[_0x4f04fd];return _0x466fee;};'use strict';var _=require(_0xb768('0x0'));var util=require('util');var logger=require(_0xb768('0x1'))(_0xb768('0x2'));var moment=require(_0xb768('0x3'));var BPromise=require(_0xb768('0x4'));var rp=require(_0xb768('0x5'));var fs=require('fs');var path=require(_0xb768('0x6'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0xb768('0x7'));module[_0xb768('0x8')]=function(_0x1e2337,_0x5b033e){return _0x1e2337[_0xb768('0x9')](_0xb768('0xa'),attributes,{'tableName':_0xb768('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/analyticFieldReport/analyticFieldReport.rpc.js b/server/api/analyticFieldReport/analyticFieldReport.rpc.js index 0703d53..8d1233e 100644 --- a/server/api/analyticFieldReport/analyticFieldReport.rpc.js +++ b/server/api/analyticFieldReport/analyticFieldReport.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xc75c=['bluebird','randomstring','ioredis','../../mysqldb','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','client','request','info','AnalyticFieldReport,\x20%s,\x20%s','request\x20sent','AnalyticFieldReport,\x20%s,\x20%s,\x20%s','stringify','error','code','message','result','catch','lodash','util'];(function(_0x4565bf,_0x5ad9d6){var _0x5610ba=function(_0x170988){while(--_0x170988){_0x4565bf['push'](_0x4565bf['shift']());}};_0x5610ba(++_0x5ad9d6);}(_0xc75c,0xe4));var _0xcc75=function(_0xe67e22,_0x547e07){_0xe67e22=_0xe67e22-0x0;var _0x39ff12=_0xc75c[_0xe67e22];return _0x39ff12;};'use strict';var _=require(_0xcc75('0x0'));var util=require(_0xcc75('0x1'));var moment=require('moment');var BPromise=require(_0xcc75('0x2'));var rs=require(_0xcc75('0x3'));var fs=require('fs');var Redis=require(_0xcc75('0x4'));var db=require(_0xcc75('0x5'))['db'];var utils=require(_0xcc75('0x6'));var logger=require(_0xcc75('0x7'))(_0xcc75('0x8'));var config=require(_0xcc75('0x9'));var jayson=require(_0xcc75('0xa'));var client=jayson[_0xcc75('0xb')]['http']({'port':0x232a});function respondWithRpcPromise(_0x23643e,_0x540404,_0x366287){return new BPromise(function(_0x323358,_0x227cbf){return client[_0xcc75('0xc')](_0x23643e,_0x366287)['then'](function(_0x542a62){logger[_0xcc75('0xd')](_0xcc75('0xe'),_0x540404,_0xcc75('0xf'));logger['debug'](_0xcc75('0x10'),_0x540404,_0xcc75('0xf'),JSON[_0xcc75('0x11')](_0x542a62));if(_0x542a62[_0xcc75('0x12')]){if(_0x542a62[_0xcc75('0x12')][_0xcc75('0x13')]===0x1f4){logger[_0xcc75('0x12')](_0xcc75('0xe'),_0x540404,_0x542a62['error'][_0xcc75('0x14')]);return _0x227cbf(_0x542a62[_0xcc75('0x12')][_0xcc75('0x14')]);}logger[_0xcc75('0x12')]('AnalyticFieldReport,\x20%s,\x20%s',_0x540404,_0x542a62[_0xcc75('0x12')][_0xcc75('0x14')]);return _0x323358(_0x542a62[_0xcc75('0x12')][_0xcc75('0x14')]);}else{logger[_0xcc75('0xd')](_0xcc75('0xe'),_0x540404,_0xcc75('0xf'));_0x323358(_0x542a62[_0xcc75('0x15')][_0xcc75('0x14')]);}})[_0xcc75('0x16')](function(_0x7c701){logger['error'](_0xcc75('0xe'),_0x540404,_0x7c701);_0x227cbf(_0x7c701);});});} \ No newline at end of file +var _0xb605=['AnalyticFieldReport,\x20%s,\x20%s,\x20%s','stringify','error','code','message','info','result','catch','lodash','util','moment','bluebird','randomstring','../../config/utils','../../config/logger','rpc','client','http','request','then','AnalyticFieldReport,\x20%s,\x20%s','request\x20sent','debug'];(function(_0x3635ce,_0x33a6f9){var _0x97ecd0=function(_0x123d98){while(--_0x123d98){_0x3635ce['push'](_0x3635ce['shift']());}};_0x97ecd0(++_0x33a6f9);}(_0xb605,0xc0));var _0x5b60=function(_0x555ebb,_0x4b1b68){_0x555ebb=_0x555ebb-0x0;var _0x3c0a4a=_0xb605[_0x555ebb];return _0x3c0a4a;};'use strict';var _=require(_0x5b60('0x0'));var util=require(_0x5b60('0x1'));var moment=require(_0x5b60('0x2'));var BPromise=require(_0x5b60('0x3'));var rs=require(_0x5b60('0x4'));var fs=require('fs');var Redis=require('ioredis');var db=require('../../mysqldb')['db'];var utils=require(_0x5b60('0x5'));var logger=require(_0x5b60('0x6'))(_0x5b60('0x7'));var config=require('../../config/environment');var jayson=require('jayson/promise');var client=jayson[_0x5b60('0x8')][_0x5b60('0x9')]({'port':0x232a});function respondWithRpcPromise(_0x127021,_0x3054d6,_0x30a65f){return new BPromise(function(_0x4cc982,_0x577163){return client[_0x5b60('0xa')](_0x127021,_0x30a65f)[_0x5b60('0xb')](function(_0x421f19){logger['info'](_0x5b60('0xc'),_0x3054d6,_0x5b60('0xd'));logger[_0x5b60('0xe')](_0x5b60('0xf'),_0x3054d6,'request\x20sent',JSON[_0x5b60('0x10')](_0x421f19));if(_0x421f19['error']){if(_0x421f19[_0x5b60('0x11')][_0x5b60('0x12')]===0x1f4){logger['error']('AnalyticFieldReport,\x20%s,\x20%s',_0x3054d6,_0x421f19[_0x5b60('0x11')]['message']);return _0x577163(_0x421f19['error'][_0x5b60('0x13')]);}logger[_0x5b60('0x11')](_0x5b60('0xc'),_0x3054d6,_0x421f19['error'][_0x5b60('0x13')]);return _0x4cc982(_0x421f19['error']['message']);}else{logger[_0x5b60('0x14')](_0x5b60('0xc'),_0x3054d6,_0x5b60('0xd'));_0x4cc982(_0x421f19[_0x5b60('0x15')][_0x5b60('0x13')]);}})[_0x5b60('0x16')](function(_0x46a7ea){logger['error']('AnalyticFieldReport,\x20%s,\x20%s',_0x3054d6,_0x46a7ea);_0x577163(_0x46a7ea);});});} \ No newline at end of file diff --git a/server/api/analyticFieldReport/index.js b/server/api/analyticFieldReport/index.js index 27a0076..081c225 100644 --- a/server/api/analyticFieldReport/index.js +++ b/server/api/analyticFieldReport/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x9957=['../../config/environment','get','isAuthenticated','index','/:id','post','/create_many','bulkCreate','/:id/create_many','put','update','delete','/destroy_many','bulkDestroy','exports','multer','util','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service'];(function(_0x1da527,_0x2dc953){var _0x40fc7c=function(_0x9949f5){while(--_0x9949f5){_0x1da527['push'](_0x1da527['shift']());}};_0x40fc7c(++_0x2dc953);}(_0x9957,0x93));var _0x7995=function(_0x3947c9,_0x4d6c97){_0x3947c9=_0x3947c9-0x0;var _0x2e7871=_0x9957[_0x3947c9];return _0x2e7871;};'use strict';var multer=require(_0x7995('0x0'));var util=require(_0x7995('0x1'));var path=require(_0x7995('0x2'));var timeout=require(_0x7995('0x3'));var express=require('express');var router=express[_0x7995('0x4')]();var auth=require(_0x7995('0x5'));var interaction=require(_0x7995('0x6'));var config=require(_0x7995('0x7'));var controller=require('./analyticFieldReport.controller');router[_0x7995('0x8')]('/',auth[_0x7995('0x9')](),controller[_0x7995('0xa')]);router[_0x7995('0x8')](_0x7995('0xb'),auth[_0x7995('0x9')](),controller['show']);router[_0x7995('0xc')]('/',auth[_0x7995('0x9')](),controller['create']);router[_0x7995('0xc')](_0x7995('0xd'),auth[_0x7995('0x9')](),controller[_0x7995('0xe')]);router[_0x7995('0xc')](_0x7995('0xf'),auth[_0x7995('0x9')](),controller['addFields']);router[_0x7995('0x10')](_0x7995('0xb'),auth['isAuthenticated'](),controller[_0x7995('0x11')]);router[_0x7995('0x12')](_0x7995('0x13'),auth[_0x7995('0x9')](),controller[_0x7995('0x14')]);router[_0x7995('0x12')](_0x7995('0xb'),auth['isAuthenticated'](),controller['destroy']);module[_0x7995('0x15')]=router; \ No newline at end of file +var _0x9957=['../../config/environment','get','isAuthenticated','index','/:id','post','/create_many','bulkCreate','/:id/create_many','put','update','delete','/destroy_many','bulkDestroy','exports','multer','util','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service'];(function(_0x39c734,_0x2f3e06){var _0xb2a2f9=function(_0x502f3f){while(--_0x502f3f){_0x39c734['push'](_0x39c734['shift']());}};_0xb2a2f9(++_0x2f3e06);}(_0x9957,0x93));var _0x7995=function(_0xbca1b1,_0x33f0ce){_0xbca1b1=_0xbca1b1-0x0;var _0x4e1686=_0x9957[_0xbca1b1];return _0x4e1686;};'use strict';var multer=require(_0x7995('0x0'));var util=require(_0x7995('0x1'));var path=require(_0x7995('0x2'));var timeout=require(_0x7995('0x3'));var express=require('express');var router=express[_0x7995('0x4')]();var auth=require(_0x7995('0x5'));var interaction=require(_0x7995('0x6'));var config=require(_0x7995('0x7'));var controller=require('./analyticFieldReport.controller');router[_0x7995('0x8')]('/',auth[_0x7995('0x9')](),controller[_0x7995('0xa')]);router[_0x7995('0x8')](_0x7995('0xb'),auth[_0x7995('0x9')](),controller['show']);router[_0x7995('0xc')]('/',auth[_0x7995('0x9')](),controller['create']);router[_0x7995('0xc')](_0x7995('0xd'),auth[_0x7995('0x9')](),controller[_0x7995('0xe')]);router[_0x7995('0xc')](_0x7995('0xf'),auth[_0x7995('0x9')](),controller['addFields']);router[_0x7995('0x10')](_0x7995('0xb'),auth['isAuthenticated'](),controller[_0x7995('0x11')]);router[_0x7995('0x12')](_0x7995('0x13'),auth[_0x7995('0x9')](),controller[_0x7995('0x14')]);router[_0x7995('0x12')](_0x7995('0xb'),auth['isAuthenticated'](),controller['destroy']);module[_0x7995('0x15')]=router; \ No newline at end of file diff --git a/server/api/analyticMetric/analyticMetric.attributes.js b/server/api/analyticMetric/analyticMetric.attributes.js index 188392c..c4e7ac1 100644 --- a/server/api/analyticMetric/analyticMetric.attributes.js +++ b/server/api/analyticMetric/analyticMetric.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x7d25=['name','TEXT','exports','STRING'];(function(_0x88a661,_0x484de1){var _0x4819e7=function(_0x562d8b){while(--_0x562d8b){_0x88a661['push'](_0x88a661['shift']());}};_0x4819e7(++_0x484de1);}(_0x7d25,0x8a));var _0x57d2=function(_0x5627e1,_0x1b2dbf){_0x5627e1=_0x5627e1-0x0;var _0x2f013f=_0x7d25[_0x5627e1];return _0x2f013f;};'use strict';var Sequelize=require('sequelize');module[_0x57d2('0x0')]={'name':{'type':Sequelize[_0x57d2('0x1')],'allowNull':![],'unique':_0x57d2('0x2')},'table':{'type':Sequelize[_0x57d2('0x1')]},'metric':{'type':Sequelize[_0x57d2('0x3')]},'description':{'type':Sequelize[_0x57d2('0x1')]}}; \ No newline at end of file +var _0xf53d=['exports','name','STRING','TEXT','sequelize'];(function(_0x96dead,_0x4db36d){var _0x59c380=function(_0x274385){while(--_0x274385){_0x96dead['push'](_0x96dead['shift']());}};_0x59c380(++_0x4db36d);}(_0xf53d,0x199));var _0xdf53=function(_0x415b73,_0x5b06de){_0x415b73=_0x415b73-0x0;var _0x16c79d=_0xf53d[_0x415b73];return _0x16c79d;};'use strict';var Sequelize=require(_0xdf53('0x0'));module[_0xdf53('0x1')]={'name':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0xdf53('0x2')},'table':{'type':Sequelize[_0xdf53('0x3')]},'metric':{'type':Sequelize[_0xdf53('0x4')]},'description':{'type':Sequelize['STRING']}}; \ No newline at end of file diff --git a/server/api/analyticMetric/analyticMetric.controller.js b/server/api/analyticMetric/analyticMetric.controller.js index cd1821d..ea5db92 100644 --- a/server/api/analyticMetric/analyticMetric.controller.js +++ b/server/api/analyticMetric/analyticMetric.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x955f=['get','Unable\x20to\x20retrieve\x20the\x20current\x20user','userProfileId','autoAssociation','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','moment','util','sox','to-csv','ejs','squel','crypto','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../config/license/hardware','api','../../config/utils','../../config/environment','status','end','json','count','offset','set','Content-Range','apply','reject','save','update','destroy','then','Metrics','UserProfileResource','sendStatus','stack','name','send','index','map','AnalyticMetric','type','key','model','query','keys','intersection','attributes','fields','hasOwnProperty','nolimit','limit','sort','where','filters','pick','merge','VIRTUAL','filter','options','includeAll','include','findAll','rows','catch','show','params','rawAttributes','length','find','create','body','user'];(function(_0x4e67ce,_0x332027){var _0x46ce95=function(_0x847e9f){while(--_0x847e9f){_0x4e67ce['push'](_0x4e67ce['shift']());}};_0x46ce95(++_0x332027);}(_0x955f,0x1eb));var _0xf955=function(_0x4c5da4,_0x21bb6a){_0x4c5da4=_0x4c5da4-0x0;var _0x23c8b7=_0x955f[_0x4c5da4];return _0x23c8b7;};'use strict';var pdf=require(_0xf955('0x0'));var emlformat=require(_0xf955('0x1'));var rimraf=require(_0xf955('0x2'));var zipdir=require(_0xf955('0x3'));var jsonpatch=require(_0xf955('0x4'));var rp=require('request-promise');var moment=require(_0xf955('0x5'));var BPromise=require('bluebird');var Mustache=require('mustache');var util=require(_0xf955('0x6'));var path=require('path');var sox=require(_0xf955('0x7'));var csv=require(_0xf955('0x8'));var ejs=require(_0xf955('0x9'));var fs=require('fs');var _=require('lodash');var squel=require(_0xf955('0xa'));var crypto=require(_0xf955('0xb'));var jsforce=require('jsforce');var deskjs=require(_0xf955('0xc'));var toCsv=require(_0xf955('0x8'));var querystring=require(_0xf955('0xd'));var Papa=require(_0xf955('0xe'));var Redis=require(_0xf955('0xf'));var authService=require(_0xf955('0x10'));var qs=require(_0xf955('0x11'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0xf955('0x12'));var logger=require('../../config/logger')(_0xf955('0x13'));var utils=require(_0xf955('0x14'));var config=require(_0xf955('0x15'));var db=require('../../mysqldb')['db'];function respondWithStatusCode(_0x2f61b8,_0x542347){_0x542347=_0x542347||0xcc;return function(_0x23e0c6){if(_0x23e0c6){return _0x2f61b8['sendStatus'](_0x542347);}return _0x2f61b8[_0xf955('0x16')](_0x542347)[_0xf955('0x17')]();};}function respondWithResult(_0x22507a,_0x109bc5){_0x109bc5=_0x109bc5||0xc8;return function(_0x2080c4){if(_0x2080c4){return _0x22507a[_0xf955('0x16')](_0x109bc5)[_0xf955('0x18')](_0x2080c4);}};}function respondWithFilteredResult(_0x2783f2,_0x3c6af7){return function(_0x24e75c){if(_0x24e75c){var _0x5350e4=_0x24e75c[_0xf955('0x19')],_0xc29b35=_0x3c6af7[_0xf955('0x1a')],_0x54e60b=_0x3c6af7[_0xf955('0x1a')]+_0x3c6af7['limit'],_0x3139d5;if(_0x54e60b>=_0x5350e4){_0x54e60b=_0x5350e4;_0x3139d5=0xc8;}else{_0x3139d5=0xce;}_0x2783f2['status'](_0x3139d5);return _0x2783f2[_0xf955('0x1b')](_0xf955('0x1c'),_0xc29b35+'-'+_0x54e60b+'/'+_0x5350e4)[_0xf955('0x18')](_0x24e75c);}return null;};}function patchUpdates(_0x4d7b5b){return function(_0xb71daf){try{jsonpatch[_0xf955('0x1d')](_0xb71daf,_0x4d7b5b,!![]);}catch(_0x423824){return BPromise[_0xf955('0x1e')](_0x423824);}return _0xb71daf[_0xf955('0x1f')]();};}function saveUpdates(_0x5f4d9a,_0x17d86a){return function(_0x3dbbe8){if(_0x3dbbe8){return _0x3dbbe8[_0xf955('0x20')](_0x5f4d9a)['then'](function(_0x43a5f2){return _0x43a5f2;});}return null;};}function removeEntity(_0x5daa73,_0x21ae24){return function(_0x43b078){if(_0x43b078){return _0x43b078[_0xf955('0x21')]()[_0xf955('0x22')](function(){var _0x160071=_0x43b078['get']({'plain':!![]});var _0x25f4f2=_0xf955('0x23');return db[_0xf955('0x24')][_0xf955('0x21')]({'where':{'type':_0x25f4f2,'resourceId':_0x160071['id']}})[_0xf955('0x22')](function(){return _0x43b078;});})[_0xf955('0x22')](function(){_0x5daa73[_0xf955('0x16')](0xcc)['end']();});}};}function handleEntityNotFound(_0x18f435,_0x1acf33){return function(_0xba8a22){if(!_0xba8a22){_0x18f435[_0xf955('0x25')](0x194);}return _0xba8a22;};}function handleError(_0x2dcd55,_0x13a86d){_0x13a86d=_0x13a86d||0x1f4;return function(_0x3796f7){logger['error'](_0x3796f7[_0xf955('0x26')]);if(_0x3796f7[_0xf955('0x27')]){delete _0x3796f7[_0xf955('0x27')];}_0x2dcd55[_0xf955('0x16')](_0x13a86d)[_0xf955('0x28')](_0x3796f7);};}exports[_0xf955('0x29')]=function(_0x4d4af0,_0x2232a7){var _0x1e5d37={},_0x4ec3e8={},_0x256df5={'count':0x0,'rows':[]};var _0x2c8df1=_[_0xf955('0x2a')](db[_0xf955('0x2b')]['rawAttributes'],function(_0x3a951c){return{'name':_0x3a951c['fieldName'],'type':_0x3a951c[_0xf955('0x2c')][_0xf955('0x2d')]};});_0x4ec3e8[_0xf955('0x2e')]=_[_0xf955('0x2a')](_0x2c8df1,_0xf955('0x27'));_0x4ec3e8[_0xf955('0x2f')]=_[_0xf955('0x30')](_0x4d4af0[_0xf955('0x2f')]);_0x4ec3e8['filters']=_[_0xf955('0x31')](_0x4ec3e8[_0xf955('0x2e')],_0x4ec3e8[_0xf955('0x2f')]);_0x1e5d37[_0xf955('0x32')]=_['intersection'](_0x4ec3e8[_0xf955('0x2e')],qs[_0xf955('0x33')](_0x4d4af0[_0xf955('0x2f')][_0xf955('0x33')]));_0x1e5d37[_0xf955('0x32')]=_0x1e5d37['attributes']['length']?_0x1e5d37['attributes']:_0x4ec3e8[_0xf955('0x2e')];if(!_0x4d4af0[_0xf955('0x2f')][_0xf955('0x34')](_0xf955('0x35'))){_0x1e5d37[_0xf955('0x36')]=qs[_0xf955('0x36')](_0x4d4af0['query'][_0xf955('0x36')]);_0x1e5d37['offset']=qs[_0xf955('0x1a')](_0x4d4af0[_0xf955('0x2f')][_0xf955('0x1a')]);}_0x1e5d37['order']=qs[_0xf955('0x37')](_0x4d4af0['query'][_0xf955('0x37')]);_0x1e5d37[_0xf955('0x38')]=qs[_0xf955('0x39')](_[_0xf955('0x3a')](_0x4d4af0['query'],_0x4ec3e8[_0xf955('0x39')]),_0x2c8df1);if(_0x4d4af0[_0xf955('0x2f')]['filter']){_0x1e5d37[_0xf955('0x38')]=_[_0xf955('0x3b')](_0x1e5d37[_0xf955('0x38')],{'$or':_['map'](_0x2c8df1,function(_0x292e53){if(_0x292e53[_0xf955('0x2c')]!==_0xf955('0x3c')){var _0x488b6e={};_0x488b6e[_0x292e53[_0xf955('0x27')]]={'$like':'%'+_0x4d4af0[_0xf955('0x2f')][_0xf955('0x3d')]+'%'};return _0x488b6e;}})});}_0x1e5d37=_[_0xf955('0x3b')]({},_0x1e5d37,_0x4d4af0[_0xf955('0x3e')]);var _0x3c4b29={'where':_0x1e5d37[_0xf955('0x38')]};return db[_0xf955('0x2b')]['count'](_0x3c4b29)[_0xf955('0x22')](function(_0x7123c1){_0x256df5[_0xf955('0x19')]=_0x7123c1;if(_0x4d4af0[_0xf955('0x2f')][_0xf955('0x3f')]){_0x1e5d37[_0xf955('0x40')]=[{'all':!![]}];}return db[_0xf955('0x2b')][_0xf955('0x41')](_0x1e5d37);})[_0xf955('0x22')](function(_0x238a68){_0x256df5[_0xf955('0x42')]=_0x238a68;return _0x256df5;})[_0xf955('0x22')](respondWithFilteredResult(_0x2232a7,_0x1e5d37))[_0xf955('0x43')](handleError(_0x2232a7,null));};exports[_0xf955('0x44')]=function(_0x3557b5,_0x248f60){var _0x356ec2={'raw':!![],'where':{'id':_0x3557b5[_0xf955('0x45')]['id']}},_0x34f0f1={};_0x34f0f1['model']=_[_0xf955('0x30')](db[_0xf955('0x2b')][_0xf955('0x46')]);_0x34f0f1['query']=_[_0xf955('0x30')](_0x3557b5['query']);_0x34f0f1[_0xf955('0x39')]=_['intersection'](_0x34f0f1[_0xf955('0x2e')],_0x34f0f1[_0xf955('0x2f')]);_0x356ec2[_0xf955('0x32')]=_[_0xf955('0x31')](_0x34f0f1['model'],qs[_0xf955('0x33')](_0x3557b5[_0xf955('0x2f')][_0xf955('0x33')]));_0x356ec2['attributes']=_0x356ec2['attributes'][_0xf955('0x47')]?_0x356ec2[_0xf955('0x32')]:_0x34f0f1[_0xf955('0x2e')];if(_0x3557b5[_0xf955('0x2f')]['includeAll']){_0x356ec2[_0xf955('0x40')]=[{'all':!![]}];}_0x356ec2=_[_0xf955('0x3b')]({},_0x356ec2,_0x3557b5[_0xf955('0x3e')]);return db['AnalyticMetric'][_0xf955('0x48')](_0x356ec2)['then'](handleEntityNotFound(_0x248f60,null))[_0xf955('0x22')](respondWithResult(_0x248f60,null))[_0xf955('0x43')](handleError(_0x248f60,null));};exports[_0xf955('0x49')]=function(_0x4dd592,_0x3e24c9){return db[_0xf955('0x2b')][_0xf955('0x49')](_0x4dd592[_0xf955('0x4a')],{})['then'](function(_0xa8edda){var _0x4ff0f1=_0x4dd592[_0xf955('0x4b')][_0xf955('0x4c')]({'plain':!![]});if(!_0x4ff0f1)throw new Error(_0xf955('0x4d'));if(_0x4ff0f1['role']===_0xf955('0x4b')){var _0x4e7269=_0xa8edda[_0xf955('0x4c')]({'plain':!![]});var _0x5b5621=_0xf955('0x23');return db['UserProfileSection']['find']({'where':{'name':_0x5b5621,'userProfileId':_0x4ff0f1[_0xf955('0x4e')]},'raw':!![]})[_0xf955('0x22')](function(_0x4961cc){if(_0x4961cc&&_0x4961cc[_0xf955('0x4f')]===0x0){return db['UserProfileResource']['create']({'name':_0x4e7269['name'],'resourceId':_0x4e7269['id'],'type':_0x4961cc['name'],'sectionId':_0x4961cc['id']},{})[_0xf955('0x22')](function(){return _0xa8edda;});}else{return _0xa8edda;}})[_0xf955('0x43')](function(_0x4a7aee){logger['error'](_0xf955('0x50'),_0x4a7aee);throw _0x4a7aee;});}return _0xa8edda;})[_0xf955('0x22')](respondWithResult(_0x3e24c9,0xc9))[_0xf955('0x43')](handleError(_0x3e24c9,null));};exports[_0xf955('0x20')]=function(_0x1b7b21,_0xa56483){if(_0x1b7b21[_0xf955('0x4a')]['id']){delete _0x1b7b21[_0xf955('0x4a')]['id'];}return db[_0xf955('0x2b')][_0xf955('0x48')]({'where':{'id':_0x1b7b21[_0xf955('0x45')]['id']}})[_0xf955('0x22')](handleEntityNotFound(_0xa56483,null))['then'](saveUpdates(_0x1b7b21[_0xf955('0x4a')],null))[_0xf955('0x22')](respondWithResult(_0xa56483,null))[_0xf955('0x43')](handleError(_0xa56483,null));};exports[_0xf955('0x21')]=function(_0x3242fe,_0x4dc34b){return db[_0xf955('0x2b')][_0xf955('0x48')]({'where':{'id':_0x3242fe[_0xf955('0x45')]['id']}})[_0xf955('0x22')](handleEntityNotFound(_0x4dc34b,null))[_0xf955('0x22')](removeEntity(_0x4dc34b,null))[_0xf955('0x43')](handleError(_0x4dc34b,null));}; \ No newline at end of file +var _0xe1e3=['UserProfileSection','userProfileId','autoAssociation','error','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','html-pdf','eml-format','zip-dir','moment','mustache','util','path','sox','to-csv','ejs','squel','crypto','jsforce','desk.js','querystring','../../components/parsers/qs','../../config/license/hardware','../../config/logger','api','../../config/environment','status','count','offset','limit','set','Content-Range','json','reject','save','update','then','destroy','get','UserProfileResource','end','name','send','AnalyticMetric','type','map','query','keys','attributes','intersection','model','fields','hasOwnProperty','nolimit','order','sort','where','filters','pick','filter','VIRTUAL','includeAll','findAll','rows','catch','show','params','rawAttributes','merge','find','create','body','user','Unable\x20to\x20retrieve\x20the\x20current\x20user'];(function(_0x39cf2e,_0x2dbcbe){var _0x5e4440=function(_0x1fc698){while(--_0x1fc698){_0x39cf2e['push'](_0x39cf2e['shift']());}};_0x5e4440(++_0x2dbcbe);}(_0xe1e3,0x1bb));var _0x3e1e=function(_0x4995f7,_0x37f1c8){_0x4995f7=_0x4995f7-0x0;var _0x100c7e=_0xe1e3[_0x4995f7];return _0x100c7e;};'use strict';var pdf=require(_0x3e1e('0x0'));var emlformat=require(_0x3e1e('0x1'));var rimraf=require('rimraf');var zipdir=require(_0x3e1e('0x2'));var jsonpatch=require('fast-json-patch');var rp=require('request-promise');var moment=require(_0x3e1e('0x3'));var BPromise=require('bluebird');var Mustache=require(_0x3e1e('0x4'));var util=require(_0x3e1e('0x5'));var path=require(_0x3e1e('0x6'));var sox=require(_0x3e1e('0x7'));var csv=require(_0x3e1e('0x8'));var ejs=require(_0x3e1e('0x9'));var fs=require('fs');var _=require('lodash');var squel=require(_0x3e1e('0xa'));var crypto=require(_0x3e1e('0xb'));var jsforce=require(_0x3e1e('0xc'));var deskjs=require(_0x3e1e('0xd'));var toCsv=require(_0x3e1e('0x8'));var querystring=require(_0x3e1e('0xe'));var Papa=require('papaparse');var Redis=require('ioredis');var authService=require('../../components/auth/service');var qs=require(_0x3e1e('0xf'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0x3e1e('0x10'));var logger=require(_0x3e1e('0x11'))(_0x3e1e('0x12'));var utils=require('../../config/utils');var config=require(_0x3e1e('0x13'));var db=require('../../mysqldb')['db'];function respondWithStatusCode(_0x4fcd4f,_0x4e47b9){_0x4e47b9=_0x4e47b9||0xcc;return function(_0x536129){if(_0x536129){return _0x4fcd4f['sendStatus'](_0x4e47b9);}return _0x4fcd4f[_0x3e1e('0x14')](_0x4e47b9)['end']();};}function respondWithResult(_0x4d1e78,_0x3a9375){_0x3a9375=_0x3a9375||0xc8;return function(_0x8bd4cd){if(_0x8bd4cd){return _0x4d1e78[_0x3e1e('0x14')](_0x3a9375)['json'](_0x8bd4cd);}};}function respondWithFilteredResult(_0x5b34ec,_0x4131a1){return function(_0x1b62e6){if(_0x1b62e6){var _0x4dca60=_0x1b62e6[_0x3e1e('0x15')],_0x26cb35=_0x4131a1['offset'],_0x1f0af9=_0x4131a1[_0x3e1e('0x16')]+_0x4131a1[_0x3e1e('0x17')],_0x570212;if(_0x1f0af9>=_0x4dca60){_0x1f0af9=_0x4dca60;_0x570212=0xc8;}else{_0x570212=0xce;}_0x5b34ec[_0x3e1e('0x14')](_0x570212);return _0x5b34ec[_0x3e1e('0x18')](_0x3e1e('0x19'),_0x26cb35+'-'+_0x1f0af9+'/'+_0x4dca60)[_0x3e1e('0x1a')](_0x1b62e6);}return null;};}function patchUpdates(_0x569f49){return function(_0x5dccb8){try{jsonpatch['apply'](_0x5dccb8,_0x569f49,!![]);}catch(_0x428e4e){return BPromise[_0x3e1e('0x1b')](_0x428e4e);}return _0x5dccb8[_0x3e1e('0x1c')]();};}function saveUpdates(_0x57c660,_0x1c5acd){return function(_0x530815){if(_0x530815){return _0x530815[_0x3e1e('0x1d')](_0x57c660)[_0x3e1e('0x1e')](function(_0x474085){return _0x474085;});}return null;};}function removeEntity(_0x5f4e29,_0x53e051){return function(_0x96396){if(_0x96396){return _0x96396[_0x3e1e('0x1f')]()['then'](function(){var _0x5e4ef8=_0x96396[_0x3e1e('0x20')]({'plain':!![]});var _0x1b5097='Metrics';return db[_0x3e1e('0x21')][_0x3e1e('0x1f')]({'where':{'type':_0x1b5097,'resourceId':_0x5e4ef8['id']}})[_0x3e1e('0x1e')](function(){return _0x96396;});})[_0x3e1e('0x1e')](function(){_0x5f4e29[_0x3e1e('0x14')](0xcc)[_0x3e1e('0x22')]();});}};}function handleEntityNotFound(_0x43d583,_0x21c898){return function(_0x4ee2b5){if(!_0x4ee2b5){_0x43d583['sendStatus'](0x194);}return _0x4ee2b5;};}function handleError(_0x44e419,_0x541ef1){_0x541ef1=_0x541ef1||0x1f4;return function(_0x55db8f){logger['error'](_0x55db8f['stack']);if(_0x55db8f[_0x3e1e('0x23')]){delete _0x55db8f[_0x3e1e('0x23')];}_0x44e419['status'](_0x541ef1)[_0x3e1e('0x24')](_0x55db8f);};}exports['index']=function(_0xdfcd93,_0x176bb4){var _0x53a6ff={},_0x43e029={},_0x210a84={'count':0x0,'rows':[]};var _0x45ed0e=_['map'](db[_0x3e1e('0x25')]['rawAttributes'],function(_0x591c36){return{'name':_0x591c36['fieldName'],'type':_0x591c36[_0x3e1e('0x26')]['key']};});_0x43e029['model']=_[_0x3e1e('0x27')](_0x45ed0e,_0x3e1e('0x23'));_0x43e029[_0x3e1e('0x28')]=_[_0x3e1e('0x29')](_0xdfcd93[_0x3e1e('0x28')]);_0x43e029['filters']=_['intersection'](_0x43e029['model'],_0x43e029['query']);_0x53a6ff[_0x3e1e('0x2a')]=_[_0x3e1e('0x2b')](_0x43e029[_0x3e1e('0x2c')],qs[_0x3e1e('0x2d')](_0xdfcd93[_0x3e1e('0x28')][_0x3e1e('0x2d')]));_0x53a6ff[_0x3e1e('0x2a')]=_0x53a6ff[_0x3e1e('0x2a')]['length']?_0x53a6ff[_0x3e1e('0x2a')]:_0x43e029[_0x3e1e('0x2c')];if(!_0xdfcd93['query'][_0x3e1e('0x2e')](_0x3e1e('0x2f'))){_0x53a6ff[_0x3e1e('0x17')]=qs[_0x3e1e('0x17')](_0xdfcd93['query']['limit']);_0x53a6ff[_0x3e1e('0x16')]=qs[_0x3e1e('0x16')](_0xdfcd93['query'][_0x3e1e('0x16')]);}_0x53a6ff[_0x3e1e('0x30')]=qs['sort'](_0xdfcd93[_0x3e1e('0x28')][_0x3e1e('0x31')]);_0x53a6ff[_0x3e1e('0x32')]=qs[_0x3e1e('0x33')](_[_0x3e1e('0x34')](_0xdfcd93['query'],_0x43e029[_0x3e1e('0x33')]),_0x45ed0e);if(_0xdfcd93[_0x3e1e('0x28')][_0x3e1e('0x35')]){_0x53a6ff[_0x3e1e('0x32')]=_['merge'](_0x53a6ff[_0x3e1e('0x32')],{'$or':_[_0x3e1e('0x27')](_0x45ed0e,function(_0x111da4){if(_0x111da4[_0x3e1e('0x26')]!==_0x3e1e('0x36')){var _0x25a95b={};_0x25a95b[_0x111da4[_0x3e1e('0x23')]]={'$like':'%'+_0xdfcd93['query'][_0x3e1e('0x35')]+'%'};return _0x25a95b;}})});}_0x53a6ff=_['merge']({},_0x53a6ff,_0xdfcd93['options']);var _0x4f598e={'where':_0x53a6ff[_0x3e1e('0x32')]};return db[_0x3e1e('0x25')]['count'](_0x4f598e)[_0x3e1e('0x1e')](function(_0xb030eb){_0x210a84['count']=_0xb030eb;if(_0xdfcd93[_0x3e1e('0x28')][_0x3e1e('0x37')]){_0x53a6ff['include']=[{'all':!![]}];}return db['AnalyticMetric'][_0x3e1e('0x38')](_0x53a6ff);})['then'](function(_0x4ff868){_0x210a84[_0x3e1e('0x39')]=_0x4ff868;return _0x210a84;})[_0x3e1e('0x1e')](respondWithFilteredResult(_0x176bb4,_0x53a6ff))[_0x3e1e('0x3a')](handleError(_0x176bb4,null));};exports[_0x3e1e('0x3b')]=function(_0x377a06,_0x55ea1d){var _0x5b32ad={'raw':!![],'where':{'id':_0x377a06[_0x3e1e('0x3c')]['id']}},_0x24b2ad={};_0x24b2ad[_0x3e1e('0x2c')]=_['keys'](db[_0x3e1e('0x25')][_0x3e1e('0x3d')]);_0x24b2ad[_0x3e1e('0x28')]=_['keys'](_0x377a06[_0x3e1e('0x28')]);_0x24b2ad['filters']=_['intersection'](_0x24b2ad[_0x3e1e('0x2c')],_0x24b2ad[_0x3e1e('0x28')]);_0x5b32ad[_0x3e1e('0x2a')]=_[_0x3e1e('0x2b')](_0x24b2ad['model'],qs['fields'](_0x377a06['query']['fields']));_0x5b32ad[_0x3e1e('0x2a')]=_0x5b32ad[_0x3e1e('0x2a')]['length']?_0x5b32ad['attributes']:_0x24b2ad[_0x3e1e('0x2c')];if(_0x377a06[_0x3e1e('0x28')][_0x3e1e('0x37')]){_0x5b32ad['include']=[{'all':!![]}];}_0x5b32ad=_[_0x3e1e('0x3e')]({},_0x5b32ad,_0x377a06['options']);return db[_0x3e1e('0x25')][_0x3e1e('0x3f')](_0x5b32ad)[_0x3e1e('0x1e')](handleEntityNotFound(_0x55ea1d,null))[_0x3e1e('0x1e')](respondWithResult(_0x55ea1d,null))[_0x3e1e('0x3a')](handleError(_0x55ea1d,null));};exports[_0x3e1e('0x40')]=function(_0x53d32b,_0x2f14b3){return db[_0x3e1e('0x25')]['create'](_0x53d32b[_0x3e1e('0x41')],{})[_0x3e1e('0x1e')](function(_0x551573){var _0x1cc820=_0x53d32b[_0x3e1e('0x42')][_0x3e1e('0x20')]({'plain':!![]});if(!_0x1cc820)throw new Error(_0x3e1e('0x43'));if(_0x1cc820['role']===_0x3e1e('0x42')){var _0x3d7303=_0x551573[_0x3e1e('0x20')]({'plain':!![]});var _0xb086d4='Metrics';return db[_0x3e1e('0x44')][_0x3e1e('0x3f')]({'where':{'name':_0xb086d4,'userProfileId':_0x1cc820[_0x3e1e('0x45')]},'raw':!![]})[_0x3e1e('0x1e')](function(_0xe2516c){if(_0xe2516c&&_0xe2516c[_0x3e1e('0x46')]===0x0){return db[_0x3e1e('0x21')][_0x3e1e('0x40')]({'name':_0x3d7303['name'],'resourceId':_0x3d7303['id'],'type':_0xe2516c[_0x3e1e('0x23')],'sectionId':_0xe2516c['id']},{})['then'](function(){return _0x551573;});}else{return _0x551573;}})['catch'](function(_0x4c8583){logger[_0x3e1e('0x47')](_0x3e1e('0x48'),_0x4c8583);throw _0x4c8583;});}return _0x551573;})['then'](respondWithResult(_0x2f14b3,0xc9))[_0x3e1e('0x3a')](handleError(_0x2f14b3,null));};exports['update']=function(_0x5b2416,_0x3eaf76){if(_0x5b2416['body']['id']){delete _0x5b2416['body']['id'];}return db['AnalyticMetric'][_0x3e1e('0x3f')]({'where':{'id':_0x5b2416[_0x3e1e('0x3c')]['id']}})[_0x3e1e('0x1e')](handleEntityNotFound(_0x3eaf76,null))[_0x3e1e('0x1e')](saveUpdates(_0x5b2416[_0x3e1e('0x41')],null))[_0x3e1e('0x1e')](respondWithResult(_0x3eaf76,null))[_0x3e1e('0x3a')](handleError(_0x3eaf76,null));};exports['destroy']=function(_0x3f735a,_0x5f5587){return db[_0x3e1e('0x25')][_0x3e1e('0x3f')]({'where':{'id':_0x3f735a[_0x3e1e('0x3c')]['id']}})['then'](handleEntityNotFound(_0x5f5587,null))['then'](removeEntity(_0x5f5587,null))[_0x3e1e('0x3a')](handleError(_0x5f5587,null));}; \ No newline at end of file diff --git a/server/api/analyticMetric/analyticMetric.model.js b/server/api/analyticMetric/analyticMetric.model.js index 6317332..8e7f209 100644 --- a/server/api/analyticMetric/analyticMetric.model.js +++ b/server/api/analyticMetric/analyticMetric.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x5115=['moment','bluebird','request-promise','rimraf','../../config/environment','./analyticMetric.attributes','exports','AnalyticMetric','lodash','util','../../config/logger','api'];(function(_0x14add3,_0x13ce8d){var _0x4a174f=function(_0x2b3ed7){while(--_0x2b3ed7){_0x14add3['push'](_0x14add3['shift']());}};_0x4a174f(++_0x13ce8d);}(_0x5115,0x8c));var _0x5511=function(_0x3c1351,_0xc938db){_0x3c1351=_0x3c1351-0x0;var _0xda476a=_0x5115[_0x3c1351];return _0xda476a;};'use strict';var _=require(_0x5511('0x0'));var util=require(_0x5511('0x1'));var logger=require(_0x5511('0x2'))(_0x5511('0x3'));var moment=require(_0x5511('0x4'));var BPromise=require(_0x5511('0x5'));var rp=require(_0x5511('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0x5511('0x7'));var config=require(_0x5511('0x8'));var attributes=require(_0x5511('0x9'));module[_0x5511('0xa')]=function(_0x414c37,_0x4cfd9d){return _0x414c37['define'](_0x5511('0xb'),attributes,{'tableName':'analytics_metrics','paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0x8059=['AnalyticMetric','analytics_metrics','lodash','util','api','moment','bluebird','request-promise','path','../../config/environment','./analyticMetric.attributes','define'];(function(_0x22a812,_0xf900bb){var _0xab4945=function(_0x218249){while(--_0x218249){_0x22a812['push'](_0x22a812['shift']());}};_0xab4945(++_0xf900bb);}(_0x8059,0xf2));var _0x9805=function(_0x31991b,_0xaf75d2){_0x31991b=_0x31991b-0x0;var _0x307304=_0x8059[_0x31991b];return _0x307304;};'use strict';var _=require(_0x9805('0x0'));var util=require(_0x9805('0x1'));var logger=require('../../config/logger')(_0x9805('0x2'));var moment=require(_0x9805('0x3'));var BPromise=require(_0x9805('0x4'));var rp=require(_0x9805('0x5'));var fs=require('fs');var path=require(_0x9805('0x6'));var rimraf=require('rimraf');var config=require(_0x9805('0x7'));var attributes=require(_0x9805('0x8'));module['exports']=function(_0x260a3c,_0x1da742){return _0x260a3c[_0x9805('0x9')](_0x9805('0xa'),attributes,{'tableName':_0x9805('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/analyticMetric/analyticMetric.rpc.js b/server/api/analyticMetric/analyticMetric.rpc.js index 94fabb5..ba7b646 100644 --- a/server/api/analyticMetric/analyticMetric.rpc.js +++ b/server/api/analyticMetric/analyticMetric.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xf0ec=['result','catch','lodash','util','moment','bluebird','randomstring','ioredis','../../mysqldb','../../config/logger','../../config/environment','client','http','request','info','request\x20sent','AnalyticMetric,\x20%s,\x20%s,\x20%s','error','AnalyticMetric,\x20%s,\x20%s','message'];(function(_0x41cc3f,_0x2678a2){var _0x47ff58=function(_0x190d53){while(--_0x190d53){_0x41cc3f['push'](_0x41cc3f['shift']());}};_0x47ff58(++_0x2678a2);}(_0xf0ec,0x106));var _0xcf0e=function(_0x164760,_0x5874b0){_0x164760=_0x164760-0x0;var _0x8b91b2=_0xf0ec[_0x164760];return _0x8b91b2;};'use strict';var _=require(_0xcf0e('0x0'));var util=require(_0xcf0e('0x1'));var moment=require(_0xcf0e('0x2'));var BPromise=require(_0xcf0e('0x3'));var rs=require(_0xcf0e('0x4'));var fs=require('fs');var Redis=require(_0xcf0e('0x5'));var db=require(_0xcf0e('0x6'))['db'];var utils=require('../../config/utils');var logger=require(_0xcf0e('0x7'))('rpc');var config=require(_0xcf0e('0x8'));var jayson=require('jayson/promise');var client=jayson[_0xcf0e('0x9')][_0xcf0e('0xa')]({'port':0x232a});function respondWithRpcPromise(_0xf7853e,_0x12eace,_0x8dc8f0){return new BPromise(function(_0x1a850d,_0x1c5d41){return client[_0xcf0e('0xb')](_0xf7853e,_0x8dc8f0)['then'](function(_0x2f90fa){logger[_0xcf0e('0xc')]('AnalyticMetric,\x20%s,\x20%s',_0x12eace,_0xcf0e('0xd'));logger['debug'](_0xcf0e('0xe'),_0x12eace,_0xcf0e('0xd'),JSON['stringify'](_0x2f90fa));if(_0x2f90fa['error']){if(_0x2f90fa['error']['code']===0x1f4){logger[_0xcf0e('0xf')](_0xcf0e('0x10'),_0x12eace,_0x2f90fa[_0xcf0e('0xf')][_0xcf0e('0x11')]);return _0x1c5d41(_0x2f90fa[_0xcf0e('0xf')][_0xcf0e('0x11')]);}logger[_0xcf0e('0xf')](_0xcf0e('0x10'),_0x12eace,_0x2f90fa[_0xcf0e('0xf')]['message']);return _0x1a850d(_0x2f90fa[_0xcf0e('0xf')][_0xcf0e('0x11')]);}else{logger[_0xcf0e('0xc')](_0xcf0e('0x10'),_0x12eace,_0xcf0e('0xd'));_0x1a850d(_0x2f90fa[_0xcf0e('0x12')]['message']);}})[_0xcf0e('0x13')](function(_0x3e4fcd){logger['error'](_0xcf0e('0x10'),_0x12eace,_0x3e4fcd);_0x1c5d41(_0x3e4fcd);});});} \ No newline at end of file +var _0x2ce3=['AnalyticMetric,\x20%s,\x20%s','request\x20sent','debug','AnalyticMetric,\x20%s,\x20%s,\x20%s','error','message','catch','lodash','moment','randomstring','ioredis','../../config/logger','rpc','../../config/environment','jayson/promise','request','then','info'];(function(_0x339781,_0x4d5d3d){var _0x19d59b=function(_0x1f004e){while(--_0x1f004e){_0x339781['push'](_0x339781['shift']());}};_0x19d59b(++_0x4d5d3d);}(_0x2ce3,0xbb));var _0x32ce=function(_0x1a0cee,_0x358702){_0x1a0cee=_0x1a0cee-0x0;var _0x2a26a5=_0x2ce3[_0x1a0cee];return _0x2a26a5;};'use strict';var _=require(_0x32ce('0x0'));var util=require('util');var moment=require(_0x32ce('0x1'));var BPromise=require('bluebird');var rs=require(_0x32ce('0x2'));var fs=require('fs');var Redis=require(_0x32ce('0x3'));var db=require('../../mysqldb')['db'];var utils=require('../../config/utils');var logger=require(_0x32ce('0x4'))(_0x32ce('0x5'));var config=require(_0x32ce('0x6'));var jayson=require(_0x32ce('0x7'));var client=jayson['client']['http']({'port':0x232a});function respondWithRpcPromise(_0x498d69,_0x3196ca,_0x37f5ee){return new BPromise(function(_0x1c4fb9,_0x7ba4b){return client[_0x32ce('0x8')](_0x498d69,_0x37f5ee)[_0x32ce('0x9')](function(_0x33b6c4){logger[_0x32ce('0xa')](_0x32ce('0xb'),_0x3196ca,_0x32ce('0xc'));logger[_0x32ce('0xd')](_0x32ce('0xe'),_0x3196ca,_0x32ce('0xc'),JSON['stringify'](_0x33b6c4));if(_0x33b6c4[_0x32ce('0xf')]){if(_0x33b6c4[_0x32ce('0xf')]['code']===0x1f4){logger['error'](_0x32ce('0xb'),_0x3196ca,_0x33b6c4[_0x32ce('0xf')][_0x32ce('0x10')]);return _0x7ba4b(_0x33b6c4[_0x32ce('0xf')][_0x32ce('0x10')]);}logger[_0x32ce('0xf')](_0x32ce('0xb'),_0x3196ca,_0x33b6c4[_0x32ce('0xf')]['message']);return _0x1c4fb9(_0x33b6c4[_0x32ce('0xf')][_0x32ce('0x10')]);}else{logger[_0x32ce('0xa')](_0x32ce('0xb'),_0x3196ca,_0x32ce('0xc'));_0x1c4fb9(_0x33b6c4['result'][_0x32ce('0x10')]);}})[_0x32ce('0x11')](function(_0x283242){logger['error'](_0x32ce('0xb'),_0x3196ca,_0x283242);_0x7ba4b(_0x283242);});});} \ No newline at end of file diff --git a/server/api/analyticMetric/index.js b/server/api/analyticMetric/index.js index 9c4d867..ffcd722 100644 --- a/server/api/analyticMetric/index.js +++ b/server/api/analyticMetric/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x0295=['delete','exports','multer','connect-timeout','../../components/auth/service','../../components/interaction/service','../../config/environment','./analyticMetric.controller','get','isAuthenticated','index','/:id','put'];(function(_0x4dcc75,_0x82e80d){var _0xe3cb6=function(_0x3bd63c){while(--_0x3bd63c){_0x4dcc75['push'](_0x4dcc75['shift']());}};_0xe3cb6(++_0x82e80d);}(_0x0295,0x1f0));var _0x5029=function(_0x42546d,_0x4b060a){_0x42546d=_0x42546d-0x0;var _0x5cac5b=_0x0295[_0x42546d];return _0x5cac5b;};'use strict';var multer=require(_0x5029('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x5029('0x1'));var express=require('express');var router=express['Router']();var auth=require(_0x5029('0x2'));var interaction=require(_0x5029('0x3'));var config=require(_0x5029('0x4'));var controller=require(_0x5029('0x5'));router[_0x5029('0x6')]('/',auth[_0x5029('0x7')](),controller[_0x5029('0x8')]);router[_0x5029('0x6')](_0x5029('0x9'),auth['isAuthenticated'](),controller['show']);router['post']('/',auth[_0x5029('0x7')](),controller['create']);router[_0x5029('0xa')]('/:id',auth[_0x5029('0x7')](),controller['update']);router[_0x5029('0xb')](_0x5029('0x9'),auth[_0x5029('0x7')](),controller['destroy']);module[_0x5029('0xc')]=router; \ No newline at end of file +var _0xadb5=['destroy','exports','util','connect-timeout','express','Router','../../components/interaction/service','../../config/environment','./analyticMetric.controller','isAuthenticated','index','get','/:id','show','post','create','put','update','delete'];(function(_0x4a61ce,_0x2021a5){var _0x357d1f=function(_0x192343){while(--_0x192343){_0x4a61ce['push'](_0x4a61ce['shift']());}};_0x357d1f(++_0x2021a5);}(_0xadb5,0xad));var _0x5adb=function(_0x6ee8d6,_0x4b5302){_0x6ee8d6=_0x6ee8d6-0x0;var _0x4947b0=_0xadb5[_0x6ee8d6];return _0x4947b0;};'use strict';var multer=require('multer');var util=require(_0x5adb('0x0'));var path=require('path');var timeout=require(_0x5adb('0x1'));var express=require(_0x5adb('0x2'));var router=express[_0x5adb('0x3')]();var auth=require('../../components/auth/service');var interaction=require(_0x5adb('0x4'));var config=require(_0x5adb('0x5'));var controller=require(_0x5adb('0x6'));router['get']('/',auth[_0x5adb('0x7')](),controller[_0x5adb('0x8')]);router[_0x5adb('0x9')](_0x5adb('0xa'),auth[_0x5adb('0x7')](),controller[_0x5adb('0xb')]);router[_0x5adb('0xc')]('/',auth[_0x5adb('0x7')](),controller[_0x5adb('0xd')]);router[_0x5adb('0xe')](_0x5adb('0xa'),auth[_0x5adb('0x7')](),controller[_0x5adb('0xf')]);router[_0x5adb('0x10')]('/:id',auth['isAuthenticated'](),controller[_0x5adb('0x11')]);module[_0x5adb('0x12')]=router; \ No newline at end of file diff --git a/server/api/analyticTreeReport/analyticTreeReport.attributes.js b/server/api/analyticTreeReport/analyticTreeReport.attributes.js index ece9580..640ffac 100644 --- a/server/api/analyticTreeReport/analyticTreeReport.attributes.js +++ b/server/api/analyticTreeReport/analyticTreeReport.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xc0d5=['sequelize','TEXT'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0xc0d5,0x1b8));var _0x5c0d=function(_0x1084c3,_0x40cf22){_0x1084c3=_0x1084c3-0x0;var _0x12d054=_0xc0d5[_0x1084c3];return _0x12d054;};'use strict';var Sequelize=require(_0x5c0d('0x0'));module['exports']={'tree':{'type':Sequelize[_0x5c0d('0x1')],'allowNull':![]}}; \ No newline at end of file +var _0x58f8=['TEXT','sequelize','exports'];(function(_0x39d39d,_0x5586bd){var _0x577ac3=function(_0x12f9f2){while(--_0x12f9f2){_0x39d39d['push'](_0x39d39d['shift']());}};_0x577ac3(++_0x5586bd);}(_0x58f8,0x1e1));var _0x858f=function(_0x51b52c,_0x510f53){_0x51b52c=_0x51b52c-0x0;var _0x411804=_0x58f8[_0x51b52c];return _0x411804;};'use strict';var Sequelize=require(_0x858f('0x0'));module[_0x858f('0x1')]={'tree':{'type':Sequelize[_0x858f('0x2')],'allowNull':![]}}; \ No newline at end of file diff --git a/server/api/analyticTreeReport/analyticTreeReport.controller.js b/server/api/analyticTreeReport/analyticTreeReport.controller.js index 92e6462..bcc3e88 100644 --- a/server/api/analyticTreeReport/analyticTreeReport.controller.js +++ b/server/api/analyticTreeReport/analyticTreeReport.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x2df6=['filters','pick','filter','VIRTUAL','merge','count','includeAll','include','findAll','rows','catch','show','params','length','options','create','body','find','html-pdf','rimraf','zip-dir','fast-json-patch','request-promise','moment','util','to-csv','ejs','lodash','squel','crypto','querystring','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','end','status','offset','limit','set','json','save','then','destroy','sendStatus','error','stack','name','index','map','AnalyticTreeReport','rawAttributes','type','key','model','query','keys','intersection','attributes','fields','hasOwnProperty','order','sort','where'];(function(_0x55291a,_0x814018){var _0x3c870c=function(_0x1fd787){while(--_0x1fd787){_0x55291a['push'](_0x55291a['shift']());}};_0x3c870c(++_0x814018);}(_0x2df6,0x126));var _0x62df=function(_0x5d8c3a,_0x52c448){_0x5d8c3a=_0x5d8c3a-0x0;var _0x5fbe1b=_0x2df6[_0x5d8c3a];return _0x5fbe1b;};'use strict';var pdf=require(_0x62df('0x0'));var emlformat=require('eml-format');var rimraf=require(_0x62df('0x1'));var zipdir=require(_0x62df('0x2'));var jsonpatch=require(_0x62df('0x3'));var rp=require(_0x62df('0x4'));var moment=require(_0x62df('0x5'));var BPromise=require('bluebird');var Mustache=require('mustache');var util=require(_0x62df('0x6'));var path=require('path');var sox=require('sox');var csv=require(_0x62df('0x7'));var ejs=require(_0x62df('0x8'));var fs=require('fs');var _=require(_0x62df('0x9'));var squel=require(_0x62df('0xa'));var crypto=require(_0x62df('0xb'));var jsforce=require('jsforce');var deskjs=require('desk.js');var toCsv=require(_0x62df('0x7'));var querystring=require(_0x62df('0xc'));var Papa=require('papaparse');var Redis=require('ioredis');var authService=require(_0x62df('0xd'));var qs=require(_0x62df('0xe'));var as=require(_0x62df('0xf'));var hardwareService=require(_0x62df('0x10'));var logger=require(_0x62df('0x11'))(_0x62df('0x12'));var utils=require(_0x62df('0x13'));var config=require(_0x62df('0x14'));var db=require(_0x62df('0x15'))['db'];function respondWithStatusCode(_0x5371e0,_0x53f188){_0x53f188=_0x53f188||0xcc;return function(_0x2f3989){if(_0x2f3989){return _0x5371e0['sendStatus'](_0x53f188);}return _0x5371e0['status'](_0x53f188)[_0x62df('0x16')]();};}function respondWithResult(_0x22b247,_0x453cf6){_0x453cf6=_0x453cf6||0xc8;return function(_0x25c219){if(_0x25c219){return _0x22b247[_0x62df('0x17')](_0x453cf6)['json'](_0x25c219);}};}function respondWithFilteredResult(_0x402892,_0x7a3628){return function(_0x57c7b6){if(_0x57c7b6){var _0x32f7c1=_0x57c7b6['count'],_0x20a1ea=_0x7a3628[_0x62df('0x18')],_0x4df566=_0x7a3628[_0x62df('0x18')]+_0x7a3628[_0x62df('0x19')],_0x289f3c;if(_0x4df566>=_0x32f7c1){_0x4df566=_0x32f7c1;_0x289f3c=0xc8;}else{_0x289f3c=0xce;}_0x402892[_0x62df('0x17')](_0x289f3c);return _0x402892[_0x62df('0x1a')]('Content-Range',_0x20a1ea+'-'+_0x4df566+'/'+_0x32f7c1)[_0x62df('0x1b')](_0x57c7b6);}return null;};}function patchUpdates(_0x1bb1f7){return function(_0x4ef61f){try{jsonpatch['apply'](_0x4ef61f,_0x1bb1f7,!![]);}catch(_0x262f27){return BPromise['reject'](_0x262f27);}return _0x4ef61f[_0x62df('0x1c')]();};}function saveUpdates(_0x40c8e9,_0x2179c5){return function(_0x2a4676){if(_0x2a4676){return _0x2a4676['update'](_0x40c8e9)[_0x62df('0x1d')](function(_0x26750e){return _0x26750e;});}return null;};}function removeEntity(_0x2f38d7,_0x437a27){return function(_0x4f7451){if(_0x4f7451){return _0x4f7451[_0x62df('0x1e')]()[_0x62df('0x1d')](function(){_0x2f38d7[_0x62df('0x17')](0xcc)[_0x62df('0x16')]();});}};}function handleEntityNotFound(_0x3d92b7,_0x3ae747){return function(_0x20e8be){if(!_0x20e8be){_0x3d92b7[_0x62df('0x1f')](0x194);}return _0x20e8be;};}function handleError(_0x2fbeef,_0x5a464a){_0x5a464a=_0x5a464a||0x1f4;return function(_0x2b850c){logger[_0x62df('0x20')](_0x2b850c[_0x62df('0x21')]);if(_0x2b850c[_0x62df('0x22')]){delete _0x2b850c[_0x62df('0x22')];}_0x2fbeef['status'](_0x5a464a)['send'](_0x2b850c);};}exports[_0x62df('0x23')]=function(_0x3b5d4b,_0x46e8cb){var _0x49fff9={},_0x441964={},_0x587b61={'count':0x0,'rows':[]};var _0x369c08=_[_0x62df('0x24')](db[_0x62df('0x25')][_0x62df('0x26')],function(_0x5da6d8){return{'name':_0x5da6d8['fieldName'],'type':_0x5da6d8[_0x62df('0x27')][_0x62df('0x28')]};});_0x441964[_0x62df('0x29')]=_[_0x62df('0x24')](_0x369c08,'name');_0x441964[_0x62df('0x2a')]=_[_0x62df('0x2b')](_0x3b5d4b[_0x62df('0x2a')]);_0x441964['filters']=_[_0x62df('0x2c')](_0x441964['model'],_0x441964[_0x62df('0x2a')]);_0x49fff9[_0x62df('0x2d')]=_[_0x62df('0x2c')](_0x441964['model'],qs[_0x62df('0x2e')](_0x3b5d4b['query'][_0x62df('0x2e')]));_0x49fff9[_0x62df('0x2d')]=_0x49fff9[_0x62df('0x2d')]['length']?_0x49fff9[_0x62df('0x2d')]:_0x441964[_0x62df('0x29')];if(!_0x3b5d4b[_0x62df('0x2a')][_0x62df('0x2f')]('nolimit')){_0x49fff9[_0x62df('0x19')]=qs['limit'](_0x3b5d4b[_0x62df('0x2a')][_0x62df('0x19')]);_0x49fff9[_0x62df('0x18')]=qs['offset'](_0x3b5d4b['query']['offset']);}_0x49fff9[_0x62df('0x30')]=qs[_0x62df('0x31')](_0x3b5d4b[_0x62df('0x2a')][_0x62df('0x31')]);_0x49fff9[_0x62df('0x32')]=qs[_0x62df('0x33')](_[_0x62df('0x34')](_0x3b5d4b[_0x62df('0x2a')],_0x441964[_0x62df('0x33')]),_0x369c08);if(_0x3b5d4b[_0x62df('0x2a')][_0x62df('0x35')]){_0x49fff9['where']=_['merge'](_0x49fff9[_0x62df('0x32')],{'$or':_[_0x62df('0x24')](_0x369c08,function(_0x147094){if(_0x147094['type']!==_0x62df('0x36')){var _0xa4a8cd={};_0xa4a8cd[_0x147094[_0x62df('0x22')]]={'$like':'%'+_0x3b5d4b[_0x62df('0x2a')][_0x62df('0x35')]+'%'};return _0xa4a8cd;}})});}_0x49fff9=_[_0x62df('0x37')]({},_0x49fff9,_0x3b5d4b['options']);var _0x3b6575={'where':_0x49fff9[_0x62df('0x32')]};return db[_0x62df('0x25')]['count'](_0x3b6575)['then'](function(_0x240971){_0x587b61[_0x62df('0x38')]=_0x240971;if(_0x3b5d4b[_0x62df('0x2a')][_0x62df('0x39')]){_0x49fff9[_0x62df('0x3a')]=[{'all':!![]}];}return db[_0x62df('0x25')][_0x62df('0x3b')](_0x49fff9);})[_0x62df('0x1d')](function(_0x151531){_0x587b61[_0x62df('0x3c')]=_0x151531;return _0x587b61;})['then'](respondWithFilteredResult(_0x46e8cb,_0x49fff9))[_0x62df('0x3d')](handleError(_0x46e8cb,null));};exports[_0x62df('0x3e')]=function(_0x2fae6e,_0x32b28c){var _0x3d308b={'raw':!![],'where':{'id':_0x2fae6e[_0x62df('0x3f')]['id']}},_0xfb654f={};_0xfb654f[_0x62df('0x29')]=_[_0x62df('0x2b')](db[_0x62df('0x25')][_0x62df('0x26')]);_0xfb654f[_0x62df('0x2a')]=_[_0x62df('0x2b')](_0x2fae6e[_0x62df('0x2a')]);_0xfb654f[_0x62df('0x33')]=_['intersection'](_0xfb654f[_0x62df('0x29')],_0xfb654f[_0x62df('0x2a')]);_0x3d308b[_0x62df('0x2d')]=_[_0x62df('0x2c')](_0xfb654f[_0x62df('0x29')],qs['fields'](_0x2fae6e[_0x62df('0x2a')]['fields']));_0x3d308b[_0x62df('0x2d')]=_0x3d308b[_0x62df('0x2d')][_0x62df('0x40')]?_0x3d308b[_0x62df('0x2d')]:_0xfb654f[_0x62df('0x29')];if(_0x2fae6e[_0x62df('0x2a')][_0x62df('0x39')]){_0x3d308b[_0x62df('0x3a')]=[{'all':!![]}];}_0x3d308b=_[_0x62df('0x37')]({},_0x3d308b,_0x2fae6e[_0x62df('0x41')]);return db['AnalyticTreeReport']['find'](_0x3d308b)[_0x62df('0x1d')](handleEntityNotFound(_0x32b28c,null))[_0x62df('0x1d')](respondWithResult(_0x32b28c,null))[_0x62df('0x3d')](handleError(_0x32b28c,null));};exports['create']=function(_0x466fd4,_0x29b8c6){return db[_0x62df('0x25')][_0x62df('0x42')](_0x466fd4[_0x62df('0x43')],{})['then'](respondWithResult(_0x29b8c6,0xc9))[_0x62df('0x3d')](handleError(_0x29b8c6,null));};exports['update']=function(_0x2990ea,_0x1b600e){if(_0x2990ea[_0x62df('0x43')]['id']){delete _0x2990ea['body']['id'];}return db[_0x62df('0x25')][_0x62df('0x44')]({'where':{'id':_0x2990ea['params']['id']}})[_0x62df('0x1d')](handleEntityNotFound(_0x1b600e,null))[_0x62df('0x1d')](saveUpdates(_0x2990ea[_0x62df('0x43')],null))[_0x62df('0x1d')](respondWithResult(_0x1b600e,null))[_0x62df('0x3d')](handleError(_0x1b600e,null));};exports[_0x62df('0x1e')]=function(_0x46e735,_0x183290){return db[_0x62df('0x25')][_0x62df('0x44')]({'where':{'id':_0x46e735[_0x62df('0x3f')]['id']}})[_0x62df('0x1d')](handleEntityNotFound(_0x183290,null))['then'](removeEntity(_0x183290,null))['catch'](handleError(_0x183290,null));}; \ No newline at end of file +var _0x2715=['end','error','stack','name','send','map','rawAttributes','fieldName','type','key','model','keys','query','filters','intersection','attributes','fields','length','nolimit','order','sort','pick','filter','where','merge','VIRTUAL','options','AnalyticTreeReport','includeAll','include','findAll','show','params','find','create','body','catch','destroy','html-pdf','eml-format','zip-dir','fast-json-patch','request-promise','moment','mustache','util','path','sox','ejs','lodash','squel','crypto','jsforce','to-csv','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/environment','../../mysqldb','sendStatus','status','json','count','offset','limit','set','Content-Range','apply','save','update','then'];(function(_0x32f7d7,_0x54231b){var _0x133d09=function(_0x41a7ab){while(--_0x41a7ab){_0x32f7d7['push'](_0x32f7d7['shift']());}};_0x133d09(++_0x54231b);}(_0x2715,0x10d));var _0x5271=function(_0x594413,_0x437c52){_0x594413=_0x594413-0x0;var _0xb7ae32=_0x2715[_0x594413];return _0xb7ae32;};'use strict';var pdf=require(_0x5271('0x0'));var emlformat=require(_0x5271('0x1'));var rimraf=require('rimraf');var zipdir=require(_0x5271('0x2'));var jsonpatch=require(_0x5271('0x3'));var rp=require(_0x5271('0x4'));var moment=require(_0x5271('0x5'));var BPromise=require('bluebird');var Mustache=require(_0x5271('0x6'));var util=require(_0x5271('0x7'));var path=require(_0x5271('0x8'));var sox=require(_0x5271('0x9'));var csv=require('to-csv');var ejs=require(_0x5271('0xa'));var fs=require('fs');var _=require(_0x5271('0xb'));var squel=require(_0x5271('0xc'));var crypto=require(_0x5271('0xd'));var jsforce=require(_0x5271('0xe'));var deskjs=require('desk.js');var toCsv=require(_0x5271('0xf'));var querystring=require(_0x5271('0x10'));var Papa=require(_0x5271('0x11'));var Redis=require(_0x5271('0x12'));var authService=require(_0x5271('0x13'));var qs=require(_0x5271('0x14'));var as=require(_0x5271('0x15'));var hardwareService=require(_0x5271('0x16'));var logger=require(_0x5271('0x17'))(_0x5271('0x18'));var utils=require('../../config/utils');var config=require(_0x5271('0x19'));var db=require(_0x5271('0x1a'))['db'];function respondWithStatusCode(_0x1ebcd0,_0x340b02){_0x340b02=_0x340b02||0xcc;return function(_0x272407){if(_0x272407){return _0x1ebcd0[_0x5271('0x1b')](_0x340b02);}return _0x1ebcd0[_0x5271('0x1c')](_0x340b02)['end']();};}function respondWithResult(_0xfa716,_0x2a65f8){_0x2a65f8=_0x2a65f8||0xc8;return function(_0x405028){if(_0x405028){return _0xfa716['status'](_0x2a65f8)[_0x5271('0x1d')](_0x405028);}};}function respondWithFilteredResult(_0x36a3c6,_0x5058ae){return function(_0x3d95c4){if(_0x3d95c4){var _0x50cf1e=_0x3d95c4[_0x5271('0x1e')],_0x43356b=_0x5058ae[_0x5271('0x1f')],_0x4af7e0=_0x5058ae['offset']+_0x5058ae[_0x5271('0x20')],_0x186e24;if(_0x4af7e0>=_0x50cf1e){_0x4af7e0=_0x50cf1e;_0x186e24=0xc8;}else{_0x186e24=0xce;}_0x36a3c6[_0x5271('0x1c')](_0x186e24);return _0x36a3c6[_0x5271('0x21')](_0x5271('0x22'),_0x43356b+'-'+_0x4af7e0+'/'+_0x50cf1e)[_0x5271('0x1d')](_0x3d95c4);}return null;};}function patchUpdates(_0x22897b){return function(_0x1fffd4){try{jsonpatch[_0x5271('0x23')](_0x1fffd4,_0x22897b,!![]);}catch(_0x49cdac){return BPromise['reject'](_0x49cdac);}return _0x1fffd4[_0x5271('0x24')]();};}function saveUpdates(_0x2369df,_0x32af19){return function(_0x19ae58){if(_0x19ae58){return _0x19ae58[_0x5271('0x25')](_0x2369df)[_0x5271('0x26')](function(_0x58bfd4){return _0x58bfd4;});}return null;};}function removeEntity(_0x20b27a,_0xc71cc0){return function(_0x247e5b){if(_0x247e5b){return _0x247e5b['destroy']()[_0x5271('0x26')](function(){_0x20b27a[_0x5271('0x1c')](0xcc)[_0x5271('0x27')]();});}};}function handleEntityNotFound(_0x56d5a6,_0x5eb7be){return function(_0x3301e7){if(!_0x3301e7){_0x56d5a6[_0x5271('0x1b')](0x194);}return _0x3301e7;};}function handleError(_0x32f9e6,_0x472716){_0x472716=_0x472716||0x1f4;return function(_0x2cac93){logger[_0x5271('0x28')](_0x2cac93[_0x5271('0x29')]);if(_0x2cac93[_0x5271('0x2a')]){delete _0x2cac93['name'];}_0x32f9e6['status'](_0x472716)[_0x5271('0x2b')](_0x2cac93);};}exports['index']=function(_0x360082,_0x3c52fe){var _0x4aa248={},_0x1d78fb={},_0x23f7f2={'count':0x0,'rows':[]};var _0x379e43=_[_0x5271('0x2c')](db['AnalyticTreeReport'][_0x5271('0x2d')],function(_0x240907){return{'name':_0x240907[_0x5271('0x2e')],'type':_0x240907[_0x5271('0x2f')][_0x5271('0x30')]};});_0x1d78fb[_0x5271('0x31')]=_[_0x5271('0x2c')](_0x379e43,_0x5271('0x2a'));_0x1d78fb['query']=_[_0x5271('0x32')](_0x360082[_0x5271('0x33')]);_0x1d78fb[_0x5271('0x34')]=_[_0x5271('0x35')](_0x1d78fb[_0x5271('0x31')],_0x1d78fb[_0x5271('0x33')]);_0x4aa248[_0x5271('0x36')]=_['intersection'](_0x1d78fb[_0x5271('0x31')],qs[_0x5271('0x37')](_0x360082[_0x5271('0x33')][_0x5271('0x37')]));_0x4aa248[_0x5271('0x36')]=_0x4aa248['attributes'][_0x5271('0x38')]?_0x4aa248[_0x5271('0x36')]:_0x1d78fb[_0x5271('0x31')];if(!_0x360082[_0x5271('0x33')]['hasOwnProperty'](_0x5271('0x39'))){_0x4aa248[_0x5271('0x20')]=qs[_0x5271('0x20')](_0x360082[_0x5271('0x33')][_0x5271('0x20')]);_0x4aa248[_0x5271('0x1f')]=qs[_0x5271('0x1f')](_0x360082[_0x5271('0x33')][_0x5271('0x1f')]);}_0x4aa248[_0x5271('0x3a')]=qs['sort'](_0x360082['query'][_0x5271('0x3b')]);_0x4aa248['where']=qs['filters'](_[_0x5271('0x3c')](_0x360082[_0x5271('0x33')],_0x1d78fb[_0x5271('0x34')]),_0x379e43);if(_0x360082[_0x5271('0x33')][_0x5271('0x3d')]){_0x4aa248[_0x5271('0x3e')]=_[_0x5271('0x3f')](_0x4aa248[_0x5271('0x3e')],{'$or':_[_0x5271('0x2c')](_0x379e43,function(_0x1ebb43){if(_0x1ebb43[_0x5271('0x2f')]!==_0x5271('0x40')){var _0x1c09c0={};_0x1c09c0[_0x1ebb43[_0x5271('0x2a')]]={'$like':'%'+_0x360082[_0x5271('0x33')][_0x5271('0x3d')]+'%'};return _0x1c09c0;}})});}_0x4aa248=_[_0x5271('0x3f')]({},_0x4aa248,_0x360082[_0x5271('0x41')]);var _0x17c18f={'where':_0x4aa248[_0x5271('0x3e')]};return db[_0x5271('0x42')]['count'](_0x17c18f)['then'](function(_0x162aae){_0x23f7f2[_0x5271('0x1e')]=_0x162aae;if(_0x360082[_0x5271('0x33')][_0x5271('0x43')]){_0x4aa248[_0x5271('0x44')]=[{'all':!![]}];}return db[_0x5271('0x42')][_0x5271('0x45')](_0x4aa248);})['then'](function(_0x300151){_0x23f7f2['rows']=_0x300151;return _0x23f7f2;})[_0x5271('0x26')](respondWithFilteredResult(_0x3c52fe,_0x4aa248))['catch'](handleError(_0x3c52fe,null));};exports[_0x5271('0x46')]=function(_0x47749b,_0x5786fd){var _0x508092={'raw':!![],'where':{'id':_0x47749b[_0x5271('0x47')]['id']}},_0x54ba5b={};_0x54ba5b[_0x5271('0x31')]=_[_0x5271('0x32')](db['AnalyticTreeReport']['rawAttributes']);_0x54ba5b[_0x5271('0x33')]=_[_0x5271('0x32')](_0x47749b[_0x5271('0x33')]);_0x54ba5b[_0x5271('0x34')]=_[_0x5271('0x35')](_0x54ba5b['model'],_0x54ba5b['query']);_0x508092['attributes']=_[_0x5271('0x35')](_0x54ba5b[_0x5271('0x31')],qs[_0x5271('0x37')](_0x47749b[_0x5271('0x33')][_0x5271('0x37')]));_0x508092[_0x5271('0x36')]=_0x508092[_0x5271('0x36')][_0x5271('0x38')]?_0x508092[_0x5271('0x36')]:_0x54ba5b['model'];if(_0x47749b[_0x5271('0x33')][_0x5271('0x43')]){_0x508092[_0x5271('0x44')]=[{'all':!![]}];}_0x508092=_[_0x5271('0x3f')]({},_0x508092,_0x47749b[_0x5271('0x41')]);return db[_0x5271('0x42')][_0x5271('0x48')](_0x508092)[_0x5271('0x26')](handleEntityNotFound(_0x5786fd,null))['then'](respondWithResult(_0x5786fd,null))['catch'](handleError(_0x5786fd,null));};exports[_0x5271('0x49')]=function(_0x3ec3c8,_0x1eefea){return db['AnalyticTreeReport'][_0x5271('0x49')](_0x3ec3c8[_0x5271('0x4a')],{})['then'](respondWithResult(_0x1eefea,0xc9))[_0x5271('0x4b')](handleError(_0x1eefea,null));};exports[_0x5271('0x25')]=function(_0x4ac7d2,_0x38c6c0){if(_0x4ac7d2[_0x5271('0x4a')]['id']){delete _0x4ac7d2[_0x5271('0x4a')]['id'];}return db[_0x5271('0x42')][_0x5271('0x48')]({'where':{'id':_0x4ac7d2['params']['id']}})[_0x5271('0x26')](handleEntityNotFound(_0x38c6c0,null))[_0x5271('0x26')](saveUpdates(_0x4ac7d2[_0x5271('0x4a')],null))[_0x5271('0x26')](respondWithResult(_0x38c6c0,null))[_0x5271('0x4b')](handleError(_0x38c6c0,null));};exports[_0x5271('0x4c')]=function(_0x55cabc,_0x55c130){return db[_0x5271('0x42')]['find']({'where':{'id':_0x55cabc[_0x5271('0x47')]['id']}})[_0x5271('0x26')](handleEntityNotFound(_0x55c130,null))[_0x5271('0x26')](removeEntity(_0x55c130,null))[_0x5271('0x4b')](handleError(_0x55c130,null));}; \ No newline at end of file diff --git a/server/api/analyticTreeReport/analyticTreeReport.model.js b/server/api/analyticTreeReport/analyticTreeReport.model.js index 25c1793..44cb906 100644 --- a/server/api/analyticTreeReport/analyticTreeReport.model.js +++ b/server/api/analyticTreeReport/analyticTreeReport.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xbe51=['define','AnalyticTreeReport','lodash','util','api','bluebird','request-promise','path','rimraf','../../config/environment','./analyticTreeReport.attributes','exports'];(function(_0x324fdd,_0x388518){var _0x5af8b9=function(_0x3c5ef3){while(--_0x3c5ef3){_0x324fdd['push'](_0x324fdd['shift']());}};_0x5af8b9(++_0x388518);}(_0xbe51,0x1e2));var _0x1be5=function(_0x50647b,_0x5f2638){_0x50647b=_0x50647b-0x0;var _0x2668aa=_0xbe51[_0x50647b];return _0x2668aa;};'use strict';var _=require(_0x1be5('0x0'));var util=require(_0x1be5('0x1'));var logger=require('../../config/logger')(_0x1be5('0x2'));var moment=require('moment');var BPromise=require(_0x1be5('0x3'));var rp=require(_0x1be5('0x4'));var fs=require('fs');var path=require(_0x1be5('0x5'));var rimraf=require(_0x1be5('0x6'));var config=require(_0x1be5('0x7'));var attributes=require(_0x1be5('0x8'));module[_0x1be5('0x9')]=function(_0x372836,_0x288927){return _0x372836[_0x1be5('0xa')](_0x1be5('0xb'),attributes,{'tableName':'analytics_report_trees','paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0x96d8=['rimraf','../../config/environment','./analyticTreeReport.attributes','exports','AnalyticTreeReport','analytics_report_trees','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path'];(function(_0x346047,_0x4b6669){var _0x536fed=function(_0x2a0a97){while(--_0x2a0a97){_0x346047['push'](_0x346047['shift']());}};_0x536fed(++_0x4b6669);}(_0x96d8,0x1e2));var _0x896d=function(_0xe7656c,_0x29c30e){_0xe7656c=_0xe7656c-0x0;var _0x11a1b6=_0x96d8[_0xe7656c];return _0x11a1b6;};'use strict';var _=require(_0x896d('0x0'));var util=require(_0x896d('0x1'));var logger=require(_0x896d('0x2'))(_0x896d('0x3'));var moment=require(_0x896d('0x4'));var BPromise=require(_0x896d('0x5'));var rp=require(_0x896d('0x6'));var fs=require('fs');var path=require(_0x896d('0x7'));var rimraf=require(_0x896d('0x8'));var config=require(_0x896d('0x9'));var attributes=require(_0x896d('0xa'));module[_0x896d('0xb')]=function(_0x14dbfa,_0x32d0a0){return _0x14dbfa['define'](_0x896d('0xc'),attributes,{'tableName':_0x896d('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/analyticTreeReport/analyticTreeReport.rpc.js b/server/api/analyticTreeReport/analyticTreeReport.rpc.js index e142928..629f088 100644 --- a/server/api/analyticTreeReport/analyticTreeReport.rpc.js +++ b/server/api/analyticTreeReport/analyticTreeReport.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x0bd8=['http','then','info','AnalyticTreeReport,\x20%s,\x20%s','debug','AnalyticTreeReport,\x20%s,\x20%s,\x20%s','error','message','catch','lodash','util','randomstring','ioredis','../../config/logger','rpc','../../config/environment','jayson/promise','client'];(function(_0x422ac3,_0x48bbd4){var _0x53c0d4=function(_0x4b50f6){while(--_0x4b50f6){_0x422ac3['push'](_0x422ac3['shift']());}};_0x53c0d4(++_0x48bbd4);}(_0x0bd8,0x171));var _0x80bd=function(_0x445024,_0x36dca6){_0x445024=_0x445024-0x0;var _0x5ab19a=_0x0bd8[_0x445024];return _0x5ab19a;};'use strict';var _=require(_0x80bd('0x0'));var util=require(_0x80bd('0x1'));var moment=require('moment');var BPromise=require('bluebird');var rs=require(_0x80bd('0x2'));var fs=require('fs');var Redis=require(_0x80bd('0x3'));var db=require('../../mysqldb')['db'];var utils=require('../../config/utils');var logger=require(_0x80bd('0x4'))(_0x80bd('0x5'));var config=require(_0x80bd('0x6'));var jayson=require(_0x80bd('0x7'));var client=jayson[_0x80bd('0x8')][_0x80bd('0x9')]({'port':0x232a});function respondWithRpcPromise(_0x25a884,_0x449ec5,_0x1082da){return new BPromise(function(_0x594f9d,_0x5ae708){return client['request'](_0x25a884,_0x1082da)[_0x80bd('0xa')](function(_0x541fc7){logger[_0x80bd('0xb')](_0x80bd('0xc'),_0x449ec5,'request\x20sent');logger[_0x80bd('0xd')](_0x80bd('0xe'),_0x449ec5,'request\x20sent',JSON['stringify'](_0x541fc7));if(_0x541fc7['error']){if(_0x541fc7['error']['code']===0x1f4){logger[_0x80bd('0xf')](_0x80bd('0xc'),_0x449ec5,_0x541fc7[_0x80bd('0xf')][_0x80bd('0x10')]);return _0x5ae708(_0x541fc7[_0x80bd('0xf')][_0x80bd('0x10')]);}logger['error'](_0x80bd('0xc'),_0x449ec5,_0x541fc7[_0x80bd('0xf')][_0x80bd('0x10')]);return _0x594f9d(_0x541fc7[_0x80bd('0xf')]['message']);}else{logger['info'](_0x80bd('0xc'),_0x449ec5,'request\x20sent');_0x594f9d(_0x541fc7['result'][_0x80bd('0x10')]);}})[_0x80bd('0x11')](function(_0x31d39f){logger[_0x80bd('0xf')]('AnalyticTreeReport,\x20%s,\x20%s',_0x449ec5,_0x31d39f);_0x5ae708(_0x31d39f);});});} \ No newline at end of file +var _0x3b17=['randomstring','../../mysqldb','../../config/utils','../../config/logger','../../config/environment','jayson/promise','client','request','then','info','AnalyticTreeReport,\x20%s,\x20%s','request\x20sent','debug','AnalyticTreeReport,\x20%s,\x20%s,\x20%s','stringify','error','message','result','catch','lodash','util','moment','bluebird'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x3b17,0xe2));var _0x73b1=function(_0x3b620d,_0x467a1e){_0x3b620d=_0x3b620d-0x0;var _0xabe614=_0x3b17[_0x3b620d];return _0xabe614;};'use strict';var _=require(_0x73b1('0x0'));var util=require(_0x73b1('0x1'));var moment=require(_0x73b1('0x2'));var BPromise=require(_0x73b1('0x3'));var rs=require(_0x73b1('0x4'));var fs=require('fs');var Redis=require('ioredis');var db=require(_0x73b1('0x5'))['db'];var utils=require(_0x73b1('0x6'));var logger=require(_0x73b1('0x7'))('rpc');var config=require(_0x73b1('0x8'));var jayson=require(_0x73b1('0x9'));var client=jayson[_0x73b1('0xa')]['http']({'port':0x232a});function respondWithRpcPromise(_0x1d5437,_0x5a0615,_0x1a259c){return new BPromise(function(_0x46b55a,_0xf77b46){return client[_0x73b1('0xb')](_0x1d5437,_0x1a259c)[_0x73b1('0xc')](function(_0x129a9f){logger[_0x73b1('0xd')](_0x73b1('0xe'),_0x5a0615,_0x73b1('0xf'));logger[_0x73b1('0x10')](_0x73b1('0x11'),_0x5a0615,_0x73b1('0xf'),JSON[_0x73b1('0x12')](_0x129a9f));if(_0x129a9f[_0x73b1('0x13')]){if(_0x129a9f['error']['code']===0x1f4){logger['error'](_0x73b1('0xe'),_0x5a0615,_0x129a9f[_0x73b1('0x13')][_0x73b1('0x14')]);return _0xf77b46(_0x129a9f['error'][_0x73b1('0x14')]);}logger['error'](_0x73b1('0xe'),_0x5a0615,_0x129a9f[_0x73b1('0x13')][_0x73b1('0x14')]);return _0x46b55a(_0x129a9f[_0x73b1('0x13')][_0x73b1('0x14')]);}else{logger[_0x73b1('0xd')]('AnalyticTreeReport,\x20%s,\x20%s',_0x5a0615,_0x73b1('0xf'));_0x46b55a(_0x129a9f[_0x73b1('0x15')][_0x73b1('0x14')]);}})[_0x73b1('0x16')](function(_0x4127a2){logger[_0x73b1('0x13')](_0x73b1('0xe'),_0x5a0615,_0x4127a2);_0xf77b46(_0x4127a2);});});} \ No newline at end of file diff --git a/server/api/analyticTreeReport/index.js b/server/api/analyticTreeReport/index.js index bb69581..a897b80 100644 --- a/server/api/analyticTreeReport/index.js +++ b/server/api/analyticTreeReport/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xf8d7=['put','update','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../config/environment','./analyticTreeReport.controller','isAuthenticated','index','/:id','show'];(function(_0x30d4d0,_0x1ffb1c){var _0x467ac3=function(_0x357b1d){while(--_0x357b1d){_0x30d4d0['push'](_0x30d4d0['shift']());}};_0x467ac3(++_0x1ffb1c);}(_0xf8d7,0x193));var _0x7f8d=function(_0x577519,_0x346daf){_0x577519=_0x577519-0x0;var _0x5b12f7=_0xf8d7[_0x577519];return _0x5b12f7;};'use strict';var multer=require(_0x7f8d('0x0'));var util=require(_0x7f8d('0x1'));var path=require(_0x7f8d('0x2'));var timeout=require(_0x7f8d('0x3'));var express=require(_0x7f8d('0x4'));var router=express[_0x7f8d('0x5')]();var auth=require(_0x7f8d('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x7f8d('0x7'));var controller=require(_0x7f8d('0x8'));router['get']('/',auth[_0x7f8d('0x9')](),controller[_0x7f8d('0xa')]);router['get'](_0x7f8d('0xb'),auth[_0x7f8d('0x9')](),controller[_0x7f8d('0xc')]);router['post']('/',auth[_0x7f8d('0x9')](),controller['create']);router[_0x7f8d('0xd')](_0x7f8d('0xb'),auth['isAuthenticated'](),controller[_0x7f8d('0xe')]);router['delete'](_0x7f8d('0xb'),auth[_0x7f8d('0x9')](),controller['destroy']);module[_0x7f8d('0xf')]=router; \ No newline at end of file +var _0x4600=['./analyticTreeReport.controller','get','isAuthenticated','/:id','show','post','create','put','delete','destroy','exports','multer','util','connect-timeout','express','Router','../../components/auth/service','../../config/environment'];(function(_0x3d8a88,_0x123071){var _0x58e7e3=function(_0x2f9ae9){while(--_0x2f9ae9){_0x3d8a88['push'](_0x3d8a88['shift']());}};_0x58e7e3(++_0x123071);}(_0x4600,0x161));var _0x0460=function(_0x5f1d74,_0x33e095){_0x5f1d74=_0x5f1d74-0x0;var _0xab75f5=_0x4600[_0x5f1d74];return _0xab75f5;};'use strict';var multer=require(_0x0460('0x0'));var util=require(_0x0460('0x1'));var path=require('path');var timeout=require(_0x0460('0x2'));var express=require(_0x0460('0x3'));var router=express[_0x0460('0x4')]();var auth=require(_0x0460('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x0460('0x6'));var controller=require(_0x0460('0x7'));router[_0x0460('0x8')]('/',auth[_0x0460('0x9')](),controller['index']);router[_0x0460('0x8')](_0x0460('0xa'),auth[_0x0460('0x9')](),controller[_0x0460('0xb')]);router[_0x0460('0xc')]('/',auth[_0x0460('0x9')](),controller[_0x0460('0xd')]);router[_0x0460('0xe')](_0x0460('0xa'),auth[_0x0460('0x9')](),controller['update']);router[_0x0460('0xf')]('/:id',auth[_0x0460('0x9')](),controller[_0x0460('0x10')]);module[_0x0460('0x11')]=router; \ No newline at end of file diff --git a/server/api/attachment/attachment.attributes.js b/server/api/attachment/attachment.attributes.js index 2cb032f..efecafe 100644 --- a/server/api/attachment/attachment.attributes.js +++ b/server/api/attachment/attachment.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xe5eb=['exports','STRING','sequelize'];(function(_0x13b8f3,_0x442821){var _0x1a6d06=function(_0x5126f2){while(--_0x5126f2){_0x13b8f3['push'](_0x13b8f3['shift']());}};_0x1a6d06(++_0x442821);}(_0xe5eb,0x137));var _0xbe5e=function(_0x4d50ba,_0x23608a){_0x4d50ba=_0x4d50ba-0x0;var _0xdde663=_0xe5eb[_0x4d50ba];return _0xdde663;};'use strict';var Sequelize=require(_0xbe5e('0x0'));module[_0xbe5e('0x1')]={'name':{'type':Sequelize[_0xbe5e('0x2')]},'basename':{'type':Sequelize['STRING']},'type':{'type':Sequelize['STRING']}}; \ No newline at end of file +var _0xbca0=['STRING','sequelize','exports'];(function(_0x4de2e3,_0x7c3e2a){var _0x5df1c7=function(_0x2d2d8d){while(--_0x2d2d8d){_0x4de2e3['push'](_0x4de2e3['shift']());}};_0x5df1c7(++_0x7c3e2a);}(_0xbca0,0x13f));var _0x0bca=function(_0x570268,_0x3838b0){_0x570268=_0x570268-0x0;var _0x3eb794=_0xbca0[_0x570268];return _0x3eb794;};'use strict';var Sequelize=require(_0x0bca('0x0'));module[_0x0bca('0x1')]={'name':{'type':Sequelize[_0x0bca('0x2')]},'basename':{'type':Sequelize['STRING']},'type':{'type':Sequelize[_0x0bca('0x2')]}}; \ No newline at end of file diff --git a/server/api/attachment/attachment.controller.js b/server/api/attachment/attachment.controller.js index a081409..5a55cde 100644 --- a/server/api/attachment/attachment.controller.js +++ b/server/api/attachment/attachment.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x99fd=['json','offset','limit','reject','save','update','then','destroy','sendStatus','error','stack','name','index','Attachment','rawAttributes','fieldName','type','key','model','query','keys','attributes','fields','length','hasOwnProperty','nolimit','sort','where','filters','pick','filter','map','VIRTUAL','merge','count','rows','show','params','intersection','include','options','catch','clone','includeAll','find','createdAt','updatedAt','body','file','originalname','mimetype','download','join','basename','html-pdf','eml-format','rimraf','zip-dir','moment','bluebird','mustache','path','sox','squel','crypto','jsforce','desk.js','to-csv','querystring','ioredis','../../components/auth/service','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','end','status'];(function(_0x1e202f,_0x1486b6){var _0x472161=function(_0x25f1b1){while(--_0x25f1b1){_0x1e202f['push'](_0x1e202f['shift']());}};_0x472161(++_0x1486b6);}(_0x99fd,0x126));var _0xd99f=function(_0x5b8e58,_0x4a5a28){_0x5b8e58=_0x5b8e58-0x0;var _0x2dc573=_0x99fd[_0x5b8e58];return _0x2dc573;};'use strict';var pdf=require(_0xd99f('0x0'));var emlformat=require(_0xd99f('0x1'));var rimraf=require(_0xd99f('0x2'));var zipdir=require(_0xd99f('0x3'));var jsonpatch=require('fast-json-patch');var rp=require('request-promise');var moment=require(_0xd99f('0x4'));var BPromise=require(_0xd99f('0x5'));var Mustache=require(_0xd99f('0x6'));var util=require('util');var path=require(_0xd99f('0x7'));var sox=require(_0xd99f('0x8'));var csv=require('to-csv');var ejs=require('ejs');var fs=require('fs');var _=require('lodash');var squel=require(_0xd99f('0x9'));var crypto=require(_0xd99f('0xa'));var jsforce=require(_0xd99f('0xb'));var deskjs=require(_0xd99f('0xc'));var toCsv=require(_0xd99f('0xd'));var querystring=require(_0xd99f('0xe'));var Papa=require('papaparse');var Redis=require(_0xd99f('0xf'));var authService=require(_0xd99f('0x10'));var qs=require('../../components/parsers/qs');var as=require(_0xd99f('0x11'));var hardwareService=require(_0xd99f('0x12'));var logger=require(_0xd99f('0x13'))(_0xd99f('0x14'));var utils=require(_0xd99f('0x15'));var config=require(_0xd99f('0x16'));var db=require(_0xd99f('0x17'))['db'];function respondWithStatusCode(_0x5f43e0,_0x157d49){_0x157d49=_0x157d49||0xcc;return function(_0x27e6ca){if(_0x27e6ca){return _0x5f43e0['sendStatus'](_0x157d49);}return _0x5f43e0['status'](_0x157d49)[_0xd99f('0x18')]();};}function respondWithResult(_0x301744,_0x5b9955){_0x5b9955=_0x5b9955||0xc8;return function(_0x4961fb){if(_0x4961fb){return _0x301744[_0xd99f('0x19')](_0x5b9955)[_0xd99f('0x1a')](_0x4961fb);}};}function respondWithFilteredResult(_0xd523f0,_0x31a8ce){return function(_0x48fd9c){if(_0x48fd9c){var _0x19753a=_0x48fd9c['count'],_0xcdd222=_0x31a8ce[_0xd99f('0x1b')],_0xe04bd1=_0x31a8ce[_0xd99f('0x1b')]+_0x31a8ce[_0xd99f('0x1c')],_0x38fca6;if(_0xe04bd1>=_0x19753a){_0xe04bd1=_0x19753a;_0x38fca6=0xc8;}else{_0x38fca6=0xce;}_0xd523f0[_0xd99f('0x19')](_0x38fca6);return _0xd523f0['set']('Content-Range',_0xcdd222+'-'+_0xe04bd1+'/'+_0x19753a)['json'](_0x48fd9c);}return null;};}function patchUpdates(_0x1d8eee){return function(_0x4f1fe6){try{jsonpatch['apply'](_0x4f1fe6,_0x1d8eee,!![]);}catch(_0x4880f3){return BPromise[_0xd99f('0x1d')](_0x4880f3);}return _0x4f1fe6[_0xd99f('0x1e')]();};}function saveUpdates(_0x509b3a,_0x5aa18b){return function(_0x4c9305){if(_0x4c9305){return _0x4c9305[_0xd99f('0x1f')](_0x509b3a)[_0xd99f('0x20')](function(_0x2da12d){return _0x2da12d;});}return null;};}function removeEntity(_0x545d67,_0x563617){return function(_0x15ba86){if(_0x15ba86){return _0x15ba86[_0xd99f('0x21')]()['then'](function(){_0x545d67[_0xd99f('0x19')](0xcc)[_0xd99f('0x18')]();});}};}function handleEntityNotFound(_0x305765,_0x4571be){return function(_0x4a9fb0){if(!_0x4a9fb0){_0x305765[_0xd99f('0x22')](0x194);}return _0x4a9fb0;};}function handleError(_0x42797a,_0x6a25f4){_0x6a25f4=_0x6a25f4||0x1f4;return function(_0x151209){logger[_0xd99f('0x23')](_0x151209[_0xd99f('0x24')]);if(_0x151209[_0xd99f('0x25')]){delete _0x151209[_0xd99f('0x25')];}_0x42797a[_0xd99f('0x19')](_0x6a25f4)['send'](_0x151209);};}exports[_0xd99f('0x26')]=function(_0x30983b,_0x37cf1c){var _0xb5128c={},_0x49aa23={},_0x2bbfc8={'count':0x0,'rows':[]};var _0x19cb8a=_['map'](db[_0xd99f('0x27')][_0xd99f('0x28')],function(_0x39b6ae){return{'name':_0x39b6ae[_0xd99f('0x29')],'type':_0x39b6ae[_0xd99f('0x2a')][_0xd99f('0x2b')]};});_0x49aa23[_0xd99f('0x2c')]=_['map'](_0x19cb8a,_0xd99f('0x25'));_0x49aa23[_0xd99f('0x2d')]=_[_0xd99f('0x2e')](_0x30983b[_0xd99f('0x2d')]);_0x49aa23['filters']=_['intersection'](_0x49aa23[_0xd99f('0x2c')],_0x49aa23['query']);_0xb5128c[_0xd99f('0x2f')]=_['intersection'](_0x49aa23[_0xd99f('0x2c')],qs[_0xd99f('0x30')](_0x30983b[_0xd99f('0x2d')][_0xd99f('0x30')]));_0xb5128c['attributes']=_0xb5128c[_0xd99f('0x2f')][_0xd99f('0x31')]?_0xb5128c[_0xd99f('0x2f')]:_0x49aa23['model'];if(!_0x30983b['query'][_0xd99f('0x32')](_0xd99f('0x33'))){_0xb5128c[_0xd99f('0x1c')]=qs[_0xd99f('0x1c')](_0x30983b['query']['limit']);_0xb5128c[_0xd99f('0x1b')]=qs[_0xd99f('0x1b')](_0x30983b[_0xd99f('0x2d')][_0xd99f('0x1b')]);}_0xb5128c['order']=qs[_0xd99f('0x34')](_0x30983b[_0xd99f('0x2d')][_0xd99f('0x34')]);_0xb5128c[_0xd99f('0x35')]=qs[_0xd99f('0x36')](_[_0xd99f('0x37')](_0x30983b[_0xd99f('0x2d')],_0x49aa23[_0xd99f('0x36')]),_0x19cb8a);if(_0x30983b[_0xd99f('0x2d')][_0xd99f('0x38')]){_0xb5128c[_0xd99f('0x35')]=_['merge'](_0xb5128c[_0xd99f('0x35')],{'$or':_[_0xd99f('0x39')](_0x19cb8a,function(_0x2b67f3){if(_0x2b67f3[_0xd99f('0x2a')]!==_0xd99f('0x3a')){var _0x2ffa85={};_0x2ffa85[_0x2b67f3['name']]={'$like':'%'+_0x30983b[_0xd99f('0x2d')][_0xd99f('0x38')]+'%'};return _0x2ffa85;}})});}_0xb5128c=_[_0xd99f('0x3b')]({},_0xb5128c,_0x30983b['options']);var _0x22de01={'where':_0xb5128c[_0xd99f('0x35')]};return db[_0xd99f('0x27')][_0xd99f('0x3c')](_0x22de01)[_0xd99f('0x20')](function(_0x124020){_0x2bbfc8[_0xd99f('0x3c')]=_0x124020;if(_0x30983b['query']['includeAll']){_0xb5128c['include']=[{'all':!![]}];}return db['Attachment']['findAll'](_0xb5128c);})['then'](function(_0x316905){_0x2bbfc8[_0xd99f('0x3d')]=_0x316905;return _0x2bbfc8;})[_0xd99f('0x20')](respondWithFilteredResult(_0x37cf1c,_0xb5128c))['catch'](handleError(_0x37cf1c,null));};exports[_0xd99f('0x3e')]=function(_0x437afe,_0x4b4195){var _0x7383a9={'raw':!![],'where':{'id':_0x437afe[_0xd99f('0x3f')]['id']}},_0x2275ca={};_0x2275ca['model']=_[_0xd99f('0x2e')](db['Attachment'][_0xd99f('0x28')]);_0x2275ca[_0xd99f('0x2d')]=_[_0xd99f('0x2e')](_0x437afe[_0xd99f('0x2d')]);_0x2275ca[_0xd99f('0x36')]=_[_0xd99f('0x40')](_0x2275ca[_0xd99f('0x2c')],_0x2275ca[_0xd99f('0x2d')]);_0x7383a9['attributes']=_['intersection'](_0x2275ca[_0xd99f('0x2c')],qs[_0xd99f('0x30')](_0x437afe[_0xd99f('0x2d')]['fields']));_0x7383a9[_0xd99f('0x2f')]=_0x7383a9[_0xd99f('0x2f')][_0xd99f('0x31')]?_0x7383a9[_0xd99f('0x2f')]:_0x2275ca[_0xd99f('0x2c')];if(_0x437afe['query']['includeAll']){_0x7383a9[_0xd99f('0x41')]=[{'all':!![]}];}_0x7383a9=_[_0xd99f('0x3b')]({},_0x7383a9,_0x437afe[_0xd99f('0x42')]);return db['Attachment']['find'](_0x7383a9)[_0xd99f('0x20')](handleEntityNotFound(_0x4b4195,null))[_0xd99f('0x20')](respondWithResult(_0x4b4195,null))[_0xd99f('0x43')](handleError(_0x4b4195,null));};exports[_0xd99f('0x44')]=function(_0x408819,_0x410f2c){var _0x17deba={'where':{'id':_0x408819[_0xd99f('0x3f')]['id']}},_0x280223={};_0x280223[_0xd99f('0x2c')]=_[_0xd99f('0x2e')](db['Attachment'][_0xd99f('0x28')]);_0x17deba[_0xd99f('0x2f')]=_[_0xd99f('0x40')](_0x280223[_0xd99f('0x2c')],qs['fields'](_0x408819[_0xd99f('0x2d')][_0xd99f('0x30')]));_0x17deba[_0xd99f('0x2f')]=_0x17deba['attributes'][_0xd99f('0x31')]?_0x17deba[_0xd99f('0x2f')]:_0x280223['model'];if(_0x408819[_0xd99f('0x2d')][_0xd99f('0x45')]){_0x17deba[_0xd99f('0x41')]=[{'all':!![]}];}_0x17deba=_[_0xd99f('0x3b')]({},_0x17deba,_0x408819[_0xd99f('0x42')]);return db['Attachment'][_0xd99f('0x46')](_0x17deba)[_0xd99f('0x20')](handleEntityNotFound(_0x410f2c,null))[_0xd99f('0x20')](function(_0x48c42a){if(_0x48c42a){var _0x23bb7d=_0x48c42a['get']({'plain':!![]});_0x23bb7d=qs['omit'](_0x23bb7d,['id',_0xd99f('0x47'),_0xd99f('0x48')]);_0x408819[_0xd99f('0x49')]=_['omit'](_0x408819[_0xd99f('0x49')],['id',_0xd99f('0x47'),'updatedAt']);return db[_0xd99f('0x27')]['create'](_[_0xd99f('0x3b')](_0x23bb7d,_0x408819[_0xd99f('0x49')]),{'include':_0x408819['query'][_0xd99f('0x45')]?[{'all':!![]}]:undefined});}})[_0xd99f('0x20')](respondWithResult(_0x410f2c,0xc9))['catch'](handleError(_0x410f2c,null));};exports[_0xd99f('0x1f')]=function(_0x56caab,_0x588574){if(_0x56caab[_0xd99f('0x49')]['id']){delete _0x56caab['body']['id'];}return db[_0xd99f('0x27')][_0xd99f('0x46')]({'where':{'id':_0x56caab['params']['id']}})[_0xd99f('0x20')](handleEntityNotFound(_0x588574,null))['then'](saveUpdates(_0x56caab[_0xd99f('0x49')],null))[_0xd99f('0x20')](respondWithResult(_0x588574,null))[_0xd99f('0x43')](handleError(_0x588574,null));};exports[_0xd99f('0x21')]=function(_0x21ea1f,_0x13cc08){return db[_0xd99f('0x27')][_0xd99f('0x46')]({'where':{'id':_0x21ea1f['params']['id']}})[_0xd99f('0x20')](handleEntityNotFound(_0x13cc08,null))[_0xd99f('0x20')](removeEntity(_0x13cc08,null))[_0xd99f('0x43')](handleError(_0x13cc08,null));};exports['create']=function(_0x38b9c6,_0x103cc2,_0x478d1e){_0x38b9c6[_0xd99f('0x49')][_0xd99f('0x25')]=_0x38b9c6[_0xd99f('0x4a')][_0xd99f('0x4b')];_0x38b9c6['body']['basename']=_0x38b9c6[_0xd99f('0x4a')]['filename'];_0x38b9c6[_0xd99f('0x49')]['type']=_0x38b9c6[_0xd99f('0x4a')][_0xd99f('0x4c')];return db[_0xd99f('0x27')]['create'](_0x38b9c6[_0xd99f('0x49')])[_0xd99f('0x20')](respondWithResult(_0x103cc2,0xc9))[_0xd99f('0x43')](handleError(_0x103cc2,null));};exports['download']=function(_0x5f34e6,_0x4c8a9e,_0x44d3c3){return db[_0xd99f('0x27')]['findOne']({'where':{'id':_0x5f34e6[_0xd99f('0x3f')]['id']},'raw':!![]})[_0xd99f('0x20')](handleEntityNotFound(_0x4c8a9e,null))['then'](function(_0xc60dc9){if(_0xc60dc9){return _0x4c8a9e[_0xd99f('0x4d')](path[_0xd99f('0x4e')](config['root'],'server/files/attachments/',_0xc60dc9[_0xd99f('0x4f')]));}})['catch'](handleError(_0x4c8a9e,null));}; \ No newline at end of file +var _0x60b8=['reject','save','update','then','destroy','error','name','index','map','Attachment','rawAttributes','fieldName','type','query','keys','filters','intersection','model','attributes','length','nolimit','order','sort','where','pick','filter','merge','VIRTUAL','includeAll','findAll','rows','params','fields','include','find','catch','clone','options','get','omit','createdAt','updatedAt','body','create','file','filename','mimetype','download','findOne','html-pdf','eml-format','zip-dir','request-promise','moment','bluebird','mustache','util','path','sox','lodash','crypto','jsforce','desk.js','to-csv','querystring','papaparse','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','sendStatus','status','end','json','count','offset','limit','set','Content-Range','apply'];(function(_0x233e0e,_0x2bf402){var _0x4b537c=function(_0x481966){while(--_0x481966){_0x233e0e['push'](_0x233e0e['shift']());}};_0x4b537c(++_0x2bf402);}(_0x60b8,0x83));var _0x860b=function(_0x47920a,_0x2282c3){_0x47920a=_0x47920a-0x0;var _0x53410c=_0x60b8[_0x47920a];return _0x53410c;};'use strict';var pdf=require(_0x860b('0x0'));var emlformat=require(_0x860b('0x1'));var rimraf=require('rimraf');var zipdir=require(_0x860b('0x2'));var jsonpatch=require('fast-json-patch');var rp=require(_0x860b('0x3'));var moment=require(_0x860b('0x4'));var BPromise=require(_0x860b('0x5'));var Mustache=require(_0x860b('0x6'));var util=require(_0x860b('0x7'));var path=require(_0x860b('0x8'));var sox=require(_0x860b('0x9'));var csv=require('to-csv');var ejs=require('ejs');var fs=require('fs');var _=require(_0x860b('0xa'));var squel=require('squel');var crypto=require(_0x860b('0xb'));var jsforce=require(_0x860b('0xc'));var deskjs=require(_0x860b('0xd'));var toCsv=require(_0x860b('0xe'));var querystring=require(_0x860b('0xf'));var Papa=require(_0x860b('0x10'));var Redis=require('ioredis');var authService=require('../../components/auth/service');var qs=require('../../components/parsers/qs');var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0x860b('0x11'));var logger=require(_0x860b('0x12'))(_0x860b('0x13'));var utils=require(_0x860b('0x14'));var config=require(_0x860b('0x15'));var db=require(_0x860b('0x16'))['db'];function respondWithStatusCode(_0x2cfd40,_0x37034b){_0x37034b=_0x37034b||0xcc;return function(_0x135a0d){if(_0x135a0d){return _0x2cfd40[_0x860b('0x17')](_0x37034b);}return _0x2cfd40[_0x860b('0x18')](_0x37034b)[_0x860b('0x19')]();};}function respondWithResult(_0x3c6ab2,_0x570c32){_0x570c32=_0x570c32||0xc8;return function(_0x2fa573){if(_0x2fa573){return _0x3c6ab2[_0x860b('0x18')](_0x570c32)[_0x860b('0x1a')](_0x2fa573);}};}function respondWithFilteredResult(_0x384bb8,_0x1ac31f){return function(_0x5d7e20){if(_0x5d7e20){var _0x5995d7=_0x5d7e20[_0x860b('0x1b')],_0x2b5b72=_0x1ac31f[_0x860b('0x1c')],_0x3be2b5=_0x1ac31f[_0x860b('0x1c')]+_0x1ac31f[_0x860b('0x1d')],_0x50947b;if(_0x3be2b5>=_0x5995d7){_0x3be2b5=_0x5995d7;_0x50947b=0xc8;}else{_0x50947b=0xce;}_0x384bb8['status'](_0x50947b);return _0x384bb8[_0x860b('0x1e')](_0x860b('0x1f'),_0x2b5b72+'-'+_0x3be2b5+'/'+_0x5995d7)[_0x860b('0x1a')](_0x5d7e20);}return null;};}function patchUpdates(_0x5ba03c){return function(_0x3d7e61){try{jsonpatch[_0x860b('0x20')](_0x3d7e61,_0x5ba03c,!![]);}catch(_0x30ed9f){return BPromise[_0x860b('0x21')](_0x30ed9f);}return _0x3d7e61[_0x860b('0x22')]();};}function saveUpdates(_0x3b9de0,_0xe4c7f9){return function(_0x26ecf6){if(_0x26ecf6){return _0x26ecf6[_0x860b('0x23')](_0x3b9de0)[_0x860b('0x24')](function(_0x2e1e20){return _0x2e1e20;});}return null;};}function removeEntity(_0x35d700,_0x50bffb){return function(_0x2b9122){if(_0x2b9122){return _0x2b9122[_0x860b('0x25')]()[_0x860b('0x24')](function(){_0x35d700[_0x860b('0x18')](0xcc)[_0x860b('0x19')]();});}};}function handleEntityNotFound(_0x3ff53c,_0x34076f){return function(_0x4ec2a7){if(!_0x4ec2a7){_0x3ff53c['sendStatus'](0x194);}return _0x4ec2a7;};}function handleError(_0x57535d,_0x1b3af2){_0x1b3af2=_0x1b3af2||0x1f4;return function(_0x44d024){logger[_0x860b('0x26')](_0x44d024['stack']);if(_0x44d024[_0x860b('0x27')]){delete _0x44d024[_0x860b('0x27')];}_0x57535d[_0x860b('0x18')](_0x1b3af2)['send'](_0x44d024);};}exports[_0x860b('0x28')]=function(_0x278098,_0x49d4f9){var _0x399291={},_0x4257c2={},_0x10b39f={'count':0x0,'rows':[]};var _0x35b088=_[_0x860b('0x29')](db[_0x860b('0x2a')][_0x860b('0x2b')],function(_0x23d76a){return{'name':_0x23d76a[_0x860b('0x2c')],'type':_0x23d76a[_0x860b('0x2d')]['key']};});_0x4257c2['model']=_[_0x860b('0x29')](_0x35b088,_0x860b('0x27'));_0x4257c2[_0x860b('0x2e')]=_[_0x860b('0x2f')](_0x278098[_0x860b('0x2e')]);_0x4257c2[_0x860b('0x30')]=_[_0x860b('0x31')](_0x4257c2[_0x860b('0x32')],_0x4257c2[_0x860b('0x2e')]);_0x399291[_0x860b('0x33')]=_[_0x860b('0x31')](_0x4257c2[_0x860b('0x32')],qs['fields'](_0x278098[_0x860b('0x2e')]['fields']));_0x399291[_0x860b('0x33')]=_0x399291['attributes'][_0x860b('0x34')]?_0x399291['attributes']:_0x4257c2[_0x860b('0x32')];if(!_0x278098[_0x860b('0x2e')]['hasOwnProperty'](_0x860b('0x35'))){_0x399291[_0x860b('0x1d')]=qs['limit'](_0x278098['query'][_0x860b('0x1d')]);_0x399291['offset']=qs[_0x860b('0x1c')](_0x278098[_0x860b('0x2e')][_0x860b('0x1c')]);}_0x399291[_0x860b('0x36')]=qs[_0x860b('0x37')](_0x278098[_0x860b('0x2e')][_0x860b('0x37')]);_0x399291[_0x860b('0x38')]=qs[_0x860b('0x30')](_[_0x860b('0x39')](_0x278098[_0x860b('0x2e')],_0x4257c2['filters']),_0x35b088);if(_0x278098[_0x860b('0x2e')][_0x860b('0x3a')]){_0x399291[_0x860b('0x38')]=_[_0x860b('0x3b')](_0x399291[_0x860b('0x38')],{'$or':_[_0x860b('0x29')](_0x35b088,function(_0x58f297){if(_0x58f297['type']!==_0x860b('0x3c')){var _0x234a97={};_0x234a97[_0x58f297['name']]={'$like':'%'+_0x278098['query'][_0x860b('0x3a')]+'%'};return _0x234a97;}})});}_0x399291=_[_0x860b('0x3b')]({},_0x399291,_0x278098['options']);var _0x37ea5d={'where':_0x399291[_0x860b('0x38')]};return db[_0x860b('0x2a')][_0x860b('0x1b')](_0x37ea5d)[_0x860b('0x24')](function(_0x7ac444){_0x10b39f[_0x860b('0x1b')]=_0x7ac444;if(_0x278098[_0x860b('0x2e')][_0x860b('0x3d')]){_0x399291['include']=[{'all':!![]}];}return db[_0x860b('0x2a')][_0x860b('0x3e')](_0x399291);})[_0x860b('0x24')](function(_0x25eed8){_0x10b39f[_0x860b('0x3f')]=_0x25eed8;return _0x10b39f;})[_0x860b('0x24')](respondWithFilteredResult(_0x49d4f9,_0x399291))['catch'](handleError(_0x49d4f9,null));};exports['show']=function(_0x350596,_0x2752c0){var _0x547ab9={'raw':!![],'where':{'id':_0x350596[_0x860b('0x40')]['id']}},_0x5010da={};_0x5010da[_0x860b('0x32')]=_[_0x860b('0x2f')](db['Attachment'][_0x860b('0x2b')]);_0x5010da[_0x860b('0x2e')]=_[_0x860b('0x2f')](_0x350596[_0x860b('0x2e')]);_0x5010da[_0x860b('0x30')]=_[_0x860b('0x31')](_0x5010da[_0x860b('0x32')],_0x5010da[_0x860b('0x2e')]);_0x547ab9['attributes']=_[_0x860b('0x31')](_0x5010da[_0x860b('0x32')],qs[_0x860b('0x41')](_0x350596[_0x860b('0x2e')][_0x860b('0x41')]));_0x547ab9[_0x860b('0x33')]=_0x547ab9['attributes'][_0x860b('0x34')]?_0x547ab9[_0x860b('0x33')]:_0x5010da[_0x860b('0x32')];if(_0x350596['query'][_0x860b('0x3d')]){_0x547ab9[_0x860b('0x42')]=[{'all':!![]}];}_0x547ab9=_[_0x860b('0x3b')]({},_0x547ab9,_0x350596['options']);return db['Attachment'][_0x860b('0x43')](_0x547ab9)[_0x860b('0x24')](handleEntityNotFound(_0x2752c0,null))['then'](respondWithResult(_0x2752c0,null))[_0x860b('0x44')](handleError(_0x2752c0,null));};exports[_0x860b('0x45')]=function(_0x65ade9,_0x5bb483){var _0x116c4b={'where':{'id':_0x65ade9['params']['id']}},_0x3f2f16={};_0x3f2f16[_0x860b('0x32')]=_[_0x860b('0x2f')](db[_0x860b('0x2a')][_0x860b('0x2b')]);_0x116c4b['attributes']=_[_0x860b('0x31')](_0x3f2f16[_0x860b('0x32')],qs[_0x860b('0x41')](_0x65ade9[_0x860b('0x2e')][_0x860b('0x41')]));_0x116c4b[_0x860b('0x33')]=_0x116c4b[_0x860b('0x33')][_0x860b('0x34')]?_0x116c4b['attributes']:_0x3f2f16[_0x860b('0x32')];if(_0x65ade9[_0x860b('0x2e')][_0x860b('0x3d')]){_0x116c4b[_0x860b('0x42')]=[{'all':!![]}];}_0x116c4b=_[_0x860b('0x3b')]({},_0x116c4b,_0x65ade9[_0x860b('0x46')]);return db[_0x860b('0x2a')][_0x860b('0x43')](_0x116c4b)[_0x860b('0x24')](handleEntityNotFound(_0x5bb483,null))[_0x860b('0x24')](function(_0x438338){if(_0x438338){var _0x3fcbaf=_0x438338[_0x860b('0x47')]({'plain':!![]});_0x3fcbaf=qs[_0x860b('0x48')](_0x3fcbaf,['id',_0x860b('0x49'),_0x860b('0x4a')]);_0x65ade9['body']=_['omit'](_0x65ade9[_0x860b('0x4b')],['id',_0x860b('0x49'),_0x860b('0x4a')]);return db[_0x860b('0x2a')][_0x860b('0x4c')](_['merge'](_0x3fcbaf,_0x65ade9['body']),{'include':_0x65ade9[_0x860b('0x2e')]['includeAll']?[{'all':!![]}]:undefined});}})['then'](respondWithResult(_0x5bb483,0xc9))[_0x860b('0x44')](handleError(_0x5bb483,null));};exports[_0x860b('0x23')]=function(_0x40160c,_0x1f07bd){if(_0x40160c[_0x860b('0x4b')]['id']){delete _0x40160c[_0x860b('0x4b')]['id'];}return db[_0x860b('0x2a')][_0x860b('0x43')]({'where':{'id':_0x40160c[_0x860b('0x40')]['id']}})[_0x860b('0x24')](handleEntityNotFound(_0x1f07bd,null))[_0x860b('0x24')](saveUpdates(_0x40160c[_0x860b('0x4b')],null))[_0x860b('0x24')](respondWithResult(_0x1f07bd,null))[_0x860b('0x44')](handleError(_0x1f07bd,null));};exports[_0x860b('0x25')]=function(_0x267089,_0x51de11){return db[_0x860b('0x2a')]['find']({'where':{'id':_0x267089[_0x860b('0x40')]['id']}})['then'](handleEntityNotFound(_0x51de11,null))[_0x860b('0x24')](removeEntity(_0x51de11,null))[_0x860b('0x44')](handleError(_0x51de11,null));};exports[_0x860b('0x4c')]=function(_0x4ed528,_0x42b3ca,_0xa9c75f){_0x4ed528[_0x860b('0x4b')]['name']=_0x4ed528[_0x860b('0x4d')]['originalname'];_0x4ed528[_0x860b('0x4b')]['basename']=_0x4ed528[_0x860b('0x4d')][_0x860b('0x4e')];_0x4ed528['body'][_0x860b('0x2d')]=_0x4ed528[_0x860b('0x4d')][_0x860b('0x4f')];return db[_0x860b('0x2a')][_0x860b('0x4c')](_0x4ed528[_0x860b('0x4b')])[_0x860b('0x24')](respondWithResult(_0x42b3ca,0xc9))[_0x860b('0x44')](handleError(_0x42b3ca,null));};exports[_0x860b('0x50')]=function(_0xfb5dbe,_0x367d30,_0x13cca4){return db['Attachment'][_0x860b('0x51')]({'where':{'id':_0xfb5dbe['params']['id']},'raw':!![]})['then'](handleEntityNotFound(_0x367d30,null))[_0x860b('0x24')](function(_0xb4cebe){if(_0xb4cebe){return _0x367d30[_0x860b('0x50')](path['join'](config['root'],'server/files/attachments/',_0xb4cebe['basename']));}})[_0x860b('0x44')](handleError(_0x367d30,null));}; \ No newline at end of file diff --git a/server/api/attachment/attachment.model.js b/server/api/attachment/attachment.model.js index 1c52663..b6bf231 100644 --- a/server/api/attachment/attachment.model.js +++ b/server/api/attachment/attachment.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xb0ee=['./attachment.attributes','define','Attachment','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment'];(function(_0x59e811,_0x574cf9){var _0x58eb93=function(_0x16db61){while(--_0x16db61){_0x59e811['push'](_0x59e811['shift']());}};_0x58eb93(++_0x574cf9);}(_0xb0ee,0x18f));var _0xeb0e=function(_0x321bb2,_0x202794){_0x321bb2=_0x321bb2-0x0;var _0x9c12ed=_0xb0ee[_0x321bb2];return _0x9c12ed;};'use strict';var _=require('lodash');var util=require(_0xeb0e('0x0'));var logger=require(_0xeb0e('0x1'))(_0xeb0e('0x2'));var moment=require(_0xeb0e('0x3'));var BPromise=require(_0xeb0e('0x4'));var rp=require(_0xeb0e('0x5'));var fs=require('fs');var path=require(_0xeb0e('0x6'));var rimraf=require(_0xeb0e('0x7'));var config=require(_0xeb0e('0x8'));var attributes=require(_0xeb0e('0x9'));module['exports']=function(_0x1a95ad,_0x1e8dca){return _0x1a95ad[_0xeb0e('0xa')](_0xeb0e('0xb'),attributes,{'tableName':'attachments','paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0x0e56=['api','moment','request-promise','path','rimraf','../../config/environment','./attachment.attributes','exports','define','Attachment','attachments','lodash','util'];(function(_0x24bcc4,_0x226525){var _0x2e6411=function(_0x541b84){while(--_0x541b84){_0x24bcc4['push'](_0x24bcc4['shift']());}};_0x2e6411(++_0x226525);}(_0x0e56,0xf5));var _0x60e5=function(_0x25d4b1,_0x4e896d){_0x25d4b1=_0x25d4b1-0x0;var _0x2d51a5=_0x0e56[_0x25d4b1];return _0x2d51a5;};'use strict';var _=require(_0x60e5('0x0'));var util=require(_0x60e5('0x1'));var logger=require('../../config/logger')(_0x60e5('0x2'));var moment=require(_0x60e5('0x3'));var BPromise=require('bluebird');var rp=require(_0x60e5('0x4'));var fs=require('fs');var path=require(_0x60e5('0x5'));var rimraf=require(_0x60e5('0x6'));var config=require(_0x60e5('0x7'));var attributes=require(_0x60e5('0x8'));module[_0x60e5('0x9')]=function(_0x25b3a4,_0x54422a){return _0x25b3a4[_0x60e5('0xa')](_0x60e5('0xb'),attributes,{'tableName':_0x60e5('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/attachment/attachment.rpc.js b/server/api/attachment/attachment.rpc.js index 967c1d9..1cb6d83 100644 --- a/server/api/attachment/attachment.rpc.js +++ b/server/api/attachment/attachment.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xeb41=['rpc','../../config/environment','jayson/promise','client','http','Attachment,\x20%s,\x20%s,\x20%s','stringify','error','code','Attachment,\x20%s,\x20%s','message','info','request\x20sent','result','catch','CreateAttachment','create','options','then','util','bluebird','randomstring','ioredis','../../mysqldb','../../config/logger'];(function(_0x52a4ef,_0x377b7a){var _0x159d6a=function(_0x3596f3){while(--_0x3596f3){_0x52a4ef['push'](_0x52a4ef['shift']());}};_0x159d6a(++_0x377b7a);}(_0xeb41,0x18a));var _0x1eb4=function(_0x1035c1,_0x2d8583){_0x1035c1=_0x1035c1-0x0;var _0x308d67=_0xeb41[_0x1035c1];return _0x308d67;};'use strict';var _=require('lodash');var util=require(_0x1eb4('0x0'));var moment=require('moment');var BPromise=require(_0x1eb4('0x1'));var rs=require(_0x1eb4('0x2'));var fs=require('fs');var Redis=require(_0x1eb4('0x3'));var db=require(_0x1eb4('0x4'))['db'];var utils=require('../../config/utils');var logger=require(_0x1eb4('0x5'))(_0x1eb4('0x6'));var config=require(_0x1eb4('0x7'));var jayson=require(_0x1eb4('0x8'));var client=jayson[_0x1eb4('0x9')][_0x1eb4('0xa')]({'port':0x232a});function respondWithRpcPromise(_0xae4ae0,_0x3705f7,_0xb17a6f){return new BPromise(function(_0x379618,_0x5808fc){return client['request'](_0xae4ae0,_0xb17a6f)['then'](function(_0x4130d8){logger['info']('Attachment,\x20%s,\x20%s',_0x3705f7,'request\x20sent');logger['debug'](_0x1eb4('0xb'),_0x3705f7,'request\x20sent',JSON[_0x1eb4('0xc')](_0x4130d8));if(_0x4130d8[_0x1eb4('0xd')]){if(_0x4130d8['error'][_0x1eb4('0xe')]===0x1f4){logger[_0x1eb4('0xd')](_0x1eb4('0xf'),_0x3705f7,_0x4130d8[_0x1eb4('0xd')][_0x1eb4('0x10')]);return _0x5808fc(_0x4130d8['error'][_0x1eb4('0x10')]);}logger[_0x1eb4('0xd')]('Attachment,\x20%s,\x20%s',_0x3705f7,_0x4130d8[_0x1eb4('0xd')]['message']);return _0x379618(_0x4130d8[_0x1eb4('0xd')]['message']);}else{logger[_0x1eb4('0x11')](_0x1eb4('0xf'),_0x3705f7,_0x1eb4('0x12'));_0x379618(_0x4130d8[_0x1eb4('0x13')][_0x1eb4('0x10')]);}})[_0x1eb4('0x14')](function(_0x3eb7e2){logger[_0x1eb4('0xd')](_0x1eb4('0xf'),_0x3705f7,_0x3eb7e2);_0x5808fc(_0x3eb7e2);});});}exports[_0x1eb4('0x15')]=function(_0x57b585){var _0x585ff2=this;return new Promise(function(_0x2b8a63,_0x31ee9d){return db['Attachment'][_0x1eb4('0x16')](_0x57b585['body'],{'raw':_0x57b585[_0x1eb4('0x17')]?_0x57b585[_0x1eb4('0x17')]['raw']===undefined?!![]:![]:!![]})[_0x1eb4('0x18')](function(_0xb5167f){logger['info'](_0x1eb4('0x15'),_0x57b585);logger['debug']('CreateAttachment',_0x57b585,JSON[_0x1eb4('0xc')](_0xb5167f));_0x2b8a63(_0xb5167f);})[_0x1eb4('0x14')](function(_0x2ca0d5){logger[_0x1eb4('0xd')](_0x1eb4('0x15'),_0x2ca0d5['message'],_0x57b585);_0x31ee9d(_0x585ff2[_0x1eb4('0xd')](0x1f4,_0x2ca0d5[_0x1eb4('0x10')]));});});}; \ No newline at end of file +var _0xf897=['../../config/environment','jayson/promise','client','http','request','then','info','request\x20sent','debug','Attachment,\x20%s,\x20%s,\x20%s','stringify','error','code','Attachment,\x20%s,\x20%s','message','result','catch','CreateAttachment','Attachment','body','options','bluebird','ioredis','../../mysqldb','../../config/logger'];(function(_0x2972cf,_0x343fde){var _0x4c173f=function(_0x30eb3a){while(--_0x30eb3a){_0x2972cf['push'](_0x2972cf['shift']());}};_0x4c173f(++_0x343fde);}(_0xf897,0x128));var _0x7f89=function(_0x3b18c7,_0x2e19bc){_0x3b18c7=_0x3b18c7-0x0;var _0x2cbf95=_0xf897[_0x3b18c7];return _0x2cbf95;};'use strict';var _=require('lodash');var util=require('util');var moment=require('moment');var BPromise=require(_0x7f89('0x0'));var rs=require('randomstring');var fs=require('fs');var Redis=require(_0x7f89('0x1'));var db=require(_0x7f89('0x2'))['db'];var utils=require('../../config/utils');var logger=require(_0x7f89('0x3'))('rpc');var config=require(_0x7f89('0x4'));var jayson=require(_0x7f89('0x5'));var client=jayson[_0x7f89('0x6')][_0x7f89('0x7')]({'port':0x232a});function respondWithRpcPromise(_0x2b6e0f,_0x2feee9,_0x2a5100){return new BPromise(function(_0x4ee03c,_0x5aa91f){return client[_0x7f89('0x8')](_0x2b6e0f,_0x2a5100)[_0x7f89('0x9')](function(_0x3dd437){logger[_0x7f89('0xa')]('Attachment,\x20%s,\x20%s',_0x2feee9,_0x7f89('0xb'));logger[_0x7f89('0xc')](_0x7f89('0xd'),_0x2feee9,_0x7f89('0xb'),JSON[_0x7f89('0xe')](_0x3dd437));if(_0x3dd437[_0x7f89('0xf')]){if(_0x3dd437[_0x7f89('0xf')][_0x7f89('0x10')]===0x1f4){logger['error'](_0x7f89('0x11'),_0x2feee9,_0x3dd437[_0x7f89('0xf')][_0x7f89('0x12')]);return _0x5aa91f(_0x3dd437['error'][_0x7f89('0x12')]);}logger[_0x7f89('0xf')](_0x7f89('0x11'),_0x2feee9,_0x3dd437['error'][_0x7f89('0x12')]);return _0x4ee03c(_0x3dd437[_0x7f89('0xf')][_0x7f89('0x12')]);}else{logger[_0x7f89('0xa')](_0x7f89('0x11'),_0x2feee9,_0x7f89('0xb'));_0x4ee03c(_0x3dd437[_0x7f89('0x13')]['message']);}})[_0x7f89('0x14')](function(_0x27a103){logger[_0x7f89('0xf')](_0x7f89('0x11'),_0x2feee9,_0x27a103);_0x5aa91f(_0x27a103);});});}exports[_0x7f89('0x15')]=function(_0x485931){var _0x32af64=this;return new Promise(function(_0x1396c0,_0x2c4e1c){return db[_0x7f89('0x16')]['create'](_0x485931[_0x7f89('0x17')],{'raw':_0x485931[_0x7f89('0x18')]?_0x485931['options']['raw']===undefined?!![]:![]:!![]})[_0x7f89('0x9')](function(_0x5dff31){logger[_0x7f89('0xa')](_0x7f89('0x15'),_0x485931);logger[_0x7f89('0xc')](_0x7f89('0x15'),_0x485931,JSON[_0x7f89('0xe')](_0x5dff31));_0x1396c0(_0x5dff31);})['catch'](function(_0x42d9d1){logger[_0x7f89('0xf')]('CreateAttachment',_0x42d9d1[_0x7f89('0x12')],_0x485931);_0x2c4e1c(_0x32af64[_0x7f89('0xf')](0x1f4,_0x42d9d1['message']));});});}; \ No newline at end of file diff --git a/server/api/attachment/index.js b/server/api/attachment/index.js index 8b5e144..9869ca0 100644 --- a/server/api/attachment/index.js +++ b/server/api/attachment/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xd3c8=['format','%s-%s','now','originalname','replace','post','single','file','create','update','delete','destroy','exports','multer','util','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./attachment.controller','isAuthenticated','index','get','/:id','show','/:id/download','download','clone','diskStorage','join','root','server/files/attachments/'];(function(_0x51b2cf,_0x3a0128){var _0x583468=function(_0x2ac199){while(--_0x2ac199){_0x51b2cf['push'](_0x51b2cf['shift']());}};_0x583468(++_0x3a0128);}(_0xd3c8,0x161));var _0x8d3c=function(_0xcabd95,_0x346e4d){_0xcabd95=_0xcabd95-0x0;var _0x1f8bd3=_0xd3c8[_0xcabd95];return _0x1f8bd3;};'use strict';var multer=require(_0x8d3c('0x0'));var util=require(_0x8d3c('0x1'));var path=require(_0x8d3c('0x2'));var timeout=require(_0x8d3c('0x3'));var express=require(_0x8d3c('0x4'));var router=express['Router']();var auth=require(_0x8d3c('0x5'));var interaction=require(_0x8d3c('0x6'));var config=require(_0x8d3c('0x7'));var controller=require(_0x8d3c('0x8'));router['get']('/',auth[_0x8d3c('0x9')](),controller[_0x8d3c('0xa')]);router[_0x8d3c('0xb')](_0x8d3c('0xc'),auth[_0x8d3c('0x9')](),controller[_0x8d3c('0xd')]);router[_0x8d3c('0xb')](_0x8d3c('0xe'),auth[_0x8d3c('0x9')](),controller[_0x8d3c('0xf')]);router['post']('/:id/clone',auth['isAuthenticated'](),controller[_0x8d3c('0x10')]);var upload=multer({'storage':multer[_0x8d3c('0x11')]({'destination':function(_0xf8e143,_0x444e93,_0x475fe1){_0x475fe1(null,path[_0x8d3c('0x12')](config[_0x8d3c('0x13')],_0x8d3c('0x14')));},'filename':function(_0x2fa82b,_0x39d65c,_0x3c7513){_0x3c7513(null,util[_0x8d3c('0x15')](_0x8d3c('0x16'),Date[_0x8d3c('0x17')](),_0x39d65c[_0x8d3c('0x18')][_0x8d3c('0x19')](/[+@&\/\\#,+()$~%'":*?<>{}\s\\|]/g,'-')));}})});router[_0x8d3c('0x1a')]('/',upload[_0x8d3c('0x1b')](_0x8d3c('0x1c')),controller[_0x8d3c('0x1d')]);router['put'](_0x8d3c('0xc'),auth[_0x8d3c('0x9')](),controller[_0x8d3c('0x1e')]);router[_0x8d3c('0x1f')](_0x8d3c('0xc'),auth[_0x8d3c('0x9')](),controller[_0x8d3c('0x20')]);module[_0x8d3c('0x21')]=router; \ No newline at end of file +var _0xb36b=['file','create','put','update','delete','destroy','exports','multer','path','connect-timeout','express','Router','../../components/auth/service','../../config/environment','./attachment.controller','get','isAuthenticated','index','/:id','show','download','clone','diskStorage','join','root','server/files/attachments/','format','%s-%s','now','originalname','replace','post','single'];(function(_0x1c19d0,_0x1cef78){var _0x52693c=function(_0x22c8e7){while(--_0x22c8e7){_0x1c19d0['push'](_0x1c19d0['shift']());}};_0x52693c(++_0x1cef78);}(_0xb36b,0xac));var _0xbb36=function(_0xad23c5,_0x2d7c1e){_0xad23c5=_0xad23c5-0x0;var _0x3d1c3d=_0xb36b[_0xad23c5];return _0x3d1c3d;};'use strict';var multer=require(_0xbb36('0x0'));var util=require('util');var path=require(_0xbb36('0x1'));var timeout=require(_0xbb36('0x2'));var express=require(_0xbb36('0x3'));var router=express[_0xbb36('0x4')]();var auth=require(_0xbb36('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0xbb36('0x6'));var controller=require(_0xbb36('0x7'));router[_0xbb36('0x8')]('/',auth[_0xbb36('0x9')](),controller[_0xbb36('0xa')]);router[_0xbb36('0x8')](_0xbb36('0xb'),auth[_0xbb36('0x9')](),controller[_0xbb36('0xc')]);router[_0xbb36('0x8')]('/:id/download',auth['isAuthenticated'](),controller[_0xbb36('0xd')]);router['post']('/:id/clone',auth[_0xbb36('0x9')](),controller[_0xbb36('0xe')]);var upload=multer({'storage':multer[_0xbb36('0xf')]({'destination':function(_0x3e28d1,_0x347720,_0x50e823){_0x50e823(null,path[_0xbb36('0x10')](config[_0xbb36('0x11')],_0xbb36('0x12')));},'filename':function(_0x351867,_0x55d7ba,_0x248529){_0x248529(null,util[_0xbb36('0x13')](_0xbb36('0x14'),Date[_0xbb36('0x15')](),_0x55d7ba[_0xbb36('0x16')][_0xbb36('0x17')](/[+@&\/\\#,+()$~%'":*?<>{}\s\\|]/g,'-')));}})});router[_0xbb36('0x18')]('/',upload[_0xbb36('0x19')](_0xbb36('0x1a')),controller[_0xbb36('0x1b')]);router[_0xbb36('0x1c')]('/:id',auth[_0xbb36('0x9')](),controller[_0xbb36('0x1d')]);router[_0xbb36('0x1e')](_0xbb36('0xb'),auth[_0xbb36('0x9')](),controller[_0xbb36('0x1f')]);module[_0xbb36('0x20')]=router; \ No newline at end of file diff --git a/server/api/authGoogle/authGoogle.controller.js b/server/api/authGoogle/authGoogle.controller.js index 014049f..386253a 100644 --- a/server/api/authGoogle/authGoogle.controller.js +++ b/server/api/authGoogle/authGoogle.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xe20e=['../../components/auth/service','../../config/utils','login','authenticate','/login','profile','callback','google','use','clientID','clientSecret','secret','callbackURL','Setting','findOne','then','User','find','map','emails','value','admin','user','blocked','blockedAt','blockDuration','minutes','Incorrect\x20username\x20and/or\x20password.\x20Please\x20retry\x20again\x20or\x20contact\x20the\x20administrator.','clearBlockUser','getLicense','catch','lodash','passport','passport-google-oauth20','Strategy','../../config/environment'];(function(_0x1d8b47,_0x4b2d50){var _0x55d0a0=function(_0x4b2b6c){while(--_0x4b2b6c){_0x1d8b47['push'](_0x1d8b47['shift']());}};_0x55d0a0(++_0x4b2d50);}(_0xe20e,0x163));var _0xee20=function(_0x1ae1fb,_0x81c2ec){_0x1ae1fb=_0x1ae1fb-0x0;var _0x57166=_0xe20e[_0x1ae1fb];return _0x57166;};'use strict';var _=require(_0xee20('0x0'));var passport=require(_0xee20('0x1'));var GoogleStrategy=require(_0xee20('0x2'))[_0xee20('0x3')];var moment=require('moment');var db=require('../../mysqldb')['db'];var config=require(_0xee20('0x4'));var signToken=require(_0xee20('0x5'))['signToken'];var utils=require(_0xee20('0x6'));exports[_0xee20('0x7')]=passport[_0xee20('0x8')]('google',{'failureRedirect':_0xee20('0x9'),'scope':[_0xee20('0xa'),'email'],'session':![]});exports[_0xee20('0xb')]=passport[_0xee20('0x8')](_0xee20('0xc'),{'failureRedirect':_0xee20('0x9'),'session':![]});passport[_0xee20('0xd')](new GoogleStrategy({'clientID':config[_0xee20('0xc')]?config[_0xee20('0xc')][_0xee20('0xe')]:'id','clientSecret':config[_0xee20('0xc')]?config['google'][_0xee20('0xf')]:_0xee20('0x10'),'callbackURL':config['google']?config[_0xee20('0xc')][_0xee20('0x11')]:''},function(_0x5acc83,_0x172916,_0x203754,_0x499a8a){var _0x225982,_0x55a5ac;return db[_0xee20('0x12')][_0xee20('0x13')]({'where':{'id':0x1},'attributes':['allowedLoginAttempts','blockDuration'],'raw':!![]})[_0xee20('0x14')](function(_0x230e79){_0x225982=_0x230e79;return db[_0xee20('0x15')][_0xee20('0x16')]({'where':{'email':_[_0xee20('0x17')](_0x203754[_0xee20('0x18')],_0xee20('0x19')),'role':{'$or':[_0xee20('0x1a'),_0xee20('0x1b'),'agent']}}});})[_0xee20('0x14')](function(_0xd475a5){_0x55a5ac=_0xd475a5;if(_0x55a5ac){if(_0x55a5ac['disabled']){return _0x499a8a('Incorrect\x20username\x20and/or\x20password.\x20Please\x20retry\x20again\x20or\x20contact\x20the\x20administrator.');}else if(_0x225982['blockDuration']>0x0){if(_0x55a5ac[_0xee20('0x1c')]){if(moment(_0x55a5ac[_0xee20('0x1d')])['add'](_0x225982[_0xee20('0x1e')],_0xee20('0x1f'))>moment()){return _0x499a8a(_0xee20('0x20'));}else{return utils[_0xee20('0x21')](_0x55a5ac,0x0,![],null)[_0xee20('0x14')](function(){return utils['getLicense'](_0x55a5ac);})[_0xee20('0x14')](function(){return _0x499a8a(null,_0x55a5ac);});}}else{return utils[_0xee20('0x22')](_0x55a5ac)[_0xee20('0x14')](function(){return _0x499a8a(null,_0x55a5ac);});}}else{return utils[_0xee20('0x22')](_0x55a5ac)[_0xee20('0x14')](function(){return _0x499a8a(null,_0x55a5ac);});}}return _0x499a8a('Incorrect\x20username\x20and/or\x20password.\x20Please\x20retry\x20again\x20or\x20contact\x20the\x20administrator.');})[_0xee20('0x23')](function(_0x2601f7){_0x499a8a(_0x2601f7);});})); \ No newline at end of file +var _0x4fcf=['User','find','map','admin','user','agent','disabled','Incorrect\x20username\x20and/or\x20password.\x20Please\x20retry\x20again\x20or\x20contact\x20the\x20administrator.','blockedAt','add','minutes','clearBlockUser','getLicense','catch','lodash','passport','passport-google-oauth20','Strategy','moment','../../config/environment','../../components/auth/service','signToken','../../config/utils','authenticate','/login','profile','email','callback','google','use','clientSecret','callbackURL','Setting','findOne','allowedLoginAttempts','blockDuration','then'];(function(_0xf86c38,_0x14a343){var _0x3058e1=function(_0x447191){while(--_0x447191){_0xf86c38['push'](_0xf86c38['shift']());}};_0x3058e1(++_0x14a343);}(_0x4fcf,0xec));var _0xf4fc=function(_0x38f36c,_0xf07437){_0x38f36c=_0x38f36c-0x0;var _0x4ee9df=_0x4fcf[_0x38f36c];return _0x4ee9df;};'use strict';var _=require(_0xf4fc('0x0'));var passport=require(_0xf4fc('0x1'));var GoogleStrategy=require(_0xf4fc('0x2'))[_0xf4fc('0x3')];var moment=require(_0xf4fc('0x4'));var db=require('../../mysqldb')['db'];var config=require(_0xf4fc('0x5'));var signToken=require(_0xf4fc('0x6'))[_0xf4fc('0x7')];var utils=require(_0xf4fc('0x8'));exports['login']=passport[_0xf4fc('0x9')]('google',{'failureRedirect':_0xf4fc('0xa'),'scope':[_0xf4fc('0xb'),_0xf4fc('0xc')],'session':![]});exports[_0xf4fc('0xd')]=passport[_0xf4fc('0x9')](_0xf4fc('0xe'),{'failureRedirect':_0xf4fc('0xa'),'session':![]});passport[_0xf4fc('0xf')](new GoogleStrategy({'clientID':config[_0xf4fc('0xe')]?config[_0xf4fc('0xe')]['clientID']:'id','clientSecret':config[_0xf4fc('0xe')]?config['google'][_0xf4fc('0x10')]:'secret','callbackURL':config[_0xf4fc('0xe')]?config['google'][_0xf4fc('0x11')]:''},function(_0x282628,_0x43da32,_0x294c91,_0xbfe2c4){var _0x51c6ff,_0x53ea82;return db[_0xf4fc('0x12')][_0xf4fc('0x13')]({'where':{'id':0x1},'attributes':[_0xf4fc('0x14'),_0xf4fc('0x15')],'raw':!![]})[_0xf4fc('0x16')](function(_0xc9a4e4){_0x51c6ff=_0xc9a4e4;return db[_0xf4fc('0x17')][_0xf4fc('0x18')]({'where':{'email':_[_0xf4fc('0x19')](_0x294c91['emails'],'value'),'role':{'$or':[_0xf4fc('0x1a'),_0xf4fc('0x1b'),_0xf4fc('0x1c')]}}});})[_0xf4fc('0x16')](function(_0x5e3c81){_0x53ea82=_0x5e3c81;if(_0x53ea82){if(_0x53ea82[_0xf4fc('0x1d')]){return _0xbfe2c4(_0xf4fc('0x1e'));}else if(_0x51c6ff[_0xf4fc('0x15')]>0x0){if(_0x53ea82['blocked']){if(moment(_0x53ea82[_0xf4fc('0x1f')])[_0xf4fc('0x20')](_0x51c6ff[_0xf4fc('0x15')],_0xf4fc('0x21'))>moment()){return _0xbfe2c4(_0xf4fc('0x1e'));}else{return utils[_0xf4fc('0x22')](_0x53ea82,0x0,![],null)['then'](function(){return utils['getLicense'](_0x53ea82);})[_0xf4fc('0x16')](function(){return _0xbfe2c4(null,_0x53ea82);});}}else{return utils[_0xf4fc('0x23')](_0x53ea82)[_0xf4fc('0x16')](function(){return _0xbfe2c4(null,_0x53ea82);});}}else{return utils[_0xf4fc('0x23')](_0x53ea82)[_0xf4fc('0x16')](function(){return _0xbfe2c4(null,_0x53ea82);});}}return _0xbfe2c4(_0xf4fc('0x1e'));})[_0xf4fc('0x24')](function(_0x41817c){_0xbfe2c4(_0x41817c);});})); \ No newline at end of file diff --git a/server/api/authGoogle/index.js b/server/api/authGoogle/index.js index 4d64642..cf3a6c5 100644 --- a/server/api/authGoogle/index.js +++ b/server/api/authGoogle/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x3dd5=['login','/callback','callback','setTokenCookie','exports','express','Router','./authGoogle.controller','../user/user.controller.js','../../components/auth/service','get'];(function(_0x182f27,_0x8660cf){var _0x294158=function(_0x5e3db4){while(--_0x5e3db4){_0x182f27['push'](_0x182f27['shift']());}};_0x294158(++_0x8660cf);}(_0x3dd5,0x73));var _0x53dd=function(_0xea53a8,_0x199058){_0xea53a8=_0xea53a8-0x0;var _0xcb0ee1=_0x3dd5[_0xea53a8];return _0xcb0ee1;};'use strict';var express=require(_0x53dd('0x0'));var passport=require('passport');var router=express[_0x53dd('0x1')]();var controller=require(_0x53dd('0x2'));var userController=require(_0x53dd('0x3'));var authService=require(_0x53dd('0x4'));router[_0x53dd('0x5')]('/',controller[_0x53dd('0x6')]);router[_0x53dd('0x5')](_0x53dd('0x7'),controller[_0x53dd('0x8')],authService['isMiddleware'],userController[_0x53dd('0x6')],authService[_0x53dd('0x9')]);module[_0x53dd('0xa')]=router; \ No newline at end of file +var _0x8135=['callback','setTokenCookie','exports','passport','Router','./authGoogle.controller','../user/user.controller.js','get','login','/callback'];(function(_0x40a045,_0x516f0e){var _0x1a687c=function(_0x48c9fe){while(--_0x48c9fe){_0x40a045['push'](_0x40a045['shift']());}};_0x1a687c(++_0x516f0e);}(_0x8135,0x99));var _0x5813=function(_0x5a2e39,_0x19ddd8){_0x5a2e39=_0x5a2e39-0x0;var _0x2f9177=_0x8135[_0x5a2e39];return _0x2f9177;};'use strict';var express=require('express');var passport=require(_0x5813('0x0'));var router=express[_0x5813('0x1')]();var controller=require(_0x5813('0x2'));var userController=require(_0x5813('0x3'));var authService=require('../../components/auth/service');router[_0x5813('0x4')]('/',controller[_0x5813('0x5')]);router[_0x5813('0x4')](_0x5813('0x6'),controller[_0x5813('0x7')],authService['isMiddleware'],userController['login'],authService[_0x5813('0x8')]);module[_0x5813('0x9')]=router; \ No newline at end of file diff --git a/server/api/authLocal/authLocal.controller.js b/server/api/authLocal/authLocal.controller.js index eded406..3aa9eaf 100644 --- a/server/api/authLocal/authLocal.controller.js +++ b/server/api/authLocal/authLocal.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xa8b2=['token','Password\x20reset\x20token\x20is\x20invalid\x20or\x20has\x20expired.','securePassword','resetPasswordToken','save','Password\x20reset!','use','util','passport','passport-local','jayson/promise','lodash','../../mysqldb','http','blockDuration','then','findOne','name','password','salt','disabled','blocked','blockedAt','loginAttempts','user','agent','authenticate','Incorrect\x20username\x20and/or\x20password.\x20Please\x20retry\x20again\x20or\x20contact\x20the\x20administrator.','allowedLoginAttempts','add','clearBlockUser','minutes','getLicense','catch','find','email','MailServerOut','Smtp','Unable\x20to\x20find\x20a\x20configured\x20SMTP\x20service!','service','host','port','secure','authentication','auth','pass','merge','format','request','SendMail','error','SendMail\x20error:\x20%s.\x20Please\x20contact\x20your\x20Administrator!','stringify','message','test','role','signToken','body','trim','toLowerCase','Setting','User','This\x20email\x20is\x20not\x20registered.','The\x20user\x20is\x20disabled.\x20Please\x20contact\x20the\x20administrator.','The\x20user\x20is\x20blocked.\x20Please\x20contact\x20the\x20administrator.','resetPasswordExpires','now','xCally\x20Motion\x20Password\x20Reset','Please\x20click\x20on\x20the\x20following\x20link,\x20or\x20paste\x20this\x20into\x20your\x20browser\x20to\x20complete\x20the\x20process:\x0a\x0a','http://','headers','/reset/','If\x20you\x20did\x20not\x20request\x20this,\x20please\x20ignore\x20this\x20email\x20and\x20your\x20password\x20will\x20remain\x20unchanged.\x0a','send','reset','params'];(function(_0x40c499,_0x38a649){var _0x12a5bc=function(_0x1e79ec){while(--_0x1e79ec){_0x40c499['push'](_0x40c499['shift']());}};_0x12a5bc(++_0x38a649);}(_0xa8b2,0x9f));var _0x2a8b=function(_0x5b59be,_0x41b0f6){_0x5b59be=_0x5b59be-0x0;var _0x1eea63=_0xa8b2[_0x5b59be];return _0x1eea63;};'use strict';var util=require(_0x2a8b('0x0'));var passport=require(_0x2a8b('0x1'));var LocalStrategy=require(_0x2a8b('0x2'))['Strategy'];var jayson=require(_0x2a8b('0x3'));var _=require(_0x2a8b('0x4'));var rs=require('randomstring');var moment=require('moment');var db=require(_0x2a8b('0x5'))['db'];var authService=require('../../components/auth/service');var utils=require('../../config/utils');var client=jayson['client'][_0x2a8b('0x6')]({'port':0x232b});function localAuthenticate(_0x59f308,_0x4c1feb,_0x4c6699,_0x1474c4){var _0x3cf1e1,_0x1b6164;return db['Setting']['findOne']({'where':{'id':0x1},'attributes':['allowedLoginAttempts',_0x2a8b('0x7')],'raw':!![]})[_0x2a8b('0x8')](function(_0x52e08d){_0x3cf1e1=_0x52e08d;return _0x59f308[_0x2a8b('0x9')]({'attributes':['id',_0x2a8b('0xa'),_0x2a8b('0xb'),_0x2a8b('0xc'),'role',_0x2a8b('0xd'),_0x2a8b('0xe'),_0x2a8b('0xf'),_0x2a8b('0x10')],'where':{'name':_0x4c1feb,'role':{'$or':['admin',_0x2a8b('0x11'),_0x2a8b('0x12')]}}});})[_0x2a8b('0x8')](function(_0x2dc63f){if(!_0x2dc63f||_0x2dc63f&&_0x2dc63f[_0x2a8b('0xa')]!==_0x4c1feb){throw new Error('Incorrect\x20username\x20and/or\x20password.\x20Please\x20retry\x20again\x20or\x20contact\x20the\x20administrator.');}else{_0x1b6164=_0x2dc63f;return _0x1b6164;}})[_0x2a8b('0x8')](function(){_0x1b6164[_0x2a8b('0x13')](_0x4c6699,function(_0x3374a9,_0x4905d9){var _0x483bf0=_0x1b6164[_0x2a8b('0x10')]+0x1;if(_0x3374a9){return _0x1474c4(_0x3374a9);}else if(!_0x4905d9){if(_0x1b6164['disabled']){return _0x1474c4(null,![],{'message':_0x2a8b('0x14')});}else if(_0x3cf1e1[_0x2a8b('0x15')]>0x0){if(_0x1b6164[_0x2a8b('0xe')]){if(_0x3cf1e1[_0x2a8b('0x7')]>0x0){if(moment(_0x1b6164[_0x2a8b('0xf')])[_0x2a8b('0x16')](_0x3cf1e1[_0x2a8b('0x7')],'minutes')>moment()){return _0x1474c4(null,![],{'message':_0x2a8b('0x14')});}else{return utils[_0x2a8b('0x17')](_0x1b6164,_0x483bf0,![],null)[_0x2a8b('0x8')](function(){return _0x1474c4(null,![],{'message':_0x2a8b('0x14')});});}}else{return _0x1474c4(null,![],{'message':_0x2a8b('0x14')});}}else{if(_0x483bf0>=_0x3cf1e1[_0x2a8b('0x15')]){return utils['clearBlockUser'](_0x1b6164,0x0,!![],moment())[_0x2a8b('0x8')](function(){return _0x1474c4(null,![],{'message':'Incorrect\x20username\x20and/or\x20password.\x20Please\x20retry\x20again\x20or\x20contact\x20the\x20administrator.'});});}else{return utils[_0x2a8b('0x17')](_0x1b6164,_0x483bf0,![],null)[_0x2a8b('0x8')](function(){return _0x1474c4(null,![],{'message':_0x2a8b('0x14')});});}}}else{return _0x1474c4(null,![],{'message':'Incorrect\x20username\x20and/or\x20password.\x20Please\x20retry\x20again\x20or\x20contact\x20the\x20administrator.'});}}else{if(_0x1b6164[_0x2a8b('0xd')]){return _0x1474c4(null,![],{'message':_0x2a8b('0x14')});}else if(_0x3cf1e1[_0x2a8b('0x15')]>0x0){if(_0x1b6164['blocked']){if(_0x3cf1e1[_0x2a8b('0x7')]>0x0){if(moment(_0x1b6164['blockedAt'])[_0x2a8b('0x16')](_0x3cf1e1[_0x2a8b('0x7')],_0x2a8b('0x18'))>moment()){return _0x1474c4(null,![],{'message':'Incorrect\x20username\x20and/or\x20password.\x20Please\x20retry\x20again\x20or\x20contact\x20the\x20administrator.'});}else{return utils[_0x2a8b('0x17')](_0x1b6164,0x0,![],null)[_0x2a8b('0x8')](function(){return utils['getLicense'](_0x1b6164);})['then'](function(){return _0x1474c4(null,_0x1b6164);});}}else{return _0x1474c4(null,![],{'message':'Incorrect\x20username\x20and/or\x20password.\x20Please\x20retry\x20again\x20or\x20contact\x20the\x20administrator.'});}}else{return utils[_0x2a8b('0x17')](_0x1b6164,0x0,![],null)['then'](function(){return utils[_0x2a8b('0x19')](_0x1b6164);})[_0x2a8b('0x8')](function(){return _0x1474c4(null,_0x1b6164);})[_0x2a8b('0x1a')](function(_0x4ac881){return _0x1474c4(null,![],_0x4ac881);});}}else{if(_0x1b6164[_0x2a8b('0xe')]){return _0x1474c4(null,![],{'message':'Incorrect\x20username\x20and/or\x20password.\x20Please\x20retry\x20again\x20or\x20contact\x20the\x20administrator.'});}else{return utils[_0x2a8b('0x19')](_0x1b6164)[_0x2a8b('0x8')](function(){return _0x1474c4(null,_0x1b6164);});}}}});})[_0x2a8b('0x1a')](function(_0x31a36a){return _0x1474c4(null,![],_0x31a36a);});}function sendServiceMail(_0x43e0eb){return db['MailAccount'][_0x2a8b('0x1b')]({'where':{'service':!![]},'attributes':['id',_0x2a8b('0xa'),_0x2a8b('0x1c')],'include':[{'model':db[_0x2a8b('0x1d')],'as':_0x2a8b('0x1e')}]})[_0x2a8b('0x8')](function(_0x33ad9a){if(!_0x33ad9a){throw new Error(_0x2a8b('0x1f'));}var _0x215764={'tls':{'rejectUnauthorized':![]}};if(_0x33ad9a[_0x2a8b('0x1e')][_0x2a8b('0x20')]){_0x215764[_0x2a8b('0x20')]=_0x33ad9a[_0x2a8b('0x1e')][_0x2a8b('0x20')];}else{_0x215764[_0x2a8b('0x21')]=_0x33ad9a['Smtp'][_0x2a8b('0x21')];_0x215764[_0x2a8b('0x22')]=_0x33ad9a[_0x2a8b('0x1e')][_0x2a8b('0x22')];_0x215764['secure']=_0x33ad9a[_0x2a8b('0x1e')][_0x2a8b('0x23')];}if(_0x33ad9a[_0x2a8b('0x1e')][_0x2a8b('0x24')]){_0x215764[_0x2a8b('0x25')]={'user':_0x33ad9a[_0x2a8b('0x1e')][_0x2a8b('0x11')],'pass':_0x33ad9a[_0x2a8b('0x1e')][_0x2a8b('0x26')]};}var _0x4ef866={'account':_0x215764,'message':_[_0x2a8b('0x27')]({'from':util[_0x2a8b('0x28')]('\x22%s\x22\x20<%s>',_0x33ad9a[_0x2a8b('0xa')],_0x33ad9a[_0x2a8b('0x1c')]||_0x33ad9a['Smtp'][_0x2a8b('0x11')])},_0x43e0eb)};return client[_0x2a8b('0x29')](_0x2a8b('0x2a'),_0x4ef866);})[_0x2a8b('0x8')](function(_0x89add9){if(_0x89add9[_0x2a8b('0x2b')]){throw new Error(util[_0x2a8b('0x28')](_0x2a8b('0x2c'),_0x89add9[_0x2a8b('0x2b')]['message']||JSON[_0x2a8b('0x2d')](_0x89add9['error'])));}return!![];});}function handleError(_0x117fd8,_0x413b,_0x45a069){return _0x117fd8['status'](_0x413b||0x1f4)['send']({'message':_0x45a069?_0x45a069[_0x2a8b('0x2e')]||_0x45a069:''});}function checkPasswordPattern(_0x485842,_0x37b3d4,_0x3ab1bc){if(_0x3ab1bc){var _0x2dd813=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0x2dd813[_0x2a8b('0x2f')](_0x37b3d4)){return _0x485842;}else{throw new Error('The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.');}}else{return _0x485842;}}exports['login']=function(_0x9fee92,_0x572539,_0x2931e3){passport['authenticate']('local',function(_0x306a33,_0x44d34b,_0x2365a0){var _0x1ec3ca=_0x306a33||_0x2365a0;if(_0x1ec3ca){return handleError(_0x572539,0x191,_0x1ec3ca);}if(!_0x44d34b){return handleError(_0x572539,0x194,{'message':'Something\x20went\x20wrong,\x20please\x20try\x20again.'});}else{var _0x216fe1={'payload':{'id':_0x44d34b['id'],'role':_0x44d34b[_0x2a8b('0x30')]},'options':{'expiresIn':0x15180}};return authService[_0x2a8b('0x31')](_0x216fe1)['then'](function(_0x4ca5b4){_0x572539['json']({'id':_0x44d34b['id'],'token':_0x4ca5b4,'statusCall':'','isAlreadyLogged':_0x44d34b['online']});});}})(_0x9fee92,_0x572539,_0x2931e3);};exports['forgot']=function(_0x4cef40,_0x35acdf,_0x29a127){if(!_0x4cef40[_0x2a8b('0x32')]['email']){return handleError(_0x35acdf,0x1f4,{'message':'Email\x20parameter\x20is\x20missing'});}var _0x24455f=rs['generate']();_0x4cef40[_0x2a8b('0x32')][_0x2a8b('0x1c')]=_0x4cef40[_0x2a8b('0x32')][_0x2a8b('0x1c')][_0x2a8b('0x33')]()[_0x2a8b('0x34')]();var _0x3bc45c;return db[_0x2a8b('0x35')][_0x2a8b('0x9')]({'where':{'id':0x1},'attributes':['allowedLoginAttempts',_0x2a8b('0x7')],'raw':!![]})[_0x2a8b('0x8')](function(_0x51b96e){_0x3bc45c=_0x51b96e;return db[_0x2a8b('0x36')]['find']({'where':{'email':_0x4cef40[_0x2a8b('0x32')][_0x2a8b('0x1c')]}});})['then'](function(_0x38b39f){if(!_0x38b39f){throw new Error(_0x2a8b('0x37'));}if(_0x38b39f[_0x2a8b('0xd')]){throw new Error(_0x2a8b('0x38'));}if(_0x38b39f[_0x2a8b('0xe')]){if(moment(_0x38b39f[_0x2a8b('0xf')])[_0x2a8b('0x16')](_0x3bc45c['blockDuration'],_0x2a8b('0x18'))>moment()){throw new Error(_0x2a8b('0x39'));}else{_0x38b39f[_0x2a8b('0xe')]=![];_0x38b39f[_0x2a8b('0xf')]=null;}}_0x38b39f['resetPasswordToken']=_0x24455f;_0x38b39f[_0x2a8b('0x3a')]=Date[_0x2a8b('0x3b')]()+0x36ee80;return _0x38b39f['save']();})['then'](function(){return sendServiceMail({'to':_0x4cef40['body'][_0x2a8b('0x1c')],'subject':_0x2a8b('0x3c'),'text':'You\x20are\x20receiving\x20this\x20because\x20you\x20(or\x20someone\x20else)\x20have\x20requested\x20the\x20reset\x20of\x20the\x20password\x20for\x20your\x20account.\x0a\x0a'+_0x2a8b('0x3d')+_0x2a8b('0x3e')+_0x4cef40[_0x2a8b('0x3f')][_0x2a8b('0x21')]+_0x2a8b('0x40')+_0x24455f+'\x0a\x0a'+_0x2a8b('0x41')});})[_0x2a8b('0x8')](function(){_0x35acdf['status'](0xc8)[_0x2a8b('0x42')]({'message':'Reset\x20Email\x20sent!'});})[_0x2a8b('0x1a')](function(_0x5c22fe){return handleError(_0x35acdf,0x1f4,_0x5c22fe);});};exports[_0x2a8b('0x43')]=function(_0x570b4b,_0x16347d,_0x320753){var _0xde15f0;return db[_0x2a8b('0x36')][_0x2a8b('0x1b')]({'where':{'resetPasswordToken':_0x570b4b[_0x2a8b('0x44')][_0x2a8b('0x45')],'resetPasswordExpires':{'$gt':Date['now']()}}})[_0x2a8b('0x8')](function(_0x59a598){_0xde15f0=_0x59a598;if(!_0xde15f0){throw new Error(_0x2a8b('0x46'));}return db['Setting']['findOne']({'attributes':['id',_0x2a8b('0x47')]});})[_0x2a8b('0x8')](function(_0x3a1d87){return checkPasswordPattern(_0x3a1d87,_0x570b4b[_0x2a8b('0x32')]['password'],_0x3a1d87[_0x2a8b('0x47')]);})[_0x2a8b('0x8')](function(){_0xde15f0['password']=_0x570b4b[_0x2a8b('0x32')][_0x2a8b('0xb')];_0xde15f0[_0x2a8b('0x48')]=null;_0xde15f0['resetPasswordExpires']=null;return _0xde15f0[_0x2a8b('0x49')]();})['then'](function(){_0x16347d['status'](0xc8)[_0x2a8b('0x42')]({'message':_0x2a8b('0x4a')});})[_0x2a8b('0x1a')](function(_0x1fa969){return handleError(_0x16347d,0x1f4,_0x1fa969);});};passport[_0x2a8b('0x4b')](new LocalStrategy({'usernameField':_0x2a8b('0xa'),'passwordField':_0x2a8b('0xb')},function(_0x44594a,_0x5e04c8,_0x5a1eb5){return localAuthenticate(db['User'],_0x44594a,_0x5e04c8,_0x5a1eb5);})); \ No newline at end of file +var _0xbb93=['MailAccount','email','MailServerOut','Unable\x20to\x20find\x20a\x20configured\x20SMTP\x20service!','Smtp','service','host','port','secure','auth','pass','merge','format','\x22%s\x22\x20<%s>','request','SendMail','error','SendMail\x20error:\x20%s.\x20Please\x20contact\x20your\x20Administrator!','message','stringify','status','send','test','The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.','local','signToken','forgot','body','Email\x20parameter\x20is\x20missing','trim','toLowerCase','User','find','This\x20email\x20is\x20not\x20registered.','add','resetPasswordToken','resetPasswordExpires','now','You\x20are\x20receiving\x20this\x20because\x20you\x20(or\x20someone\x20else)\x20have\x20requested\x20the\x20reset\x20of\x20the\x20password\x20for\x20your\x20account.\x0a\x0a','Please\x20click\x20on\x20the\x20following\x20link,\x20or\x20paste\x20this\x20into\x20your\x20browser\x20to\x20complete\x20the\x20process:\x0a\x0a','http://','/reset/','Reset\x20Email\x20sent!','token','Password\x20reset\x20token\x20is\x20invalid\x20or\x20has\x20expired.','securePassword','save','Password\x20reset!','util','passport-local','jayson/promise','lodash','randomstring','moment','../../mysqldb','../../components/auth/service','client','http','Setting','findOne','allowedLoginAttempts','blockDuration','then','name','password','salt','role','blocked','blockedAt','loginAttempts','admin','user','agent','Incorrect\x20username\x20and/or\x20password.\x20Please\x20retry\x20again\x20or\x20contact\x20the\x20administrator.','authenticate','disabled','minutes','clearBlockUser','getLicense','catch'];(function(_0x3564e0,_0x534c69){var _0x2d5c68=function(_0x34aaf4){while(--_0x34aaf4){_0x3564e0['push'](_0x3564e0['shift']());}};_0x2d5c68(++_0x534c69);}(_0xbb93,0x120));var _0x3bb9=function(_0x2d1be6,_0x3524af){_0x2d1be6=_0x2d1be6-0x0;var _0x433485=_0xbb93[_0x2d1be6];return _0x433485;};'use strict';var util=require(_0x3bb9('0x0'));var passport=require('passport');var LocalStrategy=require(_0x3bb9('0x1'))['Strategy'];var jayson=require(_0x3bb9('0x2'));var _=require(_0x3bb9('0x3'));var rs=require(_0x3bb9('0x4'));var moment=require(_0x3bb9('0x5'));var db=require(_0x3bb9('0x6'))['db'];var authService=require(_0x3bb9('0x7'));var utils=require('../../config/utils');var client=jayson[_0x3bb9('0x8')][_0x3bb9('0x9')]({'port':0x232b});function localAuthenticate(_0x327b7a,_0x4fb367,_0x102989,_0x4e04c6){var _0x3e858a,_0x38097c;return db[_0x3bb9('0xa')][_0x3bb9('0xb')]({'where':{'id':0x1},'attributes':[_0x3bb9('0xc'),_0x3bb9('0xd')],'raw':!![]})[_0x3bb9('0xe')](function(_0x2ded92){_0x3e858a=_0x2ded92;return _0x327b7a[_0x3bb9('0xb')]({'attributes':['id',_0x3bb9('0xf'),_0x3bb9('0x10'),_0x3bb9('0x11'),_0x3bb9('0x12'),'disabled',_0x3bb9('0x13'),_0x3bb9('0x14'),_0x3bb9('0x15')],'where':{'name':_0x4fb367,'role':{'$or':[_0x3bb9('0x16'),_0x3bb9('0x17'),_0x3bb9('0x18')]}}});})[_0x3bb9('0xe')](function(_0x10e912){if(!_0x10e912||_0x10e912&&_0x10e912[_0x3bb9('0xf')]!==_0x4fb367){throw new Error(_0x3bb9('0x19'));}else{_0x38097c=_0x10e912;return _0x38097c;}})[_0x3bb9('0xe')](function(){_0x38097c[_0x3bb9('0x1a')](_0x102989,function(_0x372719,_0x337ffd){var _0x394412=_0x38097c[_0x3bb9('0x15')]+0x1;if(_0x372719){return _0x4e04c6(_0x372719);}else if(!_0x337ffd){if(_0x38097c[_0x3bb9('0x1b')]){return _0x4e04c6(null,![],{'message':_0x3bb9('0x19')});}else if(_0x3e858a[_0x3bb9('0xc')]>0x0){if(_0x38097c['blocked']){if(_0x3e858a[_0x3bb9('0xd')]>0x0){if(moment(_0x38097c[_0x3bb9('0x14')])['add'](_0x3e858a['blockDuration'],_0x3bb9('0x1c'))>moment()){return _0x4e04c6(null,![],{'message':_0x3bb9('0x19')});}else{return utils['clearBlockUser'](_0x38097c,_0x394412,![],null)[_0x3bb9('0xe')](function(){return _0x4e04c6(null,![],{'message':_0x3bb9('0x19')});});}}else{return _0x4e04c6(null,![],{'message':_0x3bb9('0x19')});}}else{if(_0x394412>=_0x3e858a[_0x3bb9('0xc')]){return utils[_0x3bb9('0x1d')](_0x38097c,0x0,!![],moment())[_0x3bb9('0xe')](function(){return _0x4e04c6(null,![],{'message':_0x3bb9('0x19')});});}else{return utils[_0x3bb9('0x1d')](_0x38097c,_0x394412,![],null)[_0x3bb9('0xe')](function(){return _0x4e04c6(null,![],{'message':'Incorrect\x20username\x20and/or\x20password.\x20Please\x20retry\x20again\x20or\x20contact\x20the\x20administrator.'});});}}}else{return _0x4e04c6(null,![],{'message':'Incorrect\x20username\x20and/or\x20password.\x20Please\x20retry\x20again\x20or\x20contact\x20the\x20administrator.'});}}else{if(_0x38097c['disabled']){return _0x4e04c6(null,![],{'message':_0x3bb9('0x19')});}else if(_0x3e858a[_0x3bb9('0xc')]>0x0){if(_0x38097c['blocked']){if(_0x3e858a[_0x3bb9('0xd')]>0x0){if(moment(_0x38097c[_0x3bb9('0x14')])['add'](_0x3e858a[_0x3bb9('0xd')],_0x3bb9('0x1c'))>moment()){return _0x4e04c6(null,![],{'message':_0x3bb9('0x19')});}else{return utils[_0x3bb9('0x1d')](_0x38097c,0x0,![],null)['then'](function(){return utils[_0x3bb9('0x1e')](_0x38097c);})[_0x3bb9('0xe')](function(){return _0x4e04c6(null,_0x38097c);});}}else{return _0x4e04c6(null,![],{'message':'Incorrect\x20username\x20and/or\x20password.\x20Please\x20retry\x20again\x20or\x20contact\x20the\x20administrator.'});}}else{return utils[_0x3bb9('0x1d')](_0x38097c,0x0,![],null)[_0x3bb9('0xe')](function(){return utils[_0x3bb9('0x1e')](_0x38097c);})[_0x3bb9('0xe')](function(){return _0x4e04c6(null,_0x38097c);})[_0x3bb9('0x1f')](function(_0x1feb56){return _0x4e04c6(null,![],_0x1feb56);});}}else{if(_0x38097c[_0x3bb9('0x13')]){return _0x4e04c6(null,![],{'message':_0x3bb9('0x19')});}else{return utils['getLicense'](_0x38097c)['then'](function(){return _0x4e04c6(null,_0x38097c);});}}}});})[_0x3bb9('0x1f')](function(_0x1ede03){return _0x4e04c6(null,![],_0x1ede03);});}function sendServiceMail(_0x30953){return db[_0x3bb9('0x20')]['find']({'where':{'service':!![]},'attributes':['id',_0x3bb9('0xf'),_0x3bb9('0x21')],'include':[{'model':db[_0x3bb9('0x22')],'as':'Smtp'}]})[_0x3bb9('0xe')](function(_0x94ee81){if(!_0x94ee81){throw new Error(_0x3bb9('0x23'));}var _0x5d585d={'tls':{'rejectUnauthorized':![]}};if(_0x94ee81[_0x3bb9('0x24')][_0x3bb9('0x25')]){_0x5d585d[_0x3bb9('0x25')]=_0x94ee81[_0x3bb9('0x24')][_0x3bb9('0x25')];}else{_0x5d585d[_0x3bb9('0x26')]=_0x94ee81['Smtp'][_0x3bb9('0x26')];_0x5d585d[_0x3bb9('0x27')]=_0x94ee81[_0x3bb9('0x24')][_0x3bb9('0x27')];_0x5d585d[_0x3bb9('0x28')]=_0x94ee81[_0x3bb9('0x24')][_0x3bb9('0x28')];}if(_0x94ee81[_0x3bb9('0x24')]['authentication']){_0x5d585d[_0x3bb9('0x29')]={'user':_0x94ee81['Smtp'][_0x3bb9('0x17')],'pass':_0x94ee81[_0x3bb9('0x24')][_0x3bb9('0x2a')]};}var _0x40e825={'account':_0x5d585d,'message':_[_0x3bb9('0x2b')]({'from':util[_0x3bb9('0x2c')](_0x3bb9('0x2d'),_0x94ee81[_0x3bb9('0xf')],_0x94ee81['email']||_0x94ee81[_0x3bb9('0x24')]['user'])},_0x30953)};return client[_0x3bb9('0x2e')](_0x3bb9('0x2f'),_0x40e825);})[_0x3bb9('0xe')](function(_0x5284b9){if(_0x5284b9[_0x3bb9('0x30')]){throw new Error(util[_0x3bb9('0x2c')](_0x3bb9('0x31'),_0x5284b9['error'][_0x3bb9('0x32')]||JSON[_0x3bb9('0x33')](_0x5284b9[_0x3bb9('0x30')])));}return!![];});}function handleError(_0x5275e,_0x10744b,_0x17fa15){return _0x5275e[_0x3bb9('0x34')](_0x10744b||0x1f4)[_0x3bb9('0x35')]({'message':_0x17fa15?_0x17fa15[_0x3bb9('0x32')]||_0x17fa15:''});}function checkPasswordPattern(_0xd7804,_0x48c0be,_0x3ea3c3){if(_0x3ea3c3){var _0x3eb04a=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0x3eb04a[_0x3bb9('0x36')](_0x48c0be)){return _0xd7804;}else{throw new Error(_0x3bb9('0x37'));}}else{return _0xd7804;}}exports['login']=function(_0x1ca868,_0x32672e,_0x17db63){passport[_0x3bb9('0x1a')](_0x3bb9('0x38'),function(_0x4b4d1c,_0xd92d16,_0x10ef56){var _0x2ceb78=_0x4b4d1c||_0x10ef56;if(_0x2ceb78){return handleError(_0x32672e,0x191,_0x2ceb78);}if(!_0xd92d16){return handleError(_0x32672e,0x194,{'message':'Something\x20went\x20wrong,\x20please\x20try\x20again.'});}else{var _0x251957={'payload':{'id':_0xd92d16['id'],'role':_0xd92d16[_0x3bb9('0x12')]},'options':{'expiresIn':0x15180}};return authService[_0x3bb9('0x39')](_0x251957)[_0x3bb9('0xe')](function(_0x4df6f2){_0x32672e['json']({'id':_0xd92d16['id'],'token':_0x4df6f2,'statusCall':'','isAlreadyLogged':_0xd92d16['online']});});}})(_0x1ca868,_0x32672e,_0x17db63);};exports[_0x3bb9('0x3a')]=function(_0x46fc8c,_0x39b36f,_0x3116c2){if(!_0x46fc8c[_0x3bb9('0x3b')][_0x3bb9('0x21')]){return handleError(_0x39b36f,0x1f4,{'message':_0x3bb9('0x3c')});}var _0x30eaeb=rs['generate']();_0x46fc8c[_0x3bb9('0x3b')][_0x3bb9('0x21')]=_0x46fc8c[_0x3bb9('0x3b')][_0x3bb9('0x21')][_0x3bb9('0x3d')]()[_0x3bb9('0x3e')]();var _0x5d3a3e;return db[_0x3bb9('0xa')][_0x3bb9('0xb')]({'where':{'id':0x1},'attributes':['allowedLoginAttempts','blockDuration'],'raw':!![]})[_0x3bb9('0xe')](function(_0x41e8fe){_0x5d3a3e=_0x41e8fe;return db[_0x3bb9('0x3f')][_0x3bb9('0x40')]({'where':{'email':_0x46fc8c[_0x3bb9('0x3b')][_0x3bb9('0x21')]}});})[_0x3bb9('0xe')](function(_0x1b23c5){if(!_0x1b23c5){throw new Error(_0x3bb9('0x41'));}if(_0x1b23c5[_0x3bb9('0x1b')]){throw new Error('The\x20user\x20is\x20disabled.\x20Please\x20contact\x20the\x20administrator.');}if(_0x1b23c5['blocked']){if(moment(_0x1b23c5[_0x3bb9('0x14')])[_0x3bb9('0x42')](_0x5d3a3e[_0x3bb9('0xd')],_0x3bb9('0x1c'))>moment()){throw new Error('The\x20user\x20is\x20blocked.\x20Please\x20contact\x20the\x20administrator.');}else{_0x1b23c5[_0x3bb9('0x13')]=![];_0x1b23c5[_0x3bb9('0x14')]=null;}}_0x1b23c5[_0x3bb9('0x43')]=_0x30eaeb;_0x1b23c5[_0x3bb9('0x44')]=Date[_0x3bb9('0x45')]()+0x36ee80;return _0x1b23c5['save']();})[_0x3bb9('0xe')](function(){return sendServiceMail({'to':_0x46fc8c['body'][_0x3bb9('0x21')],'subject':'xCally\x20Motion\x20Password\x20Reset','text':_0x3bb9('0x46')+_0x3bb9('0x47')+_0x3bb9('0x48')+_0x46fc8c['headers'][_0x3bb9('0x26')]+_0x3bb9('0x49')+_0x30eaeb+'\x0a\x0a'+'If\x20you\x20did\x20not\x20request\x20this,\x20please\x20ignore\x20this\x20email\x20and\x20your\x20password\x20will\x20remain\x20unchanged.\x0a'});})[_0x3bb9('0xe')](function(){_0x39b36f[_0x3bb9('0x34')](0xc8)[_0x3bb9('0x35')]({'message':_0x3bb9('0x4a')});})[_0x3bb9('0x1f')](function(_0x3fe65e){return handleError(_0x39b36f,0x1f4,_0x3fe65e);});};exports['reset']=function(_0x1d52e8,_0x1329a6,_0x489241){var _0x10acec;return db[_0x3bb9('0x3f')][_0x3bb9('0x40')]({'where':{'resetPasswordToken':_0x1d52e8['params'][_0x3bb9('0x4b')],'resetPasswordExpires':{'$gt':Date[_0x3bb9('0x45')]()}}})['then'](function(_0x355cc5){_0x10acec=_0x355cc5;if(!_0x10acec){throw new Error(_0x3bb9('0x4c'));}return db[_0x3bb9('0xa')][_0x3bb9('0xb')]({'attributes':['id',_0x3bb9('0x4d')]});})['then'](function(_0x3278ce){return checkPasswordPattern(_0x3278ce,_0x1d52e8[_0x3bb9('0x3b')][_0x3bb9('0x10')],_0x3278ce[_0x3bb9('0x4d')]);})[_0x3bb9('0xe')](function(){_0x10acec[_0x3bb9('0x10')]=_0x1d52e8[_0x3bb9('0x3b')][_0x3bb9('0x10')];_0x10acec['resetPasswordToken']=null;_0x10acec['resetPasswordExpires']=null;return _0x10acec[_0x3bb9('0x4e')]();})[_0x3bb9('0xe')](function(){_0x1329a6[_0x3bb9('0x34')](0xc8)[_0x3bb9('0x35')]({'message':_0x3bb9('0x4f')});})[_0x3bb9('0x1f')](function(_0x453c2b){return handleError(_0x1329a6,0x1f4,_0x453c2b);});};passport['use'](new LocalStrategy({'usernameField':'name','passwordField':_0x3bb9('0x10')},function(_0x576a8a,_0x1fcae2,_0x26e6c5){return localAuthenticate(db[_0x3bb9('0x3f')],_0x576a8a,_0x1fcae2,_0x26e6c5);})); \ No newline at end of file diff --git a/server/api/authLocal/index.js b/server/api/authLocal/index.js index c7729e5..f176c0d 100644 --- a/server/api/authLocal/index.js +++ b/server/api/authLocal/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xd41f=['/forgot','forgot','exports','Router','./authLocal.controller','login','post'];(function(_0x34e752,_0x32e2a2){var _0x7c6347=function(_0x4db671){while(--_0x4db671){_0x34e752['push'](_0x34e752['shift']());}};_0x7c6347(++_0x32e2a2);}(_0xd41f,0xf1));var _0xfd41=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xd41f[_0x3dd15e];return _0x231fd0;};'use strict';var express=require('express');var router=express[_0xfd41('0x0')]();var controller=require(_0xfd41('0x1'));router['post']('/',controller[_0xfd41('0x2')]);router[_0xfd41('0x3')](_0xfd41('0x4'),controller[_0xfd41('0x5')]);router['post']('/reset/:token',controller['reset']);module[_0xfd41('0x6')]=router; \ No newline at end of file +var _0x3f85=['./authLocal.controller','login','post','/forgot','/reset/:token','exports','express','Router'];(function(_0x1da20d,_0x1dc3b7){var _0x21212e=function(_0x163fa4){while(--_0x163fa4){_0x1da20d['push'](_0x1da20d['shift']());}};_0x21212e(++_0x1dc3b7);}(_0x3f85,0xde));var _0x53f8=function(_0x321bb2,_0x202794){_0x321bb2=_0x321bb2-0x0;var _0x9c12ed=_0x3f85[_0x321bb2];return _0x9c12ed;};'use strict';var express=require(_0x53f8('0x0'));var router=express[_0x53f8('0x1')]();var controller=require(_0x53f8('0x2'));router['post']('/',controller[_0x53f8('0x3')]);router[_0x53f8('0x4')](_0x53f8('0x5'),controller['forgot']);router[_0x53f8('0x4')](_0x53f8('0x6'),controller['reset']);module[_0x53f8('0x7')]=router; \ No newline at end of file diff --git a/server/api/automation/automation.attributes.js b/server/api/automation/automation.attributes.js index da77f89..e645626 100644 --- a/server/api/automation/automation.attributes.js +++ b/server/api/automation/automation.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x2e88=['BOOLEAN','INTEGER','sequelize','STRING'];(function(_0x6131cd,_0x4c26a1){var _0x47e916=function(_0x1f2bce){while(--_0x1f2bce){_0x6131cd['push'](_0x6131cd['shift']());}};_0x47e916(++_0x4c26a1);}(_0x2e88,0x16e));var _0x82e8=function(_0x58c851,_0x1f3d96){_0x58c851=_0x58c851-0x0;var _0x534d8a=_0x2e88[_0x58c851];return _0x534d8a;};'use strict';var Sequelize=require(_0x82e8('0x0'));module['exports']={'name':{'type':Sequelize['STRING'],'allowNull':![]},'channel':{'type':Sequelize[_0x82e8('0x1')]},'description':{'type':Sequelize[_0x82e8('0x1')]},'status':{'type':Sequelize[_0x82e8('0x2')],'defaultValue':![]},'timeout':{'type':Sequelize[_0x82e8('0x3')],'defaultValue':0xa}}; \ No newline at end of file +var _0x7882=['STRING','BOOLEAN','INTEGER','sequelize'];(function(_0x27bc29,_0x43b633){var _0x1b84ec=function(_0x120b86){while(--_0x120b86){_0x27bc29['push'](_0x27bc29['shift']());}};_0x1b84ec(++_0x43b633);}(_0x7882,0x18f));var _0x2788=function(_0x3aaf97,_0x4fa2e8){_0x3aaf97=_0x3aaf97-0x0;var _0xeba75e=_0x7882[_0x3aaf97];return _0xeba75e;};'use strict';var Sequelize=require(_0x2788('0x0'));module['exports']={'name':{'type':Sequelize['STRING'],'allowNull':![]},'channel':{'type':Sequelize[_0x2788('0x1')]},'description':{'type':Sequelize[_0x2788('0x1')]},'status':{'type':Sequelize[_0x2788('0x2')],'defaultValue':![]},'timeout':{'type':Sequelize[_0x2788('0x3')],'defaultValue':0xa}}; \ No newline at end of file diff --git a/server/api/automation/automation.controller.js b/server/api/automation/automation.controller.js index 29b5b7d..43ce0ac 100644 --- a/server/api/automation/automation.controller.js +++ b/server/api/automation/automation.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x7530=['../../mysqldb','sendStatus','status','end','json','offset','limit','set','Content-Range','apply','reject','save','update','then','destroy','error','stack','name','send','Automation','type','key','model','map','query','keys','filters','intersection','attributes','fields','length','order','sort','pick','VIRTUAL','filter','merge','options','where','count','include','findAll','show','params','includeAll','find','catch','create','body','addConditions','ids','getConditions','findOne','Condition','hasOwnProperty','addActions','omit','getActions','Action','rawAttributes','nolimit','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','mustache','util','sox','to-csv','ejs','lodash','squel','jsforce','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment'];(function(_0xf20793,_0x31bd9a){var _0x20aa67=function(_0x5aca8a){while(--_0x5aca8a){_0xf20793['push'](_0xf20793['shift']());}};_0x20aa67(++_0x31bd9a);}(_0x7530,0x142));var _0x0753=function(_0x9f021c,_0x59b485){_0x9f021c=_0x9f021c-0x0;var _0x3f6ca8=_0x7530[_0x9f021c];return _0x3f6ca8;};'use strict';var pdf=require('html-pdf');var emlformat=require('eml-format');var rimraf=require(_0x0753('0x0'));var zipdir=require(_0x0753('0x1'));var jsonpatch=require(_0x0753('0x2'));var rp=require(_0x0753('0x3'));var moment=require(_0x0753('0x4'));var BPromise=require(_0x0753('0x5'));var Mustache=require(_0x0753('0x6'));var util=require(_0x0753('0x7'));var path=require('path');var sox=require(_0x0753('0x8'));var csv=require(_0x0753('0x9'));var ejs=require(_0x0753('0xa'));var fs=require('fs');var _=require(_0x0753('0xb'));var squel=require(_0x0753('0xc'));var crypto=require('crypto');var jsforce=require(_0x0753('0xd'));var deskjs=require(_0x0753('0xe'));var toCsv=require(_0x0753('0x9'));var querystring=require(_0x0753('0xf'));var Papa=require(_0x0753('0x10'));var Redis=require(_0x0753('0x11'));var authService=require(_0x0753('0x12'));var qs=require(_0x0753('0x13'));var as=require(_0x0753('0x14'));var hardwareService=require(_0x0753('0x15'));var logger=require(_0x0753('0x16'))(_0x0753('0x17'));var utils=require(_0x0753('0x18'));var config=require(_0x0753('0x19'));var db=require(_0x0753('0x1a'))['db'];function respondWithStatusCode(_0x4d71c6,_0x2741ab){_0x2741ab=_0x2741ab||0xcc;return function(_0x2eb290){if(_0x2eb290){return _0x4d71c6[_0x0753('0x1b')](_0x2741ab);}return _0x4d71c6[_0x0753('0x1c')](_0x2741ab)[_0x0753('0x1d')]();};}function respondWithResult(_0x2e3e2a,_0x49aafc){_0x49aafc=_0x49aafc||0xc8;return function(_0x217587){if(_0x217587){return _0x2e3e2a[_0x0753('0x1c')](_0x49aafc)[_0x0753('0x1e')](_0x217587);}};}function respondWithFilteredResult(_0x5a2cbf,_0x1c95bd){return function(_0xc2ebd3){if(_0xc2ebd3){var _0x280d59=_0xc2ebd3['count'],_0x24813a=_0x1c95bd[_0x0753('0x1f')],_0x3e6d60=_0x1c95bd[_0x0753('0x1f')]+_0x1c95bd[_0x0753('0x20')],_0x205b81;if(_0x3e6d60>=_0x280d59){_0x3e6d60=_0x280d59;_0x205b81=0xc8;}else{_0x205b81=0xce;}_0x5a2cbf[_0x0753('0x1c')](_0x205b81);return _0x5a2cbf[_0x0753('0x21')](_0x0753('0x22'),_0x24813a+'-'+_0x3e6d60+'/'+_0x280d59)[_0x0753('0x1e')](_0xc2ebd3);}return null;};}function patchUpdates(_0x32114d){return function(_0x281f4f){try{jsonpatch[_0x0753('0x23')](_0x281f4f,_0x32114d,!![]);}catch(_0x5de08c){return BPromise[_0x0753('0x24')](_0x5de08c);}return _0x281f4f[_0x0753('0x25')]();};}function saveUpdates(_0x1d1b92,_0x58ff20){return function(_0x52797e){if(_0x52797e){return _0x52797e[_0x0753('0x26')](_0x1d1b92)[_0x0753('0x27')](function(_0x3105e0){return _0x3105e0;});}return null;};}function removeEntity(_0x3679aa,_0x3dbc70){return function(_0x2d0af6){if(_0x2d0af6){return _0x2d0af6[_0x0753('0x28')]()[_0x0753('0x27')](function(){_0x3679aa[_0x0753('0x1c')](0xcc)[_0x0753('0x1d')]();});}};}function handleEntityNotFound(_0x30c4d4,_0x31c809){return function(_0x3cca91){if(!_0x3cca91){_0x30c4d4[_0x0753('0x1b')](0x194);}return _0x3cca91;};}function handleError(_0x4ec0ae,_0x377511){_0x377511=_0x377511||0x1f4;return function(_0x55653f){logger[_0x0753('0x29')](_0x55653f[_0x0753('0x2a')]);if(_0x55653f[_0x0753('0x2b')]){delete _0x55653f[_0x0753('0x2b')];}_0x4ec0ae[_0x0753('0x1c')](_0x377511)[_0x0753('0x2c')](_0x55653f);};}exports['index']=function(_0x50a7a5,_0x714611){var _0x312da9={},_0x98cee6={},_0x47bc91={'count':0x0,'rows':[]};var _0xe0d359=_['map'](db[_0x0753('0x2d')]['rawAttributes'],function(_0x4638cd){return{'name':_0x4638cd['fieldName'],'type':_0x4638cd[_0x0753('0x2e')][_0x0753('0x2f')]};});_0x98cee6[_0x0753('0x30')]=_[_0x0753('0x31')](_0xe0d359,'name');_0x98cee6[_0x0753('0x32')]=_[_0x0753('0x33')](_0x50a7a5[_0x0753('0x32')]);_0x98cee6[_0x0753('0x34')]=_[_0x0753('0x35')](_0x98cee6['model'],_0x98cee6['query']);_0x312da9[_0x0753('0x36')]=_[_0x0753('0x35')](_0x98cee6[_0x0753('0x30')],qs[_0x0753('0x37')](_0x50a7a5[_0x0753('0x32')]['fields']));_0x312da9[_0x0753('0x36')]=_0x312da9[_0x0753('0x36')][_0x0753('0x38')]?_0x312da9[_0x0753('0x36')]:_0x98cee6[_0x0753('0x30')];if(!_0x50a7a5[_0x0753('0x32')]['hasOwnProperty']('nolimit')){_0x312da9[_0x0753('0x20')]=qs[_0x0753('0x20')](_0x50a7a5['query'][_0x0753('0x20')]);_0x312da9[_0x0753('0x1f')]=qs[_0x0753('0x1f')](_0x50a7a5[_0x0753('0x32')][_0x0753('0x1f')]);}_0x312da9[_0x0753('0x39')]=qs[_0x0753('0x3a')](_0x50a7a5['query'][_0x0753('0x3a')]);_0x312da9['where']=qs['filters'](_[_0x0753('0x3b')](_0x50a7a5[_0x0753('0x32')],_0x98cee6[_0x0753('0x34')]),_0xe0d359);if(_0x50a7a5[_0x0753('0x32')]['filter']){_0x312da9['where']=_['merge'](_0x312da9['where'],{'$or':_[_0x0753('0x31')](_0xe0d359,function(_0x2e4acc){if(_0x2e4acc[_0x0753('0x2e')]!==_0x0753('0x3c')){var _0x1a9beb={};_0x1a9beb[_0x2e4acc[_0x0753('0x2b')]]={'$like':'%'+_0x50a7a5[_0x0753('0x32')][_0x0753('0x3d')]+'%'};return _0x1a9beb;}})});}_0x312da9=_[_0x0753('0x3e')]({},_0x312da9,_0x50a7a5[_0x0753('0x3f')]);var _0x471ba9={'where':_0x312da9[_0x0753('0x40')]};return db[_0x0753('0x2d')][_0x0753('0x41')](_0x471ba9)[_0x0753('0x27')](function(_0x28d8c0){_0x47bc91['count']=_0x28d8c0;if(_0x50a7a5[_0x0753('0x32')]['includeAll']){_0x312da9[_0x0753('0x42')]=[{'all':!![]}];}return db[_0x0753('0x2d')][_0x0753('0x43')](_0x312da9);})[_0x0753('0x27')](function(_0x3602b4){_0x47bc91['rows']=_0x3602b4;return _0x47bc91;})[_0x0753('0x27')](respondWithFilteredResult(_0x714611,_0x312da9))['catch'](handleError(_0x714611,null));};exports[_0x0753('0x44')]=function(_0x4a0bfb,_0x591e3e){var _0x16ce47={'raw':![],'where':{'id':_0x4a0bfb[_0x0753('0x45')]['id']}},_0x4d6d7f={};_0x4d6d7f['model']=_[_0x0753('0x33')](db[_0x0753('0x2d')]['rawAttributes']);_0x4d6d7f[_0x0753('0x32')]=_[_0x0753('0x33')](_0x4a0bfb[_0x0753('0x32')]);_0x4d6d7f['filters']=_[_0x0753('0x35')](_0x4d6d7f[_0x0753('0x30')],_0x4d6d7f[_0x0753('0x32')]);_0x16ce47[_0x0753('0x36')]=_[_0x0753('0x35')](_0x4d6d7f[_0x0753('0x30')],qs[_0x0753('0x37')](_0x4a0bfb[_0x0753('0x32')][_0x0753('0x37')]));_0x16ce47['attributes']=_0x16ce47[_0x0753('0x36')][_0x0753('0x38')]?_0x16ce47[_0x0753('0x36')]:_0x4d6d7f[_0x0753('0x30')];if(_0x4a0bfb['query'][_0x0753('0x46')]){_0x16ce47[_0x0753('0x42')]=[{'all':!![]}];}_0x16ce47=_[_0x0753('0x3e')]({},_0x16ce47,_0x4a0bfb[_0x0753('0x3f')]);return db[_0x0753('0x2d')][_0x0753('0x47')](_0x16ce47)[_0x0753('0x27')](handleEntityNotFound(_0x591e3e,null))[_0x0753('0x27')](respondWithResult(_0x591e3e,null))[_0x0753('0x48')](handleError(_0x591e3e,null));};exports[_0x0753('0x49')]=function(_0x3eeb5e,_0x5f4c07){return db['Automation'][_0x0753('0x49')](_0x3eeb5e[_0x0753('0x4a')],{})['then'](respondWithResult(_0x5f4c07,0xc9))[_0x0753('0x48')](handleError(_0x5f4c07,null));};exports[_0x0753('0x26')]=function(_0x455397,_0x13cb00){if(_0x455397[_0x0753('0x4a')]['id']){delete _0x455397[_0x0753('0x4a')]['id'];}return db[_0x0753('0x2d')]['find']({'where':{'id':_0x455397[_0x0753('0x45')]['id']}})['then'](handleEntityNotFound(_0x13cb00,null))[_0x0753('0x27')](saveUpdates(_0x455397[_0x0753('0x4a')],null))['then'](respondWithResult(_0x13cb00,null))['catch'](handleError(_0x13cb00,null));};exports[_0x0753('0x28')]=function(_0x53bd88,_0x318c65){return db['Automation'][_0x0753('0x47')]({'where':{'id':_0x53bd88['params']['id']}})[_0x0753('0x27')](handleEntityNotFound(_0x318c65,null))[_0x0753('0x27')](removeEntity(_0x318c65,null))['catch'](handleError(_0x318c65,null));};exports[_0x0753('0x4b')]=function(_0xa31e54,_0x3e51ae,_0x1b0bd3){return db['Condition']['find']({'where':{'id':_0xa31e54[_0x0753('0x45')]['id']}})[_0x0753('0x27')](handleEntityNotFound(_0x3e51ae,null))[_0x0753('0x27')](function(_0x1b5690){if(_0x1b5690){return _0x1b5690[_0x0753('0x4b')](_0xa31e54[_0x0753('0x4a')][_0x0753('0x4c')],_['omit'](_0xa31e54[_0x0753('0x4a')],[_0x0753('0x4c'),'id'])||{});}})[_0x0753('0x27')](respondWithResult(_0x3e51ae,null))[_0x0753('0x48')](handleError(_0x3e51ae,null));};exports[_0x0753('0x4d')]=function(_0x5d2d44,_0x2f1e5c,_0x1ad482){var _0x43ba45={};var _0x428754={};var _0x3be8e1;var _0x501ab5;return db['Automation'][_0x0753('0x4e')]({'where':{'id':_0x5d2d44[_0x0753('0x45')]['id']}})['then'](handleEntityNotFound(_0x2f1e5c,null))[_0x0753('0x27')](function(_0x32f470){if(_0x32f470){_0x3be8e1=_0x32f470;_0x428754[_0x0753('0x30')]=_[_0x0753('0x33')](db[_0x0753('0x4f')]['rawAttributes']);_0x428754[_0x0753('0x32')]=_['keys'](_0x5d2d44['query']);_0x428754['filters']=_['intersection'](_0x428754['model'],_0x428754[_0x0753('0x32')]);_0x43ba45[_0x0753('0x36')]=_['intersection'](_0x428754[_0x0753('0x30')],qs['fields'](_0x5d2d44['query'][_0x0753('0x37')]));_0x43ba45['attributes']=_0x43ba45['attributes'][_0x0753('0x38')]?_0x43ba45[_0x0753('0x36')]:_0x428754[_0x0753('0x30')];_0x43ba45[_0x0753('0x39')]=qs[_0x0753('0x3a')](_0x5d2d44[_0x0753('0x32')]['sort']);_0x43ba45[_0x0753('0x40')]=qs['filters'](_[_0x0753('0x3b')](_0x5d2d44[_0x0753('0x32')],_0x428754['filters']));if(_0x5d2d44[_0x0753('0x32')][_0x0753('0x3d')]){_0x43ba45['where']=_[_0x0753('0x3e')](_0x43ba45[_0x0753('0x40')],{'$or':_[_0x0753('0x31')](_0x43ba45['attributes'],function(_0xc3b28f){var _0x423d9f={};_0x423d9f[_0xc3b28f]={'$like':'%'+_0x5d2d44[_0x0753('0x32')]['filter']+'%'};return _0x423d9f;})});}_0x43ba45=_[_0x0753('0x3e')]({},_0x43ba45,_0x5d2d44['options']);return _0x3be8e1[_0x0753('0x4d')](_0x43ba45);}})[_0x0753('0x27')](function(_0x44347f){if(_0x44347f){_0x501ab5=_0x44347f['length'];if(!_0x5d2d44[_0x0753('0x32')][_0x0753('0x50')]('nolimit')){_0x43ba45['limit']=qs[_0x0753('0x20')](_0x5d2d44[_0x0753('0x32')][_0x0753('0x20')]);_0x43ba45['offset']=qs[_0x0753('0x1f')](_0x5d2d44[_0x0753('0x32')][_0x0753('0x1f')]);}return _0x3be8e1['getConditions'](_0x43ba45);}})[_0x0753('0x27')](function(_0x393a3e){if(_0x393a3e){return _0x393a3e?{'count':_0x501ab5,'rows':_0x393a3e}:null;}})[_0x0753('0x27')](respondWithResult(_0x2f1e5c,null))['catch'](handleError(_0x2f1e5c,null));};exports[_0x0753('0x51')]=function(_0x11acf3,_0x53be0d,_0x147aff){return db['Action'][_0x0753('0x47')]({'where':{'id':_0x11acf3[_0x0753('0x45')]['id']}})['then'](handleEntityNotFound(_0x53be0d,null))['then'](function(_0xf62caa){if(_0xf62caa){return _0xf62caa['addActions'](_0x11acf3[_0x0753('0x4a')][_0x0753('0x4c')],_[_0x0753('0x52')](_0x11acf3[_0x0753('0x4a')],[_0x0753('0x4c'),'id'])||{});}})['then'](respondWithResult(_0x53be0d,null))[_0x0753('0x48')](handleError(_0x53be0d,null));};exports[_0x0753('0x53')]=function(_0x4d183e,_0x3d9875,_0x2c1e9a){var _0x23133b={};var _0x24cb16={};var _0x268830;var _0xda7160;return db[_0x0753('0x2d')][_0x0753('0x4e')]({'where':{'id':_0x4d183e[_0x0753('0x45')]['id']}})[_0x0753('0x27')](handleEntityNotFound(_0x3d9875,null))[_0x0753('0x27')](function(_0x2fec47){if(_0x2fec47){_0x268830=_0x2fec47;_0x24cb16[_0x0753('0x30')]=_['keys'](db[_0x0753('0x54')][_0x0753('0x55')]);_0x24cb16[_0x0753('0x32')]=_[_0x0753('0x33')](_0x4d183e[_0x0753('0x32')]);_0x24cb16[_0x0753('0x34')]=_[_0x0753('0x35')](_0x24cb16[_0x0753('0x30')],_0x24cb16['query']);_0x23133b[_0x0753('0x36')]=_[_0x0753('0x35')](_0x24cb16[_0x0753('0x30')],qs[_0x0753('0x37')](_0x4d183e[_0x0753('0x32')][_0x0753('0x37')]));_0x23133b[_0x0753('0x36')]=_0x23133b[_0x0753('0x36')][_0x0753('0x38')]?_0x23133b[_0x0753('0x36')]:_0x24cb16['model'];_0x23133b[_0x0753('0x39')]=qs['sort'](_0x4d183e['query'][_0x0753('0x3a')]);_0x23133b[_0x0753('0x40')]=qs[_0x0753('0x34')](_[_0x0753('0x3b')](_0x4d183e[_0x0753('0x32')],_0x24cb16[_0x0753('0x34')]));if(_0x4d183e['query']['filter']){_0x23133b[_0x0753('0x40')]=_['merge'](_0x23133b[_0x0753('0x40')],{'$or':_[_0x0753('0x31')](_0x23133b['attributes'],function(_0x1a4a7d){var _0x42c108={};_0x42c108[_0x1a4a7d]={'$like':'%'+_0x4d183e[_0x0753('0x32')]['filter']+'%'};return _0x42c108;})});}_0x23133b=_['merge']({},_0x23133b,_0x4d183e['options']);return _0x268830['getActions'](_0x23133b);}})[_0x0753('0x27')](function(_0x1ab971){if(_0x1ab971){_0xda7160=_0x1ab971[_0x0753('0x38')];if(!_0x4d183e[_0x0753('0x32')][_0x0753('0x50')](_0x0753('0x56'))){_0x23133b[_0x0753('0x20')]=qs[_0x0753('0x20')](_0x4d183e[_0x0753('0x32')][_0x0753('0x20')]);_0x23133b[_0x0753('0x1f')]=qs[_0x0753('0x1f')](_0x4d183e[_0x0753('0x32')]['offset']);}return _0x268830['getActions'](_0x23133b);}})['then'](function(_0x5cd9ed){if(_0x5cd9ed){return _0x5cd9ed?{'count':_0xda7160,'rows':_0x5cd9ed}:null;}})[_0x0753('0x27')](respondWithResult(_0x3d9875,null))[_0x0753('0x48')](handleError(_0x3d9875,null));}; \ No newline at end of file +var _0xae59=['count','offset','limit','set','Content-Range','apply','reject','save','then','end','stack','name','send','index','map','Automation','rawAttributes','fieldName','key','query','keys','filters','intersection','attributes','model','fields','hasOwnProperty','nolimit','sort','where','pick','filter','type','options','include','rows','catch','params','length','includeAll','merge','find','create','body','update','destroy','addConditions','Condition','ids','omit','getConditions','findOne','order','addActions','Action','getActions','html-pdf','eml-format','rimraf','zip-dir','request-promise','moment','bluebird','mustache','sox','to-csv','ejs','crypto','jsforce','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/logger','api','../../config/utils','sendStatus','status','json'];(function(_0x321bb2,_0x202794){var _0x9c12ed=function(_0x263dd3){while(--_0x263dd3){_0x321bb2['push'](_0x321bb2['shift']());}};_0x9c12ed(++_0x202794);}(_0xae59,0xd8));var _0x9ae5=function(_0x59ce7c,_0x5380c3){_0x59ce7c=_0x59ce7c-0x0;var _0x55c1a5=_0xae59[_0x59ce7c];return _0x55c1a5;};'use strict';var pdf=require(_0x9ae5('0x0'));var emlformat=require(_0x9ae5('0x1'));var rimraf=require(_0x9ae5('0x2'));var zipdir=require(_0x9ae5('0x3'));var jsonpatch=require('fast-json-patch');var rp=require(_0x9ae5('0x4'));var moment=require(_0x9ae5('0x5'));var BPromise=require(_0x9ae5('0x6'));var Mustache=require(_0x9ae5('0x7'));var util=require('util');var path=require('path');var sox=require(_0x9ae5('0x8'));var csv=require(_0x9ae5('0x9'));var ejs=require(_0x9ae5('0xa'));var fs=require('fs');var _=require('lodash');var squel=require('squel');var crypto=require(_0x9ae5('0xb'));var jsforce=require(_0x9ae5('0xc'));var deskjs=require('desk.js');var toCsv=require(_0x9ae5('0x9'));var querystring=require('querystring');var Papa=require(_0x9ae5('0xd'));var Redis=require(_0x9ae5('0xe'));var authService=require(_0x9ae5('0xf'));var qs=require(_0x9ae5('0x10'));var as=require(_0x9ae5('0x11'));var hardwareService=require('../../config/license/hardware');var logger=require(_0x9ae5('0x12'))(_0x9ae5('0x13'));var utils=require(_0x9ae5('0x14'));var config=require('../../config/environment');var db=require('../../mysqldb')['db'];function respondWithStatusCode(_0x302319,_0x17e71b){_0x17e71b=_0x17e71b||0xcc;return function(_0x4d7e01){if(_0x4d7e01){return _0x302319[_0x9ae5('0x15')](_0x17e71b);}return _0x302319['status'](_0x17e71b)['end']();};}function respondWithResult(_0x1b7c22,_0x5f2a67){_0x5f2a67=_0x5f2a67||0xc8;return function(_0x147b35){if(_0x147b35){return _0x1b7c22[_0x9ae5('0x16')](_0x5f2a67)[_0x9ae5('0x17')](_0x147b35);}};}function respondWithFilteredResult(_0xe73de8,_0x20d0dd){return function(_0x2591ed){if(_0x2591ed){var _0x23c08b=_0x2591ed[_0x9ae5('0x18')],_0x5cba7b=_0x20d0dd[_0x9ae5('0x19')],_0x4154f5=_0x20d0dd[_0x9ae5('0x19')]+_0x20d0dd[_0x9ae5('0x1a')],_0x28d1d1;if(_0x4154f5>=_0x23c08b){_0x4154f5=_0x23c08b;_0x28d1d1=0xc8;}else{_0x28d1d1=0xce;}_0xe73de8['status'](_0x28d1d1);return _0xe73de8[_0x9ae5('0x1b')](_0x9ae5('0x1c'),_0x5cba7b+'-'+_0x4154f5+'/'+_0x23c08b)['json'](_0x2591ed);}return null;};}function patchUpdates(_0x5e0783){return function(_0x228d2e){try{jsonpatch[_0x9ae5('0x1d')](_0x228d2e,_0x5e0783,!![]);}catch(_0x1adcb4){return BPromise[_0x9ae5('0x1e')](_0x1adcb4);}return _0x228d2e[_0x9ae5('0x1f')]();};}function saveUpdates(_0xbf12f9,_0x2fc942){return function(_0x3cfdcb){if(_0x3cfdcb){return _0x3cfdcb['update'](_0xbf12f9)[_0x9ae5('0x20')](function(_0x425ff3){return _0x425ff3;});}return null;};}function removeEntity(_0x34e50d,_0x2d775f){return function(_0x5be871){if(_0x5be871){return _0x5be871['destroy']()['then'](function(){_0x34e50d[_0x9ae5('0x16')](0xcc)[_0x9ae5('0x21')]();});}};}function handleEntityNotFound(_0x5d4883,_0x32164b){return function(_0x44661f){if(!_0x44661f){_0x5d4883['sendStatus'](0x194);}return _0x44661f;};}function handleError(_0x27f104,_0x43f82b){_0x43f82b=_0x43f82b||0x1f4;return function(_0x1aa5ee){logger['error'](_0x1aa5ee[_0x9ae5('0x22')]);if(_0x1aa5ee[_0x9ae5('0x23')]){delete _0x1aa5ee[_0x9ae5('0x23')];}_0x27f104[_0x9ae5('0x16')](_0x43f82b)[_0x9ae5('0x24')](_0x1aa5ee);};}exports[_0x9ae5('0x25')]=function(_0x53e5fb,_0x255aa8){var _0x388be8={},_0x1cfee2={},_0x4788f4={'count':0x0,'rows':[]};var _0x2f695d=_[_0x9ae5('0x26')](db[_0x9ae5('0x27')][_0x9ae5('0x28')],function(_0x147807){return{'name':_0x147807[_0x9ae5('0x29')],'type':_0x147807['type'][_0x9ae5('0x2a')]};});_0x1cfee2['model']=_[_0x9ae5('0x26')](_0x2f695d,_0x9ae5('0x23'));_0x1cfee2[_0x9ae5('0x2b')]=_[_0x9ae5('0x2c')](_0x53e5fb[_0x9ae5('0x2b')]);_0x1cfee2[_0x9ae5('0x2d')]=_[_0x9ae5('0x2e')](_0x1cfee2['model'],_0x1cfee2['query']);_0x388be8[_0x9ae5('0x2f')]=_[_0x9ae5('0x2e')](_0x1cfee2[_0x9ae5('0x30')],qs[_0x9ae5('0x31')](_0x53e5fb[_0x9ae5('0x2b')][_0x9ae5('0x31')]));_0x388be8[_0x9ae5('0x2f')]=_0x388be8[_0x9ae5('0x2f')]['length']?_0x388be8['attributes']:_0x1cfee2['model'];if(!_0x53e5fb['query'][_0x9ae5('0x32')](_0x9ae5('0x33'))){_0x388be8['limit']=qs[_0x9ae5('0x1a')](_0x53e5fb[_0x9ae5('0x2b')]['limit']);_0x388be8[_0x9ae5('0x19')]=qs[_0x9ae5('0x19')](_0x53e5fb[_0x9ae5('0x2b')][_0x9ae5('0x19')]);}_0x388be8['order']=qs[_0x9ae5('0x34')](_0x53e5fb[_0x9ae5('0x2b')][_0x9ae5('0x34')]);_0x388be8[_0x9ae5('0x35')]=qs[_0x9ae5('0x2d')](_[_0x9ae5('0x36')](_0x53e5fb[_0x9ae5('0x2b')],_0x1cfee2[_0x9ae5('0x2d')]),_0x2f695d);if(_0x53e5fb[_0x9ae5('0x2b')][_0x9ae5('0x37')]){_0x388be8[_0x9ae5('0x35')]=_['merge'](_0x388be8[_0x9ae5('0x35')],{'$or':_[_0x9ae5('0x26')](_0x2f695d,function(_0x1fbe28){if(_0x1fbe28[_0x9ae5('0x38')]!=='VIRTUAL'){var _0x593346={};_0x593346[_0x1fbe28[_0x9ae5('0x23')]]={'$like':'%'+_0x53e5fb[_0x9ae5('0x2b')]['filter']+'%'};return _0x593346;}})});}_0x388be8=_['merge']({},_0x388be8,_0x53e5fb[_0x9ae5('0x39')]);var _0x217078={'where':_0x388be8['where']};return db[_0x9ae5('0x27')]['count'](_0x217078)[_0x9ae5('0x20')](function(_0x1a8130){_0x4788f4[_0x9ae5('0x18')]=_0x1a8130;if(_0x53e5fb['query']['includeAll']){_0x388be8[_0x9ae5('0x3a')]=[{'all':!![]}];}return db[_0x9ae5('0x27')]['findAll'](_0x388be8);})[_0x9ae5('0x20')](function(_0x33a82c){_0x4788f4[_0x9ae5('0x3b')]=_0x33a82c;return _0x4788f4;})[_0x9ae5('0x20')](respondWithFilteredResult(_0x255aa8,_0x388be8))[_0x9ae5('0x3c')](handleError(_0x255aa8,null));};exports['show']=function(_0x4f35c5,_0x399de2){var _0x43f03b={'raw':![],'where':{'id':_0x4f35c5[_0x9ae5('0x3d')]['id']}},_0x4b98d2={};_0x4b98d2[_0x9ae5('0x30')]=_[_0x9ae5('0x2c')](db[_0x9ae5('0x27')][_0x9ae5('0x28')]);_0x4b98d2[_0x9ae5('0x2b')]=_[_0x9ae5('0x2c')](_0x4f35c5[_0x9ae5('0x2b')]);_0x4b98d2[_0x9ae5('0x2d')]=_[_0x9ae5('0x2e')](_0x4b98d2[_0x9ae5('0x30')],_0x4b98d2[_0x9ae5('0x2b')]);_0x43f03b[_0x9ae5('0x2f')]=_[_0x9ae5('0x2e')](_0x4b98d2[_0x9ae5('0x30')],qs[_0x9ae5('0x31')](_0x4f35c5['query']['fields']));_0x43f03b['attributes']=_0x43f03b[_0x9ae5('0x2f')][_0x9ae5('0x3e')]?_0x43f03b[_0x9ae5('0x2f')]:_0x4b98d2[_0x9ae5('0x30')];if(_0x4f35c5[_0x9ae5('0x2b')][_0x9ae5('0x3f')]){_0x43f03b[_0x9ae5('0x3a')]=[{'all':!![]}];}_0x43f03b=_[_0x9ae5('0x40')]({},_0x43f03b,_0x4f35c5['options']);return db[_0x9ae5('0x27')][_0x9ae5('0x41')](_0x43f03b)['then'](handleEntityNotFound(_0x399de2,null))[_0x9ae5('0x20')](respondWithResult(_0x399de2,null))[_0x9ae5('0x3c')](handleError(_0x399de2,null));};exports['create']=function(_0x130e20,_0x6a3992){return db[_0x9ae5('0x27')][_0x9ae5('0x42')](_0x130e20[_0x9ae5('0x43')],{})[_0x9ae5('0x20')](respondWithResult(_0x6a3992,0xc9))[_0x9ae5('0x3c')](handleError(_0x6a3992,null));};exports[_0x9ae5('0x44')]=function(_0x439b88,_0x4b6a74){if(_0x439b88[_0x9ae5('0x43')]['id']){delete _0x439b88[_0x9ae5('0x43')]['id'];}return db[_0x9ae5('0x27')][_0x9ae5('0x41')]({'where':{'id':_0x439b88[_0x9ae5('0x3d')]['id']}})['then'](handleEntityNotFound(_0x4b6a74,null))[_0x9ae5('0x20')](saveUpdates(_0x439b88['body'],null))['then'](respondWithResult(_0x4b6a74,null))[_0x9ae5('0x3c')](handleError(_0x4b6a74,null));};exports[_0x9ae5('0x45')]=function(_0x36fb85,_0x18e4d5){return db[_0x9ae5('0x27')][_0x9ae5('0x41')]({'where':{'id':_0x36fb85[_0x9ae5('0x3d')]['id']}})[_0x9ae5('0x20')](handleEntityNotFound(_0x18e4d5,null))[_0x9ae5('0x20')](removeEntity(_0x18e4d5,null))[_0x9ae5('0x3c')](handleError(_0x18e4d5,null));};exports[_0x9ae5('0x46')]=function(_0x257ae0,_0x4f053f,_0x3a898e){return db[_0x9ae5('0x47')][_0x9ae5('0x41')]({'where':{'id':_0x257ae0['params']['id']}})['then'](handleEntityNotFound(_0x4f053f,null))['then'](function(_0x37d1a5){if(_0x37d1a5){return _0x37d1a5[_0x9ae5('0x46')](_0x257ae0[_0x9ae5('0x43')][_0x9ae5('0x48')],_[_0x9ae5('0x49')](_0x257ae0[_0x9ae5('0x43')],['ids','id'])||{});}})[_0x9ae5('0x20')](respondWithResult(_0x4f053f,null))[_0x9ae5('0x3c')](handleError(_0x4f053f,null));};exports[_0x9ae5('0x4a')]=function(_0x261f45,_0x35e315,_0x2eabdd){var _0xa3a9a3={};var _0x1c4ab4={};var _0x50dd4d;var _0x1438a;return db[_0x9ae5('0x27')][_0x9ae5('0x4b')]({'where':{'id':_0x261f45[_0x9ae5('0x3d')]['id']}})[_0x9ae5('0x20')](handleEntityNotFound(_0x35e315,null))[_0x9ae5('0x20')](function(_0x4ba272){if(_0x4ba272){_0x50dd4d=_0x4ba272;_0x1c4ab4[_0x9ae5('0x30')]=_[_0x9ae5('0x2c')](db['Condition'][_0x9ae5('0x28')]);_0x1c4ab4['query']=_[_0x9ae5('0x2c')](_0x261f45[_0x9ae5('0x2b')]);_0x1c4ab4[_0x9ae5('0x2d')]=_[_0x9ae5('0x2e')](_0x1c4ab4[_0x9ae5('0x30')],_0x1c4ab4[_0x9ae5('0x2b')]);_0xa3a9a3[_0x9ae5('0x2f')]=_[_0x9ae5('0x2e')](_0x1c4ab4[_0x9ae5('0x30')],qs[_0x9ae5('0x31')](_0x261f45['query'][_0x9ae5('0x31')]));_0xa3a9a3[_0x9ae5('0x2f')]=_0xa3a9a3[_0x9ae5('0x2f')]['length']?_0xa3a9a3[_0x9ae5('0x2f')]:_0x1c4ab4[_0x9ae5('0x30')];_0xa3a9a3[_0x9ae5('0x4c')]=qs[_0x9ae5('0x34')](_0x261f45['query'][_0x9ae5('0x34')]);_0xa3a9a3[_0x9ae5('0x35')]=qs[_0x9ae5('0x2d')](_[_0x9ae5('0x36')](_0x261f45[_0x9ae5('0x2b')],_0x1c4ab4[_0x9ae5('0x2d')]));if(_0x261f45['query'][_0x9ae5('0x37')]){_0xa3a9a3['where']=_[_0x9ae5('0x40')](_0xa3a9a3[_0x9ae5('0x35')],{'$or':_[_0x9ae5('0x26')](_0xa3a9a3[_0x9ae5('0x2f')],function(_0x1288bc){var _0x5d09a0={};_0x5d09a0[_0x1288bc]={'$like':'%'+_0x261f45[_0x9ae5('0x2b')]['filter']+'%'};return _0x5d09a0;})});}_0xa3a9a3=_[_0x9ae5('0x40')]({},_0xa3a9a3,_0x261f45[_0x9ae5('0x39')]);return _0x50dd4d[_0x9ae5('0x4a')](_0xa3a9a3);}})[_0x9ae5('0x20')](function(_0x42c417){if(_0x42c417){_0x1438a=_0x42c417[_0x9ae5('0x3e')];if(!_0x261f45['query'][_0x9ae5('0x32')](_0x9ae5('0x33'))){_0xa3a9a3[_0x9ae5('0x1a')]=qs[_0x9ae5('0x1a')](_0x261f45[_0x9ae5('0x2b')][_0x9ae5('0x1a')]);_0xa3a9a3[_0x9ae5('0x19')]=qs['offset'](_0x261f45[_0x9ae5('0x2b')][_0x9ae5('0x19')]);}return _0x50dd4d[_0x9ae5('0x4a')](_0xa3a9a3);}})[_0x9ae5('0x20')](function(_0x1f68ac){if(_0x1f68ac){return _0x1f68ac?{'count':_0x1438a,'rows':_0x1f68ac}:null;}})['then'](respondWithResult(_0x35e315,null))['catch'](handleError(_0x35e315,null));};exports[_0x9ae5('0x4d')]=function(_0x5bfbdb,_0x4467a1,_0x582a92){return db[_0x9ae5('0x4e')][_0x9ae5('0x41')]({'where':{'id':_0x5bfbdb[_0x9ae5('0x3d')]['id']}})[_0x9ae5('0x20')](handleEntityNotFound(_0x4467a1,null))[_0x9ae5('0x20')](function(_0xf76215){if(_0xf76215){return _0xf76215[_0x9ae5('0x4d')](_0x5bfbdb['body'][_0x9ae5('0x48')],_[_0x9ae5('0x49')](_0x5bfbdb[_0x9ae5('0x43')],['ids','id'])||{});}})['then'](respondWithResult(_0x4467a1,null))[_0x9ae5('0x3c')](handleError(_0x4467a1,null));};exports[_0x9ae5('0x4f')]=function(_0x3d3df3,_0xe407fb,_0x501737){var _0x508d8d={};var _0x2859b1={};var _0xfef652;var _0x2f7de2;return db[_0x9ae5('0x27')][_0x9ae5('0x4b')]({'where':{'id':_0x3d3df3[_0x9ae5('0x3d')]['id']}})[_0x9ae5('0x20')](handleEntityNotFound(_0xe407fb,null))[_0x9ae5('0x20')](function(_0x4ae701){if(_0x4ae701){_0xfef652=_0x4ae701;_0x2859b1[_0x9ae5('0x30')]=_[_0x9ae5('0x2c')](db[_0x9ae5('0x4e')]['rawAttributes']);_0x2859b1[_0x9ae5('0x2b')]=_[_0x9ae5('0x2c')](_0x3d3df3['query']);_0x2859b1[_0x9ae5('0x2d')]=_[_0x9ae5('0x2e')](_0x2859b1[_0x9ae5('0x30')],_0x2859b1[_0x9ae5('0x2b')]);_0x508d8d[_0x9ae5('0x2f')]=_['intersection'](_0x2859b1[_0x9ae5('0x30')],qs['fields'](_0x3d3df3[_0x9ae5('0x2b')][_0x9ae5('0x31')]));_0x508d8d[_0x9ae5('0x2f')]=_0x508d8d[_0x9ae5('0x2f')]['length']?_0x508d8d[_0x9ae5('0x2f')]:_0x2859b1['model'];_0x508d8d['order']=qs[_0x9ae5('0x34')](_0x3d3df3['query'][_0x9ae5('0x34')]);_0x508d8d[_0x9ae5('0x35')]=qs[_0x9ae5('0x2d')](_[_0x9ae5('0x36')](_0x3d3df3[_0x9ae5('0x2b')],_0x2859b1[_0x9ae5('0x2d')]));if(_0x3d3df3[_0x9ae5('0x2b')][_0x9ae5('0x37')]){_0x508d8d[_0x9ae5('0x35')]=_[_0x9ae5('0x40')](_0x508d8d[_0x9ae5('0x35')],{'$or':_[_0x9ae5('0x26')](_0x508d8d[_0x9ae5('0x2f')],function(_0x3e761d){var _0x4e9a18={};_0x4e9a18[_0x3e761d]={'$like':'%'+_0x3d3df3['query']['filter']+'%'};return _0x4e9a18;})});}_0x508d8d=_[_0x9ae5('0x40')]({},_0x508d8d,_0x3d3df3[_0x9ae5('0x39')]);return _0xfef652[_0x9ae5('0x4f')](_0x508d8d);}})[_0x9ae5('0x20')](function(_0xe54adb){if(_0xe54adb){_0x2f7de2=_0xe54adb[_0x9ae5('0x3e')];if(!_0x3d3df3[_0x9ae5('0x2b')][_0x9ae5('0x32')](_0x9ae5('0x33'))){_0x508d8d[_0x9ae5('0x1a')]=qs[_0x9ae5('0x1a')](_0x3d3df3[_0x9ae5('0x2b')]['limit']);_0x508d8d[_0x9ae5('0x19')]=qs['offset'](_0x3d3df3[_0x9ae5('0x2b')][_0x9ae5('0x19')]);}return _0xfef652[_0x9ae5('0x4f')](_0x508d8d);}})[_0x9ae5('0x20')](function(_0x4fd426){if(_0x4fd426){return _0x4fd426?{'count':_0x2f7de2,'rows':_0x4fd426}:null;}})[_0x9ae5('0x20')](respondWithResult(_0xe407fb,null))[_0x9ae5('0x3c')](handleError(_0xe407fb,null));}; \ No newline at end of file diff --git a/server/api/automation/automation.model.js b/server/api/automation/automation.model.js index 5fc839d..2e7d37f 100644 --- a/server/api/automation/automation.model.js +++ b/server/api/automation/automation.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xc87b=['bluebird','request-promise','path','../../config/environment','./automation.attributes','exports','define','Automation','tools_automations','lodash','util','../../config/logger','api'];(function(_0x3f25db,_0x1d3686){var _0x54f29d=function(_0x2963bb){while(--_0x2963bb){_0x3f25db['push'](_0x3f25db['shift']());}};_0x54f29d(++_0x1d3686);}(_0xc87b,0xb2));var _0xbc87=function(_0x5608a3,_0x5b33c5){_0x5608a3=_0x5608a3-0x0;var _0x1ed50a=_0xc87b[_0x5608a3];return _0x1ed50a;};'use strict';var _=require(_0xbc87('0x0'));var util=require(_0xbc87('0x1'));var logger=require(_0xbc87('0x2'))(_0xbc87('0x3'));var moment=require('moment');var BPromise=require(_0xbc87('0x4'));var rp=require(_0xbc87('0x5'));var fs=require('fs');var path=require(_0xbc87('0x6'));var rimraf=require('rimraf');var config=require(_0xbc87('0x7'));var attributes=require(_0xbc87('0x8'));module[_0xbc87('0x9')]=function(_0x10e25b,_0x5cd215){return _0x10e25b[_0xbc87('0xa')](_0xbc87('0xb'),attributes,{'tableName':_0xbc87('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0xbab7=['./automation.attributes','exports','define','Automation','lodash','util','../../config/logger','api','moment','bluebird','path','../../config/environment'];(function(_0x1e2076,_0x1590ed){var _0x5df1b1=function(_0x344ddb){while(--_0x344ddb){_0x1e2076['push'](_0x1e2076['shift']());}};_0x5df1b1(++_0x1590ed);}(_0xbab7,0x19c));var _0x7bab=function(_0xf53239,_0x493ef3){_0xf53239=_0xf53239-0x0;var _0xf509a3=_0xbab7[_0xf53239];return _0xf509a3;};'use strict';var _=require(_0x7bab('0x0'));var util=require(_0x7bab('0x1'));var logger=require(_0x7bab('0x2'))(_0x7bab('0x3'));var moment=require(_0x7bab('0x4'));var BPromise=require(_0x7bab('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x7bab('0x6'));var rimraf=require('rimraf');var config=require(_0x7bab('0x7'));var attributes=require(_0x7bab('0x8'));module[_0x7bab('0x9')]=function(_0x306137,_0x12defd){return _0x306137[_0x7bab('0xa')](_0x7bab('0xb'),attributes,{'tableName':'tools_automations','paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/automation/automation.rpc.js b/server/api/automation/automation.rpc.js index 73b998e..4d943e1 100644 --- a/server/api/automation/automation.rpc.js +++ b/server/api/automation/automation.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x36f3=['code','error','message','result','catch','util','moment','bluebird','randomstring','ioredis','../../mysqldb','../../config/utils','../../config/logger','rpc','jayson/promise','client','http','request','then','info','Automation,\x20%s,\x20%s','debug','Automation,\x20%s,\x20%s,\x20%s','request\x20sent','stringify'];(function(_0x30cd89,_0x522fdd){var _0x5b9c6d=function(_0x217597){while(--_0x217597){_0x30cd89['push'](_0x30cd89['shift']());}};_0x5b9c6d(++_0x522fdd);}(_0x36f3,0xe6));var _0x336f=function(_0x41d2d4,_0x12bcf4){_0x41d2d4=_0x41d2d4-0x0;var _0x225e0f=_0x36f3[_0x41d2d4];return _0x225e0f;};'use strict';var _=require('lodash');var util=require(_0x336f('0x0'));var moment=require(_0x336f('0x1'));var BPromise=require(_0x336f('0x2'));var rs=require(_0x336f('0x3'));var fs=require('fs');var Redis=require(_0x336f('0x4'));var db=require(_0x336f('0x5'))['db'];var utils=require(_0x336f('0x6'));var logger=require(_0x336f('0x7'))(_0x336f('0x8'));var config=require('../../config/environment');var jayson=require(_0x336f('0x9'));var client=jayson[_0x336f('0xa')][_0x336f('0xb')]({'port':0x232a});function respondWithRpcPromise(_0x4ef72f,_0x56100c,_0x3963d1){return new BPromise(function(_0x3aab62,_0x3218df){return client[_0x336f('0xc')](_0x4ef72f,_0x3963d1)[_0x336f('0xd')](function(_0x176178){logger[_0x336f('0xe')](_0x336f('0xf'),_0x56100c,'request\x20sent');logger[_0x336f('0x10')](_0x336f('0x11'),_0x56100c,_0x336f('0x12'),JSON[_0x336f('0x13')](_0x176178));if(_0x176178['error']){if(_0x176178['error'][_0x336f('0x14')]===0x1f4){logger['error'](_0x336f('0xf'),_0x56100c,_0x176178[_0x336f('0x15')]['message']);return _0x3218df(_0x176178[_0x336f('0x15')][_0x336f('0x16')]);}logger[_0x336f('0x15')](_0x336f('0xf'),_0x56100c,_0x176178[_0x336f('0x15')][_0x336f('0x16')]);return _0x3aab62(_0x176178[_0x336f('0x15')]['message']);}else{logger[_0x336f('0xe')](_0x336f('0xf'),_0x56100c,_0x336f('0x12'));_0x3aab62(_0x176178[_0x336f('0x17')]['message']);}})[_0x336f('0x18')](function(_0x67953f){logger[_0x336f('0x15')](_0x336f('0xf'),_0x56100c,_0x67953f);_0x3218df(_0x67953f);});});} \ No newline at end of file +var _0x285f=['stringify','error','code','message','result','catch','lodash','util','moment','randomstring','ioredis','../../mysqldb','../../config/utils','../../config/logger','rpc','client','http','then','info','Automation,\x20%s,\x20%s','request\x20sent','debug','Automation,\x20%s,\x20%s,\x20%s'];(function(_0x4aa307,_0x4408c3){var _0x1cc4b1=function(_0x287b7c){while(--_0x287b7c){_0x4aa307['push'](_0x4aa307['shift']());}};_0x1cc4b1(++_0x4408c3);}(_0x285f,0x18d));var _0xf285=function(_0x31d6fc,_0x8349f6){_0x31d6fc=_0x31d6fc-0x0;var _0x5e4b7f=_0x285f[_0x31d6fc];return _0x5e4b7f;};'use strict';var _=require(_0xf285('0x0'));var util=require(_0xf285('0x1'));var moment=require(_0xf285('0x2'));var BPromise=require('bluebird');var rs=require(_0xf285('0x3'));var fs=require('fs');var Redis=require(_0xf285('0x4'));var db=require(_0xf285('0x5'))['db'];var utils=require(_0xf285('0x6'));var logger=require(_0xf285('0x7'))(_0xf285('0x8'));var config=require('../../config/environment');var jayson=require('jayson/promise');var client=jayson[_0xf285('0x9')][_0xf285('0xa')]({'port':0x232a});function respondWithRpcPromise(_0x4b586f,_0xf87524,_0x33ca86){return new BPromise(function(_0x30fa58,_0x234547){return client['request'](_0x4b586f,_0x33ca86)[_0xf285('0xb')](function(_0x3f6e39){logger[_0xf285('0xc')](_0xf285('0xd'),_0xf87524,_0xf285('0xe'));logger[_0xf285('0xf')](_0xf285('0x10'),_0xf87524,'request\x20sent',JSON[_0xf285('0x11')](_0x3f6e39));if(_0x3f6e39['error']){if(_0x3f6e39[_0xf285('0x12')][_0xf285('0x13')]===0x1f4){logger['error']('Automation,\x20%s,\x20%s',_0xf87524,_0x3f6e39['error'][_0xf285('0x14')]);return _0x234547(_0x3f6e39['error'][_0xf285('0x14')]);}logger['error'](_0xf285('0xd'),_0xf87524,_0x3f6e39[_0xf285('0x12')][_0xf285('0x14')]);return _0x30fa58(_0x3f6e39[_0xf285('0x12')][_0xf285('0x14')]);}else{logger[_0xf285('0xc')]('Automation,\x20%s,\x20%s',_0xf87524,_0xf285('0xe'));_0x30fa58(_0x3f6e39[_0xf285('0x15')][_0xf285('0x14')]);}})[_0xf285('0x16')](function(_0x2780a8){logger[_0xf285('0x12')](_0xf285('0xd'),_0xf87524,_0x2780a8);_0x234547(_0x2780a8);});});} \ No newline at end of file diff --git a/server/api/automation/index.js b/server/api/automation/index.js index 98b4cc4..7828505 100644 --- a/server/api/automation/index.js +++ b/server/api/automation/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x2f8b=['addActions','put','/:id','delete','destroy','exports','multer','util','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./automation.controller','isAuthenticated','index','get','/:id/conditions','getConditions','/:id/actions','post','create','addConditions'];(function(_0x4bd062,_0x1dadec){var _0x1760dc=function(_0x34aa95){while(--_0x34aa95){_0x4bd062['push'](_0x4bd062['shift']());}};_0x1760dc(++_0x1dadec);}(_0x2f8b,0x96));var _0xb2f8=function(_0x3ca079,_0x4a70bd){_0x3ca079=_0x3ca079-0x0;var _0x435c23=_0x2f8b[_0x3ca079];return _0x435c23;};'use strict';var multer=require(_0xb2f8('0x0'));var util=require(_0xb2f8('0x1'));var path=require('path');var timeout=require(_0xb2f8('0x2'));var express=require(_0xb2f8('0x3'));var router=express[_0xb2f8('0x4')]();var auth=require(_0xb2f8('0x5'));var interaction=require(_0xb2f8('0x6'));var config=require(_0xb2f8('0x7'));var controller=require(_0xb2f8('0x8'));router['get']('/',auth[_0xb2f8('0x9')](),controller[_0xb2f8('0xa')]);router[_0xb2f8('0xb')]('/:id',auth[_0xb2f8('0x9')](),controller['show']);router[_0xb2f8('0xb')](_0xb2f8('0xc'),auth[_0xb2f8('0x9')](),controller[_0xb2f8('0xd')]);router[_0xb2f8('0xb')](_0xb2f8('0xe'),auth[_0xb2f8('0x9')](),controller['getActions']);router[_0xb2f8('0xf')]('/',auth[_0xb2f8('0x9')](),controller[_0xb2f8('0x10')]);router[_0xb2f8('0xf')](_0xb2f8('0xc'),auth[_0xb2f8('0x9')](),controller[_0xb2f8('0x11')]);router[_0xb2f8('0xf')](_0xb2f8('0xe'),auth[_0xb2f8('0x9')](),controller[_0xb2f8('0x12')]);router[_0xb2f8('0x13')](_0xb2f8('0x14'),auth['isAuthenticated'](),controller['update']);router[_0xb2f8('0x15')](_0xb2f8('0x14'),auth['isAuthenticated'](),controller[_0xb2f8('0x16')]);module[_0xb2f8('0x17')]=router; \ No newline at end of file +var _0x111c=['post','addConditions','addActions','put','/:id','update','delete','destroy','exports','path','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./automation.controller','get','isAuthenticated','index','show','/:id/conditions','getConditions','/:id/actions','getActions'];(function(_0x1948c4,_0x3c1003){var _0x41a183=function(_0x453b83){while(--_0x453b83){_0x1948c4['push'](_0x1948c4['shift']());}};_0x41a183(++_0x3c1003);}(_0x111c,0x11d));var _0xc111=function(_0x397e5f,_0x454c8f){_0x397e5f=_0x397e5f-0x0;var _0x5302b8=_0x111c[_0x397e5f];return _0x5302b8;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xc111('0x0'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0xc111('0x1')]();var auth=require(_0xc111('0x2'));var interaction=require(_0xc111('0x3'));var config=require(_0xc111('0x4'));var controller=require(_0xc111('0x5'));router[_0xc111('0x6')]('/',auth[_0xc111('0x7')](),controller[_0xc111('0x8')]);router['get']('/:id',auth['isAuthenticated'](),controller[_0xc111('0x9')]);router[_0xc111('0x6')](_0xc111('0xa'),auth[_0xc111('0x7')](),controller[_0xc111('0xb')]);router[_0xc111('0x6')](_0xc111('0xc'),auth[_0xc111('0x7')](),controller[_0xc111('0xd')]);router['post']('/',auth[_0xc111('0x7')](),controller['create']);router[_0xc111('0xe')]('/:id/conditions',auth[_0xc111('0x7')](),controller[_0xc111('0xf')]);router[_0xc111('0xe')](_0xc111('0xc'),auth[_0xc111('0x7')](),controller[_0xc111('0x10')]);router[_0xc111('0x11')](_0xc111('0x12'),auth[_0xc111('0x7')](),controller[_0xc111('0x13')]);router[_0xc111('0x14')](_0xc111('0x12'),auth[_0xc111('0x7')](),controller[_0xc111('0x15')]);module[_0xc111('0x16')]=router; \ No newline at end of file diff --git a/server/api/campaign/campaign.attributes.js b/server/api/campaign/campaign.attributes.js index 789cdd5..64c1f97 100644 --- a/server/api/campaign/campaign.attributes.js +++ b/server/api/campaign/campaign.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x0ae9=['ASC','DESC','Random\x20Last\x20Digit\x20(min:1,\x20max:15)','Cut\x20Digit\x20(min:1,\x20max:15)','#NoSuchNumber\x20Retry\x20(min:1,\x20max:999)','NoSuchNumber\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)','#Drop\x20Retry\x20(min:1,\x20max:999)','Drop\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)','#Abandoned\x20Retry\x20(min:1,\x20max:999)','Abandoned\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)','#Machine\x20Retry\x20(min:1,\x20max:999)','Machine\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)','#AgentReject\x20Retry\x20(min:1,\x20max:999)','AgentReject\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)','sequelize','exports','STRING','name','ENUM','ivr','BOOLEAN','Active/Disactive\x20Campaign','UNSIGNED','Max\x20200\x20calls.','Originate\x20Timeout\x20Seconds\x20(min:1,\x20max:999)','#Congestion\x20Retry\x20(min:1,\x20max:999)','INTEGER','Congestion\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)','#Busy\x20Retry\x20(min:1,\x20max:999)','Busy\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)','#NoAnswer\x20Retry\x20(min:1,\x20max:999)','NoAnswer\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)','#Global\x20Max\x20Retry\x20(min:1,\x20max:999)','07:00-22:00,*,*,*','always','never','#AMD\x20Initial\x20Silence','#AMD\x20Greeting','#AMD\x20Total\x20Analysis\x20Time','#AMD\x20Min\x20Word\x20Length','#AMD\x20Between\x20Words\x20Silence','#AMD\x20Maximum\x20Number\x20Of\x20Words','#AMD\x20Silence\x20Threshold\x20(min:0,\x20max:32767)','#AMD\x20Maximum\x20Word\x20Length'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x0ae9,0xbe));var _0x90ae=function(_0x51d35a,_0x1cccd0){_0x51d35a=_0x51d35a-0x0;var _0x505443=_0x0ae9[_0x51d35a];return _0x505443;};'use strict';var Sequelize=require(_0x90ae('0x0'));module[_0x90ae('0x1')]={'name':{'type':Sequelize[_0x90ae('0x2')],'unique':_0x90ae('0x3'),'allowNull':![],'validate':{'is':/[A-Za-z0-9._\\+*!-]+/,'notEmpty':!![]}},'type':{'type':Sequelize[_0x90ae('0x4')](_0x90ae('0x5')),'allowNull':![],'defaultValue':_0x90ae('0x5')},'description':{'type':Sequelize[_0x90ae('0x2')]},'active':{'type':Sequelize[_0x90ae('0x6')],'defaultValue':0x0,'comment':_0x90ae('0x7')},'limitCalls':{'type':Sequelize['INTEGER'](0x4)[_0x90ae('0x8')],'defaultValue':0x1e,'validate':{'min':0x1,'max':0xc8},'comment':_0x90ae('0x9')},'dialOriginateCallerIdName':{'type':Sequelize[_0x90ae('0x2')]},'dialOriginateCallerIdNumber':{'type':Sequelize[_0x90ae('0x2')]},'dialOriginateTimeout':{'type':Sequelize['INTEGER'](0x3)[_0x90ae('0x8')],'defaultValue':0x1e,'validate':{'min':0x1,'max':0x3e7},'comment':_0x90ae('0xa')},'dialCongestionMaxRetry':{'type':Sequelize['INTEGER'](0x3)['UNSIGNED'],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0x90ae('0xb')},'dialCongestionRetryFrequency':{'type':Sequelize[_0x90ae('0xc')](0x5)['UNSIGNED'],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0x90ae('0xd')},'dialBusyMaxRetry':{'type':Sequelize['INTEGER'](0x3)['UNSIGNED'],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0x90ae('0xe')},'dialBusyRetryFrequency':{'type':Sequelize[_0x90ae('0xc')](0x5)[_0x90ae('0x8')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0x90ae('0xf')},'dialNoAnswerMaxRetry':{'type':Sequelize[_0x90ae('0xc')](0x3)[_0x90ae('0x8')],'defaultValue':0x3,'comment':_0x90ae('0x10')},'dialNoAnswerRetryFrequency':{'type':Sequelize[_0x90ae('0xc')](0x5)[_0x90ae('0x8')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0x90ae('0x11')},'dialGlobalMaxRetry':{'type':Sequelize[_0x90ae('0xc')](0x3)['UNSIGNED'],'validate':{'min':0x1,'max':0x3e7},'defaultValue':0x4,'comment':_0x90ae('0x12')},'dialTimezone':{'type':Sequelize[_0x90ae('0x2')],'defaultValue':null},'dialGlobalInterval':{'type':Sequelize[_0x90ae('0x2')],'defaultValue':_0x90ae('0x13')},'dialCheckDuplicateType':{'type':Sequelize[_0x90ae('0x4')](_0x90ae('0x14'),_0x90ae('0x15'),'onlyIfOpen'),'defaultValue':_0x90ae('0x14')},'dialAMDActive':{'type':Sequelize['BOOLEAN'],'defaultValue':0x0,'comment':'Active/Disactive\x20AMD'},'dialAMDInitialSilence':{'type':Sequelize['INTEGER'](0x9)['UNSIGNED'],'defaultValue':0x9c4,'validate':{'min':0x0},'comment':_0x90ae('0x16')},'dialAMDGreeting':{'type':Sequelize['INTEGER'](0x9)['UNSIGNED'],'defaultValue':0x5dc,'validate':{'min':0x0},'comment':_0x90ae('0x17')},'dialAMDAfterGreetingSilence':{'type':Sequelize[_0x90ae('0xc')](0x9)[_0x90ae('0x8')],'defaultValue':0x320,'validate':{'min':0x0},'comment':'#AMD\x20After\x20Greeting\x20Silence'},'dialAMDTotalAnalysisTime':{'type':Sequelize['INTEGER'](0x9)[_0x90ae('0x8')],'defaultValue':0x1388,'validate':{'min':0x0},'comment':_0x90ae('0x18')},'dialAMDMinWordLength':{'type':Sequelize[_0x90ae('0xc')](0x9)[_0x90ae('0x8')],'defaultValue':0x64,'validate':{'min':0x0},'comment':_0x90ae('0x19')},'dialAMDBetweenWordsSilence':{'type':Sequelize['INTEGER'](0x9)[_0x90ae('0x8')],'defaultValue':0x32,'validate':{'min':0x0},'comment':_0x90ae('0x1a')},'dialAMDMaximumNumberOfWords':{'type':Sequelize['INTEGER'](0x9)[_0x90ae('0x8')],'defaultValue':0x3,'validate':{'min':0x0},'comment':_0x90ae('0x1b')},'dialAMDSilenceThreshold':{'type':Sequelize[_0x90ae('0xc')](0x5)[_0x90ae('0x8')],'validate':{'min':0x0,'max':0x7fff},'defaultValue':0x100,'comment':_0x90ae('0x1c')},'dialAMDMaximumWordLength':{'type':Sequelize[_0x90ae('0xc')](0x9)[_0x90ae('0x8')],'defaultValue':0x1388,'validate':{'min':0x0},'comment':_0x90ae('0x1d')},'dialOrderByScheduledAt':{'type':Sequelize['ENUM']('DESC',_0x90ae('0x1e')),'defaultValue':_0x90ae('0x1f')},'dialPrefix':{'type':Sequelize[_0x90ae('0x2')],'defaultValue':null},'dialRandomLastDigitCallerIdNumber':{'type':Sequelize[_0x90ae('0xc')](0x3)[_0x90ae('0x8')],'validate':{'min':0x0,'max':0xf},'defaultValue':0x0,'comment':_0x90ae('0x20')},'dialCutDigit':{'type':Sequelize[_0x90ae('0xc')](0x3)['UNSIGNED'],'validate':{'min':0x0,'max':0xf},'defaultValue':0x0,'comment':_0x90ae('0x21')},'dialNoSuchNumberMaxRetry':{'type':Sequelize['INTEGER'](0x3)[_0x90ae('0x8')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0x90ae('0x22')},'dialNoSuchNumberRetryFrequency':{'type':Sequelize[_0x90ae('0xc')](0x5)[_0x90ae('0x8')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0x90ae('0x23')},'dialDropMaxRetry':{'type':Sequelize[_0x90ae('0xc')](0x3)[_0x90ae('0x8')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0x90ae('0x24')},'dialDropRetryFrequency':{'type':Sequelize[_0x90ae('0xc')](0x5)[_0x90ae('0x8')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0x90ae('0x25')},'dialAbandonedMaxRetry':{'type':Sequelize[_0x90ae('0xc')](0x3)[_0x90ae('0x8')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0x90ae('0x26')},'dialAbandonedRetryFrequency':{'type':Sequelize[_0x90ae('0xc')](0x5)[_0x90ae('0x8')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0x90ae('0x27')},'dialMachineMaxRetry':{'type':Sequelize[_0x90ae('0xc')](0x3)[_0x90ae('0x8')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0x90ae('0x28')},'dialMachineRetryFrequency':{'type':Sequelize['INTEGER'](0x5)[_0x90ae('0x8')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0x90ae('0x29')},'dialAgentRejectMaxRetry':{'type':Sequelize[_0x90ae('0xc')](0x3)[_0x90ae('0x8')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0x90ae('0x2a')},'dialAgentRejectRetryFrequency':{'type':Sequelize[_0x90ae('0xc')](0x5)['UNSIGNED'],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0x90ae('0x2b')}}; \ No newline at end of file +var _0xf629=['#Machine\x20Retry\x20(min:1,\x20max:999)','#AgentReject\x20Retry\x20(min:1,\x20max:999)','AgentReject\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)','exports','STRING','name','ENUM','ivr','INTEGER','UNSIGNED','Max\x20200\x20calls.','Originate\x20Timeout\x20Seconds\x20(min:1,\x20max:999)','#Congestion\x20Retry\x20(min:1,\x20max:999)','Congestion\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)','#Busy\x20Retry\x20(min:1,\x20max:999)','Busy\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)','#Global\x20Max\x20Retry\x20(min:1,\x20max:999)','07:00-22:00,*,*,*','always','never','onlyIfOpen','BOOLEAN','Active/Disactive\x20AMD','#AMD\x20Initial\x20Silence','#AMD\x20Greeting','#AMD\x20After\x20Greeting\x20Silence','#AMD\x20Total\x20Analysis\x20Time','#AMD\x20Min\x20Word\x20Length','#AMD\x20Maximum\x20Number\x20Of\x20Words','DESC','ASC','#Drop\x20Retry\x20(min:1,\x20max:999)','Drop\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)','#Abandoned\x20Retry\x20(min:1,\x20max:999)','Abandoned\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0xf629,0x1ed));var _0x9f62=function(_0x560e64,_0x3b0905){_0x560e64=_0x560e64-0x0;var _0x5a9701=_0xf629[_0x560e64];return _0x5a9701;};'use strict';var Sequelize=require('sequelize');module[_0x9f62('0x0')]={'name':{'type':Sequelize[_0x9f62('0x1')],'unique':_0x9f62('0x2'),'allowNull':![],'validate':{'is':/[A-Za-z0-9._\\+*!-]+/,'notEmpty':!![]}},'type':{'type':Sequelize[_0x9f62('0x3')](_0x9f62('0x4')),'allowNull':![],'defaultValue':_0x9f62('0x4')},'description':{'type':Sequelize[_0x9f62('0x1')]},'active':{'type':Sequelize['BOOLEAN'],'defaultValue':0x0,'comment':'Active/Disactive\x20Campaign'},'limitCalls':{'type':Sequelize[_0x9f62('0x5')](0x4)[_0x9f62('0x6')],'defaultValue':0x1e,'validate':{'min':0x1,'max':0xc8},'comment':_0x9f62('0x7')},'dialOriginateCallerIdName':{'type':Sequelize['STRING']},'dialOriginateCallerIdNumber':{'type':Sequelize['STRING']},'dialOriginateTimeout':{'type':Sequelize[_0x9f62('0x5')](0x3)[_0x9f62('0x6')],'defaultValue':0x1e,'validate':{'min':0x1,'max':0x3e7},'comment':_0x9f62('0x8')},'dialCongestionMaxRetry':{'type':Sequelize['INTEGER'](0x3)[_0x9f62('0x6')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0x9f62('0x9')},'dialCongestionRetryFrequency':{'type':Sequelize[_0x9f62('0x5')](0x5)['UNSIGNED'],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0x9f62('0xa')},'dialBusyMaxRetry':{'type':Sequelize[_0x9f62('0x5')](0x3)[_0x9f62('0x6')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0x9f62('0xb')},'dialBusyRetryFrequency':{'type':Sequelize['INTEGER'](0x5)[_0x9f62('0x6')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0x9f62('0xc')},'dialNoAnswerMaxRetry':{'type':Sequelize[_0x9f62('0x5')](0x3)[_0x9f62('0x6')],'defaultValue':0x3,'comment':'#NoAnswer\x20Retry\x20(min:1,\x20max:999)'},'dialNoAnswerRetryFrequency':{'type':Sequelize[_0x9f62('0x5')](0x5)[_0x9f62('0x6')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':'NoAnswer\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)'},'dialGlobalMaxRetry':{'type':Sequelize[_0x9f62('0x5')](0x3)['UNSIGNED'],'validate':{'min':0x1,'max':0x3e7},'defaultValue':0x4,'comment':_0x9f62('0xd')},'dialTimezone':{'type':Sequelize['STRING'],'defaultValue':null},'dialGlobalInterval':{'type':Sequelize[_0x9f62('0x1')],'defaultValue':_0x9f62('0xe')},'dialCheckDuplicateType':{'type':Sequelize['ENUM'](_0x9f62('0xf'),_0x9f62('0x10'),_0x9f62('0x11')),'defaultValue':_0x9f62('0xf')},'dialAMDActive':{'type':Sequelize[_0x9f62('0x12')],'defaultValue':0x0,'comment':_0x9f62('0x13')},'dialAMDInitialSilence':{'type':Sequelize['INTEGER'](0x9)[_0x9f62('0x6')],'defaultValue':0x9c4,'validate':{'min':0x0},'comment':_0x9f62('0x14')},'dialAMDGreeting':{'type':Sequelize[_0x9f62('0x5')](0x9)[_0x9f62('0x6')],'defaultValue':0x5dc,'validate':{'min':0x0},'comment':_0x9f62('0x15')},'dialAMDAfterGreetingSilence':{'type':Sequelize['INTEGER'](0x9)['UNSIGNED'],'defaultValue':0x320,'validate':{'min':0x0},'comment':_0x9f62('0x16')},'dialAMDTotalAnalysisTime':{'type':Sequelize[_0x9f62('0x5')](0x9)['UNSIGNED'],'defaultValue':0x1388,'validate':{'min':0x0},'comment':_0x9f62('0x17')},'dialAMDMinWordLength':{'type':Sequelize[_0x9f62('0x5')](0x9)[_0x9f62('0x6')],'defaultValue':0x64,'validate':{'min':0x0},'comment':_0x9f62('0x18')},'dialAMDBetweenWordsSilence':{'type':Sequelize[_0x9f62('0x5')](0x9)[_0x9f62('0x6')],'defaultValue':0x32,'validate':{'min':0x0},'comment':'#AMD\x20Between\x20Words\x20Silence'},'dialAMDMaximumNumberOfWords':{'type':Sequelize[_0x9f62('0x5')](0x9)[_0x9f62('0x6')],'defaultValue':0x3,'validate':{'min':0x0},'comment':_0x9f62('0x19')},'dialAMDSilenceThreshold':{'type':Sequelize['INTEGER'](0x5)['UNSIGNED'],'validate':{'min':0x0,'max':0x7fff},'defaultValue':0x100,'comment':'#AMD\x20Silence\x20Threshold\x20(min:0,\x20max:32767)'},'dialAMDMaximumWordLength':{'type':Sequelize[_0x9f62('0x5')](0x9)[_0x9f62('0x6')],'defaultValue':0x1388,'validate':{'min':0x0},'comment':'#AMD\x20Maximum\x20Word\x20Length'},'dialOrderByScheduledAt':{'type':Sequelize[_0x9f62('0x3')](_0x9f62('0x1a'),_0x9f62('0x1b')),'defaultValue':_0x9f62('0x1a')},'dialPrefix':{'type':Sequelize[_0x9f62('0x1')],'defaultValue':null},'dialRandomLastDigitCallerIdNumber':{'type':Sequelize['INTEGER'](0x3)[_0x9f62('0x6')],'validate':{'min':0x0,'max':0xf},'defaultValue':0x0,'comment':'Random\x20Last\x20Digit\x20(min:1,\x20max:15)'},'dialCutDigit':{'type':Sequelize[_0x9f62('0x5')](0x3)[_0x9f62('0x6')],'validate':{'min':0x0,'max':0xf},'defaultValue':0x0,'comment':'Cut\x20Digit\x20(min:1,\x20max:15)'},'dialNoSuchNumberMaxRetry':{'type':Sequelize[_0x9f62('0x5')](0x3)[_0x9f62('0x6')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':'#NoSuchNumber\x20Retry\x20(min:1,\x20max:999)'},'dialNoSuchNumberRetryFrequency':{'type':Sequelize[_0x9f62('0x5')](0x5)[_0x9f62('0x6')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':'NoSuchNumber\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)'},'dialDropMaxRetry':{'type':Sequelize[_0x9f62('0x5')](0x3)[_0x9f62('0x6')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0x9f62('0x1c')},'dialDropRetryFrequency':{'type':Sequelize['INTEGER'](0x5)[_0x9f62('0x6')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0x9f62('0x1d')},'dialAbandonedMaxRetry':{'type':Sequelize['INTEGER'](0x3)[_0x9f62('0x6')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0x9f62('0x1e')},'dialAbandonedRetryFrequency':{'type':Sequelize[_0x9f62('0x5')](0x5)[_0x9f62('0x6')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0x9f62('0x1f')},'dialMachineMaxRetry':{'type':Sequelize['INTEGER'](0x3)['UNSIGNED'],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0x9f62('0x20')},'dialMachineRetryFrequency':{'type':Sequelize[_0x9f62('0x5')](0x5)[_0x9f62('0x6')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':'Machine\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)'},'dialAgentRejectMaxRetry':{'type':Sequelize[_0x9f62('0x5')](0x3)[_0x9f62('0x6')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0x9f62('0x21')},'dialAgentRejectRetryFrequency':{'type':Sequelize[_0x9f62('0x5')](0x5)[_0x9f62('0x6')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0x9f62('0x22')}}; \ No newline at end of file diff --git a/server/api/campaign/campaign.controller.js b/server/api/campaign/campaign.controller.js index 57220d2..c599678 100644 --- a/server/api/campaign/campaign.controller.js +++ b/server/api/campaign/campaign.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x11f2=['insert','into','cm_hopper','phone','scheduledAt','ListId','select','field','NOW()','from','cm_contacts','deletedAt\x20IS\x20NULL','ListId\x20=\x20?','CmListId','toString','phone\x20IS\x20NOT\x20NULL','phone\x20NOT\x20IN\x20(?)','COALESCE(calleridnum,\x27\x27)','cm_hopper_final','COALESCE(phone,\x27\x27)','CampaignId\x20=\x20?','onlyIfOpen','fromQuery','ContactId','push','sequelize','all','removeLists','getBlackLists','addBlackLists','cm_hopper_black','removeBlackLists','rimraf','zip-dir','fast-json-patch','request-promise','moment','mustache','util','path','sox','to-csv','ejs','squel','crypto','jsforce','querystring','ioredis','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','sendStatus','status','json','count','offset','limit','Content-Range','apply','reject','update','destroy','get','UserProfileResource','then','end','name','send','map','rawAttributes','key','model','filters','intersection','attributes','fields','query','order','sort','where','pick','filter','type','options','Campaign','includeAll','include','rows','catch','show','params','keys','length','create','user','Unable\x20to\x20retrieve\x20the\x20current\x20user','role','IvrCampaigns','UserProfileSection','find','userProfileId','autoAssociation','error','clone','merge','omit','updatedAt','body','createdAt','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','getHoppers','findOne','CmHopper','nolimit','CampaignId','findAll','getHopperHistories','hasOwnProperty','CmHopperHistory','CmHopperFinal','getHopperBlacks','CmHopperBlack','getLists','CmList','addLists','ids','spread','dialCheckDuplicateType','always'];(function(_0x30df8d,_0xaed1cd){var _0x42c213=function(_0x5a1a6f){while(--_0x5a1a6f){_0x30df8d['push'](_0x30df8d['shift']());}};_0x42c213(++_0xaed1cd);}(_0x11f2,0xa6));var _0x211f=function(_0x3a4660,_0x1cbf6f){_0x3a4660=_0x3a4660-0x0;var _0x518b2d=_0x11f2[_0x3a4660];return _0x518b2d;};'use strict';var pdf=require('html-pdf');var emlformat=require('eml-format');var rimraf=require(_0x211f('0x0'));var zipdir=require(_0x211f('0x1'));var jsonpatch=require(_0x211f('0x2'));var rp=require(_0x211f('0x3'));var moment=require(_0x211f('0x4'));var BPromise=require('bluebird');var Mustache=require(_0x211f('0x5'));var util=require(_0x211f('0x6'));var path=require(_0x211f('0x7'));var sox=require(_0x211f('0x8'));var csv=require(_0x211f('0x9'));var ejs=require(_0x211f('0xa'));var fs=require('fs');var _=require('lodash');var squel=require(_0x211f('0xb'));var crypto=require(_0x211f('0xc'));var jsforce=require(_0x211f('0xd'));var deskjs=require('desk.js');var toCsv=require(_0x211f('0x9'));var querystring=require(_0x211f('0xe'));var Papa=require('papaparse');var Redis=require(_0x211f('0xf'));var authService=require('../../components/auth/service');var qs=require(_0x211f('0x10'));var as=require(_0x211f('0x11'));var hardwareService=require(_0x211f('0x12'));var logger=require(_0x211f('0x13'))(_0x211f('0x14'));var utils=require(_0x211f('0x15'));var config=require(_0x211f('0x16'));var db=require(_0x211f('0x17'))['db'];function respondWithStatusCode(_0x2e53ec,_0x1dd0ac){_0x1dd0ac=_0x1dd0ac||0xcc;return function(_0x53044e){if(_0x53044e){return _0x2e53ec[_0x211f('0x18')](_0x1dd0ac);}return _0x2e53ec['status'](_0x1dd0ac)['end']();};}function respondWithResult(_0xa1b055,_0x6a27fe){_0x6a27fe=_0x6a27fe||0xc8;return function(_0x59ec1c){if(_0x59ec1c){return _0xa1b055[_0x211f('0x19')](_0x6a27fe)[_0x211f('0x1a')](_0x59ec1c);}};}function respondWithFilteredResult(_0x39f6da,_0x2c6093){return function(_0x4396d3){if(_0x4396d3){var _0x27b655=_0x4396d3[_0x211f('0x1b')],_0x12a218=_0x2c6093[_0x211f('0x1c')],_0x1399f2=_0x2c6093['offset']+_0x2c6093[_0x211f('0x1d')],_0x1145bb;if(_0x1399f2>=_0x27b655){_0x1399f2=_0x27b655;_0x1145bb=0xc8;}else{_0x1145bb=0xce;}_0x39f6da[_0x211f('0x19')](_0x1145bb);return _0x39f6da['set'](_0x211f('0x1e'),_0x12a218+'-'+_0x1399f2+'/'+_0x27b655)[_0x211f('0x1a')](_0x4396d3);}return null;};}function patchUpdates(_0x2866fd){return function(_0x1fa328){try{jsonpatch[_0x211f('0x1f')](_0x1fa328,_0x2866fd,!![]);}catch(_0x5a3644){return BPromise[_0x211f('0x20')](_0x5a3644);}return _0x1fa328['save']();};}function saveUpdates(_0x5ca62d,_0x55a2a0){return function(_0xc30b03){if(_0xc30b03){return _0xc30b03[_0x211f('0x21')](_0x5ca62d)['then'](function(_0x53579c){return _0x53579c;});}return null;};}function removeEntity(_0x39bdf3,_0x35dcb5){return function(_0x4f7050){if(_0x4f7050){return _0x4f7050[_0x211f('0x22')]()['then'](function(){var _0x8d6eaa=_0x4f7050[_0x211f('0x23')]({'plain':!![]});var _0x2991d9='IvrCampaigns';return db[_0x211f('0x24')][_0x211f('0x22')]({'where':{'type':_0x2991d9,'resourceId':_0x8d6eaa['id']}})['then'](function(){return _0x4f7050;});})[_0x211f('0x25')](function(){_0x39bdf3[_0x211f('0x19')](0xcc)[_0x211f('0x26')]();});}};}function handleEntityNotFound(_0x2c733c,_0xbf42f8){return function(_0x10fcd2){if(!_0x10fcd2){_0x2c733c[_0x211f('0x18')](0x194);}return _0x10fcd2;};}function handleError(_0x2044bb,_0x4eb0a1){_0x4eb0a1=_0x4eb0a1||0x1f4;return function(_0x58451c){logger['error'](_0x58451c['stack']);if(_0x58451c[_0x211f('0x27')]){delete _0x58451c[_0x211f('0x27')];}_0x2044bb['status'](_0x4eb0a1)[_0x211f('0x28')](_0x58451c);};}exports['index']=function(_0x2470db,_0x4e0f25){var _0x534fce={},_0x1b758c={},_0x1a3c01={'count':0x0,'rows':[]};var _0x17ca88=_[_0x211f('0x29')](db['Campaign'][_0x211f('0x2a')],function(_0x38cbb4){return{'name':_0x38cbb4['fieldName'],'type':_0x38cbb4['type'][_0x211f('0x2b')]};});_0x1b758c[_0x211f('0x2c')]=_['map'](_0x17ca88,_0x211f('0x27'));_0x1b758c['query']=_['keys'](_0x2470db['query']);_0x1b758c[_0x211f('0x2d')]=_[_0x211f('0x2e')](_0x1b758c['model'],_0x1b758c['query']);_0x534fce[_0x211f('0x2f')]=_['intersection'](_0x1b758c[_0x211f('0x2c')],qs[_0x211f('0x30')](_0x2470db[_0x211f('0x31')][_0x211f('0x30')]));_0x534fce[_0x211f('0x2f')]=_0x534fce[_0x211f('0x2f')]['length']?_0x534fce[_0x211f('0x2f')]:_0x1b758c[_0x211f('0x2c')];if(!_0x2470db[_0x211f('0x31')]['hasOwnProperty']('nolimit')){_0x534fce[_0x211f('0x1d')]=qs[_0x211f('0x1d')](_0x2470db[_0x211f('0x31')][_0x211f('0x1d')]);_0x534fce['offset']=qs[_0x211f('0x1c')](_0x2470db['query'][_0x211f('0x1c')]);}_0x534fce[_0x211f('0x32')]=qs[_0x211f('0x33')](_0x2470db[_0x211f('0x31')][_0x211f('0x33')]);_0x534fce[_0x211f('0x34')]=qs[_0x211f('0x2d')](_[_0x211f('0x35')](_0x2470db[_0x211f('0x31')],_0x1b758c[_0x211f('0x2d')]),_0x17ca88);if(_0x2470db[_0x211f('0x31')][_0x211f('0x36')]){_0x534fce[_0x211f('0x34')]=_['merge'](_0x534fce[_0x211f('0x34')],{'$or':_['map'](_0x17ca88,function(_0x42a147){if(_0x42a147[_0x211f('0x37')]!=='VIRTUAL'){var _0x1bb08b={};_0x1bb08b[_0x42a147[_0x211f('0x27')]]={'$like':'%'+_0x2470db[_0x211f('0x31')][_0x211f('0x36')]+'%'};return _0x1bb08b;}})});}_0x534fce=_['merge']({},_0x534fce,_0x2470db[_0x211f('0x38')]);var _0x328e99={'where':_0x534fce[_0x211f('0x34')]};return db[_0x211f('0x39')]['count'](_0x328e99)[_0x211f('0x25')](function(_0x397890){_0x1a3c01[_0x211f('0x1b')]=_0x397890;if(_0x2470db[_0x211f('0x31')][_0x211f('0x3a')]){_0x534fce[_0x211f('0x3b')]=[{'all':!![]}];}return db['Campaign']['findAll'](_0x534fce);})[_0x211f('0x25')](function(_0x50e693){_0x1a3c01[_0x211f('0x3c')]=_0x50e693;return _0x1a3c01;})[_0x211f('0x25')](respondWithFilteredResult(_0x4e0f25,_0x534fce))[_0x211f('0x3d')](handleError(_0x4e0f25,null));};exports[_0x211f('0x3e')]=function(_0x449ab0,_0x5b846b){var _0x281835={'raw':![],'where':{'id':_0x449ab0[_0x211f('0x3f')]['id']}},_0x5b5c69={};_0x5b5c69[_0x211f('0x2c')]=_[_0x211f('0x40')](db[_0x211f('0x39')]['rawAttributes']);_0x5b5c69['query']=_['keys'](_0x449ab0['query']);_0x5b5c69[_0x211f('0x2d')]=_[_0x211f('0x2e')](_0x5b5c69[_0x211f('0x2c')],_0x5b5c69[_0x211f('0x31')]);_0x281835[_0x211f('0x2f')]=_['intersection'](_0x5b5c69[_0x211f('0x2c')],qs[_0x211f('0x30')](_0x449ab0[_0x211f('0x31')][_0x211f('0x30')]));_0x281835[_0x211f('0x2f')]=_0x281835[_0x211f('0x2f')][_0x211f('0x41')]?_0x281835[_0x211f('0x2f')]:_0x5b5c69[_0x211f('0x2c')];if(_0x449ab0[_0x211f('0x31')][_0x211f('0x3a')]){_0x281835[_0x211f('0x3b')]=[{'all':!![]}];}_0x281835=_['merge']({},_0x281835,_0x449ab0['options']);return db[_0x211f('0x39')]['find'](_0x281835)[_0x211f('0x25')](handleEntityNotFound(_0x5b846b,null))[_0x211f('0x25')](respondWithResult(_0x5b846b,null))[_0x211f('0x3d')](handleError(_0x5b846b,null));};exports[_0x211f('0x42')]=function(_0x3a01c5,_0x3b8e10){return db[_0x211f('0x39')][_0x211f('0x42')](_0x3a01c5['body'],{})['then'](function(_0x32757c){var _0x48e328=_0x3a01c5[_0x211f('0x43')][_0x211f('0x23')]({'plain':!![]});if(!_0x48e328)throw new Error(_0x211f('0x44'));if(_0x48e328[_0x211f('0x45')]===_0x211f('0x43')){var _0x14978a=_0x32757c['get']({'plain':!![]});var _0x282c41=_0x211f('0x46');return db[_0x211f('0x47')][_0x211f('0x48')]({'where':{'name':_0x282c41,'userProfileId':_0x48e328[_0x211f('0x49')]},'raw':!![]})['then'](function(_0x4ff089){if(_0x4ff089&&_0x4ff089[_0x211f('0x4a')]===0x0){return db[_0x211f('0x24')][_0x211f('0x42')]({'name':_0x14978a[_0x211f('0x27')],'resourceId':_0x14978a['id'],'type':_0x4ff089[_0x211f('0x27')],'sectionId':_0x4ff089['id']},{})[_0x211f('0x25')](function(){return _0x32757c;});}else{return _0x32757c;}})[_0x211f('0x3d')](function(_0x3c6640){logger[_0x211f('0x4b')]('Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s',_0x3c6640);throw _0x3c6640;});}return _0x32757c;})[_0x211f('0x25')](respondWithResult(_0x3b8e10,0xc9))['catch'](handleError(_0x3b8e10,null));};exports[_0x211f('0x4c')]=function(_0x378ce4,_0x30cb8c){var _0x513bd2={'where':{'id':_0x378ce4[_0x211f('0x3f')]['id']}},_0x5e7b9d={};_0x5e7b9d[_0x211f('0x2c')]=_[_0x211f('0x40')](db['Campaign'][_0x211f('0x2a')]);_0x513bd2[_0x211f('0x2f')]=_[_0x211f('0x2e')](_0x5e7b9d[_0x211f('0x2c')],qs['fields'](_0x378ce4[_0x211f('0x31')]['fields']));_0x513bd2[_0x211f('0x2f')]=_0x513bd2[_0x211f('0x2f')][_0x211f('0x41')]?_0x513bd2['attributes']:_0x5e7b9d[_0x211f('0x2c')];if(_0x378ce4[_0x211f('0x31')][_0x211f('0x3a')]){_0x513bd2[_0x211f('0x3b')]=[{'all':!![]}];}_0x513bd2=_[_0x211f('0x4d')]({},_0x513bd2,_0x378ce4[_0x211f('0x38')]);return db[_0x211f('0x39')][_0x211f('0x48')](_0x513bd2)[_0x211f('0x25')](handleEntityNotFound(_0x30cb8c,null))['then'](function(_0x476f35){if(_0x476f35){var _0x4f32a0=_0x476f35[_0x211f('0x23')]({'plain':!![]});_0x4f32a0=qs[_0x211f('0x4e')](_0x4f32a0,['id','createdAt',_0x211f('0x4f')]);_0x378ce4[_0x211f('0x50')]=_[_0x211f('0x4e')](_0x378ce4[_0x211f('0x50')],['id',_0x211f('0x51'),_0x211f('0x4f')]);return db[_0x211f('0x39')]['create'](_[_0x211f('0x4d')](_0x4f32a0,_0x378ce4[_0x211f('0x50')]),{'include':_0x378ce4['query'][_0x211f('0x3a')]?[{'all':!![]}]:undefined})[_0x211f('0x25')](function(_0x4cb32b){var _0x5d3a53=_0x378ce4[_0x211f('0x43')][_0x211f('0x23')]({'plain':!![]});if(!_0x5d3a53)throw new Error('Unable\x20to\x20retrieve\x20the\x20current\x20user');if(_0x5d3a53[_0x211f('0x45')]===_0x211f('0x43')){var _0xff2e2b=_0x4cb32b[_0x211f('0x23')]({'plain':!![]});var _0x5b8aa=_0x211f('0x46');return db['UserProfileSection'][_0x211f('0x48')]({'where':{'name':_0x5b8aa,'userProfileId':_0x5d3a53[_0x211f('0x49')]},'raw':!![]})[_0x211f('0x25')](function(_0x3c2d9e){if(_0x3c2d9e&&_0x3c2d9e[_0x211f('0x4a')]===0x0){return db[_0x211f('0x24')][_0x211f('0x42')]({'name':_0xff2e2b[_0x211f('0x27')],'resourceId':_0xff2e2b['id'],'type':_0x3c2d9e['name'],'sectionId':_0x3c2d9e['id']},{})[_0x211f('0x25')](function(){return _0x4cb32b;});}else{return _0x4cb32b;}})[_0x211f('0x3d')](function(_0x5039e0){logger[_0x211f('0x4b')](_0x211f('0x52'),_0x5039e0);throw _0x5039e0;});}return _0x4cb32b;});}})[_0x211f('0x25')](respondWithResult(_0x30cb8c,0xc9))[_0x211f('0x3d')](handleError(_0x30cb8c,null));};exports['update']=function(_0x1bf2b4,_0x5b931e){if(_0x1bf2b4[_0x211f('0x50')]['id']){delete _0x1bf2b4[_0x211f('0x50')]['id'];}return db[_0x211f('0x39')]['find']({'where':{'id':_0x1bf2b4[_0x211f('0x3f')]['id']}})['then'](handleEntityNotFound(_0x5b931e,null))[_0x211f('0x25')](saveUpdates(_0x1bf2b4[_0x211f('0x50')],null))[_0x211f('0x25')](respondWithResult(_0x5b931e,null))['catch'](handleError(_0x5b931e,null));};exports[_0x211f('0x22')]=function(_0xf040df,_0xa2961a){return db[_0x211f('0x39')][_0x211f('0x48')]({'where':{'id':_0xf040df[_0x211f('0x3f')]['id']}})['then'](handleEntityNotFound(_0xa2961a,null))[_0x211f('0x25')](removeEntity(_0xa2961a,null))[_0x211f('0x3d')](handleError(_0xa2961a,null));};exports[_0x211f('0x53')]=function(_0x53ee83,_0x4bda9d,_0x1feadb){var _0x391508={'raw':!![],'where':{}};var _0x5b9aa2={};var _0x100fad={'count':0x0,'rows':[]};return db[_0x211f('0x39')][_0x211f('0x54')]({'where':{'id':_0x53ee83['params']['id']}})[_0x211f('0x25')](handleEntityNotFound(_0x4bda9d,null))['then'](function(_0x30a609){if(_0x30a609){_0x5b9aa2['model']=_['keys'](db[_0x211f('0x55')][_0x211f('0x2a')]);_0x5b9aa2[_0x211f('0x31')]=_[_0x211f('0x40')](_0x53ee83[_0x211f('0x31')]);_0x5b9aa2[_0x211f('0x2d')]=_[_0x211f('0x2e')](_0x5b9aa2[_0x211f('0x2c')],_0x5b9aa2[_0x211f('0x31')]);_0x391508[_0x211f('0x2f')]=_['intersection'](_0x5b9aa2[_0x211f('0x2c')],qs[_0x211f('0x30')](_0x53ee83[_0x211f('0x31')]['fields']));_0x391508['attributes']=_0x391508['attributes'][_0x211f('0x41')]?_0x391508['attributes']:_0x5b9aa2[_0x211f('0x2c')];if(!_0x53ee83[_0x211f('0x31')]['hasOwnProperty'](_0x211f('0x56'))){_0x391508[_0x211f('0x1d')]=qs[_0x211f('0x1d')](_0x53ee83['query'][_0x211f('0x1d')]);_0x391508['offset']=qs[_0x211f('0x1c')](_0x53ee83[_0x211f('0x31')][_0x211f('0x1c')]);}_0x391508[_0x211f('0x32')]=qs['sort'](_0x53ee83['query'][_0x211f('0x33')]);_0x391508[_0x211f('0x34')]=qs[_0x211f('0x2d')](_['pick'](_0x53ee83[_0x211f('0x31')],_0x5b9aa2['filters']));_0x391508[_0x211f('0x34')][_0x211f('0x57')]=_0x30a609['id'];if(_0x53ee83[_0x211f('0x31')]['filter']){_0x391508[_0x211f('0x34')]=_[_0x211f('0x4d')](_0x391508[_0x211f('0x34')],{'$or':_[_0x211f('0x29')](_0x391508[_0x211f('0x2f')],function(_0x1c7523){var _0x19df7c={};_0x19df7c[_0x1c7523]={'$like':'%'+_0x53ee83['query'][_0x211f('0x36')]+'%'};return _0x19df7c;})});}_0x391508=_[_0x211f('0x4d')]({},_0x391508,_0x53ee83[_0x211f('0x38')]);return db[_0x211f('0x55')][_0x211f('0x1b')]({'where':_0x391508[_0x211f('0x34')]})[_0x211f('0x25')](function(_0x47a9f6){_0x100fad[_0x211f('0x1b')]=_0x47a9f6;if(_0x53ee83[_0x211f('0x31')][_0x211f('0x3a')]){_0x391508[_0x211f('0x3b')]=[{'all':!![]}];}return db[_0x211f('0x55')][_0x211f('0x58')](_0x391508);})[_0x211f('0x25')](function(_0x5593ac){_0x100fad[_0x211f('0x3c')]=_0x5593ac;return _0x100fad;});}})['then'](respondWithFilteredResult(_0x4bda9d,_0x391508))['catch'](handleError(_0x4bda9d,null));};exports[_0x211f('0x59')]=function(_0x1e4140,_0x4c2d4d,_0x5508e6){var _0x128aec={'raw':!![],'where':{}};var _0x3cf032={};var _0x28b3ff={'count':0x0,'rows':[]};return db['Campaign']['findOne']({'where':{'id':_0x1e4140[_0x211f('0x3f')]['id']}})[_0x211f('0x25')](handleEntityNotFound(_0x4c2d4d,null))[_0x211f('0x25')](function(_0x579f19){if(_0x579f19){_0x3cf032['model']=_[_0x211f('0x40')](db['CmHopperHistory'][_0x211f('0x2a')]);_0x3cf032[_0x211f('0x31')]=_[_0x211f('0x40')](_0x1e4140[_0x211f('0x31')]);_0x3cf032[_0x211f('0x2d')]=_[_0x211f('0x2e')](_0x3cf032['model'],_0x3cf032[_0x211f('0x31')]);_0x128aec[_0x211f('0x2f')]=_[_0x211f('0x2e')](_0x3cf032[_0x211f('0x2c')],qs[_0x211f('0x30')](_0x1e4140[_0x211f('0x31')]['fields']));_0x128aec[_0x211f('0x2f')]=_0x128aec['attributes'][_0x211f('0x41')]?_0x128aec[_0x211f('0x2f')]:_0x3cf032[_0x211f('0x2c')];if(!_0x1e4140[_0x211f('0x31')][_0x211f('0x5a')](_0x211f('0x56'))){_0x128aec['limit']=qs['limit'](_0x1e4140[_0x211f('0x31')]['limit']);_0x128aec[_0x211f('0x1c')]=qs['offset'](_0x1e4140[_0x211f('0x31')][_0x211f('0x1c')]);}_0x128aec[_0x211f('0x32')]=qs[_0x211f('0x33')](_0x1e4140[_0x211f('0x31')]['sort']);_0x128aec['where']=qs[_0x211f('0x2d')](_['pick'](_0x1e4140['query'],_0x3cf032[_0x211f('0x2d')]));_0x128aec['where']['CampaignId']=_0x579f19['id'];if(_0x1e4140['query'][_0x211f('0x36')]){_0x128aec[_0x211f('0x34')]=_['merge'](_0x128aec[_0x211f('0x34')],{'$or':_[_0x211f('0x29')](_0x128aec[_0x211f('0x2f')],function(_0x137250){var _0x287065={};_0x287065[_0x137250]={'$like':'%'+_0x1e4140[_0x211f('0x31')][_0x211f('0x36')]+'%'};return _0x287065;})});}_0x128aec=_[_0x211f('0x4d')]({},_0x128aec,_0x1e4140['options']);return db['CmHopperHistory'][_0x211f('0x1b')]({'where':_0x128aec[_0x211f('0x34')]})[_0x211f('0x25')](function(_0x4aa1cd){_0x28b3ff['count']=_0x4aa1cd;if(_0x1e4140[_0x211f('0x31')][_0x211f('0x3a')]){_0x128aec[_0x211f('0x3b')]=[{'all':!![]}];}return db[_0x211f('0x5b')]['findAll'](_0x128aec);})[_0x211f('0x25')](function(_0x1957f3){_0x28b3ff['rows']=_0x1957f3;return _0x28b3ff;});}})[_0x211f('0x25')](respondWithFilteredResult(_0x4c2d4d,_0x128aec))[_0x211f('0x3d')](handleError(_0x4c2d4d,null));};exports['getHopperFinals']=function(_0x1b386c,_0x24a970,_0xf45128){var _0x1c8770={'raw':!![],'where':{}};var _0x2b4b9f={};var _0x41b4e1={'count':0x0,'rows':[]};return db['Campaign'][_0x211f('0x54')]({'where':{'id':_0x1b386c[_0x211f('0x3f')]['id']}})[_0x211f('0x25')](handleEntityNotFound(_0x24a970,null))[_0x211f('0x25')](function(_0x102517){if(_0x102517){_0x2b4b9f['model']=_[_0x211f('0x40')](db[_0x211f('0x5c')][_0x211f('0x2a')]);_0x2b4b9f[_0x211f('0x31')]=_[_0x211f('0x40')](_0x1b386c[_0x211f('0x31')]);_0x2b4b9f['filters']=_[_0x211f('0x2e')](_0x2b4b9f[_0x211f('0x2c')],_0x2b4b9f[_0x211f('0x31')]);_0x1c8770[_0x211f('0x2f')]=_[_0x211f('0x2e')](_0x2b4b9f[_0x211f('0x2c')],qs[_0x211f('0x30')](_0x1b386c[_0x211f('0x31')][_0x211f('0x30')]));_0x1c8770[_0x211f('0x2f')]=_0x1c8770[_0x211f('0x2f')]['length']?_0x1c8770[_0x211f('0x2f')]:_0x2b4b9f[_0x211f('0x2c')];if(!_0x1b386c[_0x211f('0x31')][_0x211f('0x5a')](_0x211f('0x56'))){_0x1c8770['limit']=qs[_0x211f('0x1d')](_0x1b386c['query'][_0x211f('0x1d')]);_0x1c8770[_0x211f('0x1c')]=qs[_0x211f('0x1c')](_0x1b386c['query']['offset']);}_0x1c8770[_0x211f('0x32')]=qs[_0x211f('0x33')](_0x1b386c[_0x211f('0x31')][_0x211f('0x33')]);_0x1c8770[_0x211f('0x34')]=qs[_0x211f('0x2d')](_[_0x211f('0x35')](_0x1b386c[_0x211f('0x31')],_0x2b4b9f[_0x211f('0x2d')]));_0x1c8770[_0x211f('0x34')][_0x211f('0x57')]=_0x102517['id'];if(_0x1b386c['query']['filter']){_0x1c8770[_0x211f('0x34')]=_['merge'](_0x1c8770[_0x211f('0x34')],{'$or':_[_0x211f('0x29')](_0x1c8770[_0x211f('0x2f')],function(_0x129b3a){var _0x563acd={};_0x563acd[_0x129b3a]={'$like':'%'+_0x1b386c[_0x211f('0x31')][_0x211f('0x36')]+'%'};return _0x563acd;})});}_0x1c8770=_['merge']({},_0x1c8770,_0x1b386c[_0x211f('0x38')]);return db[_0x211f('0x5c')][_0x211f('0x1b')]({'where':_0x1c8770[_0x211f('0x34')]})[_0x211f('0x25')](function(_0x2db534){_0x41b4e1[_0x211f('0x1b')]=_0x2db534;if(_0x1b386c['query']['includeAll']){_0x1c8770[_0x211f('0x3b')]=[{'all':!![]}];}return db[_0x211f('0x5c')]['findAll'](_0x1c8770);})[_0x211f('0x25')](function(_0x5851c7){_0x41b4e1['rows']=_0x5851c7;return _0x41b4e1;});}})[_0x211f('0x25')](respondWithFilteredResult(_0x24a970,_0x1c8770))[_0x211f('0x3d')](handleError(_0x24a970,null));};exports[_0x211f('0x5d')]=function(_0x14c041,_0xd114ed,_0x4b25e1){var _0x1c18ce={'raw':!![],'where':{}};var _0x310356={};var _0x34781a={'count':0x0,'rows':[]};return db[_0x211f('0x39')][_0x211f('0x54')]({'where':{'id':_0x14c041['params']['id']}})['then'](handleEntityNotFound(_0xd114ed,null))['then'](function(_0x37b13a){if(_0x37b13a){_0x310356['model']=_[_0x211f('0x40')](db[_0x211f('0x5e')][_0x211f('0x2a')]);_0x310356[_0x211f('0x31')]=_[_0x211f('0x40')](_0x14c041[_0x211f('0x31')]);_0x310356[_0x211f('0x2d')]=_[_0x211f('0x2e')](_0x310356[_0x211f('0x2c')],_0x310356[_0x211f('0x31')]);_0x1c18ce[_0x211f('0x2f')]=_[_0x211f('0x2e')](_0x310356[_0x211f('0x2c')],qs[_0x211f('0x30')](_0x14c041[_0x211f('0x31')][_0x211f('0x30')]));_0x1c18ce[_0x211f('0x2f')]=_0x1c18ce['attributes'][_0x211f('0x41')]?_0x1c18ce['attributes']:_0x310356[_0x211f('0x2c')];if(!_0x14c041[_0x211f('0x31')]['hasOwnProperty']('nolimit')){_0x1c18ce['limit']=qs[_0x211f('0x1d')](_0x14c041[_0x211f('0x31')][_0x211f('0x1d')]);_0x1c18ce[_0x211f('0x1c')]=qs['offset'](_0x14c041['query']['offset']);}_0x1c18ce[_0x211f('0x32')]=qs[_0x211f('0x33')](_0x14c041[_0x211f('0x31')]['sort']);_0x1c18ce[_0x211f('0x34')]=qs[_0x211f('0x2d')](_[_0x211f('0x35')](_0x14c041[_0x211f('0x31')],_0x310356['filters']));_0x1c18ce['where'][_0x211f('0x57')]=_0x37b13a['id'];if(_0x14c041[_0x211f('0x31')]['filter']){_0x1c18ce[_0x211f('0x34')]=_[_0x211f('0x4d')](_0x1c18ce[_0x211f('0x34')],{'$or':_['map'](_0x1c18ce[_0x211f('0x2f')],function(_0x5dd97c){var _0x4533a3={};_0x4533a3[_0x5dd97c]={'$like':'%'+_0x14c041['query'][_0x211f('0x36')]+'%'};return _0x4533a3;})});}_0x1c18ce=_[_0x211f('0x4d')]({},_0x1c18ce,_0x14c041[_0x211f('0x38')]);return db[_0x211f('0x5e')][_0x211f('0x1b')]({'where':_0x1c18ce[_0x211f('0x34')]})['then'](function(_0x4aa7ee){_0x34781a['count']=_0x4aa7ee;if(_0x14c041[_0x211f('0x31')]['includeAll']){_0x1c18ce[_0x211f('0x3b')]=[{'all':!![]}];}return db['CmHopperBlack'][_0x211f('0x58')](_0x1c18ce);})['then'](function(_0x596c30){_0x34781a[_0x211f('0x3c')]=_0x596c30;return _0x34781a;});}})[_0x211f('0x25')](respondWithFilteredResult(_0xd114ed,_0x1c18ce))[_0x211f('0x3d')](handleError(_0xd114ed,null));};exports[_0x211f('0x5f')]=function(_0x5d0463,_0x1fa556,_0x1a58b8){var _0x2b85e8={};var _0x57dd95={};var _0x2cf89e;var _0x38adf1;return db[_0x211f('0x39')]['findOne']({'where':{'id':_0x5d0463[_0x211f('0x3f')]['id']}})[_0x211f('0x25')](handleEntityNotFound(_0x1fa556,null))[_0x211f('0x25')](function(_0x2702df){if(_0x2702df){_0x2cf89e=_0x2702df;_0x57dd95[_0x211f('0x2c')]=_['keys'](db[_0x211f('0x60')][_0x211f('0x2a')]);_0x57dd95[_0x211f('0x31')]=_[_0x211f('0x40')](_0x5d0463[_0x211f('0x31')]);_0x57dd95[_0x211f('0x2d')]=_[_0x211f('0x2e')](_0x57dd95['model'],_0x57dd95['query']);_0x2b85e8[_0x211f('0x2f')]=_['intersection'](_0x57dd95[_0x211f('0x2c')],qs[_0x211f('0x30')](_0x5d0463[_0x211f('0x31')][_0x211f('0x30')]));_0x2b85e8[_0x211f('0x2f')]=_0x2b85e8[_0x211f('0x2f')]['length']?_0x2b85e8[_0x211f('0x2f')]:_0x57dd95[_0x211f('0x2c')];_0x2b85e8[_0x211f('0x32')]=qs['sort'](_0x5d0463[_0x211f('0x31')][_0x211f('0x33')]);_0x2b85e8[_0x211f('0x34')]=qs[_0x211f('0x2d')](_['pick'](_0x5d0463[_0x211f('0x31')],_0x57dd95[_0x211f('0x2d')]));if(_0x5d0463[_0x211f('0x31')][_0x211f('0x36')]){_0x2b85e8[_0x211f('0x34')]=_[_0x211f('0x4d')](_0x2b85e8[_0x211f('0x34')],{'$or':_[_0x211f('0x29')](_0x2b85e8[_0x211f('0x2f')],function(_0x122e59){var _0x5da780={};_0x5da780[_0x122e59]={'$like':'%'+_0x5d0463['query'][_0x211f('0x36')]+'%'};return _0x5da780;})});}_0x2b85e8=_['merge']({},_0x2b85e8,_0x5d0463[_0x211f('0x38')]);return _0x2cf89e[_0x211f('0x5f')](_0x2b85e8);}})['then'](function(_0x5d732a){if(_0x5d732a){_0x38adf1=_0x5d732a[_0x211f('0x41')];if(!_0x5d0463[_0x211f('0x31')][_0x211f('0x5a')](_0x211f('0x56'))){_0x2b85e8[_0x211f('0x1d')]=qs[_0x211f('0x1d')](_0x5d0463['query'][_0x211f('0x1d')]);_0x2b85e8['offset']=qs[_0x211f('0x1c')](_0x5d0463[_0x211f('0x31')][_0x211f('0x1c')]);}return _0x2cf89e[_0x211f('0x5f')](_0x2b85e8);}})[_0x211f('0x25')](function(_0x1b108a){if(_0x1b108a){return _0x1b108a?{'count':_0x38adf1,'rows':_0x1b108a}:null;}})[_0x211f('0x25')](respondWithResult(_0x1fa556,null))[_0x211f('0x3d')](handleError(_0x1fa556,null));};exports[_0x211f('0x61')]=function(_0xeb97b,_0x155b84,_0x3e7f47){var _0x24385d,_0x6ef1e6;return db[_0x211f('0x39')][_0x211f('0x48')]({'where':{'id':_0xeb97b[_0x211f('0x3f')]['id']}})[_0x211f('0x25')](handleEntityNotFound(_0x155b84,null))['then'](function(_0x59f4eb){if(_0x59f4eb){_0x6ef1e6=_0x59f4eb;return _0x59f4eb[_0x211f('0x61')](_0xeb97b[_0x211f('0x50')][_0x211f('0x62')],_['omit'](_0xeb97b['body'],['ids','id'])||{});}return null;})[_0x211f('0x63')](function(_0x4d77c4){var _0x508968;_0x24385d=_0x4d77c4||[];var _0x4fbed0=[];if(_0x4d77c4){for(var _0x5d39b3=0x0;_0x5d39b3<_0x4d77c4[_0x211f('0x41')];_0x5d39b3+=0x1){var _0x4df34e=_0x4d77c4[_0x5d39b3][_0x211f('0x23')]({'plain':!![]});_0x6ef1e6[_0x211f('0x64')]=_0xeb97b[_0x211f('0x50')][_0x211f('0x64')]?_0xeb97b['body'][_0x211f('0x64')]:_0x6ef1e6[_0x211f('0x64')];switch(_0x6ef1e6[_0x211f('0x64')]){case _0x211f('0x65'):_0x508968=squel[_0x211f('0x66')]()[_0x211f('0x67')](_0x211f('0x68'))['fromQuery']([_0x211f('0x69'),_0x211f('0x6a'),'ContactId',_0x211f('0x6b'),_0x211f('0x57'),_0x211f('0x51'),_0x211f('0x4f')],squel[_0x211f('0x6c')]()[_0x211f('0x6d')](_0x211f('0x69'),_0x211f('0x69'))[_0x211f('0x6d')](_0x211f('0x6e'),_0x211f('0x6a'))[_0x211f('0x6d')]('id','ContactId')[_0x211f('0x6d')](_0x4df34e['CmListId']['toString'](),_0x211f('0x6b'))[_0x211f('0x6d')](_0xeb97b['params']['id']['toString'](),_0x211f('0x57'))[_0x211f('0x6d')](_0x211f('0x6e'),_0x211f('0x51'))['field']('NOW()',_0x211f('0x4f'))[_0x211f('0x6f')](_0x211f('0x70'))['where'](_0x211f('0x71'))[_0x211f('0x34')](_0x211f('0x72'),_0x4df34e[_0x211f('0x73')][_0x211f('0x74')]())[_0x211f('0x34')](_0x211f('0x75'))[_0x211f('0x34')](_0x211f('0x76'),squel['select']()['field'](_0x211f('0x77'))[_0x211f('0x6f')](_0x211f('0x78'))[_0x211f('0x34')]('CampaignId\x20=\x20?',_0xeb97b['params']['id'][_0x211f('0x74')]()))[_0x211f('0x34')](_0x211f('0x76'),squel[_0x211f('0x6c')]()['field'](_0x211f('0x79'))['from'](_0x211f('0x68'))['where'](_0x211f('0x7a'),_0xeb97b[_0x211f('0x3f')]['id'][_0x211f('0x74')]())))[_0x211f('0x74')]();break;case _0x211f('0x7b'):_0x508968=squel[_0x211f('0x66')]()[_0x211f('0x67')](_0x211f('0x68'))[_0x211f('0x7c')](['phone',_0x211f('0x6a'),'ContactId',_0x211f('0x6b'),'CampaignId','createdAt',_0x211f('0x4f')],squel[_0x211f('0x6c')]()[_0x211f('0x6d')](_0x211f('0x69'),'phone')[_0x211f('0x6d')](_0x211f('0x6e'),_0x211f('0x6a'))[_0x211f('0x6d')]('id',_0x211f('0x7d'))[_0x211f('0x6d')](_0x4df34e[_0x211f('0x73')][_0x211f('0x74')](),_0x211f('0x6b'))['field'](_0xeb97b[_0x211f('0x3f')]['id'][_0x211f('0x74')](),_0x211f('0x57'))[_0x211f('0x6d')]('NOW()',_0x211f('0x51'))[_0x211f('0x6d')](_0x211f('0x6e'),_0x211f('0x4f'))['from']('cm_contacts')[_0x211f('0x34')](_0x211f('0x71'))['where']('ListId\x20=\x20?',_0x4df34e[_0x211f('0x73')][_0x211f('0x74')]())[_0x211f('0x34')](_0x211f('0x75'))[_0x211f('0x34')](_0x211f('0x76'),squel[_0x211f('0x6c')]()[_0x211f('0x6d')](_0x211f('0x79'))[_0x211f('0x6f')](_0x211f('0x68'))[_0x211f('0x34')](_0x211f('0x7a'),_0xeb97b[_0x211f('0x3f')]['id']['toString']())))[_0x211f('0x74')]();break;default:_0x508968=squel[_0x211f('0x66')]()[_0x211f('0x67')](_0x211f('0x68'))[_0x211f('0x7c')]([_0x211f('0x69'),_0x211f('0x6a'),_0x211f('0x7d'),_0x211f('0x6b'),_0x211f('0x57'),_0x211f('0x51'),_0x211f('0x4f')],squel[_0x211f('0x6c')]()[_0x211f('0x6d')](_0x211f('0x69'),_0x211f('0x69'))[_0x211f('0x6d')](_0x211f('0x6e'),'scheduledAt')['field']('id',_0x211f('0x7d'))[_0x211f('0x6d')](_0x4df34e['CmListId'][_0x211f('0x74')](),'ListId')[_0x211f('0x6d')](_0xeb97b[_0x211f('0x3f')]['id'][_0x211f('0x74')](),_0x211f('0x57'))['field'](_0x211f('0x6e'),_0x211f('0x51'))['field'](_0x211f('0x6e'),_0x211f('0x4f'))[_0x211f('0x6f')]('cm_contacts')['where'](_0x211f('0x71'))[_0x211f('0x34')](_0x211f('0x72'),_0x4df34e[_0x211f('0x73')][_0x211f('0x74')]())[_0x211f('0x34')](_0x211f('0x75')))[_0x211f('0x74')]();}_0x4fbed0[_0x211f('0x7e')](db[_0x211f('0x7f')][_0x211f('0x31')](_0x508968));}return BPromise[_0x211f('0x80')](_0x4fbed0);}})[_0x211f('0x25')](function(){return _0x24385d;})[_0x211f('0x25')](respondWithResult(_0x155b84,null))[_0x211f('0x3d')](handleError(_0x155b84,null));};exports[_0x211f('0x81')]=function(_0x54ecfe,_0x1c41a2,_0x2acfed){return db['Campaign'][_0x211f('0x48')]({'where':{'id':_0x54ecfe[_0x211f('0x3f')]['id']}})[_0x211f('0x25')](handleEntityNotFound(_0x1c41a2,null))[_0x211f('0x25')](function(_0x49b24e){if(_0x49b24e){return _0x49b24e[_0x211f('0x81')](_0x54ecfe[_0x211f('0x31')][_0x211f('0x62')]);}})[_0x211f('0x25')](function(_0x2a688d){if(_0x2a688d){return db['CmHopper'][_0x211f('0x22')]({'where':{'ListId':_0x54ecfe[_0x211f('0x31')][_0x211f('0x62')],'CampaignId':_0x54ecfe[_0x211f('0x3f')]['id']}})['then'](function(){return _0x2a688d;});}})[_0x211f('0x25')](respondWithStatusCode(_0x1c41a2,null))['catch'](handleError(_0x1c41a2,null));};exports[_0x211f('0x82')]=function(_0xd4307d,_0x96d040,_0x17a26c){var _0x4dbb96={'raw':!![],'where':{}};var _0x6a9e07={};var _0xc71c67={'count':0x0,'rows':[]};return db['Campaign'][_0x211f('0x54')]({'where':{'id':_0xd4307d[_0x211f('0x3f')]['id']}})[_0x211f('0x25')](handleEntityNotFound(_0x96d040,null))[_0x211f('0x25')](function(_0x9f0c6d){if(_0x9f0c6d){_0x6a9e07['model']=_[_0x211f('0x40')](db['CmList'][_0x211f('0x2a')]);_0x6a9e07[_0x211f('0x31')]=_[_0x211f('0x40')](_0xd4307d[_0x211f('0x31')]);_0x6a9e07[_0x211f('0x2d')]=_[_0x211f('0x2e')](_0x6a9e07[_0x211f('0x2c')],_0x6a9e07[_0x211f('0x31')]);_0x4dbb96[_0x211f('0x2f')]=_[_0x211f('0x2e')](_0x6a9e07['model'],qs['fields'](_0xd4307d[_0x211f('0x31')][_0x211f('0x30')]));_0x4dbb96[_0x211f('0x2f')]=_0x4dbb96[_0x211f('0x2f')]['length']?_0x4dbb96[_0x211f('0x2f')]:_0x6a9e07['model'];if(!_0xd4307d['query'][_0x211f('0x5a')](_0x211f('0x56'))){_0x4dbb96[_0x211f('0x1d')]=qs['limit'](_0xd4307d['query']['limit']);_0x4dbb96[_0x211f('0x1c')]=qs[_0x211f('0x1c')](_0xd4307d['query']['offset']);}_0x4dbb96[_0x211f('0x32')]=qs[_0x211f('0x33')](_0xd4307d[_0x211f('0x31')][_0x211f('0x33')]);_0x4dbb96[_0x211f('0x34')]=qs['filters'](_['pick'](_0xd4307d[_0x211f('0x31')],_0x6a9e07[_0x211f('0x2d')]));_0x4dbb96[_0x211f('0x34')]['CampaignId']=_0x9f0c6d['id'];if(_0xd4307d[_0x211f('0x31')][_0x211f('0x36')]){_0x4dbb96[_0x211f('0x34')]=_[_0x211f('0x4d')](_0x4dbb96[_0x211f('0x34')],{'$or':_[_0x211f('0x29')](_0x4dbb96['attributes'],function(_0x5eda2b){var _0x331058={};_0x331058[_0x5eda2b]={'$like':'%'+_0xd4307d[_0x211f('0x31')]['filter']+'%'};return _0x331058;})});}_0x4dbb96=_[_0x211f('0x4d')]({},_0x4dbb96,_0xd4307d[_0x211f('0x38')]);return db[_0x211f('0x60')][_0x211f('0x1b')]({'where':_0x4dbb96[_0x211f('0x34')]})[_0x211f('0x25')](function(_0x17ad08){_0xc71c67['count']=_0x17ad08;if(_0xd4307d[_0x211f('0x31')]['includeAll']){_0x4dbb96[_0x211f('0x3b')]=[{'all':!![]}];}return db[_0x211f('0x60')][_0x211f('0x58')](_0x4dbb96);})[_0x211f('0x25')](function(_0x51298b){_0xc71c67['rows']=_0x51298b;return _0xc71c67;});}})[_0x211f('0x25')](respondWithFilteredResult(_0x96d040,_0x4dbb96))[_0x211f('0x3d')](handleError(_0x96d040,null));};exports[_0x211f('0x83')]=function(_0x40b016,_0xc2b522,_0x4d2c30){var _0x2ef09a,_0x3a3531;return db['Campaign']['find']({'where':{'id':_0x40b016[_0x211f('0x3f')]['id']}})['then'](handleEntityNotFound(_0xc2b522,null))[_0x211f('0x25')](function(_0x451e17){if(_0x451e17){_0x3a3531=_0x451e17;return _0x451e17['addBlackLists'](_0x40b016[_0x211f('0x50')][_0x211f('0x62')],_['omit'](_0x40b016[_0x211f('0x50')],[_0x211f('0x62'),'id'])||{});}return null;})['spread'](function(_0x578f4d){var _0x537c8c;_0x2ef09a=_0x578f4d||[];var _0x440333=[];if(_0x578f4d){for(var _0x117ef2=0x0;_0x117ef2<_0x578f4d['length'];_0x117ef2+=0x1){var _0x1e1312=_0x578f4d[_0x117ef2]['get']({'plain':!![]});_0x537c8c=squel[_0x211f('0x66')]()['into'](_0x211f('0x84'))[_0x211f('0x7c')]([_0x211f('0x69'),'ContactId','ListId',_0x211f('0x57'),_0x211f('0x51'),_0x211f('0x4f')],squel[_0x211f('0x6c')]()[_0x211f('0x6d')](_0x211f('0x69'),_0x211f('0x69'))[_0x211f('0x6d')]('id','ContactId')[_0x211f('0x6d')](_0x1e1312['CmListId']['toString'](),'ListId')[_0x211f('0x6d')](_0x40b016['params']['id']['toString'](),_0x211f('0x57'))[_0x211f('0x6d')]('NOW()',_0x211f('0x51'))['field'](_0x211f('0x6e'),_0x211f('0x4f'))[_0x211f('0x6f')](_0x211f('0x70'))['where']('deletedAt\x20IS\x20NULL')[_0x211f('0x34')]('ListId\x20=\x20?',_0x1e1312[_0x211f('0x73')]['toString']())[_0x211f('0x34')](_0x211f('0x75')))['toString']();_0x440333[_0x211f('0x7e')](db[_0x211f('0x7f')]['query'](_0x537c8c));}return BPromise[_0x211f('0x80')](_0x440333);}})[_0x211f('0x25')](function(){return _0x2ef09a;})['then'](respondWithResult(_0xc2b522,null))[_0x211f('0x3d')](handleError(_0xc2b522,null));};exports[_0x211f('0x85')]=function(_0x2a21bc,_0x297841,_0x55e063){return db[_0x211f('0x39')]['find']({'where':{'id':_0x2a21bc[_0x211f('0x3f')]['id']}})[_0x211f('0x25')](handleEntityNotFound(_0x297841,null))[_0x211f('0x25')](function(_0x46084e){if(_0x46084e){return _0x46084e[_0x211f('0x85')](_0x2a21bc['query'][_0x211f('0x62')]);}})['then'](function(_0x2b6753){if(_0x2b6753){return db[_0x211f('0x5e')][_0x211f('0x22')]({'where':{'ListId':_0x2a21bc[_0x211f('0x31')][_0x211f('0x62')],'CampaignId':_0x2a21bc[_0x211f('0x3f')]['id']}})[_0x211f('0x25')](function(){return _0x2b6753;});}})[_0x211f('0x25')](respondWithStatusCode(_0x297841,null))[_0x211f('0x3d')](handleError(_0x297841,null));}; \ No newline at end of file +var _0xd86b=['createdAt','updatedAt','body','omit','getHoppers','findOne','CampaignId','filter','CmHopper','getHopperHistories','CmHopperHistory','getHopperFinals','params','CmHopperFinal','getHopperBlacks','CmHopperBlack','getLists','CmList','addLists','ids','dialCheckDuplicateType','into','fromQuery','phone','scheduledAt','ContactId','ListId','select','field','CmListId','toString','NOW()','cm_contacts','ListId\x20=\x20?','phone\x20IS\x20NOT\x20NULL','phone\x20NOT\x20IN\x20(?)','cm_hopper_final','CampaignId\x20=\x20?','COALESCE(phone,\x27\x27)','from','cm_hopper','onlyIfOpen','insert','deletedAt\x20IS\x20NULL','removeLists','addBlackLists','spread','cm_hopper_black','push','sequelize','all','removeBlackLists','html-pdf','rimraf','fast-json-patch','sox','to-csv','ejs','lodash','squel','crypto','jsforce','desk.js','querystring','ioredis','../../components/auth/service','../../components/parsers/qs','../../config/license/hardware','../../config/logger','../../config/utils','../../config/environment','sendStatus','status','end','json','count','offset','limit','Content-Range','apply','save','update','then','IvrCampaigns','UserProfileResource','destroy','error','stack','send','index','map','Campaign','rawAttributes','fieldName','type','model','query','filters','intersection','fields','attributes','length','hasOwnProperty','nolimit','order','sort','where','pick','merge','VIRTUAL','options','include','findAll','rows','show','keys','includeAll','catch','create','user','get','Unable\x20to\x20retrieve\x20the\x20current\x20user','role','UserProfileSection','find','userProfileId','autoAssociation','name','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s'];(function(_0x36e20c,_0x43caa5){var _0x48eba2=function(_0x4cf915){while(--_0x4cf915){_0x36e20c['push'](_0x36e20c['shift']());}};_0x48eba2(++_0x43caa5);}(_0xd86b,0x136));var _0xbd86=function(_0x2a0fc4,_0x2eaf74){_0x2a0fc4=_0x2a0fc4-0x0;var _0x531d00=_0xd86b[_0x2a0fc4];return _0x531d00;};'use strict';var pdf=require(_0xbd86('0x0'));var emlformat=require('eml-format');var rimraf=require(_0xbd86('0x1'));var zipdir=require('zip-dir');var jsonpatch=require(_0xbd86('0x2'));var rp=require('request-promise');var moment=require('moment');var BPromise=require('bluebird');var Mustache=require('mustache');var util=require('util');var path=require('path');var sox=require(_0xbd86('0x3'));var csv=require(_0xbd86('0x4'));var ejs=require(_0xbd86('0x5'));var fs=require('fs');var _=require(_0xbd86('0x6'));var squel=require(_0xbd86('0x7'));var crypto=require(_0xbd86('0x8'));var jsforce=require(_0xbd86('0x9'));var deskjs=require(_0xbd86('0xa'));var toCsv=require(_0xbd86('0x4'));var querystring=require(_0xbd86('0xb'));var Papa=require('papaparse');var Redis=require(_0xbd86('0xc'));var authService=require(_0xbd86('0xd'));var qs=require(_0xbd86('0xe'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0xbd86('0xf'));var logger=require(_0xbd86('0x10'))('api');var utils=require(_0xbd86('0x11'));var config=require(_0xbd86('0x12'));var db=require('../../mysqldb')['db'];function respondWithStatusCode(_0x1b07d1,_0x3ccd35){_0x3ccd35=_0x3ccd35||0xcc;return function(_0x4cdfd2){if(_0x4cdfd2){return _0x1b07d1[_0xbd86('0x13')](_0x3ccd35);}return _0x1b07d1[_0xbd86('0x14')](_0x3ccd35)[_0xbd86('0x15')]();};}function respondWithResult(_0x1bd67b,_0xdc58e6){_0xdc58e6=_0xdc58e6||0xc8;return function(_0x5bfabf){if(_0x5bfabf){return _0x1bd67b[_0xbd86('0x14')](_0xdc58e6)[_0xbd86('0x16')](_0x5bfabf);}};}function respondWithFilteredResult(_0xd0d0d2,_0x321d7d){return function(_0x4a05cd){if(_0x4a05cd){var _0x368fec=_0x4a05cd[_0xbd86('0x17')],_0x4cf9bf=_0x321d7d[_0xbd86('0x18')],_0x41f4e9=_0x321d7d[_0xbd86('0x18')]+_0x321d7d[_0xbd86('0x19')],_0x59e00b;if(_0x41f4e9>=_0x368fec){_0x41f4e9=_0x368fec;_0x59e00b=0xc8;}else{_0x59e00b=0xce;}_0xd0d0d2[_0xbd86('0x14')](_0x59e00b);return _0xd0d0d2['set'](_0xbd86('0x1a'),_0x4cf9bf+'-'+_0x41f4e9+'/'+_0x368fec)['json'](_0x4a05cd);}return null;};}function patchUpdates(_0x358f41){return function(_0x2d09d6){try{jsonpatch[_0xbd86('0x1b')](_0x2d09d6,_0x358f41,!![]);}catch(_0x329189){return BPromise['reject'](_0x329189);}return _0x2d09d6[_0xbd86('0x1c')]();};}function saveUpdates(_0x3c90cd,_0xcbccf7){return function(_0x1f2d32){if(_0x1f2d32){return _0x1f2d32[_0xbd86('0x1d')](_0x3c90cd)[_0xbd86('0x1e')](function(_0x320913){return _0x320913;});}return null;};}function removeEntity(_0x218137,_0x58ddf4){return function(_0x52afc3){if(_0x52afc3){return _0x52afc3['destroy']()[_0xbd86('0x1e')](function(){var _0x45928e=_0x52afc3['get']({'plain':!![]});var _0x58e8d3=_0xbd86('0x1f');return db[_0xbd86('0x20')][_0xbd86('0x21')]({'where':{'type':_0x58e8d3,'resourceId':_0x45928e['id']}})['then'](function(){return _0x52afc3;});})[_0xbd86('0x1e')](function(){_0x218137[_0xbd86('0x14')](0xcc)[_0xbd86('0x15')]();});}};}function handleEntityNotFound(_0xfc427c,_0x59dca3){return function(_0x3cf97f){if(!_0x3cf97f){_0xfc427c[_0xbd86('0x13')](0x194);}return _0x3cf97f;};}function handleError(_0x5e3535,_0x5b1f72){_0x5b1f72=_0x5b1f72||0x1f4;return function(_0x2091a7){logger[_0xbd86('0x22')](_0x2091a7[_0xbd86('0x23')]);if(_0x2091a7['name']){delete _0x2091a7['name'];}_0x5e3535[_0xbd86('0x14')](_0x5b1f72)[_0xbd86('0x24')](_0x2091a7);};}exports[_0xbd86('0x25')]=function(_0xcf9d33,_0x5201a3){var _0x45a137={},_0xf0bc31={},_0x17518a={'count':0x0,'rows':[]};var _0x475c62=_[_0xbd86('0x26')](db[_0xbd86('0x27')][_0xbd86('0x28')],function(_0x424bba){return{'name':_0x424bba[_0xbd86('0x29')],'type':_0x424bba[_0xbd86('0x2a')]['key']};});_0xf0bc31[_0xbd86('0x2b')]=_[_0xbd86('0x26')](_0x475c62,'name');_0xf0bc31[_0xbd86('0x2c')]=_['keys'](_0xcf9d33[_0xbd86('0x2c')]);_0xf0bc31[_0xbd86('0x2d')]=_[_0xbd86('0x2e')](_0xf0bc31[_0xbd86('0x2b')],_0xf0bc31[_0xbd86('0x2c')]);_0x45a137['attributes']=_[_0xbd86('0x2e')](_0xf0bc31[_0xbd86('0x2b')],qs['fields'](_0xcf9d33[_0xbd86('0x2c')][_0xbd86('0x2f')]));_0x45a137[_0xbd86('0x30')]=_0x45a137[_0xbd86('0x30')][_0xbd86('0x31')]?_0x45a137['attributes']:_0xf0bc31[_0xbd86('0x2b')];if(!_0xcf9d33['query'][_0xbd86('0x32')](_0xbd86('0x33'))){_0x45a137['limit']=qs[_0xbd86('0x19')](_0xcf9d33[_0xbd86('0x2c')][_0xbd86('0x19')]);_0x45a137[_0xbd86('0x18')]=qs['offset'](_0xcf9d33[_0xbd86('0x2c')]['offset']);}_0x45a137[_0xbd86('0x34')]=qs[_0xbd86('0x35')](_0xcf9d33[_0xbd86('0x2c')][_0xbd86('0x35')]);_0x45a137[_0xbd86('0x36')]=qs[_0xbd86('0x2d')](_[_0xbd86('0x37')](_0xcf9d33[_0xbd86('0x2c')],_0xf0bc31[_0xbd86('0x2d')]),_0x475c62);if(_0xcf9d33[_0xbd86('0x2c')]['filter']){_0x45a137['where']=_[_0xbd86('0x38')](_0x45a137['where'],{'$or':_['map'](_0x475c62,function(_0x4eb48c){if(_0x4eb48c[_0xbd86('0x2a')]!==_0xbd86('0x39')){var _0x316523={};_0x316523[_0x4eb48c['name']]={'$like':'%'+_0xcf9d33[_0xbd86('0x2c')]['filter']+'%'};return _0x316523;}})});}_0x45a137=_[_0xbd86('0x38')]({},_0x45a137,_0xcf9d33[_0xbd86('0x3a')]);var _0x30d54d={'where':_0x45a137[_0xbd86('0x36')]};return db[_0xbd86('0x27')]['count'](_0x30d54d)[_0xbd86('0x1e')](function(_0x5987de){_0x17518a[_0xbd86('0x17')]=_0x5987de;if(_0xcf9d33[_0xbd86('0x2c')]['includeAll']){_0x45a137[_0xbd86('0x3b')]=[{'all':!![]}];}return db['Campaign'][_0xbd86('0x3c')](_0x45a137);})['then'](function(_0x3b7af2){_0x17518a[_0xbd86('0x3d')]=_0x3b7af2;return _0x17518a;})['then'](respondWithFilteredResult(_0x5201a3,_0x45a137))['catch'](handleError(_0x5201a3,null));};exports[_0xbd86('0x3e')]=function(_0x5a1beb,_0x1b40e4){var _0x4cab03={'raw':![],'where':{'id':_0x5a1beb['params']['id']}},_0x144a71={};_0x144a71[_0xbd86('0x2b')]=_[_0xbd86('0x3f')](db['Campaign'][_0xbd86('0x28')]);_0x144a71['query']=_[_0xbd86('0x3f')](_0x5a1beb[_0xbd86('0x2c')]);_0x144a71[_0xbd86('0x2d')]=_[_0xbd86('0x2e')](_0x144a71[_0xbd86('0x2b')],_0x144a71[_0xbd86('0x2c')]);_0x4cab03[_0xbd86('0x30')]=_['intersection'](_0x144a71[_0xbd86('0x2b')],qs['fields'](_0x5a1beb[_0xbd86('0x2c')][_0xbd86('0x2f')]));_0x4cab03['attributes']=_0x4cab03[_0xbd86('0x30')]['length']?_0x4cab03[_0xbd86('0x30')]:_0x144a71[_0xbd86('0x2b')];if(_0x5a1beb['query'][_0xbd86('0x40')]){_0x4cab03[_0xbd86('0x3b')]=[{'all':!![]}];}_0x4cab03=_[_0xbd86('0x38')]({},_0x4cab03,_0x5a1beb[_0xbd86('0x3a')]);return db[_0xbd86('0x27')]['find'](_0x4cab03)[_0xbd86('0x1e')](handleEntityNotFound(_0x1b40e4,null))[_0xbd86('0x1e')](respondWithResult(_0x1b40e4,null))[_0xbd86('0x41')](handleError(_0x1b40e4,null));};exports[_0xbd86('0x42')]=function(_0x37c12e,_0x3e5e4f){return db['Campaign'][_0xbd86('0x42')](_0x37c12e['body'],{})[_0xbd86('0x1e')](function(_0x33c2a3){var _0x525cf8=_0x37c12e[_0xbd86('0x43')][_0xbd86('0x44')]({'plain':!![]});if(!_0x525cf8)throw new Error(_0xbd86('0x45'));if(_0x525cf8[_0xbd86('0x46')]==='user'){var _0x4642e7=_0x33c2a3[_0xbd86('0x44')]({'plain':!![]});var _0x4c9dbe=_0xbd86('0x1f');return db[_0xbd86('0x47')][_0xbd86('0x48')]({'where':{'name':_0x4c9dbe,'userProfileId':_0x525cf8[_0xbd86('0x49')]},'raw':!![]})[_0xbd86('0x1e')](function(_0x47e4e3){if(_0x47e4e3&&_0x47e4e3[_0xbd86('0x4a')]===0x0){return db['UserProfileResource']['create']({'name':_0x4642e7[_0xbd86('0x4b')],'resourceId':_0x4642e7['id'],'type':_0x47e4e3[_0xbd86('0x4b')],'sectionId':_0x47e4e3['id']},{})[_0xbd86('0x1e')](function(){return _0x33c2a3;});}else{return _0x33c2a3;}})[_0xbd86('0x41')](function(_0xfc3f5a){logger[_0xbd86('0x22')](_0xbd86('0x4c'),_0xfc3f5a);throw _0xfc3f5a;});}return _0x33c2a3;})[_0xbd86('0x1e')](respondWithResult(_0x3e5e4f,0xc9))[_0xbd86('0x41')](handleError(_0x3e5e4f,null));};exports['clone']=function(_0xb8bf9d,_0x441115){var _0x4e6d06={'where':{'id':_0xb8bf9d['params']['id']}},_0x5d363e={};_0x5d363e[_0xbd86('0x2b')]=_[_0xbd86('0x3f')](db[_0xbd86('0x27')]['rawAttributes']);_0x4e6d06[_0xbd86('0x30')]=_[_0xbd86('0x2e')](_0x5d363e[_0xbd86('0x2b')],qs[_0xbd86('0x2f')](_0xb8bf9d[_0xbd86('0x2c')][_0xbd86('0x2f')]));_0x4e6d06[_0xbd86('0x30')]=_0x4e6d06['attributes'][_0xbd86('0x31')]?_0x4e6d06[_0xbd86('0x30')]:_0x5d363e[_0xbd86('0x2b')];if(_0xb8bf9d['query'][_0xbd86('0x40')]){_0x4e6d06[_0xbd86('0x3b')]=[{'all':!![]}];}_0x4e6d06=_[_0xbd86('0x38')]({},_0x4e6d06,_0xb8bf9d['options']);return db[_0xbd86('0x27')][_0xbd86('0x48')](_0x4e6d06)[_0xbd86('0x1e')](handleEntityNotFound(_0x441115,null))[_0xbd86('0x1e')](function(_0x4e53c8){if(_0x4e53c8){var _0xaca711=_0x4e53c8[_0xbd86('0x44')]({'plain':!![]});_0xaca711=qs['omit'](_0xaca711,['id',_0xbd86('0x4d'),_0xbd86('0x4e')]);_0xb8bf9d[_0xbd86('0x4f')]=_[_0xbd86('0x50')](_0xb8bf9d['body'],['id','createdAt','updatedAt']);return db[_0xbd86('0x27')]['create'](_[_0xbd86('0x38')](_0xaca711,_0xb8bf9d[_0xbd86('0x4f')]),{'include':_0xb8bf9d[_0xbd86('0x2c')][_0xbd86('0x40')]?[{'all':!![]}]:undefined})[_0xbd86('0x1e')](function(_0x4a2bf1){var _0x16145b=_0xb8bf9d[_0xbd86('0x43')][_0xbd86('0x44')]({'plain':!![]});if(!_0x16145b)throw new Error('Unable\x20to\x20retrieve\x20the\x20current\x20user');if(_0x16145b[_0xbd86('0x46')]==='user'){var _0x2e624d=_0x4a2bf1[_0xbd86('0x44')]({'plain':!![]});var _0x1cfc86='IvrCampaigns';return db[_0xbd86('0x47')][_0xbd86('0x48')]({'where':{'name':_0x1cfc86,'userProfileId':_0x16145b[_0xbd86('0x49')]},'raw':!![]})[_0xbd86('0x1e')](function(_0x1320b8){if(_0x1320b8&&_0x1320b8[_0xbd86('0x4a')]===0x0){return db[_0xbd86('0x20')][_0xbd86('0x42')]({'name':_0x2e624d[_0xbd86('0x4b')],'resourceId':_0x2e624d['id'],'type':_0x1320b8['name'],'sectionId':_0x1320b8['id']},{})[_0xbd86('0x1e')](function(){return _0x4a2bf1;});}else{return _0x4a2bf1;}})[_0xbd86('0x41')](function(_0x546282){logger[_0xbd86('0x22')](_0xbd86('0x4c'),_0x546282);throw _0x546282;});}return _0x4a2bf1;});}})[_0xbd86('0x1e')](respondWithResult(_0x441115,0xc9))['catch'](handleError(_0x441115,null));};exports[_0xbd86('0x1d')]=function(_0x19978e,_0x5cba3a){if(_0x19978e[_0xbd86('0x4f')]['id']){delete _0x19978e[_0xbd86('0x4f')]['id'];}return db[_0xbd86('0x27')][_0xbd86('0x48')]({'where':{'id':_0x19978e['params']['id']}})[_0xbd86('0x1e')](handleEntityNotFound(_0x5cba3a,null))[_0xbd86('0x1e')](saveUpdates(_0x19978e['body'],null))[_0xbd86('0x1e')](respondWithResult(_0x5cba3a,null))[_0xbd86('0x41')](handleError(_0x5cba3a,null));};exports[_0xbd86('0x21')]=function(_0x47dded,_0x15757d){return db[_0xbd86('0x27')][_0xbd86('0x48')]({'where':{'id':_0x47dded['params']['id']}})['then'](handleEntityNotFound(_0x15757d,null))[_0xbd86('0x1e')](removeEntity(_0x15757d,null))[_0xbd86('0x41')](handleError(_0x15757d,null));};exports[_0xbd86('0x51')]=function(_0x259784,_0x2b30a7,_0x49008c){var _0x46db5f={'raw':!![],'where':{}};var _0x509fa2={};var _0x47df23={'count':0x0,'rows':[]};return db[_0xbd86('0x27')][_0xbd86('0x52')]({'where':{'id':_0x259784['params']['id']}})[_0xbd86('0x1e')](handleEntityNotFound(_0x2b30a7,null))[_0xbd86('0x1e')](function(_0x35b04c){if(_0x35b04c){_0x509fa2[_0xbd86('0x2b')]=_[_0xbd86('0x3f')](db['CmHopper'][_0xbd86('0x28')]);_0x509fa2[_0xbd86('0x2c')]=_[_0xbd86('0x3f')](_0x259784['query']);_0x509fa2[_0xbd86('0x2d')]=_[_0xbd86('0x2e')](_0x509fa2[_0xbd86('0x2b')],_0x509fa2[_0xbd86('0x2c')]);_0x46db5f[_0xbd86('0x30')]=_[_0xbd86('0x2e')](_0x509fa2[_0xbd86('0x2b')],qs[_0xbd86('0x2f')](_0x259784['query'][_0xbd86('0x2f')]));_0x46db5f[_0xbd86('0x30')]=_0x46db5f['attributes'][_0xbd86('0x31')]?_0x46db5f['attributes']:_0x509fa2[_0xbd86('0x2b')];if(!_0x259784['query'][_0xbd86('0x32')]('nolimit')){_0x46db5f['limit']=qs['limit'](_0x259784['query'][_0xbd86('0x19')]);_0x46db5f[_0xbd86('0x18')]=qs[_0xbd86('0x18')](_0x259784[_0xbd86('0x2c')][_0xbd86('0x18')]);}_0x46db5f['order']=qs[_0xbd86('0x35')](_0x259784[_0xbd86('0x2c')]['sort']);_0x46db5f['where']=qs[_0xbd86('0x2d')](_[_0xbd86('0x37')](_0x259784[_0xbd86('0x2c')],_0x509fa2[_0xbd86('0x2d')]));_0x46db5f[_0xbd86('0x36')][_0xbd86('0x53')]=_0x35b04c['id'];if(_0x259784['query']['filter']){_0x46db5f['where']=_['merge'](_0x46db5f[_0xbd86('0x36')],{'$or':_[_0xbd86('0x26')](_0x46db5f['attributes'],function(_0x5b5aeb){var _0x2b13e8={};_0x2b13e8[_0x5b5aeb]={'$like':'%'+_0x259784['query'][_0xbd86('0x54')]+'%'};return _0x2b13e8;})});}_0x46db5f=_[_0xbd86('0x38')]({},_0x46db5f,_0x259784[_0xbd86('0x3a')]);return db[_0xbd86('0x55')][_0xbd86('0x17')]({'where':_0x46db5f[_0xbd86('0x36')]})['then'](function(_0x3ad682){_0x47df23[_0xbd86('0x17')]=_0x3ad682;if(_0x259784['query'][_0xbd86('0x40')]){_0x46db5f[_0xbd86('0x3b')]=[{'all':!![]}];}return db[_0xbd86('0x55')][_0xbd86('0x3c')](_0x46db5f);})[_0xbd86('0x1e')](function(_0x37a7f4){_0x47df23['rows']=_0x37a7f4;return _0x47df23;});}})[_0xbd86('0x1e')](respondWithFilteredResult(_0x2b30a7,_0x46db5f))[_0xbd86('0x41')](handleError(_0x2b30a7,null));};exports[_0xbd86('0x56')]=function(_0x271540,_0x2765d3,_0x29af93){var _0x5b5b9f={'raw':!![],'where':{}};var _0x210044={};var _0x513c59={'count':0x0,'rows':[]};return db[_0xbd86('0x27')][_0xbd86('0x52')]({'where':{'id':_0x271540['params']['id']}})[_0xbd86('0x1e')](handleEntityNotFound(_0x2765d3,null))[_0xbd86('0x1e')](function(_0x534b94){if(_0x534b94){_0x210044[_0xbd86('0x2b')]=_[_0xbd86('0x3f')](db[_0xbd86('0x57')]['rawAttributes']);_0x210044[_0xbd86('0x2c')]=_[_0xbd86('0x3f')](_0x271540['query']);_0x210044[_0xbd86('0x2d')]=_[_0xbd86('0x2e')](_0x210044[_0xbd86('0x2b')],_0x210044[_0xbd86('0x2c')]);_0x5b5b9f[_0xbd86('0x30')]=_[_0xbd86('0x2e')](_0x210044['model'],qs[_0xbd86('0x2f')](_0x271540['query'][_0xbd86('0x2f')]));_0x5b5b9f[_0xbd86('0x30')]=_0x5b5b9f[_0xbd86('0x30')][_0xbd86('0x31')]?_0x5b5b9f[_0xbd86('0x30')]:_0x210044['model'];if(!_0x271540[_0xbd86('0x2c')][_0xbd86('0x32')](_0xbd86('0x33'))){_0x5b5b9f[_0xbd86('0x19')]=qs[_0xbd86('0x19')](_0x271540[_0xbd86('0x2c')][_0xbd86('0x19')]);_0x5b5b9f[_0xbd86('0x18')]=qs[_0xbd86('0x18')](_0x271540['query']['offset']);}_0x5b5b9f[_0xbd86('0x34')]=qs['sort'](_0x271540[_0xbd86('0x2c')]['sort']);_0x5b5b9f[_0xbd86('0x36')]=qs['filters'](_['pick'](_0x271540[_0xbd86('0x2c')],_0x210044[_0xbd86('0x2d')]));_0x5b5b9f[_0xbd86('0x36')][_0xbd86('0x53')]=_0x534b94['id'];if(_0x271540[_0xbd86('0x2c')]['filter']){_0x5b5b9f[_0xbd86('0x36')]=_[_0xbd86('0x38')](_0x5b5b9f[_0xbd86('0x36')],{'$or':_['map'](_0x5b5b9f[_0xbd86('0x30')],function(_0x36d20a){var _0x2e2643={};_0x2e2643[_0x36d20a]={'$like':'%'+_0x271540[_0xbd86('0x2c')][_0xbd86('0x54')]+'%'};return _0x2e2643;})});}_0x5b5b9f=_['merge']({},_0x5b5b9f,_0x271540[_0xbd86('0x3a')]);return db[_0xbd86('0x57')][_0xbd86('0x17')]({'where':_0x5b5b9f[_0xbd86('0x36')]})[_0xbd86('0x1e')](function(_0x2c0837){_0x513c59[_0xbd86('0x17')]=_0x2c0837;if(_0x271540[_0xbd86('0x2c')][_0xbd86('0x40')]){_0x5b5b9f[_0xbd86('0x3b')]=[{'all':!![]}];}return db[_0xbd86('0x57')]['findAll'](_0x5b5b9f);})['then'](function(_0x1f7929){_0x513c59[_0xbd86('0x3d')]=_0x1f7929;return _0x513c59;});}})[_0xbd86('0x1e')](respondWithFilteredResult(_0x2765d3,_0x5b5b9f))[_0xbd86('0x41')](handleError(_0x2765d3,null));};exports[_0xbd86('0x58')]=function(_0x3941e6,_0x22d539,_0x4dd1cf){var _0x6ce596={'raw':!![],'where':{}};var _0x1d74d7={};var _0x2df86f={'count':0x0,'rows':[]};return db[_0xbd86('0x27')]['findOne']({'where':{'id':_0x3941e6[_0xbd86('0x59')]['id']}})['then'](handleEntityNotFound(_0x22d539,null))[_0xbd86('0x1e')](function(_0x39ae41){if(_0x39ae41){_0x1d74d7[_0xbd86('0x2b')]=_[_0xbd86('0x3f')](db['CmHopperFinal'][_0xbd86('0x28')]);_0x1d74d7[_0xbd86('0x2c')]=_[_0xbd86('0x3f')](_0x3941e6[_0xbd86('0x2c')]);_0x1d74d7[_0xbd86('0x2d')]=_['intersection'](_0x1d74d7[_0xbd86('0x2b')],_0x1d74d7[_0xbd86('0x2c')]);_0x6ce596[_0xbd86('0x30')]=_[_0xbd86('0x2e')](_0x1d74d7['model'],qs[_0xbd86('0x2f')](_0x3941e6['query'][_0xbd86('0x2f')]));_0x6ce596['attributes']=_0x6ce596['attributes'][_0xbd86('0x31')]?_0x6ce596['attributes']:_0x1d74d7[_0xbd86('0x2b')];if(!_0x3941e6['query'][_0xbd86('0x32')](_0xbd86('0x33'))){_0x6ce596[_0xbd86('0x19')]=qs[_0xbd86('0x19')](_0x3941e6[_0xbd86('0x2c')][_0xbd86('0x19')]);_0x6ce596[_0xbd86('0x18')]=qs[_0xbd86('0x18')](_0x3941e6[_0xbd86('0x2c')][_0xbd86('0x18')]);}_0x6ce596['order']=qs[_0xbd86('0x35')](_0x3941e6['query'][_0xbd86('0x35')]);_0x6ce596[_0xbd86('0x36')]=qs[_0xbd86('0x2d')](_[_0xbd86('0x37')](_0x3941e6[_0xbd86('0x2c')],_0x1d74d7[_0xbd86('0x2d')]));_0x6ce596[_0xbd86('0x36')][_0xbd86('0x53')]=_0x39ae41['id'];if(_0x3941e6[_0xbd86('0x2c')][_0xbd86('0x54')]){_0x6ce596[_0xbd86('0x36')]=_['merge'](_0x6ce596[_0xbd86('0x36')],{'$or':_[_0xbd86('0x26')](_0x6ce596[_0xbd86('0x30')],function(_0x57743b){var _0x336ee5={};_0x336ee5[_0x57743b]={'$like':'%'+_0x3941e6['query']['filter']+'%'};return _0x336ee5;})});}_0x6ce596=_[_0xbd86('0x38')]({},_0x6ce596,_0x3941e6[_0xbd86('0x3a')]);return db[_0xbd86('0x5a')]['count']({'where':_0x6ce596[_0xbd86('0x36')]})[_0xbd86('0x1e')](function(_0x3716ee){_0x2df86f[_0xbd86('0x17')]=_0x3716ee;if(_0x3941e6[_0xbd86('0x2c')][_0xbd86('0x40')]){_0x6ce596[_0xbd86('0x3b')]=[{'all':!![]}];}return db[_0xbd86('0x5a')][_0xbd86('0x3c')](_0x6ce596);})[_0xbd86('0x1e')](function(_0x63267a){_0x2df86f[_0xbd86('0x3d')]=_0x63267a;return _0x2df86f;});}})['then'](respondWithFilteredResult(_0x22d539,_0x6ce596))['catch'](handleError(_0x22d539,null));};exports[_0xbd86('0x5b')]=function(_0x95b616,_0x519314,_0x352635){var _0x517999={'raw':!![],'where':{}};var _0x1c5675={};var _0x136855={'count':0x0,'rows':[]};return db['Campaign'][_0xbd86('0x52')]({'where':{'id':_0x95b616[_0xbd86('0x59')]['id']}})['then'](handleEntityNotFound(_0x519314,null))['then'](function(_0x1e210b){if(_0x1e210b){_0x1c5675[_0xbd86('0x2b')]=_[_0xbd86('0x3f')](db[_0xbd86('0x5c')][_0xbd86('0x28')]);_0x1c5675['query']=_[_0xbd86('0x3f')](_0x95b616[_0xbd86('0x2c')]);_0x1c5675[_0xbd86('0x2d')]=_[_0xbd86('0x2e')](_0x1c5675[_0xbd86('0x2b')],_0x1c5675[_0xbd86('0x2c')]);_0x517999[_0xbd86('0x30')]=_[_0xbd86('0x2e')](_0x1c5675['model'],qs[_0xbd86('0x2f')](_0x95b616['query'][_0xbd86('0x2f')]));_0x517999[_0xbd86('0x30')]=_0x517999['attributes']['length']?_0x517999['attributes']:_0x1c5675[_0xbd86('0x2b')];if(!_0x95b616[_0xbd86('0x2c')][_0xbd86('0x32')]('nolimit')){_0x517999[_0xbd86('0x19')]=qs['limit'](_0x95b616[_0xbd86('0x2c')][_0xbd86('0x19')]);_0x517999[_0xbd86('0x18')]=qs[_0xbd86('0x18')](_0x95b616[_0xbd86('0x2c')]['offset']);}_0x517999[_0xbd86('0x34')]=qs[_0xbd86('0x35')](_0x95b616[_0xbd86('0x2c')][_0xbd86('0x35')]);_0x517999['where']=qs[_0xbd86('0x2d')](_[_0xbd86('0x37')](_0x95b616[_0xbd86('0x2c')],_0x1c5675[_0xbd86('0x2d')]));_0x517999[_0xbd86('0x36')][_0xbd86('0x53')]=_0x1e210b['id'];if(_0x95b616[_0xbd86('0x2c')][_0xbd86('0x54')]){_0x517999[_0xbd86('0x36')]=_[_0xbd86('0x38')](_0x517999[_0xbd86('0x36')],{'$or':_[_0xbd86('0x26')](_0x517999[_0xbd86('0x30')],function(_0x1bdd1a){var _0x438a4f={};_0x438a4f[_0x1bdd1a]={'$like':'%'+_0x95b616['query']['filter']+'%'};return _0x438a4f;})});}_0x517999=_['merge']({},_0x517999,_0x95b616[_0xbd86('0x3a')]);return db['CmHopperBlack'][_0xbd86('0x17')]({'where':_0x517999[_0xbd86('0x36')]})[_0xbd86('0x1e')](function(_0x1d6425){_0x136855[_0xbd86('0x17')]=_0x1d6425;if(_0x95b616[_0xbd86('0x2c')][_0xbd86('0x40')]){_0x517999[_0xbd86('0x3b')]=[{'all':!![]}];}return db['CmHopperBlack'][_0xbd86('0x3c')](_0x517999);})[_0xbd86('0x1e')](function(_0x3d5f1a){_0x136855[_0xbd86('0x3d')]=_0x3d5f1a;return _0x136855;});}})[_0xbd86('0x1e')](respondWithFilteredResult(_0x519314,_0x517999))['catch'](handleError(_0x519314,null));};exports[_0xbd86('0x5d')]=function(_0x6ee5b4,_0x54b942,_0x3cae17){var _0x10eaad={};var _0x1cc9e9={};var _0x8a6c4a;var _0x58f4c0;return db[_0xbd86('0x27')][_0xbd86('0x52')]({'where':{'id':_0x6ee5b4[_0xbd86('0x59')]['id']}})[_0xbd86('0x1e')](handleEntityNotFound(_0x54b942,null))[_0xbd86('0x1e')](function(_0x4ff793){if(_0x4ff793){_0x8a6c4a=_0x4ff793;_0x1cc9e9[_0xbd86('0x2b')]=_[_0xbd86('0x3f')](db[_0xbd86('0x5e')][_0xbd86('0x28')]);_0x1cc9e9[_0xbd86('0x2c')]=_['keys'](_0x6ee5b4[_0xbd86('0x2c')]);_0x1cc9e9[_0xbd86('0x2d')]=_[_0xbd86('0x2e')](_0x1cc9e9[_0xbd86('0x2b')],_0x1cc9e9['query']);_0x10eaad[_0xbd86('0x30')]=_[_0xbd86('0x2e')](_0x1cc9e9[_0xbd86('0x2b')],qs['fields'](_0x6ee5b4[_0xbd86('0x2c')]['fields']));_0x10eaad['attributes']=_0x10eaad[_0xbd86('0x30')][_0xbd86('0x31')]?_0x10eaad[_0xbd86('0x30')]:_0x1cc9e9['model'];_0x10eaad[_0xbd86('0x34')]=qs[_0xbd86('0x35')](_0x6ee5b4['query'][_0xbd86('0x35')]);_0x10eaad[_0xbd86('0x36')]=qs[_0xbd86('0x2d')](_[_0xbd86('0x37')](_0x6ee5b4[_0xbd86('0x2c')],_0x1cc9e9[_0xbd86('0x2d')]));if(_0x6ee5b4[_0xbd86('0x2c')][_0xbd86('0x54')]){_0x10eaad['where']=_['merge'](_0x10eaad[_0xbd86('0x36')],{'$or':_[_0xbd86('0x26')](_0x10eaad[_0xbd86('0x30')],function(_0x54e8ff){var _0x2424f7={};_0x2424f7[_0x54e8ff]={'$like':'%'+_0x6ee5b4[_0xbd86('0x2c')][_0xbd86('0x54')]+'%'};return _0x2424f7;})});}_0x10eaad=_[_0xbd86('0x38')]({},_0x10eaad,_0x6ee5b4[_0xbd86('0x3a')]);return _0x8a6c4a[_0xbd86('0x5d')](_0x10eaad);}})[_0xbd86('0x1e')](function(_0xa42174){if(_0xa42174){_0x58f4c0=_0xa42174[_0xbd86('0x31')];if(!_0x6ee5b4[_0xbd86('0x2c')]['hasOwnProperty']('nolimit')){_0x10eaad['limit']=qs[_0xbd86('0x19')](_0x6ee5b4[_0xbd86('0x2c')]['limit']);_0x10eaad[_0xbd86('0x18')]=qs['offset'](_0x6ee5b4['query'][_0xbd86('0x18')]);}return _0x8a6c4a[_0xbd86('0x5d')](_0x10eaad);}})['then'](function(_0xa9cd37){if(_0xa9cd37){return _0xa9cd37?{'count':_0x58f4c0,'rows':_0xa9cd37}:null;}})[_0xbd86('0x1e')](respondWithResult(_0x54b942,null))[_0xbd86('0x41')](handleError(_0x54b942,null));};exports[_0xbd86('0x5f')]=function(_0x376a0d,_0x460fa9,_0x2bb790){var _0x5eb5d2,_0x3ed842;return db[_0xbd86('0x27')]['find']({'where':{'id':_0x376a0d[_0xbd86('0x59')]['id']}})[_0xbd86('0x1e')](handleEntityNotFound(_0x460fa9,null))[_0xbd86('0x1e')](function(_0x583cc1){if(_0x583cc1){_0x3ed842=_0x583cc1;return _0x583cc1['addLists'](_0x376a0d['body'][_0xbd86('0x60')],_['omit'](_0x376a0d['body'],[_0xbd86('0x60'),'id'])||{});}return null;})['spread'](function(_0x129c7c){var _0x5932e1;_0x5eb5d2=_0x129c7c||[];var _0x112c69=[];if(_0x129c7c){for(var _0x476917=0x0;_0x476917<_0x129c7c[_0xbd86('0x31')];_0x476917+=0x1){var _0x1776c6=_0x129c7c[_0x476917][_0xbd86('0x44')]({'plain':!![]});_0x3ed842[_0xbd86('0x61')]=_0x376a0d['body'][_0xbd86('0x61')]?_0x376a0d['body'][_0xbd86('0x61')]:_0x3ed842['dialCheckDuplicateType'];switch(_0x3ed842[_0xbd86('0x61')]){case'always':_0x5932e1=squel['insert']()[_0xbd86('0x62')]('cm_hopper')[_0xbd86('0x63')]([_0xbd86('0x64'),_0xbd86('0x65'),_0xbd86('0x66'),_0xbd86('0x67'),_0xbd86('0x53'),_0xbd86('0x4d'),'updatedAt'],squel[_0xbd86('0x68')]()[_0xbd86('0x69')](_0xbd86('0x64'),_0xbd86('0x64'))[_0xbd86('0x69')]('NOW()','scheduledAt')[_0xbd86('0x69')]('id',_0xbd86('0x66'))['field'](_0x1776c6[_0xbd86('0x6a')][_0xbd86('0x6b')](),_0xbd86('0x67'))[_0xbd86('0x69')](_0x376a0d[_0xbd86('0x59')]['id'][_0xbd86('0x6b')](),_0xbd86('0x53'))[_0xbd86('0x69')](_0xbd86('0x6c'),_0xbd86('0x4d'))[_0xbd86('0x69')](_0xbd86('0x6c'),_0xbd86('0x4e'))['from'](_0xbd86('0x6d'))[_0xbd86('0x36')]('deletedAt\x20IS\x20NULL')[_0xbd86('0x36')](_0xbd86('0x6e'),_0x1776c6[_0xbd86('0x6a')]['toString']())[_0xbd86('0x36')](_0xbd86('0x6f'))[_0xbd86('0x36')](_0xbd86('0x70'),squel[_0xbd86('0x68')]()[_0xbd86('0x69')]('COALESCE(calleridnum,\x27\x27)')['from'](_0xbd86('0x71'))[_0xbd86('0x36')](_0xbd86('0x72'),_0x376a0d[_0xbd86('0x59')]['id']['toString']()))['where'](_0xbd86('0x70'),squel[_0xbd86('0x68')]()[_0xbd86('0x69')](_0xbd86('0x73'))[_0xbd86('0x74')](_0xbd86('0x75'))[_0xbd86('0x36')]('CampaignId\x20=\x20?',_0x376a0d[_0xbd86('0x59')]['id']['toString']())))['toString']();break;case _0xbd86('0x76'):_0x5932e1=squel[_0xbd86('0x77')]()['into']('cm_hopper')[_0xbd86('0x63')]([_0xbd86('0x64'),_0xbd86('0x65'),'ContactId',_0xbd86('0x67'),_0xbd86('0x53'),'createdAt',_0xbd86('0x4e')],squel[_0xbd86('0x68')]()[_0xbd86('0x69')](_0xbd86('0x64'),_0xbd86('0x64'))['field']('NOW()',_0xbd86('0x65'))['field']('id',_0xbd86('0x66'))[_0xbd86('0x69')](_0x1776c6[_0xbd86('0x6a')][_0xbd86('0x6b')](),_0xbd86('0x67'))[_0xbd86('0x69')](_0x376a0d[_0xbd86('0x59')]['id'][_0xbd86('0x6b')](),_0xbd86('0x53'))[_0xbd86('0x69')](_0xbd86('0x6c'),_0xbd86('0x4d'))[_0xbd86('0x69')](_0xbd86('0x6c'),_0xbd86('0x4e'))['from'](_0xbd86('0x6d'))[_0xbd86('0x36')](_0xbd86('0x78'))[_0xbd86('0x36')](_0xbd86('0x6e'),_0x1776c6[_0xbd86('0x6a')]['toString']())[_0xbd86('0x36')](_0xbd86('0x6f'))['where'](_0xbd86('0x70'),squel[_0xbd86('0x68')]()['field'](_0xbd86('0x73'))[_0xbd86('0x74')](_0xbd86('0x75'))['where']('CampaignId\x20=\x20?',_0x376a0d[_0xbd86('0x59')]['id'][_0xbd86('0x6b')]())))[_0xbd86('0x6b')]();break;default:_0x5932e1=squel[_0xbd86('0x77')]()[_0xbd86('0x62')](_0xbd86('0x75'))[_0xbd86('0x63')]([_0xbd86('0x64'),_0xbd86('0x65'),'ContactId','ListId',_0xbd86('0x53'),_0xbd86('0x4d'),_0xbd86('0x4e')],squel['select']()[_0xbd86('0x69')](_0xbd86('0x64'),_0xbd86('0x64'))[_0xbd86('0x69')](_0xbd86('0x6c'),_0xbd86('0x65'))['field']('id',_0xbd86('0x66'))[_0xbd86('0x69')](_0x1776c6['CmListId']['toString'](),'ListId')[_0xbd86('0x69')](_0x376a0d[_0xbd86('0x59')]['id'][_0xbd86('0x6b')](),_0xbd86('0x53'))[_0xbd86('0x69')]('NOW()','createdAt')[_0xbd86('0x69')]('NOW()',_0xbd86('0x4e'))[_0xbd86('0x74')]('cm_contacts')['where'](_0xbd86('0x78'))[_0xbd86('0x36')](_0xbd86('0x6e'),_0x1776c6[_0xbd86('0x6a')][_0xbd86('0x6b')]())[_0xbd86('0x36')](_0xbd86('0x6f')))[_0xbd86('0x6b')]();}_0x112c69['push'](db['sequelize'][_0xbd86('0x2c')](_0x5932e1));}return BPromise['all'](_0x112c69);}})[_0xbd86('0x1e')](function(){return _0x5eb5d2;})['then'](respondWithResult(_0x460fa9,null))[_0xbd86('0x41')](handleError(_0x460fa9,null));};exports[_0xbd86('0x79')]=function(_0x1731d1,_0x4890c4,_0x3f1a2e){return db[_0xbd86('0x27')]['find']({'where':{'id':_0x1731d1[_0xbd86('0x59')]['id']}})[_0xbd86('0x1e')](handleEntityNotFound(_0x4890c4,null))['then'](function(_0x752ea7){if(_0x752ea7){return _0x752ea7['removeLists'](_0x1731d1['query'][_0xbd86('0x60')]);}})[_0xbd86('0x1e')](function(_0x58a9f2){if(_0x58a9f2){return db[_0xbd86('0x55')][_0xbd86('0x21')]({'where':{'ListId':_0x1731d1['query'][_0xbd86('0x60')],'CampaignId':_0x1731d1['params']['id']}})['then'](function(){return _0x58a9f2;});}})[_0xbd86('0x1e')](respondWithStatusCode(_0x4890c4,null))[_0xbd86('0x41')](handleError(_0x4890c4,null));};exports['getBlackLists']=function(_0x5d74d1,_0x131c29,_0x49307a){var _0x235667={'raw':!![],'where':{}};var _0x530212={};var _0x125733={'count':0x0,'rows':[]};return db[_0xbd86('0x27')][_0xbd86('0x52')]({'where':{'id':_0x5d74d1[_0xbd86('0x59')]['id']}})[_0xbd86('0x1e')](handleEntityNotFound(_0x131c29,null))[_0xbd86('0x1e')](function(_0x3e150c){if(_0x3e150c){_0x530212[_0xbd86('0x2b')]=_[_0xbd86('0x3f')](db[_0xbd86('0x5e')][_0xbd86('0x28')]);_0x530212[_0xbd86('0x2c')]=_[_0xbd86('0x3f')](_0x5d74d1['query']);_0x530212[_0xbd86('0x2d')]=_[_0xbd86('0x2e')](_0x530212[_0xbd86('0x2b')],_0x530212[_0xbd86('0x2c')]);_0x235667[_0xbd86('0x30')]=_[_0xbd86('0x2e')](_0x530212[_0xbd86('0x2b')],qs[_0xbd86('0x2f')](_0x5d74d1[_0xbd86('0x2c')][_0xbd86('0x2f')]));_0x235667[_0xbd86('0x30')]=_0x235667[_0xbd86('0x30')][_0xbd86('0x31')]?_0x235667[_0xbd86('0x30')]:_0x530212[_0xbd86('0x2b')];if(!_0x5d74d1[_0xbd86('0x2c')]['hasOwnProperty'](_0xbd86('0x33'))){_0x235667['limit']=qs[_0xbd86('0x19')](_0x5d74d1[_0xbd86('0x2c')][_0xbd86('0x19')]);_0x235667[_0xbd86('0x18')]=qs[_0xbd86('0x18')](_0x5d74d1[_0xbd86('0x2c')][_0xbd86('0x18')]);}_0x235667[_0xbd86('0x34')]=qs[_0xbd86('0x35')](_0x5d74d1[_0xbd86('0x2c')][_0xbd86('0x35')]);_0x235667[_0xbd86('0x36')]=qs[_0xbd86('0x2d')](_[_0xbd86('0x37')](_0x5d74d1[_0xbd86('0x2c')],_0x530212['filters']));_0x235667[_0xbd86('0x36')][_0xbd86('0x53')]=_0x3e150c['id'];if(_0x5d74d1[_0xbd86('0x2c')]['filter']){_0x235667[_0xbd86('0x36')]=_[_0xbd86('0x38')](_0x235667['where'],{'$or':_[_0xbd86('0x26')](_0x235667[_0xbd86('0x30')],function(_0x46134e){var _0x4805be={};_0x4805be[_0x46134e]={'$like':'%'+_0x5d74d1[_0xbd86('0x2c')][_0xbd86('0x54')]+'%'};return _0x4805be;})});}_0x235667=_['merge']({},_0x235667,_0x5d74d1['options']);return db[_0xbd86('0x5e')][_0xbd86('0x17')]({'where':_0x235667[_0xbd86('0x36')]})[_0xbd86('0x1e')](function(_0x3632a6){_0x125733[_0xbd86('0x17')]=_0x3632a6;if(_0x5d74d1[_0xbd86('0x2c')][_0xbd86('0x40')]){_0x235667['include']=[{'all':!![]}];}return db[_0xbd86('0x5e')][_0xbd86('0x3c')](_0x235667);})['then'](function(_0x4ae594){_0x125733[_0xbd86('0x3d')]=_0x4ae594;return _0x125733;});}})['then'](respondWithFilteredResult(_0x131c29,_0x235667))[_0xbd86('0x41')](handleError(_0x131c29,null));};exports[_0xbd86('0x7a')]=function(_0x62fe3f,_0x544dc0,_0x3fa26f){var _0x5d4df3,_0x25ccad;return db[_0xbd86('0x27')][_0xbd86('0x48')]({'where':{'id':_0x62fe3f['params']['id']}})[_0xbd86('0x1e')](handleEntityNotFound(_0x544dc0,null))[_0xbd86('0x1e')](function(_0x24ef6b){if(_0x24ef6b){_0x25ccad=_0x24ef6b;return _0x24ef6b[_0xbd86('0x7a')](_0x62fe3f[_0xbd86('0x4f')]['ids'],_[_0xbd86('0x50')](_0x62fe3f[_0xbd86('0x4f')],[_0xbd86('0x60'),'id'])||{});}return null;})[_0xbd86('0x7b')](function(_0x250fec){var _0x2d5aef;_0x5d4df3=_0x250fec||[];var _0x247347=[];if(_0x250fec){for(var _0x2ee826=0x0;_0x2ee826<_0x250fec[_0xbd86('0x31')];_0x2ee826+=0x1){var _0xeed3bc=_0x250fec[_0x2ee826][_0xbd86('0x44')]({'plain':!![]});_0x2d5aef=squel[_0xbd86('0x77')]()['into'](_0xbd86('0x7c'))[_0xbd86('0x63')]([_0xbd86('0x64'),_0xbd86('0x66'),'ListId',_0xbd86('0x53'),_0xbd86('0x4d'),'updatedAt'],squel[_0xbd86('0x68')]()[_0xbd86('0x69')](_0xbd86('0x64'),_0xbd86('0x64'))[_0xbd86('0x69')]('id',_0xbd86('0x66'))['field'](_0xeed3bc[_0xbd86('0x6a')][_0xbd86('0x6b')](),_0xbd86('0x67'))['field'](_0x62fe3f[_0xbd86('0x59')]['id'][_0xbd86('0x6b')](),_0xbd86('0x53'))['field'](_0xbd86('0x6c'),'createdAt')[_0xbd86('0x69')](_0xbd86('0x6c'),'updatedAt')[_0xbd86('0x74')](_0xbd86('0x6d'))[_0xbd86('0x36')](_0xbd86('0x78'))['where'](_0xbd86('0x6e'),_0xeed3bc['CmListId'][_0xbd86('0x6b')]())[_0xbd86('0x36')](_0xbd86('0x6f')))[_0xbd86('0x6b')]();_0x247347[_0xbd86('0x7d')](db[_0xbd86('0x7e')][_0xbd86('0x2c')](_0x2d5aef));}return BPromise[_0xbd86('0x7f')](_0x247347);}})[_0xbd86('0x1e')](function(){return _0x5d4df3;})[_0xbd86('0x1e')](respondWithResult(_0x544dc0,null))[_0xbd86('0x41')](handleError(_0x544dc0,null));};exports[_0xbd86('0x80')]=function(_0x198d2e,_0x1e069b,_0x407a09){return db[_0xbd86('0x27')]['find']({'where':{'id':_0x198d2e[_0xbd86('0x59')]['id']}})['then'](handleEntityNotFound(_0x1e069b,null))[_0xbd86('0x1e')](function(_0x253712){if(_0x253712){return _0x253712[_0xbd86('0x80')](_0x198d2e[_0xbd86('0x2c')][_0xbd86('0x60')]);}})[_0xbd86('0x1e')](function(_0x30ab6b){if(_0x30ab6b){return db[_0xbd86('0x5c')][_0xbd86('0x21')]({'where':{'ListId':_0x198d2e[_0xbd86('0x2c')][_0xbd86('0x60')],'CampaignId':_0x198d2e[_0xbd86('0x59')]['id']}})[_0xbd86('0x1e')](function(){return _0x30ab6b;});}})[_0xbd86('0x1e')](respondWithStatusCode(_0x1e069b,null))[_0xbd86('0x41')](handleError(_0x1e069b,null));}; \ No newline at end of file diff --git a/server/api/campaign/campaign.model.js b/server/api/campaign/campaign.model.js index 30f58ac..6b08cfd 100644 --- a/server/api/campaign/campaign.model.js +++ b/server/api/campaign/campaign.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x29c1=['../../config/logger','api','moment','request-promise','path','rimraf','../../config/environment','./campaign.attributes','exports','define','campaigns','lodash','util'];(function(_0x154a0a,_0x4b63d7){var _0x4f323f=function(_0x83b26c){while(--_0x83b26c){_0x154a0a['push'](_0x154a0a['shift']());}};_0x4f323f(++_0x4b63d7);}(_0x29c1,0x19e));var _0x129c=function(_0x36edfe,_0x525d0a){_0x36edfe=_0x36edfe-0x0;var _0x8c3500=_0x29c1[_0x36edfe];return _0x8c3500;};'use strict';var _=require(_0x129c('0x0'));var util=require(_0x129c('0x1'));var logger=require(_0x129c('0x2'))(_0x129c('0x3'));var moment=require(_0x129c('0x4'));var BPromise=require('bluebird');var rp=require(_0x129c('0x5'));var fs=require('fs');var path=require(_0x129c('0x6'));var rimraf=require(_0x129c('0x7'));var config=require(_0x129c('0x8'));var attributes=require(_0x129c('0x9'));module[_0x129c('0xa')]=function(_0x2b7ef2,_0x383ffa){return _0x2b7ef2[_0x129c('0xb')]('Campaign',attributes,{'tableName':_0x129c('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0xd337=['../../config/environment','./campaign.attributes','exports','Campaign','campaigns','lodash','../../config/logger','api','moment','bluebird','request-promise','rimraf'];(function(_0x27ef93,_0x3d3d2d){var _0x4dbc5e=function(_0x3eb192){while(--_0x3eb192){_0x27ef93['push'](_0x27ef93['shift']());}};_0x4dbc5e(++_0x3d3d2d);}(_0xd337,0x179));var _0x7d33=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xd337[_0x3dd15e];return _0x231fd0;};'use strict';var _=require(_0x7d33('0x0'));var util=require('util');var logger=require(_0x7d33('0x1'))(_0x7d33('0x2'));var moment=require(_0x7d33('0x3'));var BPromise=require(_0x7d33('0x4'));var rp=require(_0x7d33('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x7d33('0x6'));var config=require(_0x7d33('0x7'));var attributes=require(_0x7d33('0x8'));module[_0x7d33('0x9')]=function(_0x1facc0,_0x1f3e85){return _0x1facc0['define'](_0x7d33('0xa'),attributes,{'tableName':_0x7d33('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/campaign/campaign.rpc.js b/server/api/campaign/campaign.rpc.js index 7c54783..9ce35be 100644 --- a/server/api/campaign/campaign.rpc.js +++ b/server/api/campaign/campaign.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x9957=['catch','GetCampaign','findAll','raw','options','where','attributes','limit','map','include','model','lodash','util','moment','bluebird','ioredis','../../mysqldb','../../config/utils','../../config/logger','../../config/environment','jayson/promise','client','http','then','info','Campaign,\x20%s,\x20%s','request\x20sent','debug','Campaign,\x20%s,\x20%s,\x20%s','stringify','error','code','message','result'];(function(_0x4a06eb,_0x3df929){var _0x4bbfe9=function(_0x252efb){while(--_0x252efb){_0x4a06eb['push'](_0x4a06eb['shift']());}};_0x4bbfe9(++_0x3df929);}(_0x9957,0x93));var _0x7995=function(_0x3947c9,_0x4d6c97){_0x3947c9=_0x3947c9-0x0;var _0x2e7871=_0x9957[_0x3947c9];return _0x2e7871;};'use strict';var _=require(_0x7995('0x0'));var util=require(_0x7995('0x1'));var moment=require(_0x7995('0x2'));var BPromise=require(_0x7995('0x3'));var rs=require('randomstring');var fs=require('fs');var Redis=require(_0x7995('0x4'));var db=require(_0x7995('0x5'))['db'];var utils=require(_0x7995('0x6'));var logger=require(_0x7995('0x7'))('rpc');var config=require(_0x7995('0x8'));var jayson=require(_0x7995('0x9'));var client=jayson[_0x7995('0xa')][_0x7995('0xb')]({'port':0x232a});function respondWithRpcPromise(_0xbda126,_0x326741,_0x4996ca){return new BPromise(function(_0x465276,_0x1cad37){return client['request'](_0xbda126,_0x4996ca)[_0x7995('0xc')](function(_0x3116fb){logger[_0x7995('0xd')](_0x7995('0xe'),_0x326741,_0x7995('0xf'));logger[_0x7995('0x10')](_0x7995('0x11'),_0x326741,'request\x20sent',JSON[_0x7995('0x12')](_0x3116fb));if(_0x3116fb[_0x7995('0x13')]){if(_0x3116fb['error'][_0x7995('0x14')]===0x1f4){logger[_0x7995('0x13')](_0x7995('0xe'),_0x326741,_0x3116fb[_0x7995('0x13')][_0x7995('0x15')]);return _0x1cad37(_0x3116fb[_0x7995('0x13')][_0x7995('0x15')]);}logger['error']('Campaign,\x20%s,\x20%s',_0x326741,_0x3116fb[_0x7995('0x13')][_0x7995('0x15')]);return _0x465276(_0x3116fb[_0x7995('0x13')][_0x7995('0x15')]);}else{logger[_0x7995('0xd')](_0x7995('0xe'),_0x326741,_0x7995('0xf'));_0x465276(_0x3116fb[_0x7995('0x16')]['message']);}})[_0x7995('0x17')](function(_0x565d97){logger[_0x7995('0x13')](_0x7995('0xe'),_0x326741,_0x565d97);_0x1cad37(_0x565d97);});});}exports[_0x7995('0x18')]=function(_0x291317){var _0x1e1415=this;return new Promise(function(_0x37a7d4,_0x4faa60){return db['Campaign'][_0x7995('0x19')]({'raw':_0x291317['options']?_0x291317['options'][_0x7995('0x1a')]===undefined?!![]:![]:!![],'where':_0x291317[_0x7995('0x1b')]?_0x291317['options'][_0x7995('0x1c')]||null:null,'attributes':_0x291317['options']?_0x291317['options'][_0x7995('0x1d')]||null:null,'limit':_0x291317[_0x7995('0x1b')]?_0x291317[_0x7995('0x1b')][_0x7995('0x1e')]||null:null,'include':_0x291317[_0x7995('0x1b')]?_0x291317[_0x7995('0x1b')]['include']?_[_0x7995('0x1f')](_0x291317[_0x7995('0x1b')][_0x7995('0x20')],function(_0x285437){return{'model':db[_0x285437[_0x7995('0x21')]],'as':_0x285437['as'],'attributes':_0x285437[_0x7995('0x1d')],'include':_0x285437[_0x7995('0x20')]?_[_0x7995('0x1f')](_0x285437['include'],function(_0x39df42){return{'model':db[_0x39df42[_0x7995('0x21')]],'as':_0x39df42['as'],'attributes':_0x39df42[_0x7995('0x1d')],'include':_0x39df42[_0x7995('0x20')]?_[_0x7995('0x1f')](_0x39df42[_0x7995('0x20')],function(_0x56691a){return{'model':db[_0x56691a[_0x7995('0x21')]],'as':_0x56691a['as'],'attributes':_0x56691a['attributes']};}):[]};}):[]};}):[]:[]})[_0x7995('0xc')](function(_0x49bc7e){logger[_0x7995('0xd')](_0x7995('0x18'),_0x291317);logger[_0x7995('0x10')]('GetCampaign',_0x291317,JSON[_0x7995('0x12')](_0x49bc7e));_0x37a7d4(_0x49bc7e);})['catch'](function(_0x456a28){logger[_0x7995('0x13')](_0x7995('0x18'),_0x456a28['message'],_0x291317);_0x4faa60(_0x1e1415['error'](0x1f4,_0x456a28['message']));});});}; \ No newline at end of file +var _0xa9e0=['catch','Campaign','findAll','options','raw','where','attributes','include','map','model','GetCampaign','stringify','lodash','util','moment','ioredis','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','http','info','Campaign,\x20%s,\x20%s','request\x20sent','debug','Campaign,\x20%s,\x20%s,\x20%s','code','error','message','result'];(function(_0x4c1811,_0x2c1b66){var _0x1e487a=function(_0x1e82c9){while(--_0x1e82c9){_0x4c1811['push'](_0x4c1811['shift']());}};_0x1e487a(++_0x2c1b66);}(_0xa9e0,0x123));var _0x0a9e=function(_0x2f3848,_0x48564d){_0x2f3848=_0x2f3848-0x0;var _0x102668=_0xa9e0[_0x2f3848];return _0x102668;};'use strict';var _=require(_0x0a9e('0x0'));var util=require(_0x0a9e('0x1'));var moment=require(_0x0a9e('0x2'));var BPromise=require('bluebird');var rs=require('randomstring');var fs=require('fs');var Redis=require(_0x0a9e('0x3'));var db=require('../../mysqldb')['db'];var utils=require(_0x0a9e('0x4'));var logger=require(_0x0a9e('0x5'))(_0x0a9e('0x6'));var config=require(_0x0a9e('0x7'));var jayson=require(_0x0a9e('0x8'));var client=jayson['client'][_0x0a9e('0x9')]({'port':0x232a});function respondWithRpcPromise(_0x441e3a,_0x2cc193,_0x5f41ea){return new BPromise(function(_0x503809,_0xe42b77){return client['request'](_0x441e3a,_0x5f41ea)['then'](function(_0x39753a){logger[_0x0a9e('0xa')](_0x0a9e('0xb'),_0x2cc193,_0x0a9e('0xc'));logger[_0x0a9e('0xd')](_0x0a9e('0xe'),_0x2cc193,'request\x20sent',JSON['stringify'](_0x39753a));if(_0x39753a['error']){if(_0x39753a['error'][_0x0a9e('0xf')]===0x1f4){logger[_0x0a9e('0x10')](_0x0a9e('0xb'),_0x2cc193,_0x39753a[_0x0a9e('0x10')][_0x0a9e('0x11')]);return _0xe42b77(_0x39753a[_0x0a9e('0x10')]['message']);}logger[_0x0a9e('0x10')](_0x0a9e('0xb'),_0x2cc193,_0x39753a[_0x0a9e('0x10')][_0x0a9e('0x11')]);return _0x503809(_0x39753a[_0x0a9e('0x10')][_0x0a9e('0x11')]);}else{logger['info'](_0x0a9e('0xb'),_0x2cc193,'request\x20sent');_0x503809(_0x39753a[_0x0a9e('0x12')]['message']);}})[_0x0a9e('0x13')](function(_0x12066b){logger['error'](_0x0a9e('0xb'),_0x2cc193,_0x12066b);_0xe42b77(_0x12066b);});});}exports['GetCampaign']=function(_0x459eb1){var _0x478723=this;return new Promise(function(_0x106033,_0x205fd6){return db[_0x0a9e('0x14')][_0x0a9e('0x15')]({'raw':_0x459eb1[_0x0a9e('0x16')]?_0x459eb1[_0x0a9e('0x16')][_0x0a9e('0x17')]===undefined?!![]:![]:!![],'where':_0x459eb1[_0x0a9e('0x16')]?_0x459eb1[_0x0a9e('0x16')][_0x0a9e('0x18')]||null:null,'attributes':_0x459eb1['options']?_0x459eb1[_0x0a9e('0x16')][_0x0a9e('0x19')]||null:null,'limit':_0x459eb1['options']?_0x459eb1[_0x0a9e('0x16')]['limit']||null:null,'include':_0x459eb1['options']?_0x459eb1[_0x0a9e('0x16')][_0x0a9e('0x1a')]?_[_0x0a9e('0x1b')](_0x459eb1[_0x0a9e('0x16')]['include'],function(_0xfb6e48){return{'model':db[_0xfb6e48[_0x0a9e('0x1c')]],'as':_0xfb6e48['as'],'attributes':_0xfb6e48[_0x0a9e('0x19')],'include':_0xfb6e48[_0x0a9e('0x1a')]?_[_0x0a9e('0x1b')](_0xfb6e48[_0x0a9e('0x1a')],function(_0x16b1ca){return{'model':db[_0x16b1ca['model']],'as':_0x16b1ca['as'],'attributes':_0x16b1ca['attributes'],'include':_0x16b1ca[_0x0a9e('0x1a')]?_[_0x0a9e('0x1b')](_0x16b1ca[_0x0a9e('0x1a')],function(_0x33161b){return{'model':db[_0x33161b['model']],'as':_0x33161b['as'],'attributes':_0x33161b[_0x0a9e('0x19')]};}):[]};}):[]};}):[]:[]})['then'](function(_0x45a1e7){logger['info'](_0x0a9e('0x1d'),_0x459eb1);logger[_0x0a9e('0xd')](_0x0a9e('0x1d'),_0x459eb1,JSON[_0x0a9e('0x1e')](_0x45a1e7));_0x106033(_0x45a1e7);})[_0x0a9e('0x13')](function(_0x1538a4){logger[_0x0a9e('0x10')](_0x0a9e('0x1d'),_0x1538a4['message'],_0x459eb1);_0x205fd6(_0x478723[_0x0a9e('0x10')](0x1f4,_0x1538a4[_0x0a9e('0x11')]));});});}; \ No newline at end of file diff --git a/server/api/campaign/index.js b/server/api/campaign/index.js index 696219f..c0031d5 100644 --- a/server/api/campaign/index.js +++ b/server/api/campaign/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x4561=['express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./campaign.controller','get','/:id','isAuthenticated','/:id/hoppers','getHoppers','getHopperFinals','/:id/hopper_black','getHopperBlacks','/:id/lists','getLists','/:id/blacklists','getBlackLists','post','clone','addLists','addBlackLists','update','delete','removeLists','exports','multer','path','connect-timeout'];(function(_0x57d2c7,_0x5de40f){var _0x21dc54=function(_0x21d03a){while(--_0x21d03a){_0x57d2c7['push'](_0x57d2c7['shift']());}};_0x21dc54(++_0x5de40f);}(_0x4561,0xe5));var _0x1456=function(_0x7005dc,_0xeb51c4){_0x7005dc=_0x7005dc-0x0;var _0x5b2497=_0x4561[_0x7005dc];return _0x5b2497;};'use strict';var multer=require(_0x1456('0x0'));var util=require('util');var path=require(_0x1456('0x1'));var timeout=require(_0x1456('0x2'));var express=require(_0x1456('0x3'));var router=express[_0x1456('0x4')]();var auth=require(_0x1456('0x5'));var interaction=require(_0x1456('0x6'));var config=require(_0x1456('0x7'));var controller=require(_0x1456('0x8'));router['get']('/',auth['isAuthenticated'](),controller['index']);router[_0x1456('0x9')](_0x1456('0xa'),auth[_0x1456('0xb')](),controller['show']);router[_0x1456('0x9')](_0x1456('0xc'),auth[_0x1456('0xb')](),controller[_0x1456('0xd')]);router[_0x1456('0x9')]('/:id/hopper_histories',auth[_0x1456('0xb')](),controller['getHopperHistories']);router[_0x1456('0x9')]('/:id/hopper_finals',auth[_0x1456('0xb')](),controller[_0x1456('0xe')]);router[_0x1456('0x9')](_0x1456('0xf'),auth[_0x1456('0xb')](),controller[_0x1456('0x10')]);router['get'](_0x1456('0x11'),auth['isAuthenticated'](),controller[_0x1456('0x12')]);router[_0x1456('0x9')](_0x1456('0x13'),auth['isAuthenticated'](),controller[_0x1456('0x14')]);router[_0x1456('0x15')]('/',auth[_0x1456('0xb')](),controller['create']);router['post']('/:id/clone',auth[_0x1456('0xb')](),controller[_0x1456('0x16')]);router['post']('/:id/lists',auth[_0x1456('0xb')](),controller[_0x1456('0x17')]);router[_0x1456('0x15')](_0x1456('0x13'),auth[_0x1456('0xb')](),controller[_0x1456('0x18')]);router['put'](_0x1456('0xa'),auth[_0x1456('0xb')](),controller[_0x1456('0x19')]);router[_0x1456('0x1a')](_0x1456('0xa'),auth['isAuthenticated'](),controller['destroy']);router[_0x1456('0x1a')]('/:id/lists',auth['isAuthenticated'](),controller[_0x1456('0x1b')]);router[_0x1456('0x1a')](_0x1456('0x13'),auth[_0x1456('0xb')](),controller['removeBlackLists']);module[_0x1456('0x1c')]=router; \ No newline at end of file +var _0x58ac=['post','addBlackLists','put','/:id','update','destroy','removeLists','delete','exports','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','show','/:id/hoppers','getHoppers','/:id/hopper_histories','getHopperHistories','/:id/hopper_finals','/:id/hopper_black','getHopperBlacks','/:id/lists','getLists','/:id/blacklists','getBlackLists','create'];(function(_0x44dcec,_0x4adb35){var _0x577bf9=function(_0x18cbc2){while(--_0x18cbc2){_0x44dcec['push'](_0x44dcec['shift']());}};_0x577bf9(++_0x4adb35);}(_0x58ac,0xc9));var _0xc58a=function(_0x3f3602,_0x3e6483){_0x3f3602=_0x3f3602-0x0;var _0x14343d=_0x58ac[_0x3f3602];return _0x14343d;};'use strict';var multer=require('multer');var util=require(_0xc58a('0x0'));var path=require(_0xc58a('0x1'));var timeout=require(_0xc58a('0x2'));var express=require(_0xc58a('0x3'));var router=express[_0xc58a('0x4')]();var auth=require(_0xc58a('0x5'));var interaction=require(_0xc58a('0x6'));var config=require(_0xc58a('0x7'));var controller=require('./campaign.controller');router[_0xc58a('0x8')]('/',auth[_0xc58a('0x9')](),controller['index']);router[_0xc58a('0x8')]('/:id',auth['isAuthenticated'](),controller[_0xc58a('0xa')]);router['get'](_0xc58a('0xb'),auth[_0xc58a('0x9')](),controller[_0xc58a('0xc')]);router[_0xc58a('0x8')](_0xc58a('0xd'),auth['isAuthenticated'](),controller[_0xc58a('0xe')]);router[_0xc58a('0x8')](_0xc58a('0xf'),auth[_0xc58a('0x9')](),controller['getHopperFinals']);router[_0xc58a('0x8')](_0xc58a('0x10'),auth[_0xc58a('0x9')](),controller[_0xc58a('0x11')]);router[_0xc58a('0x8')](_0xc58a('0x12'),auth[_0xc58a('0x9')](),controller[_0xc58a('0x13')]);router['get'](_0xc58a('0x14'),auth[_0xc58a('0x9')](),controller[_0xc58a('0x15')]);router['post']('/',auth[_0xc58a('0x9')](),controller[_0xc58a('0x16')]);router['post']('/:id/clone',auth[_0xc58a('0x9')](),controller['clone']);router[_0xc58a('0x17')](_0xc58a('0x12'),auth[_0xc58a('0x9')](),controller['addLists']);router[_0xc58a('0x17')](_0xc58a('0x14'),auth[_0xc58a('0x9')](),controller[_0xc58a('0x18')]);router[_0xc58a('0x19')](_0xc58a('0x1a'),auth[_0xc58a('0x9')](),controller[_0xc58a('0x1b')]);router['delete']('/:id',auth[_0xc58a('0x9')](),controller[_0xc58a('0x1c')]);router['delete'](_0xc58a('0x12'),auth[_0xc58a('0x9')](),controller[_0xc58a('0x1d')]);router[_0xc58a('0x1e')](_0xc58a('0x14'),auth[_0xc58a('0x9')](),controller['removeBlackLists']);module[_0xc58a('0x1f')]=router; \ No newline at end of file diff --git a/server/api/cannedAnswer/cannedAnswer.attributes.js b/server/api/cannedAnswer/cannedAnswer.attributes.js index 06ca8cc..c88e03c 100644 --- a/server/api/cannedAnswer/cannedAnswer.attributes.js +++ b/server/api/cannedAnswer/cannedAnswer.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xaece=['key','exports','STRING'];(function(_0x3ea8f3,_0x35eb74){var _0x4c70ba=function(_0x1738ba){while(--_0x1738ba){_0x3ea8f3['push'](_0x3ea8f3['shift']());}};_0x4c70ba(++_0x35eb74);}(_0xaece,0x97));var _0xeaec=function(_0x16950f,_0x2bfa09){_0x16950f=_0x16950f-0x0;var _0x3b0c66=_0xaece[_0x16950f];return _0x3b0c66;};'use strict';var Sequelize=require('sequelize');module[_0xeaec('0x0')]={'key':{'type':Sequelize[_0xeaec('0x1')],'allowNull':![]},'value':{'type':Sequelize['TEXT'],'allowNull':![]},'description':{'type':Sequelize['STRING']},'name':{'type':Sequelize['VIRTUAL'],'get':function(){return this['getDataValue'](_0xeaec('0x2'));}}}; \ No newline at end of file +var _0x455a=['getDataValue','sequelize','STRING'];(function(_0x574aaf,_0x4f206a){var _0x376051=function(_0x4111a4){while(--_0x4111a4){_0x574aaf['push'](_0x574aaf['shift']());}};_0x376051(++_0x4f206a);}(_0x455a,0x1ab));var _0xa455=function(_0x1fd41d,_0x14e840){_0x1fd41d=_0x1fd41d-0x0;var _0x4bae82=_0x455a[_0x1fd41d];return _0x4bae82;};'use strict';var Sequelize=require(_0xa455('0x0'));module['exports']={'key':{'type':Sequelize[_0xa455('0x1')],'allowNull':![]},'value':{'type':Sequelize['TEXT'],'allowNull':![]},'description':{'type':Sequelize[_0xa455('0x1')]},'name':{'type':Sequelize['VIRTUAL'],'get':function(){return this[_0xa455('0x2')]('key');}}}; \ No newline at end of file diff --git a/server/api/cannedAnswer/cannedAnswer.controller.js b/server/api/cannedAnswer/cannedAnswer.controller.js index 78d3fd8..4ac0b60 100644 --- a/server/api/cannedAnswer/cannedAnswer.controller.js +++ b/server/api/cannedAnswer/cannedAnswer.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x9579=['api','../../config/utils','../../config/environment','../../mysqldb','sendStatus','status','end','json','offset','limit','Content-Range','reject','save','update','then','destroy','get','CannedAnswers','UserProfileResource','stack','name','send','index','map','CannedAnswer','rawAttributes','type','key','keys','query','filters','model','attributes','fields','hasOwnProperty','nolimit','order','sort','where','pick','merge','VIRTUAL','filter','options','count','includeAll','include','findAll','catch','show','intersection','length','find','body','params','create','MailAccountId','SmsAccountId','OpenchannelAccountId','ChatWebsiteId','Sequelize','ValidationError','role','user','UserProfileSection','userProfileId','autoAssociation','error','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','bluebird','mustache','util','path','sox','ejs','squel','crypto','jsforce','desk.js','to-csv','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../config/logger'];(function(_0x4eec12,_0x568cf4){var _0x39a583=function(_0x4d8d44){while(--_0x4d8d44){_0x4eec12['push'](_0x4eec12['shift']());}};_0x39a583(++_0x568cf4);}(_0x9579,0xa1));var _0x9957=function(_0x4f0c2b,_0x2c9d14){_0x4f0c2b=_0x4f0c2b-0x0;var _0x526436=_0x9579[_0x4f0c2b];return _0x526436;};'use strict';var pdf=require(_0x9957('0x0'));var emlformat=require(_0x9957('0x1'));var rimraf=require(_0x9957('0x2'));var zipdir=require(_0x9957('0x3'));var jsonpatch=require(_0x9957('0x4'));var rp=require(_0x9957('0x5'));var moment=require('moment');var BPromise=require(_0x9957('0x6'));var Mustache=require(_0x9957('0x7'));var util=require(_0x9957('0x8'));var path=require(_0x9957('0x9'));var sox=require(_0x9957('0xa'));var csv=require('to-csv');var ejs=require(_0x9957('0xb'));var fs=require('fs');var _=require('lodash');var squel=require(_0x9957('0xc'));var crypto=require(_0x9957('0xd'));var jsforce=require(_0x9957('0xe'));var deskjs=require(_0x9957('0xf'));var toCsv=require(_0x9957('0x10'));var querystring=require(_0x9957('0x11'));var Papa=require(_0x9957('0x12'));var Redis=require(_0x9957('0x13'));var authService=require(_0x9957('0x14'));var qs=require(_0x9957('0x15'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require('../../config/license/hardware');var logger=require(_0x9957('0x16'))(_0x9957('0x17'));var utils=require(_0x9957('0x18'));var config=require(_0x9957('0x19'));var db=require(_0x9957('0x1a'))['db'];function respondWithStatusCode(_0x479101,_0x8f9825){_0x8f9825=_0x8f9825||0xcc;return function(_0xf9c813){if(_0xf9c813){return _0x479101[_0x9957('0x1b')](_0x8f9825);}return _0x479101[_0x9957('0x1c')](_0x8f9825)[_0x9957('0x1d')]();};}function respondWithResult(_0x4e0f87,_0x1c65a0){_0x1c65a0=_0x1c65a0||0xc8;return function(_0x53c59c){if(_0x53c59c){return _0x4e0f87['status'](_0x1c65a0)[_0x9957('0x1e')](_0x53c59c);}};}function respondWithFilteredResult(_0x1c4d26,_0x4e70e5){return function(_0x6e2f1e){if(_0x6e2f1e){var _0xb92edf=_0x6e2f1e['count'],_0xe3bd=_0x4e70e5[_0x9957('0x1f')],_0x1f209c=_0x4e70e5[_0x9957('0x1f')]+_0x4e70e5[_0x9957('0x20')],_0x26b6b6;if(_0x1f209c>=_0xb92edf){_0x1f209c=_0xb92edf;_0x26b6b6=0xc8;}else{_0x26b6b6=0xce;}_0x1c4d26[_0x9957('0x1c')](_0x26b6b6);return _0x1c4d26['set'](_0x9957('0x21'),_0xe3bd+'-'+_0x1f209c+'/'+_0xb92edf)[_0x9957('0x1e')](_0x6e2f1e);}return null;};}function patchUpdates(_0x480fbc){return function(_0x46b66f){try{jsonpatch['apply'](_0x46b66f,_0x480fbc,!![]);}catch(_0x5f0dd2){return BPromise[_0x9957('0x22')](_0x5f0dd2);}return _0x46b66f[_0x9957('0x23')]();};}function saveUpdates(_0x2bd1bc,_0x16242b){return function(_0x4effe2){if(_0x4effe2){return _0x4effe2[_0x9957('0x24')](_0x2bd1bc)[_0x9957('0x25')](function(_0x4bad91){return _0x4bad91;});}return null;};}function removeEntity(_0x1219b8,_0x4b38ba){return function(_0x432a56){if(_0x432a56){return _0x432a56[_0x9957('0x26')]()[_0x9957('0x25')](function(){var _0xc0fd5=_0x432a56[_0x9957('0x27')]({'plain':!![]});var _0x44555b=_0x9957('0x28');return db[_0x9957('0x29')][_0x9957('0x26')]({'where':{'type':_0x44555b,'resourceId':_0xc0fd5['id']}})[_0x9957('0x25')](function(){return _0x432a56;});})[_0x9957('0x25')](function(){_0x1219b8['status'](0xcc)[_0x9957('0x1d')]();});}};}function handleEntityNotFound(_0x37de7f,_0x40f84b){return function(_0x44d9c5){if(!_0x44d9c5){_0x37de7f[_0x9957('0x1b')](0x194);}return _0x44d9c5;};}function handleError(_0x250849,_0x1cb65d){_0x1cb65d=_0x1cb65d||0x1f4;return function(_0x21fd28){logger['error'](_0x21fd28[_0x9957('0x2a')]);if(_0x21fd28['name']){delete _0x21fd28[_0x9957('0x2b')];}_0x250849['status'](_0x1cb65d)[_0x9957('0x2c')](_0x21fd28);};}exports[_0x9957('0x2d')]=function(_0x55897,_0x35c887){var _0x41d761={},_0x593507={},_0x1ed95b={'count':0x0,'rows':[]};var _0x513795=_[_0x9957('0x2e')](db[_0x9957('0x2f')][_0x9957('0x30')],function(_0x2fddf3){return{'name':_0x2fddf3['fieldName'],'type':_0x2fddf3[_0x9957('0x31')][_0x9957('0x32')]};});_0x593507['model']=_[_0x9957('0x2e')](_0x513795,_0x9957('0x2b'));_0x593507['query']=_[_0x9957('0x33')](_0x55897[_0x9957('0x34')]);_0x593507[_0x9957('0x35')]=_['intersection'](_0x593507[_0x9957('0x36')],_0x593507[_0x9957('0x34')]);_0x41d761[_0x9957('0x37')]=_['intersection'](_0x593507['model'],qs[_0x9957('0x38')](_0x55897[_0x9957('0x34')][_0x9957('0x38')]));_0x41d761[_0x9957('0x37')]=_0x41d761[_0x9957('0x37')]['length']?_0x41d761['attributes']:_0x593507['model'];if(!_0x55897[_0x9957('0x34')][_0x9957('0x39')](_0x9957('0x3a'))){_0x41d761[_0x9957('0x20')]=qs[_0x9957('0x20')](_0x55897[_0x9957('0x34')]['limit']);_0x41d761[_0x9957('0x1f')]=qs[_0x9957('0x1f')](_0x55897['query']['offset']);}_0x41d761[_0x9957('0x3b')]=qs[_0x9957('0x3c')](_0x55897[_0x9957('0x34')]['sort']);_0x41d761[_0x9957('0x3d')]=qs[_0x9957('0x35')](_[_0x9957('0x3e')](_0x55897[_0x9957('0x34')],_0x593507[_0x9957('0x35')]),_0x513795);if(_0x55897['query']['filter']){_0x41d761['where']=_[_0x9957('0x3f')](_0x41d761[_0x9957('0x3d')],{'$or':_[_0x9957('0x2e')](_0x513795,function(_0x1abfeb){if(_0x1abfeb['type']!==_0x9957('0x40')){var _0x539abb={};_0x539abb[_0x1abfeb['name']]={'$like':'%'+_0x55897['query'][_0x9957('0x41')]+'%'};return _0x539abb;}})});}_0x41d761=_[_0x9957('0x3f')]({},_0x41d761,_0x55897[_0x9957('0x42')]);var _0x5ed014={'where':_0x41d761[_0x9957('0x3d')]};return db[_0x9957('0x2f')][_0x9957('0x43')](_0x5ed014)[_0x9957('0x25')](function(_0x38cfea){_0x1ed95b[_0x9957('0x43')]=_0x38cfea;if(_0x55897[_0x9957('0x34')][_0x9957('0x44')]){_0x41d761[_0x9957('0x45')]=[{'all':!![]}];}return db['CannedAnswer'][_0x9957('0x46')](_0x41d761);})['then'](function(_0x48c06f){_0x1ed95b['rows']=_0x48c06f;return _0x1ed95b;})['then'](respondWithFilteredResult(_0x35c887,_0x41d761))[_0x9957('0x47')](handleError(_0x35c887,null));};exports[_0x9957('0x48')]=function(_0x2a3838,_0x397b82){var _0x4ca39a={'raw':!![],'where':{'id':_0x2a3838['params']['id']}},_0x3a0370={};_0x3a0370['model']=_['keys'](db['CannedAnswer'][_0x9957('0x30')]);_0x3a0370[_0x9957('0x34')]=_[_0x9957('0x33')](_0x2a3838['query']);_0x3a0370[_0x9957('0x35')]=_[_0x9957('0x49')](_0x3a0370[_0x9957('0x36')],_0x3a0370['query']);_0x4ca39a[_0x9957('0x37')]=_[_0x9957('0x49')](_0x3a0370[_0x9957('0x36')],qs[_0x9957('0x38')](_0x2a3838[_0x9957('0x34')][_0x9957('0x38')]));_0x4ca39a[_0x9957('0x37')]=_0x4ca39a['attributes'][_0x9957('0x4a')]?_0x4ca39a['attributes']:_0x3a0370[_0x9957('0x36')];if(_0x2a3838[_0x9957('0x34')]['includeAll']){_0x4ca39a['include']=[{'all':!![]}];}_0x4ca39a=_[_0x9957('0x3f')]({},_0x4ca39a,_0x2a3838[_0x9957('0x42')]);return db[_0x9957('0x2f')][_0x9957('0x4b')](_0x4ca39a)['then'](handleEntityNotFound(_0x397b82,null))[_0x9957('0x25')](respondWithResult(_0x397b82,null))[_0x9957('0x47')](handleError(_0x397b82,null));};exports[_0x9957('0x24')]=function(_0x37f87f,_0x584838){if(_0x37f87f[_0x9957('0x4c')]['id']){delete _0x37f87f[_0x9957('0x4c')]['id'];}return db[_0x9957('0x2f')][_0x9957('0x4b')]({'where':{'id':_0x37f87f[_0x9957('0x4d')]['id']}})[_0x9957('0x25')](handleEntityNotFound(_0x584838,null))[_0x9957('0x25')](saveUpdates(_0x37f87f[_0x9957('0x4c')],null))[_0x9957('0x25')](respondWithResult(_0x584838,null))[_0x9957('0x47')](handleError(_0x584838,null));};exports[_0x9957('0x26')]=function(_0xa72566,_0x55ef0e){return db[_0x9957('0x2f')][_0x9957('0x4b')]({'where':{'id':_0xa72566['params']['id']}})[_0x9957('0x25')](handleEntityNotFound(_0x55ef0e,null))[_0x9957('0x25')](removeEntity(_0x55ef0e,null))['catch'](handleError(_0x55ef0e,null));};exports[_0x9957('0x4e')]=function(_0x5e8ce5,_0x5b9c7a){var _0x22d270={'key':_0x5e8ce5[_0x9957('0x4c')]['key']};if(_0x5e8ce5[_0x9957('0x4c')][_0x9957('0x4f')]){_0x22d270[_0x9957('0x4f')]=_0x5e8ce5[_0x9957('0x4c')]['MailAccountId'];}else if(_0x5e8ce5['body'][_0x9957('0x50')]){_0x22d270[_0x9957('0x50')]=_0x5e8ce5[_0x9957('0x4c')][_0x9957('0x50')];}else if(_0x5e8ce5[_0x9957('0x4c')][_0x9957('0x51')]){_0x22d270[_0x9957('0x51')]=_0x5e8ce5['body'][_0x9957('0x51')];}else if(_0x5e8ce5[_0x9957('0x4c')][_0x9957('0x52')]){_0x22d270[_0x9957('0x52')]=_0x5e8ce5['body'][_0x9957('0x52')];}return db[_0x9957('0x2f')][_0x9957('0x4b')]({'where':_0x22d270})['then'](function(_0x261646){if(_0x261646){throw new db[(_0x9957('0x53'))][(_0x9957('0x54'))]('The\x20inserted\x20key\x20already\x20exists.');}return db[_0x9957('0x2f')]['create'](_0x5e8ce5[_0x9957('0x4c')]);})['then'](function(_0x2a6c37){var _0x34f6a9=_0x5e8ce5['user'][_0x9957('0x27')]({'plain':!![]});if(!_0x34f6a9)throw new Error('Unable\x20to\x20retrieve\x20the\x20current\x20user');if(_0x34f6a9[_0x9957('0x55')]===_0x9957('0x56')){var _0x5da925=_0x2a6c37[_0x9957('0x27')]({'plain':!![]});return db[_0x9957('0x57')][_0x9957('0x4b')]({'where':{'name':_0x9957('0x28'),'userProfileId':_0x34f6a9[_0x9957('0x58')]},'raw':!![]})[_0x9957('0x25')](function(_0x16b06c){if(_0x16b06c&&_0x16b06c[_0x9957('0x59')]===0x0){return db[_0x9957('0x29')][_0x9957('0x4e')]({'name':_0x5da925[_0x9957('0x2b')],'resourceId':_0x5da925['id'],'type':_0x16b06c[_0x9957('0x2b')],'sectionId':_0x16b06c['id']},{})[_0x9957('0x25')](function(){return _0x2a6c37;});}else{return _0x2a6c37;}})[_0x9957('0x47')](function(_0x45baf0){logger[_0x9957('0x5a')](_0x9957('0x5b'),_0x45baf0);throw _0x45baf0;});}return _0x2a6c37;})[_0x9957('0x25')](respondWithResult(_0x5b9c7a,0xc9))['catch'](handleError(_0x5b9c7a,null));}; \ No newline at end of file +var _0xc397=['querystring','papaparse','../../components/auth/service','../../config/license/hardware','api','../../config/utils','../../config/environment','../../mysqldb','sendStatus','status','json','offset','apply','reject','save','then','destroy','get','CannedAnswers','UserProfileResource','end','stack','name','send','map','CannedAnswer','rawAttributes','key','query','keys','filters','intersection','model','attributes','fields','hasOwnProperty','limit','sort','where','options','count','includeAll','include','findAll','rows','show','params','length','find','catch','update','body','create','MailAccountId','SmsAccountId','OpenchannelAccountId','ChatWebsiteId','Sequelize','ValidationError','The\x20inserted\x20key\x20already\x20exists.','Unable\x20to\x20retrieve\x20the\x20current\x20user','role','user','userProfileId','autoAssociation','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','html-pdf','fast-json-patch','request-promise','moment','bluebird','util','sox','to-csv','ejs','lodash','squel','crypto','desk.js'];(function(_0x204529,_0x2924f6){var _0x336ab2=function(_0x2ab59d){while(--_0x2ab59d){_0x204529['push'](_0x204529['shift']());}};_0x336ab2(++_0x2924f6);}(_0xc397,0xe0));var _0x7c39=function(_0x40a245,_0x24a7b8){_0x40a245=_0x40a245-0x0;var _0x403870=_0xc397[_0x40a245];return _0x403870;};'use strict';var pdf=require(_0x7c39('0x0'));var emlformat=require('eml-format');var rimraf=require('rimraf');var zipdir=require('zip-dir');var jsonpatch=require(_0x7c39('0x1'));var rp=require(_0x7c39('0x2'));var moment=require(_0x7c39('0x3'));var BPromise=require(_0x7c39('0x4'));var Mustache=require('mustache');var util=require(_0x7c39('0x5'));var path=require('path');var sox=require(_0x7c39('0x6'));var csv=require(_0x7c39('0x7'));var ejs=require(_0x7c39('0x8'));var fs=require('fs');var _=require(_0x7c39('0x9'));var squel=require(_0x7c39('0xa'));var crypto=require(_0x7c39('0xb'));var jsforce=require('jsforce');var deskjs=require(_0x7c39('0xc'));var toCsv=require(_0x7c39('0x7'));var querystring=require(_0x7c39('0xd'));var Papa=require(_0x7c39('0xe'));var Redis=require('ioredis');var authService=require(_0x7c39('0xf'));var qs=require('../../components/parsers/qs');var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0x7c39('0x10'));var logger=require('../../config/logger')(_0x7c39('0x11'));var utils=require(_0x7c39('0x12'));var config=require(_0x7c39('0x13'));var db=require(_0x7c39('0x14'))['db'];function respondWithStatusCode(_0x4cf5ad,_0x8e23ad){_0x8e23ad=_0x8e23ad||0xcc;return function(_0x277d6e){if(_0x277d6e){return _0x4cf5ad[_0x7c39('0x15')](_0x8e23ad);}return _0x4cf5ad[_0x7c39('0x16')](_0x8e23ad)['end']();};}function respondWithResult(_0x41fa68,_0x30793b){_0x30793b=_0x30793b||0xc8;return function(_0x159d6b){if(_0x159d6b){return _0x41fa68[_0x7c39('0x16')](_0x30793b)[_0x7c39('0x17')](_0x159d6b);}};}function respondWithFilteredResult(_0x293150,_0x2a741a){return function(_0x2b90a6){if(_0x2b90a6){var _0xee7d58=_0x2b90a6['count'],_0x5f074e=_0x2a741a[_0x7c39('0x18')],_0xcc1ae4=_0x2a741a['offset']+_0x2a741a['limit'],_0x45bc1d;if(_0xcc1ae4>=_0xee7d58){_0xcc1ae4=_0xee7d58;_0x45bc1d=0xc8;}else{_0x45bc1d=0xce;}_0x293150['status'](_0x45bc1d);return _0x293150['set']('Content-Range',_0x5f074e+'-'+_0xcc1ae4+'/'+_0xee7d58)[_0x7c39('0x17')](_0x2b90a6);}return null;};}function patchUpdates(_0x9a013){return function(_0x99ea5f){try{jsonpatch[_0x7c39('0x19')](_0x99ea5f,_0x9a013,!![]);}catch(_0x527852){return BPromise[_0x7c39('0x1a')](_0x527852);}return _0x99ea5f[_0x7c39('0x1b')]();};}function saveUpdates(_0x2a3c3f,_0x9ded63){return function(_0x2a8648){if(_0x2a8648){return _0x2a8648['update'](_0x2a3c3f)[_0x7c39('0x1c')](function(_0x201e06){return _0x201e06;});}return null;};}function removeEntity(_0x415a81,_0x35e6ef){return function(_0x10bf53){if(_0x10bf53){return _0x10bf53[_0x7c39('0x1d')]()[_0x7c39('0x1c')](function(){var _0x27bd72=_0x10bf53[_0x7c39('0x1e')]({'plain':!![]});var _0x2e7f96=_0x7c39('0x1f');return db[_0x7c39('0x20')][_0x7c39('0x1d')]({'where':{'type':_0x2e7f96,'resourceId':_0x27bd72['id']}})[_0x7c39('0x1c')](function(){return _0x10bf53;});})['then'](function(){_0x415a81['status'](0xcc)[_0x7c39('0x21')]();});}};}function handleEntityNotFound(_0x144c12,_0x1b37ef){return function(_0xb66cc4){if(!_0xb66cc4){_0x144c12[_0x7c39('0x15')](0x194);}return _0xb66cc4;};}function handleError(_0xd23973,_0x3d2314){_0x3d2314=_0x3d2314||0x1f4;return function(_0x22d3a5){logger['error'](_0x22d3a5[_0x7c39('0x22')]);if(_0x22d3a5['name']){delete _0x22d3a5[_0x7c39('0x23')];}_0xd23973[_0x7c39('0x16')](_0x3d2314)[_0x7c39('0x24')](_0x22d3a5);};}exports['index']=function(_0x213a5c,_0x5ce51c){var _0x2094d3={},_0x2575bb={},_0x597aee={'count':0x0,'rows':[]};var _0x1bb7aa=_[_0x7c39('0x25')](db[_0x7c39('0x26')][_0x7c39('0x27')],function(_0x44440c){return{'name':_0x44440c['fieldName'],'type':_0x44440c['type'][_0x7c39('0x28')]};});_0x2575bb['model']=_[_0x7c39('0x25')](_0x1bb7aa,_0x7c39('0x23'));_0x2575bb[_0x7c39('0x29')]=_[_0x7c39('0x2a')](_0x213a5c['query']);_0x2575bb[_0x7c39('0x2b')]=_[_0x7c39('0x2c')](_0x2575bb[_0x7c39('0x2d')],_0x2575bb[_0x7c39('0x29')]);_0x2094d3[_0x7c39('0x2e')]=_[_0x7c39('0x2c')](_0x2575bb['model'],qs[_0x7c39('0x2f')](_0x213a5c[_0x7c39('0x29')][_0x7c39('0x2f')]));_0x2094d3[_0x7c39('0x2e')]=_0x2094d3[_0x7c39('0x2e')]['length']?_0x2094d3[_0x7c39('0x2e')]:_0x2575bb['model'];if(!_0x213a5c[_0x7c39('0x29')][_0x7c39('0x30')]('nolimit')){_0x2094d3[_0x7c39('0x31')]=qs[_0x7c39('0x31')](_0x213a5c[_0x7c39('0x29')][_0x7c39('0x31')]);_0x2094d3['offset']=qs[_0x7c39('0x18')](_0x213a5c[_0x7c39('0x29')][_0x7c39('0x18')]);}_0x2094d3['order']=qs[_0x7c39('0x32')](_0x213a5c[_0x7c39('0x29')]['sort']);_0x2094d3[_0x7c39('0x33')]=qs['filters'](_['pick'](_0x213a5c['query'],_0x2575bb[_0x7c39('0x2b')]),_0x1bb7aa);if(_0x213a5c[_0x7c39('0x29')]['filter']){_0x2094d3['where']=_['merge'](_0x2094d3[_0x7c39('0x33')],{'$or':_[_0x7c39('0x25')](_0x1bb7aa,function(_0x4aced8){if(_0x4aced8['type']!=='VIRTUAL'){var _0x528c90={};_0x528c90[_0x4aced8['name']]={'$like':'%'+_0x213a5c[_0x7c39('0x29')]['filter']+'%'};return _0x528c90;}})});}_0x2094d3=_['merge']({},_0x2094d3,_0x213a5c[_0x7c39('0x34')]);var _0xeb46e5={'where':_0x2094d3['where']};return db[_0x7c39('0x26')][_0x7c39('0x35')](_0xeb46e5)[_0x7c39('0x1c')](function(_0x446de8){_0x597aee[_0x7c39('0x35')]=_0x446de8;if(_0x213a5c[_0x7c39('0x29')][_0x7c39('0x36')]){_0x2094d3[_0x7c39('0x37')]=[{'all':!![]}];}return db[_0x7c39('0x26')][_0x7c39('0x38')](_0x2094d3);})[_0x7c39('0x1c')](function(_0x154101){_0x597aee[_0x7c39('0x39')]=_0x154101;return _0x597aee;})[_0x7c39('0x1c')](respondWithFilteredResult(_0x5ce51c,_0x2094d3))['catch'](handleError(_0x5ce51c,null));};exports[_0x7c39('0x3a')]=function(_0xc3fd73,_0x1a6454){var _0x35b303={'raw':!![],'where':{'id':_0xc3fd73[_0x7c39('0x3b')]['id']}},_0x462b0c={};_0x462b0c['model']=_[_0x7c39('0x2a')](db[_0x7c39('0x26')][_0x7c39('0x27')]);_0x462b0c[_0x7c39('0x29')]=_[_0x7c39('0x2a')](_0xc3fd73['query']);_0x462b0c[_0x7c39('0x2b')]=_[_0x7c39('0x2c')](_0x462b0c['model'],_0x462b0c[_0x7c39('0x29')]);_0x35b303['attributes']=_[_0x7c39('0x2c')](_0x462b0c[_0x7c39('0x2d')],qs[_0x7c39('0x2f')](_0xc3fd73['query'][_0x7c39('0x2f')]));_0x35b303[_0x7c39('0x2e')]=_0x35b303['attributes'][_0x7c39('0x3c')]?_0x35b303['attributes']:_0x462b0c[_0x7c39('0x2d')];if(_0xc3fd73[_0x7c39('0x29')][_0x7c39('0x36')]){_0x35b303[_0x7c39('0x37')]=[{'all':!![]}];}_0x35b303=_['merge']({},_0x35b303,_0xc3fd73[_0x7c39('0x34')]);return db['CannedAnswer'][_0x7c39('0x3d')](_0x35b303)[_0x7c39('0x1c')](handleEntityNotFound(_0x1a6454,null))[_0x7c39('0x1c')](respondWithResult(_0x1a6454,null))[_0x7c39('0x3e')](handleError(_0x1a6454,null));};exports[_0x7c39('0x3f')]=function(_0x5c332c,_0xa13bb1){if(_0x5c332c[_0x7c39('0x40')]['id']){delete _0x5c332c[_0x7c39('0x40')]['id'];}return db[_0x7c39('0x26')][_0x7c39('0x3d')]({'where':{'id':_0x5c332c[_0x7c39('0x3b')]['id']}})['then'](handleEntityNotFound(_0xa13bb1,null))[_0x7c39('0x1c')](saveUpdates(_0x5c332c['body'],null))[_0x7c39('0x1c')](respondWithResult(_0xa13bb1,null))[_0x7c39('0x3e')](handleError(_0xa13bb1,null));};exports[_0x7c39('0x1d')]=function(_0x4d5cc6,_0x5ae0ab){return db[_0x7c39('0x26')][_0x7c39('0x3d')]({'where':{'id':_0x4d5cc6[_0x7c39('0x3b')]['id']}})[_0x7c39('0x1c')](handleEntityNotFound(_0x5ae0ab,null))[_0x7c39('0x1c')](removeEntity(_0x5ae0ab,null))[_0x7c39('0x3e')](handleError(_0x5ae0ab,null));};exports[_0x7c39('0x41')]=function(_0xe64889,_0xcd9bb6){var _0x5388d3={'key':_0xe64889[_0x7c39('0x40')][_0x7c39('0x28')]};if(_0xe64889[_0x7c39('0x40')][_0x7c39('0x42')]){_0x5388d3[_0x7c39('0x42')]=_0xe64889[_0x7c39('0x40')]['MailAccountId'];}else if(_0xe64889[_0x7c39('0x40')][_0x7c39('0x43')]){_0x5388d3[_0x7c39('0x43')]=_0xe64889[_0x7c39('0x40')][_0x7c39('0x43')];}else if(_0xe64889['body'][_0x7c39('0x44')]){_0x5388d3[_0x7c39('0x44')]=_0xe64889['body'][_0x7c39('0x44')];}else if(_0xe64889[_0x7c39('0x40')][_0x7c39('0x45')]){_0x5388d3[_0x7c39('0x45')]=_0xe64889[_0x7c39('0x40')][_0x7c39('0x45')];}return db[_0x7c39('0x26')][_0x7c39('0x3d')]({'where':_0x5388d3})[_0x7c39('0x1c')](function(_0x5aa0d6){if(_0x5aa0d6){throw new db[(_0x7c39('0x46'))][(_0x7c39('0x47'))](_0x7c39('0x48'));}return db[_0x7c39('0x26')][_0x7c39('0x41')](_0xe64889[_0x7c39('0x40')]);})[_0x7c39('0x1c')](function(_0x3ba3a7){var _0x2f101c=_0xe64889['user'][_0x7c39('0x1e')]({'plain':!![]});if(!_0x2f101c)throw new Error(_0x7c39('0x49'));if(_0x2f101c[_0x7c39('0x4a')]===_0x7c39('0x4b')){var _0xe8a040=_0x3ba3a7[_0x7c39('0x1e')]({'plain':!![]});return db['UserProfileSection'][_0x7c39('0x3d')]({'where':{'name':_0x7c39('0x1f'),'userProfileId':_0x2f101c[_0x7c39('0x4c')]},'raw':!![]})[_0x7c39('0x1c')](function(_0x4076c6){if(_0x4076c6&&_0x4076c6[_0x7c39('0x4d')]===0x0){return db[_0x7c39('0x20')]['create']({'name':_0xe8a040[_0x7c39('0x23')],'resourceId':_0xe8a040['id'],'type':_0x4076c6[_0x7c39('0x23')],'sectionId':_0x4076c6['id']},{})[_0x7c39('0x1c')](function(){return _0x3ba3a7;});}else{return _0x3ba3a7;}})[_0x7c39('0x3e')](function(_0x488629){logger['error'](_0x7c39('0x4e'),_0x488629);throw _0x488629;});}return _0x3ba3a7;})[_0x7c39('0x1c')](respondWithResult(_0xcd9bb6,0xc9))['catch'](handleError(_0xcd9bb6,null));}; \ No newline at end of file diff --git a/server/api/cannedAnswer/cannedAnswer.model.js b/server/api/cannedAnswer/cannedAnswer.model.js index 9be31f0..08ea236 100644 --- a/server/api/cannedAnswer/cannedAnswer.model.js +++ b/server/api/cannedAnswer/cannedAnswer.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xaa49=['../../config/logger','api','moment','bluebird','request-promise','rimraf','../../config/environment','exports','define','CannedAnswer','utf8mb4','utf8mb4_unicode_ci','lodash','util'];(function(_0x278d73,_0xb20d63){var _0x31ca5c=function(_0x3355d5){while(--_0x3355d5){_0x278d73['push'](_0x278d73['shift']());}};_0x31ca5c(++_0xb20d63);}(_0xaa49,0x1be));var _0x9aa4=function(_0x599b5b,_0x4c1f0b){_0x599b5b=_0x599b5b-0x0;var _0x4f7ab9=_0xaa49[_0x599b5b];return _0x4f7ab9;};'use strict';var _=require(_0x9aa4('0x0'));var util=require(_0x9aa4('0x1'));var logger=require(_0x9aa4('0x2'))(_0x9aa4('0x3'));var moment=require(_0x9aa4('0x4'));var BPromise=require(_0x9aa4('0x5'));var rp=require(_0x9aa4('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0x9aa4('0x7'));var config=require(_0x9aa4('0x8'));var attributes=require('./cannedAnswer.attributes');module[_0x9aa4('0x9')]=function(_0x464631,_0x2609fa){return _0x464631[_0x9aa4('0xa')](_0x9aa4('0xb'),attributes,{'tableName':'tools_canned_answers','paranoid':![],'indexes':[],'timestamps':!![],'charset':_0x9aa4('0xc'),'collate':_0x9aa4('0xd')});}; \ No newline at end of file +var _0xa668=['../../config/logger','api','moment','bluebird','request-promise','path','rimraf','./cannedAnswer.attributes','exports','define','CannedAnswer','utf8mb4','lodash','util'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0xa668,0xec));var _0x8a66=function(_0x8b07fc,_0x27a174){_0x8b07fc=_0x8b07fc-0x0;var _0x4c9652=_0xa668[_0x8b07fc];return _0x4c9652;};'use strict';var _=require(_0x8a66('0x0'));var util=require(_0x8a66('0x1'));var logger=require(_0x8a66('0x2'))(_0x8a66('0x3'));var moment=require(_0x8a66('0x4'));var BPromise=require(_0x8a66('0x5'));var rp=require(_0x8a66('0x6'));var fs=require('fs');var path=require(_0x8a66('0x7'));var rimraf=require(_0x8a66('0x8'));var config=require('../../config/environment');var attributes=require(_0x8a66('0x9'));module[_0x8a66('0xa')]=function(_0x126864,_0x40a2ed){return _0x126864[_0x8a66('0xb')](_0x8a66('0xc'),attributes,{'tableName':'tools_canned_answers','paranoid':![],'indexes':[],'timestamps':!![],'charset':_0x8a66('0xd'),'collate':'utf8mb4_unicode_ci'});}; \ No newline at end of file diff --git a/server/api/cannedAnswer/cannedAnswer.rpc.js b/server/api/cannedAnswer/cannedAnswer.rpc.js index 24aaa45..bec5467 100644 --- a/server/api/cannedAnswer/cannedAnswer.rpc.js +++ b/server/api/cannedAnswer/cannedAnswer.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xa9f4=['info','CannedAnswer,\x20%s,\x20%s','request\x20sent','error','code','message','result','catch','util','bluebird','ioredis','../../mysqldb','../../config/utils','../../config/logger','jayson/promise','client','http','then'];(function(_0x675e90,_0x55a974){var _0x4f9f83=function(_0x2be588){while(--_0x2be588){_0x675e90['push'](_0x675e90['shift']());}};_0x4f9f83(++_0x55a974);}(_0xa9f4,0x74));var _0x4a9f=function(_0xd8d2c2,_0x15d49f){_0xd8d2c2=_0xd8d2c2-0x0;var _0xa58581=_0xa9f4[_0xd8d2c2];return _0xa58581;};'use strict';var _=require('lodash');var util=require(_0x4a9f('0x0'));var moment=require('moment');var BPromise=require(_0x4a9f('0x1'));var rs=require('randomstring');var fs=require('fs');var Redis=require(_0x4a9f('0x2'));var db=require(_0x4a9f('0x3'))['db'];var utils=require(_0x4a9f('0x4'));var logger=require(_0x4a9f('0x5'))('rpc');var config=require('../../config/environment');var jayson=require(_0x4a9f('0x6'));var client=jayson[_0x4a9f('0x7')][_0x4a9f('0x8')]({'port':0x232a});function respondWithRpcPromise(_0x558be5,_0x28e46d,_0x3a9258){return new BPromise(function(_0x5b616d,_0x22c168){return client['request'](_0x558be5,_0x3a9258)[_0x4a9f('0x9')](function(_0x4d081b){logger[_0x4a9f('0xa')](_0x4a9f('0xb'),_0x28e46d,'request\x20sent');logger['debug']('CannedAnswer,\x20%s,\x20%s,\x20%s',_0x28e46d,_0x4a9f('0xc'),JSON['stringify'](_0x4d081b));if(_0x4d081b[_0x4a9f('0xd')]){if(_0x4d081b['error'][_0x4a9f('0xe')]===0x1f4){logger[_0x4a9f('0xd')]('CannedAnswer,\x20%s,\x20%s',_0x28e46d,_0x4d081b[_0x4a9f('0xd')]['message']);return _0x22c168(_0x4d081b[_0x4a9f('0xd')][_0x4a9f('0xf')]);}logger['error']('CannedAnswer,\x20%s,\x20%s',_0x28e46d,_0x4d081b[_0x4a9f('0xd')][_0x4a9f('0xf')]);return _0x5b616d(_0x4d081b[_0x4a9f('0xd')][_0x4a9f('0xf')]);}else{logger['info']('CannedAnswer,\x20%s,\x20%s',_0x28e46d,'request\x20sent');_0x5b616d(_0x4d081b[_0x4a9f('0x10')][_0x4a9f('0xf')]);}})[_0x4a9f('0x11')](function(_0x461018){logger[_0x4a9f('0xd')](_0x4a9f('0xb'),_0x28e46d,_0x461018);_0x22c168(_0x461018);});});} \ No newline at end of file +var _0xd9c6=['CannedAnswer,\x20%s,\x20%s','request\x20sent','debug','CannedAnswer,\x20%s,\x20%s,\x20%s','error','code','message','result','catch','lodash','moment','bluebird','randomstring','ioredis','../../mysqldb','../../config/logger','rpc','jayson/promise','client','http','request','then','info'];(function(_0x22ba22,_0x207af0){var _0x300425=function(_0x8a8b78){while(--_0x8a8b78){_0x22ba22['push'](_0x22ba22['shift']());}};_0x300425(++_0x207af0);}(_0xd9c6,0x14b));var _0x6d9c=function(_0x5a7dcc,_0x41a49f){_0x5a7dcc=_0x5a7dcc-0x0;var _0x43b444=_0xd9c6[_0x5a7dcc];return _0x43b444;};'use strict';var _=require(_0x6d9c('0x0'));var util=require('util');var moment=require(_0x6d9c('0x1'));var BPromise=require(_0x6d9c('0x2'));var rs=require(_0x6d9c('0x3'));var fs=require('fs');var Redis=require(_0x6d9c('0x4'));var db=require(_0x6d9c('0x5'))['db'];var utils=require('../../config/utils');var logger=require(_0x6d9c('0x6'))(_0x6d9c('0x7'));var config=require('../../config/environment');var jayson=require(_0x6d9c('0x8'));var client=jayson[_0x6d9c('0x9')][_0x6d9c('0xa')]({'port':0x232a});function respondWithRpcPromise(_0x325762,_0x368119,_0x55b634){return new BPromise(function(_0x47e531,_0x2773ab){return client[_0x6d9c('0xb')](_0x325762,_0x55b634)[_0x6d9c('0xc')](function(_0x3cd814){logger[_0x6d9c('0xd')](_0x6d9c('0xe'),_0x368119,_0x6d9c('0xf'));logger[_0x6d9c('0x10')](_0x6d9c('0x11'),_0x368119,'request\x20sent',JSON['stringify'](_0x3cd814));if(_0x3cd814[_0x6d9c('0x12')]){if(_0x3cd814[_0x6d9c('0x12')][_0x6d9c('0x13')]===0x1f4){logger[_0x6d9c('0x12')](_0x6d9c('0xe'),_0x368119,_0x3cd814[_0x6d9c('0x12')][_0x6d9c('0x14')]);return _0x2773ab(_0x3cd814['error'][_0x6d9c('0x14')]);}logger[_0x6d9c('0x12')](_0x6d9c('0xe'),_0x368119,_0x3cd814[_0x6d9c('0x12')][_0x6d9c('0x14')]);return _0x47e531(_0x3cd814['error'][_0x6d9c('0x14')]);}else{logger[_0x6d9c('0xd')](_0x6d9c('0xe'),_0x368119,_0x6d9c('0xf'));_0x47e531(_0x3cd814[_0x6d9c('0x15')][_0x6d9c('0x14')]);}})[_0x6d9c('0x16')](function(_0x5b31a2){logger[_0x6d9c('0x12')]('CannedAnswer,\x20%s,\x20%s',_0x368119,_0x5b31a2);_0x2773ab(_0x5b31a2);});});} \ No newline at end of file diff --git a/server/api/cannedAnswer/index.js b/server/api/cannedAnswer/index.js index 28b573d..575bfc8 100644 --- a/server/api/cannedAnswer/index.js +++ b/server/api/cannedAnswer/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x2c9d=['../../config/environment','./cannedAnswer.controller','isAuthenticated','get','show','post','create','put','/:id','delete','multer','util','express','Router','../../components/auth/service','../../components/interaction/service'];(function(_0x50b750,_0xe5817b){var _0x1b60a8=function(_0x23a6e8){while(--_0x23a6e8){_0x50b750['push'](_0x50b750['shift']());}};_0x1b60a8(++_0xe5817b);}(_0x2c9d,0x13a));var _0xd2c9=function(_0x54d4fe,_0x55e869){_0x54d4fe=_0x54d4fe-0x0;var _0x1ab5bb=_0x2c9d[_0x54d4fe];return _0x1ab5bb;};'use strict';var multer=require(_0xd2c9('0x0'));var util=require(_0xd2c9('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0xd2c9('0x2'));var router=express[_0xd2c9('0x3')]();var auth=require(_0xd2c9('0x4'));var interaction=require(_0xd2c9('0x5'));var config=require(_0xd2c9('0x6'));var controller=require(_0xd2c9('0x7'));router['get']('/',auth[_0xd2c9('0x8')](),controller['index']);router[_0xd2c9('0x9')]('/:id',auth[_0xd2c9('0x8')](),controller[_0xd2c9('0xa')]);router[_0xd2c9('0xb')]('/',auth['isAuthenticated'](),controller[_0xd2c9('0xc')]);router[_0xd2c9('0xd')](_0xd2c9('0xe'),auth[_0xd2c9('0x8')](),controller['update']);router[_0xd2c9('0xf')](_0xd2c9('0xe'),auth[_0xd2c9('0x8')](),controller['destroy']);module['exports']=router; \ No newline at end of file +var _0x8fb7=['isAuthenticated','index','show','create','put','update','delete','/:id','destroy','exports','multer','util','path','connect-timeout','Router','../../components/interaction/service','../../config/environment','./cannedAnswer.controller','get'];(function(_0x16e16b,_0x185c13){var _0x342eb5=function(_0x47cf89){while(--_0x47cf89){_0x16e16b['push'](_0x16e16b['shift']());}};_0x342eb5(++_0x185c13);}(_0x8fb7,0x1d2));var _0x78fb=function(_0x424e69,_0x1f5d85){_0x424e69=_0x424e69-0x0;var _0x24c62b=_0x8fb7[_0x424e69];return _0x24c62b;};'use strict';var multer=require(_0x78fb('0x0'));var util=require(_0x78fb('0x1'));var path=require(_0x78fb('0x2'));var timeout=require(_0x78fb('0x3'));var express=require('express');var router=express[_0x78fb('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0x78fb('0x5'));var config=require(_0x78fb('0x6'));var controller=require(_0x78fb('0x7'));router[_0x78fb('0x8')]('/',auth[_0x78fb('0x9')](),controller[_0x78fb('0xa')]);router[_0x78fb('0x8')]('/:id',auth[_0x78fb('0x9')](),controller[_0x78fb('0xb')]);router['post']('/',auth['isAuthenticated'](),controller[_0x78fb('0xc')]);router[_0x78fb('0xd')]('/:id',auth['isAuthenticated'](),controller[_0x78fb('0xe')]);router[_0x78fb('0xf')](_0x78fb('0x10'),auth[_0x78fb('0x9')](),controller[_0x78fb('0x11')]);module[_0x78fb('0x12')]=router; \ No newline at end of file diff --git a/server/api/cdr/cdr.attributes.js b/server/api/cdr/cdr.attributes.js index 8bcc92d..63dc980 100644 --- a/server/api/cdr/cdr.attributes.js +++ b/server/api/cdr/cdr.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x17be=['sequelize','exports','1970-01-01\x2000:00:01','STRING','INTEGER'];(function(_0x3fde91,_0x28ef6d){var _0x507c00=function(_0x77c2b3){while(--_0x77c2b3){_0x3fde91['push'](_0x3fde91['shift']());}};_0x507c00(++_0x28ef6d);}(_0x17be,0x10e));var _0xe17b=function(_0x1a76b0,_0x523984){_0x1a76b0=_0x1a76b0-0x0;var _0x5dc67c=_0x17be[_0x1a76b0];return _0x5dc67c;};'use strict';var Sequelize=require(_0xe17b('0x0'));module[_0xe17b('0x1')]={'calldate':{'type':Sequelize['DATE'],'allowNull':![],'defaultValue':_0xe17b('0x2')},'clid':{'type':Sequelize[_0xe17b('0x3')]},'src':{'type':Sequelize[_0xe17b('0x3')]},'dst':{'type':Sequelize['STRING']},'dcontext':{'type':Sequelize['STRING']},'channel':{'type':Sequelize['STRING']},'dstchannel':{'type':Sequelize[_0xe17b('0x3')]},'lastapp':{'type':Sequelize[_0xe17b('0x3')]},'lastdata':{'type':Sequelize[_0xe17b('0x3')]},'duration':{'type':Sequelize['INTEGER'],'allowNull':![],'defaultValue':0x0},'billsec':{'type':Sequelize[_0xe17b('0x4')],'allowNull':![],'defaultValue':0x0},'disposition':{'type':Sequelize[_0xe17b('0x3')]},'amaflags':{'type':Sequelize['INTEGER'],'allowNull':![],'defaultValue':0x0},'accountcode':{'type':Sequelize[_0xe17b('0x3')]},'userfield':{'type':Sequelize[_0xe17b('0x3')]},'uniqueid':{'type':Sequelize[_0xe17b('0x3')]},'linkedid':{'type':Sequelize[_0xe17b('0x3')]},'sequence':{'type':Sequelize[_0xe17b('0x3')]},'peeraccount':{'type':Sequelize[_0xe17b('0x3')]},'type':{'type':Sequelize['STRING']},'tag':{'type':Sequelize[_0xe17b('0x3')]}}; \ No newline at end of file +var _0x9b95=['sequelize','DATE','1970-01-01\x2000:00:01','STRING','INTEGER'];(function(_0x58f17a,_0x3dd945){var _0xc25ea=function(_0x460aab){while(--_0x460aab){_0x58f17a['push'](_0x58f17a['shift']());}};_0xc25ea(++_0x3dd945);}(_0x9b95,0x1d6));var _0x59b9=function(_0x42cae2,_0x284ef8){_0x42cae2=_0x42cae2-0x0;var _0x5f256f=_0x9b95[_0x42cae2];return _0x5f256f;};'use strict';var Sequelize=require(_0x59b9('0x0'));module['exports']={'calldate':{'type':Sequelize[_0x59b9('0x1')],'allowNull':![],'defaultValue':_0x59b9('0x2')},'clid':{'type':Sequelize[_0x59b9('0x3')]},'src':{'type':Sequelize[_0x59b9('0x3')]},'dst':{'type':Sequelize[_0x59b9('0x3')]},'dcontext':{'type':Sequelize[_0x59b9('0x3')]},'channel':{'type':Sequelize['STRING']},'dstchannel':{'type':Sequelize[_0x59b9('0x3')]},'lastapp':{'type':Sequelize[_0x59b9('0x3')]},'lastdata':{'type':Sequelize[_0x59b9('0x3')]},'duration':{'type':Sequelize[_0x59b9('0x4')],'allowNull':![],'defaultValue':0x0},'billsec':{'type':Sequelize[_0x59b9('0x4')],'allowNull':![],'defaultValue':0x0},'disposition':{'type':Sequelize[_0x59b9('0x3')]},'amaflags':{'type':Sequelize['INTEGER'],'allowNull':![],'defaultValue':0x0},'accountcode':{'type':Sequelize['STRING']},'userfield':{'type':Sequelize['STRING']},'uniqueid':{'type':Sequelize[_0x59b9('0x3')]},'linkedid':{'type':Sequelize[_0x59b9('0x3')]},'sequence':{'type':Sequelize[_0x59b9('0x3')]},'peeraccount':{'type':Sequelize[_0x59b9('0x3')]},'type':{'type':Sequelize[_0x59b9('0x3')]},'tag':{'type':Sequelize[_0x59b9('0x3')]}}; \ No newline at end of file diff --git a/server/api/cdr/cdr.controller.js b/server/api/cdr/cdr.controller.js index 9e1f60b..2d39fb2 100644 --- a/server/api/cdr/cdr.controller.js +++ b/server/api/cdr/cdr.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x4f43=['name','send','index','Cdr','rawAttributes','fieldName','type','key','model','query','keys','filters','intersection','fields','attributes','length','hasOwnProperty','nolimit','limit','order','sort','where','merge','map','VIRTUAL','options','includeAll','include','rows','catch','show','params','find','create','body','describe','html-pdf','eml-format','rimraf','bluebird','mustache','util','sox','to-csv','ejs','lodash','squel','crypto','jsforce','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../mysqldb','sendStatus','status','end','json','count','offset','Content-Range','apply','reject','update','then','destroy','error','stack'];(function(_0x5447aa,_0x3afc00){var _0xb21e53=function(_0x2d05f6){while(--_0x2d05f6){_0x5447aa['push'](_0x5447aa['shift']());}};_0xb21e53(++_0x3afc00);}(_0x4f43,0x1e0));var _0x34f4=function(_0x4b0ade,_0x4d772c){_0x4b0ade=_0x4b0ade-0x0;var _0x42521b=_0x4f43[_0x4b0ade];return _0x42521b;};'use strict';var pdf=require(_0x34f4('0x0'));var emlformat=require(_0x34f4('0x1'));var rimraf=require(_0x34f4('0x2'));var zipdir=require('zip-dir');var jsonpatch=require('fast-json-patch');var rp=require('request-promise');var moment=require('moment');var BPromise=require(_0x34f4('0x3'));var Mustache=require(_0x34f4('0x4'));var util=require(_0x34f4('0x5'));var path=require('path');var sox=require(_0x34f4('0x6'));var csv=require(_0x34f4('0x7'));var ejs=require(_0x34f4('0x8'));var fs=require('fs');var _=require(_0x34f4('0x9'));var squel=require(_0x34f4('0xa'));var crypto=require(_0x34f4('0xb'));var jsforce=require(_0x34f4('0xc'));var deskjs=require(_0x34f4('0xd'));var toCsv=require(_0x34f4('0x7'));var querystring=require(_0x34f4('0xe'));var Papa=require(_0x34f4('0xf'));var Redis=require(_0x34f4('0x10'));var authService=require(_0x34f4('0x11'));var qs=require('../../components/parsers/qs');var as=require(_0x34f4('0x12'));var hardwareService=require(_0x34f4('0x13'));var logger=require(_0x34f4('0x14'))(_0x34f4('0x15'));var utils=require(_0x34f4('0x16'));var config=require('../../config/environment');var db=require(_0x34f4('0x17'))['db'];function respondWithStatusCode(_0x246815,_0x4e41a7){_0x4e41a7=_0x4e41a7||0xcc;return function(_0x37b4be){if(_0x37b4be){return _0x246815[_0x34f4('0x18')](_0x4e41a7);}return _0x246815[_0x34f4('0x19')](_0x4e41a7)[_0x34f4('0x1a')]();};}function respondWithResult(_0x42e43b,_0xde16b3){_0xde16b3=_0xde16b3||0xc8;return function(_0x262bdf){if(_0x262bdf){return _0x42e43b[_0x34f4('0x19')](_0xde16b3)[_0x34f4('0x1b')](_0x262bdf);}};}function respondWithFilteredResult(_0x27ff2c,_0x261606){return function(_0x409fd0){if(_0x409fd0){var _0x4ef1d0=_0x409fd0[_0x34f4('0x1c')],_0x404522=_0x261606['offset'],_0x32753d=_0x261606[_0x34f4('0x1d')]+_0x261606['limit'],_0x1f9b26;if(_0x32753d>=_0x4ef1d0){_0x32753d=_0x4ef1d0;_0x1f9b26=0xc8;}else{_0x1f9b26=0xce;}_0x27ff2c['status'](_0x1f9b26);return _0x27ff2c['set'](_0x34f4('0x1e'),_0x404522+'-'+_0x32753d+'/'+_0x4ef1d0)[_0x34f4('0x1b')](_0x409fd0);}return null;};}function patchUpdates(_0x21dc57){return function(_0x5c9c72){try{jsonpatch[_0x34f4('0x1f')](_0x5c9c72,_0x21dc57,!![]);}catch(_0x30547c){return BPromise[_0x34f4('0x20')](_0x30547c);}return _0x5c9c72['save']();};}function saveUpdates(_0x45f8d0,_0x4799b8){return function(_0x274d74){if(_0x274d74){return _0x274d74[_0x34f4('0x21')](_0x45f8d0)[_0x34f4('0x22')](function(_0x1fd378){return _0x1fd378;});}return null;};}function removeEntity(_0x2155a8,_0x46824a){return function(_0x2f102e){if(_0x2f102e){return _0x2f102e[_0x34f4('0x23')]()[_0x34f4('0x22')](function(){_0x2155a8[_0x34f4('0x19')](0xcc)['end']();});}};}function handleEntityNotFound(_0x26da3d,_0x479379){return function(_0x35cf83){if(!_0x35cf83){_0x26da3d['sendStatus'](0x194);}return _0x35cf83;};}function handleError(_0x312f19,_0x43e3bd){_0x43e3bd=_0x43e3bd||0x1f4;return function(_0xff145b){logger[_0x34f4('0x24')](_0xff145b[_0x34f4('0x25')]);if(_0xff145b[_0x34f4('0x26')]){delete _0xff145b[_0x34f4('0x26')];}_0x312f19['status'](_0x43e3bd)[_0x34f4('0x27')](_0xff145b);};}exports[_0x34f4('0x28')]=function(_0x2131ba,_0x4f4916){var _0x40b184={},_0x24a2a7={},_0x1cb3cf={'count':0x0,'rows':[]};var _0x3f42cf=_['map'](db[_0x34f4('0x29')][_0x34f4('0x2a')],function(_0x526da8){return{'name':_0x526da8[_0x34f4('0x2b')],'type':_0x526da8[_0x34f4('0x2c')][_0x34f4('0x2d')]};});_0x24a2a7[_0x34f4('0x2e')]=_['map'](_0x3f42cf,_0x34f4('0x26'));_0x24a2a7[_0x34f4('0x2f')]=_[_0x34f4('0x30')](_0x2131ba['query']);_0x24a2a7[_0x34f4('0x31')]=_[_0x34f4('0x32')](_0x24a2a7[_0x34f4('0x2e')],_0x24a2a7[_0x34f4('0x2f')]);_0x40b184['attributes']=_['intersection'](_0x24a2a7[_0x34f4('0x2e')],qs[_0x34f4('0x33')](_0x2131ba[_0x34f4('0x2f')][_0x34f4('0x33')]));_0x40b184[_0x34f4('0x34')]=_0x40b184['attributes'][_0x34f4('0x35')]?_0x40b184['attributes']:_0x24a2a7[_0x34f4('0x2e')];if(!_0x2131ba[_0x34f4('0x2f')][_0x34f4('0x36')](_0x34f4('0x37'))){_0x40b184[_0x34f4('0x38')]=qs['limit'](_0x2131ba[_0x34f4('0x2f')]['limit']);_0x40b184[_0x34f4('0x1d')]=qs[_0x34f4('0x1d')](_0x2131ba['query'][_0x34f4('0x1d')]);}_0x40b184[_0x34f4('0x39')]=qs[_0x34f4('0x3a')](_0x2131ba['query'][_0x34f4('0x3a')]);_0x40b184['where']=qs[_0x34f4('0x31')](_['pick'](_0x2131ba[_0x34f4('0x2f')],_0x24a2a7[_0x34f4('0x31')]),_0x3f42cf);if(_0x2131ba[_0x34f4('0x2f')]['filter']){_0x40b184[_0x34f4('0x3b')]=_[_0x34f4('0x3c')](_0x40b184['where'],{'$or':_[_0x34f4('0x3d')](_0x3f42cf,function(_0x4e9db2){if(_0x4e9db2[_0x34f4('0x2c')]!==_0x34f4('0x3e')){var _0x1968ca={};_0x1968ca[_0x4e9db2[_0x34f4('0x26')]]={'$like':'%'+_0x2131ba[_0x34f4('0x2f')]['filter']+'%'};return _0x1968ca;}})});}_0x40b184=_[_0x34f4('0x3c')]({},_0x40b184,_0x2131ba[_0x34f4('0x3f')]);var _0x370960={'where':_0x40b184[_0x34f4('0x3b')]};return db[_0x34f4('0x29')][_0x34f4('0x1c')](_0x370960)[_0x34f4('0x22')](function(_0x52dfd6){_0x1cb3cf[_0x34f4('0x1c')]=_0x52dfd6;if(_0x2131ba[_0x34f4('0x2f')][_0x34f4('0x40')]){_0x40b184[_0x34f4('0x41')]=[{'all':!![]}];}return db[_0x34f4('0x29')]['findAll'](_0x40b184);})[_0x34f4('0x22')](function(_0x407e1c){_0x1cb3cf[_0x34f4('0x42')]=_0x407e1c;return _0x1cb3cf;})[_0x34f4('0x22')](respondWithFilteredResult(_0x4f4916,_0x40b184))[_0x34f4('0x43')](handleError(_0x4f4916,null));};exports[_0x34f4('0x44')]=function(_0x4a92de,_0x422f71){var _0x7fbf2={'raw':!![],'where':{'id':_0x4a92de[_0x34f4('0x45')]['id']}},_0x52f57b={};_0x52f57b[_0x34f4('0x2e')]=_[_0x34f4('0x30')](db['Cdr'][_0x34f4('0x2a')]);_0x52f57b[_0x34f4('0x2f')]=_[_0x34f4('0x30')](_0x4a92de[_0x34f4('0x2f')]);_0x52f57b['filters']=_['intersection'](_0x52f57b[_0x34f4('0x2e')],_0x52f57b[_0x34f4('0x2f')]);_0x7fbf2[_0x34f4('0x34')]=_[_0x34f4('0x32')](_0x52f57b[_0x34f4('0x2e')],qs[_0x34f4('0x33')](_0x4a92de[_0x34f4('0x2f')]['fields']));_0x7fbf2[_0x34f4('0x34')]=_0x7fbf2[_0x34f4('0x34')][_0x34f4('0x35')]?_0x7fbf2['attributes']:_0x52f57b['model'];if(_0x4a92de[_0x34f4('0x2f')]['includeAll']){_0x7fbf2[_0x34f4('0x41')]=[{'all':!![]}];}_0x7fbf2=_['merge']({},_0x7fbf2,_0x4a92de['options']);return db['Cdr'][_0x34f4('0x46')](_0x7fbf2)[_0x34f4('0x22')](handleEntityNotFound(_0x422f71,null))[_0x34f4('0x22')](respondWithResult(_0x422f71,null))[_0x34f4('0x43')](handleError(_0x422f71,null));};exports['create']=function(_0x15f591,_0x39e1c9){return db[_0x34f4('0x29')][_0x34f4('0x47')](_0x15f591[_0x34f4('0x48')],{})[_0x34f4('0x22')](respondWithResult(_0x39e1c9,0xc9))[_0x34f4('0x43')](handleError(_0x39e1c9,null));};exports[_0x34f4('0x21')]=function(_0x3adb93,_0x5874b3){if(_0x3adb93[_0x34f4('0x48')]['id']){delete _0x3adb93['body']['id'];}return db['Cdr'][_0x34f4('0x46')]({'where':{'id':_0x3adb93[_0x34f4('0x45')]['id']}})[_0x34f4('0x22')](handleEntityNotFound(_0x5874b3,null))['then'](saveUpdates(_0x3adb93[_0x34f4('0x48')],null))[_0x34f4('0x22')](respondWithResult(_0x5874b3,null))[_0x34f4('0x43')](handleError(_0x5874b3,null));};exports['destroy']=function(_0x51c485,_0x4b3d35){return db[_0x34f4('0x29')][_0x34f4('0x46')]({'where':{'id':_0x51c485[_0x34f4('0x45')]['id']}})[_0x34f4('0x22')](handleEntityNotFound(_0x4b3d35,null))[_0x34f4('0x22')](removeEntity(_0x4b3d35,null))['catch'](handleError(_0x4b3d35,null));};exports[_0x34f4('0x49')]=function(_0x93014c,_0x51bbfa){return db[_0x34f4('0x29')][_0x34f4('0x49')]()['then'](respondWithResult(_0x51bbfa,null))[_0x34f4('0x43')](handleError(_0x51bbfa,null));}; \ No newline at end of file +var _0xdd54=['destroy','error','stack','name','send','index','map','Cdr','fieldName','model','query','filters','intersection','attributes','fields','length','hasOwnProperty','nolimit','order','sort','where','pick','filter','merge','VIRTUAL','options','findAll','catch','show','keys','includeAll','find','create','body','params','describe','html-pdf','eml-format','zip-dir','fast-json-patch','mustache','util','path','sox','to-csv','ejs','lodash','squel','crypto','jsforce','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','sendStatus','status','end','json','count','offset','limit','set','reject','save','update','then'];(function(_0x4cb865,_0x351aff){var _0x1fde50=function(_0x3acf98){while(--_0x3acf98){_0x4cb865['push'](_0x4cb865['shift']());}};_0x1fde50(++_0x351aff);}(_0xdd54,0x6e));var _0x4dd5=function(_0x34bf97,_0xc60f9d){_0x34bf97=_0x34bf97-0x0;var _0x292719=_0xdd54[_0x34bf97];return _0x292719;};'use strict';var pdf=require(_0x4dd5('0x0'));var emlformat=require(_0x4dd5('0x1'));var rimraf=require('rimraf');var zipdir=require(_0x4dd5('0x2'));var jsonpatch=require(_0x4dd5('0x3'));var rp=require('request-promise');var moment=require('moment');var BPromise=require('bluebird');var Mustache=require(_0x4dd5('0x4'));var util=require(_0x4dd5('0x5'));var path=require(_0x4dd5('0x6'));var sox=require(_0x4dd5('0x7'));var csv=require(_0x4dd5('0x8'));var ejs=require(_0x4dd5('0x9'));var fs=require('fs');var _=require(_0x4dd5('0xa'));var squel=require(_0x4dd5('0xb'));var crypto=require(_0x4dd5('0xc'));var jsforce=require(_0x4dd5('0xd'));var deskjs=require(_0x4dd5('0xe'));var toCsv=require(_0x4dd5('0x8'));var querystring=require(_0x4dd5('0xf'));var Papa=require(_0x4dd5('0x10'));var Redis=require(_0x4dd5('0x11'));var authService=require(_0x4dd5('0x12'));var qs=require(_0x4dd5('0x13'));var as=require(_0x4dd5('0x14'));var hardwareService=require(_0x4dd5('0x15'));var logger=require(_0x4dd5('0x16'))(_0x4dd5('0x17'));var utils=require(_0x4dd5('0x18'));var config=require(_0x4dd5('0x19'));var db=require('../../mysqldb')['db'];function respondWithStatusCode(_0x31eb36,_0x2d697b){_0x2d697b=_0x2d697b||0xcc;return function(_0x8ab5e5){if(_0x8ab5e5){return _0x31eb36[_0x4dd5('0x1a')](_0x2d697b);}return _0x31eb36[_0x4dd5('0x1b')](_0x2d697b)[_0x4dd5('0x1c')]();};}function respondWithResult(_0x3ce97c,_0x44f6df){_0x44f6df=_0x44f6df||0xc8;return function(_0x2b895b){if(_0x2b895b){return _0x3ce97c[_0x4dd5('0x1b')](_0x44f6df)[_0x4dd5('0x1d')](_0x2b895b);}};}function respondWithFilteredResult(_0x203569,_0x54862d){return function(_0x5c5ac9){if(_0x5c5ac9){var _0x3a12fe=_0x5c5ac9[_0x4dd5('0x1e')],_0x157c45=_0x54862d[_0x4dd5('0x1f')],_0x2bc515=_0x54862d[_0x4dd5('0x1f')]+_0x54862d[_0x4dd5('0x20')],_0x203cb3;if(_0x2bc515>=_0x3a12fe){_0x2bc515=_0x3a12fe;_0x203cb3=0xc8;}else{_0x203cb3=0xce;}_0x203569[_0x4dd5('0x1b')](_0x203cb3);return _0x203569[_0x4dd5('0x21')]('Content-Range',_0x157c45+'-'+_0x2bc515+'/'+_0x3a12fe)[_0x4dd5('0x1d')](_0x5c5ac9);}return null;};}function patchUpdates(_0x54954c){return function(_0x58a67d){try{jsonpatch['apply'](_0x58a67d,_0x54954c,!![]);}catch(_0x321224){return BPromise[_0x4dd5('0x22')](_0x321224);}return _0x58a67d[_0x4dd5('0x23')]();};}function saveUpdates(_0x3f89ae,_0x94a35c){return function(_0x52bd4f){if(_0x52bd4f){return _0x52bd4f[_0x4dd5('0x24')](_0x3f89ae)[_0x4dd5('0x25')](function(_0x5a00ed){return _0x5a00ed;});}return null;};}function removeEntity(_0x391fb9,_0x5c337b){return function(_0x46fe64){if(_0x46fe64){return _0x46fe64[_0x4dd5('0x26')]()['then'](function(){_0x391fb9[_0x4dd5('0x1b')](0xcc)[_0x4dd5('0x1c')]();});}};}function handleEntityNotFound(_0x5ad216,_0x3c8ce4){return function(_0x4aafb2){if(!_0x4aafb2){_0x5ad216['sendStatus'](0x194);}return _0x4aafb2;};}function handleError(_0x20fe89,_0x1ca46c){_0x1ca46c=_0x1ca46c||0x1f4;return function(_0x1fe77e){logger[_0x4dd5('0x27')](_0x1fe77e[_0x4dd5('0x28')]);if(_0x1fe77e['name']){delete _0x1fe77e[_0x4dd5('0x29')];}_0x20fe89['status'](_0x1ca46c)[_0x4dd5('0x2a')](_0x1fe77e);};}exports[_0x4dd5('0x2b')]=function(_0x23426b,_0x3e5003){var _0x3732dd={},_0x175f65={},_0x3ddeb2={'count':0x0,'rows':[]};var _0x580f11=_[_0x4dd5('0x2c')](db[_0x4dd5('0x2d')]['rawAttributes'],function(_0x24412c){return{'name':_0x24412c[_0x4dd5('0x2e')],'type':_0x24412c['type']['key']};});_0x175f65[_0x4dd5('0x2f')]=_[_0x4dd5('0x2c')](_0x580f11,'name');_0x175f65[_0x4dd5('0x30')]=_['keys'](_0x23426b[_0x4dd5('0x30')]);_0x175f65[_0x4dd5('0x31')]=_[_0x4dd5('0x32')](_0x175f65['model'],_0x175f65['query']);_0x3732dd[_0x4dd5('0x33')]=_['intersection'](_0x175f65['model'],qs[_0x4dd5('0x34')](_0x23426b[_0x4dd5('0x30')][_0x4dd5('0x34')]));_0x3732dd[_0x4dd5('0x33')]=_0x3732dd['attributes'][_0x4dd5('0x35')]?_0x3732dd[_0x4dd5('0x33')]:_0x175f65[_0x4dd5('0x2f')];if(!_0x23426b[_0x4dd5('0x30')][_0x4dd5('0x36')](_0x4dd5('0x37'))){_0x3732dd[_0x4dd5('0x20')]=qs[_0x4dd5('0x20')](_0x23426b['query'][_0x4dd5('0x20')]);_0x3732dd[_0x4dd5('0x1f')]=qs[_0x4dd5('0x1f')](_0x23426b[_0x4dd5('0x30')][_0x4dd5('0x1f')]);}_0x3732dd[_0x4dd5('0x38')]=qs[_0x4dd5('0x39')](_0x23426b[_0x4dd5('0x30')]['sort']);_0x3732dd[_0x4dd5('0x3a')]=qs[_0x4dd5('0x31')](_[_0x4dd5('0x3b')](_0x23426b[_0x4dd5('0x30')],_0x175f65[_0x4dd5('0x31')]),_0x580f11);if(_0x23426b[_0x4dd5('0x30')][_0x4dd5('0x3c')]){_0x3732dd[_0x4dd5('0x3a')]=_[_0x4dd5('0x3d')](_0x3732dd[_0x4dd5('0x3a')],{'$or':_['map'](_0x580f11,function(_0x163830){if(_0x163830['type']!==_0x4dd5('0x3e')){var _0x35718e={};_0x35718e[_0x163830[_0x4dd5('0x29')]]={'$like':'%'+_0x23426b[_0x4dd5('0x30')][_0x4dd5('0x3c')]+'%'};return _0x35718e;}})});}_0x3732dd=_['merge']({},_0x3732dd,_0x23426b[_0x4dd5('0x3f')]);var _0x5ba79a={'where':_0x3732dd['where']};return db[_0x4dd5('0x2d')][_0x4dd5('0x1e')](_0x5ba79a)[_0x4dd5('0x25')](function(_0x34d90c){_0x3ddeb2[_0x4dd5('0x1e')]=_0x34d90c;if(_0x23426b['query']['includeAll']){_0x3732dd['include']=[{'all':!![]}];}return db[_0x4dd5('0x2d')][_0x4dd5('0x40')](_0x3732dd);})[_0x4dd5('0x25')](function(_0x5bb39b){_0x3ddeb2['rows']=_0x5bb39b;return _0x3ddeb2;})[_0x4dd5('0x25')](respondWithFilteredResult(_0x3e5003,_0x3732dd))[_0x4dd5('0x41')](handleError(_0x3e5003,null));};exports[_0x4dd5('0x42')]=function(_0x3547a3,_0x426334){var _0x286c2b={'raw':!![],'where':{'id':_0x3547a3['params']['id']}},_0x210f98={};_0x210f98['model']=_[_0x4dd5('0x43')](db[_0x4dd5('0x2d')]['rawAttributes']);_0x210f98['query']=_['keys'](_0x3547a3[_0x4dd5('0x30')]);_0x210f98[_0x4dd5('0x31')]=_[_0x4dd5('0x32')](_0x210f98[_0x4dd5('0x2f')],_0x210f98[_0x4dd5('0x30')]);_0x286c2b[_0x4dd5('0x33')]=_[_0x4dd5('0x32')](_0x210f98[_0x4dd5('0x2f')],qs['fields'](_0x3547a3['query'][_0x4dd5('0x34')]));_0x286c2b['attributes']=_0x286c2b[_0x4dd5('0x33')][_0x4dd5('0x35')]?_0x286c2b[_0x4dd5('0x33')]:_0x210f98[_0x4dd5('0x2f')];if(_0x3547a3[_0x4dd5('0x30')][_0x4dd5('0x44')]){_0x286c2b['include']=[{'all':!![]}];}_0x286c2b=_[_0x4dd5('0x3d')]({},_0x286c2b,_0x3547a3[_0x4dd5('0x3f')]);return db[_0x4dd5('0x2d')][_0x4dd5('0x45')](_0x286c2b)[_0x4dd5('0x25')](handleEntityNotFound(_0x426334,null))['then'](respondWithResult(_0x426334,null))[_0x4dd5('0x41')](handleError(_0x426334,null));};exports[_0x4dd5('0x46')]=function(_0x59c146,_0x13fa85){return db[_0x4dd5('0x2d')][_0x4dd5('0x46')](_0x59c146[_0x4dd5('0x47')],{})[_0x4dd5('0x25')](respondWithResult(_0x13fa85,0xc9))['catch'](handleError(_0x13fa85,null));};exports[_0x4dd5('0x24')]=function(_0x1bff14,_0x2814d7){if(_0x1bff14[_0x4dd5('0x47')]['id']){delete _0x1bff14[_0x4dd5('0x47')]['id'];}return db['Cdr'][_0x4dd5('0x45')]({'where':{'id':_0x1bff14['params']['id']}})[_0x4dd5('0x25')](handleEntityNotFound(_0x2814d7,null))[_0x4dd5('0x25')](saveUpdates(_0x1bff14[_0x4dd5('0x47')],null))[_0x4dd5('0x25')](respondWithResult(_0x2814d7,null))['catch'](handleError(_0x2814d7,null));};exports[_0x4dd5('0x26')]=function(_0x489bfc,_0x530574){return db[_0x4dd5('0x2d')][_0x4dd5('0x45')]({'where':{'id':_0x489bfc[_0x4dd5('0x48')]['id']}})[_0x4dd5('0x25')](handleEntityNotFound(_0x530574,null))['then'](removeEntity(_0x530574,null))[_0x4dd5('0x41')](handleError(_0x530574,null));};exports['describe']=function(_0x4832c8,_0x1eeec2){return db['Cdr'][_0x4dd5('0x49')]()[_0x4dd5('0x25')](respondWithResult(_0x1eeec2,null))['catch'](handleError(_0x1eeec2,null));}; \ No newline at end of file diff --git a/server/api/cdr/cdr.model.js b/server/api/cdr/cdr.model.js index 7649e51..f2bf09a 100644 --- a/server/api/cdr/cdr.model.js +++ b/server/api/cdr/cdr.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x2ef3=['moment','bluebird','path','rimraf','./cdr.attributes','exports','define','Cdr','cdr','accountcode','calldate','disposition','dst','src','uniqueid','lodash','util','../../config/logger','api'];(function(_0x1f8b04,_0xdb870b){var _0x66fb68=function(_0x51cb5a){while(--_0x51cb5a){_0x1f8b04['push'](_0x1f8b04['shift']());}};_0x66fb68(++_0xdb870b);}(_0x2ef3,0xba));var _0x32ef=function(_0x3545ac,_0xde9036){_0x3545ac=_0x3545ac-0x0;var _0x82685e=_0x2ef3[_0x3545ac];return _0x82685e;};'use strict';var _=require(_0x32ef('0x0'));var util=require(_0x32ef('0x1'));var logger=require(_0x32ef('0x2'))(_0x32ef('0x3'));var moment=require(_0x32ef('0x4'));var BPromise=require(_0x32ef('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x32ef('0x6'));var rimraf=require(_0x32ef('0x7'));var config=require('../../config/environment');var attributes=require(_0x32ef('0x8'));module[_0x32ef('0x9')]=function(_0x4c8104,_0x5dfa09){return _0x4c8104[_0x32ef('0xa')](_0x32ef('0xb'),attributes,{'tableName':_0x32ef('0xc'),'paranoid':![],'indexes':[{'name':_0x32ef('0xd'),'fields':[_0x32ef('0xd')]},{'name':_0x32ef('0xe'),'fields':[_0x32ef('0xe')]},{'name':_0x32ef('0xf'),'fields':[_0x32ef('0xf')]},{'name':_0x32ef('0x10'),'fields':['dst']},{'name':'src','fields':[_0x32ef('0x11')]},{'name':_0x32ef('0x12'),'fields':[_0x32ef('0x12')]}],'timestamps':![]});}; \ No newline at end of file +var _0x7880=['accountcode','calldate','disposition','dst','src','uniqueid','util','../../config/logger','api','moment','bluebird','request-promise','rimraf','../../config/environment','./cdr.attributes','exports','define','Cdr','cdr'];(function(_0x4819e1,_0x44d88e){var _0xca4f58=function(_0x494088){while(--_0x494088){_0x4819e1['push'](_0x4819e1['shift']());}};_0xca4f58(++_0x44d88e);}(_0x7880,0x1f4));var _0x0788=function(_0x54388a,_0x112d3e){_0x54388a=_0x54388a-0x0;var _0x3f5f0e=_0x7880[_0x54388a];return _0x3f5f0e;};'use strict';var _=require('lodash');var util=require(_0x0788('0x0'));var logger=require(_0x0788('0x1'))(_0x0788('0x2'));var moment=require(_0x0788('0x3'));var BPromise=require(_0x0788('0x4'));var rp=require(_0x0788('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x0788('0x6'));var config=require(_0x0788('0x7'));var attributes=require(_0x0788('0x8'));module[_0x0788('0x9')]=function(_0x262f5c,_0x775629){return _0x262f5c[_0x0788('0xa')](_0x0788('0xb'),attributes,{'tableName':_0x0788('0xc'),'paranoid':![],'indexes':[{'name':_0x0788('0xd'),'fields':['accountcode']},{'name':_0x0788('0xe'),'fields':['calldate']},{'name':_0x0788('0xf'),'fields':['disposition']},{'name':_0x0788('0x10'),'fields':[_0x0788('0x10')]},{'name':_0x0788('0x11'),'fields':[_0x0788('0x11')]},{'name':_0x0788('0x12'),'fields':['uniqueid']}],'timestamps':![]});}; \ No newline at end of file diff --git a/server/api/cdr/cdr.rpc.js b/server/api/cdr/cdr.rpc.js index 6c83400..3cc394a 100644 --- a/server/api/cdr/cdr.rpc.js +++ b/server/api/cdr/cdr.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xe714=['bluebird','randomstring','ioredis','../../mysqldb','../../config/logger','jayson/promise','client','http','then','info','Cdr,\x20%s,\x20%s','debug','Cdr,\x20%s,\x20%s,\x20%s','request\x20sent','stringify','error','code','message','result','catch','lodash','util'];(function(_0x3bd53a,_0x483aac){var _0x4649cc=function(_0x581d40){while(--_0x581d40){_0x3bd53a['push'](_0x3bd53a['shift']());}};_0x4649cc(++_0x483aac);}(_0xe714,0x1e2));var _0x4e71=function(_0x4a986e,_0x4b8398){_0x4a986e=_0x4a986e-0x0;var _0x5a263e=_0xe714[_0x4a986e];return _0x5a263e;};'use strict';var _=require(_0x4e71('0x0'));var util=require(_0x4e71('0x1'));var moment=require('moment');var BPromise=require(_0x4e71('0x2'));var rs=require(_0x4e71('0x3'));var fs=require('fs');var Redis=require(_0x4e71('0x4'));var db=require(_0x4e71('0x5'))['db'];var utils=require('../../config/utils');var logger=require(_0x4e71('0x6'))('rpc');var config=require('../../config/environment');var jayson=require(_0x4e71('0x7'));var client=jayson[_0x4e71('0x8')][_0x4e71('0x9')]({'port':0x232a});function respondWithRpcPromise(_0x1dad35,_0x1d13d3,_0x493e98){return new BPromise(function(_0x21190e,_0x1faf78){return client['request'](_0x1dad35,_0x493e98)[_0x4e71('0xa')](function(_0x5f3f07){logger[_0x4e71('0xb')](_0x4e71('0xc'),_0x1d13d3,'request\x20sent');logger[_0x4e71('0xd')](_0x4e71('0xe'),_0x1d13d3,_0x4e71('0xf'),JSON[_0x4e71('0x10')](_0x5f3f07));if(_0x5f3f07[_0x4e71('0x11')]){if(_0x5f3f07[_0x4e71('0x11')][_0x4e71('0x12')]===0x1f4){logger[_0x4e71('0x11')](_0x4e71('0xc'),_0x1d13d3,_0x5f3f07[_0x4e71('0x11')]['message']);return _0x1faf78(_0x5f3f07['error'][_0x4e71('0x13')]);}logger[_0x4e71('0x11')](_0x4e71('0xc'),_0x1d13d3,_0x5f3f07[_0x4e71('0x11')][_0x4e71('0x13')]);return _0x21190e(_0x5f3f07[_0x4e71('0x11')][_0x4e71('0x13')]);}else{logger[_0x4e71('0xb')]('Cdr,\x20%s,\x20%s',_0x1d13d3,_0x4e71('0xf'));_0x21190e(_0x5f3f07[_0x4e71('0x14')][_0x4e71('0x13')]);}})[_0x4e71('0x15')](function(_0x543752){logger['error'](_0x4e71('0xc'),_0x1d13d3,_0x543752);_0x1faf78(_0x543752);});});} \ No newline at end of file +var _0xc9c5=['../../config/utils','../../config/logger','../../config/environment','jayson/promise','client','request','then','Cdr,\x20%s,\x20%s','request\x20sent','debug','Cdr,\x20%s,\x20%s,\x20%s','stringify','error','message','result','catch','lodash','util','moment','bluebird','ioredis','../../mysqldb'];(function(_0xc89a80,_0x59e479){var _0x1e4b56=function(_0x25dab9){while(--_0x25dab9){_0xc89a80['push'](_0xc89a80['shift']());}};_0x1e4b56(++_0x59e479);}(_0xc9c5,0x118));var _0x5c9c=function(_0x5dcd95,_0x1e72d4){_0x5dcd95=_0x5dcd95-0x0;var _0x271b17=_0xc9c5[_0x5dcd95];return _0x271b17;};'use strict';var _=require(_0x5c9c('0x0'));var util=require(_0x5c9c('0x1'));var moment=require(_0x5c9c('0x2'));var BPromise=require(_0x5c9c('0x3'));var rs=require('randomstring');var fs=require('fs');var Redis=require(_0x5c9c('0x4'));var db=require(_0x5c9c('0x5'))['db'];var utils=require(_0x5c9c('0x6'));var logger=require(_0x5c9c('0x7'))('rpc');var config=require(_0x5c9c('0x8'));var jayson=require(_0x5c9c('0x9'));var client=jayson[_0x5c9c('0xa')]['http']({'port':0x232a});function respondWithRpcPromise(_0x3e68d6,_0x21781c,_0x46a786){return new BPromise(function(_0x2c48da,_0x535db0){return client[_0x5c9c('0xb')](_0x3e68d6,_0x46a786)[_0x5c9c('0xc')](function(_0x292d4d){logger['info'](_0x5c9c('0xd'),_0x21781c,_0x5c9c('0xe'));logger[_0x5c9c('0xf')](_0x5c9c('0x10'),_0x21781c,_0x5c9c('0xe'),JSON[_0x5c9c('0x11')](_0x292d4d));if(_0x292d4d[_0x5c9c('0x12')]){if(_0x292d4d['error']['code']===0x1f4){logger[_0x5c9c('0x12')](_0x5c9c('0xd'),_0x21781c,_0x292d4d[_0x5c9c('0x12')][_0x5c9c('0x13')]);return _0x535db0(_0x292d4d['error'][_0x5c9c('0x13')]);}logger['error'](_0x5c9c('0xd'),_0x21781c,_0x292d4d['error'][_0x5c9c('0x13')]);return _0x2c48da(_0x292d4d[_0x5c9c('0x12')][_0x5c9c('0x13')]);}else{logger['info']('Cdr,\x20%s,\x20%s',_0x21781c,_0x5c9c('0xe'));_0x2c48da(_0x292d4d[_0x5c9c('0x14')][_0x5c9c('0x13')]);}})[_0x5c9c('0x15')](function(_0x11332d){logger[_0x5c9c('0x12')](_0x5c9c('0xd'),_0x21781c,_0x11332d);_0x535db0(_0x11332d);});});} \ No newline at end of file diff --git a/server/api/cdr/index.js b/server/api/cdr/index.js index f8da1fc..d287d8e 100644 --- a/server/api/cdr/index.js +++ b/server/api/cdr/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xb8e8=['exports','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./cdr.controller','get','index','describe','/:id','show','post','isAuthenticated','create','put','update'];(function(_0x18a054,_0x185510){var _0x49f150=function(_0x2db078){while(--_0x2db078){_0x18a054['push'](_0x18a054['shift']());}};_0x49f150(++_0x185510);}(_0xb8e8,0x1b9));var _0x8b8e=function(_0x432682,_0x253044){_0x432682=_0x432682-0x0;var _0x463d05=_0xb8e8[_0x432682];return _0x463d05;};'use strict';var multer=require('multer');var util=require(_0x8b8e('0x0'));var path=require(_0x8b8e('0x1'));var timeout=require(_0x8b8e('0x2'));var express=require(_0x8b8e('0x3'));var router=express[_0x8b8e('0x4')]();var auth=require(_0x8b8e('0x5'));var interaction=require(_0x8b8e('0x6'));var config=require(_0x8b8e('0x7'));var controller=require(_0x8b8e('0x8'));router[_0x8b8e('0x9')]('/',auth['isAuthenticated'](),controller[_0x8b8e('0xa')]);router[_0x8b8e('0x9')]('/describe',auth['isAuthenticated'](),controller[_0x8b8e('0xb')]);router[_0x8b8e('0x9')](_0x8b8e('0xc'),auth['isAuthenticated'](),controller[_0x8b8e('0xd')]);router[_0x8b8e('0xe')]('/',auth[_0x8b8e('0xf')](),controller[_0x8b8e('0x10')]);router[_0x8b8e('0x11')]('/:id',auth['isAuthenticated'](),controller[_0x8b8e('0x12')]);router['delete'](_0x8b8e('0xc'),auth['isAuthenticated'](),controller['destroy']);module[_0x8b8e('0x13')]=router; \ No newline at end of file +var _0xe3f7=['create','delete','destroy','exports','multer','connect-timeout','express','Router','../../components/interaction/service','../../config/environment','./cdr.controller','isAuthenticated','index','get','/describe','/:id','post'];(function(_0x50b93b,_0x1fb723){var _0x1b21f0=function(_0x5b7dc2){while(--_0x5b7dc2){_0x50b93b['push'](_0x50b93b['shift']());}};_0x1b21f0(++_0x1fb723);}(_0xe3f7,0xd0));var _0x7e3f=function(_0x146706,_0x3d7c7c){_0x146706=_0x146706-0x0;var _0x5e37be=_0xe3f7[_0x146706];return _0x5e37be;};'use strict';var multer=require(_0x7e3f('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x7e3f('0x1'));var express=require(_0x7e3f('0x2'));var router=express[_0x7e3f('0x3')]();var auth=require('../../components/auth/service');var interaction=require(_0x7e3f('0x4'));var config=require(_0x7e3f('0x5'));var controller=require(_0x7e3f('0x6'));router['get']('/',auth[_0x7e3f('0x7')](),controller[_0x7e3f('0x8')]);router[_0x7e3f('0x9')](_0x7e3f('0xa'),auth[_0x7e3f('0x7')](),controller['describe']);router[_0x7e3f('0x9')](_0x7e3f('0xb'),auth[_0x7e3f('0x7')](),controller['show']);router[_0x7e3f('0xc')]('/',auth['isAuthenticated'](),controller[_0x7e3f('0xd')]);router['put'](_0x7e3f('0xb'),auth['isAuthenticated'](),controller['update']);router[_0x7e3f('0xe')](_0x7e3f('0xb'),auth['isAuthenticated'](),controller[_0x7e3f('0xf')]);module[_0x7e3f('0x10')]=router; \ No newline at end of file diff --git a/server/api/chatApplication/chatApplication.attributes.js b/server/api/chatApplication/chatApplication.attributes.js index 265d781..0ca8434 100644 --- a/server/api/chatApplication/chatApplication.attributes.js +++ b/server/api/chatApplication/chatApplication.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xb76a=['sequelize','exports','INTEGER','STRING','noop','TEXT','*,*,*,*'];(function(_0x2dafbe,_0x5d04de){var _0x58a45a=function(_0x50ac96){while(--_0x50ac96){_0x2dafbe['push'](_0x2dafbe['shift']());}};_0x58a45a(++_0x5d04de);}(_0xb76a,0x150));var _0xab76=function(_0xf8ea81,_0x12e9ee){_0xf8ea81=_0xf8ea81-0x0;var _0x5ccb83=_0xb76a[_0xf8ea81];return _0x5ccb83;};'use strict';var Sequelize=require(_0xab76('0x0'));module[_0xab76('0x1')]={'priority':{'type':Sequelize[_0xab76('0x2')],'allowNull':![]},'app':{'type':Sequelize[_0xab76('0x3')],'allowNull':![],'defaultValue':_0xab76('0x4')},'appdata':{'type':Sequelize[_0xab76('0x5')]()},'description':{'type':Sequelize[_0xab76('0x3')]},'interval':{'type':Sequelize[_0xab76('0x3')],'defaultValue':_0xab76('0x6')}}; \ No newline at end of file +var _0x8934=['STRING','noop','TEXT','*,*,*,*','sequelize','INTEGER'];(function(_0x4cff34,_0x76e715){var _0x111128=function(_0x3b565f){while(--_0x3b565f){_0x4cff34['push'](_0x4cff34['shift']());}};_0x111128(++_0x76e715);}(_0x8934,0xf4));var _0x4893=function(_0x4388b2,_0x36e284){_0x4388b2=_0x4388b2-0x0;var _0x26f64e=_0x8934[_0x4388b2];return _0x26f64e;};'use strict';var Sequelize=require(_0x4893('0x0'));module['exports']={'priority':{'type':Sequelize[_0x4893('0x1')],'allowNull':![]},'app':{'type':Sequelize[_0x4893('0x2')],'allowNull':![],'defaultValue':_0x4893('0x3')},'appdata':{'type':Sequelize[_0x4893('0x4')]()},'description':{'type':Sequelize['STRING']},'interval':{'type':Sequelize[_0x4893('0x2')],'defaultValue':_0x4893('0x5')}}; \ No newline at end of file diff --git a/server/api/chatApplication/chatApplication.controller.js b/server/api/chatApplication/chatApplication.controller.js index d5b0a24..671cc80 100644 --- a/server/api/chatApplication/chatApplication.controller.js +++ b/server/api/chatApplication/chatApplication.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xf3fe=['end','json','count','offset','limit','set','Content-Range','apply','update','then','destroy','error','name','send','show','params','keys','ChatApplication','rawAttributes','query','filters','model','intersection','fields','attributes','length','includeAll','include','merge','options','find','catch','body','eml-format','rimraf','zip-dir','moment','mustache','path','sox','ejs','lodash','squel','jsforce','to-csv','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','sendStatus','status'];(function(_0x257268,_0x2d5655){var _0x5a7a98=function(_0x8f3db4){while(--_0x8f3db4){_0x257268['push'](_0x257268['shift']());}};_0x5a7a98(++_0x2d5655);}(_0xf3fe,0x1b7));var _0xef3f=function(_0x5cf5bc,_0x2483c4){_0x5cf5bc=_0x5cf5bc-0x0;var _0x2d0b13=_0xf3fe[_0x5cf5bc];return _0x2d0b13;};'use strict';var pdf=require('html-pdf');var emlformat=require(_0xef3f('0x0'));var rimraf=require(_0xef3f('0x1'));var zipdir=require(_0xef3f('0x2'));var jsonpatch=require('fast-json-patch');var rp=require('request-promise');var moment=require(_0xef3f('0x3'));var BPromise=require('bluebird');var Mustache=require(_0xef3f('0x4'));var util=require('util');var path=require(_0xef3f('0x5'));var sox=require(_0xef3f('0x6'));var csv=require('to-csv');var ejs=require(_0xef3f('0x7'));var fs=require('fs');var _=require(_0xef3f('0x8'));var squel=require(_0xef3f('0x9'));var crypto=require('crypto');var jsforce=require(_0xef3f('0xa'));var deskjs=require('desk.js');var toCsv=require(_0xef3f('0xb'));var querystring=require(_0xef3f('0xc'));var Papa=require(_0xef3f('0xd'));var Redis=require(_0xef3f('0xe'));var authService=require(_0xef3f('0xf'));var qs=require(_0xef3f('0x10'));var as=require(_0xef3f('0x11'));var hardwareService=require('../../config/license/hardware');var logger=require(_0xef3f('0x12'))(_0xef3f('0x13'));var utils=require(_0xef3f('0x14'));var config=require(_0xef3f('0x15'));var db=require(_0xef3f('0x16'))['db'];function respondWithStatusCode(_0x273b16,_0x28c54d){_0x28c54d=_0x28c54d||0xcc;return function(_0x5ae192){if(_0x5ae192){return _0x273b16[_0xef3f('0x17')](_0x28c54d);}return _0x273b16[_0xef3f('0x18')](_0x28c54d)[_0xef3f('0x19')]();};}function respondWithResult(_0x1c480d,_0x3a18a1){_0x3a18a1=_0x3a18a1||0xc8;return function(_0x56db1d){if(_0x56db1d){return _0x1c480d[_0xef3f('0x18')](_0x3a18a1)[_0xef3f('0x1a')](_0x56db1d);}};}function respondWithFilteredResult(_0x17e958,_0x5c6acc){return function(_0x197124){if(_0x197124){var _0x108717=_0x197124[_0xef3f('0x1b')],_0x501888=_0x5c6acc[_0xef3f('0x1c')],_0x4374ee=_0x5c6acc['offset']+_0x5c6acc[_0xef3f('0x1d')],_0x107aec;if(_0x4374ee>=_0x108717){_0x4374ee=_0x108717;_0x107aec=0xc8;}else{_0x107aec=0xce;}_0x17e958[_0xef3f('0x18')](_0x107aec);return _0x17e958[_0xef3f('0x1e')](_0xef3f('0x1f'),_0x501888+'-'+_0x4374ee+'/'+_0x108717)[_0xef3f('0x1a')](_0x197124);}return null;};}function patchUpdates(_0x558037){return function(_0x5df45c){try{jsonpatch[_0xef3f('0x20')](_0x5df45c,_0x558037,!![]);}catch(_0x11bab8){return BPromise['reject'](_0x11bab8);}return _0x5df45c['save']();};}function saveUpdates(_0xfc3d1,_0x584dbe){return function(_0x23e074){if(_0x23e074){return _0x23e074[_0xef3f('0x21')](_0xfc3d1)[_0xef3f('0x22')](function(_0x173215){return _0x173215;});}return null;};}function removeEntity(_0x3559f2,_0x283e80){return function(_0x17e28c){if(_0x17e28c){return _0x17e28c[_0xef3f('0x23')]()[_0xef3f('0x22')](function(){_0x3559f2[_0xef3f('0x18')](0xcc)[_0xef3f('0x19')]();});}};}function handleEntityNotFound(_0x41645d,_0x137f80){return function(_0x51cee6){if(!_0x51cee6){_0x41645d['sendStatus'](0x194);}return _0x51cee6;};}function handleError(_0x58689f,_0x1dbab1){_0x1dbab1=_0x1dbab1||0x1f4;return function(_0x2e7ab2){logger[_0xef3f('0x24')](_0x2e7ab2['stack']);if(_0x2e7ab2[_0xef3f('0x25')]){delete _0x2e7ab2[_0xef3f('0x25')];}_0x58689f[_0xef3f('0x18')](_0x1dbab1)[_0xef3f('0x26')](_0x2e7ab2);};}exports[_0xef3f('0x27')]=function(_0x1f76c5,_0x596ca0){var _0x103021={'raw':!![],'where':{'id':_0x1f76c5[_0xef3f('0x28')]['id']}},_0x376975={};_0x376975['model']=_[_0xef3f('0x29')](db[_0xef3f('0x2a')][_0xef3f('0x2b')]);_0x376975[_0xef3f('0x2c')]=_['keys'](_0x1f76c5[_0xef3f('0x2c')]);_0x376975[_0xef3f('0x2d')]=_['intersection'](_0x376975[_0xef3f('0x2e')],_0x376975[_0xef3f('0x2c')]);_0x103021['attributes']=_[_0xef3f('0x2f')](_0x376975['model'],qs[_0xef3f('0x30')](_0x1f76c5[_0xef3f('0x2c')][_0xef3f('0x30')]));_0x103021[_0xef3f('0x31')]=_0x103021[_0xef3f('0x31')][_0xef3f('0x32')]?_0x103021[_0xef3f('0x31')]:_0x376975['model'];if(_0x1f76c5[_0xef3f('0x2c')][_0xef3f('0x33')]){_0x103021[_0xef3f('0x34')]=[{'all':!![]}];}_0x103021=_[_0xef3f('0x35')]({},_0x103021,_0x1f76c5[_0xef3f('0x36')]);return db[_0xef3f('0x2a')][_0xef3f('0x37')](_0x103021)[_0xef3f('0x22')](handleEntityNotFound(_0x596ca0,null))[_0xef3f('0x22')](respondWithResult(_0x596ca0,null))[_0xef3f('0x38')](handleError(_0x596ca0,null));};exports['update']=function(_0xe1f252,_0x10be07){if(_0xe1f252[_0xef3f('0x39')]['id']){delete _0xe1f252[_0xef3f('0x39')]['id'];}return db[_0xef3f('0x2a')]['find']({'where':{'id':_0xe1f252[_0xef3f('0x28')]['id']}})[_0xef3f('0x22')](handleEntityNotFound(_0x10be07,null))[_0xef3f('0x22')](saveUpdates(_0xe1f252[_0xef3f('0x39')],null))[_0xef3f('0x22')](respondWithResult(_0x10be07,null))['catch'](handleError(_0x10be07,null));};exports[_0xef3f('0x23')]=function(_0x298862,_0x25e933){return db['ChatApplication']['find']({'where':{'id':_0x298862['params']['id']}})[_0xef3f('0x22')](handleEntityNotFound(_0x25e933,null))['then'](removeEntity(_0x25e933,null))['catch'](handleError(_0x25e933,null));}; \ No newline at end of file +var _0x4f7b=['../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','sendStatus','status','end','json','count','offset','limit','Content-Range','apply','reject','update','then','destroy','error','stack','name','show','params','model','keys','rawAttributes','query','intersection','attributes','fields','length','merge','options','ChatApplication','body','find','catch','html-pdf','rimraf','zip-dir','request-promise','bluebird','mustache','util','path','sox','ejs','squel','crypto','jsforce','desk.js','to-csv','querystring','papaparse','ioredis','../../components/parsers/qs','../../components/parsers/advancedSearch'];(function(_0x53ec76,_0x33ee10){var _0xf5fcd9=function(_0x4701b5){while(--_0x4701b5){_0x53ec76['push'](_0x53ec76['shift']());}};_0xf5fcd9(++_0x33ee10);}(_0x4f7b,0x9a));var _0xb4f7=function(_0x183f78,_0x4ebd30){_0x183f78=_0x183f78-0x0;var _0x255c99=_0x4f7b[_0x183f78];return _0x255c99;};'use strict';var pdf=require(_0xb4f7('0x0'));var emlformat=require('eml-format');var rimraf=require(_0xb4f7('0x1'));var zipdir=require(_0xb4f7('0x2'));var jsonpatch=require('fast-json-patch');var rp=require(_0xb4f7('0x3'));var moment=require('moment');var BPromise=require(_0xb4f7('0x4'));var Mustache=require(_0xb4f7('0x5'));var util=require(_0xb4f7('0x6'));var path=require(_0xb4f7('0x7'));var sox=require(_0xb4f7('0x8'));var csv=require('to-csv');var ejs=require(_0xb4f7('0x9'));var fs=require('fs');var _=require('lodash');var squel=require(_0xb4f7('0xa'));var crypto=require(_0xb4f7('0xb'));var jsforce=require(_0xb4f7('0xc'));var deskjs=require(_0xb4f7('0xd'));var toCsv=require(_0xb4f7('0xe'));var querystring=require(_0xb4f7('0xf'));var Papa=require(_0xb4f7('0x10'));var Redis=require(_0xb4f7('0x11'));var authService=require('../../components/auth/service');var qs=require(_0xb4f7('0x12'));var as=require(_0xb4f7('0x13'));var hardwareService=require(_0xb4f7('0x14'));var logger=require(_0xb4f7('0x15'))(_0xb4f7('0x16'));var utils=require(_0xb4f7('0x17'));var config=require(_0xb4f7('0x18'));var db=require(_0xb4f7('0x19'))['db'];function respondWithStatusCode(_0x97a07b,_0x124a1d){_0x124a1d=_0x124a1d||0xcc;return function(_0x52d6bd){if(_0x52d6bd){return _0x97a07b[_0xb4f7('0x1a')](_0x124a1d);}return _0x97a07b[_0xb4f7('0x1b')](_0x124a1d)[_0xb4f7('0x1c')]();};}function respondWithResult(_0x30075c,_0x195248){_0x195248=_0x195248||0xc8;return function(_0x42512b){if(_0x42512b){return _0x30075c[_0xb4f7('0x1b')](_0x195248)[_0xb4f7('0x1d')](_0x42512b);}};}function respondWithFilteredResult(_0x3302f3,_0xd97a3d){return function(_0x23c3f1){if(_0x23c3f1){var _0x3e3ea0=_0x23c3f1[_0xb4f7('0x1e')],_0x4d6ffb=_0xd97a3d[_0xb4f7('0x1f')],_0x4524a4=_0xd97a3d[_0xb4f7('0x1f')]+_0xd97a3d[_0xb4f7('0x20')],_0x3d12a0;if(_0x4524a4>=_0x3e3ea0){_0x4524a4=_0x3e3ea0;_0x3d12a0=0xc8;}else{_0x3d12a0=0xce;}_0x3302f3[_0xb4f7('0x1b')](_0x3d12a0);return _0x3302f3['set'](_0xb4f7('0x21'),_0x4d6ffb+'-'+_0x4524a4+'/'+_0x3e3ea0)[_0xb4f7('0x1d')](_0x23c3f1);}return null;};}function patchUpdates(_0x4377c1){return function(_0x2815ae){try{jsonpatch[_0xb4f7('0x22')](_0x2815ae,_0x4377c1,!![]);}catch(_0x24ba91){return BPromise[_0xb4f7('0x23')](_0x24ba91);}return _0x2815ae['save']();};}function saveUpdates(_0x576711,_0xba59e9){return function(_0x4a7eb6){if(_0x4a7eb6){return _0x4a7eb6[_0xb4f7('0x24')](_0x576711)[_0xb4f7('0x25')](function(_0x3f073f){return _0x3f073f;});}return null;};}function removeEntity(_0x116749,_0x45a97a){return function(_0x28f154){if(_0x28f154){return _0x28f154[_0xb4f7('0x26')]()[_0xb4f7('0x25')](function(){_0x116749[_0xb4f7('0x1b')](0xcc)[_0xb4f7('0x1c')]();});}};}function handleEntityNotFound(_0x4c644d,_0x1f684d){return function(_0xe40485){if(!_0xe40485){_0x4c644d[_0xb4f7('0x1a')](0x194);}return _0xe40485;};}function handleError(_0x48d1ea,_0x13e359){_0x13e359=_0x13e359||0x1f4;return function(_0x33f1bf){logger[_0xb4f7('0x27')](_0x33f1bf[_0xb4f7('0x28')]);if(_0x33f1bf[_0xb4f7('0x29')]){delete _0x33f1bf['name'];}_0x48d1ea['status'](_0x13e359)['send'](_0x33f1bf);};}exports[_0xb4f7('0x2a')]=function(_0x44fde1,_0xde58fe){var _0x4a18df={'raw':!![],'where':{'id':_0x44fde1[_0xb4f7('0x2b')]['id']}},_0x103ca2={};_0x103ca2[_0xb4f7('0x2c')]=_[_0xb4f7('0x2d')](db['ChatApplication'][_0xb4f7('0x2e')]);_0x103ca2[_0xb4f7('0x2f')]=_[_0xb4f7('0x2d')](_0x44fde1['query']);_0x103ca2['filters']=_[_0xb4f7('0x30')](_0x103ca2['model'],_0x103ca2[_0xb4f7('0x2f')]);_0x4a18df[_0xb4f7('0x31')]=_['intersection'](_0x103ca2[_0xb4f7('0x2c')],qs['fields'](_0x44fde1[_0xb4f7('0x2f')][_0xb4f7('0x32')]));_0x4a18df['attributes']=_0x4a18df[_0xb4f7('0x31')][_0xb4f7('0x33')]?_0x4a18df['attributes']:_0x103ca2[_0xb4f7('0x2c')];if(_0x44fde1[_0xb4f7('0x2f')]['includeAll']){_0x4a18df['include']=[{'all':!![]}];}_0x4a18df=_[_0xb4f7('0x34')]({},_0x4a18df,_0x44fde1[_0xb4f7('0x35')]);return db[_0xb4f7('0x36')]['find'](_0x4a18df)[_0xb4f7('0x25')](handleEntityNotFound(_0xde58fe,null))[_0xb4f7('0x25')](respondWithResult(_0xde58fe,null))['catch'](handleError(_0xde58fe,null));};exports[_0xb4f7('0x24')]=function(_0x4e3ba2,_0xd45b14){if(_0x4e3ba2[_0xb4f7('0x37')]['id']){delete _0x4e3ba2[_0xb4f7('0x37')]['id'];}return db[_0xb4f7('0x36')][_0xb4f7('0x38')]({'where':{'id':_0x4e3ba2[_0xb4f7('0x2b')]['id']}})[_0xb4f7('0x25')](handleEntityNotFound(_0xd45b14,null))['then'](saveUpdates(_0x4e3ba2['body'],null))['then'](respondWithResult(_0xd45b14,null))[_0xb4f7('0x39')](handleError(_0xd45b14,null));};exports[_0xb4f7('0x26')]=function(_0x3930bb,_0x485c33){return db[_0xb4f7('0x36')][_0xb4f7('0x38')]({'where':{'id':_0x3930bb[_0xb4f7('0x2b')]['id']}})['then'](handleEntityNotFound(_0x485c33,null))[_0xb4f7('0x25')](removeEntity(_0x485c33,null))['catch'](handleError(_0x485c33,null));}; \ No newline at end of file diff --git a/server/api/chatApplication/chatApplication.model.js b/server/api/chatApplication/chatApplication.model.js index 4d05fe6..6caa2ce 100644 --- a/server/api/chatApplication/chatApplication.model.js +++ b/server/api/chatApplication/chatApplication.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xa9e0=['define','ChatApplication','utf8mb4_unicode_ci','lodash','util','../../config/logger','bluebird','path','rimraf','../../config/environment','./chatApplication.attributes','exports'];(function(_0x57b54c,_0x54ce0d){var _0x59cc19=function(_0xa33bc6){while(--_0xa33bc6){_0x57b54c['push'](_0x57b54c['shift']());}};_0x59cc19(++_0x54ce0d);}(_0xa9e0,0x123));var _0x0a9e=function(_0x1da04e,_0x31024b){_0x1da04e=_0x1da04e-0x0;var _0xdd8c41=_0xa9e0[_0x1da04e];return _0xdd8c41;};'use strict';var _=require(_0x0a9e('0x0'));var util=require(_0x0a9e('0x1'));var logger=require(_0x0a9e('0x2'))('api');var moment=require('moment');var BPromise=require(_0x0a9e('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x0a9e('0x4'));var rimraf=require(_0x0a9e('0x5'));var config=require(_0x0a9e('0x6'));var attributes=require(_0x0a9e('0x7'));module[_0x0a9e('0x8')]=function(_0x57b080,_0x219af0){return _0x57b080[_0x0a9e('0x9')](_0x0a9e('0xa'),attributes,{'tableName':'chat_applications','paranoid':![],'indexes':[],'timestamps':!![],'charset':'utf8mb4','collate':_0x0a9e('0xb')});}; \ No newline at end of file +var _0xa9e0=['define','ChatApplication','utf8mb4_unicode_ci','lodash','util','../../config/logger','bluebird','path','rimraf','../../config/environment','./chatApplication.attributes','exports'];(function(_0x19950b,_0x53d0d7){var _0x3c6b41=function(_0x3924ad){while(--_0x3924ad){_0x19950b['push'](_0x19950b['shift']());}};_0x3c6b41(++_0x53d0d7);}(_0xa9e0,0x123));var _0x0a9e=function(_0x5783f4,_0x4a9e0a){_0x5783f4=_0x5783f4-0x0;var _0x28e380=_0xa9e0[_0x5783f4];return _0x28e380;};'use strict';var _=require(_0x0a9e('0x0'));var util=require(_0x0a9e('0x1'));var logger=require(_0x0a9e('0x2'))('api');var moment=require('moment');var BPromise=require(_0x0a9e('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x0a9e('0x4'));var rimraf=require(_0x0a9e('0x5'));var config=require(_0x0a9e('0x6'));var attributes=require(_0x0a9e('0x7'));module[_0x0a9e('0x8')]=function(_0x57b080,_0x219af0){return _0x57b080[_0x0a9e('0x9')](_0x0a9e('0xa'),attributes,{'tableName':'chat_applications','paranoid':![],'indexes':[],'timestamps':!![],'charset':'utf8mb4','collate':_0x0a9e('0xb')});}; \ No newline at end of file diff --git a/server/api/chatApplication/chatApplication.rpc.js b/server/api/chatApplication/chatApplication.rpc.js index 13a8a07..651688c 100644 --- a/server/api/chatApplication/chatApplication.rpc.js +++ b/server/api/chatApplication/chatApplication.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xc54d=['lodash','util','moment','bluebird','ioredis','../../mysqldb','../../config/utils','../../config/logger','../../config/environment','jayson/promise','client','http','request','then','info','ChatApplication,\x20%s,\x20%s','debug','ChatApplication,\x20%s,\x20%s,\x20%s','request\x20sent','error','message','result','catch'];(function(_0x3194c2,_0x807309){var _0x4c666a=function(_0x5011ce){while(--_0x5011ce){_0x3194c2['push'](_0x3194c2['shift']());}};_0x4c666a(++_0x807309);}(_0xc54d,0x170));var _0xdc54=function(_0xa2c51c,_0x98ad95){_0xa2c51c=_0xa2c51c-0x0;var _0x2f5401=_0xc54d[_0xa2c51c];return _0x2f5401;};'use strict';var _=require(_0xdc54('0x0'));var util=require(_0xdc54('0x1'));var moment=require(_0xdc54('0x2'));var BPromise=require(_0xdc54('0x3'));var rs=require('randomstring');var fs=require('fs');var Redis=require(_0xdc54('0x4'));var db=require(_0xdc54('0x5'))['db'];var utils=require(_0xdc54('0x6'));var logger=require(_0xdc54('0x7'))('rpc');var config=require(_0xdc54('0x8'));var jayson=require(_0xdc54('0x9'));var client=jayson[_0xdc54('0xa')][_0xdc54('0xb')]({'port':0x232a});function respondWithRpcPromise(_0xb86a1b,_0x38ae13,_0x31bb7e){return new BPromise(function(_0x40c405,_0x8f0ec3){return client[_0xdc54('0xc')](_0xb86a1b,_0x31bb7e)[_0xdc54('0xd')](function(_0x1f99db){logger[_0xdc54('0xe')](_0xdc54('0xf'),_0x38ae13,'request\x20sent');logger[_0xdc54('0x10')](_0xdc54('0x11'),_0x38ae13,_0xdc54('0x12'),JSON['stringify'](_0x1f99db));if(_0x1f99db['error']){if(_0x1f99db['error']['code']===0x1f4){logger[_0xdc54('0x13')](_0xdc54('0xf'),_0x38ae13,_0x1f99db[_0xdc54('0x13')][_0xdc54('0x14')]);return _0x8f0ec3(_0x1f99db[_0xdc54('0x13')]['message']);}logger[_0xdc54('0x13')](_0xdc54('0xf'),_0x38ae13,_0x1f99db[_0xdc54('0x13')]['message']);return _0x40c405(_0x1f99db[_0xdc54('0x13')][_0xdc54('0x14')]);}else{logger[_0xdc54('0xe')](_0xdc54('0xf'),_0x38ae13,_0xdc54('0x12'));_0x40c405(_0x1f99db[_0xdc54('0x15')][_0xdc54('0x14')]);}})[_0xdc54('0x16')](function(_0x49be75){logger[_0xdc54('0x13')](_0xdc54('0xf'),_0x38ae13,_0x49be75);_0x8f0ec3(_0x49be75);});});} \ No newline at end of file +var _0x714b=['catch','moment','bluebird','ioredis','../../mysqldb','../../config/utils','rpc','../../config/environment','jayson/promise','http','request','then','ChatApplication,\x20%s,\x20%s','request\x20sent','debug','ChatApplication,\x20%s,\x20%s,\x20%s','stringify','error','code','message'];(function(_0x1d5d3f,_0x3a9d08){var _0x6f9221=function(_0x1e9b5d){while(--_0x1e9b5d){_0x1d5d3f['push'](_0x1d5d3f['shift']());}};_0x6f9221(++_0x3a9d08);}(_0x714b,0x1cd));var _0xb714=function(_0x2dafbe,_0x5d04de){_0x2dafbe=_0x2dafbe-0x0;var _0x58a45a=_0x714b[_0x2dafbe];return _0x58a45a;};'use strict';var _=require('lodash');var util=require('util');var moment=require(_0xb714('0x0'));var BPromise=require(_0xb714('0x1'));var rs=require('randomstring');var fs=require('fs');var Redis=require(_0xb714('0x2'));var db=require(_0xb714('0x3'))['db'];var utils=require(_0xb714('0x4'));var logger=require('../../config/logger')(_0xb714('0x5'));var config=require(_0xb714('0x6'));var jayson=require(_0xb714('0x7'));var client=jayson['client'][_0xb714('0x8')]({'port':0x232a});function respondWithRpcPromise(_0x554266,_0x3189a8,_0x6d6838){return new BPromise(function(_0x29d81b,_0x44aa94){return client[_0xb714('0x9')](_0x554266,_0x6d6838)[_0xb714('0xa')](function(_0x249da6){logger['info'](_0xb714('0xb'),_0x3189a8,_0xb714('0xc'));logger[_0xb714('0xd')](_0xb714('0xe'),_0x3189a8,_0xb714('0xc'),JSON[_0xb714('0xf')](_0x249da6));if(_0x249da6[_0xb714('0x10')]){if(_0x249da6[_0xb714('0x10')][_0xb714('0x11')]===0x1f4){logger[_0xb714('0x10')]('ChatApplication,\x20%s,\x20%s',_0x3189a8,_0x249da6['error'][_0xb714('0x12')]);return _0x44aa94(_0x249da6['error']['message']);}logger['error'](_0xb714('0xb'),_0x3189a8,_0x249da6[_0xb714('0x10')][_0xb714('0x12')]);return _0x29d81b(_0x249da6[_0xb714('0x10')]['message']);}else{logger['info'](_0xb714('0xb'),_0x3189a8,_0xb714('0xc'));_0x29d81b(_0x249da6['result'][_0xb714('0x12')]);}})[_0xb714('0x13')](function(_0x10d49b){logger[_0xb714('0x10')](_0xb714('0xb'),_0x3189a8,_0x10d49b);_0x44aa94(_0x10d49b);});});} \ No newline at end of file diff --git a/server/api/chatApplication/index.js b/server/api/chatApplication/index.js index 2b37fd2..3b848ea 100644 --- a/server/api/chatApplication/index.js +++ b/server/api/chatApplication/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xa898=['get','/:id','isAuthenticated','show','put','update','delete','exports','util','path','express','Router','../../components/auth/service','../../components/interaction/service'];(function(_0x919445,_0x5467dc){var _0x511b3e=function(_0xde10f3){while(--_0xde10f3){_0x919445['push'](_0x919445['shift']());}};_0x511b3e(++_0x5467dc);}(_0xa898,0x1f2));var _0x8a89=function(_0x3efccd,_0x23e339){_0x3efccd=_0x3efccd-0x0;var _0x12e8a6=_0xa898[_0x3efccd];return _0x12e8a6;};'use strict';var multer=require('multer');var util=require(_0x8a89('0x0'));var path=require(_0x8a89('0x1'));var timeout=require('connect-timeout');var express=require(_0x8a89('0x2'));var router=express[_0x8a89('0x3')]();var auth=require(_0x8a89('0x4'));var interaction=require(_0x8a89('0x5'));var config=require('../../config/environment');var controller=require('./chatApplication.controller');router[_0x8a89('0x6')](_0x8a89('0x7'),auth[_0x8a89('0x8')](),controller[_0x8a89('0x9')]);router[_0x8a89('0xa')](_0x8a89('0x7'),auth[_0x8a89('0x8')](),controller[_0x8a89('0xb')]);router[_0x8a89('0xc')](_0x8a89('0x7'),auth[_0x8a89('0x8')](),controller['destroy']);module[_0x8a89('0xd')]=router; \ No newline at end of file +var _0x5250=['../../config/environment','./chatApplication.controller','get','/:id','isAuthenticated','show','put','update','delete','exports','multer','util','path','express','Router','../../components/auth/service','../../components/interaction/service'];(function(_0x59f51c,_0x30cf44){var _0x4514ed=function(_0x494ee3){while(--_0x494ee3){_0x59f51c['push'](_0x59f51c['shift']());}};_0x4514ed(++_0x30cf44);}(_0x5250,0x81));var _0x0525=function(_0x15ca1a,_0x30fc82){_0x15ca1a=_0x15ca1a-0x0;var _0x507626=_0x5250[_0x15ca1a];return _0x507626;};'use strict';var multer=require(_0x0525('0x0'));var util=require(_0x0525('0x1'));var path=require(_0x0525('0x2'));var timeout=require('connect-timeout');var express=require(_0x0525('0x3'));var router=express[_0x0525('0x4')]();var auth=require(_0x0525('0x5'));var interaction=require(_0x0525('0x6'));var config=require(_0x0525('0x7'));var controller=require(_0x0525('0x8'));router[_0x0525('0x9')](_0x0525('0xa'),auth[_0x0525('0xb')](),controller[_0x0525('0xc')]);router[_0x0525('0xd')]('/:id',auth[_0x0525('0xb')](),controller[_0x0525('0xe')]);router[_0x0525('0xf')](_0x0525('0xa'),auth[_0x0525('0xb')](),controller['destroy']);module[_0x0525('0x10')]=router; \ No newline at end of file diff --git a/server/api/chatGroup/chatGroup.attributes.js b/server/api/chatGroup/chatGroup.attributes.js index 7544b37..7b6bbc1 100644 --- a/server/api/chatGroup/chatGroup.attributes.js +++ b/server/api/chatGroup/chatGroup.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x8cb2=['STRING','BOOLEAN','sequelize','exports'];(function(_0x52f1e6,_0xf70489){var _0x21f104=function(_0xb89f9e){while(--_0xb89f9e){_0x52f1e6['push'](_0x52f1e6['shift']());}};_0x21f104(++_0xf70489);}(_0x8cb2,0x18a));var _0x28cb=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x8cb2[_0x3dd15e];return _0x231fd0;};'use strict';var Sequelize=require(_0x28cb('0x0'));module[_0x28cb('0x1')]={'name':{'type':Sequelize[_0x28cb('0x2')],'allowNull':![]},'description':{'type':Sequelize['STRING']},'write':{'type':Sequelize[_0x28cb('0x3')],'defaultValue':!![]}}; \ No newline at end of file +var _0x058b=['STRING','BOOLEAN','sequelize'];(function(_0x225073,_0xcf5e04){var _0xaef844=function(_0x176863){while(--_0x176863){_0x225073['push'](_0x225073['shift']());}};_0xaef844(++_0xcf5e04);}(_0x058b,0x18e));var _0xb058=function(_0x3b231a,_0x53a00d){_0x3b231a=_0x3b231a-0x0;var _0x18d67a=_0x058b[_0x3b231a];return _0x18d67a;};'use strict';var Sequelize=require(_0xb058('0x0'));module['exports']={'name':{'type':Sequelize[_0xb058('0x1')],'allowNull':![]},'description':{'type':Sequelize[_0xb058('0x1')]},'write':{'type':Sequelize[_0xb058('0x2')],'defaultValue':!![]}}; \ No newline at end of file diff --git a/server/api/chatGroup/chatGroup.controller.js b/server/api/chatGroup/chatGroup.controller.js index bd25568..f56c8b8 100644 --- a/server/api/chatGroup/chatGroup.controller.js +++ b/server/api/chatGroup/chatGroup.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xa919=['nolimit','order','sort','where','pick','merge','map','VIRTUAL','filter','options','includeAll','include','findAll','show','params','find','create','body','describe','getUnread','ChatInternalMessage','user','toInteger','addMembers','ids','omit','getMembers','findOne','User','addMessage','format','YYYY-MM-DD\x20HH:mm:ss','getMessages','html-pdf','rimraf','fast-json-patch','request-promise','moment','bluebird','util','path','sox','to-csv','ejs','lodash','squel','crypto','jsforce','desk.js','papaparse','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../mysqldb','defaults','redis','localhost','socket.io-emitter','./chatGroup.socket','register','jayson/promise','client','http','Sequelize','ValidationError','The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.','request','then','info','request\x20sent','debug','ChatGroup,\x20%s,\x20%s,\x20%s','error','code','ChatGroup,\x20%s,\x20%s','message','result','catch','sendStatus','status','end','json','count','offset','limit','set','Content-Range','apply','reject','save','update','destroy','stack','name','send','index','ChatGroup','rawAttributes','fieldName','type','key','model','query','keys','filters','attributes','intersection','fields','length','hasOwnProperty'];(function(_0x174b62,_0x316871){var _0x358adf=function(_0x1a3adf){while(--_0x1a3adf){_0x174b62['push'](_0x174b62['shift']());}};_0x358adf(++_0x316871);}(_0xa919,0x92));var _0x9a91=function(_0x27fa56,_0x4def9b){_0x27fa56=_0x27fa56-0x0;var _0x25b2bc=_0xa919[_0x27fa56];return _0x25b2bc;};'use strict';var pdf=require(_0x9a91('0x0'));var emlformat=require('eml-format');var rimraf=require(_0x9a91('0x1'));var zipdir=require('zip-dir');var jsonpatch=require(_0x9a91('0x2'));var rp=require(_0x9a91('0x3'));var moment=require(_0x9a91('0x4'));var BPromise=require(_0x9a91('0x5'));var Mustache=require('mustache');var util=require(_0x9a91('0x6'));var path=require(_0x9a91('0x7'));var sox=require(_0x9a91('0x8'));var csv=require(_0x9a91('0x9'));var ejs=require(_0x9a91('0xa'));var fs=require('fs');var _=require(_0x9a91('0xb'));var squel=require(_0x9a91('0xc'));var crypto=require(_0x9a91('0xd'));var jsforce=require(_0x9a91('0xe'));var deskjs=require(_0x9a91('0xf'));var toCsv=require(_0x9a91('0x9'));var querystring=require('querystring');var Papa=require(_0x9a91('0x10'));var Redis=require('ioredis');var authService=require('../../components/auth/service');var qs=require(_0x9a91('0x11'));var as=require(_0x9a91('0x12'));var hardwareService=require(_0x9a91('0x13'));var logger=require(_0x9a91('0x14'))(_0x9a91('0x15'));var utils=require(_0x9a91('0x16'));var config=require('../../config/environment');var db=require(_0x9a91('0x17'))['db'];config['redis']=_[_0x9a91('0x18')](config[_0x9a91('0x19')],{'host':_0x9a91('0x1a'),'port':0x18eb});var socket=require(_0x9a91('0x1b'))(new Redis(config[_0x9a91('0x19')]));require(_0x9a91('0x1c'))[_0x9a91('0x1d')](socket);var jayson=require(_0x9a91('0x1e'));var client=jayson[_0x9a91('0x1f')][_0x9a91('0x20')]({'port':0x232a});function checkPasswordPattern(_0x2f62f1,_0x4c14a9,_0x298015){if(_0x298015){var _0x9d6c6=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0x9d6c6['test'](_0x4c14a9)){return _0x2f62f1;}else{throw new db[(_0x9a91('0x21'))][(_0x9a91('0x22'))](_0x9a91('0x23'));}}else{return _0x2f62f1;}}function respondWithRpcPromise(_0x5a4001,_0x99e075,_0x3469a8,_0xcc0be5){return new BPromise(function(_0x4f85d8,_0x4fa709){var _0x141a92=_0xcc0be5||client;return _0x141a92[_0x9a91('0x24')](_0x5a4001,_0x3469a8)[_0x9a91('0x25')](function(_0x35b7d0){logger[_0x9a91('0x26')]('ChatGroup,\x20%s,\x20%s',_0x99e075,_0x9a91('0x27'));logger[_0x9a91('0x28')](_0x9a91('0x29'),_0x99e075,'request\x20sent',JSON['stringify'](_0x35b7d0));if(_0x35b7d0[_0x9a91('0x2a')]){if(_0x35b7d0['error'][_0x9a91('0x2b')]===0x1f4){logger['error'](_0x9a91('0x2c'),_0x99e075,_0x35b7d0[_0x9a91('0x2a')]['message']);return _0x4fa709(_0x35b7d0[_0x9a91('0x2a')][_0x9a91('0x2d')]);}logger[_0x9a91('0x2a')](_0x9a91('0x2c'),_0x99e075,_0x35b7d0['error'][_0x9a91('0x2d')]);return _0x4f85d8(_0x35b7d0['error'][_0x9a91('0x2d')]);}else{logger[_0x9a91('0x26')](_0x9a91('0x2c'),_0x99e075,'request\x20sent');_0x4f85d8(_0x35b7d0[_0x9a91('0x2e')][_0x9a91('0x2d')]);}})[_0x9a91('0x2f')](function(_0x3ae07f){logger[_0x9a91('0x2a')]('ChatGroup,\x20%s,\x20%s',_0x99e075,_0x3ae07f);_0x4fa709(_0x3ae07f);});});}function respondWithStatusCode(_0x5017cc,_0x47b6ab){_0x47b6ab=_0x47b6ab||0xcc;return function(_0x5ec9bb){if(_0x5ec9bb){return _0x5017cc[_0x9a91('0x30')](_0x47b6ab);}return _0x5017cc[_0x9a91('0x31')](_0x47b6ab)[_0x9a91('0x32')]();};}function respondWithResult(_0x381ca1,_0x5c735e){_0x5c735e=_0x5c735e||0xc8;return function(_0x4f952c){if(_0x4f952c){return _0x381ca1[_0x9a91('0x31')](_0x5c735e)[_0x9a91('0x33')](_0x4f952c);}};}function respondWithFilteredResult(_0x242ebd,_0x56a78a){return function(_0x2a8894){if(_0x2a8894){var _0x4ac228=_0x2a8894[_0x9a91('0x34')],_0x1fb5f2=_0x56a78a['offset'],_0x14ec35=_0x56a78a[_0x9a91('0x35')]+_0x56a78a[_0x9a91('0x36')],_0x4937c7;if(_0x14ec35>=_0x4ac228){_0x14ec35=_0x4ac228;_0x4937c7=0xc8;}else{_0x4937c7=0xce;}_0x242ebd['status'](_0x4937c7);return _0x242ebd[_0x9a91('0x37')](_0x9a91('0x38'),_0x1fb5f2+'-'+_0x14ec35+'/'+_0x4ac228)['json'](_0x2a8894);}return null;};}function patchUpdates(_0x4ad8bd){return function(_0x6fce42){try{jsonpatch[_0x9a91('0x39')](_0x6fce42,_0x4ad8bd,!![]);}catch(_0x2a6b24){return BPromise[_0x9a91('0x3a')](_0x2a6b24);}return _0x6fce42[_0x9a91('0x3b')]();};}function saveUpdates(_0x429bb0,_0x33d3a1){return function(_0x32ed4d){if(_0x32ed4d){return _0x32ed4d[_0x9a91('0x3c')](_0x429bb0)['then'](function(_0x24d3a6){return _0x24d3a6;});}return null;};}function removeEntity(_0x159ed9,_0x373453){return function(_0x4e121e){if(_0x4e121e){return _0x4e121e[_0x9a91('0x3d')]()[_0x9a91('0x25')](function(){_0x159ed9['status'](0xcc)[_0x9a91('0x32')]();});}};}function handleEntityNotFound(_0x146bb4,_0x1f1446){return function(_0x5c15f2){if(!_0x5c15f2){_0x146bb4[_0x9a91('0x30')](0x194);}return _0x5c15f2;};}function handleError(_0xb5f59f,_0x12d2f9){_0x12d2f9=_0x12d2f9||0x1f4;return function(_0x1edcc6){logger[_0x9a91('0x2a')](_0x1edcc6[_0x9a91('0x3e')]);if(_0x1edcc6[_0x9a91('0x3f')]){delete _0x1edcc6[_0x9a91('0x3f')];}_0xb5f59f[_0x9a91('0x31')](_0x12d2f9)[_0x9a91('0x40')](_0x1edcc6);};}exports[_0x9a91('0x41')]=function(_0x230b95,_0x4f56bf){var _0x5199f9={},_0x44a6a6={},_0x3a33c5={'count':0x0,'rows':[]};var _0x1aaef7=_['map'](db[_0x9a91('0x42')][_0x9a91('0x43')],function(_0xb776aa){return{'name':_0xb776aa[_0x9a91('0x44')],'type':_0xb776aa[_0x9a91('0x45')][_0x9a91('0x46')]};});_0x44a6a6[_0x9a91('0x47')]=_['map'](_0x1aaef7,'name');_0x44a6a6[_0x9a91('0x48')]=_[_0x9a91('0x49')](_0x230b95['query']);_0x44a6a6[_0x9a91('0x4a')]=_['intersection'](_0x44a6a6[_0x9a91('0x47')],_0x44a6a6[_0x9a91('0x48')]);_0x5199f9[_0x9a91('0x4b')]=_[_0x9a91('0x4c')](_0x44a6a6[_0x9a91('0x47')],qs[_0x9a91('0x4d')](_0x230b95[_0x9a91('0x48')][_0x9a91('0x4d')]));_0x5199f9[_0x9a91('0x4b')]=_0x5199f9[_0x9a91('0x4b')][_0x9a91('0x4e')]?_0x5199f9[_0x9a91('0x4b')]:_0x44a6a6[_0x9a91('0x47')];if(!_0x230b95[_0x9a91('0x48')][_0x9a91('0x4f')](_0x9a91('0x50'))){_0x5199f9['limit']=qs[_0x9a91('0x36')](_0x230b95['query'][_0x9a91('0x36')]);_0x5199f9[_0x9a91('0x35')]=qs[_0x9a91('0x35')](_0x230b95['query']['offset']);}_0x5199f9[_0x9a91('0x51')]=qs['sort'](_0x230b95['query'][_0x9a91('0x52')]);_0x5199f9[_0x9a91('0x53')]=qs[_0x9a91('0x4a')](_[_0x9a91('0x54')](_0x230b95[_0x9a91('0x48')],_0x44a6a6[_0x9a91('0x4a')]),_0x1aaef7);if(_0x230b95[_0x9a91('0x48')]['filter']){_0x5199f9[_0x9a91('0x53')]=_[_0x9a91('0x55')](_0x5199f9['where'],{'$or':_[_0x9a91('0x56')](_0x1aaef7,function(_0x46c27a){if(_0x46c27a[_0x9a91('0x45')]!==_0x9a91('0x57')){var _0x51081f={};_0x51081f[_0x46c27a['name']]={'$like':'%'+_0x230b95['query'][_0x9a91('0x58')]+'%'};return _0x51081f;}})});}_0x5199f9=_[_0x9a91('0x55')]({},_0x5199f9,_0x230b95[_0x9a91('0x59')]);var _0x5b6ea9={'where':_0x5199f9['where']};return db[_0x9a91('0x42')]['count'](_0x5b6ea9)['then'](function(_0x2ef5cd){_0x3a33c5[_0x9a91('0x34')]=_0x2ef5cd;if(_0x230b95[_0x9a91('0x48')][_0x9a91('0x5a')]){_0x5199f9[_0x9a91('0x5b')]=[{'all':!![]}];}return db[_0x9a91('0x42')][_0x9a91('0x5c')](_0x5199f9);})[_0x9a91('0x25')](function(_0x3960bc){_0x3a33c5['rows']=_0x3960bc;return _0x3a33c5;})[_0x9a91('0x25')](respondWithFilteredResult(_0x4f56bf,_0x5199f9))['catch'](handleError(_0x4f56bf,null));};exports[_0x9a91('0x5d')]=function(_0x45d182,_0x104f26){var _0x3e3c25={'raw':!![],'where':{'id':_0x45d182[_0x9a91('0x5e')]['id']}},_0xce9581={};_0xce9581['model']=_[_0x9a91('0x49')](db['ChatGroup'][_0x9a91('0x43')]);_0xce9581[_0x9a91('0x48')]=_['keys'](_0x45d182[_0x9a91('0x48')]);_0xce9581['filters']=_['intersection'](_0xce9581[_0x9a91('0x47')],_0xce9581[_0x9a91('0x48')]);_0x3e3c25['attributes']=_[_0x9a91('0x4c')](_0xce9581[_0x9a91('0x47')],qs[_0x9a91('0x4d')](_0x45d182[_0x9a91('0x48')][_0x9a91('0x4d')]));_0x3e3c25['attributes']=_0x3e3c25[_0x9a91('0x4b')][_0x9a91('0x4e')]?_0x3e3c25[_0x9a91('0x4b')]:_0xce9581['model'];if(_0x45d182['query'][_0x9a91('0x5a')]){_0x3e3c25[_0x9a91('0x5b')]=[{'all':!![]}];}_0x3e3c25=_[_0x9a91('0x55')]({},_0x3e3c25,_0x45d182['options']);return db[_0x9a91('0x42')][_0x9a91('0x5f')](_0x3e3c25)[_0x9a91('0x25')](handleEntityNotFound(_0x104f26,null))['then'](respondWithResult(_0x104f26,null))[_0x9a91('0x2f')](handleError(_0x104f26,null));};exports[_0x9a91('0x60')]=function(_0x1e3f1c,_0x40c006){return db[_0x9a91('0x42')][_0x9a91('0x60')](_0x1e3f1c[_0x9a91('0x61')],{})[_0x9a91('0x25')](respondWithResult(_0x40c006,0xc9))[_0x9a91('0x2f')](handleError(_0x40c006,null));};exports[_0x9a91('0x3c')]=function(_0x5311f7,_0x315aef){if(_0x5311f7[_0x9a91('0x61')]['id']){delete _0x5311f7['body']['id'];}return db[_0x9a91('0x42')][_0x9a91('0x5f')]({'where':{'id':_0x5311f7['params']['id']}})[_0x9a91('0x25')](handleEntityNotFound(_0x315aef,null))[_0x9a91('0x25')](saveUpdates(_0x5311f7[_0x9a91('0x61')],null))[_0x9a91('0x25')](respondWithResult(_0x315aef,null))['catch'](handleError(_0x315aef,null));};exports[_0x9a91('0x3d')]=function(_0x275f88,_0x7ee4c9){return db[_0x9a91('0x42')][_0x9a91('0x5f')]({'where':{'id':_0x275f88[_0x9a91('0x5e')]['id']}})[_0x9a91('0x25')](handleEntityNotFound(_0x7ee4c9,null))[_0x9a91('0x25')](removeEntity(_0x7ee4c9,null))['catch'](handleError(_0x7ee4c9,null));};exports[_0x9a91('0x62')]=function(_0x3e4609,_0x59992d){return db[_0x9a91('0x42')][_0x9a91('0x62')]()[_0x9a91('0x25')](respondWithResult(_0x59992d,null))[_0x9a91('0x2f')](handleError(_0x59992d,null));};exports[_0x9a91('0x63')]=function(_0x3396bb,_0x115132,_0x542fd9){return db[_0x9a91('0x64')][_0x9a91('0x34')]({'where':{'ChatGroupId':_0x3396bb[_0x9a91('0x5e')]['id'],'ToId':_0x3396bb[_0x9a91('0x65')]['id'],'read':![]}})['then'](function(_0x2badf3){return{'id':_[_0x9a91('0x66')](_0x3396bb['params']['id']),'count':_0x2badf3};})[_0x9a91('0x25')](respondWithResult(_0x115132,null))[_0x9a91('0x2f')](handleError(_0x115132,null));};exports[_0x9a91('0x67')]=function(_0x5d33f0,_0x5715fc,_0x134a50){return db[_0x9a91('0x42')]['find']({'where':{'id':_0x5d33f0[_0x9a91('0x5e')]['id']}})['then'](handleEntityNotFound(_0x5715fc,null))[_0x9a91('0x25')](function(_0x2af8e8){if(_0x2af8e8){return _0x2af8e8[_0x9a91('0x67')](_0x5d33f0[_0x9a91('0x61')][_0x9a91('0x68')],_[_0x9a91('0x69')](_0x5d33f0[_0x9a91('0x61')],[_0x9a91('0x68'),'id'])||{});}})[_0x9a91('0x25')](respondWithResult(_0x5715fc,null))[_0x9a91('0x2f')](handleError(_0x5715fc,null));};exports[_0x9a91('0x6a')]=function(_0x4d829f,_0x1ab314,_0x2ef9e9){var _0x198d7d={};var _0x4ead1f={};var _0x5db33e;var _0xc3569a;return db[_0x9a91('0x42')][_0x9a91('0x6b')]({'where':{'id':_0x4d829f[_0x9a91('0x5e')]['id']}})[_0x9a91('0x25')](handleEntityNotFound(_0x1ab314,null))['then'](function(_0x4cceb2){if(_0x4cceb2){_0x5db33e=_0x4cceb2;_0x4ead1f['model']=_['keys'](db[_0x9a91('0x6c')]['rawAttributes']);_0x4ead1f[_0x9a91('0x48')]=_[_0x9a91('0x49')](_0x4d829f[_0x9a91('0x48')]);_0x4ead1f[_0x9a91('0x4a')]=_[_0x9a91('0x4c')](_0x4ead1f[_0x9a91('0x47')],_0x4ead1f[_0x9a91('0x48')]);_0x198d7d[_0x9a91('0x4b')]=_['intersection'](_0x4ead1f[_0x9a91('0x47')],qs[_0x9a91('0x4d')](_0x4d829f['query']['fields']));_0x198d7d[_0x9a91('0x4b')]=_0x198d7d[_0x9a91('0x4b')][_0x9a91('0x4e')]?_0x198d7d[_0x9a91('0x4b')]:_0x4ead1f[_0x9a91('0x47')];_0x198d7d[_0x9a91('0x51')]=qs[_0x9a91('0x52')](_0x4d829f[_0x9a91('0x48')][_0x9a91('0x52')]);_0x198d7d[_0x9a91('0x53')]=qs[_0x9a91('0x4a')](_[_0x9a91('0x54')](_0x4d829f[_0x9a91('0x48')],_0x4ead1f['filters']));if(_0x4d829f['query']['filter']){_0x198d7d[_0x9a91('0x53')]=_[_0x9a91('0x55')](_0x198d7d[_0x9a91('0x53')],{'$or':_[_0x9a91('0x56')](_0x198d7d['attributes'],function(_0x1a0fb3){var _0x159a63={};_0x159a63[_0x1a0fb3]={'$like':'%'+_0x4d829f[_0x9a91('0x48')][_0x9a91('0x58')]+'%'};return _0x159a63;})});}_0x198d7d=_[_0x9a91('0x55')]({},_0x198d7d,_0x4d829f['options']);return _0x5db33e[_0x9a91('0x6a')](_0x198d7d);}})[_0x9a91('0x25')](function(_0x4c7076){if(_0x4c7076){_0xc3569a=_0x4c7076[_0x9a91('0x4e')];if(!_0x4d829f[_0x9a91('0x48')]['hasOwnProperty'](_0x9a91('0x50'))){_0x198d7d['limit']=qs[_0x9a91('0x36')](_0x4d829f[_0x9a91('0x48')][_0x9a91('0x36')]);_0x198d7d[_0x9a91('0x35')]=qs[_0x9a91('0x35')](_0x4d829f[_0x9a91('0x48')][_0x9a91('0x35')]);}return _0x5db33e[_0x9a91('0x6a')](_0x198d7d);}})[_0x9a91('0x25')](function(_0x50802f){if(_0x50802f){return _0x50802f?{'count':_0xc3569a,'rows':_0x50802f}:null;}})[_0x9a91('0x25')](respondWithResult(_0x1ab314,null))[_0x9a91('0x2f')](handleError(_0x1ab314,null));};exports['removeMembers']=function(_0x2e6e71,_0x206901,_0x54ce9f){return db['ChatGroup'][_0x9a91('0x5f')]({'where':{'id':_0x2e6e71[_0x9a91('0x5e')]['id']}})[_0x9a91('0x25')](handleEntityNotFound(_0x206901,null))[_0x9a91('0x25')](function(_0x4b9cde){if(_0x4b9cde){return _0x4b9cde['removeMembers'](_0x2e6e71[_0x9a91('0x48')][_0x9a91('0x68')]);}})['then'](respondWithStatusCode(_0x206901,null))[_0x9a91('0x2f')](handleError(_0x206901,null));};exports[_0x9a91('0x6d')]=function(_0x336207,_0x4e1500,_0x2f48c9){if(_0x336207[_0x9a91('0x61')]['id']){delete _0x336207[_0x9a91('0x61')]['id'];}return db[_0x9a91('0x42')]['find']({'where':{'id':_0x336207[_0x9a91('0x5e')]['id']}})[_0x9a91('0x25')](handleEntityNotFound(_0x4e1500,null))[_0x9a91('0x25')](function(_0x1f3aff){if(_0x1f3aff){_0x336207['body']['ChatGroupId']=_0x1f3aff['id'];return db['ChatInternalMessage'][_0x9a91('0x60')](_0x336207[_0x9a91('0x61')]);}})[_0x9a91('0x25')](respondWithResult(_0x4e1500,null))['catch'](handleError(_0x4e1500,null));};exports['getMessages']=function(_0x400227,_0x59e3b8,_0x5992b4){var _0x51d006={};var _0x154d7e={};var _0x47f217;var _0x3df547;return db[_0x9a91('0x42')][_0x9a91('0x6b')]({'where':{'id':_0x400227[_0x9a91('0x5e')]['id']}})[_0x9a91('0x25')](handleEntityNotFound(_0x59e3b8,null))['then'](function(_0x58a7b6){if(_0x58a7b6){_0x47f217=_0x58a7b6;_0x154d7e[_0x9a91('0x47')]=_['keys'](db[_0x9a91('0x64')][_0x9a91('0x43')]);_0x154d7e[_0x9a91('0x48')]=_[_0x9a91('0x49')](_0x400227[_0x9a91('0x48')]);_0x154d7e['filters']=_[_0x9a91('0x4c')](_0x154d7e['model'],_0x154d7e['query']);_0x51d006[_0x9a91('0x4b')]=_['intersection'](_0x154d7e[_0x9a91('0x47')],qs['fields'](_0x400227['query'][_0x9a91('0x4d')]));_0x51d006[_0x9a91('0x4b')]=_0x51d006[_0x9a91('0x4b')][_0x9a91('0x4e')]?_0x51d006['attributes']:_0x154d7e[_0x9a91('0x47')];_0x51d006[_0x9a91('0x51')]=qs[_0x9a91('0x52')](_0x400227['query']['sort']);_0x51d006[_0x9a91('0x53')]=qs[_0x9a91('0x4a')](_[_0x9a91('0x54')](_0x400227['query'],_0x154d7e[_0x9a91('0x4a')]));if(_0x400227[_0x9a91('0x48')][_0x9a91('0x58')]){_0x51d006[_0x9a91('0x53')]=_[_0x9a91('0x55')](_0x51d006[_0x9a91('0x53')],{'$or':_['map'](_0x51d006['attributes'],function(_0x16b47e){var _0x34360e={};_0x34360e[_0x16b47e]={'$like':'%'+_0x400227[_0x9a91('0x48')][_0x9a91('0x58')]+'%'};return _0x34360e;})});}if(_0x400227[_0x9a91('0x48')]['$gte']){var _0x3f58d9=_0x400227[_0x9a91('0x48')]['$gte']['split'](',');var _0x3ec52d={};_0x3ec52d[_0x3f58d9[0x0]]={'$gte':moment(_0x3f58d9[0x1])[_0x9a91('0x6e')](_0x9a91('0x6f'))};_0x51d006[_0x9a91('0x53')]=_[_0x9a91('0x55')](_0x51d006[_0x9a91('0x53')],_0x3ec52d);}_0x51d006=_['merge']({},_0x51d006,_0x400227[_0x9a91('0x59')]);return _0x47f217[_0x9a91('0x70')](_0x51d006);}})[_0x9a91('0x25')](function(_0x3ba952){if(_0x3ba952){_0x3df547=_0x3ba952['length'];if(!_0x400227[_0x9a91('0x48')][_0x9a91('0x4f')](_0x9a91('0x50'))){_0x51d006['limit']=qs[_0x9a91('0x36')](_0x400227['query']['limit']);_0x51d006[_0x9a91('0x35')]=qs[_0x9a91('0x35')](_0x400227[_0x9a91('0x48')]['offset']);}return _0x47f217[_0x9a91('0x70')](_0x51d006);}})[_0x9a91('0x25')](function(_0x4b378c){if(_0x4b378c){return _0x4b378c?{'count':_0x3df547,'rows':_0x4b378c}:null;}})['then'](respondWithResult(_0x59e3b8,null))['catch'](handleError(_0x59e3b8,null));}; \ No newline at end of file +var _0x8057=['update','destroy','stack','name','index','map','ChatGroup','fieldName','type','model','query','filters','intersection','fields','attributes','length','hasOwnProperty','nolimit','order','sort','pick','where','merge','filter','count','include','findAll','rows','show','params','keys','rawAttributes','includeAll','options','find','create','body','describe','getUnread','ChatInternalMessage','user','toInteger','addMembers','ids','omit','getMembers','findOne','User','removeMembers','addMessage','getMessages','$gte','split','format','YYYY-MM-DD\x20HH:mm:ss','html-pdf','eml-format','fast-json-patch','request-promise','moment','bluebird','mustache','path','sox','to-csv','ejs','lodash','squel','jsforce','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/advancedSearch','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','defaults','redis','localhost','./chatGroup.socket','register','jayson/promise','client','http','test','ValidationError','The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.','request','then','info','ChatGroup,\x20%s,\x20%s','request\x20sent','debug','stringify','error','message','catch','sendStatus','status','end','offset','limit','set','Content-Range','apply','save'];(function(_0x3a9f78,_0x21741b){var _0x12bb50=function(_0x4860f4){while(--_0x4860f4){_0x3a9f78['push'](_0x3a9f78['shift']());}};_0x12bb50(++_0x21741b);}(_0x8057,0x1ef));var _0x7805=function(_0x46796f,_0x2cc71f){_0x46796f=_0x46796f-0x0;var _0x7ff84f=_0x8057[_0x46796f];return _0x7ff84f;};'use strict';var pdf=require(_0x7805('0x0'));var emlformat=require(_0x7805('0x1'));var rimraf=require('rimraf');var zipdir=require('zip-dir');var jsonpatch=require(_0x7805('0x2'));var rp=require(_0x7805('0x3'));var moment=require(_0x7805('0x4'));var BPromise=require(_0x7805('0x5'));var Mustache=require(_0x7805('0x6'));var util=require('util');var path=require(_0x7805('0x7'));var sox=require(_0x7805('0x8'));var csv=require(_0x7805('0x9'));var ejs=require(_0x7805('0xa'));var fs=require('fs');var _=require(_0x7805('0xb'));var squel=require(_0x7805('0xc'));var crypto=require('crypto');var jsforce=require(_0x7805('0xd'));var deskjs=require(_0x7805('0xe'));var toCsv=require(_0x7805('0x9'));var querystring=require(_0x7805('0xf'));var Papa=require(_0x7805('0x10'));var Redis=require(_0x7805('0x11'));var authService=require(_0x7805('0x12'));var qs=require('../../components/parsers/qs');var as=require(_0x7805('0x13'));var hardwareService=require('../../config/license/hardware');var logger=require(_0x7805('0x14'))(_0x7805('0x15'));var utils=require(_0x7805('0x16'));var config=require(_0x7805('0x17'));var db=require(_0x7805('0x18'))['db'];config['redis']=_[_0x7805('0x19')](config[_0x7805('0x1a')],{'host':_0x7805('0x1b'),'port':0x18eb});var socket=require('socket.io-emitter')(new Redis(config[_0x7805('0x1a')]));require(_0x7805('0x1c'))[_0x7805('0x1d')](socket);var jayson=require(_0x7805('0x1e'));var client=jayson[_0x7805('0x1f')][_0x7805('0x20')]({'port':0x232a});function checkPasswordPattern(_0x44f742,_0x113d9,_0x58139c){if(_0x58139c){var _0x377c0b=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0x377c0b[_0x7805('0x21')](_0x113d9)){return _0x44f742;}else{throw new db['Sequelize'][(_0x7805('0x22'))](_0x7805('0x23'));}}else{return _0x44f742;}}function respondWithRpcPromise(_0x440055,_0x244a4b,_0x466fc3,_0x249eb7){return new BPromise(function(_0x8e1366,_0x275dce){var _0x1fc2f5=_0x249eb7||client;return _0x1fc2f5[_0x7805('0x24')](_0x440055,_0x466fc3)[_0x7805('0x25')](function(_0x2214de){logger[_0x7805('0x26')](_0x7805('0x27'),_0x244a4b,_0x7805('0x28'));logger[_0x7805('0x29')]('ChatGroup,\x20%s,\x20%s,\x20%s',_0x244a4b,'request\x20sent',JSON[_0x7805('0x2a')](_0x2214de));if(_0x2214de[_0x7805('0x2b')]){if(_0x2214de[_0x7805('0x2b')]['code']===0x1f4){logger[_0x7805('0x2b')](_0x7805('0x27'),_0x244a4b,_0x2214de['error']['message']);return _0x275dce(_0x2214de[_0x7805('0x2b')][_0x7805('0x2c')]);}logger[_0x7805('0x2b')](_0x7805('0x27'),_0x244a4b,_0x2214de['error'][_0x7805('0x2c')]);return _0x8e1366(_0x2214de[_0x7805('0x2b')][_0x7805('0x2c')]);}else{logger[_0x7805('0x26')]('ChatGroup,\x20%s,\x20%s',_0x244a4b,_0x7805('0x28'));_0x8e1366(_0x2214de['result']['message']);}})[_0x7805('0x2d')](function(_0x202539){logger[_0x7805('0x2b')](_0x7805('0x27'),_0x244a4b,_0x202539);_0x275dce(_0x202539);});});}function respondWithStatusCode(_0x560890,_0x1634e6){_0x1634e6=_0x1634e6||0xcc;return function(_0x201c98){if(_0x201c98){return _0x560890[_0x7805('0x2e')](_0x1634e6);}return _0x560890[_0x7805('0x2f')](_0x1634e6)[_0x7805('0x30')]();};}function respondWithResult(_0x4b1eb9,_0x3b9315){_0x3b9315=_0x3b9315||0xc8;return function(_0x13aa62){if(_0x13aa62){return _0x4b1eb9[_0x7805('0x2f')](_0x3b9315)['json'](_0x13aa62);}};}function respondWithFilteredResult(_0x2b6c6c,_0x1b75d1){return function(_0x2a2e3a){if(_0x2a2e3a){var _0x179dc5=_0x2a2e3a['count'],_0x19559=_0x1b75d1[_0x7805('0x31')],_0x2efc30=_0x1b75d1[_0x7805('0x31')]+_0x1b75d1[_0x7805('0x32')],_0x35f788;if(_0x2efc30>=_0x179dc5){_0x2efc30=_0x179dc5;_0x35f788=0xc8;}else{_0x35f788=0xce;}_0x2b6c6c[_0x7805('0x2f')](_0x35f788);return _0x2b6c6c[_0x7805('0x33')](_0x7805('0x34'),_0x19559+'-'+_0x2efc30+'/'+_0x179dc5)['json'](_0x2a2e3a);}return null;};}function patchUpdates(_0x3fc8d9){return function(_0x3f4251){try{jsonpatch[_0x7805('0x35')](_0x3f4251,_0x3fc8d9,!![]);}catch(_0x498ac6){return BPromise['reject'](_0x498ac6);}return _0x3f4251[_0x7805('0x36')]();};}function saveUpdates(_0x7bece,_0x50c7c3){return function(_0x13ea96){if(_0x13ea96){return _0x13ea96[_0x7805('0x37')](_0x7bece)[_0x7805('0x25')](function(_0x12702b){return _0x12702b;});}return null;};}function removeEntity(_0x3b419c,_0xc38722){return function(_0x4fec0c){if(_0x4fec0c){return _0x4fec0c[_0x7805('0x38')]()[_0x7805('0x25')](function(){_0x3b419c[_0x7805('0x2f')](0xcc)['end']();});}};}function handleEntityNotFound(_0x44566e,_0xa0302b){return function(_0x9aa44){if(!_0x9aa44){_0x44566e[_0x7805('0x2e')](0x194);}return _0x9aa44;};}function handleError(_0x490b38,_0x501681){_0x501681=_0x501681||0x1f4;return function(_0xe60541){logger[_0x7805('0x2b')](_0xe60541[_0x7805('0x39')]);if(_0xe60541[_0x7805('0x3a')]){delete _0xe60541[_0x7805('0x3a')];}_0x490b38[_0x7805('0x2f')](_0x501681)['send'](_0xe60541);};}exports[_0x7805('0x3b')]=function(_0x2fb235,_0x23d86d){var _0x92a6e7={},_0x4a10c2={},_0x4a2f5f={'count':0x0,'rows':[]};var _0x5075d2=_[_0x7805('0x3c')](db[_0x7805('0x3d')]['rawAttributes'],function(_0x3b674b){return{'name':_0x3b674b[_0x7805('0x3e')],'type':_0x3b674b[_0x7805('0x3f')]['key']};});_0x4a10c2[_0x7805('0x40')]=_['map'](_0x5075d2,_0x7805('0x3a'));_0x4a10c2['query']=_['keys'](_0x2fb235[_0x7805('0x41')]);_0x4a10c2[_0x7805('0x42')]=_['intersection'](_0x4a10c2[_0x7805('0x40')],_0x4a10c2[_0x7805('0x41')]);_0x92a6e7['attributes']=_[_0x7805('0x43')](_0x4a10c2[_0x7805('0x40')],qs[_0x7805('0x44')](_0x2fb235[_0x7805('0x41')]['fields']));_0x92a6e7[_0x7805('0x45')]=_0x92a6e7['attributes'][_0x7805('0x46')]?_0x92a6e7[_0x7805('0x45')]:_0x4a10c2[_0x7805('0x40')];if(!_0x2fb235[_0x7805('0x41')][_0x7805('0x47')](_0x7805('0x48'))){_0x92a6e7[_0x7805('0x32')]=qs[_0x7805('0x32')](_0x2fb235['query'][_0x7805('0x32')]);_0x92a6e7[_0x7805('0x31')]=qs[_0x7805('0x31')](_0x2fb235[_0x7805('0x41')][_0x7805('0x31')]);}_0x92a6e7[_0x7805('0x49')]=qs[_0x7805('0x4a')](_0x2fb235['query'][_0x7805('0x4a')]);_0x92a6e7['where']=qs[_0x7805('0x42')](_[_0x7805('0x4b')](_0x2fb235[_0x7805('0x41')],_0x4a10c2['filters']),_0x5075d2);if(_0x2fb235['query']['filter']){_0x92a6e7[_0x7805('0x4c')]=_[_0x7805('0x4d')](_0x92a6e7[_0x7805('0x4c')],{'$or':_['map'](_0x5075d2,function(_0x4a4f85){if(_0x4a4f85[_0x7805('0x3f')]!=='VIRTUAL'){var _0x27c40d={};_0x27c40d[_0x4a4f85[_0x7805('0x3a')]]={'$like':'%'+_0x2fb235['query'][_0x7805('0x4e')]+'%'};return _0x27c40d;}})});}_0x92a6e7=_[_0x7805('0x4d')]({},_0x92a6e7,_0x2fb235['options']);var _0x55e75b={'where':_0x92a6e7['where']};return db[_0x7805('0x3d')][_0x7805('0x4f')](_0x55e75b)['then'](function(_0xda9afb){_0x4a2f5f['count']=_0xda9afb;if(_0x2fb235[_0x7805('0x41')]['includeAll']){_0x92a6e7[_0x7805('0x50')]=[{'all':!![]}];}return db[_0x7805('0x3d')][_0x7805('0x51')](_0x92a6e7);})[_0x7805('0x25')](function(_0x1384cd){_0x4a2f5f[_0x7805('0x52')]=_0x1384cd;return _0x4a2f5f;})['then'](respondWithFilteredResult(_0x23d86d,_0x92a6e7))[_0x7805('0x2d')](handleError(_0x23d86d,null));};exports[_0x7805('0x53')]=function(_0x5ecc81,_0x45d87f){var _0x241063={'raw':!![],'where':{'id':_0x5ecc81[_0x7805('0x54')]['id']}},_0x29dcf2={};_0x29dcf2[_0x7805('0x40')]=_[_0x7805('0x55')](db[_0x7805('0x3d')][_0x7805('0x56')]);_0x29dcf2['query']=_[_0x7805('0x55')](_0x5ecc81[_0x7805('0x41')]);_0x29dcf2[_0x7805('0x42')]=_['intersection'](_0x29dcf2[_0x7805('0x40')],_0x29dcf2[_0x7805('0x41')]);_0x241063[_0x7805('0x45')]=_[_0x7805('0x43')](_0x29dcf2[_0x7805('0x40')],qs[_0x7805('0x44')](_0x5ecc81[_0x7805('0x41')]['fields']));_0x241063[_0x7805('0x45')]=_0x241063['attributes'][_0x7805('0x46')]?_0x241063[_0x7805('0x45')]:_0x29dcf2[_0x7805('0x40')];if(_0x5ecc81['query'][_0x7805('0x57')]){_0x241063[_0x7805('0x50')]=[{'all':!![]}];}_0x241063=_[_0x7805('0x4d')]({},_0x241063,_0x5ecc81[_0x7805('0x58')]);return db[_0x7805('0x3d')][_0x7805('0x59')](_0x241063)['then'](handleEntityNotFound(_0x45d87f,null))[_0x7805('0x25')](respondWithResult(_0x45d87f,null))[_0x7805('0x2d')](handleError(_0x45d87f,null));};exports[_0x7805('0x5a')]=function(_0xe69244,_0x3dbd15){return db[_0x7805('0x3d')][_0x7805('0x5a')](_0xe69244['body'],{})[_0x7805('0x25')](respondWithResult(_0x3dbd15,0xc9))[_0x7805('0x2d')](handleError(_0x3dbd15,null));};exports[_0x7805('0x37')]=function(_0x271c31,_0x271771){if(_0x271c31[_0x7805('0x5b')]['id']){delete _0x271c31[_0x7805('0x5b')]['id'];}return db[_0x7805('0x3d')][_0x7805('0x59')]({'where':{'id':_0x271c31['params']['id']}})[_0x7805('0x25')](handleEntityNotFound(_0x271771,null))['then'](saveUpdates(_0x271c31[_0x7805('0x5b')],null))[_0x7805('0x25')](respondWithResult(_0x271771,null))[_0x7805('0x2d')](handleError(_0x271771,null));};exports[_0x7805('0x38')]=function(_0x405ae7,_0x454e74){return db[_0x7805('0x3d')][_0x7805('0x59')]({'where':{'id':_0x405ae7['params']['id']}})[_0x7805('0x25')](handleEntityNotFound(_0x454e74,null))[_0x7805('0x25')](removeEntity(_0x454e74,null))[_0x7805('0x2d')](handleError(_0x454e74,null));};exports[_0x7805('0x5c')]=function(_0x4859cb,_0x599c01){return db['ChatGroup'][_0x7805('0x5c')]()['then'](respondWithResult(_0x599c01,null))[_0x7805('0x2d')](handleError(_0x599c01,null));};exports[_0x7805('0x5d')]=function(_0x1c2236,_0x150cc6,_0x424c1d){return db[_0x7805('0x5e')][_0x7805('0x4f')]({'where':{'ChatGroupId':_0x1c2236[_0x7805('0x54')]['id'],'ToId':_0x1c2236[_0x7805('0x5f')]['id'],'read':![]}})['then'](function(_0x52b390){return{'id':_[_0x7805('0x60')](_0x1c2236[_0x7805('0x54')]['id']),'count':_0x52b390};})[_0x7805('0x25')](respondWithResult(_0x150cc6,null))[_0x7805('0x2d')](handleError(_0x150cc6,null));};exports[_0x7805('0x61')]=function(_0x128125,_0x5d3f3b,_0x2edb2f){return db[_0x7805('0x3d')][_0x7805('0x59')]({'where':{'id':_0x128125[_0x7805('0x54')]['id']}})[_0x7805('0x25')](handleEntityNotFound(_0x5d3f3b,null))[_0x7805('0x25')](function(_0x182839){if(_0x182839){return _0x182839[_0x7805('0x61')](_0x128125[_0x7805('0x5b')][_0x7805('0x62')],_[_0x7805('0x63')](_0x128125[_0x7805('0x5b')],['ids','id'])||{});}})['then'](respondWithResult(_0x5d3f3b,null))[_0x7805('0x2d')](handleError(_0x5d3f3b,null));};exports[_0x7805('0x64')]=function(_0x2542c4,_0x154b2b,_0x5c8dd9){var _0x4b54ce={};var _0x3da8e5={};var _0x50a664;var _0x5a0696;return db['ChatGroup'][_0x7805('0x65')]({'where':{'id':_0x2542c4[_0x7805('0x54')]['id']}})['then'](handleEntityNotFound(_0x154b2b,null))[_0x7805('0x25')](function(_0x511d7d){if(_0x511d7d){_0x50a664=_0x511d7d;_0x3da8e5[_0x7805('0x40')]=_[_0x7805('0x55')](db[_0x7805('0x66')][_0x7805('0x56')]);_0x3da8e5[_0x7805('0x41')]=_[_0x7805('0x55')](_0x2542c4[_0x7805('0x41')]);_0x3da8e5['filters']=_['intersection'](_0x3da8e5['model'],_0x3da8e5[_0x7805('0x41')]);_0x4b54ce[_0x7805('0x45')]=_[_0x7805('0x43')](_0x3da8e5[_0x7805('0x40')],qs[_0x7805('0x44')](_0x2542c4[_0x7805('0x41')]['fields']));_0x4b54ce[_0x7805('0x45')]=_0x4b54ce[_0x7805('0x45')]['length']?_0x4b54ce['attributes']:_0x3da8e5[_0x7805('0x40')];_0x4b54ce[_0x7805('0x49')]=qs[_0x7805('0x4a')](_0x2542c4[_0x7805('0x41')][_0x7805('0x4a')]);_0x4b54ce['where']=qs[_0x7805('0x42')](_[_0x7805('0x4b')](_0x2542c4[_0x7805('0x41')],_0x3da8e5[_0x7805('0x42')]));if(_0x2542c4[_0x7805('0x41')][_0x7805('0x4e')]){_0x4b54ce[_0x7805('0x4c')]=_[_0x7805('0x4d')](_0x4b54ce[_0x7805('0x4c')],{'$or':_[_0x7805('0x3c')](_0x4b54ce['attributes'],function(_0x5b8525){var _0x43d08c={};_0x43d08c[_0x5b8525]={'$like':'%'+_0x2542c4[_0x7805('0x41')][_0x7805('0x4e')]+'%'};return _0x43d08c;})});}_0x4b54ce=_[_0x7805('0x4d')]({},_0x4b54ce,_0x2542c4[_0x7805('0x58')]);return _0x50a664[_0x7805('0x64')](_0x4b54ce);}})[_0x7805('0x25')](function(_0x2f21c5){if(_0x2f21c5){_0x5a0696=_0x2f21c5['length'];if(!_0x2542c4[_0x7805('0x41')][_0x7805('0x47')](_0x7805('0x48'))){_0x4b54ce['limit']=qs[_0x7805('0x32')](_0x2542c4['query'][_0x7805('0x32')]);_0x4b54ce['offset']=qs['offset'](_0x2542c4[_0x7805('0x41')][_0x7805('0x31')]);}return _0x50a664[_0x7805('0x64')](_0x4b54ce);}})[_0x7805('0x25')](function(_0x576fb5){if(_0x576fb5){return _0x576fb5?{'count':_0x5a0696,'rows':_0x576fb5}:null;}})[_0x7805('0x25')](respondWithResult(_0x154b2b,null))[_0x7805('0x2d')](handleError(_0x154b2b,null));};exports[_0x7805('0x67')]=function(_0x288d6a,_0x5ddbf1,_0x4e02cb){return db[_0x7805('0x3d')][_0x7805('0x59')]({'where':{'id':_0x288d6a[_0x7805('0x54')]['id']}})[_0x7805('0x25')](handleEntityNotFound(_0x5ddbf1,null))['then'](function(_0x3ece34){if(_0x3ece34){return _0x3ece34[_0x7805('0x67')](_0x288d6a[_0x7805('0x41')]['ids']);}})[_0x7805('0x25')](respondWithStatusCode(_0x5ddbf1,null))[_0x7805('0x2d')](handleError(_0x5ddbf1,null));};exports[_0x7805('0x68')]=function(_0x1c7e4e,_0xbddcf4,_0x2a3d70){if(_0x1c7e4e[_0x7805('0x5b')]['id']){delete _0x1c7e4e['body']['id'];}return db[_0x7805('0x3d')][_0x7805('0x59')]({'where':{'id':_0x1c7e4e['params']['id']}})[_0x7805('0x25')](handleEntityNotFound(_0xbddcf4,null))[_0x7805('0x25')](function(_0x268ba8){if(_0x268ba8){_0x1c7e4e['body']['ChatGroupId']=_0x268ba8['id'];return db[_0x7805('0x5e')][_0x7805('0x5a')](_0x1c7e4e[_0x7805('0x5b')]);}})[_0x7805('0x25')](respondWithResult(_0xbddcf4,null))['catch'](handleError(_0xbddcf4,null));};exports[_0x7805('0x69')]=function(_0x8d3dd9,_0x180c43,_0x1883ee){var _0x5471b8={};var _0x2cd20d={};var _0x4f09c1;var _0x3cfd35;return db[_0x7805('0x3d')][_0x7805('0x65')]({'where':{'id':_0x8d3dd9['params']['id']}})[_0x7805('0x25')](handleEntityNotFound(_0x180c43,null))[_0x7805('0x25')](function(_0xb8ac2f){if(_0xb8ac2f){_0x4f09c1=_0xb8ac2f;_0x2cd20d[_0x7805('0x40')]=_[_0x7805('0x55')](db['ChatInternalMessage'][_0x7805('0x56')]);_0x2cd20d[_0x7805('0x41')]=_[_0x7805('0x55')](_0x8d3dd9[_0x7805('0x41')]);_0x2cd20d[_0x7805('0x42')]=_['intersection'](_0x2cd20d['model'],_0x2cd20d[_0x7805('0x41')]);_0x5471b8[_0x7805('0x45')]=_[_0x7805('0x43')](_0x2cd20d[_0x7805('0x40')],qs[_0x7805('0x44')](_0x8d3dd9[_0x7805('0x41')]['fields']));_0x5471b8[_0x7805('0x45')]=_0x5471b8[_0x7805('0x45')][_0x7805('0x46')]?_0x5471b8[_0x7805('0x45')]:_0x2cd20d['model'];_0x5471b8[_0x7805('0x49')]=qs['sort'](_0x8d3dd9['query']['sort']);_0x5471b8[_0x7805('0x4c')]=qs[_0x7805('0x42')](_[_0x7805('0x4b')](_0x8d3dd9[_0x7805('0x41')],_0x2cd20d[_0x7805('0x42')]));if(_0x8d3dd9[_0x7805('0x41')][_0x7805('0x4e')]){_0x5471b8['where']=_[_0x7805('0x4d')](_0x5471b8[_0x7805('0x4c')],{'$or':_[_0x7805('0x3c')](_0x5471b8[_0x7805('0x45')],function(_0x5a3461){var _0x211693={};_0x211693[_0x5a3461]={'$like':'%'+_0x8d3dd9[_0x7805('0x41')][_0x7805('0x4e')]+'%'};return _0x211693;})});}if(_0x8d3dd9['query'][_0x7805('0x6a')]){var _0x43c6d3=_0x8d3dd9[_0x7805('0x41')][_0x7805('0x6a')][_0x7805('0x6b')](',');var _0x412545={};_0x412545[_0x43c6d3[0x0]]={'$gte':moment(_0x43c6d3[0x1])[_0x7805('0x6c')](_0x7805('0x6d'))};_0x5471b8[_0x7805('0x4c')]=_[_0x7805('0x4d')](_0x5471b8[_0x7805('0x4c')],_0x412545);}_0x5471b8=_[_0x7805('0x4d')]({},_0x5471b8,_0x8d3dd9['options']);return _0x4f09c1[_0x7805('0x69')](_0x5471b8);}})[_0x7805('0x25')](function(_0x58e34d){if(_0x58e34d){_0x3cfd35=_0x58e34d[_0x7805('0x46')];if(!_0x8d3dd9[_0x7805('0x41')][_0x7805('0x47')](_0x7805('0x48'))){_0x5471b8[_0x7805('0x32')]=qs[_0x7805('0x32')](_0x8d3dd9['query'][_0x7805('0x32')]);_0x5471b8[_0x7805('0x31')]=qs[_0x7805('0x31')](_0x8d3dd9[_0x7805('0x41')][_0x7805('0x31')]);}return _0x4f09c1[_0x7805('0x69')](_0x5471b8);}})[_0x7805('0x25')](function(_0x5a7f81){if(_0x5a7f81){return _0x5a7f81?{'count':_0x3cfd35,'rows':_0x5a7f81}:null;}})['then'](respondWithResult(_0x180c43,null))[_0x7805('0x2d')](handleError(_0x180c43,null));}; \ No newline at end of file diff --git a/server/api/chatGroup/chatGroup.events.js b/server/api/chatGroup/chatGroup.events.js index 0d026ec..2736a2e 100644 --- a/server/api/chatGroup/chatGroup.events.js +++ b/server/api/chatGroup/chatGroup.events.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x2032=['exports','../../mysqldb','ChatGroup','setMaxListeners','update','remove','emit','hasOwnProperty','hook'];(function(_0x28d18d,_0x55896b){var _0x470640=function(_0x57e78b){while(--_0x57e78b){_0x28d18d['push'](_0x28d18d['shift']());}};_0x470640(++_0x55896b);}(_0x2032,0xd9));var _0x2203=function(_0x474f5e,_0x381f33){_0x474f5e=_0x474f5e-0x0;var _0x2ec649=_0x2032[_0x474f5e];return _0x2ec649;};'use strict';var EventEmitter=require('events');var ChatGroup=require(_0x2203('0x0'))['db'][_0x2203('0x1')];var ChatGroupEvents=new EventEmitter();ChatGroupEvents[_0x2203('0x2')](0x0);var events={'afterCreate':'save','afterUpdate':_0x2203('0x3'),'afterDestroy':_0x2203('0x4')};function emitEvent(_0x4b4c7f){return function(_0x46c49a,_0x880dcd,_0x44ccfd){ChatGroupEvents[_0x2203('0x5')](_0x4b4c7f+':'+_0x46c49a['id'],_0x46c49a);ChatGroupEvents[_0x2203('0x5')](_0x4b4c7f,_0x46c49a);_0x44ccfd(null);};}for(var e in events){if(events[_0x2203('0x6')](e)){var event=events[e];ChatGroup[_0x2203('0x7')](e,emitEvent(event));}}module[_0x2203('0x8')]=ChatGroupEvents; \ No newline at end of file +var _0x2ef3=['setMaxListeners','save','update','emit','hook','exports','events','../../mysqldb','ChatGroup'];(function(_0x54ef48,_0x783269){var _0x24eb39=function(_0x3488ca){while(--_0x3488ca){_0x54ef48['push'](_0x54ef48['shift']());}};_0x24eb39(++_0x783269);}(_0x2ef3,0xba));var _0x32ef=function(_0x3c0bb9,_0x3f0b9b){_0x3c0bb9=_0x3c0bb9-0x0;var _0x6f4a3=_0x2ef3[_0x3c0bb9];return _0x6f4a3;};'use strict';var EventEmitter=require(_0x32ef('0x0'));var ChatGroup=require(_0x32ef('0x1'))['db'][_0x32ef('0x2')];var ChatGroupEvents=new EventEmitter();ChatGroupEvents[_0x32ef('0x3')](0x0);var events={'afterCreate':_0x32ef('0x4'),'afterUpdate':_0x32ef('0x5'),'afterDestroy':'remove'};function emitEvent(_0x38f865){return function(_0x38b7f3,_0x524ab6,_0x402857){ChatGroupEvents[_0x32ef('0x6')](_0x38f865+':'+_0x38b7f3['id'],_0x38b7f3);ChatGroupEvents['emit'](_0x38f865,_0x38b7f3);_0x402857(null);};}for(var e in events){if(events['hasOwnProperty'](e)){var event=events[e];ChatGroup[_0x32ef('0x7')](e,emitEvent(event));}}module[_0x32ef('0x8')]=ChatGroupEvents; \ No newline at end of file diff --git a/server/api/chatGroup/chatGroup.model.js b/server/api/chatGroup/chatGroup.model.js index cd3c788..4b6e04c 100644 --- a/server/api/chatGroup/chatGroup.model.js +++ b/server/api/chatGroup/chatGroup.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xcdd0=['api','bluebird','rimraf','./chatGroup.attributes','exports','define','ChatGroup','chat_groups','lodash','util','../../config/logger'];(function(_0x1cb926,_0x2c76b7){var _0x3cb38b=function(_0x6adb39){while(--_0x6adb39){_0x1cb926['push'](_0x1cb926['shift']());}};_0x3cb38b(++_0x2c76b7);}(_0xcdd0,0xd9));var _0x0cdd=function(_0x6131cd,_0x4c26a1){_0x6131cd=_0x6131cd-0x0;var _0x47e916=_0xcdd0[_0x6131cd];return _0x47e916;};'use strict';var _=require(_0x0cdd('0x0'));var util=require(_0x0cdd('0x1'));var logger=require(_0x0cdd('0x2'))(_0x0cdd('0x3'));var moment=require('moment');var BPromise=require(_0x0cdd('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x0cdd('0x5'));var config=require('../../config/environment');var attributes=require(_0x0cdd('0x6'));module[_0x0cdd('0x7')]=function(_0xe80a73,_0x5ca0f9){return _0xe80a73[_0x0cdd('0x8')](_0x0cdd('0x9'),attributes,{'tableName':_0x0cdd('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0xae53=['rimraf','../../config/environment','./chatGroup.attributes','define','ChatGroup','chat_groups','lodash','../../config/logger','api','moment','request-promise','path'];(function(_0x214a07,_0x36ee04){var _0x377a60=function(_0x45b92b){while(--_0x45b92b){_0x214a07['push'](_0x214a07['shift']());}};_0x377a60(++_0x36ee04);}(_0xae53,0x16e));var _0x3ae5=function(_0x46e363,_0x45d7e2){_0x46e363=_0x46e363-0x0;var _0x3fb059=_0xae53[_0x46e363];return _0x3fb059;};'use strict';var _=require(_0x3ae5('0x0'));var util=require('util');var logger=require(_0x3ae5('0x1'))(_0x3ae5('0x2'));var moment=require(_0x3ae5('0x3'));var BPromise=require('bluebird');var rp=require(_0x3ae5('0x4'));var fs=require('fs');var path=require(_0x3ae5('0x5'));var rimraf=require(_0x3ae5('0x6'));var config=require(_0x3ae5('0x7'));var attributes=require(_0x3ae5('0x8'));module['exports']=function(_0x1ca6ea,_0x51e31e){return _0x1ca6ea[_0x3ae5('0x9')](_0x3ae5('0xa'),attributes,{'tableName':_0x3ae5('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/chatGroup/chatGroup.rpc.js b/server/api/chatGroup/chatGroup.rpc.js index a09f772..5e5703d 100644 --- a/server/api/chatGroup/chatGroup.rpc.js +++ b/server/api/chatGroup/chatGroup.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x7f2b=['./chatGroup.socket','register','then','info','ChatGroup,\x20%s,\x20%s','request\x20sent','debug','ChatGroup,\x20%s,\x20%s,\x20%s','stringify','error','code','message','result','catch','util','moment','bluebird','randomstring','ioredis','../../mysqldb','../../config/utils','../../config/logger','rpc','jayson/promise','client','http','redis','localhost'];(function(_0x38fca3,_0x2c76c0){var _0x9bcead=function(_0x3654cd){while(--_0x3654cd){_0x38fca3['push'](_0x38fca3['shift']());}};_0x9bcead(++_0x2c76c0);}(_0x7f2b,0x142));var _0xb7f2=function(_0x10c798,_0x1ff5ce){_0x10c798=_0x10c798-0x0;var _0x265f48=_0x7f2b[_0x10c798];return _0x265f48;};'use strict';var _=require('lodash');var util=require(_0xb7f2('0x0'));var moment=require(_0xb7f2('0x1'));var BPromise=require(_0xb7f2('0x2'));var rs=require(_0xb7f2('0x3'));var fs=require('fs');var Redis=require(_0xb7f2('0x4'));var db=require(_0xb7f2('0x5'))['db'];var utils=require(_0xb7f2('0x6'));var logger=require(_0xb7f2('0x7'))(_0xb7f2('0x8'));var config=require('../../config/environment');var jayson=require(_0xb7f2('0x9'));var client=jayson[_0xb7f2('0xa')][_0xb7f2('0xb')]({'port':0x232a});config['redis']=_['defaults'](config[_0xb7f2('0xc')],{'host':_0xb7f2('0xd'),'port':0x18eb});var socket=require('socket.io-emitter')(new Redis(config[_0xb7f2('0xc')]));require(_0xb7f2('0xe'))[_0xb7f2('0xf')](socket);function respondWithRpcPromise(_0x268e89,_0x4a574b,_0x8a290f){return new BPromise(function(_0x8f1f61,_0x10a19f){return client['request'](_0x268e89,_0x8a290f)[_0xb7f2('0x10')](function(_0x185737){logger[_0xb7f2('0x11')](_0xb7f2('0x12'),_0x4a574b,_0xb7f2('0x13'));logger[_0xb7f2('0x14')](_0xb7f2('0x15'),_0x4a574b,_0xb7f2('0x13'),JSON[_0xb7f2('0x16')](_0x185737));if(_0x185737[_0xb7f2('0x17')]){if(_0x185737[_0xb7f2('0x17')][_0xb7f2('0x18')]===0x1f4){logger[_0xb7f2('0x17')]('ChatGroup,\x20%s,\x20%s',_0x4a574b,_0x185737[_0xb7f2('0x17')]['message']);return _0x10a19f(_0x185737[_0xb7f2('0x17')][_0xb7f2('0x19')]);}logger[_0xb7f2('0x17')]('ChatGroup,\x20%s,\x20%s',_0x4a574b,_0x185737[_0xb7f2('0x17')][_0xb7f2('0x19')]);return _0x8f1f61(_0x185737[_0xb7f2('0x17')][_0xb7f2('0x19')]);}else{logger[_0xb7f2('0x11')](_0xb7f2('0x12'),_0x4a574b,_0xb7f2('0x13'));_0x8f1f61(_0x185737[_0xb7f2('0x1a')][_0xb7f2('0x19')]);}})[_0xb7f2('0x1b')](function(_0x336d4b){logger[_0xb7f2('0x17')](_0xb7f2('0x12'),_0x4a574b,_0x336d4b);_0x10a19f(_0x336d4b);});});} \ No newline at end of file +var _0x4a75=['redis','defaults','localhost','./chatGroup.socket','register','then','info','request\x20sent','ChatGroup,\x20%s,\x20%s,\x20%s','stringify','code','ChatGroup,\x20%s,\x20%s','message','error','result','catch','util','moment','bluebird','randomstring','ioredis','../../mysqldb','../../config/utils','../../config/environment','jayson/promise','client','http'];(function(_0x28e27c,_0x2216ff){var _0x45ae93=function(_0x15f539){while(--_0x15f539){_0x28e27c['push'](_0x28e27c['shift']());}};_0x45ae93(++_0x2216ff);}(_0x4a75,0x97));var _0x54a7=function(_0x1bc013,_0x7771c6){_0x1bc013=_0x1bc013-0x0;var _0x55df36=_0x4a75[_0x1bc013];return _0x55df36;};'use strict';var _=require('lodash');var util=require(_0x54a7('0x0'));var moment=require(_0x54a7('0x1'));var BPromise=require(_0x54a7('0x2'));var rs=require(_0x54a7('0x3'));var fs=require('fs');var Redis=require(_0x54a7('0x4'));var db=require(_0x54a7('0x5'))['db'];var utils=require(_0x54a7('0x6'));var logger=require('../../config/logger')('rpc');var config=require(_0x54a7('0x7'));var jayson=require(_0x54a7('0x8'));var client=jayson[_0x54a7('0x9')][_0x54a7('0xa')]({'port':0x232a});config[_0x54a7('0xb')]=_[_0x54a7('0xc')](config['redis'],{'host':_0x54a7('0xd'),'port':0x18eb});var socket=require('socket.io-emitter')(new Redis(config[_0x54a7('0xb')]));require(_0x54a7('0xe'))[_0x54a7('0xf')](socket);function respondWithRpcPromise(_0x424b9c,_0x40cee2,_0x577ab8){return new BPromise(function(_0x16fc0d,_0x4b22ce){return client['request'](_0x424b9c,_0x577ab8)[_0x54a7('0x10')](function(_0x2bd1fb){logger[_0x54a7('0x11')]('ChatGroup,\x20%s,\x20%s',_0x40cee2,_0x54a7('0x12'));logger['debug'](_0x54a7('0x13'),_0x40cee2,'request\x20sent',JSON[_0x54a7('0x14')](_0x2bd1fb));if(_0x2bd1fb['error']){if(_0x2bd1fb['error'][_0x54a7('0x15')]===0x1f4){logger['error'](_0x54a7('0x16'),_0x40cee2,_0x2bd1fb['error'][_0x54a7('0x17')]);return _0x4b22ce(_0x2bd1fb[_0x54a7('0x18')][_0x54a7('0x17')]);}logger['error'](_0x54a7('0x16'),_0x40cee2,_0x2bd1fb[_0x54a7('0x18')]['message']);return _0x16fc0d(_0x2bd1fb[_0x54a7('0x18')][_0x54a7('0x17')]);}else{logger[_0x54a7('0x11')](_0x54a7('0x16'),_0x40cee2,_0x54a7('0x12'));_0x16fc0d(_0x2bd1fb[_0x54a7('0x19')][_0x54a7('0x17')]);}})[_0x54a7('0x1a')](function(_0x2a071a){logger['error'](_0x54a7('0x16'),_0x40cee2,_0x2a071a);_0x4b22ce(_0x2a071a);});});} \ No newline at end of file diff --git a/server/api/chatGroup/chatGroup.socket.js b/server/api/chatGroup/chatGroup.socket.js index e6e617e..66fde53 100644 --- a/server/api/chatGroup/chatGroup.socket.js +++ b/server/api/chatGroup/chatGroup.socket.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xd7d4=['chatGroup:','./chatGroup.events','save','remove','emit','removeListener','length'];(function(_0xf8a7f,_0x19433f){var _0x51ecff=function(_0x5cf57d){while(--_0x5cf57d){_0xf8a7f['push'](_0xf8a7f['shift']());}};_0x51ecff(++_0x19433f);}(_0xd7d4,0x182));var _0x4d7d=function(_0x1cb18a,_0x33167a){_0x1cb18a=_0x1cb18a-0x0;var _0x22442e=_0xd7d4[_0x1cb18a];return _0x22442e;};'use strict';var ChatGroupEvents=require(_0x4d7d('0x0'));var events=[_0x4d7d('0x1'),_0x4d7d('0x2'),'update'];function createListener(_0x33e491,_0x4333f7){return function(_0xd28996){_0x4333f7[_0x4d7d('0x3')](_0x33e491,_0xd28996);};}function removeListener(_0x406f71,_0x22e443){return function(){ChatGroupEvents[_0x4d7d('0x4')](_0x406f71,_0x22e443);};}exports['register']=function(_0x2f7b39){for(var _0x125255=0x0,_0x23ff01=events[_0x4d7d('0x5')];_0x125255<_0x23ff01;_0x125255++){var _0x4e3823=events[_0x125255];var _0x2c6f7d=createListener(_0x4d7d('0x6')+_0x4e3823,_0x2f7b39);ChatGroupEvents['on'](_0x4e3823,_0x2c6f7d);}}; \ No newline at end of file +var _0x42a8=['length','./chatGroup.events','save','remove','removeListener','register'];(function(_0x1b6186,_0x1ec7f2){var _0x186121=function(_0x1748a8){while(--_0x1748a8){_0x1b6186['push'](_0x1b6186['shift']());}};_0x186121(++_0x1ec7f2);}(_0x42a8,0x169));var _0x842a=function(_0x9fc5a2,_0x46c38f){_0x9fc5a2=_0x9fc5a2-0x0;var _0x10a4a8=_0x42a8[_0x9fc5a2];return _0x10a4a8;};'use strict';var ChatGroupEvents=require(_0x842a('0x0'));var events=[_0x842a('0x1'),_0x842a('0x2'),'update'];function createListener(_0x165d14,_0x5a0ed8){return function(_0x4c3797){_0x5a0ed8['emit'](_0x165d14,_0x4c3797);};}function removeListener(_0x3fde03,_0x521c5b){return function(){ChatGroupEvents[_0x842a('0x3')](_0x3fde03,_0x521c5b);};}exports[_0x842a('0x4')]=function(_0x2661cb){for(var _0x5f5ce9=0x0,_0x583393=events[_0x842a('0x5')];_0x5f5ce9<_0x583393;_0x5f5ce9++){var _0x599201=events[_0x5f5ce9];var _0x3ac0c7=createListener('chatGroup:'+_0x599201,_0x2661cb);ChatGroupEvents['on'](_0x599201,_0x3ac0c7);}}; \ No newline at end of file diff --git a/server/api/chatGroup/index.js b/server/api/chatGroup/index.js index d706140..7bcf971 100644 --- a/server/api/chatGroup/index.js +++ b/server/api/chatGroup/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x892c=['addMembers','update','delete','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','isAuthenticated','index','/describe','describe','get','/:id','show','/:id/unread','getUnread','/:id/members','getMembers','/:id/messages','getMessages','create','post'];(function(_0x269417,_0x2f5a41){var _0x347874=function(_0x5d6f4b){while(--_0x5d6f4b){_0x269417['push'](_0x269417['shift']());}};_0x347874(++_0x2f5a41);}(_0x892c,0x1a8));var _0xc892=function(_0x333160,_0x4c1df7){_0x333160=_0x333160-0x0;var _0x256d5a=_0x892c[_0x333160];return _0x256d5a;};'use strict';var multer=require(_0xc892('0x0'));var util=require(_0xc892('0x1'));var path=require(_0xc892('0x2'));var timeout=require(_0xc892('0x3'));var express=require(_0xc892('0x4'));var router=express[_0xc892('0x5')]();var auth=require(_0xc892('0x6'));var interaction=require(_0xc892('0x7'));var config=require(_0xc892('0x8'));var controller=require('./chatGroup.controller');router['get']('/',auth[_0xc892('0x9')](),controller[_0xc892('0xa')]);router['get'](_0xc892('0xb'),auth['isAuthenticated'](),controller[_0xc892('0xc')]);router[_0xc892('0xd')](_0xc892('0xe'),auth['isAuthenticated'](),controller[_0xc892('0xf')]);router[_0xc892('0xd')](_0xc892('0x10'),auth[_0xc892('0x9')](),controller[_0xc892('0x11')]);router[_0xc892('0xd')](_0xc892('0x12'),auth[_0xc892('0x9')](),controller[_0xc892('0x13')]);router[_0xc892('0xd')](_0xc892('0x14'),auth[_0xc892('0x9')](),controller[_0xc892('0x15')]);router['post']('/',auth['isAuthenticated'](),controller[_0xc892('0x16')]);router[_0xc892('0x17')]('/:id/members',auth[_0xc892('0x9')](),controller[_0xc892('0x18')]);router[_0xc892('0x17')](_0xc892('0x14'),auth['isAuthenticated'](),controller['addMessage']);router['put']('/:id',auth[_0xc892('0x9')](),controller[_0xc892('0x19')]);router[_0xc892('0x1a')]('/:id',auth[_0xc892('0x9')](),controller['destroy']);router['delete'](_0xc892('0x12'),auth[_0xc892('0x9')](),controller['removeMembers']);module[_0xc892('0x1b')]=router; \ No newline at end of file +var _0x5c5b=['express','../../config/environment','./chatGroup.controller','isAuthenticated','/describe','get','/:id','show','/:id/unread','getUnread','/:id/messages','getMessages','post','create','/:id/members','addMembers','addMessage','put','update','destroy','delete','removeMembers','exports','multer','util','path','connect-timeout'];(function(_0x423064,_0x387699){var _0x4c4d19=function(_0x5c9be4){while(--_0x5c9be4){_0x423064['push'](_0x423064['shift']());}};_0x4c4d19(++_0x387699);}(_0x5c5b,0x191));var _0xb5c5=function(_0x3792e6,_0x32bd91){_0x3792e6=_0x3792e6-0x0;var _0x441e44=_0x5c5b[_0x3792e6];return _0x441e44;};'use strict';var multer=require(_0xb5c5('0x0'));var util=require(_0xb5c5('0x1'));var path=require(_0xb5c5('0x2'));var timeout=require(_0xb5c5('0x3'));var express=require(_0xb5c5('0x4'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xb5c5('0x5'));var controller=require(_0xb5c5('0x6'));router['get']('/',auth[_0xb5c5('0x7')](),controller['index']);router['get'](_0xb5c5('0x8'),auth[_0xb5c5('0x7')](),controller['describe']);router[_0xb5c5('0x9')](_0xb5c5('0xa'),auth[_0xb5c5('0x7')](),controller[_0xb5c5('0xb')]);router['get'](_0xb5c5('0xc'),auth[_0xb5c5('0x7')](),controller[_0xb5c5('0xd')]);router['get']('/:id/members',auth[_0xb5c5('0x7')](),controller['getMembers']);router[_0xb5c5('0x9')](_0xb5c5('0xe'),auth['isAuthenticated'](),controller[_0xb5c5('0xf')]);router[_0xb5c5('0x10')]('/',auth['isAuthenticated'](),controller[_0xb5c5('0x11')]);router[_0xb5c5('0x10')](_0xb5c5('0x12'),auth[_0xb5c5('0x7')](),controller[_0xb5c5('0x13')]);router['post']('/:id/messages',auth['isAuthenticated'](),controller[_0xb5c5('0x14')]);router[_0xb5c5('0x15')](_0xb5c5('0xa'),auth[_0xb5c5('0x7')](),controller[_0xb5c5('0x16')]);router['delete'](_0xb5c5('0xa'),auth[_0xb5c5('0x7')](),controller[_0xb5c5('0x17')]);router[_0xb5c5('0x18')](_0xb5c5('0x12'),auth[_0xb5c5('0x7')](),controller[_0xb5c5('0x19')]);module[_0xb5c5('0x1a')]=router; \ No newline at end of file diff --git a/server/api/chatInteraction/chatInteraction.attributes.js b/server/api/chatInteraction/chatInteraction.attributes.js index 40d14f9..5036b78 100644 --- a/server/api/chatInteraction/chatInteraction.attributes.js +++ b/server/api/chatInteraction/chatInteraction.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xc4a7=['TEXT','STRING','DATE','out','exports','INTEGER','ENUM','star','thumb'];(function(_0x97b884,_0x697ac4){var _0x40b93f=function(_0x531a6e){while(--_0x531a6e){_0x97b884['push'](_0x97b884['shift']());}};_0x40b93f(++_0x697ac4);}(_0xc4a7,0x1e1));var _0x7c4a=function(_0x167cc1,_0x56ef5a){_0x167cc1=_0x167cc1-0x0;var _0x10bc4b=_0xc4a7[_0x167cc1];return _0x10bc4b;};'use strict';var Sequelize=require('sequelize');module[_0x7c4a('0x0')]={'closed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'ratingValue':{'type':Sequelize[_0x7c4a('0x1')]},'ratingType':{'type':Sequelize[_0x7c4a('0x2')](_0x7c4a('0x3'),_0x7c4a('0x4')),'defaultValue':_0x7c4a('0x3')},'ratingMessage':{'type':Sequelize[_0x7c4a('0x5')]},'pathTranscript':{'type':Sequelize[_0x7c4a('0x5')]},'mailTranscript':{'type':Sequelize[_0x7c4a('0x6')],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize[_0x7c4a('0x7')]},'disposition':{'type':Sequelize[_0x7c4a('0x6')]},'note':{'type':Sequelize[_0x7c4a('0x6')]},'browserName':{'type':Sequelize['STRING']},'browserVersion':{'type':Sequelize['STRING']},'osName':{'type':Sequelize[_0x7c4a('0x6')]},'osVersion':{'type':Sequelize[_0x7c4a('0x6')]},'deviceModel':{'type':Sequelize[_0x7c4a('0x6')]},'deviceVendor':{'type':Sequelize['STRING']},'deviceType':{'type':Sequelize[_0x7c4a('0x6')]},'referer':{'type':Sequelize[_0x7c4a('0x5')]},'customerIp':{'type':Sequelize[_0x7c4a('0x6')]},'formData':{'type':Sequelize[_0x7c4a('0x5')]('long')},'read1stAt':{'type':Sequelize[_0x7c4a('0x7')]},'lastMsgAt':{'type':Sequelize[_0x7c4a('0x7')]},'lastMsgDirection':{'type':Sequelize[_0x7c4a('0x2')]('in',_0x7c4a('0x8')),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize[_0x7c4a('0x6')]},'customerPort':{'type':Sequelize[_0x7c4a('0x6')]},'vidaooSessionId':{'type':Sequelize[_0x7c4a('0x5')]}}; \ No newline at end of file +var _0x1489=['ENUM','star','DATE','STRING','TEXT','long','out','sequelize','exports'];(function(_0x51ebdd,_0x3e5629){var _0x3fe842=function(_0x37881f){while(--_0x37881f){_0x51ebdd['push'](_0x51ebdd['shift']());}};_0x3fe842(++_0x3e5629);}(_0x1489,0x97));var _0x9148=function(_0x35c990,_0x51d242){_0x35c990=_0x35c990-0x0;var _0x340044=_0x1489[_0x35c990];return _0x340044;};'use strict';var Sequelize=require(_0x9148('0x0'));module[_0x9148('0x1')]={'closed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'ratingValue':{'type':Sequelize['INTEGER']},'ratingType':{'type':Sequelize[_0x9148('0x2')](_0x9148('0x3'),'thumb'),'defaultValue':'star'},'ratingMessage':{'type':Sequelize['TEXT']},'pathTranscript':{'type':Sequelize['TEXT']},'mailTranscript':{'type':Sequelize['STRING'],'validate':{'isEmail':!![]}},'closedAt':{'type':Sequelize[_0x9148('0x4')]},'disposition':{'type':Sequelize[_0x9148('0x5')]},'note':{'type':Sequelize['STRING']},'browserName':{'type':Sequelize['STRING']},'browserVersion':{'type':Sequelize['STRING']},'osName':{'type':Sequelize[_0x9148('0x5')]},'osVersion':{'type':Sequelize['STRING']},'deviceModel':{'type':Sequelize[_0x9148('0x5')]},'deviceVendor':{'type':Sequelize[_0x9148('0x5')]},'deviceType':{'type':Sequelize['STRING']},'referer':{'type':Sequelize[_0x9148('0x6')]},'customerIp':{'type':Sequelize['STRING']},'formData':{'type':Sequelize[_0x9148('0x6')](_0x9148('0x7'))},'read1stAt':{'type':Sequelize[_0x9148('0x4')]},'lastMsgAt':{'type':Sequelize[_0x9148('0x4')]},'lastMsgDirection':{'type':Sequelize[_0x9148('0x2')]('in',_0x9148('0x8')),'defaultValue':'in','allowNull':![]},'closeReason':{'type':Sequelize['STRING']},'customerPort':{'type':Sequelize[_0x9148('0x5')]},'vidaooSessionId':{'type':Sequelize[_0x9148('0x6')]}}; \ No newline at end of file diff --git a/server/api/chatInteraction/chatInteraction.controller.js b/server/api/chatInteraction/chatInteraction.controller.js index 2eabece..dcfda71 100644 --- a/server/api/chatInteraction/chatInteraction.controller.js +++ b/server/api/chatInteraction/chatInteraction.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x1a37=['ChatWebsiteId','i.ChatWebsiteId\x20IN\x20?','concat','createdAt','parse','$gte','$lte','i.createdAt\x20BETWEEN\x20?\x20AND\x20?','null','\x20IS\x20NULL','\x20=\x20?','read','`unreadMessages`\x20=\x200','`unreadMessages`\x20>\x200','tag','isArray','\x27\x27\x27\x27','isNumeric','i.id\x20LIKE\x20?','MATCH\x20(me.body)\x20AGAINST\x20(?\x20IN\x20BOOLEAN\x20MODE)','CONCAT(c.firstName,\x20\x27\x20\x27,\x20c.lastName)\x20LIKE\x20?','group','i.id','QueryTypes','SELECT','clone','SUM(me.read\x20=\x200\x20AND\x20me.direction\x20=\x20\x27in\x27)','DESC','t.id\x20IN\x20?','resolve','journey','i.ChatWebsiteId\x20IS\x20NOT\x20NULL','user','i.ChatWebsiteId\x20IS\x20NULL','sequelize','toString','merge','a.key','Account.key','Account.mandatoryDisposition','i.*','c.firstName','Contact.firstName','Contact.lastName','c.email','Contact.email','c.phone','Contact.phone','c.mobile','Contact.mobile','c.fax','Contact.fax','o.fullname','o.internal','Owner.internal','ui.ChatInteractionId\x20IN\x20?','ChatInteractionId','all','params','ChatInteraction','include','create','describe','findOne','ChatWebsite','vidaooApiKey','vidaooEscalation','POST','https://api-vidaoo.xcally.com/api/v1/sessions','MotionCWB:','Error\x20in\x20Vidaoo\x20configuration','join_url','out','Unable\x20to\x20create\x20Vidaoo\x20session','updateAttributes','customUpdate','abandonInteraction,\x20%s,\x20%s,\x20%s','entity\x20not\x20found','UserId','Interaction\x20already\x20assigned','closed','disposition','AbandonInteraction','abandon','attachmentUpload','file','originalname','basename','filename','Attachment','attachmentDownload','attachId','download','join','root','close','server/files/chat/upload/','format','transcript-%s.txt','now','pathTranscript','ChatMessage','Messages','CmContact','%s%d','agentAlias','customer','website_alias','System','agent_alias','alias','agent_fullname','[%s]\x20%s:\x20%s\x0a','MM/DD/YYYY\x20HH:mm:ss','direction','secret','MailAccount','MailServerOut','Smtp','service','host','port','secure','authentication','pass','SendMail','\x22%s\x22\x20<%s>','email','mailTranscript','Mail\x20Transcript','Hi\x20%s,\x20attached\x20you\x20can\x20find\x20your\x20transcript\x20file.\x20\x0a\x0aRegards.\x20\x0a\x0a','addMessage','ids','filter','YYYY-MM-DD\x20HH:mm:ss','includeAll','rows','getMyMessages','options','includeAgent','addTags','setTags','omit','spread','chatInteractionTags:save','removeTags','unix','files','tmp','server','attachments','firstName','lastName','Account','Owner','get','mkdirSync','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
Interaction\x20Transcript
\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','30px','%s\x20#%d','Chat','YYYY-MM-DD','N.A.','closedAt','browserName','osName','referer','customerIp','customerPort','tail','existsSync','renderFile','views','downloadInteraction.html','toFile','transcript-','.pdf','log','err','unlinkSync','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','mustache','util','sox','ejs','lodash','squel','crypto','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','redis','defaults','localhost','socket.io-emitter','./chatInteraction.socket','register','jayson/promise','client','http','test','Sequelize','ValidationError','The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.','request','then','info','request\x20sent','debug','ChatInteraction,\x20%s,\x20%s,\x20%s','stringify','error','ChatInteraction,\x20%s,\x20%s','message','sendStatus','status','end','json','count','offset','limit','set','Content-Range','apply','reject','save','update','destroy','stack','name','send','map','fullname','TagIds','forEach','Tags','push','catch','rawAttributes','fieldName','type','key','model','query','keys','filters','intersection','attributes','fields','length','hasOwnProperty','nolimit','order','sort','where','pick','field','from','tools_tags','select','u.id','left_join','users','u.id\x20=\x20ui.UserId','chat_interactions','cm_contacts','c.id\x20=\x20i.ContactId\x20AND\x20c.deletedAt\x20IS\x20NULL','o.id\x20=\x20i.UserId','chat_websites','a.id\x20=\x20i.ChatWebsiteId','me.ChatInteractionId\x20=\x20i.id','chat_interaction_has_tags','it.ChatInteractionId\x20=\x20i.id','t.id\x20=\x20it.TagId','expr','search','parseSearch','sqlOperator','conditions','find','unreadMessages','value','having','Contact','$substring','MATCH\x20(c.firstName,\x20c.lastName,\x20c.phone,\x20c.mobile,\x20c.fax,\x20c.email)\x20AGAINST\x20(?\x20IN\x20BOOLEAN\x20MODE)','getFullTextValue','c.firstName\x20LIKE\x20?\x20OR\x20c.lastName\x20LIKE\x20?\x20OR\x20c.email\x20LIKE\x20?','ContactId','buildExpression','text','start','Tag','split','CONCAT(\x27,\x27,\x20`TagIds`,\x20\x27,\x27)\x20LIKE\x20?','union','User','operator','CONCAT_WS(\x27\x20\x27,\x20o.name,\x20o.fullname)\x20LIKE\x20?','body','some','compact','isEmpty'];(function(_0x363f78,_0x55278a){var _0x212dde=function(_0x4f5eb3){while(--_0x4f5eb3){_0x363f78['push'](_0x363f78['shift']());}};_0x212dde(++_0x55278a);}(_0x1a37,0xb4));var _0x71a3=function(_0x3c8e9a,_0x384306){_0x3c8e9a=_0x3c8e9a-0x0;var _0x2d4c57=_0x1a37[_0x3c8e9a];return _0x2d4c57;};'use strict';var pdf=require(_0x71a3('0x0'));var emlformat=require(_0x71a3('0x1'));var rimraf=require(_0x71a3('0x2'));var zipdir=require(_0x71a3('0x3'));var jsonpatch=require(_0x71a3('0x4'));var rp=require(_0x71a3('0x5'));var moment=require(_0x71a3('0x6'));var BPromise=require(_0x71a3('0x7'));var Mustache=require(_0x71a3('0x8'));var util=require(_0x71a3('0x9'));var path=require('path');var sox=require(_0x71a3('0xa'));var csv=require('to-csv');var ejs=require(_0x71a3('0xb'));var fs=require('fs');var _=require(_0x71a3('0xc'));var squel=require(_0x71a3('0xd'));var crypto=require(_0x71a3('0xe'));var jsforce=require('jsforce');var deskjs=require('desk.js');var toCsv=require('to-csv');var querystring=require('querystring');var Papa=require(_0x71a3('0xf'));var Redis=require(_0x71a3('0x10'));var authService=require(_0x71a3('0x11'));var qs=require(_0x71a3('0x12'));var as=require(_0x71a3('0x13'));var hardwareService=require(_0x71a3('0x14'));var logger=require(_0x71a3('0x15'))(_0x71a3('0x16'));var utils=require('../../config/utils');var config=require('../../config/environment');var db=require('../../mysqldb')['db'];config[_0x71a3('0x17')]=_[_0x71a3('0x18')](config[_0x71a3('0x17')],{'host':_0x71a3('0x19'),'port':0x18eb});var socket=require(_0x71a3('0x1a'))(new Redis(config[_0x71a3('0x17')]));require(_0x71a3('0x1b'))[_0x71a3('0x1c')](socket);var jayson=require(_0x71a3('0x1d'));var client=jayson[_0x71a3('0x1e')][_0x71a3('0x1f')]({'port':0x232b});var client9004=jayson['client'][_0x71a3('0x1f')]({'port':0x232c});function checkPasswordPattern(_0x32591a,_0x59021f,_0x4aa918){if(_0x4aa918){var _0x41fe1c=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0x41fe1c[_0x71a3('0x20')](_0x59021f)){return _0x32591a;}else{throw new db[(_0x71a3('0x21'))][(_0x71a3('0x22'))](_0x71a3('0x23'));}}else{return _0x32591a;}}function respondWithRpcPromise(_0x318ff6,_0x5d4dee,_0x656cd2,_0x27bfb4){return new BPromise(function(_0x5b955a,_0x5f4562){var _0x410a65=_0x27bfb4||client;return _0x410a65[_0x71a3('0x24')](_0x318ff6,_0x656cd2)[_0x71a3('0x25')](function(_0x1c4ec2){logger[_0x71a3('0x26')]('ChatInteraction,\x20%s,\x20%s',_0x5d4dee,_0x71a3('0x27'));logger[_0x71a3('0x28')](_0x71a3('0x29'),_0x5d4dee,_0x71a3('0x27'),JSON[_0x71a3('0x2a')](_0x1c4ec2));if(_0x1c4ec2['error']){if(_0x1c4ec2[_0x71a3('0x2b')]['code']===0x1f4){logger[_0x71a3('0x2b')](_0x71a3('0x2c'),_0x5d4dee,_0x1c4ec2[_0x71a3('0x2b')][_0x71a3('0x2d')]);return _0x5f4562(_0x1c4ec2[_0x71a3('0x2b')][_0x71a3('0x2d')]);}logger['error'](_0x71a3('0x2c'),_0x5d4dee,_0x1c4ec2[_0x71a3('0x2b')][_0x71a3('0x2d')]);return _0x5b955a(_0x1c4ec2[_0x71a3('0x2b')][_0x71a3('0x2d')]);}else{logger['info'](_0x71a3('0x2c'),_0x5d4dee,_0x71a3('0x27'));_0x5b955a(_0x1c4ec2['result'][_0x71a3('0x2d')]);}})['catch'](function(_0x46f1ff){logger[_0x71a3('0x2b')](_0x71a3('0x2c'),_0x5d4dee,_0x46f1ff);_0x5f4562(_0x46f1ff);});});}function respondWithStatusCode(_0x35b5c7,_0x25f351){_0x25f351=_0x25f351||0xcc;return function(_0x314439){if(_0x314439){return _0x35b5c7[_0x71a3('0x2e')](_0x25f351);}return _0x35b5c7[_0x71a3('0x2f')](_0x25f351)[_0x71a3('0x30')]();};}function respondWithResult(_0x3fc578,_0x3ea7aa){_0x3ea7aa=_0x3ea7aa||0xc8;return function(_0x228afa){if(_0x228afa){return _0x3fc578['status'](_0x3ea7aa)[_0x71a3('0x31')](_0x228afa);}};}function respondWithFilteredResult(_0x1719e6,_0x334db0){return function(_0x23ae85){if(_0x23ae85){var _0x4a750c=_0x23ae85[_0x71a3('0x32')],_0x18a8fe=_0x334db0[_0x71a3('0x33')],_0x216d84=_0x334db0[_0x71a3('0x33')]+_0x334db0[_0x71a3('0x34')],_0x45d13d;if(_0x216d84>=_0x4a750c){_0x216d84=_0x4a750c;_0x45d13d=0xc8;}else{_0x45d13d=0xce;}_0x1719e6['status'](_0x45d13d);return _0x1719e6[_0x71a3('0x35')](_0x71a3('0x36'),_0x18a8fe+'-'+_0x216d84+'/'+_0x4a750c)[_0x71a3('0x31')](_0x23ae85);}return null;};}function patchUpdates(_0x168e9b){return function(_0x2154d1){try{jsonpatch[_0x71a3('0x37')](_0x2154d1,_0x168e9b,!![]);}catch(_0x425d83){return BPromise[_0x71a3('0x38')](_0x425d83);}return _0x2154d1[_0x71a3('0x39')]();};}function saveUpdates(_0x3eda28,_0x2376e5){return function(_0x219815){if(_0x219815){return _0x219815[_0x71a3('0x3a')](_0x3eda28)['then'](function(_0x5a3043){return _0x5a3043;});}return null;};}function removeEntity(_0x2e7c00,_0xcd1106){return function(_0x564fd2){if(_0x564fd2){return _0x564fd2[_0x71a3('0x3b')]()[_0x71a3('0x25')](function(){_0x2e7c00['status'](0xcc)[_0x71a3('0x30')]();});}};}function handleEntityNotFound(_0x1a7bb7,_0x26f3a7){return function(_0x250572){if(!_0x250572){_0x1a7bb7[_0x71a3('0x2e')](0x194);}return _0x250572;};}function handleError(_0x255098,_0x197fa2){_0x197fa2=_0x197fa2||0x1f4;return function(_0x541840){logger[_0x71a3('0x2b')](_0x541840[_0x71a3('0x3c')]);if(_0x541840[_0x71a3('0x3d')]){delete _0x541840['name'];}_0x255098[_0x71a3('0x2f')](_0x197fa2)[_0x71a3('0x3e')](_0x541840);};}function getInteractionUsers(_0x3dc1de,_0x171902){return new BPromise(function(_0x6cea55,_0x54d03b){try{if(_0x171902[_0x3dc1de['id']]){_0x3dc1de['Users']=_[_0x71a3('0x3f')](_0x171902[_0x3dc1de['id']],function(_0x2b3197){return{'id':_0x2b3197['id'],'fullname':_0x2b3197[_0x71a3('0x40')]};});}}catch(_0x1d7353){_0x54d03b(_0x1d7353);}_0x6cea55(_0x3dc1de);});}function getInteractionTags(_0x36ed2e,_0x4e7d61){return new BPromise(function(_0x223cfd,_0x16d23c){try{if(_0x36ed2e[_0x71a3('0x41')]){_0x36ed2e['Tags']=[];_0x36ed2e[_0x71a3('0x41')]['split'](',')[_0x71a3('0x42')](function(_0x2928dc){_0x36ed2e[_0x71a3('0x43')][_0x71a3('0x44')](_0x4e7d61[_0x2928dc]);});}delete _0x36ed2e[_0x71a3('0x41')];}catch(_0x38912c){_0x16d23c(_0x38912c);}_0x223cfd(_0x36ed2e);});}function updateChatInteraction(_0x468ca4,_0x40a18f,_0x31ba66){return new BPromise(function(_0x5e5626,_0x4bc5c8){return getInteractionUsers(_0x468ca4,_0x31ba66)[_0x71a3('0x25')](function(_0x49affd){return getInteractionTags(_0x49affd,_0x40a18f);})[_0x71a3('0x25')](function(_0x1ed84d){_0x5e5626(_0x1ed84d);})[_0x71a3('0x45')](function(_0x18974c){_0x4bc5c8(_0x18974c);});});}exports['index']=function(_0x412bce,_0x4b4fde){var _0x5e0532={},_0x3abfe7={},_0x8c731={'count':0x0,'rows':[]};var _0x1e66dc=_[_0x71a3('0x3f')](db['ChatInteraction'][_0x71a3('0x46')],function(_0x615c6f){return{'name':_0x615c6f[_0x71a3('0x47')],'type':_0x615c6f[_0x71a3('0x48')][_0x71a3('0x49')]};});_0x3abfe7[_0x71a3('0x4a')]=_[_0x71a3('0x3f')](_0x1e66dc,_0x71a3('0x3d'));_0x3abfe7[_0x71a3('0x4b')]=_[_0x71a3('0x4c')](_0x412bce[_0x71a3('0x4b')]);_0x3abfe7[_0x71a3('0x4d')]=_[_0x71a3('0x4e')](_0x3abfe7[_0x71a3('0x4a')],_0x3abfe7[_0x71a3('0x4b')]);_0x5e0532[_0x71a3('0x4f')]=_['intersection'](_0x3abfe7[_0x71a3('0x4a')],qs[_0x71a3('0x50')](_0x412bce['query'][_0x71a3('0x50')]));_0x5e0532[_0x71a3('0x4f')]=_0x5e0532[_0x71a3('0x4f')][_0x71a3('0x51')]?_0x5e0532[_0x71a3('0x4f')]:_0x3abfe7['model'];if(!_0x412bce['query'][_0x71a3('0x52')](_0x71a3('0x53'))){_0x5e0532['limit']=qs[_0x71a3('0x34')](_0x412bce[_0x71a3('0x4b')][_0x71a3('0x34')]);_0x5e0532[_0x71a3('0x33')]=qs[_0x71a3('0x33')](_0x412bce[_0x71a3('0x4b')]['offset']);}_0x5e0532[_0x71a3('0x54')]=qs['sort'](_0x412bce[_0x71a3('0x4b')][_0x71a3('0x55')]);_0x5e0532[_0x71a3('0x56')]=qs[_0x71a3('0x4d')](_[_0x71a3('0x57')](_0x412bce['query'],_0x3abfe7[_0x71a3('0x4d')]),_0x1e66dc);var _0x144872=[];var _0xa0e8aa=squel['select']()[_0x71a3('0x58')]('id')['field'](_0x71a3('0x3d'))[_0x71a3('0x58')]('color')[_0x71a3('0x59')](_0x71a3('0x5a'));var _0xa62a74=squel[_0x71a3('0x5b')]()[_0x71a3('0x58')](_0x71a3('0x5c'))[_0x71a3('0x58')]('u.fullname')[_0x71a3('0x58')]('ui.ChatInteractionId')[_0x71a3('0x59')]('user_has_chat_interactions','ui')[_0x71a3('0x5d')](_0x71a3('0x5e'),'u',_0x71a3('0x5f'));var _0x45c42b=squel['select']()['from'](_0x71a3('0x60'),'i')[_0x71a3('0x5d')](_0x71a3('0x61'),'c',_0x71a3('0x62'))['left_join']('users','o',_0x71a3('0x63'))[_0x71a3('0x5d')](_0x71a3('0x64'),'a',_0x71a3('0x65'))[_0x71a3('0x5d')]('chat_messages','me',_0x71a3('0x66'))[_0x71a3('0x5d')](_0x71a3('0x67'),'it',_0x71a3('0x68'))[_0x71a3('0x5d')](_0x71a3('0x5a'),'t',_0x71a3('0x69'));var _0x43a276=squel['expr']();var _0x384199=[];var _0xf40cb0=squel[_0x71a3('0x6a')]();var _0x56dea4;if(_0x412bce[_0x71a3('0x4b')][_0x71a3('0x6b')]){_0x56dea4=as[_0x71a3('0x6c')](_0x412bce[_0x71a3('0x4b')][_0x71a3('0x6b')]);var _0x2b7c00=_0x56dea4[_0x71a3('0x6d')];for(var _0x302dab=0x0;_0x302dab<_0x56dea4[_0x71a3('0x6e')][_0x71a3('0x51')];_0x302dab++){var _0x532714=_0x56dea4[_0x71a3('0x6e')][_0x302dab];var _0x324ee7='i';var _0x56177c=_[_0x71a3('0x6f')](_0x1e66dc,['name',_0x532714['field']]);if(!_0x56177c){switch(_0x532714[_0x71a3('0x58')]){case _0x71a3('0x70'):if(_0x532714[_0x71a3('0x71')]==0x1){_0x45c42b[_0x71a3('0x72')]('`'+_0x532714[_0x71a3('0x58')]+'`\x20=\x200');}else{_0x45c42b[_0x71a3('0x72')]('`'+_0x532714[_0x71a3('0x58')]+'`\x20>\x200');}break;case _0x71a3('0x73'):if(_0x532714['operator']===_0x71a3('0x74')){if(_0x532714[_0x71a3('0x71')]['split']('\x20')['length']>0x1){_0x43a276[_0x2b7c00](_0x71a3('0x75'),qs[_0x71a3('0x76')](_0x532714['value']),null);}else{var _0x150219='%'+_0x532714[_0x71a3('0x71')]+'%';_0x43a276[_0x2b7c00](_0x71a3('0x77'),_0x150219,_0x150219,_0x150219);}}else{_0x56177c=_['find'](_0x1e66dc,[_0x71a3('0x3d'),_0x71a3('0x78')]);_0x532714[_0x71a3('0x58')]=_0x71a3('0x78');_0x30eb3c=as[_0x71a3('0x79')](_0x324ee7,_0x56177c[_0x71a3('0x48')],_0x532714);_0x43a276[_0x2b7c00](_0x30eb3c[_0x71a3('0x7a')],_0x30eb3c[_0x71a3('0x71')][_0x71a3('0x7b')],_0x30eb3c['value'][_0x71a3('0x30')]);}break;case _0x71a3('0x7c'):var _0x84b636=_0x532714['value'][_0x71a3('0x7d')](',')[_0x71a3('0x3f')](function(_0x203175){return Number(_0x203175);});_0x84b636[_0x71a3('0x42')](function(_0x265cd5){_0xf40cb0['or'](_0x71a3('0x7e'),'%,'+_0x265cd5+',%');});_0x384199=_[_0x71a3('0x7f')](_0x384199,_0x84b636);break;case _0x71a3('0x80'):if(_0x532714[_0x71a3('0x81')]==='$substring'){_0x43a276[_0x2b7c00](_0x71a3('0x82'),'%'+_0x532714['value']+'%',null);}else{_0x56177c=_[_0x71a3('0x6f')](_0x1e66dc,['name','UserId']);_0x532714[_0x71a3('0x58')]='UserId';_0x30eb3c=as[_0x71a3('0x79')](_0x324ee7,_0x56177c[_0x71a3('0x48')],_0x532714);_0x43a276[_0x2b7c00](_0x30eb3c[_0x71a3('0x7a')],_0x30eb3c['value'][_0x71a3('0x7b')],_0x30eb3c[_0x71a3('0x71')]['end']);}break;case _0x71a3('0x83'):_0x30eb3c=as[_0x71a3('0x79')]('me',null,_0x532714);_0x43a276[_0x2b7c00](_0x30eb3c[_0x71a3('0x7a')],_0x30eb3c[_0x71a3('0x71')][_0x71a3('0x7b')],_0x30eb3c[_0x71a3('0x71')][_0x71a3('0x30')]);break;}}else{var _0x30eb3c=as['buildExpression'](_0x324ee7,_0x56177c['type'],_0x532714);_0x43a276[_0x2b7c00](_0x30eb3c[_0x71a3('0x7a')],_0x30eb3c[_0x71a3('0x71')][_0x71a3('0x7b')],_0x30eb3c['value'][_0x71a3('0x30')]);}}}else{var _0x789f2a=_(_0x412bce['query'])[_0x71a3('0x4c')]()['map'](function(_0x4294d5){return _[_0x71a3('0x84')](_0x1e66dc,[_0x71a3('0x3d'),_0x4294d5])?_0x4294d5:undefined;})[_0x71a3('0x85')]()['value']();if(!_[_0x71a3('0x86')](_0x789f2a)){_0x789f2a[_0x71a3('0x42')](function(_0x505c68){if(_0x505c68===_0x71a3('0x87')){_0x45c42b[_0x71a3('0x56')](_0x71a3('0x88'),[][_0x71a3('0x89')](_0x412bce[_0x71a3('0x4b')][_0x505c68]));}else if(_0x505c68===_0x71a3('0x8a')){var _0x3fbbec=JSON[_0x71a3('0x8b')](_0x412bce[_0x71a3('0x4b')][_0x505c68])[_0x71a3('0x8c')];var _0x3dce03=JSON[_0x71a3('0x8b')](_0x412bce['query'][_0x505c68])[_0x71a3('0x8d')];_0x45c42b['where'](_0x71a3('0x8e'),_0x3fbbec,_0x3dce03);}else{if(_0x412bce[_0x71a3('0x4b')][_0x505c68]===_0x71a3('0x8f')){_0x45c42b[_0x71a3('0x56')]('i.'+_0x505c68+_0x71a3('0x90'));}else{_0x45c42b[_0x71a3('0x56')]('i.'+_0x505c68+_0x71a3('0x91'),_0x412bce[_0x71a3('0x4b')][_0x505c68]);}}});}if(_0x412bce[_0x71a3('0x4b')][_0x71a3('0x92')]){if(_0x412bce[_0x71a3('0x4b')][_0x71a3('0x92')]==0x1){_0x45c42b[_0x71a3('0x72')](_0x71a3('0x93'));}else{_0x45c42b[_0x71a3('0x72')](_0x71a3('0x94'));}}if(_0x412bce[_0x71a3('0x4b')][_0x71a3('0x95')]){_0x384199=_[_0x71a3('0x96')](_0x412bce['query'][_0x71a3('0x95')])?_0x412bce[_0x71a3('0x4b')][_0x71a3('0x95')]:new Array(_0x412bce[_0x71a3('0x4b')][_0x71a3('0x95')]);_0x384199[_0x71a3('0x42')](function(_0x35e802){_0xf40cb0['or']('CONCAT(\x27,\x27,\x20`TagIds`,\x20\x27,\x27)\x20LIKE\x20?','%,'+_0x35e802+',%');});}if(_0x412bce[_0x71a3('0x4b')]['filter']){var _0x552ff7=_0x412bce['query']['filter']['replace']('\x5c','\x5c\x5c')['replace']('\x27\x27',_0x71a3('0x97'));if(qs[_0x71a3('0x98')](_0x552ff7)){_0x43a276['or'](_0x71a3('0x99'),_0x552ff7+'%');}else{_0x43a276['or'](_0x71a3('0x9a'),qs[_0x71a3('0x76')](_0x552ff7))['or'](_0x71a3('0x9b'),_0x552ff7+'%');}}}_0x45c42b[_0x71a3('0x56')](_0x43a276);_0x45c42b[_0x71a3('0x9c')](_0x71a3('0x9d'));var _0x291c32={'type':db[_0x71a3('0x21')][_0x71a3('0x9e')][_0x71a3('0x9f')],'raw':!![]};var _0x5a5066=_0x45c42b[_0x71a3('0xa0')]();_0x5a5066[_0x71a3('0x58')](_0x71a3('0x9d'));_0x5a5066[_0x71a3('0x58')](_0x71a3('0xa1'),_0x71a3('0x70'));if(_0x5e0532['order']){_0x5e0532['order']['forEach'](function(_0xc8166a){_0x45c42b[_0x71a3('0x54')]('i.'+_0xc8166a[0x0],_0xc8166a[0x1]===_0x71a3('0xa2')?![]:!![]);});}if(!_['isEmpty'](_0x384199)){_0x45c42b[_0x71a3('0x72')](_0xf40cb0);_0x5a5066[_0x71a3('0x56')](_0x71a3('0xa3'),_0x384199);}BPromise[_0x71a3('0xa4')]()[_0x71a3('0x25')](function(){if(!_0x56dea4){if(_0x412bce[_0x71a3('0x4b')][_0x71a3('0x87')]||_0x412bce[_0x71a3('0x4b')][_0x71a3('0xa5')])return;_0x5a5066['where'](_0x71a3('0xa6'));_0x45c42b[_0x71a3('0x56')]('i.ChatWebsiteId\x20IS\x20NOT\x20NULL');return;}return _0x412bce[_0x71a3('0xa7')]['getChatWebsites']({'attributes':['id'],'raw':!![]})[_0x71a3('0x25')](function(_0x387165){if(_[_0x71a3('0x86')](_0x387165)){_0x5a5066[_0x71a3('0x56')](_0x71a3('0xa8'));_0x45c42b['where'](_0x71a3('0xa8'));}else{_0x5a5066[_0x71a3('0x56')]('i.ChatWebsiteId\x20IN\x20?',_[_0x71a3('0x3f')](_0x387165,'id'));_0x45c42b[_0x71a3('0x56')](_0x71a3('0x88'),_['map'](_0x387165,'id'));}});})[_0x71a3('0x25')](function(){db[_0x71a3('0xa9')][_0x71a3('0x4b')](_0x5a5066['toString'](),_0x291c32)['then'](function(_0x2295f3){_0x8c731[_0x71a3('0x32')]=_0x2295f3[_0x71a3('0x51')];if(_0x8c731['count']===0x0)return[];return db[_0x71a3('0xa9')]['query'](_0xa0e8aa[_0x71a3('0xaa')](),_0x291c32)[_0x71a3('0x25')](function(_0x2eff6d){_0x144872=_['keyBy'](_0x2eff6d,'id');_0x291c32=_[_0x71a3('0xab')](_0x291c32,{'model':db['ChatInteraction'],'mapToModel':!![],'raw':!![],'nest':!![]});if(_0x412bce[_0x71a3('0x4b')][_0x71a3('0x50')]){_0x5e0532[_0x71a3('0x4f')][_0x71a3('0x42')](function(_0x4713a3){_0x45c42b['field']('i.'+_0x4713a3);});}else{_0x45c42b[_0x71a3('0x58')](_0x71a3('0xa1'),'unreadMessages');_0x45c42b['field'](_0x71a3('0xac'),_0x71a3('0xad'));_0x45c42b[_0x71a3('0x58')]('a.mandatoryDisposition',_0x71a3('0xae'));_0x45c42b[_0x71a3('0x58')](_0x71a3('0xaf'));_0x45c42b[_0x71a3('0x58')](_0x71a3('0xb0'),_0x71a3('0xb1'));_0x45c42b[_0x71a3('0x58')]('c.lastName',_0x71a3('0xb2'));_0x45c42b[_0x71a3('0x58')](_0x71a3('0xb3'),_0x71a3('0xb4'));_0x45c42b['field'](_0x71a3('0xb5'),_0x71a3('0xb6'));_0x45c42b[_0x71a3('0x58')](_0x71a3('0xb7'),_0x71a3('0xb8'));_0x45c42b[_0x71a3('0x58')](_0x71a3('0xb9'),_0x71a3('0xba'));_0x45c42b['field'](_0x71a3('0xbb'),'Owner.fullname');_0x45c42b[_0x71a3('0x58')](_0x71a3('0xbc'),_0x71a3('0xbd'));_0x45c42b[_0x71a3('0x58')]('GROUP_CONCAT(DISTINCT\x20t.id)','TagIds');}if(_0x5e0532['limit'])_0x45c42b[_0x71a3('0x34')](_0x5e0532[_0x71a3('0x34')]);if(_0x5e0532[_0x71a3('0x33')])_0x45c42b[_0x71a3('0x33')](_0x5e0532[_0x71a3('0x33')]);return db[_0x71a3('0xa9')][_0x71a3('0x4b')](_0x45c42b[_0x71a3('0xaa')](),_0x291c32);})[_0x71a3('0x25')](function(_0x253a0c){_0xa62a74['where'](_0x71a3('0xbe'),_[_0x71a3('0x3f')](_0x253a0c,'id'));return db[_0x71a3('0xa9')][_0x71a3('0x4b')](_0xa62a74[_0x71a3('0xaa')](),_0x291c32)[_0x71a3('0x25')](function(_0x58c6be){var _0x47560c=_['groupBy'](_0x58c6be,_0x71a3('0xbf'));var _0x529d64=[];_0x253a0c[_0x71a3('0x42')](function(_0x6ceaee){_0x529d64['push'](updateChatInteraction(_0x6ceaee,_0x144872,_0x47560c));});return BPromise[_0x71a3('0xc0')](_0x529d64);});});})['then'](function(_0x3d59f8){_0x8c731['rows']=_0x3d59f8;return _0x8c731;})[_0x71a3('0x25')](respondWithFilteredResult(_0x4b4fde,_0x5e0532));})[_0x71a3('0x45')](handleError(_0x4b4fde,null));};exports['show']=function(_0x2a620a,_0x421602){var _0x31bbd9={'raw':![],'where':{'id':_0x2a620a[_0x71a3('0xc1')]['id']}},_0xf0bded={};_0xf0bded[_0x71a3('0x4a')]=_[_0x71a3('0x4c')](db[_0x71a3('0xc2')]['rawAttributes']);_0xf0bded[_0x71a3('0x4b')]=_[_0x71a3('0x4c')](_0x2a620a[_0x71a3('0x4b')]);_0xf0bded['filters']=_[_0x71a3('0x4e')](_0xf0bded[_0x71a3('0x4a')],_0xf0bded[_0x71a3('0x4b')]);_0x31bbd9['attributes']=_['intersection'](_0xf0bded[_0x71a3('0x4a')],qs[_0x71a3('0x50')](_0x2a620a['query'][_0x71a3('0x50')]));_0x31bbd9[_0x71a3('0x4f')]=_0x31bbd9[_0x71a3('0x4f')][_0x71a3('0x51')]?_0x31bbd9[_0x71a3('0x4f')]:_0xf0bded[_0x71a3('0x4a')];if(_0x2a620a[_0x71a3('0x4b')]['includeAll']){_0x31bbd9[_0x71a3('0xc3')]=[{'all':!![]}];}_0x31bbd9=_[_0x71a3('0xab')]({},_0x31bbd9,_0x2a620a['options']);return db['ChatInteraction'][_0x71a3('0x6f')](_0x31bbd9)[_0x71a3('0x25')](handleEntityNotFound(_0x421602,null))['then'](respondWithResult(_0x421602,null))[_0x71a3('0x45')](handleError(_0x421602,null));};exports[_0x71a3('0xc4')]=function(_0x32f347,_0x57b620){return db['ChatInteraction'][_0x71a3('0xc4')](_0x32f347[_0x71a3('0x83')],{})[_0x71a3('0x25')](respondWithResult(_0x57b620,0xc9))[_0x71a3('0x45')](handleError(_0x57b620,null));};exports[_0x71a3('0x3a')]=function(_0x2b5a8c,_0x266c3f){if(_0x2b5a8c[_0x71a3('0x83')]['id']){delete _0x2b5a8c[_0x71a3('0x83')]['id'];}return db['ChatInteraction'][_0x71a3('0x6f')]({'where':{'id':_0x2b5a8c['params']['id']}})[_0x71a3('0x25')](handleEntityNotFound(_0x266c3f,null))[_0x71a3('0x25')](saveUpdates(_0x2b5a8c[_0x71a3('0x83')],null))[_0x71a3('0x25')](respondWithResult(_0x266c3f,null))['catch'](handleError(_0x266c3f,null));};exports[_0x71a3('0x3b')]=function(_0x2acec5,_0x173f05){return db[_0x71a3('0xc2')][_0x71a3('0x6f')]({'where':{'id':_0x2acec5['params']['id']}})[_0x71a3('0x25')](handleEntityNotFound(_0x173f05,null))[_0x71a3('0x25')](removeEntity(_0x173f05,null))['catch'](handleError(_0x173f05,null));};exports[_0x71a3('0xc5')]=function(_0x4cde32,_0x5c9315){return db[_0x71a3('0xc2')][_0x71a3('0xc5')]()[_0x71a3('0x25')](respondWithResult(_0x5c9315,null))[_0x71a3('0x45')](handleError(_0x5c9315,null));};exports['createVidaooSession']=function(_0x3b8781,_0x5b6dac){var _0x2383b3=_0x3b8781[_0x71a3('0xc1')]['id'];var _0xc412eb;var _0x183514;var _0x2a6d88;return db[_0x71a3('0xc2')][_0x71a3('0xc6')]({'where':{'id':_0x2383b3}})[_0x71a3('0x25')](function(_0x408b2a){_0xc412eb=_0x408b2a;return db[_0x71a3('0xc7')][_0x71a3('0xc6')]({'where':{'id':_0x408b2a[_0x71a3('0x87')]},'attributes':['id',_0x71a3('0xc8'),_0x71a3('0xc9')],'raw':!![]});})['then'](function(_0x4c944e){if(_0x4c944e&&_0x4c944e['vidaooApiKey']&&_0x4c944e[_0x71a3('0xc9')]){_0x183514=_0x4c944e;var _0x4a8e27={'rejectUnauthorized':![],'method':_0x71a3('0xca'),'uri':_0x71a3('0xcb'),'headers':{'X-APIKEY':_0x4c944e[_0x71a3('0xc8')]},'body':{'name':_0x71a3('0xcc')+_0x2383b3},'redirect':'follow','json':!![]};return rp(_0x4a8e27);}else{throw new db[(_0x71a3('0x21'))][(_0x71a3('0x22'))](_0x71a3('0xcd'));}})[_0x71a3('0x25')](function(_0x29e932){_0x2a6d88=_0x29e932;if(_0x2a6d88['id']){var _0x4687e0={'body':_0x2a6d88[_0x71a3('0xce')],'ChatWebsiteId':_0x183514['id'],'ChatInteractionId':_0xc412eb['id'],'direction':_0x71a3('0xcf'),'UserId':_0x3b8781[_0x71a3('0xa7')]['id']};return db['ChatMessage'][_0x71a3('0xc4')](_0x4687e0,{});}else{throw new db['Sequelize']['ValidationError'](_0x71a3('0xd0'));}})[_0x71a3('0x25')](function(){return _0xc412eb[_0x71a3('0xd1')]({'vidaooSessionId':_0x2a6d88['id']});})[_0x71a3('0x25')](respondWithResult(_0x5b6dac,null))[_0x71a3('0x45')](handleError(_0x5b6dac,null));};exports[_0x71a3('0xd2')]=function(_0x57edb2,_0x299f2b){if(_0x57edb2[_0x71a3('0x83')]['id']){delete _0x57edb2[_0x71a3('0x83')]['id'];}return db[_0x71a3('0xc2')][_0x71a3('0x6f')]({'where':{'id':_0x57edb2[_0x71a3('0xc1')]['id']}})['then'](handleEntityNotFound(_0x299f2b,null))['then'](saveUpdates(_0x57edb2[_0x71a3('0x83')],null))[_0x71a3('0x25')](respondWithResult(_0x299f2b,null))[_0x71a3('0x45')](handleError(_0x299f2b,null));};exports['abandon']=function(_0xa39f20,_0x2ee76a,_0x1cb43b){if(_0xa39f20['body']['id']){delete _0xa39f20['body']['id'];}return db[_0x71a3('0xc2')][_0x71a3('0x6f')]({'where':{'id':_0xa39f20[_0x71a3('0xc1')]['id']}})[_0x71a3('0x25')](function(_0x31e248){if(!_0x31e248){logger[_0x71a3('0x2b')](_0x71a3('0xd3'),'abandon',0x194,_0x71a3('0xd4'));_0x2ee76a[_0x71a3('0x2e')](0x194);}else{if(_0x31e248[_0x71a3('0xd5')]){throw new db[(_0x71a3('0x21'))][(_0x71a3('0x22'))](_0x71a3('0xd6'));}}return _0x31e248;})[_0x71a3('0x25')](function(_0x3b43ab){if(_0x3b43ab){return _0x3b43ab[_0x71a3('0x3a')]({'closed':_0xa39f20[_0x71a3('0x83')][_0x71a3('0xd7')],'disposition':_0xa39f20[_0x71a3('0x83')][_0x71a3('0xd8')]})[_0x71a3('0x25')](function(_0x358ba9){return _0x358ba9;});}})['then'](function(_0xd60faf){return respondWithRpcPromise(_0x71a3('0xd9'),_0x71a3('0xda'),_0xa39f20[_0x71a3('0x83')],client9004);})[_0x71a3('0x25')](respondWithResult(_0x2ee76a,null))[_0x71a3('0x45')](handleError(_0x2ee76a,null));};exports[_0x71a3('0xdb')]=function(_0x3a3f2d,_0x9312e3,_0x41f888){_0x3a3f2d[_0x71a3('0x83')][_0x71a3('0x3d')]=_0x3a3f2d[_0x71a3('0xdc')][_0x71a3('0xdd')];_0x3a3f2d[_0x71a3('0x83')][_0x71a3('0xde')]=_0x3a3f2d['file'][_0x71a3('0xdf')];_0x3a3f2d[_0x71a3('0x83')][_0x71a3('0x48')]=_0x3a3f2d[_0x71a3('0xdc')]['mimetype'];return db[_0x71a3('0xe0')][_0x71a3('0xc4')](_0x3a3f2d[_0x71a3('0x83')])[_0x71a3('0x25')](respondWithResult(_0x9312e3,0xc9))[_0x71a3('0x45')](handleError(_0x9312e3,null));};exports[_0x71a3('0xe1')]=function(_0x537a06,_0x55ad02,_0x457e88){return db['ChatInteraction']['findOne']({'where':{'id':_0x537a06[_0x71a3('0xc1')]['id']},'raw':!![]})[_0x71a3('0x25')](handleEntityNotFound(_0x55ad02,null))[_0x71a3('0x25')](function(_0x10353f){if(_0x10353f){if(_0x10353f['closed']){return _0x55ad02[_0x71a3('0x2f')](0x193)[_0x71a3('0x31')]({'status':0x193,'message':'Unauthorized'});}return db[_0x71a3('0xe0')][_0x71a3('0xc6')]({'where':{'id':_0x537a06[_0x71a3('0x4b')][_0x71a3('0xe2')]},'raw':!![]})[_0x71a3('0x25')](handleEntityNotFound(_0x55ad02,null));}})[_0x71a3('0x25')](function(_0x334e5b){if(_0x334e5b){return _0x55ad02[_0x71a3('0xe3')](path[_0x71a3('0xe4')](config[_0x71a3('0xe5')],'server/files/attachments/',_0x334e5b[_0x71a3('0xde')]));}})[_0x71a3('0x45')](handleError(_0x55ad02,null));};exports[_0x71a3('0xe6')]=function(_0x37df41,_0x2d685b){var _0x531756=null;var _0x121c1b=null;var _0x5d7fa4=null;var _0x4c57b8=null;if(_0x37df41[_0x71a3('0x83')]['id']){delete _0x37df41[_0x71a3('0x83')]['id'];}if(_0x37df41[_0x71a3('0x83')]['mailTranscript']){_0x4c57b8=path['join'](config[_0x71a3('0xe5')],_0x71a3('0xe7'),util[_0x71a3('0xe8')](_0x71a3('0xe9'),Date[_0x71a3('0xea')]()));_0x37df41[_0x71a3('0x83')][_0x71a3('0xeb')]=_0x4c57b8;}return db[_0x71a3('0xc2')]['find']({'where':{'id':_0x37df41[_0x71a3('0xc1')]['id']},'include':[{'model':db[_0x71a3('0xec')],'as':_0x71a3('0xed'),'include':[{'model':db[_0x71a3('0x80')],'as':'User'}]}]})[_0x71a3('0x25')](handleEntityNotFound(_0x2d685b,null))[_0x71a3('0x25')](saveUpdates(_0x37df41['body'],null))[_0x71a3('0x25')](function(_0xa0b3ae){if(_0xa0b3ae){_0x531756=_0xa0b3ae;return db[_0x71a3('0xc7')]['find']({'where':{'id':_0x531756[_0x71a3('0x87')]}});}})[_0x71a3('0x25')](function(_0x4c795d){if(_0x4c795d){_0x5d7fa4=_0x4c795d;return db[_0x71a3('0xee')][_0x71a3('0x6f')]({'where':{'id':_0x531756[_0x71a3('0x78')]}});}})[_0x71a3('0x25')](function(_0x167158){if(_0x167158){_0x121c1b=_0x167158;if(_0x4c57b8){var _0x46d79d=null;for(var _0x28abce=0x1;_0x28abce<_0x531756[_0x71a3('0xed')][_0x71a3('0x51')];++_0x28abce){_0x46d79d=_0x531756[_0x71a3('0xed')][_0x28abce];var _0x457d41=_0x46d79d[_0x71a3('0xd5')]?util[_0x71a3('0xe8')](_0x71a3('0xef'),_0x5d7fa4[_0x71a3('0xf0')],_0x46d79d[_0x71a3('0xd5')]):'System';var _0x3a3f78=_0x37df41[_0x71a3('0x83')][_0x71a3('0xf1')]||util['format'](_0x71a3('0xef'),'Visitor',_0x46d79d['ContactId']);switch(_0x5d7fa4['agentIdentifier']){case _0x71a3('0xf2'):_0x457d41=_0x46d79d[_0x71a3('0xd5')]?util[_0x71a3('0xe8')](_0x71a3('0xef'),_0x5d7fa4[_0x71a3('0xf0')],_0x46d79d[_0x71a3('0xd5')]):_0x71a3('0xf3');break;case _0x71a3('0xf4'):_0x457d41=_0x46d79d[_0x71a3('0xd5')]?_0x46d79d[_0x71a3('0x80')][_0x71a3('0xf5')]||_0x46d79d[_0x71a3('0x80')][_0x71a3('0x40')]:_0x71a3('0xf3');break;case _0x71a3('0xf6'):_0x457d41=_0x46d79d['UserId']?_0x46d79d[_0x71a3('0x80')][_0x71a3('0x40')]:_0x71a3('0xf3');break;default:_0x457d41=_0x46d79d[_0x71a3('0xd5')]?util['format'](_0x71a3('0xef'),_0x5d7fa4[_0x71a3('0xf0')],_0x46d79d[_0x71a3('0xd5')]):_0x71a3('0xf3');}var _0x3548f8=util['format'](_0x71a3('0xf7'),moment(_0x46d79d[_0x71a3('0x8a')])[_0x71a3('0xe8')](_0x71a3('0xf8')),_0x46d79d[_0x71a3('0xf9')]==='in'?_0x3a3f78:_0x457d41,_0x46d79d[_0x71a3('0x83')]);if(!_0x46d79d[_0x71a3('0xfa')]){fs['appendFileSync'](_0x4c57b8,_0x3548f8);}}return db[_0x71a3('0xfb')][_0x71a3('0xc6')]({'where':{'service':!![]},'include':[{'model':db[_0x71a3('0xfc')],'as':_0x71a3('0xfd'),'raw':!![]}]});}}})[_0x71a3('0x25')](function(_0x411fa0){if(_0x411fa0&&_0x411fa0[_0x71a3('0xfd')]&&_0x37df41['body']){var _0x5b803b={'tls':{'rejectUnauthorized':![]}};if(_0x411fa0[_0x71a3('0xfd')][_0x71a3('0xfe')]){_0x5b803b[_0x71a3('0xfe')]=_0x411fa0[_0x71a3('0xfd')][_0x71a3('0xfe')];}else{_0x5b803b['host']=_0x411fa0['Smtp'][_0x71a3('0xff')];_0x5b803b[_0x71a3('0x100')]=_0x411fa0[_0x71a3('0xfd')][_0x71a3('0x100')];_0x5b803b['secure']=_0x411fa0[_0x71a3('0xfd')][_0x71a3('0x101')];}if(_0x411fa0[_0x71a3('0xfd')][_0x71a3('0x102')]){_0x5b803b['auth']={'user':_0x411fa0[_0x71a3('0xfd')]['user'],'pass':_0x411fa0['Smtp'][_0x71a3('0x103')]};}return respondWithRpcPromise(_0x71a3('0x104'),'sendMail',{'account':_0x5b803b,'message':{'from':util['format'](_0x71a3('0x105'),_0x411fa0['name'],_0x411fa0[_0x71a3('0x106')]||_0x411fa0[_0x71a3('0xfd')][_0x71a3('0xa7')]),'to':_0x37df41[_0x71a3('0x83')][_0x71a3('0x107')],'subject':_0x71a3('0x108'),'text':util[_0x71a3('0xe8')](_0x71a3('0x109'),_0x37df41[_0x71a3('0x83')][_0x71a3('0x107')]),'attachments':[{'path':_0x4c57b8}]}})['then'](function(){return _0x531756;})[_0x71a3('0x45')](function(_0x497a85){console[_0x71a3('0x2b')](_0x497a85);});}else{return _0x531756;}})[_0x71a3('0x25')](respondWithStatusCode(_0x2d685b,0xc8))[_0x71a3('0x45')](handleError(_0x2d685b,null));};exports['addMessage']=function(_0x1c6241,_0x44568f,_0x56b043){return db[_0x71a3('0xec')][_0x71a3('0x6f')]({'where':{'id':_0x1c6241[_0x71a3('0xc1')]['id']}})[_0x71a3('0x25')](handleEntityNotFound(_0x44568f,null))[_0x71a3('0x25')](function(_0x5553ff){if(_0x5553ff){return _0x5553ff[_0x71a3('0x10a')](_0x1c6241[_0x71a3('0x83')][_0x71a3('0x10b')],_['omit'](_0x1c6241[_0x71a3('0x83')],[_0x71a3('0x10b'),'id'])||{});}})[_0x71a3('0x25')](respondWithResult(_0x44568f,null))[_0x71a3('0x45')](handleError(_0x44568f,null));};exports['getMessages']=function(_0xf94586,_0x1102c4,_0xa2363e){var _0x27003b={'raw':![],'where':{}};var _0x300692={};var _0x118a8c={'count':0x0,'rows':[]};return db[_0x71a3('0xc2')][_0x71a3('0xc6')]({'where':{'id':_0xf94586['params']['id']}})['then'](handleEntityNotFound(_0x1102c4,null))['then'](function(_0x450006){if(_0x450006){_0x300692['model']=_[_0x71a3('0x4c')](db[_0x71a3('0xec')][_0x71a3('0x46')]);_0x300692['query']=_[_0x71a3('0x4c')](_0xf94586[_0x71a3('0x4b')]);_0x300692[_0x71a3('0x4d')]=_[_0x71a3('0x4e')](_0x300692[_0x71a3('0x4a')],_0x300692[_0x71a3('0x4b')]);_0x27003b[_0x71a3('0x4f')]=_['intersection'](_0x300692[_0x71a3('0x4a')],qs[_0x71a3('0x50')](_0xf94586['query'][_0x71a3('0x50')]));_0x27003b[_0x71a3('0x4f')]=_0x27003b[_0x71a3('0x4f')]['length']?_0x27003b['attributes']:_0x300692[_0x71a3('0x4a')];if(!_0xf94586[_0x71a3('0x4b')][_0x71a3('0x52')]('nolimit')){_0x27003b[_0x71a3('0x34')]=qs['limit'](_0xf94586[_0x71a3('0x4b')][_0x71a3('0x34')]);_0x27003b['offset']=qs[_0x71a3('0x33')](_0xf94586['query'][_0x71a3('0x33')]);}_0x27003b['order']=qs[_0x71a3('0x55')](_0xf94586['query'][_0x71a3('0x55')]);_0x27003b['where']=qs[_0x71a3('0x4d')](_[_0x71a3('0x57')](_0xf94586['query'],_0x300692[_0x71a3('0x4d')]));_0x27003b[_0x71a3('0x56')][_0x71a3('0xbf')]=_0x450006['id'];if(_0xf94586['query'][_0x71a3('0x10c')]){_0x27003b[_0x71a3('0x56')]=_[_0x71a3('0xab')](_0x27003b[_0x71a3('0x56')],{'$or':_[_0x71a3('0x3f')](_0x27003b['attributes'],function(_0x1e3cd1){var _0x179cbb={};_0x179cbb[_0x1e3cd1]={'$like':'%'+_0xf94586[_0x71a3('0x4b')][_0x71a3('0x10c')]+'%'};return _0x179cbb;})});}if(_0xf94586[_0x71a3('0x4b')]['$gte']){var _0x1a80e7=_0xf94586[_0x71a3('0x4b')][_0x71a3('0x8c')][_0x71a3('0x7d')](',');var _0x479761={};_0x479761[_0x1a80e7[0x0]]={'$gte':moment(_0x1a80e7[0x1])[_0x71a3('0xe8')](_0x71a3('0x10d'))};_0x27003b[_0x71a3('0x56')]=_[_0x71a3('0xab')](_0x27003b[_0x71a3('0x56')],_0x479761);}_0x27003b=_[_0x71a3('0xab')]({},_0x27003b,_0xf94586['options']);return db[_0x71a3('0xec')]['count']({'where':_0x27003b[_0x71a3('0x56')]})[_0x71a3('0x25')](function(_0x345140){_0x118a8c['count']=_0x345140;if(_0xf94586[_0x71a3('0x4b')][_0x71a3('0x10e')]){_0x27003b[_0x71a3('0xc3')]=[{'all':!![]}];}return db[_0x71a3('0xec')]['findAll'](_0x27003b);})[_0x71a3('0x25')](function(_0x14d927){_0x118a8c[_0x71a3('0x10f')]=_0x14d927;return _0x118a8c;});}})['then'](respondWithFilteredResult(_0x1102c4,_0x27003b))[_0x71a3('0x45')](handleError(_0x1102c4,null));};exports[_0x71a3('0x110')]=function(_0x3ba1f3,_0x5ba504,_0x252a4f){var _0xc097c7={'where':{}},_0x50b158={},_0x4568fc={'count':0x0,'rows':[]};return db['ChatInteraction'][_0x71a3('0xc6')]({'where':{'id':_0x3ba1f3['params']['id']}})[_0x71a3('0x25')](handleEntityNotFound(_0x5ba504,null))[_0x71a3('0x25')](function(_0x31fb23){if(_0x31fb23){_0x50b158['model']=_[_0x71a3('0x4c')](db[_0x71a3('0xec')][_0x71a3('0x46')]);_0x50b158[_0x71a3('0x4b')]=_[_0x71a3('0x4c')](_0x3ba1f3['query']);_0x50b158['filters']=_['intersection'](_0x50b158[_0x71a3('0x4a')],_0x50b158[_0x71a3('0x4b')]);_0xc097c7['attributes']=_['intersection'](_0x50b158['model'],qs[_0x71a3('0x50')](_0x3ba1f3['query'][_0x71a3('0x50')]));_0xc097c7[_0x71a3('0x4f')]=_0xc097c7['attributes'][_0x71a3('0x51')]?_0xc097c7[_0x71a3('0x4f')]:_0x50b158['model'];if(!_0x3ba1f3['query']['hasOwnProperty'](_0x71a3('0x53'))){_0xc097c7[_0x71a3('0x34')]=qs['limit'](_0x3ba1f3[_0x71a3('0x4b')]['limit']);_0xc097c7[_0x71a3('0x33')]=qs[_0x71a3('0x33')](_0x3ba1f3['query'][_0x71a3('0x33')]);}_0xc097c7[_0x71a3('0x54')]=qs[_0x71a3('0x55')](_0x3ba1f3[_0x71a3('0x4b')][_0x71a3('0x55')]);_0xc097c7[_0x71a3('0x56')]=qs[_0x71a3('0x4d')](_['pick'](_0x3ba1f3[_0x71a3('0x4b')],_0x50b158['filters']));_0xc097c7[_0x71a3('0x56')]['ChatInteractionId']=_0x31fb23['id'];if(_0x3ba1f3[_0x71a3('0x4b')][_0x71a3('0x10c')]){_0xc097c7[_0x71a3('0x56')]=_[_0x71a3('0xab')](_0xc097c7[_0x71a3('0x56')],{'$or':_[_0x71a3('0x3f')](_0xc097c7[_0x71a3('0x4f')],function(_0x217d80){var _0xf45cb6={};_0xf45cb6[_0x217d80]={'$like':'%'+_0x3ba1f3[_0x71a3('0x4b')][_0x71a3('0x10c')]+'%'};return _0xf45cb6;})});}_0xc097c7[_0x71a3('0x56')][_0x71a3('0xfa')]=![];if(_0x3ba1f3[_0x71a3('0x4b')]['id']){_0xc097c7['where']['id']={'$gt':_0x3ba1f3[_0x71a3('0x4b')]['id']};}_0xc097c7=_[_0x71a3('0xab')]({},_0xc097c7,_0x3ba1f3[_0x71a3('0x111')]);return db[_0x71a3('0xec')]['count']({'where':_0xc097c7['where']})[_0x71a3('0x25')](function(_0x8e6793){_0x4568fc[_0x71a3('0x32')]=_0x8e6793;_0xc097c7[_0x71a3('0xc3')]=[];if(_0x3ba1f3['query'][_0x71a3('0x112')]){_0xc097c7[_0x71a3('0xc3')]['push']({'model':db[_0x71a3('0x80')],'as':'User','attributes':['id',_0x71a3('0x40'),_0x71a3('0xf5')]});}if(_0x3ba1f3[_0x71a3('0x4b')][_0x71a3('0x10e')]){_0xc097c7[_0x71a3('0xc3')]=[{'all':!![]}];}return db[_0x71a3('0xec')]['findAll'](_0xc097c7);})[_0x71a3('0x25')](function(_0xb00463){_0x4568fc[_0x71a3('0x10f')]=_0xb00463;return _0x4568fc;});}})[_0x71a3('0x25')](respondWithFilteredResult(_0x5ba504,_0xc097c7))[_0x71a3('0x45')](handleError(_0x5ba504,null));};exports[_0x71a3('0x113')]=function(_0x12c7a5,_0x339cfb,_0x488168){return db[_0x71a3('0xc2')][_0x71a3('0x6f')]({'where':{'id':_0x12c7a5[_0x71a3('0xc1')]['id']}})[_0x71a3('0x25')](handleEntityNotFound(_0x339cfb,null))[_0x71a3('0x25')](function(_0x3adba2){if(_0x3adba2){return _0x3adba2[_0x71a3('0x114')](_0x12c7a5[_0x71a3('0x83')][_0x71a3('0x10b')],_[_0x71a3('0x115')](_0x12c7a5[_0x71a3('0x83')],['ids','id'])||{})[_0x71a3('0x116')](function(){return db[_0x71a3('0x7c')]['findAll']({'attributes':['id','name','color'],'where':{'id':_0x12c7a5[_0x71a3('0x83')][_0x71a3('0x10b')]}});})[_0x71a3('0x25')](function(_0x178670){socket['emit'](_0x71a3('0x117'),{'id':Number(_0x12c7a5[_0x71a3('0xc1')]['id']),'tags':_0x178670||[]});return{'id':Number(_0x12c7a5[_0x71a3('0xc1')]['id']),'tags':_0x178670||[]};});}})[_0x71a3('0x25')](respondWithResult(_0x339cfb,null))[_0x71a3('0x45')](handleError(_0x339cfb,null));};exports[_0x71a3('0x118')]=function(_0x551ef0,_0x56fbe7,_0x1e6b09){return db[_0x71a3('0xc2')]['find']({'where':{'id':_0x551ef0[_0x71a3('0xc1')]['id']}})[_0x71a3('0x25')](handleEntityNotFound(_0x56fbe7,null))[_0x71a3('0x25')](function(_0x39750a){if(_0x39750a){return _0x39750a[_0x71a3('0x118')](_0x551ef0[_0x71a3('0x4b')][_0x71a3('0x10b')]);}})[_0x71a3('0x25')](respondWithStatusCode(_0x56fbe7,null))[_0x71a3('0x45')](handleError(_0x56fbe7,null));};exports['download']=function(_0xf6d780,_0x4468af){var _0x4d393b=moment()[_0x71a3('0x119')]()[_0x71a3('0xaa')]();var _0x259975=path[_0x71a3('0xe4')](config[_0x71a3('0xe5')],'server',_0x71a3('0x11a'),_0x71a3('0x11b'));var _0x2d2382=path[_0x71a3('0xe4')](config[_0x71a3('0xe5')],_0x71a3('0x11c'),_0x71a3('0x11a'),_0x71a3('0x11d'));var _0x78955e=path[_0x71a3('0xe4')](_0x259975,_0x4d393b);var _0x2688dc=util[_0x71a3('0xe8')]('transcript-%d-%s.zip',_0xf6d780['params']['id'],_0x4d393b);var _0x578a03=path[_0x71a3('0xe4')](_0x259975,_0x2688dc);var _0x572e02=[];_0x572e02[_0x71a3('0x44')]({'model':db[_0x71a3('0x80')],'as':_0x71a3('0x80'),'attributes':['id',_0x71a3('0x40')],'raw':!![]});_0x572e02[_0x71a3('0x44')]({'model':db[_0x71a3('0xee')],'as':_0x71a3('0x73'),'attributes':['id',_0x71a3('0x11e'),_0x71a3('0x11f')],'raw':!![]});if(_0xf6d780[_0x71a3('0x4b')][_0x71a3('0x11d')]){_0x572e02['push']({'model':db[_0x71a3('0xe0')],'as':_0x71a3('0xe0'),'raw':!![]});}var _0x2db7cf=[{'model':db[_0x71a3('0xec')],'as':_0x71a3('0xed'),'attributes':['id',_0x71a3('0x83'),_0x71a3('0x8a'),_0x71a3('0xf9'),_0x71a3('0xfa'),_0x71a3('0x92')],'include':_0x572e02}];_0x2db7cf['push']({'model':db[_0x71a3('0xc7')],'as':_0x71a3('0x120'),'attributes':['id','name']});_0x2db7cf[_0x71a3('0x44')]({'model':db[_0x71a3('0x80')],'as':_0x71a3('0x121'),'attributes':['id',_0x71a3('0x40')]});return db[_0x71a3('0xc2')][_0x71a3('0x6f')]({'where':{'id':_0xf6d780[_0x71a3('0xc1')]['id']},'include':_0x2db7cf})[_0x71a3('0x25')](handleEntityNotFound(_0x4468af,null))[_0x71a3('0x25')](function(_0x307f5f){if(_0x307f5f){var _0x7599d8=_0x307f5f[_0x71a3('0x122')]({'plain':!![]});fs[_0x71a3('0x123')](_0x78955e);var _0x1c4fe2={'format':'A4','border':'10px','header':{'height':'40px','contents':{'first':_0x71a3('0x124')}},'footer':{'height':_0x71a3('0x125'),'contents':{'default':util[_0x71a3('0xe8')]('\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20%s\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{page}}/{{pages}}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20%s\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20',util[_0x71a3('0xe8')](_0x71a3('0x126'),_0x71a3('0x127'),_0x7599d8['id']),moment()[_0x71a3('0xe8')](_0x71a3('0x128'))['toString']())}}};var _0x3ed9ef={'channel':_0x71a3('0x127'),'account':_0x7599d8['Account'][_0x71a3('0x3d')],'agent':_0x7599d8['Owner']?_0x7599d8[_0x71a3('0x121')][_0x71a3('0x40')]:_0x71a3('0x129'),'createdAt':moment(_0x7599d8[_0x71a3('0x8a')])[_0x71a3('0xe8')](_0x71a3('0x10d'))[_0x71a3('0xaa')](),'closedAt':_0x7599d8[_0x71a3('0xd7')]?moment(_0x7599d8[_0x71a3('0x12a')])[_0x71a3('0xe8')](_0x71a3('0x10d'))[_0x71a3('0xaa')]():'','disposition':_0x7599d8[_0x71a3('0xd8')],'chatInfo':{'browser':_0x7599d8[_0x71a3('0x12b')],'os':_0x7599d8[_0x71a3('0x12c')],'referer':_0x7599d8[_0x71a3('0x12d')],'customerIp':_0x7599d8[_0x71a3('0x12e')],'customerPort':_0x7599d8['customerPort']?_0x7599d8[_0x71a3('0x12f')]:'N.A.'},'messages':_(_0x7599d8['Messages'])[_0x71a3('0x130')]()[_0x71a3('0x10c')]({'secret':![]})[_0x71a3('0x3f')](function(_0x542fae){if(_0x542fae[_0x71a3('0xe0')]){var _0x4501bf=path[_0x71a3('0xe4')](_0x2d2382,_0x542fae['Attachment']['basename']);if(fs[_0x71a3('0x131')](_0x4501bf)){fs['createReadStream'](_0x4501bf)['pipe'](fs['createWriteStream'](path[_0x71a3('0xe4')](_0x78955e,_0x542fae['Attachment'][_0x71a3('0xde')])));}}return{'date':moment(_0x542fae[_0x71a3('0x8a')])[_0x71a3('0xe8')]('YYYY-MM-DD\x20HH:mm:ss')[_0x71a3('0xaa')](),'sender':_0x542fae[_0x71a3('0xf9')]===_0x71a3('0xcf')?_0x542fae[_0x71a3('0x80')]?_0x542fae['User'][_0x71a3('0x40')]:_0x71a3('0xf3'):_0x542fae[_0x71a3('0x73')][_0x71a3('0x11e')]+(_0x542fae[_0x71a3('0x73')][_0x71a3('0x11f')]?'\x20'+_0x542fae[_0x71a3('0x73')][_0x71a3('0x11f')]:''),'body':_0x542fae[_0x71a3('0xe0')]?_0x542fae[_0x71a3('0xe0')][_0x71a3('0xde')]:_0x542fae[_0x71a3('0x83')],'direction':_0x542fae[_0x71a3('0xf9')]===_0x71a3('0xcf')?'A':'C','secret':_0x542fae[_0x71a3('0xfa')],'read':_0x542fae['read'],'attachment':_0x542fae[_0x71a3('0xe0')]};})['value']()};return ejs[_0x71a3('0x132')](path['join'](config[_0x71a3('0xe5')],_0x71a3('0x11c'),_0x71a3('0x133'),_0x71a3('0x134')),{'interaction':_0x3ed9ef})[_0x71a3('0x25')](function(_0xbcc05e){return new BPromise(function(_0x13163f,_0x1b557c){pdf[_0x71a3('0xc4')](_0xbcc05e,_0x1c4fe2)[_0x71a3('0x135')](path['join'](_0x78955e,_0x71a3('0x136')+_0x7599d8['id']+'-'+_0x4d393b+_0x71a3('0x137')),function(_0x1286a6,_0x127176){if(_0x1286a6)return _0x1b557c(_0x1286a6);_0x13163f(_0x127176);});});})['then'](function(){return new BPromise(function(_0x5382f2,_0xdf8f1a){zipdir(_0x78955e,{'saveTo':_0x578a03},function(_0x29154f,_0x4d4bff){if(_0x29154f)return _0xdf8f1a(_0x29154f);return _0x5382f2(_0x4d4bff);});})[_0x71a3('0x25')](function(){return new BPromise(function(_0x5d330e,_0x5c55e8){rimraf(_0x78955e,function(_0x5ec5a0){if(_0x5ec5a0)_0x5c55e8(_0x5ec5a0);return _0x5d330e();});});})[_0x71a3('0x25')](function(){return _0x4468af[_0x71a3('0xe3')](_0x578a03,_0x2688dc,function(_0x24e407){if(_0x24e407){console[_0x71a3('0x138')](_0x71a3('0x139'),_0x24e407);}else{fs[_0x71a3('0x13a')](_0x578a03);}});});});}else{return _0x4468af[_0x71a3('0x2e')](0xc8);}})['catch'](handleError(_0x4468af,null));}; \ No newline at end of file +var _0x7880=['parse','$lte','i.createdAt\x20BETWEEN\x20?\x20AND\x20?','null','\x20IS\x20NULL','\x20=\x20?','read','`unreadMessages`\x20=\x200','tag','isArray','CONCAT(\x27,\x27,\x20`TagIds`,\x20\x27,\x27)\x20LIKE\x20?','filter','replace','isNumeric','i.id\x20LIKE\x20?','MATCH\x20(me.body)\x20AGAINST\x20(?\x20IN\x20BOOLEAN\x20MODE)','getFullTextValue','CONCAT(c.firstName,\x20\x27\x20\x27,\x20c.lastName)\x20LIKE\x20?','group','i.id','Sequelize','QueryTypes','clone','SUM(me.read\x20=\x200\x20AND\x20me.direction\x20=\x20\x27in\x27)','DESC','resolve','i.ChatWebsiteId\x20IS\x20NOT\x20NULL','user','getChatWebsites','sequelize','toString','keyBy','merge','a.key','Account.key','a.mandatoryDisposition','Account.mandatoryDisposition','i.*','Contact.firstName','c.lastName','Contact.lastName','c.email','Contact.email','c.mobile','Contact.mobile','c.fax','Contact.fax','o.fullname','Owner.fullname','o.internal','Owner.internal','GROUP_CONCAT(DISTINCT\x20t.id)','ui.ChatInteractionId\x20IN\x20?','groupBy','all','rows','show','includeAll','include','options','create','body','update','params','destroy','describe','createVidaooSession','findOne','ChatWebsite','vidaooApiKey','vidaooEscalation','https://api-vidaoo.xcally.com/api/v1/sessions','MotionCWB:','ValidationError','Error\x20in\x20Vidaoo\x20configuration','join_url','ChatMessage','Unable\x20to\x20create\x20Vidaoo\x20session','updateAttributes','customUpdate','abandonInteraction,\x20%s,\x20%s,\x20%s','abandon','entity\x20not\x20found','disposition','AbandonInteraction','attachmentUpload','file','filename','Attachment','closed','Unauthorized','attachId','download','join','root','server/files/attachments/','basename','close','mailTranscript','server/files/chat/upload/','format','transcript-%s.txt','now','pathTranscript','Messages','CmContact','%s%d','System','customer','Visitor','agentIdentifier','website_alias','agentAlias','fullname','[%s]\x20%s:\x20%s\x0a','createdAt','MM/DD/YYYY\x20HH:mm:ss','direction','secret','appendFileSync','MailServerOut','Smtp','service','host','port','secure','auth','pass','SendMail','sendMail','\x22%s\x22\x20<%s>','email','Mail\x20Transcript','Hi\x20%s,\x20attached\x20you\x20can\x20find\x20your\x20transcript\x20file.\x20\x0a\x0aRegards.\x20\x0a\x0a','addMessage','omit','ids','getMessages','hasOwnProperty','nolimit','ChatInteractionId','$gte','YYYY-MM-DD\x20HH:mm:ss','findAll','getMyMessages','includeAgent','alias','setTags','spread','color','emit','removeTags','server','files','transcript-%d-%s.zip','firstName','lastName','attachments','Account','Owner','get','mkdirSync','10px','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20%s\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{page}}/{{pages}}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20%s\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','%s\x20#%d','Chat','YYYY-MM-DD','N.A.','closedAt','browserName','osName','referer','customerIp','customerPort','tail','existsSync','createReadStream','pipe','createWriteStream','out','downloadInteraction.html','toFile','transcript-','.pdf','err','unlinkSync','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','mustache','util','path','sox','to-csv','ejs','lodash','squel','crypto','jsforce','papaparse','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','../../config/utils','../../config/environment','../../mysqldb','redis','defaults','localhost','./chatInteraction.socket','register','jayson/promise','http','test','The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.','request','ChatInteraction,\x20%s,\x20%s','debug','ChatInteraction,\x20%s,\x20%s,\x20%s','request\x20sent','stringify','error','message','info','result','sendStatus','status','count','offset','set','Content-Range','json','apply','reject','save','then','end','name','send','map','forEach','Tags','push','TagIds','catch','ChatInteraction','rawAttributes','fieldName','type','key','model','query','keys','intersection','fields','attributes','length','limit','order','sort','where','pick','filters','select','field','from','tools_tags','u.id','u.fullname','ui.ChatInteractionId','user_has_chat_interactions','left_join','chat_interactions','cm_contacts','c.id\x20=\x20i.ContactId\x20AND\x20c.deletedAt\x20IS\x20NULL','users','o.id\x20=\x20i.UserId','chat_websites','a.id\x20=\x20i.ChatWebsiteId','chat_messages','chat_interaction_has_tags','it.ChatInteractionId\x20=\x20i.id','t.id\x20=\x20it.TagId','expr','search','conditions','find','unreadMessages','value','`\x20=\x200','having','Contact','operator','$substring','split','MATCH\x20(c.firstName,\x20c.lastName,\x20c.phone,\x20c.mobile,\x20c.fax,\x20c.email)\x20AGAINST\x20(?\x20IN\x20BOOLEAN\x20MODE)','c.firstName\x20LIKE\x20?\x20OR\x20c.lastName\x20LIKE\x20?\x20OR\x20c.email\x20LIKE\x20?','ContactId','text','Tag','User','UserId','buildExpression','start','some','isEmpty','ChatWebsiteId','i.ChatWebsiteId\x20IN\x20?','concat'];(function(_0x3fbfae,_0x5622ca){var _0x5db097=function(_0x1d7629){while(--_0x1d7629){_0x3fbfae['push'](_0x3fbfae['shift']());}};_0x5db097(++_0x5622ca);}(_0x7880,0x1f4));var _0x0788=function(_0x3df1c2,_0x1d32db){_0x3df1c2=_0x3df1c2-0x0;var _0x70d3e8=_0x7880[_0x3df1c2];return _0x70d3e8;};'use strict';var pdf=require('html-pdf');var emlformat=require(_0x0788('0x0'));var rimraf=require(_0x0788('0x1'));var zipdir=require(_0x0788('0x2'));var jsonpatch=require(_0x0788('0x3'));var rp=require(_0x0788('0x4'));var moment=require(_0x0788('0x5'));var BPromise=require('bluebird');var Mustache=require(_0x0788('0x6'));var util=require(_0x0788('0x7'));var path=require(_0x0788('0x8'));var sox=require(_0x0788('0x9'));var csv=require(_0x0788('0xa'));var ejs=require(_0x0788('0xb'));var fs=require('fs');var _=require(_0x0788('0xc'));var squel=require(_0x0788('0xd'));var crypto=require(_0x0788('0xe'));var jsforce=require(_0x0788('0xf'));var deskjs=require('desk.js');var toCsv=require(_0x0788('0xa'));var querystring=require('querystring');var Papa=require(_0x0788('0x10'));var Redis=require('ioredis');var authService=require(_0x0788('0x11'));var qs=require(_0x0788('0x12'));var as=require(_0x0788('0x13'));var hardwareService=require(_0x0788('0x14'));var logger=require(_0x0788('0x15'))('api');var utils=require(_0x0788('0x16'));var config=require(_0x0788('0x17'));var db=require(_0x0788('0x18'))['db'];config[_0x0788('0x19')]=_[_0x0788('0x1a')](config[_0x0788('0x19')],{'host':_0x0788('0x1b'),'port':0x18eb});var socket=require('socket.io-emitter')(new Redis(config[_0x0788('0x19')]));require(_0x0788('0x1c'))[_0x0788('0x1d')](socket);var jayson=require(_0x0788('0x1e'));var client=jayson['client'][_0x0788('0x1f')]({'port':0x232b});var client9004=jayson['client'][_0x0788('0x1f')]({'port':0x232c});function checkPasswordPattern(_0x170d56,_0x3fd1e4,_0xb406fb){if(_0xb406fb){var _0x2ddd1a=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0x2ddd1a[_0x0788('0x20')](_0x3fd1e4)){return _0x170d56;}else{throw new db['Sequelize']['ValidationError'](_0x0788('0x21'));}}else{return _0x170d56;}}function respondWithRpcPromise(_0x461d9d,_0x5b2bdc,_0x654e4b,_0x415f19){return new BPromise(function(_0x17ae59,_0x52c339){var _0x42fe14=_0x415f19||client;return _0x42fe14[_0x0788('0x22')](_0x461d9d,_0x654e4b)['then'](function(_0x11ea01){logger['info'](_0x0788('0x23'),_0x5b2bdc,'request\x20sent');logger[_0x0788('0x24')](_0x0788('0x25'),_0x5b2bdc,_0x0788('0x26'),JSON[_0x0788('0x27')](_0x11ea01));if(_0x11ea01[_0x0788('0x28')]){if(_0x11ea01['error']['code']===0x1f4){logger[_0x0788('0x28')](_0x0788('0x23'),_0x5b2bdc,_0x11ea01[_0x0788('0x28')][_0x0788('0x29')]);return _0x52c339(_0x11ea01['error']['message']);}logger[_0x0788('0x28')](_0x0788('0x23'),_0x5b2bdc,_0x11ea01[_0x0788('0x28')]['message']);return _0x17ae59(_0x11ea01['error'][_0x0788('0x29')]);}else{logger[_0x0788('0x2a')]('ChatInteraction,\x20%s,\x20%s',_0x5b2bdc,'request\x20sent');_0x17ae59(_0x11ea01[_0x0788('0x2b')][_0x0788('0x29')]);}})['catch'](function(_0x286730){logger[_0x0788('0x28')](_0x0788('0x23'),_0x5b2bdc,_0x286730);_0x52c339(_0x286730);});});}function respondWithStatusCode(_0x18fc0e,_0xf9ba32){_0xf9ba32=_0xf9ba32||0xcc;return function(_0xb2f4a5){if(_0xb2f4a5){return _0x18fc0e[_0x0788('0x2c')](_0xf9ba32);}return _0x18fc0e[_0x0788('0x2d')](_0xf9ba32)['end']();};}function respondWithResult(_0x5a5178,_0x3c5246){_0x3c5246=_0x3c5246||0xc8;return function(_0x40d345){if(_0x40d345){return _0x5a5178['status'](_0x3c5246)['json'](_0x40d345);}};}function respondWithFilteredResult(_0x2e2ca8,_0x68658a){return function(_0x20fcd8){if(_0x20fcd8){var _0x436031=_0x20fcd8[_0x0788('0x2e')],_0x44cbfb=_0x68658a[_0x0788('0x2f')],_0x44bff2=_0x68658a[_0x0788('0x2f')]+_0x68658a['limit'],_0x327d67;if(_0x44bff2>=_0x436031){_0x44bff2=_0x436031;_0x327d67=0xc8;}else{_0x327d67=0xce;}_0x2e2ca8[_0x0788('0x2d')](_0x327d67);return _0x2e2ca8[_0x0788('0x30')](_0x0788('0x31'),_0x44cbfb+'-'+_0x44bff2+'/'+_0x436031)[_0x0788('0x32')](_0x20fcd8);}return null;};}function patchUpdates(_0xce4534){return function(_0x458193){try{jsonpatch[_0x0788('0x33')](_0x458193,_0xce4534,!![]);}catch(_0x15d67a){return BPromise[_0x0788('0x34')](_0x15d67a);}return _0x458193[_0x0788('0x35')]();};}function saveUpdates(_0x4fa055,_0x4ae132){return function(_0x5947d3){if(_0x5947d3){return _0x5947d3['update'](_0x4fa055)['then'](function(_0x586a06){return _0x586a06;});}return null;};}function removeEntity(_0x208a89,_0x38a4ae){return function(_0x2130e3){if(_0x2130e3){return _0x2130e3['destroy']()[_0x0788('0x36')](function(){_0x208a89[_0x0788('0x2d')](0xcc)[_0x0788('0x37')]();});}};}function handleEntityNotFound(_0xaea11d,_0x57c4d8){return function(_0x2ed940){if(!_0x2ed940){_0xaea11d['sendStatus'](0x194);}return _0x2ed940;};}function handleError(_0x322465,_0x4fcde3){_0x4fcde3=_0x4fcde3||0x1f4;return function(_0x9d1edb){logger[_0x0788('0x28')](_0x9d1edb['stack']);if(_0x9d1edb[_0x0788('0x38')]){delete _0x9d1edb[_0x0788('0x38')];}_0x322465['status'](_0x4fcde3)[_0x0788('0x39')](_0x9d1edb);};}function getInteractionUsers(_0x5eb693,_0x295024){return new BPromise(function(_0x5576c4,_0x3f3fd6){try{if(_0x295024[_0x5eb693['id']]){_0x5eb693['Users']=_[_0x0788('0x3a')](_0x295024[_0x5eb693['id']],function(_0x57fec9){return{'id':_0x57fec9['id'],'fullname':_0x57fec9['fullname']};});}}catch(_0x3e31f8){_0x3f3fd6(_0x3e31f8);}_0x5576c4(_0x5eb693);});}function getInteractionTags(_0x68d9d4,_0x2e48cf){return new BPromise(function(_0x2d17b0,_0x8cfffc){try{if(_0x68d9d4['TagIds']){_0x68d9d4['Tags']=[];_0x68d9d4['TagIds']['split'](',')[_0x0788('0x3b')](function(_0x1202c4){_0x68d9d4[_0x0788('0x3c')][_0x0788('0x3d')](_0x2e48cf[_0x1202c4]);});}delete _0x68d9d4[_0x0788('0x3e')];}catch(_0x5993ad){_0x8cfffc(_0x5993ad);}_0x2d17b0(_0x68d9d4);});}function updateChatInteraction(_0x4c7833,_0x3d03a4,_0x6770a8){return new BPromise(function(_0x330421,_0x29e09a){return getInteractionUsers(_0x4c7833,_0x6770a8)[_0x0788('0x36')](function(_0x4316aa){return getInteractionTags(_0x4316aa,_0x3d03a4);})[_0x0788('0x36')](function(_0x38ca94){_0x330421(_0x38ca94);})[_0x0788('0x3f')](function(_0x50e8f5){_0x29e09a(_0x50e8f5);});});}exports['index']=function(_0x441aec,_0x1d579d){var _0x9e8ee={},_0x59d658={},_0x5ab353={'count':0x0,'rows':[]};var _0x5048cb=_[_0x0788('0x3a')](db[_0x0788('0x40')][_0x0788('0x41')],function(_0x189d33){return{'name':_0x189d33[_0x0788('0x42')],'type':_0x189d33[_0x0788('0x43')][_0x0788('0x44')]};});_0x59d658[_0x0788('0x45')]=_['map'](_0x5048cb,_0x0788('0x38'));_0x59d658[_0x0788('0x46')]=_[_0x0788('0x47')](_0x441aec[_0x0788('0x46')]);_0x59d658['filters']=_[_0x0788('0x48')](_0x59d658[_0x0788('0x45')],_0x59d658['query']);_0x9e8ee['attributes']=_['intersection'](_0x59d658[_0x0788('0x45')],qs['fields'](_0x441aec[_0x0788('0x46')][_0x0788('0x49')]));_0x9e8ee[_0x0788('0x4a')]=_0x9e8ee[_0x0788('0x4a')][_0x0788('0x4b')]?_0x9e8ee[_0x0788('0x4a')]:_0x59d658[_0x0788('0x45')];if(!_0x441aec[_0x0788('0x46')]['hasOwnProperty']('nolimit')){_0x9e8ee[_0x0788('0x4c')]=qs[_0x0788('0x4c')](_0x441aec[_0x0788('0x46')]['limit']);_0x9e8ee[_0x0788('0x2f')]=qs[_0x0788('0x2f')](_0x441aec[_0x0788('0x46')][_0x0788('0x2f')]);}_0x9e8ee[_0x0788('0x4d')]=qs['sort'](_0x441aec['query'][_0x0788('0x4e')]);_0x9e8ee[_0x0788('0x4f')]=qs['filters'](_[_0x0788('0x50')](_0x441aec['query'],_0x59d658[_0x0788('0x51')]),_0x5048cb);var _0x2460dd=[];var _0x24ab67=squel[_0x0788('0x52')]()[_0x0788('0x53')]('id')[_0x0788('0x53')](_0x0788('0x38'))[_0x0788('0x53')]('color')[_0x0788('0x54')](_0x0788('0x55'));var _0x3f2f1b=squel['select']()[_0x0788('0x53')](_0x0788('0x56'))['field'](_0x0788('0x57'))[_0x0788('0x53')](_0x0788('0x58'))[_0x0788('0x54')](_0x0788('0x59'),'ui')[_0x0788('0x5a')]('users','u','u.id\x20=\x20ui.UserId');var _0x469d5c=squel[_0x0788('0x52')]()['from'](_0x0788('0x5b'),'i')[_0x0788('0x5a')](_0x0788('0x5c'),'c',_0x0788('0x5d'))[_0x0788('0x5a')](_0x0788('0x5e'),'o',_0x0788('0x5f'))[_0x0788('0x5a')](_0x0788('0x60'),'a',_0x0788('0x61'))[_0x0788('0x5a')](_0x0788('0x62'),'me','me.ChatInteractionId\x20=\x20i.id')[_0x0788('0x5a')](_0x0788('0x63'),'it',_0x0788('0x64'))['left_join'](_0x0788('0x55'),'t',_0x0788('0x65'));var _0x531ccf=squel['expr']();var _0x2f997e=[];var _0x26826a=squel[_0x0788('0x66')]();var _0x3f03ff;if(_0x441aec[_0x0788('0x46')][_0x0788('0x67')]){_0x3f03ff=as['parseSearch'](_0x441aec[_0x0788('0x46')][_0x0788('0x67')]);var _0x30a0e0=_0x3f03ff['sqlOperator'];for(var _0x533f71=0x0;_0x533f71<_0x3f03ff[_0x0788('0x68')]['length'];_0x533f71++){var _0x208db3=_0x3f03ff[_0x0788('0x68')][_0x533f71];var _0x223767='i';var _0x13a021=_[_0x0788('0x69')](_0x5048cb,[_0x0788('0x38'),_0x208db3[_0x0788('0x53')]]);if(!_0x13a021){switch(_0x208db3[_0x0788('0x53')]){case _0x0788('0x6a'):if(_0x208db3[_0x0788('0x6b')]==0x1){_0x469d5c['having']('`'+_0x208db3[_0x0788('0x53')]+_0x0788('0x6c'));}else{_0x469d5c[_0x0788('0x6d')]('`'+_0x208db3[_0x0788('0x53')]+'`\x20>\x200');}break;case _0x0788('0x6e'):if(_0x208db3[_0x0788('0x6f')]===_0x0788('0x70')){if(_0x208db3[_0x0788('0x6b')][_0x0788('0x71')]('\x20')['length']>0x1){_0x531ccf[_0x30a0e0](_0x0788('0x72'),qs['getFullTextValue'](_0x208db3[_0x0788('0x6b')]),null);}else{var _0x37089f='%'+_0x208db3[_0x0788('0x6b')]+'%';_0x531ccf[_0x30a0e0](_0x0788('0x73'),_0x37089f,_0x37089f,_0x37089f);}}else{_0x13a021=_[_0x0788('0x69')](_0x5048cb,[_0x0788('0x38'),_0x0788('0x74')]);_0x208db3[_0x0788('0x53')]=_0x0788('0x74');_0x1c50e9=as['buildExpression'](_0x223767,_0x13a021[_0x0788('0x43')],_0x208db3);_0x531ccf[_0x30a0e0](_0x1c50e9[_0x0788('0x75')],_0x1c50e9[_0x0788('0x6b')]['start'],_0x1c50e9['value'][_0x0788('0x37')]);}break;case _0x0788('0x76'):var _0x31ed44=_0x208db3['value'][_0x0788('0x71')](',')[_0x0788('0x3a')](function(_0x1eb4c9){return Number(_0x1eb4c9);});_0x31ed44[_0x0788('0x3b')](function(_0x4d82a5){_0x26826a['or']('CONCAT(\x27,\x27,\x20`TagIds`,\x20\x27,\x27)\x20LIKE\x20?','%,'+_0x4d82a5+',%');});_0x2f997e=_['union'](_0x2f997e,_0x31ed44);break;case _0x0788('0x77'):if(_0x208db3[_0x0788('0x6f')]===_0x0788('0x70')){_0x531ccf[_0x30a0e0]('CONCAT_WS(\x27\x20\x27,\x20o.name,\x20o.fullname)\x20LIKE\x20?','%'+_0x208db3['value']+'%',null);}else{_0x13a021=_[_0x0788('0x69')](_0x5048cb,['name',_0x0788('0x78')]);_0x208db3[_0x0788('0x53')]=_0x0788('0x78');_0x1c50e9=as[_0x0788('0x79')](_0x223767,_0x13a021[_0x0788('0x43')],_0x208db3);_0x531ccf[_0x30a0e0](_0x1c50e9[_0x0788('0x75')],_0x1c50e9[_0x0788('0x6b')][_0x0788('0x7a')],_0x1c50e9[_0x0788('0x6b')][_0x0788('0x37')]);}break;case'body':_0x1c50e9=as[_0x0788('0x79')]('me',null,_0x208db3);_0x531ccf[_0x30a0e0](_0x1c50e9[_0x0788('0x75')],_0x1c50e9['value']['start'],_0x1c50e9[_0x0788('0x6b')][_0x0788('0x37')]);break;}}else{var _0x1c50e9=as[_0x0788('0x79')](_0x223767,_0x13a021[_0x0788('0x43')],_0x208db3);_0x531ccf[_0x30a0e0](_0x1c50e9[_0x0788('0x75')],_0x1c50e9['value'][_0x0788('0x7a')],_0x1c50e9[_0x0788('0x6b')][_0x0788('0x37')]);}}}else{var _0x389e6f=_(_0x441aec['query'])[_0x0788('0x47')]()[_0x0788('0x3a')](function(_0x3f3616){return _[_0x0788('0x7b')](_0x5048cb,['name',_0x3f3616])?_0x3f3616:undefined;})['compact']()[_0x0788('0x6b')]();if(!_[_0x0788('0x7c')](_0x389e6f)){_0x389e6f[_0x0788('0x3b')](function(_0x31df0d){if(_0x31df0d===_0x0788('0x7d')){_0x469d5c[_0x0788('0x4f')](_0x0788('0x7e'),[][_0x0788('0x7f')](_0x441aec[_0x0788('0x46')][_0x31df0d]));}else if(_0x31df0d==='createdAt'){var _0x11dbf9=JSON[_0x0788('0x80')](_0x441aec[_0x0788('0x46')][_0x31df0d])['$gte'];var _0x534a21=JSON[_0x0788('0x80')](_0x441aec['query'][_0x31df0d])[_0x0788('0x81')];_0x469d5c[_0x0788('0x4f')](_0x0788('0x82'),_0x11dbf9,_0x534a21);}else{if(_0x441aec[_0x0788('0x46')][_0x31df0d]===_0x0788('0x83')){_0x469d5c[_0x0788('0x4f')]('i.'+_0x31df0d+_0x0788('0x84'));}else{_0x469d5c[_0x0788('0x4f')]('i.'+_0x31df0d+_0x0788('0x85'),_0x441aec['query'][_0x31df0d]);}}});}if(_0x441aec[_0x0788('0x46')][_0x0788('0x86')]){if(_0x441aec[_0x0788('0x46')]['read']==0x1){_0x469d5c[_0x0788('0x6d')](_0x0788('0x87'));}else{_0x469d5c[_0x0788('0x6d')]('`unreadMessages`\x20>\x200');}}if(_0x441aec[_0x0788('0x46')][_0x0788('0x88')]){_0x2f997e=_[_0x0788('0x89')](_0x441aec[_0x0788('0x46')][_0x0788('0x88')])?_0x441aec[_0x0788('0x46')][_0x0788('0x88')]:new Array(_0x441aec[_0x0788('0x46')][_0x0788('0x88')]);_0x2f997e['forEach'](function(_0x471b3a){_0x26826a['or'](_0x0788('0x8a'),'%,'+_0x471b3a+',%');});}if(_0x441aec[_0x0788('0x46')][_0x0788('0x8b')]){var _0x251072=_0x441aec['query'][_0x0788('0x8b')][_0x0788('0x8c')]('\x5c','\x5c\x5c')[_0x0788('0x8c')]('\x27\x27','\x27\x27\x27\x27');if(qs[_0x0788('0x8d')](_0x251072)){_0x531ccf['or'](_0x0788('0x8e'),_0x251072+'%');}else{_0x531ccf['or'](_0x0788('0x8f'),qs[_0x0788('0x90')](_0x251072))['or'](_0x0788('0x91'),_0x251072+'%');}}}_0x469d5c['where'](_0x531ccf);_0x469d5c[_0x0788('0x92')](_0x0788('0x93'));var _0x523ab4={'type':db[_0x0788('0x94')][_0x0788('0x95')]['SELECT'],'raw':!![]};var _0xc597d7=_0x469d5c[_0x0788('0x96')]();_0xc597d7[_0x0788('0x53')]('i.id');_0xc597d7[_0x0788('0x53')](_0x0788('0x97'),_0x0788('0x6a'));if(_0x9e8ee['order']){_0x9e8ee[_0x0788('0x4d')][_0x0788('0x3b')](function(_0x197e1a){_0x469d5c[_0x0788('0x4d')]('i.'+_0x197e1a[0x0],_0x197e1a[0x1]===_0x0788('0x98')?![]:!![]);});}if(!_[_0x0788('0x7c')](_0x2f997e)){_0x469d5c[_0x0788('0x6d')](_0x26826a);_0xc597d7[_0x0788('0x4f')]('t.id\x20IN\x20?',_0x2f997e);}BPromise[_0x0788('0x99')]()[_0x0788('0x36')](function(){if(!_0x3f03ff){if(_0x441aec[_0x0788('0x46')][_0x0788('0x7d')]||_0x441aec['query']['journey'])return;_0xc597d7[_0x0788('0x4f')](_0x0788('0x9a'));_0x469d5c['where'](_0x0788('0x9a'));return;}return _0x441aec[_0x0788('0x9b')][_0x0788('0x9c')]({'attributes':['id'],'raw':!![]})['then'](function(_0x58a6cd){if(_[_0x0788('0x7c')](_0x58a6cd)){_0xc597d7[_0x0788('0x4f')]('i.ChatWebsiteId\x20IS\x20NULL');_0x469d5c['where']('i.ChatWebsiteId\x20IS\x20NULL');}else{_0xc597d7[_0x0788('0x4f')](_0x0788('0x7e'),_['map'](_0x58a6cd,'id'));_0x469d5c[_0x0788('0x4f')](_0x0788('0x7e'),_[_0x0788('0x3a')](_0x58a6cd,'id'));}});})[_0x0788('0x36')](function(){db[_0x0788('0x9d')]['query'](_0xc597d7[_0x0788('0x9e')](),_0x523ab4)['then'](function(_0x2e1d76){_0x5ab353['count']=_0x2e1d76[_0x0788('0x4b')];if(_0x5ab353[_0x0788('0x2e')]===0x0)return[];return db[_0x0788('0x9d')][_0x0788('0x46')](_0x24ab67[_0x0788('0x9e')](),_0x523ab4)[_0x0788('0x36')](function(_0x10fd8d){_0x2460dd=_[_0x0788('0x9f')](_0x10fd8d,'id');_0x523ab4=_[_0x0788('0xa0')](_0x523ab4,{'model':db[_0x0788('0x40')],'mapToModel':!![],'raw':!![],'nest':!![]});if(_0x441aec[_0x0788('0x46')][_0x0788('0x49')]){_0x9e8ee[_0x0788('0x4a')]['forEach'](function(_0x55fe55){_0x469d5c['field']('i.'+_0x55fe55);});}else{_0x469d5c[_0x0788('0x53')](_0x0788('0x97'),_0x0788('0x6a'));_0x469d5c[_0x0788('0x53')](_0x0788('0xa1'),_0x0788('0xa2'));_0x469d5c[_0x0788('0x53')](_0x0788('0xa3'),_0x0788('0xa4'));_0x469d5c[_0x0788('0x53')](_0x0788('0xa5'));_0x469d5c['field']('c.firstName',_0x0788('0xa6'));_0x469d5c[_0x0788('0x53')](_0x0788('0xa7'),_0x0788('0xa8'));_0x469d5c[_0x0788('0x53')](_0x0788('0xa9'),_0x0788('0xaa'));_0x469d5c[_0x0788('0x53')]('c.phone','Contact.phone');_0x469d5c[_0x0788('0x53')](_0x0788('0xab'),_0x0788('0xac'));_0x469d5c[_0x0788('0x53')](_0x0788('0xad'),_0x0788('0xae'));_0x469d5c['field'](_0x0788('0xaf'),_0x0788('0xb0'));_0x469d5c[_0x0788('0x53')](_0x0788('0xb1'),_0x0788('0xb2'));_0x469d5c[_0x0788('0x53')](_0x0788('0xb3'),_0x0788('0x3e'));}if(_0x9e8ee[_0x0788('0x4c')])_0x469d5c['limit'](_0x9e8ee[_0x0788('0x4c')]);if(_0x9e8ee[_0x0788('0x2f')])_0x469d5c[_0x0788('0x2f')](_0x9e8ee[_0x0788('0x2f')]);return db[_0x0788('0x9d')][_0x0788('0x46')](_0x469d5c['toString'](),_0x523ab4);})[_0x0788('0x36')](function(_0x6d8a42){_0x3f2f1b[_0x0788('0x4f')](_0x0788('0xb4'),_[_0x0788('0x3a')](_0x6d8a42,'id'));return db[_0x0788('0x9d')][_0x0788('0x46')](_0x3f2f1b[_0x0788('0x9e')](),_0x523ab4)[_0x0788('0x36')](function(_0x9e76de){var _0x5192f3=_[_0x0788('0xb5')](_0x9e76de,'ChatInteractionId');var _0x275ad2=[];_0x6d8a42['forEach'](function(_0x223ff3){_0x275ad2['push'](updateChatInteraction(_0x223ff3,_0x2460dd,_0x5192f3));});return BPromise[_0x0788('0xb6')](_0x275ad2);});});})[_0x0788('0x36')](function(_0x1f1f92){_0x5ab353[_0x0788('0xb7')]=_0x1f1f92;return _0x5ab353;})['then'](respondWithFilteredResult(_0x1d579d,_0x9e8ee));})[_0x0788('0x3f')](handleError(_0x1d579d,null));};exports[_0x0788('0xb8')]=function(_0x189556,_0x48943b){var _0x682e9f={'raw':![],'where':{'id':_0x189556['params']['id']}},_0x372c4f={};_0x372c4f[_0x0788('0x45')]=_[_0x0788('0x47')](db[_0x0788('0x40')][_0x0788('0x41')]);_0x372c4f[_0x0788('0x46')]=_[_0x0788('0x47')](_0x189556[_0x0788('0x46')]);_0x372c4f['filters']=_[_0x0788('0x48')](_0x372c4f[_0x0788('0x45')],_0x372c4f[_0x0788('0x46')]);_0x682e9f[_0x0788('0x4a')]=_[_0x0788('0x48')](_0x372c4f[_0x0788('0x45')],qs[_0x0788('0x49')](_0x189556[_0x0788('0x46')]['fields']));_0x682e9f['attributes']=_0x682e9f[_0x0788('0x4a')][_0x0788('0x4b')]?_0x682e9f[_0x0788('0x4a')]:_0x372c4f[_0x0788('0x45')];if(_0x189556[_0x0788('0x46')][_0x0788('0xb9')]){_0x682e9f[_0x0788('0xba')]=[{'all':!![]}];}_0x682e9f=_['merge']({},_0x682e9f,_0x189556[_0x0788('0xbb')]);return db['ChatInteraction']['find'](_0x682e9f)[_0x0788('0x36')](handleEntityNotFound(_0x48943b,null))[_0x0788('0x36')](respondWithResult(_0x48943b,null))['catch'](handleError(_0x48943b,null));};exports[_0x0788('0xbc')]=function(_0x66474b,_0x28d0f8){return db[_0x0788('0x40')][_0x0788('0xbc')](_0x66474b[_0x0788('0xbd')],{})['then'](respondWithResult(_0x28d0f8,0xc9))[_0x0788('0x3f')](handleError(_0x28d0f8,null));};exports[_0x0788('0xbe')]=function(_0x5018e5,_0x1bb569){if(_0x5018e5[_0x0788('0xbd')]['id']){delete _0x5018e5['body']['id'];}return db[_0x0788('0x40')][_0x0788('0x69')]({'where':{'id':_0x5018e5[_0x0788('0xbf')]['id']}})[_0x0788('0x36')](handleEntityNotFound(_0x1bb569,null))[_0x0788('0x36')](saveUpdates(_0x5018e5[_0x0788('0xbd')],null))[_0x0788('0x36')](respondWithResult(_0x1bb569,null))['catch'](handleError(_0x1bb569,null));};exports[_0x0788('0xc0')]=function(_0x2e0529,_0x1f9944){return db[_0x0788('0x40')]['find']({'where':{'id':_0x2e0529[_0x0788('0xbf')]['id']}})[_0x0788('0x36')](handleEntityNotFound(_0x1f9944,null))['then'](removeEntity(_0x1f9944,null))['catch'](handleError(_0x1f9944,null));};exports[_0x0788('0xc1')]=function(_0x15a70b,_0x7620af){return db[_0x0788('0x40')][_0x0788('0xc1')]()[_0x0788('0x36')](respondWithResult(_0x7620af,null))['catch'](handleError(_0x7620af,null));};exports[_0x0788('0xc2')]=function(_0x38e809,_0x1d25bf){var _0x205edb=_0x38e809[_0x0788('0xbf')]['id'];var _0x2b2e49;var _0xc5e64a;var _0x3539d4;return db[_0x0788('0x40')][_0x0788('0xc3')]({'where':{'id':_0x205edb}})[_0x0788('0x36')](function(_0x2297ab){_0x2b2e49=_0x2297ab;return db[_0x0788('0xc4')][_0x0788('0xc3')]({'where':{'id':_0x2297ab[_0x0788('0x7d')]},'attributes':['id',_0x0788('0xc5'),_0x0788('0xc6')],'raw':!![]});})['then'](function(_0x4086c1){if(_0x4086c1&&_0x4086c1[_0x0788('0xc5')]&&_0x4086c1[_0x0788('0xc6')]){_0xc5e64a=_0x4086c1;var _0x3082a2={'rejectUnauthorized':![],'method':'POST','uri':_0x0788('0xc7'),'headers':{'X-APIKEY':_0x4086c1['vidaooApiKey']},'body':{'name':_0x0788('0xc8')+_0x205edb},'redirect':'follow','json':!![]};return rp(_0x3082a2);}else{throw new db['Sequelize'][(_0x0788('0xc9'))](_0x0788('0xca'));}})['then'](function(_0x605f17){_0x3539d4=_0x605f17;if(_0x3539d4['id']){var _0x522e02={'body':_0x3539d4[_0x0788('0xcb')],'ChatWebsiteId':_0xc5e64a['id'],'ChatInteractionId':_0x2b2e49['id'],'direction':'out','UserId':_0x38e809[_0x0788('0x9b')]['id']};return db[_0x0788('0xcc')][_0x0788('0xbc')](_0x522e02,{});}else{throw new db[(_0x0788('0x94'))][(_0x0788('0xc9'))](_0x0788('0xcd'));}})['then'](function(){return _0x2b2e49[_0x0788('0xce')]({'vidaooSessionId':_0x3539d4['id']});})['then'](respondWithResult(_0x1d25bf,null))[_0x0788('0x3f')](handleError(_0x1d25bf,null));};exports[_0x0788('0xcf')]=function(_0x4bcb7f,_0x4a5fd1){if(_0x4bcb7f['body']['id']){delete _0x4bcb7f[_0x0788('0xbd')]['id'];}return db['ChatInteraction']['find']({'where':{'id':_0x4bcb7f['params']['id']}})['then'](handleEntityNotFound(_0x4a5fd1,null))['then'](saveUpdates(_0x4bcb7f['body'],null))[_0x0788('0x36')](respondWithResult(_0x4a5fd1,null))[_0x0788('0x3f')](handleError(_0x4a5fd1,null));};exports['abandon']=function(_0xb1ba95,_0x548e72,_0x159ebe){if(_0xb1ba95['body']['id']){delete _0xb1ba95[_0x0788('0xbd')]['id'];}return db[_0x0788('0x40')][_0x0788('0x69')]({'where':{'id':_0xb1ba95[_0x0788('0xbf')]['id']}})[_0x0788('0x36')](function(_0x36faf2){if(!_0x36faf2){logger[_0x0788('0x28')](_0x0788('0xd0'),_0x0788('0xd1'),0x194,_0x0788('0xd2'));_0x548e72['sendStatus'](0x194);}else{if(_0x36faf2[_0x0788('0x78')]){throw new db['Sequelize'][(_0x0788('0xc9'))]('Interaction\x20already\x20assigned');}}return _0x36faf2;})['then'](function(_0x14d0f5){if(_0x14d0f5){return _0x14d0f5[_0x0788('0xbe')]({'closed':_0xb1ba95[_0x0788('0xbd')]['closed'],'disposition':_0xb1ba95[_0x0788('0xbd')][_0x0788('0xd3')]})['then'](function(_0x5eb313){return _0x5eb313;});}})[_0x0788('0x36')](function(_0x1a25e2){return respondWithRpcPromise(_0x0788('0xd4'),'abandon',_0xb1ba95['body'],client9004);})[_0x0788('0x36')](respondWithResult(_0x548e72,null))[_0x0788('0x3f')](handleError(_0x548e72,null));};exports[_0x0788('0xd5')]=function(_0xe288b6,_0x232838,_0x38adf0){_0xe288b6[_0x0788('0xbd')][_0x0788('0x38')]=_0xe288b6[_0x0788('0xd6')]['originalname'];_0xe288b6[_0x0788('0xbd')]['basename']=_0xe288b6[_0x0788('0xd6')][_0x0788('0xd7')];_0xe288b6[_0x0788('0xbd')][_0x0788('0x43')]=_0xe288b6[_0x0788('0xd6')]['mimetype'];return db[_0x0788('0xd8')][_0x0788('0xbc')](_0xe288b6['body'])[_0x0788('0x36')](respondWithResult(_0x232838,0xc9))[_0x0788('0x3f')](handleError(_0x232838,null));};exports['attachmentDownload']=function(_0x1c9b6f,_0x58c663,_0x208d3f){return db[_0x0788('0x40')]['findOne']({'where':{'id':_0x1c9b6f[_0x0788('0xbf')]['id']},'raw':!![]})[_0x0788('0x36')](handleEntityNotFound(_0x58c663,null))[_0x0788('0x36')](function(_0x3f0723){if(_0x3f0723){if(_0x3f0723[_0x0788('0xd9')]){return _0x58c663[_0x0788('0x2d')](0x193)[_0x0788('0x32')]({'status':0x193,'message':_0x0788('0xda')});}return db['Attachment'][_0x0788('0xc3')]({'where':{'id':_0x1c9b6f[_0x0788('0x46')][_0x0788('0xdb')]},'raw':!![]})['then'](handleEntityNotFound(_0x58c663,null));}})['then'](function(_0x18afac){if(_0x18afac){return _0x58c663[_0x0788('0xdc')](path[_0x0788('0xdd')](config[_0x0788('0xde')],_0x0788('0xdf'),_0x18afac[_0x0788('0xe0')]));}})['catch'](handleError(_0x58c663,null));};exports[_0x0788('0xe1')]=function(_0x227eaf,_0x1d8579){var _0x2d6b04=null;var _0x3f490b=null;var _0x40f815=null;var _0x308258=null;if(_0x227eaf[_0x0788('0xbd')]['id']){delete _0x227eaf[_0x0788('0xbd')]['id'];}if(_0x227eaf[_0x0788('0xbd')][_0x0788('0xe2')]){_0x308258=path[_0x0788('0xdd')](config[_0x0788('0xde')],_0x0788('0xe3'),util[_0x0788('0xe4')](_0x0788('0xe5'),Date[_0x0788('0xe6')]()));_0x227eaf[_0x0788('0xbd')][_0x0788('0xe7')]=_0x308258;}return db[_0x0788('0x40')][_0x0788('0x69')]({'where':{'id':_0x227eaf['params']['id']},'include':[{'model':db[_0x0788('0xcc')],'as':_0x0788('0xe8'),'include':[{'model':db[_0x0788('0x77')],'as':_0x0788('0x77')}]}]})['then'](handleEntityNotFound(_0x1d8579,null))[_0x0788('0x36')](saveUpdates(_0x227eaf[_0x0788('0xbd')],null))['then'](function(_0xb63553){if(_0xb63553){_0x2d6b04=_0xb63553;return db['ChatWebsite']['find']({'where':{'id':_0x2d6b04['ChatWebsiteId']}});}})['then'](function(_0x44ca9d){if(_0x44ca9d){_0x40f815=_0x44ca9d;return db[_0x0788('0xe9')][_0x0788('0x69')]({'where':{'id':_0x2d6b04[_0x0788('0x74')]}});}})[_0x0788('0x36')](function(_0x43fd23){if(_0x43fd23){_0x3f490b=_0x43fd23;if(_0x308258){var _0x1e6a42=null;for(var _0x261262=0x1;_0x261262<_0x2d6b04[_0x0788('0xe8')][_0x0788('0x4b')];++_0x261262){_0x1e6a42=_0x2d6b04[_0x0788('0xe8')][_0x261262];var _0x1d0351=_0x1e6a42['UserId']?util[_0x0788('0xe4')](_0x0788('0xea'),_0x40f815['agentAlias'],_0x1e6a42[_0x0788('0x78')]):_0x0788('0xeb');var _0xd56859=_0x227eaf[_0x0788('0xbd')][_0x0788('0xec')]||util[_0x0788('0xe4')](_0x0788('0xea'),_0x0788('0xed'),_0x1e6a42[_0x0788('0x74')]);switch(_0x40f815[_0x0788('0xee')]){case _0x0788('0xef'):_0x1d0351=_0x1e6a42[_0x0788('0x78')]?util[_0x0788('0xe4')]('%s%d',_0x40f815[_0x0788('0xf0')],_0x1e6a42[_0x0788('0x78')]):'System';break;case'agent_alias':_0x1d0351=_0x1e6a42[_0x0788('0x78')]?_0x1e6a42[_0x0788('0x77')]['alias']||_0x1e6a42[_0x0788('0x77')][_0x0788('0xf1')]:_0x0788('0xeb');break;case'agent_fullname':_0x1d0351=_0x1e6a42['UserId']?_0x1e6a42[_0x0788('0x77')][_0x0788('0xf1')]:'System';break;default:_0x1d0351=_0x1e6a42['UserId']?util[_0x0788('0xe4')](_0x0788('0xea'),_0x40f815['agentAlias'],_0x1e6a42['UserId']):_0x0788('0xeb');}var _0x26d0c6=util['format'](_0x0788('0xf2'),moment(_0x1e6a42[_0x0788('0xf3')])['format'](_0x0788('0xf4')),_0x1e6a42[_0x0788('0xf5')]==='in'?_0xd56859:_0x1d0351,_0x1e6a42[_0x0788('0xbd')]);if(!_0x1e6a42[_0x0788('0xf6')]){fs[_0x0788('0xf7')](_0x308258,_0x26d0c6);}}return db['MailAccount'][_0x0788('0xc3')]({'where':{'service':!![]},'include':[{'model':db[_0x0788('0xf8')],'as':_0x0788('0xf9'),'raw':!![]}]});}}})[_0x0788('0x36')](function(_0x11e5d8){if(_0x11e5d8&&_0x11e5d8['Smtp']&&_0x227eaf[_0x0788('0xbd')]){var _0x59aece={'tls':{'rejectUnauthorized':![]}};if(_0x11e5d8['Smtp'][_0x0788('0xfa')]){_0x59aece[_0x0788('0xfa')]=_0x11e5d8[_0x0788('0xf9')][_0x0788('0xfa')];}else{_0x59aece['host']=_0x11e5d8[_0x0788('0xf9')][_0x0788('0xfb')];_0x59aece[_0x0788('0xfc')]=_0x11e5d8['Smtp'][_0x0788('0xfc')];_0x59aece[_0x0788('0xfd')]=_0x11e5d8[_0x0788('0xf9')][_0x0788('0xfd')];}if(_0x11e5d8[_0x0788('0xf9')]['authentication']){_0x59aece[_0x0788('0xfe')]={'user':_0x11e5d8['Smtp'][_0x0788('0x9b')],'pass':_0x11e5d8[_0x0788('0xf9')][_0x0788('0xff')]};}return respondWithRpcPromise(_0x0788('0x100'),_0x0788('0x101'),{'account':_0x59aece,'message':{'from':util['format'](_0x0788('0x102'),_0x11e5d8['name'],_0x11e5d8[_0x0788('0x103')]||_0x11e5d8['Smtp'][_0x0788('0x9b')]),'to':_0x227eaf[_0x0788('0xbd')]['mailTranscript'],'subject':_0x0788('0x104'),'text':util[_0x0788('0xe4')](_0x0788('0x105'),_0x227eaf[_0x0788('0xbd')][_0x0788('0xe2')]),'attachments':[{'path':_0x308258}]}})[_0x0788('0x36')](function(){return _0x2d6b04;})[_0x0788('0x3f')](function(_0x42ff31){console[_0x0788('0x28')](_0x42ff31);});}else{return _0x2d6b04;}})[_0x0788('0x36')](respondWithStatusCode(_0x1d8579,0xc8))[_0x0788('0x3f')](handleError(_0x1d8579,null));};exports['addMessage']=function(_0x303d5,_0x566456,_0x1943a8){return db['ChatMessage'][_0x0788('0x69')]({'where':{'id':_0x303d5[_0x0788('0xbf')]['id']}})['then'](handleEntityNotFound(_0x566456,null))['then'](function(_0x57dd82){if(_0x57dd82){return _0x57dd82[_0x0788('0x106')](_0x303d5['body']['ids'],_[_0x0788('0x107')](_0x303d5[_0x0788('0xbd')],[_0x0788('0x108'),'id'])||{});}})['then'](respondWithResult(_0x566456,null))[_0x0788('0x3f')](handleError(_0x566456,null));};exports[_0x0788('0x109')]=function(_0x14420b,_0x4bb05f,_0x4eb8d9){var _0x1c61ca={'raw':![],'where':{}};var _0x1061d3={};var _0xdde01a={'count':0x0,'rows':[]};return db['ChatInteraction'][_0x0788('0xc3')]({'where':{'id':_0x14420b[_0x0788('0xbf')]['id']}})[_0x0788('0x36')](handleEntityNotFound(_0x4bb05f,null))['then'](function(_0x5c994b){if(_0x5c994b){_0x1061d3[_0x0788('0x45')]=_['keys'](db[_0x0788('0xcc')][_0x0788('0x41')]);_0x1061d3['query']=_['keys'](_0x14420b[_0x0788('0x46')]);_0x1061d3[_0x0788('0x51')]=_['intersection'](_0x1061d3[_0x0788('0x45')],_0x1061d3[_0x0788('0x46')]);_0x1c61ca['attributes']=_[_0x0788('0x48')](_0x1061d3[_0x0788('0x45')],qs[_0x0788('0x49')](_0x14420b[_0x0788('0x46')]['fields']));_0x1c61ca[_0x0788('0x4a')]=_0x1c61ca[_0x0788('0x4a')][_0x0788('0x4b')]?_0x1c61ca[_0x0788('0x4a')]:_0x1061d3[_0x0788('0x45')];if(!_0x14420b[_0x0788('0x46')][_0x0788('0x10a')](_0x0788('0x10b'))){_0x1c61ca[_0x0788('0x4c')]=qs['limit'](_0x14420b[_0x0788('0x46')][_0x0788('0x4c')]);_0x1c61ca['offset']=qs[_0x0788('0x2f')](_0x14420b[_0x0788('0x46')]['offset']);}_0x1c61ca['order']=qs[_0x0788('0x4e')](_0x14420b[_0x0788('0x46')][_0x0788('0x4e')]);_0x1c61ca['where']=qs[_0x0788('0x51')](_[_0x0788('0x50')](_0x14420b[_0x0788('0x46')],_0x1061d3['filters']));_0x1c61ca[_0x0788('0x4f')][_0x0788('0x10c')]=_0x5c994b['id'];if(_0x14420b['query']['filter']){_0x1c61ca['where']=_[_0x0788('0xa0')](_0x1c61ca[_0x0788('0x4f')],{'$or':_[_0x0788('0x3a')](_0x1c61ca[_0x0788('0x4a')],function(_0x364f26){var _0x351665={};_0x351665[_0x364f26]={'$like':'%'+_0x14420b[_0x0788('0x46')]['filter']+'%'};return _0x351665;})});}if(_0x14420b['query'][_0x0788('0x10d')]){var _0x1aeb20=_0x14420b[_0x0788('0x46')]['$gte'][_0x0788('0x71')](',');var _0x1c7980={};_0x1c7980[_0x1aeb20[0x0]]={'$gte':moment(_0x1aeb20[0x1])[_0x0788('0xe4')](_0x0788('0x10e'))};_0x1c61ca['where']=_['merge'](_0x1c61ca[_0x0788('0x4f')],_0x1c7980);}_0x1c61ca=_[_0x0788('0xa0')]({},_0x1c61ca,_0x14420b[_0x0788('0xbb')]);return db[_0x0788('0xcc')][_0x0788('0x2e')]({'where':_0x1c61ca[_0x0788('0x4f')]})[_0x0788('0x36')](function(_0x2cde50){_0xdde01a[_0x0788('0x2e')]=_0x2cde50;if(_0x14420b['query'][_0x0788('0xb9')]){_0x1c61ca[_0x0788('0xba')]=[{'all':!![]}];}return db[_0x0788('0xcc')][_0x0788('0x10f')](_0x1c61ca);})[_0x0788('0x36')](function(_0x5cd964){_0xdde01a[_0x0788('0xb7')]=_0x5cd964;return _0xdde01a;});}})['then'](respondWithFilteredResult(_0x4bb05f,_0x1c61ca))[_0x0788('0x3f')](handleError(_0x4bb05f,null));};exports[_0x0788('0x110')]=function(_0x3a02ea,_0x548497,_0x51c161){var _0x243f07={'where':{}},_0x1493cd={},_0x194161={'count':0x0,'rows':[]};return db[_0x0788('0x40')]['findOne']({'where':{'id':_0x3a02ea['params']['id']}})['then'](handleEntityNotFound(_0x548497,null))[_0x0788('0x36')](function(_0xd1873f){if(_0xd1873f){_0x1493cd[_0x0788('0x45')]=_[_0x0788('0x47')](db[_0x0788('0xcc')][_0x0788('0x41')]);_0x1493cd[_0x0788('0x46')]=_['keys'](_0x3a02ea[_0x0788('0x46')]);_0x1493cd[_0x0788('0x51')]=_[_0x0788('0x48')](_0x1493cd[_0x0788('0x45')],_0x1493cd['query']);_0x243f07[_0x0788('0x4a')]=_[_0x0788('0x48')](_0x1493cd[_0x0788('0x45')],qs[_0x0788('0x49')](_0x3a02ea[_0x0788('0x46')][_0x0788('0x49')]));_0x243f07[_0x0788('0x4a')]=_0x243f07[_0x0788('0x4a')][_0x0788('0x4b')]?_0x243f07[_0x0788('0x4a')]:_0x1493cd[_0x0788('0x45')];if(!_0x3a02ea[_0x0788('0x46')][_0x0788('0x10a')](_0x0788('0x10b'))){_0x243f07[_0x0788('0x4c')]=qs['limit'](_0x3a02ea[_0x0788('0x46')]['limit']);_0x243f07[_0x0788('0x2f')]=qs[_0x0788('0x2f')](_0x3a02ea[_0x0788('0x46')][_0x0788('0x2f')]);}_0x243f07[_0x0788('0x4d')]=qs[_0x0788('0x4e')](_0x3a02ea[_0x0788('0x46')]['sort']);_0x243f07[_0x0788('0x4f')]=qs[_0x0788('0x51')](_['pick'](_0x3a02ea[_0x0788('0x46')],_0x1493cd[_0x0788('0x51')]));_0x243f07[_0x0788('0x4f')]['ChatInteractionId']=_0xd1873f['id'];if(_0x3a02ea['query'][_0x0788('0x8b')]){_0x243f07[_0x0788('0x4f')]=_['merge'](_0x243f07['where'],{'$or':_[_0x0788('0x3a')](_0x243f07['attributes'],function(_0x114658){var _0x4b11b9={};_0x4b11b9[_0x114658]={'$like':'%'+_0x3a02ea[_0x0788('0x46')][_0x0788('0x8b')]+'%'};return _0x4b11b9;})});}_0x243f07[_0x0788('0x4f')][_0x0788('0xf6')]=![];if(_0x3a02ea['query']['id']){_0x243f07['where']['id']={'$gt':_0x3a02ea[_0x0788('0x46')]['id']};}_0x243f07=_[_0x0788('0xa0')]({},_0x243f07,_0x3a02ea[_0x0788('0xbb')]);return db[_0x0788('0xcc')]['count']({'where':_0x243f07[_0x0788('0x4f')]})[_0x0788('0x36')](function(_0x5242c){_0x194161[_0x0788('0x2e')]=_0x5242c;_0x243f07['include']=[];if(_0x3a02ea[_0x0788('0x46')][_0x0788('0x111')]){_0x243f07['include'][_0x0788('0x3d')]({'model':db[_0x0788('0x77')],'as':_0x0788('0x77'),'attributes':['id',_0x0788('0xf1'),_0x0788('0x112')]});}if(_0x3a02ea[_0x0788('0x46')]['includeAll']){_0x243f07[_0x0788('0xba')]=[{'all':!![]}];}return db[_0x0788('0xcc')][_0x0788('0x10f')](_0x243f07);})[_0x0788('0x36')](function(_0x500c44){_0x194161[_0x0788('0xb7')]=_0x500c44;return _0x194161;});}})['then'](respondWithFilteredResult(_0x548497,_0x243f07))[_0x0788('0x3f')](handleError(_0x548497,null));};exports['addTags']=function(_0x572fb4,_0x2acb1b,_0xfb3151){return db[_0x0788('0x40')][_0x0788('0x69')]({'where':{'id':_0x572fb4[_0x0788('0xbf')]['id']}})[_0x0788('0x36')](handleEntityNotFound(_0x2acb1b,null))[_0x0788('0x36')](function(_0xe52377){if(_0xe52377){return _0xe52377[_0x0788('0x113')](_0x572fb4[_0x0788('0xbd')]['ids'],_['omit'](_0x572fb4['body'],[_0x0788('0x108'),'id'])||{})[_0x0788('0x114')](function(){return db[_0x0788('0x76')][_0x0788('0x10f')]({'attributes':['id',_0x0788('0x38'),_0x0788('0x115')],'where':{'id':_0x572fb4[_0x0788('0xbd')][_0x0788('0x108')]}});})['then'](function(_0x2272a){socket[_0x0788('0x116')]('chatInteractionTags:save',{'id':Number(_0x572fb4[_0x0788('0xbf')]['id']),'tags':_0x2272a||[]});return{'id':Number(_0x572fb4[_0x0788('0xbf')]['id']),'tags':_0x2272a||[]};});}})[_0x0788('0x36')](respondWithResult(_0x2acb1b,null))['catch'](handleError(_0x2acb1b,null));};exports[_0x0788('0x117')]=function(_0x177510,_0x35c648,_0x1cecc0){return db[_0x0788('0x40')][_0x0788('0x69')]({'where':{'id':_0x177510[_0x0788('0xbf')]['id']}})[_0x0788('0x36')](handleEntityNotFound(_0x35c648,null))[_0x0788('0x36')](function(_0x1edbc1){if(_0x1edbc1){return _0x1edbc1[_0x0788('0x117')](_0x177510[_0x0788('0x46')][_0x0788('0x108')]);}})[_0x0788('0x36')](respondWithStatusCode(_0x35c648,null))[_0x0788('0x3f')](handleError(_0x35c648,null));};exports['download']=function(_0x3ff46a,_0x45f499){var _0x3953ec=moment()['unix']()[_0x0788('0x9e')]();var _0x2730ff=path[_0x0788('0xdd')](config['root'],_0x0788('0x118'),_0x0788('0x119'),'tmp');var _0xa44dc3=path[_0x0788('0xdd')](config[_0x0788('0xde')],'server',_0x0788('0x119'),'attachments');var _0x4d5e94=path[_0x0788('0xdd')](_0x2730ff,_0x3953ec);var _0x41c572=util[_0x0788('0xe4')](_0x0788('0x11a'),_0x3ff46a['params']['id'],_0x3953ec);var _0x42f2d6=path[_0x0788('0xdd')](_0x2730ff,_0x41c572);var _0x57a3b8=[];_0x57a3b8['push']({'model':db[_0x0788('0x77')],'as':'User','attributes':['id','fullname'],'raw':!![]});_0x57a3b8['push']({'model':db[_0x0788('0xe9')],'as':_0x0788('0x6e'),'attributes':['id',_0x0788('0x11b'),_0x0788('0x11c')],'raw':!![]});if(_0x3ff46a[_0x0788('0x46')][_0x0788('0x11d')]){_0x57a3b8[_0x0788('0x3d')]({'model':db[_0x0788('0xd8')],'as':_0x0788('0xd8'),'raw':!![]});}var _0x38402f=[{'model':db[_0x0788('0xcc')],'as':_0x0788('0xe8'),'attributes':['id',_0x0788('0xbd'),'createdAt',_0x0788('0xf5'),'secret',_0x0788('0x86')],'include':_0x57a3b8}];_0x38402f[_0x0788('0x3d')]({'model':db[_0x0788('0xc4')],'as':_0x0788('0x11e'),'attributes':['id',_0x0788('0x38')]});_0x38402f[_0x0788('0x3d')]({'model':db['User'],'as':_0x0788('0x11f'),'attributes':['id',_0x0788('0xf1')]});return db[_0x0788('0x40')][_0x0788('0x69')]({'where':{'id':_0x3ff46a[_0x0788('0xbf')]['id']},'include':_0x38402f})[_0x0788('0x36')](handleEntityNotFound(_0x45f499,null))['then'](function(_0x5bc1de){if(_0x5bc1de){var _0x1fb76f=_0x5bc1de[_0x0788('0x120')]({'plain':!![]});fs[_0x0788('0x121')](_0x4d5e94);var _0x4353a4={'format':'A4','border':_0x0788('0x122'),'header':{'height':'40px','contents':{'first':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
Interaction\x20Transcript
\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'}},'footer':{'height':'30px','contents':{'default':util[_0x0788('0xe4')](_0x0788('0x123'),util[_0x0788('0xe4')](_0x0788('0x124'),_0x0788('0x125'),_0x1fb76f['id']),moment()[_0x0788('0xe4')](_0x0788('0x126'))[_0x0788('0x9e')]())}}};var _0x30a6f8={'channel':'Chat','account':_0x1fb76f['Account'][_0x0788('0x38')],'agent':_0x1fb76f[_0x0788('0x11f')]?_0x1fb76f[_0x0788('0x11f')][_0x0788('0xf1')]:_0x0788('0x127'),'createdAt':moment(_0x1fb76f[_0x0788('0xf3')])[_0x0788('0xe4')](_0x0788('0x10e'))[_0x0788('0x9e')](),'closedAt':_0x1fb76f[_0x0788('0xd9')]?moment(_0x1fb76f[_0x0788('0x128')])[_0x0788('0xe4')](_0x0788('0x10e'))['toString']():'','disposition':_0x1fb76f[_0x0788('0xd3')],'chatInfo':{'browser':_0x1fb76f[_0x0788('0x129')],'os':_0x1fb76f[_0x0788('0x12a')],'referer':_0x1fb76f[_0x0788('0x12b')],'customerIp':_0x1fb76f[_0x0788('0x12c')],'customerPort':_0x1fb76f[_0x0788('0x12d')]?_0x1fb76f[_0x0788('0x12d')]:'N.A.'},'messages':_(_0x1fb76f[_0x0788('0xe8')])[_0x0788('0x12e')]()['filter']({'secret':![]})[_0x0788('0x3a')](function(_0x5c5f52){if(_0x5c5f52[_0x0788('0xd8')]){var _0x12746c=path['join'](_0xa44dc3,_0x5c5f52[_0x0788('0xd8')]['basename']);if(fs[_0x0788('0x12f')](_0x12746c)){fs[_0x0788('0x130')](_0x12746c)[_0x0788('0x131')](fs[_0x0788('0x132')](path[_0x0788('0xdd')](_0x4d5e94,_0x5c5f52['Attachment'][_0x0788('0xe0')])));}}return{'date':moment(_0x5c5f52['createdAt'])['format'](_0x0788('0x10e'))[_0x0788('0x9e')](),'sender':_0x5c5f52[_0x0788('0xf5')]===_0x0788('0x133')?_0x5c5f52[_0x0788('0x77')]?_0x5c5f52[_0x0788('0x77')]['fullname']:_0x0788('0xeb'):_0x5c5f52['Contact'][_0x0788('0x11b')]+(_0x5c5f52[_0x0788('0x6e')][_0x0788('0x11c')]?'\x20'+_0x5c5f52['Contact']['lastName']:''),'body':_0x5c5f52[_0x0788('0xd8')]?_0x5c5f52[_0x0788('0xd8')]['basename']:_0x5c5f52[_0x0788('0xbd')],'direction':_0x5c5f52[_0x0788('0xf5')]===_0x0788('0x133')?'A':'C','secret':_0x5c5f52[_0x0788('0xf6')],'read':_0x5c5f52[_0x0788('0x86')],'attachment':_0x5c5f52[_0x0788('0xd8')]};})[_0x0788('0x6b')]()};return ejs['renderFile'](path['join'](config['root'],_0x0788('0x118'),'views',_0x0788('0x134')),{'interaction':_0x30a6f8})[_0x0788('0x36')](function(_0x3886d6){return new BPromise(function(_0x345946,_0x4e1513){pdf[_0x0788('0xbc')](_0x3886d6,_0x4353a4)[_0x0788('0x135')](path[_0x0788('0xdd')](_0x4d5e94,_0x0788('0x136')+_0x1fb76f['id']+'-'+_0x3953ec+_0x0788('0x137')),function(_0x3cbe05,_0x57a270){if(_0x3cbe05)return _0x4e1513(_0x3cbe05);_0x345946(_0x57a270);});});})[_0x0788('0x36')](function(){return new BPromise(function(_0x533439,_0x984439){zipdir(_0x4d5e94,{'saveTo':_0x42f2d6},function(_0x46e6b0,_0x348931){if(_0x46e6b0)return _0x984439(_0x46e6b0);return _0x533439(_0x348931);});})[_0x0788('0x36')](function(){return new BPromise(function(_0x3f66b8,_0x1c2bde){rimraf(_0x4d5e94,function(_0x1df31e){if(_0x1df31e)_0x1c2bde(_0x1df31e);return _0x3f66b8();});});})[_0x0788('0x36')](function(){return _0x45f499[_0x0788('0xdc')](_0x42f2d6,_0x41c572,function(_0x33b940){if(_0x33b940){console['log'](_0x0788('0x138'),_0x33b940);}else{fs[_0x0788('0x139')](_0x42f2d6);}});});});}else{return _0x45f499[_0x0788('0x2c')](0xc8);}})[_0x0788('0x3f')](handleError(_0x45f499,null));}; \ No newline at end of file diff --git a/server/api/chatInteraction/chatInteraction.events.js b/server/api/chatInteraction/chatInteraction.events.js index 41b6943..aa0d17d 100644 --- a/server/api/chatInteraction/chatInteraction.events.js +++ b/server/api/chatInteraction/chatInteraction.events.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xf93d=['getUsers','then','Users','map','findAll','setDataValue','unreadMessages','length','emit','catch','hasOwnProperty','hook','events','ChatInteraction','ChatMessage','setMaxListeners','update','remove'];(function(_0x2d7f0e,_0x3e6fbd){var _0x110b07=function(_0x557b00){while(--_0x557b00){_0x2d7f0e['push'](_0x2d7f0e['shift']());}};_0x110b07(++_0x3e6fbd);}(_0xf93d,0x66));var _0xdf93=function(_0x4866a0,_0x3c99b5){_0x4866a0=_0x4866a0-0x0;var _0x25f3a5=_0xf93d[_0x4866a0];return _0x25f3a5;};'use strict';var EventEmitter=require(_0xdf93('0x0'));var ChatInteraction=require('../../mysqldb')['db'][_0xdf93('0x1')];var ChatMessage=require('../../mysqldb')['db'][_0xdf93('0x2')];var ChatInteractionEvents=new EventEmitter();ChatInteractionEvents[_0xdf93('0x3')](0x0);var events={'afterCreate':'save','afterUpdate':_0xdf93('0x4'),'afterDestroy':_0xdf93('0x5')};function emitEvent(_0x3c4678){return function(_0x5e2ad2,_0x14f59a,_0x550bd0){_0x5e2ad2[_0xdf93('0x6')]({'attributes':['id'],'raw':!![]})[_0xdf93('0x7')](function(_0x38e1e3){_0x5e2ad2['setDataValue'](_0xdf93('0x8'),_0x38e1e3[_0xdf93('0x9')](function(_0x6799ae){return{'id':_0x6799ae['id']};}));return ChatMessage[_0xdf93('0xa')]({'where':{'ChatInteractionId':_0x5e2ad2['id'],'direction':'in','read':![]},'raw':!![]});})[_0xdf93('0x7')](function(_0x268667){_0x5e2ad2[_0xdf93('0xb')](_0xdf93('0xc'),_0x268667[_0xdf93('0xd')]);ChatInteractionEvents[_0xdf93('0xe')](_0x3c4678+':'+_0x5e2ad2['id'],_0x5e2ad2);ChatInteractionEvents[_0xdf93('0xe')](_0x3c4678,_0x5e2ad2);_0x550bd0(null);})[_0xdf93('0xf')](_0x550bd0(null));};}for(var e in events){if(events[_0xdf93('0x10')](e)){var event=events[e];ChatInteraction[_0xdf93('0x11')](e,emitEvent(event));}}module['exports']=ChatInteractionEvents; \ No newline at end of file +var _0xd7f6=['emit','catch','hasOwnProperty','hook','events','../../mysqldb','setMaxListeners','update','remove','getUsers','then','setDataValue','Users','findAll'];(function(_0x3d42d8,_0x4cffaa){var _0x27fc41=function(_0x3a363b){while(--_0x3a363b){_0x3d42d8['push'](_0x3d42d8['shift']());}};_0x27fc41(++_0x4cffaa);}(_0xd7f6,0x154));var _0x6d7f=function(_0x2c6763,_0x1e4f31){_0x2c6763=_0x2c6763-0x0;var _0x337e3d=_0xd7f6[_0x2c6763];return _0x337e3d;};'use strict';var EventEmitter=require(_0x6d7f('0x0'));var ChatInteraction=require(_0x6d7f('0x1'))['db']['ChatInteraction'];var ChatMessage=require('../../mysqldb')['db']['ChatMessage'];var ChatInteractionEvents=new EventEmitter();ChatInteractionEvents[_0x6d7f('0x2')](0x0);var events={'afterCreate':'save','afterUpdate':_0x6d7f('0x3'),'afterDestroy':_0x6d7f('0x4')};function emitEvent(_0x519361){return function(_0x5c44bd,_0x15b1c5,_0x5654a3){_0x5c44bd[_0x6d7f('0x5')]({'attributes':['id'],'raw':!![]})[_0x6d7f('0x6')](function(_0x791713){_0x5c44bd[_0x6d7f('0x7')](_0x6d7f('0x8'),_0x791713['map'](function(_0x2e0412){return{'id':_0x2e0412['id']};}));return ChatMessage[_0x6d7f('0x9')]({'where':{'ChatInteractionId':_0x5c44bd['id'],'direction':'in','read':![]},'raw':!![]});})[_0x6d7f('0x6')](function(_0x1fdda5){_0x5c44bd['setDataValue']('unreadMessages',_0x1fdda5['length']);ChatInteractionEvents[_0x6d7f('0xa')](_0x519361+':'+_0x5c44bd['id'],_0x5c44bd);ChatInteractionEvents[_0x6d7f('0xa')](_0x519361,_0x5c44bd);_0x5654a3(null);})[_0x6d7f('0xb')](_0x5654a3(null));};}for(var e in events){if(events[_0x6d7f('0xc')](e)){var event=events[e];ChatInteraction[_0x6d7f('0xd')](e,emitEvent(event));}}module['exports']=ChatInteractionEvents; \ No newline at end of file diff --git a/server/api/chatInteraction/chatInteraction.model.js b/server/api/chatInteraction/chatInteraction.model.js index f6afb0e..36b85c5 100644 --- a/server/api/chatInteraction/chatInteraction.model.js +++ b/server/api/chatInteraction/chatInteraction.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x61c5=['util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','./chatInteraction.attributes','define','ChatInteraction','changed','closed','closedAt','YYYY-MM-DD\x20HH:mm:ss','utf8mb4','utf8mb4_unicode_ci','lodash'];(function(_0x3fa1dd,_0x471110){var _0x1792ed=function(_0x2f65f3){while(--_0x2f65f3){_0x3fa1dd['push'](_0x3fa1dd['shift']());}};_0x1792ed(++_0x471110);}(_0x61c5,0x19d));var _0x561c=function(_0x669bd7,_0x3d77c9){_0x669bd7=_0x669bd7-0x0;var _0x3cea5c=_0x61c5[_0x669bd7];return _0x3cea5c;};'use strict';var _=require(_0x561c('0x0'));var util=require(_0x561c('0x1'));var logger=require(_0x561c('0x2'))(_0x561c('0x3'));var moment=require(_0x561c('0x4'));var BPromise=require(_0x561c('0x5'));var rp=require(_0x561c('0x6'));var fs=require('fs');var path=require(_0x561c('0x7'));var rimraf=require(_0x561c('0x8'));var config=require('../../config/environment');var attributes=require(_0x561c('0x9'));module['exports']=function(_0x5120f4,_0x180cba){return _0x5120f4[_0x561c('0xa')](_0x561c('0xb'),attributes,{'tableName':'chat_interactions','paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'beforeUpdate':function(_0x5f365d,_0x50e386,_0x370f03){if(_0x5f365d[_0x561c('0xc')](_0x561c('0xd'))){_0x5f365d[_0x561c('0xe')]=moment()['format'](_0x561c('0xf'));}_0x370f03(null,_0x5f365d);}},'charset':_0x561c('0x10'),'collate':_0x561c('0x11')});}; \ No newline at end of file +var _0x476b=['util','../../config/logger','api','moment','bluebird','path','../../config/environment','exports','ChatInteraction','changed','closed','YYYY-MM-DD\x20HH:mm:ss','utf8mb4','lodash'];(function(_0x4d79bc,_0x32c905){var _0x4b4760=function(_0x212302){while(--_0x212302){_0x4d79bc['push'](_0x4d79bc['shift']());}};_0x4b4760(++_0x32c905);}(_0x476b,0x8b));var _0xb476=function(_0x6c993a,_0x5ea3ab){_0x6c993a=_0x6c993a-0x0;var _0x27f547=_0x476b[_0x6c993a];return _0x27f547;};'use strict';var _=require(_0xb476('0x0'));var util=require(_0xb476('0x1'));var logger=require(_0xb476('0x2'))(_0xb476('0x3'));var moment=require(_0xb476('0x4'));var BPromise=require(_0xb476('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xb476('0x6'));var rimraf=require('rimraf');var config=require(_0xb476('0x7'));var attributes=require('./chatInteraction.attributes');module[_0xb476('0x8')]=function(_0x463a38,_0x58662f){return _0x463a38['define'](_0xb476('0x9'),attributes,{'tableName':'chat_interactions','paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'beforeUpdate':function(_0x8b299c,_0x30dd8d,_0x16aaf1){if(_0x8b299c[_0xb476('0xa')](_0xb476('0xb'))){_0x8b299c['closedAt']=moment()['format'](_0xb476('0xc'));}_0x16aaf1(null,_0x8b299c);}},'charset':_0xb476('0xd'),'collate':'utf8mb4_unicode_ci'});}; \ No newline at end of file diff --git a/server/api/chatInteraction/chatInteraction.rpc.js b/server/api/chatInteraction/chatInteraction.rpc.js index 26520db..0dcc2a4 100644 --- a/server/api/chatInteraction/chatInteraction.rpc.js +++ b/server/api/chatInteraction/chatInteraction.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x7556=['localhost','socket.io-emitter','./chatInteraction.socket','register','request','then','info','ChatInteraction,\x20%s,\x20%s','request\x20sent','debug','ChatInteraction,\x20%s,\x20%s,\x20%s','stringify','error','code','message','result','catch','UpdateChatInteraction','update','body','options','raw','where','limit','AddTagsToChatInteraction','find','addTags','ids','omit','spread','AddTags','lodash','util','moment','bluebird','randomstring','ioredis','../../mysqldb','../../config/utils','../../config/logger','rpc','client','http','redis','defaults'];(function(_0x5a3674,_0x586d0c){var _0x144f53=function(_0x21821a){while(--_0x21821a){_0x5a3674['push'](_0x5a3674['shift']());}};_0x144f53(++_0x586d0c);}(_0x7556,0x1e1));var _0x6755=function(_0x3a06d5,_0x282f86){_0x3a06d5=_0x3a06d5-0x0;var _0x7daa9b=_0x7556[_0x3a06d5];return _0x7daa9b;};'use strict';var _=require(_0x6755('0x0'));var util=require(_0x6755('0x1'));var moment=require(_0x6755('0x2'));var BPromise=require(_0x6755('0x3'));var rs=require(_0x6755('0x4'));var fs=require('fs');var Redis=require(_0x6755('0x5'));var db=require(_0x6755('0x6'))['db'];var utils=require(_0x6755('0x7'));var logger=require(_0x6755('0x8'))(_0x6755('0x9'));var config=require('../../config/environment');var jayson=require('jayson/promise');var client=jayson[_0x6755('0xa')][_0x6755('0xb')]({'port':0x232a});config[_0x6755('0xc')]=_[_0x6755('0xd')](config['redis'],{'host':_0x6755('0xe'),'port':0x18eb});var socket=require(_0x6755('0xf'))(new Redis(config[_0x6755('0xc')]));require(_0x6755('0x10'))[_0x6755('0x11')](socket);function respondWithRpcPromise(_0x448521,_0x8a4223,_0x808874){return new BPromise(function(_0x3dc7b9,_0x4c96c2){return client[_0x6755('0x12')](_0x448521,_0x808874)[_0x6755('0x13')](function(_0x636953){logger[_0x6755('0x14')](_0x6755('0x15'),_0x8a4223,_0x6755('0x16'));logger[_0x6755('0x17')](_0x6755('0x18'),_0x8a4223,_0x6755('0x16'),JSON[_0x6755('0x19')](_0x636953));if(_0x636953[_0x6755('0x1a')]){if(_0x636953[_0x6755('0x1a')][_0x6755('0x1b')]===0x1f4){logger[_0x6755('0x1a')](_0x6755('0x15'),_0x8a4223,_0x636953[_0x6755('0x1a')]['message']);return _0x4c96c2(_0x636953[_0x6755('0x1a')]['message']);}logger[_0x6755('0x1a')](_0x6755('0x15'),_0x8a4223,_0x636953[_0x6755('0x1a')][_0x6755('0x1c')]);return _0x3dc7b9(_0x636953[_0x6755('0x1a')][_0x6755('0x1c')]);}else{logger[_0x6755('0x14')](_0x6755('0x15'),_0x8a4223,_0x6755('0x16'));_0x3dc7b9(_0x636953[_0x6755('0x1d')][_0x6755('0x1c')]);}})[_0x6755('0x1e')](function(_0x1055a7){logger[_0x6755('0x1a')](_0x6755('0x15'),_0x8a4223,_0x1055a7);_0x4c96c2(_0x1055a7);});});}exports[_0x6755('0x1f')]=function(_0x30a14c){var _0x4048c2=this;return new Promise(function(_0x1caa6d,_0x350cfb){return db['ChatInteraction'][_0x6755('0x20')](_0x30a14c[_0x6755('0x21')],{'raw':_0x30a14c[_0x6755('0x22')]?_0x30a14c['options'][_0x6755('0x23')]===undefined?!![]:![]:!![],'individualHooks':!![],'where':_0x30a14c['options']?_0x30a14c[_0x6755('0x22')][_0x6755('0x24')]||null:null,'attributes':_0x30a14c[_0x6755('0x22')]?_0x30a14c['options']['attributes']||null:null,'limit':_0x30a14c[_0x6755('0x22')]?_0x30a14c[_0x6755('0x22')][_0x6755('0x25')]||null:null})['then'](function(_0xf1c93c){logger[_0x6755('0x14')](_0x6755('0x1f'),_0x30a14c);logger[_0x6755('0x17')](_0x6755('0x1f'),_0x30a14c,JSON[_0x6755('0x19')](_0xf1c93c));_0x1caa6d(_0xf1c93c);})[_0x6755('0x1e')](function(_0x35c736){logger[_0x6755('0x1a')]('UpdateChatInteraction',_0x35c736[_0x6755('0x1c')],_0x30a14c);_0x350cfb(_0x4048c2[_0x6755('0x1a')](0x1f4,_0x35c736['message']));});});};exports[_0x6755('0x26')]=function(_0x10c150){return new Promise(function(_0x28306b,_0x23df16){return db['ChatInteraction'][_0x6755('0x27')]({'where':_0x10c150[_0x6755('0x22')]?_0x10c150[_0x6755('0x22')][_0x6755('0x24')]||null:null})[_0x6755('0x13')](function(_0x63ed59){if(_0x63ed59){return _0x63ed59[_0x6755('0x28')](_0x10c150['body'][_0x6755('0x29')],_[_0x6755('0x2a')](_0x10c150['body'],[_0x6755('0x29'),'id'])||{});}})[_0x6755('0x2b')](function(_0x3120fc){logger[_0x6755('0x14')](_0x6755('0x2c'),_0x10c150);logger[_0x6755('0x17')](_0x6755('0x2c'),_0x10c150,JSON['stringify'](_0x3120fc));_0x28306b(_0x3120fc);})[_0x6755('0x1e')](function(_0x2130f2){logger[_0x6755('0x1a')](_0x6755('0x2c'),_0x2130f2[_0x6755('0x1c')],_0x10c150);_0x23df16(_this['error'](0x1f4,_0x2130f2[_0x6755('0x1c')]));});});}; \ No newline at end of file +var _0xdd9b=['jayson/promise','client','http','redis','localhost','socket.io-emitter','./chatInteraction.socket','register','request','then','info','ChatInteraction,\x20%s,\x20%s','request\x20sent','debug','ChatInteraction,\x20%s,\x20%s,\x20%s','stringify','error','code','message','catch','UpdateChatInteraction','update','body','options','raw','attributes','limit','AddTagsToChatInteraction','ChatInteraction','find','where','addTags','ids','spread','AddTags','lodash','util','randomstring','ioredis','../../config/utils','../../config/logger','rpc'];(function(_0x26ffc6,_0x49c52f){var _0x5d6764=function(_0xcb0986){while(--_0xcb0986){_0x26ffc6['push'](_0x26ffc6['shift']());}};_0x5d6764(++_0x49c52f);}(_0xdd9b,0xf5));var _0xbdd9=function(_0x19e35c,_0x29cd1e){_0x19e35c=_0x19e35c-0x0;var _0x3e1fe8=_0xdd9b[_0x19e35c];return _0x3e1fe8;};'use strict';var _=require(_0xbdd9('0x0'));var util=require(_0xbdd9('0x1'));var moment=require('moment');var BPromise=require('bluebird');var rs=require(_0xbdd9('0x2'));var fs=require('fs');var Redis=require(_0xbdd9('0x3'));var db=require('../../mysqldb')['db'];var utils=require(_0xbdd9('0x4'));var logger=require(_0xbdd9('0x5'))(_0xbdd9('0x6'));var config=require('../../config/environment');var jayson=require(_0xbdd9('0x7'));var client=jayson[_0xbdd9('0x8')][_0xbdd9('0x9')]({'port':0x232a});config[_0xbdd9('0xa')]=_['defaults'](config[_0xbdd9('0xa')],{'host':_0xbdd9('0xb'),'port':0x18eb});var socket=require(_0xbdd9('0xc'))(new Redis(config['redis']));require(_0xbdd9('0xd'))[_0xbdd9('0xe')](socket);function respondWithRpcPromise(_0x59da79,_0x4def23,_0x1a3717){return new BPromise(function(_0x2bfa6e,_0x3f4bf1){return client[_0xbdd9('0xf')](_0x59da79,_0x1a3717)[_0xbdd9('0x10')](function(_0x45b548){logger[_0xbdd9('0x11')](_0xbdd9('0x12'),_0x4def23,_0xbdd9('0x13'));logger[_0xbdd9('0x14')](_0xbdd9('0x15'),_0x4def23,_0xbdd9('0x13'),JSON[_0xbdd9('0x16')](_0x45b548));if(_0x45b548[_0xbdd9('0x17')]){if(_0x45b548[_0xbdd9('0x17')][_0xbdd9('0x18')]===0x1f4){logger[_0xbdd9('0x17')]('ChatInteraction,\x20%s,\x20%s',_0x4def23,_0x45b548[_0xbdd9('0x17')][_0xbdd9('0x19')]);return _0x3f4bf1(_0x45b548[_0xbdd9('0x17')][_0xbdd9('0x19')]);}logger[_0xbdd9('0x17')]('ChatInteraction,\x20%s,\x20%s',_0x4def23,_0x45b548[_0xbdd9('0x17')][_0xbdd9('0x19')]);return _0x2bfa6e(_0x45b548[_0xbdd9('0x17')]['message']);}else{logger['info'](_0xbdd9('0x12'),_0x4def23,_0xbdd9('0x13'));_0x2bfa6e(_0x45b548['result'][_0xbdd9('0x19')]);}})[_0xbdd9('0x1a')](function(_0x29aede){logger[_0xbdd9('0x17')](_0xbdd9('0x12'),_0x4def23,_0x29aede);_0x3f4bf1(_0x29aede);});});}exports[_0xbdd9('0x1b')]=function(_0x5c7d43){var _0x317930=this;return new Promise(function(_0x2005fb,_0x563cb6){return db['ChatInteraction'][_0xbdd9('0x1c')](_0x5c7d43[_0xbdd9('0x1d')],{'raw':_0x5c7d43['options']?_0x5c7d43[_0xbdd9('0x1e')][_0xbdd9('0x1f')]===undefined?!![]:![]:!![],'individualHooks':!![],'where':_0x5c7d43[_0xbdd9('0x1e')]?_0x5c7d43[_0xbdd9('0x1e')]['where']||null:null,'attributes':_0x5c7d43['options']?_0x5c7d43[_0xbdd9('0x1e')][_0xbdd9('0x20')]||null:null,'limit':_0x5c7d43['options']?_0x5c7d43['options'][_0xbdd9('0x21')]||null:null})[_0xbdd9('0x10')](function(_0x54e3f6){logger[_0xbdd9('0x11')](_0xbdd9('0x1b'),_0x5c7d43);logger[_0xbdd9('0x14')](_0xbdd9('0x1b'),_0x5c7d43,JSON[_0xbdd9('0x16')](_0x54e3f6));_0x2005fb(_0x54e3f6);})[_0xbdd9('0x1a')](function(_0x1534eb){logger[_0xbdd9('0x17')](_0xbdd9('0x1b'),_0x1534eb[_0xbdd9('0x19')],_0x5c7d43);_0x563cb6(_0x317930['error'](0x1f4,_0x1534eb[_0xbdd9('0x19')]));});});};exports[_0xbdd9('0x22')]=function(_0x480b6f){return new Promise(function(_0x18c57a,_0x24bedf){return db[_0xbdd9('0x23')][_0xbdd9('0x24')]({'where':_0x480b6f['options']?_0x480b6f['options'][_0xbdd9('0x25')]||null:null})[_0xbdd9('0x10')](function(_0x440dc4){if(_0x440dc4){return _0x440dc4[_0xbdd9('0x26')](_0x480b6f[_0xbdd9('0x1d')][_0xbdd9('0x27')],_['omit'](_0x480b6f[_0xbdd9('0x1d')],[_0xbdd9('0x27'),'id'])||{});}})[_0xbdd9('0x28')](function(_0x114553){logger[_0xbdd9('0x11')]('AddTags',_0x480b6f);logger['debug'](_0xbdd9('0x29'),_0x480b6f,JSON[_0xbdd9('0x16')](_0x114553));_0x18c57a(_0x114553);})[_0xbdd9('0x1a')](function(_0x5884fe){logger['error'](_0xbdd9('0x29'),_0x5884fe[_0xbdd9('0x19')],_0x480b6f);_0x24bedf(_this['error'](0x1f4,_0x5884fe[_0xbdd9('0x19')]));});});}; \ No newline at end of file diff --git a/server/api/chatInteraction/chatInteraction.socket.js b/server/api/chatInteraction/chatInteraction.socket.js index 85c059f..5cf5b91 100644 --- a/server/api/chatInteraction/chatInteraction.socket.js +++ b/server/api/chatInteraction/chatInteraction.socket.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x8471=['update','emit','removeListener','register','length','chatInteraction:','./chatInteraction.events','save','remove'];(function(_0x36fe9b,_0x518d1b){var _0x113065=function(_0x4f78d4){while(--_0x4f78d4){_0x36fe9b['push'](_0x36fe9b['shift']());}};_0x113065(++_0x518d1b);}(_0x8471,0xe7));var _0x1847=function(_0x3a81a5,_0x1c92ef){_0x3a81a5=_0x3a81a5-0x0;var _0x37e7a9=_0x8471[_0x3a81a5];return _0x37e7a9;};'use strict';var ChatInteractionEvents=require(_0x1847('0x0'));var events=[_0x1847('0x1'),_0x1847('0x2'),_0x1847('0x3')];function createListener(_0x1dd83c,_0x468789){return function(_0x4ea324){_0x468789[_0x1847('0x4')](_0x1dd83c,_0x4ea324);};}function removeListener(_0x4fe8b7,_0x99e8a3){return function(){ChatInteractionEvents[_0x1847('0x5')](_0x4fe8b7,_0x99e8a3);};}exports[_0x1847('0x6')]=function(_0x187a7f){for(var _0x34093b=0x0,_0xea2573=events[_0x1847('0x7')];_0x34093b<_0xea2573;_0x34093b++){var _0x98af1d=events[_0x34093b];var _0xff47e0=createListener(_0x1847('0x8')+_0x98af1d,_0x187a7f);ChatInteractionEvents['on'](_0x98af1d,_0xff47e0);}}; \ No newline at end of file +var _0xf992=['save','remove','update','emit','removeListener','register','chatInteraction:','./chatInteraction.events'];(function(_0x3ce2c4,_0x4544c1){var _0x4047c1=function(_0x3fece6){while(--_0x3fece6){_0x3ce2c4['push'](_0x3ce2c4['shift']());}};_0x4047c1(++_0x4544c1);}(_0xf992,0x1a7));var _0x2f99=function(_0x36322a,_0x4cbf13){_0x36322a=_0x36322a-0x0;var _0x690877=_0xf992[_0x36322a];return _0x690877;};'use strict';var ChatInteractionEvents=require(_0x2f99('0x0'));var events=[_0x2f99('0x1'),_0x2f99('0x2'),_0x2f99('0x3')];function createListener(_0x39c089,_0x5ccff2){return function(_0x101c73){_0x5ccff2[_0x2f99('0x4')](_0x39c089,_0x101c73);};}function removeListener(_0xe8431d,_0x5a4e96){return function(){ChatInteractionEvents[_0x2f99('0x5')](_0xe8431d,_0x5a4e96);};}exports[_0x2f99('0x6')]=function(_0xee4793){for(var _0x3059f4=0x0,_0x24a3f5=events['length'];_0x3059f4<_0x24a3f5;_0x3059f4++){var _0x61e408=events[_0x3059f4];var _0x598fda=createListener(_0x2f99('0x7')+_0x61e408,_0xee4793);ChatInteractionEvents['on'](_0x61e408,_0x598fda);}}; \ No newline at end of file diff --git a/server/api/chatInteraction/index.js b/server/api/chatInteraction/index.js index 02380c6..bed03b3 100644 --- a/server/api/chatInteraction/index.js +++ b/server/api/chatInteraction/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x3da6=['exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../config/environment','./chatInteraction.controller','isAuthenticated','get','describe','/:id','show','isChatInteractionAuthorized','/:id/messages','getMessages','/:id/download','download','post','create','/:id/vidaoo','createVidaooSession','diskStorage','join','server/files/attachments/','format','now','single','file','attachmentUpload','/:id/tags','tracked','chat','chatinteraction:addtags','addTags','put','chatinteraction:update','update','/:id/custom_update','customUpdate','/:id/abandon','abandon','close','delete','chatinteraction:destroy','removeTags'];(function(_0x27af45,_0x1b57aa){var _0x18df21=function(_0x4b7679){while(--_0x4b7679){_0x27af45['push'](_0x27af45['shift']());}};_0x18df21(++_0x1b57aa);}(_0x3da6,0xc1));var _0x63da=function(_0x29e613,_0x44f310){_0x29e613=_0x29e613-0x0;var _0x44a5aa=_0x3da6[_0x29e613];return _0x44a5aa;};'use strict';var multer=require(_0x63da('0x0'));var util=require(_0x63da('0x1'));var path=require(_0x63da('0x2'));var timeout=require(_0x63da('0x3'));var express=require(_0x63da('0x4'));var router=express[_0x63da('0x5')]();var auth=require(_0x63da('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x63da('0x7'));var controller=require(_0x63da('0x8'));router['get']('/',auth[_0x63da('0x9')](),controller['index']);router[_0x63da('0xa')]('/describe',auth[_0x63da('0x9')](),controller[_0x63da('0xb')]);router[_0x63da('0xa')](_0x63da('0xc'),auth['isChatInteractionAuthorized'](),controller[_0x63da('0xd')]);router[_0x63da('0xa')]('/:id/attachment_download',auth[_0x63da('0xe')](),controller['attachmentDownload']);router[_0x63da('0xa')](_0x63da('0xf'),auth[_0x63da('0x9')](),controller[_0x63da('0x10')]);router[_0x63da('0xa')]('/:id/my_messages',auth[_0x63da('0xe')](),controller['getMyMessages']);router[_0x63da('0xa')](_0x63da('0x11'),auth[_0x63da('0x9')](),controller[_0x63da('0x12')]);router[_0x63da('0x13')]('/',auth[_0x63da('0x9')](),controller[_0x63da('0x14')]);router[_0x63da('0x13')](_0x63da('0x15'),auth[_0x63da('0x9')](),controller[_0x63da('0x16')]);var upload=multer({'storage':multer[_0x63da('0x17')]({'destination':function(_0x2be621,_0x4e6084,_0x48ac11){_0x48ac11(null,path[_0x63da('0x18')](config['root'],_0x63da('0x19')));},'filename':function(_0xe8c774,_0x329ef4,_0x3128cd){_0x3128cd(null,util[_0x63da('0x1a')]('%s-%s',Date[_0x63da('0x1b')](),_0x329ef4['originalname']['replace'](/[+@&\/\\#,+()$~%'":*?<>{}\s\\|]/g,'-')));}})});router[_0x63da('0x13')]('/:id/attachment_upload',upload[_0x63da('0x1c')](_0x63da('0x1d')),controller[_0x63da('0x1e')]);router['post'](_0x63da('0xf'),auth[_0x63da('0xe')](),controller['addMessage']);router[_0x63da('0x13')](_0x63da('0x1f'),auth[_0x63da('0x9')](),interaction[_0x63da('0x20')](_0x63da('0x21'),_0x63da('0x22')),controller[_0x63da('0x23')]);router[_0x63da('0x24')](_0x63da('0xc'),auth['isAuthenticated'](),interaction['tracked'](_0x63da('0x21'),_0x63da('0x25')),controller[_0x63da('0x26')]);router[_0x63da('0x24')](_0x63da('0x27'),controller[_0x63da('0x28')]);router['put'](_0x63da('0x29'),auth[_0x63da('0xe')](),controller[_0x63da('0x2a')]);router[_0x63da('0x24')]('/:id/close',controller[_0x63da('0x2b')]);router[_0x63da('0x2c')](_0x63da('0xc'),auth[_0x63da('0x9')](),interaction[_0x63da('0x20')](_0x63da('0x21'),_0x63da('0x2d')),controller['destroy']);router['delete'](_0x63da('0x1f'),auth[_0x63da('0x9')](),controller[_0x63da('0x2e')]);module[_0x63da('0x2f')]=router; \ No newline at end of file +var _0xf3a8=['chatinteraction:addtags','addTags','put','chatinteraction:update','/:id/custom_update','abandon','close','delete','chat','chatinteraction:destroy','destroy','removeTags','util','path','express','../../components/interaction/service','./chatInteraction.controller','isAuthenticated','index','get','/describe','describe','/:id','isChatInteractionAuthorized','attachmentDownload','/:id/messages','/:id/my_messages','getMyMessages','download','create','post','createVidaooSession','join','root','server/files/attachments/','format','%s-%s','now','originalname','replace','single','file','attachmentUpload','addMessage','/:id/tags','tracked'];(function(_0x513df4,_0x2e16c5){var _0x2f320d=function(_0x38f1d8){while(--_0x38f1d8){_0x513df4['push'](_0x513df4['shift']());}};_0x2f320d(++_0x2e16c5);}(_0xf3a8,0xf2));var _0x8f3a=function(_0x4cd17b,_0x4c01a6){_0x4cd17b=_0x4cd17b-0x0;var _0x144706=_0xf3a8[_0x4cd17b];return _0x144706;};'use strict';var multer=require('multer');var util=require(_0x8f3a('0x0'));var path=require(_0x8f3a('0x1'));var timeout=require('connect-timeout');var express=require(_0x8f3a('0x2'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require(_0x8f3a('0x3'));var config=require('../../config/environment');var controller=require(_0x8f3a('0x4'));router['get']('/',auth[_0x8f3a('0x5')](),controller[_0x8f3a('0x6')]);router[_0x8f3a('0x7')](_0x8f3a('0x8'),auth[_0x8f3a('0x5')](),controller[_0x8f3a('0x9')]);router[_0x8f3a('0x7')](_0x8f3a('0xa'),auth[_0x8f3a('0xb')](),controller['show']);router[_0x8f3a('0x7')]('/:id/attachment_download',auth[_0x8f3a('0xb')](),controller[_0x8f3a('0xc')]);router[_0x8f3a('0x7')](_0x8f3a('0xd'),auth[_0x8f3a('0x5')](),controller['getMessages']);router[_0x8f3a('0x7')](_0x8f3a('0xe'),auth['isChatInteractionAuthorized'](),controller[_0x8f3a('0xf')]);router['get']('/:id/download',auth[_0x8f3a('0x5')](),controller[_0x8f3a('0x10')]);router['post']('/',auth[_0x8f3a('0x5')](),controller[_0x8f3a('0x11')]);router[_0x8f3a('0x12')]('/:id/vidaoo',auth[_0x8f3a('0x5')](),controller[_0x8f3a('0x13')]);var upload=multer({'storage':multer['diskStorage']({'destination':function(_0x170f2a,_0x14466e,_0x4ad8ee){_0x4ad8ee(null,path[_0x8f3a('0x14')](config[_0x8f3a('0x15')],_0x8f3a('0x16')));},'filename':function(_0x1acbcc,_0x2a7c0c,_0x512d94){_0x512d94(null,util[_0x8f3a('0x17')](_0x8f3a('0x18'),Date[_0x8f3a('0x19')](),_0x2a7c0c[_0x8f3a('0x1a')][_0x8f3a('0x1b')](/[+@&\/\\#,+()$~%'":*?<>{}\s\\|]/g,'-')));}})});router[_0x8f3a('0x12')]('/:id/attachment_upload',upload[_0x8f3a('0x1c')](_0x8f3a('0x1d')),controller[_0x8f3a('0x1e')]);router['post'](_0x8f3a('0xd'),auth['isChatInteractionAuthorized'](),controller[_0x8f3a('0x1f')]);router[_0x8f3a('0x12')](_0x8f3a('0x20'),auth[_0x8f3a('0x5')](),interaction[_0x8f3a('0x21')]('chat',_0x8f3a('0x22')),controller[_0x8f3a('0x23')]);router[_0x8f3a('0x24')](_0x8f3a('0xa'),auth[_0x8f3a('0x5')](),interaction['tracked']('chat',_0x8f3a('0x25')),controller['update']);router[_0x8f3a('0x24')](_0x8f3a('0x26'),controller['customUpdate']);router['put']('/:id/abandon',auth['isChatInteractionAuthorized'](),controller[_0x8f3a('0x27')]);router['put']('/:id/close',controller[_0x8f3a('0x28')]);router[_0x8f3a('0x29')](_0x8f3a('0xa'),auth[_0x8f3a('0x5')](),interaction[_0x8f3a('0x21')](_0x8f3a('0x2a'),_0x8f3a('0x2b')),controller[_0x8f3a('0x2c')]);router[_0x8f3a('0x29')](_0x8f3a('0x20'),auth['isAuthenticated'](),controller[_0x8f3a('0x2d')]);module['exports']=router; \ No newline at end of file diff --git a/server/api/chatInternalMessage/chatInternalMessage.attributes.js b/server/api/chatInternalMessage/chatInternalMessage.attributes.js index 2495840..03b8613 100644 --- a/server/api/chatInternalMessage/chatInternalMessage.attributes.js +++ b/server/api/chatInternalMessage/chatInternalMessage.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x5f2f=['INTEGER','sequelize','exports','TEXT','medium','BOOLEAN'];(function(_0x31ab61,_0x713399){var _0x33b532=function(_0x3dda69){while(--_0x3dda69){_0x31ab61['push'](_0x31ab61['shift']());}};_0x33b532(++_0x713399);}(_0x5f2f,0x73));var _0xf5f2=function(_0xcd0abe,_0x3df953){_0xcd0abe=_0xcd0abe-0x0;var _0x22e8e1=_0x5f2f[_0xcd0abe];return _0x22e8e1;};'use strict';var Sequelize=require(_0xf5f2('0x0'));module[_0xf5f2('0x1')]={'body':{'type':Sequelize[_0xf5f2('0x2')](_0xf5f2('0x3')),'allowNull':![]},'read':{'type':Sequelize[_0xf5f2('0x4')],'defaultValue':![]},'ChatInternalMessageId':{'type':Sequelize[_0xf5f2('0x5')]}}; \ No newline at end of file +var _0x57ca=['exports','TEXT','BOOLEAN','INTEGER'];(function(_0x2a1bbf,_0x123cab){var _0x1b470c=function(_0x51cfc1){while(--_0x51cfc1){_0x2a1bbf['push'](_0x2a1bbf['shift']());}};_0x1b470c(++_0x123cab);}(_0x57ca,0x108));var _0xa57c=function(_0x25273c,_0x270695){_0x25273c=_0x25273c-0x0;var _0x4374e9=_0x57ca[_0x25273c];return _0x4374e9;};'use strict';var Sequelize=require('sequelize');module[_0xa57c('0x0')]={'body':{'type':Sequelize[_0xa57c('0x1')]('medium'),'allowNull':![]},'read':{'type':Sequelize[_0xa57c('0x2')],'defaultValue':![]},'ChatInternalMessageId':{'type':Sequelize[_0xa57c('0x3')]}}; \ No newline at end of file diff --git a/server/api/chatInternalMessage/chatInternalMessage.controller.js b/server/api/chatInternalMessage/chatInternalMessage.controller.js index ed232d6..a92a700 100644 --- a/server/api/chatInternalMessage/chatInternalMessage.controller.js +++ b/server/api/chatInternalMessage/chatInternalMessage.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x7c87=['api','../../config/utils','../../config/environment','../../mysqldb','defaults','redis','localhost','socket.io-emitter','register','sendStatus','status','end','json','count','offset','set','Content-Range','apply','save','update','then','destroy','stack','name','send','index','ChatInternalMessage','rawAttributes','fieldName','type','key','keys','query','filters','intersection','model','attributes','fields','length','hasOwnProperty','limit','order','sort','where','pick','filter','merge','map','includeAll','include','rows','catch','show','options','create','body','params','find','describe','get','createdAt','lastMessage','lastMessageAt','getUsers','User','findAll','agent','admin','role','userpic','online','lastLoginAt','-online','VoiceQueue','VoiceQueues','user','Unable\x20to\x20retrieve\x20the\x20current\x20user','Agents','UserProfileResource','isEmpty','resourceId','push','messages','FromId','ToId','read','all','html-pdf','eml-format','rimraf','fast-json-patch','request-promise','moment','bluebird','util','path','sox','squel','crypto','jsforce','desk.js','to-csv','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware'];(function(_0x21f88f,_0x48cfba){var _0x3b9ff5=function(_0x292aee){while(--_0x292aee){_0x21f88f['push'](_0x21f88f['shift']());}};_0x3b9ff5(++_0x48cfba);}(_0x7c87,0x19e));var _0x77c8=function(_0x58ba54,_0x1b0156){_0x58ba54=_0x58ba54-0x0;var _0x4b38fc=_0x7c87[_0x58ba54];return _0x4b38fc;};'use strict';var pdf=require(_0x77c8('0x0'));var emlformat=require(_0x77c8('0x1'));var rimraf=require(_0x77c8('0x2'));var zipdir=require('zip-dir');var jsonpatch=require(_0x77c8('0x3'));var rp=require(_0x77c8('0x4'));var moment=require(_0x77c8('0x5'));var BPromise=require(_0x77c8('0x6'));var Mustache=require('mustache');var util=require(_0x77c8('0x7'));var path=require(_0x77c8('0x8'));var sox=require(_0x77c8('0x9'));var csv=require('to-csv');var ejs=require('ejs');var fs=require('fs');var _=require('lodash');var squel=require(_0x77c8('0xa'));var crypto=require(_0x77c8('0xb'));var jsforce=require(_0x77c8('0xc'));var deskjs=require(_0x77c8('0xd'));var toCsv=require(_0x77c8('0xe'));var querystring=require(_0x77c8('0xf'));var Papa=require(_0x77c8('0x10'));var Redis=require(_0x77c8('0x11'));var authService=require(_0x77c8('0x12'));var qs=require(_0x77c8('0x13'));var as=require(_0x77c8('0x14'));var hardwareService=require(_0x77c8('0x15'));var logger=require('../../config/logger')(_0x77c8('0x16'));var utils=require(_0x77c8('0x17'));var config=require(_0x77c8('0x18'));var db=require(_0x77c8('0x19'))['db'];config['redis']=_[_0x77c8('0x1a')](config[_0x77c8('0x1b')],{'host':_0x77c8('0x1c'),'port':0x18eb});var socket=require(_0x77c8('0x1d'))(new Redis(config['redis']));require('./chatInternalMessage.socket')[_0x77c8('0x1e')](socket);function respondWithStatusCode(_0x1b1004,_0x25a7f4){_0x25a7f4=_0x25a7f4||0xcc;return function(_0xfeed59){if(_0xfeed59){return _0x1b1004[_0x77c8('0x1f')](_0x25a7f4);}return _0x1b1004[_0x77c8('0x20')](_0x25a7f4)[_0x77c8('0x21')]();};}function respondWithResult(_0x2d088f,_0x2f3b89){_0x2f3b89=_0x2f3b89||0xc8;return function(_0x2a7100){if(_0x2a7100){return _0x2d088f[_0x77c8('0x20')](_0x2f3b89)[_0x77c8('0x22')](_0x2a7100);}};}function respondWithFilteredResult(_0x3fa7f0,_0x252a60){return function(_0x447781){if(_0x447781){var _0x3b07a7=_0x447781[_0x77c8('0x23')],_0x59fbf1=_0x252a60[_0x77c8('0x24')],_0x7175f=_0x252a60[_0x77c8('0x24')]+_0x252a60['limit'],_0x36c25d;if(_0x7175f>=_0x3b07a7){_0x7175f=_0x3b07a7;_0x36c25d=0xc8;}else{_0x36c25d=0xce;}_0x3fa7f0['status'](_0x36c25d);return _0x3fa7f0[_0x77c8('0x25')](_0x77c8('0x26'),_0x59fbf1+'-'+_0x7175f+'/'+_0x3b07a7)[_0x77c8('0x22')](_0x447781);}return null;};}function patchUpdates(_0x5b5d39){return function(_0x3d62c2){try{jsonpatch[_0x77c8('0x27')](_0x3d62c2,_0x5b5d39,!![]);}catch(_0xc2358b){return BPromise['reject'](_0xc2358b);}return _0x3d62c2[_0x77c8('0x28')]();};}function saveUpdates(_0x21855e,_0x5341c4){return function(_0x2d82de){if(_0x2d82de){return _0x2d82de[_0x77c8('0x29')](_0x21855e)[_0x77c8('0x2a')](function(_0x3419d6){return _0x3419d6;});}return null;};}function removeEntity(_0x48cd0d,_0x20b57d){return function(_0x226f5f){if(_0x226f5f){return _0x226f5f[_0x77c8('0x2b')]()['then'](function(){_0x48cd0d[_0x77c8('0x20')](0xcc)[_0x77c8('0x21')]();});}};}function handleEntityNotFound(_0x2475ff,_0x1c8484){return function(_0x3da336){if(!_0x3da336){_0x2475ff[_0x77c8('0x1f')](0x194);}return _0x3da336;};}function handleError(_0x3075a0,_0x3ffa07){_0x3ffa07=_0x3ffa07||0x1f4;return function(_0x3afc3f){logger['error'](_0x3afc3f[_0x77c8('0x2c')]);if(_0x3afc3f[_0x77c8('0x2d')]){delete _0x3afc3f[_0x77c8('0x2d')];}_0x3075a0[_0x77c8('0x20')](_0x3ffa07)[_0x77c8('0x2e')](_0x3afc3f);};}exports[_0x77c8('0x2f')]=function(_0x350aaf,_0x27a257){var _0x18e2da={},_0xf306ba={},_0x3bda27={'count':0x0,'rows':[]};var _0x193f4c=_['map'](db[_0x77c8('0x30')][_0x77c8('0x31')],function(_0x2cb904){return{'name':_0x2cb904[_0x77c8('0x32')],'type':_0x2cb904[_0x77c8('0x33')][_0x77c8('0x34')]};});_0xf306ba['model']=_['map'](_0x193f4c,'name');_0xf306ba['query']=_[_0x77c8('0x35')](_0x350aaf[_0x77c8('0x36')]);_0xf306ba[_0x77c8('0x37')]=_[_0x77c8('0x38')](_0xf306ba[_0x77c8('0x39')],_0xf306ba['query']);_0x18e2da[_0x77c8('0x3a')]=_[_0x77c8('0x38')](_0xf306ba[_0x77c8('0x39')],qs['fields'](_0x350aaf[_0x77c8('0x36')][_0x77c8('0x3b')]));_0x18e2da['attributes']=_0x18e2da[_0x77c8('0x3a')][_0x77c8('0x3c')]?_0x18e2da['attributes']:_0xf306ba[_0x77c8('0x39')];if(!_0x350aaf[_0x77c8('0x36')][_0x77c8('0x3d')]('nolimit')){_0x18e2da[_0x77c8('0x3e')]=qs[_0x77c8('0x3e')](_0x350aaf['query'][_0x77c8('0x3e')]);_0x18e2da['offset']=qs[_0x77c8('0x24')](_0x350aaf['query']['offset']);}_0x18e2da[_0x77c8('0x3f')]=qs[_0x77c8('0x40')](_0x350aaf['query'][_0x77c8('0x40')]);_0x18e2da[_0x77c8('0x41')]=qs[_0x77c8('0x37')](_[_0x77c8('0x42')](_0x350aaf[_0x77c8('0x36')],_0xf306ba[_0x77c8('0x37')]),_0x193f4c);if(_0x350aaf[_0x77c8('0x36')][_0x77c8('0x43')]){_0x18e2da[_0x77c8('0x41')]=_[_0x77c8('0x44')](_0x18e2da[_0x77c8('0x41')],{'$or':_[_0x77c8('0x45')](_0x193f4c,function(_0x3ab6b3){if(_0x3ab6b3[_0x77c8('0x33')]!=='VIRTUAL'){var _0x49b05b={};_0x49b05b[_0x3ab6b3[_0x77c8('0x2d')]]={'$like':'%'+_0x350aaf[_0x77c8('0x36')][_0x77c8('0x43')]+'%'};return _0x49b05b;}})});}_0x18e2da=_[_0x77c8('0x44')]({},_0x18e2da,_0x350aaf['options']);var _0x5ed3c6={'where':_0x18e2da[_0x77c8('0x41')]};return db[_0x77c8('0x30')]['count'](_0x5ed3c6)[_0x77c8('0x2a')](function(_0x37a39d){_0x3bda27['count']=_0x37a39d;if(_0x350aaf['query'][_0x77c8('0x46')]){_0x18e2da[_0x77c8('0x47')]=[{'all':!![]}];}return db[_0x77c8('0x30')]['findAll'](_0x18e2da);})[_0x77c8('0x2a')](function(_0x33d883){_0x3bda27[_0x77c8('0x48')]=_0x33d883;return _0x3bda27;})[_0x77c8('0x2a')](respondWithFilteredResult(_0x27a257,_0x18e2da))[_0x77c8('0x49')](handleError(_0x27a257,null));};exports[_0x77c8('0x4a')]=function(_0x53fc83,_0x1373a1){var _0x46bc57={'raw':!![],'where':{'id':_0x53fc83['params']['id']}},_0x1597d4={};_0x1597d4['model']=_[_0x77c8('0x35')](db[_0x77c8('0x30')][_0x77c8('0x31')]);_0x1597d4[_0x77c8('0x36')]=_[_0x77c8('0x35')](_0x53fc83[_0x77c8('0x36')]);_0x1597d4[_0x77c8('0x37')]=_['intersection'](_0x1597d4[_0x77c8('0x39')],_0x1597d4[_0x77c8('0x36')]);_0x46bc57[_0x77c8('0x3a')]=_[_0x77c8('0x38')](_0x1597d4[_0x77c8('0x39')],qs['fields'](_0x53fc83[_0x77c8('0x36')][_0x77c8('0x3b')]));_0x46bc57[_0x77c8('0x3a')]=_0x46bc57[_0x77c8('0x3a')][_0x77c8('0x3c')]?_0x46bc57[_0x77c8('0x3a')]:_0x1597d4['model'];if(_0x53fc83[_0x77c8('0x36')][_0x77c8('0x46')]){_0x46bc57[_0x77c8('0x47')]=[{'all':!![]}];}_0x46bc57=_[_0x77c8('0x44')]({},_0x46bc57,_0x53fc83[_0x77c8('0x4b')]);return db[_0x77c8('0x30')]['find'](_0x46bc57)[_0x77c8('0x2a')](handleEntityNotFound(_0x1373a1,null))['then'](respondWithResult(_0x1373a1,null))['catch'](handleError(_0x1373a1,null));};exports[_0x77c8('0x4c')]=function(_0x4cdbd2,_0x1b686d){return db[_0x77c8('0x30')][_0x77c8('0x4c')](_0x4cdbd2[_0x77c8('0x4d')],{})[_0x77c8('0x2a')](respondWithResult(_0x1b686d,0xc9))[_0x77c8('0x49')](handleError(_0x1b686d,null));};exports['update']=function(_0x24264d,_0x2b602a){if(_0x24264d[_0x77c8('0x4d')]['id']){delete _0x24264d['body']['id'];}return db[_0x77c8('0x30')]['find']({'where':{'id':_0x24264d[_0x77c8('0x4e')]['id']}})[_0x77c8('0x2a')](handleEntityNotFound(_0x2b602a,null))[_0x77c8('0x2a')](saveUpdates(_0x24264d[_0x77c8('0x4d')],null))[_0x77c8('0x2a')](respondWithResult(_0x2b602a,null))[_0x77c8('0x49')](handleError(_0x2b602a,null));};exports[_0x77c8('0x2b')]=function(_0xf5fe46,_0x2f42a3){return db[_0x77c8('0x30')][_0x77c8('0x4f')]({'where':{'id':_0xf5fe46['params']['id']}})[_0x77c8('0x2a')](handleEntityNotFound(_0x2f42a3,null))[_0x77c8('0x2a')](removeEntity(_0x2f42a3,null))[_0x77c8('0x49')](handleError(_0x2f42a3,null));};exports[_0x77c8('0x50')]=function(_0x4b4fdc,_0x47b8e7){return db['ChatInternalMessage'][_0x77c8('0x50')]()['then'](respondWithResult(_0x47b8e7,null))['catch'](handleError(_0x47b8e7,null));};function wrapUser(_0xbed9a7){return function(_0x2e4fe3){var _0x193704=_0xbed9a7[_0x77c8('0x51')]({'plain':!![]});_0x193704['messages']=[];if(_0x2e4fe3){_0x193704['lastMessageAt']=_0x2e4fe3[_0x77c8('0x52')];_0x193704[_0x77c8('0x53')]=_0x2e4fe3;}else{_0x193704[_0x77c8('0x54')]=moment(0x0)['format']('YYYY-MM-DD\x20HH:mm:ss');_0x193704[_0x77c8('0x53')]={};}return _0x193704;};}exports[_0x77c8('0x55')]=function(_0x417ac3,_0x462ed1,_0x4b9a16){var _0x5aa2cc=[];return db[_0x77c8('0x56')][_0x77c8('0x57')]({'where':{'role':[_0x77c8('0x58'),_0x77c8('0x59'),'user']},'attributes':['id','fullname',_0x77c8('0x2d'),_0x77c8('0x5a'),_0x77c8('0x5b'),'internal',_0x77c8('0x5c'),_0x77c8('0x5d'),'allowmessenger','showWebBar'],'order':qs[_0x77c8('0x40')](_0x77c8('0x5e')),'include':[{'model':db[_0x77c8('0x5f')],'as':_0x77c8('0x60'),'attributes':['id',_0x77c8('0x2d'),'type'],'through':{'attributes':[]}}]})['then'](function(_0x3615b2){if(_0x3615b2){var _0x289d36=_0x417ac3[_0x77c8('0x61')]['get']({'plain':!![]});if(!_0x289d36)throw new Error(_0x77c8('0x62'));if(_0x289d36[_0x77c8('0x5a')]===_0x77c8('0x61')){return db['UserProfileSection'][_0x77c8('0x4f')]({'where':{'name':_0x77c8('0x63'),'userProfileId':_0x289d36['userProfileId']},'raw':!![]})[_0x77c8('0x2a')](function(_0x2fe5f3){if(_0x2fe5f3){if(_0x2fe5f3['autoAssociation']===0x0){return db[_0x77c8('0x64')][_0x77c8('0x57')]({'where':{'sectionId':_0x2fe5f3['id']},'raw':!![]})[_0x77c8('0x2a')](function(_0x28a77b){var _0x3c9eab=[];if(_[_0x77c8('0x65')](_0x28a77b)){_0x3c9eab=_[_0x77c8('0x43')](_0x3615b2,function(_0x359418){if(_0x359418[_0x77c8('0x5a')]!==_0x77c8('0x58')){return _0x359418;}});return _0x3c9eab;}else{for(var _0x2ea16b=0x0;_0x2ea16b<_0x3615b2[_0x77c8('0x3c')];_0x2ea16b++){var _0x35e380=_0x3615b2[_0x2ea16b];if(_0x35e380[_0x77c8('0x5a')]===_0x77c8('0x58')){var _0x148987=_['find'](_0x28a77b,function(_0x4df441){return _0x4df441[_0x77c8('0x66')]===_0x35e380['id'];});if(_0x148987)_0x3c9eab['push'](_0x35e380);}else{_0x3c9eab[_0x77c8('0x67')](_0x35e380);}}return _0x3c9eab;}});}else{return _0x3615b2;}}else{var _0x53bfbe=_[_0x77c8('0x43')](_0x3615b2,function(_0xb4b1ee){if(_0xb4b1ee[_0x77c8('0x5a')]!==_0x77c8('0x58')){return _0xb4b1ee;}});return _0x53bfbe;}});}else{return _0x3615b2;}}})[_0x77c8('0x2a')](function(_0x70c3e){var _0x4a1f4d=[];if(_0x70c3e){_0x5aa2cc=_0x70c3e;for(var _0x47b175=0x0;_0x47b175<_0x70c3e[_0x77c8('0x3c')];_0x47b175+=0x1){_0x5aa2cc[_0x47b175][_0x77c8('0x68')]=[];_0x4a1f4d['push'](db['ChatInternalMessage'][_0x77c8('0x4f')]({'where':{'FromId':[_0x417ac3[_0x77c8('0x61')]['id'],_0x70c3e[_0x47b175]['id']],'ToId':[_0x417ac3['user']['id'],_0x70c3e[_0x47b175]['id']],'ChatGroupId':null},'attributes':['id','createdAt',_0x77c8('0x69'),_0x77c8('0x6a'),_0x77c8('0x6b'),_0x77c8('0x4d')],'order':qs[_0x77c8('0x40')]('-createdAt'),'limit':0x1,'offset':0x0,'raw':!![]})[_0x77c8('0x2a')](wrapUser(_0x70c3e[_0x47b175])));}return BPromise[_0x77c8('0x6c')](_0x4a1f4d);}return[];})[_0x77c8('0x2a')](function(_0x28dc73){return{'rows':_0x28dc73,'count':_0x28dc73[_0x77c8('0x3c')]};})[_0x77c8('0x2a')](respondWithResult(_0x462ed1,null))[_0x77c8('0x49')](handleError(_0x462ed1,null));}; \ No newline at end of file +var _0xbf74=['fast-json-patch','moment','mustache','util','path','sox','to-csv','ejs','lodash','squel','desk.js','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','redis','defaults','socket.io-emitter','./chatInternalMessage.socket','sendStatus','status','end','offset','limit','set','Content-Range','json','apply','save','update','then','destroy','stack','name','index','map','ChatInternalMessage','rawAttributes','model','keys','query','filters','intersection','attributes','fields','hasOwnProperty','nolimit','order','sort','pick','where','merge','type','VIRTUAL','filter','count','includeAll','findAll','rows','catch','length','include','options','find','create','body','params','get','lastMessageAt','createdAt','lastMessage','format','YYYY-MM-DD\x20HH:mm:ss','getUsers','agent','admin','fullname','role','userpic','internal','online','lastLoginAt','allowmessenger','showWebBar','VoiceQueue','user','Unable\x20to\x20retrieve\x20the\x20current\x20user','Agents','userProfileId','resourceId','push','messages','FromId','read','eml-format','rimraf','zip-dir'];(function(_0x56023d,_0x3a6578){var _0x398a9c=function(_0x9b4a19){while(--_0x9b4a19){_0x56023d['push'](_0x56023d['shift']());}};_0x398a9c(++_0x3a6578);}(_0xbf74,0x132));var _0x4bf7=function(_0x543a71,_0x445eab){_0x543a71=_0x543a71-0x0;var _0xc91fe8=_0xbf74[_0x543a71];return _0xc91fe8;};'use strict';var pdf=require('html-pdf');var emlformat=require(_0x4bf7('0x0'));var rimraf=require(_0x4bf7('0x1'));var zipdir=require(_0x4bf7('0x2'));var jsonpatch=require(_0x4bf7('0x3'));var rp=require('request-promise');var moment=require(_0x4bf7('0x4'));var BPromise=require('bluebird');var Mustache=require(_0x4bf7('0x5'));var util=require(_0x4bf7('0x6'));var path=require(_0x4bf7('0x7'));var sox=require(_0x4bf7('0x8'));var csv=require(_0x4bf7('0x9'));var ejs=require(_0x4bf7('0xa'));var fs=require('fs');var _=require(_0x4bf7('0xb'));var squel=require(_0x4bf7('0xc'));var crypto=require('crypto');var jsforce=require('jsforce');var deskjs=require(_0x4bf7('0xd'));var toCsv=require(_0x4bf7('0x9'));var querystring=require('querystring');var Papa=require(_0x4bf7('0xe'));var Redis=require(_0x4bf7('0xf'));var authService=require(_0x4bf7('0x10'));var qs=require(_0x4bf7('0x11'));var as=require(_0x4bf7('0x12'));var hardwareService=require('../../config/license/hardware');var logger=require(_0x4bf7('0x13'))(_0x4bf7('0x14'));var utils=require(_0x4bf7('0x15'));var config=require(_0x4bf7('0x16'));var db=require(_0x4bf7('0x17'))['db'];config[_0x4bf7('0x18')]=_[_0x4bf7('0x19')](config['redis'],{'host':'localhost','port':0x18eb});var socket=require(_0x4bf7('0x1a'))(new Redis(config[_0x4bf7('0x18')]));require(_0x4bf7('0x1b'))['register'](socket);function respondWithStatusCode(_0x1e73c9,_0x488b49){_0x488b49=_0x488b49||0xcc;return function(_0x275274){if(_0x275274){return _0x1e73c9[_0x4bf7('0x1c')](_0x488b49);}return _0x1e73c9[_0x4bf7('0x1d')](_0x488b49)[_0x4bf7('0x1e')]();};}function respondWithResult(_0x4dd225,_0xff0fa3){_0xff0fa3=_0xff0fa3||0xc8;return function(_0x1fc207){if(_0x1fc207){return _0x4dd225[_0x4bf7('0x1d')](_0xff0fa3)['json'](_0x1fc207);}};}function respondWithFilteredResult(_0x1f1365,_0x4e58a0){return function(_0x3b3263){if(_0x3b3263){var _0xacb8b6=_0x3b3263['count'],_0x2f5d77=_0x4e58a0[_0x4bf7('0x1f')],_0xcc8372=_0x4e58a0[_0x4bf7('0x1f')]+_0x4e58a0[_0x4bf7('0x20')],_0x45d039;if(_0xcc8372>=_0xacb8b6){_0xcc8372=_0xacb8b6;_0x45d039=0xc8;}else{_0x45d039=0xce;}_0x1f1365[_0x4bf7('0x1d')](_0x45d039);return _0x1f1365[_0x4bf7('0x21')](_0x4bf7('0x22'),_0x2f5d77+'-'+_0xcc8372+'/'+_0xacb8b6)[_0x4bf7('0x23')](_0x3b3263);}return null;};}function patchUpdates(_0x1bd4b1){return function(_0x5df445){try{jsonpatch[_0x4bf7('0x24')](_0x5df445,_0x1bd4b1,!![]);}catch(_0x26f7ba){return BPromise['reject'](_0x26f7ba);}return _0x5df445[_0x4bf7('0x25')]();};}function saveUpdates(_0x5f4c18,_0x4887ca){return function(_0x5bf059){if(_0x5bf059){return _0x5bf059[_0x4bf7('0x26')](_0x5f4c18)[_0x4bf7('0x27')](function(_0x370d2f){return _0x370d2f;});}return null;};}function removeEntity(_0x3c73e1,_0x3e8734){return function(_0x1c5300){if(_0x1c5300){return _0x1c5300[_0x4bf7('0x28')]()['then'](function(){_0x3c73e1[_0x4bf7('0x1d')](0xcc)[_0x4bf7('0x1e')]();});}};}function handleEntityNotFound(_0x3bf294,_0x3b7083){return function(_0x15f1e6){if(!_0x15f1e6){_0x3bf294[_0x4bf7('0x1c')](0x194);}return _0x15f1e6;};}function handleError(_0x35341d,_0x27176a){_0x27176a=_0x27176a||0x1f4;return function(_0x55c219){logger['error'](_0x55c219[_0x4bf7('0x29')]);if(_0x55c219['name']){delete _0x55c219[_0x4bf7('0x2a')];}_0x35341d[_0x4bf7('0x1d')](_0x27176a)['send'](_0x55c219);};}exports[_0x4bf7('0x2b')]=function(_0x342877,_0x151005){var _0xe273a0={},_0x1b83d1={},_0x1a41d9={'count':0x0,'rows':[]};var _0x3cded9=_[_0x4bf7('0x2c')](db[_0x4bf7('0x2d')][_0x4bf7('0x2e')],function(_0x11cd50){return{'name':_0x11cd50['fieldName'],'type':_0x11cd50['type']['key']};});_0x1b83d1[_0x4bf7('0x2f')]=_[_0x4bf7('0x2c')](_0x3cded9,_0x4bf7('0x2a'));_0x1b83d1['query']=_[_0x4bf7('0x30')](_0x342877[_0x4bf7('0x31')]);_0x1b83d1[_0x4bf7('0x32')]=_[_0x4bf7('0x33')](_0x1b83d1[_0x4bf7('0x2f')],_0x1b83d1['query']);_0xe273a0[_0x4bf7('0x34')]=_[_0x4bf7('0x33')](_0x1b83d1[_0x4bf7('0x2f')],qs['fields'](_0x342877[_0x4bf7('0x31')][_0x4bf7('0x35')]));_0xe273a0[_0x4bf7('0x34')]=_0xe273a0['attributes']['length']?_0xe273a0[_0x4bf7('0x34')]:_0x1b83d1[_0x4bf7('0x2f')];if(!_0x342877[_0x4bf7('0x31')][_0x4bf7('0x36')](_0x4bf7('0x37'))){_0xe273a0[_0x4bf7('0x20')]=qs[_0x4bf7('0x20')](_0x342877[_0x4bf7('0x31')][_0x4bf7('0x20')]);_0xe273a0['offset']=qs['offset'](_0x342877[_0x4bf7('0x31')][_0x4bf7('0x1f')]);}_0xe273a0[_0x4bf7('0x38')]=qs[_0x4bf7('0x39')](_0x342877[_0x4bf7('0x31')][_0x4bf7('0x39')]);_0xe273a0['where']=qs[_0x4bf7('0x32')](_[_0x4bf7('0x3a')](_0x342877['query'],_0x1b83d1['filters']),_0x3cded9);if(_0x342877[_0x4bf7('0x31')]['filter']){_0xe273a0[_0x4bf7('0x3b')]=_[_0x4bf7('0x3c')](_0xe273a0[_0x4bf7('0x3b')],{'$or':_[_0x4bf7('0x2c')](_0x3cded9,function(_0x14bf6b){if(_0x14bf6b[_0x4bf7('0x3d')]!==_0x4bf7('0x3e')){var _0x7c2cd4={};_0x7c2cd4[_0x14bf6b[_0x4bf7('0x2a')]]={'$like':'%'+_0x342877[_0x4bf7('0x31')][_0x4bf7('0x3f')]+'%'};return _0x7c2cd4;}})});}_0xe273a0=_[_0x4bf7('0x3c')]({},_0xe273a0,_0x342877['options']);var _0x181ebd={'where':_0xe273a0[_0x4bf7('0x3b')]};return db[_0x4bf7('0x2d')][_0x4bf7('0x40')](_0x181ebd)['then'](function(_0x4dacab){_0x1a41d9[_0x4bf7('0x40')]=_0x4dacab;if(_0x342877[_0x4bf7('0x31')][_0x4bf7('0x41')]){_0xe273a0['include']=[{'all':!![]}];}return db['ChatInternalMessage'][_0x4bf7('0x42')](_0xe273a0);})[_0x4bf7('0x27')](function(_0x59534f){_0x1a41d9[_0x4bf7('0x43')]=_0x59534f;return _0x1a41d9;})['then'](respondWithFilteredResult(_0x151005,_0xe273a0))[_0x4bf7('0x44')](handleError(_0x151005,null));};exports['show']=function(_0x36fa55,_0x1d5e7d){var _0x2af7e8={'raw':!![],'where':{'id':_0x36fa55['params']['id']}},_0xbb6e3b={};_0xbb6e3b[_0x4bf7('0x2f')]=_[_0x4bf7('0x30')](db['ChatInternalMessage'][_0x4bf7('0x2e')]);_0xbb6e3b[_0x4bf7('0x31')]=_[_0x4bf7('0x30')](_0x36fa55[_0x4bf7('0x31')]);_0xbb6e3b[_0x4bf7('0x32')]=_[_0x4bf7('0x33')](_0xbb6e3b[_0x4bf7('0x2f')],_0xbb6e3b[_0x4bf7('0x31')]);_0x2af7e8[_0x4bf7('0x34')]=_[_0x4bf7('0x33')](_0xbb6e3b[_0x4bf7('0x2f')],qs['fields'](_0x36fa55['query'][_0x4bf7('0x35')]));_0x2af7e8['attributes']=_0x2af7e8['attributes'][_0x4bf7('0x45')]?_0x2af7e8[_0x4bf7('0x34')]:_0xbb6e3b[_0x4bf7('0x2f')];if(_0x36fa55[_0x4bf7('0x31')]['includeAll']){_0x2af7e8[_0x4bf7('0x46')]=[{'all':!![]}];}_0x2af7e8=_[_0x4bf7('0x3c')]({},_0x2af7e8,_0x36fa55[_0x4bf7('0x47')]);return db['ChatInternalMessage'][_0x4bf7('0x48')](_0x2af7e8)[_0x4bf7('0x27')](handleEntityNotFound(_0x1d5e7d,null))[_0x4bf7('0x27')](respondWithResult(_0x1d5e7d,null))[_0x4bf7('0x44')](handleError(_0x1d5e7d,null));};exports[_0x4bf7('0x49')]=function(_0x215e20,_0x806920){return db[_0x4bf7('0x2d')][_0x4bf7('0x49')](_0x215e20['body'],{})[_0x4bf7('0x27')](respondWithResult(_0x806920,0xc9))[_0x4bf7('0x44')](handleError(_0x806920,null));};exports[_0x4bf7('0x26')]=function(_0x35495f,_0x3b0432){if(_0x35495f['body']['id']){delete _0x35495f[_0x4bf7('0x4a')]['id'];}return db[_0x4bf7('0x2d')][_0x4bf7('0x48')]({'where':{'id':_0x35495f['params']['id']}})[_0x4bf7('0x27')](handleEntityNotFound(_0x3b0432,null))[_0x4bf7('0x27')](saveUpdates(_0x35495f[_0x4bf7('0x4a')],null))[_0x4bf7('0x27')](respondWithResult(_0x3b0432,null))[_0x4bf7('0x44')](handleError(_0x3b0432,null));};exports[_0x4bf7('0x28')]=function(_0x3c515c,_0x20cf3f){return db['ChatInternalMessage']['find']({'where':{'id':_0x3c515c[_0x4bf7('0x4b')]['id']}})[_0x4bf7('0x27')](handleEntityNotFound(_0x20cf3f,null))['then'](removeEntity(_0x20cf3f,null))[_0x4bf7('0x44')](handleError(_0x20cf3f,null));};exports['describe']=function(_0x3b36ae,_0x1fc0c8){return db[_0x4bf7('0x2d')]['describe']()['then'](respondWithResult(_0x1fc0c8,null))[_0x4bf7('0x44')](handleError(_0x1fc0c8,null));};function wrapUser(_0x2d6880){return function(_0x1d2db2){var _0x5ea9f1=_0x2d6880[_0x4bf7('0x4c')]({'plain':!![]});_0x5ea9f1['messages']=[];if(_0x1d2db2){_0x5ea9f1[_0x4bf7('0x4d')]=_0x1d2db2[_0x4bf7('0x4e')];_0x5ea9f1[_0x4bf7('0x4f')]=_0x1d2db2;}else{_0x5ea9f1[_0x4bf7('0x4d')]=moment(0x0)[_0x4bf7('0x50')](_0x4bf7('0x51'));_0x5ea9f1[_0x4bf7('0x4f')]={};}return _0x5ea9f1;};}exports[_0x4bf7('0x52')]=function(_0x3d76af,_0x27d0c4,_0x1847cf){var _0x225fc1=[];return db['User']['findAll']({'where':{'role':[_0x4bf7('0x53'),_0x4bf7('0x54'),'user']},'attributes':['id',_0x4bf7('0x55'),_0x4bf7('0x2a'),_0x4bf7('0x56'),_0x4bf7('0x57'),_0x4bf7('0x58'),_0x4bf7('0x59'),_0x4bf7('0x5a'),_0x4bf7('0x5b'),_0x4bf7('0x5c')],'order':qs[_0x4bf7('0x39')]('-online'),'include':[{'model':db[_0x4bf7('0x5d')],'as':'VoiceQueues','attributes':['id',_0x4bf7('0x2a'),_0x4bf7('0x3d')],'through':{'attributes':[]}}]})['then'](function(_0x3fc4a8){if(_0x3fc4a8){var _0x5c9ea4=_0x3d76af[_0x4bf7('0x5e')][_0x4bf7('0x4c')]({'plain':!![]});if(!_0x5c9ea4)throw new Error(_0x4bf7('0x5f'));if(_0x5c9ea4[_0x4bf7('0x56')]==='user'){return db['UserProfileSection'][_0x4bf7('0x48')]({'where':{'name':_0x4bf7('0x60'),'userProfileId':_0x5c9ea4[_0x4bf7('0x61')]},'raw':!![]})[_0x4bf7('0x27')](function(_0x5806f2){if(_0x5806f2){if(_0x5806f2['autoAssociation']===0x0){return db['UserProfileResource']['findAll']({'where':{'sectionId':_0x5806f2['id']},'raw':!![]})[_0x4bf7('0x27')](function(_0x344fad){var _0x53884c=[];if(_['isEmpty'](_0x344fad)){_0x53884c=_['filter'](_0x3fc4a8,function(_0x2f33e1){if(_0x2f33e1[_0x4bf7('0x56')]!=='agent'){return _0x2f33e1;}});return _0x53884c;}else{for(var _0x5d6c87=0x0;_0x5d6c87<_0x3fc4a8[_0x4bf7('0x45')];_0x5d6c87++){var _0xd8d8d2=_0x3fc4a8[_0x5d6c87];if(_0xd8d8d2[_0x4bf7('0x56')]===_0x4bf7('0x53')){var _0x3b2f64=_[_0x4bf7('0x48')](_0x344fad,function(_0x8d4e50){return _0x8d4e50[_0x4bf7('0x62')]===_0xd8d8d2['id'];});if(_0x3b2f64)_0x53884c[_0x4bf7('0x63')](_0xd8d8d2);}else{_0x53884c[_0x4bf7('0x63')](_0xd8d8d2);}}return _0x53884c;}});}else{return _0x3fc4a8;}}else{var _0x483ebb=_['filter'](_0x3fc4a8,function(_0x4065c3){if(_0x4065c3[_0x4bf7('0x56')]!==_0x4bf7('0x53')){return _0x4065c3;}});return _0x483ebb;}});}else{return _0x3fc4a8;}}})['then'](function(_0x1aa98d){var _0x17adf6=[];if(_0x1aa98d){_0x225fc1=_0x1aa98d;for(var _0x57a0d6=0x0;_0x57a0d6<_0x1aa98d[_0x4bf7('0x45')];_0x57a0d6+=0x1){_0x225fc1[_0x57a0d6][_0x4bf7('0x64')]=[];_0x17adf6[_0x4bf7('0x63')](db[_0x4bf7('0x2d')][_0x4bf7('0x48')]({'where':{'FromId':[_0x3d76af['user']['id'],_0x1aa98d[_0x57a0d6]['id']],'ToId':[_0x3d76af['user']['id'],_0x1aa98d[_0x57a0d6]['id']],'ChatGroupId':null},'attributes':['id',_0x4bf7('0x4e'),_0x4bf7('0x65'),'ToId',_0x4bf7('0x66'),_0x4bf7('0x4a')],'order':qs[_0x4bf7('0x39')]('-createdAt'),'limit':0x1,'offset':0x0,'raw':!![]})['then'](wrapUser(_0x1aa98d[_0x57a0d6])));}return BPromise['all'](_0x17adf6);}return[];})[_0x4bf7('0x27')](function(_0x52910c){return{'rows':_0x52910c,'count':_0x52910c['length']};})[_0x4bf7('0x27')](respondWithResult(_0x27d0c4,null))[_0x4bf7('0x44')](handleError(_0x27d0c4,null));}; \ No newline at end of file diff --git a/server/api/chatInternalMessage/chatInternalMessage.events.js b/server/api/chatInternalMessage/chatInternalMessage.events.js index 471251a..f072321 100644 --- a/server/api/chatInternalMessage/chatInternalMessage.events.js +++ b/server/api/chatInternalMessage/chatInternalMessage.events.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xbab0=['events','../../mysqldb','ChatInternalMessage','setMaxListeners','update','remove','emit','hasOwnProperty','hook'];(function(_0x502c7d,_0x2f1285){var _0x30b7ed=function(_0x2d92f3){while(--_0x2d92f3){_0x502c7d['push'](_0x502c7d['shift']());}};_0x30b7ed(++_0x2f1285);}(_0xbab0,0x183));var _0x0bab=function(_0x102279,_0x108661){_0x102279=_0x102279-0x0;var _0x2824b9=_0xbab0[_0x102279];return _0x2824b9;};'use strict';var EventEmitter=require(_0x0bab('0x0'));var ChatInternalMessage=require(_0x0bab('0x1'))['db'][_0x0bab('0x2')];var ChatInternalMessageEvents=new EventEmitter();ChatInternalMessageEvents[_0x0bab('0x3')](0x0);var events={'afterCreate':'save','afterUpdate':_0x0bab('0x4'),'afterDestroy':_0x0bab('0x5')};function emitEvent(_0x37b17b){return function(_0x31434c,_0x457d55,_0x43ca93){ChatInternalMessageEvents[_0x0bab('0x6')](_0x37b17b+':'+_0x31434c['id'],_0x31434c);ChatInternalMessageEvents[_0x0bab('0x6')](_0x37b17b,_0x31434c);_0x43ca93(null);};}for(var e in events){if(events[_0x0bab('0x7')](e)){var event=events[e];ChatInternalMessage[_0x0bab('0x8')](e,emitEvent(event));}}module['exports']=ChatInternalMessageEvents; \ No newline at end of file +var _0xf483=['hasOwnProperty','exports','../../mysqldb','setMaxListeners','save','update','remove','emit'];(function(_0x2641f9,_0x26715f){var _0x585741=function(_0x2d1462){while(--_0x2d1462){_0x2641f9['push'](_0x2641f9['shift']());}};_0x585741(++_0x26715f);}(_0xf483,0xf2));var _0x3f48=function(_0x58fc72,_0x200c34){_0x58fc72=_0x58fc72-0x0;var _0x6daa8c=_0xf483[_0x58fc72];return _0x6daa8c;};'use strict';var EventEmitter=require('events');var ChatInternalMessage=require(_0x3f48('0x0'))['db']['ChatInternalMessage'];var ChatInternalMessageEvents=new EventEmitter();ChatInternalMessageEvents[_0x3f48('0x1')](0x0);var events={'afterCreate':_0x3f48('0x2'),'afterUpdate':_0x3f48('0x3'),'afterDestroy':_0x3f48('0x4')};function emitEvent(_0x169391){return function(_0x312d9c,_0x5deb61,_0x49f64a){ChatInternalMessageEvents['emit'](_0x169391+':'+_0x312d9c['id'],_0x312d9c);ChatInternalMessageEvents[_0x3f48('0x5')](_0x169391,_0x312d9c);_0x49f64a(null);};}for(var e in events){if(events[_0x3f48('0x6')](e)){var event=events[e];ChatInternalMessage['hook'](e,emitEvent(event));}}module[_0x3f48('0x7')]=ChatInternalMessageEvents; \ No newline at end of file diff --git a/server/api/chatInternalMessage/chatInternalMessage.model.js b/server/api/chatInternalMessage/chatInternalMessage.model.js index df71031..015c34f 100644 --- a/server/api/chatInternalMessage/chatInternalMessage.model.js +++ b/server/api/chatInternalMessage/chatInternalMessage.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xbaf0=['define','ChatInternalMessage','chat_internal_messages','utf8mb4_unicode_ci','util','../../config/logger','api','moment','bluebird','request-promise','rimraf','../../config/environment','./chatInternalMessage.attributes','exports'];(function(_0xf02581,_0x30620c){var _0x20f24c=function(_0x2f5557){while(--_0x2f5557){_0xf02581['push'](_0xf02581['shift']());}};_0x20f24c(++_0x30620c);}(_0xbaf0,0x12a));var _0x0baf=function(_0x432682,_0x253044){_0x432682=_0x432682-0x0;var _0x463d05=_0xbaf0[_0x432682];return _0x463d05;};'use strict';var _=require('lodash');var util=require(_0x0baf('0x0'));var logger=require(_0x0baf('0x1'))(_0x0baf('0x2'));var moment=require(_0x0baf('0x3'));var BPromise=require(_0x0baf('0x4'));var rp=require(_0x0baf('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x0baf('0x6'));var config=require(_0x0baf('0x7'));var attributes=require(_0x0baf('0x8'));module[_0x0baf('0x9')]=function(_0xe4c3c4,_0x335e24){return _0xe4c3c4[_0x0baf('0xa')](_0x0baf('0xb'),attributes,{'tableName':_0x0baf('0xc'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':'utf8mb4','collate':_0x0baf('0xd')});}; \ No newline at end of file +var _0xb7e7=['ChatInternalMessage','utf8mb4','utf8mb4_unicode_ci','lodash','../../config/logger','moment','request-promise','rimraf','../../config/environment','./chatInternalMessage.attributes','define'];(function(_0x407300,_0x372d75){var _0x3e3d53=function(_0x2f319e){while(--_0x2f319e){_0x407300['push'](_0x407300['shift']());}};_0x3e3d53(++_0x372d75);}(_0xb7e7,0x121));var _0x7b7e=function(_0x2ec461,_0x5f588a){_0x2ec461=_0x2ec461-0x0;var _0x28603d=_0xb7e7[_0x2ec461];return _0x28603d;};'use strict';var _=require(_0x7b7e('0x0'));var util=require('util');var logger=require(_0x7b7e('0x1'))('api');var moment=require(_0x7b7e('0x2'));var BPromise=require('bluebird');var rp=require(_0x7b7e('0x3'));var fs=require('fs');var path=require('path');var rimraf=require(_0x7b7e('0x4'));var config=require(_0x7b7e('0x5'));var attributes=require(_0x7b7e('0x6'));module['exports']=function(_0x53ed64,_0x333fa4){return _0x53ed64[_0x7b7e('0x7')](_0x7b7e('0x8'),attributes,{'tableName':'chat_internal_messages','paranoid':![],'indexes':[],'timestamps':!![],'charset':_0x7b7e('0x9'),'collate':_0x7b7e('0xa')});}; \ No newline at end of file diff --git a/server/api/chatInternalMessage/chatInternalMessage.rpc.js b/server/api/chatInternalMessage/chatInternalMessage.rpc.js index d26c54f..a221831 100644 --- a/server/api/chatInternalMessage/chatInternalMessage.rpc.js +++ b/server/api/chatInternalMessage/chatInternalMessage.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xf986=['rpc','../../config/environment','jayson/promise','client','http','redis','defaults','localhost','socket.io-emitter','./chatInternalMessage.socket','register','info','ChatInternalMessage,\x20%s,\x20%s','request\x20sent','stringify','error','message','util','moment','bluebird','randomstring','ioredis','../../config/utils','../../config/logger'];(function(_0x1ae5ab,_0xc5d441){var _0x1ce001=function(_0x5ef96d){while(--_0x5ef96d){_0x1ae5ab['push'](_0x1ae5ab['shift']());}};_0x1ce001(++_0xc5d441);}(_0xf986,0x1a9));var _0x6f98=function(_0x3947c9,_0x4d6c97){_0x3947c9=_0x3947c9-0x0;var _0x2e7871=_0xf986[_0x3947c9];return _0x2e7871;};'use strict';var _=require('lodash');var util=require(_0x6f98('0x0'));var moment=require(_0x6f98('0x1'));var BPromise=require(_0x6f98('0x2'));var rs=require(_0x6f98('0x3'));var fs=require('fs');var Redis=require(_0x6f98('0x4'));var db=require('../../mysqldb')['db'];var utils=require(_0x6f98('0x5'));var logger=require(_0x6f98('0x6'))(_0x6f98('0x7'));var config=require(_0x6f98('0x8'));var jayson=require(_0x6f98('0x9'));var client=jayson[_0x6f98('0xa')][_0x6f98('0xb')]({'port':0x232a});config[_0x6f98('0xc')]=_[_0x6f98('0xd')](config[_0x6f98('0xc')],{'host':_0x6f98('0xe'),'port':0x18eb});var socket=require(_0x6f98('0xf'))(new Redis(config['redis']));require(_0x6f98('0x10'))[_0x6f98('0x11')](socket);function respondWithRpcPromise(_0x216f5b,_0x276b49,_0x56c5c0){return new BPromise(function(_0x2c2c30,_0x42d48f){return client['request'](_0x216f5b,_0x56c5c0)['then'](function(_0x53074e){logger[_0x6f98('0x12')](_0x6f98('0x13'),_0x276b49,_0x6f98('0x14'));logger['debug']('ChatInternalMessage,\x20%s,\x20%s,\x20%s',_0x276b49,_0x6f98('0x14'),JSON[_0x6f98('0x15')](_0x53074e));if(_0x53074e[_0x6f98('0x16')]){if(_0x53074e[_0x6f98('0x16')]['code']===0x1f4){logger[_0x6f98('0x16')](_0x6f98('0x13'),_0x276b49,_0x53074e['error'][_0x6f98('0x17')]);return _0x42d48f(_0x53074e[_0x6f98('0x16')][_0x6f98('0x17')]);}logger[_0x6f98('0x16')](_0x6f98('0x13'),_0x276b49,_0x53074e[_0x6f98('0x16')][_0x6f98('0x17')]);return _0x2c2c30(_0x53074e[_0x6f98('0x16')][_0x6f98('0x17')]);}else{logger['info'](_0x6f98('0x13'),_0x276b49,_0x6f98('0x14'));_0x2c2c30(_0x53074e['result'][_0x6f98('0x17')]);}})['catch'](function(_0x1f56fa){logger[_0x6f98('0x16')](_0x6f98('0x13'),_0x276b49,_0x1f56fa);_0x42d48f(_0x1f56fa);});});} \ No newline at end of file +var _0x546f=['ioredis','rpc','jayson/promise','client','http','redis','socket.io-emitter','./chatInternalMessage.socket','register','request','info','request\x20sent','debug','error','code','ChatInternalMessage,\x20%s,\x20%s','message','lodash','util','moment','bluebird','randomstring'];(function(_0x4cba56,_0x5b2c44){var _0x3cc9f3=function(_0x5bb80a){while(--_0x5bb80a){_0x4cba56['push'](_0x4cba56['shift']());}};_0x3cc9f3(++_0x5b2c44);}(_0x546f,0x1df));var _0xf546=function(_0x19cae9,_0xd6039b){_0x19cae9=_0x19cae9-0x0;var _0x163452=_0x546f[_0x19cae9];return _0x163452;};'use strict';var _=require(_0xf546('0x0'));var util=require(_0xf546('0x1'));var moment=require(_0xf546('0x2'));var BPromise=require(_0xf546('0x3'));var rs=require(_0xf546('0x4'));var fs=require('fs');var Redis=require(_0xf546('0x5'));var db=require('../../mysqldb')['db'];var utils=require('../../config/utils');var logger=require('../../config/logger')(_0xf546('0x6'));var config=require('../../config/environment');var jayson=require(_0xf546('0x7'));var client=jayson[_0xf546('0x8')][_0xf546('0x9')]({'port':0x232a});config[_0xf546('0xa')]=_['defaults'](config['redis'],{'host':'localhost','port':0x18eb});var socket=require(_0xf546('0xb'))(new Redis(config[_0xf546('0xa')]));require(_0xf546('0xc'))[_0xf546('0xd')](socket);function respondWithRpcPromise(_0x46aa44,_0x5e75a,_0x1b3507){return new BPromise(function(_0xeee370,_0x4e18c9){return client[_0xf546('0xe')](_0x46aa44,_0x1b3507)['then'](function(_0x4c1f31){logger[_0xf546('0xf')]('ChatInternalMessage,\x20%s,\x20%s',_0x5e75a,_0xf546('0x10'));logger[_0xf546('0x11')]('ChatInternalMessage,\x20%s,\x20%s,\x20%s',_0x5e75a,_0xf546('0x10'),JSON['stringify'](_0x4c1f31));if(_0x4c1f31[_0xf546('0x12')]){if(_0x4c1f31['error'][_0xf546('0x13')]===0x1f4){logger['error'](_0xf546('0x14'),_0x5e75a,_0x4c1f31[_0xf546('0x12')][_0xf546('0x15')]);return _0x4e18c9(_0x4c1f31[_0xf546('0x12')][_0xf546('0x15')]);}logger[_0xf546('0x12')]('ChatInternalMessage,\x20%s,\x20%s',_0x5e75a,_0x4c1f31[_0xf546('0x12')][_0xf546('0x15')]);return _0xeee370(_0x4c1f31[_0xf546('0x12')]['message']);}else{logger['info'](_0xf546('0x14'),_0x5e75a,_0xf546('0x10'));_0xeee370(_0x4c1f31['result'][_0xf546('0x15')]);}})['catch'](function(_0x131597){logger[_0xf546('0x12')](_0xf546('0x14'),_0x5e75a,_0x131597);_0x4e18c9(_0x131597);});});} \ No newline at end of file diff --git a/server/api/chatInternalMessage/chatInternalMessage.socket.js b/server/api/chatInternalMessage/chatInternalMessage.socket.js index d5c7602..6f37f23 100644 --- a/server/api/chatInternalMessage/chatInternalMessage.socket.js +++ b/server/api/chatInternalMessage/chatInternalMessage.socket.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x502a=['save','update','emit','removeListener','register','length','./chatInternalMessage.events'];(function(_0x312940,_0xbf9725){var _0xf7bb45=function(_0x2e11dd){while(--_0x2e11dd){_0x312940['push'](_0x312940['shift']());}};_0xf7bb45(++_0xbf9725);}(_0x502a,0xd8));var _0xa502=function(_0x118523,_0x494fce){_0x118523=_0x118523-0x0;var _0x23f07c=_0x502a[_0x118523];return _0x23f07c;};'use strict';var ChatInternalMessageEvents=require(_0xa502('0x0'));var events=[_0xa502('0x1'),'remove',_0xa502('0x2')];function createListener(_0x3c225b,_0x56597d){return function(_0x4818e9){_0x56597d[_0xa502('0x3')](_0x3c225b,_0x4818e9);};}function removeListener(_0x5c89a6,_0x13ee72){return function(){ChatInternalMessageEvents[_0xa502('0x4')](_0x5c89a6,_0x13ee72);};}exports[_0xa502('0x5')]=function(_0x1cb2e4){for(var _0x136d51=0x0,_0x489407=events[_0xa502('0x6')];_0x136d51<_0x489407;_0x136d51++){var _0x29fb03=events[_0x136d51];var _0x4d30f2=createListener('chatInternalMessage:'+_0x29fb03,_0x1cb2e4);ChatInternalMessageEvents['on'](_0x29fb03,_0x4d30f2);}}; \ No newline at end of file +var _0x84ab=['update','emit','removeListener','register','length','chatInternalMessage:','./chatInternalMessage.events','save','remove'];(function(_0x591742,_0x4e3bf5){var _0x23d26d=function(_0x5ac38c){while(--_0x5ac38c){_0x591742['push'](_0x591742['shift']());}};_0x23d26d(++_0x4e3bf5);}(_0x84ab,0x12f));var _0xb84a=function(_0x30faec,_0x18940b){_0x30faec=_0x30faec-0x0;var _0x29484f=_0x84ab[_0x30faec];return _0x29484f;};'use strict';var ChatInternalMessageEvents=require(_0xb84a('0x0'));var events=[_0xb84a('0x1'),_0xb84a('0x2'),_0xb84a('0x3')];function createListener(_0x473c3,_0x512f13){return function(_0xc83587){_0x512f13[_0xb84a('0x4')](_0x473c3,_0xc83587);};}function removeListener(_0x47b8e3,_0x9d3a00){return function(){ChatInternalMessageEvents[_0xb84a('0x5')](_0x47b8e3,_0x9d3a00);};}exports[_0xb84a('0x6')]=function(_0x5b9def){for(var _0x521a64=0x0,_0x4dc496=events[_0xb84a('0x7')];_0x521a64<_0x4dc496;_0x521a64++){var _0x4fac4d=events[_0x521a64];var _0x3e9086=createListener(_0xb84a('0x8')+_0x4fac4d,_0x5b9def);ChatInternalMessageEvents['on'](_0x4fac4d,_0x3e9086);}}; \ No newline at end of file diff --git a/server/api/chatInternalMessage/index.js b/server/api/chatInternalMessage/index.js index 9d92865..d128cb5 100644 --- a/server/api/chatInternalMessage/index.js +++ b/server/api/chatInternalMessage/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x0713=['exports','path','connect-timeout','express','Router','../../components/auth/service','../../config/environment','./chatInternalMessage.controller','get','isAuthenticated','index','/describe','describe','/users','getUsers','/:id','show','post','put','update','delete'];(function(_0x59a4b9,_0x42f4be){var _0x569e6b=function(_0x243c52){while(--_0x243c52){_0x59a4b9['push'](_0x59a4b9['shift']());}};_0x569e6b(++_0x42f4be);}(_0x0713,0x1ba));var _0x3071=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x0713[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x3071('0x0'));var timeout=require(_0x3071('0x1'));var express=require(_0x3071('0x2'));var router=express[_0x3071('0x3')]();var auth=require(_0x3071('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x3071('0x5'));var controller=require(_0x3071('0x6'));router[_0x3071('0x7')]('/',auth[_0x3071('0x8')](),controller[_0x3071('0x9')]);router[_0x3071('0x7')](_0x3071('0xa'),auth[_0x3071('0x8')](),controller[_0x3071('0xb')]);router[_0x3071('0x7')](_0x3071('0xc'),auth[_0x3071('0x8')](),controller[_0x3071('0xd')]);router['get'](_0x3071('0xe'),auth[_0x3071('0x8')](),controller[_0x3071('0xf')]);router[_0x3071('0x10')]('/',auth[_0x3071('0x8')](),controller['create']);router[_0x3071('0x11')](_0x3071('0xe'),controller[_0x3071('0x12')]);router[_0x3071('0x13')](_0x3071('0xe'),auth['isAuthenticated'](),controller['destroy']);module[_0x3071('0x14')]=router; \ No newline at end of file +var _0xcb91=['isAuthenticated','/describe','describe','/:id','show','post','put','update','delete','path','connect-timeout','express','Router','../../components/interaction/service','../../config/environment','get'];(function(_0x316175,_0x2032df){var _0x41e6a0=function(_0x1139c9){while(--_0x1139c9){_0x316175['push'](_0x316175['shift']());}};_0x41e6a0(++_0x2032df);}(_0xcb91,0x1a9));var _0x1cb9=function(_0xa2c0a3,_0x5bbac0){_0xa2c0a3=_0xa2c0a3-0x0;var _0x52c618=_0xcb91[_0xa2c0a3];return _0x52c618;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x1cb9('0x0'));var timeout=require(_0x1cb9('0x1'));var express=require(_0x1cb9('0x2'));var router=express[_0x1cb9('0x3')]();var auth=require('../../components/auth/service');var interaction=require(_0x1cb9('0x4'));var config=require(_0x1cb9('0x5'));var controller=require('./chatInternalMessage.controller');router[_0x1cb9('0x6')]('/',auth[_0x1cb9('0x7')](),controller['index']);router[_0x1cb9('0x6')](_0x1cb9('0x8'),auth['isAuthenticated'](),controller[_0x1cb9('0x9')]);router[_0x1cb9('0x6')]('/users',auth[_0x1cb9('0x7')](),controller['getUsers']);router['get'](_0x1cb9('0xa'),auth[_0x1cb9('0x7')](),controller[_0x1cb9('0xb')]);router[_0x1cb9('0xc')]('/',auth[_0x1cb9('0x7')](),controller['create']);router[_0x1cb9('0xd')](_0x1cb9('0xa'),controller[_0x1cb9('0xe')]);router[_0x1cb9('0xf')](_0x1cb9('0xa'),auth['isAuthenticated'](),controller['destroy']);module['exports']=router; \ No newline at end of file diff --git a/server/api/chatMessage/chatMessage.attributes.js b/server/api/chatMessage/chatMessage.attributes.js index b2cab06..d6175b8 100644 --- a/server/api/chatMessage/chatMessage.attributes.js +++ b/server/api/chatMessage/chatMessage.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x0562=['sequelize','exports','TEXT','medium','DATE'];(function(_0xf34109,_0x380779){var _0x570bfc=function(_0x1ad086){while(--_0x1ad086){_0xf34109['push'](_0xf34109['shift']());}};_0x570bfc(++_0x380779);}(_0x0562,0x19a));var _0x2056=function(_0x2d0098,_0x43b8e7){_0x2d0098=_0x2d0098-0x0;var _0x46af0b=_0x0562[_0x2d0098];return _0x46af0b;};'use strict';var Sequelize=require(_0x2056('0x0'));module[_0x2056('0x1')]={'body':{'type':Sequelize[_0x2056('0x2')](_0x2056('0x3')),'allowNull':![]},'read':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'secret':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'direction':{'type':Sequelize['ENUM']('in','out'),'defaultValue':'out','allowNull':![]},'readAt':{'type':Sequelize[_0x2056('0x4')]}}; \ No newline at end of file +var _0xf798=['DATE','sequelize','TEXT','medium','BOOLEAN','out'];(function(_0x174f82,_0x2a7413){var _0x29a7fa=function(_0x4f1165){while(--_0x4f1165){_0x174f82['push'](_0x174f82['shift']());}};_0x29a7fa(++_0x2a7413);}(_0xf798,0x127));var _0x8f79=function(_0x2aecb2,_0x343312){_0x2aecb2=_0x2aecb2-0x0;var _0x3ebb80=_0xf798[_0x2aecb2];return _0x3ebb80;};'use strict';var Sequelize=require(_0x8f79('0x0'));module['exports']={'body':{'type':Sequelize[_0x8f79('0x1')](_0x8f79('0x2')),'allowNull':![]},'read':{'type':Sequelize[_0x8f79('0x3')],'defaultValue':![]},'secret':{'type':Sequelize[_0x8f79('0x3')],'defaultValue':![]},'direction':{'type':Sequelize['ENUM']('in',_0x8f79('0x4')),'defaultValue':_0x8f79('0x4'),'allowNull':![]},'readAt':{'type':Sequelize[_0x8f79('0x5')]}}; \ No newline at end of file diff --git a/server/api/chatMessage/chatMessage.controller.js b/server/api/chatMessage/chatMessage.controller.js index b40b9d9..74d2de0 100644 --- a/server/api/chatMessage/chatMessage.controller.js +++ b/server/api/chatMessage/chatMessage.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x7011=['redis','localhost','./chatMessage.socket','jayson/promise','client','http','test','Sequelize','ValidationError','request','info','ChatMessage,\x20%s,\x20%s','request\x20sent','debug','ChatMessage,\x20%s,\x20%s,\x20%s','stringify','error','code','message','catch','sendStatus','status','json','offset','limit','reject','save','then','end','name','index','map','ChatMessage','rawAttributes','type','key','model','keys','query','intersection','fields','attributes','hasOwnProperty','nolimit','order','sort','where','filters','pick','filter','merge','options','count','includeAll','include','findAll','rows','show','params','length','find','create','body','update','describe','chat-interactions','chat','read','readAt','format','YYYY-MM-DD\x20HH:mm:ss','UserId','user','CmContact','Contact','get','ChatInteraction','isNil','read1stAt','role','interaction','null','acceptMessage','interface','channel','accept','EventManager','acceptmessage','formData','agent','ChatInteractionId','rejectMessage','SIP/%s','rejectmessage','html-pdf','eml-format','rimraf','zip-dir','request-promise','moment','bluebird','mustache','util','path','ejs','lodash','squel','jsforce','desk.js','to-csv','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../config/logger','../../config/utils','../../config/environment','../../mysqldb'];(function(_0x390357,_0x3412b1){var _0x38f190=function(_0x336f23){while(--_0x336f23){_0x390357['push'](_0x390357['shift']());}};_0x38f190(++_0x3412b1);}(_0x7011,0x14c));var _0x1701=function(_0x179b80,_0x440291){_0x179b80=_0x179b80-0x0;var _0x1e8d03=_0x7011[_0x179b80];return _0x1e8d03;};'use strict';var pdf=require(_0x1701('0x0'));var emlformat=require(_0x1701('0x1'));var rimraf=require(_0x1701('0x2'));var zipdir=require(_0x1701('0x3'));var jsonpatch=require('fast-json-patch');var rp=require(_0x1701('0x4'));var moment=require(_0x1701('0x5'));var BPromise=require(_0x1701('0x6'));var Mustache=require(_0x1701('0x7'));var util=require(_0x1701('0x8'));var path=require(_0x1701('0x9'));var sox=require('sox');var csv=require('to-csv');var ejs=require(_0x1701('0xa'));var fs=require('fs');var _=require(_0x1701('0xb'));var squel=require(_0x1701('0xc'));var crypto=require('crypto');var jsforce=require(_0x1701('0xd'));var deskjs=require(_0x1701('0xe'));var toCsv=require(_0x1701('0xf'));var querystring=require(_0x1701('0x10'));var Papa=require(_0x1701('0x11'));var Redis=require(_0x1701('0x12'));var authService=require(_0x1701('0x13'));var qs=require(_0x1701('0x14'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require('../../config/license/hardware');var logger=require(_0x1701('0x15'))('api');var utils=require(_0x1701('0x16'));var config=require(_0x1701('0x17'));var db=require(_0x1701('0x18'))['db'];config[_0x1701('0x19')]=_['defaults'](config[_0x1701('0x19')],{'host':_0x1701('0x1a'),'port':0x18eb});var socket=require('socket.io-emitter')(new Redis(config[_0x1701('0x19')]));require(_0x1701('0x1b'))['register'](socket);var jayson=require(_0x1701('0x1c'));var client=jayson[_0x1701('0x1d')][_0x1701('0x1e')]({'port':0x232c});var client9002=jayson[_0x1701('0x1d')][_0x1701('0x1e')]({'port':0x232a});function checkPasswordPattern(_0x2bf405,_0x3d1c11,_0xb972da){if(_0xb972da){var _0x2e6902=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0x2e6902[_0x1701('0x1f')](_0x3d1c11)){return _0x2bf405;}else{throw new db[(_0x1701('0x20'))][(_0x1701('0x21'))]('The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.');}}else{return _0x2bf405;}}function respondWithRpcPromise(_0x1c1261,_0x4bc53d,_0x4202e0,_0x3cf39c){return new BPromise(function(_0x5b79ed,_0x551c78){var _0x404916=_0x3cf39c||client;return _0x404916[_0x1701('0x22')](_0x1c1261,_0x4202e0)['then'](function(_0xdf3d30){logger[_0x1701('0x23')](_0x1701('0x24'),_0x4bc53d,_0x1701('0x25'));logger[_0x1701('0x26')](_0x1701('0x27'),_0x4bc53d,_0x1701('0x25'),JSON[_0x1701('0x28')](_0xdf3d30));if(_0xdf3d30[_0x1701('0x29')]){if(_0xdf3d30[_0x1701('0x29')][_0x1701('0x2a')]===0x1f4){logger[_0x1701('0x29')](_0x1701('0x24'),_0x4bc53d,_0xdf3d30[_0x1701('0x29')][_0x1701('0x2b')]);return _0x551c78(_0xdf3d30[_0x1701('0x29')][_0x1701('0x2b')]);}logger[_0x1701('0x29')](_0x1701('0x24'),_0x4bc53d,_0xdf3d30[_0x1701('0x29')][_0x1701('0x2b')]);return _0x5b79ed(_0xdf3d30[_0x1701('0x29')][_0x1701('0x2b')]);}else{logger[_0x1701('0x23')](_0x1701('0x24'),_0x4bc53d,'request\x20sent');_0x5b79ed(_0xdf3d30['result'][_0x1701('0x2b')]);}})[_0x1701('0x2c')](function(_0x130b26){logger[_0x1701('0x29')](_0x1701('0x24'),_0x4bc53d,_0x130b26);_0x551c78(_0x130b26);});});}function respondWithStatusCode(_0x20952d,_0x2bb54a){_0x2bb54a=_0x2bb54a||0xcc;return function(_0x4099d7){if(_0x4099d7){return _0x20952d[_0x1701('0x2d')](_0x2bb54a);}return _0x20952d['status'](_0x2bb54a)['end']();};}function respondWithResult(_0xb10a78,_0x4f6a3f){_0x4f6a3f=_0x4f6a3f||0xc8;return function(_0x75745b){if(_0x75745b){return _0xb10a78[_0x1701('0x2e')](_0x4f6a3f)[_0x1701('0x2f')](_0x75745b);}};}function respondWithFilteredResult(_0x10e756,_0x41e108){return function(_0x22878e){if(_0x22878e){var _0x3c1ff5=_0x22878e['count'],_0xec868e=_0x41e108[_0x1701('0x30')],_0x476bec=_0x41e108[_0x1701('0x30')]+_0x41e108[_0x1701('0x31')],_0xe83272;if(_0x476bec>=_0x3c1ff5){_0x476bec=_0x3c1ff5;_0xe83272=0xc8;}else{_0xe83272=0xce;}_0x10e756[_0x1701('0x2e')](_0xe83272);return _0x10e756['set']('Content-Range',_0xec868e+'-'+_0x476bec+'/'+_0x3c1ff5)['json'](_0x22878e);}return null;};}function patchUpdates(_0x4e1bbe){return function(_0x43f5d3){try{jsonpatch['apply'](_0x43f5d3,_0x4e1bbe,!![]);}catch(_0x4e388e){return BPromise[_0x1701('0x32')](_0x4e388e);}return _0x43f5d3[_0x1701('0x33')]();};}function saveUpdates(_0x366583,_0x56cbf0){return function(_0x3c12e5){if(_0x3c12e5){return _0x3c12e5['update'](_0x366583)['then'](function(_0x1b5192){return _0x1b5192;});}return null;};}function removeEntity(_0x261260,_0x45a188){return function(_0x3912b5){if(_0x3912b5){return _0x3912b5['destroy']()[_0x1701('0x34')](function(){_0x261260[_0x1701('0x2e')](0xcc)[_0x1701('0x35')]();});}};}function handleEntityNotFound(_0x162f2f,_0x29defc){return function(_0x530488){if(!_0x530488){_0x162f2f[_0x1701('0x2d')](0x194);}return _0x530488;};}function handleError(_0x400f5b,_0x476bf8){_0x476bf8=_0x476bf8||0x1f4;return function(_0x10d088){logger[_0x1701('0x29')](_0x10d088['stack']);if(_0x10d088[_0x1701('0x36')]){delete _0x10d088[_0x1701('0x36')];}_0x400f5b[_0x1701('0x2e')](_0x476bf8)['send'](_0x10d088);};}exports[_0x1701('0x37')]=function(_0x4298fd,_0x584ebb){var _0x588243={},_0x3c7c7d={},_0x4dd663={'count':0x0,'rows':[]};var _0x400487=_[_0x1701('0x38')](db[_0x1701('0x39')][_0x1701('0x3a')],function(_0x449356){return{'name':_0x449356['fieldName'],'type':_0x449356[_0x1701('0x3b')][_0x1701('0x3c')]};});_0x3c7c7d[_0x1701('0x3d')]=_[_0x1701('0x38')](_0x400487,_0x1701('0x36'));_0x3c7c7d['query']=_[_0x1701('0x3e')](_0x4298fd[_0x1701('0x3f')]);_0x3c7c7d['filters']=_[_0x1701('0x40')](_0x3c7c7d[_0x1701('0x3d')],_0x3c7c7d[_0x1701('0x3f')]);_0x588243['attributes']=_[_0x1701('0x40')](_0x3c7c7d[_0x1701('0x3d')],qs['fields'](_0x4298fd[_0x1701('0x3f')][_0x1701('0x41')]));_0x588243[_0x1701('0x42')]=_0x588243[_0x1701('0x42')]['length']?_0x588243[_0x1701('0x42')]:_0x3c7c7d[_0x1701('0x3d')];if(!_0x4298fd[_0x1701('0x3f')][_0x1701('0x43')](_0x1701('0x44'))){_0x588243['limit']=qs[_0x1701('0x31')](_0x4298fd[_0x1701('0x3f')]['limit']);_0x588243[_0x1701('0x30')]=qs[_0x1701('0x30')](_0x4298fd[_0x1701('0x3f')][_0x1701('0x30')]);}_0x588243[_0x1701('0x45')]=qs[_0x1701('0x46')](_0x4298fd[_0x1701('0x3f')][_0x1701('0x46')]);_0x588243[_0x1701('0x47')]=qs[_0x1701('0x48')](_[_0x1701('0x49')](_0x4298fd[_0x1701('0x3f')],_0x3c7c7d[_0x1701('0x48')]),_0x400487);if(_0x4298fd['query'][_0x1701('0x4a')]){_0x588243['where']=_[_0x1701('0x4b')](_0x588243[_0x1701('0x47')],{'$or':_[_0x1701('0x38')](_0x400487,function(_0x25d763){if(_0x25d763[_0x1701('0x3b')]!=='VIRTUAL'){var _0x4619e4={};_0x4619e4[_0x25d763[_0x1701('0x36')]]={'$like':'%'+_0x4298fd[_0x1701('0x3f')]['filter']+'%'};return _0x4619e4;}})});}_0x588243=_['merge']({},_0x588243,_0x4298fd[_0x1701('0x4c')]);var _0x367fe5={'where':_0x588243[_0x1701('0x47')]};return db['ChatMessage'][_0x1701('0x4d')](_0x367fe5)[_0x1701('0x34')](function(_0x485612){_0x4dd663[_0x1701('0x4d')]=_0x485612;if(_0x4298fd[_0x1701('0x3f')][_0x1701('0x4e')]){_0x588243[_0x1701('0x4f')]=[{'all':!![]}];}return db[_0x1701('0x39')][_0x1701('0x50')](_0x588243);})[_0x1701('0x34')](function(_0x15d37e){_0x4dd663[_0x1701('0x51')]=_0x15d37e;return _0x4dd663;})[_0x1701('0x34')](respondWithFilteredResult(_0x584ebb,_0x588243))[_0x1701('0x2c')](handleError(_0x584ebb,null));};exports[_0x1701('0x52')]=function(_0x3e76fc,_0x231c1a){var _0x45c7ca={'raw':!![],'where':{'id':_0x3e76fc[_0x1701('0x53')]['id']}},_0x598e40={};_0x598e40[_0x1701('0x3d')]=_[_0x1701('0x3e')](db[_0x1701('0x39')]['rawAttributes']);_0x598e40[_0x1701('0x3f')]=_[_0x1701('0x3e')](_0x3e76fc[_0x1701('0x3f')]);_0x598e40[_0x1701('0x48')]=_[_0x1701('0x40')](_0x598e40['model'],_0x598e40[_0x1701('0x3f')]);_0x45c7ca[_0x1701('0x42')]=_['intersection'](_0x598e40['model'],qs[_0x1701('0x41')](_0x3e76fc[_0x1701('0x3f')][_0x1701('0x41')]));_0x45c7ca[_0x1701('0x42')]=_0x45c7ca[_0x1701('0x42')][_0x1701('0x54')]?_0x45c7ca[_0x1701('0x42')]:_0x598e40[_0x1701('0x3d')];if(_0x3e76fc['query'][_0x1701('0x4e')]){_0x45c7ca[_0x1701('0x4f')]=[{'all':!![]}];}_0x45c7ca=_[_0x1701('0x4b')]({},_0x45c7ca,_0x3e76fc['options']);return db[_0x1701('0x39')][_0x1701('0x55')](_0x45c7ca)[_0x1701('0x34')](handleEntityNotFound(_0x231c1a,null))[_0x1701('0x34')](respondWithResult(_0x231c1a,null))[_0x1701('0x2c')](handleError(_0x231c1a,null));};exports[_0x1701('0x56')]=function(_0x537d68,_0x1d1eba){return db[_0x1701('0x39')]['create'](_0x537d68[_0x1701('0x57')],{})[_0x1701('0x34')](respondWithResult(_0x1d1eba,0xc9))['catch'](handleError(_0x1d1eba,null));};exports[_0x1701('0x58')]=function(_0x40c633,_0x5a92ee){if(_0x40c633['body']['id']){delete _0x40c633[_0x1701('0x57')]['id'];}return db[_0x1701('0x39')][_0x1701('0x55')]({'where':{'id':_0x40c633[_0x1701('0x53')]['id']}})[_0x1701('0x34')](handleEntityNotFound(_0x5a92ee,null))[_0x1701('0x34')](saveUpdates(_0x40c633[_0x1701('0x57')],null))[_0x1701('0x34')](respondWithResult(_0x5a92ee,null))[_0x1701('0x2c')](handleError(_0x5a92ee,null));};exports['destroy']=function(_0x273a5f,_0x1b60aa){return db[_0x1701('0x39')][_0x1701('0x55')]({'where':{'id':_0x273a5f[_0x1701('0x53')]['id']}})[_0x1701('0x34')](handleEntityNotFound(_0x1b60aa,null))[_0x1701('0x34')](removeEntity(_0x1b60aa,null))[_0x1701('0x2c')](handleError(_0x1b60aa,null));};exports[_0x1701('0x59')]=function(_0x545003,_0x221e12){return db[_0x1701('0x39')]['describe']()[_0x1701('0x34')](respondWithResult(_0x221e12,null))[_0x1701('0x2c')](handleError(_0x221e12,null));};var interaction_log=require('../../config/logger')(_0x1701('0x5a'));exports['accept']=function(_0x9f9980,_0xf237bd,_0x52fe19){var _0x3705c6={'channel':_0x1701('0x5b')};if(_0x9f9980[_0x1701('0x57')]['id']){delete _0x9f9980[_0x1701('0x57')]['id'];}_0x9f9980[_0x1701('0x57')][_0x1701('0x5c')]=!![];_0x9f9980['body'][_0x1701('0x5d')]=moment()[_0x1701('0x5e')](_0x1701('0x5f'));_0x9f9980[_0x1701('0x57')]['UserId']=_0x9f9980[_0x1701('0x57')][_0x1701('0x60')]||_0x9f9980[_0x1701('0x61')]['id'];return db[_0x1701('0x39')][_0x1701('0x55')]({'where':{'id':_0x9f9980[_0x1701('0x53')]['id'],'UserId':null},'include':[{'model':db[_0x1701('0x62')],'as':_0x1701('0x63')}]})[_0x1701('0x34')](handleEntityNotFound(_0xf237bd,null))[_0x1701('0x34')](saveUpdates(_0x9f9980['body'],null))[_0x1701('0x34')](function(_0x41890d){if(_0x41890d){_0x3705c6[_0x1701('0x2b')]=_0x41890d[_0x1701('0x64')]({'plain':!![]});return db[_0x1701('0x65')]['find']({'where':{'id':_0x41890d['ChatInteractionId']}});}return null;})[_0x1701('0x34')](handleEntityNotFound(_0xf237bd,null))['then'](function(_0x4952e8){if(_0x4952e8){return _0x4952e8['update']({'UserId':_0x9f9980[_0x1701('0x57')]['UserId'],'read1stAt':_[_0x1701('0x66')](_0x4952e8[_0x1701('0x67')])?moment()[_0x1701('0x5e')](_0x1701('0x5f')):undefined});}return null;})[_0x1701('0x34')](function(_0x18190a){if(_0x18190a){_0x3705c6['interaction']=_0x18190a['get']({'plain':!![]});interaction_log[_0x1701('0x23')]('[CHATMESSAGE:ACCEPT]\x20id=%s\x20name=%s\x20role=%s\x20interaction=%s\x20body=%s',_0x9f9980[_0x1701('0x61')]['id'],_0x9f9980[_0x1701('0x61')]['name'],_0x9f9980[_0x1701('0x61')][_0x1701('0x68')],_0x3705c6[_0x1701('0x69')]['id'],_0x9f9980[_0x1701('0x57')]?JSON[_0x1701('0x28')](_0x9f9980[_0x1701('0x57')]):_0x1701('0x6a'));return respondWithRpcPromise('AcceptMessage',_0x1701('0x6b'),_0x3705c6);}return null;})[_0x1701('0x34')](function(_0x5037ff){if(_0x5037ff){if(_0x9f9980[_0x1701('0x57')]['manual']){_0x3705c6['message'][_0x1701('0x6c')]=util[_0x1701('0x5e')]('SIP/%s',_0x9f9980['user']['name']);_0x3705c6[_0x1701('0x2b')][_0x1701('0x6d')]=_0x3705c6[_0x1701('0x6d')];_0x3705c6[_0x1701('0x2b')]['event']=_0x1701('0x6e');return respondWithRpcPromise(_0x1701('0x6f'),'EventManager',{'event':_0x1701('0x70'),'message':_['merge'](_0x3705c6[_0x1701('0x2b')],JSON['parse'](_0x3705c6['interaction'][_0x1701('0x71')]))},client9002)[_0x1701('0x34')](function(){return _0x3705c6;});}return _0x3705c6;}return null;})[_0x1701('0x34')](respondWithResult(_0xf237bd,null))[_0x1701('0x2c')](handleError(_0xf237bd,null));};var interaction_log=require(_0x1701('0x15'))(_0x1701('0x5a'));exports[_0x1701('0x32')]=function(_0x20f788,_0x1bacd5,_0x51a134){var _0x2b4946={'agent':{},'channel':_0x1701('0x5b')};if(_0x20f788['body']['id']){delete _0x20f788['body']['id'];}_0x20f788[_0x1701('0x57')][_0x1701('0x60')]=_0x20f788[_0x1701('0x57')]['UserId']||_0x20f788[_0x1701('0x61')]['id'];_0x2b4946[_0x1701('0x72')]['id']=_0x20f788[_0x1701('0x57')]['UserId'];return db[_0x1701('0x39')][_0x1701('0x55')]({'where':{'id':_0x20f788[_0x1701('0x53')]['id'],'UserId':null}})[_0x1701('0x34')](handleEntityNotFound(_0x1bacd5,null))['then'](function(_0x468d59){if(_0x468d59){_0x2b4946[_0x1701('0x2b')]=_0x468d59[_0x1701('0x64')]({'plain':!![]});return db[_0x1701('0x65')][_0x1701('0x55')]({'where':{'id':_0x468d59[_0x1701('0x73')]}});}return null;})[_0x1701('0x34')](handleEntityNotFound(_0x1bacd5,null))['then'](function(_0x16146d){if(_0x16146d){_0x2b4946[_0x1701('0x69')]=_0x16146d[_0x1701('0x64')]({'plain':!![]});interaction_log['info']('[CHATMESSAGE:REJECT]\x20id=%s\x20name=%s\x20role=%s\x20interaction=%s\x20body=%s',_0x20f788[_0x1701('0x61')]['id'],_0x20f788[_0x1701('0x61')][_0x1701('0x36')],_0x20f788[_0x1701('0x61')][_0x1701('0x68')],_0x2b4946[_0x1701('0x69')]['id'],_0x20f788[_0x1701('0x57')]?JSON['stringify'](_0x20f788['body']):_0x1701('0x6a'));return respondWithRpcPromise('RejectMessage',_0x1701('0x74'),_0x2b4946);}return null;})['then'](function(_0x5a59b1){if(_0x5a59b1){_0x5a59b1['message']['interface']=util[_0x1701('0x5e')](_0x1701('0x75'),_0x20f788['user']['name']);_0x5a59b1[_0x1701('0x2b')]['channel']=_0x2b4946['channel'];_0x5a59b1['message']['event']=_0x1701('0x32');respondWithRpcPromise(_0x1701('0x6f'),_0x1701('0x6f'),{'event':_0x1701('0x76'),'message':_0x5a59b1[_0x1701('0x2b')]},client9002);return _0x2b4946;}return null;})[_0x1701('0x34')](respondWithResult(_0x1bacd5,null))[_0x1701('0x2c')](handleError(_0x1bacd5,null));}; \ No newline at end of file +var _0x0505=['sendStatus','stack','name','send','index','ChatMessage','rawAttributes','fieldName','type','key','model','query','filters','intersection','fields','attributes','length','nolimit','limit','sort','where','pick','filter','map','VIRTUAL','merge','options','findAll','rows','show','params','keys','includeAll','find','body','describe','readAt','format','YYYY-MM-DD\x20HH:mm:ss','UserId','user','Contact','get','ChatInteraction','isNil','read1stAt','interaction','[CHATMESSAGE:ACCEPT]\x20id=%s\x20name=%s\x20role=%s\x20interaction=%s\x20body=%s','stringify','null','AcceptMessage','interface','SIP/%s','channel','EventManager','parse','formData','chat-interactions','chat','ChatInteractionId','[CHATMESSAGE:REJECT]\x20id=%s\x20name=%s\x20role=%s\x20interaction=%s\x20body=%s','role','rejectMessage','event','rejectmessage','html-pdf','eml-format','rimraf','request-promise','moment','bluebird','mustache','util','path','to-csv','ejs','squel','crypto','jsforce','desk.js','papaparse','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','redis','localhost','socket.io-emitter','./chatMessage.socket','register','http','client','test','Sequelize','ValidationError','request','then','info','ChatMessage,\x20%s,\x20%s','request\x20sent','debug','ChatMessage,\x20%s,\x20%s,\x20%s','error','message','catch','status','end','json','offset','set','Content-Range','apply','reject','save','update','destroy'];(function(_0x34281b,_0x23dcbe){var _0x148781=function(_0x1b5004){while(--_0x1b5004){_0x34281b['push'](_0x34281b['shift']());}};_0x148781(++_0x23dcbe);}(_0x0505,0x1a9));var _0x5050=function(_0x279d37,_0x14de3f){_0x279d37=_0x279d37-0x0;var _0x530173=_0x0505[_0x279d37];return _0x530173;};'use strict';var pdf=require(_0x5050('0x0'));var emlformat=require(_0x5050('0x1'));var rimraf=require(_0x5050('0x2'));var zipdir=require('zip-dir');var jsonpatch=require('fast-json-patch');var rp=require(_0x5050('0x3'));var moment=require(_0x5050('0x4'));var BPromise=require(_0x5050('0x5'));var Mustache=require(_0x5050('0x6'));var util=require(_0x5050('0x7'));var path=require(_0x5050('0x8'));var sox=require('sox');var csv=require(_0x5050('0x9'));var ejs=require(_0x5050('0xa'));var fs=require('fs');var _=require('lodash');var squel=require(_0x5050('0xb'));var crypto=require(_0x5050('0xc'));var jsforce=require(_0x5050('0xd'));var deskjs=require(_0x5050('0xe'));var toCsv=require(_0x5050('0x9'));var querystring=require('querystring');var Papa=require(_0x5050('0xf'));var Redis=require('ioredis');var authService=require(_0x5050('0x10'));var qs=require(_0x5050('0x11'));var as=require(_0x5050('0x12'));var hardwareService=require(_0x5050('0x13'));var logger=require(_0x5050('0x14'))(_0x5050('0x15'));var utils=require(_0x5050('0x16'));var config=require(_0x5050('0x17'));var db=require('../../mysqldb')['db'];config[_0x5050('0x18')]=_['defaults'](config[_0x5050('0x18')],{'host':_0x5050('0x19'),'port':0x18eb});var socket=require(_0x5050('0x1a'))(new Redis(config['redis']));require(_0x5050('0x1b'))[_0x5050('0x1c')](socket);var jayson=require('jayson/promise');var client=jayson['client'][_0x5050('0x1d')]({'port':0x232c});var client9002=jayson[_0x5050('0x1e')]['http']({'port':0x232a});function checkPasswordPattern(_0x3ff9e8,_0x174a97,_0x33d591){if(_0x33d591){var _0x1bd26e=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0x1bd26e[_0x5050('0x1f')](_0x174a97)){return _0x3ff9e8;}else{throw new db[(_0x5050('0x20'))][(_0x5050('0x21'))]('The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.');}}else{return _0x3ff9e8;}}function respondWithRpcPromise(_0x177b68,_0x265738,_0x1a7256,_0x228cfd){return new BPromise(function(_0xacb856,_0x2a57f3){var _0x23cac9=_0x228cfd||client;return _0x23cac9[_0x5050('0x22')](_0x177b68,_0x1a7256)[_0x5050('0x23')](function(_0x45843d){logger[_0x5050('0x24')](_0x5050('0x25'),_0x265738,_0x5050('0x26'));logger[_0x5050('0x27')](_0x5050('0x28'),_0x265738,_0x5050('0x26'),JSON['stringify'](_0x45843d));if(_0x45843d[_0x5050('0x29')]){if(_0x45843d[_0x5050('0x29')]['code']===0x1f4){logger[_0x5050('0x29')](_0x5050('0x25'),_0x265738,_0x45843d[_0x5050('0x29')][_0x5050('0x2a')]);return _0x2a57f3(_0x45843d['error']['message']);}logger[_0x5050('0x29')](_0x5050('0x25'),_0x265738,_0x45843d['error'][_0x5050('0x2a')]);return _0xacb856(_0x45843d[_0x5050('0x29')][_0x5050('0x2a')]);}else{logger[_0x5050('0x24')](_0x5050('0x25'),_0x265738,'request\x20sent');_0xacb856(_0x45843d['result']['message']);}})[_0x5050('0x2b')](function(_0xa11ef3){logger[_0x5050('0x29')]('ChatMessage,\x20%s,\x20%s',_0x265738,_0xa11ef3);_0x2a57f3(_0xa11ef3);});});}function respondWithStatusCode(_0x93e249,_0x112c5a){_0x112c5a=_0x112c5a||0xcc;return function(_0x15634d){if(_0x15634d){return _0x93e249['sendStatus'](_0x112c5a);}return _0x93e249[_0x5050('0x2c')](_0x112c5a)[_0x5050('0x2d')]();};}function respondWithResult(_0x10f5c7,_0x1046b3){_0x1046b3=_0x1046b3||0xc8;return function(_0x574418){if(_0x574418){return _0x10f5c7[_0x5050('0x2c')](_0x1046b3)[_0x5050('0x2e')](_0x574418);}};}function respondWithFilteredResult(_0x587926,_0x5e8d23){return function(_0x48bb56){if(_0x48bb56){var _0x30837d=_0x48bb56['count'],_0x5ba10c=_0x5e8d23[_0x5050('0x2f')],_0x269b8c=_0x5e8d23[_0x5050('0x2f')]+_0x5e8d23['limit'],_0x9488c7;if(_0x269b8c>=_0x30837d){_0x269b8c=_0x30837d;_0x9488c7=0xc8;}else{_0x9488c7=0xce;}_0x587926['status'](_0x9488c7);return _0x587926[_0x5050('0x30')](_0x5050('0x31'),_0x5ba10c+'-'+_0x269b8c+'/'+_0x30837d)['json'](_0x48bb56);}return null;};}function patchUpdates(_0x24ce00){return function(_0x477942){try{jsonpatch[_0x5050('0x32')](_0x477942,_0x24ce00,!![]);}catch(_0x193274){return BPromise[_0x5050('0x33')](_0x193274);}return _0x477942[_0x5050('0x34')]();};}function saveUpdates(_0x50d98f,_0x499c21){return function(_0x1937e1){if(_0x1937e1){return _0x1937e1[_0x5050('0x35')](_0x50d98f)[_0x5050('0x23')](function(_0x188004){return _0x188004;});}return null;};}function removeEntity(_0x43303c,_0xade040){return function(_0x64503b){if(_0x64503b){return _0x64503b[_0x5050('0x36')]()[_0x5050('0x23')](function(){_0x43303c[_0x5050('0x2c')](0xcc)[_0x5050('0x2d')]();});}};}function handleEntityNotFound(_0x2ee596,_0x46253a){return function(_0x39009a){if(!_0x39009a){_0x2ee596[_0x5050('0x37')](0x194);}return _0x39009a;};}function handleError(_0x26a708,_0x2efc04){_0x2efc04=_0x2efc04||0x1f4;return function(_0x40f55e){logger[_0x5050('0x29')](_0x40f55e[_0x5050('0x38')]);if(_0x40f55e[_0x5050('0x39')]){delete _0x40f55e[_0x5050('0x39')];}_0x26a708[_0x5050('0x2c')](_0x2efc04)[_0x5050('0x3a')](_0x40f55e);};}exports[_0x5050('0x3b')]=function(_0x436c8e,_0x45b580){var _0xa1c029={},_0x4840f8={},_0x280d85={'count':0x0,'rows':[]};var _0x58f857=_['map'](db[_0x5050('0x3c')][_0x5050('0x3d')],function(_0x1a8dcd){return{'name':_0x1a8dcd[_0x5050('0x3e')],'type':_0x1a8dcd[_0x5050('0x3f')][_0x5050('0x40')]};});_0x4840f8[_0x5050('0x41')]=_['map'](_0x58f857,_0x5050('0x39'));_0x4840f8['query']=_['keys'](_0x436c8e[_0x5050('0x42')]);_0x4840f8[_0x5050('0x43')]=_[_0x5050('0x44')](_0x4840f8[_0x5050('0x41')],_0x4840f8[_0x5050('0x42')]);_0xa1c029['attributes']=_['intersection'](_0x4840f8[_0x5050('0x41')],qs[_0x5050('0x45')](_0x436c8e[_0x5050('0x42')][_0x5050('0x45')]));_0xa1c029[_0x5050('0x46')]=_0xa1c029[_0x5050('0x46')][_0x5050('0x47')]?_0xa1c029[_0x5050('0x46')]:_0x4840f8[_0x5050('0x41')];if(!_0x436c8e[_0x5050('0x42')]['hasOwnProperty'](_0x5050('0x48'))){_0xa1c029[_0x5050('0x49')]=qs['limit'](_0x436c8e[_0x5050('0x42')][_0x5050('0x49')]);_0xa1c029[_0x5050('0x2f')]=qs[_0x5050('0x2f')](_0x436c8e[_0x5050('0x42')]['offset']);}_0xa1c029['order']=qs[_0x5050('0x4a')](_0x436c8e[_0x5050('0x42')][_0x5050('0x4a')]);_0xa1c029[_0x5050('0x4b')]=qs[_0x5050('0x43')](_[_0x5050('0x4c')](_0x436c8e[_0x5050('0x42')],_0x4840f8[_0x5050('0x43')]),_0x58f857);if(_0x436c8e[_0x5050('0x42')][_0x5050('0x4d')]){_0xa1c029['where']=_['merge'](_0xa1c029['where'],{'$or':_[_0x5050('0x4e')](_0x58f857,function(_0x332d88){if(_0x332d88[_0x5050('0x3f')]!==_0x5050('0x4f')){var _0x57a191={};_0x57a191[_0x332d88[_0x5050('0x39')]]={'$like':'%'+_0x436c8e[_0x5050('0x42')][_0x5050('0x4d')]+'%'};return _0x57a191;}})});}_0xa1c029=_[_0x5050('0x50')]({},_0xa1c029,_0x436c8e[_0x5050('0x51')]);var _0x366963={'where':_0xa1c029['where']};return db[_0x5050('0x3c')]['count'](_0x366963)[_0x5050('0x23')](function(_0x5d2235){_0x280d85['count']=_0x5d2235;if(_0x436c8e[_0x5050('0x42')]['includeAll']){_0xa1c029['include']=[{'all':!![]}];}return db['ChatMessage'][_0x5050('0x52')](_0xa1c029);})['then'](function(_0x101fab){_0x280d85[_0x5050('0x53')]=_0x101fab;return _0x280d85;})[_0x5050('0x23')](respondWithFilteredResult(_0x45b580,_0xa1c029))[_0x5050('0x2b')](handleError(_0x45b580,null));};exports[_0x5050('0x54')]=function(_0xa338bc,_0x355186){var _0x2f919f={'raw':!![],'where':{'id':_0xa338bc[_0x5050('0x55')]['id']}},_0x2cf5c8={};_0x2cf5c8[_0x5050('0x41')]=_[_0x5050('0x56')](db['ChatMessage']['rawAttributes']);_0x2cf5c8[_0x5050('0x42')]=_[_0x5050('0x56')](_0xa338bc[_0x5050('0x42')]);_0x2cf5c8[_0x5050('0x43')]=_[_0x5050('0x44')](_0x2cf5c8['model'],_0x2cf5c8[_0x5050('0x42')]);_0x2f919f['attributes']=_['intersection'](_0x2cf5c8['model'],qs['fields'](_0xa338bc['query'][_0x5050('0x45')]));_0x2f919f[_0x5050('0x46')]=_0x2f919f[_0x5050('0x46')]['length']?_0x2f919f[_0x5050('0x46')]:_0x2cf5c8[_0x5050('0x41')];if(_0xa338bc[_0x5050('0x42')][_0x5050('0x57')]){_0x2f919f['include']=[{'all':!![]}];}_0x2f919f=_['merge']({},_0x2f919f,_0xa338bc[_0x5050('0x51')]);return db[_0x5050('0x3c')][_0x5050('0x58')](_0x2f919f)[_0x5050('0x23')](handleEntityNotFound(_0x355186,null))[_0x5050('0x23')](respondWithResult(_0x355186,null))[_0x5050('0x2b')](handleError(_0x355186,null));};exports['create']=function(_0xbf5864,_0x345f2d){return db[_0x5050('0x3c')]['create'](_0xbf5864[_0x5050('0x59')],{})['then'](respondWithResult(_0x345f2d,0xc9))[_0x5050('0x2b')](handleError(_0x345f2d,null));};exports[_0x5050('0x35')]=function(_0x42d310,_0x443648){if(_0x42d310[_0x5050('0x59')]['id']){delete _0x42d310[_0x5050('0x59')]['id'];}return db[_0x5050('0x3c')][_0x5050('0x58')]({'where':{'id':_0x42d310[_0x5050('0x55')]['id']}})[_0x5050('0x23')](handleEntityNotFound(_0x443648,null))[_0x5050('0x23')](saveUpdates(_0x42d310['body'],null))[_0x5050('0x23')](respondWithResult(_0x443648,null))['catch'](handleError(_0x443648,null));};exports[_0x5050('0x36')]=function(_0x587f72,_0x271b8e){return db[_0x5050('0x3c')][_0x5050('0x58')]({'where':{'id':_0x587f72['params']['id']}})[_0x5050('0x23')](handleEntityNotFound(_0x271b8e,null))[_0x5050('0x23')](removeEntity(_0x271b8e,null))[_0x5050('0x2b')](handleError(_0x271b8e,null));};exports['describe']=function(_0x482f40,_0x56de0a){return db[_0x5050('0x3c')][_0x5050('0x5a')]()[_0x5050('0x23')](respondWithResult(_0x56de0a,null))[_0x5050('0x2b')](handleError(_0x56de0a,null));};var interaction_log=require('../../config/logger')('chat-interactions');exports['accept']=function(_0x44f548,_0x21f3fe,_0x1fd50d){var _0x40db9c={'channel':'chat'};if(_0x44f548[_0x5050('0x59')]['id']){delete _0x44f548[_0x5050('0x59')]['id'];}_0x44f548['body']['read']=!![];_0x44f548['body'][_0x5050('0x5b')]=moment()[_0x5050('0x5c')](_0x5050('0x5d'));_0x44f548[_0x5050('0x59')][_0x5050('0x5e')]=_0x44f548[_0x5050('0x59')][_0x5050('0x5e')]||_0x44f548[_0x5050('0x5f')]['id'];return db['ChatMessage'][_0x5050('0x58')]({'where':{'id':_0x44f548[_0x5050('0x55')]['id'],'UserId':null},'include':[{'model':db['CmContact'],'as':_0x5050('0x60')}]})[_0x5050('0x23')](handleEntityNotFound(_0x21f3fe,null))[_0x5050('0x23')](saveUpdates(_0x44f548[_0x5050('0x59')],null))['then'](function(_0x3cc3fd){if(_0x3cc3fd){_0x40db9c[_0x5050('0x2a')]=_0x3cc3fd[_0x5050('0x61')]({'plain':!![]});return db[_0x5050('0x62')][_0x5050('0x58')]({'where':{'id':_0x3cc3fd['ChatInteractionId']}});}return null;})['then'](handleEntityNotFound(_0x21f3fe,null))['then'](function(_0x5bb627){if(_0x5bb627){return _0x5bb627['update']({'UserId':_0x44f548[_0x5050('0x59')]['UserId'],'read1stAt':_[_0x5050('0x63')](_0x5bb627[_0x5050('0x64')])?moment()[_0x5050('0x5c')](_0x5050('0x5d')):undefined});}return null;})[_0x5050('0x23')](function(_0x3d20dc){if(_0x3d20dc){_0x40db9c[_0x5050('0x65')]=_0x3d20dc[_0x5050('0x61')]({'plain':!![]});interaction_log[_0x5050('0x24')](_0x5050('0x66'),_0x44f548[_0x5050('0x5f')]['id'],_0x44f548['user'][_0x5050('0x39')],_0x44f548[_0x5050('0x5f')]['role'],_0x40db9c[_0x5050('0x65')]['id'],_0x44f548[_0x5050('0x59')]?JSON[_0x5050('0x67')](_0x44f548['body']):_0x5050('0x68'));return respondWithRpcPromise(_0x5050('0x69'),'acceptMessage',_0x40db9c);}return null;})['then'](function(_0x33d7e6){if(_0x33d7e6){if(_0x44f548['body']['manual']){_0x40db9c[_0x5050('0x2a')][_0x5050('0x6a')]=util[_0x5050('0x5c')](_0x5050('0x6b'),_0x44f548[_0x5050('0x5f')][_0x5050('0x39')]);_0x40db9c[_0x5050('0x2a')][_0x5050('0x6c')]=_0x40db9c['channel'];_0x40db9c[_0x5050('0x2a')]['event']='accept';return respondWithRpcPromise(_0x5050('0x6d'),_0x5050('0x6d'),{'event':'acceptmessage','message':_['merge'](_0x40db9c['message'],JSON[_0x5050('0x6e')](_0x40db9c[_0x5050('0x65')][_0x5050('0x6f')]))},client9002)[_0x5050('0x23')](function(){return _0x40db9c;});}return _0x40db9c;}return null;})['then'](respondWithResult(_0x21f3fe,null))[_0x5050('0x2b')](handleError(_0x21f3fe,null));};var interaction_log=require(_0x5050('0x14'))(_0x5050('0x70'));exports['reject']=function(_0x53832f,_0x507d09,_0xb70a4d){var _0x7f579c={'agent':{},'channel':_0x5050('0x71')};if(_0x53832f['body']['id']){delete _0x53832f[_0x5050('0x59')]['id'];}_0x53832f['body'][_0x5050('0x5e')]=_0x53832f['body'][_0x5050('0x5e')]||_0x53832f[_0x5050('0x5f')]['id'];_0x7f579c['agent']['id']=_0x53832f[_0x5050('0x59')]['UserId'];return db[_0x5050('0x3c')][_0x5050('0x58')]({'where':{'id':_0x53832f['params']['id'],'UserId':null}})[_0x5050('0x23')](handleEntityNotFound(_0x507d09,null))[_0x5050('0x23')](function(_0x7d4f52){if(_0x7d4f52){_0x7f579c[_0x5050('0x2a')]=_0x7d4f52['get']({'plain':!![]});return db['ChatInteraction'][_0x5050('0x58')]({'where':{'id':_0x7d4f52[_0x5050('0x72')]}});}return null;})[_0x5050('0x23')](handleEntityNotFound(_0x507d09,null))['then'](function(_0x297b65){if(_0x297b65){_0x7f579c['interaction']=_0x297b65[_0x5050('0x61')]({'plain':!![]});interaction_log[_0x5050('0x24')](_0x5050('0x73'),_0x53832f['user']['id'],_0x53832f[_0x5050('0x5f')][_0x5050('0x39')],_0x53832f[_0x5050('0x5f')][_0x5050('0x74')],_0x7f579c[_0x5050('0x65')]['id'],_0x53832f[_0x5050('0x59')]?JSON['stringify'](_0x53832f[_0x5050('0x59')]):_0x5050('0x68'));return respondWithRpcPromise('RejectMessage',_0x5050('0x75'),_0x7f579c);}return null;})['then'](function(_0x283d5e){if(_0x283d5e){_0x283d5e[_0x5050('0x2a')][_0x5050('0x6a')]=util[_0x5050('0x5c')]('SIP/%s',_0x53832f[_0x5050('0x5f')]['name']);_0x283d5e[_0x5050('0x2a')][_0x5050('0x6c')]=_0x7f579c[_0x5050('0x6c')];_0x283d5e['message'][_0x5050('0x76')]='reject';respondWithRpcPromise(_0x5050('0x6d'),_0x5050('0x6d'),{'event':_0x5050('0x77'),'message':_0x283d5e['message']},client9002);return _0x7f579c;}return null;})[_0x5050('0x23')](respondWithResult(_0x507d09,null))[_0x5050('0x2b')](handleError(_0x507d09,null));}; \ No newline at end of file diff --git a/server/api/chatMessage/chatMessage.events.js b/server/api/chatMessage/chatMessage.events.js index d4854a5..aaec33b 100644 --- a/server/api/chatMessage/chatMessage.events.js +++ b/server/api/chatMessage/chatMessage.events.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x48d2=['save','update','remove','emit','hasOwnProperty','hook','exports','setMaxListeners'];(function(_0x123da7,_0x1da803){var _0x48b201=function(_0x1ccda1){while(--_0x1ccda1){_0x123da7['push'](_0x123da7['shift']());}};_0x48b201(++_0x1da803);}(_0x48d2,0x1bf));var _0x248d=function(_0x51c819,_0xd812db){_0x51c819=_0x51c819-0x0;var _0x15c5d2=_0x48d2[_0x51c819];return _0x15c5d2;};'use strict';var EventEmitter=require('events');var ChatMessage=require('../../mysqldb')['db']['ChatMessage'];var ChatMessageEvents=new EventEmitter();ChatMessageEvents[_0x248d('0x0')](0x0);var events={'afterCreate':_0x248d('0x1'),'afterUpdate':_0x248d('0x2'),'afterDestroy':_0x248d('0x3')};function emitEvent(_0x25d394){return function(_0x2609de,_0x587425,_0x4ad742){ChatMessageEvents[_0x248d('0x4')](_0x25d394+':'+_0x2609de['id'],_0x2609de);ChatMessageEvents[_0x248d('0x4')](_0x25d394,_0x2609de);_0x4ad742(null);};}for(var e in events){if(events[_0x248d('0x5')](e)){var event=events[e];ChatMessage[_0x248d('0x6')](e,emitEvent(event));}}module[_0x248d('0x7')]=ChatMessageEvents; \ No newline at end of file +var _0xfc51=['save','update','remove','emit','hook','events','ChatMessage','setMaxListeners'];(function(_0x42c529,_0x1d0086){var _0x3298ef=function(_0x1a0a4f){while(--_0x1a0a4f){_0x42c529['push'](_0x42c529['shift']());}};_0x3298ef(++_0x1d0086);}(_0xfc51,0x1ad));var _0x1fc5=function(_0x35718d,_0xc454a7){_0x35718d=_0x35718d-0x0;var _0x48aafb=_0xfc51[_0x35718d];return _0x48aafb;};'use strict';var EventEmitter=require(_0x1fc5('0x0'));var ChatMessage=require('../../mysqldb')['db'][_0x1fc5('0x1')];var ChatMessageEvents=new EventEmitter();ChatMessageEvents[_0x1fc5('0x2')](0x0);var events={'afterCreate':_0x1fc5('0x3'),'afterUpdate':_0x1fc5('0x4'),'afterDestroy':_0x1fc5('0x5')};function emitEvent(_0x557578){return function(_0x1d55c4,_0x17daab,_0x105c3c){ChatMessageEvents[_0x1fc5('0x6')](_0x557578+':'+_0x1d55c4['id'],_0x1d55c4);ChatMessageEvents[_0x1fc5('0x6')](_0x557578,_0x1d55c4);_0x105c3c(null);};}for(var e in events){if(events['hasOwnProperty'](e)){var event=events[e];ChatMessage[_0x1fc5('0x7')](e,emitEvent(event));}}module['exports']=ChatMessageEvents; \ No newline at end of file diff --git a/server/api/chatMessage/chatMessage.model.js b/server/api/chatMessage/chatMessage.model.js index a68296d..ad339b0 100644 --- a/server/api/chatMessage/chatMessage.model.js +++ b/server/api/chatMessage/chatMessage.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x34bd=['exports','define','ChatMessage','chat_messages','fti_chat_messages','body','FULLTEXT','models','direction','toLowerCase','out','secret','isNil','UserId','ChatInteraction','findOne','then','createdAt','error','utf8mb4','lodash','util','api','moment','bluebird','request-promise','path','../../config/environment','./chatMessage.attributes'];(function(_0x5ce18c,_0x142e98){var _0x3d1e3f=function(_0x576d05){while(--_0x576d05){_0x5ce18c['push'](_0x5ce18c['shift']());}};_0x3d1e3f(++_0x142e98);}(_0x34bd,0x1aa));var _0xd34b=function(_0x3f23d9,_0x4f118e){_0x3f23d9=_0x3f23d9-0x0;var _0x5f15be=_0x34bd[_0x3f23d9];return _0x5f15be;};'use strict';var _=require(_0xd34b('0x0'));var util=require(_0xd34b('0x1'));var logger=require('../../config/logger')(_0xd34b('0x2'));var moment=require(_0xd34b('0x3'));var BPromise=require(_0xd34b('0x4'));var rp=require(_0xd34b('0x5'));var fs=require('fs');var path=require(_0xd34b('0x6'));var rimraf=require('rimraf');var config=require(_0xd34b('0x7'));var attributes=require(_0xd34b('0x8'));module[_0xd34b('0x9')]=function(_0x365c73,_0x475e38){return _0x365c73[_0xd34b('0xa')](_0xd34b('0xb'),attributes,{'tableName':_0xd34b('0xc'),'paranoid':![],'indexes':[{'name':_0xd34b('0xd'),'fields':[_0xd34b('0xe')],'type':_0xd34b('0xf')}],'timestamps':!![],'hooks':{'afterCreate':function(_0x297153,_0x13df7,_0x1baa6e){var _0x165d40=_0x365c73[_0xd34b('0x10')];var _0x34ce36=_0x297153['get']({'plain':!![]});if(_0x34ce36[_0xd34b('0x11')][_0xd34b('0x12')]()==='in'||_0x34ce36['direction']['toLowerCase']()===_0xd34b('0x13')&&!_0x34ce36[_0xd34b('0x14')]&&!_[_0xd34b('0x15')](_0x34ce36[_0xd34b('0x16')])){_0x165d40[_0xd34b('0x17')][_0xd34b('0x18')]({'where':{'id':_0x34ce36['ChatInteractionId']}})[_0xd34b('0x19')](function(_0x137646){if(_0x137646){_0x137646['update']({'lastMsgAt':_0x34ce36[_0xd34b('0x1a')],'lastMsgDirection':_0x34ce36[_0xd34b('0x11')][_0xd34b('0x12')]()});}})['catch'](function(_0x4668cf){console[_0xd34b('0x1b')](_0x4668cf);});}_0x1baa6e();}},'charset':_0xd34b('0x1c'),'collate':'utf8mb4_unicode_ci'});}; \ No newline at end of file +var _0xa36f=['util','../../config/logger','api','moment','bluebird','request-promise','rimraf','./chatMessage.attributes','exports','define','ChatMessage','fti_chat_messages','body','FULLTEXT','direction','toLowerCase','out','secret','isNil','findOne','then','createdAt','catch','utf8mb4','lodash'];(function(_0x5c0409,_0x17097c){var _0x186d94=function(_0x44cc3b){while(--_0x44cc3b){_0x5c0409['push'](_0x5c0409['shift']());}};_0x186d94(++_0x17097c);}(_0xa36f,0xae));var _0xfa36=function(_0x499a66,_0x468f9a){_0x499a66=_0x499a66-0x0;var _0x420119=_0xa36f[_0x499a66];return _0x420119;};'use strict';var _=require(_0xfa36('0x0'));var util=require(_0xfa36('0x1'));var logger=require(_0xfa36('0x2'))(_0xfa36('0x3'));var moment=require(_0xfa36('0x4'));var BPromise=require(_0xfa36('0x5'));var rp=require(_0xfa36('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0xfa36('0x7'));var config=require('../../config/environment');var attributes=require(_0xfa36('0x8'));module[_0xfa36('0x9')]=function(_0x1a030b,_0x2be3d9){return _0x1a030b[_0xfa36('0xa')](_0xfa36('0xb'),attributes,{'tableName':'chat_messages','paranoid':![],'indexes':[{'name':_0xfa36('0xc'),'fields':[_0xfa36('0xd')],'type':_0xfa36('0xe')}],'timestamps':!![],'hooks':{'afterCreate':function(_0xfc5878,_0x541b3e,_0x3c75eb){var _0x525431=_0x1a030b['models'];var _0x4ddb4c=_0xfc5878['get']({'plain':!![]});if(_0x4ddb4c[_0xfa36('0xf')][_0xfa36('0x10')]()==='in'||_0x4ddb4c[_0xfa36('0xf')][_0xfa36('0x10')]()===_0xfa36('0x11')&&!_0x4ddb4c[_0xfa36('0x12')]&&!_[_0xfa36('0x13')](_0x4ddb4c['UserId'])){_0x525431['ChatInteraction'][_0xfa36('0x14')]({'where':{'id':_0x4ddb4c['ChatInteractionId']}})[_0xfa36('0x15')](function(_0x669dc8){if(_0x669dc8){_0x669dc8['update']({'lastMsgAt':_0x4ddb4c[_0xfa36('0x16')],'lastMsgDirection':_0x4ddb4c[_0xfa36('0xf')]['toLowerCase']()});}})[_0xfa36('0x17')](function(_0x4de9b6){console['error'](_0x4de9b6);});}_0x3c75eb();}},'charset':_0xfa36('0x18'),'collate':'utf8mb4_unicode_ci'});}; \ No newline at end of file diff --git a/server/api/chatMessage/chatMessage.rpc.js b/server/api/chatMessage/chatMessage.rpc.js index 0e23ac9..aef2cd0 100644 --- a/server/api/chatMessage/chatMessage.rpc.js +++ b/server/api/chatMessage/chatMessage.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x499e=['then','info','ChatMessage,\x20%s,\x20%s','debug','ChatMessage,\x20%s,\x20%s,\x20%s','request\x20sent','stringify','error','message','result','catch','CreateChatMessage','ChatMessage','create','body','options','lodash','util','moment','bluebird','../../mysqldb','../../config/utils','../../config/logger','rpc','jayson/promise','client','http','redis','defaults','localhost','socket.io-emitter','./chatMessage.socket','register','request'];(function(_0x2be8c2,_0x14a4b5){var _0x97f531=function(_0xcee58d){while(--_0xcee58d){_0x2be8c2['push'](_0x2be8c2['shift']());}};_0x97f531(++_0x14a4b5);}(_0x499e,0x142));var _0xe499=function(_0x570a58,_0x4899f9){_0x570a58=_0x570a58-0x0;var _0x1c8816=_0x499e[_0x570a58];return _0x1c8816;};'use strict';var _=require(_0xe499('0x0'));var util=require(_0xe499('0x1'));var moment=require(_0xe499('0x2'));var BPromise=require(_0xe499('0x3'));var rs=require('randomstring');var fs=require('fs');var Redis=require('ioredis');var db=require(_0xe499('0x4'))['db'];var utils=require(_0xe499('0x5'));var logger=require(_0xe499('0x6'))(_0xe499('0x7'));var config=require('../../config/environment');var jayson=require(_0xe499('0x8'));var client=jayson[_0xe499('0x9')][_0xe499('0xa')]({'port':0x232a});config[_0xe499('0xb')]=_[_0xe499('0xc')](config[_0xe499('0xb')],{'host':_0xe499('0xd'),'port':0x18eb});var socket=require(_0xe499('0xe'))(new Redis(config[_0xe499('0xb')]));require(_0xe499('0xf'))[_0xe499('0x10')](socket);function respondWithRpcPromise(_0x498cef,_0x5484fa,_0x20b3bb){return new BPromise(function(_0x30e39e,_0x167521){return client[_0xe499('0x11')](_0x498cef,_0x20b3bb)[_0xe499('0x12')](function(_0xc03ce0){logger[_0xe499('0x13')](_0xe499('0x14'),_0x5484fa,'request\x20sent');logger[_0xe499('0x15')](_0xe499('0x16'),_0x5484fa,_0xe499('0x17'),JSON[_0xe499('0x18')](_0xc03ce0));if(_0xc03ce0['error']){if(_0xc03ce0[_0xe499('0x19')]['code']===0x1f4){logger[_0xe499('0x19')](_0xe499('0x14'),_0x5484fa,_0xc03ce0[_0xe499('0x19')][_0xe499('0x1a')]);return _0x167521(_0xc03ce0[_0xe499('0x19')]['message']);}logger[_0xe499('0x19')](_0xe499('0x14'),_0x5484fa,_0xc03ce0['error'][_0xe499('0x1a')]);return _0x30e39e(_0xc03ce0[_0xe499('0x19')][_0xe499('0x1a')]);}else{logger['info'](_0xe499('0x14'),_0x5484fa,_0xe499('0x17'));_0x30e39e(_0xc03ce0[_0xe499('0x1b')][_0xe499('0x1a')]);}})[_0xe499('0x1c')](function(_0x2337a4){logger[_0xe499('0x19')](_0xe499('0x14'),_0x5484fa,_0x2337a4);_0x167521(_0x2337a4);});});}exports[_0xe499('0x1d')]=function(_0x580c20){var _0x3e0b1e=this;return new Promise(function(_0x1da77b,_0xa29834){return db[_0xe499('0x1e')][_0xe499('0x1f')](_0x580c20[_0xe499('0x20')],{'raw':_0x580c20['options']?_0x580c20[_0xe499('0x21')]['raw']===undefined?!![]:![]:!![]})['then'](function(_0x9f516b){logger[_0xe499('0x13')](_0xe499('0x1d'),_0x580c20);logger[_0xe499('0x15')]('CreateChatMessage',_0x580c20,JSON[_0xe499('0x18')](_0x9f516b));_0x1da77b(_0x9f516b);})[_0xe499('0x1c')](function(_0x4d7d){logger['error']('CreateChatMessage',_0x4d7d['message'],_0x580c20);_0xa29834(_0x3e0b1e['error'](0x1f4,_0x4d7d[_0xe499('0x1a')]));});});}; \ No newline at end of file +var _0x15ea=['then','info','ChatMessage,\x20%s,\x20%s','request\x20sent','debug','ChatMessage,\x20%s,\x20%s,\x20%s','stringify','error','code','message','result','CreateChatMessage','ChatMessage','create','body','options','catch','lodash','util','moment','bluebird','ioredis','../../mysqldb','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','client','http','redis','localhost','socket.io-emitter','./chatMessage.socket','register','request'];(function(_0x376bf7,_0x1eaf7a){var _0x17a21a=function(_0x1d50ec){while(--_0x1d50ec){_0x376bf7['push'](_0x376bf7['shift']());}};_0x17a21a(++_0x1eaf7a);}(_0x15ea,0x1e5));var _0xa15e=function(_0x6a652c,_0x2fc586){_0x6a652c=_0x6a652c-0x0;var _0x64d33d=_0x15ea[_0x6a652c];return _0x64d33d;};'use strict';var _=require(_0xa15e('0x0'));var util=require(_0xa15e('0x1'));var moment=require(_0xa15e('0x2'));var BPromise=require(_0xa15e('0x3'));var rs=require('randomstring');var fs=require('fs');var Redis=require(_0xa15e('0x4'));var db=require(_0xa15e('0x5'))['db'];var utils=require(_0xa15e('0x6'));var logger=require(_0xa15e('0x7'))(_0xa15e('0x8'));var config=require(_0xa15e('0x9'));var jayson=require(_0xa15e('0xa'));var client=jayson[_0xa15e('0xb')][_0xa15e('0xc')]({'port':0x232a});config[_0xa15e('0xd')]=_['defaults'](config[_0xa15e('0xd')],{'host':_0xa15e('0xe'),'port':0x18eb});var socket=require(_0xa15e('0xf'))(new Redis(config[_0xa15e('0xd')]));require(_0xa15e('0x10'))[_0xa15e('0x11')](socket);function respondWithRpcPromise(_0x31a279,_0x81d224,_0x1194d4){return new BPromise(function(_0x32fb0a,_0x95d4dc){return client[_0xa15e('0x12')](_0x31a279,_0x1194d4)[_0xa15e('0x13')](function(_0x4771e3){logger[_0xa15e('0x14')](_0xa15e('0x15'),_0x81d224,_0xa15e('0x16'));logger[_0xa15e('0x17')](_0xa15e('0x18'),_0x81d224,_0xa15e('0x16'),JSON[_0xa15e('0x19')](_0x4771e3));if(_0x4771e3[_0xa15e('0x1a')]){if(_0x4771e3[_0xa15e('0x1a')][_0xa15e('0x1b')]===0x1f4){logger[_0xa15e('0x1a')](_0xa15e('0x15'),_0x81d224,_0x4771e3[_0xa15e('0x1a')][_0xa15e('0x1c')]);return _0x95d4dc(_0x4771e3[_0xa15e('0x1a')][_0xa15e('0x1c')]);}logger[_0xa15e('0x1a')]('ChatMessage,\x20%s,\x20%s',_0x81d224,_0x4771e3[_0xa15e('0x1a')]['message']);return _0x32fb0a(_0x4771e3[_0xa15e('0x1a')][_0xa15e('0x1c')]);}else{logger[_0xa15e('0x14')](_0xa15e('0x15'),_0x81d224,'request\x20sent');_0x32fb0a(_0x4771e3[_0xa15e('0x1d')][_0xa15e('0x1c')]);}})['catch'](function(_0xc4527b){logger[_0xa15e('0x1a')](_0xa15e('0x15'),_0x81d224,_0xc4527b);_0x95d4dc(_0xc4527b);});});}exports[_0xa15e('0x1e')]=function(_0x12fde3){var _0x66ca4b=this;return new Promise(function(_0x42264a,_0x2a787a){return db[_0xa15e('0x1f')][_0xa15e('0x20')](_0x12fde3[_0xa15e('0x21')],{'raw':_0x12fde3[_0xa15e('0x22')]?_0x12fde3['options']['raw']===undefined?!![]:![]:!![]})[_0xa15e('0x13')](function(_0x4ee02e){logger[_0xa15e('0x14')](_0xa15e('0x1e'),_0x12fde3);logger[_0xa15e('0x17')](_0xa15e('0x1e'),_0x12fde3,JSON[_0xa15e('0x19')](_0x4ee02e));_0x42264a(_0x4ee02e);})[_0xa15e('0x23')](function(_0x3dc8e8){logger[_0xa15e('0x1a')](_0xa15e('0x1e'),_0x3dc8e8[_0xa15e('0x1c')],_0x12fde3);_0x2a787a(_0x66ca4b[_0xa15e('0x1a')](0x1f4,_0x3dc8e8[_0xa15e('0x1c')]));});});}; \ No newline at end of file diff --git a/server/api/chatMessage/chatMessage.socket.js b/server/api/chatMessage/chatMessage.socket.js index 924c858..48cbdae 100644 --- a/server/api/chatMessage/chatMessage.socket.js +++ b/server/api/chatMessage/chatMessage.socket.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x2a07=['save','remove','update','emit','removeListener','register','length','chatMessage:','./chatMessage.events'];(function(_0x60369b,_0x525315){var _0x3c9e8e=function(_0x3e7f91){while(--_0x3e7f91){_0x60369b['push'](_0x60369b['shift']());}};_0x3c9e8e(++_0x525315);}(_0x2a07,0x74));var _0x72a0=function(_0x227427,_0x3159c8){_0x227427=_0x227427-0x0;var _0x51d536=_0x2a07[_0x227427];return _0x51d536;};'use strict';var ChatMessageEvents=require(_0x72a0('0x0'));var events=[_0x72a0('0x1'),_0x72a0('0x2'),_0x72a0('0x3')];function createListener(_0x1cad29,_0x548164){return function(_0x335b7c){_0x548164[_0x72a0('0x4')](_0x1cad29,_0x335b7c);};}function removeListener(_0x135982,_0x45b155){return function(){ChatMessageEvents[_0x72a0('0x5')](_0x135982,_0x45b155);};}exports[_0x72a0('0x6')]=function(_0x3ccf6d){for(var _0x20dab9=0x0,_0x193e3b=events[_0x72a0('0x7')];_0x20dab9<_0x193e3b;_0x20dab9++){var _0x21c819=events[_0x20dab9];var _0x2c04eb=createListener(_0x72a0('0x8')+_0x21c819,_0x3ccf6d);ChatMessageEvents['on'](_0x21c819,_0x2c04eb);}}; \ No newline at end of file +var _0xc6ac=['removeListener','register','length','./chatMessage.events','save','remove','update','emit'];(function(_0x34586d,_0x4b88cd){var _0xa8620c=function(_0x3ba342){while(--_0x3ba342){_0x34586d['push'](_0x34586d['shift']());}};_0xa8620c(++_0x4b88cd);}(_0xc6ac,0x15b));var _0xcc6a=function(_0x3fd3c3,_0x1c979){_0x3fd3c3=_0x3fd3c3-0x0;var _0x570c25=_0xc6ac[_0x3fd3c3];return _0x570c25;};'use strict';var ChatMessageEvents=require(_0xcc6a('0x0'));var events=[_0xcc6a('0x1'),_0xcc6a('0x2'),_0xcc6a('0x3')];function createListener(_0x276972,_0x279d85){return function(_0x17d786){_0x279d85[_0xcc6a('0x4')](_0x276972,_0x17d786);};}function removeListener(_0x297643,_0x22ee99){return function(){ChatMessageEvents[_0xcc6a('0x5')](_0x297643,_0x22ee99);};}exports[_0xcc6a('0x6')]=function(_0x12330e){for(var _0x197bd7=0x0,_0x5f3887=events[_0xcc6a('0x7')];_0x197bd7<_0x5f3887;_0x197bd7++){var _0x11b919=events[_0x197bd7];var _0xf02261=createListener('chatMessage:'+_0x11b919,_0x12330e);ChatMessageEvents['on'](_0x11b919,_0xf02261);}}; \ No newline at end of file diff --git a/server/api/chatMessage/index.js b/server/api/chatMessage/index.js index 3930806..9dbc5e7 100644 --- a/server/api/chatMessage/index.js +++ b/server/api/chatMessage/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xe166=['/:id/reject','reject','delete','destroy','exports','multer','util','path','connect-timeout','Router','get','isAuthenticated','index','/describe','post','tracked','chat','chatmessage:create','create','put','/:id/accept'];(function(_0x426831,_0x18c692){var _0x21c57d=function(_0x2e7d90){while(--_0x2e7d90){_0x426831['push'](_0x426831['shift']());}};_0x21c57d(++_0x18c692);}(_0xe166,0x12b));var _0x6e16=function(_0x110c3d,_0x12ee06){_0x110c3d=_0x110c3d-0x0;var _0x226d67=_0xe166[_0x110c3d];return _0x226d67;};'use strict';var multer=require(_0x6e16('0x0'));var util=require(_0x6e16('0x1'));var path=require(_0x6e16('0x2'));var timeout=require(_0x6e16('0x3'));var express=require('express');var router=express[_0x6e16('0x4')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require('./chatMessage.controller');router[_0x6e16('0x5')]('/',auth[_0x6e16('0x6')](),controller[_0x6e16('0x7')]);router[_0x6e16('0x5')](_0x6e16('0x8'),auth[_0x6e16('0x6')](),controller['describe']);router['get']('/:id',auth['isAuthenticated'](),controller['show']);router[_0x6e16('0x9')]('/',auth['isAuthenticated'](),interaction[_0x6e16('0xa')](_0x6e16('0xb'),_0x6e16('0xc')),controller[_0x6e16('0xd')]);router['put']('/:id',controller['update']);router[_0x6e16('0xe')](_0x6e16('0xf'),auth['isAuthenticated'](),controller['accept']);router[_0x6e16('0xe')](_0x6e16('0x10'),auth[_0x6e16('0x6')](),controller[_0x6e16('0x11')]);router[_0x6e16('0x12')]('/:id',auth['isAuthenticated'](),controller[_0x6e16('0x13')]);module[_0x6e16('0x14')]=router; \ No newline at end of file +var _0x2953=['delete','destroy','exports','multer','util','connect-timeout','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatMessage.controller','get','index','isAuthenticated','describe','/:id','show','post','tracked','chatmessage:create','create','/:id/accept','accept','/:id/reject','reject'];(function(_0x2009dc,_0x154fe5){var _0x5de2f7=function(_0x2af01f){while(--_0x2af01f){_0x2009dc['push'](_0x2009dc['shift']());}};_0x5de2f7(++_0x154fe5);}(_0x2953,0x183));var _0x3295=function(_0x61ab4a,_0xeb10f7){_0x61ab4a=_0x61ab4a-0x0;var _0x967247=_0x2953[_0x61ab4a];return _0x967247;};'use strict';var multer=require(_0x3295('0x0'));var util=require(_0x3295('0x1'));var path=require('path');var timeout=require(_0x3295('0x2'));var express=require('express');var router=express['Router']();var auth=require(_0x3295('0x3'));var interaction=require(_0x3295('0x4'));var config=require(_0x3295('0x5'));var controller=require(_0x3295('0x6'));router[_0x3295('0x7')]('/',auth['isAuthenticated'](),controller[_0x3295('0x8')]);router['get']('/describe',auth[_0x3295('0x9')](),controller[_0x3295('0xa')]);router[_0x3295('0x7')](_0x3295('0xb'),auth['isAuthenticated'](),controller[_0x3295('0xc')]);router[_0x3295('0xd')]('/',auth['isAuthenticated'](),interaction[_0x3295('0xe')]('chat',_0x3295('0xf')),controller[_0x3295('0x10')]);router['put']('/:id',controller['update']);router['put'](_0x3295('0x11'),auth[_0x3295('0x9')](),controller[_0x3295('0x12')]);router['put'](_0x3295('0x13'),auth[_0x3295('0x9')](),controller[_0x3295('0x14')]);router[_0x3295('0x15')](_0x3295('0xb'),auth['isAuthenticated'](),controller[_0x3295('0x16')]);module[_0x3295('0x17')]=router; \ No newline at end of file diff --git a/server/api/chatOfflineMessage/chatOfflineMessage.attributes.js b/server/api/chatOfflineMessage/chatOfflineMessage.attributes.js index fba4171..530f46b 100644 --- a/server/api/chatOfflineMessage/chatOfflineMessage.attributes.js +++ b/server/api/chatOfflineMessage/chatOfflineMessage.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x1f61=['medium','sequelize','exports'];(function(_0x5a48c1,_0x36526a){var _0x42c1fb=function(_0x4842dd){while(--_0x4842dd){_0x5a48c1['push'](_0x5a48c1['shift']());}};_0x42c1fb(++_0x36526a);}(_0x1f61,0x178));var _0x11f6=function(_0x18e74c,_0xbbf1c7){_0x18e74c=_0x18e74c-0x0;var _0x35ae0e=_0x1f61[_0x18e74c];return _0x35ae0e;};'use strict';var Sequelize=require(_0x11f6('0x0'));module[_0x11f6('0x1')]={'body':{'type':Sequelize['TEXT'](_0x11f6('0x2')),'allowNull':![]}}; \ No newline at end of file +var _0x6a28=['exports','TEXT','medium'];(function(_0x3a1cd9,_0x29cf8c){var _0xee7feb=function(_0x56b1a8){while(--_0x56b1a8){_0x3a1cd9['push'](_0x3a1cd9['shift']());}};_0xee7feb(++_0x29cf8c);}(_0x6a28,0xa2));var _0x86a2=function(_0x3589ea,_0x3a4eb2){_0x3589ea=_0x3589ea-0x0;var _0x1995ee=_0x6a28[_0x3589ea];return _0x1995ee;};'use strict';var Sequelize=require('sequelize');module[_0x86a2('0x0')]={'body':{'type':Sequelize[_0x86a2('0x1')](_0x86a2('0x2')),'allowNull':![]}}; \ No newline at end of file diff --git a/server/api/chatOfflineMessage/chatOfflineMessage.controller.js b/server/api/chatOfflineMessage/chatOfflineMessage.controller.js index 7f25540..21320b1 100644 --- a/server/api/chatOfflineMessage/chatOfflineMessage.controller.js +++ b/server/api/chatOfflineMessage/chatOfflineMessage.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xb091=['filter','where','merge','VIRTUAL','rows','catch','show','params','includeAll','include','options','create','body','destroy','find','describe','eml-format','rimraf','zip-dir','fast-json-patch','moment','util','path','to-csv','ejs','lodash','crypto','jsforce','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','api','../../config/utils','sendStatus','status','end','json','count','offset','limit','Content-Range','apply','reject','update','then','stack','name','send','index','map','ChatOfflineMessage','rawAttributes','fieldName','type','model','query','keys','filters','intersection','fields','attributes','length','hasOwnProperty','order','sort'];(function(_0x460ece,_0x3312d3){var _0x29013c=function(_0xf1ae9e){while(--_0xf1ae9e){_0x460ece['push'](_0x460ece['shift']());}};_0x29013c(++_0x3312d3);}(_0xb091,0x16e));var _0x1b09=function(_0x41e1d9,_0x1dbb7d){_0x41e1d9=_0x41e1d9-0x0;var _0x5cff7c=_0xb091[_0x41e1d9];return _0x5cff7c;};'use strict';var pdf=require('html-pdf');var emlformat=require(_0x1b09('0x0'));var rimraf=require(_0x1b09('0x1'));var zipdir=require(_0x1b09('0x2'));var jsonpatch=require(_0x1b09('0x3'));var rp=require('request-promise');var moment=require(_0x1b09('0x4'));var BPromise=require('bluebird');var Mustache=require('mustache');var util=require(_0x1b09('0x5'));var path=require(_0x1b09('0x6'));var sox=require('sox');var csv=require(_0x1b09('0x7'));var ejs=require(_0x1b09('0x8'));var fs=require('fs');var _=require(_0x1b09('0x9'));var squel=require('squel');var crypto=require(_0x1b09('0xa'));var jsforce=require(_0x1b09('0xb'));var deskjs=require(_0x1b09('0xc'));var toCsv=require(_0x1b09('0x7'));var querystring=require(_0x1b09('0xd'));var Papa=require(_0x1b09('0xe'));var Redis=require(_0x1b09('0xf'));var authService=require(_0x1b09('0x10'));var qs=require(_0x1b09('0x11'));var as=require(_0x1b09('0x12'));var hardwareService=require(_0x1b09('0x13'));var logger=require('../../config/logger')(_0x1b09('0x14'));var utils=require(_0x1b09('0x15'));var config=require('../../config/environment');var db=require('../../mysqldb')['db'];function respondWithStatusCode(_0x3839d9,_0x4284ad){_0x4284ad=_0x4284ad||0xcc;return function(_0x3ae4a0){if(_0x3ae4a0){return _0x3839d9[_0x1b09('0x16')](_0x4284ad);}return _0x3839d9[_0x1b09('0x17')](_0x4284ad)[_0x1b09('0x18')]();};}function respondWithResult(_0x1fd3bc,_0x58392d){_0x58392d=_0x58392d||0xc8;return function(_0x37fdb2){if(_0x37fdb2){return _0x1fd3bc['status'](_0x58392d)[_0x1b09('0x19')](_0x37fdb2);}};}function respondWithFilteredResult(_0x27a731,_0x11ab46){return function(_0x37673e){if(_0x37673e){var _0x10b7eb=_0x37673e[_0x1b09('0x1a')],_0x1dc96b=_0x11ab46[_0x1b09('0x1b')],_0x64689a=_0x11ab46[_0x1b09('0x1b')]+_0x11ab46[_0x1b09('0x1c')],_0x33129b;if(_0x64689a>=_0x10b7eb){_0x64689a=_0x10b7eb;_0x33129b=0xc8;}else{_0x33129b=0xce;}_0x27a731[_0x1b09('0x17')](_0x33129b);return _0x27a731['set'](_0x1b09('0x1d'),_0x1dc96b+'-'+_0x64689a+'/'+_0x10b7eb)[_0x1b09('0x19')](_0x37673e);}return null;};}function patchUpdates(_0x5483ef){return function(_0x5cf855){try{jsonpatch[_0x1b09('0x1e')](_0x5cf855,_0x5483ef,!![]);}catch(_0x5debd9){return BPromise[_0x1b09('0x1f')](_0x5debd9);}return _0x5cf855['save']();};}function saveUpdates(_0x136697,_0x4b2eab){return function(_0x2d6dba){if(_0x2d6dba){return _0x2d6dba[_0x1b09('0x20')](_0x136697)[_0x1b09('0x21')](function(_0x24889f){return _0x24889f;});}return null;};}function removeEntity(_0x363e78,_0x39e569){return function(_0x48b803){if(_0x48b803){return _0x48b803['destroy']()[_0x1b09('0x21')](function(){_0x363e78[_0x1b09('0x17')](0xcc)['end']();});}};}function handleEntityNotFound(_0x3c0496,_0x11d0d5){return function(_0x6e132c){if(!_0x6e132c){_0x3c0496[_0x1b09('0x16')](0x194);}return _0x6e132c;};}function handleError(_0x5a9677,_0xe0d931){_0xe0d931=_0xe0d931||0x1f4;return function(_0x15be49){logger['error'](_0x15be49[_0x1b09('0x22')]);if(_0x15be49[_0x1b09('0x23')]){delete _0x15be49['name'];}_0x5a9677[_0x1b09('0x17')](_0xe0d931)[_0x1b09('0x24')](_0x15be49);};}exports[_0x1b09('0x25')]=function(_0x1b8aaa,_0x547fbb){var _0xb3cf07={},_0x3cdbc5={},_0x532589={'count':0x0,'rows':[]};var _0x2d1ec0=_[_0x1b09('0x26')](db[_0x1b09('0x27')][_0x1b09('0x28')],function(_0x11098e){return{'name':_0x11098e[_0x1b09('0x29')],'type':_0x11098e[_0x1b09('0x2a')]['key']};});_0x3cdbc5[_0x1b09('0x2b')]=_[_0x1b09('0x26')](_0x2d1ec0,'name');_0x3cdbc5[_0x1b09('0x2c')]=_[_0x1b09('0x2d')](_0x1b8aaa[_0x1b09('0x2c')]);_0x3cdbc5[_0x1b09('0x2e')]=_[_0x1b09('0x2f')](_0x3cdbc5['model'],_0x3cdbc5[_0x1b09('0x2c')]);_0xb3cf07['attributes']=_[_0x1b09('0x2f')](_0x3cdbc5['model'],qs[_0x1b09('0x30')](_0x1b8aaa[_0x1b09('0x2c')][_0x1b09('0x30')]));_0xb3cf07[_0x1b09('0x31')]=_0xb3cf07[_0x1b09('0x31')][_0x1b09('0x32')]?_0xb3cf07[_0x1b09('0x31')]:_0x3cdbc5[_0x1b09('0x2b')];if(!_0x1b8aaa[_0x1b09('0x2c')][_0x1b09('0x33')]('nolimit')){_0xb3cf07[_0x1b09('0x1c')]=qs[_0x1b09('0x1c')](_0x1b8aaa[_0x1b09('0x2c')]['limit']);_0xb3cf07[_0x1b09('0x1b')]=qs[_0x1b09('0x1b')](_0x1b8aaa[_0x1b09('0x2c')][_0x1b09('0x1b')]);}_0xb3cf07[_0x1b09('0x34')]=qs[_0x1b09('0x35')](_0x1b8aaa[_0x1b09('0x2c')][_0x1b09('0x35')]);_0xb3cf07['where']=qs[_0x1b09('0x2e')](_['pick'](_0x1b8aaa[_0x1b09('0x2c')],_0x3cdbc5['filters']),_0x2d1ec0);if(_0x1b8aaa[_0x1b09('0x2c')][_0x1b09('0x36')]){_0xb3cf07[_0x1b09('0x37')]=_[_0x1b09('0x38')](_0xb3cf07[_0x1b09('0x37')],{'$or':_[_0x1b09('0x26')](_0x2d1ec0,function(_0x659067){if(_0x659067[_0x1b09('0x2a')]!==_0x1b09('0x39')){var _0x68fbfb={};_0x68fbfb[_0x659067[_0x1b09('0x23')]]={'$like':'%'+_0x1b8aaa[_0x1b09('0x2c')][_0x1b09('0x36')]+'%'};return _0x68fbfb;}})});}_0xb3cf07=_['merge']({},_0xb3cf07,_0x1b8aaa['options']);var _0x23ce9a={'where':_0xb3cf07[_0x1b09('0x37')]};return db[_0x1b09('0x27')][_0x1b09('0x1a')](_0x23ce9a)[_0x1b09('0x21')](function(_0x219258){_0x532589[_0x1b09('0x1a')]=_0x219258;if(_0x1b8aaa[_0x1b09('0x2c')]['includeAll']){_0xb3cf07['include']=[{'all':!![]}];}return db[_0x1b09('0x27')]['findAll'](_0xb3cf07);})[_0x1b09('0x21')](function(_0x31dbfd){_0x532589[_0x1b09('0x3a')]=_0x31dbfd;return _0x532589;})['then'](respondWithFilteredResult(_0x547fbb,_0xb3cf07))[_0x1b09('0x3b')](handleError(_0x547fbb,null));};exports[_0x1b09('0x3c')]=function(_0x202b18,_0x58c7c2){var _0x3edcde={'raw':!![],'where':{'id':_0x202b18[_0x1b09('0x3d')]['id']}},_0x6ae923={};_0x6ae923[_0x1b09('0x2b')]=_['keys'](db[_0x1b09('0x27')][_0x1b09('0x28')]);_0x6ae923['query']=_[_0x1b09('0x2d')](_0x202b18[_0x1b09('0x2c')]);_0x6ae923['filters']=_['intersection'](_0x6ae923['model'],_0x6ae923['query']);_0x3edcde[_0x1b09('0x31')]=_[_0x1b09('0x2f')](_0x6ae923[_0x1b09('0x2b')],qs['fields'](_0x202b18[_0x1b09('0x2c')][_0x1b09('0x30')]));_0x3edcde['attributes']=_0x3edcde[_0x1b09('0x31')][_0x1b09('0x32')]?_0x3edcde[_0x1b09('0x31')]:_0x6ae923[_0x1b09('0x2b')];if(_0x202b18[_0x1b09('0x2c')][_0x1b09('0x3e')]){_0x3edcde[_0x1b09('0x3f')]=[{'all':!![]}];}_0x3edcde=_[_0x1b09('0x38')]({},_0x3edcde,_0x202b18[_0x1b09('0x40')]);return db[_0x1b09('0x27')]['find'](_0x3edcde)[_0x1b09('0x21')](handleEntityNotFound(_0x58c7c2,null))[_0x1b09('0x21')](respondWithResult(_0x58c7c2,null))[_0x1b09('0x3b')](handleError(_0x58c7c2,null));};exports['create']=function(_0x2ab6ca,_0x4bf205){return db[_0x1b09('0x27')][_0x1b09('0x41')](_0x2ab6ca['body'],{})[_0x1b09('0x21')](respondWithResult(_0x4bf205,0xc9))[_0x1b09('0x3b')](handleError(_0x4bf205,null));};exports[_0x1b09('0x20')]=function(_0x25443a,_0x13294c){if(_0x25443a[_0x1b09('0x42')]['id']){delete _0x25443a['body']['id'];}return db[_0x1b09('0x27')]['find']({'where':{'id':_0x25443a[_0x1b09('0x3d')]['id']}})['then'](handleEntityNotFound(_0x13294c,null))['then'](saveUpdates(_0x25443a[_0x1b09('0x42')],null))[_0x1b09('0x21')](respondWithResult(_0x13294c,null))[_0x1b09('0x3b')](handleError(_0x13294c,null));};exports[_0x1b09('0x43')]=function(_0x66ca28,_0x3e7046){return db[_0x1b09('0x27')][_0x1b09('0x44')]({'where':{'id':_0x66ca28['params']['id']}})[_0x1b09('0x21')](handleEntityNotFound(_0x3e7046,null))[_0x1b09('0x21')](removeEntity(_0x3e7046,null))[_0x1b09('0x3b')](handleError(_0x3e7046,null));};exports['describe']=function(_0x55df13,_0x2b7552){return db['ChatOfflineMessage'][_0x1b09('0x45')]()[_0x1b09('0x21')](respondWithResult(_0x2b7552,null))['catch'](handleError(_0x2b7552,null));}; \ No newline at end of file +var _0x2bd8=['fieldName','query','intersection','model','attributes','fields','length','hasOwnProperty','nolimit','order','sort','where','filters','filter','merge','type','VIRTUAL','includeAll','include','findAll','rows','params','keys','find','catch','create','body','describe','html-pdf','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','mustache','path','sox','to-csv','lodash','squel','crypto','jsforce','../../components/auth/service','../../config/license/hardware','../../config/utils','../../config/environment','status','end','json','count','offset','limit','set','Content-Range','reject','save','update','then','destroy','sendStatus','error','stack','name','send','index','map','ChatOfflineMessage','rawAttributes'];(function(_0x12bdf1,_0x15259f){var _0x432727=function(_0x40e04){while(--_0x40e04){_0x12bdf1['push'](_0x12bdf1['shift']());}};_0x432727(++_0x15259f);}(_0x2bd8,0x130));var _0x82bd=function(_0x3d63a6,_0x23c24f){_0x3d63a6=_0x3d63a6-0x0;var _0x31d03e=_0x2bd8[_0x3d63a6];return _0x31d03e;};'use strict';var pdf=require(_0x82bd('0x0'));var emlformat=require('eml-format');var rimraf=require(_0x82bd('0x1'));var zipdir=require(_0x82bd('0x2'));var jsonpatch=require(_0x82bd('0x3'));var rp=require(_0x82bd('0x4'));var moment=require(_0x82bd('0x5'));var BPromise=require(_0x82bd('0x6'));var Mustache=require(_0x82bd('0x7'));var util=require('util');var path=require(_0x82bd('0x8'));var sox=require(_0x82bd('0x9'));var csv=require(_0x82bd('0xa'));var ejs=require('ejs');var fs=require('fs');var _=require(_0x82bd('0xb'));var squel=require(_0x82bd('0xc'));var crypto=require(_0x82bd('0xd'));var jsforce=require(_0x82bd('0xe'));var deskjs=require('desk.js');var toCsv=require(_0x82bd('0xa'));var querystring=require('querystring');var Papa=require('papaparse');var Redis=require('ioredis');var authService=require(_0x82bd('0xf'));var qs=require('../../components/parsers/qs');var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0x82bd('0x10'));var logger=require('../../config/logger')('api');var utils=require(_0x82bd('0x11'));var config=require(_0x82bd('0x12'));var db=require('../../mysqldb')['db'];function respondWithStatusCode(_0x140ad6,_0x5f1ab9){_0x5f1ab9=_0x5f1ab9||0xcc;return function(_0xfaccf7){if(_0xfaccf7){return _0x140ad6['sendStatus'](_0x5f1ab9);}return _0x140ad6[_0x82bd('0x13')](_0x5f1ab9)[_0x82bd('0x14')]();};}function respondWithResult(_0x1b2324,_0x2ca530){_0x2ca530=_0x2ca530||0xc8;return function(_0x58d82b){if(_0x58d82b){return _0x1b2324[_0x82bd('0x13')](_0x2ca530)[_0x82bd('0x15')](_0x58d82b);}};}function respondWithFilteredResult(_0x52e533,_0x3667ef){return function(_0x4db39d){if(_0x4db39d){var _0x35dd09=_0x4db39d[_0x82bd('0x16')],_0x433e7d=_0x3667ef[_0x82bd('0x17')],_0x2c5155=_0x3667ef[_0x82bd('0x17')]+_0x3667ef[_0x82bd('0x18')],_0x300982;if(_0x2c5155>=_0x35dd09){_0x2c5155=_0x35dd09;_0x300982=0xc8;}else{_0x300982=0xce;}_0x52e533[_0x82bd('0x13')](_0x300982);return _0x52e533[_0x82bd('0x19')](_0x82bd('0x1a'),_0x433e7d+'-'+_0x2c5155+'/'+_0x35dd09)[_0x82bd('0x15')](_0x4db39d);}return null;};}function patchUpdates(_0x1c3779){return function(_0x253741){try{jsonpatch['apply'](_0x253741,_0x1c3779,!![]);}catch(_0x5688ed){return BPromise[_0x82bd('0x1b')](_0x5688ed);}return _0x253741[_0x82bd('0x1c')]();};}function saveUpdates(_0x2ee27c,_0xc9fcdf){return function(_0x34899b){if(_0x34899b){return _0x34899b[_0x82bd('0x1d')](_0x2ee27c)[_0x82bd('0x1e')](function(_0x32954d){return _0x32954d;});}return null;};}function removeEntity(_0x1fc715,_0x3291cd){return function(_0x2caa29){if(_0x2caa29){return _0x2caa29[_0x82bd('0x1f')]()[_0x82bd('0x1e')](function(){_0x1fc715[_0x82bd('0x13')](0xcc)[_0x82bd('0x14')]();});}};}function handleEntityNotFound(_0x2d9d95,_0x13a42a){return function(_0x3b6b93){if(!_0x3b6b93){_0x2d9d95[_0x82bd('0x20')](0x194);}return _0x3b6b93;};}function handleError(_0x547e45,_0x4b3215){_0x4b3215=_0x4b3215||0x1f4;return function(_0x4248be){logger[_0x82bd('0x21')](_0x4248be[_0x82bd('0x22')]);if(_0x4248be[_0x82bd('0x23')]){delete _0x4248be[_0x82bd('0x23')];}_0x547e45[_0x82bd('0x13')](_0x4b3215)[_0x82bd('0x24')](_0x4248be);};}exports[_0x82bd('0x25')]=function(_0x2f0bb6,_0x2add80){var _0x53a2a6={},_0x5bd22f={},_0x5609b7={'count':0x0,'rows':[]};var _0x5d1015=_[_0x82bd('0x26')](db[_0x82bd('0x27')][_0x82bd('0x28')],function(_0x190bca){return{'name':_0x190bca[_0x82bd('0x29')],'type':_0x190bca['type']['key']};});_0x5bd22f['model']=_[_0x82bd('0x26')](_0x5d1015,_0x82bd('0x23'));_0x5bd22f[_0x82bd('0x2a')]=_['keys'](_0x2f0bb6[_0x82bd('0x2a')]);_0x5bd22f['filters']=_[_0x82bd('0x2b')](_0x5bd22f[_0x82bd('0x2c')],_0x5bd22f[_0x82bd('0x2a')]);_0x53a2a6[_0x82bd('0x2d')]=_[_0x82bd('0x2b')](_0x5bd22f[_0x82bd('0x2c')],qs['fields'](_0x2f0bb6[_0x82bd('0x2a')][_0x82bd('0x2e')]));_0x53a2a6[_0x82bd('0x2d')]=_0x53a2a6['attributes'][_0x82bd('0x2f')]?_0x53a2a6['attributes']:_0x5bd22f['model'];if(!_0x2f0bb6[_0x82bd('0x2a')][_0x82bd('0x30')](_0x82bd('0x31'))){_0x53a2a6[_0x82bd('0x18')]=qs[_0x82bd('0x18')](_0x2f0bb6[_0x82bd('0x2a')][_0x82bd('0x18')]);_0x53a2a6[_0x82bd('0x17')]=qs[_0x82bd('0x17')](_0x2f0bb6[_0x82bd('0x2a')][_0x82bd('0x17')]);}_0x53a2a6[_0x82bd('0x32')]=qs[_0x82bd('0x33')](_0x2f0bb6[_0x82bd('0x2a')][_0x82bd('0x33')]);_0x53a2a6[_0x82bd('0x34')]=qs[_0x82bd('0x35')](_['pick'](_0x2f0bb6['query'],_0x5bd22f['filters']),_0x5d1015);if(_0x2f0bb6[_0x82bd('0x2a')][_0x82bd('0x36')]){_0x53a2a6['where']=_[_0x82bd('0x37')](_0x53a2a6['where'],{'$or':_['map'](_0x5d1015,function(_0x4c5f8d){if(_0x4c5f8d[_0x82bd('0x38')]!==_0x82bd('0x39')){var _0x28e521={};_0x28e521[_0x4c5f8d[_0x82bd('0x23')]]={'$like':'%'+_0x2f0bb6[_0x82bd('0x2a')]['filter']+'%'};return _0x28e521;}})});}_0x53a2a6=_['merge']({},_0x53a2a6,_0x2f0bb6['options']);var _0x64bc54={'where':_0x53a2a6['where']};return db['ChatOfflineMessage'][_0x82bd('0x16')](_0x64bc54)[_0x82bd('0x1e')](function(_0x3192e2){_0x5609b7[_0x82bd('0x16')]=_0x3192e2;if(_0x2f0bb6[_0x82bd('0x2a')][_0x82bd('0x3a')]){_0x53a2a6[_0x82bd('0x3b')]=[{'all':!![]}];}return db[_0x82bd('0x27')][_0x82bd('0x3c')](_0x53a2a6);})['then'](function(_0x5c7661){_0x5609b7[_0x82bd('0x3d')]=_0x5c7661;return _0x5609b7;})[_0x82bd('0x1e')](respondWithFilteredResult(_0x2add80,_0x53a2a6))['catch'](handleError(_0x2add80,null));};exports['show']=function(_0x277b7a,_0x18a697){var _0x4d310b={'raw':!![],'where':{'id':_0x277b7a[_0x82bd('0x3e')]['id']}},_0x121f1f={};_0x121f1f[_0x82bd('0x2c')]=_[_0x82bd('0x3f')](db[_0x82bd('0x27')][_0x82bd('0x28')]);_0x121f1f[_0x82bd('0x2a')]=_[_0x82bd('0x3f')](_0x277b7a[_0x82bd('0x2a')]);_0x121f1f[_0x82bd('0x35')]=_[_0x82bd('0x2b')](_0x121f1f[_0x82bd('0x2c')],_0x121f1f['query']);_0x4d310b[_0x82bd('0x2d')]=_[_0x82bd('0x2b')](_0x121f1f['model'],qs['fields'](_0x277b7a[_0x82bd('0x2a')][_0x82bd('0x2e')]));_0x4d310b[_0x82bd('0x2d')]=_0x4d310b[_0x82bd('0x2d')][_0x82bd('0x2f')]?_0x4d310b['attributes']:_0x121f1f['model'];if(_0x277b7a[_0x82bd('0x2a')][_0x82bd('0x3a')]){_0x4d310b['include']=[{'all':!![]}];}_0x4d310b=_[_0x82bd('0x37')]({},_0x4d310b,_0x277b7a['options']);return db[_0x82bd('0x27')][_0x82bd('0x40')](_0x4d310b)['then'](handleEntityNotFound(_0x18a697,null))[_0x82bd('0x1e')](respondWithResult(_0x18a697,null))[_0x82bd('0x41')](handleError(_0x18a697,null));};exports['create']=function(_0x498824,_0x403afe){return db['ChatOfflineMessage'][_0x82bd('0x42')](_0x498824[_0x82bd('0x43')],{})[_0x82bd('0x1e')](respondWithResult(_0x403afe,0xc9))[_0x82bd('0x41')](handleError(_0x403afe,null));};exports['update']=function(_0x53fd25,_0x1852f2){if(_0x53fd25[_0x82bd('0x43')]['id']){delete _0x53fd25['body']['id'];}return db[_0x82bd('0x27')][_0x82bd('0x40')]({'where':{'id':_0x53fd25[_0x82bd('0x3e')]['id']}})['then'](handleEntityNotFound(_0x1852f2,null))[_0x82bd('0x1e')](saveUpdates(_0x53fd25[_0x82bd('0x43')],null))[_0x82bd('0x1e')](respondWithResult(_0x1852f2,null))[_0x82bd('0x41')](handleError(_0x1852f2,null));};exports[_0x82bd('0x1f')]=function(_0x2c2cb9,_0x2e97c3){return db[_0x82bd('0x27')][_0x82bd('0x40')]({'where':{'id':_0x2c2cb9[_0x82bd('0x3e')]['id']}})[_0x82bd('0x1e')](handleEntityNotFound(_0x2e97c3,null))[_0x82bd('0x1e')](removeEntity(_0x2e97c3,null))[_0x82bd('0x41')](handleError(_0x2e97c3,null));};exports['describe']=function(_0x63a2a0,_0x3ecab7){return db['ChatOfflineMessage'][_0x82bd('0x44')]()[_0x82bd('0x1e')](respondWithResult(_0x3ecab7,null))[_0x82bd('0x41')](handleError(_0x3ecab7,null));}; \ No newline at end of file diff --git a/server/api/chatOfflineMessage/chatOfflineMessage.model.js b/server/api/chatOfflineMessage/chatOfflineMessage.model.js index 0c43f3f..d7dce58 100644 --- a/server/api/chatOfflineMessage/chatOfflineMessage.model.js +++ b/server/api/chatOfflineMessage/chatOfflineMessage.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x4fdb=['lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','./chatOfflineMessage.attributes','ChatOfflineMessage','chat_offline_messages','utf8mb4'];(function(_0xbf19d7,_0x58b2bf){var _0x376e11=function(_0x5ab888){while(--_0x5ab888){_0xbf19d7['push'](_0xbf19d7['shift']());}};_0x376e11(++_0x58b2bf);}(_0x4fdb,0x9c));var _0xb4fd=function(_0x236b93,_0x5df093){_0x236b93=_0x236b93-0x0;var _0x4b53d0=_0x4fdb[_0x236b93];return _0x4b53d0;};'use strict';var _=require(_0xb4fd('0x0'));var util=require(_0xb4fd('0x1'));var logger=require(_0xb4fd('0x2'))(_0xb4fd('0x3'));var moment=require(_0xb4fd('0x4'));var BPromise=require(_0xb4fd('0x5'));var rp=require(_0xb4fd('0x6'));var fs=require('fs');var path=require(_0xb4fd('0x7'));var rimraf=require(_0xb4fd('0x8'));var config=require('../../config/environment');var attributes=require(_0xb4fd('0x9'));module['exports']=function(_0x14052b,_0x5d8b39){return _0x14052b['define'](_0xb4fd('0xa'),attributes,{'tableName':_0xb4fd('0xb'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':_0xb4fd('0xc'),'collate':'utf8mb4_unicode_ci'});}; \ No newline at end of file +var _0xf72b=['bluebird','path','rimraf','../../config/environment','./chatOfflineMessage.attributes','exports','define','ChatOfflineMessage','chat_offline_messages','utf8mb4','utf8mb4_unicode_ci','lodash','../../config/logger','moment'];(function(_0x569caa,_0x5174ce){var _0x44cb5a=function(_0x456df4){while(--_0x456df4){_0x569caa['push'](_0x569caa['shift']());}};_0x44cb5a(++_0x5174ce);}(_0xf72b,0x1d9));var _0xbf72=function(_0x30fa11,_0x24b392){_0x30fa11=_0x30fa11-0x0;var _0x549d84=_0xf72b[_0x30fa11];return _0x549d84;};'use strict';var _=require(_0xbf72('0x0'));var util=require('util');var logger=require(_0xbf72('0x1'))('api');var moment=require(_0xbf72('0x2'));var BPromise=require(_0xbf72('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xbf72('0x4'));var rimraf=require(_0xbf72('0x5'));var config=require(_0xbf72('0x6'));var attributes=require(_0xbf72('0x7'));module[_0xbf72('0x8')]=function(_0x2b8440,_0x5ee060){return _0x2b8440[_0xbf72('0x9')](_0xbf72('0xa'),attributes,{'tableName':_0xbf72('0xb'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':_0xbf72('0xc'),'collate':_0xbf72('0xd')});}; \ No newline at end of file diff --git a/server/api/chatOfflineMessage/chatOfflineMessage.rpc.js b/server/api/chatOfflineMessage/chatOfflineMessage.rpc.js index 88c122b..b4f91b9 100644 --- a/server/api/chatOfflineMessage/chatOfflineMessage.rpc.js +++ b/server/api/chatOfflineMessage/chatOfflineMessage.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x10a6=['lodash','util','bluebird','randomstring','../../mysqldb','../../config/utils','jayson/promise','client','request','then','info','ChatOfflineMessage,\x20%s,\x20%s','request\x20sent','debug','ChatOfflineMessage,\x20%s,\x20%s,\x20%s','error','message','catch'];(function(_0x56f7e1,_0x4c2d0d){var _0x4bc5d8=function(_0x4dfcaf){while(--_0x4dfcaf){_0x56f7e1['push'](_0x56f7e1['shift']());}};_0x4bc5d8(++_0x4c2d0d);}(_0x10a6,0xb4));var _0x610a=function(_0x34bf97,_0xc60f9d){_0x34bf97=_0x34bf97-0x0;var _0x292719=_0x10a6[_0x34bf97];return _0x292719;};'use strict';var _=require(_0x610a('0x0'));var util=require(_0x610a('0x1'));var moment=require('moment');var BPromise=require(_0x610a('0x2'));var rs=require(_0x610a('0x3'));var fs=require('fs');var Redis=require('ioredis');var db=require(_0x610a('0x4'))['db'];var utils=require(_0x610a('0x5'));var logger=require('../../config/logger')('rpc');var config=require('../../config/environment');var jayson=require(_0x610a('0x6'));var client=jayson[_0x610a('0x7')]['http']({'port':0x232a});function respondWithRpcPromise(_0x952bb9,_0x39d76d,_0x13399f){return new BPromise(function(_0x1abce6,_0x4a7b43){return client[_0x610a('0x8')](_0x952bb9,_0x13399f)[_0x610a('0x9')](function(_0x4a80dd){logger[_0x610a('0xa')](_0x610a('0xb'),_0x39d76d,_0x610a('0xc'));logger[_0x610a('0xd')](_0x610a('0xe'),_0x39d76d,_0x610a('0xc'),JSON['stringify'](_0x4a80dd));if(_0x4a80dd['error']){if(_0x4a80dd[_0x610a('0xf')]['code']===0x1f4){logger['error']('ChatOfflineMessage,\x20%s,\x20%s',_0x39d76d,_0x4a80dd[_0x610a('0xf')][_0x610a('0x10')]);return _0x4a7b43(_0x4a80dd[_0x610a('0xf')][_0x610a('0x10')]);}logger[_0x610a('0xf')](_0x610a('0xb'),_0x39d76d,_0x4a80dd[_0x610a('0xf')][_0x610a('0x10')]);return _0x1abce6(_0x4a80dd[_0x610a('0xf')][_0x610a('0x10')]);}else{logger[_0x610a('0xa')](_0x610a('0xb'),_0x39d76d,_0x610a('0xc'));_0x1abce6(_0x4a80dd['result'][_0x610a('0x10')]);}})[_0x610a('0x11')](function(_0x475f8b){logger['error'](_0x610a('0xb'),_0x39d76d,_0x475f8b);_0x4a7b43(_0x475f8b);});});} \ No newline at end of file +var _0xce28=['client','http','then','info','ChatOfflineMessage,\x20%s,\x20%s','request\x20sent','debug','stringify','error','code','message','lodash','util','moment','bluebird','randomstring','ioredis','../../mysqldb','../../config/logger','rpc','../../config/environment'];(function(_0x53f7f7,_0x39fde3){var _0x406af6=function(_0x3b3aec){while(--_0x3b3aec){_0x53f7f7['push'](_0x53f7f7['shift']());}};_0x406af6(++_0x39fde3);}(_0xce28,0xb3));var _0x8ce2=function(_0xe73080,_0x24c56d){_0xe73080=_0xe73080-0x0;var _0x12cbc4=_0xce28[_0xe73080];return _0x12cbc4;};'use strict';var _=require(_0x8ce2('0x0'));var util=require(_0x8ce2('0x1'));var moment=require(_0x8ce2('0x2'));var BPromise=require(_0x8ce2('0x3'));var rs=require(_0x8ce2('0x4'));var fs=require('fs');var Redis=require(_0x8ce2('0x5'));var db=require(_0x8ce2('0x6'))['db'];var utils=require('../../config/utils');var logger=require(_0x8ce2('0x7'))(_0x8ce2('0x8'));var config=require(_0x8ce2('0x9'));var jayson=require('jayson/promise');var client=jayson[_0x8ce2('0xa')][_0x8ce2('0xb')]({'port':0x232a});function respondWithRpcPromise(_0x2a5657,_0x37e88a,_0x51294f){return new BPromise(function(_0x3b38a6,_0x83b6aa){return client['request'](_0x2a5657,_0x51294f)[_0x8ce2('0xc')](function(_0xdf52bc){logger[_0x8ce2('0xd')](_0x8ce2('0xe'),_0x37e88a,_0x8ce2('0xf'));logger[_0x8ce2('0x10')]('ChatOfflineMessage,\x20%s,\x20%s,\x20%s',_0x37e88a,_0x8ce2('0xf'),JSON[_0x8ce2('0x11')](_0xdf52bc));if(_0xdf52bc[_0x8ce2('0x12')]){if(_0xdf52bc[_0x8ce2('0x12')][_0x8ce2('0x13')]===0x1f4){logger[_0x8ce2('0x12')]('ChatOfflineMessage,\x20%s,\x20%s',_0x37e88a,_0xdf52bc[_0x8ce2('0x12')][_0x8ce2('0x14')]);return _0x83b6aa(_0xdf52bc[_0x8ce2('0x12')][_0x8ce2('0x14')]);}logger[_0x8ce2('0x12')](_0x8ce2('0xe'),_0x37e88a,_0xdf52bc[_0x8ce2('0x12')][_0x8ce2('0x14')]);return _0x3b38a6(_0xdf52bc[_0x8ce2('0x12')]['message']);}else{logger['info'](_0x8ce2('0xe'),_0x37e88a,_0x8ce2('0xf'));_0x3b38a6(_0xdf52bc['result'][_0x8ce2('0x14')]);}})['catch'](function(_0x1e60cc){logger[_0x8ce2('0x12')](_0x8ce2('0xe'),_0x37e88a,_0x1e60cc);_0x83b6aa(_0x1e60cc);});});} \ No newline at end of file diff --git a/server/api/chatOfflineMessage/index.js b/server/api/chatOfflineMessage/index.js index ea1494c..890bfc7 100644 --- a/server/api/chatOfflineMessage/index.js +++ b/server/api/chatOfflineMessage/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x23c9=['path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatOfflineMessage.controller','get','isAuthenticated','index','/describe','put','/:id','update','delete','destroy','exports','multer','util'];(function(_0x43b1f3,_0x3840cd){var _0x4bd021=function(_0x2c06c0){while(--_0x2c06c0){_0x43b1f3['push'](_0x43b1f3['shift']());}};_0x4bd021(++_0x3840cd);}(_0x23c9,0xb2));var _0x923c=function(_0x102da0,_0x539e28){_0x102da0=_0x102da0-0x0;var _0x41361c=_0x23c9[_0x102da0];return _0x41361c;};'use strict';var multer=require(_0x923c('0x0'));var util=require(_0x923c('0x1'));var path=require(_0x923c('0x2'));var timeout=require(_0x923c('0x3'));var express=require(_0x923c('0x4'));var router=express[_0x923c('0x5')]();var auth=require(_0x923c('0x6'));var interaction=require(_0x923c('0x7'));var config=require(_0x923c('0x8'));var controller=require(_0x923c('0x9'));router[_0x923c('0xa')]('/',auth[_0x923c('0xb')](),controller[_0x923c('0xc')]);router[_0x923c('0xa')](_0x923c('0xd'),auth[_0x923c('0xb')](),controller['describe']);router['get']('/:id',auth[_0x923c('0xb')](),controller['show']);router['post']('/',auth['isAuthenticated'](),controller['create']);router[_0x923c('0xe')](_0x923c('0xf'),auth[_0x923c('0xb')](),controller[_0x923c('0x10')]);router[_0x923c('0x11')](_0x923c('0xf'),auth['isAuthenticated'](),controller[_0x923c('0x12')]);module[_0x923c('0x13')]=router; \ No newline at end of file +var _0x9e99=['connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatOfflineMessage.controller','isAuthenticated','get','/describe','/:id','show','post','create','put','delete','util','path'];(function(_0xaa0309,_0x1c8008){var _0x5de7ce=function(_0x3aa6ae){while(--_0x3aa6ae){_0xaa0309['push'](_0xaa0309['shift']());}};_0x5de7ce(++_0x1c8008);}(_0x9e99,0x11f));var _0x99e9=function(_0x52fb3c,_0x2cf66e){_0x52fb3c=_0x52fb3c-0x0;var _0x5c9223=_0x9e99[_0x52fb3c];return _0x5c9223;};'use strict';var multer=require('multer');var util=require(_0x99e9('0x0'));var path=require(_0x99e9('0x1'));var timeout=require(_0x99e9('0x2'));var express=require(_0x99e9('0x3'));var router=express['Router']();var auth=require(_0x99e9('0x4'));var interaction=require(_0x99e9('0x5'));var config=require(_0x99e9('0x6'));var controller=require(_0x99e9('0x7'));router['get']('/',auth[_0x99e9('0x8')](),controller['index']);router[_0x99e9('0x9')](_0x99e9('0xa'),auth[_0x99e9('0x8')](),controller['describe']);router[_0x99e9('0x9')](_0x99e9('0xb'),auth[_0x99e9('0x8')](),controller[_0x99e9('0xc')]);router[_0x99e9('0xd')]('/',auth['isAuthenticated'](),controller[_0x99e9('0xe')]);router[_0x99e9('0xf')](_0x99e9('0xb'),auth['isAuthenticated'](),controller['update']);router[_0x99e9('0x10')](_0x99e9('0xb'),auth[_0x99e9('0x8')](),controller['destroy']);module['exports']=router; \ No newline at end of file diff --git a/server/api/chatProactiveAction/chatProactiveAction.attributes.js b/server/api/chatProactiveAction/chatProactiveAction.attributes.js index 6ccc837..e8127c9 100644 --- a/server/api/chatProactiveAction/chatProactiveAction.attributes.js +++ b/server/api/chatProactiveAction/chatProactiveAction.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x520a=['mouseOver','timeout','INTEGER','exports','STRING'];(function(_0x1adab7,_0x238ea5){var _0x2a28e2=function(_0x39e87a){while(--_0x39e87a){_0x1adab7['push'](_0x1adab7['shift']());}};_0x2a28e2(++_0x238ea5);}(_0x520a,0xd5));var _0xa520=function(_0x1e1d8d,_0x5685d6){_0x1e1d8d=_0x1e1d8d-0x0;var _0x49e627=_0x520a[_0x1e1d8d];return _0x49e627;};'use strict';var Sequelize=require('sequelize');module[_0xa520('0x0')]={'name':{'type':Sequelize[_0xa520('0x1')],'allowNull':![]},'type':{'type':Sequelize['ENUM'](_0xa520('0x2'),_0xa520('0x3')),'defaultValue':_0xa520('0x2')},'selector':{'type':Sequelize[_0xa520('0x1')]},'timeout':{'type':Sequelize[_0xa520('0x4')]}}; \ No newline at end of file +var _0xe9d6=['sequelize','STRING','mouseOver','timeout','INTEGER'];(function(_0x74889,_0x3cff38){var _0x2d9013=function(_0x4074a2){while(--_0x4074a2){_0x74889['push'](_0x74889['shift']());}};_0x2d9013(++_0x3cff38);}(_0xe9d6,0x1a4));var _0x6e9d=function(_0x450b95,_0x4802c0){_0x450b95=_0x450b95-0x0;var _0xe501a2=_0xe9d6[_0x450b95];return _0xe501a2;};'use strict';var Sequelize=require(_0x6e9d('0x0'));module['exports']={'name':{'type':Sequelize[_0x6e9d('0x1')],'allowNull':![]},'type':{'type':Sequelize['ENUM'](_0x6e9d('0x2'),_0x6e9d('0x3')),'defaultValue':_0x6e9d('0x2')},'selector':{'type':Sequelize['STRING']},'timeout':{'type':Sequelize[_0x6e9d('0x4')]}}; \ No newline at end of file diff --git a/server/api/chatProactiveAction/chatProactiveAction.controller.js b/server/api/chatProactiveAction/chatProactiveAction.controller.js index dc0af0e..d8e7c40 100644 --- a/server/api/chatProactiveAction/chatProactiveAction.controller.js +++ b/server/api/chatProactiveAction/chatProactiveAction.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xcb91=['../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','api','../../config/utils','../../config/environment','../../mysqldb','status','end','json','count','offset','limit','apply','reject','save','then','destroy','sendStatus','error','stack','name','send','params','model','keys','ChatProactiveAction','rawAttributes','query','intersection','attributes','length','includeAll','merge','options','find','catch','create','body','update','rimraf','zip-dir','fast-json-patch','request-promise','bluebird','mustache','path','sox','ejs','lodash','crypto','jsforce','to-csv','ioredis','../../components/auth/service'];(function(_0x19e35c,_0x29cd1e){var _0x3e1fe8=function(_0x17258b){while(--_0x17258b){_0x19e35c['push'](_0x19e35c['shift']());}};_0x3e1fe8(++_0x29cd1e);}(_0xcb91,0x1a9));var _0x1cb9=function(_0x29bf80,_0x4af855){_0x29bf80=_0x29bf80-0x0;var _0x932096=_0xcb91[_0x29bf80];return _0x932096;};'use strict';var pdf=require('html-pdf');var emlformat=require('eml-format');var rimraf=require(_0x1cb9('0x0'));var zipdir=require(_0x1cb9('0x1'));var jsonpatch=require(_0x1cb9('0x2'));var rp=require(_0x1cb9('0x3'));var moment=require('moment');var BPromise=require(_0x1cb9('0x4'));var Mustache=require(_0x1cb9('0x5'));var util=require('util');var path=require(_0x1cb9('0x6'));var sox=require(_0x1cb9('0x7'));var csv=require('to-csv');var ejs=require(_0x1cb9('0x8'));var fs=require('fs');var _=require(_0x1cb9('0x9'));var squel=require('squel');var crypto=require(_0x1cb9('0xa'));var jsforce=require(_0x1cb9('0xb'));var deskjs=require('desk.js');var toCsv=require(_0x1cb9('0xc'));var querystring=require('querystring');var Papa=require('papaparse');var Redis=require(_0x1cb9('0xd'));var authService=require(_0x1cb9('0xe'));var qs=require(_0x1cb9('0xf'));var as=require(_0x1cb9('0x10'));var hardwareService=require(_0x1cb9('0x11'));var logger=require('../../config/logger')(_0x1cb9('0x12'));var utils=require(_0x1cb9('0x13'));var config=require(_0x1cb9('0x14'));var db=require(_0x1cb9('0x15'))['db'];function respondWithStatusCode(_0x46af58,_0x5445e1){_0x5445e1=_0x5445e1||0xcc;return function(_0x5e3c19){if(_0x5e3c19){return _0x46af58['sendStatus'](_0x5445e1);}return _0x46af58[_0x1cb9('0x16')](_0x5445e1)[_0x1cb9('0x17')]();};}function respondWithResult(_0x384496,_0x1c714f){_0x1c714f=_0x1c714f||0xc8;return function(_0x56884d){if(_0x56884d){return _0x384496[_0x1cb9('0x16')](_0x1c714f)[_0x1cb9('0x18')](_0x56884d);}};}function respondWithFilteredResult(_0x1b3cd7,_0x8dfa55){return function(_0x3e2d11){if(_0x3e2d11){var _0x5806d8=_0x3e2d11[_0x1cb9('0x19')],_0x5572cb=_0x8dfa55[_0x1cb9('0x1a')],_0xd446a3=_0x8dfa55[_0x1cb9('0x1a')]+_0x8dfa55[_0x1cb9('0x1b')],_0x3cc765;if(_0xd446a3>=_0x5806d8){_0xd446a3=_0x5806d8;_0x3cc765=0xc8;}else{_0x3cc765=0xce;}_0x1b3cd7[_0x1cb9('0x16')](_0x3cc765);return _0x1b3cd7['set']('Content-Range',_0x5572cb+'-'+_0xd446a3+'/'+_0x5806d8)[_0x1cb9('0x18')](_0x3e2d11);}return null;};}function patchUpdates(_0x41ac41){return function(_0x2b2669){try{jsonpatch[_0x1cb9('0x1c')](_0x2b2669,_0x41ac41,!![]);}catch(_0x280a84){return BPromise[_0x1cb9('0x1d')](_0x280a84);}return _0x2b2669[_0x1cb9('0x1e')]();};}function saveUpdates(_0x4ac422,_0x559bcc){return function(_0x1a5a72){if(_0x1a5a72){return _0x1a5a72['update'](_0x4ac422)[_0x1cb9('0x1f')](function(_0x2265ea){return _0x2265ea;});}return null;};}function removeEntity(_0x523b26,_0x599275){return function(_0x2e3854){if(_0x2e3854){return _0x2e3854[_0x1cb9('0x20')]()[_0x1cb9('0x1f')](function(){_0x523b26[_0x1cb9('0x16')](0xcc)[_0x1cb9('0x17')]();});}};}function handleEntityNotFound(_0x27db16,_0x59ebea){return function(_0x55b232){if(!_0x55b232){_0x27db16[_0x1cb9('0x21')](0x194);}return _0x55b232;};}function handleError(_0x557199,_0x10a419){_0x10a419=_0x10a419||0x1f4;return function(_0x2b1275){logger[_0x1cb9('0x22')](_0x2b1275[_0x1cb9('0x23')]);if(_0x2b1275[_0x1cb9('0x24')]){delete _0x2b1275['name'];}_0x557199[_0x1cb9('0x16')](_0x10a419)[_0x1cb9('0x25')](_0x2b1275);};}exports['show']=function(_0xd6891c,_0x21effa){var _0x41a9a0={'raw':!![],'where':{'id':_0xd6891c[_0x1cb9('0x26')]['id']}},_0x1804fd={};_0x1804fd[_0x1cb9('0x27')]=_[_0x1cb9('0x28')](db[_0x1cb9('0x29')][_0x1cb9('0x2a')]);_0x1804fd[_0x1cb9('0x2b')]=_['keys'](_0xd6891c[_0x1cb9('0x2b')]);_0x1804fd['filters']=_[_0x1cb9('0x2c')](_0x1804fd['model'],_0x1804fd[_0x1cb9('0x2b')]);_0x41a9a0[_0x1cb9('0x2d')]=_[_0x1cb9('0x2c')](_0x1804fd[_0x1cb9('0x27')],qs['fields'](_0xd6891c[_0x1cb9('0x2b')]['fields']));_0x41a9a0[_0x1cb9('0x2d')]=_0x41a9a0[_0x1cb9('0x2d')][_0x1cb9('0x2e')]?_0x41a9a0['attributes']:_0x1804fd[_0x1cb9('0x27')];if(_0xd6891c['query'][_0x1cb9('0x2f')]){_0x41a9a0['include']=[{'all':!![]}];}_0x41a9a0=_[_0x1cb9('0x30')]({},_0x41a9a0,_0xd6891c[_0x1cb9('0x31')]);return db[_0x1cb9('0x29')][_0x1cb9('0x32')](_0x41a9a0)['then'](handleEntityNotFound(_0x21effa,null))[_0x1cb9('0x1f')](respondWithResult(_0x21effa,null))[_0x1cb9('0x33')](handleError(_0x21effa,null));};exports[_0x1cb9('0x34')]=function(_0x91a1db,_0xc6784c){return db[_0x1cb9('0x29')][_0x1cb9('0x34')](_0x91a1db[_0x1cb9('0x35')],{})[_0x1cb9('0x1f')](respondWithResult(_0xc6784c,0xc9))[_0x1cb9('0x33')](handleError(_0xc6784c,null));};exports[_0x1cb9('0x36')]=function(_0x26b950,_0x29f149){if(_0x26b950['body']['id']){delete _0x26b950['body']['id'];}return db[_0x1cb9('0x29')][_0x1cb9('0x32')]({'where':{'id':_0x26b950[_0x1cb9('0x26')]['id']}})[_0x1cb9('0x1f')](handleEntityNotFound(_0x29f149,null))[_0x1cb9('0x1f')](saveUpdates(_0x26b950[_0x1cb9('0x35')],null))[_0x1cb9('0x1f')](respondWithResult(_0x29f149,null))[_0x1cb9('0x33')](handleError(_0x29f149,null));};exports['destroy']=function(_0x2aa59b,_0x1482c4){return db[_0x1cb9('0x29')]['find']({'where':{'id':_0x2aa59b[_0x1cb9('0x26')]['id']}})['then'](handleEntityNotFound(_0x1482c4,null))[_0x1cb9('0x1f')](removeEntity(_0x1482c4,null))['catch'](handleError(_0x1482c4,null));}; \ No newline at end of file +var _0x9c44=['lodash','squel','crypto','desk.js','querystring','papaparse','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/logger','api','../../mysqldb','sendStatus','end','status','json','count','offset','limit','Content-Range','apply','reject','save','update','then','error','name','send','params','model','keys','rawAttributes','query','filters','intersection','attributes','length','includeAll','include','merge','options','catch','create','ChatProactiveAction','body','find','destroy','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','path','to-csv','ejs'];(function(_0x39175b,_0x245752){var _0x4b2c84=function(_0x562865){while(--_0x562865){_0x39175b['push'](_0x39175b['shift']());}};_0x4b2c84(++_0x245752);}(_0x9c44,0x178));var _0x49c4=function(_0x4d613c,_0x55f220){_0x4d613c=_0x4d613c-0x0;var _0x301fe3=_0x9c44[_0x4d613c];return _0x301fe3;};'use strict';var pdf=require('html-pdf');var emlformat=require('eml-format');var rimraf=require(_0x49c4('0x0'));var zipdir=require(_0x49c4('0x1'));var jsonpatch=require(_0x49c4('0x2'));var rp=require(_0x49c4('0x3'));var moment=require(_0x49c4('0x4'));var BPromise=require(_0x49c4('0x5'));var Mustache=require('mustache');var util=require('util');var path=require(_0x49c4('0x6'));var sox=require('sox');var csv=require(_0x49c4('0x7'));var ejs=require(_0x49c4('0x8'));var fs=require('fs');var _=require(_0x49c4('0x9'));var squel=require(_0x49c4('0xa'));var crypto=require(_0x49c4('0xb'));var jsforce=require('jsforce');var deskjs=require(_0x49c4('0xc'));var toCsv=require(_0x49c4('0x7'));var querystring=require(_0x49c4('0xd'));var Papa=require(_0x49c4('0xe'));var Redis=require('ioredis');var authService=require('../../components/auth/service');var qs=require(_0x49c4('0xf'));var as=require(_0x49c4('0x10'));var hardwareService=require('../../config/license/hardware');var logger=require(_0x49c4('0x11'))(_0x49c4('0x12'));var utils=require('../../config/utils');var config=require('../../config/environment');var db=require(_0x49c4('0x13'))['db'];function respondWithStatusCode(_0x6d1b08,_0x5487cd){_0x5487cd=_0x5487cd||0xcc;return function(_0x7df3a9){if(_0x7df3a9){return _0x6d1b08[_0x49c4('0x14')](_0x5487cd);}return _0x6d1b08['status'](_0x5487cd)[_0x49c4('0x15')]();};}function respondWithResult(_0x280996,_0x21f15a){_0x21f15a=_0x21f15a||0xc8;return function(_0x2decee){if(_0x2decee){return _0x280996[_0x49c4('0x16')](_0x21f15a)[_0x49c4('0x17')](_0x2decee);}};}function respondWithFilteredResult(_0x75ea8,_0x3de397){return function(_0x58d177){if(_0x58d177){var _0x3acd06=_0x58d177[_0x49c4('0x18')],_0x141003=_0x3de397['offset'],_0x13a2db=_0x3de397[_0x49c4('0x19')]+_0x3de397[_0x49c4('0x1a')],_0x81e831;if(_0x13a2db>=_0x3acd06){_0x13a2db=_0x3acd06;_0x81e831=0xc8;}else{_0x81e831=0xce;}_0x75ea8['status'](_0x81e831);return _0x75ea8['set'](_0x49c4('0x1b'),_0x141003+'-'+_0x13a2db+'/'+_0x3acd06)[_0x49c4('0x17')](_0x58d177);}return null;};}function patchUpdates(_0x3addb2){return function(_0x59f29b){try{jsonpatch[_0x49c4('0x1c')](_0x59f29b,_0x3addb2,!![]);}catch(_0x50b151){return BPromise[_0x49c4('0x1d')](_0x50b151);}return _0x59f29b[_0x49c4('0x1e')]();};}function saveUpdates(_0xe31fcc,_0x291526){return function(_0x382040){if(_0x382040){return _0x382040[_0x49c4('0x1f')](_0xe31fcc)[_0x49c4('0x20')](function(_0x46e475){return _0x46e475;});}return null;};}function removeEntity(_0x2197d2,_0x578447){return function(_0x527126){if(_0x527126){return _0x527126['destroy']()[_0x49c4('0x20')](function(){_0x2197d2['status'](0xcc)['end']();});}};}function handleEntityNotFound(_0x2263ae,_0x15581b){return function(_0x26c640){if(!_0x26c640){_0x2263ae[_0x49c4('0x14')](0x194);}return _0x26c640;};}function handleError(_0x4811c4,_0x5850f2){_0x5850f2=_0x5850f2||0x1f4;return function(_0x180276){logger[_0x49c4('0x21')](_0x180276['stack']);if(_0x180276[_0x49c4('0x22')]){delete _0x180276[_0x49c4('0x22')];}_0x4811c4[_0x49c4('0x16')](_0x5850f2)[_0x49c4('0x23')](_0x180276);};}exports['show']=function(_0x543ea2,_0x449960){var _0x53c199={'raw':!![],'where':{'id':_0x543ea2[_0x49c4('0x24')]['id']}},_0x3800b7={};_0x3800b7[_0x49c4('0x25')]=_[_0x49c4('0x26')](db['ChatProactiveAction'][_0x49c4('0x27')]);_0x3800b7[_0x49c4('0x28')]=_[_0x49c4('0x26')](_0x543ea2[_0x49c4('0x28')]);_0x3800b7[_0x49c4('0x29')]=_[_0x49c4('0x2a')](_0x3800b7[_0x49c4('0x25')],_0x3800b7[_0x49c4('0x28')]);_0x53c199[_0x49c4('0x2b')]=_[_0x49c4('0x2a')](_0x3800b7[_0x49c4('0x25')],qs['fields'](_0x543ea2['query']['fields']));_0x53c199[_0x49c4('0x2b')]=_0x53c199[_0x49c4('0x2b')][_0x49c4('0x2c')]?_0x53c199[_0x49c4('0x2b')]:_0x3800b7[_0x49c4('0x25')];if(_0x543ea2['query'][_0x49c4('0x2d')]){_0x53c199[_0x49c4('0x2e')]=[{'all':!![]}];}_0x53c199=_[_0x49c4('0x2f')]({},_0x53c199,_0x543ea2[_0x49c4('0x30')]);return db['ChatProactiveAction']['find'](_0x53c199)[_0x49c4('0x20')](handleEntityNotFound(_0x449960,null))[_0x49c4('0x20')](respondWithResult(_0x449960,null))[_0x49c4('0x31')](handleError(_0x449960,null));};exports[_0x49c4('0x32')]=function(_0xd38540,_0x4a0c7a){return db[_0x49c4('0x33')][_0x49c4('0x32')](_0xd38540[_0x49c4('0x34')],{})['then'](respondWithResult(_0x4a0c7a,0xc9))['catch'](handleError(_0x4a0c7a,null));};exports[_0x49c4('0x1f')]=function(_0x1991e9,_0x3bec0a){if(_0x1991e9[_0x49c4('0x34')]['id']){delete _0x1991e9[_0x49c4('0x34')]['id'];}return db[_0x49c4('0x33')][_0x49c4('0x35')]({'where':{'id':_0x1991e9[_0x49c4('0x24')]['id']}})[_0x49c4('0x20')](handleEntityNotFound(_0x3bec0a,null))['then'](saveUpdates(_0x1991e9[_0x49c4('0x34')],null))['then'](respondWithResult(_0x3bec0a,null))[_0x49c4('0x31')](handleError(_0x3bec0a,null));};exports[_0x49c4('0x36')]=function(_0x2625a6,_0x1c2830){return db['ChatProactiveAction'][_0x49c4('0x35')]({'where':{'id':_0x2625a6[_0x49c4('0x24')]['id']}})[_0x49c4('0x20')](handleEntityNotFound(_0x1c2830,null))['then'](removeEntity(_0x1c2830,null))[_0x49c4('0x31')](handleError(_0x1c2830,null));}; \ No newline at end of file diff --git a/server/api/chatProactiveAction/chatProactiveAction.model.js b/server/api/chatProactiveAction/chatProactiveAction.model.js index 36202d9..a5690f8 100644 --- a/server/api/chatProactiveAction/chatProactiveAction.model.js +++ b/server/api/chatProactiveAction/chatProactiveAction.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x582d=['exports','chat_proactive_actions','lodash','util','api','moment','bluebird','path','rimraf','../../config/environment','./chatProactiveAction.attributes'];(function(_0x321bb2,_0x202794){var _0x9c12ed=function(_0x263dd3){while(--_0x263dd3){_0x321bb2['push'](_0x321bb2['shift']());}};_0x9c12ed(++_0x202794);}(_0x582d,0x12b));var _0xd582=function(_0x160086,_0x5342fb){_0x160086=_0x160086-0x0;var _0x169246=_0x582d[_0x160086];return _0x169246;};'use strict';var _=require(_0xd582('0x0'));var util=require(_0xd582('0x1'));var logger=require('../../config/logger')(_0xd582('0x2'));var moment=require(_0xd582('0x3'));var BPromise=require(_0xd582('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xd582('0x5'));var rimraf=require(_0xd582('0x6'));var config=require(_0xd582('0x7'));var attributes=require(_0xd582('0x8'));module[_0xd582('0x9')]=function(_0x5ef558,_0x5537d2){return _0x5ef558['define']('ChatProactiveAction',attributes,{'tableName':_0xd582('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0xf5a6=['chat_proactive_actions','util','../../config/logger','moment','bluebird','request-promise','path','rimraf','./chatProactiveAction.attributes','define'];(function(_0x5e47c1,_0x30c5d7){var _0xe05dcd=function(_0x219670){while(--_0x219670){_0x5e47c1['push'](_0x5e47c1['shift']());}};_0xe05dcd(++_0x30c5d7);}(_0xf5a6,0x6f));var _0x6f5a=function(_0x179bac,_0x124bdb){_0x179bac=_0x179bac-0x0;var _0x47bd8c=_0xf5a6[_0x179bac];return _0x47bd8c;};'use strict';var _=require('lodash');var util=require(_0x6f5a('0x0'));var logger=require(_0x6f5a('0x1'))('api');var moment=require(_0x6f5a('0x2'));var BPromise=require(_0x6f5a('0x3'));var rp=require(_0x6f5a('0x4'));var fs=require('fs');var path=require(_0x6f5a('0x5'));var rimraf=require(_0x6f5a('0x6'));var config=require('../../config/environment');var attributes=require(_0x6f5a('0x7'));module['exports']=function(_0x7700fd,_0x5bc871){return _0x7700fd[_0x6f5a('0x8')]('ChatProactiveAction',attributes,{'tableName':_0x6f5a('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/chatProactiveAction/chatProactiveAction.rpc.js b/server/api/chatProactiveAction/chatProactiveAction.rpc.js index 95e5bdf..050cf5b 100644 --- a/server/api/chatProactiveAction/chatProactiveAction.rpc.js +++ b/server/api/chatProactiveAction/chatProactiveAction.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xc929=['rpc','../../config/environment','request','then','info','request\x20sent','ChatProactiveAction,\x20%s,\x20%s,\x20%s','stringify','error','code','ChatProactiveAction,\x20%s,\x20%s','message','result','catch','lodash','util','moment','randomstring','ioredis','../../mysqldb','../../config/logger'];(function(_0x470476,_0x1e9c7c){var _0x5b94d9=function(_0x2981ba){while(--_0x2981ba){_0x470476['push'](_0x470476['shift']());}};_0x5b94d9(++_0x1e9c7c);}(_0xc929,0x77));var _0x9c92=function(_0x57ceb1,_0x5e7d5a){_0x57ceb1=_0x57ceb1-0x0;var _0x1fed37=_0xc929[_0x57ceb1];return _0x1fed37;};'use strict';var _=require(_0x9c92('0x0'));var util=require(_0x9c92('0x1'));var moment=require(_0x9c92('0x2'));var BPromise=require('bluebird');var rs=require(_0x9c92('0x3'));var fs=require('fs');var Redis=require(_0x9c92('0x4'));var db=require(_0x9c92('0x5'))['db'];var utils=require('../../config/utils');var logger=require(_0x9c92('0x6'))(_0x9c92('0x7'));var config=require(_0x9c92('0x8'));var jayson=require('jayson/promise');var client=jayson['client']['http']({'port':0x232a});function respondWithRpcPromise(_0x252926,_0x2f86d0,_0x5efd25){return new BPromise(function(_0x4c8c8e,_0xd019e1){return client[_0x9c92('0x9')](_0x252926,_0x5efd25)[_0x9c92('0xa')](function(_0x205ecb){logger[_0x9c92('0xb')]('ChatProactiveAction,\x20%s,\x20%s',_0x2f86d0,_0x9c92('0xc'));logger['debug'](_0x9c92('0xd'),_0x2f86d0,_0x9c92('0xc'),JSON[_0x9c92('0xe')](_0x205ecb));if(_0x205ecb[_0x9c92('0xf')]){if(_0x205ecb[_0x9c92('0xf')][_0x9c92('0x10')]===0x1f4){logger['error'](_0x9c92('0x11'),_0x2f86d0,_0x205ecb[_0x9c92('0xf')][_0x9c92('0x12')]);return _0xd019e1(_0x205ecb['error']['message']);}logger[_0x9c92('0xf')](_0x9c92('0x11'),_0x2f86d0,_0x205ecb[_0x9c92('0xf')][_0x9c92('0x12')]);return _0x4c8c8e(_0x205ecb[_0x9c92('0xf')][_0x9c92('0x12')]);}else{logger['info'](_0x9c92('0x11'),_0x2f86d0,_0x9c92('0xc'));_0x4c8c8e(_0x205ecb[_0x9c92('0x13')][_0x9c92('0x12')]);}})[_0x9c92('0x14')](function(_0x36d7ef){logger[_0x9c92('0xf')](_0x9c92('0x11'),_0x2f86d0,_0x36d7ef);_0xd019e1(_0x36d7ef);});});} \ No newline at end of file +var _0x61eb=['moment','bluebird','randomstring','../../mysqldb','../../config/utils','../../config/logger','../../config/environment','http','then','info','ChatProactiveAction,\x20%s,\x20%s','request\x20sent','debug','ChatProactiveAction,\x20%s,\x20%s,\x20%s','error','code','message','catch','lodash','util'];(function(_0x31e412,_0x4cb3be){var _0x422c96=function(_0x17a39e){while(--_0x17a39e){_0x31e412['push'](_0x31e412['shift']());}};_0x422c96(++_0x4cb3be);}(_0x61eb,0x166));var _0xb61e=function(_0x11a4a5,_0x200a3c){_0x11a4a5=_0x11a4a5-0x0;var _0x18ab9e=_0x61eb[_0x11a4a5];return _0x18ab9e;};'use strict';var _=require(_0xb61e('0x0'));var util=require(_0xb61e('0x1'));var moment=require(_0xb61e('0x2'));var BPromise=require(_0xb61e('0x3'));var rs=require(_0xb61e('0x4'));var fs=require('fs');var Redis=require('ioredis');var db=require(_0xb61e('0x5'))['db'];var utils=require(_0xb61e('0x6'));var logger=require(_0xb61e('0x7'))('rpc');var config=require(_0xb61e('0x8'));var jayson=require('jayson/promise');var client=jayson['client'][_0xb61e('0x9')]({'port':0x232a});function respondWithRpcPromise(_0x20d5be,_0x3120c9,_0x4214d7){return new BPromise(function(_0x3a060c,_0x3cd1e0){return client['request'](_0x20d5be,_0x4214d7)[_0xb61e('0xa')](function(_0x34046c){logger[_0xb61e('0xb')](_0xb61e('0xc'),_0x3120c9,_0xb61e('0xd'));logger[_0xb61e('0xe')](_0xb61e('0xf'),_0x3120c9,_0xb61e('0xd'),JSON['stringify'](_0x34046c));if(_0x34046c[_0xb61e('0x10')]){if(_0x34046c[_0xb61e('0x10')][_0xb61e('0x11')]===0x1f4){logger[_0xb61e('0x10')]('ChatProactiveAction,\x20%s,\x20%s',_0x3120c9,_0x34046c[_0xb61e('0x10')][_0xb61e('0x12')]);return _0x3cd1e0(_0x34046c[_0xb61e('0x10')][_0xb61e('0x12')]);}logger[_0xb61e('0x10')](_0xb61e('0xc'),_0x3120c9,_0x34046c[_0xb61e('0x10')][_0xb61e('0x12')]);return _0x3a060c(_0x34046c[_0xb61e('0x10')]['message']);}else{logger[_0xb61e('0xb')](_0xb61e('0xc'),_0x3120c9,_0xb61e('0xd'));_0x3a060c(_0x34046c['result']['message']);}})[_0xb61e('0x13')](function(_0x4a6e8f){logger[_0xb61e('0x10')](_0xb61e('0xc'),_0x3120c9,_0x4a6e8f);_0x3cd1e0(_0x4a6e8f);});});} \ No newline at end of file diff --git a/server/api/chatProactiveAction/index.js b/server/api/chatProactiveAction/index.js index 2f21ea6..c7f0dc1 100644 --- a/server/api/chatProactiveAction/index.js +++ b/server/api/chatProactiveAction/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xfcd4=['Router','../../components/auth/service','../../config/environment','./chatProactiveAction.controller','get','isAuthenticated','show','post','create','put','update','delete','destroy','multer','util','path','connect-timeout','express'];(function(_0x39d0f5,_0x3afab3){var _0x41d452=function(_0x16f77e){while(--_0x16f77e){_0x39d0f5['push'](_0x39d0f5['shift']());}};_0x41d452(++_0x3afab3);}(_0xfcd4,0x1f3));var _0x4fcd=function(_0x5d963e,_0x5edbfe){_0x5d963e=_0x5d963e-0x0;var _0x523c8e=_0xfcd4[_0x5d963e];return _0x523c8e;};'use strict';var multer=require(_0x4fcd('0x0'));var util=require(_0x4fcd('0x1'));var path=require(_0x4fcd('0x2'));var timeout=require(_0x4fcd('0x3'));var express=require(_0x4fcd('0x4'));var router=express[_0x4fcd('0x5')]();var auth=require(_0x4fcd('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x4fcd('0x7'));var controller=require(_0x4fcd('0x8'));router[_0x4fcd('0x9')]('/:id',auth[_0x4fcd('0xa')](),controller[_0x4fcd('0xb')]);router[_0x4fcd('0xc')]('/',auth[_0x4fcd('0xa')](),controller[_0x4fcd('0xd')]);router[_0x4fcd('0xe')]('/:id',auth['isAuthenticated'](),controller[_0x4fcd('0xf')]);router[_0x4fcd('0x10')]('/:id',auth['isAuthenticated'](),controller[_0x4fcd('0x11')]);module['exports']=router; \ No newline at end of file +var _0x3098=['/:id','show','post','isAuthenticated','create','put','destroy','multer','util','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatProactiveAction.controller','get'];(function(_0x5ab513,_0x29f3e2){var _0x19a52c=function(_0x269c9e){while(--_0x269c9e){_0x5ab513['push'](_0x5ab513['shift']());}};_0x19a52c(++_0x29f3e2);}(_0x3098,0x117));var _0x8309=function(_0x5ca5bc,_0x5b8a9d){_0x5ca5bc=_0x5ca5bc-0x0;var _0x26ca86=_0x3098[_0x5ca5bc];return _0x26ca86;};'use strict';var multer=require(_0x8309('0x0'));var util=require(_0x8309('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x8309('0x2'));var router=express[_0x8309('0x3')]();var auth=require(_0x8309('0x4'));var interaction=require(_0x8309('0x5'));var config=require(_0x8309('0x6'));var controller=require(_0x8309('0x7'));router[_0x8309('0x8')](_0x8309('0x9'),auth['isAuthenticated'](),controller[_0x8309('0xa')]);router[_0x8309('0xb')]('/',auth[_0x8309('0xc')](),controller[_0x8309('0xd')]);router[_0x8309('0xe')](_0x8309('0x9'),auth[_0x8309('0xc')](),controller['update']);router['delete'](_0x8309('0x9'),auth['isAuthenticated'](),controller[_0x8309('0xf')]);module['exports']=router; \ No newline at end of file diff --git a/server/api/chatQueue/chatQueue.attributes.js b/server/api/chatQueue/chatQueue.attributes.js index 84e314d..7a85883 100644 --- a/server/api/chatQueue/chatQueue.attributes.js +++ b/server/api/chatQueue/chatQueue.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xa779=['INTEGER','beepall','roundrobin','sequelize','STRING','name'];(function(_0x393134,_0x27b81b){var _0x1363a4=function(_0x2cd2ea){while(--_0x2cd2ea){_0x393134['push'](_0x393134['shift']());}};_0x1363a4(++_0x27b81b);}(_0xa779,0x18f));var _0x9a77=function(_0x14f03a,_0x535e05){_0x14f03a=_0x14f03a-0x0;var _0x2f2386=_0xa779[_0x14f03a];return _0x2f2386;};'use strict';var Sequelize=require(_0x9a77('0x0'));module['exports']={'name':{'type':Sequelize[_0x9a77('0x1')],'unique':_0x9a77('0x2'),'allowNull':![],'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize[_0x9a77('0x1')]},'timeout':{'type':Sequelize[_0x9a77('0x3')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize['ENUM']('rrmemory',_0x9a77('0x4'),_0x9a77('0x5'))}}; \ No newline at end of file +var _0x64e2=['beepall','roundrobin','sequelize','STRING','ENUM'];(function(_0x5a79e2,_0x319b1a){var _0x266c45=function(_0x172478){while(--_0x172478){_0x5a79e2['push'](_0x5a79e2['shift']());}};_0x266c45(++_0x319b1a);}(_0x64e2,0x1ba));var _0x264e=function(_0x408171,_0x308f69){_0x408171=_0x408171-0x0;var _0x84660=_0x64e2[_0x408171];return _0x84660;};'use strict';var Sequelize=require(_0x264e('0x0'));module['exports']={'name':{'type':Sequelize['STRING'],'unique':'name','allowNull':![],'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize[_0x264e('0x1')]},'timeout':{'type':Sequelize['INTEGER'],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize[_0x264e('0x2')]('rrmemory',_0x264e('0x3'),_0x264e('0x4'))}}; \ No newline at end of file diff --git a/server/api/chatQueue/chatQueue.controller.js b/server/api/chatQueue/chatQueue.controller.js index 09849e8..65c5a6f 100644 --- a/server/api/chatQueue/chatQueue.controller.js +++ b/server/api/chatQueue/chatQueue.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xcae3=['UserChatQueue','User','findAndCountAll','UserId','chatPause','updatedAt','createdAt','format','%s/%s','SIP','findOne','getTeams','ids','Team','online','voicePause','interface','transaction','each','findOrCreate','forEach','emit','userChatQueue:save','removeTeams','Agents','select','field','tq.TeamId','from','join','user_has_teams','clone','ut.UserId\x20=\x20?','push','toString','sequelize','SELECT','every','includes','all','compact','value','userChatQueue:remove','addAgents','omit','removeAgents','isArray','getAgents','html-pdf','eml-format','rimraf','request-promise','moment','mustache','util','path','sox','to-csv','ejs','lodash','squel','crypto','jsforce','querystring','papaparse','../../components/parsers/qs','../../config/license/hardware','../../config/environment','../../mysqldb','redis','defaults','localhost','socket.io-emitter','register','http','Sequelize','ValidationError','The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.','request','then','info','ChatQueue,\x20%s,\x20%s','debug','request\x20sent','code','error','message','catch','sendStatus','end','status','json','count','offset','set','Content-Range','apply','reject','destroy','get','UserProfileResource','stack','name','send','index','map','ChatQueue','model','query','keys','filters','intersection','attributes','fields','length','hasOwnProperty','nolimit','limit','order','sort','pick','filter','where','type','VIRTUAL','options','include','findAll','rows','show','rawAttributes','merge','create','body','Unable\x20to\x20retrieve\x20the\x20current\x20user','role','user','ChatQueues','UserProfileSection','userProfileId','autoAssociation','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','update','params','find','describe','ChatQueueId'];(function(_0x5cdacf,_0x7c82b1){var _0xa68a8b=function(_0x4b3818){while(--_0x4b3818){_0x5cdacf['push'](_0x5cdacf['shift']());}};_0xa68a8b(++_0x7c82b1);}(_0xcae3,0x156));var _0x3cae=function(_0x3b380d,_0x4bf247){_0x3b380d=_0x3b380d-0x0;var _0x54502b=_0xcae3[_0x3b380d];return _0x54502b;};'use strict';var pdf=require(_0x3cae('0x0'));var emlformat=require(_0x3cae('0x1'));var rimraf=require(_0x3cae('0x2'));var zipdir=require('zip-dir');var jsonpatch=require('fast-json-patch');var rp=require(_0x3cae('0x3'));var moment=require(_0x3cae('0x4'));var BPromise=require('bluebird');var Mustache=require(_0x3cae('0x5'));var util=require(_0x3cae('0x6'));var path=require(_0x3cae('0x7'));var sox=require(_0x3cae('0x8'));var csv=require(_0x3cae('0x9'));var ejs=require(_0x3cae('0xa'));var fs=require('fs');var _=require(_0x3cae('0xb'));var squel=require(_0x3cae('0xc'));var crypto=require(_0x3cae('0xd'));var jsforce=require(_0x3cae('0xe'));var deskjs=require('desk.js');var toCsv=require(_0x3cae('0x9'));var querystring=require(_0x3cae('0xf'));var Papa=require(_0x3cae('0x10'));var Redis=require('ioredis');var authService=require('../../components/auth/service');var qs=require(_0x3cae('0x11'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0x3cae('0x12'));var logger=require('../../config/logger')('api');var utils=require('../../config/utils');var config=require(_0x3cae('0x13'));var db=require(_0x3cae('0x14'))['db'];config[_0x3cae('0x15')]=_[_0x3cae('0x16')](config[_0x3cae('0x15')],{'host':_0x3cae('0x17'),'port':0x18eb});var socket=require(_0x3cae('0x18'))(new Redis(config[_0x3cae('0x15')]));require('./chatQueue.socket')[_0x3cae('0x19')](socket);var jayson=require('jayson/promise');var client=jayson['client'][_0x3cae('0x1a')]({'port':0x232a});function checkPasswordPattern(_0x26d6b5,_0xbc5bdc,_0x16c431){if(_0x16c431){var _0x17bd9a=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0x17bd9a['test'](_0xbc5bdc)){return _0x26d6b5;}else{throw new db[(_0x3cae('0x1b'))][(_0x3cae('0x1c'))](_0x3cae('0x1d'));}}else{return _0x26d6b5;}}function respondWithRpcPromise(_0x393d72,_0x29b611,_0x52e4d2,_0x5db8b4){return new BPromise(function(_0x588e35,_0x368d2d){var _0x47a657=_0x5db8b4||client;return _0x47a657[_0x3cae('0x1e')](_0x393d72,_0x52e4d2)[_0x3cae('0x1f')](function(_0x19b954){logger[_0x3cae('0x20')](_0x3cae('0x21'),_0x29b611,'request\x20sent');logger[_0x3cae('0x22')]('ChatQueue,\x20%s,\x20%s,\x20%s',_0x29b611,_0x3cae('0x23'),JSON['stringify'](_0x19b954));if(_0x19b954['error']){if(_0x19b954['error'][_0x3cae('0x24')]===0x1f4){logger['error']('ChatQueue,\x20%s,\x20%s',_0x29b611,_0x19b954[_0x3cae('0x25')][_0x3cae('0x26')]);return _0x368d2d(_0x19b954[_0x3cae('0x25')][_0x3cae('0x26')]);}logger[_0x3cae('0x25')](_0x3cae('0x21'),_0x29b611,_0x19b954[_0x3cae('0x25')][_0x3cae('0x26')]);return _0x588e35(_0x19b954[_0x3cae('0x25')][_0x3cae('0x26')]);}else{logger[_0x3cae('0x20')]('ChatQueue,\x20%s,\x20%s',_0x29b611,_0x3cae('0x23'));_0x588e35(_0x19b954['result'][_0x3cae('0x26')]);}})[_0x3cae('0x27')](function(_0x591bd6){logger[_0x3cae('0x25')](_0x3cae('0x21'),_0x29b611,_0x591bd6);_0x368d2d(_0x591bd6);});});}function respondWithStatusCode(_0x115fac,_0x2f6de5){_0x2f6de5=_0x2f6de5||0xcc;return function(_0x2a59d0){if(_0x2a59d0){return _0x115fac[_0x3cae('0x28')](_0x2f6de5);}return _0x115fac['status'](_0x2f6de5)[_0x3cae('0x29')]();};}function respondWithResult(_0x33bd51,_0x5a019f){_0x5a019f=_0x5a019f||0xc8;return function(_0x31fedf){if(_0x31fedf){return _0x33bd51[_0x3cae('0x2a')](_0x5a019f)[_0x3cae('0x2b')](_0x31fedf);}};}function respondWithFilteredResult(_0x5f154e,_0x6e51f6){return function(_0x2a66bf){if(_0x2a66bf){var _0x50e6f3=_0x2a66bf[_0x3cae('0x2c')],_0x20038b=_0x6e51f6[_0x3cae('0x2d')],_0x52b48e=_0x6e51f6[_0x3cae('0x2d')]+_0x6e51f6['limit'],_0x5cf479;if(_0x52b48e>=_0x50e6f3){_0x52b48e=_0x50e6f3;_0x5cf479=0xc8;}else{_0x5cf479=0xce;}_0x5f154e['status'](_0x5cf479);return _0x5f154e[_0x3cae('0x2e')](_0x3cae('0x2f'),_0x20038b+'-'+_0x52b48e+'/'+_0x50e6f3)[_0x3cae('0x2b')](_0x2a66bf);}return null;};}function patchUpdates(_0xa86365){return function(_0x5233fa){try{jsonpatch[_0x3cae('0x30')](_0x5233fa,_0xa86365,!![]);}catch(_0x5a03d2){return BPromise[_0x3cae('0x31')](_0x5a03d2);}return _0x5233fa['save']();};}function saveUpdates(_0x34ce05,_0x233360){return function(_0x3d9d49){if(_0x3d9d49){return _0x3d9d49['update'](_0x34ce05)['then'](function(_0x5a1b8a){return _0x5a1b8a;});}return null;};}function removeEntity(_0x2a2e57,_0x121af1){return function(_0xb6ce14){if(_0xb6ce14){return _0xb6ce14[_0x3cae('0x32')]()[_0x3cae('0x1f')](function(){var _0x43b6a1=_0xb6ce14[_0x3cae('0x33')]({'plain':!![]});var _0x5a612c='ChatQueues';return db[_0x3cae('0x34')][_0x3cae('0x32')]({'where':{'type':_0x5a612c,'resourceId':_0x43b6a1['id']}})[_0x3cae('0x1f')](function(){return _0xb6ce14;});})[_0x3cae('0x1f')](function(){_0x2a2e57['status'](0xcc)[_0x3cae('0x29')]();});}};}function handleEntityNotFound(_0x4f326a,_0x347e96){return function(_0x3b18aa){if(!_0x3b18aa){_0x4f326a[_0x3cae('0x28')](0x194);}return _0x3b18aa;};}function handleError(_0x292bd6,_0x25d467){_0x25d467=_0x25d467||0x1f4;return function(_0x1d6385){logger[_0x3cae('0x25')](_0x1d6385[_0x3cae('0x35')]);if(_0x1d6385[_0x3cae('0x36')]){delete _0x1d6385['name'];}_0x292bd6[_0x3cae('0x2a')](_0x25d467)[_0x3cae('0x37')](_0x1d6385);};}exports[_0x3cae('0x38')]=function(_0x2597b4,_0x1c4ca9){var _0x21fb13={},_0x3e0162={},_0x514f6f={'count':0x0,'rows':[]};var _0x2935a0=_[_0x3cae('0x39')](db[_0x3cae('0x3a')]['rawAttributes'],function(_0x1b0fe6){return{'name':_0x1b0fe6['fieldName'],'type':_0x1b0fe6['type']['key']};});_0x3e0162[_0x3cae('0x3b')]=_[_0x3cae('0x39')](_0x2935a0,'name');_0x3e0162[_0x3cae('0x3c')]=_[_0x3cae('0x3d')](_0x2597b4['query']);_0x3e0162[_0x3cae('0x3e')]=_[_0x3cae('0x3f')](_0x3e0162['model'],_0x3e0162['query']);_0x21fb13[_0x3cae('0x40')]=_[_0x3cae('0x3f')](_0x3e0162[_0x3cae('0x3b')],qs[_0x3cae('0x41')](_0x2597b4['query'][_0x3cae('0x41')]));_0x21fb13[_0x3cae('0x40')]=_0x21fb13[_0x3cae('0x40')][_0x3cae('0x42')]?_0x21fb13[_0x3cae('0x40')]:_0x3e0162[_0x3cae('0x3b')];if(!_0x2597b4['query'][_0x3cae('0x43')](_0x3cae('0x44'))){_0x21fb13[_0x3cae('0x45')]=qs['limit'](_0x2597b4[_0x3cae('0x3c')]['limit']);_0x21fb13[_0x3cae('0x2d')]=qs[_0x3cae('0x2d')](_0x2597b4['query'][_0x3cae('0x2d')]);}_0x21fb13[_0x3cae('0x46')]=qs[_0x3cae('0x47')](_0x2597b4[_0x3cae('0x3c')][_0x3cae('0x47')]);_0x21fb13['where']=qs['filters'](_[_0x3cae('0x48')](_0x2597b4[_0x3cae('0x3c')],_0x3e0162['filters']),_0x2935a0);if(_0x2597b4['query'][_0x3cae('0x49')]){_0x21fb13[_0x3cae('0x4a')]=_['merge'](_0x21fb13['where'],{'$or':_[_0x3cae('0x39')](_0x2935a0,function(_0x141526){if(_0x141526[_0x3cae('0x4b')]!==_0x3cae('0x4c')){var _0x41d76b={};_0x41d76b[_0x141526[_0x3cae('0x36')]]={'$like':'%'+_0x2597b4[_0x3cae('0x3c')][_0x3cae('0x49')]+'%'};return _0x41d76b;}})});}_0x21fb13=_['merge']({},_0x21fb13,_0x2597b4[_0x3cae('0x4d')]);var _0x95db00={'where':_0x21fb13[_0x3cae('0x4a')]};return db[_0x3cae('0x3a')]['count'](_0x95db00)['then'](function(_0x16de36){_0x514f6f[_0x3cae('0x2c')]=_0x16de36;if(_0x2597b4[_0x3cae('0x3c')]['includeAll']){_0x21fb13[_0x3cae('0x4e')]=[{'all':!![]}];}return db[_0x3cae('0x3a')][_0x3cae('0x4f')](_0x21fb13);})[_0x3cae('0x1f')](function(_0x5169d2){_0x514f6f[_0x3cae('0x50')]=_0x5169d2;return _0x514f6f;})[_0x3cae('0x1f')](respondWithFilteredResult(_0x1c4ca9,_0x21fb13))[_0x3cae('0x27')](handleError(_0x1c4ca9,null));};exports[_0x3cae('0x51')]=function(_0x17dca1,_0x2d57f3){var _0x47a33d={'raw':!![],'where':{'id':_0x17dca1['params']['id']}},_0x55d0fb={};_0x55d0fb[_0x3cae('0x3b')]=_[_0x3cae('0x3d')](db[_0x3cae('0x3a')][_0x3cae('0x52')]);_0x55d0fb[_0x3cae('0x3c')]=_[_0x3cae('0x3d')](_0x17dca1[_0x3cae('0x3c')]);_0x55d0fb[_0x3cae('0x3e')]=_[_0x3cae('0x3f')](_0x55d0fb[_0x3cae('0x3b')],_0x55d0fb[_0x3cae('0x3c')]);_0x47a33d[_0x3cae('0x40')]=_[_0x3cae('0x3f')](_0x55d0fb[_0x3cae('0x3b')],qs['fields'](_0x17dca1['query'][_0x3cae('0x41')]));_0x47a33d['attributes']=_0x47a33d[_0x3cae('0x40')][_0x3cae('0x42')]?_0x47a33d[_0x3cae('0x40')]:_0x55d0fb[_0x3cae('0x3b')];if(_0x17dca1[_0x3cae('0x3c')]['includeAll']){_0x47a33d[_0x3cae('0x4e')]=[{'all':!![]}];}_0x47a33d=_[_0x3cae('0x53')]({},_0x47a33d,_0x17dca1[_0x3cae('0x4d')]);return db[_0x3cae('0x3a')]['find'](_0x47a33d)[_0x3cae('0x1f')](handleEntityNotFound(_0x2d57f3,null))[_0x3cae('0x1f')](respondWithResult(_0x2d57f3,null))[_0x3cae('0x27')](handleError(_0x2d57f3,null));};exports[_0x3cae('0x54')]=function(_0x3b4c53,_0x33bb79){return db[_0x3cae('0x3a')][_0x3cae('0x54')](_0x3b4c53[_0x3cae('0x55')],{})[_0x3cae('0x1f')](function(_0x1a941e){var _0x488a6a=_0x3b4c53['user'][_0x3cae('0x33')]({'plain':!![]});if(!_0x488a6a)throw new Error(_0x3cae('0x56'));if(_0x488a6a[_0x3cae('0x57')]===_0x3cae('0x58')){var _0x33e801=_0x1a941e[_0x3cae('0x33')]({'plain':!![]});var _0x100ee6=_0x3cae('0x59');return db[_0x3cae('0x5a')]['find']({'where':{'name':_0x100ee6,'userProfileId':_0x488a6a[_0x3cae('0x5b')]},'raw':!![]})[_0x3cae('0x1f')](function(_0x1ef618){if(_0x1ef618&&_0x1ef618[_0x3cae('0x5c')]===0x0){return db['UserProfileResource'][_0x3cae('0x54')]({'name':_0x33e801[_0x3cae('0x36')],'resourceId':_0x33e801['id'],'type':_0x1ef618[_0x3cae('0x36')],'sectionId':_0x1ef618['id']},{})[_0x3cae('0x1f')](function(){return _0x1a941e;});}else{return _0x1a941e;}})[_0x3cae('0x27')](function(_0x5a809a){logger[_0x3cae('0x25')](_0x3cae('0x5d'),_0x5a809a);throw _0x5a809a;});}return _0x1a941e;})['then'](respondWithResult(_0x33bb79,0xc9))[_0x3cae('0x27')](handleError(_0x33bb79,null));};exports[_0x3cae('0x5e')]=function(_0xc14020,_0x2b22d7){if(_0xc14020[_0x3cae('0x55')]['id']){delete _0xc14020[_0x3cae('0x55')]['id'];}return db[_0x3cae('0x3a')]['find']({'where':{'id':_0xc14020[_0x3cae('0x5f')]['id']}})['then'](handleEntityNotFound(_0x2b22d7,null))[_0x3cae('0x1f')](saveUpdates(_0xc14020[_0x3cae('0x55')],null))['then'](respondWithResult(_0x2b22d7,null))[_0x3cae('0x27')](handleError(_0x2b22d7,null));};exports[_0x3cae('0x32')]=function(_0x36cfcd,_0x3fc9ad){return db[_0x3cae('0x3a')][_0x3cae('0x60')]({'where':{'id':_0x36cfcd[_0x3cae('0x5f')]['id']}})[_0x3cae('0x1f')](handleEntityNotFound(_0x3fc9ad,null))['then'](removeEntity(_0x3fc9ad,null))[_0x3cae('0x27')](handleError(_0x3fc9ad,null));};exports[_0x3cae('0x61')]=function(_0xe63627,_0xf8b043){return db[_0x3cae('0x3a')][_0x3cae('0x61')]()[_0x3cae('0x1f')](respondWithResult(_0xf8b043,null))[_0x3cae('0x27')](handleError(_0xf8b043,null));};exports['getMembers']=function(_0x5187ef,_0x597c2f,_0x3eda6b){var _0x5ae9b5={'raw':!![],'where':{}},_0xb1ed7c={},_0x113314;return db['ChatQueue']['findOne']({'where':{'id':_0x5187ef['params']['id']}})[_0x3cae('0x1f')](handleEntityNotFound(_0x597c2f,null))[_0x3cae('0x1f')](function(_0x3c47cc){if(_0x3c47cc){_0x113314=_0x3c47cc[_0x3cae('0x33')]({'plain':!![]});_0xb1ed7c['model']=_[_0x3cae('0x3d')](db['UserChatQueue']['rawAttributes']);_0xb1ed7c['query']=_[_0x3cae('0x3d')](_0x5187ef[_0x3cae('0x3c')]);_0xb1ed7c[_0x3cae('0x3e')]=_[_0x3cae('0x3f')](_0xb1ed7c[_0x3cae('0x3b')],_0xb1ed7c['query']);_0x5ae9b5[_0x3cae('0x40')]=_[_0x3cae('0x3f')](_0xb1ed7c[_0x3cae('0x3b')],qs[_0x3cae('0x41')](_0x5187ef['query'][_0x3cae('0x41')]));_0x5ae9b5[_0x3cae('0x40')]=_0x5ae9b5[_0x3cae('0x40')][_0x3cae('0x42')]?_0x5ae9b5[_0x3cae('0x40')]:_0xb1ed7c[_0x3cae('0x3b')];if(!_0x5187ef['query']['hasOwnProperty'](_0x3cae('0x44'))){_0x5ae9b5[_0x3cae('0x45')]=qs[_0x3cae('0x45')](_0x5187ef[_0x3cae('0x3c')][_0x3cae('0x45')]);_0x5ae9b5[_0x3cae('0x2d')]=qs['offset'](_0x5187ef['query'][_0x3cae('0x2d')]);}_0x5ae9b5[_0x3cae('0x46')]=qs[_0x3cae('0x47')](_0x5187ef[_0x3cae('0x3c')][_0x3cae('0x47')]);_0x5ae9b5['where']=qs[_0x3cae('0x3e')](_['pick'](_0x5187ef['query'],_0xb1ed7c[_0x3cae('0x3e')]));_0x5ae9b5[_0x3cae('0x4a')][_0x3cae('0x62')]=_0x3c47cc['id'];if(_0x5187ef[_0x3cae('0x3c')][_0x3cae('0x49')]){_0x5ae9b5['where']=_[_0x3cae('0x53')](_0x5ae9b5[_0x3cae('0x4a')],{'$or':_['map'](_0x5ae9b5[_0x3cae('0x40')],function(_0xf8a52a){var _0x3c88fd={};_0x3c88fd[_0xf8a52a]={'$like':'%'+_0x5187ef[_0x3cae('0x3c')][_0x3cae('0x49')]+'%'};return _0x3c88fd;})});}_0x5ae9b5=_[_0x3cae('0x53')]({},_0x5ae9b5,_0x5187ef[_0x3cae('0x4d')]);return db[_0x3cae('0x63')][_0x3cae('0x4f')](_0x5ae9b5);}})[_0x3cae('0x1f')](function(_0xc6a28f){if(_0xc6a28f){return db[_0x3cae('0x64')][_0x3cae('0x65')]({'where':{'id':_[_0x3cae('0x39')](_0xc6a28f,_0x3cae('0x66')),'role':'agent'},'attributes':['id',_0x3cae('0x36'),_0x3cae('0x67'),_0x3cae('0x68'),_0x3cae('0x69')]});}})[_0x3cae('0x1f')](function(_0x398935){if(_0x398935){return{'count':_0x398935['count'],'rows':_[_0x3cae('0x39')](_0x398935[_0x3cae('0x50')],function(_0x406512){return{'membername':_0x406512['name'],'UserId':_0x406512['id'],'queue_name':_0x113314[_0x3cae('0x36')],'ChatQueueId':_0x113314['id'],'interface':util[_0x3cae('0x6a')](_0x3cae('0x6b'),_0x3cae('0x6c'),_0x406512[_0x3cae('0x36')]),'penalty':0x0,'paused':_0x406512[_0x3cae('0x67')],'createdAt':_0x406512[_0x3cae('0x69')],'updatedAt':_0x406512['updatedAt']};})};}else{return{'count':0x0,'rows':[]};}})[_0x3cae('0x1f')](respondWithFilteredResult(_0x597c2f,_0x5ae9b5))[_0x3cae('0x27')](handleError(_0x597c2f,null));};exports['getTeams']=function(_0x1c9bbe,_0x487cf7,_0xce0ea6){var _0x450a04={};var _0x8a4127={};var _0x119f56;var _0x531712;return db[_0x3cae('0x3a')][_0x3cae('0x6d')]({'where':{'id':_0x1c9bbe[_0x3cae('0x5f')]['id']}})[_0x3cae('0x1f')](handleEntityNotFound(_0x487cf7,null))[_0x3cae('0x1f')](function(_0x3981ba){if(_0x3981ba){_0x119f56=_0x3981ba;_0x8a4127[_0x3cae('0x3b')]=_[_0x3cae('0x3d')](db['Team'][_0x3cae('0x52')]);_0x8a4127[_0x3cae('0x3c')]=_['keys'](_0x1c9bbe[_0x3cae('0x3c')]);_0x8a4127[_0x3cae('0x3e')]=_[_0x3cae('0x3f')](_0x8a4127[_0x3cae('0x3b')],_0x8a4127[_0x3cae('0x3c')]);_0x450a04[_0x3cae('0x40')]=_[_0x3cae('0x3f')](_0x8a4127[_0x3cae('0x3b')],qs['fields'](_0x1c9bbe[_0x3cae('0x3c')][_0x3cae('0x41')]));_0x450a04['attributes']=_0x450a04[_0x3cae('0x40')]['length']?_0x450a04[_0x3cae('0x40')]:_0x8a4127['model'];_0x450a04['order']=qs[_0x3cae('0x47')](_0x1c9bbe['query'][_0x3cae('0x47')]);_0x450a04[_0x3cae('0x4a')]=qs[_0x3cae('0x3e')](_[_0x3cae('0x48')](_0x1c9bbe['query'],_0x8a4127[_0x3cae('0x3e')]));if(_0x1c9bbe['query'][_0x3cae('0x49')]){_0x450a04['where']=_[_0x3cae('0x53')](_0x450a04[_0x3cae('0x4a')],{'$or':_[_0x3cae('0x39')](_0x450a04['attributes'],function(_0x2b9892){var _0x2e4197={};_0x2e4197[_0x2b9892]={'$like':'%'+_0x1c9bbe[_0x3cae('0x3c')][_0x3cae('0x49')]+'%'};return _0x2e4197;})});}_0x450a04=_['merge']({},_0x450a04,_0x1c9bbe[_0x3cae('0x4d')]);return _0x119f56[_0x3cae('0x6e')](_0x450a04);}})[_0x3cae('0x1f')](function(_0x3e2d3f){if(_0x3e2d3f){_0x531712=_0x3e2d3f['length'];if(!_0x1c9bbe[_0x3cae('0x3c')][_0x3cae('0x43')]('nolimit')){_0x450a04['limit']=qs[_0x3cae('0x45')](_0x1c9bbe['query'][_0x3cae('0x45')]);_0x450a04[_0x3cae('0x2d')]=qs[_0x3cae('0x2d')](_0x1c9bbe['query'][_0x3cae('0x2d')]);}return _0x119f56['getTeams'](_0x450a04);}})[_0x3cae('0x1f')](function(_0x2ef1c6){if(_0x2ef1c6){return _0x2ef1c6?{'count':_0x531712,'rows':_0x2ef1c6}:null;}})[_0x3cae('0x1f')](respondWithResult(_0x487cf7,null))[_0x3cae('0x27')](handleError(_0x487cf7,null));};exports['addTeams']=function(_0x4df53d,_0x2d6eba,_0x14f2f5){var _0xaa6f53=_0x4df53d[_0x3cae('0x55')][_0x3cae('0x6f')];return db[_0x3cae('0x70')][_0x3cae('0x4f')]({'where':{'id':_0xaa6f53},'attributes':['id'],'include':[{'model':db[_0x3cae('0x64')],'as':'Agents','attributes':['id',_0x3cae('0x36'),_0x3cae('0x71'),_0x3cae('0x72'),_0x3cae('0x73')],'raw':!![]}]})['then'](function(_0x2c0f3f){if(_0x2c0f3f){var _0x513ba9=_['flatMap'](_0x2c0f3f,function(_0xa64e){var _0x19163d=_0xa64e[_0x3cae('0x33')]({'plain':!![]});return _0x19163d['Agents'];});return db['ChatQueue'][_0x3cae('0x60')]({'where':{'id':_0x4df53d[_0x3cae('0x5f')]['id']}})[_0x3cae('0x1f')](function(_0x5367d8){return db['sequelize'][_0x3cae('0x74')](function(_0x3ffe3c){return _0x5367d8['addTeams'](_0xaa6f53,{'transaction':_0x3ffe3c})[_0x3cae('0x1f')](function(){return BPromise[_0x3cae('0x75')](_0x513ba9,function(_0x231c4c){return db[_0x3cae('0x63')][_0x3cae('0x76')]({'where':{'UserId':_0x231c4c['id'],'ChatQueueId':_0x4df53d[_0x3cae('0x5f')]['id']},'transaction':_0x3ffe3c});});})[_0x3cae('0x1f')](function(){_0x513ba9[_0x3cae('0x77')](function(_0x2898b8){socket[_0x3cae('0x78')](_0x3cae('0x79'),{'UserId':_0x2898b8['id'],'ChatQueueId':_0x5367d8['id']});});});});});}})[_0x3cae('0x1f')](respondWithStatusCode(_0x2d6eba,null))[_0x3cae('0x27')](handleError(_0x2d6eba,null));};exports[_0x3cae('0x7a')]=function(_0x59cb67,_0x32c777,_0x56c93c){return db[_0x3cae('0x70')][_0x3cae('0x4f')]({'where':{'id':_0x59cb67['query'][_0x3cae('0x6f')]},'attributes':['id'],'include':[{'model':db[_0x3cae('0x64')],'as':_0x3cae('0x7b'),'attributes':['id'],'raw':!![]}]})['then'](handleEntityNotFound(_0x32c777,null))[_0x3cae('0x1f')](function(_0x53c7b7){var _0x178e18=_[_0x3cae('0x39')](_0x53c7b7,'id');var _0x4dffe3=[];var _0x108570=[];var _0x2e39c9=squel[_0x3cae('0x7c')]();_0x2e39c9[_0x3cae('0x7d')](_0x3cae('0x7e'))[_0x3cae('0x7f')]('team_has_chat_queues','tq')[_0x3cae('0x80')](_0x3cae('0x81'),'ut','ut.TeamId\x20=\x20tq.TeamId')[_0x3cae('0x4a')]('ChatQueueId\x20=\x20?',_0x59cb67[_0x3cae('0x5f')]['id']);for(var _0x306bc3=0x0;_0x306bc3<_0x53c7b7[_0x3cae('0x42')];_0x306bc3+=0x1){let _0x362c6e=_0x53c7b7[_0x306bc3];for(var _0xcdd4f=0x0;_0xcdd4f<_0x362c6e['Agents'][_0x3cae('0x42')];_0xcdd4f+=0x1){let _0x321191=_0x362c6e[_0x3cae('0x7b')][_0xcdd4f];var _0x5689a8=_0x2e39c9[_0x3cae('0x82')]();_0x5689a8[_0x3cae('0x4a')](_0x3cae('0x83'),_0x321191['id']);_0x108570[_0x3cae('0x84')](db['sequelize'][_0x3cae('0x3c')](_0x5689a8[_0x3cae('0x85')](),{'type':db[_0x3cae('0x86')]['QueryTypes'][_0x3cae('0x87')]})['then'](function(_0x7e0f48){if(_0x7e0f48[_0x3cae('0x42')]===0x1){return _0x321191['id'];}else{var _0x692c67=_[_0x3cae('0x88')](_[_0x3cae('0x39')](_0x7e0f48,'TeamId'),function(_0x4f8488){return _[_0x3cae('0x89')](_0x178e18,_0x4f8488);});if(_0x692c67){return _0x321191['id'];}}}));}}return BPromise[_0x3cae('0x8a')](_0x108570)[_0x3cae('0x1f')](function(_0x5ab99e){_0x4dffe3=_(_0x4dffe3)['union'](_0x5ab99e)[_0x3cae('0x8b')]()[_0x3cae('0x8c')]();return db['ChatQueue']['find']({'where':{'id':_0x59cb67[_0x3cae('0x5f')]['id']}})[_0x3cae('0x1f')](function(_0x222ae9){return db[_0x3cae('0x86')]['transaction'](function(_0x41c158){return _0x222ae9['removeTeams'](_0x59cb67[_0x3cae('0x3c')]['ids'],{'transaction':_0x41c158})[_0x3cae('0x1f')](function(){if(!_['isEmpty'](_0x4dffe3)){return _0x222ae9['removeAgents'](_0x4dffe3,{'transaction':_0x41c158});}})[_0x3cae('0x1f')](function(){_0x4dffe3[_0x3cae('0x77')](function(_0x32be94){socket[_0x3cae('0x78')](_0x3cae('0x8d'),{'UserId':_0x32be94,'ChatQueueId':_0x222ae9['id']});});});});});});})['then'](respondWithStatusCode(_0x32c777,null))[_0x3cae('0x27')](handleError(_0x32c777,null));};exports['addAgents']=function(_0x2b0125,_0x1bc337,_0x4210e7){return db[_0x3cae('0x3a')][_0x3cae('0x60')]({'where':{'id':_0x2b0125[_0x3cae('0x5f')]['id']}})[_0x3cae('0x1f')](handleEntityNotFound(_0x1bc337,null))[_0x3cae('0x1f')](function(_0x501a7c){if(_0x501a7c){return _0x501a7c[_0x3cae('0x8e')](_0x2b0125[_0x3cae('0x55')]['ids'],_[_0x3cae('0x8f')](_0x2b0125['body'],[_0x3cae('0x6f'),'id'])||{})['spread'](function(_0x59d2d4){for(var _0x57cd9e=0x0;_0x57cd9e<_0x2b0125[_0x3cae('0x55')][_0x3cae('0x6f')][_0x3cae('0x42')];_0x57cd9e+=0x1){socket[_0x3cae('0x78')](_0x3cae('0x79'),{'UserId':_0x2b0125[_0x3cae('0x55')]['ids'][_0x57cd9e],'ChatQueueId':_0x2b0125['params']['id']});}return _0x59d2d4;});}})['then'](respondWithResult(_0x1bc337,null))[_0x3cae('0x27')](handleError(_0x1bc337,null));};exports[_0x3cae('0x90')]=function(_0x1360e2,_0x38a59b,_0x58c811){return db[_0x3cae('0x3a')][_0x3cae('0x60')]({'where':{'id':_0x1360e2[_0x3cae('0x5f')]['id']}})[_0x3cae('0x1f')](handleEntityNotFound(_0x38a59b,null))[_0x3cae('0x1f')](function(_0x18150b){if(_0x18150b){return _0x18150b[_0x3cae('0x90')](_0x1360e2[_0x3cae('0x3c')]['ids'])[_0x3cae('0x1f')](function(){if(_[_0x3cae('0x91')](_0x1360e2['query'][_0x3cae('0x6f')])){for(var _0x113261=0x0;_0x113261<_0x1360e2[_0x3cae('0x3c')][_0x3cae('0x6f')]['length'];_0x113261+=0x1){socket['emit']('userChatQueue:remove',{'UserId':Number(_0x1360e2[_0x3cae('0x3c')][_0x3cae('0x6f')][_0x113261]),'ChatQueueId':Number(_0x1360e2['params']['id'])});}}else{socket[_0x3cae('0x78')]('userChatQueue:remove',{'UserId':Number(_0x1360e2[_0x3cae('0x3c')][_0x3cae('0x6f')]),'ChatQueueId':Number(_0x1360e2[_0x3cae('0x5f')]['id'])});}});}})['then'](respondWithStatusCode(_0x38a59b,null))[_0x3cae('0x27')](handleError(_0x38a59b,null));};exports[_0x3cae('0x92')]=function(_0x360c77,_0x290870,_0x247618){var _0x51fb6e={};var _0x3c60f4={};var _0x136379;var _0x53d0e6;return db[_0x3cae('0x3a')]['findOne']({'where':{'id':_0x360c77[_0x3cae('0x5f')]['id']}})['then'](handleEntityNotFound(_0x290870,null))[_0x3cae('0x1f')](function(_0x4bf27f){if(_0x4bf27f){_0x136379=_0x4bf27f;_0x3c60f4[_0x3cae('0x3b')]=_[_0x3cae('0x3d')](db['User'][_0x3cae('0x52')]);_0x3c60f4[_0x3cae('0x3c')]=_[_0x3cae('0x3d')](_0x360c77[_0x3cae('0x3c')]);_0x3c60f4[_0x3cae('0x3e')]=_[_0x3cae('0x3f')](_0x3c60f4['model'],_0x3c60f4[_0x3cae('0x3c')]);_0x51fb6e['attributes']=_['intersection'](_0x3c60f4['model'],qs[_0x3cae('0x41')](_0x360c77[_0x3cae('0x3c')][_0x3cae('0x41')]));_0x51fb6e['attributes']=_0x51fb6e[_0x3cae('0x40')]['length']?_0x51fb6e[_0x3cae('0x40')]:_0x3c60f4['model'];_0x51fb6e[_0x3cae('0x46')]=qs['sort'](_0x360c77[_0x3cae('0x3c')][_0x3cae('0x47')]);_0x51fb6e['where']=qs[_0x3cae('0x3e')](_['pick'](_0x360c77[_0x3cae('0x3c')],_0x3c60f4[_0x3cae('0x3e')]));if(_0x360c77['query'][_0x3cae('0x49')]){_0x51fb6e[_0x3cae('0x4a')]=_[_0x3cae('0x53')](_0x51fb6e[_0x3cae('0x4a')],{'$or':_[_0x3cae('0x39')](_0x51fb6e['attributes'],function(_0x4ad7aa){var _0x23ef1c={};_0x23ef1c[_0x4ad7aa]={'$like':'%'+_0x360c77['query'][_0x3cae('0x49')]+'%'};return _0x23ef1c;})});}_0x51fb6e=_[_0x3cae('0x53')]({},_0x51fb6e,_0x360c77[_0x3cae('0x4d')]);return _0x136379[_0x3cae('0x92')](_0x51fb6e);}})[_0x3cae('0x1f')](function(_0x2cd2b3){if(_0x2cd2b3){_0x53d0e6=_0x2cd2b3['length'];if(!_0x360c77[_0x3cae('0x3c')][_0x3cae('0x43')](_0x3cae('0x44'))){_0x51fb6e[_0x3cae('0x45')]=qs[_0x3cae('0x45')](_0x360c77[_0x3cae('0x3c')]['limit']);_0x51fb6e[_0x3cae('0x2d')]=qs[_0x3cae('0x2d')](_0x360c77[_0x3cae('0x3c')]['offset']);}return _0x136379[_0x3cae('0x92')](_0x51fb6e);}})['then'](function(_0x5bf459){if(_0x5bf459){return _0x5bf459?{'count':_0x53d0e6,'rows':_0x5bf459}:null;}})[_0x3cae('0x1f')](respondWithResult(_0x290870,null))[_0x3cae('0x27')](handleError(_0x290870,null));}; \ No newline at end of file +var _0x98d5=['removeAgents','userChatQueue:remove','addAgents','omit','spread','isArray','User','html-pdf','rimraf','zip-dir','fast-json-patch','request-promise','moment','mustache','path','to-csv','ejs','lodash','crypto','desk.js','querystring','../../components/parsers/qs','../../components/parsers/advancedSearch','api','../../config/utils','../../config/environment','../../mysqldb','redis','localhost','socket.io-emitter','register','jayson/promise','client','http','test','Sequelize','ValidationError','The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.','request','then','info','ChatQueue,\x20%s,\x20%s','request\x20sent','debug','ChatQueue,\x20%s,\x20%s,\x20%s','stringify','error','code','message','result','status','end','json','count','offset','limit','set','reject','save','update','get','ChatQueues','UserProfileResource','destroy','sendStatus','name','send','index','map','rawAttributes','fieldName','type','model','keys','filters','intersection','attributes','fields','query','length','hasOwnProperty','nolimit','order','sort','where','pick','filter','merge','VIRTUAL','options','include','ChatQueue','findAll','rows','catch','show','params','includeAll','find','create','user','Unable\x20to\x20retrieve\x20the\x20current\x20user','role','UserProfileSection','autoAssociation','body','describe','getMembers','findOne','UserChatQueue','ChatQueueId','findAndCountAll','UserId','agent','chatPause','createdAt','format','%s/%s','SIP','updatedAt','getTeams','addTeams','ids','Team','Agents','online','interface','sequelize','each','findOrCreate','forEach','emit','userChatQueue:save','removeTeams','field','tq.TeamId','from','team_has_chat_queues','join','ut.TeamId\x20=\x20tq.TeamId','ChatQueueId\x20=\x20?','ut.UserId\x20=\x20?','toString','QueryTypes','every','TeamId','includes','union','value','transaction','isEmpty'];(function(_0xe75d24,_0x54f93b){var _0x4d2587=function(_0x1e5fc9){while(--_0x1e5fc9){_0xe75d24['push'](_0xe75d24['shift']());}};_0x4d2587(++_0x54f93b);}(_0x98d5,0x1cc));var _0x598d=function(_0x3a8a55,_0x46f15e){_0x3a8a55=_0x3a8a55-0x0;var _0x3749a6=_0x98d5[_0x3a8a55];return _0x3749a6;};'use strict';var pdf=require(_0x598d('0x0'));var emlformat=require('eml-format');var rimraf=require(_0x598d('0x1'));var zipdir=require(_0x598d('0x2'));var jsonpatch=require(_0x598d('0x3'));var rp=require(_0x598d('0x4'));var moment=require(_0x598d('0x5'));var BPromise=require('bluebird');var Mustache=require(_0x598d('0x6'));var util=require('util');var path=require(_0x598d('0x7'));var sox=require('sox');var csv=require(_0x598d('0x8'));var ejs=require(_0x598d('0x9'));var fs=require('fs');var _=require(_0x598d('0xa'));var squel=require('squel');var crypto=require(_0x598d('0xb'));var jsforce=require('jsforce');var deskjs=require(_0x598d('0xc'));var toCsv=require(_0x598d('0x8'));var querystring=require(_0x598d('0xd'));var Papa=require('papaparse');var Redis=require('ioredis');var authService=require('../../components/auth/service');var qs=require(_0x598d('0xe'));var as=require(_0x598d('0xf'));var hardwareService=require('../../config/license/hardware');var logger=require('../../config/logger')(_0x598d('0x10'));var utils=require(_0x598d('0x11'));var config=require(_0x598d('0x12'));var db=require(_0x598d('0x13'))['db'];config[_0x598d('0x14')]=_['defaults'](config[_0x598d('0x14')],{'host':_0x598d('0x15'),'port':0x18eb});var socket=require(_0x598d('0x16'))(new Redis(config['redis']));require('./chatQueue.socket')[_0x598d('0x17')](socket);var jayson=require(_0x598d('0x18'));var client=jayson[_0x598d('0x19')][_0x598d('0x1a')]({'port':0x232a});function checkPasswordPattern(_0x5e2474,_0x508e75,_0x74697f){if(_0x74697f){var _0x3f8eb4=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0x3f8eb4[_0x598d('0x1b')](_0x508e75)){return _0x5e2474;}else{throw new db[(_0x598d('0x1c'))][(_0x598d('0x1d'))](_0x598d('0x1e'));}}else{return _0x5e2474;}}function respondWithRpcPromise(_0x406472,_0x17b8a0,_0x323a0b,_0x241c8e){return new BPromise(function(_0x30a747,_0x4469cb){var _0x1d2bea=_0x241c8e||client;return _0x1d2bea[_0x598d('0x1f')](_0x406472,_0x323a0b)[_0x598d('0x20')](function(_0x243f4a){logger[_0x598d('0x21')](_0x598d('0x22'),_0x17b8a0,_0x598d('0x23'));logger[_0x598d('0x24')](_0x598d('0x25'),_0x17b8a0,'request\x20sent',JSON[_0x598d('0x26')](_0x243f4a));if(_0x243f4a[_0x598d('0x27')]){if(_0x243f4a['error'][_0x598d('0x28')]===0x1f4){logger[_0x598d('0x27')]('ChatQueue,\x20%s,\x20%s',_0x17b8a0,_0x243f4a['error'][_0x598d('0x29')]);return _0x4469cb(_0x243f4a['error']['message']);}logger[_0x598d('0x27')]('ChatQueue,\x20%s,\x20%s',_0x17b8a0,_0x243f4a[_0x598d('0x27')][_0x598d('0x29')]);return _0x30a747(_0x243f4a[_0x598d('0x27')][_0x598d('0x29')]);}else{logger[_0x598d('0x21')](_0x598d('0x22'),_0x17b8a0,_0x598d('0x23'));_0x30a747(_0x243f4a[_0x598d('0x2a')][_0x598d('0x29')]);}})['catch'](function(_0x3ab3fc){logger['error'](_0x598d('0x22'),_0x17b8a0,_0x3ab3fc);_0x4469cb(_0x3ab3fc);});});}function respondWithStatusCode(_0x45aef5,_0x7c62a8){_0x7c62a8=_0x7c62a8||0xcc;return function(_0x3347cc){if(_0x3347cc){return _0x45aef5['sendStatus'](_0x7c62a8);}return _0x45aef5[_0x598d('0x2b')](_0x7c62a8)[_0x598d('0x2c')]();};}function respondWithResult(_0x385d93,_0x30016e){_0x30016e=_0x30016e||0xc8;return function(_0x42aab7){if(_0x42aab7){return _0x385d93[_0x598d('0x2b')](_0x30016e)[_0x598d('0x2d')](_0x42aab7);}};}function respondWithFilteredResult(_0xd7098e,_0x22ac51){return function(_0x21349f){if(_0x21349f){var _0x50d57c=_0x21349f[_0x598d('0x2e')],_0x16ea1b=_0x22ac51['offset'],_0x1d0732=_0x22ac51[_0x598d('0x2f')]+_0x22ac51[_0x598d('0x30')],_0x37a3c5;if(_0x1d0732>=_0x50d57c){_0x1d0732=_0x50d57c;_0x37a3c5=0xc8;}else{_0x37a3c5=0xce;}_0xd7098e['status'](_0x37a3c5);return _0xd7098e[_0x598d('0x31')]('Content-Range',_0x16ea1b+'-'+_0x1d0732+'/'+_0x50d57c)[_0x598d('0x2d')](_0x21349f);}return null;};}function patchUpdates(_0x123153){return function(_0x55adc8){try{jsonpatch['apply'](_0x55adc8,_0x123153,!![]);}catch(_0x8b1578){return BPromise[_0x598d('0x32')](_0x8b1578);}return _0x55adc8[_0x598d('0x33')]();};}function saveUpdates(_0x22b132,_0x526d3c){return function(_0x4ed888){if(_0x4ed888){return _0x4ed888[_0x598d('0x34')](_0x22b132)[_0x598d('0x20')](function(_0x5c67af){return _0x5c67af;});}return null;};}function removeEntity(_0x34236f,_0x212f7d){return function(_0x4b101a){if(_0x4b101a){return _0x4b101a['destroy']()['then'](function(){var _0x5aa37f=_0x4b101a[_0x598d('0x35')]({'plain':!![]});var _0x4ae4d4=_0x598d('0x36');return db[_0x598d('0x37')][_0x598d('0x38')]({'where':{'type':_0x4ae4d4,'resourceId':_0x5aa37f['id']}})[_0x598d('0x20')](function(){return _0x4b101a;});})[_0x598d('0x20')](function(){_0x34236f[_0x598d('0x2b')](0xcc)['end']();});}};}function handleEntityNotFound(_0x2c75ad,_0x3b322c){return function(_0x1af2a2){if(!_0x1af2a2){_0x2c75ad[_0x598d('0x39')](0x194);}return _0x1af2a2;};}function handleError(_0x1f3fec,_0x5cbe6d){_0x5cbe6d=_0x5cbe6d||0x1f4;return function(_0x437d14){logger[_0x598d('0x27')](_0x437d14['stack']);if(_0x437d14['name']){delete _0x437d14[_0x598d('0x3a')];}_0x1f3fec['status'](_0x5cbe6d)[_0x598d('0x3b')](_0x437d14);};}exports[_0x598d('0x3c')]=function(_0x47f9d6,_0x10d3a6){var _0x1a8192={},_0x4cc0f2={},_0x95c879={'count':0x0,'rows':[]};var _0x55ff45=_[_0x598d('0x3d')](db['ChatQueue'][_0x598d('0x3e')],function(_0xaa1c4b){return{'name':_0xaa1c4b[_0x598d('0x3f')],'type':_0xaa1c4b[_0x598d('0x40')]['key']};});_0x4cc0f2[_0x598d('0x41')]=_[_0x598d('0x3d')](_0x55ff45,_0x598d('0x3a'));_0x4cc0f2['query']=_[_0x598d('0x42')](_0x47f9d6['query']);_0x4cc0f2[_0x598d('0x43')]=_[_0x598d('0x44')](_0x4cc0f2[_0x598d('0x41')],_0x4cc0f2['query']);_0x1a8192[_0x598d('0x45')]=_[_0x598d('0x44')](_0x4cc0f2['model'],qs[_0x598d('0x46')](_0x47f9d6[_0x598d('0x47')][_0x598d('0x46')]));_0x1a8192['attributes']=_0x1a8192['attributes'][_0x598d('0x48')]?_0x1a8192[_0x598d('0x45')]:_0x4cc0f2[_0x598d('0x41')];if(!_0x47f9d6[_0x598d('0x47')][_0x598d('0x49')](_0x598d('0x4a'))){_0x1a8192[_0x598d('0x30')]=qs[_0x598d('0x30')](_0x47f9d6[_0x598d('0x47')][_0x598d('0x30')]);_0x1a8192[_0x598d('0x2f')]=qs[_0x598d('0x2f')](_0x47f9d6['query'][_0x598d('0x2f')]);}_0x1a8192[_0x598d('0x4b')]=qs[_0x598d('0x4c')](_0x47f9d6['query'][_0x598d('0x4c')]);_0x1a8192[_0x598d('0x4d')]=qs[_0x598d('0x43')](_[_0x598d('0x4e')](_0x47f9d6[_0x598d('0x47')],_0x4cc0f2[_0x598d('0x43')]),_0x55ff45);if(_0x47f9d6['query'][_0x598d('0x4f')]){_0x1a8192[_0x598d('0x4d')]=_[_0x598d('0x50')](_0x1a8192[_0x598d('0x4d')],{'$or':_[_0x598d('0x3d')](_0x55ff45,function(_0x50b1c3){if(_0x50b1c3[_0x598d('0x40')]!==_0x598d('0x51')){var _0x14b0f5={};_0x14b0f5[_0x50b1c3[_0x598d('0x3a')]]={'$like':'%'+_0x47f9d6['query'][_0x598d('0x4f')]+'%'};return _0x14b0f5;}})});}_0x1a8192=_[_0x598d('0x50')]({},_0x1a8192,_0x47f9d6[_0x598d('0x52')]);var _0x26b397={'where':_0x1a8192[_0x598d('0x4d')]};return db['ChatQueue'][_0x598d('0x2e')](_0x26b397)[_0x598d('0x20')](function(_0x51ed25){_0x95c879[_0x598d('0x2e')]=_0x51ed25;if(_0x47f9d6[_0x598d('0x47')]['includeAll']){_0x1a8192[_0x598d('0x53')]=[{'all':!![]}];}return db[_0x598d('0x54')][_0x598d('0x55')](_0x1a8192);})[_0x598d('0x20')](function(_0x138c17){_0x95c879[_0x598d('0x56')]=_0x138c17;return _0x95c879;})['then'](respondWithFilteredResult(_0x10d3a6,_0x1a8192))[_0x598d('0x57')](handleError(_0x10d3a6,null));};exports[_0x598d('0x58')]=function(_0x40bb30,_0x25f605){var _0x514400={'raw':!![],'where':{'id':_0x40bb30[_0x598d('0x59')]['id']}},_0x1073eb={};_0x1073eb['model']=_['keys'](db[_0x598d('0x54')][_0x598d('0x3e')]);_0x1073eb[_0x598d('0x47')]=_[_0x598d('0x42')](_0x40bb30[_0x598d('0x47')]);_0x1073eb[_0x598d('0x43')]=_[_0x598d('0x44')](_0x1073eb[_0x598d('0x41')],_0x1073eb[_0x598d('0x47')]);_0x514400[_0x598d('0x45')]=_[_0x598d('0x44')](_0x1073eb['model'],qs[_0x598d('0x46')](_0x40bb30['query']['fields']));_0x514400[_0x598d('0x45')]=_0x514400[_0x598d('0x45')][_0x598d('0x48')]?_0x514400[_0x598d('0x45')]:_0x1073eb['model'];if(_0x40bb30['query'][_0x598d('0x5a')]){_0x514400[_0x598d('0x53')]=[{'all':!![]}];}_0x514400=_[_0x598d('0x50')]({},_0x514400,_0x40bb30[_0x598d('0x52')]);return db[_0x598d('0x54')][_0x598d('0x5b')](_0x514400)[_0x598d('0x20')](handleEntityNotFound(_0x25f605,null))['then'](respondWithResult(_0x25f605,null))[_0x598d('0x57')](handleError(_0x25f605,null));};exports[_0x598d('0x5c')]=function(_0x349dbe,_0x5a51b7){return db[_0x598d('0x54')][_0x598d('0x5c')](_0x349dbe['body'],{})['then'](function(_0x1ab730){var _0x159b95=_0x349dbe[_0x598d('0x5d')][_0x598d('0x35')]({'plain':!![]});if(!_0x159b95)throw new Error(_0x598d('0x5e'));if(_0x159b95[_0x598d('0x5f')]===_0x598d('0x5d')){var _0x32b34a=_0x1ab730[_0x598d('0x35')]({'plain':!![]});var _0x57b865=_0x598d('0x36');return db[_0x598d('0x60')][_0x598d('0x5b')]({'where':{'name':_0x57b865,'userProfileId':_0x159b95['userProfileId']},'raw':!![]})[_0x598d('0x20')](function(_0x5583ee){if(_0x5583ee&&_0x5583ee[_0x598d('0x61')]===0x0){return db[_0x598d('0x37')]['create']({'name':_0x32b34a[_0x598d('0x3a')],'resourceId':_0x32b34a['id'],'type':_0x5583ee['name'],'sectionId':_0x5583ee['id']},{})['then'](function(){return _0x1ab730;});}else{return _0x1ab730;}})['catch'](function(_0x480361){logger['error']('Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s',_0x480361);throw _0x480361;});}return _0x1ab730;})[_0x598d('0x20')](respondWithResult(_0x5a51b7,0xc9))[_0x598d('0x57')](handleError(_0x5a51b7,null));};exports[_0x598d('0x34')]=function(_0x53e402,_0x899081){if(_0x53e402[_0x598d('0x62')]['id']){delete _0x53e402[_0x598d('0x62')]['id'];}return db[_0x598d('0x54')]['find']({'where':{'id':_0x53e402[_0x598d('0x59')]['id']}})[_0x598d('0x20')](handleEntityNotFound(_0x899081,null))['then'](saveUpdates(_0x53e402[_0x598d('0x62')],null))[_0x598d('0x20')](respondWithResult(_0x899081,null))['catch'](handleError(_0x899081,null));};exports[_0x598d('0x38')]=function(_0x49aa3b,_0x5e19b2){return db[_0x598d('0x54')][_0x598d('0x5b')]({'where':{'id':_0x49aa3b['params']['id']}})[_0x598d('0x20')](handleEntityNotFound(_0x5e19b2,null))[_0x598d('0x20')](removeEntity(_0x5e19b2,null))[_0x598d('0x57')](handleError(_0x5e19b2,null));};exports['describe']=function(_0xdec4f,_0x2ca8e0){return db['ChatQueue'][_0x598d('0x63')]()['then'](respondWithResult(_0x2ca8e0,null))[_0x598d('0x57')](handleError(_0x2ca8e0,null));};exports[_0x598d('0x64')]=function(_0x18112a,_0x4e0715,_0x34034d){var _0x541c16={'raw':!![],'where':{}},_0x23c069={},_0x2923e1;return db['ChatQueue'][_0x598d('0x65')]({'where':{'id':_0x18112a[_0x598d('0x59')]['id']}})['then'](handleEntityNotFound(_0x4e0715,null))[_0x598d('0x20')](function(_0x5b0e81){if(_0x5b0e81){_0x2923e1=_0x5b0e81[_0x598d('0x35')]({'plain':!![]});_0x23c069[_0x598d('0x41')]=_['keys'](db[_0x598d('0x66')][_0x598d('0x3e')]);_0x23c069[_0x598d('0x47')]=_['keys'](_0x18112a[_0x598d('0x47')]);_0x23c069[_0x598d('0x43')]=_[_0x598d('0x44')](_0x23c069['model'],_0x23c069[_0x598d('0x47')]);_0x541c16[_0x598d('0x45')]=_[_0x598d('0x44')](_0x23c069[_0x598d('0x41')],qs['fields'](_0x18112a[_0x598d('0x47')][_0x598d('0x46')]));_0x541c16[_0x598d('0x45')]=_0x541c16[_0x598d('0x45')]['length']?_0x541c16[_0x598d('0x45')]:_0x23c069['model'];if(!_0x18112a[_0x598d('0x47')][_0x598d('0x49')](_0x598d('0x4a'))){_0x541c16[_0x598d('0x30')]=qs[_0x598d('0x30')](_0x18112a[_0x598d('0x47')][_0x598d('0x30')]);_0x541c16['offset']=qs[_0x598d('0x2f')](_0x18112a[_0x598d('0x47')][_0x598d('0x2f')]);}_0x541c16[_0x598d('0x4b')]=qs[_0x598d('0x4c')](_0x18112a[_0x598d('0x47')][_0x598d('0x4c')]);_0x541c16[_0x598d('0x4d')]=qs[_0x598d('0x43')](_['pick'](_0x18112a[_0x598d('0x47')],_0x23c069['filters']));_0x541c16[_0x598d('0x4d')][_0x598d('0x67')]=_0x5b0e81['id'];if(_0x18112a[_0x598d('0x47')][_0x598d('0x4f')]){_0x541c16[_0x598d('0x4d')]=_[_0x598d('0x50')](_0x541c16[_0x598d('0x4d')],{'$or':_[_0x598d('0x3d')](_0x541c16[_0x598d('0x45')],function(_0x4de072){var _0x1f31c1={};_0x1f31c1[_0x4de072]={'$like':'%'+_0x18112a[_0x598d('0x47')][_0x598d('0x4f')]+'%'};return _0x1f31c1;})});}_0x541c16=_[_0x598d('0x50')]({},_0x541c16,_0x18112a[_0x598d('0x52')]);return db[_0x598d('0x66')]['findAll'](_0x541c16);}})['then'](function(_0x2baa05){if(_0x2baa05){return db['User'][_0x598d('0x68')]({'where':{'id':_[_0x598d('0x3d')](_0x2baa05,_0x598d('0x69')),'role':_0x598d('0x6a')},'attributes':['id','name',_0x598d('0x6b'),'updatedAt',_0x598d('0x6c')]});}})[_0x598d('0x20')](function(_0x3c0846){if(_0x3c0846){return{'count':_0x3c0846[_0x598d('0x2e')],'rows':_[_0x598d('0x3d')](_0x3c0846['rows'],function(_0x1b9669){return{'membername':_0x1b9669['name'],'UserId':_0x1b9669['id'],'queue_name':_0x2923e1[_0x598d('0x3a')],'ChatQueueId':_0x2923e1['id'],'interface':util[_0x598d('0x6d')](_0x598d('0x6e'),_0x598d('0x6f'),_0x1b9669[_0x598d('0x3a')]),'penalty':0x0,'paused':_0x1b9669['chatPause'],'createdAt':_0x1b9669[_0x598d('0x6c')],'updatedAt':_0x1b9669[_0x598d('0x70')]};})};}else{return{'count':0x0,'rows':[]};}})[_0x598d('0x20')](respondWithFilteredResult(_0x4e0715,_0x541c16))[_0x598d('0x57')](handleError(_0x4e0715,null));};exports[_0x598d('0x71')]=function(_0x3c8497,_0x4c486d,_0x3bd4a7){var _0x1a4ee6={};var _0xabb0b0={};var _0x40cd46;var _0x549a5e;return db[_0x598d('0x54')][_0x598d('0x65')]({'where':{'id':_0x3c8497[_0x598d('0x59')]['id']}})[_0x598d('0x20')](handleEntityNotFound(_0x4c486d,null))[_0x598d('0x20')](function(_0x24705e){if(_0x24705e){_0x40cd46=_0x24705e;_0xabb0b0['model']=_['keys'](db['Team'][_0x598d('0x3e')]);_0xabb0b0[_0x598d('0x47')]=_[_0x598d('0x42')](_0x3c8497[_0x598d('0x47')]);_0xabb0b0[_0x598d('0x43')]=_['intersection'](_0xabb0b0[_0x598d('0x41')],_0xabb0b0['query']);_0x1a4ee6[_0x598d('0x45')]=_['intersection'](_0xabb0b0[_0x598d('0x41')],qs['fields'](_0x3c8497[_0x598d('0x47')][_0x598d('0x46')]));_0x1a4ee6[_0x598d('0x45')]=_0x1a4ee6[_0x598d('0x45')][_0x598d('0x48')]?_0x1a4ee6[_0x598d('0x45')]:_0xabb0b0[_0x598d('0x41')];_0x1a4ee6[_0x598d('0x4b')]=qs[_0x598d('0x4c')](_0x3c8497[_0x598d('0x47')]['sort']);_0x1a4ee6[_0x598d('0x4d')]=qs[_0x598d('0x43')](_[_0x598d('0x4e')](_0x3c8497[_0x598d('0x47')],_0xabb0b0[_0x598d('0x43')]));if(_0x3c8497['query'][_0x598d('0x4f')]){_0x1a4ee6[_0x598d('0x4d')]=_[_0x598d('0x50')](_0x1a4ee6['where'],{'$or':_['map'](_0x1a4ee6['attributes'],function(_0x115144){var _0xfae773={};_0xfae773[_0x115144]={'$like':'%'+_0x3c8497[_0x598d('0x47')]['filter']+'%'};return _0xfae773;})});}_0x1a4ee6=_[_0x598d('0x50')]({},_0x1a4ee6,_0x3c8497['options']);return _0x40cd46[_0x598d('0x71')](_0x1a4ee6);}})['then'](function(_0xbe18df){if(_0xbe18df){_0x549a5e=_0xbe18df[_0x598d('0x48')];if(!_0x3c8497['query'][_0x598d('0x49')](_0x598d('0x4a'))){_0x1a4ee6['limit']=qs[_0x598d('0x30')](_0x3c8497[_0x598d('0x47')]['limit']);_0x1a4ee6['offset']=qs[_0x598d('0x2f')](_0x3c8497[_0x598d('0x47')][_0x598d('0x2f')]);}return _0x40cd46[_0x598d('0x71')](_0x1a4ee6);}})[_0x598d('0x20')](function(_0x35b25e){if(_0x35b25e){return _0x35b25e?{'count':_0x549a5e,'rows':_0x35b25e}:null;}})[_0x598d('0x20')](respondWithResult(_0x4c486d,null))[_0x598d('0x57')](handleError(_0x4c486d,null));};exports[_0x598d('0x72')]=function(_0x2a39c8,_0xeede3f,_0x232e62){var _0x5a128e=_0x2a39c8[_0x598d('0x62')][_0x598d('0x73')];return db[_0x598d('0x74')]['findAll']({'where':{'id':_0x5a128e},'attributes':['id'],'include':[{'model':db['User'],'as':_0x598d('0x75'),'attributes':['id',_0x598d('0x3a'),_0x598d('0x76'),'voicePause',_0x598d('0x77')],'raw':!![]}]})[_0x598d('0x20')](function(_0x5718ea){if(_0x5718ea){var _0x509a32=_['flatMap'](_0x5718ea,function(_0x4fd837){var _0x53f556=_0x4fd837[_0x598d('0x35')]({'plain':!![]});return _0x53f556[_0x598d('0x75')];});return db[_0x598d('0x54')]['find']({'where':{'id':_0x2a39c8[_0x598d('0x59')]['id']}})[_0x598d('0x20')](function(_0x1fc013){return db[_0x598d('0x78')]['transaction'](function(_0x5bb43c){return _0x1fc013['addTeams'](_0x5a128e,{'transaction':_0x5bb43c})['then'](function(){return BPromise[_0x598d('0x79')](_0x509a32,function(_0x158196){return db[_0x598d('0x66')][_0x598d('0x7a')]({'where':{'UserId':_0x158196['id'],'ChatQueueId':_0x2a39c8[_0x598d('0x59')]['id']},'transaction':_0x5bb43c});});})[_0x598d('0x20')](function(){_0x509a32[_0x598d('0x7b')](function(_0x513624){socket[_0x598d('0x7c')](_0x598d('0x7d'),{'UserId':_0x513624['id'],'ChatQueueId':_0x1fc013['id']});});});});});}})['then'](respondWithStatusCode(_0xeede3f,null))[_0x598d('0x57')](handleError(_0xeede3f,null));};exports[_0x598d('0x7e')]=function(_0x3d5e30,_0x36c7e6,_0x497ef8){return db[_0x598d('0x74')][_0x598d('0x55')]({'where':{'id':_0x3d5e30['query']['ids']},'attributes':['id'],'include':[{'model':db['User'],'as':_0x598d('0x75'),'attributes':['id'],'raw':!![]}]})[_0x598d('0x20')](handleEntityNotFound(_0x36c7e6,null))[_0x598d('0x20')](function(_0x1dc2f5){var _0x2b6902=_['map'](_0x1dc2f5,'id');var _0x37293f=[];var _0x39f010=[];var _0x331bcf=squel['select']();_0x331bcf[_0x598d('0x7f')](_0x598d('0x80'))[_0x598d('0x81')](_0x598d('0x82'),'tq')[_0x598d('0x83')]('user_has_teams','ut',_0x598d('0x84'))[_0x598d('0x4d')](_0x598d('0x85'),_0x3d5e30[_0x598d('0x59')]['id']);for(var _0x291ee7=0x0;_0x291ee7<_0x1dc2f5[_0x598d('0x48')];_0x291ee7+=0x1){let _0x25372c=_0x1dc2f5[_0x291ee7];for(var _0x598d6d=0x0;_0x598d6d<_0x25372c['Agents'][_0x598d('0x48')];_0x598d6d+=0x1){let _0x3b55e5=_0x25372c['Agents'][_0x598d6d];var _0x421861=_0x331bcf['clone']();_0x421861[_0x598d('0x4d')](_0x598d('0x86'),_0x3b55e5['id']);_0x39f010['push'](db[_0x598d('0x78')][_0x598d('0x47')](_0x421861[_0x598d('0x87')](),{'type':db[_0x598d('0x78')][_0x598d('0x88')]['SELECT']})['then'](function(_0xb6312f){if(_0xb6312f[_0x598d('0x48')]===0x1){return _0x3b55e5['id'];}else{var _0x231021=_[_0x598d('0x89')](_['map'](_0xb6312f,_0x598d('0x8a')),function(_0x1fb079){return _[_0x598d('0x8b')](_0x2b6902,_0x1fb079);});if(_0x231021){return _0x3b55e5['id'];}}}));}}return BPromise['all'](_0x39f010)[_0x598d('0x20')](function(_0xa9a711){_0x37293f=_(_0x37293f)[_0x598d('0x8c')](_0xa9a711)['compact']()[_0x598d('0x8d')]();return db[_0x598d('0x54')][_0x598d('0x5b')]({'where':{'id':_0x3d5e30[_0x598d('0x59')]['id']}})['then'](function(_0x47492a){return db[_0x598d('0x78')][_0x598d('0x8e')](function(_0x4212ed){return _0x47492a[_0x598d('0x7e')](_0x3d5e30['query']['ids'],{'transaction':_0x4212ed})[_0x598d('0x20')](function(){if(!_[_0x598d('0x8f')](_0x37293f)){return _0x47492a[_0x598d('0x90')](_0x37293f,{'transaction':_0x4212ed});}})[_0x598d('0x20')](function(){_0x37293f[_0x598d('0x7b')](function(_0x5a68a5){socket['emit'](_0x598d('0x91'),{'UserId':_0x5a68a5,'ChatQueueId':_0x47492a['id']});});});});});});})[_0x598d('0x20')](respondWithStatusCode(_0x36c7e6,null))[_0x598d('0x57')](handleError(_0x36c7e6,null));};exports[_0x598d('0x92')]=function(_0x538a57,_0x3221e6,_0x5b1fda){return db[_0x598d('0x54')][_0x598d('0x5b')]({'where':{'id':_0x538a57['params']['id']}})[_0x598d('0x20')](handleEntityNotFound(_0x3221e6,null))[_0x598d('0x20')](function(_0x41a26f){if(_0x41a26f){return _0x41a26f[_0x598d('0x92')](_0x538a57[_0x598d('0x62')]['ids'],_[_0x598d('0x93')](_0x538a57[_0x598d('0x62')],[_0x598d('0x73'),'id'])||{})[_0x598d('0x94')](function(_0x3f45f9){for(var _0x58fc7d=0x0;_0x58fc7d<_0x538a57[_0x598d('0x62')][_0x598d('0x73')][_0x598d('0x48')];_0x58fc7d+=0x1){socket[_0x598d('0x7c')](_0x598d('0x7d'),{'UserId':_0x538a57[_0x598d('0x62')][_0x598d('0x73')][_0x58fc7d],'ChatQueueId':_0x538a57[_0x598d('0x59')]['id']});}return _0x3f45f9;});}})[_0x598d('0x20')](respondWithResult(_0x3221e6,null))[_0x598d('0x57')](handleError(_0x3221e6,null));};exports[_0x598d('0x90')]=function(_0x3d8f5b,_0x1a920c,_0x9d72aa){return db[_0x598d('0x54')]['find']({'where':{'id':_0x3d8f5b[_0x598d('0x59')]['id']}})['then'](handleEntityNotFound(_0x1a920c,null))[_0x598d('0x20')](function(_0x735723){if(_0x735723){return _0x735723[_0x598d('0x90')](_0x3d8f5b[_0x598d('0x47')][_0x598d('0x73')])[_0x598d('0x20')](function(){if(_[_0x598d('0x95')](_0x3d8f5b[_0x598d('0x47')][_0x598d('0x73')])){for(var _0x48ff77=0x0;_0x48ff77<_0x3d8f5b[_0x598d('0x47')]['ids']['length'];_0x48ff77+=0x1){socket['emit']('userChatQueue:remove',{'UserId':Number(_0x3d8f5b[_0x598d('0x47')]['ids'][_0x48ff77]),'ChatQueueId':Number(_0x3d8f5b[_0x598d('0x59')]['id'])});}}else{socket[_0x598d('0x7c')](_0x598d('0x91'),{'UserId':Number(_0x3d8f5b[_0x598d('0x47')][_0x598d('0x73')]),'ChatQueueId':Number(_0x3d8f5b[_0x598d('0x59')]['id'])});}});}})[_0x598d('0x20')](respondWithStatusCode(_0x1a920c,null))['catch'](handleError(_0x1a920c,null));};exports['getAgents']=function(_0x58390e,_0x457ff6,_0x49ad06){var _0x2a7e32={};var _0x80d0d0={};var _0x406120;var _0x22c00e;return db[_0x598d('0x54')][_0x598d('0x65')]({'where':{'id':_0x58390e[_0x598d('0x59')]['id']}})[_0x598d('0x20')](handleEntityNotFound(_0x457ff6,null))['then'](function(_0x2582f1){if(_0x2582f1){_0x406120=_0x2582f1;_0x80d0d0[_0x598d('0x41')]=_[_0x598d('0x42')](db[_0x598d('0x96')]['rawAttributes']);_0x80d0d0[_0x598d('0x47')]=_[_0x598d('0x42')](_0x58390e[_0x598d('0x47')]);_0x80d0d0[_0x598d('0x43')]=_[_0x598d('0x44')](_0x80d0d0[_0x598d('0x41')],_0x80d0d0['query']);_0x2a7e32[_0x598d('0x45')]=_[_0x598d('0x44')](_0x80d0d0[_0x598d('0x41')],qs['fields'](_0x58390e[_0x598d('0x47')][_0x598d('0x46')]));_0x2a7e32[_0x598d('0x45')]=_0x2a7e32[_0x598d('0x45')]['length']?_0x2a7e32['attributes']:_0x80d0d0[_0x598d('0x41')];_0x2a7e32['order']=qs['sort'](_0x58390e[_0x598d('0x47')][_0x598d('0x4c')]);_0x2a7e32['where']=qs[_0x598d('0x43')](_['pick'](_0x58390e[_0x598d('0x47')],_0x80d0d0[_0x598d('0x43')]));if(_0x58390e[_0x598d('0x47')][_0x598d('0x4f')]){_0x2a7e32[_0x598d('0x4d')]=_[_0x598d('0x50')](_0x2a7e32[_0x598d('0x4d')],{'$or':_[_0x598d('0x3d')](_0x2a7e32['attributes'],function(_0x48a8ab){var _0x19d678={};_0x19d678[_0x48a8ab]={'$like':'%'+_0x58390e[_0x598d('0x47')]['filter']+'%'};return _0x19d678;})});}_0x2a7e32=_[_0x598d('0x50')]({},_0x2a7e32,_0x58390e['options']);return _0x406120['getAgents'](_0x2a7e32);}})[_0x598d('0x20')](function(_0x36617a){if(_0x36617a){_0x22c00e=_0x36617a['length'];if(!_0x58390e['query']['hasOwnProperty'](_0x598d('0x4a'))){_0x2a7e32[_0x598d('0x30')]=qs[_0x598d('0x30')](_0x58390e[_0x598d('0x47')]['limit']);_0x2a7e32[_0x598d('0x2f')]=qs[_0x598d('0x2f')](_0x58390e[_0x598d('0x47')][_0x598d('0x2f')]);}return _0x406120['getAgents'](_0x2a7e32);}})[_0x598d('0x20')](function(_0x33cf53){if(_0x33cf53){return _0x33cf53?{'count':_0x22c00e,'rows':_0x33cf53}:null;}})['then'](respondWithResult(_0x457ff6,null))['catch'](handleError(_0x457ff6,null));}; \ No newline at end of file diff --git a/server/api/chatQueue/chatQueue.events.js b/server/api/chatQueue/chatQueue.events.js index 7e51308..ee461cc 100644 --- a/server/api/chatQueue/chatQueue.events.js +++ b/server/api/chatQueue/chatQueue.events.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x0b0e=['ChatQueue','save','update','remove','emit','hasOwnProperty','hook','events'];(function(_0x3d7929,_0x3fc029){var _0x33565a=function(_0x319558){while(--_0x319558){_0x3d7929['push'](_0x3d7929['shift']());}};_0x33565a(++_0x3fc029);}(_0x0b0e,0x187));var _0xe0b0=function(_0x3c5ad6,_0x47b7bf){_0x3c5ad6=_0x3c5ad6-0x0;var _0x3154f2=_0x0b0e[_0x3c5ad6];return _0x3154f2;};'use strict';var EventEmitter=require(_0xe0b0('0x0'));var ChatQueue=require('../../mysqldb')['db'][_0xe0b0('0x1')];var ChatQueueEvents=new EventEmitter();ChatQueueEvents['setMaxListeners'](0x0);var events={'afterCreate':_0xe0b0('0x2'),'afterUpdate':_0xe0b0('0x3'),'afterDestroy':_0xe0b0('0x4')};function emitEvent(_0x25153a){return function(_0x28040c,_0x38a058,_0x399e67){ChatQueueEvents[_0xe0b0('0x5')](_0x25153a+':'+_0x28040c['id'],_0x28040c);ChatQueueEvents[_0xe0b0('0x5')](_0x25153a,_0x28040c);_0x399e67(null);};}for(var e in events){if(events[_0xe0b0('0x6')](e)){var event=events[e];ChatQueue[_0xe0b0('0x7')](e,emitEvent(event));}}module['exports']=ChatQueueEvents; \ No newline at end of file +var _0xbaf0=['setMaxListeners','save','update','remove','emit','hasOwnProperty','hook','exports','../../mysqldb','ChatQueue'];(function(_0x50798b,_0x22ccf8){var _0x4b1d26=function(_0x26107f){while(--_0x26107f){_0x50798b['push'](_0x50798b['shift']());}};_0x4b1d26(++_0x22ccf8);}(_0xbaf0,0x12a));var _0x0baf=function(_0x5ddb1c,_0x5ea4df){_0x5ddb1c=_0x5ddb1c-0x0;var _0x354adc=_0xbaf0[_0x5ddb1c];return _0x354adc;};'use strict';var EventEmitter=require('events');var ChatQueue=require(_0x0baf('0x0'))['db'][_0x0baf('0x1')];var ChatQueueEvents=new EventEmitter();ChatQueueEvents[_0x0baf('0x2')](0x0);var events={'afterCreate':_0x0baf('0x3'),'afterUpdate':_0x0baf('0x4'),'afterDestroy':_0x0baf('0x5')};function emitEvent(_0x5a3e42){return function(_0x232cc7,_0x1c383e,_0x2d3fa5){ChatQueueEvents[_0x0baf('0x6')](_0x5a3e42+':'+_0x232cc7['id'],_0x232cc7);ChatQueueEvents[_0x0baf('0x6')](_0x5a3e42,_0x232cc7);_0x2d3fa5(null);};}for(var e in events){if(events[_0x0baf('0x7')](e)){var event=events[e];ChatQueue[_0x0baf('0x8')](e,emitEvent(event));}}module[_0x0baf('0x9')]=ChatQueueEvents; \ No newline at end of file diff --git a/server/api/chatQueue/chatQueue.model.js b/server/api/chatQueue/chatQueue.model.js index 23bf59d..884fe7c 100644 --- a/server/api/chatQueue/chatQueue.model.js +++ b/server/api/chatQueue/chatQueue.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xd5f2=['ChatQueue','chat_queues','util','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./chatQueue.attributes','define'];(function(_0x137f59,_0xee3586){var _0x8eb87f=function(_0x796ca3){while(--_0x796ca3){_0x137f59['push'](_0x137f59['shift']());}};_0x8eb87f(++_0xee3586);}(_0xd5f2,0x1d6));var _0x2d5f=function(_0x1589dd,_0x2b9d22){_0x1589dd=_0x1589dd-0x0;var _0x1bddd1=_0xd5f2[_0x1589dd];return _0x1bddd1;};'use strict';var _=require('lodash');var util=require(_0x2d5f('0x0'));var logger=require('../../config/logger')(_0x2d5f('0x1'));var moment=require(_0x2d5f('0x2'));var BPromise=require(_0x2d5f('0x3'));var rp=require(_0x2d5f('0x4'));var fs=require('fs');var path=require(_0x2d5f('0x5'));var rimraf=require(_0x2d5f('0x6'));var config=require(_0x2d5f('0x7'));var attributes=require(_0x2d5f('0x8'));module['exports']=function(_0x4136d5,_0x19700e){return _0x4136d5[_0x2d5f('0x9')](_0x2d5f('0xa'),attributes,{'tableName':_0x2d5f('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0xf94c=['request-promise','path','rimraf','../../config/environment','./chatQueue.attributes','define','chat_queues','lodash','util','../../config/logger','api'];(function(_0xae0fe,_0x210080){var _0x25a365=function(_0x14f7ea){while(--_0x14f7ea){_0xae0fe['push'](_0xae0fe['shift']());}};_0x25a365(++_0x210080);}(_0xf94c,0x167));var _0xcf94=function(_0x18dd90,_0x1695db){_0x18dd90=_0x18dd90-0x0;var _0xf68bfe=_0xf94c[_0x18dd90];return _0xf68bfe;};'use strict';var _=require(_0xcf94('0x0'));var util=require(_0xcf94('0x1'));var logger=require(_0xcf94('0x2'))(_0xcf94('0x3'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0xcf94('0x4'));var fs=require('fs');var path=require(_0xcf94('0x5'));var rimraf=require(_0xcf94('0x6'));var config=require(_0xcf94('0x7'));var attributes=require(_0xcf94('0x8'));module['exports']=function(_0x47e312,_0x5628d0){return _0x47e312[_0xcf94('0x9')]('ChatQueue',attributes,{'tableName':_0xcf94('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/chatQueue/chatQueue.rpc.js b/server/api/chatQueue/chatQueue.rpc.js index 885e80c..429bd3a 100644 --- a/server/api/chatQueue/chatQueue.rpc.js +++ b/server/api/chatQueue/chatQueue.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x7bf2=['raw','where','attributes','limit','include','model','map','GetChatQueue','ShowChatQueue','find','lodash','util','bluebird','randomstring','ioredis','../../config/utils','rpc','../../config/environment','jayson/promise','client','http','redis','defaults','localhost','socket.io-emitter','then','info','ChatQueue,\x20%s,\x20%s','request\x20sent','debug','stringify','error','code','message','result','catch','ChatQueue','options'];(function(_0x19950b,_0x53d0d7){var _0x3c6b41=function(_0x3924ad){while(--_0x3924ad){_0x19950b['push'](_0x19950b['shift']());}};_0x3c6b41(++_0x53d0d7);}(_0x7bf2,0xc8));var _0x27bf=function(_0x566d0b,_0x3f1e0c){_0x566d0b=_0x566d0b-0x0;var _0x5c32b6=_0x7bf2[_0x566d0b];return _0x5c32b6;};'use strict';var _=require(_0x27bf('0x0'));var util=require(_0x27bf('0x1'));var moment=require('moment');var BPromise=require(_0x27bf('0x2'));var rs=require(_0x27bf('0x3'));var fs=require('fs');var Redis=require(_0x27bf('0x4'));var db=require('../../mysqldb')['db'];var utils=require(_0x27bf('0x5'));var logger=require('../../config/logger')(_0x27bf('0x6'));var config=require(_0x27bf('0x7'));var jayson=require(_0x27bf('0x8'));var client=jayson[_0x27bf('0x9')][_0x27bf('0xa')]({'port':0x232a});config[_0x27bf('0xb')]=_[_0x27bf('0xc')](config[_0x27bf('0xb')],{'host':_0x27bf('0xd'),'port':0x18eb});var socket=require(_0x27bf('0xe'))(new Redis(config[_0x27bf('0xb')]));require('./chatQueue.socket')['register'](socket);function respondWithRpcPromise(_0x2c6544,_0x3a48a8,_0x1fb6d8){return new BPromise(function(_0x320fee,_0x2f3c38){return client['request'](_0x2c6544,_0x1fb6d8)[_0x27bf('0xf')](function(_0x462326){logger[_0x27bf('0x10')](_0x27bf('0x11'),_0x3a48a8,_0x27bf('0x12'));logger[_0x27bf('0x13')]('ChatQueue,\x20%s,\x20%s,\x20%s',_0x3a48a8,_0x27bf('0x12'),JSON[_0x27bf('0x14')](_0x462326));if(_0x462326[_0x27bf('0x15')]){if(_0x462326['error'][_0x27bf('0x16')]===0x1f4){logger[_0x27bf('0x15')](_0x27bf('0x11'),_0x3a48a8,_0x462326[_0x27bf('0x15')][_0x27bf('0x17')]);return _0x2f3c38(_0x462326['error'][_0x27bf('0x17')]);}logger['error'](_0x27bf('0x11'),_0x3a48a8,_0x462326[_0x27bf('0x15')][_0x27bf('0x17')]);return _0x320fee(_0x462326[_0x27bf('0x15')][_0x27bf('0x17')]);}else{logger[_0x27bf('0x10')](_0x27bf('0x11'),_0x3a48a8,_0x27bf('0x12'));_0x320fee(_0x462326[_0x27bf('0x18')][_0x27bf('0x17')]);}})[_0x27bf('0x19')](function(_0x19b4e3){logger[_0x27bf('0x15')](_0x27bf('0x11'),_0x3a48a8,_0x19b4e3);_0x2f3c38(_0x19b4e3);});});}exports['GetChatQueue']=function(_0x56e82d){var _0xd14bad=this;return new Promise(function(_0x64735,_0x23fbce){return db[_0x27bf('0x1a')]['findAll']({'raw':_0x56e82d[_0x27bf('0x1b')]?_0x56e82d[_0x27bf('0x1b')][_0x27bf('0x1c')]===undefined?!![]:![]:!![],'where':_0x56e82d[_0x27bf('0x1b')]?_0x56e82d[_0x27bf('0x1b')][_0x27bf('0x1d')]||null:null,'attributes':_0x56e82d[_0x27bf('0x1b')]?_0x56e82d[_0x27bf('0x1b')][_0x27bf('0x1e')]||null:null,'limit':_0x56e82d[_0x27bf('0x1b')]?_0x56e82d[_0x27bf('0x1b')][_0x27bf('0x1f')]||null:null,'include':_0x56e82d[_0x27bf('0x1b')]?_0x56e82d[_0x27bf('0x1b')][_0x27bf('0x20')]?_['map'](_0x56e82d[_0x27bf('0x1b')][_0x27bf('0x20')],function(_0x1ea48c){return{'model':db[_0x1ea48c[_0x27bf('0x21')]],'as':_0x1ea48c['as'],'attributes':_0x1ea48c[_0x27bf('0x1e')],'include':_0x1ea48c[_0x27bf('0x20')]?_[_0x27bf('0x22')](_0x1ea48c[_0x27bf('0x20')],function(_0x54635a){return{'model':db[_0x54635a[_0x27bf('0x21')]],'as':_0x54635a['as'],'attributes':_0x54635a['attributes'],'include':_0x54635a[_0x27bf('0x20')]?_[_0x27bf('0x22')](_0x54635a[_0x27bf('0x20')],function(_0x29d9b2){return{'model':db[_0x29d9b2[_0x27bf('0x21')]],'as':_0x29d9b2['as'],'attributes':_0x29d9b2[_0x27bf('0x1e')]};}):[]};}):[]};}):[]:[]})[_0x27bf('0xf')](function(_0x16b71e){logger[_0x27bf('0x10')](_0x27bf('0x23'),_0x56e82d);logger[_0x27bf('0x13')](_0x27bf('0x23'),_0x56e82d,JSON[_0x27bf('0x14')](_0x16b71e));_0x64735(_0x16b71e);})['catch'](function(_0x52ada0){logger[_0x27bf('0x15')](_0x27bf('0x23'),_0x52ada0['message'],_0x56e82d);_0x23fbce(_0xd14bad[_0x27bf('0x15')](0x1f4,_0x52ada0['message']));});});};exports[_0x27bf('0x24')]=function(_0x2081e2){var _0x505bf0=this;return new Promise(function(_0xa8279d,_0xe72ab8){return db['ChatQueue'][_0x27bf('0x25')]({'raw':_0x2081e2['options']?_0x2081e2['options']['raw']===undefined?!![]:![]:!![],'where':_0x2081e2[_0x27bf('0x1b')]?_0x2081e2[_0x27bf('0x1b')][_0x27bf('0x1d')]||null:null,'attributes':_0x2081e2[_0x27bf('0x1b')]?_0x2081e2['options'][_0x27bf('0x1e')]||null:null,'include':_0x2081e2['options']?_0x2081e2[_0x27bf('0x1b')][_0x27bf('0x20')]?_[_0x27bf('0x22')](_0x2081e2['options'][_0x27bf('0x20')],function(_0x3cb61b){return{'model':db[_0x3cb61b[_0x27bf('0x21')]],'as':_0x3cb61b['as'],'attributes':_0x3cb61b[_0x27bf('0x1e')],'include':_0x3cb61b[_0x27bf('0x20')]?_['map'](_0x3cb61b[_0x27bf('0x20')],function(_0x2c88e5){return{'model':db[_0x2c88e5[_0x27bf('0x21')]],'as':_0x2c88e5['as'],'attributes':_0x2c88e5[_0x27bf('0x1e')],'include':_0x2c88e5[_0x27bf('0x20')]?_[_0x27bf('0x22')](_0x2c88e5[_0x27bf('0x20')],function(_0x26c68d){return{'model':db[_0x26c68d['model']],'as':_0x26c68d['as'],'attributes':_0x26c68d[_0x27bf('0x1e')]};}):[]};}):[]};}):[]:[]})['then'](function(_0x12c240){logger['info'](_0x27bf('0x24'),_0x2081e2);logger[_0x27bf('0x13')](_0x27bf('0x24'),_0x2081e2,JSON['stringify'](_0x12c240));_0xa8279d(_0x12c240);})[_0x27bf('0x19')](function(_0x344056){logger[_0x27bf('0x15')]('ShowChatQueue',_0x344056[_0x27bf('0x17')],_0x2081e2);_0xe72ab8(_0x505bf0[_0x27bf('0x15')](0x1f4,_0x344056[_0x27bf('0x17')]));});});}; \ No newline at end of file +var _0x00a4=['lodash','util','moment','bluebird','randomstring','../../mysqldb','../../config/logger','rpc','jayson/promise','redis','defaults','localhost','socket.io-emitter','./chatQueue.socket','register','request','then','info','ChatQueue,\x20%s,\x20%s','request\x20sent','ChatQueue,\x20%s,\x20%s,\x20%s','code','error','message','result','catch','GetChatQueue','ChatQueue','options','where','attributes','include','map','model','debug','stringify','ShowChatQueue','find','raw'];(function(_0x246a25,_0x2c0c46){var _0x5996f4=function(_0x5ae4bb){while(--_0x5ae4bb){_0x246a25['push'](_0x246a25['shift']());}};_0x5996f4(++_0x2c0c46);}(_0x00a4,0x186));var _0x400a=function(_0x2dafbe,_0x5d04de){_0x2dafbe=_0x2dafbe-0x0;var _0x58a45a=_0x00a4[_0x2dafbe];return _0x58a45a;};'use strict';var _=require(_0x400a('0x0'));var util=require(_0x400a('0x1'));var moment=require(_0x400a('0x2'));var BPromise=require(_0x400a('0x3'));var rs=require(_0x400a('0x4'));var fs=require('fs');var Redis=require('ioredis');var db=require(_0x400a('0x5'))['db'];var utils=require('../../config/utils');var logger=require(_0x400a('0x6'))(_0x400a('0x7'));var config=require('../../config/environment');var jayson=require(_0x400a('0x8'));var client=jayson['client']['http']({'port':0x232a});config[_0x400a('0x9')]=_[_0x400a('0xa')](config[_0x400a('0x9')],{'host':_0x400a('0xb'),'port':0x18eb});var socket=require(_0x400a('0xc'))(new Redis(config['redis']));require(_0x400a('0xd'))[_0x400a('0xe')](socket);function respondWithRpcPromise(_0x4d938b,_0x4c2f86,_0x46a01b){return new BPromise(function(_0x5cdc4b,_0x5020d4){return client[_0x400a('0xf')](_0x4d938b,_0x46a01b)[_0x400a('0x10')](function(_0x186de4){logger[_0x400a('0x11')](_0x400a('0x12'),_0x4c2f86,_0x400a('0x13'));logger['debug'](_0x400a('0x14'),_0x4c2f86,_0x400a('0x13'),JSON['stringify'](_0x186de4));if(_0x186de4['error']){if(_0x186de4['error'][_0x400a('0x15')]===0x1f4){logger[_0x400a('0x16')](_0x400a('0x12'),_0x4c2f86,_0x186de4[_0x400a('0x16')][_0x400a('0x17')]);return _0x5020d4(_0x186de4[_0x400a('0x16')]['message']);}logger[_0x400a('0x16')](_0x400a('0x12'),_0x4c2f86,_0x186de4[_0x400a('0x16')][_0x400a('0x17')]);return _0x5cdc4b(_0x186de4[_0x400a('0x16')][_0x400a('0x17')]);}else{logger[_0x400a('0x11')]('ChatQueue,\x20%s,\x20%s',_0x4c2f86,_0x400a('0x13'));_0x5cdc4b(_0x186de4[_0x400a('0x18')][_0x400a('0x17')]);}})[_0x400a('0x19')](function(_0x322344){logger[_0x400a('0x16')]('ChatQueue,\x20%s,\x20%s',_0x4c2f86,_0x322344);_0x5020d4(_0x322344);});});}exports[_0x400a('0x1a')]=function(_0x3188e0){var _0x414c3b=this;return new Promise(function(_0x4e156b,_0xd7e75d){return db[_0x400a('0x1b')]['findAll']({'raw':_0x3188e0['options']?_0x3188e0[_0x400a('0x1c')]['raw']===undefined?!![]:![]:!![],'where':_0x3188e0[_0x400a('0x1c')]?_0x3188e0[_0x400a('0x1c')][_0x400a('0x1d')]||null:null,'attributes':_0x3188e0[_0x400a('0x1c')]?_0x3188e0[_0x400a('0x1c')][_0x400a('0x1e')]||null:null,'limit':_0x3188e0[_0x400a('0x1c')]?_0x3188e0[_0x400a('0x1c')]['limit']||null:null,'include':_0x3188e0['options']?_0x3188e0[_0x400a('0x1c')][_0x400a('0x1f')]?_[_0x400a('0x20')](_0x3188e0[_0x400a('0x1c')][_0x400a('0x1f')],function(_0x51edd7){return{'model':db[_0x51edd7[_0x400a('0x21')]],'as':_0x51edd7['as'],'attributes':_0x51edd7[_0x400a('0x1e')],'include':_0x51edd7[_0x400a('0x1f')]?_['map'](_0x51edd7[_0x400a('0x1f')],function(_0x3f8a81){return{'model':db[_0x3f8a81[_0x400a('0x21')]],'as':_0x3f8a81['as'],'attributes':_0x3f8a81['attributes'],'include':_0x3f8a81[_0x400a('0x1f')]?_[_0x400a('0x20')](_0x3f8a81[_0x400a('0x1f')],function(_0x3e7c43){return{'model':db[_0x3e7c43[_0x400a('0x21')]],'as':_0x3e7c43['as'],'attributes':_0x3e7c43[_0x400a('0x1e')]};}):[]};}):[]};}):[]:[]})[_0x400a('0x10')](function(_0x187e5f){logger[_0x400a('0x11')]('GetChatQueue',_0x3188e0);logger[_0x400a('0x22')](_0x400a('0x1a'),_0x3188e0,JSON[_0x400a('0x23')](_0x187e5f));_0x4e156b(_0x187e5f);})[_0x400a('0x19')](function(_0x1597e4){logger[_0x400a('0x16')](_0x400a('0x1a'),_0x1597e4['message'],_0x3188e0);_0xd7e75d(_0x414c3b[_0x400a('0x16')](0x1f4,_0x1597e4['message']));});});};exports[_0x400a('0x24')]=function(_0x1afd1d){var _0x566f8c=this;return new Promise(function(_0x1a666d,_0x54d9c8){return db[_0x400a('0x1b')][_0x400a('0x25')]({'raw':_0x1afd1d['options']?_0x1afd1d[_0x400a('0x1c')][_0x400a('0x26')]===undefined?!![]:![]:!![],'where':_0x1afd1d[_0x400a('0x1c')]?_0x1afd1d[_0x400a('0x1c')][_0x400a('0x1d')]||null:null,'attributes':_0x1afd1d['options']?_0x1afd1d[_0x400a('0x1c')][_0x400a('0x1e')]||null:null,'include':_0x1afd1d['options']?_0x1afd1d[_0x400a('0x1c')]['include']?_[_0x400a('0x20')](_0x1afd1d[_0x400a('0x1c')][_0x400a('0x1f')],function(_0x115881){return{'model':db[_0x115881['model']],'as':_0x115881['as'],'attributes':_0x115881['attributes'],'include':_0x115881[_0x400a('0x1f')]?_[_0x400a('0x20')](_0x115881[_0x400a('0x1f')],function(_0x286029){return{'model':db[_0x286029[_0x400a('0x21')]],'as':_0x286029['as'],'attributes':_0x286029['attributes'],'include':_0x286029[_0x400a('0x1f')]?_['map'](_0x286029[_0x400a('0x1f')],function(_0x6bf8b6){return{'model':db[_0x6bf8b6['model']],'as':_0x6bf8b6['as'],'attributes':_0x6bf8b6[_0x400a('0x1e')]};}):[]};}):[]};}):[]:[]})['then'](function(_0x31cd31){logger['info'](_0x400a('0x24'),_0x1afd1d);logger[_0x400a('0x22')]('ShowChatQueue',_0x1afd1d,JSON['stringify'](_0x31cd31));_0x1a666d(_0x31cd31);})['catch'](function(_0x577a88){logger[_0x400a('0x16')](_0x400a('0x24'),_0x577a88[_0x400a('0x17')],_0x1afd1d);_0x54d9c8(_0x566f8c['error'](0x1f4,_0x577a88['message']));});});}; \ No newline at end of file diff --git a/server/api/chatQueue/chatQueue.socket.js b/server/api/chatQueue/chatQueue.socket.js index f291cca..d71bbc8 100644 --- a/server/api/chatQueue/chatQueue.socket.js +++ b/server/api/chatQueue/chatQueue.socket.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x0b0e=['chatQueue:','./chatQueue.events','remove','emit','removeListener','register'];(function(_0x327db6,_0x29392c){var _0x12d636=function(_0x211a57){while(--_0x211a57){_0x327db6['push'](_0x327db6['shift']());}};_0x12d636(++_0x29392c);}(_0x0b0e,0x187));var _0xe0b0=function(_0x5c3ae9,_0x450f9a){_0x5c3ae9=_0x5c3ae9-0x0;var _0x3f5950=_0x0b0e[_0x5c3ae9];return _0x3f5950;};'use strict';var ChatQueueEvents=require(_0xe0b0('0x0'));var events=['save',_0xe0b0('0x1'),'update'];function createListener(_0x7e5a8a,_0xdf715e){return function(_0x3b5e2b){_0xdf715e[_0xe0b0('0x2')](_0x7e5a8a,_0x3b5e2b);};}function removeListener(_0x28040c,_0x38a058){return function(){ChatQueueEvents[_0xe0b0('0x3')](_0x28040c,_0x38a058);};}exports[_0xe0b0('0x4')]=function(_0x30e20d){for(var _0x28e40f=0x0,_0x219b1c=events['length'];_0x28e40f<_0x219b1c;_0x28e40f++){var _0x50be7f=events[_0x28e40f];var _0x11effc=createListener(_0xe0b0('0x5')+_0x50be7f,_0x30e20d);ChatQueueEvents['on'](_0x50be7f,_0x11effc);}}; \ No newline at end of file +var _0x0b0e=['chatQueue:','./chatQueue.events','remove','emit','removeListener','register'];(function(_0x2d88f9,_0x36716b){var _0x1f0831=function(_0x3bb4a5){while(--_0x3bb4a5){_0x2d88f9['push'](_0x2d88f9['shift']());}};_0x1f0831(++_0x36716b);}(_0x0b0e,0x187));var _0xe0b0=function(_0x29d2d2,_0x3344){_0x29d2d2=_0x29d2d2-0x0;var _0x3f6476=_0x0b0e[_0x29d2d2];return _0x3f6476;};'use strict';var ChatQueueEvents=require(_0xe0b0('0x0'));var events=['save',_0xe0b0('0x1'),'update'];function createListener(_0x7e5a8a,_0xdf715e){return function(_0x3b5e2b){_0xdf715e[_0xe0b0('0x2')](_0x7e5a8a,_0x3b5e2b);};}function removeListener(_0x28040c,_0x38a058){return function(){ChatQueueEvents[_0xe0b0('0x3')](_0x28040c,_0x38a058);};}exports[_0xe0b0('0x4')]=function(_0x30e20d){for(var _0x28e40f=0x0,_0x219b1c=events['length'];_0x28e40f<_0x219b1c;_0x28e40f++){var _0x50be7f=events[_0x28e40f];var _0x11effc=createListener(_0xe0b0('0x5')+_0x50be7f,_0x30e20d);ChatQueueEvents['on'](_0x50be7f,_0x11effc);}}; \ No newline at end of file diff --git a/server/api/chatQueue/index.js b/server/api/chatQueue/index.js index 07089d1..803e7a9 100644 --- a/server/api/chatQueue/index.js +++ b/server/api/chatQueue/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x94d0=['removeAgents','exports','multer','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatQueue.controller','isAuthenticated','index','get','/describe','describe','/:id','show','/:id/members','getMembers','/:id/teams','getTeams','/:id/users','create','post','addTeams','addAgents','put','delete','destroy'];(function(_0x3e429d,_0x125d0d){var _0x167cf1=function(_0x44d496){while(--_0x44d496){_0x3e429d['push'](_0x3e429d['shift']());}};_0x167cf1(++_0x125d0d);}(_0x94d0,0x11a));var _0x094d=function(_0x27bf08,_0x41870e){_0x27bf08=_0x27bf08-0x0;var _0x492f26=_0x94d0[_0x27bf08];return _0x492f26;};'use strict';var multer=require(_0x094d('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x094d('0x1'));var express=require('express');var router=express[_0x094d('0x2')]();var auth=require(_0x094d('0x3'));var interaction=require(_0x094d('0x4'));var config=require(_0x094d('0x5'));var controller=require(_0x094d('0x6'));router['get']('/',auth[_0x094d('0x7')](),controller[_0x094d('0x8')]);router[_0x094d('0x9')](_0x094d('0xa'),auth[_0x094d('0x7')](),controller[_0x094d('0xb')]);router[_0x094d('0x9')](_0x094d('0xc'),auth['isAuthenticated'](),controller[_0x094d('0xd')]);router['get'](_0x094d('0xe'),auth['isAuthenticated'](),controller[_0x094d('0xf')]);router['get'](_0x094d('0x10'),auth[_0x094d('0x7')](),controller[_0x094d('0x11')]);router[_0x094d('0x9')](_0x094d('0x12'),auth['isAuthenticated'](),controller['getAgents']);router['post']('/',auth[_0x094d('0x7')](),controller[_0x094d('0x13')]);router[_0x094d('0x14')](_0x094d('0x10'),auth[_0x094d('0x7')](),controller[_0x094d('0x15')]);router['post']('/:id/users',auth[_0x094d('0x7')](),controller[_0x094d('0x16')]);router[_0x094d('0x17')](_0x094d('0xc'),auth[_0x094d('0x7')](),controller['update']);router[_0x094d('0x18')](_0x094d('0xc'),auth['isAuthenticated'](),controller[_0x094d('0x19')]);router[_0x094d('0x18')]('/:id/teams',auth[_0x094d('0x7')](),controller['removeTeams']);router[_0x094d('0x18')](_0x094d('0x12'),auth['isAuthenticated'](),controller[_0x094d('0x1a')]);module[_0x094d('0x1b')]=router; \ No newline at end of file +var _0x7872=['../../config/environment','./chatQueue.controller','get','isAuthenticated','/describe','/:id','show','/:id/members','getMembers','/:id/teams','getTeams','/:id/users','getAgents','post','create','addTeams','addAgents','update','destroy','delete','removeTeams','removeAgents','exports','multer','util','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service'];(function(_0x4f4528,_0x155eac){var _0x1a17d9=function(_0x5318e9){while(--_0x5318e9){_0x4f4528['push'](_0x4f4528['shift']());}};_0x1a17d9(++_0x155eac);}(_0x7872,0xe9));var _0x2787=function(_0x25563d,_0x5c1eed){_0x25563d=_0x25563d-0x0;var _0xbb96e0=_0x7872[_0x25563d];return _0xbb96e0;};'use strict';var multer=require(_0x2787('0x0'));var util=require(_0x2787('0x1'));var path=require(_0x2787('0x2'));var timeout=require(_0x2787('0x3'));var express=require(_0x2787('0x4'));var router=express['Router']();var auth=require(_0x2787('0x5'));var interaction=require(_0x2787('0x6'));var config=require(_0x2787('0x7'));var controller=require(_0x2787('0x8'));router[_0x2787('0x9')]('/',auth[_0x2787('0xa')](),controller['index']);router[_0x2787('0x9')](_0x2787('0xb'),auth['isAuthenticated'](),controller['describe']);router[_0x2787('0x9')](_0x2787('0xc'),auth[_0x2787('0xa')](),controller[_0x2787('0xd')]);router[_0x2787('0x9')](_0x2787('0xe'),auth[_0x2787('0xa')](),controller[_0x2787('0xf')]);router[_0x2787('0x9')](_0x2787('0x10'),auth['isAuthenticated'](),controller[_0x2787('0x11')]);router[_0x2787('0x9')](_0x2787('0x12'),auth[_0x2787('0xa')](),controller[_0x2787('0x13')]);router[_0x2787('0x14')]('/',auth[_0x2787('0xa')](),controller[_0x2787('0x15')]);router[_0x2787('0x14')](_0x2787('0x10'),auth[_0x2787('0xa')](),controller[_0x2787('0x16')]);router[_0x2787('0x14')]('/:id/users',auth[_0x2787('0xa')](),controller[_0x2787('0x17')]);router['put']('/:id',auth['isAuthenticated'](),controller[_0x2787('0x18')]);router['delete'](_0x2787('0xc'),auth['isAuthenticated'](),controller[_0x2787('0x19')]);router[_0x2787('0x1a')]('/:id/teams',auth[_0x2787('0xa')](),controller[_0x2787('0x1b')]);router[_0x2787('0x1a')](_0x2787('0x12'),auth['isAuthenticated'](),controller[_0x2787('0x1c')]);module[_0x2787('0x1d')]=router; \ No newline at end of file diff --git a/server/api/chatQueueReport/chatQueueReport.attributes.js b/server/api/chatQueueReport/chatQueueReport.attributes.js index 511e092..a6bd87a 100644 --- a/server/api/chatQueueReport/chatQueueReport.attributes.js +++ b/server/api/chatQueueReport/chatQueueReport.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xfa59=['exports','STRING','DATE','moment'];(function(_0x1f0679,_0x53d43c){var _0x3dc3a4=function(_0x49ba8f){while(--_0x49ba8f){_0x1f0679['push'](_0x1f0679['shift']());}};_0x3dc3a4(++_0x53d43c);}(_0xfa59,0x183));var _0x9fa5=function(_0x17d9e3,_0x1f969c){_0x17d9e3=_0x17d9e3-0x0;var _0x14192d=_0xfa59[_0x17d9e3];return _0x14192d;};'use strict';var moment=require(_0x9fa5('0x0'));var Sequelize=require('sequelize');module[_0x9fa5('0x1')]={'uniqueid':{'type':Sequelize[_0x9fa5('0x2')],'allowNull':![]},'from':{'type':Sequelize[_0x9fa5('0x2')]},'joinAt':{'type':Sequelize[_0x9fa5('0x3')]},'leaveAt':{'type':Sequelize[_0x9fa5('0x3')]},'acceptAt':{'type':Sequelize[_0x9fa5('0x3')]},'exitAt':{'type':Sequelize['DATE']},'reason':{'type':Sequelize[_0x9fa5('0x2')]}}; \ No newline at end of file +var _0x7956=['STRING','DATE','sequelize','exports'];(function(_0x2c210b,_0x20c78a){var _0x1b47fa=function(_0x1956f2){while(--_0x1956f2){_0x2c210b['push'](_0x2c210b['shift']());}};_0x1b47fa(++_0x20c78a);}(_0x7956,0xaa));var _0x6795=function(_0x423356,_0x555fd6){_0x423356=_0x423356-0x0;var _0x523fe5=_0x7956[_0x423356];return _0x523fe5;};'use strict';var moment=require('moment');var Sequelize=require(_0x6795('0x0'));module[_0x6795('0x1')]={'uniqueid':{'type':Sequelize['STRING'],'allowNull':![]},'from':{'type':Sequelize[_0x6795('0x2')]},'joinAt':{'type':Sequelize[_0x6795('0x3')]},'leaveAt':{'type':Sequelize[_0x6795('0x3')]},'acceptAt':{'type':Sequelize['DATE']},'exitAt':{'type':Sequelize[_0x6795('0x3')]},'reason':{'type':Sequelize[_0x6795('0x2')]}}; \ No newline at end of file diff --git a/server/api/chatQueueReport/chatQueueReport.controller.js b/server/api/chatQueueReport/chatQueueReport.controller.js index fff9758..495d52e 100644 --- a/server/api/chatQueueReport/chatQueueReport.controller.js +++ b/server/api/chatQueueReport/chatQueueReport.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xe706=['catch','create','body','destroy','describe','html-pdf','eml-format','rimraf','fast-json-patch','request-promise','moment','bluebird','mustache','util','path','sox','to-csv','ejs','lodash','squel','crypto','jsforce','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','../../config/environment','../../mysqldb','sendStatus','status','end','count','limit','set','Content-Range','apply','reject','save','update','then','stack','name','send','index','map','rawAttributes','fieldName','type','key','model','query','keys','filters','attributes','intersection','fields','length','hasOwnProperty','nolimit','offset','sort','where','pick','filter','merge','VIRTUAL','ChatQueueReport','include','findAll','rows','params','includeAll','options','find'];(function(_0x4c30aa,_0x3eb80d){var _0x2bec78=function(_0x580287){while(--_0x580287){_0x4c30aa['push'](_0x4c30aa['shift']());}};_0x2bec78(++_0x3eb80d);}(_0xe706,0xa3));var _0x6e70=function(_0x5a25b6,_0x27f5d5){_0x5a25b6=_0x5a25b6-0x0;var _0x2414b0=_0xe706[_0x5a25b6];return _0x2414b0;};'use strict';var pdf=require(_0x6e70('0x0'));var emlformat=require(_0x6e70('0x1'));var rimraf=require(_0x6e70('0x2'));var zipdir=require('zip-dir');var jsonpatch=require(_0x6e70('0x3'));var rp=require(_0x6e70('0x4'));var moment=require(_0x6e70('0x5'));var BPromise=require(_0x6e70('0x6'));var Mustache=require(_0x6e70('0x7'));var util=require(_0x6e70('0x8'));var path=require(_0x6e70('0x9'));var sox=require(_0x6e70('0xa'));var csv=require(_0x6e70('0xb'));var ejs=require(_0x6e70('0xc'));var fs=require('fs');var _=require(_0x6e70('0xd'));var squel=require(_0x6e70('0xe'));var crypto=require(_0x6e70('0xf'));var jsforce=require(_0x6e70('0x10'));var deskjs=require(_0x6e70('0x11'));var toCsv=require(_0x6e70('0xb'));var querystring=require(_0x6e70('0x12'));var Papa=require(_0x6e70('0x13'));var Redis=require(_0x6e70('0x14'));var authService=require(_0x6e70('0x15'));var qs=require(_0x6e70('0x16'));var as=require(_0x6e70('0x17'));var hardwareService=require(_0x6e70('0x18'));var logger=require(_0x6e70('0x19'))('api');var utils=require('../../config/utils');var config=require(_0x6e70('0x1a'));var db=require(_0x6e70('0x1b'))['db'];function respondWithStatusCode(_0x18cf27,_0x27dd9b){_0x27dd9b=_0x27dd9b||0xcc;return function(_0x3b38f3){if(_0x3b38f3){return _0x18cf27[_0x6e70('0x1c')](_0x27dd9b);}return _0x18cf27[_0x6e70('0x1d')](_0x27dd9b)[_0x6e70('0x1e')]();};}function respondWithResult(_0x5dfbaa,_0x52737e){_0x52737e=_0x52737e||0xc8;return function(_0x48bc72){if(_0x48bc72){return _0x5dfbaa[_0x6e70('0x1d')](_0x52737e)['json'](_0x48bc72);}};}function respondWithFilteredResult(_0x53aed0,_0x304716){return function(_0x22c50c){if(_0x22c50c){var _0x5d9263=_0x22c50c[_0x6e70('0x1f')],_0x24f3ac=_0x304716['offset'],_0x5c3fe7=_0x304716['offset']+_0x304716[_0x6e70('0x20')],_0x2efc0f;if(_0x5c3fe7>=_0x5d9263){_0x5c3fe7=_0x5d9263;_0x2efc0f=0xc8;}else{_0x2efc0f=0xce;}_0x53aed0['status'](_0x2efc0f);return _0x53aed0[_0x6e70('0x21')](_0x6e70('0x22'),_0x24f3ac+'-'+_0x5c3fe7+'/'+_0x5d9263)['json'](_0x22c50c);}return null;};}function patchUpdates(_0x497d61){return function(_0xc238ba){try{jsonpatch[_0x6e70('0x23')](_0xc238ba,_0x497d61,!![]);}catch(_0x2368eb){return BPromise[_0x6e70('0x24')](_0x2368eb);}return _0xc238ba[_0x6e70('0x25')]();};}function saveUpdates(_0xcdf9f2,_0x1b2453){return function(_0x44a49f){if(_0x44a49f){return _0x44a49f[_0x6e70('0x26')](_0xcdf9f2)[_0x6e70('0x27')](function(_0x4a0cfe){return _0x4a0cfe;});}return null;};}function removeEntity(_0x228350,_0x344b65){return function(_0x27b294){if(_0x27b294){return _0x27b294['destroy']()[_0x6e70('0x27')](function(){_0x228350[_0x6e70('0x1d')](0xcc)[_0x6e70('0x1e')]();});}};}function handleEntityNotFound(_0x50da2c,_0x10fc91){return function(_0x538b9c){if(!_0x538b9c){_0x50da2c['sendStatus'](0x194);}return _0x538b9c;};}function handleError(_0x4e97c7,_0x41e352){_0x41e352=_0x41e352||0x1f4;return function(_0x19c5ae){logger['error'](_0x19c5ae[_0x6e70('0x28')]);if(_0x19c5ae[_0x6e70('0x29')]){delete _0x19c5ae['name'];}_0x4e97c7[_0x6e70('0x1d')](_0x41e352)[_0x6e70('0x2a')](_0x19c5ae);};}exports[_0x6e70('0x2b')]=function(_0x4a67ac,_0x54a5fe){var _0x2c4d37={},_0x3af17f={},_0x83c836={'count':0x0,'rows':[]};var _0x114344=_[_0x6e70('0x2c')](db['ChatQueueReport'][_0x6e70('0x2d')],function(_0x406f29){return{'name':_0x406f29[_0x6e70('0x2e')],'type':_0x406f29[_0x6e70('0x2f')][_0x6e70('0x30')]};});_0x3af17f[_0x6e70('0x31')]=_[_0x6e70('0x2c')](_0x114344,_0x6e70('0x29'));_0x3af17f[_0x6e70('0x32')]=_[_0x6e70('0x33')](_0x4a67ac['query']);_0x3af17f[_0x6e70('0x34')]=_['intersection'](_0x3af17f[_0x6e70('0x31')],_0x3af17f['query']);_0x2c4d37[_0x6e70('0x35')]=_[_0x6e70('0x36')](_0x3af17f[_0x6e70('0x31')],qs['fields'](_0x4a67ac[_0x6e70('0x32')][_0x6e70('0x37')]));_0x2c4d37['attributes']=_0x2c4d37[_0x6e70('0x35')][_0x6e70('0x38')]?_0x2c4d37['attributes']:_0x3af17f[_0x6e70('0x31')];if(!_0x4a67ac[_0x6e70('0x32')][_0x6e70('0x39')](_0x6e70('0x3a'))){_0x2c4d37[_0x6e70('0x20')]=qs[_0x6e70('0x20')](_0x4a67ac[_0x6e70('0x32')][_0x6e70('0x20')]);_0x2c4d37[_0x6e70('0x3b')]=qs[_0x6e70('0x3b')](_0x4a67ac['query'][_0x6e70('0x3b')]);}_0x2c4d37['order']=qs[_0x6e70('0x3c')](_0x4a67ac[_0x6e70('0x32')][_0x6e70('0x3c')]);_0x2c4d37[_0x6e70('0x3d')]=qs[_0x6e70('0x34')](_[_0x6e70('0x3e')](_0x4a67ac[_0x6e70('0x32')],_0x3af17f[_0x6e70('0x34')]),_0x114344);if(_0x4a67ac[_0x6e70('0x32')][_0x6e70('0x3f')]){_0x2c4d37[_0x6e70('0x3d')]=_[_0x6e70('0x40')](_0x2c4d37[_0x6e70('0x3d')],{'$or':_['map'](_0x114344,function(_0x5446a2){if(_0x5446a2['type']!==_0x6e70('0x41')){var _0x3841a0={};_0x3841a0[_0x5446a2[_0x6e70('0x29')]]={'$like':'%'+_0x4a67ac[_0x6e70('0x32')][_0x6e70('0x3f')]+'%'};return _0x3841a0;}})});}_0x2c4d37=_[_0x6e70('0x40')]({},_0x2c4d37,_0x4a67ac['options']);var _0x3b508c={'where':_0x2c4d37[_0x6e70('0x3d')]};return db[_0x6e70('0x42')][_0x6e70('0x1f')](_0x3b508c)[_0x6e70('0x27')](function(_0x37bf46){_0x83c836[_0x6e70('0x1f')]=_0x37bf46;if(_0x4a67ac[_0x6e70('0x32')]['includeAll']){_0x2c4d37[_0x6e70('0x43')]=[{'all':!![]}];}return db[_0x6e70('0x42')][_0x6e70('0x44')](_0x2c4d37);})[_0x6e70('0x27')](function(_0x201da9){_0x83c836[_0x6e70('0x45')]=_0x201da9;return _0x83c836;})[_0x6e70('0x27')](respondWithFilteredResult(_0x54a5fe,_0x2c4d37))['catch'](handleError(_0x54a5fe,null));};exports['show']=function(_0x5ae898,_0x154e0c){var _0x2b63cc={'raw':!![],'where':{'id':_0x5ae898[_0x6e70('0x46')]['id']}},_0x83847b={};_0x83847b[_0x6e70('0x31')]=_['keys'](db[_0x6e70('0x42')][_0x6e70('0x2d')]);_0x83847b[_0x6e70('0x32')]=_['keys'](_0x5ae898['query']);_0x83847b['filters']=_[_0x6e70('0x36')](_0x83847b['model'],_0x83847b[_0x6e70('0x32')]);_0x2b63cc[_0x6e70('0x35')]=_[_0x6e70('0x36')](_0x83847b[_0x6e70('0x31')],qs['fields'](_0x5ae898[_0x6e70('0x32')]['fields']));_0x2b63cc[_0x6e70('0x35')]=_0x2b63cc[_0x6e70('0x35')][_0x6e70('0x38')]?_0x2b63cc[_0x6e70('0x35')]:_0x83847b['model'];if(_0x5ae898[_0x6e70('0x32')][_0x6e70('0x47')]){_0x2b63cc[_0x6e70('0x43')]=[{'all':!![]}];}_0x2b63cc=_[_0x6e70('0x40')]({},_0x2b63cc,_0x5ae898[_0x6e70('0x48')]);return db[_0x6e70('0x42')][_0x6e70('0x49')](_0x2b63cc)['then'](handleEntityNotFound(_0x154e0c,null))[_0x6e70('0x27')](respondWithResult(_0x154e0c,null))[_0x6e70('0x4a')](handleError(_0x154e0c,null));};exports[_0x6e70('0x4b')]=function(_0x2f99cb,_0x3f86cf){return db[_0x6e70('0x42')][_0x6e70('0x4b')](_0x2f99cb['body'],{})[_0x6e70('0x27')](respondWithResult(_0x3f86cf,0xc9))['catch'](handleError(_0x3f86cf,null));};exports[_0x6e70('0x26')]=function(_0x3836e4,_0x4b351e){if(_0x3836e4['body']['id']){delete _0x3836e4[_0x6e70('0x4c')]['id'];}return db[_0x6e70('0x42')][_0x6e70('0x49')]({'where':{'id':_0x3836e4['params']['id']}})['then'](handleEntityNotFound(_0x4b351e,null))[_0x6e70('0x27')](saveUpdates(_0x3836e4[_0x6e70('0x4c')],null))[_0x6e70('0x27')](respondWithResult(_0x4b351e,null))[_0x6e70('0x4a')](handleError(_0x4b351e,null));};exports[_0x6e70('0x4d')]=function(_0x340674,_0x4ad5a9){return db[_0x6e70('0x42')][_0x6e70('0x49')]({'where':{'id':_0x340674[_0x6e70('0x46')]['id']}})[_0x6e70('0x27')](handleEntityNotFound(_0x4ad5a9,null))[_0x6e70('0x27')](removeEntity(_0x4ad5a9,null))['catch'](handleError(_0x4ad5a9,null));};exports['describe']=function(_0x2c5538,_0x2e3ea6){return db[_0x6e70('0x42')][_0x6e70('0x4e')]()[_0x6e70('0x27')](respondWithResult(_0x2e3ea6,null))['catch'](handleError(_0x2e3ea6,null));}; \ No newline at end of file +var _0xe706=['catch','create','body','destroy','describe','html-pdf','eml-format','rimraf','fast-json-patch','request-promise','moment','bluebird','mustache','util','path','sox','to-csv','ejs','lodash','squel','crypto','jsforce','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','../../config/environment','../../mysqldb','sendStatus','status','end','count','limit','set','Content-Range','apply','reject','save','update','then','stack','name','send','index','map','rawAttributes','fieldName','type','key','model','query','keys','filters','attributes','intersection','fields','length','hasOwnProperty','nolimit','offset','sort','where','pick','filter','merge','VIRTUAL','ChatQueueReport','include','findAll','rows','params','includeAll','options','find'];(function(_0x186a64,_0x48610e){var _0x41fe03=function(_0x3d85a9){while(--_0x3d85a9){_0x186a64['push'](_0x186a64['shift']());}};_0x41fe03(++_0x48610e);}(_0xe706,0xa3));var _0x6e70=function(_0x26c323,_0x559fa7){_0x26c323=_0x26c323-0x0;var _0xaa4f94=_0xe706[_0x26c323];return _0xaa4f94;};'use strict';var pdf=require(_0x6e70('0x0'));var emlformat=require(_0x6e70('0x1'));var rimraf=require(_0x6e70('0x2'));var zipdir=require('zip-dir');var jsonpatch=require(_0x6e70('0x3'));var rp=require(_0x6e70('0x4'));var moment=require(_0x6e70('0x5'));var BPromise=require(_0x6e70('0x6'));var Mustache=require(_0x6e70('0x7'));var util=require(_0x6e70('0x8'));var path=require(_0x6e70('0x9'));var sox=require(_0x6e70('0xa'));var csv=require(_0x6e70('0xb'));var ejs=require(_0x6e70('0xc'));var fs=require('fs');var _=require(_0x6e70('0xd'));var squel=require(_0x6e70('0xe'));var crypto=require(_0x6e70('0xf'));var jsforce=require(_0x6e70('0x10'));var deskjs=require(_0x6e70('0x11'));var toCsv=require(_0x6e70('0xb'));var querystring=require(_0x6e70('0x12'));var Papa=require(_0x6e70('0x13'));var Redis=require(_0x6e70('0x14'));var authService=require(_0x6e70('0x15'));var qs=require(_0x6e70('0x16'));var as=require(_0x6e70('0x17'));var hardwareService=require(_0x6e70('0x18'));var logger=require(_0x6e70('0x19'))('api');var utils=require('../../config/utils');var config=require(_0x6e70('0x1a'));var db=require(_0x6e70('0x1b'))['db'];function respondWithStatusCode(_0x18cf27,_0x27dd9b){_0x27dd9b=_0x27dd9b||0xcc;return function(_0x3b38f3){if(_0x3b38f3){return _0x18cf27[_0x6e70('0x1c')](_0x27dd9b);}return _0x18cf27[_0x6e70('0x1d')](_0x27dd9b)[_0x6e70('0x1e')]();};}function respondWithResult(_0x5dfbaa,_0x52737e){_0x52737e=_0x52737e||0xc8;return function(_0x48bc72){if(_0x48bc72){return _0x5dfbaa[_0x6e70('0x1d')](_0x52737e)['json'](_0x48bc72);}};}function respondWithFilteredResult(_0x53aed0,_0x304716){return function(_0x22c50c){if(_0x22c50c){var _0x5d9263=_0x22c50c[_0x6e70('0x1f')],_0x24f3ac=_0x304716['offset'],_0x5c3fe7=_0x304716['offset']+_0x304716[_0x6e70('0x20')],_0x2efc0f;if(_0x5c3fe7>=_0x5d9263){_0x5c3fe7=_0x5d9263;_0x2efc0f=0xc8;}else{_0x2efc0f=0xce;}_0x53aed0['status'](_0x2efc0f);return _0x53aed0[_0x6e70('0x21')](_0x6e70('0x22'),_0x24f3ac+'-'+_0x5c3fe7+'/'+_0x5d9263)['json'](_0x22c50c);}return null;};}function patchUpdates(_0x497d61){return function(_0xc238ba){try{jsonpatch[_0x6e70('0x23')](_0xc238ba,_0x497d61,!![]);}catch(_0x2368eb){return BPromise[_0x6e70('0x24')](_0x2368eb);}return _0xc238ba[_0x6e70('0x25')]();};}function saveUpdates(_0xcdf9f2,_0x1b2453){return function(_0x44a49f){if(_0x44a49f){return _0x44a49f[_0x6e70('0x26')](_0xcdf9f2)[_0x6e70('0x27')](function(_0x4a0cfe){return _0x4a0cfe;});}return null;};}function removeEntity(_0x228350,_0x344b65){return function(_0x27b294){if(_0x27b294){return _0x27b294['destroy']()[_0x6e70('0x27')](function(){_0x228350[_0x6e70('0x1d')](0xcc)[_0x6e70('0x1e')]();});}};}function handleEntityNotFound(_0x50da2c,_0x10fc91){return function(_0x538b9c){if(!_0x538b9c){_0x50da2c['sendStatus'](0x194);}return _0x538b9c;};}function handleError(_0x4e97c7,_0x41e352){_0x41e352=_0x41e352||0x1f4;return function(_0x19c5ae){logger['error'](_0x19c5ae[_0x6e70('0x28')]);if(_0x19c5ae[_0x6e70('0x29')]){delete _0x19c5ae['name'];}_0x4e97c7[_0x6e70('0x1d')](_0x41e352)[_0x6e70('0x2a')](_0x19c5ae);};}exports[_0x6e70('0x2b')]=function(_0x4a67ac,_0x54a5fe){var _0x2c4d37={},_0x3af17f={},_0x83c836={'count':0x0,'rows':[]};var _0x114344=_[_0x6e70('0x2c')](db['ChatQueueReport'][_0x6e70('0x2d')],function(_0x406f29){return{'name':_0x406f29[_0x6e70('0x2e')],'type':_0x406f29[_0x6e70('0x2f')][_0x6e70('0x30')]};});_0x3af17f[_0x6e70('0x31')]=_[_0x6e70('0x2c')](_0x114344,_0x6e70('0x29'));_0x3af17f[_0x6e70('0x32')]=_[_0x6e70('0x33')](_0x4a67ac['query']);_0x3af17f[_0x6e70('0x34')]=_['intersection'](_0x3af17f[_0x6e70('0x31')],_0x3af17f['query']);_0x2c4d37[_0x6e70('0x35')]=_[_0x6e70('0x36')](_0x3af17f[_0x6e70('0x31')],qs['fields'](_0x4a67ac[_0x6e70('0x32')][_0x6e70('0x37')]));_0x2c4d37['attributes']=_0x2c4d37[_0x6e70('0x35')][_0x6e70('0x38')]?_0x2c4d37['attributes']:_0x3af17f[_0x6e70('0x31')];if(!_0x4a67ac[_0x6e70('0x32')][_0x6e70('0x39')](_0x6e70('0x3a'))){_0x2c4d37[_0x6e70('0x20')]=qs[_0x6e70('0x20')](_0x4a67ac[_0x6e70('0x32')][_0x6e70('0x20')]);_0x2c4d37[_0x6e70('0x3b')]=qs[_0x6e70('0x3b')](_0x4a67ac['query'][_0x6e70('0x3b')]);}_0x2c4d37['order']=qs[_0x6e70('0x3c')](_0x4a67ac[_0x6e70('0x32')][_0x6e70('0x3c')]);_0x2c4d37[_0x6e70('0x3d')]=qs[_0x6e70('0x34')](_[_0x6e70('0x3e')](_0x4a67ac[_0x6e70('0x32')],_0x3af17f[_0x6e70('0x34')]),_0x114344);if(_0x4a67ac[_0x6e70('0x32')][_0x6e70('0x3f')]){_0x2c4d37[_0x6e70('0x3d')]=_[_0x6e70('0x40')](_0x2c4d37[_0x6e70('0x3d')],{'$or':_['map'](_0x114344,function(_0x5446a2){if(_0x5446a2['type']!==_0x6e70('0x41')){var _0x3841a0={};_0x3841a0[_0x5446a2[_0x6e70('0x29')]]={'$like':'%'+_0x4a67ac[_0x6e70('0x32')][_0x6e70('0x3f')]+'%'};return _0x3841a0;}})});}_0x2c4d37=_[_0x6e70('0x40')]({},_0x2c4d37,_0x4a67ac['options']);var _0x3b508c={'where':_0x2c4d37[_0x6e70('0x3d')]};return db[_0x6e70('0x42')][_0x6e70('0x1f')](_0x3b508c)[_0x6e70('0x27')](function(_0x37bf46){_0x83c836[_0x6e70('0x1f')]=_0x37bf46;if(_0x4a67ac[_0x6e70('0x32')]['includeAll']){_0x2c4d37[_0x6e70('0x43')]=[{'all':!![]}];}return db[_0x6e70('0x42')][_0x6e70('0x44')](_0x2c4d37);})[_0x6e70('0x27')](function(_0x201da9){_0x83c836[_0x6e70('0x45')]=_0x201da9;return _0x83c836;})[_0x6e70('0x27')](respondWithFilteredResult(_0x54a5fe,_0x2c4d37))['catch'](handleError(_0x54a5fe,null));};exports['show']=function(_0x5ae898,_0x154e0c){var _0x2b63cc={'raw':!![],'where':{'id':_0x5ae898[_0x6e70('0x46')]['id']}},_0x83847b={};_0x83847b[_0x6e70('0x31')]=_['keys'](db[_0x6e70('0x42')][_0x6e70('0x2d')]);_0x83847b[_0x6e70('0x32')]=_['keys'](_0x5ae898['query']);_0x83847b['filters']=_[_0x6e70('0x36')](_0x83847b['model'],_0x83847b[_0x6e70('0x32')]);_0x2b63cc[_0x6e70('0x35')]=_[_0x6e70('0x36')](_0x83847b[_0x6e70('0x31')],qs['fields'](_0x5ae898[_0x6e70('0x32')]['fields']));_0x2b63cc[_0x6e70('0x35')]=_0x2b63cc[_0x6e70('0x35')][_0x6e70('0x38')]?_0x2b63cc[_0x6e70('0x35')]:_0x83847b['model'];if(_0x5ae898[_0x6e70('0x32')][_0x6e70('0x47')]){_0x2b63cc[_0x6e70('0x43')]=[{'all':!![]}];}_0x2b63cc=_[_0x6e70('0x40')]({},_0x2b63cc,_0x5ae898[_0x6e70('0x48')]);return db[_0x6e70('0x42')][_0x6e70('0x49')](_0x2b63cc)['then'](handleEntityNotFound(_0x154e0c,null))[_0x6e70('0x27')](respondWithResult(_0x154e0c,null))[_0x6e70('0x4a')](handleError(_0x154e0c,null));};exports[_0x6e70('0x4b')]=function(_0x2f99cb,_0x3f86cf){return db[_0x6e70('0x42')][_0x6e70('0x4b')](_0x2f99cb['body'],{})[_0x6e70('0x27')](respondWithResult(_0x3f86cf,0xc9))['catch'](handleError(_0x3f86cf,null));};exports[_0x6e70('0x26')]=function(_0x3836e4,_0x4b351e){if(_0x3836e4['body']['id']){delete _0x3836e4[_0x6e70('0x4c')]['id'];}return db[_0x6e70('0x42')][_0x6e70('0x49')]({'where':{'id':_0x3836e4['params']['id']}})['then'](handleEntityNotFound(_0x4b351e,null))[_0x6e70('0x27')](saveUpdates(_0x3836e4[_0x6e70('0x4c')],null))[_0x6e70('0x27')](respondWithResult(_0x4b351e,null))[_0x6e70('0x4a')](handleError(_0x4b351e,null));};exports[_0x6e70('0x4d')]=function(_0x340674,_0x4ad5a9){return db[_0x6e70('0x42')][_0x6e70('0x49')]({'where':{'id':_0x340674[_0x6e70('0x46')]['id']}})[_0x6e70('0x27')](handleEntityNotFound(_0x4ad5a9,null))[_0x6e70('0x27')](removeEntity(_0x4ad5a9,null))['catch'](handleError(_0x4ad5a9,null));};exports['describe']=function(_0x2c5538,_0x2e3ea6){return db[_0x6e70('0x42')][_0x6e70('0x4e')]()[_0x6e70('0x27')](respondWithResult(_0x2e3ea6,null))['catch'](handleError(_0x2e3ea6,null));}; \ No newline at end of file diff --git a/server/api/chatQueueReport/chatQueueReport.model.js b/server/api/chatQueueReport/chatQueueReport.model.js index 8508924..9cf9e71 100644 --- a/server/api/chatQueueReport/chatQueueReport.model.js +++ b/server/api/chatQueueReport/chatQueueReport.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xbd24=['exports','define','uniqueid','util','../../config/logger','api','moment','bluebird','request-promise','../../config/environment','./chatQueueReport.attributes'];(function(_0x20b72e,_0x50ca85){var _0x200dc0=function(_0x2745fb){while(--_0x2745fb){_0x20b72e['push'](_0x20b72e['shift']());}};_0x200dc0(++_0x50ca85);}(_0xbd24,0xea));var _0x4bd2=function(_0x397e5f,_0x454c8f){_0x397e5f=_0x397e5f-0x0;var _0x5302b8=_0xbd24[_0x397e5f];return _0x5302b8;};'use strict';var _=require('lodash');var util=require(_0x4bd2('0x0'));var logger=require(_0x4bd2('0x1'))(_0x4bd2('0x2'));var moment=require(_0x4bd2('0x3'));var BPromise=require(_0x4bd2('0x4'));var rp=require(_0x4bd2('0x5'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x4bd2('0x6'));var attributes=require(_0x4bd2('0x7'));module[_0x4bd2('0x8')]=function(_0x16c7e0,_0x45235e){return _0x16c7e0[_0x4bd2('0x9')]('ChatQueueReport',attributes,{'tableName':'report_chat_queue','paranoid':![],'indexes':[{'name':_0x4bd2('0xa'),'fields':[_0x4bd2('0xa')]}],'timestamps':!![]});}; \ No newline at end of file +var _0x615b=['rimraf','../../config/environment','./chatQueueReport.attributes','exports','define','uniqueid','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path'];(function(_0x59c741,_0x1cd7fd){var _0x13412a=function(_0x27aeab){while(--_0x27aeab){_0x59c741['push'](_0x59c741['shift']());}};_0x13412a(++_0x1cd7fd);}(_0x615b,0xf4));var _0xb615=function(_0x3d7315,_0x56ec93){_0x3d7315=_0x3d7315-0x0;var _0x59e915=_0x615b[_0x3d7315];return _0x59e915;};'use strict';var _=require(_0xb615('0x0'));var util=require(_0xb615('0x1'));var logger=require(_0xb615('0x2'))(_0xb615('0x3'));var moment=require(_0xb615('0x4'));var BPromise=require(_0xb615('0x5'));var rp=require(_0xb615('0x6'));var fs=require('fs');var path=require(_0xb615('0x7'));var rimraf=require(_0xb615('0x8'));var config=require(_0xb615('0x9'));var attributes=require(_0xb615('0xa'));module[_0xb615('0xb')]=function(_0x3abca2,_0x5717ce){return _0x3abca2[_0xb615('0xc')]('ChatQueueReport',attributes,{'tableName':'report_chat_queue','paranoid':![],'indexes':[{'name':_0xb615('0xd'),'fields':[_0xb615('0xd')]}],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/chatQueueReport/chatQueueReport.rpc.js b/server/api/chatQueueReport/chatQueueReport.rpc.js index 7bc7909..2258544 100644 --- a/server/api/chatQueueReport/chatQueueReport.rpc.js +++ b/server/api/chatQueueReport/chatQueueReport.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xf840=['then','info','ChatQueueReport,\x20%s,\x20%s','debug','ChatQueueReport,\x20%s,\x20%s,\x20%s','request\x20sent','stringify','error','code','message','result','catch','ChatQueueReport','create','options','raw','CreateChatQueueReport','UpdateChatQueueReport','update','body','where','limit','lodash','util','moment','bluebird','randomstring','ioredis','../../config/logger','rpc','../../config/environment','jayson/promise','client','http','request'];(function(_0x2c3989,_0x3fa9fb){var _0x186c80=function(_0x5bf8ae){while(--_0x5bf8ae){_0x2c3989['push'](_0x2c3989['shift']());}};_0x186c80(++_0x3fa9fb);}(_0xf840,0x197));var _0x0f84=function(_0x53e3fa,_0x50c5f2){_0x53e3fa=_0x53e3fa-0x0;var _0xe8584a=_0xf840[_0x53e3fa];return _0xe8584a;};'use strict';var _=require(_0x0f84('0x0'));var util=require(_0x0f84('0x1'));var moment=require(_0x0f84('0x2'));var BPromise=require(_0x0f84('0x3'));var rs=require(_0x0f84('0x4'));var fs=require('fs');var Redis=require(_0x0f84('0x5'));var db=require('../../mysqldb')['db'];var utils=require('../../config/utils');var logger=require(_0x0f84('0x6'))(_0x0f84('0x7'));var config=require(_0x0f84('0x8'));var jayson=require(_0x0f84('0x9'));var client=jayson[_0x0f84('0xa')][_0x0f84('0xb')]({'port':0x232a});function respondWithRpcPromise(_0x1445a7,_0x568cf7,_0x5e68cd){return new BPromise(function(_0x375e2b,_0x5cd14b){return client[_0x0f84('0xc')](_0x1445a7,_0x5e68cd)[_0x0f84('0xd')](function(_0x10f59d){logger[_0x0f84('0xe')](_0x0f84('0xf'),_0x568cf7,'request\x20sent');logger[_0x0f84('0x10')](_0x0f84('0x11'),_0x568cf7,_0x0f84('0x12'),JSON[_0x0f84('0x13')](_0x10f59d));if(_0x10f59d[_0x0f84('0x14')]){if(_0x10f59d[_0x0f84('0x14')][_0x0f84('0x15')]===0x1f4){logger[_0x0f84('0x14')](_0x0f84('0xf'),_0x568cf7,_0x10f59d['error'][_0x0f84('0x16')]);return _0x5cd14b(_0x10f59d[_0x0f84('0x14')][_0x0f84('0x16')]);}logger[_0x0f84('0x14')](_0x0f84('0xf'),_0x568cf7,_0x10f59d[_0x0f84('0x14')][_0x0f84('0x16')]);return _0x375e2b(_0x10f59d[_0x0f84('0x14')]['message']);}else{logger[_0x0f84('0xe')](_0x0f84('0xf'),_0x568cf7,_0x0f84('0x12'));_0x375e2b(_0x10f59d[_0x0f84('0x17')][_0x0f84('0x16')]);}})[_0x0f84('0x18')](function(_0x1ccc62){logger['error'](_0x0f84('0xf'),_0x568cf7,_0x1ccc62);_0x5cd14b(_0x1ccc62);});});}exports['CreateChatQueueReport']=function(_0x4b2cb1){var _0x4893e5=this;return new Promise(function(_0x5c8f10,_0x50636d){return db[_0x0f84('0x19')][_0x0f84('0x1a')](_0x4b2cb1['body'],{'raw':_0x4b2cb1[_0x0f84('0x1b')]?_0x4b2cb1[_0x0f84('0x1b')][_0x0f84('0x1c')]===undefined?!![]:![]:!![]})[_0x0f84('0xd')](function(_0xd07dc0){logger['info'](_0x0f84('0x1d'),_0x4b2cb1);logger[_0x0f84('0x10')](_0x0f84('0x1d'),_0x4b2cb1,JSON[_0x0f84('0x13')](_0xd07dc0));_0x5c8f10(_0xd07dc0);})['catch'](function(_0x38f0dd){logger[_0x0f84('0x14')]('CreateChatQueueReport',_0x38f0dd[_0x0f84('0x16')],_0x4b2cb1);_0x50636d(_0x4893e5[_0x0f84('0x14')](0x1f4,_0x38f0dd[_0x0f84('0x16')]));});});};exports[_0x0f84('0x1e')]=function(_0x4fc9ff){var _0x5878dc=this;return new Promise(function(_0xa368a8,_0x8886e8){return db[_0x0f84('0x19')][_0x0f84('0x1f')](_0x4fc9ff[_0x0f84('0x20')],{'raw':_0x4fc9ff['options']?_0x4fc9ff['options'][_0x0f84('0x1c')]===undefined?!![]:![]:!![],'individualHooks':!![],'where':_0x4fc9ff['options']?_0x4fc9ff[_0x0f84('0x1b')][_0x0f84('0x21')]||null:null,'attributes':_0x4fc9ff[_0x0f84('0x1b')]?_0x4fc9ff['options']['attributes']||null:null,'limit':_0x4fc9ff['options']?_0x4fc9ff[_0x0f84('0x1b')][_0x0f84('0x22')]||null:null})[_0x0f84('0xd')](function(_0x4c85df){logger[_0x0f84('0xe')](_0x0f84('0x1e'),_0x4fc9ff);logger['debug'](_0x0f84('0x1e'),_0x4fc9ff,JSON['stringify'](_0x4c85df));_0xa368a8(_0x4c85df);})['catch'](function(_0x52514e){logger['error'](_0x0f84('0x1e'),_0x52514e['message'],_0x4fc9ff);_0x8886e8(_0x5878dc[_0x0f84('0x14')](0x1f4,_0x52514e['message']));});});}; \ No newline at end of file +var _0x9891=['lodash','moment','bluebird','randomstring','ioredis','../../config/utils','../../config/logger','rpc','client','http','then','ChatQueueReport,\x20%s,\x20%s','debug','request\x20sent','stringify','error','message','info','result','CreateChatQueueReport','body','options','raw','UpdateChatQueueReport','ChatQueueReport','update','attributes','limit','catch'];(function(_0xec1156,_0x56de5e){var _0x398185=function(_0x395ca8){while(--_0x395ca8){_0xec1156['push'](_0xec1156['shift']());}};_0x398185(++_0x56de5e);}(_0x9891,0xe8));var _0x1989=function(_0x47d493,_0x3bedfb){_0x47d493=_0x47d493-0x0;var _0x50242a=_0x9891[_0x47d493];return _0x50242a;};'use strict';var _=require(_0x1989('0x0'));var util=require('util');var moment=require(_0x1989('0x1'));var BPromise=require(_0x1989('0x2'));var rs=require(_0x1989('0x3'));var fs=require('fs');var Redis=require(_0x1989('0x4'));var db=require('../../mysqldb')['db'];var utils=require(_0x1989('0x5'));var logger=require(_0x1989('0x6'))(_0x1989('0x7'));var config=require('../../config/environment');var jayson=require('jayson/promise');var client=jayson[_0x1989('0x8')][_0x1989('0x9')]({'port':0x232a});function respondWithRpcPromise(_0x25f91f,_0x545f03,_0x1956ce){return new BPromise(function(_0x13450d,_0x24bcee){return client['request'](_0x25f91f,_0x1956ce)[_0x1989('0xa')](function(_0x3fb78d){logger['info'](_0x1989('0xb'),_0x545f03,'request\x20sent');logger[_0x1989('0xc')]('ChatQueueReport,\x20%s,\x20%s,\x20%s',_0x545f03,_0x1989('0xd'),JSON[_0x1989('0xe')](_0x3fb78d));if(_0x3fb78d[_0x1989('0xf')]){if(_0x3fb78d[_0x1989('0xf')]['code']===0x1f4){logger[_0x1989('0xf')](_0x1989('0xb'),_0x545f03,_0x3fb78d[_0x1989('0xf')][_0x1989('0x10')]);return _0x24bcee(_0x3fb78d[_0x1989('0xf')][_0x1989('0x10')]);}logger[_0x1989('0xf')]('ChatQueueReport,\x20%s,\x20%s',_0x545f03,_0x3fb78d[_0x1989('0xf')][_0x1989('0x10')]);return _0x13450d(_0x3fb78d[_0x1989('0xf')]['message']);}else{logger[_0x1989('0x11')](_0x1989('0xb'),_0x545f03,_0x1989('0xd'));_0x13450d(_0x3fb78d[_0x1989('0x12')][_0x1989('0x10')]);}})['catch'](function(_0x2aee2e){logger[_0x1989('0xf')](_0x1989('0xb'),_0x545f03,_0x2aee2e);_0x24bcee(_0x2aee2e);});});}exports[_0x1989('0x13')]=function(_0x95f3f1){var _0x26a334=this;return new Promise(function(_0x1bcfc6,_0x315752){return db['ChatQueueReport']['create'](_0x95f3f1[_0x1989('0x14')],{'raw':_0x95f3f1[_0x1989('0x15')]?_0x95f3f1[_0x1989('0x15')][_0x1989('0x16')]===undefined?!![]:![]:!![]})[_0x1989('0xa')](function(_0x160d32){logger[_0x1989('0x11')](_0x1989('0x13'),_0x95f3f1);logger[_0x1989('0xc')]('CreateChatQueueReport',_0x95f3f1,JSON[_0x1989('0xe')](_0x160d32));_0x1bcfc6(_0x160d32);})['catch'](function(_0x59beb4){logger['error']('CreateChatQueueReport',_0x59beb4['message'],_0x95f3f1);_0x315752(_0x26a334['error'](0x1f4,_0x59beb4[_0x1989('0x10')]));});});};exports[_0x1989('0x17')]=function(_0x38a4a1){var _0x258810=this;return new Promise(function(_0x4c5855,_0x481fe9){return db[_0x1989('0x18')][_0x1989('0x19')](_0x38a4a1[_0x1989('0x14')],{'raw':_0x38a4a1[_0x1989('0x15')]?_0x38a4a1[_0x1989('0x15')][_0x1989('0x16')]===undefined?!![]:![]:!![],'individualHooks':!![],'where':_0x38a4a1[_0x1989('0x15')]?_0x38a4a1['options']['where']||null:null,'attributes':_0x38a4a1[_0x1989('0x15')]?_0x38a4a1[_0x1989('0x15')][_0x1989('0x1a')]||null:null,'limit':_0x38a4a1['options']?_0x38a4a1[_0x1989('0x15')][_0x1989('0x1b')]||null:null})[_0x1989('0xa')](function(_0x12d401){logger[_0x1989('0x11')](_0x1989('0x17'),_0x38a4a1);logger[_0x1989('0xc')](_0x1989('0x17'),_0x38a4a1,JSON[_0x1989('0xe')](_0x12d401));_0x4c5855(_0x12d401);})[_0x1989('0x1c')](function(_0x58dad7){logger['error'](_0x1989('0x17'),_0x58dad7[_0x1989('0x10')],_0x38a4a1);_0x481fe9(_0x258810[_0x1989('0xf')](0x1f4,_0x58dad7['message']));});});}; \ No newline at end of file diff --git a/server/api/chatQueueReport/index.js b/server/api/chatQueueReport/index.js index 4159f4c..7fbcaf9 100644 --- a/server/api/chatQueueReport/index.js +++ b/server/api/chatQueueReport/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xd5a1=['post','create','put','update','delete','destroy','exports','multer','util','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','./chatQueueReport.controller','isAuthenticated','get','/:id','show'];(function(_0x2f056c,_0x5dd630){var _0x20a39b=function(_0x5e9f0e){while(--_0x5e9f0e){_0x2f056c['push'](_0x2f056c['shift']());}};_0x20a39b(++_0x5dd630);}(_0xd5a1,0x15d));var _0x1d5a=function(_0x150c67,_0xd055be){_0x150c67=_0x150c67-0x0;var _0x3e5a2a=_0xd5a1[_0x150c67];return _0x3e5a2a;};'use strict';var multer=require(_0x1d5a('0x0'));var util=require(_0x1d5a('0x1'));var path=require('path');var timeout=require(_0x1d5a('0x2'));var express=require(_0x1d5a('0x3'));var router=express[_0x1d5a('0x4')]();var auth=require(_0x1d5a('0x5'));var interaction=require(_0x1d5a('0x6'));var config=require('../../config/environment');var controller=require(_0x1d5a('0x7'));router['get']('/',auth[_0x1d5a('0x8')](),controller['index']);router[_0x1d5a('0x9')]('/describe',auth['isAuthenticated'](),controller['describe']);router['get'](_0x1d5a('0xa'),auth['isAuthenticated'](),controller[_0x1d5a('0xb')]);router[_0x1d5a('0xc')]('/',auth[_0x1d5a('0x8')](),controller[_0x1d5a('0xd')]);router[_0x1d5a('0xe')](_0x1d5a('0xa'),auth[_0x1d5a('0x8')](),controller[_0x1d5a('0xf')]);router[_0x1d5a('0x10')](_0x1d5a('0xa'),auth[_0x1d5a('0x8')](),controller[_0x1d5a('0x11')]);module[_0x1d5a('0x12')]=router; \ No newline at end of file +var _0x2c0f=['Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatQueueReport.controller','index','get','/describe','isAuthenticated','describe','post','create','put','/:id','destroy','exports','multer','util','path','connect-timeout','express'];(function(_0x483e9e,_0xd863b4){var _0x506a7c=function(_0x58008a){while(--_0x58008a){_0x483e9e['push'](_0x483e9e['shift']());}};_0x506a7c(++_0xd863b4);}(_0x2c0f,0xf7));var _0xf2c0=function(_0x457b64,_0x49a219){_0x457b64=_0x457b64-0x0;var _0x437111=_0x2c0f[_0x457b64];return _0x437111;};'use strict';var multer=require(_0xf2c0('0x0'));var util=require(_0xf2c0('0x1'));var path=require(_0xf2c0('0x2'));var timeout=require(_0xf2c0('0x3'));var express=require(_0xf2c0('0x4'));var router=express[_0xf2c0('0x5')]();var auth=require(_0xf2c0('0x6'));var interaction=require(_0xf2c0('0x7'));var config=require(_0xf2c0('0x8'));var controller=require(_0xf2c0('0x9'));router['get']('/',auth['isAuthenticated'](),controller[_0xf2c0('0xa')]);router[_0xf2c0('0xb')](_0xf2c0('0xc'),auth[_0xf2c0('0xd')](),controller[_0xf2c0('0xe')]);router[_0xf2c0('0xb')]('/:id',auth[_0xf2c0('0xd')](),controller['show']);router[_0xf2c0('0xf')]('/',auth['isAuthenticated'](),controller[_0xf2c0('0x10')]);router[_0xf2c0('0x11')](_0xf2c0('0x12'),auth[_0xf2c0('0xd')](),controller['update']);router['delete'](_0xf2c0('0x12'),auth[_0xf2c0('0xd')](),controller[_0xf2c0('0x13')]);module[_0xf2c0('0x14')]=router; \ No newline at end of file diff --git a/server/api/chatTransferReport/chatTransferReport.attributes.js b/server/api/chatTransferReport/chatTransferReport.attributes.js index 0145af3..42c02a5 100644 --- a/server/api/chatTransferReport/chatTransferReport.attributes.js +++ b/server/api/chatTransferReport/chatTransferReport.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x7421=['agent','DATE','NOW','moment','exports','STRING','ENUM','account'];(function(_0x586b55,_0x437bea){var _0x22ea53=function(_0x17075d){while(--_0x17075d){_0x586b55['push'](_0x586b55['shift']());}};_0x22ea53(++_0x437bea);}(_0x7421,0x83));var _0x1742=function(_0x54dab4,_0x312c77){_0x54dab4=_0x54dab4-0x0;var _0x355723=_0x7421[_0x54dab4];return _0x355723;};'use strict';var moment=require(_0x1742('0x0'));var Sequelize=require('sequelize');module[_0x1742('0x1')]={'uniqueid':{'type':Sequelize[_0x1742('0x2')],'allowNull':![]},'type':{'type':Sequelize[_0x1742('0x3')](_0x1742('0x4'),_0x1742('0x5'),'queue'),'allowNull':![],'defaultValue':'queue'},'transferredAt':{'type':Sequelize[_0x1742('0x6')],'allowNull':![],'defaultValue':Sequelize[_0x1742('0x7')]}}; \ No newline at end of file +var _0x8108=['agent','queue','DATE','NOW','moment','sequelize','exports','STRING','account'];(function(_0x15fa45,_0x132622){var _0x3e7413=function(_0xba8cb9){while(--_0xba8cb9){_0x15fa45['push'](_0x15fa45['shift']());}};_0x3e7413(++_0x132622);}(_0x8108,0x1a2));var _0x8810=function(_0x3ec501,_0x1d035a){_0x3ec501=_0x3ec501-0x0;var _0x5a3037=_0x8108[_0x3ec501];return _0x5a3037;};'use strict';var moment=require(_0x8810('0x0'));var Sequelize=require(_0x8810('0x1'));module[_0x8810('0x2')]={'uniqueid':{'type':Sequelize[_0x8810('0x3')],'allowNull':![]},'type':{'type':Sequelize['ENUM'](_0x8810('0x4'),_0x8810('0x5'),_0x8810('0x6')),'allowNull':![],'defaultValue':_0x8810('0x6')},'transferredAt':{'type':Sequelize[_0x8810('0x7')],'allowNull':![],'defaultValue':Sequelize[_0x8810('0x8')]}}; \ No newline at end of file diff --git a/server/api/chatTransferReport/chatTransferReport.controller.js b/server/api/chatTransferReport/chatTransferReport.controller.js index 67dece7..08b92c7 100644 --- a/server/api/chatTransferReport/chatTransferReport.controller.js +++ b/server/api/chatTransferReport/chatTransferReport.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xf0ef=['lodash','jsforce','desk.js','querystring','papaparse','ioredis','../../components/parsers/qs','../../config/license/hardware','../../config/logger','api','../../config/utils','../../mysqldb','sendStatus','status','offset','set','json','reject','save','update','then','destroy','end','stack','name','send','index','map','ChatTransferReport','rawAttributes','type','key','query','keys','filters','intersection','model','fields','attributes','hasOwnProperty','nolimit','limit','order','sort','where','pick','merge','VIRTUAL','count','includeAll','include','rows','catch','params','create','body','find','describe','html-pdf','eml-format','zip-dir','fast-json-patch','bluebird','mustache','util','path','sox','ejs'];(function(_0x40e8e7,_0x5892a0){var _0x3adfe4=function(_0x1c31be){while(--_0x1c31be){_0x40e8e7['push'](_0x40e8e7['shift']());}};_0x3adfe4(++_0x5892a0);}(_0xf0ef,0x106));var _0xff0e=function(_0x4de3ae,_0x4c2d83){_0x4de3ae=_0x4de3ae-0x0;var _0x264e7c=_0xf0ef[_0x4de3ae];return _0x264e7c;};'use strict';var pdf=require(_0xff0e('0x0'));var emlformat=require(_0xff0e('0x1'));var rimraf=require('rimraf');var zipdir=require(_0xff0e('0x2'));var jsonpatch=require(_0xff0e('0x3'));var rp=require('request-promise');var moment=require('moment');var BPromise=require(_0xff0e('0x4'));var Mustache=require(_0xff0e('0x5'));var util=require(_0xff0e('0x6'));var path=require(_0xff0e('0x7'));var sox=require(_0xff0e('0x8'));var csv=require('to-csv');var ejs=require(_0xff0e('0x9'));var fs=require('fs');var _=require(_0xff0e('0xa'));var squel=require('squel');var crypto=require('crypto');var jsforce=require(_0xff0e('0xb'));var deskjs=require(_0xff0e('0xc'));var toCsv=require('to-csv');var querystring=require(_0xff0e('0xd'));var Papa=require(_0xff0e('0xe'));var Redis=require(_0xff0e('0xf'));var authService=require('../../components/auth/service');var qs=require(_0xff0e('0x10'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0xff0e('0x11'));var logger=require(_0xff0e('0x12'))(_0xff0e('0x13'));var utils=require(_0xff0e('0x14'));var config=require('../../config/environment');var db=require(_0xff0e('0x15'))['db'];function respondWithStatusCode(_0x22380f,_0x3d8977){_0x3d8977=_0x3d8977||0xcc;return function(_0x2d9806){if(_0x2d9806){return _0x22380f[_0xff0e('0x16')](_0x3d8977);}return _0x22380f[_0xff0e('0x17')](_0x3d8977)['end']();};}function respondWithResult(_0x372b3f,_0x7dfc4c){_0x7dfc4c=_0x7dfc4c||0xc8;return function(_0x447a7f){if(_0x447a7f){return _0x372b3f[_0xff0e('0x17')](_0x7dfc4c)['json'](_0x447a7f);}};}function respondWithFilteredResult(_0xc550c4,_0x1d08cb){return function(_0x30c3a4){if(_0x30c3a4){var _0x59f9cd=_0x30c3a4['count'],_0x1f2f5a=_0x1d08cb[_0xff0e('0x18')],_0xe93883=_0x1d08cb[_0xff0e('0x18')]+_0x1d08cb['limit'],_0x47460c;if(_0xe93883>=_0x59f9cd){_0xe93883=_0x59f9cd;_0x47460c=0xc8;}else{_0x47460c=0xce;}_0xc550c4[_0xff0e('0x17')](_0x47460c);return _0xc550c4[_0xff0e('0x19')]('Content-Range',_0x1f2f5a+'-'+_0xe93883+'/'+_0x59f9cd)[_0xff0e('0x1a')](_0x30c3a4);}return null;};}function patchUpdates(_0x581673){return function(_0x8acb46){try{jsonpatch['apply'](_0x8acb46,_0x581673,!![]);}catch(_0x3ed38d){return BPromise[_0xff0e('0x1b')](_0x3ed38d);}return _0x8acb46[_0xff0e('0x1c')]();};}function saveUpdates(_0x4b183a,_0x4b2948){return function(_0x5c8ff4){if(_0x5c8ff4){return _0x5c8ff4[_0xff0e('0x1d')](_0x4b183a)[_0xff0e('0x1e')](function(_0x57412d){return _0x57412d;});}return null;};}function removeEntity(_0x47a81e,_0x4c2ee7){return function(_0x25656e){if(_0x25656e){return _0x25656e[_0xff0e('0x1f')]()['then'](function(){_0x47a81e[_0xff0e('0x17')](0xcc)[_0xff0e('0x20')]();});}};}function handleEntityNotFound(_0x471af9,_0x5c20bd){return function(_0x5e16ba){if(!_0x5e16ba){_0x471af9['sendStatus'](0x194);}return _0x5e16ba;};}function handleError(_0x4a6b4e,_0x263b29){_0x263b29=_0x263b29||0x1f4;return function(_0xc7999a){logger['error'](_0xc7999a[_0xff0e('0x21')]);if(_0xc7999a[_0xff0e('0x22')]){delete _0xc7999a['name'];}_0x4a6b4e['status'](_0x263b29)[_0xff0e('0x23')](_0xc7999a);};}exports[_0xff0e('0x24')]=function(_0x4d2252,_0x48394c){var _0x15f7d9={},_0x28b56c={},_0x32a2f1={'count':0x0,'rows':[]};var _0x34296d=_[_0xff0e('0x25')](db[_0xff0e('0x26')][_0xff0e('0x27')],function(_0x49d1f4){return{'name':_0x49d1f4['fieldName'],'type':_0x49d1f4[_0xff0e('0x28')][_0xff0e('0x29')]};});_0x28b56c['model']=_[_0xff0e('0x25')](_0x34296d,_0xff0e('0x22'));_0x28b56c[_0xff0e('0x2a')]=_[_0xff0e('0x2b')](_0x4d2252[_0xff0e('0x2a')]);_0x28b56c[_0xff0e('0x2c')]=_[_0xff0e('0x2d')](_0x28b56c[_0xff0e('0x2e')],_0x28b56c[_0xff0e('0x2a')]);_0x15f7d9['attributes']=_[_0xff0e('0x2d')](_0x28b56c['model'],qs[_0xff0e('0x2f')](_0x4d2252[_0xff0e('0x2a')][_0xff0e('0x2f')]));_0x15f7d9[_0xff0e('0x30')]=_0x15f7d9[_0xff0e('0x30')]['length']?_0x15f7d9[_0xff0e('0x30')]:_0x28b56c['model'];if(!_0x4d2252['query'][_0xff0e('0x31')](_0xff0e('0x32'))){_0x15f7d9[_0xff0e('0x33')]=qs['limit'](_0x4d2252['query'][_0xff0e('0x33')]);_0x15f7d9[_0xff0e('0x18')]=qs['offset'](_0x4d2252[_0xff0e('0x2a')][_0xff0e('0x18')]);}_0x15f7d9[_0xff0e('0x34')]=qs['sort'](_0x4d2252['query'][_0xff0e('0x35')]);_0x15f7d9[_0xff0e('0x36')]=qs[_0xff0e('0x2c')](_[_0xff0e('0x37')](_0x4d2252['query'],_0x28b56c[_0xff0e('0x2c')]),_0x34296d);if(_0x4d2252[_0xff0e('0x2a')]['filter']){_0x15f7d9[_0xff0e('0x36')]=_[_0xff0e('0x38')](_0x15f7d9['where'],{'$or':_[_0xff0e('0x25')](_0x34296d,function(_0x41e2fc){if(_0x41e2fc['type']!==_0xff0e('0x39')){var _0x2adf35={};_0x2adf35[_0x41e2fc['name']]={'$like':'%'+_0x4d2252[_0xff0e('0x2a')]['filter']+'%'};return _0x2adf35;}})});}_0x15f7d9=_[_0xff0e('0x38')]({},_0x15f7d9,_0x4d2252['options']);var _0x2da2fc={'where':_0x15f7d9['where']};return db[_0xff0e('0x26')]['count'](_0x2da2fc)[_0xff0e('0x1e')](function(_0x41cfa7){_0x32a2f1[_0xff0e('0x3a')]=_0x41cfa7;if(_0x4d2252[_0xff0e('0x2a')][_0xff0e('0x3b')]){_0x15f7d9[_0xff0e('0x3c')]=[{'all':!![]}];}return db[_0xff0e('0x26')]['findAll'](_0x15f7d9);})[_0xff0e('0x1e')](function(_0x39c52a){_0x32a2f1[_0xff0e('0x3d')]=_0x39c52a;return _0x32a2f1;})['then'](respondWithFilteredResult(_0x48394c,_0x15f7d9))[_0xff0e('0x3e')](handleError(_0x48394c,null));};exports['show']=function(_0x263a93,_0x3ba51d){var _0x59d6fb={'raw':!![],'where':{'id':_0x263a93[_0xff0e('0x3f')]['id']}},_0x43886c={};_0x43886c['model']=_[_0xff0e('0x2b')](db['ChatTransferReport'][_0xff0e('0x27')]);_0x43886c['query']=_[_0xff0e('0x2b')](_0x263a93[_0xff0e('0x2a')]);_0x43886c[_0xff0e('0x2c')]=_[_0xff0e('0x2d')](_0x43886c[_0xff0e('0x2e')],_0x43886c[_0xff0e('0x2a')]);_0x59d6fb[_0xff0e('0x30')]=_[_0xff0e('0x2d')](_0x43886c[_0xff0e('0x2e')],qs[_0xff0e('0x2f')](_0x263a93[_0xff0e('0x2a')]['fields']));_0x59d6fb['attributes']=_0x59d6fb['attributes']['length']?_0x59d6fb[_0xff0e('0x30')]:_0x43886c['model'];if(_0x263a93[_0xff0e('0x2a')]['includeAll']){_0x59d6fb[_0xff0e('0x3c')]=[{'all':!![]}];}_0x59d6fb=_['merge']({},_0x59d6fb,_0x263a93['options']);return db['ChatTransferReport']['find'](_0x59d6fb)[_0xff0e('0x1e')](handleEntityNotFound(_0x3ba51d,null))[_0xff0e('0x1e')](respondWithResult(_0x3ba51d,null))[_0xff0e('0x3e')](handleError(_0x3ba51d,null));};exports[_0xff0e('0x40')]=function(_0x4e77f0,_0x2d2199){return db[_0xff0e('0x26')]['create'](_0x4e77f0[_0xff0e('0x41')],{})[_0xff0e('0x1e')](respondWithResult(_0x2d2199,0xc9))['catch'](handleError(_0x2d2199,null));};exports[_0xff0e('0x1d')]=function(_0x7c68ee,_0x1cebce){if(_0x7c68ee[_0xff0e('0x41')]['id']){delete _0x7c68ee['body']['id'];}return db['ChatTransferReport'][_0xff0e('0x42')]({'where':{'id':_0x7c68ee['params']['id']}})[_0xff0e('0x1e')](handleEntityNotFound(_0x1cebce,null))['then'](saveUpdates(_0x7c68ee[_0xff0e('0x41')],null))['then'](respondWithResult(_0x1cebce,null))[_0xff0e('0x3e')](handleError(_0x1cebce,null));};exports['destroy']=function(_0x919896,_0x1b7264){return db[_0xff0e('0x26')][_0xff0e('0x42')]({'where':{'id':_0x919896[_0xff0e('0x3f')]['id']}})[_0xff0e('0x1e')](handleEntityNotFound(_0x1b7264,null))[_0xff0e('0x1e')](removeEntity(_0x1b7264,null))[_0xff0e('0x3e')](handleError(_0x1b7264,null));};exports[_0xff0e('0x43')]=function(_0x51a941,_0x3da8a6){return db[_0xff0e('0x26')]['describe']()[_0xff0e('0x1e')](respondWithResult(_0x3da8a6,null))[_0xff0e('0x3e')](handleError(_0x3da8a6,null));}; \ No newline at end of file +var _0xdb78=['query','keys','filters','attributes','intersection','fields','hasOwnProperty','nolimit','limit','order','sort','pick','filter','where','merge','VIRTUAL','options','includeAll','include','findAll','rows','show','params','length','catch','create','body','find','describe','rimraf','zip-dir','fast-json-patch','request-promise','moment','mustache','util','to-csv','ejs','lodash','squel','crypto','jsforce','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../mysqldb','sendStatus','status','end','json','count','offset','Content-Range','apply','reject','save','then','destroy','error','name','map','ChatTransferReport','rawAttributes','fieldName','type','key','model'];(function(_0x14b105,_0xe711b4){var _0x1c0543=function(_0x2ed329){while(--_0x2ed329){_0x14b105['push'](_0x14b105['shift']());}};_0x1c0543(++_0xe711b4);}(_0xdb78,0xfe));var _0x8db7=function(_0x424b4a,_0x44f3b9){_0x424b4a=_0x424b4a-0x0;var _0x8c4c30=_0xdb78[_0x424b4a];return _0x8c4c30;};'use strict';var pdf=require('html-pdf');var emlformat=require('eml-format');var rimraf=require(_0x8db7('0x0'));var zipdir=require(_0x8db7('0x1'));var jsonpatch=require(_0x8db7('0x2'));var rp=require(_0x8db7('0x3'));var moment=require(_0x8db7('0x4'));var BPromise=require('bluebird');var Mustache=require(_0x8db7('0x5'));var util=require(_0x8db7('0x6'));var path=require('path');var sox=require('sox');var csv=require(_0x8db7('0x7'));var ejs=require(_0x8db7('0x8'));var fs=require('fs');var _=require(_0x8db7('0x9'));var squel=require(_0x8db7('0xa'));var crypto=require(_0x8db7('0xb'));var jsforce=require(_0x8db7('0xc'));var deskjs=require(_0x8db7('0xd'));var toCsv=require('to-csv');var querystring=require(_0x8db7('0xe'));var Papa=require(_0x8db7('0xf'));var Redis=require(_0x8db7('0x10'));var authService=require(_0x8db7('0x11'));var qs=require(_0x8db7('0x12'));var as=require(_0x8db7('0x13'));var hardwareService=require(_0x8db7('0x14'));var logger=require(_0x8db7('0x15'))(_0x8db7('0x16'));var utils=require(_0x8db7('0x17'));var config=require('../../config/environment');var db=require(_0x8db7('0x18'))['db'];function respondWithStatusCode(_0x26cef3,_0x3f5881){_0x3f5881=_0x3f5881||0xcc;return function(_0x452e1b){if(_0x452e1b){return _0x26cef3[_0x8db7('0x19')](_0x3f5881);}return _0x26cef3[_0x8db7('0x1a')](_0x3f5881)[_0x8db7('0x1b')]();};}function respondWithResult(_0x393c69,_0x44fc3a){_0x44fc3a=_0x44fc3a||0xc8;return function(_0x4ffca0){if(_0x4ffca0){return _0x393c69[_0x8db7('0x1a')](_0x44fc3a)[_0x8db7('0x1c')](_0x4ffca0);}};}function respondWithFilteredResult(_0x14c07a,_0x5d0478){return function(_0xb7d3d1){if(_0xb7d3d1){var _0x357fdf=_0xb7d3d1[_0x8db7('0x1d')],_0x58f98e=_0x5d0478[_0x8db7('0x1e')],_0x4e0274=_0x5d0478[_0x8db7('0x1e')]+_0x5d0478['limit'],_0x20db33;if(_0x4e0274>=_0x357fdf){_0x4e0274=_0x357fdf;_0x20db33=0xc8;}else{_0x20db33=0xce;}_0x14c07a[_0x8db7('0x1a')](_0x20db33);return _0x14c07a['set'](_0x8db7('0x1f'),_0x58f98e+'-'+_0x4e0274+'/'+_0x357fdf)['json'](_0xb7d3d1);}return null;};}function patchUpdates(_0x2a385d){return function(_0x33a799){try{jsonpatch[_0x8db7('0x20')](_0x33a799,_0x2a385d,!![]);}catch(_0x25773c){return BPromise[_0x8db7('0x21')](_0x25773c);}return _0x33a799[_0x8db7('0x22')]();};}function saveUpdates(_0x4dcdbe,_0x21bac8){return function(_0x26c8c6){if(_0x26c8c6){return _0x26c8c6['update'](_0x4dcdbe)[_0x8db7('0x23')](function(_0x3168a4){return _0x3168a4;});}return null;};}function removeEntity(_0x1aeecb,_0xa996bc){return function(_0xfb23e4){if(_0xfb23e4){return _0xfb23e4[_0x8db7('0x24')]()[_0x8db7('0x23')](function(){_0x1aeecb[_0x8db7('0x1a')](0xcc)[_0x8db7('0x1b')]();});}};}function handleEntityNotFound(_0x410aa9,_0x7e8019){return function(_0x512ab8){if(!_0x512ab8){_0x410aa9[_0x8db7('0x19')](0x194);}return _0x512ab8;};}function handleError(_0x4f85c2,_0x57cd19){_0x57cd19=_0x57cd19||0x1f4;return function(_0x4661aa){logger[_0x8db7('0x25')](_0x4661aa['stack']);if(_0x4661aa['name']){delete _0x4661aa[_0x8db7('0x26')];}_0x4f85c2[_0x8db7('0x1a')](_0x57cd19)['send'](_0x4661aa);};}exports['index']=function(_0x16267e,_0xecb2ef){var _0x354f22={},_0x58080b={},_0x472b4d={'count':0x0,'rows':[]};var _0x242bff=_[_0x8db7('0x27')](db[_0x8db7('0x28')][_0x8db7('0x29')],function(_0x16e84d){return{'name':_0x16e84d[_0x8db7('0x2a')],'type':_0x16e84d[_0x8db7('0x2b')][_0x8db7('0x2c')]};});_0x58080b[_0x8db7('0x2d')]=_['map'](_0x242bff,_0x8db7('0x26'));_0x58080b[_0x8db7('0x2e')]=_[_0x8db7('0x2f')](_0x16267e[_0x8db7('0x2e')]);_0x58080b[_0x8db7('0x30')]=_['intersection'](_0x58080b[_0x8db7('0x2d')],_0x58080b[_0x8db7('0x2e')]);_0x354f22[_0x8db7('0x31')]=_[_0x8db7('0x32')](_0x58080b['model'],qs[_0x8db7('0x33')](_0x16267e[_0x8db7('0x2e')][_0x8db7('0x33')]));_0x354f22['attributes']=_0x354f22[_0x8db7('0x31')]['length']?_0x354f22[_0x8db7('0x31')]:_0x58080b['model'];if(!_0x16267e[_0x8db7('0x2e')][_0x8db7('0x34')](_0x8db7('0x35'))){_0x354f22['limit']=qs['limit'](_0x16267e['query'][_0x8db7('0x36')]);_0x354f22['offset']=qs[_0x8db7('0x1e')](_0x16267e[_0x8db7('0x2e')][_0x8db7('0x1e')]);}_0x354f22[_0x8db7('0x37')]=qs[_0x8db7('0x38')](_0x16267e['query'][_0x8db7('0x38')]);_0x354f22['where']=qs[_0x8db7('0x30')](_[_0x8db7('0x39')](_0x16267e['query'],_0x58080b[_0x8db7('0x30')]),_0x242bff);if(_0x16267e['query'][_0x8db7('0x3a')]){_0x354f22[_0x8db7('0x3b')]=_[_0x8db7('0x3c')](_0x354f22[_0x8db7('0x3b')],{'$or':_[_0x8db7('0x27')](_0x242bff,function(_0x556c60){if(_0x556c60[_0x8db7('0x2b')]!==_0x8db7('0x3d')){var _0xf5506f={};_0xf5506f[_0x556c60[_0x8db7('0x26')]]={'$like':'%'+_0x16267e[_0x8db7('0x2e')]['filter']+'%'};return _0xf5506f;}})});}_0x354f22=_[_0x8db7('0x3c')]({},_0x354f22,_0x16267e[_0x8db7('0x3e')]);var _0x5b1c97={'where':_0x354f22[_0x8db7('0x3b')]};return db[_0x8db7('0x28')][_0x8db7('0x1d')](_0x5b1c97)['then'](function(_0x3fab0a){_0x472b4d['count']=_0x3fab0a;if(_0x16267e[_0x8db7('0x2e')][_0x8db7('0x3f')]){_0x354f22[_0x8db7('0x40')]=[{'all':!![]}];}return db[_0x8db7('0x28')][_0x8db7('0x41')](_0x354f22);})[_0x8db7('0x23')](function(_0x7a5275){_0x472b4d[_0x8db7('0x42')]=_0x7a5275;return _0x472b4d;})['then'](respondWithFilteredResult(_0xecb2ef,_0x354f22))['catch'](handleError(_0xecb2ef,null));};exports[_0x8db7('0x43')]=function(_0x5dfbd8,_0x3823fb){var _0x2a568b={'raw':!![],'where':{'id':_0x5dfbd8[_0x8db7('0x44')]['id']}},_0x147005={};_0x147005[_0x8db7('0x2d')]=_[_0x8db7('0x2f')](db[_0x8db7('0x28')][_0x8db7('0x29')]);_0x147005[_0x8db7('0x2e')]=_['keys'](_0x5dfbd8['query']);_0x147005[_0x8db7('0x30')]=_[_0x8db7('0x32')](_0x147005[_0x8db7('0x2d')],_0x147005['query']);_0x2a568b[_0x8db7('0x31')]=_[_0x8db7('0x32')](_0x147005[_0x8db7('0x2d')],qs[_0x8db7('0x33')](_0x5dfbd8[_0x8db7('0x2e')]['fields']));_0x2a568b[_0x8db7('0x31')]=_0x2a568b[_0x8db7('0x31')][_0x8db7('0x45')]?_0x2a568b[_0x8db7('0x31')]:_0x147005['model'];if(_0x5dfbd8[_0x8db7('0x2e')][_0x8db7('0x3f')]){_0x2a568b['include']=[{'all':!![]}];}_0x2a568b=_[_0x8db7('0x3c')]({},_0x2a568b,_0x5dfbd8['options']);return db[_0x8db7('0x28')]['find'](_0x2a568b)['then'](handleEntityNotFound(_0x3823fb,null))[_0x8db7('0x23')](respondWithResult(_0x3823fb,null))[_0x8db7('0x46')](handleError(_0x3823fb,null));};exports[_0x8db7('0x47')]=function(_0x1ae67c,_0x134252){return db[_0x8db7('0x28')][_0x8db7('0x47')](_0x1ae67c['body'],{})['then'](respondWithResult(_0x134252,0xc9))['catch'](handleError(_0x134252,null));};exports['update']=function(_0x238c00,_0x23b5fe){if(_0x238c00[_0x8db7('0x48')]['id']){delete _0x238c00[_0x8db7('0x48')]['id'];}return db[_0x8db7('0x28')][_0x8db7('0x49')]({'where':{'id':_0x238c00[_0x8db7('0x44')]['id']}})[_0x8db7('0x23')](handleEntityNotFound(_0x23b5fe,null))[_0x8db7('0x23')](saveUpdates(_0x238c00[_0x8db7('0x48')],null))[_0x8db7('0x23')](respondWithResult(_0x23b5fe,null))[_0x8db7('0x46')](handleError(_0x23b5fe,null));};exports['destroy']=function(_0x3f85f4,_0x3e5217){return db[_0x8db7('0x28')][_0x8db7('0x49')]({'where':{'id':_0x3f85f4[_0x8db7('0x44')]['id']}})[_0x8db7('0x23')](handleEntityNotFound(_0x3e5217,null))[_0x8db7('0x23')](removeEntity(_0x3e5217,null))[_0x8db7('0x46')](handleError(_0x3e5217,null));};exports[_0x8db7('0x4a')]=function(_0x492d5d,_0x51c494){return db[_0x8db7('0x28')][_0x8db7('0x4a')]()[_0x8db7('0x23')](respondWithResult(_0x51c494,null))[_0x8db7('0x46')](handleError(_0x51c494,null));}; \ No newline at end of file diff --git a/server/api/chatTransferReport/chatTransferReport.model.js b/server/api/chatTransferReport/chatTransferReport.model.js index 5175a7b..61ca2da 100644 --- a/server/api/chatTransferReport/chatTransferReport.model.js +++ b/server/api/chatTransferReport/chatTransferReport.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x6dd0=['./chatTransferReport.attributes','exports','ChatTransferReport','report_chat_transfer','uniqueid','lodash','util','../../config/logger','api','moment','bluebird','rimraf','../../config/environment'];(function(_0x28557a,_0x545b96){var _0x29b051=function(_0x58b536){while(--_0x58b536){_0x28557a['push'](_0x28557a['shift']());}};_0x29b051(++_0x545b96);}(_0x6dd0,0xae));var _0x06dd=function(_0x1921b9,_0x362280){_0x1921b9=_0x1921b9-0x0;var _0x270607=_0x6dd0[_0x1921b9];return _0x270607;};'use strict';var _=require(_0x06dd('0x0'));var util=require(_0x06dd('0x1'));var logger=require(_0x06dd('0x2'))(_0x06dd('0x3'));var moment=require(_0x06dd('0x4'));var BPromise=require(_0x06dd('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x06dd('0x6'));var config=require(_0x06dd('0x7'));var attributes=require(_0x06dd('0x8'));module[_0x06dd('0x9')]=function(_0x1fd4d6,_0x3e060d){return _0x1fd4d6['define'](_0x06dd('0xa'),attributes,{'tableName':_0x06dd('0xb'),'paranoid':![],'indexes':[{'name':_0x06dd('0xc'),'fields':[_0x06dd('0xc')]}],'timestamps':!![]});}; \ No newline at end of file +var _0xe4ec=['moment','bluebird','path','rimraf','../../config/environment','./chatTransferReport.attributes','exports','ChatTransferReport','uniqueid','util','api'];(function(_0x1e86fb,_0x4d90d5){var _0x4afd73=function(_0x119bcc){while(--_0x119bcc){_0x1e86fb['push'](_0x1e86fb['shift']());}};_0x4afd73(++_0x4d90d5);}(_0xe4ec,0x11c));var _0xce4e=function(_0x424e82,_0x31944a){_0x424e82=_0x424e82-0x0;var _0x273ebf=_0xe4ec[_0x424e82];return _0x273ebf;};'use strict';var _=require('lodash');var util=require(_0xce4e('0x0'));var logger=require('../../config/logger')(_0xce4e('0x1'));var moment=require(_0xce4e('0x2'));var BPromise=require(_0xce4e('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xce4e('0x4'));var rimraf=require(_0xce4e('0x5'));var config=require(_0xce4e('0x6'));var attributes=require(_0xce4e('0x7'));module[_0xce4e('0x8')]=function(_0x464809,_0x133772){return _0x464809['define'](_0xce4e('0x9'),attributes,{'tableName':'report_chat_transfer','paranoid':![],'indexes':[{'name':'uniqueid','fields':[_0xce4e('0xa')]}],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/chatTransferReport/chatTransferReport.rpc.js b/server/api/chatTransferReport/chatTransferReport.rpc.js index ab4f722..df4fe31 100644 --- a/server/api/chatTransferReport/chatTransferReport.rpc.js +++ b/server/api/chatTransferReport/chatTransferReport.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x1997=['lodash','util','bluebird','randomstring','ioredis','../../mysqldb','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','http','request','info','ChatTransferReport,\x20%s,\x20%s','request\x20sent','debug','ChatTransferReport,\x20%s,\x20%s,\x20%s','stringify','error','code','message','catch'];(function(_0x4b7b69,_0x3ab075){var _0x173b4c=function(_0x234d5f){while(--_0x234d5f){_0x4b7b69['push'](_0x4b7b69['shift']());}};_0x173b4c(++_0x3ab075);}(_0x1997,0x73));var _0x7199=function(_0x563654,_0x14cc42){_0x563654=_0x563654-0x0;var _0x334d94=_0x1997[_0x563654];return _0x334d94;};'use strict';var _=require(_0x7199('0x0'));var util=require(_0x7199('0x1'));var moment=require('moment');var BPromise=require(_0x7199('0x2'));var rs=require(_0x7199('0x3'));var fs=require('fs');var Redis=require(_0x7199('0x4'));var db=require(_0x7199('0x5'))['db'];var utils=require(_0x7199('0x6'));var logger=require(_0x7199('0x7'))(_0x7199('0x8'));var config=require(_0x7199('0x9'));var jayson=require(_0x7199('0xa'));var client=jayson['client'][_0x7199('0xb')]({'port':0x232a});function respondWithRpcPromise(_0x15d224,_0x359e6a,_0x3c6607){return new BPromise(function(_0x148a4c,_0x3e4763){return client[_0x7199('0xc')](_0x15d224,_0x3c6607)['then'](function(_0x5a2d7e){logger[_0x7199('0xd')](_0x7199('0xe'),_0x359e6a,_0x7199('0xf'));logger[_0x7199('0x10')](_0x7199('0x11'),_0x359e6a,_0x7199('0xf'),JSON[_0x7199('0x12')](_0x5a2d7e));if(_0x5a2d7e['error']){if(_0x5a2d7e[_0x7199('0x13')][_0x7199('0x14')]===0x1f4){logger[_0x7199('0x13')](_0x7199('0xe'),_0x359e6a,_0x5a2d7e['error']['message']);return _0x3e4763(_0x5a2d7e[_0x7199('0x13')][_0x7199('0x15')]);}logger[_0x7199('0x13')](_0x7199('0xe'),_0x359e6a,_0x5a2d7e[_0x7199('0x13')][_0x7199('0x15')]);return _0x148a4c(_0x5a2d7e[_0x7199('0x13')]['message']);}else{logger[_0x7199('0xd')]('ChatTransferReport,\x20%s,\x20%s',_0x359e6a,_0x7199('0xf'));_0x148a4c(_0x5a2d7e['result'][_0x7199('0x15')]);}})[_0x7199('0x16')](function(_0x4c639f){logger['error'](_0x7199('0xe'),_0x359e6a,_0x4c639f);_0x3e4763(_0x4c639f);});});} \ No newline at end of file +var _0xd995=['../../config/logger','rpc','../../config/environment','jayson/promise','client','http','request','then','info','ChatTransferReport,\x20%s,\x20%s','request\x20sent','debug','stringify','error','code','message','result','catch','util','bluebird','randomstring','ioredis','../../mysqldb','../../config/utils'];(function(_0x3947c9,_0x4d6c97){var _0x2e7871=function(_0x1236cc){while(--_0x1236cc){_0x3947c9['push'](_0x3947c9['shift']());}};_0x2e7871(++_0x4d6c97);}(_0xd995,0x192));var _0x5d99=function(_0x3fb2e5,_0x27665d){_0x3fb2e5=_0x3fb2e5-0x0;var _0xbb3e31=_0xd995[_0x3fb2e5];return _0xbb3e31;};'use strict';var _=require('lodash');var util=require(_0x5d99('0x0'));var moment=require('moment');var BPromise=require(_0x5d99('0x1'));var rs=require(_0x5d99('0x2'));var fs=require('fs');var Redis=require(_0x5d99('0x3'));var db=require(_0x5d99('0x4'))['db'];var utils=require(_0x5d99('0x5'));var logger=require(_0x5d99('0x6'))(_0x5d99('0x7'));var config=require(_0x5d99('0x8'));var jayson=require(_0x5d99('0x9'));var client=jayson[_0x5d99('0xa')][_0x5d99('0xb')]({'port':0x232a});function respondWithRpcPromise(_0x1e11bf,_0xdb516a,_0x5a51ff){return new BPromise(function(_0xd03e72,_0x30d875){return client[_0x5d99('0xc')](_0x1e11bf,_0x5a51ff)[_0x5d99('0xd')](function(_0x537a2a){logger[_0x5d99('0xe')](_0x5d99('0xf'),_0xdb516a,_0x5d99('0x10'));logger[_0x5d99('0x11')]('ChatTransferReport,\x20%s,\x20%s,\x20%s',_0xdb516a,_0x5d99('0x10'),JSON[_0x5d99('0x12')](_0x537a2a));if(_0x537a2a[_0x5d99('0x13')]){if(_0x537a2a['error'][_0x5d99('0x14')]===0x1f4){logger['error'](_0x5d99('0xf'),_0xdb516a,_0x537a2a[_0x5d99('0x13')][_0x5d99('0x15')]);return _0x30d875(_0x537a2a[_0x5d99('0x13')][_0x5d99('0x15')]);}logger[_0x5d99('0x13')]('ChatTransferReport,\x20%s,\x20%s',_0xdb516a,_0x537a2a['error'][_0x5d99('0x15')]);return _0xd03e72(_0x537a2a[_0x5d99('0x13')][_0x5d99('0x15')]);}else{logger['info'](_0x5d99('0xf'),_0xdb516a,'request\x20sent');_0xd03e72(_0x537a2a[_0x5d99('0x16')][_0x5d99('0x15')]);}})[_0x5d99('0x17')](function(_0xee15f){logger[_0x5d99('0x13')]('ChatTransferReport,\x20%s,\x20%s',_0xdb516a,_0xee15f);_0x30d875(_0xee15f);});});} \ No newline at end of file diff --git a/server/api/chatTransferReport/index.js b/server/api/chatTransferReport/index.js index bad5033..7c7e771 100644 --- a/server/api/chatTransferReport/index.js +++ b/server/api/chatTransferReport/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x2032=['describe','/:id','post','create','put','update','destroy','exports','util','path','connect-timeout','Router','../../components/auth/service','../../config/environment','./chatTransferReport.controller','get','isAuthenticated','index','/describe'];(function(_0x16fc2b,_0x3f1feb){var _0x1885c2=function(_0xefd963){while(--_0xefd963){_0x16fc2b['push'](_0x16fc2b['shift']());}};_0x1885c2(++_0x3f1feb);}(_0x2032,0xd9));var _0x2203=function(_0xe47417,_0x2a8389){_0xe47417=_0xe47417-0x0;var _0x2b1f4f=_0x2032[_0xe47417];return _0x2b1f4f;};'use strict';var multer=require('multer');var util=require(_0x2203('0x0'));var path=require(_0x2203('0x1'));var timeout=require(_0x2203('0x2'));var express=require('express');var router=express[_0x2203('0x3')]();var auth=require(_0x2203('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x2203('0x5'));var controller=require(_0x2203('0x6'));router[_0x2203('0x7')]('/',auth[_0x2203('0x8')](),controller[_0x2203('0x9')]);router[_0x2203('0x7')](_0x2203('0xa'),auth[_0x2203('0x8')](),controller[_0x2203('0xb')]);router[_0x2203('0x7')](_0x2203('0xc'),auth['isAuthenticated'](),controller['show']);router[_0x2203('0xd')]('/',auth['isAuthenticated'](),controller[_0x2203('0xe')]);router[_0x2203('0xf')](_0x2203('0xc'),auth['isAuthenticated'](),controller[_0x2203('0x10')]);router['delete'](_0x2203('0xc'),auth['isAuthenticated'](),controller[_0x2203('0x11')]);module[_0x2203('0x12')]=router; \ No newline at end of file +var _0xb7e7=['multer','path','express','../../components/auth/service','../../config/environment','./chatTransferReport.controller','get','/describe','isAuthenticated','/:id','show','post','create','update','delete','destroy','exports'];(function(_0x364997,_0x3ce8bd){var _0x27e571=function(_0x433e6b){while(--_0x433e6b){_0x364997['push'](_0x364997['shift']());}};_0x27e571(++_0x3ce8bd);}(_0xb7e7,0x121));var _0x7b7e=function(_0x9aada2,_0xd2d349){_0x9aada2=_0x9aada2-0x0;var _0x196dff=_0xb7e7[_0x9aada2];return _0x196dff;};'use strict';var multer=require(_0x7b7e('0x0'));var util=require('util');var path=require(_0x7b7e('0x1'));var timeout=require('connect-timeout');var express=require(_0x7b7e('0x2'));var router=express['Router']();var auth=require(_0x7b7e('0x3'));var interaction=require('../../components/interaction/service');var config=require(_0x7b7e('0x4'));var controller=require(_0x7b7e('0x5'));router[_0x7b7e('0x6')]('/',auth['isAuthenticated'](),controller['index']);router[_0x7b7e('0x6')](_0x7b7e('0x7'),auth[_0x7b7e('0x8')](),controller['describe']);router[_0x7b7e('0x6')](_0x7b7e('0x9'),auth[_0x7b7e('0x8')](),controller[_0x7b7e('0xa')]);router[_0x7b7e('0xb')]('/',auth[_0x7b7e('0x8')](),controller[_0x7b7e('0xc')]);router['put'](_0x7b7e('0x9'),auth[_0x7b7e('0x8')](),controller[_0x7b7e('0xd')]);router[_0x7b7e('0xe')](_0x7b7e('0x9'),auth[_0x7b7e('0x8')](),controller[_0x7b7e('0xf')]);module[_0x7b7e('0x10')]=router; \ No newline at end of file diff --git a/server/api/chatWebsite/chatWebsite.attributes.js b/server/api/chatWebsite/chatWebsite.attributes.js index d1371b6..1b4a339 100644 --- a/server/api/chatWebsite/chatWebsite.attributes.js +++ b/server/api/chatWebsite/chatWebsite.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xbcb4=['We\x20are\x20here!','Send','BOOLEAN','Powered\x20by\x20xCALLY','TEXT','Do\x20you\x20want\x20to\x20close\x20the\x20interaction?','Form\x20properly\x20submitted','Type\x20a\x20message','Thanks\x20you\x20for\x20your\x20time!','Skip','Feedback','star','thumb','stringify','name','text','input','getDataValue','onlineForm','parse','textarea','Comments','offlineForm','setDataValue','All\x20of\x20our\x20agents\x20are\x20busy\x20at\x20this\x20time.\x20Your\x20chat\x20is\x20very\x20important\x20to\x20us.','Please\x20hold\x20and\x20we\x20will\x20answer\x20your\x20request\x20as\x20soon\x20as\x20possible.','New\x20offline\x20message\x20from\x20websiteName','You\x20received\x20a\x20new\x20offline\x20message\x20from\x20websiteName.\x20Here\x20you\x20can\x20find\x20the\x20details\x20of\x20the\x20request:','Account:\x20{{account.name}}
{{#queue}}Queue:\x20{{queue.name}}
{{/queue}}From\x20:\x20{{from}}','website_alias','bottom_right','alternate','#fafafa','System','Status\x20to\x20put\x20when\x20mandatory\x20disposition\x20is\x20enabled','Enabled/disables\x20mandatory\x20dispo\x20on\x20a\x20queue','mandatoryDispositionPauseId','sequelize','exports','STRING','address','email','Agent','#9f946a','#ffffff','INTEGER','ENUM','rounded','squared'];(function(_0x4867c2,_0x1fc65d){var _0x5d7148=function(_0x8777de){while(--_0x8777de){_0x4867c2['push'](_0x4867c2['shift']());}};_0x5d7148(++_0x1fc65d);}(_0xbcb4,0x14b));var _0x4bcb=function(_0xb718df,_0x306cae){_0xb718df=_0xb718df-0x0;var _0x2b8391=_0xbcb4[_0xb718df];return _0x2b8391;};'use strict';var Sequelize=require(_0x4bcb('0x0'));var rs=require('randomstring');module[_0x4bcb('0x1')]={'name':{'type':Sequelize[_0x4bcb('0x2')],'allowNull':![]},'address':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0x4bcb('0x3')},'description':{'type':Sequelize['STRING']},'mapKey':{'type':Sequelize[_0x4bcb('0x2')],'defaultValue':_0x4bcb('0x4')},'mapKeyOffline':{'type':Sequelize[_0x4bcb('0x2')],'defaultValue':_0x4bcb('0x4')},'key':{'type':Sequelize[_0x4bcb('0x2')],'allowNull':![]},'agentAlias':{'type':Sequelize['STRING'],'defaultValue':_0x4bcb('0x5')},'customerAlias':{'type':Sequelize[_0x4bcb('0x2')],'defaultValue':'Me'},'color':{'type':Sequelize[_0x4bcb('0x2')],'allowNull':![],'defaultValue':_0x4bcb('0x6'),'validate':{'notEmpty':!![]}},'color_button':{'type':Sequelize[_0x4bcb('0x2')],'allowNull':![],'defaultValue':_0x4bcb('0x6'),'validate':{'notEmpty':!![]}},'textColor':{'type':Sequelize[_0x4bcb('0x2')],'allowNull':![],'defaultValue':_0x4bcb('0x7'),'validate':{'notEmpty':!![]}},'fontSize':{'type':Sequelize[_0x4bcb('0x8')],'defaultValue':0xf},'remote':{'type':Sequelize['STRING']},'animation':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'header_shape':{'type':Sequelize[_0x4bcb('0x9')](_0x4bcb('0xa'),_0x4bcb('0xb')),'defaultValue':_0x4bcb('0xa')},'header_online':{'type':Sequelize[_0x4bcb('0x2')],'defaultValue':_0x4bcb('0xc')},'start_chat_button':{'type':Sequelize[_0x4bcb('0x2')],'defaultValue':'Chat'},'offline_chat_button':{'type':Sequelize[_0x4bcb('0x2')],'defaultValue':_0x4bcb('0xd')},'header_offline':{'type':Sequelize[_0x4bcb('0x2')],'defaultValue':'Contact\x20us'},'download_transcript':{'type':Sequelize[_0x4bcb('0xe')],'defaultValue':!![]},'timeout':{'type':Sequelize[_0x4bcb('0x8')],'defaultValue':0x0},'whiteLabel':{'type':Sequelize['STRING'],'defaultValue':_0x4bcb('0xf')},'defaultWhiteLabel':{'type':Sequelize[_0x4bcb('0xe')],'defaultValue':!![]},'sitepic':{'type':Sequelize[_0x4bcb('0x10')]},'closingQuestion':{'type':Sequelize['STRING'],'defaultValue':_0x4bcb('0x11')},'formSubmitSuccessMessage':{'type':Sequelize[_0x4bcb('0x2')],'defaultValue':_0x4bcb('0x12')},'formSubmitFailureMessage':{'type':Sequelize[_0x4bcb('0x2')],'defaultValue':'Form\x20submission\x20error'},'noteTitle':{'type':Sequelize['STRING'],'defaultValue':'Note'},'placeholderMessage':{'type':Sequelize[_0x4bcb('0x2')],'defaultValue':_0x4bcb('0x13')},'closingMessage':{'type':Sequelize[_0x4bcb('0x2')],'defaultValue':_0x4bcb('0x14')},'closingMessageButton':{'type':Sequelize[_0x4bcb('0x2')],'defaultValue':_0x4bcb('0xd')},'skipMessageButton':{'type':Sequelize[_0x4bcb('0x2')],'defaultValue':_0x4bcb('0x15')},'conditionAgreement':{'type':Sequelize[_0x4bcb('0xe')],'defaultValue':![]},'enableRating':{'type':Sequelize[_0x4bcb('0xe')],'defaultValue':![]},'enableFeedback':{'type':Sequelize[_0x4bcb('0xe')],'defaultValue':![]},'enableSendButton':{'type':Sequelize[_0x4bcb('0xe')],'defaultValue':![]},'feedbackTitle':{'type':Sequelize[_0x4bcb('0x2')],'defaultValue':_0x4bcb('0x16')},'ratingType':{'type':Sequelize[_0x4bcb('0x9')](_0x4bcb('0x17'),_0x4bcb('0x18')),'defaultValue':'star'},'ratingStarsNumber':{'type':Sequelize[_0x4bcb('0x8')],'defaultValue':0x5},'onlineForm':{'type':Sequelize['TEXT'],'defaultValue':function(){return JSON[_0x4bcb('0x19')]({'items':[{'type':'input','variable':null,'config':{'placeholder':_0x4bcb('0x1a'),'type':_0x4bcb('0x1b'),'required':!![]},'props':{'title':_0x4bcb('0x1a'),'helpText':''}},{'type':_0x4bcb('0x1c'),'props':{'title':_0x4bcb('0x4'),'helpText':''},'config':{'required':!![],'placeholder':_0x4bcb('0x4'),'type':_0x4bcb('0x4')},'variable':null}],'fromKey':0x1});},'get':function(){return this[_0x4bcb('0x1d')](_0x4bcb('0x1e'))?JSON[_0x4bcb('0x1f')](this[_0x4bcb('0x1d')](_0x4bcb('0x1e'))):{};},'set':function(_0x43f300){return this['setDataValue'](_0x4bcb('0x1e'),JSON[_0x4bcb('0x19')](_0x43f300));}},'offlineForm':{'type':Sequelize[_0x4bcb('0x10')],'defaultValue':function(){return JSON[_0x4bcb('0x19')]({'items':[{'type':_0x4bcb('0x1c'),'props':{'title':_0x4bcb('0x4'),'helpText':''},'config':{'required':!![],'placeholder':_0x4bcb('0x4'),'type':_0x4bcb('0x4')},'variable':null},{'type':_0x4bcb('0x20'),'config':{'placeholder':_0x4bcb('0x21')},'props':{'title':'Comments','helpText':'Leave\x20your\x20comments'}}],'fromKey':0x0});},'get':function(){return this[_0x4bcb('0x1d')](_0x4bcb('0x22'))?JSON['parse'](this['getDataValue'](_0x4bcb('0x22'))):{};},'set':function(_0x149190){return this[_0x4bcb('0x23')](_0x4bcb('0x22'),JSON[_0x4bcb('0x19')](_0x149190));}},'token':{'type':Sequelize[_0x4bcb('0x2')],'defaultValue':function(){return rs['generate']();}},'autoclose':{'type':Sequelize[_0x4bcb('0xe')],'defaultValue':!![]},'enableCustomerWriting':{'type':Sequelize[_0x4bcb('0xe')],'defaultValue':![]},'forwardTranscript':{'type':Sequelize[_0x4bcb('0xe')],'defaultValue':![]},'forwardTranscriptMessage':{'type':Sequelize[_0x4bcb('0x2')]},'forwardOffline':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'forwardOfflineAddress':{'type':Sequelize[_0x4bcb('0x2')]},'waitingTitle':{'type':Sequelize['STRING'],'defaultValue':_0x4bcb('0x24')},'waitingMessage':{'type':Sequelize[_0x4bcb('0x2')],'defaultValue':_0x4bcb('0x25')},'offlineMessageSubject':{'type':Sequelize[_0x4bcb('0x2')],'defaultValue':_0x4bcb('0x26')},'offlineMessageBody':{'type':Sequelize[_0x4bcb('0x2')],'defaultValue':_0x4bcb('0x27')},'enableUnmanagedNote':{'type':Sequelize[_0x4bcb('0xe')],'defaultValue':!![]},'unmanagedMessage':{'type':Sequelize[_0x4bcb('0x2')],'defaultValue':'Your\x20request\x20has\x20not\x20been\x20processed.'},'skipUnmanaged':{'type':Sequelize[_0x4bcb('0x2')],'defaultValue':'Skip'},'sendUnmanaged':{'type':Sequelize['STRING'],'defaultValue':_0x4bcb('0xd')},'enableCustomerAttachment':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'enableCustomerCheckmarks':{'type':Sequelize[_0x4bcb('0xe')],'defaultValue':![]},'agentAvatar':{'type':Sequelize[_0x4bcb('0x10')]},'showAgentAvatar':{'type':Sequelize[_0x4bcb('0xe')],'defaultValue':![]},'timezone':{'type':Sequelize[_0x4bcb('0x2')]},'notificationTemplate':{'type':Sequelize[_0x4bcb('0x10')],'defaultValue':function(){return _0x4bcb('0x28');}},'notificationSound':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'notificationShake':{'type':Sequelize[_0x4bcb('0xe')],'defaultValue':![]},'hideWhenOffline':{'type':Sequelize[_0x4bcb('0xe')],'defaultValue':![]},'agentIdentifier':{'type':Sequelize[_0x4bcb('0x2')],'defaultValue':_0x4bcb('0x29')},'waitForTheAssignedAgent':{'type':Sequelize[_0x4bcb('0x8')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'alignment':{'type':Sequelize[_0x4bcb('0x2')],'defaultValue':_0x4bcb('0x2a')},'verticalAlignment':{'type':Sequelize[_0x4bcb('0x8')],'defaultValue':0x1e},'messagesAlignment':{'type':Sequelize[_0x4bcb('0x2')],'defaultValue':_0x4bcb('0x2b')},'defaultTitle':{'type':Sequelize[_0x4bcb('0x2')]},'customerAvatar':{'type':Sequelize[_0x4bcb('0x10')]},'showCustomerAvatar':{'type':Sequelize[_0x4bcb('0xe')],'defaultValue':![]},'messageFontSize':{'type':Sequelize['INTEGER'],'defaultValue':0xc},'backgroundColor':{'type':Sequelize[_0x4bcb('0x2')],'allowNull':![],'defaultValue':_0x4bcb('0x2c'),'validate':{'notEmpty':!![]}},'queueTransfer':{'type':Sequelize[_0x4bcb('0xe')],'defaultValue':![]},'queueTransferTimeout':{'type':Sequelize[_0x4bcb('0x8')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'agentTransfer':{'type':Sequelize[_0x4bcb('0xe')],'defaultValue':![]},'agentTransferTimeout':{'type':Sequelize[_0x4bcb('0x8')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'systemAlias':{'type':Sequelize[_0x4bcb('0x2')],'defaultValue':_0x4bcb('0x2d')},'systemAvatar':{'type':Sequelize['TEXT']},'mandatoryDispositionPauseId':{'type':Sequelize[_0x4bcb('0x8')],'comment':_0x4bcb('0x2e')},'mandatoryDisposition':{'type':Sequelize[_0x4bcb('0xe')],'defaultValue':![],'comment':_0x4bcb('0x2f'),'set':function(_0x2c22da){if(!_0x2c22da)this['setDataValue'](_0x4bcb('0x30'),null);this['setDataValue']('mandatoryDisposition',_0x2c22da);}},'vidaooEscalation':{'type':Sequelize[_0x4bcb('0xe')],'defaultValue':![]},'vidaooApiKey':{'type':Sequelize['STRING'],'defaultValue':![]}}; \ No newline at end of file +var _0x1167=['name','text','onlineForm','parse','getDataValue','setDataValue','stringify','textarea','Comments','offlineForm','Please\x20hold\x20and\x20we\x20will\x20answer\x20your\x20request\x20as\x20soon\x20as\x20possible.','Your\x20request\x20has\x20not\x20been\x20processed.','Skip','Send','Account:\x20{{account.name}}
{{#queue}}Queue:\x20{{queue.name}}
{{/queue}}From\x20:\x20{{from}}','website_alias','alternate','#fafafa','System','Status\x20to\x20put\x20when\x20mandatory\x20disposition\x20is\x20enabled','Enabled/disables\x20mandatory\x20dispo\x20on\x20a\x20queue','mandatoryDispositionPauseId','sequelize','randomstring','exports','STRING','address','email','Agent','#9f946a','#ffffff','BOOLEAN','ENUM','rounded','squared','We\x20are\x20here!','Chat','Contact\x20us','INTEGER','Powered\x20by\x20xCALLY','TEXT','Do\x20you\x20want\x20to\x20close\x20the\x20interaction?','Form\x20properly\x20submitted','Form\x20submission\x20error','Note','Feedback','star','input'];(function(_0x5a9264,_0x7444e4){var _0x1f7b9a=function(_0x5038c7){while(--_0x5038c7){_0x5a9264['push'](_0x5a9264['shift']());}};_0x1f7b9a(++_0x7444e4);}(_0x1167,0x196));var _0x7116=function(_0x432682,_0x253044){_0x432682=_0x432682-0x0;var _0x463d05=_0x1167[_0x432682];return _0x463d05;};'use strict';var Sequelize=require(_0x7116('0x0'));var rs=require(_0x7116('0x1'));module[_0x7116('0x2')]={'name':{'type':Sequelize[_0x7116('0x3')],'allowNull':![]},'address':{'type':Sequelize[_0x7116('0x3')],'allowNull':![],'unique':_0x7116('0x4')},'description':{'type':Sequelize[_0x7116('0x3')]},'mapKey':{'type':Sequelize['STRING'],'defaultValue':_0x7116('0x5')},'mapKeyOffline':{'type':Sequelize['STRING'],'defaultValue':_0x7116('0x5')},'key':{'type':Sequelize[_0x7116('0x3')],'allowNull':![]},'agentAlias':{'type':Sequelize[_0x7116('0x3')],'defaultValue':_0x7116('0x6')},'customerAlias':{'type':Sequelize[_0x7116('0x3')],'defaultValue':'Me'},'color':{'type':Sequelize[_0x7116('0x3')],'allowNull':![],'defaultValue':_0x7116('0x7'),'validate':{'notEmpty':!![]}},'color_button':{'type':Sequelize[_0x7116('0x3')],'allowNull':![],'defaultValue':_0x7116('0x7'),'validate':{'notEmpty':!![]}},'textColor':{'type':Sequelize[_0x7116('0x3')],'allowNull':![],'defaultValue':_0x7116('0x8'),'validate':{'notEmpty':!![]}},'fontSize':{'type':Sequelize['INTEGER'],'defaultValue':0xf},'remote':{'type':Sequelize[_0x7116('0x3')]},'animation':{'type':Sequelize[_0x7116('0x9')],'defaultValue':!![]},'header_shape':{'type':Sequelize[_0x7116('0xa')](_0x7116('0xb'),_0x7116('0xc')),'defaultValue':_0x7116('0xb')},'header_online':{'type':Sequelize[_0x7116('0x3')],'defaultValue':_0x7116('0xd')},'start_chat_button':{'type':Sequelize[_0x7116('0x3')],'defaultValue':_0x7116('0xe')},'offline_chat_button':{'type':Sequelize[_0x7116('0x3')],'defaultValue':'Send'},'header_offline':{'type':Sequelize[_0x7116('0x3')],'defaultValue':_0x7116('0xf')},'download_transcript':{'type':Sequelize[_0x7116('0x9')],'defaultValue':!![]},'timeout':{'type':Sequelize[_0x7116('0x10')],'defaultValue':0x0},'whiteLabel':{'type':Sequelize['STRING'],'defaultValue':_0x7116('0x11')},'defaultWhiteLabel':{'type':Sequelize[_0x7116('0x9')],'defaultValue':!![]},'sitepic':{'type':Sequelize[_0x7116('0x12')]},'closingQuestion':{'type':Sequelize[_0x7116('0x3')],'defaultValue':_0x7116('0x13')},'formSubmitSuccessMessage':{'type':Sequelize[_0x7116('0x3')],'defaultValue':_0x7116('0x14')},'formSubmitFailureMessage':{'type':Sequelize[_0x7116('0x3')],'defaultValue':_0x7116('0x15')},'noteTitle':{'type':Sequelize[_0x7116('0x3')],'defaultValue':_0x7116('0x16')},'placeholderMessage':{'type':Sequelize[_0x7116('0x3')],'defaultValue':'Type\x20a\x20message'},'closingMessage':{'type':Sequelize['STRING'],'defaultValue':'Thanks\x20you\x20for\x20your\x20time!'},'closingMessageButton':{'type':Sequelize[_0x7116('0x3')],'defaultValue':'Send'},'skipMessageButton':{'type':Sequelize[_0x7116('0x3')],'defaultValue':'Skip'},'conditionAgreement':{'type':Sequelize[_0x7116('0x9')],'defaultValue':![]},'enableRating':{'type':Sequelize[_0x7116('0x9')],'defaultValue':![]},'enableFeedback':{'type':Sequelize[_0x7116('0x9')],'defaultValue':![]},'enableSendButton':{'type':Sequelize[_0x7116('0x9')],'defaultValue':![]},'feedbackTitle':{'type':Sequelize[_0x7116('0x3')],'defaultValue':_0x7116('0x17')},'ratingType':{'type':Sequelize[_0x7116('0xa')](_0x7116('0x18'),'thumb'),'defaultValue':_0x7116('0x18')},'ratingStarsNumber':{'type':Sequelize[_0x7116('0x10')],'defaultValue':0x5},'onlineForm':{'type':Sequelize[_0x7116('0x12')],'defaultValue':function(){return JSON['stringify']({'items':[{'type':_0x7116('0x19'),'variable':null,'config':{'placeholder':_0x7116('0x1a'),'type':_0x7116('0x1b'),'required':!![]},'props':{'title':_0x7116('0x1a'),'helpText':''}},{'type':_0x7116('0x19'),'props':{'title':_0x7116('0x5'),'helpText':''},'config':{'required':!![],'placeholder':_0x7116('0x5'),'type':_0x7116('0x5')},'variable':null}],'fromKey':0x1});},'get':function(){return this['getDataValue'](_0x7116('0x1c'))?JSON[_0x7116('0x1d')](this[_0x7116('0x1e')]('onlineForm')):{};},'set':function(_0x30a6d2){return this[_0x7116('0x1f')](_0x7116('0x1c'),JSON[_0x7116('0x20')](_0x30a6d2));}},'offlineForm':{'type':Sequelize['TEXT'],'defaultValue':function(){return JSON[_0x7116('0x20')]({'items':[{'type':_0x7116('0x19'),'props':{'title':_0x7116('0x5'),'helpText':''},'config':{'required':!![],'placeholder':_0x7116('0x5'),'type':'email'},'variable':null},{'type':_0x7116('0x21'),'config':{'placeholder':_0x7116('0x22')},'props':{'title':_0x7116('0x22'),'helpText':'Leave\x20your\x20comments'}}],'fromKey':0x0});},'get':function(){return this[_0x7116('0x1e')](_0x7116('0x23'))?JSON[_0x7116('0x1d')](this[_0x7116('0x1e')](_0x7116('0x23'))):{};},'set':function(_0x30cdfe){return this['setDataValue'](_0x7116('0x23'),JSON['stringify'](_0x30cdfe));}},'token':{'type':Sequelize[_0x7116('0x3')],'defaultValue':function(){return rs['generate']();}},'autoclose':{'type':Sequelize[_0x7116('0x9')],'defaultValue':!![]},'enableCustomerWriting':{'type':Sequelize[_0x7116('0x9')],'defaultValue':![]},'forwardTranscript':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'forwardTranscriptMessage':{'type':Sequelize['STRING']},'forwardOffline':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'forwardOfflineAddress':{'type':Sequelize[_0x7116('0x3')]},'waitingTitle':{'type':Sequelize['STRING'],'defaultValue':'All\x20of\x20our\x20agents\x20are\x20busy\x20at\x20this\x20time.\x20Your\x20chat\x20is\x20very\x20important\x20to\x20us.'},'waitingMessage':{'type':Sequelize[_0x7116('0x3')],'defaultValue':_0x7116('0x24')},'offlineMessageSubject':{'type':Sequelize[_0x7116('0x3')],'defaultValue':'New\x20offline\x20message\x20from\x20websiteName'},'offlineMessageBody':{'type':Sequelize['STRING'],'defaultValue':'You\x20received\x20a\x20new\x20offline\x20message\x20from\x20websiteName.\x20Here\x20you\x20can\x20find\x20the\x20details\x20of\x20the\x20request:'},'enableUnmanagedNote':{'type':Sequelize[_0x7116('0x9')],'defaultValue':!![]},'unmanagedMessage':{'type':Sequelize[_0x7116('0x3')],'defaultValue':_0x7116('0x25')},'skipUnmanaged':{'type':Sequelize[_0x7116('0x3')],'defaultValue':_0x7116('0x26')},'sendUnmanaged':{'type':Sequelize[_0x7116('0x3')],'defaultValue':_0x7116('0x27')},'enableCustomerAttachment':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'enableCustomerCheckmarks':{'type':Sequelize[_0x7116('0x9')],'defaultValue':![]},'agentAvatar':{'type':Sequelize['TEXT']},'showAgentAvatar':{'type':Sequelize[_0x7116('0x9')],'defaultValue':![]},'timezone':{'type':Sequelize['STRING']},'notificationTemplate':{'type':Sequelize['TEXT'],'defaultValue':function(){return _0x7116('0x28');}},'notificationSound':{'type':Sequelize[_0x7116('0x9')],'defaultValue':!![]},'notificationShake':{'type':Sequelize[_0x7116('0x9')],'defaultValue':![]},'hideWhenOffline':{'type':Sequelize[_0x7116('0x9')],'defaultValue':![]},'agentIdentifier':{'type':Sequelize[_0x7116('0x3')],'defaultValue':_0x7116('0x29')},'waitForTheAssignedAgent':{'type':Sequelize[_0x7116('0x10')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'alignment':{'type':Sequelize['STRING'],'defaultValue':'bottom_right'},'verticalAlignment':{'type':Sequelize[_0x7116('0x10')],'defaultValue':0x1e},'messagesAlignment':{'type':Sequelize[_0x7116('0x3')],'defaultValue':_0x7116('0x2a')},'defaultTitle':{'type':Sequelize[_0x7116('0x3')]},'customerAvatar':{'type':Sequelize[_0x7116('0x12')]},'showCustomerAvatar':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'messageFontSize':{'type':Sequelize[_0x7116('0x10')],'defaultValue':0xc},'backgroundColor':{'type':Sequelize[_0x7116('0x3')],'allowNull':![],'defaultValue':_0x7116('0x2b'),'validate':{'notEmpty':!![]}},'queueTransfer':{'type':Sequelize[_0x7116('0x9')],'defaultValue':![]},'queueTransferTimeout':{'type':Sequelize[_0x7116('0x10')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'agentTransfer':{'type':Sequelize[_0x7116('0x9')],'defaultValue':![]},'agentTransferTimeout':{'type':Sequelize['INTEGER'],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'systemAlias':{'type':Sequelize[_0x7116('0x3')],'defaultValue':_0x7116('0x2c')},'systemAvatar':{'type':Sequelize[_0x7116('0x12')]},'mandatoryDispositionPauseId':{'type':Sequelize[_0x7116('0x10')],'comment':_0x7116('0x2d')},'mandatoryDisposition':{'type':Sequelize[_0x7116('0x9')],'defaultValue':![],'comment':_0x7116('0x2e'),'set':function(_0x187aa2){if(!_0x187aa2)this['setDataValue'](_0x7116('0x2f'),null);this[_0x7116('0x1f')]('mandatoryDisposition',_0x187aa2);}},'vidaooEscalation':{'type':Sequelize[_0x7116('0x9')],'defaultValue':![]},'vidaooApiKey':{'type':Sequelize['STRING'],'defaultValue':![]}}; \ No newline at end of file diff --git a/server/api/chatWebsite/chatWebsite.controller.js b/server/api/chatWebsite/chatWebsite.controller.js index 2097374..1b47548 100644 --- a/server/api/chatWebsite/chatWebsite.controller.js +++ b/server/api/chatWebsite/chatWebsite.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x8ca0=['offlineMessageBody','ChatOfflineMessage','MailAccount','MailServerOut','Smtp','forwardOfflineAddress','service','host','port','secure','auth','pass','SendMail','email','offlineMessageSubject','addInteraction','omit','getInteractions','Contact','Owner','fullname','internal','Tag','Tags','color','tag','Command','getSnippet','timezone','iftime\x20%s,%s','iftime\x20%s','interval','indexOf','true','info','[%s][INTERVAL][%s]\x20%s\x20%s\x20(%s)','OFFLINE','No\x20timezone','Interval','../../config/license/util','increment','chatLicenseExceeded','Intervals','push','remote','x-real-ip','connection','remoteAddress','virtual','verticalAlignment','addApplications','transaction','ChatApplication','bulkCreate','findAndCountAll','getApplications','addProactiveActions','chatProactiveAction','getProactiveActions','ChatProactiveAction','getFields','false','offlineForm','items','fromKey','getOfflineMessages','addAgents','emit','userChatWebsite:save','removeAgents','isArray','userChatWebsite:remove','getAgents','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','mustache','path','sox','to-csv','ejs','lodash','squel','crypto','jsforce','desk.js','querystring','ioredis','../../components/auth/service','../../components/parsers/advancedSearch','../../config/logger','api','../../config/utils','../../mysqldb','defaults','redis','localhost','socket.io-emitter','./chatWebsite.socket','register','jayson/promise','client','http','test','Sequelize','ValidationError','The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.','then','ChatWebsite,\x20%s,\x20%s','request\x20sent','debug','stringify','error','code','message','result','sendStatus','status','end','json','count','offset','limit','Content-Range','apply','update','destroy','ChatWebsites','stack','name','index','mandatoryDispositionPause','map','ChatWebsite','rawAttributes','fieldName','type','key','model','query','keys','intersection','attributes','fields','hasOwnProperty','order','sort','where','filters','pick','filter','merge','VIRTUAL','options','include','findAll','rows','show','params','Pause','length','catch','create','body','get','Unable\x20to\x20retrieve\x20the\x20current\x20user','role','user','find','userProfileId','autoAssociation','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','describe','addDisposition','ChatWebsiteId','findOne','Disposition','nolimit','includeAll','removeDispositions','ids','addAnswer','CannedAnswer','getAnswers','removeAnswers','addLogo','sitepic','file','addAvatar','agentAvatar','addCustomerAvatar','customerAvatar','filename','addSystemAvatar','systemAvatar','getLogo','join','root','server/files/images/logos/default_logo.png','custom','isNil','existsSync','server/files/images/logos/','download','getAvatar','server/files/images/avatars/default_avatar.png','server/files/images/avatars/','getCustomerAvatar','server/files/images/avatars/customer_avatar.png','showCustomerAvatar','notify','user-agent-parser','setUA','getResult','no\x20available\x20attributes','difference','createdAt','updatedAt','from','body\x20is\x20mandatory\x20and\x20not\x20empty','mapKey','mapKey\x20is\x20mandatory,\x20please\x20use\x20one\x20of\x20these:\x20','includes','mapKey\x20invalid,\x20please\x20use\x20one\x20of\x20these:\x20','CmList','List','Contacts','DESC','Applications','account','list','priority','asc','ListId','CmContact','contact','customerIp','headers','x-forwarded-for','first','split','firstName','x-real-port','referer','browser','version','format','%s\x20%s','unknown','device','%s\x20%s\x20%s','vendor','threadId','ChatInteraction','externalUrl','ContactId','interaction','lastName','messageId','created','autoclose','applications','close','unmanaged','*,*,*,*','ChatMessage','AttachmentId','UserId','User','unshift','waitForTheAssignedAgent','forcedOwnership','Start','startRouting','EventManager','offline','CompanyId','send','from\x20is\x20mandatory','mapKeyOffline','mapKeyOffline\x20is\x20mandatory,\x20please\x20use\x20one\x20of\x20these:\x20','mapKeyOffline\x20invalid,\x20please\x20use\x20one\x20of\x20these:\x20','findOrCreate','spread','readFileSync','server/files/templates/chatOfflineMessage.ejs','utf8','render','toPairs'];(function(_0x127a60,_0x37f33a){var _0xc1f6a3=function(_0x8ed035){while(--_0x8ed035){_0x127a60['push'](_0x127a60['shift']());}};_0xc1f6a3(++_0x37f33a);}(_0x8ca0,0x16f));var _0x08ca=function(_0x19720e,_0x45aa36){_0x19720e=_0x19720e-0x0;var _0x7943cf=_0x8ca0[_0x19720e];return _0x7943cf;};'use strict';var pdf=require(_0x08ca('0x0'));var emlformat=require(_0x08ca('0x1'));var rimraf=require(_0x08ca('0x2'));var zipdir=require(_0x08ca('0x3'));var jsonpatch=require(_0x08ca('0x4'));var rp=require(_0x08ca('0x5'));var moment=require(_0x08ca('0x6'));var BPromise=require(_0x08ca('0x7'));var Mustache=require(_0x08ca('0x8'));var util=require('util');var path=require(_0x08ca('0x9'));var sox=require(_0x08ca('0xa'));var csv=require(_0x08ca('0xb'));var ejs=require(_0x08ca('0xc'));var fs=require('fs');var _=require(_0x08ca('0xd'));var squel=require(_0x08ca('0xe'));var crypto=require(_0x08ca('0xf'));var jsforce=require(_0x08ca('0x10'));var deskjs=require(_0x08ca('0x11'));var toCsv=require('to-csv');var querystring=require(_0x08ca('0x12'));var Papa=require('papaparse');var Redis=require(_0x08ca('0x13'));var authService=require(_0x08ca('0x14'));var qs=require('../../components/parsers/qs');var as=require(_0x08ca('0x15'));var hardwareService=require('../../config/license/hardware');var logger=require(_0x08ca('0x16'))(_0x08ca('0x17'));var utils=require(_0x08ca('0x18'));var config=require('../../config/environment');var db=require(_0x08ca('0x19'))['db'];config['redis']=_[_0x08ca('0x1a')](config[_0x08ca('0x1b')],{'host':_0x08ca('0x1c'),'port':0x18eb});var socket=require(_0x08ca('0x1d'))(new Redis(config[_0x08ca('0x1b')]));require(_0x08ca('0x1e'))[_0x08ca('0x1f')](socket);var jayson=require(_0x08ca('0x20'));var client=jayson[_0x08ca('0x21')][_0x08ca('0x22')]({'port':0x232c});var client9002=jayson['client'][_0x08ca('0x22')]({'port':0x232a});var client9003=jayson['client']['http']({'port':0x232b});function checkPasswordPattern(_0x536f1a,_0x1a4978,_0x52c726){if(_0x52c726){var _0x4db9d2=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0x4db9d2[_0x08ca('0x23')](_0x1a4978)){return _0x536f1a;}else{throw new db[(_0x08ca('0x24'))][(_0x08ca('0x25'))](_0x08ca('0x26'));}}else{return _0x536f1a;}}function respondWithRpcPromise(_0x9f763c,_0x541a2d,_0x51cf50,_0x1b81ec){return new BPromise(function(_0x568656,_0x46fca){var _0x540620=_0x1b81ec||client;return _0x540620['request'](_0x9f763c,_0x51cf50)[_0x08ca('0x27')](function(_0x1b35ed){logger['info'](_0x08ca('0x28'),_0x541a2d,_0x08ca('0x29'));logger[_0x08ca('0x2a')]('ChatWebsite,\x20%s,\x20%s,\x20%s',_0x541a2d,'request\x20sent',JSON[_0x08ca('0x2b')](_0x1b35ed));if(_0x1b35ed[_0x08ca('0x2c')]){if(_0x1b35ed[_0x08ca('0x2c')][_0x08ca('0x2d')]===0x1f4){logger[_0x08ca('0x2c')](_0x08ca('0x28'),_0x541a2d,_0x1b35ed[_0x08ca('0x2c')][_0x08ca('0x2e')]);return _0x46fca(_0x1b35ed['error'][_0x08ca('0x2e')]);}logger[_0x08ca('0x2c')](_0x08ca('0x28'),_0x541a2d,_0x1b35ed[_0x08ca('0x2c')]['message']);return _0x568656(_0x1b35ed[_0x08ca('0x2c')][_0x08ca('0x2e')]);}else{logger['info'](_0x08ca('0x28'),_0x541a2d,_0x08ca('0x29'));_0x568656(_0x1b35ed[_0x08ca('0x2f')][_0x08ca('0x2e')]);}})['catch'](function(_0x3ee500){logger[_0x08ca('0x2c')](_0x08ca('0x28'),_0x541a2d,_0x3ee500);_0x46fca(_0x3ee500);});});}function respondWithStatusCode(_0x5a52b7,_0x518c5){_0x518c5=_0x518c5||0xcc;return function(_0x38761e){if(_0x38761e){return _0x5a52b7[_0x08ca('0x30')](_0x518c5);}return _0x5a52b7[_0x08ca('0x31')](_0x518c5)[_0x08ca('0x32')]();};}function respondWithResult(_0x365aca,_0x41b186){_0x41b186=_0x41b186||0xc8;return function(_0x11b8fb){if(_0x11b8fb){return _0x365aca[_0x08ca('0x31')](_0x41b186)[_0x08ca('0x33')](_0x11b8fb);}};}function respondWithFilteredResult(_0x5cc310,_0x16ab68){return function(_0x5d9f01){if(_0x5d9f01){var _0xb6ca75=_0x5d9f01[_0x08ca('0x34')],_0xdb8e41=_0x16ab68[_0x08ca('0x35')],_0x2b6fda=_0x16ab68['offset']+_0x16ab68[_0x08ca('0x36')],_0x59ebec;if(_0x2b6fda>=_0xb6ca75){_0x2b6fda=_0xb6ca75;_0x59ebec=0xc8;}else{_0x59ebec=0xce;}_0x5cc310[_0x08ca('0x31')](_0x59ebec);return _0x5cc310['set'](_0x08ca('0x37'),_0xdb8e41+'-'+_0x2b6fda+'/'+_0xb6ca75)['json'](_0x5d9f01);}return null;};}function patchUpdates(_0x56343f){return function(_0x1006e1){try{jsonpatch[_0x08ca('0x38')](_0x1006e1,_0x56343f,!![]);}catch(_0x5808d0){return BPromise['reject'](_0x5808d0);}return _0x1006e1['save']();};}function saveUpdates(_0x2cd94a,_0x1b9c74){return function(_0x5371e2){if(_0x5371e2){return _0x5371e2[_0x08ca('0x39')](_0x2cd94a)[_0x08ca('0x27')](function(_0xd7f95d){return _0xd7f95d;});}return null;};}function removeEntity(_0x4aa1aa,_0x124bf4){return function(_0x5654ff){if(_0x5654ff){return _0x5654ff[_0x08ca('0x3a')]()['then'](function(){var _0x1f1697=_0x5654ff['get']({'plain':!![]});var _0x4e38f1=_0x08ca('0x3b');return db['UserProfileResource'][_0x08ca('0x3a')]({'where':{'type':_0x4e38f1,'resourceId':_0x1f1697['id']}})['then'](function(){return _0x5654ff;});})[_0x08ca('0x27')](function(){_0x4aa1aa['status'](0xcc)[_0x08ca('0x32')]();});}};}function handleEntityNotFound(_0x33f86f,_0x515e15){return function(_0x166dcc){if(!_0x166dcc){_0x33f86f[_0x08ca('0x30')](0x194);}return _0x166dcc;};}function handleError(_0x7b9dcc,_0x3abd59){_0x3abd59=_0x3abd59||0x1f4;return function(_0x1d9756){logger['error'](_0x1d9756[_0x08ca('0x3c')]);if(_0x1d9756[_0x08ca('0x3d')]){delete _0x1d9756['name'];}_0x7b9dcc[_0x08ca('0x31')](_0x3abd59)['send'](_0x1d9756);};}exports[_0x08ca('0x3e')]=function(_0x4ed73f,_0x3039c9){var _0xd90cdf={'include':[{'model':db['Pause'],'as':_0x08ca('0x3f')}]},_0x429a8f={},_0x310adf={'count':0x0,'rows':[]};var _0x47935b=_[_0x08ca('0x40')](db[_0x08ca('0x41')][_0x08ca('0x42')],function(_0x10050c){return{'name':_0x10050c[_0x08ca('0x43')],'type':_0x10050c[_0x08ca('0x44')][_0x08ca('0x45')]};});_0x429a8f[_0x08ca('0x46')]=_[_0x08ca('0x40')](_0x47935b,_0x08ca('0x3d'));_0x429a8f[_0x08ca('0x47')]=_[_0x08ca('0x48')](_0x4ed73f[_0x08ca('0x47')]);_0x429a8f['filters']=_[_0x08ca('0x49')](_0x429a8f[_0x08ca('0x46')],_0x429a8f[_0x08ca('0x47')]);_0xd90cdf[_0x08ca('0x4a')]=_[_0x08ca('0x49')](_0x429a8f['model'],qs[_0x08ca('0x4b')](_0x4ed73f[_0x08ca('0x47')][_0x08ca('0x4b')]));_0xd90cdf[_0x08ca('0x4a')]=_0xd90cdf[_0x08ca('0x4a')]['length']?_0xd90cdf[_0x08ca('0x4a')]:_0x429a8f[_0x08ca('0x46')];if(!_0x4ed73f[_0x08ca('0x47')][_0x08ca('0x4c')]('nolimit')){_0xd90cdf[_0x08ca('0x36')]=qs[_0x08ca('0x36')](_0x4ed73f[_0x08ca('0x47')]['limit']);_0xd90cdf[_0x08ca('0x35')]=qs[_0x08ca('0x35')](_0x4ed73f['query'][_0x08ca('0x35')]);}_0xd90cdf[_0x08ca('0x4d')]=qs[_0x08ca('0x4e')](_0x4ed73f[_0x08ca('0x47')][_0x08ca('0x4e')]);_0xd90cdf[_0x08ca('0x4f')]=qs[_0x08ca('0x50')](_[_0x08ca('0x51')](_0x4ed73f[_0x08ca('0x47')],_0x429a8f[_0x08ca('0x50')]),_0x47935b);if(_0x4ed73f[_0x08ca('0x47')][_0x08ca('0x52')]){_0xd90cdf[_0x08ca('0x4f')]=_[_0x08ca('0x53')](_0xd90cdf['where'],{'$or':_[_0x08ca('0x40')](_0x47935b,function(_0x265cdd){if(_0x265cdd[_0x08ca('0x44')]!==_0x08ca('0x54')){var _0x254546={};_0x254546[_0x265cdd[_0x08ca('0x3d')]]={'$like':'%'+_0x4ed73f[_0x08ca('0x47')][_0x08ca('0x52')]+'%'};return _0x254546;}})});}_0xd90cdf=_[_0x08ca('0x53')]({},_0xd90cdf,_0x4ed73f[_0x08ca('0x55')]);var _0x1646c8={'where':_0xd90cdf[_0x08ca('0x4f')]};return db['ChatWebsite']['count'](_0x1646c8)[_0x08ca('0x27')](function(_0x5ee0e7){_0x310adf['count']=_0x5ee0e7;if(_0x4ed73f[_0x08ca('0x47')]['includeAll']){_0xd90cdf[_0x08ca('0x56')]=[{'all':!![]}];}return db['ChatWebsite'][_0x08ca('0x57')](_0xd90cdf);})[_0x08ca('0x27')](function(_0x5094c1){_0x310adf[_0x08ca('0x58')]=_0x5094c1;return _0x310adf;})['then'](respondWithFilteredResult(_0x3039c9,_0xd90cdf))['catch'](handleError(_0x3039c9,null));};exports[_0x08ca('0x59')]=function(_0x41dc1e,_0x1e674d){var _0x231795={'raw':![],'where':{'id':_0x41dc1e[_0x08ca('0x5a')]['id']},'include':[{'model':db[_0x08ca('0x5b')],'as':_0x08ca('0x3f')}]},_0x18c57d={};_0x18c57d['model']=_[_0x08ca('0x48')](db['ChatWebsite'][_0x08ca('0x42')]);_0x18c57d[_0x08ca('0x47')]=_[_0x08ca('0x48')](_0x41dc1e[_0x08ca('0x47')]);_0x18c57d['filters']=_[_0x08ca('0x49')](_0x18c57d[_0x08ca('0x46')],_0x18c57d[_0x08ca('0x47')]);_0x231795[_0x08ca('0x4a')]=_['intersection'](_0x18c57d[_0x08ca('0x46')],qs[_0x08ca('0x4b')](_0x41dc1e['query'][_0x08ca('0x4b')]));_0x231795[_0x08ca('0x4a')]=_0x231795[_0x08ca('0x4a')][_0x08ca('0x5c')]?_0x231795[_0x08ca('0x4a')]:_0x18c57d[_0x08ca('0x46')];if(_0x41dc1e[_0x08ca('0x47')]['includeAll']){_0x231795[_0x08ca('0x56')]=[{'all':!![]}];}_0x231795=_[_0x08ca('0x53')]({},_0x231795,_0x41dc1e['options']);return db[_0x08ca('0x41')]['find'](_0x231795)[_0x08ca('0x27')](handleEntityNotFound(_0x1e674d,null))['then'](respondWithResult(_0x1e674d,null))[_0x08ca('0x5d')](handleError(_0x1e674d,null));};exports[_0x08ca('0x5e')]=function(_0x59706f,_0xdf3388){return db[_0x08ca('0x41')]['create'](_0x59706f[_0x08ca('0x5f')],{})[_0x08ca('0x27')](function(_0x14ae70){var _0x35ed10=_0x59706f['user'][_0x08ca('0x60')]({'plain':!![]});if(!_0x35ed10)throw new Error(_0x08ca('0x61'));if(_0x35ed10[_0x08ca('0x62')]===_0x08ca('0x63')){var _0x15854a=_0x14ae70[_0x08ca('0x60')]({'plain':!![]});var _0x4d3808=_0x08ca('0x3b');return db['UserProfileSection'][_0x08ca('0x64')]({'where':{'name':_0x4d3808,'userProfileId':_0x35ed10[_0x08ca('0x65')]},'raw':!![]})[_0x08ca('0x27')](function(_0x484d0f){if(_0x484d0f&&_0x484d0f[_0x08ca('0x66')]===0x0){return db['UserProfileResource'][_0x08ca('0x5e')]({'name':_0x15854a[_0x08ca('0x3d')],'resourceId':_0x15854a['id'],'type':_0x484d0f[_0x08ca('0x3d')],'sectionId':_0x484d0f['id']},{})[_0x08ca('0x27')](function(){return _0x14ae70;});}else{return _0x14ae70;}})[_0x08ca('0x5d')](function(_0x34e8f1){logger[_0x08ca('0x2c')](_0x08ca('0x67'),_0x34e8f1);throw _0x34e8f1;});}return _0x14ae70;})['then'](respondWithResult(_0xdf3388,0xc9))[_0x08ca('0x5d')](handleError(_0xdf3388,null));};exports[_0x08ca('0x39')]=function(_0x49f679,_0x1962f9){if(_0x49f679[_0x08ca('0x5f')]['id']){delete _0x49f679['body']['id'];}return db[_0x08ca('0x41')][_0x08ca('0x64')]({'where':{'id':_0x49f679[_0x08ca('0x5a')]['id']},'include':[{'model':db[_0x08ca('0x5b')],'as':_0x08ca('0x3f')}]})['then'](handleEntityNotFound(_0x1962f9,null))['then'](saveUpdates(_0x49f679[_0x08ca('0x5f')],null))['then'](respondWithResult(_0x1962f9,null))[_0x08ca('0x5d')](handleError(_0x1962f9,null));};exports[_0x08ca('0x3a')]=function(_0x5a79cd,_0x37199c){return db['ChatWebsite']['find']({'where':{'id':_0x5a79cd[_0x08ca('0x5a')]['id']}})['then'](handleEntityNotFound(_0x37199c,null))[_0x08ca('0x27')](removeEntity(_0x37199c,null))['catch'](handleError(_0x37199c,null));};exports[_0x08ca('0x68')]=function(_0x1a12da,_0x5b6005){return db['ChatWebsite'][_0x08ca('0x68')]()[_0x08ca('0x27')](respondWithResult(_0x5b6005,null))['catch'](handleError(_0x5b6005,null));};exports[_0x08ca('0x69')]=function(_0x2da18f,_0x223e0f,_0x11b799){if(_0x2da18f[_0x08ca('0x5f')]['id']){delete _0x2da18f[_0x08ca('0x5f')]['id'];}return db['ChatWebsite'][_0x08ca('0x64')]({'where':{'id':_0x2da18f[_0x08ca('0x5a')]['id']}})[_0x08ca('0x27')](handleEntityNotFound(_0x223e0f,null))['then'](function(_0x47b74a){if(_0x47b74a){_0x2da18f[_0x08ca('0x5f')][_0x08ca('0x6a')]=_0x47b74a['id'];return db['Disposition'][_0x08ca('0x5e')](_0x2da18f[_0x08ca('0x5f')]);}})[_0x08ca('0x27')](respondWithResult(_0x223e0f,null))['catch'](handleError(_0x223e0f,null));};exports['getDispositions']=function(_0x12fe12,_0x5a2795,_0x20302b){var _0x5f4cf1={'raw':![],'where':{}};var _0x329791={};var _0x450d91={'count':0x0,'rows':[]};return db['ChatWebsite'][_0x08ca('0x6b')]({'where':{'id':_0x12fe12[_0x08ca('0x5a')]['id']}})[_0x08ca('0x27')](handleEntityNotFound(_0x5a2795,null))['then'](function(_0x289798){if(_0x289798){_0x329791[_0x08ca('0x46')]=_[_0x08ca('0x48')](db[_0x08ca('0x6c')][_0x08ca('0x42')]);_0x329791[_0x08ca('0x47')]=_[_0x08ca('0x48')](_0x12fe12[_0x08ca('0x47')]);_0x329791['filters']=_[_0x08ca('0x49')](_0x329791[_0x08ca('0x46')],_0x329791['query']);_0x5f4cf1[_0x08ca('0x4a')]=_[_0x08ca('0x49')](_0x329791[_0x08ca('0x46')],qs[_0x08ca('0x4b')](_0x12fe12['query']['fields']));_0x5f4cf1['attributes']=_0x5f4cf1[_0x08ca('0x4a')]['length']?_0x5f4cf1[_0x08ca('0x4a')]:_0x329791[_0x08ca('0x46')];if(!_0x12fe12[_0x08ca('0x47')]['hasOwnProperty'](_0x08ca('0x6d'))){_0x5f4cf1['limit']=qs[_0x08ca('0x36')](_0x12fe12[_0x08ca('0x47')][_0x08ca('0x36')]);_0x5f4cf1['offset']=qs['offset'](_0x12fe12['query']['offset']);}_0x5f4cf1[_0x08ca('0x4d')]=qs['sort'](_0x12fe12['query'][_0x08ca('0x4e')]);_0x5f4cf1[_0x08ca('0x4f')]=qs[_0x08ca('0x50')](_[_0x08ca('0x51')](_0x12fe12['query'],_0x329791[_0x08ca('0x50')]));_0x5f4cf1[_0x08ca('0x4f')][_0x08ca('0x6a')]=_0x289798['id'];if(_0x12fe12[_0x08ca('0x47')][_0x08ca('0x52')]){_0x5f4cf1['where']=_[_0x08ca('0x53')](_0x5f4cf1[_0x08ca('0x4f')],{'$or':_[_0x08ca('0x40')](_0x5f4cf1[_0x08ca('0x4a')],function(_0x5600d3){var _0x58450e={};_0x58450e[_0x5600d3]={'$like':'%'+_0x12fe12[_0x08ca('0x47')][_0x08ca('0x52')]+'%'};return _0x58450e;})});}_0x5f4cf1=_[_0x08ca('0x53')]({},_0x5f4cf1,_0x12fe12[_0x08ca('0x55')]);return db[_0x08ca('0x6c')]['count']({'where':_0x5f4cf1[_0x08ca('0x4f')]})[_0x08ca('0x27')](function(_0x351a5f){_0x450d91[_0x08ca('0x34')]=_0x351a5f;if(_0x12fe12[_0x08ca('0x47')][_0x08ca('0x6e')]){_0x5f4cf1[_0x08ca('0x56')]=[{'all':!![]}];}return db['Disposition'][_0x08ca('0x57')](_0x5f4cf1);})['then'](function(_0x3bd025){_0x450d91[_0x08ca('0x58')]=_0x3bd025;return _0x450d91;});}})['then'](respondWithFilteredResult(_0x5a2795,_0x5f4cf1))['catch'](handleError(_0x5a2795,null));};exports[_0x08ca('0x6f')]=function(_0x54fb71,_0x25bcc0,_0x20bb15){return db[_0x08ca('0x41')][_0x08ca('0x64')]({'where':{'id':_0x54fb71[_0x08ca('0x5a')]['id']}})[_0x08ca('0x27')](handleEntityNotFound(_0x25bcc0,null))[_0x08ca('0x27')](function(_0x3d98b9){if(_0x3d98b9){return _0x3d98b9[_0x08ca('0x6f')](_0x54fb71[_0x08ca('0x47')][_0x08ca('0x70')]);}})[_0x08ca('0x27')](respondWithStatusCode(_0x25bcc0,null))[_0x08ca('0x5d')](handleError(_0x25bcc0,null));};exports[_0x08ca('0x71')]=function(_0x2471e7,_0x18e64d,_0x394c31){if(_0x2471e7[_0x08ca('0x5f')]['id']){delete _0x2471e7[_0x08ca('0x5f')]['id'];}return db['ChatWebsite'][_0x08ca('0x64')]({'where':{'id':_0x2471e7[_0x08ca('0x5a')]['id']}})[_0x08ca('0x27')](handleEntityNotFound(_0x18e64d,null))[_0x08ca('0x27')](function(_0x2b9c68){if(_0x2b9c68){_0x2471e7['body'][_0x08ca('0x6a')]=_0x2b9c68['id'];return db[_0x08ca('0x72')][_0x08ca('0x5e')](_0x2471e7['body']);}})[_0x08ca('0x27')](respondWithResult(_0x18e64d,null))[_0x08ca('0x5d')](handleError(_0x18e64d,null));};exports[_0x08ca('0x73')]=function(_0x5ed68c,_0x1bf530,_0x23780f){var _0x108e8c={'raw':![],'where':{}};var _0x2009a8={};var _0x4ed389={'count':0x0,'rows':[]};return db['ChatWebsite'][_0x08ca('0x6b')]({'where':{'id':_0x5ed68c['params']['id']}})[_0x08ca('0x27')](handleEntityNotFound(_0x1bf530,null))['then'](function(_0x4ebc25){if(_0x4ebc25){_0x2009a8['model']=_[_0x08ca('0x48')](db['CannedAnswer'][_0x08ca('0x42')]);_0x2009a8[_0x08ca('0x47')]=_[_0x08ca('0x48')](_0x5ed68c['query']);_0x2009a8[_0x08ca('0x50')]=_[_0x08ca('0x49')](_0x2009a8[_0x08ca('0x46')],_0x2009a8['query']);_0x108e8c['attributes']=_[_0x08ca('0x49')](_0x2009a8[_0x08ca('0x46')],qs['fields'](_0x5ed68c[_0x08ca('0x47')][_0x08ca('0x4b')]));_0x108e8c[_0x08ca('0x4a')]=_0x108e8c[_0x08ca('0x4a')][_0x08ca('0x5c')]?_0x108e8c[_0x08ca('0x4a')]:_0x2009a8[_0x08ca('0x46')];if(!_0x5ed68c[_0x08ca('0x47')][_0x08ca('0x4c')]('nolimit')){_0x108e8c['limit']=qs[_0x08ca('0x36')](_0x5ed68c['query'][_0x08ca('0x36')]);_0x108e8c[_0x08ca('0x35')]=qs[_0x08ca('0x35')](_0x5ed68c['query'][_0x08ca('0x35')]);}_0x108e8c[_0x08ca('0x4d')]=qs[_0x08ca('0x4e')](_0x5ed68c[_0x08ca('0x47')][_0x08ca('0x4e')]);_0x108e8c[_0x08ca('0x4f')]=qs[_0x08ca('0x50')](_['pick'](_0x5ed68c[_0x08ca('0x47')],_0x2009a8[_0x08ca('0x50')]));_0x108e8c[_0x08ca('0x4f')][_0x08ca('0x6a')]=_0x4ebc25['id'];if(_0x5ed68c[_0x08ca('0x47')][_0x08ca('0x52')]){_0x108e8c[_0x08ca('0x4f')]=_[_0x08ca('0x53')](_0x108e8c['where'],{'$or':_[_0x08ca('0x40')](_0x108e8c['attributes'],function(_0x3826fd){var _0x399aa8={};_0x399aa8[_0x3826fd]={'$like':'%'+_0x5ed68c[_0x08ca('0x47')][_0x08ca('0x52')]+'%'};return _0x399aa8;})});}_0x108e8c=_[_0x08ca('0x53')]({},_0x108e8c,_0x5ed68c[_0x08ca('0x55')]);return db['CannedAnswer'][_0x08ca('0x34')]({'where':_0x108e8c[_0x08ca('0x4f')]})[_0x08ca('0x27')](function(_0x4edc32){_0x4ed389[_0x08ca('0x34')]=_0x4edc32;if(_0x5ed68c[_0x08ca('0x47')]['includeAll']){_0x108e8c[_0x08ca('0x56')]=[{'all':!![]}];}return db[_0x08ca('0x72')][_0x08ca('0x57')](_0x108e8c);})[_0x08ca('0x27')](function(_0x4eb527){_0x4ed389[_0x08ca('0x58')]=_0x4eb527;return _0x4ed389;});}})[_0x08ca('0x27')](respondWithFilteredResult(_0x1bf530,_0x108e8c))[_0x08ca('0x5d')](handleError(_0x1bf530,null));};exports[_0x08ca('0x74')]=function(_0x5e0d0e,_0x5dc71b,_0x4d8890){return db['ChatWebsite'][_0x08ca('0x64')]({'where':{'id':_0x5e0d0e['params']['id']}})[_0x08ca('0x27')](handleEntityNotFound(_0x5dc71b,null))[_0x08ca('0x27')](function(_0x30eeeb){if(_0x30eeeb){return _0x30eeeb[_0x08ca('0x74')](_0x5e0d0e[_0x08ca('0x47')][_0x08ca('0x70')]);}})[_0x08ca('0x27')](respondWithStatusCode(_0x5dc71b,null))[_0x08ca('0x5d')](handleError(_0x5dc71b,null));};exports[_0x08ca('0x75')]=function(_0x3d6465,_0x52cd91,_0x440d2f){_0x3d6465[_0x08ca('0x5f')][_0x08ca('0x76')]=_0x3d6465[_0x08ca('0x77')]['filename'];return db[_0x08ca('0x41')]['find']({'where':{'id':_0x3d6465['params']['id']}})[_0x08ca('0x27')](handleEntityNotFound(_0x52cd91,null))['then'](saveUpdates(_0x3d6465[_0x08ca('0x5f')],null))[_0x08ca('0x27')](respondWithResult(_0x52cd91,null))[_0x08ca('0x5d')](handleError(_0x52cd91,null));};exports[_0x08ca('0x78')]=function(_0x26f133,_0x37bd70,_0x138078){_0x26f133[_0x08ca('0x5f')][_0x08ca('0x79')]=_0x26f133[_0x08ca('0x77')]['filename'];return db[_0x08ca('0x41')][_0x08ca('0x64')]({'where':{'id':_0x26f133['params']['id']}})[_0x08ca('0x27')](handleEntityNotFound(_0x37bd70,null))[_0x08ca('0x27')](saveUpdates(_0x26f133[_0x08ca('0x5f')],null))['then'](respondWithResult(_0x37bd70,null))[_0x08ca('0x5d')](handleError(_0x37bd70,null));};exports[_0x08ca('0x7a')]=function(_0x1f397d,_0x55ef00,_0x53ed2c){_0x1f397d[_0x08ca('0x5f')][_0x08ca('0x7b')]=_0x1f397d[_0x08ca('0x77')][_0x08ca('0x7c')];return db[_0x08ca('0x41')][_0x08ca('0x64')]({'where':{'id':_0x1f397d[_0x08ca('0x5a')]['id']}})[_0x08ca('0x27')](handleEntityNotFound(_0x55ef00,null))[_0x08ca('0x27')](saveUpdates(_0x1f397d[_0x08ca('0x5f')],null))[_0x08ca('0x27')](respondWithResult(_0x55ef00,null))[_0x08ca('0x5d')](handleError(_0x55ef00,null));};exports[_0x08ca('0x7d')]=function(_0x122b3c,_0x5c69d7,_0x456777){_0x122b3c[_0x08ca('0x5f')][_0x08ca('0x7e')]=_0x122b3c[_0x08ca('0x77')][_0x08ca('0x7c')];return db[_0x08ca('0x41')][_0x08ca('0x64')]({'where':{'id':_0x122b3c[_0x08ca('0x5a')]['id']}})['then'](handleEntityNotFound(_0x5c69d7,null))[_0x08ca('0x27')](saveUpdates(_0x122b3c[_0x08ca('0x5f')],null))[_0x08ca('0x27')](respondWithResult(_0x5c69d7,null))[_0x08ca('0x5d')](handleError(_0x5c69d7,null));};exports[_0x08ca('0x7f')]=function(_0x839926,_0x7fc7b1,_0x3a9d3c){var _0x56daa8=path[_0x08ca('0x80')](config[_0x08ca('0x81')],_0x08ca('0x82'));var _0x1e080c={'where':{'id':_0x839926[_0x08ca('0x5a')]['id']},'attributes':['id',_0x08ca('0x76')],'raw':!![]};var _0x4d3bd7=![];return require('../../config/license/util')['getLicense']()[_0x08ca('0x27')](function(_0x1f02d6){if(_0x1f02d6){_0x4d3bd7=_0x1f02d6[_0x08ca('0x83')];}})[_0x08ca('0x27')](function(){return db[_0x08ca('0x41')]['find'](_0x1e080c);})[_0x08ca('0x27')](handleEntityNotFound(_0x7fc7b1,null))[_0x08ca('0x27')](function(_0x5188c8){if(_0x5188c8){if(!_[_0x08ca('0x84')](_0x5188c8[_0x08ca('0x76')])){if(fs[_0x08ca('0x85')](path[_0x08ca('0x80')](config[_0x08ca('0x81')],'server/files/images/logos/',_0x5188c8[_0x08ca('0x76')]))&&_0x4d3bd7){_0x56daa8=path[_0x08ca('0x80')](config[_0x08ca('0x81')],_0x08ca('0x86'),_0x5188c8[_0x08ca('0x76')]);}}return _0x7fc7b1[_0x08ca('0x87')](_0x56daa8);}})[_0x08ca('0x5d')](handleError(_0x7fc7b1,null));};exports[_0x08ca('0x88')]=function(_0x22b674,_0x48524f,_0x254895){var _0x3b9a74=path[_0x08ca('0x80')](config[_0x08ca('0x81')],_0x08ca('0x89'));var _0x16b6a8={'where':{'id':_0x22b674[_0x08ca('0x5a')]['id']},'attributes':['id',_0x08ca('0x79')],'raw':!![]};return db[_0x08ca('0x41')][_0x08ca('0x64')](_0x16b6a8)['then'](handleEntityNotFound(_0x48524f,null))[_0x08ca('0x27')](function(_0x52bf2c){if(_0x52bf2c){if(!_[_0x08ca('0x84')](_0x52bf2c[_0x08ca('0x79')])){if(fs[_0x08ca('0x85')](path[_0x08ca('0x80')](config[_0x08ca('0x81')],_0x08ca('0x8a'),_0x52bf2c[_0x08ca('0x79')]))){_0x3b9a74=path['join'](config[_0x08ca('0x81')],_0x08ca('0x8a'),_0x52bf2c[_0x08ca('0x79')]);}}return _0x48524f[_0x08ca('0x87')](_0x3b9a74);}})[_0x08ca('0x5d')](handleError(_0x48524f,null));};exports[_0x08ca('0x8b')]=function(_0x2723eb,_0xcb8231,_0x4644fe){var _0x4bb41a=path[_0x08ca('0x80')](config[_0x08ca('0x81')],_0x08ca('0x8c'));var _0x5c5385={'where':{'id':_0x2723eb['params']['id']},'attributes':['id',_0x08ca('0x7b'),'showCustomerAvatar'],'raw':!![]};return db[_0x08ca('0x41')][_0x08ca('0x64')](_0x5c5385)[_0x08ca('0x27')](handleEntityNotFound(_0xcb8231,null))[_0x08ca('0x27')](function(_0x2bf4b5){if(_0x2bf4b5){if(!_['isNil'](_0x2bf4b5['customerAvatar'])){if(fs['existsSync'](path[_0x08ca('0x80')](config[_0x08ca('0x81')],_0x08ca('0x8a'),_0x2bf4b5[_0x08ca('0x7b')]))&&_0x2bf4b5[_0x08ca('0x8d')]){_0x4bb41a=path[_0x08ca('0x80')](config[_0x08ca('0x81')],_0x08ca('0x8a'),_0x2bf4b5[_0x08ca('0x7b')]);}}return _0xcb8231[_0x08ca('0x87')](_0x4bb41a);}})[_0x08ca('0x5d')](handleError(_0xcb8231,null));};exports['getSystemAvatar']=function(_0x56669c,_0x18a2b7,_0x4737b1){var _0x592f63=path[_0x08ca('0x80')](config[_0x08ca('0x81')],'server/files/images/avatars/system_avatar.png');var _0x5ad160={'where':{'id':_0x56669c[_0x08ca('0x5a')]['id']},'attributes':['id',_0x08ca('0x7e')],'raw':!![]};return db[_0x08ca('0x41')][_0x08ca('0x64')](_0x5ad160)[_0x08ca('0x27')](handleEntityNotFound(_0x18a2b7,null))[_0x08ca('0x27')](function(_0x58d51b){if(_0x58d51b){if(!_[_0x08ca('0x84')](_0x58d51b['systemAvatar'])){if(fs['existsSync'](path[_0x08ca('0x80')](config[_0x08ca('0x81')],'server/files/images/avatars/',_0x58d51b['systemAvatar']))){_0x592f63=path['join'](config[_0x08ca('0x81')],_0x08ca('0x8a'),_0x58d51b[_0x08ca('0x7e')]);}}return _0x18a2b7['download'](_0x592f63);}})[_0x08ca('0x5d')](handleError(_0x18a2b7,null));};exports[_0x08ca('0x8e')]=function(_0x48e427,_0x30c90d,_0xb576ef){var _0x18cf6f=require(_0x08ca('0x8f'));var _0x34897b=new _0x18cf6f();var _0x533fa4=_0x34897b[_0x08ca('0x90')](_0x48e427['headers']['user-agent'])[_0x08ca('0x91')]();var _0x23ffbe={'body':_0x48e427['body'],'channel':'chat'};var _0x2c47a8=[];var _0x5a56c7=[];var _0x54e819={};var _0x1523e2=![];return db['CmContact'][_0x08ca('0x68')]()[_0x08ca('0x27')](function(_0x5c09c5){if(!_0x5c09c5){throw new db[(_0x08ca('0x24'))][(_0x08ca('0x25'))](_0x08ca('0x92'));}_0x2c47a8=_[_0x08ca('0x93')](_[_0x08ca('0x48')](_0x5c09c5),[_0x08ca('0x94'),'updatedAt']);_0x5a56c7=_[_0x08ca('0x93')](_[_0x08ca('0x48')](_0x5c09c5),[_0x08ca('0x94'),_0x08ca('0x95'),'CompanyId','ListId']);if(_0x48e427[_0x08ca('0x5f')]['id']){delete _0x48e427[_0x08ca('0x5f')]['id'];}if(_[_0x08ca('0x84')](_0x48e427[_0x08ca('0x5f')][_0x08ca('0x96')])){throw new db[(_0x08ca('0x24'))][(_0x08ca('0x25'))]('from\x20is\x20mandatory');}if(_[_0x08ca('0x84')](_0x48e427['body'][_0x08ca('0x5f')])||_0x48e427[_0x08ca('0x5f')][_0x08ca('0x5f')]===''){throw new db[(_0x08ca('0x24'))][(_0x08ca('0x25'))](_0x08ca('0x97'));}if(_[_0x08ca('0x84')](_0x48e427[_0x08ca('0x5f')][_0x08ca('0x98')])){throw new db[(_0x08ca('0x24'))][(_0x08ca('0x25'))](_0x08ca('0x99')+_0x5a56c7);}if(!_[_0x08ca('0x9a')](_0x5a56c7,_0x48e427[_0x08ca('0x5f')]['mapKey'])){throw new db[(_0x08ca('0x24'))][(_0x08ca('0x25'))](_0x08ca('0x9b')+_0x5a56c7);}_0x54e819[_0x48e427[_0x08ca('0x5f')][_0x08ca('0x98')]]=_0x48e427[_0x08ca('0x5f')]['from'];})['then'](function(){return db[_0x08ca('0x41')][_0x08ca('0x64')]({'where':{'id':_0x48e427[_0x08ca('0x5a')]['id']},'include':[{'model':db[_0x08ca('0x9c')],'as':_0x08ca('0x9d'),'include':[{'model':db['CmContact'],'as':_0x08ca('0x9e'),'where':_0x54e819,'limit':0x1,'order':[[_0x08ca('0x95'),_0x08ca('0x9f')]]}]},{'model':db['ChatApplication'],'as':_0x08ca('0xa0')}]});})[_0x08ca('0x27')](handleEntityNotFound(_0x30c90d,null))['then'](function(_0x4e1119){if(_0x4e1119&&_0x4e1119[_0x08ca('0x9d')]){_0x23ffbe[_0x08ca('0xa1')]=_0x4e1119;_0x23ffbe['applications']=_0x4e1119[_0x08ca('0xa0')];_0x23ffbe[_0x08ca('0xa2')]=_0x4e1119[_0x08ca('0x9d')];_0x23ffbe['applications']=_['orderBy'](_0x23ffbe['applications'],[_0x08ca('0xa3')],[_0x08ca('0xa4')]);if(_0x23ffbe[_0x08ca('0xa1')][_0x08ca('0xa0')]){delete _0x23ffbe[_0x08ca('0xa1')][_0x08ca('0xa0')];}if(_0x23ffbe[_0x08ca('0xa1')][_0x08ca('0x9d')]&&_0x23ffbe['account'][_0x08ca('0x9d')][_0x08ca('0x9e')][_0x08ca('0x5c')]){return _0x23ffbe[_0x08ca('0xa1')][_0x08ca('0x9d')][_0x08ca('0x9e')][0x0];}var _0x2caf27=_[_0x08ca('0x1a')](_0x48e427[_0x08ca('0x5f')],{'firstName':_0x48e427[_0x08ca('0x5f')]['from'],'ListId':_0x4e1119[_0x08ca('0xa5')]});_0x2caf27[_0x48e427[_0x08ca('0x5f')][_0x08ca('0x98')]]=_0x48e427[_0x08ca('0x5f')]['from'];return db[_0x08ca('0xa6')][_0x08ca('0x5e')](_0x2caf27,{'fields':_0x2c47a8,'raw':!![]});}})[_0x08ca('0x27')](handleEntityNotFound(_0x30c90d,null))['then'](function(_0x1763d9){_0x23ffbe[_0x08ca('0xa7')]=_0x1763d9;var _0x335ce4=_0x48e427['body'][_0x08ca('0xa8')];if(_0x48e427['headers']['cf-connecting-ip']){_0x335ce4=_0x48e427[_0x08ca('0xa9')]['cf-connecting-ip'];}else if(_0x48e427[_0x08ca('0xa9')][_0x08ca('0xaa')]){_0x335ce4=_[_0x08ca('0xab')](_0x48e427[_0x08ca('0xa9')]['x-forwarded-for'][_0x08ca('0xac')](','));}if(_0x1763d9){var _0x5e5ba4={'ContactId':_0x1763d9['id'],'ChatWebsiteId':_0x48e427['params']['id'],'from':(_0x1763d9[_0x08ca('0xad')]||'')+'\x20'+(_0x1763d9['lastName']||''),'customerIp':_0x335ce4,'customerPort':_0x48e427[_0x08ca('0xa9')]['x-real-port']?_0x48e427[_0x08ca('0xa9')][_0x08ca('0xae')]:null,'referer':_0x48e427[_0x08ca('0x5f')][_0x08ca('0xaf')],'browserName':_0x533fa4[_0x08ca('0xb0')][_0x08ca('0x3d')]&&_0x533fa4[_0x08ca('0xb0')][_0x08ca('0xb1')]?util[_0x08ca('0xb2')](_0x08ca('0xb3'),_0x533fa4[_0x08ca('0xb0')][_0x08ca('0x3d')],_0x533fa4['browser']['version']):_0x08ca('0xb4'),'browserVersion':_0x533fa4[_0x08ca('0xb0')][_0x08ca('0xb1')]||_0x08ca('0xb4'),'osName':util[_0x08ca('0xb2')](_0x08ca('0xb3'),_0x533fa4['os'][_0x08ca('0x3d')],_0x533fa4['os'][_0x08ca('0xb1')]),'osVersion':_0x533fa4['os']['version'],'deviceModel':_0x533fa4['device'][_0x08ca('0x46')]&&_0x533fa4[_0x08ca('0xb5')]['vendor']?util[_0x08ca('0xb2')](_0x08ca('0xb6'),_0x533fa4['device']['model'],_0x533fa4[_0x08ca('0xb5')][_0x08ca('0xb7')],_0x533fa4[_0x08ca('0xb5')][_0x08ca('0x44')]):null,'deviceVendor':_0x533fa4[_0x08ca('0xb5')][_0x08ca('0xb7')],'deviceType':_0x533fa4[_0x08ca('0xb5')][_0x08ca('0x44')],'formData':JSON[_0x08ca('0x2b')](_0x48e427[_0x08ca('0x5f')])};var _0x463a96={'ChatWebsiteId':_0x48e427[_0x08ca('0x5a')]['id'],'closed':![]};if(_0x48e427[_0x08ca('0x5f')][_0x08ca('0xb8')]){_0x463a96[_0x08ca('0xb8')]=_0x48e427[_0x08ca('0x5f')][_0x08ca('0xb8')];return db[_0x08ca('0xb9')]['find']({'where':_0x463a96})[_0x08ca('0x27')](function(_0x3cc839){if(_0x3cc839){return[_0x3cc839,![]];}_0x5e5ba4[_0x08ca('0xb8')]=_0x48e427[_0x08ca('0x5f')][_0x08ca('0xb8')];_0x5e5ba4['externalUrl']=_0x48e427['body'][_0x08ca('0xba')];return db[_0x08ca('0xb9')][_0x08ca('0x5e')](_0x5e5ba4)['then'](function(_0x38a61e){return[_0x38a61e,!![]];});});}_0x463a96[_0x08ca('0xbb')]=_0x1763d9['id'];if(_0x48e427[_0x08ca('0x5f')]['interaction']&&_0x48e427[_0x08ca('0x5f')][_0x08ca('0xbc')]['id']){_0x463a96['id']=_0x48e427[_0x08ca('0x5f')][_0x08ca('0xbc')]['id'];return db[_0x08ca('0xb9')][_0x08ca('0x64')]({'where':_0x463a96})[_0x08ca('0x27')](function(_0x528b37){if(_0x528b37){return[_0x528b37,![]];}return db[_0x08ca('0xb9')][_0x08ca('0x5e')](_0x5e5ba4)[_0x08ca('0x27')](function(_0x5340d4){return[_0x5340d4,!![]];});});}return db[_0x08ca('0xb9')][_0x08ca('0x5e')](_0x5e5ba4)[_0x08ca('0x27')](function(_0x27a02c){return[_0x27a02c,!![]];});}})['spread'](function(_0xde15f2,_0x5d5273){if(_0xde15f2){_0x1523e2=_0x5d5273;if(!_0x5d5273){var _0x4a0c3a={'from':(_0x23ffbe[_0x08ca('0xa7')][_0x08ca('0xad')]||'')+'\x20'+(_0x23ffbe['contact'][_0x08ca('0xbd')]||'')};if(_0x48e427[_0x08ca('0x5f')][_0x08ca('0xb8')]&&_0x48e427[_0x08ca('0x5f')][_0x08ca('0xbe')]&&_0x48e427[_0x08ca('0x5f')][_0x08ca('0xb8')]!=_0x48e427[_0x08ca('0x5f')][_0x08ca('0xbe')]){_0x4a0c3a[_0x08ca('0xb8')]=_0x48e427[_0x08ca('0x5f')][_0x08ca('0xbe')];}return _0xde15f2[_0x08ca('0x39')](_0x4a0c3a);}else{return _0xde15f2;}}})[_0x08ca('0x27')](function(_0x44e057){_0x23ffbe[_0x08ca('0xbc')]=_0x44e057[_0x08ca('0x60')]({'plain':!![]});_0x23ffbe[_0x08ca('0xbc')][_0x08ca('0xbf')]=_0x1523e2;if(_0x23ffbe['interaction']['created']){if(_0x23ffbe[_0x08ca('0xa1')][_0x08ca('0xc0')]){_0x23ffbe[_0x08ca('0xc1')]['push']({'id':0x0,'priority':_0x23ffbe['applications']['length']+0x1,'app':_0x08ca('0xc2'),'appdata':_0x08ca('0xc3'),'interval':_0x08ca('0xc4')});}}return db[_0x08ca('0xc5')][_0x08ca('0x5e')]({'body':_0x48e427['body'][_0x08ca('0x5f')],'ChatWebsiteId':_0x48e427[_0x08ca('0x5a')]['id'],'ChatInteractionId':_0x44e057['id'],'direction':'in','ContactId':_0x23ffbe[_0x08ca('0xa7')]['id'],'AttachmentId':_0x48e427[_0x08ca('0x5f')][_0x08ca('0xc6')]});})['then'](function(_0x3cb5ea){_0x23ffbe[_0x08ca('0x2e')]=_0x3cb5ea;if(_0x23ffbe[_0x08ca('0xbc')][_0x08ca('0xc7')]){return db[_0x08ca('0xc8')][_0x08ca('0x64')]({'attributes':['id',_0x08ca('0x3d')],'where':{'id':_0x23ffbe['interaction'][_0x08ca('0xc7')]}})[_0x08ca('0x27')](function(_0x2b6163){if(_0x2b6163){_0x23ffbe[_0x08ca('0xc1')][_0x08ca('0xc9')]({'id':0x0,'priority':0x0,'app':'agent','appdata':_0x2b6163[_0x08ca('0x3d')]+','+(_0x23ffbe[_0x08ca('0xa1')][_0x08ca('0xca')]||0xa),'interval':_0x08ca('0xc4')});_0x23ffbe[_0x08ca('0xcb')]=!![];}return respondWithRpcPromise(_0x08ca('0xcc'),_0x08ca('0xcd'),_0x23ffbe);});}return respondWithRpcPromise(_0x08ca('0xcc'),'startRouting',_0x23ffbe);})[_0x08ca('0x27')](function(_0x50cb51){respondWithRpcPromise(_0x08ca('0xce'),'EventManager',{'event':_0x08ca('0x8e'),'message':_0x50cb51},client9002);return _0x50cb51;})[_0x08ca('0x27')](respondWithResult(_0x30c90d,null))[_0x08ca('0x5d')](handleError(_0x30c90d,null));};exports[_0x08ca('0xcf')]=function(_0x4914eb,_0x3bdfb7,_0x465977){var _0x13c4eb,_0x1fc31a,_0x366cb5;var _0x1b77a4=[];var _0x4f5376=[];var _0x39623b={};return db[_0x08ca('0xa6')][_0x08ca('0x68')]()[_0x08ca('0x27')](function(_0x582f4b){if(!_0x582f4b){throw new db[(_0x08ca('0x24'))][(_0x08ca('0x25'))](_0x08ca('0x92'));}_0x4f5376=_[_0x08ca('0x93')](_[_0x08ca('0x48')](_0x582f4b),[_0x08ca('0x94'),_0x08ca('0x95')]);_0x1b77a4=_[_0x08ca('0x93')](_['keys'](_0x582f4b),[_0x08ca('0x94'),_0x08ca('0x95'),_0x08ca('0xd0'),_0x08ca('0xa5')]);if(_0x4914eb[_0x08ca('0x5f')]['id']){delete _0x4914eb[_0x08ca('0x5f')]['id'];}if(_[_0x08ca('0x84')](_0x4914eb['body']['from'])){throw _0x3bdfb7['status'](0x1f4)[_0x08ca('0xd1')](new db[(_0x08ca('0x24'))][(_0x08ca('0x25'))](_0x08ca('0xd2')));}if(_[_0x08ca('0x84')](_0x4914eb[_0x08ca('0x5f')][_0x08ca('0x5f')])||_0x4914eb[_0x08ca('0x5f')][_0x08ca('0x5f')]===''){throw _0x3bdfb7[_0x08ca('0x31')](0x1f4)[_0x08ca('0xd1')](new db[(_0x08ca('0x24'))][(_0x08ca('0x25'))](_0x08ca('0x97')));}if(_['isNil'](_0x4914eb['body'][_0x08ca('0xd3')])){throw _0x3bdfb7[_0x08ca('0x31')](0x1f4)[_0x08ca('0xd1')](new db[(_0x08ca('0x24'))][(_0x08ca('0x25'))](_0x08ca('0xd4')+_0x1b77a4));}if(!_[_0x08ca('0x9a')](_0x1b77a4,_0x4914eb[_0x08ca('0x5f')][_0x08ca('0xd3')])){throw _0x3bdfb7['status'](0x1f4)['send'](new db[(_0x08ca('0x24'))][(_0x08ca('0x25'))](_0x08ca('0xd5')+_0x1b77a4));}_0x39623b[_0x4914eb['body'][_0x08ca('0xd3')]]=_0x4914eb[_0x08ca('0x5f')][_0x08ca('0x96')];})['then'](function(){return db[_0x08ca('0x41')][_0x08ca('0x64')]({'where':{'id':_0x4914eb[_0x08ca('0x5a')]['id']},'include':[{'model':db['CmList'],'as':_0x08ca('0x9d')}]});})[_0x08ca('0x27')](handleEntityNotFound(_0x3bdfb7,null))[_0x08ca('0x27')](function(_0x3b4c3c){if(_0x3b4c3c&&_0x3b4c3c[_0x08ca('0x9d')]){_0x1fc31a=_0x3b4c3c;var _0x1e0860=_[_0x08ca('0x1a')](_0x4914eb[_0x08ca('0x5f')],{'firstName':_0x4914eb[_0x08ca('0x5f')][_0x08ca('0x96')],'phone':_0x4914eb[_0x08ca('0x5f')][_0x08ca('0x96')],'ListId':_0x3b4c3c[_0x08ca('0xa5')]});_0x1e0860[_0x4914eb[_0x08ca('0x5f')][_0x08ca('0xd3')]]=_0x4914eb[_0x08ca('0x5f')][_0x08ca('0x96')];return db[_0x08ca('0xa6')][_0x08ca('0xd6')]({'where':_0x39623b,'defaults':_0x1e0860});}})[_0x08ca('0xd7')](function(_0x132e76){if(_0x132e76){_0x366cb5=_0x132e76;var _0x53c094=fs[_0x08ca('0xd8')](path[_0x08ca('0x80')](config[_0x08ca('0x81')],_0x08ca('0xd9')),_0x08ca('0xda'));var _0x5006b0=ejs[_0x08ca('0xdb')](_0x53c094,{'body':_[_0x08ca('0xdc')](_0x4914eb[_0x08ca('0x5f')][_0x08ca('0x5f')]),'bodyTitle':_0x1fc31a[_0x08ca('0xdd')]});return db[_0x08ca('0xde')][_0x08ca('0x5e')]({'body':_0x5006b0,'ContactId':_0x132e76['id'],'ChatWebsiteId':_0x1fc31a['id']});}})[_0x08ca('0x27')](function(_0x5bd10b){if(_0x5bd10b){_0x13c4eb=_0x5bd10b;return db[_0x08ca('0xdf')][_0x08ca('0x6b')]({'where':{'service':!![]},'include':[{'model':db[_0x08ca('0xe0')],'as':_0x08ca('0xe1'),'raw':!![]}]});}})['then'](function(_0x207d99){if(_0x207d99&&_0x207d99['Smtp']&&_0x1fc31a[_0x08ca('0xe2')]){var _0x21e037={'tls':{'rejectUnauthorized':![]}};if(_0x207d99[_0x08ca('0xe1')][_0x08ca('0xe3')]){_0x21e037['service']=_0x207d99[_0x08ca('0xe1')]['service'];}else{_0x21e037[_0x08ca('0xe4')]=_0x207d99[_0x08ca('0xe1')][_0x08ca('0xe4')];_0x21e037[_0x08ca('0xe5')]=_0x207d99[_0x08ca('0xe1')][_0x08ca('0xe5')];_0x21e037['secure']=_0x207d99['Smtp'][_0x08ca('0xe6')];}if(_0x207d99[_0x08ca('0xe1')]['authentication']){_0x21e037[_0x08ca('0xe7')]={'user':_0x207d99[_0x08ca('0xe1')][_0x08ca('0x63')],'pass':_0x207d99[_0x08ca('0xe1')][_0x08ca('0xe8')]};}return respondWithRpcPromise(_0x08ca('0xe9'),'sendMail',{'account':_0x21e037,'message':{'from':util[_0x08ca('0xb2')]('\x22%s\x22\x20<%s>',_0x207d99[_0x08ca('0x3d')],_0x207d99[_0x08ca('0xea')]||_0x207d99[_0x08ca('0xe1')][_0x08ca('0x63')]),'to':_0x1fc31a[_0x08ca('0xe2')],'subject':_0x1fc31a[_0x08ca('0xeb')],'text':_0x13c4eb[_0x08ca('0x5f')]}},client9003)[_0x08ca('0x27')](function(){return _0x13c4eb;})[_0x08ca('0x5d')](function(_0x5d4db6){console['error'](_0x5d4db6);});}})[_0x08ca('0x27')](function(){if(_0x13c4eb){return _0x13c4eb;}})[_0x08ca('0x27')](respondWithResult(_0x3bdfb7,null))[_0x08ca('0x5d')](handleError(_0x3bdfb7,null));};exports[_0x08ca('0xec')]=function(_0x5cd806,_0x808fe8,_0x4cd008){return db[_0x08ca('0xb9')]['find']({'where':{'id':_0x5cd806['params']['id']}})[_0x08ca('0x27')](handleEntityNotFound(_0x808fe8,null))['then'](function(_0x9bad8a){if(_0x9bad8a){return _0x9bad8a[_0x08ca('0xec')](_0x5cd806[_0x08ca('0x5f')][_0x08ca('0x70')],_[_0x08ca('0xed')](_0x5cd806['body'],['ids','id'])||{});}})[_0x08ca('0x27')](respondWithResult(_0x808fe8,null))['catch'](handleError(_0x808fe8,null));};exports[_0x08ca('0xee')]=function(_0x71ffd,_0x546b51,_0x1c76e9){var _0x36b61d={'raw':![],'where':{}};var _0x249e3c={};var _0x53dbd7={'count':0x0,'rows':[]};return db[_0x08ca('0x41')][_0x08ca('0x6b')]({'where':{'id':_0x71ffd[_0x08ca('0x5a')]['id']}})['then'](handleEntityNotFound(_0x546b51,null))[_0x08ca('0x27')](function(_0x1193ac){if(_0x1193ac){_0x249e3c['model']=_[_0x08ca('0x48')](db[_0x08ca('0xb9')]['rawAttributes']);_0x249e3c[_0x08ca('0x47')]=_[_0x08ca('0x48')](_0x71ffd[_0x08ca('0x47')]);_0x249e3c['filters']=_[_0x08ca('0x49')](_0x249e3c[_0x08ca('0x46')],_0x249e3c[_0x08ca('0x47')]);_0x36b61d[_0x08ca('0x4a')]=_[_0x08ca('0x49')](_0x249e3c[_0x08ca('0x46')],qs['fields'](_0x71ffd[_0x08ca('0x47')][_0x08ca('0x4b')]));_0x36b61d[_0x08ca('0x4a')]=_0x36b61d['attributes'][_0x08ca('0x5c')]?_0x36b61d[_0x08ca('0x4a')]:_0x249e3c[_0x08ca('0x46')];if(!_0x71ffd[_0x08ca('0x47')][_0x08ca('0x4c')](_0x08ca('0x6d'))){_0x36b61d[_0x08ca('0x36')]=qs[_0x08ca('0x36')](_0x71ffd[_0x08ca('0x47')]['limit']);_0x36b61d[_0x08ca('0x35')]=qs[_0x08ca('0x35')](_0x71ffd[_0x08ca('0x47')][_0x08ca('0x35')]);}_0x36b61d['order']=qs['sort'](_0x71ffd[_0x08ca('0x47')][_0x08ca('0x4e')]);_0x36b61d['where']=qs[_0x08ca('0x50')](_[_0x08ca('0x51')](_0x71ffd['query'],_0x249e3c[_0x08ca('0x50')]));_0x36b61d[_0x08ca('0x4f')][_0x08ca('0x6a')]=_0x1193ac['id'];if(_0x71ffd[_0x08ca('0x47')][_0x08ca('0x52')]){_0x36b61d[_0x08ca('0x4f')]=_['merge'](_0x36b61d['where'],{'$or':_[_0x08ca('0x40')](_0x36b61d[_0x08ca('0x4a')],function(_0x13224a){var _0x23194e={};_0x23194e[_0x13224a]={'$like':'%'+_0x71ffd['query'][_0x08ca('0x52')]+'%'};return _0x23194e;})});}_0x36b61d=_[_0x08ca('0x53')]({},_0x36b61d,_0x71ffd[_0x08ca('0x55')]);return db['ChatInteraction'][_0x08ca('0x34')]({'where':_0x36b61d[_0x08ca('0x4f')]})[_0x08ca('0x27')](function(_0x301f31){_0x53dbd7[_0x08ca('0x34')]=_0x301f31;if(_0x71ffd['query'][_0x08ca('0x6e')]){_0x36b61d[_0x08ca('0x56')]=[{'model':db[_0x08ca('0xa6')],'as':_0x08ca('0xef'),'required':![]},{'model':db[_0x08ca('0xc8')],'as':_0x08ca('0xf0'),'attributes':[_0x08ca('0x3d'),_0x08ca('0xf1'),_0x08ca('0xf2')],'required':![]},{'model':db[_0x08ca('0xf3')],'as':_0x08ca('0xf4'),'attributes':['id','name',_0x08ca('0xf5')],'where':_0x71ffd[_0x08ca('0x47')][_0x08ca('0xf6')]?{'id':_0x71ffd[_0x08ca('0x47')][_0x08ca('0xf6')]}:undefined,'required':_0x71ffd[_0x08ca('0x47')][_0x08ca('0xf6')]?!![]:![]}];}return db[_0x08ca('0xb9')][_0x08ca('0x57')](_0x36b61d);})[_0x08ca('0x27')](function(_0x459519){_0x53dbd7[_0x08ca('0x58')]=_0x459519;return _0x53dbd7;});}})[_0x08ca('0x27')](respondWithFilteredResult(_0x546b51,_0x36b61d))['catch'](handleError(_0x546b51,null));};function iftimePromise(_0x58de3a,_0x5c2147){return respondWithRpcPromise(_0x08ca('0xf7'),_0x08ca('0xf8'),{'command':_0x5c2147[_0x08ca('0xf9')]?util[_0x08ca('0xb2')](_0x08ca('0xfa'),_0x58de3a['interval'],_0x5c2147['timezone']):util[_0x08ca('0xb2')](_0x08ca('0xfb'),_0x58de3a[_0x08ca('0xfc')])},client9002)[_0x08ca('0x27')](function(_0x30d730){var _0x3a149e=_0x30d730&&_0x30d730[_0x08ca('0xfd')](_0x08ca('0xfe'))>=0x0?!![]:![];logger[_0x08ca('0xff')](_0x08ca('0x100'),_0x5c2147['id'],_0x58de3a['id'],_0x58de3a[_0x08ca('0xfc')],_0x3a149e?'ONLINE':_0x08ca('0x101'),_0x5c2147[_0x08ca('0xf9')]?_0x5c2147[_0x08ca('0xf9')]:'No\x20timezone');return _0x3a149e;})[_0x08ca('0x5d')](function(_0x236068){logger[_0x08ca('0x2c')](_0x08ca('0x100'),_0x5c2147['id'],_0x58de3a['id'],_0x58de3a[_0x08ca('0xfc')],util['inspect'](_0x236068,{'showHidden':![],'depth':null}),_0x5c2147[_0x08ca('0xf9')]?_0x5c2147[_0x08ca('0xf9')]:_0x08ca('0x102'));return![];});}exports[_0x08ca('0xf8')]=function(_0x22efb9,_0x2db02d,_0x568b1c){var _0x5f2102=0x0;var _0xece437=0x0;var _0x51bde8=![];var _0x26a524;var _0x2bd2f0;return db[_0x08ca('0x41')][_0x08ca('0x64')]({'where':{'id':_0x22efb9[_0x08ca('0x5a')]['id']},'include':[{'model':db['Interval'],'as':'Interval','include':[{'model':db[_0x08ca('0x103')],'as':'Intervals','attributes':['id',_0x08ca('0xfc')],'raw':!![]}]}]})['then'](handleEntityNotFound(_0x2db02d,null))[_0x08ca('0x27')](function(_0x51dfd6){if(_0x51dfd6){_0x26a524=_0x51dfd6;return _0x51dfd6['getProactiveActions']({'raw':!![]});}})['then'](function(_0x2914bf){if(_0x26a524){if(_0x2914bf){_0x2bd2f0=_0x2914bf;}}return require(_0x08ca('0x104'))['getLicense']();})['then'](function(_0x2e8e3f){if(_0x2e8e3f){_0xece437=_0x2e8e3f['virtual'];_0x51bde8=_0x2e8e3f[_0x08ca('0x83')];}})[_0x08ca('0x27')](function(){return db[_0x08ca('0xb9')]['count']({'where':{'closed':![]}});})[_0x08ca('0x27')](function(_0x426881){_0x5f2102=_0x426881;if(_0xece437&&_0x426881>_0xece437){return db['License']['findOne']({'where':{'id':0x1}})[_0x08ca('0x27')](function(_0x2ffaf6){if(_0x2ffaf6){_0x2ffaf6[_0x08ca('0x105')](_0x08ca('0x106'));}});}})['then'](function(){if(_0x26a524[_0x08ca('0x103')]&&_0x26a524['Interval']['Intervals']){var _0x1a401b=[];for(var _0x2b193f=0x0;_0x2b193f<_0x26a524[_0x08ca('0x103')][_0x08ca('0x107')][_0x08ca('0x5c')];_0x2b193f++){var _0x4ec424=_0x26a524[_0x08ca('0x103')]['Intervals'][_0x2b193f][_0x08ca('0x60')]({'plain':!![]});_0x1a401b[_0x08ca('0x108')](iftimePromise(_0x4ec424,_0x26a524));}return BPromise['all'](_0x1a401b)[_0x08ca('0x27')](function(_0x5c4d51){return _['some'](_0x5c4d51);});}else{return!![];}})[_0x08ca('0x27')](function(_0x4f22af){var _0x4ca9c4=fs[_0x08ca('0xd8')](path[_0x08ca('0x80')](config[_0x08ca('0x81')],'server/files/chat/iframe.js'),_0x08ca('0xda'));var _0x36bfa6={'remote':_0x26a524[_0x08ca('0x109')],'query':querystring[_0x08ca('0x2b')](_['merge'](_0x26a524['get']({'plain':!![]}),{'customerIp':_0x22efb9[_0x08ca('0xa9')][_0x08ca('0xaa')]||_0x22efb9['headers'][_0x08ca('0x10a')]||_0x22efb9[_0x08ca('0x10b')][_0x08ca('0x10c')]||_0x22efb9['ip'],'referer':_0x22efb9[_0x08ca('0xa9')][_0x08ca('0xaf')],'openedInteractions':_0x5f2102,'maxInteractions':_0xece437,'virtual':_0x51bde8[_0x08ca('0x10d')],'online':_0x4f22af,'custom':_0x51bde8}))['replace'](/'/g,'\x5c\x27')};_0x2db02d[_0x08ca('0xd1')](ejs[_0x08ca('0xdb')](Mustache[_0x08ca('0xdb')](_0x4ca9c4,_0x36bfa6),{'proactiveActions':_0x2bd2f0,'alignment':_0x26a524['alignment'],'verticalAlignment':_0x26a524[_0x08ca('0x10e')],'div_color':_0x26a524[_0x08ca('0xf5')],'text_color':_0x26a524['textColor']}));})[_0x08ca('0x5d')](handleError(_0x2db02d,null));};exports[_0x08ca('0x10f')]=function(_0x32e51d,_0x9566e1,_0x35bf90){return db[_0x08ca('0x41')]['findOne']({'where':{'id':_0x32e51d[_0x08ca('0x5a')]['id']}})[_0x08ca('0x27')](handleEntityNotFound(_0x9566e1,null))['then'](function(_0x2910ae){if(_0x2910ae){return db['sequelize'][_0x08ca('0x110')](function(_0x37e7a8){return db['ChatApplication'][_0x08ca('0x3a')]({'where':{'ChatWebsiteId':_0x32e51d[_0x08ca('0x5a')]['id']},'transaction':_0x37e7a8})[_0x08ca('0x27')](function(_0x22dcaa){var _0x2877a9=_[_0x08ca('0x40')](_0x32e51d['body'],function(_0xf32e28){_0xf32e28['ChatWebsiteId']=_0x32e51d[_0x08ca('0x5a')]['id'];return _0xf32e28;});return db[_0x08ca('0x111')][_0x08ca('0x112')](_0x2877a9,{'transaction':_0x37e7a8});});})[_0x08ca('0x27')](function(){return db['ChatApplication'][_0x08ca('0x113')]({'where':{'ChatWebsiteId':_0x32e51d[_0x08ca('0x5a')]['id']},'order':_0x08ca('0xa3')});});}})[_0x08ca('0x27')](respondWithResult(_0x9566e1,null))[_0x08ca('0x5d')](handleError(_0x9566e1,null));};exports['getApplications']=function(_0x2ac157,_0x5e86f4,_0x418ae2){var _0x10cfda={};var _0x815db5={};var _0x520d2b;var _0x22ed09;return db[_0x08ca('0x41')][_0x08ca('0x6b')]({'where':{'id':_0x2ac157['params']['id']}})[_0x08ca('0x27')](handleEntityNotFound(_0x5e86f4,null))[_0x08ca('0x27')](function(_0x23efc4){if(_0x23efc4){_0x520d2b=_0x23efc4;_0x815db5[_0x08ca('0x46')]=_['keys'](db[_0x08ca('0x111')][_0x08ca('0x42')]);_0x815db5[_0x08ca('0x47')]=_[_0x08ca('0x48')](_0x2ac157[_0x08ca('0x47')]);_0x815db5[_0x08ca('0x50')]=_[_0x08ca('0x49')](_0x815db5[_0x08ca('0x46')],_0x815db5[_0x08ca('0x47')]);_0x10cfda[_0x08ca('0x4a')]=_[_0x08ca('0x49')](_0x815db5[_0x08ca('0x46')],qs[_0x08ca('0x4b')](_0x2ac157[_0x08ca('0x47')][_0x08ca('0x4b')]));_0x10cfda[_0x08ca('0x4a')]=_0x10cfda[_0x08ca('0x4a')]['length']?_0x10cfda['attributes']:_0x815db5['model'];_0x10cfda[_0x08ca('0x4d')]=qs[_0x08ca('0x4e')](_0x2ac157[_0x08ca('0x47')][_0x08ca('0x4e')]);_0x10cfda[_0x08ca('0x4f')]=qs['filters'](_[_0x08ca('0x51')](_0x2ac157['query'],_0x815db5[_0x08ca('0x50')]));if(_0x2ac157[_0x08ca('0x47')][_0x08ca('0x52')]){_0x10cfda[_0x08ca('0x4f')]=_[_0x08ca('0x53')](_0x10cfda['where'],{'$or':_[_0x08ca('0x40')](_0x10cfda[_0x08ca('0x4a')],function(_0xd5f659){var _0x5195cd={};_0x5195cd[_0xd5f659]={'$like':'%'+_0x2ac157[_0x08ca('0x47')][_0x08ca('0x52')]+'%'};return _0x5195cd;})});}_0x10cfda=_[_0x08ca('0x53')]({},_0x10cfda,_0x2ac157['options']);return _0x520d2b[_0x08ca('0x114')](_0x10cfda);}})[_0x08ca('0x27')](function(_0x2d626d){if(_0x2d626d){_0x22ed09=_0x2d626d[_0x08ca('0x5c')];if(!_0x2ac157[_0x08ca('0x47')]['hasOwnProperty']('nolimit')){_0x10cfda['limit']=qs[_0x08ca('0x36')](_0x2ac157[_0x08ca('0x47')]['limit']);_0x10cfda[_0x08ca('0x35')]=qs['offset'](_0x2ac157['query']['offset']);}return _0x520d2b['getApplications'](_0x10cfda);}})['then'](function(_0x2700ae){if(_0x2700ae){return _0x2700ae?{'count':_0x22ed09,'rows':_0x2700ae}:null;}})['then'](respondWithResult(_0x5e86f4,null))['catch'](handleError(_0x5e86f4,null));};exports[_0x08ca('0x115')]=function(_0x373dba,_0x595a68,_0x200f5a){return db[_0x08ca('0x116')][_0x08ca('0x64')]({'where':{'id':_0x373dba[_0x08ca('0x5a')]['id']}})[_0x08ca('0x27')](handleEntityNotFound(_0x595a68,null))[_0x08ca('0x27')](function(_0x43562c){if(_0x43562c){return _0x43562c['addProactiveActions'](_0x373dba['body'][_0x08ca('0x70')],_[_0x08ca('0xed')](_0x373dba[_0x08ca('0x5f')],['ids','id'])||{});}})['then'](respondWithResult(_0x595a68,null))['catch'](handleError(_0x595a68,null));};exports[_0x08ca('0x117')]=function(_0x1a8892,_0x10f208,_0x4eb0e5){var _0x4292d7={};var _0x427876={};var _0x45393b;var _0x59f46a;return db[_0x08ca('0x41')][_0x08ca('0x6b')]({'where':{'id':_0x1a8892[_0x08ca('0x5a')]['id']}})['then'](handleEntityNotFound(_0x10f208,null))[_0x08ca('0x27')](function(_0x550ba9){if(_0x550ba9){_0x45393b=_0x550ba9;_0x427876[_0x08ca('0x46')]=_[_0x08ca('0x48')](db[_0x08ca('0x118')][_0x08ca('0x42')]);_0x427876['query']=_['keys'](_0x1a8892[_0x08ca('0x47')]);_0x427876[_0x08ca('0x50')]=_[_0x08ca('0x49')](_0x427876[_0x08ca('0x46')],_0x427876[_0x08ca('0x47')]);_0x4292d7[_0x08ca('0x4a')]=_['intersection'](_0x427876[_0x08ca('0x46')],qs['fields'](_0x1a8892['query'][_0x08ca('0x4b')]));_0x4292d7['attributes']=_0x4292d7['attributes']['length']?_0x4292d7['attributes']:_0x427876[_0x08ca('0x46')];_0x4292d7[_0x08ca('0x4d')]=qs[_0x08ca('0x4e')](_0x1a8892['query'][_0x08ca('0x4e')]);_0x4292d7[_0x08ca('0x4f')]=qs[_0x08ca('0x50')](_[_0x08ca('0x51')](_0x1a8892['query'],_0x427876['filters']));if(_0x1a8892[_0x08ca('0x47')][_0x08ca('0x52')]){_0x4292d7[_0x08ca('0x4f')]=_['merge'](_0x4292d7[_0x08ca('0x4f')],{'$or':_['map'](_0x4292d7[_0x08ca('0x4a')],function(_0x9f3327){var _0x1b8c3b={};_0x1b8c3b[_0x9f3327]={'$like':'%'+_0x1a8892[_0x08ca('0x47')]['filter']+'%'};return _0x1b8c3b;})});}_0x4292d7=_[_0x08ca('0x53')]({},_0x4292d7,_0x1a8892[_0x08ca('0x55')]);return _0x45393b[_0x08ca('0x117')](_0x4292d7);}})[_0x08ca('0x27')](function(_0x4df61d){if(_0x4df61d){_0x59f46a=_0x4df61d['length'];if(!_0x1a8892[_0x08ca('0x47')]['hasOwnProperty'](_0x08ca('0x6d'))){_0x4292d7[_0x08ca('0x36')]=qs[_0x08ca('0x36')](_0x1a8892[_0x08ca('0x47')][_0x08ca('0x36')]);_0x4292d7[_0x08ca('0x35')]=qs[_0x08ca('0x35')](_0x1a8892[_0x08ca('0x47')][_0x08ca('0x35')]);}return _0x45393b[_0x08ca('0x117')](_0x4292d7);}})[_0x08ca('0x27')](function(_0x42b9ee){if(_0x42b9ee){return _0x42b9ee?{'count':_0x59f46a,'rows':_0x42b9ee}:null;}})[_0x08ca('0x27')](respondWithResult(_0x10f208,null))[_0x08ca('0x5d')](handleError(_0x10f208,null));};exports[_0x08ca('0x119')]=function(_0x345dd2,_0x207acf,_0x5301a0){var _0xb54df=_0x345dd2[_0x08ca('0x47')]['online']===_0x08ca('0x11a')?_0x08ca('0x11b'):'onlineForm';return db[_0x08ca('0x41')][_0x08ca('0x64')]({'attributes':['id',_0xb54df],'where':{'id':_0x345dd2[_0x08ca('0x5a')]['id']}})[_0x08ca('0x27')](handleEntityNotFound(_0x207acf,null))[_0x08ca('0x27')](function(_0x384779){if(_0x384779){var _0x3c6fce=_0x384779[_0xb54df];var _0x47f8ae=_0x3c6fce&&_0x3c6fce[_0x08ca('0x11c')]?_0x3c6fce['items']:[];_0x207acf[_0x08ca('0xd1')]({'fromKey':_[_0x08ca('0x84')](_0x3c6fce[_0x08ca('0x11d')])?undefined:_0x3c6fce['fromKey'],'count':_0x47f8ae[_0x08ca('0x5c')],'rows':_0x47f8ae});}})[_0x08ca('0x5d')](handleError(_0x207acf,null));};exports[_0x08ca('0x11e')]=function(_0x16b5ac,_0x1fb723,_0x14b124){var _0x42ac19={'raw':![],'where':{}};var _0x103b58={};var _0x578330={'count':0x0,'rows':[]};return db[_0x08ca('0x41')][_0x08ca('0x6b')]({'where':{'id':_0x16b5ac[_0x08ca('0x5a')]['id']}})['then'](handleEntityNotFound(_0x1fb723,null))[_0x08ca('0x27')](function(_0x2f69f6){if(_0x2f69f6){_0x103b58[_0x08ca('0x46')]=_[_0x08ca('0x48')](db[_0x08ca('0xde')][_0x08ca('0x42')]);_0x103b58['query']=_['keys'](_0x16b5ac[_0x08ca('0x47')]);_0x103b58[_0x08ca('0x50')]=_['intersection'](_0x103b58[_0x08ca('0x46')],_0x103b58[_0x08ca('0x47')]);_0x42ac19[_0x08ca('0x4a')]=_[_0x08ca('0x49')](_0x103b58[_0x08ca('0x46')],qs[_0x08ca('0x4b')](_0x16b5ac[_0x08ca('0x47')]['fields']));_0x42ac19[_0x08ca('0x4a')]=_0x42ac19[_0x08ca('0x4a')]['length']?_0x42ac19['attributes']:_0x103b58[_0x08ca('0x46')];if(!_0x16b5ac[_0x08ca('0x47')][_0x08ca('0x4c')]('nolimit')){_0x42ac19[_0x08ca('0x36')]=qs[_0x08ca('0x36')](_0x16b5ac[_0x08ca('0x47')][_0x08ca('0x36')]);_0x42ac19[_0x08ca('0x35')]=qs[_0x08ca('0x35')](_0x16b5ac[_0x08ca('0x47')][_0x08ca('0x35')]);}_0x42ac19[_0x08ca('0x4d')]=qs[_0x08ca('0x4e')](_0x16b5ac[_0x08ca('0x47')][_0x08ca('0x4e')]);_0x42ac19[_0x08ca('0x4f')]=qs['filters'](_['pick'](_0x16b5ac[_0x08ca('0x47')],_0x103b58['filters']));_0x42ac19[_0x08ca('0x4f')]['ChatWebsiteId']=_0x2f69f6['id'];if(_0x16b5ac['query'][_0x08ca('0x52')]){_0x42ac19[_0x08ca('0x4f')]=_[_0x08ca('0x53')](_0x42ac19[_0x08ca('0x4f')],{'$or':_[_0x08ca('0x40')](_0x42ac19[_0x08ca('0x4a')],function(_0x1669dd){var _0x5d6913={};_0x5d6913[_0x1669dd]={'$like':'%'+_0x16b5ac[_0x08ca('0x47')][_0x08ca('0x52')]+'%'};return _0x5d6913;})});}_0x42ac19=_[_0x08ca('0x53')]({},_0x42ac19,_0x16b5ac[_0x08ca('0x55')]);return db[_0x08ca('0xde')][_0x08ca('0x34')]({'where':_0x42ac19['where']})[_0x08ca('0x27')](function(_0x40c098){_0x578330['count']=_0x40c098;if(_0x16b5ac[_0x08ca('0x47')][_0x08ca('0x6e')]){_0x42ac19[_0x08ca('0x56')]=[{'all':!![]}];}else{_0x42ac19[_0x08ca('0x56')]=[{'model':db['CmContact'],'as':'Contact','required':![]}];}return db[_0x08ca('0xde')][_0x08ca('0x57')](_0x42ac19);})['then'](function(_0x135e0f){_0x578330[_0x08ca('0x58')]=_0x135e0f;return _0x578330;});}})[_0x08ca('0x27')](respondWithFilteredResult(_0x1fb723,_0x42ac19))['catch'](handleError(_0x1fb723,null));};exports['addAgents']=function(_0x2bed43,_0x292f4c,_0x2bae11){return db[_0x08ca('0x41')][_0x08ca('0x64')]({'where':{'id':_0x2bed43[_0x08ca('0x5a')]['id']}})['then'](handleEntityNotFound(_0x292f4c,null))[_0x08ca('0x27')](function(_0x22a4d5){if(_0x22a4d5){return _0x22a4d5[_0x08ca('0x11f')](_0x2bed43[_0x08ca('0x5f')][_0x08ca('0x70')],_[_0x08ca('0xed')](_0x2bed43[_0x08ca('0x5f')],[_0x08ca('0x70'),'id'])||{})[_0x08ca('0xd7')](function(_0xaa5df9){for(var _0x491b40=0x0;_0x491b40<_0x2bed43['body'][_0x08ca('0x70')][_0x08ca('0x5c')];_0x491b40+=0x1){socket[_0x08ca('0x120')](_0x08ca('0x121'),{'UserId':_0x2bed43[_0x08ca('0x5f')][_0x08ca('0x70')][_0x491b40],'ChatWebsiteId':_0x2bed43[_0x08ca('0x5a')]['id']});}return _0xaa5df9;});}})[_0x08ca('0x27')](respondWithResult(_0x292f4c,null))[_0x08ca('0x5d')](handleError(_0x292f4c,null));};exports[_0x08ca('0x122')]=function(_0x409fd4,_0x4b286f,_0x4ee24c){return db[_0x08ca('0x41')][_0x08ca('0x64')]({'where':{'id':_0x409fd4[_0x08ca('0x5a')]['id']}})[_0x08ca('0x27')](handleEntityNotFound(_0x4b286f,null))['then'](function(_0x3c5056){if(_0x3c5056){return _0x3c5056[_0x08ca('0x122')](_0x409fd4[_0x08ca('0x47')]['ids'])['then'](function(){if(_[_0x08ca('0x123')](_0x409fd4[_0x08ca('0x47')][_0x08ca('0x70')])){for(var _0x479b75=0x0;_0x479b75<_0x409fd4[_0x08ca('0x47')][_0x08ca('0x70')]['length'];_0x479b75+=0x1){socket[_0x08ca('0x120')]('userChatWebsite:remove',{'UserId':Number(_0x409fd4[_0x08ca('0x47')][_0x08ca('0x70')][_0x479b75]),'ChatWebsiteId':Number(_0x409fd4[_0x08ca('0x5a')]['id'])});}}else{socket[_0x08ca('0x120')](_0x08ca('0x124'),{'UserId':Number(_0x409fd4[_0x08ca('0x47')][_0x08ca('0x70')]),'ChatWebsiteId':Number(_0x409fd4[_0x08ca('0x5a')]['id'])});}});}})[_0x08ca('0x27')](respondWithStatusCode(_0x4b286f,null))['catch'](handleError(_0x4b286f,null));};exports[_0x08ca('0x125')]=function(_0x45e446,_0x170ba4,_0x3087e0){var _0x466b30={};var _0x484736={};var _0x2f00c7;var _0x57166b;return db[_0x08ca('0x41')][_0x08ca('0x6b')]({'where':{'id':_0x45e446[_0x08ca('0x5a')]['id']}})[_0x08ca('0x27')](handleEntityNotFound(_0x170ba4,null))[_0x08ca('0x27')](function(_0x290d4d){if(_0x290d4d){_0x2f00c7=_0x290d4d;_0x484736[_0x08ca('0x46')]=_['keys'](db[_0x08ca('0xc8')][_0x08ca('0x42')]);_0x484736[_0x08ca('0x47')]=_['keys'](_0x45e446[_0x08ca('0x47')]);_0x484736[_0x08ca('0x50')]=_[_0x08ca('0x49')](_0x484736[_0x08ca('0x46')],_0x484736[_0x08ca('0x47')]);_0x466b30[_0x08ca('0x4a')]=_[_0x08ca('0x49')](_0x484736['model'],qs[_0x08ca('0x4b')](_0x45e446['query']['fields']));_0x466b30['attributes']=_0x466b30['attributes'][_0x08ca('0x5c')]?_0x466b30[_0x08ca('0x4a')]:_0x484736['model'];_0x466b30[_0x08ca('0x4d')]=qs['sort'](_0x45e446[_0x08ca('0x47')][_0x08ca('0x4e')]);_0x466b30[_0x08ca('0x4f')]=qs['filters'](_['pick'](_0x45e446[_0x08ca('0x47')],_0x484736['filters']));if(_0x45e446[_0x08ca('0x47')][_0x08ca('0x52')]){_0x466b30[_0x08ca('0x4f')]=_[_0x08ca('0x53')](_0x466b30[_0x08ca('0x4f')],{'$or':_[_0x08ca('0x40')](_0x466b30[_0x08ca('0x4a')],function(_0x49ea00){var _0x15abc4={};_0x15abc4[_0x49ea00]={'$like':'%'+_0x45e446['query']['filter']+'%'};return _0x15abc4;})});}_0x466b30=_[_0x08ca('0x53')]({},_0x466b30,_0x45e446[_0x08ca('0x55')]);return _0x2f00c7['getAgents'](_0x466b30);}})[_0x08ca('0x27')](function(_0x3463a0){if(_0x3463a0){_0x57166b=_0x3463a0[_0x08ca('0x5c')];if(!_0x45e446[_0x08ca('0x47')][_0x08ca('0x4c')](_0x08ca('0x6d'))){_0x466b30['limit']=qs[_0x08ca('0x36')](_0x45e446[_0x08ca('0x47')]['limit']);_0x466b30['offset']=qs[_0x08ca('0x35')](_0x45e446[_0x08ca('0x47')][_0x08ca('0x35')]);}return _0x2f00c7[_0x08ca('0x125')](_0x466b30);}})[_0x08ca('0x27')](function(_0x5f19d1){if(_0x5f19d1){return _0x5f19d1?{'count':_0x57166b,'rows':_0x5f19d1}:null;}})[_0x08ca('0x27')](respondWithResult(_0x170ba4,null))[_0x08ca('0x5d')](handleError(_0x170ba4,null));}; \ No newline at end of file +var _0xb73c=['all','some','server/files/chat/iframe.js','utf8','remote','x-forwarded-for','x-real-ip','remoteAddress','verticalAlignment','color','textColor','addApplications','sequelize','bulkCreate','findAndCountAll','priority','getApplications','addProactiveActions','chatProactiveAction','ChatProactiveAction','getFields','false','offlineForm','items','fromKey','addAgents','emit','userChatWebsite:save','removeAgents','userChatWebsite:remove','getAgents','html-pdf','eml-format','zip-dir','fast-json-patch','request-promise','moment','bluebird','mustache','sox','ejs','lodash','crypto','to-csv','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','redis','defaults','localhost','./chatWebsite.socket','jayson/promise','client','http','test','Sequelize','ValidationError','The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.','request','then','info','ChatWebsite,\x20%s,\x20%s','request\x20sent','debug','ChatWebsite,\x20%s,\x20%s,\x20%s','stringify','error','message','result','catch','sendStatus','status','end','offset','limit','set','Content-Range','json','apply','reject','save','destroy','get','UserProfileResource','stack','name','send','index','mandatoryDispositionPause','map','ChatWebsite','rawAttributes','fieldName','type','keys','query','filters','model','fields','attributes','hasOwnProperty','nolimit','order','sort','where','filter','merge','VIRTUAL','options','count','includeAll','include','rows','show','params','Pause','intersection','length','find','create','body','user','userProfileId','autoAssociation','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','describe','addDisposition','getDispositions','findOne','Disposition','pick','ChatWebsiteId','removeDispositions','ids','addAnswer','CannedAnswer','getAnswers','removeAnswers','sitepic','filename','agentAvatar','customerAvatar','file','addSystemAvatar','systemAvatar','getLogo','join','server/files/images/logos/default_logo.png','../../config/license/util','getLicense','custom','isNil','server/files/images/logos/','root','download','getAvatar','existsSync','server/files/images/avatars/','getCustomerAvatar','showCustomerAvatar','getSystemAvatar','notify','user-agent-parser','setUA','headers','user-agent','getResult','chat','CmContact','no\x20available\x20attributes','difference','createdAt','updatedAt','CompanyId','ListId','from\x20is\x20mandatory','mapKey','includes','mapKey\x20invalid,\x20please\x20use\x20one\x20of\x20these:\x20','from','CmList','Contacts','DESC','ChatApplication','Applications','account','applications','list','List','orderBy','asc','contact','customerIp','cf-connecting-ip','split','lastName','x-real-port','referer','browser','version','%s\x20%s','unknown','device','format','%s\x20%s\x20%s','vendor','threadId','ChatInteraction','externalUrl','ContactId','interaction','spread','firstName','messageId','update','created','push','close','unmanaged','*,*,*,*','AttachmentId','UserId','unshift','waitForTheAssignedAgent','forcedOwnership','Start','startRouting','EventManager','offline','body\x20is\x20mandatory\x20and\x20not\x20empty','mapKeyOffline','mapKeyOffline\x20is\x20mandatory,\x20please\x20use\x20one\x20of\x20these:\x20','mapKeyOffline\x20invalid,\x20please\x20use\x20one\x20of\x20these:\x20','readFileSync','server/files/templates/chatOfflineMessage.ejs','render','toPairs','ChatOfflineMessage','MailAccount','MailServerOut','Smtp','forwardOfflineAddress','service','host','port','secure','authentication','pass','SendMail','sendMail','\x22%s\x22\x20<%s>','email','offlineMessageSubject','addInteraction','omit','getInteractions','Contact','User','Owner','Tag','Tags','tag','findAll','Command','getSnippet','timezone','iftime\x20%s','interval','indexOf','true','[%s][INTERVAL][%s]\x20%s\x20%s\x20(%s)','ONLINE','No\x20timezone','Interval','Intervals','getProactiveActions','virtual','chatLicenseExceeded'];(function(_0x36e63a,_0x51500a){var _0x197977=function(_0x2f654){while(--_0x2f654){_0x36e63a['push'](_0x36e63a['shift']());}};_0x197977(++_0x51500a);}(_0xb73c,0x13c));var _0xcb73=function(_0x43e6b1,_0x4e85e5){_0x43e6b1=_0x43e6b1-0x0;var _0x4ba6aa=_0xb73c[_0x43e6b1];return _0x4ba6aa;};'use strict';var pdf=require(_0xcb73('0x0'));var emlformat=require(_0xcb73('0x1'));var rimraf=require('rimraf');var zipdir=require(_0xcb73('0x2'));var jsonpatch=require(_0xcb73('0x3'));var rp=require(_0xcb73('0x4'));var moment=require(_0xcb73('0x5'));var BPromise=require(_0xcb73('0x6'));var Mustache=require(_0xcb73('0x7'));var util=require('util');var path=require('path');var sox=require(_0xcb73('0x8'));var csv=require('to-csv');var ejs=require(_0xcb73('0x9'));var fs=require('fs');var _=require(_0xcb73('0xa'));var squel=require('squel');var crypto=require(_0xcb73('0xb'));var jsforce=require('jsforce');var deskjs=require('desk.js');var toCsv=require(_0xcb73('0xc'));var querystring=require(_0xcb73('0xd'));var Papa=require(_0xcb73('0xe'));var Redis=require(_0xcb73('0xf'));var authService=require(_0xcb73('0x10'));var qs=require(_0xcb73('0x11'));var as=require(_0xcb73('0x12'));var hardwareService=require(_0xcb73('0x13'));var logger=require(_0xcb73('0x14'))(_0xcb73('0x15'));var utils=require(_0xcb73('0x16'));var config=require('../../config/environment');var db=require('../../mysqldb')['db'];config[_0xcb73('0x17')]=_[_0xcb73('0x18')](config[_0xcb73('0x17')],{'host':_0xcb73('0x19'),'port':0x18eb});var socket=require('socket.io-emitter')(new Redis(config[_0xcb73('0x17')]));require(_0xcb73('0x1a'))['register'](socket);var jayson=require(_0xcb73('0x1b'));var client=jayson[_0xcb73('0x1c')][_0xcb73('0x1d')]({'port':0x232c});var client9002=jayson['client']['http']({'port':0x232a});var client9003=jayson[_0xcb73('0x1c')][_0xcb73('0x1d')]({'port':0x232b});function checkPasswordPattern(_0x31aaf7,_0x83ebe5,_0x599a1b){if(_0x599a1b){var _0x413764=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0x413764[_0xcb73('0x1e')](_0x83ebe5)){return _0x31aaf7;}else{throw new db[(_0xcb73('0x1f'))][(_0xcb73('0x20'))](_0xcb73('0x21'));}}else{return _0x31aaf7;}}function respondWithRpcPromise(_0xd8e8e8,_0x30a2ce,_0x4bc06f,_0x3e6e64){return new BPromise(function(_0x562a37,_0x50608f){var _0x49b579=_0x3e6e64||client;return _0x49b579[_0xcb73('0x22')](_0xd8e8e8,_0x4bc06f)[_0xcb73('0x23')](function(_0x4eaa1f){logger[_0xcb73('0x24')](_0xcb73('0x25'),_0x30a2ce,_0xcb73('0x26'));logger[_0xcb73('0x27')](_0xcb73('0x28'),_0x30a2ce,'request\x20sent',JSON[_0xcb73('0x29')](_0x4eaa1f));if(_0x4eaa1f['error']){if(_0x4eaa1f['error']['code']===0x1f4){logger[_0xcb73('0x2a')](_0xcb73('0x25'),_0x30a2ce,_0x4eaa1f['error'][_0xcb73('0x2b')]);return _0x50608f(_0x4eaa1f[_0xcb73('0x2a')][_0xcb73('0x2b')]);}logger['error'](_0xcb73('0x25'),_0x30a2ce,_0x4eaa1f['error'][_0xcb73('0x2b')]);return _0x562a37(_0x4eaa1f[_0xcb73('0x2a')][_0xcb73('0x2b')]);}else{logger[_0xcb73('0x24')](_0xcb73('0x25'),_0x30a2ce,_0xcb73('0x26'));_0x562a37(_0x4eaa1f[_0xcb73('0x2c')]['message']);}})[_0xcb73('0x2d')](function(_0x334da3){logger[_0xcb73('0x2a')](_0xcb73('0x25'),_0x30a2ce,_0x334da3);_0x50608f(_0x334da3);});});}function respondWithStatusCode(_0x461499,_0x48c46f){_0x48c46f=_0x48c46f||0xcc;return function(_0x1a74db){if(_0x1a74db){return _0x461499[_0xcb73('0x2e')](_0x48c46f);}return _0x461499[_0xcb73('0x2f')](_0x48c46f)[_0xcb73('0x30')]();};}function respondWithResult(_0x4eaf56,_0x6cfb1c){_0x6cfb1c=_0x6cfb1c||0xc8;return function(_0x507584){if(_0x507584){return _0x4eaf56[_0xcb73('0x2f')](_0x6cfb1c)['json'](_0x507584);}};}function respondWithFilteredResult(_0x4a2577,_0x155a71){return function(_0x400bb4){if(_0x400bb4){var _0x103f38=_0x400bb4['count'],_0x128e98=_0x155a71[_0xcb73('0x31')],_0xfdbf6e=_0x155a71[_0xcb73('0x31')]+_0x155a71[_0xcb73('0x32')],_0x12e51c;if(_0xfdbf6e>=_0x103f38){_0xfdbf6e=_0x103f38;_0x12e51c=0xc8;}else{_0x12e51c=0xce;}_0x4a2577[_0xcb73('0x2f')](_0x12e51c);return _0x4a2577[_0xcb73('0x33')](_0xcb73('0x34'),_0x128e98+'-'+_0xfdbf6e+'/'+_0x103f38)[_0xcb73('0x35')](_0x400bb4);}return null;};}function patchUpdates(_0x183bd2){return function(_0x2c1710){try{jsonpatch[_0xcb73('0x36')](_0x2c1710,_0x183bd2,!![]);}catch(_0x2a8512){return BPromise[_0xcb73('0x37')](_0x2a8512);}return _0x2c1710[_0xcb73('0x38')]();};}function saveUpdates(_0x42e41c,_0x2c7e24){return function(_0x433254){if(_0x433254){return _0x433254['update'](_0x42e41c)[_0xcb73('0x23')](function(_0x2efa1f){return _0x2efa1f;});}return null;};}function removeEntity(_0x14a80d,_0x4b9dc2){return function(_0x9b941d){if(_0x9b941d){return _0x9b941d[_0xcb73('0x39')]()[_0xcb73('0x23')](function(){var _0xdba80b=_0x9b941d[_0xcb73('0x3a')]({'plain':!![]});var _0x49e81c='ChatWebsites';return db[_0xcb73('0x3b')]['destroy']({'where':{'type':_0x49e81c,'resourceId':_0xdba80b['id']}})[_0xcb73('0x23')](function(){return _0x9b941d;});})['then'](function(){_0x14a80d[_0xcb73('0x2f')](0xcc)['end']();});}};}function handleEntityNotFound(_0x43c35b,_0x2ce3fa){return function(_0x3ba9c1){if(!_0x3ba9c1){_0x43c35b['sendStatus'](0x194);}return _0x3ba9c1;};}function handleError(_0x1f56fa,_0x4ce6e0){_0x4ce6e0=_0x4ce6e0||0x1f4;return function(_0x5c351f){logger[_0xcb73('0x2a')](_0x5c351f[_0xcb73('0x3c')]);if(_0x5c351f[_0xcb73('0x3d')]){delete _0x5c351f[_0xcb73('0x3d')];}_0x1f56fa[_0xcb73('0x2f')](_0x4ce6e0)[_0xcb73('0x3e')](_0x5c351f);};}exports[_0xcb73('0x3f')]=function(_0x299b6d,_0x3f95ab){var _0x287107={'include':[{'model':db['Pause'],'as':_0xcb73('0x40')}]},_0xa3d2fc={},_0x279667={'count':0x0,'rows':[]};var _0x5781ec=_[_0xcb73('0x41')](db[_0xcb73('0x42')][_0xcb73('0x43')],function(_0x2d9226){return{'name':_0x2d9226[_0xcb73('0x44')],'type':_0x2d9226[_0xcb73('0x45')]['key']};});_0xa3d2fc['model']=_['map'](_0x5781ec,'name');_0xa3d2fc['query']=_[_0xcb73('0x46')](_0x299b6d[_0xcb73('0x47')]);_0xa3d2fc[_0xcb73('0x48')]=_['intersection'](_0xa3d2fc['model'],_0xa3d2fc[_0xcb73('0x47')]);_0x287107['attributes']=_['intersection'](_0xa3d2fc[_0xcb73('0x49')],qs[_0xcb73('0x4a')](_0x299b6d[_0xcb73('0x47')][_0xcb73('0x4a')]));_0x287107[_0xcb73('0x4b')]=_0x287107[_0xcb73('0x4b')]['length']?_0x287107[_0xcb73('0x4b')]:_0xa3d2fc['model'];if(!_0x299b6d[_0xcb73('0x47')][_0xcb73('0x4c')](_0xcb73('0x4d'))){_0x287107['limit']=qs[_0xcb73('0x32')](_0x299b6d[_0xcb73('0x47')]['limit']);_0x287107['offset']=qs['offset'](_0x299b6d[_0xcb73('0x47')][_0xcb73('0x31')]);}_0x287107[_0xcb73('0x4e')]=qs[_0xcb73('0x4f')](_0x299b6d['query'][_0xcb73('0x4f')]);_0x287107[_0xcb73('0x50')]=qs[_0xcb73('0x48')](_['pick'](_0x299b6d[_0xcb73('0x47')],_0xa3d2fc[_0xcb73('0x48')]),_0x5781ec);if(_0x299b6d[_0xcb73('0x47')][_0xcb73('0x51')]){_0x287107['where']=_[_0xcb73('0x52')](_0x287107[_0xcb73('0x50')],{'$or':_[_0xcb73('0x41')](_0x5781ec,function(_0x826a75){if(_0x826a75[_0xcb73('0x45')]!==_0xcb73('0x53')){var _0x3dc2ef={};_0x3dc2ef[_0x826a75[_0xcb73('0x3d')]]={'$like':'%'+_0x299b6d[_0xcb73('0x47')]['filter']+'%'};return _0x3dc2ef;}})});}_0x287107=_['merge']({},_0x287107,_0x299b6d[_0xcb73('0x54')]);var _0xcdb5b4={'where':_0x287107[_0xcb73('0x50')]};return db[_0xcb73('0x42')][_0xcb73('0x55')](_0xcdb5b4)[_0xcb73('0x23')](function(_0x53b0d8){_0x279667['count']=_0x53b0d8;if(_0x299b6d['query'][_0xcb73('0x56')]){_0x287107[_0xcb73('0x57')]=[{'all':!![]}];}return db['ChatWebsite']['findAll'](_0x287107);})['then'](function(_0x210e6e){_0x279667[_0xcb73('0x58')]=_0x210e6e;return _0x279667;})[_0xcb73('0x23')](respondWithFilteredResult(_0x3f95ab,_0x287107))[_0xcb73('0x2d')](handleError(_0x3f95ab,null));};exports[_0xcb73('0x59')]=function(_0x40a626,_0x1f6537){var _0x268ff7={'raw':![],'where':{'id':_0x40a626[_0xcb73('0x5a')]['id']},'include':[{'model':db[_0xcb73('0x5b')],'as':_0xcb73('0x40')}]},_0x558389={};_0x558389[_0xcb73('0x49')]=_[_0xcb73('0x46')](db[_0xcb73('0x42')][_0xcb73('0x43')]);_0x558389[_0xcb73('0x47')]=_[_0xcb73('0x46')](_0x40a626['query']);_0x558389[_0xcb73('0x48')]=_[_0xcb73('0x5c')](_0x558389[_0xcb73('0x49')],_0x558389[_0xcb73('0x47')]);_0x268ff7[_0xcb73('0x4b')]=_[_0xcb73('0x5c')](_0x558389['model'],qs[_0xcb73('0x4a')](_0x40a626[_0xcb73('0x47')][_0xcb73('0x4a')]));_0x268ff7[_0xcb73('0x4b')]=_0x268ff7[_0xcb73('0x4b')][_0xcb73('0x5d')]?_0x268ff7['attributes']:_0x558389[_0xcb73('0x49')];if(_0x40a626['query'][_0xcb73('0x56')]){_0x268ff7[_0xcb73('0x57')]=[{'all':!![]}];}_0x268ff7=_[_0xcb73('0x52')]({},_0x268ff7,_0x40a626['options']);return db['ChatWebsite'][_0xcb73('0x5e')](_0x268ff7)[_0xcb73('0x23')](handleEntityNotFound(_0x1f6537,null))[_0xcb73('0x23')](respondWithResult(_0x1f6537,null))[_0xcb73('0x2d')](handleError(_0x1f6537,null));};exports[_0xcb73('0x5f')]=function(_0xa9e5cf,_0x3356d0){return db[_0xcb73('0x42')][_0xcb73('0x5f')](_0xa9e5cf[_0xcb73('0x60')],{})[_0xcb73('0x23')](function(_0x5e0e5d){var _0x45eaac=_0xa9e5cf[_0xcb73('0x61')][_0xcb73('0x3a')]({'plain':!![]});if(!_0x45eaac)throw new Error('Unable\x20to\x20retrieve\x20the\x20current\x20user');if(_0x45eaac['role']===_0xcb73('0x61')){var _0x1f59a8=_0x5e0e5d[_0xcb73('0x3a')]({'plain':!![]});var _0x241f1c='ChatWebsites';return db['UserProfileSection'][_0xcb73('0x5e')]({'where':{'name':_0x241f1c,'userProfileId':_0x45eaac[_0xcb73('0x62')]},'raw':!![]})['then'](function(_0x1b5e80){if(_0x1b5e80&&_0x1b5e80[_0xcb73('0x63')]===0x0){return db['UserProfileResource'][_0xcb73('0x5f')]({'name':_0x1f59a8[_0xcb73('0x3d')],'resourceId':_0x1f59a8['id'],'type':_0x1b5e80[_0xcb73('0x3d')],'sectionId':_0x1b5e80['id']},{})[_0xcb73('0x23')](function(){return _0x5e0e5d;});}else{return _0x5e0e5d;}})[_0xcb73('0x2d')](function(_0x8f0a05){logger[_0xcb73('0x2a')](_0xcb73('0x64'),_0x8f0a05);throw _0x8f0a05;});}return _0x5e0e5d;})[_0xcb73('0x23')](respondWithResult(_0x3356d0,0xc9))[_0xcb73('0x2d')](handleError(_0x3356d0,null));};exports['update']=function(_0x188384,_0x161019){if(_0x188384[_0xcb73('0x60')]['id']){delete _0x188384['body']['id'];}return db[_0xcb73('0x42')][_0xcb73('0x5e')]({'where':{'id':_0x188384[_0xcb73('0x5a')]['id']},'include':[{'model':db['Pause'],'as':_0xcb73('0x40')}]})['then'](handleEntityNotFound(_0x161019,null))[_0xcb73('0x23')](saveUpdates(_0x188384['body'],null))[_0xcb73('0x23')](respondWithResult(_0x161019,null))[_0xcb73('0x2d')](handleError(_0x161019,null));};exports[_0xcb73('0x39')]=function(_0x2318fe,_0x4f8af0){return db[_0xcb73('0x42')][_0xcb73('0x5e')]({'where':{'id':_0x2318fe[_0xcb73('0x5a')]['id']}})['then'](handleEntityNotFound(_0x4f8af0,null))[_0xcb73('0x23')](removeEntity(_0x4f8af0,null))[_0xcb73('0x2d')](handleError(_0x4f8af0,null));};exports[_0xcb73('0x65')]=function(_0x312327,_0x1029da){return db[_0xcb73('0x42')][_0xcb73('0x65')]()[_0xcb73('0x23')](respondWithResult(_0x1029da,null))[_0xcb73('0x2d')](handleError(_0x1029da,null));};exports[_0xcb73('0x66')]=function(_0x1a0fb3,_0x3e70ee,_0x10d84e){if(_0x1a0fb3[_0xcb73('0x60')]['id']){delete _0x1a0fb3[_0xcb73('0x60')]['id'];}return db[_0xcb73('0x42')]['find']({'where':{'id':_0x1a0fb3[_0xcb73('0x5a')]['id']}})[_0xcb73('0x23')](handleEntityNotFound(_0x3e70ee,null))[_0xcb73('0x23')](function(_0x2d6435){if(_0x2d6435){_0x1a0fb3[_0xcb73('0x60')]['ChatWebsiteId']=_0x2d6435['id'];return db['Disposition'][_0xcb73('0x5f')](_0x1a0fb3[_0xcb73('0x60')]);}})[_0xcb73('0x23')](respondWithResult(_0x3e70ee,null))[_0xcb73('0x2d')](handleError(_0x3e70ee,null));};exports[_0xcb73('0x67')]=function(_0x30b195,_0x5f3d88,_0x358508){var _0x5004e3={'raw':![],'where':{}};var _0x57218a={};var _0x450e77={'count':0x0,'rows':[]};return db[_0xcb73('0x42')][_0xcb73('0x68')]({'where':{'id':_0x30b195[_0xcb73('0x5a')]['id']}})[_0xcb73('0x23')](handleEntityNotFound(_0x5f3d88,null))[_0xcb73('0x23')](function(_0x2fa05c){if(_0x2fa05c){_0x57218a[_0xcb73('0x49')]=_[_0xcb73('0x46')](db[_0xcb73('0x69')]['rawAttributes']);_0x57218a[_0xcb73('0x47')]=_[_0xcb73('0x46')](_0x30b195[_0xcb73('0x47')]);_0x57218a[_0xcb73('0x48')]=_[_0xcb73('0x5c')](_0x57218a[_0xcb73('0x49')],_0x57218a[_0xcb73('0x47')]);_0x5004e3['attributes']=_[_0xcb73('0x5c')](_0x57218a[_0xcb73('0x49')],qs[_0xcb73('0x4a')](_0x30b195['query'][_0xcb73('0x4a')]));_0x5004e3[_0xcb73('0x4b')]=_0x5004e3[_0xcb73('0x4b')]['length']?_0x5004e3['attributes']:_0x57218a[_0xcb73('0x49')];if(!_0x30b195[_0xcb73('0x47')]['hasOwnProperty'](_0xcb73('0x4d'))){_0x5004e3[_0xcb73('0x32')]=qs[_0xcb73('0x32')](_0x30b195[_0xcb73('0x47')]['limit']);_0x5004e3['offset']=qs[_0xcb73('0x31')](_0x30b195[_0xcb73('0x47')][_0xcb73('0x31')]);}_0x5004e3[_0xcb73('0x4e')]=qs[_0xcb73('0x4f')](_0x30b195['query']['sort']);_0x5004e3['where']=qs[_0xcb73('0x48')](_[_0xcb73('0x6a')](_0x30b195[_0xcb73('0x47')],_0x57218a[_0xcb73('0x48')]));_0x5004e3[_0xcb73('0x50')][_0xcb73('0x6b')]=_0x2fa05c['id'];if(_0x30b195[_0xcb73('0x47')][_0xcb73('0x51')]){_0x5004e3[_0xcb73('0x50')]=_[_0xcb73('0x52')](_0x5004e3[_0xcb73('0x50')],{'$or':_[_0xcb73('0x41')](_0x5004e3['attributes'],function(_0x3d4cc6){var _0x7b561e={};_0x7b561e[_0x3d4cc6]={'$like':'%'+_0x30b195[_0xcb73('0x47')][_0xcb73('0x51')]+'%'};return _0x7b561e;})});}_0x5004e3=_['merge']({},_0x5004e3,_0x30b195[_0xcb73('0x54')]);return db[_0xcb73('0x69')][_0xcb73('0x55')]({'where':_0x5004e3[_0xcb73('0x50')]})[_0xcb73('0x23')](function(_0x5ec804){_0x450e77[_0xcb73('0x55')]=_0x5ec804;if(_0x30b195['query'][_0xcb73('0x56')]){_0x5004e3[_0xcb73('0x57')]=[{'all':!![]}];}return db['Disposition']['findAll'](_0x5004e3);})[_0xcb73('0x23')](function(_0x170ff5){_0x450e77[_0xcb73('0x58')]=_0x170ff5;return _0x450e77;});}})[_0xcb73('0x23')](respondWithFilteredResult(_0x5f3d88,_0x5004e3))['catch'](handleError(_0x5f3d88,null));};exports[_0xcb73('0x6c')]=function(_0x2fda16,_0x10268d,_0x246de0){return db[_0xcb73('0x42')][_0xcb73('0x5e')]({'where':{'id':_0x2fda16[_0xcb73('0x5a')]['id']}})[_0xcb73('0x23')](handleEntityNotFound(_0x10268d,null))['then'](function(_0x4c3687){if(_0x4c3687){return _0x4c3687[_0xcb73('0x6c')](_0x2fda16[_0xcb73('0x47')][_0xcb73('0x6d')]);}})[_0xcb73('0x23')](respondWithStatusCode(_0x10268d,null))['catch'](handleError(_0x10268d,null));};exports[_0xcb73('0x6e')]=function(_0x4370c6,_0xb2539,_0x2502e5){if(_0x4370c6[_0xcb73('0x60')]['id']){delete _0x4370c6[_0xcb73('0x60')]['id'];}return db[_0xcb73('0x42')][_0xcb73('0x5e')]({'where':{'id':_0x4370c6[_0xcb73('0x5a')]['id']}})['then'](handleEntityNotFound(_0xb2539,null))['then'](function(_0x1d346a){if(_0x1d346a){_0x4370c6[_0xcb73('0x60')][_0xcb73('0x6b')]=_0x1d346a['id'];return db[_0xcb73('0x6f')][_0xcb73('0x5f')](_0x4370c6[_0xcb73('0x60')]);}})['then'](respondWithResult(_0xb2539,null))[_0xcb73('0x2d')](handleError(_0xb2539,null));};exports[_0xcb73('0x70')]=function(_0x215dce,_0x3d9386,_0x283fc6){var _0x97fc43={'raw':![],'where':{}};var _0x2323ae={};var _0x2a2e9f={'count':0x0,'rows':[]};return db[_0xcb73('0x42')][_0xcb73('0x68')]({'where':{'id':_0x215dce['params']['id']}})[_0xcb73('0x23')](handleEntityNotFound(_0x3d9386,null))[_0xcb73('0x23')](function(_0x1a0bf8){if(_0x1a0bf8){_0x2323ae['model']=_[_0xcb73('0x46')](db['CannedAnswer'][_0xcb73('0x43')]);_0x2323ae[_0xcb73('0x47')]=_[_0xcb73('0x46')](_0x215dce['query']);_0x2323ae['filters']=_[_0xcb73('0x5c')](_0x2323ae['model'],_0x2323ae[_0xcb73('0x47')]);_0x97fc43[_0xcb73('0x4b')]=_['intersection'](_0x2323ae[_0xcb73('0x49')],qs[_0xcb73('0x4a')](_0x215dce['query'][_0xcb73('0x4a')]));_0x97fc43['attributes']=_0x97fc43['attributes'][_0xcb73('0x5d')]?_0x97fc43[_0xcb73('0x4b')]:_0x2323ae['model'];if(!_0x215dce[_0xcb73('0x47')][_0xcb73('0x4c')]('nolimit')){_0x97fc43[_0xcb73('0x32')]=qs[_0xcb73('0x32')](_0x215dce[_0xcb73('0x47')][_0xcb73('0x32')]);_0x97fc43[_0xcb73('0x31')]=qs[_0xcb73('0x31')](_0x215dce['query'][_0xcb73('0x31')]);}_0x97fc43['order']=qs[_0xcb73('0x4f')](_0x215dce[_0xcb73('0x47')][_0xcb73('0x4f')]);_0x97fc43['where']=qs['filters'](_[_0xcb73('0x6a')](_0x215dce['query'],_0x2323ae['filters']));_0x97fc43[_0xcb73('0x50')][_0xcb73('0x6b')]=_0x1a0bf8['id'];if(_0x215dce[_0xcb73('0x47')][_0xcb73('0x51')]){_0x97fc43['where']=_['merge'](_0x97fc43['where'],{'$or':_[_0xcb73('0x41')](_0x97fc43['attributes'],function(_0xa385ef){var _0x4ea8e1={};_0x4ea8e1[_0xa385ef]={'$like':'%'+_0x215dce[_0xcb73('0x47')][_0xcb73('0x51')]+'%'};return _0x4ea8e1;})});}_0x97fc43=_[_0xcb73('0x52')]({},_0x97fc43,_0x215dce[_0xcb73('0x54')]);return db[_0xcb73('0x6f')][_0xcb73('0x55')]({'where':_0x97fc43['where']})[_0xcb73('0x23')](function(_0x455d9e){_0x2a2e9f[_0xcb73('0x55')]=_0x455d9e;if(_0x215dce[_0xcb73('0x47')]['includeAll']){_0x97fc43[_0xcb73('0x57')]=[{'all':!![]}];}return db[_0xcb73('0x6f')]['findAll'](_0x97fc43);})[_0xcb73('0x23')](function(_0x38be77){_0x2a2e9f[_0xcb73('0x58')]=_0x38be77;return _0x2a2e9f;});}})['then'](respondWithFilteredResult(_0x3d9386,_0x97fc43))['catch'](handleError(_0x3d9386,null));};exports['removeAnswers']=function(_0x2a9729,_0x415703,_0x5e5f85){return db['ChatWebsite'][_0xcb73('0x5e')]({'where':{'id':_0x2a9729[_0xcb73('0x5a')]['id']}})[_0xcb73('0x23')](handleEntityNotFound(_0x415703,null))[_0xcb73('0x23')](function(_0xa1e1a0){if(_0xa1e1a0){return _0xa1e1a0[_0xcb73('0x71')](_0x2a9729[_0xcb73('0x47')]['ids']);}})['then'](respondWithStatusCode(_0x415703,null))[_0xcb73('0x2d')](handleError(_0x415703,null));};exports['addLogo']=function(_0x348063,_0x1b4b97,_0x482fee){_0x348063[_0xcb73('0x60')][_0xcb73('0x72')]=_0x348063['file'][_0xcb73('0x73')];return db['ChatWebsite'][_0xcb73('0x5e')]({'where':{'id':_0x348063[_0xcb73('0x5a')]['id']}})[_0xcb73('0x23')](handleEntityNotFound(_0x1b4b97,null))[_0xcb73('0x23')](saveUpdates(_0x348063[_0xcb73('0x60')],null))['then'](respondWithResult(_0x1b4b97,null))[_0xcb73('0x2d')](handleError(_0x1b4b97,null));};exports['addAvatar']=function(_0x1c9a35,_0x29f869,_0xbf932b){_0x1c9a35['body'][_0xcb73('0x74')]=_0x1c9a35['file'][_0xcb73('0x73')];return db[_0xcb73('0x42')][_0xcb73('0x5e')]({'where':{'id':_0x1c9a35[_0xcb73('0x5a')]['id']}})[_0xcb73('0x23')](handleEntityNotFound(_0x29f869,null))[_0xcb73('0x23')](saveUpdates(_0x1c9a35[_0xcb73('0x60')],null))[_0xcb73('0x23')](respondWithResult(_0x29f869,null))['catch'](handleError(_0x29f869,null));};exports['addCustomerAvatar']=function(_0x214683,_0x31e2ae,_0x3f9c0b){_0x214683[_0xcb73('0x60')][_0xcb73('0x75')]=_0x214683[_0xcb73('0x76')][_0xcb73('0x73')];return db['ChatWebsite'][_0xcb73('0x5e')]({'where':{'id':_0x214683[_0xcb73('0x5a')]['id']}})[_0xcb73('0x23')](handleEntityNotFound(_0x31e2ae,null))[_0xcb73('0x23')](saveUpdates(_0x214683[_0xcb73('0x60')],null))[_0xcb73('0x23')](respondWithResult(_0x31e2ae,null))[_0xcb73('0x2d')](handleError(_0x31e2ae,null));};exports[_0xcb73('0x77')]=function(_0x3c958e,_0x1f16c2,_0x162244){_0x3c958e[_0xcb73('0x60')][_0xcb73('0x78')]=_0x3c958e[_0xcb73('0x76')][_0xcb73('0x73')];return db['ChatWebsite']['find']({'where':{'id':_0x3c958e[_0xcb73('0x5a')]['id']}})['then'](handleEntityNotFound(_0x1f16c2,null))[_0xcb73('0x23')](saveUpdates(_0x3c958e[_0xcb73('0x60')],null))[_0xcb73('0x23')](respondWithResult(_0x1f16c2,null))[_0xcb73('0x2d')](handleError(_0x1f16c2,null));};exports[_0xcb73('0x79')]=function(_0x4a65eb,_0x3f8498,_0x3fb9fa){var _0x25118a=path[_0xcb73('0x7a')](config['root'],_0xcb73('0x7b'));var _0x3529a1={'where':{'id':_0x4a65eb[_0xcb73('0x5a')]['id']},'attributes':['id',_0xcb73('0x72')],'raw':!![]};var _0x294761=![];return require(_0xcb73('0x7c'))[_0xcb73('0x7d')]()[_0xcb73('0x23')](function(_0x512c33){if(_0x512c33){_0x294761=_0x512c33[_0xcb73('0x7e')];}})['then'](function(){return db[_0xcb73('0x42')][_0xcb73('0x5e')](_0x3529a1);})[_0xcb73('0x23')](handleEntityNotFound(_0x3f8498,null))[_0xcb73('0x23')](function(_0x4fbebb){if(_0x4fbebb){if(!_[_0xcb73('0x7f')](_0x4fbebb['sitepic'])){if(fs['existsSync'](path[_0xcb73('0x7a')](config['root'],_0xcb73('0x80'),_0x4fbebb[_0xcb73('0x72')]))&&_0x294761){_0x25118a=path[_0xcb73('0x7a')](config[_0xcb73('0x81')],_0xcb73('0x80'),_0x4fbebb[_0xcb73('0x72')]);}}return _0x3f8498[_0xcb73('0x82')](_0x25118a);}})[_0xcb73('0x2d')](handleError(_0x3f8498,null));};exports[_0xcb73('0x83')]=function(_0xa5764d,_0xaaff6b,_0x5824a7){var _0x4ba8f2=path[_0xcb73('0x7a')](config['root'],'server/files/images/avatars/default_avatar.png');var _0xd3afd6={'where':{'id':_0xa5764d[_0xcb73('0x5a')]['id']},'attributes':['id','agentAvatar'],'raw':!![]};return db['ChatWebsite'][_0xcb73('0x5e')](_0xd3afd6)['then'](handleEntityNotFound(_0xaaff6b,null))['then'](function(_0x27c7a3){if(_0x27c7a3){if(!_[_0xcb73('0x7f')](_0x27c7a3[_0xcb73('0x74')])){if(fs[_0xcb73('0x84')](path[_0xcb73('0x7a')](config['root'],_0xcb73('0x85'),_0x27c7a3[_0xcb73('0x74')]))){_0x4ba8f2=path['join'](config[_0xcb73('0x81')],'server/files/images/avatars/',_0x27c7a3[_0xcb73('0x74')]);}}return _0xaaff6b['download'](_0x4ba8f2);}})[_0xcb73('0x2d')](handleError(_0xaaff6b,null));};exports[_0xcb73('0x86')]=function(_0x59db5b,_0x483419,_0x47f226){var _0x598002=path[_0xcb73('0x7a')](config[_0xcb73('0x81')],'server/files/images/avatars/customer_avatar.png');var _0x3f2d16={'where':{'id':_0x59db5b['params']['id']},'attributes':['id',_0xcb73('0x75'),_0xcb73('0x87')],'raw':!![]};return db['ChatWebsite'][_0xcb73('0x5e')](_0x3f2d16)[_0xcb73('0x23')](handleEntityNotFound(_0x483419,null))[_0xcb73('0x23')](function(_0x5beb58){if(_0x5beb58){if(!_[_0xcb73('0x7f')](_0x5beb58[_0xcb73('0x75')])){if(fs[_0xcb73('0x84')](path[_0xcb73('0x7a')](config[_0xcb73('0x81')],_0xcb73('0x85'),_0x5beb58[_0xcb73('0x75')]))&&_0x5beb58['showCustomerAvatar']){_0x598002=path[_0xcb73('0x7a')](config[_0xcb73('0x81')],_0xcb73('0x85'),_0x5beb58[_0xcb73('0x75')]);}}return _0x483419['download'](_0x598002);}})[_0xcb73('0x2d')](handleError(_0x483419,null));};exports[_0xcb73('0x88')]=function(_0x1f23c8,_0x38e0d6,_0x18b32a){var _0x37d770=path[_0xcb73('0x7a')](config[_0xcb73('0x81')],'server/files/images/avatars/system_avatar.png');var _0x2708c6={'where':{'id':_0x1f23c8[_0xcb73('0x5a')]['id']},'attributes':['id','systemAvatar'],'raw':!![]};return db['ChatWebsite'][_0xcb73('0x5e')](_0x2708c6)[_0xcb73('0x23')](handleEntityNotFound(_0x38e0d6,null))[_0xcb73('0x23')](function(_0x2472c7){if(_0x2472c7){if(!_[_0xcb73('0x7f')](_0x2472c7[_0xcb73('0x78')])){if(fs[_0xcb73('0x84')](path[_0xcb73('0x7a')](config[_0xcb73('0x81')],'server/files/images/avatars/',_0x2472c7[_0xcb73('0x78')]))){_0x37d770=path[_0xcb73('0x7a')](config['root'],_0xcb73('0x85'),_0x2472c7[_0xcb73('0x78')]);}}return _0x38e0d6[_0xcb73('0x82')](_0x37d770);}})['catch'](handleError(_0x38e0d6,null));};exports[_0xcb73('0x89')]=function(_0x58137c,_0x2d5707,_0x540863){var _0x5548e0=require(_0xcb73('0x8a'));var _0x1bac75=new _0x5548e0();var _0x274563=_0x1bac75[_0xcb73('0x8b')](_0x58137c[_0xcb73('0x8c')][_0xcb73('0x8d')])[_0xcb73('0x8e')]();var _0x3ad7e7={'body':_0x58137c[_0xcb73('0x60')],'channel':_0xcb73('0x8f')};var _0x1dc106=[];var _0x5e9541=[];var _0x7e7c7d={};var _0x1c42d3=![];return db[_0xcb73('0x90')]['describe']()[_0xcb73('0x23')](function(_0xc42036){if(!_0xc42036){throw new db[(_0xcb73('0x1f'))][(_0xcb73('0x20'))](_0xcb73('0x91'));}_0x1dc106=_[_0xcb73('0x92')](_['keys'](_0xc42036),[_0xcb73('0x93'),_0xcb73('0x94')]);_0x5e9541=_['difference'](_[_0xcb73('0x46')](_0xc42036),[_0xcb73('0x93'),_0xcb73('0x94'),_0xcb73('0x95'),_0xcb73('0x96')]);if(_0x58137c[_0xcb73('0x60')]['id']){delete _0x58137c[_0xcb73('0x60')]['id'];}if(_['isNil'](_0x58137c[_0xcb73('0x60')]['from'])){throw new db['Sequelize'][(_0xcb73('0x20'))](_0xcb73('0x97'));}if(_[_0xcb73('0x7f')](_0x58137c[_0xcb73('0x60')][_0xcb73('0x60')])||_0x58137c[_0xcb73('0x60')][_0xcb73('0x60')]===''){throw new db[(_0xcb73('0x1f'))][(_0xcb73('0x20'))]('body\x20is\x20mandatory\x20and\x20not\x20empty');}if(_[_0xcb73('0x7f')](_0x58137c[_0xcb73('0x60')][_0xcb73('0x98')])){throw new db['Sequelize'][(_0xcb73('0x20'))]('mapKey\x20is\x20mandatory,\x20please\x20use\x20one\x20of\x20these:\x20'+_0x5e9541);}if(!_[_0xcb73('0x99')](_0x5e9541,_0x58137c[_0xcb73('0x60')][_0xcb73('0x98')])){throw new db[(_0xcb73('0x1f'))][(_0xcb73('0x20'))](_0xcb73('0x9a')+_0x5e9541);}_0x7e7c7d[_0x58137c[_0xcb73('0x60')][_0xcb73('0x98')]]=_0x58137c[_0xcb73('0x60')][_0xcb73('0x9b')];})[_0xcb73('0x23')](function(){return db[_0xcb73('0x42')][_0xcb73('0x5e')]({'where':{'id':_0x58137c[_0xcb73('0x5a')]['id']},'include':[{'model':db[_0xcb73('0x9c')],'as':'List','include':[{'model':db[_0xcb73('0x90')],'as':_0xcb73('0x9d'),'where':_0x7e7c7d,'limit':0x1,'order':[[_0xcb73('0x94'),_0xcb73('0x9e')]]}]},{'model':db[_0xcb73('0x9f')],'as':_0xcb73('0xa0')}]});})['then'](handleEntityNotFound(_0x2d5707,null))[_0xcb73('0x23')](function(_0x4b4314){if(_0x4b4314&&_0x4b4314['List']){_0x3ad7e7[_0xcb73('0xa1')]=_0x4b4314;_0x3ad7e7[_0xcb73('0xa2')]=_0x4b4314[_0xcb73('0xa0')];_0x3ad7e7[_0xcb73('0xa3')]=_0x4b4314[_0xcb73('0xa4')];_0x3ad7e7[_0xcb73('0xa2')]=_[_0xcb73('0xa5')](_0x3ad7e7[_0xcb73('0xa2')],['priority'],[_0xcb73('0xa6')]);if(_0x3ad7e7['account'][_0xcb73('0xa0')]){delete _0x3ad7e7[_0xcb73('0xa1')][_0xcb73('0xa0')];}if(_0x3ad7e7[_0xcb73('0xa1')][_0xcb73('0xa4')]&&_0x3ad7e7['account'][_0xcb73('0xa4')][_0xcb73('0x9d')][_0xcb73('0x5d')]){return _0x3ad7e7['account']['List'][_0xcb73('0x9d')][0x0];}var _0x1fb9a8=_[_0xcb73('0x18')](_0x58137c[_0xcb73('0x60')],{'firstName':_0x58137c['body'][_0xcb73('0x9b')],'ListId':_0x4b4314[_0xcb73('0x96')]});_0x1fb9a8[_0x58137c[_0xcb73('0x60')]['mapKey']]=_0x58137c[_0xcb73('0x60')][_0xcb73('0x9b')];return db[_0xcb73('0x90')][_0xcb73('0x5f')](_0x1fb9a8,{'fields':_0x1dc106,'raw':!![]});}})['then'](handleEntityNotFound(_0x2d5707,null))['then'](function(_0x1921ac){_0x3ad7e7[_0xcb73('0xa7')]=_0x1921ac;var _0x5e24be=_0x58137c[_0xcb73('0x60')][_0xcb73('0xa8')];if(_0x58137c['headers'][_0xcb73('0xa9')]){_0x5e24be=_0x58137c[_0xcb73('0x8c')]['cf-connecting-ip'];}else if(_0x58137c[_0xcb73('0x8c')]['x-forwarded-for']){_0x5e24be=_['first'](_0x58137c[_0xcb73('0x8c')]['x-forwarded-for'][_0xcb73('0xaa')](','));}if(_0x1921ac){var _0x3fcba6={'ContactId':_0x1921ac['id'],'ChatWebsiteId':_0x58137c['params']['id'],'from':(_0x1921ac['firstName']||'')+'\x20'+(_0x1921ac[_0xcb73('0xab')]||''),'customerIp':_0x5e24be,'customerPort':_0x58137c[_0xcb73('0x8c')][_0xcb73('0xac')]?_0x58137c[_0xcb73('0x8c')][_0xcb73('0xac')]:null,'referer':_0x58137c['body'][_0xcb73('0xad')],'browserName':_0x274563[_0xcb73('0xae')][_0xcb73('0x3d')]&&_0x274563[_0xcb73('0xae')][_0xcb73('0xaf')]?util['format'](_0xcb73('0xb0'),_0x274563[_0xcb73('0xae')]['name'],_0x274563[_0xcb73('0xae')][_0xcb73('0xaf')]):_0xcb73('0xb1'),'browserVersion':_0x274563[_0xcb73('0xae')][_0xcb73('0xaf')]||_0xcb73('0xb1'),'osName':util['format'](_0xcb73('0xb0'),_0x274563['os'][_0xcb73('0x3d')],_0x274563['os'][_0xcb73('0xaf')]),'osVersion':_0x274563['os']['version'],'deviceModel':_0x274563[_0xcb73('0xb2')][_0xcb73('0x49')]&&_0x274563['device']['vendor']?util[_0xcb73('0xb3')](_0xcb73('0xb4'),_0x274563['device']['model'],_0x274563[_0xcb73('0xb2')]['vendor'],_0x274563[_0xcb73('0xb2')][_0xcb73('0x45')]):null,'deviceVendor':_0x274563[_0xcb73('0xb2')][_0xcb73('0xb5')],'deviceType':_0x274563[_0xcb73('0xb2')][_0xcb73('0x45')],'formData':JSON['stringify'](_0x58137c[_0xcb73('0x60')])};var _0x225255={'ChatWebsiteId':_0x58137c[_0xcb73('0x5a')]['id'],'closed':![]};if(_0x58137c[_0xcb73('0x60')][_0xcb73('0xb6')]){_0x225255[_0xcb73('0xb6')]=_0x58137c[_0xcb73('0x60')]['threadId'];return db[_0xcb73('0xb7')][_0xcb73('0x5e')]({'where':_0x225255})[_0xcb73('0x23')](function(_0x198d03){if(_0x198d03){return[_0x198d03,![]];}_0x3fcba6['threadId']=_0x58137c[_0xcb73('0x60')][_0xcb73('0xb6')];_0x3fcba6['externalUrl']=_0x58137c[_0xcb73('0x60')][_0xcb73('0xb8')];return db[_0xcb73('0xb7')][_0xcb73('0x5f')](_0x3fcba6)[_0xcb73('0x23')](function(_0x470954){return[_0x470954,!![]];});});}_0x225255[_0xcb73('0xb9')]=_0x1921ac['id'];if(_0x58137c[_0xcb73('0x60')][_0xcb73('0xba')]&&_0x58137c[_0xcb73('0x60')][_0xcb73('0xba')]['id']){_0x225255['id']=_0x58137c[_0xcb73('0x60')][_0xcb73('0xba')]['id'];return db[_0xcb73('0xb7')][_0xcb73('0x5e')]({'where':_0x225255})[_0xcb73('0x23')](function(_0x223554){if(_0x223554){return[_0x223554,![]];}return db[_0xcb73('0xb7')][_0xcb73('0x5f')](_0x3fcba6)[_0xcb73('0x23')](function(_0x322e4b){return[_0x322e4b,!![]];});});}return db[_0xcb73('0xb7')][_0xcb73('0x5f')](_0x3fcba6)[_0xcb73('0x23')](function(_0x2199f1){return[_0x2199f1,!![]];});}})[_0xcb73('0xbb')](function(_0x1cedef,_0x25bc2a){if(_0x1cedef){_0x1c42d3=_0x25bc2a;if(!_0x25bc2a){var _0xc0bdc6={'from':(_0x3ad7e7[_0xcb73('0xa7')][_0xcb73('0xbc')]||'')+'\x20'+(_0x3ad7e7[_0xcb73('0xa7')][_0xcb73('0xab')]||'')};if(_0x58137c[_0xcb73('0x60')][_0xcb73('0xb6')]&&_0x58137c[_0xcb73('0x60')]['messageId']&&_0x58137c['body'][_0xcb73('0xb6')]!=_0x58137c[_0xcb73('0x60')][_0xcb73('0xbd')]){_0xc0bdc6['threadId']=_0x58137c[_0xcb73('0x60')]['messageId'];}return _0x1cedef[_0xcb73('0xbe')](_0xc0bdc6);}else{return _0x1cedef;}}})['then'](function(_0x176195){_0x3ad7e7[_0xcb73('0xba')]=_0x176195[_0xcb73('0x3a')]({'plain':!![]});_0x3ad7e7[_0xcb73('0xba')]['created']=_0x1c42d3;if(_0x3ad7e7['interaction'][_0xcb73('0xbf')]){if(_0x3ad7e7[_0xcb73('0xa1')]['autoclose']){_0x3ad7e7[_0xcb73('0xa2')][_0xcb73('0xc0')]({'id':0x0,'priority':_0x3ad7e7[_0xcb73('0xa2')][_0xcb73('0x5d')]+0x1,'app':_0xcb73('0xc1'),'appdata':_0xcb73('0xc2'),'interval':_0xcb73('0xc3')});}}return db['ChatMessage']['create']({'body':_0x58137c[_0xcb73('0x60')][_0xcb73('0x60')],'ChatWebsiteId':_0x58137c['params']['id'],'ChatInteractionId':_0x176195['id'],'direction':'in','ContactId':_0x3ad7e7[_0xcb73('0xa7')]['id'],'AttachmentId':_0x58137c[_0xcb73('0x60')][_0xcb73('0xc4')]});})[_0xcb73('0x23')](function(_0x3d6353){_0x3ad7e7[_0xcb73('0x2b')]=_0x3d6353;if(_0x3ad7e7[_0xcb73('0xba')][_0xcb73('0xc5')]){return db['User'][_0xcb73('0x5e')]({'attributes':['id',_0xcb73('0x3d')],'where':{'id':_0x3ad7e7[_0xcb73('0xba')][_0xcb73('0xc5')]}})['then'](function(_0x7d2ae0){if(_0x7d2ae0){_0x3ad7e7[_0xcb73('0xa2')][_0xcb73('0xc6')]({'id':0x0,'priority':0x0,'app':'agent','appdata':_0x7d2ae0['name']+','+(_0x3ad7e7[_0xcb73('0xa1')][_0xcb73('0xc7')]||0xa),'interval':_0xcb73('0xc3')});_0x3ad7e7[_0xcb73('0xc8')]=!![];}return respondWithRpcPromise(_0xcb73('0xc9'),_0xcb73('0xca'),_0x3ad7e7);});}return respondWithRpcPromise(_0xcb73('0xc9'),_0xcb73('0xca'),_0x3ad7e7);})[_0xcb73('0x23')](function(_0x4ae830){respondWithRpcPromise('EventManager',_0xcb73('0xcb'),{'event':_0xcb73('0x89'),'message':_0x4ae830},client9002);return _0x4ae830;})[_0xcb73('0x23')](respondWithResult(_0x2d5707,null))[_0xcb73('0x2d')](handleError(_0x2d5707,null));};exports[_0xcb73('0xcc')]=function(_0x54c6d0,_0x1bf71f,_0x5c3039){var _0x49f230,_0x5aa629,_0x2079ab;var _0x59d6a3=[];var _0x3de516=[];var _0x41b124={};return db['CmContact'][_0xcb73('0x65')]()[_0xcb73('0x23')](function(_0x956898){if(!_0x956898){throw new db[(_0xcb73('0x1f'))]['ValidationError'](_0xcb73('0x91'));}_0x3de516=_[_0xcb73('0x92')](_[_0xcb73('0x46')](_0x956898),['createdAt',_0xcb73('0x94')]);_0x59d6a3=_[_0xcb73('0x92')](_['keys'](_0x956898),[_0xcb73('0x93'),_0xcb73('0x94'),'CompanyId',_0xcb73('0x96')]);if(_0x54c6d0[_0xcb73('0x60')]['id']){delete _0x54c6d0[_0xcb73('0x60')]['id'];}if(_[_0xcb73('0x7f')](_0x54c6d0[_0xcb73('0x60')]['from'])){throw _0x1bf71f[_0xcb73('0x2f')](0x1f4)[_0xcb73('0x3e')](new db[(_0xcb73('0x1f'))][(_0xcb73('0x20'))](_0xcb73('0x97')));}if(_[_0xcb73('0x7f')](_0x54c6d0[_0xcb73('0x60')][_0xcb73('0x60')])||_0x54c6d0['body'][_0xcb73('0x60')]===''){throw _0x1bf71f[_0xcb73('0x2f')](0x1f4)[_0xcb73('0x3e')](new db[(_0xcb73('0x1f'))][(_0xcb73('0x20'))](_0xcb73('0xcd')));}if(_[_0xcb73('0x7f')](_0x54c6d0[_0xcb73('0x60')][_0xcb73('0xce')])){throw _0x1bf71f[_0xcb73('0x2f')](0x1f4)['send'](new db[(_0xcb73('0x1f'))][(_0xcb73('0x20'))](_0xcb73('0xcf')+_0x59d6a3));}if(!_[_0xcb73('0x99')](_0x59d6a3,_0x54c6d0[_0xcb73('0x60')][_0xcb73('0xce')])){throw _0x1bf71f[_0xcb73('0x2f')](0x1f4)[_0xcb73('0x3e')](new db['Sequelize']['ValidationError'](_0xcb73('0xd0')+_0x59d6a3));}_0x41b124[_0x54c6d0['body']['mapKeyOffline']]=_0x54c6d0[_0xcb73('0x60')][_0xcb73('0x9b')];})['then'](function(){return db[_0xcb73('0x42')][_0xcb73('0x5e')]({'where':{'id':_0x54c6d0['params']['id']},'include':[{'model':db[_0xcb73('0x9c')],'as':_0xcb73('0xa4')}]});})[_0xcb73('0x23')](handleEntityNotFound(_0x1bf71f,null))[_0xcb73('0x23')](function(_0x24d5c3){if(_0x24d5c3&&_0x24d5c3[_0xcb73('0xa4')]){_0x5aa629=_0x24d5c3;var _0x23fff7=_['defaults'](_0x54c6d0[_0xcb73('0x60')],{'firstName':_0x54c6d0[_0xcb73('0x60')]['from'],'phone':_0x54c6d0[_0xcb73('0x60')][_0xcb73('0x9b')],'ListId':_0x24d5c3[_0xcb73('0x96')]});_0x23fff7[_0x54c6d0[_0xcb73('0x60')]['mapKeyOffline']]=_0x54c6d0[_0xcb73('0x60')][_0xcb73('0x9b')];return db[_0xcb73('0x90')]['findOrCreate']({'where':_0x41b124,'defaults':_0x23fff7});}})[_0xcb73('0xbb')](function(_0x1ba9a5){if(_0x1ba9a5){_0x2079ab=_0x1ba9a5;var _0x192d08=fs[_0xcb73('0xd1')](path[_0xcb73('0x7a')](config[_0xcb73('0x81')],_0xcb73('0xd2')),'utf8');var _0x578f11=ejs[_0xcb73('0xd3')](_0x192d08,{'body':_[_0xcb73('0xd4')](_0x54c6d0['body'][_0xcb73('0x60')]),'bodyTitle':_0x5aa629['offlineMessageBody']});return db[_0xcb73('0xd5')][_0xcb73('0x5f')]({'body':_0x578f11,'ContactId':_0x1ba9a5['id'],'ChatWebsiteId':_0x5aa629['id']});}})[_0xcb73('0x23')](function(_0x24057a){if(_0x24057a){_0x49f230=_0x24057a;return db[_0xcb73('0xd6')][_0xcb73('0x68')]({'where':{'service':!![]},'include':[{'model':db[_0xcb73('0xd7')],'as':_0xcb73('0xd8'),'raw':!![]}]});}})[_0xcb73('0x23')](function(_0x1edfb4){if(_0x1edfb4&&_0x1edfb4['Smtp']&&_0x5aa629[_0xcb73('0xd9')]){var _0x13e05d={'tls':{'rejectUnauthorized':![]}};if(_0x1edfb4[_0xcb73('0xd8')][_0xcb73('0xda')]){_0x13e05d[_0xcb73('0xda')]=_0x1edfb4['Smtp'][_0xcb73('0xda')];}else{_0x13e05d['host']=_0x1edfb4[_0xcb73('0xd8')][_0xcb73('0xdb')];_0x13e05d['port']=_0x1edfb4[_0xcb73('0xd8')][_0xcb73('0xdc')];_0x13e05d[_0xcb73('0xdd')]=_0x1edfb4[_0xcb73('0xd8')][_0xcb73('0xdd')];}if(_0x1edfb4[_0xcb73('0xd8')][_0xcb73('0xde')]){_0x13e05d['auth']={'user':_0x1edfb4['Smtp'][_0xcb73('0x61')],'pass':_0x1edfb4[_0xcb73('0xd8')][_0xcb73('0xdf')]};}return respondWithRpcPromise(_0xcb73('0xe0'),_0xcb73('0xe1'),{'account':_0x13e05d,'message':{'from':util[_0xcb73('0xb3')](_0xcb73('0xe2'),_0x1edfb4['name'],_0x1edfb4[_0xcb73('0xe3')]||_0x1edfb4[_0xcb73('0xd8')][_0xcb73('0x61')]),'to':_0x5aa629['forwardOfflineAddress'],'subject':_0x5aa629[_0xcb73('0xe4')],'text':_0x49f230[_0xcb73('0x60')]}},client9003)['then'](function(){return _0x49f230;})[_0xcb73('0x2d')](function(_0x38f8c2){console[_0xcb73('0x2a')](_0x38f8c2);});}})[_0xcb73('0x23')](function(){if(_0x49f230){return _0x49f230;}})[_0xcb73('0x23')](respondWithResult(_0x1bf71f,null))[_0xcb73('0x2d')](handleError(_0x1bf71f,null));};exports[_0xcb73('0xe5')]=function(_0x1b7548,_0x4aad99,_0x5c9a36){return db[_0xcb73('0xb7')][_0xcb73('0x5e')]({'where':{'id':_0x1b7548[_0xcb73('0x5a')]['id']}})[_0xcb73('0x23')](handleEntityNotFound(_0x4aad99,null))[_0xcb73('0x23')](function(_0x2ae968){if(_0x2ae968){return _0x2ae968['addInteraction'](_0x1b7548[_0xcb73('0x60')][_0xcb73('0x6d')],_[_0xcb73('0xe6')](_0x1b7548[_0xcb73('0x60')],[_0xcb73('0x6d'),'id'])||{});}})['then'](respondWithResult(_0x4aad99,null))[_0xcb73('0x2d')](handleError(_0x4aad99,null));};exports[_0xcb73('0xe7')]=function(_0x4fcc7b,_0x1e2b39,_0x4c3d9f){var _0x340761={'raw':![],'where':{}};var _0x7862d7={};var _0x45da78={'count':0x0,'rows':[]};return db['ChatWebsite'][_0xcb73('0x68')]({'where':{'id':_0x4fcc7b[_0xcb73('0x5a')]['id']}})[_0xcb73('0x23')](handleEntityNotFound(_0x1e2b39,null))[_0xcb73('0x23')](function(_0x266b91){if(_0x266b91){_0x7862d7[_0xcb73('0x49')]=_['keys'](db[_0xcb73('0xb7')][_0xcb73('0x43')]);_0x7862d7[_0xcb73('0x47')]=_['keys'](_0x4fcc7b[_0xcb73('0x47')]);_0x7862d7[_0xcb73('0x48')]=_[_0xcb73('0x5c')](_0x7862d7[_0xcb73('0x49')],_0x7862d7['query']);_0x340761[_0xcb73('0x4b')]=_[_0xcb73('0x5c')](_0x7862d7[_0xcb73('0x49')],qs[_0xcb73('0x4a')](_0x4fcc7b[_0xcb73('0x47')][_0xcb73('0x4a')]));_0x340761[_0xcb73('0x4b')]=_0x340761['attributes'][_0xcb73('0x5d')]?_0x340761[_0xcb73('0x4b')]:_0x7862d7[_0xcb73('0x49')];if(!_0x4fcc7b[_0xcb73('0x47')][_0xcb73('0x4c')](_0xcb73('0x4d'))){_0x340761[_0xcb73('0x32')]=qs[_0xcb73('0x32')](_0x4fcc7b[_0xcb73('0x47')]['limit']);_0x340761[_0xcb73('0x31')]=qs[_0xcb73('0x31')](_0x4fcc7b['query'][_0xcb73('0x31')]);}_0x340761[_0xcb73('0x4e')]=qs[_0xcb73('0x4f')](_0x4fcc7b[_0xcb73('0x47')]['sort']);_0x340761[_0xcb73('0x50')]=qs[_0xcb73('0x48')](_[_0xcb73('0x6a')](_0x4fcc7b[_0xcb73('0x47')],_0x7862d7[_0xcb73('0x48')]));_0x340761[_0xcb73('0x50')][_0xcb73('0x6b')]=_0x266b91['id'];if(_0x4fcc7b[_0xcb73('0x47')]['filter']){_0x340761[_0xcb73('0x50')]=_[_0xcb73('0x52')](_0x340761[_0xcb73('0x50')],{'$or':_[_0xcb73('0x41')](_0x340761[_0xcb73('0x4b')],function(_0x563c08){var _0x37b82e={};_0x37b82e[_0x563c08]={'$like':'%'+_0x4fcc7b['query'][_0xcb73('0x51')]+'%'};return _0x37b82e;})});}_0x340761=_['merge']({},_0x340761,_0x4fcc7b[_0xcb73('0x54')]);return db[_0xcb73('0xb7')]['count']({'where':_0x340761['where']})['then'](function(_0x4bbbfb){_0x45da78[_0xcb73('0x55')]=_0x4bbbfb;if(_0x4fcc7b[_0xcb73('0x47')][_0xcb73('0x56')]){_0x340761[_0xcb73('0x57')]=[{'model':db[_0xcb73('0x90')],'as':_0xcb73('0xe8'),'required':![]},{'model':db[_0xcb73('0xe9')],'as':_0xcb73('0xea'),'attributes':[_0xcb73('0x3d'),'fullname','internal'],'required':![]},{'model':db[_0xcb73('0xeb')],'as':_0xcb73('0xec'),'attributes':['id',_0xcb73('0x3d'),'color'],'where':_0x4fcc7b[_0xcb73('0x47')]['tag']?{'id':_0x4fcc7b['query'][_0xcb73('0xed')]}:undefined,'required':_0x4fcc7b[_0xcb73('0x47')]['tag']?!![]:![]}];}return db[_0xcb73('0xb7')][_0xcb73('0xee')](_0x340761);})['then'](function(_0x22616b){_0x45da78[_0xcb73('0x58')]=_0x22616b;return _0x45da78;});}})[_0xcb73('0x23')](respondWithFilteredResult(_0x1e2b39,_0x340761))[_0xcb73('0x2d')](handleError(_0x1e2b39,null));};function iftimePromise(_0x504cd7,_0x32db86){return respondWithRpcPromise(_0xcb73('0xef'),_0xcb73('0xf0'),{'command':_0x32db86[_0xcb73('0xf1')]?util['format']('iftime\x20%s,%s',_0x504cd7['interval'],_0x32db86[_0xcb73('0xf1')]):util['format'](_0xcb73('0xf2'),_0x504cd7[_0xcb73('0xf3')])},client9002)['then'](function(_0x17e0b1){var _0x562762=_0x17e0b1&&_0x17e0b1[_0xcb73('0xf4')](_0xcb73('0xf5'))>=0x0?!![]:![];logger['info'](_0xcb73('0xf6'),_0x32db86['id'],_0x504cd7['id'],_0x504cd7[_0xcb73('0xf3')],_0x562762?_0xcb73('0xf7'):'OFFLINE',_0x32db86[_0xcb73('0xf1')]?_0x32db86[_0xcb73('0xf1')]:_0xcb73('0xf8'));return _0x562762;})[_0xcb73('0x2d')](function(_0x5398f2){logger[_0xcb73('0x2a')](_0xcb73('0xf6'),_0x32db86['id'],_0x504cd7['id'],_0x504cd7[_0xcb73('0xf3')],util['inspect'](_0x5398f2,{'showHidden':![],'depth':null}),_0x32db86[_0xcb73('0xf1')]?_0x32db86[_0xcb73('0xf1')]:'No\x20timezone');return![];});}exports['getSnippet']=function(_0x405184,_0x539dfe,_0x56d4fa){var _0x2f7b93=0x0;var _0x4c7ee8=0x0;var _0x2c99de=![];var _0x57da4f;var _0x5f5b6a;return db[_0xcb73('0x42')]['find']({'where':{'id':_0x405184[_0xcb73('0x5a')]['id']},'include':[{'model':db[_0xcb73('0xf9')],'as':_0xcb73('0xf9'),'include':[{'model':db['Interval'],'as':_0xcb73('0xfa'),'attributes':['id',_0xcb73('0xf3')],'raw':!![]}]}]})[_0xcb73('0x23')](handleEntityNotFound(_0x539dfe,null))[_0xcb73('0x23')](function(_0x481863){if(_0x481863){_0x57da4f=_0x481863;return _0x481863[_0xcb73('0xfb')]({'raw':!![]});}})[_0xcb73('0x23')](function(_0x5e7d80){if(_0x57da4f){if(_0x5e7d80){_0x5f5b6a=_0x5e7d80;}}return require(_0xcb73('0x7c'))['getLicense']();})['then'](function(_0x15ba92){if(_0x15ba92){_0x4c7ee8=_0x15ba92[_0xcb73('0xfc')];_0x2c99de=_0x15ba92[_0xcb73('0x7e')];}})[_0xcb73('0x23')](function(){return db['ChatInteraction'][_0xcb73('0x55')]({'where':{'closed':![]}});})[_0xcb73('0x23')](function(_0x4a0de2){_0x2f7b93=_0x4a0de2;if(_0x4c7ee8&&_0x4a0de2>_0x4c7ee8){return db['License'][_0xcb73('0x68')]({'where':{'id':0x1}})[_0xcb73('0x23')](function(_0x64cd54){if(_0x64cd54){_0x64cd54['increment'](_0xcb73('0xfd'));}});}})[_0xcb73('0x23')](function(){if(_0x57da4f['Interval']&&_0x57da4f['Interval']['Intervals']){var _0x4d28da=[];for(var _0x33ea1c=0x0;_0x33ea1c<_0x57da4f[_0xcb73('0xf9')][_0xcb73('0xfa')][_0xcb73('0x5d')];_0x33ea1c++){var _0xad8125=_0x57da4f['Interval'][_0xcb73('0xfa')][_0x33ea1c]['get']({'plain':!![]});_0x4d28da[_0xcb73('0xc0')](iftimePromise(_0xad8125,_0x57da4f));}return BPromise[_0xcb73('0xfe')](_0x4d28da)['then'](function(_0x413768){return _[_0xcb73('0xff')](_0x413768);});}else{return!![];}})['then'](function(_0x13ed65){var _0x1e6b03=fs[_0xcb73('0xd1')](path[_0xcb73('0x7a')](config['root'],_0xcb73('0x100')),_0xcb73('0x101'));var _0x56c755={'remote':_0x57da4f[_0xcb73('0x102')],'query':querystring[_0xcb73('0x29')](_[_0xcb73('0x52')](_0x57da4f[_0xcb73('0x3a')]({'plain':!![]}),{'customerIp':_0x405184[_0xcb73('0x8c')][_0xcb73('0x103')]||_0x405184[_0xcb73('0x8c')][_0xcb73('0x104')]||_0x405184['connection'][_0xcb73('0x105')]||_0x405184['ip'],'referer':_0x405184[_0xcb73('0x8c')][_0xcb73('0xad')],'openedInteractions':_0x2f7b93,'maxInteractions':_0x4c7ee8,'virtual':_0x2c99de[_0xcb73('0xfc')],'online':_0x13ed65,'custom':_0x2c99de}))['replace'](/'/g,'\x5c\x27')};_0x539dfe['send'](ejs[_0xcb73('0xd3')](Mustache['render'](_0x1e6b03,_0x56c755),{'proactiveActions':_0x5f5b6a,'alignment':_0x57da4f['alignment'],'verticalAlignment':_0x57da4f[_0xcb73('0x106')],'div_color':_0x57da4f[_0xcb73('0x107')],'text_color':_0x57da4f[_0xcb73('0x108')]}));})[_0xcb73('0x2d')](handleError(_0x539dfe,null));};exports[_0xcb73('0x109')]=function(_0x971c07,_0x418ec3,_0x4234a1){return db[_0xcb73('0x42')][_0xcb73('0x68')]({'where':{'id':_0x971c07['params']['id']}})[_0xcb73('0x23')](handleEntityNotFound(_0x418ec3,null))['then'](function(_0x50d2be){if(_0x50d2be){return db[_0xcb73('0x10a')]['transaction'](function(_0x1b98a4){return db[_0xcb73('0x9f')][_0xcb73('0x39')]({'where':{'ChatWebsiteId':_0x971c07[_0xcb73('0x5a')]['id']},'transaction':_0x1b98a4})['then'](function(_0x2778f2){var _0x336a6f=_[_0xcb73('0x41')](_0x971c07['body'],function(_0x5669a4){_0x5669a4[_0xcb73('0x6b')]=_0x971c07['params']['id'];return _0x5669a4;});return db['ChatApplication'][_0xcb73('0x10b')](_0x336a6f,{'transaction':_0x1b98a4});});})[_0xcb73('0x23')](function(){return db[_0xcb73('0x9f')][_0xcb73('0x10c')]({'where':{'ChatWebsiteId':_0x971c07['params']['id']},'order':_0xcb73('0x10d')});});}})['then'](respondWithResult(_0x418ec3,null))[_0xcb73('0x2d')](handleError(_0x418ec3,null));};exports[_0xcb73('0x10e')]=function(_0x202ead,_0x25233d,_0x5178f8){var _0x4ba405={};var _0x51bbe9={};var _0x397c50;var _0x565292;return db[_0xcb73('0x42')][_0xcb73('0x68')]({'where':{'id':_0x202ead[_0xcb73('0x5a')]['id']}})[_0xcb73('0x23')](handleEntityNotFound(_0x25233d,null))[_0xcb73('0x23')](function(_0x3efe00){if(_0x3efe00){_0x397c50=_0x3efe00;_0x51bbe9[_0xcb73('0x49')]=_['keys'](db[_0xcb73('0x9f')][_0xcb73('0x43')]);_0x51bbe9[_0xcb73('0x47')]=_[_0xcb73('0x46')](_0x202ead[_0xcb73('0x47')]);_0x51bbe9[_0xcb73('0x48')]=_[_0xcb73('0x5c')](_0x51bbe9['model'],_0x51bbe9[_0xcb73('0x47')]);_0x4ba405[_0xcb73('0x4b')]=_[_0xcb73('0x5c')](_0x51bbe9['model'],qs['fields'](_0x202ead[_0xcb73('0x47')][_0xcb73('0x4a')]));_0x4ba405[_0xcb73('0x4b')]=_0x4ba405[_0xcb73('0x4b')]['length']?_0x4ba405[_0xcb73('0x4b')]:_0x51bbe9[_0xcb73('0x49')];_0x4ba405[_0xcb73('0x4e')]=qs[_0xcb73('0x4f')](_0x202ead[_0xcb73('0x47')][_0xcb73('0x4f')]);_0x4ba405[_0xcb73('0x50')]=qs[_0xcb73('0x48')](_[_0xcb73('0x6a')](_0x202ead[_0xcb73('0x47')],_0x51bbe9[_0xcb73('0x48')]));if(_0x202ead[_0xcb73('0x47')]['filter']){_0x4ba405['where']=_[_0xcb73('0x52')](_0x4ba405[_0xcb73('0x50')],{'$or':_[_0xcb73('0x41')](_0x4ba405[_0xcb73('0x4b')],function(_0x16afc6){var _0x295373={};_0x295373[_0x16afc6]={'$like':'%'+_0x202ead[_0xcb73('0x47')][_0xcb73('0x51')]+'%'};return _0x295373;})});}_0x4ba405=_[_0xcb73('0x52')]({},_0x4ba405,_0x202ead['options']);return _0x397c50['getApplications'](_0x4ba405);}})['then'](function(_0x3014e8){if(_0x3014e8){_0x565292=_0x3014e8['length'];if(!_0x202ead[_0xcb73('0x47')]['hasOwnProperty'](_0xcb73('0x4d'))){_0x4ba405['limit']=qs[_0xcb73('0x32')](_0x202ead[_0xcb73('0x47')][_0xcb73('0x32')]);_0x4ba405[_0xcb73('0x31')]=qs[_0xcb73('0x31')](_0x202ead[_0xcb73('0x47')][_0xcb73('0x31')]);}return _0x397c50[_0xcb73('0x10e')](_0x4ba405);}})[_0xcb73('0x23')](function(_0x4f1f4c){if(_0x4f1f4c){return _0x4f1f4c?{'count':_0x565292,'rows':_0x4f1f4c}:null;}})[_0xcb73('0x23')](respondWithResult(_0x25233d,null))[_0xcb73('0x2d')](handleError(_0x25233d,null));};exports[_0xcb73('0x10f')]=function(_0x531051,_0x20fa12,_0x53f17c){return db[_0xcb73('0x110')][_0xcb73('0x5e')]({'where':{'id':_0x531051[_0xcb73('0x5a')]['id']}})[_0xcb73('0x23')](handleEntityNotFound(_0x20fa12,null))[_0xcb73('0x23')](function(_0x3ccb60){if(_0x3ccb60){return _0x3ccb60['addProactiveActions'](_0x531051[_0xcb73('0x60')]['ids'],_[_0xcb73('0xe6')](_0x531051[_0xcb73('0x60')],[_0xcb73('0x6d'),'id'])||{});}})[_0xcb73('0x23')](respondWithResult(_0x20fa12,null))['catch'](handleError(_0x20fa12,null));};exports['getProactiveActions']=function(_0x339cbf,_0x3d3f01,_0x4c37e4){var _0x62b06f={};var _0x5e8547={};var _0x5600ec;var _0x166a58;return db[_0xcb73('0x42')][_0xcb73('0x68')]({'where':{'id':_0x339cbf['params']['id']}})[_0xcb73('0x23')](handleEntityNotFound(_0x3d3f01,null))['then'](function(_0x1bd312){if(_0x1bd312){_0x5600ec=_0x1bd312;_0x5e8547[_0xcb73('0x49')]=_[_0xcb73('0x46')](db[_0xcb73('0x111')][_0xcb73('0x43')]);_0x5e8547[_0xcb73('0x47')]=_[_0xcb73('0x46')](_0x339cbf[_0xcb73('0x47')]);_0x5e8547[_0xcb73('0x48')]=_[_0xcb73('0x5c')](_0x5e8547[_0xcb73('0x49')],_0x5e8547['query']);_0x62b06f[_0xcb73('0x4b')]=_[_0xcb73('0x5c')](_0x5e8547[_0xcb73('0x49')],qs[_0xcb73('0x4a')](_0x339cbf['query'][_0xcb73('0x4a')]));_0x62b06f[_0xcb73('0x4b')]=_0x62b06f['attributes'][_0xcb73('0x5d')]?_0x62b06f[_0xcb73('0x4b')]:_0x5e8547[_0xcb73('0x49')];_0x62b06f[_0xcb73('0x4e')]=qs[_0xcb73('0x4f')](_0x339cbf['query'][_0xcb73('0x4f')]);_0x62b06f[_0xcb73('0x50')]=qs[_0xcb73('0x48')](_[_0xcb73('0x6a')](_0x339cbf[_0xcb73('0x47')],_0x5e8547[_0xcb73('0x48')]));if(_0x339cbf[_0xcb73('0x47')]['filter']){_0x62b06f[_0xcb73('0x50')]=_['merge'](_0x62b06f[_0xcb73('0x50')],{'$or':_[_0xcb73('0x41')](_0x62b06f[_0xcb73('0x4b')],function(_0x51b9fd){var _0x558f9c={};_0x558f9c[_0x51b9fd]={'$like':'%'+_0x339cbf['query'][_0xcb73('0x51')]+'%'};return _0x558f9c;})});}_0x62b06f=_[_0xcb73('0x52')]({},_0x62b06f,_0x339cbf[_0xcb73('0x54')]);return _0x5600ec[_0xcb73('0xfb')](_0x62b06f);}})[_0xcb73('0x23')](function(_0x8da89f){if(_0x8da89f){_0x166a58=_0x8da89f[_0xcb73('0x5d')];if(!_0x339cbf[_0xcb73('0x47')][_0xcb73('0x4c')](_0xcb73('0x4d'))){_0x62b06f['limit']=qs[_0xcb73('0x32')](_0x339cbf[_0xcb73('0x47')][_0xcb73('0x32')]);_0x62b06f['offset']=qs[_0xcb73('0x31')](_0x339cbf[_0xcb73('0x47')]['offset']);}return _0x5600ec[_0xcb73('0xfb')](_0x62b06f);}})[_0xcb73('0x23')](function(_0x1031c1){if(_0x1031c1){return _0x1031c1?{'count':_0x166a58,'rows':_0x1031c1}:null;}})[_0xcb73('0x23')](respondWithResult(_0x3d3f01,null))['catch'](handleError(_0x3d3f01,null));};exports[_0xcb73('0x112')]=function(_0x3cd8ed,_0xe8db16,_0x20d9ad){var _0xf6dcd2=_0x3cd8ed['query']['online']===_0xcb73('0x113')?_0xcb73('0x114'):'onlineForm';return db[_0xcb73('0x42')]['find']({'attributes':['id',_0xf6dcd2],'where':{'id':_0x3cd8ed[_0xcb73('0x5a')]['id']}})['then'](handleEntityNotFound(_0xe8db16,null))['then'](function(_0x418fa7){if(_0x418fa7){var _0x295252=_0x418fa7[_0xf6dcd2];var _0x4d6f3c=_0x295252&&_0x295252[_0xcb73('0x115')]?_0x295252['items']:[];_0xe8db16[_0xcb73('0x3e')]({'fromKey':_[_0xcb73('0x7f')](_0x295252[_0xcb73('0x116')])?undefined:_0x295252[_0xcb73('0x116')],'count':_0x4d6f3c['length'],'rows':_0x4d6f3c});}})[_0xcb73('0x2d')](handleError(_0xe8db16,null));};exports['getOfflineMessages']=function(_0xe66e59,_0x2bfa18,_0x525477){var _0x63dee0={'raw':![],'where':{}};var _0x1b6968={};var _0x5c6190={'count':0x0,'rows':[]};return db['ChatWebsite']['findOne']({'where':{'id':_0xe66e59['params']['id']}})[_0xcb73('0x23')](handleEntityNotFound(_0x2bfa18,null))[_0xcb73('0x23')](function(_0x3da4ff){if(_0x3da4ff){_0x1b6968['model']=_[_0xcb73('0x46')](db[_0xcb73('0xd5')][_0xcb73('0x43')]);_0x1b6968[_0xcb73('0x47')]=_[_0xcb73('0x46')](_0xe66e59[_0xcb73('0x47')]);_0x1b6968[_0xcb73('0x48')]=_['intersection'](_0x1b6968[_0xcb73('0x49')],_0x1b6968[_0xcb73('0x47')]);_0x63dee0['attributes']=_[_0xcb73('0x5c')](_0x1b6968[_0xcb73('0x49')],qs[_0xcb73('0x4a')](_0xe66e59[_0xcb73('0x47')][_0xcb73('0x4a')]));_0x63dee0[_0xcb73('0x4b')]=_0x63dee0[_0xcb73('0x4b')][_0xcb73('0x5d')]?_0x63dee0[_0xcb73('0x4b')]:_0x1b6968['model'];if(!_0xe66e59['query'][_0xcb73('0x4c')]('nolimit')){_0x63dee0['limit']=qs[_0xcb73('0x32')](_0xe66e59[_0xcb73('0x47')][_0xcb73('0x32')]);_0x63dee0['offset']=qs[_0xcb73('0x31')](_0xe66e59[_0xcb73('0x47')][_0xcb73('0x31')]);}_0x63dee0[_0xcb73('0x4e')]=qs['sort'](_0xe66e59[_0xcb73('0x47')]['sort']);_0x63dee0[_0xcb73('0x50')]=qs[_0xcb73('0x48')](_['pick'](_0xe66e59[_0xcb73('0x47')],_0x1b6968[_0xcb73('0x48')]));_0x63dee0['where'][_0xcb73('0x6b')]=_0x3da4ff['id'];if(_0xe66e59[_0xcb73('0x47')][_0xcb73('0x51')]){_0x63dee0[_0xcb73('0x50')]=_[_0xcb73('0x52')](_0x63dee0['where'],{'$or':_[_0xcb73('0x41')](_0x63dee0['attributes'],function(_0x164255){var _0x3ff03d={};_0x3ff03d[_0x164255]={'$like':'%'+_0xe66e59[_0xcb73('0x47')][_0xcb73('0x51')]+'%'};return _0x3ff03d;})});}_0x63dee0=_[_0xcb73('0x52')]({},_0x63dee0,_0xe66e59[_0xcb73('0x54')]);return db[_0xcb73('0xd5')][_0xcb73('0x55')]({'where':_0x63dee0['where']})[_0xcb73('0x23')](function(_0x36d817){_0x5c6190[_0xcb73('0x55')]=_0x36d817;if(_0xe66e59[_0xcb73('0x47')][_0xcb73('0x56')]){_0x63dee0[_0xcb73('0x57')]=[{'all':!![]}];}else{_0x63dee0['include']=[{'model':db[_0xcb73('0x90')],'as':_0xcb73('0xe8'),'required':![]}];}return db[_0xcb73('0xd5')]['findAll'](_0x63dee0);})['then'](function(_0x1e0c17){_0x5c6190[_0xcb73('0x58')]=_0x1e0c17;return _0x5c6190;});}})[_0xcb73('0x23')](respondWithFilteredResult(_0x2bfa18,_0x63dee0))[_0xcb73('0x2d')](handleError(_0x2bfa18,null));};exports[_0xcb73('0x117')]=function(_0x8d6dea,_0x22edb1,_0x1ed8a2){return db['ChatWebsite']['find']({'where':{'id':_0x8d6dea[_0xcb73('0x5a')]['id']}})[_0xcb73('0x23')](handleEntityNotFound(_0x22edb1,null))[_0xcb73('0x23')](function(_0x214b51){if(_0x214b51){return _0x214b51['addAgents'](_0x8d6dea['body'][_0xcb73('0x6d')],_[_0xcb73('0xe6')](_0x8d6dea[_0xcb73('0x60')],[_0xcb73('0x6d'),'id'])||{})[_0xcb73('0xbb')](function(_0x1a4fbe){for(var _0x28b79f=0x0;_0x28b79f<_0x8d6dea[_0xcb73('0x60')][_0xcb73('0x6d')][_0xcb73('0x5d')];_0x28b79f+=0x1){socket[_0xcb73('0x118')](_0xcb73('0x119'),{'UserId':_0x8d6dea[_0xcb73('0x60')][_0xcb73('0x6d')][_0x28b79f],'ChatWebsiteId':_0x8d6dea[_0xcb73('0x5a')]['id']});}return _0x1a4fbe;});}})[_0xcb73('0x23')](respondWithResult(_0x22edb1,null))['catch'](handleError(_0x22edb1,null));};exports[_0xcb73('0x11a')]=function(_0x53c8b6,_0x28c92d,_0x141be6){return db[_0xcb73('0x42')][_0xcb73('0x5e')]({'where':{'id':_0x53c8b6[_0xcb73('0x5a')]['id']}})[_0xcb73('0x23')](handleEntityNotFound(_0x28c92d,null))[_0xcb73('0x23')](function(_0x1a8c9d){if(_0x1a8c9d){return _0x1a8c9d[_0xcb73('0x11a')](_0x53c8b6[_0xcb73('0x47')][_0xcb73('0x6d')])[_0xcb73('0x23')](function(){if(_['isArray'](_0x53c8b6[_0xcb73('0x47')]['ids'])){for(var _0x1da1aa=0x0;_0x1da1aa<_0x53c8b6[_0xcb73('0x47')][_0xcb73('0x6d')][_0xcb73('0x5d')];_0x1da1aa+=0x1){socket['emit'](_0xcb73('0x11b'),{'UserId':Number(_0x53c8b6['query'][_0xcb73('0x6d')][_0x1da1aa]),'ChatWebsiteId':Number(_0x53c8b6[_0xcb73('0x5a')]['id'])});}}else{socket[_0xcb73('0x118')](_0xcb73('0x11b'),{'UserId':Number(_0x53c8b6[_0xcb73('0x47')][_0xcb73('0x6d')]),'ChatWebsiteId':Number(_0x53c8b6['params']['id'])});}});}})['then'](respondWithStatusCode(_0x28c92d,null))[_0xcb73('0x2d')](handleError(_0x28c92d,null));};exports[_0xcb73('0x11c')]=function(_0x5ec07d,_0x38353d,_0x119eca){var _0x2fc5d0={};var _0x6cba66={};var _0x11cd89;var _0x3df967;return db['ChatWebsite'][_0xcb73('0x68')]({'where':{'id':_0x5ec07d['params']['id']}})[_0xcb73('0x23')](handleEntityNotFound(_0x38353d,null))[_0xcb73('0x23')](function(_0x3860c5){if(_0x3860c5){_0x11cd89=_0x3860c5;_0x6cba66[_0xcb73('0x49')]=_['keys'](db[_0xcb73('0xe9')][_0xcb73('0x43')]);_0x6cba66[_0xcb73('0x47')]=_['keys'](_0x5ec07d[_0xcb73('0x47')]);_0x6cba66[_0xcb73('0x48')]=_[_0xcb73('0x5c')](_0x6cba66['model'],_0x6cba66[_0xcb73('0x47')]);_0x2fc5d0[_0xcb73('0x4b')]=_['intersection'](_0x6cba66[_0xcb73('0x49')],qs[_0xcb73('0x4a')](_0x5ec07d['query'][_0xcb73('0x4a')]));_0x2fc5d0[_0xcb73('0x4b')]=_0x2fc5d0[_0xcb73('0x4b')][_0xcb73('0x5d')]?_0x2fc5d0[_0xcb73('0x4b')]:_0x6cba66[_0xcb73('0x49')];_0x2fc5d0[_0xcb73('0x4e')]=qs[_0xcb73('0x4f')](_0x5ec07d[_0xcb73('0x47')][_0xcb73('0x4f')]);_0x2fc5d0[_0xcb73('0x50')]=qs[_0xcb73('0x48')](_[_0xcb73('0x6a')](_0x5ec07d[_0xcb73('0x47')],_0x6cba66[_0xcb73('0x48')]));if(_0x5ec07d[_0xcb73('0x47')][_0xcb73('0x51')]){_0x2fc5d0[_0xcb73('0x50')]=_['merge'](_0x2fc5d0[_0xcb73('0x50')],{'$or':_[_0xcb73('0x41')](_0x2fc5d0['attributes'],function(_0x117349){var _0x41907c={};_0x41907c[_0x117349]={'$like':'%'+_0x5ec07d[_0xcb73('0x47')]['filter']+'%'};return _0x41907c;})});}_0x2fc5d0=_['merge']({},_0x2fc5d0,_0x5ec07d[_0xcb73('0x54')]);return _0x11cd89[_0xcb73('0x11c')](_0x2fc5d0);}})['then'](function(_0x16dc39){if(_0x16dc39){_0x3df967=_0x16dc39[_0xcb73('0x5d')];if(!_0x5ec07d[_0xcb73('0x47')][_0xcb73('0x4c')](_0xcb73('0x4d'))){_0x2fc5d0[_0xcb73('0x32')]=qs[_0xcb73('0x32')](_0x5ec07d[_0xcb73('0x47')][_0xcb73('0x32')]);_0x2fc5d0['offset']=qs[_0xcb73('0x31')](_0x5ec07d[_0xcb73('0x47')][_0xcb73('0x31')]);}return _0x11cd89['getAgents'](_0x2fc5d0);}})[_0xcb73('0x23')](function(_0xc24ef0){if(_0xc24ef0){return _0xc24ef0?{'count':_0x3df967,'rows':_0xc24ef0}:null;}})['then'](respondWithResult(_0x38353d,null))[_0xcb73('0x2d')](handleError(_0x38353d,null));}; \ No newline at end of file diff --git a/server/api/chatWebsite/chatWebsite.events.js b/server/api/chatWebsite/chatWebsite.events.js index 761ddad..a22c58e 100644 --- a/server/api/chatWebsite/chatWebsite.events.js +++ b/server/api/chatWebsite/chatWebsite.events.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x4fde=['remove','emit','hasOwnProperty','hook','exports','events','../../mysqldb','ChatWebsite','setMaxListeners','update'];(function(_0x2fea3f,_0x143c24){var _0xe7b365=function(_0x4fb734){while(--_0x4fb734){_0x2fea3f['push'](_0x2fea3f['shift']());}};_0xe7b365(++_0x143c24);}(_0x4fde,0x19f));var _0xe4fd=function(_0x397e5f,_0x454c8f){_0x397e5f=_0x397e5f-0x0;var _0x5302b8=_0x4fde[_0x397e5f];return _0x5302b8;};'use strict';var EventEmitter=require(_0xe4fd('0x0'));var ChatWebsite=require(_0xe4fd('0x1'))['db'][_0xe4fd('0x2')];var ChatWebsiteEvents=new EventEmitter();ChatWebsiteEvents[_0xe4fd('0x3')](0x0);var events={'afterCreate':'save','afterUpdate':_0xe4fd('0x4'),'afterDestroy':_0xe4fd('0x5')};function emitEvent(_0x4bf61e){return function(_0x36d49f,_0x3c4c49,_0x8b810a){ChatWebsiteEvents[_0xe4fd('0x6')](_0x4bf61e+':'+_0x36d49f['id'],_0x36d49f);ChatWebsiteEvents[_0xe4fd('0x6')](_0x4bf61e,_0x36d49f);_0x8b810a(null);};}for(var e in events){if(events[_0xe4fd('0x7')](e)){var event=events[e];ChatWebsite[_0xe4fd('0x8')](e,emitEvent(event));}}module[_0xe4fd('0x9')]=ChatWebsiteEvents; \ No newline at end of file +var _0xbfda=['remove','emit','hasOwnProperty','exports','events','../../mysqldb','ChatWebsite','save'];(function(_0x117170,_0x5669c9){var _0x3da17c=function(_0xbaaf25){while(--_0xbaaf25){_0x117170['push'](_0x117170['shift']());}};_0x3da17c(++_0x5669c9);}(_0xbfda,0x1dc));var _0xabfd=function(_0x3a1b90,_0x3c0158){_0x3a1b90=_0x3a1b90-0x0;var _0xf6de77=_0xbfda[_0x3a1b90];return _0xf6de77;};'use strict';var EventEmitter=require(_0xabfd('0x0'));var ChatWebsite=require(_0xabfd('0x1'))['db'][_0xabfd('0x2')];var ChatWebsiteEvents=new EventEmitter();ChatWebsiteEvents['setMaxListeners'](0x0);var events={'afterCreate':_0xabfd('0x3'),'afterUpdate':'update','afterDestroy':_0xabfd('0x4')};function emitEvent(_0x138c67){return function(_0x384d8e,_0x3818ef,_0x48aff0){ChatWebsiteEvents[_0xabfd('0x5')](_0x138c67+':'+_0x384d8e['id'],_0x384d8e);ChatWebsiteEvents['emit'](_0x138c67,_0x384d8e);_0x48aff0(null);};}for(var e in events){if(events[_0xabfd('0x6')](e)){var event=events[e];ChatWebsite['hook'](e,emitEvent(event));}}module[_0xabfd('0x7')]=ChatWebsiteEvents; \ No newline at end of file diff --git a/server/api/chatWebsite/chatWebsite.model.js b/server/api/chatWebsite/chatWebsite.model.js index 7542acb..2a4c4b1 100644 --- a/server/api/chatWebsite/chatWebsite.model.js +++ b/server/api/chatWebsite/chatWebsite.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xa902=['../../config/logger','api','moment','request-promise','../../config/environment','./chatWebsite.attributes','exports','define','chat_websites','lodash','util'];(function(_0x122ef9,_0x451d2a){var _0x42fba0=function(_0x17c9d3){while(--_0x17c9d3){_0x122ef9['push'](_0x122ef9['shift']());}};_0x42fba0(++_0x451d2a);}(_0xa902,0x8d));var _0x2a90=function(_0x47878f,_0x48d3bf){_0x47878f=_0x47878f-0x0;var _0x4b05b8=_0xa902[_0x47878f];return _0x4b05b8;};'use strict';var _=require(_0x2a90('0x0'));var util=require(_0x2a90('0x1'));var logger=require(_0x2a90('0x2'))(_0x2a90('0x3'));var moment=require(_0x2a90('0x4'));var BPromise=require('bluebird');var rp=require(_0x2a90('0x5'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x2a90('0x6'));var attributes=require(_0x2a90('0x7'));module[_0x2a90('0x8')]=function(_0x21e1d2,_0x4a32c7){return _0x21e1d2[_0x2a90('0x9')]('ChatWebsite',attributes,{'tableName':_0x2a90('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0xa149=['exports','define','ChatWebsite','chat_websites','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','./chatWebsite.attributes'];(function(_0x170422,_0x1a168f){var _0x34acce=function(_0x5a18c0){while(--_0x5a18c0){_0x170422['push'](_0x170422['shift']());}};_0x34acce(++_0x1a168f);}(_0xa149,0x18c));var _0x9a14=function(_0x1e1aba,_0x1681b9){_0x1e1aba=_0x1e1aba-0x0;var _0xe2f102=_0xa149[_0x1e1aba];return _0xe2f102;};'use strict';var _=require(_0x9a14('0x0'));var util=require(_0x9a14('0x1'));var logger=require(_0x9a14('0x2'))(_0x9a14('0x3'));var moment=require(_0x9a14('0x4'));var BPromise=require(_0x9a14('0x5'));var rp=require(_0x9a14('0x6'));var fs=require('fs');var path=require(_0x9a14('0x7'));var rimraf=require(_0x9a14('0x8'));var config=require('../../config/environment');var attributes=require(_0x9a14('0x9'));module[_0x9a14('0xa')]=function(_0x5abb12,_0x417648){return _0x5abb12[_0x9a14('0xb')](_0x9a14('0xc'),attributes,{'tableName':_0x9a14('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/chatWebsite/chatWebsite.rpc.js b/server/api/chatWebsite/chatWebsite.rpc.js index 84df138..226dba2 100644 --- a/server/api/chatWebsite/chatWebsite.rpc.js +++ b/server/api/chatWebsite/chatWebsite.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x187d=['stringify','error','code','ChatWebsite,\x20%s,\x20%s','message','result','catch','lodash','moment','bluebird','randomstring','ioredis','../../mysqldb','../../config/utils','rpc','../../config/environment','client','http','redis','defaults','localhost','socket.io-emitter','register','then','info','request\x20sent','debug','ChatWebsite,\x20%s,\x20%s,\x20%s'];(function(_0x1acbb6,_0xbead61){var _0x114ed3=function(_0xf66c06){while(--_0xf66c06){_0x1acbb6['push'](_0x1acbb6['shift']());}};_0x114ed3(++_0xbead61);}(_0x187d,0x93));var _0xd187=function(_0x42245d,_0x51758f){_0x42245d=_0x42245d-0x0;var _0x4b211a=_0x187d[_0x42245d];return _0x4b211a;};'use strict';var _=require(_0xd187('0x0'));var util=require('util');var moment=require(_0xd187('0x1'));var BPromise=require(_0xd187('0x2'));var rs=require(_0xd187('0x3'));var fs=require('fs');var Redis=require(_0xd187('0x4'));var db=require(_0xd187('0x5'))['db'];var utils=require(_0xd187('0x6'));var logger=require('../../config/logger')(_0xd187('0x7'));var config=require(_0xd187('0x8'));var jayson=require('jayson/promise');var client=jayson[_0xd187('0x9')][_0xd187('0xa')]({'port':0x232a});config[_0xd187('0xb')]=_[_0xd187('0xc')](config[_0xd187('0xb')],{'host':_0xd187('0xd'),'port':0x18eb});var socket=require(_0xd187('0xe'))(new Redis(config[_0xd187('0xb')]));require('./chatWebsite.socket')[_0xd187('0xf')](socket);function respondWithRpcPromise(_0x42848b,_0x4039f6,_0x473866){return new BPromise(function(_0x33ca45,_0x2a61a4){return client['request'](_0x42848b,_0x473866)[_0xd187('0x10')](function(_0x412ccf){logger[_0xd187('0x11')]('ChatWebsite,\x20%s,\x20%s',_0x4039f6,_0xd187('0x12'));logger[_0xd187('0x13')](_0xd187('0x14'),_0x4039f6,'request\x20sent',JSON[_0xd187('0x15')](_0x412ccf));if(_0x412ccf[_0xd187('0x16')]){if(_0x412ccf[_0xd187('0x16')][_0xd187('0x17')]===0x1f4){logger['error'](_0xd187('0x18'),_0x4039f6,_0x412ccf[_0xd187('0x16')][_0xd187('0x19')]);return _0x2a61a4(_0x412ccf[_0xd187('0x16')]['message']);}logger[_0xd187('0x16')]('ChatWebsite,\x20%s,\x20%s',_0x4039f6,_0x412ccf['error'][_0xd187('0x19')]);return _0x33ca45(_0x412ccf['error']['message']);}else{logger[_0xd187('0x11')](_0xd187('0x18'),_0x4039f6,_0xd187('0x12'));_0x33ca45(_0x412ccf[_0xd187('0x1a')][_0xd187('0x19')]);}})[_0xd187('0x1b')](function(_0x12b388){logger[_0xd187('0x16')](_0xd187('0x18'),_0x4039f6,_0x12b388);_0x2a61a4(_0x12b388);});});} \ No newline at end of file +var _0x90b1=['http','redis','defaults','localhost','socket.io-emitter','register','request','then','info','ChatWebsite,\x20%s,\x20%s','debug','ChatWebsite,\x20%s,\x20%s,\x20%s','request\x20sent','stringify','error','code','message','result','lodash','util','moment','ioredis','../../mysqldb','../../config/utils','../../config/logger'];(function(_0x3c268a,_0x13de63){var _0x400321=function(_0x1f2d36){while(--_0x1f2d36){_0x3c268a['push'](_0x3c268a['shift']());}};_0x400321(++_0x13de63);}(_0x90b1,0x1bb));var _0x190b=function(_0x1e7823,_0x539017){_0x1e7823=_0x1e7823-0x0;var _0x2a8aa7=_0x90b1[_0x1e7823];return _0x2a8aa7;};'use strict';var _=require(_0x190b('0x0'));var util=require(_0x190b('0x1'));var moment=require(_0x190b('0x2'));var BPromise=require('bluebird');var rs=require('randomstring');var fs=require('fs');var Redis=require(_0x190b('0x3'));var db=require(_0x190b('0x4'))['db'];var utils=require(_0x190b('0x5'));var logger=require(_0x190b('0x6'))('rpc');var config=require('../../config/environment');var jayson=require('jayson/promise');var client=jayson['client'][_0x190b('0x7')]({'port':0x232a});config[_0x190b('0x8')]=_[_0x190b('0x9')](config[_0x190b('0x8')],{'host':_0x190b('0xa'),'port':0x18eb});var socket=require(_0x190b('0xb'))(new Redis(config[_0x190b('0x8')]));require('./chatWebsite.socket')[_0x190b('0xc')](socket);function respondWithRpcPromise(_0x186101,_0x163966,_0x33fd04){return new BPromise(function(_0x41b788,_0x409aa3){return client[_0x190b('0xd')](_0x186101,_0x33fd04)[_0x190b('0xe')](function(_0x5d6497){logger[_0x190b('0xf')](_0x190b('0x10'),_0x163966,'request\x20sent');logger[_0x190b('0x11')](_0x190b('0x12'),_0x163966,_0x190b('0x13'),JSON[_0x190b('0x14')](_0x5d6497));if(_0x5d6497[_0x190b('0x15')]){if(_0x5d6497[_0x190b('0x15')][_0x190b('0x16')]===0x1f4){logger[_0x190b('0x15')](_0x190b('0x10'),_0x163966,_0x5d6497[_0x190b('0x15')][_0x190b('0x17')]);return _0x409aa3(_0x5d6497[_0x190b('0x15')][_0x190b('0x17')]);}logger[_0x190b('0x15')](_0x190b('0x10'),_0x163966,_0x5d6497[_0x190b('0x15')][_0x190b('0x17')]);return _0x41b788(_0x5d6497['error'][_0x190b('0x17')]);}else{logger['info'](_0x190b('0x10'),_0x163966,_0x190b('0x13'));_0x41b788(_0x5d6497[_0x190b('0x18')][_0x190b('0x17')]);}})['catch'](function(_0x298343){logger[_0x190b('0x15')](_0x190b('0x10'),_0x163966,_0x298343);_0x409aa3(_0x298343);});});} \ No newline at end of file diff --git a/server/api/chatWebsite/chatWebsite.socket.js b/server/api/chatWebsite/chatWebsite.socket.js index 3644de5..f5156f5 100644 --- a/server/api/chatWebsite/chatWebsite.socket.js +++ b/server/api/chatWebsite/chatWebsite.socket.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x7a54=['remove','emit','removeListener','register','length','chatWebsite:','./chatWebsite.events','save'];(function(_0x4b4a59,_0x5ea05c){var _0x53d3fa=function(_0x772132){while(--_0x772132){_0x4b4a59['push'](_0x4b4a59['shift']());}};_0x53d3fa(++_0x5ea05c);}(_0x7a54,0x106));var _0x47a5=function(_0x411e7b,_0x33be85){_0x411e7b=_0x411e7b-0x0;var _0x4ab508=_0x7a54[_0x411e7b];return _0x4ab508;};'use strict';var ChatWebsiteEvents=require(_0x47a5('0x0'));var events=[_0x47a5('0x1'),_0x47a5('0x2'),'update'];function createListener(_0x1d33e,_0x4086cd){return function(_0x4880bf){_0x4086cd[_0x47a5('0x3')](_0x1d33e,_0x4880bf);};}function removeListener(_0x11bf85,_0x2a1a7e){return function(){ChatWebsiteEvents[_0x47a5('0x4')](_0x11bf85,_0x2a1a7e);};}exports[_0x47a5('0x5')]=function(_0x545a97){for(var _0x3d5629=0x0,_0x59199c=events[_0x47a5('0x6')];_0x3d5629<_0x59199c;_0x3d5629++){var _0x30e405=events[_0x3d5629];var _0x506eda=createListener(_0x47a5('0x7')+_0x30e405,_0x545a97);ChatWebsiteEvents['on'](_0x30e405,_0x506eda);}}; \ No newline at end of file +var _0x7a54=['remove','emit','removeListener','register','length','chatWebsite:','./chatWebsite.events','save'];(function(_0x3fdeff,_0x4157c7){var _0x326b86=function(_0x31ef3f){while(--_0x31ef3f){_0x3fdeff['push'](_0x3fdeff['shift']());}};_0x326b86(++_0x4157c7);}(_0x7a54,0x106));var _0x47a5=function(_0xf46a14,_0x52eadb){_0xf46a14=_0xf46a14-0x0;var _0x241239=_0x7a54[_0xf46a14];return _0x241239;};'use strict';var ChatWebsiteEvents=require(_0x47a5('0x0'));var events=[_0x47a5('0x1'),_0x47a5('0x2'),'update'];function createListener(_0x1d33e,_0x4086cd){return function(_0x4880bf){_0x4086cd[_0x47a5('0x3')](_0x1d33e,_0x4880bf);};}function removeListener(_0x11bf85,_0x2a1a7e){return function(){ChatWebsiteEvents[_0x47a5('0x4')](_0x11bf85,_0x2a1a7e);};}exports[_0x47a5('0x5')]=function(_0x545a97){for(var _0x3d5629=0x0,_0x59199c=events[_0x47a5('0x6')];_0x3d5629<_0x59199c;_0x3d5629++){var _0x30e405=events[_0x3d5629];var _0x506eda=createListener(_0x47a5('0x7')+_0x30e405,_0x545a97);ChatWebsiteEvents['on'](_0x30e405,_0x506eda);}}; \ No newline at end of file diff --git a/server/api/chatWebsite/index.js b/server/api/chatWebsite/index.js index d5d4f20..f5e2dcb 100644 --- a/server/api/chatWebsite/index.js +++ b/server/api/chatWebsite/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x6abd=['../../components/auth/service','../../components/interaction/service','../../config/environment','./chatWebsite.controller','get','isAuthenticated','describe','/:id','show','getDispositions','/:id/canned_answers','getAnswers','/:id/logo','getLogo','/:id/avatar','getAvatar','/:id/customer_avatar','getCustomerAvatar','/:id/interactions','getInteractions','/:id/snippet','getApplications','getProactiveActions','/:id/fields','getFields','/:id/offline_messages','getOfflineMessages','/:id/users','getAgents','post','/:id/dispositions','addAnswer','diskStorage','join','server/files/images/logos/','format','now','originalname','single','file','root','server/files/images/avatars/','%s-%s','addCustomerAvatar','notify','offline','/:id/applications','addApplications','/:id/proactive_actions','addProactiveActions','put','update','destroy','delete','removeDispositions','removeAnswers','removeAgents','exports','util','path','express','Router'];(function(_0x39a5c6,_0x2a03fb){var _0x51cb6f=function(_0x156c8a){while(--_0x156c8a){_0x39a5c6['push'](_0x39a5c6['shift']());}};_0x51cb6f(++_0x2a03fb);}(_0x6abd,0x132));var _0xd6ab=function(_0x2ba4de,_0x37a66f){_0x2ba4de=_0x2ba4de-0x0;var _0x381eb7=_0x6abd[_0x2ba4de];return _0x381eb7;};'use strict';var multer=require('multer');var util=require(_0xd6ab('0x0'));var path=require(_0xd6ab('0x1'));var timeout=require('connect-timeout');var express=require(_0xd6ab('0x2'));var router=express[_0xd6ab('0x3')]();var auth=require(_0xd6ab('0x4'));var interaction=require(_0xd6ab('0x5'));var config=require(_0xd6ab('0x6'));var controller=require(_0xd6ab('0x7'));router[_0xd6ab('0x8')]('/',auth[_0xd6ab('0x9')](),controller['index']);router[_0xd6ab('0x8')]('/describe',auth[_0xd6ab('0x9')](),controller[_0xd6ab('0xa')]);router[_0xd6ab('0x8')](_0xd6ab('0xb'),auth['isAuthenticated'](),controller[_0xd6ab('0xc')]);router[_0xd6ab('0x8')]('/:id/dispositions',auth[_0xd6ab('0x9')](),controller[_0xd6ab('0xd')]);router[_0xd6ab('0x8')](_0xd6ab('0xe'),auth[_0xd6ab('0x9')](),controller[_0xd6ab('0xf')]);router[_0xd6ab('0x8')](_0xd6ab('0x10'),controller[_0xd6ab('0x11')]);router['get'](_0xd6ab('0x12'),controller[_0xd6ab('0x13')]);router[_0xd6ab('0x8')](_0xd6ab('0x14'),controller[_0xd6ab('0x15')]);router[_0xd6ab('0x8')]('/:id/system_avatar',controller['getSystemAvatar']);router[_0xd6ab('0x8')](_0xd6ab('0x16'),auth[_0xd6ab('0x9')](),controller[_0xd6ab('0x17')]);router[_0xd6ab('0x8')](_0xd6ab('0x18'),controller['getSnippet']);router[_0xd6ab('0x8')]('/:id/applications',auth[_0xd6ab('0x9')](),controller[_0xd6ab('0x19')]);router[_0xd6ab('0x8')]('/:id/proactive_actions',auth[_0xd6ab('0x9')](),controller[_0xd6ab('0x1a')]);router[_0xd6ab('0x8')](_0xd6ab('0x1b'),controller[_0xd6ab('0x1c')]);router[_0xd6ab('0x8')](_0xd6ab('0x1d'),auth[_0xd6ab('0x9')](),controller[_0xd6ab('0x1e')]);router[_0xd6ab('0x8')](_0xd6ab('0x1f'),auth[_0xd6ab('0x9')](),controller[_0xd6ab('0x20')]);router[_0xd6ab('0x21')]('/',auth[_0xd6ab('0x9')](),controller['create']);router[_0xd6ab('0x21')](_0xd6ab('0x22'),auth[_0xd6ab('0x9')](),controller['addDisposition']);router[_0xd6ab('0x21')](_0xd6ab('0xe'),auth[_0xd6ab('0x9')](),controller[_0xd6ab('0x23')]);var upload=multer({'storage':multer[_0xd6ab('0x24')]({'destination':function(_0x2d5965,_0x3e999d,_0x512f2b){_0x512f2b(null,path[_0xd6ab('0x25')](config['root'],_0xd6ab('0x26')));},'filename':function(_0x3aae16,_0x457e8f,_0x2721ca){_0x2721ca(null,util[_0xd6ab('0x27')]('%s-%s',Date[_0xd6ab('0x28')](),_0x457e8f[_0xd6ab('0x29')]));}})});router[_0xd6ab('0x21')](_0xd6ab('0x10'),upload[_0xd6ab('0x2a')](_0xd6ab('0x2b')),controller['addLogo']);var upload=multer({'storage':multer[_0xd6ab('0x24')]({'destination':function(_0x19e4f8,_0x5da755,_0x22dd08){_0x22dd08(null,path[_0xd6ab('0x25')](config[_0xd6ab('0x2c')],_0xd6ab('0x2d')));},'filename':function(_0x41c2ae,_0x47d2ee,_0x24bca1){_0x24bca1(null,util[_0xd6ab('0x27')](_0xd6ab('0x2e'),Date[_0xd6ab('0x28')](),_0x47d2ee[_0xd6ab('0x29')]));}})});router[_0xd6ab('0x21')](_0xd6ab('0x12'),upload[_0xd6ab('0x2a')](_0xd6ab('0x2b')),controller['addAvatar']);var upload=multer({'storage':multer[_0xd6ab('0x24')]({'destination':function(_0x3e7051,_0x41a5e9,_0x35ae19){_0x35ae19(null,path['join'](config[_0xd6ab('0x2c')],_0xd6ab('0x2d')));},'filename':function(_0x22e505,_0x3004ff,_0xad8397){_0xad8397(null,util[_0xd6ab('0x27')](_0xd6ab('0x2e'),Date[_0xd6ab('0x28')](),_0x3004ff[_0xd6ab('0x29')]));}})});router['post'](_0xd6ab('0x14'),upload[_0xd6ab('0x2a')](_0xd6ab('0x2b')),controller[_0xd6ab('0x2f')]);var upload=multer({'storage':multer[_0xd6ab('0x24')]({'destination':function(_0x2e6466,_0x2a6bc6,_0xef228f){_0xef228f(null,path['join'](config[_0xd6ab('0x2c')],'server/files/images/avatars/'));},'filename':function(_0x4480a2,_0x1471b0,_0xb60dd3){_0xb60dd3(null,util[_0xd6ab('0x27')](_0xd6ab('0x2e'),Date[_0xd6ab('0x28')](),_0x1471b0['originalname']));}})});router['post']('/:id/system_avatar',upload[_0xd6ab('0x2a')](_0xd6ab('0x2b')),controller['addSystemAvatar']);router[_0xd6ab('0x21')]('/:id/notify',controller[_0xd6ab('0x30')]);router['post']('/:id/offline',controller[_0xd6ab('0x31')]);router['post'](_0xd6ab('0x16'),auth[_0xd6ab('0x9')](),controller['addInteraction']);router[_0xd6ab('0x21')](_0xd6ab('0x32'),auth[_0xd6ab('0x9')](),controller[_0xd6ab('0x33')]);router[_0xd6ab('0x21')](_0xd6ab('0x34'),auth[_0xd6ab('0x9')](),controller[_0xd6ab('0x35')]);router['post'](_0xd6ab('0x1f'),auth[_0xd6ab('0x9')](),controller['addAgents']);router[_0xd6ab('0x36')](_0xd6ab('0xb'),auth[_0xd6ab('0x9')](),controller[_0xd6ab('0x37')]);router['delete'](_0xd6ab('0xb'),auth['isAuthenticated'](),controller[_0xd6ab('0x38')]);router[_0xd6ab('0x39')](_0xd6ab('0x22'),auth[_0xd6ab('0x9')](),controller[_0xd6ab('0x3a')]);router[_0xd6ab('0x39')]('/:id/canned_answers',auth[_0xd6ab('0x9')](),controller[_0xd6ab('0x3b')]);router[_0xd6ab('0x39')](_0xd6ab('0x1f'),auth[_0xd6ab('0x9')](),controller[_0xd6ab('0x3c')]);module[_0xd6ab('0x3d')]=router; \ No newline at end of file +var _0x80a8=['originalname','/:id/logo','single','addLogo','root','%s-%s','now','addAvatar','server/files/images/avatars/','file','addCustomerAvatar','/:id/system_avatar','addSystemAvatar','/:id/notify','notify','/:id/offline','offline','addInteraction','addApplications','addProactiveActions','/:id/users','addAgents','put','update','destroy','removeDispositions','delete','removeAnswers','removeAgents','util','express','Router','../../components/auth/service','../../config/environment','./chatWebsite.controller','get','isAuthenticated','index','/describe','describe','/:id','/:id/dispositions','/:id/canned_answers','getLogo','/:id/avatar','getAvatar','/:id/customer_avatar','getCustomerAvatar','/:id/interactions','getInteractions','/:id/snippet','getSnippet','/:id/applications','getApplications','/:id/proactive_actions','getProactiveActions','/:id/fields','getFields','getOfflineMessages','create','post','addDisposition','addAnswer','diskStorage','join','server/files/images/logos/','format'];(function(_0x8aff1f,_0x2f09e4){var _0x3b0402=function(_0x13c4da){while(--_0x13c4da){_0x8aff1f['push'](_0x8aff1f['shift']());}};_0x3b0402(++_0x2f09e4);}(_0x80a8,0xa3));var _0x880a=function(_0x25ede0,_0x29dc39){_0x25ede0=_0x25ede0-0x0;var _0x16fc37=_0x80a8[_0x25ede0];return _0x16fc37;};'use strict';var multer=require('multer');var util=require(_0x880a('0x0'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x880a('0x1'));var router=express[_0x880a('0x2')]();var auth=require(_0x880a('0x3'));var interaction=require('../../components/interaction/service');var config=require(_0x880a('0x4'));var controller=require(_0x880a('0x5'));router[_0x880a('0x6')]('/',auth[_0x880a('0x7')](),controller[_0x880a('0x8')]);router[_0x880a('0x6')](_0x880a('0x9'),auth[_0x880a('0x7')](),controller[_0x880a('0xa')]);router[_0x880a('0x6')](_0x880a('0xb'),auth[_0x880a('0x7')](),controller['show']);router[_0x880a('0x6')](_0x880a('0xc'),auth[_0x880a('0x7')](),controller['getDispositions']);router['get'](_0x880a('0xd'),auth[_0x880a('0x7')](),controller['getAnswers']);router['get']('/:id/logo',controller[_0x880a('0xe')]);router[_0x880a('0x6')](_0x880a('0xf'),controller[_0x880a('0x10')]);router['get'](_0x880a('0x11'),controller[_0x880a('0x12')]);router[_0x880a('0x6')]('/:id/system_avatar',controller['getSystemAvatar']);router[_0x880a('0x6')](_0x880a('0x13'),auth[_0x880a('0x7')](),controller[_0x880a('0x14')]);router[_0x880a('0x6')](_0x880a('0x15'),controller[_0x880a('0x16')]);router['get'](_0x880a('0x17'),auth[_0x880a('0x7')](),controller[_0x880a('0x18')]);router[_0x880a('0x6')](_0x880a('0x19'),auth[_0x880a('0x7')](),controller[_0x880a('0x1a')]);router[_0x880a('0x6')](_0x880a('0x1b'),controller[_0x880a('0x1c')]);router[_0x880a('0x6')]('/:id/offline_messages',auth[_0x880a('0x7')](),controller[_0x880a('0x1d')]);router[_0x880a('0x6')]('/:id/users',auth['isAuthenticated'](),controller['getAgents']);router['post']('/',auth['isAuthenticated'](),controller[_0x880a('0x1e')]);router[_0x880a('0x1f')]('/:id/dispositions',auth[_0x880a('0x7')](),controller[_0x880a('0x20')]);router[_0x880a('0x1f')]('/:id/canned_answers',auth[_0x880a('0x7')](),controller[_0x880a('0x21')]);var upload=multer({'storage':multer[_0x880a('0x22')]({'destination':function(_0x29d5f8,_0x4445ac,_0x4cd17d){_0x4cd17d(null,path[_0x880a('0x23')](config['root'],_0x880a('0x24')));},'filename':function(_0x26851e,_0x2ef404,_0x5477d0){_0x5477d0(null,util[_0x880a('0x25')]('%s-%s',Date['now'](),_0x2ef404[_0x880a('0x26')]));}})});router[_0x880a('0x1f')](_0x880a('0x27'),upload[_0x880a('0x28')]('file'),controller[_0x880a('0x29')]);var upload=multer({'storage':multer[_0x880a('0x22')]({'destination':function(_0x271ad4,_0x31ca8e,_0x4f3fe6){_0x4f3fe6(null,path['join'](config[_0x880a('0x2a')],'server/files/images/avatars/'));},'filename':function(_0x366fb6,_0x17a007,_0x2964bf){_0x2964bf(null,util[_0x880a('0x25')](_0x880a('0x2b'),Date[_0x880a('0x2c')](),_0x17a007[_0x880a('0x26')]));}})});router[_0x880a('0x1f')]('/:id/avatar',upload['single']('file'),controller[_0x880a('0x2d')]);var upload=multer({'storage':multer[_0x880a('0x22')]({'destination':function(_0x3ae87b,_0x367eab,_0x4d9197){_0x4d9197(null,path[_0x880a('0x23')](config['root'],_0x880a('0x2e')));},'filename':function(_0x297ea0,_0x794117,_0x5ae81d){_0x5ae81d(null,util[_0x880a('0x25')]('%s-%s',Date[_0x880a('0x2c')](),_0x794117[_0x880a('0x26')]));}})});router[_0x880a('0x1f')]('/:id/customer_avatar',upload[_0x880a('0x28')](_0x880a('0x2f')),controller[_0x880a('0x30')]);var upload=multer({'storage':multer[_0x880a('0x22')]({'destination':function(_0x1194d1,_0x24201a,_0x5124c8){_0x5124c8(null,path[_0x880a('0x23')](config[_0x880a('0x2a')],_0x880a('0x2e')));},'filename':function(_0xe4e9df,_0x412131,_0x391677){_0x391677(null,util[_0x880a('0x25')](_0x880a('0x2b'),Date[_0x880a('0x2c')](),_0x412131[_0x880a('0x26')]));}})});router[_0x880a('0x1f')](_0x880a('0x31'),upload[_0x880a('0x28')](_0x880a('0x2f')),controller[_0x880a('0x32')]);router['post'](_0x880a('0x33'),controller[_0x880a('0x34')]);router['post'](_0x880a('0x35'),controller[_0x880a('0x36')]);router[_0x880a('0x1f')](_0x880a('0x13'),auth[_0x880a('0x7')](),controller[_0x880a('0x37')]);router[_0x880a('0x1f')]('/:id/applications',auth[_0x880a('0x7')](),controller[_0x880a('0x38')]);router[_0x880a('0x1f')](_0x880a('0x19'),auth[_0x880a('0x7')](),controller[_0x880a('0x39')]);router['post'](_0x880a('0x3a'),auth['isAuthenticated'](),controller[_0x880a('0x3b')]);router[_0x880a('0x3c')](_0x880a('0xb'),auth['isAuthenticated'](),controller[_0x880a('0x3d')]);router['delete']('/:id',auth['isAuthenticated'](),controller[_0x880a('0x3e')]);router['delete'](_0x880a('0xc'),auth['isAuthenticated'](),controller[_0x880a('0x3f')]);router[_0x880a('0x40')](_0x880a('0xd'),auth[_0x880a('0x7')](),controller[_0x880a('0x41')]);router[_0x880a('0x40')](_0x880a('0x3a'),auth[_0x880a('0x7')](),controller[_0x880a('0x42')]);module['exports']=router; \ No newline at end of file diff --git a/server/api/cloudProvider/cloudProvider.attributes.js b/server/api/cloudProvider/cloudProvider.attributes.js index df97fd7..aab0e5c 100644 --- a/server/api/cloudProvider/cloudProvider.attributes.js +++ b/server/api/cloudProvider/cloudProvider.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xf981=['AmazonAWS','Google','sequelize','exports','STRING','ENUM'];(function(_0x2f2db7,_0x72ab83){var _0x20e5f7=function(_0x1b8d48){while(--_0x1b8d48){_0x2f2db7['push'](_0x2f2db7['shift']());}};_0x20e5f7(++_0x72ab83);}(_0xf981,0xe6));var _0x1f98=function(_0x3157db,_0xa425dd){_0x3157db=_0x3157db-0x0;var _0x30a00e=_0xf981[_0x3157db];return _0x30a00e;};'use strict';var Sequelize=require(_0x1f98('0x0'));module[_0x1f98('0x1')]={'name':{'type':Sequelize[_0x1f98('0x2')],'allowNull':![],'validate':{'notEmpty':!![]}},'service':{'type':Sequelize[_0x1f98('0x3')](_0x1f98('0x4'),_0x1f98('0x5')),'allowNull':![],'validate':{'notEmpty':!![]}},'data1':{'type':Sequelize[_0x1f98('0x2')]},'data2':{'type':Sequelize[_0x1f98('0x2')]}}; \ No newline at end of file +var _0x29b7=['Google','exports','STRING','ENUM','AmazonAWS'];(function(_0x287cb5,_0x1efa7f){var _0x411bc6=function(_0x1c0c0f){while(--_0x1c0c0f){_0x287cb5['push'](_0x287cb5['shift']());}};_0x411bc6(++_0x1efa7f);}(_0x29b7,0x17d));var _0x729b=function(_0x5bfd6a,_0x5ce52e){_0x5bfd6a=_0x5bfd6a-0x0;var _0x2c5604=_0x29b7[_0x5bfd6a];return _0x2c5604;};'use strict';var Sequelize=require('sequelize');module[_0x729b('0x0')]={'name':{'type':Sequelize[_0x729b('0x1')],'allowNull':![],'validate':{'notEmpty':!![]}},'service':{'type':Sequelize[_0x729b('0x2')](_0x729b('0x3'),_0x729b('0x4')),'allowNull':![],'validate':{'notEmpty':!![]}},'data1':{'type':Sequelize[_0x729b('0x1')]},'data2':{'type':Sequelize[_0x729b('0x1')]}}; \ No newline at end of file diff --git a/server/api/cloudProvider/cloudProvider.controller.js b/server/api/cloudProvider/cloudProvider.controller.js index 201a297..e622060 100644 --- a/server/api/cloudProvider/cloudProvider.controller.js +++ b/server/api/cloudProvider/cloudProvider.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x57a1=['../../components/parsers/qs','api','../../config/utils','../../config/environment','../../mysqldb','status','end','json','count','offset','limit','set','Content-Range','apply','reject','save','update','destroy','then','error','stack','name','index','map','rawAttributes','fieldName','key','model','query','keys','intersection','attributes','fields','hasOwnProperty','sort','pick','filters','filter','merge','where','type','VIRTUAL','includeAll','include','CloudProvider','rows','show','params','length','options','find','create','body','catch','html-pdf','eml-format','rimraf','fast-json-patch','moment','bluebird','mustache','util','path','to-csv','ejs','lodash','squel','crypto','jsforce','desk.js','querystring','ioredis','../../components/auth/service'];(function(_0x2c5d4d,_0x1d4d5e){var _0x14dfe0=function(_0x47a9e4){while(--_0x47a9e4){_0x2c5d4d['push'](_0x2c5d4d['shift']());}};_0x14dfe0(++_0x1d4d5e);}(_0x57a1,0x1a3));var _0x157a=function(_0x26abc4,_0x52fbef){_0x26abc4=_0x26abc4-0x0;var _0xbfcce3=_0x57a1[_0x26abc4];return _0xbfcce3;};'use strict';var pdf=require(_0x157a('0x0'));var emlformat=require(_0x157a('0x1'));var rimraf=require(_0x157a('0x2'));var zipdir=require('zip-dir');var jsonpatch=require(_0x157a('0x3'));var rp=require('request-promise');var moment=require(_0x157a('0x4'));var BPromise=require(_0x157a('0x5'));var Mustache=require(_0x157a('0x6'));var util=require(_0x157a('0x7'));var path=require(_0x157a('0x8'));var sox=require('sox');var csv=require(_0x157a('0x9'));var ejs=require(_0x157a('0xa'));var fs=require('fs');var _=require(_0x157a('0xb'));var squel=require(_0x157a('0xc'));var crypto=require(_0x157a('0xd'));var jsforce=require(_0x157a('0xe'));var deskjs=require(_0x157a('0xf'));var toCsv=require(_0x157a('0x9'));var querystring=require(_0x157a('0x10'));var Papa=require('papaparse');var Redis=require(_0x157a('0x11'));var authService=require(_0x157a('0x12'));var qs=require(_0x157a('0x13'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require('../../config/license/hardware');var logger=require('../../config/logger')(_0x157a('0x14'));var utils=require(_0x157a('0x15'));var config=require(_0x157a('0x16'));var db=require(_0x157a('0x17'))['db'];function respondWithStatusCode(_0x2dd94f,_0x3a8dbf){_0x3a8dbf=_0x3a8dbf||0xcc;return function(_0x54e44b){if(_0x54e44b){return _0x2dd94f['sendStatus'](_0x3a8dbf);}return _0x2dd94f[_0x157a('0x18')](_0x3a8dbf)[_0x157a('0x19')]();};}function respondWithResult(_0x1d9d71,_0x36c1f1){_0x36c1f1=_0x36c1f1||0xc8;return function(_0x4ec744){if(_0x4ec744){return _0x1d9d71[_0x157a('0x18')](_0x36c1f1)[_0x157a('0x1a')](_0x4ec744);}};}function respondWithFilteredResult(_0x581945,_0x260598){return function(_0x4e03b8){if(_0x4e03b8){var _0x4920e9=_0x4e03b8[_0x157a('0x1b')],_0x15cf77=_0x260598[_0x157a('0x1c')],_0x25f3f7=_0x260598[_0x157a('0x1c')]+_0x260598[_0x157a('0x1d')],_0x290977;if(_0x25f3f7>=_0x4920e9){_0x25f3f7=_0x4920e9;_0x290977=0xc8;}else{_0x290977=0xce;}_0x581945[_0x157a('0x18')](_0x290977);return _0x581945[_0x157a('0x1e')](_0x157a('0x1f'),_0x15cf77+'-'+_0x25f3f7+'/'+_0x4920e9)[_0x157a('0x1a')](_0x4e03b8);}return null;};}function patchUpdates(_0x4f3c29){return function(_0x2dccb8){try{jsonpatch[_0x157a('0x20')](_0x2dccb8,_0x4f3c29,!![]);}catch(_0x3e274a){return BPromise[_0x157a('0x21')](_0x3e274a);}return _0x2dccb8[_0x157a('0x22')]();};}function saveUpdates(_0x563582,_0x1f1826){return function(_0x37564c){if(_0x37564c){return _0x37564c[_0x157a('0x23')](_0x563582)['then'](function(_0x3b8e8d){return _0x3b8e8d;});}return null;};}function removeEntity(_0x5aa182,_0x27c635){return function(_0x5ce049){if(_0x5ce049){return _0x5ce049[_0x157a('0x24')]()[_0x157a('0x25')](function(){_0x5aa182[_0x157a('0x18')](0xcc)['end']();});}};}function handleEntityNotFound(_0x37f3ff,_0x520a8f){return function(_0x36d38b){if(!_0x36d38b){_0x37f3ff['sendStatus'](0x194);}return _0x36d38b;};}function handleError(_0x45e9e4,_0x39a88b){_0x39a88b=_0x39a88b||0x1f4;return function(_0x11322b){logger[_0x157a('0x26')](_0x11322b[_0x157a('0x27')]);if(_0x11322b['name']){delete _0x11322b[_0x157a('0x28')];}_0x45e9e4[_0x157a('0x18')](_0x39a88b)['send'](_0x11322b);};}exports[_0x157a('0x29')]=function(_0x18e473,_0x30c042){var _0x5b647a={},_0x2d9dac={},_0x2ae56d={'count':0x0,'rows':[]};var _0x5b8a49=_[_0x157a('0x2a')](db['CloudProvider'][_0x157a('0x2b')],function(_0x2eddb4){return{'name':_0x2eddb4[_0x157a('0x2c')],'type':_0x2eddb4['type'][_0x157a('0x2d')]};});_0x2d9dac[_0x157a('0x2e')]=_[_0x157a('0x2a')](_0x5b8a49,_0x157a('0x28'));_0x2d9dac[_0x157a('0x2f')]=_[_0x157a('0x30')](_0x18e473[_0x157a('0x2f')]);_0x2d9dac['filters']=_[_0x157a('0x31')](_0x2d9dac[_0x157a('0x2e')],_0x2d9dac[_0x157a('0x2f')]);_0x5b647a[_0x157a('0x32')]=_[_0x157a('0x31')](_0x2d9dac[_0x157a('0x2e')],qs['fields'](_0x18e473[_0x157a('0x2f')][_0x157a('0x33')]));_0x5b647a['attributes']=_0x5b647a['attributes']['length']?_0x5b647a['attributes']:_0x2d9dac[_0x157a('0x2e')];if(!_0x18e473['query'][_0x157a('0x34')]('nolimit')){_0x5b647a['limit']=qs['limit'](_0x18e473[_0x157a('0x2f')][_0x157a('0x1d')]);_0x5b647a[_0x157a('0x1c')]=qs[_0x157a('0x1c')](_0x18e473[_0x157a('0x2f')]['offset']);}_0x5b647a['order']=qs[_0x157a('0x35')](_0x18e473[_0x157a('0x2f')][_0x157a('0x35')]);_0x5b647a['where']=qs['filters'](_[_0x157a('0x36')](_0x18e473[_0x157a('0x2f')],_0x2d9dac[_0x157a('0x37')]),_0x5b8a49);if(_0x18e473[_0x157a('0x2f')][_0x157a('0x38')]){_0x5b647a['where']=_[_0x157a('0x39')](_0x5b647a[_0x157a('0x3a')],{'$or':_[_0x157a('0x2a')](_0x5b8a49,function(_0x460902){if(_0x460902[_0x157a('0x3b')]!==_0x157a('0x3c')){var _0x5ebf85={};_0x5ebf85[_0x460902[_0x157a('0x28')]]={'$like':'%'+_0x18e473[_0x157a('0x2f')]['filter']+'%'};return _0x5ebf85;}})});}_0x5b647a=_[_0x157a('0x39')]({},_0x5b647a,_0x18e473['options']);var _0x67d45f={'where':_0x5b647a['where']};return db['CloudProvider'][_0x157a('0x1b')](_0x67d45f)[_0x157a('0x25')](function(_0x12e618){_0x2ae56d['count']=_0x12e618;if(_0x18e473[_0x157a('0x2f')][_0x157a('0x3d')]){_0x5b647a[_0x157a('0x3e')]=[{'all':!![]}];}return db[_0x157a('0x3f')]['findAll'](_0x5b647a);})[_0x157a('0x25')](function(_0xc20f7f){_0x2ae56d[_0x157a('0x40')]=_0xc20f7f;return _0x2ae56d;})['then'](respondWithFilteredResult(_0x30c042,_0x5b647a))['catch'](handleError(_0x30c042,null));};exports[_0x157a('0x41')]=function(_0x4e40d4,_0x27fb5d){var _0x1eb748={'raw':!![],'where':{'id':_0x4e40d4[_0x157a('0x42')]['id']}},_0x41f9c9={};_0x41f9c9[_0x157a('0x2e')]=_[_0x157a('0x30')](db[_0x157a('0x3f')]['rawAttributes']);_0x41f9c9[_0x157a('0x2f')]=_[_0x157a('0x30')](_0x4e40d4[_0x157a('0x2f')]);_0x41f9c9[_0x157a('0x37')]=_['intersection'](_0x41f9c9['model'],_0x41f9c9['query']);_0x1eb748[_0x157a('0x32')]=_['intersection'](_0x41f9c9[_0x157a('0x2e')],qs[_0x157a('0x33')](_0x4e40d4['query'][_0x157a('0x33')]));_0x1eb748[_0x157a('0x32')]=_0x1eb748[_0x157a('0x32')][_0x157a('0x43')]?_0x1eb748[_0x157a('0x32')]:_0x41f9c9[_0x157a('0x2e')];if(_0x4e40d4['query'][_0x157a('0x3d')]){_0x1eb748[_0x157a('0x3e')]=[{'all':!![]}];}_0x1eb748=_[_0x157a('0x39')]({},_0x1eb748,_0x4e40d4[_0x157a('0x44')]);return db[_0x157a('0x3f')][_0x157a('0x45')](_0x1eb748)[_0x157a('0x25')](handleEntityNotFound(_0x27fb5d,null))['then'](respondWithResult(_0x27fb5d,null))['catch'](handleError(_0x27fb5d,null));};exports['create']=function(_0x22d277,_0x586210){return db[_0x157a('0x3f')][_0x157a('0x46')](_0x22d277[_0x157a('0x47')],{})[_0x157a('0x25')](respondWithResult(_0x586210,0xc9))[_0x157a('0x48')](handleError(_0x586210,null));};exports['update']=function(_0x2541a2,_0x12520f){if(_0x2541a2[_0x157a('0x47')]['id']){delete _0x2541a2[_0x157a('0x47')]['id'];}return db[_0x157a('0x3f')][_0x157a('0x45')]({'where':{'id':_0x2541a2['params']['id']}})[_0x157a('0x25')](handleEntityNotFound(_0x12520f,null))[_0x157a('0x25')](saveUpdates(_0x2541a2[_0x157a('0x47')],null))[_0x157a('0x25')](respondWithResult(_0x12520f,null))['catch'](handleError(_0x12520f,null));};exports['destroy']=function(_0x54d541,_0x35e20f){return db[_0x157a('0x3f')][_0x157a('0x45')]({'where':{'id':_0x54d541[_0x157a('0x42')]['id']}})[_0x157a('0x25')](handleEntityNotFound(_0x35e20f,null))['then'](removeEntity(_0x35e20f,null))[_0x157a('0x48')](handleError(_0x35e20f,null));}; \ No newline at end of file +var _0x6aa0=['attributes','fields','length','hasOwnProperty','order','sort','where','pick','merge','filter','findAll','rows','catch','includeAll','include','options','find','create','body','params','html-pdf','rimraf','zip-dir','fast-json-patch','path','sox','to-csv','ejs','squel','crypto','jsforce','desk.js','querystring','papaparse','ioredis','../../components/parsers/qs','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','status','end','json','count','offset','limit','set','Content-Range','reject','then','error','name','index','map','CloudProvider','rawAttributes','key','model','keys','query','filters','intersection'];(function(_0x1facfa,_0x1acf7d){var _0x9ec701=function(_0x115e37){while(--_0x115e37){_0x1facfa['push'](_0x1facfa['shift']());}};_0x9ec701(++_0x1acf7d);}(_0x6aa0,0x14f));var _0x06aa=function(_0x46efd7,_0x43f84d){_0x46efd7=_0x46efd7-0x0;var _0x5637e4=_0x6aa0[_0x46efd7];return _0x5637e4;};'use strict';var pdf=require(_0x06aa('0x0'));var emlformat=require('eml-format');var rimraf=require(_0x06aa('0x1'));var zipdir=require(_0x06aa('0x2'));var jsonpatch=require(_0x06aa('0x3'));var rp=require('request-promise');var moment=require('moment');var BPromise=require('bluebird');var Mustache=require('mustache');var util=require('util');var path=require(_0x06aa('0x4'));var sox=require(_0x06aa('0x5'));var csv=require(_0x06aa('0x6'));var ejs=require(_0x06aa('0x7'));var fs=require('fs');var _=require('lodash');var squel=require(_0x06aa('0x8'));var crypto=require(_0x06aa('0x9'));var jsforce=require(_0x06aa('0xa'));var deskjs=require(_0x06aa('0xb'));var toCsv=require('to-csv');var querystring=require(_0x06aa('0xc'));var Papa=require(_0x06aa('0xd'));var Redis=require(_0x06aa('0xe'));var authService=require('../../components/auth/service');var qs=require(_0x06aa('0xf'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0x06aa('0x10'));var logger=require(_0x06aa('0x11'))(_0x06aa('0x12'));var utils=require(_0x06aa('0x13'));var config=require(_0x06aa('0x14'));var db=require('../../mysqldb')['db'];function respondWithStatusCode(_0x23babc,_0x57070e){_0x57070e=_0x57070e||0xcc;return function(_0x43a9de){if(_0x43a9de){return _0x23babc['sendStatus'](_0x57070e);}return _0x23babc[_0x06aa('0x15')](_0x57070e)[_0x06aa('0x16')]();};}function respondWithResult(_0x4e70fa,_0x2ac39b){_0x2ac39b=_0x2ac39b||0xc8;return function(_0x388035){if(_0x388035){return _0x4e70fa[_0x06aa('0x15')](_0x2ac39b)[_0x06aa('0x17')](_0x388035);}};}function respondWithFilteredResult(_0x1773f4,_0x227736){return function(_0x254a7d){if(_0x254a7d){var _0x57c761=_0x254a7d[_0x06aa('0x18')],_0x59be9d=_0x227736[_0x06aa('0x19')],_0x4a8607=_0x227736[_0x06aa('0x19')]+_0x227736[_0x06aa('0x1a')],_0x411649;if(_0x4a8607>=_0x57c761){_0x4a8607=_0x57c761;_0x411649=0xc8;}else{_0x411649=0xce;}_0x1773f4['status'](_0x411649);return _0x1773f4[_0x06aa('0x1b')](_0x06aa('0x1c'),_0x59be9d+'-'+_0x4a8607+'/'+_0x57c761)['json'](_0x254a7d);}return null;};}function patchUpdates(_0x59479a){return function(_0x1c64e7){try{jsonpatch['apply'](_0x1c64e7,_0x59479a,!![]);}catch(_0x2f4a31){return BPromise[_0x06aa('0x1d')](_0x2f4a31);}return _0x1c64e7['save']();};}function saveUpdates(_0x492c44,_0x5e97bb){return function(_0x35b2cb){if(_0x35b2cb){return _0x35b2cb['update'](_0x492c44)['then'](function(_0x3fe821){return _0x3fe821;});}return null;};}function removeEntity(_0x551781,_0x452857){return function(_0x7fada5){if(_0x7fada5){return _0x7fada5['destroy']()[_0x06aa('0x1e')](function(){_0x551781[_0x06aa('0x15')](0xcc)[_0x06aa('0x16')]();});}};}function handleEntityNotFound(_0xc57f20,_0xc182b1){return function(_0x5c976b){if(!_0x5c976b){_0xc57f20['sendStatus'](0x194);}return _0x5c976b;};}function handleError(_0x1db1a7,_0x129fc2){_0x129fc2=_0x129fc2||0x1f4;return function(_0x197283){logger[_0x06aa('0x1f')](_0x197283['stack']);if(_0x197283[_0x06aa('0x20')]){delete _0x197283[_0x06aa('0x20')];}_0x1db1a7[_0x06aa('0x15')](_0x129fc2)['send'](_0x197283);};}exports[_0x06aa('0x21')]=function(_0x4149ba,_0x54134d){var _0x177253={},_0x316f6a={},_0x22ef9c={'count':0x0,'rows':[]};var _0x286f8d=_[_0x06aa('0x22')](db[_0x06aa('0x23')][_0x06aa('0x24')],function(_0x10b8f2){return{'name':_0x10b8f2['fieldName'],'type':_0x10b8f2['type'][_0x06aa('0x25')]};});_0x316f6a[_0x06aa('0x26')]=_['map'](_0x286f8d,_0x06aa('0x20'));_0x316f6a['query']=_[_0x06aa('0x27')](_0x4149ba[_0x06aa('0x28')]);_0x316f6a[_0x06aa('0x29')]=_[_0x06aa('0x2a')](_0x316f6a[_0x06aa('0x26')],_0x316f6a[_0x06aa('0x28')]);_0x177253[_0x06aa('0x2b')]=_[_0x06aa('0x2a')](_0x316f6a[_0x06aa('0x26')],qs[_0x06aa('0x2c')](_0x4149ba[_0x06aa('0x28')]['fields']));_0x177253[_0x06aa('0x2b')]=_0x177253[_0x06aa('0x2b')][_0x06aa('0x2d')]?_0x177253[_0x06aa('0x2b')]:_0x316f6a[_0x06aa('0x26')];if(!_0x4149ba[_0x06aa('0x28')][_0x06aa('0x2e')]('nolimit')){_0x177253[_0x06aa('0x1a')]=qs['limit'](_0x4149ba[_0x06aa('0x28')][_0x06aa('0x1a')]);_0x177253[_0x06aa('0x19')]=qs[_0x06aa('0x19')](_0x4149ba[_0x06aa('0x28')][_0x06aa('0x19')]);}_0x177253[_0x06aa('0x2f')]=qs['sort'](_0x4149ba[_0x06aa('0x28')][_0x06aa('0x30')]);_0x177253[_0x06aa('0x31')]=qs[_0x06aa('0x29')](_[_0x06aa('0x32')](_0x4149ba[_0x06aa('0x28')],_0x316f6a[_0x06aa('0x29')]),_0x286f8d);if(_0x4149ba[_0x06aa('0x28')]['filter']){_0x177253['where']=_[_0x06aa('0x33')](_0x177253[_0x06aa('0x31')],{'$or':_[_0x06aa('0x22')](_0x286f8d,function(_0x3e6eb9){if(_0x3e6eb9['type']!=='VIRTUAL'){var _0x1a706d={};_0x1a706d[_0x3e6eb9['name']]={'$like':'%'+_0x4149ba[_0x06aa('0x28')][_0x06aa('0x34')]+'%'};return _0x1a706d;}})});}_0x177253=_[_0x06aa('0x33')]({},_0x177253,_0x4149ba['options']);var _0x22a456={'where':_0x177253['where']};return db[_0x06aa('0x23')]['count'](_0x22a456)[_0x06aa('0x1e')](function(_0x58a303){_0x22ef9c[_0x06aa('0x18')]=_0x58a303;if(_0x4149ba[_0x06aa('0x28')]['includeAll']){_0x177253['include']=[{'all':!![]}];}return db[_0x06aa('0x23')][_0x06aa('0x35')](_0x177253);})[_0x06aa('0x1e')](function(_0x54bc50){_0x22ef9c[_0x06aa('0x36')]=_0x54bc50;return _0x22ef9c;})[_0x06aa('0x1e')](respondWithFilteredResult(_0x54134d,_0x177253))[_0x06aa('0x37')](handleError(_0x54134d,null));};exports['show']=function(_0xa9e414,_0x50e7e2){var _0x5f2c51={'raw':!![],'where':{'id':_0xa9e414['params']['id']}},_0x5d3eb2={};_0x5d3eb2['model']=_['keys'](db[_0x06aa('0x23')][_0x06aa('0x24')]);_0x5d3eb2[_0x06aa('0x28')]=_['keys'](_0xa9e414[_0x06aa('0x28')]);_0x5d3eb2[_0x06aa('0x29')]=_[_0x06aa('0x2a')](_0x5d3eb2['model'],_0x5d3eb2['query']);_0x5f2c51[_0x06aa('0x2b')]=_[_0x06aa('0x2a')](_0x5d3eb2[_0x06aa('0x26')],qs[_0x06aa('0x2c')](_0xa9e414['query'][_0x06aa('0x2c')]));_0x5f2c51[_0x06aa('0x2b')]=_0x5f2c51['attributes']['length']?_0x5f2c51[_0x06aa('0x2b')]:_0x5d3eb2[_0x06aa('0x26')];if(_0xa9e414[_0x06aa('0x28')][_0x06aa('0x38')]){_0x5f2c51[_0x06aa('0x39')]=[{'all':!![]}];}_0x5f2c51=_[_0x06aa('0x33')]({},_0x5f2c51,_0xa9e414[_0x06aa('0x3a')]);return db['CloudProvider'][_0x06aa('0x3b')](_0x5f2c51)[_0x06aa('0x1e')](handleEntityNotFound(_0x50e7e2,null))['then'](respondWithResult(_0x50e7e2,null))[_0x06aa('0x37')](handleError(_0x50e7e2,null));};exports[_0x06aa('0x3c')]=function(_0x219216,_0x3f5c1d){return db[_0x06aa('0x23')][_0x06aa('0x3c')](_0x219216['body'],{})[_0x06aa('0x1e')](respondWithResult(_0x3f5c1d,0xc9))['catch'](handleError(_0x3f5c1d,null));};exports['update']=function(_0x33b81f,_0x3b65de){if(_0x33b81f[_0x06aa('0x3d')]['id']){delete _0x33b81f[_0x06aa('0x3d')]['id'];}return db[_0x06aa('0x23')][_0x06aa('0x3b')]({'where':{'id':_0x33b81f[_0x06aa('0x3e')]['id']}})[_0x06aa('0x1e')](handleEntityNotFound(_0x3b65de,null))[_0x06aa('0x1e')](saveUpdates(_0x33b81f['body'],null))[_0x06aa('0x1e')](respondWithResult(_0x3b65de,null))[_0x06aa('0x37')](handleError(_0x3b65de,null));};exports['destroy']=function(_0xf78bee,_0x5bd039){return db[_0x06aa('0x23')][_0x06aa('0x3b')]({'where':{'id':_0xf78bee['params']['id']}})[_0x06aa('0x1e')](handleEntityNotFound(_0x5bd039,null))[_0x06aa('0x1e')](removeEntity(_0x5bd039,null))[_0x06aa('0x37')](handleError(_0x5bd039,null));}; \ No newline at end of file diff --git a/server/api/cloudProvider/cloudProvider.model.js b/server/api/cloudProvider/cloudProvider.model.js index e52c3f9..fa724dc 100644 --- a/server/api/cloudProvider/cloudProvider.model.js +++ b/server/api/cloudProvider/cloudProvider.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xf595=['../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./cloudProvider.attributes','exports','CloudProvider','lodash','util'];(function(_0x515858,_0x3972ae){var _0x58135e=function(_0x34da84){while(--_0x34da84){_0x515858['push'](_0x515858['shift']());}};_0x58135e(++_0x3972ae);}(_0xf595,0x129));var _0x5f59=function(_0x1f1415,_0x4a4a35){_0x1f1415=_0x1f1415-0x0;var _0x23843d=_0xf595[_0x1f1415];return _0x23843d;};'use strict';var _=require(_0x5f59('0x0'));var util=require(_0x5f59('0x1'));var logger=require(_0x5f59('0x2'))(_0x5f59('0x3'));var moment=require(_0x5f59('0x4'));var BPromise=require(_0x5f59('0x5'));var rp=require(_0x5f59('0x6'));var fs=require('fs');var path=require(_0x5f59('0x7'));var rimraf=require(_0x5f59('0x8'));var config=require(_0x5f59('0x9'));var attributes=require(_0x5f59('0xa'));module[_0x5f59('0xb')]=function(_0x4080d2,_0x1def01){return _0x4080d2['define'](_0x5f59('0xc'),attributes,{'tableName':'cloud_providers','paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0x90fc=['request-promise','path','rimraf','../../config/environment','exports','define','CloudProvider','cloud_providers','lodash','util','../../config/logger','moment','bluebird'];(function(_0x469ac7,_0x38e416){var _0x22f3b0=function(_0x1a1447){while(--_0x1a1447){_0x469ac7['push'](_0x469ac7['shift']());}};_0x22f3b0(++_0x38e416);}(_0x90fc,0x19b));var _0xc90f=function(_0x32f7d7,_0x54231b){_0x32f7d7=_0x32f7d7-0x0;var _0x133d09=_0x90fc[_0x32f7d7];return _0x133d09;};'use strict';var _=require(_0xc90f('0x0'));var util=require(_0xc90f('0x1'));var logger=require(_0xc90f('0x2'))('api');var moment=require(_0xc90f('0x3'));var BPromise=require(_0xc90f('0x4'));var rp=require(_0xc90f('0x5'));var fs=require('fs');var path=require(_0xc90f('0x6'));var rimraf=require(_0xc90f('0x7'));var config=require(_0xc90f('0x8'));var attributes=require('./cloudProvider.attributes');module[_0xc90f('0x9')]=function(_0x1de595,_0x4cc072){return _0x1de595[_0xc90f('0xa')](_0xc90f('0xb'),attributes,{'tableName':_0xc90f('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/cloudProvider/cloudProvider.rpc.js b/server/api/cloudProvider/cloudProvider.rpc.js index bf9974f..51b1b90 100644 --- a/server/api/cloudProvider/cloudProvider.rpc.js +++ b/server/api/cloudProvider/cloudProvider.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xcc4b=['CloudProvider,\x20%s,\x20%s,\x20%s','stringify','error','CloudProvider,\x20%s,\x20%s','message','result','catch','lodash','util','randomstring','ioredis','../../config/utils','../../config/logger','../../config/environment','jayson/promise','client','http','request','then','info','request\x20sent','debug'];(function(_0x4e21ba,_0x18097f){var _0x55b94b=function(_0x3b9add){while(--_0x3b9add){_0x4e21ba['push'](_0x4e21ba['shift']());}};_0x55b94b(++_0x18097f);}(_0xcc4b,0xa1));var _0xbcc4=function(_0x7025b0,_0x9533f1){_0x7025b0=_0x7025b0-0x0;var _0x6e444c=_0xcc4b[_0x7025b0];return _0x6e444c;};'use strict';var _=require(_0xbcc4('0x0'));var util=require(_0xbcc4('0x1'));var moment=require('moment');var BPromise=require('bluebird');var rs=require(_0xbcc4('0x2'));var fs=require('fs');var Redis=require(_0xbcc4('0x3'));var db=require('../../mysqldb')['db'];var utils=require(_0xbcc4('0x4'));var logger=require(_0xbcc4('0x5'))('rpc');var config=require(_0xbcc4('0x6'));var jayson=require(_0xbcc4('0x7'));var client=jayson[_0xbcc4('0x8')][_0xbcc4('0x9')]({'port':0x232a});function respondWithRpcPromise(_0x42eafa,_0x49b19e,_0x16e5fb){return new BPromise(function(_0x1530b8,_0x31f133){return client[_0xbcc4('0xa')](_0x42eafa,_0x16e5fb)[_0xbcc4('0xb')](function(_0xaeb960){logger[_0xbcc4('0xc')]('CloudProvider,\x20%s,\x20%s',_0x49b19e,_0xbcc4('0xd'));logger[_0xbcc4('0xe')](_0xbcc4('0xf'),_0x49b19e,_0xbcc4('0xd'),JSON[_0xbcc4('0x10')](_0xaeb960));if(_0xaeb960[_0xbcc4('0x11')]){if(_0xaeb960[_0xbcc4('0x11')]['code']===0x1f4){logger['error'](_0xbcc4('0x12'),_0x49b19e,_0xaeb960[_0xbcc4('0x11')][_0xbcc4('0x13')]);return _0x31f133(_0xaeb960[_0xbcc4('0x11')][_0xbcc4('0x13')]);}logger[_0xbcc4('0x11')](_0xbcc4('0x12'),_0x49b19e,_0xaeb960[_0xbcc4('0x11')][_0xbcc4('0x13')]);return _0x1530b8(_0xaeb960[_0xbcc4('0x11')][_0xbcc4('0x13')]);}else{logger[_0xbcc4('0xc')](_0xbcc4('0x12'),_0x49b19e,'request\x20sent');_0x1530b8(_0xaeb960[_0xbcc4('0x14')][_0xbcc4('0x13')]);}})[_0xbcc4('0x15')](function(_0xdf249){logger[_0xbcc4('0x11')]('CloudProvider,\x20%s,\x20%s',_0x49b19e,_0xdf249);_0x31f133(_0xdf249);});});} \ No newline at end of file +var _0x6f5d=['error','code','message','catch','util','moment','bluebird','randomstring','ioredis','rpc','jayson/promise','client','http','request','then','info','CloudProvider,\x20%s,\x20%s','request\x20sent','CloudProvider,\x20%s,\x20%s,\x20%s','stringify'];(function(_0x220dbb,_0x99328d){var _0x2b77de=function(_0x15e966){while(--_0x15e966){_0x220dbb['push'](_0x220dbb['shift']());}};_0x2b77de(++_0x99328d);}(_0x6f5d,0x130));var _0xd6f5=function(_0x20d88d,_0x23fbb1){_0x20d88d=_0x20d88d-0x0;var _0x283576=_0x6f5d[_0x20d88d];return _0x283576;};'use strict';var _=require('lodash');var util=require(_0xd6f5('0x0'));var moment=require(_0xd6f5('0x1'));var BPromise=require(_0xd6f5('0x2'));var rs=require(_0xd6f5('0x3'));var fs=require('fs');var Redis=require(_0xd6f5('0x4'));var db=require('../../mysqldb')['db'];var utils=require('../../config/utils');var logger=require('../../config/logger')(_0xd6f5('0x5'));var config=require('../../config/environment');var jayson=require(_0xd6f5('0x6'));var client=jayson[_0xd6f5('0x7')][_0xd6f5('0x8')]({'port':0x232a});function respondWithRpcPromise(_0x591521,_0x342c07,_0x580db1){return new BPromise(function(_0x3d392a,_0x1a5177){return client[_0xd6f5('0x9')](_0x591521,_0x580db1)[_0xd6f5('0xa')](function(_0x515d64){logger[_0xd6f5('0xb')](_0xd6f5('0xc'),_0x342c07,_0xd6f5('0xd'));logger['debug'](_0xd6f5('0xe'),_0x342c07,_0xd6f5('0xd'),JSON[_0xd6f5('0xf')](_0x515d64));if(_0x515d64[_0xd6f5('0x10')]){if(_0x515d64[_0xd6f5('0x10')][_0xd6f5('0x11')]===0x1f4){logger[_0xd6f5('0x10')]('CloudProvider,\x20%s,\x20%s',_0x342c07,_0x515d64['error'][_0xd6f5('0x12')]);return _0x1a5177(_0x515d64[_0xd6f5('0x10')][_0xd6f5('0x12')]);}logger[_0xd6f5('0x10')]('CloudProvider,\x20%s,\x20%s',_0x342c07,_0x515d64['error']['message']);return _0x3d392a(_0x515d64['error']['message']);}else{logger['info'](_0xd6f5('0xc'),_0x342c07,_0xd6f5('0xd'));_0x3d392a(_0x515d64['result']['message']);}})[_0xd6f5('0x13')](function(_0x54c6fa){logger[_0xd6f5('0x10')](_0xd6f5('0xc'),_0x342c07,_0x54c6fa);_0x1a5177(_0x54c6fa);});});} \ No newline at end of file diff --git a/server/api/cloudProvider/index.js b/server/api/cloudProvider/index.js index ed1fdc1..77cf035 100644 --- a/server/api/cloudProvider/index.js +++ b/server/api/cloudProvider/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xf453=['index','isAuthenticated','show','post','put','/:id','delete','destroy','exports','multer','util','path','Router','../../components/auth/service','../../components/interaction/service'];(function(_0x5c015e,_0x4aa5f1){var _0x5ae308=function(_0x5dd098){while(--_0x5dd098){_0x5c015e['push'](_0x5c015e['shift']());}};_0x5ae308(++_0x4aa5f1);}(_0xf453,0x81));var _0x3f45=function(_0x1f44f8,_0x2c9d20){_0x1f44f8=_0x1f44f8-0x0;var _0x185618=_0xf453[_0x1f44f8];return _0x185618;};'use strict';var multer=require(_0x3f45('0x0'));var util=require(_0x3f45('0x1'));var path=require(_0x3f45('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x3f45('0x3')]();var auth=require(_0x3f45('0x4'));var interaction=require(_0x3f45('0x5'));var config=require('../../config/environment');var controller=require('./cloudProvider.controller');router['get']('/',auth['isAuthenticated'](),controller[_0x3f45('0x6')]);router['get']('/:id',auth[_0x3f45('0x7')](),controller[_0x3f45('0x8')]);router[_0x3f45('0x9')]('/',auth[_0x3f45('0x7')](),controller['create']);router[_0x3f45('0xa')](_0x3f45('0xb'),auth[_0x3f45('0x7')](),controller['update']);router[_0x3f45('0xc')]('/:id',auth[_0x3f45('0x7')](),controller[_0x3f45('0xd')]);module[_0x3f45('0xe')]=router; \ No newline at end of file +var _0x95aa=['isAuthenticated','index','/:id','show','post','create','update','destroy','exports','multer','path','express','Router','../../components/auth/service','../../components/interaction/service','./cloudProvider.controller','get'];(function(_0x21d82d,_0x5a5533){var _0x2f2281=function(_0x26d373){while(--_0x26d373){_0x21d82d['push'](_0x21d82d['shift']());}};_0x2f2281(++_0x5a5533);}(_0x95aa,0x6f));var _0xa95a=function(_0xa1e3e3,_0x29fe0e){_0xa1e3e3=_0xa1e3e3-0x0;var _0xc980e9=_0x95aa[_0xa1e3e3];return _0xc980e9;};'use strict';var multer=require(_0xa95a('0x0'));var util=require('util');var path=require(_0xa95a('0x1'));var timeout=require('connect-timeout');var express=require(_0xa95a('0x2'));var router=express[_0xa95a('0x3')]();var auth=require(_0xa95a('0x4'));var interaction=require(_0xa95a('0x5'));var config=require('../../config/environment');var controller=require(_0xa95a('0x6'));router[_0xa95a('0x7')]('/',auth[_0xa95a('0x8')](),controller[_0xa95a('0x9')]);router[_0xa95a('0x7')](_0xa95a('0xa'),auth['isAuthenticated'](),controller[_0xa95a('0xb')]);router[_0xa95a('0xc')]('/',auth[_0xa95a('0x8')](),controller[_0xa95a('0xd')]);router['put']('/:id',auth[_0xa95a('0x8')](),controller[_0xa95a('0xe')]);router['delete'](_0xa95a('0xa'),auth[_0xa95a('0x8')](),controller[_0xa95a('0xf')]);module[_0xa95a('0x10')]=router; \ No newline at end of file diff --git a/server/api/cmCompany/cmCompany.attributes.js b/server/api/cmCompany/cmCompany.attributes.js index 53b042d..fdbdf74 100644 --- a/server/api/cmCompany/cmCompany.attributes.js +++ b/server/api/cmCompany/cmCompany.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x7e5c=['exports','STRING','name','sequelize'];(function(_0x298563,_0x5c4d22){var _0x3fa06d=function(_0x3d7aa4){while(--_0x3d7aa4){_0x298563['push'](_0x298563['shift']());}};_0x3fa06d(++_0x5c4d22);}(_0x7e5c,0x7f));var _0xc7e5=function(_0x7de6d5,_0x5286ff){_0x7de6d5=_0x7de6d5-0x0;var _0x164b73=_0x7e5c[_0x7de6d5];return _0x164b73;};'use strict';var Sequelize=require(_0xc7e5('0x0'));module[_0xc7e5('0x1')]={'name':{'type':Sequelize[_0xc7e5('0x2')],'unique':_0xc7e5('0x3'),'allowNull':![],'validate':{'notEmpty':!![]}},'vat':{'type':Sequelize[_0xc7e5('0x2')]},'companyId':{'type':Sequelize[_0xc7e5('0x2')]},'website':{'type':Sequelize['STRING']},'phone':{'type':Sequelize[_0xc7e5('0x2')]},'fax':{'type':Sequelize[_0xc7e5('0x2')]},'type':{'type':Sequelize['STRING']},'street':{'type':Sequelize[_0xc7e5('0x2')]},'postalCode':{'type':Sequelize[_0xc7e5('0x2')]},'city':{'type':Sequelize[_0xc7e5('0x2')]},'country':{'type':Sequelize[_0xc7e5('0x2')]},'email':{'type':Sequelize[_0xc7e5('0x2')],'validate':{'isEmail':!![]}},'emailDomain':{'type':Sequelize[_0xc7e5('0x2')]},'sStreet':{'type':Sequelize[_0xc7e5('0x2')]},'sPostalCode':{'type':Sequelize['STRING']},'sCity':{'type':Sequelize[_0xc7e5('0x2')]},'sCountry':{'type':Sequelize['STRING']},'description':{'type':Sequelize['STRING']}}; \ No newline at end of file +var _0x33f4=['name','sequelize','exports','STRING'];(function(_0x24c14e,_0x55fc09){var _0x589035=function(_0x1f4a57){while(--_0x1f4a57){_0x24c14e['push'](_0x24c14e['shift']());}};_0x589035(++_0x55fc09);}(_0x33f4,0x191));var _0x433f=function(_0x14b650,_0x264d5f){_0x14b650=_0x14b650-0x0;var _0x26096f=_0x33f4[_0x14b650];return _0x26096f;};'use strict';var Sequelize=require(_0x433f('0x0'));module[_0x433f('0x1')]={'name':{'type':Sequelize[_0x433f('0x2')],'unique':_0x433f('0x3'),'allowNull':![],'validate':{'notEmpty':!![]}},'vat':{'type':Sequelize['STRING']},'companyId':{'type':Sequelize['STRING']},'website':{'type':Sequelize[_0x433f('0x2')]},'phone':{'type':Sequelize[_0x433f('0x2')]},'fax':{'type':Sequelize[_0x433f('0x2')]},'type':{'type':Sequelize[_0x433f('0x2')]},'street':{'type':Sequelize[_0x433f('0x2')]},'postalCode':{'type':Sequelize[_0x433f('0x2')]},'city':{'type':Sequelize[_0x433f('0x2')]},'country':{'type':Sequelize[_0x433f('0x2')]},'email':{'type':Sequelize[_0x433f('0x2')],'validate':{'isEmail':!![]}},'emailDomain':{'type':Sequelize['STRING']},'sStreet':{'type':Sequelize['STRING']},'sPostalCode':{'type':Sequelize[_0x433f('0x2')]},'sCity':{'type':Sequelize[_0x433f('0x2')]},'sCountry':{'type':Sequelize['STRING']},'description':{'type':Sequelize[_0x433f('0x2')]}}; \ No newline at end of file diff --git a/server/api/cmCompany/cmCompany.controller.js b/server/api/cmCompany/cmCompany.controller.js index 4395c6e..4b14e5a 100644 --- a/server/api/cmCompany/cmCompany.controller.js +++ b/server/api/cmCompany/cmCompany.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x02c8=['name','send','index','CmCompany','describe','model','keys','query','filters','intersection','fields','attributes','hasOwnProperty','nolimit','order','sort','where','pick','filter','map','options','includeAll','include','findAll','rows','catch','show','params','rawAttributes','length','merge','find','create','body','user','Unable\x20to\x20retrieve\x20the\x20current\x20user','get','UserProfileSection','userProfileId','autoAssociation','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','addContacts','CmContact','omit','ids','getContacts','findOne','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','moment','bluebird','mustache','util','path','sox','to-csv','lodash','crypto','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','api','../../config/utils','../../config/environment','../../mysqldb','sendStatus','status','end','json','count','offset','limit','set','Content-Range','reject','save','update','then','destroy','Companies','UserProfileResource','error','stack'];(function(_0x3fb99a,_0x27e202){var _0x88185d=function(_0x1a8343){while(--_0x1a8343){_0x3fb99a['push'](_0x3fb99a['shift']());}};_0x88185d(++_0x27e202);}(_0x02c8,0x19b));var _0x802c=function(_0x573f68,_0x53b746){_0x573f68=_0x573f68-0x0;var _0x25e8e6=_0x02c8[_0x573f68];return _0x25e8e6;};'use strict';var pdf=require(_0x802c('0x0'));var emlformat=require(_0x802c('0x1'));var rimraf=require(_0x802c('0x2'));var zipdir=require(_0x802c('0x3'));var jsonpatch=require(_0x802c('0x4'));var rp=require('request-promise');var moment=require(_0x802c('0x5'));var BPromise=require(_0x802c('0x6'));var Mustache=require(_0x802c('0x7'));var util=require(_0x802c('0x8'));var path=require(_0x802c('0x9'));var sox=require(_0x802c('0xa'));var csv=require(_0x802c('0xb'));var ejs=require('ejs');var fs=require('fs');var _=require(_0x802c('0xc'));var squel=require('squel');var crypto=require(_0x802c('0xd'));var jsforce=require('jsforce');var deskjs=require(_0x802c('0xe'));var toCsv=require(_0x802c('0xb'));var querystring=require(_0x802c('0xf'));var Papa=require(_0x802c('0x10'));var Redis=require(_0x802c('0x11'));var authService=require(_0x802c('0x12'));var qs=require(_0x802c('0x13'));var as=require(_0x802c('0x14'));var hardwareService=require(_0x802c('0x15'));var logger=require('../../config/logger')(_0x802c('0x16'));var utils=require(_0x802c('0x17'));var config=require(_0x802c('0x18'));var db=require(_0x802c('0x19'))['db'];function respondWithStatusCode(_0x4717c2,_0x498dba){_0x498dba=_0x498dba||0xcc;return function(_0x36ec87){if(_0x36ec87){return _0x4717c2[_0x802c('0x1a')](_0x498dba);}return _0x4717c2[_0x802c('0x1b')](_0x498dba)[_0x802c('0x1c')]();};}function respondWithResult(_0x433b9e,_0x581b05){_0x581b05=_0x581b05||0xc8;return function(_0x4a939e){if(_0x4a939e){return _0x433b9e[_0x802c('0x1b')](_0x581b05)[_0x802c('0x1d')](_0x4a939e);}};}function respondWithFilteredResult(_0x56fc68,_0x48d8be){return function(_0x56d921){if(_0x56d921){var _0x3374c7=_0x56d921[_0x802c('0x1e')],_0x46f481=_0x48d8be[_0x802c('0x1f')],_0xf88b98=_0x48d8be[_0x802c('0x1f')]+_0x48d8be[_0x802c('0x20')],_0x11be03;if(_0xf88b98>=_0x3374c7){_0xf88b98=_0x3374c7;_0x11be03=0xc8;}else{_0x11be03=0xce;}_0x56fc68[_0x802c('0x1b')](_0x11be03);return _0x56fc68[_0x802c('0x21')](_0x802c('0x22'),_0x46f481+'-'+_0xf88b98+'/'+_0x3374c7)['json'](_0x56d921);}return null;};}function patchUpdates(_0x1c6b7f){return function(_0x37c282){try{jsonpatch['apply'](_0x37c282,_0x1c6b7f,!![]);}catch(_0x271452){return BPromise[_0x802c('0x23')](_0x271452);}return _0x37c282[_0x802c('0x24')]();};}function saveUpdates(_0x10c4cf,_0xc0229e){return function(_0x42c2c3){if(_0x42c2c3){return _0x42c2c3[_0x802c('0x25')](_0x10c4cf)[_0x802c('0x26')](function(_0x435075){return _0x435075;});}return null;};}function removeEntity(_0x12aaaf,_0x1adfd6){return function(_0x2f53e8){if(_0x2f53e8){return _0x2f53e8[_0x802c('0x27')]()['then'](function(){var _0x256f63=_0x2f53e8['get']({'plain':!![]});var _0x2d64fe=_0x802c('0x28');return db[_0x802c('0x29')][_0x802c('0x27')]({'where':{'type':_0x2d64fe,'resourceId':_0x256f63['id']}})[_0x802c('0x26')](function(){return _0x2f53e8;});})[_0x802c('0x26')](function(){_0x12aaaf[_0x802c('0x1b')](0xcc)[_0x802c('0x1c')]();});}};}function handleEntityNotFound(_0x58b7ab,_0x2162f2){return function(_0x501662){if(!_0x501662){_0x58b7ab[_0x802c('0x1a')](0x194);}return _0x501662;};}function handleError(_0x1a4e9d,_0x38e26c){_0x38e26c=_0x38e26c||0x1f4;return function(_0x19fa9f){logger[_0x802c('0x2a')](_0x19fa9f[_0x802c('0x2b')]);if(_0x19fa9f[_0x802c('0x2c')]){delete _0x19fa9f[_0x802c('0x2c')];}_0x1a4e9d[_0x802c('0x1b')](_0x38e26c)[_0x802c('0x2d')](_0x19fa9f);};}exports[_0x802c('0x2e')]=function(_0x16e8fe,_0x104cd0){var _0x21ec3f={},_0x5714aa={},_0x3cd528={'count':0x0,'rows':[]};return db[_0x802c('0x2f')][_0x802c('0x30')]()[_0x802c('0x26')](function(_0x4b00a1){_0x5714aa[_0x802c('0x31')]=_[_0x802c('0x32')](_0x4b00a1);_0x5714aa['query']=_['keys'](_0x16e8fe[_0x802c('0x33')]);_0x5714aa[_0x802c('0x34')]=_[_0x802c('0x35')](_0x5714aa[_0x802c('0x31')],_0x5714aa[_0x802c('0x33')]);_0x21ec3f['attributes']=_[_0x802c('0x35')](_0x5714aa[_0x802c('0x31')],qs[_0x802c('0x36')](_0x16e8fe[_0x802c('0x33')][_0x802c('0x36')]));_0x21ec3f[_0x802c('0x37')]=_0x21ec3f[_0x802c('0x37')]['length']?_0x21ec3f[_0x802c('0x37')]:_0x5714aa[_0x802c('0x31')];if(!_0x16e8fe[_0x802c('0x33')][_0x802c('0x38')](_0x802c('0x39'))){_0x21ec3f[_0x802c('0x20')]=qs[_0x802c('0x20')](_0x16e8fe['query'][_0x802c('0x20')]);_0x21ec3f[_0x802c('0x1f')]=qs[_0x802c('0x1f')](_0x16e8fe[_0x802c('0x33')]['offset']);}_0x21ec3f[_0x802c('0x3a')]=qs[_0x802c('0x3b')](_0x16e8fe[_0x802c('0x33')][_0x802c('0x3b')]);_0x21ec3f[_0x802c('0x3c')]=qs[_0x802c('0x34')](_[_0x802c('0x3d')](_0x16e8fe[_0x802c('0x33')],_0x5714aa[_0x802c('0x34')]),_0x4b00a1);if(_0x16e8fe[_0x802c('0x33')][_0x802c('0x3e')]){_0x21ec3f[_0x802c('0x3c')]=_['merge'](_0x21ec3f[_0x802c('0x3c')],{'$or':_[_0x802c('0x3f')](_0x21ec3f['attributes'],function(_0x3a80e7){var _0x54cb6c={};_0x54cb6c[_0x3a80e7]={'$like':'%'+_0x16e8fe['query'][_0x802c('0x3e')]+'%'};return _0x54cb6c;})});}_0x21ec3f=_['merge']({},_0x21ec3f,_0x16e8fe[_0x802c('0x40')]);var _0x28a68c={'where':_0x21ec3f[_0x802c('0x3c')]};return db['CmCompany'][_0x802c('0x1e')](_0x28a68c)[_0x802c('0x26')](function(_0x9fdbe2){_0x3cd528[_0x802c('0x1e')]=_0x9fdbe2;if(_0x16e8fe[_0x802c('0x33')][_0x802c('0x41')]){_0x21ec3f[_0x802c('0x42')]=[{'all':!![]}];}return db[_0x802c('0x2f')][_0x802c('0x43')](_0x21ec3f);})[_0x802c('0x26')](function(_0x4f6b8f){_0x3cd528[_0x802c('0x44')]=_0x4f6b8f;return _0x3cd528;})[_0x802c('0x26')](respondWithFilteredResult(_0x104cd0,_0x21ec3f))[_0x802c('0x45')](handleError(_0x104cd0,null));})[_0x802c('0x45')](handleError(_0x104cd0,null));};exports[_0x802c('0x46')]=function(_0xb40375,_0x164f41){var _0xcb39e0={'raw':![],'where':{'id':_0xb40375[_0x802c('0x47')]['id']}},_0x473081={};_0x473081['model']=_[_0x802c('0x32')](db[_0x802c('0x2f')][_0x802c('0x48')]);_0x473081[_0x802c('0x33')]=_['keys'](_0xb40375[_0x802c('0x33')]);_0x473081[_0x802c('0x34')]=_[_0x802c('0x35')](_0x473081['model'],_0x473081[_0x802c('0x33')]);_0xcb39e0[_0x802c('0x37')]=_['intersection'](_0x473081[_0x802c('0x31')],qs[_0x802c('0x36')](_0xb40375[_0x802c('0x33')][_0x802c('0x36')]));_0xcb39e0['attributes']=_0xcb39e0['attributes'][_0x802c('0x49')]?_0xcb39e0[_0x802c('0x37')]:_0x473081[_0x802c('0x31')];if(_0xb40375['query'][_0x802c('0x41')]){_0xcb39e0[_0x802c('0x42')]=[{'all':!![]}];}_0xcb39e0=_[_0x802c('0x4a')]({},_0xcb39e0,_0xb40375[_0x802c('0x40')]);return db['CmCompany'][_0x802c('0x4b')](_0xcb39e0)[_0x802c('0x26')](handleEntityNotFound(_0x164f41,null))[_0x802c('0x26')](respondWithResult(_0x164f41,null))[_0x802c('0x45')](handleError(_0x164f41,null));};exports[_0x802c('0x4c')]=function(_0x447779,_0x50f403){return db[_0x802c('0x2f')][_0x802c('0x4c')](_0x447779[_0x802c('0x4d')],{})['then'](function(_0x51d782){var _0x290184=_0x447779[_0x802c('0x4e')]['get']({'plain':!![]});if(!_0x290184)throw new Error(_0x802c('0x4f'));if(_0x290184['role']===_0x802c('0x4e')){var _0x51e828=_0x51d782[_0x802c('0x50')]({'plain':!![]});var _0x416606=_0x802c('0x28');return db[_0x802c('0x51')][_0x802c('0x4b')]({'where':{'name':_0x416606,'userProfileId':_0x290184[_0x802c('0x52')]},'raw':!![]})[_0x802c('0x26')](function(_0x97cb5c){if(_0x97cb5c&&_0x97cb5c[_0x802c('0x53')]===0x0){return db['UserProfileResource'][_0x802c('0x4c')]({'name':_0x51e828[_0x802c('0x2c')],'resourceId':_0x51e828['id'],'type':_0x97cb5c['name'],'sectionId':_0x97cb5c['id']},{})[_0x802c('0x26')](function(){return _0x51d782;});}else{return _0x51d782;}})[_0x802c('0x45')](function(_0x28bed7){logger[_0x802c('0x2a')](_0x802c('0x54'),_0x28bed7);throw _0x28bed7;});}return _0x51d782;})[_0x802c('0x26')](respondWithResult(_0x50f403,0xc9))[_0x802c('0x45')](handleError(_0x50f403,null));};exports['update']=function(_0x5175e4,_0x2d5d88){if(_0x5175e4['body']['id']){delete _0x5175e4[_0x802c('0x4d')]['id'];}return db['CmCompany'][_0x802c('0x4b')]({'where':{'id':_0x5175e4[_0x802c('0x47')]['id']}})['then'](handleEntityNotFound(_0x2d5d88,null))[_0x802c('0x26')](saveUpdates(_0x5175e4[_0x802c('0x4d')],null))[_0x802c('0x26')](respondWithResult(_0x2d5d88,null))[_0x802c('0x45')](handleError(_0x2d5d88,null));};exports[_0x802c('0x27')]=function(_0x14c78f,_0x63e3f9){return db[_0x802c('0x2f')][_0x802c('0x4b')]({'where':{'id':_0x14c78f['params']['id']}})[_0x802c('0x26')](handleEntityNotFound(_0x63e3f9,null))[_0x802c('0x26')](removeEntity(_0x63e3f9,null))[_0x802c('0x45')](handleError(_0x63e3f9,null));};exports[_0x802c('0x30')]=function(_0x421fc4,_0x188834){return db[_0x802c('0x2f')][_0x802c('0x30')]()['then'](respondWithResult(_0x188834,null))['catch'](handleError(_0x188834,null));};exports[_0x802c('0x55')]=function(_0x24c33b,_0x7d38ee,_0x2ada6e){return db[_0x802c('0x56')][_0x802c('0x4b')]({'where':{'id':_0x24c33b[_0x802c('0x47')]['id']}})[_0x802c('0x26')](handleEntityNotFound(_0x7d38ee,null))[_0x802c('0x26')](function(_0x1d5b5a){if(_0x1d5b5a){return _0x1d5b5a[_0x802c('0x55')](_0x24c33b['body']['ids'],_[_0x802c('0x57')](_0x24c33b[_0x802c('0x4d')],[_0x802c('0x58'),'id'])||{});}})[_0x802c('0x26')](respondWithResult(_0x7d38ee,null))[_0x802c('0x45')](handleError(_0x7d38ee,null));};exports[_0x802c('0x59')]=function(_0x263c2d,_0x964c9c,_0x4ed4c8){var _0x4bdbb9={};var _0x1c9fee={};var _0x232620;var _0x365ee1;return db[_0x802c('0x2f')][_0x802c('0x5a')]({'where':{'id':_0x263c2d['params']['id']}})[_0x802c('0x26')](handleEntityNotFound(_0x964c9c,null))[_0x802c('0x26')](function(_0x453b87){if(_0x453b87){_0x232620=_0x453b87;_0x1c9fee[_0x802c('0x31')]=_[_0x802c('0x32')](db[_0x802c('0x56')]['rawAttributes']);_0x1c9fee[_0x802c('0x33')]=_[_0x802c('0x32')](_0x263c2d[_0x802c('0x33')]);_0x1c9fee[_0x802c('0x34')]=_[_0x802c('0x35')](_0x1c9fee[_0x802c('0x31')],_0x1c9fee['query']);_0x4bdbb9[_0x802c('0x37')]=_[_0x802c('0x35')](_0x1c9fee[_0x802c('0x31')],qs[_0x802c('0x36')](_0x263c2d[_0x802c('0x33')][_0x802c('0x36')]));_0x4bdbb9[_0x802c('0x37')]=_0x4bdbb9['attributes'][_0x802c('0x49')]?_0x4bdbb9[_0x802c('0x37')]:_0x1c9fee['model'];_0x4bdbb9['order']=qs[_0x802c('0x3b')](_0x263c2d['query']['sort']);_0x4bdbb9[_0x802c('0x3c')]=qs[_0x802c('0x34')](_['pick'](_0x263c2d[_0x802c('0x33')],_0x1c9fee[_0x802c('0x34')]));if(_0x263c2d[_0x802c('0x33')][_0x802c('0x3e')]){_0x4bdbb9[_0x802c('0x3c')]=_[_0x802c('0x4a')](_0x4bdbb9[_0x802c('0x3c')],{'$or':_[_0x802c('0x3f')](_0x4bdbb9[_0x802c('0x37')],function(_0x30f9a2){var _0x143bac={};_0x143bac[_0x30f9a2]={'$like':'%'+_0x263c2d['query'][_0x802c('0x3e')]+'%'};return _0x143bac;})});}_0x4bdbb9=_[_0x802c('0x4a')]({},_0x4bdbb9,_0x263c2d[_0x802c('0x40')]);return _0x232620[_0x802c('0x59')](_0x4bdbb9);}})[_0x802c('0x26')](function(_0x213bb2){if(_0x213bb2){_0x365ee1=_0x213bb2[_0x802c('0x49')];if(!_0x263c2d[_0x802c('0x33')]['hasOwnProperty']('nolimit')){_0x4bdbb9['limit']=qs['limit'](_0x263c2d[_0x802c('0x33')][_0x802c('0x20')]);_0x4bdbb9[_0x802c('0x1f')]=qs[_0x802c('0x1f')](_0x263c2d[_0x802c('0x33')]['offset']);}return _0x232620['getContacts'](_0x4bdbb9);}})[_0x802c('0x26')](function(_0x23d2c8){if(_0x23d2c8){return _0x23d2c8?{'count':_0x365ee1,'rows':_0x23d2c8}:null;}})[_0x802c('0x26')](respondWithResult(_0x964c9c,null))['catch'](handleError(_0x964c9c,null));}; \ No newline at end of file +var _0xe493=['get','Unable\x20to\x20retrieve\x20the\x20current\x20user','role','find','userProfileId','autoAssociation','UserProfileResource','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','params','addContacts','CmContact','ids','findOne','order','pick','getContacts','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','moment','bluebird','mustache','to-csv','lodash','squel','desk.js','papaparse','ioredis','api','../../config/utils','../../config/environment','sendStatus','status','end','json','count','offset','limit','set','Content-Range','apply','reject','save','update','then','destroy','Companies','error','name','send','CmCompany','describe','model','keys','query','filters','intersection','fields','length','attributes','hasOwnProperty','nolimit','sort','filter','merge','where','map','options','includeAll','include','rows','catch','show','rawAttributes','create','body','user'];(function(_0x205f9a,_0x3cf811){var _0x1ea2c9=function(_0x4715de){while(--_0x4715de){_0x205f9a['push'](_0x205f9a['shift']());}};_0x1ea2c9(++_0x3cf811);}(_0xe493,0x19b));var _0x3e49=function(_0x332c84,_0x550629){_0x332c84=_0x332c84-0x0;var _0x2c3651=_0xe493[_0x332c84];return _0x2c3651;};'use strict';var pdf=require(_0x3e49('0x0'));var emlformat=require(_0x3e49('0x1'));var rimraf=require(_0x3e49('0x2'));var zipdir=require(_0x3e49('0x3'));var jsonpatch=require(_0x3e49('0x4'));var rp=require('request-promise');var moment=require(_0x3e49('0x5'));var BPromise=require(_0x3e49('0x6'));var Mustache=require(_0x3e49('0x7'));var util=require('util');var path=require('path');var sox=require('sox');var csv=require(_0x3e49('0x8'));var ejs=require('ejs');var fs=require('fs');var _=require(_0x3e49('0x9'));var squel=require(_0x3e49('0xa'));var crypto=require('crypto');var jsforce=require('jsforce');var deskjs=require(_0x3e49('0xb'));var toCsv=require('to-csv');var querystring=require('querystring');var Papa=require(_0x3e49('0xc'));var Redis=require(_0x3e49('0xd'));var authService=require('../../components/auth/service');var qs=require('../../components/parsers/qs');var as=require('../../components/parsers/advancedSearch');var hardwareService=require('../../config/license/hardware');var logger=require('../../config/logger')(_0x3e49('0xe'));var utils=require(_0x3e49('0xf'));var config=require(_0x3e49('0x10'));var db=require('../../mysqldb')['db'];function respondWithStatusCode(_0x13ef73,_0x304615){_0x304615=_0x304615||0xcc;return function(_0x4186db){if(_0x4186db){return _0x13ef73[_0x3e49('0x11')](_0x304615);}return _0x13ef73[_0x3e49('0x12')](_0x304615)[_0x3e49('0x13')]();};}function respondWithResult(_0x4adf42,_0x3b099d){_0x3b099d=_0x3b099d||0xc8;return function(_0x5c6078){if(_0x5c6078){return _0x4adf42['status'](_0x3b099d)[_0x3e49('0x14')](_0x5c6078);}};}function respondWithFilteredResult(_0x4944ea,_0x27b05b){return function(_0x3148f1){if(_0x3148f1){var _0x19678a=_0x3148f1[_0x3e49('0x15')],_0xc43f06=_0x27b05b[_0x3e49('0x16')],_0x21b4a5=_0x27b05b[_0x3e49('0x16')]+_0x27b05b[_0x3e49('0x17')],_0x21cf32;if(_0x21b4a5>=_0x19678a){_0x21b4a5=_0x19678a;_0x21cf32=0xc8;}else{_0x21cf32=0xce;}_0x4944ea['status'](_0x21cf32);return _0x4944ea[_0x3e49('0x18')](_0x3e49('0x19'),_0xc43f06+'-'+_0x21b4a5+'/'+_0x19678a)[_0x3e49('0x14')](_0x3148f1);}return null;};}function patchUpdates(_0x34ce1c){return function(_0x19639d){try{jsonpatch[_0x3e49('0x1a')](_0x19639d,_0x34ce1c,!![]);}catch(_0x1fe9c6){return BPromise[_0x3e49('0x1b')](_0x1fe9c6);}return _0x19639d[_0x3e49('0x1c')]();};}function saveUpdates(_0x2404d5,_0x44be4c){return function(_0x519be4){if(_0x519be4){return _0x519be4[_0x3e49('0x1d')](_0x2404d5)[_0x3e49('0x1e')](function(_0x396928){return _0x396928;});}return null;};}function removeEntity(_0x164849,_0xa17003){return function(_0x56e8af){if(_0x56e8af){return _0x56e8af[_0x3e49('0x1f')]()['then'](function(){var _0x4ab223=_0x56e8af['get']({'plain':!![]});var _0x5f0548=_0x3e49('0x20');return db['UserProfileResource'][_0x3e49('0x1f')]({'where':{'type':_0x5f0548,'resourceId':_0x4ab223['id']}})[_0x3e49('0x1e')](function(){return _0x56e8af;});})[_0x3e49('0x1e')](function(){_0x164849[_0x3e49('0x12')](0xcc)[_0x3e49('0x13')]();});}};}function handleEntityNotFound(_0x508a74,_0x2ebfa8){return function(_0x1bbc1a){if(!_0x1bbc1a){_0x508a74[_0x3e49('0x11')](0x194);}return _0x1bbc1a;};}function handleError(_0x1007a2,_0x3241d9){_0x3241d9=_0x3241d9||0x1f4;return function(_0x411091){logger[_0x3e49('0x21')](_0x411091['stack']);if(_0x411091[_0x3e49('0x22')]){delete _0x411091[_0x3e49('0x22')];}_0x1007a2[_0x3e49('0x12')](_0x3241d9)[_0x3e49('0x23')](_0x411091);};}exports['index']=function(_0xfaebe4,_0x20d796){var _0xb568d={},_0x9b5e44={},_0x4bb60e={'count':0x0,'rows':[]};return db[_0x3e49('0x24')][_0x3e49('0x25')]()[_0x3e49('0x1e')](function(_0x302225){_0x9b5e44[_0x3e49('0x26')]=_['keys'](_0x302225);_0x9b5e44['query']=_[_0x3e49('0x27')](_0xfaebe4[_0x3e49('0x28')]);_0x9b5e44[_0x3e49('0x29')]=_['intersection'](_0x9b5e44['model'],_0x9b5e44[_0x3e49('0x28')]);_0xb568d['attributes']=_[_0x3e49('0x2a')](_0x9b5e44['model'],qs[_0x3e49('0x2b')](_0xfaebe4[_0x3e49('0x28')]['fields']));_0xb568d['attributes']=_0xb568d['attributes'][_0x3e49('0x2c')]?_0xb568d[_0x3e49('0x2d')]:_0x9b5e44[_0x3e49('0x26')];if(!_0xfaebe4['query'][_0x3e49('0x2e')](_0x3e49('0x2f'))){_0xb568d['limit']=qs[_0x3e49('0x17')](_0xfaebe4[_0x3e49('0x28')]['limit']);_0xb568d[_0x3e49('0x16')]=qs[_0x3e49('0x16')](_0xfaebe4[_0x3e49('0x28')][_0x3e49('0x16')]);}_0xb568d['order']=qs[_0x3e49('0x30')](_0xfaebe4[_0x3e49('0x28')]['sort']);_0xb568d['where']=qs[_0x3e49('0x29')](_['pick'](_0xfaebe4[_0x3e49('0x28')],_0x9b5e44[_0x3e49('0x29')]),_0x302225);if(_0xfaebe4[_0x3e49('0x28')][_0x3e49('0x31')]){_0xb568d['where']=_[_0x3e49('0x32')](_0xb568d[_0x3e49('0x33')],{'$or':_[_0x3e49('0x34')](_0xb568d[_0x3e49('0x2d')],function(_0x30986f){var _0x3a71f3={};_0x3a71f3[_0x30986f]={'$like':'%'+_0xfaebe4[_0x3e49('0x28')][_0x3e49('0x31')]+'%'};return _0x3a71f3;})});}_0xb568d=_[_0x3e49('0x32')]({},_0xb568d,_0xfaebe4[_0x3e49('0x35')]);var _0x47bfcf={'where':_0xb568d[_0x3e49('0x33')]};return db[_0x3e49('0x24')]['count'](_0x47bfcf)[_0x3e49('0x1e')](function(_0x36fb9d){_0x4bb60e[_0x3e49('0x15')]=_0x36fb9d;if(_0xfaebe4[_0x3e49('0x28')][_0x3e49('0x36')]){_0xb568d[_0x3e49('0x37')]=[{'all':!![]}];}return db['CmCompany']['findAll'](_0xb568d);})['then'](function(_0x2acdc5){_0x4bb60e[_0x3e49('0x38')]=_0x2acdc5;return _0x4bb60e;})[_0x3e49('0x1e')](respondWithFilteredResult(_0x20d796,_0xb568d))[_0x3e49('0x39')](handleError(_0x20d796,null));})['catch'](handleError(_0x20d796,null));};exports[_0x3e49('0x3a')]=function(_0x1175ad,_0x59a208){var _0x136887={'raw':![],'where':{'id':_0x1175ad['params']['id']}},_0x1aaf8e={};_0x1aaf8e[_0x3e49('0x26')]=_[_0x3e49('0x27')](db['CmCompany'][_0x3e49('0x3b')]);_0x1aaf8e[_0x3e49('0x28')]=_[_0x3e49('0x27')](_0x1175ad['query']);_0x1aaf8e[_0x3e49('0x29')]=_[_0x3e49('0x2a')](_0x1aaf8e[_0x3e49('0x26')],_0x1aaf8e[_0x3e49('0x28')]);_0x136887[_0x3e49('0x2d')]=_[_0x3e49('0x2a')](_0x1aaf8e['model'],qs['fields'](_0x1175ad[_0x3e49('0x28')][_0x3e49('0x2b')]));_0x136887[_0x3e49('0x2d')]=_0x136887[_0x3e49('0x2d')][_0x3e49('0x2c')]?_0x136887[_0x3e49('0x2d')]:_0x1aaf8e[_0x3e49('0x26')];if(_0x1175ad[_0x3e49('0x28')]['includeAll']){_0x136887[_0x3e49('0x37')]=[{'all':!![]}];}_0x136887=_[_0x3e49('0x32')]({},_0x136887,_0x1175ad['options']);return db[_0x3e49('0x24')]['find'](_0x136887)[_0x3e49('0x1e')](handleEntityNotFound(_0x59a208,null))[_0x3e49('0x1e')](respondWithResult(_0x59a208,null))[_0x3e49('0x39')](handleError(_0x59a208,null));};exports[_0x3e49('0x3c')]=function(_0x592860,_0x23f125){return db[_0x3e49('0x24')]['create'](_0x592860[_0x3e49('0x3d')],{})['then'](function(_0x18c5df){var _0x1e4e04=_0x592860[_0x3e49('0x3e')][_0x3e49('0x3f')]({'plain':!![]});if(!_0x1e4e04)throw new Error(_0x3e49('0x40'));if(_0x1e4e04[_0x3e49('0x41')]===_0x3e49('0x3e')){var _0x194b57=_0x18c5df['get']({'plain':!![]});var _0x4eb45e=_0x3e49('0x20');return db['UserProfileSection'][_0x3e49('0x42')]({'where':{'name':_0x4eb45e,'userProfileId':_0x1e4e04[_0x3e49('0x43')]},'raw':!![]})['then'](function(_0x15ec3f){if(_0x15ec3f&&_0x15ec3f[_0x3e49('0x44')]===0x0){return db[_0x3e49('0x45')][_0x3e49('0x3c')]({'name':_0x194b57['name'],'resourceId':_0x194b57['id'],'type':_0x15ec3f['name'],'sectionId':_0x15ec3f['id']},{})[_0x3e49('0x1e')](function(){return _0x18c5df;});}else{return _0x18c5df;}})[_0x3e49('0x39')](function(_0x254a11){logger['error'](_0x3e49('0x46'),_0x254a11);throw _0x254a11;});}return _0x18c5df;})[_0x3e49('0x1e')](respondWithResult(_0x23f125,0xc9))[_0x3e49('0x39')](handleError(_0x23f125,null));};exports[_0x3e49('0x1d')]=function(_0x435132,_0x18d73d){if(_0x435132['body']['id']){delete _0x435132[_0x3e49('0x3d')]['id'];}return db[_0x3e49('0x24')]['find']({'where':{'id':_0x435132['params']['id']}})[_0x3e49('0x1e')](handleEntityNotFound(_0x18d73d,null))['then'](saveUpdates(_0x435132[_0x3e49('0x3d')],null))[_0x3e49('0x1e')](respondWithResult(_0x18d73d,null))[_0x3e49('0x39')](handleError(_0x18d73d,null));};exports[_0x3e49('0x1f')]=function(_0x3771ed,_0x5a7754){return db[_0x3e49('0x24')]['find']({'where':{'id':_0x3771ed[_0x3e49('0x47')]['id']}})[_0x3e49('0x1e')](handleEntityNotFound(_0x5a7754,null))[_0x3e49('0x1e')](removeEntity(_0x5a7754,null))[_0x3e49('0x39')](handleError(_0x5a7754,null));};exports[_0x3e49('0x25')]=function(_0x350366,_0x105709){return db[_0x3e49('0x24')][_0x3e49('0x25')]()['then'](respondWithResult(_0x105709,null))[_0x3e49('0x39')](handleError(_0x105709,null));};exports[_0x3e49('0x48')]=function(_0x13a72b,_0x4e7f0f,_0x2b5cdd){return db[_0x3e49('0x49')][_0x3e49('0x42')]({'where':{'id':_0x13a72b[_0x3e49('0x47')]['id']}})[_0x3e49('0x1e')](handleEntityNotFound(_0x4e7f0f,null))['then'](function(_0x10b6aa){if(_0x10b6aa){return _0x10b6aa[_0x3e49('0x48')](_0x13a72b[_0x3e49('0x3d')]['ids'],_['omit'](_0x13a72b['body'],[_0x3e49('0x4a'),'id'])||{});}})[_0x3e49('0x1e')](respondWithResult(_0x4e7f0f,null))['catch'](handleError(_0x4e7f0f,null));};exports['getContacts']=function(_0x21e350,_0x10d255,_0x4943f1){var _0xbbdc2f={};var _0x327de9={};var _0x363341;var _0x3aad41;return db[_0x3e49('0x24')][_0x3e49('0x4b')]({'where':{'id':_0x21e350['params']['id']}})[_0x3e49('0x1e')](handleEntityNotFound(_0x10d255,null))[_0x3e49('0x1e')](function(_0x38cbc0){if(_0x38cbc0){_0x363341=_0x38cbc0;_0x327de9[_0x3e49('0x26')]=_[_0x3e49('0x27')](db[_0x3e49('0x49')][_0x3e49('0x3b')]);_0x327de9[_0x3e49('0x28')]=_[_0x3e49('0x27')](_0x21e350[_0x3e49('0x28')]);_0x327de9[_0x3e49('0x29')]=_['intersection'](_0x327de9[_0x3e49('0x26')],_0x327de9[_0x3e49('0x28')]);_0xbbdc2f[_0x3e49('0x2d')]=_['intersection'](_0x327de9['model'],qs[_0x3e49('0x2b')](_0x21e350[_0x3e49('0x28')][_0x3e49('0x2b')]));_0xbbdc2f[_0x3e49('0x2d')]=_0xbbdc2f[_0x3e49('0x2d')][_0x3e49('0x2c')]?_0xbbdc2f[_0x3e49('0x2d')]:_0x327de9['model'];_0xbbdc2f[_0x3e49('0x4c')]=qs['sort'](_0x21e350[_0x3e49('0x28')][_0x3e49('0x30')]);_0xbbdc2f[_0x3e49('0x33')]=qs[_0x3e49('0x29')](_[_0x3e49('0x4d')](_0x21e350['query'],_0x327de9[_0x3e49('0x29')]));if(_0x21e350[_0x3e49('0x28')][_0x3e49('0x31')]){_0xbbdc2f[_0x3e49('0x33')]=_['merge'](_0xbbdc2f['where'],{'$or':_[_0x3e49('0x34')](_0xbbdc2f[_0x3e49('0x2d')],function(_0x52a9bb){var _0x39b1ee={};_0x39b1ee[_0x52a9bb]={'$like':'%'+_0x21e350['query'][_0x3e49('0x31')]+'%'};return _0x39b1ee;})});}_0xbbdc2f=_[_0x3e49('0x32')]({},_0xbbdc2f,_0x21e350['options']);return _0x363341['getContacts'](_0xbbdc2f);}})[_0x3e49('0x1e')](function(_0x56edaa){if(_0x56edaa){_0x3aad41=_0x56edaa['length'];if(!_0x21e350[_0x3e49('0x28')][_0x3e49('0x2e')](_0x3e49('0x2f'))){_0xbbdc2f[_0x3e49('0x17')]=qs[_0x3e49('0x17')](_0x21e350['query']['limit']);_0xbbdc2f[_0x3e49('0x16')]=qs[_0x3e49('0x16')](_0x21e350[_0x3e49('0x28')]['offset']);}return _0x363341[_0x3e49('0x4e')](_0xbbdc2f);}})['then'](function(_0x1baf5f){if(_0x1baf5f){return _0x1baf5f?{'count':_0x3aad41,'rows':_0x1baf5f}:null;}})[_0x3e49('0x1e')](respondWithResult(_0x10d255,null))[_0x3e49('0x39')](handleError(_0x10d255,null));}; \ No newline at end of file diff --git a/server/api/cmCompany/cmCompany.model.js b/server/api/cmCompany/cmCompany.model.js index 9566a00..ab6d2d9 100644 --- a/server/api/cmCompany/cmCompany.model.js +++ b/server/api/cmCompany/cmCompany.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x4c4e=['moment','request-promise','path','rimraf','./cmCompany.attributes','define','CmCompany','cm_companies','lodash','../../config/logger','api'];(function(_0x1facfa,_0x1acf7d){var _0x9ec701=function(_0x115e37){while(--_0x115e37){_0x1facfa['push'](_0x1facfa['shift']());}};_0x9ec701(++_0x1acf7d);}(_0x4c4e,0x152));var _0xe4c4=function(_0x4671bf,_0x38554a){_0x4671bf=_0x4671bf-0x0;var _0x558221=_0x4c4e[_0x4671bf];return _0x558221;};'use strict';var _=require(_0xe4c4('0x0'));var util=require('util');var logger=require(_0xe4c4('0x1'))(_0xe4c4('0x2'));var moment=require(_0xe4c4('0x3'));var BPromise=require('bluebird');var rp=require(_0xe4c4('0x4'));var fs=require('fs');var path=require(_0xe4c4('0x5'));var rimraf=require(_0xe4c4('0x6'));var config=require('../../config/environment');var attributes=require(_0xe4c4('0x7'));module['exports']=function(_0x177732,_0x1a12a6){return _0x177732[_0xe4c4('0x8')](_0xe4c4('0x9'),attributes,{'tableName':_0xe4c4('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0x2f2e=['path','rimraf','../../config/environment','define','CmCompany','cm_companies','util','../../config/logger','moment','request-promise'];(function(_0x4eecca,_0x4187b9){var _0x5dd146=function(_0x2c0846){while(--_0x2c0846){_0x4eecca['push'](_0x4eecca['shift']());}};_0x5dd146(++_0x4187b9);}(_0x2f2e,0x146));var _0xe2f2=function(_0x1fb7d1,_0x108781){_0x1fb7d1=_0x1fb7d1-0x0;var _0x2480d8=_0x2f2e[_0x1fb7d1];return _0x2480d8;};'use strict';var _=require('lodash');var util=require(_0xe2f2('0x0'));var logger=require(_0xe2f2('0x1'))('api');var moment=require(_0xe2f2('0x2'));var BPromise=require('bluebird');var rp=require(_0xe2f2('0x3'));var fs=require('fs');var path=require(_0xe2f2('0x4'));var rimraf=require(_0xe2f2('0x5'));var config=require(_0xe2f2('0x6'));var attributes=require('./cmCompany.attributes');module['exports']=function(_0x5b202f,_0x3dca30){return _0x5b202f[_0xe2f2('0x7')](_0xe2f2('0x8'),attributes,{'tableName':_0xe2f2('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/cmCompany/cmCompany.rpc.js b/server/api/cmCompany/cmCompany.rpc.js index 81d755b..31e6b69 100644 --- a/server/api/cmCompany/cmCompany.rpc.js +++ b/server/api/cmCompany/cmCompany.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x1895=['catch','moment','../../mysqldb','../../config/utils','rpc','jayson/promise','client','http','request','then','info','CmCompany,\x20%s,\x20%s','request\x20sent','debug','stringify','error','code','message','result'];(function(_0x1f7428,_0xa5b361){var _0x5a5a58=function(_0x357317){while(--_0x357317){_0x1f7428['push'](_0x1f7428['shift']());}};_0x5a5a58(++_0xa5b361);}(_0x1895,0x86));var _0x5189=function(_0x2acbb2,_0x52f46e){_0x2acbb2=_0x2acbb2-0x0;var _0x274917=_0x1895[_0x2acbb2];return _0x274917;};'use strict';var _=require('lodash');var util=require('util');var moment=require(_0x5189('0x0'));var BPromise=require('bluebird');var rs=require('randomstring');var fs=require('fs');var Redis=require('ioredis');var db=require(_0x5189('0x1'))['db'];var utils=require(_0x5189('0x2'));var logger=require('../../config/logger')(_0x5189('0x3'));var config=require('../../config/environment');var jayson=require(_0x5189('0x4'));var client=jayson[_0x5189('0x5')][_0x5189('0x6')]({'port':0x232a});function respondWithRpcPromise(_0x20e68a,_0x2a5a5b,_0x495176){return new BPromise(function(_0x1da297,_0x3c53bf){return client[_0x5189('0x7')](_0x20e68a,_0x495176)[_0x5189('0x8')](function(_0x2d85b5){logger[_0x5189('0x9')](_0x5189('0xa'),_0x2a5a5b,_0x5189('0xb'));logger[_0x5189('0xc')]('CmCompany,\x20%s,\x20%s,\x20%s',_0x2a5a5b,_0x5189('0xb'),JSON[_0x5189('0xd')](_0x2d85b5));if(_0x2d85b5[_0x5189('0xe')]){if(_0x2d85b5[_0x5189('0xe')][_0x5189('0xf')]===0x1f4){logger[_0x5189('0xe')](_0x5189('0xa'),_0x2a5a5b,_0x2d85b5[_0x5189('0xe')]['message']);return _0x3c53bf(_0x2d85b5['error'][_0x5189('0x10')]);}logger[_0x5189('0xe')](_0x5189('0xa'),_0x2a5a5b,_0x2d85b5[_0x5189('0xe')][_0x5189('0x10')]);return _0x1da297(_0x2d85b5[_0x5189('0xe')]['message']);}else{logger[_0x5189('0x9')]('CmCompany,\x20%s,\x20%s',_0x2a5a5b,_0x5189('0xb'));_0x1da297(_0x2d85b5[_0x5189('0x11')][_0x5189('0x10')]);}})[_0x5189('0x12')](function(_0x42fa85){logger['error']('CmCompany,\x20%s,\x20%s',_0x2a5a5b,_0x42fa85);_0x3c53bf(_0x42fa85);});});} \ No newline at end of file +var _0x8436=['../../config/environment','client','http','request','then','info','CmCompany,\x20%s,\x20%s','debug','CmCompany,\x20%s,\x20%s,\x20%s','request\x20sent','error','code','message','result','catch','lodash','util','moment','bluebird','randomstring','../../config/utils','../../config/logger'];(function(_0x4daed9,_0x14f495){var _0x47b022=function(_0x33f3b5){while(--_0x33f3b5){_0x4daed9['push'](_0x4daed9['shift']());}};_0x47b022(++_0x14f495);}(_0x8436,0x1b1));var _0x6843=function(_0x267067,_0x512c5d){_0x267067=_0x267067-0x0;var _0x1022a2=_0x8436[_0x267067];return _0x1022a2;};'use strict';var _=require(_0x6843('0x0'));var util=require(_0x6843('0x1'));var moment=require(_0x6843('0x2'));var BPromise=require(_0x6843('0x3'));var rs=require(_0x6843('0x4'));var fs=require('fs');var Redis=require('ioredis');var db=require('../../mysqldb')['db'];var utils=require(_0x6843('0x5'));var logger=require(_0x6843('0x6'))('rpc');var config=require(_0x6843('0x7'));var jayson=require('jayson/promise');var client=jayson[_0x6843('0x8')][_0x6843('0x9')]({'port':0x232a});function respondWithRpcPromise(_0x1e9959,_0x4940db,_0x5328a4){return new BPromise(function(_0x19b187,_0x369ea9){return client[_0x6843('0xa')](_0x1e9959,_0x5328a4)[_0x6843('0xb')](function(_0x4a91ab){logger[_0x6843('0xc')](_0x6843('0xd'),_0x4940db,'request\x20sent');logger[_0x6843('0xe')](_0x6843('0xf'),_0x4940db,_0x6843('0x10'),JSON['stringify'](_0x4a91ab));if(_0x4a91ab[_0x6843('0x11')]){if(_0x4a91ab[_0x6843('0x11')][_0x6843('0x12')]===0x1f4){logger[_0x6843('0x11')](_0x6843('0xd'),_0x4940db,_0x4a91ab['error'][_0x6843('0x13')]);return _0x369ea9(_0x4a91ab['error']['message']);}logger[_0x6843('0x11')](_0x6843('0xd'),_0x4940db,_0x4a91ab[_0x6843('0x11')][_0x6843('0x13')]);return _0x19b187(_0x4a91ab['error']['message']);}else{logger[_0x6843('0xc')](_0x6843('0xd'),_0x4940db,'request\x20sent');_0x19b187(_0x4a91ab[_0x6843('0x14')][_0x6843('0x13')]);}})[_0x6843('0x15')](function(_0x612548){logger['error'](_0x6843('0xd'),_0x4940db,_0x612548);_0x369ea9(_0x612548);});});} \ No newline at end of file diff --git a/server/api/cmCompany/index.js b/server/api/cmCompany/index.js index db111b9..73eeae8 100644 --- a/server/api/cmCompany/index.js +++ b/server/api/cmCompany/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xf61e=['../../components/interaction/service','../../config/environment','./cmCompany.controller','get','isAuthenticated','/describe','describe','/:id','/:id/contacts','getContacts','post','create','addContacts','put','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service'];(function(_0x39b25b,_0x34bbe4){var _0x54f104=function(_0x43cc91){while(--_0x43cc91){_0x39b25b['push'](_0x39b25b['shift']());}};_0x54f104(++_0x34bbe4);}(_0xf61e,0x191));var _0xef61=function(_0x1f0023,_0x1630c0){_0x1f0023=_0x1f0023-0x0;var _0x378e93=_0xf61e[_0x1f0023];return _0x378e93;};'use strict';var multer=require(_0xef61('0x0'));var util=require(_0xef61('0x1'));var path=require(_0xef61('0x2'));var timeout=require(_0xef61('0x3'));var express=require(_0xef61('0x4'));var router=express[_0xef61('0x5')]();var auth=require(_0xef61('0x6'));var interaction=require(_0xef61('0x7'));var config=require(_0xef61('0x8'));var controller=require(_0xef61('0x9'));router[_0xef61('0xa')]('/',auth[_0xef61('0xb')](),controller['index']);router[_0xef61('0xa')](_0xef61('0xc'),auth['isAuthenticated'](),controller[_0xef61('0xd')]);router[_0xef61('0xa')](_0xef61('0xe'),auth['isAuthenticated'](),controller['show']);router[_0xef61('0xa')](_0xef61('0xf'),auth[_0xef61('0xb')](),controller[_0xef61('0x10')]);router[_0xef61('0x11')]('/',auth[_0xef61('0xb')](),controller[_0xef61('0x12')]);router[_0xef61('0x11')](_0xef61('0xf'),auth[_0xef61('0xb')](),controller[_0xef61('0x13')]);router[_0xef61('0x14')](_0xef61('0xe'),auth[_0xef61('0xb')](),controller['update']);router[_0xef61('0x15')]('/:id',auth[_0xef61('0xb')](),controller[_0xef61('0x16')]);module[_0xef61('0x17')]=router; \ No newline at end of file +var _0xf2e3=['describe','/:id','show','/:id/contacts','getContacts','post','create','put','update','delete','destroy','multer','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./cmCompany.controller','get','index','/describe','isAuthenticated'];(function(_0x33fcbb,_0x291d0f){var _0x2efe40=function(_0x2e9442){while(--_0x2e9442){_0x33fcbb['push'](_0x33fcbb['shift']());}};_0x2efe40(++_0x291d0f);}(_0xf2e3,0x9b));var _0x3f2e=function(_0x9dfc10,_0x19c2d5){_0x9dfc10=_0x9dfc10-0x0;var _0x4f938a=_0xf2e3[_0x9dfc10];return _0x4f938a;};'use strict';var multer=require(_0x3f2e('0x0'));var util=require('util');var path=require(_0x3f2e('0x1'));var timeout=require(_0x3f2e('0x2'));var express=require(_0x3f2e('0x3'));var router=express[_0x3f2e('0x4')]();var auth=require(_0x3f2e('0x5'));var interaction=require(_0x3f2e('0x6'));var config=require(_0x3f2e('0x7'));var controller=require(_0x3f2e('0x8'));router[_0x3f2e('0x9')]('/',auth['isAuthenticated'](),controller[_0x3f2e('0xa')]);router[_0x3f2e('0x9')](_0x3f2e('0xb'),auth[_0x3f2e('0xc')](),controller[_0x3f2e('0xd')]);router[_0x3f2e('0x9')](_0x3f2e('0xe'),auth[_0x3f2e('0xc')](),controller[_0x3f2e('0xf')]);router[_0x3f2e('0x9')](_0x3f2e('0x10'),auth[_0x3f2e('0xc')](),controller[_0x3f2e('0x11')]);router[_0x3f2e('0x12')]('/',auth[_0x3f2e('0xc')](),controller[_0x3f2e('0x13')]);router[_0x3f2e('0x12')](_0x3f2e('0x10'),auth[_0x3f2e('0xc')](),controller['addContacts']);router[_0x3f2e('0x14')](_0x3f2e('0xe'),auth['isAuthenticated'](),controller[_0x3f2e('0x15')]);router[_0x3f2e('0x16')](_0x3f2e('0xe'),auth[_0x3f2e('0xc')](),controller[_0x3f2e('0x17')]);module['exports']=router; \ No newline at end of file diff --git a/server/api/cmContact/cmContact.attributes.js b/server/api/cmContact/cmContact.attributes.js index b5da498..2d7ef2b 100644 --- a/server/api/cmContact/cmContact.attributes.js +++ b/server/api/cmContact/cmContact.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x25ff=['STRING','INTEGER','DATE','NOW','lodash','sequelize','exports'];(function(_0x559844,_0x54c558){var _0x479b18=function(_0x565b3d){while(--_0x565b3d){_0x559844['push'](_0x559844['shift']());}};_0x479b18(++_0x54c558);}(_0x25ff,0xeb));var _0xf25f=function(_0x32cb88,_0xcd305d){_0x32cb88=_0x32cb88-0x0;var _0x577c6b=_0x25ff[_0x32cb88];return _0x577c6b;};'use strict';var _=require(_0xf25f('0x0'));var Sequelize=require(_0xf25f('0x1'));module[_0xf25f('0x2')]={'firstName':{'type':Sequelize[_0xf25f('0x3')],'allowNull':![]},'lastName':{'type':Sequelize[_0xf25f('0x3')]},'street':{'type':Sequelize[_0xf25f('0x3')]},'postalCode':{'type':Sequelize['STRING']},'city':{'type':Sequelize['STRING']},'country':{'type':Sequelize['STRING']},'dateOfBirth':{'type':Sequelize[_0xf25f('0x3')]},'description':{'type':Sequelize['TEXT']},'phone':{'type':Sequelize[_0xf25f('0x3')]},'mobile':{'type':Sequelize[_0xf25f('0x3')]},'fax':{'type':Sequelize[_0xf25f('0x3')]},'email':{'type':Sequelize['STRING']},'url':{'type':Sequelize['STRING']},'facebook':{'type':Sequelize[_0xf25f('0x3')]},'fb_data':{'type':Sequelize[_0xf25f('0x3')]},'twitter':{'type':Sequelize[_0xf25f('0x3')]},'skype':{'type':Sequelize['STRING']},'teams':{'type':Sequelize[_0xf25f('0x3')]},'viber':{'type':Sequelize[_0xf25f('0x3')]},'line':{'type':Sequelize[_0xf25f('0x3')]},'wechat':{'type':Sequelize[_0xf25f('0x3')]},'telegram':{'type':Sequelize['STRING']},'UserId':{'type':Sequelize[_0xf25f('0x4')]},'priority':{'type':Sequelize[_0xf25f('0x4')](0x2)['UNSIGNED'],'defaultValue':0x2,'validate':{'min':0x0,'max':0x4}},'scheduledat':{'type':Sequelize[_0xf25f('0x5')],'defaultValue':Sequelize[_0xf25f('0x6')]}}; \ No newline at end of file +var _0xa308=['STRING','TEXT','INTEGER','UNSIGNED','NOW','exports'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0xa308,0x71));var _0x8a30=function(_0x1ca29f,_0x318ac5){_0x1ca29f=_0x1ca29f-0x0;var _0x576c3b=_0xa308[_0x1ca29f];return _0x576c3b;};'use strict';var _=require('lodash');var Sequelize=require('sequelize');module[_0x8a30('0x0')]={'firstName':{'type':Sequelize[_0x8a30('0x1')],'allowNull':![]},'lastName':{'type':Sequelize[_0x8a30('0x1')]},'street':{'type':Sequelize[_0x8a30('0x1')]},'postalCode':{'type':Sequelize[_0x8a30('0x1')]},'city':{'type':Sequelize['STRING']},'country':{'type':Sequelize[_0x8a30('0x1')]},'dateOfBirth':{'type':Sequelize[_0x8a30('0x1')]},'description':{'type':Sequelize[_0x8a30('0x2')]},'phone':{'type':Sequelize[_0x8a30('0x1')]},'mobile':{'type':Sequelize[_0x8a30('0x1')]},'fax':{'type':Sequelize[_0x8a30('0x1')]},'email':{'type':Sequelize[_0x8a30('0x1')]},'url':{'type':Sequelize[_0x8a30('0x1')]},'facebook':{'type':Sequelize['STRING']},'fb_data':{'type':Sequelize[_0x8a30('0x1')]},'twitter':{'type':Sequelize[_0x8a30('0x1')]},'skype':{'type':Sequelize[_0x8a30('0x1')]},'teams':{'type':Sequelize[_0x8a30('0x1')]},'viber':{'type':Sequelize[_0x8a30('0x1')]},'line':{'type':Sequelize[_0x8a30('0x1')]},'wechat':{'type':Sequelize[_0x8a30('0x1')]},'telegram':{'type':Sequelize[_0x8a30('0x1')]},'UserId':{'type':Sequelize[_0x8a30('0x3')]},'priority':{'type':Sequelize[_0x8a30('0x3')](0x2)[_0x8a30('0x4')],'defaultValue':0x2,'validate':{'min':0x0,'max':0x4}},'scheduledat':{'type':Sequelize['DATE'],'defaultValue':Sequelize[_0x8a30('0x5')]}}; \ No newline at end of file diff --git a/server/api/cmContact/cmContact.controller.js b/server/api/cmContact/cmContact.controller.js index c821725..b963b20 100644 --- a/server/api/cmContact/cmContact.controller.js +++ b/server/api/cmContact/cmContact.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xd2ce=['push','findOne','trimStart','all','length','fieldType','query','filters','model','attributes','intersection','fields','nolimit','order','sort','where','pick','select','field','color','tools_tags','from','cm_contacts','left_join','cm_user_has_contacts','uc.CmContactId\x20=\x20c.id','cm_contact_has_tags','expr','search','parseSearch','conditions','find','map','forEach','CONCAT(\x27,\x27,\x20`TagIds`,\x20\x27,\x27)\x20LIKE\x20?','User','value','dateOfBirth','datetime','castTo','DATE','type','text','start','hasOwnProperty','filter','isNil','Contact','ListId','concat','tag','replace','\x27\x27\x27\x27','split','MATCH\x20(c.firstName,\x20c.lastName,\x20c.phone,\x20c.mobile,\x20c.fax,\x20c.email)\x20AGAINST\x20(?\x20IN\x20BOOLEAN\x20MODE)','isNumeric','c.phone\x20LIKE\x20?','c.mobile\x20LIKE\x20?','c.fax\x20LIKE\x20?','isEmail','c.firstName\x20LIKE\x20?','c.email\x20LIKE\x20?','group','c.id','QueryTypes','SELECT','clone','DESC','isEmpty','having','t.id\x20IN\x20?','some','user','getLists','c.ListId\x20IS\x20NULL','c.ListId\x20IN\x20?','toString','sequelize','keyBy','merge','c.firstName','c.lastName','c.phone','c.mobile','GROUP_CONCAT(DISTINCT\x20t.id)','TagIds','Tags','rows','tags','columnName','displayName','CmCustomField','findAll','alias','custom','catch','body','get','mergeWith','isArray','info','CmHopper','CmHopperBlack','create','ChatInteraction','ChatOfflineMessage','MailInteraction','MailMessage','SmsInteraction','FaxMessage','OpenchannelInteraction','OpenchannelMessage','CmHopperFinal','CmHopperHistory','ReportAgentPreview','VoiceCallReport','ChatQueueReport','FaxQueueReport','MailQueueReport','SmsQueueReport','JscriptySessionReport','join','bulkCreate','each','duplicates','$or','findOrCreate','spread','show','params','Tag','$and','omit','format','cf_%d','pickBy','table','setFields','id\x20=\x20?','toParam','values','phone','getTags','options','setTags','ids','getHoppers','rawAttributes','ContactId','include','getHopperHistories','includeAll','getHopperFinals','getJscriptySessions','uploadCsv','No\x20ListId\x20specified','binding_keys','No\x20association\x20keys\x20specified!','binding_values','No\x20association\x20values\x20specified!','Unable\x20to\x20synchronize\x20socket,\x20no\x20timestamp\x20passed','zipObject','No\x20phone\x20column\x20specified','firstName','No\x20firstName\x20column\x20specified','root','server/files/tmp','file','filename','chmodSync','0777','fork','CompanyId','socket_timestamp','File\x20uploaded\x20correctly!','upload','meta','binding','child_process','../../components/import/cm/csv2','stringify','message','start\x20child\x20process\x20correctly!','exit','error\x20child\x20process','pid','html-pdf','eml-format','rimraf','zip-dir','request-promise','moment','bluebird','mustache','util','sox','lodash','squel','crypto','to-csv','querystring','papaparse','../../components/auth/service','../../components/parsers/qs','../../config/license/hardware','../../config/utils','../../mysqldb','redis','defaults','localhost','./cmContact.socket','register','sendStatus','status','end','json','count','offset','limit','Content-Range','apply','reject','save','update','then','destroy','error','stack','name','send','index','CmContact','describe','keys','startsWith','cf_'];(function(_0x61cd70,_0x441568){var _0x4fa137=function(_0x2bc1fd){while(--_0x2bc1fd){_0x61cd70['push'](_0x61cd70['shift']());}};_0x4fa137(++_0x441568);}(_0xd2ce,0x1a6));var _0xed2c=function(_0xf0bcac,_0x531755){_0xf0bcac=_0xf0bcac-0x0;var _0x4e4c65=_0xd2ce[_0xf0bcac];return _0x4e4c65;};'use strict';var pdf=require(_0xed2c('0x0'));var emlformat=require(_0xed2c('0x1'));var rimraf=require(_0xed2c('0x2'));var zipdir=require(_0xed2c('0x3'));var jsonpatch=require('fast-json-patch');var rp=require(_0xed2c('0x4'));var moment=require(_0xed2c('0x5'));var BPromise=require(_0xed2c('0x6'));var Mustache=require(_0xed2c('0x7'));var util=require(_0xed2c('0x8'));var path=require('path');var sox=require(_0xed2c('0x9'));var csv=require('to-csv');var ejs=require('ejs');var fs=require('fs');var _=require(_0xed2c('0xa'));var squel=require(_0xed2c('0xb'));var crypto=require(_0xed2c('0xc'));var jsforce=require('jsforce');var deskjs=require('desk.js');var toCsv=require(_0xed2c('0xd'));var querystring=require(_0xed2c('0xe'));var Papa=require(_0xed2c('0xf'));var Redis=require('ioredis');var authService=require(_0xed2c('0x10'));var qs=require(_0xed2c('0x11'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0xed2c('0x12'));var logger=require('../../config/logger')('api');var utils=require(_0xed2c('0x13'));var config=require('../../config/environment');var db=require(_0xed2c('0x14'))['db'];config[_0xed2c('0x15')]=_[_0xed2c('0x16')](config[_0xed2c('0x15')],{'host':_0xed2c('0x17'),'port':0x18eb});var socket=require('socket.io-emitter')(new Redis(config[_0xed2c('0x15')]));require(_0xed2c('0x18'))[_0xed2c('0x19')](socket);function respondWithStatusCode(_0x2789ce,_0x149dda){_0x149dda=_0x149dda||0xcc;return function(_0x47c280){if(_0x47c280){return _0x2789ce[_0xed2c('0x1a')](_0x149dda);}return _0x2789ce[_0xed2c('0x1b')](_0x149dda)[_0xed2c('0x1c')]();};}function respondWithResult(_0x8209fb,_0x318ce7){_0x318ce7=_0x318ce7||0xc8;return function(_0x39d8f0){if(_0x39d8f0){return _0x8209fb['status'](_0x318ce7)[_0xed2c('0x1d')](_0x39d8f0);}};}function respondWithFilteredResult(_0x4efca5,_0x543892){return function(_0x355a63){if(_0x355a63){var _0x2c3043=_0x355a63[_0xed2c('0x1e')],_0x5cb86d=_0x543892[_0xed2c('0x1f')],_0x1d31e1=_0x543892[_0xed2c('0x1f')]+_0x543892[_0xed2c('0x20')],_0x1a91be;if(_0x1d31e1>=_0x2c3043){_0x1d31e1=_0x2c3043;_0x1a91be=0xc8;}else{_0x1a91be=0xce;}_0x4efca5[_0xed2c('0x1b')](_0x1a91be);return _0x4efca5['set'](_0xed2c('0x21'),_0x5cb86d+'-'+_0x1d31e1+'/'+_0x2c3043)['json'](_0x355a63);}return null;};}function patchUpdates(_0x5b8560){return function(_0x287bef){try{jsonpatch[_0xed2c('0x22')](_0x287bef,_0x5b8560,!![]);}catch(_0x134af6){return BPromise[_0xed2c('0x23')](_0x134af6);}return _0x287bef[_0xed2c('0x24')]();};}function saveUpdates(_0x4269f0,_0x4aed4f){return function(_0x54cfc5){if(_0x54cfc5){return _0x54cfc5[_0xed2c('0x25')](_0x4269f0)[_0xed2c('0x26')](function(_0x55d889){return _0x55d889;});}return null;};}function removeEntity(_0x4345cb,_0x25f858){return function(_0x2fc2fd){if(_0x2fc2fd){return _0x2fc2fd[_0xed2c('0x27')]()[_0xed2c('0x26')](function(){_0x4345cb[_0xed2c('0x1b')](0xcc)['end']();});}};}function handleEntityNotFound(_0x42797f,_0x3f783b){return function(_0x3baa11){if(!_0x3baa11){_0x42797f['sendStatus'](0x194);}return _0x3baa11;};}function handleError(_0x4650ce,_0x2d7094){_0x2d7094=_0x2d7094||0x1f4;return function(_0x1a3630){logger[_0xed2c('0x28')](_0x1a3630[_0xed2c('0x29')]);if(_0x1a3630[_0xed2c('0x2a')]){delete _0x1a3630['name'];}_0x4650ce['status'](_0x2d7094)[_0xed2c('0x2b')](_0x1a3630);};}exports[_0xed2c('0x2c')]=function(_0x4979d9,_0xa7bbe8){var _0x31ce80={},_0xd8305a={},_0x14d0b3={'count':0x0,'rows':[]};return db[_0xed2c('0x2d')][_0xed2c('0x2e')]()[_0xed2c('0x26')](function(_0x41a733){var _0x289be0=[];for(var _0x40ea28=0x0;_0x40ea280x1){_0x173387['or'](_0xed2c('0x68'),qs['getFullTextValue'](_0x35a2d3),null);}else{if(qs[_0xed2c('0x69')](_0x35a2d3)){_0x173387['or']('c.id\x20LIKE\x20?',_0x35a2d3+'%');_0x173387['or'](_0xed2c('0x6a'),_0x35a2d3+'%');_0x173387['or'](_0xed2c('0x6b'),_0x35a2d3+'%');_0x173387['or'](_0xed2c('0x6c'),_0x35a2d3+'%');}else if(qs[_0xed2c('0x6d')](_0x35a2d3)){_0x173387['or']('c.email\x20LIKE\x20?',_0x35a2d3+'%');}else{_0x173387['or'](_0xed2c('0x6e'),'%'+_0x35a2d3+'%');_0x173387['or']('c.lastName\x20LIKE\x20?','%'+_0x35a2d3+'%');_0x173387['or'](_0xed2c('0x6f'),'%'+_0x35a2d3+'%');}}}}_0x6cae13[_0xed2c('0x41')](_0x173387);_0x6cae13[_0xed2c('0x70')](_0xed2c('0x71'));var _0x39269={'type':db['Sequelize'][_0xed2c('0x72')][_0xed2c('0x73')],'raw':!![]};var _0x41608e=_0x6cae13[_0xed2c('0x74')]()['field'](_0xed2c('0x71'));if(_0x31ce80['order']){_0x31ce80[_0xed2c('0x3f')][_0xed2c('0x53')](function(_0x35e55c){_0x6cae13['order']('c.'+_0x35e55c[0x0],_0x35e55c[0x1]===_0xed2c('0x75')?![]:!![]);});}if(!_[_0xed2c('0x76')](_0x2189f7)){_0x6cae13[_0xed2c('0x77')](_0x812b9);_0x41608e[_0xed2c('0x41')](_0xed2c('0x78'),_0x2189f7);}BPromise['resolve']()[_0xed2c('0x26')](function(){if(_0x47c0ce&&!_[_0xed2c('0x79')](_0x47c0ce[_0xed2c('0x50')],['field',_0xed2c('0x55')])){return _0x4979d9[_0xed2c('0x7a')][_0xed2c('0x7b')]({'attributes':['id'],'raw':!![]})[_0xed2c('0x26')](function(_0xa216c5){if(_[_0xed2c('0x76')](_0xa216c5)){_0x41608e['where'](_0xed2c('0x7c'));_0x6cae13['where'](_0xed2c('0x7c'));}else{_0x41608e[_0xed2c('0x41')]('c.ListId\x20IN\x20?',_[_0xed2c('0x52')](_0xa216c5,'id'));_0x6cae13[_0xed2c('0x41')](_0xed2c('0x7d'),_[_0xed2c('0x52')](_0xa216c5,'id'));}});}else{return;}})[_0xed2c('0x26')](function(){db['sequelize'][_0xed2c('0x38')](_0x41608e[_0xed2c('0x7e')](),_0x39269)[_0xed2c('0x26')](function(_0x4a79a7){_0x14d0b3[_0xed2c('0x1e')]=_0x4a79a7[_0xed2c('0x36')];if(_0x14d0b3[_0xed2c('0x1e')]===0x0)return[];return db[_0xed2c('0x7f')][_0xed2c('0x38')](_0x4bfd1c[_0xed2c('0x7e')](),_0x39269);})[_0xed2c('0x26')](function(_0x491b6e){_0x43a80b=_[_0xed2c('0x80')](_0x491b6e,'id');_0x39269=_[_0xed2c('0x81')](_0x39269,{'model':db['CmContact'],'mapToModel':!![],'raw':!![],'nest':!![]});if(_0x4979d9[_0xed2c('0x38')][_0xed2c('0x3d')]){_0x31ce80[_0xed2c('0x3b')]['forEach'](function(_0x5d7b81){_0x6cae13[_0xed2c('0x44')]('c.'+_0x5d7b81);});}else{_0x6cae13[_0xed2c('0x44')](_0xed2c('0x71'));_0x6cae13[_0xed2c('0x44')](_0xed2c('0x82'));_0x6cae13[_0xed2c('0x44')](_0xed2c('0x83'));_0x6cae13[_0xed2c('0x44')](_0xed2c('0x84'));_0x6cae13[_0xed2c('0x44')](_0xed2c('0x85'));_0x6cae13[_0xed2c('0x44')]('c.fax');_0x6cae13['field']('c.email');_0x6cae13[_0xed2c('0x44')]('c.ListId');_0x6cae13[_0xed2c('0x44')]('c.deletedAt');_0x6cae13['field'](_0xed2c('0x86'),'TagIds');}if(_0x31ce80[_0xed2c('0x20')])_0x6cae13[_0xed2c('0x20')](_0x31ce80['limit']);if(_0x31ce80[_0xed2c('0x1f')])_0x6cae13[_0xed2c('0x1f')](_0x31ce80['offset']);return db[_0xed2c('0x7f')]['query'](_0x6cae13[_0xed2c('0x7e')](),_0x39269);})[_0xed2c('0x26')](function(_0x4c04f0){_0x4c04f0[_0xed2c('0x53')](function(_0x229a72){if(_0x229a72[_0xed2c('0x87')]){_0x229a72[_0xed2c('0x88')]=[];_0x229a72[_0xed2c('0x87')][_0xed2c('0x67')](',')['forEach'](function(_0x14cd54){_0x229a72[_0xed2c('0x88')][_0xed2c('0x32')](_0x43a80b[_0x14cd54]);});}delete _0x229a72['TagIds'];});_0x14d0b3[_0xed2c('0x89')]=_0x4c04f0;return _0x14d0b3;})[_0xed2c('0x26')](respondWithFilteredResult(_0xa7bbe8,_0x31ce80));});})['catch'](handleError(_0xa7bbe8,null));};exports[_0xed2c('0x27')]=function(_0x4cb247,_0x184641){return db[_0xed2c('0x2d')][_0xed2c('0x51')]({'where':{'id':_0x4cb247['params']['id']}})[_0xed2c('0x26')](handleEntityNotFound(_0x184641,null))[_0xed2c('0x26')](removeEntity(_0x184641,null))['catch'](handleError(_0x184641,null));};exports['describe']=function(_0x238823,_0x29a898){return db[_0xed2c('0x2d')]['describe']()[_0xed2c('0x26')](function(_0x448c2a){delete _0x448c2a[_0xed2c('0x8a')];for(var _0x4a0165=0x0;_0x4a0165=_0x5d27dd){_0x29a0c6=_0x5d27dd;_0x338cac=0xc8;}else{_0x338cac=0xce;}_0x5cf617[_0xb155('0x1f')](_0x338cac);return _0x5cf617['set']('Content-Range',_0x9f79ca+'-'+_0x29a0c6+'/'+_0x5d27dd)[_0xb155('0x21')](_0x21222a);}return null;};}function patchUpdates(_0x1f728d){return function(_0x362b0e){try{jsonpatch[_0xb155('0x24')](_0x362b0e,_0x1f728d,!![]);}catch(_0x2da062){return BPromise[_0xb155('0x25')](_0x2da062);}return _0x362b0e['save']();};}function saveUpdates(_0x159852,_0xf1216b){return function(_0x1f4a67){if(_0x1f4a67){return _0x1f4a67['update'](_0x159852)[_0xb155('0x26')](function(_0x3611cc){return _0x3611cc;});}return null;};}function removeEntity(_0x4b2a15,_0x371b0b){return function(_0x44bb26){if(_0x44bb26){return _0x44bb26[_0xb155('0x27')]()[_0xb155('0x26')](function(){_0x4b2a15[_0xb155('0x1f')](0xcc)[_0xb155('0x20')]();});}};}function handleEntityNotFound(_0x35044e,_0x489504){return function(_0x481771){if(!_0x481771){_0x35044e[_0xb155('0x1e')](0x194);}return _0x481771;};}function handleError(_0x3bb468,_0x5f3cc1){_0x5f3cc1=_0x5f3cc1||0x1f4;return function(_0x19e097){logger[_0xb155('0x28')](_0x19e097[_0xb155('0x29')]);if(_0x19e097[_0xb155('0x2a')]){delete _0x19e097[_0xb155('0x2a')];}_0x3bb468[_0xb155('0x1f')](_0x5f3cc1)[_0xb155('0x2b')](_0x19e097);};}exports[_0xb155('0x2c')]=function(_0x5e5f06,_0x59de0d){var _0x2a581d={},_0x2685c8={},_0x4da774={'count':0x0,'rows':[]};return db[_0xb155('0x2d')][_0xb155('0x2e')]()[_0xb155('0x26')](function(_0x29c1c2){var _0x12100a=[];for(var _0x3e594e=0x0;_0x3e594e0x1){_0x5bdac6['or'](_0xb155('0x68'),qs[_0xb155('0x69')](_0x4e9ec6),null);}else{if(qs[_0xb155('0x6a')](_0x4e9ec6)){_0x5bdac6['or'](_0xb155('0x6b'),_0x4e9ec6+'%');_0x5bdac6['or'](_0xb155('0x6c'),_0x4e9ec6+'%');_0x5bdac6['or'](_0xb155('0x6d'),_0x4e9ec6+'%');_0x5bdac6['or'](_0xb155('0x6e'),_0x4e9ec6+'%');}else if(qs['isEmail'](_0x4e9ec6)){_0x5bdac6['or'](_0xb155('0x6f'),_0x4e9ec6+'%');}else{_0x5bdac6['or']('c.firstName\x20LIKE\x20?','%'+_0x4e9ec6+'%');_0x5bdac6['or']('c.lastName\x20LIKE\x20?','%'+_0x4e9ec6+'%');_0x5bdac6['or'](_0xb155('0x6f'),'%'+_0x4e9ec6+'%');}}}}_0x2d4d58[_0xb155('0x40')](_0x5bdac6);_0x2d4d58['group'](_0xb155('0x70'));var _0x438bd5={'type':db['Sequelize']['QueryTypes'][_0xb155('0x71')],'raw':!![]};var _0x383ccf=_0x2d4d58['clone']()['field'](_0xb155('0x70'));if(_0x2a581d[_0xb155('0x72')]){_0x2a581d[_0xb155('0x72')][_0xb155('0x54')](function(_0xf00a86){_0x2d4d58[_0xb155('0x72')]('c.'+_0xf00a86[0x0],_0xf00a86[0x1]==='DESC'?![]:!![]);});}if(!_[_0xb155('0x60')](_0x405d40)){_0x2d4d58[_0xb155('0x73')](_0x12ba50);_0x383ccf[_0xb155('0x40')](_0xb155('0x74'),_0x405d40);}BPromise[_0xb155('0x75')]()[_0xb155('0x26')](function(){if(_0x206435&&!_['some'](_0x206435[_0xb155('0x51')],[_0xb155('0x43'),_0xb155('0x76')])){return _0x5e5f06[_0xb155('0x77')][_0xb155('0x78')]({'attributes':['id'],'raw':!![]})[_0xb155('0x26')](function(_0x417cd1){if(_[_0xb155('0x60')](_0x417cd1)){_0x383ccf[_0xb155('0x40')]('c.ListId\x20IS\x20NULL');_0x2d4d58[_0xb155('0x40')](_0xb155('0x79'));}else{_0x383ccf['where'](_0xb155('0x61'),_['map'](_0x417cd1,'id'));_0x2d4d58[_0xb155('0x40')](_0xb155('0x61'),_['map'](_0x417cd1,'id'));}});}else{return;}})[_0xb155('0x26')](function(){db[_0xb155('0x7a')][_0xb155('0x39')](_0x383ccf['toString'](),_0x438bd5)[_0xb155('0x26')](function(_0x1b804a){_0x4da774['count']=_0x1b804a[_0xb155('0x2f')];if(_0x4da774['count']===0x0)return[];return db[_0xb155('0x7a')][_0xb155('0x39')](_0x3a7e01[_0xb155('0x7b')](),_0x438bd5);})[_0xb155('0x26')](function(_0x5e5820){_0x4df7a2=_[_0xb155('0x7c')](_0x5e5820,'id');_0x438bd5=_[_0xb155('0x7d')](_0x438bd5,{'model':db['CmContact'],'mapToModel':!![],'raw':!![],'nest':!![]});if(_0x5e5f06[_0xb155('0x39')][_0xb155('0x3c')]){_0x2a581d['attributes']['forEach'](function(_0x3b5055){_0x2d4d58[_0xb155('0x43')]('c.'+_0x3b5055);});}else{_0x2d4d58[_0xb155('0x43')](_0xb155('0x70'));_0x2d4d58[_0xb155('0x43')]('c.firstName');_0x2d4d58[_0xb155('0x43')](_0xb155('0x7e'));_0x2d4d58[_0xb155('0x43')](_0xb155('0x7f'));_0x2d4d58[_0xb155('0x43')](_0xb155('0x80'));_0x2d4d58[_0xb155('0x43')](_0xb155('0x81'));_0x2d4d58[_0xb155('0x43')](_0xb155('0x82'));_0x2d4d58['field']('c.ListId');_0x2d4d58['field'](_0xb155('0x83'));_0x2d4d58[_0xb155('0x43')](_0xb155('0x84'),'TagIds');}if(_0x2a581d['limit'])_0x2d4d58[_0xb155('0x23')](_0x2a581d['limit']);if(_0x2a581d[_0xb155('0x22')])_0x2d4d58[_0xb155('0x22')](_0x2a581d[_0xb155('0x22')]);return db[_0xb155('0x7a')][_0xb155('0x39')](_0x2d4d58['toString'](),_0x438bd5);})[_0xb155('0x26')](function(_0x276545){_0x276545[_0xb155('0x54')](function(_0x3587fb){if(_0x3587fb[_0xb155('0x85')]){_0x3587fb[_0xb155('0x86')]=[];_0x3587fb[_0xb155('0x85')][_0xb155('0x67')](',')[_0xb155('0x54')](function(_0x48b329){_0x3587fb[_0xb155('0x86')][_0xb155('0x87')](_0x4df7a2[_0x48b329]);});}delete _0x3587fb[_0xb155('0x85')];});_0x4da774['rows']=_0x276545;return _0x4da774;})['then'](respondWithFilteredResult(_0x59de0d,_0x2a581d));});})[_0xb155('0x88')](handleError(_0x59de0d,null));};exports[_0xb155('0x27')]=function(_0x113923,_0x449512){return db[_0xb155('0x2d')][_0xb155('0x89')]({'where':{'id':_0x113923['params']['id']}})[_0xb155('0x26')](handleEntityNotFound(_0x449512,null))[_0xb155('0x26')](removeEntity(_0x449512,null))['catch'](handleError(_0x449512,null));};exports[_0xb155('0x2e')]=function(_0x24ea81,_0x5d6326){return db[_0xb155('0x2d')][_0xb155('0x2e')]()['then'](function(_0x232fb0){delete _0x232fb0[_0xb155('0x8a')];for(var _0x775c7b=0x0;_0x775c7b{}\s\\|]/g,'-');_0xccb3b(null,util[_0x4ae2('0x1a')]('%s-%s%s',path['basename'](_0x343db1[_0x4ae2('0x19')],path[_0x4ae2('0x1b')](_0x343db1[_0x4ae2('0x19')])),Date[_0x4ae2('0x1c')](),path[_0x4ae2('0x1b')](_0x343db1['originalname'])));}})});router[_0x4ae2('0x12')]('/csv',upload[_0x4ae2('0x1d')](_0x4ae2('0x1e')),controller[_0x4ae2('0x1f')]);var upload=multer({'storage':multer['diskStorage']({'destination':function(_0x43f112,_0x6f0cc6,_0x2454b3){_0x2454b3(null,path[_0x4ae2('0x17')](config[_0x4ae2('0x18')],_0x4ae2('0x20')));},'filename':function(_0x5b2e65,_0x5962b0,_0x9508d7){_0x5962b0[_0x4ae2('0x19')]=_0x5962b0[_0x4ae2('0x19')][_0x4ae2('0x21')](/[+@&\/\\#,+()$~%'":*?<>{}\s\\|]/g,'-');_0x9508d7(null,util[_0x4ae2('0x1a')](_0x4ae2('0x22'),path['basename'](_0x5962b0['originalname'],path[_0x4ae2('0x1b')](_0x5962b0['originalname'])),Date['now'](),path['extname'](_0x5962b0[_0x4ae2('0x19')])));}})});router[_0x4ae2('0x12')]('/upload',upload[_0x4ae2('0x1d')](_0x4ae2('0x1e')),controller[_0x4ae2('0x23')]);router[_0x4ae2('0x12')](_0x4ae2('0x24'),auth[_0x4ae2('0x6')](),controller[_0x4ae2('0x25')]);router[_0x4ae2('0x26')](_0x4ae2('0x9'),auth[_0x4ae2('0x6')](),controller[_0x4ae2('0x27')]);router[_0x4ae2('0x28')](_0x4ae2('0x9'),auth[_0x4ae2('0x6')](),controller[_0x4ae2('0x29')]);module[_0x4ae2('0x2a')]=router; \ No newline at end of file +var _0x7da7=['isAuthenticated','index','/describe','describe','get','/:id','show','/:id/tags','getTags','/:id/hoppers','getHoppers','getHopperHistories','getHopperFinals','getJscriptySessions','post','/merge','merge','create','/create_many','setTags','diskStorage','join','root','originalname','replace','format','now','extname','/csv','single','server/files/tmp','%s-%s%s','file','upload','/upload/:id','put','update','delete','destroy','multer','util','path','Router','../../components/auth/service','../../config/environment','./cmContact.controller'];(function(_0x3fb102,_0x54262f){var _0x4bce9e=function(_0x5451b6){while(--_0x5451b6){_0x3fb102['push'](_0x3fb102['shift']());}};_0x4bce9e(++_0x54262f);}(_0x7da7,0x10d));var _0x77da=function(_0xd0a847,_0x72562b){_0xd0a847=_0xd0a847-0x0;var _0x2536ec=_0x7da7[_0xd0a847];return _0x2536ec;};'use strict';var multer=require(_0x77da('0x0'));var util=require(_0x77da('0x1'));var path=require(_0x77da('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x77da('0x3')]();var auth=require(_0x77da('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x77da('0x5'));var controller=require(_0x77da('0x6'));router['get']('/',auth[_0x77da('0x7')](),controller[_0x77da('0x8')]);router['get'](_0x77da('0x9'),auth['isAuthenticated'](),controller[_0x77da('0xa')]);router[_0x77da('0xb')](_0x77da('0xc'),auth[_0x77da('0x7')](),controller[_0x77da('0xd')]);router['get'](_0x77da('0xe'),auth[_0x77da('0x7')](),controller[_0x77da('0xf')]);router['get'](_0x77da('0x10'),auth[_0x77da('0x7')](),controller[_0x77da('0x11')]);router[_0x77da('0xb')]('/:id/hopper_histories',auth[_0x77da('0x7')](),controller[_0x77da('0x12')]);router[_0x77da('0xb')]('/:id/hopper_finals',auth['isAuthenticated'](),controller[_0x77da('0x13')]);router[_0x77da('0xb')]('/:id/jscripty_sessions',auth[_0x77da('0x7')](),controller[_0x77da('0x14')]);router[_0x77da('0x15')](_0x77da('0x16'),auth['isAuthenticated'](),controller[_0x77da('0x17')]);router['post']('/',auth[_0x77da('0x7')](),controller[_0x77da('0x18')]);router[_0x77da('0x15')](_0x77da('0x19'),auth['isAuthenticated'](),controller['bulkCreate']);router['post']('/:id/tags',auth[_0x77da('0x7')](),controller[_0x77da('0x1a')]);var upload=multer({'storage':multer[_0x77da('0x1b')]({'destination':function(_0x335dcb,_0x19a00c,_0x12d2b1){_0x12d2b1(null,path[_0x77da('0x1c')](config[_0x77da('0x1d')],'server/files/tmp'));},'filename':function(_0x492063,_0xd5a809,_0x4d1512){_0xd5a809['originalname']=_0xd5a809[_0x77da('0x1e')][_0x77da('0x1f')](/[+@&\/\\#,+()$~%'":*?<>{}\s\\|]/g,'-');_0x4d1512(null,util[_0x77da('0x20')]('%s-%s%s',path['basename'](_0xd5a809[_0x77da('0x1e')],path['extname'](_0xd5a809[_0x77da('0x1e')])),Date[_0x77da('0x21')](),path[_0x77da('0x22')](_0xd5a809[_0x77da('0x1e')])));}})});router[_0x77da('0x15')](_0x77da('0x23'),upload[_0x77da('0x24')]('file'),controller['uploadCsv']);var upload=multer({'storage':multer[_0x77da('0x1b')]({'destination':function(_0x2d009f,_0x835167,_0xbd06b7){_0xbd06b7(null,path['join'](config[_0x77da('0x1d')],_0x77da('0x25')));},'filename':function(_0x470c9f,_0x36115b,_0x446ae7){_0x36115b['originalname']=_0x36115b[_0x77da('0x1e')][_0x77da('0x1f')](/[+@&\/\\#,+()$~%'":*?<>{}\s\\|]/g,'-');_0x446ae7(null,util[_0x77da('0x20')](_0x77da('0x26'),path['basename'](_0x36115b['originalname'],path['extname'](_0x36115b[_0x77da('0x1e')])),Date[_0x77da('0x21')](),path[_0x77da('0x22')](_0x36115b[_0x77da('0x1e')])));}})});router[_0x77da('0x15')]('/upload',upload[_0x77da('0x24')](_0x77da('0x27')),controller[_0x77da('0x28')]);router[_0x77da('0x15')](_0x77da('0x29'),auth[_0x77da('0x7')](),controller['import']);router[_0x77da('0x2a')](_0x77da('0xc'),auth[_0x77da('0x7')](),controller[_0x77da('0x2b')]);router[_0x77da('0x2c')](_0x77da('0xc'),auth[_0x77da('0x7')](),controller[_0x77da('0x2d')]);module['exports']=router; \ No newline at end of file diff --git a/server/api/cmCustomField/cmCustomField.attributes.js b/server/api/cmCustomField/cmCustomField.attributes.js index be1bb38..96a48ac 100644 --- a/server/api/cmCustomField/cmCustomField.attributes.js +++ b/server/api/cmCustomField/cmCustomField.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x9e41=['isArray','BOOLEAN','sequelize','lodash','exports','VIRTUAL','alias','setDataValue','getDataValue','name','STRING','long','type','values'];(function(_0x3e27c5,_0x5dc984){var _0x2aeddf=function(_0x16fe08){while(--_0x16fe08){_0x3e27c5['push'](_0x3e27c5['shift']());}};_0x2aeddf(++_0x5dc984);}(_0x9e41,0x1c2));var _0x19e4=function(_0x2b78db,_0x81dc06){_0x2b78db=_0x2b78db-0x0;var _0x24b1d2=_0x9e41[_0x2b78db];return _0x24b1d2;};'use strict';var Sequelize=require(_0x19e4('0x0'));var _=require(_0x19e4('0x1'));module[_0x19e4('0x2')]={'name':{'type':Sequelize[_0x19e4('0x3')],'get':function(_0x1e6553){return this['getDataValue'](_0x19e4('0x4'));}},'alias':{'type':Sequelize['STRING'],'allowNull':![],'set':function(_0x16556c){this[_0x19e4('0x5')](_0x19e4('0x4'),_0x16556c?_0x16556c:this[_0x19e4('0x6')](_0x19e4('0x7')));}},'type':{'type':Sequelize[_0x19e4('0x8')],'allowNull':![]},'values':{'type':Sequelize['TEXT'](_0x19e4('0x9')),'get':function(){if(this[_0x19e4('0x6')](_0x19e4('0xa'))==='select'){return JSON['parse'](this[_0x19e4('0x6')](_0x19e4('0xb')));}else{return this[_0x19e4('0x6')](_0x19e4('0xb'));}},'set':function(_0x308f90){if(Array[_0x19e4('0xc')](_0x308f90)){this['setDataValue'](_0x19e4('0xb'),JSON['stringify'](_0x308f90));}else{this[_0x19e4('0x5')](_0x19e4('0xb'),_0x308f90);}}},'required':{'type':Sequelize[_0x19e4('0xd')],'defaultValue':![]}}; \ No newline at end of file +var _0xcf57=['select','parse','setDataValue','values','stringify','BOOLEAN','sequelize','lodash','exports','VIRTUAL','getDataValue','alias','STRING','TEXT','long'];(function(_0x3c56cb,_0x181106){var _0x41ddca=function(_0x186c9b){while(--_0x186c9b){_0x3c56cb['push'](_0x3c56cb['shift']());}};_0x41ddca(++_0x181106);}(_0xcf57,0x141));var _0x7cf5=function(_0x101125,_0x2c5953){_0x101125=_0x101125-0x0;var _0x40f6b0=_0xcf57[_0x101125];return _0x40f6b0;};'use strict';var Sequelize=require(_0x7cf5('0x0'));var _=require(_0x7cf5('0x1'));module[_0x7cf5('0x2')]={'name':{'type':Sequelize[_0x7cf5('0x3')],'get':function(_0x1a7b43){return this[_0x7cf5('0x4')](_0x7cf5('0x5'));}},'alias':{'type':Sequelize[_0x7cf5('0x6')],'allowNull':![],'set':function(_0x3d6ec3){this['setDataValue'](_0x7cf5('0x5'),_0x3d6ec3?_0x3d6ec3:this[_0x7cf5('0x4')]('name'));}},'type':{'type':Sequelize[_0x7cf5('0x6')],'allowNull':![]},'values':{'type':Sequelize[_0x7cf5('0x7')](_0x7cf5('0x8')),'get':function(){if(this[_0x7cf5('0x4')]('type')===_0x7cf5('0x9')){return JSON[_0x7cf5('0xa')](this['getDataValue']('values'));}else{return this[_0x7cf5('0x4')]('values');}},'set':function(_0x3aada2){if(Array['isArray'](_0x3aada2)){this[_0x7cf5('0xb')](_0x7cf5('0xc'),JSON[_0x7cf5('0xd')](_0x3aada2));}else{this[_0x7cf5('0xb')](_0x7cf5('0xc'),_0x3aada2);}}},'required':{'type':Sequelize[_0x7cf5('0xe')],'defaultValue':![]}}; \ No newline at end of file diff --git a/server/api/cmCustomField/cmCustomField.controller.js b/server/api/cmCustomField/cmCustomField.controller.js index 2307bf7..28310cb 100644 --- a/server/api/cmCustomField/cmCustomField.controller.js +++ b/server/api/cmCustomField/cmCustomField.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x9d8c=['map','rawAttributes','key','model','query','filters','intersection','attributes','fields','length','hasOwnProperty','order','where','pick','merge','type','VIRTUAL','options','CmCustomField','includeAll','rows','catch','show','params','keys','find','body','destroy','sequelize','create','TEXT','text','number','Sequelize','switch','BOOLEAN','defaultValue','addColumn','format','cf_%d','html-pdf','rimraf','zip-dir','fast-json-patch','request-promise','bluebird','util','path','sox','to-csv','ejs','lodash','crypto','desk.js','papaparse','ioredis','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','sendStatus','status','end','json','count','offset','limit','set','Content-Range','save','update','then','stack','name','index'];(function(_0x507251,_0x312754){var _0x220fd1=function(_0x15df55){while(--_0x15df55){_0x507251['push'](_0x507251['shift']());}};_0x220fd1(++_0x312754);}(_0x9d8c,0x158));var _0xc9d8=function(_0x30d2c3,_0x22441d){_0x30d2c3=_0x30d2c3-0x0;var _0x122ea9=_0x9d8c[_0x30d2c3];return _0x122ea9;};'use strict';var pdf=require(_0xc9d8('0x0'));var emlformat=require('eml-format');var rimraf=require(_0xc9d8('0x1'));var zipdir=require(_0xc9d8('0x2'));var jsonpatch=require(_0xc9d8('0x3'));var rp=require(_0xc9d8('0x4'));var moment=require('moment');var BPromise=require(_0xc9d8('0x5'));var Mustache=require('mustache');var util=require(_0xc9d8('0x6'));var path=require(_0xc9d8('0x7'));var sox=require(_0xc9d8('0x8'));var csv=require(_0xc9d8('0x9'));var ejs=require(_0xc9d8('0xa'));var fs=require('fs');var _=require(_0xc9d8('0xb'));var squel=require('squel');var crypto=require(_0xc9d8('0xc'));var jsforce=require('jsforce');var deskjs=require(_0xc9d8('0xd'));var toCsv=require(_0xc9d8('0x9'));var querystring=require('querystring');var Papa=require(_0xc9d8('0xe'));var Redis=require(_0xc9d8('0xf'));var authService=require('../../components/auth/service');var qs=require('../../components/parsers/qs');var as=require('../../components/parsers/advancedSearch');var hardwareService=require('../../config/license/hardware');var logger=require(_0xc9d8('0x10'))(_0xc9d8('0x11'));var utils=require(_0xc9d8('0x12'));var config=require(_0xc9d8('0x13'));var db=require(_0xc9d8('0x14'))['db'];function respondWithStatusCode(_0x1a8148,_0x1c4ed0){_0x1c4ed0=_0x1c4ed0||0xcc;return function(_0x2f5ede){if(_0x2f5ede){return _0x1a8148[_0xc9d8('0x15')](_0x1c4ed0);}return _0x1a8148[_0xc9d8('0x16')](_0x1c4ed0)[_0xc9d8('0x17')]();};}function respondWithResult(_0x4b8fa6,_0x40f0a7){_0x40f0a7=_0x40f0a7||0xc8;return function(_0xa33e20){if(_0xa33e20){return _0x4b8fa6['status'](_0x40f0a7)[_0xc9d8('0x18')](_0xa33e20);}};}function respondWithFilteredResult(_0x6ee2d7,_0x509a16){return function(_0xaa2fc5){if(_0xaa2fc5){var _0x4478a0=_0xaa2fc5[_0xc9d8('0x19')],_0x7c0a20=_0x509a16[_0xc9d8('0x1a')],_0x2b344b=_0x509a16[_0xc9d8('0x1a')]+_0x509a16[_0xc9d8('0x1b')],_0x3cd977;if(_0x2b344b>=_0x4478a0){_0x2b344b=_0x4478a0;_0x3cd977=0xc8;}else{_0x3cd977=0xce;}_0x6ee2d7[_0xc9d8('0x16')](_0x3cd977);return _0x6ee2d7[_0xc9d8('0x1c')](_0xc9d8('0x1d'),_0x7c0a20+'-'+_0x2b344b+'/'+_0x4478a0)['json'](_0xaa2fc5);}return null;};}function patchUpdates(_0x43cc0a){return function(_0x58bfe7){try{jsonpatch['apply'](_0x58bfe7,_0x43cc0a,!![]);}catch(_0x958de){return BPromise['reject'](_0x958de);}return _0x58bfe7[_0xc9d8('0x1e')]();};}function saveUpdates(_0x44278f,_0x1b7ef2){return function(_0x496d40){if(_0x496d40){return _0x496d40[_0xc9d8('0x1f')](_0x44278f)[_0xc9d8('0x20')](function(_0x2dcd8e){return _0x2dcd8e;});}return null;};}function removeEntity(_0x1644cd,_0x448163){return function(_0x12a811){if(_0x12a811){return _0x12a811['destroy']()['then'](function(){_0x1644cd[_0xc9d8('0x16')](0xcc)[_0xc9d8('0x17')]();});}};}function handleEntityNotFound(_0xdfd03a,_0x527de9){return function(_0x5a426f){if(!_0x5a426f){_0xdfd03a[_0xc9d8('0x15')](0x194);}return _0x5a426f;};}function handleError(_0xfc1250,_0x51c648){_0x51c648=_0x51c648||0x1f4;return function(_0x170282){logger['error'](_0x170282[_0xc9d8('0x21')]);if(_0x170282['name']){delete _0x170282[_0xc9d8('0x22')];}_0xfc1250[_0xc9d8('0x16')](_0x51c648)['send'](_0x170282);};}exports[_0xc9d8('0x23')]=function(_0x19c074,_0x2ea1f8){var _0x14da53={},_0x54ce2f={},_0x480c43={'count':0x0,'rows':[]};var _0x55379f=_[_0xc9d8('0x24')](db['CmCustomField'][_0xc9d8('0x25')],function(_0x2b7a20){return{'name':_0x2b7a20['fieldName'],'type':_0x2b7a20['type'][_0xc9d8('0x26')]};});_0x54ce2f[_0xc9d8('0x27')]=_['differenceBy'](_[_0xc9d8('0x24')](_0x55379f,'name'),[_0xc9d8('0x22')]);_0x54ce2f[_0xc9d8('0x28')]=_['keys'](_0x19c074[_0xc9d8('0x28')]);_0x54ce2f[_0xc9d8('0x29')]=_[_0xc9d8('0x2a')](_0x54ce2f[_0xc9d8('0x27')],_0x54ce2f[_0xc9d8('0x28')]);_0x14da53[_0xc9d8('0x2b')]=_[_0xc9d8('0x2a')](_0x54ce2f[_0xc9d8('0x27')],qs[_0xc9d8('0x2c')](_0x19c074[_0xc9d8('0x28')][_0xc9d8('0x2c')]));_0x14da53['attributes']=_0x14da53[_0xc9d8('0x2b')][_0xc9d8('0x2d')]?_0x14da53['attributes']:_0x54ce2f[_0xc9d8('0x27')];if(!_0x19c074[_0xc9d8('0x28')][_0xc9d8('0x2e')]('nolimit')){_0x14da53[_0xc9d8('0x1b')]=qs['limit'](_0x19c074[_0xc9d8('0x28')][_0xc9d8('0x1b')]);_0x14da53[_0xc9d8('0x1a')]=qs[_0xc9d8('0x1a')](_0x19c074[_0xc9d8('0x28')][_0xc9d8('0x1a')]);}_0x14da53[_0xc9d8('0x2f')]=qs['sort'](_0x19c074[_0xc9d8('0x28')]['sort']);_0x14da53[_0xc9d8('0x30')]=qs[_0xc9d8('0x29')](_[_0xc9d8('0x31')](_0x19c074[_0xc9d8('0x28')],_0x54ce2f[_0xc9d8('0x29')]),_0x55379f);if(_0x19c074[_0xc9d8('0x28')]['filter']){_0x14da53[_0xc9d8('0x30')]=_[_0xc9d8('0x32')](_0x14da53['where'],{'$or':_[_0xc9d8('0x24')](_0x55379f,function(_0x5b80a5){if(_0x5b80a5[_0xc9d8('0x33')]!==_0xc9d8('0x34')){var _0x26d4e1={};_0x26d4e1[_0x5b80a5[_0xc9d8('0x22')]]={'$like':'%'+_0x19c074['query']['filter']+'%'};return _0x26d4e1;}})});}_0x14da53=_['merge']({},_0x14da53,_0x19c074[_0xc9d8('0x35')]);var _0x56dccd={'where':_0x14da53[_0xc9d8('0x30')]};return db[_0xc9d8('0x36')][_0xc9d8('0x19')](_0x56dccd)[_0xc9d8('0x20')](function(_0x392679){_0x480c43[_0xc9d8('0x19')]=_0x392679;if(_0x19c074['query'][_0xc9d8('0x37')]){_0x14da53['include']=[{'all':!![]}];}return db[_0xc9d8('0x36')]['findAll'](_0x14da53);})['then'](function(_0x48d1f0){_0x480c43[_0xc9d8('0x38')]=_0x48d1f0;return _0x480c43;})[_0xc9d8('0x20')](respondWithFilteredResult(_0x2ea1f8,_0x14da53))[_0xc9d8('0x39')](handleError(_0x2ea1f8,null));};exports[_0xc9d8('0x3a')]=function(_0x5b058d,_0x4539cd){var _0x2e8d3e={'raw':!![],'where':{'id':_0x5b058d[_0xc9d8('0x3b')]['id']}},_0x2172a3={};_0x2172a3[_0xc9d8('0x27')]=_[_0xc9d8('0x3c')](db['CmCustomField'][_0xc9d8('0x25')]);_0x2172a3['query']=_[_0xc9d8('0x3c')](_0x5b058d[_0xc9d8('0x28')]);_0x2172a3[_0xc9d8('0x29')]=_[_0xc9d8('0x2a')](_0x2172a3['model'],_0x2172a3['query']);_0x2e8d3e[_0xc9d8('0x2b')]=_['intersection'](_0x2172a3['model'],qs[_0xc9d8('0x2c')](_0x5b058d[_0xc9d8('0x28')][_0xc9d8('0x2c')]));_0x2e8d3e['attributes']=_0x2e8d3e[_0xc9d8('0x2b')][_0xc9d8('0x2d')]?_0x2e8d3e['attributes']:_0x2172a3[_0xc9d8('0x27')];if(_0x5b058d['query'][_0xc9d8('0x37')]){_0x2e8d3e['include']=[{'all':!![]}];}_0x2e8d3e=_[_0xc9d8('0x32')]({},_0x2e8d3e,_0x5b058d[_0xc9d8('0x35')]);return db['CmCustomField'][_0xc9d8('0x3d')](_0x2e8d3e)[_0xc9d8('0x20')](handleEntityNotFound(_0x4539cd,null))[_0xc9d8('0x20')](respondWithResult(_0x4539cd,null))[_0xc9d8('0x39')](handleError(_0x4539cd,null));};exports['update']=function(_0x27e361,_0x1ea38c){if(_0x27e361['body']['id']){delete _0x27e361[_0xc9d8('0x3e')]['id'];}return db[_0xc9d8('0x36')][_0xc9d8('0x3d')]({'where':{'id':_0x27e361[_0xc9d8('0x3b')]['id']}})[_0xc9d8('0x20')](handleEntityNotFound(_0x1ea38c,null))[_0xc9d8('0x20')](saveUpdates(_0x27e361[_0xc9d8('0x3e')],null))[_0xc9d8('0x20')](respondWithResult(_0x1ea38c,null))['catch'](handleError(_0x1ea38c,null));};exports[_0xc9d8('0x3f')]=function(_0x388aef,_0x45edab){return db[_0xc9d8('0x36')][_0xc9d8('0x3d')]({'where':{'id':_0x388aef[_0xc9d8('0x3b')]['id']}})[_0xc9d8('0x20')](handleEntityNotFound(_0x45edab,null))[_0xc9d8('0x20')](removeEntity(_0x45edab,null))[_0xc9d8('0x39')](handleError(_0x45edab,null));};exports['create']=function(_0x2c959d,_0x163381){var _0x1676f9;return db[_0xc9d8('0x40')]['transaction'](function(_0x501e15){return db[_0xc9d8('0x36')][_0xc9d8('0x41')](_0x2c959d[_0xc9d8('0x3e')],{'transaction':_0x501e15})[_0xc9d8('0x20')](function(_0x4f3310){_0x1676f9=_0x4f3310;var _0x21ebfb={'type':db['Sequelize'][_0xc9d8('0x42')],'transaction':_0x501e15};switch(_0x2c959d['body'][_0xc9d8('0x33')]){case _0xc9d8('0x43'):_0x21ebfb['type']=db['Sequelize'][_0xc9d8('0x42')];break;case _0xc9d8('0x44'):_0x21ebfb[_0xc9d8('0x33')]=db[_0xc9d8('0x45')]['INTEGER'];break;case _0xc9d8('0x46'):_0x21ebfb[_0xc9d8('0x33')]=db[_0xc9d8('0x45')][_0xc9d8('0x47')];_0x21ebfb[_0xc9d8('0x48')]=![];break;default:}return db[_0xc9d8('0x40')]['queryInterface'][_0xc9d8('0x49')]('cm_contacts',util[_0xc9d8('0x4a')](_0xc9d8('0x4b'),_0x1676f9['id']),_0x21ebfb);})[_0xc9d8('0x20')](function(){return _0x1676f9;});})[_0xc9d8('0x20')](respondWithResult(_0x163381,0xc9))[_0xc9d8('0x39')](handleError(_0x163381,null));}; \ No newline at end of file +var _0xc5d8=['params','keys','find','catch','update','body','create','sequelize','transaction','Sequelize','TEXT','text','INTEGER','switch','BOOLEAN','defaultValue','addColumn','cm_contacts','format','cf_%d','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','mustache','path','sox','to-csv','ejs','lodash','squel','crypto','jsforce','desk.js','querystring','../../components/auth/service','../../components/parsers/qs','../../config/license/hardware','../../config/logger','api','../../config/utils','../../mysqldb','end','status','json','count','offset','set','Content-Range','apply','reject','save','then','destroy','sendStatus','error','stack','name','index','map','rawAttributes','fieldName','type','key','model','differenceBy','query','filters','intersection','attributes','fields','length','hasOwnProperty','nolimit','limit','order','sort','where','pick','merge','filter','options','includeAll','include','CmCustomField','findAll','rows','show'];(function(_0x16a637,_0x5eb627){var _0x25126d=function(_0x54e016){while(--_0x54e016){_0x16a637['push'](_0x16a637['shift']());}};_0x25126d(++_0x5eb627);}(_0xc5d8,0x70));var _0x8c5d=function(_0xe0f242,_0x2f4ecf){_0xe0f242=_0xe0f242-0x0;var _0x3b801a=_0xc5d8[_0xe0f242];return _0x3b801a;};'use strict';var pdf=require(_0x8c5d('0x0'));var emlformat=require(_0x8c5d('0x1'));var rimraf=require(_0x8c5d('0x2'));var zipdir=require(_0x8c5d('0x3'));var jsonpatch=require(_0x8c5d('0x4'));var rp=require(_0x8c5d('0x5'));var moment=require(_0x8c5d('0x6'));var BPromise=require(_0x8c5d('0x7'));var Mustache=require(_0x8c5d('0x8'));var util=require('util');var path=require(_0x8c5d('0x9'));var sox=require(_0x8c5d('0xa'));var csv=require(_0x8c5d('0xb'));var ejs=require(_0x8c5d('0xc'));var fs=require('fs');var _=require(_0x8c5d('0xd'));var squel=require(_0x8c5d('0xe'));var crypto=require(_0x8c5d('0xf'));var jsforce=require(_0x8c5d('0x10'));var deskjs=require(_0x8c5d('0x11'));var toCsv=require('to-csv');var querystring=require(_0x8c5d('0x12'));var Papa=require('papaparse');var Redis=require('ioredis');var authService=require(_0x8c5d('0x13'));var qs=require(_0x8c5d('0x14'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0x8c5d('0x15'));var logger=require(_0x8c5d('0x16'))(_0x8c5d('0x17'));var utils=require(_0x8c5d('0x18'));var config=require('../../config/environment');var db=require(_0x8c5d('0x19'))['db'];function respondWithStatusCode(_0x398d65,_0x464da4){_0x464da4=_0x464da4||0xcc;return function(_0x5a5abd){if(_0x5a5abd){return _0x398d65['sendStatus'](_0x464da4);}return _0x398d65['status'](_0x464da4)[_0x8c5d('0x1a')]();};}function respondWithResult(_0x19700c,_0x5c469f){_0x5c469f=_0x5c469f||0xc8;return function(_0x23064d){if(_0x23064d){return _0x19700c[_0x8c5d('0x1b')](_0x5c469f)[_0x8c5d('0x1c')](_0x23064d);}};}function respondWithFilteredResult(_0x21eae4,_0x50d77b){return function(_0x5c5f63){if(_0x5c5f63){var _0x23c44c=_0x5c5f63[_0x8c5d('0x1d')],_0x2ed121=_0x50d77b[_0x8c5d('0x1e')],_0x1f7c3e=_0x50d77b[_0x8c5d('0x1e')]+_0x50d77b['limit'],_0x4ff7ba;if(_0x1f7c3e>=_0x23c44c){_0x1f7c3e=_0x23c44c;_0x4ff7ba=0xc8;}else{_0x4ff7ba=0xce;}_0x21eae4[_0x8c5d('0x1b')](_0x4ff7ba);return _0x21eae4[_0x8c5d('0x1f')](_0x8c5d('0x20'),_0x2ed121+'-'+_0x1f7c3e+'/'+_0x23c44c)['json'](_0x5c5f63);}return null;};}function patchUpdates(_0x267980){return function(_0x5d0ca1){try{jsonpatch[_0x8c5d('0x21')](_0x5d0ca1,_0x267980,!![]);}catch(_0x18adbf){return BPromise[_0x8c5d('0x22')](_0x18adbf);}return _0x5d0ca1[_0x8c5d('0x23')]();};}function saveUpdates(_0x371ad1,_0x3cdf33){return function(_0x3225de){if(_0x3225de){return _0x3225de['update'](_0x371ad1)[_0x8c5d('0x24')](function(_0x28332e){return _0x28332e;});}return null;};}function removeEntity(_0x336aed,_0x4ab1f3){return function(_0x4b615e){if(_0x4b615e){return _0x4b615e[_0x8c5d('0x25')]()[_0x8c5d('0x24')](function(){_0x336aed[_0x8c5d('0x1b')](0xcc)['end']();});}};}function handleEntityNotFound(_0x56170e,_0x346bae){return function(_0x1d9f92){if(!_0x1d9f92){_0x56170e[_0x8c5d('0x26')](0x194);}return _0x1d9f92;};}function handleError(_0x48bc37,_0x453819){_0x453819=_0x453819||0x1f4;return function(_0x33153b){logger[_0x8c5d('0x27')](_0x33153b[_0x8c5d('0x28')]);if(_0x33153b[_0x8c5d('0x29')]){delete _0x33153b[_0x8c5d('0x29')];}_0x48bc37[_0x8c5d('0x1b')](_0x453819)['send'](_0x33153b);};}exports[_0x8c5d('0x2a')]=function(_0x591757,_0x203828){var _0x42f33c={},_0x371cab={},_0x4712de={'count':0x0,'rows':[]};var _0x58b62c=_[_0x8c5d('0x2b')](db['CmCustomField'][_0x8c5d('0x2c')],function(_0x54f399){return{'name':_0x54f399[_0x8c5d('0x2d')],'type':_0x54f399[_0x8c5d('0x2e')][_0x8c5d('0x2f')]};});_0x371cab[_0x8c5d('0x30')]=_[_0x8c5d('0x31')](_[_0x8c5d('0x2b')](_0x58b62c,_0x8c5d('0x29')),[_0x8c5d('0x29')]);_0x371cab[_0x8c5d('0x32')]=_['keys'](_0x591757[_0x8c5d('0x32')]);_0x371cab[_0x8c5d('0x33')]=_[_0x8c5d('0x34')](_0x371cab[_0x8c5d('0x30')],_0x371cab[_0x8c5d('0x32')]);_0x42f33c[_0x8c5d('0x35')]=_[_0x8c5d('0x34')](_0x371cab[_0x8c5d('0x30')],qs[_0x8c5d('0x36')](_0x591757[_0x8c5d('0x32')][_0x8c5d('0x36')]));_0x42f33c[_0x8c5d('0x35')]=_0x42f33c[_0x8c5d('0x35')][_0x8c5d('0x37')]?_0x42f33c['attributes']:_0x371cab['model'];if(!_0x591757['query'][_0x8c5d('0x38')](_0x8c5d('0x39'))){_0x42f33c[_0x8c5d('0x3a')]=qs['limit'](_0x591757[_0x8c5d('0x32')][_0x8c5d('0x3a')]);_0x42f33c[_0x8c5d('0x1e')]=qs[_0x8c5d('0x1e')](_0x591757[_0x8c5d('0x32')]['offset']);}_0x42f33c[_0x8c5d('0x3b')]=qs[_0x8c5d('0x3c')](_0x591757[_0x8c5d('0x32')][_0x8c5d('0x3c')]);_0x42f33c[_0x8c5d('0x3d')]=qs[_0x8c5d('0x33')](_[_0x8c5d('0x3e')](_0x591757[_0x8c5d('0x32')],_0x371cab[_0x8c5d('0x33')]),_0x58b62c);if(_0x591757[_0x8c5d('0x32')]['filter']){_0x42f33c['where']=_[_0x8c5d('0x3f')](_0x42f33c[_0x8c5d('0x3d')],{'$or':_[_0x8c5d('0x2b')](_0x58b62c,function(_0x896dca){if(_0x896dca['type']!=='VIRTUAL'){var _0x28fdd5={};_0x28fdd5[_0x896dca[_0x8c5d('0x29')]]={'$like':'%'+_0x591757[_0x8c5d('0x32')][_0x8c5d('0x40')]+'%'};return _0x28fdd5;}})});}_0x42f33c=_['merge']({},_0x42f33c,_0x591757[_0x8c5d('0x41')]);var _0x2671a0={'where':_0x42f33c['where']};return db['CmCustomField']['count'](_0x2671a0)['then'](function(_0x37c53a){_0x4712de[_0x8c5d('0x1d')]=_0x37c53a;if(_0x591757['query'][_0x8c5d('0x42')]){_0x42f33c[_0x8c5d('0x43')]=[{'all':!![]}];}return db[_0x8c5d('0x44')][_0x8c5d('0x45')](_0x42f33c);})[_0x8c5d('0x24')](function(_0x22a995){_0x4712de[_0x8c5d('0x46')]=_0x22a995;return _0x4712de;})[_0x8c5d('0x24')](respondWithFilteredResult(_0x203828,_0x42f33c))['catch'](handleError(_0x203828,null));};exports[_0x8c5d('0x47')]=function(_0x74c1db,_0x7b16fd){var _0x92e678={'raw':!![],'where':{'id':_0x74c1db[_0x8c5d('0x48')]['id']}},_0x3deaa2={};_0x3deaa2[_0x8c5d('0x30')]=_[_0x8c5d('0x49')](db[_0x8c5d('0x44')][_0x8c5d('0x2c')]);_0x3deaa2['query']=_[_0x8c5d('0x49')](_0x74c1db[_0x8c5d('0x32')]);_0x3deaa2[_0x8c5d('0x33')]=_[_0x8c5d('0x34')](_0x3deaa2[_0x8c5d('0x30')],_0x3deaa2[_0x8c5d('0x32')]);_0x92e678['attributes']=_['intersection'](_0x3deaa2[_0x8c5d('0x30')],qs[_0x8c5d('0x36')](_0x74c1db[_0x8c5d('0x32')][_0x8c5d('0x36')]));_0x92e678[_0x8c5d('0x35')]=_0x92e678[_0x8c5d('0x35')][_0x8c5d('0x37')]?_0x92e678['attributes']:_0x3deaa2[_0x8c5d('0x30')];if(_0x74c1db[_0x8c5d('0x32')][_0x8c5d('0x42')]){_0x92e678['include']=[{'all':!![]}];}_0x92e678=_['merge']({},_0x92e678,_0x74c1db[_0x8c5d('0x41')]);return db[_0x8c5d('0x44')][_0x8c5d('0x4a')](_0x92e678)[_0x8c5d('0x24')](handleEntityNotFound(_0x7b16fd,null))['then'](respondWithResult(_0x7b16fd,null))[_0x8c5d('0x4b')](handleError(_0x7b16fd,null));};exports[_0x8c5d('0x4c')]=function(_0x22c428,_0x4b99eb){if(_0x22c428[_0x8c5d('0x4d')]['id']){delete _0x22c428['body']['id'];}return db[_0x8c5d('0x44')][_0x8c5d('0x4a')]({'where':{'id':_0x22c428[_0x8c5d('0x48')]['id']}})['then'](handleEntityNotFound(_0x4b99eb,null))[_0x8c5d('0x24')](saveUpdates(_0x22c428[_0x8c5d('0x4d')],null))[_0x8c5d('0x24')](respondWithResult(_0x4b99eb,null))['catch'](handleError(_0x4b99eb,null));};exports['destroy']=function(_0x1eed30,_0x42827e){return db[_0x8c5d('0x44')][_0x8c5d('0x4a')]({'where':{'id':_0x1eed30[_0x8c5d('0x48')]['id']}})[_0x8c5d('0x24')](handleEntityNotFound(_0x42827e,null))[_0x8c5d('0x24')](removeEntity(_0x42827e,null))[_0x8c5d('0x4b')](handleError(_0x42827e,null));};exports[_0x8c5d('0x4e')]=function(_0x1e5f81,_0x558342){var _0x3518f3;return db[_0x8c5d('0x4f')][_0x8c5d('0x50')](function(_0x23a5f4){return db['CmCustomField'][_0x8c5d('0x4e')](_0x1e5f81[_0x8c5d('0x4d')],{'transaction':_0x23a5f4})[_0x8c5d('0x24')](function(_0x3d4a37){_0x3518f3=_0x3d4a37;var _0x215f86={'type':db[_0x8c5d('0x51')][_0x8c5d('0x52')],'transaction':_0x23a5f4};switch(_0x1e5f81[_0x8c5d('0x4d')][_0x8c5d('0x2e')]){case _0x8c5d('0x53'):_0x215f86[_0x8c5d('0x2e')]=db[_0x8c5d('0x51')][_0x8c5d('0x52')];break;case'number':_0x215f86[_0x8c5d('0x2e')]=db[_0x8c5d('0x51')][_0x8c5d('0x54')];break;case _0x8c5d('0x55'):_0x215f86['type']=db[_0x8c5d('0x51')][_0x8c5d('0x56')];_0x215f86[_0x8c5d('0x57')]=![];break;default:}return db[_0x8c5d('0x4f')]['queryInterface'][_0x8c5d('0x58')](_0x8c5d('0x59'),util[_0x8c5d('0x5a')](_0x8c5d('0x5b'),_0x3518f3['id']),_0x215f86);})[_0x8c5d('0x24')](function(){return _0x3518f3;});})[_0x8c5d('0x24')](respondWithResult(_0x558342,0xc9))[_0x8c5d('0x4b')](handleError(_0x558342,null));}; \ No newline at end of file diff --git a/server/api/cmCustomField/cmCustomField.model.js b/server/api/cmCustomField/cmCustomField.model.js index 86a2c25..0eda13a 100644 --- a/server/api/cmCustomField/cmCustomField.model.js +++ b/server/api/cmCustomField/cmCustomField.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xb18e=['util','../../config/logger','api','moment','request-promise','path','../../config/environment','./cmCustomField.attributes','exports','define','CmCustomField','cm_custom_fields','lodash'];(function(_0x540324,_0x10de3a){var _0x2cab83=function(_0x32522c){while(--_0x32522c){_0x540324['push'](_0x540324['shift']());}};_0x2cab83(++_0x10de3a);}(_0xb18e,0x67));var _0xeb18=function(_0x54bac5,_0x8d3a16){_0x54bac5=_0x54bac5-0x0;var _0xc15971=_0xb18e[_0x54bac5];return _0xc15971;};'use strict';var _=require(_0xeb18('0x0'));var util=require(_0xeb18('0x1'));var logger=require(_0xeb18('0x2'))(_0xeb18('0x3'));var moment=require(_0xeb18('0x4'));var BPromise=require('bluebird');var rp=require(_0xeb18('0x5'));var fs=require('fs');var path=require(_0xeb18('0x6'));var rimraf=require('rimraf');var config=require(_0xeb18('0x7'));var attributes=require(_0xeb18('0x8'));module[_0xeb18('0x9')]=function(_0x5eb1bf,_0x5d016a){return _0x5eb1bf[_0xeb18('0xa')](_0xeb18('0xb'),attributes,{'tableName':_0xeb18('0xc'),'paranoid':!![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0xae02=['exports','define','CmCustomField','lodash','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment'];(function(_0x2dafbe,_0x5d04de){var _0x58a45a=function(_0x50ac96){while(--_0x50ac96){_0x2dafbe['push'](_0x2dafbe['shift']());}};_0x58a45a(++_0x5d04de);}(_0xae02,0xb7));var _0x2ae0=function(_0x5ea05d,_0x4df724){_0x5ea05d=_0x5ea05d-0x0;var _0x4ac68f=_0xae02[_0x5ea05d];return _0x4ac68f;};'use strict';var _=require(_0x2ae0('0x0'));var util=require('util');var logger=require(_0x2ae0('0x1'))(_0x2ae0('0x2'));var moment=require(_0x2ae0('0x3'));var BPromise=require(_0x2ae0('0x4'));var rp=require(_0x2ae0('0x5'));var fs=require('fs');var path=require(_0x2ae0('0x6'));var rimraf=require(_0x2ae0('0x7'));var config=require(_0x2ae0('0x8'));var attributes=require('./cmCustomField.attributes');module[_0x2ae0('0x9')]=function(_0xd8e12,_0x5e4d5f){return _0xd8e12[_0x2ae0('0xa')](_0x2ae0('0xb'),attributes,{'tableName':'cm_custom_fields','paranoid':!![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/cmCustomField/cmCustomField.rpc.js b/server/api/cmCustomField/cmCustomField.rpc.js index f04bbb0..91e6729 100644 --- a/server/api/cmCustomField/cmCustomField.rpc.js +++ b/server/api/cmCustomField/cmCustomField.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xca66=['http','request','then','info','CmCustomField,\x20%s,\x20%s','request\x20sent','debug','stringify','error','code','message','result','catch','lodash','bluebird','randomstring','ioredis','../../config/utils','rpc','jayson/promise','client'];(function(_0xa1cf59,_0x2655dd){var _0xd9d10b=function(_0x4b884d){while(--_0x4b884d){_0xa1cf59['push'](_0xa1cf59['shift']());}};_0xd9d10b(++_0x2655dd);}(_0xca66,0x8b));var _0x6ca6=function(_0xac77e2,_0x33b610){_0xac77e2=_0xac77e2-0x0;var _0x19856a=_0xca66[_0xac77e2];return _0x19856a;};'use strict';var _=require(_0x6ca6('0x0'));var util=require('util');var moment=require('moment');var BPromise=require(_0x6ca6('0x1'));var rs=require(_0x6ca6('0x2'));var fs=require('fs');var Redis=require(_0x6ca6('0x3'));var db=require('../../mysqldb')['db'];var utils=require(_0x6ca6('0x4'));var logger=require('../../config/logger')(_0x6ca6('0x5'));var config=require('../../config/environment');var jayson=require(_0x6ca6('0x6'));var client=jayson[_0x6ca6('0x7')][_0x6ca6('0x8')]({'port':0x232a});function respondWithRpcPromise(_0x44019c,_0x407e66,_0x27a210){return new BPromise(function(_0x27d280,_0x4f5651){return client[_0x6ca6('0x9')](_0x44019c,_0x27a210)[_0x6ca6('0xa')](function(_0x34b71b){logger[_0x6ca6('0xb')](_0x6ca6('0xc'),_0x407e66,_0x6ca6('0xd'));logger[_0x6ca6('0xe')]('CmCustomField,\x20%s,\x20%s,\x20%s',_0x407e66,_0x6ca6('0xd'),JSON[_0x6ca6('0xf')](_0x34b71b));if(_0x34b71b[_0x6ca6('0x10')]){if(_0x34b71b[_0x6ca6('0x10')][_0x6ca6('0x11')]===0x1f4){logger[_0x6ca6('0x10')]('CmCustomField,\x20%s,\x20%s',_0x407e66,_0x34b71b[_0x6ca6('0x10')][_0x6ca6('0x12')]);return _0x4f5651(_0x34b71b['error'][_0x6ca6('0x12')]);}logger[_0x6ca6('0x10')](_0x6ca6('0xc'),_0x407e66,_0x34b71b[_0x6ca6('0x10')][_0x6ca6('0x12')]);return _0x27d280(_0x34b71b[_0x6ca6('0x10')]['message']);}else{logger['info']('CmCustomField,\x20%s,\x20%s',_0x407e66,_0x6ca6('0xd'));_0x27d280(_0x34b71b[_0x6ca6('0x13')][_0x6ca6('0x12')]);}})[_0x6ca6('0x14')](function(_0x2c4a5c){logger[_0x6ca6('0x10')](_0x6ca6('0xc'),_0x407e66,_0x2c4a5c);_0x4f5651(_0x2c4a5c);});});} \ No newline at end of file +var _0xe14d=['../../config/logger','rpc','../../config/environment','jayson/promise','client','http','request','then','info','CmCustomField,\x20%s,\x20%s','debug','CmCustomField,\x20%s,\x20%s,\x20%s','request\x20sent','stringify','error','code','message','result','catch','lodash','util','moment','bluebird','ioredis','../../mysqldb'];(function(_0x1ccb4b,_0x1c5bdc){var _0x2fd92c=function(_0x1a0286){while(--_0x1a0286){_0x1ccb4b['push'](_0x1ccb4b['shift']());}};_0x2fd92c(++_0x1c5bdc);}(_0xe14d,0x1ee));var _0xde14=function(_0x6131cd,_0x4c26a1){_0x6131cd=_0x6131cd-0x0;var _0x47e916=_0xe14d[_0x6131cd];return _0x47e916;};'use strict';var _=require(_0xde14('0x0'));var util=require(_0xde14('0x1'));var moment=require(_0xde14('0x2'));var BPromise=require(_0xde14('0x3'));var rs=require('randomstring');var fs=require('fs');var Redis=require(_0xde14('0x4'));var db=require(_0xde14('0x5'))['db'];var utils=require('../../config/utils');var logger=require(_0xde14('0x6'))(_0xde14('0x7'));var config=require(_0xde14('0x8'));var jayson=require(_0xde14('0x9'));var client=jayson[_0xde14('0xa')][_0xde14('0xb')]({'port':0x232a});function respondWithRpcPromise(_0x4b1f6b,_0x5a1344,_0x1bd49d){return new BPromise(function(_0x115b7d,_0x2b0e7c){return client[_0xde14('0xc')](_0x4b1f6b,_0x1bd49d)[_0xde14('0xd')](function(_0x176909){logger[_0xde14('0xe')](_0xde14('0xf'),_0x5a1344,'request\x20sent');logger[_0xde14('0x10')](_0xde14('0x11'),_0x5a1344,_0xde14('0x12'),JSON[_0xde14('0x13')](_0x176909));if(_0x176909[_0xde14('0x14')]){if(_0x176909[_0xde14('0x14')][_0xde14('0x15')]===0x1f4){logger[_0xde14('0x14')](_0xde14('0xf'),_0x5a1344,_0x176909[_0xde14('0x14')][_0xde14('0x16')]);return _0x2b0e7c(_0x176909[_0xde14('0x14')][_0xde14('0x16')]);}logger[_0xde14('0x14')](_0xde14('0xf'),_0x5a1344,_0x176909['error']['message']);return _0x115b7d(_0x176909[_0xde14('0x14')][_0xde14('0x16')]);}else{logger[_0xde14('0xe')]('CmCustomField,\x20%s,\x20%s',_0x5a1344,_0xde14('0x12'));_0x115b7d(_0x176909[_0xde14('0x17')][_0xde14('0x16')]);}})[_0xde14('0x18')](function(_0x3de959){logger[_0xde14('0x14')](_0xde14('0xf'),_0x5a1344,_0x3de959);_0x2b0e7c(_0x3de959);});});} \ No newline at end of file diff --git a/server/api/cmCustomField/index.js b/server/api/cmCustomField/index.js index 9af2b56..1c51293 100644 --- a/server/api/cmCustomField/index.js +++ b/server/api/cmCustomField/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xe0ae=['connect-timeout','express','Router','../../components/interaction/service','./cmCustomField.controller','get','index','/:id','isAuthenticated','show','post','create','put','update','delete','destroy','exports','util','path'];(function(_0x1cbcf1,_0x3f9fd9){var _0x3a06f0=function(_0x5425d4){while(--_0x5425d4){_0x1cbcf1['push'](_0x1cbcf1['shift']());}};_0x3a06f0(++_0x3f9fd9);}(_0xe0ae,0x18d));var _0xee0a=function(_0x5f42f1,_0x956be5){_0x5f42f1=_0x5f42f1-0x0;var _0x5534ee=_0xe0ae[_0x5f42f1];return _0x5534ee;};'use strict';var multer=require('multer');var util=require(_0xee0a('0x0'));var path=require(_0xee0a('0x1'));var timeout=require(_0xee0a('0x2'));var express=require(_0xee0a('0x3'));var router=express[_0xee0a('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0xee0a('0x5'));var config=require('../../config/environment');var controller=require(_0xee0a('0x6'));router[_0xee0a('0x7')]('/',auth['isAuthenticated'](),controller[_0xee0a('0x8')]);router[_0xee0a('0x7')](_0xee0a('0x9'),auth[_0xee0a('0xa')](),controller[_0xee0a('0xb')]);router[_0xee0a('0xc')]('/',auth[_0xee0a('0xa')](),controller[_0xee0a('0xd')]);router[_0xee0a('0xe')](_0xee0a('0x9'),auth[_0xee0a('0xa')](),controller[_0xee0a('0xf')]);router[_0xee0a('0x10')](_0xee0a('0x9'),auth[_0xee0a('0xa')](),controller[_0xee0a('0x11')]);module[_0xee0a('0x12')]=router; \ No newline at end of file +var _0x1569=['util','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','./cmCustomField.controller','get','isAuthenticated','/:id','show','create','put','multer'];(function(_0x32c651,_0xb5619c){var _0x3d671f=function(_0x2369e){while(--_0x2369e){_0x32c651['push'](_0x32c651['shift']());}};_0x3d671f(++_0xb5619c);}(_0x1569,0x1bf));var _0x9156=function(_0x1c0863,_0x292ff1){_0x1c0863=_0x1c0863-0x0;var _0x314b6a=_0x1569[_0x1c0863];return _0x314b6a;};'use strict';var multer=require(_0x9156('0x0'));var util=require(_0x9156('0x1'));var path=require(_0x9156('0x2'));var timeout=require(_0x9156('0x3'));var express=require('express');var router=express[_0x9156('0x4')]();var auth=require(_0x9156('0x5'));var interaction=require(_0x9156('0x6'));var config=require('../../config/environment');var controller=require(_0x9156('0x7'));router[_0x9156('0x8')]('/',auth[_0x9156('0x9')](),controller['index']);router['get'](_0x9156('0xa'),auth['isAuthenticated'](),controller[_0x9156('0xb')]);router['post']('/',auth[_0x9156('0x9')](),controller[_0x9156('0xc')]);router[_0x9156('0xd')]('/:id',auth['isAuthenticated'](),controller['update']);router['delete']('/:id',auth['isAuthenticated'](),controller['destroy']);module['exports']=router; \ No newline at end of file diff --git a/server/api/cmHopper/cmHopper.attributes.js b/server/api/cmHopper/cmHopper.attributes.js index 7a262b3..566814b 100644 --- a/server/api/cmHopper/cmHopper.attributes.js +++ b/server/api/cmHopper/cmHopper.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x7da7=['sequelize','exports','DATE','format','INTEGER','BOOLEAN','STRING','contactListQueue','moment'];(function(_0x1fde4e,_0x4b4158){var _0x22991a=function(_0x1e40f3){while(--_0x1e40f3){_0x1fde4e['push'](_0x1fde4e['shift']());}};_0x22991a(++_0x4b4158);}(_0x7da7,0x10d));var _0x77da=function(_0x47a349,_0x4699d9){_0x47a349=_0x47a349-0x0;var _0x18ab75=_0x7da7[_0x47a349];return _0x18ab75;};'use strict';var moment=require(_0x77da('0x0'));var Sequelize=require(_0x77da('0x1'));module[_0x77da('0x2')]={'phone':{'type':Sequelize['STRING'],'allowNull':![]},'active':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'scheduledat':{'type':Sequelize[_0x77da('0x3')],'defaultValue':moment()[_0x77da('0x4')]('YYYY-MM-DD\x20HH:mm:ss')},'countbusyretry':{'type':Sequelize[_0x77da('0x5')],'defaultValue':0x0},'countcongestionretry':{'type':Sequelize[_0x77da('0x5')],'defaultValue':0x0},'countnoanswerretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'callback':{'type':Sequelize[_0x77da('0x6')],'defaultValue':![]},'callbackuniqueid':{'type':Sequelize[_0x77da('0x7')],'defaultValue':null},'callbackat':{'type':Sequelize['DATE']},'priority':{'type':Sequelize[_0x77da('0x5')](0x2)['UNSIGNED'],'defaultValue':0x2,'validate':{'min':0x0,'max':0x4}},'recallme':{'type':Sequelize[_0x77da('0x6')],'defaultValue':![]},'ContactId':{'type':Sequelize[_0x77da('0x5')],'unique':_0x77da('0x8')},'ListId':{'type':Sequelize[_0x77da('0x5')],'unique':_0x77da('0x8')},'UserId':{'type':Sequelize['INTEGER']},'VoiceQueueId':{'type':Sequelize[_0x77da('0x5')],'unique':_0x77da('0x8')},'CampaignId':{'type':Sequelize[_0x77da('0x5')]},'countnosuchnumberretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countdropretry':{'type':Sequelize[_0x77da('0x5')],'defaultValue':0x0},'countabandonedretry':{'type':Sequelize[_0x77da('0x5')],'defaultValue':0x0},'countmachineretry':{'type':Sequelize[_0x77da('0x5')],'defaultValue':0x0},'countagentrejectretry':{'type':Sequelize[_0x77da('0x5')],'defaultValue':0x0}}; \ No newline at end of file +var _0xc978=['DATE','YYYY-MM-DD\x20HH:mm:ss','INTEGER','UNSIGNED','contactListQueue','moment','sequelize','exports','STRING','BOOLEAN'];(function(_0x45ec0b,_0x260c5d){var _0x99a3d8=function(_0x524391){while(--_0x524391){_0x45ec0b['push'](_0x45ec0b['shift']());}};_0x99a3d8(++_0x260c5d);}(_0xc978,0xcd));var _0x8c97=function(_0x20a584,_0xe384a5){_0x20a584=_0x20a584-0x0;var _0x4b41a8=_0xc978[_0x20a584];return _0x4b41a8;};'use strict';var moment=require(_0x8c97('0x0'));var Sequelize=require(_0x8c97('0x1'));module[_0x8c97('0x2')]={'phone':{'type':Sequelize[_0x8c97('0x3')],'allowNull':![]},'active':{'type':Sequelize[_0x8c97('0x4')],'defaultValue':![]},'scheduledat':{'type':Sequelize[_0x8c97('0x5')],'defaultValue':moment()['format'](_0x8c97('0x6'))},'countbusyretry':{'type':Sequelize[_0x8c97('0x7')],'defaultValue':0x0},'countcongestionretry':{'type':Sequelize[_0x8c97('0x7')],'defaultValue':0x0},'countnoanswerretry':{'type':Sequelize[_0x8c97('0x7')],'defaultValue':0x0},'callback':{'type':Sequelize[_0x8c97('0x4')],'defaultValue':![]},'callbackuniqueid':{'type':Sequelize[_0x8c97('0x3')],'defaultValue':null},'callbackat':{'type':Sequelize[_0x8c97('0x5')]},'priority':{'type':Sequelize['INTEGER'](0x2)[_0x8c97('0x8')],'defaultValue':0x2,'validate':{'min':0x0,'max':0x4}},'recallme':{'type':Sequelize[_0x8c97('0x4')],'defaultValue':![]},'ContactId':{'type':Sequelize[_0x8c97('0x7')],'unique':_0x8c97('0x9')},'ListId':{'type':Sequelize[_0x8c97('0x7')],'unique':_0x8c97('0x9')},'UserId':{'type':Sequelize[_0x8c97('0x7')]},'VoiceQueueId':{'type':Sequelize['INTEGER'],'unique':_0x8c97('0x9')},'CampaignId':{'type':Sequelize[_0x8c97('0x7')]},'countnosuchnumberretry':{'type':Sequelize[_0x8c97('0x7')],'defaultValue':0x0},'countdropretry':{'type':Sequelize[_0x8c97('0x7')],'defaultValue':0x0},'countabandonedretry':{'type':Sequelize[_0x8c97('0x7')],'defaultValue':0x0},'countmachineretry':{'type':Sequelize[_0x8c97('0x7')],'defaultValue':0x0},'countagentrejectretry':{'type':Sequelize[_0x8c97('0x7')],'defaultValue':0x0}}; \ No newline at end of file diff --git a/server/api/cmHopper/cmHopper.controller.js b/server/api/cmHopper/cmHopper.controller.js index 8579672..b513425 100644 --- a/server/api/cmHopper/cmHopper.controller.js +++ b/server/api/cmHopper/cmHopper.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xc4dc=['$lte','$ne','$not','$between','$notBetween','$in','$notIn','$like','$notLike','$notILike','$overlap','$contains','$contained','attributes','fields','hasOwnProperty','nolimit','order','sort','where','filter','merge','VIRTUAL','includeAll','include','findAll','rows','params','options','find','catch','create','body','describe','VoiceQueueId','CampaignId','VoiceQueue','omit','createdAt','updatedAt','state','statedesc','deleted','campaign','membername','user','UserId','deletedat','format','YYYY-MM-DD\x20HH:mm:ss','calleridnum','campaigntype','CmContact','ContactId','firstName','lastName','isNil','calleridname','finally','getPreview','getVoiceQueues','preview','dialOrderByScheduledAt','length','transaction','direction','prev','hopperIds','priority','scheduledAt','ASC','sequelize','literal','COALESCE(CmHopper.UserId,\x200)\x20ASC','DESC','isEmpty','COALESCE(CmHopper.UserId,\x200)\x20DESC','LOCK','UPDATE','Contact','Company','CmList','List','getOpenContacts','outbound','isNumber','CmHopper,\x20%s,\x20%s,\x20%s','entity\x20not\x20found','html-pdf','eml-format','rimraf','fast-json-patch','request-promise','moment','bluebird','mustache','lodash','squel','crypto','jsforce','desk.js','to-csv','ioredis','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../mysqldb','sendStatus','status','end','json','count','offset','limit','set','Content-Range','apply','reject','save','update','then','destroy','error','stack','index','map','CmHopper','fieldName','type','key','model','name','query','keys','filters','intersection','concat','$and','$gt','$lt'];(function(_0x4ae0ca,_0x6ae76b){var _0x2c91d8=function(_0x1d3401){while(--_0x1d3401){_0x4ae0ca['push'](_0x4ae0ca['shift']());}};_0x2c91d8(++_0x6ae76b);}(_0xc4dc,0x176));var _0xcc4d=function(_0x502c7d,_0x2f1285){_0x502c7d=_0x502c7d-0x0;var _0x30b7ed=_0xc4dc[_0x502c7d];return _0x30b7ed;};'use strict';var pdf=require(_0xcc4d('0x0'));var emlformat=require(_0xcc4d('0x1'));var rimraf=require(_0xcc4d('0x2'));var zipdir=require('zip-dir');var jsonpatch=require(_0xcc4d('0x3'));var rp=require(_0xcc4d('0x4'));var moment=require(_0xcc4d('0x5'));var BPromise=require(_0xcc4d('0x6'));var Mustache=require(_0xcc4d('0x7'));var util=require('util');var path=require('path');var sox=require('sox');var csv=require('to-csv');var ejs=require('ejs');var fs=require('fs');var _=require(_0xcc4d('0x8'));var squel=require(_0xcc4d('0x9'));var crypto=require(_0xcc4d('0xa'));var jsforce=require(_0xcc4d('0xb'));var deskjs=require(_0xcc4d('0xc'));var toCsv=require(_0xcc4d('0xd'));var querystring=require('querystring');var Papa=require('papaparse');var Redis=require(_0xcc4d('0xe'));var authService=require('../../components/auth/service');var qs=require(_0xcc4d('0xf'));var as=require(_0xcc4d('0x10'));var hardwareService=require(_0xcc4d('0x11'));var logger=require(_0xcc4d('0x12'))(_0xcc4d('0x13'));var utils=require(_0xcc4d('0x14'));var config=require('../../config/environment');var db=require(_0xcc4d('0x15'))['db'];function respondWithStatusCode(_0x1dd2c5,_0x3451b2){_0x3451b2=_0x3451b2||0xcc;return function(_0x1272ca){if(_0x1272ca){return _0x1dd2c5[_0xcc4d('0x16')](_0x3451b2);}return _0x1dd2c5[_0xcc4d('0x17')](_0x3451b2)[_0xcc4d('0x18')]();};}function respondWithResult(_0x4c2cec,_0x50f410){_0x50f410=_0x50f410||0xc8;return function(_0x574062){if(_0x574062){return _0x4c2cec[_0xcc4d('0x17')](_0x50f410)[_0xcc4d('0x19')](_0x574062);}};}function respondWithFilteredResult(_0x531dcf,_0x29b15b){return function(_0x5257cd){if(_0x5257cd){var _0x39c9ff=_0x5257cd[_0xcc4d('0x1a')],_0x2e2198=_0x29b15b[_0xcc4d('0x1b')],_0x38c757=_0x29b15b[_0xcc4d('0x1b')]+_0x29b15b[_0xcc4d('0x1c')],_0x5f33dd;if(_0x38c757>=_0x39c9ff){_0x38c757=_0x39c9ff;_0x5f33dd=0xc8;}else{_0x5f33dd=0xce;}_0x531dcf[_0xcc4d('0x17')](_0x5f33dd);return _0x531dcf[_0xcc4d('0x1d')](_0xcc4d('0x1e'),_0x2e2198+'-'+_0x38c757+'/'+_0x39c9ff)['json'](_0x5257cd);}return null;};}function patchUpdates(_0x169e57){return function(_0x528541){try{jsonpatch[_0xcc4d('0x1f')](_0x528541,_0x169e57,!![]);}catch(_0x2fdc8d){return BPromise[_0xcc4d('0x20')](_0x2fdc8d);}return _0x528541[_0xcc4d('0x21')]();};}function saveUpdates(_0xa48d2c,_0x4ca1da){return function(_0x59ec08){if(_0x59ec08){return _0x59ec08[_0xcc4d('0x22')](_0xa48d2c)[_0xcc4d('0x23')](function(_0x2b5c6b){return _0x2b5c6b;});}return null;};}function removeEntity(_0x1de254,_0x32dafa){return function(_0x4200af){if(_0x4200af){return _0x4200af[_0xcc4d('0x24')]()['then'](function(){_0x1de254[_0xcc4d('0x17')](0xcc)[_0xcc4d('0x18')]();});}};}function handleEntityNotFound(_0x4b3ed4,_0xc2239e){return function(_0x4396dc){if(!_0x4396dc){_0x4b3ed4['sendStatus'](0x194);}return _0x4396dc;};}function handleError(_0x3c6d7f,_0x1fff69){_0x1fff69=_0x1fff69||0x1f4;return function(_0x2f9549){logger[_0xcc4d('0x25')](_0x2f9549[_0xcc4d('0x26')]);if(_0x2f9549['name']){delete _0x2f9549['name'];}_0x3c6d7f[_0xcc4d('0x17')](_0x1fff69)['send'](_0x2f9549);};}exports[_0xcc4d('0x27')]=function(_0x46275a,_0x253f21){var _0x5cd01d={},_0x34382e={},_0x58a4dd={'count':0x0,'rows':[]};var _0x50e31d=_[_0xcc4d('0x28')](db[_0xcc4d('0x29')]['rawAttributes'],function(_0x1952fd){return{'name':_0x1952fd[_0xcc4d('0x2a')],'type':_0x1952fd[_0xcc4d('0x2b')][_0xcc4d('0x2c')]};});_0x34382e[_0xcc4d('0x2d')]=_['map'](_0x50e31d,_0xcc4d('0x2e'));_0x34382e[_0xcc4d('0x2f')]=_[_0xcc4d('0x30')](_0x46275a['query']);_0x34382e[_0xcc4d('0x31')]=_[_0xcc4d('0x32')](_0x34382e[_0xcc4d('0x2d')],_0x34382e[_0xcc4d('0x2f')]);_0x34382e[_0xcc4d('0x31')]=_[_0xcc4d('0x33')](_0x34382e[_0xcc4d('0x31')],[_0xcc4d('0x34'),'$or',_0xcc4d('0x35'),'$gte',_0xcc4d('0x36'),_0xcc4d('0x37'),_0xcc4d('0x38'),'$eq',_0xcc4d('0x39'),_0xcc4d('0x3a'),_0xcc4d('0x3b'),_0xcc4d('0x3c'),_0xcc4d('0x3d'),_0xcc4d('0x3e'),_0xcc4d('0x3f'),'$iLike',_0xcc4d('0x40'),_0xcc4d('0x3e'),_0xcc4d('0x41'),_0xcc4d('0x42'),_0xcc4d('0x43'),'$any']);_0x5cd01d[_0xcc4d('0x44')]=_[_0xcc4d('0x32')](_0x34382e[_0xcc4d('0x2d')],qs['fields'](_0x46275a[_0xcc4d('0x2f')][_0xcc4d('0x45')]));_0x5cd01d['attributes']=_0x5cd01d[_0xcc4d('0x44')]['length']?_0x5cd01d[_0xcc4d('0x44')]:_0x34382e[_0xcc4d('0x2d')];if(!_0x46275a[_0xcc4d('0x2f')][_0xcc4d('0x46')](_0xcc4d('0x47'))){_0x5cd01d[_0xcc4d('0x1c')]=qs[_0xcc4d('0x1c')](_0x46275a[_0xcc4d('0x2f')][_0xcc4d('0x1c')]);_0x5cd01d[_0xcc4d('0x1b')]=qs[_0xcc4d('0x1b')](_0x46275a[_0xcc4d('0x2f')]['offset']);}_0x5cd01d[_0xcc4d('0x48')]=qs[_0xcc4d('0x49')](_0x46275a[_0xcc4d('0x2f')][_0xcc4d('0x49')]);_0x5cd01d[_0xcc4d('0x4a')]=qs['filters'](_['pick'](_0x46275a[_0xcc4d('0x2f')],_0x34382e[_0xcc4d('0x31')]),_0x50e31d);if(_0x46275a[_0xcc4d('0x2f')][_0xcc4d('0x4b')]){_0x5cd01d[_0xcc4d('0x4a')]=_[_0xcc4d('0x4c')](_0x5cd01d[_0xcc4d('0x4a')],{'$or':_[_0xcc4d('0x28')](_0x50e31d,function(_0x35a66c){if(_0x35a66c['type']!==_0xcc4d('0x4d')){var _0x8b75e3={};_0x8b75e3[_0x35a66c[_0xcc4d('0x2e')]]={'$like':'%'+_0x46275a[_0xcc4d('0x2f')][_0xcc4d('0x4b')]+'%'};return _0x8b75e3;}})});}_0x5cd01d=_[_0xcc4d('0x4c')]({},_0x5cd01d,_0x46275a['options']);var _0x54a01a={'where':_0x5cd01d[_0xcc4d('0x4a')]};return db[_0xcc4d('0x29')]['count'](_0x54a01a)[_0xcc4d('0x23')](function(_0x232cb9){_0x58a4dd[_0xcc4d('0x1a')]=_0x232cb9;if(_0x46275a[_0xcc4d('0x2f')][_0xcc4d('0x4e')]){_0x5cd01d[_0xcc4d('0x4f')]=[{'all':!![]}];}return db['CmHopper'][_0xcc4d('0x50')](_0x5cd01d);})[_0xcc4d('0x23')](function(_0x4be15f){_0x58a4dd[_0xcc4d('0x51')]=_0x4be15f;return _0x58a4dd;})[_0xcc4d('0x23')](respondWithFilteredResult(_0x253f21,_0x5cd01d))['catch'](handleError(_0x253f21,null));};exports['show']=function(_0x3f0809,_0x2c798b){var _0x9b3b30={'raw':!![],'where':{'id':_0x3f0809[_0xcc4d('0x52')]['id']}},_0xefa96a={};_0xefa96a[_0xcc4d('0x2d')]=_[_0xcc4d('0x30')](db[_0xcc4d('0x29')]['rawAttributes']);_0xefa96a['query']=_[_0xcc4d('0x30')](_0x3f0809[_0xcc4d('0x2f')]);_0xefa96a[_0xcc4d('0x31')]=_['intersection'](_0xefa96a[_0xcc4d('0x2d')],_0xefa96a[_0xcc4d('0x2f')]);_0x9b3b30[_0xcc4d('0x44')]=_[_0xcc4d('0x32')](_0xefa96a[_0xcc4d('0x2d')],qs['fields'](_0x3f0809[_0xcc4d('0x2f')][_0xcc4d('0x45')]));_0x9b3b30[_0xcc4d('0x44')]=_0x9b3b30[_0xcc4d('0x44')]['length']?_0x9b3b30[_0xcc4d('0x44')]:_0xefa96a[_0xcc4d('0x2d')];if(_0x3f0809[_0xcc4d('0x2f')][_0xcc4d('0x4e')]){_0x9b3b30[_0xcc4d('0x4f')]=[{'all':!![]}];}_0x9b3b30=_[_0xcc4d('0x4c')]({},_0x9b3b30,_0x3f0809[_0xcc4d('0x53')]);return db[_0xcc4d('0x29')][_0xcc4d('0x54')](_0x9b3b30)['then'](handleEntityNotFound(_0x2c798b,null))['then'](respondWithResult(_0x2c798b,null))[_0xcc4d('0x55')](handleError(_0x2c798b,null));};exports[_0xcc4d('0x56')]=function(_0x3eda0e,_0x515c6e){return db[_0xcc4d('0x29')][_0xcc4d('0x56')](_0x3eda0e['body'],{})[_0xcc4d('0x23')](respondWithResult(_0x515c6e,0xc9))[_0xcc4d('0x55')](handleError(_0x515c6e,null));};exports[_0xcc4d('0x22')]=function(_0x1a276c,_0x1dac9b){if(_0x1a276c['body']['id']){delete _0x1a276c[_0xcc4d('0x57')]['id'];}return db['CmHopper'][_0xcc4d('0x54')]({'where':{'id':_0x1a276c[_0xcc4d('0x52')]['id']}})['then'](handleEntityNotFound(_0x1dac9b,null))[_0xcc4d('0x23')](saveUpdates(_0x1a276c['body'],null))[_0xcc4d('0x23')](respondWithResult(_0x1dac9b,null))[_0xcc4d('0x55')](handleError(_0x1dac9b,null));};exports[_0xcc4d('0x58')]=function(_0x16008d,_0x1d4696){return db['CmHopper']['describe']()[_0xcc4d('0x23')](respondWithResult(_0x1d4696,null))[_0xcc4d('0x55')](handleError(_0x1d4696,null));};exports[_0xcc4d('0x24')]=function(_0x56fd36,_0xe1a364){var _0x3c4cab;return db[_0xcc4d('0x29')][_0xcc4d('0x54')]({'where':{'id':_0x56fd36[_0xcc4d('0x52')]['id']}})[_0xcc4d('0x23')](handleEntityNotFound(_0xe1a364,null))['then'](function(_0x10e4c6){if(_0x10e4c6){return _0x10e4c6[_0xcc4d('0x24')]()['then'](function(_0x2188d8){return _0x2188d8;});}})[_0xcc4d('0x23')](function(_0x38a34b){_0x3c4cab=_0x38a34b;if(_0x38a34b){if(_0x38a34b[_0xcc4d('0x59')]||_0x38a34b[_0xcc4d('0x5a')]){return db[_0x38a34b[_0xcc4d('0x59')]?_0xcc4d('0x5b'):'Campaign']['find']({'where':{'id':_0x38a34b[_0xcc4d('0x59')]?_0x38a34b[_0xcc4d('0x59')]:_0x38a34b['CampaignId']},'attributes':['id',_0xcc4d('0x2e')],'raw':!![]});}}})[_0xcc4d('0x23')](function(_0x3c99af){var _0x4d0e37={};if(_0x3c99af){_[_0xcc4d('0x4c')](_0x4d0e37,_[_0xcc4d('0x5c')](_0x3c4cab['dataValues'],[_0xcc4d('0x5d'),_0xcc4d('0x5e'),'id']));_0x4d0e37[_0xcc4d('0x5f')]=0x15;_0x4d0e37[_0xcc4d('0x60')]=_0xcc4d('0x61');_0x4d0e37[_0xcc4d('0x62')]=_0x3c99af[_0xcc4d('0x2e')];_0x4d0e37[_0xcc4d('0x63')]=_0x56fd36[_0xcc4d('0x64')][_0xcc4d('0x2e')];_0x4d0e37[_0xcc4d('0x65')]=_0x56fd36['user']['id'];_0x4d0e37['deleted']=!![];_0x4d0e37[_0xcc4d('0x66')]=moment()[_0xcc4d('0x67')](_0xcc4d('0x68'));_0x4d0e37[_0xcc4d('0x69')]=_0x3c4cab['phone'];_0x4d0e37[_0xcc4d('0x6a')]=_0x3c4cab[_0xcc4d('0x59')]?'queue':'ivr';return db[_0xcc4d('0x6b')][_0xcc4d('0x54')]({'where':{'id':_0x4d0e37[_0xcc4d('0x6c')]},'attributes':[_0xcc4d('0x6d'),_0xcc4d('0x6e')]})[_0xcc4d('0x23')](function(_0x3352ed){if(!_[_0xcc4d('0x6f')](_0xe1a364)&&!_['isNil'](_0x3352ed[_0xcc4d('0x6d')])){_0x4d0e37[_0xcc4d('0x70')]=_0x3352ed[_0xcc4d('0x6d')];if(!_[_0xcc4d('0x6f')](_0x3352ed[_0xcc4d('0x6e')])){_0x4d0e37[_0xcc4d('0x70')]+='\x20'+_0x3352ed['lastName'];}}})[_0xcc4d('0x71')](function(){return db['CmHopperFinal'][_0xcc4d('0x56')](_0x4d0e37);});}})[_0xcc4d('0x23')](function(){return _0xe1a364[_0xcc4d('0x17')](0xcc)[_0xcc4d('0x18')]();})[_0xcc4d('0x55')](handleError(_0xe1a364,null));};exports[_0xcc4d('0x72')]=function(_0x41863c,_0x5cd2f1,_0x21d94a){var _0x53b2b8=[];return db[_0xcc4d('0x6b')][_0xcc4d('0x58')]()[_0xcc4d('0x23')](function(_0x1e5e66){_0x53b2b8=_[_0xcc4d('0x30')](_0x1e5e66);return _0x41863c['user'][_0xcc4d('0x73')]({'where':{'type':'outbound','dialActive':!![],'dialMethod':_0xcc4d('0x74')},'attributes':['id',_0xcc4d('0x75')],'raw':!![]});})[_0xcc4d('0x23')](function(_0x407301){if(_0x407301&&_0x407301[_0xcc4d('0x76')]){return db['sequelize'][_0xcc4d('0x77')](function(_0x40a764){var _0x1b4bb9={'active':![],'recallme':![],'scheduledAt':{'$lte':moment()[_0xcc4d('0x67')](_0xcc4d('0x68'))},'VoiceQueueId':{'$in':_[_0xcc4d('0x28')](_0x407301,'id')},'$or':[{'UserId':null},{'UserId':_0x41863c[_0xcc4d('0x64')]['id']}]};var _0x75a9e2=[];if(_0x41863c['body']['direction']&&_0x41863c['body'][_0xcc4d('0x78')]===_0xcc4d('0x79')){if(!_['isEmpty'](_0x41863c[_0xcc4d('0x57')][_0xcc4d('0x7a')])){_0x1b4bb9['id']={'$in':_0x41863c[_0xcc4d('0x57')]['hopperIds']};}_0x75a9e2=[[_0xcc4d('0x7b'),'ASC'],[_0xcc4d('0x7c'),_0x407301[0x0]['dialOrderByScheduledAt']===_0xcc4d('0x7d')?'DESC':_0xcc4d('0x7d')],db[_0xcc4d('0x7e')][_0xcc4d('0x7f')](_0xcc4d('0x80')),['id',_0xcc4d('0x81')]];}else{if(!_[_0xcc4d('0x82')](_0x41863c[_0xcc4d('0x57')][_0xcc4d('0x7a')])){_0x1b4bb9['id']={'$notIn':_0x41863c[_0xcc4d('0x57')]['hopperIds']};}_0x75a9e2=[[_0xcc4d('0x7b'),_0xcc4d('0x81')],['scheduledAt',_0x407301[0x0][_0xcc4d('0x75')]],db[_0xcc4d('0x7e')][_0xcc4d('0x7f')](_0xcc4d('0x83')),['id',_0xcc4d('0x7d')]];}return db['CmHopper']['findOne']({'attributes':['id','scheduledat'],'where':_0x1b4bb9,'order':_0x75a9e2,'transaction':_0x40a764,'lock':_0x40a764[_0xcc4d('0x84')][_0xcc4d('0x85')],'include':[{'model':db[_0xcc4d('0x6b')],'as':_0xcc4d('0x86'),'attributes':_0x53b2b8,'include':[{'model':db['CmCompany'],'as':_0xcc4d('0x87'),'attributes':['id',_0xcc4d('0x2e')]}]},{'model':db[_0xcc4d('0x88')],'as':_0xcc4d('0x89'),'attributes':['id',_0xcc4d('0x2e')]},{'model':db[_0xcc4d('0x5b')],'as':'Queue','attributes':['id',_0xcc4d('0x2e'),'dialActive']}]})[_0xcc4d('0x23')](function(_0x46dcc6){if(_0x46dcc6){return _0x46dcc6[_0xcc4d('0x22')]({'UserId':_0x41863c[_0xcc4d('0x64')]['id']},{'transaction':_0x40a764});}});});}})[_0xcc4d('0x23')](handleEntityNotFound(_0x5cd2f1,null))['then'](respondWithResult(_0x5cd2f1,null))['catch'](handleError(_0x5cd2f1,null));};exports[_0xcc4d('0x8a')]=function(_0x27fe08,_0x42a101,_0x4eb882){return _0x27fe08[_0xcc4d('0x64')][_0xcc4d('0x73')]({'where':{'type':_0xcc4d('0x8b'),'dialActive':!![],'dialMethod':_0xcc4d('0x74')},'attributes':['id'],'raw':!![]})[_0xcc4d('0x23')](function(_0x5eef38){if(_0x5eef38&&_0x5eef38[_0xcc4d('0x76')]){return db[_0xcc4d('0x29')][_0xcc4d('0x1a')]({'where':{'active':![],'recallme':![],'scheduledAt':{'$lte':moment()[_0xcc4d('0x67')]('YYYY-MM-DD\x20HH:mm:ss')},'VoiceQueueId':{'$in':_['map'](_0x5eef38,'id')},'$or':[{'UserId':null},{'UserId':_0x27fe08['user']['id']}]}});}return 0x0;})[_0xcc4d('0x23')](function(_0x14905){if(!_[_0xcc4d('0x6f')](_0x14905)&&_[_0xcc4d('0x8c')](_0x14905)){return _0x42a101[_0xcc4d('0x17')](0xc8)[_0xcc4d('0x19')]({'contacts':_0x14905});}else{logger[_0xcc4d('0x25')](_0xcc4d('0x8d'),'getOpenContacts',0x194,_0xcc4d('0x8e'));_0x42a101[_0xcc4d('0x16')](0x194);}})['catch'](handleError(_0x42a101,null));}; \ No newline at end of file +var _0x5a51=['sox','crypto','desk.js','to-csv','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','sendStatus','end','status','json','count','offset','apply','reject','save','update','destroy','then','stack','name','send','index','map','CmHopper','rawAttributes','fieldName','type','query','filters','intersection','model','$and','$or','$gt','$gte','$lt','$lte','$ne','$eq','$not','$between','$notBetween','$in','$notLike','$notILike','$like','$overlap','$contains','$contained','attributes','fields','length','hasOwnProperty','limit','order','sort','where','pick','filter','merge','options','findAll','rows','show','params','keys','include','find','catch','create','body','describe','VoiceQueueId','Campaign','CampaignId','omit','dataValues','updatedAt','state','statedesc','deleted','campaign','user','UserId','deletedat','YYYY-MM-DD\x20HH:mm:ss','phone','campaigntype','queue','ivr','firstName','isNil','calleridname','lastName','finally','CmHopperFinal','getPreview','CmContact','getVoiceQueues','outbound','preview','dialOrderByScheduledAt','sequelize','transaction','format','direction','prev','isEmpty','hopperIds','priority','ASC','DESC','literal','COALESCE(CmHopper.UserId,\x200)\x20ASC','scheduledAt','COALESCE(CmHopper.UserId,\x200)\x20DESC','findOne','LOCK','UPDATE','Contact','Company','CmList','VoiceQueue','Queue','dialActive','getOpenContacts','isNumber','error','CmHopper,\x20%s,\x20%s,\x20%s','entity\x20not\x20found','html-pdf','rimraf','fast-json-patch','request-promise','moment','bluebird','mustache','util'];(function(_0x38b8c2,_0x242e59){var _0x25e192=function(_0x45a535){while(--_0x45a535){_0x38b8c2['push'](_0x38b8c2['shift']());}};_0x25e192(++_0x242e59);}(_0x5a51,0x1b1));var _0x15a5=function(_0x17678c,_0x40d53c){_0x17678c=_0x17678c-0x0;var _0x465d16=_0x5a51[_0x17678c];return _0x465d16;};'use strict';var pdf=require(_0x15a5('0x0'));var emlformat=require('eml-format');var rimraf=require(_0x15a5('0x1'));var zipdir=require('zip-dir');var jsonpatch=require(_0x15a5('0x2'));var rp=require(_0x15a5('0x3'));var moment=require(_0x15a5('0x4'));var BPromise=require(_0x15a5('0x5'));var Mustache=require(_0x15a5('0x6'));var util=require(_0x15a5('0x7'));var path=require('path');var sox=require(_0x15a5('0x8'));var csv=require('to-csv');var ejs=require('ejs');var fs=require('fs');var _=require('lodash');var squel=require('squel');var crypto=require(_0x15a5('0x9'));var jsforce=require('jsforce');var deskjs=require(_0x15a5('0xa'));var toCsv=require(_0x15a5('0xb'));var querystring=require('querystring');var Papa=require(_0x15a5('0xc'));var Redis=require(_0x15a5('0xd'));var authService=require(_0x15a5('0xe'));var qs=require(_0x15a5('0xf'));var as=require(_0x15a5('0x10'));var hardwareService=require(_0x15a5('0x11'));var logger=require(_0x15a5('0x12'))(_0x15a5('0x13'));var utils=require(_0x15a5('0x14'));var config=require(_0x15a5('0x15'));var db=require(_0x15a5('0x16'))['db'];function respondWithStatusCode(_0x288f34,_0xbe7908){_0xbe7908=_0xbe7908||0xcc;return function(_0x59a050){if(_0x59a050){return _0x288f34[_0x15a5('0x17')](_0xbe7908);}return _0x288f34['status'](_0xbe7908)[_0x15a5('0x18')]();};}function respondWithResult(_0xa59626,_0x353e4a){_0x353e4a=_0x353e4a||0xc8;return function(_0x578d85){if(_0x578d85){return _0xa59626[_0x15a5('0x19')](_0x353e4a)[_0x15a5('0x1a')](_0x578d85);}};}function respondWithFilteredResult(_0x23f443,_0x12228f){return function(_0x1b1d87){if(_0x1b1d87){var _0xa7313f=_0x1b1d87[_0x15a5('0x1b')],_0x34b832=_0x12228f[_0x15a5('0x1c')],_0x4e15ea=_0x12228f['offset']+_0x12228f['limit'],_0x5c285a;if(_0x4e15ea>=_0xa7313f){_0x4e15ea=_0xa7313f;_0x5c285a=0xc8;}else{_0x5c285a=0xce;}_0x23f443[_0x15a5('0x19')](_0x5c285a);return _0x23f443['set']('Content-Range',_0x34b832+'-'+_0x4e15ea+'/'+_0xa7313f)['json'](_0x1b1d87);}return null;};}function patchUpdates(_0x19f1f1){return function(_0x290fbf){try{jsonpatch[_0x15a5('0x1d')](_0x290fbf,_0x19f1f1,!![]);}catch(_0x1b8426){return BPromise[_0x15a5('0x1e')](_0x1b8426);}return _0x290fbf[_0x15a5('0x1f')]();};}function saveUpdates(_0x4f615c,_0x41e179){return function(_0x576327){if(_0x576327){return _0x576327[_0x15a5('0x20')](_0x4f615c)['then'](function(_0x4ed18f){return _0x4ed18f;});}return null;};}function removeEntity(_0x51682f,_0x5dca7f){return function(_0x3fef49){if(_0x3fef49){return _0x3fef49[_0x15a5('0x21')]()[_0x15a5('0x22')](function(){_0x51682f[_0x15a5('0x19')](0xcc)['end']();});}};}function handleEntityNotFound(_0x158260,_0x4d6e24){return function(_0x1a7d91){if(!_0x1a7d91){_0x158260['sendStatus'](0x194);}return _0x1a7d91;};}function handleError(_0x55aadb,_0x28c37d){_0x28c37d=_0x28c37d||0x1f4;return function(_0x4d3e78){logger['error'](_0x4d3e78[_0x15a5('0x23')]);if(_0x4d3e78[_0x15a5('0x24')]){delete _0x4d3e78['name'];}_0x55aadb[_0x15a5('0x19')](_0x28c37d)[_0x15a5('0x25')](_0x4d3e78);};}exports[_0x15a5('0x26')]=function(_0x57233c,_0x2165ff){var _0x4d9794={},_0x32f6e2={},_0x4056cc={'count':0x0,'rows':[]};var _0x485f68=_[_0x15a5('0x27')](db[_0x15a5('0x28')][_0x15a5('0x29')],function(_0x4c24a4){return{'name':_0x4c24a4[_0x15a5('0x2a')],'type':_0x4c24a4[_0x15a5('0x2b')]['key']};});_0x32f6e2['model']=_[_0x15a5('0x27')](_0x485f68,_0x15a5('0x24'));_0x32f6e2[_0x15a5('0x2c')]=_['keys'](_0x57233c[_0x15a5('0x2c')]);_0x32f6e2[_0x15a5('0x2d')]=_[_0x15a5('0x2e')](_0x32f6e2[_0x15a5('0x2f')],_0x32f6e2[_0x15a5('0x2c')]);_0x32f6e2[_0x15a5('0x2d')]=_['concat'](_0x32f6e2[_0x15a5('0x2d')],[_0x15a5('0x30'),_0x15a5('0x31'),_0x15a5('0x32'),_0x15a5('0x33'),_0x15a5('0x34'),_0x15a5('0x35'),_0x15a5('0x36'),_0x15a5('0x37'),_0x15a5('0x38'),_0x15a5('0x39'),_0x15a5('0x3a'),_0x15a5('0x3b'),'$notIn','$like',_0x15a5('0x3c'),'$iLike',_0x15a5('0x3d'),_0x15a5('0x3e'),_0x15a5('0x3f'),_0x15a5('0x40'),_0x15a5('0x41'),'$any']);_0x4d9794[_0x15a5('0x42')]=_[_0x15a5('0x2e')](_0x32f6e2[_0x15a5('0x2f')],qs[_0x15a5('0x43')](_0x57233c[_0x15a5('0x2c')][_0x15a5('0x43')]));_0x4d9794[_0x15a5('0x42')]=_0x4d9794[_0x15a5('0x42')][_0x15a5('0x44')]?_0x4d9794[_0x15a5('0x42')]:_0x32f6e2[_0x15a5('0x2f')];if(!_0x57233c[_0x15a5('0x2c')][_0x15a5('0x45')]('nolimit')){_0x4d9794['limit']=qs[_0x15a5('0x46')](_0x57233c[_0x15a5('0x2c')][_0x15a5('0x46')]);_0x4d9794[_0x15a5('0x1c')]=qs[_0x15a5('0x1c')](_0x57233c['query'][_0x15a5('0x1c')]);}_0x4d9794[_0x15a5('0x47')]=qs[_0x15a5('0x48')](_0x57233c[_0x15a5('0x2c')]['sort']);_0x4d9794[_0x15a5('0x49')]=qs[_0x15a5('0x2d')](_[_0x15a5('0x4a')](_0x57233c[_0x15a5('0x2c')],_0x32f6e2[_0x15a5('0x2d')]),_0x485f68);if(_0x57233c['query'][_0x15a5('0x4b')]){_0x4d9794['where']=_['merge'](_0x4d9794[_0x15a5('0x49')],{'$or':_[_0x15a5('0x27')](_0x485f68,function(_0x2dc231){if(_0x2dc231[_0x15a5('0x2b')]!=='VIRTUAL'){var _0x122d5b={};_0x122d5b[_0x2dc231[_0x15a5('0x24')]]={'$like':'%'+_0x57233c['query'][_0x15a5('0x4b')]+'%'};return _0x122d5b;}})});}_0x4d9794=_[_0x15a5('0x4c')]({},_0x4d9794,_0x57233c[_0x15a5('0x4d')]);var _0x36cb4b={'where':_0x4d9794['where']};return db[_0x15a5('0x28')][_0x15a5('0x1b')](_0x36cb4b)['then'](function(_0x84f7b0){_0x4056cc[_0x15a5('0x1b')]=_0x84f7b0;if(_0x57233c[_0x15a5('0x2c')]['includeAll']){_0x4d9794['include']=[{'all':!![]}];}return db[_0x15a5('0x28')][_0x15a5('0x4e')](_0x4d9794);})[_0x15a5('0x22')](function(_0x54b34d){_0x4056cc[_0x15a5('0x4f')]=_0x54b34d;return _0x4056cc;})[_0x15a5('0x22')](respondWithFilteredResult(_0x2165ff,_0x4d9794))['catch'](handleError(_0x2165ff,null));};exports[_0x15a5('0x50')]=function(_0x2cce01,_0x448f4f){var _0xd66ab2={'raw':!![],'where':{'id':_0x2cce01[_0x15a5('0x51')]['id']}},_0x3ef927={};_0x3ef927[_0x15a5('0x2f')]=_[_0x15a5('0x52')](db['CmHopper'][_0x15a5('0x29')]);_0x3ef927[_0x15a5('0x2c')]=_[_0x15a5('0x52')](_0x2cce01[_0x15a5('0x2c')]);_0x3ef927[_0x15a5('0x2d')]=_[_0x15a5('0x2e')](_0x3ef927['model'],_0x3ef927[_0x15a5('0x2c')]);_0xd66ab2[_0x15a5('0x42')]=_[_0x15a5('0x2e')](_0x3ef927['model'],qs['fields'](_0x2cce01[_0x15a5('0x2c')][_0x15a5('0x43')]));_0xd66ab2[_0x15a5('0x42')]=_0xd66ab2['attributes'][_0x15a5('0x44')]?_0xd66ab2[_0x15a5('0x42')]:_0x3ef927['model'];if(_0x2cce01[_0x15a5('0x2c')]['includeAll']){_0xd66ab2[_0x15a5('0x53')]=[{'all':!![]}];}_0xd66ab2=_[_0x15a5('0x4c')]({},_0xd66ab2,_0x2cce01[_0x15a5('0x4d')]);return db['CmHopper'][_0x15a5('0x54')](_0xd66ab2)[_0x15a5('0x22')](handleEntityNotFound(_0x448f4f,null))[_0x15a5('0x22')](respondWithResult(_0x448f4f,null))[_0x15a5('0x55')](handleError(_0x448f4f,null));};exports[_0x15a5('0x56')]=function(_0x58223a,_0xde70c8){return db['CmHopper'][_0x15a5('0x56')](_0x58223a['body'],{})[_0x15a5('0x22')](respondWithResult(_0xde70c8,0xc9))[_0x15a5('0x55')](handleError(_0xde70c8,null));};exports[_0x15a5('0x20')]=function(_0x21855d,_0xeacb82){if(_0x21855d[_0x15a5('0x57')]['id']){delete _0x21855d[_0x15a5('0x57')]['id'];}return db[_0x15a5('0x28')][_0x15a5('0x54')]({'where':{'id':_0x21855d['params']['id']}})[_0x15a5('0x22')](handleEntityNotFound(_0xeacb82,null))[_0x15a5('0x22')](saveUpdates(_0x21855d[_0x15a5('0x57')],null))[_0x15a5('0x22')](respondWithResult(_0xeacb82,null))[_0x15a5('0x55')](handleError(_0xeacb82,null));};exports[_0x15a5('0x58')]=function(_0x488a18,_0xa1a7a1){return db[_0x15a5('0x28')][_0x15a5('0x58')]()[_0x15a5('0x22')](respondWithResult(_0xa1a7a1,null))['catch'](handleError(_0xa1a7a1,null));};exports[_0x15a5('0x21')]=function(_0x289071,_0x5c3493){var _0x3317a7;return db[_0x15a5('0x28')][_0x15a5('0x54')]({'where':{'id':_0x289071[_0x15a5('0x51')]['id']}})[_0x15a5('0x22')](handleEntityNotFound(_0x5c3493,null))[_0x15a5('0x22')](function(_0x15c796){if(_0x15c796){return _0x15c796[_0x15a5('0x21')]()[_0x15a5('0x22')](function(_0x16fbe5){return _0x16fbe5;});}})[_0x15a5('0x22')](function(_0x11d22a){_0x3317a7=_0x11d22a;if(_0x11d22a){if(_0x11d22a['VoiceQueueId']||_0x11d22a['CampaignId']){return db[_0x11d22a[_0x15a5('0x59')]?'VoiceQueue':_0x15a5('0x5a')][_0x15a5('0x54')]({'where':{'id':_0x11d22a['VoiceQueueId']?_0x11d22a[_0x15a5('0x59')]:_0x11d22a[_0x15a5('0x5b')]},'attributes':['id',_0x15a5('0x24')],'raw':!![]});}}})[_0x15a5('0x22')](function(_0x5dbdca){var _0x398936={};if(_0x5dbdca){_[_0x15a5('0x4c')](_0x398936,_[_0x15a5('0x5c')](_0x3317a7[_0x15a5('0x5d')],['createdAt',_0x15a5('0x5e'),'id']));_0x398936[_0x15a5('0x5f')]=0x15;_0x398936[_0x15a5('0x60')]=_0x15a5('0x61');_0x398936[_0x15a5('0x62')]=_0x5dbdca['name'];_0x398936['membername']=_0x289071[_0x15a5('0x63')][_0x15a5('0x24')];_0x398936[_0x15a5('0x64')]=_0x289071[_0x15a5('0x63')]['id'];_0x398936[_0x15a5('0x61')]=!![];_0x398936[_0x15a5('0x65')]=moment()['format'](_0x15a5('0x66'));_0x398936['calleridnum']=_0x3317a7[_0x15a5('0x67')];_0x398936[_0x15a5('0x68')]=_0x3317a7['VoiceQueueId']?_0x15a5('0x69'):_0x15a5('0x6a');return db['CmContact'][_0x15a5('0x54')]({'where':{'id':_0x398936['ContactId']},'attributes':[_0x15a5('0x6b'),'lastName']})[_0x15a5('0x22')](function(_0x433abe){if(!_[_0x15a5('0x6c')](_0x5c3493)&&!_[_0x15a5('0x6c')](_0x433abe[_0x15a5('0x6b')])){_0x398936[_0x15a5('0x6d')]=_0x433abe['firstName'];if(!_[_0x15a5('0x6c')](_0x433abe[_0x15a5('0x6e')])){_0x398936[_0x15a5('0x6d')]+='\x20'+_0x433abe[_0x15a5('0x6e')];}}})[_0x15a5('0x6f')](function(){return db[_0x15a5('0x70')]['create'](_0x398936);});}})[_0x15a5('0x22')](function(){return _0x5c3493[_0x15a5('0x19')](0xcc)[_0x15a5('0x18')]();})['catch'](handleError(_0x5c3493,null));};exports[_0x15a5('0x71')]=function(_0x1a0645,_0x1246c4,_0x1b88d9){var _0x2c3878=[];return db[_0x15a5('0x72')][_0x15a5('0x58')]()[_0x15a5('0x22')](function(_0x5cc109){_0x2c3878=_[_0x15a5('0x52')](_0x5cc109);return _0x1a0645['user'][_0x15a5('0x73')]({'where':{'type':_0x15a5('0x74'),'dialActive':!![],'dialMethod':_0x15a5('0x75')},'attributes':['id',_0x15a5('0x76')],'raw':!![]});})[_0x15a5('0x22')](function(_0x2e06d9){if(_0x2e06d9&&_0x2e06d9[_0x15a5('0x44')]){return db[_0x15a5('0x77')][_0x15a5('0x78')](function(_0x40357e){var _0x273b91={'active':![],'recallme':![],'scheduledAt':{'$lte':moment()[_0x15a5('0x79')]('YYYY-MM-DD\x20HH:mm:ss')},'VoiceQueueId':{'$in':_[_0x15a5('0x27')](_0x2e06d9,'id')},'$or':[{'UserId':null},{'UserId':_0x1a0645[_0x15a5('0x63')]['id']}]};var _0x217897=[];if(_0x1a0645[_0x15a5('0x57')][_0x15a5('0x7a')]&&_0x1a0645[_0x15a5('0x57')][_0x15a5('0x7a')]===_0x15a5('0x7b')){if(!_[_0x15a5('0x7c')](_0x1a0645['body'][_0x15a5('0x7d')])){_0x273b91['id']={'$in':_0x1a0645[_0x15a5('0x57')][_0x15a5('0x7d')]};}_0x217897=[[_0x15a5('0x7e'),_0x15a5('0x7f')],['scheduledAt',_0x2e06d9[0x0][_0x15a5('0x76')]==='ASC'?_0x15a5('0x80'):_0x15a5('0x7f')],db[_0x15a5('0x77')][_0x15a5('0x81')](_0x15a5('0x82')),['id',_0x15a5('0x80')]];}else{if(!_[_0x15a5('0x7c')](_0x1a0645['body'][_0x15a5('0x7d')])){_0x273b91['id']={'$notIn':_0x1a0645[_0x15a5('0x57')][_0x15a5('0x7d')]};}_0x217897=[[_0x15a5('0x7e'),_0x15a5('0x80')],[_0x15a5('0x83'),_0x2e06d9[0x0][_0x15a5('0x76')]],db[_0x15a5('0x77')][_0x15a5('0x81')](_0x15a5('0x84')),['id',_0x15a5('0x7f')]];}return db['CmHopper'][_0x15a5('0x85')]({'attributes':['id','scheduledat'],'where':_0x273b91,'order':_0x217897,'transaction':_0x40357e,'lock':_0x40357e[_0x15a5('0x86')][_0x15a5('0x87')],'include':[{'model':db['CmContact'],'as':_0x15a5('0x88'),'attributes':_0x2c3878,'include':[{'model':db['CmCompany'],'as':_0x15a5('0x89'),'attributes':['id',_0x15a5('0x24')]}]},{'model':db[_0x15a5('0x8a')],'as':'List','attributes':['id',_0x15a5('0x24')]},{'model':db[_0x15a5('0x8b')],'as':_0x15a5('0x8c'),'attributes':['id',_0x15a5('0x24'),_0x15a5('0x8d')]}]})['then'](function(_0x3d1bde){if(_0x3d1bde){return _0x3d1bde['update']({'UserId':_0x1a0645[_0x15a5('0x63')]['id']},{'transaction':_0x40357e});}});});}})[_0x15a5('0x22')](handleEntityNotFound(_0x1246c4,null))[_0x15a5('0x22')](respondWithResult(_0x1246c4,null))[_0x15a5('0x55')](handleError(_0x1246c4,null));};exports[_0x15a5('0x8e')]=function(_0x101093,_0x7e19ee,_0x3e3cca){return _0x101093[_0x15a5('0x63')][_0x15a5('0x73')]({'where':{'type':_0x15a5('0x74'),'dialActive':!![],'dialMethod':_0x15a5('0x75')},'attributes':['id'],'raw':!![]})['then'](function(_0x43481f){if(_0x43481f&&_0x43481f['length']){return db[_0x15a5('0x28')][_0x15a5('0x1b')]({'where':{'active':![],'recallme':![],'scheduledAt':{'$lte':moment()[_0x15a5('0x79')](_0x15a5('0x66'))},'VoiceQueueId':{'$in':_[_0x15a5('0x27')](_0x43481f,'id')},'$or':[{'UserId':null},{'UserId':_0x101093[_0x15a5('0x63')]['id']}]}});}return 0x0;})['then'](function(_0x38ce3d){if(!_['isNil'](_0x38ce3d)&&_[_0x15a5('0x8f')](_0x38ce3d)){return _0x7e19ee[_0x15a5('0x19')](0xc8)['json']({'contacts':_0x38ce3d});}else{logger[_0x15a5('0x90')](_0x15a5('0x91'),_0x15a5('0x8e'),0x194,_0x15a5('0x92'));_0x7e19ee[_0x15a5('0x17')](0x194);}})['catch'](handleError(_0x7e19ee,null));}; \ No newline at end of file diff --git a/server/api/cmHopper/cmHopper.model.js b/server/api/cmHopper/cmHopper.model.js index 5740940..c600211 100644 --- a/server/api/cmHopper/cmHopper.model.js +++ b/server/api/cmHopper/cmHopper.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xcfa5=['scheduledat','phone','priority','lodash','../../config/logger','api','moment','request-promise','path','rimraf','../../config/environment','exports','define'];(function(_0x2e976f,_0x304e59){var _0x517926=function(_0x5716bb){while(--_0x5716bb){_0x2e976f['push'](_0x2e976f['shift']());}};_0x517926(++_0x304e59);}(_0xcfa5,0x92));var _0x5cfa=function(_0x1d1779,_0x284147){_0x1d1779=_0x1d1779-0x0;var _0x2377e9=_0xcfa5[_0x1d1779];return _0x2377e9;};'use strict';var _=require(_0x5cfa('0x0'));var util=require('util');var logger=require(_0x5cfa('0x1'))(_0x5cfa('0x2'));var moment=require(_0x5cfa('0x3'));var BPromise=require('bluebird');var rp=require(_0x5cfa('0x4'));var fs=require('fs');var path=require(_0x5cfa('0x5'));var rimraf=require(_0x5cfa('0x6'));var config=require(_0x5cfa('0x7'));var attributes=require('./cmHopper.attributes');module[_0x5cfa('0x8')]=function(_0x12f4f3,_0x590a99){return _0x12f4f3[_0x5cfa('0x9')]('CmHopper',attributes,{'tableName':'cm_hopper','paranoid':![],'indexes':[{'name':'scheduledat','fields':[_0x5cfa('0xa')]},{'name':_0x5cfa('0xb'),'fields':[_0x5cfa('0xb')]},{'name':_0x5cfa('0xc'),'fields':['priority']}],'timestamps':!![]});}; \ No newline at end of file +var _0x9fd1=['scheduledat','phone','priority','util','api','bluebird','request-promise','path','../../config/environment','./cmHopper.attributes','exports','define','CmHopper','cm_hopper'];(function(_0x5854a6,_0x4111dd){var _0x32c7ee=function(_0x4a28dd){while(--_0x4a28dd){_0x5854a6['push'](_0x5854a6['shift']());}};_0x32c7ee(++_0x4111dd);}(_0x9fd1,0x161));var _0x19fd=function(_0x8d4686,_0xc0af1c){_0x8d4686=_0x8d4686-0x0;var _0x235e82=_0x9fd1[_0x8d4686];return _0x235e82;};'use strict';var _=require('lodash');var util=require(_0x19fd('0x0'));var logger=require('../../config/logger')(_0x19fd('0x1'));var moment=require('moment');var BPromise=require(_0x19fd('0x2'));var rp=require(_0x19fd('0x3'));var fs=require('fs');var path=require(_0x19fd('0x4'));var rimraf=require('rimraf');var config=require(_0x19fd('0x5'));var attributes=require(_0x19fd('0x6'));module[_0x19fd('0x7')]=function(_0x32894f,_0x411e1d){return _0x32894f[_0x19fd('0x8')](_0x19fd('0x9'),attributes,{'tableName':_0x19fd('0xa'),'paranoid':![],'indexes':[{'name':_0x19fd('0xb'),'fields':['scheduledat']},{'name':_0x19fd('0xc'),'fields':[_0x19fd('0xc')]},{'name':_0x19fd('0xd'),'fields':[_0x19fd('0xd')]}],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/cmHopper/cmHopper.rpc.js b/server/api/cmHopper/cmHopper.rpc.js index 2c4bcd0..2112440 100644 --- a/server/api/cmHopper/cmHopper.rpc.js +++ b/server/api/cmHopper/cmHopper.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x663e=['CmHopper,\x20%s,\x20%s,\x20%s','stringify','error','message','result','GetCmHopper','CmHopper','options','raw','where','attributes','limit','include','map','model','ShowCmHopper','find','catch','CreateCmHopper','body','UpdateCmHopper','update','DestroyCmHopper','GetContactDialer','CmContact','describe','sequelize','transaction','findAll','LOCK','UPDATE','keys','User','Agent','name','UserId','push','all','MoveContactManagedDialer','create','CountReScheduled','COUNT','literal','`scheduledat`\x20>=\x20','format','YYYY-MM-DD\x20HH:mm:ss','contactsRescheduled','GetContactRecallMe','order','length','GetCmHopperPreview','Contact','lodash','util','moment','bluebird','randomstring','ioredis','../../mysqldb','../../config/utils','../../config/logger','rpc','jayson/promise','client','http','request','then','info','CmHopper,\x20%s,\x20%s','request\x20sent','debug'];(function(_0x2034a6,_0x446db4){var _0x397c20=function(_0x5bc557){while(--_0x5bc557){_0x2034a6['push'](_0x2034a6['shift']());}};_0x397c20(++_0x446db4);}(_0x663e,0x7b));var _0xe663=function(_0x8add3c,_0x223713){_0x8add3c=_0x8add3c-0x0;var _0x2ffbc2=_0x663e[_0x8add3c];return _0x2ffbc2;};'use strict';var _=require(_0xe663('0x0'));var util=require(_0xe663('0x1'));var moment=require(_0xe663('0x2'));var BPromise=require(_0xe663('0x3'));var rs=require(_0xe663('0x4'));var fs=require('fs');var Redis=require(_0xe663('0x5'));var db=require(_0xe663('0x6'))['db'];var utils=require(_0xe663('0x7'));var logger=require(_0xe663('0x8'))(_0xe663('0x9'));var config=require('../../config/environment');var jayson=require(_0xe663('0xa'));var client=jayson[_0xe663('0xb')][_0xe663('0xc')]({'port':0x232a});function respondWithRpcPromise(_0x1eaa56,_0x523e2c,_0x278cae){return new BPromise(function(_0xe10f7f,_0x349dee){return client[_0xe663('0xd')](_0x1eaa56,_0x278cae)[_0xe663('0xe')](function(_0x58118f){logger[_0xe663('0xf')](_0xe663('0x10'),_0x523e2c,_0xe663('0x11'));logger[_0xe663('0x12')](_0xe663('0x13'),_0x523e2c,_0xe663('0x11'),JSON[_0xe663('0x14')](_0x58118f));if(_0x58118f[_0xe663('0x15')]){if(_0x58118f[_0xe663('0x15')]['code']===0x1f4){logger[_0xe663('0x15')](_0xe663('0x10'),_0x523e2c,_0x58118f[_0xe663('0x15')][_0xe663('0x16')]);return _0x349dee(_0x58118f[_0xe663('0x15')][_0xe663('0x16')]);}logger[_0xe663('0x15')](_0xe663('0x10'),_0x523e2c,_0x58118f[_0xe663('0x15')]['message']);return _0xe10f7f(_0x58118f[_0xe663('0x15')][_0xe663('0x16')]);}else{logger[_0xe663('0xf')]('CmHopper,\x20%s,\x20%s',_0x523e2c,'request\x20sent');_0xe10f7f(_0x58118f[_0xe663('0x17')][_0xe663('0x16')]);}})['catch'](function(_0x489de7){logger[_0xe663('0x15')](_0xe663('0x10'),_0x523e2c,_0x489de7);_0x349dee(_0x489de7);});});}exports[_0xe663('0x18')]=function(_0x2fc84f){var _0x7e59ad=this;return new Promise(function(_0x4ed46c,_0x2cde5e){return db[_0xe663('0x19')]['findAll']({'raw':_0x2fc84f['options']?_0x2fc84f[_0xe663('0x1a')][_0xe663('0x1b')]===undefined?!![]:![]:!![],'where':_0x2fc84f['options']?_0x2fc84f[_0xe663('0x1a')][_0xe663('0x1c')]||null:null,'attributes':_0x2fc84f['options']?_0x2fc84f[_0xe663('0x1a')][_0xe663('0x1d')]||null:null,'limit':_0x2fc84f[_0xe663('0x1a')]?_0x2fc84f['options'][_0xe663('0x1e')]||null:null,'include':_0x2fc84f['options']?_0x2fc84f[_0xe663('0x1a')][_0xe663('0x1f')]?_[_0xe663('0x20')](_0x2fc84f[_0xe663('0x1a')][_0xe663('0x1f')],function(_0x59ae21){return{'model':db[_0x59ae21[_0xe663('0x21')]],'as':_0x59ae21['as'],'attributes':_0x59ae21[_0xe663('0x1d')],'include':_0x59ae21[_0xe663('0x1f')]?_[_0xe663('0x20')](_0x59ae21[_0xe663('0x1f')],function(_0x5db4ba){return{'model':db[_0x5db4ba[_0xe663('0x21')]],'as':_0x5db4ba['as'],'attributes':_0x5db4ba[_0xe663('0x1d')],'include':_0x5db4ba[_0xe663('0x1f')]?_[_0xe663('0x20')](_0x5db4ba['include'],function(_0x5932e5){return{'model':db[_0x5932e5['model']],'as':_0x5932e5['as'],'attributes':_0x5932e5[_0xe663('0x1d')]};}):[]};}):[]};}):[]:[]})[_0xe663('0xe')](function(_0x2ad613){logger[_0xe663('0xf')](_0xe663('0x18'),_0x2fc84f);logger[_0xe663('0x12')](_0xe663('0x18'),_0x2fc84f,JSON['stringify'](_0x2ad613));_0x4ed46c(_0x2ad613);})['catch'](function(_0x1a2633){logger[_0xe663('0x15')](_0xe663('0x18'),_0x1a2633[_0xe663('0x16')],_0x2fc84f);_0x2cde5e(_0x7e59ad[_0xe663('0x15')](0x1f4,_0x1a2633[_0xe663('0x16')]));});});};exports[_0xe663('0x22')]=function(_0x166cd9){var _0x5809c1=this;return new Promise(function(_0x2f1858,_0x339907){return db[_0xe663('0x19')][_0xe663('0x23')]({'raw':_0x166cd9[_0xe663('0x1a')]?_0x166cd9[_0xe663('0x1a')][_0xe663('0x1b')]===undefined?!![]:![]:!![],'where':_0x166cd9['options']?_0x166cd9[_0xe663('0x1a')][_0xe663('0x1c')]||null:null,'attributes':_0x166cd9['options']?_0x166cd9[_0xe663('0x1a')][_0xe663('0x1d')]||null:null,'include':_0x166cd9[_0xe663('0x1a')]?_0x166cd9[_0xe663('0x1a')][_0xe663('0x1f')]?_['map'](_0x166cd9[_0xe663('0x1a')][_0xe663('0x1f')],function(_0x1525db){return{'model':db[_0x1525db[_0xe663('0x21')]],'as':_0x1525db['as'],'attributes':_0x1525db['attributes'],'include':_0x1525db[_0xe663('0x1f')]?_[_0xe663('0x20')](_0x1525db[_0xe663('0x1f')],function(_0x196bed){return{'model':db[_0x196bed[_0xe663('0x21')]],'as':_0x196bed['as'],'attributes':_0x196bed[_0xe663('0x1d')],'include':_0x196bed[_0xe663('0x1f')]?_[_0xe663('0x20')](_0x196bed[_0xe663('0x1f')],function(_0x167c8a){return{'model':db[_0x167c8a[_0xe663('0x21')]],'as':_0x167c8a['as'],'attributes':_0x167c8a[_0xe663('0x1d')]};}):[]};}):[]};}):[]:[]})[_0xe663('0xe')](function(_0x2cc910){logger['info'](_0xe663('0x22'),_0x166cd9);logger[_0xe663('0x12')](_0xe663('0x22'),_0x166cd9,JSON[_0xe663('0x14')](_0x2cc910));_0x2f1858(_0x2cc910);})[_0xe663('0x24')](function(_0x5a57df){logger[_0xe663('0x15')](_0xe663('0x22'),_0x5a57df[_0xe663('0x16')],_0x166cd9);_0x339907(_0x5809c1['error'](0x1f4,_0x5a57df[_0xe663('0x16')]));});});};exports[_0xe663('0x25')]=function(_0x43517a){var _0x35fcd3=this;return new Promise(function(_0x459ac7,_0x43c9cd){return db[_0xe663('0x19')]['create'](_0x43517a[_0xe663('0x26')],{'raw':_0x43517a[_0xe663('0x1a')]?_0x43517a[_0xe663('0x1a')][_0xe663('0x1b')]===undefined?!![]:![]:!![]})['then'](function(_0x57a92b){logger[_0xe663('0xf')](_0xe663('0x25'),_0x43517a);logger[_0xe663('0x12')](_0xe663('0x25'),_0x43517a,JSON[_0xe663('0x14')](_0x57a92b));_0x459ac7(_0x57a92b);})[_0xe663('0x24')](function(_0x26a099){logger['error'](_0xe663('0x25'),_0x26a099['message'],_0x43517a);_0x43c9cd(_0x35fcd3[_0xe663('0x15')](0x1f4,_0x26a099[_0xe663('0x16')]));});});};exports[_0xe663('0x27')]=function(_0x5b8cd0){var _0x3a89cb=this;return new Promise(function(_0x1a4bc9,_0x2b6c84){return db[_0xe663('0x19')][_0xe663('0x28')](_0x5b8cd0['body'],{'raw':_0x5b8cd0[_0xe663('0x1a')]?_0x5b8cd0[_0xe663('0x1a')][_0xe663('0x1b')]===undefined?!![]:![]:!![],'individualHooks':!![],'where':_0x5b8cd0[_0xe663('0x1a')]?_0x5b8cd0[_0xe663('0x1a')][_0xe663('0x1c')]||null:null,'attributes':_0x5b8cd0['options']?_0x5b8cd0['options'][_0xe663('0x1d')]||null:null,'limit':_0x5b8cd0[_0xe663('0x1a')]?_0x5b8cd0['options'][_0xe663('0x1e')]||null:null})[_0xe663('0xe')](function(_0x49a10c){logger['info']('UpdateCmHopper',_0x5b8cd0);logger[_0xe663('0x12')]('UpdateCmHopper',_0x5b8cd0,JSON[_0xe663('0x14')](_0x49a10c));_0x1a4bc9(_0x49a10c);})[_0xe663('0x24')](function(_0x1e981d){logger['error'](_0xe663('0x27'),_0x1e981d[_0xe663('0x16')],_0x5b8cd0);_0x2b6c84(_0x3a89cb[_0xe663('0x15')](0x1f4,_0x1e981d['message']));});});};exports[_0xe663('0x29')]=function(_0x401c59){var _0x3b745e=this;return new Promise(function(_0xa7fa30,_0x29e7d1){return db[_0xe663('0x19')]['destroy']({'where':_0x401c59[_0xe663('0x1a')]?_0x401c59[_0xe663('0x1a')][_0xe663('0x1c')]||null:null})[_0xe663('0xe')](function(_0x3f6cba){logger[_0xe663('0xf')]('DestroyCmHopper',_0x401c59);logger[_0xe663('0x12')](_0xe663('0x29'),_0x401c59,JSON[_0xe663('0x14')](_0x3f6cba));_0xa7fa30(_0x3f6cba);})[_0xe663('0x24')](function(_0x1bb7ed){logger[_0xe663('0x15')]('DestroyCmHopper',_0x1bb7ed['message'],_0x401c59);_0x29e7d1(_0x3b745e[_0xe663('0x15')](0x1f4,_0x1bb7ed['message']));});});};exports[_0xe663('0x2a')]=function(_0x37f931){var _0x7e009d=this;return new Promise(function(_0x54d3d4,_0x1461b2){return db[_0xe663('0x2b')][_0xe663('0x2c')]()[_0xe663('0xe')](function(_0xc2f93e){return db[_0xe663('0x2d')][_0xe663('0x2e')](function(_0x487b3c){return db[_0xe663('0x19')][_0xe663('0x2f')]({'where':_0x37f931[_0xe663('0x1a')]?_0x37f931[_0xe663('0x1a')]['where']||null:null,'attributes':_0x37f931[_0xe663('0x1a')]?_0x37f931[_0xe663('0x1a')][_0xe663('0x1d')]||null:null,'limit':_0x37f931[_0xe663('0x1a')]?_0x37f931[_0xe663('0x1a')][_0xe663('0x1e')]||null:null,'order':_0x37f931[_0xe663('0x1a')]?_0x37f931[_0xe663('0x1a')]['order']||null:null,'transaction':_0x487b3c,'lock':_0x487b3c[_0xe663('0x30')][_0xe663('0x31')],'include':[{'model':db[_0xe663('0x2b')],'as':'Contact','attributes':_[_0xe663('0x32')](_0xc2f93e)},{'model':db[_0xe663('0x33')],'as':_0xe663('0x34'),'attributes':['id',_0xe663('0x35'),'voicePause']}]})[_0xe663('0xe')](function(_0x23daa3){var _0x9cb47f=[];var _0x547aea=[];for(var _0x2247b0=0x0;_0x2247b0<_0x23daa3['length'];_0x2247b0+=0x1){if(!_0x547aea['includes'](_0x23daa3[_0x2247b0][_0xe663('0x36')])){_0x547aea[_0xe663('0x37')](_0x23daa3[_0x2247b0]['UserId']);_0x9cb47f[_0xe663('0x37')](_0x23daa3[_0x2247b0]['update'](_0x37f931[_0xe663('0x26')],{'transaction':_0x487b3c}));}}return BPromise[_0xe663('0x38')](_0x9cb47f);});})[_0xe663('0xe')](function(_0x225be1){logger[_0xe663('0xf')](_0xe663('0x2a'),_0x37f931);logger[_0xe663('0x12')](_0xe663('0x2a'),_0x37f931,JSON[_0xe663('0x14')](_0x225be1));_0x54d3d4(_0x225be1);})[_0xe663('0x24')](function(_0x159bce){logger['error'](_0xe663('0x2a'),_0x159bce['message'],_0x37f931);_0x1461b2(_0x7e009d[_0xe663('0x15')](0x1f4,_0x159bce[_0xe663('0x16')]));});});});};exports[_0xe663('0x39')]=function(_0x4dd4a8){var _0x3b12ad=this;return new Promise(function(_0x13f117,_0x5e84c3){return db[_0xe663('0x2d')]['transaction'](function(_0x5393b4){return db['CmHopperFinal'][_0xe663('0x3a')](_0x4dd4a8[_0xe663('0x26')],{'raw':_0x4dd4a8['options']?_0x4dd4a8[_0xe663('0x1a')]['raw']===undefined?!![]:![]:!![],'transaction':_0x5393b4})['then'](function(){return db[_0xe663('0x19')]['destroy']({'where':_0x4dd4a8[_0xe663('0x1a')]?_0x4dd4a8['options'][_0xe663('0x1c')]||null:null,'transaction':_0x5393b4});});})[_0xe663('0xe')](function(_0x2c2ac4){logger['info'](_0xe663('0x39'),_0x4dd4a8);logger['debug'](_0xe663('0x39'),_0x4dd4a8,JSON[_0xe663('0x14')](_0x2c2ac4));_0x13f117(_0x2c2ac4);})[_0xe663('0x24')](function(_0x285f32){logger[_0xe663('0x15')]('MoveContactManagedDialer',_0x285f32['message'],_0x4dd4a8);_0x5e84c3(_0x3b12ad[_0xe663('0x15')](0x1f4,_0x285f32[_0xe663('0x16')]));});});};exports[_0xe663('0x3b')]=function(_0x214fc5){var _0x2593f7=this;return new Promise(function(_0x581015,_0x4ddb6d){return db[_0xe663('0x19')]['findAll']({'raw':_0x214fc5['options']?_0x214fc5[_0xe663('0x1a')][_0xe663('0x1b')]===undefined?!![]:![]:!![],'where':_0x214fc5['options']?_0x214fc5[_0xe663('0x1a')]['where']||null:null,'attributes':[[db[_0xe663('0x2d')]['fn'](_0xe663('0x3c'),db[_0xe663('0x2d')]['fn']('IF',db[_0xe663('0x2d')][_0xe663('0x3d')](_0xe663('0x3e')+util[_0xe663('0x3f')]('\x22%s\x22',moment()[_0xe663('0x3f')](_0xe663('0x40')))+'\x20,\x201,\x20null'))),_0xe663('0x41')]]})[_0xe663('0xe')](function(_0x44e816){logger[_0xe663('0xf')]('CountReScheduled',_0x214fc5);logger[_0xe663('0x12')](_0xe663('0x3b'),_0x214fc5,JSON[_0xe663('0x14')](_0x44e816));_0x581015(_0x44e816);})[_0xe663('0x24')](function(_0x823e87){logger[_0xe663('0x15')]('CountReScheduled',_0x823e87['message'],_0x214fc5);_0x4ddb6d(_0x2593f7['error'](0x1f4,_0x823e87[_0xe663('0x16')]));});});};exports[_0xe663('0x42')]=function(_0x4d9dde){var _0x273c54=this;return new Promise(function(_0x187278,_0x4523e5){return db[_0xe663('0x2b')]['describe']()['then'](function(_0x431e01){return db[_0xe663('0x2d')][_0xe663('0x2e')](function(_0x3b8b79){return db['CmHopper'][_0xe663('0x2f')]({'where':_0x4d9dde[_0xe663('0x1a')]?_0x4d9dde[_0xe663('0x1a')]['where']||null:null,'attributes':_0x4d9dde['options']?_0x4d9dde[_0xe663('0x1a')][_0xe663('0x1d')]||null:null,'limit':0x1,'order':_0x4d9dde[_0xe663('0x1a')]?_0x4d9dde[_0xe663('0x1a')][_0xe663('0x43')]||null:null,'group':db[_0xe663('0x19')][_0xe663('0x36')],'transaction':_0x3b8b79,'lock':_0x3b8b79[_0xe663('0x30')]['UPDATE'],'include':_0x4d9dde[_0xe663('0x1a')]?_0x4d9dde[_0xe663('0x1a')][_0xe663('0x1f')]?_['map'](_0x4d9dde['options'][_0xe663('0x1f')],function(_0x27fcee){return{'model':db[_0x27fcee['model']],'as':_0x27fcee['as'],'attributes':_0x27fcee[_0xe663('0x1d')],'include':_0x27fcee[_0xe663('0x1f')]?_[_0xe663('0x20')](_0x27fcee[_0xe663('0x1f')],function(_0x2da727){return{'model':db[_0x2da727[_0xe663('0x21')]],'as':_0x2da727['as'],'attributes':_0x2da727[_0xe663('0x1d')],'include':_0x2da727['include']?_[_0xe663('0x20')](_0x2da727[_0xe663('0x1f')],function(_0x53280a){return{'model':db[_0x53280a[_0xe663('0x21')]],'as':_0x53280a['as'],'attributes':_0x53280a[_0xe663('0x1d')]};}):[]};}):[]};}):[]:[]})[_0xe663('0xe')](function(_0x3aa00e){var _0x1bc03a=[];for(var _0x10d76c=0x0;_0x10d76c<_0x3aa00e[_0xe663('0x44')];_0x10d76c+=0x1){_0x1bc03a['push'](_0x3aa00e[_0x10d76c][_0xe663('0x28')](_0x4d9dde[_0xe663('0x26')],{'transaction':_0x3b8b79}));}return BPromise[_0xe663('0x38')](_0x1bc03a);});})[_0xe663('0xe')](function(_0x48a5ea){logger[_0xe663('0xf')](_0xe663('0x42'),_0x4d9dde);logger[_0xe663('0x12')](_0xe663('0x42'),_0x4d9dde,JSON[_0xe663('0x14')](_0x48a5ea));_0x187278(_0x48a5ea);})[_0xe663('0x24')](function(_0x50ff28){logger[_0xe663('0x15')](_0xe663('0x42'),_0x50ff28[_0xe663('0x16')],_0x4d9dde);_0x4523e5(_0x273c54['error'](0x1f4,_0x50ff28['message']));});});});};exports[_0xe663('0x45')]=function(_0x42a370){var _0x75165e=this;return new Promise(function(_0x291a05,_0x551ba5){db[_0xe663('0x2b')][_0xe663('0x2c')]()[_0xe663('0xe')](function(_0x182365){return db[_0xe663('0x19')][_0xe663('0x2f')]({'raw':_0x42a370['options']?_0x42a370[_0xe663('0x1a')][_0xe663('0x1b')]===undefined?!![]:![]:!![],'where':_0x42a370[_0xe663('0x1a')]?_0x42a370['options'][_0xe663('0x1c')]||null:null,'attributes':_0x42a370[_0xe663('0x1a')]?_0x42a370[_0xe663('0x1a')][_0xe663('0x1d')]||null:null,'limit':_0x42a370[_0xe663('0x1a')]?_0x42a370[_0xe663('0x1a')][_0xe663('0x1e')]||null:null,'include':_0x42a370[_0xe663('0x1a')]?_0x42a370[_0xe663('0x1a')][_0xe663('0x1f')]?_[_0xe663('0x20')](_0x42a370[_0xe663('0x1a')][_0xe663('0x1f')],function(_0xdbee5b){return{'model':db[_0xdbee5b[_0xe663('0x21')]],'as':_0xdbee5b['as'],'attributes':_0xdbee5b['as']===_0xe663('0x46')?_[_0xe663('0x32')](_0x182365):_0xdbee5b[_0xe663('0x1d')],'include':_0xdbee5b['include']?_[_0xe663('0x20')](_0xdbee5b[_0xe663('0x1f')],function(_0x5a394a){return{'model':db[_0x5a394a[_0xe663('0x21')]],'as':_0x5a394a['as'],'attributes':_0x5a394a['attributes'],'include':_0x5a394a[_0xe663('0x1f')]?_['map'](_0x5a394a[_0xe663('0x1f')],function(_0x2ddbd1){return{'model':db[_0x2ddbd1[_0xe663('0x21')]],'as':_0x2ddbd1['as'],'attributes':_0x2ddbd1[_0xe663('0x1d')]};}):[]};}):[]};}):[]:[]})[_0xe663('0xe')](function(_0x3e9930){logger[_0xe663('0xf')]('GetCmHopper',_0x42a370);logger[_0xe663('0x12')]('GetCmHopper',_0x42a370,JSON[_0xe663('0x14')](_0x3e9930));_0x291a05(_0x3e9930);})['catch'](function(_0x3b6b04){logger['error']('GetCmHopper',_0x3b6b04[_0xe663('0x16')],_0x42a370);_0x551ba5(_0x75165e['error'](0x1f4,_0x3b6b04[_0xe663('0x16')]));});});});}; \ No newline at end of file +var _0xede4=['raw','where','attributes','limit','map','include','model','stringify','ShowCmHopper','CreateCmHopper','create','body','UpdateCmHopper','update','destroy','DestroyCmHopper','GetContactDialer','CmContact','sequelize','transaction','order','LOCK','User','Agent','name','length','UserId','push','all','MoveContactManagedDialer','CmHopperFinal','COUNT','`scheduledat`\x20>=\x20','\x22%s\x22','\x20,\x201,\x20null','contactsRescheduled','CountReScheduled','GetContactRecallMe','UPDATE','GetCmHopperPreview','keys','lodash','util','moment','bluebird','randomstring','../../mysqldb','../../config/utils','rpc','../../config/environment','jayson/promise','http','request','then','CmHopper,\x20%s,\x20%s','debug','CmHopper,\x20%s,\x20%s,\x20%s','request\x20sent','error','code','message','info','catch','GetCmHopper','CmHopper','findAll','options'];(function(_0x6f7133,_0x34df26){var _0xf51ee9=function(_0x38a307){while(--_0x38a307){_0x6f7133['push'](_0x6f7133['shift']());}};_0xf51ee9(++_0x34df26);}(_0xede4,0xf2));var _0x4ede=function(_0x3c6a37,_0x22f266){_0x3c6a37=_0x3c6a37-0x0;var _0x4725cf=_0xede4[_0x3c6a37];return _0x4725cf;};'use strict';var _=require(_0x4ede('0x0'));var util=require(_0x4ede('0x1'));var moment=require(_0x4ede('0x2'));var BPromise=require(_0x4ede('0x3'));var rs=require(_0x4ede('0x4'));var fs=require('fs');var Redis=require('ioredis');var db=require(_0x4ede('0x5'))['db'];var utils=require(_0x4ede('0x6'));var logger=require('../../config/logger')(_0x4ede('0x7'));var config=require(_0x4ede('0x8'));var jayson=require(_0x4ede('0x9'));var client=jayson['client'][_0x4ede('0xa')]({'port':0x232a});function respondWithRpcPromise(_0x483946,_0x3bf887,_0x11749c){return new BPromise(function(_0x45b44f,_0x5dedff){return client[_0x4ede('0xb')](_0x483946,_0x11749c)[_0x4ede('0xc')](function(_0x2f3d85){logger['info'](_0x4ede('0xd'),_0x3bf887,'request\x20sent');logger[_0x4ede('0xe')](_0x4ede('0xf'),_0x3bf887,_0x4ede('0x10'),JSON['stringify'](_0x2f3d85));if(_0x2f3d85[_0x4ede('0x11')]){if(_0x2f3d85[_0x4ede('0x11')][_0x4ede('0x12')]===0x1f4){logger[_0x4ede('0x11')](_0x4ede('0xd'),_0x3bf887,_0x2f3d85[_0x4ede('0x11')][_0x4ede('0x13')]);return _0x5dedff(_0x2f3d85[_0x4ede('0x11')][_0x4ede('0x13')]);}logger['error'](_0x4ede('0xd'),_0x3bf887,_0x2f3d85[_0x4ede('0x11')][_0x4ede('0x13')]);return _0x45b44f(_0x2f3d85[_0x4ede('0x11')][_0x4ede('0x13')]);}else{logger[_0x4ede('0x14')]('CmHopper,\x20%s,\x20%s',_0x3bf887,'request\x20sent');_0x45b44f(_0x2f3d85['result'][_0x4ede('0x13')]);}})[_0x4ede('0x15')](function(_0xb040){logger[_0x4ede('0x11')](_0x4ede('0xd'),_0x3bf887,_0xb040);_0x5dedff(_0xb040);});});}exports[_0x4ede('0x16')]=function(_0x17063c){var _0x3a64f1=this;return new Promise(function(_0x6683f,_0x3f7f29){return db[_0x4ede('0x17')][_0x4ede('0x18')]({'raw':_0x17063c[_0x4ede('0x19')]?_0x17063c[_0x4ede('0x19')][_0x4ede('0x1a')]===undefined?!![]:![]:!![],'where':_0x17063c['options']?_0x17063c[_0x4ede('0x19')][_0x4ede('0x1b')]||null:null,'attributes':_0x17063c[_0x4ede('0x19')]?_0x17063c[_0x4ede('0x19')][_0x4ede('0x1c')]||null:null,'limit':_0x17063c[_0x4ede('0x19')]?_0x17063c[_0x4ede('0x19')][_0x4ede('0x1d')]||null:null,'include':_0x17063c[_0x4ede('0x19')]?_0x17063c['options']['include']?_[_0x4ede('0x1e')](_0x17063c[_0x4ede('0x19')]['include'],function(_0x3c3af7){return{'model':db[_0x3c3af7['model']],'as':_0x3c3af7['as'],'attributes':_0x3c3af7[_0x4ede('0x1c')],'include':_0x3c3af7[_0x4ede('0x1f')]?_[_0x4ede('0x1e')](_0x3c3af7[_0x4ede('0x1f')],function(_0x5c30db){return{'model':db[_0x5c30db[_0x4ede('0x20')]],'as':_0x5c30db['as'],'attributes':_0x5c30db[_0x4ede('0x1c')],'include':_0x5c30db[_0x4ede('0x1f')]?_[_0x4ede('0x1e')](_0x5c30db[_0x4ede('0x1f')],function(_0x45a831){return{'model':db[_0x45a831[_0x4ede('0x20')]],'as':_0x45a831['as'],'attributes':_0x45a831[_0x4ede('0x1c')]};}):[]};}):[]};}):[]:[]})[_0x4ede('0xc')](function(_0x11782c){logger[_0x4ede('0x14')](_0x4ede('0x16'),_0x17063c);logger['debug'](_0x4ede('0x16'),_0x17063c,JSON[_0x4ede('0x21')](_0x11782c));_0x6683f(_0x11782c);})[_0x4ede('0x15')](function(_0x2c59c0){logger[_0x4ede('0x11')](_0x4ede('0x16'),_0x2c59c0[_0x4ede('0x13')],_0x17063c);_0x3f7f29(_0x3a64f1['error'](0x1f4,_0x2c59c0[_0x4ede('0x13')]));});});};exports[_0x4ede('0x22')]=function(_0x31ec1d){var _0x5df2d8=this;return new Promise(function(_0x56bd2a,_0xc456a9){return db[_0x4ede('0x17')]['find']({'raw':_0x31ec1d[_0x4ede('0x19')]?_0x31ec1d[_0x4ede('0x19')][_0x4ede('0x1a')]===undefined?!![]:![]:!![],'where':_0x31ec1d[_0x4ede('0x19')]?_0x31ec1d['options'][_0x4ede('0x1b')]||null:null,'attributes':_0x31ec1d[_0x4ede('0x19')]?_0x31ec1d[_0x4ede('0x19')]['attributes']||null:null,'include':_0x31ec1d[_0x4ede('0x19')]?_0x31ec1d[_0x4ede('0x19')][_0x4ede('0x1f')]?_[_0x4ede('0x1e')](_0x31ec1d[_0x4ede('0x19')][_0x4ede('0x1f')],function(_0x25a7f4){return{'model':db[_0x25a7f4[_0x4ede('0x20')]],'as':_0x25a7f4['as'],'attributes':_0x25a7f4['attributes'],'include':_0x25a7f4['include']?_[_0x4ede('0x1e')](_0x25a7f4[_0x4ede('0x1f')],function(_0x1aaa9b){return{'model':db[_0x1aaa9b[_0x4ede('0x20')]],'as':_0x1aaa9b['as'],'attributes':_0x1aaa9b['attributes'],'include':_0x1aaa9b['include']?_[_0x4ede('0x1e')](_0x1aaa9b['include'],function(_0x351c38){return{'model':db[_0x351c38[_0x4ede('0x20')]],'as':_0x351c38['as'],'attributes':_0x351c38[_0x4ede('0x1c')]};}):[]};}):[]};}):[]:[]})[_0x4ede('0xc')](function(_0x2854cc){logger[_0x4ede('0x14')](_0x4ede('0x22'),_0x31ec1d);logger['debug'](_0x4ede('0x22'),_0x31ec1d,JSON[_0x4ede('0x21')](_0x2854cc));_0x56bd2a(_0x2854cc);})[_0x4ede('0x15')](function(_0x39548d){logger[_0x4ede('0x11')](_0x4ede('0x22'),_0x39548d[_0x4ede('0x13')],_0x31ec1d);_0xc456a9(_0x5df2d8[_0x4ede('0x11')](0x1f4,_0x39548d[_0x4ede('0x13')]));});});};exports[_0x4ede('0x23')]=function(_0x88b3be){var _0x5969c6=this;return new Promise(function(_0x1330a8,_0x2f0bb4){return db[_0x4ede('0x17')][_0x4ede('0x24')](_0x88b3be[_0x4ede('0x25')],{'raw':_0x88b3be['options']?_0x88b3be['options']['raw']===undefined?!![]:![]:!![]})[_0x4ede('0xc')](function(_0x5419ca){logger[_0x4ede('0x14')]('CreateCmHopper',_0x88b3be);logger['debug'](_0x4ede('0x23'),_0x88b3be,JSON[_0x4ede('0x21')](_0x5419ca));_0x1330a8(_0x5419ca);})[_0x4ede('0x15')](function(_0x555c78){logger[_0x4ede('0x11')](_0x4ede('0x23'),_0x555c78['message'],_0x88b3be);_0x2f0bb4(_0x5969c6[_0x4ede('0x11')](0x1f4,_0x555c78[_0x4ede('0x13')]));});});};exports[_0x4ede('0x26')]=function(_0x324813){var _0x4024e7=this;return new Promise(function(_0x507ba6,_0x44c089){return db[_0x4ede('0x17')][_0x4ede('0x27')](_0x324813['body'],{'raw':_0x324813[_0x4ede('0x19')]?_0x324813['options'][_0x4ede('0x1a')]===undefined?!![]:![]:!![],'individualHooks':!![],'where':_0x324813['options']?_0x324813[_0x4ede('0x19')]['where']||null:null,'attributes':_0x324813[_0x4ede('0x19')]?_0x324813[_0x4ede('0x19')][_0x4ede('0x1c')]||null:null,'limit':_0x324813[_0x4ede('0x19')]?_0x324813[_0x4ede('0x19')][_0x4ede('0x1d')]||null:null})[_0x4ede('0xc')](function(_0x2fc001){logger['info'](_0x4ede('0x26'),_0x324813);logger[_0x4ede('0xe')](_0x4ede('0x26'),_0x324813,JSON[_0x4ede('0x21')](_0x2fc001));_0x507ba6(_0x2fc001);})[_0x4ede('0x15')](function(_0x37c6a4){logger[_0x4ede('0x11')](_0x4ede('0x26'),_0x37c6a4[_0x4ede('0x13')],_0x324813);_0x44c089(_0x4024e7['error'](0x1f4,_0x37c6a4[_0x4ede('0x13')]));});});};exports['DestroyCmHopper']=function(_0x7115f5){var _0x4bdfe1=this;return new Promise(function(_0x563faa,_0x4b4e51){return db['CmHopper'][_0x4ede('0x28')]({'where':_0x7115f5[_0x4ede('0x19')]?_0x7115f5[_0x4ede('0x19')][_0x4ede('0x1b')]||null:null})[_0x4ede('0xc')](function(_0x416aea){logger[_0x4ede('0x14')]('DestroyCmHopper',_0x7115f5);logger[_0x4ede('0xe')](_0x4ede('0x29'),_0x7115f5,JSON[_0x4ede('0x21')](_0x416aea));_0x563faa(_0x416aea);})[_0x4ede('0x15')](function(_0x3e0b97){logger['error']('DestroyCmHopper',_0x3e0b97[_0x4ede('0x13')],_0x7115f5);_0x4b4e51(_0x4bdfe1['error'](0x1f4,_0x3e0b97['message']));});});};exports[_0x4ede('0x2a')]=function(_0x18d272){var _0x272f7c=this;return new Promise(function(_0x39a8ce,_0x7424be){return db[_0x4ede('0x2b')]['describe']()[_0x4ede('0xc')](function(_0x2354ac){return db[_0x4ede('0x2c')][_0x4ede('0x2d')](function(_0x2f0f8b){return db[_0x4ede('0x17')][_0x4ede('0x18')]({'where':_0x18d272[_0x4ede('0x19')]?_0x18d272[_0x4ede('0x19')]['where']||null:null,'attributes':_0x18d272[_0x4ede('0x19')]?_0x18d272[_0x4ede('0x19')]['attributes']||null:null,'limit':_0x18d272[_0x4ede('0x19')]?_0x18d272[_0x4ede('0x19')][_0x4ede('0x1d')]||null:null,'order':_0x18d272[_0x4ede('0x19')]?_0x18d272[_0x4ede('0x19')][_0x4ede('0x2e')]||null:null,'transaction':_0x2f0f8b,'lock':_0x2f0f8b[_0x4ede('0x2f')]['UPDATE'],'include':[{'model':db[_0x4ede('0x2b')],'as':'Contact','attributes':_['keys'](_0x2354ac)},{'model':db[_0x4ede('0x30')],'as':_0x4ede('0x31'),'attributes':['id',_0x4ede('0x32'),'voicePause']}]})['then'](function(_0x57a4f4){var _0x45b113=[];var _0x59dc87=[];for(var _0x472b0e=0x0;_0x472b0e<_0x57a4f4[_0x4ede('0x33')];_0x472b0e+=0x1){if(!_0x59dc87['includes'](_0x57a4f4[_0x472b0e][_0x4ede('0x34')])){_0x59dc87[_0x4ede('0x35')](_0x57a4f4[_0x472b0e][_0x4ede('0x34')]);_0x45b113['push'](_0x57a4f4[_0x472b0e]['update'](_0x18d272[_0x4ede('0x25')],{'transaction':_0x2f0f8b}));}}return BPromise[_0x4ede('0x36')](_0x45b113);});})[_0x4ede('0xc')](function(_0x280802){logger[_0x4ede('0x14')](_0x4ede('0x2a'),_0x18d272);logger[_0x4ede('0xe')](_0x4ede('0x2a'),_0x18d272,JSON[_0x4ede('0x21')](_0x280802));_0x39a8ce(_0x280802);})[_0x4ede('0x15')](function(_0x22c75f){logger['error'](_0x4ede('0x2a'),_0x22c75f[_0x4ede('0x13')],_0x18d272);_0x7424be(_0x272f7c[_0x4ede('0x11')](0x1f4,_0x22c75f['message']));});});});};exports[_0x4ede('0x37')]=function(_0x269808){var _0x5c54ca=this;return new Promise(function(_0x33f896,_0x51b874){return db[_0x4ede('0x2c')]['transaction'](function(_0x705bb2){return db[_0x4ede('0x38')][_0x4ede('0x24')](_0x269808[_0x4ede('0x25')],{'raw':_0x269808['options']?_0x269808[_0x4ede('0x19')][_0x4ede('0x1a')]===undefined?!![]:![]:!![],'transaction':_0x705bb2})[_0x4ede('0xc')](function(){return db['CmHopper']['destroy']({'where':_0x269808[_0x4ede('0x19')]?_0x269808[_0x4ede('0x19')]['where']||null:null,'transaction':_0x705bb2});});})['then'](function(_0x135f13){logger['info'](_0x4ede('0x37'),_0x269808);logger[_0x4ede('0xe')](_0x4ede('0x37'),_0x269808,JSON[_0x4ede('0x21')](_0x135f13));_0x33f896(_0x135f13);})[_0x4ede('0x15')](function(_0xfff24b){logger[_0x4ede('0x11')](_0x4ede('0x37'),_0xfff24b['message'],_0x269808);_0x51b874(_0x5c54ca[_0x4ede('0x11')](0x1f4,_0xfff24b[_0x4ede('0x13')]));});});};exports['CountReScheduled']=function(_0x1c6154){var _0x5f1b6a=this;return new Promise(function(_0x14500f,_0x4a52f5){return db['CmHopper']['findAll']({'raw':_0x1c6154[_0x4ede('0x19')]?_0x1c6154['options'][_0x4ede('0x1a')]===undefined?!![]:![]:!![],'where':_0x1c6154[_0x4ede('0x19')]?_0x1c6154[_0x4ede('0x19')][_0x4ede('0x1b')]||null:null,'attributes':[[db[_0x4ede('0x2c')]['fn'](_0x4ede('0x39'),db[_0x4ede('0x2c')]['fn']('IF',db[_0x4ede('0x2c')]['literal'](_0x4ede('0x3a')+util['format'](_0x4ede('0x3b'),moment()['format']('YYYY-MM-DD\x20HH:mm:ss'))+_0x4ede('0x3c')))),_0x4ede('0x3d')]]})[_0x4ede('0xc')](function(_0x5e984c){logger['info']('CountReScheduled',_0x1c6154);logger['debug'](_0x4ede('0x3e'),_0x1c6154,JSON['stringify'](_0x5e984c));_0x14500f(_0x5e984c);})[_0x4ede('0x15')](function(_0x145ca9){logger[_0x4ede('0x11')]('CountReScheduled',_0x145ca9[_0x4ede('0x13')],_0x1c6154);_0x4a52f5(_0x5f1b6a['error'](0x1f4,_0x145ca9[_0x4ede('0x13')]));});});};exports[_0x4ede('0x3f')]=function(_0x5b276b){var _0x2fa301=this;return new Promise(function(_0x3ff05d,_0x46c0bd){return db[_0x4ede('0x2b')]['describe']()['then'](function(_0x1d0b18){return db[_0x4ede('0x2c')][_0x4ede('0x2d')](function(_0x5cd49f){return db[_0x4ede('0x17')]['findAll']({'where':_0x5b276b[_0x4ede('0x19')]?_0x5b276b[_0x4ede('0x19')]['where']||null:null,'attributes':_0x5b276b[_0x4ede('0x19')]?_0x5b276b[_0x4ede('0x19')][_0x4ede('0x1c')]||null:null,'limit':0x1,'order':_0x5b276b['options']?_0x5b276b[_0x4ede('0x19')][_0x4ede('0x2e')]||null:null,'group':db[_0x4ede('0x17')]['UserId'],'transaction':_0x5cd49f,'lock':_0x5cd49f[_0x4ede('0x2f')][_0x4ede('0x40')],'include':_0x5b276b[_0x4ede('0x19')]?_0x5b276b[_0x4ede('0x19')][_0x4ede('0x1f')]?_[_0x4ede('0x1e')](_0x5b276b[_0x4ede('0x19')]['include'],function(_0xa8c6bd){return{'model':db[_0xa8c6bd[_0x4ede('0x20')]],'as':_0xa8c6bd['as'],'attributes':_0xa8c6bd[_0x4ede('0x1c')],'include':_0xa8c6bd[_0x4ede('0x1f')]?_['map'](_0xa8c6bd['include'],function(_0x5ec083){return{'model':db[_0x5ec083['model']],'as':_0x5ec083['as'],'attributes':_0x5ec083[_0x4ede('0x1c')],'include':_0x5ec083['include']?_[_0x4ede('0x1e')](_0x5ec083[_0x4ede('0x1f')],function(_0x48c058){return{'model':db[_0x48c058[_0x4ede('0x20')]],'as':_0x48c058['as'],'attributes':_0x48c058[_0x4ede('0x1c')]};}):[]};}):[]};}):[]:[]})[_0x4ede('0xc')](function(_0x1c1b2d){var _0x364971=[];for(var _0x600c36=0x0;_0x600c36<_0x1c1b2d['length'];_0x600c36+=0x1){_0x364971[_0x4ede('0x35')](_0x1c1b2d[_0x600c36][_0x4ede('0x27')](_0x5b276b['body'],{'transaction':_0x5cd49f}));}return BPromise[_0x4ede('0x36')](_0x364971);});})[_0x4ede('0xc')](function(_0x1b5be2){logger[_0x4ede('0x14')]('GetContactRecallMe',_0x5b276b);logger[_0x4ede('0xe')]('GetContactRecallMe',_0x5b276b,JSON[_0x4ede('0x21')](_0x1b5be2));_0x3ff05d(_0x1b5be2);})[_0x4ede('0x15')](function(_0x363460){logger[_0x4ede('0x11')](_0x4ede('0x3f'),_0x363460[_0x4ede('0x13')],_0x5b276b);_0x46c0bd(_0x2fa301[_0x4ede('0x11')](0x1f4,_0x363460[_0x4ede('0x13')]));});});});};exports[_0x4ede('0x41')]=function(_0x4a35d0){var _0x2ead2f=this;return new Promise(function(_0x403496,_0x3f1cd8){db[_0x4ede('0x2b')]['describe']()[_0x4ede('0xc')](function(_0x3be7cc){return db[_0x4ede('0x17')]['findAll']({'raw':_0x4a35d0[_0x4ede('0x19')]?_0x4a35d0['options'][_0x4ede('0x1a')]===undefined?!![]:![]:!![],'where':_0x4a35d0[_0x4ede('0x19')]?_0x4a35d0[_0x4ede('0x19')][_0x4ede('0x1b')]||null:null,'attributes':_0x4a35d0[_0x4ede('0x19')]?_0x4a35d0[_0x4ede('0x19')][_0x4ede('0x1c')]||null:null,'limit':_0x4a35d0['options']?_0x4a35d0[_0x4ede('0x19')]['limit']||null:null,'include':_0x4a35d0[_0x4ede('0x19')]?_0x4a35d0[_0x4ede('0x19')]['include']?_[_0x4ede('0x1e')](_0x4a35d0[_0x4ede('0x19')][_0x4ede('0x1f')],function(_0x523e4c){return{'model':db[_0x523e4c['model']],'as':_0x523e4c['as'],'attributes':_0x523e4c['as']==='Contact'?_[_0x4ede('0x42')](_0x3be7cc):_0x523e4c[_0x4ede('0x1c')],'include':_0x523e4c[_0x4ede('0x1f')]?_[_0x4ede('0x1e')](_0x523e4c[_0x4ede('0x1f')],function(_0x43b3ba){return{'model':db[_0x43b3ba[_0x4ede('0x20')]],'as':_0x43b3ba['as'],'attributes':_0x43b3ba[_0x4ede('0x1c')],'include':_0x43b3ba[_0x4ede('0x1f')]?_['map'](_0x43b3ba['include'],function(_0x4ebe9a){return{'model':db[_0x4ebe9a[_0x4ede('0x20')]],'as':_0x4ebe9a['as'],'attributes':_0x4ebe9a[_0x4ede('0x1c')]};}):[]};}):[]};}):[]:[]})[_0x4ede('0xc')](function(_0x3f4bb5){logger[_0x4ede('0x14')]('GetCmHopper',_0x4a35d0);logger[_0x4ede('0xe')](_0x4ede('0x16'),_0x4a35d0,JSON[_0x4ede('0x21')](_0x3f4bb5));_0x403496(_0x3f4bb5);})[_0x4ede('0x15')](function(_0x337ebc){logger[_0x4ede('0x11')](_0x4ede('0x16'),_0x337ebc[_0x4ede('0x13')],_0x4a35d0);_0x3f1cd8(_0x2ead2f[_0x4ede('0x11')](0x1f4,_0x337ebc[_0x4ede('0x13')]));});});});}; \ No newline at end of file diff --git a/server/api/cmHopper/index.js b/server/api/cmHopper/index.js index d1e1f40..b3f6ec2 100644 --- a/server/api/cmHopper/index.js +++ b/server/api/cmHopper/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x6947=['util','connect-timeout','express','Router','../../components/auth/service','./cmHopper.controller','get','isAuthenticated','index','/describe','describe','/opencontacts','/:id','show','post','create','/preview','put','destroy'];(function(_0xfb0281,_0x3ff38b){var _0x408dd3=function(_0x5d8017){while(--_0x5d8017){_0xfb0281['push'](_0xfb0281['shift']());}};_0x408dd3(++_0x3ff38b);}(_0x6947,0x72));var _0x7694=function(_0x3b4efb,_0x3ec646){_0x3b4efb=_0x3b4efb-0x0;var _0x35e701=_0x6947[_0x3b4efb];return _0x35e701;};'use strict';var multer=require('multer');var util=require(_0x7694('0x0'));var path=require('path');var timeout=require(_0x7694('0x1'));var express=require(_0x7694('0x2'));var router=express[_0x7694('0x3')]();var auth=require(_0x7694('0x4'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x7694('0x5'));router[_0x7694('0x6')]('/',auth[_0x7694('0x7')](),controller[_0x7694('0x8')]);router[_0x7694('0x6')](_0x7694('0x9'),auth['isAuthenticated'](),controller[_0x7694('0xa')]);router['get'](_0x7694('0xb'),auth[_0x7694('0x7')](),controller['getOpenContacts']);router[_0x7694('0x6')](_0x7694('0xc'),auth[_0x7694('0x7')](),controller[_0x7694('0xd')]);router[_0x7694('0xe')]('/',auth[_0x7694('0x7')](),controller[_0x7694('0xf')]);router['post'](_0x7694('0x10'),auth[_0x7694('0x7')](),controller['getPreview']);router[_0x7694('0x11')](_0x7694('0xc'),auth[_0x7694('0x7')](),controller['update']);router['delete'](_0x7694('0xc'),auth[_0x7694('0x7')](),controller[_0x7694('0x12')]);module['exports']=router; \ No newline at end of file +var _0x1d21=['get','isAuthenticated','index','/describe','describe','/opencontacts','show','create','post','/preview','put','/:id','delete','destroy','multer','util','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0x340f77,_0x8d1b86){var _0x5e82a0=function(_0xe1f6a5){while(--_0xe1f6a5){_0x340f77['push'](_0x340f77['shift']());}};_0x5e82a0(++_0x8d1b86);}(_0x1d21,0x158));var _0x11d2=function(_0x132399,_0x1c4b0f){_0x132399=_0x132399-0x0;var _0x2a27e9=_0x1d21[_0x132399];return _0x2a27e9;};'use strict';var multer=require(_0x11d2('0x0'));var util=require(_0x11d2('0x1'));var path=require(_0x11d2('0x2'));var timeout=require(_0x11d2('0x3'));var express=require('express');var router=express[_0x11d2('0x4')]();var auth=require(_0x11d2('0x5'));var interaction=require(_0x11d2('0x6'));var config=require(_0x11d2('0x7'));var controller=require('./cmHopper.controller');router[_0x11d2('0x8')]('/',auth[_0x11d2('0x9')](),controller[_0x11d2('0xa')]);router[_0x11d2('0x8')](_0x11d2('0xb'),auth[_0x11d2('0x9')](),controller[_0x11d2('0xc')]);router['get'](_0x11d2('0xd'),auth[_0x11d2('0x9')](),controller['getOpenContacts']);router[_0x11d2('0x8')]('/:id',auth[_0x11d2('0x9')](),controller[_0x11d2('0xe')]);router['post']('/',auth[_0x11d2('0x9')](),controller[_0x11d2('0xf')]);router[_0x11d2('0x10')](_0x11d2('0x11'),auth['isAuthenticated'](),controller['getPreview']);router[_0x11d2('0x12')](_0x11d2('0x13'),auth[_0x11d2('0x9')](),controller['update']);router[_0x11d2('0x14')](_0x11d2('0x13'),auth[_0x11d2('0x9')](),controller[_0x11d2('0x15')]);module['exports']=router; \ No newline at end of file diff --git a/server/api/cmHopperBlack/cmHopperBlack.attributes.js b/server/api/cmHopperBlack/cmHopperBlack.attributes.js index da6c3ae..accf7bc 100644 --- a/server/api/cmHopperBlack/cmHopperBlack.attributes.js +++ b/server/api/cmHopperBlack/cmHopperBlack.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x34b9=['sequelize','exports','STRING','INTEGER','contactListQueue','moment'];(function(_0x5c88c8,_0x2c04cf){var _0x7b15d5=function(_0x3435dd){while(--_0x3435dd){_0x5c88c8['push'](_0x5c88c8['shift']());}};_0x7b15d5(++_0x2c04cf);}(_0x34b9,0x1c7));var _0x934b=function(_0x28d5c5,_0x16b7f8){_0x28d5c5=_0x28d5c5-0x0;var _0x124bac=_0x34b9[_0x28d5c5];return _0x124bac;};'use strict';var moment=require(_0x934b('0x0'));var Sequelize=require(_0x934b('0x1'));module[_0x934b('0x2')]={'phone':{'type':Sequelize[_0x934b('0x3')],'allowNull':![]},'ContactId':{'type':Sequelize[_0x934b('0x4')],'unique':_0x934b('0x5')},'ListId':{'type':Sequelize[_0x934b('0x4')],'unique':_0x934b('0x5')},'VoiceQueueId':{'type':Sequelize[_0x934b('0x4')],'unique':_0x934b('0x5')}}; \ No newline at end of file +var _0x186c=['contactListQueue','moment','exports','INTEGER'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x186c,0x195));var _0xc186=function(_0xaa6c53,_0x57e3ec){_0xaa6c53=_0xaa6c53-0x0;var _0xa14007=_0x186c[_0xaa6c53];return _0xa14007;};'use strict';var moment=require(_0xc186('0x0'));var Sequelize=require('sequelize');module[_0xc186('0x1')]={'phone':{'type':Sequelize['STRING'],'allowNull':![]},'ContactId':{'type':Sequelize[_0xc186('0x2')],'unique':_0xc186('0x3')},'ListId':{'type':Sequelize[_0xc186('0x2')],'unique':_0xc186('0x3')},'VoiceQueueId':{'type':Sequelize[_0xc186('0x2')],'unique':_0xc186('0x3')}}; \ No newline at end of file diff --git a/server/api/cmHopperBlack/cmHopperBlack.controller.js b/server/api/cmHopperBlack/cmHopperBlack.controller.js index 6ce188e..85b88c9 100644 --- a/server/api/cmHopperBlack/cmHopperBlack.controller.js +++ b/server/api/cmHopperBlack/cmHopperBlack.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xa9e0=['sort','where','pick','filter','VIRTUAL','merge','options','include','findAll','catch','params','includeAll','body','find','describe','html-pdf','eml-format','rimraf','request-promise','bluebird','mustache','util','path','sox','ejs','lodash','squel','desk.js','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../mysqldb','sendStatus','status','json','count','offset','set','Content-Range','apply','reject','save','update','then','destroy','end','error','name','send','index','map','CmHopperBlack','rawAttributes','fieldName','type','key','query','keys','filters','intersection','model','attributes','fields','length','hasOwnProperty','limit'];(function(_0x529e9b,_0x658fe3){var _0x456301=function(_0x4767a5){while(--_0x4767a5){_0x529e9b['push'](_0x529e9b['shift']());}};_0x456301(++_0x658fe3);}(_0xa9e0,0x123));var _0x0a9e=function(_0x4fc9e6,_0xc51915){_0x4fc9e6=_0x4fc9e6-0x0;var _0x551d28=_0xa9e0[_0x4fc9e6];return _0x551d28;};'use strict';var pdf=require(_0x0a9e('0x0'));var emlformat=require(_0x0a9e('0x1'));var rimraf=require(_0x0a9e('0x2'));var zipdir=require('zip-dir');var jsonpatch=require('fast-json-patch');var rp=require(_0x0a9e('0x3'));var moment=require('moment');var BPromise=require(_0x0a9e('0x4'));var Mustache=require(_0x0a9e('0x5'));var util=require(_0x0a9e('0x6'));var path=require(_0x0a9e('0x7'));var sox=require(_0x0a9e('0x8'));var csv=require('to-csv');var ejs=require(_0x0a9e('0x9'));var fs=require('fs');var _=require(_0x0a9e('0xa'));var squel=require(_0x0a9e('0xb'));var crypto=require('crypto');var jsforce=require('jsforce');var deskjs=require(_0x0a9e('0xc'));var toCsv=require('to-csv');var querystring=require('querystring');var Papa=require(_0x0a9e('0xd'));var Redis=require(_0x0a9e('0xe'));var authService=require(_0x0a9e('0xf'));var qs=require(_0x0a9e('0x10'));var as=require(_0x0a9e('0x11'));var hardwareService=require(_0x0a9e('0x12'));var logger=require('../../config/logger')('api');var utils=require('../../config/utils');var config=require('../../config/environment');var db=require(_0x0a9e('0x13'))['db'];function respondWithStatusCode(_0x36471c,_0xd5b662){_0xd5b662=_0xd5b662||0xcc;return function(_0x26d672){if(_0x26d672){return _0x36471c[_0x0a9e('0x14')](_0xd5b662);}return _0x36471c[_0x0a9e('0x15')](_0xd5b662)['end']();};}function respondWithResult(_0x4283ce,_0x239b12){_0x239b12=_0x239b12||0xc8;return function(_0x2b4227){if(_0x2b4227){return _0x4283ce[_0x0a9e('0x15')](_0x239b12)[_0x0a9e('0x16')](_0x2b4227);}};}function respondWithFilteredResult(_0x4d5611,_0x52a03d){return function(_0x22dccb){if(_0x22dccb){var _0x5d0880=_0x22dccb[_0x0a9e('0x17')],_0x1985b6=_0x52a03d['offset'],_0x519dfd=_0x52a03d[_0x0a9e('0x18')]+_0x52a03d['limit'],_0x16033c;if(_0x519dfd>=_0x5d0880){_0x519dfd=_0x5d0880;_0x16033c=0xc8;}else{_0x16033c=0xce;}_0x4d5611[_0x0a9e('0x15')](_0x16033c);return _0x4d5611[_0x0a9e('0x19')](_0x0a9e('0x1a'),_0x1985b6+'-'+_0x519dfd+'/'+_0x5d0880)[_0x0a9e('0x16')](_0x22dccb);}return null;};}function patchUpdates(_0x31b1ca){return function(_0x2eb11f){try{jsonpatch[_0x0a9e('0x1b')](_0x2eb11f,_0x31b1ca,!![]);}catch(_0x20559e){return BPromise[_0x0a9e('0x1c')](_0x20559e);}return _0x2eb11f[_0x0a9e('0x1d')]();};}function saveUpdates(_0x1c696a,_0x105080){return function(_0x4bb1e3){if(_0x4bb1e3){return _0x4bb1e3[_0x0a9e('0x1e')](_0x1c696a)[_0x0a9e('0x1f')](function(_0x53682f){return _0x53682f;});}return null;};}function removeEntity(_0x20f109,_0x5a09ef){return function(_0x588269){if(_0x588269){return _0x588269[_0x0a9e('0x20')]()[_0x0a9e('0x1f')](function(){_0x20f109[_0x0a9e('0x15')](0xcc)[_0x0a9e('0x21')]();});}};}function handleEntityNotFound(_0x4abc77,_0xfb6e48){return function(_0x2fb0e4){if(!_0x2fb0e4){_0x4abc77[_0x0a9e('0x14')](0x194);}return _0x2fb0e4;};}function handleError(_0x4d00e6,_0x370d86){_0x370d86=_0x370d86||0x1f4;return function(_0x42ac8f){logger[_0x0a9e('0x22')](_0x42ac8f['stack']);if(_0x42ac8f['name']){delete _0x42ac8f[_0x0a9e('0x23')];}_0x4d00e6[_0x0a9e('0x15')](_0x370d86)[_0x0a9e('0x24')](_0x42ac8f);};}exports[_0x0a9e('0x25')]=function(_0x526cf3,_0x384319){var _0x479bc4={},_0x45a1e7={},_0x5bfb33={'count':0x0,'rows':[]};var _0x1dc186=_[_0x0a9e('0x26')](db[_0x0a9e('0x27')][_0x0a9e('0x28')],function(_0x140511){return{'name':_0x140511[_0x0a9e('0x29')],'type':_0x140511[_0x0a9e('0x2a')][_0x0a9e('0x2b')]};});_0x45a1e7['model']=_[_0x0a9e('0x26')](_0x1dc186,_0x0a9e('0x23'));_0x45a1e7[_0x0a9e('0x2c')]=_[_0x0a9e('0x2d')](_0x526cf3['query']);_0x45a1e7[_0x0a9e('0x2e')]=_[_0x0a9e('0x2f')](_0x45a1e7[_0x0a9e('0x30')],_0x45a1e7[_0x0a9e('0x2c')]);_0x479bc4[_0x0a9e('0x31')]=_[_0x0a9e('0x2f')](_0x45a1e7[_0x0a9e('0x30')],qs[_0x0a9e('0x32')](_0x526cf3[_0x0a9e('0x2c')]['fields']));_0x479bc4[_0x0a9e('0x31')]=_0x479bc4['attributes'][_0x0a9e('0x33')]?_0x479bc4[_0x0a9e('0x31')]:_0x45a1e7[_0x0a9e('0x30')];if(!_0x526cf3[_0x0a9e('0x2c')][_0x0a9e('0x34')]('nolimit')){_0x479bc4[_0x0a9e('0x35')]=qs[_0x0a9e('0x35')](_0x526cf3[_0x0a9e('0x2c')][_0x0a9e('0x35')]);_0x479bc4[_0x0a9e('0x18')]=qs[_0x0a9e('0x18')](_0x526cf3[_0x0a9e('0x2c')][_0x0a9e('0x18')]);}_0x479bc4['order']=qs[_0x0a9e('0x36')](_0x526cf3['query'][_0x0a9e('0x36')]);_0x479bc4[_0x0a9e('0x37')]=qs[_0x0a9e('0x2e')](_[_0x0a9e('0x38')](_0x526cf3['query'],_0x45a1e7[_0x0a9e('0x2e')]),_0x1dc186);if(_0x526cf3[_0x0a9e('0x2c')][_0x0a9e('0x39')]){_0x479bc4[_0x0a9e('0x37')]=_['merge'](_0x479bc4['where'],{'$or':_[_0x0a9e('0x26')](_0x1dc186,function(_0x5640eb){if(_0x5640eb[_0x0a9e('0x2a')]!==_0x0a9e('0x3a')){var _0x381c37={};_0x381c37[_0x5640eb[_0x0a9e('0x23')]]={'$like':'%'+_0x526cf3['query'][_0x0a9e('0x39')]+'%'};return _0x381c37;}})});}_0x479bc4=_[_0x0a9e('0x3b')]({},_0x479bc4,_0x526cf3[_0x0a9e('0x3c')]);var _0x533942={'where':_0x479bc4[_0x0a9e('0x37')]};return db[_0x0a9e('0x27')][_0x0a9e('0x17')](_0x533942)['then'](function(_0x546ef8){_0x5bfb33[_0x0a9e('0x17')]=_0x546ef8;if(_0x526cf3[_0x0a9e('0x2c')]['includeAll']){_0x479bc4[_0x0a9e('0x3d')]=[{'all':!![]}];}return db[_0x0a9e('0x27')][_0x0a9e('0x3e')](_0x479bc4);})[_0x0a9e('0x1f')](function(_0x4b38d9){_0x5bfb33['rows']=_0x4b38d9;return _0x5bfb33;})[_0x0a9e('0x1f')](respondWithFilteredResult(_0x384319,_0x479bc4))[_0x0a9e('0x3f')](handleError(_0x384319,null));};exports['show']=function(_0x183991,_0x1dec2e){var _0x1459bb={'raw':!![],'where':{'id':_0x183991[_0x0a9e('0x40')]['id']}},_0x5b4f5e={};_0x5b4f5e[_0x0a9e('0x30')]=_[_0x0a9e('0x2d')](db[_0x0a9e('0x27')][_0x0a9e('0x28')]);_0x5b4f5e[_0x0a9e('0x2c')]=_[_0x0a9e('0x2d')](_0x183991[_0x0a9e('0x2c')]);_0x5b4f5e[_0x0a9e('0x2e')]=_[_0x0a9e('0x2f')](_0x5b4f5e[_0x0a9e('0x30')],_0x5b4f5e[_0x0a9e('0x2c')]);_0x1459bb[_0x0a9e('0x31')]=_[_0x0a9e('0x2f')](_0x5b4f5e[_0x0a9e('0x30')],qs['fields'](_0x183991['query'][_0x0a9e('0x32')]));_0x1459bb[_0x0a9e('0x31')]=_0x1459bb[_0x0a9e('0x31')][_0x0a9e('0x33')]?_0x1459bb[_0x0a9e('0x31')]:_0x5b4f5e[_0x0a9e('0x30')];if(_0x183991[_0x0a9e('0x2c')][_0x0a9e('0x41')]){_0x1459bb[_0x0a9e('0x3d')]=[{'all':!![]}];}_0x1459bb=_[_0x0a9e('0x3b')]({},_0x1459bb,_0x183991[_0x0a9e('0x3c')]);return db[_0x0a9e('0x27')]['find'](_0x1459bb)[_0x0a9e('0x1f')](handleEntityNotFound(_0x1dec2e,null))[_0x0a9e('0x1f')](respondWithResult(_0x1dec2e,null))[_0x0a9e('0x3f')](handleError(_0x1dec2e,null));};exports[_0x0a9e('0x1e')]=function(_0x2e8caf,_0xbe9d19){if(_0x2e8caf[_0x0a9e('0x42')]['id']){delete _0x2e8caf[_0x0a9e('0x42')]['id'];}return db['CmHopperBlack'][_0x0a9e('0x43')]({'where':{'id':_0x2e8caf['params']['id']}})[_0x0a9e('0x1f')](handleEntityNotFound(_0xbe9d19,null))[_0x0a9e('0x1f')](saveUpdates(_0x2e8caf[_0x0a9e('0x42')],null))['then'](respondWithResult(_0xbe9d19,null))[_0x0a9e('0x3f')](handleError(_0xbe9d19,null));};exports[_0x0a9e('0x20')]=function(_0x4774f4,_0x34aa5a){return db[_0x0a9e('0x27')][_0x0a9e('0x43')]({'where':{'id':_0x4774f4[_0x0a9e('0x40')]['id']}})['then'](handleEntityNotFound(_0x34aa5a,null))[_0x0a9e('0x1f')](removeEntity(_0x34aa5a,null))[_0x0a9e('0x3f')](handleError(_0x34aa5a,null));};exports[_0x0a9e('0x44')]=function(_0x16f976,_0x409789){return db[_0x0a9e('0x27')][_0x0a9e('0x44')]()[_0x0a9e('0x1f')](respondWithResult(_0x409789,null))[_0x0a9e('0x3f')](handleError(_0x409789,null));}; \ No newline at end of file +var _0xa9e0=['sort','where','pick','filter','VIRTUAL','merge','options','include','findAll','catch','params','includeAll','body','find','describe','html-pdf','eml-format','rimraf','request-promise','bluebird','mustache','util','path','sox','ejs','lodash','squel','desk.js','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../mysqldb','sendStatus','status','json','count','offset','set','Content-Range','apply','reject','save','update','then','destroy','end','error','name','send','index','map','CmHopperBlack','rawAttributes','fieldName','type','key','query','keys','filters','intersection','model','attributes','fields','length','hasOwnProperty','limit'];(function(_0x5dc710,_0x4524a0){var _0x814875=function(_0xafa413){while(--_0xafa413){_0x5dc710['push'](_0x5dc710['shift']());}};_0x814875(++_0x4524a0);}(_0xa9e0,0x123));var _0x0a9e=function(_0x110c3d,_0x12ee06){_0x110c3d=_0x110c3d-0x0;var _0x226d67=_0xa9e0[_0x110c3d];return _0x226d67;};'use strict';var pdf=require(_0x0a9e('0x0'));var emlformat=require(_0x0a9e('0x1'));var rimraf=require(_0x0a9e('0x2'));var zipdir=require('zip-dir');var jsonpatch=require('fast-json-patch');var rp=require(_0x0a9e('0x3'));var moment=require('moment');var BPromise=require(_0x0a9e('0x4'));var Mustache=require(_0x0a9e('0x5'));var util=require(_0x0a9e('0x6'));var path=require(_0x0a9e('0x7'));var sox=require(_0x0a9e('0x8'));var csv=require('to-csv');var ejs=require(_0x0a9e('0x9'));var fs=require('fs');var _=require(_0x0a9e('0xa'));var squel=require(_0x0a9e('0xb'));var crypto=require('crypto');var jsforce=require('jsforce');var deskjs=require(_0x0a9e('0xc'));var toCsv=require('to-csv');var querystring=require('querystring');var Papa=require(_0x0a9e('0xd'));var Redis=require(_0x0a9e('0xe'));var authService=require(_0x0a9e('0xf'));var qs=require(_0x0a9e('0x10'));var as=require(_0x0a9e('0x11'));var hardwareService=require(_0x0a9e('0x12'));var logger=require('../../config/logger')('api');var utils=require('../../config/utils');var config=require('../../config/environment');var db=require(_0x0a9e('0x13'))['db'];function respondWithStatusCode(_0x36471c,_0xd5b662){_0xd5b662=_0xd5b662||0xcc;return function(_0x26d672){if(_0x26d672){return _0x36471c[_0x0a9e('0x14')](_0xd5b662);}return _0x36471c[_0x0a9e('0x15')](_0xd5b662)['end']();};}function respondWithResult(_0x4283ce,_0x239b12){_0x239b12=_0x239b12||0xc8;return function(_0x2b4227){if(_0x2b4227){return _0x4283ce[_0x0a9e('0x15')](_0x239b12)[_0x0a9e('0x16')](_0x2b4227);}};}function respondWithFilteredResult(_0x4d5611,_0x52a03d){return function(_0x22dccb){if(_0x22dccb){var _0x5d0880=_0x22dccb[_0x0a9e('0x17')],_0x1985b6=_0x52a03d['offset'],_0x519dfd=_0x52a03d[_0x0a9e('0x18')]+_0x52a03d['limit'],_0x16033c;if(_0x519dfd>=_0x5d0880){_0x519dfd=_0x5d0880;_0x16033c=0xc8;}else{_0x16033c=0xce;}_0x4d5611[_0x0a9e('0x15')](_0x16033c);return _0x4d5611[_0x0a9e('0x19')](_0x0a9e('0x1a'),_0x1985b6+'-'+_0x519dfd+'/'+_0x5d0880)[_0x0a9e('0x16')](_0x22dccb);}return null;};}function patchUpdates(_0x31b1ca){return function(_0x2eb11f){try{jsonpatch[_0x0a9e('0x1b')](_0x2eb11f,_0x31b1ca,!![]);}catch(_0x20559e){return BPromise[_0x0a9e('0x1c')](_0x20559e);}return _0x2eb11f[_0x0a9e('0x1d')]();};}function saveUpdates(_0x1c696a,_0x105080){return function(_0x4bb1e3){if(_0x4bb1e3){return _0x4bb1e3[_0x0a9e('0x1e')](_0x1c696a)[_0x0a9e('0x1f')](function(_0x53682f){return _0x53682f;});}return null;};}function removeEntity(_0x20f109,_0x5a09ef){return function(_0x588269){if(_0x588269){return _0x588269[_0x0a9e('0x20')]()[_0x0a9e('0x1f')](function(){_0x20f109[_0x0a9e('0x15')](0xcc)[_0x0a9e('0x21')]();});}};}function handleEntityNotFound(_0x4abc77,_0xfb6e48){return function(_0x2fb0e4){if(!_0x2fb0e4){_0x4abc77[_0x0a9e('0x14')](0x194);}return _0x2fb0e4;};}function handleError(_0x4d00e6,_0x370d86){_0x370d86=_0x370d86||0x1f4;return function(_0x42ac8f){logger[_0x0a9e('0x22')](_0x42ac8f['stack']);if(_0x42ac8f['name']){delete _0x42ac8f[_0x0a9e('0x23')];}_0x4d00e6[_0x0a9e('0x15')](_0x370d86)[_0x0a9e('0x24')](_0x42ac8f);};}exports[_0x0a9e('0x25')]=function(_0x526cf3,_0x384319){var _0x479bc4={},_0x45a1e7={},_0x5bfb33={'count':0x0,'rows':[]};var _0x1dc186=_[_0x0a9e('0x26')](db[_0x0a9e('0x27')][_0x0a9e('0x28')],function(_0x140511){return{'name':_0x140511[_0x0a9e('0x29')],'type':_0x140511[_0x0a9e('0x2a')][_0x0a9e('0x2b')]};});_0x45a1e7['model']=_[_0x0a9e('0x26')](_0x1dc186,_0x0a9e('0x23'));_0x45a1e7[_0x0a9e('0x2c')]=_[_0x0a9e('0x2d')](_0x526cf3['query']);_0x45a1e7[_0x0a9e('0x2e')]=_[_0x0a9e('0x2f')](_0x45a1e7[_0x0a9e('0x30')],_0x45a1e7[_0x0a9e('0x2c')]);_0x479bc4[_0x0a9e('0x31')]=_[_0x0a9e('0x2f')](_0x45a1e7[_0x0a9e('0x30')],qs[_0x0a9e('0x32')](_0x526cf3[_0x0a9e('0x2c')]['fields']));_0x479bc4[_0x0a9e('0x31')]=_0x479bc4['attributes'][_0x0a9e('0x33')]?_0x479bc4[_0x0a9e('0x31')]:_0x45a1e7[_0x0a9e('0x30')];if(!_0x526cf3[_0x0a9e('0x2c')][_0x0a9e('0x34')]('nolimit')){_0x479bc4[_0x0a9e('0x35')]=qs[_0x0a9e('0x35')](_0x526cf3[_0x0a9e('0x2c')][_0x0a9e('0x35')]);_0x479bc4[_0x0a9e('0x18')]=qs[_0x0a9e('0x18')](_0x526cf3[_0x0a9e('0x2c')][_0x0a9e('0x18')]);}_0x479bc4['order']=qs[_0x0a9e('0x36')](_0x526cf3['query'][_0x0a9e('0x36')]);_0x479bc4[_0x0a9e('0x37')]=qs[_0x0a9e('0x2e')](_[_0x0a9e('0x38')](_0x526cf3['query'],_0x45a1e7[_0x0a9e('0x2e')]),_0x1dc186);if(_0x526cf3[_0x0a9e('0x2c')][_0x0a9e('0x39')]){_0x479bc4[_0x0a9e('0x37')]=_['merge'](_0x479bc4['where'],{'$or':_[_0x0a9e('0x26')](_0x1dc186,function(_0x5640eb){if(_0x5640eb[_0x0a9e('0x2a')]!==_0x0a9e('0x3a')){var _0x381c37={};_0x381c37[_0x5640eb[_0x0a9e('0x23')]]={'$like':'%'+_0x526cf3['query'][_0x0a9e('0x39')]+'%'};return _0x381c37;}})});}_0x479bc4=_[_0x0a9e('0x3b')]({},_0x479bc4,_0x526cf3[_0x0a9e('0x3c')]);var _0x533942={'where':_0x479bc4[_0x0a9e('0x37')]};return db[_0x0a9e('0x27')][_0x0a9e('0x17')](_0x533942)['then'](function(_0x546ef8){_0x5bfb33[_0x0a9e('0x17')]=_0x546ef8;if(_0x526cf3[_0x0a9e('0x2c')]['includeAll']){_0x479bc4[_0x0a9e('0x3d')]=[{'all':!![]}];}return db[_0x0a9e('0x27')][_0x0a9e('0x3e')](_0x479bc4);})[_0x0a9e('0x1f')](function(_0x4b38d9){_0x5bfb33['rows']=_0x4b38d9;return _0x5bfb33;})[_0x0a9e('0x1f')](respondWithFilteredResult(_0x384319,_0x479bc4))[_0x0a9e('0x3f')](handleError(_0x384319,null));};exports['show']=function(_0x183991,_0x1dec2e){var _0x1459bb={'raw':!![],'where':{'id':_0x183991[_0x0a9e('0x40')]['id']}},_0x5b4f5e={};_0x5b4f5e[_0x0a9e('0x30')]=_[_0x0a9e('0x2d')](db[_0x0a9e('0x27')][_0x0a9e('0x28')]);_0x5b4f5e[_0x0a9e('0x2c')]=_[_0x0a9e('0x2d')](_0x183991[_0x0a9e('0x2c')]);_0x5b4f5e[_0x0a9e('0x2e')]=_[_0x0a9e('0x2f')](_0x5b4f5e[_0x0a9e('0x30')],_0x5b4f5e[_0x0a9e('0x2c')]);_0x1459bb[_0x0a9e('0x31')]=_[_0x0a9e('0x2f')](_0x5b4f5e[_0x0a9e('0x30')],qs['fields'](_0x183991['query'][_0x0a9e('0x32')]));_0x1459bb[_0x0a9e('0x31')]=_0x1459bb[_0x0a9e('0x31')][_0x0a9e('0x33')]?_0x1459bb[_0x0a9e('0x31')]:_0x5b4f5e[_0x0a9e('0x30')];if(_0x183991[_0x0a9e('0x2c')][_0x0a9e('0x41')]){_0x1459bb[_0x0a9e('0x3d')]=[{'all':!![]}];}_0x1459bb=_[_0x0a9e('0x3b')]({},_0x1459bb,_0x183991[_0x0a9e('0x3c')]);return db[_0x0a9e('0x27')]['find'](_0x1459bb)[_0x0a9e('0x1f')](handleEntityNotFound(_0x1dec2e,null))[_0x0a9e('0x1f')](respondWithResult(_0x1dec2e,null))[_0x0a9e('0x3f')](handleError(_0x1dec2e,null));};exports[_0x0a9e('0x1e')]=function(_0x2e8caf,_0xbe9d19){if(_0x2e8caf[_0x0a9e('0x42')]['id']){delete _0x2e8caf[_0x0a9e('0x42')]['id'];}return db['CmHopperBlack'][_0x0a9e('0x43')]({'where':{'id':_0x2e8caf['params']['id']}})[_0x0a9e('0x1f')](handleEntityNotFound(_0xbe9d19,null))[_0x0a9e('0x1f')](saveUpdates(_0x2e8caf[_0x0a9e('0x42')],null))['then'](respondWithResult(_0xbe9d19,null))[_0x0a9e('0x3f')](handleError(_0xbe9d19,null));};exports[_0x0a9e('0x20')]=function(_0x4774f4,_0x34aa5a){return db[_0x0a9e('0x27')][_0x0a9e('0x43')]({'where':{'id':_0x4774f4[_0x0a9e('0x40')]['id']}})['then'](handleEntityNotFound(_0x34aa5a,null))[_0x0a9e('0x1f')](removeEntity(_0x34aa5a,null))[_0x0a9e('0x3f')](handleError(_0x34aa5a,null));};exports[_0x0a9e('0x44')]=function(_0x16f976,_0x409789){return db[_0x0a9e('0x27')][_0x0a9e('0x44')]()[_0x0a9e('0x1f')](respondWithResult(_0x409789,null))[_0x0a9e('0x3f')](handleError(_0x409789,null));}; \ No newline at end of file diff --git a/server/api/cmHopperBlack/cmHopperBlack.model.js b/server/api/cmHopperBlack/cmHopperBlack.model.js index 915c047..775f552 100644 --- a/server/api/cmHopperBlack/cmHopperBlack.model.js +++ b/server/api/cmHopperBlack/cmHopperBlack.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x9db7=['./cmHopperBlack.attributes','exports','CmHopperBlack','cm_hopper_black','lodash','../../config/logger','api','moment','bluebird','request-promise','rimraf','../../config/environment'];(function(_0x4724dd,_0x33c0d7){var _0x54a853=function(_0x1af6b6){while(--_0x1af6b6){_0x4724dd['push'](_0x4724dd['shift']());}};_0x54a853(++_0x33c0d7);}(_0x9db7,0x64));var _0x79db=function(_0x18b07d,_0x191d9b){_0x18b07d=_0x18b07d-0x0;var _0x562a88=_0x9db7[_0x18b07d];return _0x562a88;};'use strict';var _=require(_0x79db('0x0'));var util=require('util');var logger=require(_0x79db('0x1'))(_0x79db('0x2'));var moment=require(_0x79db('0x3'));var BPromise=require(_0x79db('0x4'));var rp=require(_0x79db('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x79db('0x6'));var config=require(_0x79db('0x7'));var attributes=require(_0x79db('0x8'));module[_0x79db('0x9')]=function(_0x2159f2,_0x429eec){return _0x2159f2['define'](_0x79db('0xa'),attributes,{'tableName':_0x79db('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0xeafa=['bluebird','request-promise','path','rimraf','../../config/environment','./cmHopperBlack.attributes','exports','define','CmHopperBlack','util','../../config/logger','moment'];(function(_0x288f5e,_0x205edd){var _0x476cc9=function(_0x796f53){while(--_0x796f53){_0x288f5e['push'](_0x288f5e['shift']());}};_0x476cc9(++_0x205edd);}(_0xeafa,0x1c5));var _0xaeaf=function(_0x1bb874,_0x2832a8){_0x1bb874=_0x1bb874-0x0;var _0x32d34a=_0xeafa[_0x1bb874];return _0x32d34a;};'use strict';var _=require('lodash');var util=require(_0xaeaf('0x0'));var logger=require(_0xaeaf('0x1'))('api');var moment=require(_0xaeaf('0x2'));var BPromise=require(_0xaeaf('0x3'));var rp=require(_0xaeaf('0x4'));var fs=require('fs');var path=require(_0xaeaf('0x5'));var rimraf=require(_0xaeaf('0x6'));var config=require(_0xaeaf('0x7'));var attributes=require(_0xaeaf('0x8'));module[_0xaeaf('0x9')]=function(_0x400ff4,_0x7b9e7e){return _0x400ff4[_0xaeaf('0xa')](_0xaeaf('0xb'),attributes,{'tableName':'cm_hopper_black','paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/cmHopperBlack/cmHopperBlack.rpc.js b/server/api/cmHopperBlack/cmHopperBlack.rpc.js index fc890c0..b1f1a85 100644 --- a/server/api/cmHopperBlack/cmHopperBlack.rpc.js +++ b/server/api/cmHopperBlack/cmHopperBlack.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x978c=['map','model','debug','UpdateCmHopperBlack','body','DestroyCmHopperBlack','destroy','lodash','util','moment','bluebird','randomstring','../../config/utils','../../config/logger','rpc','../../config/environment','request','then','info','CmHopperBlack,\x20%s,\x20%s','CmHopperBlack,\x20%s,\x20%s,\x20%s','stringify','error','code','message','result','catch','GetCmHopperBlack','CmHopperBlack','findAll','options','raw','where','attributes','limit','include'];(function(_0x5783f4,_0x4a9e0a){var _0x28e380=function(_0x1ffc49){while(--_0x1ffc49){_0x5783f4['push'](_0x5783f4['shift']());}};_0x28e380(++_0x4a9e0a);}(_0x978c,0x14b));var _0xc978=function(_0x297fd3,_0x115406){_0x297fd3=_0x297fd3-0x0;var _0x2af381=_0x978c[_0x297fd3];return _0x2af381;};'use strict';var _=require(_0xc978('0x0'));var util=require(_0xc978('0x1'));var moment=require(_0xc978('0x2'));var BPromise=require(_0xc978('0x3'));var rs=require(_0xc978('0x4'));var fs=require('fs');var Redis=require('ioredis');var db=require('../../mysqldb')['db'];var utils=require(_0xc978('0x5'));var logger=require(_0xc978('0x6'))(_0xc978('0x7'));var config=require(_0xc978('0x8'));var jayson=require('jayson/promise');var client=jayson['client']['http']({'port':0x232a});function respondWithRpcPromise(_0x4c0c10,_0x4e538a,_0x5c5fd1){return new BPromise(function(_0x205d24,_0x23f774){return client[_0xc978('0x9')](_0x4c0c10,_0x5c5fd1)[_0xc978('0xa')](function(_0x65787c){logger[_0xc978('0xb')](_0xc978('0xc'),_0x4e538a,'request\x20sent');logger['debug'](_0xc978('0xd'),_0x4e538a,'request\x20sent',JSON[_0xc978('0xe')](_0x65787c));if(_0x65787c[_0xc978('0xf')]){if(_0x65787c[_0xc978('0xf')][_0xc978('0x10')]===0x1f4){logger['error'](_0xc978('0xc'),_0x4e538a,_0x65787c[_0xc978('0xf')][_0xc978('0x11')]);return _0x23f774(_0x65787c['error']['message']);}logger[_0xc978('0xf')]('CmHopperBlack,\x20%s,\x20%s',_0x4e538a,_0x65787c[_0xc978('0xf')][_0xc978('0x11')]);return _0x205d24(_0x65787c[_0xc978('0xf')][_0xc978('0x11')]);}else{logger['info'](_0xc978('0xc'),_0x4e538a,'request\x20sent');_0x205d24(_0x65787c[_0xc978('0x12')][_0xc978('0x11')]);}})[_0xc978('0x13')](function(_0x3bbfe6){logger[_0xc978('0xf')]('CmHopperBlack,\x20%s,\x20%s',_0x4e538a,_0x3bbfe6);_0x23f774(_0x3bbfe6);});});}exports[_0xc978('0x14')]=function(_0xc5965c){var _0x39545a=this;return new Promise(function(_0x5635a8,_0x4c4e60){return db[_0xc978('0x15')][_0xc978('0x16')]({'raw':_0xc5965c[_0xc978('0x17')]?_0xc5965c[_0xc978('0x17')][_0xc978('0x18')]===undefined?!![]:![]:!![],'where':_0xc5965c[_0xc978('0x17')]?_0xc5965c[_0xc978('0x17')][_0xc978('0x19')]||null:null,'attributes':_0xc5965c[_0xc978('0x17')]?_0xc5965c['options'][_0xc978('0x1a')]||null:null,'limit':_0xc5965c[_0xc978('0x17')]?_0xc5965c[_0xc978('0x17')][_0xc978('0x1b')]||null:null,'include':_0xc5965c[_0xc978('0x17')]?_0xc5965c[_0xc978('0x17')][_0xc978('0x1c')]?_['map'](_0xc5965c[_0xc978('0x17')]['include'],function(_0x368bf5){return{'model':db[_0x368bf5['model']],'as':_0x368bf5['as'],'attributes':_0x368bf5[_0xc978('0x1a')],'include':_0x368bf5[_0xc978('0x1c')]?_[_0xc978('0x1d')](_0x368bf5[_0xc978('0x1c')],function(_0x8378dd){return{'model':db[_0x8378dd[_0xc978('0x1e')]],'as':_0x8378dd['as'],'attributes':_0x8378dd[_0xc978('0x1a')],'include':_0x8378dd[_0xc978('0x1c')]?_[_0xc978('0x1d')](_0x8378dd[_0xc978('0x1c')],function(_0x12559a){return{'model':db[_0x12559a[_0xc978('0x1e')]],'as':_0x12559a['as'],'attributes':_0x12559a[_0xc978('0x1a')]};}):[]};}):[]};}):[]:[]})['then'](function(_0x4f00b9){logger[_0xc978('0xb')](_0xc978('0x14'),_0xc5965c);logger[_0xc978('0x1f')]('GetCmHopperBlack',_0xc5965c,JSON[_0xc978('0xe')](_0x4f00b9));_0x5635a8(_0x4f00b9);})[_0xc978('0x13')](function(_0x59b6bc){logger['error']('GetCmHopperBlack',_0x59b6bc[_0xc978('0x11')],_0xc5965c);_0x4c4e60(_0x39545a[_0xc978('0xf')](0x1f4,_0x59b6bc[_0xc978('0x11')]));});});};exports[_0xc978('0x20')]=function(_0x82de0){var _0x1856f5=this;return new Promise(function(_0x394a28,_0x4fafe8){return db[_0xc978('0x15')]['update'](_0x82de0[_0xc978('0x21')],{'raw':_0x82de0['options']?_0x82de0['options'][_0xc978('0x18')]===undefined?!![]:![]:!![],'individualHooks':!![],'where':_0x82de0[_0xc978('0x17')]?_0x82de0[_0xc978('0x17')][_0xc978('0x19')]||null:null,'attributes':_0x82de0[_0xc978('0x17')]?_0x82de0['options'][_0xc978('0x1a')]||null:null,'limit':_0x82de0[_0xc978('0x17')]?_0x82de0[_0xc978('0x17')]['limit']||null:null})[_0xc978('0xa')](function(_0x46089c){logger['info']('UpdateCmHopperBlack',_0x82de0);logger[_0xc978('0x1f')](_0xc978('0x20'),_0x82de0,JSON[_0xc978('0xe')](_0x46089c));_0x394a28(_0x46089c);})[_0xc978('0x13')](function(_0x3bae1a){logger[_0xc978('0xf')](_0xc978('0x20'),_0x3bae1a['message'],_0x82de0);_0x4fafe8(_0x1856f5[_0xc978('0xf')](0x1f4,_0x3bae1a[_0xc978('0x11')]));});});};exports[_0xc978('0x22')]=function(_0x1e823b){var _0x549ef3=this;return new Promise(function(_0x52609,_0x124e10){return db[_0xc978('0x15')][_0xc978('0x23')]({'where':_0x1e823b[_0xc978('0x17')]?_0x1e823b['options'][_0xc978('0x19')]||null:null})['then'](function(_0x1dbacc){logger[_0xc978('0xb')](_0xc978('0x22'),_0x1e823b);logger['debug']('DestroyCmHopperBlack',_0x1e823b,JSON[_0xc978('0xe')](_0x1dbacc));_0x52609(_0x1dbacc);})[_0xc978('0x13')](function(_0x5bc11f){logger['error'](_0xc978('0x22'),_0x5bc11f[_0xc978('0x11')],_0x1e823b);_0x124e10(_0x549ef3[_0xc978('0xf')](0x1f4,_0x5bc11f[_0xc978('0x11')]));});});}; \ No newline at end of file +var _0x8a16=['result','GetCmHopperBlack','CmHopperBlack','findAll','options','where','attributes','limit','include','model','map','debug','UpdateCmHopperBlack','update','body','raw','DestroyCmHopperBlack','destroy','catch','util','moment','bluebird','randomstring','ioredis','../../mysqldb','../../config/utils','../../config/logger','rpc','jayson/promise','client','http','request','then','info','CmHopperBlack,\x20%s,\x20%s','request\x20sent','stringify','error','code','message'];(function(_0x5c9a86,_0x3a4f1d){var _0x48c765=function(_0x4d22f2){while(--_0x4d22f2){_0x5c9a86['push'](_0x5c9a86['shift']());}};_0x48c765(++_0x3a4f1d);}(_0x8a16,0x1a3));var _0x68a1=function(_0x2a515c,_0x2a09cd){_0x2a515c=_0x2a515c-0x0;var _0x5b8280=_0x8a16[_0x2a515c];return _0x5b8280;};'use strict';var _=require('lodash');var util=require(_0x68a1('0x0'));var moment=require(_0x68a1('0x1'));var BPromise=require(_0x68a1('0x2'));var rs=require(_0x68a1('0x3'));var fs=require('fs');var Redis=require(_0x68a1('0x4'));var db=require(_0x68a1('0x5'))['db'];var utils=require(_0x68a1('0x6'));var logger=require(_0x68a1('0x7'))(_0x68a1('0x8'));var config=require('../../config/environment');var jayson=require(_0x68a1('0x9'));var client=jayson[_0x68a1('0xa')][_0x68a1('0xb')]({'port':0x232a});function respondWithRpcPromise(_0xae598c,_0x22dde8,_0x5cfefb){return new BPromise(function(_0x47926a,_0x14665f){return client[_0x68a1('0xc')](_0xae598c,_0x5cfefb)[_0x68a1('0xd')](function(_0x1ae70c){logger[_0x68a1('0xe')](_0x68a1('0xf'),_0x22dde8,'request\x20sent');logger['debug']('CmHopperBlack,\x20%s,\x20%s,\x20%s',_0x22dde8,_0x68a1('0x10'),JSON[_0x68a1('0x11')](_0x1ae70c));if(_0x1ae70c[_0x68a1('0x12')]){if(_0x1ae70c[_0x68a1('0x12')][_0x68a1('0x13')]===0x1f4){logger['error'](_0x68a1('0xf'),_0x22dde8,_0x1ae70c[_0x68a1('0x12')]['message']);return _0x14665f(_0x1ae70c[_0x68a1('0x12')][_0x68a1('0x14')]);}logger['error'](_0x68a1('0xf'),_0x22dde8,_0x1ae70c['error'][_0x68a1('0x14')]);return _0x47926a(_0x1ae70c[_0x68a1('0x12')]['message']);}else{logger[_0x68a1('0xe')]('CmHopperBlack,\x20%s,\x20%s',_0x22dde8,_0x68a1('0x10'));_0x47926a(_0x1ae70c[_0x68a1('0x15')]['message']);}})['catch'](function(_0x9542d1){logger['error']('CmHopperBlack,\x20%s,\x20%s',_0x22dde8,_0x9542d1);_0x14665f(_0x9542d1);});});}exports[_0x68a1('0x16')]=function(_0x25f2c0){var _0x4bb72b=this;return new Promise(function(_0x139bf0,_0x5bae8d){return db[_0x68a1('0x17')][_0x68a1('0x18')]({'raw':_0x25f2c0[_0x68a1('0x19')]?_0x25f2c0[_0x68a1('0x19')]['raw']===undefined?!![]:![]:!![],'where':_0x25f2c0[_0x68a1('0x19')]?_0x25f2c0['options'][_0x68a1('0x1a')]||null:null,'attributes':_0x25f2c0[_0x68a1('0x19')]?_0x25f2c0[_0x68a1('0x19')][_0x68a1('0x1b')]||null:null,'limit':_0x25f2c0[_0x68a1('0x19')]?_0x25f2c0[_0x68a1('0x19')][_0x68a1('0x1c')]||null:null,'include':_0x25f2c0['options']?_0x25f2c0[_0x68a1('0x19')]['include']?_['map'](_0x25f2c0[_0x68a1('0x19')][_0x68a1('0x1d')],function(_0x2d29a0){return{'model':db[_0x2d29a0[_0x68a1('0x1e')]],'as':_0x2d29a0['as'],'attributes':_0x2d29a0[_0x68a1('0x1b')],'include':_0x2d29a0[_0x68a1('0x1d')]?_[_0x68a1('0x1f')](_0x2d29a0[_0x68a1('0x1d')],function(_0x1e60ee){return{'model':db[_0x1e60ee[_0x68a1('0x1e')]],'as':_0x1e60ee['as'],'attributes':_0x1e60ee['attributes'],'include':_0x1e60ee['include']?_['map'](_0x1e60ee[_0x68a1('0x1d')],function(_0x282862){return{'model':db[_0x282862[_0x68a1('0x1e')]],'as':_0x282862['as'],'attributes':_0x282862['attributes']};}):[]};}):[]};}):[]:[]})[_0x68a1('0xd')](function(_0x1facd1){logger['info']('GetCmHopperBlack',_0x25f2c0);logger[_0x68a1('0x20')](_0x68a1('0x16'),_0x25f2c0,JSON['stringify'](_0x1facd1));_0x139bf0(_0x1facd1);})['catch'](function(_0x2ae20a){logger['error'](_0x68a1('0x16'),_0x2ae20a['message'],_0x25f2c0);_0x5bae8d(_0x4bb72b[_0x68a1('0x12')](0x1f4,_0x2ae20a[_0x68a1('0x14')]));});});};exports[_0x68a1('0x21')]=function(_0x3f6dc9){var _0x5f50f9=this;return new Promise(function(_0x47a99a,_0x24cf85){return db[_0x68a1('0x17')][_0x68a1('0x22')](_0x3f6dc9[_0x68a1('0x23')],{'raw':_0x3f6dc9[_0x68a1('0x19')]?_0x3f6dc9['options'][_0x68a1('0x24')]===undefined?!![]:![]:!![],'individualHooks':!![],'where':_0x3f6dc9[_0x68a1('0x19')]?_0x3f6dc9[_0x68a1('0x19')]['where']||null:null,'attributes':_0x3f6dc9[_0x68a1('0x19')]?_0x3f6dc9[_0x68a1('0x19')][_0x68a1('0x1b')]||null:null,'limit':_0x3f6dc9[_0x68a1('0x19')]?_0x3f6dc9[_0x68a1('0x19')][_0x68a1('0x1c')]||null:null})[_0x68a1('0xd')](function(_0x517d7e){logger['info'](_0x68a1('0x21'),_0x3f6dc9);logger[_0x68a1('0x20')](_0x68a1('0x21'),_0x3f6dc9,JSON['stringify'](_0x517d7e));_0x47a99a(_0x517d7e);})['catch'](function(_0x37c235){logger[_0x68a1('0x12')](_0x68a1('0x21'),_0x37c235[_0x68a1('0x14')],_0x3f6dc9);_0x24cf85(_0x5f50f9['error'](0x1f4,_0x37c235[_0x68a1('0x14')]));});});};exports[_0x68a1('0x25')]=function(_0x1e2fae){var _0x35013c=this;return new Promise(function(_0x2477b5,_0x5dcc68){return db[_0x68a1('0x17')][_0x68a1('0x26')]({'where':_0x1e2fae[_0x68a1('0x19')]?_0x1e2fae[_0x68a1('0x19')]['where']||null:null})[_0x68a1('0xd')](function(_0x350544){logger[_0x68a1('0xe')](_0x68a1('0x25'),_0x1e2fae);logger[_0x68a1('0x20')]('DestroyCmHopperBlack',_0x1e2fae,JSON['stringify'](_0x350544));_0x2477b5(_0x350544);})[_0x68a1('0x27')](function(_0x211b42){logger[_0x68a1('0x12')](_0x68a1('0x25'),_0x211b42[_0x68a1('0x14')],_0x1e2fae);_0x5dcc68(_0x35013c[_0x68a1('0x12')](0x1f4,_0x211b42['message']));});});}; \ No newline at end of file diff --git a/server/api/cmHopperBlack/index.js b/server/api/cmHopperBlack/index.js index c6f331b..72e1492 100644 --- a/server/api/cmHopperBlack/index.js +++ b/server/api/cmHopperBlack/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xb821=['/:id','show','put','update','delete','destroy','exports','util','path','Router','../../config/environment','./cmHopperBlack.controller','get','isAuthenticated','/describe','describe'];(function(_0x62040e,_0x3b1662){var _0x20c665=function(_0x327608){while(--_0x327608){_0x62040e['push'](_0x62040e['shift']());}};_0x20c665(++_0x3b1662);}(_0xb821,0xa7));var _0x1b82=function(_0x2718e3,_0x3dea59){_0x2718e3=_0x2718e3-0x0;var _0x218902=_0xb821[_0x2718e3];return _0x218902;};'use strict';var multer=require('multer');var util=require(_0x1b82('0x0'));var path=require(_0x1b82('0x1'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x1b82('0x2')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x1b82('0x3'));var controller=require(_0x1b82('0x4'));router[_0x1b82('0x5')]('/',auth[_0x1b82('0x6')](),controller['index']);router[_0x1b82('0x5')](_0x1b82('0x7'),auth[_0x1b82('0x6')](),controller[_0x1b82('0x8')]);router[_0x1b82('0x5')](_0x1b82('0x9'),auth[_0x1b82('0x6')](),controller[_0x1b82('0xa')]);router[_0x1b82('0xb')]('/:id',auth[_0x1b82('0x6')](),controller[_0x1b82('0xc')]);router[_0x1b82('0xd')](_0x1b82('0x9'),auth[_0x1b82('0x6')](),controller[_0x1b82('0xe')]);module[_0x1b82('0xf')]=router; \ No newline at end of file +var _0xbec5=['../../components/auth/service','../../components/interaction/service','./cmHopperBlack.controller','get','isAuthenticated','/describe','describe','/:id','show','update','delete','destroy','exports','multer','util','connect-timeout','express','Router'];(function(_0x2ea725,_0x429ede){var _0x33fb61=function(_0x13ad58){while(--_0x13ad58){_0x2ea725['push'](_0x2ea725['shift']());}};_0x33fb61(++_0x429ede);}(_0xbec5,0xe5));var _0x5bec=function(_0x54edc9,_0x345f01){_0x54edc9=_0x54edc9-0x0;var _0x2ae7a9=_0xbec5[_0x54edc9];return _0x2ae7a9;};'use strict';var multer=require(_0x5bec('0x0'));var util=require(_0x5bec('0x1'));var path=require('path');var timeout=require(_0x5bec('0x2'));var express=require(_0x5bec('0x3'));var router=express[_0x5bec('0x4')]();var auth=require(_0x5bec('0x5'));var interaction=require(_0x5bec('0x6'));var config=require('../../config/environment');var controller=require(_0x5bec('0x7'));router[_0x5bec('0x8')]('/',auth[_0x5bec('0x9')](),controller['index']);router[_0x5bec('0x8')](_0x5bec('0xa'),auth[_0x5bec('0x9')](),controller[_0x5bec('0xb')]);router[_0x5bec('0x8')](_0x5bec('0xc'),auth[_0x5bec('0x9')](),controller[_0x5bec('0xd')]);router['put'](_0x5bec('0xc'),auth['isAuthenticated'](),controller[_0x5bec('0xe')]);router[_0x5bec('0xf')](_0x5bec('0xc'),auth['isAuthenticated'](),controller[_0x5bec('0x10')]);module[_0x5bec('0x11')]=router; \ No newline at end of file diff --git a/server/api/cmHopperFinal/cmHopperFinal.attributes.js b/server/api/cmHopperFinal/cmHopperFinal.attributes.js index 09221b4..138ac2c 100644 --- a/server/api/cmHopperFinal/cmHopperFinal.attributes.js +++ b/server/api/cmHopperFinal/cmHopperFinal.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x1d58=['DATE','STRING','endtime','followuptime','diff','seconds','setDataValue','dispositionat','BOOLEAN','sequelize','exports','INTEGER'];(function(_0x2188a5,_0x22391c){var _0x5d1cee=function(_0x5d0cb3){while(--_0x5d0cb3){_0x2188a5['push'](_0x2188a5['shift']());}};_0x5d1cee(++_0x22391c);}(_0x1d58,0x14d));var _0x81d5=function(_0x18b3f3,_0xf02436){_0x18b3f3=_0x18b3f3-0x0;var _0x1db4fd=_0x1d58[_0x18b3f3];return _0x1db4fd;};'use strict';var Sequelize=require(_0x81d5('0x0'));var moment=require('moment');module[_0x81d5('0x1')]={'state':{'type':Sequelize[_0x81d5('0x2')](0x2)},'statedesc':{'type':Sequelize['STRING']},'scheduledat':{'type':Sequelize[_0x81d5('0x3')]},'countbusyretry':{'type':Sequelize[_0x81d5('0x2')],'defaultValue':0x0},'countcongestionretry':{'type':Sequelize[_0x81d5('0x2')],'defaultValue':0x0},'countnoanswerretry':{'type':Sequelize[_0x81d5('0x2')],'defaultValue':0x0},'countglobal':{'type':Sequelize[_0x81d5('0x2')],'defaultValue':0x0},'uniqueid':{'type':Sequelize[_0x81d5('0x4')]},'originatecalleridnum':{'type':Sequelize['STRING']},'originatecalleridname':{'type':Sequelize[_0x81d5('0x4')]},'calleridnum':{'type':Sequelize[_0x81d5('0x4')]},'calleridname':{'type':Sequelize[_0x81d5('0x4')]},'starttime':{'type':Sequelize[_0x81d5('0x3')]},'responsetime':{'type':Sequelize['DATE']},'answertime':{'type':Sequelize[_0x81d5('0x3')]},'droptime':{'type':Sequelize[_0x81d5('0x3')]},'endtime':{'type':Sequelize['DATE']},'ringtime':{'type':Sequelize[_0x81d5('0x2')],'defaultValue':0x0},'holdtime':{'type':Sequelize[_0x81d5('0x2')],'defaultValue':0x0},'talktime':{'type':Sequelize[_0x81d5('0x2')],'defaultValue':0x0},'followuptime':{'type':Sequelize[_0x81d5('0x2')],'defaultValue':0x0},'dropreason':{'type':Sequelize[_0x81d5('0x4')]},'campaign':{'type':Sequelize[_0x81d5('0x4')]},'campaigntype':{'type':Sequelize['STRING']},'membername':{'type':Sequelize[_0x81d5('0x4')]},'reason':{'type':Sequelize[_0x81d5('0x4')]},'disposition':{'type':Sequelize[_0x81d5('0x4')]},'dispositionat':{'type':Sequelize[_0x81d5('0x3')],'set':function(_0x4b78db){var _0xcaeca2=this['getDataValue'](_0x81d5('0x5'));if(_0xcaeca2&&_0x4b78db){this['setDataValue'](_0x81d5('0x6'),moment(_0x4b78db)[_0x81d5('0x7')](moment(_0xcaeca2),_0x81d5('0x8')));}return this[_0x81d5('0x9')](_0x81d5('0xa'),_0x4b78db);}},'amd':{'type':Sequelize[_0x81d5('0xb')],'defaultValue':![]},'fax':{'type':Sequelize[_0x81d5('0xb')],'defaultValue':![]},'blacklist':{'type':Sequelize[_0x81d5('0xb')],'defaultValue':![]},'rescheduled':{'type':Sequelize[_0x81d5('0xb')],'defaultValue':![]},'rescheduledat':{'type':Sequelize['DATE']},'callback':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'callbackuniqueid':{'type':Sequelize[_0x81d5('0x4')],'defaultValue':null},'callbackat':{'type':Sequelize['DATE']},'deleted':{'type':Sequelize[_0x81d5('0x4')],'defaultValue':null},'deletedat':{'type':Sequelize[_0x81d5('0x3')]},'recallme':{'type':Sequelize[_0x81d5('0xb')],'defaultValue':![]},'agiafterat':{'type':Sequelize[_0x81d5('0x3')]},'countnosuchnumberretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countdropretry':{'type':Sequelize[_0x81d5('0x2')],'defaultValue':0x0},'countabandonedretry':{'type':Sequelize[_0x81d5('0x2')],'defaultValue':0x0},'countmachineretry':{'type':Sequelize[_0x81d5('0x2')],'defaultValue':0x0},'countagentrejectretry':{'type':Sequelize[_0x81d5('0x2')],'defaultValue':0x0}}; \ No newline at end of file +var _0x11b0=['INTEGER','STRING','DATE','endtime','setDataValue','followuptime','seconds','BOOLEAN','sequelize','exports'];(function(_0x42cae2,_0x284ef8){var _0x5f256f=function(_0x41abc8){while(--_0x41abc8){_0x42cae2['push'](_0x42cae2['shift']());}};_0x5f256f(++_0x284ef8);}(_0x11b0,0x116));var _0x011b=function(_0x6ff303,_0x40b9f8){_0x6ff303=_0x6ff303-0x0;var _0x9d08cd=_0x11b0[_0x6ff303];return _0x9d08cd;};'use strict';var Sequelize=require(_0x011b('0x0'));var moment=require('moment');module[_0x011b('0x1')]={'state':{'type':Sequelize[_0x011b('0x2')](0x2)},'statedesc':{'type':Sequelize[_0x011b('0x3')]},'scheduledat':{'type':Sequelize[_0x011b('0x4')]},'countbusyretry':{'type':Sequelize[_0x011b('0x2')],'defaultValue':0x0},'countcongestionretry':{'type':Sequelize[_0x011b('0x2')],'defaultValue':0x0},'countnoanswerretry':{'type':Sequelize[_0x011b('0x2')],'defaultValue':0x0},'countglobal':{'type':Sequelize[_0x011b('0x2')],'defaultValue':0x0},'uniqueid':{'type':Sequelize[_0x011b('0x3')]},'originatecalleridnum':{'type':Sequelize[_0x011b('0x3')]},'originatecalleridname':{'type':Sequelize[_0x011b('0x3')]},'calleridnum':{'type':Sequelize[_0x011b('0x3')]},'calleridname':{'type':Sequelize[_0x011b('0x3')]},'starttime':{'type':Sequelize[_0x011b('0x4')]},'responsetime':{'type':Sequelize[_0x011b('0x4')]},'answertime':{'type':Sequelize[_0x011b('0x4')]},'droptime':{'type':Sequelize[_0x011b('0x4')]},'endtime':{'type':Sequelize['DATE']},'ringtime':{'type':Sequelize[_0x011b('0x2')],'defaultValue':0x0},'holdtime':{'type':Sequelize[_0x011b('0x2')],'defaultValue':0x0},'talktime':{'type':Sequelize[_0x011b('0x2')],'defaultValue':0x0},'followuptime':{'type':Sequelize[_0x011b('0x2')],'defaultValue':0x0},'dropreason':{'type':Sequelize[_0x011b('0x3')]},'campaign':{'type':Sequelize[_0x011b('0x3')]},'campaigntype':{'type':Sequelize['STRING']},'membername':{'type':Sequelize[_0x011b('0x3')]},'reason':{'type':Sequelize[_0x011b('0x3')]},'disposition':{'type':Sequelize['STRING']},'dispositionat':{'type':Sequelize[_0x011b('0x4')],'set':function(_0x10f950){var _0x530a70=this['getDataValue'](_0x011b('0x5'));if(_0x530a70&&_0x10f950){this[_0x011b('0x6')](_0x011b('0x7'),moment(_0x10f950)['diff'](moment(_0x530a70),_0x011b('0x8')));}return this['setDataValue']('dispositionat',_0x10f950);}},'amd':{'type':Sequelize[_0x011b('0x9')],'defaultValue':![]},'fax':{'type':Sequelize[_0x011b('0x9')],'defaultValue':![]},'blacklist':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'rescheduled':{'type':Sequelize[_0x011b('0x9')],'defaultValue':![]},'rescheduledat':{'type':Sequelize['DATE']},'callback':{'type':Sequelize[_0x011b('0x9')],'defaultValue':![]},'callbackuniqueid':{'type':Sequelize['STRING'],'defaultValue':null},'callbackat':{'type':Sequelize[_0x011b('0x4')]},'deleted':{'type':Sequelize[_0x011b('0x3')],'defaultValue':null},'deletedat':{'type':Sequelize[_0x011b('0x4')]},'recallme':{'type':Sequelize[_0x011b('0x9')],'defaultValue':![]},'agiafterat':{'type':Sequelize[_0x011b('0x4')]},'countnosuchnumberretry':{'type':Sequelize[_0x011b('0x2')],'defaultValue':0x0},'countdropretry':{'type':Sequelize[_0x011b('0x2')],'defaultValue':0x0},'countabandonedretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countmachineretry':{'type':Sequelize[_0x011b('0x2')],'defaultValue':0x0},'countagentrejectretry':{'type':Sequelize[_0x011b('0x2')],'defaultValue':0x0}}; \ No newline at end of file diff --git a/server/api/cmHopperFinal/cmHopperFinal.controller.js b/server/api/cmHopperFinal/cmHopperFinal.controller.js index 776f8b0..660ede3 100644 --- a/server/api/cmHopperFinal/cmHopperFinal.controller.js +++ b/server/api/cmHopperFinal/cmHopperFinal.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x687b=['describe','update','uniqueid','body','countContactsQueueCampaignHopperFinal','findAll','sequelize','COUNT','literal','`state`\x20=\x200,\x201,\x20null','`state`\x20=\x205,\x201,\x20null','busyContacts','`state`\x20=\x208,\x201,\x20null','congestionContacts','`state`\x20=\x2010\x20,\x201,\x20null','dropContacts','abandonedContacts','`state`\x20=\x2022,\x201,\x20null','reCallContacts','`state`\x20=\x2019,\x201,\x20null','countContactsIvrCampaignHopperFinal','noSuchContacts','`state`\x20=\x203,\x201,\x20null','`state`\x20=\x2011\x20,\x201,\x20null','moveContactsQueueCampaignHopperFinal','VoiceQueue','into','cm_hopper','phone','scheduledAt','VoiceQueueId','updatedAt','select','field','ANY_VALUE(calleridnum)','NOW()','ANY_VALUE(ContactId)','ContactId','ANY_VALUE(ListId)','ListId','createdAt','cm_hopper_final','state\x20=\x20?','state','toString','calleridnum\x20IS\x20NOT\x20NULL','from','VoiceQueueId\x20=\x20?','calleridnum\x20NOT\x20IN\x20(?)','group','moveContactsIvrCampaignHopperFinal','Campaign','insert','fromQuery','CampaignId','ANY_VALUE(CampaignId)','CampaignId\x20=\x20?','calleridnum','state\x20=\x204','checkContactHopper','CmHopper','findOne','html-pdf','eml-format','rimraf','zip-dir','moment','bluebird','mustache','util','path','sox','to-csv','ejs','lodash','squel','jsforce','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/environment','../../mysqldb','status','end','json','count','offset','limit','save','then','sendStatus','error','stack','name','send','index','map','CmHopperFinal','rawAttributes','fieldName','key','model','query','keys','intersection','attributes','fields','hasOwnProperty','nolimit','order','sort','where','filters','pick','filter','merge','type','VIRTUAL','options','include','rows','catch','show','params','length','includeAll','find'];(function(_0x405058,_0x3b3117){var _0x3b95e4=function(_0x37af1f){while(--_0x37af1f){_0x405058['push'](_0x405058['shift']());}};_0x3b95e4(++_0x3b3117);}(_0x687b,0x14a));var _0xb687=function(_0xd0cd0b,_0x490956){_0xd0cd0b=_0xd0cd0b-0x0;var _0x59cced=_0x687b[_0xd0cd0b];return _0x59cced;};'use strict';var pdf=require(_0xb687('0x0'));var emlformat=require(_0xb687('0x1'));var rimraf=require(_0xb687('0x2'));var zipdir=require(_0xb687('0x3'));var jsonpatch=require('fast-json-patch');var rp=require('request-promise');var moment=require(_0xb687('0x4'));var BPromise=require(_0xb687('0x5'));var Mustache=require(_0xb687('0x6'));var util=require(_0xb687('0x7'));var path=require(_0xb687('0x8'));var sox=require(_0xb687('0x9'));var csv=require(_0xb687('0xa'));var ejs=require(_0xb687('0xb'));var fs=require('fs');var _=require(_0xb687('0xc'));var squel=require(_0xb687('0xd'));var crypto=require('crypto');var jsforce=require(_0xb687('0xe'));var deskjs=require(_0xb687('0xf'));var toCsv=require('to-csv');var querystring=require(_0xb687('0x10'));var Papa=require(_0xb687('0x11'));var Redis=require(_0xb687('0x12'));var authService=require(_0xb687('0x13'));var qs=require(_0xb687('0x14'));var as=require(_0xb687('0x15'));var hardwareService=require(_0xb687('0x16'));var logger=require(_0xb687('0x17'))(_0xb687('0x18'));var utils=require('../../config/utils');var config=require(_0xb687('0x19'));var db=require(_0xb687('0x1a'))['db'];function respondWithStatusCode(_0x3ca723,_0x12a0be){_0x12a0be=_0x12a0be||0xcc;return function(_0x4f9c19){if(_0x4f9c19){return _0x3ca723['sendStatus'](_0x12a0be);}return _0x3ca723[_0xb687('0x1b')](_0x12a0be)[_0xb687('0x1c')]();};}function respondWithResult(_0x49e233,_0x108fd0){_0x108fd0=_0x108fd0||0xc8;return function(_0x2f1ac0){if(_0x2f1ac0){return _0x49e233[_0xb687('0x1b')](_0x108fd0)[_0xb687('0x1d')](_0x2f1ac0);}};}function respondWithFilteredResult(_0x838dd4,_0x3ab914){return function(_0x30622f){if(_0x30622f){var _0x141375=_0x30622f[_0xb687('0x1e')],_0x263085=_0x3ab914['offset'],_0x2c7a18=_0x3ab914[_0xb687('0x1f')]+_0x3ab914[_0xb687('0x20')],_0x25124a;if(_0x2c7a18>=_0x141375){_0x2c7a18=_0x141375;_0x25124a=0xc8;}else{_0x25124a=0xce;}_0x838dd4[_0xb687('0x1b')](_0x25124a);return _0x838dd4['set']('Content-Range',_0x263085+'-'+_0x2c7a18+'/'+_0x141375)[_0xb687('0x1d')](_0x30622f);}return null;};}function patchUpdates(_0x3a10ef){return function(_0x19ee14){try{jsonpatch['apply'](_0x19ee14,_0x3a10ef,!![]);}catch(_0x42cdd2){return BPromise['reject'](_0x42cdd2);}return _0x19ee14[_0xb687('0x21')]();};}function saveUpdates(_0x243236,_0x170dc0){return function(_0x44bd0b){if(_0x44bd0b){return _0x44bd0b['update'](_0x243236)[_0xb687('0x22')](function(_0x58e83c){return _0x58e83c;});}return null;};}function removeEntity(_0x335541,_0x90e892){return function(_0x274241){if(_0x274241){return _0x274241['destroy']()[_0xb687('0x22')](function(){_0x335541[_0xb687('0x1b')](0xcc)[_0xb687('0x1c')]();});}};}function handleEntityNotFound(_0x16cdcb,_0xbf6c58){return function(_0x38866c){if(!_0x38866c){_0x16cdcb[_0xb687('0x23')](0x194);}return _0x38866c;};}function handleError(_0x2f0a0a,_0x57cd51){_0x57cd51=_0x57cd51||0x1f4;return function(_0xf45db0){logger[_0xb687('0x24')](_0xf45db0[_0xb687('0x25')]);if(_0xf45db0[_0xb687('0x26')]){delete _0xf45db0[_0xb687('0x26')];}_0x2f0a0a[_0xb687('0x1b')](_0x57cd51)[_0xb687('0x27')](_0xf45db0);};}exports[_0xb687('0x28')]=function(_0x3ff9e1,_0x2e6185){var _0x4a61ec={},_0x3712cf={},_0x192966={'count':0x0,'rows':[]};var _0x392721=_[_0xb687('0x29')](db[_0xb687('0x2a')][_0xb687('0x2b')],function(_0x4e9a06){return{'name':_0x4e9a06[_0xb687('0x2c')],'type':_0x4e9a06['type'][_0xb687('0x2d')]};});_0x3712cf[_0xb687('0x2e')]=_[_0xb687('0x29')](_0x392721,_0xb687('0x26'));_0x3712cf[_0xb687('0x2f')]=_[_0xb687('0x30')](_0x3ff9e1[_0xb687('0x2f')]);_0x3712cf['filters']=_[_0xb687('0x31')](_0x3712cf[_0xb687('0x2e')],_0x3712cf[_0xb687('0x2f')]);_0x4a61ec[_0xb687('0x32')]=_[_0xb687('0x31')](_0x3712cf[_0xb687('0x2e')],qs[_0xb687('0x33')](_0x3ff9e1[_0xb687('0x2f')][_0xb687('0x33')]));_0x4a61ec[_0xb687('0x32')]=_0x4a61ec[_0xb687('0x32')]['length']?_0x4a61ec['attributes']:_0x3712cf[_0xb687('0x2e')];if(!_0x3ff9e1[_0xb687('0x2f')][_0xb687('0x34')](_0xb687('0x35'))){_0x4a61ec['limit']=qs['limit'](_0x3ff9e1[_0xb687('0x2f')][_0xb687('0x20')]);_0x4a61ec['offset']=qs[_0xb687('0x1f')](_0x3ff9e1[_0xb687('0x2f')]['offset']);}_0x4a61ec[_0xb687('0x36')]=qs['sort'](_0x3ff9e1[_0xb687('0x2f')][_0xb687('0x37')]);_0x4a61ec[_0xb687('0x38')]=qs[_0xb687('0x39')](_[_0xb687('0x3a')](_0x3ff9e1[_0xb687('0x2f')],_0x3712cf['filters']),_0x392721);if(_0x3ff9e1[_0xb687('0x2f')][_0xb687('0x3b')]){_0x4a61ec[_0xb687('0x38')]=_[_0xb687('0x3c')](_0x4a61ec['where'],{'$or':_[_0xb687('0x29')](_0x392721,function(_0x100f4a){if(_0x100f4a[_0xb687('0x3d')]!==_0xb687('0x3e')){var _0xa3f0f9={};_0xa3f0f9[_0x100f4a['name']]={'$like':'%'+_0x3ff9e1[_0xb687('0x2f')][_0xb687('0x3b')]+'%'};return _0xa3f0f9;}})});}_0x4a61ec=_[_0xb687('0x3c')]({},_0x4a61ec,_0x3ff9e1[_0xb687('0x3f')]);var _0x24b785={'where':_0x4a61ec[_0xb687('0x38')]};return db['CmHopperFinal']['count'](_0x24b785)[_0xb687('0x22')](function(_0x5460a2){_0x192966[_0xb687('0x1e')]=_0x5460a2;if(_0x3ff9e1[_0xb687('0x2f')]['includeAll']){_0x4a61ec[_0xb687('0x40')]=[{'all':!![]}];}return db[_0xb687('0x2a')]['findAll'](_0x4a61ec);})[_0xb687('0x22')](function(_0x28031e){_0x192966[_0xb687('0x41')]=_0x28031e;return _0x192966;})['then'](respondWithFilteredResult(_0x2e6185,_0x4a61ec))[_0xb687('0x42')](handleError(_0x2e6185,null));};exports[_0xb687('0x43')]=function(_0x38abe5,_0x75102a){var _0x140388={'raw':!![],'where':{'id':_0x38abe5[_0xb687('0x44')]['id']}},_0x1375f7={};_0x1375f7['model']=_[_0xb687('0x30')](db['CmHopperFinal']['rawAttributes']);_0x1375f7[_0xb687('0x2f')]=_[_0xb687('0x30')](_0x38abe5['query']);_0x1375f7[_0xb687('0x39')]=_['intersection'](_0x1375f7[_0xb687('0x2e')],_0x1375f7[_0xb687('0x2f')]);_0x140388['attributes']=_[_0xb687('0x31')](_0x1375f7[_0xb687('0x2e')],qs['fields'](_0x38abe5[_0xb687('0x2f')][_0xb687('0x33')]));_0x140388[_0xb687('0x32')]=_0x140388[_0xb687('0x32')][_0xb687('0x45')]?_0x140388[_0xb687('0x32')]:_0x1375f7[_0xb687('0x2e')];if(_0x38abe5[_0xb687('0x2f')][_0xb687('0x46')]){_0x140388[_0xb687('0x40')]=[{'all':!![]}];}_0x140388=_[_0xb687('0x3c')]({},_0x140388,_0x38abe5[_0xb687('0x3f')]);return db['CmHopperFinal'][_0xb687('0x47')](_0x140388)['then'](handleEntityNotFound(_0x75102a,null))[_0xb687('0x22')](respondWithResult(_0x75102a,null))[_0xb687('0x42')](handleError(_0x75102a,null));};exports[_0xb687('0x48')]=function(_0x2c9110,_0x113b76){return db[_0xb687('0x2a')]['describe']()['then'](respondWithResult(_0x113b76,null))[_0xb687('0x42')](handleError(_0x113b76,null));};exports[_0xb687('0x49')]=function(_0x40558a,_0x4f3069){if(_0x40558a['body'][_0xb687('0x4a')]){delete _0x40558a[_0xb687('0x4b')][_0xb687('0x4a')];}return db[_0xb687('0x2a')]['find']({'where':{'uniqueid':_0x40558a[_0xb687('0x44')]['id']}})[_0xb687('0x22')](handleEntityNotFound(_0x4f3069,null))[_0xb687('0x22')](saveUpdates(_0x40558a[_0xb687('0x4b')],null))['then'](respondWithResult(_0x4f3069,null))['catch'](handleError(_0x4f3069,null));};exports[_0xb687('0x4c')]=function(_0x170b26,_0x42b61a,_0x508862){return db['CmHopperFinal'][_0xb687('0x4d')]({'raw':![],'where':{'VoiceQueueId':_0x170b26[_0xb687('0x44')]['id']},'attributes':[[db[_0xb687('0x4e')]['fn'](_0xb687('0x4f'),db[_0xb687('0x4e')]['fn']('IF',db[_0xb687('0x4e')][_0xb687('0x50')](_0xb687('0x51')))),'noSuchContacts'],[db[_0xb687('0x4e')]['fn'](_0xb687('0x4f'),db[_0xb687('0x4e')]['fn']('IF',db['sequelize']['literal']('`state`\x20=\x203,\x201,\x20null'))),'noAnswerContacts'],[db[_0xb687('0x4e')]['fn'](_0xb687('0x4f'),db[_0xb687('0x4e')]['fn']('IF',db[_0xb687('0x4e')][_0xb687('0x50')](_0xb687('0x52')))),_0xb687('0x53')],[db[_0xb687('0x4e')]['fn'](_0xb687('0x4f'),db[_0xb687('0x4e')]['fn']('IF',db[_0xb687('0x4e')][_0xb687('0x50')](_0xb687('0x54')))),_0xb687('0x55')],[db[_0xb687('0x4e')]['fn'](_0xb687('0x4f'),db[_0xb687('0x4e')]['fn']('IF',db['sequelize']['literal'](_0xb687('0x56')))),_0xb687('0x57')],[db[_0xb687('0x4e')]['fn'](_0xb687('0x4f'),db['sequelize']['fn']('IF',db[_0xb687('0x4e')][_0xb687('0x50')]('`state`\x20=\x2011\x20,\x201,\x20null'))),_0xb687('0x58')],[db['sequelize']['fn'](_0xb687('0x4f'),db[_0xb687('0x4e')]['fn']('IF',db['sequelize']['literal'](_0xb687('0x59')))),_0xb687('0x5a')],[db['sequelize']['fn'](_0xb687('0x4f'),db[_0xb687('0x4e')]['fn']('IF',db[_0xb687('0x4e')]['literal'](_0xb687('0x5b')))),'answeringMachine']]})[_0xb687('0x22')](handleEntityNotFound(_0x42b61a,null))[_0xb687('0x22')](respondWithResult(_0x42b61a,null))[_0xb687('0x42')](handleError(_0x42b61a,null));};exports[_0xb687('0x5c')]=function(_0x819b63,_0x49b403,_0x4e163c){return db[_0xb687('0x2a')]['findAll']({'raw':![],'where':{'CampaignId':_0x819b63['params']['id']},'attributes':[[db['sequelize']['fn']('COUNT',db[_0xb687('0x4e')]['fn']('IF',db[_0xb687('0x4e')][_0xb687('0x50')](_0xb687('0x51')))),_0xb687('0x5d')],[db[_0xb687('0x4e')]['fn'](_0xb687('0x4f'),db[_0xb687('0x4e')]['fn']('IF',db[_0xb687('0x4e')][_0xb687('0x50')](_0xb687('0x5e')))),'noAnswerContacts'],[db['sequelize']['fn'](_0xb687('0x4f'),db['sequelize']['fn']('IF',db[_0xb687('0x4e')][_0xb687('0x50')](_0xb687('0x52')))),_0xb687('0x53')],[db[_0xb687('0x4e')]['fn']('COUNT',db[_0xb687('0x4e')]['fn']('IF',db['sequelize'][_0xb687('0x50')](_0xb687('0x54')))),_0xb687('0x55')],[db[_0xb687('0x4e')]['fn'](_0xb687('0x4f'),db[_0xb687('0x4e')]['fn']('IF',db[_0xb687('0x4e')]['literal'](_0xb687('0x56')))),_0xb687('0x57')],[db[_0xb687('0x4e')]['fn'](_0xb687('0x4f'),db[_0xb687('0x4e')]['fn']('IF',db['sequelize'][_0xb687('0x50')](_0xb687('0x5f')))),_0xb687('0x58')],[db[_0xb687('0x4e')]['fn'](_0xb687('0x4f'),db[_0xb687('0x4e')]['fn']('IF',db[_0xb687('0x4e')][_0xb687('0x50')](_0xb687('0x59')))),_0xb687('0x5a')],[db[_0xb687('0x4e')]['fn']('COUNT',db[_0xb687('0x4e')]['fn']('IF',db[_0xb687('0x4e')][_0xb687('0x50')](_0xb687('0x5b')))),'answeringMachine']]})[_0xb687('0x22')](handleEntityNotFound(_0x49b403,null))[_0xb687('0x22')](respondWithResult(_0x49b403,null))['catch'](handleError(_0x49b403,null));};exports[_0xb687('0x60')]=function(_0x1acfed,_0x24d3d1,_0x5eeb75){return db[_0xb687('0x61')][_0xb687('0x47')]({'where':{'id':_0x1acfed['params']['id']}})[_0xb687('0x22')](handleEntityNotFound(_0x24d3d1,null))[_0xb687('0x22')](function(_0x2c2add){var _0x431cc5;if(_0x2c2add){_0x431cc5=squel['insert']()[_0xb687('0x62')](_0xb687('0x63'))['fromQuery']([_0xb687('0x64'),_0xb687('0x65'),'ContactId','ListId',_0xb687('0x66'),'createdAt',_0xb687('0x67')],squel[_0xb687('0x68')]()[_0xb687('0x69')](_0xb687('0x6a'),_0xb687('0x64'))[_0xb687('0x69')](_0xb687('0x6b'),_0xb687('0x65'))['field'](_0xb687('0x6c'),_0xb687('0x6d'))[_0xb687('0x69')](_0xb687('0x6e'),_0xb687('0x6f'))[_0xb687('0x69')]('ANY_VALUE(VoiceQueueId)',_0xb687('0x66'))[_0xb687('0x69')]('NOW()',_0xb687('0x70'))[_0xb687('0x69')](_0xb687('0x6b'),_0xb687('0x67'))['from'](_0xb687('0x71'))['where']('VoiceQueueId\x20=\x20?',_0x1acfed[_0xb687('0x44')]['id']['toString']())['where'](_0xb687('0x72'),_0x1acfed['body'][_0xb687('0x73')][_0xb687('0x74')]())['where'](_0xb687('0x75'))[_0xb687('0x38')]('calleridnum\x20NOT\x20IN\x20(?)',squel[_0xb687('0x68')]()[_0xb687('0x69')](_0xb687('0x64'))[_0xb687('0x76')](_0xb687('0x63'))[_0xb687('0x38')](_0xb687('0x77'),_0x1acfed[_0xb687('0x44')]['id'][_0xb687('0x74')]()))[_0xb687('0x38')](_0xb687('0x78'),squel['select']()[_0xb687('0x69')]('calleridnum')['from'](_0xb687('0x71'))[_0xb687('0x38')](_0xb687('0x77'),_0x1acfed[_0xb687('0x44')]['id'][_0xb687('0x74')]())['where']('state\x20=\x204'))[_0xb687('0x79')](_0xb687('0x6d')))[_0xb687('0x74')]();return db[_0xb687('0x4e')]['query'](_0x431cc5);}return[];})[_0xb687('0x22')](respondWithResult(_0x24d3d1,null))[_0xb687('0x42')](handleError(_0x24d3d1,null));};exports[_0xb687('0x7a')]=function(_0xb95ee2,_0x16872d,_0x1b4671){return db[_0xb687('0x7b')][_0xb687('0x47')]({'where':{'id':_0xb95ee2[_0xb687('0x44')]['id']}})['then'](handleEntityNotFound(_0x16872d,null))[_0xb687('0x22')](function(_0x33d1fc){var _0x207953;if(_0x33d1fc){_0x207953=squel[_0xb687('0x7c')]()[_0xb687('0x62')]('cm_hopper')[_0xb687('0x7d')]([_0xb687('0x64'),'scheduledAt',_0xb687('0x6d'),'ListId',_0xb687('0x7e'),_0xb687('0x70'),'updatedAt'],squel[_0xb687('0x68')]()[_0xb687('0x69')]('ANY_VALUE(calleridnum)',_0xb687('0x64'))[_0xb687('0x69')](_0xb687('0x6b'),_0xb687('0x65'))[_0xb687('0x69')](_0xb687('0x6c'),'ContactId')[_0xb687('0x69')](_0xb687('0x6e'),_0xb687('0x6f'))[_0xb687('0x69')](_0xb687('0x7f'),_0xb687('0x7e'))[_0xb687('0x69')](_0xb687('0x6b'),_0xb687('0x70'))[_0xb687('0x69')](_0xb687('0x6b'),'updatedAt')[_0xb687('0x76')]('cm_hopper_final')[_0xb687('0x38')](_0xb687('0x80'),_0xb95ee2['params']['id']['toString']())[_0xb687('0x38')](_0xb687('0x72'),_0xb95ee2[_0xb687('0x4b')][_0xb687('0x73')][_0xb687('0x74')]())[_0xb687('0x38')](_0xb687('0x75'))[_0xb687('0x38')](_0xb687('0x78'),squel[_0xb687('0x68')]()[_0xb687('0x69')](_0xb687('0x64'))[_0xb687('0x76')](_0xb687('0x63'))[_0xb687('0x38')](_0xb687('0x80'),_0xb95ee2['params']['id']['toString']()))[_0xb687('0x38')]('calleridnum\x20NOT\x20IN\x20(?)',squel['select']()[_0xb687('0x69')](_0xb687('0x81'))['from'](_0xb687('0x71'))[_0xb687('0x38')]('CampaignId\x20=\x20?',_0xb95ee2[_0xb687('0x44')]['id'][_0xb687('0x74')]())[_0xb687('0x38')](_0xb687('0x82')))[_0xb687('0x79')](_0xb687('0x6d')))[_0xb687('0x74')]();return db[_0xb687('0x4e')][_0xb687('0x2f')](_0x207953);}return[];})['then'](respondWithResult(_0x16872d,null))[_0xb687('0x42')](handleError(_0x16872d,null));};exports[_0xb687('0x83')]=function(_0x4b11d0,_0x11cf86,_0x553038){return db[_0xb687('0x84')][_0xb687('0x85')]({'where':{'VoiceQueueId':_0x4b11d0['body'][_0xb687('0x66')],'CampaignId':_0x4b11d0[_0xb687('0x4b')][_0xb687('0x7e')],'ContactId':_0x4b11d0[_0xb687('0x4b')][_0xb687('0x6d')]}})[_0xb687('0x22')](handleEntityNotFound(_0x11cf86,null))[_0xb687('0x22')](function(_0x580bb5){if(_0x580bb5){return _0x580bb5;}return null;})['then'](respondWithResult(_0x11cf86,null))[_0xb687('0x42')](handleError(_0x11cf86,null));}; \ No newline at end of file +var _0xb2ad=['status','count','offset','limit','set','Content-Range','json','apply','reject','save','then','destroy','end','sendStatus','stack','name','index','map','CmHopperFinal','rawAttributes','fieldName','type','key','model','query','keys','filters','intersection','attributes','fields','length','hasOwnProperty','nolimit','order','sort','where','pick','filter','merge','options','includeAll','include','findAll','rows','catch','show','params','describe','update','uniqueid','body','find','countContactsQueueCampaignHopperFinal','sequelize','COUNT','`state`\x20=\x200,\x201,\x20null','noSuchContacts','literal','noAnswerContacts','`state`\x20=\x205,\x201,\x20null','busyContacts','`state`\x20=\x208,\x201,\x20null','congestionContacts','`state`\x20=\x2010\x20,\x201,\x20null','dropContacts','`state`\x20=\x2011\x20,\x201,\x20null','abandonedContacts','`state`\x20=\x2022,\x201,\x20null','`state`\x20=\x2019,\x201,\x20null','answeringMachine','`state`\x20=\x203,\x201,\x20null','reCallContacts','moveContactsQueueCampaignHopperFinal','insert','into','cm_hopper','scheduledAt','ContactId','ListId','VoiceQueueId','createdAt','field','ANY_VALUE(calleridnum)','phone','NOW()','ANY_VALUE(ContactId)','ANY_VALUE(ListId)','ANY_VALUE(VoiceQueueId)','updatedAt','from','VoiceQueueId\x20=\x20?','toString','calleridnum\x20NOT\x20IN\x20(?)','select','calleridnum','cm_hopper_final','state\x20=\x204','group','moveContactsIvrCampaignHopperFinal','fromQuery','ANY_VALUE(CampaignId)','CampaignId','state','CampaignId\x20=\x20?','checkContactHopper','CmHopper','findOne','eml-format','zip-dir','fast-json-patch','request-promise','moment','bluebird','util','path','sox','to-csv','ejs','crypto','jsforce','desk.js','querystring','papaparse','../../components/auth/service','../../components/parsers/qs','../../config/logger','api','../../config/utils','../../mysqldb'];(function(_0x2029ba,_0x2243cc){var _0xd8b36b=function(_0x4f97e4){while(--_0x4f97e4){_0x2029ba['push'](_0x2029ba['shift']());}};_0xd8b36b(++_0x2243cc);}(_0xb2ad,0x16d));var _0xdb2a=function(_0xc1f3ba,_0x3d6ad9){_0xc1f3ba=_0xc1f3ba-0x0;var _0x33e061=_0xb2ad[_0xc1f3ba];return _0x33e061;};'use strict';var pdf=require('html-pdf');var emlformat=require(_0xdb2a('0x0'));var rimraf=require('rimraf');var zipdir=require(_0xdb2a('0x1'));var jsonpatch=require(_0xdb2a('0x2'));var rp=require(_0xdb2a('0x3'));var moment=require(_0xdb2a('0x4'));var BPromise=require(_0xdb2a('0x5'));var Mustache=require('mustache');var util=require(_0xdb2a('0x6'));var path=require(_0xdb2a('0x7'));var sox=require(_0xdb2a('0x8'));var csv=require(_0xdb2a('0x9'));var ejs=require(_0xdb2a('0xa'));var fs=require('fs');var _=require('lodash');var squel=require('squel');var crypto=require(_0xdb2a('0xb'));var jsforce=require(_0xdb2a('0xc'));var deskjs=require(_0xdb2a('0xd'));var toCsv=require('to-csv');var querystring=require(_0xdb2a('0xe'));var Papa=require(_0xdb2a('0xf'));var Redis=require('ioredis');var authService=require(_0xdb2a('0x10'));var qs=require(_0xdb2a('0x11'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require('../../config/license/hardware');var logger=require(_0xdb2a('0x12'))(_0xdb2a('0x13'));var utils=require(_0xdb2a('0x14'));var config=require('../../config/environment');var db=require(_0xdb2a('0x15'))['db'];function respondWithStatusCode(_0x30a731,_0x5c6688){_0x5c6688=_0x5c6688||0xcc;return function(_0x5f4a7b){if(_0x5f4a7b){return _0x30a731['sendStatus'](_0x5c6688);}return _0x30a731[_0xdb2a('0x16')](_0x5c6688)['end']();};}function respondWithResult(_0x95942e,_0x3c3ac3){_0x3c3ac3=_0x3c3ac3||0xc8;return function(_0x527af2){if(_0x527af2){return _0x95942e[_0xdb2a('0x16')](_0x3c3ac3)['json'](_0x527af2);}};}function respondWithFilteredResult(_0x542503,_0x5d8282){return function(_0x5dbbb1){if(_0x5dbbb1){var _0x8a580e=_0x5dbbb1[_0xdb2a('0x17')],_0x2df1fd=_0x5d8282[_0xdb2a('0x18')],_0x48712c=_0x5d8282[_0xdb2a('0x18')]+_0x5d8282[_0xdb2a('0x19')],_0x48e2e3;if(_0x48712c>=_0x8a580e){_0x48712c=_0x8a580e;_0x48e2e3=0xc8;}else{_0x48e2e3=0xce;}_0x542503['status'](_0x48e2e3);return _0x542503[_0xdb2a('0x1a')](_0xdb2a('0x1b'),_0x2df1fd+'-'+_0x48712c+'/'+_0x8a580e)[_0xdb2a('0x1c')](_0x5dbbb1);}return null;};}function patchUpdates(_0x584981){return function(_0x566175){try{jsonpatch[_0xdb2a('0x1d')](_0x566175,_0x584981,!![]);}catch(_0x21d3b2){return BPromise[_0xdb2a('0x1e')](_0x21d3b2);}return _0x566175[_0xdb2a('0x1f')]();};}function saveUpdates(_0x2b64e4,_0x5e6a59){return function(_0x5c3824){if(_0x5c3824){return _0x5c3824['update'](_0x2b64e4)[_0xdb2a('0x20')](function(_0x5248a8){return _0x5248a8;});}return null;};}function removeEntity(_0x4ca546,_0x1e6985){return function(_0x449fba){if(_0x449fba){return _0x449fba[_0xdb2a('0x21')]()['then'](function(){_0x4ca546[_0xdb2a('0x16')](0xcc)[_0xdb2a('0x22')]();});}};}function handleEntityNotFound(_0x16035f,_0x391378){return function(_0x1f3d54){if(!_0x1f3d54){_0x16035f[_0xdb2a('0x23')](0x194);}return _0x1f3d54;};}function handleError(_0x4b2205,_0x37af87){_0x37af87=_0x37af87||0x1f4;return function(_0x3939dd){logger['error'](_0x3939dd[_0xdb2a('0x24')]);if(_0x3939dd[_0xdb2a('0x25')]){delete _0x3939dd[_0xdb2a('0x25')];}_0x4b2205[_0xdb2a('0x16')](_0x37af87)['send'](_0x3939dd);};}exports[_0xdb2a('0x26')]=function(_0x1b666a,_0x3439c1){var _0x1cab2b={},_0x4ed637={},_0x4619f5={'count':0x0,'rows':[]};var _0x46a80a=_[_0xdb2a('0x27')](db[_0xdb2a('0x28')][_0xdb2a('0x29')],function(_0x565889){return{'name':_0x565889[_0xdb2a('0x2a')],'type':_0x565889[_0xdb2a('0x2b')][_0xdb2a('0x2c')]};});_0x4ed637[_0xdb2a('0x2d')]=_[_0xdb2a('0x27')](_0x46a80a,_0xdb2a('0x25'));_0x4ed637[_0xdb2a('0x2e')]=_[_0xdb2a('0x2f')](_0x1b666a[_0xdb2a('0x2e')]);_0x4ed637[_0xdb2a('0x30')]=_[_0xdb2a('0x31')](_0x4ed637[_0xdb2a('0x2d')],_0x4ed637[_0xdb2a('0x2e')]);_0x1cab2b[_0xdb2a('0x32')]=_[_0xdb2a('0x31')](_0x4ed637[_0xdb2a('0x2d')],qs[_0xdb2a('0x33')](_0x1b666a[_0xdb2a('0x2e')][_0xdb2a('0x33')]));_0x1cab2b[_0xdb2a('0x32')]=_0x1cab2b['attributes'][_0xdb2a('0x34')]?_0x1cab2b[_0xdb2a('0x32')]:_0x4ed637[_0xdb2a('0x2d')];if(!_0x1b666a['query'][_0xdb2a('0x35')](_0xdb2a('0x36'))){_0x1cab2b[_0xdb2a('0x19')]=qs[_0xdb2a('0x19')](_0x1b666a[_0xdb2a('0x2e')][_0xdb2a('0x19')]);_0x1cab2b[_0xdb2a('0x18')]=qs[_0xdb2a('0x18')](_0x1b666a[_0xdb2a('0x2e')][_0xdb2a('0x18')]);}_0x1cab2b[_0xdb2a('0x37')]=qs[_0xdb2a('0x38')](_0x1b666a[_0xdb2a('0x2e')][_0xdb2a('0x38')]);_0x1cab2b[_0xdb2a('0x39')]=qs['filters'](_[_0xdb2a('0x3a')](_0x1b666a['query'],_0x4ed637['filters']),_0x46a80a);if(_0x1b666a[_0xdb2a('0x2e')][_0xdb2a('0x3b')]){_0x1cab2b[_0xdb2a('0x39')]=_[_0xdb2a('0x3c')](_0x1cab2b[_0xdb2a('0x39')],{'$or':_['map'](_0x46a80a,function(_0x5dce28){if(_0x5dce28[_0xdb2a('0x2b')]!=='VIRTUAL'){var _0x5a80a1={};_0x5a80a1[_0x5dce28[_0xdb2a('0x25')]]={'$like':'%'+_0x1b666a[_0xdb2a('0x2e')][_0xdb2a('0x3b')]+'%'};return _0x5a80a1;}})});}_0x1cab2b=_['merge']({},_0x1cab2b,_0x1b666a[_0xdb2a('0x3d')]);var _0x91d489={'where':_0x1cab2b[_0xdb2a('0x39')]};return db['CmHopperFinal'][_0xdb2a('0x17')](_0x91d489)[_0xdb2a('0x20')](function(_0x4604af){_0x4619f5[_0xdb2a('0x17')]=_0x4604af;if(_0x1b666a[_0xdb2a('0x2e')][_0xdb2a('0x3e')]){_0x1cab2b[_0xdb2a('0x3f')]=[{'all':!![]}];}return db['CmHopperFinal'][_0xdb2a('0x40')](_0x1cab2b);})[_0xdb2a('0x20')](function(_0x68e481){_0x4619f5[_0xdb2a('0x41')]=_0x68e481;return _0x4619f5;})['then'](respondWithFilteredResult(_0x3439c1,_0x1cab2b))[_0xdb2a('0x42')](handleError(_0x3439c1,null));};exports[_0xdb2a('0x43')]=function(_0x56e67f,_0x44d762){var _0x39c387={'raw':!![],'where':{'id':_0x56e67f[_0xdb2a('0x44')]['id']}},_0x1cb36e={};_0x1cb36e['model']=_['keys'](db['CmHopperFinal'][_0xdb2a('0x29')]);_0x1cb36e[_0xdb2a('0x2e')]=_[_0xdb2a('0x2f')](_0x56e67f['query']);_0x1cb36e['filters']=_['intersection'](_0x1cb36e[_0xdb2a('0x2d')],_0x1cb36e['query']);_0x39c387[_0xdb2a('0x32')]=_[_0xdb2a('0x31')](_0x1cb36e[_0xdb2a('0x2d')],qs[_0xdb2a('0x33')](_0x56e67f['query'][_0xdb2a('0x33')]));_0x39c387[_0xdb2a('0x32')]=_0x39c387[_0xdb2a('0x32')]['length']?_0x39c387[_0xdb2a('0x32')]:_0x1cb36e[_0xdb2a('0x2d')];if(_0x56e67f[_0xdb2a('0x2e')][_0xdb2a('0x3e')]){_0x39c387['include']=[{'all':!![]}];}_0x39c387=_[_0xdb2a('0x3c')]({},_0x39c387,_0x56e67f['options']);return db[_0xdb2a('0x28')]['find'](_0x39c387)['then'](handleEntityNotFound(_0x44d762,null))[_0xdb2a('0x20')](respondWithResult(_0x44d762,null))[_0xdb2a('0x42')](handleError(_0x44d762,null));};exports[_0xdb2a('0x45')]=function(_0xf6fdea,_0x27da0a){return db[_0xdb2a('0x28')][_0xdb2a('0x45')]()['then'](respondWithResult(_0x27da0a,null))[_0xdb2a('0x42')](handleError(_0x27da0a,null));};exports[_0xdb2a('0x46')]=function(_0x1352a3,_0x300543){if(_0x1352a3['body'][_0xdb2a('0x47')]){delete _0x1352a3[_0xdb2a('0x48')]['uniqueid'];}return db[_0xdb2a('0x28')][_0xdb2a('0x49')]({'where':{'uniqueid':_0x1352a3[_0xdb2a('0x44')]['id']}})[_0xdb2a('0x20')](handleEntityNotFound(_0x300543,null))['then'](saveUpdates(_0x1352a3['body'],null))[_0xdb2a('0x20')](respondWithResult(_0x300543,null))['catch'](handleError(_0x300543,null));};exports[_0xdb2a('0x4a')]=function(_0x5bc6ff,_0x25a4f5,_0x351393){return db[_0xdb2a('0x28')]['findAll']({'raw':![],'where':{'VoiceQueueId':_0x5bc6ff[_0xdb2a('0x44')]['id']},'attributes':[[db[_0xdb2a('0x4b')]['fn'](_0xdb2a('0x4c'),db['sequelize']['fn']('IF',db[_0xdb2a('0x4b')]['literal'](_0xdb2a('0x4d')))),_0xdb2a('0x4e')],[db['sequelize']['fn'](_0xdb2a('0x4c'),db[_0xdb2a('0x4b')]['fn']('IF',db[_0xdb2a('0x4b')][_0xdb2a('0x4f')]('`state`\x20=\x203,\x201,\x20null'))),_0xdb2a('0x50')],[db[_0xdb2a('0x4b')]['fn'](_0xdb2a('0x4c'),db[_0xdb2a('0x4b')]['fn']('IF',db[_0xdb2a('0x4b')][_0xdb2a('0x4f')](_0xdb2a('0x51')))),_0xdb2a('0x52')],[db['sequelize']['fn']('COUNT',db[_0xdb2a('0x4b')]['fn']('IF',db[_0xdb2a('0x4b')][_0xdb2a('0x4f')](_0xdb2a('0x53')))),_0xdb2a('0x54')],[db[_0xdb2a('0x4b')]['fn'](_0xdb2a('0x4c'),db[_0xdb2a('0x4b')]['fn']('IF',db[_0xdb2a('0x4b')][_0xdb2a('0x4f')](_0xdb2a('0x55')))),_0xdb2a('0x56')],[db[_0xdb2a('0x4b')]['fn'](_0xdb2a('0x4c'),db['sequelize']['fn']('IF',db[_0xdb2a('0x4b')][_0xdb2a('0x4f')](_0xdb2a('0x57')))),_0xdb2a('0x58')],[db['sequelize']['fn'](_0xdb2a('0x4c'),db[_0xdb2a('0x4b')]['fn']('IF',db[_0xdb2a('0x4b')]['literal'](_0xdb2a('0x59')))),'reCallContacts'],[db['sequelize']['fn']('COUNT',db[_0xdb2a('0x4b')]['fn']('IF',db[_0xdb2a('0x4b')][_0xdb2a('0x4f')](_0xdb2a('0x5a')))),_0xdb2a('0x5b')]]})[_0xdb2a('0x20')](handleEntityNotFound(_0x25a4f5,null))['then'](respondWithResult(_0x25a4f5,null))['catch'](handleError(_0x25a4f5,null));};exports['countContactsIvrCampaignHopperFinal']=function(_0x46807a,_0x237483,_0x47f620){return db[_0xdb2a('0x28')]['findAll']({'raw':![],'where':{'CampaignId':_0x46807a['params']['id']},'attributes':[[db[_0xdb2a('0x4b')]['fn'](_0xdb2a('0x4c'),db[_0xdb2a('0x4b')]['fn']('IF',db[_0xdb2a('0x4b')][_0xdb2a('0x4f')]('`state`\x20=\x200,\x201,\x20null'))),'noSuchContacts'],[db[_0xdb2a('0x4b')]['fn'](_0xdb2a('0x4c'),db[_0xdb2a('0x4b')]['fn']('IF',db[_0xdb2a('0x4b')][_0xdb2a('0x4f')](_0xdb2a('0x5c')))),_0xdb2a('0x50')],[db[_0xdb2a('0x4b')]['fn'](_0xdb2a('0x4c'),db[_0xdb2a('0x4b')]['fn']('IF',db[_0xdb2a('0x4b')]['literal']('`state`\x20=\x205,\x201,\x20null'))),_0xdb2a('0x52')],[db[_0xdb2a('0x4b')]['fn'](_0xdb2a('0x4c'),db[_0xdb2a('0x4b')]['fn']('IF',db[_0xdb2a('0x4b')]['literal'](_0xdb2a('0x53')))),_0xdb2a('0x54')],[db[_0xdb2a('0x4b')]['fn'](_0xdb2a('0x4c'),db[_0xdb2a('0x4b')]['fn']('IF',db[_0xdb2a('0x4b')][_0xdb2a('0x4f')](_0xdb2a('0x55')))),_0xdb2a('0x56')],[db[_0xdb2a('0x4b')]['fn'](_0xdb2a('0x4c'),db[_0xdb2a('0x4b')]['fn']('IF',db[_0xdb2a('0x4b')][_0xdb2a('0x4f')](_0xdb2a('0x57')))),_0xdb2a('0x58')],[db[_0xdb2a('0x4b')]['fn'](_0xdb2a('0x4c'),db[_0xdb2a('0x4b')]['fn']('IF',db[_0xdb2a('0x4b')][_0xdb2a('0x4f')](_0xdb2a('0x59')))),_0xdb2a('0x5d')],[db[_0xdb2a('0x4b')]['fn'](_0xdb2a('0x4c'),db[_0xdb2a('0x4b')]['fn']('IF',db[_0xdb2a('0x4b')][_0xdb2a('0x4f')]('`state`\x20=\x2019,\x201,\x20null'))),_0xdb2a('0x5b')]]})[_0xdb2a('0x20')](handleEntityNotFound(_0x237483,null))[_0xdb2a('0x20')](respondWithResult(_0x237483,null))['catch'](handleError(_0x237483,null));};exports[_0xdb2a('0x5e')]=function(_0x2c4d04,_0x725183,_0x29734b){return db['VoiceQueue']['find']({'where':{'id':_0x2c4d04[_0xdb2a('0x44')]['id']}})[_0xdb2a('0x20')](handleEntityNotFound(_0x725183,null))[_0xdb2a('0x20')](function(_0x35c3ec){var _0x77f45;if(_0x35c3ec){_0x77f45=squel[_0xdb2a('0x5f')]()[_0xdb2a('0x60')](_0xdb2a('0x61'))['fromQuery'](['phone',_0xdb2a('0x62'),_0xdb2a('0x63'),_0xdb2a('0x64'),_0xdb2a('0x65'),_0xdb2a('0x66'),'updatedAt'],squel['select']()[_0xdb2a('0x67')](_0xdb2a('0x68'),_0xdb2a('0x69'))[_0xdb2a('0x67')](_0xdb2a('0x6a'),_0xdb2a('0x62'))[_0xdb2a('0x67')](_0xdb2a('0x6b'),_0xdb2a('0x63'))[_0xdb2a('0x67')](_0xdb2a('0x6c'),_0xdb2a('0x64'))[_0xdb2a('0x67')](_0xdb2a('0x6d'),_0xdb2a('0x65'))[_0xdb2a('0x67')](_0xdb2a('0x6a'),_0xdb2a('0x66'))[_0xdb2a('0x67')]('NOW()',_0xdb2a('0x6e'))[_0xdb2a('0x6f')]('cm_hopper_final')[_0xdb2a('0x39')](_0xdb2a('0x70'),_0x2c4d04[_0xdb2a('0x44')]['id'][_0xdb2a('0x71')]())[_0xdb2a('0x39')]('state\x20=\x20?',_0x2c4d04[_0xdb2a('0x48')]['state'][_0xdb2a('0x71')]())['where']('calleridnum\x20IS\x20NOT\x20NULL')[_0xdb2a('0x39')](_0xdb2a('0x72'),squel[_0xdb2a('0x73')]()['field']('phone')[_0xdb2a('0x6f')](_0xdb2a('0x61'))['where'](_0xdb2a('0x70'),_0x2c4d04['params']['id'][_0xdb2a('0x71')]()))[_0xdb2a('0x39')](_0xdb2a('0x72'),squel[_0xdb2a('0x73')]()[_0xdb2a('0x67')](_0xdb2a('0x74'))[_0xdb2a('0x6f')](_0xdb2a('0x75'))['where']('VoiceQueueId\x20=\x20?',_0x2c4d04[_0xdb2a('0x44')]['id'][_0xdb2a('0x71')]())[_0xdb2a('0x39')](_0xdb2a('0x76')))[_0xdb2a('0x77')](_0xdb2a('0x63')))[_0xdb2a('0x71')]();return db[_0xdb2a('0x4b')][_0xdb2a('0x2e')](_0x77f45);}return[];})[_0xdb2a('0x20')](respondWithResult(_0x725183,null))['catch'](handleError(_0x725183,null));};exports[_0xdb2a('0x78')]=function(_0x2d9108,_0x3ef23e,_0x4e45a6){return db['Campaign'][_0xdb2a('0x49')]({'where':{'id':_0x2d9108[_0xdb2a('0x44')]['id']}})[_0xdb2a('0x20')](handleEntityNotFound(_0x3ef23e,null))[_0xdb2a('0x20')](function(_0x2184b6){var _0x59ff40;if(_0x2184b6){_0x59ff40=squel[_0xdb2a('0x5f')]()[_0xdb2a('0x60')](_0xdb2a('0x61'))[_0xdb2a('0x79')]([_0xdb2a('0x69'),_0xdb2a('0x62'),'ContactId',_0xdb2a('0x64'),'CampaignId',_0xdb2a('0x66'),_0xdb2a('0x6e')],squel[_0xdb2a('0x73')]()['field']('ANY_VALUE(calleridnum)','phone')['field'](_0xdb2a('0x6a'),_0xdb2a('0x62'))[_0xdb2a('0x67')](_0xdb2a('0x6b'),_0xdb2a('0x63'))['field'](_0xdb2a('0x6c'),_0xdb2a('0x64'))[_0xdb2a('0x67')](_0xdb2a('0x7a'),_0xdb2a('0x7b'))[_0xdb2a('0x67')](_0xdb2a('0x6a'),_0xdb2a('0x66'))[_0xdb2a('0x67')]('NOW()',_0xdb2a('0x6e'))[_0xdb2a('0x6f')](_0xdb2a('0x75'))[_0xdb2a('0x39')]('CampaignId\x20=\x20?',_0x2d9108[_0xdb2a('0x44')]['id'][_0xdb2a('0x71')]())[_0xdb2a('0x39')]('state\x20=\x20?',_0x2d9108['body'][_0xdb2a('0x7c')][_0xdb2a('0x71')]())[_0xdb2a('0x39')]('calleridnum\x20IS\x20NOT\x20NULL')['where'](_0xdb2a('0x72'),squel['select']()[_0xdb2a('0x67')](_0xdb2a('0x69'))[_0xdb2a('0x6f')]('cm_hopper')[_0xdb2a('0x39')](_0xdb2a('0x7d'),_0x2d9108['params']['id']['toString']()))[_0xdb2a('0x39')](_0xdb2a('0x72'),squel[_0xdb2a('0x73')]()[_0xdb2a('0x67')](_0xdb2a('0x74'))[_0xdb2a('0x6f')](_0xdb2a('0x75'))[_0xdb2a('0x39')](_0xdb2a('0x7d'),_0x2d9108[_0xdb2a('0x44')]['id'][_0xdb2a('0x71')]())[_0xdb2a('0x39')](_0xdb2a('0x76')))[_0xdb2a('0x77')]('ContactId'))[_0xdb2a('0x71')]();return db[_0xdb2a('0x4b')][_0xdb2a('0x2e')](_0x59ff40);}return[];})[_0xdb2a('0x20')](respondWithResult(_0x3ef23e,null))[_0xdb2a('0x42')](handleError(_0x3ef23e,null));};exports[_0xdb2a('0x7e')]=function(_0x26ac93,_0x701ff3,_0x4531ad){return db[_0xdb2a('0x7f')][_0xdb2a('0x80')]({'where':{'VoiceQueueId':_0x26ac93['body']['VoiceQueueId'],'CampaignId':_0x26ac93['body']['CampaignId'],'ContactId':_0x26ac93['body'][_0xdb2a('0x63')]}})[_0xdb2a('0x20')](handleEntityNotFound(_0x701ff3,null))[_0xdb2a('0x20')](function(_0x1f5744){if(_0x1f5744){return _0x1f5744;}return null;})[_0xdb2a('0x20')](respondWithResult(_0x701ff3,null))['catch'](handleError(_0x701ff3,null));}; \ No newline at end of file diff --git a/server/api/cmHopperFinal/cmHopperFinal.model.js b/server/api/cmHopperFinal/cmHopperFinal.model.js index 1fb5b7c..e1bd108 100644 --- a/server/api/cmHopperFinal/cmHopperFinal.model.js +++ b/server/api/cmHopperFinal/cmHopperFinal.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x2206=['define','CmHopperFinal','cm_hopper_final','calleridnum','uniqueid','lodash','util','moment','bluebird','request-promise','path','rimraf','../../config/environment','./cmHopperFinal.attributes','exports'];(function(_0x3a07c1,_0x34d57f){var _0x2bbe15=function(_0x5a02fb){while(--_0x5a02fb){_0x3a07c1['push'](_0x3a07c1['shift']());}};_0x2bbe15(++_0x34d57f);}(_0x2206,0xe6));var _0x6220=function(_0x5ed74b,_0x391434){_0x5ed74b=_0x5ed74b-0x0;var _0x3b3515=_0x2206[_0x5ed74b];return _0x3b3515;};'use strict';var _=require(_0x6220('0x0'));var util=require(_0x6220('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0x6220('0x2'));var BPromise=require(_0x6220('0x3'));var rp=require(_0x6220('0x4'));var fs=require('fs');var path=require(_0x6220('0x5'));var rimraf=require(_0x6220('0x6'));var config=require(_0x6220('0x7'));var attributes=require(_0x6220('0x8'));module[_0x6220('0x9')]=function(_0x1d1ee1,_0x53d353){return _0x1d1ee1[_0x6220('0xa')](_0x6220('0xb'),attributes,{'tableName':_0x6220('0xc'),'paranoid':![],'indexes':[{'name':_0x6220('0xd'),'fields':[_0x6220('0xd')]},{'name':_0x6220('0xe'),'fields':[_0x6220('0xe')]}],'timestamps':!![]});}; \ No newline at end of file +var _0x3e74=['path','rimraf','../../config/environment','exports','define','CmHopperFinal','cm_hopper_final','calleridnum','lodash','util','../../config/logger','moment','request-promise'];(function(_0x38a7ac,_0x45514b){var _0x53061a=function(_0x1d2469){while(--_0x1d2469){_0x38a7ac['push'](_0x38a7ac['shift']());}};_0x53061a(++_0x45514b);}(_0x3e74,0x1cf));var _0x43e7=function(_0x427a0a,_0x3b2afa){_0x427a0a=_0x427a0a-0x0;var _0x1b2a03=_0x3e74[_0x427a0a];return _0x1b2a03;};'use strict';var _=require(_0x43e7('0x0'));var util=require(_0x43e7('0x1'));var logger=require(_0x43e7('0x2'))('api');var moment=require(_0x43e7('0x3'));var BPromise=require('bluebird');var rp=require(_0x43e7('0x4'));var fs=require('fs');var path=require(_0x43e7('0x5'));var rimraf=require(_0x43e7('0x6'));var config=require(_0x43e7('0x7'));var attributes=require('./cmHopperFinal.attributes');module[_0x43e7('0x8')]=function(_0x49bef0,_0x592447){return _0x49bef0[_0x43e7('0x9')](_0x43e7('0xa'),attributes,{'tableName':_0x43e7('0xb'),'paranoid':![],'indexes':[{'name':_0x43e7('0xc'),'fields':[_0x43e7('0xc')]},{'name':'uniqueid','fields':['uniqueid']}],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/cmHopperFinal/cmHopperFinal.rpc.js b/server/api/cmHopperFinal/cmHopperFinal.rpc.js index 986d3f8..e281d7e 100644 --- a/server/api/cmHopperFinal/cmHopperFinal.rpc.js +++ b/server/api/cmHopperFinal/cmHopperFinal.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x3709=['util','moment','bluebird','../../mysqldb','../../config/utils','rpc','../../config/environment','jayson/promise','client','http','request','then','CmHopperFinal,\x20%s,\x20%s','CmHopperFinal,\x20%s,\x20%s,\x20%s','request\x20sent','stringify','error','code','message','info','catch','CreateCmHopperFinal','CmHopperFinal','create','body','options','debug'];(function(_0x142020,_0x1f7233){var _0x40da8f=function(_0x17f0a3){while(--_0x17f0a3){_0x142020['push'](_0x142020['shift']());}};_0x40da8f(++_0x1f7233);}(_0x3709,0xf3));var _0x9370=function(_0x2763f2,_0x416af8){_0x2763f2=_0x2763f2-0x0;var _0x3ef471=_0x3709[_0x2763f2];return _0x3ef471;};'use strict';var _=require('lodash');var util=require(_0x9370('0x0'));var moment=require(_0x9370('0x1'));var BPromise=require(_0x9370('0x2'));var rs=require('randomstring');var fs=require('fs');var Redis=require('ioredis');var db=require(_0x9370('0x3'))['db'];var utils=require(_0x9370('0x4'));var logger=require('../../config/logger')(_0x9370('0x5'));var config=require(_0x9370('0x6'));var jayson=require(_0x9370('0x7'));var client=jayson[_0x9370('0x8')][_0x9370('0x9')]({'port':0x232a});function respondWithRpcPromise(_0x4826f3,_0xcca186,_0x2874f7){return new BPromise(function(_0x377a33,_0x1cf577){return client[_0x9370('0xa')](_0x4826f3,_0x2874f7)[_0x9370('0xb')](function(_0x34e80c){logger['info'](_0x9370('0xc'),_0xcca186,'request\x20sent');logger['debug'](_0x9370('0xd'),_0xcca186,_0x9370('0xe'),JSON[_0x9370('0xf')](_0x34e80c));if(_0x34e80c['error']){if(_0x34e80c[_0x9370('0x10')][_0x9370('0x11')]===0x1f4){logger[_0x9370('0x10')](_0x9370('0xc'),_0xcca186,_0x34e80c[_0x9370('0x10')]['message']);return _0x1cf577(_0x34e80c[_0x9370('0x10')][_0x9370('0x12')]);}logger[_0x9370('0x10')]('CmHopperFinal,\x20%s,\x20%s',_0xcca186,_0x34e80c[_0x9370('0x10')][_0x9370('0x12')]);return _0x377a33(_0x34e80c[_0x9370('0x10')][_0x9370('0x12')]);}else{logger[_0x9370('0x13')]('CmHopperFinal,\x20%s,\x20%s',_0xcca186,_0x9370('0xe'));_0x377a33(_0x34e80c['result']['message']);}})[_0x9370('0x14')](function(_0x53cd33){logger[_0x9370('0x10')](_0x9370('0xc'),_0xcca186,_0x53cd33);_0x1cf577(_0x53cd33);});});}exports[_0x9370('0x15')]=function(_0x59e045){var _0x5a63ff=this;return new Promise(function(_0x38cbdb,_0x5d1b59){return db[_0x9370('0x16')][_0x9370('0x17')](_0x59e045[_0x9370('0x18')],{'raw':_0x59e045[_0x9370('0x19')]?_0x59e045[_0x9370('0x19')]['raw']===undefined?!![]:![]:!![]})[_0x9370('0xb')](function(_0x1a6d5c){logger[_0x9370('0x13')]('CreateCmHopperFinal',_0x59e045);logger[_0x9370('0x1a')](_0x9370('0x15'),_0x59e045,JSON[_0x9370('0xf')](_0x1a6d5c));_0x38cbdb(_0x1a6d5c);})[_0x9370('0x14')](function(_0x5234f2){logger[_0x9370('0x10')](_0x9370('0x15'),_0x5234f2['message'],_0x59e045);_0x5d1b59(_0x5a63ff[_0x9370('0x10')](0x1f4,_0x5234f2[_0x9370('0x12')]));});});}; \ No newline at end of file +var _0x495b=['message','result','CreateCmHopperFinal','create','options','raw','catch','lodash','randomstring','ioredis','../../mysqldb','../../config/utils','rpc','../../config/environment','jayson/promise','client','http','request','then','info','CmHopperFinal,\x20%s,\x20%s','request\x20sent','debug','CmHopperFinal,\x20%s,\x20%s,\x20%s','stringify','error','code'];(function(_0xc2ee38,_0x5d3c6e){var _0x3833ff=function(_0x25612c){while(--_0x25612c){_0xc2ee38['push'](_0xc2ee38['shift']());}};_0x3833ff(++_0x5d3c6e);}(_0x495b,0xa9));var _0xb495=function(_0x45f71e,_0x3a4201){_0x45f71e=_0x45f71e-0x0;var _0x36a252=_0x495b[_0x45f71e];return _0x36a252;};'use strict';var _=require(_0xb495('0x0'));var util=require('util');var moment=require('moment');var BPromise=require('bluebird');var rs=require(_0xb495('0x1'));var fs=require('fs');var Redis=require(_0xb495('0x2'));var db=require(_0xb495('0x3'))['db'];var utils=require(_0xb495('0x4'));var logger=require('../../config/logger')(_0xb495('0x5'));var config=require(_0xb495('0x6'));var jayson=require(_0xb495('0x7'));var client=jayson[_0xb495('0x8')][_0xb495('0x9')]({'port':0x232a});function respondWithRpcPromise(_0x657560,_0x19b144,_0xed1024){return new BPromise(function(_0x35616c,_0x5e809b){return client[_0xb495('0xa')](_0x657560,_0xed1024)[_0xb495('0xb')](function(_0x31602b){logger[_0xb495('0xc')](_0xb495('0xd'),_0x19b144,_0xb495('0xe'));logger[_0xb495('0xf')](_0xb495('0x10'),_0x19b144,_0xb495('0xe'),JSON[_0xb495('0x11')](_0x31602b));if(_0x31602b[_0xb495('0x12')]){if(_0x31602b['error'][_0xb495('0x13')]===0x1f4){logger[_0xb495('0x12')](_0xb495('0xd'),_0x19b144,_0x31602b['error'][_0xb495('0x14')]);return _0x5e809b(_0x31602b[_0xb495('0x12')]['message']);}logger[_0xb495('0x12')](_0xb495('0xd'),_0x19b144,_0x31602b['error'][_0xb495('0x14')]);return _0x35616c(_0x31602b[_0xb495('0x12')]['message']);}else{logger[_0xb495('0xc')](_0xb495('0xd'),_0x19b144,_0xb495('0xe'));_0x35616c(_0x31602b[_0xb495('0x15')][_0xb495('0x14')]);}})['catch'](function(_0x9a8ef0){logger[_0xb495('0x12')]('CmHopperFinal,\x20%s,\x20%s',_0x19b144,_0x9a8ef0);_0x5e809b(_0x9a8ef0);});});}exports[_0xb495('0x16')]=function(_0x5f5a7d){var _0xa75c8d=this;return new Promise(function(_0x4d2793,_0x5b7014){return db['CmHopperFinal'][_0xb495('0x17')](_0x5f5a7d['body'],{'raw':_0x5f5a7d[_0xb495('0x18')]?_0x5f5a7d[_0xb495('0x18')][_0xb495('0x19')]===undefined?!![]:![]:!![]})[_0xb495('0xb')](function(_0x286ee4){logger['info'](_0xb495('0x16'),_0x5f5a7d);logger[_0xb495('0xf')](_0xb495('0x16'),_0x5f5a7d,JSON['stringify'](_0x286ee4));_0x4d2793(_0x286ee4);})[_0xb495('0x1a')](function(_0x2a9a4b){logger[_0xb495('0x12')](_0xb495('0x16'),_0x2a9a4b[_0xb495('0x14')],_0x5f5a7d);_0x5b7014(_0xa75c8d[_0xb495('0x12')](0x1f4,_0x2a9a4b[_0xb495('0x14')]));});});}; \ No newline at end of file diff --git a/server/api/cmHopperFinal/index.js b/server/api/cmHopperFinal/index.js index b460d04..370d073 100644 --- a/server/api/cmHopperFinal/index.js +++ b/server/api/cmHopperFinal/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xad6c=['moveContactsQueueCampaignHopperFinal','post','/voice/campaign/moveContacts/:id','moveContactsIvrCampaignHopperFinal','put','update','exports','multer','util','path','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./cmHopperFinal.controller','get','isAuthenticated','/describe','describe','/:id','show','/voice/queue/countAttributes/:id','countContactsQueueCampaignHopperFinal','countContactsIvrCampaignHopperFinal','/voice/queue/moveContacts/:id'];(function(_0x22ad0c,_0x56e8a1){var _0x3787a9=function(_0x1d87a9){while(--_0x1d87a9){_0x22ad0c['push'](_0x22ad0c['shift']());}};_0x3787a9(++_0x56e8a1);}(_0xad6c,0x101));var _0xcad6=function(_0xfbf809,_0x3270e1){_0xfbf809=_0xfbf809-0x0;var _0x120248=_0xad6c[_0xfbf809];return _0x120248;};'use strict';var multer=require(_0xcad6('0x0'));var util=require(_0xcad6('0x1'));var path=require(_0xcad6('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0xcad6('0x3')]();var auth=require(_0xcad6('0x4'));var interaction=require(_0xcad6('0x5'));var config=require(_0xcad6('0x6'));var controller=require(_0xcad6('0x7'));router[_0xcad6('0x8')]('/',auth[_0xcad6('0x9')](),controller['index']);router[_0xcad6('0x8')](_0xcad6('0xa'),auth[_0xcad6('0x9')](),controller[_0xcad6('0xb')]);router['get'](_0xcad6('0xc'),auth[_0xcad6('0x9')](),controller[_0xcad6('0xd')]);router[_0xcad6('0x8')](_0xcad6('0xe'),auth[_0xcad6('0x9')](),controller[_0xcad6('0xf')]);router[_0xcad6('0x8')]('/campaign/countAttributes/:id',auth[_0xcad6('0x9')](),controller[_0xcad6('0x10')]);router['post'](_0xcad6('0x11'),auth['isAuthenticated'](),controller[_0xcad6('0x12')]);router[_0xcad6('0x13')](_0xcad6('0x14'),auth[_0xcad6('0x9')](),controller[_0xcad6('0x15')]);router[_0xcad6('0x13')]('/checkContactHopper',auth[_0xcad6('0x9')](),controller['checkContactHopper']);router[_0xcad6('0x16')](_0xcad6('0xc'),auth[_0xcad6('0x9')](),controller[_0xcad6('0x17')]);module[_0xcad6('0x18')]=router; \ No newline at end of file +var _0x10c3=['update','exports','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./cmHopperFinal.controller','get','isAuthenticated','/describe','describe','/:id','show','/campaign/countAttributes/:id','countContactsIvrCampaignHopperFinal','moveContactsQueueCampaignHopperFinal','/voice/campaign/moveContacts/:id','moveContactsIvrCampaignHopperFinal','post','/checkContactHopper','checkContactHopper'];(function(_0xc270ab,_0x5e180a){var _0x40c146=function(_0x54117f){while(--_0x54117f){_0xc270ab['push'](_0xc270ab['shift']());}};_0x40c146(++_0x5e180a);}(_0x10c3,0x136));var _0x310c=function(_0x49757d,_0x3b420c){_0x49757d=_0x49757d-0x0;var _0x573daf=_0x10c3[_0x49757d];return _0x573daf;};'use strict';var multer=require('multer');var util=require('util');var path=require('path');var timeout=require(_0x310c('0x0'));var express=require(_0x310c('0x1'));var router=express['Router']();var auth=require(_0x310c('0x2'));var interaction=require(_0x310c('0x3'));var config=require(_0x310c('0x4'));var controller=require(_0x310c('0x5'));router[_0x310c('0x6')]('/',auth[_0x310c('0x7')](),controller['index']);router[_0x310c('0x6')](_0x310c('0x8'),auth[_0x310c('0x7')](),controller[_0x310c('0x9')]);router[_0x310c('0x6')](_0x310c('0xa'),auth[_0x310c('0x7')](),controller[_0x310c('0xb')]);router['get']('/voice/queue/countAttributes/:id',auth[_0x310c('0x7')](),controller['countContactsQueueCampaignHopperFinal']);router[_0x310c('0x6')](_0x310c('0xc'),auth[_0x310c('0x7')](),controller[_0x310c('0xd')]);router['post']('/voice/queue/moveContacts/:id',auth[_0x310c('0x7')](),controller[_0x310c('0xe')]);router['post'](_0x310c('0xf'),auth[_0x310c('0x7')](),controller[_0x310c('0x10')]);router[_0x310c('0x11')](_0x310c('0x12'),auth['isAuthenticated'](),controller[_0x310c('0x13')]);router['put'](_0x310c('0xa'),auth[_0x310c('0x7')](),controller[_0x310c('0x14')]);module[_0x310c('0x15')]=router; \ No newline at end of file diff --git a/server/api/cmHopperHistory/cmHopperHistory.attributes.js b/server/api/cmHopperHistory/cmHopperHistory.attributes.js index 69fd20d..f7f3dba 100644 --- a/server/api/cmHopperHistory/cmHopperHistory.attributes.js +++ b/server/api/cmHopperHistory/cmHopperHistory.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xe45a=['BOOLEAN','sequelize','exports','INTEGER','DATE','STRING'];(function(_0x19950b,_0x53d0d7){var _0x3c6b41=function(_0x3924ad){while(--_0x3924ad){_0x19950b['push'](_0x19950b['shift']());}};_0x3c6b41(++_0x53d0d7);}(_0xe45a,0x12d));var _0xae45=function(_0x4f70b9,_0x55ef57){_0x4f70b9=_0x4f70b9-0x0;var _0x3591f2=_0xe45a[_0x4f70b9];return _0x3591f2;};'use strict';var Sequelize=require(_0xae45('0x0'));module[_0xae45('0x1')]={'state':{'type':Sequelize[_0xae45('0x2')](0x2)},'statedesc':{'type':Sequelize['STRING']},'scheduledat':{'type':Sequelize[_0xae45('0x3')]},'countbusyretry':{'type':Sequelize[_0xae45('0x2')],'defaultValue':0x0},'countcongestionretry':{'type':Sequelize[_0xae45('0x2')],'defaultValue':0x0},'countnoanswerretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countglobal':{'type':Sequelize[_0xae45('0x2')],'defaultValue':0x0},'uniqueid':{'type':Sequelize[_0xae45('0x4')]},'originatecalleridnum':{'type':Sequelize[_0xae45('0x4')]},'originatecalleridname':{'type':Sequelize[_0xae45('0x4')]},'calleridnum':{'type':Sequelize[_0xae45('0x4')]},'calleridname':{'type':Sequelize[_0xae45('0x4')]},'starttime':{'type':Sequelize[_0xae45('0x3')]},'responsetime':{'type':Sequelize[_0xae45('0x3')]},'answertime':{'type':Sequelize[_0xae45('0x3')]},'droptime':{'type':Sequelize[_0xae45('0x3')]},'endtime':{'type':Sequelize[_0xae45('0x3')]},'ringtime':{'type':Sequelize[_0xae45('0x2')],'defaultValue':0x0},'holdtime':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'talktime':{'type':Sequelize[_0xae45('0x2')],'defaultValue':0x0},'followuptime':{'type':Sequelize[_0xae45('0x2')],'defaultValue':0x0},'dropreason':{'type':Sequelize[_0xae45('0x4')]},'campaign':{'type':Sequelize[_0xae45('0x4')]},'campaigntype':{'type':Sequelize[_0xae45('0x4')]},'membername':{'type':Sequelize['STRING']},'reason':{'type':Sequelize[_0xae45('0x4')]},'amd':{'type':Sequelize[_0xae45('0x5')],'defaultValue':![]},'fax':{'type':Sequelize[_0xae45('0x5')],'defaultValue':![]},'callback':{'type':Sequelize[_0xae45('0x5')],'defaultValue':![]},'callbackuniqueid':{'type':Sequelize[_0xae45('0x4')],'defaultValue':null},'callbackat':{'type':Sequelize[_0xae45('0x3')]},'recallme':{'type':Sequelize[_0xae45('0x5')],'defaultValue':![]},'editedat':{'type':Sequelize[_0xae45('0x3')]},'edited':{'type':Sequelize[_0xae45('0x5')],'defaultValue':![]},'countnosuchnumberretry':{'type':Sequelize[_0xae45('0x2')],'defaultValue':0x0},'countdropretry':{'type':Sequelize[_0xae45('0x2')],'defaultValue':0x0},'countabandonedretry':{'type':Sequelize[_0xae45('0x2')],'defaultValue':0x0},'countmachineretry':{'type':Sequelize[_0xae45('0x2')],'defaultValue':0x0},'countagentrejectretry':{'type':Sequelize[_0xae45('0x2')],'defaultValue':0x0}}; \ No newline at end of file +var _0xe0cb=['DATE','BOOLEAN','sequelize','exports','INTEGER','STRING'];(function(_0x5eb22e,_0x27cbac){var _0x27fed5=function(_0x565467){while(--_0x565467){_0x5eb22e['push'](_0x5eb22e['shift']());}};_0x27fed5(++_0x27cbac);}(_0xe0cb,0xec));var _0xbe0c=function(_0x164af1,_0x3cf772){_0x164af1=_0x164af1-0x0;var _0x5d81a2=_0xe0cb[_0x164af1];return _0x5d81a2;};'use strict';var Sequelize=require(_0xbe0c('0x0'));module[_0xbe0c('0x1')]={'state':{'type':Sequelize[_0xbe0c('0x2')](0x2)},'statedesc':{'type':Sequelize['STRING']},'scheduledat':{'type':Sequelize['DATE']},'countbusyretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countcongestionretry':{'type':Sequelize[_0xbe0c('0x2')],'defaultValue':0x0},'countnoanswerretry':{'type':Sequelize[_0xbe0c('0x2')],'defaultValue':0x0},'countglobal':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'uniqueid':{'type':Sequelize['STRING']},'originatecalleridnum':{'type':Sequelize[_0xbe0c('0x3')]},'originatecalleridname':{'type':Sequelize[_0xbe0c('0x3')]},'calleridnum':{'type':Sequelize['STRING']},'calleridname':{'type':Sequelize[_0xbe0c('0x3')]},'starttime':{'type':Sequelize[_0xbe0c('0x4')]},'responsetime':{'type':Sequelize['DATE']},'answertime':{'type':Sequelize[_0xbe0c('0x4')]},'droptime':{'type':Sequelize[_0xbe0c('0x4')]},'endtime':{'type':Sequelize[_0xbe0c('0x4')]},'ringtime':{'type':Sequelize[_0xbe0c('0x2')],'defaultValue':0x0},'holdtime':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'talktime':{'type':Sequelize[_0xbe0c('0x2')],'defaultValue':0x0},'followuptime':{'type':Sequelize[_0xbe0c('0x2')],'defaultValue':0x0},'dropreason':{'type':Sequelize[_0xbe0c('0x3')]},'campaign':{'type':Sequelize['STRING']},'campaigntype':{'type':Sequelize['STRING']},'membername':{'type':Sequelize[_0xbe0c('0x3')]},'reason':{'type':Sequelize[_0xbe0c('0x3')]},'amd':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'fax':{'type':Sequelize[_0xbe0c('0x5')],'defaultValue':![]},'callback':{'type':Sequelize[_0xbe0c('0x5')],'defaultValue':![]},'callbackuniqueid':{'type':Sequelize['STRING'],'defaultValue':null},'callbackat':{'type':Sequelize['DATE']},'recallme':{'type':Sequelize[_0xbe0c('0x5')],'defaultValue':![]},'editedat':{'type':Sequelize[_0xbe0c('0x4')]},'edited':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'countnosuchnumberretry':{'type':Sequelize[_0xbe0c('0x2')],'defaultValue':0x0},'countdropretry':{'type':Sequelize[_0xbe0c('0x2')],'defaultValue':0x0},'countabandonedretry':{'type':Sequelize[_0xbe0c('0x2')],'defaultValue':0x0},'countmachineretry':{'type':Sequelize[_0xbe0c('0x2')],'defaultValue':0x0},'countagentrejectretry':{'type':Sequelize[_0xbe0c('0x2')],'defaultValue':0x0}}; \ No newline at end of file diff --git a/server/api/cmHopperHistory/cmHopperHistory.controller.js b/server/api/cmHopperHistory/cmHopperHistory.controller.js index e9c9642..beaae3e 100644 --- a/server/api/cmHopperHistory/cmHopperHistory.controller.js +++ b/server/api/cmHopperHistory/cmHopperHistory.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xd7fe=['merge','CmHopperHistory','includeAll','include','findAll','rows','catch','show','params','keys','intersection','options','find','create','describe','body','uniqueid','html-pdf','zip-dir','request-promise','moment','bluebird','mustache','path','sox','to-csv','lodash','squel','jsforce','desk.js','querystring','papaparse','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','api','../../config/utils','../../config/environment','../../mysqldb','sendStatus','end','status','json','count','offset','limit','set','Content-Range','apply','reject','save','update','then','destroy','error','stack','name','index','map','rawAttributes','fieldName','type','key','query','filters','model','attributes','fields','length','hasOwnProperty','order','sort','where','VIRTUAL'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0xd7fe,0x139));var _0xed7f=function(_0x57fc32,_0x1cf103){_0x57fc32=_0x57fc32-0x0;var _0x36f9c4=_0xd7fe[_0x57fc32];return _0x36f9c4;};'use strict';var pdf=require(_0xed7f('0x0'));var emlformat=require('eml-format');var rimraf=require('rimraf');var zipdir=require(_0xed7f('0x1'));var jsonpatch=require('fast-json-patch');var rp=require(_0xed7f('0x2'));var moment=require(_0xed7f('0x3'));var BPromise=require(_0xed7f('0x4'));var Mustache=require(_0xed7f('0x5'));var util=require('util');var path=require(_0xed7f('0x6'));var sox=require(_0xed7f('0x7'));var csv=require(_0xed7f('0x8'));var ejs=require('ejs');var fs=require('fs');var _=require(_0xed7f('0x9'));var squel=require(_0xed7f('0xa'));var crypto=require('crypto');var jsforce=require(_0xed7f('0xb'));var deskjs=require(_0xed7f('0xc'));var toCsv=require(_0xed7f('0x8'));var querystring=require(_0xed7f('0xd'));var Papa=require(_0xed7f('0xe'));var Redis=require('ioredis');var authService=require(_0xed7f('0xf'));var qs=require(_0xed7f('0x10'));var as=require(_0xed7f('0x11'));var hardwareService=require('../../config/license/hardware');var logger=require('../../config/logger')(_0xed7f('0x12'));var utils=require(_0xed7f('0x13'));var config=require(_0xed7f('0x14'));var db=require(_0xed7f('0x15'))['db'];function respondWithStatusCode(_0x6406f5,_0x155439){_0x155439=_0x155439||0xcc;return function(_0x1c7edb){if(_0x1c7edb){return _0x6406f5[_0xed7f('0x16')](_0x155439);}return _0x6406f5['status'](_0x155439)[_0xed7f('0x17')]();};}function respondWithResult(_0x1eed3a,_0xcbd4c2){_0xcbd4c2=_0xcbd4c2||0xc8;return function(_0x3afc45){if(_0x3afc45){return _0x1eed3a[_0xed7f('0x18')](_0xcbd4c2)[_0xed7f('0x19')](_0x3afc45);}};}function respondWithFilteredResult(_0x9f2c0f,_0x406cbd){return function(_0x15ab8b){if(_0x15ab8b){var _0x4a26ec=_0x15ab8b[_0xed7f('0x1a')],_0x4052e4=_0x406cbd[_0xed7f('0x1b')],_0x52c9fb=_0x406cbd[_0xed7f('0x1b')]+_0x406cbd[_0xed7f('0x1c')],_0x5204c2;if(_0x52c9fb>=_0x4a26ec){_0x52c9fb=_0x4a26ec;_0x5204c2=0xc8;}else{_0x5204c2=0xce;}_0x9f2c0f[_0xed7f('0x18')](_0x5204c2);return _0x9f2c0f[_0xed7f('0x1d')](_0xed7f('0x1e'),_0x4052e4+'-'+_0x52c9fb+'/'+_0x4a26ec)['json'](_0x15ab8b);}return null;};}function patchUpdates(_0x2b7e06){return function(_0x2ceb52){try{jsonpatch[_0xed7f('0x1f')](_0x2ceb52,_0x2b7e06,!![]);}catch(_0xe54361){return BPromise[_0xed7f('0x20')](_0xe54361);}return _0x2ceb52[_0xed7f('0x21')]();};}function saveUpdates(_0x7f841b,_0x3173b0){return function(_0x3f1fba){if(_0x3f1fba){return _0x3f1fba[_0xed7f('0x22')](_0x7f841b)[_0xed7f('0x23')](function(_0x1bdd76){return _0x1bdd76;});}return null;};}function removeEntity(_0x496f32,_0x2ac11b){return function(_0x364997){if(_0x364997){return _0x364997[_0xed7f('0x24')]()[_0xed7f('0x23')](function(){_0x496f32[_0xed7f('0x18')](0xcc)['end']();});}};}function handleEntityNotFound(_0xd89099,_0x23ee6e){return function(_0x10422b){if(!_0x10422b){_0xd89099[_0xed7f('0x16')](0x194);}return _0x10422b;};}function handleError(_0x2577ec,_0x3c884a){_0x3c884a=_0x3c884a||0x1f4;return function(_0x4ec467){logger[_0xed7f('0x25')](_0x4ec467[_0xed7f('0x26')]);if(_0x4ec467[_0xed7f('0x27')]){delete _0x4ec467[_0xed7f('0x27')];}_0x2577ec[_0xed7f('0x18')](_0x3c884a)['send'](_0x4ec467);};}exports[_0xed7f('0x28')]=function(_0x525b7d,_0x372d6f){var _0x5d90d1={},_0x275cb6={},_0x2292e2={'count':0x0,'rows':[]};var _0x433bf7=_[_0xed7f('0x29')](db['CmHopperHistory'][_0xed7f('0x2a')],function(_0x161bd9){return{'name':_0x161bd9[_0xed7f('0x2b')],'type':_0x161bd9[_0xed7f('0x2c')][_0xed7f('0x2d')]};});_0x275cb6['model']=_['map'](_0x433bf7,_0xed7f('0x27'));_0x275cb6['query']=_['keys'](_0x525b7d[_0xed7f('0x2e')]);_0x275cb6[_0xed7f('0x2f')]=_['intersection'](_0x275cb6[_0xed7f('0x30')],_0x275cb6[_0xed7f('0x2e')]);_0x5d90d1[_0xed7f('0x31')]=_['intersection'](_0x275cb6['model'],qs[_0xed7f('0x32')](_0x525b7d[_0xed7f('0x2e')][_0xed7f('0x32')]));_0x5d90d1[_0xed7f('0x31')]=_0x5d90d1[_0xed7f('0x31')][_0xed7f('0x33')]?_0x5d90d1[_0xed7f('0x31')]:_0x275cb6[_0xed7f('0x30')];if(!_0x525b7d[_0xed7f('0x2e')][_0xed7f('0x34')]('nolimit')){_0x5d90d1['limit']=qs[_0xed7f('0x1c')](_0x525b7d['query'][_0xed7f('0x1c')]);_0x5d90d1['offset']=qs[_0xed7f('0x1b')](_0x525b7d[_0xed7f('0x2e')]['offset']);}_0x5d90d1[_0xed7f('0x35')]=qs[_0xed7f('0x36')](_0x525b7d[_0xed7f('0x2e')][_0xed7f('0x36')]);_0x5d90d1['where']=qs['filters'](_['pick'](_0x525b7d['query'],_0x275cb6[_0xed7f('0x2f')]),_0x433bf7);if(_0x525b7d[_0xed7f('0x2e')]['filter']){_0x5d90d1[_0xed7f('0x37')]=_['merge'](_0x5d90d1[_0xed7f('0x37')],{'$or':_[_0xed7f('0x29')](_0x433bf7,function(_0x3c1ab3){if(_0x3c1ab3['type']!==_0xed7f('0x38')){var _0xe2da21={};_0xe2da21[_0x3c1ab3[_0xed7f('0x27')]]={'$like':'%'+_0x525b7d[_0xed7f('0x2e')]['filter']+'%'};return _0xe2da21;}})});}_0x5d90d1=_[_0xed7f('0x39')]({},_0x5d90d1,_0x525b7d['options']);var _0x660048={'where':_0x5d90d1[_0xed7f('0x37')]};return db[_0xed7f('0x3a')][_0xed7f('0x1a')](_0x660048)[_0xed7f('0x23')](function(_0x2c6f38){_0x2292e2[_0xed7f('0x1a')]=_0x2c6f38;if(_0x525b7d['query'][_0xed7f('0x3b')]){_0x5d90d1[_0xed7f('0x3c')]=[{'all':!![]}];}return db[_0xed7f('0x3a')][_0xed7f('0x3d')](_0x5d90d1);})[_0xed7f('0x23')](function(_0x4550d8){_0x2292e2[_0xed7f('0x3e')]=_0x4550d8;return _0x2292e2;})[_0xed7f('0x23')](respondWithFilteredResult(_0x372d6f,_0x5d90d1))[_0xed7f('0x3f')](handleError(_0x372d6f,null));};exports[_0xed7f('0x40')]=function(_0x5ba89e,_0x4ded58){var _0xb7bc16={'raw':!![],'where':{'id':_0x5ba89e[_0xed7f('0x41')]['id']}},_0x48b3ea={};_0x48b3ea[_0xed7f('0x30')]=_['keys'](db[_0xed7f('0x3a')]['rawAttributes']);_0x48b3ea['query']=_[_0xed7f('0x42')](_0x5ba89e[_0xed7f('0x2e')]);_0x48b3ea[_0xed7f('0x2f')]=_[_0xed7f('0x43')](_0x48b3ea['model'],_0x48b3ea[_0xed7f('0x2e')]);_0xb7bc16['attributes']=_[_0xed7f('0x43')](_0x48b3ea['model'],qs[_0xed7f('0x32')](_0x5ba89e[_0xed7f('0x2e')][_0xed7f('0x32')]));_0xb7bc16[_0xed7f('0x31')]=_0xb7bc16[_0xed7f('0x31')][_0xed7f('0x33')]?_0xb7bc16[_0xed7f('0x31')]:_0x48b3ea[_0xed7f('0x30')];if(_0x5ba89e[_0xed7f('0x2e')][_0xed7f('0x3b')]){_0xb7bc16[_0xed7f('0x3c')]=[{'all':!![]}];}_0xb7bc16=_[_0xed7f('0x39')]({},_0xb7bc16,_0x5ba89e[_0xed7f('0x44')]);return db[_0xed7f('0x3a')][_0xed7f('0x45')](_0xb7bc16)[_0xed7f('0x23')](handleEntityNotFound(_0x4ded58,null))[_0xed7f('0x23')](respondWithResult(_0x4ded58,null))[_0xed7f('0x3f')](handleError(_0x4ded58,null));};exports[_0xed7f('0x46')]=function(_0x4e41e0,_0x17512d){return db[_0xed7f('0x3a')][_0xed7f('0x46')](_0x4e41e0['body'],{})[_0xed7f('0x23')](respondWithResult(_0x17512d,0xc9))[_0xed7f('0x3f')](handleError(_0x17512d,null));};exports[_0xed7f('0x47')]=function(_0x33cc1a,_0x2a5f0c){return db[_0xed7f('0x3a')][_0xed7f('0x47')]()[_0xed7f('0x23')](respondWithResult(_0x2a5f0c,null))[_0xed7f('0x3f')](handleError(_0x2a5f0c,null));};exports[_0xed7f('0x22')]=function(_0x50714f,_0x5222d2){if(_0x50714f[_0xed7f('0x48')][_0xed7f('0x49')]){delete _0x50714f['body']['uniqueid'];}return db[_0xed7f('0x3a')][_0xed7f('0x45')]({'where':{'uniqueid':_0x50714f[_0xed7f('0x41')]['id']}})['then'](handleEntityNotFound(_0x5222d2,null))[_0xed7f('0x23')](saveUpdates(_0x50714f[_0xed7f('0x48')],null))[_0xed7f('0x23')](respondWithResult(_0x5222d2,null))[_0xed7f('0x3f')](handleError(_0x5222d2,null));}; \ No newline at end of file +var _0xa600=['pick','VIRTUAL','options','count','includeAll','include','show','params','merge','catch','create','body','describe','uniqueid','find','html-pdf','eml-format','zip-dir','fast-json-patch','request-promise','moment','bluebird','util','path','sox','to-csv','ejs','lodash','squel','crypto','desk.js','querystring','papaparse','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','sendStatus','status','json','offset','limit','set','Content-Range','apply','reject','save','update','then','end','error','stack','name','index','CmHopperHistory','rawAttributes','fieldName','type','key','model','map','query','keys','intersection','attributes','fields','length','hasOwnProperty','nolimit','order','sort','where','filters'];(function(_0x309305,_0x245441){var _0x576f62=function(_0x180d3f){while(--_0x180d3f){_0x309305['push'](_0x309305['shift']());}};_0x576f62(++_0x245441);}(_0xa600,0x1e3));var _0x0a60=function(_0x2a453b,_0x479c50){_0x2a453b=_0x2a453b-0x0;var _0x132f79=_0xa600[_0x2a453b];return _0x132f79;};'use strict';var pdf=require(_0x0a60('0x0'));var emlformat=require(_0x0a60('0x1'));var rimraf=require('rimraf');var zipdir=require(_0x0a60('0x2'));var jsonpatch=require(_0x0a60('0x3'));var rp=require(_0x0a60('0x4'));var moment=require(_0x0a60('0x5'));var BPromise=require(_0x0a60('0x6'));var Mustache=require('mustache');var util=require(_0x0a60('0x7'));var path=require(_0x0a60('0x8'));var sox=require(_0x0a60('0x9'));var csv=require(_0x0a60('0xa'));var ejs=require(_0x0a60('0xb'));var fs=require('fs');var _=require(_0x0a60('0xc'));var squel=require(_0x0a60('0xd'));var crypto=require(_0x0a60('0xe'));var jsforce=require('jsforce');var deskjs=require(_0x0a60('0xf'));var toCsv=require(_0x0a60('0xa'));var querystring=require(_0x0a60('0x10'));var Papa=require(_0x0a60('0x11'));var Redis=require('ioredis');var authService=require(_0x0a60('0x12'));var qs=require(_0x0a60('0x13'));var as=require(_0x0a60('0x14'));var hardwareService=require(_0x0a60('0x15'));var logger=require(_0x0a60('0x16'))(_0x0a60('0x17'));var utils=require(_0x0a60('0x18'));var config=require(_0x0a60('0x19'));var db=require(_0x0a60('0x1a'))['db'];function respondWithStatusCode(_0x571baa,_0x191049){_0x191049=_0x191049||0xcc;return function(_0x33d404){if(_0x33d404){return _0x571baa[_0x0a60('0x1b')](_0x191049);}return _0x571baa[_0x0a60('0x1c')](_0x191049)['end']();};}function respondWithResult(_0x9d59b7,_0x15bbc9){_0x15bbc9=_0x15bbc9||0xc8;return function(_0x315dfd){if(_0x315dfd){return _0x9d59b7[_0x0a60('0x1c')](_0x15bbc9)[_0x0a60('0x1d')](_0x315dfd);}};}function respondWithFilteredResult(_0xd937a3,_0x91573d){return function(_0x83fa1d){if(_0x83fa1d){var _0x52679e=_0x83fa1d['count'],_0x1af217=_0x91573d['offset'],_0x2f67a4=_0x91573d[_0x0a60('0x1e')]+_0x91573d[_0x0a60('0x1f')],_0x587a4b;if(_0x2f67a4>=_0x52679e){_0x2f67a4=_0x52679e;_0x587a4b=0xc8;}else{_0x587a4b=0xce;}_0xd937a3[_0x0a60('0x1c')](_0x587a4b);return _0xd937a3[_0x0a60('0x20')](_0x0a60('0x21'),_0x1af217+'-'+_0x2f67a4+'/'+_0x52679e)['json'](_0x83fa1d);}return null;};}function patchUpdates(_0x5dc2df){return function(_0x5a9153){try{jsonpatch[_0x0a60('0x22')](_0x5a9153,_0x5dc2df,!![]);}catch(_0xa2a966){return BPromise[_0x0a60('0x23')](_0xa2a966);}return _0x5a9153[_0x0a60('0x24')]();};}function saveUpdates(_0x8cb417,_0x894915){return function(_0x50de4d){if(_0x50de4d){return _0x50de4d[_0x0a60('0x25')](_0x8cb417)[_0x0a60('0x26')](function(_0x31377a){return _0x31377a;});}return null;};}function removeEntity(_0x529a08,_0x5ac43c){return function(_0x59e8bc){if(_0x59e8bc){return _0x59e8bc['destroy']()[_0x0a60('0x26')](function(){_0x529a08[_0x0a60('0x1c')](0xcc)[_0x0a60('0x27')]();});}};}function handleEntityNotFound(_0x33465c,_0x2cfec8){return function(_0x4fa7ac){if(!_0x4fa7ac){_0x33465c[_0x0a60('0x1b')](0x194);}return _0x4fa7ac;};}function handleError(_0x49065e,_0x4fa8ef){_0x4fa8ef=_0x4fa8ef||0x1f4;return function(_0x9487ba){logger[_0x0a60('0x28')](_0x9487ba[_0x0a60('0x29')]);if(_0x9487ba[_0x0a60('0x2a')]){delete _0x9487ba[_0x0a60('0x2a')];}_0x49065e['status'](_0x4fa8ef)['send'](_0x9487ba);};}exports[_0x0a60('0x2b')]=function(_0x53aa2e,_0x573f68){var _0x280092={},_0x4a1f7f={},_0x13cab8={'count':0x0,'rows':[]};var _0x203960=_['map'](db[_0x0a60('0x2c')][_0x0a60('0x2d')],function(_0x15d993){return{'name':_0x15d993[_0x0a60('0x2e')],'type':_0x15d993[_0x0a60('0x2f')][_0x0a60('0x30')]};});_0x4a1f7f[_0x0a60('0x31')]=_[_0x0a60('0x32')](_0x203960,_0x0a60('0x2a'));_0x4a1f7f[_0x0a60('0x33')]=_[_0x0a60('0x34')](_0x53aa2e['query']);_0x4a1f7f['filters']=_[_0x0a60('0x35')](_0x4a1f7f[_0x0a60('0x31')],_0x4a1f7f[_0x0a60('0x33')]);_0x280092[_0x0a60('0x36')]=_[_0x0a60('0x35')](_0x4a1f7f[_0x0a60('0x31')],qs[_0x0a60('0x37')](_0x53aa2e[_0x0a60('0x33')]['fields']));_0x280092[_0x0a60('0x36')]=_0x280092['attributes'][_0x0a60('0x38')]?_0x280092['attributes']:_0x4a1f7f[_0x0a60('0x31')];if(!_0x53aa2e[_0x0a60('0x33')][_0x0a60('0x39')](_0x0a60('0x3a'))){_0x280092['limit']=qs[_0x0a60('0x1f')](_0x53aa2e['query']['limit']);_0x280092[_0x0a60('0x1e')]=qs[_0x0a60('0x1e')](_0x53aa2e[_0x0a60('0x33')][_0x0a60('0x1e')]);}_0x280092[_0x0a60('0x3b')]=qs['sort'](_0x53aa2e[_0x0a60('0x33')][_0x0a60('0x3c')]);_0x280092[_0x0a60('0x3d')]=qs[_0x0a60('0x3e')](_[_0x0a60('0x3f')](_0x53aa2e[_0x0a60('0x33')],_0x4a1f7f[_0x0a60('0x3e')]),_0x203960);if(_0x53aa2e[_0x0a60('0x33')]['filter']){_0x280092[_0x0a60('0x3d')]=_['merge'](_0x280092['where'],{'$or':_[_0x0a60('0x32')](_0x203960,function(_0x13528f){if(_0x13528f[_0x0a60('0x2f')]!==_0x0a60('0x40')){var _0xd2aea7={};_0xd2aea7[_0x13528f['name']]={'$like':'%'+_0x53aa2e[_0x0a60('0x33')]['filter']+'%'};return _0xd2aea7;}})});}_0x280092=_['merge']({},_0x280092,_0x53aa2e[_0x0a60('0x41')]);var _0x11addc={'where':_0x280092[_0x0a60('0x3d')]};return db[_0x0a60('0x2c')]['count'](_0x11addc)[_0x0a60('0x26')](function(_0x4a1c57){_0x13cab8[_0x0a60('0x42')]=_0x4a1c57;if(_0x53aa2e['query'][_0x0a60('0x43')]){_0x280092[_0x0a60('0x44')]=[{'all':!![]}];}return db[_0x0a60('0x2c')]['findAll'](_0x280092);})['then'](function(_0x30295f){_0x13cab8['rows']=_0x30295f;return _0x13cab8;})[_0x0a60('0x26')](respondWithFilteredResult(_0x573f68,_0x280092))['catch'](handleError(_0x573f68,null));};exports[_0x0a60('0x45')]=function(_0x525683,_0x10aa75){var _0x3051d2={'raw':!![],'where':{'id':_0x525683[_0x0a60('0x46')]['id']}},_0xa63666={};_0xa63666['model']=_[_0x0a60('0x34')](db[_0x0a60('0x2c')]['rawAttributes']);_0xa63666[_0x0a60('0x33')]=_['keys'](_0x525683[_0x0a60('0x33')]);_0xa63666[_0x0a60('0x3e')]=_[_0x0a60('0x35')](_0xa63666['model'],_0xa63666[_0x0a60('0x33')]);_0x3051d2['attributes']=_['intersection'](_0xa63666[_0x0a60('0x31')],qs[_0x0a60('0x37')](_0x525683[_0x0a60('0x33')][_0x0a60('0x37')]));_0x3051d2[_0x0a60('0x36')]=_0x3051d2[_0x0a60('0x36')][_0x0a60('0x38')]?_0x3051d2[_0x0a60('0x36')]:_0xa63666[_0x0a60('0x31')];if(_0x525683[_0x0a60('0x33')][_0x0a60('0x43')]){_0x3051d2[_0x0a60('0x44')]=[{'all':!![]}];}_0x3051d2=_[_0x0a60('0x47')]({},_0x3051d2,_0x525683['options']);return db[_0x0a60('0x2c')]['find'](_0x3051d2)['then'](handleEntityNotFound(_0x10aa75,null))[_0x0a60('0x26')](respondWithResult(_0x10aa75,null))[_0x0a60('0x48')](handleError(_0x10aa75,null));};exports[_0x0a60('0x49')]=function(_0x478dac,_0x5ac5fd){return db[_0x0a60('0x2c')][_0x0a60('0x49')](_0x478dac[_0x0a60('0x4a')],{})['then'](respondWithResult(_0x5ac5fd,0xc9))['catch'](handleError(_0x5ac5fd,null));};exports[_0x0a60('0x4b')]=function(_0x49df0a,_0x2f9efe){return db[_0x0a60('0x2c')][_0x0a60('0x4b')]()['then'](respondWithResult(_0x2f9efe,null))[_0x0a60('0x48')](handleError(_0x2f9efe,null));};exports[_0x0a60('0x25')]=function(_0x466b15,_0x263c5a){if(_0x466b15[_0x0a60('0x4a')][_0x0a60('0x4c')]){delete _0x466b15['body']['uniqueid'];}return db[_0x0a60('0x2c')][_0x0a60('0x4d')]({'where':{'uniqueid':_0x466b15[_0x0a60('0x46')]['id']}})[_0x0a60('0x26')](handleEntityNotFound(_0x263c5a,null))[_0x0a60('0x26')](saveUpdates(_0x466b15[_0x0a60('0x4a')],null))[_0x0a60('0x26')](respondWithResult(_0x263c5a,null))[_0x0a60('0x48')](handleError(_0x263c5a,null));}; \ No newline at end of file diff --git a/server/api/cmHopperHistory/cmHopperHistory.model.js b/server/api/cmHopperHistory/cmHopperHistory.model.js index f046191..f6a8e5f 100644 --- a/server/api/cmHopperHistory/cmHopperHistory.model.js +++ b/server/api/cmHopperHistory/cmHopperHistory.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xb8c1=['define','CmHopperHistory','endtime','uniqueid','api','moment','bluebird','path','rimraf','../../config/environment','exports'];(function(_0x4200a9,_0x2e7262){var _0x2fb387=function(_0x425d10){while(--_0x425d10){_0x4200a9['push'](_0x4200a9['shift']());}};_0x2fb387(++_0x2e7262);}(_0xb8c1,0x72));var _0x1b8c=function(_0x484a95,_0x3cc16c){_0x484a95=_0x484a95-0x0;var _0x4ce1c7=_0xb8c1[_0x484a95];return _0x4ce1c7;};'use strict';var _=require('lodash');var util=require('util');var logger=require('../../config/logger')(_0x1b8c('0x0'));var moment=require(_0x1b8c('0x1'));var BPromise=require(_0x1b8c('0x2'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x1b8c('0x3'));var rimraf=require(_0x1b8c('0x4'));var config=require(_0x1b8c('0x5'));var attributes=require('./cmHopperHistory.attributes');module[_0x1b8c('0x6')]=function(_0x11e21a,_0x35688f){return _0x11e21a[_0x1b8c('0x7')](_0x1b8c('0x8'),attributes,{'tableName':'cm_hopper_history','paranoid':![],'indexes':[{'name':_0x1b8c('0x9'),'fields':[_0x1b8c('0x9')]},{'name':_0x1b8c('0xa'),'fields':[_0x1b8c('0xa')]}],'timestamps':!![]});}; \ No newline at end of file +var _0xf03b=['bluebird','request-promise','rimraf','../../config/environment','./cmHopperHistory.attributes','exports','define','CmHopperHistory','cm_hopper_history','endtime','uniqueid','lodash','util','../../config/logger','api','moment'];(function(_0x265aa2,_0x220072){var _0x447a3a=function(_0x1512cc){while(--_0x1512cc){_0x265aa2['push'](_0x265aa2['shift']());}};_0x447a3a(++_0x220072);}(_0xf03b,0x8b));var _0xbf03=function(_0x58de7e,_0x9f1b57){_0x58de7e=_0x58de7e-0x0;var _0x5df8b8=_0xf03b[_0x58de7e];return _0x5df8b8;};'use strict';var _=require(_0xbf03('0x0'));var util=require(_0xbf03('0x1'));var logger=require(_0xbf03('0x2'))(_0xbf03('0x3'));var moment=require(_0xbf03('0x4'));var BPromise=require(_0xbf03('0x5'));var rp=require(_0xbf03('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0xbf03('0x7'));var config=require(_0xbf03('0x8'));var attributes=require(_0xbf03('0x9'));module[_0xbf03('0xa')]=function(_0x1576ab,_0x280ce4){return _0x1576ab[_0xbf03('0xb')](_0xbf03('0xc'),attributes,{'tableName':_0xbf03('0xd'),'paranoid':![],'indexes':[{'name':_0xbf03('0xe'),'fields':[_0xbf03('0xe')]},{'name':_0xbf03('0xf'),'fields':[_0xbf03('0xf')]}],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/cmHopperHistory/cmHopperHistory.rpc.js b/server/api/cmHopperHistory/cmHopperHistory.rpc.js index 22aff1b..9905ad1 100644 --- a/server/api/cmHopperHistory/cmHopperHistory.rpc.js +++ b/server/api/cmHopperHistory/cmHopperHistory.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x13f6=['lodash','util','randomstring','ioredis','../../mysqldb','../../config/logger','rpc','../../config/environment','client','http','request','then','CmHopperHistory,\x20%s,\x20%s','request\x20sent','debug','stringify','error','code','message','info','result','CreateCmHopperHistory','CmHopperHistory','create','body','raw','catch','AvgHandleTime','findAll','options','sequelize','predictiveIntervalTotalCalls','COUNT','literal','`state`\x20=\x2010,\x201,\x20null','predictiveIntervalDroppedCallsTimeout','`state`\x20=\x2011,\x201,\x20null','predictiveIntervalDroppedCallsCallersExit','predictiveIntervalAvgHoldtime','AVG','`state`\x20=\x204,\x20`talktime`,\x20null','predictiveIntervalAvgTalktime','GetVoiceQueueHopperHistory','campaign','name','`state`\x20=\x200,\x201,\x20null','outboundNoSuchCallsDay','`state`\x20=\x203,\x201,\x20null','outboundNoAnswerCallsDay','`state`\x20=\x204,\x201,\x20null','outboundAnswerCallsDay','`state`\x20=\x205,\x201,\x20null','outboundBusyCallsDay','`state`\x20=\x208,\x201,\x20null','outboundCongestionCallsDay','`state`\x20=\x2010\x20,\x201,\x20null','outboundDropCallsDayTimeout','`state`\x20=\x2011\x20,\x201,\x20null','outboundDropCallsDayCallersExit','`state`\x20=\x2013,\x201,\x20null','outboundBlacklistCallsDay','`state`\x20=\x2014,\x201,\x20null','outboundOriginateFailureCallsDay','`state`\x20=\x2018,\x201,\x20null','outboundRejectCallsDay','outboundAnswerAgiCallsDay','`state`\x20=\x2022\x20or\x20`state`\x20=\x2023,\x201,\x20null','outboundReCallsDay','GetCampaignHopperHistory','where','col','ivrTotalCallsDays','ivrAnswerCallsDay'];(function(_0x5bd08b,_0x558de7){var _0x58abf2=function(_0x39a9b6){while(--_0x39a9b6){_0x5bd08b['push'](_0x5bd08b['shift']());}};_0x58abf2(++_0x558de7);}(_0x13f6,0x124));var _0x613f=function(_0x1e3373,_0x371278){_0x1e3373=_0x1e3373-0x0;var _0x462fd5=_0x13f6[_0x1e3373];return _0x462fd5;};'use strict';var _=require(_0x613f('0x0'));var util=require(_0x613f('0x1'));var moment=require('moment');var BPromise=require('bluebird');var rs=require(_0x613f('0x2'));var fs=require('fs');var Redis=require(_0x613f('0x3'));var db=require(_0x613f('0x4'))['db'];var utils=require('../../config/utils');var logger=require(_0x613f('0x5'))(_0x613f('0x6'));var config=require(_0x613f('0x7'));var jayson=require('jayson/promise');var client=jayson[_0x613f('0x8')][_0x613f('0x9')]({'port':0x232a});function respondWithRpcPromise(_0x5618fa,_0x4b546b,_0x5a84f2){return new BPromise(function(_0x5c93c0,_0x2d5973){return client[_0x613f('0xa')](_0x5618fa,_0x5a84f2)[_0x613f('0xb')](function(_0x35b672){logger['info'](_0x613f('0xc'),_0x4b546b,_0x613f('0xd'));logger[_0x613f('0xe')]('CmHopperHistory,\x20%s,\x20%s,\x20%s',_0x4b546b,_0x613f('0xd'),JSON[_0x613f('0xf')](_0x35b672));if(_0x35b672[_0x613f('0x10')]){if(_0x35b672['error'][_0x613f('0x11')]===0x1f4){logger[_0x613f('0x10')]('CmHopperHistory,\x20%s,\x20%s',_0x4b546b,_0x35b672['error']['message']);return _0x2d5973(_0x35b672[_0x613f('0x10')][_0x613f('0x12')]);}logger[_0x613f('0x10')](_0x613f('0xc'),_0x4b546b,_0x35b672[_0x613f('0x10')][_0x613f('0x12')]);return _0x5c93c0(_0x35b672[_0x613f('0x10')][_0x613f('0x12')]);}else{logger[_0x613f('0x13')](_0x613f('0xc'),_0x4b546b,'request\x20sent');_0x5c93c0(_0x35b672[_0x613f('0x14')]['message']);}})['catch'](function(_0x1bc605){logger[_0x613f('0x10')]('CmHopperHistory,\x20%s,\x20%s',_0x4b546b,_0x1bc605);_0x2d5973(_0x1bc605);});});}exports[_0x613f('0x15')]=function(_0x4f9dae){var _0x62ebfe=this;return new Promise(function(_0x1e5a11,_0x431266){return db[_0x613f('0x16')][_0x613f('0x17')](_0x4f9dae[_0x613f('0x18')],{'raw':_0x4f9dae['options']?_0x4f9dae['options'][_0x613f('0x19')]===undefined?!![]:![]:!![]})['then'](function(_0x48493c){logger[_0x613f('0x13')](_0x613f('0x15'),_0x4f9dae);logger['debug'](_0x613f('0x15'),_0x4f9dae,JSON[_0x613f('0xf')](_0x48493c));_0x1e5a11(_0x48493c);})[_0x613f('0x1a')](function(_0x48b28a){logger['error'](_0x613f('0x15'),_0x48b28a[_0x613f('0x12')],_0x4f9dae);_0x431266(_0x62ebfe[_0x613f('0x10')](0x1f4,_0x48b28a['message']));});});};exports[_0x613f('0x1b')]=function(_0x33e0c6){var _0x30de90=this;return new Promise(function(_0x1ee050,_0x3013a1){return db['CmHopperHistory'][_0x613f('0x1c')]({'raw':_0x33e0c6[_0x613f('0x1d')]?_0x33e0c6['options'][_0x613f('0x19')]===undefined?!![]:![]:!![],'where':_0x33e0c6[_0x613f('0x1d')]?_0x33e0c6[_0x613f('0x1d')]['where']||null:null,'attributes':[[db['sequelize']['fn']('COUNT',db[_0x613f('0x1e')]['col']('id')),_0x613f('0x1f')],[db[_0x613f('0x1e')]['fn']('COUNT',db[_0x613f('0x1e')]['fn']('IF',db[_0x613f('0x1e')]['literal']('`state`\x20=\x204,\x201,\x20null'))),'predictiveIntervalAnsweredCalls'],[db[_0x613f('0x1e')]['fn'](_0x613f('0x20'),db[_0x613f('0x1e')]['fn']('IF',db['sequelize'][_0x613f('0x21')](_0x613f('0x22')))),_0x613f('0x23')],[db[_0x613f('0x1e')]['fn']('COUNT',db[_0x613f('0x1e')]['fn']('IF',db[_0x613f('0x1e')][_0x613f('0x21')](_0x613f('0x24')))),_0x613f('0x25')],[db[_0x613f('0x1e')]['fn']('AVG',db[_0x613f('0x1e')]['fn']('IF',db[_0x613f('0x1e')][_0x613f('0x21')]('`state`\x20=\x204,\x20`holdtime`,\x20null'))),_0x613f('0x26')],[db['sequelize']['fn'](_0x613f('0x27'),db[_0x613f('0x1e')]['fn']('IF',db[_0x613f('0x1e')][_0x613f('0x21')](_0x613f('0x28')))),_0x613f('0x29')]]})['then'](function(_0x1a18ce){logger[_0x613f('0x13')](_0x613f('0x1b'),_0x33e0c6);logger[_0x613f('0xe')](_0x613f('0x1b'),_0x33e0c6,JSON['stringify'](_0x1a18ce));_0x1ee050(_0x1a18ce);})['catch'](function(_0x4eea2c){logger[_0x613f('0x10')](_0x613f('0x1b'),_0x4eea2c[_0x613f('0x12')],_0x33e0c6);_0x3013a1(_0x30de90[_0x613f('0x10')](0x1f4,_0x4eea2c['message']));});});};exports[_0x613f('0x2a')]=function(_0xaedbbd){var _0x4ed25f=this;return new Promise(function(_0x45e6df,_0x550cea){return db[_0x613f('0x16')]['findAll']({'raw':_0xaedbbd[_0x613f('0x1d')]?_0xaedbbd['options'][_0x613f('0x19')]===undefined?!![]:![]:!![],'where':_0xaedbbd[_0x613f('0x1d')]?_0xaedbbd[_0x613f('0x1d')]['where']||null:null,'attributes':[[_0x613f('0x2b'),_0x613f('0x2c')],[db[_0x613f('0x1e')]['fn'](_0x613f('0x20'),db[_0x613f('0x1e')]['fn']('IF',db[_0x613f('0x1e')][_0x613f('0x21')](_0x613f('0x2d')))),_0x613f('0x2e')],[db[_0x613f('0x1e')]['fn']('COUNT',db[_0x613f('0x1e')]['fn']('IF',db[_0x613f('0x1e')][_0x613f('0x21')](_0x613f('0x2f')))),_0x613f('0x30')],[db[_0x613f('0x1e')]['fn'](_0x613f('0x20'),db['sequelize']['fn']('IF',db[_0x613f('0x1e')][_0x613f('0x21')](_0x613f('0x31')))),_0x613f('0x32')],[db[_0x613f('0x1e')]['fn'](_0x613f('0x20'),db[_0x613f('0x1e')]['fn']('IF',db['sequelize'][_0x613f('0x21')](_0x613f('0x33')))),_0x613f('0x34')],[db[_0x613f('0x1e')]['fn'](_0x613f('0x20'),db[_0x613f('0x1e')]['fn']('IF',db[_0x613f('0x1e')][_0x613f('0x21')](_0x613f('0x35')))),_0x613f('0x36')],[db[_0x613f('0x1e')]['fn'](_0x613f('0x20'),db[_0x613f('0x1e')]['fn']('IF',db['sequelize'][_0x613f('0x21')](_0x613f('0x37')))),_0x613f('0x38')],[db[_0x613f('0x1e')]['fn']('COUNT',db[_0x613f('0x1e')]['fn']('IF',db[_0x613f('0x1e')][_0x613f('0x21')](_0x613f('0x39')))),_0x613f('0x3a')],[db[_0x613f('0x1e')]['fn'](_0x613f('0x20'),db[_0x613f('0x1e')]['fn']('IF',db[_0x613f('0x1e')][_0x613f('0x21')]('`state`\x20=\x2012,\x201,\x20null'))),'outboundUnknownCallsDay'],[db[_0x613f('0x1e')]['fn'](_0x613f('0x20'),db['sequelize']['fn']('IF',db[_0x613f('0x1e')][_0x613f('0x21')](_0x613f('0x3b')))),_0x613f('0x3c')],[db[_0x613f('0x1e')]['fn'](_0x613f('0x20'),db[_0x613f('0x1e')]['fn']('IF',db[_0x613f('0x1e')][_0x613f('0x21')](_0x613f('0x3d')))),_0x613f('0x3e')],[db[_0x613f('0x1e')]['fn'](_0x613f('0x20'),db[_0x613f('0x1e')]['fn']('IF',db[_0x613f('0x1e')][_0x613f('0x21')](_0x613f('0x3f')))),_0x613f('0x40')],[db['sequelize']['fn']('COUNT',db[_0x613f('0x1e')]['fn']('IF',db[_0x613f('0x1e')]['literal']('`state`\x20=\x2016,\x201,\x20null'))),_0x613f('0x41')],[db['sequelize']['fn']('COUNT',db[_0x613f('0x1e')]['fn']('IF',db[_0x613f('0x1e')][_0x613f('0x21')]('`state`\x20=\x2020,\x201,\x20null'))),_0x613f('0x40')],[db[_0x613f('0x1e')]['fn']('COUNT',db['sequelize']['fn']('IF',db[_0x613f('0x1e')][_0x613f('0x21')](_0x613f('0x42')))),_0x613f('0x43')]],'group':[_0x613f('0x2b')]})[_0x613f('0xb')](function(_0x24d162){logger['info']('GetVoiceQueueHopperHistory',_0xaedbbd);logger[_0x613f('0xe')]('GetVoiceQueueHopperHistory',_0xaedbbd,JSON['stringify'](_0x24d162));_0x45e6df(_0x24d162);})[_0x613f('0x1a')](function(_0x52c2a6){logger[_0x613f('0x10')]('GetVoiceQueueHopperHistory',_0x52c2a6[_0x613f('0x12')],_0xaedbbd);_0x550cea(_0x4ed25f[_0x613f('0x10')](0x1f4,_0x52c2a6[_0x613f('0x12')]));});});};exports[_0x613f('0x44')]=function(_0x11e4a4){var _0x2cb4a1=this;return new Promise(function(_0x346e2c,_0x4a49a1){return db[_0x613f('0x16')]['findAll']({'raw':_0x11e4a4[_0x613f('0x1d')]?_0x11e4a4[_0x613f('0x1d')][_0x613f('0x19')]===undefined?!![]:![]:!![],'where':_0x11e4a4[_0x613f('0x1d')]?_0x11e4a4[_0x613f('0x1d')][_0x613f('0x45')]||null:null,'attributes':[[_0x613f('0x2b'),_0x613f('0x2c')],[db[_0x613f('0x1e')]['fn'](_0x613f('0x20'),db[_0x613f('0x1e')][_0x613f('0x46')]('id')),_0x613f('0x47')],[db['sequelize']['fn']('COUNT',db[_0x613f('0x1e')]['fn']('IF',db['sequelize'][_0x613f('0x21')](_0x613f('0x31')))),_0x613f('0x48')]],'group':[_0x613f('0x2b')]})[_0x613f('0xb')](function(_0x46a945){logger[_0x613f('0x13')](_0x613f('0x44'),_0x11e4a4);logger[_0x613f('0xe')](_0x613f('0x44'),_0x11e4a4,JSON[_0x613f('0xf')](_0x46a945));_0x346e2c(_0x46a945);})['catch'](function(_0xbc2c8f){logger[_0x613f('0x10')](_0x613f('0x44'),_0xbc2c8f[_0x613f('0x12')],_0x11e4a4);_0x4a49a1(_0x2cb4a1['error'](0x1f4,_0xbc2c8f[_0x613f('0x12')]));});});}; \ No newline at end of file +var _0xb7e7=['name','`state`\x20=\x200,\x201,\x20null','outboundNoSuchCallsDay','`state`\x20=\x203,\x201,\x20null','outboundAnswerCallsDay','outboundBusyCallsDay','outboundCongestionCallsDay','`state`\x20=\x2010\x20,\x201,\x20null','outboundDropCallsDayTimeout','outboundDropCallsDayCallersExit','outboundUnknownCallsDay','`state`\x20=\x2013,\x201,\x20null','outboundBlacklistCallsDay','`state`\x20=\x2014,\x201,\x20null','outboundOriginateFailureCallsDay','`state`\x20=\x2018,\x201,\x20null','outboundRejectCallsDay','`state`\x20=\x2016,\x201,\x20null','outboundAnswerAgiCallsDay','`state`\x20=\x2020,\x201,\x20null','`state`\x20=\x2022\x20or\x20`state`\x20=\x2023,\x201,\x20null','campaign','GetCampaignHopperHistory','ivrTotalCallsDays','ivrAnswerCallsDay','lodash','moment','randomstring','../../mysqldb','../../config/logger','rpc','../../config/environment','http','request','then','info','CmHopperHistory,\x20%s,\x20%s','debug','CmHopperHistory,\x20%s,\x20%s,\x20%s','request\x20sent','stringify','error','code','message','catch','CreateCmHopperHistory','CmHopperHistory','create','body','options','raw','where','sequelize','col','`state`\x20=\x204,\x201,\x20null','COUNT','literal','`state`\x20=\x2010,\x201,\x20null','predictiveIntervalDroppedCallsTimeout','`state`\x20=\x2011,\x201,\x20null','predictiveIntervalDroppedCallsCallersExit','AVG','`state`\x20=\x204,\x20`talktime`,\x20null','AvgHandleTime','GetVoiceQueueHopperHistory','findAll'];(function(_0x293e80,_0x14f165){var _0x1102a6=function(_0x1ec88d){while(--_0x1ec88d){_0x293e80['push'](_0x293e80['shift']());}};_0x1102a6(++_0x14f165);}(_0xb7e7,0x121));var _0x7b7e=function(_0x369151,_0x179f72){_0x369151=_0x369151-0x0;var _0x4292d5=_0xb7e7[_0x369151];return _0x4292d5;};'use strict';var _=require(_0x7b7e('0x0'));var util=require('util');var moment=require(_0x7b7e('0x1'));var BPromise=require('bluebird');var rs=require(_0x7b7e('0x2'));var fs=require('fs');var Redis=require('ioredis');var db=require(_0x7b7e('0x3'))['db'];var utils=require('../../config/utils');var logger=require(_0x7b7e('0x4'))(_0x7b7e('0x5'));var config=require(_0x7b7e('0x6'));var jayson=require('jayson/promise');var client=jayson['client'][_0x7b7e('0x7')]({'port':0x232a});function respondWithRpcPromise(_0x372bde,_0x7f87e0,_0x55ce81){return new BPromise(function(_0x42b871,_0x223587){return client[_0x7b7e('0x8')](_0x372bde,_0x55ce81)[_0x7b7e('0x9')](function(_0x148964){logger[_0x7b7e('0xa')](_0x7b7e('0xb'),_0x7f87e0,'request\x20sent');logger[_0x7b7e('0xc')](_0x7b7e('0xd'),_0x7f87e0,_0x7b7e('0xe'),JSON[_0x7b7e('0xf')](_0x148964));if(_0x148964[_0x7b7e('0x10')]){if(_0x148964[_0x7b7e('0x10')][_0x7b7e('0x11')]===0x1f4){logger[_0x7b7e('0x10')](_0x7b7e('0xb'),_0x7f87e0,_0x148964['error'][_0x7b7e('0x12')]);return _0x223587(_0x148964[_0x7b7e('0x10')]['message']);}logger[_0x7b7e('0x10')]('CmHopperHistory,\x20%s,\x20%s',_0x7f87e0,_0x148964['error'][_0x7b7e('0x12')]);return _0x42b871(_0x148964[_0x7b7e('0x10')][_0x7b7e('0x12')]);}else{logger[_0x7b7e('0xa')](_0x7b7e('0xb'),_0x7f87e0,'request\x20sent');_0x42b871(_0x148964['result'][_0x7b7e('0x12')]);}})[_0x7b7e('0x13')](function(_0x27f999){logger[_0x7b7e('0x10')](_0x7b7e('0xb'),_0x7f87e0,_0x27f999);_0x223587(_0x27f999);});});}exports[_0x7b7e('0x14')]=function(_0x242368){var _0x200ef7=this;return new Promise(function(_0x2acb8c,_0x429a0e){return db[_0x7b7e('0x15')][_0x7b7e('0x16')](_0x242368[_0x7b7e('0x17')],{'raw':_0x242368[_0x7b7e('0x18')]?_0x242368[_0x7b7e('0x18')][_0x7b7e('0x19')]===undefined?!![]:![]:!![]})[_0x7b7e('0x9')](function(_0x49eddb){logger[_0x7b7e('0xa')](_0x7b7e('0x14'),_0x242368);logger[_0x7b7e('0xc')]('CreateCmHopperHistory',_0x242368,JSON[_0x7b7e('0xf')](_0x49eddb));_0x2acb8c(_0x49eddb);})[_0x7b7e('0x13')](function(_0x14243b){logger[_0x7b7e('0x10')](_0x7b7e('0x14'),_0x14243b[_0x7b7e('0x12')],_0x242368);_0x429a0e(_0x200ef7[_0x7b7e('0x10')](0x1f4,_0x14243b[_0x7b7e('0x12')]));});});};exports['AvgHandleTime']=function(_0x5d6215){var _0x4a836a=this;return new Promise(function(_0x26ee14,_0x22598e){return db[_0x7b7e('0x15')]['findAll']({'raw':_0x5d6215['options']?_0x5d6215['options'][_0x7b7e('0x19')]===undefined?!![]:![]:!![],'where':_0x5d6215[_0x7b7e('0x18')]?_0x5d6215[_0x7b7e('0x18')][_0x7b7e('0x1a')]||null:null,'attributes':[[db[_0x7b7e('0x1b')]['fn']('COUNT',db[_0x7b7e('0x1b')][_0x7b7e('0x1c')]('id')),'predictiveIntervalTotalCalls'],[db['sequelize']['fn']('COUNT',db[_0x7b7e('0x1b')]['fn']('IF',db[_0x7b7e('0x1b')]['literal'](_0x7b7e('0x1d')))),'predictiveIntervalAnsweredCalls'],[db[_0x7b7e('0x1b')]['fn'](_0x7b7e('0x1e'),db[_0x7b7e('0x1b')]['fn']('IF',db['sequelize'][_0x7b7e('0x1f')](_0x7b7e('0x20')))),_0x7b7e('0x21')],[db[_0x7b7e('0x1b')]['fn'](_0x7b7e('0x1e'),db['sequelize']['fn']('IF',db[_0x7b7e('0x1b')]['literal'](_0x7b7e('0x22')))),_0x7b7e('0x23')],[db[_0x7b7e('0x1b')]['fn'](_0x7b7e('0x24'),db[_0x7b7e('0x1b')]['fn']('IF',db[_0x7b7e('0x1b')][_0x7b7e('0x1f')]('`state`\x20=\x204,\x20`holdtime`,\x20null'))),'predictiveIntervalAvgHoldtime'],[db[_0x7b7e('0x1b')]['fn'](_0x7b7e('0x24'),db['sequelize']['fn']('IF',db[_0x7b7e('0x1b')][_0x7b7e('0x1f')](_0x7b7e('0x25')))),'predictiveIntervalAvgTalktime']]})[_0x7b7e('0x9')](function(_0x256908){logger[_0x7b7e('0xa')](_0x7b7e('0x26'),_0x5d6215);logger[_0x7b7e('0xc')](_0x7b7e('0x26'),_0x5d6215,JSON[_0x7b7e('0xf')](_0x256908));_0x26ee14(_0x256908);})[_0x7b7e('0x13')](function(_0x44497c){logger[_0x7b7e('0x10')](_0x7b7e('0x26'),_0x44497c[_0x7b7e('0x12')],_0x5d6215);_0x22598e(_0x4a836a[_0x7b7e('0x10')](0x1f4,_0x44497c[_0x7b7e('0x12')]));});});};exports[_0x7b7e('0x27')]=function(_0x279f46){var _0x5a4f92=this;return new Promise(function(_0x8c80d5,_0x156dca){return db[_0x7b7e('0x15')][_0x7b7e('0x28')]({'raw':_0x279f46[_0x7b7e('0x18')]?_0x279f46[_0x7b7e('0x18')][_0x7b7e('0x19')]===undefined?!![]:![]:!![],'where':_0x279f46[_0x7b7e('0x18')]?_0x279f46[_0x7b7e('0x18')][_0x7b7e('0x1a')]||null:null,'attributes':[['campaign',_0x7b7e('0x29')],[db[_0x7b7e('0x1b')]['fn'](_0x7b7e('0x1e'),db[_0x7b7e('0x1b')]['fn']('IF',db['sequelize'][_0x7b7e('0x1f')](_0x7b7e('0x2a')))),_0x7b7e('0x2b')],[db['sequelize']['fn']('COUNT',db[_0x7b7e('0x1b')]['fn']('IF',db['sequelize'][_0x7b7e('0x1f')](_0x7b7e('0x2c')))),'outboundNoAnswerCallsDay'],[db[_0x7b7e('0x1b')]['fn'](_0x7b7e('0x1e'),db[_0x7b7e('0x1b')]['fn']('IF',db[_0x7b7e('0x1b')][_0x7b7e('0x1f')](_0x7b7e('0x1d')))),_0x7b7e('0x2d')],[db[_0x7b7e('0x1b')]['fn'](_0x7b7e('0x1e'),db['sequelize']['fn']('IF',db['sequelize'][_0x7b7e('0x1f')]('`state`\x20=\x205,\x201,\x20null'))),_0x7b7e('0x2e')],[db['sequelize']['fn']('COUNT',db[_0x7b7e('0x1b')]['fn']('IF',db['sequelize'][_0x7b7e('0x1f')]('`state`\x20=\x208,\x201,\x20null'))),_0x7b7e('0x2f')],[db[_0x7b7e('0x1b')]['fn'](_0x7b7e('0x1e'),db[_0x7b7e('0x1b')]['fn']('IF',db['sequelize'][_0x7b7e('0x1f')](_0x7b7e('0x30')))),_0x7b7e('0x31')],[db[_0x7b7e('0x1b')]['fn'](_0x7b7e('0x1e'),db[_0x7b7e('0x1b')]['fn']('IF',db['sequelize']['literal']('`state`\x20=\x2011\x20,\x201,\x20null'))),_0x7b7e('0x32')],[db[_0x7b7e('0x1b')]['fn'](_0x7b7e('0x1e'),db[_0x7b7e('0x1b')]['fn']('IF',db[_0x7b7e('0x1b')][_0x7b7e('0x1f')]('`state`\x20=\x2012,\x201,\x20null'))),_0x7b7e('0x33')],[db[_0x7b7e('0x1b')]['fn']('COUNT',db['sequelize']['fn']('IF',db[_0x7b7e('0x1b')][_0x7b7e('0x1f')](_0x7b7e('0x34')))),_0x7b7e('0x35')],[db[_0x7b7e('0x1b')]['fn'](_0x7b7e('0x1e'),db['sequelize']['fn']('IF',db[_0x7b7e('0x1b')]['literal'](_0x7b7e('0x36')))),_0x7b7e('0x37')],[db[_0x7b7e('0x1b')]['fn'](_0x7b7e('0x1e'),db['sequelize']['fn']('IF',db[_0x7b7e('0x1b')][_0x7b7e('0x1f')](_0x7b7e('0x38')))),_0x7b7e('0x39')],[db[_0x7b7e('0x1b')]['fn']('COUNT',db[_0x7b7e('0x1b')]['fn']('IF',db[_0x7b7e('0x1b')][_0x7b7e('0x1f')](_0x7b7e('0x3a')))),_0x7b7e('0x3b')],[db['sequelize']['fn'](_0x7b7e('0x1e'),db[_0x7b7e('0x1b')]['fn']('IF',db[_0x7b7e('0x1b')][_0x7b7e('0x1f')](_0x7b7e('0x3c')))),_0x7b7e('0x39')],[db[_0x7b7e('0x1b')]['fn']('COUNT',db[_0x7b7e('0x1b')]['fn']('IF',db['sequelize'][_0x7b7e('0x1f')](_0x7b7e('0x3d')))),'outboundReCallsDay']],'group':[_0x7b7e('0x3e')]})[_0x7b7e('0x9')](function(_0x16c81d){logger[_0x7b7e('0xa')](_0x7b7e('0x27'),_0x279f46);logger[_0x7b7e('0xc')](_0x7b7e('0x27'),_0x279f46,JSON['stringify'](_0x16c81d));_0x8c80d5(_0x16c81d);})[_0x7b7e('0x13')](function(_0x3ff731){logger[_0x7b7e('0x10')](_0x7b7e('0x27'),_0x3ff731['message'],_0x279f46);_0x156dca(_0x5a4f92['error'](0x1f4,_0x3ff731['message']));});});};exports[_0x7b7e('0x3f')]=function(_0x41530f){var _0x26d52f=this;return new Promise(function(_0x4aa92e,_0x5b1e10){return db[_0x7b7e('0x15')][_0x7b7e('0x28')]({'raw':_0x41530f['options']?_0x41530f[_0x7b7e('0x18')][_0x7b7e('0x19')]===undefined?!![]:![]:!![],'where':_0x41530f[_0x7b7e('0x18')]?_0x41530f['options'][_0x7b7e('0x1a')]||null:null,'attributes':[[_0x7b7e('0x3e'),'name'],[db[_0x7b7e('0x1b')]['fn'](_0x7b7e('0x1e'),db[_0x7b7e('0x1b')][_0x7b7e('0x1c')]('id')),_0x7b7e('0x40')],[db[_0x7b7e('0x1b')]['fn'](_0x7b7e('0x1e'),db[_0x7b7e('0x1b')]['fn']('IF',db[_0x7b7e('0x1b')]['literal'](_0x7b7e('0x1d')))),_0x7b7e('0x41')]],'group':['campaign']})[_0x7b7e('0x9')](function(_0xa22edc){logger[_0x7b7e('0xa')]('GetCampaignHopperHistory',_0x41530f);logger[_0x7b7e('0xc')]('GetCampaignHopperHistory',_0x41530f,JSON[_0x7b7e('0xf')](_0xa22edc));_0x4aa92e(_0xa22edc);})[_0x7b7e('0x13')](function(_0x51aa97){logger[_0x7b7e('0x10')](_0x7b7e('0x3f'),_0x51aa97['message'],_0x41530f);_0x5b1e10(_0x26d52f[_0x7b7e('0x10')](0x1f4,_0x51aa97[_0x7b7e('0x12')]));});});}; \ No newline at end of file diff --git a/server/api/cmHopperHistory/index.js b/server/api/cmHopperHistory/index.js index 57435ad..ad380f0 100644 --- a/server/api/cmHopperHistory/index.js +++ b/server/api/cmHopperHistory/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x6c14=['../../config/environment','get','isAuthenticated','index','/describe','describe','/:id','show','post','put','exports','multer','util','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service'];(function(_0x314935,_0x287a51){var _0x3956cb=function(_0x235537){while(--_0x235537){_0x314935['push'](_0x314935['shift']());}};_0x3956cb(++_0x287a51);}(_0x6c14,0xd1));var _0x46c1=function(_0x54b018,_0x4d40a8){_0x54b018=_0x54b018-0x0;var _0x27754e=_0x6c14[_0x54b018];return _0x27754e;};'use strict';var multer=require(_0x46c1('0x0'));var util=require(_0x46c1('0x1'));var path=require(_0x46c1('0x2'));var timeout=require(_0x46c1('0x3'));var express=require(_0x46c1('0x4'));var router=express['Router']();var auth=require(_0x46c1('0x5'));var interaction=require(_0x46c1('0x6'));var config=require(_0x46c1('0x7'));var controller=require('./cmHopperHistory.controller');router[_0x46c1('0x8')]('/',auth[_0x46c1('0x9')](),controller[_0x46c1('0xa')]);router[_0x46c1('0x8')](_0x46c1('0xb'),auth[_0x46c1('0x9')](),controller[_0x46c1('0xc')]);router[_0x46c1('0x8')](_0x46c1('0xd'),auth['isAuthenticated'](),controller[_0x46c1('0xe')]);router[_0x46c1('0xf')]('/',auth[_0x46c1('0x9')](),controller['create']);router[_0x46c1('0x10')](_0x46c1('0xd'),auth[_0x46c1('0x9')](),controller['update']);module[_0x46c1('0x11')]=router; \ No newline at end of file +var _0xfb51=['../../components/interaction/service','../../config/environment','./cmHopperHistory.controller','get','isAuthenticated','/describe','describe','/:id','show','post','put','exports','multer','util','path','express','Router'];(function(_0x52a6e2,_0x9abdde){var _0x5b9a68=function(_0x53f233){while(--_0x53f233){_0x52a6e2['push'](_0x52a6e2['shift']());}};_0x5b9a68(++_0x9abdde);}(_0xfb51,0x1b5));var _0x1fb5=function(_0x3611ef,_0x4fbb05){_0x3611ef=_0x3611ef-0x0;var _0x246a54=_0xfb51[_0x3611ef];return _0x246a54;};'use strict';var multer=require(_0x1fb5('0x0'));var util=require(_0x1fb5('0x1'));var path=require(_0x1fb5('0x2'));var timeout=require('connect-timeout');var express=require(_0x1fb5('0x3'));var router=express[_0x1fb5('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0x1fb5('0x5'));var config=require(_0x1fb5('0x6'));var controller=require(_0x1fb5('0x7'));router[_0x1fb5('0x8')]('/',auth[_0x1fb5('0x9')](),controller['index']);router[_0x1fb5('0x8')](_0x1fb5('0xa'),auth[_0x1fb5('0x9')](),controller[_0x1fb5('0xb')]);router['get'](_0x1fb5('0xc'),auth['isAuthenticated'](),controller[_0x1fb5('0xd')]);router[_0x1fb5('0xe')]('/',auth[_0x1fb5('0x9')](),controller['create']);router[_0x1fb5('0xf')](_0x1fb5('0xc'),auth[_0x1fb5('0x9')](),controller['update']);module[_0x1fb5('0x10')]=router; \ No newline at end of file diff --git a/server/api/cmList/cmList.attributes.js b/server/api/cmList/cmList.attributes.js index 9bb559f..ef9e254 100644 --- a/server/api/cmList/cmList.attributes.js +++ b/server/api/cmList/cmList.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xff80=['sequelize','STRING'];(function(_0x283c2f,_0x2d5309){var _0x3cf409=function(_0x2ad62){while(--_0x2ad62){_0x283c2f['push'](_0x283c2f['shift']());}};_0x3cf409(++_0x2d5309);}(_0xff80,0xb6));var _0x0ff8=function(_0x212ebc,_0x16db87){_0x212ebc=_0x212ebc-0x0;var _0x33e32d=_0xff80[_0x212ebc];return _0x33e32d;};'use strict';var Sequelize=require(_0x0ff8('0x0'));module['exports']={'name':{'type':Sequelize[_0x0ff8('0x1')],'unique':'name','allowNull':![],'validate':{'notEmpty':!![]}},'description':{'type':Sequelize[_0x0ff8('0x1')]},'dialPrefix':{'type':Sequelize[_0x0ff8('0x1')]}}; \ No newline at end of file +var _0x6aa7=['name','sequelize','STRING'];(function(_0x1152c5,_0x197587){var _0x117be0=function(_0x3ec740){while(--_0x3ec740){_0x1152c5['push'](_0x1152c5['shift']());}};_0x117be0(++_0x197587);}(_0x6aa7,0x178));var _0x76aa=function(_0x499452,_0x3c5f02){_0x499452=_0x499452-0x0;var _0x293249=_0x6aa7[_0x499452];return _0x293249;};'use strict';var Sequelize=require(_0x76aa('0x0'));module['exports']={'name':{'type':Sequelize[_0x76aa('0x1')],'unique':_0x76aa('0x2'),'allowNull':![],'validate':{'notEmpty':!![]}},'description':{'type':Sequelize[_0x76aa('0x1')]},'dialPrefix':{'type':Sequelize[_0x76aa('0x1')]}}; \ No newline at end of file diff --git a/server/api/cmList/cmList.controller.js b/server/api/cmList/cmList.controller.js index 2cd3f2b..c5f3fb7 100644 --- a/server/api/cmList/cmList.controller.js +++ b/server/api/cmList/cmList.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xe6cb=['CmCustomField','CustomFields','format','cf_%d','raw','isEmpty','now','writeFileSync','Content-disposition','attachment;\x20filename=','list_%d_%s.csv','setHeader','Content-type','text/csv','download','/tmp/list_%d_%s.csv','addCustomField','sequelize','addCustomFields','Sequelize','TEXT','number','INTEGER','switch','BOOLEAN','defaultValue','addColumn','cm_contacts','cf_%s','getCustomFields','findAndCountAll','addAgents','spread','emit','userCmList:save','removeAgents','userCmList:remove','getAgents','html-pdf','eml-format','rimraf','zip-dir','request-promise','moment','bluebird','mustache','sox','to-csv','lodash','jsforce','desk.js','querystring','papaparse','../../components/auth/service','../../config/utils','../../config/environment','../../mysqldb','defaults','redis','localhost','socket.io-emitter','./cmList.socket','json','count','offset','limit','status','set','reject','save','update','then','destroy','get','end','sendStatus','error','name','send','index','map','rawAttributes','fieldName','type','query','keys','filters','intersection','model','attributes','fields','length','hasOwnProperty','order','sort','pick','filter','where','merge','VIRTUAL','options','includeAll','findAll','rows','catch','show','params','CmList','include','find','create','body','Unable\x20to\x20retrieve\x20the\x20current\x20user','role','user','Lists','UserProfileSection','userProfileId','autoAssociation','UserProfileResource','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','describe','addDisposition','ListId','Disposition','findOne','nolimit','removeDispositions','ids','addContacts','CmContact','tags','isArray','join','push','each','omit','success','dataValues','message','getContacts'];(function(_0x13679e,_0x2be3a){var _0x555df5=function(_0x158261){while(--_0x158261){_0x13679e['push'](_0x13679e['shift']());}};_0x555df5(++_0x2be3a);}(_0xe6cb,0x1cd));var _0xbe6c=function(_0x525215,_0x4bb1a1){_0x525215=_0x525215-0x0;var _0x21e336=_0xe6cb[_0x525215];return _0x21e336;};'use strict';var pdf=require(_0xbe6c('0x0'));var emlformat=require(_0xbe6c('0x1'));var rimraf=require(_0xbe6c('0x2'));var zipdir=require(_0xbe6c('0x3'));var jsonpatch=require('fast-json-patch');var rp=require(_0xbe6c('0x4'));var moment=require(_0xbe6c('0x5'));var BPromise=require(_0xbe6c('0x6'));var Mustache=require(_0xbe6c('0x7'));var util=require('util');var path=require('path');var sox=require(_0xbe6c('0x8'));var csv=require(_0xbe6c('0x9'));var ejs=require('ejs');var fs=require('fs');var _=require(_0xbe6c('0xa'));var squel=require('squel');var crypto=require('crypto');var jsforce=require(_0xbe6c('0xb'));var deskjs=require(_0xbe6c('0xc'));var toCsv=require('to-csv');var querystring=require(_0xbe6c('0xd'));var Papa=require(_0xbe6c('0xe'));var Redis=require('ioredis');var authService=require(_0xbe6c('0xf'));var qs=require('../../components/parsers/qs');var as=require('../../components/parsers/advancedSearch');var hardwareService=require('../../config/license/hardware');var logger=require('../../config/logger')('api');var utils=require(_0xbe6c('0x10'));var config=require(_0xbe6c('0x11'));var db=require(_0xbe6c('0x12'))['db'];config['redis']=_[_0xbe6c('0x13')](config[_0xbe6c('0x14')],{'host':_0xbe6c('0x15'),'port':0x18eb});var socket=require(_0xbe6c('0x16'))(new Redis(config[_0xbe6c('0x14')]));require(_0xbe6c('0x17'))['register'](socket);function respondWithStatusCode(_0x11544f,_0x9e5f5c){_0x9e5f5c=_0x9e5f5c||0xcc;return function(_0x113301){if(_0x113301){return _0x11544f['sendStatus'](_0x9e5f5c);}return _0x11544f['status'](_0x9e5f5c)['end']();};}function respondWithResult(_0x4462a8,_0x36365f){_0x36365f=_0x36365f||0xc8;return function(_0x4de700){if(_0x4de700){return _0x4462a8['status'](_0x36365f)[_0xbe6c('0x18')](_0x4de700);}};}function respondWithFilteredResult(_0x58ae0d,_0x575c88){return function(_0x209dad){if(_0x209dad){var _0x2912ae=_0x209dad[_0xbe6c('0x19')],_0x5999ce=_0x575c88[_0xbe6c('0x1a')],_0x5b7d81=_0x575c88[_0xbe6c('0x1a')]+_0x575c88[_0xbe6c('0x1b')],_0x25fa84;if(_0x5b7d81>=_0x2912ae){_0x5b7d81=_0x2912ae;_0x25fa84=0xc8;}else{_0x25fa84=0xce;}_0x58ae0d[_0xbe6c('0x1c')](_0x25fa84);return _0x58ae0d[_0xbe6c('0x1d')]('Content-Range',_0x5999ce+'-'+_0x5b7d81+'/'+_0x2912ae)[_0xbe6c('0x18')](_0x209dad);}return null;};}function patchUpdates(_0x1c4332){return function(_0x4b6e8c){try{jsonpatch['apply'](_0x4b6e8c,_0x1c4332,!![]);}catch(_0x4b681d){return BPromise[_0xbe6c('0x1e')](_0x4b681d);}return _0x4b6e8c[_0xbe6c('0x1f')]();};}function saveUpdates(_0x546af6,_0x42d3a6){return function(_0x48e030){if(_0x48e030){return _0x48e030[_0xbe6c('0x20')](_0x546af6)[_0xbe6c('0x21')](function(_0x55dc05){return _0x55dc05;});}return null;};}function removeEntity(_0x5865cf,_0x5d153d){return function(_0x3c1126){if(_0x3c1126){return _0x3c1126[_0xbe6c('0x22')]()[_0xbe6c('0x21')](function(){var _0x265195=_0x3c1126[_0xbe6c('0x23')]({'plain':!![]});var _0x340b74='Lists';return db['UserProfileResource'][_0xbe6c('0x22')]({'where':{'type':_0x340b74,'resourceId':_0x265195['id']}})['then'](function(){return _0x3c1126;});})[_0xbe6c('0x21')](function(){_0x5865cf[_0xbe6c('0x1c')](0xcc)[_0xbe6c('0x24')]();});}};}function handleEntityNotFound(_0x48ef73,_0x2f5abc){return function(_0x164a40){if(!_0x164a40){_0x48ef73[_0xbe6c('0x25')](0x194);}return _0x164a40;};}function handleError(_0x31e4f2,_0xabc83f){_0xabc83f=_0xabc83f||0x1f4;return function(_0x6cf5fa){logger[_0xbe6c('0x26')](_0x6cf5fa['stack']);if(_0x6cf5fa[_0xbe6c('0x27')]){delete _0x6cf5fa['name'];}_0x31e4f2['status'](_0xabc83f)[_0xbe6c('0x28')](_0x6cf5fa);};}exports[_0xbe6c('0x29')]=function(_0x256654,_0x20420c){var _0x112707={},_0x355d4b={},_0x39f8b7={'count':0x0,'rows':[]};var _0x33c5f2=_[_0xbe6c('0x2a')](db['CmList'][_0xbe6c('0x2b')],function(_0x4eb1fd){return{'name':_0x4eb1fd[_0xbe6c('0x2c')],'type':_0x4eb1fd[_0xbe6c('0x2d')]['key']};});_0x355d4b['model']=_[_0xbe6c('0x2a')](_0x33c5f2,_0xbe6c('0x27'));_0x355d4b[_0xbe6c('0x2e')]=_[_0xbe6c('0x2f')](_0x256654[_0xbe6c('0x2e')]);_0x355d4b[_0xbe6c('0x30')]=_[_0xbe6c('0x31')](_0x355d4b[_0xbe6c('0x32')],_0x355d4b['query']);_0x112707[_0xbe6c('0x33')]=_['intersection'](_0x355d4b['model'],qs[_0xbe6c('0x34')](_0x256654[_0xbe6c('0x2e')][_0xbe6c('0x34')]));_0x112707[_0xbe6c('0x33')]=_0x112707[_0xbe6c('0x33')][_0xbe6c('0x35')]?_0x112707[_0xbe6c('0x33')]:_0x355d4b[_0xbe6c('0x32')];if(!_0x256654['query'][_0xbe6c('0x36')]('nolimit')){_0x112707[_0xbe6c('0x1b')]=qs[_0xbe6c('0x1b')](_0x256654[_0xbe6c('0x2e')][_0xbe6c('0x1b')]);_0x112707[_0xbe6c('0x1a')]=qs[_0xbe6c('0x1a')](_0x256654[_0xbe6c('0x2e')]['offset']);}_0x112707[_0xbe6c('0x37')]=qs[_0xbe6c('0x38')](_0x256654[_0xbe6c('0x2e')][_0xbe6c('0x38')]);_0x112707['where']=qs[_0xbe6c('0x30')](_[_0xbe6c('0x39')](_0x256654[_0xbe6c('0x2e')],_0x355d4b['filters']),_0x33c5f2);if(_0x256654[_0xbe6c('0x2e')][_0xbe6c('0x3a')]){_0x112707[_0xbe6c('0x3b')]=_[_0xbe6c('0x3c')](_0x112707[_0xbe6c('0x3b')],{'$or':_[_0xbe6c('0x2a')](_0x33c5f2,function(_0xbefe03){if(_0xbefe03['type']!==_0xbe6c('0x3d')){var _0x4e74a7={};_0x4e74a7[_0xbefe03[_0xbe6c('0x27')]]={'$like':'%'+_0x256654[_0xbe6c('0x2e')][_0xbe6c('0x3a')]+'%'};return _0x4e74a7;}})});}_0x112707=_[_0xbe6c('0x3c')]({},_0x112707,_0x256654[_0xbe6c('0x3e')]);var _0x1f4924={'where':_0x112707[_0xbe6c('0x3b')]};return db['CmList'][_0xbe6c('0x19')](_0x1f4924)['then'](function(_0x5535ab){_0x39f8b7[_0xbe6c('0x19')]=_0x5535ab;if(_0x256654[_0xbe6c('0x2e')][_0xbe6c('0x3f')]){_0x112707['include']=[{'all':!![]}];}return db['CmList'][_0xbe6c('0x40')](_0x112707);})[_0xbe6c('0x21')](function(_0x463856){_0x39f8b7[_0xbe6c('0x41')]=_0x463856;return _0x39f8b7;})[_0xbe6c('0x21')](respondWithFilteredResult(_0x20420c,_0x112707))[_0xbe6c('0x42')](handleError(_0x20420c,null));};exports[_0xbe6c('0x43')]=function(_0x1606ca,_0x2687f7){var _0x36e4e8={'raw':![],'where':{'id':_0x1606ca[_0xbe6c('0x44')]['id']}},_0x2722a2={};_0x2722a2[_0xbe6c('0x32')]=_[_0xbe6c('0x2f')](db[_0xbe6c('0x45')][_0xbe6c('0x2b')]);_0x2722a2[_0xbe6c('0x2e')]=_[_0xbe6c('0x2f')](_0x1606ca[_0xbe6c('0x2e')]);_0x2722a2['filters']=_[_0xbe6c('0x31')](_0x2722a2[_0xbe6c('0x32')],_0x2722a2[_0xbe6c('0x2e')]);_0x36e4e8[_0xbe6c('0x33')]=_[_0xbe6c('0x31')](_0x2722a2[_0xbe6c('0x32')],qs[_0xbe6c('0x34')](_0x1606ca[_0xbe6c('0x2e')][_0xbe6c('0x34')]));_0x36e4e8[_0xbe6c('0x33')]=_0x36e4e8[_0xbe6c('0x33')][_0xbe6c('0x35')]?_0x36e4e8[_0xbe6c('0x33')]:_0x2722a2[_0xbe6c('0x32')];if(_0x1606ca[_0xbe6c('0x2e')][_0xbe6c('0x3f')]){_0x36e4e8[_0xbe6c('0x46')]=[{'all':!![]}];}_0x36e4e8=_[_0xbe6c('0x3c')]({},_0x36e4e8,_0x1606ca[_0xbe6c('0x3e')]);return db[_0xbe6c('0x45')][_0xbe6c('0x47')](_0x36e4e8)[_0xbe6c('0x21')](handleEntityNotFound(_0x2687f7,null))[_0xbe6c('0x21')](respondWithResult(_0x2687f7,null))[_0xbe6c('0x42')](handleError(_0x2687f7,null));};exports[_0xbe6c('0x48')]=function(_0x45ee3b,_0x188123){return db['CmList']['create'](_0x45ee3b[_0xbe6c('0x49')],{})[_0xbe6c('0x21')](function(_0x1ef63e){var _0x2e908f=_0x45ee3b['user'][_0xbe6c('0x23')]({'plain':!![]});if(!_0x2e908f)throw new Error(_0xbe6c('0x4a'));if(_0x2e908f[_0xbe6c('0x4b')]===_0xbe6c('0x4c')){var _0xba2d17=_0x1ef63e[_0xbe6c('0x23')]({'plain':!![]});var _0x1df78c=_0xbe6c('0x4d');return db[_0xbe6c('0x4e')][_0xbe6c('0x47')]({'where':{'name':_0x1df78c,'userProfileId':_0x2e908f[_0xbe6c('0x4f')]},'raw':!![]})[_0xbe6c('0x21')](function(_0x39e9af){if(_0x39e9af&&_0x39e9af[_0xbe6c('0x50')]===0x0){return db[_0xbe6c('0x51')]['create']({'name':_0xba2d17[_0xbe6c('0x27')],'resourceId':_0xba2d17['id'],'type':_0x39e9af['name'],'sectionId':_0x39e9af['id']},{})['then'](function(){return _0x1ef63e;});}else{return _0x1ef63e;}})[_0xbe6c('0x42')](function(_0x29fdee){logger[_0xbe6c('0x26')](_0xbe6c('0x52'),_0x29fdee);throw _0x29fdee;});}return _0x1ef63e;})['then'](respondWithResult(_0x188123,0xc9))[_0xbe6c('0x42')](handleError(_0x188123,null));};exports[_0xbe6c('0x20')]=function(_0x34c096,_0xf0c4f4){if(_0x34c096[_0xbe6c('0x49')]['id']){delete _0x34c096[_0xbe6c('0x49')]['id'];}return db[_0xbe6c('0x45')][_0xbe6c('0x47')]({'where':{'id':_0x34c096['params']['id']}})['then'](handleEntityNotFound(_0xf0c4f4,null))[_0xbe6c('0x21')](saveUpdates(_0x34c096['body'],null))[_0xbe6c('0x21')](respondWithResult(_0xf0c4f4,null))[_0xbe6c('0x42')](handleError(_0xf0c4f4,null));};exports[_0xbe6c('0x22')]=function(_0x1356f9,_0x35ced3){return db['CmList'][_0xbe6c('0x47')]({'where':{'id':_0x1356f9[_0xbe6c('0x44')]['id']}})[_0xbe6c('0x21')](handleEntityNotFound(_0x35ced3,null))['then'](removeEntity(_0x35ced3,null))['catch'](handleError(_0x35ced3,null));};exports[_0xbe6c('0x53')]=function(_0x17b2ad,_0x5af8d7){return db[_0xbe6c('0x45')][_0xbe6c('0x53')]()[_0xbe6c('0x21')](respondWithResult(_0x5af8d7,null))[_0xbe6c('0x42')](handleError(_0x5af8d7,null));};exports[_0xbe6c('0x54')]=function(_0x59b71f,_0x2f1a6b,_0x1f3184){if(_0x59b71f['body']['id']){delete _0x59b71f[_0xbe6c('0x49')]['id'];}return db['CmList'][_0xbe6c('0x47')]({'where':{'id':_0x59b71f[_0xbe6c('0x44')]['id']}})[_0xbe6c('0x21')](handleEntityNotFound(_0x2f1a6b,null))[_0xbe6c('0x21')](function(_0xc549c9){if(_0xc549c9){_0x59b71f[_0xbe6c('0x49')][_0xbe6c('0x55')]=_0xc549c9['id'];return db[_0xbe6c('0x56')]['create'](_0x59b71f[_0xbe6c('0x49')]);}})[_0xbe6c('0x21')](respondWithResult(_0x2f1a6b,null))[_0xbe6c('0x42')](handleError(_0x2f1a6b,null));};exports['getDispositions']=function(_0x2635a8,_0x171e9c,_0xf2b242){var _0x5a4609={'raw':![],'where':{}};var _0x430de9={};var _0x2b2e60={'count':0x0,'rows':[]};return db[_0xbe6c('0x45')][_0xbe6c('0x57')]({'where':{'id':_0x2635a8[_0xbe6c('0x44')]['id']}})['then'](handleEntityNotFound(_0x171e9c,null))[_0xbe6c('0x21')](function(_0x232074){if(_0x232074){_0x430de9['model']=_[_0xbe6c('0x2f')](db[_0xbe6c('0x56')][_0xbe6c('0x2b')]);_0x430de9[_0xbe6c('0x2e')]=_[_0xbe6c('0x2f')](_0x2635a8[_0xbe6c('0x2e')]);_0x430de9[_0xbe6c('0x30')]=_['intersection'](_0x430de9[_0xbe6c('0x32')],_0x430de9[_0xbe6c('0x2e')]);_0x5a4609[_0xbe6c('0x33')]=_['intersection'](_0x430de9[_0xbe6c('0x32')],qs[_0xbe6c('0x34')](_0x2635a8[_0xbe6c('0x2e')][_0xbe6c('0x34')]));_0x5a4609[_0xbe6c('0x33')]=_0x5a4609[_0xbe6c('0x33')]['length']?_0x5a4609[_0xbe6c('0x33')]:_0x430de9[_0xbe6c('0x32')];if(!_0x2635a8[_0xbe6c('0x2e')][_0xbe6c('0x36')](_0xbe6c('0x58'))){_0x5a4609[_0xbe6c('0x1b')]=qs[_0xbe6c('0x1b')](_0x2635a8['query'][_0xbe6c('0x1b')]);_0x5a4609[_0xbe6c('0x1a')]=qs[_0xbe6c('0x1a')](_0x2635a8[_0xbe6c('0x2e')]['offset']);}_0x5a4609[_0xbe6c('0x37')]=qs[_0xbe6c('0x38')](_0x2635a8[_0xbe6c('0x2e')][_0xbe6c('0x38')]);_0x5a4609[_0xbe6c('0x3b')]=qs[_0xbe6c('0x30')](_[_0xbe6c('0x39')](_0x2635a8['query'],_0x430de9[_0xbe6c('0x30')]));_0x5a4609['where'][_0xbe6c('0x55')]=_0x232074['id'];if(_0x2635a8[_0xbe6c('0x2e')][_0xbe6c('0x3a')]){_0x5a4609['where']=_[_0xbe6c('0x3c')](_0x5a4609[_0xbe6c('0x3b')],{'$or':_['map'](_0x5a4609[_0xbe6c('0x33')],function(_0x2a9e9b){var _0xc5ba35={};_0xc5ba35[_0x2a9e9b]={'$like':'%'+_0x2635a8[_0xbe6c('0x2e')]['filter']+'%'};return _0xc5ba35;})});}_0x5a4609=_[_0xbe6c('0x3c')]({},_0x5a4609,_0x2635a8[_0xbe6c('0x3e')]);return db['Disposition'][_0xbe6c('0x19')]({'where':_0x5a4609[_0xbe6c('0x3b')]})[_0xbe6c('0x21')](function(_0x822616){_0x2b2e60[_0xbe6c('0x19')]=_0x822616;if(_0x2635a8['query'][_0xbe6c('0x3f')]){_0x5a4609[_0xbe6c('0x46')]=[{'all':!![]}];}return db['Disposition'][_0xbe6c('0x40')](_0x5a4609);})[_0xbe6c('0x21')](function(_0x3d2004){_0x2b2e60[_0xbe6c('0x41')]=_0x3d2004;return _0x2b2e60;});}})[_0xbe6c('0x21')](respondWithFilteredResult(_0x171e9c,_0x5a4609))[_0xbe6c('0x42')](handleError(_0x171e9c,null));};exports['removeDispositions']=function(_0x49eae0,_0x191a9e,_0x43ac8e){return db['CmList'][_0xbe6c('0x47')]({'where':{'id':_0x49eae0[_0xbe6c('0x44')]['id']}})[_0xbe6c('0x21')](handleEntityNotFound(_0x191a9e,null))[_0xbe6c('0x21')](function(_0x1dee17){if(_0x1dee17){return _0x1dee17[_0xbe6c('0x59')](_0x49eae0['query'][_0xbe6c('0x5a')]);}})[_0xbe6c('0x21')](respondWithStatusCode(_0x191a9e,null))[_0xbe6c('0x42')](handleError(_0x191a9e,null));};exports[_0xbe6c('0x5b')]=function(_0x1d102a,_0x23a0d5,_0x3041a7){return db[_0xbe6c('0x45')][_0xbe6c('0x47')]({'where':{'id':_0x1d102a[_0xbe6c('0x44')]['id']}})['then'](handleEntityNotFound(_0x23a0d5,null))['then'](function(_0x1c5889){if(_0x1c5889){var _0x105778=[];var _0x45953a={'success':[],'errors':[]};return db[_0xbe6c('0x5c')][_0xbe6c('0x53')]()[_0xbe6c('0x21')](function(_0x58be74){if(_0x1d102a['body'][_0xbe6c('0x5d')]&&_[_0xbe6c('0x5e')](_0x1d102a['body'][_0xbe6c('0x5d')])){if(_0x1d102a['body'][_0xbe6c('0x5d')]['length']){_0x1d102a[_0xbe6c('0x49')][_0xbe6c('0x5d')]=_0x1d102a[_0xbe6c('0x49')]['tags'][_0xbe6c('0x5f')](';')+';';}else{_0x1d102a['body'][_0xbe6c('0x5d')]=null;}}else{_0x1d102a['body'][_0xbe6c('0x5d')]=null;}if(_0x1d102a[_0xbe6c('0x49')]&&_[_0xbe6c('0x5e')](_0x1d102a[_0xbe6c('0x49')])){for(var _0x170caf=0x0;_0x170caf<_0x1d102a[_0xbe6c('0x49')][_0xbe6c('0x35')];_0x170caf+=0x1){_0x1d102a[_0xbe6c('0x49')][_0x170caf][_0xbe6c('0x55')]=_0x1d102a[_0xbe6c('0x44')]['id'];_0x105778[_0xbe6c('0x60')](_0x1d102a[_0xbe6c('0x49')][_0x170caf]);}return BPromise[_0xbe6c('0x61')](_0x105778,function(_0x1e95eb){return db[_0xbe6c('0x5c')][_0xbe6c('0x48')](_[_0xbe6c('0x62')](_0x1e95eb,[_0xbe6c('0x5a'),'id'])||{},{'fields':_[_0xbe6c('0x2f')](_0x58be74),'raw':!![]})[_0xbe6c('0x21')](function(_0x1d7b2b){_0x45953a[_0xbe6c('0x63')]['push'](_0x1d7b2b[_0xbe6c('0x64')]);})[_0xbe6c('0x42')](function(_0x871da4){_0x45953a['errors']['push']({'data':_0x1e95eb,'error':_0x871da4[_0xbe6c('0x65')]});});})['then'](function(_0x3e80e2){return _0x45953a;})[_0xbe6c('0x42')](function(_0x25142a){return _0x25142a;});}else{_0x23a0d5[_0xbe6c('0x1c')](0x190)[_0xbe6c('0x18')]({'message':'Malformed\x20request\x20syntax'});}});}})['then'](respondWithResult(_0x23a0d5,null))[_0xbe6c('0x42')](handleError(_0x23a0d5,null));};exports[_0xbe6c('0x66')]=function(_0x297f9e,_0x516c3d,_0x9a6554){var _0x3c2243;return db['CmList'][_0xbe6c('0x47')]({'where':{'id':_0x297f9e[_0xbe6c('0x44')]['id']},'include':[{'model':db[_0xbe6c('0x67')],'as':_0xbe6c('0x68')}]})[_0xbe6c('0x21')](handleEntityNotFound(_0x516c3d,null))[_0xbe6c('0x21')](function(_0x4ca638){if(_0x4ca638){_0x3c2243=_0x4ca638;return db[_0xbe6c('0x5c')][_0xbe6c('0x2b')];}})[_0xbe6c('0x21')](function(_0x55a2fb){if(_0x55a2fb){var _0x292498={};var _0x570483={};_0x570483['model']=_['concat'](_['keys'](_0x55a2fb),_[_0xbe6c('0x2a')](_0x3c2243[_0xbe6c('0x68')],function(_0x1e4f97){return util[_0xbe6c('0x69')](_0xbe6c('0x6a'),_0x1e4f97['id']);}));_0x570483['query']=_[_0xbe6c('0x2f')](_0x297f9e[_0xbe6c('0x2e')]);_0x570483[_0xbe6c('0x30')]=_[_0xbe6c('0x31')](_0x570483[_0xbe6c('0x32')],_0x570483[_0xbe6c('0x2e')]);_0x292498[_0xbe6c('0x33')]=_[_0xbe6c('0x31')](_0x570483[_0xbe6c('0x32')],qs[_0xbe6c('0x34')](_0x297f9e['query'][_0xbe6c('0x34')]));_0x292498['attributes']=_0x292498['attributes'][_0xbe6c('0x35')]?_0x292498[_0xbe6c('0x33')]:_0x570483[_0xbe6c('0x32')];if(!_0x297f9e[_0xbe6c('0x2e')][_0xbe6c('0x36')](_0xbe6c('0x58'))){_0x292498[_0xbe6c('0x1b')]=qs[_0xbe6c('0x1b')](_0x297f9e['query'][_0xbe6c('0x1b')]);_0x292498[_0xbe6c('0x1a')]=qs[_0xbe6c('0x1a')](_0x297f9e['query'][_0xbe6c('0x1a')]);}_0x292498['order']=qs[_0xbe6c('0x38')](_0x297f9e[_0xbe6c('0x2e')]['sort']);_0x292498['where']=qs['filters'](_['pick'](_0x297f9e[_0xbe6c('0x2e')],_0x570483[_0xbe6c('0x30')]));_0x292498[_0xbe6c('0x6b')]=!![];if(_0x297f9e[_0xbe6c('0x2e')]['filter']){_0x292498[_0xbe6c('0x3b')]=_['merge'](_0x292498[_0xbe6c('0x3b')],{'$or':_[_0xbe6c('0x2a')](_0x292498[_0xbe6c('0x33')],function(_0x110002){var _0x117062={};_0x117062[_0x110002]={'$like':'%'+_0x297f9e[_0xbe6c('0x2e')][_0xbe6c('0x3a')]+'%'};return _0x117062;})});}_0x292498=_['merge']({},_0x292498,_0x297f9e[_0xbe6c('0x3e')]);return _0x3c2243[_0xbe6c('0x66')](_0x292498);}})[_0xbe6c('0x21')](respondWithResult(_0x516c3d,null))['catch'](handleError(_0x516c3d,null));};exports['getContactsCsv']=function(_0xbf19e6,_0x4b303c,_0x32461c){var _0x15e7a0;return db[_0xbe6c('0x45')]['find']({'where':{'id':_0xbf19e6['params']['id']},'include':[{'model':db[_0xbe6c('0x67')],'as':_0xbe6c('0x68')}]})[_0xbe6c('0x21')](handleEntityNotFound(_0x4b303c,null))[_0xbe6c('0x21')](function(_0x5b781d){if(_0x5b781d){_0x15e7a0=_0x5b781d;return db[_0xbe6c('0x5c')][_0xbe6c('0x2b')];}})[_0xbe6c('0x21')](function(_0xc4bde8){if(_0xc4bde8){var _0x17d4c7={};var _0x5f3e37={};_0x5f3e37[_0xbe6c('0x32')]=_['concat'](_['keys'](_0xc4bde8),_[_0xbe6c('0x2a')](_0x15e7a0[_0xbe6c('0x68')],function(_0x829dfd){return util[_0xbe6c('0x69')](_0xbe6c('0x6a'),_0x829dfd['id']);}));_0x5f3e37[_0xbe6c('0x2e')]=_[_0xbe6c('0x2f')](_0xbf19e6[_0xbe6c('0x2e')]);_0x5f3e37['filters']=_[_0xbe6c('0x31')](_0x5f3e37[_0xbe6c('0x32')],_0x5f3e37[_0xbe6c('0x2e')]);_0x17d4c7['attributes']=_[_0xbe6c('0x31')](_0x5f3e37[_0xbe6c('0x32')],qs[_0xbe6c('0x34')](_0xbf19e6[_0xbe6c('0x2e')]['fields']));_0x17d4c7[_0xbe6c('0x33')]=_0x17d4c7[_0xbe6c('0x33')][_0xbe6c('0x35')]?_0x17d4c7[_0xbe6c('0x33')]:_0x5f3e37[_0xbe6c('0x32')];if(!_0xbf19e6['query'][_0xbe6c('0x36')](_0xbe6c('0x58'))){_0x17d4c7['limit']=qs[_0xbe6c('0x1b')](_0xbf19e6[_0xbe6c('0x2e')]['limit']);_0x17d4c7[_0xbe6c('0x1a')]=qs[_0xbe6c('0x1a')](_0xbf19e6['query'][_0xbe6c('0x1a')]);}_0x17d4c7[_0xbe6c('0x37')]=qs[_0xbe6c('0x38')](_0xbf19e6[_0xbe6c('0x2e')][_0xbe6c('0x38')]);_0x17d4c7[_0xbe6c('0x3b')]=qs[_0xbe6c('0x30')](_[_0xbe6c('0x39')](_0xbf19e6['query'],_0x5f3e37[_0xbe6c('0x30')]));_0x17d4c7['raw']=!![];if(_0xbf19e6['query'][_0xbe6c('0x3a')]){_0x17d4c7[_0xbe6c('0x3b')]=_[_0xbe6c('0x3c')](_0x17d4c7['where'],{'$or':_[_0xbe6c('0x2a')](_0x17d4c7['attributes'],function(_0x2f3899){var _0x450458={};_0x450458[_0x2f3899]={'$like':'%'+_0xbf19e6[_0xbe6c('0x2e')]['filter']+'%'};return _0x450458;})});}_0x17d4c7=_[_0xbe6c('0x3c')]({},_0x17d4c7,_0xbf19e6[_0xbe6c('0x3e')]);return _0x15e7a0[_0xbe6c('0x66')](_0x17d4c7);}})['then'](function(_0x8ecd2c){if(!_[_0xbe6c('0x6c')](_0x8ecd2c)){var _0x2e87dc=toCsv(_0x8ecd2c);var _0x24d9f4=Date[_0xbe6c('0x6d')]();fs[_0xbe6c('0x6e')](util[_0xbe6c('0x69')]('/tmp/list_%d_%s.csv',_0x15e7a0['id'],_0x24d9f4),_0x2e87dc);_0x4b303c['setHeader'](_0xbe6c('0x6f'),_0xbe6c('0x70')+util[_0xbe6c('0x69')](_0xbe6c('0x71'),_0x15e7a0['id'],_0x24d9f4));_0x4b303c[_0xbe6c('0x72')](_0xbe6c('0x73'),_0xbe6c('0x74'));return _0x4b303c[_0xbe6c('0x75')](util['format'](_0xbe6c('0x76'),_0x15e7a0['id'],_0x24d9f4));}else{return _0x4b303c[_0xbe6c('0x25')](0xcc);}})[_0xbe6c('0x42')](handleError(_0x4b303c,null));};exports[_0xbe6c('0x77')]=function(_0x4f07df,_0x537958,_0xd2d89e){var _0x3f1497;delete _0x4f07df[_0xbe6c('0x49')]['id'];return db[_0xbe6c('0x45')][_0xbe6c('0x57')]({'where':{'id':_0x4f07df[_0xbe6c('0x44')]['id']}})[_0xbe6c('0x21')](handleEntityNotFound(_0x537958,null))[_0xbe6c('0x21')](function(_0x4750d2){if(_0x4750d2){return db[_0xbe6c('0x78')]['transaction'](function(_0x251f5f){return db[_0xbe6c('0x67')][_0xbe6c('0x48')](_0x4f07df[_0xbe6c('0x49')],{'transaction':_0x251f5f})[_0xbe6c('0x21')](function(_0x12e572){_0x3f1497=_0x12e572;return _0x4750d2[_0xbe6c('0x79')](_0x12e572,{'transaction':_0x251f5f});})[_0xbe6c('0x21')](function(){var _0x579f3c={'type':db[_0xbe6c('0x7a')][_0xbe6c('0x7b')],'transaction':_0x251f5f};switch(_0x4f07df[_0xbe6c('0x49')][_0xbe6c('0x2d')]){case'text':_0x579f3c[_0xbe6c('0x2d')]=db[_0xbe6c('0x7a')][_0xbe6c('0x7b')];break;case _0xbe6c('0x7c'):_0x579f3c[_0xbe6c('0x2d')]=db[_0xbe6c('0x7a')][_0xbe6c('0x7d')];break;case _0xbe6c('0x7e'):_0x579f3c[_0xbe6c('0x2d')]=db['Sequelize'][_0xbe6c('0x7f')];_0x579f3c[_0xbe6c('0x80')]=![];break;default:}return db['sequelize']['queryInterface'][_0xbe6c('0x81')](_0xbe6c('0x82'),util[_0xbe6c('0x69')](_0xbe6c('0x83'),_0x3f1497['id']),_0x579f3c);})[_0xbe6c('0x21')](function(){return _0x3f1497;});});}})[_0xbe6c('0x21')](respondWithResult(_0x537958,null))[_0xbe6c('0x42')](handleError(_0x537958,null));};exports[_0xbe6c('0x84')]=function(_0x364390,_0x5229ff,_0x2c9d50){var _0x5d4318={};var _0x57364d={};var _0x2ab69c;var _0x2de972;return db['CmList'][_0xbe6c('0x57')]({'where':{'id':_0x364390['params']['id']}})[_0xbe6c('0x21')](handleEntityNotFound(_0x5229ff,null))[_0xbe6c('0x21')](function(_0x343035){if(_0x343035){_0x2ab69c=_0x343035;_0x57364d[_0xbe6c('0x32')]=_[_0xbe6c('0x2f')](db['CmCustomField'][_0xbe6c('0x2b')]);_0x57364d[_0xbe6c('0x2e')]=_['keys'](_0x364390[_0xbe6c('0x2e')]);_0x57364d['filters']=_[_0xbe6c('0x31')](_0x57364d[_0xbe6c('0x32')],_0x57364d[_0xbe6c('0x2e')]);_0x5d4318['attributes']=_[_0xbe6c('0x31')](_0x57364d[_0xbe6c('0x32')],qs[_0xbe6c('0x34')](_0x364390['query'][_0xbe6c('0x34')]));_0x5d4318['attributes']=_0x5d4318[_0xbe6c('0x33')][_0xbe6c('0x35')]?_0x5d4318[_0xbe6c('0x33')]:_0x57364d['model'];_0x5d4318[_0xbe6c('0x37')]=qs[_0xbe6c('0x38')](_0x364390['query'][_0xbe6c('0x38')]);_0x5d4318[_0xbe6c('0x3b')]=qs['filters'](_[_0xbe6c('0x39')](_0x364390[_0xbe6c('0x2e')],_0x57364d[_0xbe6c('0x30')]));_0x5d4318[_0xbe6c('0x3b')]=_[_0xbe6c('0x3c')](_0x5d4318[_0xbe6c('0x3b')],{'$or':[{'ListId':_0x343035['id']},{'ListId':null}]});if(_0x364390[_0xbe6c('0x2e')][_0xbe6c('0x3a')]){_0x5d4318[_0xbe6c('0x3b')]=_[_0xbe6c('0x3c')](_0x5d4318[_0xbe6c('0x3b')],{'$or':_['map'](_0x5d4318[_0xbe6c('0x33')],function(_0x4262e0){var _0x21a9ac={};_0x21a9ac[_0x4262e0]={'$like':'%'+_0x364390[_0xbe6c('0x2e')]['filter']+'%'};return _0x21a9ac;})});}_0x5d4318=_['merge']({},_0x5d4318,_0x364390['options']);return db[_0xbe6c('0x67')][_0xbe6c('0x85')](_0x5d4318);}})[_0xbe6c('0x21')](respondWithResult(_0x5229ff,null))[_0xbe6c('0x42')](handleError(_0x5229ff,null));};exports[_0xbe6c('0x86')]=function(_0x1eade7,_0x378943,_0x406ffc){return db[_0xbe6c('0x45')][_0xbe6c('0x47')]({'where':{'id':_0x1eade7['params']['id']}})[_0xbe6c('0x21')](handleEntityNotFound(_0x378943,null))['then'](function(_0x461920){if(_0x461920){return _0x461920[_0xbe6c('0x86')](_0x1eade7[_0xbe6c('0x49')]['ids'],_['omit'](_0x1eade7[_0xbe6c('0x49')],['ids','id'])||{})[_0xbe6c('0x87')](function(_0x2a1be3){for(var _0xd410f5=0x0;_0xd410f5<_0x1eade7[_0xbe6c('0x49')][_0xbe6c('0x5a')][_0xbe6c('0x35')];_0xd410f5+=0x1){socket[_0xbe6c('0x88')](_0xbe6c('0x89'),{'UserId':_0x1eade7[_0xbe6c('0x49')][_0xbe6c('0x5a')][_0xd410f5],'CmListId':_0x1eade7[_0xbe6c('0x44')]['id']});}return _0x2a1be3;});}})['then'](respondWithResult(_0x378943,null))[_0xbe6c('0x42')](handleError(_0x378943,null));};exports[_0xbe6c('0x8a')]=function(_0x20fb7e,_0x2d301b,_0x595072){return db[_0xbe6c('0x45')][_0xbe6c('0x47')]({'where':{'id':_0x20fb7e[_0xbe6c('0x44')]['id']}})[_0xbe6c('0x21')](handleEntityNotFound(_0x2d301b,null))[_0xbe6c('0x21')](function(_0x2e8654){if(_0x2e8654){return _0x2e8654['removeAgents'](_0x20fb7e[_0xbe6c('0x2e')][_0xbe6c('0x5a')])[_0xbe6c('0x21')](function(){if(_['isArray'](_0x20fb7e['query'][_0xbe6c('0x5a')])){for(var _0x57c527=0x0;_0x57c527<_0x20fb7e['query'][_0xbe6c('0x5a')][_0xbe6c('0x35')];_0x57c527+=0x1){socket[_0xbe6c('0x88')](_0xbe6c('0x8b'),{'UserId':Number(_0x20fb7e['query']['ids'][_0x57c527]),'CmListId':Number(_0x20fb7e[_0xbe6c('0x44')]['id'])});}}else{socket[_0xbe6c('0x88')](_0xbe6c('0x8b'),{'UserId':Number(_0x20fb7e[_0xbe6c('0x2e')][_0xbe6c('0x5a')]),'CmListId':Number(_0x20fb7e[_0xbe6c('0x44')]['id'])});}});}})[_0xbe6c('0x21')](respondWithStatusCode(_0x2d301b,null))[_0xbe6c('0x42')](handleError(_0x2d301b,null));};exports[_0xbe6c('0x8c')]=function(_0x5d0881,_0x56c20e,_0x2c111c){var _0x58fd70={};var _0x485ad8={};var _0x3d9643;var _0xc55135;return db[_0xbe6c('0x45')]['findOne']({'where':{'id':_0x5d0881['params']['id']}})['then'](handleEntityNotFound(_0x56c20e,null))[_0xbe6c('0x21')](function(_0x80eb74){if(_0x80eb74){_0x3d9643=_0x80eb74;_0x485ad8[_0xbe6c('0x32')]=_[_0xbe6c('0x2f')](db['User'][_0xbe6c('0x2b')]);_0x485ad8['query']=_[_0xbe6c('0x2f')](_0x5d0881[_0xbe6c('0x2e')]);_0x485ad8['filters']=_[_0xbe6c('0x31')](_0x485ad8[_0xbe6c('0x32')],_0x485ad8['query']);_0x58fd70['attributes']=_[_0xbe6c('0x31')](_0x485ad8['model'],qs[_0xbe6c('0x34')](_0x5d0881[_0xbe6c('0x2e')]['fields']));_0x58fd70[_0xbe6c('0x33')]=_0x58fd70[_0xbe6c('0x33')]['length']?_0x58fd70[_0xbe6c('0x33')]:_0x485ad8['model'];_0x58fd70['order']=qs[_0xbe6c('0x38')](_0x5d0881[_0xbe6c('0x2e')][_0xbe6c('0x38')]);_0x58fd70[_0xbe6c('0x3b')]=qs['filters'](_[_0xbe6c('0x39')](_0x5d0881['query'],_0x485ad8['filters']));if(_0x5d0881[_0xbe6c('0x2e')]['filter']){_0x58fd70[_0xbe6c('0x3b')]=_['merge'](_0x58fd70[_0xbe6c('0x3b')],{'$or':_[_0xbe6c('0x2a')](_0x58fd70[_0xbe6c('0x33')],function(_0x5b5006){var _0x237c6f={};_0x237c6f[_0x5b5006]={'$like':'%'+_0x5d0881[_0xbe6c('0x2e')][_0xbe6c('0x3a')]+'%'};return _0x237c6f;})});}_0x58fd70=_['merge']({},_0x58fd70,_0x5d0881[_0xbe6c('0x3e')]);return _0x3d9643[_0xbe6c('0x8c')](_0x58fd70);}})[_0xbe6c('0x21')](function(_0x28798a){if(_0x28798a){_0xc55135=_0x28798a['length'];if(!_0x5d0881['query'][_0xbe6c('0x36')](_0xbe6c('0x58'))){_0x58fd70[_0xbe6c('0x1b')]=qs[_0xbe6c('0x1b')](_0x5d0881['query'][_0xbe6c('0x1b')]);_0x58fd70[_0xbe6c('0x1a')]=qs[_0xbe6c('0x1a')](_0x5d0881[_0xbe6c('0x2e')][_0xbe6c('0x1a')]);}return _0x3d9643['getAgents'](_0x58fd70);}})[_0xbe6c('0x21')](function(_0x271d65){if(_0x271d65){return _0x271d65?{'count':_0xc55135,'rows':_0x271d65}:null;}})[_0xbe6c('0x21')](respondWithResult(_0x56c20e,null))[_0xbe6c('0x42')](handleError(_0x56c20e,null));}; \ No newline at end of file +var _0xe8a5=['ListId','Disposition','length','nolimit','removeDispositions','ids','addContacts','CmContact','tags','isArray','join','push','dataValues','errors','Malformed\x20request\x20syntax','getContacts','CmCustomField','CustomFields','concat','cf_%d','raw','getContactsCsv','isEmpty','now','writeFileSync','format','/tmp/list_%d_%s.csv','setHeader','Content-disposition','attachment;\x20filename=','list_%d_%s.csv','Content-type','text/csv','download','addCustomField','findOne','sequelize','transaction','addCustomFields','TEXT','text','Sequelize','number','INTEGER','switch','BOOLEAN','defaultValue','queryInterface','addColumn','cm_contacts','cf_%s','getCustomFields','findAndCountAll','addAgents','spread','emit','userCmList:save','userCmList:remove','getAgents','User','html-pdf','eml-format','rimraf','zip-dir','request-promise','moment','bluebird','mustache','util','path','sox','to-csv','ejs','lodash','squel','crypto','jsforce','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../mysqldb','redis','localhost','socket.io-emitter','./cmList.socket','register','status','json','count','limit','set','save','update','then','Lists','UserProfileResource','destroy','end','sendStatus','error','stack','name','index','fieldName','key','model','map','query','attributes','intersection','fields','hasOwnProperty','offset','order','sort','where','filters','pick','filter','merge','type','VIRTUAL','options','CmList','findAll','rows','catch','show','keys','rawAttributes','includeAll','include','find','create','body','user','get','Unable\x20to\x20retrieve\x20the\x20current\x20user','role','UserProfileSection','userProfileId','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','params','describe','addDisposition'];(function(_0x3a4f18,_0x1af741){var _0x4c20fc=function(_0x27115f){while(--_0x27115f){_0x3a4f18['push'](_0x3a4f18['shift']());}};_0x4c20fc(++_0x1af741);}(_0xe8a5,0xd5));var _0x5e8a=function(_0x128d08,_0x37e287){_0x128d08=_0x128d08-0x0;var _0x1cb719=_0xe8a5[_0x128d08];return _0x1cb719;};'use strict';var pdf=require(_0x5e8a('0x0'));var emlformat=require(_0x5e8a('0x1'));var rimraf=require(_0x5e8a('0x2'));var zipdir=require(_0x5e8a('0x3'));var jsonpatch=require('fast-json-patch');var rp=require(_0x5e8a('0x4'));var moment=require(_0x5e8a('0x5'));var BPromise=require(_0x5e8a('0x6'));var Mustache=require(_0x5e8a('0x7'));var util=require(_0x5e8a('0x8'));var path=require(_0x5e8a('0x9'));var sox=require(_0x5e8a('0xa'));var csv=require(_0x5e8a('0xb'));var ejs=require(_0x5e8a('0xc'));var fs=require('fs');var _=require(_0x5e8a('0xd'));var squel=require(_0x5e8a('0xe'));var crypto=require(_0x5e8a('0xf'));var jsforce=require(_0x5e8a('0x10'));var deskjs=require(_0x5e8a('0x11'));var toCsv=require(_0x5e8a('0xb'));var querystring=require(_0x5e8a('0x12'));var Papa=require(_0x5e8a('0x13'));var Redis=require(_0x5e8a('0x14'));var authService=require(_0x5e8a('0x15'));var qs=require(_0x5e8a('0x16'));var as=require(_0x5e8a('0x17'));var hardwareService=require(_0x5e8a('0x18'));var logger=require(_0x5e8a('0x19'))(_0x5e8a('0x1a'));var utils=require(_0x5e8a('0x1b'));var config=require('../../config/environment');var db=require(_0x5e8a('0x1c'))['db'];config['redis']=_['defaults'](config[_0x5e8a('0x1d')],{'host':_0x5e8a('0x1e'),'port':0x18eb});var socket=require(_0x5e8a('0x1f'))(new Redis(config[_0x5e8a('0x1d')]));require(_0x5e8a('0x20'))[_0x5e8a('0x21')](socket);function respondWithStatusCode(_0x1ae2e9,_0x4af7ba){_0x4af7ba=_0x4af7ba||0xcc;return function(_0x1d3639){if(_0x1d3639){return _0x1ae2e9['sendStatus'](_0x4af7ba);}return _0x1ae2e9[_0x5e8a('0x22')](_0x4af7ba)['end']();};}function respondWithResult(_0x20bca2,_0x509eff){_0x509eff=_0x509eff||0xc8;return function(_0x1c8c62){if(_0x1c8c62){return _0x20bca2[_0x5e8a('0x22')](_0x509eff)[_0x5e8a('0x23')](_0x1c8c62);}};}function respondWithFilteredResult(_0x5b6b27,_0x52e13d){return function(_0x1b6fec){if(_0x1b6fec){var _0x183be2=_0x1b6fec[_0x5e8a('0x24')],_0x59d9e3=_0x52e13d['offset'],_0x2bde9c=_0x52e13d['offset']+_0x52e13d[_0x5e8a('0x25')],_0x5b4329;if(_0x2bde9c>=_0x183be2){_0x2bde9c=_0x183be2;_0x5b4329=0xc8;}else{_0x5b4329=0xce;}_0x5b6b27[_0x5e8a('0x22')](_0x5b4329);return _0x5b6b27[_0x5e8a('0x26')]('Content-Range',_0x59d9e3+'-'+_0x2bde9c+'/'+_0x183be2)[_0x5e8a('0x23')](_0x1b6fec);}return null;};}function patchUpdates(_0x332fb6){return function(_0x295724){try{jsonpatch['apply'](_0x295724,_0x332fb6,!![]);}catch(_0x18bbf9){return BPromise['reject'](_0x18bbf9);}return _0x295724[_0x5e8a('0x27')]();};}function saveUpdates(_0x38e13d,_0x1c656c){return function(_0x3b6b5c){if(_0x3b6b5c){return _0x3b6b5c[_0x5e8a('0x28')](_0x38e13d)[_0x5e8a('0x29')](function(_0x1a9a12){return _0x1a9a12;});}return null;};}function removeEntity(_0x2da072,_0x27d785){return function(_0x3ba174){if(_0x3ba174){return _0x3ba174['destroy']()['then'](function(){var _0x2b4229=_0x3ba174['get']({'plain':!![]});var _0x16b890=_0x5e8a('0x2a');return db[_0x5e8a('0x2b')][_0x5e8a('0x2c')]({'where':{'type':_0x16b890,'resourceId':_0x2b4229['id']}})[_0x5e8a('0x29')](function(){return _0x3ba174;});})['then'](function(){_0x2da072[_0x5e8a('0x22')](0xcc)[_0x5e8a('0x2d')]();});}};}function handleEntityNotFound(_0x53c285,_0x1c477c){return function(_0x1cdb69){if(!_0x1cdb69){_0x53c285[_0x5e8a('0x2e')](0x194);}return _0x1cdb69;};}function handleError(_0x4947a5,_0x23b603){_0x23b603=_0x23b603||0x1f4;return function(_0x12c006){logger[_0x5e8a('0x2f')](_0x12c006[_0x5e8a('0x30')]);if(_0x12c006['name']){delete _0x12c006[_0x5e8a('0x31')];}_0x4947a5[_0x5e8a('0x22')](_0x23b603)['send'](_0x12c006);};}exports[_0x5e8a('0x32')]=function(_0x24a91a,_0x3be41e){var _0x398dd2={},_0x1b094f={},_0x2068c0={'count':0x0,'rows':[]};var _0xb830f=_['map'](db['CmList']['rawAttributes'],function(_0x464040){return{'name':_0x464040[_0x5e8a('0x33')],'type':_0x464040['type'][_0x5e8a('0x34')]};});_0x1b094f[_0x5e8a('0x35')]=_[_0x5e8a('0x36')](_0xb830f,_0x5e8a('0x31'));_0x1b094f[_0x5e8a('0x37')]=_['keys'](_0x24a91a['query']);_0x1b094f['filters']=_['intersection'](_0x1b094f[_0x5e8a('0x35')],_0x1b094f[_0x5e8a('0x37')]);_0x398dd2[_0x5e8a('0x38')]=_[_0x5e8a('0x39')](_0x1b094f[_0x5e8a('0x35')],qs['fields'](_0x24a91a[_0x5e8a('0x37')][_0x5e8a('0x3a')]));_0x398dd2[_0x5e8a('0x38')]=_0x398dd2['attributes']['length']?_0x398dd2[_0x5e8a('0x38')]:_0x1b094f[_0x5e8a('0x35')];if(!_0x24a91a[_0x5e8a('0x37')][_0x5e8a('0x3b')]('nolimit')){_0x398dd2[_0x5e8a('0x25')]=qs[_0x5e8a('0x25')](_0x24a91a['query'][_0x5e8a('0x25')]);_0x398dd2[_0x5e8a('0x3c')]=qs[_0x5e8a('0x3c')](_0x24a91a['query'][_0x5e8a('0x3c')]);}_0x398dd2[_0x5e8a('0x3d')]=qs['sort'](_0x24a91a[_0x5e8a('0x37')][_0x5e8a('0x3e')]);_0x398dd2[_0x5e8a('0x3f')]=qs[_0x5e8a('0x40')](_[_0x5e8a('0x41')](_0x24a91a[_0x5e8a('0x37')],_0x1b094f[_0x5e8a('0x40')]),_0xb830f);if(_0x24a91a[_0x5e8a('0x37')][_0x5e8a('0x42')]){_0x398dd2[_0x5e8a('0x3f')]=_[_0x5e8a('0x43')](_0x398dd2[_0x5e8a('0x3f')],{'$or':_['map'](_0xb830f,function(_0x2e0f20){if(_0x2e0f20[_0x5e8a('0x44')]!==_0x5e8a('0x45')){var _0x3f0414={};_0x3f0414[_0x2e0f20['name']]={'$like':'%'+_0x24a91a[_0x5e8a('0x37')][_0x5e8a('0x42')]+'%'};return _0x3f0414;}})});}_0x398dd2=_[_0x5e8a('0x43')]({},_0x398dd2,_0x24a91a[_0x5e8a('0x46')]);var _0x556efa={'where':_0x398dd2[_0x5e8a('0x3f')]};return db[_0x5e8a('0x47')][_0x5e8a('0x24')](_0x556efa)[_0x5e8a('0x29')](function(_0xb1d206){_0x2068c0['count']=_0xb1d206;if(_0x24a91a['query']['includeAll']){_0x398dd2['include']=[{'all':!![]}];}return db['CmList'][_0x5e8a('0x48')](_0x398dd2);})[_0x5e8a('0x29')](function(_0x4285ec){_0x2068c0[_0x5e8a('0x49')]=_0x4285ec;return _0x2068c0;})[_0x5e8a('0x29')](respondWithFilteredResult(_0x3be41e,_0x398dd2))[_0x5e8a('0x4a')](handleError(_0x3be41e,null));};exports[_0x5e8a('0x4b')]=function(_0x4e6461,_0x45ff1c){var _0x229baf={'raw':![],'where':{'id':_0x4e6461['params']['id']}},_0x54b929={};_0x54b929[_0x5e8a('0x35')]=_[_0x5e8a('0x4c')](db[_0x5e8a('0x47')][_0x5e8a('0x4d')]);_0x54b929[_0x5e8a('0x37')]=_['keys'](_0x4e6461[_0x5e8a('0x37')]);_0x54b929[_0x5e8a('0x40')]=_['intersection'](_0x54b929[_0x5e8a('0x35')],_0x54b929[_0x5e8a('0x37')]);_0x229baf['attributes']=_['intersection'](_0x54b929[_0x5e8a('0x35')],qs[_0x5e8a('0x3a')](_0x4e6461['query']['fields']));_0x229baf[_0x5e8a('0x38')]=_0x229baf[_0x5e8a('0x38')]['length']?_0x229baf[_0x5e8a('0x38')]:_0x54b929['model'];if(_0x4e6461['query'][_0x5e8a('0x4e')]){_0x229baf[_0x5e8a('0x4f')]=[{'all':!![]}];}_0x229baf=_['merge']({},_0x229baf,_0x4e6461[_0x5e8a('0x46')]);return db[_0x5e8a('0x47')][_0x5e8a('0x50')](_0x229baf)[_0x5e8a('0x29')](handleEntityNotFound(_0x45ff1c,null))['then'](respondWithResult(_0x45ff1c,null))[_0x5e8a('0x4a')](handleError(_0x45ff1c,null));};exports[_0x5e8a('0x51')]=function(_0x257b18,_0x4f2f60){return db['CmList'][_0x5e8a('0x51')](_0x257b18[_0x5e8a('0x52')],{})[_0x5e8a('0x29')](function(_0x41e1bd){var _0x381ad8=_0x257b18[_0x5e8a('0x53')][_0x5e8a('0x54')]({'plain':!![]});if(!_0x381ad8)throw new Error(_0x5e8a('0x55'));if(_0x381ad8[_0x5e8a('0x56')]===_0x5e8a('0x53')){var _0x15bf2e=_0x41e1bd[_0x5e8a('0x54')]({'plain':!![]});var _0x582b1d=_0x5e8a('0x2a');return db[_0x5e8a('0x57')]['find']({'where':{'name':_0x582b1d,'userProfileId':_0x381ad8[_0x5e8a('0x58')]},'raw':!![]})[_0x5e8a('0x29')](function(_0x2e27c1){if(_0x2e27c1&&_0x2e27c1['autoAssociation']===0x0){return db[_0x5e8a('0x2b')]['create']({'name':_0x15bf2e[_0x5e8a('0x31')],'resourceId':_0x15bf2e['id'],'type':_0x2e27c1[_0x5e8a('0x31')],'sectionId':_0x2e27c1['id']},{})['then'](function(){return _0x41e1bd;});}else{return _0x41e1bd;}})[_0x5e8a('0x4a')](function(_0x1385ef){logger[_0x5e8a('0x2f')](_0x5e8a('0x59'),_0x1385ef);throw _0x1385ef;});}return _0x41e1bd;})[_0x5e8a('0x29')](respondWithResult(_0x4f2f60,0xc9))[_0x5e8a('0x4a')](handleError(_0x4f2f60,null));};exports[_0x5e8a('0x28')]=function(_0x3985e2,_0x3fe1fd){if(_0x3985e2['body']['id']){delete _0x3985e2[_0x5e8a('0x52')]['id'];}return db['CmList'][_0x5e8a('0x50')]({'where':{'id':_0x3985e2[_0x5e8a('0x5a')]['id']}})[_0x5e8a('0x29')](handleEntityNotFound(_0x3fe1fd,null))[_0x5e8a('0x29')](saveUpdates(_0x3985e2['body'],null))[_0x5e8a('0x29')](respondWithResult(_0x3fe1fd,null))[_0x5e8a('0x4a')](handleError(_0x3fe1fd,null));};exports[_0x5e8a('0x2c')]=function(_0x59e89d,_0x51c2a7){return db['CmList']['find']({'where':{'id':_0x59e89d[_0x5e8a('0x5a')]['id']}})['then'](handleEntityNotFound(_0x51c2a7,null))[_0x5e8a('0x29')](removeEntity(_0x51c2a7,null))[_0x5e8a('0x4a')](handleError(_0x51c2a7,null));};exports[_0x5e8a('0x5b')]=function(_0x6a53ee,_0x340936){return db[_0x5e8a('0x47')][_0x5e8a('0x5b')]()[_0x5e8a('0x29')](respondWithResult(_0x340936,null))['catch'](handleError(_0x340936,null));};exports[_0x5e8a('0x5c')]=function(_0x2ddc5a,_0x16afeb,_0x33f573){if(_0x2ddc5a[_0x5e8a('0x52')]['id']){delete _0x2ddc5a['body']['id'];}return db[_0x5e8a('0x47')][_0x5e8a('0x50')]({'where':{'id':_0x2ddc5a[_0x5e8a('0x5a')]['id']}})['then'](handleEntityNotFound(_0x16afeb,null))[_0x5e8a('0x29')](function(_0xd792a1){if(_0xd792a1){_0x2ddc5a[_0x5e8a('0x52')][_0x5e8a('0x5d')]=_0xd792a1['id'];return db[_0x5e8a('0x5e')][_0x5e8a('0x51')](_0x2ddc5a[_0x5e8a('0x52')]);}})[_0x5e8a('0x29')](respondWithResult(_0x16afeb,null))[_0x5e8a('0x4a')](handleError(_0x16afeb,null));};exports['getDispositions']=function(_0x4bfee2,_0x1a9cce,_0x22f795){var _0x5bab80={'raw':![],'where':{}};var _0x13f342={};var _0x5e0694={'count':0x0,'rows':[]};return db[_0x5e8a('0x47')]['findOne']({'where':{'id':_0x4bfee2[_0x5e8a('0x5a')]['id']}})[_0x5e8a('0x29')](handleEntityNotFound(_0x1a9cce,null))[_0x5e8a('0x29')](function(_0x551aa4){if(_0x551aa4){_0x13f342[_0x5e8a('0x35')]=_[_0x5e8a('0x4c')](db['Disposition'][_0x5e8a('0x4d')]);_0x13f342[_0x5e8a('0x37')]=_[_0x5e8a('0x4c')](_0x4bfee2['query']);_0x13f342['filters']=_[_0x5e8a('0x39')](_0x13f342[_0x5e8a('0x35')],_0x13f342['query']);_0x5bab80['attributes']=_[_0x5e8a('0x39')](_0x13f342[_0x5e8a('0x35')],qs[_0x5e8a('0x3a')](_0x4bfee2['query'][_0x5e8a('0x3a')]));_0x5bab80[_0x5e8a('0x38')]=_0x5bab80[_0x5e8a('0x38')][_0x5e8a('0x5f')]?_0x5bab80[_0x5e8a('0x38')]:_0x13f342['model'];if(!_0x4bfee2[_0x5e8a('0x37')][_0x5e8a('0x3b')](_0x5e8a('0x60'))){_0x5bab80[_0x5e8a('0x25')]=qs[_0x5e8a('0x25')](_0x4bfee2[_0x5e8a('0x37')][_0x5e8a('0x25')]);_0x5bab80['offset']=qs[_0x5e8a('0x3c')](_0x4bfee2[_0x5e8a('0x37')]['offset']);}_0x5bab80[_0x5e8a('0x3d')]=qs[_0x5e8a('0x3e')](_0x4bfee2[_0x5e8a('0x37')][_0x5e8a('0x3e')]);_0x5bab80[_0x5e8a('0x3f')]=qs[_0x5e8a('0x40')](_['pick'](_0x4bfee2['query'],_0x13f342['filters']));_0x5bab80[_0x5e8a('0x3f')][_0x5e8a('0x5d')]=_0x551aa4['id'];if(_0x4bfee2[_0x5e8a('0x37')][_0x5e8a('0x42')]){_0x5bab80[_0x5e8a('0x3f')]=_['merge'](_0x5bab80[_0x5e8a('0x3f')],{'$or':_[_0x5e8a('0x36')](_0x5bab80['attributes'],function(_0xc8becb){var _0x595ef9={};_0x595ef9[_0xc8becb]={'$like':'%'+_0x4bfee2['query'][_0x5e8a('0x42')]+'%'};return _0x595ef9;})});}_0x5bab80=_[_0x5e8a('0x43')]({},_0x5bab80,_0x4bfee2[_0x5e8a('0x46')]);return db[_0x5e8a('0x5e')][_0x5e8a('0x24')]({'where':_0x5bab80[_0x5e8a('0x3f')]})[_0x5e8a('0x29')](function(_0x35d13e){_0x5e0694[_0x5e8a('0x24')]=_0x35d13e;if(_0x4bfee2['query'][_0x5e8a('0x4e')]){_0x5bab80[_0x5e8a('0x4f')]=[{'all':!![]}];}return db[_0x5e8a('0x5e')][_0x5e8a('0x48')](_0x5bab80);})[_0x5e8a('0x29')](function(_0x5c8c56){_0x5e0694[_0x5e8a('0x49')]=_0x5c8c56;return _0x5e0694;});}})[_0x5e8a('0x29')](respondWithFilteredResult(_0x1a9cce,_0x5bab80))[_0x5e8a('0x4a')](handleError(_0x1a9cce,null));};exports[_0x5e8a('0x61')]=function(_0x4bed21,_0x354685,_0xe5e0cc){return db[_0x5e8a('0x47')][_0x5e8a('0x50')]({'where':{'id':_0x4bed21[_0x5e8a('0x5a')]['id']}})[_0x5e8a('0x29')](handleEntityNotFound(_0x354685,null))[_0x5e8a('0x29')](function(_0x3beb84){if(_0x3beb84){return _0x3beb84['removeDispositions'](_0x4bed21['query'][_0x5e8a('0x62')]);}})[_0x5e8a('0x29')](respondWithStatusCode(_0x354685,null))[_0x5e8a('0x4a')](handleError(_0x354685,null));};exports[_0x5e8a('0x63')]=function(_0x265f2d,_0xd9b4a7,_0x1aa44d){return db[_0x5e8a('0x47')][_0x5e8a('0x50')]({'where':{'id':_0x265f2d[_0x5e8a('0x5a')]['id']}})[_0x5e8a('0x29')](handleEntityNotFound(_0xd9b4a7,null))[_0x5e8a('0x29')](function(_0xd02a69){if(_0xd02a69){var _0x588c3b=[];var _0x37901c={'success':[],'errors':[]};return db[_0x5e8a('0x64')][_0x5e8a('0x5b')]()[_0x5e8a('0x29')](function(_0x30c680){if(_0x265f2d[_0x5e8a('0x52')][_0x5e8a('0x65')]&&_[_0x5e8a('0x66')](_0x265f2d['body'][_0x5e8a('0x65')])){if(_0x265f2d[_0x5e8a('0x52')][_0x5e8a('0x65')][_0x5e8a('0x5f')]){_0x265f2d[_0x5e8a('0x52')][_0x5e8a('0x65')]=_0x265f2d[_0x5e8a('0x52')]['tags'][_0x5e8a('0x67')](';')+';';}else{_0x265f2d['body']['tags']=null;}}else{_0x265f2d[_0x5e8a('0x52')][_0x5e8a('0x65')]=null;}if(_0x265f2d['body']&&_[_0x5e8a('0x66')](_0x265f2d[_0x5e8a('0x52')])){for(var _0x1fe7a1=0x0;_0x1fe7a1<_0x265f2d[_0x5e8a('0x52')]['length'];_0x1fe7a1+=0x1){_0x265f2d[_0x5e8a('0x52')][_0x1fe7a1][_0x5e8a('0x5d')]=_0x265f2d[_0x5e8a('0x5a')]['id'];_0x588c3b[_0x5e8a('0x68')](_0x265f2d[_0x5e8a('0x52')][_0x1fe7a1]);}return BPromise['each'](_0x588c3b,function(_0x43eff4){return db['CmContact'][_0x5e8a('0x51')](_['omit'](_0x43eff4,[_0x5e8a('0x62'),'id'])||{},{'fields':_[_0x5e8a('0x4c')](_0x30c680),'raw':!![]})['then'](function(_0x5c862a){_0x37901c['success']['push'](_0x5c862a[_0x5e8a('0x69')]);})[_0x5e8a('0x4a')](function(_0x5e76b2){_0x37901c[_0x5e8a('0x6a')]['push']({'data':_0x43eff4,'error':_0x5e76b2['message']});});})[_0x5e8a('0x29')](function(_0x599d6d){return _0x37901c;})[_0x5e8a('0x4a')](function(_0x3cc29b){return _0x3cc29b;});}else{_0xd9b4a7[_0x5e8a('0x22')](0x190)[_0x5e8a('0x23')]({'message':_0x5e8a('0x6b')});}});}})['then'](respondWithResult(_0xd9b4a7,null))[_0x5e8a('0x4a')](handleError(_0xd9b4a7,null));};exports[_0x5e8a('0x6c')]=function(_0x113d95,_0x466fcf,_0x2c5f7a){var _0x28dd2d;return db[_0x5e8a('0x47')][_0x5e8a('0x50')]({'where':{'id':_0x113d95['params']['id']},'include':[{'model':db[_0x5e8a('0x6d')],'as':_0x5e8a('0x6e')}]})[_0x5e8a('0x29')](handleEntityNotFound(_0x466fcf,null))[_0x5e8a('0x29')](function(_0x164d10){if(_0x164d10){_0x28dd2d=_0x164d10;return db[_0x5e8a('0x64')][_0x5e8a('0x4d')];}})[_0x5e8a('0x29')](function(_0x261639){if(_0x261639){var _0x263888={};var _0x5f5bac={};_0x5f5bac['model']=_[_0x5e8a('0x6f')](_[_0x5e8a('0x4c')](_0x261639),_[_0x5e8a('0x36')](_0x28dd2d['CustomFields'],function(_0x6561c4){return util['format'](_0x5e8a('0x70'),_0x6561c4['id']);}));_0x5f5bac[_0x5e8a('0x37')]=_[_0x5e8a('0x4c')](_0x113d95['query']);_0x5f5bac[_0x5e8a('0x40')]=_[_0x5e8a('0x39')](_0x5f5bac[_0x5e8a('0x35')],_0x5f5bac[_0x5e8a('0x37')]);_0x263888[_0x5e8a('0x38')]=_[_0x5e8a('0x39')](_0x5f5bac[_0x5e8a('0x35')],qs[_0x5e8a('0x3a')](_0x113d95[_0x5e8a('0x37')][_0x5e8a('0x3a')]));_0x263888[_0x5e8a('0x38')]=_0x263888['attributes']['length']?_0x263888[_0x5e8a('0x38')]:_0x5f5bac[_0x5e8a('0x35')];if(!_0x113d95[_0x5e8a('0x37')]['hasOwnProperty'](_0x5e8a('0x60'))){_0x263888['limit']=qs[_0x5e8a('0x25')](_0x113d95[_0x5e8a('0x37')][_0x5e8a('0x25')]);_0x263888['offset']=qs[_0x5e8a('0x3c')](_0x113d95[_0x5e8a('0x37')][_0x5e8a('0x3c')]);}_0x263888[_0x5e8a('0x3d')]=qs[_0x5e8a('0x3e')](_0x113d95[_0x5e8a('0x37')][_0x5e8a('0x3e')]);_0x263888[_0x5e8a('0x3f')]=qs[_0x5e8a('0x40')](_[_0x5e8a('0x41')](_0x113d95[_0x5e8a('0x37')],_0x5f5bac[_0x5e8a('0x40')]));_0x263888[_0x5e8a('0x71')]=!![];if(_0x113d95[_0x5e8a('0x37')][_0x5e8a('0x42')]){_0x263888[_0x5e8a('0x3f')]=_[_0x5e8a('0x43')](_0x263888[_0x5e8a('0x3f')],{'$or':_[_0x5e8a('0x36')](_0x263888[_0x5e8a('0x38')],function(_0x2bc693){var _0x4abede={};_0x4abede[_0x2bc693]={'$like':'%'+_0x113d95[_0x5e8a('0x37')]['filter']+'%'};return _0x4abede;})});}_0x263888=_['merge']({},_0x263888,_0x113d95[_0x5e8a('0x46')]);return _0x28dd2d[_0x5e8a('0x6c')](_0x263888);}})[_0x5e8a('0x29')](respondWithResult(_0x466fcf,null))[_0x5e8a('0x4a')](handleError(_0x466fcf,null));};exports[_0x5e8a('0x72')]=function(_0x20a74e,_0x26b2c0,_0x4b7053){var _0x5cc3c1;return db['CmList'][_0x5e8a('0x50')]({'where':{'id':_0x20a74e['params']['id']},'include':[{'model':db[_0x5e8a('0x6d')],'as':_0x5e8a('0x6e')}]})['then'](handleEntityNotFound(_0x26b2c0,null))[_0x5e8a('0x29')](function(_0x4d5ca5){if(_0x4d5ca5){_0x5cc3c1=_0x4d5ca5;return db[_0x5e8a('0x64')]['rawAttributes'];}})[_0x5e8a('0x29')](function(_0xca69ab){if(_0xca69ab){var _0x45dd31={};var _0x2a48b2={};_0x2a48b2[_0x5e8a('0x35')]=_[_0x5e8a('0x6f')](_[_0x5e8a('0x4c')](_0xca69ab),_[_0x5e8a('0x36')](_0x5cc3c1[_0x5e8a('0x6e')],function(_0x5b6bb4){return util['format'](_0x5e8a('0x70'),_0x5b6bb4['id']);}));_0x2a48b2[_0x5e8a('0x37')]=_['keys'](_0x20a74e[_0x5e8a('0x37')]);_0x2a48b2[_0x5e8a('0x40')]=_[_0x5e8a('0x39')](_0x2a48b2[_0x5e8a('0x35')],_0x2a48b2[_0x5e8a('0x37')]);_0x45dd31[_0x5e8a('0x38')]=_[_0x5e8a('0x39')](_0x2a48b2[_0x5e8a('0x35')],qs[_0x5e8a('0x3a')](_0x20a74e[_0x5e8a('0x37')][_0x5e8a('0x3a')]));_0x45dd31[_0x5e8a('0x38')]=_0x45dd31[_0x5e8a('0x38')][_0x5e8a('0x5f')]?_0x45dd31[_0x5e8a('0x38')]:_0x2a48b2[_0x5e8a('0x35')];if(!_0x20a74e[_0x5e8a('0x37')]['hasOwnProperty'](_0x5e8a('0x60'))){_0x45dd31[_0x5e8a('0x25')]=qs[_0x5e8a('0x25')](_0x20a74e[_0x5e8a('0x37')][_0x5e8a('0x25')]);_0x45dd31[_0x5e8a('0x3c')]=qs[_0x5e8a('0x3c')](_0x20a74e['query'][_0x5e8a('0x3c')]);}_0x45dd31[_0x5e8a('0x3d')]=qs[_0x5e8a('0x3e')](_0x20a74e['query']['sort']);_0x45dd31[_0x5e8a('0x3f')]=qs[_0x5e8a('0x40')](_[_0x5e8a('0x41')](_0x20a74e[_0x5e8a('0x37')],_0x2a48b2[_0x5e8a('0x40')]));_0x45dd31[_0x5e8a('0x71')]=!![];if(_0x20a74e['query'][_0x5e8a('0x42')]){_0x45dd31[_0x5e8a('0x3f')]=_['merge'](_0x45dd31[_0x5e8a('0x3f')],{'$or':_['map'](_0x45dd31[_0x5e8a('0x38')],function(_0x41a464){var _0x54a009={};_0x54a009[_0x41a464]={'$like':'%'+_0x20a74e[_0x5e8a('0x37')][_0x5e8a('0x42')]+'%'};return _0x54a009;})});}_0x45dd31=_['merge']({},_0x45dd31,_0x20a74e['options']);return _0x5cc3c1[_0x5e8a('0x6c')](_0x45dd31);}})[_0x5e8a('0x29')](function(_0x203881){if(!_[_0x5e8a('0x73')](_0x203881)){var _0x182f04=toCsv(_0x203881);var _0x41910b=Date[_0x5e8a('0x74')]();fs[_0x5e8a('0x75')](util[_0x5e8a('0x76')](_0x5e8a('0x77'),_0x5cc3c1['id'],_0x41910b),_0x182f04);_0x26b2c0[_0x5e8a('0x78')](_0x5e8a('0x79'),_0x5e8a('0x7a')+util[_0x5e8a('0x76')](_0x5e8a('0x7b'),_0x5cc3c1['id'],_0x41910b));_0x26b2c0['setHeader'](_0x5e8a('0x7c'),_0x5e8a('0x7d'));return _0x26b2c0[_0x5e8a('0x7e')](util[_0x5e8a('0x76')](_0x5e8a('0x77'),_0x5cc3c1['id'],_0x41910b));}else{return _0x26b2c0[_0x5e8a('0x2e')](0xcc);}})[_0x5e8a('0x4a')](handleError(_0x26b2c0,null));};exports[_0x5e8a('0x7f')]=function(_0x1f575d,_0x33d62d,_0x5178ef){var _0x2ca68a;delete _0x1f575d[_0x5e8a('0x52')]['id'];return db[_0x5e8a('0x47')][_0x5e8a('0x80')]({'where':{'id':_0x1f575d['params']['id']}})[_0x5e8a('0x29')](handleEntityNotFound(_0x33d62d,null))[_0x5e8a('0x29')](function(_0x2a79f6){if(_0x2a79f6){return db[_0x5e8a('0x81')][_0x5e8a('0x82')](function(_0x14959d){return db['CmCustomField'][_0x5e8a('0x51')](_0x1f575d[_0x5e8a('0x52')],{'transaction':_0x14959d})[_0x5e8a('0x29')](function(_0x46c949){_0x2ca68a=_0x46c949;return _0x2a79f6[_0x5e8a('0x83')](_0x46c949,{'transaction':_0x14959d});})['then'](function(){var _0x59afca={'type':db['Sequelize'][_0x5e8a('0x84')],'transaction':_0x14959d};switch(_0x1f575d[_0x5e8a('0x52')]['type']){case _0x5e8a('0x85'):_0x59afca[_0x5e8a('0x44')]=db[_0x5e8a('0x86')][_0x5e8a('0x84')];break;case _0x5e8a('0x87'):_0x59afca['type']=db[_0x5e8a('0x86')][_0x5e8a('0x88')];break;case _0x5e8a('0x89'):_0x59afca[_0x5e8a('0x44')]=db['Sequelize'][_0x5e8a('0x8a')];_0x59afca[_0x5e8a('0x8b')]=![];break;default:}return db[_0x5e8a('0x81')][_0x5e8a('0x8c')][_0x5e8a('0x8d')](_0x5e8a('0x8e'),util[_0x5e8a('0x76')](_0x5e8a('0x8f'),_0x2ca68a['id']),_0x59afca);})[_0x5e8a('0x29')](function(){return _0x2ca68a;});});}})[_0x5e8a('0x29')](respondWithResult(_0x33d62d,null))[_0x5e8a('0x4a')](handleError(_0x33d62d,null));};exports[_0x5e8a('0x90')]=function(_0x1efb8f,_0x12063e,_0xdff645){var _0x1dea78={};var _0x1277c4={};var _0x25b572;var _0x2091ca;return db[_0x5e8a('0x47')][_0x5e8a('0x80')]({'where':{'id':_0x1efb8f[_0x5e8a('0x5a')]['id']}})['then'](handleEntityNotFound(_0x12063e,null))[_0x5e8a('0x29')](function(_0x467afa){if(_0x467afa){_0x25b572=_0x467afa;_0x1277c4[_0x5e8a('0x35')]=_['keys'](db[_0x5e8a('0x6d')][_0x5e8a('0x4d')]);_0x1277c4[_0x5e8a('0x37')]=_[_0x5e8a('0x4c')](_0x1efb8f[_0x5e8a('0x37')]);_0x1277c4[_0x5e8a('0x40')]=_[_0x5e8a('0x39')](_0x1277c4['model'],_0x1277c4['query']);_0x1dea78[_0x5e8a('0x38')]=_[_0x5e8a('0x39')](_0x1277c4[_0x5e8a('0x35')],qs[_0x5e8a('0x3a')](_0x1efb8f[_0x5e8a('0x37')][_0x5e8a('0x3a')]));_0x1dea78[_0x5e8a('0x38')]=_0x1dea78['attributes'][_0x5e8a('0x5f')]?_0x1dea78[_0x5e8a('0x38')]:_0x1277c4[_0x5e8a('0x35')];_0x1dea78['order']=qs[_0x5e8a('0x3e')](_0x1efb8f[_0x5e8a('0x37')]['sort']);_0x1dea78[_0x5e8a('0x3f')]=qs['filters'](_['pick'](_0x1efb8f[_0x5e8a('0x37')],_0x1277c4[_0x5e8a('0x40')]));_0x1dea78[_0x5e8a('0x3f')]=_['merge'](_0x1dea78[_0x5e8a('0x3f')],{'$or':[{'ListId':_0x467afa['id']},{'ListId':null}]});if(_0x1efb8f['query']['filter']){_0x1dea78['where']=_[_0x5e8a('0x43')](_0x1dea78[_0x5e8a('0x3f')],{'$or':_[_0x5e8a('0x36')](_0x1dea78[_0x5e8a('0x38')],function(_0x379b37){var _0x2214f5={};_0x2214f5[_0x379b37]={'$like':'%'+_0x1efb8f['query']['filter']+'%'};return _0x2214f5;})});}_0x1dea78=_['merge']({},_0x1dea78,_0x1efb8f[_0x5e8a('0x46')]);return db[_0x5e8a('0x6d')][_0x5e8a('0x91')](_0x1dea78);}})[_0x5e8a('0x29')](respondWithResult(_0x12063e,null))[_0x5e8a('0x4a')](handleError(_0x12063e,null));};exports[_0x5e8a('0x92')]=function(_0x5ba02f,_0x1ad7b4,_0x6f6292){return db[_0x5e8a('0x47')][_0x5e8a('0x50')]({'where':{'id':_0x5ba02f['params']['id']}})[_0x5e8a('0x29')](handleEntityNotFound(_0x1ad7b4,null))['then'](function(_0x31b67a){if(_0x31b67a){return _0x31b67a[_0x5e8a('0x92')](_0x5ba02f[_0x5e8a('0x52')][_0x5e8a('0x62')],_['omit'](_0x5ba02f[_0x5e8a('0x52')],[_0x5e8a('0x62'),'id'])||{})[_0x5e8a('0x93')](function(_0x1a91d3){for(var _0x5cab31=0x0;_0x5cab31<_0x5ba02f['body'][_0x5e8a('0x62')][_0x5e8a('0x5f')];_0x5cab31+=0x1){socket[_0x5e8a('0x94')](_0x5e8a('0x95'),{'UserId':_0x5ba02f[_0x5e8a('0x52')]['ids'][_0x5cab31],'CmListId':_0x5ba02f[_0x5e8a('0x5a')]['id']});}return _0x1a91d3;});}})['then'](respondWithResult(_0x1ad7b4,null))['catch'](handleError(_0x1ad7b4,null));};exports['removeAgents']=function(_0x40fee0,_0x7a10b4,_0x33ab1b){return db[_0x5e8a('0x47')]['find']({'where':{'id':_0x40fee0[_0x5e8a('0x5a')]['id']}})[_0x5e8a('0x29')](handleEntityNotFound(_0x7a10b4,null))[_0x5e8a('0x29')](function(_0x3754b0){if(_0x3754b0){return _0x3754b0['removeAgents'](_0x40fee0[_0x5e8a('0x37')]['ids'])[_0x5e8a('0x29')](function(){if(_[_0x5e8a('0x66')](_0x40fee0[_0x5e8a('0x37')]['ids'])){for(var _0x4351f0=0x0;_0x4351f0<_0x40fee0[_0x5e8a('0x37')]['ids'][_0x5e8a('0x5f')];_0x4351f0+=0x1){socket[_0x5e8a('0x94')](_0x5e8a('0x96'),{'UserId':Number(_0x40fee0[_0x5e8a('0x37')][_0x5e8a('0x62')][_0x4351f0]),'CmListId':Number(_0x40fee0['params']['id'])});}}else{socket[_0x5e8a('0x94')](_0x5e8a('0x96'),{'UserId':Number(_0x40fee0[_0x5e8a('0x37')][_0x5e8a('0x62')]),'CmListId':Number(_0x40fee0['params']['id'])});}});}})[_0x5e8a('0x29')](respondWithStatusCode(_0x7a10b4,null))['catch'](handleError(_0x7a10b4,null));};exports[_0x5e8a('0x97')]=function(_0x5745f7,_0x13f93d,_0x341a20){var _0xc18633={};var _0x408c77={};var _0x559720;var _0x239275;return db[_0x5e8a('0x47')]['findOne']({'where':{'id':_0x5745f7[_0x5e8a('0x5a')]['id']}})[_0x5e8a('0x29')](handleEntityNotFound(_0x13f93d,null))[_0x5e8a('0x29')](function(_0x4945c7){if(_0x4945c7){_0x559720=_0x4945c7;_0x408c77[_0x5e8a('0x35')]=_[_0x5e8a('0x4c')](db[_0x5e8a('0x98')][_0x5e8a('0x4d')]);_0x408c77[_0x5e8a('0x37')]=_[_0x5e8a('0x4c')](_0x5745f7['query']);_0x408c77[_0x5e8a('0x40')]=_[_0x5e8a('0x39')](_0x408c77[_0x5e8a('0x35')],_0x408c77['query']);_0xc18633[_0x5e8a('0x38')]=_[_0x5e8a('0x39')](_0x408c77['model'],qs['fields'](_0x5745f7['query'][_0x5e8a('0x3a')]));_0xc18633[_0x5e8a('0x38')]=_0xc18633['attributes']['length']?_0xc18633['attributes']:_0x408c77[_0x5e8a('0x35')];_0xc18633['order']=qs[_0x5e8a('0x3e')](_0x5745f7[_0x5e8a('0x37')][_0x5e8a('0x3e')]);_0xc18633['where']=qs[_0x5e8a('0x40')](_[_0x5e8a('0x41')](_0x5745f7[_0x5e8a('0x37')],_0x408c77[_0x5e8a('0x40')]));if(_0x5745f7[_0x5e8a('0x37')][_0x5e8a('0x42')]){_0xc18633['where']=_[_0x5e8a('0x43')](_0xc18633[_0x5e8a('0x3f')],{'$or':_[_0x5e8a('0x36')](_0xc18633[_0x5e8a('0x38')],function(_0x2212aa){var _0x3a5889={};_0x3a5889[_0x2212aa]={'$like':'%'+_0x5745f7[_0x5e8a('0x37')][_0x5e8a('0x42')]+'%'};return _0x3a5889;})});}_0xc18633=_[_0x5e8a('0x43')]({},_0xc18633,_0x5745f7[_0x5e8a('0x46')]);return _0x559720['getAgents'](_0xc18633);}})[_0x5e8a('0x29')](function(_0x1010f7){if(_0x1010f7){_0x239275=_0x1010f7[_0x5e8a('0x5f')];if(!_0x5745f7[_0x5e8a('0x37')]['hasOwnProperty'](_0x5e8a('0x60'))){_0xc18633['limit']=qs[_0x5e8a('0x25')](_0x5745f7['query'][_0x5e8a('0x25')]);_0xc18633[_0x5e8a('0x3c')]=qs['offset'](_0x5745f7[_0x5e8a('0x37')][_0x5e8a('0x3c')]);}return _0x559720[_0x5e8a('0x97')](_0xc18633);}})[_0x5e8a('0x29')](function(_0x5933d6){if(_0x5933d6){return _0x5933d6?{'count':_0x239275,'rows':_0x5933d6}:null;}})['then'](respondWithResult(_0x13f93d,null))['catch'](handleError(_0x13f93d,null));}; \ No newline at end of file diff --git a/server/api/cmList/cmList.events.js b/server/api/cmList/cmList.events.js index f0c9086..b04a573 100644 --- a/server/api/cmList/cmList.events.js +++ b/server/api/cmList/cmList.events.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xb9c2=['exports','events','../../mysqldb','CmList','setMaxListeners','emit','hook'];(function(_0xbbd879,_0x3ca2de){var _0x154e5c=function(_0x12ed54){while(--_0x12ed54){_0xbbd879['push'](_0xbbd879['shift']());}};_0x154e5c(++_0x3ca2de);}(_0xb9c2,0x182));var _0x2b9c=function(_0x38ed42,_0x3d9a37){_0x38ed42=_0x38ed42-0x0;var _0x474931=_0xb9c2[_0x38ed42];return _0x474931;};'use strict';var EventEmitter=require(_0x2b9c('0x0'));var CmList=require(_0x2b9c('0x1'))['db'][_0x2b9c('0x2')];var CmListEvents=new EventEmitter();CmListEvents[_0x2b9c('0x3')](0x0);var events={'afterCreate':'save','afterUpdate':'update','afterDestroy':'remove'};function emitEvent(_0x89e260){return function(_0x43890f,_0x4161d2,_0x3b73ef){CmListEvents[_0x2b9c('0x4')](_0x89e260+':'+_0x43890f['id'],_0x43890f);CmListEvents[_0x2b9c('0x4')](_0x89e260,_0x43890f);_0x3b73ef(null);};}for(var e in events){if(events['hasOwnProperty'](e)){var event=events[e];CmList[_0x2b9c('0x5')](e,emitEvent(event));}}module[_0x2b9c('0x6')]=CmListEvents; \ No newline at end of file +var _0xc3a7=['save','update','remove','emit','hasOwnProperty','hook','exports','events','setMaxListeners'];(function(_0x3a5156,_0x19b4e5){var _0x36f523=function(_0x32e144){while(--_0x32e144){_0x3a5156['push'](_0x3a5156['shift']());}};_0x36f523(++_0x19b4e5);}(_0xc3a7,0x1a5));var _0x7c3a=function(_0x5d2803,_0xf375bd){_0x5d2803=_0x5d2803-0x0;var _0xdcad2c=_0xc3a7[_0x5d2803];return _0xdcad2c;};'use strict';var EventEmitter=require(_0x7c3a('0x0'));var CmList=require('../../mysqldb')['db']['CmList'];var CmListEvents=new EventEmitter();CmListEvents[_0x7c3a('0x1')](0x0);var events={'afterCreate':_0x7c3a('0x2'),'afterUpdate':_0x7c3a('0x3'),'afterDestroy':_0x7c3a('0x4')};function emitEvent(_0xe44b3e){return function(_0x972dde,_0x10781,_0x131915){CmListEvents[_0x7c3a('0x5')](_0xe44b3e+':'+_0x972dde['id'],_0x972dde);CmListEvents[_0x7c3a('0x5')](_0xe44b3e,_0x972dde);_0x131915(null);};}for(var e in events){if(events[_0x7c3a('0x6')](e)){var event=events[e];CmList[_0x7c3a('0x7')](e,emitEvent(event));}}module[_0x7c3a('0x8')]=CmListEvents; \ No newline at end of file diff --git a/server/api/cmList/cmList.model.js b/server/api/cmList/cmList.model.js index 43fb393..2f4345c 100644 --- a/server/api/cmList/cmList.model.js +++ b/server/api/cmList/cmList.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xbf69=['lodash','api','moment','bluebird','path','./cmList.attributes','CmList','cm_lists'];(function(_0x34e0d7,_0x3919fa){var _0x154186=function(_0x26c9cd){while(--_0x26c9cd){_0x34e0d7['push'](_0x34e0d7['shift']());}};_0x154186(++_0x3919fa);}(_0xbf69,0xe8));var _0x9bf6=function(_0x4e676e,_0x2a7c6d){_0x4e676e=_0x4e676e-0x0;var _0x336a3c=_0xbf69[_0x4e676e];return _0x336a3c;};'use strict';var _=require(_0x9bf6('0x0'));var util=require('util');var logger=require('../../config/logger')(_0x9bf6('0x1'));var moment=require(_0x9bf6('0x2'));var BPromise=require(_0x9bf6('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x9bf6('0x4'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x9bf6('0x5'));module['exports']=function(_0x32e926,_0x2e3496){return _0x32e926['define'](_0x9bf6('0x6'),attributes,{'tableName':_0x9bf6('0x7'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0xa8c9=['util','../../config/logger','api','moment','request-promise','path','rimraf','../../config/environment','./cmList.attributes','exports','CmList','lodash'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0xa8c9,0xe3));var _0x9a8c=function(_0x3c9be4,_0x6f3b7f){_0x3c9be4=_0x3c9be4-0x0;var _0x34b484=_0xa8c9[_0x3c9be4];return _0x34b484;};'use strict';var _=require(_0x9a8c('0x0'));var util=require(_0x9a8c('0x1'));var logger=require(_0x9a8c('0x2'))(_0x9a8c('0x3'));var moment=require(_0x9a8c('0x4'));var BPromise=require('bluebird');var rp=require(_0x9a8c('0x5'));var fs=require('fs');var path=require(_0x9a8c('0x6'));var rimraf=require(_0x9a8c('0x7'));var config=require(_0x9a8c('0x8'));var attributes=require(_0x9a8c('0x9'));module[_0x9a8c('0xa')]=function(_0x1c4958,_0x53155c){return _0x1c4958['define'](_0x9a8c('0xb'),attributes,{'tableName':'cm_lists','paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/cmList/cmList.rpc.js b/server/api/cmList/cmList.rpc.js index 2579e2c..9d0ee6f 100644 --- a/server/api/cmList/cmList.rpc.js +++ b/server/api/cmList/cmList.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xac7c=['CmList,\x20%s,\x20%s,\x20%s','request\x20sent','stringify','error','code','message','result','catch','util','moment','randomstring','ioredis','../../mysqldb','../../config/utils','rpc','jayson/promise','client','http','redis','defaults','socket.io-emitter','register','request','then','info','CmList,\x20%s,\x20%s','debug'];(function(_0x1a31e8,_0x5387bc){var _0x3adc72=function(_0x1997a3){while(--_0x1997a3){_0x1a31e8['push'](_0x1a31e8['shift']());}};_0x3adc72(++_0x5387bc);}(_0xac7c,0x1ee));var _0xcac7=function(_0x4f32de,_0x5bd4a){_0x4f32de=_0x4f32de-0x0;var _0x149821=_0xac7c[_0x4f32de];return _0x149821;};'use strict';var _=require('lodash');var util=require(_0xcac7('0x0'));var moment=require(_0xcac7('0x1'));var BPromise=require('bluebird');var rs=require(_0xcac7('0x2'));var fs=require('fs');var Redis=require(_0xcac7('0x3'));var db=require(_0xcac7('0x4'))['db'];var utils=require(_0xcac7('0x5'));var logger=require('../../config/logger')(_0xcac7('0x6'));var config=require('../../config/environment');var jayson=require(_0xcac7('0x7'));var client=jayson[_0xcac7('0x8')][_0xcac7('0x9')]({'port':0x232a});config[_0xcac7('0xa')]=_[_0xcac7('0xb')](config[_0xcac7('0xa')],{'host':'localhost','port':0x18eb});var socket=require(_0xcac7('0xc'))(new Redis(config[_0xcac7('0xa')]));require('./cmList.socket')[_0xcac7('0xd')](socket);function respondWithRpcPromise(_0x43f7bb,_0x11f1cb,_0x34b21e){return new BPromise(function(_0xcaa4e9,_0xb16bd5){return client[_0xcac7('0xe')](_0x43f7bb,_0x34b21e)[_0xcac7('0xf')](function(_0x2b4873){logger[_0xcac7('0x10')](_0xcac7('0x11'),_0x11f1cb,'request\x20sent');logger[_0xcac7('0x12')](_0xcac7('0x13'),_0x11f1cb,_0xcac7('0x14'),JSON[_0xcac7('0x15')](_0x2b4873));if(_0x2b4873['error']){if(_0x2b4873[_0xcac7('0x16')][_0xcac7('0x17')]===0x1f4){logger[_0xcac7('0x16')](_0xcac7('0x11'),_0x11f1cb,_0x2b4873[_0xcac7('0x16')][_0xcac7('0x18')]);return _0xb16bd5(_0x2b4873['error'][_0xcac7('0x18')]);}logger[_0xcac7('0x16')]('CmList,\x20%s,\x20%s',_0x11f1cb,_0x2b4873['error'][_0xcac7('0x18')]);return _0xcaa4e9(_0x2b4873[_0xcac7('0x16')][_0xcac7('0x18')]);}else{logger[_0xcac7('0x10')](_0xcac7('0x11'),_0x11f1cb,'request\x20sent');_0xcaa4e9(_0x2b4873[_0xcac7('0x19')]['message']);}})[_0xcac7('0x1a')](function(_0x3c32c8){logger[_0xcac7('0x16')](_0xcac7('0x11'),_0x11f1cb,_0x3c32c8);_0xb16bd5(_0x3c32c8);});});} \ No newline at end of file +var _0x1dd9=['message','info','result','lodash','util','moment','bluebird','randomstring','ioredis','../../mysqldb','../../config/utils','rpc','../../config/environment','http','redis','defaults','localhost','socket.io-emitter','./cmList.socket','request','CmList,\x20%s,\x20%s','debug','CmList,\x20%s,\x20%s,\x20%s','request\x20sent','error','code'];(function(_0x4375d9,_0x5cee8a){var _0x1fd3ff=function(_0x1246a9){while(--_0x1246a9){_0x4375d9['push'](_0x4375d9['shift']());}};_0x1fd3ff(++_0x5cee8a);}(_0x1dd9,0x1d7));var _0x91dd=function(_0xedb458,_0x28fdac){_0xedb458=_0xedb458-0x0;var _0x3ddd57=_0x1dd9[_0xedb458];return _0x3ddd57;};'use strict';var _=require(_0x91dd('0x0'));var util=require(_0x91dd('0x1'));var moment=require(_0x91dd('0x2'));var BPromise=require(_0x91dd('0x3'));var rs=require(_0x91dd('0x4'));var fs=require('fs');var Redis=require(_0x91dd('0x5'));var db=require(_0x91dd('0x6'))['db'];var utils=require(_0x91dd('0x7'));var logger=require('../../config/logger')(_0x91dd('0x8'));var config=require(_0x91dd('0x9'));var jayson=require('jayson/promise');var client=jayson['client'][_0x91dd('0xa')]({'port':0x232a});config[_0x91dd('0xb')]=_[_0x91dd('0xc')](config[_0x91dd('0xb')],{'host':_0x91dd('0xd'),'port':0x18eb});var socket=require(_0x91dd('0xe'))(new Redis(config[_0x91dd('0xb')]));require(_0x91dd('0xf'))['register'](socket);function respondWithRpcPromise(_0x250006,_0x349ef8,_0x5f5c50){return new BPromise(function(_0x3d78d0,_0x5755b5){return client[_0x91dd('0x10')](_0x250006,_0x5f5c50)['then'](function(_0x29a522){logger['info'](_0x91dd('0x11'),_0x349ef8,'request\x20sent');logger[_0x91dd('0x12')](_0x91dd('0x13'),_0x349ef8,_0x91dd('0x14'),JSON['stringify'](_0x29a522));if(_0x29a522[_0x91dd('0x15')]){if(_0x29a522[_0x91dd('0x15')][_0x91dd('0x16')]===0x1f4){logger[_0x91dd('0x15')]('CmList,\x20%s,\x20%s',_0x349ef8,_0x29a522['error'][_0x91dd('0x17')]);return _0x5755b5(_0x29a522['error']['message']);}logger['error'](_0x91dd('0x11'),_0x349ef8,_0x29a522[_0x91dd('0x15')][_0x91dd('0x17')]);return _0x3d78d0(_0x29a522[_0x91dd('0x15')][_0x91dd('0x17')]);}else{logger[_0x91dd('0x18')](_0x91dd('0x11'),_0x349ef8,_0x91dd('0x14'));_0x3d78d0(_0x29a522[_0x91dd('0x19')][_0x91dd('0x17')]);}})['catch'](function(_0x275215){logger[_0x91dd('0x15')](_0x91dd('0x11'),_0x349ef8,_0x275215);_0x5755b5(_0x275215);});});} \ No newline at end of file diff --git a/server/api/cmList/cmList.socket.js b/server/api/cmList/cmList.socket.js index 75710af..289961d 100644 --- a/server/api/cmList/cmList.socket.js +++ b/server/api/cmList/cmList.socket.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x8ca9=['length','cmList:','./cmList.events','save','remove','update','register'];(function(_0x5c5c78,_0x1be53e){var _0x3d8cef=function(_0x130403){while(--_0x130403){_0x5c5c78['push'](_0x5c5c78['shift']());}};_0x3d8cef(++_0x1be53e);}(_0x8ca9,0x9c));var _0x98ca=function(_0x2d60df,_0x54d59b){_0x2d60df=_0x2d60df-0x0;var _0x44fb6f=_0x8ca9[_0x2d60df];return _0x44fb6f;};'use strict';var CmListEvents=require(_0x98ca('0x0'));var events=[_0x98ca('0x1'),_0x98ca('0x2'),_0x98ca('0x3')];function createListener(_0x3d9153,_0x22047f){return function(_0xe479d6){_0x22047f['emit'](_0x3d9153,_0xe479d6);};}function removeListener(_0x4c230f,_0x142793){return function(){CmListEvents['removeListener'](_0x4c230f,_0x142793);};}exports[_0x98ca('0x4')]=function(_0x48415d){for(var _0x219619=0x0,_0xca4097=events[_0x98ca('0x5')];_0x219619<_0xca4097;_0x219619++){var _0x2852a0=events[_0x219619];var _0x323c95=createListener(_0x98ca('0x6')+_0x2852a0,_0x48415d);CmListEvents['on'](_0x2852a0,_0x323c95);}}; \ No newline at end of file +var _0x0dee=['cmList:','./cmList.events','save','update','removeListener','length'];(function(_0x17b353,_0x19c63c){var _0x38b039=function(_0x1857de){while(--_0x1857de){_0x17b353['push'](_0x17b353['shift']());}};_0x38b039(++_0x19c63c);}(_0x0dee,0xf7));var _0xe0de=function(_0x5344df,_0x4992b4){_0x5344df=_0x5344df-0x0;var _0x249918=_0x0dee[_0x5344df];return _0x249918;};'use strict';var CmListEvents=require(_0xe0de('0x0'));var events=[_0xe0de('0x1'),'remove',_0xe0de('0x2')];function createListener(_0x584824,_0x30c586){return function(_0x41edf0){_0x30c586['emit'](_0x584824,_0x41edf0);};}function removeListener(_0x2df224,_0x345364){return function(){CmListEvents[_0xe0de('0x3')](_0x2df224,_0x345364);};}exports['register']=function(_0x2fc94c){for(var _0x4957d7=0x0,_0xfe1fd9=events[_0xe0de('0x4')];_0x4957d7<_0xfe1fd9;_0x4957d7++){var _0x349fd2=events[_0x4957d7];var _0x5b644c=createListener(_0xe0de('0x5')+_0x349fd2,_0x2fc94c);CmListEvents['on'](_0x349fd2,_0x5b644c);}}; \ No newline at end of file diff --git a/server/api/cmList/index.js b/server/api/cmList/index.js index 8acdd63..532a689 100644 --- a/server/api/cmList/index.js +++ b/server/api/cmList/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x42a3=['addContacts','addAgents','put','update','delete','destroy','removeDispositions','/:id/users','exports','multer','path','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/describe','describe','/:id','getDispositions','/:id/contacts','getContacts','/:id/contacts/csv','/:id/fields','getCustomFields','getAgents','create','post','/:id/dispositions','addDisposition'];(function(_0x516bf4,_0x3c5330){var _0x4283b0=function(_0x5a738a){while(--_0x5a738a){_0x516bf4['push'](_0x516bf4['shift']());}};_0x4283b0(++_0x3c5330);}(_0x42a3,0x132));var _0x342a=function(_0x521429,_0x3a846d){_0x521429=_0x521429-0x0;var _0x45b35b=_0x42a3[_0x521429];return _0x45b35b;};'use strict';var multer=require(_0x342a('0x0'));var util=require('util');var path=require(_0x342a('0x1'));var timeout=require('connect-timeout');var express=require(_0x342a('0x2'));var router=express[_0x342a('0x3')]();var auth=require(_0x342a('0x4'));var interaction=require(_0x342a('0x5'));var config=require(_0x342a('0x6'));var controller=require('./cmList.controller');router[_0x342a('0x7')]('/',auth[_0x342a('0x8')](),controller[_0x342a('0x9')]);router[_0x342a('0x7')](_0x342a('0xa'),auth[_0x342a('0x8')](),controller[_0x342a('0xb')]);router[_0x342a('0x7')](_0x342a('0xc'),auth[_0x342a('0x8')](),controller['show']);router[_0x342a('0x7')]('/:id/dispositions',auth[_0x342a('0x8')](),controller[_0x342a('0xd')]);router[_0x342a('0x7')](_0x342a('0xe'),auth[_0x342a('0x8')](),controller[_0x342a('0xf')]);router[_0x342a('0x7')](_0x342a('0x10'),auth[_0x342a('0x8')](),controller['getContactsCsv']);router[_0x342a('0x7')](_0x342a('0x11'),auth['isAuthenticated'](),controller[_0x342a('0x12')]);router[_0x342a('0x7')]('/:id/users',auth[_0x342a('0x8')](),controller[_0x342a('0x13')]);router['post']('/',auth[_0x342a('0x8')](),controller[_0x342a('0x14')]);router[_0x342a('0x15')](_0x342a('0x16'),auth[_0x342a('0x8')](),controller[_0x342a('0x17')]);router[_0x342a('0x15')]('/:id/contacts',auth[_0x342a('0x8')](),controller[_0x342a('0x18')]);router[_0x342a('0x15')]('/:id/fields',auth[_0x342a('0x8')](),controller['addCustomField']);router[_0x342a('0x15')]('/:id/users',auth[_0x342a('0x8')](),controller[_0x342a('0x19')]);router[_0x342a('0x1a')](_0x342a('0xc'),auth[_0x342a('0x8')](),controller[_0x342a('0x1b')]);router[_0x342a('0x1c')](_0x342a('0xc'),auth['isAuthenticated'](),controller[_0x342a('0x1d')]);router[_0x342a('0x1c')](_0x342a('0x16'),auth[_0x342a('0x8')](),controller[_0x342a('0x1e')]);router['delete'](_0x342a('0x1f'),auth[_0x342a('0x8')](),controller['removeAgents']);module[_0x342a('0x20')]=router; \ No newline at end of file +var _0xb097=['/:id/users','getAgents','post','create','addDisposition','addContacts','addCustomField','put','update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','isAuthenticated','index','get','/describe','describe','/:id','show','/:id/dispositions','/:id/contacts','getContacts','/:id/contacts/csv','/:id/fields','getCustomFields'];(function(_0x2183ca,_0x3a0e1c){var _0x4051c5=function(_0x5d31ba){while(--_0x5d31ba){_0x2183ca['push'](_0x2183ca['shift']());}};_0x4051c5(++_0x3a0e1c);}(_0xb097,0x11c));var _0x7b09=function(_0x12b8f4,_0x71dadd){_0x12b8f4=_0x12b8f4-0x0;var _0x71ed89=_0xb097[_0x12b8f4];return _0x71ed89;};'use strict';var multer=require(_0x7b09('0x0'));var util=require(_0x7b09('0x1'));var path=require(_0x7b09('0x2'));var timeout=require(_0x7b09('0x3'));var express=require(_0x7b09('0x4'));var router=express[_0x7b09('0x5')]();var auth=require(_0x7b09('0x6'));var interaction=require(_0x7b09('0x7'));var config=require(_0x7b09('0x8'));var controller=require('./cmList.controller');router['get']('/',auth[_0x7b09('0x9')](),controller[_0x7b09('0xa')]);router[_0x7b09('0xb')](_0x7b09('0xc'),auth[_0x7b09('0x9')](),controller[_0x7b09('0xd')]);router['get'](_0x7b09('0xe'),auth['isAuthenticated'](),controller[_0x7b09('0xf')]);router[_0x7b09('0xb')](_0x7b09('0x10'),auth[_0x7b09('0x9')](),controller['getDispositions']);router['get'](_0x7b09('0x11'),auth['isAuthenticated'](),controller[_0x7b09('0x12')]);router[_0x7b09('0xb')](_0x7b09('0x13'),auth[_0x7b09('0x9')](),controller['getContactsCsv']);router[_0x7b09('0xb')](_0x7b09('0x14'),auth[_0x7b09('0x9')](),controller[_0x7b09('0x15')]);router['get'](_0x7b09('0x16'),auth[_0x7b09('0x9')](),controller[_0x7b09('0x17')]);router[_0x7b09('0x18')]('/',auth[_0x7b09('0x9')](),controller[_0x7b09('0x19')]);router['post'](_0x7b09('0x10'),auth[_0x7b09('0x9')](),controller[_0x7b09('0x1a')]);router[_0x7b09('0x18')](_0x7b09('0x11'),auth[_0x7b09('0x9')](),controller[_0x7b09('0x1b')]);router['post']('/:id/fields',auth[_0x7b09('0x9')](),controller[_0x7b09('0x1c')]);router[_0x7b09('0x18')]('/:id/users',auth[_0x7b09('0x9')](),controller['addAgents']);router[_0x7b09('0x1d')](_0x7b09('0xe'),auth['isAuthenticated'](),controller[_0x7b09('0x1e')]);router[_0x7b09('0x1f')](_0x7b09('0xe'),auth[_0x7b09('0x9')](),controller[_0x7b09('0x20')]);router['delete'](_0x7b09('0x10'),auth['isAuthenticated'](),controller['removeDispositions']);router['delete']('/:id/users',auth[_0x7b09('0x9')](),controller['removeAgents']);module[_0x7b09('0x21')]=router; \ No newline at end of file diff --git a/server/api/condition/condition.attributes.js b/server/api/condition/condition.attributes.js index e52f929..a9d9b22 100644 --- a/server/api/condition/condition.attributes.js +++ b/server/api/condition/condition.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xa9e0=['STRING','sequelize','exports','VIRTUAL','field'];(function(_0x2e7101,_0x448de9){var _0x1f7d1f=function(_0x1ea8b0){while(--_0x1ea8b0){_0x2e7101['push'](_0x2e7101['shift']());}};_0x1f7d1f(++_0x448de9);}(_0xa9e0,0x123));var _0x0a9e=function(_0x3635ce,_0x33a6f9){_0x3635ce=_0x3635ce-0x0;var _0x97ecd0=_0xa9e0[_0x3635ce];return _0x97ecd0;};'use strict';var Sequelize=require(_0x0a9e('0x0'));module[_0x0a9e('0x1')]={'name':{'type':Sequelize[_0x0a9e('0x2')],'get':function(_0x5dd881){return this['getDataValue'](_0x0a9e('0x3'));}},'field':{'type':Sequelize['STRING'],'allowNull':![]},'operator':{'type':Sequelize[_0x0a9e('0x4')],'allowNull':![]},'value':{'type':Sequelize[_0x0a9e('0x4')],'allowNull':![]}}; \ No newline at end of file +var _0xa9e0=['STRING','sequelize','exports','VIRTUAL','field'];(function(_0x8d6083,_0x3edd82){var _0xd09ad0=function(_0x58a289){while(--_0x58a289){_0x8d6083['push'](_0x8d6083['shift']());}};_0xd09ad0(++_0x3edd82);}(_0xa9e0,0x123));var _0x0a9e=function(_0x37c22c,_0x28a70d){_0x37c22c=_0x37c22c-0x0;var _0x119d79=_0xa9e0[_0x37c22c];return _0x119d79;};'use strict';var Sequelize=require(_0x0a9e('0x0'));module[_0x0a9e('0x1')]={'name':{'type':Sequelize[_0x0a9e('0x2')],'get':function(_0x5dd881){return this['getDataValue'](_0x0a9e('0x3'));}},'field':{'type':Sequelize['STRING'],'allowNull':![]},'operator':{'type':Sequelize[_0x0a9e('0x4')],'allowNull':![]},'value':{'type':Sequelize[_0x0a9e('0x4')],'allowNull':![]}}; \ No newline at end of file diff --git a/server/api/condition/condition.controller.js b/server/api/condition/condition.controller.js index e725b58..07c532f 100644 --- a/server/api/condition/condition.controller.js +++ b/server/api/condition/condition.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x8404=['to-csv','ejs','crypto','jsforce','desk.js','querystring','papaparse','../../components/auth/service','../../components/parsers/qs','../../config/license/hardware','../../config/logger','api','../../config/utils','../../mysqldb','sendStatus','status','end','count','offset','limit','json','apply','reject','then','destroy','stack','name','send','update','body','Condition','find','params','catch','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','mustache','path','sox'];(function(_0x4c378e,_0x286afb){var _0xf41ce7=function(_0x48d22e){while(--_0x48d22e){_0x4c378e['push'](_0x4c378e['shift']());}};_0xf41ce7(++_0x286afb);}(_0x8404,0x15d));var _0x4840=function(_0x6715c5,_0x13a2ae){_0x6715c5=_0x6715c5-0x0;var _0x26e8ef=_0x8404[_0x6715c5];return _0x26e8ef;};'use strict';var pdf=require(_0x4840('0x0'));var emlformat=require(_0x4840('0x1'));var rimraf=require(_0x4840('0x2'));var zipdir=require(_0x4840('0x3'));var jsonpatch=require(_0x4840('0x4'));var rp=require(_0x4840('0x5'));var moment=require(_0x4840('0x6'));var BPromise=require(_0x4840('0x7'));var Mustache=require(_0x4840('0x8'));var util=require('util');var path=require(_0x4840('0x9'));var sox=require(_0x4840('0xa'));var csv=require(_0x4840('0xb'));var ejs=require(_0x4840('0xc'));var fs=require('fs');var _=require('lodash');var squel=require('squel');var crypto=require(_0x4840('0xd'));var jsforce=require(_0x4840('0xe'));var deskjs=require(_0x4840('0xf'));var toCsv=require(_0x4840('0xb'));var querystring=require(_0x4840('0x10'));var Papa=require(_0x4840('0x11'));var Redis=require('ioredis');var authService=require(_0x4840('0x12'));var qs=require(_0x4840('0x13'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0x4840('0x14'));var logger=require(_0x4840('0x15'))(_0x4840('0x16'));var utils=require(_0x4840('0x17'));var config=require('../../config/environment');var db=require(_0x4840('0x18'))['db'];function respondWithStatusCode(_0x2dfec2,_0x2e0b77){_0x2e0b77=_0x2e0b77||0xcc;return function(_0x2b1237){if(_0x2b1237){return _0x2dfec2[_0x4840('0x19')](_0x2e0b77);}return _0x2dfec2[_0x4840('0x1a')](_0x2e0b77)[_0x4840('0x1b')]();};}function respondWithResult(_0x5be053,_0x4d9cbb){_0x4d9cbb=_0x4d9cbb||0xc8;return function(_0x9fafeb){if(_0x9fafeb){return _0x5be053[_0x4840('0x1a')](_0x4d9cbb)['json'](_0x9fafeb);}};}function respondWithFilteredResult(_0x4449e9,_0xb63644){return function(_0x4787c4){if(_0x4787c4){var _0x477823=_0x4787c4[_0x4840('0x1c')],_0x538a22=_0xb63644[_0x4840('0x1d')],_0x30a851=_0xb63644[_0x4840('0x1d')]+_0xb63644[_0x4840('0x1e')],_0x1a9282;if(_0x30a851>=_0x477823){_0x30a851=_0x477823;_0x1a9282=0xc8;}else{_0x1a9282=0xce;}_0x4449e9[_0x4840('0x1a')](_0x1a9282);return _0x4449e9['set']('Content-Range',_0x538a22+'-'+_0x30a851+'/'+_0x477823)[_0x4840('0x1f')](_0x4787c4);}return null;};}function patchUpdates(_0x584367){return function(_0xb69aa4){try{jsonpatch[_0x4840('0x20')](_0xb69aa4,_0x584367,!![]);}catch(_0x470050){return BPromise[_0x4840('0x21')](_0x470050);}return _0xb69aa4['save']();};}function saveUpdates(_0x5f2a2a,_0x8d4c52){return function(_0x3e6499){if(_0x3e6499){return _0x3e6499['update'](_0x5f2a2a)[_0x4840('0x22')](function(_0x2a78a1){return _0x2a78a1;});}return null;};}function removeEntity(_0x1be710,_0x2ac38f){return function(_0x4a05bb){if(_0x4a05bb){return _0x4a05bb[_0x4840('0x23')]()[_0x4840('0x22')](function(){_0x1be710['status'](0xcc)['end']();});}};}function handleEntityNotFound(_0x3d2524,_0x2985f0){return function(_0x35939b){if(!_0x35939b){_0x3d2524[_0x4840('0x19')](0x194);}return _0x35939b;};}function handleError(_0xe4f1a,_0x15ec23){_0x15ec23=_0x15ec23||0x1f4;return function(_0x2e6760){logger['error'](_0x2e6760[_0x4840('0x24')]);if(_0x2e6760[_0x4840('0x25')]){delete _0x2e6760[_0x4840('0x25')];}_0xe4f1a[_0x4840('0x1a')](_0x15ec23)[_0x4840('0x26')](_0x2e6760);};}exports[_0x4840('0x27')]=function(_0x4f0578,_0x4646be){if(_0x4f0578['body']['id']){delete _0x4f0578[_0x4840('0x28')]['id'];}return db[_0x4840('0x29')][_0x4840('0x2a')]({'where':{'id':_0x4f0578[_0x4840('0x2b')]['id']}})[_0x4840('0x22')](handleEntityNotFound(_0x4646be,null))['then'](saveUpdates(_0x4f0578[_0x4840('0x28')],null))['then'](respondWithResult(_0x4646be,null))[_0x4840('0x2c')](handleError(_0x4646be,null));};exports[_0x4840('0x23')]=function(_0x21635b,_0x5def43){return db['Condition'][_0x4840('0x2a')]({'where':{'id':_0x21635b[_0x4840('0x2b')]['id']}})[_0x4840('0x22')](handleEntityNotFound(_0x5def43,null))[_0x4840('0x22')](removeEntity(_0x5def43,null))[_0x4840('0x2c')](handleError(_0x5def43,null));}; \ No newline at end of file +var _0x39bb=['to-csv','lodash','squel','crypto','jsforce','desk.js','papaparse','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/environment','../../mysqldb','status','json','count','offset','set','Content-Range','apply','reject','save','update','then','destroy','end','error','stack','send','body','Condition','find','catch','html-pdf','rimraf','zip-dir','request-promise','moment','bluebird','util','sox'];(function(_0x52abc6,_0x20e481){var _0x35b337=function(_0x2e6749){while(--_0x2e6749){_0x52abc6['push'](_0x52abc6['shift']());}};_0x35b337(++_0x20e481);}(_0x39bb,0x1a6));var _0xb39b=function(_0x5d8cb7,_0x2851f7){_0x5d8cb7=_0x5d8cb7-0x0;var _0xece05d=_0x39bb[_0x5d8cb7];return _0xece05d;};'use strict';var pdf=require(_0xb39b('0x0'));var emlformat=require('eml-format');var rimraf=require(_0xb39b('0x1'));var zipdir=require(_0xb39b('0x2'));var jsonpatch=require('fast-json-patch');var rp=require(_0xb39b('0x3'));var moment=require(_0xb39b('0x4'));var BPromise=require(_0xb39b('0x5'));var Mustache=require('mustache');var util=require(_0xb39b('0x6'));var path=require('path');var sox=require(_0xb39b('0x7'));var csv=require(_0xb39b('0x8'));var ejs=require('ejs');var fs=require('fs');var _=require(_0xb39b('0x9'));var squel=require(_0xb39b('0xa'));var crypto=require(_0xb39b('0xb'));var jsforce=require(_0xb39b('0xc'));var deskjs=require(_0xb39b('0xd'));var toCsv=require('to-csv');var querystring=require('querystring');var Papa=require(_0xb39b('0xe'));var Redis=require('ioredis');var authService=require(_0xb39b('0xf'));var qs=require(_0xb39b('0x10'));var as=require(_0xb39b('0x11'));var hardwareService=require(_0xb39b('0x12'));var logger=require(_0xb39b('0x13'))(_0xb39b('0x14'));var utils=require('../../config/utils');var config=require(_0xb39b('0x15'));var db=require(_0xb39b('0x16'))['db'];function respondWithStatusCode(_0x1d9c07,_0x44a289){_0x44a289=_0x44a289||0xcc;return function(_0x100581){if(_0x100581){return _0x1d9c07['sendStatus'](_0x44a289);}return _0x1d9c07[_0xb39b('0x17')](_0x44a289)['end']();};}function respondWithResult(_0x3523ad,_0x8f3d06){_0x8f3d06=_0x8f3d06||0xc8;return function(_0x515d03){if(_0x515d03){return _0x3523ad[_0xb39b('0x17')](_0x8f3d06)[_0xb39b('0x18')](_0x515d03);}};}function respondWithFilteredResult(_0x468caf,_0xe2335e){return function(_0x4e604e){if(_0x4e604e){var _0x15d790=_0x4e604e[_0xb39b('0x19')],_0x35af5f=_0xe2335e[_0xb39b('0x1a')],_0x27d718=_0xe2335e[_0xb39b('0x1a')]+_0xe2335e['limit'],_0x416405;if(_0x27d718>=_0x15d790){_0x27d718=_0x15d790;_0x416405=0xc8;}else{_0x416405=0xce;}_0x468caf['status'](_0x416405);return _0x468caf[_0xb39b('0x1b')](_0xb39b('0x1c'),_0x35af5f+'-'+_0x27d718+'/'+_0x15d790)[_0xb39b('0x18')](_0x4e604e);}return null;};}function patchUpdates(_0x215ac1){return function(_0x2cf9a2){try{jsonpatch[_0xb39b('0x1d')](_0x2cf9a2,_0x215ac1,!![]);}catch(_0x370f36){return BPromise[_0xb39b('0x1e')](_0x370f36);}return _0x2cf9a2[_0xb39b('0x1f')]();};}function saveUpdates(_0x705bc9,_0x51eabd){return function(_0xa8f731){if(_0xa8f731){return _0xa8f731[_0xb39b('0x20')](_0x705bc9)[_0xb39b('0x21')](function(_0x221a11){return _0x221a11;});}return null;};}function removeEntity(_0x5078ed,_0x3b08cb){return function(_0x31bf32){if(_0x31bf32){return _0x31bf32[_0xb39b('0x22')]()[_0xb39b('0x21')](function(){_0x5078ed['status'](0xcc)[_0xb39b('0x23')]();});}};}function handleEntityNotFound(_0x5798e4,_0x4bf3ef){return function(_0x4480f9){if(!_0x4480f9){_0x5798e4['sendStatus'](0x194);}return _0x4480f9;};}function handleError(_0x137842,_0x5c6e7b){_0x5c6e7b=_0x5c6e7b||0x1f4;return function(_0x47eeca){logger[_0xb39b('0x24')](_0x47eeca[_0xb39b('0x25')]);if(_0x47eeca['name']){delete _0x47eeca['name'];}_0x137842[_0xb39b('0x17')](_0x5c6e7b)[_0xb39b('0x26')](_0x47eeca);};}exports['update']=function(_0xa52baa,_0xfbfe83){if(_0xa52baa['body']['id']){delete _0xa52baa[_0xb39b('0x27')]['id'];}return db[_0xb39b('0x28')][_0xb39b('0x29')]({'where':{'id':_0xa52baa['params']['id']}})['then'](handleEntityNotFound(_0xfbfe83,null))[_0xb39b('0x21')](saveUpdates(_0xa52baa[_0xb39b('0x27')],null))[_0xb39b('0x21')](respondWithResult(_0xfbfe83,null))[_0xb39b('0x2a')](handleError(_0xfbfe83,null));};exports[_0xb39b('0x22')]=function(_0x17dff3,_0x4b67c4){return db[_0xb39b('0x28')][_0xb39b('0x29')]({'where':{'id':_0x17dff3['params']['id']}})[_0xb39b('0x21')](handleEntityNotFound(_0x4b67c4,null))[_0xb39b('0x21')](removeEntity(_0x4b67c4,null))[_0xb39b('0x2a')](handleError(_0x4b67c4,null));}; \ No newline at end of file diff --git a/server/api/condition/condition.model.js b/server/api/condition/condition.model.js index 8afacf2..d10d75c 100644 --- a/server/api/condition/condition.model.js +++ b/server/api/condition/condition.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xa84c=['Condition','tools_conditions','lodash','../../config/logger','bluebird','request-promise','path','rimraf','../../config/environment','./condition.attributes','exports'];(function(_0x3697c9,_0x2dc262){var _0x4f4024=function(_0x36760b){while(--_0x36760b){_0x3697c9['push'](_0x3697c9['shift']());}};_0x4f4024(++_0x2dc262);}(_0xa84c,0x9c));var _0xca84=function(_0x48df6e,_0xd49de5){_0x48df6e=_0x48df6e-0x0;var _0x2f9610=_0xa84c[_0x48df6e];return _0x2f9610;};'use strict';var _=require(_0xca84('0x0'));var util=require('util');var logger=require(_0xca84('0x1'))('api');var moment=require('moment');var BPromise=require(_0xca84('0x2'));var rp=require(_0xca84('0x3'));var fs=require('fs');var path=require(_0xca84('0x4'));var rimraf=require(_0xca84('0x5'));var config=require(_0xca84('0x6'));var attributes=require(_0xca84('0x7'));module[_0xca84('0x8')]=function(_0x4150b0,_0x42817c){return _0x4150b0['define'](_0xca84('0x9'),attributes,{'tableName':_0xca84('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0x18a6=['path','rimraf','../../config/environment','./condition.attributes','define','Condition','tools_conditions','util','../../config/logger','api','moment','bluebird','request-promise'];(function(_0x41c340,_0x9392a4){var _0x181519=function(_0xf83530){while(--_0xf83530){_0x41c340['push'](_0x41c340['shift']());}};_0x181519(++_0x9392a4);}(_0x18a6,0x10b));var _0x618a=function(_0x461906,_0x31bd42){_0x461906=_0x461906-0x0;var _0x5bb374=_0x18a6[_0x461906];return _0x5bb374;};'use strict';var _=require('lodash');var util=require(_0x618a('0x0'));var logger=require(_0x618a('0x1'))(_0x618a('0x2'));var moment=require(_0x618a('0x3'));var BPromise=require(_0x618a('0x4'));var rp=require(_0x618a('0x5'));var fs=require('fs');var path=require(_0x618a('0x6'));var rimraf=require(_0x618a('0x7'));var config=require(_0x618a('0x8'));var attributes=require(_0x618a('0x9'));module['exports']=function(_0xf2c2bd,_0x9fe57b){return _0xf2c2bd[_0x618a('0xa')](_0x618a('0xb'),attributes,{'tableName':_0x618a('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/condition/condition.rpc.js b/server/api/condition/condition.rpc.js index e5e0f43..edb6222 100644 --- a/server/api/condition/condition.rpc.js +++ b/server/api/condition/condition.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xa629=['error','message','result','catch','lodash','moment','../../mysqldb','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','client','http','then','info','Condition,\x20%s,\x20%s','request\x20sent','debug','Condition,\x20%s,\x20%s,\x20%s','stringify'];(function(_0x2ce95b,_0x1b19ae){var _0x3f03b9=function(_0x1ade77){while(--_0x1ade77){_0x2ce95b['push'](_0x2ce95b['shift']());}};_0x3f03b9(++_0x1b19ae);}(_0xa629,0xd6));var _0x9a62=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xa629[_0x3dd15e];return _0x231fd0;};'use strict';var _=require(_0x9a62('0x0'));var util=require('util');var moment=require(_0x9a62('0x1'));var BPromise=require('bluebird');var rs=require('randomstring');var fs=require('fs');var Redis=require('ioredis');var db=require(_0x9a62('0x2'))['db'];var utils=require(_0x9a62('0x3'));var logger=require(_0x9a62('0x4'))(_0x9a62('0x5'));var config=require(_0x9a62('0x6'));var jayson=require(_0x9a62('0x7'));var client=jayson[_0x9a62('0x8')][_0x9a62('0x9')]({'port':0x232a});function respondWithRpcPromise(_0x673e07,_0x59ab80,_0x252f31){return new BPromise(function(_0x58162b,_0x233e9e){return client['request'](_0x673e07,_0x252f31)[_0x9a62('0xa')](function(_0x1257cd){logger[_0x9a62('0xb')](_0x9a62('0xc'),_0x59ab80,_0x9a62('0xd'));logger[_0x9a62('0xe')](_0x9a62('0xf'),_0x59ab80,'request\x20sent',JSON[_0x9a62('0x10')](_0x1257cd));if(_0x1257cd['error']){if(_0x1257cd[_0x9a62('0x11')]['code']===0x1f4){logger[_0x9a62('0x11')](_0x9a62('0xc'),_0x59ab80,_0x1257cd[_0x9a62('0x11')][_0x9a62('0x12')]);return _0x233e9e(_0x1257cd['error'][_0x9a62('0x12')]);}logger['error'](_0x9a62('0xc'),_0x59ab80,_0x1257cd[_0x9a62('0x11')][_0x9a62('0x12')]);return _0x58162b(_0x1257cd[_0x9a62('0x11')][_0x9a62('0x12')]);}else{logger[_0x9a62('0xb')](_0x9a62('0xc'),_0x59ab80,_0x9a62('0xd'));_0x58162b(_0x1257cd[_0x9a62('0x13')][_0x9a62('0x12')]);}})[_0x9a62('0x14')](function(_0x383c6b){logger[_0x9a62('0x11')]('Condition,\x20%s,\x20%s',_0x59ab80,_0x383c6b);_0x233e9e(_0x383c6b);});});} \ No newline at end of file +var _0xd28c=['code','message','result','catch','lodash','moment','randomstring','ioredis','../../mysqldb','../../config/utils','rpc','../../config/environment','jayson/promise','then','info','Condition,\x20%s,\x20%s','request\x20sent','Condition,\x20%s,\x20%s,\x20%s','stringify','error'];(function(_0x5b0795,_0x2cf127){var _0x1297e6=function(_0xe647d6){while(--_0xe647d6){_0x5b0795['push'](_0x5b0795['shift']());}};_0x1297e6(++_0x2cf127);}(_0xd28c,0x194));var _0xcd28=function(_0xc01a58,_0x301597){_0xc01a58=_0xc01a58-0x0;var _0x23691c=_0xd28c[_0xc01a58];return _0x23691c;};'use strict';var _=require(_0xcd28('0x0'));var util=require('util');var moment=require(_0xcd28('0x1'));var BPromise=require('bluebird');var rs=require(_0xcd28('0x2'));var fs=require('fs');var Redis=require(_0xcd28('0x3'));var db=require(_0xcd28('0x4'))['db'];var utils=require(_0xcd28('0x5'));var logger=require('../../config/logger')(_0xcd28('0x6'));var config=require(_0xcd28('0x7'));var jayson=require(_0xcd28('0x8'));var client=jayson['client']['http']({'port':0x232a});function respondWithRpcPromise(_0x14f4df,_0x2dac8d,_0x505510){return new BPromise(function(_0x1247e7,_0x116062){return client['request'](_0x14f4df,_0x505510)[_0xcd28('0x9')](function(_0xab032a){logger[_0xcd28('0xa')](_0xcd28('0xb'),_0x2dac8d,_0xcd28('0xc'));logger['debug'](_0xcd28('0xd'),_0x2dac8d,'request\x20sent',JSON[_0xcd28('0xe')](_0xab032a));if(_0xab032a[_0xcd28('0xf')]){if(_0xab032a['error'][_0xcd28('0x10')]===0x1f4){logger[_0xcd28('0xf')](_0xcd28('0xb'),_0x2dac8d,_0xab032a[_0xcd28('0xf')][_0xcd28('0x11')]);return _0x116062(_0xab032a[_0xcd28('0xf')][_0xcd28('0x11')]);}logger[_0xcd28('0xf')](_0xcd28('0xb'),_0x2dac8d,_0xab032a[_0xcd28('0xf')][_0xcd28('0x11')]);return _0x1247e7(_0xab032a[_0xcd28('0xf')][_0xcd28('0x11')]);}else{logger['info'](_0xcd28('0xb'),_0x2dac8d,_0xcd28('0xc'));_0x1247e7(_0xab032a[_0xcd28('0x12')]['message']);}})[_0xcd28('0x13')](function(_0x5a489e){logger['error'](_0xcd28('0xb'),_0x2dac8d,_0x5a489e);_0x116062(_0x5a489e);});});} \ No newline at end of file diff --git a/server/api/condition/index.js b/server/api/condition/index.js index 7afce98..5d7a16b 100644 --- a/server/api/condition/index.js +++ b/server/api/condition/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xc6bb=['util','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','put','/:id','isAuthenticated','update','delete','destroy'];(function(_0x5aa2bd,_0x5c445b){var _0x52bcba=function(_0x4acf1f){while(--_0x4acf1f){_0x5aa2bd['push'](_0x5aa2bd['shift']());}};_0x52bcba(++_0x5c445b);}(_0xc6bb,0xd0));var _0xbc6b=function(_0x5b9fb6,_0x130b4e){_0x5b9fb6=_0x5b9fb6-0x0;var _0x2fdb2c=_0xc6bb[_0x5b9fb6];return _0x2fdb2c;};'use strict';var multer=require('multer');var util=require(_0xbc6b('0x0'));var path=require('path');var timeout=require(_0xbc6b('0x1'));var express=require(_0xbc6b('0x2'));var router=express[_0xbc6b('0x3')]();var auth=require(_0xbc6b('0x4'));var interaction=require(_0xbc6b('0x5'));var config=require(_0xbc6b('0x6'));var controller=require('./condition.controller');router[_0xbc6b('0x7')](_0xbc6b('0x8'),auth[_0xbc6b('0x9')](),controller[_0xbc6b('0xa')]);router[_0xbc6b('0xb')](_0xbc6b('0x8'),auth[_0xbc6b('0x9')](),controller[_0xbc6b('0xc')]);module['exports']=router; \ No newline at end of file +var _0x9531=['connect-timeout','express','Router','../../components/interaction/service','put','/:id','isAuthenticated','update','delete','exports','multer','util'];(function(_0x936c06,_0x37e5f3){var _0x499208=function(_0x1f6309){while(--_0x1f6309){_0x936c06['push'](_0x936c06['shift']());}};_0x499208(++_0x37e5f3);}(_0x9531,0x1de));var _0x1953=function(_0x29fd53,_0x543f5a){_0x29fd53=_0x29fd53-0x0;var _0x1bc87d=_0x9531[_0x29fd53];return _0x1bc87d;};'use strict';var multer=require(_0x1953('0x0'));var util=require(_0x1953('0x1'));var path=require('path');var timeout=require(_0x1953('0x2'));var express=require(_0x1953('0x3'));var router=express[_0x1953('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0x1953('0x5'));var config=require('../../config/environment');var controller=require('./condition.controller');router[_0x1953('0x6')](_0x1953('0x7'),auth[_0x1953('0x8')](),controller[_0x1953('0x9')]);router[_0x1953('0xa')](_0x1953('0x7'),auth[_0x1953('0x8')](),controller['destroy']);module[_0x1953('0xb')]=router; \ No newline at end of file diff --git a/server/api/dashboard/dashboard.attributes.js b/server/api/dashboard/dashboard.attributes.js index 4274997..5ae8175 100644 --- a/server/api/dashboard/dashboard.attributes.js +++ b/server/api/dashboard/dashboard.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x6c7b=['STRING','sequelize'];(function(_0x5922aa,_0x3d3354){var _0x380e8b=function(_0x59db6d){while(--_0x59db6d){_0x5922aa['push'](_0x5922aa['shift']());}};_0x380e8b(++_0x3d3354);}(_0x6c7b,0x10b));var _0xb6c7=function(_0x4ef125,_0x145438){_0x4ef125=_0x4ef125-0x0;var _0x26b73b=_0x6c7b[_0x4ef125];return _0x26b73b;};'use strict';var Sequelize=require(_0xb6c7('0x0'));module['exports']={'name':{'type':Sequelize['STRING'],'allowNull':![],'unique':'name'},'description':{'type':Sequelize[_0xb6c7('0x1')]}}; \ No newline at end of file +var _0x4fd7=['STRING','name','sequelize','exports'];(function(_0x2730fb,_0x5ada61){var _0x5cf4fc=function(_0x26f1a2){while(--_0x26f1a2){_0x2730fb['push'](_0x2730fb['shift']());}};_0x5cf4fc(++_0x5ada61);}(_0x4fd7,0xe6));var _0x74fd=function(_0x5c7ba5,_0x9d0c7a){_0x5c7ba5=_0x5c7ba5-0x0;var _0x2b748d=_0x4fd7[_0x5c7ba5];return _0x2b748d;};'use strict';var Sequelize=require(_0x74fd('0x0'));module[_0x74fd('0x1')]={'name':{'type':Sequelize[_0x74fd('0x2')],'allowNull':![],'unique':_0x74fd('0x3')},'description':{'type':Sequelize['STRING']}}; \ No newline at end of file diff --git a/server/api/dashboard/dashboard.controller.js b/server/api/dashboard/dashboard.controller.js index a8081cb..313fe43 100644 --- a/server/api/dashboard/dashboard.controller.js +++ b/server/api/dashboard/dashboard.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xe152=['filters','intersection','attributes','fields','length','nolimit','order','sort','pick','filter','where','merge','VIRTUAL','options','includeAll','include','Dashboard','findAll','rows','show','params','keys','find','catch','create','body','user','Unable\x20to\x20retrieve\x20the\x20current\x20user','role','UserProfileSection','userProfileId','UserProfileResource','error','clone','omit','updatedAt','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','iframe','attrUrl','attrs','custom','attrPath','value','clock','attrHourFormat','HH:mm:ss','attrTimezone','0.00','attrFontSize','attrMetric','total','attrVoiceQueues','multibar-chart','attrSerie1','attrSerie3','attrReport','attrRefresh','widgetAttributes:\x20%s','DashboardId','getItems','findOne','hasOwnProperty','html-pdf','fast-json-patch','request-promise','moment','bluebird','mustache','path','sox','to-csv','squel','crypto','desk.js','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','../../config/utils','../../mysqldb','redis','defaults','localhost','socket.io-emitter','register','sendStatus','status','end','count','offset','limit','Content-Range','json','apply','reject','save','update','then','destroy','get','CustomDashboards','name','send','index','rawAttributes','fieldName','type','key','model','map','query'];(function(_0x508269,_0x50d430){var _0x531ce6=function(_0x977158){while(--_0x977158){_0x508269['push'](_0x508269['shift']());}};_0x531ce6(++_0x50d430);}(_0xe152,0xb0));var _0x2e15=function(_0x132ca4,_0x4c4e26){_0x132ca4=_0x132ca4-0x0;var _0x46ae69=_0xe152[_0x132ca4];return _0x46ae69;};'use strict';var pdf=require(_0x2e15('0x0'));var emlformat=require('eml-format');var rimraf=require('rimraf');var zipdir=require('zip-dir');var jsonpatch=require(_0x2e15('0x1'));var rp=require(_0x2e15('0x2'));var moment=require(_0x2e15('0x3'));var BPromise=require(_0x2e15('0x4'));var Mustache=require(_0x2e15('0x5'));var util=require('util');var path=require(_0x2e15('0x6'));var sox=require(_0x2e15('0x7'));var csv=require(_0x2e15('0x8'));var ejs=require('ejs');var fs=require('fs');var _=require('lodash');var squel=require(_0x2e15('0x9'));var crypto=require(_0x2e15('0xa'));var jsforce=require('jsforce');var deskjs=require(_0x2e15('0xb'));var toCsv=require(_0x2e15('0x8'));var querystring=require('querystring');var Papa=require(_0x2e15('0xc'));var Redis=require(_0x2e15('0xd'));var authService=require(_0x2e15('0xe'));var qs=require(_0x2e15('0xf'));var as=require(_0x2e15('0x10'));var hardwareService=require(_0x2e15('0x11'));var logger=require(_0x2e15('0x12'))('api');var utils=require(_0x2e15('0x13'));var config=require('../../config/environment');var db=require(_0x2e15('0x14'))['db'];config[_0x2e15('0x15')]=_[_0x2e15('0x16')](config['redis'],{'host':_0x2e15('0x17'),'port':0x18eb});var socket=require(_0x2e15('0x18'))(new Redis(config[_0x2e15('0x15')]));require('./dashboard.socket')[_0x2e15('0x19')](socket);function respondWithStatusCode(_0x2820c4,_0xd7176e){_0xd7176e=_0xd7176e||0xcc;return function(_0x2aa63b){if(_0x2aa63b){return _0x2820c4[_0x2e15('0x1a')](_0xd7176e);}return _0x2820c4[_0x2e15('0x1b')](_0xd7176e)[_0x2e15('0x1c')]();};}function respondWithResult(_0x28da01,_0x244c69){_0x244c69=_0x244c69||0xc8;return function(_0x41a60e){if(_0x41a60e){return _0x28da01[_0x2e15('0x1b')](_0x244c69)['json'](_0x41a60e);}};}function respondWithFilteredResult(_0xb6e00b,_0xca9006){return function(_0x19c788){if(_0x19c788){var _0x28332a=_0x19c788[_0x2e15('0x1d')],_0x45a948=_0xca9006[_0x2e15('0x1e')],_0x11a4a9=_0xca9006[_0x2e15('0x1e')]+_0xca9006[_0x2e15('0x1f')],_0x4b8de7;if(_0x11a4a9>=_0x28332a){_0x11a4a9=_0x28332a;_0x4b8de7=0xc8;}else{_0x4b8de7=0xce;}_0xb6e00b[_0x2e15('0x1b')](_0x4b8de7);return _0xb6e00b['set'](_0x2e15('0x20'),_0x45a948+'-'+_0x11a4a9+'/'+_0x28332a)[_0x2e15('0x21')](_0x19c788);}return null;};}function patchUpdates(_0xbd583e){return function(_0x3e567b){try{jsonpatch[_0x2e15('0x22')](_0x3e567b,_0xbd583e,!![]);}catch(_0xac5355){return BPromise[_0x2e15('0x23')](_0xac5355);}return _0x3e567b[_0x2e15('0x24')]();};}function saveUpdates(_0x30b8fe,_0x48cd15){return function(_0x3a5a48){if(_0x3a5a48){return _0x3a5a48[_0x2e15('0x25')](_0x30b8fe)[_0x2e15('0x26')](function(_0x3fbddb){return _0x3fbddb;});}return null;};}function removeEntity(_0x5b80af,_0x1d23fb){return function(_0x436bd6){if(_0x436bd6){return _0x436bd6[_0x2e15('0x27')]()[_0x2e15('0x26')](function(){var _0x2dcd54=_0x436bd6[_0x2e15('0x28')]({'plain':!![]});var _0x18788b=_0x2e15('0x29');return db['UserProfileResource'][_0x2e15('0x27')]({'where':{'type':_0x18788b,'resourceId':_0x2dcd54['id']}})['then'](function(){return _0x436bd6;});})['then'](function(){_0x5b80af[_0x2e15('0x1b')](0xcc)[_0x2e15('0x1c')]();});}};}function handleEntityNotFound(_0x452334,_0xe54915){return function(_0xea76bf){if(!_0xea76bf){_0x452334[_0x2e15('0x1a')](0x194);}return _0xea76bf;};}function handleError(_0xbc792,_0x4b88a4){_0x4b88a4=_0x4b88a4||0x1f4;return function(_0x217379){logger['error'](_0x217379['stack']);if(_0x217379[_0x2e15('0x2a')]){delete _0x217379[_0x2e15('0x2a')];}_0xbc792[_0x2e15('0x1b')](_0x4b88a4)[_0x2e15('0x2b')](_0x217379);};}exports[_0x2e15('0x2c')]=function(_0x26a92e,_0x2020b9){var _0x5f0a2f={},_0x162ab8={},_0xedc71={'count':0x0,'rows':[]};var _0x437ff2=_['map'](db['Dashboard'][_0x2e15('0x2d')],function(_0x3b38ca){return{'name':_0x3b38ca[_0x2e15('0x2e')],'type':_0x3b38ca[_0x2e15('0x2f')][_0x2e15('0x30')]};});_0x162ab8[_0x2e15('0x31')]=_[_0x2e15('0x32')](_0x437ff2,_0x2e15('0x2a'));_0x162ab8[_0x2e15('0x33')]=_['keys'](_0x26a92e[_0x2e15('0x33')]);_0x162ab8[_0x2e15('0x34')]=_[_0x2e15('0x35')](_0x162ab8['model'],_0x162ab8['query']);_0x5f0a2f[_0x2e15('0x36')]=_[_0x2e15('0x35')](_0x162ab8['model'],qs[_0x2e15('0x37')](_0x26a92e['query'][_0x2e15('0x37')]));_0x5f0a2f[_0x2e15('0x36')]=_0x5f0a2f['attributes'][_0x2e15('0x38')]?_0x5f0a2f[_0x2e15('0x36')]:_0x162ab8[_0x2e15('0x31')];if(!_0x26a92e['query']['hasOwnProperty'](_0x2e15('0x39'))){_0x5f0a2f['limit']=qs[_0x2e15('0x1f')](_0x26a92e[_0x2e15('0x33')]['limit']);_0x5f0a2f[_0x2e15('0x1e')]=qs['offset'](_0x26a92e['query']['offset']);}_0x5f0a2f[_0x2e15('0x3a')]=qs[_0x2e15('0x3b')](_0x26a92e[_0x2e15('0x33')][_0x2e15('0x3b')]);_0x5f0a2f['where']=qs[_0x2e15('0x34')](_[_0x2e15('0x3c')](_0x26a92e[_0x2e15('0x33')],_0x162ab8['filters']),_0x437ff2);if(_0x26a92e['query'][_0x2e15('0x3d')]){_0x5f0a2f[_0x2e15('0x3e')]=_[_0x2e15('0x3f')](_0x5f0a2f[_0x2e15('0x3e')],{'$or':_[_0x2e15('0x32')](_0x437ff2,function(_0x2b1a09){if(_0x2b1a09[_0x2e15('0x2f')]!==_0x2e15('0x40')){var _0x3b817b={};_0x3b817b[_0x2b1a09[_0x2e15('0x2a')]]={'$like':'%'+_0x26a92e['query'][_0x2e15('0x3d')]+'%'};return _0x3b817b;}})});}_0x5f0a2f=_[_0x2e15('0x3f')]({},_0x5f0a2f,_0x26a92e[_0x2e15('0x41')]);var _0xe5d510={'where':_0x5f0a2f[_0x2e15('0x3e')]};return db['Dashboard'][_0x2e15('0x1d')](_0xe5d510)[_0x2e15('0x26')](function(_0x5cf6bd){_0xedc71['count']=_0x5cf6bd;if(_0x26a92e[_0x2e15('0x33')][_0x2e15('0x42')]){_0x5f0a2f[_0x2e15('0x43')]=[{'all':!![]}];}return db[_0x2e15('0x44')][_0x2e15('0x45')](_0x5f0a2f);})[_0x2e15('0x26')](function(_0x205793){_0xedc71[_0x2e15('0x46')]=_0x205793;return _0xedc71;})[_0x2e15('0x26')](respondWithFilteredResult(_0x2020b9,_0x5f0a2f))['catch'](handleError(_0x2020b9,null));};exports[_0x2e15('0x47')]=function(_0x58ef6f,_0x16bf73){var _0x4bbee7={'raw':![],'where':{'id':_0x58ef6f[_0x2e15('0x48')]['id']}},_0x15c07e={};_0x15c07e[_0x2e15('0x31')]=_[_0x2e15('0x49')](db['Dashboard'][_0x2e15('0x2d')]);_0x15c07e['query']=_[_0x2e15('0x49')](_0x58ef6f[_0x2e15('0x33')]);_0x15c07e[_0x2e15('0x34')]=_[_0x2e15('0x35')](_0x15c07e['model'],_0x15c07e[_0x2e15('0x33')]);_0x4bbee7['attributes']=_[_0x2e15('0x35')](_0x15c07e[_0x2e15('0x31')],qs[_0x2e15('0x37')](_0x58ef6f[_0x2e15('0x33')][_0x2e15('0x37')]));_0x4bbee7['attributes']=_0x4bbee7[_0x2e15('0x36')][_0x2e15('0x38')]?_0x4bbee7[_0x2e15('0x36')]:_0x15c07e['model'];if(_0x58ef6f['query'][_0x2e15('0x42')]){_0x4bbee7[_0x2e15('0x43')]=[{'all':!![]}];}_0x4bbee7=_[_0x2e15('0x3f')]({},_0x4bbee7,_0x58ef6f[_0x2e15('0x41')]);return db[_0x2e15('0x44')][_0x2e15('0x4a')](_0x4bbee7)['then'](handleEntityNotFound(_0x16bf73,null))[_0x2e15('0x26')](respondWithResult(_0x16bf73,null))[_0x2e15('0x4b')](handleError(_0x16bf73,null));};exports[_0x2e15('0x4c')]=function(_0x4f751f,_0x514822){return db[_0x2e15('0x44')][_0x2e15('0x4c')](_0x4f751f[_0x2e15('0x4d')],{})[_0x2e15('0x26')](function(_0xc6d6f9){var _0x3df8d1=_0x4f751f[_0x2e15('0x4e')]['get']({'plain':!![]});if(!_0x3df8d1)throw new Error(_0x2e15('0x4f'));if(_0x3df8d1[_0x2e15('0x50')]===_0x2e15('0x4e')){var _0x665b2f=_0xc6d6f9['get']({'plain':!![]});var _0x12377e='CustomDashboards';return db[_0x2e15('0x51')]['find']({'where':{'name':_0x12377e,'userProfileId':_0x3df8d1[_0x2e15('0x52')]},'raw':!![]})[_0x2e15('0x26')](function(_0x7122f6){if(_0x7122f6&&_0x7122f6['autoAssociation']===0x0){return db[_0x2e15('0x53')]['create']({'name':_0x665b2f['name'],'resourceId':_0x665b2f['id'],'type':_0x7122f6[_0x2e15('0x2a')],'sectionId':_0x7122f6['id']},{})[_0x2e15('0x26')](function(){return _0xc6d6f9;});}else{return _0xc6d6f9;}})[_0x2e15('0x4b')](function(_0x341b5a){logger[_0x2e15('0x54')]('Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s',_0x341b5a);throw _0x341b5a;});}return _0xc6d6f9;})[_0x2e15('0x26')](respondWithResult(_0x514822,0xc9))[_0x2e15('0x4b')](handleError(_0x514822,null));};exports[_0x2e15('0x55')]=function(_0x112c81,_0x24fc65){var _0x3218d3={'where':{'id':_0x112c81[_0x2e15('0x48')]['id']}},_0x3e875c={};_0x3e875c['model']=_[_0x2e15('0x49')](db['Dashboard'][_0x2e15('0x2d')]);_0x3218d3[_0x2e15('0x36')]=_['intersection'](_0x3e875c[_0x2e15('0x31')],qs[_0x2e15('0x37')](_0x112c81[_0x2e15('0x33')][_0x2e15('0x37')]));_0x3218d3['attributes']=_0x3218d3[_0x2e15('0x36')][_0x2e15('0x38')]?_0x3218d3[_0x2e15('0x36')]:_0x3e875c[_0x2e15('0x31')];if(_0x112c81[_0x2e15('0x33')][_0x2e15('0x42')]){_0x3218d3[_0x2e15('0x43')]=[{'all':!![]}];}_0x3218d3=_['merge']({},_0x3218d3,_0x112c81[_0x2e15('0x41')]);return db[_0x2e15('0x44')][_0x2e15('0x4a')](_0x3218d3)[_0x2e15('0x26')](handleEntityNotFound(_0x24fc65,null))[_0x2e15('0x26')](function(_0x2aa1c7){if(_0x2aa1c7){var _0x4e3d24=_0x2aa1c7['get']({'plain':!![]});_0x4e3d24=qs[_0x2e15('0x56')](_0x4e3d24,['id','createdAt','updatedAt']);_0x112c81[_0x2e15('0x4d')]=_['omit'](_0x112c81[_0x2e15('0x4d')],['id','createdAt',_0x2e15('0x57')]);return db[_0x2e15('0x44')][_0x2e15('0x4c')](_[_0x2e15('0x3f')](_0x4e3d24,_0x112c81[_0x2e15('0x4d')]),{'include':_0x112c81[_0x2e15('0x33')][_0x2e15('0x42')]?[{'all':!![]}]:undefined})[_0x2e15('0x26')](function(_0x561384){var _0x11b3cb=_0x112c81[_0x2e15('0x4e')][_0x2e15('0x28')]({'plain':!![]});if(!_0x11b3cb)throw new Error('Unable\x20to\x20retrieve\x20the\x20current\x20user');if(_0x11b3cb[_0x2e15('0x50')]===_0x2e15('0x4e')){var _0x3266fb=_0x561384[_0x2e15('0x28')]({'plain':!![]});var _0x3d6c7f=_0x2e15('0x29');return db[_0x2e15('0x51')][_0x2e15('0x4a')]({'where':{'name':_0x3d6c7f,'userProfileId':_0x11b3cb[_0x2e15('0x52')]},'raw':!![]})[_0x2e15('0x26')](function(_0x4e4114){if(_0x4e4114&&_0x4e4114['autoAssociation']===0x0){return db[_0x2e15('0x53')][_0x2e15('0x4c')]({'name':_0x3266fb[_0x2e15('0x2a')],'resourceId':_0x3266fb['id'],'type':_0x4e4114[_0x2e15('0x2a')],'sectionId':_0x4e4114['id']},{})[_0x2e15('0x26')](function(){return _0x561384;});}else{return _0x561384;}})[_0x2e15('0x4b')](function(_0x1ddba6){logger[_0x2e15('0x54')](_0x2e15('0x58'),_0x1ddba6);throw _0x1ddba6;});}return _0x561384;});}})[_0x2e15('0x26')](respondWithResult(_0x24fc65,0xc9))[_0x2e15('0x4b')](handleError(_0x24fc65,null));};exports[_0x2e15('0x25')]=function(_0x35e80d,_0x27e5c3){if(_0x35e80d[_0x2e15('0x4d')]['id']){delete _0x35e80d[_0x2e15('0x4d')]['id'];}return db[_0x2e15('0x44')][_0x2e15('0x4a')]({'where':{'id':_0x35e80d['params']['id']}})[_0x2e15('0x26')](handleEntityNotFound(_0x27e5c3,null))['then'](saveUpdates(_0x35e80d['body'],null))[_0x2e15('0x26')](respondWithResult(_0x27e5c3,null))[_0x2e15('0x4b')](handleError(_0x27e5c3,null));};exports[_0x2e15('0x27')]=function(_0x53cc64,_0x2b7d2c){return db['Dashboard'][_0x2e15('0x4a')]({'where':{'id':_0x53cc64[_0x2e15('0x48')]['id']}})[_0x2e15('0x26')](handleEntityNotFound(_0x2b7d2c,null))[_0x2e15('0x26')](removeEntity(_0x2b7d2c,null))[_0x2e15('0x4b')](handleError(_0x2b7d2c,null));};function widgetAttributes(_0x1aa38a){try{switch(_0x1aa38a[_0x2e15('0x2f')]){case _0x2e15('0x59'):return[{'name':_0x2e15('0x5a'),'value':_0x1aa38a['attrUrl']||(_0x1aa38a[_0x2e15('0x5b')]&&_0x1aa38a[_0x2e15('0x5b')][0x0]?_0x1aa38a[_0x2e15('0x5b')][0x0]['value']:undefined)||'https://'}];case _0x2e15('0x5c'):return[{'name':_0x2e15('0x5d'),'value':_0x1aa38a['attrPath']||(_0x1aa38a[_0x2e15('0x5b')]&&_0x1aa38a['attrs'][0x0]?_0x1aa38a[_0x2e15('0x5b')][0x0][_0x2e15('0x5e')]:undefined)||''}];case _0x2e15('0x5f'):return[{'name':_0x2e15('0x60'),'value':_0x1aa38a[_0x2e15('0x60')]||(_0x1aa38a['attrs']&&_0x1aa38a[_0x2e15('0x5b')][0x0]?_0x1aa38a[_0x2e15('0x5b')][0x0][_0x2e15('0x5e')]:undefined)||_0x2e15('0x61')},{'name':'attrTimezone','value':_0x1aa38a[_0x2e15('0x62')]||(_0x1aa38a['attrs']&&_0x1aa38a[_0x2e15('0x5b')][0x1]?_0x1aa38a[_0x2e15('0x5b')][0x1][_0x2e15('0x5e')]:undefined)||_0x2e15('0x63')},{'name':'attrFontSize','value':_0x1aa38a[_0x2e15('0x64')]||(_0x1aa38a[_0x2e15('0x5b')]&&_0x1aa38a['attrs'][0x2]?_0x1aa38a[_0x2e15('0x5b')][0x2][_0x2e15('0x5e')]:undefined)||0xc}];case'counter':return[{'name':_0x2e15('0x65'),'value':_0x1aa38a['attrMetric']||(_0x1aa38a[_0x2e15('0x5b')]&&_0x1aa38a[_0x2e15('0x5b')][0x0]?_0x1aa38a[_0x2e15('0x5b')][0x0][_0x2e15('0x5e')]:undefined)||_0x2e15('0x66')},{'name':_0x2e15('0x67'),'value':_0x1aa38a[_0x2e15('0x67')]||(_0x1aa38a['attrs']&&_0x1aa38a[_0x2e15('0x5b')][0x1]?_0x1aa38a[_0x2e15('0x5b')][0x1][_0x2e15('0x5e')]:undefined)||[]},{'name':'attrFontSize','value':_0x1aa38a[_0x2e15('0x64')]||(_0x1aa38a[_0x2e15('0x5b')]&&_0x1aa38a['attrs'][0x2]?_0x1aa38a[_0x2e15('0x5b')][0x2][_0x2e15('0x5e')]:undefined)||0x14}];case _0x2e15('0x68'):case'pie-chart':return[{'name':_0x2e15('0x69'),'value':_0x1aa38a[_0x2e15('0x69')]||(_0x1aa38a[_0x2e15('0x5b')]&&_0x1aa38a[_0x2e15('0x5b')][0x0]?_0x1aa38a[_0x2e15('0x5b')][0x0]['value']:undefined)||'total'},{'name':'attrSerie2','value':_0x1aa38a['attrSerie2']||(_0x1aa38a[_0x2e15('0x5b')]&&_0x1aa38a[_0x2e15('0x5b')][0x1]?_0x1aa38a[_0x2e15('0x5b')][0x1]['value']:undefined)||null},{'name':_0x2e15('0x6a'),'value':_0x1aa38a[_0x2e15('0x6a')]||(_0x1aa38a[_0x2e15('0x5b')]&&_0x1aa38a[_0x2e15('0x5b')][0x2]?_0x1aa38a[_0x2e15('0x5b')][0x2][_0x2e15('0x5e')]:undefined)||null},{'name':'attrVoiceQueues','value':_0x1aa38a[_0x2e15('0x67')]||(_0x1aa38a[_0x2e15('0x5b')]&&_0x1aa38a[_0x2e15('0x5b')][0x3]?_0x1aa38a[_0x2e15('0x5b')][0x3]['value']:undefined)||[]}];case'web-report':return[{'name':_0x2e15('0x6b'),'type':_0x1aa38a['reportType']||(_0x1aa38a[_0x2e15('0x5b')]&&_0x1aa38a['attrs'][0x0]?_0x1aa38a[_0x2e15('0x5b')][0x0][_0x2e15('0x2f')]:undefined)||null,'value':_0x1aa38a[_0x2e15('0x6b')]||(_0x1aa38a[_0x2e15('0x5b')]&&_0x1aa38a[_0x2e15('0x5b')][0x0]?_0x1aa38a[_0x2e15('0x5b')][0x0][_0x2e15('0x5e')]:undefined)||null},{'name':'attrRefresh','value':_0x1aa38a[_0x2e15('0x6c')]||(_0x1aa38a[_0x2e15('0x5b')]&&_0x1aa38a[_0x2e15('0x5b')][0x1]?_0x1aa38a['attrs'][0x1][_0x2e15('0x5e')]:undefined)||0x0}];default:return[];}}catch(_0x4d7b81){logger[_0x2e15('0x54')](_0x2e15('0x6d'),JSON['stringify'](_0x4d7b81));return[];}}exports['addItem']=function(_0x241d86,_0x4fe77e,_0x1ceeb4){if(_0x241d86[_0x2e15('0x4d')]['id']){delete _0x241d86[_0x2e15('0x4d')]['id'];}return db[_0x2e15('0x44')][_0x2e15('0x4a')]({'where':{'id':_0x241d86[_0x2e15('0x48')]['id']}})[_0x2e15('0x26')](handleEntityNotFound(_0x4fe77e,null))[_0x2e15('0x26')](function(_0x53c73e){if(_0x53c73e){_0x241d86[_0x2e15('0x4d')][_0x2e15('0x6e')]=_0x53c73e['id'];_0x241d86['body'][_0x2e15('0x5b')]=widgetAttributes(_0x241d86[_0x2e15('0x4d')]);return db['DashboardItem'][_0x2e15('0x4c')](_0x241d86[_0x2e15('0x4d')]);}})[_0x2e15('0x26')](respondWithResult(_0x4fe77e,null))['catch'](handleError(_0x4fe77e,null));};exports[_0x2e15('0x6f')]=function(_0x1e38f9,_0xbac2be,_0x24bab8){var _0x2a22e9={};var _0x104753={};var _0x3cdf7c;var _0x3a25dc;return db[_0x2e15('0x44')][_0x2e15('0x70')]({'where':{'id':_0x1e38f9['params']['id']}})[_0x2e15('0x26')](handleEntityNotFound(_0xbac2be,null))[_0x2e15('0x26')](function(_0x514e31){if(_0x514e31){_0x3cdf7c=_0x514e31;_0x104753['model']=_[_0x2e15('0x49')](db['DashboardItem'][_0x2e15('0x2d')]);_0x104753[_0x2e15('0x33')]=_['keys'](_0x1e38f9['query']);_0x104753[_0x2e15('0x34')]=_[_0x2e15('0x35')](_0x104753['model'],_0x104753['query']);_0x2a22e9['attributes']=_[_0x2e15('0x35')](_0x104753['model'],qs[_0x2e15('0x37')](_0x1e38f9[_0x2e15('0x33')][_0x2e15('0x37')]));_0x2a22e9[_0x2e15('0x36')]=_0x2a22e9[_0x2e15('0x36')]['length']?_0x2a22e9[_0x2e15('0x36')]:_0x104753['model'];_0x2a22e9[_0x2e15('0x3a')]=qs[_0x2e15('0x3b')](_0x1e38f9[_0x2e15('0x33')][_0x2e15('0x3b')]);_0x2a22e9['where']=qs[_0x2e15('0x34')](_[_0x2e15('0x3c')](_0x1e38f9['query'],_0x104753[_0x2e15('0x34')]));if(_0x1e38f9[_0x2e15('0x33')][_0x2e15('0x3d')]){_0x2a22e9[_0x2e15('0x3e')]=_[_0x2e15('0x3f')](_0x2a22e9['where'],{'$or':_[_0x2e15('0x32')](_0x2a22e9[_0x2e15('0x36')],function(_0x27571f){var _0x16c0aa={};_0x16c0aa[_0x27571f]={'$like':'%'+_0x1e38f9[_0x2e15('0x33')][_0x2e15('0x3d')]+'%'};return _0x16c0aa;})});}_0x2a22e9=_[_0x2e15('0x3f')]({},_0x2a22e9,_0x1e38f9[_0x2e15('0x41')]);return _0x3cdf7c[_0x2e15('0x6f')](_0x2a22e9);}})[_0x2e15('0x26')](function(_0x187ddd){if(_0x187ddd){_0x3a25dc=_0x187ddd['length'];if(!_0x1e38f9[_0x2e15('0x33')][_0x2e15('0x71')](_0x2e15('0x39'))){_0x2a22e9[_0x2e15('0x1f')]=qs[_0x2e15('0x1f')](_0x1e38f9[_0x2e15('0x33')][_0x2e15('0x1f')]);_0x2a22e9[_0x2e15('0x1e')]=qs[_0x2e15('0x1e')](_0x1e38f9[_0x2e15('0x33')][_0x2e15('0x1e')]);}return _0x3cdf7c[_0x2e15('0x6f')](_0x2a22e9);}})[_0x2e15('0x26')](function(_0x35ae0f){if(_0x35ae0f){return _0x35ae0f?{'count':_0x3a25dc,'rows':_0x35ae0f}:null;}})['then'](respondWithResult(_0xbac2be,null))['catch'](handleError(_0xbac2be,null));}; \ No newline at end of file +var _0xd7f4=['json','count','offset','limit','set','Content-Range','apply','reject','save','update','then','get','CustomDashboards','UserProfileResource','destroy','error','stack','name','send','index','rawAttributes','fieldName','key','query','keys','filters','model','intersection','fields','attributes','length','hasOwnProperty','nolimit','order','sort','where','filter','map','type','VIRTUAL','options','includeAll','findAll','rows','show','params','Dashboard','include','merge','find','create','body','user','role','UserProfileSection','userProfileId','autoAssociation','catch','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','clone','createdAt','omit','updatedAt','iframe','attrUrl','attrs','value','https://','custom','attrPath','clock','attrHourFormat','attrTimezone','0.00','attrFontSize','attrMetric','attrVoiceQueues','multibar-chart','pie-chart','attrSerie1','total','attrSerie2','attrSerie3','web-report','widgetAttributes:\x20%s','stringify','addItem','DashboardItem','getItems','findOne','pick','html-pdf','eml-format','zip-dir','fast-json-patch','moment','bluebird','mustache','util','path','sox','to-csv','lodash','crypto','desk.js','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../mysqldb','redis','defaults','localhost','socket.io-emitter','./dashboard.socket','register','sendStatus','status','end'];(function(_0x2a04d4,_0xa57830){var _0x40b2f9=function(_0x44f8cf){while(--_0x44f8cf){_0x2a04d4['push'](_0x2a04d4['shift']());}};_0x40b2f9(++_0xa57830);}(_0xd7f4,0x14f));var _0x4d7f=function(_0x22b133,_0x3d7a8d){_0x22b133=_0x22b133-0x0;var _0x2fbcfd=_0xd7f4[_0x22b133];return _0x2fbcfd;};'use strict';var pdf=require(_0x4d7f('0x0'));var emlformat=require(_0x4d7f('0x1'));var rimraf=require('rimraf');var zipdir=require(_0x4d7f('0x2'));var jsonpatch=require(_0x4d7f('0x3'));var rp=require('request-promise');var moment=require(_0x4d7f('0x4'));var BPromise=require(_0x4d7f('0x5'));var Mustache=require(_0x4d7f('0x6'));var util=require(_0x4d7f('0x7'));var path=require(_0x4d7f('0x8'));var sox=require(_0x4d7f('0x9'));var csv=require(_0x4d7f('0xa'));var ejs=require('ejs');var fs=require('fs');var _=require(_0x4d7f('0xb'));var squel=require('squel');var crypto=require(_0x4d7f('0xc'));var jsforce=require('jsforce');var deskjs=require(_0x4d7f('0xd'));var toCsv=require(_0x4d7f('0xa'));var querystring=require('querystring');var Papa=require('papaparse');var Redis=require(_0x4d7f('0xe'));var authService=require(_0x4d7f('0xf'));var qs=require(_0x4d7f('0x10'));var as=require(_0x4d7f('0x11'));var hardwareService=require(_0x4d7f('0x12'));var logger=require(_0x4d7f('0x13'))(_0x4d7f('0x14'));var utils=require('../../config/utils');var config=require('../../config/environment');var db=require(_0x4d7f('0x15'))['db'];config[_0x4d7f('0x16')]=_[_0x4d7f('0x17')](config[_0x4d7f('0x16')],{'host':_0x4d7f('0x18'),'port':0x18eb});var socket=require(_0x4d7f('0x19'))(new Redis(config[_0x4d7f('0x16')]));require(_0x4d7f('0x1a'))[_0x4d7f('0x1b')](socket);function respondWithStatusCode(_0x249f3d,_0x11d03c){_0x11d03c=_0x11d03c||0xcc;return function(_0x1b0849){if(_0x1b0849){return _0x249f3d[_0x4d7f('0x1c')](_0x11d03c);}return _0x249f3d[_0x4d7f('0x1d')](_0x11d03c)[_0x4d7f('0x1e')]();};}function respondWithResult(_0x4aad69,_0x56163f){_0x56163f=_0x56163f||0xc8;return function(_0x46b238){if(_0x46b238){return _0x4aad69['status'](_0x56163f)[_0x4d7f('0x1f')](_0x46b238);}};}function respondWithFilteredResult(_0x1f1910,_0x1f6ba8){return function(_0x3551c6){if(_0x3551c6){var _0x16d053=_0x3551c6[_0x4d7f('0x20')],_0x1e2f6b=_0x1f6ba8[_0x4d7f('0x21')],_0x26cbd4=_0x1f6ba8['offset']+_0x1f6ba8[_0x4d7f('0x22')],_0x4ac0b4;if(_0x26cbd4>=_0x16d053){_0x26cbd4=_0x16d053;_0x4ac0b4=0xc8;}else{_0x4ac0b4=0xce;}_0x1f1910['status'](_0x4ac0b4);return _0x1f1910[_0x4d7f('0x23')](_0x4d7f('0x24'),_0x1e2f6b+'-'+_0x26cbd4+'/'+_0x16d053)[_0x4d7f('0x1f')](_0x3551c6);}return null;};}function patchUpdates(_0x39281e){return function(_0x37e00c){try{jsonpatch[_0x4d7f('0x25')](_0x37e00c,_0x39281e,!![]);}catch(_0x385bff){return BPromise[_0x4d7f('0x26')](_0x385bff);}return _0x37e00c[_0x4d7f('0x27')]();};}function saveUpdates(_0x1a6274,_0x1248ed){return function(_0x5aa380){if(_0x5aa380){return _0x5aa380[_0x4d7f('0x28')](_0x1a6274)[_0x4d7f('0x29')](function(_0x2d7c2b){return _0x2d7c2b;});}return null;};}function removeEntity(_0x57410d,_0x2d42ba){return function(_0x48e3fb){if(_0x48e3fb){return _0x48e3fb['destroy']()[_0x4d7f('0x29')](function(){var _0x12525c=_0x48e3fb[_0x4d7f('0x2a')]({'plain':!![]});var _0x3f670f=_0x4d7f('0x2b');return db[_0x4d7f('0x2c')][_0x4d7f('0x2d')]({'where':{'type':_0x3f670f,'resourceId':_0x12525c['id']}})['then'](function(){return _0x48e3fb;});})[_0x4d7f('0x29')](function(){_0x57410d[_0x4d7f('0x1d')](0xcc)[_0x4d7f('0x1e')]();});}};}function handleEntityNotFound(_0x3db66d,_0x2e5cff){return function(_0x439242){if(!_0x439242){_0x3db66d[_0x4d7f('0x1c')](0x194);}return _0x439242;};}function handleError(_0xd6010c,_0x1b56c4){_0x1b56c4=_0x1b56c4||0x1f4;return function(_0xccb41f){logger[_0x4d7f('0x2e')](_0xccb41f[_0x4d7f('0x2f')]);if(_0xccb41f[_0x4d7f('0x30')]){delete _0xccb41f[_0x4d7f('0x30')];}_0xd6010c['status'](_0x1b56c4)[_0x4d7f('0x31')](_0xccb41f);};}exports[_0x4d7f('0x32')]=function(_0x363f2f,_0xf2ff82){var _0x5956fd={},_0x2f8b21={},_0xec0ac9={'count':0x0,'rows':[]};var _0x27659f=_['map'](db['Dashboard'][_0x4d7f('0x33')],function(_0x36e4c3){return{'name':_0x36e4c3[_0x4d7f('0x34')],'type':_0x36e4c3['type'][_0x4d7f('0x35')]};});_0x2f8b21['model']=_['map'](_0x27659f,'name');_0x2f8b21[_0x4d7f('0x36')]=_[_0x4d7f('0x37')](_0x363f2f[_0x4d7f('0x36')]);_0x2f8b21[_0x4d7f('0x38')]=_['intersection'](_0x2f8b21[_0x4d7f('0x39')],_0x2f8b21[_0x4d7f('0x36')]);_0x5956fd['attributes']=_[_0x4d7f('0x3a')](_0x2f8b21['model'],qs[_0x4d7f('0x3b')](_0x363f2f[_0x4d7f('0x36')]['fields']));_0x5956fd[_0x4d7f('0x3c')]=_0x5956fd[_0x4d7f('0x3c')][_0x4d7f('0x3d')]?_0x5956fd[_0x4d7f('0x3c')]:_0x2f8b21[_0x4d7f('0x39')];if(!_0x363f2f[_0x4d7f('0x36')][_0x4d7f('0x3e')](_0x4d7f('0x3f'))){_0x5956fd[_0x4d7f('0x22')]=qs[_0x4d7f('0x22')](_0x363f2f[_0x4d7f('0x36')][_0x4d7f('0x22')]);_0x5956fd['offset']=qs['offset'](_0x363f2f['query'][_0x4d7f('0x21')]);}_0x5956fd[_0x4d7f('0x40')]=qs[_0x4d7f('0x41')](_0x363f2f[_0x4d7f('0x36')][_0x4d7f('0x41')]);_0x5956fd[_0x4d7f('0x42')]=qs['filters'](_['pick'](_0x363f2f[_0x4d7f('0x36')],_0x2f8b21[_0x4d7f('0x38')]),_0x27659f);if(_0x363f2f[_0x4d7f('0x36')][_0x4d7f('0x43')]){_0x5956fd[_0x4d7f('0x42')]=_['merge'](_0x5956fd[_0x4d7f('0x42')],{'$or':_[_0x4d7f('0x44')](_0x27659f,function(_0x476416){if(_0x476416[_0x4d7f('0x45')]!==_0x4d7f('0x46')){var _0x6e3fda={};_0x6e3fda[_0x476416[_0x4d7f('0x30')]]={'$like':'%'+_0x363f2f[_0x4d7f('0x36')][_0x4d7f('0x43')]+'%'};return _0x6e3fda;}})});}_0x5956fd=_['merge']({},_0x5956fd,_0x363f2f[_0x4d7f('0x47')]);var _0x381867={'where':_0x5956fd[_0x4d7f('0x42')]};return db['Dashboard'][_0x4d7f('0x20')](_0x381867)[_0x4d7f('0x29')](function(_0x369682){_0xec0ac9[_0x4d7f('0x20')]=_0x369682;if(_0x363f2f['query'][_0x4d7f('0x48')]){_0x5956fd['include']=[{'all':!![]}];}return db['Dashboard'][_0x4d7f('0x49')](_0x5956fd);})[_0x4d7f('0x29')](function(_0x238307){_0xec0ac9[_0x4d7f('0x4a')]=_0x238307;return _0xec0ac9;})['then'](respondWithFilteredResult(_0xf2ff82,_0x5956fd))['catch'](handleError(_0xf2ff82,null));};exports[_0x4d7f('0x4b')]=function(_0xa44712,_0x468530){var _0x32cc6e={'raw':![],'where':{'id':_0xa44712[_0x4d7f('0x4c')]['id']}},_0xff3f74={};_0xff3f74[_0x4d7f('0x39')]=_['keys'](db[_0x4d7f('0x4d')][_0x4d7f('0x33')]);_0xff3f74[_0x4d7f('0x36')]=_[_0x4d7f('0x37')](_0xa44712[_0x4d7f('0x36')]);_0xff3f74[_0x4d7f('0x38')]=_[_0x4d7f('0x3a')](_0xff3f74[_0x4d7f('0x39')],_0xff3f74[_0x4d7f('0x36')]);_0x32cc6e['attributes']=_[_0x4d7f('0x3a')](_0xff3f74['model'],qs[_0x4d7f('0x3b')](_0xa44712[_0x4d7f('0x36')][_0x4d7f('0x3b')]));_0x32cc6e['attributes']=_0x32cc6e['attributes'][_0x4d7f('0x3d')]?_0x32cc6e[_0x4d7f('0x3c')]:_0xff3f74[_0x4d7f('0x39')];if(_0xa44712[_0x4d7f('0x36')][_0x4d7f('0x48')]){_0x32cc6e[_0x4d7f('0x4e')]=[{'all':!![]}];}_0x32cc6e=_[_0x4d7f('0x4f')]({},_0x32cc6e,_0xa44712[_0x4d7f('0x47')]);return db['Dashboard'][_0x4d7f('0x50')](_0x32cc6e)[_0x4d7f('0x29')](handleEntityNotFound(_0x468530,null))[_0x4d7f('0x29')](respondWithResult(_0x468530,null))['catch'](handleError(_0x468530,null));};exports[_0x4d7f('0x51')]=function(_0x43b40d,_0x80fdcc){return db[_0x4d7f('0x4d')][_0x4d7f('0x51')](_0x43b40d[_0x4d7f('0x52')],{})['then'](function(_0x3e59b3){var _0x2b07f7=_0x43b40d[_0x4d7f('0x53')][_0x4d7f('0x2a')]({'plain':!![]});if(!_0x2b07f7)throw new Error('Unable\x20to\x20retrieve\x20the\x20current\x20user');if(_0x2b07f7[_0x4d7f('0x54')]===_0x4d7f('0x53')){var _0x1a9b26=_0x3e59b3['get']({'plain':!![]});var _0x47659e=_0x4d7f('0x2b');return db[_0x4d7f('0x55')][_0x4d7f('0x50')]({'where':{'name':_0x47659e,'userProfileId':_0x2b07f7[_0x4d7f('0x56')]},'raw':!![]})[_0x4d7f('0x29')](function(_0x16750d){if(_0x16750d&&_0x16750d[_0x4d7f('0x57')]===0x0){return db['UserProfileResource']['create']({'name':_0x1a9b26['name'],'resourceId':_0x1a9b26['id'],'type':_0x16750d[_0x4d7f('0x30')],'sectionId':_0x16750d['id']},{})[_0x4d7f('0x29')](function(){return _0x3e59b3;});}else{return _0x3e59b3;}})[_0x4d7f('0x58')](function(_0x3d2995){logger[_0x4d7f('0x2e')](_0x4d7f('0x59'),_0x3d2995);throw _0x3d2995;});}return _0x3e59b3;})[_0x4d7f('0x29')](respondWithResult(_0x80fdcc,0xc9))[_0x4d7f('0x58')](handleError(_0x80fdcc,null));};exports[_0x4d7f('0x5a')]=function(_0xbf63b5,_0x134c2b){var _0x268e61={'where':{'id':_0xbf63b5[_0x4d7f('0x4c')]['id']}},_0x2bd121={};_0x2bd121[_0x4d7f('0x39')]=_['keys'](db[_0x4d7f('0x4d')]['rawAttributes']);_0x268e61['attributes']=_['intersection'](_0x2bd121[_0x4d7f('0x39')],qs[_0x4d7f('0x3b')](_0xbf63b5[_0x4d7f('0x36')][_0x4d7f('0x3b')]));_0x268e61['attributes']=_0x268e61[_0x4d7f('0x3c')][_0x4d7f('0x3d')]?_0x268e61[_0x4d7f('0x3c')]:_0x2bd121['model'];if(_0xbf63b5[_0x4d7f('0x36')][_0x4d7f('0x48')]){_0x268e61[_0x4d7f('0x4e')]=[{'all':!![]}];}_0x268e61=_[_0x4d7f('0x4f')]({},_0x268e61,_0xbf63b5[_0x4d7f('0x47')]);return db[_0x4d7f('0x4d')][_0x4d7f('0x50')](_0x268e61)[_0x4d7f('0x29')](handleEntityNotFound(_0x134c2b,null))[_0x4d7f('0x29')](function(_0x5b066e){if(_0x5b066e){var _0x2d1735=_0x5b066e[_0x4d7f('0x2a')]({'plain':!![]});_0x2d1735=qs['omit'](_0x2d1735,['id',_0x4d7f('0x5b'),'updatedAt']);_0xbf63b5['body']=_[_0x4d7f('0x5c')](_0xbf63b5['body'],['id',_0x4d7f('0x5b'),_0x4d7f('0x5d')]);return db[_0x4d7f('0x4d')][_0x4d7f('0x51')](_[_0x4d7f('0x4f')](_0x2d1735,_0xbf63b5[_0x4d7f('0x52')]),{'include':_0xbf63b5[_0x4d7f('0x36')][_0x4d7f('0x48')]?[{'all':!![]}]:undefined})[_0x4d7f('0x29')](function(_0x4569ee){var _0x1c20fb=_0xbf63b5[_0x4d7f('0x53')]['get']({'plain':!![]});if(!_0x1c20fb)throw new Error('Unable\x20to\x20retrieve\x20the\x20current\x20user');if(_0x1c20fb['role']===_0x4d7f('0x53')){var _0x49ea64=_0x4569ee[_0x4d7f('0x2a')]({'plain':!![]});var _0x65f48b=_0x4d7f('0x2b');return db[_0x4d7f('0x55')]['find']({'where':{'name':_0x65f48b,'userProfileId':_0x1c20fb[_0x4d7f('0x56')]},'raw':!![]})[_0x4d7f('0x29')](function(_0x500956){if(_0x500956&&_0x500956[_0x4d7f('0x57')]===0x0){return db[_0x4d7f('0x2c')][_0x4d7f('0x51')]({'name':_0x49ea64[_0x4d7f('0x30')],'resourceId':_0x49ea64['id'],'type':_0x500956[_0x4d7f('0x30')],'sectionId':_0x500956['id']},{})[_0x4d7f('0x29')](function(){return _0x4569ee;});}else{return _0x4569ee;}})['catch'](function(_0x48a428){logger[_0x4d7f('0x2e')](_0x4d7f('0x59'),_0x48a428);throw _0x48a428;});}return _0x4569ee;});}})[_0x4d7f('0x29')](respondWithResult(_0x134c2b,0xc9))[_0x4d7f('0x58')](handleError(_0x134c2b,null));};exports['update']=function(_0xbbc7d8,_0x5f29c2){if(_0xbbc7d8[_0x4d7f('0x52')]['id']){delete _0xbbc7d8[_0x4d7f('0x52')]['id'];}return db[_0x4d7f('0x4d')][_0x4d7f('0x50')]({'where':{'id':_0xbbc7d8[_0x4d7f('0x4c')]['id']}})[_0x4d7f('0x29')](handleEntityNotFound(_0x5f29c2,null))[_0x4d7f('0x29')](saveUpdates(_0xbbc7d8[_0x4d7f('0x52')],null))[_0x4d7f('0x29')](respondWithResult(_0x5f29c2,null))[_0x4d7f('0x58')](handleError(_0x5f29c2,null));};exports[_0x4d7f('0x2d')]=function(_0x5f5ae4,_0x2b4a16){return db[_0x4d7f('0x4d')][_0x4d7f('0x50')]({'where':{'id':_0x5f5ae4[_0x4d7f('0x4c')]['id']}})[_0x4d7f('0x29')](handleEntityNotFound(_0x2b4a16,null))[_0x4d7f('0x29')](removeEntity(_0x2b4a16,null))[_0x4d7f('0x58')](handleError(_0x2b4a16,null));};function widgetAttributes(_0x31c3c3){try{switch(_0x31c3c3[_0x4d7f('0x45')]){case _0x4d7f('0x5e'):return[{'name':_0x4d7f('0x5f'),'value':_0x31c3c3[_0x4d7f('0x5f')]||(_0x31c3c3[_0x4d7f('0x60')]&&_0x31c3c3['attrs'][0x0]?_0x31c3c3[_0x4d7f('0x60')][0x0][_0x4d7f('0x61')]:undefined)||_0x4d7f('0x62')}];case _0x4d7f('0x63'):return[{'name':_0x4d7f('0x64'),'value':_0x31c3c3['attrPath']||(_0x31c3c3['attrs']&&_0x31c3c3['attrs'][0x0]?_0x31c3c3[_0x4d7f('0x60')][0x0]['value']:undefined)||''}];case _0x4d7f('0x65'):return[{'name':_0x4d7f('0x66'),'value':_0x31c3c3[_0x4d7f('0x66')]||(_0x31c3c3[_0x4d7f('0x60')]&&_0x31c3c3[_0x4d7f('0x60')][0x0]?_0x31c3c3[_0x4d7f('0x60')][0x0][_0x4d7f('0x61')]:undefined)||'HH:mm:ss'},{'name':_0x4d7f('0x67'),'value':_0x31c3c3[_0x4d7f('0x67')]||(_0x31c3c3[_0x4d7f('0x60')]&&_0x31c3c3[_0x4d7f('0x60')][0x1]?_0x31c3c3[_0x4d7f('0x60')][0x1][_0x4d7f('0x61')]:undefined)||_0x4d7f('0x68')},{'name':_0x4d7f('0x69'),'value':_0x31c3c3[_0x4d7f('0x69')]||(_0x31c3c3[_0x4d7f('0x60')]&&_0x31c3c3['attrs'][0x2]?_0x31c3c3[_0x4d7f('0x60')][0x2][_0x4d7f('0x61')]:undefined)||0xc}];case'counter':return[{'name':_0x4d7f('0x6a'),'value':_0x31c3c3['attrMetric']||(_0x31c3c3[_0x4d7f('0x60')]&&_0x31c3c3[_0x4d7f('0x60')][0x0]?_0x31c3c3[_0x4d7f('0x60')][0x0][_0x4d7f('0x61')]:undefined)||'total'},{'name':'attrVoiceQueues','value':_0x31c3c3[_0x4d7f('0x6b')]||(_0x31c3c3['attrs']&&_0x31c3c3[_0x4d7f('0x60')][0x1]?_0x31c3c3['attrs'][0x1][_0x4d7f('0x61')]:undefined)||[]},{'name':_0x4d7f('0x69'),'value':_0x31c3c3[_0x4d7f('0x69')]||(_0x31c3c3[_0x4d7f('0x60')]&&_0x31c3c3['attrs'][0x2]?_0x31c3c3[_0x4d7f('0x60')][0x2][_0x4d7f('0x61')]:undefined)||0x14}];case _0x4d7f('0x6c'):case _0x4d7f('0x6d'):return[{'name':_0x4d7f('0x6e'),'value':_0x31c3c3[_0x4d7f('0x6e')]||(_0x31c3c3[_0x4d7f('0x60')]&&_0x31c3c3[_0x4d7f('0x60')][0x0]?_0x31c3c3[_0x4d7f('0x60')][0x0][_0x4d7f('0x61')]:undefined)||_0x4d7f('0x6f')},{'name':'attrSerie2','value':_0x31c3c3[_0x4d7f('0x70')]||(_0x31c3c3['attrs']&&_0x31c3c3[_0x4d7f('0x60')][0x1]?_0x31c3c3['attrs'][0x1][_0x4d7f('0x61')]:undefined)||null},{'name':'attrSerie3','value':_0x31c3c3[_0x4d7f('0x71')]||(_0x31c3c3['attrs']&&_0x31c3c3[_0x4d7f('0x60')][0x2]?_0x31c3c3[_0x4d7f('0x60')][0x2][_0x4d7f('0x61')]:undefined)||null},{'name':_0x4d7f('0x6b'),'value':_0x31c3c3['attrVoiceQueues']||(_0x31c3c3[_0x4d7f('0x60')]&&_0x31c3c3[_0x4d7f('0x60')][0x3]?_0x31c3c3[_0x4d7f('0x60')][0x3][_0x4d7f('0x61')]:undefined)||[]}];case _0x4d7f('0x72'):return[{'name':'attrReport','type':_0x31c3c3['reportType']||(_0x31c3c3[_0x4d7f('0x60')]&&_0x31c3c3[_0x4d7f('0x60')][0x0]?_0x31c3c3[_0x4d7f('0x60')][0x0]['type']:undefined)||null,'value':_0x31c3c3['attrReport']||(_0x31c3c3[_0x4d7f('0x60')]&&_0x31c3c3['attrs'][0x0]?_0x31c3c3['attrs'][0x0][_0x4d7f('0x61')]:undefined)||null},{'name':'attrRefresh','value':_0x31c3c3['attrRefresh']||(_0x31c3c3[_0x4d7f('0x60')]&&_0x31c3c3[_0x4d7f('0x60')][0x1]?_0x31c3c3[_0x4d7f('0x60')][0x1][_0x4d7f('0x61')]:undefined)||0x0}];default:return[];}}catch(_0xff1949){logger[_0x4d7f('0x2e')](_0x4d7f('0x73'),JSON[_0x4d7f('0x74')](_0xff1949));return[];}}exports[_0x4d7f('0x75')]=function(_0x4bdae2,_0x132670,_0x2b4171){if(_0x4bdae2[_0x4d7f('0x52')]['id']){delete _0x4bdae2['body']['id'];}return db[_0x4d7f('0x4d')]['find']({'where':{'id':_0x4bdae2['params']['id']}})['then'](handleEntityNotFound(_0x132670,null))['then'](function(_0x2f5f37){if(_0x2f5f37){_0x4bdae2['body']['DashboardId']=_0x2f5f37['id'];_0x4bdae2[_0x4d7f('0x52')][_0x4d7f('0x60')]=widgetAttributes(_0x4bdae2[_0x4d7f('0x52')]);return db[_0x4d7f('0x76')][_0x4d7f('0x51')](_0x4bdae2['body']);}})['then'](respondWithResult(_0x132670,null))[_0x4d7f('0x58')](handleError(_0x132670,null));};exports[_0x4d7f('0x77')]=function(_0x5cab12,_0xa740ec,_0x4af0ac){var _0x8467ac={};var _0x48763f={};var _0x500b3c;var _0xd52d88;return db[_0x4d7f('0x4d')][_0x4d7f('0x78')]({'where':{'id':_0x5cab12[_0x4d7f('0x4c')]['id']}})[_0x4d7f('0x29')](handleEntityNotFound(_0xa740ec,null))[_0x4d7f('0x29')](function(_0x1082ef){if(_0x1082ef){_0x500b3c=_0x1082ef;_0x48763f[_0x4d7f('0x39')]=_[_0x4d7f('0x37')](db[_0x4d7f('0x76')]['rawAttributes']);_0x48763f[_0x4d7f('0x36')]=_['keys'](_0x5cab12['query']);_0x48763f['filters']=_[_0x4d7f('0x3a')](_0x48763f['model'],_0x48763f[_0x4d7f('0x36')]);_0x8467ac[_0x4d7f('0x3c')]=_[_0x4d7f('0x3a')](_0x48763f[_0x4d7f('0x39')],qs[_0x4d7f('0x3b')](_0x5cab12[_0x4d7f('0x36')][_0x4d7f('0x3b')]));_0x8467ac[_0x4d7f('0x3c')]=_0x8467ac['attributes'][_0x4d7f('0x3d')]?_0x8467ac[_0x4d7f('0x3c')]:_0x48763f[_0x4d7f('0x39')];_0x8467ac[_0x4d7f('0x40')]=qs['sort'](_0x5cab12[_0x4d7f('0x36')][_0x4d7f('0x41')]);_0x8467ac['where']=qs[_0x4d7f('0x38')](_[_0x4d7f('0x79')](_0x5cab12[_0x4d7f('0x36')],_0x48763f[_0x4d7f('0x38')]));if(_0x5cab12[_0x4d7f('0x36')]['filter']){_0x8467ac[_0x4d7f('0x42')]=_['merge'](_0x8467ac['where'],{'$or':_[_0x4d7f('0x44')](_0x8467ac[_0x4d7f('0x3c')],function(_0x31fcbb){var _0x3745d6={};_0x3745d6[_0x31fcbb]={'$like':'%'+_0x5cab12[_0x4d7f('0x36')][_0x4d7f('0x43')]+'%'};return _0x3745d6;})});}_0x8467ac=_[_0x4d7f('0x4f')]({},_0x8467ac,_0x5cab12[_0x4d7f('0x47')]);return _0x500b3c['getItems'](_0x8467ac);}})[_0x4d7f('0x29')](function(_0xac5e61){if(_0xac5e61){_0xd52d88=_0xac5e61[_0x4d7f('0x3d')];if(!_0x5cab12['query'][_0x4d7f('0x3e')]('nolimit')){_0x8467ac[_0x4d7f('0x22')]=qs[_0x4d7f('0x22')](_0x5cab12[_0x4d7f('0x36')]['limit']);_0x8467ac['offset']=qs['offset'](_0x5cab12['query'][_0x4d7f('0x21')]);}return _0x500b3c[_0x4d7f('0x77')](_0x8467ac);}})[_0x4d7f('0x29')](function(_0x384db4){if(_0x384db4){return _0x384db4?{'count':_0xd52d88,'rows':_0x384db4}:null;}})[_0x4d7f('0x29')](respondWithResult(_0xa740ec,null))[_0x4d7f('0x58')](handleError(_0xa740ec,null));}; \ No newline at end of file diff --git a/server/api/dashboard/dashboard.events.js b/server/api/dashboard/dashboard.events.js index bd2cf0b..fe54168 100644 --- a/server/api/dashboard/dashboard.events.js +++ b/server/api/dashboard/dashboard.events.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x781f=['update','emit','hasOwnProperty','exports','../../mysqldb','Dashboard','setMaxListeners'];(function(_0x45d87e,_0x5bda26){var _0x14dedc=function(_0x20f877){while(--_0x20f877){_0x45d87e['push'](_0x45d87e['shift']());}};_0x14dedc(++_0x5bda26);}(_0x781f,0x19a));var _0xf781=function(_0x232ec0,_0x45fdd0){_0x232ec0=_0x232ec0-0x0;var _0x356705=_0x781f[_0x232ec0];return _0x356705;};'use strict';var EventEmitter=require('events');var Dashboard=require(_0xf781('0x0'))['db'][_0xf781('0x1')];var DashboardEvents=new EventEmitter();DashboardEvents[_0xf781('0x2')](0x0);var events={'afterCreate':'save','afterUpdate':_0xf781('0x3'),'afterDestroy':'remove'};function emitEvent(_0x268651){return function(_0x16419f,_0x45c928,_0x4cccb7){DashboardEvents[_0xf781('0x4')](_0x268651+':'+_0x16419f['id'],_0x16419f);DashboardEvents[_0xf781('0x4')](_0x268651,_0x16419f);_0x4cccb7(null);};}for(var e in events){if(events[_0xf781('0x5')](e)){var event=events[e];Dashboard['hook'](e,emitEvent(event));}}module[_0xf781('0x6')]=DashboardEvents; \ No newline at end of file +var _0xfbf0=['setMaxListeners','save','update','remove','emit','exports','events','../../mysqldb','Dashboard'];(function(_0x4d18de,_0x26eca9){var _0x175d01=function(_0x52d900){while(--_0x52d900){_0x4d18de['push'](_0x4d18de['shift']());}};_0x175d01(++_0x26eca9);}(_0xfbf0,0xe7));var _0x0fbf=function(_0x255d5b,_0x4f6f35){_0x255d5b=_0x255d5b-0x0;var _0x3e141a=_0xfbf0[_0x255d5b];return _0x3e141a;};'use strict';var EventEmitter=require(_0x0fbf('0x0'));var Dashboard=require(_0x0fbf('0x1'))['db'][_0x0fbf('0x2')];var DashboardEvents=new EventEmitter();DashboardEvents[_0x0fbf('0x3')](0x0);var events={'afterCreate':_0x0fbf('0x4'),'afterUpdate':_0x0fbf('0x5'),'afterDestroy':_0x0fbf('0x6')};function emitEvent(_0x68eaa4){return function(_0x3c6e5d,_0x990adf,_0x32ada9){DashboardEvents[_0x0fbf('0x7')](_0x68eaa4+':'+_0x3c6e5d['id'],_0x3c6e5d);DashboardEvents['emit'](_0x68eaa4,_0x3c6e5d);_0x32ada9(null);};}for(var e in events){if(events['hasOwnProperty'](e)){var event=events[e];Dashboard['hook'](e,emitEvent(event));}}module[_0x0fbf('0x8')]=DashboardEvents; \ No newline at end of file diff --git a/server/api/dashboard/dashboard.model.js b/server/api/dashboard/dashboard.model.js index 2a93cfb..0dc46fb 100644 --- a/server/api/dashboard/dashboard.model.js +++ b/server/api/dashboard/dashboard.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xea4f=['bluebird','path','rimraf','../../config/environment','exports','define','dashboards','lodash','api','moment'];(function(_0x2177e4,_0x47103a){var _0x2390f8=function(_0x15ea95){while(--_0x15ea95){_0x2177e4['push'](_0x2177e4['shift']());}};_0x2390f8(++_0x47103a);}(_0xea4f,0xc5));var _0xfea4=function(_0x1197af,_0x2dd167){_0x1197af=_0x1197af-0x0;var _0x518a62=_0xea4f[_0x1197af];return _0x518a62;};'use strict';var _=require(_0xfea4('0x0'));var util=require('util');var logger=require('../../config/logger')(_0xfea4('0x1'));var moment=require(_0xfea4('0x2'));var BPromise=require(_0xfea4('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xfea4('0x4'));var rimraf=require(_0xfea4('0x5'));var config=require(_0xfea4('0x6'));var attributes=require('./dashboard.attributes');module[_0xfea4('0x7')]=function(_0x1153a9,_0x76f129){return _0x1153a9[_0xfea4('0x8')]('Dashboard',attributes,{'tableName':_0xfea4('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0x9e3f=['moment','path','rimraf','../../config/environment','./dashboard.attributes','exports','define','Dashboard','dashboards','util','api'];(function(_0x522327,_0x3aff90){var _0x33ee38=function(_0x556f02){while(--_0x556f02){_0x522327['push'](_0x522327['shift']());}};_0x33ee38(++_0x3aff90);}(_0x9e3f,0x127));var _0xf9e3=function(_0x441fa2,_0x23bf4f){_0x441fa2=_0x441fa2-0x0;var _0x8e256d=_0x9e3f[_0x441fa2];return _0x8e256d;};'use strict';var _=require('lodash');var util=require(_0xf9e3('0x0'));var logger=require('../../config/logger')(_0xf9e3('0x1'));var moment=require(_0xf9e3('0x2'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0xf9e3('0x3'));var rimraf=require(_0xf9e3('0x4'));var config=require(_0xf9e3('0x5'));var attributes=require(_0xf9e3('0x6'));module[_0xf9e3('0x7')]=function(_0x32a865,_0xa70c2c){return _0x32a865[_0xf9e3('0x8')](_0xf9e3('0x9'),attributes,{'tableName':_0xf9e3('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/dashboard/dashboard.rpc.js b/server/api/dashboard/dashboard.rpc.js index 6622929..cbada0d 100644 --- a/server/api/dashboard/dashboard.rpc.js +++ b/server/api/dashboard/dashboard.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x00f5=['socket.io-emitter','redis','./dashboard.socket','register','request','then','info','Dashboard,\x20%s,\x20%s','request\x20sent','debug','Dashboard,\x20%s,\x20%s,\x20%s','stringify','error','code','message','catch','lodash','util','moment','bluebird','randomstring','../../mysqldb','../../config/utils','../../config/logger','rpc','client','defaults','localhost'];(function(_0x52c9ff,_0x2fbcdb){var _0x355f84=function(_0x48c6bc){while(--_0x48c6bc){_0x52c9ff['push'](_0x52c9ff['shift']());}};_0x355f84(++_0x2fbcdb);}(_0x00f5,0x128));var _0x500f=function(_0x4f77dc,_0x48b485){_0x4f77dc=_0x4f77dc-0x0;var _0x156bd4=_0x00f5[_0x4f77dc];return _0x156bd4;};'use strict';var _=require(_0x500f('0x0'));var util=require(_0x500f('0x1'));var moment=require(_0x500f('0x2'));var BPromise=require(_0x500f('0x3'));var rs=require(_0x500f('0x4'));var fs=require('fs');var Redis=require('ioredis');var db=require(_0x500f('0x5'))['db'];var utils=require(_0x500f('0x6'));var logger=require(_0x500f('0x7'))(_0x500f('0x8'));var config=require('../../config/environment');var jayson=require('jayson/promise');var client=jayson[_0x500f('0x9')]['http']({'port':0x232a});config['redis']=_[_0x500f('0xa')](config['redis'],{'host':_0x500f('0xb'),'port':0x18eb});var socket=require(_0x500f('0xc'))(new Redis(config[_0x500f('0xd')]));require(_0x500f('0xe'))[_0x500f('0xf')](socket);function respondWithRpcPromise(_0x35b55d,_0x3f4221,_0x143005){return new BPromise(function(_0x3fe9c8,_0x230e54){return client[_0x500f('0x10')](_0x35b55d,_0x143005)[_0x500f('0x11')](function(_0x1a703c){logger[_0x500f('0x12')](_0x500f('0x13'),_0x3f4221,_0x500f('0x14'));logger[_0x500f('0x15')](_0x500f('0x16'),_0x3f4221,_0x500f('0x14'),JSON[_0x500f('0x17')](_0x1a703c));if(_0x1a703c[_0x500f('0x18')]){if(_0x1a703c[_0x500f('0x18')][_0x500f('0x19')]===0x1f4){logger[_0x500f('0x18')](_0x500f('0x13'),_0x3f4221,_0x1a703c['error'][_0x500f('0x1a')]);return _0x230e54(_0x1a703c[_0x500f('0x18')][_0x500f('0x1a')]);}logger[_0x500f('0x18')]('Dashboard,\x20%s,\x20%s',_0x3f4221,_0x1a703c[_0x500f('0x18')][_0x500f('0x1a')]);return _0x3fe9c8(_0x1a703c[_0x500f('0x18')]['message']);}else{logger[_0x500f('0x12')]('Dashboard,\x20%s,\x20%s',_0x3f4221,_0x500f('0x14'));_0x3fe9c8(_0x1a703c['result']['message']);}})[_0x500f('0x1b')](function(_0x141cb6){logger[_0x500f('0x18')]('Dashboard,\x20%s,\x20%s',_0x3f4221,_0x141cb6);_0x230e54(_0x141cb6);});});} \ No newline at end of file +var _0x8343=['redis','defaults','localhost','socket.io-emitter','./dashboard.socket','register','request','then','info','Dashboard,\x20%s,\x20%s','request\x20sent','debug','Dashboard,\x20%s,\x20%s,\x20%s','stringify','error','code','message','result','catch','lodash','util','randomstring','ioredis','../../config/utils','../../config/logger','../../config/environment','jayson/promise','http'];(function(_0x340a66,_0x308bdc){var _0x227802=function(_0x347f15){while(--_0x347f15){_0x340a66['push'](_0x340a66['shift']());}};_0x227802(++_0x308bdc);}(_0x8343,0xd7));var _0x3834=function(_0x4bad73,_0xa10351){_0x4bad73=_0x4bad73-0x0;var _0x5a8a06=_0x8343[_0x4bad73];return _0x5a8a06;};'use strict';var _=require(_0x3834('0x0'));var util=require(_0x3834('0x1'));var moment=require('moment');var BPromise=require('bluebird');var rs=require(_0x3834('0x2'));var fs=require('fs');var Redis=require(_0x3834('0x3'));var db=require('../../mysqldb')['db'];var utils=require(_0x3834('0x4'));var logger=require(_0x3834('0x5'))('rpc');var config=require(_0x3834('0x6'));var jayson=require(_0x3834('0x7'));var client=jayson['client'][_0x3834('0x8')]({'port':0x232a});config[_0x3834('0x9')]=_[_0x3834('0xa')](config[_0x3834('0x9')],{'host':_0x3834('0xb'),'port':0x18eb});var socket=require(_0x3834('0xc'))(new Redis(config[_0x3834('0x9')]));require(_0x3834('0xd'))[_0x3834('0xe')](socket);function respondWithRpcPromise(_0xa1142c,_0x59524f,_0x1dc598){return new BPromise(function(_0x463f88,_0x57de1d){return client[_0x3834('0xf')](_0xa1142c,_0x1dc598)[_0x3834('0x10')](function(_0x152f4a){logger[_0x3834('0x11')](_0x3834('0x12'),_0x59524f,_0x3834('0x13'));logger[_0x3834('0x14')](_0x3834('0x15'),_0x59524f,_0x3834('0x13'),JSON[_0x3834('0x16')](_0x152f4a));if(_0x152f4a[_0x3834('0x17')]){if(_0x152f4a[_0x3834('0x17')][_0x3834('0x18')]===0x1f4){logger[_0x3834('0x17')](_0x3834('0x12'),_0x59524f,_0x152f4a[_0x3834('0x17')]['message']);return _0x57de1d(_0x152f4a[_0x3834('0x17')][_0x3834('0x19')]);}logger['error'](_0x3834('0x12'),_0x59524f,_0x152f4a['error'][_0x3834('0x19')]);return _0x463f88(_0x152f4a['error'][_0x3834('0x19')]);}else{logger[_0x3834('0x11')](_0x3834('0x12'),_0x59524f,_0x3834('0x13'));_0x463f88(_0x152f4a[_0x3834('0x1a')]['message']);}})[_0x3834('0x1b')](function(_0x5bb9a8){logger['error'](_0x3834('0x12'),_0x59524f,_0x5bb9a8);_0x57de1d(_0x5bb9a8);});});} \ No newline at end of file diff --git a/server/api/dashboard/dashboard.socket.js b/server/api/dashboard/dashboard.socket.js index 78be790..f18b51d 100644 --- a/server/api/dashboard/dashboard.socket.js +++ b/server/api/dashboard/dashboard.socket.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x77fa=['save','update','register','length','dashboard:','./dashboard.events'];(function(_0x49d41c,_0x2bdc35){var _0xb64c5f=function(_0x28f535){while(--_0x28f535){_0x49d41c['push'](_0x49d41c['shift']());}};_0xb64c5f(++_0x2bdc35);}(_0x77fa,0x1a9));var _0xa77f=function(_0x229200,_0x2aa6eb){_0x229200=_0x229200-0x0;var _0x4ae3bb=_0x77fa[_0x229200];return _0x4ae3bb;};'use strict';var DashboardEvents=require(_0xa77f('0x0'));var events=[_0xa77f('0x1'),'remove',_0xa77f('0x2')];function createListener(_0x23c6cd,_0x55295d){return function(_0x105dc6){_0x55295d['emit'](_0x23c6cd,_0x105dc6);};}function removeListener(_0x267ad9,_0x1dc3c6){return function(){DashboardEvents['removeListener'](_0x267ad9,_0x1dc3c6);};}exports[_0xa77f('0x3')]=function(_0x5d2b31){for(var _0x176c6e=0x0,_0x1adfeb=events[_0xa77f('0x4')];_0x176c6e<_0x1adfeb;_0x176c6e++){var _0x32970b=events[_0x176c6e];var _0x1fabb3=createListener(_0xa77f('0x5')+_0x32970b,_0x5d2b31);DashboardEvents['on'](_0x32970b,_0x1fabb3);}}; \ No newline at end of file +var _0x284c=['dashboard:','save','update','emit','removeListener','register','length'];(function(_0x19a5d8,_0x347207){var _0x30104a=function(_0x292695){while(--_0x292695){_0x19a5d8['push'](_0x19a5d8['shift']());}};_0x30104a(++_0x347207);}(_0x284c,0x15f));var _0xc284=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0x284c[_0x14add3];return _0x4a174f;};'use strict';var DashboardEvents=require('./dashboard.events');var events=[_0xc284('0x0'),'remove',_0xc284('0x1')];function createListener(_0x38d919,_0x4e69a9){return function(_0x747b5b){_0x4e69a9[_0xc284('0x2')](_0x38d919,_0x747b5b);};}function removeListener(_0x1d00f8,_0x1638cb){return function(){DashboardEvents[_0xc284('0x3')](_0x1d00f8,_0x1638cb);};}exports[_0xc284('0x4')]=function(_0x42ca5f){for(var _0x169210=0x0,_0x4e2224=events[_0xc284('0x5')];_0x169210<_0x4e2224;_0x169210++){var _0xf4473c=events[_0x169210];var _0x387826=createListener(_0xc284('0x6')+_0xf4473c,_0x42ca5f);DashboardEvents['on'](_0xf4473c,_0x387826);}}; \ No newline at end of file diff --git a/server/api/dashboard/index.js b/server/api/dashboard/index.js index 2200066..513e105 100644 --- a/server/api/dashboard/index.js +++ b/server/api/dashboard/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xb7e7=['addItem','put','update','delete','multer','path','express','../../components/auth/service','../../config/environment','./dashboard.controller','get','/:id','isAuthenticated','/:id/items','getItems','post','create','/:id/clone','clone'];(function(_0x3f4cd0,_0x303070){var _0x3f9f01=function(_0x6ced93){while(--_0x6ced93){_0x3f4cd0['push'](_0x3f4cd0['shift']());}};_0x3f9f01(++_0x303070);}(_0xb7e7,0x121));var _0x7b7e=function(_0x3ea913,_0x255df2){_0x3ea913=_0x3ea913-0x0;var _0x2b4f28=_0xb7e7[_0x3ea913];return _0x2b4f28;};'use strict';var multer=require(_0x7b7e('0x0'));var util=require('util');var path=require(_0x7b7e('0x1'));var timeout=require('connect-timeout');var express=require(_0x7b7e('0x2'));var router=express['Router']();var auth=require(_0x7b7e('0x3'));var interaction=require('../../components/interaction/service');var config=require(_0x7b7e('0x4'));var controller=require(_0x7b7e('0x5'));router[_0x7b7e('0x6')]('/',auth['isAuthenticated'](),controller['index']);router[_0x7b7e('0x6')](_0x7b7e('0x7'),auth[_0x7b7e('0x8')](),controller['show']);router[_0x7b7e('0x6')](_0x7b7e('0x9'),auth[_0x7b7e('0x8')](),controller[_0x7b7e('0xa')]);router[_0x7b7e('0xb')]('/',auth[_0x7b7e('0x8')](),controller[_0x7b7e('0xc')]);router['post'](_0x7b7e('0xd'),auth[_0x7b7e('0x8')](),controller[_0x7b7e('0xe')]);router[_0x7b7e('0xb')](_0x7b7e('0x9'),auth[_0x7b7e('0x8')](),controller[_0x7b7e('0xf')]);router[_0x7b7e('0x10')](_0x7b7e('0x7'),auth['isAuthenticated'](),controller[_0x7b7e('0x11')]);router[_0x7b7e('0x12')]('/:id',auth[_0x7b7e('0x8')](),controller['destroy']);module['exports']=router; \ No newline at end of file +var _0x0713=['exports','path','connect-timeout','express','Router','../../components/auth/service','../../config/environment','./dashboard.controller','get','isAuthenticated','index','/:id','show','/:id/items','getItems','create','post','/:id/clone','addItem','put','update'];(function(_0x575e83,_0x46a8dd){var _0x3b4012=function(_0xbf54e4){while(--_0xbf54e4){_0x575e83['push'](_0x575e83['shift']());}};_0x3b4012(++_0x46a8dd);}(_0x0713,0x1ba));var _0x3071=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x0713[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x3071('0x0'));var timeout=require(_0x3071('0x1'));var express=require(_0x3071('0x2'));var router=express[_0x3071('0x3')]();var auth=require(_0x3071('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x3071('0x5'));var controller=require(_0x3071('0x6'));router[_0x3071('0x7')]('/',auth[_0x3071('0x8')](),controller[_0x3071('0x9')]);router[_0x3071('0x7')](_0x3071('0xa'),auth[_0x3071('0x8')](),controller[_0x3071('0xb')]);router[_0x3071('0x7')](_0x3071('0xc'),auth[_0x3071('0x8')](),controller[_0x3071('0xd')]);router['post']('/',auth[_0x3071('0x8')](),controller[_0x3071('0xe')]);router[_0x3071('0xf')](_0x3071('0x10'),auth[_0x3071('0x8')](),controller['clone']);router[_0x3071('0xf')](_0x3071('0xc'),auth[_0x3071('0x8')](),controller[_0x3071('0x11')]);router[_0x3071('0x12')]('/:id',auth['isAuthenticated'](),controller[_0x3071('0x13')]);router['delete'](_0x3071('0xa'),auth[_0x3071('0x8')](),controller['destroy']);module[_0x3071('0x14')]=router; \ No newline at end of file diff --git a/server/api/dashboardItem/dashboardItem.attributes.js b/server/api/dashboardItem/dashboardItem.attributes.js index 2d650b1..bb5e49b 100644 --- a/server/api/dashboardItem/dashboardItem.attributes.js +++ b/server/api/dashboardItem/dashboardItem.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x2596=['exports','STRING','TEXT','long','parse','getDataValue','attrs','setDataValue','stringify','INTEGER','#ffffff','#2196f3','sequelize','lodash'];(function(_0x7c9fba,_0x10b015){var _0x5cceed=function(_0x4ae29a){while(--_0x4ae29a){_0x7c9fba['push'](_0x7c9fba['shift']());}};_0x5cceed(++_0x10b015);}(_0x2596,0x1e8));var _0x6259=function(_0x18f498,_0x4d8118){_0x18f498=_0x18f498-0x0;var _0xe9e6f0=_0x2596[_0x18f498];return _0xe9e6f0;};'use strict';var Sequelize=require(_0x6259('0x0'));var squel=require('squel');var _=require(_0x6259('0x1'));module[_0x6259('0x2')]={'title':{'type':Sequelize[_0x6259('0x3')],'allowNull':![]},'type':{'type':Sequelize['STRING'](0x14),'allowNull':![],'validate':{'len':[0x1,0x14]}},'attrs':{'type':Sequelize[_0x6259('0x4')](_0x6259('0x5')),'get':function(){try{return JSON[_0x6259('0x6')](this[_0x6259('0x7')](_0x6259('0x8')));}catch(_0x43788d){return[];}},'set':function(_0x52f095){try{this[_0x6259('0x9')]('attrs',JSON[_0x6259('0xa')](_0x52f095));}catch(_0x1468cb){this[_0x6259('0x9')](_0x6259('0x8'),JSON['stringify']([]));}}},'sizeX':{'type':Sequelize[_0x6259('0xb')],'allowNull':![],'defaultValue':0x1},'sizeY':{'type':Sequelize[_0x6259('0xb')],'allowNull':![],'defaultValue':0x1},'row':{'type':Sequelize['INTEGER']},'col':{'type':Sequelize[_0x6259('0xb')]},'background':{'type':Sequelize[_0x6259('0x3')],'allowNull':![],'defaultValue':_0x6259('0xc'),'validate':{'notEmpty':!![]}},'foreground':{'type':Sequelize[_0x6259('0x3')],'allowNull':![],'defaultValue':_0x6259('0xd'),'validate':{'notEmpty':!![]}},'link':{'type':Sequelize['STRING']}}; \ No newline at end of file +var _0xcb5a=['setDataValue','stringify','INTEGER','#ffffff','squel','lodash','STRING','TEXT','parse','getDataValue','attrs'];(function(_0x14add3,_0x13ce8d){var _0x4a174f=function(_0x2b3ed7){while(--_0x2b3ed7){_0x14add3['push'](_0x14add3['shift']());}};_0x4a174f(++_0x13ce8d);}(_0xcb5a,0x9e));var _0xacb5=function(_0x509e33,_0x1c761f){_0x509e33=_0x509e33-0x0;var _0x192ccf=_0xcb5a[_0x509e33];return _0x192ccf;};'use strict';var Sequelize=require('sequelize');var squel=require(_0xacb5('0x0'));var _=require(_0xacb5('0x1'));module['exports']={'title':{'type':Sequelize[_0xacb5('0x2')],'allowNull':![]},'type':{'type':Sequelize[_0xacb5('0x2')](0x14),'allowNull':![],'validate':{'len':[0x1,0x14]}},'attrs':{'type':Sequelize[_0xacb5('0x3')]('long'),'get':function(){try{return JSON[_0xacb5('0x4')](this[_0xacb5('0x5')](_0xacb5('0x6')));}catch(_0xdd6b4c){return[];}},'set':function(_0x4d2653){try{this[_0xacb5('0x7')]('attrs',JSON[_0xacb5('0x8')](_0x4d2653));}catch(_0xbab3b0){this['setDataValue']('attrs',JSON[_0xacb5('0x8')]([]));}}},'sizeX':{'type':Sequelize[_0xacb5('0x9')],'allowNull':![],'defaultValue':0x1},'sizeY':{'type':Sequelize[_0xacb5('0x9')],'allowNull':![],'defaultValue':0x1},'row':{'type':Sequelize[_0xacb5('0x9')]},'col':{'type':Sequelize['INTEGER']},'background':{'type':Sequelize[_0xacb5('0x2')],'allowNull':![],'defaultValue':_0xacb5('0xa'),'validate':{'notEmpty':!![]}},'foreground':{'type':Sequelize[_0xacb5('0x2')],'allowNull':![],'defaultValue':'#2196f3','validate':{'notEmpty':!![]}},'link':{'type':Sequelize[_0xacb5('0x2')]}}; \ No newline at end of file diff --git a/server/api/dashboardItem/dashboardItem.controller.js b/server/api/dashboardItem/dashboardItem.controller.js index f62bbde..ab327e9 100644 --- a/server/api/dashboardItem/dashboardItem.controller.js +++ b/server/api/dashboardItem/dashboardItem.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x9a91=['html-pdf','eml-format','zip-dir','fast-json-patch','bluebird','mustache','path','to-csv','ejs','lodash','squel','crypto','jsforce','querystring','papaparse','ioredis','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/logger','../../config/environment','../../mysqldb','redis','defaults','localhost','register','sendStatus','status','end','json','count','offset','Content-Range','reject','update','then','error','stack','name','send','show','params','model','DashboardItem','rawAttributes','keys','intersection','attributes','fields','query','includeAll','include','options','find','catch','destroy','type','iframe','attrUrl','attrs','value','https://','custom','attrPath','attrHourFormat','HH:mm:ss','0.00','attrFontSize','counter','attrMetric','total','attrVoiceQueues','multibar-chart','pie-chart','attrSerie1','attrSerie2','attrSerie3','web-report','reportType','attrReport','attrRefresh','widgetAttributes:\x20%s','stringify','body'];(function(_0x7cea03,_0x1e0fdb){var _0x1dff21=function(_0x4e83b0){while(--_0x4e83b0){_0x7cea03['push'](_0x7cea03['shift']());}};_0x1dff21(++_0x1e0fdb);}(_0x9a91,0x19f));var _0x19a9=function(_0x4ac24a,_0x20743b){_0x4ac24a=_0x4ac24a-0x0;var _0x5ac524=_0x9a91[_0x4ac24a];return _0x5ac524;};'use strict';var pdf=require(_0x19a9('0x0'));var emlformat=require(_0x19a9('0x1'));var rimraf=require('rimraf');var zipdir=require(_0x19a9('0x2'));var jsonpatch=require(_0x19a9('0x3'));var rp=require('request-promise');var moment=require('moment');var BPromise=require(_0x19a9('0x4'));var Mustache=require(_0x19a9('0x5'));var util=require('util');var path=require(_0x19a9('0x6'));var sox=require('sox');var csv=require(_0x19a9('0x7'));var ejs=require(_0x19a9('0x8'));var fs=require('fs');var _=require(_0x19a9('0x9'));var squel=require(_0x19a9('0xa'));var crypto=require(_0x19a9('0xb'));var jsforce=require(_0x19a9('0xc'));var deskjs=require('desk.js');var toCsv=require(_0x19a9('0x7'));var querystring=require(_0x19a9('0xd'));var Papa=require(_0x19a9('0xe'));var Redis=require(_0x19a9('0xf'));var authService=require('../../components/auth/service');var qs=require(_0x19a9('0x10'));var as=require(_0x19a9('0x11'));var hardwareService=require('../../config/license/hardware');var logger=require(_0x19a9('0x12'))('api');var utils=require('../../config/utils');var config=require(_0x19a9('0x13'));var db=require(_0x19a9('0x14'))['db'];config[_0x19a9('0x15')]=_[_0x19a9('0x16')](config[_0x19a9('0x15')],{'host':_0x19a9('0x17'),'port':0x18eb});var socket=require('socket.io-emitter')(new Redis(config[_0x19a9('0x15')]));require('./dashboardItem.socket')[_0x19a9('0x18')](socket);function respondWithStatusCode(_0x18e81d,_0x185538){_0x185538=_0x185538||0xcc;return function(_0x4f239e){if(_0x4f239e){return _0x18e81d[_0x19a9('0x19')](_0x185538);}return _0x18e81d[_0x19a9('0x1a')](_0x185538)[_0x19a9('0x1b')]();};}function respondWithResult(_0x44c0f2,_0x2c3bc4){_0x2c3bc4=_0x2c3bc4||0xc8;return function(_0xaaa68a){if(_0xaaa68a){return _0x44c0f2[_0x19a9('0x1a')](_0x2c3bc4)[_0x19a9('0x1c')](_0xaaa68a);}};}function respondWithFilteredResult(_0x5b913c,_0xdba5ac){return function(_0x581295){if(_0x581295){var _0x575467=_0x581295[_0x19a9('0x1d')],_0xf07e6e=_0xdba5ac[_0x19a9('0x1e')],_0x337437=_0xdba5ac['offset']+_0xdba5ac['limit'],_0x480e3a;if(_0x337437>=_0x575467){_0x337437=_0x575467;_0x480e3a=0xc8;}else{_0x480e3a=0xce;}_0x5b913c[_0x19a9('0x1a')](_0x480e3a);return _0x5b913c['set'](_0x19a9('0x1f'),_0xf07e6e+'-'+_0x337437+'/'+_0x575467)[_0x19a9('0x1c')](_0x581295);}return null;};}function patchUpdates(_0x119034){return function(_0x2c1c20){try{jsonpatch['apply'](_0x2c1c20,_0x119034,!![]);}catch(_0xe4a515){return BPromise[_0x19a9('0x20')](_0xe4a515);}return _0x2c1c20['save']();};}function saveUpdates(_0x5b26d1,_0x562f60){return function(_0xcc51a1){if(_0xcc51a1){return _0xcc51a1[_0x19a9('0x21')](_0x5b26d1)['then'](function(_0x274d4c){return _0x274d4c;});}return null;};}function removeEntity(_0x3721d,_0x3dd2f3){return function(_0x17aeed){if(_0x17aeed){return _0x17aeed['destroy']()[_0x19a9('0x22')](function(){_0x3721d[_0x19a9('0x1a')](0xcc)[_0x19a9('0x1b')]();});}};}function handleEntityNotFound(_0x5085a9,_0x335d35){return function(_0x36f5fc){if(!_0x36f5fc){_0x5085a9[_0x19a9('0x19')](0x194);}return _0x36f5fc;};}function handleError(_0x13f39c,_0x581678){_0x581678=_0x581678||0x1f4;return function(_0x4879b6){logger[_0x19a9('0x23')](_0x4879b6[_0x19a9('0x24')]);if(_0x4879b6[_0x19a9('0x25')]){delete _0x4879b6[_0x19a9('0x25')];}_0x13f39c[_0x19a9('0x1a')](_0x581678)[_0x19a9('0x26')](_0x4879b6);};}exports[_0x19a9('0x27')]=function(_0x37a2d7,_0x452f5d){var _0x45df75={'raw':![],'where':{'id':_0x37a2d7[_0x19a9('0x28')]['id']}},_0x5da802={};_0x5da802[_0x19a9('0x29')]=_['keys'](db[_0x19a9('0x2a')][_0x19a9('0x2b')]);_0x5da802['query']=_[_0x19a9('0x2c')](_0x37a2d7['query']);_0x5da802['filters']=_[_0x19a9('0x2d')](_0x5da802[_0x19a9('0x29')],_0x5da802['query']);_0x45df75[_0x19a9('0x2e')]=_[_0x19a9('0x2d')](_0x5da802[_0x19a9('0x29')],qs[_0x19a9('0x2f')](_0x37a2d7['query'][_0x19a9('0x2f')]));_0x45df75['attributes']=_0x45df75['attributes']['length']?_0x45df75['attributes']:_0x5da802[_0x19a9('0x29')];if(_0x37a2d7[_0x19a9('0x30')][_0x19a9('0x31')]){_0x45df75[_0x19a9('0x32')]=[{'all':!![]}];}_0x45df75=_['merge']({},_0x45df75,_0x37a2d7[_0x19a9('0x33')]);return db['DashboardItem'][_0x19a9('0x34')](_0x45df75)[_0x19a9('0x22')](handleEntityNotFound(_0x452f5d,null))[_0x19a9('0x22')](respondWithResult(_0x452f5d,null))[_0x19a9('0x35')](handleError(_0x452f5d,null));};exports[_0x19a9('0x36')]=function(_0x296686,_0x2567de){return db[_0x19a9('0x2a')][_0x19a9('0x34')]({'where':{'id':_0x296686['params']['id']}})['then'](handleEntityNotFound(_0x2567de,null))[_0x19a9('0x22')](removeEntity(_0x2567de,null))[_0x19a9('0x35')](handleError(_0x2567de,null));};function widgetAttributes(_0x2bb622){try{switch(_0x2bb622[_0x19a9('0x37')]){case _0x19a9('0x38'):return[{'name':_0x19a9('0x39'),'value':_0x2bb622[_0x19a9('0x39')]||(_0x2bb622[_0x19a9('0x3a')]&&_0x2bb622[_0x19a9('0x3a')][0x0]?_0x2bb622[_0x19a9('0x3a')][0x0][_0x19a9('0x3b')]:undefined)||_0x19a9('0x3c')}];case _0x19a9('0x3d'):return[{'name':_0x19a9('0x3e'),'value':_0x2bb622[_0x19a9('0x3e')]||(_0x2bb622[_0x19a9('0x3a')]&&_0x2bb622[_0x19a9('0x3a')][0x0]?_0x2bb622[_0x19a9('0x3a')][0x0][_0x19a9('0x3b')]:undefined)||''}];case'clock':return[{'name':_0x19a9('0x3f'),'value':_0x2bb622['attrHourFormat']||(_0x2bb622['attrs']&&_0x2bb622[_0x19a9('0x3a')][0x0]?_0x2bb622[_0x19a9('0x3a')][0x0][_0x19a9('0x3b')]:undefined)||_0x19a9('0x40')},{'name':'attrTimezone','value':_0x2bb622['attrTimezone']||(_0x2bb622['attrs']&&_0x2bb622[_0x19a9('0x3a')][0x1]?_0x2bb622[_0x19a9('0x3a')][0x1][_0x19a9('0x3b')]:undefined)||_0x19a9('0x41')},{'name':_0x19a9('0x42'),'value':_0x2bb622[_0x19a9('0x42')]||(_0x2bb622[_0x19a9('0x3a')]&&_0x2bb622[_0x19a9('0x3a')][0x2]?_0x2bb622[_0x19a9('0x3a')][0x2]['value']:undefined)||0xc}];case _0x19a9('0x43'):return[{'name':_0x19a9('0x44'),'value':_0x2bb622[_0x19a9('0x44')]||(_0x2bb622[_0x19a9('0x3a')]&&_0x2bb622[_0x19a9('0x3a')][0x0]?_0x2bb622[_0x19a9('0x3a')][0x0][_0x19a9('0x3b')]:undefined)||_0x19a9('0x45')},{'name':'attrVoiceQueues','value':_0x2bb622[_0x19a9('0x46')]||(_0x2bb622['attrs']&&_0x2bb622['attrs'][0x1]?_0x2bb622['attrs'][0x1][_0x19a9('0x3b')]:undefined)||[]},{'name':_0x19a9('0x42'),'value':_0x2bb622[_0x19a9('0x42')]||(_0x2bb622[_0x19a9('0x3a')]&&_0x2bb622['attrs'][0x2]?_0x2bb622[_0x19a9('0x3a')][0x2][_0x19a9('0x3b')]:undefined)||0x14}];case _0x19a9('0x47'):case _0x19a9('0x48'):return[{'name':_0x19a9('0x49'),'value':_0x2bb622[_0x19a9('0x49')]||(_0x2bb622[_0x19a9('0x3a')]&&_0x2bb622[_0x19a9('0x3a')][0x0]?_0x2bb622[_0x19a9('0x3a')][0x0][_0x19a9('0x3b')]:undefined)||'total'},{'name':_0x19a9('0x4a'),'value':_0x2bb622[_0x19a9('0x4a')]||(_0x2bb622[_0x19a9('0x3a')]&&_0x2bb622[_0x19a9('0x3a')][0x1]?_0x2bb622[_0x19a9('0x3a')][0x1][_0x19a9('0x3b')]:undefined)||null},{'name':_0x19a9('0x4b'),'value':_0x2bb622[_0x19a9('0x4b')]||(_0x2bb622['attrs']&&_0x2bb622[_0x19a9('0x3a')][0x2]?_0x2bb622[_0x19a9('0x3a')][0x2][_0x19a9('0x3b')]:undefined)||null},{'name':'attrVoiceQueues','value':_0x2bb622[_0x19a9('0x46')]||(_0x2bb622[_0x19a9('0x3a')]&&_0x2bb622[_0x19a9('0x3a')][0x3]?_0x2bb622[_0x19a9('0x3a')][0x3]['value']:undefined)||[]}];case _0x19a9('0x4c'):return[{'name':'attrReport','type':_0x2bb622[_0x19a9('0x4d')]||(_0x2bb622['attrs']&&_0x2bb622['attrs'][0x0]?_0x2bb622['attrs'][0x0]['type']:undefined)||null,'value':_0x2bb622[_0x19a9('0x4e')]||(_0x2bb622[_0x19a9('0x3a')]&&_0x2bb622[_0x19a9('0x3a')][0x0]?_0x2bb622[_0x19a9('0x3a')][0x0][_0x19a9('0x3b')]:undefined)||null},{'name':_0x19a9('0x4f'),'value':_0x2bb622[_0x19a9('0x4f')]||(_0x2bb622['attrs']&&_0x2bb622[_0x19a9('0x3a')][0x1]?_0x2bb622[_0x19a9('0x3a')][0x1]['value']:undefined)||0x0}];default:return[];}}catch(_0x4c585e){logger[_0x19a9('0x23')](_0x19a9('0x50'),JSON[_0x19a9('0x51')](_0x4c585e));return[];}}exports['create']=function(_0x234c3a,_0x3e1e35){if(_0x234c3a[_0x19a9('0x52')]){_0x234c3a[_0x19a9('0x52')][_0x19a9('0x3a')]=widgetAttributes(_0x234c3a[_0x19a9('0x52')]);}return db['DashboardItem']['create'](_0x234c3a[_0x19a9('0x52')],{})[_0x19a9('0x22')](respondWithResult(_0x3e1e35,0xc9))[_0x19a9('0x35')](handleError(_0x3e1e35,null));};exports[_0x19a9('0x21')]=function(_0x13d5a1,_0x33b4b5){if(_0x13d5a1['body']['id']){delete _0x13d5a1[_0x19a9('0x52')]['id'];}_0x13d5a1[_0x19a9('0x52')][_0x19a9('0x3a')]=widgetAttributes(_0x13d5a1[_0x19a9('0x52')]);return db[_0x19a9('0x2a')][_0x19a9('0x34')]({'where':{'id':_0x13d5a1[_0x19a9('0x28')]['id']}})['then'](handleEntityNotFound(_0x33b4b5,null))[_0x19a9('0x22')](saveUpdates(_0x13d5a1[_0x19a9('0x52')],null))[_0x19a9('0x22')](respondWithResult(_0x33b4b5,null))['catch'](handleError(_0x33b4b5,null));}; \ No newline at end of file +var _0xf477=['save','then','stack','name','send','show','params','keys','DashboardItem','rawAttributes','query','filters','model','attributes','fields','length','include','merge','options','find','destroy','catch','type','attrUrl','attrs','value','https://','custom','attrPath','clock','attrHourFormat','HH:mm:ss','attrTimezone','0.00','attrFontSize','attrMetric','total','attrVoiceQueues','multibar-chart','pie-chart','attrSerie1','attrSerie2','attrSerie3','web-report','reportType','attrRefresh','error','widgetAttributes:\x20%s','create','body','update','html-pdf','eml-format','rimraf','fast-json-patch','request-promise','moment','bluebird','mustache','util','sox','to-csv','lodash','squel','crypto','desk.js','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','defaults','redis','socket.io-emitter','./dashboardItem.socket','register','sendStatus','end','status','count','offset','limit','set','Content-Range','apply','reject'];(function(_0x3cd87d,_0x24c048){var _0x676731=function(_0x335286){while(--_0x335286){_0x3cd87d['push'](_0x3cd87d['shift']());}};_0x676731(++_0x24c048);}(_0xf477,0x8e));var _0x7f47=function(_0x8c43de,_0x90ff31){_0x8c43de=_0x8c43de-0x0;var _0xa6591b=_0xf477[_0x8c43de];return _0xa6591b;};'use strict';var pdf=require(_0x7f47('0x0'));var emlformat=require(_0x7f47('0x1'));var rimraf=require(_0x7f47('0x2'));var zipdir=require('zip-dir');var jsonpatch=require(_0x7f47('0x3'));var rp=require(_0x7f47('0x4'));var moment=require(_0x7f47('0x5'));var BPromise=require(_0x7f47('0x6'));var Mustache=require(_0x7f47('0x7'));var util=require(_0x7f47('0x8'));var path=require('path');var sox=require(_0x7f47('0x9'));var csv=require(_0x7f47('0xa'));var ejs=require('ejs');var fs=require('fs');var _=require(_0x7f47('0xb'));var squel=require(_0x7f47('0xc'));var crypto=require(_0x7f47('0xd'));var jsforce=require('jsforce');var deskjs=require(_0x7f47('0xe'));var toCsv=require(_0x7f47('0xa'));var querystring=require('querystring');var Papa=require(_0x7f47('0xf'));var Redis=require(_0x7f47('0x10'));var authService=require(_0x7f47('0x11'));var qs=require(_0x7f47('0x12'));var as=require(_0x7f47('0x13'));var hardwareService=require(_0x7f47('0x14'));var logger=require(_0x7f47('0x15'))(_0x7f47('0x16'));var utils=require(_0x7f47('0x17'));var config=require(_0x7f47('0x18'));var db=require('../../mysqldb')['db'];config['redis']=_[_0x7f47('0x19')](config[_0x7f47('0x1a')],{'host':'localhost','port':0x18eb});var socket=require(_0x7f47('0x1b'))(new Redis(config['redis']));require(_0x7f47('0x1c'))[_0x7f47('0x1d')](socket);function respondWithStatusCode(_0x4a7c4b,_0x121d2c){_0x121d2c=_0x121d2c||0xcc;return function(_0x393333){if(_0x393333){return _0x4a7c4b[_0x7f47('0x1e')](_0x121d2c);}return _0x4a7c4b['status'](_0x121d2c)[_0x7f47('0x1f')]();};}function respondWithResult(_0x291651,_0x515335){_0x515335=_0x515335||0xc8;return function(_0x3fc6d9){if(_0x3fc6d9){return _0x291651[_0x7f47('0x20')](_0x515335)['json'](_0x3fc6d9);}};}function respondWithFilteredResult(_0x97954,_0x220d76){return function(_0x20eb0e){if(_0x20eb0e){var _0x40cc2e=_0x20eb0e[_0x7f47('0x21')],_0x59f0f9=_0x220d76[_0x7f47('0x22')],_0x27f605=_0x220d76['offset']+_0x220d76[_0x7f47('0x23')],_0x3365e5;if(_0x27f605>=_0x40cc2e){_0x27f605=_0x40cc2e;_0x3365e5=0xc8;}else{_0x3365e5=0xce;}_0x97954[_0x7f47('0x20')](_0x3365e5);return _0x97954[_0x7f47('0x24')](_0x7f47('0x25'),_0x59f0f9+'-'+_0x27f605+'/'+_0x40cc2e)['json'](_0x20eb0e);}return null;};}function patchUpdates(_0x19bd53){return function(_0x2b3e6e){try{jsonpatch[_0x7f47('0x26')](_0x2b3e6e,_0x19bd53,!![]);}catch(_0x556add){return BPromise[_0x7f47('0x27')](_0x556add);}return _0x2b3e6e[_0x7f47('0x28')]();};}function saveUpdates(_0x1a1b47,_0x296180){return function(_0xd829bb){if(_0xd829bb){return _0xd829bb['update'](_0x1a1b47)['then'](function(_0x473bfb){return _0x473bfb;});}return null;};}function removeEntity(_0x1933be,_0x2b48ce){return function(_0x5a6bc6){if(_0x5a6bc6){return _0x5a6bc6['destroy']()[_0x7f47('0x29')](function(){_0x1933be['status'](0xcc)[_0x7f47('0x1f')]();});}};}function handleEntityNotFound(_0x37ddd,_0x1bc498){return function(_0x63385){if(!_0x63385){_0x37ddd['sendStatus'](0x194);}return _0x63385;};}function handleError(_0x44153d,_0x4c5843){_0x4c5843=_0x4c5843||0x1f4;return function(_0x7256b7){logger['error'](_0x7256b7[_0x7f47('0x2a')]);if(_0x7256b7[_0x7f47('0x2b')]){delete _0x7256b7[_0x7f47('0x2b')];}_0x44153d[_0x7f47('0x20')](_0x4c5843)[_0x7f47('0x2c')](_0x7256b7);};}exports[_0x7f47('0x2d')]=function(_0x39a871,_0x5854d4){var _0x2f655f={'raw':![],'where':{'id':_0x39a871[_0x7f47('0x2e')]['id']}},_0x447e8b={};_0x447e8b['model']=_[_0x7f47('0x2f')](db[_0x7f47('0x30')][_0x7f47('0x31')]);_0x447e8b[_0x7f47('0x32')]=_[_0x7f47('0x2f')](_0x39a871[_0x7f47('0x32')]);_0x447e8b[_0x7f47('0x33')]=_['intersection'](_0x447e8b[_0x7f47('0x34')],_0x447e8b[_0x7f47('0x32')]);_0x2f655f[_0x7f47('0x35')]=_['intersection'](_0x447e8b[_0x7f47('0x34')],qs['fields'](_0x39a871['query'][_0x7f47('0x36')]));_0x2f655f[_0x7f47('0x35')]=_0x2f655f[_0x7f47('0x35')][_0x7f47('0x37')]?_0x2f655f[_0x7f47('0x35')]:_0x447e8b['model'];if(_0x39a871[_0x7f47('0x32')]['includeAll']){_0x2f655f[_0x7f47('0x38')]=[{'all':!![]}];}_0x2f655f=_[_0x7f47('0x39')]({},_0x2f655f,_0x39a871[_0x7f47('0x3a')]);return db[_0x7f47('0x30')][_0x7f47('0x3b')](_0x2f655f)['then'](handleEntityNotFound(_0x5854d4,null))[_0x7f47('0x29')](respondWithResult(_0x5854d4,null))['catch'](handleError(_0x5854d4,null));};exports[_0x7f47('0x3c')]=function(_0x3455d5,_0x107a30){return db[_0x7f47('0x30')]['find']({'where':{'id':_0x3455d5['params']['id']}})['then'](handleEntityNotFound(_0x107a30,null))[_0x7f47('0x29')](removeEntity(_0x107a30,null))[_0x7f47('0x3d')](handleError(_0x107a30,null));};function widgetAttributes(_0x142bf9){try{switch(_0x142bf9[_0x7f47('0x3e')]){case'iframe':return[{'name':'attrUrl','value':_0x142bf9[_0x7f47('0x3f')]||(_0x142bf9['attrs']&&_0x142bf9[_0x7f47('0x40')][0x0]?_0x142bf9['attrs'][0x0][_0x7f47('0x41')]:undefined)||_0x7f47('0x42')}];case _0x7f47('0x43'):return[{'name':_0x7f47('0x44'),'value':_0x142bf9[_0x7f47('0x44')]||(_0x142bf9['attrs']&&_0x142bf9['attrs'][0x0]?_0x142bf9[_0x7f47('0x40')][0x0][_0x7f47('0x41')]:undefined)||''}];case _0x7f47('0x45'):return[{'name':_0x7f47('0x46'),'value':_0x142bf9[_0x7f47('0x46')]||(_0x142bf9[_0x7f47('0x40')]&&_0x142bf9['attrs'][0x0]?_0x142bf9[_0x7f47('0x40')][0x0]['value']:undefined)||_0x7f47('0x47')},{'name':'attrTimezone','value':_0x142bf9[_0x7f47('0x48')]||(_0x142bf9[_0x7f47('0x40')]&&_0x142bf9[_0x7f47('0x40')][0x1]?_0x142bf9[_0x7f47('0x40')][0x1][_0x7f47('0x41')]:undefined)||_0x7f47('0x49')},{'name':_0x7f47('0x4a'),'value':_0x142bf9[_0x7f47('0x4a')]||(_0x142bf9['attrs']&&_0x142bf9[_0x7f47('0x40')][0x2]?_0x142bf9['attrs'][0x2][_0x7f47('0x41')]:undefined)||0xc}];case'counter':return[{'name':_0x7f47('0x4b'),'value':_0x142bf9[_0x7f47('0x4b')]||(_0x142bf9[_0x7f47('0x40')]&&_0x142bf9[_0x7f47('0x40')][0x0]?_0x142bf9['attrs'][0x0][_0x7f47('0x41')]:undefined)||_0x7f47('0x4c')},{'name':_0x7f47('0x4d'),'value':_0x142bf9[_0x7f47('0x4d')]||(_0x142bf9[_0x7f47('0x40')]&&_0x142bf9[_0x7f47('0x40')][0x1]?_0x142bf9[_0x7f47('0x40')][0x1][_0x7f47('0x41')]:undefined)||[]},{'name':_0x7f47('0x4a'),'value':_0x142bf9[_0x7f47('0x4a')]||(_0x142bf9[_0x7f47('0x40')]&&_0x142bf9['attrs'][0x2]?_0x142bf9[_0x7f47('0x40')][0x2]['value']:undefined)||0x14}];case _0x7f47('0x4e'):case _0x7f47('0x4f'):return[{'name':_0x7f47('0x50'),'value':_0x142bf9[_0x7f47('0x50')]||(_0x142bf9[_0x7f47('0x40')]&&_0x142bf9[_0x7f47('0x40')][0x0]?_0x142bf9[_0x7f47('0x40')][0x0][_0x7f47('0x41')]:undefined)||_0x7f47('0x4c')},{'name':_0x7f47('0x51'),'value':_0x142bf9['attrSerie2']||(_0x142bf9[_0x7f47('0x40')]&&_0x142bf9[_0x7f47('0x40')][0x1]?_0x142bf9[_0x7f47('0x40')][0x1][_0x7f47('0x41')]:undefined)||null},{'name':_0x7f47('0x52'),'value':_0x142bf9[_0x7f47('0x52')]||(_0x142bf9['attrs']&&_0x142bf9[_0x7f47('0x40')][0x2]?_0x142bf9[_0x7f47('0x40')][0x2]['value']:undefined)||null},{'name':'attrVoiceQueues','value':_0x142bf9[_0x7f47('0x4d')]||(_0x142bf9[_0x7f47('0x40')]&&_0x142bf9['attrs'][0x3]?_0x142bf9[_0x7f47('0x40')][0x3][_0x7f47('0x41')]:undefined)||[]}];case _0x7f47('0x53'):return[{'name':'attrReport','type':_0x142bf9[_0x7f47('0x54')]||(_0x142bf9['attrs']&&_0x142bf9[_0x7f47('0x40')][0x0]?_0x142bf9[_0x7f47('0x40')][0x0][_0x7f47('0x3e')]:undefined)||null,'value':_0x142bf9['attrReport']||(_0x142bf9[_0x7f47('0x40')]&&_0x142bf9[_0x7f47('0x40')][0x0]?_0x142bf9[_0x7f47('0x40')][0x0][_0x7f47('0x41')]:undefined)||null},{'name':_0x7f47('0x55'),'value':_0x142bf9['attrRefresh']||(_0x142bf9[_0x7f47('0x40')]&&_0x142bf9[_0x7f47('0x40')][0x1]?_0x142bf9[_0x7f47('0x40')][0x1]['value']:undefined)||0x0}];default:return[];}}catch(_0x29d7e8){logger[_0x7f47('0x56')](_0x7f47('0x57'),JSON['stringify'](_0x29d7e8));return[];}}exports[_0x7f47('0x58')]=function(_0x296782,_0x3d9295){if(_0x296782[_0x7f47('0x59')]){_0x296782[_0x7f47('0x59')][_0x7f47('0x40')]=widgetAttributes(_0x296782[_0x7f47('0x59')]);}return db['DashboardItem'][_0x7f47('0x58')](_0x296782[_0x7f47('0x59')],{})[_0x7f47('0x29')](respondWithResult(_0x3d9295,0xc9))[_0x7f47('0x3d')](handleError(_0x3d9295,null));};exports[_0x7f47('0x5a')]=function(_0x35e781,_0x340e5c){if(_0x35e781[_0x7f47('0x59')]['id']){delete _0x35e781['body']['id'];}_0x35e781[_0x7f47('0x59')][_0x7f47('0x40')]=widgetAttributes(_0x35e781['body']);return db[_0x7f47('0x30')][_0x7f47('0x3b')]({'where':{'id':_0x35e781['params']['id']}})[_0x7f47('0x29')](handleEntityNotFound(_0x340e5c,null))[_0x7f47('0x29')](saveUpdates(_0x35e781[_0x7f47('0x59')],null))[_0x7f47('0x29')](respondWithResult(_0x340e5c,null))[_0x7f47('0x3d')](handleError(_0x340e5c,null));}; \ No newline at end of file diff --git a/server/api/dashboardItem/dashboardItem.events.js b/server/api/dashboardItem/dashboardItem.events.js index 9a22142..14f0169 100644 --- a/server/api/dashboardItem/dashboardItem.events.js +++ b/server/api/dashboardItem/dashboardItem.events.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x50ec=['../../mysqldb','setMaxListeners','save','update','emit','hasOwnProperty','hook','exports','events'];(function(_0x2b0f81,_0x3917f0){var _0x5ce74c=function(_0x12dc0d){while(--_0x12dc0d){_0x2b0f81['push'](_0x2b0f81['shift']());}};_0x5ce74c(++_0x3917f0);}(_0x50ec,0xc5));var _0xc50e=function(_0x2a2433,_0x5c205b){_0x2a2433=_0x2a2433-0x0;var _0x2524fb=_0x50ec[_0x2a2433];return _0x2524fb;};'use strict';var EventEmitter=require(_0xc50e('0x0'));var DashboardItem=require(_0xc50e('0x1'))['db']['DashboardItem'];var DashboardItemEvents=new EventEmitter();DashboardItemEvents[_0xc50e('0x2')](0x0);var events={'afterCreate':_0xc50e('0x3'),'afterUpdate':_0xc50e('0x4'),'afterDestroy':'remove'};function emitEvent(_0x433d2a){return function(_0x42b919,_0x2a9768,_0x1df4a1){DashboardItemEvents[_0xc50e('0x5')](_0x433d2a+':'+_0x42b919['id'],_0x42b919);DashboardItemEvents[_0xc50e('0x5')](_0x433d2a,_0x42b919);_0x1df4a1(null);};}for(var e in events){if(events[_0xc50e('0x6')](e)){var event=events[e];DashboardItem[_0xc50e('0x7')](e,emitEvent(event));}}module[_0xc50e('0x8')]=DashboardItemEvents; \ No newline at end of file +var _0x708c=['hasOwnProperty','hook','exports','events','setMaxListeners','update','remove','emit'];(function(_0x2c91e9,_0x2fb965){var _0x13f0ff=function(_0xb39edf){while(--_0xb39edf){_0x2c91e9['push'](_0x2c91e9['shift']());}};_0x13f0ff(++_0x2fb965);}(_0x708c,0x9b));var _0xc708=function(_0x514230,_0x45e2c1){_0x514230=_0x514230-0x0;var _0x5e422e=_0x708c[_0x514230];return _0x5e422e;};'use strict';var EventEmitter=require(_0xc708('0x0'));var DashboardItem=require('../../mysqldb')['db']['DashboardItem'];var DashboardItemEvents=new EventEmitter();DashboardItemEvents[_0xc708('0x1')](0x0);var events={'afterCreate':'save','afterUpdate':_0xc708('0x2'),'afterDestroy':_0xc708('0x3')};function emitEvent(_0xb98582){return function(_0x34144b,_0x577868,_0x263db5){DashboardItemEvents[_0xc708('0x4')](_0xb98582+':'+_0x34144b['id'],_0x34144b);DashboardItemEvents[_0xc708('0x4')](_0xb98582,_0x34144b);_0x263db5(null);};}for(var e in events){if(events[_0xc708('0x5')](e)){var event=events[e];DashboardItem[_0xc708('0x6')](e,emitEvent(event));}}module[_0xc708('0x7')]=DashboardItemEvents; \ No newline at end of file diff --git a/server/api/dashboardItem/dashboardItem.model.js b/server/api/dashboardItem/dashboardItem.model.js index 8d76f1b..993dd00 100644 --- a/server/api/dashboardItem/dashboardItem.model.js +++ b/server/api/dashboardItem/dashboardItem.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x4d1d=['../../config/environment','./dashboardItem.attributes','define','DashboardItem','dashboard_items','lodash','../../config/logger','api','moment','request-promise','path','rimraf'];(function(_0x54bac5,_0x8d3a16){var _0xc15971=function(_0x254653){while(--_0x254653){_0x54bac5['push'](_0x54bac5['shift']());}};_0xc15971(++_0x8d3a16);}(_0x4d1d,0x101));var _0xd4d1=function(_0x9a1b67,_0x2bfbf1){_0x9a1b67=_0x9a1b67-0x0;var _0x5d228c=_0x4d1d[_0x9a1b67];return _0x5d228c;};'use strict';var _=require(_0xd4d1('0x0'));var util=require('util');var logger=require(_0xd4d1('0x1'))(_0xd4d1('0x2'));var moment=require(_0xd4d1('0x3'));var BPromise=require('bluebird');var rp=require(_0xd4d1('0x4'));var fs=require('fs');var path=require(_0xd4d1('0x5'));var rimraf=require(_0xd4d1('0x6'));var config=require(_0xd4d1('0x7'));var attributes=require(_0xd4d1('0x8'));module['exports']=function(_0x5484d2,_0x2a13d7){return _0x5484d2[_0xd4d1('0x9')](_0xd4d1('0xa'),attributes,{'tableName':_0xd4d1('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0xc2b3=['lodash','util','api','moment','bluebird','request-promise','path','rimraf','./dashboardItem.attributes','define','dashboard_items'];(function(_0x19660c,_0x124fc1){var _0xe13eda=function(_0x489363){while(--_0x489363){_0x19660c['push'](_0x19660c['shift']());}};_0xe13eda(++_0x124fc1);}(_0xc2b3,0x181));var _0x3c2b=function(_0x5caf8b,_0x7ab267){_0x5caf8b=_0x5caf8b-0x0;var _0x1d30a0=_0xc2b3[_0x5caf8b];return _0x1d30a0;};'use strict';var _=require(_0x3c2b('0x0'));var util=require(_0x3c2b('0x1'));var logger=require('../../config/logger')(_0x3c2b('0x2'));var moment=require(_0x3c2b('0x3'));var BPromise=require(_0x3c2b('0x4'));var rp=require(_0x3c2b('0x5'));var fs=require('fs');var path=require(_0x3c2b('0x6'));var rimraf=require(_0x3c2b('0x7'));var config=require('../../config/environment');var attributes=require(_0x3c2b('0x8'));module['exports']=function(_0x2c06b6,_0x14aeb8){return _0x2c06b6[_0x3c2b('0x9')]('DashboardItem',attributes,{'tableName':_0x3c2b('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/dashboardItem/dashboardItem.rpc.js b/server/api/dashboardItem/dashboardItem.rpc.js index c90b380..6e482a9 100644 --- a/server/api/dashboardItem/dashboardItem.rpc.js +++ b/server/api/dashboardItem/dashboardItem.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xccd0=['catch','util','moment','bluebird','randomstring','ioredis','../../mysqldb','../../config/logger','rpc','jayson/promise','client','http','defaults','localhost','socket.io-emitter','redis','./dashboardItem.socket','request','then','info','DashboardItem,\x20%s,\x20%s','request\x20sent','debug','DashboardItem,\x20%s,\x20%s,\x20%s','stringify','error','code','message','result'];(function(_0x19950b,_0x53d0d7){var _0x3c6b41=function(_0x3924ad){while(--_0x3924ad){_0x19950b['push'](_0x19950b['shift']());}};_0x3c6b41(++_0x53d0d7);}(_0xccd0,0x123));var _0x0ccd=function(_0xa464c9,_0x7c86d8){_0xa464c9=_0xa464c9-0x0;var _0x3d73c4=_0xccd0[_0xa464c9];return _0x3d73c4;};'use strict';var _=require('lodash');var util=require(_0x0ccd('0x0'));var moment=require(_0x0ccd('0x1'));var BPromise=require(_0x0ccd('0x2'));var rs=require(_0x0ccd('0x3'));var fs=require('fs');var Redis=require(_0x0ccd('0x4'));var db=require(_0x0ccd('0x5'))['db'];var utils=require('../../config/utils');var logger=require(_0x0ccd('0x6'))(_0x0ccd('0x7'));var config=require('../../config/environment');var jayson=require(_0x0ccd('0x8'));var client=jayson[_0x0ccd('0x9')][_0x0ccd('0xa')]({'port':0x232a});config['redis']=_[_0x0ccd('0xb')](config['redis'],{'host':_0x0ccd('0xc'),'port':0x18eb});var socket=require(_0x0ccd('0xd'))(new Redis(config[_0x0ccd('0xe')]));require(_0x0ccd('0xf'))['register'](socket);function respondWithRpcPromise(_0x612814,_0x322c53,_0x2d2568){return new BPromise(function(_0x20692d,_0x2c557c){return client[_0x0ccd('0x10')](_0x612814,_0x2d2568)[_0x0ccd('0x11')](function(_0x1b6dec){logger[_0x0ccd('0x12')](_0x0ccd('0x13'),_0x322c53,_0x0ccd('0x14'));logger[_0x0ccd('0x15')](_0x0ccd('0x16'),_0x322c53,_0x0ccd('0x14'),JSON[_0x0ccd('0x17')](_0x1b6dec));if(_0x1b6dec[_0x0ccd('0x18')]){if(_0x1b6dec['error'][_0x0ccd('0x19')]===0x1f4){logger[_0x0ccd('0x18')](_0x0ccd('0x13'),_0x322c53,_0x1b6dec['error'][_0x0ccd('0x1a')]);return _0x2c557c(_0x1b6dec[_0x0ccd('0x18')][_0x0ccd('0x1a')]);}logger[_0x0ccd('0x18')](_0x0ccd('0x13'),_0x322c53,_0x1b6dec[_0x0ccd('0x18')][_0x0ccd('0x1a')]);return _0x20692d(_0x1b6dec[_0x0ccd('0x18')][_0x0ccd('0x1a')]);}else{logger[_0x0ccd('0x12')](_0x0ccd('0x13'),_0x322c53,'request\x20sent');_0x20692d(_0x1b6dec[_0x0ccd('0x1b')]['message']);}})[_0x0ccd('0x1c')](function(_0x46c780){logger['error'](_0x0ccd('0x13'),_0x322c53,_0x46c780);_0x2c557c(_0x46c780);});});} \ No newline at end of file +var _0x4537=['redis','defaults','socket.io-emitter','request','then','info','DashboardItem,\x20%s,\x20%s','request\x20sent','DashboardItem,\x20%s,\x20%s,\x20%s','stringify','error','message','catch','lodash','util','bluebird','randomstring','ioredis','../../mysqldb','../../config/utils','../../config/logger','../../config/environment','jayson/promise','http'];(function(_0x42dc4a,_0xb755b2){var _0xa0abde=function(_0x2f9446){while(--_0x2f9446){_0x42dc4a['push'](_0x42dc4a['shift']());}};_0xa0abde(++_0xb755b2);}(_0x4537,0x115));var _0x7453=function(_0x152db2,_0x8dc4e4){_0x152db2=_0x152db2-0x0;var _0xd714ec=_0x4537[_0x152db2];return _0xd714ec;};'use strict';var _=require(_0x7453('0x0'));var util=require(_0x7453('0x1'));var moment=require('moment');var BPromise=require(_0x7453('0x2'));var rs=require(_0x7453('0x3'));var fs=require('fs');var Redis=require(_0x7453('0x4'));var db=require(_0x7453('0x5'))['db'];var utils=require(_0x7453('0x6'));var logger=require(_0x7453('0x7'))('rpc');var config=require(_0x7453('0x8'));var jayson=require(_0x7453('0x9'));var client=jayson['client'][_0x7453('0xa')]({'port':0x232a});config[_0x7453('0xb')]=_[_0x7453('0xc')](config[_0x7453('0xb')],{'host':'localhost','port':0x18eb});var socket=require(_0x7453('0xd'))(new Redis(config['redis']));require('./dashboardItem.socket')['register'](socket);function respondWithRpcPromise(_0x2c035f,_0x364c47,_0x1c217f){return new BPromise(function(_0x27ddd6,_0x11da0a){return client[_0x7453('0xe')](_0x2c035f,_0x1c217f)[_0x7453('0xf')](function(_0x2a7878){logger[_0x7453('0x10')](_0x7453('0x11'),_0x364c47,_0x7453('0x12'));logger['debug'](_0x7453('0x13'),_0x364c47,_0x7453('0x12'),JSON[_0x7453('0x14')](_0x2a7878));if(_0x2a7878[_0x7453('0x15')]){if(_0x2a7878['error']['code']===0x1f4){logger[_0x7453('0x15')](_0x7453('0x11'),_0x364c47,_0x2a7878[_0x7453('0x15')][_0x7453('0x16')]);return _0x11da0a(_0x2a7878[_0x7453('0x15')]['message']);}logger['error'](_0x7453('0x11'),_0x364c47,_0x2a7878[_0x7453('0x15')][_0x7453('0x16')]);return _0x27ddd6(_0x2a7878[_0x7453('0x15')][_0x7453('0x16')]);}else{logger[_0x7453('0x10')](_0x7453('0x11'),_0x364c47,'request\x20sent');_0x27ddd6(_0x2a7878['result'][_0x7453('0x16')]);}})[_0x7453('0x17')](function(_0x4b47bf){logger[_0x7453('0x15')](_0x7453('0x11'),_0x364c47,_0x4b47bf);_0x11da0a(_0x4b47bf);});});} \ No newline at end of file diff --git a/server/api/dashboardItem/dashboardItem.socket.js b/server/api/dashboardItem/dashboardItem.socket.js index 5d30263..7ab42ec 100644 --- a/server/api/dashboardItem/dashboardItem.socket.js +++ b/server/api/dashboardItem/dashboardItem.socket.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xeaaf=['emit','removeListener','register','dashboardItem:','save','update'];(function(_0x2a21e6,_0x4ac09f){var _0x15c8b6=function(_0x199fdf){while(--_0x199fdf){_0x2a21e6['push'](_0x2a21e6['shift']());}};_0x15c8b6(++_0x4ac09f);}(_0xeaaf,0x172));var _0xfeaa=function(_0x58d771,_0x1bf21d){_0x58d771=_0x58d771-0x0;var _0x4f06=_0xeaaf[_0x58d771];return _0x4f06;};'use strict';var DashboardItemEvents=require('./dashboardItem.events');var events=[_0xfeaa('0x0'),'remove',_0xfeaa('0x1')];function createListener(_0x3c2741,_0x3950cb){return function(_0x4b4ffa){_0x3950cb[_0xfeaa('0x2')](_0x3c2741,_0x4b4ffa);};}function removeListener(_0x5a1fe5,_0x4ef259){return function(){DashboardItemEvents[_0xfeaa('0x3')](_0x5a1fe5,_0x4ef259);};}exports[_0xfeaa('0x4')]=function(_0x234713){for(var _0x5661b9=0x0,_0x55f104=events['length'];_0x5661b9<_0x55f104;_0x5661b9++){var _0x4be758=events[_0x5661b9];var _0xe7a4a0=createListener(_0xfeaa('0x5')+_0x4be758,_0x234713);DashboardItemEvents['on'](_0x4be758,_0xe7a4a0);}}; \ No newline at end of file +var _0x5d2a=['removeListener','length','dashboardItem:','save','emit'];(function(_0x22ba79,_0x1fd59f){var _0x3c64a7=function(_0x30b023){while(--_0x30b023){_0x22ba79['push'](_0x22ba79['shift']());}};_0x3c64a7(++_0x1fd59f);}(_0x5d2a,0x139));var _0xa5d2=function(_0x178078,_0xc8ab70){_0x178078=_0x178078-0x0;var _0x53cf38=_0x5d2a[_0x178078];return _0x53cf38;};'use strict';var DashboardItemEvents=require('./dashboardItem.events');var events=[_0xa5d2('0x0'),'remove','update'];function createListener(_0x362e9b,_0x159a89){return function(_0xb4fd84){_0x159a89[_0xa5d2('0x1')](_0x362e9b,_0xb4fd84);};}function removeListener(_0x178c5f,_0x11c611){return function(){DashboardItemEvents[_0xa5d2('0x2')](_0x178c5f,_0x11c611);};}exports['register']=function(_0x373397){for(var _0x43b112=0x0,_0xdafecb=events[_0xa5d2('0x3')];_0x43b112<_0xdafecb;_0x43b112++){var _0x378732=events[_0x43b112];var _0x4d9ded=createListener(_0xa5d2('0x4')+_0x378732,_0x373397);DashboardItemEvents['on'](_0x378732,_0x4d9ded);}}; \ No newline at end of file diff --git a/server/api/dashboardItem/index.js b/server/api/dashboardItem/index.js index 5ee5af0..bee69a8 100644 --- a/server/api/dashboardItem/index.js +++ b/server/api/dashboardItem/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x5fab=['express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./dashboardItem.controller','get','/:id','isAuthenticated','create','put','update','delete','destroy','exports','multer','util','connect-timeout'];(function(_0x489b87,_0xd51c93){var _0x1823b6=function(_0x451c70){while(--_0x451c70){_0x489b87['push'](_0x489b87['shift']());}};_0x1823b6(++_0xd51c93);}(_0x5fab,0x177));var _0xb5fa=function(_0x39efbf,_0x118364){_0x39efbf=_0x39efbf-0x0;var _0xcbd510=_0x5fab[_0x39efbf];return _0xcbd510;};'use strict';var multer=require(_0xb5fa('0x0'));var util=require(_0xb5fa('0x1'));var path=require('path');var timeout=require(_0xb5fa('0x2'));var express=require(_0xb5fa('0x3'));var router=express[_0xb5fa('0x4')]();var auth=require(_0xb5fa('0x5'));var interaction=require(_0xb5fa('0x6'));var config=require(_0xb5fa('0x7'));var controller=require(_0xb5fa('0x8'));router[_0xb5fa('0x9')](_0xb5fa('0xa'),auth[_0xb5fa('0xb')](),controller['show']);router['post']('/',auth[_0xb5fa('0xb')](),controller[_0xb5fa('0xc')]);router[_0xb5fa('0xd')]('/:id',auth[_0xb5fa('0xb')](),controller[_0xb5fa('0xe')]);router[_0xb5fa('0xf')]('/:id',auth['isAuthenticated'](),controller[_0xb5fa('0x10')]);module[_0xb5fa('0x11')]=router; \ No newline at end of file +var _0xf2ca=['destroy','exports','multer','util','path','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./dashboardItem.controller','/:id','isAuthenticated','show','post','create','put','delete'];(function(_0x22f8ab,_0x15d8ff){var _0x2a70e5=function(_0x5e6895){while(--_0x5e6895){_0x22f8ab['push'](_0x22f8ab['shift']());}};_0x2a70e5(++_0x15d8ff);}(_0xf2ca,0x16a));var _0xaf2c=function(_0x232e7a,_0x19997){_0x232e7a=_0x232e7a-0x0;var _0x445ddd=_0xf2ca[_0x232e7a];return _0x445ddd;};'use strict';var multer=require(_0xaf2c('0x0'));var util=require(_0xaf2c('0x1'));var path=require(_0xaf2c('0x2'));var timeout=require('connect-timeout');var express=require(_0xaf2c('0x3'));var router=express[_0xaf2c('0x4')]();var auth=require(_0xaf2c('0x5'));var interaction=require(_0xaf2c('0x6'));var config=require(_0xaf2c('0x7'));var controller=require(_0xaf2c('0x8'));router['get'](_0xaf2c('0x9'),auth[_0xaf2c('0xa')](),controller[_0xaf2c('0xb')]);router[_0xaf2c('0xc')]('/',auth['isAuthenticated'](),controller[_0xaf2c('0xd')]);router[_0xaf2c('0xe')]('/:id',auth[_0xaf2c('0xa')](),controller['update']);router[_0xaf2c('0xf')]('/:id',auth[_0xaf2c('0xa')](),controller[_0xaf2c('0x10')]);module[_0xaf2c('0x11')]=router; \ No newline at end of file diff --git a/server/api/disposition/disposition.attributes.js b/server/api/disposition/disposition.attributes.js index 5a3a019..44db390 100644 --- a/server/api/disposition/disposition.attributes.js +++ b/server/api/disposition/disposition.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x58e0=['sequelize','STRING'];(function(_0x3c5ca7,_0x753ead){var _0x369aa1=function(_0x5094ad){while(--_0x5094ad){_0x3c5ca7['push'](_0x3c5ca7['shift']());}};_0x369aa1(++_0x753ead);}(_0x58e0,0x98));var _0x058e=function(_0x36884e,_0x48008f){_0x36884e=_0x36884e-0x0;var _0x1cc367=_0x58e0[_0x36884e];return _0x1cc367;};'use strict';var Sequelize=require(_0x058e('0x0'));module['exports']={'name':{'type':Sequelize[_0x058e('0x1')],'allowNull':![]}}; \ No newline at end of file +var _0x8ab9=['sequelize'];(function(_0x1bff41,_0x386880){var _0x4db66b=function(_0x5aa7b6){while(--_0x5aa7b6){_0x1bff41['push'](_0x1bff41['shift']());}};_0x4db66b(++_0x386880);}(_0x8ab9,0x1de));var _0x98ab=function(_0x6bcbe4,_0x2427af){_0x6bcbe4=_0x6bcbe4-0x0;var _0x103058=_0x8ab9[_0x6bcbe4];return _0x103058;};'use strict';var Sequelize=require(_0x98ab('0x0'));module['exports']={'name':{'type':Sequelize['STRING'],'allowNull':![]}}; \ No newline at end of file diff --git a/server/api/disposition/disposition.controller.js b/server/api/disposition/disposition.controller.js index 51def68..b44e19d 100644 --- a/server/api/disposition/disposition.controller.js +++ b/server/api/disposition/disposition.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x9220=['error','name','send','map','Disposition','fieldName','type','key','model','query','keys','filters','intersection','attributes','fields','length','nolimit','limit','order','sort','where','pick','filter','merge','VIRTUAL','options','include','findAll','catch','params','create','user','get','Unable\x20to\x20retrieve\x20the\x20current\x20user','role','Dispositions','autoAssociation','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','body','find','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','mustache','util','sox','to-csv','ejs','lodash','squel','crypto','querystring','papaparse','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','sendStatus','status','end','json','offset','set','Content-Range','reject','save','update','then','destroy','UserProfileResource'];(function(_0x5612f3,_0x1d07dc){var _0x3eecb0=function(_0x1e4fdf){while(--_0x1e4fdf){_0x5612f3['push'](_0x5612f3['shift']());}};_0x3eecb0(++_0x1d07dc);}(_0x9220,0x72));var _0x0922=function(_0x2adbeb,_0x5581be){_0x2adbeb=_0x2adbeb-0x0;var _0x5e18a6=_0x9220[_0x2adbeb];return _0x5e18a6;};'use strict';var pdf=require(_0x0922('0x0'));var emlformat=require(_0x0922('0x1'));var rimraf=require(_0x0922('0x2'));var zipdir=require(_0x0922('0x3'));var jsonpatch=require(_0x0922('0x4'));var rp=require(_0x0922('0x5'));var moment=require(_0x0922('0x6'));var BPromise=require(_0x0922('0x7'));var Mustache=require(_0x0922('0x8'));var util=require(_0x0922('0x9'));var path=require('path');var sox=require(_0x0922('0xa'));var csv=require(_0x0922('0xb'));var ejs=require(_0x0922('0xc'));var fs=require('fs');var _=require(_0x0922('0xd'));var squel=require(_0x0922('0xe'));var crypto=require(_0x0922('0xf'));var jsforce=require('jsforce');var deskjs=require('desk.js');var toCsv=require(_0x0922('0xb'));var querystring=require(_0x0922('0x10'));var Papa=require(_0x0922('0x11'));var Redis=require('ioredis');var authService=require('../../components/auth/service');var qs=require(_0x0922('0x12'));var as=require(_0x0922('0x13'));var hardwareService=require(_0x0922('0x14'));var logger=require('../../config/logger')('api');var utils=require('../../config/utils');var config=require('../../config/environment');var db=require('../../mysqldb')['db'];function respondWithStatusCode(_0x38c7f4,_0x4f4ba3){_0x4f4ba3=_0x4f4ba3||0xcc;return function(_0x35a85){if(_0x35a85){return _0x38c7f4[_0x0922('0x15')](_0x4f4ba3);}return _0x38c7f4[_0x0922('0x16')](_0x4f4ba3)[_0x0922('0x17')]();};}function respondWithResult(_0x1f7c52,_0x20352d){_0x20352d=_0x20352d||0xc8;return function(_0x767879){if(_0x767879){return _0x1f7c52[_0x0922('0x16')](_0x20352d)[_0x0922('0x18')](_0x767879);}};}function respondWithFilteredResult(_0x390b1f,_0x161d2c){return function(_0x7a91fe){if(_0x7a91fe){var _0x353bce=_0x7a91fe['count'],_0x42e255=_0x161d2c[_0x0922('0x19')],_0x4095ab=_0x161d2c[_0x0922('0x19')]+_0x161d2c['limit'],_0x181abd;if(_0x4095ab>=_0x353bce){_0x4095ab=_0x353bce;_0x181abd=0xc8;}else{_0x181abd=0xce;}_0x390b1f['status'](_0x181abd);return _0x390b1f[_0x0922('0x1a')](_0x0922('0x1b'),_0x42e255+'-'+_0x4095ab+'/'+_0x353bce)[_0x0922('0x18')](_0x7a91fe);}return null;};}function patchUpdates(_0x2cf4ff){return function(_0x2316fa){try{jsonpatch['apply'](_0x2316fa,_0x2cf4ff,!![]);}catch(_0xa7f820){return BPromise[_0x0922('0x1c')](_0xa7f820);}return _0x2316fa[_0x0922('0x1d')]();};}function saveUpdates(_0x3e03c3,_0x5772e1){return function(_0x281e4c){if(_0x281e4c){return _0x281e4c[_0x0922('0x1e')](_0x3e03c3)[_0x0922('0x1f')](function(_0x555d06){return _0x555d06;});}return null;};}function removeEntity(_0x329983,_0x41e1eb){return function(_0x3bf5b0){if(_0x3bf5b0){return _0x3bf5b0[_0x0922('0x20')]()[_0x0922('0x1f')](function(){var _0x1eac54=_0x3bf5b0['get']({'plain':!![]});var _0x584bbf='Dispositions';return db[_0x0922('0x21')][_0x0922('0x20')]({'where':{'type':_0x584bbf,'resourceId':_0x1eac54['id']}})[_0x0922('0x1f')](function(){return _0x3bf5b0;});})[_0x0922('0x1f')](function(){_0x329983['status'](0xcc)[_0x0922('0x17')]();});}};}function handleEntityNotFound(_0x59e958,_0x300c9b){return function(_0x301f6e){if(!_0x301f6e){_0x59e958[_0x0922('0x15')](0x194);}return _0x301f6e;};}function handleError(_0x16d819,_0x1da83d){_0x1da83d=_0x1da83d||0x1f4;return function(_0x4c8ce0){logger[_0x0922('0x22')](_0x4c8ce0['stack']);if(_0x4c8ce0[_0x0922('0x23')]){delete _0x4c8ce0[_0x0922('0x23')];}_0x16d819[_0x0922('0x16')](_0x1da83d)[_0x0922('0x24')](_0x4c8ce0);};}exports['index']=function(_0x1c1a4d,_0x2440b2){var _0xa56804={},_0x23cbfe={},_0x3ced5c={'count':0x0,'rows':[]};var _0x1c8a52=_[_0x0922('0x25')](db[_0x0922('0x26')]['rawAttributes'],function(_0x54647d){return{'name':_0x54647d[_0x0922('0x27')],'type':_0x54647d[_0x0922('0x28')][_0x0922('0x29')]};});_0x23cbfe[_0x0922('0x2a')]=_[_0x0922('0x25')](_0x1c8a52,_0x0922('0x23'));_0x23cbfe[_0x0922('0x2b')]=_[_0x0922('0x2c')](_0x1c1a4d[_0x0922('0x2b')]);_0x23cbfe[_0x0922('0x2d')]=_[_0x0922('0x2e')](_0x23cbfe[_0x0922('0x2a')],_0x23cbfe[_0x0922('0x2b')]);_0xa56804[_0x0922('0x2f')]=_[_0x0922('0x2e')](_0x23cbfe['model'],qs[_0x0922('0x30')](_0x1c1a4d[_0x0922('0x2b')][_0x0922('0x30')]));_0xa56804[_0x0922('0x2f')]=_0xa56804['attributes'][_0x0922('0x31')]?_0xa56804[_0x0922('0x2f')]:_0x23cbfe[_0x0922('0x2a')];if(!_0x1c1a4d[_0x0922('0x2b')]['hasOwnProperty'](_0x0922('0x32'))){_0xa56804[_0x0922('0x33')]=qs[_0x0922('0x33')](_0x1c1a4d['query'][_0x0922('0x33')]);_0xa56804[_0x0922('0x19')]=qs[_0x0922('0x19')](_0x1c1a4d[_0x0922('0x2b')][_0x0922('0x19')]);}_0xa56804[_0x0922('0x34')]=qs[_0x0922('0x35')](_0x1c1a4d[_0x0922('0x2b')][_0x0922('0x35')]);_0xa56804[_0x0922('0x36')]=qs['filters'](_[_0x0922('0x37')](_0x1c1a4d[_0x0922('0x2b')],_0x23cbfe[_0x0922('0x2d')]),_0x1c8a52);if(_0x1c1a4d[_0x0922('0x2b')][_0x0922('0x38')]){_0xa56804[_0x0922('0x36')]=_[_0x0922('0x39')](_0xa56804[_0x0922('0x36')],{'$or':_[_0x0922('0x25')](_0x1c8a52,function(_0x306562){if(_0x306562[_0x0922('0x28')]!==_0x0922('0x3a')){var _0xc7eb2c={};_0xc7eb2c[_0x306562['name']]={'$like':'%'+_0x1c1a4d[_0x0922('0x2b')][_0x0922('0x38')]+'%'};return _0xc7eb2c;}})});}_0xa56804=_[_0x0922('0x39')]({},_0xa56804,_0x1c1a4d[_0x0922('0x3b')]);var _0xaf221d={'where':_0xa56804[_0x0922('0x36')]};return db[_0x0922('0x26')]['count'](_0xaf221d)[_0x0922('0x1f')](function(_0x2387d0){_0x3ced5c['count']=_0x2387d0;if(_0x1c1a4d[_0x0922('0x2b')]['includeAll']){_0xa56804[_0x0922('0x3c')]=[{'all':!![]}];}return db['Disposition'][_0x0922('0x3d')](_0xa56804);})[_0x0922('0x1f')](function(_0x4d2cbc){_0x3ced5c['rows']=_0x4d2cbc;return _0x3ced5c;})[_0x0922('0x1f')](respondWithFilteredResult(_0x2440b2,_0xa56804))[_0x0922('0x3e')](handleError(_0x2440b2,null));};exports['show']=function(_0x5b001b,_0x4691e2){var _0x14df71={'raw':!![],'where':{'id':_0x5b001b[_0x0922('0x3f')]['id']}},_0x13e2a9={};_0x13e2a9['model']=_[_0x0922('0x2c')](db[_0x0922('0x26')]['rawAttributes']);_0x13e2a9[_0x0922('0x2b')]=_['keys'](_0x5b001b[_0x0922('0x2b')]);_0x13e2a9[_0x0922('0x2d')]=_[_0x0922('0x2e')](_0x13e2a9[_0x0922('0x2a')],_0x13e2a9[_0x0922('0x2b')]);_0x14df71['attributes']=_[_0x0922('0x2e')](_0x13e2a9[_0x0922('0x2a')],qs[_0x0922('0x30')](_0x5b001b['query'][_0x0922('0x30')]));_0x14df71[_0x0922('0x2f')]=_0x14df71[_0x0922('0x2f')][_0x0922('0x31')]?_0x14df71[_0x0922('0x2f')]:_0x13e2a9[_0x0922('0x2a')];if(_0x5b001b[_0x0922('0x2b')]['includeAll']){_0x14df71[_0x0922('0x3c')]=[{'all':!![]}];}_0x14df71=_[_0x0922('0x39')]({},_0x14df71,_0x5b001b[_0x0922('0x3b')]);return db['Disposition']['find'](_0x14df71)[_0x0922('0x1f')](handleEntityNotFound(_0x4691e2,null))[_0x0922('0x1f')](respondWithResult(_0x4691e2,null))[_0x0922('0x3e')](handleError(_0x4691e2,null));};exports[_0x0922('0x40')]=function(_0x242c88,_0x41531e){return db[_0x0922('0x26')][_0x0922('0x40')](_0x242c88['body'],{})['then'](function(_0x2f8978){var _0x2fefef=_0x242c88[_0x0922('0x41')][_0x0922('0x42')]({'plain':!![]});if(!_0x2fefef)throw new Error(_0x0922('0x43'));if(_0x2fefef[_0x0922('0x44')]==='user'){var _0x2a2737=_0x2f8978[_0x0922('0x42')]({'plain':!![]});var _0x5c8232=_0x0922('0x45');return db['UserProfileSection']['find']({'where':{'name':_0x5c8232,'userProfileId':_0x2fefef['userProfileId']},'raw':!![]})[_0x0922('0x1f')](function(_0x21c01){if(_0x21c01&&_0x21c01[_0x0922('0x46')]===0x0){return db[_0x0922('0x21')][_0x0922('0x40')]({'name':_0x2a2737[_0x0922('0x23')],'resourceId':_0x2a2737['id'],'type':_0x21c01[_0x0922('0x23')],'sectionId':_0x21c01['id']},{})['then'](function(){return _0x2f8978;});}else{return _0x2f8978;}})['catch'](function(_0x370859){logger[_0x0922('0x22')](_0x0922('0x47'),_0x370859);throw _0x370859;});}return _0x2f8978;})[_0x0922('0x1f')](respondWithResult(_0x41531e,0xc9))['catch'](handleError(_0x41531e,null));};exports[_0x0922('0x1e')]=function(_0x8a698d,_0x5c7248){if(_0x8a698d['body']['id']){delete _0x8a698d['body']['id'];}return db[_0x0922('0x26')]['find']({'where':{'id':_0x8a698d[_0x0922('0x3f')]['id']}})[_0x0922('0x1f')](handleEntityNotFound(_0x5c7248,null))['then'](saveUpdates(_0x8a698d[_0x0922('0x48')],null))['then'](respondWithResult(_0x5c7248,null))['catch'](handleError(_0x5c7248,null));};exports[_0x0922('0x20')]=function(_0x36cda0,_0x2c6dd5){return db[_0x0922('0x26')][_0x0922('0x49')]({'where':{'id':_0x36cda0[_0x0922('0x3f')]['id']}})[_0x0922('0x1f')](handleEntityNotFound(_0x2c6dd5,null))[_0x0922('0x1f')](removeEntity(_0x2c6dd5,null))['catch'](handleError(_0x2c6dd5,null));}; \ No newline at end of file +var _0x62a4=['query','keys','attributes','intersection','fields','length','hasOwnProperty','nolimit','limit','order','sort','filters','pick','filter','where','merge','options','includeAll','include','findAll','rows','show','params','find','create','body','role','user','userProfileId','autoAssociation','catch','html-pdf','eml-format','rimraf','fast-json-patch','request-promise','moment','bluebird','mustache','util','path','to-csv','ejs','crypto','jsforce','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','sendStatus','json','count','offset','status','Content-Range','reject','save','update','destroy','get','Dispositions','UserProfileResource','then','end','error','stack','name','send','index','map','Disposition','rawAttributes','fieldName','type','model'];(function(_0x28915d,_0x34b3b9){var _0x4f7f42=function(_0x2a47c7){while(--_0x2a47c7){_0x28915d['push'](_0x28915d['shift']());}};_0x4f7f42(++_0x34b3b9);}(_0x62a4,0x112));var _0x462a=function(_0x134a1c,_0x23a135){_0x134a1c=_0x134a1c-0x0;var _0x3eb660=_0x62a4[_0x134a1c];return _0x3eb660;};'use strict';var pdf=require(_0x462a('0x0'));var emlformat=require(_0x462a('0x1'));var rimraf=require(_0x462a('0x2'));var zipdir=require('zip-dir');var jsonpatch=require(_0x462a('0x3'));var rp=require(_0x462a('0x4'));var moment=require(_0x462a('0x5'));var BPromise=require(_0x462a('0x6'));var Mustache=require(_0x462a('0x7'));var util=require(_0x462a('0x8'));var path=require(_0x462a('0x9'));var sox=require('sox');var csv=require(_0x462a('0xa'));var ejs=require(_0x462a('0xb'));var fs=require('fs');var _=require('lodash');var squel=require('squel');var crypto=require(_0x462a('0xc'));var jsforce=require(_0x462a('0xd'));var deskjs=require('desk.js');var toCsv=require(_0x462a('0xa'));var querystring=require(_0x462a('0xe'));var Papa=require(_0x462a('0xf'));var Redis=require(_0x462a('0x10'));var authService=require(_0x462a('0x11'));var qs=require(_0x462a('0x12'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require('../../config/license/hardware');var logger=require(_0x462a('0x13'))(_0x462a('0x14'));var utils=require(_0x462a('0x15'));var config=require(_0x462a('0x16'));var db=require(_0x462a('0x17'))['db'];function respondWithStatusCode(_0x8123a0,_0x3af313){_0x3af313=_0x3af313||0xcc;return function(_0x1ecec7){if(_0x1ecec7){return _0x8123a0[_0x462a('0x18')](_0x3af313);}return _0x8123a0['status'](_0x3af313)['end']();};}function respondWithResult(_0x37033b,_0x2be916){_0x2be916=_0x2be916||0xc8;return function(_0x369e28){if(_0x369e28){return _0x37033b['status'](_0x2be916)[_0x462a('0x19')](_0x369e28);}};}function respondWithFilteredResult(_0x5cda38,_0x72caa1){return function(_0xae1579){if(_0xae1579){var _0x4b5112=_0xae1579[_0x462a('0x1a')],_0x57c9b5=_0x72caa1[_0x462a('0x1b')],_0x34b673=_0x72caa1[_0x462a('0x1b')]+_0x72caa1['limit'],_0x1bacf1;if(_0x34b673>=_0x4b5112){_0x34b673=_0x4b5112;_0x1bacf1=0xc8;}else{_0x1bacf1=0xce;}_0x5cda38[_0x462a('0x1c')](_0x1bacf1);return _0x5cda38['set'](_0x462a('0x1d'),_0x57c9b5+'-'+_0x34b673+'/'+_0x4b5112)['json'](_0xae1579);}return null;};}function patchUpdates(_0x2d1cb0){return function(_0x58dfc0){try{jsonpatch['apply'](_0x58dfc0,_0x2d1cb0,!![]);}catch(_0x3176e3){return BPromise[_0x462a('0x1e')](_0x3176e3);}return _0x58dfc0[_0x462a('0x1f')]();};}function saveUpdates(_0x3969de,_0x391825){return function(_0x347974){if(_0x347974){return _0x347974[_0x462a('0x20')](_0x3969de)['then'](function(_0xa44dd6){return _0xa44dd6;});}return null;};}function removeEntity(_0x48fb55,_0x23f20e){return function(_0x2562ac){if(_0x2562ac){return _0x2562ac[_0x462a('0x21')]()['then'](function(){var _0x5e28ff=_0x2562ac[_0x462a('0x22')]({'plain':!![]});var _0x46c9cd=_0x462a('0x23');return db[_0x462a('0x24')]['destroy']({'where':{'type':_0x46c9cd,'resourceId':_0x5e28ff['id']}})[_0x462a('0x25')](function(){return _0x2562ac;});})[_0x462a('0x25')](function(){_0x48fb55['status'](0xcc)[_0x462a('0x26')]();});}};}function handleEntityNotFound(_0x313285,_0x110126){return function(_0x34e124){if(!_0x34e124){_0x313285['sendStatus'](0x194);}return _0x34e124;};}function handleError(_0x1d7373,_0x1cf44d){_0x1cf44d=_0x1cf44d||0x1f4;return function(_0x12f224){logger[_0x462a('0x27')](_0x12f224[_0x462a('0x28')]);if(_0x12f224[_0x462a('0x29')]){delete _0x12f224[_0x462a('0x29')];}_0x1d7373[_0x462a('0x1c')](_0x1cf44d)[_0x462a('0x2a')](_0x12f224);};}exports[_0x462a('0x2b')]=function(_0x59dda6,_0x4876f2){var _0x241b93={},_0x5abc01={},_0x3bfa46={'count':0x0,'rows':[]};var _0x263e5e=_[_0x462a('0x2c')](db[_0x462a('0x2d')][_0x462a('0x2e')],function(_0x48b834){return{'name':_0x48b834[_0x462a('0x2f')],'type':_0x48b834[_0x462a('0x30')]['key']};});_0x5abc01[_0x462a('0x31')]=_[_0x462a('0x2c')](_0x263e5e,_0x462a('0x29'));_0x5abc01[_0x462a('0x32')]=_[_0x462a('0x33')](_0x59dda6['query']);_0x5abc01['filters']=_['intersection'](_0x5abc01[_0x462a('0x31')],_0x5abc01[_0x462a('0x32')]);_0x241b93[_0x462a('0x34')]=_[_0x462a('0x35')](_0x5abc01[_0x462a('0x31')],qs[_0x462a('0x36')](_0x59dda6[_0x462a('0x32')][_0x462a('0x36')]));_0x241b93['attributes']=_0x241b93[_0x462a('0x34')][_0x462a('0x37')]?_0x241b93[_0x462a('0x34')]:_0x5abc01['model'];if(!_0x59dda6[_0x462a('0x32')][_0x462a('0x38')](_0x462a('0x39'))){_0x241b93[_0x462a('0x3a')]=qs[_0x462a('0x3a')](_0x59dda6[_0x462a('0x32')][_0x462a('0x3a')]);_0x241b93[_0x462a('0x1b')]=qs[_0x462a('0x1b')](_0x59dda6[_0x462a('0x32')]['offset']);}_0x241b93[_0x462a('0x3b')]=qs['sort'](_0x59dda6['query'][_0x462a('0x3c')]);_0x241b93['where']=qs[_0x462a('0x3d')](_[_0x462a('0x3e')](_0x59dda6[_0x462a('0x32')],_0x5abc01[_0x462a('0x3d')]),_0x263e5e);if(_0x59dda6[_0x462a('0x32')][_0x462a('0x3f')]){_0x241b93[_0x462a('0x40')]=_[_0x462a('0x41')](_0x241b93[_0x462a('0x40')],{'$or':_['map'](_0x263e5e,function(_0x55080b){if(_0x55080b[_0x462a('0x30')]!=='VIRTUAL'){var _0x3b22ef={};_0x3b22ef[_0x55080b[_0x462a('0x29')]]={'$like':'%'+_0x59dda6[_0x462a('0x32')]['filter']+'%'};return _0x3b22ef;}})});}_0x241b93=_[_0x462a('0x41')]({},_0x241b93,_0x59dda6[_0x462a('0x42')]);var _0x29f82f={'where':_0x241b93['where']};return db[_0x462a('0x2d')]['count'](_0x29f82f)[_0x462a('0x25')](function(_0x2cfe7a){_0x3bfa46[_0x462a('0x1a')]=_0x2cfe7a;if(_0x59dda6[_0x462a('0x32')][_0x462a('0x43')]){_0x241b93[_0x462a('0x44')]=[{'all':!![]}];}return db[_0x462a('0x2d')][_0x462a('0x45')](_0x241b93);})[_0x462a('0x25')](function(_0x20526c){_0x3bfa46[_0x462a('0x46')]=_0x20526c;return _0x3bfa46;})[_0x462a('0x25')](respondWithFilteredResult(_0x4876f2,_0x241b93))['catch'](handleError(_0x4876f2,null));};exports[_0x462a('0x47')]=function(_0x217037,_0x269c30){var _0x5b3912={'raw':!![],'where':{'id':_0x217037[_0x462a('0x48')]['id']}},_0x111f6d={};_0x111f6d[_0x462a('0x31')]=_[_0x462a('0x33')](db[_0x462a('0x2d')][_0x462a('0x2e')]);_0x111f6d[_0x462a('0x32')]=_[_0x462a('0x33')](_0x217037[_0x462a('0x32')]);_0x111f6d[_0x462a('0x3d')]=_['intersection'](_0x111f6d['model'],_0x111f6d[_0x462a('0x32')]);_0x5b3912[_0x462a('0x34')]=_[_0x462a('0x35')](_0x111f6d[_0x462a('0x31')],qs['fields'](_0x217037[_0x462a('0x32')][_0x462a('0x36')]));_0x5b3912[_0x462a('0x34')]=_0x5b3912['attributes'][_0x462a('0x37')]?_0x5b3912[_0x462a('0x34')]:_0x111f6d[_0x462a('0x31')];if(_0x217037[_0x462a('0x32')][_0x462a('0x43')]){_0x5b3912['include']=[{'all':!![]}];}_0x5b3912=_[_0x462a('0x41')]({},_0x5b3912,_0x217037[_0x462a('0x42')]);return db[_0x462a('0x2d')][_0x462a('0x49')](_0x5b3912)[_0x462a('0x25')](handleEntityNotFound(_0x269c30,null))[_0x462a('0x25')](respondWithResult(_0x269c30,null))['catch'](handleError(_0x269c30,null));};exports[_0x462a('0x4a')]=function(_0x3626e5,_0x32704a){return db['Disposition']['create'](_0x3626e5[_0x462a('0x4b')],{})[_0x462a('0x25')](function(_0x1e2caa){var _0x543987=_0x3626e5['user']['get']({'plain':!![]});if(!_0x543987)throw new Error('Unable\x20to\x20retrieve\x20the\x20current\x20user');if(_0x543987[_0x462a('0x4c')]===_0x462a('0x4d')){var _0x25c989=_0x1e2caa['get']({'plain':!![]});var _0x1855c6=_0x462a('0x23');return db['UserProfileSection'][_0x462a('0x49')]({'where':{'name':_0x1855c6,'userProfileId':_0x543987[_0x462a('0x4e')]},'raw':!![]})['then'](function(_0x4a955e){if(_0x4a955e&&_0x4a955e[_0x462a('0x4f')]===0x0){return db[_0x462a('0x24')][_0x462a('0x4a')]({'name':_0x25c989[_0x462a('0x29')],'resourceId':_0x25c989['id'],'type':_0x4a955e['name'],'sectionId':_0x4a955e['id']},{})[_0x462a('0x25')](function(){return _0x1e2caa;});}else{return _0x1e2caa;}})[_0x462a('0x50')](function(_0x37ab03){logger[_0x462a('0x27')]('Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s',_0x37ab03);throw _0x37ab03;});}return _0x1e2caa;})['then'](respondWithResult(_0x32704a,0xc9))[_0x462a('0x50')](handleError(_0x32704a,null));};exports[_0x462a('0x20')]=function(_0x487f0a,_0x59a9fc){if(_0x487f0a['body']['id']){delete _0x487f0a[_0x462a('0x4b')]['id'];}return db[_0x462a('0x2d')][_0x462a('0x49')]({'where':{'id':_0x487f0a[_0x462a('0x48')]['id']}})[_0x462a('0x25')](handleEntityNotFound(_0x59a9fc,null))[_0x462a('0x25')](saveUpdates(_0x487f0a[_0x462a('0x4b')],null))['then'](respondWithResult(_0x59a9fc,null))['catch'](handleError(_0x59a9fc,null));};exports[_0x462a('0x21')]=function(_0x11e7c0,_0x41dbd4){return db[_0x462a('0x2d')][_0x462a('0x49')]({'where':{'id':_0x11e7c0[_0x462a('0x48')]['id']}})[_0x462a('0x25')](handleEntityNotFound(_0x41dbd4,null))['then'](removeEntity(_0x41dbd4,null))[_0x462a('0x50')](handleError(_0x41dbd4,null));}; \ No newline at end of file diff --git a/server/api/disposition/disposition.model.js b/server/api/disposition/disposition.model.js index 2e69e71..ef5fc72 100644 --- a/server/api/disposition/disposition.model.js +++ b/server/api/disposition/disposition.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xc627=['FaxAccountId','name_openchannel','OpenchannelAccountId','name_whatsapp','WhatsappAccountId','util','../../config/logger','api','bluebird','request-promise','path','rimraf','../../config/environment','./disposition.attributes','exports','define','Disposition','tools_dispositions','ListId','name_chat','name','ChatWebsiteId','name_sms','SmsAccountId','name_fax'];(function(_0x547494,_0x57298a){var _0x59d724=function(_0x4325e7){while(--_0x4325e7){_0x547494['push'](_0x547494['shift']());}};_0x59d724(++_0x57298a);}(_0xc627,0x14a));var _0x7c62=function(_0x52d70d,_0x25ae7d){_0x52d70d=_0x52d70d-0x0;var _0x139e0d=_0xc627[_0x52d70d];return _0x139e0d;};'use strict';var _=require('lodash');var util=require(_0x7c62('0x0'));var logger=require(_0x7c62('0x1'))(_0x7c62('0x2'));var moment=require('moment');var BPromise=require(_0x7c62('0x3'));var rp=require(_0x7c62('0x4'));var fs=require('fs');var path=require(_0x7c62('0x5'));var rimraf=require(_0x7c62('0x6'));var config=require(_0x7c62('0x7'));var attributes=require(_0x7c62('0x8'));module[_0x7c62('0x9')]=function(_0x448f4b,_0x25a5c8){return _0x448f4b[_0x7c62('0xa')](_0x7c62('0xb'),attributes,{'tableName':_0x7c62('0xc'),'paranoid':![],'indexes':[{'unique':!![],'name':'name_voice','fields':['name',_0x7c62('0xd')]},{'unique':!![],'name':_0x7c62('0xe'),'fields':[_0x7c62('0xf'),_0x7c62('0x10')]},{'unique':!![],'name':'name_mail','fields':['name','MailAccountId']},{'unique':!![],'name':_0x7c62('0x11'),'fields':['name',_0x7c62('0x12')]},{'unique':!![],'name':_0x7c62('0x13'),'fields':[_0x7c62('0xf'),_0x7c62('0x14')]},{'unique':!![],'name':_0x7c62('0x15'),'fields':[_0x7c62('0xf'),_0x7c62('0x16')]},{'unique':!![],'name':_0x7c62('0x17'),'fields':[_0x7c62('0xf'),_0x7c62('0x18')]}],'timestamps':!![]});}; \ No newline at end of file +var _0x291c=['util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./disposition.attributes','Disposition','tools_dispositions','name_voice','name','name_chat','ChatWebsiteId','name_mail','MailAccountId','name_sms','FaxAccountId','name_openchannel','name_whatsapp','WhatsappAccountId','lodash'];(function(_0x2afbb0,_0x44f16d){var _0x411ff2=function(_0x5edd7e){while(--_0x5edd7e){_0x2afbb0['push'](_0x2afbb0['shift']());}};_0x411ff2(++_0x44f16d);}(_0x291c,0x137));var _0xc291=function(_0x138adb,_0x193fee){_0x138adb=_0x138adb-0x0;var _0x1b27f2=_0x291c[_0x138adb];return _0x1b27f2;};'use strict';var _=require(_0xc291('0x0'));var util=require(_0xc291('0x1'));var logger=require(_0xc291('0x2'))(_0xc291('0x3'));var moment=require(_0xc291('0x4'));var BPromise=require(_0xc291('0x5'));var rp=require(_0xc291('0x6'));var fs=require('fs');var path=require(_0xc291('0x7'));var rimraf=require(_0xc291('0x8'));var config=require(_0xc291('0x9'));var attributes=require(_0xc291('0xa'));module['exports']=function(_0x2c96a8,_0x5f2563){return _0x2c96a8['define'](_0xc291('0xb'),attributes,{'tableName':_0xc291('0xc'),'paranoid':![],'indexes':[{'unique':!![],'name':_0xc291('0xd'),'fields':[_0xc291('0xe'),'ListId']},{'unique':!![],'name':_0xc291('0xf'),'fields':[_0xc291('0xe'),_0xc291('0x10')]},{'unique':!![],'name':_0xc291('0x11'),'fields':[_0xc291('0xe'),_0xc291('0x12')]},{'unique':!![],'name':_0xc291('0x13'),'fields':[_0xc291('0xe'),'SmsAccountId']},{'unique':!![],'name':'name_fax','fields':['name',_0xc291('0x14')]},{'unique':!![],'name':_0xc291('0x15'),'fields':[_0xc291('0xe'),'OpenchannelAccountId']},{'unique':!![],'name':_0xc291('0x16'),'fields':['name',_0xc291('0x17')]}],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/disposition/disposition.rpc.js b/server/api/disposition/disposition.rpc.js index 47d4d1e..ace80e2 100644 --- a/server/api/disposition/disposition.rpc.js +++ b/server/api/disposition/disposition.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xc924=['ioredis','../../mysqldb','../../config/utils','../../config/logger','rpc','jayson/promise','client','request','info','Disposition,\x20%s,\x20%s','debug','Disposition,\x20%s,\x20%s,\x20%s','error','code','message','request\x20sent','catch','lodash','util','moment','bluebird','randomstring'];(function(_0x3c7f09,_0x3e23e9){var _0x391397=function(_0x2b8ff2){while(--_0x2b8ff2){_0x3c7f09['push'](_0x3c7f09['shift']());}};_0x391397(++_0x3e23e9);}(_0xc924,0x1df));var _0x4c92=function(_0x3c3306,_0x312d67){_0x3c3306=_0x3c3306-0x0;var _0x1c484e=_0xc924[_0x3c3306];return _0x1c484e;};'use strict';var _=require(_0x4c92('0x0'));var util=require(_0x4c92('0x1'));var moment=require(_0x4c92('0x2'));var BPromise=require(_0x4c92('0x3'));var rs=require(_0x4c92('0x4'));var fs=require('fs');var Redis=require(_0x4c92('0x5'));var db=require(_0x4c92('0x6'))['db'];var utils=require(_0x4c92('0x7'));var logger=require(_0x4c92('0x8'))(_0x4c92('0x9'));var config=require('../../config/environment');var jayson=require(_0x4c92('0xa'));var client=jayson[_0x4c92('0xb')]['http']({'port':0x232a});function respondWithRpcPromise(_0x3e3a12,_0x1a5a34,_0x213060){return new BPromise(function(_0x3b4cc3,_0x4557fa){return client[_0x4c92('0xc')](_0x3e3a12,_0x213060)['then'](function(_0x16192a){logger[_0x4c92('0xd')](_0x4c92('0xe'),_0x1a5a34,'request\x20sent');logger[_0x4c92('0xf')](_0x4c92('0x10'),_0x1a5a34,'request\x20sent',JSON['stringify'](_0x16192a));if(_0x16192a[_0x4c92('0x11')]){if(_0x16192a['error'][_0x4c92('0x12')]===0x1f4){logger[_0x4c92('0x11')](_0x4c92('0xe'),_0x1a5a34,_0x16192a[_0x4c92('0x11')][_0x4c92('0x13')]);return _0x4557fa(_0x16192a[_0x4c92('0x11')][_0x4c92('0x13')]);}logger[_0x4c92('0x11')](_0x4c92('0xe'),_0x1a5a34,_0x16192a[_0x4c92('0x11')]['message']);return _0x3b4cc3(_0x16192a[_0x4c92('0x11')][_0x4c92('0x13')]);}else{logger[_0x4c92('0xd')](_0x4c92('0xe'),_0x1a5a34,_0x4c92('0x14'));_0x3b4cc3(_0x16192a['result']['message']);}})[_0x4c92('0x15')](function(_0x45f584){logger[_0x4c92('0x11')]('Disposition,\x20%s,\x20%s',_0x1a5a34,_0x45f584);_0x4557fa(_0x45f584);});});} \ No newline at end of file +var _0x9262=['result','catch','util','moment','bluebird','../../config/utils','rpc','../../config/environment','client','http','then','info','Disposition,\x20%s,\x20%s','request\x20sent','debug','Disposition,\x20%s,\x20%s,\x20%s','stringify','code','error','message'];(function(_0x316c42,_0x3391f0){var _0x2b38f7=function(_0x38d2cf){while(--_0x38d2cf){_0x316c42['push'](_0x316c42['shift']());}};_0x2b38f7(++_0x3391f0);}(_0x9262,0xca));var _0x2926=function(_0x16d168,_0x3ad88a){_0x16d168=_0x16d168-0x0;var _0x437db5=_0x9262[_0x16d168];return _0x437db5;};'use strict';var _=require('lodash');var util=require(_0x2926('0x0'));var moment=require(_0x2926('0x1'));var BPromise=require(_0x2926('0x2'));var rs=require('randomstring');var fs=require('fs');var Redis=require('ioredis');var db=require('../../mysqldb')['db'];var utils=require(_0x2926('0x3'));var logger=require('../../config/logger')(_0x2926('0x4'));var config=require(_0x2926('0x5'));var jayson=require('jayson/promise');var client=jayson[_0x2926('0x6')][_0x2926('0x7')]({'port':0x232a});function respondWithRpcPromise(_0x37ba4d,_0x5076af,_0x408c05){return new BPromise(function(_0x3c8c76,_0x147003){return client['request'](_0x37ba4d,_0x408c05)[_0x2926('0x8')](function(_0x55dae2){logger[_0x2926('0x9')](_0x2926('0xa'),_0x5076af,_0x2926('0xb'));logger[_0x2926('0xc')](_0x2926('0xd'),_0x5076af,_0x2926('0xb'),JSON[_0x2926('0xe')](_0x55dae2));if(_0x55dae2['error']){if(_0x55dae2['error'][_0x2926('0xf')]===0x1f4){logger[_0x2926('0x10')](_0x2926('0xa'),_0x5076af,_0x55dae2[_0x2926('0x10')][_0x2926('0x11')]);return _0x147003(_0x55dae2[_0x2926('0x10')]['message']);}logger[_0x2926('0x10')](_0x2926('0xa'),_0x5076af,_0x55dae2[_0x2926('0x10')][_0x2926('0x11')]);return _0x3c8c76(_0x55dae2[_0x2926('0x10')][_0x2926('0x11')]);}else{logger['info'](_0x2926('0xa'),_0x5076af,_0x2926('0xb'));_0x3c8c76(_0x55dae2[_0x2926('0x12')][_0x2926('0x11')]);}})[_0x2926('0x13')](function(_0x7472ed){logger['error'](_0x2926('0xa'),_0x5076af,_0x7472ed);_0x147003(_0x7472ed);});});} \ No newline at end of file diff --git a/server/api/disposition/index.js b/server/api/disposition/index.js index 83fe639..5dc3c8c 100644 --- a/server/api/disposition/index.js +++ b/server/api/disposition/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x3fce=['util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','index','get','isAuthenticated','post','create','put','/:id','update','destroy','exports'];(function(_0x4e676e,_0x2a7c6d){var _0x336a3c=function(_0x4767c4){while(--_0x4767c4){_0x4e676e['push'](_0x4e676e['shift']());}};_0x336a3c(++_0x2a7c6d);}(_0x3fce,0x121));var _0xe3fc=function(_0x2a55f8,_0x540ac4){_0x2a55f8=_0x2a55f8-0x0;var _0x245efd=_0x3fce[_0x2a55f8];return _0x245efd;};'use strict';var multer=require('multer');var util=require(_0xe3fc('0x0'));var path=require(_0xe3fc('0x1'));var timeout=require(_0xe3fc('0x2'));var express=require(_0xe3fc('0x3'));var router=express[_0xe3fc('0x4')]();var auth=require(_0xe3fc('0x5'));var interaction=require(_0xe3fc('0x6'));var config=require('../../config/environment');var controller=require('./disposition.controller');router['get']('/',auth['isAuthenticated'](),controller[_0xe3fc('0x7')]);router[_0xe3fc('0x8')]('/:id',auth[_0xe3fc('0x9')](),controller['show']);router[_0xe3fc('0xa')]('/',auth['isAuthenticated'](),controller[_0xe3fc('0xb')]);router[_0xe3fc('0xc')](_0xe3fc('0xd'),auth[_0xe3fc('0x9')](),controller[_0xe3fc('0xe')]);router['delete']('/:id',auth[_0xe3fc('0x9')](),controller[_0xe3fc('0xf')]);module[_0xe3fc('0x10')]=router; \ No newline at end of file +var _0x02ce=['isAuthenticated','index','/:id','post','create','put','update','delete','destroy','exports','multer','util','path','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./disposition.controller','get'];(function(_0x3a6efd,_0x2a5102){var _0x487b9a=function(_0x104f89){while(--_0x104f89){_0x3a6efd['push'](_0x3a6efd['shift']());}};_0x487b9a(++_0x2a5102);}(_0x02ce,0x1ac));var _0xe02c=function(_0x23b410,_0x735fd1){_0x23b410=_0x23b410-0x0;var _0x1cda20=_0x02ce[_0x23b410];return _0x1cda20;};'use strict';var multer=require(_0xe02c('0x0'));var util=require(_0xe02c('0x1'));var path=require(_0xe02c('0x2'));var timeout=require('connect-timeout');var express=require(_0xe02c('0x3'));var router=express['Router']();var auth=require(_0xe02c('0x4'));var interaction=require(_0xe02c('0x5'));var config=require(_0xe02c('0x6'));var controller=require(_0xe02c('0x7'));router[_0xe02c('0x8')]('/',auth[_0xe02c('0x9')](),controller[_0xe02c('0xa')]);router[_0xe02c('0x8')](_0xe02c('0xb'),auth['isAuthenticated'](),controller['show']);router[_0xe02c('0xc')]('/',auth[_0xe02c('0x9')](),controller[_0xe02c('0xd')]);router[_0xe02c('0xe')](_0xe02c('0xb'),auth[_0xe02c('0x9')](),controller[_0xe02c('0xf')]);router[_0xe02c('0x10')](_0xe02c('0xb'),auth[_0xe02c('0x9')](),controller[_0xe02c('0x11')]);module[_0xe02c('0x12')]=router; \ No newline at end of file diff --git a/server/api/faxAccount/faxAccount.attributes.js b/server/api/faxAccount/faxAccount.attributes.js index bbaaaa6..536715b 100644 --- a/server/api/faxAccount/faxAccount.attributes.js +++ b/server/api/faxAccount/faxAccount.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x2ee9=['INTEGER','Status\x20to\x20put\x20when\x20mandatory\x20disposition\x20is\x20enabled','setDataValue','mandatoryDispositionPauseId','mandatoryDisposition','exports','STRING','ENUM','yes','xCALLY\x20Motion\x20Fax','4800','7200','12000','14400','SIP','IAX','DADHI','KHOMP','TEXT','Account:\x20{{account.name}}
{{#queue}}Queue:\x20{{queue.name}}
{{/queue}}From\x20:\x20{{from}}','BOOLEAN'];(function(_0x4154a6,_0x2c0b8e){var _0x3b2786=function(_0x2f5936){while(--_0x2f5936){_0x4154a6['push'](_0x4154a6['shift']());}};_0x3b2786(++_0x2c0b8e);}(_0x2ee9,0x1e8));var _0x92ee=function(_0x26c83a,_0x2ac9ed){_0x26c83a=_0x26c83a-0x0;var _0x36cd76=_0x2ee9[_0x26c83a];return _0x36cd76;};'use strict';var Sequelize=require('sequelize');module[_0x92ee('0x0')]={'name':{'type':Sequelize[_0x92ee('0x1')],'allowNull':![],'validate':{'notEmpty':!![]}},'description':{'type':Sequelize[_0x92ee('0x1')]},'ecm':{'type':Sequelize[_0x92ee('0x2')](_0x92ee('0x3'),'no'),'defaultValue':_0x92ee('0x3')},'headerinfo':{'type':Sequelize[_0x92ee('0x1')],'defaultValue':_0x92ee('0x4')},'localstationid':{'type':Sequelize['STRING'],'unique':'localstationid'},'minrate':{'type':Sequelize['ENUM']('2400',_0x92ee('0x5'),_0x92ee('0x6'),'9600',_0x92ee('0x7'),_0x92ee('0x8')),'defaultValue':_0x92ee('0x5')},'maxrate':{'type':Sequelize[_0x92ee('0x2')]('2400','4800','7200','9600',_0x92ee('0x7'),_0x92ee('0x8')),'defaultValue':_0x92ee('0x8')},'modem':{'type':Sequelize[_0x92ee('0x1')],'defaultValue':'v17,v27,v29'},'gateway':{'type':Sequelize['STRING'],'defaultValue':'no','validate':{'is':/^(?:yes|no|[0-9]+)$/}},'faxdetect':{'type':Sequelize['STRING'],'defaultValue':'no','validate':{'is':/^(?:yes|no|t38|cng|[0-9]+)$/}},'t38timeout':{'type':Sequelize['INTEGER'],'defaultValue':0x1388,'validate':{'min':0x3e8}},'tech':{'type':Sequelize[_0x92ee('0x2')](_0x92ee('0x9'),_0x92ee('0xa'),_0x92ee('0xb'),_0x92ee('0xc')),'defaultValue':_0x92ee('0x9')},'key':{'type':Sequelize[_0x92ee('0x1')],'allowNull':![]},'notificationTemplate':{'type':Sequelize[_0x92ee('0xd')],'defaultValue':function(){return _0x92ee('0xe');}},'notificationSound':{'type':Sequelize[_0x92ee('0xf')],'defaultValue':!![]},'notificationShake':{'type':Sequelize[_0x92ee('0xf')],'defaultValue':![]},'waitForTheAssignedAgent':{'type':Sequelize[_0x92ee('0x10')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'queueTransfer':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'queueTransferTimeout':{'type':Sequelize[_0x92ee('0x10')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'agentTransfer':{'type':Sequelize[_0x92ee('0xf')],'defaultValue':![]},'agentTransferTimeout':{'type':Sequelize[_0x92ee('0x10')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'mandatoryDispositionPauseId':{'type':Sequelize[_0x92ee('0x10')],'allowNull':!![],'defaultValue':null,'comment':_0x92ee('0x11')},'mandatoryDisposition':{'type':Sequelize['BOOLEAN'],'defaultValue':![],'comment':'Enabled/disables\x20mandatory\x20dispo\x20on\x20a\x20queue','set':function(_0x4cd275){if(!_0x4cd275)this[_0x92ee('0x12')](_0x92ee('0x13'),null);this[_0x92ee('0x12')](_0x92ee('0x14'),_0x4cd275);}}}; \ No newline at end of file +var _0x1c20=['12000','14400','2400','v17,v27,v29','SIP','IAX','DADHI','TEXT','Account:\x20{{account.name}}
{{#queue}}Queue:\x20{{queue.name}}
{{/queue}}From\x20:\x20{{from}}','BOOLEAN','INTEGER','Status\x20to\x20put\x20when\x20mandatory\x20disposition\x20is\x20enabled','setDataValue','mandatoryDispositionPauseId','mandatoryDisposition','exports','STRING','ENUM','yes','xCALLY\x20Motion\x20Fax','localstationid','4800','7200','9600'];(function(_0x4565bf,_0x5ad9d6){var _0x5610ba=function(_0x170988){while(--_0x170988){_0x4565bf['push'](_0x4565bf['shift']());}};_0x5610ba(++_0x5ad9d6);}(_0x1c20,0x177));var _0x01c2=function(_0x4fbb15,_0x21be0c){_0x4fbb15=_0x4fbb15-0x0;var _0x436338=_0x1c20[_0x4fbb15];return _0x436338;};'use strict';var Sequelize=require('sequelize');module[_0x01c2('0x0')]={'name':{'type':Sequelize[_0x01c2('0x1')],'allowNull':![],'validate':{'notEmpty':!![]}},'description':{'type':Sequelize['STRING']},'ecm':{'type':Sequelize[_0x01c2('0x2')](_0x01c2('0x3'),'no'),'defaultValue':_0x01c2('0x3')},'headerinfo':{'type':Sequelize[_0x01c2('0x1')],'defaultValue':_0x01c2('0x4')},'localstationid':{'type':Sequelize[_0x01c2('0x1')],'unique':_0x01c2('0x5')},'minrate':{'type':Sequelize['ENUM']('2400',_0x01c2('0x6'),_0x01c2('0x7'),_0x01c2('0x8'),_0x01c2('0x9'),_0x01c2('0xa')),'defaultValue':_0x01c2('0x6')},'maxrate':{'type':Sequelize[_0x01c2('0x2')](_0x01c2('0xb'),_0x01c2('0x6'),'7200','9600',_0x01c2('0x9'),_0x01c2('0xa')),'defaultValue':_0x01c2('0xa')},'modem':{'type':Sequelize[_0x01c2('0x1')],'defaultValue':_0x01c2('0xc')},'gateway':{'type':Sequelize['STRING'],'defaultValue':'no','validate':{'is':/^(?:yes|no|[0-9]+)$/}},'faxdetect':{'type':Sequelize['STRING'],'defaultValue':'no','validate':{'is':/^(?:yes|no|t38|cng|[0-9]+)$/}},'t38timeout':{'type':Sequelize['INTEGER'],'defaultValue':0x1388,'validate':{'min':0x3e8}},'tech':{'type':Sequelize[_0x01c2('0x2')](_0x01c2('0xd'),_0x01c2('0xe'),_0x01c2('0xf'),'KHOMP'),'defaultValue':'SIP'},'key':{'type':Sequelize[_0x01c2('0x1')],'allowNull':![]},'notificationTemplate':{'type':Sequelize[_0x01c2('0x10')],'defaultValue':function(){return _0x01c2('0x11');}},'notificationSound':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'notificationShake':{'type':Sequelize[_0x01c2('0x12')],'defaultValue':![]},'waitForTheAssignedAgent':{'type':Sequelize[_0x01c2('0x13')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'queueTransfer':{'type':Sequelize[_0x01c2('0x12')],'defaultValue':![]},'queueTransferTimeout':{'type':Sequelize[_0x01c2('0x13')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'agentTransfer':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'agentTransferTimeout':{'type':Sequelize[_0x01c2('0x13')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'mandatoryDispositionPauseId':{'type':Sequelize['INTEGER'],'allowNull':!![],'defaultValue':null,'comment':_0x01c2('0x14')},'mandatoryDisposition':{'type':Sequelize[_0x01c2('0x12')],'defaultValue':![],'comment':'Enabled/disables\x20mandatory\x20dispo\x20on\x20a\x20queue','set':function(_0x3b5c94){if(!_0x3b5c94)this[_0x01c2('0x15')](_0x01c2('0x16'),null);this[_0x01c2('0x15')](_0x01c2('0x17'),_0x3b5c94);}}}; \ No newline at end of file diff --git a/server/api/faxAccount/faxAccount.controller.js b/server/api/faxAccount/faxAccount.controller.js index 83c33d7..20ee3de 100644 --- a/server/api/faxAccount/faxAccount.controller.js +++ b/server/api/faxAccount/faxAccount.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x8478=['updatedAt','findById','getMessages','FaxMessage','$gte','split','format','CmList','List','DESC','attachments','join','root','server/files/attachments','basename','CheckAfterSend','isNil','from','\x22%s\x22\x20<%s>','Contacts','List\x20not\x20found','Send\x20Fax\x20failed','out','filename','Messages','Contact\x20not\x20found','spread','dataValues','SendFax','SendFaxRpc,\x20%s','addAgents','emit','removeAgents','userFaxAccount:remove','getAgents','User','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','util','path','sox','to-csv','ejs','squel','crypto','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','defaults','redis','localhost','socket.io-emitter','./faxAccount.socket','jayson/promise','client','http','test','Sequelize','ValidationError','The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.','request','then','info','FaxAccount,\x20%s,\x20%s','request\x20sent','code','error','message','result','sendStatus','end','json','count','offset','status','Content-Range','reject','save','update','destroy','get','FaxAccounts','UserProfileResource','stack','name','send','index','Pause','map','FaxAccount','fieldName','type','key','model','query','keys','filters','intersection','attributes','fields','length','nolimit','limit','order','sort','where','filter','merge','VIRTUAL','options','includeAll','include','catch','show','params','mandatoryDispositionPause','rawAttributes','find','create','body','user','role','userProfileId','autoAssociation','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','addDisposition','Disposition','getDispositions','findOne','hasOwnProperty','pick','findAll','rows','removeDispositions','ids','addAnswer','getAnswers','CannedAnswer','removeAnswers','addInteraction','FaxInteraction','getInteractions','CmContact','Contact','internal','Tag','Tags','color','tag','addApplications','sequelize','FaxApplication','FaxAccountId','bulkCreate','getApplications','context','app','Fax\x20Extension','priority','appdata','push','CDR(type)=inbound-fax','Set','ecm','gateway','headerinfo','minrate','modem','t38timeout','FAXOPT(','Wait','/var/opt/motion2/server/files/attachments/fax-${CALLERID(num)}-${CUT(UNIQUEID,.,1)}-${CUT(UNIQUEID,.,2)}-${STRFTIME(,,%C%y%m%d%H%M%S)}-rx.tif,d','ReceiveFax','addAccountApplications','VoiceExtension','updateAccountApplications','transaction','omit','tech'];(function(_0x443446,_0x464577){var _0x15cd8a=function(_0x5bb156){while(--_0x5bb156){_0x443446['push'](_0x443446['shift']());}};_0x15cd8a(++_0x464577);}(_0x8478,0xe7));var _0x8847=function(_0x2c91e9,_0x2fb965){_0x2c91e9=_0x2c91e9-0x0;var _0x13f0ff=_0x8478[_0x2c91e9];return _0x13f0ff;};'use strict';var pdf=require(_0x8847('0x0'));var emlformat=require(_0x8847('0x1'));var rimraf=require(_0x8847('0x2'));var zipdir=require(_0x8847('0x3'));var jsonpatch=require(_0x8847('0x4'));var rp=require(_0x8847('0x5'));var moment=require(_0x8847('0x6'));var BPromise=require(_0x8847('0x7'));var Mustache=require('mustache');var util=require(_0x8847('0x8'));var path=require(_0x8847('0x9'));var sox=require(_0x8847('0xa'));var csv=require(_0x8847('0xb'));var ejs=require(_0x8847('0xc'));var fs=require('fs');var _=require('lodash');var squel=require(_0x8847('0xd'));var crypto=require(_0x8847('0xe'));var jsforce=require('jsforce');var deskjs=require(_0x8847('0xf'));var toCsv=require(_0x8847('0xb'));var querystring=require(_0x8847('0x10'));var Papa=require(_0x8847('0x11'));var Redis=require(_0x8847('0x12'));var authService=require(_0x8847('0x13'));var qs=require(_0x8847('0x14'));var as=require(_0x8847('0x15'));var hardwareService=require(_0x8847('0x16'));var logger=require(_0x8847('0x17'))(_0x8847('0x18'));var utils=require(_0x8847('0x19'));var config=require(_0x8847('0x1a'));var db=require(_0x8847('0x1b'))['db'];config['redis']=_[_0x8847('0x1c')](config[_0x8847('0x1d')],{'host':_0x8847('0x1e'),'port':0x18eb});var socket=require(_0x8847('0x1f'))(new Redis(config[_0x8847('0x1d')]));require(_0x8847('0x20'))['register'](socket);var jayson=require(_0x8847('0x21'));var client=jayson[_0x8847('0x22')]['http']({'port':0x232c});var client9002=jayson[_0x8847('0x22')][_0x8847('0x23')]({'port':0x232a});function checkPasswordPattern(_0x2cf1d2,_0x38182c,_0x4bb63e){if(_0x4bb63e){var _0x35b882=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0x35b882[_0x8847('0x24')](_0x38182c)){return _0x2cf1d2;}else{throw new db[(_0x8847('0x25'))][(_0x8847('0x26'))](_0x8847('0x27'));}}else{return _0x2cf1d2;}}function respondWithRpcPromise(_0x3e45c8,_0x1d1ecd,_0x5117c6,_0x5dce27){return new BPromise(function(_0x494268,_0x44aea0){var _0x5a1bba=_0x5dce27||client;return _0x5a1bba[_0x8847('0x28')](_0x3e45c8,_0x5117c6)[_0x8847('0x29')](function(_0x577aa9){logger[_0x8847('0x2a')](_0x8847('0x2b'),_0x1d1ecd,_0x8847('0x2c'));logger['debug']('FaxAccount,\x20%s,\x20%s,\x20%s',_0x1d1ecd,_0x8847('0x2c'),JSON['stringify'](_0x577aa9));if(_0x577aa9['error']){if(_0x577aa9['error'][_0x8847('0x2d')]===0x1f4){logger[_0x8847('0x2e')](_0x8847('0x2b'),_0x1d1ecd,_0x577aa9[_0x8847('0x2e')][_0x8847('0x2f')]);return _0x44aea0(_0x577aa9['error'][_0x8847('0x2f')]);}logger['error']('FaxAccount,\x20%s,\x20%s',_0x1d1ecd,_0x577aa9[_0x8847('0x2e')][_0x8847('0x2f')]);return _0x494268(_0x577aa9[_0x8847('0x2e')][_0x8847('0x2f')]);}else{logger[_0x8847('0x2a')](_0x8847('0x2b'),_0x1d1ecd,_0x8847('0x2c'));_0x494268(_0x577aa9[_0x8847('0x30')]['message']);}})['catch'](function(_0x517806){logger[_0x8847('0x2e')](_0x8847('0x2b'),_0x1d1ecd,_0x517806);_0x44aea0(_0x517806);});});}function respondWithStatusCode(_0x533526,_0x52a5df){_0x52a5df=_0x52a5df||0xcc;return function(_0x2579f1){if(_0x2579f1){return _0x533526[_0x8847('0x31')](_0x52a5df);}return _0x533526['status'](_0x52a5df)[_0x8847('0x32')]();};}function respondWithResult(_0x463cf1,_0x5818be){_0x5818be=_0x5818be||0xc8;return function(_0x449b78){if(_0x449b78){return _0x463cf1['status'](_0x5818be)[_0x8847('0x33')](_0x449b78);}};}function respondWithFilteredResult(_0x50e3c0,_0x54b8b9){return function(_0x2c6137){if(_0x2c6137){var _0x3fd914=_0x2c6137[_0x8847('0x34')],_0x19afb1=_0x54b8b9[_0x8847('0x35')],_0x21aac7=_0x54b8b9['offset']+_0x54b8b9['limit'],_0x18b9e1;if(_0x21aac7>=_0x3fd914){_0x21aac7=_0x3fd914;_0x18b9e1=0xc8;}else{_0x18b9e1=0xce;}_0x50e3c0[_0x8847('0x36')](_0x18b9e1);return _0x50e3c0['set'](_0x8847('0x37'),_0x19afb1+'-'+_0x21aac7+'/'+_0x3fd914)[_0x8847('0x33')](_0x2c6137);}return null;};}function patchUpdates(_0x52b36d){return function(_0x240b22){try{jsonpatch['apply'](_0x240b22,_0x52b36d,!![]);}catch(_0x201b28){return BPromise[_0x8847('0x38')](_0x201b28);}return _0x240b22[_0x8847('0x39')]();};}function saveUpdates(_0x3b3190,_0x1a9f8e){return function(_0x4f09f8){if(_0x4f09f8){return _0x4f09f8[_0x8847('0x3a')](_0x3b3190)[_0x8847('0x29')](function(_0x2eb440){return _0x2eb440;});}return null;};}function removeEntity(_0x1a7a69,_0x2398cc){return function(_0x50ee4f){if(_0x50ee4f){return _0x50ee4f[_0x8847('0x3b')]()[_0x8847('0x29')](function(){var _0x1f614c=_0x50ee4f[_0x8847('0x3c')]({'plain':!![]});var _0x1ab34b=_0x8847('0x3d');return db[_0x8847('0x3e')]['destroy']({'where':{'type':_0x1ab34b,'resourceId':_0x1f614c['id']}})['then'](function(){return _0x50ee4f;});})[_0x8847('0x29')](function(){_0x1a7a69['status'](0xcc)['end']();});}};}function handleEntityNotFound(_0x21daaf,_0x4da61e){return function(_0x5182b3){if(!_0x5182b3){_0x21daaf[_0x8847('0x31')](0x194);}return _0x5182b3;};}function handleError(_0x2454bb,_0xebec19){_0xebec19=_0xebec19||0x1f4;return function(_0x386580){logger[_0x8847('0x2e')](_0x386580[_0x8847('0x3f')]);if(_0x386580[_0x8847('0x40')]){delete _0x386580[_0x8847('0x40')];}_0x2454bb[_0x8847('0x36')](_0xebec19)[_0x8847('0x41')](_0x386580);};}exports[_0x8847('0x42')]=function(_0x15d9c3,_0x11144c){var _0x41cb10={'include':[{'model':db[_0x8847('0x43')],'as':'mandatoryDispositionPause'}]},_0x3f22b8={},_0x4ec95c={'count':0x0,'rows':[]};var _0x1b0655=_[_0x8847('0x44')](db[_0x8847('0x45')]['rawAttributes'],function(_0x1dec5d){return{'name':_0x1dec5d[_0x8847('0x46')],'type':_0x1dec5d[_0x8847('0x47')][_0x8847('0x48')]};});_0x3f22b8[_0x8847('0x49')]=_['map'](_0x1b0655,_0x8847('0x40'));_0x3f22b8[_0x8847('0x4a')]=_[_0x8847('0x4b')](_0x15d9c3[_0x8847('0x4a')]);_0x3f22b8[_0x8847('0x4c')]=_[_0x8847('0x4d')](_0x3f22b8['model'],_0x3f22b8[_0x8847('0x4a')]);_0x41cb10[_0x8847('0x4e')]=_[_0x8847('0x4d')](_0x3f22b8['model'],qs[_0x8847('0x4f')](_0x15d9c3[_0x8847('0x4a')][_0x8847('0x4f')]));_0x41cb10['attributes']=_0x41cb10[_0x8847('0x4e')][_0x8847('0x50')]?_0x41cb10[_0x8847('0x4e')]:_0x3f22b8[_0x8847('0x49')];if(!_0x15d9c3[_0x8847('0x4a')]['hasOwnProperty'](_0x8847('0x51'))){_0x41cb10[_0x8847('0x52')]=qs[_0x8847('0x52')](_0x15d9c3[_0x8847('0x4a')][_0x8847('0x52')]);_0x41cb10[_0x8847('0x35')]=qs['offset'](_0x15d9c3[_0x8847('0x4a')][_0x8847('0x35')]);}_0x41cb10[_0x8847('0x53')]=qs[_0x8847('0x54')](_0x15d9c3[_0x8847('0x4a')][_0x8847('0x54')]);_0x41cb10[_0x8847('0x55')]=qs['filters'](_['pick'](_0x15d9c3[_0x8847('0x4a')],_0x3f22b8[_0x8847('0x4c')]),_0x1b0655);if(_0x15d9c3[_0x8847('0x4a')][_0x8847('0x56')]){_0x41cb10[_0x8847('0x55')]=_[_0x8847('0x57')](_0x41cb10['where'],{'$or':_[_0x8847('0x44')](_0x1b0655,function(_0x3ab0e6){if(_0x3ab0e6[_0x8847('0x47')]!==_0x8847('0x58')){var _0x4a229e={};_0x4a229e[_0x3ab0e6[_0x8847('0x40')]]={'$like':'%'+_0x15d9c3[_0x8847('0x4a')][_0x8847('0x56')]+'%'};return _0x4a229e;}})});}_0x41cb10=_[_0x8847('0x57')]({},_0x41cb10,_0x15d9c3[_0x8847('0x59')]);var _0x3cad52={'where':_0x41cb10[_0x8847('0x55')]};return db[_0x8847('0x45')][_0x8847('0x34')](_0x3cad52)[_0x8847('0x29')](function(_0x5cac78){_0x4ec95c[_0x8847('0x34')]=_0x5cac78;if(_0x15d9c3['query'][_0x8847('0x5a')]){_0x41cb10[_0x8847('0x5b')]=[{'all':!![]}];}return db['FaxAccount']['findAll'](_0x41cb10);})[_0x8847('0x29')](function(_0x51ee8b){_0x4ec95c['rows']=_0x51ee8b;return _0x4ec95c;})['then'](respondWithFilteredResult(_0x11144c,_0x41cb10))[_0x8847('0x5c')](handleError(_0x11144c,null));};exports[_0x8847('0x5d')]=function(_0x2fef2d,_0x1487c6){var _0x4a2127={'raw':![],'where':{'id':_0x2fef2d[_0x8847('0x5e')]['id']},'include':[{'model':db[_0x8847('0x43')],'as':_0x8847('0x5f')}]},_0x445bf3={};_0x445bf3[_0x8847('0x49')]=_[_0x8847('0x4b')](db[_0x8847('0x45')][_0x8847('0x60')]);_0x445bf3[_0x8847('0x4a')]=_['keys'](_0x2fef2d['query']);_0x445bf3[_0x8847('0x4c')]=_[_0x8847('0x4d')](_0x445bf3[_0x8847('0x49')],_0x445bf3['query']);_0x4a2127['attributes']=_[_0x8847('0x4d')](_0x445bf3[_0x8847('0x49')],qs['fields'](_0x2fef2d[_0x8847('0x4a')]['fields']));_0x4a2127[_0x8847('0x4e')]=_0x4a2127[_0x8847('0x4e')][_0x8847('0x50')]?_0x4a2127['attributes']:_0x445bf3[_0x8847('0x49')];if(_0x2fef2d['query'][_0x8847('0x5a')]){_0x4a2127[_0x8847('0x5b')]=[{'all':!![]}];}_0x4a2127=_[_0x8847('0x57')]({},_0x4a2127,_0x2fef2d[_0x8847('0x59')]);return db[_0x8847('0x45')][_0x8847('0x61')](_0x4a2127)[_0x8847('0x29')](handleEntityNotFound(_0x1487c6,null))['then'](respondWithResult(_0x1487c6,null))['catch'](handleError(_0x1487c6,null));};exports[_0x8847('0x62')]=function(_0x42e3be,_0x152354){return db[_0x8847('0x45')]['create'](_0x42e3be[_0x8847('0x63')],{})[_0x8847('0x29')](function(_0xa4e32b){var _0x207eb2=_0x42e3be[_0x8847('0x64')]['get']({'plain':!![]});if(!_0x207eb2)throw new Error('Unable\x20to\x20retrieve\x20the\x20current\x20user');if(_0x207eb2[_0x8847('0x65')]===_0x8847('0x64')){var _0x1189f3=_0xa4e32b['get']({'plain':!![]});var _0x6c8e56=_0x8847('0x3d');return db['UserProfileSection'][_0x8847('0x61')]({'where':{'name':_0x6c8e56,'userProfileId':_0x207eb2[_0x8847('0x66')]},'raw':!![]})['then'](function(_0x462e46){if(_0x462e46&&_0x462e46[_0x8847('0x67')]===0x0){return db['UserProfileResource']['create']({'name':_0x1189f3[_0x8847('0x40')],'resourceId':_0x1189f3['id'],'type':_0x462e46[_0x8847('0x40')],'sectionId':_0x462e46['id']},{})[_0x8847('0x29')](function(){return _0xa4e32b;});}else{return _0xa4e32b;}})[_0x8847('0x5c')](function(_0x4ef15c){logger[_0x8847('0x2e')](_0x8847('0x68'),_0x4ef15c);throw _0x4ef15c;});}return _0xa4e32b;})[_0x8847('0x29')](respondWithResult(_0x152354,0xc9))[_0x8847('0x5c')](handleError(_0x152354,null));};exports['update']=function(_0x1ffba2,_0x1b70ca){if(_0x1ffba2[_0x8847('0x63')]['id']){delete _0x1ffba2[_0x8847('0x63')]['id'];}return db[_0x8847('0x45')]['find']({'where':{'id':_0x1ffba2[_0x8847('0x5e')]['id']},'include':[{'model':db['Pause'],'as':_0x8847('0x5f')}]})[_0x8847('0x29')](handleEntityNotFound(_0x1b70ca,null))[_0x8847('0x29')](saveUpdates(_0x1ffba2['body'],null))[_0x8847('0x29')](respondWithResult(_0x1b70ca,null))[_0x8847('0x5c')](handleError(_0x1b70ca,null));};exports[_0x8847('0x3b')]=function(_0x52a689,_0x24c527){return db['FaxAccount']['find']({'where':{'id':_0x52a689[_0x8847('0x5e')]['id']}})['then'](handleEntityNotFound(_0x24c527,null))[_0x8847('0x29')](removeEntity(_0x24c527,null))[_0x8847('0x5c')](handleError(_0x24c527,null));};exports['describe']=function(_0x1c9dee,_0x2326f5){return db[_0x8847('0x45')]['describe']()[_0x8847('0x29')](respondWithResult(_0x2326f5,null))[_0x8847('0x5c')](handleError(_0x2326f5,null));};exports[_0x8847('0x69')]=function(_0x248ff5,_0x44a7c1,_0x40e0e6){if(_0x248ff5['body']['id']){delete _0x248ff5['body']['id'];}return db['FaxAccount'][_0x8847('0x61')]({'where':{'id':_0x248ff5[_0x8847('0x5e')]['id']}})['then'](handleEntityNotFound(_0x44a7c1,null))[_0x8847('0x29')](function(_0x3d4475){if(_0x3d4475){_0x248ff5[_0x8847('0x63')]['FaxAccountId']=_0x3d4475['id'];return db[_0x8847('0x6a')]['create'](_0x248ff5['body']);}})[_0x8847('0x29')](respondWithResult(_0x44a7c1,null))[_0x8847('0x5c')](handleError(_0x44a7c1,null));};exports[_0x8847('0x6b')]=function(_0x2732ef,_0x46226b,_0x51fb29){var _0x37db18={'raw':![],'where':{}};var _0x2ff43e={};var _0x1a90fa={'count':0x0,'rows':[]};return db[_0x8847('0x45')][_0x8847('0x6c')]({'where':{'id':_0x2732ef[_0x8847('0x5e')]['id']}})[_0x8847('0x29')](handleEntityNotFound(_0x46226b,null))['then'](function(_0x406471){if(_0x406471){_0x2ff43e[_0x8847('0x49')]=_[_0x8847('0x4b')](db[_0x8847('0x6a')]['rawAttributes']);_0x2ff43e[_0x8847('0x4a')]=_[_0x8847('0x4b')](_0x2732ef['query']);_0x2ff43e['filters']=_[_0x8847('0x4d')](_0x2ff43e[_0x8847('0x49')],_0x2ff43e[_0x8847('0x4a')]);_0x37db18[_0x8847('0x4e')]=_['intersection'](_0x2ff43e['model'],qs[_0x8847('0x4f')](_0x2732ef[_0x8847('0x4a')][_0x8847('0x4f')]));_0x37db18[_0x8847('0x4e')]=_0x37db18[_0x8847('0x4e')][_0x8847('0x50')]?_0x37db18[_0x8847('0x4e')]:_0x2ff43e[_0x8847('0x49')];if(!_0x2732ef['query'][_0x8847('0x6d')](_0x8847('0x51'))){_0x37db18[_0x8847('0x52')]=qs[_0x8847('0x52')](_0x2732ef['query'][_0x8847('0x52')]);_0x37db18[_0x8847('0x35')]=qs[_0x8847('0x35')](_0x2732ef[_0x8847('0x4a')][_0x8847('0x35')]);}_0x37db18['order']=qs[_0x8847('0x54')](_0x2732ef[_0x8847('0x4a')][_0x8847('0x54')]);_0x37db18[_0x8847('0x55')]=qs['filters'](_[_0x8847('0x6e')](_0x2732ef['query'],_0x2ff43e[_0x8847('0x4c')]));_0x37db18[_0x8847('0x55')]['FaxAccountId']=_0x406471['id'];if(_0x2732ef[_0x8847('0x4a')]['filter']){_0x37db18[_0x8847('0x55')]=_[_0x8847('0x57')](_0x37db18[_0x8847('0x55')],{'$or':_[_0x8847('0x44')](_0x37db18['attributes'],function(_0x2f74fe){var _0x230764={};_0x230764[_0x2f74fe]={'$like':'%'+_0x2732ef[_0x8847('0x4a')]['filter']+'%'};return _0x230764;})});}_0x37db18=_[_0x8847('0x57')]({},_0x37db18,_0x2732ef[_0x8847('0x59')]);return db[_0x8847('0x6a')]['count']({'where':_0x37db18['where']})[_0x8847('0x29')](function(_0x11c5af){_0x1a90fa[_0x8847('0x34')]=_0x11c5af;if(_0x2732ef[_0x8847('0x4a')][_0x8847('0x5a')]){_0x37db18[_0x8847('0x5b')]=[{'all':!![]}];}return db[_0x8847('0x6a')][_0x8847('0x6f')](_0x37db18);})[_0x8847('0x29')](function(_0x954b5a){_0x1a90fa[_0x8847('0x70')]=_0x954b5a;return _0x1a90fa;});}})['then'](respondWithFilteredResult(_0x46226b,_0x37db18))['catch'](handleError(_0x46226b,null));};exports[_0x8847('0x71')]=function(_0x550b51,_0x549d37,_0x271531){return db[_0x8847('0x45')][_0x8847('0x61')]({'where':{'id':_0x550b51[_0x8847('0x5e')]['id']}})[_0x8847('0x29')](handleEntityNotFound(_0x549d37,null))[_0x8847('0x29')](function(_0x4f550f){if(_0x4f550f){return _0x4f550f[_0x8847('0x71')](_0x550b51['query'][_0x8847('0x72')]);}})[_0x8847('0x29')](respondWithStatusCode(_0x549d37,null))[_0x8847('0x5c')](handleError(_0x549d37,null));};exports[_0x8847('0x73')]=function(_0x3bb186,_0x57da17,_0xabe117){if(_0x3bb186['body']['id']){delete _0x3bb186['body']['id'];}return db[_0x8847('0x45')]['find']({'where':{'id':_0x3bb186[_0x8847('0x5e')]['id']}})[_0x8847('0x29')](handleEntityNotFound(_0x57da17,null))['then'](function(_0x5c82e0){if(_0x5c82e0){_0x3bb186[_0x8847('0x63')]['FaxAccountId']=_0x5c82e0['id'];return db['CannedAnswer'][_0x8847('0x62')](_0x3bb186[_0x8847('0x63')]);}})[_0x8847('0x29')](respondWithResult(_0x57da17,null))['catch'](handleError(_0x57da17,null));};exports[_0x8847('0x74')]=function(_0x57f4b0,_0x3ed71a,_0x1f54e4){var _0x76c583={'raw':![],'where':{}};var _0x52c2a2={};var _0x1a8222={'count':0x0,'rows':[]};return db[_0x8847('0x45')][_0x8847('0x6c')]({'where':{'id':_0x57f4b0[_0x8847('0x5e')]['id']}})[_0x8847('0x29')](handleEntityNotFound(_0x3ed71a,null))[_0x8847('0x29')](function(_0x3e8968){if(_0x3e8968){_0x52c2a2[_0x8847('0x49')]=_[_0x8847('0x4b')](db[_0x8847('0x75')][_0x8847('0x60')]);_0x52c2a2[_0x8847('0x4a')]=_[_0x8847('0x4b')](_0x57f4b0[_0x8847('0x4a')]);_0x52c2a2[_0x8847('0x4c')]=_[_0x8847('0x4d')](_0x52c2a2[_0x8847('0x49')],_0x52c2a2['query']);_0x76c583[_0x8847('0x4e')]=_[_0x8847('0x4d')](_0x52c2a2[_0x8847('0x49')],qs[_0x8847('0x4f')](_0x57f4b0[_0x8847('0x4a')][_0x8847('0x4f')]));_0x76c583[_0x8847('0x4e')]=_0x76c583[_0x8847('0x4e')][_0x8847('0x50')]?_0x76c583['attributes']:_0x52c2a2['model'];if(!_0x57f4b0[_0x8847('0x4a')][_0x8847('0x6d')](_0x8847('0x51'))){_0x76c583[_0x8847('0x52')]=qs[_0x8847('0x52')](_0x57f4b0['query'][_0x8847('0x52')]);_0x76c583['offset']=qs[_0x8847('0x35')](_0x57f4b0[_0x8847('0x4a')][_0x8847('0x35')]);}_0x76c583['order']=qs[_0x8847('0x54')](_0x57f4b0[_0x8847('0x4a')][_0x8847('0x54')]);_0x76c583[_0x8847('0x55')]=qs[_0x8847('0x4c')](_[_0x8847('0x6e')](_0x57f4b0[_0x8847('0x4a')],_0x52c2a2[_0x8847('0x4c')]));_0x76c583[_0x8847('0x55')]['FaxAccountId']=_0x3e8968['id'];if(_0x57f4b0[_0x8847('0x4a')][_0x8847('0x56')]){_0x76c583[_0x8847('0x55')]=_[_0x8847('0x57')](_0x76c583[_0x8847('0x55')],{'$or':_[_0x8847('0x44')](_0x76c583[_0x8847('0x4e')],function(_0x206388){var _0xdfc211={};_0xdfc211[_0x206388]={'$like':'%'+_0x57f4b0['query']['filter']+'%'};return _0xdfc211;})});}_0x76c583=_[_0x8847('0x57')]({},_0x76c583,_0x57f4b0[_0x8847('0x59')]);return db[_0x8847('0x75')][_0x8847('0x34')]({'where':_0x76c583[_0x8847('0x55')]})[_0x8847('0x29')](function(_0x4405c5){_0x1a8222[_0x8847('0x34')]=_0x4405c5;if(_0x57f4b0[_0x8847('0x4a')][_0x8847('0x5a')]){_0x76c583[_0x8847('0x5b')]=[{'all':!![]}];}return db['CannedAnswer'][_0x8847('0x6f')](_0x76c583);})['then'](function(_0x5d289e){_0x1a8222[_0x8847('0x70')]=_0x5d289e;return _0x1a8222;});}})[_0x8847('0x29')](respondWithFilteredResult(_0x3ed71a,_0x76c583))[_0x8847('0x5c')](handleError(_0x3ed71a,null));};exports['removeAnswers']=function(_0x147992,_0x295250,_0x48d3c9){return db[_0x8847('0x45')][_0x8847('0x61')]({'where':{'id':_0x147992[_0x8847('0x5e')]['id']}})['then'](handleEntityNotFound(_0x295250,null))[_0x8847('0x29')](function(_0x38370b){if(_0x38370b){return _0x38370b[_0x8847('0x76')](_0x147992[_0x8847('0x4a')][_0x8847('0x72')]);}})[_0x8847('0x29')](respondWithStatusCode(_0x295250,null))[_0x8847('0x5c')](handleError(_0x295250,null));};exports[_0x8847('0x77')]=function(_0x45cf44,_0x121b61,_0x59e3ab){return db[_0x8847('0x78')][_0x8847('0x61')]({'where':{'id':_0x45cf44[_0x8847('0x5e')]['id']}})['then'](handleEntityNotFound(_0x121b61,null))[_0x8847('0x29')](function(_0x1db667){if(_0x1db667){return _0x1db667['addInteraction'](_0x45cf44[_0x8847('0x63')][_0x8847('0x72')],_['omit'](_0x45cf44['body'],['ids','id'])||{});}})['then'](respondWithResult(_0x121b61,null))[_0x8847('0x5c')](handleError(_0x121b61,null));};exports[_0x8847('0x79')]=function(_0x213ca6,_0x1e8c6d,_0x2ca283){var _0x565685={'raw':![],'where':{}};var _0x1df187={};var _0xd58426={'count':0x0,'rows':[]};return db[_0x8847('0x45')][_0x8847('0x6c')]({'where':{'id':_0x213ca6[_0x8847('0x5e')]['id']}})['then'](handleEntityNotFound(_0x1e8c6d,null))['then'](function(_0x3cfdf8){if(_0x3cfdf8){_0x1df187[_0x8847('0x49')]=_[_0x8847('0x4b')](db['FaxInteraction'][_0x8847('0x60')]);_0x1df187[_0x8847('0x4a')]=_[_0x8847('0x4b')](_0x213ca6[_0x8847('0x4a')]);_0x1df187[_0x8847('0x4c')]=_[_0x8847('0x4d')](_0x1df187['model'],_0x1df187[_0x8847('0x4a')]);_0x565685['attributes']=_[_0x8847('0x4d')](_0x1df187[_0x8847('0x49')],qs[_0x8847('0x4f')](_0x213ca6[_0x8847('0x4a')][_0x8847('0x4f')]));_0x565685[_0x8847('0x4e')]=_0x565685[_0x8847('0x4e')][_0x8847('0x50')]?_0x565685[_0x8847('0x4e')]:_0x1df187[_0x8847('0x49')];if(!_0x213ca6[_0x8847('0x4a')][_0x8847('0x6d')](_0x8847('0x51'))){_0x565685['limit']=qs[_0x8847('0x52')](_0x213ca6['query'][_0x8847('0x52')]);_0x565685[_0x8847('0x35')]=qs[_0x8847('0x35')](_0x213ca6[_0x8847('0x4a')][_0x8847('0x35')]);}_0x565685[_0x8847('0x53')]=qs['sort'](_0x213ca6[_0x8847('0x4a')]['sort']);_0x565685['where']=qs['filters'](_['pick'](_0x213ca6[_0x8847('0x4a')],_0x1df187[_0x8847('0x4c')]));_0x565685[_0x8847('0x55')]['FaxAccountId']=_0x3cfdf8['id'];if(_0x213ca6[_0x8847('0x4a')]['filter']){_0x565685[_0x8847('0x55')]=_[_0x8847('0x57')](_0x565685['where'],{'$or':_[_0x8847('0x44')](_0x565685['attributes'],function(_0x2045ec){var _0x253744={};_0x253744[_0x2045ec]={'$like':'%'+_0x213ca6[_0x8847('0x4a')][_0x8847('0x56')]+'%'};return _0x253744;})});}_0x565685=_[_0x8847('0x57')]({},_0x565685,_0x213ca6[_0x8847('0x59')]);return db[_0x8847('0x78')][_0x8847('0x34')]({'where':_0x565685[_0x8847('0x55')]})[_0x8847('0x29')](function(_0x4d7fd1){_0xd58426['count']=_0x4d7fd1;if(_0x213ca6[_0x8847('0x4a')][_0x8847('0x5a')]){_0x565685[_0x8847('0x5b')]=[{'model':db[_0x8847('0x7a')],'as':_0x8847('0x7b'),'required':![]},{'model':db['User'],'as':'Owner','attributes':[_0x8847('0x40'),'fullname',_0x8847('0x7c')],'required':![]},{'model':db[_0x8847('0x7d')],'as':_0x8847('0x7e'),'attributes':['id',_0x8847('0x40'),_0x8847('0x7f')],'where':_0x213ca6[_0x8847('0x4a')]['tag']?{'id':_0x213ca6[_0x8847('0x4a')][_0x8847('0x80')]}:undefined,'required':_0x213ca6['query'][_0x8847('0x80')]?!![]:![]}];}return db[_0x8847('0x78')][_0x8847('0x6f')](_0x565685);})[_0x8847('0x29')](function(_0x28c4c4){_0xd58426['rows']=_0x28c4c4;return _0xd58426;});}})[_0x8847('0x29')](respondWithFilteredResult(_0x1e8c6d,_0x565685))[_0x8847('0x5c')](handleError(_0x1e8c6d,null));};exports[_0x8847('0x81')]=function(_0x3ccf30,_0x4e2cbb,_0x5a8017){return db[_0x8847('0x45')][_0x8847('0x6c')]({'where':{'id':_0x3ccf30[_0x8847('0x5e')]['id']}})[_0x8847('0x29')](handleEntityNotFound(_0x4e2cbb,null))[_0x8847('0x29')](function(_0x3c317b){if(_0x3c317b){return db[_0x8847('0x82')]['transaction'](function(_0x5add97){return db[_0x8847('0x83')]['destroy']({'where':{'FaxAccountId':_0x3ccf30['params']['id']},'transaction':_0x5add97})[_0x8847('0x29')](function(_0x23f3bd){var _0x52213c=_[_0x8847('0x44')](_0x3ccf30[_0x8847('0x63')],function(_0x6827f4){_0x6827f4[_0x8847('0x84')]=_0x3ccf30[_0x8847('0x5e')]['id'];return _0x6827f4;});return db[_0x8847('0x83')][_0x8847('0x85')](_0x52213c,{'transaction':_0x5add97});});})[_0x8847('0x29')](function(){return db[_0x8847('0x83')]['findAndCountAll']({'where':{'FaxAccountId':_0x3ccf30[_0x8847('0x5e')]['id']},'order':'priority'});});}})[_0x8847('0x29')](respondWithResult(_0x4e2cbb,null))[_0x8847('0x5c')](handleError(_0x4e2cbb,null));};exports[_0x8847('0x86')]=function(_0xc3b66b,_0x42e2c0,_0x2553b6){var _0x5703e9={};var _0x3b0a7a={};var _0x3aa892;var _0x365d71;return db[_0x8847('0x45')][_0x8847('0x6c')]({'where':{'id':_0xc3b66b[_0x8847('0x5e')]['id']}})[_0x8847('0x29')](handleEntityNotFound(_0x42e2c0,null))[_0x8847('0x29')](function(_0x1910d9){if(_0x1910d9){_0x3aa892=_0x1910d9;_0x3b0a7a[_0x8847('0x49')]=_[_0x8847('0x4b')](db[_0x8847('0x83')][_0x8847('0x60')]);_0x3b0a7a[_0x8847('0x4a')]=_['keys'](_0xc3b66b[_0x8847('0x4a')]);_0x3b0a7a['filters']=_[_0x8847('0x4d')](_0x3b0a7a[_0x8847('0x49')],_0x3b0a7a['query']);_0x5703e9[_0x8847('0x4e')]=_[_0x8847('0x4d')](_0x3b0a7a['model'],qs[_0x8847('0x4f')](_0xc3b66b[_0x8847('0x4a')][_0x8847('0x4f')]));_0x5703e9[_0x8847('0x4e')]=_0x5703e9['attributes'][_0x8847('0x50')]?_0x5703e9[_0x8847('0x4e')]:_0x3b0a7a[_0x8847('0x49')];_0x5703e9[_0x8847('0x53')]=qs[_0x8847('0x54')](_0xc3b66b[_0x8847('0x4a')][_0x8847('0x54')]);_0x5703e9[_0x8847('0x55')]=qs[_0x8847('0x4c')](_['pick'](_0xc3b66b['query'],_0x3b0a7a[_0x8847('0x4c')]));if(_0xc3b66b[_0x8847('0x4a')][_0x8847('0x56')]){_0x5703e9[_0x8847('0x55')]=_[_0x8847('0x57')](_0x5703e9[_0x8847('0x55')],{'$or':_['map'](_0x5703e9[_0x8847('0x4e')],function(_0x8861d1){var _0x240af6={};_0x240af6[_0x8861d1]={'$like':'%'+_0xc3b66b[_0x8847('0x4a')][_0x8847('0x56')]+'%'};return _0x240af6;})});}_0x5703e9=_[_0x8847('0x57')]({},_0x5703e9,_0xc3b66b['options']);return _0x3aa892[_0x8847('0x86')](_0x5703e9);}})[_0x8847('0x29')](function(_0x3ff409){if(_0x3ff409){_0x365d71=_0x3ff409[_0x8847('0x50')];if(!_0xc3b66b[_0x8847('0x4a')][_0x8847('0x6d')](_0x8847('0x51'))){_0x5703e9[_0x8847('0x52')]=qs[_0x8847('0x52')](_0xc3b66b[_0x8847('0x4a')][_0x8847('0x52')]);_0x5703e9['offset']=qs[_0x8847('0x35')](_0xc3b66b[_0x8847('0x4a')][_0x8847('0x35')]);}return _0x3aa892[_0x8847('0x86')](_0x5703e9);}})['then'](function(_0x54ffcd){if(_0x54ffcd){return _0x54ffcd?{'count':_0x365d71,'rows':_0x54ffcd}:null;}})[_0x8847('0x29')](respondWithResult(_0x42e2c0,null))[_0x8847('0x5c')](handleError(_0x42e2c0,null));};function Extension(_0x1353c5,_0x1e5b60,_0x462a8e,_0x5a77d8){this[_0x8847('0x87')]='from-voip-provider';this['exten']=_0x1353c5['localstationid'];this[_0x8847('0x88')]=_0x5a77d8;this[_0x8847('0x47')]='system';this['description']=_0x8847('0x89');this['FaxAccountId']=_0x1353c5['id'];this[_0x8847('0x8a')]=_0x1e5b60;this[_0x8847('0x8b')]=_0x462a8e;}function createExtensionsReciveFax(_0x44b9e3){var _0x5ba505=0x1;var _0x14da46=[];_0x14da46['push'](new Extension(_0x44b9e3,_0x5ba505,'','Answer'));_0x5ba505+=0x1;_0x14da46[_0x8847('0x8c')](new Extension(_0x44b9e3,_0x5ba505,_0x8847('0x8d'),_0x8847('0x8e')));_0x5ba505+=0x1;for(var _0x475f64 in _0x44b9e3){if(_0x44b9e3[_0x8847('0x6d')](_0x475f64)&&(_0x475f64===_0x8847('0x8f')||_0x475f64==='localstationid'||_0x475f64===_0x8847('0x90')||_0x475f64==='faxdetect'||_0x475f64===_0x8847('0x91')||_0x475f64==='maxrate'||_0x475f64===_0x8847('0x92')||_0x475f64===_0x8847('0x93')||_0x475f64===_0x8847('0x94'))){_0x14da46['push'](new Extension(_0x44b9e3,_0x5ba505,_0x8847('0x95')+_0x475f64+')='+_0x44b9e3[_0x475f64],_0x8847('0x8e')));_0x5ba505+=0x1;}}_0x14da46[_0x8847('0x8c')](new Extension(_0x44b9e3,_0x5ba505,'6',_0x8847('0x96')));_0x5ba505+=0x1;_0x14da46[_0x8847('0x8c')](new Extension(_0x44b9e3,_0x5ba505,_0x8847('0x97'),_0x8847('0x98')));_0x5ba505=0x0;return _0x14da46;}exports[_0x8847('0x99')]=function(_0x5a1709,_0x1667ce,_0xc511e2){var _0x2ed2bd;return db[_0x8847('0x82')]['transaction'](function(_0x587e44){return db[_0x8847('0x45')]['create'](_0x5a1709[_0x8847('0x63')],{'transaction':_0x587e44})[_0x8847('0x29')](function(_0x50fa85){_0x2ed2bd=_0x50fa85['get']({'plain':!![]});return db[_0x8847('0x9a')][_0x8847('0x85')](createExtensionsReciveFax(_0x2ed2bd),{'transaction':_0x587e44});});})[_0x8847('0x29')](function(){return _0x2ed2bd;})[_0x8847('0x29')](respondWithResult(_0x1667ce,null))[_0x8847('0x5c')](handleError(_0x1667ce,null));};exports[_0x8847('0x9b')]=function(_0x3a26c3,_0x3347d1,_0x16c4bd){var _0x13176d;return db['sequelize'][_0x8847('0x9c')](function(_0x1d41e9){return db['FaxAccount'][_0x8847('0x3a')](_0x3a26c3['body'],{'where':{'id':_0x3a26c3['body']['id']},'transaction':_0x1d41e9})[_0x8847('0x29')](function(_0x5e48e7){return db[_0x8847('0x9a')]['destroy']({'where':{'FaxAccountId':_0x3a26c3[_0x8847('0x63')]['id']},'transaction':_0x1d41e9})['then'](function(_0x1e48d5){return db[_0x8847('0x9a')][_0x8847('0x85')](createExtensionsReciveFax(_[_0x8847('0x9d')](_0x3a26c3[_0x8847('0x63')],[_0x8847('0x9e'),_0x8847('0x48'),'createdAt',_0x8847('0x9f'),'TrunkId','ListId'])),{'transaction':_0x1d41e9});});});})['then'](function(){return db[_0x8847('0x45')][_0x8847('0xa0')](_0x3a26c3[_0x8847('0x63')]['id']);})['then'](respondWithResult(_0x3347d1,null))['catch'](handleError(_0x3347d1,null));};exports[_0x8847('0xa1')]=function(_0x5222b7,_0x404da3,_0x3c408e){var _0x5655cb={'raw':!![],'where':{}};var _0x3a6fae={};var _0x3ce150={'count':0x0,'rows':[]};return db['FaxAccount']['findOne']({'where':{'id':_0x5222b7['params']['id']}})[_0x8847('0x29')](handleEntityNotFound(_0x404da3,null))[_0x8847('0x29')](function(_0x1c555b){if(_0x1c555b){_0x3a6fae[_0x8847('0x49')]=_[_0x8847('0x4b')](db[_0x8847('0xa2')][_0x8847('0x60')]);_0x3a6fae[_0x8847('0x4a')]=_[_0x8847('0x4b')](_0x5222b7[_0x8847('0x4a')]);_0x3a6fae[_0x8847('0x4c')]=_[_0x8847('0x4d')](_0x3a6fae[_0x8847('0x49')],_0x3a6fae['query']);_0x5655cb[_0x8847('0x4e')]=_[_0x8847('0x4d')](_0x3a6fae['model'],qs[_0x8847('0x4f')](_0x5222b7['query'][_0x8847('0x4f')]));_0x5655cb[_0x8847('0x4e')]=_0x5655cb[_0x8847('0x4e')][_0x8847('0x50')]?_0x5655cb[_0x8847('0x4e')]:_0x3a6fae['model'];if(!_0x5222b7[_0x8847('0x4a')]['hasOwnProperty'](_0x8847('0x51'))){_0x5655cb[_0x8847('0x52')]=qs['limit'](_0x5222b7['query'][_0x8847('0x52')]);_0x5655cb['offset']=qs[_0x8847('0x35')](_0x5222b7['query']['offset']);}_0x5655cb[_0x8847('0x53')]=qs['sort'](_0x5222b7[_0x8847('0x4a')]['sort']);_0x5655cb[_0x8847('0x55')]=qs[_0x8847('0x4c')](_[_0x8847('0x6e')](_0x5222b7['query'],_0x3a6fae[_0x8847('0x4c')]));_0x5655cb[_0x8847('0x55')][_0x8847('0x84')]=_0x1c555b['id'];if(_0x5222b7[_0x8847('0x4a')][_0x8847('0x56')]){_0x5655cb[_0x8847('0x55')]=_[_0x8847('0x57')](_0x5655cb[_0x8847('0x55')],{'$or':_[_0x8847('0x44')](_0x5655cb['attributes'],function(_0x4a2d8a){var _0x4b0316={};_0x4b0316[_0x4a2d8a]={'$like':'%'+_0x5222b7['query'][_0x8847('0x56')]+'%'};return _0x4b0316;})});}if(_0x5222b7[_0x8847('0x4a')][_0x8847('0xa3')]){var _0x4c3f85=_0x5222b7[_0x8847('0x4a')]['$gte'][_0x8847('0xa4')](',');var _0x4dcc00={};_0x4dcc00[_0x4c3f85[0x0]]={'$gte':moment(_0x4c3f85[0x1])[_0x8847('0xa5')]('YYYY-MM-DD\x20HH:mm:ss')};_0x5655cb[_0x8847('0x55')]=_[_0x8847('0x57')](_0x5655cb['where'],_0x4dcc00);}_0x5655cb=_[_0x8847('0x57')]({},_0x5655cb,_0x5222b7['options']);return db[_0x8847('0xa2')][_0x8847('0x34')]({'where':_0x5655cb[_0x8847('0x55')]})[_0x8847('0x29')](function(_0x5d9432){_0x3ce150[_0x8847('0x34')]=_0x5d9432;if(_0x5222b7[_0x8847('0x4a')][_0x8847('0x5a')]){_0x5655cb[_0x8847('0x5b')]=[{'all':!![]}];}return db[_0x8847('0xa2')][_0x8847('0x6f')](_0x5655cb);})[_0x8847('0x29')](function(_0x58ddeb){_0x3ce150[_0x8847('0x70')]=_0x58ddeb;return _0x3ce150;});}})[_0x8847('0x29')](respondWithFilteredResult(_0x404da3,_0x5655cb))['catch'](handleError(_0x404da3,null));};exports[_0x8847('0x41')]=function(_0x28de13,_0x40ab3,_0x2aaf40){var _0x1accc,_0x1ee6e5={},_0x1ec6f8;if(_0x28de13[_0x8847('0x63')]['to']){_0x1ec6f8=_0x28de13[_0x8847('0x63')]['to'][0x0];}return db[_0x8847('0x45')]['find']({'where':{'id':_0x28de13[_0x8847('0x5e')]['id']},'include':[{'model':db[_0x8847('0xa6')],'as':_0x8847('0xa7'),'include':[{'model':db[_0x8847('0x7a')],'as':'Contacts','where':{'fax':_0x1ec6f8},'limit':0x1,'order':[[_0x8847('0x9f'),_0x8847('0xa8')]]}]}]})[_0x8847('0x29')](handleEntityNotFound(_0x40ab3,null))[_0x8847('0x29')](function(_0x129a66){_0x1accc=_0x129a66;if(_0x28de13[_0x8847('0x63')][_0x8847('0xa9')]&&_0x28de13[_0x8847('0x63')]['attachments'][_0x8847('0x50')]){for(var _0x575731=0x0;_0x575731<_0x28de13['body'][_0x8847('0xa9')][_0x8847('0x50')];_0x575731+=0x1){_0x28de13[_0x8847('0x63')]['attachments'][_0x575731]={'filename':_0x28de13[_0x8847('0x63')]['attachments'][_0x575731]['name'],'id':_0x28de13[_0x8847('0x63')][_0x8847('0xa9')][_0x575731]['id'],'path':path[_0x8847('0xaa')](config[_0x8847('0xab')],_0x8847('0xac'),_0x28de13[_0x8847('0x63')]['attachments'][_0x575731][_0x8847('0xad')])};}}return respondWithRpcPromise(_0x8847('0xae'),_0x8847('0xae'),{'FaxAccountId':_[_0x8847('0xaf')](_0x28de13[_0x8847('0x5e')]['id'])?undefined:_0x28de13['params']['id'],'path':_['isNil'](_0x28de13[_0x8847('0x63')][_0x8847('0xa9')][0x0]['path'])?undefined:_0x28de13['body'][_0x8847('0xa9')][0x0][_0x8847('0x9')],'fax':_[_0x8847('0xaf')](_0x28de13[_0x8847('0x63')]['to'][0x0])?undefined:_0x28de13[_0x8847('0x63')]['to'][0x0]},client9002);})[_0x8847('0x29')](function(){if(_0x1accc){if(_['isNil'](_0x28de13[_0x8847('0x63')][_0x8847('0xb0')])){_0x28de13[_0x8847('0x63')]['from']=util[_0x8847('0xa5')](_0x8847('0xb1'),_0x1accc[_0x8847('0x40')],_0x1accc['fax']);}if(_0x1accc[_0x8847('0xa7')]){if(_0x1accc['List'][_0x8847('0xb2')]['length']){return _0x1accc['List'][_0x8847('0xb2')][0x0];}else{return db['CmContact'][_0x8847('0x62')](_['defaults'](_0x28de13[_0x8847('0x63')],{'firstName':_0x28de13[_0x8847('0x63')]['to'][0x0],'phone':_0x28de13[_0x8847('0x63')]['to'][0x0],'fax':_0x28de13[_0x8847('0x63')]['to'][0x0],'ListId':_0x1accc['ListId']}));}}else{throw new Error(_0x8847('0xb3'));}}else{throw new Error(_0x8847('0xb4'));}})[_0x8847('0x29')](function(_0x187e15){if(_0x187e15){return db['FaxInteraction'][_0x8847('0x61')]({'where':{'ContactId':_0x187e15['id'],'closed':![],'FaxAccountId':_0x1accc['id']}})['then'](function(_0xced3d3){if(_0xced3d3){return[_0xced3d3,![]];}return db['FaxInteraction'][_0x8847('0x62')]({'UserId':_0x28de13[_0x8847('0x64')]['id'],'ContactId':_0x187e15['id'],'FaxAccountId':_0x1accc['id'],'fax':_0x28de13['body']['to'][0x0],'firstMsgDirection':_0x8847('0xb5'),'Messages':[_['merge'](_0x28de13[_0x8847('0x63')],{'read':![],'body':_0x28de13[_0x8847('0x63')][_0x8847('0xa9')][0x0][_0x8847('0xb6')],'FaxAccountId':_0x1accc['id'],'UserId':_0x28de13[_0x8847('0x64')]['id'],'ContactId':_0x187e15['id'],'AttachmentId':_0x28de13[_0x8847('0x63')][_0x8847('0xa9')][0x0]['id']})]},{'include':[{'model':db[_0x8847('0xa2')],'as':_0x8847('0xb7')}]})[_0x8847('0x29')](function(_0x50e21c){return[_0x50e21c,!![]];});});}else{throw new Error(_0x8847('0xb8'));}})[_0x8847('0xb9')](function(_0x50473a,_0x3a3397){if(_0x3a3397){return _0x50473a;}return db[_0x8847('0xa2')][_0x8847('0x62')]({'direction':_0x8847('0xb5'),'read':![],'body':_0x28de13[_0x8847('0x63')][_0x8847('0xa9')][0x0][_0x8847('0xb6')],'FaxAccountId':_0x1accc['id'],'FaxInteractionId':_0x50473a['id'],'UserId':_0x28de13[_0x8847('0x64')]['id'],'ContactId':_0x50473a['ContactId'],'AttachmentId':_0x28de13[_0x8847('0x63')][_0x8847('0xa9')][0x0]['id']})[_0x8847('0x29')](function(_0x16722a){_0x50473a[_0x8847('0xba')]['Messages']=[];_0x50473a[_0x8847('0xba')][_0x8847('0xb7')][_0x8847('0x8c')](_0x16722a['dataValues']);return _0x50473a;});})[_0x8847('0x29')](function(_0x20d138){respondWithRpcPromise(_0x8847('0xbb'),_0x8847('0xbb'),{'FaxAccountId':_[_0x8847('0xaf')](_0x28de13['params']['id'])?undefined:_0x28de13['params']['id'],'path':_[_0x8847('0xaf')](_0x28de13[_0x8847('0x63')][_0x8847('0xa9')][0x0]['path'])?undefined:_0x28de13['body'][_0x8847('0xa9')][0x0]['path'],'fax':_[_0x8847('0xaf')](_0x28de13[_0x8847('0x63')]['to'][0x0])?undefined:_0x28de13[_0x8847('0x63')]['to'][0x0],'AttachmentId':_0x28de13[_0x8847('0x63')][_0x8847('0xa9')][0x0]['id']},client9002)['then'](function(_0x12fb3f){logger[_0x8847('0x2a')](_0x8847('0xbc'),_0x12fb3f);})[_0x8847('0x5c')](function(_0x323eec){logger[_0x8847('0x2a')]('SendFaxRpc,\x20%s',_0x323eec);});return _0x20d138;})[_0x8847('0x29')](respondWithResult(_0x40ab3,null))['catch'](handleError(_0x40ab3,null));};exports[_0x8847('0xbd')]=function(_0x48f7af,_0x118baf,_0x376431){return db[_0x8847('0x45')][_0x8847('0x61')]({'where':{'id':_0x48f7af[_0x8847('0x5e')]['id']}})[_0x8847('0x29')](handleEntityNotFound(_0x118baf,null))[_0x8847('0x29')](function(_0x22b5e9){if(_0x22b5e9){return _0x22b5e9[_0x8847('0xbd')](_0x48f7af[_0x8847('0x63')][_0x8847('0x72')],_[_0x8847('0x9d')](_0x48f7af['body'],[_0x8847('0x72'),'id'])||{})[_0x8847('0xb9')](function(_0x576d62){for(var _0x1ab5e8=0x0;_0x1ab5e8<_0x48f7af[_0x8847('0x63')][_0x8847('0x72')][_0x8847('0x50')];_0x1ab5e8+=0x1){socket[_0x8847('0xbe')]('userFaxAccount:save',{'UserId':_0x48f7af[_0x8847('0x63')][_0x8847('0x72')][_0x1ab5e8],'FaxAccountId':_0x48f7af[_0x8847('0x5e')]['id']});}return _0x576d62;});}})[_0x8847('0x29')](respondWithResult(_0x118baf,null))[_0x8847('0x5c')](handleError(_0x118baf,null));};exports['removeAgents']=function(_0x4003ba,_0x155635,_0x5a0943){return db[_0x8847('0x45')][_0x8847('0x61')]({'where':{'id':_0x4003ba[_0x8847('0x5e')]['id']}})[_0x8847('0x29')](handleEntityNotFound(_0x155635,null))['then'](function(_0x27645a){if(_0x27645a){return _0x27645a[_0x8847('0xbf')](_0x4003ba[_0x8847('0x4a')]['ids'])[_0x8847('0x29')](function(){if(_['isArray'](_0x4003ba[_0x8847('0x4a')][_0x8847('0x72')])){for(var _0x230c66=0x0;_0x230c66<_0x4003ba['query'][_0x8847('0x72')]['length'];_0x230c66+=0x1){socket[_0x8847('0xbe')]('userFaxAccount:remove',{'UserId':Number(_0x4003ba['query'][_0x8847('0x72')][_0x230c66]),'FaxAccountId':Number(_0x4003ba[_0x8847('0x5e')]['id'])});}}else{socket[_0x8847('0xbe')](_0x8847('0xc0'),{'UserId':Number(_0x4003ba[_0x8847('0x4a')]['ids']),'FaxAccountId':Number(_0x4003ba[_0x8847('0x5e')]['id'])});}});}})[_0x8847('0x29')](respondWithStatusCode(_0x155635,null))['catch'](handleError(_0x155635,null));};exports[_0x8847('0xc1')]=function(_0x2e32fd,_0x2a495e,_0x2cc778){var _0x14e4c7={};var _0x227455={};var _0x2aa29b;var _0x4d92dd;return db['FaxAccount'][_0x8847('0x6c')]({'where':{'id':_0x2e32fd[_0x8847('0x5e')]['id']}})[_0x8847('0x29')](handleEntityNotFound(_0x2a495e,null))['then'](function(_0xdbc3ba){if(_0xdbc3ba){_0x2aa29b=_0xdbc3ba;_0x227455[_0x8847('0x49')]=_[_0x8847('0x4b')](db[_0x8847('0xc2')]['rawAttributes']);_0x227455[_0x8847('0x4a')]=_['keys'](_0x2e32fd[_0x8847('0x4a')]);_0x227455[_0x8847('0x4c')]=_[_0x8847('0x4d')](_0x227455[_0x8847('0x49')],_0x227455[_0x8847('0x4a')]);_0x14e4c7[_0x8847('0x4e')]=_[_0x8847('0x4d')](_0x227455['model'],qs['fields'](_0x2e32fd[_0x8847('0x4a')]['fields']));_0x14e4c7[_0x8847('0x4e')]=_0x14e4c7['attributes'][_0x8847('0x50')]?_0x14e4c7[_0x8847('0x4e')]:_0x227455[_0x8847('0x49')];_0x14e4c7['order']=qs[_0x8847('0x54')](_0x2e32fd['query'][_0x8847('0x54')]);_0x14e4c7[_0x8847('0x55')]=qs[_0x8847('0x4c')](_[_0x8847('0x6e')](_0x2e32fd[_0x8847('0x4a')],_0x227455[_0x8847('0x4c')]));if(_0x2e32fd[_0x8847('0x4a')][_0x8847('0x56')]){_0x14e4c7['where']=_[_0x8847('0x57')](_0x14e4c7[_0x8847('0x55')],{'$or':_[_0x8847('0x44')](_0x14e4c7[_0x8847('0x4e')],function(_0x3ae301){var _0x26fb10={};_0x26fb10[_0x3ae301]={'$like':'%'+_0x2e32fd['query'][_0x8847('0x56')]+'%'};return _0x26fb10;})});}_0x14e4c7=_[_0x8847('0x57')]({},_0x14e4c7,_0x2e32fd[_0x8847('0x59')]);return _0x2aa29b[_0x8847('0xc1')](_0x14e4c7);}})[_0x8847('0x29')](function(_0x47963b){if(_0x47963b){_0x4d92dd=_0x47963b[_0x8847('0x50')];if(!_0x2e32fd[_0x8847('0x4a')][_0x8847('0x6d')](_0x8847('0x51'))){_0x14e4c7[_0x8847('0x52')]=qs[_0x8847('0x52')](_0x2e32fd['query'][_0x8847('0x52')]);_0x14e4c7[_0x8847('0x35')]=qs[_0x8847('0x35')](_0x2e32fd[_0x8847('0x4a')]['offset']);}return _0x2aa29b[_0x8847('0xc1')](_0x14e4c7);}})[_0x8847('0x29')](function(_0x5ca1ce){if(_0x5ca1ce){return _0x5ca1ce?{'count':_0x4d92dd,'rows':_0x5ca1ce}:null;}})['then'](respondWithResult(_0x2a495e,null))[_0x8847('0x5c')](handleError(_0x2a495e,null));}; \ No newline at end of file +var _0x1401=['ReceiveFax','addAccountApplications','VoiceExtension','updateAccountApplications','tech','createdAt','updatedAt','ListId','findById','getMessages','FaxMessage','$gte','format','YYYY-MM-DD\x20HH:mm:ss','CmList','List','Contacts','DESC','attachments','join','server/files/attachments','CheckAfterSend','isNil','from','\x22%s\x22\x20<%s>','fax','List\x20not\x20found','Send\x20Fax\x20failed','filename','Messages','Contact\x20not\x20found','spread','dataValues','SendFax','SendFaxRpc,\x20%s','addAgents','emit','userFaxAccount:save','isArray','userFaxAccount:remove','getAgents','eml-format','zip-dir','request-promise','moment','bluebird','mustache','util','path','sox','ejs','lodash','squel','crypto','desk.js','to-csv','papaparse','ioredis','../../components/auth/service','../../components/parsers/advancedSearch','../../config/license/hardware','api','../../config/utils','../../config/environment','../../mysqldb','redis','defaults','localhost','register','jayson/promise','http','test','ValidationError','The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.','then','info','FaxAccount,\x20%s,\x20%s','debug','FaxAccount,\x20%s,\x20%s,\x20%s','stringify','error','code','message','request\x20sent','result','catch','sendStatus','status','end','json','offset','limit','apply','reject','save','update','get','FaxAccounts','destroy','stack','name','send','index','FaxAccount','fieldName','type','key','model','map','query','keys','filters','attributes','intersection','fields','length','nolimit','sort','where','merge','filter','count','includeAll','include','findAll','rows','show','params','Pause','mandatoryDispositionPause','rawAttributes','options','create','body','user','role','UserProfileSection','find','autoAssociation','UserProfileResource','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','describe','addDisposition','FaxAccountId','findOne','Disposition','order','pick','removeDispositions','ids','addAnswer','CannedAnswer','getAnswers','removeAnswers','addInteraction','FaxInteraction','omit','getInteractions','hasOwnProperty','CmContact','Contact','User','fullname','internal','Tags','tag','addApplications','sequelize','transaction','FaxApplication','bulkCreate','findAndCountAll','priority','getApplications','context','from-voip-provider','exten','localstationid','app','system','description','Fax\x20Extension','appdata','push','Answer','CDR(type)=inbound-fax','Set','ecm','gateway','faxdetect','minrate','t38timeout','FAXOPT(','Wait','/var/opt/motion2/server/files/attachments/fax-${CALLERID(num)}-${CUT(UNIQUEID,.,1)}-${CUT(UNIQUEID,.,2)}-${STRFTIME(,,%C%y%m%d%H%M%S)}-rx.tif,d'];(function(_0x4662e3,_0x3c9e27){var _0x3ab0e7=function(_0x5f1d33){while(--_0x5f1d33){_0x4662e3['push'](_0x4662e3['shift']());}};_0x3ab0e7(++_0x3c9e27);}(_0x1401,0x1af));var _0x1140=function(_0x5160bf,_0x511947){_0x5160bf=_0x5160bf-0x0;var _0x1d33a9=_0x1401[_0x5160bf];return _0x1d33a9;};'use strict';var pdf=require('html-pdf');var emlformat=require(_0x1140('0x0'));var rimraf=require('rimraf');var zipdir=require(_0x1140('0x1'));var jsonpatch=require('fast-json-patch');var rp=require(_0x1140('0x2'));var moment=require(_0x1140('0x3'));var BPromise=require(_0x1140('0x4'));var Mustache=require(_0x1140('0x5'));var util=require(_0x1140('0x6'));var path=require(_0x1140('0x7'));var sox=require(_0x1140('0x8'));var csv=require('to-csv');var ejs=require(_0x1140('0x9'));var fs=require('fs');var _=require(_0x1140('0xa'));var squel=require(_0x1140('0xb'));var crypto=require(_0x1140('0xc'));var jsforce=require('jsforce');var deskjs=require(_0x1140('0xd'));var toCsv=require(_0x1140('0xe'));var querystring=require('querystring');var Papa=require(_0x1140('0xf'));var Redis=require(_0x1140('0x10'));var authService=require(_0x1140('0x11'));var qs=require('../../components/parsers/qs');var as=require(_0x1140('0x12'));var hardwareService=require(_0x1140('0x13'));var logger=require('../../config/logger')(_0x1140('0x14'));var utils=require(_0x1140('0x15'));var config=require(_0x1140('0x16'));var db=require(_0x1140('0x17'))['db'];config[_0x1140('0x18')]=_[_0x1140('0x19')](config[_0x1140('0x18')],{'host':_0x1140('0x1a'),'port':0x18eb});var socket=require('socket.io-emitter')(new Redis(config[_0x1140('0x18')]));require('./faxAccount.socket')[_0x1140('0x1b')](socket);var jayson=require(_0x1140('0x1c'));var client=jayson['client'][_0x1140('0x1d')]({'port':0x232c});var client9002=jayson['client'][_0x1140('0x1d')]({'port':0x232a});function checkPasswordPattern(_0x489773,_0xde03a,_0xae86cf){if(_0xae86cf){var _0x15471b=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0x15471b[_0x1140('0x1e')](_0xde03a)){return _0x489773;}else{throw new db['Sequelize'][(_0x1140('0x1f'))](_0x1140('0x20'));}}else{return _0x489773;}}function respondWithRpcPromise(_0xffad9a,_0x525271,_0x1568b8,_0x1ea1ad){return new BPromise(function(_0x194edd,_0x4a2cfe){var _0x1ff4cb=_0x1ea1ad||client;return _0x1ff4cb['request'](_0xffad9a,_0x1568b8)[_0x1140('0x21')](function(_0x1633d2){logger[_0x1140('0x22')](_0x1140('0x23'),_0x525271,'request\x20sent');logger[_0x1140('0x24')](_0x1140('0x25'),_0x525271,'request\x20sent',JSON[_0x1140('0x26')](_0x1633d2));if(_0x1633d2[_0x1140('0x27')]){if(_0x1633d2[_0x1140('0x27')][_0x1140('0x28')]===0x1f4){logger[_0x1140('0x27')]('FaxAccount,\x20%s,\x20%s',_0x525271,_0x1633d2[_0x1140('0x27')][_0x1140('0x29')]);return _0x4a2cfe(_0x1633d2[_0x1140('0x27')][_0x1140('0x29')]);}logger[_0x1140('0x27')](_0x1140('0x23'),_0x525271,_0x1633d2[_0x1140('0x27')]['message']);return _0x194edd(_0x1633d2[_0x1140('0x27')][_0x1140('0x29')]);}else{logger['info'](_0x1140('0x23'),_0x525271,_0x1140('0x2a'));_0x194edd(_0x1633d2[_0x1140('0x2b')][_0x1140('0x29')]);}})[_0x1140('0x2c')](function(_0x52c21b){logger[_0x1140('0x27')](_0x1140('0x23'),_0x525271,_0x52c21b);_0x4a2cfe(_0x52c21b);});});}function respondWithStatusCode(_0x2105c6,_0x37302e){_0x37302e=_0x37302e||0xcc;return function(_0x261e27){if(_0x261e27){return _0x2105c6[_0x1140('0x2d')](_0x37302e);}return _0x2105c6[_0x1140('0x2e')](_0x37302e)[_0x1140('0x2f')]();};}function respondWithResult(_0x331dee,_0x34e2a1){_0x34e2a1=_0x34e2a1||0xc8;return function(_0x1d282b){if(_0x1d282b){return _0x331dee[_0x1140('0x2e')](_0x34e2a1)[_0x1140('0x30')](_0x1d282b);}};}function respondWithFilteredResult(_0x10b178,_0x3d014e){return function(_0x4d6626){if(_0x4d6626){var _0x4e339e=_0x4d6626['count'],_0x3c2be8=_0x3d014e[_0x1140('0x31')],_0x2c207f=_0x3d014e[_0x1140('0x31')]+_0x3d014e[_0x1140('0x32')],_0x14dad1;if(_0x2c207f>=_0x4e339e){_0x2c207f=_0x4e339e;_0x14dad1=0xc8;}else{_0x14dad1=0xce;}_0x10b178[_0x1140('0x2e')](_0x14dad1);return _0x10b178['set']('Content-Range',_0x3c2be8+'-'+_0x2c207f+'/'+_0x4e339e)[_0x1140('0x30')](_0x4d6626);}return null;};}function patchUpdates(_0x15c2de){return function(_0x17e513){try{jsonpatch[_0x1140('0x33')](_0x17e513,_0x15c2de,!![]);}catch(_0x284a28){return BPromise[_0x1140('0x34')](_0x284a28);}return _0x17e513[_0x1140('0x35')]();};}function saveUpdates(_0x45fb8c,_0x1c0710){return function(_0x12e877){if(_0x12e877){return _0x12e877[_0x1140('0x36')](_0x45fb8c)[_0x1140('0x21')](function(_0x458fc5){return _0x458fc5;});}return null;};}function removeEntity(_0x529c63,_0x39b7a5){return function(_0x57f35e){if(_0x57f35e){return _0x57f35e['destroy']()[_0x1140('0x21')](function(){var _0x3113dc=_0x57f35e[_0x1140('0x37')]({'plain':!![]});var _0x1128af=_0x1140('0x38');return db['UserProfileResource'][_0x1140('0x39')]({'where':{'type':_0x1128af,'resourceId':_0x3113dc['id']}})[_0x1140('0x21')](function(){return _0x57f35e;});})['then'](function(){_0x529c63[_0x1140('0x2e')](0xcc)[_0x1140('0x2f')]();});}};}function handleEntityNotFound(_0xf92d9,_0x2bc1db){return function(_0x4b7ecb){if(!_0x4b7ecb){_0xf92d9[_0x1140('0x2d')](0x194);}return _0x4b7ecb;};}function handleError(_0x3dd02d,_0x51a880){_0x51a880=_0x51a880||0x1f4;return function(_0x4666ed){logger[_0x1140('0x27')](_0x4666ed[_0x1140('0x3a')]);if(_0x4666ed[_0x1140('0x3b')]){delete _0x4666ed[_0x1140('0x3b')];}_0x3dd02d[_0x1140('0x2e')](_0x51a880)[_0x1140('0x3c')](_0x4666ed);};}exports[_0x1140('0x3d')]=function(_0x257618,_0x550cbe){var _0x249498={'include':[{'model':db['Pause'],'as':'mandatoryDispositionPause'}]},_0x244e60={},_0x4b5d31={'count':0x0,'rows':[]};var _0x441aee=_['map'](db[_0x1140('0x3e')]['rawAttributes'],function(_0x58da43){return{'name':_0x58da43[_0x1140('0x3f')],'type':_0x58da43[_0x1140('0x40')][_0x1140('0x41')]};});_0x244e60[_0x1140('0x42')]=_[_0x1140('0x43')](_0x441aee,_0x1140('0x3b'));_0x244e60[_0x1140('0x44')]=_[_0x1140('0x45')](_0x257618[_0x1140('0x44')]);_0x244e60[_0x1140('0x46')]=_['intersection'](_0x244e60[_0x1140('0x42')],_0x244e60[_0x1140('0x44')]);_0x249498[_0x1140('0x47')]=_[_0x1140('0x48')](_0x244e60[_0x1140('0x42')],qs[_0x1140('0x49')](_0x257618['query'][_0x1140('0x49')]));_0x249498[_0x1140('0x47')]=_0x249498[_0x1140('0x47')][_0x1140('0x4a')]?_0x249498['attributes']:_0x244e60[_0x1140('0x42')];if(!_0x257618[_0x1140('0x44')]['hasOwnProperty'](_0x1140('0x4b'))){_0x249498[_0x1140('0x32')]=qs[_0x1140('0x32')](_0x257618[_0x1140('0x44')][_0x1140('0x32')]);_0x249498[_0x1140('0x31')]=qs[_0x1140('0x31')](_0x257618['query'][_0x1140('0x31')]);}_0x249498['order']=qs['sort'](_0x257618['query'][_0x1140('0x4c')]);_0x249498[_0x1140('0x4d')]=qs[_0x1140('0x46')](_['pick'](_0x257618[_0x1140('0x44')],_0x244e60[_0x1140('0x46')]),_0x441aee);if(_0x257618['query']['filter']){_0x249498['where']=_[_0x1140('0x4e')](_0x249498[_0x1140('0x4d')],{'$or':_['map'](_0x441aee,function(_0x8b3dbe){if(_0x8b3dbe['type']!=='VIRTUAL'){var _0x125ba9={};_0x125ba9[_0x8b3dbe[_0x1140('0x3b')]]={'$like':'%'+_0x257618[_0x1140('0x44')][_0x1140('0x4f')]+'%'};return _0x125ba9;}})});}_0x249498=_[_0x1140('0x4e')]({},_0x249498,_0x257618['options']);var _0x3cc586={'where':_0x249498[_0x1140('0x4d')]};return db[_0x1140('0x3e')][_0x1140('0x50')](_0x3cc586)[_0x1140('0x21')](function(_0x32d5ff){_0x4b5d31['count']=_0x32d5ff;if(_0x257618[_0x1140('0x44')][_0x1140('0x51')]){_0x249498[_0x1140('0x52')]=[{'all':!![]}];}return db[_0x1140('0x3e')][_0x1140('0x53')](_0x249498);})[_0x1140('0x21')](function(_0x275ad4){_0x4b5d31[_0x1140('0x54')]=_0x275ad4;return _0x4b5d31;})[_0x1140('0x21')](respondWithFilteredResult(_0x550cbe,_0x249498))['catch'](handleError(_0x550cbe,null));};exports[_0x1140('0x55')]=function(_0x4751f6,_0x493ab1){var _0x22a9b6={'raw':![],'where':{'id':_0x4751f6[_0x1140('0x56')]['id']},'include':[{'model':db[_0x1140('0x57')],'as':_0x1140('0x58')}]},_0x347bd7={};_0x347bd7[_0x1140('0x42')]=_[_0x1140('0x45')](db['FaxAccount'][_0x1140('0x59')]);_0x347bd7['query']=_[_0x1140('0x45')](_0x4751f6[_0x1140('0x44')]);_0x347bd7[_0x1140('0x46')]=_[_0x1140('0x48')](_0x347bd7['model'],_0x347bd7['query']);_0x22a9b6[_0x1140('0x47')]=_[_0x1140('0x48')](_0x347bd7[_0x1140('0x42')],qs[_0x1140('0x49')](_0x4751f6['query'][_0x1140('0x49')]));_0x22a9b6[_0x1140('0x47')]=_0x22a9b6[_0x1140('0x47')][_0x1140('0x4a')]?_0x22a9b6[_0x1140('0x47')]:_0x347bd7['model'];if(_0x4751f6[_0x1140('0x44')][_0x1140('0x51')]){_0x22a9b6[_0x1140('0x52')]=[{'all':!![]}];}_0x22a9b6=_[_0x1140('0x4e')]({},_0x22a9b6,_0x4751f6[_0x1140('0x5a')]);return db[_0x1140('0x3e')]['find'](_0x22a9b6)['then'](handleEntityNotFound(_0x493ab1,null))['then'](respondWithResult(_0x493ab1,null))[_0x1140('0x2c')](handleError(_0x493ab1,null));};exports[_0x1140('0x5b')]=function(_0x30f43b,_0x30971c){return db[_0x1140('0x3e')][_0x1140('0x5b')](_0x30f43b[_0x1140('0x5c')],{})['then'](function(_0x3e207c){var _0x577dee=_0x30f43b[_0x1140('0x5d')][_0x1140('0x37')]({'plain':!![]});if(!_0x577dee)throw new Error('Unable\x20to\x20retrieve\x20the\x20current\x20user');if(_0x577dee[_0x1140('0x5e')]===_0x1140('0x5d')){var _0x2c2a67=_0x3e207c['get']({'plain':!![]});var _0x5894cd=_0x1140('0x38');return db[_0x1140('0x5f')][_0x1140('0x60')]({'where':{'name':_0x5894cd,'userProfileId':_0x577dee['userProfileId']},'raw':!![]})[_0x1140('0x21')](function(_0x59118f){if(_0x59118f&&_0x59118f[_0x1140('0x61')]===0x0){return db[_0x1140('0x62')]['create']({'name':_0x2c2a67[_0x1140('0x3b')],'resourceId':_0x2c2a67['id'],'type':_0x59118f[_0x1140('0x3b')],'sectionId':_0x59118f['id']},{})[_0x1140('0x21')](function(){return _0x3e207c;});}else{return _0x3e207c;}})[_0x1140('0x2c')](function(_0x4310dc){logger[_0x1140('0x27')](_0x1140('0x63'),_0x4310dc);throw _0x4310dc;});}return _0x3e207c;})['then'](respondWithResult(_0x30971c,0xc9))[_0x1140('0x2c')](handleError(_0x30971c,null));};exports['update']=function(_0x30caac,_0x25c92f){if(_0x30caac['body']['id']){delete _0x30caac[_0x1140('0x5c')]['id'];}return db[_0x1140('0x3e')][_0x1140('0x60')]({'where':{'id':_0x30caac['params']['id']},'include':[{'model':db[_0x1140('0x57')],'as':'mandatoryDispositionPause'}]})[_0x1140('0x21')](handleEntityNotFound(_0x25c92f,null))[_0x1140('0x21')](saveUpdates(_0x30caac[_0x1140('0x5c')],null))[_0x1140('0x21')](respondWithResult(_0x25c92f,null))[_0x1140('0x2c')](handleError(_0x25c92f,null));};exports[_0x1140('0x39')]=function(_0xa9bebe,_0xb5dab9){return db[_0x1140('0x3e')][_0x1140('0x60')]({'where':{'id':_0xa9bebe[_0x1140('0x56')]['id']}})[_0x1140('0x21')](handleEntityNotFound(_0xb5dab9,null))[_0x1140('0x21')](removeEntity(_0xb5dab9,null))[_0x1140('0x2c')](handleError(_0xb5dab9,null));};exports[_0x1140('0x64')]=function(_0x39b83f,_0x4092c6){return db[_0x1140('0x3e')][_0x1140('0x64')]()[_0x1140('0x21')](respondWithResult(_0x4092c6,null))[_0x1140('0x2c')](handleError(_0x4092c6,null));};exports[_0x1140('0x65')]=function(_0x9a1d75,_0x7240,_0x326f73){if(_0x9a1d75[_0x1140('0x5c')]['id']){delete _0x9a1d75['body']['id'];}return db[_0x1140('0x3e')][_0x1140('0x60')]({'where':{'id':_0x9a1d75['params']['id']}})[_0x1140('0x21')](handleEntityNotFound(_0x7240,null))['then'](function(_0x4b8e2a){if(_0x4b8e2a){_0x9a1d75[_0x1140('0x5c')][_0x1140('0x66')]=_0x4b8e2a['id'];return db['Disposition']['create'](_0x9a1d75[_0x1140('0x5c')]);}})['then'](respondWithResult(_0x7240,null))[_0x1140('0x2c')](handleError(_0x7240,null));};exports['getDispositions']=function(_0x39d7e3,_0x509563,_0x1a9b69){var _0x6d21a9={'raw':![],'where':{}};var _0x526c85={};var _0x4dd3e4={'count':0x0,'rows':[]};return db['FaxAccount'][_0x1140('0x67')]({'where':{'id':_0x39d7e3[_0x1140('0x56')]['id']}})[_0x1140('0x21')](handleEntityNotFound(_0x509563,null))['then'](function(_0x27dca3){if(_0x27dca3){_0x526c85[_0x1140('0x42')]=_['keys'](db[_0x1140('0x68')][_0x1140('0x59')]);_0x526c85[_0x1140('0x44')]=_[_0x1140('0x45')](_0x39d7e3[_0x1140('0x44')]);_0x526c85['filters']=_[_0x1140('0x48')](_0x526c85[_0x1140('0x42')],_0x526c85['query']);_0x6d21a9[_0x1140('0x47')]=_[_0x1140('0x48')](_0x526c85[_0x1140('0x42')],qs[_0x1140('0x49')](_0x39d7e3['query'][_0x1140('0x49')]));_0x6d21a9[_0x1140('0x47')]=_0x6d21a9[_0x1140('0x47')][_0x1140('0x4a')]?_0x6d21a9[_0x1140('0x47')]:_0x526c85[_0x1140('0x42')];if(!_0x39d7e3[_0x1140('0x44')]['hasOwnProperty'](_0x1140('0x4b'))){_0x6d21a9[_0x1140('0x32')]=qs[_0x1140('0x32')](_0x39d7e3[_0x1140('0x44')][_0x1140('0x32')]);_0x6d21a9['offset']=qs[_0x1140('0x31')](_0x39d7e3[_0x1140('0x44')][_0x1140('0x31')]);}_0x6d21a9[_0x1140('0x69')]=qs['sort'](_0x39d7e3['query']['sort']);_0x6d21a9[_0x1140('0x4d')]=qs[_0x1140('0x46')](_[_0x1140('0x6a')](_0x39d7e3[_0x1140('0x44')],_0x526c85[_0x1140('0x46')]));_0x6d21a9[_0x1140('0x4d')][_0x1140('0x66')]=_0x27dca3['id'];if(_0x39d7e3[_0x1140('0x44')][_0x1140('0x4f')]){_0x6d21a9[_0x1140('0x4d')]=_['merge'](_0x6d21a9[_0x1140('0x4d')],{'$or':_[_0x1140('0x43')](_0x6d21a9[_0x1140('0x47')],function(_0x17fcd8){var _0x418345={};_0x418345[_0x17fcd8]={'$like':'%'+_0x39d7e3[_0x1140('0x44')][_0x1140('0x4f')]+'%'};return _0x418345;})});}_0x6d21a9=_[_0x1140('0x4e')]({},_0x6d21a9,_0x39d7e3[_0x1140('0x5a')]);return db[_0x1140('0x68')][_0x1140('0x50')]({'where':_0x6d21a9[_0x1140('0x4d')]})[_0x1140('0x21')](function(_0x2e73ca){_0x4dd3e4[_0x1140('0x50')]=_0x2e73ca;if(_0x39d7e3['query'][_0x1140('0x51')]){_0x6d21a9[_0x1140('0x52')]=[{'all':!![]}];}return db['Disposition'][_0x1140('0x53')](_0x6d21a9);})[_0x1140('0x21')](function(_0x50456b){_0x4dd3e4['rows']=_0x50456b;return _0x4dd3e4;});}})[_0x1140('0x21')](respondWithFilteredResult(_0x509563,_0x6d21a9))[_0x1140('0x2c')](handleError(_0x509563,null));};exports[_0x1140('0x6b')]=function(_0x1d5848,_0x12d7e9,_0x1af52f){return db[_0x1140('0x3e')]['find']({'where':{'id':_0x1d5848[_0x1140('0x56')]['id']}})[_0x1140('0x21')](handleEntityNotFound(_0x12d7e9,null))[_0x1140('0x21')](function(_0x548302){if(_0x548302){return _0x548302['removeDispositions'](_0x1d5848['query'][_0x1140('0x6c')]);}})['then'](respondWithStatusCode(_0x12d7e9,null))[_0x1140('0x2c')](handleError(_0x12d7e9,null));};exports[_0x1140('0x6d')]=function(_0x1e30e2,_0x32ab39,_0x35a0df){if(_0x1e30e2[_0x1140('0x5c')]['id']){delete _0x1e30e2['body']['id'];}return db[_0x1140('0x3e')]['find']({'where':{'id':_0x1e30e2['params']['id']}})[_0x1140('0x21')](handleEntityNotFound(_0x32ab39,null))[_0x1140('0x21')](function(_0xa8174){if(_0xa8174){_0x1e30e2[_0x1140('0x5c')][_0x1140('0x66')]=_0xa8174['id'];return db[_0x1140('0x6e')][_0x1140('0x5b')](_0x1e30e2[_0x1140('0x5c')]);}})[_0x1140('0x21')](respondWithResult(_0x32ab39,null))[_0x1140('0x2c')](handleError(_0x32ab39,null));};exports[_0x1140('0x6f')]=function(_0x11e05a,_0x2a16ec,_0x50e1d9){var _0x632611={'raw':![],'where':{}};var _0x50d9cf={};var _0x31cdec={'count':0x0,'rows':[]};return db[_0x1140('0x3e')][_0x1140('0x67')]({'where':{'id':_0x11e05a['params']['id']}})[_0x1140('0x21')](handleEntityNotFound(_0x2a16ec,null))[_0x1140('0x21')](function(_0x34946a){if(_0x34946a){_0x50d9cf['model']=_[_0x1140('0x45')](db[_0x1140('0x6e')][_0x1140('0x59')]);_0x50d9cf[_0x1140('0x44')]=_['keys'](_0x11e05a[_0x1140('0x44')]);_0x50d9cf[_0x1140('0x46')]=_[_0x1140('0x48')](_0x50d9cf['model'],_0x50d9cf[_0x1140('0x44')]);_0x632611[_0x1140('0x47')]=_[_0x1140('0x48')](_0x50d9cf['model'],qs[_0x1140('0x49')](_0x11e05a[_0x1140('0x44')][_0x1140('0x49')]));_0x632611['attributes']=_0x632611[_0x1140('0x47')][_0x1140('0x4a')]?_0x632611['attributes']:_0x50d9cf[_0x1140('0x42')];if(!_0x11e05a[_0x1140('0x44')]['hasOwnProperty'](_0x1140('0x4b'))){_0x632611[_0x1140('0x32')]=qs['limit'](_0x11e05a[_0x1140('0x44')][_0x1140('0x32')]);_0x632611[_0x1140('0x31')]=qs[_0x1140('0x31')](_0x11e05a[_0x1140('0x44')][_0x1140('0x31')]);}_0x632611[_0x1140('0x69')]=qs['sort'](_0x11e05a['query'][_0x1140('0x4c')]);_0x632611[_0x1140('0x4d')]=qs['filters'](_[_0x1140('0x6a')](_0x11e05a[_0x1140('0x44')],_0x50d9cf[_0x1140('0x46')]));_0x632611[_0x1140('0x4d')]['FaxAccountId']=_0x34946a['id'];if(_0x11e05a[_0x1140('0x44')][_0x1140('0x4f')]){_0x632611[_0x1140('0x4d')]=_[_0x1140('0x4e')](_0x632611[_0x1140('0x4d')],{'$or':_[_0x1140('0x43')](_0x632611[_0x1140('0x47')],function(_0xdf7e01){var _0x4f840e={};_0x4f840e[_0xdf7e01]={'$like':'%'+_0x11e05a['query'][_0x1140('0x4f')]+'%'};return _0x4f840e;})});}_0x632611=_[_0x1140('0x4e')]({},_0x632611,_0x11e05a[_0x1140('0x5a')]);return db[_0x1140('0x6e')][_0x1140('0x50')]({'where':_0x632611[_0x1140('0x4d')]})[_0x1140('0x21')](function(_0x45119c){_0x31cdec[_0x1140('0x50')]=_0x45119c;if(_0x11e05a[_0x1140('0x44')][_0x1140('0x51')]){_0x632611[_0x1140('0x52')]=[{'all':!![]}];}return db['CannedAnswer']['findAll'](_0x632611);})['then'](function(_0x2535d7){_0x31cdec[_0x1140('0x54')]=_0x2535d7;return _0x31cdec;});}})[_0x1140('0x21')](respondWithFilteredResult(_0x2a16ec,_0x632611))[_0x1140('0x2c')](handleError(_0x2a16ec,null));};exports[_0x1140('0x70')]=function(_0x5a042e,_0x4ca8ff,_0xebea0d){return db['FaxAccount']['find']({'where':{'id':_0x5a042e[_0x1140('0x56')]['id']}})[_0x1140('0x21')](handleEntityNotFound(_0x4ca8ff,null))[_0x1140('0x21')](function(_0x11daa5){if(_0x11daa5){return _0x11daa5[_0x1140('0x70')](_0x5a042e['query']['ids']);}})[_0x1140('0x21')](respondWithStatusCode(_0x4ca8ff,null))[_0x1140('0x2c')](handleError(_0x4ca8ff,null));};exports[_0x1140('0x71')]=function(_0x36622e,_0x4a2fe7,_0x4b51a7){return db[_0x1140('0x72')]['find']({'where':{'id':_0x36622e[_0x1140('0x56')]['id']}})[_0x1140('0x21')](handleEntityNotFound(_0x4a2fe7,null))[_0x1140('0x21')](function(_0xe1b213){if(_0xe1b213){return _0xe1b213[_0x1140('0x71')](_0x36622e[_0x1140('0x5c')][_0x1140('0x6c')],_[_0x1140('0x73')](_0x36622e['body'],[_0x1140('0x6c'),'id'])||{});}})['then'](respondWithResult(_0x4a2fe7,null))[_0x1140('0x2c')](handleError(_0x4a2fe7,null));};exports[_0x1140('0x74')]=function(_0x120aaf,_0x1eafd6,_0x1dfaa1){var _0x349d87={'raw':![],'where':{}};var _0x4277f5={};var _0x1c17e0={'count':0x0,'rows':[]};return db['FaxAccount'][_0x1140('0x67')]({'where':{'id':_0x120aaf[_0x1140('0x56')]['id']}})[_0x1140('0x21')](handleEntityNotFound(_0x1eafd6,null))[_0x1140('0x21')](function(_0x13754f){if(_0x13754f){_0x4277f5[_0x1140('0x42')]=_[_0x1140('0x45')](db[_0x1140('0x72')][_0x1140('0x59')]);_0x4277f5[_0x1140('0x44')]=_[_0x1140('0x45')](_0x120aaf[_0x1140('0x44')]);_0x4277f5[_0x1140('0x46')]=_[_0x1140('0x48')](_0x4277f5[_0x1140('0x42')],_0x4277f5[_0x1140('0x44')]);_0x349d87[_0x1140('0x47')]=_['intersection'](_0x4277f5['model'],qs[_0x1140('0x49')](_0x120aaf['query']['fields']));_0x349d87['attributes']=_0x349d87[_0x1140('0x47')][_0x1140('0x4a')]?_0x349d87[_0x1140('0x47')]:_0x4277f5[_0x1140('0x42')];if(!_0x120aaf[_0x1140('0x44')][_0x1140('0x75')](_0x1140('0x4b'))){_0x349d87['limit']=qs[_0x1140('0x32')](_0x120aaf['query']['limit']);_0x349d87['offset']=qs['offset'](_0x120aaf[_0x1140('0x44')]['offset']);}_0x349d87[_0x1140('0x69')]=qs['sort'](_0x120aaf[_0x1140('0x44')]['sort']);_0x349d87['where']=qs['filters'](_[_0x1140('0x6a')](_0x120aaf[_0x1140('0x44')],_0x4277f5[_0x1140('0x46')]));_0x349d87['where'][_0x1140('0x66')]=_0x13754f['id'];if(_0x120aaf[_0x1140('0x44')][_0x1140('0x4f')]){_0x349d87[_0x1140('0x4d')]=_[_0x1140('0x4e')](_0x349d87[_0x1140('0x4d')],{'$or':_[_0x1140('0x43')](_0x349d87[_0x1140('0x47')],function(_0x9294ad){var _0x4c4761={};_0x4c4761[_0x9294ad]={'$like':'%'+_0x120aaf['query'][_0x1140('0x4f')]+'%'};return _0x4c4761;})});}_0x349d87=_[_0x1140('0x4e')]({},_0x349d87,_0x120aaf[_0x1140('0x5a')]);return db[_0x1140('0x72')]['count']({'where':_0x349d87['where']})[_0x1140('0x21')](function(_0x15b135){_0x1c17e0[_0x1140('0x50')]=_0x15b135;if(_0x120aaf[_0x1140('0x44')]['includeAll']){_0x349d87[_0x1140('0x52')]=[{'model':db[_0x1140('0x76')],'as':_0x1140('0x77'),'required':![]},{'model':db[_0x1140('0x78')],'as':'Owner','attributes':[_0x1140('0x3b'),_0x1140('0x79'),_0x1140('0x7a')],'required':![]},{'model':db['Tag'],'as':_0x1140('0x7b'),'attributes':['id','name','color'],'where':_0x120aaf['query'][_0x1140('0x7c')]?{'id':_0x120aaf[_0x1140('0x44')][_0x1140('0x7c')]}:undefined,'required':_0x120aaf[_0x1140('0x44')]['tag']?!![]:![]}];}return db['FaxInteraction'][_0x1140('0x53')](_0x349d87);})['then'](function(_0x144de1){_0x1c17e0[_0x1140('0x54')]=_0x144de1;return _0x1c17e0;});}})[_0x1140('0x21')](respondWithFilteredResult(_0x1eafd6,_0x349d87))[_0x1140('0x2c')](handleError(_0x1eafd6,null));};exports[_0x1140('0x7d')]=function(_0x270fb8,_0xbce50,_0x2c6e31){return db['FaxAccount'][_0x1140('0x67')]({'where':{'id':_0x270fb8[_0x1140('0x56')]['id']}})['then'](handleEntityNotFound(_0xbce50,null))['then'](function(_0x5f00d2){if(_0x5f00d2){return db[_0x1140('0x7e')][_0x1140('0x7f')](function(_0xff6b){return db[_0x1140('0x80')][_0x1140('0x39')]({'where':{'FaxAccountId':_0x270fb8['params']['id']},'transaction':_0xff6b})[_0x1140('0x21')](function(_0x14fc84){var _0x3cc4f6=_[_0x1140('0x43')](_0x270fb8[_0x1140('0x5c')],function(_0x164c73){_0x164c73[_0x1140('0x66')]=_0x270fb8[_0x1140('0x56')]['id'];return _0x164c73;});return db[_0x1140('0x80')][_0x1140('0x81')](_0x3cc4f6,{'transaction':_0xff6b});});})['then'](function(){return db['FaxApplication'][_0x1140('0x82')]({'where':{'FaxAccountId':_0x270fb8['params']['id']},'order':_0x1140('0x83')});});}})[_0x1140('0x21')](respondWithResult(_0xbce50,null))[_0x1140('0x2c')](handleError(_0xbce50,null));};exports[_0x1140('0x84')]=function(_0x4f5b19,_0x378821,_0x49f1e3){var _0x263586={};var _0x1160f4={};var _0x303e4a;var _0x23259e;return db['FaxAccount'][_0x1140('0x67')]({'where':{'id':_0x4f5b19[_0x1140('0x56')]['id']}})[_0x1140('0x21')](handleEntityNotFound(_0x378821,null))[_0x1140('0x21')](function(_0x5ca6e2){if(_0x5ca6e2){_0x303e4a=_0x5ca6e2;_0x1160f4['model']=_[_0x1140('0x45')](db[_0x1140('0x80')][_0x1140('0x59')]);_0x1160f4['query']=_[_0x1140('0x45')](_0x4f5b19[_0x1140('0x44')]);_0x1160f4['filters']=_['intersection'](_0x1160f4[_0x1140('0x42')],_0x1160f4[_0x1140('0x44')]);_0x263586[_0x1140('0x47')]=_['intersection'](_0x1160f4[_0x1140('0x42')],qs[_0x1140('0x49')](_0x4f5b19[_0x1140('0x44')]['fields']));_0x263586['attributes']=_0x263586[_0x1140('0x47')][_0x1140('0x4a')]?_0x263586[_0x1140('0x47')]:_0x1160f4[_0x1140('0x42')];_0x263586[_0x1140('0x69')]=qs[_0x1140('0x4c')](_0x4f5b19[_0x1140('0x44')][_0x1140('0x4c')]);_0x263586[_0x1140('0x4d')]=qs[_0x1140('0x46')](_['pick'](_0x4f5b19['query'],_0x1160f4['filters']));if(_0x4f5b19[_0x1140('0x44')][_0x1140('0x4f')]){_0x263586[_0x1140('0x4d')]=_[_0x1140('0x4e')](_0x263586['where'],{'$or':_[_0x1140('0x43')](_0x263586[_0x1140('0x47')],function(_0x329682){var _0x3b7abf={};_0x3b7abf[_0x329682]={'$like':'%'+_0x4f5b19[_0x1140('0x44')][_0x1140('0x4f')]+'%'};return _0x3b7abf;})});}_0x263586=_[_0x1140('0x4e')]({},_0x263586,_0x4f5b19[_0x1140('0x5a')]);return _0x303e4a['getApplications'](_0x263586);}})[_0x1140('0x21')](function(_0x779c67){if(_0x779c67){_0x23259e=_0x779c67[_0x1140('0x4a')];if(!_0x4f5b19[_0x1140('0x44')][_0x1140('0x75')](_0x1140('0x4b'))){_0x263586['limit']=qs['limit'](_0x4f5b19['query'][_0x1140('0x32')]);_0x263586[_0x1140('0x31')]=qs['offset'](_0x4f5b19[_0x1140('0x44')]['offset']);}return _0x303e4a[_0x1140('0x84')](_0x263586);}})[_0x1140('0x21')](function(_0x4d10c9){if(_0x4d10c9){return _0x4d10c9?{'count':_0x23259e,'rows':_0x4d10c9}:null;}})[_0x1140('0x21')](respondWithResult(_0x378821,null))['catch'](handleError(_0x378821,null));};function Extension(_0x593440,_0x55766f,_0x4b80aa,_0xb29bf3){this[_0x1140('0x85')]=_0x1140('0x86');this[_0x1140('0x87')]=_0x593440[_0x1140('0x88')];this[_0x1140('0x89')]=_0xb29bf3;this[_0x1140('0x40')]=_0x1140('0x8a');this[_0x1140('0x8b')]=_0x1140('0x8c');this[_0x1140('0x66')]=_0x593440['id'];this[_0x1140('0x83')]=_0x55766f;this[_0x1140('0x8d')]=_0x4b80aa;}function createExtensionsReciveFax(_0x581d03){var _0x2b97b1=0x1;var _0x1d60be=[];_0x1d60be[_0x1140('0x8e')](new Extension(_0x581d03,_0x2b97b1,'',_0x1140('0x8f')));_0x2b97b1+=0x1;_0x1d60be[_0x1140('0x8e')](new Extension(_0x581d03,_0x2b97b1,_0x1140('0x90'),_0x1140('0x91')));_0x2b97b1+=0x1;for(var _0x36cec4 in _0x581d03){if(_0x581d03[_0x1140('0x75')](_0x36cec4)&&(_0x36cec4===_0x1140('0x92')||_0x36cec4===_0x1140('0x88')||_0x36cec4===_0x1140('0x93')||_0x36cec4===_0x1140('0x94')||_0x36cec4==='headerinfo'||_0x36cec4==='maxrate'||_0x36cec4===_0x1140('0x95')||_0x36cec4==='modem'||_0x36cec4===_0x1140('0x96'))){_0x1d60be[_0x1140('0x8e')](new Extension(_0x581d03,_0x2b97b1,_0x1140('0x97')+_0x36cec4+')='+_0x581d03[_0x36cec4],_0x1140('0x91')));_0x2b97b1+=0x1;}}_0x1d60be[_0x1140('0x8e')](new Extension(_0x581d03,_0x2b97b1,'6',_0x1140('0x98')));_0x2b97b1+=0x1;_0x1d60be[_0x1140('0x8e')](new Extension(_0x581d03,_0x2b97b1,_0x1140('0x99'),_0x1140('0x9a')));_0x2b97b1=0x0;return _0x1d60be;}exports[_0x1140('0x9b')]=function(_0x1f2b92,_0x1d0ae0,_0x48062e){var _0xb40760;return db[_0x1140('0x7e')][_0x1140('0x7f')](function(_0xd632d7){return db[_0x1140('0x3e')][_0x1140('0x5b')](_0x1f2b92[_0x1140('0x5c')],{'transaction':_0xd632d7})[_0x1140('0x21')](function(_0x1c9a18){_0xb40760=_0x1c9a18[_0x1140('0x37')]({'plain':!![]});return db[_0x1140('0x9c')][_0x1140('0x81')](createExtensionsReciveFax(_0xb40760),{'transaction':_0xd632d7});});})[_0x1140('0x21')](function(){return _0xb40760;})['then'](respondWithResult(_0x1d0ae0,null))[_0x1140('0x2c')](handleError(_0x1d0ae0,null));};exports[_0x1140('0x9d')]=function(_0xb09a36,_0x2f0a1b,_0x54d567){var _0x458403;return db['sequelize'][_0x1140('0x7f')](function(_0x3ddf19){return db[_0x1140('0x3e')][_0x1140('0x36')](_0xb09a36[_0x1140('0x5c')],{'where':{'id':_0xb09a36[_0x1140('0x5c')]['id']},'transaction':_0x3ddf19})['then'](function(_0x6f39c8){return db['VoiceExtension']['destroy']({'where':{'FaxAccountId':_0xb09a36[_0x1140('0x5c')]['id']},'transaction':_0x3ddf19})['then'](function(_0x4146e0){return db['VoiceExtension'][_0x1140('0x81')](createExtensionsReciveFax(_[_0x1140('0x73')](_0xb09a36['body'],[_0x1140('0x9e'),_0x1140('0x41'),_0x1140('0x9f'),_0x1140('0xa0'),'TrunkId',_0x1140('0xa1')])),{'transaction':_0x3ddf19});});});})[_0x1140('0x21')](function(){return db[_0x1140('0x3e')][_0x1140('0xa2')](_0xb09a36[_0x1140('0x5c')]['id']);})[_0x1140('0x21')](respondWithResult(_0x2f0a1b,null))[_0x1140('0x2c')](handleError(_0x2f0a1b,null));};exports[_0x1140('0xa3')]=function(_0x2a10e9,_0x698a00,_0x5b69b7){var _0x1bdb29={'raw':!![],'where':{}};var _0x257b9b={};var _0x10d4f4={'count':0x0,'rows':[]};return db[_0x1140('0x3e')]['findOne']({'where':{'id':_0x2a10e9[_0x1140('0x56')]['id']}})[_0x1140('0x21')](handleEntityNotFound(_0x698a00,null))['then'](function(_0x4fb5af){if(_0x4fb5af){_0x257b9b[_0x1140('0x42')]=_[_0x1140('0x45')](db[_0x1140('0xa4')][_0x1140('0x59')]);_0x257b9b[_0x1140('0x44')]=_[_0x1140('0x45')](_0x2a10e9[_0x1140('0x44')]);_0x257b9b[_0x1140('0x46')]=_[_0x1140('0x48')](_0x257b9b['model'],_0x257b9b['query']);_0x1bdb29[_0x1140('0x47')]=_[_0x1140('0x48')](_0x257b9b[_0x1140('0x42')],qs[_0x1140('0x49')](_0x2a10e9['query'][_0x1140('0x49')]));_0x1bdb29['attributes']=_0x1bdb29[_0x1140('0x47')][_0x1140('0x4a')]?_0x1bdb29['attributes']:_0x257b9b[_0x1140('0x42')];if(!_0x2a10e9['query'][_0x1140('0x75')](_0x1140('0x4b'))){_0x1bdb29['limit']=qs[_0x1140('0x32')](_0x2a10e9[_0x1140('0x44')][_0x1140('0x32')]);_0x1bdb29[_0x1140('0x31')]=qs['offset'](_0x2a10e9[_0x1140('0x44')][_0x1140('0x31')]);}_0x1bdb29[_0x1140('0x69')]=qs['sort'](_0x2a10e9['query'][_0x1140('0x4c')]);_0x1bdb29[_0x1140('0x4d')]=qs[_0x1140('0x46')](_['pick'](_0x2a10e9[_0x1140('0x44')],_0x257b9b['filters']));_0x1bdb29['where'][_0x1140('0x66')]=_0x4fb5af['id'];if(_0x2a10e9[_0x1140('0x44')][_0x1140('0x4f')]){_0x1bdb29[_0x1140('0x4d')]=_[_0x1140('0x4e')](_0x1bdb29[_0x1140('0x4d')],{'$or':_[_0x1140('0x43')](_0x1bdb29['attributes'],function(_0x1c0f74){var _0x1fbc68={};_0x1fbc68[_0x1c0f74]={'$like':'%'+_0x2a10e9['query'][_0x1140('0x4f')]+'%'};return _0x1fbc68;})});}if(_0x2a10e9['query'][_0x1140('0xa5')]){var _0x31a564=_0x2a10e9[_0x1140('0x44')][_0x1140('0xa5')]['split'](',');var _0x353f26={};_0x353f26[_0x31a564[0x0]]={'$gte':moment(_0x31a564[0x1])[_0x1140('0xa6')](_0x1140('0xa7'))};_0x1bdb29['where']=_[_0x1140('0x4e')](_0x1bdb29[_0x1140('0x4d')],_0x353f26);}_0x1bdb29=_[_0x1140('0x4e')]({},_0x1bdb29,_0x2a10e9[_0x1140('0x5a')]);return db[_0x1140('0xa4')][_0x1140('0x50')]({'where':_0x1bdb29['where']})[_0x1140('0x21')](function(_0x107f94){_0x10d4f4[_0x1140('0x50')]=_0x107f94;if(_0x2a10e9[_0x1140('0x44')]['includeAll']){_0x1bdb29[_0x1140('0x52')]=[{'all':!![]}];}return db[_0x1140('0xa4')][_0x1140('0x53')](_0x1bdb29);})[_0x1140('0x21')](function(_0x268fb4){_0x10d4f4[_0x1140('0x54')]=_0x268fb4;return _0x10d4f4;});}})[_0x1140('0x21')](respondWithFilteredResult(_0x698a00,_0x1bdb29))[_0x1140('0x2c')](handleError(_0x698a00,null));};exports[_0x1140('0x3c')]=function(_0x1646ab,_0x849757,_0x25c537){var _0x30037f,_0x5673a2={},_0x5091f0;if(_0x1646ab[_0x1140('0x5c')]['to']){_0x5091f0=_0x1646ab[_0x1140('0x5c')]['to'][0x0];}return db[_0x1140('0x3e')][_0x1140('0x60')]({'where':{'id':_0x1646ab[_0x1140('0x56')]['id']},'include':[{'model':db[_0x1140('0xa8')],'as':_0x1140('0xa9'),'include':[{'model':db[_0x1140('0x76')],'as':_0x1140('0xaa'),'where':{'fax':_0x5091f0},'limit':0x1,'order':[[_0x1140('0xa0'),_0x1140('0xab')]]}]}]})[_0x1140('0x21')](handleEntityNotFound(_0x849757,null))[_0x1140('0x21')](function(_0x55f745){_0x30037f=_0x55f745;if(_0x1646ab[_0x1140('0x5c')]['attachments']&&_0x1646ab[_0x1140('0x5c')]['attachments']['length']){for(var _0x57977d=0x0;_0x57977d<_0x1646ab[_0x1140('0x5c')]['attachments'][_0x1140('0x4a')];_0x57977d+=0x1){_0x1646ab[_0x1140('0x5c')][_0x1140('0xac')][_0x57977d]={'filename':_0x1646ab['body'][_0x1140('0xac')][_0x57977d][_0x1140('0x3b')],'id':_0x1646ab[_0x1140('0x5c')]['attachments'][_0x57977d]['id'],'path':path[_0x1140('0xad')](config['root'],_0x1140('0xae'),_0x1646ab[_0x1140('0x5c')][_0x1140('0xac')][_0x57977d]['basename'])};}}return respondWithRpcPromise(_0x1140('0xaf'),'CheckAfterSend',{'FaxAccountId':_[_0x1140('0xb0')](_0x1646ab[_0x1140('0x56')]['id'])?undefined:_0x1646ab[_0x1140('0x56')]['id'],'path':_[_0x1140('0xb0')](_0x1646ab['body'][_0x1140('0xac')][0x0][_0x1140('0x7')])?undefined:_0x1646ab[_0x1140('0x5c')][_0x1140('0xac')][0x0][_0x1140('0x7')],'fax':_[_0x1140('0xb0')](_0x1646ab[_0x1140('0x5c')]['to'][0x0])?undefined:_0x1646ab[_0x1140('0x5c')]['to'][0x0]},client9002);})[_0x1140('0x21')](function(){if(_0x30037f){if(_[_0x1140('0xb0')](_0x1646ab['body'][_0x1140('0xb1')])){_0x1646ab[_0x1140('0x5c')]['from']=util[_0x1140('0xa6')](_0x1140('0xb2'),_0x30037f['name'],_0x30037f[_0x1140('0xb3')]);}if(_0x30037f[_0x1140('0xa9')]){if(_0x30037f[_0x1140('0xa9')][_0x1140('0xaa')]['length']){return _0x30037f[_0x1140('0xa9')][_0x1140('0xaa')][0x0];}else{return db[_0x1140('0x76')][_0x1140('0x5b')](_['defaults'](_0x1646ab[_0x1140('0x5c')],{'firstName':_0x1646ab[_0x1140('0x5c')]['to'][0x0],'phone':_0x1646ab[_0x1140('0x5c')]['to'][0x0],'fax':_0x1646ab[_0x1140('0x5c')]['to'][0x0],'ListId':_0x30037f[_0x1140('0xa1')]}));}}else{throw new Error(_0x1140('0xb4'));}}else{throw new Error(_0x1140('0xb5'));}})[_0x1140('0x21')](function(_0x25bd02){if(_0x25bd02){return db[_0x1140('0x72')][_0x1140('0x60')]({'where':{'ContactId':_0x25bd02['id'],'closed':![],'FaxAccountId':_0x30037f['id']}})[_0x1140('0x21')](function(_0x565316){if(_0x565316){return[_0x565316,![]];}return db[_0x1140('0x72')]['create']({'UserId':_0x1646ab[_0x1140('0x5d')]['id'],'ContactId':_0x25bd02['id'],'FaxAccountId':_0x30037f['id'],'fax':_0x1646ab[_0x1140('0x5c')]['to'][0x0],'firstMsgDirection':'out','Messages':[_[_0x1140('0x4e')](_0x1646ab[_0x1140('0x5c')],{'read':![],'body':_0x1646ab[_0x1140('0x5c')][_0x1140('0xac')][0x0][_0x1140('0xb6')],'FaxAccountId':_0x30037f['id'],'UserId':_0x1646ab[_0x1140('0x5d')]['id'],'ContactId':_0x25bd02['id'],'AttachmentId':_0x1646ab[_0x1140('0x5c')]['attachments'][0x0]['id']})]},{'include':[{'model':db[_0x1140('0xa4')],'as':_0x1140('0xb7')}]})[_0x1140('0x21')](function(_0x5dd95d){return[_0x5dd95d,!![]];});});}else{throw new Error(_0x1140('0xb8'));}})[_0x1140('0xb9')](function(_0xef33f5,_0x2341ff){if(_0x2341ff){return _0xef33f5;}return db[_0x1140('0xa4')]['create']({'direction':'out','read':![],'body':_0x1646ab[_0x1140('0x5c')][_0x1140('0xac')][0x0][_0x1140('0xb6')],'FaxAccountId':_0x30037f['id'],'FaxInteractionId':_0xef33f5['id'],'UserId':_0x1646ab[_0x1140('0x5d')]['id'],'ContactId':_0xef33f5['ContactId'],'AttachmentId':_0x1646ab[_0x1140('0x5c')][_0x1140('0xac')][0x0]['id']})[_0x1140('0x21')](function(_0x17d5d8){_0xef33f5[_0x1140('0xba')]['Messages']=[];_0xef33f5[_0x1140('0xba')][_0x1140('0xb7')]['push'](_0x17d5d8[_0x1140('0xba')]);return _0xef33f5;});})['then'](function(_0x1d399c){respondWithRpcPromise('SendFax',_0x1140('0xbb'),{'FaxAccountId':_[_0x1140('0xb0')](_0x1646ab[_0x1140('0x56')]['id'])?undefined:_0x1646ab[_0x1140('0x56')]['id'],'path':_[_0x1140('0xb0')](_0x1646ab[_0x1140('0x5c')][_0x1140('0xac')][0x0][_0x1140('0x7')])?undefined:_0x1646ab[_0x1140('0x5c')][_0x1140('0xac')][0x0]['path'],'fax':_[_0x1140('0xb0')](_0x1646ab[_0x1140('0x5c')]['to'][0x0])?undefined:_0x1646ab[_0x1140('0x5c')]['to'][0x0],'AttachmentId':_0x1646ab[_0x1140('0x5c')][_0x1140('0xac')][0x0]['id']},client9002)[_0x1140('0x21')](function(_0x24a0ba){logger[_0x1140('0x22')](_0x1140('0xbc'),_0x24a0ba);})['catch'](function(_0x27b02b){logger[_0x1140('0x22')]('SendFaxRpc,\x20%s',_0x27b02b);});return _0x1d399c;})[_0x1140('0x21')](respondWithResult(_0x849757,null))[_0x1140('0x2c')](handleError(_0x849757,null));};exports[_0x1140('0xbd')]=function(_0x2a56fd,_0x2f4823,_0x438a2f){return db[_0x1140('0x3e')][_0x1140('0x60')]({'where':{'id':_0x2a56fd[_0x1140('0x56')]['id']}})[_0x1140('0x21')](handleEntityNotFound(_0x2f4823,null))['then'](function(_0x590179){if(_0x590179){return _0x590179[_0x1140('0xbd')](_0x2a56fd[_0x1140('0x5c')]['ids'],_[_0x1140('0x73')](_0x2a56fd[_0x1140('0x5c')],[_0x1140('0x6c'),'id'])||{})[_0x1140('0xb9')](function(_0x182e7e){for(var _0x1232dc=0x0;_0x1232dc<_0x2a56fd[_0x1140('0x5c')][_0x1140('0x6c')][_0x1140('0x4a')];_0x1232dc+=0x1){socket[_0x1140('0xbe')](_0x1140('0xbf'),{'UserId':_0x2a56fd['body'][_0x1140('0x6c')][_0x1232dc],'FaxAccountId':_0x2a56fd[_0x1140('0x56')]['id']});}return _0x182e7e;});}})['then'](respondWithResult(_0x2f4823,null))[_0x1140('0x2c')](handleError(_0x2f4823,null));};exports['removeAgents']=function(_0x945d85,_0x493bd9,_0x4ba7b5){return db[_0x1140('0x3e')]['find']({'where':{'id':_0x945d85[_0x1140('0x56')]['id']}})[_0x1140('0x21')](handleEntityNotFound(_0x493bd9,null))['then'](function(_0x386fcb){if(_0x386fcb){return _0x386fcb['removeAgents'](_0x945d85[_0x1140('0x44')]['ids'])[_0x1140('0x21')](function(){if(_[_0x1140('0xc0')](_0x945d85[_0x1140('0x44')][_0x1140('0x6c')])){for(var _0x24fae8=0x0;_0x24fae8<_0x945d85['query'][_0x1140('0x6c')][_0x1140('0x4a')];_0x24fae8+=0x1){socket[_0x1140('0xbe')]('userFaxAccount:remove',{'UserId':Number(_0x945d85['query'][_0x1140('0x6c')][_0x24fae8]),'FaxAccountId':Number(_0x945d85[_0x1140('0x56')]['id'])});}}else{socket[_0x1140('0xbe')](_0x1140('0xc1'),{'UserId':Number(_0x945d85['query'][_0x1140('0x6c')]),'FaxAccountId':Number(_0x945d85['params']['id'])});}});}})[_0x1140('0x21')](respondWithStatusCode(_0x493bd9,null))['catch'](handleError(_0x493bd9,null));};exports[_0x1140('0xc2')]=function(_0x3ae03e,_0x2df5a1,_0x60374b){var _0xd66f3d={};var _0x4a16ee={};var _0x5d5f3e;var _0x4676fa;return db[_0x1140('0x3e')][_0x1140('0x67')]({'where':{'id':_0x3ae03e[_0x1140('0x56')]['id']}})[_0x1140('0x21')](handleEntityNotFound(_0x2df5a1,null))['then'](function(_0x18bc26){if(_0x18bc26){_0x5d5f3e=_0x18bc26;_0x4a16ee[_0x1140('0x42')]=_[_0x1140('0x45')](db[_0x1140('0x78')][_0x1140('0x59')]);_0x4a16ee[_0x1140('0x44')]=_[_0x1140('0x45')](_0x3ae03e['query']);_0x4a16ee[_0x1140('0x46')]=_['intersection'](_0x4a16ee[_0x1140('0x42')],_0x4a16ee['query']);_0xd66f3d[_0x1140('0x47')]=_[_0x1140('0x48')](_0x4a16ee[_0x1140('0x42')],qs['fields'](_0x3ae03e[_0x1140('0x44')]['fields']));_0xd66f3d[_0x1140('0x47')]=_0xd66f3d[_0x1140('0x47')][_0x1140('0x4a')]?_0xd66f3d[_0x1140('0x47')]:_0x4a16ee[_0x1140('0x42')];_0xd66f3d[_0x1140('0x69')]=qs[_0x1140('0x4c')](_0x3ae03e['query'][_0x1140('0x4c')]);_0xd66f3d[_0x1140('0x4d')]=qs['filters'](_['pick'](_0x3ae03e[_0x1140('0x44')],_0x4a16ee['filters']));if(_0x3ae03e[_0x1140('0x44')][_0x1140('0x4f')]){_0xd66f3d[_0x1140('0x4d')]=_[_0x1140('0x4e')](_0xd66f3d['where'],{'$or':_[_0x1140('0x43')](_0xd66f3d[_0x1140('0x47')],function(_0x4d310e){var _0xa53e5={};_0xa53e5[_0x4d310e]={'$like':'%'+_0x3ae03e[_0x1140('0x44')][_0x1140('0x4f')]+'%'};return _0xa53e5;})});}_0xd66f3d=_['merge']({},_0xd66f3d,_0x3ae03e[_0x1140('0x5a')]);return _0x5d5f3e[_0x1140('0xc2')](_0xd66f3d);}})[_0x1140('0x21')](function(_0x36267e){if(_0x36267e){_0x4676fa=_0x36267e[_0x1140('0x4a')];if(!_0x3ae03e[_0x1140('0x44')][_0x1140('0x75')](_0x1140('0x4b'))){_0xd66f3d['limit']=qs[_0x1140('0x32')](_0x3ae03e['query'][_0x1140('0x32')]);_0xd66f3d[_0x1140('0x31')]=qs[_0x1140('0x31')](_0x3ae03e[_0x1140('0x44')][_0x1140('0x31')]);}return _0x5d5f3e[_0x1140('0xc2')](_0xd66f3d);}})[_0x1140('0x21')](function(_0xba8f30){if(_0xba8f30){return _0xba8f30?{'count':_0x4676fa,'rows':_0xba8f30}:null;}})['then'](respondWithResult(_0x2df5a1,null))['catch'](handleError(_0x2df5a1,null));}; \ No newline at end of file diff --git a/server/api/faxAccount/faxAccount.events.js b/server/api/faxAccount/faxAccount.events.js index ff1447b..8256a46 100644 --- a/server/api/faxAccount/faxAccount.events.js +++ b/server/api/faxAccount/faxAccount.events.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xe375=['hook','exports','FaxAccount','update','remove','emit','hasOwnProperty'];(function(_0x3203a1,_0x46c498){var _0x24215e=function(_0x4ffab0){while(--_0x4ffab0){_0x3203a1['push'](_0x3203a1['shift']());}};_0x24215e(++_0x46c498);}(_0xe375,0xa3));var _0x5e37=function(_0x2709f3,_0x4f23dd){_0x2709f3=_0x2709f3-0x0;var _0x171a44=_0xe375[_0x2709f3];return _0x171a44;};'use strict';var EventEmitter=require('events');var FaxAccount=require('../../mysqldb')['db'][_0x5e37('0x0')];var FaxAccountEvents=new EventEmitter();FaxAccountEvents['setMaxListeners'](0x0);var events={'afterCreate':'save','afterUpdate':_0x5e37('0x1'),'afterDestroy':_0x5e37('0x2')};function emitEvent(_0x514164){return function(_0x327998,_0x5c6964,_0xea8ea2){FaxAccountEvents[_0x5e37('0x3')](_0x514164+':'+_0x327998['id'],_0x327998);FaxAccountEvents[_0x5e37('0x3')](_0x514164,_0x327998);_0xea8ea2(null);};}for(var e in events){if(events[_0x5e37('0x4')](e)){var event=events[e];FaxAccount[_0x5e37('0x5')](e,emitEvent(event));}}module[_0x5e37('0x6')]=FaxAccountEvents; \ No newline at end of file +var _0xd400=['emit','hasOwnProperty','hook','exports','../../mysqldb','FaxAccount','save','update','remove'];(function(_0x2b05c9,_0x4384a3){var _0x453151=function(_0x23bcc8){while(--_0x23bcc8){_0x2b05c9['push'](_0x2b05c9['shift']());}};_0x453151(++_0x4384a3);}(_0xd400,0x17e));var _0x0d40=function(_0x3a843d,_0x36d4f0){_0x3a843d=_0x3a843d-0x0;var _0x150698=_0xd400[_0x3a843d];return _0x150698;};'use strict';var EventEmitter=require('events');var FaxAccount=require(_0x0d40('0x0'))['db'][_0x0d40('0x1')];var FaxAccountEvents=new EventEmitter();FaxAccountEvents['setMaxListeners'](0x0);var events={'afterCreate':_0x0d40('0x2'),'afterUpdate':_0x0d40('0x3'),'afterDestroy':_0x0d40('0x4')};function emitEvent(_0x127dc6){return function(_0xa1d4e3,_0x229d3a,_0x41b6d7){FaxAccountEvents[_0x0d40('0x5')](_0x127dc6+':'+_0xa1d4e3['id'],_0xa1d4e3);FaxAccountEvents[_0x0d40('0x5')](_0x127dc6,_0xa1d4e3);_0x41b6d7(null);};}for(var e in events){if(events[_0x0d40('0x6')](e)){var event=events[e];FaxAccount[_0x0d40('0x7')](e,emitEvent(event));}}module[_0x0d40('0x8')]=FaxAccountEvents; \ No newline at end of file diff --git a/server/api/faxAccount/faxAccount.model.js b/server/api/faxAccount/faxAccount.model.js index a334dfd..ce8b52e 100644 --- a/server/api/faxAccount/faxAccount.model.js +++ b/server/api/faxAccount/faxAccount.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x8f53=['request-promise','path','./faxAccount.attributes','define','FaxAccount','fax_accounts','lodash','util','../../config/logger','api','bluebird'];(function(_0x5b5b71,_0x176640){var _0x126b97=function(_0x47aebc){while(--_0x47aebc){_0x5b5b71['push'](_0x5b5b71['shift']());}};_0x126b97(++_0x176640);}(_0x8f53,0x10e));var _0x38f5=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0x8f53[_0x14add3];return _0x4a174f;};'use strict';var _=require(_0x38f5('0x0'));var util=require(_0x38f5('0x1'));var logger=require(_0x38f5('0x2'))(_0x38f5('0x3'));var moment=require('moment');var BPromise=require(_0x38f5('0x4'));var rp=require(_0x38f5('0x5'));var fs=require('fs');var path=require(_0x38f5('0x6'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x38f5('0x7'));module['exports']=function(_0x4fb11b,_0x256fea){return _0x4fb11b[_0x38f5('0x8')](_0x38f5('0x9'),attributes,{'tableName':_0x38f5('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0x42bd=['util','../../config/logger','api','moment','bluebird','request-promise','../../config/environment','./faxAccount.attributes','exports','define','FaxAccount','fax_accounts','lodash'];(function(_0x33fdb7,_0x1582b3){var _0xdd55dd=function(_0x48a3e3){while(--_0x48a3e3){_0x33fdb7['push'](_0x33fdb7['shift']());}};_0xdd55dd(++_0x1582b3);}(_0x42bd,0x16b));var _0xd42b=function(_0x17d9e3,_0x1f969c){_0x17d9e3=_0x17d9e3-0x0;var _0x14192d=_0x42bd[_0x17d9e3];return _0x14192d;};'use strict';var _=require(_0xd42b('0x0'));var util=require(_0xd42b('0x1'));var logger=require(_0xd42b('0x2'))(_0xd42b('0x3'));var moment=require(_0xd42b('0x4'));var BPromise=require(_0xd42b('0x5'));var rp=require(_0xd42b('0x6'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0xd42b('0x7'));var attributes=require(_0xd42b('0x8'));module[_0xd42b('0x9')]=function(_0x24eafa,_0x3a4a0a){return _0x24eafa[_0xd42b('0xa')](_0xd42b('0xb'),attributes,{'tableName':_0xd42b('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/faxAccount/faxAccount.rpc.js b/server/api/faxAccount/faxAccount.rpc.js index 267860f..c238f40 100644 --- a/server/api/faxAccount/faxAccount.rpc.js +++ b/server/api/faxAccount/faxAccount.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x1884=['Contact\x20not\x20found','spread','autoclose','push','close','unmanaged','created','interaction','FaxMessage','UserId','unshift','agent','waitForTheAssignedAgent','*,*,*,*','Start','startRouting','lodash','util','moment','bluebird','randomstring','ioredis','../../mysqldb','../../config/utils','../../config/environment','jayson/promise','http','redis','defaults','localhost','socket.io-emitter','./faxAccount.socket','register','info','request\x20sent','debug','FaxAccount,\x20%s,\x20%s,\x20%s','stringify','error','code','message','catch','FaxAccount,\x20%s,\x20%s','GetFaxAccount','findAll','options','raw','attributes','limit','include','model','map','describe','then','ValidationError','no\x20available\x20attributes','difference','keys','createdAt','updatedAt','CompanyId','ListId','isNil','from','Sequelize','from\x20is\x20mandatory','body','body\x20is\x20mandatory\x20and\x20not\x20empty','mapKey','mapKey\x20is\x20mandatory,\x20please\x20use\x20one\x20of\x20these:\x20','includes','mapKey\x20invalid,\x20please\x20use\x20one\x20of\x20these:\x20','find','account','CmList','List','DESC','FaxApplication','Applications','get','applications','list','orderBy','priority','Contacts','length','CmContact','create','FaxInteraction'];(function(_0x3e218b,_0x514be9){var _0x41e33c=function(_0x4f2a3d){while(--_0x4f2a3d){_0x3e218b['push'](_0x3e218b['shift']());}};_0x41e33c(++_0x514be9);}(_0x1884,0x11b));var _0x4188=function(_0x2dd8c1,_0x4f212b){_0x2dd8c1=_0x2dd8c1-0x0;var _0x2beef1=_0x1884[_0x2dd8c1];return _0x2beef1;};'use strict';var _=require(_0x4188('0x0'));var util=require(_0x4188('0x1'));var moment=require(_0x4188('0x2'));var BPromise=require(_0x4188('0x3'));var rs=require(_0x4188('0x4'));var fs=require('fs');var Redis=require(_0x4188('0x5'));var db=require(_0x4188('0x6'))['db'];var utils=require(_0x4188('0x7'));var logger=require('../../config/logger')('rpc');var config=require(_0x4188('0x8'));var jayson=require(_0x4188('0x9'));var client=jayson['client'][_0x4188('0xa')]({'port':0x232c});config[_0x4188('0xb')]=_[_0x4188('0xc')](config[_0x4188('0xb')],{'host':_0x4188('0xd'),'port':0x18eb});var socket=require(_0x4188('0xe'))(new Redis(config[_0x4188('0xb')]));require(_0x4188('0xf'))[_0x4188('0x10')](socket);function respondWithRpcPromise(_0x4d2f1c,_0xde1393,_0x3f3c36){return new BPromise(function(_0x516873,_0x3c5942){return client['request'](_0x4d2f1c,_0x3f3c36)['then'](function(_0x5b058){logger[_0x4188('0x11')]('FaxAccount,\x20%s,\x20%s',_0xde1393,_0x4188('0x12'));logger[_0x4188('0x13')](_0x4188('0x14'),_0xde1393,_0x4188('0x12'),JSON[_0x4188('0x15')](_0x5b058));if(_0x5b058[_0x4188('0x16')]){if(_0x5b058['error'][_0x4188('0x17')]===0x1f4){logger[_0x4188('0x16')]('FaxAccount,\x20%s,\x20%s',_0xde1393,_0x5b058[_0x4188('0x16')]['message']);return _0x3c5942(_0x5b058['error']['message']);}logger[_0x4188('0x16')]('FaxAccount,\x20%s,\x20%s',_0xde1393,_0x5b058[_0x4188('0x16')][_0x4188('0x18')]);return _0x516873(_0x5b058['error'][_0x4188('0x18')]);}else{logger['info']('FaxAccount,\x20%s,\x20%s',_0xde1393,_0x4188('0x12'));_0x516873(_0x5b058['result'][_0x4188('0x18')]);}})[_0x4188('0x19')](function(_0x3b243d){logger[_0x4188('0x16')](_0x4188('0x1a'),_0xde1393,_0x3b243d);_0x3c5942(_0x3b243d);});});}exports[_0x4188('0x1b')]=function(_0x139e6f){var _0x24625e=this;return new Promise(function(_0x22bad8,_0x4eee94){return db['FaxAccount'][_0x4188('0x1c')]({'raw':_0x139e6f[_0x4188('0x1d')]?_0x139e6f[_0x4188('0x1d')][_0x4188('0x1e')]===undefined?!![]:![]:!![],'where':_0x139e6f[_0x4188('0x1d')]?_0x139e6f[_0x4188('0x1d')]['where']||null:null,'attributes':_0x139e6f[_0x4188('0x1d')]?_0x139e6f[_0x4188('0x1d')][_0x4188('0x1f')]||null:null,'limit':_0x139e6f['options']?_0x139e6f[_0x4188('0x1d')][_0x4188('0x20')]||null:null,'include':_0x139e6f['options']?_0x139e6f['options'][_0x4188('0x21')]?_['map'](_0x139e6f[_0x4188('0x1d')][_0x4188('0x21')],function(_0xe49172){return{'model':db[_0xe49172[_0x4188('0x22')]],'as':_0xe49172['as'],'attributes':_0xe49172[_0x4188('0x1f')],'include':_0xe49172[_0x4188('0x21')]?_[_0x4188('0x23')](_0xe49172[_0x4188('0x21')],function(_0x48ccee){return{'model':db[_0x48ccee['model']],'as':_0x48ccee['as'],'attributes':_0x48ccee[_0x4188('0x1f')],'include':_0x48ccee[_0x4188('0x21')]?_[_0x4188('0x23')](_0x48ccee[_0x4188('0x21')],function(_0x11b881){return{'model':db[_0x11b881[_0x4188('0x22')]],'as':_0x11b881['as'],'attributes':_0x11b881[_0x4188('0x1f')]};}):[]};}):[]};}):[]:[]})['then'](function(_0x20b10a){logger[_0x4188('0x11')](_0x4188('0x1b'),_0x139e6f);logger[_0x4188('0x13')](_0x4188('0x1b'),_0x139e6f,JSON[_0x4188('0x15')](_0x20b10a));_0x22bad8(_0x20b10a);})['catch'](function(_0x3d916c){logger[_0x4188('0x16')]('GetFaxAccount',_0x3d916c[_0x4188('0x18')],_0x139e6f);_0x4eee94(_0x24625e[_0x4188('0x16')](0x1f4,_0x3d916c['message']));});});};exports['NotifyFaxAccount']=function(_0x26a4de,_0x3fdcde,_0x556801){var _0x23a075=this;return new Promise(function(_0x1c38c8,_0x5511f3){var _0x402c67={'body':_0x26a4de['body'],'channel':'fax'};var _0x55cebf=[];var _0x25d44f=[];var _0x5298e8={};return db['CmContact'][_0x4188('0x24')]()[_0x4188('0x25')](function(_0x3cf789){if(!_0x3cf789){throw new db['Sequelize'][(_0x4188('0x26'))](_0x4188('0x27'));}_0x55cebf=_[_0x4188('0x28')](_[_0x4188('0x29')](_0x3cf789),[_0x4188('0x2a'),_0x4188('0x2b')]);_0x25d44f=_[_0x4188('0x28')](_[_0x4188('0x29')](_0x3cf789),[_0x4188('0x2a'),_0x4188('0x2b'),_0x4188('0x2c'),_0x4188('0x2d')]);if(_0x26a4de['body']['id']){delete _0x26a4de['body']['id'];}if(_[_0x4188('0x2e')](_0x26a4de['body'][_0x4188('0x2f')])){throw new db[(_0x4188('0x30'))][(_0x4188('0x26'))](_0x4188('0x31'));}if(_[_0x4188('0x2e')](_0x26a4de[_0x4188('0x32')][_0x4188('0x32')])||_0x26a4de[_0x4188('0x32')][_0x4188('0x32')]===''){throw new db[(_0x4188('0x30'))][(_0x4188('0x26'))](_0x4188('0x33'));}if(_[_0x4188('0x2e')](_0x26a4de['body'][_0x4188('0x34')])){throw new db['Sequelize'][(_0x4188('0x26'))](_0x4188('0x35')+_0x25d44f);}if(!_[_0x4188('0x36')](_0x25d44f,_0x26a4de[_0x4188('0x32')][_0x4188('0x34')])){throw new db[(_0x4188('0x30'))][(_0x4188('0x26'))](_0x4188('0x37')+_0x25d44f);}_0x5298e8[_0x26a4de[_0x4188('0x32')]['mapKey']]=_0x26a4de[_0x4188('0x32')][_0x4188('0x2f')];})[_0x4188('0x25')](function(){return db['FaxAccount'][_0x4188('0x38')]({'where':{'id':_0x26a4de[_0x4188('0x39')]['id']},'include':[{'model':db[_0x4188('0x3a')],'as':_0x4188('0x3b'),'include':[{'model':db['CmContact'],'as':'Contacts','where':_0x5298e8,'limit':0x1,'order':[[_0x4188('0x2b'),_0x4188('0x3c')]]}]},{'model':db[_0x4188('0x3d')],'as':_0x4188('0x3e')}]});})[_0x4188('0x25')](function(_0x2f6bf7){if(_0x2f6bf7&&_0x2f6bf7[_0x4188('0x3b')]){var _0x3f39e8=_0x2f6bf7[_0x4188('0x3f')]({'plain':!![]});_0x402c67[_0x4188('0x39')]=_0x3f39e8;_0x402c67[_0x4188('0x40')]=_0x3f39e8[_0x4188('0x3e')];_0x402c67[_0x4188('0x41')]=_0x3f39e8[_0x4188('0x3b')];_0x402c67[_0x4188('0x40')]=_[_0x4188('0x42')](_0x402c67[_0x4188('0x40')],[_0x4188('0x43')],['asc']);if(_0x402c67[_0x4188('0x39')][_0x4188('0x3e')]){delete _0x402c67['account'][_0x4188('0x3e')];}if(_0x402c67[_0x4188('0x39')][_0x4188('0x3b')]&&_0x402c67[_0x4188('0x39')][_0x4188('0x3b')][_0x4188('0x44')][_0x4188('0x45')]){return _0x402c67[_0x4188('0x39')][_0x4188('0x3b')][_0x4188('0x44')][0x0];}var _0x1586ef=_[_0x4188('0xc')](_0x26a4de[_0x4188('0x32')],{'firstName':_0x26a4de[_0x4188('0x32')][_0x4188('0x2f')],'ListId':_0x3f39e8[_0x4188('0x2d')]});_0x1586ef[_0x26a4de[_0x4188('0x32')][_0x4188('0x34')]]=_0x26a4de[_0x4188('0x32')]['from'];return db[_0x4188('0x46')][_0x4188('0x47')](_0x1586ef,{'fields':_0x55cebf,'raw':!![]});}})['then'](function(_0x3fb58e){_0x402c67['contact']=_0x3fb58e;if(_0x3fb58e){var _0x2983b6={'ContactId':_0x3fb58e['id'],'FaxAccountId':_0x26a4de['account']['id'],'fax':_0x3fb58e['fax']};return db['FaxInteraction'][_0x4188('0x38')]({'where':{'ContactId':_0x3fb58e['id'],'closed':![],'FaxAccountId':_0x26a4de[_0x4188('0x39')]['id']}})[_0x4188('0x25')](function(_0x1cbf80){if(_0x1cbf80){return[_0x1cbf80,![]];}return db[_0x4188('0x48')][_0x4188('0x47')](_0x2983b6)[_0x4188('0x25')](function(_0x25a7e8){return[_0x25a7e8,!![]];});});}else{throw new Error(_0x4188('0x49'));}})[_0x4188('0x4a')](function(_0x576826,_0xbd6224){var _0x1863fe=_0x576826[_0x4188('0x3f')]({'plain':!![]});if(_0xbd6224){if(_0x402c67[_0x4188('0x39')][_0x4188('0x4b')]){_0x402c67[_0x4188('0x40')][_0x4188('0x4c')]({'id':0x0,'priority':_0x402c67['applications'][_0x4188('0x45')]+0x1,'app':_0x4188('0x4d'),'appdata':_0x4188('0x4e'),'interval':'*,*,*,*'});}_0x1863fe[_0x4188('0x4f')]=!![];}else{_0x1863fe[_0x4188('0x4f')]=![];}_0x402c67[_0x4188('0x50')]=_0x1863fe;return db[_0x4188('0x51')][_0x4188('0x47')]({'body':_0x26a4de[_0x4188('0x32')]['body'],'FaxAccountId':_0x26a4de[_0x4188('0x39')]['id'],'FaxInteractionId':_0x576826['id'],'direction':'in','ContactId':_0x576826['ContactId'],'AttachmentId':_0x26a4de['body']['AttachmentId']});})['then'](function(_0x564297){_0x402c67[_0x4188('0x18')]=_0x564297;if(_0x402c67[_0x4188('0x50')][_0x4188('0x52')]){return db['User'][_0x4188('0x38')]({'attributes':['id','name'],'where':{'id':_0x402c67[_0x4188('0x50')][_0x4188('0x52')]}})[_0x4188('0x25')](function(_0x199cb3){if(_0x199cb3){_0x402c67[_0x4188('0x40')][_0x4188('0x53')]({'id':0x0,'priority':0x0,'app':_0x4188('0x54'),'appdata':_0x199cb3['name']+','+(_0x402c67[_0x4188('0x39')][_0x4188('0x55')]||0xa),'interval':_0x4188('0x56')});}return respondWithRpcPromise(_0x4188('0x57'),_0x4188('0x58'),_0x402c67);});}return respondWithRpcPromise(_0x4188('0x57'),_0x4188('0x58'),_0x402c67);})['then'](function(_0x3a2001){_0x1c38c8(_0x3a2001);})[_0x4188('0x19')](function(_0x276192){_0x5511f3(_0x23a075[_0x4188('0x16')](0x1f4,_0x276192[_0x4188('0x18')]));});});}; \ No newline at end of file +var _0x4561=['isNil','mapKey','mapKey\x20is\x20mandatory,\x20please\x20use\x20one\x20of\x20these:\x20','mapKey\x20invalid,\x20please\x20use\x20one\x20of\x20these:\x20','FaxAccount','find','account','List','Contacts','DESC','FaxApplication','Applications','get','list','applications','orderBy','priority','asc','contact','fax','FaxInteraction','create','Contact\x20not\x20found','spread','autoclose','push','close','unmanaged','*,*,*,*','created','interaction','FaxMessage','ContactId','AttachmentId','User','UserId','unshift','agent','name','Start','startRouting','lodash','moment','bluebird','randomstring','ioredis','../../mysqldb','../../config/utils','../../config/logger','rpc','http','redis','defaults','localhost','socket.io-emitter','./faxAccount.socket','register','request','then','info','FaxAccount,\x20%s,\x20%s','request\x20sent','FaxAccount,\x20%s,\x20%s,\x20%s','stringify','error','message','result','catch','GetFaxAccount','findAll','options','raw','where','limit','include','model','attributes','map','debug','NotifyFaxAccount','body','CmContact','describe','Sequelize','no\x20available\x20attributes','difference','keys','updatedAt','createdAt','CompanyId','ListId','from','ValidationError','from\x20is\x20mandatory'];(function(_0x17307c,_0x3c0085){var _0x134218=function(_0x3b331a){while(--_0x3b331a){_0x17307c['push'](_0x17307c['shift']());}};_0x134218(++_0x3c0085);}(_0x4561,0xe5));var _0x1456=function(_0x3d7a79,_0x3cebf9){_0x3d7a79=_0x3d7a79-0x0;var _0x5ddb1e=_0x4561[_0x3d7a79];return _0x5ddb1e;};'use strict';var _=require(_0x1456('0x0'));var util=require('util');var moment=require(_0x1456('0x1'));var BPromise=require(_0x1456('0x2'));var rs=require(_0x1456('0x3'));var fs=require('fs');var Redis=require(_0x1456('0x4'));var db=require(_0x1456('0x5'))['db'];var utils=require(_0x1456('0x6'));var logger=require(_0x1456('0x7'))(_0x1456('0x8'));var config=require('../../config/environment');var jayson=require('jayson/promise');var client=jayson['client'][_0x1456('0x9')]({'port':0x232c});config[_0x1456('0xa')]=_[_0x1456('0xb')](config['redis'],{'host':_0x1456('0xc'),'port':0x18eb});var socket=require(_0x1456('0xd'))(new Redis(config[_0x1456('0xa')]));require(_0x1456('0xe'))[_0x1456('0xf')](socket);function respondWithRpcPromise(_0x5dfc5e,_0x276af6,_0x5c2bf4){return new BPromise(function(_0x324dcd,_0x4a61d5){return client[_0x1456('0x10')](_0x5dfc5e,_0x5c2bf4)[_0x1456('0x11')](function(_0x32d61f){logger[_0x1456('0x12')](_0x1456('0x13'),_0x276af6,_0x1456('0x14'));logger['debug'](_0x1456('0x15'),_0x276af6,'request\x20sent',JSON[_0x1456('0x16')](_0x32d61f));if(_0x32d61f[_0x1456('0x17')]){if(_0x32d61f[_0x1456('0x17')]['code']===0x1f4){logger[_0x1456('0x17')](_0x1456('0x13'),_0x276af6,_0x32d61f[_0x1456('0x17')]['message']);return _0x4a61d5(_0x32d61f['error']['message']);}logger[_0x1456('0x17')](_0x1456('0x13'),_0x276af6,_0x32d61f['error']['message']);return _0x324dcd(_0x32d61f[_0x1456('0x17')][_0x1456('0x18')]);}else{logger[_0x1456('0x12')](_0x1456('0x13'),_0x276af6,_0x1456('0x14'));_0x324dcd(_0x32d61f[_0x1456('0x19')]['message']);}})[_0x1456('0x1a')](function(_0x48694b){logger[_0x1456('0x17')](_0x1456('0x13'),_0x276af6,_0x48694b);_0x4a61d5(_0x48694b);});});}exports[_0x1456('0x1b')]=function(_0x54230a){var _0x53b6c4=this;return new Promise(function(_0x3a74f3,_0x50b3b7){return db['FaxAccount'][_0x1456('0x1c')]({'raw':_0x54230a[_0x1456('0x1d')]?_0x54230a[_0x1456('0x1d')][_0x1456('0x1e')]===undefined?!![]:![]:!![],'where':_0x54230a['options']?_0x54230a[_0x1456('0x1d')][_0x1456('0x1f')]||null:null,'attributes':_0x54230a[_0x1456('0x1d')]?_0x54230a['options']['attributes']||null:null,'limit':_0x54230a[_0x1456('0x1d')]?_0x54230a['options'][_0x1456('0x20')]||null:null,'include':_0x54230a[_0x1456('0x1d')]?_0x54230a[_0x1456('0x1d')][_0x1456('0x21')]?_['map'](_0x54230a['options'][_0x1456('0x21')],function(_0x39d913){return{'model':db[_0x39d913[_0x1456('0x22')]],'as':_0x39d913['as'],'attributes':_0x39d913[_0x1456('0x23')],'include':_0x39d913[_0x1456('0x21')]?_['map'](_0x39d913[_0x1456('0x21')],function(_0xc12048){return{'model':db[_0xc12048[_0x1456('0x22')]],'as':_0xc12048['as'],'attributes':_0xc12048['attributes'],'include':_0xc12048[_0x1456('0x21')]?_[_0x1456('0x24')](_0xc12048['include'],function(_0x50211f){return{'model':db[_0x50211f[_0x1456('0x22')]],'as':_0x50211f['as'],'attributes':_0x50211f['attributes']};}):[]};}):[]};}):[]:[]})[_0x1456('0x11')](function(_0x18990a){logger[_0x1456('0x12')](_0x1456('0x1b'),_0x54230a);logger[_0x1456('0x25')]('GetFaxAccount',_0x54230a,JSON['stringify'](_0x18990a));_0x3a74f3(_0x18990a);})[_0x1456('0x1a')](function(_0xcf15b4){logger['error'](_0x1456('0x1b'),_0xcf15b4[_0x1456('0x18')],_0x54230a);_0x50b3b7(_0x53b6c4['error'](0x1f4,_0xcf15b4[_0x1456('0x18')]));});});};exports[_0x1456('0x26')]=function(_0x4f49c7,_0x706cd5,_0x2e7271){var _0x2408d7=this;return new Promise(function(_0x24319e,_0x480fef){var _0x2ef156={'body':_0x4f49c7[_0x1456('0x27')],'channel':'fax'};var _0x1eadee=[];var _0x46308c=[];var _0x32dad6={};return db[_0x1456('0x28')][_0x1456('0x29')]()['then'](function(_0x2884d6){if(!_0x2884d6){throw new db[(_0x1456('0x2a'))]['ValidationError'](_0x1456('0x2b'));}_0x1eadee=_[_0x1456('0x2c')](_[_0x1456('0x2d')](_0x2884d6),['createdAt',_0x1456('0x2e')]);_0x46308c=_[_0x1456('0x2c')](_[_0x1456('0x2d')](_0x2884d6),[_0x1456('0x2f'),_0x1456('0x2e'),_0x1456('0x30'),_0x1456('0x31')]);if(_0x4f49c7['body']['id']){delete _0x4f49c7[_0x1456('0x27')]['id'];}if(_['isNil'](_0x4f49c7[_0x1456('0x27')][_0x1456('0x32')])){throw new db['Sequelize'][(_0x1456('0x33'))](_0x1456('0x34'));}if(_[_0x1456('0x35')](_0x4f49c7[_0x1456('0x27')]['body'])||_0x4f49c7[_0x1456('0x27')][_0x1456('0x27')]===''){throw new db['Sequelize'][(_0x1456('0x33'))]('body\x20is\x20mandatory\x20and\x20not\x20empty');}if(_[_0x1456('0x35')](_0x4f49c7[_0x1456('0x27')][_0x1456('0x36')])){throw new db[(_0x1456('0x2a'))][(_0x1456('0x33'))](_0x1456('0x37')+_0x46308c);}if(!_['includes'](_0x46308c,_0x4f49c7[_0x1456('0x27')][_0x1456('0x36')])){throw new db[(_0x1456('0x2a'))][(_0x1456('0x33'))](_0x1456('0x38')+_0x46308c);}_0x32dad6[_0x4f49c7[_0x1456('0x27')][_0x1456('0x36')]]=_0x4f49c7['body']['from'];})[_0x1456('0x11')](function(){return db[_0x1456('0x39')][_0x1456('0x3a')]({'where':{'id':_0x4f49c7[_0x1456('0x3b')]['id']},'include':[{'model':db['CmList'],'as':_0x1456('0x3c'),'include':[{'model':db[_0x1456('0x28')],'as':_0x1456('0x3d'),'where':_0x32dad6,'limit':0x1,'order':[[_0x1456('0x2e'),_0x1456('0x3e')]]}]},{'model':db[_0x1456('0x3f')],'as':_0x1456('0x40')}]});})['then'](function(_0x59d4fd){if(_0x59d4fd&&_0x59d4fd[_0x1456('0x3c')]){var _0x21d4fd=_0x59d4fd[_0x1456('0x41')]({'plain':!![]});_0x2ef156['account']=_0x21d4fd;_0x2ef156['applications']=_0x21d4fd[_0x1456('0x40')];_0x2ef156[_0x1456('0x42')]=_0x21d4fd[_0x1456('0x3c')];_0x2ef156[_0x1456('0x43')]=_[_0x1456('0x44')](_0x2ef156[_0x1456('0x43')],[_0x1456('0x45')],[_0x1456('0x46')]);if(_0x2ef156[_0x1456('0x3b')][_0x1456('0x40')]){delete _0x2ef156[_0x1456('0x3b')][_0x1456('0x40')];}if(_0x2ef156[_0x1456('0x3b')][_0x1456('0x3c')]&&_0x2ef156[_0x1456('0x3b')][_0x1456('0x3c')][_0x1456('0x3d')]['length']){return _0x2ef156[_0x1456('0x3b')]['List']['Contacts'][0x0];}var _0x5e25a5=_[_0x1456('0xb')](_0x4f49c7[_0x1456('0x27')],{'firstName':_0x4f49c7['body'][_0x1456('0x32')],'ListId':_0x21d4fd[_0x1456('0x31')]});_0x5e25a5[_0x4f49c7[_0x1456('0x27')][_0x1456('0x36')]]=_0x4f49c7['body'][_0x1456('0x32')];return db[_0x1456('0x28')]['create'](_0x5e25a5,{'fields':_0x1eadee,'raw':!![]});}})[_0x1456('0x11')](function(_0x4074c8){_0x2ef156[_0x1456('0x47')]=_0x4074c8;if(_0x4074c8){var _0x20d2e9={'ContactId':_0x4074c8['id'],'FaxAccountId':_0x4f49c7[_0x1456('0x3b')]['id'],'fax':_0x4074c8[_0x1456('0x48')]};return db[_0x1456('0x49')][_0x1456('0x3a')]({'where':{'ContactId':_0x4074c8['id'],'closed':![],'FaxAccountId':_0x4f49c7[_0x1456('0x3b')]['id']}})[_0x1456('0x11')](function(_0x4dc2a5){if(_0x4dc2a5){return[_0x4dc2a5,![]];}return db['FaxInteraction'][_0x1456('0x4a')](_0x20d2e9)['then'](function(_0x4ac2d2){return[_0x4ac2d2,!![]];});});}else{throw new Error(_0x1456('0x4b'));}})[_0x1456('0x4c')](function(_0x488ce5,_0x48926e){var _0x36bde2=_0x488ce5[_0x1456('0x41')]({'plain':!![]});if(_0x48926e){if(_0x2ef156[_0x1456('0x3b')][_0x1456('0x4d')]){_0x2ef156[_0x1456('0x43')][_0x1456('0x4e')]({'id':0x0,'priority':_0x2ef156[_0x1456('0x43')]['length']+0x1,'app':_0x1456('0x4f'),'appdata':_0x1456('0x50'),'interval':_0x1456('0x51')});}_0x36bde2['created']=!![];}else{_0x36bde2[_0x1456('0x52')]=![];}_0x2ef156[_0x1456('0x53')]=_0x36bde2;return db[_0x1456('0x54')][_0x1456('0x4a')]({'body':_0x4f49c7[_0x1456('0x27')][_0x1456('0x27')],'FaxAccountId':_0x4f49c7[_0x1456('0x3b')]['id'],'FaxInteractionId':_0x488ce5['id'],'direction':'in','ContactId':_0x488ce5[_0x1456('0x55')],'AttachmentId':_0x4f49c7[_0x1456('0x27')][_0x1456('0x56')]});})[_0x1456('0x11')](function(_0x932dd0){_0x2ef156[_0x1456('0x18')]=_0x932dd0;if(_0x2ef156[_0x1456('0x53')]['UserId']){return db[_0x1456('0x57')]['find']({'attributes':['id','name'],'where':{'id':_0x2ef156[_0x1456('0x53')][_0x1456('0x58')]}})['then'](function(_0x1adf75){if(_0x1adf75){_0x2ef156['applications'][_0x1456('0x59')]({'id':0x0,'priority':0x0,'app':_0x1456('0x5a'),'appdata':_0x1adf75[_0x1456('0x5b')]+','+(_0x2ef156['account']['waitForTheAssignedAgent']||0xa),'interval':_0x1456('0x51')});}return respondWithRpcPromise(_0x1456('0x5c'),_0x1456('0x5d'),_0x2ef156);});}return respondWithRpcPromise(_0x1456('0x5c'),_0x1456('0x5d'),_0x2ef156);})[_0x1456('0x11')](function(_0x642220){_0x24319e(_0x642220);})[_0x1456('0x1a')](function(_0x34baa9){_0x480fef(_0x2408d7[_0x1456('0x17')](0x1f4,_0x34baa9[_0x1456('0x18')]));});});}; \ No newline at end of file diff --git a/server/api/faxAccount/faxAccount.socket.js b/server/api/faxAccount/faxAccount.socket.js index a92a6d4..5e784ec 100644 --- a/server/api/faxAccount/faxAccount.socket.js +++ b/server/api/faxAccount/faxAccount.socket.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x7880=['register','length','save','remove','update','removeListener'];(function(_0x23f532,_0x1b4864){var _0x4fb0c7=function(_0x4eb731){while(--_0x4eb731){_0x23f532['push'](_0x23f532['shift']());}};_0x4fb0c7(++_0x1b4864);}(_0x7880,0x1f4));var _0x0788=function(_0x24697b,_0x2eb072){_0x24697b=_0x24697b-0x0;var _0x585b99=_0x7880[_0x24697b];return _0x585b99;};'use strict';var FaxAccountEvents=require('./faxAccount.events');var events=[_0x0788('0x0'),_0x0788('0x1'),_0x0788('0x2')];function createListener(_0x1b196a,_0x47dc20){return function(_0x446ded){_0x47dc20['emit'](_0x1b196a,_0x446ded);};}function removeListener(_0x3925a6,_0x1e0814){return function(){FaxAccountEvents[_0x0788('0x3')](_0x3925a6,_0x1e0814);};}exports[_0x0788('0x4')]=function(_0x262f5c){for(var _0x775629=0x0,_0x3f9cb8=events[_0x0788('0x5')];_0x775629<_0x3f9cb8;_0x775629++){var _0x3c29f3=events[_0x775629];var _0x422f8b=createListener('faxAccount:'+_0x3c29f3,_0x262f5c);FaxAccountEvents['on'](_0x3c29f3,_0x422f8b);}}; \ No newline at end of file +var _0xdf55=['update','emit','removeListener','register','length','./faxAccount.events','save'];(function(_0x1c4105,_0x4fcd78){var _0x1bdd4b=function(_0x55bb4f){while(--_0x55bb4f){_0x1c4105['push'](_0x1c4105['shift']());}};_0x1bdd4b(++_0x4fcd78);}(_0xdf55,0x83));var _0x5df5=function(_0x26c643,_0x2c784a){_0x26c643=_0x26c643-0x0;var _0xb49398=_0xdf55[_0x26c643];return _0xb49398;};'use strict';var FaxAccountEvents=require(_0x5df5('0x0'));var events=[_0x5df5('0x1'),'remove',_0x5df5('0x2')];function createListener(_0x1c352c,_0x538c78){return function(_0x3f503b){_0x538c78[_0x5df5('0x3')](_0x1c352c,_0x3f503b);};}function removeListener(_0x381a4c,_0x521007){return function(){FaxAccountEvents[_0x5df5('0x4')](_0x381a4c,_0x521007);};}exports[_0x5df5('0x5')]=function(_0x27ec86){for(var _0x476e21=0x0,_0x9b8756=events[_0x5df5('0x6')];_0x476e21<_0x9b8756;_0x476e21++){var _0x4722a2=events[_0x476e21];var _0x3743f3=createListener('faxAccount:'+_0x4722a2,_0x27ec86);FaxAccountEvents['on'](_0x4722a2,_0x3743f3);}}; \ No newline at end of file diff --git a/server/api/faxAccount/index.js b/server/api/faxAccount/index.js index eb2513a..6722dda 100644 --- a/server/api/faxAccount/index.js +++ b/server/api/faxAccount/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xccad=['get','index','/describe','isAuthenticated','describe','/:id','show','/:id/canned_answers','getAnswers','/:id/interactions','getInteractions','/:id/applications','getApplications','getMessages','getAgents','post','create','/:id/dispositions','addDisposition','addAnswer','addInteraction','/addaccountapplications','addAccountApplications','/updateaccountapplications','updateAccountApplications','/:id/send','send','addAgents','put','update','delete','destroy','removeAnswers','/:id/users','exports','multer','util','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0x442aae,_0x2d0b4b){var _0x25fa02=function(_0x46fedf){while(--_0x46fedf){_0x442aae['push'](_0x442aae['shift']());}};_0x25fa02(++_0x2d0b4b);}(_0xccad,0x19d));var _0xdcca=function(_0x5275b8,_0x51e5dd){_0x5275b8=_0x5275b8-0x0;var _0x568a9b=_0xccad[_0x5275b8];return _0x568a9b;};'use strict';var multer=require(_0xdcca('0x0'));var util=require(_0xdcca('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0xdcca('0x2'));var router=express[_0xdcca('0x3')]();var auth=require(_0xdcca('0x4'));var interaction=require(_0xdcca('0x5'));var config=require(_0xdcca('0x6'));var controller=require('./faxAccount.controller');router[_0xdcca('0x7')]('/',auth['isAuthenticated'](),controller[_0xdcca('0x8')]);router[_0xdcca('0x7')](_0xdcca('0x9'),auth[_0xdcca('0xa')](),controller[_0xdcca('0xb')]);router[_0xdcca('0x7')](_0xdcca('0xc'),auth[_0xdcca('0xa')](),controller[_0xdcca('0xd')]);router[_0xdcca('0x7')]('/:id/dispositions',auth[_0xdcca('0xa')](),controller['getDispositions']);router[_0xdcca('0x7')](_0xdcca('0xe'),auth[_0xdcca('0xa')](),controller[_0xdcca('0xf')]);router[_0xdcca('0x7')](_0xdcca('0x10'),auth[_0xdcca('0xa')](),controller[_0xdcca('0x11')]);router[_0xdcca('0x7')](_0xdcca('0x12'),auth['isAuthenticated'](),controller[_0xdcca('0x13')]);router['get']('/:id/messages',auth[_0xdcca('0xa')](),controller[_0xdcca('0x14')]);router[_0xdcca('0x7')]('/:id/users',auth[_0xdcca('0xa')](),controller[_0xdcca('0x15')]);router[_0xdcca('0x16')]('/',auth[_0xdcca('0xa')](),controller[_0xdcca('0x17')]);router[_0xdcca('0x16')](_0xdcca('0x18'),auth[_0xdcca('0xa')](),controller[_0xdcca('0x19')]);router[_0xdcca('0x16')](_0xdcca('0xe'),auth[_0xdcca('0xa')](),controller[_0xdcca('0x1a')]);router[_0xdcca('0x16')](_0xdcca('0x10'),auth[_0xdcca('0xa')](),controller[_0xdcca('0x1b')]);router[_0xdcca('0x16')](_0xdcca('0x12'),auth['isAuthenticated'](),controller['addApplications']);router[_0xdcca('0x16')](_0xdcca('0x1c'),auth[_0xdcca('0xa')](),controller[_0xdcca('0x1d')]);router[_0xdcca('0x16')](_0xdcca('0x1e'),auth[_0xdcca('0xa')](),controller[_0xdcca('0x1f')]);router[_0xdcca('0x16')](_0xdcca('0x20'),auth[_0xdcca('0xa')](),controller[_0xdcca('0x21')]);router[_0xdcca('0x16')]('/:id/users',auth[_0xdcca('0xa')](),controller[_0xdcca('0x22')]);router[_0xdcca('0x23')](_0xdcca('0xc'),auth['isAuthenticated'](),controller[_0xdcca('0x24')]);router[_0xdcca('0x25')](_0xdcca('0xc'),auth[_0xdcca('0xa')](),controller[_0xdcca('0x26')]);router[_0xdcca('0x25')]('/:id/dispositions',auth['isAuthenticated'](),controller['removeDispositions']);router[_0xdcca('0x25')](_0xdcca('0xe'),auth['isAuthenticated'](),controller[_0xdcca('0x27')]);router[_0xdcca('0x25')](_0xdcca('0x28'),auth[_0xdcca('0xa')](),controller['removeAgents']);module[_0xdcca('0x29')]=router; \ No newline at end of file +var _0x5cdd=['/:id/applications','getMessages','getAgents','post','addDisposition','addAnswer','addInteraction','addApplications','/addaccountapplications','addAccountApplications','/:id/send','send','/:id/users','addAgents','update','delete','removeDispositions','removeAgents','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','./faxAccount.controller','index','get','/describe','isAuthenticated','describe','/:id','show','/:id/dispositions','/:id/canned_answers','getAnswers','/:id/interactions','getInteractions'];(function(_0x4706af,_0x24b450){var _0x2f75c4=function(_0x415a9a){while(--_0x415a9a){_0x4706af['push'](_0x4706af['shift']());}};_0x2f75c4(++_0x24b450);}(_0x5cdd,0x1da));var _0xd5cd=function(_0x167cc1,_0x56ef5a){_0x167cc1=_0x167cc1-0x0;var _0x10bc4b=_0x5cdd[_0x167cc1];return _0x10bc4b;};'use strict';var multer=require('multer');var util=require(_0xd5cd('0x0'));var path=require(_0xd5cd('0x1'));var timeout=require(_0xd5cd('0x2'));var express=require(_0xd5cd('0x3'));var router=express[_0xd5cd('0x4')]();var auth=require(_0xd5cd('0x5'));var interaction=require(_0xd5cd('0x6'));var config=require('../../config/environment');var controller=require(_0xd5cd('0x7'));router['get']('/',auth['isAuthenticated'](),controller[_0xd5cd('0x8')]);router[_0xd5cd('0x9')](_0xd5cd('0xa'),auth[_0xd5cd('0xb')](),controller[_0xd5cd('0xc')]);router['get'](_0xd5cd('0xd'),auth[_0xd5cd('0xb')](),controller[_0xd5cd('0xe')]);router['get'](_0xd5cd('0xf'),auth[_0xd5cd('0xb')](),controller['getDispositions']);router[_0xd5cd('0x9')](_0xd5cd('0x10'),auth[_0xd5cd('0xb')](),controller[_0xd5cd('0x11')]);router[_0xd5cd('0x9')](_0xd5cd('0x12'),auth[_0xd5cd('0xb')](),controller[_0xd5cd('0x13')]);router[_0xd5cd('0x9')](_0xd5cd('0x14'),auth[_0xd5cd('0xb')](),controller['getApplications']);router['get']('/:id/messages',auth['isAuthenticated'](),controller[_0xd5cd('0x15')]);router[_0xd5cd('0x9')]('/:id/users',auth[_0xd5cd('0xb')](),controller[_0xd5cd('0x16')]);router[_0xd5cd('0x17')]('/',auth['isAuthenticated'](),controller['create']);router['post']('/:id/dispositions',auth[_0xd5cd('0xb')](),controller[_0xd5cd('0x18')]);router[_0xd5cd('0x17')](_0xd5cd('0x10'),auth['isAuthenticated'](),controller[_0xd5cd('0x19')]);router[_0xd5cd('0x17')]('/:id/interactions',auth[_0xd5cd('0xb')](),controller[_0xd5cd('0x1a')]);router[_0xd5cd('0x17')](_0xd5cd('0x14'),auth[_0xd5cd('0xb')](),controller[_0xd5cd('0x1b')]);router[_0xd5cd('0x17')](_0xd5cd('0x1c'),auth[_0xd5cd('0xb')](),controller[_0xd5cd('0x1d')]);router[_0xd5cd('0x17')]('/updateaccountapplications',auth['isAuthenticated'](),controller['updateAccountApplications']);router[_0xd5cd('0x17')](_0xd5cd('0x1e'),auth['isAuthenticated'](),controller[_0xd5cd('0x1f')]);router[_0xd5cd('0x17')](_0xd5cd('0x20'),auth[_0xd5cd('0xb')](),controller[_0xd5cd('0x21')]);router['put'](_0xd5cd('0xd'),auth[_0xd5cd('0xb')](),controller[_0xd5cd('0x22')]);router['delete'](_0xd5cd('0xd'),auth['isAuthenticated'](),controller['destroy']);router[_0xd5cd('0x23')]('/:id/dispositions',auth[_0xd5cd('0xb')](),controller[_0xd5cd('0x24')]);router[_0xd5cd('0x23')]('/:id/canned_answers',auth[_0xd5cd('0xb')](),controller['removeAnswers']);router[_0xd5cd('0x23')](_0xd5cd('0x20'),auth[_0xd5cd('0xb')](),controller[_0xd5cd('0x25')]);module['exports']=router; \ No newline at end of file diff --git a/server/api/faxApplication/faxApplication.attributes.js b/server/api/faxApplication/faxApplication.attributes.js index 3174545..dc227a1 100644 --- a/server/api/faxApplication/faxApplication.attributes.js +++ b/server/api/faxApplication/faxApplication.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x1a85=['INTEGER','STRING','noop','*,*,*,*'];(function(_0x488011,_0x71f026){var _0x5c2989=function(_0x3b2294){while(--_0x3b2294){_0x488011['push'](_0x488011['shift']());}};_0x5c2989(++_0x71f026);}(_0x1a85,0x178));var _0x51a8=function(_0x13b329,_0x5f2ca7){_0x13b329=_0x13b329-0x0;var _0x2c01bb=_0x1a85[_0x13b329];return _0x2c01bb;};'use strict';var Sequelize=require('sequelize');module['exports']={'priority':{'type':Sequelize[_0x51a8('0x0')],'allowNull':![]},'app':{'type':Sequelize[_0x51a8('0x1')],'allowNull':![],'defaultValue':_0x51a8('0x2')},'appdata':{'type':Sequelize['TEXT']()},'description':{'type':Sequelize['STRING']},'interval':{'type':Sequelize[_0x51a8('0x1')],'defaultValue':_0x51a8('0x3')}}; \ No newline at end of file +var _0xb749=['TEXT','*,*,*,*','sequelize','INTEGER','STRING'];(function(_0x5a4526,_0x521684){var _0x4d5f94=function(_0x240bd6){while(--_0x240bd6){_0x5a4526['push'](_0x5a4526['shift']());}};_0x4d5f94(++_0x521684);}(_0xb749,0xac));var _0x9b74=function(_0x2af28f,_0x2357b8){_0x2af28f=_0x2af28f-0x0;var _0x175020=_0xb749[_0x2af28f];return _0x175020;};'use strict';var Sequelize=require(_0x9b74('0x0'));module['exports']={'priority':{'type':Sequelize[_0x9b74('0x1')],'allowNull':![]},'app':{'type':Sequelize[_0x9b74('0x2')],'allowNull':![],'defaultValue':'noop'},'appdata':{'type':Sequelize[_0x9b74('0x3')]()},'description':{'type':Sequelize['STRING']},'interval':{'type':Sequelize[_0x9b74('0x2')],'defaultValue':_0x9b74('0x4')}}; \ No newline at end of file diff --git a/server/api/faxApplication/faxApplication.controller.js b/server/api/faxApplication/faxApplication.controller.js index c0269b0..ccd50dc 100644 --- a/server/api/faxApplication/faxApplication.controller.js +++ b/server/api/faxApplication/faxApplication.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xc4aa=['destroy','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','util','path','sox','to-csv','ejs','lodash','squel','crypto','querystring','papaparse','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/logger','../../config/utils','../../mysqldb','sendStatus','status','end','json','count','offset','limit','set','apply','reject','save','update','then','error','stack','name','send','index','map','FaxApplication','rawAttributes','key','model','keys','query','filters','intersection','attributes','fields','length','hasOwnProperty','nolimit','order','sort','where','pick','filter','merge','type','VIRTUAL','includeAll','include','findAll','rows','catch','params','options','find','create','body'];(function(_0x456fb1,_0x859a1d){var _0x4083d6=function(_0xe1d0f2){while(--_0xe1d0f2){_0x456fb1['push'](_0x456fb1['shift']());}};_0x4083d6(++_0x859a1d);}(_0xc4aa,0x1b7));var _0xac4a=function(_0x4b369d,_0x265eb8){_0x4b369d=_0x4b369d-0x0;var _0x571a98=_0xc4aa[_0x4b369d];return _0x571a98;};'use strict';var pdf=require(_0xac4a('0x0'));var emlformat=require(_0xac4a('0x1'));var rimraf=require(_0xac4a('0x2'));var zipdir=require(_0xac4a('0x3'));var jsonpatch=require(_0xac4a('0x4'));var rp=require(_0xac4a('0x5'));var moment=require('moment');var BPromise=require('bluebird');var Mustache=require('mustache');var util=require(_0xac4a('0x6'));var path=require(_0xac4a('0x7'));var sox=require(_0xac4a('0x8'));var csv=require(_0xac4a('0x9'));var ejs=require(_0xac4a('0xa'));var fs=require('fs');var _=require(_0xac4a('0xb'));var squel=require(_0xac4a('0xc'));var crypto=require(_0xac4a('0xd'));var jsforce=require('jsforce');var deskjs=require('desk.js');var toCsv=require(_0xac4a('0x9'));var querystring=require(_0xac4a('0xe'));var Papa=require(_0xac4a('0xf'));var Redis=require('ioredis');var authService=require(_0xac4a('0x10'));var qs=require(_0xac4a('0x11'));var as=require(_0xac4a('0x12'));var hardwareService=require('../../config/license/hardware');var logger=require(_0xac4a('0x13'))('api');var utils=require(_0xac4a('0x14'));var config=require('../../config/environment');var db=require(_0xac4a('0x15'))['db'];function respondWithStatusCode(_0x2a0776,_0x24291d){_0x24291d=_0x24291d||0xcc;return function(_0x5e16aa){if(_0x5e16aa){return _0x2a0776[_0xac4a('0x16')](_0x24291d);}return _0x2a0776[_0xac4a('0x17')](_0x24291d)[_0xac4a('0x18')]();};}function respondWithResult(_0x6e00d4,_0x1b4313){_0x1b4313=_0x1b4313||0xc8;return function(_0x3b71c0){if(_0x3b71c0){return _0x6e00d4[_0xac4a('0x17')](_0x1b4313)[_0xac4a('0x19')](_0x3b71c0);}};}function respondWithFilteredResult(_0x190418,_0x42c7fc){return function(_0x11e101){if(_0x11e101){var _0x26dbb8=_0x11e101[_0xac4a('0x1a')],_0x4a2119=_0x42c7fc[_0xac4a('0x1b')],_0x402fff=_0x42c7fc[_0xac4a('0x1b')]+_0x42c7fc[_0xac4a('0x1c')],_0x34d797;if(_0x402fff>=_0x26dbb8){_0x402fff=_0x26dbb8;_0x34d797=0xc8;}else{_0x34d797=0xce;}_0x190418[_0xac4a('0x17')](_0x34d797);return _0x190418[_0xac4a('0x1d')]('Content-Range',_0x4a2119+'-'+_0x402fff+'/'+_0x26dbb8)['json'](_0x11e101);}return null;};}function patchUpdates(_0x21a729){return function(_0x13c8eb){try{jsonpatch[_0xac4a('0x1e')](_0x13c8eb,_0x21a729,!![]);}catch(_0x4d837c){return BPromise[_0xac4a('0x1f')](_0x4d837c);}return _0x13c8eb[_0xac4a('0x20')]();};}function saveUpdates(_0x3752e4,_0x3a3cdb){return function(_0x123694){if(_0x123694){return _0x123694[_0xac4a('0x21')](_0x3752e4)[_0xac4a('0x22')](function(_0x3ca790){return _0x3ca790;});}return null;};}function removeEntity(_0x534092,_0x3d8f0a){return function(_0x3204ad){if(_0x3204ad){return _0x3204ad['destroy']()[_0xac4a('0x22')](function(){_0x534092[_0xac4a('0x17')](0xcc)[_0xac4a('0x18')]();});}};}function handleEntityNotFound(_0x947d8e,_0x4d2d6c){return function(_0x1b7998){if(!_0x1b7998){_0x947d8e[_0xac4a('0x16')](0x194);}return _0x1b7998;};}function handleError(_0x15435c,_0x412494){_0x412494=_0x412494||0x1f4;return function(_0x594f36){logger[_0xac4a('0x23')](_0x594f36[_0xac4a('0x24')]);if(_0x594f36[_0xac4a('0x25')]){delete _0x594f36[_0xac4a('0x25')];}_0x15435c[_0xac4a('0x17')](_0x412494)[_0xac4a('0x26')](_0x594f36);};}exports[_0xac4a('0x27')]=function(_0x14832b,_0x472c57){var _0x1c13dc={},_0x20202c={},_0x4e17ce={'count':0x0,'rows':[]};var _0x23b061=_[_0xac4a('0x28')](db[_0xac4a('0x29')][_0xac4a('0x2a')],function(_0x116700){return{'name':_0x116700['fieldName'],'type':_0x116700['type'][_0xac4a('0x2b')]};});_0x20202c[_0xac4a('0x2c')]=_[_0xac4a('0x28')](_0x23b061,'name');_0x20202c['query']=_[_0xac4a('0x2d')](_0x14832b[_0xac4a('0x2e')]);_0x20202c[_0xac4a('0x2f')]=_[_0xac4a('0x30')](_0x20202c[_0xac4a('0x2c')],_0x20202c['query']);_0x1c13dc[_0xac4a('0x31')]=_['intersection'](_0x20202c[_0xac4a('0x2c')],qs['fields'](_0x14832b[_0xac4a('0x2e')][_0xac4a('0x32')]));_0x1c13dc[_0xac4a('0x31')]=_0x1c13dc[_0xac4a('0x31')][_0xac4a('0x33')]?_0x1c13dc[_0xac4a('0x31')]:_0x20202c[_0xac4a('0x2c')];if(!_0x14832b[_0xac4a('0x2e')][_0xac4a('0x34')](_0xac4a('0x35'))){_0x1c13dc[_0xac4a('0x1c')]=qs[_0xac4a('0x1c')](_0x14832b[_0xac4a('0x2e')][_0xac4a('0x1c')]);_0x1c13dc['offset']=qs[_0xac4a('0x1b')](_0x14832b[_0xac4a('0x2e')]['offset']);}_0x1c13dc[_0xac4a('0x36')]=qs[_0xac4a('0x37')](_0x14832b['query']['sort']);_0x1c13dc[_0xac4a('0x38')]=qs[_0xac4a('0x2f')](_[_0xac4a('0x39')](_0x14832b[_0xac4a('0x2e')],_0x20202c['filters']),_0x23b061);if(_0x14832b[_0xac4a('0x2e')][_0xac4a('0x3a')]){_0x1c13dc['where']=_[_0xac4a('0x3b')](_0x1c13dc[_0xac4a('0x38')],{'$or':_[_0xac4a('0x28')](_0x23b061,function(_0x5f0eb8){if(_0x5f0eb8[_0xac4a('0x3c')]!==_0xac4a('0x3d')){var _0x1b5427={};_0x1b5427[_0x5f0eb8['name']]={'$like':'%'+_0x14832b[_0xac4a('0x2e')][_0xac4a('0x3a')]+'%'};return _0x1b5427;}})});}_0x1c13dc=_['merge']({},_0x1c13dc,_0x14832b['options']);var _0x4319a1={'where':_0x1c13dc['where']};return db['FaxApplication']['count'](_0x4319a1)['then'](function(_0x41b757){_0x4e17ce[_0xac4a('0x1a')]=_0x41b757;if(_0x14832b[_0xac4a('0x2e')][_0xac4a('0x3e')]){_0x1c13dc[_0xac4a('0x3f')]=[{'all':!![]}];}return db[_0xac4a('0x29')][_0xac4a('0x40')](_0x1c13dc);})[_0xac4a('0x22')](function(_0x28292c){_0x4e17ce[_0xac4a('0x41')]=_0x28292c;return _0x4e17ce;})[_0xac4a('0x22')](respondWithFilteredResult(_0x472c57,_0x1c13dc))[_0xac4a('0x42')](handleError(_0x472c57,null));};exports['show']=function(_0x5086ff,_0x5cd24f){var _0x1e1cc5={'raw':!![],'where':{'id':_0x5086ff[_0xac4a('0x43')]['id']}},_0x5c46a={};_0x5c46a[_0xac4a('0x2c')]=_[_0xac4a('0x2d')](db[_0xac4a('0x29')][_0xac4a('0x2a')]);_0x5c46a[_0xac4a('0x2e')]=_[_0xac4a('0x2d')](_0x5086ff[_0xac4a('0x2e')]);_0x5c46a['filters']=_[_0xac4a('0x30')](_0x5c46a[_0xac4a('0x2c')],_0x5c46a[_0xac4a('0x2e')]);_0x1e1cc5[_0xac4a('0x31')]=_[_0xac4a('0x30')](_0x5c46a['model'],qs[_0xac4a('0x32')](_0x5086ff[_0xac4a('0x2e')]['fields']));_0x1e1cc5[_0xac4a('0x31')]=_0x1e1cc5['attributes'][_0xac4a('0x33')]?_0x1e1cc5[_0xac4a('0x31')]:_0x5c46a[_0xac4a('0x2c')];if(_0x5086ff[_0xac4a('0x2e')][_0xac4a('0x3e')]){_0x1e1cc5[_0xac4a('0x3f')]=[{'all':!![]}];}_0x1e1cc5=_[_0xac4a('0x3b')]({},_0x1e1cc5,_0x5086ff[_0xac4a('0x44')]);return db[_0xac4a('0x29')][_0xac4a('0x45')](_0x1e1cc5)[_0xac4a('0x22')](handleEntityNotFound(_0x5cd24f,null))[_0xac4a('0x22')](respondWithResult(_0x5cd24f,null))['catch'](handleError(_0x5cd24f,null));};exports[_0xac4a('0x46')]=function(_0x41d11d,_0xeca4e9){return db['FaxApplication'][_0xac4a('0x46')](_0x41d11d[_0xac4a('0x47')],{})['then'](respondWithResult(_0xeca4e9,0xc9))[_0xac4a('0x42')](handleError(_0xeca4e9,null));};exports['update']=function(_0x244950,_0xe620f6){if(_0x244950[_0xac4a('0x47')]['id']){delete _0x244950['body']['id'];}return db['FaxApplication'][_0xac4a('0x45')]({'where':{'id':_0x244950['params']['id']}})[_0xac4a('0x22')](handleEntityNotFound(_0xe620f6,null))['then'](saveUpdates(_0x244950[_0xac4a('0x47')],null))['then'](respondWithResult(_0xe620f6,null))[_0xac4a('0x42')](handleError(_0xe620f6,null));};exports[_0xac4a('0x48')]=function(_0x424f9b,_0x1c8c39){return db['FaxApplication'][_0xac4a('0x45')]({'where':{'id':_0x424f9b[_0xac4a('0x43')]['id']}})[_0xac4a('0x22')](handleEntityNotFound(_0x1c8c39,null))[_0xac4a('0x22')](removeEntity(_0x1c8c39,null))[_0xac4a('0x42')](handleError(_0x1c8c39,null));}; \ No newline at end of file +var _0x1261=['model','fields','attributes','hasOwnProperty','nolimit','order','sort','filters','pick','filter','where','type','merge','options','includeAll','findAll','rows','show','params','keys','length','include','catch','create','body','update','find','destroy','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','mustache','util','path','ejs','lodash','crypto','jsforce','desk.js','to-csv','querystring','ioredis','../../components/auth/service','../../components/parsers/qs','../../config/license/hardware','../../config/utils','../../mysqldb','sendStatus','status','end','json','count','offset','limit','Content-Range','apply','reject','save','then','error','stack','name','index','FaxApplication','rawAttributes','fieldName','key','map','query','intersection'];(function(_0x1ba47c,_0x3445d0){var _0xa2f088=function(_0x22938b){while(--_0x22938b){_0x1ba47c['push'](_0x1ba47c['shift']());}};_0xa2f088(++_0x3445d0);}(_0x1261,0x144));var _0x1126=function(_0x148316,_0x6c9dc){_0x148316=_0x148316-0x0;var _0xdbe95d=_0x1261[_0x148316];return _0xdbe95d;};'use strict';var pdf=require('html-pdf');var emlformat=require(_0x1126('0x0'));var rimraf=require(_0x1126('0x1'));var zipdir=require(_0x1126('0x2'));var jsonpatch=require(_0x1126('0x3'));var rp=require(_0x1126('0x4'));var moment=require(_0x1126('0x5'));var BPromise=require(_0x1126('0x6'));var Mustache=require(_0x1126('0x7'));var util=require(_0x1126('0x8'));var path=require(_0x1126('0x9'));var sox=require('sox');var csv=require('to-csv');var ejs=require(_0x1126('0xa'));var fs=require('fs');var _=require(_0x1126('0xb'));var squel=require('squel');var crypto=require(_0x1126('0xc'));var jsforce=require(_0x1126('0xd'));var deskjs=require(_0x1126('0xe'));var toCsv=require(_0x1126('0xf'));var querystring=require(_0x1126('0x10'));var Papa=require('papaparse');var Redis=require(_0x1126('0x11'));var authService=require(_0x1126('0x12'));var qs=require(_0x1126('0x13'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0x1126('0x14'));var logger=require('../../config/logger')('api');var utils=require(_0x1126('0x15'));var config=require('../../config/environment');var db=require(_0x1126('0x16'))['db'];function respondWithStatusCode(_0x1b364a,_0xd26a32){_0xd26a32=_0xd26a32||0xcc;return function(_0x273896){if(_0x273896){return _0x1b364a[_0x1126('0x17')](_0xd26a32);}return _0x1b364a[_0x1126('0x18')](_0xd26a32)[_0x1126('0x19')]();};}function respondWithResult(_0x2048ad,_0x43850b){_0x43850b=_0x43850b||0xc8;return function(_0x53a8f0){if(_0x53a8f0){return _0x2048ad['status'](_0x43850b)[_0x1126('0x1a')](_0x53a8f0);}};}function respondWithFilteredResult(_0x154e20,_0x279455){return function(_0x4be0c6){if(_0x4be0c6){var _0x45149c=_0x4be0c6[_0x1126('0x1b')],_0x4794a7=_0x279455['offset'],_0x35fe9f=_0x279455[_0x1126('0x1c')]+_0x279455[_0x1126('0x1d')],_0x42f379;if(_0x35fe9f>=_0x45149c){_0x35fe9f=_0x45149c;_0x42f379=0xc8;}else{_0x42f379=0xce;}_0x154e20['status'](_0x42f379);return _0x154e20['set'](_0x1126('0x1e'),_0x4794a7+'-'+_0x35fe9f+'/'+_0x45149c)[_0x1126('0x1a')](_0x4be0c6);}return null;};}function patchUpdates(_0x58d11a){return function(_0x548359){try{jsonpatch[_0x1126('0x1f')](_0x548359,_0x58d11a,!![]);}catch(_0x58b109){return BPromise[_0x1126('0x20')](_0x58b109);}return _0x548359[_0x1126('0x21')]();};}function saveUpdates(_0x2f70ac,_0x54400a){return function(_0x2a08ba){if(_0x2a08ba){return _0x2a08ba['update'](_0x2f70ac)['then'](function(_0x30f6b3){return _0x30f6b3;});}return null;};}function removeEntity(_0x3a9bed,_0x25b24b){return function(_0x36d254){if(_0x36d254){return _0x36d254['destroy']()[_0x1126('0x22')](function(){_0x3a9bed[_0x1126('0x18')](0xcc)['end']();});}};}function handleEntityNotFound(_0x2175fa,_0x59cd8e){return function(_0x529dd9){if(!_0x529dd9){_0x2175fa['sendStatus'](0x194);}return _0x529dd9;};}function handleError(_0x2199d9,_0x15bcc3){_0x15bcc3=_0x15bcc3||0x1f4;return function(_0x329914){logger[_0x1126('0x23')](_0x329914[_0x1126('0x24')]);if(_0x329914[_0x1126('0x25')]){delete _0x329914[_0x1126('0x25')];}_0x2199d9[_0x1126('0x18')](_0x15bcc3)['send'](_0x329914);};}exports[_0x1126('0x26')]=function(_0x375e59,_0xa293f4){var _0x5ddf63={},_0x541bc9={},_0xeb7d89={'count':0x0,'rows':[]};var _0x39bf0e=_['map'](db[_0x1126('0x27')][_0x1126('0x28')],function(_0x4a334a){return{'name':_0x4a334a[_0x1126('0x29')],'type':_0x4a334a['type'][_0x1126('0x2a')]};});_0x541bc9['model']=_[_0x1126('0x2b')](_0x39bf0e,'name');_0x541bc9[_0x1126('0x2c')]=_['keys'](_0x375e59['query']);_0x541bc9['filters']=_[_0x1126('0x2d')](_0x541bc9[_0x1126('0x2e')],_0x541bc9[_0x1126('0x2c')]);_0x5ddf63['attributes']=_[_0x1126('0x2d')](_0x541bc9[_0x1126('0x2e')],qs['fields'](_0x375e59[_0x1126('0x2c')][_0x1126('0x2f')]));_0x5ddf63[_0x1126('0x30')]=_0x5ddf63[_0x1126('0x30')]['length']?_0x5ddf63['attributes']:_0x541bc9[_0x1126('0x2e')];if(!_0x375e59[_0x1126('0x2c')][_0x1126('0x31')](_0x1126('0x32'))){_0x5ddf63['limit']=qs[_0x1126('0x1d')](_0x375e59[_0x1126('0x2c')][_0x1126('0x1d')]);_0x5ddf63[_0x1126('0x1c')]=qs[_0x1126('0x1c')](_0x375e59['query'][_0x1126('0x1c')]);}_0x5ddf63[_0x1126('0x33')]=qs[_0x1126('0x34')](_0x375e59[_0x1126('0x2c')]['sort']);_0x5ddf63['where']=qs[_0x1126('0x35')](_[_0x1126('0x36')](_0x375e59['query'],_0x541bc9[_0x1126('0x35')]),_0x39bf0e);if(_0x375e59[_0x1126('0x2c')][_0x1126('0x37')]){_0x5ddf63['where']=_['merge'](_0x5ddf63[_0x1126('0x38')],{'$or':_[_0x1126('0x2b')](_0x39bf0e,function(_0x3aa08f){if(_0x3aa08f[_0x1126('0x39')]!=='VIRTUAL'){var _0x428d3d={};_0x428d3d[_0x3aa08f['name']]={'$like':'%'+_0x375e59[_0x1126('0x2c')][_0x1126('0x37')]+'%'};return _0x428d3d;}})});}_0x5ddf63=_[_0x1126('0x3a')]({},_0x5ddf63,_0x375e59[_0x1126('0x3b')]);var _0x57e5d2={'where':_0x5ddf63['where']};return db[_0x1126('0x27')][_0x1126('0x1b')](_0x57e5d2)[_0x1126('0x22')](function(_0x397e3b){_0xeb7d89[_0x1126('0x1b')]=_0x397e3b;if(_0x375e59[_0x1126('0x2c')][_0x1126('0x3c')]){_0x5ddf63['include']=[{'all':!![]}];}return db[_0x1126('0x27')][_0x1126('0x3d')](_0x5ddf63);})[_0x1126('0x22')](function(_0xf3a0bd){_0xeb7d89[_0x1126('0x3e')]=_0xf3a0bd;return _0xeb7d89;})['then'](respondWithFilteredResult(_0xa293f4,_0x5ddf63))['catch'](handleError(_0xa293f4,null));};exports[_0x1126('0x3f')]=function(_0x219bcc,_0xcee9de){var _0x21c38e={'raw':!![],'where':{'id':_0x219bcc[_0x1126('0x40')]['id']}},_0x18b496={};_0x18b496['model']=_['keys'](db['FaxApplication'][_0x1126('0x28')]);_0x18b496['query']=_[_0x1126('0x41')](_0x219bcc[_0x1126('0x2c')]);_0x18b496[_0x1126('0x35')]=_[_0x1126('0x2d')](_0x18b496['model'],_0x18b496['query']);_0x21c38e[_0x1126('0x30')]=_[_0x1126('0x2d')](_0x18b496[_0x1126('0x2e')],qs['fields'](_0x219bcc[_0x1126('0x2c')]['fields']));_0x21c38e[_0x1126('0x30')]=_0x21c38e['attributes'][_0x1126('0x42')]?_0x21c38e[_0x1126('0x30')]:_0x18b496[_0x1126('0x2e')];if(_0x219bcc['query'][_0x1126('0x3c')]){_0x21c38e[_0x1126('0x43')]=[{'all':!![]}];}_0x21c38e=_[_0x1126('0x3a')]({},_0x21c38e,_0x219bcc['options']);return db['FaxApplication']['find'](_0x21c38e)[_0x1126('0x22')](handleEntityNotFound(_0xcee9de,null))['then'](respondWithResult(_0xcee9de,null))[_0x1126('0x44')](handleError(_0xcee9de,null));};exports['create']=function(_0x2f45b9,_0x323499){return db[_0x1126('0x27')][_0x1126('0x45')](_0x2f45b9[_0x1126('0x46')],{})['then'](respondWithResult(_0x323499,0xc9))[_0x1126('0x44')](handleError(_0x323499,null));};exports[_0x1126('0x47')]=function(_0x5111d3,_0x1a15f8){if(_0x5111d3[_0x1126('0x46')]['id']){delete _0x5111d3['body']['id'];}return db[_0x1126('0x27')][_0x1126('0x48')]({'where':{'id':_0x5111d3['params']['id']}})[_0x1126('0x22')](handleEntityNotFound(_0x1a15f8,null))[_0x1126('0x22')](saveUpdates(_0x5111d3[_0x1126('0x46')],null))['then'](respondWithResult(_0x1a15f8,null))[_0x1126('0x44')](handleError(_0x1a15f8,null));};exports[_0x1126('0x49')]=function(_0x411c89,_0x5878bb){return db[_0x1126('0x27')][_0x1126('0x48')]({'where':{'id':_0x411c89[_0x1126('0x40')]['id']}})[_0x1126('0x22')](handleEntityNotFound(_0x5878bb,null))['then'](removeEntity(_0x5878bb,null))[_0x1126('0x44')](handleError(_0x5878bb,null));}; \ No newline at end of file diff --git a/server/api/faxApplication/faxApplication.model.js b/server/api/faxApplication/faxApplication.model.js index 339377f..ccd1c8f 100644 --- a/server/api/faxApplication/faxApplication.model.js +++ b/server/api/faxApplication/faxApplication.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x5267=['define','FaxApplication','utf8mb4','lodash','util','../../config/logger','api','moment','request-promise','path','rimraf','./faxApplication.attributes'];(function(_0x3225de,_0x526ffb){var _0x1000f2=function(_0x22d4df){while(--_0x22d4df){_0x3225de['push'](_0x3225de['shift']());}};_0x1000f2(++_0x526ffb);}(_0x5267,0xb7));var _0x7526=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x5267[_0x3dd15e];return _0x231fd0;};'use strict';var _=require(_0x7526('0x0'));var util=require(_0x7526('0x1'));var logger=require(_0x7526('0x2'))(_0x7526('0x3'));var moment=require(_0x7526('0x4'));var BPromise=require('bluebird');var rp=require(_0x7526('0x5'));var fs=require('fs');var path=require(_0x7526('0x6'));var rimraf=require(_0x7526('0x7'));var config=require('../../config/environment');var attributes=require(_0x7526('0x8'));module['exports']=function(_0x24ae65,_0x10c811){return _0x24ae65[_0x7526('0x9')](_0x7526('0xa'),attributes,{'tableName':'fax_applications','paranoid':![],'indexes':[],'timestamps':!![],'charset':_0x7526('0xb'),'collate':'utf8mb4_unicode_ci'});}; \ No newline at end of file +var _0xca7b=['./faxApplication.attributes','utf8mb4','lodash','util','../../config/logger','request-promise','path','rimraf','../../config/environment'];(function(_0x19c1c8,_0x2f0b5d){var _0x39a68a=function(_0x254985){while(--_0x254985){_0x19c1c8['push'](_0x19c1c8['shift']());}};_0x39a68a(++_0x2f0b5d);}(_0xca7b,0x1df));var _0xbca7=function(_0x20fe7b,_0x4fce57){_0x20fe7b=_0x20fe7b-0x0;var _0x50d395=_0xca7b[_0x20fe7b];return _0x50d395;};'use strict';var _=require(_0xbca7('0x0'));var util=require(_0xbca7('0x1'));var logger=require(_0xbca7('0x2'))('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0xbca7('0x3'));var fs=require('fs');var path=require(_0xbca7('0x4'));var rimraf=require(_0xbca7('0x5'));var config=require(_0xbca7('0x6'));var attributes=require(_0xbca7('0x7'));module['exports']=function(_0x27714b,_0x226f21){return _0x27714b['define']('FaxApplication',attributes,{'tableName':'fax_applications','paranoid':![],'indexes':[],'timestamps':!![],'charset':_0xbca7('0x8'),'collate':'utf8mb4_unicode_ci'});}; \ No newline at end of file diff --git a/server/api/faxApplication/faxApplication.rpc.js b/server/api/faxApplication/faxApplication.rpc.js index 8162026..f19f002 100644 --- a/server/api/faxApplication/faxApplication.rpc.js +++ b/server/api/faxApplication/faxApplication.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xca0e=['debug','FaxApplication,\x20%s,\x20%s,\x20%s','request\x20sent','error','code','message','info','result','catch','UpdateFaxApplication','update','body','options','raw','where','attributes','limit','util','moment','bluebird','randomstring','ioredis','../../mysqldb','../../config/utils','../../config/logger','../../config/environment','jayson/promise','request','then','FaxApplication,\x20%s,\x20%s'];(function(_0x311909,_0x414bf7){var _0x8d3163=function(_0x226f55){while(--_0x226f55){_0x311909['push'](_0x311909['shift']());}};_0x8d3163(++_0x414bf7);}(_0xca0e,0x101));var _0xeca0=function(_0x10d8b4,_0x3e4269){_0x10d8b4=_0x10d8b4-0x0;var _0x46cfde=_0xca0e[_0x10d8b4];return _0x46cfde;};'use strict';var _=require('lodash');var util=require(_0xeca0('0x0'));var moment=require(_0xeca0('0x1'));var BPromise=require(_0xeca0('0x2'));var rs=require(_0xeca0('0x3'));var fs=require('fs');var Redis=require(_0xeca0('0x4'));var db=require(_0xeca0('0x5'))['db'];var utils=require(_0xeca0('0x6'));var logger=require(_0xeca0('0x7'))('rpc');var config=require(_0xeca0('0x8'));var jayson=require(_0xeca0('0x9'));var client=jayson['client']['http']({'port':0x232a});function respondWithRpcPromise(_0x269222,_0x182637,_0x3df2b6){return new BPromise(function(_0x2ba4a7,_0x50c7be){return client[_0xeca0('0xa')](_0x269222,_0x3df2b6)[_0xeca0('0xb')](function(_0x3a914b){logger['info'](_0xeca0('0xc'),_0x182637,'request\x20sent');logger[_0xeca0('0xd')](_0xeca0('0xe'),_0x182637,_0xeca0('0xf'),JSON['stringify'](_0x3a914b));if(_0x3a914b[_0xeca0('0x10')]){if(_0x3a914b[_0xeca0('0x10')][_0xeca0('0x11')]===0x1f4){logger[_0xeca0('0x10')](_0xeca0('0xc'),_0x182637,_0x3a914b['error'][_0xeca0('0x12')]);return _0x50c7be(_0x3a914b['error'][_0xeca0('0x12')]);}logger[_0xeca0('0x10')](_0xeca0('0xc'),_0x182637,_0x3a914b[_0xeca0('0x10')]['message']);return _0x2ba4a7(_0x3a914b[_0xeca0('0x10')][_0xeca0('0x12')]);}else{logger[_0xeca0('0x13')](_0xeca0('0xc'),_0x182637,_0xeca0('0xf'));_0x2ba4a7(_0x3a914b[_0xeca0('0x14')][_0xeca0('0x12')]);}})[_0xeca0('0x15')](function(_0xd9c553){logger[_0xeca0('0x10')](_0xeca0('0xc'),_0x182637,_0xd9c553);_0x50c7be(_0xd9c553);});});}exports[_0xeca0('0x16')]=function(_0x4e6fab){var _0x1c690e=this;return new Promise(function(_0x4959df,_0x49f292){return db['FaxApplication'][_0xeca0('0x17')](_0x4e6fab[_0xeca0('0x18')],{'raw':_0x4e6fab[_0xeca0('0x19')]?_0x4e6fab[_0xeca0('0x19')][_0xeca0('0x1a')]===undefined?!![]:![]:!![],'individualHooks':!![],'where':_0x4e6fab[_0xeca0('0x19')]?_0x4e6fab[_0xeca0('0x19')][_0xeca0('0x1b')]||null:null,'attributes':_0x4e6fab[_0xeca0('0x19')]?_0x4e6fab['options'][_0xeca0('0x1c')]||null:null,'limit':_0x4e6fab[_0xeca0('0x19')]?_0x4e6fab[_0xeca0('0x19')][_0xeca0('0x1d')]||null:null})[_0xeca0('0xb')](function(_0x233cd1){logger[_0xeca0('0x13')](_0xeca0('0x16'),_0x4e6fab);logger['debug'](_0xeca0('0x16'),_0x4e6fab,JSON['stringify'](_0x233cd1));_0x4959df(_0x233cd1);})[_0xeca0('0x15')](function(_0x5a0b52){logger[_0xeca0('0x10')](_0xeca0('0x16'),_0x5a0b52[_0xeca0('0x12')],_0x4e6fab);_0x49f292(_0x1c690e[_0xeca0('0x10')](0x1f4,_0x5a0b52[_0xeca0('0x12')]));});});}; \ No newline at end of file +var _0x3163=['randomstring','ioredis','../../config/logger','rpc','../../config/environment','client','http','request','then','info','FaxApplication,\x20%s,\x20%s','request\x20sent','FaxApplication,\x20%s,\x20%s,\x20%s','stringify','error','code','message','result','catch','UpdateFaxApplication','FaxApplication','update','options','raw','where','attributes','limit','lodash','util','moment','bluebird'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x3163,0xb6));var _0x3316=function(_0x29160f,_0x109d53){_0x29160f=_0x29160f-0x0;var _0xf12a93=_0x3163[_0x29160f];return _0xf12a93;};'use strict';var _=require(_0x3316('0x0'));var util=require(_0x3316('0x1'));var moment=require(_0x3316('0x2'));var BPromise=require(_0x3316('0x3'));var rs=require(_0x3316('0x4'));var fs=require('fs');var Redis=require(_0x3316('0x5'));var db=require('../../mysqldb')['db'];var utils=require('../../config/utils');var logger=require(_0x3316('0x6'))(_0x3316('0x7'));var config=require(_0x3316('0x8'));var jayson=require('jayson/promise');var client=jayson[_0x3316('0x9')][_0x3316('0xa')]({'port':0x232a});function respondWithRpcPromise(_0x2f5859,_0x29c4a7,_0xe5ec21){return new BPromise(function(_0xa5218,_0x28923f){return client[_0x3316('0xb')](_0x2f5859,_0xe5ec21)[_0x3316('0xc')](function(_0x33d002){logger[_0x3316('0xd')](_0x3316('0xe'),_0x29c4a7,_0x3316('0xf'));logger['debug'](_0x3316('0x10'),_0x29c4a7,_0x3316('0xf'),JSON[_0x3316('0x11')](_0x33d002));if(_0x33d002[_0x3316('0x12')]){if(_0x33d002[_0x3316('0x12')][_0x3316('0x13')]===0x1f4){logger[_0x3316('0x12')](_0x3316('0xe'),_0x29c4a7,_0x33d002['error'][_0x3316('0x14')]);return _0x28923f(_0x33d002['error']['message']);}logger[_0x3316('0x12')]('FaxApplication,\x20%s,\x20%s',_0x29c4a7,_0x33d002['error'][_0x3316('0x14')]);return _0xa5218(_0x33d002[_0x3316('0x12')][_0x3316('0x14')]);}else{logger[_0x3316('0xd')]('FaxApplication,\x20%s,\x20%s',_0x29c4a7,'request\x20sent');_0xa5218(_0x33d002[_0x3316('0x15')][_0x3316('0x14')]);}})[_0x3316('0x16')](function(_0x578e0a){logger[_0x3316('0x12')](_0x3316('0xe'),_0x29c4a7,_0x578e0a);_0x28923f(_0x578e0a);});});}exports[_0x3316('0x17')]=function(_0x11e9d1){var _0x14f531=this;return new Promise(function(_0x23ade0,_0x19fd5a){return db[_0x3316('0x18')][_0x3316('0x19')](_0x11e9d1['body'],{'raw':_0x11e9d1[_0x3316('0x1a')]?_0x11e9d1[_0x3316('0x1a')][_0x3316('0x1b')]===undefined?!![]:![]:!![],'individualHooks':!![],'where':_0x11e9d1[_0x3316('0x1a')]?_0x11e9d1['options'][_0x3316('0x1c')]||null:null,'attributes':_0x11e9d1['options']?_0x11e9d1[_0x3316('0x1a')][_0x3316('0x1d')]||null:null,'limit':_0x11e9d1[_0x3316('0x1a')]?_0x11e9d1[_0x3316('0x1a')][_0x3316('0x1e')]||null:null})['then'](function(_0x423798){logger[_0x3316('0xd')]('UpdateFaxApplication',_0x11e9d1);logger['debug']('UpdateFaxApplication',_0x11e9d1,JSON[_0x3316('0x11')](_0x423798));_0x23ade0(_0x423798);})[_0x3316('0x16')](function(_0xaa9b4d){logger[_0x3316('0x12')]('UpdateFaxApplication',_0xaa9b4d[_0x3316('0x14')],_0x11e9d1);_0x19fd5a(_0x14f531[_0x3316('0x12')](0x1f4,_0xaa9b4d[_0x3316('0x14')]));});});}; \ No newline at end of file diff --git a/server/api/faxApplication/index.js b/server/api/faxApplication/index.js index f556b8b..d5345b7 100644 --- a/server/api/faxApplication/index.js +++ b/server/api/faxApplication/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xee14=['index','/:id','isAuthenticated','show','post','create','delete','destroy','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./faxApplication.controller','get'];(function(_0x57650f,_0x353896){var _0x30b266=function(_0x30016b){while(--_0x30016b){_0x57650f['push'](_0x57650f['shift']());}};_0x30b266(++_0x353896);}(_0xee14,0x13a));var _0x4ee1=function(_0x5a8c7e,_0x2d3198){_0x5a8c7e=_0x5a8c7e-0x0;var _0x353741=_0xee14[_0x5a8c7e];return _0x353741;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x4ee1('0x0'));var timeout=require(_0x4ee1('0x1'));var express=require(_0x4ee1('0x2'));var router=express[_0x4ee1('0x3')]();var auth=require(_0x4ee1('0x4'));var interaction=require(_0x4ee1('0x5'));var config=require(_0x4ee1('0x6'));var controller=require(_0x4ee1('0x7'));router[_0x4ee1('0x8')]('/',auth['isAuthenticated'](),controller[_0x4ee1('0x9')]);router['get'](_0x4ee1('0xa'),auth[_0x4ee1('0xb')](),controller[_0x4ee1('0xc')]);router[_0x4ee1('0xd')]('/',auth[_0x4ee1('0xb')](),controller[_0x4ee1('0xe')]);router['put'](_0x4ee1('0xa'),auth[_0x4ee1('0xb')](),controller['update']);router[_0x4ee1('0xf')](_0x4ee1('0xa'),auth[_0x4ee1('0xb')](),controller[_0x4ee1('0x10')]);module['exports']=router; \ No newline at end of file +var _0xae24=['destroy','multer','path','express','Router','../../config/environment','get','isAuthenticated','index','/:id','delete'];(function(_0x31e29a,_0x349c9b){var _0x32d892=function(_0x41cc86){while(--_0x41cc86){_0x31e29a['push'](_0x31e29a['shift']());}};_0x32d892(++_0x349c9b);}(_0xae24,0x182));var _0x4ae2=function(_0x23e20c,_0x31d855){_0x23e20c=_0x23e20c-0x0;var _0x2bd950=_0xae24[_0x23e20c];return _0x2bd950;};'use strict';var multer=require(_0x4ae2('0x0'));var util=require('util');var path=require(_0x4ae2('0x1'));var timeout=require('connect-timeout');var express=require(_0x4ae2('0x2'));var router=express[_0x4ae2('0x3')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x4ae2('0x4'));var controller=require('./faxApplication.controller');router[_0x4ae2('0x5')]('/',auth[_0x4ae2('0x6')](),controller[_0x4ae2('0x7')]);router[_0x4ae2('0x5')](_0x4ae2('0x8'),auth[_0x4ae2('0x6')](),controller['show']);router['post']('/',auth[_0x4ae2('0x6')](),controller['create']);router['put'](_0x4ae2('0x8'),auth[_0x4ae2('0x6')](),controller['update']);router[_0x4ae2('0x9')](_0x4ae2('0x8'),auth[_0x4ae2('0x6')](),controller[_0x4ae2('0xa')]);module['exports']=router; \ No newline at end of file diff --git a/server/api/faxInteraction/faxInteraction.attributes.js b/server/api/faxInteraction/faxInteraction.attributes.js index ea60bc4..892f525 100644 --- a/server/api/faxInteraction/faxInteraction.attributes.js +++ b/server/api/faxInteraction/faxInteraction.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x5f14=['BOOLEAN','STRING','DATE','ENUM','out','sequelize','exports'];(function(_0x277179,_0x2fcc99){var _0x46c16e=function(_0x37f3f1){while(--_0x37f3f1){_0x277179['push'](_0x277179['shift']());}};_0x46c16e(++_0x2fcc99);}(_0x5f14,0x163));var _0x45f1=function(_0x5c2e3e,_0x26ecd3){_0x5c2e3e=_0x5c2e3e-0x0;var _0x53f64a=_0x5f14[_0x5c2e3e];return _0x53f64a;};'use strict';var Sequelize=require(_0x45f1('0x0'));module[_0x45f1('0x1')]={'closed':{'type':Sequelize[_0x45f1('0x2')],'defaultValue':![]},'closedAt':{'type':Sequelize['DATE']},'disposition':{'type':Sequelize['STRING']},'note':{'type':Sequelize[_0x45f1('0x3')]},'read1stAt':{'type':Sequelize[_0x45f1('0x4')]},'fax':{'type':Sequelize[_0x45f1('0x3')]},'firstMsgDirection':{'type':Sequelize[_0x45f1('0x5')]('in','out'),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0x45f1('0x4')]},'lastMsgDirection':{'type':Sequelize[_0x45f1('0x5')]('in',_0x45f1('0x6')),'defaultValue':'in','allowNull':![]}}; \ No newline at end of file +var _0xeb14=['exports','BOOLEAN','DATE','STRING','ENUM','out','sequelize'];(function(_0x44a3b0,_0x352810){var _0x39e6f6=function(_0x248002){while(--_0x248002){_0x44a3b0['push'](_0x44a3b0['shift']());}};_0x39e6f6(++_0x352810);}(_0xeb14,0xae));var _0x4eb1=function(_0x5bc57b,_0x22c74e){_0x5bc57b=_0x5bc57b-0x0;var _0x181687=_0xeb14[_0x5bc57b];return _0x181687;};'use strict';var Sequelize=require(_0x4eb1('0x0'));module[_0x4eb1('0x1')]={'closed':{'type':Sequelize[_0x4eb1('0x2')],'defaultValue':![]},'closedAt':{'type':Sequelize[_0x4eb1('0x3')]},'disposition':{'type':Sequelize[_0x4eb1('0x4')]},'note':{'type':Sequelize[_0x4eb1('0x4')]},'read1stAt':{'type':Sequelize[_0x4eb1('0x3')]},'fax':{'type':Sequelize[_0x4eb1('0x4')]},'firstMsgDirection':{'type':Sequelize[_0x4eb1('0x5')]('in',_0x4eb1('0x6')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize['DATE']},'lastMsgDirection':{'type':Sequelize[_0x4eb1('0x5')]('in',_0x4eb1('0x6')),'defaultValue':'in','allowNull':![]}}; \ No newline at end of file diff --git a/server/api/faxInteraction/faxInteraction.controller.js b/server/api/faxInteraction/faxInteraction.controller.js index b3c521e..4fdeec2 100644 --- a/server/api/faxInteraction/faxInteraction.controller.js +++ b/server/api/faxInteraction/faxInteraction.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x71f4=['FaxInteractionId','all','rows','catch','show','includeAll','include','options','create','params','describe','FaxMessage','addMessage','ids','omit','getMessages','findOne','YYYY-MM-DD\x20HH:mm:ss','setTags','spread','findAll','emit','faxInteractionTags:save','removeTags','download','unix','join','root','server','files','tmp','attachments','format','push','Attachment','Messages','get','mkdirSync','basename','existsSync','createReadStream','pipe','createWriteStream','log','unlinkSync','rimraf','zip-dir','fast-json-patch','request-promise','moment','mustache','path','to-csv','ejs','lodash','squel','crypto','jsforce','desk.js','querystring','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/logger','api','../../config/utils','../../mysqldb','redis','defaults','localhost','socket.io-emitter','./faxInteraction.socket','register','sendStatus','status','end','json','offset','limit','reject','save','update','destroy','error','stack','name','send','Users','map','fullname','TagIds','Tags','split','then','FaxInteraction','rawAttributes','key','model','query','intersection','attributes','length','hasOwnProperty','nolimit','sort','where','pick','filters','select','field','color','from','u.id','ui.FaxInteractionId','user_has_fax_interactions','users','u.id\x20=\x20ui.UserId','cm_contacts','c.id\x20=\x20i.ContactId\x20AND\x20c.deletedAt\x20IS\x20NULL','left_join','fax_accounts','a.id\x20=\x20i.FaxAccountId','fax_interaction_has_tags','tools_tags','t.id\x20=\x20it.TagId','expr','search','sqlOperator','conditions','find','having','`\x20=\x200','`\x20>\x200','MATCH\x20(c.firstName,\x20c.lastName,\x20c.phone,\x20c.mobile,\x20c.fax,\x20c.email)\x20AGAINST\x20(?\x20IN\x20BOOLEAN\x20MODE)','getFullTextValue','value','c.firstName\x20LIKE\x20?\x20OR\x20c.lastName\x20LIKE\x20?\x20OR\x20c.email\x20LIKE\x20?','ContactId','buildExpression','Tag','CONCAT(\x27,\x27,\x20`TagIds`,\x20\x27,\x27)\x20LIKE\x20?','union','User','UserId','type','text','start','body','keys','some','forEach','FaxAccountId','concat','createdAt','parse','$gte','$lte','null','\x20IS\x20NULL','\x20=\x20?','read','isArray','tag','filter','i.id\x20LIKE\x20?','i.fax\x20LIKE\x20?','CONCAT(c.firstName,\x20\x27\x20\x27,\x20c.lastName)\x20LIKE\x20?','i.id','Sequelize','QueryTypes','SELECT','clone','SUM(me.read\x20=\x200\x20AND\x20me.direction\x20=\x20\x27in\x27)','unreadMessages','order','DESC','resolve','journey','i.FaxAccountId\x20IS\x20NOT\x20NULL','getFaxAccounts','isEmpty','i.FaxAccountId\x20IS\x20NULL','i.FaxAccountId\x20IN\x20?','sequelize','toString','count','keyBy','merge','fields','a.key','Account.key','a.mandatoryDisposition','Account.mandatoryDisposition','i.*','c.lastName','Contact.lastName','c.email','Contact.email','c.phone','c.mobile','Contact.mobile','Contact.fax','o.fullname','Owner.fullname','Owner.internal'];(function(_0x266618,_0x18f637){var _0x54dbf5=function(_0x1f7985){while(--_0x1f7985){_0x266618['push'](_0x266618['shift']());}};_0x54dbf5(++_0x18f637);}(_0x71f4,0xf9));var _0x471f=function(_0x58323d,_0x169c33){_0x58323d=_0x58323d-0x0;var _0x4d7914=_0x71f4[_0x58323d];return _0x4d7914;};'use strict';var pdf=require('html-pdf');var emlformat=require('eml-format');var rimraf=require(_0x471f('0x0'));var zipdir=require(_0x471f('0x1'));var jsonpatch=require(_0x471f('0x2'));var rp=require(_0x471f('0x3'));var moment=require(_0x471f('0x4'));var BPromise=require('bluebird');var Mustache=require(_0x471f('0x5'));var util=require('util');var path=require(_0x471f('0x6'));var sox=require('sox');var csv=require(_0x471f('0x7'));var ejs=require(_0x471f('0x8'));var fs=require('fs');var _=require(_0x471f('0x9'));var squel=require(_0x471f('0xa'));var crypto=require(_0x471f('0xb'));var jsforce=require(_0x471f('0xc'));var deskjs=require(_0x471f('0xd'));var toCsv=require(_0x471f('0x7'));var querystring=require(_0x471f('0xe'));var Papa=require('papaparse');var Redis=require('ioredis');var authService=require('../../components/auth/service');var qs=require(_0x471f('0xf'));var as=require(_0x471f('0x10'));var hardwareService=require('../../config/license/hardware');var logger=require(_0x471f('0x11'))(_0x471f('0x12'));var utils=require(_0x471f('0x13'));var config=require('../../config/environment');var db=require(_0x471f('0x14'))['db'];config[_0x471f('0x15')]=_[_0x471f('0x16')](config[_0x471f('0x15')],{'host':_0x471f('0x17'),'port':0x18eb});var socket=require(_0x471f('0x18'))(new Redis(config[_0x471f('0x15')]));require(_0x471f('0x19'))[_0x471f('0x1a')](socket);function respondWithStatusCode(_0x530b18,_0x207afa){_0x207afa=_0x207afa||0xcc;return function(_0x4d7688){if(_0x4d7688){return _0x530b18[_0x471f('0x1b')](_0x207afa);}return _0x530b18[_0x471f('0x1c')](_0x207afa)[_0x471f('0x1d')]();};}function respondWithResult(_0x211780,_0x117e7f){_0x117e7f=_0x117e7f||0xc8;return function(_0x1c335f){if(_0x1c335f){return _0x211780[_0x471f('0x1c')](_0x117e7f)[_0x471f('0x1e')](_0x1c335f);}};}function respondWithFilteredResult(_0x57c6f2,_0xe03125){return function(_0x257f0e){if(_0x257f0e){var _0x4c3e47=_0x257f0e['count'],_0x242f7d=_0xe03125[_0x471f('0x1f')],_0x479bc1=_0xe03125[_0x471f('0x1f')]+_0xe03125[_0x471f('0x20')],_0x2bf4cc;if(_0x479bc1>=_0x4c3e47){_0x479bc1=_0x4c3e47;_0x2bf4cc=0xc8;}else{_0x2bf4cc=0xce;}_0x57c6f2[_0x471f('0x1c')](_0x2bf4cc);return _0x57c6f2['set']('Content-Range',_0x242f7d+'-'+_0x479bc1+'/'+_0x4c3e47)[_0x471f('0x1e')](_0x257f0e);}return null;};}function patchUpdates(_0x5e5e19){return function(_0x217a43){try{jsonpatch['apply'](_0x217a43,_0x5e5e19,!![]);}catch(_0x56897e){return BPromise[_0x471f('0x21')](_0x56897e);}return _0x217a43[_0x471f('0x22')]();};}function saveUpdates(_0x5b3118,_0x22b331){return function(_0x1b9585){if(_0x1b9585){return _0x1b9585[_0x471f('0x23')](_0x5b3118)['then'](function(_0x1c1105){return _0x1c1105;});}return null;};}function removeEntity(_0x228500,_0x234f12){return function(_0x97f3cf){if(_0x97f3cf){return _0x97f3cf[_0x471f('0x24')]()['then'](function(){_0x228500[_0x471f('0x1c')](0xcc)[_0x471f('0x1d')]();});}};}function handleEntityNotFound(_0x51ec99,_0x4bd57a){return function(_0x3d1ee1){if(!_0x3d1ee1){_0x51ec99[_0x471f('0x1b')](0x194);}return _0x3d1ee1;};}function handleError(_0x413660,_0x3d1a1c){_0x3d1a1c=_0x3d1a1c||0x1f4;return function(_0x39f3b3){logger[_0x471f('0x25')](_0x39f3b3[_0x471f('0x26')]);if(_0x39f3b3[_0x471f('0x27')]){delete _0x39f3b3['name'];}_0x413660[_0x471f('0x1c')](_0x3d1a1c)[_0x471f('0x28')](_0x39f3b3);};}function getInteractionUsers(_0x48fc3a,_0x127a49){return new BPromise(function(_0x171ae9,_0x771551){try{if(_0x127a49[_0x48fc3a['id']]){_0x48fc3a[_0x471f('0x29')]=_[_0x471f('0x2a')](_0x127a49[_0x48fc3a['id']],function(_0x527126){return{'id':_0x527126['id'],'fullname':_0x527126[_0x471f('0x2b')]};});}}catch(_0x2b5aa6){_0x771551(_0x2b5aa6);}_0x171ae9(_0x48fc3a);});}function getInteractionTags(_0x574289,_0x42230a){return new BPromise(function(_0x181d78,_0x5e07ff){try{if(_0x574289[_0x471f('0x2c')]){_0x574289[_0x471f('0x2d')]=[];_0x574289[_0x471f('0x2c')][_0x471f('0x2e')](',')['forEach'](function(_0x55bae1){_0x574289['Tags']['push'](_0x42230a[_0x55bae1]);});}delete _0x574289[_0x471f('0x2c')];}catch(_0x1fd6f5){_0x5e07ff(_0x1fd6f5);}_0x181d78(_0x574289);});}function updateFaxInteraction(_0x5e4eac,_0x8b51f5,_0x5adee7){return new BPromise(function(_0x1853a3,_0xf2e253){return getInteractionUsers(_0x5e4eac,_0x5adee7)[_0x471f('0x2f')](function(_0x41e26c){return getInteractionTags(_0x41e26c,_0x8b51f5);})[_0x471f('0x2f')](function(_0x393a08){_0x1853a3(_0x393a08);})['catch'](function(_0x22b077){_0xf2e253(_0x22b077);});});}exports['index']=function(_0x3bc754,_0x128737){var _0x197c7f={},_0x5bccff={},_0x55bd49={'count':0x0,'rows':[]};var _0x7f5bd=_[_0x471f('0x2a')](db[_0x471f('0x30')][_0x471f('0x31')],function(_0x45cd4f){return{'name':_0x45cd4f['fieldName'],'type':_0x45cd4f['type'][_0x471f('0x32')]};});_0x5bccff[_0x471f('0x33')]=_[_0x471f('0x2a')](_0x7f5bd,'name');_0x5bccff[_0x471f('0x34')]=_['keys'](_0x3bc754['query']);_0x5bccff['filters']=_[_0x471f('0x35')](_0x5bccff[_0x471f('0x33')],_0x5bccff[_0x471f('0x34')]);_0x197c7f[_0x471f('0x36')]=_[_0x471f('0x35')](_0x5bccff['model'],qs['fields'](_0x3bc754[_0x471f('0x34')]['fields']));_0x197c7f[_0x471f('0x36')]=_0x197c7f['attributes'][_0x471f('0x37')]?_0x197c7f[_0x471f('0x36')]:_0x5bccff[_0x471f('0x33')];if(!_0x3bc754[_0x471f('0x34')][_0x471f('0x38')](_0x471f('0x39'))){_0x197c7f[_0x471f('0x20')]=qs[_0x471f('0x20')](_0x3bc754[_0x471f('0x34')][_0x471f('0x20')]);_0x197c7f['offset']=qs['offset'](_0x3bc754[_0x471f('0x34')][_0x471f('0x1f')]);}_0x197c7f['order']=qs['sort'](_0x3bc754[_0x471f('0x34')][_0x471f('0x3a')]);_0x197c7f[_0x471f('0x3b')]=qs['filters'](_[_0x471f('0x3c')](_0x3bc754['query'],_0x5bccff[_0x471f('0x3d')]),_0x7f5bd);var _0x1d6fa9=[];var _0x588678=squel[_0x471f('0x3e')]()[_0x471f('0x3f')]('id')[_0x471f('0x3f')](_0x471f('0x27'))[_0x471f('0x3f')](_0x471f('0x40'))[_0x471f('0x41')]('tools_tags');var _0x59dfab=squel[_0x471f('0x3e')]()[_0x471f('0x3f')](_0x471f('0x42'))[_0x471f('0x3f')]('u.fullname')[_0x471f('0x3f')](_0x471f('0x43'))[_0x471f('0x41')](_0x471f('0x44'),'ui')['left_join'](_0x471f('0x45'),'u',_0x471f('0x46'));var _0x17d077=squel[_0x471f('0x3e')]()['from']('fax_interactions','i')['left_join'](_0x471f('0x47'),'c',_0x471f('0x48'))[_0x471f('0x49')](_0x471f('0x45'),'o','o.id\x20=\x20i.UserId')[_0x471f('0x49')](_0x471f('0x4a'),'a',_0x471f('0x4b'))[_0x471f('0x49')]('fax_messages','me','me.FaxInteractionId\x20=\x20i.id')['left_join'](_0x471f('0x4c'),'it','it.FaxInteractionId\x20=\x20i.id')[_0x471f('0x49')](_0x471f('0x4d'),'t',_0x471f('0x4e'));var _0x30ff42=squel[_0x471f('0x4f')]();var _0x24f402=[];var _0x407663=squel[_0x471f('0x4f')]();var _0x288ddf;if(_0x3bc754[_0x471f('0x34')][_0x471f('0x50')]){_0x288ddf=as['parseSearch'](_0x3bc754[_0x471f('0x34')][_0x471f('0x50')]);var _0x3fc244=_0x288ddf[_0x471f('0x51')];for(var _0x187235=0x0;_0x187235<_0x288ddf[_0x471f('0x52')][_0x471f('0x37')];_0x187235++){var _0x1dcffb=_0x288ddf[_0x471f('0x52')][_0x187235];var _0x5438ed='i';var _0x530e9b=_[_0x471f('0x53')](_0x7f5bd,['name',_0x1dcffb[_0x471f('0x3f')]]);if(!_0x530e9b){switch(_0x1dcffb[_0x471f('0x3f')]){case'unreadMessages':if(_0x1dcffb['value']==0x1){_0x17d077[_0x471f('0x54')]('`'+_0x1dcffb[_0x471f('0x3f')]+_0x471f('0x55'));}else{_0x17d077['having']('`'+_0x1dcffb[_0x471f('0x3f')]+_0x471f('0x56'));}break;case'Contact':if(_0x1dcffb['operator']==='$substring'){if(_0x1dcffb['value'][_0x471f('0x2e')]('\x20')[_0x471f('0x37')]>0x1){_0x30ff42[_0x3fc244](_0x471f('0x57'),qs[_0x471f('0x58')](_0x1dcffb['value']),null);}else{var _0x3b1b97='%'+_0x1dcffb[_0x471f('0x59')]+'%';_0x30ff42[_0x3fc244](_0x471f('0x5a'),_0x3b1b97,_0x3b1b97,_0x3b1b97);}}else{_0x530e9b=_['find'](_0x7f5bd,[_0x471f('0x27'),_0x471f('0x5b')]);_0x1dcffb[_0x471f('0x3f')]=_0x471f('0x5b');_0x4f7422=as[_0x471f('0x5c')](_0x5438ed,_0x530e9b['type'],_0x1dcffb);_0x30ff42[_0x3fc244](_0x4f7422['text'],_0x4f7422['value']['start'],_0x4f7422[_0x471f('0x59')][_0x471f('0x1d')]);}break;case _0x471f('0x5d'):var _0x2ad214=_0x1dcffb['value'][_0x471f('0x2e')](',')[_0x471f('0x2a')](function(_0x59f61e){return Number(_0x59f61e);});_0x2ad214['forEach'](function(_0x837ec6){_0x407663['or'](_0x471f('0x5e'),'%,'+_0x837ec6+',%');});_0x24f402=_[_0x471f('0x5f')](_0x24f402,_0x2ad214);break;case _0x471f('0x60'):if(_0x1dcffb['operator']==='$substring'){_0x30ff42[_0x3fc244]('CONCAT_WS(\x27\x20\x27,\x20o.name,\x20o.fullname)\x20LIKE\x20?','%'+_0x1dcffb[_0x471f('0x59')]+'%',null);}else{_0x530e9b=_[_0x471f('0x53')](_0x7f5bd,[_0x471f('0x27'),_0x471f('0x61')]);_0x1dcffb[_0x471f('0x3f')]=_0x471f('0x61');_0x4f7422=as[_0x471f('0x5c')](_0x5438ed,_0x530e9b[_0x471f('0x62')],_0x1dcffb);_0x30ff42[_0x3fc244](_0x4f7422[_0x471f('0x63')],_0x4f7422[_0x471f('0x59')][_0x471f('0x64')],_0x4f7422['value'][_0x471f('0x1d')]);}break;case _0x471f('0x65'):_0x4f7422=as[_0x471f('0x5c')]('me',null,_0x1dcffb);_0x30ff42[_0x3fc244](_0x4f7422[_0x471f('0x63')],_0x4f7422['value']['start'],_0x4f7422[_0x471f('0x59')][_0x471f('0x1d')]);break;}}else{var _0x4f7422=as['buildExpression'](_0x5438ed,_0x530e9b[_0x471f('0x62')],_0x1dcffb);_0x30ff42[_0x3fc244](_0x4f7422[_0x471f('0x63')],_0x4f7422['value'][_0x471f('0x64')],_0x4f7422[_0x471f('0x59')][_0x471f('0x1d')]);}}}else{var _0x2db415=_(_0x3bc754['query'])[_0x471f('0x66')]()[_0x471f('0x2a')](function(_0x3358b5){return _[_0x471f('0x67')](_0x7f5bd,[_0x471f('0x27'),_0x3358b5])?_0x3358b5:undefined;})['compact']()[_0x471f('0x59')]();if(!_['isEmpty'](_0x2db415)){_0x2db415[_0x471f('0x68')](function(_0x377c8c){if(_0x377c8c===_0x471f('0x69')){_0x17d077[_0x471f('0x3b')]('i.FaxAccountId\x20IN\x20?',[][_0x471f('0x6a')](_0x3bc754[_0x471f('0x34')][_0x377c8c]));}else if(_0x377c8c===_0x471f('0x6b')){var _0x2fc708=JSON[_0x471f('0x6c')](_0x3bc754[_0x471f('0x34')][_0x377c8c])[_0x471f('0x6d')];var _0x3da986=JSON[_0x471f('0x6c')](_0x3bc754[_0x471f('0x34')][_0x377c8c])[_0x471f('0x6e')];_0x17d077[_0x471f('0x3b')]('i.createdAt\x20BETWEEN\x20?\x20AND\x20?',_0x2fc708,_0x3da986);}else{if(_0x3bc754[_0x471f('0x34')][_0x377c8c]===_0x471f('0x6f')){_0x17d077[_0x471f('0x3b')]('i.'+_0x377c8c+_0x471f('0x70'));}else{_0x17d077['where']('i.'+_0x377c8c+_0x471f('0x71'),_0x3bc754[_0x471f('0x34')][_0x377c8c]);}}});}if(_0x3bc754[_0x471f('0x34')][_0x471f('0x72')]){if(_0x3bc754['query'][_0x471f('0x72')]==0x1){_0x17d077[_0x471f('0x54')]('`unreadMessages`\x20=\x200');}else{_0x17d077[_0x471f('0x54')]('`unreadMessages`\x20>\x200');}}if(_0x3bc754['query']['tag']){_0x24f402=_[_0x471f('0x73')](_0x3bc754[_0x471f('0x34')][_0x471f('0x74')])?_0x3bc754[_0x471f('0x34')][_0x471f('0x74')]:new Array(_0x3bc754[_0x471f('0x34')]['tag']);_0x24f402[_0x471f('0x68')](function(_0x8355fd){_0x407663['or'](_0x471f('0x5e'),'%,'+_0x8355fd+',%');});}if(_0x3bc754[_0x471f('0x34')][_0x471f('0x75')]){var _0x24aef1=_0x3bc754[_0x471f('0x34')][_0x471f('0x75')]['replace']('\x5c','\x5c\x5c')['replace']('\x27\x27','\x27\x27\x27\x27');if(qs['isNumeric'](_0x24aef1)){_0x30ff42['or'](_0x471f('0x76'),_0x24aef1+'%')['or'](_0x471f('0x77'),_0x24aef1+'%');}_0x30ff42['or'](_0x471f('0x78'),_0x24aef1+'%');}}_0x17d077['where'](_0x30ff42);_0x17d077['group'](_0x471f('0x79'));var _0x46b24d={'type':db[_0x471f('0x7a')][_0x471f('0x7b')][_0x471f('0x7c')],'raw':!![]};var _0x571851=_0x17d077[_0x471f('0x7d')]();_0x571851['field'](_0x471f('0x79'));_0x571851['field'](_0x471f('0x7e'),_0x471f('0x7f'));if(_0x197c7f['order']){_0x197c7f[_0x471f('0x80')][_0x471f('0x68')](function(_0x44bc22){_0x17d077[_0x471f('0x80')]('i.'+_0x44bc22[0x0],_0x44bc22[0x1]===_0x471f('0x81')?![]:!![]);});}if(!_['isEmpty'](_0x24f402)){_0x17d077[_0x471f('0x54')](_0x407663);_0x571851['where']('t.id\x20IN\x20?',_0x24f402);}BPromise[_0x471f('0x82')]()[_0x471f('0x2f')](function(){if(!_0x288ddf){if(_0x3bc754['query'][_0x471f('0x69')]||_0x3bc754['query'][_0x471f('0x83')])return;_0x571851[_0x471f('0x3b')]('i.FaxAccountId\x20IS\x20NOT\x20NULL');_0x17d077[_0x471f('0x3b')](_0x471f('0x84'));return;}return _0x3bc754['user'][_0x471f('0x85')]({'attributes':['id'],'raw':!![]})['then'](function(_0xf9163){if(_[_0x471f('0x86')](_0xf9163)){_0x571851[_0x471f('0x3b')](_0x471f('0x87'));_0x17d077[_0x471f('0x3b')]('i.FaxAccountId\x20IS\x20NULL');}else{_0x571851[_0x471f('0x3b')](_0x471f('0x88'),_[_0x471f('0x2a')](_0xf9163,'id'));_0x17d077[_0x471f('0x3b')](_0x471f('0x88'),_[_0x471f('0x2a')](_0xf9163,'id'));}});})[_0x471f('0x2f')](function(){db[_0x471f('0x89')][_0x471f('0x34')](_0x571851[_0x471f('0x8a')](),_0x46b24d)[_0x471f('0x2f')](function(_0x37f3bd){_0x55bd49['count']=_0x37f3bd['length'];if(_0x55bd49[_0x471f('0x8b')]===0x0)return[];return db[_0x471f('0x89')][_0x471f('0x34')](_0x588678['toString'](),_0x46b24d)[_0x471f('0x2f')](function(_0xd5acc2){_0x1d6fa9=_[_0x471f('0x8c')](_0xd5acc2,'id');_0x46b24d=_[_0x471f('0x8d')](_0x46b24d,{'model':db['FaxInteraction'],'mapToModel':!![],'raw':!![],'nest':!![]});if(_0x3bc754[_0x471f('0x34')][_0x471f('0x8e')]){_0x197c7f[_0x471f('0x36')][_0x471f('0x68')](function(_0x4956f0){_0x17d077['field']('i.'+_0x4956f0);});}else{_0x17d077['field'](_0x471f('0x7e'),_0x471f('0x7f'));_0x17d077[_0x471f('0x3f')](_0x471f('0x8f'),_0x471f('0x90'));_0x17d077[_0x471f('0x3f')](_0x471f('0x91'),_0x471f('0x92'));_0x17d077['field'](_0x471f('0x93'));_0x17d077['field']('c.firstName','Contact.firstName');_0x17d077[_0x471f('0x3f')](_0x471f('0x94'),_0x471f('0x95'));_0x17d077[_0x471f('0x3f')](_0x471f('0x96'),_0x471f('0x97'));_0x17d077[_0x471f('0x3f')](_0x471f('0x98'),'Contact.phone');_0x17d077[_0x471f('0x3f')](_0x471f('0x99'),_0x471f('0x9a'));_0x17d077[_0x471f('0x3f')]('c.fax',_0x471f('0x9b'));_0x17d077['field'](_0x471f('0x9c'),_0x471f('0x9d'));_0x17d077[_0x471f('0x3f')]('o.internal',_0x471f('0x9e'));_0x17d077['field']('GROUP_CONCAT(DISTINCT\x20t.id)','TagIds');}if(_0x197c7f[_0x471f('0x20')])_0x17d077[_0x471f('0x20')](_0x197c7f['limit']);if(_0x197c7f[_0x471f('0x1f')])_0x17d077[_0x471f('0x1f')](_0x197c7f[_0x471f('0x1f')]);return db[_0x471f('0x89')]['query'](_0x17d077[_0x471f('0x8a')](),_0x46b24d);})[_0x471f('0x2f')](function(_0x51977c){_0x59dfab[_0x471f('0x3b')]('ui.FaxInteractionId\x20IN\x20?',_[_0x471f('0x2a')](_0x51977c,'id'));return db[_0x471f('0x89')][_0x471f('0x34')](_0x59dfab['toString'](),_0x46b24d)[_0x471f('0x2f')](function(_0x23eb17){var _0x1e92ba=_['groupBy'](_0x23eb17,_0x471f('0x9f'));var _0x1dfe36=[];_0x51977c['forEach'](function(_0x526986){_0x1dfe36['push'](updateFaxInteraction(_0x526986,_0x1d6fa9,_0x1e92ba));});return BPromise[_0x471f('0xa0')](_0x1dfe36);});});})[_0x471f('0x2f')](function(_0x541f74){_0x55bd49[_0x471f('0xa1')]=_0x541f74;return _0x55bd49;})[_0x471f('0x2f')](respondWithFilteredResult(_0x128737,_0x197c7f));})[_0x471f('0xa2')](handleError(_0x128737,null));};exports[_0x471f('0xa3')]=function(_0x1b6d23,_0x1a2bb0){var _0x5f1a45={'raw':![],'where':{'id':_0x1b6d23['params']['id']}},_0x4d38e1={};_0x4d38e1[_0x471f('0x33')]=_[_0x471f('0x66')](db[_0x471f('0x30')][_0x471f('0x31')]);_0x4d38e1[_0x471f('0x34')]=_['keys'](_0x1b6d23['query']);_0x4d38e1[_0x471f('0x3d')]=_[_0x471f('0x35')](_0x4d38e1[_0x471f('0x33')],_0x4d38e1['query']);_0x5f1a45[_0x471f('0x36')]=_[_0x471f('0x35')](_0x4d38e1[_0x471f('0x33')],qs['fields'](_0x1b6d23[_0x471f('0x34')][_0x471f('0x8e')]));_0x5f1a45['attributes']=_0x5f1a45[_0x471f('0x36')]['length']?_0x5f1a45[_0x471f('0x36')]:_0x4d38e1[_0x471f('0x33')];if(_0x1b6d23[_0x471f('0x34')][_0x471f('0xa4')]){_0x5f1a45[_0x471f('0xa5')]=[{'all':!![]}];}_0x5f1a45=_['merge']({},_0x5f1a45,_0x1b6d23[_0x471f('0xa6')]);return db['FaxInteraction'][_0x471f('0x53')](_0x5f1a45)[_0x471f('0x2f')](handleEntityNotFound(_0x1a2bb0,null))[_0x471f('0x2f')](respondWithResult(_0x1a2bb0,null))[_0x471f('0xa2')](handleError(_0x1a2bb0,null));};exports[_0x471f('0xa7')]=function(_0x4178e2,_0x136ad1){return db['FaxInteraction']['create'](_0x4178e2[_0x471f('0x65')],{})[_0x471f('0x2f')](respondWithResult(_0x136ad1,0xc9))[_0x471f('0xa2')](handleError(_0x136ad1,null));};exports[_0x471f('0x23')]=function(_0x298acc,_0x1e5660){if(_0x298acc[_0x471f('0x65')]['id']){delete _0x298acc[_0x471f('0x65')]['id'];}return db['FaxInteraction'][_0x471f('0x53')]({'where':{'id':_0x298acc[_0x471f('0xa8')]['id']}})[_0x471f('0x2f')](handleEntityNotFound(_0x1e5660,null))['then'](saveUpdates(_0x298acc['body'],null))[_0x471f('0x2f')](respondWithResult(_0x1e5660,null))[_0x471f('0xa2')](handleError(_0x1e5660,null));};exports[_0x471f('0x24')]=function(_0x3d1be7,_0x3575b7){return db[_0x471f('0x30')]['find']({'where':{'id':_0x3d1be7['params']['id']}})[_0x471f('0x2f')](handleEntityNotFound(_0x3575b7,null))[_0x471f('0x2f')](removeEntity(_0x3575b7,null))[_0x471f('0xa2')](handleError(_0x3575b7,null));};exports[_0x471f('0xa9')]=function(_0x444c3e,_0x43a89f){return db[_0x471f('0x30')][_0x471f('0xa9')]()[_0x471f('0x2f')](respondWithResult(_0x43a89f,null))[_0x471f('0xa2')](handleError(_0x43a89f,null));};exports['addMessage']=function(_0x53b74d,_0x2e9633,_0x356e28){return db[_0x471f('0xaa')][_0x471f('0x53')]({'where':{'id':_0x53b74d[_0x471f('0xa8')]['id']}})[_0x471f('0x2f')](handleEntityNotFound(_0x2e9633,null))[_0x471f('0x2f')](function(_0x115dd2){if(_0x115dd2){return _0x115dd2[_0x471f('0xab')](_0x53b74d[_0x471f('0x65')][_0x471f('0xac')],_[_0x471f('0xad')](_0x53b74d['body'],[_0x471f('0xac'),'id'])||{});}})[_0x471f('0x2f')](respondWithResult(_0x2e9633,null))[_0x471f('0xa2')](handleError(_0x2e9633,null));};exports[_0x471f('0xae')]=function(_0x5ebe92,_0x571075,_0x275566){var _0x1be249={'raw':![],'where':{}};var _0x1b267e={};var _0x2d236d={'count':0x0,'rows':[]};return db[_0x471f('0x30')][_0x471f('0xaf')]({'where':{'id':_0x5ebe92[_0x471f('0xa8')]['id']}})[_0x471f('0x2f')](handleEntityNotFound(_0x571075,null))[_0x471f('0x2f')](function(_0x43e334){if(_0x43e334){_0x1b267e[_0x471f('0x33')]=_['keys'](db[_0x471f('0xaa')]['rawAttributes']);_0x1b267e[_0x471f('0x34')]=_[_0x471f('0x66')](_0x5ebe92[_0x471f('0x34')]);_0x1b267e[_0x471f('0x3d')]=_[_0x471f('0x35')](_0x1b267e['model'],_0x1b267e['query']);_0x1be249[_0x471f('0x36')]=_[_0x471f('0x35')](_0x1b267e[_0x471f('0x33')],qs['fields'](_0x5ebe92[_0x471f('0x34')]['fields']));_0x1be249[_0x471f('0x36')]=_0x1be249[_0x471f('0x36')][_0x471f('0x37')]?_0x1be249[_0x471f('0x36')]:_0x1b267e[_0x471f('0x33')];if(!_0x5ebe92[_0x471f('0x34')][_0x471f('0x38')](_0x471f('0x39'))){_0x1be249[_0x471f('0x20')]=qs[_0x471f('0x20')](_0x5ebe92[_0x471f('0x34')][_0x471f('0x20')]);_0x1be249[_0x471f('0x1f')]=qs[_0x471f('0x1f')](_0x5ebe92[_0x471f('0x34')][_0x471f('0x1f')]);}_0x1be249['order']=qs[_0x471f('0x3a')](_0x5ebe92['query'][_0x471f('0x3a')]);_0x1be249[_0x471f('0x3b')]=qs[_0x471f('0x3d')](_[_0x471f('0x3c')](_0x5ebe92['query'],_0x1b267e[_0x471f('0x3d')]));_0x1be249['where']['FaxInteractionId']=_0x43e334['id'];if(_0x5ebe92['query'][_0x471f('0x75')]){_0x1be249[_0x471f('0x3b')]=_[_0x471f('0x8d')](_0x1be249[_0x471f('0x3b')],{'$or':_[_0x471f('0x2a')](_0x1be249[_0x471f('0x36')],function(_0x8e8bc7){var _0x4df692={};_0x4df692[_0x8e8bc7]={'$like':'%'+_0x5ebe92[_0x471f('0x34')][_0x471f('0x75')]+'%'};return _0x4df692;})});}if(_0x5ebe92[_0x471f('0x34')]['$gte']){var _0x17ae4f=_0x5ebe92['query'][_0x471f('0x6d')][_0x471f('0x2e')](',');var _0xae92f2={};_0xae92f2[_0x17ae4f[0x0]]={'$gte':moment(_0x17ae4f[0x1])['format'](_0x471f('0xb0'))};_0x1be249[_0x471f('0x3b')]=_[_0x471f('0x8d')](_0x1be249[_0x471f('0x3b')],_0xae92f2);}_0x1be249=_[_0x471f('0x8d')]({},_0x1be249,_0x5ebe92[_0x471f('0xa6')]);return db[_0x471f('0xaa')][_0x471f('0x8b')]({'where':_0x1be249[_0x471f('0x3b')]})['then'](function(_0x193b4b){_0x2d236d[_0x471f('0x8b')]=_0x193b4b;if(_0x5ebe92['query'][_0x471f('0xa4')]){_0x1be249[_0x471f('0xa5')]=[{'all':!![]}];}return db[_0x471f('0xaa')]['findAll'](_0x1be249);})[_0x471f('0x2f')](function(_0x375dff){_0x2d236d[_0x471f('0xa1')]=_0x375dff;return _0x2d236d;});}})['then'](respondWithFilteredResult(_0x571075,_0x1be249))[_0x471f('0xa2')](handleError(_0x571075,null));};exports['addTags']=function(_0x68b0c3,_0x17deaa,_0x158500){return db[_0x471f('0x30')]['find']({'where':{'id':_0x68b0c3[_0x471f('0xa8')]['id']}})['then'](handleEntityNotFound(_0x17deaa,null))[_0x471f('0x2f')](function(_0x2d96b0){if(_0x2d96b0){return _0x2d96b0[_0x471f('0xb1')](_0x68b0c3[_0x471f('0x65')][_0x471f('0xac')],_[_0x471f('0xad')](_0x68b0c3[_0x471f('0x65')],['ids','id'])||{})[_0x471f('0xb2')](function(){return db[_0x471f('0x5d')][_0x471f('0xb3')]({'attributes':['id',_0x471f('0x27'),'color'],'where':{'id':_0x68b0c3[_0x471f('0x65')][_0x471f('0xac')]}});})['then'](function(_0x13f175){socket[_0x471f('0xb4')](_0x471f('0xb5'),{'id':Number(_0x68b0c3[_0x471f('0xa8')]['id']),'tags':_0x13f175||[]});return{'id':Number(_0x68b0c3[_0x471f('0xa8')]['id']),'tags':_0x13f175||[]};});}})[_0x471f('0x2f')](respondWithResult(_0x17deaa,null))[_0x471f('0xa2')](handleError(_0x17deaa,null));};exports[_0x471f('0xb6')]=function(_0x56ee09,_0x4e2c81,_0x1d4f7f){return db[_0x471f('0x30')][_0x471f('0x53')]({'where':{'id':_0x56ee09['params']['id']}})[_0x471f('0x2f')](handleEntityNotFound(_0x4e2c81,null))[_0x471f('0x2f')](function(_0x343028){if(_0x343028){return _0x343028['removeTags'](_0x56ee09[_0x471f('0x34')][_0x471f('0xac')]);}})[_0x471f('0x2f')](respondWithStatusCode(_0x4e2c81,null))[_0x471f('0xa2')](handleError(_0x4e2c81,null));};exports[_0x471f('0xb7')]=function(_0x410d52,_0x37d385){var _0x4e985c=moment()[_0x471f('0xb8')]()[_0x471f('0x8a')]();var _0x259e9c=path[_0x471f('0xb9')](config[_0x471f('0xba')],_0x471f('0xbb'),_0x471f('0xbc'),_0x471f('0xbd'));var _0x5ad08f=path[_0x471f('0xb9')](config['root'],'server',_0x471f('0xbc'),_0x471f('0xbe'));var _0x23f679=path[_0x471f('0xb9')](_0x259e9c,_0x4e985c);var _0x25d097=util[_0x471f('0xbf')]('transcript-%d-%s.zip',_0x410d52[_0x471f('0xa8')]['id'],_0x4e985c);var _0x4d59a9=path[_0x471f('0xb9')](_0x259e9c,_0x25d097);var _0x45024c=[];_0x45024c[_0x471f('0xc0')]({'model':db[_0x471f('0xc1')],'as':'Attachment','raw':!![]});var _0x14dd92=[{'model':db[_0x471f('0xaa')],'as':_0x471f('0xc2'),'attributes':['id','body',_0x471f('0x6b')],'include':_0x45024c}];return db[_0x471f('0x30')][_0x471f('0x53')]({'where':{'id':_0x410d52[_0x471f('0xa8')]['id']},'include':_0x14dd92})[_0x471f('0x2f')](handleEntityNotFound(_0x37d385,null))['then'](function(_0x24f79d){if(_0x24f79d&&_0x24f79d[_0x471f('0xc2')]){var _0x3967aa=_0x24f79d[_0x471f('0xc3')]({'plain':!![]});fs[_0x471f('0xc4')](_0x23f679);for(var _0x3b4ce0=0x0;_0x3b4ce0<_0x3967aa[_0x471f('0xc2')][_0x471f('0x37')];_0x3b4ce0++){var _0x7bb517=_0x3967aa[_0x471f('0xc2')][_0x3b4ce0]['Attachment'];if(_0x7bb517){var _0x3e6c11=path[_0x471f('0xb9')](_0x5ad08f,_0x7bb517[_0x471f('0xc5')]);if(fs[_0x471f('0xc6')](_0x3e6c11)){fs[_0x471f('0xc7')](_0x3e6c11)[_0x471f('0xc8')](fs[_0x471f('0xc9')](path['join'](_0x23f679,_0x7bb517[_0x471f('0xc5')])));}}}return BPromise[_0x471f('0x82')]()[_0x471f('0x2f')](function(){return new BPromise(function(_0x262155,_0xccb448){zipdir(_0x23f679,{'saveTo':_0x4d59a9},function(_0xa508c2,_0x539ae0){if(_0xa508c2)return _0xccb448(_0xa508c2);return _0x262155(_0x539ae0);});})[_0x471f('0x2f')](function(){return new BPromise(function(_0x4ee654,_0x1d9d4b){rimraf(_0x23f679,function(_0xf3e099){if(_0xf3e099)_0x1d9d4b(_0xf3e099);return _0x4ee654();});});})[_0x471f('0x2f')](function(){return _0x37d385[_0x471f('0xb7')](_0x4d59a9,_0x25d097,function(_0x26bd86){if(_0x26bd86){console[_0x471f('0xca')]('err',_0x26bd86);}else{fs[_0x471f('0xcb')](_0x4d59a9);}});});});}else{return _0x37d385[_0x471f('0x1b')](0xc8);}})['catch'](handleError(_0x37d385,null));}; \ No newline at end of file +var _0x988c=['to-csv','lodash','squel','desk.js','querystring','papaparse','ioredis','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/environment','../../mysqldb','redis','socket.io-emitter','./faxInteraction.socket','register','sendStatus','status','end','json','count','offset','Content-Range','apply','reject','then','destroy','error','stack','name','send','Users','fullname','TagIds','Tags','split','forEach','push','index','map','FaxInteraction','rawAttributes','fieldName','type','key','query','filters','model','intersection','fields','attributes','length','hasOwnProperty','limit','sort','where','pick','select','field','color','tools_tags','u.id','u.fullname','user_has_fax_interactions','users','u.id\x20=\x20ui.UserId','from','fax_interactions','cm_contacts','c.id\x20=\x20i.ContactId\x20AND\x20c.deletedAt\x20IS\x20NULL','left_join','o.id\x20=\x20i.UserId','fax_accounts','fax_messages','fax_interaction_has_tags','it.FaxInteractionId\x20=\x20i.id','t.id\x20=\x20it.TagId','search','parseSearch','sqlOperator','conditions','find','value','having','`\x20=\x200','`\x20>\x200','Contact','operator','$substring','getFullTextValue','ContactId','buildExpression','text','start','User','CONCAT_WS(\x27\x20\x27,\x20o.name,\x20o.fullname)\x20LIKE\x20?','UserId','some','isEmpty','FaxAccountId','i.FaxAccountId\x20IN\x20?','concat','createdAt','parse','$gte','$lte','i.createdAt\x20BETWEEN\x20?\x20AND\x20?','null','\x20IS\x20NULL','\x20=\x20?','read','tag','CONCAT(\x27,\x27,\x20`TagIds`,\x20\x27,\x27)\x20LIKE\x20?','filter','replace','\x27\x27\x27\x27','isNumeric','i.id\x20LIKE\x20?','i.fax\x20LIKE\x20?','CONCAT(c.firstName,\x20\x27\x20\x27,\x20c.lastName)\x20LIKE\x20?','i.id','Sequelize','SELECT','clone','SUM(me.read\x20=\x200\x20AND\x20me.direction\x20=\x20\x27in\x27)','unreadMessages','order','resolve','journey','i.FaxAccountId\x20IS\x20NOT\x20NULL','getFaxAccounts','i.FaxAccountId\x20IS\x20NULL','sequelize','toString','keyBy','merge','Account.key','Account.mandatoryDisposition','c.firstName','c.lastName','c.email','Contact.email','Contact.phone','c.mobile','Contact.mobile','c.fax','Contact.fax','Owner.fullname','o.internal','Owner.internal','GROUP_CONCAT(DISTINCT\x20t.id)','ui.FaxInteractionId\x20IN\x20?','groupBy','all','rows','catch','show','params','keys','includeAll','include','options','create','update','body','describe','addMessage','ids','omit','getMessages','findOne','FaxInteractionId','format','YYYY-MM-DD\x20HH:mm:ss','FaxMessage','findAll','addTags','setTags','spread','Tag','emit','faxInteractionTags:save','removeTags','download','unix','join','root','files','server','attachments','transcript-%d-%s.zip','Attachment','Messages','get','mkdirSync','basename','existsSync','createReadStream','pipe','createWriteStream','log','unlinkSync','html-pdf','fast-json-patch','request-promise','moment','path','sox'];(function(_0x22f738,_0x3ccebe){var _0x441853=function(_0x5c0ce8){while(--_0x5c0ce8){_0x22f738['push'](_0x22f738['shift']());}};_0x441853(++_0x3ccebe);}(_0x988c,0x19e));var _0xc988=function(_0x3a2703,_0x5a5c11){_0x3a2703=_0x3a2703-0x0;var _0x43f40c=_0x988c[_0x3a2703];return _0x43f40c;};'use strict';var pdf=require(_0xc988('0x0'));var emlformat=require('eml-format');var rimraf=require('rimraf');var zipdir=require('zip-dir');var jsonpatch=require(_0xc988('0x1'));var rp=require(_0xc988('0x2'));var moment=require(_0xc988('0x3'));var BPromise=require('bluebird');var Mustache=require('mustache');var util=require('util');var path=require(_0xc988('0x4'));var sox=require(_0xc988('0x5'));var csv=require(_0xc988('0x6'));var ejs=require('ejs');var fs=require('fs');var _=require(_0xc988('0x7'));var squel=require(_0xc988('0x8'));var crypto=require('crypto');var jsforce=require('jsforce');var deskjs=require(_0xc988('0x9'));var toCsv=require(_0xc988('0x6'));var querystring=require(_0xc988('0xa'));var Papa=require(_0xc988('0xb'));var Redis=require(_0xc988('0xc'));var authService=require('../../components/auth/service');var qs=require(_0xc988('0xd'));var as=require(_0xc988('0xe'));var hardwareService=require(_0xc988('0xf'));var logger=require(_0xc988('0x10'))(_0xc988('0x11'));var utils=require('../../config/utils');var config=require(_0xc988('0x12'));var db=require(_0xc988('0x13'))['db'];config[_0xc988('0x14')]=_['defaults'](config[_0xc988('0x14')],{'host':'localhost','port':0x18eb});var socket=require(_0xc988('0x15'))(new Redis(config['redis']));require(_0xc988('0x16'))[_0xc988('0x17')](socket);function respondWithStatusCode(_0x1bb5c7,_0x217096){_0x217096=_0x217096||0xcc;return function(_0x5dbfbf){if(_0x5dbfbf){return _0x1bb5c7[_0xc988('0x18')](_0x217096);}return _0x1bb5c7[_0xc988('0x19')](_0x217096)[_0xc988('0x1a')]();};}function respondWithResult(_0x26c251,_0x3f41d5){_0x3f41d5=_0x3f41d5||0xc8;return function(_0x24a096){if(_0x24a096){return _0x26c251[_0xc988('0x19')](_0x3f41d5)[_0xc988('0x1b')](_0x24a096);}};}function respondWithFilteredResult(_0x1a49df,_0x5df82e){return function(_0xd27863){if(_0xd27863){var _0x49738a=_0xd27863[_0xc988('0x1c')],_0x314a24=_0x5df82e[_0xc988('0x1d')],_0x23677f=_0x5df82e['offset']+_0x5df82e['limit'],_0x32319c;if(_0x23677f>=_0x49738a){_0x23677f=_0x49738a;_0x32319c=0xc8;}else{_0x32319c=0xce;}_0x1a49df[_0xc988('0x19')](_0x32319c);return _0x1a49df['set'](_0xc988('0x1e'),_0x314a24+'-'+_0x23677f+'/'+_0x49738a)[_0xc988('0x1b')](_0xd27863);}return null;};}function patchUpdates(_0x5eceb1){return function(_0x4e8448){try{jsonpatch[_0xc988('0x1f')](_0x4e8448,_0x5eceb1,!![]);}catch(_0x304a30){return BPromise[_0xc988('0x20')](_0x304a30);}return _0x4e8448['save']();};}function saveUpdates(_0xc5754d,_0x12dc1e){return function(_0x32ea75){if(_0x32ea75){return _0x32ea75['update'](_0xc5754d)[_0xc988('0x21')](function(_0xc57267){return _0xc57267;});}return null;};}function removeEntity(_0x188685,_0x5b4555){return function(_0x5444a5){if(_0x5444a5){return _0x5444a5[_0xc988('0x22')]()[_0xc988('0x21')](function(){_0x188685[_0xc988('0x19')](0xcc)[_0xc988('0x1a')]();});}};}function handleEntityNotFound(_0x155c8e,_0x3adb60){return function(_0x176741){if(!_0x176741){_0x155c8e[_0xc988('0x18')](0x194);}return _0x176741;};}function handleError(_0x47b747,_0x4098da){_0x4098da=_0x4098da||0x1f4;return function(_0x9f53a7){logger[_0xc988('0x23')](_0x9f53a7[_0xc988('0x24')]);if(_0x9f53a7[_0xc988('0x25')]){delete _0x9f53a7[_0xc988('0x25')];}_0x47b747[_0xc988('0x19')](_0x4098da)[_0xc988('0x26')](_0x9f53a7);};}function getInteractionUsers(_0x495b1a,_0x2a0d6f){return new BPromise(function(_0x125d23,_0x31a42b){try{if(_0x2a0d6f[_0x495b1a['id']]){_0x495b1a[_0xc988('0x27')]=_['map'](_0x2a0d6f[_0x495b1a['id']],function(_0x49b0c8){return{'id':_0x49b0c8['id'],'fullname':_0x49b0c8[_0xc988('0x28')]};});}}catch(_0x11d51f){_0x31a42b(_0x11d51f);}_0x125d23(_0x495b1a);});}function getInteractionTags(_0x20aaab,_0x4b954a){return new BPromise(function(_0x117ec8,_0x2da62e){try{if(_0x20aaab[_0xc988('0x29')]){_0x20aaab[_0xc988('0x2a')]=[];_0x20aaab[_0xc988('0x29')][_0xc988('0x2b')](',')[_0xc988('0x2c')](function(_0x1344db){_0x20aaab[_0xc988('0x2a')][_0xc988('0x2d')](_0x4b954a[_0x1344db]);});}delete _0x20aaab[_0xc988('0x29')];}catch(_0x2c3436){_0x2da62e(_0x2c3436);}_0x117ec8(_0x20aaab);});}function updateFaxInteraction(_0x3ca5ee,_0x146cfb,_0x4f7f6d){return new BPromise(function(_0x5aa8fe,_0x3ee956){return getInteractionUsers(_0x3ca5ee,_0x4f7f6d)[_0xc988('0x21')](function(_0x4ff9d7){return getInteractionTags(_0x4ff9d7,_0x146cfb);})[_0xc988('0x21')](function(_0x10b0f9){_0x5aa8fe(_0x10b0f9);})['catch'](function(_0x1d26ea){_0x3ee956(_0x1d26ea);});});}exports[_0xc988('0x2e')]=function(_0x1f7bf9,_0x579f70){var _0x5d11fc={},_0x38e9a7={},_0x34fbe6={'count':0x0,'rows':[]};var _0x268409=_[_0xc988('0x2f')](db[_0xc988('0x30')][_0xc988('0x31')],function(_0x1bdeb5){return{'name':_0x1bdeb5[_0xc988('0x32')],'type':_0x1bdeb5[_0xc988('0x33')][_0xc988('0x34')]};});_0x38e9a7['model']=_[_0xc988('0x2f')](_0x268409,_0xc988('0x25'));_0x38e9a7[_0xc988('0x35')]=_['keys'](_0x1f7bf9[_0xc988('0x35')]);_0x38e9a7[_0xc988('0x36')]=_['intersection'](_0x38e9a7[_0xc988('0x37')],_0x38e9a7[_0xc988('0x35')]);_0x5d11fc['attributes']=_[_0xc988('0x38')](_0x38e9a7[_0xc988('0x37')],qs['fields'](_0x1f7bf9[_0xc988('0x35')][_0xc988('0x39')]));_0x5d11fc[_0xc988('0x3a')]=_0x5d11fc['attributes'][_0xc988('0x3b')]?_0x5d11fc[_0xc988('0x3a')]:_0x38e9a7['model'];if(!_0x1f7bf9[_0xc988('0x35')][_0xc988('0x3c')]('nolimit')){_0x5d11fc[_0xc988('0x3d')]=qs[_0xc988('0x3d')](_0x1f7bf9[_0xc988('0x35')][_0xc988('0x3d')]);_0x5d11fc[_0xc988('0x1d')]=qs[_0xc988('0x1d')](_0x1f7bf9['query'][_0xc988('0x1d')]);}_0x5d11fc['order']=qs[_0xc988('0x3e')](_0x1f7bf9[_0xc988('0x35')]['sort']);_0x5d11fc[_0xc988('0x3f')]=qs[_0xc988('0x36')](_[_0xc988('0x40')](_0x1f7bf9['query'],_0x38e9a7['filters']),_0x268409);var _0x23c998=[];var _0x4a6470=squel[_0xc988('0x41')]()[_0xc988('0x42')]('id')[_0xc988('0x42')](_0xc988('0x25'))[_0xc988('0x42')](_0xc988('0x43'))['from'](_0xc988('0x44'));var _0x2f83c6=squel[_0xc988('0x41')]()[_0xc988('0x42')](_0xc988('0x45'))[_0xc988('0x42')](_0xc988('0x46'))['field']('ui.FaxInteractionId')['from'](_0xc988('0x47'),'ui')['left_join'](_0xc988('0x48'),'u',_0xc988('0x49'));var _0x3ea417=squel[_0xc988('0x41')]()[_0xc988('0x4a')](_0xc988('0x4b'),'i')['left_join'](_0xc988('0x4c'),'c',_0xc988('0x4d'))[_0xc988('0x4e')](_0xc988('0x48'),'o',_0xc988('0x4f'))['left_join'](_0xc988('0x50'),'a','a.id\x20=\x20i.FaxAccountId')[_0xc988('0x4e')](_0xc988('0x51'),'me','me.FaxInteractionId\x20=\x20i.id')['left_join'](_0xc988('0x52'),'it',_0xc988('0x53'))[_0xc988('0x4e')](_0xc988('0x44'),'t',_0xc988('0x54'));var _0x29afbe=squel['expr']();var _0x54eaa3=[];var _0x9a6b06=squel['expr']();var _0x101ce1;if(_0x1f7bf9[_0xc988('0x35')][_0xc988('0x55')]){_0x101ce1=as[_0xc988('0x56')](_0x1f7bf9[_0xc988('0x35')]['search']);var _0x4b32ee=_0x101ce1[_0xc988('0x57')];for(var _0xbac369=0x0;_0xbac369<_0x101ce1[_0xc988('0x58')]['length'];_0xbac369++){var _0x2f2b16=_0x101ce1[_0xc988('0x58')][_0xbac369];var _0x34b04b='i';var _0x2534ec=_[_0xc988('0x59')](_0x268409,[_0xc988('0x25'),_0x2f2b16[_0xc988('0x42')]]);if(!_0x2534ec){switch(_0x2f2b16[_0xc988('0x42')]){case'unreadMessages':if(_0x2f2b16[_0xc988('0x5a')]==0x1){_0x3ea417[_0xc988('0x5b')]('`'+_0x2f2b16[_0xc988('0x42')]+_0xc988('0x5c'));}else{_0x3ea417[_0xc988('0x5b')]('`'+_0x2f2b16['field']+_0xc988('0x5d'));}break;case _0xc988('0x5e'):if(_0x2f2b16[_0xc988('0x5f')]===_0xc988('0x60')){if(_0x2f2b16[_0xc988('0x5a')][_0xc988('0x2b')]('\x20')[_0xc988('0x3b')]>0x1){_0x29afbe[_0x4b32ee]('MATCH\x20(c.firstName,\x20c.lastName,\x20c.phone,\x20c.mobile,\x20c.fax,\x20c.email)\x20AGAINST\x20(?\x20IN\x20BOOLEAN\x20MODE)',qs[_0xc988('0x61')](_0x2f2b16[_0xc988('0x5a')]),null);}else{var _0x509c93='%'+_0x2f2b16['value']+'%';_0x29afbe[_0x4b32ee]('c.firstName\x20LIKE\x20?\x20OR\x20c.lastName\x20LIKE\x20?\x20OR\x20c.email\x20LIKE\x20?',_0x509c93,_0x509c93,_0x509c93);}}else{_0x2534ec=_[_0xc988('0x59')](_0x268409,['name',_0xc988('0x62')]);_0x2f2b16[_0xc988('0x42')]=_0xc988('0x62');_0x1f2212=as[_0xc988('0x63')](_0x34b04b,_0x2534ec[_0xc988('0x33')],_0x2f2b16);_0x29afbe[_0x4b32ee](_0x1f2212[_0xc988('0x64')],_0x1f2212[_0xc988('0x5a')][_0xc988('0x65')],_0x1f2212['value'][_0xc988('0x1a')]);}break;case'Tag':var _0x540ae5=_0x2f2b16[_0xc988('0x5a')][_0xc988('0x2b')](',')['map'](function(_0x336088){return Number(_0x336088);});_0x540ae5[_0xc988('0x2c')](function(_0x2e1c49){_0x9a6b06['or']('CONCAT(\x27,\x27,\x20`TagIds`,\x20\x27,\x27)\x20LIKE\x20?','%,'+_0x2e1c49+',%');});_0x54eaa3=_['union'](_0x54eaa3,_0x540ae5);break;case _0xc988('0x66'):if(_0x2f2b16[_0xc988('0x5f')]==='$substring'){_0x29afbe[_0x4b32ee](_0xc988('0x67'),'%'+_0x2f2b16[_0xc988('0x5a')]+'%',null);}else{_0x2534ec=_[_0xc988('0x59')](_0x268409,[_0xc988('0x25'),_0xc988('0x68')]);_0x2f2b16[_0xc988('0x42')]=_0xc988('0x68');_0x1f2212=as[_0xc988('0x63')](_0x34b04b,_0x2534ec[_0xc988('0x33')],_0x2f2b16);_0x29afbe[_0x4b32ee](_0x1f2212[_0xc988('0x64')],_0x1f2212[_0xc988('0x5a')][_0xc988('0x65')],_0x1f2212[_0xc988('0x5a')][_0xc988('0x1a')]);}break;case'body':_0x1f2212=as['buildExpression']('me',null,_0x2f2b16);_0x29afbe[_0x4b32ee](_0x1f2212[_0xc988('0x64')],_0x1f2212[_0xc988('0x5a')][_0xc988('0x65')],_0x1f2212[_0xc988('0x5a')]['end']);break;}}else{var _0x1f2212=as[_0xc988('0x63')](_0x34b04b,_0x2534ec[_0xc988('0x33')],_0x2f2b16);_0x29afbe[_0x4b32ee](_0x1f2212[_0xc988('0x64')],_0x1f2212[_0xc988('0x5a')][_0xc988('0x65')],_0x1f2212[_0xc988('0x5a')]['end']);}}}else{var _0x1ac4ad=_(_0x1f7bf9[_0xc988('0x35')])['keys']()[_0xc988('0x2f')](function(_0x551dc0){return _[_0xc988('0x69')](_0x268409,[_0xc988('0x25'),_0x551dc0])?_0x551dc0:undefined;})['compact']()[_0xc988('0x5a')]();if(!_[_0xc988('0x6a')](_0x1ac4ad)){_0x1ac4ad[_0xc988('0x2c')](function(_0x3b1ebb){if(_0x3b1ebb===_0xc988('0x6b')){_0x3ea417[_0xc988('0x3f')](_0xc988('0x6c'),[][_0xc988('0x6d')](_0x1f7bf9[_0xc988('0x35')][_0x3b1ebb]));}else if(_0x3b1ebb===_0xc988('0x6e')){var _0x369b9d=JSON[_0xc988('0x6f')](_0x1f7bf9[_0xc988('0x35')][_0x3b1ebb])[_0xc988('0x70')];var _0x1a0ae1=JSON[_0xc988('0x6f')](_0x1f7bf9['query'][_0x3b1ebb])[_0xc988('0x71')];_0x3ea417[_0xc988('0x3f')](_0xc988('0x72'),_0x369b9d,_0x1a0ae1);}else{if(_0x1f7bf9[_0xc988('0x35')][_0x3b1ebb]===_0xc988('0x73')){_0x3ea417[_0xc988('0x3f')]('i.'+_0x3b1ebb+_0xc988('0x74'));}else{_0x3ea417[_0xc988('0x3f')]('i.'+_0x3b1ebb+_0xc988('0x75'),_0x1f7bf9[_0xc988('0x35')][_0x3b1ebb]);}}});}if(_0x1f7bf9[_0xc988('0x35')][_0xc988('0x76')]){if(_0x1f7bf9[_0xc988('0x35')][_0xc988('0x76')]==0x1){_0x3ea417['having']('`unreadMessages`\x20=\x200');}else{_0x3ea417[_0xc988('0x5b')]('`unreadMessages`\x20>\x200');}}if(_0x1f7bf9[_0xc988('0x35')][_0xc988('0x77')]){_0x54eaa3=_['isArray'](_0x1f7bf9[_0xc988('0x35')]['tag'])?_0x1f7bf9[_0xc988('0x35')][_0xc988('0x77')]:new Array(_0x1f7bf9['query']['tag']);_0x54eaa3[_0xc988('0x2c')](function(_0x12472e){_0x9a6b06['or'](_0xc988('0x78'),'%,'+_0x12472e+',%');});}if(_0x1f7bf9[_0xc988('0x35')][_0xc988('0x79')]){var _0x2043e5=_0x1f7bf9[_0xc988('0x35')][_0xc988('0x79')]['replace']('\x5c','\x5c\x5c')[_0xc988('0x7a')]('\x27\x27',_0xc988('0x7b'));if(qs[_0xc988('0x7c')](_0x2043e5)){_0x29afbe['or'](_0xc988('0x7d'),_0x2043e5+'%')['or'](_0xc988('0x7e'),_0x2043e5+'%');}_0x29afbe['or'](_0xc988('0x7f'),_0x2043e5+'%');}}_0x3ea417['where'](_0x29afbe);_0x3ea417['group'](_0xc988('0x80'));var _0x5e4e37={'type':db[_0xc988('0x81')]['QueryTypes'][_0xc988('0x82')],'raw':!![]};var _0x3af287=_0x3ea417[_0xc988('0x83')]();_0x3af287['field'](_0xc988('0x80'));_0x3af287[_0xc988('0x42')](_0xc988('0x84'),_0xc988('0x85'));if(_0x5d11fc[_0xc988('0x86')]){_0x5d11fc['order'][_0xc988('0x2c')](function(_0xc92d92){_0x3ea417[_0xc988('0x86')]('i.'+_0xc92d92[0x0],_0xc92d92[0x1]==='DESC'?![]:!![]);});}if(!_[_0xc988('0x6a')](_0x54eaa3)){_0x3ea417['having'](_0x9a6b06);_0x3af287[_0xc988('0x3f')]('t.id\x20IN\x20?',_0x54eaa3);}BPromise[_0xc988('0x87')]()[_0xc988('0x21')](function(){if(!_0x101ce1){if(_0x1f7bf9['query']['FaxAccountId']||_0x1f7bf9[_0xc988('0x35')][_0xc988('0x88')])return;_0x3af287['where'](_0xc988('0x89'));_0x3ea417['where'](_0xc988('0x89'));return;}return _0x1f7bf9['user'][_0xc988('0x8a')]({'attributes':['id'],'raw':!![]})[_0xc988('0x21')](function(_0x1b94dd){if(_[_0xc988('0x6a')](_0x1b94dd)){_0x3af287[_0xc988('0x3f')](_0xc988('0x8b'));_0x3ea417['where'](_0xc988('0x8b'));}else{_0x3af287['where'](_0xc988('0x6c'),_[_0xc988('0x2f')](_0x1b94dd,'id'));_0x3ea417[_0xc988('0x3f')](_0xc988('0x6c'),_[_0xc988('0x2f')](_0x1b94dd,'id'));}});})['then'](function(){db[_0xc988('0x8c')][_0xc988('0x35')](_0x3af287[_0xc988('0x8d')](),_0x5e4e37)['then'](function(_0x5b1da8){_0x34fbe6['count']=_0x5b1da8[_0xc988('0x3b')];if(_0x34fbe6[_0xc988('0x1c')]===0x0)return[];return db['sequelize'][_0xc988('0x35')](_0x4a6470[_0xc988('0x8d')](),_0x5e4e37)['then'](function(_0x9c262a){_0x23c998=_[_0xc988('0x8e')](_0x9c262a,'id');_0x5e4e37=_[_0xc988('0x8f')](_0x5e4e37,{'model':db['FaxInteraction'],'mapToModel':!![],'raw':!![],'nest':!![]});if(_0x1f7bf9['query'][_0xc988('0x39')]){_0x5d11fc[_0xc988('0x3a')][_0xc988('0x2c')](function(_0x22fd21){_0x3ea417[_0xc988('0x42')]('i.'+_0x22fd21);});}else{_0x3ea417[_0xc988('0x42')]('SUM(me.read\x20=\x200\x20AND\x20me.direction\x20=\x20\x27in\x27)',_0xc988('0x85'));_0x3ea417[_0xc988('0x42')]('a.key',_0xc988('0x90'));_0x3ea417[_0xc988('0x42')]('a.mandatoryDisposition',_0xc988('0x91'));_0x3ea417['field']('i.*');_0x3ea417['field'](_0xc988('0x92'),'Contact.firstName');_0x3ea417[_0xc988('0x42')](_0xc988('0x93'),'Contact.lastName');_0x3ea417['field'](_0xc988('0x94'),_0xc988('0x95'));_0x3ea417[_0xc988('0x42')]('c.phone',_0xc988('0x96'));_0x3ea417[_0xc988('0x42')](_0xc988('0x97'),_0xc988('0x98'));_0x3ea417[_0xc988('0x42')](_0xc988('0x99'),_0xc988('0x9a'));_0x3ea417[_0xc988('0x42')]('o.fullname',_0xc988('0x9b'));_0x3ea417[_0xc988('0x42')](_0xc988('0x9c'),_0xc988('0x9d'));_0x3ea417['field'](_0xc988('0x9e'),_0xc988('0x29'));}if(_0x5d11fc[_0xc988('0x3d')])_0x3ea417['limit'](_0x5d11fc['limit']);if(_0x5d11fc[_0xc988('0x1d')])_0x3ea417[_0xc988('0x1d')](_0x5d11fc[_0xc988('0x1d')]);return db[_0xc988('0x8c')][_0xc988('0x35')](_0x3ea417[_0xc988('0x8d')](),_0x5e4e37);})[_0xc988('0x21')](function(_0x28a022){_0x2f83c6[_0xc988('0x3f')](_0xc988('0x9f'),_['map'](_0x28a022,'id'));return db[_0xc988('0x8c')][_0xc988('0x35')](_0x2f83c6[_0xc988('0x8d')](),_0x5e4e37)[_0xc988('0x21')](function(_0x5139b6){var _0x2bd168=_[_0xc988('0xa0')](_0x5139b6,'FaxInteractionId');var _0x3f9d49=[];_0x28a022[_0xc988('0x2c')](function(_0x1664d9){_0x3f9d49[_0xc988('0x2d')](updateFaxInteraction(_0x1664d9,_0x23c998,_0x2bd168));});return BPromise[_0xc988('0xa1')](_0x3f9d49);});});})[_0xc988('0x21')](function(_0x2bb864){_0x34fbe6[_0xc988('0xa2')]=_0x2bb864;return _0x34fbe6;})['then'](respondWithFilteredResult(_0x579f70,_0x5d11fc));})[_0xc988('0xa3')](handleError(_0x579f70,null));};exports[_0xc988('0xa4')]=function(_0xd10917,_0x16a9f0){var _0x188efa={'raw':![],'where':{'id':_0xd10917[_0xc988('0xa5')]['id']}},_0x4945e6={};_0x4945e6[_0xc988('0x37')]=_[_0xc988('0xa6')](db['FaxInteraction'][_0xc988('0x31')]);_0x4945e6[_0xc988('0x35')]=_[_0xc988('0xa6')](_0xd10917[_0xc988('0x35')]);_0x4945e6['filters']=_[_0xc988('0x38')](_0x4945e6[_0xc988('0x37')],_0x4945e6['query']);_0x188efa[_0xc988('0x3a')]=_[_0xc988('0x38')](_0x4945e6[_0xc988('0x37')],qs[_0xc988('0x39')](_0xd10917['query'][_0xc988('0x39')]));_0x188efa[_0xc988('0x3a')]=_0x188efa[_0xc988('0x3a')][_0xc988('0x3b')]?_0x188efa['attributes']:_0x4945e6[_0xc988('0x37')];if(_0xd10917[_0xc988('0x35')][_0xc988('0xa7')]){_0x188efa[_0xc988('0xa8')]=[{'all':!![]}];}_0x188efa=_[_0xc988('0x8f')]({},_0x188efa,_0xd10917[_0xc988('0xa9')]);return db[_0xc988('0x30')][_0xc988('0x59')](_0x188efa)['then'](handleEntityNotFound(_0x16a9f0,null))[_0xc988('0x21')](respondWithResult(_0x16a9f0,null))[_0xc988('0xa3')](handleError(_0x16a9f0,null));};exports[_0xc988('0xaa')]=function(_0xb32d5c,_0x50953d){return db[_0xc988('0x30')][_0xc988('0xaa')](_0xb32d5c['body'],{})[_0xc988('0x21')](respondWithResult(_0x50953d,0xc9))[_0xc988('0xa3')](handleError(_0x50953d,null));};exports[_0xc988('0xab')]=function(_0x2a1bfa,_0xb37e8e){if(_0x2a1bfa['body']['id']){delete _0x2a1bfa[_0xc988('0xac')]['id'];}return db[_0xc988('0x30')][_0xc988('0x59')]({'where':{'id':_0x2a1bfa[_0xc988('0xa5')]['id']}})['then'](handleEntityNotFound(_0xb37e8e,null))[_0xc988('0x21')](saveUpdates(_0x2a1bfa[_0xc988('0xac')],null))['then'](respondWithResult(_0xb37e8e,null))['catch'](handleError(_0xb37e8e,null));};exports[_0xc988('0x22')]=function(_0x50c323,_0x549a08){return db[_0xc988('0x30')][_0xc988('0x59')]({'where':{'id':_0x50c323['params']['id']}})[_0xc988('0x21')](handleEntityNotFound(_0x549a08,null))[_0xc988('0x21')](removeEntity(_0x549a08,null))[_0xc988('0xa3')](handleError(_0x549a08,null));};exports[_0xc988('0xad')]=function(_0x568d8c,_0x3d543b){return db[_0xc988('0x30')]['describe']()[_0xc988('0x21')](respondWithResult(_0x3d543b,null))[_0xc988('0xa3')](handleError(_0x3d543b,null));};exports[_0xc988('0xae')]=function(_0x47b6c3,_0x47e19d,_0x3291f3){return db['FaxMessage'][_0xc988('0x59')]({'where':{'id':_0x47b6c3[_0xc988('0xa5')]['id']}})['then'](handleEntityNotFound(_0x47e19d,null))[_0xc988('0x21')](function(_0x38563e){if(_0x38563e){return _0x38563e[_0xc988('0xae')](_0x47b6c3[_0xc988('0xac')][_0xc988('0xaf')],_[_0xc988('0xb0')](_0x47b6c3[_0xc988('0xac')],['ids','id'])||{});}})[_0xc988('0x21')](respondWithResult(_0x47e19d,null))[_0xc988('0xa3')](handleError(_0x47e19d,null));};exports[_0xc988('0xb1')]=function(_0xec7238,_0x255bcd,_0x2befd8){var _0x68235={'raw':![],'where':{}};var _0x20f363={};var _0x5417b2={'count':0x0,'rows':[]};return db['FaxInteraction'][_0xc988('0xb2')]({'where':{'id':_0xec7238[_0xc988('0xa5')]['id']}})[_0xc988('0x21')](handleEntityNotFound(_0x255bcd,null))[_0xc988('0x21')](function(_0x48afa2){if(_0x48afa2){_0x20f363[_0xc988('0x37')]=_[_0xc988('0xa6')](db['FaxMessage'][_0xc988('0x31')]);_0x20f363[_0xc988('0x35')]=_[_0xc988('0xa6')](_0xec7238[_0xc988('0x35')]);_0x20f363[_0xc988('0x36')]=_['intersection'](_0x20f363['model'],_0x20f363[_0xc988('0x35')]);_0x68235[_0xc988('0x3a')]=_['intersection'](_0x20f363[_0xc988('0x37')],qs[_0xc988('0x39')](_0xec7238[_0xc988('0x35')][_0xc988('0x39')]));_0x68235['attributes']=_0x68235[_0xc988('0x3a')][_0xc988('0x3b')]?_0x68235[_0xc988('0x3a')]:_0x20f363[_0xc988('0x37')];if(!_0xec7238[_0xc988('0x35')]['hasOwnProperty']('nolimit')){_0x68235[_0xc988('0x3d')]=qs[_0xc988('0x3d')](_0xec7238[_0xc988('0x35')][_0xc988('0x3d')]);_0x68235[_0xc988('0x1d')]=qs['offset'](_0xec7238['query'][_0xc988('0x1d')]);}_0x68235[_0xc988('0x86')]=qs['sort'](_0xec7238[_0xc988('0x35')][_0xc988('0x3e')]);_0x68235[_0xc988('0x3f')]=qs['filters'](_[_0xc988('0x40')](_0xec7238[_0xc988('0x35')],_0x20f363[_0xc988('0x36')]));_0x68235[_0xc988('0x3f')][_0xc988('0xb3')]=_0x48afa2['id'];if(_0xec7238[_0xc988('0x35')]['filter']){_0x68235[_0xc988('0x3f')]=_['merge'](_0x68235[_0xc988('0x3f')],{'$or':_[_0xc988('0x2f')](_0x68235[_0xc988('0x3a')],function(_0x3d0680){var _0x11c502={};_0x11c502[_0x3d0680]={'$like':'%'+_0xec7238[_0xc988('0x35')][_0xc988('0x79')]+'%'};return _0x11c502;})});}if(_0xec7238[_0xc988('0x35')]['$gte']){var _0x1f6f76=_0xec7238[_0xc988('0x35')][_0xc988('0x70')]['split'](',');var _0x4eaa54={};_0x4eaa54[_0x1f6f76[0x0]]={'$gte':moment(_0x1f6f76[0x1])[_0xc988('0xb4')](_0xc988('0xb5'))};_0x68235['where']=_[_0xc988('0x8f')](_0x68235[_0xc988('0x3f')],_0x4eaa54);}_0x68235=_['merge']({},_0x68235,_0xec7238[_0xc988('0xa9')]);return db[_0xc988('0xb6')]['count']({'where':_0x68235[_0xc988('0x3f')]})[_0xc988('0x21')](function(_0x429e82){_0x5417b2[_0xc988('0x1c')]=_0x429e82;if(_0xec7238[_0xc988('0x35')][_0xc988('0xa7')]){_0x68235[_0xc988('0xa8')]=[{'all':!![]}];}return db[_0xc988('0xb6')][_0xc988('0xb7')](_0x68235);})[_0xc988('0x21')](function(_0xbc835a){_0x5417b2[_0xc988('0xa2')]=_0xbc835a;return _0x5417b2;});}})[_0xc988('0x21')](respondWithFilteredResult(_0x255bcd,_0x68235))[_0xc988('0xa3')](handleError(_0x255bcd,null));};exports[_0xc988('0xb8')]=function(_0x5ee946,_0x2e9b46,_0x3f4a6f){return db[_0xc988('0x30')][_0xc988('0x59')]({'where':{'id':_0x5ee946[_0xc988('0xa5')]['id']}})[_0xc988('0x21')](handleEntityNotFound(_0x2e9b46,null))[_0xc988('0x21')](function(_0x42fed9){if(_0x42fed9){return _0x42fed9[_0xc988('0xb9')](_0x5ee946[_0xc988('0xac')][_0xc988('0xaf')],_[_0xc988('0xb0')](_0x5ee946[_0xc988('0xac')],[_0xc988('0xaf'),'id'])||{})[_0xc988('0xba')](function(){return db[_0xc988('0xbb')][_0xc988('0xb7')]({'attributes':['id','name',_0xc988('0x43')],'where':{'id':_0x5ee946[_0xc988('0xac')][_0xc988('0xaf')]}});})[_0xc988('0x21')](function(_0x2d2770){socket[_0xc988('0xbc')](_0xc988('0xbd'),{'id':Number(_0x5ee946[_0xc988('0xa5')]['id']),'tags':_0x2d2770||[]});return{'id':Number(_0x5ee946[_0xc988('0xa5')]['id']),'tags':_0x2d2770||[]};});}})['then'](respondWithResult(_0x2e9b46,null))[_0xc988('0xa3')](handleError(_0x2e9b46,null));};exports[_0xc988('0xbe')]=function(_0x51412a,_0x24af71,_0x3aeb7c){return db['FaxInteraction']['find']({'where':{'id':_0x51412a[_0xc988('0xa5')]['id']}})[_0xc988('0x21')](handleEntityNotFound(_0x24af71,null))[_0xc988('0x21')](function(_0x372647){if(_0x372647){return _0x372647[_0xc988('0xbe')](_0x51412a['query'][_0xc988('0xaf')]);}})['then'](respondWithStatusCode(_0x24af71,null))[_0xc988('0xa3')](handleError(_0x24af71,null));};exports[_0xc988('0xbf')]=function(_0x13457f,_0x184cdd){var _0x3f5107=moment()[_0xc988('0xc0')]()['toString']();var _0x57484f=path[_0xc988('0xc1')](config[_0xc988('0xc2')],'server',_0xc988('0xc3'),'tmp');var _0x20286c=path[_0xc988('0xc1')](config[_0xc988('0xc2')],_0xc988('0xc4'),_0xc988('0xc3'),_0xc988('0xc5'));var _0xeb801f=path[_0xc988('0xc1')](_0x57484f,_0x3f5107);var _0xb117b6=util['format'](_0xc988('0xc6'),_0x13457f[_0xc988('0xa5')]['id'],_0x3f5107);var _0x19672a=path[_0xc988('0xc1')](_0x57484f,_0xb117b6);var _0x1bf619=[];_0x1bf619['push']({'model':db['Attachment'],'as':_0xc988('0xc7'),'raw':!![]});var _0x431448=[{'model':db[_0xc988('0xb6')],'as':_0xc988('0xc8'),'attributes':['id',_0xc988('0xac'),_0xc988('0x6e')],'include':_0x1bf619}];return db[_0xc988('0x30')]['find']({'where':{'id':_0x13457f[_0xc988('0xa5')]['id']},'include':_0x431448})['then'](handleEntityNotFound(_0x184cdd,null))[_0xc988('0x21')](function(_0x12429d){if(_0x12429d&&_0x12429d['Messages']){var _0xedb16e=_0x12429d[_0xc988('0xc9')]({'plain':!![]});fs[_0xc988('0xca')](_0xeb801f);for(var _0x29b372=0x0;_0x29b372<_0xedb16e[_0xc988('0xc8')][_0xc988('0x3b')];_0x29b372++){var _0x2913f1=_0xedb16e[_0xc988('0xc8')][_0x29b372]['Attachment'];if(_0x2913f1){var _0xa617e=path['join'](_0x20286c,_0x2913f1[_0xc988('0xcb')]);if(fs[_0xc988('0xcc')](_0xa617e)){fs[_0xc988('0xcd')](_0xa617e)[_0xc988('0xce')](fs[_0xc988('0xcf')](path[_0xc988('0xc1')](_0xeb801f,_0x2913f1[_0xc988('0xcb')])));}}}return BPromise[_0xc988('0x87')]()[_0xc988('0x21')](function(){return new BPromise(function(_0x193dfb,_0x227aa5){zipdir(_0xeb801f,{'saveTo':_0x19672a},function(_0x39958f,_0x4b3de8){if(_0x39958f)return _0x227aa5(_0x39958f);return _0x193dfb(_0x4b3de8);});})[_0xc988('0x21')](function(){return new BPromise(function(_0x379afe,_0xdccbd2){rimraf(_0xeb801f,function(_0x1aae72){if(_0x1aae72)_0xdccbd2(_0x1aae72);return _0x379afe();});});})['then'](function(){return _0x184cdd[_0xc988('0xbf')](_0x19672a,_0xb117b6,function(_0x113b57){if(_0x113b57){console[_0xc988('0xd0')]('err',_0x113b57);}else{fs[_0xc988('0xd1')](_0x19672a);}});});});}else{return _0x184cdd[_0xc988('0x18')](0xc8);}})[_0xc988('0xa3')](handleError(_0x184cdd,null));}; \ No newline at end of file diff --git a/server/api/faxInteraction/faxInteraction.events.js b/server/api/faxInteraction/faxInteraction.events.js index d2adbaa..fe9c72e 100644 --- a/server/api/faxInteraction/faxInteraction.events.js +++ b/server/api/faxInteraction/faxInteraction.events.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x814b=['then','Users','map','findAll','setDataValue','unreadMessages','length','emit','hasOwnProperty','exports','events','../../mysqldb','FaxInteraction','FaxMessage','setMaxListeners','update','remove'];(function(_0x2fdb5e,_0x633706){var _0x59af1b=function(_0x251419){while(--_0x251419){_0x2fdb5e['push'](_0x2fdb5e['shift']());}};_0x59af1b(++_0x633706);}(_0x814b,0x1a2));var _0xb814=function(_0x4df1f5,_0x39c6d2){_0x4df1f5=_0x4df1f5-0x0;var _0x56585b=_0x814b[_0x4df1f5];return _0x56585b;};'use strict';var EventEmitter=require(_0xb814('0x0'));var FaxInteraction=require(_0xb814('0x1'))['db'][_0xb814('0x2')];var FaxMessage=require(_0xb814('0x1'))['db'][_0xb814('0x3')];var FaxInteractionEvents=new EventEmitter();FaxInteractionEvents[_0xb814('0x4')](0x0);var events={'afterCreate':'save','afterUpdate':_0xb814('0x5'),'afterDestroy':_0xb814('0x6')};function emitEvent(_0x258866){return function(_0x4237bc,_0x44931c,_0x322a70){_0x4237bc['getUsers']({'attributes':['id'],'raw':!![]})[_0xb814('0x7')](function(_0x2e6272){_0x4237bc['setDataValue'](_0xb814('0x8'),_0x2e6272[_0xb814('0x9')](function(_0x186d5a){return{'id':_0x186d5a['id']};}));return FaxMessage[_0xb814('0xa')]({'where':{'FaxInteractionId':_0x4237bc['id'],'direction':'in','read':![]},'raw':!![]});})[_0xb814('0x7')](function(_0x21d4a5){_0x4237bc[_0xb814('0xb')](_0xb814('0xc'),_0x21d4a5[_0xb814('0xd')]);FaxInteractionEvents[_0xb814('0xe')](_0x258866+':'+_0x4237bc['id'],_0x4237bc);FaxInteractionEvents[_0xb814('0xe')](_0x258866,_0x4237bc);_0x322a70(null);})['catch'](_0x322a70(null));};}for(var e in events){if(events[_0xb814('0xf')](e)){var event=events[e];FaxInteraction['hook'](e,emitEvent(event));}}module[_0xb814('0x10')]=FaxInteractionEvents; \ No newline at end of file +var _0xadb5=['update','remove','getUsers','then','setDataValue','Users','map','findAll','unreadMessages','emit','catch','hasOwnProperty','exports','../../mysqldb','FaxMessage','setMaxListeners'];(function(_0x8f0f67,_0x5d19ad){var _0x127cee=function(_0x2521d1){while(--_0x2521d1){_0x8f0f67['push'](_0x8f0f67['shift']());}};_0x127cee(++_0x5d19ad);}(_0xadb5,0xad));var _0x5adb=function(_0x4c16f2,_0x557c32){_0x4c16f2=_0x4c16f2-0x0;var _0x11e6fa=_0xadb5[_0x4c16f2];return _0x11e6fa;};'use strict';var EventEmitter=require('events');var FaxInteraction=require(_0x5adb('0x0'))['db']['FaxInteraction'];var FaxMessage=require(_0x5adb('0x0'))['db'][_0x5adb('0x1')];var FaxInteractionEvents=new EventEmitter();FaxInteractionEvents[_0x5adb('0x2')](0x0);var events={'afterCreate':'save','afterUpdate':_0x5adb('0x3'),'afterDestroy':_0x5adb('0x4')};function emitEvent(_0x2e3ef4){return function(_0x4cb1d1,_0x35a5d3,_0x168d89){_0x4cb1d1[_0x5adb('0x5')]({'attributes':['id'],'raw':!![]})[_0x5adb('0x6')](function(_0xdf3776){_0x4cb1d1[_0x5adb('0x7')](_0x5adb('0x8'),_0xdf3776[_0x5adb('0x9')](function(_0x41261c){return{'id':_0x41261c['id']};}));return FaxMessage[_0x5adb('0xa')]({'where':{'FaxInteractionId':_0x4cb1d1['id'],'direction':'in','read':![]},'raw':!![]});})[_0x5adb('0x6')](function(_0x336bad){_0x4cb1d1[_0x5adb('0x7')](_0x5adb('0xb'),_0x336bad['length']);FaxInteractionEvents['emit'](_0x2e3ef4+':'+_0x4cb1d1['id'],_0x4cb1d1);FaxInteractionEvents[_0x5adb('0xc')](_0x2e3ef4,_0x4cb1d1);_0x168d89(null);})[_0x5adb('0xd')](_0x168d89(null));};}for(var e in events){if(events[_0x5adb('0xe')](e)){var event=events[e];FaxInteraction['hook'](e,emitEvent(event));}}module[_0x5adb('0xf')]=FaxInteractionEvents; \ No newline at end of file diff --git a/server/api/faxInteraction/faxInteraction.model.js b/server/api/faxInteraction/faxInteraction.model.js index c02d133..53e795f 100644 --- a/server/api/faxInteraction/faxInteraction.model.js +++ b/server/api/faxInteraction/faxInteraction.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x71fd=['../../config/logger','api','moment','request-promise','path','rimraf','../../config/environment','./faxInteraction.attributes','exports','define','FaxInteraction','fax_interactions','changed','closed','closedAt','YYYY-MM-DD\x20HH:mm:ss','lodash','util'];(function(_0x5bb596,_0x3f1cd6){var _0x181f5a=function(_0x3befd8){while(--_0x3befd8){_0x5bb596['push'](_0x5bb596['shift']());}};_0x181f5a(++_0x3f1cd6);}(_0x71fd,0xe8));var _0xd71f=function(_0x2ddb1d,_0x5673bd){_0x2ddb1d=_0x2ddb1d-0x0;var _0xb678f9=_0x71fd[_0x2ddb1d];return _0xb678f9;};'use strict';var _=require(_0xd71f('0x0'));var util=require(_0xd71f('0x1'));var logger=require(_0xd71f('0x2'))(_0xd71f('0x3'));var moment=require(_0xd71f('0x4'));var BPromise=require('bluebird');var rp=require(_0xd71f('0x5'));var fs=require('fs');var path=require(_0xd71f('0x6'));var rimraf=require(_0xd71f('0x7'));var config=require(_0xd71f('0x8'));var attributes=require(_0xd71f('0x9'));module[_0xd71f('0xa')]=function(_0x378375,_0x55925f){return _0x378375[_0xd71f('0xb')](_0xd71f('0xc'),attributes,{'tableName':_0xd71f('0xd'),'paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'beforeUpdate':function(_0x511519,_0x11e423,_0x418bdd){if(_0x511519[_0xd71f('0xe')](_0xd71f('0xf'))){_0x511519[_0xd71f('0x10')]=moment()['format'](_0xd71f('0x11'));}_0x418bdd(null,_0x511519);}}});}; \ No newline at end of file +var _0x05f2=['../../config/logger','api','bluebird','path','rimraf','./faxInteraction.attributes','exports','define','FaxInteraction','closed','closedAt','format','lodash','util'];(function(_0x3cd7d5,_0xa7329a){var _0x5d0afd=function(_0x3caa16){while(--_0x3caa16){_0x3cd7d5['push'](_0x3cd7d5['shift']());}};_0x5d0afd(++_0xa7329a);}(_0x05f2,0x14e));var _0x205f=function(_0x59ee6f,_0x450239){_0x59ee6f=_0x59ee6f-0x0;var _0x4c0979=_0x05f2[_0x59ee6f];return _0x4c0979;};'use strict';var _=require(_0x205f('0x0'));var util=require(_0x205f('0x1'));var logger=require(_0x205f('0x2'))(_0x205f('0x3'));var moment=require('moment');var BPromise=require(_0x205f('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x205f('0x5'));var rimraf=require(_0x205f('0x6'));var config=require('../../config/environment');var attributes=require(_0x205f('0x7'));module[_0x205f('0x8')]=function(_0x1a0d56,_0x4121c3){return _0x1a0d56[_0x205f('0x9')](_0x205f('0xa'),attributes,{'tableName':'fax_interactions','paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'beforeUpdate':function(_0x277d13,_0x3788c1,_0xe98e51){if(_0x277d13['changed'](_0x205f('0xb'))){_0x277d13[_0x205f('0xc')]=moment()[_0x205f('0xd')]('YYYY-MM-DD\x20HH:mm:ss');}_0xe98e51(null,_0x277d13);}}});}; \ No newline at end of file diff --git a/server/api/faxInteraction/faxInteraction.rpc.js b/server/api/faxInteraction/faxInteraction.rpc.js index 6bd816c..a65ae42 100644 --- a/server/api/faxInteraction/faxInteraction.rpc.js +++ b/server/api/faxInteraction/faxInteraction.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x87e8=['rpc','../../config/environment','jayson/promise','http','redis','defaults','localhost','socket.io-emitter','request','then','FaxInteraction,\x20%s,\x20%s','request\x20sent','debug','FaxInteraction,\x20%s,\x20%s,\x20%s','stringify','error','code','message','info','result','FaxInteraction','update','options','raw','where','attributes','limit','UpdateFaxInteraction','AddTagsToFaxInteraction','find','addTags','body','ids','omit','spread','AddTags','lodash','util','moment','bluebird','randomstring','ioredis','../../mysqldb'];(function(_0x4acb51,_0x259903){var _0x3bd3b7=function(_0x2bf2a4){while(--_0x2bf2a4){_0x4acb51['push'](_0x4acb51['shift']());}};_0x3bd3b7(++_0x259903);}(_0x87e8,0x151));var _0x887e=function(_0x35750c,_0x5ccc6f){_0x35750c=_0x35750c-0x0;var _0x230c36=_0x87e8[_0x35750c];return _0x230c36;};'use strict';var _=require(_0x887e('0x0'));var util=require(_0x887e('0x1'));var moment=require(_0x887e('0x2'));var BPromise=require(_0x887e('0x3'));var rs=require(_0x887e('0x4'));var fs=require('fs');var Redis=require(_0x887e('0x5'));var db=require(_0x887e('0x6'))['db'];var utils=require('../../config/utils');var logger=require('../../config/logger')(_0x887e('0x7'));var config=require(_0x887e('0x8'));var jayson=require(_0x887e('0x9'));var client=jayson['client'][_0x887e('0xa')]({'port':0x232a});config[_0x887e('0xb')]=_[_0x887e('0xc')](config['redis'],{'host':_0x887e('0xd'),'port':0x18eb});var socket=require(_0x887e('0xe'))(new Redis(config['redis']));require('./faxInteraction.socket')['register'](socket);function respondWithRpcPromise(_0xa24911,_0x390add,_0x53bdc0){return new BPromise(function(_0x29da7c,_0x585d20){return client[_0x887e('0xf')](_0xa24911,_0x53bdc0)[_0x887e('0x10')](function(_0x32e942){logger['info'](_0x887e('0x11'),_0x390add,_0x887e('0x12'));logger[_0x887e('0x13')](_0x887e('0x14'),_0x390add,_0x887e('0x12'),JSON[_0x887e('0x15')](_0x32e942));if(_0x32e942['error']){if(_0x32e942[_0x887e('0x16')][_0x887e('0x17')]===0x1f4){logger['error']('FaxInteraction,\x20%s,\x20%s',_0x390add,_0x32e942['error']['message']);return _0x585d20(_0x32e942[_0x887e('0x16')][_0x887e('0x18')]);}logger[_0x887e('0x16')](_0x887e('0x11'),_0x390add,_0x32e942[_0x887e('0x16')][_0x887e('0x18')]);return _0x29da7c(_0x32e942[_0x887e('0x16')][_0x887e('0x18')]);}else{logger[_0x887e('0x19')]('FaxInteraction,\x20%s,\x20%s',_0x390add,_0x887e('0x12'));_0x29da7c(_0x32e942[_0x887e('0x1a')][_0x887e('0x18')]);}})['catch'](function(_0x597cd1){logger[_0x887e('0x16')](_0x887e('0x11'),_0x390add,_0x597cd1);_0x585d20(_0x597cd1);});});}exports['UpdateFaxInteraction']=function(_0x4c90f5){var _0x334257=this;return new Promise(function(_0x2e8c42,_0x1694ff){return db[_0x887e('0x1b')][_0x887e('0x1c')](_0x4c90f5['body'],{'raw':_0x4c90f5['options']?_0x4c90f5[_0x887e('0x1d')][_0x887e('0x1e')]===undefined?!![]:![]:!![],'individualHooks':!![],'where':_0x4c90f5[_0x887e('0x1d')]?_0x4c90f5[_0x887e('0x1d')][_0x887e('0x1f')]||null:null,'attributes':_0x4c90f5[_0x887e('0x1d')]?_0x4c90f5[_0x887e('0x1d')][_0x887e('0x20')]||null:null,'limit':_0x4c90f5[_0x887e('0x1d')]?_0x4c90f5[_0x887e('0x1d')][_0x887e('0x21')]||null:null})[_0x887e('0x10')](function(_0x2c8320){logger[_0x887e('0x19')](_0x887e('0x22'),_0x4c90f5);logger[_0x887e('0x13')](_0x887e('0x22'),_0x4c90f5,JSON['stringify'](_0x2c8320));_0x2e8c42(_0x2c8320);})['catch'](function(_0x297a81){logger['error'](_0x887e('0x22'),_0x297a81[_0x887e('0x18')],_0x4c90f5);_0x1694ff(_0x334257[_0x887e('0x16')](0x1f4,_0x297a81[_0x887e('0x18')]));});});};exports[_0x887e('0x23')]=function(_0x740243){return new Promise(function(_0x26955b,_0x46622a){return db['FaxInteraction'][_0x887e('0x24')]({'where':_0x740243[_0x887e('0x1d')]?_0x740243[_0x887e('0x1d')][_0x887e('0x1f')]||null:null})[_0x887e('0x10')](function(_0x2ff6c9){if(_0x2ff6c9){return _0x2ff6c9[_0x887e('0x25')](_0x740243[_0x887e('0x26')][_0x887e('0x27')],_[_0x887e('0x28')](_0x740243[_0x887e('0x26')],['ids','id'])||{});}})[_0x887e('0x29')](function(_0x10a056){logger[_0x887e('0x19')](_0x887e('0x2a'),_0x740243);logger[_0x887e('0x13')](_0x887e('0x2a'),_0x740243,JSON[_0x887e('0x15')](_0x10a056));_0x26955b(_0x10a056);})['catch'](function(_0x55ad9a){logger[_0x887e('0x16')](_0x887e('0x2a'),_0x55ad9a[_0x887e('0x18')],_0x740243);_0x46622a(_this['error'](0x1f4,_0x55ad9a[_0x887e('0x18')]));});});}; \ No newline at end of file +var _0x5902=['catch','UpdateFaxInteraction','FaxInteraction','update','body','options','raw','where','attributes','limit','stringify','find','ids','omit','spread','AddTags','lodash','util','moment','../../config/utils','../../config/logger','../../config/environment','client','defaults','redis','localhost','./faxInteraction.socket','register','request','then','info','FaxInteraction,\x20%s,\x20%s','request\x20sent','debug','FaxInteraction,\x20%s,\x20%s,\x20%s','error','code','message','result'];(function(_0x3e3467,_0x31e1e2){var _0x2af66e=function(_0x34b82b){while(--_0x34b82b){_0x3e3467['push'](_0x3e3467['shift']());}};_0x2af66e(++_0x31e1e2);}(_0x5902,0xac));var _0x2590=function(_0x3ab51d,_0x2fa01d){_0x3ab51d=_0x3ab51d-0x0;var _0x29a04e=_0x5902[_0x3ab51d];return _0x29a04e;};'use strict';var _=require(_0x2590('0x0'));var util=require(_0x2590('0x1'));var moment=require(_0x2590('0x2'));var BPromise=require('bluebird');var rs=require('randomstring');var fs=require('fs');var Redis=require('ioredis');var db=require('../../mysqldb')['db'];var utils=require(_0x2590('0x3'));var logger=require(_0x2590('0x4'))('rpc');var config=require(_0x2590('0x5'));var jayson=require('jayson/promise');var client=jayson[_0x2590('0x6')]['http']({'port':0x232a});config['redis']=_[_0x2590('0x7')](config[_0x2590('0x8')],{'host':_0x2590('0x9'),'port':0x18eb});var socket=require('socket.io-emitter')(new Redis(config[_0x2590('0x8')]));require(_0x2590('0xa'))[_0x2590('0xb')](socket);function respondWithRpcPromise(_0x48782d,_0x73278,_0x5bffe2){return new BPromise(function(_0x3d75c4,_0x313376){return client[_0x2590('0xc')](_0x48782d,_0x5bffe2)[_0x2590('0xd')](function(_0x3cd253){logger[_0x2590('0xe')](_0x2590('0xf'),_0x73278,_0x2590('0x10'));logger[_0x2590('0x11')](_0x2590('0x12'),_0x73278,_0x2590('0x10'),JSON['stringify'](_0x3cd253));if(_0x3cd253[_0x2590('0x13')]){if(_0x3cd253[_0x2590('0x13')][_0x2590('0x14')]===0x1f4){logger['error'](_0x2590('0xf'),_0x73278,_0x3cd253[_0x2590('0x13')][_0x2590('0x15')]);return _0x313376(_0x3cd253[_0x2590('0x13')][_0x2590('0x15')]);}logger[_0x2590('0x13')](_0x2590('0xf'),_0x73278,_0x3cd253[_0x2590('0x13')]['message']);return _0x3d75c4(_0x3cd253['error'][_0x2590('0x15')]);}else{logger['info'](_0x2590('0xf'),_0x73278,_0x2590('0x10'));_0x3d75c4(_0x3cd253[_0x2590('0x16')][_0x2590('0x15')]);}})[_0x2590('0x17')](function(_0x2c5f2e){logger[_0x2590('0x13')](_0x2590('0xf'),_0x73278,_0x2c5f2e);_0x313376(_0x2c5f2e);});});}exports[_0x2590('0x18')]=function(_0x45a62b){var _0x226001=this;return new Promise(function(_0x4e3438,_0x54a840){return db[_0x2590('0x19')][_0x2590('0x1a')](_0x45a62b[_0x2590('0x1b')],{'raw':_0x45a62b[_0x2590('0x1c')]?_0x45a62b[_0x2590('0x1c')][_0x2590('0x1d')]===undefined?!![]:![]:!![],'individualHooks':!![],'where':_0x45a62b['options']?_0x45a62b[_0x2590('0x1c')][_0x2590('0x1e')]||null:null,'attributes':_0x45a62b[_0x2590('0x1c')]?_0x45a62b['options'][_0x2590('0x1f')]||null:null,'limit':_0x45a62b['options']?_0x45a62b[_0x2590('0x1c')][_0x2590('0x20')]||null:null})[_0x2590('0xd')](function(_0x2e5bb4){logger[_0x2590('0xe')](_0x2590('0x18'),_0x45a62b);logger[_0x2590('0x11')]('UpdateFaxInteraction',_0x45a62b,JSON[_0x2590('0x21')](_0x2e5bb4));_0x4e3438(_0x2e5bb4);})['catch'](function(_0x4cb3d9){logger['error'](_0x2590('0x18'),_0x4cb3d9[_0x2590('0x15')],_0x45a62b);_0x54a840(_0x226001[_0x2590('0x13')](0x1f4,_0x4cb3d9[_0x2590('0x15')]));});});};exports['AddTagsToFaxInteraction']=function(_0x286ead){return new Promise(function(_0x4997ac,_0x2adda7){return db[_0x2590('0x19')][_0x2590('0x22')]({'where':_0x286ead[_0x2590('0x1c')]?_0x286ead['options'][_0x2590('0x1e')]||null:null})[_0x2590('0xd')](function(_0x31c46b){if(_0x31c46b){return _0x31c46b['addTags'](_0x286ead['body'][_0x2590('0x23')],_[_0x2590('0x24')](_0x286ead[_0x2590('0x1b')],[_0x2590('0x23'),'id'])||{});}})[_0x2590('0x25')](function(_0x3140a0){logger[_0x2590('0xe')](_0x2590('0x26'),_0x286ead);logger[_0x2590('0x11')](_0x2590('0x26'),_0x286ead,JSON[_0x2590('0x21')](_0x3140a0));_0x4997ac(_0x3140a0);})[_0x2590('0x17')](function(_0x269902){logger['error']('AddTags',_0x269902['message'],_0x286ead);_0x2adda7(_this[_0x2590('0x13')](0x1f4,_0x269902[_0x2590('0x15')]));});});}; \ No newline at end of file diff --git a/server/api/faxInteraction/faxInteraction.socket.js b/server/api/faxInteraction/faxInteraction.socket.js index 6a234ec..647155f 100644 --- a/server/api/faxInteraction/faxInteraction.socket.js +++ b/server/api/faxInteraction/faxInteraction.socket.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x5e63=['./faxInteraction.events','save','remove','update','emit','length'];(function(_0x390604,_0x38921e){var _0x58b477=function(_0x127954){while(--_0x127954){_0x390604['push'](_0x390604['shift']());}};_0x58b477(++_0x38921e);}(_0x5e63,0x17a));var _0x35e6=function(_0x4228a9,_0x40d3a3){_0x4228a9=_0x4228a9-0x0;var _0xdbce4a=_0x5e63[_0x4228a9];return _0xdbce4a;};'use strict';var FaxInteractionEvents=require(_0x35e6('0x0'));var events=[_0x35e6('0x1'),_0x35e6('0x2'),_0x35e6('0x3')];function createListener(_0xbe94cc,_0x8631ce){return function(_0x2fece2){_0x8631ce[_0x35e6('0x4')](_0xbe94cc,_0x2fece2);};}function removeListener(_0x47731e,_0x32f9c7){return function(){FaxInteractionEvents['removeListener'](_0x47731e,_0x32f9c7);};}exports['register']=function(_0x1d1f2c){for(var _0x81b9ae=0x0,_0x574f46=events[_0x35e6('0x5')];_0x81b9ae<_0x574f46;_0x81b9ae++){var _0x5707d5=events[_0x81b9ae];var _0x1db0ab=createListener('faxInteraction:'+_0x5707d5,_0x1d1f2c);FaxInteractionEvents['on'](_0x5707d5,_0x1db0ab);}}; \ No newline at end of file +var _0x2fb1=['update','emit','removeListener','register','length','save','remove'];(function(_0x216042,_0x97ba7c){var _0x56c6ab=function(_0x39259f){while(--_0x39259f){_0x216042['push'](_0x216042['shift']());}};_0x56c6ab(++_0x97ba7c);}(_0x2fb1,0x15c));var _0x12fb=function(_0x3e2f5f,_0x1800da){_0x3e2f5f=_0x3e2f5f-0x0;var _0x489a8a=_0x2fb1[_0x3e2f5f];return _0x489a8a;};'use strict';var FaxInteractionEvents=require('./faxInteraction.events');var events=[_0x12fb('0x0'),_0x12fb('0x1'),_0x12fb('0x2')];function createListener(_0x4acc19,_0x28c50c){return function(_0x3406ca){_0x28c50c[_0x12fb('0x3')](_0x4acc19,_0x3406ca);};}function removeListener(_0x5b9d58,_0x30325a){return function(){FaxInteractionEvents[_0x12fb('0x4')](_0x5b9d58,_0x30325a);};}exports[_0x12fb('0x5')]=function(_0x524162){for(var _0x4e0bc2=0x0,_0x5e29fd=events[_0x12fb('0x6')];_0x4e0bc2<_0x5e29fd;_0x4e0bc2++){var _0xa687cb=events[_0x4e0bc2];var _0xc525b2=createListener('faxInteraction:'+_0xa687cb,_0x524162);FaxInteractionEvents['on'](_0xa687cb,_0xc525b2);}}; \ No newline at end of file diff --git a/server/api/faxInteraction/index.js b/server/api/faxInteraction/index.js index 43dfa34..a1d398c 100644 --- a/server/api/faxInteraction/index.js +++ b/server/api/faxInteraction/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x7898=['addMessage','/:id/tags','fax','faxinteraction:addtags','addTags','put','tracked','faxinteraction:update','delete','faxinteraction:destroy','destroy','multer','path','connect-timeout','express','Router','../../components/auth/service','./faxInteraction.controller','get','isAuthenticated','index','/describe','describe','/:id','show','/:id/messages','getMessages','/:id/download','download','create','post'];(function(_0x272787,_0x201481){var _0x23e5cc=function(_0x35090c){while(--_0x35090c){_0x272787['push'](_0x272787['shift']());}};_0x23e5cc(++_0x201481);}(_0x7898,0x160));var _0x8789=function(_0x55ffee,_0x1862c1){_0x55ffee=_0x55ffee-0x0;var _0x27992d=_0x7898[_0x55ffee];return _0x27992d;};'use strict';var multer=require(_0x8789('0x0'));var util=require('util');var path=require(_0x8789('0x1'));var timeout=require(_0x8789('0x2'));var express=require(_0x8789('0x3'));var router=express[_0x8789('0x4')]();var auth=require(_0x8789('0x5'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x8789('0x6'));router[_0x8789('0x7')]('/',auth[_0x8789('0x8')](),controller[_0x8789('0x9')]);router['get'](_0x8789('0xa'),auth[_0x8789('0x8')](),controller[_0x8789('0xb')]);router[_0x8789('0x7')](_0x8789('0xc'),auth[_0x8789('0x8')](),controller[_0x8789('0xd')]);router[_0x8789('0x7')](_0x8789('0xe'),auth[_0x8789('0x8')](),controller[_0x8789('0xf')]);router[_0x8789('0x7')](_0x8789('0x10'),auth['isAuthenticated'](),controller[_0x8789('0x11')]);router['post']('/',auth['isAuthenticated'](),controller[_0x8789('0x12')]);router[_0x8789('0x13')](_0x8789('0xe'),auth[_0x8789('0x8')](),controller[_0x8789('0x14')]);router[_0x8789('0x13')](_0x8789('0x15'),auth[_0x8789('0x8')](),interaction['tracked'](_0x8789('0x16'),_0x8789('0x17')),controller[_0x8789('0x18')]);router[_0x8789('0x19')](_0x8789('0xc'),auth[_0x8789('0x8')](),interaction[_0x8789('0x1a')](_0x8789('0x16'),_0x8789('0x1b')),controller['update']);router[_0x8789('0x1c')]('/:id',auth[_0x8789('0x8')](),interaction[_0x8789('0x1a')](_0x8789('0x16'),_0x8789('0x1d')),controller[_0x8789('0x1e')]);router[_0x8789('0x1c')]('/:id/tags',auth[_0x8789('0x8')](),controller['removeTags']);module['exports']=router; \ No newline at end of file +var _0x0f95=['connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./faxInteraction.controller','get','isAuthenticated','/describe','/:id','show','/:id/messages','getMessages','/:id/download','download','post','/:id/tags','tracked','addTags','put','fax','delete','faxinteraction:destroy','destroy','removeTags','util','path'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x0f95,0xfa));var _0x50f9=function(_0x1db831,_0x42b7b5){_0x1db831=_0x1db831-0x0;var _0x39ba56=_0x0f95[_0x1db831];return _0x39ba56;};'use strict';var multer=require('multer');var util=require(_0x50f9('0x0'));var path=require(_0x50f9('0x1'));var timeout=require(_0x50f9('0x2'));var express=require(_0x50f9('0x3'));var router=express[_0x50f9('0x4')]();var auth=require(_0x50f9('0x5'));var interaction=require(_0x50f9('0x6'));var config=require(_0x50f9('0x7'));var controller=require(_0x50f9('0x8'));router[_0x50f9('0x9')]('/',auth[_0x50f9('0xa')](),controller['index']);router[_0x50f9('0x9')](_0x50f9('0xb'),auth[_0x50f9('0xa')](),controller['describe']);router[_0x50f9('0x9')](_0x50f9('0xc'),auth[_0x50f9('0xa')](),controller[_0x50f9('0xd')]);router['get'](_0x50f9('0xe'),auth[_0x50f9('0xa')](),controller[_0x50f9('0xf')]);router[_0x50f9('0x9')](_0x50f9('0x10'),auth['isAuthenticated'](),controller[_0x50f9('0x11')]);router['post']('/',auth[_0x50f9('0xa')](),controller['create']);router[_0x50f9('0x12')](_0x50f9('0xe'),auth[_0x50f9('0xa')](),controller['addMessage']);router['post'](_0x50f9('0x13'),auth[_0x50f9('0xa')](),interaction[_0x50f9('0x14')]('fax','faxinteraction:addtags'),controller[_0x50f9('0x15')]);router[_0x50f9('0x16')](_0x50f9('0xc'),auth[_0x50f9('0xa')](),interaction[_0x50f9('0x14')](_0x50f9('0x17'),'faxinteraction:update'),controller['update']);router[_0x50f9('0x18')](_0x50f9('0xc'),auth['isAuthenticated'](),interaction[_0x50f9('0x14')]('fax',_0x50f9('0x19')),controller[_0x50f9('0x1a')]);router[_0x50f9('0x18')]('/:id/tags',auth['isAuthenticated'](),controller[_0x50f9('0x1b')]);module['exports']=router; \ No newline at end of file diff --git a/server/api/faxMessage/faxMessage.attributes.js b/server/api/faxMessage/faxMessage.attributes.js index ee96ce6..c095e91 100644 --- a/server/api/faxMessage/faxMessage.attributes.js +++ b/server/api/faxMessage/faxMessage.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xd80e=['TEXT','sequelize','medium','BOOLEAN','ENUM'];(function(_0x456bd2,_0x156c79){var _0x2218c1=function(_0x44f2d4){while(--_0x44f2d4){_0x456bd2['push'](_0x456bd2['shift']());}};_0x2218c1(++_0x156c79);}(_0xd80e,0x1b4));var _0xed80=function(_0x26333b,_0x1c0bd2){_0x26333b=_0x26333b-0x0;var _0x169758=_0xd80e[_0x26333b];return _0x169758;};'use strict';var Sequelize=require(_0xed80('0x0'));module['exports']={'body':{'type':Sequelize['TEXT'](_0xed80('0x1')),'allowNull':![]},'read':{'type':Sequelize[_0xed80('0x2')],'defaultValue':![]},'direction':{'type':Sequelize[_0xed80('0x3')]('in','out'),'defaultValue':'out','allowNull':![]},'failMessage':{'type':Sequelize[_0xed80('0x4')],'defaultValue':null},'readAt':{'type':Sequelize['DATE']}}; \ No newline at end of file +var _0x0451=['TEXT','medium','out'];(function(_0x47b58b,_0x41a189){var _0x46bebe=function(_0x22bbfa){while(--_0x22bbfa){_0x47b58b['push'](_0x47b58b['shift']());}};_0x46bebe(++_0x41a189);}(_0x0451,0x1dd));var _0x1045=function(_0xa99357,_0x50ffad){_0xa99357=_0xa99357-0x0;var _0x111875=_0x0451[_0xa99357];return _0x111875;};'use strict';var Sequelize=require('sequelize');module['exports']={'body':{'type':Sequelize[_0x1045('0x0')](_0x1045('0x1')),'allowNull':![]},'read':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'direction':{'type':Sequelize['ENUM']('in',_0x1045('0x2')),'defaultValue':_0x1045('0x2'),'allowNull':![]},'failMessage':{'type':Sequelize['TEXT'],'defaultValue':null},'readAt':{'type':Sequelize['DATE']}}; \ No newline at end of file diff --git a/server/api/faxMessage/faxMessage.controller.js b/server/api/faxMessage/faxMessage.controller.js index 7fca21e..ee8249b 100644 --- a/server/api/faxMessage/faxMessage.controller.js +++ b/server/api/faxMessage/faxMessage.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x5e1a=['include','rows','show','params','keys','rawAttributes','length','body','find','describe','accept','fax','readAt','format','YYYY-MM-DD\x20HH:mm:ss','UserId','user','CmContact','Contact','get','FaxInteraction','read1stAt','interaction','[FAXMESSAGE:ACCEPT]\x20id=%s\x20name=%s\x20role=%s\x20interaction=%s\x20body=%s','role','stringify','null','acceptMessage','manual','interface','SIP/%s','channel','event','EventManager','fax-interactions','agent','FaxInteractionId','[FAXMESSAGE:REJECT]\x20id=%s\x20name=%s\x20role=%s\x20interaction=%s\x20body=%s','create','ContactId','isNil','Attachment','AttachmentId','SendFax','FaxAccountId','join','server','files','attachments','basename','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','ejs','lodash','squel','crypto','jsforce','desk.js','to-csv','querystring','papaparse','ioredis','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','redis','defaults','localhost','./faxMessage.socket','jayson/promise','client','http','test','ValidationError','The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.','request','info','FaxMessage,\x20%s,\x20%s','debug','FaxMessage,\x20%s,\x20%s,\x20%s','request\x20sent','error','code','message','result','catch','status','json','count','offset','set','Content-Range','reject','save','update','destroy','then','end','sendStatus','stack','name','index','fieldName','key','query','filters','intersection','model','attributes','fields','hasOwnProperty','limit','order','sort','where','pick','filter','merge','map','type','options','FaxMessage','includeAll'];(function(_0x118d99,_0x2988df){var _0x26038a=function(_0x41b265){while(--_0x41b265){_0x118d99['push'](_0x118d99['shift']());}};_0x26038a(++_0x2988df);}(_0x5e1a,0xb5));var _0xa5e1=function(_0x16dbfd,_0x2f9431){_0x16dbfd=_0x16dbfd-0x0;var _0x382254=_0x5e1a[_0x16dbfd];return _0x382254;};'use strict';var pdf=require(_0xa5e1('0x0'));var emlformat=require(_0xa5e1('0x1'));var rimraf=require(_0xa5e1('0x2'));var zipdir=require(_0xa5e1('0x3'));var jsonpatch=require(_0xa5e1('0x4'));var rp=require(_0xa5e1('0x5'));var moment=require(_0xa5e1('0x6'));var BPromise=require(_0xa5e1('0x7'));var Mustache=require('mustache');var util=require('util');var path=require('path');var sox=require('sox');var csv=require('to-csv');var ejs=require(_0xa5e1('0x8'));var fs=require('fs');var _=require(_0xa5e1('0x9'));var squel=require(_0xa5e1('0xa'));var crypto=require(_0xa5e1('0xb'));var jsforce=require(_0xa5e1('0xc'));var deskjs=require(_0xa5e1('0xd'));var toCsv=require(_0xa5e1('0xe'));var querystring=require(_0xa5e1('0xf'));var Papa=require(_0xa5e1('0x10'));var Redis=require(_0xa5e1('0x11'));var authService=require('../../components/auth/service');var qs=require(_0xa5e1('0x12'));var as=require(_0xa5e1('0x13'));var hardwareService=require(_0xa5e1('0x14'));var logger=require(_0xa5e1('0x15'))(_0xa5e1('0x16'));var utils=require('../../config/utils');var config=require('../../config/environment');var db=require('../../mysqldb')['db'];config[_0xa5e1('0x17')]=_[_0xa5e1('0x18')](config[_0xa5e1('0x17')],{'host':_0xa5e1('0x19'),'port':0x18eb});var socket=require('socket.io-emitter')(new Redis(config[_0xa5e1('0x17')]));require(_0xa5e1('0x1a'))['register'](socket);var jayson=require(_0xa5e1('0x1b'));var client=jayson[_0xa5e1('0x1c')][_0xa5e1('0x1d')]({'port':0x232c});var client9002=jayson[_0xa5e1('0x1c')][_0xa5e1('0x1d')]({'port':0x232a});function checkPasswordPattern(_0x50429a,_0x139a74,_0x57bfcb){if(_0x57bfcb){var _0x5312d8=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0x5312d8[_0xa5e1('0x1e')](_0x139a74)){return _0x50429a;}else{throw new db['Sequelize'][(_0xa5e1('0x1f'))](_0xa5e1('0x20'));}}else{return _0x50429a;}}function respondWithRpcPromise(_0x4d3443,_0x53ab9a,_0x29d905,_0x4df1e6){return new BPromise(function(_0x462435,_0x3d4600){var _0x2187e3=_0x4df1e6||client;return _0x2187e3[_0xa5e1('0x21')](_0x4d3443,_0x29d905)['then'](function(_0x5e1a25){logger[_0xa5e1('0x22')](_0xa5e1('0x23'),_0x53ab9a,'request\x20sent');logger[_0xa5e1('0x24')](_0xa5e1('0x25'),_0x53ab9a,_0xa5e1('0x26'),JSON['stringify'](_0x5e1a25));if(_0x5e1a25[_0xa5e1('0x27')]){if(_0x5e1a25[_0xa5e1('0x27')][_0xa5e1('0x28')]===0x1f4){logger['error'](_0xa5e1('0x23'),_0x53ab9a,_0x5e1a25[_0xa5e1('0x27')][_0xa5e1('0x29')]);return _0x3d4600(_0x5e1a25[_0xa5e1('0x27')]['message']);}logger[_0xa5e1('0x27')](_0xa5e1('0x23'),_0x53ab9a,_0x5e1a25['error'][_0xa5e1('0x29')]);return _0x462435(_0x5e1a25[_0xa5e1('0x27')][_0xa5e1('0x29')]);}else{logger['info'](_0xa5e1('0x23'),_0x53ab9a,_0xa5e1('0x26'));_0x462435(_0x5e1a25[_0xa5e1('0x2a')]['message']);}})[_0xa5e1('0x2b')](function(_0x4c25d2){logger[_0xa5e1('0x27')](_0xa5e1('0x23'),_0x53ab9a,_0x4c25d2);_0x3d4600(_0x4c25d2);});});}function respondWithStatusCode(_0x5c3d1b,_0x180f7a){_0x180f7a=_0x180f7a||0xcc;return function(_0x2b5c4b){if(_0x2b5c4b){return _0x5c3d1b['sendStatus'](_0x180f7a);}return _0x5c3d1b[_0xa5e1('0x2c')](_0x180f7a)['end']();};}function respondWithResult(_0x60b528,_0x4f1726){_0x4f1726=_0x4f1726||0xc8;return function(_0xa491dd){if(_0xa491dd){return _0x60b528['status'](_0x4f1726)[_0xa5e1('0x2d')](_0xa491dd);}};}function respondWithFilteredResult(_0x4b1038,_0x21c030){return function(_0x261492){if(_0x261492){var _0x559dd1=_0x261492[_0xa5e1('0x2e')],_0x2ff16a=_0x21c030[_0xa5e1('0x2f')],_0x4b522b=_0x21c030[_0xa5e1('0x2f')]+_0x21c030['limit'],_0x77102;if(_0x4b522b>=_0x559dd1){_0x4b522b=_0x559dd1;_0x77102=0xc8;}else{_0x77102=0xce;}_0x4b1038[_0xa5e1('0x2c')](_0x77102);return _0x4b1038[_0xa5e1('0x30')](_0xa5e1('0x31'),_0x2ff16a+'-'+_0x4b522b+'/'+_0x559dd1)[_0xa5e1('0x2d')](_0x261492);}return null;};}function patchUpdates(_0x95a168){return function(_0x4d9a3b){try{jsonpatch['apply'](_0x4d9a3b,_0x95a168,!![]);}catch(_0x3ff6a5){return BPromise[_0xa5e1('0x32')](_0x3ff6a5);}return _0x4d9a3b[_0xa5e1('0x33')]();};}function saveUpdates(_0x37eb50,_0x56028d){return function(_0x16a00a){if(_0x16a00a){return _0x16a00a[_0xa5e1('0x34')](_0x37eb50)['then'](function(_0xf9ac62){return _0xf9ac62;});}return null;};}function removeEntity(_0x2851a3,_0xb64b55){return function(_0x85da3c){if(_0x85da3c){return _0x85da3c[_0xa5e1('0x35')]()[_0xa5e1('0x36')](function(){_0x2851a3[_0xa5e1('0x2c')](0xcc)[_0xa5e1('0x37')]();});}};}function handleEntityNotFound(_0x27a692,_0x252eba){return function(_0x27213f){if(!_0x27213f){_0x27a692[_0xa5e1('0x38')](0x194);}return _0x27213f;};}function handleError(_0x33fdcf,_0x155db6){_0x155db6=_0x155db6||0x1f4;return function(_0x56da1e){logger[_0xa5e1('0x27')](_0x56da1e[_0xa5e1('0x39')]);if(_0x56da1e['name']){delete _0x56da1e[_0xa5e1('0x3a')];}_0x33fdcf['status'](_0x155db6)['send'](_0x56da1e);};}exports[_0xa5e1('0x3b')]=function(_0x268d55,_0x5a8440){var _0x37e562={},_0x1ef002={},_0x4ae6f9={'count':0x0,'rows':[]};var _0x557812=_['map'](db['FaxMessage']['rawAttributes'],function(_0x2fe867){return{'name':_0x2fe867[_0xa5e1('0x3c')],'type':_0x2fe867['type'][_0xa5e1('0x3d')]};});_0x1ef002['model']=_['map'](_0x557812,_0xa5e1('0x3a'));_0x1ef002[_0xa5e1('0x3e')]=_['keys'](_0x268d55[_0xa5e1('0x3e')]);_0x1ef002[_0xa5e1('0x3f')]=_[_0xa5e1('0x40')](_0x1ef002[_0xa5e1('0x41')],_0x1ef002[_0xa5e1('0x3e')]);_0x37e562[_0xa5e1('0x42')]=_[_0xa5e1('0x40')](_0x1ef002[_0xa5e1('0x41')],qs[_0xa5e1('0x43')](_0x268d55[_0xa5e1('0x3e')][_0xa5e1('0x43')]));_0x37e562[_0xa5e1('0x42')]=_0x37e562['attributes']['length']?_0x37e562[_0xa5e1('0x42')]:_0x1ef002['model'];if(!_0x268d55[_0xa5e1('0x3e')][_0xa5e1('0x44')]('nolimit')){_0x37e562[_0xa5e1('0x45')]=qs[_0xa5e1('0x45')](_0x268d55[_0xa5e1('0x3e')][_0xa5e1('0x45')]);_0x37e562[_0xa5e1('0x2f')]=qs[_0xa5e1('0x2f')](_0x268d55[_0xa5e1('0x3e')]['offset']);}_0x37e562[_0xa5e1('0x46')]=qs[_0xa5e1('0x47')](_0x268d55[_0xa5e1('0x3e')][_0xa5e1('0x47')]);_0x37e562[_0xa5e1('0x48')]=qs['filters'](_[_0xa5e1('0x49')](_0x268d55['query'],_0x1ef002[_0xa5e1('0x3f')]),_0x557812);if(_0x268d55['query'][_0xa5e1('0x4a')]){_0x37e562[_0xa5e1('0x48')]=_[_0xa5e1('0x4b')](_0x37e562[_0xa5e1('0x48')],{'$or':_[_0xa5e1('0x4c')](_0x557812,function(_0x32a126){if(_0x32a126[_0xa5e1('0x4d')]!=='VIRTUAL'){var _0xe15a97={};_0xe15a97[_0x32a126[_0xa5e1('0x3a')]]={'$like':'%'+_0x268d55[_0xa5e1('0x3e')][_0xa5e1('0x4a')]+'%'};return _0xe15a97;}})});}_0x37e562=_['merge']({},_0x37e562,_0x268d55[_0xa5e1('0x4e')]);var _0x3dbd46={'where':_0x37e562[_0xa5e1('0x48')]};return db[_0xa5e1('0x4f')]['count'](_0x3dbd46)[_0xa5e1('0x36')](function(_0x282db1){_0x4ae6f9[_0xa5e1('0x2e')]=_0x282db1;if(_0x268d55['query'][_0xa5e1('0x50')]){_0x37e562[_0xa5e1('0x51')]=[{'all':!![]}];}return db[_0xa5e1('0x4f')]['findAll'](_0x37e562);})[_0xa5e1('0x36')](function(_0x4811ab){_0x4ae6f9[_0xa5e1('0x52')]=_0x4811ab;return _0x4ae6f9;})['then'](respondWithFilteredResult(_0x5a8440,_0x37e562))[_0xa5e1('0x2b')](handleError(_0x5a8440,null));};exports[_0xa5e1('0x53')]=function(_0x3e0100,_0x44720a){var _0x141b72={'raw':!![],'where':{'id':_0x3e0100[_0xa5e1('0x54')]['id']}},_0x1b8598={};_0x1b8598['model']=_[_0xa5e1('0x55')](db[_0xa5e1('0x4f')][_0xa5e1('0x56')]);_0x1b8598[_0xa5e1('0x3e')]=_[_0xa5e1('0x55')](_0x3e0100[_0xa5e1('0x3e')]);_0x1b8598[_0xa5e1('0x3f')]=_[_0xa5e1('0x40')](_0x1b8598[_0xa5e1('0x41')],_0x1b8598['query']);_0x141b72['attributes']=_[_0xa5e1('0x40')](_0x1b8598['model'],qs[_0xa5e1('0x43')](_0x3e0100[_0xa5e1('0x3e')]['fields']));_0x141b72[_0xa5e1('0x42')]=_0x141b72['attributes'][_0xa5e1('0x57')]?_0x141b72[_0xa5e1('0x42')]:_0x1b8598['model'];if(_0x3e0100[_0xa5e1('0x3e')][_0xa5e1('0x50')]){_0x141b72[_0xa5e1('0x51')]=[{'all':!![]}];}_0x141b72=_[_0xa5e1('0x4b')]({},_0x141b72,_0x3e0100[_0xa5e1('0x4e')]);return db[_0xa5e1('0x4f')]['find'](_0x141b72)[_0xa5e1('0x36')](handleEntityNotFound(_0x44720a,null))['then'](respondWithResult(_0x44720a,null))[_0xa5e1('0x2b')](handleError(_0x44720a,null));};exports['update']=function(_0x162009,_0x1ece1f){if(_0x162009[_0xa5e1('0x58')]['id']){delete _0x162009[_0xa5e1('0x58')]['id'];}return db['FaxMessage'][_0xa5e1('0x59')]({'where':{'id':_0x162009[_0xa5e1('0x54')]['id']}})[_0xa5e1('0x36')](handleEntityNotFound(_0x1ece1f,null))[_0xa5e1('0x36')](saveUpdates(_0x162009[_0xa5e1('0x58')],null))[_0xa5e1('0x36')](respondWithResult(_0x1ece1f,null))[_0xa5e1('0x2b')](handleError(_0x1ece1f,null));};exports[_0xa5e1('0x35')]=function(_0x53149d,_0x46cf2a){return db[_0xa5e1('0x4f')][_0xa5e1('0x59')]({'where':{'id':_0x53149d[_0xa5e1('0x54')]['id']}})[_0xa5e1('0x36')](handleEntityNotFound(_0x46cf2a,null))[_0xa5e1('0x36')](removeEntity(_0x46cf2a,null))['catch'](handleError(_0x46cf2a,null));};exports[_0xa5e1('0x5a')]=function(_0x2e7d14,_0x321fc3){return db[_0xa5e1('0x4f')]['describe']()[_0xa5e1('0x36')](respondWithResult(_0x321fc3,null))['catch'](handleError(_0x321fc3,null));};var interaction_log=require(_0xa5e1('0x15'))('fax-interactions');exports[_0xa5e1('0x5b')]=function(_0x364aa3,_0x494907,_0x59d3d4){var _0x24afa6={'channel':_0xa5e1('0x5c')};if(_0x364aa3[_0xa5e1('0x58')]['id']){delete _0x364aa3[_0xa5e1('0x58')]['id'];}_0x364aa3[_0xa5e1('0x58')]['read']=!![];_0x364aa3['body'][_0xa5e1('0x5d')]=moment()[_0xa5e1('0x5e')](_0xa5e1('0x5f'));_0x364aa3[_0xa5e1('0x58')][_0xa5e1('0x60')]=_0x364aa3[_0xa5e1('0x58')][_0xa5e1('0x60')]||_0x364aa3[_0xa5e1('0x61')]['id'];return db['FaxMessage'][_0xa5e1('0x59')]({'where':{'id':_0x364aa3[_0xa5e1('0x54')]['id'],'UserId':null},'include':[{'model':db[_0xa5e1('0x62')],'as':_0xa5e1('0x63')}]})['then'](handleEntityNotFound(_0x494907,null))[_0xa5e1('0x36')](saveUpdates(_0x364aa3[_0xa5e1('0x58')],null))['then'](function(_0xd3f968){if(_0xd3f968){_0x24afa6['message']=_0xd3f968[_0xa5e1('0x64')]({'plain':!![]});return db[_0xa5e1('0x65')][_0xa5e1('0x59')]({'where':{'id':_0xd3f968['FaxInteractionId']}});}return null;})[_0xa5e1('0x36')](handleEntityNotFound(_0x494907,null))[_0xa5e1('0x36')](function(_0x11ee24){if(_0x11ee24){return _0x11ee24[_0xa5e1('0x34')]({'UserId':_0x364aa3[_0xa5e1('0x58')][_0xa5e1('0x60')],'read1stAt':_['isNil'](_0x11ee24[_0xa5e1('0x66')])?moment()[_0xa5e1('0x5e')](_0xa5e1('0x5f')):undefined});}return null;})['then'](function(_0x2117af){if(_0x2117af){_0x24afa6[_0xa5e1('0x67')]=_0x2117af[_0xa5e1('0x64')]({'plain':!![]});interaction_log[_0xa5e1('0x22')](_0xa5e1('0x68'),_0x364aa3[_0xa5e1('0x61')]['id'],_0x364aa3[_0xa5e1('0x61')]['name'],_0x364aa3[_0xa5e1('0x61')][_0xa5e1('0x69')],_0x24afa6[_0xa5e1('0x67')]['id'],_0x364aa3['body']?JSON[_0xa5e1('0x6a')](_0x364aa3[_0xa5e1('0x58')]):_0xa5e1('0x6b'));return respondWithRpcPromise('AcceptMessage',_0xa5e1('0x6c'),_0x24afa6);}return null;})[_0xa5e1('0x36')](function(_0x18eac1){if(_0x18eac1){if(_0x364aa3[_0xa5e1('0x58')][_0xa5e1('0x6d')]){_0x24afa6['message'][_0xa5e1('0x6e')]=util[_0xa5e1('0x5e')](_0xa5e1('0x6f'),_0x364aa3[_0xa5e1('0x61')]['name']);_0x24afa6[_0xa5e1('0x29')][_0xa5e1('0x70')]=_0x24afa6['channel'];_0x24afa6[_0xa5e1('0x29')][_0xa5e1('0x71')]=_0xa5e1('0x5b');return respondWithRpcPromise(_0xa5e1('0x72'),_0xa5e1('0x72'),{'event':'acceptmessage','message':_0x24afa6[_0xa5e1('0x29')]},client9002)[_0xa5e1('0x36')](function(){return _0x24afa6;});}return _0x24afa6;}return null;})['then'](respondWithResult(_0x494907,null))[_0xa5e1('0x2b')](handleError(_0x494907,null));};var interaction_log=require(_0xa5e1('0x15'))(_0xa5e1('0x73'));exports[_0xa5e1('0x32')]=function(_0x29673a,_0x39d035,_0x2326d3){var _0x3b8974={'agent':{},'channel':_0xa5e1('0x5c')};if(_0x29673a[_0xa5e1('0x58')]['id']){delete _0x29673a[_0xa5e1('0x58')]['id'];}_0x29673a[_0xa5e1('0x58')][_0xa5e1('0x60')]=_0x29673a[_0xa5e1('0x58')][_0xa5e1('0x60')]||_0x29673a[_0xa5e1('0x61')]['id'];_0x3b8974[_0xa5e1('0x74')]['id']=_0x29673a[_0xa5e1('0x58')][_0xa5e1('0x60')];return db[_0xa5e1('0x4f')][_0xa5e1('0x59')]({'where':{'id':_0x29673a[_0xa5e1('0x54')]['id'],'UserId':null}})[_0xa5e1('0x36')](handleEntityNotFound(_0x39d035,null))[_0xa5e1('0x36')](function(_0x4f2419){if(_0x4f2419){_0x3b8974[_0xa5e1('0x29')]=_0x4f2419[_0xa5e1('0x64')]({'plain':!![]});return db['FaxInteraction'][_0xa5e1('0x59')]({'where':{'id':_0x4f2419[_0xa5e1('0x75')]}});}return null;})[_0xa5e1('0x36')](handleEntityNotFound(_0x39d035,null))['then'](function(_0x52d2df){if(_0x52d2df){_0x3b8974['interaction']=_0x52d2df[_0xa5e1('0x64')]({'plain':!![]});interaction_log[_0xa5e1('0x22')](_0xa5e1('0x76'),_0x29673a['user']['id'],_0x29673a[_0xa5e1('0x61')][_0xa5e1('0x3a')],_0x29673a[_0xa5e1('0x61')][_0xa5e1('0x69')],_0x3b8974[_0xa5e1('0x67')]['id'],_0x29673a['body']?JSON[_0xa5e1('0x6a')](_0x29673a[_0xa5e1('0x58')]):'null');return respondWithRpcPromise('RejectMessage','rejectMessage',_0x3b8974);}return null;})[_0xa5e1('0x36')](function(_0x4fc380){if(_0x4fc380){_0x4fc380['message'][_0xa5e1('0x6e')]=util[_0xa5e1('0x5e')](_0xa5e1('0x6f'),_0x29673a[_0xa5e1('0x61')][_0xa5e1('0x3a')]);_0x4fc380[_0xa5e1('0x29')][_0xa5e1('0x70')]=_0x3b8974['channel'];_0x4fc380[_0xa5e1('0x29')][_0xa5e1('0x71')]='reject';respondWithRpcPromise('EventManager','EventManager',{'event':'rejectmessage','message':_0x4fc380['message']},client9002);return _0x3b8974;}return null;})[_0xa5e1('0x36')](respondWithResult(_0x39d035,null))[_0xa5e1('0x2b')](handleError(_0x39d035,null));};exports[_0xa5e1('0x77')]=function(_0x1f1dde,_0x54041c){var _0x319ac4;return db['FaxMessage']['create'](_0x1f1dde[_0xa5e1('0x58')],{})[_0xa5e1('0x36')](function(_0x2d8d44){_0x319ac4=_0x2d8d44;return db[_0xa5e1('0x62')]['findOne']({'where':{'id':_0x319ac4[_0xa5e1('0x78')]}});})[_0xa5e1('0x36')](function(_0x5daffc){if(_[_0xa5e1('0x79')](_0x5daffc)){return;}else{_0x319ac4[_0xa5e1('0x5c')]=_0x5daffc['fax'];return db[_0xa5e1('0x7a')]['findOne']({'where':{'id':_0x319ac4[_0xa5e1('0x7b')]}});}})[_0xa5e1('0x36')](function(_0x1815c0){return respondWithRpcPromise(_0xa5e1('0x7c'),_0xa5e1('0x7c'),{'FaxAccountId':_[_0xa5e1('0x79')](_0x1f1dde[_0xa5e1('0x58')])?undefined:_0x1f1dde[_0xa5e1('0x58')][_0xa5e1('0x7d')],'path':_[_0xa5e1('0x79')](_0x1815c0)?undefined:util[_0xa5e1('0x5e')]('/var/opt/motion2/server/files/attachments/%s',_0x1815c0['basename']),'fax':_[_0xa5e1('0x79')](_0x319ac4[_0xa5e1('0x5c')])?undefined:_0x319ac4['fax'],'AttachmentId':_0x319ac4['AttachmentId']},client9002);})[_0xa5e1('0x36')](respondWithResult(_0x54041c,0xc9))[_0xa5e1('0x2b')](handleError(_0x54041c,null));};exports['download']=function(_0x4a2665,_0x5b955a){var _0x4c160e=path[_0xa5e1('0x7e')](config['root'],_0xa5e1('0x7f'),_0xa5e1('0x80'),_0xa5e1('0x81'));return db[_0xa5e1('0x4f')][_0xa5e1('0x59')]({'where':{'id':_0x4a2665[_0xa5e1('0x54')]['id']},'include':[{'model':db[_0xa5e1('0x7a')],'as':_0xa5e1('0x7a')}]})[_0xa5e1('0x36')](handleEntityNotFound(_0x5b955a,null))['then'](function(_0x39f623){if(_0x39f623){return _0x5b955a['download'](path[_0xa5e1('0x7e')](_0x4c160e,_0x39f623[_0xa5e1('0x7a')][_0xa5e1('0x82')]));}})[_0xa5e1('0x2b')](handleError(_0x5b955a,null));}; \ No newline at end of file +var _0x61e8=['pick','filter','where','merge','VIRTUAL','count','findAll','show','keys','include','find','update','body','params','describe','fax-interactions','fax','read','readAt','format','UserId','Contact','get','FaxInteraction','isNil','read1stAt','YYYY-MM-DD\x20HH:mm:ss','[FAXMESSAGE:ACCEPT]\x20id=%s\x20name=%s\x20role=%s\x20interaction=%s\x20body=%s','user','role','interaction','null','acceptMessage','manual','interface','channel','event','accept','EventManager','acceptmessage','agent','FaxInteractionId','[FAXMESSAGE:REJECT]\x20id=%s\x20name=%s\x20role=%s\x20interaction=%s\x20body=%s','RejectMessage','rejectMessage','SIP/%s','rejectmessage','CmContact','findOne','ContactId','Attachment','SendFax','/var/opt/motion2/server/files/attachments/%s','basename','download','join','server','files','attachments','html-pdf','rimraf','zip-dir','fast-json-patch','request-promise','bluebird','mustache','to-csv','ejs','lodash','crypto','jsforce','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','redis','defaults','localhost','socket.io-emitter','./faxMessage.socket','register','jayson/promise','client','http','test','ValidationError','The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.','request','then','info','request\x20sent','debug','FaxMessage,\x20%s,\x20%s,\x20%s','stringify','error','FaxMessage,\x20%s,\x20%s','message','catch','sendStatus','status','end','offset','json','apply','reject','destroy','stack','name','send','index','map','FaxMessage','rawAttributes','type','key','model','query','filters','intersection','attributes','fields','length','hasOwnProperty','nolimit','limit','sort'];(function(_0x7e9b0,_0x20b9b4){var _0x594fa0=function(_0x36d562){while(--_0x36d562){_0x7e9b0['push'](_0x7e9b0['shift']());}};_0x594fa0(++_0x20b9b4);}(_0x61e8,0xc1));var _0x861e=function(_0x145fe9,_0x4f50c8){_0x145fe9=_0x145fe9-0x0;var _0x5375d4=_0x61e8[_0x145fe9];return _0x5375d4;};'use strict';var pdf=require(_0x861e('0x0'));var emlformat=require('eml-format');var rimraf=require(_0x861e('0x1'));var zipdir=require(_0x861e('0x2'));var jsonpatch=require(_0x861e('0x3'));var rp=require(_0x861e('0x4'));var moment=require('moment');var BPromise=require(_0x861e('0x5'));var Mustache=require(_0x861e('0x6'));var util=require('util');var path=require('path');var sox=require('sox');var csv=require(_0x861e('0x7'));var ejs=require(_0x861e('0x8'));var fs=require('fs');var _=require(_0x861e('0x9'));var squel=require('squel');var crypto=require(_0x861e('0xa'));var jsforce=require(_0x861e('0xb'));var deskjs=require(_0x861e('0xc'));var toCsv=require(_0x861e('0x7'));var querystring=require(_0x861e('0xd'));var Papa=require(_0x861e('0xe'));var Redis=require(_0x861e('0xf'));var authService=require(_0x861e('0x10'));var qs=require(_0x861e('0x11'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0x861e('0x12'));var logger=require(_0x861e('0x13'))(_0x861e('0x14'));var utils=require(_0x861e('0x15'));var config=require(_0x861e('0x16'));var db=require(_0x861e('0x17'))['db'];config[_0x861e('0x18')]=_[_0x861e('0x19')](config[_0x861e('0x18')],{'host':_0x861e('0x1a'),'port':0x18eb});var socket=require(_0x861e('0x1b'))(new Redis(config[_0x861e('0x18')]));require(_0x861e('0x1c'))[_0x861e('0x1d')](socket);var jayson=require(_0x861e('0x1e'));var client=jayson[_0x861e('0x1f')][_0x861e('0x20')]({'port':0x232c});var client9002=jayson[_0x861e('0x1f')][_0x861e('0x20')]({'port':0x232a});function checkPasswordPattern(_0x32518c,_0x31f175,_0x199c86){if(_0x199c86){var _0x429706=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0x429706[_0x861e('0x21')](_0x31f175)){return _0x32518c;}else{throw new db['Sequelize'][(_0x861e('0x22'))](_0x861e('0x23'));}}else{return _0x32518c;}}function respondWithRpcPromise(_0xdbca61,_0x12d175,_0x4f3ef8,_0x2d3eb3){return new BPromise(function(_0x32244d,_0x3a3c24){var _0x2b0877=_0x2d3eb3||client;return _0x2b0877[_0x861e('0x24')](_0xdbca61,_0x4f3ef8)[_0x861e('0x25')](function(_0x30e472){logger[_0x861e('0x26')]('FaxMessage,\x20%s,\x20%s',_0x12d175,_0x861e('0x27'));logger[_0x861e('0x28')](_0x861e('0x29'),_0x12d175,_0x861e('0x27'),JSON[_0x861e('0x2a')](_0x30e472));if(_0x30e472[_0x861e('0x2b')]){if(_0x30e472[_0x861e('0x2b')]['code']===0x1f4){logger[_0x861e('0x2b')](_0x861e('0x2c'),_0x12d175,_0x30e472[_0x861e('0x2b')]['message']);return _0x3a3c24(_0x30e472[_0x861e('0x2b')][_0x861e('0x2d')]);}logger[_0x861e('0x2b')](_0x861e('0x2c'),_0x12d175,_0x30e472['error'][_0x861e('0x2d')]);return _0x32244d(_0x30e472[_0x861e('0x2b')][_0x861e('0x2d')]);}else{logger[_0x861e('0x26')](_0x861e('0x2c'),_0x12d175,_0x861e('0x27'));_0x32244d(_0x30e472['result']['message']);}})[_0x861e('0x2e')](function(_0x20879a){logger[_0x861e('0x2b')]('FaxMessage,\x20%s,\x20%s',_0x12d175,_0x20879a);_0x3a3c24(_0x20879a);});});}function respondWithStatusCode(_0x16f6b9,_0x5ceda9){_0x5ceda9=_0x5ceda9||0xcc;return function(_0x3be7ea){if(_0x3be7ea){return _0x16f6b9[_0x861e('0x2f')](_0x5ceda9);}return _0x16f6b9[_0x861e('0x30')](_0x5ceda9)[_0x861e('0x31')]();};}function respondWithResult(_0x5db7cc,_0x45430f){_0x45430f=_0x45430f||0xc8;return function(_0x12e641){if(_0x12e641){return _0x5db7cc[_0x861e('0x30')](_0x45430f)['json'](_0x12e641);}};}function respondWithFilteredResult(_0x33e621,_0xcc7451){return function(_0x32bb54){if(_0x32bb54){var _0x1712a7=_0x32bb54['count'],_0x723c4c=_0xcc7451[_0x861e('0x32')],_0xb4579=_0xcc7451[_0x861e('0x32')]+_0xcc7451['limit'],_0x1467be;if(_0xb4579>=_0x1712a7){_0xb4579=_0x1712a7;_0x1467be=0xc8;}else{_0x1467be=0xce;}_0x33e621['status'](_0x1467be);return _0x33e621['set']('Content-Range',_0x723c4c+'-'+_0xb4579+'/'+_0x1712a7)[_0x861e('0x33')](_0x32bb54);}return null;};}function patchUpdates(_0x4667f2){return function(_0x18e29b){try{jsonpatch[_0x861e('0x34')](_0x18e29b,_0x4667f2,!![]);}catch(_0x462499){return BPromise[_0x861e('0x35')](_0x462499);}return _0x18e29b['save']();};}function saveUpdates(_0x132b75,_0x396e7a){return function(_0x314dbe){if(_0x314dbe){return _0x314dbe['update'](_0x132b75)['then'](function(_0xb2308){return _0xb2308;});}return null;};}function removeEntity(_0x4bcdb6,_0x2495af){return function(_0x1b91c2){if(_0x1b91c2){return _0x1b91c2[_0x861e('0x36')]()['then'](function(){_0x4bcdb6[_0x861e('0x30')](0xcc)[_0x861e('0x31')]();});}};}function handleEntityNotFound(_0x52565d,_0x4cd41e){return function(_0x1644c7){if(!_0x1644c7){_0x52565d[_0x861e('0x2f')](0x194);}return _0x1644c7;};}function handleError(_0x8af5b6,_0x19c753){_0x19c753=_0x19c753||0x1f4;return function(_0x4a61b3){logger[_0x861e('0x2b')](_0x4a61b3[_0x861e('0x37')]);if(_0x4a61b3['name']){delete _0x4a61b3[_0x861e('0x38')];}_0x8af5b6['status'](_0x19c753)[_0x861e('0x39')](_0x4a61b3);};}exports[_0x861e('0x3a')]=function(_0x169f42,_0xc6459e){var _0x2eb105={},_0x5197b6={},_0x3cfa6f={'count':0x0,'rows':[]};var _0x296720=_[_0x861e('0x3b')](db[_0x861e('0x3c')][_0x861e('0x3d')],function(_0x313af6){return{'name':_0x313af6['fieldName'],'type':_0x313af6[_0x861e('0x3e')][_0x861e('0x3f')]};});_0x5197b6[_0x861e('0x40')]=_[_0x861e('0x3b')](_0x296720,_0x861e('0x38'));_0x5197b6[_0x861e('0x41')]=_['keys'](_0x169f42[_0x861e('0x41')]);_0x5197b6[_0x861e('0x42')]=_[_0x861e('0x43')](_0x5197b6['model'],_0x5197b6[_0x861e('0x41')]);_0x2eb105[_0x861e('0x44')]=_[_0x861e('0x43')](_0x5197b6[_0x861e('0x40')],qs[_0x861e('0x45')](_0x169f42[_0x861e('0x41')][_0x861e('0x45')]));_0x2eb105['attributes']=_0x2eb105['attributes'][_0x861e('0x46')]?_0x2eb105['attributes']:_0x5197b6['model'];if(!_0x169f42[_0x861e('0x41')][_0x861e('0x47')](_0x861e('0x48'))){_0x2eb105[_0x861e('0x49')]=qs[_0x861e('0x49')](_0x169f42[_0x861e('0x41')]['limit']);_0x2eb105[_0x861e('0x32')]=qs[_0x861e('0x32')](_0x169f42[_0x861e('0x41')][_0x861e('0x32')]);}_0x2eb105['order']=qs[_0x861e('0x4a')](_0x169f42[_0x861e('0x41')][_0x861e('0x4a')]);_0x2eb105['where']=qs[_0x861e('0x42')](_[_0x861e('0x4b')](_0x169f42['query'],_0x5197b6[_0x861e('0x42')]),_0x296720);if(_0x169f42['query'][_0x861e('0x4c')]){_0x2eb105[_0x861e('0x4d')]=_[_0x861e('0x4e')](_0x2eb105[_0x861e('0x4d')],{'$or':_['map'](_0x296720,function(_0x160bd2){if(_0x160bd2['type']!==_0x861e('0x4f')){var _0x2a0335={};_0x2a0335[_0x160bd2[_0x861e('0x38')]]={'$like':'%'+_0x169f42[_0x861e('0x41')][_0x861e('0x4c')]+'%'};return _0x2a0335;}})});}_0x2eb105=_[_0x861e('0x4e')]({},_0x2eb105,_0x169f42['options']);var _0x591df3={'where':_0x2eb105[_0x861e('0x4d')]};return db[_0x861e('0x3c')][_0x861e('0x50')](_0x591df3)[_0x861e('0x25')](function(_0x4297f7){_0x3cfa6f[_0x861e('0x50')]=_0x4297f7;if(_0x169f42[_0x861e('0x41')]['includeAll']){_0x2eb105['include']=[{'all':!![]}];}return db[_0x861e('0x3c')][_0x861e('0x51')](_0x2eb105);})[_0x861e('0x25')](function(_0x295bf1){_0x3cfa6f['rows']=_0x295bf1;return _0x3cfa6f;})['then'](respondWithFilteredResult(_0xc6459e,_0x2eb105))[_0x861e('0x2e')](handleError(_0xc6459e,null));};exports[_0x861e('0x52')]=function(_0x7fbda3,_0x561672){var _0x5c337e={'raw':!![],'where':{'id':_0x7fbda3['params']['id']}},_0x2bb17c={};_0x2bb17c['model']=_[_0x861e('0x53')](db['FaxMessage']['rawAttributes']);_0x2bb17c[_0x861e('0x41')]=_[_0x861e('0x53')](_0x7fbda3[_0x861e('0x41')]);_0x2bb17c['filters']=_[_0x861e('0x43')](_0x2bb17c['model'],_0x2bb17c['query']);_0x5c337e[_0x861e('0x44')]=_[_0x861e('0x43')](_0x2bb17c['model'],qs[_0x861e('0x45')](_0x7fbda3[_0x861e('0x41')][_0x861e('0x45')]));_0x5c337e[_0x861e('0x44')]=_0x5c337e['attributes']['length']?_0x5c337e[_0x861e('0x44')]:_0x2bb17c['model'];if(_0x7fbda3['query']['includeAll']){_0x5c337e[_0x861e('0x54')]=[{'all':!![]}];}_0x5c337e=_[_0x861e('0x4e')]({},_0x5c337e,_0x7fbda3['options']);return db[_0x861e('0x3c')][_0x861e('0x55')](_0x5c337e)['then'](handleEntityNotFound(_0x561672,null))[_0x861e('0x25')](respondWithResult(_0x561672,null))['catch'](handleError(_0x561672,null));};exports[_0x861e('0x56')]=function(_0x4d9685,_0x55b337){if(_0x4d9685[_0x861e('0x57')]['id']){delete _0x4d9685[_0x861e('0x57')]['id'];}return db[_0x861e('0x3c')][_0x861e('0x55')]({'where':{'id':_0x4d9685[_0x861e('0x58')]['id']}})[_0x861e('0x25')](handleEntityNotFound(_0x55b337,null))[_0x861e('0x25')](saveUpdates(_0x4d9685[_0x861e('0x57')],null))[_0x861e('0x25')](respondWithResult(_0x55b337,null))[_0x861e('0x2e')](handleError(_0x55b337,null));};exports[_0x861e('0x36')]=function(_0x4e1766,_0x19e820){return db[_0x861e('0x3c')][_0x861e('0x55')]({'where':{'id':_0x4e1766[_0x861e('0x58')]['id']}})[_0x861e('0x25')](handleEntityNotFound(_0x19e820,null))[_0x861e('0x25')](removeEntity(_0x19e820,null))['catch'](handleError(_0x19e820,null));};exports['describe']=function(_0x25fd9b,_0x12c14b){return db[_0x861e('0x3c')][_0x861e('0x59')]()['then'](respondWithResult(_0x12c14b,null))[_0x861e('0x2e')](handleError(_0x12c14b,null));};var interaction_log=require('../../config/logger')(_0x861e('0x5a'));exports['accept']=function(_0x7d76db,_0x4a63f3,_0x4c4b34){var _0x121f79={'channel':_0x861e('0x5b')};if(_0x7d76db[_0x861e('0x57')]['id']){delete _0x7d76db[_0x861e('0x57')]['id'];}_0x7d76db[_0x861e('0x57')][_0x861e('0x5c')]=!![];_0x7d76db[_0x861e('0x57')][_0x861e('0x5d')]=moment()[_0x861e('0x5e')]('YYYY-MM-DD\x20HH:mm:ss');_0x7d76db['body']['UserId']=_0x7d76db[_0x861e('0x57')][_0x861e('0x5f')]||_0x7d76db['user']['id'];return db[_0x861e('0x3c')][_0x861e('0x55')]({'where':{'id':_0x7d76db[_0x861e('0x58')]['id'],'UserId':null},'include':[{'model':db['CmContact'],'as':_0x861e('0x60')}]})[_0x861e('0x25')](handleEntityNotFound(_0x4a63f3,null))['then'](saveUpdates(_0x7d76db[_0x861e('0x57')],null))[_0x861e('0x25')](function(_0x3acad3){if(_0x3acad3){_0x121f79['message']=_0x3acad3[_0x861e('0x61')]({'plain':!![]});return db[_0x861e('0x62')][_0x861e('0x55')]({'where':{'id':_0x3acad3['FaxInteractionId']}});}return null;})['then'](handleEntityNotFound(_0x4a63f3,null))[_0x861e('0x25')](function(_0x215a9c){if(_0x215a9c){return _0x215a9c[_0x861e('0x56')]({'UserId':_0x7d76db['body']['UserId'],'read1stAt':_[_0x861e('0x63')](_0x215a9c[_0x861e('0x64')])?moment()[_0x861e('0x5e')](_0x861e('0x65')):undefined});}return null;})[_0x861e('0x25')](function(_0x43e03a){if(_0x43e03a){_0x121f79['interaction']=_0x43e03a['get']({'plain':!![]});interaction_log[_0x861e('0x26')](_0x861e('0x66'),_0x7d76db['user']['id'],_0x7d76db[_0x861e('0x67')][_0x861e('0x38')],_0x7d76db['user'][_0x861e('0x68')],_0x121f79[_0x861e('0x69')]['id'],_0x7d76db[_0x861e('0x57')]?JSON[_0x861e('0x2a')](_0x7d76db[_0x861e('0x57')]):_0x861e('0x6a'));return respondWithRpcPromise('AcceptMessage',_0x861e('0x6b'),_0x121f79);}return null;})['then'](function(_0x2fa52e){if(_0x2fa52e){if(_0x7d76db[_0x861e('0x57')][_0x861e('0x6c')]){_0x121f79['message'][_0x861e('0x6d')]=util['format']('SIP/%s',_0x7d76db[_0x861e('0x67')][_0x861e('0x38')]);_0x121f79[_0x861e('0x2d')]['channel']=_0x121f79[_0x861e('0x6e')];_0x121f79[_0x861e('0x2d')][_0x861e('0x6f')]=_0x861e('0x70');return respondWithRpcPromise(_0x861e('0x71'),_0x861e('0x71'),{'event':_0x861e('0x72'),'message':_0x121f79[_0x861e('0x2d')]},client9002)['then'](function(){return _0x121f79;});}return _0x121f79;}return null;})['then'](respondWithResult(_0x4a63f3,null))[_0x861e('0x2e')](handleError(_0x4a63f3,null));};var interaction_log=require(_0x861e('0x13'))(_0x861e('0x5a'));exports[_0x861e('0x35')]=function(_0x4f2ec8,_0x3858e5,_0x1018e1){var _0xfbe525={'agent':{},'channel':_0x861e('0x5b')};if(_0x4f2ec8[_0x861e('0x57')]['id']){delete _0x4f2ec8['body']['id'];}_0x4f2ec8[_0x861e('0x57')][_0x861e('0x5f')]=_0x4f2ec8[_0x861e('0x57')][_0x861e('0x5f')]||_0x4f2ec8[_0x861e('0x67')]['id'];_0xfbe525[_0x861e('0x73')]['id']=_0x4f2ec8[_0x861e('0x57')]['UserId'];return db['FaxMessage'][_0x861e('0x55')]({'where':{'id':_0x4f2ec8[_0x861e('0x58')]['id'],'UserId':null}})['then'](handleEntityNotFound(_0x3858e5,null))[_0x861e('0x25')](function(_0x3fb813){if(_0x3fb813){_0xfbe525[_0x861e('0x2d')]=_0x3fb813[_0x861e('0x61')]({'plain':!![]});return db[_0x861e('0x62')][_0x861e('0x55')]({'where':{'id':_0x3fb813[_0x861e('0x74')]}});}return null;})['then'](handleEntityNotFound(_0x3858e5,null))['then'](function(_0xbcc2cf){if(_0xbcc2cf){_0xfbe525[_0x861e('0x69')]=_0xbcc2cf[_0x861e('0x61')]({'plain':!![]});interaction_log[_0x861e('0x26')](_0x861e('0x75'),_0x4f2ec8[_0x861e('0x67')]['id'],_0x4f2ec8[_0x861e('0x67')][_0x861e('0x38')],_0x4f2ec8[_0x861e('0x67')]['role'],_0xfbe525[_0x861e('0x69')]['id'],_0x4f2ec8[_0x861e('0x57')]?JSON['stringify'](_0x4f2ec8['body']):_0x861e('0x6a'));return respondWithRpcPromise(_0x861e('0x76'),_0x861e('0x77'),_0xfbe525);}return null;})[_0x861e('0x25')](function(_0x5271cb){if(_0x5271cb){_0x5271cb[_0x861e('0x2d')][_0x861e('0x6d')]=util[_0x861e('0x5e')](_0x861e('0x78'),_0x4f2ec8[_0x861e('0x67')][_0x861e('0x38')]);_0x5271cb['message'][_0x861e('0x6e')]=_0xfbe525[_0x861e('0x6e')];_0x5271cb['message'][_0x861e('0x6f')]=_0x861e('0x35');respondWithRpcPromise('EventManager',_0x861e('0x71'),{'event':_0x861e('0x79'),'message':_0x5271cb[_0x861e('0x2d')]},client9002);return _0xfbe525;}return null;})[_0x861e('0x25')](respondWithResult(_0x3858e5,null))[_0x861e('0x2e')](handleError(_0x3858e5,null));};exports['create']=function(_0x2d6761,_0x2eddef){var _0x12843c;return db[_0x861e('0x3c')]['create'](_0x2d6761[_0x861e('0x57')],{})[_0x861e('0x25')](function(_0x1008d6){_0x12843c=_0x1008d6;return db[_0x861e('0x7a')][_0x861e('0x7b')]({'where':{'id':_0x12843c[_0x861e('0x7c')]}});})['then'](function(_0x8cc153){if(_[_0x861e('0x63')](_0x8cc153)){return;}else{_0x12843c['fax']=_0x8cc153[_0x861e('0x5b')];return db[_0x861e('0x7d')][_0x861e('0x7b')]({'where':{'id':_0x12843c['AttachmentId']}});}})[_0x861e('0x25')](function(_0x218345){return respondWithRpcPromise(_0x861e('0x7e'),_0x861e('0x7e'),{'FaxAccountId':_[_0x861e('0x63')](_0x2d6761[_0x861e('0x57')])?undefined:_0x2d6761[_0x861e('0x57')]['FaxAccountId'],'path':_[_0x861e('0x63')](_0x218345)?undefined:util[_0x861e('0x5e')](_0x861e('0x7f'),_0x218345[_0x861e('0x80')]),'fax':_[_0x861e('0x63')](_0x12843c[_0x861e('0x5b')])?undefined:_0x12843c[_0x861e('0x5b')],'AttachmentId':_0x12843c['AttachmentId']},client9002);})[_0x861e('0x25')](respondWithResult(_0x2eddef,0xc9))[_0x861e('0x2e')](handleError(_0x2eddef,null));};exports[_0x861e('0x81')]=function(_0x18a4b8,_0xfbd720){var _0x3c8071=path[_0x861e('0x82')](config['root'],_0x861e('0x83'),_0x861e('0x84'),_0x861e('0x85'));return db[_0x861e('0x3c')][_0x861e('0x55')]({'where':{'id':_0x18a4b8['params']['id']},'include':[{'model':db[_0x861e('0x7d')],'as':_0x861e('0x7d')}]})['then'](handleEntityNotFound(_0xfbd720,null))[_0x861e('0x25')](function(_0x7186cb){if(_0x7186cb){return _0xfbd720[_0x861e('0x81')](path['join'](_0x3c8071,_0x7186cb[_0x861e('0x7d')][_0x861e('0x80')]));}})['catch'](handleError(_0xfbd720,null));}; \ No newline at end of file diff --git a/server/api/faxMessage/faxMessage.events.js b/server/api/faxMessage/faxMessage.events.js index 6d3f2fb..3959da1 100644 --- a/server/api/faxMessage/faxMessage.events.js +++ b/server/api/faxMessage/faxMessage.events.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x9957=['setMaxListeners','update','remove','emit','hasOwnProperty','hook','exports','events','../../mysqldb','FaxMessage'];(function(_0xdc9b83,_0x446c70){var _0x52cd13=function(_0xe46c9d){while(--_0xe46c9d){_0xdc9b83['push'](_0xdc9b83['shift']());}};_0x52cd13(++_0x446c70);}(_0x9957,0x93));var _0x7995=function(_0x3b380d,_0x4bf247){_0x3b380d=_0x3b380d-0x0;var _0x54502b=_0x9957[_0x3b380d];return _0x54502b;};'use strict';var EventEmitter=require(_0x7995('0x0'));var FaxMessage=require(_0x7995('0x1'))['db'][_0x7995('0x2')];var FaxMessageEvents=new EventEmitter();FaxMessageEvents[_0x7995('0x3')](0x0);var events={'afterCreate':'save','afterUpdate':_0x7995('0x4'),'afterDestroy':_0x7995('0x5')};function emitEvent(_0x1902b4){return function(_0x462a03,_0x576d89,_0x744bea){FaxMessageEvents[_0x7995('0x6')](_0x1902b4+':'+_0x462a03['id'],_0x462a03);FaxMessageEvents[_0x7995('0x6')](_0x1902b4,_0x462a03);_0x744bea(null);};}for(var e in events){if(events[_0x7995('0x7')](e)){var event=events[e];FaxMessage[_0x7995('0x8')](e,emitEvent(event));}}module[_0x7995('0x9')]=FaxMessageEvents; \ No newline at end of file +var _0x3e74=['hasOwnProperty','exports','events','FaxMessage','setMaxListeners','save','emit'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x3e74,0x175));var _0x43e7=function(_0x58ea95,_0x42e677){_0x58ea95=_0x58ea95-0x0;var _0x2d1a39=_0x3e74[_0x58ea95];return _0x2d1a39;};'use strict';var EventEmitter=require(_0x43e7('0x0'));var FaxMessage=require('../../mysqldb')['db'][_0x43e7('0x1')];var FaxMessageEvents=new EventEmitter();FaxMessageEvents[_0x43e7('0x2')](0x0);var events={'afterCreate':_0x43e7('0x3'),'afterUpdate':'update','afterDestroy':'remove'};function emitEvent(_0xc58479){return function(_0x4f9bbe,_0x128b0f,_0xe838b4){FaxMessageEvents[_0x43e7('0x4')](_0xc58479+':'+_0x4f9bbe['id'],_0x4f9bbe);FaxMessageEvents[_0x43e7('0x4')](_0xc58479,_0x4f9bbe);_0xe838b4(null);};}for(var e in events){if(events[_0x43e7('0x5')](e)){var event=events[e];FaxMessage['hook'](e,emitEvent(event));}}module[_0x43e7('0x6')]=FaxMessageEvents; \ No newline at end of file diff --git a/server/api/faxMessage/faxMessage.model.js b/server/api/faxMessage/faxMessage.model.js index 170c6aa..530e032 100644 --- a/server/api/faxMessage/faxMessage.model.js +++ b/server/api/faxMessage/faxMessage.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x203b=['catch','utf8mb4_unicode_ci','lodash','util','../../config/logger','api','moment','request-promise','path','rimraf','../../config/environment','./faxMessage.attributes','exports','define','body','FULLTEXT','models','get','toLowerCase','direction','out','secret','isNil','FaxInteraction','findOne','FaxInteractionId','then','update'];(function(_0x2a425e,_0x4f9e90){var _0x2d5728=function(_0x2315ec){while(--_0x2315ec){_0x2a425e['push'](_0x2a425e['shift']());}};_0x2d5728(++_0x4f9e90);}(_0x203b,0xfe));var _0xb203=function(_0x142580,_0x21c417){_0x142580=_0x142580-0x0;var _0x4bb6cf=_0x203b[_0x142580];return _0x4bb6cf;};'use strict';var _=require(_0xb203('0x0'));var util=require(_0xb203('0x1'));var logger=require(_0xb203('0x2'))(_0xb203('0x3'));var moment=require(_0xb203('0x4'));var BPromise=require('bluebird');var rp=require(_0xb203('0x5'));var fs=require('fs');var path=require(_0xb203('0x6'));var rimraf=require(_0xb203('0x7'));var config=require(_0xb203('0x8'));var attributes=require(_0xb203('0x9'));module[_0xb203('0xa')]=function(_0xccf438,_0x5adfcc){return _0xccf438[_0xb203('0xb')]('FaxMessage',attributes,{'tableName':'fax_messages','paranoid':![],'indexes':[{'name':'fti_fax_messages','fields':[_0xb203('0xc')],'type':_0xb203('0xd')}],'timestamps':!![],'hooks':{'afterCreate':function(_0x39f377,_0x3de37f,_0x60bee3){var _0x57b5a0=_0xccf438[_0xb203('0xe')];var _0x5ce5cd=_0x39f377[_0xb203('0xf')]({'plain':!![]});if(_0x5ce5cd['direction'][_0xb203('0x10')]()==='in'||_0x5ce5cd[_0xb203('0x11')][_0xb203('0x10')]()===_0xb203('0x12')&&!_0x5ce5cd[_0xb203('0x13')]&&!_[_0xb203('0x14')](_0x5ce5cd['UserId'])){_0x57b5a0[_0xb203('0x15')][_0xb203('0x16')]({'where':{'id':_0x5ce5cd[_0xb203('0x17')]}})[_0xb203('0x18')](function(_0x34b9fa){if(_0x34b9fa){_0x34b9fa[_0xb203('0x19')]({'lastMsgAt':_0x5ce5cd['createdAt'],'lastMsgDirection':_0x5ce5cd[_0xb203('0x11')][_0xb203('0x10')]()});}})[_0xb203('0x1a')](function(_0x1464f1){console['error'](_0x1464f1);});}_0x60bee3();}},'charset':'utf8mb4','collate':_0xb203('0x1b')});}; \ No newline at end of file +var _0x04da=['isNil','UserId','FaxInteraction','findOne','then','update','createdAt','catch','error','utf8mb4','lodash','api','moment','request-promise','path','rimraf','./faxMessage.attributes','exports','define','FaxMessage','fti_fax_messages','body','FULLTEXT','models','get','toLowerCase','out','secret'];(function(_0x1c98b4,_0x4bb33e){var _0x2638ba=function(_0x578c8e){while(--_0x578c8e){_0x1c98b4['push'](_0x1c98b4['shift']());}};_0x2638ba(++_0x4bb33e);}(_0x04da,0x7a));var _0xa04d=function(_0x3048ea,_0x3838c2){_0x3048ea=_0x3048ea-0x0;var _0x1a13c4=_0x04da[_0x3048ea];return _0x1a13c4;};'use strict';var _=require(_0xa04d('0x0'));var util=require('util');var logger=require('../../config/logger')(_0xa04d('0x1'));var moment=require(_0xa04d('0x2'));var BPromise=require('bluebird');var rp=require(_0xa04d('0x3'));var fs=require('fs');var path=require(_0xa04d('0x4'));var rimraf=require(_0xa04d('0x5'));var config=require('../../config/environment');var attributes=require(_0xa04d('0x6'));module[_0xa04d('0x7')]=function(_0x589a91,_0x2027ef){return _0x589a91[_0xa04d('0x8')](_0xa04d('0x9'),attributes,{'tableName':'fax_messages','paranoid':![],'indexes':[{'name':_0xa04d('0xa'),'fields':[_0xa04d('0xb')],'type':_0xa04d('0xc')}],'timestamps':!![],'hooks':{'afterCreate':function(_0x11cc47,_0x5f386f,_0x45e6e9){var _0x325416=_0x589a91[_0xa04d('0xd')];var _0x2da57e=_0x11cc47[_0xa04d('0xe')]({'plain':!![]});if(_0x2da57e['direction'][_0xa04d('0xf')]()==='in'||_0x2da57e['direction']['toLowerCase']()===_0xa04d('0x10')&&!_0x2da57e[_0xa04d('0x11')]&&!_[_0xa04d('0x12')](_0x2da57e[_0xa04d('0x13')])){_0x325416[_0xa04d('0x14')][_0xa04d('0x15')]({'where':{'id':_0x2da57e['FaxInteractionId']}})[_0xa04d('0x16')](function(_0x3356c2){if(_0x3356c2){_0x3356c2[_0xa04d('0x17')]({'lastMsgAt':_0x2da57e[_0xa04d('0x18')],'lastMsgDirection':_0x2da57e['direction'][_0xa04d('0xf')]()});}})[_0xa04d('0x19')](function(_0x5190d6){console[_0xa04d('0x1a')](_0x5190d6);});}_0x45e6e9();}},'charset':_0xa04d('0x1b'),'collate':'utf8mb4_unicode_ci'});}; \ No newline at end of file diff --git a/server/api/faxMessage/faxMessage.rpc.js b/server/api/faxMessage/faxMessage.rpc.js index 65bb108..89ead88 100644 --- a/server/api/faxMessage/faxMessage.rpc.js +++ b/server/api/faxMessage/faxMessage.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x6c4b=['../../mysqldb','../../config/utils','../../config/logger','rpc','client','redis','defaults','localhost','socket.io-emitter','./faxMessage.socket','register','request','then','info','FaxMessage,\x20%s,\x20%s','request\x20sent','debug','FaxMessage,\x20%s,\x20%s,\x20%s','stringify','error','message','result','CreateFaxMessage','create','body','options','raw','catch','UpdateFaxMessage','FaxMessage','update','attributes','limit','lodash','util','moment','randomstring','ioredis'];(function(_0x1da99d,_0x89c1aa){var _0xb0db3b=function(_0x3efd1e){while(--_0x3efd1e){_0x1da99d['push'](_0x1da99d['shift']());}};_0xb0db3b(++_0x89c1aa);}(_0x6c4b,0x93));var _0xb6c4=function(_0x203481,_0x9e616){_0x203481=_0x203481-0x0;var _0x5f2363=_0x6c4b[_0x203481];return _0x5f2363;};'use strict';var _=require(_0xb6c4('0x0'));var util=require(_0xb6c4('0x1'));var moment=require(_0xb6c4('0x2'));var BPromise=require('bluebird');var rs=require(_0xb6c4('0x3'));var fs=require('fs');var Redis=require(_0xb6c4('0x4'));var db=require(_0xb6c4('0x5'))['db'];var utils=require(_0xb6c4('0x6'));var logger=require(_0xb6c4('0x7'))(_0xb6c4('0x8'));var config=require('../../config/environment');var jayson=require('jayson/promise');var client=jayson[_0xb6c4('0x9')]['http']({'port':0x232a});config[_0xb6c4('0xa')]=_[_0xb6c4('0xb')](config['redis'],{'host':_0xb6c4('0xc'),'port':0x18eb});var socket=require(_0xb6c4('0xd'))(new Redis(config[_0xb6c4('0xa')]));require(_0xb6c4('0xe'))[_0xb6c4('0xf')](socket);function respondWithRpcPromise(_0x46b134,_0x377543,_0x4dca82){return new BPromise(function(_0x22d6fa,_0x3d97da){return client[_0xb6c4('0x10')](_0x46b134,_0x4dca82)[_0xb6c4('0x11')](function(_0x5b28a1){logger[_0xb6c4('0x12')](_0xb6c4('0x13'),_0x377543,_0xb6c4('0x14'));logger[_0xb6c4('0x15')](_0xb6c4('0x16'),_0x377543,_0xb6c4('0x14'),JSON[_0xb6c4('0x17')](_0x5b28a1));if(_0x5b28a1[_0xb6c4('0x18')]){if(_0x5b28a1['error']['code']===0x1f4){logger[_0xb6c4('0x18')]('FaxMessage,\x20%s,\x20%s',_0x377543,_0x5b28a1[_0xb6c4('0x18')][_0xb6c4('0x19')]);return _0x3d97da(_0x5b28a1[_0xb6c4('0x18')]['message']);}logger[_0xb6c4('0x18')](_0xb6c4('0x13'),_0x377543,_0x5b28a1[_0xb6c4('0x18')]['message']);return _0x22d6fa(_0x5b28a1[_0xb6c4('0x18')][_0xb6c4('0x19')]);}else{logger[_0xb6c4('0x12')](_0xb6c4('0x13'),_0x377543,_0xb6c4('0x14'));_0x22d6fa(_0x5b28a1[_0xb6c4('0x1a')][_0xb6c4('0x19')]);}})['catch'](function(_0x4898c7){logger[_0xb6c4('0x18')](_0xb6c4('0x13'),_0x377543,_0x4898c7);_0x3d97da(_0x4898c7);});});}exports[_0xb6c4('0x1b')]=function(_0x2caec3){var _0x192950=this;return new Promise(function(_0x10f978,_0x5a61f7){return db['FaxMessage'][_0xb6c4('0x1c')](_0x2caec3[_0xb6c4('0x1d')],{'raw':_0x2caec3[_0xb6c4('0x1e')]?_0x2caec3[_0xb6c4('0x1e')][_0xb6c4('0x1f')]===undefined?!![]:![]:!![]})[_0xb6c4('0x11')](function(_0x30071b){logger[_0xb6c4('0x12')](_0xb6c4('0x1b'),_0x2caec3);logger[_0xb6c4('0x15')](_0xb6c4('0x1b'),_0x2caec3,JSON[_0xb6c4('0x17')](_0x30071b));_0x10f978(_0x30071b);})[_0xb6c4('0x20')](function(_0x5da94d){logger[_0xb6c4('0x18')](_0xb6c4('0x1b'),_0x5da94d[_0xb6c4('0x19')],_0x2caec3);_0x5a61f7(_0x192950['error'](0x1f4,_0x5da94d[_0xb6c4('0x19')]));});});};exports[_0xb6c4('0x21')]=function(_0x2db07a){var _0x463962=this;return new Promise(function(_0x30fa6f,_0x58607d){return db[_0xb6c4('0x22')][_0xb6c4('0x23')](_0x2db07a[_0xb6c4('0x1d')],{'raw':_0x2db07a[_0xb6c4('0x1e')]?_0x2db07a['options'][_0xb6c4('0x1f')]===undefined?!![]:![]:!![],'individualHooks':!![],'where':_0x2db07a['options']?_0x2db07a[_0xb6c4('0x1e')]['where']||null:null,'attributes':_0x2db07a[_0xb6c4('0x1e')]?_0x2db07a[_0xb6c4('0x1e')][_0xb6c4('0x24')]||null:null,'limit':_0x2db07a[_0xb6c4('0x1e')]?_0x2db07a[_0xb6c4('0x1e')][_0xb6c4('0x25')]||null:null})[_0xb6c4('0x11')](function(_0x12a676){logger[_0xb6c4('0x12')](_0xb6c4('0x21'),_0x2db07a);logger[_0xb6c4('0x15')](_0xb6c4('0x21'),_0x2db07a,JSON['stringify'](_0x12a676));_0x30fa6f(_0x12a676);})['catch'](function(_0x15d0fd){logger[_0xb6c4('0x18')](_0xb6c4('0x21'),_0x15d0fd['message'],_0x2db07a);_0x58607d(_0x463962['error'](0x1f4,_0x15d0fd[_0xb6c4('0x19')]));});});}; \ No newline at end of file +var _0x05ce=['catch','FaxMessage','create','options','raw','stringify','UpdateFaxMessage','update','body','where','attributes','limit','util','moment','../../config/logger','rpc','../../config/environment','jayson/promise','client','redis','socket.io-emitter','./faxMessage.socket','register','request','then','info','FaxMessage,\x20%s,\x20%s','request\x20sent','debug','error','code','message'];(function(_0x411da9,_0x118f79){var _0x2bd795=function(_0x3aca31){while(--_0x3aca31){_0x411da9['push'](_0x411da9['shift']());}};_0x2bd795(++_0x118f79);}(_0x05ce,0xcc));var _0xe05c=function(_0xf010d3,_0x341271){_0xf010d3=_0xf010d3-0x0;var _0x47e6c5=_0x05ce[_0xf010d3];return _0x47e6c5;};'use strict';var _=require('lodash');var util=require(_0xe05c('0x0'));var moment=require(_0xe05c('0x1'));var BPromise=require('bluebird');var rs=require('randomstring');var fs=require('fs');var Redis=require('ioredis');var db=require('../../mysqldb')['db'];var utils=require('../../config/utils');var logger=require(_0xe05c('0x2'))(_0xe05c('0x3'));var config=require(_0xe05c('0x4'));var jayson=require(_0xe05c('0x5'));var client=jayson[_0xe05c('0x6')]['http']({'port':0x232a});config[_0xe05c('0x7')]=_['defaults'](config[_0xe05c('0x7')],{'host':'localhost','port':0x18eb});var socket=require(_0xe05c('0x8'))(new Redis(config['redis']));require(_0xe05c('0x9'))[_0xe05c('0xa')](socket);function respondWithRpcPromise(_0x420e7d,_0x5294c1,_0x1e177e){return new BPromise(function(_0xb52bb7,_0x13cf29){return client[_0xe05c('0xb')](_0x420e7d,_0x1e177e)[_0xe05c('0xc')](function(_0x5cded0){logger[_0xe05c('0xd')](_0xe05c('0xe'),_0x5294c1,_0xe05c('0xf'));logger[_0xe05c('0x10')]('FaxMessage,\x20%s,\x20%s,\x20%s',_0x5294c1,'request\x20sent',JSON['stringify'](_0x5cded0));if(_0x5cded0[_0xe05c('0x11')]){if(_0x5cded0[_0xe05c('0x11')][_0xe05c('0x12')]===0x1f4){logger['error'](_0xe05c('0xe'),_0x5294c1,_0x5cded0[_0xe05c('0x11')][_0xe05c('0x13')]);return _0x13cf29(_0x5cded0[_0xe05c('0x11')]['message']);}logger[_0xe05c('0x11')](_0xe05c('0xe'),_0x5294c1,_0x5cded0[_0xe05c('0x11')][_0xe05c('0x13')]);return _0xb52bb7(_0x5cded0[_0xe05c('0x11')][_0xe05c('0x13')]);}else{logger['info'](_0xe05c('0xe'),_0x5294c1,'request\x20sent');_0xb52bb7(_0x5cded0['result'][_0xe05c('0x13')]);}})[_0xe05c('0x14')](function(_0x6f6db2){logger[_0xe05c('0x11')](_0xe05c('0xe'),_0x5294c1,_0x6f6db2);_0x13cf29(_0x6f6db2);});});}exports['CreateFaxMessage']=function(_0x36a54a){var _0x3ee48c=this;return new Promise(function(_0x319b92,_0x2752b2){return db[_0xe05c('0x15')][_0xe05c('0x16')](_0x36a54a['body'],{'raw':_0x36a54a[_0xe05c('0x17')]?_0x36a54a[_0xe05c('0x17')][_0xe05c('0x18')]===undefined?!![]:![]:!![]})['then'](function(_0x3ef2f7){logger[_0xe05c('0xd')]('CreateFaxMessage',_0x36a54a);logger[_0xe05c('0x10')]('CreateFaxMessage',_0x36a54a,JSON[_0xe05c('0x19')](_0x3ef2f7));_0x319b92(_0x3ef2f7);})[_0xe05c('0x14')](function(_0xe23e20){logger[_0xe05c('0x11')]('CreateFaxMessage',_0xe23e20['message'],_0x36a54a);_0x2752b2(_0x3ee48c['error'](0x1f4,_0xe23e20[_0xe05c('0x13')]));});});};exports[_0xe05c('0x1a')]=function(_0x501e66){var _0x108872=this;return new Promise(function(_0x24dd02,_0x295a1c){return db[_0xe05c('0x15')][_0xe05c('0x1b')](_0x501e66[_0xe05c('0x1c')],{'raw':_0x501e66[_0xe05c('0x17')]?_0x501e66['options'][_0xe05c('0x18')]===undefined?!![]:![]:!![],'individualHooks':!![],'where':_0x501e66[_0xe05c('0x17')]?_0x501e66[_0xe05c('0x17')][_0xe05c('0x1d')]||null:null,'attributes':_0x501e66[_0xe05c('0x17')]?_0x501e66[_0xe05c('0x17')][_0xe05c('0x1e')]||null:null,'limit':_0x501e66[_0xe05c('0x17')]?_0x501e66[_0xe05c('0x17')][_0xe05c('0x1f')]||null:null})[_0xe05c('0xc')](function(_0x4f6fa6){logger['info'](_0xe05c('0x1a'),_0x501e66);logger[_0xe05c('0x10')]('UpdateFaxMessage',_0x501e66,JSON[_0xe05c('0x19')](_0x4f6fa6));_0x24dd02(_0x4f6fa6);})['catch'](function(_0x2e469){logger[_0xe05c('0x11')](_0xe05c('0x1a'),_0x2e469['message'],_0x501e66);_0x295a1c(_0x108872[_0xe05c('0x11')](0x1f4,_0x2e469[_0xe05c('0x13')]));});});}; \ No newline at end of file diff --git a/server/api/faxMessage/faxMessage.socket.js b/server/api/faxMessage/faxMessage.socket.js index 90d52e9..7ee8b98 100644 --- a/server/api/faxMessage/faxMessage.socket.js +++ b/server/api/faxMessage/faxMessage.socket.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x9957=['register','length','faxMessage:','./faxMessage.events','save','remove','update','emit','removeListener'];(function(_0x6dd5c,_0x4bfc19){var _0x5a87fa=function(_0x3b068b){while(--_0x3b068b){_0x6dd5c['push'](_0x6dd5c['shift']());}};_0x5a87fa(++_0x4bfc19);}(_0x9957,0x93));var _0x7995=function(_0x3b380d,_0x4bf247){_0x3b380d=_0x3b380d-0x0;var _0x54502b=_0x9957[_0x3b380d];return _0x54502b;};'use strict';var FaxMessageEvents=require(_0x7995('0x0'));var events=[_0x7995('0x1'),_0x7995('0x2'),_0x7995('0x3')];function createListener(_0x5b96eb,_0x86c128){return function(_0x3c58eb){_0x86c128[_0x7995('0x4')](_0x5b96eb,_0x3c58eb);};}function removeListener(_0x462a03,_0x576d89){return function(){FaxMessageEvents[_0x7995('0x5')](_0x462a03,_0x576d89);};}exports[_0x7995('0x6')]=function(_0x137b6b){for(var _0x219534=0x0,_0xbda126=events[_0x7995('0x7')];_0x219534<_0xbda126;_0x219534++){var _0x4996ca=events[_0x219534];var _0x465276=createListener(_0x7995('0x8')+_0x4996ca,_0x137b6b);FaxMessageEvents['on'](_0x4996ca,_0x465276);}}; \ No newline at end of file +var _0x9957=['register','length','faxMessage:','./faxMessage.events','save','remove','update','emit','removeListener'];(function(_0x5037ab,_0x43209e){var _0x512adb=function(_0x261783){while(--_0x261783){_0x5037ab['push'](_0x5037ab['shift']());}};_0x512adb(++_0x43209e);}(_0x9957,0x93));var _0x7995=function(_0x4cf98e,_0xba4b79){_0x4cf98e=_0x4cf98e-0x0;var _0x1623ac=_0x9957[_0x4cf98e];return _0x1623ac;};'use strict';var FaxMessageEvents=require(_0x7995('0x0'));var events=[_0x7995('0x1'),_0x7995('0x2'),_0x7995('0x3')];function createListener(_0x5b96eb,_0x86c128){return function(_0x3c58eb){_0x86c128[_0x7995('0x4')](_0x5b96eb,_0x3c58eb);};}function removeListener(_0x462a03,_0x576d89){return function(){FaxMessageEvents[_0x7995('0x5')](_0x462a03,_0x576d89);};}exports[_0x7995('0x6')]=function(_0x137b6b){for(var _0x219534=0x0,_0xbda126=events[_0x7995('0x7')];_0x219534<_0xbda126;_0x219534++){var _0x4996ca=events[_0x219534];var _0x465276=createListener(_0x7995('0x8')+_0x4996ca,_0x137b6b);FaxMessageEvents['on'](_0x4996ca,_0x465276);}}; \ No newline at end of file diff --git a/server/api/faxMessage/index.js b/server/api/faxMessage/index.js index 70c1f8c..cc7263d 100644 --- a/server/api/faxMessage/index.js +++ b/server/api/faxMessage/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x7ece=['connect-timeout','Router','../../components/interaction/service','../../config/environment','./faxMessage.controller','get','isAuthenticated','index','/describe','show','/:id/download','download','fax','faxmessage:create','create','put','/:id','update','accept','/:id/reject','reject','delete','destroy','exports','multer','util','path'];(function(_0x3569cc,_0x3835dc){var _0x2e98c0=function(_0x4a384e){while(--_0x4a384e){_0x3569cc['push'](_0x3569cc['shift']());}};_0x2e98c0(++_0x3835dc);}(_0x7ece,0x1e3));var _0xe7ec=function(_0x4792c8,_0x5158a1){_0x4792c8=_0x4792c8-0x0;var _0x35edb1=_0x7ece[_0x4792c8];return _0x35edb1;};'use strict';var multer=require(_0xe7ec('0x0'));var util=require(_0xe7ec('0x1'));var path=require(_0xe7ec('0x2'));var timeout=require(_0xe7ec('0x3'));var express=require('express');var router=express[_0xe7ec('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0xe7ec('0x5'));var config=require(_0xe7ec('0x6'));var controller=require(_0xe7ec('0x7'));router[_0xe7ec('0x8')]('/',auth[_0xe7ec('0x9')](),controller[_0xe7ec('0xa')]);router['get'](_0xe7ec('0xb'),auth[_0xe7ec('0x9')](),controller['describe']);router[_0xe7ec('0x8')]('/:id',auth[_0xe7ec('0x9')](),controller[_0xe7ec('0xc')]);router[_0xe7ec('0x8')](_0xe7ec('0xd'),auth[_0xe7ec('0x9')](),controller[_0xe7ec('0xe')]);router['post']('/',auth['isAuthenticated'](),interaction['tracked'](_0xe7ec('0xf'),_0xe7ec('0x10')),controller[_0xe7ec('0x11')]);router[_0xe7ec('0x12')](_0xe7ec('0x13'),auth[_0xe7ec('0x9')](),controller[_0xe7ec('0x14')]);router[_0xe7ec('0x12')]('/:id/accept',auth[_0xe7ec('0x9')](),controller[_0xe7ec('0x15')]);router[_0xe7ec('0x12')](_0xe7ec('0x16'),auth[_0xe7ec('0x9')](),controller[_0xe7ec('0x17')]);router[_0xe7ec('0x18')]('/:id',auth[_0xe7ec('0x9')](),controller[_0xe7ec('0x19')]);module[_0xe7ec('0x1a')]=router; \ No newline at end of file +var _0x1601=['fax','create','/:id','update','put','/:id/accept','accept','/:id/reject','reject','delete','destroy','exports','util','connect-timeout','Router','../../config/environment','./faxMessage.controller','get','/describe','isAuthenticated','show','/:id/download','download','post','tracked'];(function(_0x5bf019,_0x375a83){var _0x42497e=function(_0x189e66){while(--_0x189e66){_0x5bf019['push'](_0x5bf019['shift']());}};_0x42497e(++_0x375a83);}(_0x1601,0x151));var _0x1160=function(_0x23e127,_0x471ff4){_0x23e127=_0x23e127-0x0;var _0xefabf1=_0x1601[_0x23e127];return _0xefabf1;};'use strict';var multer=require('multer');var util=require(_0x1160('0x0'));var path=require('path');var timeout=require(_0x1160('0x1'));var express=require('express');var router=express[_0x1160('0x2')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x1160('0x3'));var controller=require(_0x1160('0x4'));router[_0x1160('0x5')]('/',auth['isAuthenticated'](),controller['index']);router[_0x1160('0x5')](_0x1160('0x6'),auth[_0x1160('0x7')](),controller['describe']);router[_0x1160('0x5')]('/:id',auth[_0x1160('0x7')](),controller[_0x1160('0x8')]);router[_0x1160('0x5')](_0x1160('0x9'),auth['isAuthenticated'](),controller[_0x1160('0xa')]);router[_0x1160('0xb')]('/',auth[_0x1160('0x7')](),interaction[_0x1160('0xc')](_0x1160('0xd'),'faxmessage:create'),controller[_0x1160('0xe')]);router['put'](_0x1160('0xf'),auth[_0x1160('0x7')](),controller[_0x1160('0x10')]);router[_0x1160('0x11')](_0x1160('0x12'),auth['isAuthenticated'](),controller[_0x1160('0x13')]);router[_0x1160('0x11')](_0x1160('0x14'),auth[_0x1160('0x7')](),controller[_0x1160('0x15')]);router[_0x1160('0x16')](_0x1160('0xf'),auth[_0x1160('0x7')](),controller[_0x1160('0x17')]);module[_0x1160('0x18')]=router; \ No newline at end of file diff --git a/server/api/faxQueue/faxQueue.attributes.js b/server/api/faxQueue/faxQueue.attributes.js index a5e2c62..1d6a81f 100644 --- a/server/api/faxQueue/faxQueue.attributes.js +++ b/server/api/faxQueue/faxQueue.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x5de0=['name','INTEGER','ENUM','rrmemory','beepall','roundrobin','sequelize','exports','STRING'];(function(_0x5bd426,_0x4878e5){var _0x23a7eb=function(_0x594b42){while(--_0x594b42){_0x5bd426['push'](_0x5bd426['shift']());}};_0x23a7eb(++_0x4878e5);}(_0x5de0,0xd5));var _0x05de=function(_0x28527f,_0x4ed26e){_0x28527f=_0x28527f-0x0;var _0x278776=_0x5de0[_0x28527f];return _0x278776;};'use strict';var Sequelize=require(_0x05de('0x0'));module[_0x05de('0x1')]={'name':{'type':Sequelize[_0x05de('0x2')],'unique':_0x05de('0x3'),'allowNull':![],'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize[_0x05de('0x2')]},'timeout':{'type':Sequelize[_0x05de('0x4')],'allowNull':![],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize[_0x05de('0x5')](_0x05de('0x6'),_0x05de('0x7'),_0x05de('0x8')),'allowNull':![]},'lastAgent':{'type':Sequelize['INTEGER'],'defaultValue':0x0}}; \ No newline at end of file +var _0x6d1a=['STRING','name','INTEGER','ENUM','rrmemory','beepall','roundrobin'];(function(_0x1bc73d,_0x333cac){var _0xd76206=function(_0x22f200){while(--_0x22f200){_0x1bc73d['push'](_0x1bc73d['shift']());}};_0xd76206(++_0x333cac);}(_0x6d1a,0x1c0));var _0xa6d1=function(_0x5f0e42,_0x1b9b25){_0x5f0e42=_0x5f0e42-0x0;var _0x159971=_0x6d1a[_0x5f0e42];return _0x159971;};'use strict';var Sequelize=require('sequelize');module['exports']={'name':{'type':Sequelize[_0xa6d1('0x0')],'unique':_0xa6d1('0x1'),'allowNull':![],'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize[_0xa6d1('0x0')]},'timeout':{'type':Sequelize[_0xa6d1('0x2')],'allowNull':![],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize[_0xa6d1('0x3')](_0xa6d1('0x4'),_0xa6d1('0x5'),_0xa6d1('0x6')),'allowNull':![]},'lastAgent':{'type':Sequelize[_0xa6d1('0x2')],'defaultValue':0x0}}; \ No newline at end of file diff --git a/server/api/faxQueue/faxQueue.controller.js b/server/api/faxQueue/faxQueue.controller.js index 1188ef9..2a40bea 100644 --- a/server/api/faxQueue/faxQueue.controller.js +++ b/server/api/faxQueue/faxQueue.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x0b41=['../../config/utils','../../mysqldb','redis','socket.io-emitter','./faxQueue.socket','register','sendStatus','status','end','json','offset','limit','set','Content-Range','reject','update','destroy','then','get','FaxQueues','error','stack','name','send','map','FaxQueue','rawAttributes','fieldName','type','key','model','query','keys','filters','intersection','attributes','fields','length','hasOwnProperty','order','sort','pick','where','VIRTUAL','filter','merge','options','include','findAll','rows','catch','show','includeAll','create','body','user','Unable\x20to\x20retrieve\x20the\x20current\x20user','role','UserProfileSection','find','UserProfileResource','params','describe','getMembers','findOne','nolimit','FaxQueueId','UserFaxQueue','findAndCountAll','agent','faxPause','updatedAt','createdAt','count','%s/%s','getTeams','Team','addTeams','ids','User','Agents','online','flatMap','transaction','each','findOrCreate','userFaxQueue:save','removeTeams','select','join','FaxQueueId\x20=\x20?','clone','sequelize','toString','QueryTypes','every','union','value','removeAgents','forEach','emit','userFaxQueue:remove','addAgents','spread','isArray','getAgents','html-pdf','rimraf','zip-dir','request-promise','moment','bluebird','util','path','sox','to-csv','ejs','lodash','squel','crypto','jsforce','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware'];(function(_0x5ade89,_0x2a90b0){var _0x272f1f=function(_0x571f9a){while(--_0x571f9a){_0x5ade89['push'](_0x5ade89['shift']());}};_0x272f1f(++_0x2a90b0);}(_0x0b41,0x6a));var _0x10b4=function(_0x22ae65,_0x37f535){_0x22ae65=_0x22ae65-0x0;var _0x5c8544=_0x0b41[_0x22ae65];return _0x5c8544;};'use strict';var pdf=require(_0x10b4('0x0'));var emlformat=require('eml-format');var rimraf=require(_0x10b4('0x1'));var zipdir=require(_0x10b4('0x2'));var jsonpatch=require('fast-json-patch');var rp=require(_0x10b4('0x3'));var moment=require(_0x10b4('0x4'));var BPromise=require(_0x10b4('0x5'));var Mustache=require('mustache');var util=require(_0x10b4('0x6'));var path=require(_0x10b4('0x7'));var sox=require(_0x10b4('0x8'));var csv=require(_0x10b4('0x9'));var ejs=require(_0x10b4('0xa'));var fs=require('fs');var _=require(_0x10b4('0xb'));var squel=require(_0x10b4('0xc'));var crypto=require(_0x10b4('0xd'));var jsforce=require(_0x10b4('0xe'));var deskjs=require(_0x10b4('0xf'));var toCsv=require(_0x10b4('0x9'));var querystring=require(_0x10b4('0x10'));var Papa=require(_0x10b4('0x11'));var Redis=require(_0x10b4('0x12'));var authService=require(_0x10b4('0x13'));var qs=require(_0x10b4('0x14'));var as=require(_0x10b4('0x15'));var hardwareService=require(_0x10b4('0x16'));var logger=require('../../config/logger')('api');var utils=require(_0x10b4('0x17'));var config=require('../../config/environment');var db=require(_0x10b4('0x18'))['db'];config['redis']=_['defaults'](config[_0x10b4('0x19')],{'host':'localhost','port':0x18eb});var socket=require(_0x10b4('0x1a'))(new Redis(config[_0x10b4('0x19')]));require(_0x10b4('0x1b'))[_0x10b4('0x1c')](socket);function respondWithStatusCode(_0xb8a85b,_0xbf5214){_0xbf5214=_0xbf5214||0xcc;return function(_0xea3fcb){if(_0xea3fcb){return _0xb8a85b[_0x10b4('0x1d')](_0xbf5214);}return _0xb8a85b[_0x10b4('0x1e')](_0xbf5214)[_0x10b4('0x1f')]();};}function respondWithResult(_0x2dcdfe,_0x490f36){_0x490f36=_0x490f36||0xc8;return function(_0x327e34){if(_0x327e34){return _0x2dcdfe['status'](_0x490f36)[_0x10b4('0x20')](_0x327e34);}};}function respondWithFilteredResult(_0x42f1f4,_0x51b6cd){return function(_0xe5a3e5){if(_0xe5a3e5){var _0x13e166=_0xe5a3e5['count'],_0x3a05ed=_0x51b6cd[_0x10b4('0x21')],_0x5adea8=_0x51b6cd[_0x10b4('0x21')]+_0x51b6cd[_0x10b4('0x22')],_0x2ee2f8;if(_0x5adea8>=_0x13e166){_0x5adea8=_0x13e166;_0x2ee2f8=0xc8;}else{_0x2ee2f8=0xce;}_0x42f1f4[_0x10b4('0x1e')](_0x2ee2f8);return _0x42f1f4[_0x10b4('0x23')](_0x10b4('0x24'),_0x3a05ed+'-'+_0x5adea8+'/'+_0x13e166)['json'](_0xe5a3e5);}return null;};}function patchUpdates(_0xa81090){return function(_0x30666a){try{jsonpatch['apply'](_0x30666a,_0xa81090,!![]);}catch(_0xd3c9da){return BPromise[_0x10b4('0x25')](_0xd3c9da);}return _0x30666a['save']();};}function saveUpdates(_0x198d80,_0x10554e){return function(_0x3857d0){if(_0x3857d0){return _0x3857d0[_0x10b4('0x26')](_0x198d80)['then'](function(_0x4b9c3a){return _0x4b9c3a;});}return null;};}function removeEntity(_0x1488d2,_0x29d091){return function(_0x107c0e){if(_0x107c0e){return _0x107c0e[_0x10b4('0x27')]()[_0x10b4('0x28')](function(){var _0x4ba7d5=_0x107c0e[_0x10b4('0x29')]({'plain':!![]});var _0xb2084=_0x10b4('0x2a');return db['UserProfileResource'][_0x10b4('0x27')]({'where':{'type':_0xb2084,'resourceId':_0x4ba7d5['id']}})[_0x10b4('0x28')](function(){return _0x107c0e;});})[_0x10b4('0x28')](function(){_0x1488d2[_0x10b4('0x1e')](0xcc)[_0x10b4('0x1f')]();});}};}function handleEntityNotFound(_0xc4063e,_0xcc5f28){return function(_0x5b9dfd){if(!_0x5b9dfd){_0xc4063e[_0x10b4('0x1d')](0x194);}return _0x5b9dfd;};}function handleError(_0x2c1a83,_0x594323){_0x594323=_0x594323||0x1f4;return function(_0xef9d2b){logger[_0x10b4('0x2b')](_0xef9d2b[_0x10b4('0x2c')]);if(_0xef9d2b[_0x10b4('0x2d')]){delete _0xef9d2b[_0x10b4('0x2d')];}_0x2c1a83[_0x10b4('0x1e')](_0x594323)[_0x10b4('0x2e')](_0xef9d2b);};}exports['index']=function(_0x71062d,_0x35c33c){var _0x283ce3={},_0x1611eb={},_0x5a4023={'count':0x0,'rows':[]};var _0x2a3cbb=_[_0x10b4('0x2f')](db[_0x10b4('0x30')][_0x10b4('0x31')],function(_0x251fde){return{'name':_0x251fde[_0x10b4('0x32')],'type':_0x251fde[_0x10b4('0x33')][_0x10b4('0x34')]};});_0x1611eb[_0x10b4('0x35')]=_[_0x10b4('0x2f')](_0x2a3cbb,_0x10b4('0x2d'));_0x1611eb[_0x10b4('0x36')]=_[_0x10b4('0x37')](_0x71062d['query']);_0x1611eb[_0x10b4('0x38')]=_[_0x10b4('0x39')](_0x1611eb[_0x10b4('0x35')],_0x1611eb['query']);_0x283ce3[_0x10b4('0x3a')]=_[_0x10b4('0x39')](_0x1611eb[_0x10b4('0x35')],qs[_0x10b4('0x3b')](_0x71062d[_0x10b4('0x36')][_0x10b4('0x3b')]));_0x283ce3[_0x10b4('0x3a')]=_0x283ce3[_0x10b4('0x3a')][_0x10b4('0x3c')]?_0x283ce3['attributes']:_0x1611eb[_0x10b4('0x35')];if(!_0x71062d['query'][_0x10b4('0x3d')]('nolimit')){_0x283ce3['limit']=qs['limit'](_0x71062d[_0x10b4('0x36')][_0x10b4('0x22')]);_0x283ce3[_0x10b4('0x21')]=qs[_0x10b4('0x21')](_0x71062d[_0x10b4('0x36')][_0x10b4('0x21')]);}_0x283ce3[_0x10b4('0x3e')]=qs[_0x10b4('0x3f')](_0x71062d[_0x10b4('0x36')][_0x10b4('0x3f')]);_0x283ce3['where']=qs[_0x10b4('0x38')](_[_0x10b4('0x40')](_0x71062d[_0x10b4('0x36')],_0x1611eb[_0x10b4('0x38')]),_0x2a3cbb);if(_0x71062d[_0x10b4('0x36')]['filter']){_0x283ce3[_0x10b4('0x41')]=_['merge'](_0x283ce3[_0x10b4('0x41')],{'$or':_[_0x10b4('0x2f')](_0x2a3cbb,function(_0x5c867a){if(_0x5c867a[_0x10b4('0x33')]!==_0x10b4('0x42')){var _0x4e9650={};_0x4e9650[_0x5c867a['name']]={'$like':'%'+_0x71062d[_0x10b4('0x36')][_0x10b4('0x43')]+'%'};return _0x4e9650;}})});}_0x283ce3=_[_0x10b4('0x44')]({},_0x283ce3,_0x71062d[_0x10b4('0x45')]);var _0x3462de={'where':_0x283ce3[_0x10b4('0x41')]};return db['FaxQueue']['count'](_0x3462de)['then'](function(_0x25a46c){_0x5a4023['count']=_0x25a46c;if(_0x71062d[_0x10b4('0x36')]['includeAll']){_0x283ce3[_0x10b4('0x46')]=[{'all':!![]}];}return db['FaxQueue'][_0x10b4('0x47')](_0x283ce3);})[_0x10b4('0x28')](function(_0x401509){_0x5a4023[_0x10b4('0x48')]=_0x401509;return _0x5a4023;})[_0x10b4('0x28')](respondWithFilteredResult(_0x35c33c,_0x283ce3))[_0x10b4('0x49')](handleError(_0x35c33c,null));};exports[_0x10b4('0x4a')]=function(_0x553113,_0x59ef64){var _0x18947a={'raw':!![],'where':{'id':_0x553113['params']['id']}},_0x3dc533={};_0x3dc533[_0x10b4('0x35')]=_['keys'](db['FaxQueue'][_0x10b4('0x31')]);_0x3dc533[_0x10b4('0x36')]=_[_0x10b4('0x37')](_0x553113[_0x10b4('0x36')]);_0x3dc533[_0x10b4('0x38')]=_['intersection'](_0x3dc533[_0x10b4('0x35')],_0x3dc533[_0x10b4('0x36')]);_0x18947a[_0x10b4('0x3a')]=_['intersection'](_0x3dc533[_0x10b4('0x35')],qs[_0x10b4('0x3b')](_0x553113[_0x10b4('0x36')][_0x10b4('0x3b')]));_0x18947a[_0x10b4('0x3a')]=_0x18947a['attributes'][_0x10b4('0x3c')]?_0x18947a[_0x10b4('0x3a')]:_0x3dc533['model'];if(_0x553113[_0x10b4('0x36')][_0x10b4('0x4b')]){_0x18947a[_0x10b4('0x46')]=[{'all':!![]}];}_0x18947a=_[_0x10b4('0x44')]({},_0x18947a,_0x553113[_0x10b4('0x45')]);return db[_0x10b4('0x30')]['find'](_0x18947a)[_0x10b4('0x28')](handleEntityNotFound(_0x59ef64,null))[_0x10b4('0x28')](respondWithResult(_0x59ef64,null))['catch'](handleError(_0x59ef64,null));};exports[_0x10b4('0x4c')]=function(_0x378b11,_0x7277a8){return db[_0x10b4('0x30')][_0x10b4('0x4c')](_0x378b11[_0x10b4('0x4d')],{})['then'](function(_0x22bd63){var _0x44270b=_0x378b11[_0x10b4('0x4e')][_0x10b4('0x29')]({'plain':!![]});if(!_0x44270b)throw new Error(_0x10b4('0x4f'));if(_0x44270b[_0x10b4('0x50')]===_0x10b4('0x4e')){var _0x4fc650=_0x22bd63['get']({'plain':!![]});var _0x535686=_0x10b4('0x2a');return db[_0x10b4('0x51')][_0x10b4('0x52')]({'where':{'name':_0x535686,'userProfileId':_0x44270b['userProfileId']},'raw':!![]})['then'](function(_0x305c70){if(_0x305c70&&_0x305c70['autoAssociation']===0x0){return db[_0x10b4('0x53')][_0x10b4('0x4c')]({'name':_0x4fc650[_0x10b4('0x2d')],'resourceId':_0x4fc650['id'],'type':_0x305c70[_0x10b4('0x2d')],'sectionId':_0x305c70['id']},{})[_0x10b4('0x28')](function(){return _0x22bd63;});}else{return _0x22bd63;}})[_0x10b4('0x49')](function(_0x51863f){logger[_0x10b4('0x2b')]('Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s',_0x51863f);throw _0x51863f;});}return _0x22bd63;})[_0x10b4('0x28')](respondWithResult(_0x7277a8,0xc9))[_0x10b4('0x49')](handleError(_0x7277a8,null));};exports[_0x10b4('0x26')]=function(_0x30139e,_0x567606){if(_0x30139e[_0x10b4('0x4d')]['id']){delete _0x30139e['body']['id'];}return db['FaxQueue']['find']({'where':{'id':_0x30139e[_0x10b4('0x54')]['id']}})[_0x10b4('0x28')](handleEntityNotFound(_0x567606,null))[_0x10b4('0x28')](saveUpdates(_0x30139e[_0x10b4('0x4d')],null))['then'](respondWithResult(_0x567606,null))[_0x10b4('0x49')](handleError(_0x567606,null));};exports['destroy']=function(_0x4e8cfb,_0x99c7ac){return db['FaxQueue']['find']({'where':{'id':_0x4e8cfb[_0x10b4('0x54')]['id']}})['then'](handleEntityNotFound(_0x99c7ac,null))[_0x10b4('0x28')](removeEntity(_0x99c7ac,null))[_0x10b4('0x49')](handleError(_0x99c7ac,null));};exports[_0x10b4('0x55')]=function(_0xaec0a4,_0x404ede){return db[_0x10b4('0x30')][_0x10b4('0x55')]()[_0x10b4('0x28')](respondWithResult(_0x404ede,null))[_0x10b4('0x49')](handleError(_0x404ede,null));};exports[_0x10b4('0x56')]=function(_0x57dcf7,_0x36df83,_0x234714){var _0x3e7276={'raw':!![],'where':{}},_0x55f871={},_0x2599e0;return db[_0x10b4('0x30')][_0x10b4('0x57')]({'where':{'id':_0x57dcf7[_0x10b4('0x54')]['id']}})[_0x10b4('0x28')](handleEntityNotFound(_0x36df83,null))[_0x10b4('0x28')](function(_0x248f55){if(_0x248f55){_0x2599e0=_0x248f55[_0x10b4('0x29')]({'plain':!![]});_0x55f871['model']=_['keys'](db['UserFaxQueue'][_0x10b4('0x31')]);_0x55f871['query']=_[_0x10b4('0x37')](_0x57dcf7[_0x10b4('0x36')]);_0x55f871['filters']=_[_0x10b4('0x39')](_0x55f871[_0x10b4('0x35')],_0x55f871['query']);_0x3e7276[_0x10b4('0x3a')]=_[_0x10b4('0x39')](_0x55f871[_0x10b4('0x35')],qs[_0x10b4('0x3b')](_0x57dcf7[_0x10b4('0x36')]['fields']));_0x3e7276['attributes']=_0x3e7276[_0x10b4('0x3a')]['length']?_0x3e7276[_0x10b4('0x3a')]:_0x55f871[_0x10b4('0x35')];if(!_0x57dcf7[_0x10b4('0x36')][_0x10b4('0x3d')](_0x10b4('0x58'))){_0x3e7276[_0x10b4('0x22')]=qs[_0x10b4('0x22')](_0x57dcf7['query']['limit']);_0x3e7276['offset']=qs[_0x10b4('0x21')](_0x57dcf7['query'][_0x10b4('0x21')]);}_0x3e7276['order']=qs['sort'](_0x57dcf7[_0x10b4('0x36')][_0x10b4('0x3f')]);_0x3e7276['where']=qs[_0x10b4('0x38')](_[_0x10b4('0x40')](_0x57dcf7['query'],_0x55f871[_0x10b4('0x38')]));_0x3e7276[_0x10b4('0x41')][_0x10b4('0x59')]=_0x248f55['id'];if(_0x57dcf7[_0x10b4('0x36')][_0x10b4('0x43')]){_0x3e7276[_0x10b4('0x41')]=_[_0x10b4('0x44')](_0x3e7276['where'],{'$or':_[_0x10b4('0x2f')](_0x3e7276['attributes'],function(_0x34ae39){var _0x314e46={};_0x314e46[_0x34ae39]={'$like':'%'+_0x57dcf7[_0x10b4('0x36')]['filter']+'%'};return _0x314e46;})});}_0x3e7276=_['merge']({},_0x3e7276,_0x57dcf7[_0x10b4('0x45')]);return db[_0x10b4('0x5a')][_0x10b4('0x47')](_0x3e7276);}})[_0x10b4('0x28')](function(_0x185ce9){if(_0x185ce9){return db['User'][_0x10b4('0x5b')]({'where':{'id':_[_0x10b4('0x2f')](_0x185ce9,'UserId'),'role':_0x10b4('0x5c')},'attributes':['id',_0x10b4('0x2d'),_0x10b4('0x5d'),_0x10b4('0x5e'),_0x10b4('0x5f')]});}})[_0x10b4('0x28')](function(_0x3e5ba0){if(_0x3e5ba0){return{'count':_0x3e5ba0[_0x10b4('0x60')],'rows':_[_0x10b4('0x2f')](_0x3e5ba0[_0x10b4('0x48')],function(_0x387056){return{'membername':_0x387056[_0x10b4('0x2d')],'UserId':_0x387056['id'],'queue_name':_0x2599e0[_0x10b4('0x2d')],'FaxQueueId':_0x2599e0['id'],'interface':util['format'](_0x10b4('0x61'),'SIP',_0x387056['name']),'penalty':0x0,'paused':_0x387056[_0x10b4('0x5d')],'createdAt':_0x387056[_0x10b4('0x5f')],'updatedAt':_0x387056['updatedAt']};})};}else{return{'count':0x0,'rows':[]};}})[_0x10b4('0x28')](respondWithFilteredResult(_0x36df83,_0x3e7276))[_0x10b4('0x49')](handleError(_0x36df83,null));};exports[_0x10b4('0x62')]=function(_0x3078b1,_0x3c4801,_0x1e4543){var _0xeacebf={};var _0x4c6b12={};var _0x1f9853;var _0x1bb709;return db['FaxQueue'][_0x10b4('0x57')]({'where':{'id':_0x3078b1[_0x10b4('0x54')]['id']}})[_0x10b4('0x28')](handleEntityNotFound(_0x3c4801,null))[_0x10b4('0x28')](function(_0x5050d4){if(_0x5050d4){_0x1f9853=_0x5050d4;_0x4c6b12['model']=_[_0x10b4('0x37')](db[_0x10b4('0x63')]['rawAttributes']);_0x4c6b12[_0x10b4('0x36')]=_[_0x10b4('0x37')](_0x3078b1[_0x10b4('0x36')]);_0x4c6b12[_0x10b4('0x38')]=_[_0x10b4('0x39')](_0x4c6b12[_0x10b4('0x35')],_0x4c6b12['query']);_0xeacebf[_0x10b4('0x3a')]=_['intersection'](_0x4c6b12[_0x10b4('0x35')],qs[_0x10b4('0x3b')](_0x3078b1[_0x10b4('0x36')][_0x10b4('0x3b')]));_0xeacebf[_0x10b4('0x3a')]=_0xeacebf['attributes']['length']?_0xeacebf['attributes']:_0x4c6b12[_0x10b4('0x35')];_0xeacebf['order']=qs[_0x10b4('0x3f')](_0x3078b1[_0x10b4('0x36')][_0x10b4('0x3f')]);_0xeacebf['where']=qs[_0x10b4('0x38')](_[_0x10b4('0x40')](_0x3078b1[_0x10b4('0x36')],_0x4c6b12[_0x10b4('0x38')]));if(_0x3078b1[_0x10b4('0x36')][_0x10b4('0x43')]){_0xeacebf[_0x10b4('0x41')]=_[_0x10b4('0x44')](_0xeacebf[_0x10b4('0x41')],{'$or':_['map'](_0xeacebf[_0x10b4('0x3a')],function(_0xe00f91){var _0x184655={};_0x184655[_0xe00f91]={'$like':'%'+_0x3078b1[_0x10b4('0x36')][_0x10b4('0x43')]+'%'};return _0x184655;})});}_0xeacebf=_[_0x10b4('0x44')]({},_0xeacebf,_0x3078b1['options']);return _0x1f9853[_0x10b4('0x62')](_0xeacebf);}})['then'](function(_0x14fc7b){if(_0x14fc7b){_0x1bb709=_0x14fc7b[_0x10b4('0x3c')];if(!_0x3078b1['query'][_0x10b4('0x3d')](_0x10b4('0x58'))){_0xeacebf[_0x10b4('0x22')]=qs['limit'](_0x3078b1[_0x10b4('0x36')][_0x10b4('0x22')]);_0xeacebf[_0x10b4('0x21')]=qs[_0x10b4('0x21')](_0x3078b1[_0x10b4('0x36')][_0x10b4('0x21')]);}return _0x1f9853[_0x10b4('0x62')](_0xeacebf);}})[_0x10b4('0x28')](function(_0x2ad855){if(_0x2ad855){return _0x2ad855?{'count':_0x1bb709,'rows':_0x2ad855}:null;}})[_0x10b4('0x28')](respondWithResult(_0x3c4801,null))[_0x10b4('0x49')](handleError(_0x3c4801,null));};exports[_0x10b4('0x64')]=function(_0x3b4023,_0x27b577,_0x14f21e){var _0xafafff=_0x3b4023[_0x10b4('0x4d')][_0x10b4('0x65')];return db[_0x10b4('0x63')][_0x10b4('0x47')]({'where':{'id':_0xafafff},'attributes':['id'],'include':[{'model':db[_0x10b4('0x66')],'as':_0x10b4('0x67'),'attributes':['id',_0x10b4('0x2d'),_0x10b4('0x68'),'voicePause','interface'],'raw':!![]}]})[_0x10b4('0x28')](function(_0x4c22f6){if(_0x4c22f6){var _0x4c9b49=_[_0x10b4('0x69')](_0x4c22f6,function(_0x1c06b7){var _0x37126d=_0x1c06b7[_0x10b4('0x29')]({'plain':!![]});return _0x37126d['Agents'];});return db['FaxQueue'][_0x10b4('0x52')]({'where':{'id':_0x3b4023[_0x10b4('0x54')]['id']}})[_0x10b4('0x28')](function(_0x3bdbc5){return db['sequelize'][_0x10b4('0x6a')](function(_0x4f15f6){return _0x3bdbc5[_0x10b4('0x64')](_0xafafff,{'transaction':_0x4f15f6})['then'](function(){return BPromise[_0x10b4('0x6b')](_0x4c9b49,function(_0x422eb6){return db[_0x10b4('0x5a')][_0x10b4('0x6c')]({'where':{'UserId':_0x422eb6['id'],'FaxQueueId':_0x3b4023[_0x10b4('0x54')]['id']},'transaction':_0x4f15f6});});})[_0x10b4('0x28')](function(){_0x4c9b49['forEach'](function(_0x3cb815){socket['emit'](_0x10b4('0x6d'),{'UserId':_0x3cb815['id'],'FaxQueueId':_0x3bdbc5['id']});});});});});}})[_0x10b4('0x28')](respondWithStatusCode(_0x27b577,null))[_0x10b4('0x49')](handleError(_0x27b577,null));};exports[_0x10b4('0x6e')]=function(_0x54f66e,_0x321f81,_0x1cc11b){return db[_0x10b4('0x63')][_0x10b4('0x47')]({'where':{'id':_0x54f66e[_0x10b4('0x36')][_0x10b4('0x65')]},'attributes':['id'],'include':[{'model':db[_0x10b4('0x66')],'as':_0x10b4('0x67'),'attributes':['id'],'raw':!![]}]})[_0x10b4('0x28')](handleEntityNotFound(_0x321f81,null))[_0x10b4('0x28')](function(_0x183452){var _0x2e1a4d=_[_0x10b4('0x2f')](_0x183452,'id');var _0x28f0fb=[];var _0x4f4adb=[];var _0x5f2fe2=squel[_0x10b4('0x6f')]();_0x5f2fe2['field']('tq.TeamId')['from']('team_has_fax_queues','tq')[_0x10b4('0x70')]('user_has_teams','ut','ut.TeamId\x20=\x20tq.TeamId')['where'](_0x10b4('0x71'),_0x54f66e[_0x10b4('0x54')]['id']);for(var _0x39eb84=0x0;_0x39eb84<_0x183452[_0x10b4('0x3c')];_0x39eb84+=0x1){let _0x4f1119=_0x183452[_0x39eb84];for(var _0x128d97=0x0;_0x128d97<_0x4f1119['Agents'][_0x10b4('0x3c')];_0x128d97+=0x1){let _0x1ff2c9=_0x4f1119[_0x10b4('0x67')][_0x128d97];var _0xd27f4b=_0x5f2fe2[_0x10b4('0x72')]();_0xd27f4b['where']('ut.UserId\x20=\x20?',_0x1ff2c9['id']);_0x4f4adb['push'](db[_0x10b4('0x73')][_0x10b4('0x36')](_0xd27f4b[_0x10b4('0x74')](),{'type':db[_0x10b4('0x73')][_0x10b4('0x75')]['SELECT']})[_0x10b4('0x28')](function(_0x48046d){if(_0x48046d[_0x10b4('0x3c')]===0x1){return _0x1ff2c9['id'];}else{var _0x26f4a9=_[_0x10b4('0x76')](_[_0x10b4('0x2f')](_0x48046d,'TeamId'),function(_0x3312bd){return _['includes'](_0x2e1a4d,_0x3312bd);});if(_0x26f4a9){return _0x1ff2c9['id'];}}}));}}return BPromise['all'](_0x4f4adb)[_0x10b4('0x28')](function(_0x2dced7){_0x28f0fb=_(_0x28f0fb)[_0x10b4('0x77')](_0x2dced7)['compact']()[_0x10b4('0x78')]();return db[_0x10b4('0x30')][_0x10b4('0x52')]({'where':{'id':_0x54f66e[_0x10b4('0x54')]['id']}})[_0x10b4('0x28')](function(_0x6cd26b){return db[_0x10b4('0x73')][_0x10b4('0x6a')](function(_0x1412f9){return _0x6cd26b[_0x10b4('0x6e')](_0x54f66e[_0x10b4('0x36')]['ids'],{'transaction':_0x1412f9})[_0x10b4('0x28')](function(){if(!_['isEmpty'](_0x28f0fb)){return _0x6cd26b[_0x10b4('0x79')](_0x28f0fb,{'transaction':_0x1412f9});}})['then'](function(){_0x28f0fb[_0x10b4('0x7a')](function(_0x3ccf1c){socket[_0x10b4('0x7b')](_0x10b4('0x7c'),{'UserId':_0x3ccf1c,'FaxQueueId':_0x6cd26b['id']});});});});});});})[_0x10b4('0x28')](respondWithStatusCode(_0x321f81,null))[_0x10b4('0x49')](handleError(_0x321f81,null));};exports['addAgents']=function(_0x54d1e9,_0x1bd85b,_0x4b5e50){return db[_0x10b4('0x30')][_0x10b4('0x52')]({'where':{'id':_0x54d1e9[_0x10b4('0x54')]['id']}})[_0x10b4('0x28')](handleEntityNotFound(_0x1bd85b,null))['then'](function(_0xfd6eb5){if(_0xfd6eb5){return _0xfd6eb5[_0x10b4('0x7d')](_0x54d1e9[_0x10b4('0x4d')][_0x10b4('0x65')],_['omit'](_0x54d1e9['body'],[_0x10b4('0x65'),'id'])||{})[_0x10b4('0x7e')](function(_0xd1ba16){for(var _0x45248c=0x0;_0x45248c<_0x54d1e9['body']['ids'][_0x10b4('0x3c')];_0x45248c+=0x1){socket[_0x10b4('0x7b')](_0x10b4('0x6d'),{'UserId':_0x54d1e9['body'][_0x10b4('0x65')][_0x45248c],'FaxQueueId':_0x54d1e9[_0x10b4('0x54')]['id']});}return _0xd1ba16;});}})[_0x10b4('0x28')](respondWithResult(_0x1bd85b,null))[_0x10b4('0x49')](handleError(_0x1bd85b,null));};exports[_0x10b4('0x79')]=function(_0x1c9028,_0x4fe324,_0x368fdf){return db[_0x10b4('0x30')][_0x10b4('0x52')]({'where':{'id':_0x1c9028[_0x10b4('0x54')]['id']}})[_0x10b4('0x28')](handleEntityNotFound(_0x4fe324,null))[_0x10b4('0x28')](function(_0x69e33d){if(_0x69e33d){return _0x69e33d[_0x10b4('0x79')](_0x1c9028[_0x10b4('0x36')][_0x10b4('0x65')])['then'](function(){if(_[_0x10b4('0x7f')](_0x1c9028[_0x10b4('0x36')][_0x10b4('0x65')])){for(var _0x22843b=0x0;_0x22843b<_0x1c9028[_0x10b4('0x36')][_0x10b4('0x65')][_0x10b4('0x3c')];_0x22843b+=0x1){socket[_0x10b4('0x7b')](_0x10b4('0x7c'),{'UserId':Number(_0x1c9028[_0x10b4('0x36')][_0x10b4('0x65')][_0x22843b]),'FaxQueueId':Number(_0x1c9028['params']['id'])});}}else{socket['emit'](_0x10b4('0x7c'),{'UserId':Number(_0x1c9028[_0x10b4('0x36')]['ids']),'FaxQueueId':Number(_0x1c9028[_0x10b4('0x54')]['id'])});}});}})['then'](respondWithStatusCode(_0x4fe324,null))['catch'](handleError(_0x4fe324,null));};exports[_0x10b4('0x80')]=function(_0x32ad1e,_0x1884ed,_0x1945e8){var _0x47b398={};var _0x3e1c31={};var _0x437cd5;var _0x1a2845;return db[_0x10b4('0x30')][_0x10b4('0x57')]({'where':{'id':_0x32ad1e['params']['id']}})[_0x10b4('0x28')](handleEntityNotFound(_0x1884ed,null))[_0x10b4('0x28')](function(_0x34800a){if(_0x34800a){_0x437cd5=_0x34800a;_0x3e1c31['model']=_['keys'](db['User'][_0x10b4('0x31')]);_0x3e1c31[_0x10b4('0x36')]=_[_0x10b4('0x37')](_0x32ad1e['query']);_0x3e1c31[_0x10b4('0x38')]=_[_0x10b4('0x39')](_0x3e1c31[_0x10b4('0x35')],_0x3e1c31[_0x10b4('0x36')]);_0x47b398[_0x10b4('0x3a')]=_[_0x10b4('0x39')](_0x3e1c31[_0x10b4('0x35')],qs[_0x10b4('0x3b')](_0x32ad1e[_0x10b4('0x36')]['fields']));_0x47b398[_0x10b4('0x3a')]=_0x47b398[_0x10b4('0x3a')][_0x10b4('0x3c')]?_0x47b398[_0x10b4('0x3a')]:_0x3e1c31[_0x10b4('0x35')];_0x47b398[_0x10b4('0x3e')]=qs['sort'](_0x32ad1e[_0x10b4('0x36')][_0x10b4('0x3f')]);_0x47b398[_0x10b4('0x41')]=qs['filters'](_[_0x10b4('0x40')](_0x32ad1e['query'],_0x3e1c31[_0x10b4('0x38')]));if(_0x32ad1e['query'][_0x10b4('0x43')]){_0x47b398[_0x10b4('0x41')]=_['merge'](_0x47b398[_0x10b4('0x41')],{'$or':_[_0x10b4('0x2f')](_0x47b398['attributes'],function(_0x772eca){var _0x560ace={};_0x560ace[_0x772eca]={'$like':'%'+_0x32ad1e[_0x10b4('0x36')]['filter']+'%'};return _0x560ace;})});}_0x47b398=_[_0x10b4('0x44')]({},_0x47b398,_0x32ad1e[_0x10b4('0x45')]);return _0x437cd5[_0x10b4('0x80')](_0x47b398);}})['then'](function(_0x55150d){if(_0x55150d){_0x1a2845=_0x55150d[_0x10b4('0x3c')];if(!_0x32ad1e['query']['hasOwnProperty'](_0x10b4('0x58'))){_0x47b398[_0x10b4('0x22')]=qs['limit'](_0x32ad1e['query'][_0x10b4('0x22')]);_0x47b398[_0x10b4('0x21')]=qs[_0x10b4('0x21')](_0x32ad1e['query'][_0x10b4('0x21')]);}return _0x437cd5[_0x10b4('0x80')](_0x47b398);}})[_0x10b4('0x28')](function(_0x14b576){if(_0x14b576){return _0x14b576?{'count':_0x1a2845,'rows':_0x14b576}:null;}})[_0x10b4('0x28')](respondWithResult(_0x1884ed,null))[_0x10b4('0x49')](handleError(_0x1884ed,null));}; \ No newline at end of file +var _0x887b=['lodash','squel','desk.js','to-csv','../../components/auth/service','../../components/parsers/qs','../../config/license/hardware','api','../../config/utils','../../config/environment','../../mysqldb','redis','localhost','socket.io-emitter','./faxQueue.socket','sendStatus','status','end','json','count','offset','limit','set','apply','save','update','then','get','FaxQueues','stack','name','send','index','map','rawAttributes','fieldName','key','model','keys','query','filters','intersection','attributes','fields','length','nolimit','sort','pick','filter','where','merge','type','options','FaxQueue','findAll','rows','catch','show','params','find','create','user','Unable\x20to\x20retrieve\x20the\x20current\x20user','role','UserProfileSection','autoAssociation','UserProfileResource','body','destroy','describe','getMembers','order','FaxQueueId','findAndCountAll','UserId','agent','faxPause','updatedAt','format','%s/%s','SIP','findOne','hasOwnProperty','getTeams','addTeams','ids','Agents','online','interface','flatMap','sequelize','transaction','each','UserFaxQueue','forEach','emit','userFaxQueue:save','removeTeams','Team','User','select','tq.TeamId','team_has_fax_queues','user_has_teams','ut.TeamId\x20=\x20tq.TeamId','FaxQueueId\x20=\x20?','clone','push','toString','QueryTypes','SELECT','includes','all','union','compact','value','removeAgents','addAgents','omit','spread','isArray','userFaxQueue:remove','getAgents','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','mustache','path'];(function(_0x47b49f,_0x3836be){var _0xd8e5aa=function(_0x1b3519){while(--_0x1b3519){_0x47b49f['push'](_0x47b49f['shift']());}};_0xd8e5aa(++_0x3836be);}(_0x887b,0x185));var _0xb887=function(_0xcc31db,_0xe6d949){_0xcc31db=_0xcc31db-0x0;var _0xf830e0=_0x887b[_0xcc31db];return _0xf830e0;};'use strict';var pdf=require(_0xb887('0x0'));var emlformat=require(_0xb887('0x1'));var rimraf=require(_0xb887('0x2'));var zipdir=require(_0xb887('0x3'));var jsonpatch=require(_0xb887('0x4'));var rp=require(_0xb887('0x5'));var moment=require(_0xb887('0x6'));var BPromise=require(_0xb887('0x7'));var Mustache=require(_0xb887('0x8'));var util=require('util');var path=require(_0xb887('0x9'));var sox=require('sox');var csv=require('to-csv');var ejs=require('ejs');var fs=require('fs');var _=require(_0xb887('0xa'));var squel=require(_0xb887('0xb'));var crypto=require('crypto');var jsforce=require('jsforce');var deskjs=require(_0xb887('0xc'));var toCsv=require(_0xb887('0xd'));var querystring=require('querystring');var Papa=require('papaparse');var Redis=require('ioredis');var authService=require(_0xb887('0xe'));var qs=require(_0xb887('0xf'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0xb887('0x10'));var logger=require('../../config/logger')(_0xb887('0x11'));var utils=require(_0xb887('0x12'));var config=require(_0xb887('0x13'));var db=require(_0xb887('0x14'))['db'];config['redis']=_['defaults'](config[_0xb887('0x15')],{'host':_0xb887('0x16'),'port':0x18eb});var socket=require(_0xb887('0x17'))(new Redis(config[_0xb887('0x15')]));require(_0xb887('0x18'))['register'](socket);function respondWithStatusCode(_0x387367,_0xae7291){_0xae7291=_0xae7291||0xcc;return function(_0x28bda6){if(_0x28bda6){return _0x387367[_0xb887('0x19')](_0xae7291);}return _0x387367[_0xb887('0x1a')](_0xae7291)[_0xb887('0x1b')]();};}function respondWithResult(_0x2008e4,_0x2b0f05){_0x2b0f05=_0x2b0f05||0xc8;return function(_0x36f47b){if(_0x36f47b){return _0x2008e4[_0xb887('0x1a')](_0x2b0f05)[_0xb887('0x1c')](_0x36f47b);}};}function respondWithFilteredResult(_0x378c90,_0x54df24){return function(_0x576b9c){if(_0x576b9c){var _0x279ab0=_0x576b9c[_0xb887('0x1d')],_0x33b7e0=_0x54df24[_0xb887('0x1e')],_0x4aa052=_0x54df24[_0xb887('0x1e')]+_0x54df24[_0xb887('0x1f')],_0x21d7dc;if(_0x4aa052>=_0x279ab0){_0x4aa052=_0x279ab0;_0x21d7dc=0xc8;}else{_0x21d7dc=0xce;}_0x378c90['status'](_0x21d7dc);return _0x378c90[_0xb887('0x20')]('Content-Range',_0x33b7e0+'-'+_0x4aa052+'/'+_0x279ab0)['json'](_0x576b9c);}return null;};}function patchUpdates(_0x68ef0a){return function(_0x1ea1a0){try{jsonpatch[_0xb887('0x21')](_0x1ea1a0,_0x68ef0a,!![]);}catch(_0x5f3791){return BPromise['reject'](_0x5f3791);}return _0x1ea1a0[_0xb887('0x22')]();};}function saveUpdates(_0x4af881,_0x321cb6){return function(_0x35b4b6){if(_0x35b4b6){return _0x35b4b6[_0xb887('0x23')](_0x4af881)[_0xb887('0x24')](function(_0x49a401){return _0x49a401;});}return null;};}function removeEntity(_0x17dd2f,_0x4653c7){return function(_0x3d815f){if(_0x3d815f){return _0x3d815f['destroy']()[_0xb887('0x24')](function(){var _0x4b2a1f=_0x3d815f[_0xb887('0x25')]({'plain':!![]});var _0x2b7b91=_0xb887('0x26');return db['UserProfileResource']['destroy']({'where':{'type':_0x2b7b91,'resourceId':_0x4b2a1f['id']}})[_0xb887('0x24')](function(){return _0x3d815f;});})[_0xb887('0x24')](function(){_0x17dd2f[_0xb887('0x1a')](0xcc)[_0xb887('0x1b')]();});}};}function handleEntityNotFound(_0x1300cf,_0x233e78){return function(_0x4d1c2d){if(!_0x4d1c2d){_0x1300cf[_0xb887('0x19')](0x194);}return _0x4d1c2d;};}function handleError(_0x266f45,_0x113930){_0x113930=_0x113930||0x1f4;return function(_0x33891e){logger['error'](_0x33891e[_0xb887('0x27')]);if(_0x33891e['name']){delete _0x33891e[_0xb887('0x28')];}_0x266f45[_0xb887('0x1a')](_0x113930)[_0xb887('0x29')](_0x33891e);};}exports[_0xb887('0x2a')]=function(_0x53f211,_0x346e5b){var _0x3db03a={},_0x560c72={},_0x256454={'count':0x0,'rows':[]};var _0x2cc382=_[_0xb887('0x2b')](db['FaxQueue'][_0xb887('0x2c')],function(_0x49aed6){return{'name':_0x49aed6[_0xb887('0x2d')],'type':_0x49aed6['type'][_0xb887('0x2e')]};});_0x560c72[_0xb887('0x2f')]=_[_0xb887('0x2b')](_0x2cc382,_0xb887('0x28'));_0x560c72['query']=_[_0xb887('0x30')](_0x53f211[_0xb887('0x31')]);_0x560c72[_0xb887('0x32')]=_[_0xb887('0x33')](_0x560c72['model'],_0x560c72[_0xb887('0x31')]);_0x3db03a[_0xb887('0x34')]=_[_0xb887('0x33')](_0x560c72[_0xb887('0x2f')],qs[_0xb887('0x35')](_0x53f211[_0xb887('0x31')][_0xb887('0x35')]));_0x3db03a['attributes']=_0x3db03a[_0xb887('0x34')][_0xb887('0x36')]?_0x3db03a['attributes']:_0x560c72[_0xb887('0x2f')];if(!_0x53f211[_0xb887('0x31')]['hasOwnProperty'](_0xb887('0x37'))){_0x3db03a[_0xb887('0x1f')]=qs[_0xb887('0x1f')](_0x53f211['query']['limit']);_0x3db03a['offset']=qs['offset'](_0x53f211[_0xb887('0x31')][_0xb887('0x1e')]);}_0x3db03a['order']=qs[_0xb887('0x38')](_0x53f211[_0xb887('0x31')][_0xb887('0x38')]);_0x3db03a['where']=qs[_0xb887('0x32')](_[_0xb887('0x39')](_0x53f211[_0xb887('0x31')],_0x560c72[_0xb887('0x32')]),_0x2cc382);if(_0x53f211[_0xb887('0x31')][_0xb887('0x3a')]){_0x3db03a[_0xb887('0x3b')]=_[_0xb887('0x3c')](_0x3db03a[_0xb887('0x3b')],{'$or':_[_0xb887('0x2b')](_0x2cc382,function(_0x473bf9){if(_0x473bf9[_0xb887('0x3d')]!=='VIRTUAL'){var _0x49bbfe={};_0x49bbfe[_0x473bf9[_0xb887('0x28')]]={'$like':'%'+_0x53f211[_0xb887('0x31')][_0xb887('0x3a')]+'%'};return _0x49bbfe;}})});}_0x3db03a=_[_0xb887('0x3c')]({},_0x3db03a,_0x53f211[_0xb887('0x3e')]);var _0x11228c={'where':_0x3db03a[_0xb887('0x3b')]};return db['FaxQueue']['count'](_0x11228c)[_0xb887('0x24')](function(_0x15c20b){_0x256454[_0xb887('0x1d')]=_0x15c20b;if(_0x53f211[_0xb887('0x31')]['includeAll']){_0x3db03a['include']=[{'all':!![]}];}return db[_0xb887('0x3f')][_0xb887('0x40')](_0x3db03a);})[_0xb887('0x24')](function(_0x2f113f){_0x256454[_0xb887('0x41')]=_0x2f113f;return _0x256454;})[_0xb887('0x24')](respondWithFilteredResult(_0x346e5b,_0x3db03a))[_0xb887('0x42')](handleError(_0x346e5b,null));};exports[_0xb887('0x43')]=function(_0x524adf,_0x6c293c){var _0x53d1e4={'raw':!![],'where':{'id':_0x524adf[_0xb887('0x44')]['id']}},_0x1e3dc3={};_0x1e3dc3['model']=_['keys'](db[_0xb887('0x3f')][_0xb887('0x2c')]);_0x1e3dc3[_0xb887('0x31')]=_[_0xb887('0x30')](_0x524adf[_0xb887('0x31')]);_0x1e3dc3[_0xb887('0x32')]=_[_0xb887('0x33')](_0x1e3dc3[_0xb887('0x2f')],_0x1e3dc3[_0xb887('0x31')]);_0x53d1e4[_0xb887('0x34')]=_[_0xb887('0x33')](_0x1e3dc3['model'],qs[_0xb887('0x35')](_0x524adf['query']['fields']));_0x53d1e4[_0xb887('0x34')]=_0x53d1e4[_0xb887('0x34')][_0xb887('0x36')]?_0x53d1e4[_0xb887('0x34')]:_0x1e3dc3[_0xb887('0x2f')];if(_0x524adf[_0xb887('0x31')]['includeAll']){_0x53d1e4['include']=[{'all':!![]}];}_0x53d1e4=_['merge']({},_0x53d1e4,_0x524adf[_0xb887('0x3e')]);return db[_0xb887('0x3f')][_0xb887('0x45')](_0x53d1e4)[_0xb887('0x24')](handleEntityNotFound(_0x6c293c,null))['then'](respondWithResult(_0x6c293c,null))['catch'](handleError(_0x6c293c,null));};exports[_0xb887('0x46')]=function(_0x22867d,_0x17fadb){return db[_0xb887('0x3f')][_0xb887('0x46')](_0x22867d['body'],{})[_0xb887('0x24')](function(_0x3d1af4){var _0x21a61c=_0x22867d[_0xb887('0x47')][_0xb887('0x25')]({'plain':!![]});if(!_0x21a61c)throw new Error(_0xb887('0x48'));if(_0x21a61c[_0xb887('0x49')]==='user'){var _0x31cc47=_0x3d1af4['get']({'plain':!![]});var _0x2619ef='FaxQueues';return db[_0xb887('0x4a')][_0xb887('0x45')]({'where':{'name':_0x2619ef,'userProfileId':_0x21a61c['userProfileId']},'raw':!![]})['then'](function(_0x707746){if(_0x707746&&_0x707746[_0xb887('0x4b')]===0x0){return db[_0xb887('0x4c')]['create']({'name':_0x31cc47[_0xb887('0x28')],'resourceId':_0x31cc47['id'],'type':_0x707746[_0xb887('0x28')],'sectionId':_0x707746['id']},{})['then'](function(){return _0x3d1af4;});}else{return _0x3d1af4;}})[_0xb887('0x42')](function(_0x3bb13a){logger['error']('Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s',_0x3bb13a);throw _0x3bb13a;});}return _0x3d1af4;})[_0xb887('0x24')](respondWithResult(_0x17fadb,0xc9))[_0xb887('0x42')](handleError(_0x17fadb,null));};exports[_0xb887('0x23')]=function(_0x4ace3e,_0x36ca03){if(_0x4ace3e[_0xb887('0x4d')]['id']){delete _0x4ace3e['body']['id'];}return db[_0xb887('0x3f')][_0xb887('0x45')]({'where':{'id':_0x4ace3e[_0xb887('0x44')]['id']}})['then'](handleEntityNotFound(_0x36ca03,null))[_0xb887('0x24')](saveUpdates(_0x4ace3e['body'],null))[_0xb887('0x24')](respondWithResult(_0x36ca03,null))[_0xb887('0x42')](handleError(_0x36ca03,null));};exports[_0xb887('0x4e')]=function(_0x3cc474,_0x1a05d0){return db['FaxQueue'][_0xb887('0x45')]({'where':{'id':_0x3cc474[_0xb887('0x44')]['id']}})['then'](handleEntityNotFound(_0x1a05d0,null))[_0xb887('0x24')](removeEntity(_0x1a05d0,null))[_0xb887('0x42')](handleError(_0x1a05d0,null));};exports['describe']=function(_0x525972,_0xf1bc8a){return db['FaxQueue'][_0xb887('0x4f')]()[_0xb887('0x24')](respondWithResult(_0xf1bc8a,null))['catch'](handleError(_0xf1bc8a,null));};exports[_0xb887('0x50')]=function(_0x283d3b,_0x3a0dcc,_0x381882){var _0x5fcb20={'raw':!![],'where':{}},_0xe50f5={},_0x514de3;return db[_0xb887('0x3f')]['findOne']({'where':{'id':_0x283d3b[_0xb887('0x44')]['id']}})[_0xb887('0x24')](handleEntityNotFound(_0x3a0dcc,null))['then'](function(_0x47d7d5){if(_0x47d7d5){_0x514de3=_0x47d7d5['get']({'plain':!![]});_0xe50f5['model']=_[_0xb887('0x30')](db['UserFaxQueue'][_0xb887('0x2c')]);_0xe50f5['query']=_[_0xb887('0x30')](_0x283d3b[_0xb887('0x31')]);_0xe50f5[_0xb887('0x32')]=_[_0xb887('0x33')](_0xe50f5[_0xb887('0x2f')],_0xe50f5[_0xb887('0x31')]);_0x5fcb20[_0xb887('0x34')]=_[_0xb887('0x33')](_0xe50f5[_0xb887('0x2f')],qs['fields'](_0x283d3b[_0xb887('0x31')]['fields']));_0x5fcb20['attributes']=_0x5fcb20['attributes'][_0xb887('0x36')]?_0x5fcb20[_0xb887('0x34')]:_0xe50f5[_0xb887('0x2f')];if(!_0x283d3b[_0xb887('0x31')]['hasOwnProperty'](_0xb887('0x37'))){_0x5fcb20[_0xb887('0x1f')]=qs[_0xb887('0x1f')](_0x283d3b[_0xb887('0x31')][_0xb887('0x1f')]);_0x5fcb20[_0xb887('0x1e')]=qs[_0xb887('0x1e')](_0x283d3b['query'][_0xb887('0x1e')]);}_0x5fcb20[_0xb887('0x51')]=qs[_0xb887('0x38')](_0x283d3b['query']['sort']);_0x5fcb20[_0xb887('0x3b')]=qs['filters'](_[_0xb887('0x39')](_0x283d3b[_0xb887('0x31')],_0xe50f5[_0xb887('0x32')]));_0x5fcb20[_0xb887('0x3b')][_0xb887('0x52')]=_0x47d7d5['id'];if(_0x283d3b[_0xb887('0x31')][_0xb887('0x3a')]){_0x5fcb20[_0xb887('0x3b')]=_['merge'](_0x5fcb20['where'],{'$or':_[_0xb887('0x2b')](_0x5fcb20[_0xb887('0x34')],function(_0x45e256){var _0x1870bb={};_0x1870bb[_0x45e256]={'$like':'%'+_0x283d3b['query'][_0xb887('0x3a')]+'%'};return _0x1870bb;})});}_0x5fcb20=_['merge']({},_0x5fcb20,_0x283d3b[_0xb887('0x3e')]);return db['UserFaxQueue'][_0xb887('0x40')](_0x5fcb20);}})[_0xb887('0x24')](function(_0x3e4fe6){if(_0x3e4fe6){return db['User'][_0xb887('0x53')]({'where':{'id':_[_0xb887('0x2b')](_0x3e4fe6,_0xb887('0x54')),'role':_0xb887('0x55')},'attributes':['id','name',_0xb887('0x56'),_0xb887('0x57'),'createdAt']});}})['then'](function(_0x16bf44){if(_0x16bf44){return{'count':_0x16bf44['count'],'rows':_[_0xb887('0x2b')](_0x16bf44[_0xb887('0x41')],function(_0x272aaf){return{'membername':_0x272aaf[_0xb887('0x28')],'UserId':_0x272aaf['id'],'queue_name':_0x514de3[_0xb887('0x28')],'FaxQueueId':_0x514de3['id'],'interface':util[_0xb887('0x58')](_0xb887('0x59'),_0xb887('0x5a'),_0x272aaf[_0xb887('0x28')]),'penalty':0x0,'paused':_0x272aaf['faxPause'],'createdAt':_0x272aaf['createdAt'],'updatedAt':_0x272aaf['updatedAt']};})};}else{return{'count':0x0,'rows':[]};}})[_0xb887('0x24')](respondWithFilteredResult(_0x3a0dcc,_0x5fcb20))[_0xb887('0x42')](handleError(_0x3a0dcc,null));};exports['getTeams']=function(_0x4e6c41,_0x8cf5ab,_0x35aedf){var _0x611831={};var _0x5329ee={};var _0xa30ed6;var _0x4e032d;return db[_0xb887('0x3f')][_0xb887('0x5b')]({'where':{'id':_0x4e6c41[_0xb887('0x44')]['id']}})[_0xb887('0x24')](handleEntityNotFound(_0x8cf5ab,null))[_0xb887('0x24')](function(_0x4d59d2){if(_0x4d59d2){_0xa30ed6=_0x4d59d2;_0x5329ee['model']=_['keys'](db['Team'][_0xb887('0x2c')]);_0x5329ee[_0xb887('0x31')]=_['keys'](_0x4e6c41[_0xb887('0x31')]);_0x5329ee['filters']=_[_0xb887('0x33')](_0x5329ee['model'],_0x5329ee['query']);_0x611831[_0xb887('0x34')]=_[_0xb887('0x33')](_0x5329ee[_0xb887('0x2f')],qs[_0xb887('0x35')](_0x4e6c41[_0xb887('0x31')][_0xb887('0x35')]));_0x611831[_0xb887('0x34')]=_0x611831['attributes']['length']?_0x611831['attributes']:_0x5329ee[_0xb887('0x2f')];_0x611831['order']=qs[_0xb887('0x38')](_0x4e6c41[_0xb887('0x31')]['sort']);_0x611831[_0xb887('0x3b')]=qs[_0xb887('0x32')](_['pick'](_0x4e6c41[_0xb887('0x31')],_0x5329ee[_0xb887('0x32')]));if(_0x4e6c41[_0xb887('0x31')][_0xb887('0x3a')]){_0x611831[_0xb887('0x3b')]=_['merge'](_0x611831['where'],{'$or':_[_0xb887('0x2b')](_0x611831[_0xb887('0x34')],function(_0x53f317){var _0x5839c1={};_0x5839c1[_0x53f317]={'$like':'%'+_0x4e6c41[_0xb887('0x31')]['filter']+'%'};return _0x5839c1;})});}_0x611831=_['merge']({},_0x611831,_0x4e6c41[_0xb887('0x3e')]);return _0xa30ed6['getTeams'](_0x611831);}})[_0xb887('0x24')](function(_0xc7e799){if(_0xc7e799){_0x4e032d=_0xc7e799[_0xb887('0x36')];if(!_0x4e6c41[_0xb887('0x31')][_0xb887('0x5c')](_0xb887('0x37'))){_0x611831[_0xb887('0x1f')]=qs[_0xb887('0x1f')](_0x4e6c41[_0xb887('0x31')][_0xb887('0x1f')]);_0x611831[_0xb887('0x1e')]=qs[_0xb887('0x1e')](_0x4e6c41[_0xb887('0x31')][_0xb887('0x1e')]);}return _0xa30ed6[_0xb887('0x5d')](_0x611831);}})[_0xb887('0x24')](function(_0x277a5a){if(_0x277a5a){return _0x277a5a?{'count':_0x4e032d,'rows':_0x277a5a}:null;}})[_0xb887('0x24')](respondWithResult(_0x8cf5ab,null))['catch'](handleError(_0x8cf5ab,null));};exports[_0xb887('0x5e')]=function(_0x248f77,_0x61abe2,_0x7b82a2){var _0x4c98eb=_0x248f77['body'][_0xb887('0x5f')];return db['Team'][_0xb887('0x40')]({'where':{'id':_0x4c98eb},'attributes':['id'],'include':[{'model':db['User'],'as':_0xb887('0x60'),'attributes':['id',_0xb887('0x28'),_0xb887('0x61'),'voicePause',_0xb887('0x62')],'raw':!![]}]})[_0xb887('0x24')](function(_0x4bd034){if(_0x4bd034){var _0x2be8af=_[_0xb887('0x63')](_0x4bd034,function(_0x105b34){var _0x5139c2=_0x105b34[_0xb887('0x25')]({'plain':!![]});return _0x5139c2[_0xb887('0x60')];});return db['FaxQueue'][_0xb887('0x45')]({'where':{'id':_0x248f77[_0xb887('0x44')]['id']}})[_0xb887('0x24')](function(_0x4468e8){return db[_0xb887('0x64')][_0xb887('0x65')](function(_0x2c3e0c){return _0x4468e8[_0xb887('0x5e')](_0x4c98eb,{'transaction':_0x2c3e0c})[_0xb887('0x24')](function(){return BPromise[_0xb887('0x66')](_0x2be8af,function(_0x337413){return db[_0xb887('0x67')]['findOrCreate']({'where':{'UserId':_0x337413['id'],'FaxQueueId':_0x248f77[_0xb887('0x44')]['id']},'transaction':_0x2c3e0c});});})[_0xb887('0x24')](function(){_0x2be8af[_0xb887('0x68')](function(_0x5246d8){socket[_0xb887('0x69')](_0xb887('0x6a'),{'UserId':_0x5246d8['id'],'FaxQueueId':_0x4468e8['id']});});});});});}})[_0xb887('0x24')](respondWithStatusCode(_0x61abe2,null))['catch'](handleError(_0x61abe2,null));};exports[_0xb887('0x6b')]=function(_0x522fde,_0x4039ae,_0x56fd71){return db[_0xb887('0x6c')]['findAll']({'where':{'id':_0x522fde[_0xb887('0x31')]['ids']},'attributes':['id'],'include':[{'model':db[_0xb887('0x6d')],'as':_0xb887('0x60'),'attributes':['id'],'raw':!![]}]})['then'](handleEntityNotFound(_0x4039ae,null))['then'](function(_0xa4c66d){var _0x28f4a9=_[_0xb887('0x2b')](_0xa4c66d,'id');var _0x2169dc=[];var _0x5c1256=[];var _0x172bac=squel[_0xb887('0x6e')]();_0x172bac['field'](_0xb887('0x6f'))['from'](_0xb887('0x70'),'tq')['join'](_0xb887('0x71'),'ut',_0xb887('0x72'))[_0xb887('0x3b')](_0xb887('0x73'),_0x522fde[_0xb887('0x44')]['id']);for(var _0xfd80c2=0x0;_0xfd80c2<_0xa4c66d[_0xb887('0x36')];_0xfd80c2+=0x1){let _0x4582ba=_0xa4c66d[_0xfd80c2];for(var _0x286df9=0x0;_0x286df9<_0x4582ba[_0xb887('0x60')][_0xb887('0x36')];_0x286df9+=0x1){let _0x16c2d3=_0x4582ba[_0xb887('0x60')][_0x286df9];var _0x35491e=_0x172bac[_0xb887('0x74')]();_0x35491e[_0xb887('0x3b')]('ut.UserId\x20=\x20?',_0x16c2d3['id']);_0x5c1256[_0xb887('0x75')](db[_0xb887('0x64')]['query'](_0x35491e[_0xb887('0x76')](),{'type':db[_0xb887('0x64')][_0xb887('0x77')][_0xb887('0x78')]})[_0xb887('0x24')](function(_0x25255a){if(_0x25255a[_0xb887('0x36')]===0x1){return _0x16c2d3['id'];}else{var _0x14fd77=_['every'](_[_0xb887('0x2b')](_0x25255a,'TeamId'),function(_0x3c71cc){return _[_0xb887('0x79')](_0x28f4a9,_0x3c71cc);});if(_0x14fd77){return _0x16c2d3['id'];}}}));}}return BPromise[_0xb887('0x7a')](_0x5c1256)[_0xb887('0x24')](function(_0x551d00){_0x2169dc=_(_0x2169dc)[_0xb887('0x7b')](_0x551d00)[_0xb887('0x7c')]()[_0xb887('0x7d')]();return db[_0xb887('0x3f')]['find']({'where':{'id':_0x522fde[_0xb887('0x44')]['id']}})['then'](function(_0x2abe6f){return db[_0xb887('0x64')]['transaction'](function(_0x4c3ae5){return _0x2abe6f[_0xb887('0x6b')](_0x522fde['query'][_0xb887('0x5f')],{'transaction':_0x4c3ae5})[_0xb887('0x24')](function(){if(!_['isEmpty'](_0x2169dc)){return _0x2abe6f[_0xb887('0x7e')](_0x2169dc,{'transaction':_0x4c3ae5});}})[_0xb887('0x24')](function(){_0x2169dc[_0xb887('0x68')](function(_0x4b5a89){socket[_0xb887('0x69')]('userFaxQueue:remove',{'UserId':_0x4b5a89,'FaxQueueId':_0x2abe6f['id']});});});});});});})[_0xb887('0x24')](respondWithStatusCode(_0x4039ae,null))[_0xb887('0x42')](handleError(_0x4039ae,null));};exports['addAgents']=function(_0x2510fd,_0x370f52,_0x553cd0){return db['FaxQueue'][_0xb887('0x45')]({'where':{'id':_0x2510fd['params']['id']}})[_0xb887('0x24')](handleEntityNotFound(_0x370f52,null))['then'](function(_0x5a7f71){if(_0x5a7f71){return _0x5a7f71[_0xb887('0x7f')](_0x2510fd['body'][_0xb887('0x5f')],_[_0xb887('0x80')](_0x2510fd[_0xb887('0x4d')],[_0xb887('0x5f'),'id'])||{})[_0xb887('0x81')](function(_0x691501){for(var _0x1105d2=0x0;_0x1105d2<_0x2510fd[_0xb887('0x4d')][_0xb887('0x5f')]['length'];_0x1105d2+=0x1){socket['emit'](_0xb887('0x6a'),{'UserId':_0x2510fd[_0xb887('0x4d')][_0xb887('0x5f')][_0x1105d2],'FaxQueueId':_0x2510fd[_0xb887('0x44')]['id']});}return _0x691501;});}})[_0xb887('0x24')](respondWithResult(_0x370f52,null))['catch'](handleError(_0x370f52,null));};exports[_0xb887('0x7e')]=function(_0x5cba21,_0x539303,_0x4bc639){return db['FaxQueue'][_0xb887('0x45')]({'where':{'id':_0x5cba21['params']['id']}})[_0xb887('0x24')](handleEntityNotFound(_0x539303,null))['then'](function(_0x133163){if(_0x133163){return _0x133163[_0xb887('0x7e')](_0x5cba21[_0xb887('0x31')][_0xb887('0x5f')])[_0xb887('0x24')](function(){if(_[_0xb887('0x82')](_0x5cba21[_0xb887('0x31')][_0xb887('0x5f')])){for(var _0x21181f=0x0;_0x21181f<_0x5cba21[_0xb887('0x31')]['ids'][_0xb887('0x36')];_0x21181f+=0x1){socket[_0xb887('0x69')](_0xb887('0x83'),{'UserId':Number(_0x5cba21['query'][_0xb887('0x5f')][_0x21181f]),'FaxQueueId':Number(_0x5cba21[_0xb887('0x44')]['id'])});}}else{socket[_0xb887('0x69')](_0xb887('0x83'),{'UserId':Number(_0x5cba21[_0xb887('0x31')][_0xb887('0x5f')]),'FaxQueueId':Number(_0x5cba21[_0xb887('0x44')]['id'])});}});}})[_0xb887('0x24')](respondWithStatusCode(_0x539303,null))[_0xb887('0x42')](handleError(_0x539303,null));};exports[_0xb887('0x84')]=function(_0x5422c6,_0x3d5b6d,_0x4e146d){var _0x255048={};var _0x46d892={};var _0x1630a4;var _0x571779;return db['FaxQueue'][_0xb887('0x5b')]({'where':{'id':_0x5422c6[_0xb887('0x44')]['id']}})[_0xb887('0x24')](handleEntityNotFound(_0x3d5b6d,null))[_0xb887('0x24')](function(_0x203399){if(_0x203399){_0x1630a4=_0x203399;_0x46d892['model']=_['keys'](db[_0xb887('0x6d')]['rawAttributes']);_0x46d892[_0xb887('0x31')]=_['keys'](_0x5422c6['query']);_0x46d892['filters']=_['intersection'](_0x46d892[_0xb887('0x2f')],_0x46d892[_0xb887('0x31')]);_0x255048[_0xb887('0x34')]=_['intersection'](_0x46d892[_0xb887('0x2f')],qs[_0xb887('0x35')](_0x5422c6[_0xb887('0x31')][_0xb887('0x35')]));_0x255048[_0xb887('0x34')]=_0x255048[_0xb887('0x34')][_0xb887('0x36')]?_0x255048[_0xb887('0x34')]:_0x46d892[_0xb887('0x2f')];_0x255048['order']=qs['sort'](_0x5422c6[_0xb887('0x31')]['sort']);_0x255048[_0xb887('0x3b')]=qs[_0xb887('0x32')](_[_0xb887('0x39')](_0x5422c6[_0xb887('0x31')],_0x46d892[_0xb887('0x32')]));if(_0x5422c6[_0xb887('0x31')][_0xb887('0x3a')]){_0x255048[_0xb887('0x3b')]=_[_0xb887('0x3c')](_0x255048[_0xb887('0x3b')],{'$or':_['map'](_0x255048[_0xb887('0x34')],function(_0x52bfc0){var _0x5dd636={};_0x5dd636[_0x52bfc0]={'$like':'%'+_0x5422c6['query'][_0xb887('0x3a')]+'%'};return _0x5dd636;})});}_0x255048=_[_0xb887('0x3c')]({},_0x255048,_0x5422c6[_0xb887('0x3e')]);return _0x1630a4['getAgents'](_0x255048);}})[_0xb887('0x24')](function(_0x3f1f02){if(_0x3f1f02){_0x571779=_0x3f1f02['length'];if(!_0x5422c6['query']['hasOwnProperty'](_0xb887('0x37'))){_0x255048[_0xb887('0x1f')]=qs[_0xb887('0x1f')](_0x5422c6['query']['limit']);_0x255048[_0xb887('0x1e')]=qs[_0xb887('0x1e')](_0x5422c6[_0xb887('0x31')][_0xb887('0x1e')]);}return _0x1630a4[_0xb887('0x84')](_0x255048);}})[_0xb887('0x24')](function(_0x117bbd){if(_0x117bbd){return _0x117bbd?{'count':_0x571779,'rows':_0x117bbd}:null;}})['then'](respondWithResult(_0x3d5b6d,null))['catch'](handleError(_0x3d5b6d,null));}; \ No newline at end of file diff --git a/server/api/faxQueue/faxQueue.events.js b/server/api/faxQueue/faxQueue.events.js index 69fdcfd..6b20459 100644 --- a/server/api/faxQueue/faxQueue.events.js +++ b/server/api/faxQueue/faxQueue.events.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x66d4=['FaxQueue','setMaxListeners','update','remove','emit','hasOwnProperty','hook','exports','../../mysqldb'];(function(_0x138676,_0x27a8d5){var _0xf72f74=function(_0xc6036a){while(--_0xc6036a){_0x138676['push'](_0x138676['shift']());}};_0xf72f74(++_0x27a8d5);}(_0x66d4,0x1c1));var _0x466d=function(_0x4792c8,_0x5158a1){_0x4792c8=_0x4792c8-0x0;var _0x35edb1=_0x66d4[_0x4792c8];return _0x35edb1;};'use strict';var EventEmitter=require('events');var FaxQueue=require(_0x466d('0x0'))['db'][_0x466d('0x1')];var FaxQueueEvents=new EventEmitter();FaxQueueEvents[_0x466d('0x2')](0x0);var events={'afterCreate':'save','afterUpdate':_0x466d('0x3'),'afterDestroy':_0x466d('0x4')};function emitEvent(_0x3ca257){return function(_0x2789fa,_0xbbdc20,_0x4fd91d){FaxQueueEvents[_0x466d('0x5')](_0x3ca257+':'+_0x2789fa['id'],_0x2789fa);FaxQueueEvents[_0x466d('0x5')](_0x3ca257,_0x2789fa);_0x4fd91d(null);};}for(var e in events){if(events[_0x466d('0x6')](e)){var event=events[e];FaxQueue[_0x466d('0x7')](e,emitEvent(event));}}module[_0x466d('0x8')]=FaxQueueEvents; \ No newline at end of file +var _0x504c=['setMaxListeners','save','remove','emit','hasOwnProperty','hook','exports','../../mysqldb'];(function(_0x176807,_0x137e37){var _0x26cd57=function(_0x4d3f71){while(--_0x4d3f71){_0x176807['push'](_0x176807['shift']());}};_0x26cd57(++_0x137e37);}(_0x504c,0x147));var _0xc504=function(_0x58fbb0,_0xe497b5){_0x58fbb0=_0x58fbb0-0x0;var _0x1783d2=_0x504c[_0x58fbb0];return _0x1783d2;};'use strict';var EventEmitter=require('events');var FaxQueue=require(_0xc504('0x0'))['db']['FaxQueue'];var FaxQueueEvents=new EventEmitter();FaxQueueEvents[_0xc504('0x1')](0x0);var events={'afterCreate':_0xc504('0x2'),'afterUpdate':'update','afterDestroy':_0xc504('0x3')};function emitEvent(_0x108d75){return function(_0x4f734d,_0x15b9eb,_0x451752){FaxQueueEvents[_0xc504('0x4')](_0x108d75+':'+_0x4f734d['id'],_0x4f734d);FaxQueueEvents[_0xc504('0x4')](_0x108d75,_0x4f734d);_0x451752(null);};}for(var e in events){if(events[_0xc504('0x5')](e)){var event=events[e];FaxQueue[_0xc504('0x6')](e,emitEvent(event));}}module[_0xc504('0x7')]=FaxQueueEvents; \ No newline at end of file diff --git a/server/api/faxQueue/faxQueue.model.js b/server/api/faxQueue/faxQueue.model.js index 93f036e..2f81176 100644 --- a/server/api/faxQueue/faxQueue.model.js +++ b/server/api/faxQueue/faxQueue.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x31be=['FaxQueue','fax_queues','lodash','util','../../config/logger','moment','bluebird','request-promise','path','rimraf','../../config/environment','./faxQueue.attributes','exports','define'];(function(_0x31f23c,_0x13cd2f){var _0x2e88fa=function(_0x119a38){while(--_0x119a38){_0x31f23c['push'](_0x31f23c['shift']());}};_0x2e88fa(++_0x13cd2f);}(_0x31be,0xf0));var _0xe31b=function(_0x122e64,_0x1442b2){_0x122e64=_0x122e64-0x0;var _0x33a3f0=_0x31be[_0x122e64];return _0x33a3f0;};'use strict';var _=require(_0xe31b('0x0'));var util=require(_0xe31b('0x1'));var logger=require(_0xe31b('0x2'))('api');var moment=require(_0xe31b('0x3'));var BPromise=require(_0xe31b('0x4'));var rp=require(_0xe31b('0x5'));var fs=require('fs');var path=require(_0xe31b('0x6'));var rimraf=require(_0xe31b('0x7'));var config=require(_0xe31b('0x8'));var attributes=require(_0xe31b('0x9'));module[_0xe31b('0xa')]=function(_0x267bcc,_0x22c336){return _0x267bcc[_0xe31b('0xb')](_0xe31b('0xc'),attributes,{'tableName':_0xe31b('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0x7272=['lodash','../../config/logger','api','moment','bluebird','request-promise','define','FaxQueue','fax_queues'];(function(_0x34abb0,_0x468182){var _0x3fe865=function(_0x5c6274){while(--_0x5c6274){_0x34abb0['push'](_0x34abb0['shift']());}};_0x3fe865(++_0x468182);}(_0x7272,0x99));var _0x2727=function(_0x3963be,_0x4bf288){_0x3963be=_0x3963be-0x0;var _0x2fd1cb=_0x7272[_0x3963be];return _0x2fd1cb;};'use strict';var _=require(_0x2727('0x0'));var util=require('util');var logger=require(_0x2727('0x1'))(_0x2727('0x2'));var moment=require(_0x2727('0x3'));var BPromise=require(_0x2727('0x4'));var rp=require(_0x2727('0x5'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require('./faxQueue.attributes');module['exports']=function(_0x1b5e15,_0x4f5d86){return _0x1b5e15[_0x2727('0x6')](_0x2727('0x7'),attributes,{'tableName':_0x2727('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/faxQueue/faxQueue.rpc.js b/server/api/faxQueue/faxQueue.rpc.js index c2532b9..7dc493b 100644 --- a/server/api/faxQueue/faxQueue.rpc.js +++ b/server/api/faxQueue/faxQueue.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x6d9c=['jayson/promise','client','http','defaults','localhost','socket.io-emitter','redis','register','request','then','FaxQueue,\x20%s,\x20%s','request\x20sent','debug','stringify','error','code','message','info','GetFaxQueue','FaxQueue','findAll','options','raw','where','attributes','map','include','model','catch','ShowFaxQueue','find','lodash','util','moment','bluebird','randomstring','../../mysqldb','../../config/logger','rpc'];(function(_0x28947d,_0x4cc9c6){var _0x12d2ee=function(_0x3f38fc){while(--_0x3f38fc){_0x28947d['push'](_0x28947d['shift']());}};_0x12d2ee(++_0x4cc9c6);}(_0x6d9c,0x130));var _0xc6d9=function(_0x1b64a8,_0xe154cb){_0x1b64a8=_0x1b64a8-0x0;var _0x5f3736=_0x6d9c[_0x1b64a8];return _0x5f3736;};'use strict';var _=require(_0xc6d9('0x0'));var util=require(_0xc6d9('0x1'));var moment=require(_0xc6d9('0x2'));var BPromise=require(_0xc6d9('0x3'));var rs=require(_0xc6d9('0x4'));var fs=require('fs');var Redis=require('ioredis');var db=require(_0xc6d9('0x5'))['db'];var utils=require('../../config/utils');var logger=require(_0xc6d9('0x6'))(_0xc6d9('0x7'));var config=require('../../config/environment');var jayson=require(_0xc6d9('0x8'));var client=jayson[_0xc6d9('0x9')][_0xc6d9('0xa')]({'port':0x232a});config['redis']=_[_0xc6d9('0xb')](config['redis'],{'host':_0xc6d9('0xc'),'port':0x18eb});var socket=require(_0xc6d9('0xd'))(new Redis(config[_0xc6d9('0xe')]));require('./faxQueue.socket')[_0xc6d9('0xf')](socket);function respondWithRpcPromise(_0x365d7b,_0x45f46c,_0x1b6322){return new BPromise(function(_0x5b23f8,_0x2375e8){return client[_0xc6d9('0x10')](_0x365d7b,_0x1b6322)[_0xc6d9('0x11')](function(_0x102bf0){logger['info'](_0xc6d9('0x12'),_0x45f46c,_0xc6d9('0x13'));logger[_0xc6d9('0x14')]('FaxQueue,\x20%s,\x20%s,\x20%s',_0x45f46c,_0xc6d9('0x13'),JSON[_0xc6d9('0x15')](_0x102bf0));if(_0x102bf0[_0xc6d9('0x16')]){if(_0x102bf0[_0xc6d9('0x16')][_0xc6d9('0x17')]===0x1f4){logger[_0xc6d9('0x16')]('FaxQueue,\x20%s,\x20%s',_0x45f46c,_0x102bf0[_0xc6d9('0x16')][_0xc6d9('0x18')]);return _0x2375e8(_0x102bf0['error'][_0xc6d9('0x18')]);}logger[_0xc6d9('0x16')]('FaxQueue,\x20%s,\x20%s',_0x45f46c,_0x102bf0[_0xc6d9('0x16')][_0xc6d9('0x18')]);return _0x5b23f8(_0x102bf0['error'][_0xc6d9('0x18')]);}else{logger[_0xc6d9('0x19')](_0xc6d9('0x12'),_0x45f46c,_0xc6d9('0x13'));_0x5b23f8(_0x102bf0['result'][_0xc6d9('0x18')]);}})['catch'](function(_0xd961db){logger['error'](_0xc6d9('0x12'),_0x45f46c,_0xd961db);_0x2375e8(_0xd961db);});});}exports[_0xc6d9('0x1a')]=function(_0x426c3e){var _0x475ce2=this;return new Promise(function(_0x5d3e8c,_0x4f6b40){return db[_0xc6d9('0x1b')][_0xc6d9('0x1c')]({'raw':_0x426c3e[_0xc6d9('0x1d')]?_0x426c3e['options'][_0xc6d9('0x1e')]===undefined?!![]:![]:!![],'where':_0x426c3e[_0xc6d9('0x1d')]?_0x426c3e[_0xc6d9('0x1d')][_0xc6d9('0x1f')]||null:null,'attributes':_0x426c3e[_0xc6d9('0x1d')]?_0x426c3e['options'][_0xc6d9('0x20')]||null:null,'limit':_0x426c3e['options']?_0x426c3e[_0xc6d9('0x1d')]['limit']||null:null,'include':_0x426c3e[_0xc6d9('0x1d')]?_0x426c3e[_0xc6d9('0x1d')]['include']?_[_0xc6d9('0x21')](_0x426c3e[_0xc6d9('0x1d')][_0xc6d9('0x22')],function(_0x345d65){return{'model':db[_0x345d65[_0xc6d9('0x23')]],'as':_0x345d65['as'],'attributes':_0x345d65['attributes'],'include':_0x345d65[_0xc6d9('0x22')]?_[_0xc6d9('0x21')](_0x345d65[_0xc6d9('0x22')],function(_0x501ac6){return{'model':db[_0x501ac6[_0xc6d9('0x23')]],'as':_0x501ac6['as'],'attributes':_0x501ac6[_0xc6d9('0x20')],'include':_0x501ac6[_0xc6d9('0x22')]?_[_0xc6d9('0x21')](_0x501ac6[_0xc6d9('0x22')],function(_0x245633){return{'model':db[_0x245633[_0xc6d9('0x23')]],'as':_0x245633['as'],'attributes':_0x245633['attributes']};}):[]};}):[]};}):[]:[]})[_0xc6d9('0x11')](function(_0xb3d49e){logger[_0xc6d9('0x19')]('GetFaxQueue',_0x426c3e);logger['debug'](_0xc6d9('0x1a'),_0x426c3e,JSON[_0xc6d9('0x15')](_0xb3d49e));_0x5d3e8c(_0xb3d49e);})[_0xc6d9('0x24')](function(_0x134736){logger[_0xc6d9('0x16')](_0xc6d9('0x1a'),_0x134736[_0xc6d9('0x18')],_0x426c3e);_0x4f6b40(_0x475ce2[_0xc6d9('0x16')](0x1f4,_0x134736['message']));});});};exports[_0xc6d9('0x25')]=function(_0x11c770){var _0x483ac2=this;return new Promise(function(_0x16ffbb,_0x17f9c4){return db[_0xc6d9('0x1b')][_0xc6d9('0x26')]({'raw':_0x11c770[_0xc6d9('0x1d')]?_0x11c770['options'][_0xc6d9('0x1e')]===undefined?!![]:![]:!![],'where':_0x11c770['options']?_0x11c770['options'][_0xc6d9('0x1f')]||null:null,'attributes':_0x11c770[_0xc6d9('0x1d')]?_0x11c770['options'][_0xc6d9('0x20')]||null:null,'include':_0x11c770[_0xc6d9('0x1d')]?_0x11c770[_0xc6d9('0x1d')][_0xc6d9('0x22')]?_[_0xc6d9('0x21')](_0x11c770[_0xc6d9('0x1d')][_0xc6d9('0x22')],function(_0xe959ab){return{'model':db[_0xe959ab[_0xc6d9('0x23')]],'as':_0xe959ab['as'],'attributes':_0xe959ab[_0xc6d9('0x20')],'include':_0xe959ab[_0xc6d9('0x22')]?_[_0xc6d9('0x21')](_0xe959ab[_0xc6d9('0x22')],function(_0x353057){return{'model':db[_0x353057[_0xc6d9('0x23')]],'as':_0x353057['as'],'attributes':_0x353057[_0xc6d9('0x20')],'include':_0x353057[_0xc6d9('0x22')]?_[_0xc6d9('0x21')](_0x353057[_0xc6d9('0x22')],function(_0x3783d7){return{'model':db[_0x3783d7[_0xc6d9('0x23')]],'as':_0x3783d7['as'],'attributes':_0x3783d7['attributes']};}):[]};}):[]};}):[]:[]})['then'](function(_0x7371d4){logger['info']('ShowFaxQueue',_0x11c770);logger['debug'](_0xc6d9('0x25'),_0x11c770,JSON[_0xc6d9('0x15')](_0x7371d4));_0x16ffbb(_0x7371d4);})[_0xc6d9('0x24')](function(_0x3c4d03){logger[_0xc6d9('0x16')](_0xc6d9('0x25'),_0x3c4d03['message'],_0x11c770);_0x17f9c4(_0x483ac2[_0xc6d9('0x16')](0x1f4,_0x3c4d03[_0xc6d9('0x18')]));});});}; \ No newline at end of file +var _0xf0b7=['register','then','info','FaxQueue,\x20%s,\x20%s','request\x20sent','debug','FaxQueue,\x20%s,\x20%s,\x20%s','stringify','error','code','message','catch','GetFaxQueue','FaxQueue','options','raw','where','attributes','limit','include','map','model','ShowFaxQueue','find','lodash','util','moment','bluebird','randomstring','ioredis','../../config/utils','../../config/logger','rpc','../../config/environment','client','http','redis','socket.io-emitter'];(function(_0x1e4a8e,_0x18022b){var _0x5408f9=function(_0x4ef2ed){while(--_0x4ef2ed){_0x1e4a8e['push'](_0x1e4a8e['shift']());}};_0x5408f9(++_0x18022b);}(_0xf0b7,0xd6));var _0x7f0b=function(_0x17d9e3,_0x1f969c){_0x17d9e3=_0x17d9e3-0x0;var _0x14192d=_0xf0b7[_0x17d9e3];return _0x14192d;};'use strict';var _=require(_0x7f0b('0x0'));var util=require(_0x7f0b('0x1'));var moment=require(_0x7f0b('0x2'));var BPromise=require(_0x7f0b('0x3'));var rs=require(_0x7f0b('0x4'));var fs=require('fs');var Redis=require(_0x7f0b('0x5'));var db=require('../../mysqldb')['db'];var utils=require(_0x7f0b('0x6'));var logger=require(_0x7f0b('0x7'))(_0x7f0b('0x8'));var config=require(_0x7f0b('0x9'));var jayson=require('jayson/promise');var client=jayson[_0x7f0b('0xa')][_0x7f0b('0xb')]({'port':0x232a});config[_0x7f0b('0xc')]=_['defaults'](config[_0x7f0b('0xc')],{'host':'localhost','port':0x18eb});var socket=require(_0x7f0b('0xd'))(new Redis(config[_0x7f0b('0xc')]));require('./faxQueue.socket')[_0x7f0b('0xe')](socket);function respondWithRpcPromise(_0x4d13d5,_0x10a9f6,_0x4e48b3){return new BPromise(function(_0x29fae5,_0x49c8d9){return client['request'](_0x4d13d5,_0x4e48b3)[_0x7f0b('0xf')](function(_0x203887){logger[_0x7f0b('0x10')](_0x7f0b('0x11'),_0x10a9f6,_0x7f0b('0x12'));logger[_0x7f0b('0x13')](_0x7f0b('0x14'),_0x10a9f6,_0x7f0b('0x12'),JSON[_0x7f0b('0x15')](_0x203887));if(_0x203887[_0x7f0b('0x16')]){if(_0x203887[_0x7f0b('0x16')][_0x7f0b('0x17')]===0x1f4){logger['error'](_0x7f0b('0x11'),_0x10a9f6,_0x203887[_0x7f0b('0x16')][_0x7f0b('0x18')]);return _0x49c8d9(_0x203887[_0x7f0b('0x16')][_0x7f0b('0x18')]);}logger[_0x7f0b('0x16')](_0x7f0b('0x11'),_0x10a9f6,_0x203887[_0x7f0b('0x16')]['message']);return _0x29fae5(_0x203887[_0x7f0b('0x16')][_0x7f0b('0x18')]);}else{logger[_0x7f0b('0x10')](_0x7f0b('0x11'),_0x10a9f6,_0x7f0b('0x12'));_0x29fae5(_0x203887['result'][_0x7f0b('0x18')]);}})[_0x7f0b('0x19')](function(_0xaa8eda){logger['error']('FaxQueue,\x20%s,\x20%s',_0x10a9f6,_0xaa8eda);_0x49c8d9(_0xaa8eda);});});}exports[_0x7f0b('0x1a')]=function(_0x1cfe5b){var _0x204fa3=this;return new Promise(function(_0x4fc785,_0x3514df){return db[_0x7f0b('0x1b')]['findAll']({'raw':_0x1cfe5b[_0x7f0b('0x1c')]?_0x1cfe5b['options'][_0x7f0b('0x1d')]===undefined?!![]:![]:!![],'where':_0x1cfe5b[_0x7f0b('0x1c')]?_0x1cfe5b[_0x7f0b('0x1c')][_0x7f0b('0x1e')]||null:null,'attributes':_0x1cfe5b[_0x7f0b('0x1c')]?_0x1cfe5b[_0x7f0b('0x1c')][_0x7f0b('0x1f')]||null:null,'limit':_0x1cfe5b[_0x7f0b('0x1c')]?_0x1cfe5b['options'][_0x7f0b('0x20')]||null:null,'include':_0x1cfe5b[_0x7f0b('0x1c')]?_0x1cfe5b[_0x7f0b('0x1c')][_0x7f0b('0x21')]?_[_0x7f0b('0x22')](_0x1cfe5b['options'][_0x7f0b('0x21')],function(_0x2d810d){return{'model':db[_0x2d810d[_0x7f0b('0x23')]],'as':_0x2d810d['as'],'attributes':_0x2d810d[_0x7f0b('0x1f')],'include':_0x2d810d[_0x7f0b('0x21')]?_[_0x7f0b('0x22')](_0x2d810d[_0x7f0b('0x21')],function(_0x421481){return{'model':db[_0x421481[_0x7f0b('0x23')]],'as':_0x421481['as'],'attributes':_0x421481[_0x7f0b('0x1f')],'include':_0x421481[_0x7f0b('0x21')]?_[_0x7f0b('0x22')](_0x421481[_0x7f0b('0x21')],function(_0x4e3c8e){return{'model':db[_0x4e3c8e['model']],'as':_0x4e3c8e['as'],'attributes':_0x4e3c8e[_0x7f0b('0x1f')]};}):[]};}):[]};}):[]:[]})['then'](function(_0x53b3e4){logger[_0x7f0b('0x10')](_0x7f0b('0x1a'),_0x1cfe5b);logger['debug'](_0x7f0b('0x1a'),_0x1cfe5b,JSON[_0x7f0b('0x15')](_0x53b3e4));_0x4fc785(_0x53b3e4);})['catch'](function(_0x3a9c8b){logger[_0x7f0b('0x16')]('GetFaxQueue',_0x3a9c8b[_0x7f0b('0x18')],_0x1cfe5b);_0x3514df(_0x204fa3[_0x7f0b('0x16')](0x1f4,_0x3a9c8b[_0x7f0b('0x18')]));});});};exports[_0x7f0b('0x24')]=function(_0x2d352b){var _0x20fbaa=this;return new Promise(function(_0x3d07d9,_0x243e0c){return db[_0x7f0b('0x1b')][_0x7f0b('0x25')]({'raw':_0x2d352b['options']?_0x2d352b[_0x7f0b('0x1c')][_0x7f0b('0x1d')]===undefined?!![]:![]:!![],'where':_0x2d352b[_0x7f0b('0x1c')]?_0x2d352b[_0x7f0b('0x1c')][_0x7f0b('0x1e')]||null:null,'attributes':_0x2d352b[_0x7f0b('0x1c')]?_0x2d352b[_0x7f0b('0x1c')][_0x7f0b('0x1f')]||null:null,'include':_0x2d352b['options']?_0x2d352b['options'][_0x7f0b('0x21')]?_['map'](_0x2d352b[_0x7f0b('0x1c')]['include'],function(_0x5a338c){return{'model':db[_0x5a338c[_0x7f0b('0x23')]],'as':_0x5a338c['as'],'attributes':_0x5a338c[_0x7f0b('0x1f')],'include':_0x5a338c[_0x7f0b('0x21')]?_[_0x7f0b('0x22')](_0x5a338c[_0x7f0b('0x21')],function(_0xc9a7cd){return{'model':db[_0xc9a7cd[_0x7f0b('0x23')]],'as':_0xc9a7cd['as'],'attributes':_0xc9a7cd[_0x7f0b('0x1f')],'include':_0xc9a7cd[_0x7f0b('0x21')]?_[_0x7f0b('0x22')](_0xc9a7cd[_0x7f0b('0x21')],function(_0x1857e2){return{'model':db[_0x1857e2['model']],'as':_0x1857e2['as'],'attributes':_0x1857e2[_0x7f0b('0x1f')]};}):[]};}):[]};}):[]:[]})[_0x7f0b('0xf')](function(_0x403170){logger[_0x7f0b('0x10')](_0x7f0b('0x24'),_0x2d352b);logger[_0x7f0b('0x13')](_0x7f0b('0x24'),_0x2d352b,JSON[_0x7f0b('0x15')](_0x403170));_0x3d07d9(_0x403170);})['catch'](function(_0x2a22b1){logger[_0x7f0b('0x16')]('ShowFaxQueue',_0x2a22b1[_0x7f0b('0x18')],_0x2d352b);_0x243e0c(_0x20fbaa[_0x7f0b('0x16')](0x1f4,_0x2a22b1[_0x7f0b('0x18')]));});});}; \ No newline at end of file diff --git a/server/api/faxQueue/faxQueue.socket.js b/server/api/faxQueue/faxQueue.socket.js index 51f108d..814151e 100644 --- a/server/api/faxQueue/faxQueue.socket.js +++ b/server/api/faxQueue/faxQueue.socket.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xc2a3=['register','length','faxQueue:','save','remove','update','emit','removeListener'];(function(_0x36a4ef,_0x19c19a){var _0x559f46=function(_0x4eaf4f){while(--_0x4eaf4f){_0x36a4ef['push'](_0x36a4ef['shift']());}};_0x559f46(++_0x19c19a);}(_0xc2a3,0x15b));var _0x3c2a=function(_0x3c5f8d,_0x39891f){_0x3c5f8d=_0x3c5f8d-0x0;var _0x3b7beb=_0xc2a3[_0x3c5f8d];return _0x3b7beb;};'use strict';var FaxQueueEvents=require('./faxQueue.events');var events=[_0x3c2a('0x0'),_0x3c2a('0x1'),_0x3c2a('0x2')];function createListener(_0x13f0c6,_0x5b6ffb){return function(_0x32d723){_0x5b6ffb[_0x3c2a('0x3')](_0x13f0c6,_0x32d723);};}function removeListener(_0x12bd1e,_0x47f17b){return function(){FaxQueueEvents[_0x3c2a('0x4')](_0x12bd1e,_0x47f17b);};}exports[_0x3c2a('0x5')]=function(_0x10fc4c){for(var _0x271baa=0x0,_0x324396=events[_0x3c2a('0x6')];_0x271baa<_0x324396;_0x271baa++){var _0x43cf2f=events[_0x271baa];var _0x4a26a7=createListener(_0x3c2a('0x7')+_0x43cf2f,_0x10fc4c);FaxQueueEvents['on'](_0x43cf2f,_0x4a26a7);}}; \ No newline at end of file +var _0x6ca5=['emit','removeListener','register','length','faxQueue:','save','update'];(function(_0x3024f9,_0x159c17){var _0x813623=function(_0x5cbe32){while(--_0x5cbe32){_0x3024f9['push'](_0x3024f9['shift']());}};_0x813623(++_0x159c17);}(_0x6ca5,0x11d));var _0x56ca=function(_0x4d95df,_0x257ba7){_0x4d95df=_0x4d95df-0x0;var _0x15a962=_0x6ca5[_0x4d95df];return _0x15a962;};'use strict';var FaxQueueEvents=require('./faxQueue.events');var events=[_0x56ca('0x0'),'remove',_0x56ca('0x1')];function createListener(_0x3b3177,_0x1a64ae){return function(_0x243086){_0x1a64ae[_0x56ca('0x2')](_0x3b3177,_0x243086);};}function removeListener(_0x1e6940,_0x1587d5){return function(){FaxQueueEvents[_0x56ca('0x3')](_0x1e6940,_0x1587d5);};}exports[_0x56ca('0x4')]=function(_0x31fed2){for(var _0x2449b9=0x0,_0x776a29=events[_0x56ca('0x5')];_0x2449b9<_0x776a29;_0x2449b9++){var _0x5c2a19=events[_0x2449b9];var _0x306920=createListener(_0x56ca('0x6')+_0x5c2a19,_0x31fed2);FaxQueueEvents['on'](_0x5c2a19,_0x306920);}}; \ No newline at end of file diff --git a/server/api/faxQueue/index.js b/server/api/faxQueue/index.js index f64e180..74ee9a9 100644 --- a/server/api/faxQueue/index.js +++ b/server/api/faxQueue/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xb10b=['addTeams','addAgents','put','update','delete','destroy','removeTeams','removeAgents','multer','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./faxQueue.controller','get','isAuthenticated','/describe','describe','/:id','show','/:id/members','/:id/teams','getTeams','/:id/users','getAgents','post','create'];(function(_0x36dfbd,_0x5bfe2d){var _0x4ecad9=function(_0x5230da){while(--_0x5230da){_0x36dfbd['push'](_0x36dfbd['shift']());}};_0x4ecad9(++_0x5bfe2d);}(_0xb10b,0x12a));var _0xbb10=function(_0x27d675,_0x4f1135){_0x27d675=_0x27d675-0x0;var _0x35b1d5=_0xb10b[_0x27d675];return _0x35b1d5;};'use strict';var multer=require(_0xbb10('0x0'));var util=require('util');var path=require(_0xbb10('0x1'));var timeout=require(_0xbb10('0x2'));var express=require(_0xbb10('0x3'));var router=express['Router']();var auth=require(_0xbb10('0x4'));var interaction=require(_0xbb10('0x5'));var config=require(_0xbb10('0x6'));var controller=require(_0xbb10('0x7'));router[_0xbb10('0x8')]('/',auth[_0xbb10('0x9')](),controller['index']);router[_0xbb10('0x8')](_0xbb10('0xa'),auth['isAuthenticated'](),controller[_0xbb10('0xb')]);router[_0xbb10('0x8')](_0xbb10('0xc'),auth[_0xbb10('0x9')](),controller[_0xbb10('0xd')]);router[_0xbb10('0x8')](_0xbb10('0xe'),auth[_0xbb10('0x9')](),controller['getMembers']);router['get'](_0xbb10('0xf'),auth[_0xbb10('0x9')](),controller[_0xbb10('0x10')]);router['get'](_0xbb10('0x11'),auth['isAuthenticated'](),controller[_0xbb10('0x12')]);router[_0xbb10('0x13')]('/',auth[_0xbb10('0x9')](),controller[_0xbb10('0x14')]);router[_0xbb10('0x13')](_0xbb10('0xf'),auth['isAuthenticated'](),controller[_0xbb10('0x15')]);router[_0xbb10('0x13')](_0xbb10('0x11'),auth[_0xbb10('0x9')](),controller[_0xbb10('0x16')]);router[_0xbb10('0x17')](_0xbb10('0xc'),auth[_0xbb10('0x9')](),controller[_0xbb10('0x18')]);router[_0xbb10('0x19')]('/:id',auth[_0xbb10('0x9')](),controller[_0xbb10('0x1a')]);router[_0xbb10('0x19')](_0xbb10('0xf'),auth[_0xbb10('0x9')](),controller[_0xbb10('0x1b')]);router[_0xbb10('0x19')](_0xbb10('0x11'),auth[_0xbb10('0x9')](),controller[_0xbb10('0x1c')]);module['exports']=router; \ No newline at end of file +var _0x0b0e=['path','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./faxQueue.controller','get','isAuthenticated','index','/describe','/:id','show','/:id/members','/:id/teams','getTeams','/:id/users','getAgents','post','create','addTeams','put','update','destroy','delete','removeTeams','removeAgents','multer'];(function(_0x3dfeb9,_0x1cc6e4){var _0x412314=function(_0x321253){while(--_0x321253){_0x3dfeb9['push'](_0x3dfeb9['shift']());}};_0x412314(++_0x1cc6e4);}(_0x0b0e,0x187));var _0xe0b0=function(_0xcdac34,_0x43f665){_0xcdac34=_0xcdac34-0x0;var _0x269d23=_0x0b0e[_0xcdac34];return _0x269d23;};'use strict';var multer=require(_0xe0b0('0x0'));var util=require('util');var path=require(_0xe0b0('0x1'));var timeout=require('connect-timeout');var express=require(_0xe0b0('0x2'));var router=express[_0xe0b0('0x3')]();var auth=require(_0xe0b0('0x4'));var interaction=require(_0xe0b0('0x5'));var config=require(_0xe0b0('0x6'));var controller=require(_0xe0b0('0x7'));router[_0xe0b0('0x8')]('/',auth[_0xe0b0('0x9')](),controller[_0xe0b0('0xa')]);router[_0xe0b0('0x8')](_0xe0b0('0xb'),auth['isAuthenticated'](),controller['describe']);router[_0xe0b0('0x8')](_0xe0b0('0xc'),auth[_0xe0b0('0x9')](),controller[_0xe0b0('0xd')]);router['get'](_0xe0b0('0xe'),auth[_0xe0b0('0x9')](),controller['getMembers']);router[_0xe0b0('0x8')](_0xe0b0('0xf'),auth['isAuthenticated'](),controller[_0xe0b0('0x10')]);router[_0xe0b0('0x8')](_0xe0b0('0x11'),auth['isAuthenticated'](),controller[_0xe0b0('0x12')]);router[_0xe0b0('0x13')]('/',auth[_0xe0b0('0x9')](),controller[_0xe0b0('0x14')]);router[_0xe0b0('0x13')]('/:id/teams',auth[_0xe0b0('0x9')](),controller[_0xe0b0('0x15')]);router[_0xe0b0('0x13')](_0xe0b0('0x11'),auth[_0xe0b0('0x9')](),controller['addAgents']);router[_0xe0b0('0x16')]('/:id',auth[_0xe0b0('0x9')](),controller[_0xe0b0('0x17')]);router['delete'](_0xe0b0('0xc'),auth['isAuthenticated'](),controller[_0xe0b0('0x18')]);router[_0xe0b0('0x19')]('/:id/teams',auth['isAuthenticated'](),controller[_0xe0b0('0x1a')]);router['delete']('/:id/users',auth['isAuthenticated'](),controller[_0xe0b0('0x1b')]);module['exports']=router; \ No newline at end of file diff --git a/server/api/faxQueueReport/faxQueueReport.attributes.js b/server/api/faxQueueReport/faxQueueReport.attributes.js index 86baee4..3c0dc75 100644 --- a/server/api/faxQueueReport/faxQueueReport.attributes.js +++ b/server/api/faxQueueReport/faxQueueReport.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xde82=['STRING','DATE','sequelize'];(function(_0x9a85d0,_0x913165){var _0xd729a7=function(_0x3aee34){while(--_0x3aee34){_0x9a85d0['push'](_0x9a85d0['shift']());}};_0xd729a7(++_0x913165);}(_0xde82,0x80));var _0x2de8=function(_0x19365e,_0x3610ef){_0x19365e=_0x19365e-0x0;var _0x23b17f=_0xde82[_0x19365e];return _0x23b17f;};'use strict';var moment=require('moment');var Sequelize=require(_0x2de8('0x0'));module['exports']={'uniqueid':{'type':Sequelize[_0x2de8('0x1')],'allowNull':![]},'from':{'type':Sequelize['STRING']},'joinAt':{'type':Sequelize['DATE']},'leaveAt':{'type':Sequelize[_0x2de8('0x2')]},'acceptAt':{'type':Sequelize[_0x2de8('0x2')]},'exitAt':{'type':Sequelize[_0x2de8('0x2')]},'reason':{'type':Sequelize[_0x2de8('0x1')]}}; \ No newline at end of file +var _0xed37=['STRING','DATE','moment','sequelize'];(function(_0x419815,_0x370a6b){var _0x58d44b=function(_0x9516d2){while(--_0x9516d2){_0x419815['push'](_0x419815['shift']());}};_0x58d44b(++_0x370a6b);}(_0xed37,0x182));var _0x7ed3=function(_0x3ab51d,_0x2fa01d){_0x3ab51d=_0x3ab51d-0x0;var _0x29a04e=_0xed37[_0x3ab51d];return _0x29a04e;};'use strict';var moment=require(_0x7ed3('0x0'));var Sequelize=require(_0x7ed3('0x1'));module['exports']={'uniqueid':{'type':Sequelize[_0x7ed3('0x2')],'allowNull':![]},'from':{'type':Sequelize[_0x7ed3('0x2')]},'joinAt':{'type':Sequelize['DATE']},'leaveAt':{'type':Sequelize['DATE']},'acceptAt':{'type':Sequelize[_0x7ed3('0x3')]},'exitAt':{'type':Sequelize[_0x7ed3('0x3')]},'reason':{'type':Sequelize[_0x7ed3('0x2')]}}; \ No newline at end of file diff --git a/server/api/faxQueueReport/faxQueueReport.controller.js b/server/api/faxQueueReport/faxQueueReport.controller.js index eb2ebbf..76a4d73 100644 --- a/server/api/faxQueueReport/faxQueueReport.controller.js +++ b/server/api/faxQueueReport/faxQueueReport.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x7f94=['../../mysqldb','sendStatus','status','end','count','offset','limit','set','Content-Range','json','apply','reject','save','then','destroy','error','name','send','index','map','FaxQueueReport','rawAttributes','fieldName','type','key','model','keys','query','filters','intersection','fields','attributes','length','hasOwnProperty','nolimit','order','sort','where','pick','filter','merge','VIRTUAL','options','includeAll','include','findAll','rows','catch','show','params','find','create','body','update','describe','html-pdf','eml-format','zip-dir','request-promise','moment','bluebird','mustache','path','ejs','lodash','squel','crypto','jsforce','desk.js','to-csv','querystring','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','api','../../config/utils','../../config/environment'];(function(_0x22ea59,_0x387ed1){var _0x444611=function(_0x5b2fea){while(--_0x5b2fea){_0x22ea59['push'](_0x22ea59['shift']());}};_0x444611(++_0x387ed1);}(_0x7f94,0xd5));var _0x47f9=function(_0x432ead,_0x5cff8a){_0x432ead=_0x432ead-0x0;var _0x2c19d0=_0x7f94[_0x432ead];return _0x2c19d0;};'use strict';var pdf=require(_0x47f9('0x0'));var emlformat=require(_0x47f9('0x1'));var rimraf=require('rimraf');var zipdir=require(_0x47f9('0x2'));var jsonpatch=require('fast-json-patch');var rp=require(_0x47f9('0x3'));var moment=require(_0x47f9('0x4'));var BPromise=require(_0x47f9('0x5'));var Mustache=require(_0x47f9('0x6'));var util=require('util');var path=require(_0x47f9('0x7'));var sox=require('sox');var csv=require('to-csv');var ejs=require(_0x47f9('0x8'));var fs=require('fs');var _=require(_0x47f9('0x9'));var squel=require(_0x47f9('0xa'));var crypto=require(_0x47f9('0xb'));var jsforce=require(_0x47f9('0xc'));var deskjs=require(_0x47f9('0xd'));var toCsv=require(_0x47f9('0xe'));var querystring=require(_0x47f9('0xf'));var Papa=require('papaparse');var Redis=require(_0x47f9('0x10'));var authService=require(_0x47f9('0x11'));var qs=require(_0x47f9('0x12'));var as=require(_0x47f9('0x13'));var hardwareService=require(_0x47f9('0x14'));var logger=require('../../config/logger')(_0x47f9('0x15'));var utils=require(_0x47f9('0x16'));var config=require(_0x47f9('0x17'));var db=require(_0x47f9('0x18'))['db'];function respondWithStatusCode(_0x2e3686,_0x1ddfc9){_0x1ddfc9=_0x1ddfc9||0xcc;return function(_0x10c80e){if(_0x10c80e){return _0x2e3686[_0x47f9('0x19')](_0x1ddfc9);}return _0x2e3686[_0x47f9('0x1a')](_0x1ddfc9)[_0x47f9('0x1b')]();};}function respondWithResult(_0x38991e,_0x4ec820){_0x4ec820=_0x4ec820||0xc8;return function(_0x485bac){if(_0x485bac){return _0x38991e[_0x47f9('0x1a')](_0x4ec820)['json'](_0x485bac);}};}function respondWithFilteredResult(_0x54f4d2,_0x41ce99){return function(_0x4f9ab6){if(_0x4f9ab6){var _0x4cf176=_0x4f9ab6[_0x47f9('0x1c')],_0x188aaa=_0x41ce99[_0x47f9('0x1d')],_0x1d9f0e=_0x41ce99[_0x47f9('0x1d')]+_0x41ce99[_0x47f9('0x1e')],_0x4ffe6f;if(_0x1d9f0e>=_0x4cf176){_0x1d9f0e=_0x4cf176;_0x4ffe6f=0xc8;}else{_0x4ffe6f=0xce;}_0x54f4d2[_0x47f9('0x1a')](_0x4ffe6f);return _0x54f4d2[_0x47f9('0x1f')](_0x47f9('0x20'),_0x188aaa+'-'+_0x1d9f0e+'/'+_0x4cf176)[_0x47f9('0x21')](_0x4f9ab6);}return null;};}function patchUpdates(_0x2d2b3a){return function(_0x53e368){try{jsonpatch[_0x47f9('0x22')](_0x53e368,_0x2d2b3a,!![]);}catch(_0x323c0f){return BPromise[_0x47f9('0x23')](_0x323c0f);}return _0x53e368[_0x47f9('0x24')]();};}function saveUpdates(_0x464b2a,_0x2582d3){return function(_0x3fe9fe){if(_0x3fe9fe){return _0x3fe9fe['update'](_0x464b2a)[_0x47f9('0x25')](function(_0x5c06d1){return _0x5c06d1;});}return null;};}function removeEntity(_0xbe5ccb,_0x58be88){return function(_0x3f3ce4){if(_0x3f3ce4){return _0x3f3ce4[_0x47f9('0x26')]()[_0x47f9('0x25')](function(){_0xbe5ccb['status'](0xcc)[_0x47f9('0x1b')]();});}};}function handleEntityNotFound(_0x336d5a,_0x552be4){return function(_0x550e6d){if(!_0x550e6d){_0x336d5a[_0x47f9('0x19')](0x194);}return _0x550e6d;};}function handleError(_0x4a3749,_0x5b717d){_0x5b717d=_0x5b717d||0x1f4;return function(_0x3d5222){logger[_0x47f9('0x27')](_0x3d5222['stack']);if(_0x3d5222[_0x47f9('0x28')]){delete _0x3d5222['name'];}_0x4a3749['status'](_0x5b717d)[_0x47f9('0x29')](_0x3d5222);};}exports[_0x47f9('0x2a')]=function(_0xe2c7df,_0x2815e5){var _0x2b07df={},_0x2d86a2={},_0x379afe={'count':0x0,'rows':[]};var _0x1c67c5=_[_0x47f9('0x2b')](db[_0x47f9('0x2c')][_0x47f9('0x2d')],function(_0x1b1abe){return{'name':_0x1b1abe[_0x47f9('0x2e')],'type':_0x1b1abe[_0x47f9('0x2f')][_0x47f9('0x30')]};});_0x2d86a2[_0x47f9('0x31')]=_[_0x47f9('0x2b')](_0x1c67c5,_0x47f9('0x28'));_0x2d86a2['query']=_[_0x47f9('0x32')](_0xe2c7df[_0x47f9('0x33')]);_0x2d86a2[_0x47f9('0x34')]=_[_0x47f9('0x35')](_0x2d86a2[_0x47f9('0x31')],_0x2d86a2[_0x47f9('0x33')]);_0x2b07df['attributes']=_[_0x47f9('0x35')](_0x2d86a2[_0x47f9('0x31')],qs['fields'](_0xe2c7df[_0x47f9('0x33')][_0x47f9('0x36')]));_0x2b07df[_0x47f9('0x37')]=_0x2b07df[_0x47f9('0x37')][_0x47f9('0x38')]?_0x2b07df['attributes']:_0x2d86a2[_0x47f9('0x31')];if(!_0xe2c7df['query'][_0x47f9('0x39')](_0x47f9('0x3a'))){_0x2b07df['limit']=qs[_0x47f9('0x1e')](_0xe2c7df[_0x47f9('0x33')][_0x47f9('0x1e')]);_0x2b07df[_0x47f9('0x1d')]=qs[_0x47f9('0x1d')](_0xe2c7df[_0x47f9('0x33')]['offset']);}_0x2b07df[_0x47f9('0x3b')]=qs[_0x47f9('0x3c')](_0xe2c7df['query'][_0x47f9('0x3c')]);_0x2b07df[_0x47f9('0x3d')]=qs[_0x47f9('0x34')](_[_0x47f9('0x3e')](_0xe2c7df[_0x47f9('0x33')],_0x2d86a2['filters']),_0x1c67c5);if(_0xe2c7df[_0x47f9('0x33')][_0x47f9('0x3f')]){_0x2b07df[_0x47f9('0x3d')]=_[_0x47f9('0x40')](_0x2b07df['where'],{'$or':_['map'](_0x1c67c5,function(_0x2a07d9){if(_0x2a07d9[_0x47f9('0x2f')]!==_0x47f9('0x41')){var _0xecd7fd={};_0xecd7fd[_0x2a07d9[_0x47f9('0x28')]]={'$like':'%'+_0xe2c7df['query'][_0x47f9('0x3f')]+'%'};return _0xecd7fd;}})});}_0x2b07df=_['merge']({},_0x2b07df,_0xe2c7df[_0x47f9('0x42')]);var _0x360a0d={'where':_0x2b07df[_0x47f9('0x3d')]};return db[_0x47f9('0x2c')][_0x47f9('0x1c')](_0x360a0d)[_0x47f9('0x25')](function(_0x6022f0){_0x379afe[_0x47f9('0x1c')]=_0x6022f0;if(_0xe2c7df['query'][_0x47f9('0x43')]){_0x2b07df[_0x47f9('0x44')]=[{'all':!![]}];}return db[_0x47f9('0x2c')][_0x47f9('0x45')](_0x2b07df);})[_0x47f9('0x25')](function(_0x13ca0c){_0x379afe[_0x47f9('0x46')]=_0x13ca0c;return _0x379afe;})[_0x47f9('0x25')](respondWithFilteredResult(_0x2815e5,_0x2b07df))[_0x47f9('0x47')](handleError(_0x2815e5,null));};exports[_0x47f9('0x48')]=function(_0xee8a2d,_0x5d9dab){var _0x53a812={'raw':!![],'where':{'id':_0xee8a2d[_0x47f9('0x49')]['id']}},_0x5c9d98={};_0x5c9d98[_0x47f9('0x31')]=_['keys'](db['FaxQueueReport'][_0x47f9('0x2d')]);_0x5c9d98[_0x47f9('0x33')]=_[_0x47f9('0x32')](_0xee8a2d[_0x47f9('0x33')]);_0x5c9d98[_0x47f9('0x34')]=_[_0x47f9('0x35')](_0x5c9d98[_0x47f9('0x31')],_0x5c9d98[_0x47f9('0x33')]);_0x53a812[_0x47f9('0x37')]=_['intersection'](_0x5c9d98['model'],qs[_0x47f9('0x36')](_0xee8a2d[_0x47f9('0x33')]['fields']));_0x53a812[_0x47f9('0x37')]=_0x53a812['attributes'][_0x47f9('0x38')]?_0x53a812[_0x47f9('0x37')]:_0x5c9d98[_0x47f9('0x31')];if(_0xee8a2d[_0x47f9('0x33')][_0x47f9('0x43')]){_0x53a812[_0x47f9('0x44')]=[{'all':!![]}];}_0x53a812=_[_0x47f9('0x40')]({},_0x53a812,_0xee8a2d['options']);return db['FaxQueueReport'][_0x47f9('0x4a')](_0x53a812)[_0x47f9('0x25')](handleEntityNotFound(_0x5d9dab,null))[_0x47f9('0x25')](respondWithResult(_0x5d9dab,null))[_0x47f9('0x47')](handleError(_0x5d9dab,null));};exports[_0x47f9('0x4b')]=function(_0x14b18f,_0x491d5d){return db[_0x47f9('0x2c')]['create'](_0x14b18f[_0x47f9('0x4c')],{})[_0x47f9('0x25')](respondWithResult(_0x491d5d,0xc9))[_0x47f9('0x47')](handleError(_0x491d5d,null));};exports[_0x47f9('0x4d')]=function(_0x58e7cd,_0x5bd0ba){if(_0x58e7cd[_0x47f9('0x4c')]['id']){delete _0x58e7cd['body']['id'];}return db[_0x47f9('0x2c')]['find']({'where':{'id':_0x58e7cd[_0x47f9('0x49')]['id']}})['then'](handleEntityNotFound(_0x5bd0ba,null))[_0x47f9('0x25')](saveUpdates(_0x58e7cd[_0x47f9('0x4c')],null))[_0x47f9('0x25')](respondWithResult(_0x5bd0ba,null))[_0x47f9('0x47')](handleError(_0x5bd0ba,null));};exports['destroy']=function(_0x3b0623,_0x534aeb){return db[_0x47f9('0x2c')][_0x47f9('0x4a')]({'where':{'id':_0x3b0623[_0x47f9('0x49')]['id']}})['then'](handleEntityNotFound(_0x534aeb,null))[_0x47f9('0x25')](removeEntity(_0x534aeb,null))[_0x47f9('0x47')](handleError(_0x534aeb,null));};exports[_0x47f9('0x4e')]=function(_0x152f79,_0x34b5af){return db[_0x47f9('0x2c')]['describe']()[_0x47f9('0x25')](respondWithResult(_0x34b5af,null))[_0x47f9('0x47')](handleError(_0x34b5af,null));}; \ No newline at end of file +var _0x87b3=['set','apply','save','update','then','destroy','error','name','index','FaxQueueReport','fieldName','type','key','map','query','keys','intersection','attributes','model','fields','nolimit','limit','order','sort','where','filters','filter','merge','VIRTUAL','options','include','findAll','rows','show','params','rawAttributes','includeAll','find','create','body','catch','describe','zip-dir','fast-json-patch','request-promise','bluebird','mustache','sox','to-csv','ejs','squel','crypto','desk.js','papaparse','ioredis','../../config/logger','../../config/utils','../../config/environment','../../mysqldb','sendStatus','status','end','json','count','offset'];(function(_0x432682,_0x253044){var _0x463d05=function(_0xa73403){while(--_0xa73403){_0x432682['push'](_0x432682['shift']());}};_0x463d05(++_0x253044);}(_0x87b3,0xed));var _0x387b=function(_0x297024,_0x584712){_0x297024=_0x297024-0x0;var _0x2437e6=_0x87b3[_0x297024];return _0x2437e6;};'use strict';var pdf=require('html-pdf');var emlformat=require('eml-format');var rimraf=require('rimraf');var zipdir=require(_0x387b('0x0'));var jsonpatch=require(_0x387b('0x1'));var rp=require(_0x387b('0x2'));var moment=require('moment');var BPromise=require(_0x387b('0x3'));var Mustache=require(_0x387b('0x4'));var util=require('util');var path=require('path');var sox=require(_0x387b('0x5'));var csv=require(_0x387b('0x6'));var ejs=require(_0x387b('0x7'));var fs=require('fs');var _=require('lodash');var squel=require(_0x387b('0x8'));var crypto=require(_0x387b('0x9'));var jsforce=require('jsforce');var deskjs=require(_0x387b('0xa'));var toCsv=require(_0x387b('0x6'));var querystring=require('querystring');var Papa=require(_0x387b('0xb'));var Redis=require(_0x387b('0xc'));var authService=require('../../components/auth/service');var qs=require('../../components/parsers/qs');var as=require('../../components/parsers/advancedSearch');var hardwareService=require('../../config/license/hardware');var logger=require(_0x387b('0xd'))('api');var utils=require(_0x387b('0xe'));var config=require(_0x387b('0xf'));var db=require(_0x387b('0x10'))['db'];function respondWithStatusCode(_0x53ed85,_0x4ea573){_0x4ea573=_0x4ea573||0xcc;return function(_0x371898){if(_0x371898){return _0x53ed85[_0x387b('0x11')](_0x4ea573);}return _0x53ed85[_0x387b('0x12')](_0x4ea573)[_0x387b('0x13')]();};}function respondWithResult(_0x50c1cd,_0x79a33e){_0x79a33e=_0x79a33e||0xc8;return function(_0x2d3f33){if(_0x2d3f33){return _0x50c1cd[_0x387b('0x12')](_0x79a33e)[_0x387b('0x14')](_0x2d3f33);}};}function respondWithFilteredResult(_0x242398,_0xafa7d3){return function(_0x819e82){if(_0x819e82){var _0x28fbf6=_0x819e82[_0x387b('0x15')],_0x22699b=_0xafa7d3['offset'],_0x33069d=_0xafa7d3[_0x387b('0x16')]+_0xafa7d3['limit'],_0x3fadf7;if(_0x33069d>=_0x28fbf6){_0x33069d=_0x28fbf6;_0x3fadf7=0xc8;}else{_0x3fadf7=0xce;}_0x242398['status'](_0x3fadf7);return _0x242398[_0x387b('0x17')]('Content-Range',_0x22699b+'-'+_0x33069d+'/'+_0x28fbf6)[_0x387b('0x14')](_0x819e82);}return null;};}function patchUpdates(_0x136c3f){return function(_0x484443){try{jsonpatch[_0x387b('0x18')](_0x484443,_0x136c3f,!![]);}catch(_0x1966cb){return BPromise['reject'](_0x1966cb);}return _0x484443[_0x387b('0x19')]();};}function saveUpdates(_0x417267,_0x237e24){return function(_0xb7da7d){if(_0xb7da7d){return _0xb7da7d[_0x387b('0x1a')](_0x417267)[_0x387b('0x1b')](function(_0x1cd634){return _0x1cd634;});}return null;};}function removeEntity(_0x255e54,_0x114581){return function(_0xf2d649){if(_0xf2d649){return _0xf2d649[_0x387b('0x1c')]()[_0x387b('0x1b')](function(){_0x255e54[_0x387b('0x12')](0xcc)[_0x387b('0x13')]();});}};}function handleEntityNotFound(_0x305b55,_0x237478){return function(_0x4eb9ce){if(!_0x4eb9ce){_0x305b55[_0x387b('0x11')](0x194);}return _0x4eb9ce;};}function handleError(_0x462ebd,_0x13d171){_0x13d171=_0x13d171||0x1f4;return function(_0x253209){logger[_0x387b('0x1d')](_0x253209['stack']);if(_0x253209[_0x387b('0x1e')]){delete _0x253209['name'];}_0x462ebd['status'](_0x13d171)['send'](_0x253209);};}exports[_0x387b('0x1f')]=function(_0x3b31bf,_0x3d9361){var _0x2d39fc={},_0x5f2c81={},_0x14da5b={'count':0x0,'rows':[]};var _0x3e6373=_['map'](db[_0x387b('0x20')]['rawAttributes'],function(_0x3b2818){return{'name':_0x3b2818[_0x387b('0x21')],'type':_0x3b2818[_0x387b('0x22')][_0x387b('0x23')]};});_0x5f2c81['model']=_[_0x387b('0x24')](_0x3e6373,_0x387b('0x1e'));_0x5f2c81[_0x387b('0x25')]=_[_0x387b('0x26')](_0x3b31bf[_0x387b('0x25')]);_0x5f2c81['filters']=_[_0x387b('0x27')](_0x5f2c81['model'],_0x5f2c81[_0x387b('0x25')]);_0x2d39fc[_0x387b('0x28')]=_[_0x387b('0x27')](_0x5f2c81[_0x387b('0x29')],qs[_0x387b('0x2a')](_0x3b31bf['query'][_0x387b('0x2a')]));_0x2d39fc[_0x387b('0x28')]=_0x2d39fc[_0x387b('0x28')]['length']?_0x2d39fc['attributes']:_0x5f2c81[_0x387b('0x29')];if(!_0x3b31bf['query']['hasOwnProperty'](_0x387b('0x2b'))){_0x2d39fc[_0x387b('0x2c')]=qs['limit'](_0x3b31bf[_0x387b('0x25')]['limit']);_0x2d39fc[_0x387b('0x16')]=qs[_0x387b('0x16')](_0x3b31bf['query'][_0x387b('0x16')]);}_0x2d39fc[_0x387b('0x2d')]=qs[_0x387b('0x2e')](_0x3b31bf[_0x387b('0x25')][_0x387b('0x2e')]);_0x2d39fc[_0x387b('0x2f')]=qs[_0x387b('0x30')](_['pick'](_0x3b31bf[_0x387b('0x25')],_0x5f2c81[_0x387b('0x30')]),_0x3e6373);if(_0x3b31bf[_0x387b('0x25')][_0x387b('0x31')]){_0x2d39fc[_0x387b('0x2f')]=_[_0x387b('0x32')](_0x2d39fc[_0x387b('0x2f')],{'$or':_[_0x387b('0x24')](_0x3e6373,function(_0x106c25){if(_0x106c25[_0x387b('0x22')]!==_0x387b('0x33')){var _0x2eee5b={};_0x2eee5b[_0x106c25[_0x387b('0x1e')]]={'$like':'%'+_0x3b31bf[_0x387b('0x25')][_0x387b('0x31')]+'%'};return _0x2eee5b;}})});}_0x2d39fc=_['merge']({},_0x2d39fc,_0x3b31bf[_0x387b('0x34')]);var _0x41d6f4={'where':_0x2d39fc[_0x387b('0x2f')]};return db['FaxQueueReport'][_0x387b('0x15')](_0x41d6f4)['then'](function(_0x40f163){_0x14da5b[_0x387b('0x15')]=_0x40f163;if(_0x3b31bf[_0x387b('0x25')]['includeAll']){_0x2d39fc[_0x387b('0x35')]=[{'all':!![]}];}return db['FaxQueueReport'][_0x387b('0x36')](_0x2d39fc);})[_0x387b('0x1b')](function(_0x1ab16b){_0x14da5b[_0x387b('0x37')]=_0x1ab16b;return _0x14da5b;})[_0x387b('0x1b')](respondWithFilteredResult(_0x3d9361,_0x2d39fc))['catch'](handleError(_0x3d9361,null));};exports[_0x387b('0x38')]=function(_0x212075,_0x44c969){var _0x30bb5d={'raw':!![],'where':{'id':_0x212075[_0x387b('0x39')]['id']}},_0x445381={};_0x445381[_0x387b('0x29')]=_['keys'](db['FaxQueueReport'][_0x387b('0x3a')]);_0x445381[_0x387b('0x25')]=_[_0x387b('0x26')](_0x212075[_0x387b('0x25')]);_0x445381['filters']=_[_0x387b('0x27')](_0x445381[_0x387b('0x29')],_0x445381[_0x387b('0x25')]);_0x30bb5d['attributes']=_[_0x387b('0x27')](_0x445381['model'],qs[_0x387b('0x2a')](_0x212075[_0x387b('0x25')]['fields']));_0x30bb5d[_0x387b('0x28')]=_0x30bb5d[_0x387b('0x28')]['length']?_0x30bb5d['attributes']:_0x445381['model'];if(_0x212075[_0x387b('0x25')][_0x387b('0x3b')]){_0x30bb5d['include']=[{'all':!![]}];}_0x30bb5d=_[_0x387b('0x32')]({},_0x30bb5d,_0x212075[_0x387b('0x34')]);return db[_0x387b('0x20')][_0x387b('0x3c')](_0x30bb5d)[_0x387b('0x1b')](handleEntityNotFound(_0x44c969,null))['then'](respondWithResult(_0x44c969,null))['catch'](handleError(_0x44c969,null));};exports[_0x387b('0x3d')]=function(_0x5b2990,_0x42b12c){return db[_0x387b('0x20')]['create'](_0x5b2990[_0x387b('0x3e')],{})[_0x387b('0x1b')](respondWithResult(_0x42b12c,0xc9))[_0x387b('0x3f')](handleError(_0x42b12c,null));};exports[_0x387b('0x1a')]=function(_0x38a8c8,_0x4d6e6f){if(_0x38a8c8[_0x387b('0x3e')]['id']){delete _0x38a8c8[_0x387b('0x3e')]['id'];}return db['FaxQueueReport']['find']({'where':{'id':_0x38a8c8[_0x387b('0x39')]['id']}})[_0x387b('0x1b')](handleEntityNotFound(_0x4d6e6f,null))[_0x387b('0x1b')](saveUpdates(_0x38a8c8[_0x387b('0x3e')],null))[_0x387b('0x1b')](respondWithResult(_0x4d6e6f,null))[_0x387b('0x3f')](handleError(_0x4d6e6f,null));};exports[_0x387b('0x1c')]=function(_0x5ba55e,_0x54c532){return db[_0x387b('0x20')][_0x387b('0x3c')]({'where':{'id':_0x5ba55e[_0x387b('0x39')]['id']}})[_0x387b('0x1b')](handleEntityNotFound(_0x54c532,null))[_0x387b('0x1b')](removeEntity(_0x54c532,null))[_0x387b('0x3f')](handleError(_0x54c532,null));};exports[_0x387b('0x40')]=function(_0x18e705,_0x3b64cc){return db[_0x387b('0x20')][_0x387b('0x40')]()[_0x387b('0x1b')](respondWithResult(_0x3b64cc,null))[_0x387b('0x3f')](handleError(_0x3b64cc,null));}; \ No newline at end of file diff --git a/server/api/faxQueueReport/faxQueueReport.model.js b/server/api/faxQueueReport/faxQueueReport.model.js index df15cad..2b24dd8 100644 --- a/server/api/faxQueueReport/faxQueueReport.model.js +++ b/server/api/faxQueueReport/faxQueueReport.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x2d5c=['../../config/logger','api','bluebird','request-promise','path','rimraf','./faxQueueReport.attributes','exports','define','FaxQueueReport','report_fax_queue','uniqueid','lodash','util'];(function(_0x24b21c,_0x40ac98){var _0x9e2f3a=function(_0x4c5fff){while(--_0x4c5fff){_0x24b21c['push'](_0x24b21c['shift']());}};_0x9e2f3a(++_0x40ac98);}(_0x2d5c,0x6e));var _0xc2d5=function(_0xb6e7c9,_0xfe9471){_0xb6e7c9=_0xb6e7c9-0x0;var _0x44b0b5=_0x2d5c[_0xb6e7c9];return _0x44b0b5;};'use strict';var _=require(_0xc2d5('0x0'));var util=require(_0xc2d5('0x1'));var logger=require(_0xc2d5('0x2'))(_0xc2d5('0x3'));var moment=require('moment');var BPromise=require(_0xc2d5('0x4'));var rp=require(_0xc2d5('0x5'));var fs=require('fs');var path=require(_0xc2d5('0x6'));var rimraf=require(_0xc2d5('0x7'));var config=require('../../config/environment');var attributes=require(_0xc2d5('0x8'));module[_0xc2d5('0x9')]=function(_0x3883b4,_0x345c46){return _0x3883b4[_0xc2d5('0xa')](_0xc2d5('0xb'),attributes,{'tableName':_0xc2d5('0xc'),'paranoid':![],'indexes':[{'name':_0xc2d5('0xd'),'fields':[_0xc2d5('0xd')]}],'timestamps':!![]});}; \ No newline at end of file +var _0x4fff=['api','moment','bluebird','request-promise','path','rimraf','exports','define','FaxQueueReport','report_fax_queue','uniqueid','lodash'];(function(_0x58252d,_0x2070b3){var _0x55a98c=function(_0x4a2a1e){while(--_0x4a2a1e){_0x58252d['push'](_0x58252d['shift']());}};_0x55a98c(++_0x2070b3);}(_0x4fff,0xb3));var _0xf4ff=function(_0x2dafbe,_0x5d04de){_0x2dafbe=_0x2dafbe-0x0;var _0x58a45a=_0x4fff[_0x2dafbe];return _0x58a45a;};'use strict';var _=require(_0xf4ff('0x0'));var util=require('util');var logger=require('../../config/logger')(_0xf4ff('0x1'));var moment=require(_0xf4ff('0x2'));var BPromise=require(_0xf4ff('0x3'));var rp=require(_0xf4ff('0x4'));var fs=require('fs');var path=require(_0xf4ff('0x5'));var rimraf=require(_0xf4ff('0x6'));var config=require('../../config/environment');var attributes=require('./faxQueueReport.attributes');module[_0xf4ff('0x7')]=function(_0x386575,_0x1e1c6a){return _0x386575[_0xf4ff('0x8')](_0xf4ff('0x9'),attributes,{'tableName':_0xf4ff('0xa'),'paranoid':![],'indexes':[{'name':_0xf4ff('0xb'),'fields':[_0xf4ff('0xb')]}],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/faxQueueReport/faxQueueReport.rpc.js b/server/api/faxQueueReport/faxQueueReport.rpc.js index 08a3847..79934ab 100644 --- a/server/api/faxQueueReport/faxQueueReport.rpc.js +++ b/server/api/faxQueueReport/faxQueueReport.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x1b72=['request','then','info','FaxQueueReport,\x20%s,\x20%s','debug','request\x20sent','stringify','error','code','message','result','catch','CreateFaxQueueReport','FaxQueueReport','create','body','options','update','raw','where','attributes','limit','UpdateFaxQueueReport','lodash','util','moment','randomstring','../../config/utils','rpc','../../config/environment','jayson/promise','client','http'];(function(_0x47f7ec,_0x369f9d){var _0x415101=function(_0x41317a){while(--_0x41317a){_0x47f7ec['push'](_0x47f7ec['shift']());}};_0x415101(++_0x369f9d);}(_0x1b72,0x1c4));var _0x21b7=function(_0x164eca,_0x555e28){_0x164eca=_0x164eca-0x0;var _0x2ce562=_0x1b72[_0x164eca];return _0x2ce562;};'use strict';var _=require(_0x21b7('0x0'));var util=require(_0x21b7('0x1'));var moment=require(_0x21b7('0x2'));var BPromise=require('bluebird');var rs=require(_0x21b7('0x3'));var fs=require('fs');var Redis=require('ioredis');var db=require('../../mysqldb')['db'];var utils=require(_0x21b7('0x4'));var logger=require('../../config/logger')(_0x21b7('0x5'));var config=require(_0x21b7('0x6'));var jayson=require(_0x21b7('0x7'));var client=jayson[_0x21b7('0x8')][_0x21b7('0x9')]({'port':0x232a});function respondWithRpcPromise(_0x49f6a4,_0x595937,_0x501a8b){return new BPromise(function(_0x384340,_0x237743){return client[_0x21b7('0xa')](_0x49f6a4,_0x501a8b)[_0x21b7('0xb')](function(_0x52d820){logger[_0x21b7('0xc')](_0x21b7('0xd'),_0x595937,'request\x20sent');logger[_0x21b7('0xe')]('FaxQueueReport,\x20%s,\x20%s,\x20%s',_0x595937,_0x21b7('0xf'),JSON[_0x21b7('0x10')](_0x52d820));if(_0x52d820[_0x21b7('0x11')]){if(_0x52d820[_0x21b7('0x11')][_0x21b7('0x12')]===0x1f4){logger[_0x21b7('0x11')](_0x21b7('0xd'),_0x595937,_0x52d820[_0x21b7('0x11')][_0x21b7('0x13')]);return _0x237743(_0x52d820[_0x21b7('0x11')][_0x21b7('0x13')]);}logger[_0x21b7('0x11')](_0x21b7('0xd'),_0x595937,_0x52d820[_0x21b7('0x11')][_0x21b7('0x13')]);return _0x384340(_0x52d820['error'][_0x21b7('0x13')]);}else{logger[_0x21b7('0xc')](_0x21b7('0xd'),_0x595937,_0x21b7('0xf'));_0x384340(_0x52d820[_0x21b7('0x14')][_0x21b7('0x13')]);}})[_0x21b7('0x15')](function(_0x41dad4){logger[_0x21b7('0x11')](_0x21b7('0xd'),_0x595937,_0x41dad4);_0x237743(_0x41dad4);});});}exports[_0x21b7('0x16')]=function(_0x2353dd){var _0x495a74=this;return new Promise(function(_0x115418,_0x147134){return db[_0x21b7('0x17')][_0x21b7('0x18')](_0x2353dd[_0x21b7('0x19')],{'raw':_0x2353dd[_0x21b7('0x1a')]?_0x2353dd[_0x21b7('0x1a')]['raw']===undefined?!![]:![]:!![]})[_0x21b7('0xb')](function(_0x281cb4){logger['info'](_0x21b7('0x16'),_0x2353dd);logger[_0x21b7('0xe')](_0x21b7('0x16'),_0x2353dd,JSON[_0x21b7('0x10')](_0x281cb4));_0x115418(_0x281cb4);})[_0x21b7('0x15')](function(_0x12c254){logger['error']('CreateFaxQueueReport',_0x12c254['message'],_0x2353dd);_0x147134(_0x495a74['error'](0x1f4,_0x12c254[_0x21b7('0x13')]));});});};exports['UpdateFaxQueueReport']=function(_0x3b205b){var _0x50af81=this;return new Promise(function(_0x21d38a,_0x30c653){return db[_0x21b7('0x17')][_0x21b7('0x1b')](_0x3b205b['body'],{'raw':_0x3b205b[_0x21b7('0x1a')]?_0x3b205b[_0x21b7('0x1a')][_0x21b7('0x1c')]===undefined?!![]:![]:!![],'individualHooks':!![],'where':_0x3b205b[_0x21b7('0x1a')]?_0x3b205b[_0x21b7('0x1a')][_0x21b7('0x1d')]||null:null,'attributes':_0x3b205b['options']?_0x3b205b[_0x21b7('0x1a')][_0x21b7('0x1e')]||null:null,'limit':_0x3b205b[_0x21b7('0x1a')]?_0x3b205b[_0x21b7('0x1a')][_0x21b7('0x1f')]||null:null})[_0x21b7('0xb')](function(_0x5662fc){logger[_0x21b7('0xc')](_0x21b7('0x20'),_0x3b205b);logger['debug'](_0x21b7('0x20'),_0x3b205b,JSON[_0x21b7('0x10')](_0x5662fc));_0x21d38a(_0x5662fc);})[_0x21b7('0x15')](function(_0x7c9971){logger['error']('UpdateFaxQueueReport',_0x7c9971['message'],_0x3b205b);_0x30c653(_0x50af81[_0x21b7('0x11')](0x1f4,_0x7c9971[_0x21b7('0x13')]));});});}; \ No newline at end of file +var _0x287a=['limit','UpdateFaxQueueReport','util','moment','bluebird','randomstring','ioredis','../../mysqldb','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','client','info','FaxQueueReport,\x20%s,\x20%s','request\x20sent','debug','FaxQueueReport,\x20%s,\x20%s,\x20%s','stringify','error','message','catch','CreateFaxQueueReport','create','body','options','raw','then','FaxQueueReport','update','where'];(function(_0x38c584,_0xdfcac2){var _0xd8164b=function(_0x91fe76){while(--_0x91fe76){_0x38c584['push'](_0x38c584['shift']());}};_0xd8164b(++_0xdfcac2);}(_0x287a,0x142));var _0xa287=function(_0x61f279,_0x27bd94){_0x61f279=_0x61f279-0x0;var _0x49baa0=_0x287a[_0x61f279];return _0x49baa0;};'use strict';var _=require('lodash');var util=require(_0xa287('0x0'));var moment=require(_0xa287('0x1'));var BPromise=require(_0xa287('0x2'));var rs=require(_0xa287('0x3'));var fs=require('fs');var Redis=require(_0xa287('0x4'));var db=require(_0xa287('0x5'))['db'];var utils=require(_0xa287('0x6'));var logger=require(_0xa287('0x7'))(_0xa287('0x8'));var config=require(_0xa287('0x9'));var jayson=require(_0xa287('0xa'));var client=jayson[_0xa287('0xb')]['http']({'port':0x232a});function respondWithRpcPromise(_0x4ea1ef,_0xcb9206,_0x18ac20){return new BPromise(function(_0x2ce766,_0x43bec7){return client['request'](_0x4ea1ef,_0x18ac20)['then'](function(_0x18dfb1){logger[_0xa287('0xc')](_0xa287('0xd'),_0xcb9206,_0xa287('0xe'));logger[_0xa287('0xf')](_0xa287('0x10'),_0xcb9206,_0xa287('0xe'),JSON[_0xa287('0x11')](_0x18dfb1));if(_0x18dfb1[_0xa287('0x12')]){if(_0x18dfb1[_0xa287('0x12')]['code']===0x1f4){logger[_0xa287('0x12')](_0xa287('0xd'),_0xcb9206,_0x18dfb1[_0xa287('0x12')][_0xa287('0x13')]);return _0x43bec7(_0x18dfb1['error'][_0xa287('0x13')]);}logger[_0xa287('0x12')]('FaxQueueReport,\x20%s,\x20%s',_0xcb9206,_0x18dfb1[_0xa287('0x12')][_0xa287('0x13')]);return _0x2ce766(_0x18dfb1[_0xa287('0x12')][_0xa287('0x13')]);}else{logger[_0xa287('0xc')]('FaxQueueReport,\x20%s,\x20%s',_0xcb9206,_0xa287('0xe'));_0x2ce766(_0x18dfb1['result'][_0xa287('0x13')]);}})[_0xa287('0x14')](function(_0x45a621){logger[_0xa287('0x12')](_0xa287('0xd'),_0xcb9206,_0x45a621);_0x43bec7(_0x45a621);});});}exports[_0xa287('0x15')]=function(_0x4fde89){var _0x202e9a=this;return new Promise(function(_0x277a46,_0x459353){return db['FaxQueueReport'][_0xa287('0x16')](_0x4fde89[_0xa287('0x17')],{'raw':_0x4fde89[_0xa287('0x18')]?_0x4fde89[_0xa287('0x18')][_0xa287('0x19')]===undefined?!![]:![]:!![]})[_0xa287('0x1a')](function(_0x195b3c){logger['info'](_0xa287('0x15'),_0x4fde89);logger[_0xa287('0xf')](_0xa287('0x15'),_0x4fde89,JSON[_0xa287('0x11')](_0x195b3c));_0x277a46(_0x195b3c);})[_0xa287('0x14')](function(_0x1d2f8d){logger[_0xa287('0x12')](_0xa287('0x15'),_0x1d2f8d[_0xa287('0x13')],_0x4fde89);_0x459353(_0x202e9a[_0xa287('0x12')](0x1f4,_0x1d2f8d[_0xa287('0x13')]));});});};exports['UpdateFaxQueueReport']=function(_0x43ffcb){var _0x19d464=this;return new Promise(function(_0x21da9f,_0x2af030){return db[_0xa287('0x1b')][_0xa287('0x1c')](_0x43ffcb[_0xa287('0x17')],{'raw':_0x43ffcb[_0xa287('0x18')]?_0x43ffcb['options'][_0xa287('0x19')]===undefined?!![]:![]:!![],'individualHooks':!![],'where':_0x43ffcb[_0xa287('0x18')]?_0x43ffcb[_0xa287('0x18')][_0xa287('0x1d')]||null:null,'attributes':_0x43ffcb[_0xa287('0x18')]?_0x43ffcb[_0xa287('0x18')]['attributes']||null:null,'limit':_0x43ffcb[_0xa287('0x18')]?_0x43ffcb[_0xa287('0x18')][_0xa287('0x1e')]||null:null})[_0xa287('0x1a')](function(_0x2bac59){logger['info'](_0xa287('0x1f'),_0x43ffcb);logger[_0xa287('0xf')]('UpdateFaxQueueReport',_0x43ffcb,JSON[_0xa287('0x11')](_0x2bac59));_0x21da9f(_0x2bac59);})[_0xa287('0x14')](function(_0x49b9b9){logger[_0xa287('0x12')](_0xa287('0x1f'),_0x49b9b9[_0xa287('0x13')],_0x43ffcb);_0x2af030(_0x19d464[_0xa287('0x12')](0x1f4,_0x49b9b9['message']));});});}; \ No newline at end of file diff --git a/server/api/faxQueueReport/index.js b/server/api/faxQueueReport/index.js index 1fa5a97..f9be250 100644 --- a/server/api/faxQueueReport/index.js +++ b/server/api/faxQueueReport/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x91aa=['../../components/auth/service','../../components/interaction/service','./faxQueueReport.controller','get','isAuthenticated','index','/describe','describe','/:id','show','create','put','delete','exports','multer','util','path','express','Router'];(function(_0x2728ea,_0x4cc1a7){var _0x2e7456=function(_0x4e2ff6){while(--_0x4e2ff6){_0x2728ea['push'](_0x2728ea['shift']());}};_0x2e7456(++_0x4cc1a7);}(_0x91aa,0x177));var _0xa91a=function(_0x573548,_0x4af752){_0x573548=_0x573548-0x0;var _0x52c4ad=_0x91aa[_0x573548];return _0x52c4ad;};'use strict';var multer=require(_0xa91a('0x0'));var util=require(_0xa91a('0x1'));var path=require(_0xa91a('0x2'));var timeout=require('connect-timeout');var express=require(_0xa91a('0x3'));var router=express[_0xa91a('0x4')]();var auth=require(_0xa91a('0x5'));var interaction=require(_0xa91a('0x6'));var config=require('../../config/environment');var controller=require(_0xa91a('0x7'));router[_0xa91a('0x8')]('/',auth[_0xa91a('0x9')](),controller[_0xa91a('0xa')]);router[_0xa91a('0x8')](_0xa91a('0xb'),auth[_0xa91a('0x9')](),controller[_0xa91a('0xc')]);router[_0xa91a('0x8')](_0xa91a('0xd'),auth['isAuthenticated'](),controller[_0xa91a('0xe')]);router['post']('/',auth['isAuthenticated'](),controller[_0xa91a('0xf')]);router[_0xa91a('0x10')](_0xa91a('0xd'),auth[_0xa91a('0x9')](),controller['update']);router[_0xa91a('0x11')](_0xa91a('0xd'),auth['isAuthenticated'](),controller['destroy']);module[_0xa91a('0x12')]=router; \ No newline at end of file +var _0x7a6b=['get','isAuthenticated','index','/describe','/:id','show','create','put','update','delete','destroy','exports','multer','util','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./faxQueueReport.controller'];(function(_0x449d13,_0x3b27ce){var _0x447db1=function(_0x3127b4){while(--_0x3127b4){_0x449d13['push'](_0x449d13['shift']());}};_0x447db1(++_0x3b27ce);}(_0x7a6b,0x1ef));var _0xb7a6=function(_0x1518ae,_0x4ebcea){_0x1518ae=_0x1518ae-0x0;var _0x2fe15c=_0x7a6b[_0x1518ae];return _0x2fe15c;};'use strict';var multer=require(_0xb7a6('0x0'));var util=require(_0xb7a6('0x1'));var path=require(_0xb7a6('0x2'));var timeout=require(_0xb7a6('0x3'));var express=require('express');var router=express[_0xb7a6('0x4')]();var auth=require(_0xb7a6('0x5'));var interaction=require(_0xb7a6('0x6'));var config=require(_0xb7a6('0x7'));var controller=require(_0xb7a6('0x8'));router[_0xb7a6('0x9')]('/',auth[_0xb7a6('0xa')](),controller[_0xb7a6('0xb')]);router['get'](_0xb7a6('0xc'),auth['isAuthenticated'](),controller['describe']);router[_0xb7a6('0x9')](_0xb7a6('0xd'),auth[_0xb7a6('0xa')](),controller[_0xb7a6('0xe')]);router['post']('/',auth['isAuthenticated'](),controller[_0xb7a6('0xf')]);router[_0xb7a6('0x10')](_0xb7a6('0xd'),auth[_0xb7a6('0xa')](),controller[_0xb7a6('0x11')]);router[_0xb7a6('0x12')](_0xb7a6('0xd'),auth['isAuthenticated'](),controller[_0xb7a6('0x13')]);module[_0xb7a6('0x14')]=router; \ No newline at end of file diff --git a/server/api/faxTransferReport/faxTransferReport.attributes.js b/server/api/faxTransferReport/faxTransferReport.attributes.js index 2c02298..ce3ff7a 100644 --- a/server/api/faxTransferReport/faxTransferReport.attributes.js +++ b/server/api/faxTransferReport/faxTransferReport.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x5b94=['account','agent','queue','moment','sequelize','exports','ENUM'];(function(_0x111c3e,_0x9be64c){var _0x441c2f=function(_0x429e8e){while(--_0x429e8e){_0x111c3e['push'](_0x111c3e['shift']());}};_0x441c2f(++_0x9be64c);}(_0x5b94,0x1bc));var _0x45b9=function(_0xe73080,_0x24c56d){_0xe73080=_0xe73080-0x0;var _0x12cbc4=_0x5b94[_0xe73080];return _0x12cbc4;};'use strict';var moment=require(_0x45b9('0x0'));var Sequelize=require(_0x45b9('0x1'));module[_0x45b9('0x2')]={'uniqueid':{'type':Sequelize['STRING'],'allowNull':![]},'type':{'type':Sequelize[_0x45b9('0x3')](_0x45b9('0x4'),_0x45b9('0x5'),_0x45b9('0x6')),'allowNull':![],'defaultValue':_0x45b9('0x6')},'transferredAt':{'type':Sequelize['DATE'],'allowNull':![],'defaultValue':Sequelize['NOW']}}; \ No newline at end of file +var _0x38e1=['agent','queue','DATE','NOW','STRING','ENUM','account'];(function(_0x500419,_0x549162){var _0x241c1a=function(_0x3bea1a){while(--_0x3bea1a){_0x500419['push'](_0x500419['shift']());}};_0x241c1a(++_0x549162);}(_0x38e1,0x7b));var _0x138e=function(_0xf40de0,_0x227fa0){_0xf40de0=_0xf40de0-0x0;var _0x1c7008=_0x38e1[_0xf40de0];return _0x1c7008;};'use strict';var moment=require('moment');var Sequelize=require('sequelize');module['exports']={'uniqueid':{'type':Sequelize[_0x138e('0x0')],'allowNull':![]},'type':{'type':Sequelize[_0x138e('0x1')](_0x138e('0x2'),_0x138e('0x3'),'queue'),'allowNull':![],'defaultValue':_0x138e('0x4')},'transferredAt':{'type':Sequelize[_0x138e('0x5')],'allowNull':![],'defaultValue':Sequelize[_0x138e('0x6')]}}; \ No newline at end of file diff --git a/server/api/faxTransferReport/faxTransferReport.controller.js b/server/api/faxTransferReport/faxTransferReport.controller.js index 94653a7..b614773 100644 --- a/server/api/faxTransferReport/faxTransferReport.controller.js +++ b/server/api/faxTransferReport/faxTransferReport.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xb10b=['catch','show','params','includeAll','options','find','create','body','update','describe','html-pdf','rimraf','zip-dir','fast-json-patch','moment','bluebird','mustache','util','path','sox','ejs','lodash','crypto','jsforce','desk.js','to-csv','querystring','papaparse','ioredis','../../components/auth/service','../../config/license/hardware','../../config/logger','api','../../config/environment','sendStatus','status','end','json','count','offset','limit','set','Content-Range','reject','save','then','destroy','name','send','map','rawAttributes','fieldName','type','key','model','keys','filters','intersection','query','fields','attributes','length','hasOwnProperty','nolimit','order','sort','filter','where','merge','FaxTransferReport','include','rows'];(function(_0x2bf529,_0x2379f3){var _0xcc6296=function(_0x264000){while(--_0x264000){_0x2bf529['push'](_0x2bf529['shift']());}};_0xcc6296(++_0x2379f3);}(_0xb10b,0x12a));var _0xbb10=function(_0xba6b88,_0x4f1e92){_0xba6b88=_0xba6b88-0x0;var _0x575135=_0xb10b[_0xba6b88];return _0x575135;};'use strict';var pdf=require(_0xbb10('0x0'));var emlformat=require('eml-format');var rimraf=require(_0xbb10('0x1'));var zipdir=require(_0xbb10('0x2'));var jsonpatch=require(_0xbb10('0x3'));var rp=require('request-promise');var moment=require(_0xbb10('0x4'));var BPromise=require(_0xbb10('0x5'));var Mustache=require(_0xbb10('0x6'));var util=require(_0xbb10('0x7'));var path=require(_0xbb10('0x8'));var sox=require(_0xbb10('0x9'));var csv=require('to-csv');var ejs=require(_0xbb10('0xa'));var fs=require('fs');var _=require(_0xbb10('0xb'));var squel=require('squel');var crypto=require(_0xbb10('0xc'));var jsforce=require(_0xbb10('0xd'));var deskjs=require(_0xbb10('0xe'));var toCsv=require(_0xbb10('0xf'));var querystring=require(_0xbb10('0x10'));var Papa=require(_0xbb10('0x11'));var Redis=require(_0xbb10('0x12'));var authService=require(_0xbb10('0x13'));var qs=require('../../components/parsers/qs');var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0xbb10('0x14'));var logger=require(_0xbb10('0x15'))(_0xbb10('0x16'));var utils=require('../../config/utils');var config=require(_0xbb10('0x17'));var db=require('../../mysqldb')['db'];function respondWithStatusCode(_0x44fb19,_0x916a32){_0x916a32=_0x916a32||0xcc;return function(_0x285009){if(_0x285009){return _0x44fb19[_0xbb10('0x18')](_0x916a32);}return _0x44fb19[_0xbb10('0x19')](_0x916a32)[_0xbb10('0x1a')]();};}function respondWithResult(_0x58a612,_0x26e021){_0x26e021=_0x26e021||0xc8;return function(_0x42d7e4){if(_0x42d7e4){return _0x58a612[_0xbb10('0x19')](_0x26e021)[_0xbb10('0x1b')](_0x42d7e4);}};}function respondWithFilteredResult(_0x3df17b,_0x2f2ebf){return function(_0x24a57b){if(_0x24a57b){var _0x36b5e8=_0x24a57b[_0xbb10('0x1c')],_0x3e26f4=_0x2f2ebf[_0xbb10('0x1d')],_0x2b184e=_0x2f2ebf[_0xbb10('0x1d')]+_0x2f2ebf[_0xbb10('0x1e')],_0x4a2bfc;if(_0x2b184e>=_0x36b5e8){_0x2b184e=_0x36b5e8;_0x4a2bfc=0xc8;}else{_0x4a2bfc=0xce;}_0x3df17b[_0xbb10('0x19')](_0x4a2bfc);return _0x3df17b[_0xbb10('0x1f')](_0xbb10('0x20'),_0x3e26f4+'-'+_0x2b184e+'/'+_0x36b5e8)[_0xbb10('0x1b')](_0x24a57b);}return null;};}function patchUpdates(_0xbf2906){return function(_0xe1c665){try{jsonpatch['apply'](_0xe1c665,_0xbf2906,!![]);}catch(_0x5ff0cf){return BPromise[_0xbb10('0x21')](_0x5ff0cf);}return _0xe1c665[_0xbb10('0x22')]();};}function saveUpdates(_0x109908,_0xdf237d){return function(_0x44e563){if(_0x44e563){return _0x44e563['update'](_0x109908)[_0xbb10('0x23')](function(_0x12ef77){return _0x12ef77;});}return null;};}function removeEntity(_0x50aea1,_0x4c4b0d){return function(_0x8e2b97){if(_0x8e2b97){return _0x8e2b97[_0xbb10('0x24')]()[_0xbb10('0x23')](function(){_0x50aea1[_0xbb10('0x19')](0xcc)[_0xbb10('0x1a')]();});}};}function handleEntityNotFound(_0x1824b7,_0x407cb4){return function(_0x436104){if(!_0x436104){_0x1824b7[_0xbb10('0x18')](0x194);}return _0x436104;};}function handleError(_0x395404,_0x3ba6cd){_0x3ba6cd=_0x3ba6cd||0x1f4;return function(_0x26ad93){logger['error'](_0x26ad93['stack']);if(_0x26ad93['name']){delete _0x26ad93[_0xbb10('0x25')];}_0x395404[_0xbb10('0x19')](_0x3ba6cd)[_0xbb10('0x26')](_0x26ad93);};}exports['index']=function(_0x2fdde9,_0x24d586){var _0x6ed43b={},_0x1d5e95={},_0x1acce9={'count':0x0,'rows':[]};var _0x20d946=_[_0xbb10('0x27')](db['FaxTransferReport'][_0xbb10('0x28')],function(_0x21ac54){return{'name':_0x21ac54[_0xbb10('0x29')],'type':_0x21ac54[_0xbb10('0x2a')][_0xbb10('0x2b')]};});_0x1d5e95[_0xbb10('0x2c')]=_['map'](_0x20d946,_0xbb10('0x25'));_0x1d5e95['query']=_[_0xbb10('0x2d')](_0x2fdde9['query']);_0x1d5e95[_0xbb10('0x2e')]=_[_0xbb10('0x2f')](_0x1d5e95[_0xbb10('0x2c')],_0x1d5e95['query']);_0x6ed43b['attributes']=_[_0xbb10('0x2f')](_0x1d5e95[_0xbb10('0x2c')],qs['fields'](_0x2fdde9[_0xbb10('0x30')][_0xbb10('0x31')]));_0x6ed43b[_0xbb10('0x32')]=_0x6ed43b[_0xbb10('0x32')][_0xbb10('0x33')]?_0x6ed43b[_0xbb10('0x32')]:_0x1d5e95[_0xbb10('0x2c')];if(!_0x2fdde9['query'][_0xbb10('0x34')](_0xbb10('0x35'))){_0x6ed43b[_0xbb10('0x1e')]=qs[_0xbb10('0x1e')](_0x2fdde9[_0xbb10('0x30')][_0xbb10('0x1e')]);_0x6ed43b[_0xbb10('0x1d')]=qs[_0xbb10('0x1d')](_0x2fdde9[_0xbb10('0x30')]['offset']);}_0x6ed43b[_0xbb10('0x36')]=qs[_0xbb10('0x37')](_0x2fdde9[_0xbb10('0x30')][_0xbb10('0x37')]);_0x6ed43b['where']=qs[_0xbb10('0x2e')](_['pick'](_0x2fdde9['query'],_0x1d5e95[_0xbb10('0x2e')]),_0x20d946);if(_0x2fdde9[_0xbb10('0x30')][_0xbb10('0x38')]){_0x6ed43b[_0xbb10('0x39')]=_[_0xbb10('0x3a')](_0x6ed43b[_0xbb10('0x39')],{'$or':_['map'](_0x20d946,function(_0x1e5bbd){if(_0x1e5bbd[_0xbb10('0x2a')]!=='VIRTUAL'){var _0x5e3fbd={};_0x5e3fbd[_0x1e5bbd['name']]={'$like':'%'+_0x2fdde9[_0xbb10('0x30')][_0xbb10('0x38')]+'%'};return _0x5e3fbd;}})});}_0x6ed43b=_[_0xbb10('0x3a')]({},_0x6ed43b,_0x2fdde9['options']);var _0x3c0cd7={'where':_0x6ed43b[_0xbb10('0x39')]};return db[_0xbb10('0x3b')]['count'](_0x3c0cd7)[_0xbb10('0x23')](function(_0x12238a){_0x1acce9[_0xbb10('0x1c')]=_0x12238a;if(_0x2fdde9[_0xbb10('0x30')]['includeAll']){_0x6ed43b[_0xbb10('0x3c')]=[{'all':!![]}];}return db[_0xbb10('0x3b')]['findAll'](_0x6ed43b);})[_0xbb10('0x23')](function(_0x2e3214){_0x1acce9[_0xbb10('0x3d')]=_0x2e3214;return _0x1acce9;})[_0xbb10('0x23')](respondWithFilteredResult(_0x24d586,_0x6ed43b))[_0xbb10('0x3e')](handleError(_0x24d586,null));};exports[_0xbb10('0x3f')]=function(_0x5f3d67,_0x1e8f79){var _0x1c7fae={'raw':!![],'where':{'id':_0x5f3d67[_0xbb10('0x40')]['id']}},_0x3e7b4c={};_0x3e7b4c['model']=_[_0xbb10('0x2d')](db[_0xbb10('0x3b')][_0xbb10('0x28')]);_0x3e7b4c[_0xbb10('0x30')]=_['keys'](_0x5f3d67[_0xbb10('0x30')]);_0x3e7b4c[_0xbb10('0x2e')]=_['intersection'](_0x3e7b4c['model'],_0x3e7b4c[_0xbb10('0x30')]);_0x1c7fae['attributes']=_[_0xbb10('0x2f')](_0x3e7b4c[_0xbb10('0x2c')],qs['fields'](_0x5f3d67[_0xbb10('0x30')][_0xbb10('0x31')]));_0x1c7fae[_0xbb10('0x32')]=_0x1c7fae['attributes'][_0xbb10('0x33')]?_0x1c7fae[_0xbb10('0x32')]:_0x3e7b4c[_0xbb10('0x2c')];if(_0x5f3d67[_0xbb10('0x30')][_0xbb10('0x41')]){_0x1c7fae[_0xbb10('0x3c')]=[{'all':!![]}];}_0x1c7fae=_[_0xbb10('0x3a')]({},_0x1c7fae,_0x5f3d67[_0xbb10('0x42')]);return db[_0xbb10('0x3b')][_0xbb10('0x43')](_0x1c7fae)[_0xbb10('0x23')](handleEntityNotFound(_0x1e8f79,null))[_0xbb10('0x23')](respondWithResult(_0x1e8f79,null))['catch'](handleError(_0x1e8f79,null));};exports[_0xbb10('0x44')]=function(_0x41bbf8,_0x4a1248){return db[_0xbb10('0x3b')][_0xbb10('0x44')](_0x41bbf8[_0xbb10('0x45')],{})[_0xbb10('0x23')](respondWithResult(_0x4a1248,0xc9))[_0xbb10('0x3e')](handleError(_0x4a1248,null));};exports[_0xbb10('0x46')]=function(_0x3e06b0,_0x5be85e){if(_0x3e06b0['body']['id']){delete _0x3e06b0[_0xbb10('0x45')]['id'];}return db[_0xbb10('0x3b')][_0xbb10('0x43')]({'where':{'id':_0x3e06b0['params']['id']}})['then'](handleEntityNotFound(_0x5be85e,null))[_0xbb10('0x23')](saveUpdates(_0x3e06b0[_0xbb10('0x45')],null))[_0xbb10('0x23')](respondWithResult(_0x5be85e,null))[_0xbb10('0x3e')](handleError(_0x5be85e,null));};exports[_0xbb10('0x24')]=function(_0x22b315,_0x2f2552){return db[_0xbb10('0x3b')][_0xbb10('0x43')]({'where':{'id':_0x22b315[_0xbb10('0x40')]['id']}})['then'](handleEntityNotFound(_0x2f2552,null))['then'](removeEntity(_0x2f2552,null))[_0xbb10('0x3e')](handleError(_0x2f2552,null));};exports[_0xbb10('0x47')]=function(_0x36ab7d,_0xb014b0){return db[_0xbb10('0x3b')][_0xbb10('0x47')]()[_0xbb10('0x23')](respondWithResult(_0xb014b0,null))[_0xbb10('0x3e')](handleError(_0xb014b0,null));}; \ No newline at end of file +var _0x2ef3=['send','index','FaxTransferReport','rawAttributes','fieldName','type','key','model','query','keys','filters','intersection','attributes','fields','length','hasOwnProperty','offset','sort','pick','where','merge','map','VIRTUAL','filter','options','includeAll','include','findAll','rows','catch','show','find','create','body','params','describe','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','bluebird','mustache','path','sox','lodash','squel','crypto','jsforce','desk.js','to-csv','querystring','papaparse','ioredis','../../components/auth/service','../../config/license/hardware','../../config/logger','api','../../config/utils','../../mysqldb','sendStatus','status','json','count','limit','set','apply','reject','save','update','destroy','then','stack','name'];(function(_0x3aa737,_0x6a1a25){var _0x479c2e=function(_0x24b3c9){while(--_0x24b3c9){_0x3aa737['push'](_0x3aa737['shift']());}};_0x479c2e(++_0x6a1a25);}(_0x2ef3,0xba));var _0x32ef=function(_0x34a1e0,_0x4c30ba){_0x34a1e0=_0x34a1e0-0x0;var _0x69b52e=_0x2ef3[_0x34a1e0];return _0x69b52e;};'use strict';var pdf=require(_0x32ef('0x0'));var emlformat=require(_0x32ef('0x1'));var rimraf=require(_0x32ef('0x2'));var zipdir=require(_0x32ef('0x3'));var jsonpatch=require(_0x32ef('0x4'));var rp=require(_0x32ef('0x5'));var moment=require('moment');var BPromise=require(_0x32ef('0x6'));var Mustache=require(_0x32ef('0x7'));var util=require('util');var path=require(_0x32ef('0x8'));var sox=require(_0x32ef('0x9'));var csv=require('to-csv');var ejs=require('ejs');var fs=require('fs');var _=require(_0x32ef('0xa'));var squel=require(_0x32ef('0xb'));var crypto=require(_0x32ef('0xc'));var jsforce=require(_0x32ef('0xd'));var deskjs=require(_0x32ef('0xe'));var toCsv=require(_0x32ef('0xf'));var querystring=require(_0x32ef('0x10'));var Papa=require(_0x32ef('0x11'));var Redis=require(_0x32ef('0x12'));var authService=require(_0x32ef('0x13'));var qs=require('../../components/parsers/qs');var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0x32ef('0x14'));var logger=require(_0x32ef('0x15'))(_0x32ef('0x16'));var utils=require(_0x32ef('0x17'));var config=require('../../config/environment');var db=require(_0x32ef('0x18'))['db'];function respondWithStatusCode(_0x5afcc2,_0x1a5106){_0x1a5106=_0x1a5106||0xcc;return function(_0x49d590){if(_0x49d590){return _0x5afcc2[_0x32ef('0x19')](_0x1a5106);}return _0x5afcc2[_0x32ef('0x1a')](_0x1a5106)['end']();};}function respondWithResult(_0x539d18,_0x19ce1){_0x19ce1=_0x19ce1||0xc8;return function(_0x4d8009){if(_0x4d8009){return _0x539d18[_0x32ef('0x1a')](_0x19ce1)[_0x32ef('0x1b')](_0x4d8009);}};}function respondWithFilteredResult(_0x93d492,_0x54c7f5){return function(_0x57aff1){if(_0x57aff1){var _0x55bf0b=_0x57aff1[_0x32ef('0x1c')],_0x531e30=_0x54c7f5['offset'],_0x13db1a=_0x54c7f5['offset']+_0x54c7f5[_0x32ef('0x1d')],_0x3950e6;if(_0x13db1a>=_0x55bf0b){_0x13db1a=_0x55bf0b;_0x3950e6=0xc8;}else{_0x3950e6=0xce;}_0x93d492[_0x32ef('0x1a')](_0x3950e6);return _0x93d492[_0x32ef('0x1e')]('Content-Range',_0x531e30+'-'+_0x13db1a+'/'+_0x55bf0b)[_0x32ef('0x1b')](_0x57aff1);}return null;};}function patchUpdates(_0x33e230){return function(_0x4f4c98){try{jsonpatch[_0x32ef('0x1f')](_0x4f4c98,_0x33e230,!![]);}catch(_0x314ef1){return BPromise[_0x32ef('0x20')](_0x314ef1);}return _0x4f4c98[_0x32ef('0x21')]();};}function saveUpdates(_0x445cda,_0x3aec05){return function(_0x4de441){if(_0x4de441){return _0x4de441[_0x32ef('0x22')](_0x445cda)['then'](function(_0x309866){return _0x309866;});}return null;};}function removeEntity(_0x3a20ca,_0x49f2d8){return function(_0x1af371){if(_0x1af371){return _0x1af371[_0x32ef('0x23')]()[_0x32ef('0x24')](function(){_0x3a20ca['status'](0xcc)['end']();});}};}function handleEntityNotFound(_0x22f2d7,_0xb30fab){return function(_0x225feb){if(!_0x225feb){_0x22f2d7['sendStatus'](0x194);}return _0x225feb;};}function handleError(_0x59585f,_0x19ea6){_0x19ea6=_0x19ea6||0x1f4;return function(_0x4d584b){logger['error'](_0x4d584b[_0x32ef('0x25')]);if(_0x4d584b[_0x32ef('0x26')]){delete _0x4d584b[_0x32ef('0x26')];}_0x59585f[_0x32ef('0x1a')](_0x19ea6)[_0x32ef('0x27')](_0x4d584b);};}exports[_0x32ef('0x28')]=function(_0x1874ea,_0x38aed5){var _0x338f19={},_0x2f52d7={},_0x1335e2={'count':0x0,'rows':[]};var _0xba4b3f=_['map'](db[_0x32ef('0x29')][_0x32ef('0x2a')],function(_0x5a04cd){return{'name':_0x5a04cd[_0x32ef('0x2b')],'type':_0x5a04cd[_0x32ef('0x2c')][_0x32ef('0x2d')]};});_0x2f52d7[_0x32ef('0x2e')]=_['map'](_0xba4b3f,_0x32ef('0x26'));_0x2f52d7[_0x32ef('0x2f')]=_[_0x32ef('0x30')](_0x1874ea[_0x32ef('0x2f')]);_0x2f52d7[_0x32ef('0x31')]=_[_0x32ef('0x32')](_0x2f52d7[_0x32ef('0x2e')],_0x2f52d7['query']);_0x338f19[_0x32ef('0x33')]=_['intersection'](_0x2f52d7[_0x32ef('0x2e')],qs[_0x32ef('0x34')](_0x1874ea['query'][_0x32ef('0x34')]));_0x338f19[_0x32ef('0x33')]=_0x338f19[_0x32ef('0x33')][_0x32ef('0x35')]?_0x338f19[_0x32ef('0x33')]:_0x2f52d7['model'];if(!_0x1874ea['query'][_0x32ef('0x36')]('nolimit')){_0x338f19[_0x32ef('0x1d')]=qs[_0x32ef('0x1d')](_0x1874ea[_0x32ef('0x2f')][_0x32ef('0x1d')]);_0x338f19[_0x32ef('0x37')]=qs[_0x32ef('0x37')](_0x1874ea['query']['offset']);}_0x338f19['order']=qs[_0x32ef('0x38')](_0x1874ea[_0x32ef('0x2f')][_0x32ef('0x38')]);_0x338f19['where']=qs['filters'](_[_0x32ef('0x39')](_0x1874ea[_0x32ef('0x2f')],_0x2f52d7[_0x32ef('0x31')]),_0xba4b3f);if(_0x1874ea['query']['filter']){_0x338f19[_0x32ef('0x3a')]=_[_0x32ef('0x3b')](_0x338f19[_0x32ef('0x3a')],{'$or':_[_0x32ef('0x3c')](_0xba4b3f,function(_0x3a7c49){if(_0x3a7c49[_0x32ef('0x2c')]!==_0x32ef('0x3d')){var _0x21da90={};_0x21da90[_0x3a7c49[_0x32ef('0x26')]]={'$like':'%'+_0x1874ea['query'][_0x32ef('0x3e')]+'%'};return _0x21da90;}})});}_0x338f19=_[_0x32ef('0x3b')]({},_0x338f19,_0x1874ea[_0x32ef('0x3f')]);var _0x4b97dc={'where':_0x338f19[_0x32ef('0x3a')]};return db[_0x32ef('0x29')][_0x32ef('0x1c')](_0x4b97dc)[_0x32ef('0x24')](function(_0x1faf72){_0x1335e2[_0x32ef('0x1c')]=_0x1faf72;if(_0x1874ea[_0x32ef('0x2f')][_0x32ef('0x40')]){_0x338f19[_0x32ef('0x41')]=[{'all':!![]}];}return db[_0x32ef('0x29')][_0x32ef('0x42')](_0x338f19);})[_0x32ef('0x24')](function(_0x48e071){_0x1335e2[_0x32ef('0x43')]=_0x48e071;return _0x1335e2;})[_0x32ef('0x24')](respondWithFilteredResult(_0x38aed5,_0x338f19))[_0x32ef('0x44')](handleError(_0x38aed5,null));};exports[_0x32ef('0x45')]=function(_0x2f92f5,_0x2ca66b){var _0x3c0e44={'raw':!![],'where':{'id':_0x2f92f5['params']['id']}},_0x596d5a={};_0x596d5a[_0x32ef('0x2e')]=_[_0x32ef('0x30')](db[_0x32ef('0x29')][_0x32ef('0x2a')]);_0x596d5a['query']=_[_0x32ef('0x30')](_0x2f92f5[_0x32ef('0x2f')]);_0x596d5a['filters']=_[_0x32ef('0x32')](_0x596d5a['model'],_0x596d5a[_0x32ef('0x2f')]);_0x3c0e44[_0x32ef('0x33')]=_[_0x32ef('0x32')](_0x596d5a[_0x32ef('0x2e')],qs[_0x32ef('0x34')](_0x2f92f5[_0x32ef('0x2f')][_0x32ef('0x34')]));_0x3c0e44[_0x32ef('0x33')]=_0x3c0e44[_0x32ef('0x33')][_0x32ef('0x35')]?_0x3c0e44['attributes']:_0x596d5a[_0x32ef('0x2e')];if(_0x2f92f5['query'][_0x32ef('0x40')]){_0x3c0e44[_0x32ef('0x41')]=[{'all':!![]}];}_0x3c0e44=_[_0x32ef('0x3b')]({},_0x3c0e44,_0x2f92f5['options']);return db[_0x32ef('0x29')][_0x32ef('0x46')](_0x3c0e44)[_0x32ef('0x24')](handleEntityNotFound(_0x2ca66b,null))[_0x32ef('0x24')](respondWithResult(_0x2ca66b,null))[_0x32ef('0x44')](handleError(_0x2ca66b,null));};exports[_0x32ef('0x47')]=function(_0x12c9e6,_0x47dbe1){return db['FaxTransferReport'][_0x32ef('0x47')](_0x12c9e6[_0x32ef('0x48')],{})[_0x32ef('0x24')](respondWithResult(_0x47dbe1,0xc9))[_0x32ef('0x44')](handleError(_0x47dbe1,null));};exports[_0x32ef('0x22')]=function(_0xd67dc9,_0x44ad11){if(_0xd67dc9[_0x32ef('0x48')]['id']){delete _0xd67dc9[_0x32ef('0x48')]['id'];}return db[_0x32ef('0x29')][_0x32ef('0x46')]({'where':{'id':_0xd67dc9[_0x32ef('0x49')]['id']}})[_0x32ef('0x24')](handleEntityNotFound(_0x44ad11,null))['then'](saveUpdates(_0xd67dc9[_0x32ef('0x48')],null))[_0x32ef('0x24')](respondWithResult(_0x44ad11,null))[_0x32ef('0x44')](handleError(_0x44ad11,null));};exports[_0x32ef('0x23')]=function(_0x1cc9f3,_0x4353f0){return db[_0x32ef('0x29')][_0x32ef('0x46')]({'where':{'id':_0x1cc9f3[_0x32ef('0x49')]['id']}})[_0x32ef('0x24')](handleEntityNotFound(_0x4353f0,null))[_0x32ef('0x24')](removeEntity(_0x4353f0,null))[_0x32ef('0x44')](handleError(_0x4353f0,null));};exports[_0x32ef('0x4a')]=function(_0x326445,_0x307ac8){return db[_0x32ef('0x29')][_0x32ef('0x4a')]()[_0x32ef('0x24')](respondWithResult(_0x307ac8,null))['catch'](handleError(_0x307ac8,null));}; \ No newline at end of file diff --git a/server/api/faxTransferReport/faxTransferReport.model.js b/server/api/faxTransferReport/faxTransferReport.model.js index 9dcf408..8406e58 100644 --- a/server/api/faxTransferReport/faxTransferReport.model.js +++ b/server/api/faxTransferReport/faxTransferReport.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xd113=['./faxTransferReport.attributes','exports','define','FaxTransferReport','report_fax_transfer','uniqueid','lodash','util','api','moment','bluebird','request-promise','path','rimraf'];(function(_0x2ad80c,_0x362f1c){var _0xf1e29f=function(_0x58e119){while(--_0x58e119){_0x2ad80c['push'](_0x2ad80c['shift']());}};_0xf1e29f(++_0x362f1c);}(_0xd113,0x19c));var _0x3d11=function(_0x3a58ec,_0x4205bb){_0x3a58ec=_0x3a58ec-0x0;var _0x2e0660=_0xd113[_0x3a58ec];return _0x2e0660;};'use strict';var _=require(_0x3d11('0x0'));var util=require(_0x3d11('0x1'));var logger=require('../../config/logger')(_0x3d11('0x2'));var moment=require(_0x3d11('0x3'));var BPromise=require(_0x3d11('0x4'));var rp=require(_0x3d11('0x5'));var fs=require('fs');var path=require(_0x3d11('0x6'));var rimraf=require(_0x3d11('0x7'));var config=require('../../config/environment');var attributes=require(_0x3d11('0x8'));module[_0x3d11('0x9')]=function(_0x5424cc,_0x16220b){return _0x5424cc[_0x3d11('0xa')](_0x3d11('0xb'),attributes,{'tableName':_0x3d11('0xc'),'paranoid':![],'indexes':[{'name':_0x3d11('0xd'),'fields':[_0x3d11('0xd')]}],'timestamps':!![]});}; \ No newline at end of file +var _0x54c6=['bluebird','request-promise','path','rimraf','./faxTransferReport.attributes','exports','define','FaxTransferReport','report_fax_transfer','uniqueid','lodash','util','../../config/logger','api','moment'];(function(_0x5a6226,_0x48888f){var _0x4fcc40=function(_0x11aa25){while(--_0x11aa25){_0x5a6226['push'](_0x5a6226['shift']());}};_0x4fcc40(++_0x48888f);}(_0x54c6,0x127));var _0x654c=function(_0x3a9bce,_0x10c9ff){_0x3a9bce=_0x3a9bce-0x0;var _0x52ae32=_0x54c6[_0x3a9bce];return _0x52ae32;};'use strict';var _=require(_0x654c('0x0'));var util=require(_0x654c('0x1'));var logger=require(_0x654c('0x2'))(_0x654c('0x3'));var moment=require(_0x654c('0x4'));var BPromise=require(_0x654c('0x5'));var rp=require(_0x654c('0x6'));var fs=require('fs');var path=require(_0x654c('0x7'));var rimraf=require(_0x654c('0x8'));var config=require('../../config/environment');var attributes=require(_0x654c('0x9'));module[_0x654c('0xa')]=function(_0x439b87,_0x412359){return _0x439b87[_0x654c('0xb')](_0x654c('0xc'),attributes,{'tableName':_0x654c('0xd'),'paranoid':![],'indexes':[{'name':_0x654c('0xe'),'fields':[_0x654c('0xe')]}],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/faxTransferReport/faxTransferReport.rpc.js b/server/api/faxTransferReport/faxTransferReport.rpc.js index e643a8c..f65efda 100644 --- a/server/api/faxTransferReport/faxTransferReport.rpc.js +++ b/server/api/faxTransferReport/faxTransferReport.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x7702=['then','info','request\x20sent','debug','FaxTransferReport,\x20%s,\x20%s,\x20%s','stringify','error','code','message','FaxTransferReport,\x20%s,\x20%s','catch','lodash','bluebird','randomstring','ioredis','../../mysqldb','../../config/logger','jayson/promise','http','request'];(function(_0xcd8215,_0x405784){var _0xdd549d=function(_0x4bccb3){while(--_0x4bccb3){_0xcd8215['push'](_0xcd8215['shift']());}};_0xdd549d(++_0x405784);}(_0x7702,0x6f));var _0x2770=function(_0x34a234,_0x52c8f4){_0x34a234=_0x34a234-0x0;var _0x144448=_0x7702[_0x34a234];return _0x144448;};'use strict';var _=require(_0x2770('0x0'));var util=require('util');var moment=require('moment');var BPromise=require(_0x2770('0x1'));var rs=require(_0x2770('0x2'));var fs=require('fs');var Redis=require(_0x2770('0x3'));var db=require(_0x2770('0x4'))['db'];var utils=require('../../config/utils');var logger=require(_0x2770('0x5'))('rpc');var config=require('../../config/environment');var jayson=require(_0x2770('0x6'));var client=jayson['client'][_0x2770('0x7')]({'port':0x232a});function respondWithRpcPromise(_0x1b199e,_0x2c63b7,_0x13039b){return new BPromise(function(_0x1e61f7,_0x42ae8c){return client[_0x2770('0x8')](_0x1b199e,_0x13039b)[_0x2770('0x9')](function(_0x5b4339){logger[_0x2770('0xa')]('FaxTransferReport,\x20%s,\x20%s',_0x2c63b7,_0x2770('0xb'));logger[_0x2770('0xc')](_0x2770('0xd'),_0x2c63b7,_0x2770('0xb'),JSON[_0x2770('0xe')](_0x5b4339));if(_0x5b4339['error']){if(_0x5b4339[_0x2770('0xf')][_0x2770('0x10')]===0x1f4){logger[_0x2770('0xf')]('FaxTransferReport,\x20%s,\x20%s',_0x2c63b7,_0x5b4339[_0x2770('0xf')][_0x2770('0x11')]);return _0x42ae8c(_0x5b4339['error']['message']);}logger[_0x2770('0xf')](_0x2770('0x12'),_0x2c63b7,_0x5b4339['error'][_0x2770('0x11')]);return _0x1e61f7(_0x5b4339[_0x2770('0xf')][_0x2770('0x11')]);}else{logger[_0x2770('0xa')](_0x2770('0x12'),_0x2c63b7,'request\x20sent');_0x1e61f7(_0x5b4339['result'][_0x2770('0x11')]);}})[_0x2770('0x13')](function(_0x33e94d){logger[_0x2770('0xf')](_0x2770('0x12'),_0x2c63b7,_0x33e94d);_0x42ae8c(_0x33e94d);});});} \ No newline at end of file +var _0xbe7c=['jayson/promise','client','http','request','then','info','FaxTransferReport,\x20%s,\x20%s','debug','FaxTransferReport,\x20%s,\x20%s,\x20%s','request\x20sent','stringify','error','code','message','result','lodash','util','moment','bluebird','randomstring','ioredis','../../mysqldb','../../config/logger','rpc','../../config/environment'];(function(_0x27fa65,_0x19f047){var _0x274755=function(_0x246d33){while(--_0x246d33){_0x27fa65['push'](_0x27fa65['shift']());}};_0x274755(++_0x19f047);}(_0xbe7c,0x13b));var _0xcbe7=function(_0x4b369d,_0x265eb8){_0x4b369d=_0x4b369d-0x0;var _0x571a98=_0xbe7c[_0x4b369d];return _0x571a98;};'use strict';var _=require(_0xcbe7('0x0'));var util=require(_0xcbe7('0x1'));var moment=require(_0xcbe7('0x2'));var BPromise=require(_0xcbe7('0x3'));var rs=require(_0xcbe7('0x4'));var fs=require('fs');var Redis=require(_0xcbe7('0x5'));var db=require(_0xcbe7('0x6'))['db'];var utils=require('../../config/utils');var logger=require(_0xcbe7('0x7'))(_0xcbe7('0x8'));var config=require(_0xcbe7('0x9'));var jayson=require(_0xcbe7('0xa'));var client=jayson[_0xcbe7('0xb')][_0xcbe7('0xc')]({'port':0x232a});function respondWithRpcPromise(_0xd5ef0d,_0x40651d,_0x4c6397){return new BPromise(function(_0x4772f9,_0x10a5d7){return client[_0xcbe7('0xd')](_0xd5ef0d,_0x4c6397)[_0xcbe7('0xe')](function(_0x3b2428){logger[_0xcbe7('0xf')](_0xcbe7('0x10'),_0x40651d,'request\x20sent');logger[_0xcbe7('0x11')](_0xcbe7('0x12'),_0x40651d,_0xcbe7('0x13'),JSON[_0xcbe7('0x14')](_0x3b2428));if(_0x3b2428['error']){if(_0x3b2428[_0xcbe7('0x15')][_0xcbe7('0x16')]===0x1f4){logger[_0xcbe7('0x15')]('FaxTransferReport,\x20%s,\x20%s',_0x40651d,_0x3b2428[_0xcbe7('0x15')][_0xcbe7('0x17')]);return _0x10a5d7(_0x3b2428['error'][_0xcbe7('0x17')]);}logger[_0xcbe7('0x15')](_0xcbe7('0x10'),_0x40651d,_0x3b2428[_0xcbe7('0x15')][_0xcbe7('0x17')]);return _0x4772f9(_0x3b2428['error'][_0xcbe7('0x17')]);}else{logger['info'](_0xcbe7('0x10'),_0x40651d,'request\x20sent');_0x4772f9(_0x3b2428[_0xcbe7('0x18')][_0xcbe7('0x17')]);}})['catch'](function(_0x160c06){logger['error']('FaxTransferReport,\x20%s,\x20%s',_0x40651d,_0x160c06);_0x10a5d7(_0x160c06);});});} \ No newline at end of file diff --git a/server/api/faxTransferReport/index.js b/server/api/faxTransferReport/index.js index 65e7b84..9be55c4 100644 --- a/server/api/faxTransferReport/index.js +++ b/server/api/faxTransferReport/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xd760=['Router','../../components/auth/service','../../config/environment','./faxTransferReport.controller','get','index','/describe','isAuthenticated','describe','/:id','show','post','put','update','delete','exports','util','path','express'];(function(_0x5ddb1c,_0x5ea4df){var _0x354adc=function(_0x2dfb1f){while(--_0x2dfb1f){_0x5ddb1c['push'](_0x5ddb1c['shift']());}};_0x354adc(++_0x5ea4df);}(_0xd760,0xbb));var _0x0d76=function(_0x3fdd69,_0x321b8d){_0x3fdd69=_0x3fdd69-0x0;var _0xc39045=_0xd760[_0x3fdd69];return _0xc39045;};'use strict';var multer=require('multer');var util=require(_0x0d76('0x0'));var path=require(_0x0d76('0x1'));var timeout=require('connect-timeout');var express=require(_0x0d76('0x2'));var router=express[_0x0d76('0x3')]();var auth=require(_0x0d76('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x0d76('0x5'));var controller=require(_0x0d76('0x6'));router[_0x0d76('0x7')]('/',auth['isAuthenticated'](),controller[_0x0d76('0x8')]);router['get'](_0x0d76('0x9'),auth[_0x0d76('0xa')](),controller[_0x0d76('0xb')]);router['get'](_0x0d76('0xc'),auth['isAuthenticated'](),controller[_0x0d76('0xd')]);router[_0x0d76('0xe')]('/',auth[_0x0d76('0xa')](),controller['create']);router[_0x0d76('0xf')](_0x0d76('0xc'),auth[_0x0d76('0xa')](),controller[_0x0d76('0x10')]);router[_0x0d76('0x11')](_0x0d76('0xc'),auth[_0x0d76('0xa')](),controller['destroy']);module[_0x0d76('0x12')]=router; \ No newline at end of file +var _0xed71=['/describe','show','create','/:id','update','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','isAuthenticated','index','get'];(function(_0xc0a3d3,_0x2c8d00){var _0x3386e8=function(_0x3f9df4){while(--_0x3f9df4){_0xc0a3d3['push'](_0xc0a3d3['shift']());}};_0x3386e8(++_0x2c8d00);}(_0xed71,0x127));var _0x1ed7=function(_0x235482,_0x14b833){_0x235482=_0x235482-0x0;var _0x5f5bea=_0xed71[_0x235482];return _0x5f5bea;};'use strict';var multer=require(_0x1ed7('0x0'));var util=require(_0x1ed7('0x1'));var path=require(_0x1ed7('0x2'));var timeout=require(_0x1ed7('0x3'));var express=require(_0x1ed7('0x4'));var router=express[_0x1ed7('0x5')]();var auth=require(_0x1ed7('0x6'));var interaction=require(_0x1ed7('0x7'));var config=require('../../config/environment');var controller=require('./faxTransferReport.controller');router['get']('/',auth[_0x1ed7('0x8')](),controller[_0x1ed7('0x9')]);router[_0x1ed7('0xa')](_0x1ed7('0xb'),auth['isAuthenticated'](),controller['describe']);router[_0x1ed7('0xa')]('/:id',auth[_0x1ed7('0x8')](),controller[_0x1ed7('0xc')]);router['post']('/',auth[_0x1ed7('0x8')](),controller[_0x1ed7('0xd')]);router['put'](_0x1ed7('0xe'),auth[_0x1ed7('0x8')](),controller[_0x1ed7('0xf')]);router['delete'](_0x1ed7('0xe'),auth[_0x1ed7('0x8')](),controller['destroy']);module[_0x1ed7('0x10')]=router; \ No newline at end of file diff --git a/server/api/intDeskAccount/index.js b/server/api/intDeskAccount/index.js index 18a848c..454af2e 100644 --- a/server/api/intDeskAccount/index.js +++ b/server/api/intDeskAccount/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x9957=['../../config/environment','get','isAuthenticated','index','/:id','/:id/configurations','getConfigurations','/:id/fields','getFields','post','addConfiguration','put','update','delete','exports','multer','util','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service'];(function(_0x47aa64,_0xfb8a07){var _0x549c7a=function(_0x266165){while(--_0x266165){_0x47aa64['push'](_0x47aa64['shift']());}};_0x549c7a(++_0xfb8a07);}(_0x9957,0x93));var _0x7995=function(_0x5ddb1c,_0x5ea4df){_0x5ddb1c=_0x5ddb1c-0x0;var _0x354adc=_0x9957[_0x5ddb1c];return _0x354adc;};'use strict';var multer=require(_0x7995('0x0'));var util=require(_0x7995('0x1'));var path=require(_0x7995('0x2'));var timeout=require(_0x7995('0x3'));var express=require('express');var router=express[_0x7995('0x4')]();var auth=require(_0x7995('0x5'));var interaction=require(_0x7995('0x6'));var config=require(_0x7995('0x7'));var controller=require('./intDeskAccount.controller');router[_0x7995('0x8')]('/',auth[_0x7995('0x9')](),controller[_0x7995('0xa')]);router[_0x7995('0x8')](_0x7995('0xb'),auth[_0x7995('0x9')](),controller['show']);router[_0x7995('0x8')](_0x7995('0xc'),auth['isAuthenticated'](),controller[_0x7995('0xd')]);router[_0x7995('0x8')](_0x7995('0xe'),auth[_0x7995('0x9')](),controller[_0x7995('0xf')]);router[_0x7995('0x10')]('/',auth[_0x7995('0x9')](),controller['create']);router[_0x7995('0x10')](_0x7995('0xc'),auth['isAuthenticated'](),controller[_0x7995('0x11')]);router[_0x7995('0x12')](_0x7995('0xb'),auth[_0x7995('0x9')](),controller[_0x7995('0x13')]);router[_0x7995('0x14')](_0x7995('0xb'),auth['isAuthenticated'](),controller['destroy']);module[_0x7995('0x15')]=router; \ No newline at end of file +var _0x919e=['../../components/interaction/service','../../config/environment','./intDeskAccount.controller','get','isAuthenticated','index','show','/:id/configurations','getConfigurations','/:id/fields','getFields','post','put','/:id','exports','multer','util','path','express'];(function(_0x3af50d,_0x4890a7){var _0x547ffd=function(_0x446256){while(--_0x446256){_0x3af50d['push'](_0x3af50d['shift']());}};_0x547ffd(++_0x4890a7);}(_0x919e,0x1d7));var _0xe919=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0x919e[_0x14add3];return _0x4a174f;};'use strict';var multer=require(_0xe919('0x0'));var util=require(_0xe919('0x1'));var path=require(_0xe919('0x2'));var timeout=require('connect-timeout');var express=require(_0xe919('0x3'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require(_0xe919('0x4'));var config=require(_0xe919('0x5'));var controller=require(_0xe919('0x6'));router[_0xe919('0x7')]('/',auth[_0xe919('0x8')](),controller[_0xe919('0x9')]);router[_0xe919('0x7')]('/:id',auth[_0xe919('0x8')](),controller[_0xe919('0xa')]);router['get'](_0xe919('0xb'),auth['isAuthenticated'](),controller[_0xe919('0xc')]);router[_0xe919('0x7')](_0xe919('0xd'),auth['isAuthenticated'](),controller[_0xe919('0xe')]);router[_0xe919('0xf')]('/',auth[_0xe919('0x8')](),controller['create']);router[_0xe919('0xf')]('/:id/configurations',auth['isAuthenticated'](),controller['addConfiguration']);router[_0xe919('0x10')](_0xe919('0x11'),auth[_0xe919('0x8')](),controller['update']);router['delete'](_0xe919('0x11'),auth[_0xe919('0x8')](),controller['destroy']);module[_0xe919('0x12')]=router; \ No newline at end of file diff --git a/server/api/intDeskAccount/intDeskAccount.attributes.js b/server/api/intDeskAccount/intDeskAccount.attributes.js index e4184da..a021a53 100644 --- a/server/api/intDeskAccount/intDeskAccount.attributes.js +++ b/server/api/intDeskAccount/intDeskAccount.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xa321=['exports','STRING','ENUM','basic','integrationTab','newTab','sequelize'];(function(_0x23e40c,_0x8a4e9e){var _0x33bb04=function(_0x2f9e45){while(--_0x2f9e45){_0x23e40c['push'](_0x23e40c['shift']());}};_0x33bb04(++_0x8a4e9e);}(_0xa321,0x1bf));var _0x1a32=function(_0x17e174,_0x4991f8){_0x17e174=_0x17e174-0x0;var _0x3f26f1=_0xa321[_0x17e174];return _0x3f26f1;};'use strict';var Sequelize=require(_0x1a32('0x0'));module[_0x1a32('0x1')]={'name':{'type':Sequelize['STRING']},'description':{'type':Sequelize[_0x1a32('0x2')]},'username':{'type':Sequelize[_0x1a32('0x2')]},'remoteUri':{'type':Sequelize['STRING']},'authType':{'type':Sequelize[_0x1a32('0x3')]('basic'),'defaultValue':_0x1a32('0x4')},'password':{'type':Sequelize[_0x1a32('0x2')]},'consumerKey':{'type':Sequelize[_0x1a32('0x2')]},'consumerSecret':{'type':Sequelize['STRING']},'token':{'type':Sequelize['STRING']},'tokenSecret':{'type':Sequelize[_0x1a32('0x2')]},'serverUrl':{'type':Sequelize['STRING']},'type':{'type':Sequelize[_0x1a32('0x3')](_0x1a32('0x5'),_0x1a32('0x6')),'defaultValue':_0x1a32('0x5')}}; \ No newline at end of file +var _0x6f39=['newTab','integrationTab','exports','STRING','basic'];(function(_0x5a4cd0,_0x54ec81){var _0x29b93f=function(_0x5d56ec){while(--_0x5d56ec){_0x5a4cd0['push'](_0x5a4cd0['shift']());}};_0x29b93f(++_0x54ec81);}(_0x6f39,0xa7));var _0x96f3=function(_0x1bb812,_0x23eacc){_0x1bb812=_0x1bb812-0x0;var _0x372adb=_0x6f39[_0x1bb812];return _0x372adb;};'use strict';var Sequelize=require('sequelize');module[_0x96f3('0x0')]={'name':{'type':Sequelize['STRING']},'description':{'type':Sequelize[_0x96f3('0x1')]},'username':{'type':Sequelize[_0x96f3('0x1')]},'remoteUri':{'type':Sequelize['STRING']},'authType':{'type':Sequelize['ENUM']('basic'),'defaultValue':_0x96f3('0x2')},'password':{'type':Sequelize[_0x96f3('0x1')]},'consumerKey':{'type':Sequelize[_0x96f3('0x1')]},'consumerSecret':{'type':Sequelize[_0x96f3('0x1')]},'token':{'type':Sequelize[_0x96f3('0x1')]},'tokenSecret':{'type':Sequelize[_0x96f3('0x1')]},'serverUrl':{'type':Sequelize[_0x96f3('0x1')]},'type':{'type':Sequelize['ENUM']('integrationTab',_0x96f3('0x3')),'defaultValue':_0x96f3('0x4')}}; \ No newline at end of file diff --git a/server/api/intDeskAccount/intDeskAccount.controller.js b/server/api/intDeskAccount/intDeskAccount.controller.js index 6106f82..138e2fe 100644 --- a/server/api/intDeskAccount/intDeskAccount.controller.js +++ b/server/api/intDeskAccount/intDeskAccount.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x1340=['name','send','map','DeskAccount','rawAttributes','fieldName','type','key','query','keys','filters','intersection','model','fields','attributes','length','hasOwnProperty','nolimit','order','sort','where','pick','filter','merge','options','count','includeAll','include','rows','params','create','body','find','destroy','getConfigurations','findOne','addConfiguration','AccountId','Subjects','getSubjects','channel','getDescriptions','DeskConfiguration','DeskField','getFields','priority','remoteUri','authType','username','consumerKey','token','substring','lastIndexOf','GET','%s/custom_fields','application/json','basic','headers','Authorization','format','%s:%s','password','toString','base64','concat','_embedded','label','statusCode','getFields,\x20%s,\x20%s,\x20%s','Wrong\x20credentials','html-pdf','eml-format','fast-json-patch','request-promise','bluebird','mustache','util','path','sox','to-csv','ejs','lodash','squel','crypto','jsforce','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/advancedSearch','../../config/logger','api','../../config/utils','../../config/environment','jayson/promise','client','http','test','ValidationError','The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.','info','DeskAccount,\x20%s,\x20%s','request\x20sent','debug','DeskAccount,\x20%s,\x20%s,\x20%s','stringify','error','code','message','catch','sendStatus','status','json','offset','limit','set','Content-Range','apply','reject','save','update','then','end'];(function(_0x23826d,_0x37c294){var _0x50bb68=function(_0xa884d8){while(--_0xa884d8){_0x23826d['push'](_0x23826d['shift']());}};_0x50bb68(++_0x37c294);}(_0x1340,0x13e));var _0x0134=function(_0x2a43f3,_0x17aff5){_0x2a43f3=_0x2a43f3-0x0;var _0x38813a=_0x1340[_0x2a43f3];return _0x38813a;};'use strict';var pdf=require(_0x0134('0x0'));var emlformat=require(_0x0134('0x1'));var rimraf=require('rimraf');var zipdir=require('zip-dir');var jsonpatch=require(_0x0134('0x2'));var rp=require(_0x0134('0x3'));var moment=require('moment');var BPromise=require(_0x0134('0x4'));var Mustache=require(_0x0134('0x5'));var util=require(_0x0134('0x6'));var path=require(_0x0134('0x7'));var sox=require(_0x0134('0x8'));var csv=require(_0x0134('0x9'));var ejs=require(_0x0134('0xa'));var fs=require('fs');var _=require(_0x0134('0xb'));var squel=require(_0x0134('0xc'));var crypto=require(_0x0134('0xd'));var jsforce=require(_0x0134('0xe'));var deskjs=require(_0x0134('0xf'));var toCsv=require(_0x0134('0x9'));var querystring=require(_0x0134('0x10'));var Papa=require(_0x0134('0x11'));var Redis=require(_0x0134('0x12'));var authService=require(_0x0134('0x13'));var qs=require('../../components/parsers/qs');var as=require(_0x0134('0x14'));var hardwareService=require('../../config/license/hardware');var logger=require(_0x0134('0x15'))(_0x0134('0x16'));var utils=require(_0x0134('0x17'));var config=require(_0x0134('0x18'));var db=require('../../mysqldb')['db'];var integrations=require('../../components/integrations/configuration');var jayson=require(_0x0134('0x19'));var client=jayson[_0x0134('0x1a')][_0x0134('0x1b')]({'port':0x232a});function checkPasswordPattern(_0x169b44,_0x1a01bf,_0x5298bc){if(_0x5298bc){var _0x1ac478=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0x1ac478[_0x0134('0x1c')](_0x1a01bf)){return _0x169b44;}else{throw new db['Sequelize'][(_0x0134('0x1d'))](_0x0134('0x1e'));}}else{return _0x169b44;}}function respondWithRpcPromise(_0x1743ed,_0x3e5e1e,_0x50ee69,_0x51d629){return new BPromise(function(_0x4d15ec,_0x16c8cd){var _0x11fca5=_0x51d629||client;return _0x11fca5['request'](_0x1743ed,_0x50ee69)['then'](function(_0x2a91a7){logger[_0x0134('0x1f')](_0x0134('0x20'),_0x3e5e1e,_0x0134('0x21'));logger[_0x0134('0x22')](_0x0134('0x23'),_0x3e5e1e,_0x0134('0x21'),JSON[_0x0134('0x24')](_0x2a91a7));if(_0x2a91a7[_0x0134('0x25')]){if(_0x2a91a7['error'][_0x0134('0x26')]===0x1f4){logger[_0x0134('0x25')](_0x0134('0x20'),_0x3e5e1e,_0x2a91a7['error']['message']);return _0x16c8cd(_0x2a91a7['error'][_0x0134('0x27')]);}logger[_0x0134('0x25')](_0x0134('0x20'),_0x3e5e1e,_0x2a91a7[_0x0134('0x25')][_0x0134('0x27')]);return _0x4d15ec(_0x2a91a7[_0x0134('0x25')][_0x0134('0x27')]);}else{logger[_0x0134('0x1f')]('DeskAccount,\x20%s,\x20%s',_0x3e5e1e,_0x0134('0x21'));_0x4d15ec(_0x2a91a7['result'][_0x0134('0x27')]);}})[_0x0134('0x28')](function(_0x59d67d){logger[_0x0134('0x25')](_0x0134('0x20'),_0x3e5e1e,_0x59d67d);_0x16c8cd(_0x59d67d);});});}function respondWithStatusCode(_0x12ed05,_0xfd2ecf){_0xfd2ecf=_0xfd2ecf||0xcc;return function(_0x1ea746){if(_0x1ea746){return _0x12ed05[_0x0134('0x29')](_0xfd2ecf);}return _0x12ed05[_0x0134('0x2a')](_0xfd2ecf)['end']();};}function respondWithResult(_0x46bae3,_0x528427){_0x528427=_0x528427||0xc8;return function(_0x3fb6ce){if(_0x3fb6ce){return _0x46bae3['status'](_0x528427)[_0x0134('0x2b')](_0x3fb6ce);}};}function respondWithFilteredResult(_0xd7779,_0x42dcce){return function(_0x54ef8f){if(_0x54ef8f){var _0x2310ee=_0x54ef8f['count'],_0x1b294b=_0x42dcce[_0x0134('0x2c')],_0x3f1e41=_0x42dcce[_0x0134('0x2c')]+_0x42dcce[_0x0134('0x2d')],_0x445da4;if(_0x3f1e41>=_0x2310ee){_0x3f1e41=_0x2310ee;_0x445da4=0xc8;}else{_0x445da4=0xce;}_0xd7779[_0x0134('0x2a')](_0x445da4);return _0xd7779[_0x0134('0x2e')](_0x0134('0x2f'),_0x1b294b+'-'+_0x3f1e41+'/'+_0x2310ee)['json'](_0x54ef8f);}return null;};}function patchUpdates(_0x25b9a5){return function(_0xab327c){try{jsonpatch[_0x0134('0x30')](_0xab327c,_0x25b9a5,!![]);}catch(_0x48d741){return BPromise[_0x0134('0x31')](_0x48d741);}return _0xab327c[_0x0134('0x32')]();};}function saveUpdates(_0x435379,_0x58e7aa){return function(_0x391dca){if(_0x391dca){return _0x391dca[_0x0134('0x33')](_0x435379)['then'](function(_0x3fb380){return _0x3fb380;});}return null;};}function removeEntity(_0x3ea37d,_0x23c39a){return function(_0x342e90){if(_0x342e90){return _0x342e90['destroy']()[_0x0134('0x34')](function(){_0x3ea37d[_0x0134('0x2a')](0xcc)[_0x0134('0x35')]();});}};}function handleEntityNotFound(_0x4cb5d2,_0x13f954){return function(_0x3a2595){if(!_0x3a2595){_0x4cb5d2['sendStatus'](0x194);}return _0x3a2595;};}function handleError(_0x38fb35,_0xe814ca){_0xe814ca=_0xe814ca||0x1f4;return function(_0x20e4b4){logger[_0x0134('0x25')](_0x20e4b4['stack']);if(_0x20e4b4[_0x0134('0x36')]){delete _0x20e4b4[_0x0134('0x36')];}_0x38fb35['status'](_0xe814ca)[_0x0134('0x37')](_0x20e4b4);};}exports['index']=function(_0x5b63cf,_0x57c278){var _0x569312={},_0x43995e={},_0x49ccb9={'count':0x0,'rows':[]};var _0x51cc8b=_[_0x0134('0x38')](db[_0x0134('0x39')][_0x0134('0x3a')],function(_0x45cffc){return{'name':_0x45cffc[_0x0134('0x3b')],'type':_0x45cffc[_0x0134('0x3c')][_0x0134('0x3d')]};});_0x43995e['model']=_[_0x0134('0x38')](_0x51cc8b,'name');_0x43995e[_0x0134('0x3e')]=_[_0x0134('0x3f')](_0x5b63cf[_0x0134('0x3e')]);_0x43995e[_0x0134('0x40')]=_[_0x0134('0x41')](_0x43995e[_0x0134('0x42')],_0x43995e[_0x0134('0x3e')]);_0x569312['attributes']=_['intersection'](_0x43995e[_0x0134('0x42')],qs[_0x0134('0x43')](_0x5b63cf['query']['fields']));_0x569312[_0x0134('0x44')]=_0x569312[_0x0134('0x44')][_0x0134('0x45')]?_0x569312['attributes']:_0x43995e['model'];if(!_0x5b63cf[_0x0134('0x3e')][_0x0134('0x46')](_0x0134('0x47'))){_0x569312[_0x0134('0x2d')]=qs[_0x0134('0x2d')](_0x5b63cf[_0x0134('0x3e')][_0x0134('0x2d')]);_0x569312[_0x0134('0x2c')]=qs[_0x0134('0x2c')](_0x5b63cf['query'][_0x0134('0x2c')]);}_0x569312[_0x0134('0x48')]=qs[_0x0134('0x49')](_0x5b63cf['query'][_0x0134('0x49')]);_0x569312[_0x0134('0x4a')]=qs['filters'](_[_0x0134('0x4b')](_0x5b63cf[_0x0134('0x3e')],_0x43995e[_0x0134('0x40')]),_0x51cc8b);if(_0x5b63cf['query'][_0x0134('0x4c')]){_0x569312[_0x0134('0x4a')]=_[_0x0134('0x4d')](_0x569312['where'],{'$or':_[_0x0134('0x38')](_0x51cc8b,function(_0x5e3ef8){if(_0x5e3ef8[_0x0134('0x3c')]!=='VIRTUAL'){var _0x578387={};_0x578387[_0x5e3ef8[_0x0134('0x36')]]={'$like':'%'+_0x5b63cf[_0x0134('0x3e')][_0x0134('0x4c')]+'%'};return _0x578387;}})});}_0x569312=_[_0x0134('0x4d')]({},_0x569312,_0x5b63cf[_0x0134('0x4e')]);var _0x2aa420={'where':_0x569312[_0x0134('0x4a')]};return db[_0x0134('0x39')][_0x0134('0x4f')](_0x2aa420)[_0x0134('0x34')](function(_0xe80b4c){_0x49ccb9[_0x0134('0x4f')]=_0xe80b4c;if(_0x5b63cf[_0x0134('0x3e')][_0x0134('0x50')]){_0x569312[_0x0134('0x51')]=[{'all':!![]}];}return db['DeskAccount']['findAll'](_0x569312);})[_0x0134('0x34')](function(_0x343211){_0x49ccb9[_0x0134('0x52')]=_0x343211;return _0x49ccb9;})[_0x0134('0x34')](respondWithFilteredResult(_0x57c278,_0x569312))[_0x0134('0x28')](handleError(_0x57c278,null));};exports['show']=function(_0xfa187c,_0x128066){var _0x430384={'raw':![],'where':{'id':_0xfa187c[_0x0134('0x53')]['id']}},_0x30d95a={};_0x30d95a[_0x0134('0x42')]=_[_0x0134('0x3f')](db[_0x0134('0x39')][_0x0134('0x3a')]);_0x30d95a[_0x0134('0x3e')]=_[_0x0134('0x3f')](_0xfa187c[_0x0134('0x3e')]);_0x30d95a[_0x0134('0x40')]=_['intersection'](_0x30d95a[_0x0134('0x42')],_0x30d95a[_0x0134('0x3e')]);_0x430384[_0x0134('0x44')]=_[_0x0134('0x41')](_0x30d95a[_0x0134('0x42')],qs[_0x0134('0x43')](_0xfa187c[_0x0134('0x3e')][_0x0134('0x43')]));_0x430384[_0x0134('0x44')]=_0x430384['attributes'][_0x0134('0x45')]?_0x430384[_0x0134('0x44')]:_0x30d95a[_0x0134('0x42')];if(_0xfa187c[_0x0134('0x3e')][_0x0134('0x50')]){_0x430384['include']=[{'all':!![]}];}_0x430384=_[_0x0134('0x4d')]({},_0x430384,_0xfa187c[_0x0134('0x4e')]);return db[_0x0134('0x39')]['find'](_0x430384)[_0x0134('0x34')](handleEntityNotFound(_0x128066,null))[_0x0134('0x34')](respondWithResult(_0x128066,null))[_0x0134('0x28')](handleError(_0x128066,null));};exports['create']=function(_0x5ee4db,_0x3a6c58){return db[_0x0134('0x39')][_0x0134('0x54')](_0x5ee4db[_0x0134('0x55')],{})[_0x0134('0x34')](respondWithResult(_0x3a6c58,0xc9))[_0x0134('0x28')](handleError(_0x3a6c58,null));};exports[_0x0134('0x33')]=function(_0x4689b8,_0x7e4f3){if(_0x4689b8['body']['id']){delete _0x4689b8[_0x0134('0x55')]['id'];}return db['DeskAccount'][_0x0134('0x56')]({'where':{'id':_0x4689b8[_0x0134('0x53')]['id']}})[_0x0134('0x34')](handleEntityNotFound(_0x7e4f3,null))['then'](saveUpdates(_0x4689b8[_0x0134('0x55')],null))[_0x0134('0x34')](respondWithResult(_0x7e4f3,null))[_0x0134('0x28')](handleError(_0x7e4f3,null));};exports[_0x0134('0x57')]=function(_0x12dfb1,_0x4b25ab){return db[_0x0134('0x39')][_0x0134('0x56')]({'where':{'id':_0x12dfb1[_0x0134('0x53')]['id']}})['then'](handleEntityNotFound(_0x4b25ab,null))[_0x0134('0x34')](removeEntity(_0x4b25ab,null))[_0x0134('0x28')](handleError(_0x4b25ab,null));};exports[_0x0134('0x58')]=function(_0x58cf4e,_0x5ed253,_0x34c1d9){var _0x52dd31={};var _0x2d5f79={};var _0xc21048;var _0x50d4d5;return db[_0x0134('0x39')][_0x0134('0x59')]({'where':{'id':_0x58cf4e[_0x0134('0x53')]['id']}})['then'](handleEntityNotFound(_0x5ed253,null))['then'](function(_0xe669f8){if(_0xe669f8){_0xc21048=_0xe669f8;_0x2d5f79[_0x0134('0x42')]=_[_0x0134('0x3f')](db['DeskConfiguration'][_0x0134('0x3a')]);_0x2d5f79[_0x0134('0x3e')]=_[_0x0134('0x3f')](_0x58cf4e[_0x0134('0x3e')]);_0x2d5f79[_0x0134('0x40')]=_[_0x0134('0x41')](_0x2d5f79[_0x0134('0x42')],_0x2d5f79[_0x0134('0x3e')]);_0x52dd31[_0x0134('0x44')]=_['intersection'](_0x2d5f79[_0x0134('0x42')],qs[_0x0134('0x43')](_0x58cf4e[_0x0134('0x3e')][_0x0134('0x43')]));_0x52dd31['attributes']=_0x52dd31[_0x0134('0x44')][_0x0134('0x45')]?_0x52dd31[_0x0134('0x44')]:_0x2d5f79[_0x0134('0x42')];_0x52dd31[_0x0134('0x48')]=qs[_0x0134('0x49')](_0x58cf4e['query']['sort']);_0x52dd31[_0x0134('0x4a')]=qs[_0x0134('0x40')](_[_0x0134('0x4b')](_0x58cf4e[_0x0134('0x3e')],_0x2d5f79[_0x0134('0x40')]));if(_0x58cf4e['query'][_0x0134('0x4c')]){_0x52dd31[_0x0134('0x4a')]=_[_0x0134('0x4d')](_0x52dd31[_0x0134('0x4a')],{'$or':_['map'](_0x52dd31[_0x0134('0x44')],function(_0x1f22b5){var _0x139d7b={};_0x139d7b[_0x1f22b5]={'$like':'%'+_0x58cf4e[_0x0134('0x3e')][_0x0134('0x4c')]+'%'};return _0x139d7b;})});}_0x52dd31=_[_0x0134('0x4d')]({},_0x52dd31,_0x58cf4e[_0x0134('0x4e')]);return _0xc21048[_0x0134('0x58')](_0x52dd31);}})[_0x0134('0x34')](function(_0x24dc25){if(_0x24dc25){_0x50d4d5=_0x24dc25[_0x0134('0x45')];if(!_0x58cf4e['query'][_0x0134('0x46')](_0x0134('0x47'))){_0x52dd31[_0x0134('0x2d')]=qs['limit'](_0x58cf4e[_0x0134('0x3e')][_0x0134('0x2d')]);_0x52dd31[_0x0134('0x2c')]=qs['offset'](_0x58cf4e[_0x0134('0x3e')][_0x0134('0x2c')]);}return _0xc21048[_0x0134('0x58')](_0x52dd31);}})['then'](function(_0x2a4226){if(_0x2a4226){return _0x2a4226?{'count':_0x50d4d5,'rows':_0x2a4226}:null;}})[_0x0134('0x34')](respondWithResult(_0x5ed253,null))['catch'](handleError(_0x5ed253,null));};exports[_0x0134('0x5a')]=function(_0x5dbc6d,_0x2b89a9,_0x289cc4){if(_0x5dbc6d['body']['id']){delete _0x5dbc6d[_0x0134('0x55')]['id'];}return db[_0x0134('0x39')]['findOne']({'where':{'id':_0x5dbc6d[_0x0134('0x53')]['id']}})['then'](handleEntityNotFound(_0x2b89a9,null))['then'](function(_0x19f8bb){if(_0x19f8bb){_0x5dbc6d[_0x0134('0x55')][_0x0134('0x5b')]=_0x19f8bb['id'];_0x5dbc6d['body'][_0x0134('0x5c')]=integrations[_0x0134('0x5d')](_0x5dbc6d[_0x0134('0x55')][_0x0134('0x5e')],_0x5dbc6d[_0x0134('0x55')][_0x0134('0x3c')]);_0x5dbc6d[_0x0134('0x55')]['Descriptions']=integrations[_0x0134('0x5f')](_0x5dbc6d[_0x0134('0x55')][_0x0134('0x5e')],_0x5dbc6d['body'][_0x0134('0x3c')]);return db[_0x0134('0x60')]['create'](_0x5dbc6d['body'],{'include':[{'model':db['DeskField'],'as':_0x0134('0x5c')},{'model':db[_0x0134('0x61')],'as':'Descriptions'}]});}return null;})[_0x0134('0x34')](respondWithResult(_0x2b89a9,null))[_0x0134('0x28')](handleError(_0x2b89a9,null));};exports[_0x0134('0x62')]=function(_0x20fad4,_0x2b464d,_0x4a0cf0){var _0x35a455=[{'name':_0x0134('0x63'),'label':_0x0134('0x63'),'custom':![],'options':[{'name':0x1,'value':0x1},{'name':0x2,'value':0x2},{'name':0x3,'value':0x3},{'name':0x4,'value':0x4},{'name':0x5,'value':0x5},{'name':0x6,'value':0x6},{'name':0x7,'value':0x7},{'name':0x8,'value':0x8},{'name':0x9,'value':0x9},{'name':0xa,'value':0xa}]}];var _0x2f54af='';return db['DeskAccount'][_0x0134('0x59')]({'where':{'id':_0x20fad4[_0x0134('0x53')]['id']},'attributes':['id',_0x0134('0x64'),_0x0134('0x65'),_0x0134('0x66'),'password',_0x0134('0x67'),'consumerSecret',_0x0134('0x68'),'tokenSecret']})[_0x0134('0x34')](handleEntityNotFound(_0x2b464d,null))['then'](function(_0x4b53fa){if(_0x4b53fa){_0x2f54af=_0x4b53fa[_0x0134('0x64')];var _0x30a4c6=_0x2f54af['slice'](-0x1);if(_0x30a4c6==='/'){_0x2f54af=_0x2f54af[_0x0134('0x69')](0x0,_0x2f54af[_0x0134('0x6a')](_0x30a4c6));}var _0x4dc268={'method':_0x0134('0x6b'),'uri':util['format'](_0x0134('0x6c'),_0x2f54af),'headers':{'Content-Type':'application/json','Accept':_0x0134('0x6d')},'json':!![]};if(_0x4b53fa['authType']===_0x0134('0x6e')){_0x4dc268[_0x0134('0x6f')][_0x0134('0x70')]=util[_0x0134('0x71')]('Basic\x20%s',new Buffer(util['format'](_0x0134('0x72'),_0x4b53fa['username'],_0x4b53fa[_0x0134('0x73')]))[_0x0134('0x74')](_0x0134('0x75')));}return rp(_0x4dc268)['then'](function(_0x36f652){return _0x35a455[_0x0134('0x76')](_[_0x0134('0x38')](_0x36f652[_0x0134('0x77')]['entries'],function(_0x9e83d9){return{'id':_0x9e83d9[_0x0134('0x36')],'name':_0x9e83d9[_0x0134('0x36')],'type':_0x9e83d9[_0x0134('0x3c')],'active':_0x9e83d9['active'],'label':_0x9e83d9[_0x0134('0x78')],'custom':!![]};}));});}})['then'](function(_0x11a41a){return{'count':_0x11a41a[_0x0134('0x45')],'rows':_0x11a41a};})['then'](respondWithResult(_0x2b464d,null))[_0x0134('0x28')](function(_0x10921f){var _0x34002a=_0x20fad4[_0x0134('0x3e')]['test']?0x1f4:_0x10921f[_0x0134('0x79')]||0x1f4;logger[_0x0134('0x25')](_0x0134('0x7a'),_0x0134('0x62'),_0x34002a,JSON[_0x0134('0x24')](_0x10921f));delete _0x10921f[_0x0134('0x36')];if(_0x34002a===0x191){_0x34002a=0x190;}_0x2b464d[_0x0134('0x2a')](_0x34002a)[_0x0134('0x37')](_0x20fad4['query'][_0x0134('0x1c')]?{'message':_0x0134('0x7b'),'statusCode':_0x10921f[_0x0134('0x79')]}:_0x10921f);});}; \ No newline at end of file +var _0x722a=['sox','to-csv','ejs','lodash','squel','crypto','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','../../components/integrations/configuration','jayson/promise','client','http','test','Sequelize','ValidationError','The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.','request','then','info','DeskAccount,\x20%s,\x20%s','request\x20sent','debug','DeskAccount,\x20%s,\x20%s,\x20%s','stringify','error','message','sendStatus','status','end','offset','limit','set','Content-Range','apply','reject','update','destroy','name','send','index','map','DeskAccount','rawAttributes','fieldName','type','model','keys','query','filters','attributes','intersection','fields','length','order','sort','pick','where','merge','VIRTUAL','options','count','include','findAll','rows','show','catch','create','body','find','params','getConfigurations','findOne','DeskConfiguration','filter','hasOwnProperty','AccountId','Subjects','getSubjects','channel','getDescriptions','DeskField','getFields','priority','authType','username','password','consumerKey','consumerSecret','tokenSecret','remoteUri','slice','lastIndexOf','%s/custom_fields','application/json','basic','Authorization','format','Basic\x20%s','%s:%s','toString','base64','concat','_embedded','active','label','statusCode','getFields,\x20%s,\x20%s,\x20%s','Wrong\x20credentials','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','moment','bluebird','mustache','path'];(function(_0x5dab12,_0x25304c){var _0xb009ff=function(_0x5ec58c){while(--_0x5ec58c){_0x5dab12['push'](_0x5dab12['shift']());}};_0xb009ff(++_0x25304c);}(_0x722a,0xf5));var _0xa722=function(_0x5850a0,_0x238e10){_0x5850a0=_0x5850a0-0x0;var _0x4bf5fd=_0x722a[_0x5850a0];return _0x4bf5fd;};'use strict';var pdf=require(_0xa722('0x0'));var emlformat=require(_0xa722('0x1'));var rimraf=require(_0xa722('0x2'));var zipdir=require(_0xa722('0x3'));var jsonpatch=require(_0xa722('0x4'));var rp=require('request-promise');var moment=require(_0xa722('0x5'));var BPromise=require(_0xa722('0x6'));var Mustache=require(_0xa722('0x7'));var util=require('util');var path=require(_0xa722('0x8'));var sox=require(_0xa722('0x9'));var csv=require(_0xa722('0xa'));var ejs=require(_0xa722('0xb'));var fs=require('fs');var _=require(_0xa722('0xc'));var squel=require(_0xa722('0xd'));var crypto=require(_0xa722('0xe'));var jsforce=require('jsforce');var deskjs=require(_0xa722('0xf'));var toCsv=require(_0xa722('0xa'));var querystring=require(_0xa722('0x10'));var Papa=require(_0xa722('0x11'));var Redis=require(_0xa722('0x12'));var authService=require(_0xa722('0x13'));var qs=require(_0xa722('0x14'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0xa722('0x15'));var logger=require(_0xa722('0x16'))(_0xa722('0x17'));var utils=require(_0xa722('0x18'));var config=require(_0xa722('0x19'));var db=require(_0xa722('0x1a'))['db'];var integrations=require(_0xa722('0x1b'));var jayson=require(_0xa722('0x1c'));var client=jayson[_0xa722('0x1d')][_0xa722('0x1e')]({'port':0x232a});function checkPasswordPattern(_0x5ea623,_0x5ba6f6,_0x537243){if(_0x537243){var _0x24814b=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0x24814b[_0xa722('0x1f')](_0x5ba6f6)){return _0x5ea623;}else{throw new db[(_0xa722('0x20'))][(_0xa722('0x21'))](_0xa722('0x22'));}}else{return _0x5ea623;}}function respondWithRpcPromise(_0x57592c,_0x1e4d9f,_0x3acf3a,_0x74452d){return new BPromise(function(_0x47e619,_0x1c49e2){var _0x3c4ab9=_0x74452d||client;return _0x3c4ab9[_0xa722('0x23')](_0x57592c,_0x3acf3a)[_0xa722('0x24')](function(_0x3486b0){logger[_0xa722('0x25')](_0xa722('0x26'),_0x1e4d9f,_0xa722('0x27'));logger[_0xa722('0x28')](_0xa722('0x29'),_0x1e4d9f,_0xa722('0x27'),JSON[_0xa722('0x2a')](_0x3486b0));if(_0x3486b0[_0xa722('0x2b')]){if(_0x3486b0[_0xa722('0x2b')]['code']===0x1f4){logger[_0xa722('0x2b')]('DeskAccount,\x20%s,\x20%s',_0x1e4d9f,_0x3486b0['error'][_0xa722('0x2c')]);return _0x1c49e2(_0x3486b0[_0xa722('0x2b')][_0xa722('0x2c')]);}logger[_0xa722('0x2b')]('DeskAccount,\x20%s,\x20%s',_0x1e4d9f,_0x3486b0[_0xa722('0x2b')]['message']);return _0x47e619(_0x3486b0[_0xa722('0x2b')][_0xa722('0x2c')]);}else{logger[_0xa722('0x25')](_0xa722('0x26'),_0x1e4d9f,_0xa722('0x27'));_0x47e619(_0x3486b0['result'][_0xa722('0x2c')]);}})['catch'](function(_0xf348d7){logger[_0xa722('0x2b')](_0xa722('0x26'),_0x1e4d9f,_0xf348d7);_0x1c49e2(_0xf348d7);});});}function respondWithStatusCode(_0x7e37d7,_0x4197b5){_0x4197b5=_0x4197b5||0xcc;return function(_0x30a2b5){if(_0x30a2b5){return _0x7e37d7[_0xa722('0x2d')](_0x4197b5);}return _0x7e37d7[_0xa722('0x2e')](_0x4197b5)[_0xa722('0x2f')]();};}function respondWithResult(_0x4693cc,_0x424ab1){_0x424ab1=_0x424ab1||0xc8;return function(_0x17dbef){if(_0x17dbef){return _0x4693cc['status'](_0x424ab1)['json'](_0x17dbef);}};}function respondWithFilteredResult(_0x3285cf,_0x3b0803){return function(_0x4c1cb5){if(_0x4c1cb5){var _0xc8e515=_0x4c1cb5['count'],_0x4aaded=_0x3b0803[_0xa722('0x30')],_0x447445=_0x3b0803['offset']+_0x3b0803[_0xa722('0x31')],_0x36bda8;if(_0x447445>=_0xc8e515){_0x447445=_0xc8e515;_0x36bda8=0xc8;}else{_0x36bda8=0xce;}_0x3285cf['status'](_0x36bda8);return _0x3285cf[_0xa722('0x32')](_0xa722('0x33'),_0x4aaded+'-'+_0x447445+'/'+_0xc8e515)['json'](_0x4c1cb5);}return null;};}function patchUpdates(_0x298873){return function(_0x46fe40){try{jsonpatch[_0xa722('0x34')](_0x46fe40,_0x298873,!![]);}catch(_0x2c3fea){return BPromise[_0xa722('0x35')](_0x2c3fea);}return _0x46fe40['save']();};}function saveUpdates(_0x1666f5,_0x1bfad3){return function(_0x20ecee){if(_0x20ecee){return _0x20ecee[_0xa722('0x36')](_0x1666f5)[_0xa722('0x24')](function(_0x54a2c3){return _0x54a2c3;});}return null;};}function removeEntity(_0x47f9d3,_0x2cac05){return function(_0x211e36){if(_0x211e36){return _0x211e36[_0xa722('0x37')]()['then'](function(){_0x47f9d3['status'](0xcc)[_0xa722('0x2f')]();});}};}function handleEntityNotFound(_0x49f88c,_0x54ac10){return function(_0x55ad89){if(!_0x55ad89){_0x49f88c['sendStatus'](0x194);}return _0x55ad89;};}function handleError(_0x10a58c,_0x19df74){_0x19df74=_0x19df74||0x1f4;return function(_0xe43f45){logger[_0xa722('0x2b')](_0xe43f45['stack']);if(_0xe43f45[_0xa722('0x38')]){delete _0xe43f45[_0xa722('0x38')];}_0x10a58c[_0xa722('0x2e')](_0x19df74)[_0xa722('0x39')](_0xe43f45);};}exports[_0xa722('0x3a')]=function(_0x4feab8,_0x132599){var _0x35b84b={},_0x17a1e5={},_0x1b3619={'count':0x0,'rows':[]};var _0x102f78=_[_0xa722('0x3b')](db[_0xa722('0x3c')][_0xa722('0x3d')],function(_0x4fa263){return{'name':_0x4fa263[_0xa722('0x3e')],'type':_0x4fa263[_0xa722('0x3f')]['key']};});_0x17a1e5[_0xa722('0x40')]=_[_0xa722('0x3b')](_0x102f78,_0xa722('0x38'));_0x17a1e5['query']=_[_0xa722('0x41')](_0x4feab8[_0xa722('0x42')]);_0x17a1e5[_0xa722('0x43')]=_['intersection'](_0x17a1e5[_0xa722('0x40')],_0x17a1e5[_0xa722('0x42')]);_0x35b84b[_0xa722('0x44')]=_[_0xa722('0x45')](_0x17a1e5[_0xa722('0x40')],qs[_0xa722('0x46')](_0x4feab8['query'][_0xa722('0x46')]));_0x35b84b[_0xa722('0x44')]=_0x35b84b[_0xa722('0x44')][_0xa722('0x47')]?_0x35b84b['attributes']:_0x17a1e5[_0xa722('0x40')];if(!_0x4feab8[_0xa722('0x42')]['hasOwnProperty']('nolimit')){_0x35b84b[_0xa722('0x31')]=qs[_0xa722('0x31')](_0x4feab8[_0xa722('0x42')][_0xa722('0x31')]);_0x35b84b[_0xa722('0x30')]=qs[_0xa722('0x30')](_0x4feab8[_0xa722('0x42')][_0xa722('0x30')]);}_0x35b84b[_0xa722('0x48')]=qs[_0xa722('0x49')](_0x4feab8['query'][_0xa722('0x49')]);_0x35b84b['where']=qs[_0xa722('0x43')](_[_0xa722('0x4a')](_0x4feab8[_0xa722('0x42')],_0x17a1e5[_0xa722('0x43')]),_0x102f78);if(_0x4feab8[_0xa722('0x42')]['filter']){_0x35b84b[_0xa722('0x4b')]=_[_0xa722('0x4c')](_0x35b84b['where'],{'$or':_[_0xa722('0x3b')](_0x102f78,function(_0x51e98b){if(_0x51e98b[_0xa722('0x3f')]!==_0xa722('0x4d')){var _0x17a215={};_0x17a215[_0x51e98b[_0xa722('0x38')]]={'$like':'%'+_0x4feab8[_0xa722('0x42')]['filter']+'%'};return _0x17a215;}})});}_0x35b84b=_['merge']({},_0x35b84b,_0x4feab8[_0xa722('0x4e')]);var _0x264ea1={'where':_0x35b84b[_0xa722('0x4b')]};return db['DeskAccount'][_0xa722('0x4f')](_0x264ea1)['then'](function(_0x5615c3){_0x1b3619['count']=_0x5615c3;if(_0x4feab8[_0xa722('0x42')]['includeAll']){_0x35b84b[_0xa722('0x50')]=[{'all':!![]}];}return db['DeskAccount'][_0xa722('0x51')](_0x35b84b);})[_0xa722('0x24')](function(_0x4cd913){_0x1b3619[_0xa722('0x52')]=_0x4cd913;return _0x1b3619;})['then'](respondWithFilteredResult(_0x132599,_0x35b84b))['catch'](handleError(_0x132599,null));};exports[_0xa722('0x53')]=function(_0x2a4449,_0x38411b){var _0xcb374d={'raw':![],'where':{'id':_0x2a4449['params']['id']}},_0x5596ac={};_0x5596ac[_0xa722('0x40')]=_['keys'](db[_0xa722('0x3c')][_0xa722('0x3d')]);_0x5596ac[_0xa722('0x42')]=_[_0xa722('0x41')](_0x2a4449[_0xa722('0x42')]);_0x5596ac['filters']=_[_0xa722('0x45')](_0x5596ac[_0xa722('0x40')],_0x5596ac['query']);_0xcb374d[_0xa722('0x44')]=_[_0xa722('0x45')](_0x5596ac[_0xa722('0x40')],qs[_0xa722('0x46')](_0x2a4449['query'][_0xa722('0x46')]));_0xcb374d[_0xa722('0x44')]=_0xcb374d[_0xa722('0x44')][_0xa722('0x47')]?_0xcb374d[_0xa722('0x44')]:_0x5596ac[_0xa722('0x40')];if(_0x2a4449[_0xa722('0x42')]['includeAll']){_0xcb374d[_0xa722('0x50')]=[{'all':!![]}];}_0xcb374d=_[_0xa722('0x4c')]({},_0xcb374d,_0x2a4449[_0xa722('0x4e')]);return db[_0xa722('0x3c')]['find'](_0xcb374d)[_0xa722('0x24')](handleEntityNotFound(_0x38411b,null))[_0xa722('0x24')](respondWithResult(_0x38411b,null))[_0xa722('0x54')](handleError(_0x38411b,null));};exports[_0xa722('0x55')]=function(_0x4a4700,_0x2fa4c2){return db[_0xa722('0x3c')][_0xa722('0x55')](_0x4a4700[_0xa722('0x56')],{})['then'](respondWithResult(_0x2fa4c2,0xc9))[_0xa722('0x54')](handleError(_0x2fa4c2,null));};exports[_0xa722('0x36')]=function(_0x36c004,_0x240845){if(_0x36c004[_0xa722('0x56')]['id']){delete _0x36c004[_0xa722('0x56')]['id'];}return db[_0xa722('0x3c')][_0xa722('0x57')]({'where':{'id':_0x36c004[_0xa722('0x58')]['id']}})[_0xa722('0x24')](handleEntityNotFound(_0x240845,null))[_0xa722('0x24')](saveUpdates(_0x36c004[_0xa722('0x56')],null))['then'](respondWithResult(_0x240845,null))['catch'](handleError(_0x240845,null));};exports[_0xa722('0x37')]=function(_0x435843,_0x1c5f19){return db[_0xa722('0x3c')][_0xa722('0x57')]({'where':{'id':_0x435843[_0xa722('0x58')]['id']}})[_0xa722('0x24')](handleEntityNotFound(_0x1c5f19,null))['then'](removeEntity(_0x1c5f19,null))[_0xa722('0x54')](handleError(_0x1c5f19,null));};exports[_0xa722('0x59')]=function(_0x3a252b,_0x56efc5,_0x54cece){var _0x349ffb={};var _0x40ebc0={};var _0x27e143;var _0x1c0bed;return db[_0xa722('0x3c')][_0xa722('0x5a')]({'where':{'id':_0x3a252b[_0xa722('0x58')]['id']}})[_0xa722('0x24')](handleEntityNotFound(_0x56efc5,null))[_0xa722('0x24')](function(_0x22f087){if(_0x22f087){_0x27e143=_0x22f087;_0x40ebc0[_0xa722('0x40')]=_[_0xa722('0x41')](db[_0xa722('0x5b')][_0xa722('0x3d')]);_0x40ebc0[_0xa722('0x42')]=_[_0xa722('0x41')](_0x3a252b['query']);_0x40ebc0[_0xa722('0x43')]=_[_0xa722('0x45')](_0x40ebc0[_0xa722('0x40')],_0x40ebc0[_0xa722('0x42')]);_0x349ffb[_0xa722('0x44')]=_['intersection'](_0x40ebc0[_0xa722('0x40')],qs['fields'](_0x3a252b[_0xa722('0x42')][_0xa722('0x46')]));_0x349ffb[_0xa722('0x44')]=_0x349ffb[_0xa722('0x44')]['length']?_0x349ffb['attributes']:_0x40ebc0['model'];_0x349ffb[_0xa722('0x48')]=qs[_0xa722('0x49')](_0x3a252b['query']['sort']);_0x349ffb[_0xa722('0x4b')]=qs[_0xa722('0x43')](_[_0xa722('0x4a')](_0x3a252b[_0xa722('0x42')],_0x40ebc0[_0xa722('0x43')]));if(_0x3a252b[_0xa722('0x42')][_0xa722('0x5c')]){_0x349ffb[_0xa722('0x4b')]=_[_0xa722('0x4c')](_0x349ffb[_0xa722('0x4b')],{'$or':_[_0xa722('0x3b')](_0x349ffb[_0xa722('0x44')],function(_0x4bf617){var _0x15ce8f={};_0x15ce8f[_0x4bf617]={'$like':'%'+_0x3a252b[_0xa722('0x42')][_0xa722('0x5c')]+'%'};return _0x15ce8f;})});}_0x349ffb=_['merge']({},_0x349ffb,_0x3a252b[_0xa722('0x4e')]);return _0x27e143['getConfigurations'](_0x349ffb);}})[_0xa722('0x24')](function(_0x48ee27){if(_0x48ee27){_0x1c0bed=_0x48ee27[_0xa722('0x47')];if(!_0x3a252b[_0xa722('0x42')][_0xa722('0x5d')]('nolimit')){_0x349ffb['limit']=qs[_0xa722('0x31')](_0x3a252b['query']['limit']);_0x349ffb[_0xa722('0x30')]=qs[_0xa722('0x30')](_0x3a252b['query']['offset']);}return _0x27e143[_0xa722('0x59')](_0x349ffb);}})['then'](function(_0x3ad0ad){if(_0x3ad0ad){return _0x3ad0ad?{'count':_0x1c0bed,'rows':_0x3ad0ad}:null;}})['then'](respondWithResult(_0x56efc5,null))[_0xa722('0x54')](handleError(_0x56efc5,null));};exports['addConfiguration']=function(_0x4016cb,_0x42bfe2,_0x364240){if(_0x4016cb[_0xa722('0x56')]['id']){delete _0x4016cb[_0xa722('0x56')]['id'];}return db[_0xa722('0x3c')]['findOne']({'where':{'id':_0x4016cb['params']['id']}})[_0xa722('0x24')](handleEntityNotFound(_0x42bfe2,null))['then'](function(_0x3012bc){if(_0x3012bc){_0x4016cb[_0xa722('0x56')][_0xa722('0x5e')]=_0x3012bc['id'];_0x4016cb[_0xa722('0x56')][_0xa722('0x5f')]=integrations[_0xa722('0x60')](_0x4016cb[_0xa722('0x56')][_0xa722('0x61')],_0x4016cb[_0xa722('0x56')][_0xa722('0x3f')]);_0x4016cb['body']['Descriptions']=integrations[_0xa722('0x62')](_0x4016cb[_0xa722('0x56')][_0xa722('0x61')],_0x4016cb[_0xa722('0x56')]['type']);return db[_0xa722('0x5b')][_0xa722('0x55')](_0x4016cb[_0xa722('0x56')],{'include':[{'model':db[_0xa722('0x63')],'as':_0xa722('0x5f')},{'model':db[_0xa722('0x63')],'as':'Descriptions'}]});}return null;})[_0xa722('0x24')](respondWithResult(_0x42bfe2,null))[_0xa722('0x54')](handleError(_0x42bfe2,null));};exports[_0xa722('0x64')]=function(_0x300976,_0x172468,_0x4406dc){var _0x1d4be2=[{'name':_0xa722('0x65'),'label':_0xa722('0x65'),'custom':![],'options':[{'name':0x1,'value':0x1},{'name':0x2,'value':0x2},{'name':0x3,'value':0x3},{'name':0x4,'value':0x4},{'name':0x5,'value':0x5},{'name':0x6,'value':0x6},{'name':0x7,'value':0x7},{'name':0x8,'value':0x8},{'name':0x9,'value':0x9},{'name':0xa,'value':0xa}]}];var _0x5d5e00='';return db[_0xa722('0x3c')]['findOne']({'where':{'id':_0x300976[_0xa722('0x58')]['id']},'attributes':['id','remoteUri',_0xa722('0x66'),_0xa722('0x67'),_0xa722('0x68'),_0xa722('0x69'),_0xa722('0x6a'),'token',_0xa722('0x6b')]})[_0xa722('0x24')](handleEntityNotFound(_0x172468,null))[_0xa722('0x24')](function(_0x5cd5ed){if(_0x5cd5ed){_0x5d5e00=_0x5cd5ed[_0xa722('0x6c')];var _0x1f9c8f=_0x5d5e00[_0xa722('0x6d')](-0x1);if(_0x1f9c8f==='/'){_0x5d5e00=_0x5d5e00['substring'](0x0,_0x5d5e00[_0xa722('0x6e')](_0x1f9c8f));}var _0x256271={'method':'GET','uri':util['format'](_0xa722('0x6f'),_0x5d5e00),'headers':{'Content-Type':_0xa722('0x70'),'Accept':'application/json'},'json':!![]};if(_0x5cd5ed[_0xa722('0x66')]===_0xa722('0x71')){_0x256271['headers'][_0xa722('0x72')]=util[_0xa722('0x73')](_0xa722('0x74'),new Buffer(util[_0xa722('0x73')](_0xa722('0x75'),_0x5cd5ed[_0xa722('0x67')],_0x5cd5ed[_0xa722('0x68')]))[_0xa722('0x76')](_0xa722('0x77')));}return rp(_0x256271)[_0xa722('0x24')](function(_0x1e510a){return _0x1d4be2[_0xa722('0x78')](_[_0xa722('0x3b')](_0x1e510a[_0xa722('0x79')]['entries'],function(_0x20d502){return{'id':_0x20d502[_0xa722('0x38')],'name':_0x20d502['name'],'type':_0x20d502['type'],'active':_0x20d502[_0xa722('0x7a')],'label':_0x20d502[_0xa722('0x7b')],'custom':!![]};}));});}})[_0xa722('0x24')](function(_0x1bd45b){return{'count':_0x1bd45b[_0xa722('0x47')],'rows':_0x1bd45b};})[_0xa722('0x24')](respondWithResult(_0x172468,null))[_0xa722('0x54')](function(_0x323464){var _0x18194e=_0x300976[_0xa722('0x42')][_0xa722('0x1f')]?0x1f4:_0x323464[_0xa722('0x7c')]||0x1f4;logger[_0xa722('0x2b')](_0xa722('0x7d'),_0xa722('0x64'),_0x18194e,JSON[_0xa722('0x2a')](_0x323464));delete _0x323464[_0xa722('0x38')];if(_0x18194e===0x191){_0x18194e=0x190;}_0x172468[_0xa722('0x2e')](_0x18194e)[_0xa722('0x39')](_0x300976['query'][_0xa722('0x1f')]?{'message':_0xa722('0x7e'),'statusCode':_0x323464[_0xa722('0x7c')]}:_0x323464);});}; \ No newline at end of file diff --git a/server/api/intDeskAccount/intDeskAccount.model.js b/server/api/intDeskAccount/intDeskAccount.model.js index 7488a05..20ef2d7 100644 --- a/server/api/intDeskAccount/intDeskAccount.model.js +++ b/server/api/intDeskAccount/intDeskAccount.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x1c00=['../../components/integrations/configuration','exports','DeskAccount','int_desk_accounts','lodash','../../config/logger','api','moment','bluebird','request-promise','rimraf','../../config/environment','./intDeskAccount.attributes'];(function(_0x163d96,_0x5838c8){var _0x4dfc9b=function(_0x4e5035){while(--_0x4e5035){_0x163d96['push'](_0x163d96['shift']());}};_0x4dfc9b(++_0x5838c8);}(_0x1c00,0x93));var _0x01c0=function(_0x576170,_0x1712ae){_0x576170=_0x576170-0x0;var _0x397c70=_0x1c00[_0x576170];return _0x397c70;};'use strict';var _=require(_0x01c0('0x0'));var util=require('util');var logger=require(_0x01c0('0x1'))(_0x01c0('0x2'));var moment=require(_0x01c0('0x3'));var BPromise=require(_0x01c0('0x4'));var rp=require(_0x01c0('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x01c0('0x6'));var config=require(_0x01c0('0x7'));var attributes=require(_0x01c0('0x8'));var integrations=require(_0x01c0('0x9'));module[_0x01c0('0xa')]=function(_0x5f0dc1,_0x3afe12){return _0x5f0dc1['define'](_0x01c0('0xb'),attributes,{'tableName':_0x01c0('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0x6eb7=['./intDeskAccount.attributes','../../components/integrations/configuration','DeskAccount','int_desk_accounts','lodash','util','../../config/logger','moment','request-promise','path','rimraf','../../config/environment'];(function(_0x4aa838,_0x4aa14f){var _0x3abff0=function(_0x402d55){while(--_0x402d55){_0x4aa838['push'](_0x4aa838['shift']());}};_0x3abff0(++_0x4aa14f);}(_0x6eb7,0x94));var _0x76eb=function(_0x54194f,_0x40c3fd){_0x54194f=_0x54194f-0x0;var _0x6990c0=_0x6eb7[_0x54194f];return _0x6990c0;};'use strict';var _=require(_0x76eb('0x0'));var util=require(_0x76eb('0x1'));var logger=require(_0x76eb('0x2'))('api');var moment=require(_0x76eb('0x3'));var BPromise=require('bluebird');var rp=require(_0x76eb('0x4'));var fs=require('fs');var path=require(_0x76eb('0x5'));var rimraf=require(_0x76eb('0x6'));var config=require(_0x76eb('0x7'));var attributes=require(_0x76eb('0x8'));var integrations=require(_0x76eb('0x9'));module['exports']=function(_0x406629,_0xdd1991){return _0x406629['define'](_0x76eb('0xa'),attributes,{'tableName':_0x76eb('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/intDeskAccount/intDeskAccount.rpc.js b/server/api/intDeskAccount/intDeskAccount.rpc.js index 705d585..3053026 100644 --- a/server/api/intDeskAccount/intDeskAccount.rpc.js +++ b/server/api/intDeskAccount/intDeskAccount.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x98ea=['DeskAccount,\x20%s,\x20%s,\x20%s','error','code','message','info','result','catch','GetDeskAccount','DeskAccount','options','attributes','limit','include','model','map','ShowDeskAccount','find','raw','where','stringify','lodash','util','moment','bluebird','randomstring','ioredis','../../mysqldb','../../config/utils','rpc','../../config/environment','jayson/promise','client','http','then','DeskAccount,\x20%s,\x20%s','request\x20sent','debug'];(function(_0x3e510c,_0x294640){var _0x1003f4=function(_0x25aa38){while(--_0x25aa38){_0x3e510c['push'](_0x3e510c['shift']());}};_0x1003f4(++_0x294640);}(_0x98ea,0x1d0));var _0xa98e=function(_0x539dfd,_0x24391a){_0x539dfd=_0x539dfd-0x0;var _0x37eb38=_0x98ea[_0x539dfd];return _0x37eb38;};'use strict';var _=require(_0xa98e('0x0'));var util=require(_0xa98e('0x1'));var moment=require(_0xa98e('0x2'));var BPromise=require(_0xa98e('0x3'));var rs=require(_0xa98e('0x4'));var fs=require('fs');var Redis=require(_0xa98e('0x5'));var db=require(_0xa98e('0x6'))['db'];var utils=require(_0xa98e('0x7'));var logger=require('../../config/logger')(_0xa98e('0x8'));var config=require(_0xa98e('0x9'));var jayson=require(_0xa98e('0xa'));var client=jayson[_0xa98e('0xb')][_0xa98e('0xc')]({'port':0x232a});function respondWithRpcPromise(_0x1c4cdd,_0x134e32,_0x1ba44d){return new BPromise(function(_0x3324bd,_0x2d4c39){return client['request'](_0x1c4cdd,_0x1ba44d)[_0xa98e('0xd')](function(_0x227a74){logger['info'](_0xa98e('0xe'),_0x134e32,_0xa98e('0xf'));logger[_0xa98e('0x10')](_0xa98e('0x11'),_0x134e32,'request\x20sent',JSON['stringify'](_0x227a74));if(_0x227a74[_0xa98e('0x12')]){if(_0x227a74[_0xa98e('0x12')][_0xa98e('0x13')]===0x1f4){logger[_0xa98e('0x12')](_0xa98e('0xe'),_0x134e32,_0x227a74[_0xa98e('0x12')][_0xa98e('0x14')]);return _0x2d4c39(_0x227a74[_0xa98e('0x12')]['message']);}logger[_0xa98e('0x12')](_0xa98e('0xe'),_0x134e32,_0x227a74[_0xa98e('0x12')][_0xa98e('0x14')]);return _0x3324bd(_0x227a74['error'][_0xa98e('0x14')]);}else{logger[_0xa98e('0x15')]('DeskAccount,\x20%s,\x20%s',_0x134e32,_0xa98e('0xf'));_0x3324bd(_0x227a74[_0xa98e('0x16')]['message']);}})[_0xa98e('0x17')](function(_0x3a55cb){logger[_0xa98e('0x12')]('DeskAccount,\x20%s,\x20%s',_0x134e32,_0x3a55cb);_0x2d4c39(_0x3a55cb);});});}exports[_0xa98e('0x18')]=function(_0x46393a){var _0x2fec41=this;return new Promise(function(_0x51c91d,_0x1d502a){return db[_0xa98e('0x19')]['findAll']({'raw':_0x46393a[_0xa98e('0x1a')]?_0x46393a[_0xa98e('0x1a')]['raw']===undefined?!![]:![]:!![],'where':_0x46393a[_0xa98e('0x1a')]?_0x46393a[_0xa98e('0x1a')]['where']||null:null,'attributes':_0x46393a[_0xa98e('0x1a')]?_0x46393a['options'][_0xa98e('0x1b')]||null:null,'limit':_0x46393a[_0xa98e('0x1a')]?_0x46393a[_0xa98e('0x1a')][_0xa98e('0x1c')]||null:null,'include':_0x46393a[_0xa98e('0x1a')]?_0x46393a['options']['include']?_['map'](_0x46393a['options'][_0xa98e('0x1d')],function(_0x1115bd){return{'model':db[_0x1115bd[_0xa98e('0x1e')]],'as':_0x1115bd['as'],'attributes':_0x1115bd['attributes'],'include':_0x1115bd[_0xa98e('0x1d')]?_[_0xa98e('0x1f')](_0x1115bd[_0xa98e('0x1d')],function(_0x121dff){return{'model':db[_0x121dff['model']],'as':_0x121dff['as'],'attributes':_0x121dff[_0xa98e('0x1b')],'include':_0x121dff[_0xa98e('0x1d')]?_[_0xa98e('0x1f')](_0x121dff[_0xa98e('0x1d')],function(_0x52424b){return{'model':db[_0x52424b['model']],'as':_0x52424b['as'],'attributes':_0x52424b[_0xa98e('0x1b')]};}):[]};}):[]};}):[]:[]})[_0xa98e('0xd')](function(_0x41f00f){logger[_0xa98e('0x15')](_0xa98e('0x18'),_0x46393a);logger[_0xa98e('0x10')](_0xa98e('0x18'),_0x46393a,JSON['stringify'](_0x41f00f));_0x51c91d(_0x41f00f);})['catch'](function(_0xa7ac4b){logger['error'](_0xa98e('0x18'),_0xa7ac4b[_0xa98e('0x14')],_0x46393a);_0x1d502a(_0x2fec41[_0xa98e('0x12')](0x1f4,_0xa7ac4b[_0xa98e('0x14')]));});});};exports[_0xa98e('0x20')]=function(_0x392c0d){var _0x23580a=this;return new Promise(function(_0x3f81d8,_0x258738){return db[_0xa98e('0x19')][_0xa98e('0x21')]({'raw':_0x392c0d[_0xa98e('0x1a')]?_0x392c0d[_0xa98e('0x1a')][_0xa98e('0x22')]===undefined?!![]:![]:!![],'where':_0x392c0d[_0xa98e('0x1a')]?_0x392c0d[_0xa98e('0x1a')][_0xa98e('0x23')]||null:null,'attributes':_0x392c0d['options']?_0x392c0d[_0xa98e('0x1a')][_0xa98e('0x1b')]||null:null,'include':_0x392c0d[_0xa98e('0x1a')]?_0x392c0d['options'][_0xa98e('0x1d')]?_[_0xa98e('0x1f')](_0x392c0d[_0xa98e('0x1a')][_0xa98e('0x1d')],function(_0x29f4a7){return{'model':db[_0x29f4a7['model']],'as':_0x29f4a7['as'],'attributes':_0x29f4a7[_0xa98e('0x1b')],'include':_0x29f4a7[_0xa98e('0x1d')]?_['map'](_0x29f4a7[_0xa98e('0x1d')],function(_0x3cc09f){return{'model':db[_0x3cc09f[_0xa98e('0x1e')]],'as':_0x3cc09f['as'],'attributes':_0x3cc09f[_0xa98e('0x1b')],'include':_0x3cc09f[_0xa98e('0x1d')]?_[_0xa98e('0x1f')](_0x3cc09f[_0xa98e('0x1d')],function(_0x3344b2){return{'model':db[_0x3344b2[_0xa98e('0x1e')]],'as':_0x3344b2['as'],'attributes':_0x3344b2['attributes']};}):[]};}):[]};}):[]:[]})[_0xa98e('0xd')](function(_0x4b2f14){logger[_0xa98e('0x15')](_0xa98e('0x20'),_0x392c0d);logger[_0xa98e('0x10')](_0xa98e('0x20'),_0x392c0d,JSON[_0xa98e('0x24')](_0x4b2f14));_0x3f81d8(_0x4b2f14);})[_0xa98e('0x17')](function(_0x853682){logger['error'](_0xa98e('0x20'),_0x853682[_0xa98e('0x14')],_0x392c0d);_0x258738(_0x23580a[_0xa98e('0x12')](0x1f4,_0x853682[_0xa98e('0x14')]));});});}; \ No newline at end of file +var _0x2ef3=['../../config/logger','../../config/environment','jayson/promise','client','http','request','then','DeskAccount,\x20%s,\x20%s','request\x20sent','DeskAccount,\x20%s,\x20%s,\x20%s','stringify','error','code','message','info','result','catch','GetDeskAccount','DeskAccount','findAll','options','where','limit','include','map','model','attributes','debug','ShowDeskAccount','raw','lodash','bluebird','ioredis','../../mysqldb'];(function(_0x365c07,_0x3ef179){var _0x348481=function(_0x2323ec){while(--_0x2323ec){_0x365c07['push'](_0x365c07['shift']());}};_0x348481(++_0x3ef179);}(_0x2ef3,0xa6));var _0x32ef=function(_0x2ebbd9,_0x2d9991){_0x2ebbd9=_0x2ebbd9-0x0;var _0x5d1c6b=_0x2ef3[_0x2ebbd9];return _0x5d1c6b;};'use strict';var _=require(_0x32ef('0x0'));var util=require('util');var moment=require('moment');var BPromise=require(_0x32ef('0x1'));var rs=require('randomstring');var fs=require('fs');var Redis=require(_0x32ef('0x2'));var db=require(_0x32ef('0x3'))['db'];var utils=require('../../config/utils');var logger=require(_0x32ef('0x4'))('rpc');var config=require(_0x32ef('0x5'));var jayson=require(_0x32ef('0x6'));var client=jayson[_0x32ef('0x7')][_0x32ef('0x8')]({'port':0x232a});function respondWithRpcPromise(_0x4d1227,_0x11a80e,_0x1bf000){return new BPromise(function(_0x1caed3,_0x5f1cd9){return client[_0x32ef('0x9')](_0x4d1227,_0x1bf000)[_0x32ef('0xa')](function(_0x17266f){logger['info'](_0x32ef('0xb'),_0x11a80e,_0x32ef('0xc'));logger['debug'](_0x32ef('0xd'),_0x11a80e,_0x32ef('0xc'),JSON[_0x32ef('0xe')](_0x17266f));if(_0x17266f[_0x32ef('0xf')]){if(_0x17266f[_0x32ef('0xf')][_0x32ef('0x10')]===0x1f4){logger[_0x32ef('0xf')]('DeskAccount,\x20%s,\x20%s',_0x11a80e,_0x17266f[_0x32ef('0xf')][_0x32ef('0x11')]);return _0x5f1cd9(_0x17266f[_0x32ef('0xf')][_0x32ef('0x11')]);}logger[_0x32ef('0xf')]('DeskAccount,\x20%s,\x20%s',_0x11a80e,_0x17266f['error'][_0x32ef('0x11')]);return _0x1caed3(_0x17266f[_0x32ef('0xf')][_0x32ef('0x11')]);}else{logger[_0x32ef('0x12')](_0x32ef('0xb'),_0x11a80e,_0x32ef('0xc'));_0x1caed3(_0x17266f[_0x32ef('0x13')][_0x32ef('0x11')]);}})[_0x32ef('0x14')](function(_0x49631b){logger[_0x32ef('0xf')](_0x32ef('0xb'),_0x11a80e,_0x49631b);_0x5f1cd9(_0x49631b);});});}exports[_0x32ef('0x15')]=function(_0x1e3746){var _0x434642=this;return new Promise(function(_0x3493cd,_0x2760b0){return db[_0x32ef('0x16')][_0x32ef('0x17')]({'raw':_0x1e3746[_0x32ef('0x18')]?_0x1e3746[_0x32ef('0x18')]['raw']===undefined?!![]:![]:!![],'where':_0x1e3746[_0x32ef('0x18')]?_0x1e3746[_0x32ef('0x18')][_0x32ef('0x19')]||null:null,'attributes':_0x1e3746['options']?_0x1e3746[_0x32ef('0x18')]['attributes']||null:null,'limit':_0x1e3746[_0x32ef('0x18')]?_0x1e3746[_0x32ef('0x18')][_0x32ef('0x1a')]||null:null,'include':_0x1e3746['options']?_0x1e3746[_0x32ef('0x18')][_0x32ef('0x1b')]?_[_0x32ef('0x1c')](_0x1e3746['options'][_0x32ef('0x1b')],function(_0xc52e63){return{'model':db[_0xc52e63[_0x32ef('0x1d')]],'as':_0xc52e63['as'],'attributes':_0xc52e63[_0x32ef('0x1e')],'include':_0xc52e63[_0x32ef('0x1b')]?_[_0x32ef('0x1c')](_0xc52e63[_0x32ef('0x1b')],function(_0x3ed073){return{'model':db[_0x3ed073['model']],'as':_0x3ed073['as'],'attributes':_0x3ed073[_0x32ef('0x1e')],'include':_0x3ed073['include']?_[_0x32ef('0x1c')](_0x3ed073[_0x32ef('0x1b')],function(_0x27eb5e){return{'model':db[_0x27eb5e[_0x32ef('0x1d')]],'as':_0x27eb5e['as'],'attributes':_0x27eb5e[_0x32ef('0x1e')]};}):[]};}):[]};}):[]:[]})[_0x32ef('0xa')](function(_0x39359f){logger[_0x32ef('0x12')](_0x32ef('0x15'),_0x1e3746);logger[_0x32ef('0x1f')](_0x32ef('0x15'),_0x1e3746,JSON['stringify'](_0x39359f));_0x3493cd(_0x39359f);})[_0x32ef('0x14')](function(_0x3cc682){logger[_0x32ef('0xf')](_0x32ef('0x15'),_0x3cc682[_0x32ef('0x11')],_0x1e3746);_0x2760b0(_0x434642['error'](0x1f4,_0x3cc682[_0x32ef('0x11')]));});});};exports[_0x32ef('0x20')]=function(_0x147021){var _0x10952c=this;return new Promise(function(_0x26be05,_0x7b50e6){return db[_0x32ef('0x16')]['find']({'raw':_0x147021[_0x32ef('0x18')]?_0x147021[_0x32ef('0x18')][_0x32ef('0x21')]===undefined?!![]:![]:!![],'where':_0x147021['options']?_0x147021[_0x32ef('0x18')]['where']||null:null,'attributes':_0x147021[_0x32ef('0x18')]?_0x147021[_0x32ef('0x18')][_0x32ef('0x1e')]||null:null,'include':_0x147021[_0x32ef('0x18')]?_0x147021[_0x32ef('0x18')]['include']?_['map'](_0x147021[_0x32ef('0x18')]['include'],function(_0x3ef20a){return{'model':db[_0x3ef20a['model']],'as':_0x3ef20a['as'],'attributes':_0x3ef20a['attributes'],'include':_0x3ef20a[_0x32ef('0x1b')]?_[_0x32ef('0x1c')](_0x3ef20a[_0x32ef('0x1b')],function(_0x2a5987){return{'model':db[_0x2a5987[_0x32ef('0x1d')]],'as':_0x2a5987['as'],'attributes':_0x2a5987[_0x32ef('0x1e')],'include':_0x2a5987[_0x32ef('0x1b')]?_['map'](_0x2a5987[_0x32ef('0x1b')],function(_0x4c84e7){return{'model':db[_0x4c84e7[_0x32ef('0x1d')]],'as':_0x4c84e7['as'],'attributes':_0x4c84e7[_0x32ef('0x1e')]};}):[]};}):[]};}):[]:[]})[_0x32ef('0xa')](function(_0x3b2430){logger[_0x32ef('0x12')](_0x32ef('0x20'),_0x147021);logger[_0x32ef('0x1f')](_0x32ef('0x20'),_0x147021,JSON['stringify'](_0x3b2430));_0x26be05(_0x3b2430);})[_0x32ef('0x14')](function(_0x378006){logger[_0x32ef('0xf')](_0x32ef('0x20'),_0x378006[_0x32ef('0x11')],_0x147021);_0x7b50e6(_0x10952c[_0x32ef('0xf')](0x1f4,_0x378006[_0x32ef('0x11')]));});});}; \ No newline at end of file diff --git a/server/api/intDeskConfiguration/index.js b/server/api/intDeskConfiguration/index.js index 2a6f5c9..154f0bf 100644 --- a/server/api/intDeskConfiguration/index.js +++ b/server/api/intDeskConfiguration/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x0324=['getFields','/:id/subjects','getSubjects','getDescriptions','getTags','post','create','/:id/tags','setTags','put','/:id','delete','destroy','exports','util','path','connect-timeout','express','Router','../../components/auth/service','../../config/environment','./intDeskConfiguration.controller','get','isAuthenticated','index','show'];(function(_0x5b8172,_0x536d44){var _0xb3851f=function(_0x1de9cc){while(--_0x1de9cc){_0x5b8172['push'](_0x5b8172['shift']());}};_0xb3851f(++_0x536d44);}(_0x0324,0x90));var _0x4032=function(_0x2c97c8,_0x31dba3){_0x2c97c8=_0x2c97c8-0x0;var _0xe310c5=_0x0324[_0x2c97c8];return _0xe310c5;};'use strict';var multer=require('multer');var util=require(_0x4032('0x0'));var path=require(_0x4032('0x1'));var timeout=require(_0x4032('0x2'));var express=require(_0x4032('0x3'));var router=express[_0x4032('0x4')]();var auth=require(_0x4032('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x4032('0x6'));var controller=require(_0x4032('0x7'));router[_0x4032('0x8')]('/',auth[_0x4032('0x9')](),controller[_0x4032('0xa')]);router[_0x4032('0x8')]('/:id',auth[_0x4032('0x9')](),controller[_0x4032('0xb')]);router['get']('/:id/fields',auth[_0x4032('0x9')](),controller[_0x4032('0xc')]);router['get'](_0x4032('0xd'),auth[_0x4032('0x9')](),controller[_0x4032('0xe')]);router[_0x4032('0x8')]('/:id/descriptions',auth[_0x4032('0x9')](),controller[_0x4032('0xf')]);router['get']('/:id/tags',auth['isAuthenticated'](),controller[_0x4032('0x10')]);router[_0x4032('0x11')]('/',auth[_0x4032('0x9')](),controller[_0x4032('0x12')]);router[_0x4032('0x11')](_0x4032('0x13'),auth[_0x4032('0x9')](),controller[_0x4032('0x14')]);router[_0x4032('0x15')](_0x4032('0x16'),auth['isAuthenticated'](),controller['update']);router[_0x4032('0x17')](_0x4032('0x16'),auth[_0x4032('0x9')](),controller[_0x4032('0x18')]);module[_0x4032('0x19')]=router; \ No newline at end of file +var _0x00cd=['show','/:id/fields','getFields','getSubjects','/:id/descriptions','getDescriptions','/:id/tags','post','put','update','delete','destroy','exports','multer','util','path','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./intDeskConfiguration.controller','isAuthenticated','index','get','/:id'];(function(_0x592a80,_0x537c3e){var _0x4f56fe=function(_0x4de628){while(--_0x4de628){_0x592a80['push'](_0x592a80['shift']());}};_0x4f56fe(++_0x537c3e);}(_0x00cd,0xee));var _0xd00c=function(_0x1ee0a1,_0x51058e){_0x1ee0a1=_0x1ee0a1-0x0;var _0x1d2d5b=_0x00cd[_0x1ee0a1];return _0x1d2d5b;};'use strict';var multer=require(_0xd00c('0x0'));var util=require(_0xd00c('0x1'));var path=require(_0xd00c('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0xd00c('0x3')]();var auth=require(_0xd00c('0x4'));var interaction=require(_0xd00c('0x5'));var config=require(_0xd00c('0x6'));var controller=require(_0xd00c('0x7'));router['get']('/',auth[_0xd00c('0x8')](),controller[_0xd00c('0x9')]);router[_0xd00c('0xa')](_0xd00c('0xb'),auth[_0xd00c('0x8')](),controller[_0xd00c('0xc')]);router[_0xd00c('0xa')](_0xd00c('0xd'),auth[_0xd00c('0x8')](),controller[_0xd00c('0xe')]);router['get']('/:id/subjects',auth[_0xd00c('0x8')](),controller[_0xd00c('0xf')]);router[_0xd00c('0xa')](_0xd00c('0x10'),auth['isAuthenticated'](),controller[_0xd00c('0x11')]);router['get'](_0xd00c('0x12'),auth[_0xd00c('0x8')](),controller['getTags']);router['post']('/',auth['isAuthenticated'](),controller['create']);router[_0xd00c('0x13')](_0xd00c('0x12'),auth[_0xd00c('0x8')](),controller['setTags']);router[_0xd00c('0x14')]('/:id',auth[_0xd00c('0x8')](),controller[_0xd00c('0x15')]);router[_0xd00c('0x16')]('/:id',auth['isAuthenticated'](),controller[_0xd00c('0x17')]);module[_0xd00c('0x18')]=router; \ No newline at end of file diff --git a/server/api/intDeskConfiguration/intDeskConfiguration.attributes.js b/server/api/intDeskConfiguration/intDeskConfiguration.attributes.js index a688135..6d7bede 100644 --- a/server/api/intDeskConfiguration/intDeskConfiguration.attributes.js +++ b/server/api/intDeskConfiguration/intDeskConfiguration.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -'use strict';var Sequelize=require('sequelize');module['exports']={'name':{'type':Sequelize['STRING']},'description':{'type':Sequelize['STRING']}}; \ No newline at end of file +var _0x458a=['sequelize','exports','STRING'];(function(_0x23df1a,_0x7c3f1c){var _0x52a093=function(_0x4f8231){while(--_0x4f8231){_0x23df1a['push'](_0x23df1a['shift']());}};_0x52a093(++_0x7c3f1c);}(_0x458a,0x12f));var _0xa458=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x458a[_0x3dd15e];return _0x231fd0;};'use strict';var Sequelize=require(_0xa458('0x0'));module[_0xa458('0x1')]={'name':{'type':Sequelize[_0xa458('0x2')]},'description':{'type':Sequelize[_0xa458('0x2')]}}; \ No newline at end of file diff --git a/server/api/intDeskConfiguration/intDeskConfiguration.controller.js b/server/api/intDeskConfiguration/intDeskConfiguration.controller.js index ef70178..32503ac 100644 --- a/server/api/intDeskConfiguration/intDeskConfiguration.controller.js +++ b/server/api/intDeskConfiguration/intDeskConfiguration.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xdbbe=['json','apply','reject','destroy','stack','send','map','DeskConfiguration','rawAttributes','fieldName','type','model','keys','query','filters','intersection','fields','attributes','length','hasOwnProperty','order','where','pick','filter','merge','VIRTUAL','name','options','includeAll','include','findAll','params','create','update','body','find','getFields','DeskField','sort','nolimit','getSubjects','findOne','getDescriptions','Tag','setTags','ids','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','mustache','util','path','sox','to-csv','ejs','lodash','crypto','jsforce','papaparse','ioredis','../../components/auth/service','../../components/parsers/advancedSearch','../../config/logger','api','../../config/utils','../../config/environment','jayson/promise','client','http','test','Sequelize','ValidationError','The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.','request','then','DeskConfiguration,\x20%s,\x20%s','stringify','code','error','message','info','request\x20sent','result','catch','sendStatus','status','end','count','offset','limit','Content-Range'];(function(_0x5dea68,_0x4368fe){var _0x190dcb=function(_0x5b1822){while(--_0x5b1822){_0x5dea68['push'](_0x5dea68['shift']());}};_0x190dcb(++_0x4368fe);}(_0xdbbe,0x148));var _0xedbb=function(_0x1c6ef2,_0x8d926a){_0x1c6ef2=_0x1c6ef2-0x0;var _0x404b8c=_0xdbbe[_0x1c6ef2];return _0x404b8c;};'use strict';var pdf=require('html-pdf');var emlformat=require(_0xedbb('0x0'));var rimraf=require(_0xedbb('0x1'));var zipdir=require(_0xedbb('0x2'));var jsonpatch=require(_0xedbb('0x3'));var rp=require(_0xedbb('0x4'));var moment=require(_0xedbb('0x5'));var BPromise=require('bluebird');var Mustache=require(_0xedbb('0x6'));var util=require(_0xedbb('0x7'));var path=require(_0xedbb('0x8'));var sox=require(_0xedbb('0x9'));var csv=require(_0xedbb('0xa'));var ejs=require(_0xedbb('0xb'));var fs=require('fs');var _=require(_0xedbb('0xc'));var squel=require('squel');var crypto=require(_0xedbb('0xd'));var jsforce=require(_0xedbb('0xe'));var deskjs=require('desk.js');var toCsv=require(_0xedbb('0xa'));var querystring=require('querystring');var Papa=require(_0xedbb('0xf'));var Redis=require(_0xedbb('0x10'));var authService=require(_0xedbb('0x11'));var qs=require('../../components/parsers/qs');var as=require(_0xedbb('0x12'));var hardwareService=require('../../config/license/hardware');var logger=require(_0xedbb('0x13'))(_0xedbb('0x14'));var utils=require(_0xedbb('0x15'));var config=require(_0xedbb('0x16'));var db=require('../../mysqldb')['db'];var jayson=require(_0xedbb('0x17'));var client=jayson[_0xedbb('0x18')][_0xedbb('0x19')]({'port':0x232a});function checkPasswordPattern(_0x1046d1,_0x227172,_0x36f274){if(_0x36f274){var _0x47fe18=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0x47fe18[_0xedbb('0x1a')](_0x227172)){return _0x1046d1;}else{throw new db[(_0xedbb('0x1b'))][(_0xedbb('0x1c'))](_0xedbb('0x1d'));}}else{return _0x1046d1;}}function respondWithRpcPromise(_0x2a4fe3,_0x3612d8,_0x4e23be,_0x4b7afe){return new BPromise(function(_0x369f68,_0x1ca947){var _0x5186cf=_0x4b7afe||client;return _0x5186cf[_0xedbb('0x1e')](_0x2a4fe3,_0x4e23be)[_0xedbb('0x1f')](function(_0x93dbc7){logger['info'](_0xedbb('0x20'),_0x3612d8,'request\x20sent');logger['debug']('DeskConfiguration,\x20%s,\x20%s,\x20%s',_0x3612d8,'request\x20sent',JSON[_0xedbb('0x21')](_0x93dbc7));if(_0x93dbc7['error']){if(_0x93dbc7['error'][_0xedbb('0x22')]===0x1f4){logger[_0xedbb('0x23')](_0xedbb('0x20'),_0x3612d8,_0x93dbc7[_0xedbb('0x23')][_0xedbb('0x24')]);return _0x1ca947(_0x93dbc7[_0xedbb('0x23')]['message']);}logger[_0xedbb('0x23')](_0xedbb('0x20'),_0x3612d8,_0x93dbc7[_0xedbb('0x23')]['message']);return _0x369f68(_0x93dbc7[_0xedbb('0x23')][_0xedbb('0x24')]);}else{logger[_0xedbb('0x25')]('DeskConfiguration,\x20%s,\x20%s',_0x3612d8,_0xedbb('0x26'));_0x369f68(_0x93dbc7[_0xedbb('0x27')][_0xedbb('0x24')]);}})[_0xedbb('0x28')](function(_0x1e6d72){logger[_0xedbb('0x23')](_0xedbb('0x20'),_0x3612d8,_0x1e6d72);_0x1ca947(_0x1e6d72);});});}function respondWithStatusCode(_0x2d5ed8,_0x23d591){_0x23d591=_0x23d591||0xcc;return function(_0x4da320){if(_0x4da320){return _0x2d5ed8[_0xedbb('0x29')](_0x23d591);}return _0x2d5ed8[_0xedbb('0x2a')](_0x23d591)[_0xedbb('0x2b')]();};}function respondWithResult(_0x589ea4,_0x29bf23){_0x29bf23=_0x29bf23||0xc8;return function(_0x38fb3b){if(_0x38fb3b){return _0x589ea4['status'](_0x29bf23)['json'](_0x38fb3b);}};}function respondWithFilteredResult(_0x528647,_0x1a3a01){return function(_0x39d8e6){if(_0x39d8e6){var _0x1992d4=_0x39d8e6[_0xedbb('0x2c')],_0x2360bc=_0x1a3a01[_0xedbb('0x2d')],_0x83f403=_0x1a3a01[_0xedbb('0x2d')]+_0x1a3a01[_0xedbb('0x2e')],_0x546eda;if(_0x83f403>=_0x1992d4){_0x83f403=_0x1992d4;_0x546eda=0xc8;}else{_0x546eda=0xce;}_0x528647[_0xedbb('0x2a')](_0x546eda);return _0x528647['set'](_0xedbb('0x2f'),_0x2360bc+'-'+_0x83f403+'/'+_0x1992d4)[_0xedbb('0x30')](_0x39d8e6);}return null;};}function patchUpdates(_0x35c077){return function(_0x2b3a3){try{jsonpatch[_0xedbb('0x31')](_0x2b3a3,_0x35c077,!![]);}catch(_0x35d2e3){return BPromise[_0xedbb('0x32')](_0x35d2e3);}return _0x2b3a3['save']();};}function saveUpdates(_0x17ee70,_0xc6643){return function(_0x1daa2a){if(_0x1daa2a){return _0x1daa2a['update'](_0x17ee70)['then'](function(_0x1f60ae){return _0x1f60ae;});}return null;};}function removeEntity(_0x4dea3c,_0x2b596e){return function(_0x2f6862){if(_0x2f6862){return _0x2f6862[_0xedbb('0x33')]()[_0xedbb('0x1f')](function(){_0x4dea3c['status'](0xcc)[_0xedbb('0x2b')]();});}};}function handleEntityNotFound(_0x2b9643,_0x533beb){return function(_0x2cc15e){if(!_0x2cc15e){_0x2b9643[_0xedbb('0x29')](0x194);}return _0x2cc15e;};}function handleError(_0x58ee2a,_0x22b8b3){_0x22b8b3=_0x22b8b3||0x1f4;return function(_0x583cf9){logger[_0xedbb('0x23')](_0x583cf9[_0xedbb('0x34')]);if(_0x583cf9['name']){delete _0x583cf9['name'];}_0x58ee2a['status'](_0x22b8b3)[_0xedbb('0x35')](_0x583cf9);};}exports['index']=function(_0x1151bc,_0x319300){var _0x195d83={},_0x555f53={},_0x381351={'count':0x0,'rows':[]};var _0x1b9369=_[_0xedbb('0x36')](db[_0xedbb('0x37')][_0xedbb('0x38')],function(_0x244580){return{'name':_0x244580[_0xedbb('0x39')],'type':_0x244580[_0xedbb('0x3a')]['key']};});_0x555f53[_0xedbb('0x3b')]=_[_0xedbb('0x36')](_0x1b9369,'name');_0x555f53['query']=_[_0xedbb('0x3c')](_0x1151bc[_0xedbb('0x3d')]);_0x555f53[_0xedbb('0x3e')]=_[_0xedbb('0x3f')](_0x555f53[_0xedbb('0x3b')],_0x555f53[_0xedbb('0x3d')]);_0x195d83['attributes']=_[_0xedbb('0x3f')](_0x555f53[_0xedbb('0x3b')],qs[_0xedbb('0x40')](_0x1151bc[_0xedbb('0x3d')]['fields']));_0x195d83[_0xedbb('0x41')]=_0x195d83[_0xedbb('0x41')][_0xedbb('0x42')]?_0x195d83['attributes']:_0x555f53['model'];if(!_0x1151bc[_0xedbb('0x3d')][_0xedbb('0x43')]('nolimit')){_0x195d83[_0xedbb('0x2e')]=qs[_0xedbb('0x2e')](_0x1151bc[_0xedbb('0x3d')][_0xedbb('0x2e')]);_0x195d83[_0xedbb('0x2d')]=qs[_0xedbb('0x2d')](_0x1151bc[_0xedbb('0x3d')]['offset']);}_0x195d83[_0xedbb('0x44')]=qs['sort'](_0x1151bc[_0xedbb('0x3d')]['sort']);_0x195d83[_0xedbb('0x45')]=qs[_0xedbb('0x3e')](_[_0xedbb('0x46')](_0x1151bc[_0xedbb('0x3d')],_0x555f53[_0xedbb('0x3e')]),_0x1b9369);if(_0x1151bc['query'][_0xedbb('0x47')]){_0x195d83[_0xedbb('0x45')]=_[_0xedbb('0x48')](_0x195d83[_0xedbb('0x45')],{'$or':_[_0xedbb('0x36')](_0x1b9369,function(_0x2ea2d5){if(_0x2ea2d5[_0xedbb('0x3a')]!==_0xedbb('0x49')){var _0x5e2df1={};_0x5e2df1[_0x2ea2d5[_0xedbb('0x4a')]]={'$like':'%'+_0x1151bc[_0xedbb('0x3d')][_0xedbb('0x47')]+'%'};return _0x5e2df1;}})});}_0x195d83=_[_0xedbb('0x48')]({},_0x195d83,_0x1151bc[_0xedbb('0x4b')]);var _0x28841c={'where':_0x195d83[_0xedbb('0x45')]};return db['DeskConfiguration'][_0xedbb('0x2c')](_0x28841c)[_0xedbb('0x1f')](function(_0x51cd9b){_0x381351['count']=_0x51cd9b;if(_0x1151bc[_0xedbb('0x3d')][_0xedbb('0x4c')]){_0x195d83[_0xedbb('0x4d')]=[{'all':!![]}];}return db[_0xedbb('0x37')][_0xedbb('0x4e')](_0x195d83);})['then'](function(_0x36ac3a){_0x381351['rows']=_0x36ac3a;return _0x381351;})[_0xedbb('0x1f')](respondWithFilteredResult(_0x319300,_0x195d83))[_0xedbb('0x28')](handleError(_0x319300,null));};exports['show']=function(_0x3f3f36,_0x52bc21){var _0x4f330a={'raw':![],'where':{'id':_0x3f3f36[_0xedbb('0x4f')]['id']}},_0x2cc7c0={};_0x2cc7c0[_0xedbb('0x3b')]=_[_0xedbb('0x3c')](db[_0xedbb('0x37')]['rawAttributes']);_0x2cc7c0[_0xedbb('0x3d')]=_[_0xedbb('0x3c')](_0x3f3f36['query']);_0x2cc7c0[_0xedbb('0x3e')]=_['intersection'](_0x2cc7c0[_0xedbb('0x3b')],_0x2cc7c0['query']);_0x4f330a[_0xedbb('0x41')]=_[_0xedbb('0x3f')](_0x2cc7c0[_0xedbb('0x3b')],qs[_0xedbb('0x40')](_0x3f3f36[_0xedbb('0x3d')][_0xedbb('0x40')]));_0x4f330a[_0xedbb('0x41')]=_0x4f330a[_0xedbb('0x41')][_0xedbb('0x42')]?_0x4f330a[_0xedbb('0x41')]:_0x2cc7c0[_0xedbb('0x3b')];if(_0x3f3f36[_0xedbb('0x3d')][_0xedbb('0x4c')]){_0x4f330a[_0xedbb('0x4d')]=[{'all':!![]}];}_0x4f330a=_[_0xedbb('0x48')]({},_0x4f330a,_0x3f3f36[_0xedbb('0x4b')]);return db[_0xedbb('0x37')]['find'](_0x4f330a)[_0xedbb('0x1f')](handleEntityNotFound(_0x52bc21,null))[_0xedbb('0x1f')](respondWithResult(_0x52bc21,null))[_0xedbb('0x28')](handleError(_0x52bc21,null));};exports[_0xedbb('0x50')]=function(_0x465bf8,_0x3daa09){return db[_0xedbb('0x37')][_0xedbb('0x50')](_0x465bf8['body'],{})[_0xedbb('0x1f')](respondWithResult(_0x3daa09,0xc9))[_0xedbb('0x28')](handleError(_0x3daa09,null));};exports[_0xedbb('0x51')]=function(_0xbe53af,_0x6d3e24){if(_0xbe53af['body']['id']){delete _0xbe53af[_0xedbb('0x52')]['id'];}return db[_0xedbb('0x37')][_0xedbb('0x53')]({'where':{'id':_0xbe53af[_0xedbb('0x4f')]['id']}})[_0xedbb('0x1f')](handleEntityNotFound(_0x6d3e24,null))[_0xedbb('0x1f')](saveUpdates(_0xbe53af[_0xedbb('0x52')],null))[_0xedbb('0x1f')](respondWithResult(_0x6d3e24,null))[_0xedbb('0x28')](handleError(_0x6d3e24,null));};exports[_0xedbb('0x33')]=function(_0x223a03,_0xf4c6bd){return db['DeskConfiguration'][_0xedbb('0x53')]({'where':{'id':_0x223a03[_0xedbb('0x4f')]['id']}})[_0xedbb('0x1f')](handleEntityNotFound(_0xf4c6bd,null))[_0xedbb('0x1f')](removeEntity(_0xf4c6bd,null))[_0xedbb('0x28')](handleError(_0xf4c6bd,null));};exports[_0xedbb('0x54')]=function(_0x5b22d8,_0x1519a2,_0x31023e){var _0x4a0e28={};var _0x46da56={};var _0x2a96d5;var _0x4afb6a;return db['DeskConfiguration']['findOne']({'where':{'id':_0x5b22d8[_0xedbb('0x4f')]['id']}})[_0xedbb('0x1f')](handleEntityNotFound(_0x1519a2,null))['then'](function(_0x31dfb6){if(_0x31dfb6){_0x2a96d5=_0x31dfb6;_0x46da56['model']=_[_0xedbb('0x3c')](db[_0xedbb('0x55')][_0xedbb('0x38')]);_0x46da56[_0xedbb('0x3d')]=_[_0xedbb('0x3c')](_0x5b22d8[_0xedbb('0x3d')]);_0x46da56['filters']=_[_0xedbb('0x3f')](_0x46da56['model'],_0x46da56[_0xedbb('0x3d')]);_0x4a0e28['attributes']=_['intersection'](_0x46da56[_0xedbb('0x3b')],qs[_0xedbb('0x40')](_0x5b22d8[_0xedbb('0x3d')][_0xedbb('0x40')]));_0x4a0e28['attributes']=_0x4a0e28[_0xedbb('0x41')][_0xedbb('0x42')]?_0x4a0e28[_0xedbb('0x41')]:_0x46da56[_0xedbb('0x3b')];_0x4a0e28['order']=qs['sort'](_0x5b22d8[_0xedbb('0x3d')][_0xedbb('0x56')]);_0x4a0e28[_0xedbb('0x45')]=qs[_0xedbb('0x3e')](_[_0xedbb('0x46')](_0x5b22d8['query'],_0x46da56[_0xedbb('0x3e')]));if(_0x5b22d8[_0xedbb('0x3d')]['filter']){_0x4a0e28[_0xedbb('0x45')]=_[_0xedbb('0x48')](_0x4a0e28[_0xedbb('0x45')],{'$or':_[_0xedbb('0x36')](_0x4a0e28[_0xedbb('0x41')],function(_0x182377){var _0x5c999e={};_0x5c999e[_0x182377]={'$like':'%'+_0x5b22d8[_0xedbb('0x3d')][_0xedbb('0x47')]+'%'};return _0x5c999e;})});}_0x4a0e28=_['merge']({},_0x4a0e28,_0x5b22d8[_0xedbb('0x4b')]);return _0x2a96d5[_0xedbb('0x54')](_0x4a0e28);}})[_0xedbb('0x1f')](function(_0x19da8e){if(_0x19da8e){_0x4afb6a=_0x19da8e['length'];if(!_0x5b22d8[_0xedbb('0x3d')]['hasOwnProperty'](_0xedbb('0x57'))){_0x4a0e28['limit']=qs[_0xedbb('0x2e')](_0x5b22d8['query']['limit']);_0x4a0e28[_0xedbb('0x2d')]=qs[_0xedbb('0x2d')](_0x5b22d8[_0xedbb('0x3d')][_0xedbb('0x2d')]);}return _0x2a96d5[_0xedbb('0x54')](_0x4a0e28);}})[_0xedbb('0x1f')](function(_0x4cd0e6){if(_0x4cd0e6){return _0x4cd0e6?{'count':_0x4afb6a,'rows':_0x4cd0e6}:null;}})[_0xedbb('0x1f')](respondWithResult(_0x1519a2,null))[_0xedbb('0x28')](handleError(_0x1519a2,null));};exports[_0xedbb('0x58')]=function(_0x447c0c,_0x50bd4a,_0x59011a){var _0x49675d={};var _0x2d9096={};var _0x14a0eb;var _0x12d2f4;return db[_0xedbb('0x37')][_0xedbb('0x59')]({'where':{'id':_0x447c0c[_0xedbb('0x4f')]['id']}})[_0xedbb('0x1f')](handleEntityNotFound(_0x50bd4a,null))[_0xedbb('0x1f')](function(_0x3e4a6e){if(_0x3e4a6e){_0x14a0eb=_0x3e4a6e;_0x2d9096[_0xedbb('0x3b')]=_[_0xedbb('0x3c')](db['DeskField'][_0xedbb('0x38')]);_0x2d9096[_0xedbb('0x3d')]=_[_0xedbb('0x3c')](_0x447c0c[_0xedbb('0x3d')]);_0x2d9096[_0xedbb('0x3e')]=_[_0xedbb('0x3f')](_0x2d9096[_0xedbb('0x3b')],_0x2d9096[_0xedbb('0x3d')]);_0x49675d[_0xedbb('0x41')]=_['intersection'](_0x2d9096[_0xedbb('0x3b')],qs[_0xedbb('0x40')](_0x447c0c[_0xedbb('0x3d')][_0xedbb('0x40')]));_0x49675d[_0xedbb('0x41')]=_0x49675d[_0xedbb('0x41')][_0xedbb('0x42')]?_0x49675d[_0xedbb('0x41')]:_0x2d9096[_0xedbb('0x3b')];_0x49675d[_0xedbb('0x44')]=qs[_0xedbb('0x56')](_0x447c0c[_0xedbb('0x3d')][_0xedbb('0x56')]);_0x49675d[_0xedbb('0x45')]=qs['filters'](_[_0xedbb('0x46')](_0x447c0c['query'],_0x2d9096[_0xedbb('0x3e')]));if(_0x447c0c['query'][_0xedbb('0x47')]){_0x49675d[_0xedbb('0x45')]=_[_0xedbb('0x48')](_0x49675d[_0xedbb('0x45')],{'$or':_['map'](_0x49675d['attributes'],function(_0x4e7aa0){var _0x175c7a={};_0x175c7a[_0x4e7aa0]={'$like':'%'+_0x447c0c[_0xedbb('0x3d')][_0xedbb('0x47')]+'%'};return _0x175c7a;})});}_0x49675d=_['merge']({},_0x49675d,_0x447c0c[_0xedbb('0x4b')]);return _0x14a0eb[_0xedbb('0x58')](_0x49675d);}})[_0xedbb('0x1f')](function(_0x47a1f7){if(_0x47a1f7){_0x12d2f4=_0x47a1f7[_0xedbb('0x42')];if(!_0x447c0c[_0xedbb('0x3d')][_0xedbb('0x43')](_0xedbb('0x57'))){_0x49675d[_0xedbb('0x2e')]=qs[_0xedbb('0x2e')](_0x447c0c[_0xedbb('0x3d')][_0xedbb('0x2e')]);_0x49675d[_0xedbb('0x2d')]=qs[_0xedbb('0x2d')](_0x447c0c['query'][_0xedbb('0x2d')]);}return _0x14a0eb[_0xedbb('0x58')](_0x49675d);}})[_0xedbb('0x1f')](function(_0x3a27db){if(_0x3a27db){return _0x3a27db?{'count':_0x12d2f4,'rows':_0x3a27db}:null;}})[_0xedbb('0x1f')](respondWithResult(_0x50bd4a,null))[_0xedbb('0x28')](handleError(_0x50bd4a,null));};exports[_0xedbb('0x5a')]=function(_0x3a0756,_0x437825,_0x3fce34){var _0x48af5e={};var _0x1d4dc4={};var _0x16ee59;var _0x2c2ddc;return db[_0xedbb('0x37')][_0xedbb('0x59')]({'where':{'id':_0x3a0756[_0xedbb('0x4f')]['id']}})[_0xedbb('0x1f')](handleEntityNotFound(_0x437825,null))['then'](function(_0x583fb8){if(_0x583fb8){_0x16ee59=_0x583fb8;_0x1d4dc4[_0xedbb('0x3b')]=_[_0xedbb('0x3c')](db[_0xedbb('0x55')][_0xedbb('0x38')]);_0x1d4dc4[_0xedbb('0x3d')]=_['keys'](_0x3a0756[_0xedbb('0x3d')]);_0x1d4dc4[_0xedbb('0x3e')]=_['intersection'](_0x1d4dc4[_0xedbb('0x3b')],_0x1d4dc4[_0xedbb('0x3d')]);_0x48af5e[_0xedbb('0x41')]=_[_0xedbb('0x3f')](_0x1d4dc4[_0xedbb('0x3b')],qs[_0xedbb('0x40')](_0x3a0756['query'][_0xedbb('0x40')]));_0x48af5e[_0xedbb('0x41')]=_0x48af5e[_0xedbb('0x41')][_0xedbb('0x42')]?_0x48af5e[_0xedbb('0x41')]:_0x1d4dc4['model'];_0x48af5e[_0xedbb('0x44')]=qs[_0xedbb('0x56')](_0x3a0756[_0xedbb('0x3d')][_0xedbb('0x56')]);_0x48af5e[_0xedbb('0x45')]=qs[_0xedbb('0x3e')](_[_0xedbb('0x46')](_0x3a0756[_0xedbb('0x3d')],_0x1d4dc4['filters']));if(_0x3a0756[_0xedbb('0x3d')]['filter']){_0x48af5e[_0xedbb('0x45')]=_['merge'](_0x48af5e['where'],{'$or':_[_0xedbb('0x36')](_0x48af5e[_0xedbb('0x41')],function(_0x216f21){var _0x2f32c1={};_0x2f32c1[_0x216f21]={'$like':'%'+_0x3a0756[_0xedbb('0x3d')][_0xedbb('0x47')]+'%'};return _0x2f32c1;})});}_0x48af5e=_['merge']({},_0x48af5e,_0x3a0756[_0xedbb('0x4b')]);return _0x16ee59[_0xedbb('0x5a')](_0x48af5e);}})[_0xedbb('0x1f')](function(_0x15f861){if(_0x15f861){_0x2c2ddc=_0x15f861[_0xedbb('0x42')];if(!_0x3a0756[_0xedbb('0x3d')][_0xedbb('0x43')](_0xedbb('0x57'))){_0x48af5e[_0xedbb('0x2e')]=qs[_0xedbb('0x2e')](_0x3a0756[_0xedbb('0x3d')]['limit']);_0x48af5e[_0xedbb('0x2d')]=qs[_0xedbb('0x2d')](_0x3a0756['query']['offset']);}return _0x16ee59[_0xedbb('0x5a')](_0x48af5e);}})[_0xedbb('0x1f')](function(_0x4e0755){if(_0x4e0755){return _0x4e0755?{'count':_0x2c2ddc,'rows':_0x4e0755}:null;}})[_0xedbb('0x1f')](respondWithResult(_0x437825,null))['catch'](handleError(_0x437825,null));};exports['getTags']=function(_0x115b90,_0x53134c,_0x5c817d){var _0x588ebc={};var _0x298e1a={};var _0x238476;var _0x3d76e1;return db[_0xedbb('0x37')][_0xedbb('0x59')]({'where':{'id':_0x115b90[_0xedbb('0x4f')]['id']}})[_0xedbb('0x1f')](handleEntityNotFound(_0x53134c,null))[_0xedbb('0x1f')](function(_0x361e79){if(_0x361e79){_0x238476=_0x361e79;_0x298e1a[_0xedbb('0x3b')]=_[_0xedbb('0x3c')](db[_0xedbb('0x5b')][_0xedbb('0x38')]);_0x298e1a[_0xedbb('0x3d')]=_['keys'](_0x115b90['query']);_0x298e1a[_0xedbb('0x3e')]=_['intersection'](_0x298e1a[_0xedbb('0x3b')],_0x298e1a[_0xedbb('0x3d')]);_0x588ebc['attributes']=_[_0xedbb('0x3f')](_0x298e1a[_0xedbb('0x3b')],qs[_0xedbb('0x40')](_0x115b90[_0xedbb('0x3d')][_0xedbb('0x40')]));_0x588ebc['attributes']=_0x588ebc[_0xedbb('0x41')][_0xedbb('0x42')]?_0x588ebc['attributes']:_0x298e1a[_0xedbb('0x3b')];_0x588ebc[_0xedbb('0x44')]=qs[_0xedbb('0x56')](_0x115b90[_0xedbb('0x3d')][_0xedbb('0x56')]);_0x588ebc[_0xedbb('0x45')]=qs[_0xedbb('0x3e')](_[_0xedbb('0x46')](_0x115b90[_0xedbb('0x3d')],_0x298e1a[_0xedbb('0x3e')]));if(_0x115b90[_0xedbb('0x3d')]['filter']){_0x588ebc[_0xedbb('0x45')]=_[_0xedbb('0x48')](_0x588ebc[_0xedbb('0x45')],{'$or':_[_0xedbb('0x36')](_0x588ebc[_0xedbb('0x41')],function(_0x3636c0){var _0x16ac40={};_0x16ac40[_0x3636c0]={'$like':'%'+_0x115b90[_0xedbb('0x3d')][_0xedbb('0x47')]+'%'};return _0x16ac40;})});}_0x588ebc=_[_0xedbb('0x48')]({},_0x588ebc,_0x115b90['options']);return _0x238476['getTags'](_0x588ebc);}})[_0xedbb('0x1f')](function(_0x1747bd){if(_0x1747bd){_0x3d76e1=_0x1747bd[_0xedbb('0x42')];if(!_0x115b90[_0xedbb('0x3d')][_0xedbb('0x43')](_0xedbb('0x57'))){_0x588ebc['limit']=qs['limit'](_0x115b90[_0xedbb('0x3d')]['limit']);_0x588ebc[_0xedbb('0x2d')]=qs[_0xedbb('0x2d')](_0x115b90[_0xedbb('0x3d')]['offset']);}return _0x238476['getTags'](_0x588ebc);}})[_0xedbb('0x1f')](function(_0x4e65c4){if(_0x4e65c4){return _0x4e65c4?{'count':_0x3d76e1,'rows':_0x4e65c4}:null;}})['then'](respondWithResult(_0x53134c,null))['catch'](handleError(_0x53134c,null));};exports['setTags']=function(_0xc4ea7e,_0x34ccaa,_0x24607b){if(_0xc4ea7e[_0xedbb('0x52')]['id']){delete _0xc4ea7e['body']['id'];}return db['DeskConfiguration'][_0xedbb('0x59')]({'where':{'id':_0xc4ea7e[_0xedbb('0x4f')]['id']}})[_0xedbb('0x1f')](handleEntityNotFound(_0x34ccaa,null))[_0xedbb('0x1f')](function(_0x51ddb3){if(_0x51ddb3){return _0x51ddb3[_0xedbb('0x5c')](_0xc4ea7e[_0xedbb('0x52')][_0xedbb('0x5d')]||[]);}return null;})[_0xedbb('0x1f')](respondWithResult(_0x34ccaa,null))[_0xedbb('0x28')](handleError(_0x34ccaa,null));}; \ No newline at end of file +var _0xb3ea=['getDescriptions','getTags','Tag','setTags','ids','html-pdf','eml-format','rimraf','fast-json-patch','moment','mustache','util','path','sox','to-csv','lodash','crypto','jsforce','querystring','ioredis','../../components/auth/service','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','Sequelize','then','DeskConfiguration,\x20%s,\x20%s','request\x20sent','debug','DeskConfiguration,\x20%s,\x20%s,\x20%s','stringify','error','code','message','result','sendStatus','status','json','count','offset','limit','Content-Range','reject','save','update','destroy','stack','name','send','index','map','DeskConfiguration','rawAttributes','type','key','model','query','filters','intersection','attributes','fields','length','hasOwnProperty','nolimit','order','sort','pick','filter','merge','where','VIRTUAL','options','findAll','catch','show','params','includeAll','create','body','find','getFields','findOne','DeskField','keys','getSubjects'];(function(_0x19ebfd,_0x5ae121){var _0x11017a=function(_0x24db17){while(--_0x24db17){_0x19ebfd['push'](_0x19ebfd['shift']());}};_0x11017a(++_0x5ae121);}(_0xb3ea,0x10d));var _0xab3e=function(_0x59083f,_0x4996c0){_0x59083f=_0x59083f-0x0;var _0x348f27=_0xb3ea[_0x59083f];return _0x348f27;};'use strict';var pdf=require(_0xab3e('0x0'));var emlformat=require(_0xab3e('0x1'));var rimraf=require(_0xab3e('0x2'));var zipdir=require('zip-dir');var jsonpatch=require(_0xab3e('0x3'));var rp=require('request-promise');var moment=require(_0xab3e('0x4'));var BPromise=require('bluebird');var Mustache=require(_0xab3e('0x5'));var util=require(_0xab3e('0x6'));var path=require(_0xab3e('0x7'));var sox=require(_0xab3e('0x8'));var csv=require(_0xab3e('0x9'));var ejs=require('ejs');var fs=require('fs');var _=require(_0xab3e('0xa'));var squel=require('squel');var crypto=require(_0xab3e('0xb'));var jsforce=require(_0xab3e('0xc'));var deskjs=require('desk.js');var toCsv=require(_0xab3e('0x9'));var querystring=require(_0xab3e('0xd'));var Papa=require('papaparse');var Redis=require(_0xab3e('0xe'));var authService=require(_0xab3e('0xf'));var qs=require('../../components/parsers/qs');var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0xab3e('0x10'));var logger=require(_0xab3e('0x11'))(_0xab3e('0x12'));var utils=require(_0xab3e('0x13'));var config=require(_0xab3e('0x14'));var db=require(_0xab3e('0x15'))['db'];var jayson=require('jayson/promise');var client=jayson['client']['http']({'port':0x232a});function checkPasswordPattern(_0x30ce1e,_0x371d5d,_0xd9194e){if(_0xd9194e){var _0x2394e6=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0x2394e6['test'](_0x371d5d)){return _0x30ce1e;}else{throw new db[(_0xab3e('0x16'))]['ValidationError']('The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.');}}else{return _0x30ce1e;}}function respondWithRpcPromise(_0x1fb92b,_0x1cedbc,_0x4870e4,_0x4610b0){return new BPromise(function(_0x161ff9,_0x5aad51){var _0xcf080c=_0x4610b0||client;return _0xcf080c['request'](_0x1fb92b,_0x4870e4)[_0xab3e('0x17')](function(_0x57be98){logger['info'](_0xab3e('0x18'),_0x1cedbc,_0xab3e('0x19'));logger[_0xab3e('0x1a')](_0xab3e('0x1b'),_0x1cedbc,_0xab3e('0x19'),JSON[_0xab3e('0x1c')](_0x57be98));if(_0x57be98['error']){if(_0x57be98[_0xab3e('0x1d')][_0xab3e('0x1e')]===0x1f4){logger[_0xab3e('0x1d')]('DeskConfiguration,\x20%s,\x20%s',_0x1cedbc,_0x57be98[_0xab3e('0x1d')][_0xab3e('0x1f')]);return _0x5aad51(_0x57be98[_0xab3e('0x1d')][_0xab3e('0x1f')]);}logger[_0xab3e('0x1d')](_0xab3e('0x18'),_0x1cedbc,_0x57be98[_0xab3e('0x1d')][_0xab3e('0x1f')]);return _0x161ff9(_0x57be98[_0xab3e('0x1d')][_0xab3e('0x1f')]);}else{logger['info']('DeskConfiguration,\x20%s,\x20%s',_0x1cedbc,'request\x20sent');_0x161ff9(_0x57be98[_0xab3e('0x20')][_0xab3e('0x1f')]);}})['catch'](function(_0x57af32){logger['error'](_0xab3e('0x18'),_0x1cedbc,_0x57af32);_0x5aad51(_0x57af32);});});}function respondWithStatusCode(_0x5eba1f,_0x1a119b){_0x1a119b=_0x1a119b||0xcc;return function(_0x5f34bf){if(_0x5f34bf){return _0x5eba1f[_0xab3e('0x21')](_0x1a119b);}return _0x5eba1f[_0xab3e('0x22')](_0x1a119b)['end']();};}function respondWithResult(_0x13defd,_0x52b695){_0x52b695=_0x52b695||0xc8;return function(_0x3de38e){if(_0x3de38e){return _0x13defd[_0xab3e('0x22')](_0x52b695)[_0xab3e('0x23')](_0x3de38e);}};}function respondWithFilteredResult(_0x460a25,_0x3a727d){return function(_0x360bf7){if(_0x360bf7){var _0x2c9111=_0x360bf7[_0xab3e('0x24')],_0x4cc66b=_0x3a727d[_0xab3e('0x25')],_0x1a9d88=_0x3a727d['offset']+_0x3a727d[_0xab3e('0x26')],_0x287dbd;if(_0x1a9d88>=_0x2c9111){_0x1a9d88=_0x2c9111;_0x287dbd=0xc8;}else{_0x287dbd=0xce;}_0x460a25[_0xab3e('0x22')](_0x287dbd);return _0x460a25['set'](_0xab3e('0x27'),_0x4cc66b+'-'+_0x1a9d88+'/'+_0x2c9111)['json'](_0x360bf7);}return null;};}function patchUpdates(_0x5db57e){return function(_0xa13ad1){try{jsonpatch['apply'](_0xa13ad1,_0x5db57e,!![]);}catch(_0x2535bd){return BPromise[_0xab3e('0x28')](_0x2535bd);}return _0xa13ad1[_0xab3e('0x29')]();};}function saveUpdates(_0x4a51d8,_0x127bab){return function(_0x15f1ff){if(_0x15f1ff){return _0x15f1ff[_0xab3e('0x2a')](_0x4a51d8)[_0xab3e('0x17')](function(_0x266fa4){return _0x266fa4;});}return null;};}function removeEntity(_0xffa30b,_0x37362a){return function(_0x2f2379){if(_0x2f2379){return _0x2f2379[_0xab3e('0x2b')]()[_0xab3e('0x17')](function(){_0xffa30b[_0xab3e('0x22')](0xcc)['end']();});}};}function handleEntityNotFound(_0x2104fc,_0x17a81c){return function(_0x5cc79c){if(!_0x5cc79c){_0x2104fc[_0xab3e('0x21')](0x194);}return _0x5cc79c;};}function handleError(_0x5cff25,_0x204ff5){_0x204ff5=_0x204ff5||0x1f4;return function(_0x3847bd){logger[_0xab3e('0x1d')](_0x3847bd[_0xab3e('0x2c')]);if(_0x3847bd[_0xab3e('0x2d')]){delete _0x3847bd[_0xab3e('0x2d')];}_0x5cff25[_0xab3e('0x22')](_0x204ff5)[_0xab3e('0x2e')](_0x3847bd);};}exports[_0xab3e('0x2f')]=function(_0x42f5d0,_0x4bf567){var _0x539b63={},_0x27e82b={},_0x44d91e={'count':0x0,'rows':[]};var _0x19ea03=_[_0xab3e('0x30')](db[_0xab3e('0x31')][_0xab3e('0x32')],function(_0x1f0397){return{'name':_0x1f0397['fieldName'],'type':_0x1f0397[_0xab3e('0x33')][_0xab3e('0x34')]};});_0x27e82b[_0xab3e('0x35')]=_[_0xab3e('0x30')](_0x19ea03,'name');_0x27e82b[_0xab3e('0x36')]=_['keys'](_0x42f5d0[_0xab3e('0x36')]);_0x27e82b[_0xab3e('0x37')]=_[_0xab3e('0x38')](_0x27e82b[_0xab3e('0x35')],_0x27e82b[_0xab3e('0x36')]);_0x539b63[_0xab3e('0x39')]=_[_0xab3e('0x38')](_0x27e82b[_0xab3e('0x35')],qs[_0xab3e('0x3a')](_0x42f5d0[_0xab3e('0x36')]['fields']));_0x539b63[_0xab3e('0x39')]=_0x539b63['attributes'][_0xab3e('0x3b')]?_0x539b63[_0xab3e('0x39')]:_0x27e82b['model'];if(!_0x42f5d0['query'][_0xab3e('0x3c')](_0xab3e('0x3d'))){_0x539b63[_0xab3e('0x26')]=qs[_0xab3e('0x26')](_0x42f5d0[_0xab3e('0x36')][_0xab3e('0x26')]);_0x539b63['offset']=qs[_0xab3e('0x25')](_0x42f5d0[_0xab3e('0x36')]['offset']);}_0x539b63[_0xab3e('0x3e')]=qs['sort'](_0x42f5d0[_0xab3e('0x36')][_0xab3e('0x3f')]);_0x539b63['where']=qs['filters'](_[_0xab3e('0x40')](_0x42f5d0['query'],_0x27e82b[_0xab3e('0x37')]),_0x19ea03);if(_0x42f5d0[_0xab3e('0x36')][_0xab3e('0x41')]){_0x539b63['where']=_[_0xab3e('0x42')](_0x539b63[_0xab3e('0x43')],{'$or':_[_0xab3e('0x30')](_0x19ea03,function(_0x1a1a5c){if(_0x1a1a5c[_0xab3e('0x33')]!==_0xab3e('0x44')){var _0x394308={};_0x394308[_0x1a1a5c[_0xab3e('0x2d')]]={'$like':'%'+_0x42f5d0[_0xab3e('0x36')][_0xab3e('0x41')]+'%'};return _0x394308;}})});}_0x539b63=_['merge']({},_0x539b63,_0x42f5d0[_0xab3e('0x45')]);var _0x5cdfcd={'where':_0x539b63['where']};return db[_0xab3e('0x31')]['count'](_0x5cdfcd)[_0xab3e('0x17')](function(_0x179fee){_0x44d91e[_0xab3e('0x24')]=_0x179fee;if(_0x42f5d0['query']['includeAll']){_0x539b63['include']=[{'all':!![]}];}return db[_0xab3e('0x31')][_0xab3e('0x46')](_0x539b63);})['then'](function(_0x29789c){_0x44d91e['rows']=_0x29789c;return _0x44d91e;})[_0xab3e('0x17')](respondWithFilteredResult(_0x4bf567,_0x539b63))[_0xab3e('0x47')](handleError(_0x4bf567,null));};exports[_0xab3e('0x48')]=function(_0xe4731a,_0x32d302){var _0x13e5b8={'raw':![],'where':{'id':_0xe4731a[_0xab3e('0x49')]['id']}},_0x2ee388={};_0x2ee388[_0xab3e('0x35')]=_['keys'](db[_0xab3e('0x31')]['rawAttributes']);_0x2ee388[_0xab3e('0x36')]=_['keys'](_0xe4731a[_0xab3e('0x36')]);_0x2ee388['filters']=_[_0xab3e('0x38')](_0x2ee388[_0xab3e('0x35')],_0x2ee388[_0xab3e('0x36')]);_0x13e5b8['attributes']=_[_0xab3e('0x38')](_0x2ee388[_0xab3e('0x35')],qs[_0xab3e('0x3a')](_0xe4731a['query'][_0xab3e('0x3a')]));_0x13e5b8[_0xab3e('0x39')]=_0x13e5b8['attributes'][_0xab3e('0x3b')]?_0x13e5b8[_0xab3e('0x39')]:_0x2ee388[_0xab3e('0x35')];if(_0xe4731a[_0xab3e('0x36')][_0xab3e('0x4a')]){_0x13e5b8['include']=[{'all':!![]}];}_0x13e5b8=_['merge']({},_0x13e5b8,_0xe4731a[_0xab3e('0x45')]);return db[_0xab3e('0x31')]['find'](_0x13e5b8)['then'](handleEntityNotFound(_0x32d302,null))[_0xab3e('0x17')](respondWithResult(_0x32d302,null))[_0xab3e('0x47')](handleError(_0x32d302,null));};exports['create']=function(_0x439503,_0x535c35){return db[_0xab3e('0x31')][_0xab3e('0x4b')](_0x439503[_0xab3e('0x4c')],{})[_0xab3e('0x17')](respondWithResult(_0x535c35,0xc9))[_0xab3e('0x47')](handleError(_0x535c35,null));};exports['update']=function(_0x14a845,_0x531cb8){if(_0x14a845[_0xab3e('0x4c')]['id']){delete _0x14a845['body']['id'];}return db['DeskConfiguration'][_0xab3e('0x4d')]({'where':{'id':_0x14a845[_0xab3e('0x49')]['id']}})[_0xab3e('0x17')](handleEntityNotFound(_0x531cb8,null))[_0xab3e('0x17')](saveUpdates(_0x14a845[_0xab3e('0x4c')],null))[_0xab3e('0x17')](respondWithResult(_0x531cb8,null))[_0xab3e('0x47')](handleError(_0x531cb8,null));};exports[_0xab3e('0x2b')]=function(_0x1f77ec,_0x557560){return db[_0xab3e('0x31')][_0xab3e('0x4d')]({'where':{'id':_0x1f77ec[_0xab3e('0x49')]['id']}})[_0xab3e('0x17')](handleEntityNotFound(_0x557560,null))[_0xab3e('0x17')](removeEntity(_0x557560,null))['catch'](handleError(_0x557560,null));};exports[_0xab3e('0x4e')]=function(_0x2caf63,_0x32c2c6,_0x3a5e8f){var _0x2937cc={};var _0x1ca5c7={};var _0x4e6403;var _0x47f634;return db['DeskConfiguration'][_0xab3e('0x4f')]({'where':{'id':_0x2caf63[_0xab3e('0x49')]['id']}})[_0xab3e('0x17')](handleEntityNotFound(_0x32c2c6,null))['then'](function(_0x1734ef){if(_0x1734ef){_0x4e6403=_0x1734ef;_0x1ca5c7[_0xab3e('0x35')]=_['keys'](db[_0xab3e('0x50')][_0xab3e('0x32')]);_0x1ca5c7[_0xab3e('0x36')]=_[_0xab3e('0x51')](_0x2caf63[_0xab3e('0x36')]);_0x1ca5c7['filters']=_[_0xab3e('0x38')](_0x1ca5c7[_0xab3e('0x35')],_0x1ca5c7[_0xab3e('0x36')]);_0x2937cc[_0xab3e('0x39')]=_[_0xab3e('0x38')](_0x1ca5c7['model'],qs['fields'](_0x2caf63['query']['fields']));_0x2937cc[_0xab3e('0x39')]=_0x2937cc[_0xab3e('0x39')]['length']?_0x2937cc[_0xab3e('0x39')]:_0x1ca5c7[_0xab3e('0x35')];_0x2937cc[_0xab3e('0x3e')]=qs[_0xab3e('0x3f')](_0x2caf63[_0xab3e('0x36')][_0xab3e('0x3f')]);_0x2937cc[_0xab3e('0x43')]=qs['filters'](_[_0xab3e('0x40')](_0x2caf63[_0xab3e('0x36')],_0x1ca5c7[_0xab3e('0x37')]));if(_0x2caf63[_0xab3e('0x36')]['filter']){_0x2937cc[_0xab3e('0x43')]=_['merge'](_0x2937cc['where'],{'$or':_[_0xab3e('0x30')](_0x2937cc[_0xab3e('0x39')],function(_0x13b877){var _0x2e217c={};_0x2e217c[_0x13b877]={'$like':'%'+_0x2caf63[_0xab3e('0x36')][_0xab3e('0x41')]+'%'};return _0x2e217c;})});}_0x2937cc=_['merge']({},_0x2937cc,_0x2caf63[_0xab3e('0x45')]);return _0x4e6403[_0xab3e('0x4e')](_0x2937cc);}})[_0xab3e('0x17')](function(_0x4c909b){if(_0x4c909b){_0x47f634=_0x4c909b[_0xab3e('0x3b')];if(!_0x2caf63[_0xab3e('0x36')][_0xab3e('0x3c')](_0xab3e('0x3d'))){_0x2937cc[_0xab3e('0x26')]=qs[_0xab3e('0x26')](_0x2caf63[_0xab3e('0x36')][_0xab3e('0x26')]);_0x2937cc[_0xab3e('0x25')]=qs[_0xab3e('0x25')](_0x2caf63[_0xab3e('0x36')]['offset']);}return _0x4e6403['getFields'](_0x2937cc);}})[_0xab3e('0x17')](function(_0x585ce3){if(_0x585ce3){return _0x585ce3?{'count':_0x47f634,'rows':_0x585ce3}:null;}})['then'](respondWithResult(_0x32c2c6,null))[_0xab3e('0x47')](handleError(_0x32c2c6,null));};exports[_0xab3e('0x52')]=function(_0x15334c,_0x2b9651,_0x553af2){var _0x5b5b03={};var _0x5c171a={};var _0x161865;var _0x36004c;return db[_0xab3e('0x31')][_0xab3e('0x4f')]({'where':{'id':_0x15334c['params']['id']}})['then'](handleEntityNotFound(_0x2b9651,null))[_0xab3e('0x17')](function(_0x29e02f){if(_0x29e02f){_0x161865=_0x29e02f;_0x5c171a['model']=_['keys'](db[_0xab3e('0x50')][_0xab3e('0x32')]);_0x5c171a['query']=_[_0xab3e('0x51')](_0x15334c['query']);_0x5c171a[_0xab3e('0x37')]=_[_0xab3e('0x38')](_0x5c171a[_0xab3e('0x35')],_0x5c171a[_0xab3e('0x36')]);_0x5b5b03[_0xab3e('0x39')]=_[_0xab3e('0x38')](_0x5c171a[_0xab3e('0x35')],qs[_0xab3e('0x3a')](_0x15334c['query']['fields']));_0x5b5b03[_0xab3e('0x39')]=_0x5b5b03[_0xab3e('0x39')][_0xab3e('0x3b')]?_0x5b5b03['attributes']:_0x5c171a[_0xab3e('0x35')];_0x5b5b03[_0xab3e('0x3e')]=qs['sort'](_0x15334c[_0xab3e('0x36')][_0xab3e('0x3f')]);_0x5b5b03['where']=qs[_0xab3e('0x37')](_[_0xab3e('0x40')](_0x15334c[_0xab3e('0x36')],_0x5c171a[_0xab3e('0x37')]));if(_0x15334c[_0xab3e('0x36')]['filter']){_0x5b5b03[_0xab3e('0x43')]=_[_0xab3e('0x42')](_0x5b5b03['where'],{'$or':_[_0xab3e('0x30')](_0x5b5b03[_0xab3e('0x39')],function(_0x4c1291){var _0x1e47e0={};_0x1e47e0[_0x4c1291]={'$like':'%'+_0x15334c[_0xab3e('0x36')][_0xab3e('0x41')]+'%'};return _0x1e47e0;})});}_0x5b5b03=_['merge']({},_0x5b5b03,_0x15334c[_0xab3e('0x45')]);return _0x161865[_0xab3e('0x52')](_0x5b5b03);}})[_0xab3e('0x17')](function(_0x368da2){if(_0x368da2){_0x36004c=_0x368da2['length'];if(!_0x15334c['query'][_0xab3e('0x3c')](_0xab3e('0x3d'))){_0x5b5b03[_0xab3e('0x26')]=qs[_0xab3e('0x26')](_0x15334c[_0xab3e('0x36')][_0xab3e('0x26')]);_0x5b5b03[_0xab3e('0x25')]=qs[_0xab3e('0x25')](_0x15334c[_0xab3e('0x36')]['offset']);}return _0x161865[_0xab3e('0x52')](_0x5b5b03);}})[_0xab3e('0x17')](function(_0x1d89c4){if(_0x1d89c4){return _0x1d89c4?{'count':_0x36004c,'rows':_0x1d89c4}:null;}})[_0xab3e('0x17')](respondWithResult(_0x2b9651,null))[_0xab3e('0x47')](handleError(_0x2b9651,null));};exports[_0xab3e('0x53')]=function(_0x301baf,_0x23fd9e,_0x279e49){var _0x1b27bc={};var _0x2c8480={};var _0x487711;var _0x5598ea;return db[_0xab3e('0x31')][_0xab3e('0x4f')]({'where':{'id':_0x301baf[_0xab3e('0x49')]['id']}})['then'](handleEntityNotFound(_0x23fd9e,null))['then'](function(_0x21fbd2){if(_0x21fbd2){_0x487711=_0x21fbd2;_0x2c8480['model']=_[_0xab3e('0x51')](db['DeskField']['rawAttributes']);_0x2c8480['query']=_[_0xab3e('0x51')](_0x301baf[_0xab3e('0x36')]);_0x2c8480['filters']=_[_0xab3e('0x38')](_0x2c8480[_0xab3e('0x35')],_0x2c8480[_0xab3e('0x36')]);_0x1b27bc[_0xab3e('0x39')]=_[_0xab3e('0x38')](_0x2c8480[_0xab3e('0x35')],qs[_0xab3e('0x3a')](_0x301baf[_0xab3e('0x36')][_0xab3e('0x3a')]));_0x1b27bc[_0xab3e('0x39')]=_0x1b27bc[_0xab3e('0x39')][_0xab3e('0x3b')]?_0x1b27bc[_0xab3e('0x39')]:_0x2c8480[_0xab3e('0x35')];_0x1b27bc[_0xab3e('0x3e')]=qs[_0xab3e('0x3f')](_0x301baf['query'][_0xab3e('0x3f')]);_0x1b27bc[_0xab3e('0x43')]=qs[_0xab3e('0x37')](_['pick'](_0x301baf['query'],_0x2c8480[_0xab3e('0x37')]));if(_0x301baf['query'][_0xab3e('0x41')]){_0x1b27bc[_0xab3e('0x43')]=_[_0xab3e('0x42')](_0x1b27bc[_0xab3e('0x43')],{'$or':_['map'](_0x1b27bc[_0xab3e('0x39')],function(_0x291cf5){var _0x119344={};_0x119344[_0x291cf5]={'$like':'%'+_0x301baf[_0xab3e('0x36')]['filter']+'%'};return _0x119344;})});}_0x1b27bc=_[_0xab3e('0x42')]({},_0x1b27bc,_0x301baf['options']);return _0x487711['getDescriptions'](_0x1b27bc);}})['then'](function(_0x1a31c4){if(_0x1a31c4){_0x5598ea=_0x1a31c4[_0xab3e('0x3b')];if(!_0x301baf[_0xab3e('0x36')][_0xab3e('0x3c')](_0xab3e('0x3d'))){_0x1b27bc['limit']=qs['limit'](_0x301baf[_0xab3e('0x36')][_0xab3e('0x26')]);_0x1b27bc[_0xab3e('0x25')]=qs[_0xab3e('0x25')](_0x301baf[_0xab3e('0x36')][_0xab3e('0x25')]);}return _0x487711['getDescriptions'](_0x1b27bc);}})[_0xab3e('0x17')](function(_0x254a45){if(_0x254a45){return _0x254a45?{'count':_0x5598ea,'rows':_0x254a45}:null;}})[_0xab3e('0x17')](respondWithResult(_0x23fd9e,null))[_0xab3e('0x47')](handleError(_0x23fd9e,null));};exports[_0xab3e('0x54')]=function(_0x153c0e,_0x41c3a7,_0x408619){var _0x24b9c2={};var _0x5a467b={};var _0xe83502;var _0x18ba56;return db[_0xab3e('0x31')]['findOne']({'where':{'id':_0x153c0e[_0xab3e('0x49')]['id']}})['then'](handleEntityNotFound(_0x41c3a7,null))[_0xab3e('0x17')](function(_0x238fb1){if(_0x238fb1){_0xe83502=_0x238fb1;_0x5a467b[_0xab3e('0x35')]=_[_0xab3e('0x51')](db[_0xab3e('0x55')]['rawAttributes']);_0x5a467b[_0xab3e('0x36')]=_['keys'](_0x153c0e[_0xab3e('0x36')]);_0x5a467b[_0xab3e('0x37')]=_[_0xab3e('0x38')](_0x5a467b[_0xab3e('0x35')],_0x5a467b[_0xab3e('0x36')]);_0x24b9c2[_0xab3e('0x39')]=_['intersection'](_0x5a467b[_0xab3e('0x35')],qs[_0xab3e('0x3a')](_0x153c0e[_0xab3e('0x36')][_0xab3e('0x3a')]));_0x24b9c2[_0xab3e('0x39')]=_0x24b9c2[_0xab3e('0x39')][_0xab3e('0x3b')]?_0x24b9c2[_0xab3e('0x39')]:_0x5a467b[_0xab3e('0x35')];_0x24b9c2[_0xab3e('0x3e')]=qs[_0xab3e('0x3f')](_0x153c0e[_0xab3e('0x36')]['sort']);_0x24b9c2['where']=qs[_0xab3e('0x37')](_[_0xab3e('0x40')](_0x153c0e['query'],_0x5a467b[_0xab3e('0x37')]));if(_0x153c0e[_0xab3e('0x36')]['filter']){_0x24b9c2[_0xab3e('0x43')]=_[_0xab3e('0x42')](_0x24b9c2[_0xab3e('0x43')],{'$or':_[_0xab3e('0x30')](_0x24b9c2[_0xab3e('0x39')],function(_0x4c66c6){var _0x21caeb={};_0x21caeb[_0x4c66c6]={'$like':'%'+_0x153c0e[_0xab3e('0x36')][_0xab3e('0x41')]+'%'};return _0x21caeb;})});}_0x24b9c2=_[_0xab3e('0x42')]({},_0x24b9c2,_0x153c0e['options']);return _0xe83502[_0xab3e('0x54')](_0x24b9c2);}})[_0xab3e('0x17')](function(_0x5cbe25){if(_0x5cbe25){_0x18ba56=_0x5cbe25[_0xab3e('0x3b')];if(!_0x153c0e[_0xab3e('0x36')][_0xab3e('0x3c')](_0xab3e('0x3d'))){_0x24b9c2[_0xab3e('0x26')]=qs[_0xab3e('0x26')](_0x153c0e[_0xab3e('0x36')][_0xab3e('0x26')]);_0x24b9c2['offset']=qs[_0xab3e('0x25')](_0x153c0e[_0xab3e('0x36')][_0xab3e('0x25')]);}return _0xe83502[_0xab3e('0x54')](_0x24b9c2);}})[_0xab3e('0x17')](function(_0x137804){if(_0x137804){return _0x137804?{'count':_0x18ba56,'rows':_0x137804}:null;}})[_0xab3e('0x17')](respondWithResult(_0x41c3a7,null))['catch'](handleError(_0x41c3a7,null));};exports['setTags']=function(_0x2354dd,_0x16d975,_0x4e33c1){if(_0x2354dd[_0xab3e('0x4c')]['id']){delete _0x2354dd[_0xab3e('0x4c')]['id'];}return db[_0xab3e('0x31')][_0xab3e('0x4f')]({'where':{'id':_0x2354dd[_0xab3e('0x49')]['id']}})[_0xab3e('0x17')](handleEntityNotFound(_0x16d975,null))[_0xab3e('0x17')](function(_0x42708e){if(_0x42708e){return _0x42708e[_0xab3e('0x56')](_0x2354dd[_0xab3e('0x4c')][_0xab3e('0x57')]||[]);}return null;})[_0xab3e('0x17')](respondWithResult(_0x16d975,null))[_0xab3e('0x47')](handleError(_0x16d975,null));}; \ No newline at end of file diff --git a/server/api/intDeskConfiguration/intDeskConfiguration.model.js b/server/api/intDeskConfiguration/intDeskConfiguration.model.js index 31e38a1..b0c2f22 100644 --- a/server/api/intDeskConfiguration/intDeskConfiguration.model.js +++ b/server/api/intDeskConfiguration/intDeskConfiguration.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x3ea6=['api','moment','bluebird','request-promise','path','rimraf','../../config/environment','int_desk_configurations','util'];(function(_0x30ae5e,_0x391fc4){var _0x1f2e93=function(_0x60307d){while(--_0x60307d){_0x30ae5e['push'](_0x30ae5e['shift']());}};_0x1f2e93(++_0x391fc4);}(_0x3ea6,0x1af));var _0x63ea=function(_0xe94841,_0x215061){_0xe94841=_0xe94841-0x0;var _0x15b1f0=_0x3ea6[_0xe94841];return _0x15b1f0;};'use strict';var _=require('lodash');var util=require(_0x63ea('0x0'));var logger=require('../../config/logger')(_0x63ea('0x1'));var moment=require(_0x63ea('0x2'));var BPromise=require(_0x63ea('0x3'));var rp=require(_0x63ea('0x4'));var fs=require('fs');var path=require(_0x63ea('0x5'));var rimraf=require(_0x63ea('0x6'));var config=require(_0x63ea('0x7'));var attributes=require('./intDeskConfiguration.attributes');module['exports']=function(_0x5eb55f,_0x410e0a){return _0x5eb55f['define']('DeskConfiguration',attributes,{'tableName':_0x63ea('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0x4a4d=['../../config/logger','api','moment','path','../../config/environment','./intDeskConfiguration.attributes','define','DeskConfiguration','int_desk_configurations','lodash','util'];(function(_0x3021b9,_0xdb387c){var _0xd6a1c2=function(_0x2001e5){while(--_0x2001e5){_0x3021b9['push'](_0x3021b9['shift']());}};_0xd6a1c2(++_0xdb387c);}(_0x4a4d,0x148));var _0xd4a4=function(_0x4aaaef,_0x4cd2d0){_0x4aaaef=_0x4aaaef-0x0;var _0xbe59a=_0x4a4d[_0x4aaaef];return _0xbe59a;};'use strict';var _=require(_0xd4a4('0x0'));var util=require(_0xd4a4('0x1'));var logger=require(_0xd4a4('0x2'))(_0xd4a4('0x3'));var moment=require(_0xd4a4('0x4'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0xd4a4('0x5'));var rimraf=require('rimraf');var config=require(_0xd4a4('0x6'));var attributes=require(_0xd4a4('0x7'));module['exports']=function(_0x5c7a51,_0x3d59ee){return _0x5c7a51[_0xd4a4('0x8')](_0xd4a4('0x9'),attributes,{'tableName':_0xd4a4('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/intDeskConfiguration/intDeskConfiguration.rpc.js b/server/api/intDeskConfiguration/intDeskConfiguration.rpc.js index 2a5ff08..4a84a4a 100644 --- a/server/api/intDeskConfiguration/intDeskConfiguration.rpc.js +++ b/server/api/intDeskConfiguration/intDeskConfiguration.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x89c4=['bluebird','../../mysqldb','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','client','then','info','DeskConfiguration,\x20%s,\x20%s','request\x20sent','debug','DeskConfiguration,\x20%s,\x20%s,\x20%s','stringify','error','code','message','result','catch','lodash','util'];(function(_0x1d670d,_0x49ef2b){var _0x3d0dcc=function(_0x22e6ad){while(--_0x22e6ad){_0x1d670d['push'](_0x1d670d['shift']());}};_0x3d0dcc(++_0x49ef2b);}(_0x89c4,0x82));var _0x489c=function(_0x11000c,_0x1f061d){_0x11000c=_0x11000c-0x0;var _0x5df0f8=_0x89c4[_0x11000c];return _0x5df0f8;};'use strict';var _=require(_0x489c('0x0'));var util=require(_0x489c('0x1'));var moment=require('moment');var BPromise=require(_0x489c('0x2'));var rs=require('randomstring');var fs=require('fs');var Redis=require('ioredis');var db=require(_0x489c('0x3'))['db'];var utils=require(_0x489c('0x4'));var logger=require(_0x489c('0x5'))(_0x489c('0x6'));var config=require(_0x489c('0x7'));var jayson=require(_0x489c('0x8'));var client=jayson[_0x489c('0x9')]['http']({'port':0x232a});function respondWithRpcPromise(_0xe5e402,_0x476dfe,_0x122c44){return new BPromise(function(_0xceb82c,_0x5a301e){return client['request'](_0xe5e402,_0x122c44)[_0x489c('0xa')](function(_0x54ea10){logger[_0x489c('0xb')](_0x489c('0xc'),_0x476dfe,_0x489c('0xd'));logger[_0x489c('0xe')](_0x489c('0xf'),_0x476dfe,_0x489c('0xd'),JSON[_0x489c('0x10')](_0x54ea10));if(_0x54ea10[_0x489c('0x11')]){if(_0x54ea10['error'][_0x489c('0x12')]===0x1f4){logger['error'](_0x489c('0xc'),_0x476dfe,_0x54ea10['error']['message']);return _0x5a301e(_0x54ea10[_0x489c('0x11')]['message']);}logger[_0x489c('0x11')]('DeskConfiguration,\x20%s,\x20%s',_0x476dfe,_0x54ea10[_0x489c('0x11')][_0x489c('0x13')]);return _0xceb82c(_0x54ea10['error'][_0x489c('0x13')]);}else{logger[_0x489c('0xb')]('DeskConfiguration,\x20%s,\x20%s',_0x476dfe,'request\x20sent');_0xceb82c(_0x54ea10[_0x489c('0x14')]['message']);}})[_0x489c('0x15')](function(_0x2e89c4){logger[_0x489c('0x11')](_0x489c('0xc'),_0x476dfe,_0x2e89c4);_0x5a301e(_0x2e89c4);});});} \ No newline at end of file +var _0x45c8=['request','then','info','DeskConfiguration,\x20%s,\x20%s','request\x20sent','debug','stringify','error','code','message','result','lodash','moment','bluebird','randomstring','ioredis','../../config/environment','jayson/promise','client'];(function(_0x465d94,_0x404ea6){var _0x4e20c0=function(_0xe33694){while(--_0xe33694){_0x465d94['push'](_0x465d94['shift']());}};_0x4e20c0(++_0x404ea6);}(_0x45c8,0xef));var _0x845c=function(_0x3acb33,_0x44d440){_0x3acb33=_0x3acb33-0x0;var _0x217a01=_0x45c8[_0x3acb33];return _0x217a01;};'use strict';var _=require(_0x845c('0x0'));var util=require('util');var moment=require(_0x845c('0x1'));var BPromise=require(_0x845c('0x2'));var rs=require(_0x845c('0x3'));var fs=require('fs');var Redis=require(_0x845c('0x4'));var db=require('../../mysqldb')['db'];var utils=require('../../config/utils');var logger=require('../../config/logger')('rpc');var config=require(_0x845c('0x5'));var jayson=require(_0x845c('0x6'));var client=jayson[_0x845c('0x7')]['http']({'port':0x232a});function respondWithRpcPromise(_0x335f38,_0x4a1a42,_0x42b569){return new BPromise(function(_0x4648e1,_0x3075cd){return client[_0x845c('0x8')](_0x335f38,_0x42b569)[_0x845c('0x9')](function(_0x34a8ae){logger[_0x845c('0xa')](_0x845c('0xb'),_0x4a1a42,_0x845c('0xc'));logger[_0x845c('0xd')]('DeskConfiguration,\x20%s,\x20%s,\x20%s',_0x4a1a42,'request\x20sent',JSON[_0x845c('0xe')](_0x34a8ae));if(_0x34a8ae[_0x845c('0xf')]){if(_0x34a8ae['error'][_0x845c('0x10')]===0x1f4){logger[_0x845c('0xf')](_0x845c('0xb'),_0x4a1a42,_0x34a8ae[_0x845c('0xf')][_0x845c('0x11')]);return _0x3075cd(_0x34a8ae[_0x845c('0xf')]['message']);}logger[_0x845c('0xf')](_0x845c('0xb'),_0x4a1a42,_0x34a8ae['error'][_0x845c('0x11')]);return _0x4648e1(_0x34a8ae[_0x845c('0xf')][_0x845c('0x11')]);}else{logger[_0x845c('0xa')](_0x845c('0xb'),_0x4a1a42,_0x845c('0xc'));_0x4648e1(_0x34a8ae[_0x845c('0x12')]['message']);}})['catch'](function(_0x3b1ff9){logger[_0x845c('0xf')](_0x845c('0xb'),_0x4a1a42,_0x3b1ff9);_0x3075cd(_0x3b1ff9);});});} \ No newline at end of file diff --git a/server/api/intDeskField/index.js b/server/api/intDeskField/index.js index 0cb57b4..d571c54 100644 --- a/server/api/intDeskField/index.js +++ b/server/api/intDeskField/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xad8a=['create','update','delete','exports','multer','util','path','express','Router','../../components/auth/service','./intDeskField.controller','get','isAuthenticated','/:id','show'];(function(_0x452a5f,_0x52f991){var _0x94ccb8=function(_0x2120a5){while(--_0x2120a5){_0x452a5f['push'](_0x452a5f['shift']());}};_0x94ccb8(++_0x52f991);}(_0xad8a,0x1c6));var _0xaad8=function(_0x13e377,_0x11eab2){_0x13e377=_0x13e377-0x0;var _0x154693=_0xad8a[_0x13e377];return _0x154693;};'use strict';var multer=require(_0xaad8('0x0'));var util=require(_0xaad8('0x1'));var path=require(_0xaad8('0x2'));var timeout=require('connect-timeout');var express=require(_0xaad8('0x3'));var router=express[_0xaad8('0x4')]();var auth=require(_0xaad8('0x5'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xaad8('0x6'));router[_0xaad8('0x7')]('/',auth[_0xaad8('0x8')](),controller['index']);router[_0xaad8('0x7')](_0xaad8('0x9'),auth[_0xaad8('0x8')](),controller[_0xaad8('0xa')]);router['post']('/',auth['isAuthenticated'](),controller[_0xaad8('0xb')]);router['put']('/:id',auth['isAuthenticated'](),controller[_0xaad8('0xc')]);router[_0xaad8('0xd')](_0xaad8('0x9'),auth[_0xaad8('0x8')](),controller['destroy']);module[_0xaad8('0xe')]=router; \ No newline at end of file +var _0x4d1d=['update','delete','destroy','exports','express','Router','../../components/interaction/service','isAuthenticated','index','get','/:id','show','post','create','put'];(function(_0x220dbb,_0x99328d){var _0x2b77de=function(_0x15e966){while(--_0x15e966){_0x220dbb['push'](_0x220dbb['shift']());}};_0x2b77de(++_0x99328d);}(_0x4d1d,0x16c));var _0xd4d1=function(_0x498267,_0x2029de){_0x498267=_0x498267-0x0;var _0x219a77=_0x4d1d[_0x498267];return _0x219a77;};'use strict';var multer=require('multer');var util=require('util');var path=require('path');var timeout=require('connect-timeout');var express=require(_0xd4d1('0x0'));var router=express[_0xd4d1('0x1')]();var auth=require('../../components/auth/service');var interaction=require(_0xd4d1('0x2'));var config=require('../../config/environment');var controller=require('./intDeskField.controller');router['get']('/',auth[_0xd4d1('0x3')](),controller[_0xd4d1('0x4')]);router[_0xd4d1('0x5')](_0xd4d1('0x6'),auth[_0xd4d1('0x3')](),controller[_0xd4d1('0x7')]);router[_0xd4d1('0x8')]('/',auth[_0xd4d1('0x3')](),controller[_0xd4d1('0x9')]);router[_0xd4d1('0xa')](_0xd4d1('0x6'),auth[_0xd4d1('0x3')](),controller[_0xd4d1('0xb')]);router[_0xd4d1('0xc')](_0xd4d1('0x6'),auth[_0xd4d1('0x3')](),controller[_0xd4d1('0xd')]);module[_0xd4d1('0xe')]=router; \ No newline at end of file diff --git a/server/api/intDeskField/intDeskField.attributes.js b/server/api/intDeskField/intDeskField.attributes.js index d8d8927..faa393d 100644 --- a/server/api/intDeskField/intDeskField.attributes.js +++ b/server/api/intDeskField/intDeskField.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x958e=['ENUM','string','variable','customVariable','keyValue','STRING','sequelize'];(function(_0x3bf83f,_0x181cac){var _0x22c4a9=function(_0xb3ff0d){while(--_0xb3ff0d){_0x3bf83f['push'](_0x3bf83f['shift']());}};_0x22c4a9(++_0x181cac);}(_0x958e,0x102));var _0xe958=function(_0x336341,_0x1c3cc4){_0x336341=_0x336341-0x0;var _0x5d207f=_0x958e[_0x336341];return _0x5d207f;};'use strict';var Sequelize=require(_0xe958('0x0'));module['exports']={'type':{'type':Sequelize[_0xe958('0x1')](_0xe958('0x2'),_0xe958('0x3'),_0xe958('0x4'),_0xe958('0x5')),'defaultValue':_0xe958('0x2')},'content':{'type':Sequelize[_0xe958('0x6')]},'key':{'type':Sequelize[_0xe958('0x6')]},'keyType':{'type':Sequelize['ENUM'](_0xe958('0x2'),_0xe958('0x3'),_0xe958('0x4'))},'keyContent':{'type':Sequelize[_0xe958('0x6')]},'idField':{'type':Sequelize['STRING']},'nameField':{'type':Sequelize[_0xe958('0x6')]},'customField':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'variableName':{'type':Sequelize[_0xe958('0x6')]}}; \ No newline at end of file +var _0x6d96=['sequelize','exports','ENUM','string','variable','keyValue','STRING','customVariable','BOOLEAN'];(function(_0x321bb2,_0x202794){var _0x9c12ed=function(_0x263dd3){while(--_0x263dd3){_0x321bb2['push'](_0x321bb2['shift']());}};_0x9c12ed(++_0x202794);}(_0x6d96,0x1d4));var _0x66d9=function(_0x391d30,_0x1ecec5){_0x391d30=_0x391d30-0x0;var _0x182680=_0x6d96[_0x391d30];return _0x182680;};'use strict';var Sequelize=require(_0x66d9('0x0'));module[_0x66d9('0x1')]={'type':{'type':Sequelize[_0x66d9('0x2')](_0x66d9('0x3'),_0x66d9('0x4'),'customVariable',_0x66d9('0x5')),'defaultValue':'string'},'content':{'type':Sequelize[_0x66d9('0x6')]},'key':{'type':Sequelize['STRING']},'keyType':{'type':Sequelize[_0x66d9('0x2')](_0x66d9('0x3'),_0x66d9('0x4'),_0x66d9('0x7'))},'keyContent':{'type':Sequelize['STRING']},'idField':{'type':Sequelize[_0x66d9('0x6')]},'nameField':{'type':Sequelize[_0x66d9('0x6')]},'customField':{'type':Sequelize[_0x66d9('0x8')],'defaultValue':!![]},'variableName':{'type':Sequelize[_0x66d9('0x6')]}}; \ No newline at end of file diff --git a/server/api/intDeskField/intDeskField.controller.js b/server/api/intDeskField/intDeskField.controller.js index 5c45061..ea8b92e 100644 --- a/server/api/intDeskField/intDeskField.controller.js +++ b/server/api/intDeskField/intDeskField.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xc098=['apply','save','update','then','destroy','end','error','stack','name','send','index','map','DeskField','rawAttributes','fieldName','type','key','model','query','intersection','attributes','fields','nolimit','order','sort','where','filters','pick','filter','merge','options','include','findAll','rows','catch','show','params','keys','length','includeAll','find','create','body','eml-format','rimraf','fast-json-patch','request-promise','bluebird','mustache','util','path','sox','to-csv','ejs','lodash','squel','crypto','desk.js','querystring','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/logger','api','../../config/environment','sendStatus','status','json','count','offset','set','Content-Range'];(function(_0x321ce6,_0x1c2537){var _0x368b36=function(_0x3930c0){while(--_0x3930c0){_0x321ce6['push'](_0x321ce6['shift']());}};_0x368b36(++_0x1c2537);}(_0xc098,0x1d5));var _0x8c09=function(_0x52e8c1,_0x2c7aa0){_0x52e8c1=_0x52e8c1-0x0;var _0x5359f1=_0xc098[_0x52e8c1];return _0x5359f1;};'use strict';var pdf=require('html-pdf');var emlformat=require(_0x8c09('0x0'));var rimraf=require(_0x8c09('0x1'));var zipdir=require('zip-dir');var jsonpatch=require(_0x8c09('0x2'));var rp=require(_0x8c09('0x3'));var moment=require('moment');var BPromise=require(_0x8c09('0x4'));var Mustache=require(_0x8c09('0x5'));var util=require(_0x8c09('0x6'));var path=require(_0x8c09('0x7'));var sox=require(_0x8c09('0x8'));var csv=require(_0x8c09('0x9'));var ejs=require(_0x8c09('0xa'));var fs=require('fs');var _=require(_0x8c09('0xb'));var squel=require(_0x8c09('0xc'));var crypto=require(_0x8c09('0xd'));var jsforce=require('jsforce');var deskjs=require(_0x8c09('0xe'));var toCsv=require(_0x8c09('0x9'));var querystring=require(_0x8c09('0xf'));var Papa=require('papaparse');var Redis=require('ioredis');var authService=require('../../components/auth/service');var qs=require(_0x8c09('0x10'));var as=require(_0x8c09('0x11'));var hardwareService=require('../../config/license/hardware');var logger=require(_0x8c09('0x12'))(_0x8c09('0x13'));var utils=require('../../config/utils');var config=require(_0x8c09('0x14'));var db=require('../../mysqldb')['db'];function respondWithStatusCode(_0x4437b4,_0x59f20a){_0x59f20a=_0x59f20a||0xcc;return function(_0x4859a8){if(_0x4859a8){return _0x4437b4[_0x8c09('0x15')](_0x59f20a);}return _0x4437b4['status'](_0x59f20a)['end']();};}function respondWithResult(_0xd1e646,_0x48dfeb){_0x48dfeb=_0x48dfeb||0xc8;return function(_0x45ce0c){if(_0x45ce0c){return _0xd1e646[_0x8c09('0x16')](_0x48dfeb)[_0x8c09('0x17')](_0x45ce0c);}};}function respondWithFilteredResult(_0x4fb065,_0x94945){return function(_0x53de06){if(_0x53de06){var _0x421bd8=_0x53de06[_0x8c09('0x18')],_0x4474d6=_0x94945[_0x8c09('0x19')],_0x5d3d3c=_0x94945[_0x8c09('0x19')]+_0x94945['limit'],_0x2c2ee9;if(_0x5d3d3c>=_0x421bd8){_0x5d3d3c=_0x421bd8;_0x2c2ee9=0xc8;}else{_0x2c2ee9=0xce;}_0x4fb065[_0x8c09('0x16')](_0x2c2ee9);return _0x4fb065[_0x8c09('0x1a')](_0x8c09('0x1b'),_0x4474d6+'-'+_0x5d3d3c+'/'+_0x421bd8)[_0x8c09('0x17')](_0x53de06);}return null;};}function patchUpdates(_0x3cfb9b){return function(_0x57a07d){try{jsonpatch[_0x8c09('0x1c')](_0x57a07d,_0x3cfb9b,!![]);}catch(_0x117a6d){return BPromise['reject'](_0x117a6d);}return _0x57a07d[_0x8c09('0x1d')]();};}function saveUpdates(_0x1f5143,_0x3fa29d){return function(_0x1ee4eb){if(_0x1ee4eb){return _0x1ee4eb[_0x8c09('0x1e')](_0x1f5143)[_0x8c09('0x1f')](function(_0x3be12e){return _0x3be12e;});}return null;};}function removeEntity(_0x2aca81,_0x1af312){return function(_0x5854c0){if(_0x5854c0){return _0x5854c0[_0x8c09('0x20')]()['then'](function(){_0x2aca81[_0x8c09('0x16')](0xcc)[_0x8c09('0x21')]();});}};}function handleEntityNotFound(_0x1bfc47,_0x5f03bd){return function(_0x2f1a6b){if(!_0x2f1a6b){_0x1bfc47[_0x8c09('0x15')](0x194);}return _0x2f1a6b;};}function handleError(_0x16546e,_0x4577e6){_0x4577e6=_0x4577e6||0x1f4;return function(_0x2b24f4){logger[_0x8c09('0x22')](_0x2b24f4[_0x8c09('0x23')]);if(_0x2b24f4[_0x8c09('0x24')]){delete _0x2b24f4[_0x8c09('0x24')];}_0x16546e[_0x8c09('0x16')](_0x4577e6)[_0x8c09('0x25')](_0x2b24f4);};}exports[_0x8c09('0x26')]=function(_0x5f20ce,_0x366599){var _0x4c797a={},_0x50cf80={},_0x39580d={'count':0x0,'rows':[]};var _0x149c25=_[_0x8c09('0x27')](db[_0x8c09('0x28')][_0x8c09('0x29')],function(_0x275efb){return{'name':_0x275efb[_0x8c09('0x2a')],'type':_0x275efb[_0x8c09('0x2b')][_0x8c09('0x2c')]};});_0x50cf80[_0x8c09('0x2d')]=_[_0x8c09('0x27')](_0x149c25,_0x8c09('0x24'));_0x50cf80['query']=_['keys'](_0x5f20ce[_0x8c09('0x2e')]);_0x50cf80['filters']=_[_0x8c09('0x2f')](_0x50cf80['model'],_0x50cf80['query']);_0x4c797a[_0x8c09('0x30')]=_[_0x8c09('0x2f')](_0x50cf80['model'],qs['fields'](_0x5f20ce[_0x8c09('0x2e')][_0x8c09('0x31')]));_0x4c797a[_0x8c09('0x30')]=_0x4c797a[_0x8c09('0x30')]['length']?_0x4c797a[_0x8c09('0x30')]:_0x50cf80[_0x8c09('0x2d')];if(!_0x5f20ce[_0x8c09('0x2e')]['hasOwnProperty'](_0x8c09('0x32'))){_0x4c797a['limit']=qs['limit'](_0x5f20ce[_0x8c09('0x2e')]['limit']);_0x4c797a['offset']=qs[_0x8c09('0x19')](_0x5f20ce['query'][_0x8c09('0x19')]);}_0x4c797a[_0x8c09('0x33')]=qs[_0x8c09('0x34')](_0x5f20ce['query'][_0x8c09('0x34')]);_0x4c797a[_0x8c09('0x35')]=qs[_0x8c09('0x36')](_[_0x8c09('0x37')](_0x5f20ce[_0x8c09('0x2e')],_0x50cf80['filters']),_0x149c25);if(_0x5f20ce['query'][_0x8c09('0x38')]){_0x4c797a[_0x8c09('0x35')]=_[_0x8c09('0x39')](_0x4c797a[_0x8c09('0x35')],{'$or':_['map'](_0x149c25,function(_0x285c52){if(_0x285c52[_0x8c09('0x2b')]!=='VIRTUAL'){var _0x1724cb={};_0x1724cb[_0x285c52[_0x8c09('0x24')]]={'$like':'%'+_0x5f20ce[_0x8c09('0x2e')][_0x8c09('0x38')]+'%'};return _0x1724cb;}})});}_0x4c797a=_[_0x8c09('0x39')]({},_0x4c797a,_0x5f20ce[_0x8c09('0x3a')]);var _0x3883f6={'where':_0x4c797a['where']};return db['DeskField']['count'](_0x3883f6)[_0x8c09('0x1f')](function(_0x38cfab){_0x39580d[_0x8c09('0x18')]=_0x38cfab;if(_0x5f20ce[_0x8c09('0x2e')]['includeAll']){_0x4c797a[_0x8c09('0x3b')]=[{'all':!![]}];}return db['DeskField'][_0x8c09('0x3c')](_0x4c797a);})[_0x8c09('0x1f')](function(_0x7e637f){_0x39580d[_0x8c09('0x3d')]=_0x7e637f;return _0x39580d;})[_0x8c09('0x1f')](respondWithFilteredResult(_0x366599,_0x4c797a))[_0x8c09('0x3e')](handleError(_0x366599,null));};exports[_0x8c09('0x3f')]=function(_0x18eec5,_0x226427){var _0x13a73e={'raw':!![],'where':{'id':_0x18eec5[_0x8c09('0x40')]['id']}},_0x182bc5={};_0x182bc5['model']=_[_0x8c09('0x41')](db[_0x8c09('0x28')][_0x8c09('0x29')]);_0x182bc5[_0x8c09('0x2e')]=_['keys'](_0x18eec5[_0x8c09('0x2e')]);_0x182bc5[_0x8c09('0x36')]=_[_0x8c09('0x2f')](_0x182bc5[_0x8c09('0x2d')],_0x182bc5[_0x8c09('0x2e')]);_0x13a73e[_0x8c09('0x30')]=_[_0x8c09('0x2f')](_0x182bc5[_0x8c09('0x2d')],qs[_0x8c09('0x31')](_0x18eec5['query'][_0x8c09('0x31')]));_0x13a73e[_0x8c09('0x30')]=_0x13a73e[_0x8c09('0x30')][_0x8c09('0x42')]?_0x13a73e[_0x8c09('0x30')]:_0x182bc5[_0x8c09('0x2d')];if(_0x18eec5[_0x8c09('0x2e')][_0x8c09('0x43')]){_0x13a73e[_0x8c09('0x3b')]=[{'all':!![]}];}_0x13a73e=_[_0x8c09('0x39')]({},_0x13a73e,_0x18eec5['options']);return db[_0x8c09('0x28')][_0x8c09('0x44')](_0x13a73e)[_0x8c09('0x1f')](handleEntityNotFound(_0x226427,null))[_0x8c09('0x1f')](respondWithResult(_0x226427,null))[_0x8c09('0x3e')](handleError(_0x226427,null));};exports[_0x8c09('0x45')]=function(_0xdbbc5d,_0x5abcc3){return db[_0x8c09('0x28')][_0x8c09('0x45')](_0xdbbc5d['body'],{})[_0x8c09('0x1f')](respondWithResult(_0x5abcc3,0xc9))[_0x8c09('0x3e')](handleError(_0x5abcc3,null));};exports[_0x8c09('0x1e')]=function(_0x932dd0,_0x1001fe){if(_0x932dd0[_0x8c09('0x46')]['id']){delete _0x932dd0[_0x8c09('0x46')]['id'];}return db[_0x8c09('0x28')][_0x8c09('0x44')]({'where':{'id':_0x932dd0['params']['id']}})['then'](handleEntityNotFound(_0x1001fe,null))[_0x8c09('0x1f')](saveUpdates(_0x932dd0['body'],null))[_0x8c09('0x1f')](respondWithResult(_0x1001fe,null))[_0x8c09('0x3e')](handleError(_0x1001fe,null));};exports[_0x8c09('0x20')]=function(_0x35744a,_0xcf54ce){return db[_0x8c09('0x28')]['find']({'where':{'id':_0x35744a[_0x8c09('0x40')]['id']}})[_0x8c09('0x1f')](handleEntityNotFound(_0xcf54ce,null))[_0x8c09('0x1f')](removeEntity(_0xcf54ce,null))['catch'](handleError(_0xcf54ce,null));}; \ No newline at end of file +var _0x1e3d=['rawAttributes','fieldName','key','model','query','filters','attributes','intersection','fields','nolimit','sort','where','pick','filter','VIRTUAL','merge','options','DeskField','includeAll','include','findAll','rows','catch','show','keys','find','create','body','params','html-pdf','eml-format','rimraf','fast-json-patch','moment','mustache','util','path','sox','ejs','lodash','squel','crypto','jsforce','desk.js','to-csv','querystring','papaparse','ioredis','../../components/parsers/qs','../../config/license/hardware','../../config/logger','../../config/utils','../../config/environment','sendStatus','status','end','count','offset','limit','set','Content-Range','json','update','then','destroy','error','stack','name','send','map'];(function(_0x4ed20e,_0x4b4c75){var _0xdc113f=function(_0x3fa10d){while(--_0x3fa10d){_0x4ed20e['push'](_0x4ed20e['shift']());}};_0xdc113f(++_0x4b4c75);}(_0x1e3d,0x17b));var _0xd1e3=function(_0x1e4360,_0x930b9b){_0x1e4360=_0x1e4360-0x0;var _0x31e6b4=_0x1e3d[_0x1e4360];return _0x31e6b4;};'use strict';var pdf=require(_0xd1e3('0x0'));var emlformat=require(_0xd1e3('0x1'));var rimraf=require(_0xd1e3('0x2'));var zipdir=require('zip-dir');var jsonpatch=require(_0xd1e3('0x3'));var rp=require('request-promise');var moment=require(_0xd1e3('0x4'));var BPromise=require('bluebird');var Mustache=require(_0xd1e3('0x5'));var util=require(_0xd1e3('0x6'));var path=require(_0xd1e3('0x7'));var sox=require(_0xd1e3('0x8'));var csv=require('to-csv');var ejs=require(_0xd1e3('0x9'));var fs=require('fs');var _=require(_0xd1e3('0xa'));var squel=require(_0xd1e3('0xb'));var crypto=require(_0xd1e3('0xc'));var jsforce=require(_0xd1e3('0xd'));var deskjs=require(_0xd1e3('0xe'));var toCsv=require(_0xd1e3('0xf'));var querystring=require(_0xd1e3('0x10'));var Papa=require(_0xd1e3('0x11'));var Redis=require(_0xd1e3('0x12'));var authService=require('../../components/auth/service');var qs=require(_0xd1e3('0x13'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0xd1e3('0x14'));var logger=require(_0xd1e3('0x15'))('api');var utils=require(_0xd1e3('0x16'));var config=require(_0xd1e3('0x17'));var db=require('../../mysqldb')['db'];function respondWithStatusCode(_0x30d8f9,_0x47270f){_0x47270f=_0x47270f||0xcc;return function(_0x1ff2ed){if(_0x1ff2ed){return _0x30d8f9[_0xd1e3('0x18')](_0x47270f);}return _0x30d8f9[_0xd1e3('0x19')](_0x47270f)[_0xd1e3('0x1a')]();};}function respondWithResult(_0x3b1126,_0x2f37af){_0x2f37af=_0x2f37af||0xc8;return function(_0x261423){if(_0x261423){return _0x3b1126[_0xd1e3('0x19')](_0x2f37af)['json'](_0x261423);}};}function respondWithFilteredResult(_0xeb8205,_0x4512a4){return function(_0x230421){if(_0x230421){var _0x5678a4=_0x230421[_0xd1e3('0x1b')],_0x22e03c=_0x4512a4[_0xd1e3('0x1c')],_0xff0a92=_0x4512a4[_0xd1e3('0x1c')]+_0x4512a4[_0xd1e3('0x1d')],_0x1db1fa;if(_0xff0a92>=_0x5678a4){_0xff0a92=_0x5678a4;_0x1db1fa=0xc8;}else{_0x1db1fa=0xce;}_0xeb8205[_0xd1e3('0x19')](_0x1db1fa);return _0xeb8205[_0xd1e3('0x1e')](_0xd1e3('0x1f'),_0x22e03c+'-'+_0xff0a92+'/'+_0x5678a4)[_0xd1e3('0x20')](_0x230421);}return null;};}function patchUpdates(_0x5290df){return function(_0x5903b7){try{jsonpatch['apply'](_0x5903b7,_0x5290df,!![]);}catch(_0x49a282){return BPromise['reject'](_0x49a282);}return _0x5903b7['save']();};}function saveUpdates(_0xbd5084,_0x259f40){return function(_0xa42dc1){if(_0xa42dc1){return _0xa42dc1[_0xd1e3('0x21')](_0xbd5084)[_0xd1e3('0x22')](function(_0x11b9d3){return _0x11b9d3;});}return null;};}function removeEntity(_0x474366,_0x35aca8){return function(_0x3720ab){if(_0x3720ab){return _0x3720ab[_0xd1e3('0x23')]()[_0xd1e3('0x22')](function(){_0x474366['status'](0xcc)[_0xd1e3('0x1a')]();});}};}function handleEntityNotFound(_0x38f18b,_0x49f755){return function(_0x4851d2){if(!_0x4851d2){_0x38f18b[_0xd1e3('0x18')](0x194);}return _0x4851d2;};}function handleError(_0x35aaa6,_0x3e3e71){_0x3e3e71=_0x3e3e71||0x1f4;return function(_0x2928c8){logger[_0xd1e3('0x24')](_0x2928c8[_0xd1e3('0x25')]);if(_0x2928c8[_0xd1e3('0x26')]){delete _0x2928c8[_0xd1e3('0x26')];}_0x35aaa6[_0xd1e3('0x19')](_0x3e3e71)[_0xd1e3('0x27')](_0x2928c8);};}exports['index']=function(_0x3023f7,_0x17f109){var _0x23af41={},_0x237d74={},_0xddc963={'count':0x0,'rows':[]};var _0x352130=_[_0xd1e3('0x28')](db['DeskField'][_0xd1e3('0x29')],function(_0x14b1cd){return{'name':_0x14b1cd[_0xd1e3('0x2a')],'type':_0x14b1cd['type'][_0xd1e3('0x2b')]};});_0x237d74[_0xd1e3('0x2c')]=_[_0xd1e3('0x28')](_0x352130,_0xd1e3('0x26'));_0x237d74[_0xd1e3('0x2d')]=_['keys'](_0x3023f7['query']);_0x237d74[_0xd1e3('0x2e')]=_['intersection'](_0x237d74[_0xd1e3('0x2c')],_0x237d74[_0xd1e3('0x2d')]);_0x23af41[_0xd1e3('0x2f')]=_[_0xd1e3('0x30')](_0x237d74[_0xd1e3('0x2c')],qs[_0xd1e3('0x31')](_0x3023f7[_0xd1e3('0x2d')][_0xd1e3('0x31')]));_0x23af41[_0xd1e3('0x2f')]=_0x23af41[_0xd1e3('0x2f')]['length']?_0x23af41[_0xd1e3('0x2f')]:_0x237d74['model'];if(!_0x3023f7['query']['hasOwnProperty'](_0xd1e3('0x32'))){_0x23af41[_0xd1e3('0x1d')]=qs[_0xd1e3('0x1d')](_0x3023f7['query'][_0xd1e3('0x1d')]);_0x23af41['offset']=qs['offset'](_0x3023f7[_0xd1e3('0x2d')]['offset']);}_0x23af41['order']=qs[_0xd1e3('0x33')](_0x3023f7[_0xd1e3('0x2d')][_0xd1e3('0x33')]);_0x23af41[_0xd1e3('0x34')]=qs['filters'](_[_0xd1e3('0x35')](_0x3023f7[_0xd1e3('0x2d')],_0x237d74[_0xd1e3('0x2e')]),_0x352130);if(_0x3023f7[_0xd1e3('0x2d')][_0xd1e3('0x36')]){_0x23af41[_0xd1e3('0x34')]=_['merge'](_0x23af41[_0xd1e3('0x34')],{'$or':_[_0xd1e3('0x28')](_0x352130,function(_0x49fcfa){if(_0x49fcfa['type']!==_0xd1e3('0x37')){var _0x316485={};_0x316485[_0x49fcfa['name']]={'$like':'%'+_0x3023f7[_0xd1e3('0x2d')][_0xd1e3('0x36')]+'%'};return _0x316485;}})});}_0x23af41=_[_0xd1e3('0x38')]({},_0x23af41,_0x3023f7[_0xd1e3('0x39')]);var _0x5c2647={'where':_0x23af41['where']};return db[_0xd1e3('0x3a')][_0xd1e3('0x1b')](_0x5c2647)[_0xd1e3('0x22')](function(_0x1f0bb3){_0xddc963['count']=_0x1f0bb3;if(_0x3023f7['query'][_0xd1e3('0x3b')]){_0x23af41[_0xd1e3('0x3c')]=[{'all':!![]}];}return db[_0xd1e3('0x3a')][_0xd1e3('0x3d')](_0x23af41);})[_0xd1e3('0x22')](function(_0x4155f9){_0xddc963[_0xd1e3('0x3e')]=_0x4155f9;return _0xddc963;})[_0xd1e3('0x22')](respondWithFilteredResult(_0x17f109,_0x23af41))[_0xd1e3('0x3f')](handleError(_0x17f109,null));};exports[_0xd1e3('0x40')]=function(_0xbb62af,_0x50e592){var _0x49dca8={'raw':!![],'where':{'id':_0xbb62af['params']['id']}},_0x3aa8d9={};_0x3aa8d9[_0xd1e3('0x2c')]=_[_0xd1e3('0x41')](db[_0xd1e3('0x3a')][_0xd1e3('0x29')]);_0x3aa8d9[_0xd1e3('0x2d')]=_[_0xd1e3('0x41')](_0xbb62af[_0xd1e3('0x2d')]);_0x3aa8d9['filters']=_[_0xd1e3('0x30')](_0x3aa8d9[_0xd1e3('0x2c')],_0x3aa8d9[_0xd1e3('0x2d')]);_0x49dca8[_0xd1e3('0x2f')]=_[_0xd1e3('0x30')](_0x3aa8d9['model'],qs[_0xd1e3('0x31')](_0xbb62af['query'][_0xd1e3('0x31')]));_0x49dca8[_0xd1e3('0x2f')]=_0x49dca8[_0xd1e3('0x2f')]['length']?_0x49dca8[_0xd1e3('0x2f')]:_0x3aa8d9[_0xd1e3('0x2c')];if(_0xbb62af[_0xd1e3('0x2d')][_0xd1e3('0x3b')]){_0x49dca8['include']=[{'all':!![]}];}_0x49dca8=_['merge']({},_0x49dca8,_0xbb62af[_0xd1e3('0x39')]);return db[_0xd1e3('0x3a')][_0xd1e3('0x42')](_0x49dca8)[_0xd1e3('0x22')](handleEntityNotFound(_0x50e592,null))[_0xd1e3('0x22')](respondWithResult(_0x50e592,null))[_0xd1e3('0x3f')](handleError(_0x50e592,null));};exports[_0xd1e3('0x43')]=function(_0x6f1671,_0x1dd247){return db[_0xd1e3('0x3a')][_0xd1e3('0x43')](_0x6f1671[_0xd1e3('0x44')],{})[_0xd1e3('0x22')](respondWithResult(_0x1dd247,0xc9))[_0xd1e3('0x3f')](handleError(_0x1dd247,null));};exports[_0xd1e3('0x21')]=function(_0x5f4aac,_0x219012){if(_0x5f4aac['body']['id']){delete _0x5f4aac['body']['id'];}return db[_0xd1e3('0x3a')][_0xd1e3('0x42')]({'where':{'id':_0x5f4aac[_0xd1e3('0x45')]['id']}})[_0xd1e3('0x22')](handleEntityNotFound(_0x219012,null))[_0xd1e3('0x22')](saveUpdates(_0x5f4aac[_0xd1e3('0x44')],null))[_0xd1e3('0x22')](respondWithResult(_0x219012,null))[_0xd1e3('0x3f')](handleError(_0x219012,null));};exports[_0xd1e3('0x23')]=function(_0x154de9,_0x41c226){return db[_0xd1e3('0x3a')][_0xd1e3('0x42')]({'where':{'id':_0x154de9[_0xd1e3('0x45')]['id']}})[_0xd1e3('0x22')](handleEntityNotFound(_0x41c226,null))[_0xd1e3('0x22')](removeEntity(_0x41c226,null))[_0xd1e3('0x3f')](handleError(_0x41c226,null));}; \ No newline at end of file diff --git a/server/api/intDeskField/intDeskField.model.js b/server/api/intDeskField/intDeskField.model.js index 569660e..964e8e6 100644 --- a/server/api/intDeskField/intDeskField.model.js +++ b/server/api/intDeskField/intDeskField.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x7618=['lodash','util','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./intDeskField.attributes','exports','define','DeskField','int_desk_fields'];(function(_0xab2865,_0x32e71e){var _0x31f344=function(_0x2a3762){while(--_0x2a3762){_0xab2865['push'](_0xab2865['shift']());}};_0x31f344(++_0x32e71e);}(_0x7618,0x8c));var _0x8761=function(_0x5a105d,_0x55ac63){_0x5a105d=_0x5a105d-0x0;var _0x1690c2=_0x7618[_0x5a105d];return _0x1690c2;};'use strict';var _=require(_0x8761('0x0'));var util=require(_0x8761('0x1'));var logger=require('../../config/logger')(_0x8761('0x2'));var moment=require(_0x8761('0x3'));var BPromise=require(_0x8761('0x4'));var rp=require(_0x8761('0x5'));var fs=require('fs');var path=require(_0x8761('0x6'));var rimraf=require(_0x8761('0x7'));var config=require(_0x8761('0x8'));var attributes=require(_0x8761('0x9'));module[_0x8761('0xa')]=function(_0xf2e41d,_0x5ee2fc){return _0xf2e41d[_0x8761('0xb')](_0x8761('0xc'),attributes,{'tableName':_0x8761('0xd'),'paranoid':![],'indexes':[{'name':'desk_unique_index','fields':['idField','FieldId'],'unique':!![]}],'timestamps':!![]});}; \ No newline at end of file +var _0xa8e2=['../../config/environment','./intDeskField.attributes','exports','int_desk_fields','desk_unique_index','idField','FieldId','util','../../config/logger','bluebird','request-promise','path','rimraf'];(function(_0x4b369d,_0x265eb8){var _0x571a98=function(_0x56341a){while(--_0x56341a){_0x4b369d['push'](_0x4b369d['shift']());}};_0x571a98(++_0x265eb8);}(_0xa8e2,0x180));var _0x2a8e=function(_0x552694,_0x501105){_0x552694=_0x552694-0x0;var _0x3d2808=_0xa8e2[_0x552694];return _0x3d2808;};'use strict';var _=require('lodash');var util=require(_0x2a8e('0x0'));var logger=require(_0x2a8e('0x1'))('api');var moment=require('moment');var BPromise=require(_0x2a8e('0x2'));var rp=require(_0x2a8e('0x3'));var fs=require('fs');var path=require(_0x2a8e('0x4'));var rimraf=require(_0x2a8e('0x5'));var config=require(_0x2a8e('0x6'));var attributes=require(_0x2a8e('0x7'));module[_0x2a8e('0x8')]=function(_0x3c585a,_0x5059b2){return _0x3c585a['define']('DeskField',attributes,{'tableName':_0x2a8e('0x9'),'paranoid':![],'indexes':[{'name':_0x2a8e('0xa'),'fields':[_0x2a8e('0xb'),_0x2a8e('0xc')],'unique':!![]}],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/intDeskField/intDeskField.rpc.js b/server/api/intDeskField/intDeskField.rpc.js index 5a541fd..4874437 100644 --- a/server/api/intDeskField/intDeskField.rpc.js +++ b/server/api/intDeskField/intDeskField.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x6a55=['../../mysqldb','../../config/utils','rpc','jayson/promise','client','http','info','DeskField,\x20%s,\x20%s','request\x20sent','DeskField,\x20%s,\x20%s,\x20%s','stringify','error','code','message','catch','util','bluebird','randomstring'];(function(_0x5951e8,_0x42b9a7){var _0x20a1f5=function(_0x2bc968){while(--_0x2bc968){_0x5951e8['push'](_0x5951e8['shift']());}};_0x20a1f5(++_0x42b9a7);}(_0x6a55,0x153));var _0x56a5=function(_0x1b9cd5,_0x103dc4){_0x1b9cd5=_0x1b9cd5-0x0;var _0x4c74ca=_0x6a55[_0x1b9cd5];return _0x4c74ca;};'use strict';var _=require('lodash');var util=require(_0x56a5('0x0'));var moment=require('moment');var BPromise=require(_0x56a5('0x1'));var rs=require(_0x56a5('0x2'));var fs=require('fs');var Redis=require('ioredis');var db=require(_0x56a5('0x3'))['db'];var utils=require(_0x56a5('0x4'));var logger=require('../../config/logger')(_0x56a5('0x5'));var config=require('../../config/environment');var jayson=require(_0x56a5('0x6'));var client=jayson[_0x56a5('0x7')][_0x56a5('0x8')]({'port':0x232a});function respondWithRpcPromise(_0x3e61ba,_0xb92cf5,_0x4ed0c5){return new BPromise(function(_0x331214,_0x198cd7){return client['request'](_0x3e61ba,_0x4ed0c5)['then'](function(_0x2396e6){logger[_0x56a5('0x9')](_0x56a5('0xa'),_0xb92cf5,_0x56a5('0xb'));logger['debug'](_0x56a5('0xc'),_0xb92cf5,_0x56a5('0xb'),JSON[_0x56a5('0xd')](_0x2396e6));if(_0x2396e6[_0x56a5('0xe')]){if(_0x2396e6[_0x56a5('0xe')][_0x56a5('0xf')]===0x1f4){logger[_0x56a5('0xe')](_0x56a5('0xa'),_0xb92cf5,_0x2396e6[_0x56a5('0xe')][_0x56a5('0x10')]);return _0x198cd7(_0x2396e6[_0x56a5('0xe')][_0x56a5('0x10')]);}logger[_0x56a5('0xe')](_0x56a5('0xa'),_0xb92cf5,_0x2396e6[_0x56a5('0xe')][_0x56a5('0x10')]);return _0x331214(_0x2396e6['error']['message']);}else{logger[_0x56a5('0x9')]('DeskField,\x20%s,\x20%s',_0xb92cf5,_0x56a5('0xb'));_0x331214(_0x2396e6['result'][_0x56a5('0x10')]);}})[_0x56a5('0x11')](function(_0x20f237){logger['error'](_0x56a5('0xa'),_0xb92cf5,_0x20f237);_0x198cd7(_0x20f237);});});} \ No newline at end of file +var _0x8941=['code','message','result','util','moment','ioredis','../../mysqldb','../../config/logger','rpc','../../config/environment','jayson/promise','client','http','request','info','DeskField,\x20%s,\x20%s','debug','DeskField,\x20%s,\x20%s,\x20%s','request\x20sent','error'];(function(_0x4ff91e,_0x23b294){var _0x417942=function(_0x5837e3){while(--_0x5837e3){_0x4ff91e['push'](_0x4ff91e['shift']());}};_0x417942(++_0x23b294);}(_0x8941,0xdf));var _0x1894=function(_0x419c32,_0x50380e){_0x419c32=_0x419c32-0x0;var _0x799b15=_0x8941[_0x419c32];return _0x799b15;};'use strict';var _=require('lodash');var util=require(_0x1894('0x0'));var moment=require(_0x1894('0x1'));var BPromise=require('bluebird');var rs=require('randomstring');var fs=require('fs');var Redis=require(_0x1894('0x2'));var db=require(_0x1894('0x3'))['db'];var utils=require('../../config/utils');var logger=require(_0x1894('0x4'))(_0x1894('0x5'));var config=require(_0x1894('0x6'));var jayson=require(_0x1894('0x7'));var client=jayson[_0x1894('0x8')][_0x1894('0x9')]({'port':0x232a});function respondWithRpcPromise(_0x49ef75,_0x52b4ce,_0x28729c){return new BPromise(function(_0x5c8f22,_0x11fa46){return client[_0x1894('0xa')](_0x49ef75,_0x28729c)['then'](function(_0x450bba){logger[_0x1894('0xb')](_0x1894('0xc'),_0x52b4ce,'request\x20sent');logger[_0x1894('0xd')](_0x1894('0xe'),_0x52b4ce,_0x1894('0xf'),JSON['stringify'](_0x450bba));if(_0x450bba[_0x1894('0x10')]){if(_0x450bba['error'][_0x1894('0x11')]===0x1f4){logger['error'](_0x1894('0xc'),_0x52b4ce,_0x450bba['error'][_0x1894('0x12')]);return _0x11fa46(_0x450bba[_0x1894('0x10')]['message']);}logger[_0x1894('0x10')](_0x1894('0xc'),_0x52b4ce,_0x450bba['error']['message']);return _0x5c8f22(_0x450bba[_0x1894('0x10')]['message']);}else{logger[_0x1894('0xb')](_0x1894('0xc'),_0x52b4ce,'request\x20sent');_0x5c8f22(_0x450bba[_0x1894('0x13')][_0x1894('0x12')]);}})['catch'](function(_0x164144){logger[_0x1894('0x10')](_0x1894('0xc'),_0x52b4ce,_0x164144);_0x11fa46(_0x164144);});});} \ No newline at end of file diff --git a/server/api/intDynamics365Account/index.js b/server/api/intDynamics365Account/index.js index 8b80d19..cab2d65 100644 --- a/server/api/intDynamics365Account/index.js +++ b/server/api/intDynamics365Account/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x28b3=['get','index','/:id','isAuthenticated','show','getConfigurations','/:id/fields','getFields','post','create','/:id/configurations','addConfiguration','put','delete','exports','util','path','connect-timeout','Router','../../components/interaction/service','./intDynamics365Account.controller'];(function(_0x1a909d,_0x104cb3){var _0xe69d1a=function(_0x55998c){while(--_0x55998c){_0x1a909d['push'](_0x1a909d['shift']());}};_0xe69d1a(++_0x104cb3);}(_0x28b3,0x78));var _0x328b=function(_0x760bc4,_0xf1a7fb){_0x760bc4=_0x760bc4-0x0;var _0x40d1bb=_0x28b3[_0x760bc4];return _0x40d1bb;};'use strict';var multer=require('multer');var util=require(_0x328b('0x0'));var path=require(_0x328b('0x1'));var timeout=require(_0x328b('0x2'));var express=require('express');var router=express[_0x328b('0x3')]();var auth=require('../../components/auth/service');var interaction=require(_0x328b('0x4'));var config=require('../../config/environment');var controller=require(_0x328b('0x5'));router[_0x328b('0x6')]('/',auth['isAuthenticated'](),controller[_0x328b('0x7')]);router[_0x328b('0x6')](_0x328b('0x8'),auth[_0x328b('0x9')](),controller[_0x328b('0xa')]);router[_0x328b('0x6')]('/:id/configurations',auth[_0x328b('0x9')](),controller[_0x328b('0xb')]);router[_0x328b('0x6')](_0x328b('0xc'),auth[_0x328b('0x9')](),controller[_0x328b('0xd')]);router[_0x328b('0xe')]('/',auth[_0x328b('0x9')](),controller[_0x328b('0xf')]);router['post'](_0x328b('0x10'),auth[_0x328b('0x9')](),controller[_0x328b('0x11')]);router[_0x328b('0x12')]('/:id',auth[_0x328b('0x9')](),controller['update']);router[_0x328b('0x13')](_0x328b('0x8'),auth[_0x328b('0x9')](),controller['destroy']);module[_0x328b('0x14')]=router; \ No newline at end of file +var _0x7a9d=['path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','./intDynamics365Account.controller','get','/:id','isAuthenticated','show','getConfigurations','/:id/fields','getFields','post','create','addConfiguration','put','delete','destroy','exports','multer'];(function(_0x1e0a4a,_0x55752e){var _0x352afd=function(_0x579bae){while(--_0x579bae){_0x1e0a4a['push'](_0x1e0a4a['shift']());}};_0x352afd(++_0x55752e);}(_0x7a9d,0x6d));var _0xd7a9=function(_0xb1f784,_0x26ed0f){_0xb1f784=_0xb1f784-0x0;var _0x9e12cd=_0x7a9d[_0xb1f784];return _0x9e12cd;};'use strict';var multer=require(_0xd7a9('0x0'));var util=require('util');var path=require(_0xd7a9('0x1'));var timeout=require(_0xd7a9('0x2'));var express=require(_0xd7a9('0x3'));var router=express[_0xd7a9('0x4')]();var auth=require(_0xd7a9('0x5'));var interaction=require(_0xd7a9('0x6'));var config=require('../../config/environment');var controller=require(_0xd7a9('0x7'));router[_0xd7a9('0x8')]('/',auth['isAuthenticated'](),controller['index']);router[_0xd7a9('0x8')](_0xd7a9('0x9'),auth[_0xd7a9('0xa')](),controller[_0xd7a9('0xb')]);router[_0xd7a9('0x8')]('/:id/configurations',auth[_0xd7a9('0xa')](),controller[_0xd7a9('0xc')]);router[_0xd7a9('0x8')](_0xd7a9('0xd'),auth['isAuthenticated'](),controller[_0xd7a9('0xe')]);router[_0xd7a9('0xf')]('/',auth[_0xd7a9('0xa')](),controller[_0xd7a9('0x10')]);router[_0xd7a9('0xf')]('/:id/configurations',auth[_0xd7a9('0xa')](),controller[_0xd7a9('0x11')]);router[_0xd7a9('0x12')](_0xd7a9('0x9'),auth[_0xd7a9('0xa')](),controller['update']);router[_0xd7a9('0x13')]('/:id',auth['isAuthenticated'](),controller[_0xd7a9('0x14')]);module[_0xd7a9('0x15')]=router; \ No newline at end of file diff --git a/server/api/intDynamics365Account/intDynamics365Account.attributes.js b/server/api/intDynamics365Account/intDynamics365Account.attributes.js index f679ba1..7f1ba66 100644 --- a/server/api/intDynamics365Account/intDynamics365Account.attributes.js +++ b/server/api/intDynamics365Account/intDynamics365Account.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x94dc=['STRING','sequelize'];(function(_0x3708f2,_0x1be577){var _0x322a83=function(_0x36790f){while(--_0x36790f){_0x3708f2['push'](_0x3708f2['shift']());}};_0x322a83(++_0x1be577);}(_0x94dc,0x137));var _0xc94d=function(_0x359745,_0xd56c44){_0x359745=_0x359745-0x0;var _0x69f0b8=_0x94dc[_0x359745];return _0x69f0b8;};'use strict';var Sequelize=require(_0xc94d('0x0'));module['exports']={'name':{'type':Sequelize[_0xc94d('0x1')]},'username':{'type':Sequelize[_0xc94d('0x1')]},'password':{'type':Sequelize[_0xc94d('0x1')]},'remoteUri':{'type':Sequelize[_0xc94d('0x1')]},'tenantId':{'type':Sequelize['STRING']},'clientId':{'type':Sequelize[_0xc94d('0x1')]},'clientSecret':{'type':Sequelize[_0xc94d('0x1')]},'serverUrl':{'type':Sequelize[_0xc94d('0x1')]},'description':{'type':Sequelize[_0xc94d('0x1')]}}; \ No newline at end of file +var _0x8630=['exports','STRING','sequelize'];(function(_0x3b0e76,_0x239221){var _0x1e4af4=function(_0x4c1daa){while(--_0x4c1daa){_0x3b0e76['push'](_0x3b0e76['shift']());}};_0x1e4af4(++_0x239221);}(_0x8630,0xec));var _0x0863=function(_0x1ea341,_0x12db66){_0x1ea341=_0x1ea341-0x0;var _0x27f0f8=_0x8630[_0x1ea341];return _0x27f0f8;};'use strict';var Sequelize=require(_0x0863('0x0'));module[_0x0863('0x1')]={'name':{'type':Sequelize[_0x0863('0x2')]},'username':{'type':Sequelize[_0x0863('0x2')]},'password':{'type':Sequelize[_0x0863('0x2')]},'remoteUri':{'type':Sequelize[_0x0863('0x2')]},'tenantId':{'type':Sequelize[_0x0863('0x2')]},'clientId':{'type':Sequelize[_0x0863('0x2')]},'clientSecret':{'type':Sequelize[_0x0863('0x2')]},'serverUrl':{'type':Sequelize[_0x0863('0x2')]},'description':{'type':Sequelize['STRING']}}; \ No newline at end of file diff --git a/server/api/intDynamics365Account/intDynamics365Account.controller.js b/server/api/intDynamics365Account/intDynamics365Account.controller.js index 6709c01..79fa2c2 100644 --- a/server/api/intDynamics365Account/intDynamics365Account.controller.js +++ b/server/api/intDynamics365Account/intDynamics365Account.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x2e63=['ticketType','PhoneCall','description','customerid','ownerid','caseorigincode','phonenumber','regardingobjectid','directioncode','phonecall_activity_parties','accountidyominame','billedserviceunits','contactidname','contactidyominame','contractdetailidname','contractidname','createdbyexternalpartyyominame','createdbyname','createdbyyominame','createdon','createdonbehalfbyname','createdonbehalfbyyominame','customeridtype','customeridyominame','entitlementidname','entityimage_timestamp','entityimage_url','escalatedon','firstresponsebykpiidname','followupby','importsequencenumber','influencescore','kbarticleidname','lastonholdtime','masteridname','modifiedbyexternalpartyname','modifiedbyexternalpartyyominame','modifiedbyname','modifiedbyyominame','modifiedon','modifiedonbehalfbyname','modifiedonbehalfbyyominame','msdyn_incidenttypename','msdyn_iotalertname','numberofchildincidents','onholdtime','owneridname','owneridtype','owneridyominame','parentcaseidname','primarycontactidname','primarycontactidyominame','productidname','productserialnumber','responseby','responsiblecontactidname','responsiblecontactidyominame','sentimentvalue','slainvokedidname','slaname','socialprofileidname','statecode','statuscode','subjectidname','ticketnumber','timezoneruleversionnumber','traversedpath','versionnumber','password','remoteUri','clientId','substring','lastIndexOf','format','%s/api/data/v9.0/','POST','https://login.microsoftonline.com/','tenantId','/oauth2/token','username','clientSecret','access_token','GET','EntityDefinitions?$select=DisplayName,EntitySetName&$filter=SchemaName\x20eq\x20\x27','Bearer\x20','4.0','value','MetadataId','EntityDefinitions(',')?$select=LogicalName&$expand=Attributes($select=LogicalName)','Attributes','includes','LogicalName','forEach','@odata.type','PicklistAttributeMetadata','push','all','isNil','BooleanAttributeMetadata','StringAttributeMetadata','DoubleAttributeMetadata','BigIntAttributeMetadata','IntegerAttributeMetadata','MemoAttributeMetadata','DateTimeAttributeMetadata','EntityNameAttributeMetadata','StateAttributeMetadata','DecimalAttributeMetadata','concat','statusCode','Wrong\x20credentials',')/Attributes(',')/Microsoft.Dynamics.CRM.PicklistAttributeMetadata?','$select=DisplayName,LogicalName&$expand=OptionSet($select=Options)','OptionSet','Label','UserLocalizedLabel','Value','DisplayName',')/Microsoft.Dynamics.CRM.BooleanAttributeMetadata?$select=DisplayName,LogicalName&$expand=OptionSet($select=FalseOption,\x20TrueOption)','true','false',')/Microsoft.Dynamics.CRM.','eml-format','rimraf','zip-dir','fast-json-patch','moment','mustache','util','sox','to-csv','ejs','squel','crypto','desk.js','querystring','papaparse','ioredis','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','../../components/integrations/configuration','client','http','test','ValidationError','The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.','request','request\x20sent','Dynamics365Account,\x20%s,\x20%s,\x20%s','stringify','error','Dynamics365Account,\x20%s,\x20%s','message','info','result','catch','sendStatus','status','end','json','count','offset','limit','set','Content-Range','apply','reject','update','then','destroy','stack','name','send','index','rawAttributes','fieldName','type','key','model','map','query','keys','filters','intersection','attributes','fields','length','hasOwnProperty','nolimit','sort','where','pick','filter','VIRTUAL','merge','options','Dynamics365Account','includeAll','include','findAll','rows','params','find','create','body','getConfigurations','findOne','Dynamics365Configuration','order','addConfiguration','AccountId','channel','Descriptions','getDescriptions','Subjects','Dynamics365Field','getFields'];(function(_0x1efacb,_0xef2a74){var _0xf9dc9b=function(_0x13d793){while(--_0x13d793){_0x1efacb['push'](_0x1efacb['shift']());}};_0xf9dc9b(++_0xef2a74);}(_0x2e63,0x7c));var _0x32e6=function(_0x41382c,_0xc3ffd1){_0x41382c=_0x41382c-0x0;var _0x4da35b=_0x2e63[_0x41382c];return _0x4da35b;};'use strict';var pdf=require('html-pdf');var emlformat=require(_0x32e6('0x0'));var rimraf=require(_0x32e6('0x1'));var zipdir=require(_0x32e6('0x2'));var jsonpatch=require(_0x32e6('0x3'));var rp=require('request-promise');var moment=require(_0x32e6('0x4'));var BPromise=require('bluebird');var Mustache=require(_0x32e6('0x5'));var util=require(_0x32e6('0x6'));var path=require('path');var sox=require(_0x32e6('0x7'));var csv=require(_0x32e6('0x8'));var ejs=require(_0x32e6('0x9'));var fs=require('fs');var _=require('lodash');var squel=require(_0x32e6('0xa'));var crypto=require(_0x32e6('0xb'));var jsforce=require('jsforce');var deskjs=require(_0x32e6('0xc'));var toCsv=require(_0x32e6('0x8'));var querystring=require(_0x32e6('0xd'));var Papa=require(_0x32e6('0xe'));var Redis=require(_0x32e6('0xf'));var authService=require('../../components/auth/service');var qs=require('../../components/parsers/qs');var as=require(_0x32e6('0x10'));var hardwareService=require(_0x32e6('0x11'));var logger=require(_0x32e6('0x12'))(_0x32e6('0x13'));var utils=require(_0x32e6('0x14'));var config=require(_0x32e6('0x15'));var db=require(_0x32e6('0x16'))['db'];var integrations=require(_0x32e6('0x17'));var jayson=require('jayson/promise');var client=jayson[_0x32e6('0x18')][_0x32e6('0x19')]({'port':0x232a});function checkPasswordPattern(_0x1ef78d,_0x451188,_0x2020e7){if(_0x2020e7){var _0x2dd21a=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0x2dd21a[_0x32e6('0x1a')](_0x451188)){return _0x1ef78d;}else{throw new db['Sequelize'][(_0x32e6('0x1b'))](_0x32e6('0x1c'));}}else{return _0x1ef78d;}}function respondWithRpcPromise(_0x444665,_0x474b2e,_0x2a92fa,_0x29ed51){return new BPromise(function(_0x5e5df8,_0x1f9a9c){var _0x9b3d4d=_0x29ed51||client;return _0x9b3d4d[_0x32e6('0x1d')](_0x444665,_0x2a92fa)['then'](function(_0x192591){logger['info']('Dynamics365Account,\x20%s,\x20%s',_0x474b2e,_0x32e6('0x1e'));logger['debug'](_0x32e6('0x1f'),_0x474b2e,_0x32e6('0x1e'),JSON[_0x32e6('0x20')](_0x192591));if(_0x192591[_0x32e6('0x21')]){if(_0x192591[_0x32e6('0x21')]['code']===0x1f4){logger[_0x32e6('0x21')](_0x32e6('0x22'),_0x474b2e,_0x192591[_0x32e6('0x21')]['message']);return _0x1f9a9c(_0x192591[_0x32e6('0x21')][_0x32e6('0x23')]);}logger[_0x32e6('0x21')](_0x32e6('0x22'),_0x474b2e,_0x192591[_0x32e6('0x21')][_0x32e6('0x23')]);return _0x5e5df8(_0x192591[_0x32e6('0x21')][_0x32e6('0x23')]);}else{logger[_0x32e6('0x24')](_0x32e6('0x22'),_0x474b2e,_0x32e6('0x1e'));_0x5e5df8(_0x192591[_0x32e6('0x25')]['message']);}})[_0x32e6('0x26')](function(_0x15e4df){logger[_0x32e6('0x21')]('Dynamics365Account,\x20%s,\x20%s',_0x474b2e,_0x15e4df);_0x1f9a9c(_0x15e4df);});});}function respondWithStatusCode(_0x25cf4f,_0xdbfdf8){_0xdbfdf8=_0xdbfdf8||0xcc;return function(_0x5a4ecf){if(_0x5a4ecf){return _0x25cf4f[_0x32e6('0x27')](_0xdbfdf8);}return _0x25cf4f[_0x32e6('0x28')](_0xdbfdf8)[_0x32e6('0x29')]();};}function respondWithResult(_0x42760b,_0x27cab7){_0x27cab7=_0x27cab7||0xc8;return function(_0x270e5b){if(_0x270e5b){return _0x42760b[_0x32e6('0x28')](_0x27cab7)[_0x32e6('0x2a')](_0x270e5b);}};}function respondWithFilteredResult(_0x389a70,_0x2fc6a){return function(_0x429edd){if(_0x429edd){var _0x2e641a=_0x429edd[_0x32e6('0x2b')],_0x50b18d=_0x2fc6a[_0x32e6('0x2c')],_0x5de6a9=_0x2fc6a[_0x32e6('0x2c')]+_0x2fc6a[_0x32e6('0x2d')],_0x5a998a;if(_0x5de6a9>=_0x2e641a){_0x5de6a9=_0x2e641a;_0x5a998a=0xc8;}else{_0x5a998a=0xce;}_0x389a70[_0x32e6('0x28')](_0x5a998a);return _0x389a70[_0x32e6('0x2e')](_0x32e6('0x2f'),_0x50b18d+'-'+_0x5de6a9+'/'+_0x2e641a)[_0x32e6('0x2a')](_0x429edd);}return null;};}function patchUpdates(_0x292644){return function(_0x3e52b1){try{jsonpatch[_0x32e6('0x30')](_0x3e52b1,_0x292644,!![]);}catch(_0x3317dc){return BPromise[_0x32e6('0x31')](_0x3317dc);}return _0x3e52b1['save']();};}function saveUpdates(_0x1d00d4,_0x38f603){return function(_0x5514bd){if(_0x5514bd){return _0x5514bd[_0x32e6('0x32')](_0x1d00d4)[_0x32e6('0x33')](function(_0x232e0d){return _0x232e0d;});}return null;};}function removeEntity(_0x309ea2,_0x3a38f5){return function(_0x1235c1){if(_0x1235c1){return _0x1235c1[_0x32e6('0x34')]()[_0x32e6('0x33')](function(){_0x309ea2[_0x32e6('0x28')](0xcc)[_0x32e6('0x29')]();});}};}function handleEntityNotFound(_0xcc083b,_0x112656){return function(_0x44663f){if(!_0x44663f){_0xcc083b[_0x32e6('0x27')](0x194);}return _0x44663f;};}function handleError(_0x5a2ef6,_0x4165f3){_0x4165f3=_0x4165f3||0x1f4;return function(_0x53b082){logger[_0x32e6('0x21')](_0x53b082[_0x32e6('0x35')]);if(_0x53b082[_0x32e6('0x36')]){delete _0x53b082[_0x32e6('0x36')];}_0x5a2ef6[_0x32e6('0x28')](_0x4165f3)[_0x32e6('0x37')](_0x53b082);};}exports[_0x32e6('0x38')]=function(_0x3e7a4b,_0x44e511){var _0x25673d={},_0x30934e={},_0x31f497={'count':0x0,'rows':[]};var _0x2932dd=_['map'](db['Dynamics365Account'][_0x32e6('0x39')],function(_0xf2131e){return{'name':_0xf2131e[_0x32e6('0x3a')],'type':_0xf2131e[_0x32e6('0x3b')][_0x32e6('0x3c')]};});_0x30934e[_0x32e6('0x3d')]=_[_0x32e6('0x3e')](_0x2932dd,_0x32e6('0x36'));_0x30934e[_0x32e6('0x3f')]=_[_0x32e6('0x40')](_0x3e7a4b[_0x32e6('0x3f')]);_0x30934e[_0x32e6('0x41')]=_[_0x32e6('0x42')](_0x30934e[_0x32e6('0x3d')],_0x30934e[_0x32e6('0x3f')]);_0x25673d[_0x32e6('0x43')]=_[_0x32e6('0x42')](_0x30934e[_0x32e6('0x3d')],qs[_0x32e6('0x44')](_0x3e7a4b[_0x32e6('0x3f')][_0x32e6('0x44')]));_0x25673d[_0x32e6('0x43')]=_0x25673d[_0x32e6('0x43')][_0x32e6('0x45')]?_0x25673d[_0x32e6('0x43')]:_0x30934e[_0x32e6('0x3d')];if(!_0x3e7a4b['query'][_0x32e6('0x46')](_0x32e6('0x47'))){_0x25673d[_0x32e6('0x2d')]=qs[_0x32e6('0x2d')](_0x3e7a4b[_0x32e6('0x3f')][_0x32e6('0x2d')]);_0x25673d['offset']=qs[_0x32e6('0x2c')](_0x3e7a4b['query'][_0x32e6('0x2c')]);}_0x25673d['order']=qs[_0x32e6('0x48')](_0x3e7a4b[_0x32e6('0x3f')][_0x32e6('0x48')]);_0x25673d[_0x32e6('0x49')]=qs[_0x32e6('0x41')](_[_0x32e6('0x4a')](_0x3e7a4b['query'],_0x30934e['filters']),_0x2932dd);if(_0x3e7a4b[_0x32e6('0x3f')][_0x32e6('0x4b')]){_0x25673d[_0x32e6('0x49')]=_['merge'](_0x25673d[_0x32e6('0x49')],{'$or':_[_0x32e6('0x3e')](_0x2932dd,function(_0x36ddf){if(_0x36ddf[_0x32e6('0x3b')]!==_0x32e6('0x4c')){var _0x346d1b={};_0x346d1b[_0x36ddf['name']]={'$like':'%'+_0x3e7a4b[_0x32e6('0x3f')]['filter']+'%'};return _0x346d1b;}})});}_0x25673d=_[_0x32e6('0x4d')]({},_0x25673d,_0x3e7a4b[_0x32e6('0x4e')]);var _0x23a28f={'where':_0x25673d[_0x32e6('0x49')]};return db[_0x32e6('0x4f')][_0x32e6('0x2b')](_0x23a28f)[_0x32e6('0x33')](function(_0x2f86bc){_0x31f497[_0x32e6('0x2b')]=_0x2f86bc;if(_0x3e7a4b[_0x32e6('0x3f')][_0x32e6('0x50')]){_0x25673d[_0x32e6('0x51')]=[{'all':!![]}];}return db['Dynamics365Account'][_0x32e6('0x52')](_0x25673d);})['then'](function(_0x5abc95){_0x31f497[_0x32e6('0x53')]=_0x5abc95;return _0x31f497;})[_0x32e6('0x33')](respondWithFilteredResult(_0x44e511,_0x25673d))[_0x32e6('0x26')](handleError(_0x44e511,null));};exports['show']=function(_0x287358,_0x323893){var _0x596c17={'raw':![],'where':{'id':_0x287358[_0x32e6('0x54')]['id']}},_0x490c68={};_0x490c68['model']=_[_0x32e6('0x40')](db[_0x32e6('0x4f')]['rawAttributes']);_0x490c68['query']=_[_0x32e6('0x40')](_0x287358['query']);_0x490c68[_0x32e6('0x41')]=_[_0x32e6('0x42')](_0x490c68[_0x32e6('0x3d')],_0x490c68[_0x32e6('0x3f')]);_0x596c17['attributes']=_[_0x32e6('0x42')](_0x490c68[_0x32e6('0x3d')],qs['fields'](_0x287358[_0x32e6('0x3f')][_0x32e6('0x44')]));_0x596c17[_0x32e6('0x43')]=_0x596c17[_0x32e6('0x43')]['length']?_0x596c17[_0x32e6('0x43')]:_0x490c68[_0x32e6('0x3d')];if(_0x287358[_0x32e6('0x3f')][_0x32e6('0x50')]){_0x596c17['include']=[{'all':!![]}];}_0x596c17=_[_0x32e6('0x4d')]({},_0x596c17,_0x287358[_0x32e6('0x4e')]);return db['Dynamics365Account'][_0x32e6('0x55')](_0x596c17)[_0x32e6('0x33')](handleEntityNotFound(_0x323893,null))[_0x32e6('0x33')](respondWithResult(_0x323893,null))['catch'](handleError(_0x323893,null));};exports[_0x32e6('0x56')]=function(_0x4d8b38,_0x164df6){return db[_0x32e6('0x4f')][_0x32e6('0x56')](_0x4d8b38[_0x32e6('0x57')],{})[_0x32e6('0x33')](respondWithResult(_0x164df6,0xc9))[_0x32e6('0x26')](handleError(_0x164df6,null));};exports['update']=function(_0x1c3b21,_0x12a8be){if(_0x1c3b21[_0x32e6('0x57')]['id']){delete _0x1c3b21[_0x32e6('0x57')]['id'];}return db[_0x32e6('0x4f')][_0x32e6('0x55')]({'where':{'id':_0x1c3b21['params']['id']}})[_0x32e6('0x33')](handleEntityNotFound(_0x12a8be,null))[_0x32e6('0x33')](saveUpdates(_0x1c3b21[_0x32e6('0x57')],null))['then'](respondWithResult(_0x12a8be,null))[_0x32e6('0x26')](handleError(_0x12a8be,null));};exports[_0x32e6('0x34')]=function(_0x56f031,_0x369511){return db[_0x32e6('0x4f')][_0x32e6('0x55')]({'where':{'id':_0x56f031[_0x32e6('0x54')]['id']}})[_0x32e6('0x33')](handleEntityNotFound(_0x369511,null))[_0x32e6('0x33')](removeEntity(_0x369511,null))[_0x32e6('0x26')](handleError(_0x369511,null));};exports[_0x32e6('0x58')]=function(_0x4e93c8,_0x30d97c,_0x4b6900){var _0x13c8ae={};var _0x17ee5e={};var _0x4bb1ba;var _0x125626;return db[_0x32e6('0x4f')][_0x32e6('0x59')]({'where':{'id':_0x4e93c8[_0x32e6('0x54')]['id']}})['then'](handleEntityNotFound(_0x30d97c,null))[_0x32e6('0x33')](function(_0xb079d8){if(_0xb079d8){_0x4bb1ba=_0xb079d8;_0x17ee5e[_0x32e6('0x3d')]=_[_0x32e6('0x40')](db[_0x32e6('0x5a')][_0x32e6('0x39')]);_0x17ee5e['query']=_[_0x32e6('0x40')](_0x4e93c8[_0x32e6('0x3f')]);_0x17ee5e[_0x32e6('0x41')]=_[_0x32e6('0x42')](_0x17ee5e[_0x32e6('0x3d')],_0x17ee5e['query']);_0x13c8ae[_0x32e6('0x43')]=_[_0x32e6('0x42')](_0x17ee5e['model'],qs[_0x32e6('0x44')](_0x4e93c8['query']['fields']));_0x13c8ae['attributes']=_0x13c8ae[_0x32e6('0x43')][_0x32e6('0x45')]?_0x13c8ae[_0x32e6('0x43')]:_0x17ee5e['model'];_0x13c8ae[_0x32e6('0x5b')]=qs[_0x32e6('0x48')](_0x4e93c8[_0x32e6('0x3f')][_0x32e6('0x48')]);_0x13c8ae[_0x32e6('0x49')]=qs['filters'](_[_0x32e6('0x4a')](_0x4e93c8['query'],_0x17ee5e['filters']));if(_0x4e93c8['query']['filter']){_0x13c8ae[_0x32e6('0x49')]=_['merge'](_0x13c8ae[_0x32e6('0x49')],{'$or':_[_0x32e6('0x3e')](_0x13c8ae['attributes'],function(_0x2e973b){var _0x2ac27d={};_0x2ac27d[_0x2e973b]={'$like':'%'+_0x4e93c8[_0x32e6('0x3f')][_0x32e6('0x4b')]+'%'};return _0x2ac27d;})});}_0x13c8ae=_[_0x32e6('0x4d')]({},_0x13c8ae,_0x4e93c8['options']);return _0x4bb1ba['getConfigurations'](_0x13c8ae);}})['then'](function(_0x46132b){if(_0x46132b){_0x125626=_0x46132b[_0x32e6('0x45')];if(!_0x4e93c8[_0x32e6('0x3f')][_0x32e6('0x46')](_0x32e6('0x47'))){_0x13c8ae[_0x32e6('0x2d')]=qs['limit'](_0x4e93c8[_0x32e6('0x3f')][_0x32e6('0x2d')]);_0x13c8ae[_0x32e6('0x2c')]=qs['offset'](_0x4e93c8[_0x32e6('0x3f')][_0x32e6('0x2c')]);}return _0x4bb1ba['getConfigurations'](_0x13c8ae);}})['then'](function(_0x35995d){if(_0x35995d){return _0x35995d?{'count':_0x125626,'rows':_0x35995d}:null;}})['then'](respondWithResult(_0x30d97c,null))[_0x32e6('0x26')](handleError(_0x30d97c,null));};exports[_0x32e6('0x5c')]=function(_0x35e1f6,_0x33ed36,_0x80a150){if(_0x35e1f6[_0x32e6('0x57')]['id']){delete _0x35e1f6[_0x32e6('0x57')]['id'];}return db[_0x32e6('0x4f')]['findOne']({'where':{'id':_0x35e1f6[_0x32e6('0x54')]['id']}})[_0x32e6('0x33')](handleEntityNotFound(_0x33ed36,null))['then'](function(_0x162dd4){if(_0x162dd4){_0x35e1f6[_0x32e6('0x57')][_0x32e6('0x5d')]=_0x162dd4['id'];_0x35e1f6[_0x32e6('0x57')]['Subjects']=integrations['getSubjects'](_0x35e1f6[_0x32e6('0x57')][_0x32e6('0x5e')],_0x35e1f6['body'][_0x32e6('0x3b')]);_0x35e1f6[_0x32e6('0x57')][_0x32e6('0x5f')]=integrations[_0x32e6('0x60')](_0x35e1f6[_0x32e6('0x57')][_0x32e6('0x5e')],_0x35e1f6[_0x32e6('0x57')][_0x32e6('0x3b')]);return db[_0x32e6('0x5a')][_0x32e6('0x56')](_0x35e1f6[_0x32e6('0x57')],{'include':[{'model':db['Dynamics365Field'],'as':_0x32e6('0x61')},{'model':db[_0x32e6('0x62')],'as':_0x32e6('0x5f')}]});}return null;})['then'](respondWithResult(_0x33ed36,null))[_0x32e6('0x26')](handleError(_0x33ed36,null));};exports[_0x32e6('0x63')]=function(_0x250da0,_0x50c01e,_0x275561){var _0x463fa5=_0x250da0[_0x32e6('0x3f')][_0x32e6('0x64')];var _0xd20694=_0x463fa5==='incident'?'Incident':_0x32e6('0x65');var _0x3ad9c0='';var _0x2d989c='';var _0x244d7f='';var _0xf9a6fc='';var _0x2b43d7='';var _0x5aee03='';var _0x1f668c='';var _0x2129e8='';var _0x22435a=['title',_0x32e6('0x66'),_0x32e6('0x67'),_0x32e6('0x68'),_0x32e6('0x69'),'subject',_0x32e6('0x6a'),_0x32e6('0x6b'),_0x32e6('0x6c'),_0x32e6('0x6d')];var _0x2ff1b1=['accountidname',_0x32e6('0x6e'),'actualserviceunits',_0x32e6('0x6f'),_0x32e6('0x70'),_0x32e6('0x71'),_0x32e6('0x72'),_0x32e6('0x73'),'createdbyexternalpartyname',_0x32e6('0x74'),_0x32e6('0x75'),_0x32e6('0x76'),_0x32e6('0x77'),_0x32e6('0x78'),_0x32e6('0x79'),'customeridname',_0x32e6('0x7a'),_0x32e6('0x7b'),'emailaddress',_0x32e6('0x7c'),_0x32e6('0x7d'),_0x32e6('0x7e'),_0x32e6('0x7f'),'exchangerate',_0x32e6('0x80'),_0x32e6('0x81'),_0x32e6('0x82'),_0x32e6('0x83'),_0x32e6('0x84'),_0x32e6('0x85'),_0x32e6('0x86'),_0x32e6('0x87'),_0x32e6('0x88'),_0x32e6('0x89'),_0x32e6('0x8a'),_0x32e6('0x8b'),_0x32e6('0x8c'),_0x32e6('0x8d'),_0x32e6('0x8e'),_0x32e6('0x8f'),_0x32e6('0x90'),_0x32e6('0x91'),'overriddencreatedon',_0x32e6('0x92'),_0x32e6('0x93'),_0x32e6('0x94'),_0x32e6('0x95'),_0x32e6('0x96'),_0x32e6('0x97'),'prioritycodename',_0x32e6('0x98'),_0x32e6('0x99'),'resolveby','resolvebykpiidname',_0x32e6('0x9a'),_0x32e6('0x9b'),_0x32e6('0x9c'),_0x32e6('0x9d'),_0x32e6('0x9e'),_0x32e6('0x9f'),_0x32e6('0xa0'),_0x32e6('0xa1'),_0x32e6('0xa2'),_0x32e6('0xa3'),_0x32e6('0xa4'),_0x32e6('0xa5'),'transactioncurrencyidname',_0x32e6('0xa6'),'utcconversiontimezonecode',_0x32e6('0xa7')];var _0x22b85c=_0x22435a['concat'](_0x2ff1b1);return db[_0x32e6('0x4f')][_0x32e6('0x59')]({'where':{'id':_0x250da0[_0x32e6('0x54')]['id']},'attributes':['id','username',_0x32e6('0xa8'),_0x32e6('0xa9'),'tenantId',_0x32e6('0xaa'),'clientSecret']})[_0x32e6('0x33')](handleEntityNotFound(_0x50c01e,null))['then'](function(_0x5a7d3f){if(_0x5a7d3f){_0x2129e8=_0x5a7d3f[_0x32e6('0xa9')];var _0x42ab0b=_0x2129e8['slice'](-0x1);if(_0x42ab0b==='/'){_0x2129e8=_0x2129e8[_0x32e6('0xab')](0x0,_0x2129e8[_0x32e6('0xac')](_0x42ab0b));}_0x1f668c=util[_0x32e6('0xad')](_0x32e6('0xae'),_0x2129e8);var _0x7aeb52={'method':_0x32e6('0xaf'),'uri':_0x32e6('0xb0')+_0x5a7d3f[_0x32e6('0xb1')]+_0x32e6('0xb2'),'form':{'client_id':_0x5a7d3f[_0x32e6('0xaa')],'resource':_0x2129e8,'username':_0x5a7d3f[_0x32e6('0xb3')],'password':_0x5a7d3f[_0x32e6('0xa8')],'grant_type':_0x32e6('0xa8'),'client_secret':_0x5a7d3f[_0x32e6('0xb4')]},'json':!![]};return rp(_0x7aeb52);}})[_0x32e6('0x33')](function(_0x579fbf){_0x5aee03=_0x579fbf[_0x32e6('0xb5')];var _0x5cb91d={'method':_0x32e6('0xb6'),'uri':encodeURI(_0x1f668c+_0x32e6('0xb7')+_0xd20694+'\x27'),'headers':{'Authorization':_0x32e6('0xb8')+_0x5aee03,'If-None-Match':null,'OData-Version':_0x32e6('0xb9')},'json':!![]};return rp(_0x5cb91d);})[_0x32e6('0x33')](function(_0x227402){var _0x59f8a9=_0x227402[_0x32e6('0xba')][0x0];var _0x4900b8=_0x59f8a9[_0x32e6('0xbb')];var _0x599aab={'method':_0x32e6('0xb6'),'uri':_0x1f668c+_0x32e6('0xbc')+_0x4900b8+_0x32e6('0xbd'),'headers':{'Authorization':_0x32e6('0xb8')+_0x5aee03,'If-None-Match':null,'OData-Version':_0x32e6('0xb9')},'json':!![]};return rp(_0x599aab);})['then'](function(_0x35d186){_0x3ad9c0=_0x35d186;_0x2d989c=_0x3ad9c0[_0x32e6('0xbe')];_0x2d989c=_['remove'](_0x2d989c,function(_0x2d1a02){return!_0x22b85c[_0x32e6('0xbf')](_0x2d1a02[_0x32e6('0xc0')]);});var _0x1a0d6d=[];var _0x4f8ef7=[];_0x2d989c[_0x32e6('0xc1')](function(_0x411cfa){if(_0x411cfa[_0x32e6('0xc2')]){var _0x4f5942=_0x411cfa[_0x32e6('0xc2')][_0x32e6('0xab')](_0x411cfa[_0x32e6('0xc2')][_0x32e6('0xac')]('.')+0x1);if(_0x4f5942===_0x32e6('0xc3')){_0x1a0d6d[_0x32e6('0xc4')](getSelectList(_0x1f668c,_0x463fa5,_0x4f8ef7,_0x3ad9c0[_0x32e6('0xbb')],_0x411cfa[_0x32e6('0xbb')],_0x5aee03));}}});return Promise[_0x32e6('0xc5')](_0x1a0d6d);})[_0x32e6('0x33')](function(_0x4effca){_0x244d7f=_0x4effca[0x0];var _0x2109dd=[];var _0x46aab9=[];_0x2d989c['forEach'](function(_0x5b558c){if(!_[_0x32e6('0xc6')](_0x5b558c[_0x32e6('0xc2')])){var _0x297394=_0x5b558c[_0x32e6('0xc2')]['substring'](_0x5b558c['@odata.type'][_0x32e6('0xac')]('.')+0x1);if(_0x297394===_0x32e6('0xc7')){_0x2109dd[_0x32e6('0xc4')](getBooleanList(_0x1f668c,_0x463fa5,_0x46aab9,_0x3ad9c0[_0x32e6('0xbb')],_0x5b558c[_0x32e6('0xbb')],_0x5aee03));}}});return Promise['all'](_0x2109dd);})[_0x32e6('0x33')](function(_0x2ae05f){_0xf9a6fc=_0x2ae05f[0x0];var _0x10f3b4=[];var _0x2ea9a3=[];_0x2d989c[_0x32e6('0xc1')](function(_0x2f9f6f){if(_0x2f9f6f[_0x32e6('0xc2')]){var _0x10d9b4=_0x2f9f6f['@odata.type'][_0x32e6('0xab')](_0x2f9f6f['@odata.type'][_0x32e6('0xac')]('.')+0x1);if(_0x10d9b4===_0x32e6('0xc8')||_0x10d9b4===_0x32e6('0xc9')||_0x10d9b4===_0x32e6('0xca')||_0x10d9b4===_0x32e6('0xcb')||_0x10d9b4===_0x32e6('0xcc')||_0x10d9b4===_0x32e6('0xcd')||_0x10d9b4==='StatusAttributeMetadata'||_0x10d9b4===_0x32e6('0xce')||_0x10d9b4===_0x32e6('0xcf')||_0x10d9b4===_0x32e6('0xd0')){_0x10f3b4['push'](getInputList(_0x1f668c,_0x463fa5,_0x10d9b4,_0x2ea9a3,_0x3ad9c0[_0x32e6('0xbb')],_0x2f9f6f[_0x32e6('0xbb')],_0x5aee03));}}});return Promise[_0x32e6('0xc5')](_0x10f3b4);})[_0x32e6('0x33')](function(_0x381900){_0x2b43d7=_0x381900[0x0];var _0x300fb3=_0x244d7f[_0x32e6('0xd1')](_0xf9a6fc)[_0x32e6('0xd1')](_0x2b43d7);var _0x26dde4={'count':_0x300fb3['length'],'rows':_0x300fb3};return _0x26dde4;})[_0x32e6('0x33')](respondWithResult(_0x50c01e,null))[_0x32e6('0x26')](function(_0x400a2e){var _0x1e8374=_0x250da0[_0x32e6('0x3f')][_0x32e6('0x1a')]?0x1f4:_0x400a2e[_0x32e6('0xd2')]||0x1f4;logger[_0x32e6('0x21')](_0x400a2e[_0x32e6('0x35')]);delete _0x400a2e['name'];if(_0x1e8374===0x191){_0x1e8374=0x190;}_0x50c01e[_0x32e6('0x28')](_0x1e8374)[_0x32e6('0x37')](_0x250da0[_0x32e6('0x3f')]['test']?{'message':_0x32e6('0xd3'),'statusCode':_0x400a2e['statusCode']}:_0x400a2e);});};function getSelectList(_0x325291,_0x3a4d2b,_0x21d978,_0x39b4a0,_0xff030e,_0x1079ad){var _0x503335={'method':_0x32e6('0xb6'),'uri':_0x325291+_0x32e6('0xbc')+_0x39b4a0+_0x32e6('0xd4')+_0xff030e+_0x32e6('0xd5')+_0x32e6('0xd6'),'headers':{'Authorization':'Bearer\x20'+_0x1079ad,'If-None-Match':null,'OData-Version':_0x32e6('0xb9')},'json':!![]};return rp(_0x503335)['then'](function(_0x1ceeaa){var _0xde8dc0=[];var _0x51271d=_0x1ceeaa[_0x32e6('0xd7')]['Options'];_0x51271d['forEach'](function(_0x50861e){_0xde8dc0[_0x32e6('0xc4')]({'name':_0x50861e[_0x32e6('0xd8')][_0x32e6('0xd9')][_0x32e6('0xd8')],'value':String(_0x50861e[_0x32e6('0xda')])});});var _0x57c7d4={'id':_0x3a4d2b+'_'+_0x1ceeaa[_0x32e6('0xc0')],'name':_0x1ceeaa[_0x32e6('0xdb')][_0x32e6('0xd9')]['Label'],'custom':![],'options':_0xde8dc0};_0x21d978[_0x32e6('0xc4')](_0x57c7d4);return _0x21d978;});}function getBooleanList(_0x4a773d,_0x1daed7,_0x3da20e,_0x14753a,_0x1571b9,_0x3d1308){var _0x1a815f={'method':_0x32e6('0xb6'),'uri':_0x4a773d+_0x32e6('0xbc')+_0x14753a+')/Attributes('+_0x1571b9+_0x32e6('0xdc'),'headers':{'Authorization':_0x32e6('0xb8')+_0x3d1308,'If-None-Match':null,'OData-Version':'4.0'},'json':!![]};return rp(_0x1a815f)[_0x32e6('0x33')](function(_0x5f5480){var _0x14fb90=[];_0x14fb90[_0x32e6('0xc4')]({'name':_0x5f5480[_0x32e6('0xd7')]['TrueOption']['Label'][_0x32e6('0xd9')]['Label'],'value':_0x32e6('0xdd')},{'name':_0x5f5480[_0x32e6('0xd7')]['FalseOption'][_0x32e6('0xd8')][_0x32e6('0xd9')][_0x32e6('0xd8')],'value':_0x32e6('0xde')});var _0x519252={'id':_0x1daed7+'_'+_0x5f5480[_0x32e6('0xc0')],'name':_0x5f5480[_0x32e6('0xdb')]['UserLocalizedLabel'][_0x32e6('0xd8')],'custom':![],'options':_0x14fb90};_0x3da20e[_0x32e6('0xc4')](_0x519252);return _0x3da20e;});}function getInputList(_0x43cd71,_0x59b882,_0x136981,_0x477309,_0x205ba9,_0x4cf6e7,_0x1c6e06){var _0x2888f3={'method':'GET','uri':_0x43cd71+'EntityDefinitions('+_0x205ba9+_0x32e6('0xd4')+_0x4cf6e7+_0x32e6('0xdf')+_0x136981+'?$select=DisplayName,LogicalName','headers':{'Authorization':_0x32e6('0xb8')+_0x1c6e06,'If-None-Match':null,'OData-Version':_0x32e6('0xb9')},'json':!![]};return rp(_0x2888f3)[_0x32e6('0x33')](function(_0x42b515){var _0x1436ed={'id':_0x59b882+'_'+_0x42b515[_0x32e6('0xc0')],'name':_0x42b515[_0x32e6('0xdb')][_0x32e6('0xd9')]?_0x42b515[_0x32e6('0xdb')][_0x32e6('0xd9')][_0x32e6('0xd8')]:_0x42b515['LogicalName'],'custom':![],'options':[]};_0x477309[_0x32e6('0xc4')](_0x1436ed);return _0x477309;});} \ No newline at end of file +var _0xfa02=['merge','options','hasOwnProperty','findOne','AccountId','getSubjects','channel','getDescriptions','Dynamics365Field','Subjects','Descriptions','getFields','incident','Incident','PhoneCall','title','description','customerid','ownerid','caseorigincode','phonenumber','regardingobjectid','directioncode','phonecall_activity_parties','accountidname','actualserviceunits','billedserviceunits','contactidname','contactidyominame','contractdetailidname','contractidname','createdbyexternalpartyyominame','createdbyname','createdbyyominame','customeridtype','customeridyominame','emailaddress','entitlementidname','entityimage_timestamp','entityimage_url','escalatedon','firstresponsebykpiidname','influencescore','kbarticleidname','masteridname','modifiedbyexternalpartyname','modifiedbyexternalpartyyominame','modifiedon','modifiedonbehalfbyyominame','msdyn_incidenttypename','msdyn_iotalertname','numberofchildincidents','overriddencreatedon','owneridname','owneridtype','parentcaseidname','primarycontactidname','primarycontactidyominame','prioritycodename','productserialnumber','resolveby','responseby','responsiblecontactidname','sentimentvalue','slainvokedidname','socialprofileidname','statecode','statuscode','subjectidname','transactioncurrencyidname','traversedpath','utcconversiontimezonecode','versionnumber','concat','username','password','remoteUri','tenantId','clientId','slice','substring','lastIndexOf','format','%s/api/data/v9.0/','POST','https://login.microsoftonline.com/','/oauth2/token','clientSecret','access_token','GET','Bearer\x20','4.0','MetadataId','EntityDefinitions(',')?$select=LogicalName&$expand=Attributes($select=LogicalName)','Attributes','remove','LogicalName','forEach','@odata.type','PicklistAttributeMetadata','push','all','isNil','BooleanAttributeMetadata','StringAttributeMetadata','DoubleAttributeMetadata','BigIntAttributeMetadata','DateTimeAttributeMetadata','StatusAttributeMetadata','EntityNameAttributeMetadata','StateAttributeMetadata','DecimalAttributeMetadata','statusCode','test','Wrong\x20credentials',')/Attributes(',')/Microsoft.Dynamics.CRM.PicklistAttributeMetadata?','OptionSet','Options','Label','Value','DisplayName',')/Microsoft.Dynamics.CRM.BooleanAttributeMetadata?$select=DisplayName,LogicalName&$expand=OptionSet($select=FalseOption,\x20TrueOption)','TrueOption','UserLocalizedLabel','FalseOption',')/Microsoft.Dynamics.CRM.','?$select=DisplayName,LogicalName','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','mustache','util','sox','ejs','squel','crypto','jsforce','desk.js','to-csv','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/logger','../../config/utils','../../mysqldb','client','Sequelize','ValidationError','The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.','request','then','info','Dynamics365Account,\x20%s,\x20%s','request\x20sent','Dynamics365Account,\x20%s,\x20%s,\x20%s','stringify','error','code','message','result','catch','sendStatus','status','end','json','limit','set','Content-Range','reject','save','update','destroy','stack','name','send','index','Dynamics365Account','rawAttributes','fieldName','key','model','map','query','filters','intersection','fields','attributes','nolimit','offset','order','sort','pick','filter','where','type','count','includeAll','include','findAll','find','create','body','params','getConfigurations','keys','Dynamics365Configuration','length'];(function(_0x22d0c6,_0x1095bb){var _0x32e568=function(_0x160a73){while(--_0x160a73){_0x22d0c6['push'](_0x22d0c6['shift']());}};_0x32e568(++_0x1095bb);}(_0xfa02,0x159));var _0x2fa0=function(_0x540650,_0x4607d1){_0x540650=_0x540650-0x0;var _0x9029f0=_0xfa02[_0x540650];return _0x9029f0;};'use strict';var pdf=require('html-pdf');var emlformat=require(_0x2fa0('0x0'));var rimraf=require(_0x2fa0('0x1'));var zipdir=require(_0x2fa0('0x2'));var jsonpatch=require(_0x2fa0('0x3'));var rp=require(_0x2fa0('0x4'));var moment=require(_0x2fa0('0x5'));var BPromise=require(_0x2fa0('0x6'));var Mustache=require(_0x2fa0('0x7'));var util=require(_0x2fa0('0x8'));var path=require('path');var sox=require(_0x2fa0('0x9'));var csv=require('to-csv');var ejs=require(_0x2fa0('0xa'));var fs=require('fs');var _=require('lodash');var squel=require(_0x2fa0('0xb'));var crypto=require(_0x2fa0('0xc'));var jsforce=require(_0x2fa0('0xd'));var deskjs=require(_0x2fa0('0xe'));var toCsv=require(_0x2fa0('0xf'));var querystring=require(_0x2fa0('0x10'));var Papa=require(_0x2fa0('0x11'));var Redis=require(_0x2fa0('0x12'));var authService=require(_0x2fa0('0x13'));var qs=require(_0x2fa0('0x14'));var as=require(_0x2fa0('0x15'));var hardwareService=require('../../config/license/hardware');var logger=require(_0x2fa0('0x16'))('api');var utils=require(_0x2fa0('0x17'));var config=require('../../config/environment');var db=require(_0x2fa0('0x18'))['db'];var integrations=require('../../components/integrations/configuration');var jayson=require('jayson/promise');var client=jayson[_0x2fa0('0x19')]['http']({'port':0x232a});function checkPasswordPattern(_0x1a62e2,_0x122ce6,_0x557541){if(_0x557541){var _0x1b1915=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0x1b1915['test'](_0x122ce6)){return _0x1a62e2;}else{throw new db[(_0x2fa0('0x1a'))][(_0x2fa0('0x1b'))](_0x2fa0('0x1c'));}}else{return _0x1a62e2;}}function respondWithRpcPromise(_0x1e1f35,_0x16bab2,_0x4d80ac,_0x1a0bff){return new BPromise(function(_0x147552,_0x35dc9a){var _0xd914e4=_0x1a0bff||client;return _0xd914e4[_0x2fa0('0x1d')](_0x1e1f35,_0x4d80ac)[_0x2fa0('0x1e')](function(_0x425feb){logger[_0x2fa0('0x1f')](_0x2fa0('0x20'),_0x16bab2,_0x2fa0('0x21'));logger['debug'](_0x2fa0('0x22'),_0x16bab2,_0x2fa0('0x21'),JSON[_0x2fa0('0x23')](_0x425feb));if(_0x425feb[_0x2fa0('0x24')]){if(_0x425feb[_0x2fa0('0x24')][_0x2fa0('0x25')]===0x1f4){logger[_0x2fa0('0x24')]('Dynamics365Account,\x20%s,\x20%s',_0x16bab2,_0x425feb[_0x2fa0('0x24')][_0x2fa0('0x26')]);return _0x35dc9a(_0x425feb[_0x2fa0('0x24')][_0x2fa0('0x26')]);}logger[_0x2fa0('0x24')](_0x2fa0('0x20'),_0x16bab2,_0x425feb['error'][_0x2fa0('0x26')]);return _0x147552(_0x425feb[_0x2fa0('0x24')][_0x2fa0('0x26')]);}else{logger[_0x2fa0('0x1f')](_0x2fa0('0x20'),_0x16bab2,_0x2fa0('0x21'));_0x147552(_0x425feb[_0x2fa0('0x27')][_0x2fa0('0x26')]);}})[_0x2fa0('0x28')](function(_0x5f21e2){logger[_0x2fa0('0x24')](_0x2fa0('0x20'),_0x16bab2,_0x5f21e2);_0x35dc9a(_0x5f21e2);});});}function respondWithStatusCode(_0x3b15f8,_0x15f869){_0x15f869=_0x15f869||0xcc;return function(_0x4e6954){if(_0x4e6954){return _0x3b15f8[_0x2fa0('0x29')](_0x15f869);}return _0x3b15f8[_0x2fa0('0x2a')](_0x15f869)[_0x2fa0('0x2b')]();};}function respondWithResult(_0x2027a9,_0x32fa1c){_0x32fa1c=_0x32fa1c||0xc8;return function(_0x12837c){if(_0x12837c){return _0x2027a9[_0x2fa0('0x2a')](_0x32fa1c)[_0x2fa0('0x2c')](_0x12837c);}};}function respondWithFilteredResult(_0x2d52de,_0x550f7d){return function(_0x39ea96){if(_0x39ea96){var _0xe487e9=_0x39ea96['count'],_0x1b0340=_0x550f7d['offset'],_0x446dc=_0x550f7d['offset']+_0x550f7d[_0x2fa0('0x2d')],_0x4870c9;if(_0x446dc>=_0xe487e9){_0x446dc=_0xe487e9;_0x4870c9=0xc8;}else{_0x4870c9=0xce;}_0x2d52de[_0x2fa0('0x2a')](_0x4870c9);return _0x2d52de[_0x2fa0('0x2e')](_0x2fa0('0x2f'),_0x1b0340+'-'+_0x446dc+'/'+_0xe487e9)[_0x2fa0('0x2c')](_0x39ea96);}return null;};}function patchUpdates(_0x40da57){return function(_0xaf9320){try{jsonpatch['apply'](_0xaf9320,_0x40da57,!![]);}catch(_0x3e274b){return BPromise[_0x2fa0('0x30')](_0x3e274b);}return _0xaf9320[_0x2fa0('0x31')]();};}function saveUpdates(_0x1b3f99,_0x56d355){return function(_0x46619c){if(_0x46619c){return _0x46619c[_0x2fa0('0x32')](_0x1b3f99)[_0x2fa0('0x1e')](function(_0x15e956){return _0x15e956;});}return null;};}function removeEntity(_0x371c3b,_0xa447a0){return function(_0x1324e3){if(_0x1324e3){return _0x1324e3[_0x2fa0('0x33')]()[_0x2fa0('0x1e')](function(){_0x371c3b['status'](0xcc)['end']();});}};}function handleEntityNotFound(_0x1710e3,_0x12d8ee){return function(_0xd5d08c){if(!_0xd5d08c){_0x1710e3[_0x2fa0('0x29')](0x194);}return _0xd5d08c;};}function handleError(_0x590caa,_0x2632d9){_0x2632d9=_0x2632d9||0x1f4;return function(_0x38b5e2){logger[_0x2fa0('0x24')](_0x38b5e2[_0x2fa0('0x34')]);if(_0x38b5e2[_0x2fa0('0x35')]){delete _0x38b5e2[_0x2fa0('0x35')];}_0x590caa['status'](_0x2632d9)[_0x2fa0('0x36')](_0x38b5e2);};}exports[_0x2fa0('0x37')]=function(_0x456d7b,_0x32342f){var _0x5df2af={},_0x790071={},_0x777d4a={'count':0x0,'rows':[]};var _0x3fcc81=_['map'](db[_0x2fa0('0x38')][_0x2fa0('0x39')],function(_0x1e5ed0){return{'name':_0x1e5ed0[_0x2fa0('0x3a')],'type':_0x1e5ed0['type'][_0x2fa0('0x3b')]};});_0x790071[_0x2fa0('0x3c')]=_[_0x2fa0('0x3d')](_0x3fcc81,'name');_0x790071[_0x2fa0('0x3e')]=_['keys'](_0x456d7b['query']);_0x790071[_0x2fa0('0x3f')]=_[_0x2fa0('0x40')](_0x790071[_0x2fa0('0x3c')],_0x790071[_0x2fa0('0x3e')]);_0x5df2af['attributes']=_[_0x2fa0('0x40')](_0x790071[_0x2fa0('0x3c')],qs[_0x2fa0('0x41')](_0x456d7b[_0x2fa0('0x3e')][_0x2fa0('0x41')]));_0x5df2af[_0x2fa0('0x42')]=_0x5df2af[_0x2fa0('0x42')]['length']?_0x5df2af[_0x2fa0('0x42')]:_0x790071[_0x2fa0('0x3c')];if(!_0x456d7b[_0x2fa0('0x3e')]['hasOwnProperty'](_0x2fa0('0x43'))){_0x5df2af[_0x2fa0('0x2d')]=qs[_0x2fa0('0x2d')](_0x456d7b['query'][_0x2fa0('0x2d')]);_0x5df2af[_0x2fa0('0x44')]=qs[_0x2fa0('0x44')](_0x456d7b['query'][_0x2fa0('0x44')]);}_0x5df2af[_0x2fa0('0x45')]=qs[_0x2fa0('0x46')](_0x456d7b['query']['sort']);_0x5df2af['where']=qs[_0x2fa0('0x3f')](_[_0x2fa0('0x47')](_0x456d7b[_0x2fa0('0x3e')],_0x790071[_0x2fa0('0x3f')]),_0x3fcc81);if(_0x456d7b[_0x2fa0('0x3e')][_0x2fa0('0x48')]){_0x5df2af[_0x2fa0('0x49')]=_['merge'](_0x5df2af[_0x2fa0('0x49')],{'$or':_['map'](_0x3fcc81,function(_0x4c4a91){if(_0x4c4a91[_0x2fa0('0x4a')]!=='VIRTUAL'){var _0x237fca={};_0x237fca[_0x4c4a91[_0x2fa0('0x35')]]={'$like':'%'+_0x456d7b['query'][_0x2fa0('0x48')]+'%'};return _0x237fca;}})});}_0x5df2af=_['merge']({},_0x5df2af,_0x456d7b['options']);var _0x3483be={'where':_0x5df2af['where']};return db[_0x2fa0('0x38')][_0x2fa0('0x4b')](_0x3483be)[_0x2fa0('0x1e')](function(_0x441d1e){_0x777d4a['count']=_0x441d1e;if(_0x456d7b['query'][_0x2fa0('0x4c')]){_0x5df2af[_0x2fa0('0x4d')]=[{'all':!![]}];}return db['Dynamics365Account'][_0x2fa0('0x4e')](_0x5df2af);})[_0x2fa0('0x1e')](function(_0x21104e){_0x777d4a['rows']=_0x21104e;return _0x777d4a;})['then'](respondWithFilteredResult(_0x32342f,_0x5df2af))[_0x2fa0('0x28')](handleError(_0x32342f,null));};exports['show']=function(_0x5477e7,_0xe99332){var _0x4e9a23={'raw':![],'where':{'id':_0x5477e7['params']['id']}},_0x44c3ff={};_0x44c3ff[_0x2fa0('0x3c')]=_['keys'](db[_0x2fa0('0x38')]['rawAttributes']);_0x44c3ff[_0x2fa0('0x3e')]=_['keys'](_0x5477e7['query']);_0x44c3ff['filters']=_['intersection'](_0x44c3ff[_0x2fa0('0x3c')],_0x44c3ff[_0x2fa0('0x3e')]);_0x4e9a23[_0x2fa0('0x42')]=_[_0x2fa0('0x40')](_0x44c3ff[_0x2fa0('0x3c')],qs[_0x2fa0('0x41')](_0x5477e7[_0x2fa0('0x3e')][_0x2fa0('0x41')]));_0x4e9a23['attributes']=_0x4e9a23[_0x2fa0('0x42')]['length']?_0x4e9a23[_0x2fa0('0x42')]:_0x44c3ff['model'];if(_0x5477e7[_0x2fa0('0x3e')][_0x2fa0('0x4c')]){_0x4e9a23['include']=[{'all':!![]}];}_0x4e9a23=_['merge']({},_0x4e9a23,_0x5477e7['options']);return db['Dynamics365Account'][_0x2fa0('0x4f')](_0x4e9a23)[_0x2fa0('0x1e')](handleEntityNotFound(_0xe99332,null))[_0x2fa0('0x1e')](respondWithResult(_0xe99332,null))[_0x2fa0('0x28')](handleError(_0xe99332,null));};exports[_0x2fa0('0x50')]=function(_0x2bdb55,_0x1512b1){return db[_0x2fa0('0x38')][_0x2fa0('0x50')](_0x2bdb55[_0x2fa0('0x51')],{})[_0x2fa0('0x1e')](respondWithResult(_0x1512b1,0xc9))['catch'](handleError(_0x1512b1,null));};exports[_0x2fa0('0x32')]=function(_0x260249,_0x1bb68d){if(_0x260249['body']['id']){delete _0x260249[_0x2fa0('0x51')]['id'];}return db[_0x2fa0('0x38')][_0x2fa0('0x4f')]({'where':{'id':_0x260249[_0x2fa0('0x52')]['id']}})[_0x2fa0('0x1e')](handleEntityNotFound(_0x1bb68d,null))['then'](saveUpdates(_0x260249[_0x2fa0('0x51')],null))[_0x2fa0('0x1e')](respondWithResult(_0x1bb68d,null))[_0x2fa0('0x28')](handleError(_0x1bb68d,null));};exports[_0x2fa0('0x33')]=function(_0xdf9b33,_0x3a9f4a){return db['Dynamics365Account'][_0x2fa0('0x4f')]({'where':{'id':_0xdf9b33[_0x2fa0('0x52')]['id']}})[_0x2fa0('0x1e')](handleEntityNotFound(_0x3a9f4a,null))[_0x2fa0('0x1e')](removeEntity(_0x3a9f4a,null))[_0x2fa0('0x28')](handleError(_0x3a9f4a,null));};exports[_0x2fa0('0x53')]=function(_0x39a762,_0x2b32df,_0x207752){var _0x21fb9d={};var _0x1e8f1a={};var _0x224c90;var _0x18067e;return db[_0x2fa0('0x38')]['findOne']({'where':{'id':_0x39a762['params']['id']}})['then'](handleEntityNotFound(_0x2b32df,null))['then'](function(_0x3b8f79){if(_0x3b8f79){_0x224c90=_0x3b8f79;_0x1e8f1a['model']=_[_0x2fa0('0x54')](db[_0x2fa0('0x55')]['rawAttributes']);_0x1e8f1a[_0x2fa0('0x3e')]=_[_0x2fa0('0x54')](_0x39a762['query']);_0x1e8f1a[_0x2fa0('0x3f')]=_[_0x2fa0('0x40')](_0x1e8f1a['model'],_0x1e8f1a[_0x2fa0('0x3e')]);_0x21fb9d['attributes']=_['intersection'](_0x1e8f1a[_0x2fa0('0x3c')],qs['fields'](_0x39a762['query']['fields']));_0x21fb9d[_0x2fa0('0x42')]=_0x21fb9d[_0x2fa0('0x42')][_0x2fa0('0x56')]?_0x21fb9d[_0x2fa0('0x42')]:_0x1e8f1a[_0x2fa0('0x3c')];_0x21fb9d[_0x2fa0('0x45')]=qs['sort'](_0x39a762[_0x2fa0('0x3e')][_0x2fa0('0x46')]);_0x21fb9d[_0x2fa0('0x49')]=qs[_0x2fa0('0x3f')](_[_0x2fa0('0x47')](_0x39a762['query'],_0x1e8f1a[_0x2fa0('0x3f')]));if(_0x39a762[_0x2fa0('0x3e')][_0x2fa0('0x48')]){_0x21fb9d['where']=_[_0x2fa0('0x57')](_0x21fb9d[_0x2fa0('0x49')],{'$or':_[_0x2fa0('0x3d')](_0x21fb9d[_0x2fa0('0x42')],function(_0x31de5b){var _0x13fe80={};_0x13fe80[_0x31de5b]={'$like':'%'+_0x39a762[_0x2fa0('0x3e')][_0x2fa0('0x48')]+'%'};return _0x13fe80;})});}_0x21fb9d=_['merge']({},_0x21fb9d,_0x39a762[_0x2fa0('0x58')]);return _0x224c90[_0x2fa0('0x53')](_0x21fb9d);}})['then'](function(_0x4c4152){if(_0x4c4152){_0x18067e=_0x4c4152[_0x2fa0('0x56')];if(!_0x39a762[_0x2fa0('0x3e')][_0x2fa0('0x59')](_0x2fa0('0x43'))){_0x21fb9d[_0x2fa0('0x2d')]=qs[_0x2fa0('0x2d')](_0x39a762[_0x2fa0('0x3e')][_0x2fa0('0x2d')]);_0x21fb9d[_0x2fa0('0x44')]=qs[_0x2fa0('0x44')](_0x39a762[_0x2fa0('0x3e')][_0x2fa0('0x44')]);}return _0x224c90[_0x2fa0('0x53')](_0x21fb9d);}})[_0x2fa0('0x1e')](function(_0x267a00){if(_0x267a00){return _0x267a00?{'count':_0x18067e,'rows':_0x267a00}:null;}})[_0x2fa0('0x1e')](respondWithResult(_0x2b32df,null))[_0x2fa0('0x28')](handleError(_0x2b32df,null));};exports['addConfiguration']=function(_0x112e9c,_0x35fefb,_0x159e82){if(_0x112e9c[_0x2fa0('0x51')]['id']){delete _0x112e9c[_0x2fa0('0x51')]['id'];}return db[_0x2fa0('0x38')][_0x2fa0('0x5a')]({'where':{'id':_0x112e9c[_0x2fa0('0x52')]['id']}})[_0x2fa0('0x1e')](handleEntityNotFound(_0x35fefb,null))[_0x2fa0('0x1e')](function(_0x15045c){if(_0x15045c){_0x112e9c[_0x2fa0('0x51')][_0x2fa0('0x5b')]=_0x15045c['id'];_0x112e9c[_0x2fa0('0x51')]['Subjects']=integrations[_0x2fa0('0x5c')](_0x112e9c['body'][_0x2fa0('0x5d')],_0x112e9c[_0x2fa0('0x51')]['type']);_0x112e9c[_0x2fa0('0x51')]['Descriptions']=integrations[_0x2fa0('0x5e')](_0x112e9c[_0x2fa0('0x51')][_0x2fa0('0x5d')],_0x112e9c[_0x2fa0('0x51')][_0x2fa0('0x4a')]);return db['Dynamics365Configuration'][_0x2fa0('0x50')](_0x112e9c[_0x2fa0('0x51')],{'include':[{'model':db[_0x2fa0('0x5f')],'as':_0x2fa0('0x60')},{'model':db[_0x2fa0('0x5f')],'as':_0x2fa0('0x61')}]});}return null;})[_0x2fa0('0x1e')](respondWithResult(_0x35fefb,null))[_0x2fa0('0x28')](handleError(_0x35fefb,null));};exports[_0x2fa0('0x62')]=function(_0x4b3d4f,_0x403f65,_0x193957){var _0x5cf485=_0x4b3d4f[_0x2fa0('0x3e')]['ticketType'];var _0x2dbb75=_0x5cf485===_0x2fa0('0x63')?_0x2fa0('0x64'):_0x2fa0('0x65');var _0xe46ee9='';var _0x15ad59='';var _0x2bf19c='';var _0x25497d='';var _0x126434='';var _0x35ccd0='';var _0x29fbac='';var _0x58c2a5='';var _0x46f48e=[_0x2fa0('0x66'),_0x2fa0('0x67'),_0x2fa0('0x68'),_0x2fa0('0x69'),_0x2fa0('0x6a'),'subject',_0x2fa0('0x6b'),_0x2fa0('0x6c'),_0x2fa0('0x6d'),_0x2fa0('0x6e')];var _0x4d70a9=[_0x2fa0('0x6f'),'accountidyominame',_0x2fa0('0x70'),_0x2fa0('0x71'),_0x2fa0('0x72'),_0x2fa0('0x73'),_0x2fa0('0x74'),_0x2fa0('0x75'),'createdbyexternalpartyname',_0x2fa0('0x76'),_0x2fa0('0x77'),_0x2fa0('0x78'),'createdon','createdonbehalfbyname','createdonbehalfbyyominame','customeridname',_0x2fa0('0x79'),_0x2fa0('0x7a'),_0x2fa0('0x7b'),_0x2fa0('0x7c'),_0x2fa0('0x7d'),_0x2fa0('0x7e'),_0x2fa0('0x7f'),'exchangerate',_0x2fa0('0x80'),'followupby','importsequencenumber',_0x2fa0('0x81'),_0x2fa0('0x82'),'lastonholdtime',_0x2fa0('0x83'),_0x2fa0('0x84'),_0x2fa0('0x85'),'modifiedbyname','modifiedbyyominame',_0x2fa0('0x86'),'modifiedonbehalfbyname',_0x2fa0('0x87'),_0x2fa0('0x88'),_0x2fa0('0x89'),_0x2fa0('0x8a'),'onholdtime',_0x2fa0('0x8b'),_0x2fa0('0x8c'),_0x2fa0('0x8d'),'owneridyominame',_0x2fa0('0x8e'),_0x2fa0('0x8f'),_0x2fa0('0x90'),_0x2fa0('0x91'),'productidname',_0x2fa0('0x92'),_0x2fa0('0x93'),'resolvebykpiidname',_0x2fa0('0x94'),_0x2fa0('0x95'),'responsiblecontactidyominame',_0x2fa0('0x96'),_0x2fa0('0x97'),'slaname',_0x2fa0('0x98'),_0x2fa0('0x99'),_0x2fa0('0x9a'),_0x2fa0('0x9b'),'ticketnumber','timezoneruleversionnumber',_0x2fa0('0x9c'),_0x2fa0('0x9d'),_0x2fa0('0x9e'),_0x2fa0('0x9f')];var _0x211d97=_0x46f48e[_0x2fa0('0xa0')](_0x4d70a9);return db[_0x2fa0('0x38')][_0x2fa0('0x5a')]({'where':{'id':_0x4b3d4f[_0x2fa0('0x52')]['id']},'attributes':['id',_0x2fa0('0xa1'),_0x2fa0('0xa2'),_0x2fa0('0xa3'),_0x2fa0('0xa4'),_0x2fa0('0xa5'),'clientSecret']})[_0x2fa0('0x1e')](handleEntityNotFound(_0x403f65,null))[_0x2fa0('0x1e')](function(_0x18dcf2){if(_0x18dcf2){_0x58c2a5=_0x18dcf2['remoteUri'];var _0x4d7484=_0x58c2a5[_0x2fa0('0xa6')](-0x1);if(_0x4d7484==='/'){_0x58c2a5=_0x58c2a5[_0x2fa0('0xa7')](0x0,_0x58c2a5[_0x2fa0('0xa8')](_0x4d7484));}_0x29fbac=util[_0x2fa0('0xa9')](_0x2fa0('0xaa'),_0x58c2a5);var _0x4edfe4={'method':_0x2fa0('0xab'),'uri':_0x2fa0('0xac')+_0x18dcf2[_0x2fa0('0xa4')]+_0x2fa0('0xad'),'form':{'client_id':_0x18dcf2['clientId'],'resource':_0x58c2a5,'username':_0x18dcf2[_0x2fa0('0xa1')],'password':_0x18dcf2['password'],'grant_type':_0x2fa0('0xa2'),'client_secret':_0x18dcf2[_0x2fa0('0xae')]},'json':!![]};return rp(_0x4edfe4);}})[_0x2fa0('0x1e')](function(_0x2e5c94){_0x35ccd0=_0x2e5c94[_0x2fa0('0xaf')];var _0x180c5b={'method':_0x2fa0('0xb0'),'uri':encodeURI(_0x29fbac+'EntityDefinitions?$select=DisplayName,EntitySetName&$filter=SchemaName\x20eq\x20\x27'+_0x2dbb75+'\x27'),'headers':{'Authorization':_0x2fa0('0xb1')+_0x35ccd0,'If-None-Match':null,'OData-Version':_0x2fa0('0xb2')},'json':!![]};return rp(_0x180c5b);})[_0x2fa0('0x1e')](function(_0x3e7866){var _0x30c57d=_0x3e7866['value'][0x0];var _0x3e75af=_0x30c57d[_0x2fa0('0xb3')];var _0xfc79aa={'method':_0x2fa0('0xb0'),'uri':_0x29fbac+_0x2fa0('0xb4')+_0x3e75af+_0x2fa0('0xb5'),'headers':{'Authorization':_0x2fa0('0xb1')+_0x35ccd0,'If-None-Match':null,'OData-Version':_0x2fa0('0xb2')},'json':!![]};return rp(_0xfc79aa);})[_0x2fa0('0x1e')](function(_0x5d267f){_0xe46ee9=_0x5d267f;_0x15ad59=_0xe46ee9[_0x2fa0('0xb6')];_0x15ad59=_[_0x2fa0('0xb7')](_0x15ad59,function(_0x472e41){return!_0x211d97['includes'](_0x472e41[_0x2fa0('0xb8')]);});var _0x17794a=[];var _0x379452=[];_0x15ad59[_0x2fa0('0xb9')](function(_0x78d19e){if(_0x78d19e[_0x2fa0('0xba')]){var _0x11d58f=_0x78d19e[_0x2fa0('0xba')]['substring'](_0x78d19e[_0x2fa0('0xba')]['lastIndexOf']('.')+0x1);if(_0x11d58f===_0x2fa0('0xbb')){_0x17794a[_0x2fa0('0xbc')](getSelectList(_0x29fbac,_0x5cf485,_0x379452,_0xe46ee9['MetadataId'],_0x78d19e[_0x2fa0('0xb3')],_0x35ccd0));}}});return Promise[_0x2fa0('0xbd')](_0x17794a);})[_0x2fa0('0x1e')](function(_0x2bb472){_0x2bf19c=_0x2bb472[0x0];var _0x168c8d=[];var _0x29dce2=[];_0x15ad59[_0x2fa0('0xb9')](function(_0x327cc8){if(!_[_0x2fa0('0xbe')](_0x327cc8[_0x2fa0('0xba')])){var _0x3e3d42=_0x327cc8[_0x2fa0('0xba')][_0x2fa0('0xa7')](_0x327cc8[_0x2fa0('0xba')]['lastIndexOf']('.')+0x1);if(_0x3e3d42===_0x2fa0('0xbf')){_0x168c8d[_0x2fa0('0xbc')](getBooleanList(_0x29fbac,_0x5cf485,_0x29dce2,_0xe46ee9[_0x2fa0('0xb3')],_0x327cc8['MetadataId'],_0x35ccd0));}}});return Promise[_0x2fa0('0xbd')](_0x168c8d);})['then'](function(_0x29be93){_0x25497d=_0x29be93[0x0];var _0x401739=[];var _0x20502d=[];_0x15ad59[_0x2fa0('0xb9')](function(_0x47da07){if(_0x47da07[_0x2fa0('0xba')]){var _0x7c2b0=_0x47da07[_0x2fa0('0xba')][_0x2fa0('0xa7')](_0x47da07['@odata.type'][_0x2fa0('0xa8')]('.')+0x1);if(_0x7c2b0===_0x2fa0('0xc0')||_0x7c2b0===_0x2fa0('0xc1')||_0x7c2b0===_0x2fa0('0xc2')||_0x7c2b0==='IntegerAttributeMetadata'||_0x7c2b0==='MemoAttributeMetadata'||_0x7c2b0===_0x2fa0('0xc3')||_0x7c2b0===_0x2fa0('0xc4')||_0x7c2b0===_0x2fa0('0xc5')||_0x7c2b0===_0x2fa0('0xc6')||_0x7c2b0===_0x2fa0('0xc7')){_0x401739[_0x2fa0('0xbc')](getInputList(_0x29fbac,_0x5cf485,_0x7c2b0,_0x20502d,_0xe46ee9['MetadataId'],_0x47da07['MetadataId'],_0x35ccd0));}}});return Promise['all'](_0x401739);})[_0x2fa0('0x1e')](function(_0x243069){_0x126434=_0x243069[0x0];var _0x424079=_0x2bf19c[_0x2fa0('0xa0')](_0x25497d)[_0x2fa0('0xa0')](_0x126434);var _0x48d348={'count':_0x424079[_0x2fa0('0x56')],'rows':_0x424079};return _0x48d348;})[_0x2fa0('0x1e')](respondWithResult(_0x403f65,null))['catch'](function(_0x25a4c5){var _0x49e61f=_0x4b3d4f[_0x2fa0('0x3e')]['test']?0x1f4:_0x25a4c5[_0x2fa0('0xc8')]||0x1f4;logger[_0x2fa0('0x24')](_0x25a4c5[_0x2fa0('0x34')]);delete _0x25a4c5[_0x2fa0('0x35')];if(_0x49e61f===0x191){_0x49e61f=0x190;}_0x403f65[_0x2fa0('0x2a')](_0x49e61f)[_0x2fa0('0x36')](_0x4b3d4f[_0x2fa0('0x3e')][_0x2fa0('0xc9')]?{'message':_0x2fa0('0xca'),'statusCode':_0x25a4c5[_0x2fa0('0xc8')]}:_0x25a4c5);});};function getSelectList(_0x53a0c5,_0x48cca1,_0x5c64d6,_0x15d43f,_0x5cf532,_0x20e8f1){var _0x423e26={'method':_0x2fa0('0xb0'),'uri':_0x53a0c5+_0x2fa0('0xb4')+_0x15d43f+_0x2fa0('0xcb')+_0x5cf532+_0x2fa0('0xcc')+'$select=DisplayName,LogicalName&$expand=OptionSet($select=Options)','headers':{'Authorization':_0x2fa0('0xb1')+_0x20e8f1,'If-None-Match':null,'OData-Version':_0x2fa0('0xb2')},'json':!![]};return rp(_0x423e26)[_0x2fa0('0x1e')](function(_0x2647be){var _0x131919=[];var _0x5547bb=_0x2647be[_0x2fa0('0xcd')][_0x2fa0('0xce')];_0x5547bb['forEach'](function(_0xbc10a5){_0x131919[_0x2fa0('0xbc')]({'name':_0xbc10a5['Label']['UserLocalizedLabel'][_0x2fa0('0xcf')],'value':String(_0xbc10a5[_0x2fa0('0xd0')])});});var _0x41df72={'id':_0x48cca1+'_'+_0x2647be['LogicalName'],'name':_0x2647be[_0x2fa0('0xd1')]['UserLocalizedLabel'][_0x2fa0('0xcf')],'custom':![],'options':_0x131919};_0x5c64d6[_0x2fa0('0xbc')](_0x41df72);return _0x5c64d6;});}function getBooleanList(_0x295bc5,_0x35d001,_0x2a03cc,_0x3f8141,_0x452be1,_0x16496b){var _0x3c3460={'method':'GET','uri':_0x295bc5+_0x2fa0('0xb4')+_0x3f8141+')/Attributes('+_0x452be1+_0x2fa0('0xd2'),'headers':{'Authorization':_0x2fa0('0xb1')+_0x16496b,'If-None-Match':null,'OData-Version':'4.0'},'json':!![]};return rp(_0x3c3460)[_0x2fa0('0x1e')](function(_0x29496f){var _0xf7bf08=[];_0xf7bf08[_0x2fa0('0xbc')]({'name':_0x29496f[_0x2fa0('0xcd')][_0x2fa0('0xd3')][_0x2fa0('0xcf')][_0x2fa0('0xd4')][_0x2fa0('0xcf')],'value':'true'},{'name':_0x29496f['OptionSet'][_0x2fa0('0xd5')][_0x2fa0('0xcf')][_0x2fa0('0xd4')][_0x2fa0('0xcf')],'value':'false'});var _0x490b7d={'id':_0x35d001+'_'+_0x29496f['LogicalName'],'name':_0x29496f[_0x2fa0('0xd1')]['UserLocalizedLabel'][_0x2fa0('0xcf')],'custom':![],'options':_0xf7bf08};_0x2a03cc[_0x2fa0('0xbc')](_0x490b7d);return _0x2a03cc;});}function getInputList(_0x161cd0,_0x4705ac,_0x2f59e3,_0x880402,_0xd5446f,_0x8420e9,_0x63be19){var _0x354dc4={'method':'GET','uri':_0x161cd0+_0x2fa0('0xb4')+_0xd5446f+_0x2fa0('0xcb')+_0x8420e9+_0x2fa0('0xd6')+_0x2f59e3+_0x2fa0('0xd7'),'headers':{'Authorization':_0x2fa0('0xb1')+_0x63be19,'If-None-Match':null,'OData-Version':_0x2fa0('0xb2')},'json':!![]};return rp(_0x354dc4)['then'](function(_0x3e2a13){var _0x581614={'id':_0x4705ac+'_'+_0x3e2a13[_0x2fa0('0xb8')],'name':_0x3e2a13[_0x2fa0('0xd1')][_0x2fa0('0xd4')]?_0x3e2a13[_0x2fa0('0xd1')][_0x2fa0('0xd4')][_0x2fa0('0xcf')]:_0x3e2a13['LogicalName'],'custom':![],'options':[]};_0x880402[_0x2fa0('0xbc')](_0x581614);return _0x880402;});} \ No newline at end of file diff --git a/server/api/intDynamics365Account/intDynamics365Account.model.js b/server/api/intDynamics365Account/intDynamics365Account.model.js index e41c7cd..6274472 100644 --- a/server/api/intDynamics365Account/intDynamics365Account.model.js +++ b/server/api/intDynamics365Account/intDynamics365Account.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xe74a=['./intDynamics365Account.attributes','../../components/integrations/configuration','exports','define','int_dynamics365_accounts','lodash','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment'];(function(_0x5b8d0e,_0xae087d){var _0x3fb685=function(_0x1647bc){while(--_0x1647bc){_0x5b8d0e['push'](_0x5b8d0e['shift']());}};_0x3fb685(++_0xae087d);}(_0xe74a,0xf3));var _0xae74=function(_0x1155e6,_0x233e73){_0x1155e6=_0x1155e6-0x0;var _0x35dd79=_0xe74a[_0x1155e6];return _0x35dd79;};'use strict';var _=require(_0xae74('0x0'));var util=require('util');var logger=require(_0xae74('0x1'))(_0xae74('0x2'));var moment=require(_0xae74('0x3'));var BPromise=require(_0xae74('0x4'));var rp=require(_0xae74('0x5'));var fs=require('fs');var path=require(_0xae74('0x6'));var rimraf=require(_0xae74('0x7'));var config=require(_0xae74('0x8'));var attributes=require(_0xae74('0x9'));var integrations=require(_0xae74('0xa'));module[_0xae74('0xb')]=function(_0x5009f0,_0x1fb8f4){return _0x5009f0[_0xae74('0xc')]('Dynamics365Account',attributes,{'tableName':_0xae74('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0x0b21=['lodash','../../config/logger','moment','rimraf','../../config/environment','./intDynamics365Account.attributes','define','int_dynamics365_accounts'];(function(_0x2520d3,_0x4dd87d){var _0x4e8161=function(_0x516b08){while(--_0x516b08){_0x2520d3['push'](_0x2520d3['shift']());}};_0x4e8161(++_0x4dd87d);}(_0x0b21,0x158));var _0x10b2=function(_0x3adbaf,_0x40c333){_0x3adbaf=_0x3adbaf-0x0;var _0x3fb325=_0x0b21[_0x3adbaf];return _0x3fb325;};'use strict';var _=require(_0x10b2('0x0'));var util=require('util');var logger=require(_0x10b2('0x1'))('api');var moment=require(_0x10b2('0x2'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x10b2('0x3'));var config=require(_0x10b2('0x4'));var attributes=require(_0x10b2('0x5'));var integrations=require('../../components/integrations/configuration');module['exports']=function(_0x1a3db1,_0x2186f8){return _0x1a3db1[_0x10b2('0x6')]('Dynamics365Account',attributes,{'tableName':_0x10b2('0x7'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/intDynamics365Account/intDynamics365Account.rpc.js b/server/api/intDynamics365Account/intDynamics365Account.rpc.js index 011cdec..2b00137 100644 --- a/server/api/intDynamics365Account/intDynamics365Account.rpc.js +++ b/server/api/intDynamics365Account/intDynamics365Account.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xfa9f=['debug','Dynamics365Account,\x20%s,\x20%s,\x20%s','stringify','error','message','catch','GetDynamics365Account','findAll','options','raw','attributes','limit','include','model','map','ShowDynamics365Account','Dynamics365Account','find','where','util','moment','bluebird','randomstring','ioredis','../../config/utils','rpc','../../config/environment','client','then','info','Dynamics365Account,\x20%s,\x20%s','request\x20sent'];(function(_0x441658,_0x2dafc8){var _0x1296d4=function(_0x4a0023){while(--_0x4a0023){_0x441658['push'](_0x441658['shift']());}};_0x1296d4(++_0x2dafc8);}(_0xfa9f,0x93));var _0xffa9=function(_0x2cfb48,_0x24b83b){_0x2cfb48=_0x2cfb48-0x0;var _0xc4594f=_0xfa9f[_0x2cfb48];return _0xc4594f;};'use strict';var _=require('lodash');var util=require(_0xffa9('0x0'));var moment=require(_0xffa9('0x1'));var BPromise=require(_0xffa9('0x2'));var rs=require(_0xffa9('0x3'));var fs=require('fs');var Redis=require(_0xffa9('0x4'));var db=require('../../mysqldb')['db'];var utils=require(_0xffa9('0x5'));var logger=require('../../config/logger')(_0xffa9('0x6'));var config=require(_0xffa9('0x7'));var jayson=require('jayson/promise');var client=jayson[_0xffa9('0x8')]['http']({'port':0x232a});function respondWithRpcPromise(_0x4948c0,_0x1fe01a,_0x1fe931){return new BPromise(function(_0x249501,_0x13c3d0){return client['request'](_0x4948c0,_0x1fe931)[_0xffa9('0x9')](function(_0x1685c7){logger[_0xffa9('0xa')](_0xffa9('0xb'),_0x1fe01a,_0xffa9('0xc'));logger[_0xffa9('0xd')](_0xffa9('0xe'),_0x1fe01a,_0xffa9('0xc'),JSON[_0xffa9('0xf')](_0x1685c7));if(_0x1685c7[_0xffa9('0x10')]){if(_0x1685c7[_0xffa9('0x10')]['code']===0x1f4){logger[_0xffa9('0x10')](_0xffa9('0xb'),_0x1fe01a,_0x1685c7[_0xffa9('0x10')][_0xffa9('0x11')]);return _0x13c3d0(_0x1685c7[_0xffa9('0x10')][_0xffa9('0x11')]);}logger[_0xffa9('0x10')](_0xffa9('0xb'),_0x1fe01a,_0x1685c7[_0xffa9('0x10')][_0xffa9('0x11')]);return _0x249501(_0x1685c7['error'][_0xffa9('0x11')]);}else{logger['info'](_0xffa9('0xb'),_0x1fe01a,_0xffa9('0xc'));_0x249501(_0x1685c7['result'][_0xffa9('0x11')]);}})[_0xffa9('0x12')](function(_0x1ce6c3){logger['error'](_0xffa9('0xb'),_0x1fe01a,_0x1ce6c3);_0x13c3d0(_0x1ce6c3);});});}exports[_0xffa9('0x13')]=function(_0x3cd552){var _0x2e87a8=this;return new Promise(function(_0x4fbe1c,_0x2ee445){return db['Dynamics365Account'][_0xffa9('0x14')]({'raw':_0x3cd552[_0xffa9('0x15')]?_0x3cd552[_0xffa9('0x15')][_0xffa9('0x16')]===undefined?!![]:![]:!![],'where':_0x3cd552[_0xffa9('0x15')]?_0x3cd552[_0xffa9('0x15')]['where']||null:null,'attributes':_0x3cd552[_0xffa9('0x15')]?_0x3cd552[_0xffa9('0x15')][_0xffa9('0x17')]||null:null,'limit':_0x3cd552[_0xffa9('0x15')]?_0x3cd552[_0xffa9('0x15')][_0xffa9('0x18')]||null:null,'include':_0x3cd552[_0xffa9('0x15')]?_0x3cd552[_0xffa9('0x15')][_0xffa9('0x19')]?_['map'](_0x3cd552['options'][_0xffa9('0x19')],function(_0x19655d){return{'model':db[_0x19655d[_0xffa9('0x1a')]],'as':_0x19655d['as'],'attributes':_0x19655d['attributes'],'include':_0x19655d['include']?_[_0xffa9('0x1b')](_0x19655d[_0xffa9('0x19')],function(_0xb22ae3){return{'model':db[_0xb22ae3['model']],'as':_0xb22ae3['as'],'attributes':_0xb22ae3['attributes'],'include':_0xb22ae3[_0xffa9('0x19')]?_['map'](_0xb22ae3[_0xffa9('0x19')],function(_0x2a2ceb){return{'model':db[_0x2a2ceb[_0xffa9('0x1a')]],'as':_0x2a2ceb['as'],'attributes':_0x2a2ceb[_0xffa9('0x17')]};}):[]};}):[]};}):[]:[]})[_0xffa9('0x9')](function(_0x1aa814){logger[_0xffa9('0xa')]('GetDynamics365Account',_0x3cd552);logger[_0xffa9('0xd')](_0xffa9('0x13'),_0x3cd552,JSON[_0xffa9('0xf')](_0x1aa814));_0x4fbe1c(_0x1aa814);})[_0xffa9('0x12')](function(_0x5ee60d){logger[_0xffa9('0x10')]('GetDynamics365Account',_0x5ee60d['message'],_0x3cd552);_0x2ee445(_0x2e87a8[_0xffa9('0x10')](0x1f4,_0x5ee60d[_0xffa9('0x11')]));});});};exports[_0xffa9('0x1c')]=function(_0x45a8a4){var _0xd353c4=this;return new Promise(function(_0x1a8703,_0x70cf75){return db[_0xffa9('0x1d')][_0xffa9('0x1e')]({'raw':_0x45a8a4['options']?_0x45a8a4[_0xffa9('0x15')][_0xffa9('0x16')]===undefined?!![]:![]:!![],'where':_0x45a8a4[_0xffa9('0x15')]?_0x45a8a4['options'][_0xffa9('0x1f')]||null:null,'attributes':_0x45a8a4[_0xffa9('0x15')]?_0x45a8a4[_0xffa9('0x15')]['attributes']||null:null,'include':_0x45a8a4[_0xffa9('0x15')]?_0x45a8a4[_0xffa9('0x15')][_0xffa9('0x19')]?_['map'](_0x45a8a4[_0xffa9('0x15')]['include'],function(_0x569c27){return{'model':db[_0x569c27[_0xffa9('0x1a')]],'as':_0x569c27['as'],'attributes':_0x569c27['attributes'],'include':_0x569c27[_0xffa9('0x19')]?_[_0xffa9('0x1b')](_0x569c27[_0xffa9('0x19')],function(_0x35babd){return{'model':db[_0x35babd[_0xffa9('0x1a')]],'as':_0x35babd['as'],'attributes':_0x35babd['attributes'],'include':_0x35babd[_0xffa9('0x19')]?_['map'](_0x35babd['include'],function(_0x1fea76){return{'model':db[_0x1fea76['model']],'as':_0x1fea76['as'],'attributes':_0x1fea76[_0xffa9('0x17')]};}):[]};}):[]};}):[]:[]})[_0xffa9('0x9')](function(_0x48a41f){logger['info'](_0xffa9('0x1c'),_0x45a8a4);logger['debug'](_0xffa9('0x1c'),_0x45a8a4,JSON[_0xffa9('0xf')](_0x48a41f));_0x1a8703(_0x48a41f);})['catch'](function(_0x48c479){logger['error']('ShowDynamics365Account',_0x48c479[_0xffa9('0x11')],_0x45a8a4);_0x70cf75(_0xd353c4[_0xffa9('0x10')](0x1f4,_0x48c479[_0xffa9('0x11')]));});});}; \ No newline at end of file +var _0xb96d=['bluebird','ioredis','../../mysqldb','../../config/utils','../../config/environment','jayson/promise','client','http','then','Dynamics365Account,\x20%s,\x20%s','request\x20sent','Dynamics365Account,\x20%s,\x20%s,\x20%s','stringify','error','code','message','info','result','catch','findAll','raw','options','where','include','map','attributes','model','debug','GetDynamics365Account','ShowDynamics365Account','util','moment'];(function(_0x54b46f,_0x4591a1){var _0x427c84=function(_0x3a2bfe){while(--_0x3a2bfe){_0x54b46f['push'](_0x54b46f['shift']());}};_0x427c84(++_0x4591a1);}(_0xb96d,0x9e));var _0xdb96=function(_0x5e36d1,_0x471178){_0x5e36d1=_0x5e36d1-0x0;var _0x950b9e=_0xb96d[_0x5e36d1];return _0x950b9e;};'use strict';var _=require('lodash');var util=require(_0xdb96('0x0'));var moment=require(_0xdb96('0x1'));var BPromise=require(_0xdb96('0x2'));var rs=require('randomstring');var fs=require('fs');var Redis=require(_0xdb96('0x3'));var db=require(_0xdb96('0x4'))['db'];var utils=require(_0xdb96('0x5'));var logger=require('../../config/logger')('rpc');var config=require(_0xdb96('0x6'));var jayson=require(_0xdb96('0x7'));var client=jayson[_0xdb96('0x8')][_0xdb96('0x9')]({'port':0x232a});function respondWithRpcPromise(_0x4f5e6f,_0x294084,_0x571e0e){return new BPromise(function(_0x5e2e95,_0x3384b4){return client['request'](_0x4f5e6f,_0x571e0e)[_0xdb96('0xa')](function(_0xaea492){logger['info'](_0xdb96('0xb'),_0x294084,_0xdb96('0xc'));logger['debug'](_0xdb96('0xd'),_0x294084,_0xdb96('0xc'),JSON[_0xdb96('0xe')](_0xaea492));if(_0xaea492[_0xdb96('0xf')]){if(_0xaea492['error'][_0xdb96('0x10')]===0x1f4){logger[_0xdb96('0xf')](_0xdb96('0xb'),_0x294084,_0xaea492['error'][_0xdb96('0x11')]);return _0x3384b4(_0xaea492[_0xdb96('0xf')][_0xdb96('0x11')]);}logger[_0xdb96('0xf')](_0xdb96('0xb'),_0x294084,_0xaea492[_0xdb96('0xf')][_0xdb96('0x11')]);return _0x5e2e95(_0xaea492[_0xdb96('0xf')][_0xdb96('0x11')]);}else{logger[_0xdb96('0x12')](_0xdb96('0xb'),_0x294084,_0xdb96('0xc'));_0x5e2e95(_0xaea492[_0xdb96('0x13')]['message']);}})[_0xdb96('0x14')](function(_0x2a766e){logger[_0xdb96('0xf')](_0xdb96('0xb'),_0x294084,_0x2a766e);_0x3384b4(_0x2a766e);});});}exports['GetDynamics365Account']=function(_0x27fa8e){var _0x33ec8f=this;return new Promise(function(_0x244f66,_0x5946d5){return db['Dynamics365Account'][_0xdb96('0x15')]({'raw':_0x27fa8e['options']?_0x27fa8e['options'][_0xdb96('0x16')]===undefined?!![]:![]:!![],'where':_0x27fa8e[_0xdb96('0x17')]?_0x27fa8e[_0xdb96('0x17')][_0xdb96('0x18')]||null:null,'attributes':_0x27fa8e['options']?_0x27fa8e[_0xdb96('0x17')]['attributes']||null:null,'limit':_0x27fa8e[_0xdb96('0x17')]?_0x27fa8e[_0xdb96('0x17')]['limit']||null:null,'include':_0x27fa8e[_0xdb96('0x17')]?_0x27fa8e[_0xdb96('0x17')][_0xdb96('0x19')]?_[_0xdb96('0x1a')](_0x27fa8e[_0xdb96('0x17')][_0xdb96('0x19')],function(_0x25834a){return{'model':db[_0x25834a['model']],'as':_0x25834a['as'],'attributes':_0x25834a[_0xdb96('0x1b')],'include':_0x25834a[_0xdb96('0x19')]?_[_0xdb96('0x1a')](_0x25834a['include'],function(_0x302596){return{'model':db[_0x302596[_0xdb96('0x1c')]],'as':_0x302596['as'],'attributes':_0x302596[_0xdb96('0x1b')],'include':_0x302596[_0xdb96('0x19')]?_[_0xdb96('0x1a')](_0x302596[_0xdb96('0x19')],function(_0x1ef903){return{'model':db[_0x1ef903[_0xdb96('0x1c')]],'as':_0x1ef903['as'],'attributes':_0x1ef903[_0xdb96('0x1b')]};}):[]};}):[]};}):[]:[]})['then'](function(_0x3e9c4e){logger[_0xdb96('0x12')]('GetDynamics365Account',_0x27fa8e);logger[_0xdb96('0x1d')](_0xdb96('0x1e'),_0x27fa8e,JSON['stringify'](_0x3e9c4e));_0x244f66(_0x3e9c4e);})[_0xdb96('0x14')](function(_0x118a43){logger[_0xdb96('0xf')](_0xdb96('0x1e'),_0x118a43[_0xdb96('0x11')],_0x27fa8e);_0x5946d5(_0x33ec8f[_0xdb96('0xf')](0x1f4,_0x118a43[_0xdb96('0x11')]));});});};exports['ShowDynamics365Account']=function(_0x37c180){var _0xe1f111=this;return new Promise(function(_0x3d7704,_0x44ae9c){return db['Dynamics365Account']['find']({'raw':_0x37c180[_0xdb96('0x17')]?_0x37c180[_0xdb96('0x17')]['raw']===undefined?!![]:![]:!![],'where':_0x37c180[_0xdb96('0x17')]?_0x37c180['options']['where']||null:null,'attributes':_0x37c180['options']?_0x37c180['options'][_0xdb96('0x1b')]||null:null,'include':_0x37c180['options']?_0x37c180['options'][_0xdb96('0x19')]?_[_0xdb96('0x1a')](_0x37c180[_0xdb96('0x17')][_0xdb96('0x19')],function(_0x4a5933){return{'model':db[_0x4a5933[_0xdb96('0x1c')]],'as':_0x4a5933['as'],'attributes':_0x4a5933[_0xdb96('0x1b')],'include':_0x4a5933[_0xdb96('0x19')]?_[_0xdb96('0x1a')](_0x4a5933[_0xdb96('0x19')],function(_0x5a07de){return{'model':db[_0x5a07de[_0xdb96('0x1c')]],'as':_0x5a07de['as'],'attributes':_0x5a07de[_0xdb96('0x1b')],'include':_0x5a07de[_0xdb96('0x19')]?_[_0xdb96('0x1a')](_0x5a07de[_0xdb96('0x19')],function(_0x5aad1f){return{'model':db[_0x5aad1f[_0xdb96('0x1c')]],'as':_0x5aad1f['as'],'attributes':_0x5aad1f['attributes']};}):[]};}):[]};}):[]:[]})['then'](function(_0x5dff49){logger[_0xdb96('0x12')](_0xdb96('0x1f'),_0x37c180);logger[_0xdb96('0x1d')](_0xdb96('0x1f'),_0x37c180,JSON['stringify'](_0x5dff49));_0x3d7704(_0x5dff49);})[_0xdb96('0x14')](function(_0x496dcf){logger['error'](_0xdb96('0x1f'),_0x496dcf[_0xdb96('0x11')],_0x37c180);_0x44ae9c(_0xe1f111[_0xdb96('0xf')](0x1f4,_0x496dcf[_0xdb96('0x11')]));});});}; \ No newline at end of file diff --git a/server/api/intDynamics365Configuration/index.js b/server/api/intDynamics365Configuration/index.js index b333198..b16ce4b 100644 --- a/server/api/intDynamics365Configuration/index.js +++ b/server/api/intDynamics365Configuration/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x1cf7=['exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./intDynamics365Configuration.controller','get','isAuthenticated','index','/:id/fields','getFields','/:id/subjects','getSubjects','/:id/descriptions','getDescriptions','post','create','/:id','update','delete','destroy'];(function(_0x2dd7d6,_0x54eb41){var _0x1fd228=function(_0x5ad989){while(--_0x5ad989){_0x2dd7d6['push'](_0x2dd7d6['shift']());}};_0x1fd228(++_0x54eb41);}(_0x1cf7,0x187));var _0x71cf=function(_0x40cbc2,_0x398002){_0x40cbc2=_0x40cbc2-0x0;var _0x1fbe22=_0x1cf7[_0x40cbc2];return _0x1fbe22;};'use strict';var multer=require(_0x71cf('0x0'));var util=require(_0x71cf('0x1'));var path=require(_0x71cf('0x2'));var timeout=require(_0x71cf('0x3'));var express=require(_0x71cf('0x4'));var router=express[_0x71cf('0x5')]();var auth=require(_0x71cf('0x6'));var interaction=require(_0x71cf('0x7'));var config=require(_0x71cf('0x8'));var controller=require(_0x71cf('0x9'));router[_0x71cf('0xa')]('/',auth[_0x71cf('0xb')](),controller[_0x71cf('0xc')]);router[_0x71cf('0xa')]('/:id',auth['isAuthenticated'](),controller['show']);router[_0x71cf('0xa')](_0x71cf('0xd'),auth[_0x71cf('0xb')](),controller[_0x71cf('0xe')]);router[_0x71cf('0xa')](_0x71cf('0xf'),auth[_0x71cf('0xb')](),controller[_0x71cf('0x10')]);router[_0x71cf('0xa')](_0x71cf('0x11'),auth[_0x71cf('0xb')](),controller[_0x71cf('0x12')]);router[_0x71cf('0x13')]('/',auth[_0x71cf('0xb')](),controller[_0x71cf('0x14')]);router['put'](_0x71cf('0x15'),auth[_0x71cf('0xb')](),controller[_0x71cf('0x16')]);router[_0x71cf('0x17')](_0x71cf('0x15'),auth[_0x71cf('0xb')](),controller[_0x71cf('0x18')]);module[_0x71cf('0x19')]=router; \ No newline at end of file +var _0x8195=['show','/:id/fields','/:id/subjects','getSubjects','post','create','update','delete','destroy','exports','util','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','./intDynamics365Configuration.controller','get','isAuthenticated','index','/:id'];(function(_0x1720fb,_0x595c89){var _0x5daf62=function(_0x1ed60e){while(--_0x1ed60e){_0x1720fb['push'](_0x1720fb['shift']());}};_0x5daf62(++_0x595c89);}(_0x8195,0x9d));var _0x5819=function(_0x2b23d8,_0x4bacbb){_0x2b23d8=_0x2b23d8-0x0;var _0x2bf397=_0x8195[_0x2b23d8];return _0x2bf397;};'use strict';var multer=require('multer');var util=require(_0x5819('0x0'));var path=require(_0x5819('0x1'));var timeout=require(_0x5819('0x2'));var express=require('express');var router=express[_0x5819('0x3')]();var auth=require(_0x5819('0x4'));var interaction=require(_0x5819('0x5'));var config=require('../../config/environment');var controller=require(_0x5819('0x6'));router[_0x5819('0x7')]('/',auth[_0x5819('0x8')](),controller[_0x5819('0x9')]);router[_0x5819('0x7')](_0x5819('0xa'),auth[_0x5819('0x8')](),controller[_0x5819('0xb')]);router[_0x5819('0x7')](_0x5819('0xc'),auth[_0x5819('0x8')](),controller['getFields']);router[_0x5819('0x7')](_0x5819('0xd'),auth['isAuthenticated'](),controller[_0x5819('0xe')]);router[_0x5819('0x7')]('/:id/descriptions',auth[_0x5819('0x8')](),controller['getDescriptions']);router[_0x5819('0xf')]('/',auth[_0x5819('0x8')](),controller[_0x5819('0x10')]);router['put'](_0x5819('0xa'),auth[_0x5819('0x8')](),controller[_0x5819('0x11')]);router[_0x5819('0x12')](_0x5819('0xa'),auth['isAuthenticated'](),controller[_0x5819('0x13')]);module[_0x5819('0x14')]=router; \ No newline at end of file diff --git a/server/api/intDynamics365Configuration/intDynamics365Configuration.attributes.js b/server/api/intDynamics365Configuration/intDynamics365Configuration.attributes.js index 4b589c9..6f842fb 100644 --- a/server/api/intDynamics365Configuration/intDynamics365Configuration.attributes.js +++ b/server/api/intDynamics365Configuration/intDynamics365Configuration.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xb64f=['exports','incident','phonecall','sequelize'];(function(_0x23aabb,_0x11d838){var _0x11aaac=function(_0x4bb15c){while(--_0x4bb15c){_0x23aabb['push'](_0x23aabb['shift']());}};_0x11aaac(++_0x11d838);}(_0xb64f,0x1b7));var _0xfb64=function(_0x28fbe3,_0x4ac6f8){_0x28fbe3=_0x28fbe3-0x0;var _0x45db6a=_0xb64f[_0x28fbe3];return _0x45db6a;};'use strict';var Sequelize=require(_0xfb64('0x0'));module[_0xfb64('0x1')]={'name':{'type':Sequelize['STRING']},'description':{'type':Sequelize['STRING']},'ticketType':{'type':Sequelize['ENUM'](_0xfb64('0x2'),_0xfb64('0x3')),'defaultValue':_0xfb64('0x2')}}; \ No newline at end of file +var _0xe7a1=['exports','STRING','incident'];(function(_0x10e8ed,_0x384a0d){var _0x4aea4a=function(_0x486ad1){while(--_0x486ad1){_0x10e8ed['push'](_0x10e8ed['shift']());}};_0x4aea4a(++_0x384a0d);}(_0xe7a1,0x16b));var _0x1e7a=function(_0x5c3ae9,_0x450f9a){_0x5c3ae9=_0x5c3ae9-0x0;var _0x3f5950=_0xe7a1[_0x5c3ae9];return _0x3f5950;};'use strict';var Sequelize=require('sequelize');module[_0x1e7a('0x0')]={'name':{'type':Sequelize[_0x1e7a('0x1')]},'description':{'type':Sequelize[_0x1e7a('0x1')]},'ticketType':{'type':Sequelize['ENUM']('incident','phonecall'),'defaultValue':_0x1e7a('0x2')}}; \ No newline at end of file diff --git a/server/api/intDynamics365Configuration/intDynamics365Configuration.controller.js b/server/api/intDynamics365Configuration/intDynamics365Configuration.controller.js index f795a9c..77ce59a 100644 --- a/server/api/intDynamics365Configuration/intDynamics365Configuration.controller.js +++ b/server/api/intDynamics365Configuration/intDynamics365Configuration.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xe37d=['lodash','squel','jsforce','desk.js','ioredis','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','jayson/promise','http','test','ValidationError','The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.','request','then','info','Dynamics365Configuration,\x20%s,\x20%s','request\x20sent','debug','Dynamics365Configuration,\x20%s,\x20%s,\x20%s','stringify','error','message','result','catch','sendStatus','status','json','limit','set','apply','reject','save','update','destroy','end','stack','name','send','index','rawAttributes','fieldName','type','model','map','query','filters','intersection','fields','length','attributes','hasOwnProperty','nolimit','offset','order','sort','where','filter','merge','VIRTUAL','options','Dynamics365Configuration','count','includeAll','include','findAll','rows','show','params','keys','find','create','body','getFields','findOne','pick','getSubjects','getDescriptions','html-pdf','eml-format','rimraf','fast-json-patch','request-promise','moment','mustache','path','sox','to-csv','ejs'];(function(_0xd56237,_0x40f321){var _0x1efe98=function(_0x3e8729){while(--_0x3e8729){_0xd56237['push'](_0xd56237['shift']());}};_0x1efe98(++_0x40f321);}(_0xe37d,0x1cb));var _0xde37=function(_0x2165e0,_0x3de113){_0x2165e0=_0x2165e0-0x0;var _0x317d7b=_0xe37d[_0x2165e0];return _0x317d7b;};'use strict';var pdf=require(_0xde37('0x0'));var emlformat=require(_0xde37('0x1'));var rimraf=require(_0xde37('0x2'));var zipdir=require('zip-dir');var jsonpatch=require(_0xde37('0x3'));var rp=require(_0xde37('0x4'));var moment=require(_0xde37('0x5'));var BPromise=require('bluebird');var Mustache=require(_0xde37('0x6'));var util=require('util');var path=require(_0xde37('0x7'));var sox=require(_0xde37('0x8'));var csv=require(_0xde37('0x9'));var ejs=require(_0xde37('0xa'));var fs=require('fs');var _=require(_0xde37('0xb'));var squel=require(_0xde37('0xc'));var crypto=require('crypto');var jsforce=require(_0xde37('0xd'));var deskjs=require(_0xde37('0xe'));var toCsv=require(_0xde37('0x9'));var querystring=require('querystring');var Papa=require('papaparse');var Redis=require(_0xde37('0xf'));var authService=require('../../components/auth/service');var qs=require(_0xde37('0x10'));var as=require(_0xde37('0x11'));var hardwareService=require(_0xde37('0x12'));var logger=require(_0xde37('0x13'))(_0xde37('0x14'));var utils=require(_0xde37('0x15'));var config=require(_0xde37('0x16'));var db=require(_0xde37('0x17'))['db'];var jayson=require(_0xde37('0x18'));var client=jayson['client'][_0xde37('0x19')]({'port':0x232a});function checkPasswordPattern(_0x22a172,_0xe8b1a6,_0x297a26){if(_0x297a26){var _0x2ef707=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0x2ef707[_0xde37('0x1a')](_0xe8b1a6)){return _0x22a172;}else{throw new db['Sequelize'][(_0xde37('0x1b'))](_0xde37('0x1c'));}}else{return _0x22a172;}}function respondWithRpcPromise(_0x597b07,_0x23e1c4,_0xc6e496,_0x627a01){return new BPromise(function(_0x4af177,_0x1a082a){var _0x5191ca=_0x627a01||client;return _0x5191ca[_0xde37('0x1d')](_0x597b07,_0xc6e496)[_0xde37('0x1e')](function(_0x3be077){logger[_0xde37('0x1f')](_0xde37('0x20'),_0x23e1c4,_0xde37('0x21'));logger[_0xde37('0x22')](_0xde37('0x23'),_0x23e1c4,'request\x20sent',JSON[_0xde37('0x24')](_0x3be077));if(_0x3be077[_0xde37('0x25')]){if(_0x3be077[_0xde37('0x25')]['code']===0x1f4){logger[_0xde37('0x25')]('Dynamics365Configuration,\x20%s,\x20%s',_0x23e1c4,_0x3be077[_0xde37('0x25')]['message']);return _0x1a082a(_0x3be077[_0xde37('0x25')]['message']);}logger[_0xde37('0x25')]('Dynamics365Configuration,\x20%s,\x20%s',_0x23e1c4,_0x3be077[_0xde37('0x25')]['message']);return _0x4af177(_0x3be077[_0xde37('0x25')][_0xde37('0x26')]);}else{logger[_0xde37('0x1f')](_0xde37('0x20'),_0x23e1c4,_0xde37('0x21'));_0x4af177(_0x3be077[_0xde37('0x27')][_0xde37('0x26')]);}})[_0xde37('0x28')](function(_0x2778cd){logger['error'](_0xde37('0x20'),_0x23e1c4,_0x2778cd);_0x1a082a(_0x2778cd);});});}function respondWithStatusCode(_0x1eb3b4,_0x2ba676){_0x2ba676=_0x2ba676||0xcc;return function(_0x24fb2b){if(_0x24fb2b){return _0x1eb3b4[_0xde37('0x29')](_0x2ba676);}return _0x1eb3b4[_0xde37('0x2a')](_0x2ba676)['end']();};}function respondWithResult(_0x4b61fb,_0x70dd0b){_0x70dd0b=_0x70dd0b||0xc8;return function(_0x1f5743){if(_0x1f5743){return _0x4b61fb[_0xde37('0x2a')](_0x70dd0b)[_0xde37('0x2b')](_0x1f5743);}};}function respondWithFilteredResult(_0x522379,_0x5ba576){return function(_0x18c4d3){if(_0x18c4d3){var _0x34d64d=_0x18c4d3['count'],_0x249b8a=_0x5ba576['offset'],_0x4e7230=_0x5ba576['offset']+_0x5ba576[_0xde37('0x2c')],_0x1bfe9b;if(_0x4e7230>=_0x34d64d){_0x4e7230=_0x34d64d;_0x1bfe9b=0xc8;}else{_0x1bfe9b=0xce;}_0x522379['status'](_0x1bfe9b);return _0x522379[_0xde37('0x2d')]('Content-Range',_0x249b8a+'-'+_0x4e7230+'/'+_0x34d64d)[_0xde37('0x2b')](_0x18c4d3);}return null;};}function patchUpdates(_0x3e9a6f){return function(_0xcb000d){try{jsonpatch[_0xde37('0x2e')](_0xcb000d,_0x3e9a6f,!![]);}catch(_0x76abdb){return BPromise[_0xde37('0x2f')](_0x76abdb);}return _0xcb000d[_0xde37('0x30')]();};}function saveUpdates(_0x2d8199,_0x1b713f){return function(_0x2d22f7){if(_0x2d22f7){return _0x2d22f7[_0xde37('0x31')](_0x2d8199)['then'](function(_0x573027){return _0x573027;});}return null;};}function removeEntity(_0x3b6907,_0x57a78c){return function(_0x5ed079){if(_0x5ed079){return _0x5ed079[_0xde37('0x32')]()[_0xde37('0x1e')](function(){_0x3b6907[_0xde37('0x2a')](0xcc)[_0xde37('0x33')]();});}};}function handleEntityNotFound(_0x5ef605,_0x256b8e){return function(_0x400c2d){if(!_0x400c2d){_0x5ef605['sendStatus'](0x194);}return _0x400c2d;};}function handleError(_0xa5a4f6,_0x15a615){_0x15a615=_0x15a615||0x1f4;return function(_0x250b25){logger[_0xde37('0x25')](_0x250b25[_0xde37('0x34')]);if(_0x250b25[_0xde37('0x35')]){delete _0x250b25['name'];}_0xa5a4f6[_0xde37('0x2a')](_0x15a615)[_0xde37('0x36')](_0x250b25);};}exports[_0xde37('0x37')]=function(_0x2cc7a7,_0x373ccd){var _0x5c838e={},_0x38bd06={},_0xcdb223={'count':0x0,'rows':[]};var _0xa07bb9=_['map'](db['Dynamics365Configuration'][_0xde37('0x38')],function(_0x3ab242){return{'name':_0x3ab242[_0xde37('0x39')],'type':_0x3ab242[_0xde37('0x3a')]['key']};});_0x38bd06[_0xde37('0x3b')]=_[_0xde37('0x3c')](_0xa07bb9,'name');_0x38bd06[_0xde37('0x3d')]=_['keys'](_0x2cc7a7[_0xde37('0x3d')]);_0x38bd06[_0xde37('0x3e')]=_[_0xde37('0x3f')](_0x38bd06[_0xde37('0x3b')],_0x38bd06[_0xde37('0x3d')]);_0x5c838e['attributes']=_[_0xde37('0x3f')](_0x38bd06[_0xde37('0x3b')],qs[_0xde37('0x40')](_0x2cc7a7[_0xde37('0x3d')][_0xde37('0x40')]));_0x5c838e['attributes']=_0x5c838e['attributes'][_0xde37('0x41')]?_0x5c838e[_0xde37('0x42')]:_0x38bd06['model'];if(!_0x2cc7a7[_0xde37('0x3d')][_0xde37('0x43')](_0xde37('0x44'))){_0x5c838e['limit']=qs[_0xde37('0x2c')](_0x2cc7a7[_0xde37('0x3d')]['limit']);_0x5c838e[_0xde37('0x45')]=qs['offset'](_0x2cc7a7['query'][_0xde37('0x45')]);}_0x5c838e[_0xde37('0x46')]=qs[_0xde37('0x47')](_0x2cc7a7[_0xde37('0x3d')][_0xde37('0x47')]);_0x5c838e[_0xde37('0x48')]=qs[_0xde37('0x3e')](_['pick'](_0x2cc7a7[_0xde37('0x3d')],_0x38bd06['filters']),_0xa07bb9);if(_0x2cc7a7[_0xde37('0x3d')][_0xde37('0x49')]){_0x5c838e[_0xde37('0x48')]=_[_0xde37('0x4a')](_0x5c838e[_0xde37('0x48')],{'$or':_[_0xde37('0x3c')](_0xa07bb9,function(_0x45271b){if(_0x45271b['type']!==_0xde37('0x4b')){var _0x517e7b={};_0x517e7b[_0x45271b[_0xde37('0x35')]]={'$like':'%'+_0x2cc7a7[_0xde37('0x3d')][_0xde37('0x49')]+'%'};return _0x517e7b;}})});}_0x5c838e=_[_0xde37('0x4a')]({},_0x5c838e,_0x2cc7a7[_0xde37('0x4c')]);var _0x3279fa={'where':_0x5c838e[_0xde37('0x48')]};return db[_0xde37('0x4d')][_0xde37('0x4e')](_0x3279fa)[_0xde37('0x1e')](function(_0x4814d1){_0xcdb223[_0xde37('0x4e')]=_0x4814d1;if(_0x2cc7a7[_0xde37('0x3d')][_0xde37('0x4f')]){_0x5c838e[_0xde37('0x50')]=[{'all':!![]}];}return db[_0xde37('0x4d')][_0xde37('0x51')](_0x5c838e);})[_0xde37('0x1e')](function(_0x196c91){_0xcdb223[_0xde37('0x52')]=_0x196c91;return _0xcdb223;})[_0xde37('0x1e')](respondWithFilteredResult(_0x373ccd,_0x5c838e))[_0xde37('0x28')](handleError(_0x373ccd,null));};exports[_0xde37('0x53')]=function(_0xf1496,_0x4ee958){var _0x305ca8={'raw':![],'where':{'id':_0xf1496[_0xde37('0x54')]['id']}},_0x46ee40={};_0x46ee40['model']=_[_0xde37('0x55')](db[_0xde37('0x4d')][_0xde37('0x38')]);_0x46ee40['query']=_['keys'](_0xf1496[_0xde37('0x3d')]);_0x46ee40[_0xde37('0x3e')]=_['intersection'](_0x46ee40[_0xde37('0x3b')],_0x46ee40['query']);_0x305ca8['attributes']=_[_0xde37('0x3f')](_0x46ee40['model'],qs['fields'](_0xf1496[_0xde37('0x3d')]['fields']));_0x305ca8[_0xde37('0x42')]=_0x305ca8['attributes'][_0xde37('0x41')]?_0x305ca8[_0xde37('0x42')]:_0x46ee40['model'];if(_0xf1496['query']['includeAll']){_0x305ca8['include']=[{'all':!![]}];}_0x305ca8=_[_0xde37('0x4a')]({},_0x305ca8,_0xf1496['options']);return db['Dynamics365Configuration'][_0xde37('0x56')](_0x305ca8)[_0xde37('0x1e')](handleEntityNotFound(_0x4ee958,null))['then'](respondWithResult(_0x4ee958,null))[_0xde37('0x28')](handleError(_0x4ee958,null));};exports[_0xde37('0x57')]=function(_0x220c86,_0x24e903){return db['Dynamics365Configuration']['create'](_0x220c86[_0xde37('0x58')],{})[_0xde37('0x1e')](respondWithResult(_0x24e903,0xc9))['catch'](handleError(_0x24e903,null));};exports['update']=function(_0xc3b5a2,_0x43bf3b){if(_0xc3b5a2[_0xde37('0x58')]['id']){delete _0xc3b5a2[_0xde37('0x58')]['id'];}return db[_0xde37('0x4d')][_0xde37('0x56')]({'where':{'id':_0xc3b5a2[_0xde37('0x54')]['id']}})[_0xde37('0x1e')](handleEntityNotFound(_0x43bf3b,null))[_0xde37('0x1e')](saveUpdates(_0xc3b5a2['body'],null))[_0xde37('0x1e')](respondWithResult(_0x43bf3b,null))[_0xde37('0x28')](handleError(_0x43bf3b,null));};exports[_0xde37('0x32')]=function(_0x5ad067,_0x45f335){return db[_0xde37('0x4d')][_0xde37('0x56')]({'where':{'id':_0x5ad067[_0xde37('0x54')]['id']}})[_0xde37('0x1e')](handleEntityNotFound(_0x45f335,null))[_0xde37('0x1e')](removeEntity(_0x45f335,null))['catch'](handleError(_0x45f335,null));};exports[_0xde37('0x59')]=function(_0x44188a,_0x544e70,_0x4bc2e5){var _0x450d17={};var _0x29584a={};var _0xf285f8;var _0x34f3a9;return db[_0xde37('0x4d')][_0xde37('0x5a')]({'where':{'id':_0x44188a[_0xde37('0x54')]['id']}})['then'](handleEntityNotFound(_0x544e70,null))[_0xde37('0x1e')](function(_0x200454){if(_0x200454){_0xf285f8=_0x200454;_0x29584a[_0xde37('0x3b')]=_[_0xde37('0x55')](db['Dynamics365Field'][_0xde37('0x38')]);_0x29584a[_0xde37('0x3d')]=_['keys'](_0x44188a[_0xde37('0x3d')]);_0x29584a['filters']=_[_0xde37('0x3f')](_0x29584a[_0xde37('0x3b')],_0x29584a[_0xde37('0x3d')]);_0x450d17[_0xde37('0x42')]=_[_0xde37('0x3f')](_0x29584a[_0xde37('0x3b')],qs[_0xde37('0x40')](_0x44188a[_0xde37('0x3d')][_0xde37('0x40')]));_0x450d17[_0xde37('0x42')]=_0x450d17['attributes'][_0xde37('0x41')]?_0x450d17[_0xde37('0x42')]:_0x29584a[_0xde37('0x3b')];_0x450d17[_0xde37('0x46')]=qs['sort'](_0x44188a[_0xde37('0x3d')][_0xde37('0x47')]);_0x450d17['where']=qs[_0xde37('0x3e')](_[_0xde37('0x5b')](_0x44188a[_0xde37('0x3d')],_0x29584a[_0xde37('0x3e')]));if(_0x44188a[_0xde37('0x3d')]['filter']){_0x450d17[_0xde37('0x48')]=_[_0xde37('0x4a')](_0x450d17[_0xde37('0x48')],{'$or':_[_0xde37('0x3c')](_0x450d17[_0xde37('0x42')],function(_0x55f8e9){var _0x457606={};_0x457606[_0x55f8e9]={'$like':'%'+_0x44188a[_0xde37('0x3d')][_0xde37('0x49')]+'%'};return _0x457606;})});}_0x450d17=_['merge']({},_0x450d17,_0x44188a[_0xde37('0x4c')]);return _0xf285f8[_0xde37('0x59')](_0x450d17);}})[_0xde37('0x1e')](function(_0x200c62){if(_0x200c62){_0x34f3a9=_0x200c62[_0xde37('0x41')];if(!_0x44188a[_0xde37('0x3d')]['hasOwnProperty'](_0xde37('0x44'))){_0x450d17[_0xde37('0x2c')]=qs[_0xde37('0x2c')](_0x44188a[_0xde37('0x3d')][_0xde37('0x2c')]);_0x450d17[_0xde37('0x45')]=qs[_0xde37('0x45')](_0x44188a['query']['offset']);}return _0xf285f8[_0xde37('0x59')](_0x450d17);}})['then'](function(_0x1d075b){if(_0x1d075b){return _0x1d075b?{'count':_0x34f3a9,'rows':_0x1d075b}:null;}})['then'](respondWithResult(_0x544e70,null))[_0xde37('0x28')](handleError(_0x544e70,null));};exports['getSubjects']=function(_0x208675,_0x7bf138,_0x5c4992){var _0x5d97e8={};var _0x5a9230={};var _0x531272;var _0x3338ff;return db[_0xde37('0x4d')][_0xde37('0x5a')]({'where':{'id':_0x208675[_0xde37('0x54')]['id']}})[_0xde37('0x1e')](handleEntityNotFound(_0x7bf138,null))[_0xde37('0x1e')](function(_0x3a4c05){if(_0x3a4c05){_0x531272=_0x3a4c05;_0x5a9230['model']=_[_0xde37('0x55')](db['Dynamics365Field']['rawAttributes']);_0x5a9230[_0xde37('0x3d')]=_[_0xde37('0x55')](_0x208675[_0xde37('0x3d')]);_0x5a9230[_0xde37('0x3e')]=_['intersection'](_0x5a9230[_0xde37('0x3b')],_0x5a9230[_0xde37('0x3d')]);_0x5d97e8[_0xde37('0x42')]=_['intersection'](_0x5a9230[_0xde37('0x3b')],qs[_0xde37('0x40')](_0x208675[_0xde37('0x3d')][_0xde37('0x40')]));_0x5d97e8['attributes']=_0x5d97e8[_0xde37('0x42')]['length']?_0x5d97e8[_0xde37('0x42')]:_0x5a9230[_0xde37('0x3b')];_0x5d97e8[_0xde37('0x46')]=qs['sort'](_0x208675[_0xde37('0x3d')][_0xde37('0x47')]);_0x5d97e8[_0xde37('0x48')]=qs[_0xde37('0x3e')](_[_0xde37('0x5b')](_0x208675[_0xde37('0x3d')],_0x5a9230[_0xde37('0x3e')]));if(_0x208675['query'][_0xde37('0x49')]){_0x5d97e8['where']=_[_0xde37('0x4a')](_0x5d97e8[_0xde37('0x48')],{'$or':_[_0xde37('0x3c')](_0x5d97e8[_0xde37('0x42')],function(_0xaddc98){var _0xed29a2={};_0xed29a2[_0xaddc98]={'$like':'%'+_0x208675[_0xde37('0x3d')][_0xde37('0x49')]+'%'};return _0xed29a2;})});}_0x5d97e8=_[_0xde37('0x4a')]({},_0x5d97e8,_0x208675['options']);return _0x531272[_0xde37('0x5c')](_0x5d97e8);}})[_0xde37('0x1e')](function(_0xc50552){if(_0xc50552){_0x3338ff=_0xc50552[_0xde37('0x41')];if(!_0x208675[_0xde37('0x3d')]['hasOwnProperty'](_0xde37('0x44'))){_0x5d97e8[_0xde37('0x2c')]=qs[_0xde37('0x2c')](_0x208675[_0xde37('0x3d')][_0xde37('0x2c')]);_0x5d97e8['offset']=qs[_0xde37('0x45')](_0x208675['query'][_0xde37('0x45')]);}return _0x531272['getSubjects'](_0x5d97e8);}})['then'](function(_0x433118){if(_0x433118){return _0x433118?{'count':_0x3338ff,'rows':_0x433118}:null;}})[_0xde37('0x1e')](respondWithResult(_0x7bf138,null))['catch'](handleError(_0x7bf138,null));};exports[_0xde37('0x5d')]=function(_0xf9ea9c,_0x16d3d4,_0x1cde4d){var _0xf0323e={};var _0x5420bf={};var _0x21dbf0;var _0xb76c1e;return db['Dynamics365Configuration'][_0xde37('0x5a')]({'where':{'id':_0xf9ea9c[_0xde37('0x54')]['id']}})[_0xde37('0x1e')](handleEntityNotFound(_0x16d3d4,null))[_0xde37('0x1e')](function(_0x527019){if(_0x527019){_0x21dbf0=_0x527019;_0x5420bf[_0xde37('0x3b')]=_[_0xde37('0x55')](db['Dynamics365Field'][_0xde37('0x38')]);_0x5420bf['query']=_[_0xde37('0x55')](_0xf9ea9c[_0xde37('0x3d')]);_0x5420bf['filters']=_[_0xde37('0x3f')](_0x5420bf[_0xde37('0x3b')],_0x5420bf[_0xde37('0x3d')]);_0xf0323e[_0xde37('0x42')]=_[_0xde37('0x3f')](_0x5420bf[_0xde37('0x3b')],qs[_0xde37('0x40')](_0xf9ea9c[_0xde37('0x3d')][_0xde37('0x40')]));_0xf0323e['attributes']=_0xf0323e[_0xde37('0x42')]['length']?_0xf0323e[_0xde37('0x42')]:_0x5420bf['model'];_0xf0323e[_0xde37('0x46')]=qs[_0xde37('0x47')](_0xf9ea9c[_0xde37('0x3d')]['sort']);_0xf0323e[_0xde37('0x48')]=qs[_0xde37('0x3e')](_['pick'](_0xf9ea9c['query'],_0x5420bf[_0xde37('0x3e')]));if(_0xf9ea9c['query'][_0xde37('0x49')]){_0xf0323e[_0xde37('0x48')]=_[_0xde37('0x4a')](_0xf0323e['where'],{'$or':_[_0xde37('0x3c')](_0xf0323e[_0xde37('0x42')],function(_0x3c7595){var _0x47a068={};_0x47a068[_0x3c7595]={'$like':'%'+_0xf9ea9c[_0xde37('0x3d')][_0xde37('0x49')]+'%'};return _0x47a068;})});}_0xf0323e=_[_0xde37('0x4a')]({},_0xf0323e,_0xf9ea9c[_0xde37('0x4c')]);return _0x21dbf0[_0xde37('0x5d')](_0xf0323e);}})[_0xde37('0x1e')](function(_0x58fde0){if(_0x58fde0){_0xb76c1e=_0x58fde0[_0xde37('0x41')];if(!_0xf9ea9c[_0xde37('0x3d')][_0xde37('0x43')]('nolimit')){_0xf0323e[_0xde37('0x2c')]=qs[_0xde37('0x2c')](_0xf9ea9c[_0xde37('0x3d')][_0xde37('0x2c')]);_0xf0323e[_0xde37('0x45')]=qs['offset'](_0xf9ea9c[_0xde37('0x3d')][_0xde37('0x45')]);}return _0x21dbf0[_0xde37('0x5d')](_0xf0323e);}})[_0xde37('0x1e')](function(_0x3635ff){if(_0x3635ff){return _0x3635ff?{'count':_0xb76c1e,'rows':_0x3635ff}:null;}})[_0xde37('0x1e')](respondWithResult(_0x16d3d4,null))[_0xde37('0x28')](handleError(_0x16d3d4,null));}; \ No newline at end of file +var _0x0b6e=['error','code','message','result','sendStatus','status','end','json','offset','limit','set','Content-Range','apply','reject','update','destroy','stack','name','send','index','map','Dynamics365Configuration','rawAttributes','fieldName','type','model','query','keys','filters','intersection','attributes','length','nolimit','sort','pick','where','merge','VIRTUAL','options','count','includeAll','include','findAll','rows','catch','show','params','fields','find','create','body','getFields','findOne','Dynamics365Field','order','filter','getSubjects','getDescriptions','eml-format','zip-dir','fast-json-patch','request-promise','bluebird','mustache','util','sox','to-csv','ejs','lodash','squel','crypto','jsforce','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../mysqldb','client','http','Sequelize','The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.','request','then','info','Dynamics365Configuration,\x20%s,\x20%s','request\x20sent','debug','Dynamics365Configuration,\x20%s,\x20%s,\x20%s','stringify'];(function(_0x2d364e,_0x301c5e){var _0x1b9312=function(_0x1b05bb){while(--_0x1b05bb){_0x2d364e['push'](_0x2d364e['shift']());}};_0x1b9312(++_0x301c5e);}(_0x0b6e,0xfa));var _0xe0b6=function(_0x2aa575,_0x295d1c){_0x2aa575=_0x2aa575-0x0;var _0x2e507f=_0x0b6e[_0x2aa575];return _0x2e507f;};'use strict';var pdf=require('html-pdf');var emlformat=require(_0xe0b6('0x0'));var rimraf=require('rimraf');var zipdir=require(_0xe0b6('0x1'));var jsonpatch=require(_0xe0b6('0x2'));var rp=require(_0xe0b6('0x3'));var moment=require('moment');var BPromise=require(_0xe0b6('0x4'));var Mustache=require(_0xe0b6('0x5'));var util=require(_0xe0b6('0x6'));var path=require('path');var sox=require(_0xe0b6('0x7'));var csv=require(_0xe0b6('0x8'));var ejs=require(_0xe0b6('0x9'));var fs=require('fs');var _=require(_0xe0b6('0xa'));var squel=require(_0xe0b6('0xb'));var crypto=require(_0xe0b6('0xc'));var jsforce=require(_0xe0b6('0xd'));var deskjs=require(_0xe0b6('0xe'));var toCsv=require(_0xe0b6('0x8'));var querystring=require(_0xe0b6('0xf'));var Papa=require(_0xe0b6('0x10'));var Redis=require(_0xe0b6('0x11'));var authService=require(_0xe0b6('0x12'));var qs=require(_0xe0b6('0x13'));var as=require(_0xe0b6('0x14'));var hardwareService=require(_0xe0b6('0x15'));var logger=require(_0xe0b6('0x16'))(_0xe0b6('0x17'));var utils=require(_0xe0b6('0x18'));var config=require('../../config/environment');var db=require(_0xe0b6('0x19'))['db'];var jayson=require('jayson/promise');var client=jayson[_0xe0b6('0x1a')][_0xe0b6('0x1b')]({'port':0x232a});function checkPasswordPattern(_0x5d55ba,_0x1345e3,_0x1b070c){if(_0x1b070c){var _0x4a0c32=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0x4a0c32['test'](_0x1345e3)){return _0x5d55ba;}else{throw new db[(_0xe0b6('0x1c'))]['ValidationError'](_0xe0b6('0x1d'));}}else{return _0x5d55ba;}}function respondWithRpcPromise(_0x4142eb,_0x5b1aa7,_0x1b284e,_0x328c18){return new BPromise(function(_0x5737f1,_0x524db8){var _0x439b62=_0x328c18||client;return _0x439b62[_0xe0b6('0x1e')](_0x4142eb,_0x1b284e)[_0xe0b6('0x1f')](function(_0x33f4bc){logger[_0xe0b6('0x20')](_0xe0b6('0x21'),_0x5b1aa7,_0xe0b6('0x22'));logger[_0xe0b6('0x23')](_0xe0b6('0x24'),_0x5b1aa7,_0xe0b6('0x22'),JSON[_0xe0b6('0x25')](_0x33f4bc));if(_0x33f4bc['error']){if(_0x33f4bc[_0xe0b6('0x26')][_0xe0b6('0x27')]===0x1f4){logger[_0xe0b6('0x26')](_0xe0b6('0x21'),_0x5b1aa7,_0x33f4bc[_0xe0b6('0x26')]['message']);return _0x524db8(_0x33f4bc[_0xe0b6('0x26')][_0xe0b6('0x28')]);}logger[_0xe0b6('0x26')](_0xe0b6('0x21'),_0x5b1aa7,_0x33f4bc[_0xe0b6('0x26')][_0xe0b6('0x28')]);return _0x5737f1(_0x33f4bc[_0xe0b6('0x26')][_0xe0b6('0x28')]);}else{logger['info'](_0xe0b6('0x21'),_0x5b1aa7,'request\x20sent');_0x5737f1(_0x33f4bc[_0xe0b6('0x29')][_0xe0b6('0x28')]);}})['catch'](function(_0x3cc0a){logger[_0xe0b6('0x26')](_0xe0b6('0x21'),_0x5b1aa7,_0x3cc0a);_0x524db8(_0x3cc0a);});});}function respondWithStatusCode(_0x45c1d7,_0x5928d5){_0x5928d5=_0x5928d5||0xcc;return function(_0x486d79){if(_0x486d79){return _0x45c1d7[_0xe0b6('0x2a')](_0x5928d5);}return _0x45c1d7[_0xe0b6('0x2b')](_0x5928d5)[_0xe0b6('0x2c')]();};}function respondWithResult(_0x32c9cf,_0x25dd85){_0x25dd85=_0x25dd85||0xc8;return function(_0x29cdf4){if(_0x29cdf4){return _0x32c9cf['status'](_0x25dd85)[_0xe0b6('0x2d')](_0x29cdf4);}};}function respondWithFilteredResult(_0x238b12,_0x3e9058){return function(_0x56182f){if(_0x56182f){var _0x25212f=_0x56182f['count'],_0x1759f3=_0x3e9058[_0xe0b6('0x2e')],_0x482d4d=_0x3e9058[_0xe0b6('0x2e')]+_0x3e9058[_0xe0b6('0x2f')],_0x37bf19;if(_0x482d4d>=_0x25212f){_0x482d4d=_0x25212f;_0x37bf19=0xc8;}else{_0x37bf19=0xce;}_0x238b12[_0xe0b6('0x2b')](_0x37bf19);return _0x238b12[_0xe0b6('0x30')](_0xe0b6('0x31'),_0x1759f3+'-'+_0x482d4d+'/'+_0x25212f)['json'](_0x56182f);}return null;};}function patchUpdates(_0x2a35a9){return function(_0x46b43e){try{jsonpatch[_0xe0b6('0x32')](_0x46b43e,_0x2a35a9,!![]);}catch(_0x54eac3){return BPromise[_0xe0b6('0x33')](_0x54eac3);}return _0x46b43e['save']();};}function saveUpdates(_0xe845f2,_0x43b86c){return function(_0x118d9a){if(_0x118d9a){return _0x118d9a[_0xe0b6('0x34')](_0xe845f2)[_0xe0b6('0x1f')](function(_0x521ba3){return _0x521ba3;});}return null;};}function removeEntity(_0x444670,_0x3d6a0e){return function(_0xec2dc3){if(_0xec2dc3){return _0xec2dc3[_0xe0b6('0x35')]()[_0xe0b6('0x1f')](function(){_0x444670[_0xe0b6('0x2b')](0xcc)[_0xe0b6('0x2c')]();});}};}function handleEntityNotFound(_0x60e98a,_0x497152){return function(_0x22c023){if(!_0x22c023){_0x60e98a['sendStatus'](0x194);}return _0x22c023;};}function handleError(_0x22c1f2,_0xd7b9de){_0xd7b9de=_0xd7b9de||0x1f4;return function(_0x56b8a3){logger['error'](_0x56b8a3[_0xe0b6('0x36')]);if(_0x56b8a3[_0xe0b6('0x37')]){delete _0x56b8a3[_0xe0b6('0x37')];}_0x22c1f2[_0xe0b6('0x2b')](_0xd7b9de)[_0xe0b6('0x38')](_0x56b8a3);};}exports[_0xe0b6('0x39')]=function(_0x5a36c2,_0x44f5d8){var _0x4d0e26={},_0x29ded5={},_0x2469ee={'count':0x0,'rows':[]};var _0x5a0f61=_[_0xe0b6('0x3a')](db[_0xe0b6('0x3b')][_0xe0b6('0x3c')],function(_0x5ee285){return{'name':_0x5ee285[_0xe0b6('0x3d')],'type':_0x5ee285[_0xe0b6('0x3e')]['key']};});_0x29ded5[_0xe0b6('0x3f')]=_[_0xe0b6('0x3a')](_0x5a0f61,_0xe0b6('0x37'));_0x29ded5[_0xe0b6('0x40')]=_[_0xe0b6('0x41')](_0x5a36c2[_0xe0b6('0x40')]);_0x29ded5[_0xe0b6('0x42')]=_[_0xe0b6('0x43')](_0x29ded5['model'],_0x29ded5[_0xe0b6('0x40')]);_0x4d0e26[_0xe0b6('0x44')]=_['intersection'](_0x29ded5[_0xe0b6('0x3f')],qs['fields'](_0x5a36c2['query']['fields']));_0x4d0e26[_0xe0b6('0x44')]=_0x4d0e26[_0xe0b6('0x44')][_0xe0b6('0x45')]?_0x4d0e26[_0xe0b6('0x44')]:_0x29ded5[_0xe0b6('0x3f')];if(!_0x5a36c2[_0xe0b6('0x40')]['hasOwnProperty'](_0xe0b6('0x46'))){_0x4d0e26[_0xe0b6('0x2f')]=qs[_0xe0b6('0x2f')](_0x5a36c2[_0xe0b6('0x40')]['limit']);_0x4d0e26[_0xe0b6('0x2e')]=qs['offset'](_0x5a36c2[_0xe0b6('0x40')][_0xe0b6('0x2e')]);}_0x4d0e26['order']=qs[_0xe0b6('0x47')](_0x5a36c2[_0xe0b6('0x40')][_0xe0b6('0x47')]);_0x4d0e26['where']=qs[_0xe0b6('0x42')](_[_0xe0b6('0x48')](_0x5a36c2[_0xe0b6('0x40')],_0x29ded5[_0xe0b6('0x42')]),_0x5a0f61);if(_0x5a36c2[_0xe0b6('0x40')]['filter']){_0x4d0e26[_0xe0b6('0x49')]=_[_0xe0b6('0x4a')](_0x4d0e26['where'],{'$or':_[_0xe0b6('0x3a')](_0x5a0f61,function(_0x94cce2){if(_0x94cce2[_0xe0b6('0x3e')]!==_0xe0b6('0x4b')){var _0x1c30c2={};_0x1c30c2[_0x94cce2[_0xe0b6('0x37')]]={'$like':'%'+_0x5a36c2['query']['filter']+'%'};return _0x1c30c2;}})});}_0x4d0e26=_['merge']({},_0x4d0e26,_0x5a36c2[_0xe0b6('0x4c')]);var _0x26933a={'where':_0x4d0e26['where']};return db[_0xe0b6('0x3b')][_0xe0b6('0x4d')](_0x26933a)[_0xe0b6('0x1f')](function(_0x5291fb){_0x2469ee[_0xe0b6('0x4d')]=_0x5291fb;if(_0x5a36c2[_0xe0b6('0x40')][_0xe0b6('0x4e')]){_0x4d0e26[_0xe0b6('0x4f')]=[{'all':!![]}];}return db[_0xe0b6('0x3b')][_0xe0b6('0x50')](_0x4d0e26);})[_0xe0b6('0x1f')](function(_0x3f2e2e){_0x2469ee[_0xe0b6('0x51')]=_0x3f2e2e;return _0x2469ee;})[_0xe0b6('0x1f')](respondWithFilteredResult(_0x44f5d8,_0x4d0e26))[_0xe0b6('0x52')](handleError(_0x44f5d8,null));};exports[_0xe0b6('0x53')]=function(_0x3e93ff,_0x3e1ee8){var _0x1db819={'raw':![],'where':{'id':_0x3e93ff[_0xe0b6('0x54')]['id']}},_0x4da3d1={};_0x4da3d1[_0xe0b6('0x3f')]=_[_0xe0b6('0x41')](db['Dynamics365Configuration'][_0xe0b6('0x3c')]);_0x4da3d1[_0xe0b6('0x40')]=_[_0xe0b6('0x41')](_0x3e93ff[_0xe0b6('0x40')]);_0x4da3d1[_0xe0b6('0x42')]=_[_0xe0b6('0x43')](_0x4da3d1[_0xe0b6('0x3f')],_0x4da3d1[_0xe0b6('0x40')]);_0x1db819['attributes']=_[_0xe0b6('0x43')](_0x4da3d1['model'],qs[_0xe0b6('0x55')](_0x3e93ff[_0xe0b6('0x40')][_0xe0b6('0x55')]));_0x1db819[_0xe0b6('0x44')]=_0x1db819[_0xe0b6('0x44')][_0xe0b6('0x45')]?_0x1db819['attributes']:_0x4da3d1['model'];if(_0x3e93ff['query'][_0xe0b6('0x4e')]){_0x1db819[_0xe0b6('0x4f')]=[{'all':!![]}];}_0x1db819=_['merge']({},_0x1db819,_0x3e93ff[_0xe0b6('0x4c')]);return db[_0xe0b6('0x3b')][_0xe0b6('0x56')](_0x1db819)[_0xe0b6('0x1f')](handleEntityNotFound(_0x3e1ee8,null))['then'](respondWithResult(_0x3e1ee8,null))[_0xe0b6('0x52')](handleError(_0x3e1ee8,null));};exports[_0xe0b6('0x57')]=function(_0x556dab,_0x31129c){return db['Dynamics365Configuration']['create'](_0x556dab['body'],{})[_0xe0b6('0x1f')](respondWithResult(_0x31129c,0xc9))[_0xe0b6('0x52')](handleError(_0x31129c,null));};exports[_0xe0b6('0x34')]=function(_0x162320,_0x2d1b6b){if(_0x162320[_0xe0b6('0x58')]['id']){delete _0x162320[_0xe0b6('0x58')]['id'];}return db['Dynamics365Configuration']['find']({'where':{'id':_0x162320['params']['id']}})['then'](handleEntityNotFound(_0x2d1b6b,null))[_0xe0b6('0x1f')](saveUpdates(_0x162320[_0xe0b6('0x58')],null))[_0xe0b6('0x1f')](respondWithResult(_0x2d1b6b,null))[_0xe0b6('0x52')](handleError(_0x2d1b6b,null));};exports[_0xe0b6('0x35')]=function(_0x323cd2,_0x1712b1){return db[_0xe0b6('0x3b')][_0xe0b6('0x56')]({'where':{'id':_0x323cd2[_0xe0b6('0x54')]['id']}})['then'](handleEntityNotFound(_0x1712b1,null))[_0xe0b6('0x1f')](removeEntity(_0x1712b1,null))[_0xe0b6('0x52')](handleError(_0x1712b1,null));};exports[_0xe0b6('0x59')]=function(_0x562ea6,_0x4577ca,_0x510326){var _0x15d02c={};var _0x42a0c2={};var _0x528146;var _0x357061;return db['Dynamics365Configuration'][_0xe0b6('0x5a')]({'where':{'id':_0x562ea6['params']['id']}})[_0xe0b6('0x1f')](handleEntityNotFound(_0x4577ca,null))[_0xe0b6('0x1f')](function(_0x4eb1a5){if(_0x4eb1a5){_0x528146=_0x4eb1a5;_0x42a0c2[_0xe0b6('0x3f')]=_['keys'](db[_0xe0b6('0x5b')]['rawAttributes']);_0x42a0c2['query']=_[_0xe0b6('0x41')](_0x562ea6['query']);_0x42a0c2['filters']=_[_0xe0b6('0x43')](_0x42a0c2['model'],_0x42a0c2[_0xe0b6('0x40')]);_0x15d02c[_0xe0b6('0x44')]=_[_0xe0b6('0x43')](_0x42a0c2['model'],qs[_0xe0b6('0x55')](_0x562ea6[_0xe0b6('0x40')][_0xe0b6('0x55')]));_0x15d02c['attributes']=_0x15d02c[_0xe0b6('0x44')][_0xe0b6('0x45')]?_0x15d02c['attributes']:_0x42a0c2[_0xe0b6('0x3f')];_0x15d02c[_0xe0b6('0x5c')]=qs[_0xe0b6('0x47')](_0x562ea6[_0xe0b6('0x40')]['sort']);_0x15d02c[_0xe0b6('0x49')]=qs['filters'](_[_0xe0b6('0x48')](_0x562ea6[_0xe0b6('0x40')],_0x42a0c2[_0xe0b6('0x42')]));if(_0x562ea6['query'][_0xe0b6('0x5d')]){_0x15d02c[_0xe0b6('0x49')]=_[_0xe0b6('0x4a')](_0x15d02c['where'],{'$or':_[_0xe0b6('0x3a')](_0x15d02c[_0xe0b6('0x44')],function(_0x530d4c){var _0x288505={};_0x288505[_0x530d4c]={'$like':'%'+_0x562ea6['query']['filter']+'%'};return _0x288505;})});}_0x15d02c=_[_0xe0b6('0x4a')]({},_0x15d02c,_0x562ea6[_0xe0b6('0x4c')]);return _0x528146[_0xe0b6('0x59')](_0x15d02c);}})[_0xe0b6('0x1f')](function(_0x104502){if(_0x104502){_0x357061=_0x104502[_0xe0b6('0x45')];if(!_0x562ea6['query']['hasOwnProperty'](_0xe0b6('0x46'))){_0x15d02c[_0xe0b6('0x2f')]=qs[_0xe0b6('0x2f')](_0x562ea6[_0xe0b6('0x40')][_0xe0b6('0x2f')]);_0x15d02c[_0xe0b6('0x2e')]=qs[_0xe0b6('0x2e')](_0x562ea6[_0xe0b6('0x40')][_0xe0b6('0x2e')]);}return _0x528146[_0xe0b6('0x59')](_0x15d02c);}})['then'](function(_0x2cca9d){if(_0x2cca9d){return _0x2cca9d?{'count':_0x357061,'rows':_0x2cca9d}:null;}})[_0xe0b6('0x1f')](respondWithResult(_0x4577ca,null))[_0xe0b6('0x52')](handleError(_0x4577ca,null));};exports['getSubjects']=function(_0x5bfef1,_0x23980d,_0x199950){var _0x31e39c={};var _0x1be72a={};var _0x1564ce;var _0x4eb38f;return db[_0xe0b6('0x3b')][_0xe0b6('0x5a')]({'where':{'id':_0x5bfef1['params']['id']}})['then'](handleEntityNotFound(_0x23980d,null))[_0xe0b6('0x1f')](function(_0x2fbc6d){if(_0x2fbc6d){_0x1564ce=_0x2fbc6d;_0x1be72a[_0xe0b6('0x3f')]=_[_0xe0b6('0x41')](db[_0xe0b6('0x5b')]['rawAttributes']);_0x1be72a[_0xe0b6('0x40')]=_[_0xe0b6('0x41')](_0x5bfef1[_0xe0b6('0x40')]);_0x1be72a[_0xe0b6('0x42')]=_['intersection'](_0x1be72a[_0xe0b6('0x3f')],_0x1be72a['query']);_0x31e39c[_0xe0b6('0x44')]=_[_0xe0b6('0x43')](_0x1be72a[_0xe0b6('0x3f')],qs[_0xe0b6('0x55')](_0x5bfef1['query']['fields']));_0x31e39c[_0xe0b6('0x44')]=_0x31e39c[_0xe0b6('0x44')][_0xe0b6('0x45')]?_0x31e39c[_0xe0b6('0x44')]:_0x1be72a[_0xe0b6('0x3f')];_0x31e39c[_0xe0b6('0x5c')]=qs[_0xe0b6('0x47')](_0x5bfef1[_0xe0b6('0x40')][_0xe0b6('0x47')]);_0x31e39c[_0xe0b6('0x49')]=qs['filters'](_[_0xe0b6('0x48')](_0x5bfef1[_0xe0b6('0x40')],_0x1be72a[_0xe0b6('0x42')]));if(_0x5bfef1[_0xe0b6('0x40')][_0xe0b6('0x5d')]){_0x31e39c[_0xe0b6('0x49')]=_[_0xe0b6('0x4a')](_0x31e39c[_0xe0b6('0x49')],{'$or':_['map'](_0x31e39c['attributes'],function(_0x3ae7a4){var _0x42a30c={};_0x42a30c[_0x3ae7a4]={'$like':'%'+_0x5bfef1[_0xe0b6('0x40')][_0xe0b6('0x5d')]+'%'};return _0x42a30c;})});}_0x31e39c=_[_0xe0b6('0x4a')]({},_0x31e39c,_0x5bfef1[_0xe0b6('0x4c')]);return _0x1564ce[_0xe0b6('0x5e')](_0x31e39c);}})[_0xe0b6('0x1f')](function(_0x3bb22b){if(_0x3bb22b){_0x4eb38f=_0x3bb22b[_0xe0b6('0x45')];if(!_0x5bfef1['query']['hasOwnProperty'](_0xe0b6('0x46'))){_0x31e39c[_0xe0b6('0x2f')]=qs[_0xe0b6('0x2f')](_0x5bfef1[_0xe0b6('0x40')][_0xe0b6('0x2f')]);_0x31e39c['offset']=qs[_0xe0b6('0x2e')](_0x5bfef1['query'][_0xe0b6('0x2e')]);}return _0x1564ce[_0xe0b6('0x5e')](_0x31e39c);}})[_0xe0b6('0x1f')](function(_0x13a37a){if(_0x13a37a){return _0x13a37a?{'count':_0x4eb38f,'rows':_0x13a37a}:null;}})['then'](respondWithResult(_0x23980d,null))[_0xe0b6('0x52')](handleError(_0x23980d,null));};exports[_0xe0b6('0x5f')]=function(_0x36a815,_0x56becf,_0x5b120c){var _0x472dac={};var _0x555eb3={};var _0x3e9a89;var _0x50c3d9;return db[_0xe0b6('0x3b')][_0xe0b6('0x5a')]({'where':{'id':_0x36a815[_0xe0b6('0x54')]['id']}})[_0xe0b6('0x1f')](handleEntityNotFound(_0x56becf,null))[_0xe0b6('0x1f')](function(_0x39a1bd){if(_0x39a1bd){_0x3e9a89=_0x39a1bd;_0x555eb3['model']=_[_0xe0b6('0x41')](db[_0xe0b6('0x5b')]['rawAttributes']);_0x555eb3[_0xe0b6('0x40')]=_['keys'](_0x36a815[_0xe0b6('0x40')]);_0x555eb3['filters']=_[_0xe0b6('0x43')](_0x555eb3[_0xe0b6('0x3f')],_0x555eb3[_0xe0b6('0x40')]);_0x472dac[_0xe0b6('0x44')]=_[_0xe0b6('0x43')](_0x555eb3[_0xe0b6('0x3f')],qs['fields'](_0x36a815[_0xe0b6('0x40')][_0xe0b6('0x55')]));_0x472dac[_0xe0b6('0x44')]=_0x472dac[_0xe0b6('0x44')]['length']?_0x472dac[_0xe0b6('0x44')]:_0x555eb3[_0xe0b6('0x3f')];_0x472dac['order']=qs[_0xe0b6('0x47')](_0x36a815[_0xe0b6('0x40')]['sort']);_0x472dac['where']=qs[_0xe0b6('0x42')](_[_0xe0b6('0x48')](_0x36a815[_0xe0b6('0x40')],_0x555eb3['filters']));if(_0x36a815[_0xe0b6('0x40')][_0xe0b6('0x5d')]){_0x472dac[_0xe0b6('0x49')]=_['merge'](_0x472dac[_0xe0b6('0x49')],{'$or':_['map'](_0x472dac[_0xe0b6('0x44')],function(_0x32669c){var _0x482562={};_0x482562[_0x32669c]={'$like':'%'+_0x36a815['query'][_0xe0b6('0x5d')]+'%'};return _0x482562;})});}_0x472dac=_['merge']({},_0x472dac,_0x36a815[_0xe0b6('0x4c')]);return _0x3e9a89['getDescriptions'](_0x472dac);}})[_0xe0b6('0x1f')](function(_0x1147b8){if(_0x1147b8){_0x50c3d9=_0x1147b8['length'];if(!_0x36a815[_0xe0b6('0x40')]['hasOwnProperty'](_0xe0b6('0x46'))){_0x472dac[_0xe0b6('0x2f')]=qs[_0xe0b6('0x2f')](_0x36a815[_0xe0b6('0x40')][_0xe0b6('0x2f')]);_0x472dac['offset']=qs[_0xe0b6('0x2e')](_0x36a815[_0xe0b6('0x40')][_0xe0b6('0x2e')]);}return _0x3e9a89['getDescriptions'](_0x472dac);}})[_0xe0b6('0x1f')](function(_0x179fd6){if(_0x179fd6){return _0x179fd6?{'count':_0x50c3d9,'rows':_0x179fd6}:null;}})[_0xe0b6('0x1f')](respondWithResult(_0x56becf,null))[_0xe0b6('0x52')](handleError(_0x56becf,null));}; \ No newline at end of file diff --git a/server/api/intDynamics365Configuration/intDynamics365Configuration.model.js b/server/api/intDynamics365Configuration/intDynamics365Configuration.model.js index 3f436f8..560639c 100644 --- a/server/api/intDynamics365Configuration/intDynamics365Configuration.model.js +++ b/server/api/intDynamics365Configuration/intDynamics365Configuration.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x82ba=['moment','request-promise','../../config/environment','exports','define','int_dynamics365_configurations','lodash','util','../../config/logger','api'];(function(_0x5b644e,_0x2e5e07){var _0x49c6bf=function(_0x3032d9){while(--_0x3032d9){_0x5b644e['push'](_0x5b644e['shift']());}};_0x49c6bf(++_0x2e5e07);}(_0x82ba,0x10a));var _0xa82b=function(_0x2c9d43,_0x36e579){_0x2c9d43=_0x2c9d43-0x0;var _0x535606=_0x82ba[_0x2c9d43];return _0x535606;};'use strict';var _=require(_0xa82b('0x0'));var util=require(_0xa82b('0x1'));var logger=require(_0xa82b('0x2'))(_0xa82b('0x3'));var moment=require(_0xa82b('0x4'));var BPromise=require('bluebird');var rp=require(_0xa82b('0x5'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0xa82b('0x6'));var attributes=require('./intDynamics365Configuration.attributes');module[_0xa82b('0x7')]=function(_0x19f496,_0x1ea02d){return _0x19f496[_0xa82b('0x8')]('Dynamics365Configuration',attributes,{'tableName':_0xa82b('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0xd2b5=['int_dynamics365_configurations','util','../../config/logger','moment','request-promise','path','rimraf','../../config/environment','./intDynamics365Configuration.attributes','define','Dynamics365Configuration'];(function(_0x19dd7a,_0x51de21){var _0x3feb6a=function(_0x4a3c84){while(--_0x4a3c84){_0x19dd7a['push'](_0x19dd7a['shift']());}};_0x3feb6a(++_0x51de21);}(_0xd2b5,0x9b));var _0x5d2b=function(_0x5a53c9,_0xd1238){_0x5a53c9=_0x5a53c9-0x0;var _0x37ee88=_0xd2b5[_0x5a53c9];return _0x37ee88;};'use strict';var _=require('lodash');var util=require(_0x5d2b('0x0'));var logger=require(_0x5d2b('0x1'))('api');var moment=require(_0x5d2b('0x2'));var BPromise=require('bluebird');var rp=require(_0x5d2b('0x3'));var fs=require('fs');var path=require(_0x5d2b('0x4'));var rimraf=require(_0x5d2b('0x5'));var config=require(_0x5d2b('0x6'));var attributes=require(_0x5d2b('0x7'));module['exports']=function(_0x3560a8,_0x10a5f2){return _0x3560a8[_0x5d2b('0x8')](_0x5d2b('0x9'),attributes,{'tableName':_0x5d2b('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/intDynamics365Configuration/intDynamics365Configuration.rpc.js b/server/api/intDynamics365Configuration/intDynamics365Configuration.rpc.js index 0e08209..0d0c672 100644 --- a/server/api/intDynamics365Configuration/intDynamics365Configuration.rpc.js +++ b/server/api/intDynamics365Configuration/intDynamics365Configuration.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xc7b3=['jayson/promise','client','http','request','then','info','Dynamics365Configuration,\x20%s,\x20%s','request\x20sent','Dynamics365Configuration,\x20%s,\x20%s,\x20%s','stringify','error','message','result','moment','bluebird','ioredis','../../config/utils','../../config/logger','rpc','../../config/environment'];(function(_0x39a244,_0x5f1e55){var _0x480619=function(_0x4e237f){while(--_0x4e237f){_0x39a244['push'](_0x39a244['shift']());}};_0x480619(++_0x5f1e55);}(_0xc7b3,0x1c5));var _0x3c7b=function(_0x19950b,_0x53d0d7){_0x19950b=_0x19950b-0x0;var _0x3c6b41=_0xc7b3[_0x19950b];return _0x3c6b41;};'use strict';var _=require('lodash');var util=require('util');var moment=require(_0x3c7b('0x0'));var BPromise=require(_0x3c7b('0x1'));var rs=require('randomstring');var fs=require('fs');var Redis=require(_0x3c7b('0x2'));var db=require('../../mysqldb')['db'];var utils=require(_0x3c7b('0x3'));var logger=require(_0x3c7b('0x4'))(_0x3c7b('0x5'));var config=require(_0x3c7b('0x6'));var jayson=require(_0x3c7b('0x7'));var client=jayson[_0x3c7b('0x8')][_0x3c7b('0x9')]({'port':0x232a});function respondWithRpcPromise(_0x227833,_0x5560ec,_0x144b47){return new BPromise(function(_0x82dac5,_0x3922c5){return client[_0x3c7b('0xa')](_0x227833,_0x144b47)[_0x3c7b('0xb')](function(_0x4eef06){logger[_0x3c7b('0xc')](_0x3c7b('0xd'),_0x5560ec,_0x3c7b('0xe'));logger['debug'](_0x3c7b('0xf'),_0x5560ec,_0x3c7b('0xe'),JSON[_0x3c7b('0x10')](_0x4eef06));if(_0x4eef06[_0x3c7b('0x11')]){if(_0x4eef06[_0x3c7b('0x11')]['code']===0x1f4){logger[_0x3c7b('0x11')](_0x3c7b('0xd'),_0x5560ec,_0x4eef06[_0x3c7b('0x11')][_0x3c7b('0x12')]);return _0x3922c5(_0x4eef06[_0x3c7b('0x11')]['message']);}logger[_0x3c7b('0x11')](_0x3c7b('0xd'),_0x5560ec,_0x4eef06[_0x3c7b('0x11')][_0x3c7b('0x12')]);return _0x82dac5(_0x4eef06[_0x3c7b('0x11')]['message']);}else{logger[_0x3c7b('0xc')](_0x3c7b('0xd'),_0x5560ec,_0x3c7b('0xe'));_0x82dac5(_0x4eef06[_0x3c7b('0x13')][_0x3c7b('0x12')]);}})['catch'](function(_0x2e27ff){logger[_0x3c7b('0x11')](_0x3c7b('0xd'),_0x5560ec,_0x2e27ff);_0x3922c5(_0x2e27ff);});});} \ No newline at end of file +var _0x3e30=['http','request','then','info','Dynamics365Configuration,\x20%s,\x20%s','debug','Dynamics365Configuration,\x20%s,\x20%s,\x20%s','request\x20sent','error','code','message','result','catch','lodash','randomstring','../../mysqldb','../../config/logger','rpc','jayson/promise'];(function(_0x48689f,_0x4e913f){var _0x43ae70=function(_0x5e68e2){while(--_0x5e68e2){_0x48689f['push'](_0x48689f['shift']());}};_0x43ae70(++_0x4e913f);}(_0x3e30,0x1d5));var _0x03e3=function(_0x23b776,_0x498230){_0x23b776=_0x23b776-0x0;var _0x27e693=_0x3e30[_0x23b776];return _0x27e693;};'use strict';var _=require(_0x03e3('0x0'));var util=require('util');var moment=require('moment');var BPromise=require('bluebird');var rs=require(_0x03e3('0x1'));var fs=require('fs');var Redis=require('ioredis');var db=require(_0x03e3('0x2'))['db'];var utils=require('../../config/utils');var logger=require(_0x03e3('0x3'))(_0x03e3('0x4'));var config=require('../../config/environment');var jayson=require(_0x03e3('0x5'));var client=jayson['client'][_0x03e3('0x6')]({'port':0x232a});function respondWithRpcPromise(_0x10c322,_0x1221cd,_0xc5aede){return new BPromise(function(_0x1b2dbf,_0xfb496b){return client[_0x03e3('0x7')](_0x10c322,_0xc5aede)[_0x03e3('0x8')](function(_0x476e87){logger[_0x03e3('0x9')](_0x03e3('0xa'),_0x1221cd,'request\x20sent');logger[_0x03e3('0xb')](_0x03e3('0xc'),_0x1221cd,_0x03e3('0xd'),JSON['stringify'](_0x476e87));if(_0x476e87['error']){if(_0x476e87[_0x03e3('0xe')][_0x03e3('0xf')]===0x1f4){logger[_0x03e3('0xe')]('Dynamics365Configuration,\x20%s,\x20%s',_0x1221cd,_0x476e87[_0x03e3('0xe')][_0x03e3('0x10')]);return _0xfb496b(_0x476e87[_0x03e3('0xe')][_0x03e3('0x10')]);}logger['error'](_0x03e3('0xa'),_0x1221cd,_0x476e87[_0x03e3('0xe')][_0x03e3('0x10')]);return _0x1b2dbf(_0x476e87[_0x03e3('0xe')][_0x03e3('0x10')]);}else{logger[_0x03e3('0x9')](_0x03e3('0xa'),_0x1221cd,_0x03e3('0xd'));_0x1b2dbf(_0x476e87[_0x03e3('0x11')][_0x03e3('0x10')]);}})[_0x03e3('0x12')](function(_0x5aa24c){logger[_0x03e3('0xe')](_0x03e3('0xa'),_0x1221cd,_0x5aa24c);_0xfb496b(_0x5aa24c);});});} \ No newline at end of file diff --git a/server/api/intDynamics365Field/index.js b/server/api/intDynamics365Field/index.js index 912db27..82527d6 100644 --- a/server/api/intDynamics365Field/index.js +++ b/server/api/intDynamics365Field/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xb4e6=['index','/:id','post','put','update','delete','exports','multer','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated'];(function(_0x48527c,_0x3b925b){var _0x5fa651=function(_0x301f68){while(--_0x301f68){_0x48527c['push'](_0x48527c['shift']());}};_0x5fa651(++_0x3b925b);}(_0xb4e6,0x1f4));var _0x6b4e=function(_0xdd2bfa,_0x5bd304){_0xdd2bfa=_0xdd2bfa-0x0;var _0x55397e=_0xb4e6[_0xdd2bfa];return _0x55397e;};'use strict';var multer=require(_0x6b4e('0x0'));var util=require('util');var path=require(_0x6b4e('0x1'));var timeout=require(_0x6b4e('0x2'));var express=require(_0x6b4e('0x3'));var router=express[_0x6b4e('0x4')]();var auth=require(_0x6b4e('0x5'));var interaction=require(_0x6b4e('0x6'));var config=require(_0x6b4e('0x7'));var controller=require('./intDynamics365Field.controller');router[_0x6b4e('0x8')]('/',auth[_0x6b4e('0x9')](),controller[_0x6b4e('0xa')]);router['get'](_0x6b4e('0xb'),auth['isAuthenticated'](),controller['show']);router[_0x6b4e('0xc')]('/',auth['isAuthenticated'](),controller['create']);router[_0x6b4e('0xd')](_0x6b4e('0xb'),auth[_0x6b4e('0x9')](),controller[_0x6b4e('0xe')]);router[_0x6b4e('0xf')](_0x6b4e('0xb'),auth[_0x6b4e('0x9')](),controller['destroy']);module[_0x6b4e('0x10')]=router; \ No newline at end of file +var _0xca66=['./intDynamics365Field.controller','isAuthenticated','index','get','/:id','show','post','create','put','update','delete','destroy','exports','multer','connect-timeout','express','Router','../../components/interaction/service'];(function(_0x5d5ce5,_0x3edde7){var _0x164178=function(_0x91d49e){while(--_0x91d49e){_0x5d5ce5['push'](_0x5d5ce5['shift']());}};_0x164178(++_0x3edde7);}(_0xca66,0x8b));var _0x6ca6=function(_0x78c5b7,_0x5ec4f2){_0x78c5b7=_0x78c5b7-0x0;var _0x52e166=_0xca66[_0x78c5b7];return _0x52e166;};'use strict';var multer=require(_0x6ca6('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x6ca6('0x1'));var express=require(_0x6ca6('0x2'));var router=express[_0x6ca6('0x3')]();var auth=require('../../components/auth/service');var interaction=require(_0x6ca6('0x4'));var config=require('../../config/environment');var controller=require(_0x6ca6('0x5'));router['get']('/',auth[_0x6ca6('0x6')](),controller[_0x6ca6('0x7')]);router[_0x6ca6('0x8')](_0x6ca6('0x9'),auth[_0x6ca6('0x6')](),controller[_0x6ca6('0xa')]);router[_0x6ca6('0xb')]('/',auth['isAuthenticated'](),controller[_0x6ca6('0xc')]);router[_0x6ca6('0xd')](_0x6ca6('0x9'),auth[_0x6ca6('0x6')](),controller[_0x6ca6('0xe')]);router[_0x6ca6('0xf')](_0x6ca6('0x9'),auth['isAuthenticated'](),controller[_0x6ca6('0x10')]);module[_0x6ca6('0x11')]=router; \ No newline at end of file diff --git a/server/api/intDynamics365Field/intDynamics365Field.attributes.js b/server/api/intDynamics365Field/intDynamics365Field.attributes.js index c470e17..cc88fe7 100644 --- a/server/api/intDynamics365Field/intDynamics365Field.attributes.js +++ b/server/api/intDynamics365Field/intDynamics365Field.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xa6e7=['variable','customVariable','sequelize','ENUM','string','STRING'];(function(_0x5b79b9,_0x29dd84){var _0x1d6c4b=function(_0x470753){while(--_0x470753){_0x5b79b9['push'](_0x5b79b9['shift']());}};_0x1d6c4b(++_0x29dd84);}(_0xa6e7,0xb0));var _0x7a6e=function(_0x3b605c,_0x2f829a){_0x3b605c=_0x3b605c-0x0;var _0x2f9825=_0xa6e7[_0x3b605c];return _0x2f9825;};'use strict';var Sequelize=require(_0x7a6e('0x0'));module['exports']={'type':{'type':Sequelize[_0x7a6e('0x1')](_0x7a6e('0x2'),'variable','customVariable','keyValue'),'defaultValue':_0x7a6e('0x2')},'content':{'type':Sequelize[_0x7a6e('0x3')]},'key':{'type':Sequelize[_0x7a6e('0x3')]},'keyType':{'type':Sequelize[_0x7a6e('0x1')]('string',_0x7a6e('0x4'),_0x7a6e('0x5'))},'keyContent':{'type':Sequelize[_0x7a6e('0x3')]},'idField':{'type':Sequelize['STRING']},'nameField':{'type':Sequelize['STRING']},'customField':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'variableName':{'type':Sequelize[_0x7a6e('0x3')]}}; \ No newline at end of file +var _0x8bf5=['variable','BOOLEAN','exports','ENUM','string','customVariable','keyValue','STRING'];(function(_0xa464c9,_0x7c86d8){var _0x3d73c4=function(_0x5c2056){while(--_0x5c2056){_0xa464c9['push'](_0xa464c9['shift']());}};_0x3d73c4(++_0x7c86d8);}(_0x8bf5,0x172));var _0x58bf=function(_0x130e07,_0x932576){_0x130e07=_0x130e07-0x0;var _0x249c80=_0x8bf5[_0x130e07];return _0x249c80;};'use strict';var Sequelize=require('sequelize');module[_0x58bf('0x0')]={'type':{'type':Sequelize[_0x58bf('0x1')](_0x58bf('0x2'),'variable',_0x58bf('0x3'),_0x58bf('0x4')),'defaultValue':_0x58bf('0x2')},'content':{'type':Sequelize[_0x58bf('0x5')]},'key':{'type':Sequelize[_0x58bf('0x5')]},'keyType':{'type':Sequelize[_0x58bf('0x1')](_0x58bf('0x2'),_0x58bf('0x6'),'customVariable')},'keyContent':{'type':Sequelize[_0x58bf('0x5')]},'idField':{'type':Sequelize[_0x58bf('0x5')]},'nameField':{'type':Sequelize['STRING']},'customField':{'type':Sequelize[_0x58bf('0x7')],'defaultValue':!![]},'variableName':{'type':Sequelize[_0x58bf('0x5')]}}; \ No newline at end of file diff --git a/server/api/intDynamics365Field/intDynamics365Field.controller.js b/server/api/intDynamics365Field/intDynamics365Field.controller.js index 569257a..f172ffe 100644 --- a/server/api/intDynamics365Field/intDynamics365Field.controller.js +++ b/server/api/intDynamics365Field/intDynamics365Field.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xc560=['squel','jsforce','querystring','papaparse','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','status','end','offset','json','apply','reject','save','update','then','destroy','sendStatus','stack','name','send','index','Dynamics365Field','fieldName','type','key','model','map','query','filters','attributes','intersection','fields','length','hasOwnProperty','nolimit','limit','order','sort','where','pick','filter','merge','options','count','include','findAll','rows','catch','show','keys','includeAll','create','body','find','html-pdf','rimraf','fast-json-patch','bluebird','mustache','util','path','to-csv','ejs','lodash'];(function(_0x12fc8d,_0x19ee33){var _0x3f9d04=function(_0x52e51c){while(--_0x52e51c){_0x12fc8d['push'](_0x12fc8d['shift']());}};_0x3f9d04(++_0x19ee33);}(_0xc560,0x82));var _0x0c56=function(_0x43cfef,_0x50b39e){_0x43cfef=_0x43cfef-0x0;var _0x191874=_0xc560[_0x43cfef];return _0x191874;};'use strict';var pdf=require(_0x0c56('0x0'));var emlformat=require('eml-format');var rimraf=require(_0x0c56('0x1'));var zipdir=require('zip-dir');var jsonpatch=require(_0x0c56('0x2'));var rp=require('request-promise');var moment=require('moment');var BPromise=require(_0x0c56('0x3'));var Mustache=require(_0x0c56('0x4'));var util=require(_0x0c56('0x5'));var path=require(_0x0c56('0x6'));var sox=require('sox');var csv=require(_0x0c56('0x7'));var ejs=require(_0x0c56('0x8'));var fs=require('fs');var _=require(_0x0c56('0x9'));var squel=require(_0x0c56('0xa'));var crypto=require('crypto');var jsforce=require(_0x0c56('0xb'));var deskjs=require('desk.js');var toCsv=require(_0x0c56('0x7'));var querystring=require(_0x0c56('0xc'));var Papa=require(_0x0c56('0xd'));var Redis=require('ioredis');var authService=require(_0x0c56('0xe'));var qs=require(_0x0c56('0xf'));var as=require(_0x0c56('0x10'));var hardwareService=require('../../config/license/hardware');var logger=require(_0x0c56('0x11'))(_0x0c56('0x12'));var utils=require(_0x0c56('0x13'));var config=require(_0x0c56('0x14'));var db=require(_0x0c56('0x15'))['db'];function respondWithStatusCode(_0x3de62e,_0x3a04d3){_0x3a04d3=_0x3a04d3||0xcc;return function(_0x5217f9){if(_0x5217f9){return _0x3de62e['sendStatus'](_0x3a04d3);}return _0x3de62e[_0x0c56('0x16')](_0x3a04d3)[_0x0c56('0x17')]();};}function respondWithResult(_0x367417,_0x1bc521){_0x1bc521=_0x1bc521||0xc8;return function(_0x2b220b){if(_0x2b220b){return _0x367417[_0x0c56('0x16')](_0x1bc521)['json'](_0x2b220b);}};}function respondWithFilteredResult(_0x459895,_0x243fc1){return function(_0x218fd7){if(_0x218fd7){var _0x8ce88b=_0x218fd7['count'],_0x5425=_0x243fc1['offset'],_0x4b1284=_0x243fc1[_0x0c56('0x18')]+_0x243fc1['limit'],_0x2a28ea;if(_0x4b1284>=_0x8ce88b){_0x4b1284=_0x8ce88b;_0x2a28ea=0xc8;}else{_0x2a28ea=0xce;}_0x459895[_0x0c56('0x16')](_0x2a28ea);return _0x459895['set']('Content-Range',_0x5425+'-'+_0x4b1284+'/'+_0x8ce88b)[_0x0c56('0x19')](_0x218fd7);}return null;};}function patchUpdates(_0x11fc53){return function(_0x3d76ce){try{jsonpatch[_0x0c56('0x1a')](_0x3d76ce,_0x11fc53,!![]);}catch(_0x116735){return BPromise[_0x0c56('0x1b')](_0x116735);}return _0x3d76ce[_0x0c56('0x1c')]();};}function saveUpdates(_0x3b9e6a,_0x27c230){return function(_0x2c65c5){if(_0x2c65c5){return _0x2c65c5[_0x0c56('0x1d')](_0x3b9e6a)[_0x0c56('0x1e')](function(_0x5be2bb){return _0x5be2bb;});}return null;};}function removeEntity(_0x559587,_0x1dab3e){return function(_0x2e5c24){if(_0x2e5c24){return _0x2e5c24[_0x0c56('0x1f')]()[_0x0c56('0x1e')](function(){_0x559587[_0x0c56('0x16')](0xcc)['end']();});}};}function handleEntityNotFound(_0x39cac2,_0x1b6812){return function(_0x448bad){if(!_0x448bad){_0x39cac2[_0x0c56('0x20')](0x194);}return _0x448bad;};}function handleError(_0x3bd6d4,_0x48ced5){_0x48ced5=_0x48ced5||0x1f4;return function(_0x2b0c65){logger['error'](_0x2b0c65[_0x0c56('0x21')]);if(_0x2b0c65['name']){delete _0x2b0c65[_0x0c56('0x22')];}_0x3bd6d4[_0x0c56('0x16')](_0x48ced5)[_0x0c56('0x23')](_0x2b0c65);};}exports[_0x0c56('0x24')]=function(_0x47491,_0x5189e4){var _0x2cbe87={},_0x5c1495={},_0x156fa0={'count':0x0,'rows':[]};var _0x3a8f23=_['map'](db[_0x0c56('0x25')]['rawAttributes'],function(_0x6acf19){return{'name':_0x6acf19[_0x0c56('0x26')],'type':_0x6acf19[_0x0c56('0x27')][_0x0c56('0x28')]};});_0x5c1495[_0x0c56('0x29')]=_[_0x0c56('0x2a')](_0x3a8f23,_0x0c56('0x22'));_0x5c1495[_0x0c56('0x2b')]=_['keys'](_0x47491[_0x0c56('0x2b')]);_0x5c1495[_0x0c56('0x2c')]=_['intersection'](_0x5c1495[_0x0c56('0x29')],_0x5c1495[_0x0c56('0x2b')]);_0x2cbe87[_0x0c56('0x2d')]=_[_0x0c56('0x2e')](_0x5c1495['model'],qs[_0x0c56('0x2f')](_0x47491[_0x0c56('0x2b')]['fields']));_0x2cbe87[_0x0c56('0x2d')]=_0x2cbe87['attributes'][_0x0c56('0x30')]?_0x2cbe87[_0x0c56('0x2d')]:_0x5c1495[_0x0c56('0x29')];if(!_0x47491[_0x0c56('0x2b')][_0x0c56('0x31')](_0x0c56('0x32'))){_0x2cbe87['limit']=qs[_0x0c56('0x33')](_0x47491[_0x0c56('0x2b')]['limit']);_0x2cbe87[_0x0c56('0x18')]=qs[_0x0c56('0x18')](_0x47491[_0x0c56('0x2b')][_0x0c56('0x18')]);}_0x2cbe87[_0x0c56('0x34')]=qs[_0x0c56('0x35')](_0x47491[_0x0c56('0x2b')][_0x0c56('0x35')]);_0x2cbe87[_0x0c56('0x36')]=qs[_0x0c56('0x2c')](_[_0x0c56('0x37')](_0x47491['query'],_0x5c1495['filters']),_0x3a8f23);if(_0x47491[_0x0c56('0x2b')][_0x0c56('0x38')]){_0x2cbe87[_0x0c56('0x36')]=_[_0x0c56('0x39')](_0x2cbe87['where'],{'$or':_[_0x0c56('0x2a')](_0x3a8f23,function(_0x5036ef){if(_0x5036ef[_0x0c56('0x27')]!=='VIRTUAL'){var _0x57f434={};_0x57f434[_0x5036ef[_0x0c56('0x22')]]={'$like':'%'+_0x47491[_0x0c56('0x2b')]['filter']+'%'};return _0x57f434;}})});}_0x2cbe87=_['merge']({},_0x2cbe87,_0x47491[_0x0c56('0x3a')]);var _0x4ec3bf={'where':_0x2cbe87[_0x0c56('0x36')]};return db[_0x0c56('0x25')][_0x0c56('0x3b')](_0x4ec3bf)[_0x0c56('0x1e')](function(_0xa4be8f){_0x156fa0[_0x0c56('0x3b')]=_0xa4be8f;if(_0x47491[_0x0c56('0x2b')]['includeAll']){_0x2cbe87[_0x0c56('0x3c')]=[{'all':!![]}];}return db[_0x0c56('0x25')][_0x0c56('0x3d')](_0x2cbe87);})['then'](function(_0x5c5b42){_0x156fa0[_0x0c56('0x3e')]=_0x5c5b42;return _0x156fa0;})[_0x0c56('0x1e')](respondWithFilteredResult(_0x5189e4,_0x2cbe87))[_0x0c56('0x3f')](handleError(_0x5189e4,null));};exports[_0x0c56('0x40')]=function(_0x278e8f,_0x4a23ce){var _0xfbe753={'raw':!![],'where':{'id':_0x278e8f['params']['id']}},_0x1a3465={};_0x1a3465['model']=_[_0x0c56('0x41')](db[_0x0c56('0x25')]['rawAttributes']);_0x1a3465[_0x0c56('0x2b')]=_[_0x0c56('0x41')](_0x278e8f[_0x0c56('0x2b')]);_0x1a3465['filters']=_[_0x0c56('0x2e')](_0x1a3465['model'],_0x1a3465[_0x0c56('0x2b')]);_0xfbe753['attributes']=_[_0x0c56('0x2e')](_0x1a3465[_0x0c56('0x29')],qs[_0x0c56('0x2f')](_0x278e8f[_0x0c56('0x2b')][_0x0c56('0x2f')]));_0xfbe753[_0x0c56('0x2d')]=_0xfbe753[_0x0c56('0x2d')][_0x0c56('0x30')]?_0xfbe753[_0x0c56('0x2d')]:_0x1a3465[_0x0c56('0x29')];if(_0x278e8f[_0x0c56('0x2b')][_0x0c56('0x42')]){_0xfbe753[_0x0c56('0x3c')]=[{'all':!![]}];}_0xfbe753=_[_0x0c56('0x39')]({},_0xfbe753,_0x278e8f[_0x0c56('0x3a')]);return db[_0x0c56('0x25')]['find'](_0xfbe753)['then'](handleEntityNotFound(_0x4a23ce,null))['then'](respondWithResult(_0x4a23ce,null))[_0x0c56('0x3f')](handleError(_0x4a23ce,null));};exports[_0x0c56('0x43')]=function(_0x4e1ff6,_0x1ee2fa){return db['Dynamics365Field'][_0x0c56('0x43')](_0x4e1ff6['body'],{})[_0x0c56('0x1e')](respondWithResult(_0x1ee2fa,0xc9))[_0x0c56('0x3f')](handleError(_0x1ee2fa,null));};exports[_0x0c56('0x1d')]=function(_0x447723,_0x15ec0d){if(_0x447723['body']['id']){delete _0x447723[_0x0c56('0x44')]['id'];}return db[_0x0c56('0x25')]['find']({'where':{'id':_0x447723['params']['id']}})[_0x0c56('0x1e')](handleEntityNotFound(_0x15ec0d,null))[_0x0c56('0x1e')](saveUpdates(_0x447723[_0x0c56('0x44')],null))[_0x0c56('0x1e')](respondWithResult(_0x15ec0d,null))[_0x0c56('0x3f')](handleError(_0x15ec0d,null));};exports[_0x0c56('0x1f')]=function(_0xda0ae0,_0x3bba2c){return db['Dynamics365Field'][_0x0c56('0x45')]({'where':{'id':_0xda0ae0['params']['id']}})[_0x0c56('0x1e')](handleEntityNotFound(_0x3bba2c,null))[_0x0c56('0x1e')](removeEntity(_0x3bba2c,null))[_0x0c56('0x3f')](handleError(_0x3bba2c,null));}; \ No newline at end of file +var _0x336a=['count','include','findAll','catch','show','params','keys','includeAll','find','create','body','html-pdf','eml-format','rimraf','fast-json-patch','request-promise','moment','mustache','util','path','sox','to-csv','lodash','squel','crypto','jsforce','desk.js','querystring','papaparse','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','sendStatus','status','json','offset','limit','set','Content-Range','apply','reject','save','update','destroy','then','error','stack','name','send','index','map','Dynamics365Field','rawAttributes','fieldName','type','key','model','query','filters','intersection','fields','attributes','length','hasOwnProperty','nolimit','order','sort','where','merge','VIRTUAL','options'];(function(_0xe95191,_0x1513c0){var _0x2845cc=function(_0x467baf){while(--_0x467baf){_0xe95191['push'](_0xe95191['shift']());}};_0x2845cc(++_0x1513c0);}(_0x336a,0xa3));var _0xa336=function(_0x278e3c,_0x1c9cfd){_0x278e3c=_0x278e3c-0x0;var _0x3e2d9b=_0x336a[_0x278e3c];return _0x3e2d9b;};'use strict';var pdf=require(_0xa336('0x0'));var emlformat=require(_0xa336('0x1'));var rimraf=require(_0xa336('0x2'));var zipdir=require('zip-dir');var jsonpatch=require(_0xa336('0x3'));var rp=require(_0xa336('0x4'));var moment=require(_0xa336('0x5'));var BPromise=require('bluebird');var Mustache=require(_0xa336('0x6'));var util=require(_0xa336('0x7'));var path=require(_0xa336('0x8'));var sox=require(_0xa336('0x9'));var csv=require(_0xa336('0xa'));var ejs=require('ejs');var fs=require('fs');var _=require(_0xa336('0xb'));var squel=require(_0xa336('0xc'));var crypto=require(_0xa336('0xd'));var jsforce=require(_0xa336('0xe'));var deskjs=require(_0xa336('0xf'));var toCsv=require(_0xa336('0xa'));var querystring=require(_0xa336('0x10'));var Papa=require(_0xa336('0x11'));var Redis=require('ioredis');var authService=require('../../components/auth/service');var qs=require(_0xa336('0x12'));var as=require(_0xa336('0x13'));var hardwareService=require(_0xa336('0x14'));var logger=require(_0xa336('0x15'))(_0xa336('0x16'));var utils=require(_0xa336('0x17'));var config=require(_0xa336('0x18'));var db=require(_0xa336('0x19'))['db'];function respondWithStatusCode(_0x5d3268,_0x1ece16){_0x1ece16=_0x1ece16||0xcc;return function(_0x3d6114){if(_0x3d6114){return _0x5d3268[_0xa336('0x1a')](_0x1ece16);}return _0x5d3268[_0xa336('0x1b')](_0x1ece16)['end']();};}function respondWithResult(_0x5a2e4a,_0x2da83c){_0x2da83c=_0x2da83c||0xc8;return function(_0x3f8f4e){if(_0x3f8f4e){return _0x5a2e4a[_0xa336('0x1b')](_0x2da83c)[_0xa336('0x1c')](_0x3f8f4e);}};}function respondWithFilteredResult(_0x2ed32c,_0x186957){return function(_0x382e2f){if(_0x382e2f){var _0x478b72=_0x382e2f['count'],_0x2af4e8=_0x186957['offset'],_0x189bd7=_0x186957[_0xa336('0x1d')]+_0x186957[_0xa336('0x1e')],_0x1060c1;if(_0x189bd7>=_0x478b72){_0x189bd7=_0x478b72;_0x1060c1=0xc8;}else{_0x1060c1=0xce;}_0x2ed32c[_0xa336('0x1b')](_0x1060c1);return _0x2ed32c[_0xa336('0x1f')](_0xa336('0x20'),_0x2af4e8+'-'+_0x189bd7+'/'+_0x478b72)[_0xa336('0x1c')](_0x382e2f);}return null;};}function patchUpdates(_0x338312){return function(_0x14f131){try{jsonpatch[_0xa336('0x21')](_0x14f131,_0x338312,!![]);}catch(_0x3f6718){return BPromise[_0xa336('0x22')](_0x3f6718);}return _0x14f131[_0xa336('0x23')]();};}function saveUpdates(_0x3412ed,_0x53360d){return function(_0x2eddb9){if(_0x2eddb9){return _0x2eddb9[_0xa336('0x24')](_0x3412ed)['then'](function(_0x1a58a5){return _0x1a58a5;});}return null;};}function removeEntity(_0x96b456,_0x1625e4){return function(_0x2b2dca){if(_0x2b2dca){return _0x2b2dca[_0xa336('0x25')]()[_0xa336('0x26')](function(){_0x96b456[_0xa336('0x1b')](0xcc)['end']();});}};}function handleEntityNotFound(_0x4d5567,_0x50e3fb){return function(_0x50bd0f){if(!_0x50bd0f){_0x4d5567['sendStatus'](0x194);}return _0x50bd0f;};}function handleError(_0x12fc38,_0x745266){_0x745266=_0x745266||0x1f4;return function(_0x3a527c){logger[_0xa336('0x27')](_0x3a527c[_0xa336('0x28')]);if(_0x3a527c[_0xa336('0x29')]){delete _0x3a527c[_0xa336('0x29')];}_0x12fc38[_0xa336('0x1b')](_0x745266)[_0xa336('0x2a')](_0x3a527c);};}exports[_0xa336('0x2b')]=function(_0xe89cb3,_0x4d6193){var _0x15c6e5={},_0x46e99d={},_0x31ab7a={'count':0x0,'rows':[]};var _0x3e3f85=_[_0xa336('0x2c')](db[_0xa336('0x2d')][_0xa336('0x2e')],function(_0x2916be){return{'name':_0x2916be[_0xa336('0x2f')],'type':_0x2916be[_0xa336('0x30')][_0xa336('0x31')]};});_0x46e99d[_0xa336('0x32')]=_[_0xa336('0x2c')](_0x3e3f85,_0xa336('0x29'));_0x46e99d['query']=_['keys'](_0xe89cb3[_0xa336('0x33')]);_0x46e99d[_0xa336('0x34')]=_[_0xa336('0x35')](_0x46e99d['model'],_0x46e99d[_0xa336('0x33')]);_0x15c6e5['attributes']=_[_0xa336('0x35')](_0x46e99d[_0xa336('0x32')],qs[_0xa336('0x36')](_0xe89cb3['query'][_0xa336('0x36')]));_0x15c6e5[_0xa336('0x37')]=_0x15c6e5[_0xa336('0x37')][_0xa336('0x38')]?_0x15c6e5['attributes']:_0x46e99d[_0xa336('0x32')];if(!_0xe89cb3[_0xa336('0x33')][_0xa336('0x39')](_0xa336('0x3a'))){_0x15c6e5[_0xa336('0x1e')]=qs[_0xa336('0x1e')](_0xe89cb3['query'][_0xa336('0x1e')]);_0x15c6e5['offset']=qs[_0xa336('0x1d')](_0xe89cb3[_0xa336('0x33')]['offset']);}_0x15c6e5[_0xa336('0x3b')]=qs['sort'](_0xe89cb3[_0xa336('0x33')][_0xa336('0x3c')]);_0x15c6e5[_0xa336('0x3d')]=qs[_0xa336('0x34')](_['pick'](_0xe89cb3[_0xa336('0x33')],_0x46e99d[_0xa336('0x34')]),_0x3e3f85);if(_0xe89cb3[_0xa336('0x33')]['filter']){_0x15c6e5[_0xa336('0x3d')]=_[_0xa336('0x3e')](_0x15c6e5[_0xa336('0x3d')],{'$or':_[_0xa336('0x2c')](_0x3e3f85,function(_0x1f009a){if(_0x1f009a[_0xa336('0x30')]!==_0xa336('0x3f')){var _0xc91847={};_0xc91847[_0x1f009a[_0xa336('0x29')]]={'$like':'%'+_0xe89cb3[_0xa336('0x33')]['filter']+'%'};return _0xc91847;}})});}_0x15c6e5=_[_0xa336('0x3e')]({},_0x15c6e5,_0xe89cb3[_0xa336('0x40')]);var _0x135d2a={'where':_0x15c6e5['where']};return db[_0xa336('0x2d')]['count'](_0x135d2a)[_0xa336('0x26')](function(_0x573a59){_0x31ab7a[_0xa336('0x41')]=_0x573a59;if(_0xe89cb3[_0xa336('0x33')]['includeAll']){_0x15c6e5[_0xa336('0x42')]=[{'all':!![]}];}return db[_0xa336('0x2d')][_0xa336('0x43')](_0x15c6e5);})[_0xa336('0x26')](function(_0x2f8ece){_0x31ab7a['rows']=_0x2f8ece;return _0x31ab7a;})[_0xa336('0x26')](respondWithFilteredResult(_0x4d6193,_0x15c6e5))[_0xa336('0x44')](handleError(_0x4d6193,null));};exports[_0xa336('0x45')]=function(_0x438a05,_0x4a69fe){var _0x861049={'raw':!![],'where':{'id':_0x438a05[_0xa336('0x46')]['id']}},_0x1fd05a={};_0x1fd05a['model']=_[_0xa336('0x47')](db['Dynamics365Field']['rawAttributes']);_0x1fd05a['query']=_[_0xa336('0x47')](_0x438a05[_0xa336('0x33')]);_0x1fd05a[_0xa336('0x34')]=_['intersection'](_0x1fd05a[_0xa336('0x32')],_0x1fd05a[_0xa336('0x33')]);_0x861049[_0xa336('0x37')]=_[_0xa336('0x35')](_0x1fd05a[_0xa336('0x32')],qs[_0xa336('0x36')](_0x438a05[_0xa336('0x33')][_0xa336('0x36')]));_0x861049[_0xa336('0x37')]=_0x861049[_0xa336('0x37')]['length']?_0x861049['attributes']:_0x1fd05a[_0xa336('0x32')];if(_0x438a05[_0xa336('0x33')][_0xa336('0x48')]){_0x861049[_0xa336('0x42')]=[{'all':!![]}];}_0x861049=_[_0xa336('0x3e')]({},_0x861049,_0x438a05[_0xa336('0x40')]);return db['Dynamics365Field'][_0xa336('0x49')](_0x861049)[_0xa336('0x26')](handleEntityNotFound(_0x4a69fe,null))['then'](respondWithResult(_0x4a69fe,null))[_0xa336('0x44')](handleError(_0x4a69fe,null));};exports[_0xa336('0x4a')]=function(_0xf23f17,_0x55899b){return db[_0xa336('0x2d')]['create'](_0xf23f17[_0xa336('0x4b')],{})[_0xa336('0x26')](respondWithResult(_0x55899b,0xc9))['catch'](handleError(_0x55899b,null));};exports['update']=function(_0x51992c,_0xc99f08){if(_0x51992c[_0xa336('0x4b')]['id']){delete _0x51992c[_0xa336('0x4b')]['id'];}return db[_0xa336('0x2d')][_0xa336('0x49')]({'where':{'id':_0x51992c[_0xa336('0x46')]['id']}})[_0xa336('0x26')](handleEntityNotFound(_0xc99f08,null))[_0xa336('0x26')](saveUpdates(_0x51992c[_0xa336('0x4b')],null))[_0xa336('0x26')](respondWithResult(_0xc99f08,null))[_0xa336('0x44')](handleError(_0xc99f08,null));};exports['destroy']=function(_0x5b2609,_0x447b9d){return db[_0xa336('0x2d')][_0xa336('0x49')]({'where':{'id':_0x5b2609['params']['id']}})[_0xa336('0x26')](handleEntityNotFound(_0x447b9d,null))[_0xa336('0x26')](removeEntity(_0x447b9d,null))['catch'](handleError(_0x447b9d,null));}; \ No newline at end of file diff --git a/server/api/intDynamics365Field/intDynamics365Field.model.js b/server/api/intDynamics365Field/intDynamics365Field.model.js index 48951ea..0b88007 100644 --- a/server/api/intDynamics365Field/intDynamics365Field.model.js +++ b/server/api/intDynamics365Field/intDynamics365Field.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xc6a5=['lodash','util','../../config/logger','api','moment','path','rimraf','../../config/environment','./intDynamics365Field.attributes','exports','idField','FieldId'];(function(_0xce9154,_0x551e9e){var _0x52add9=function(_0x4d325b){while(--_0x4d325b){_0xce9154['push'](_0xce9154['shift']());}};_0x52add9(++_0x551e9e);}(_0xc6a5,0x9c));var _0x5c6a=function(_0x2eefda,_0x42d57f){_0x2eefda=_0x2eefda-0x0;var _0x495b1f=_0xc6a5[_0x2eefda];return _0x495b1f;};'use strict';var _=require(_0x5c6a('0x0'));var util=require(_0x5c6a('0x1'));var logger=require(_0x5c6a('0x2'))(_0x5c6a('0x3'));var moment=require(_0x5c6a('0x4'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x5c6a('0x5'));var rimraf=require(_0x5c6a('0x6'));var config=require(_0x5c6a('0x7'));var attributes=require(_0x5c6a('0x8'));module[_0x5c6a('0x9')]=function(_0x464b3d,_0x43ce20){return _0x464b3d['define']('Dynamics365Field',attributes,{'tableName':'int_dynamics365_fields','paranoid':![],'indexes':[{'name':'dynamics365_unique_index','fields':[_0x5c6a('0xa'),_0x5c6a('0xb')],'unique':!![]}],'timestamps':!![]});}; \ No newline at end of file +var _0x8b51=['util','../../config/logger','api','moment','bluebird','request-promise','rimraf','../../config/environment','exports','define','Dynamics365Field','idField','FieldId','lodash'];(function(_0x24a9e0,_0x208772){var _0x1edeff=function(_0x51f2e1){while(--_0x51f2e1){_0x24a9e0['push'](_0x24a9e0['shift']());}};_0x1edeff(++_0x208772);}(_0x8b51,0xfb));var _0x18b5=function(_0x11af15,_0x4dc6d8){_0x11af15=_0x11af15-0x0;var _0x102915=_0x8b51[_0x11af15];return _0x102915;};'use strict';var _=require(_0x18b5('0x0'));var util=require(_0x18b5('0x1'));var logger=require(_0x18b5('0x2'))(_0x18b5('0x3'));var moment=require(_0x18b5('0x4'));var BPromise=require(_0x18b5('0x5'));var rp=require(_0x18b5('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0x18b5('0x7'));var config=require(_0x18b5('0x8'));var attributes=require('./intDynamics365Field.attributes');module[_0x18b5('0x9')]=function(_0x1b01cf,_0x469616){return _0x1b01cf[_0x18b5('0xa')](_0x18b5('0xb'),attributes,{'tableName':'int_dynamics365_fields','paranoid':![],'indexes':[{'name':'dynamics365_unique_index','fields':[_0x18b5('0xc'),_0x18b5('0xd')],'unique':!![]}],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/intDynamics365Field/intDynamics365Field.rpc.js b/server/api/intDynamics365Field/intDynamics365Field.rpc.js index ef4030e..594e5f2 100644 --- a/server/api/intDynamics365Field/intDynamics365Field.rpc.js +++ b/server/api/intDynamics365Field/intDynamics365Field.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xb96d=['then','Dynamics365Field,\x20%s,\x20%s','request\x20sent','Dynamics365Field,\x20%s,\x20%s,\x20%s','stringify','error','code','message','info','result','catch','util','moment','bluebird','ioredis','../../mysqldb','../../config/utils','../../config/environment','jayson/promise','client','http'];(function(_0x27d0ad,_0x17fc5b){var _0x531d50=function(_0x5ef023){while(--_0x5ef023){_0x27d0ad['push'](_0x27d0ad['shift']());}};_0x531d50(++_0x17fc5b);}(_0xb96d,0x9e));var _0xdb96=function(_0x4dcc2d,_0x422839){_0x4dcc2d=_0x4dcc2d-0x0;var _0x1bbd79=_0xb96d[_0x4dcc2d];return _0x1bbd79;};'use strict';var _=require('lodash');var util=require(_0xdb96('0x0'));var moment=require(_0xdb96('0x1'));var BPromise=require(_0xdb96('0x2'));var rs=require('randomstring');var fs=require('fs');var Redis=require(_0xdb96('0x3'));var db=require(_0xdb96('0x4'))['db'];var utils=require(_0xdb96('0x5'));var logger=require('../../config/logger')('rpc');var config=require(_0xdb96('0x6'));var jayson=require(_0xdb96('0x7'));var client=jayson[_0xdb96('0x8')][_0xdb96('0x9')]({'port':0x232a});function respondWithRpcPromise(_0x4f5e6f,_0x294084,_0x571e0e){return new BPromise(function(_0x5e2e95,_0x3384b4){return client['request'](_0x4f5e6f,_0x571e0e)[_0xdb96('0xa')](function(_0xaea492){logger['info'](_0xdb96('0xb'),_0x294084,_0xdb96('0xc'));logger['debug'](_0xdb96('0xd'),_0x294084,_0xdb96('0xc'),JSON[_0xdb96('0xe')](_0xaea492));if(_0xaea492[_0xdb96('0xf')]){if(_0xaea492['error'][_0xdb96('0x10')]===0x1f4){logger[_0xdb96('0xf')](_0xdb96('0xb'),_0x294084,_0xaea492['error'][_0xdb96('0x11')]);return _0x3384b4(_0xaea492[_0xdb96('0xf')][_0xdb96('0x11')]);}logger[_0xdb96('0xf')](_0xdb96('0xb'),_0x294084,_0xaea492[_0xdb96('0xf')][_0xdb96('0x11')]);return _0x5e2e95(_0xaea492[_0xdb96('0xf')][_0xdb96('0x11')]);}else{logger[_0xdb96('0x12')](_0xdb96('0xb'),_0x294084,_0xdb96('0xc'));_0x5e2e95(_0xaea492[_0xdb96('0x13')]['message']);}})[_0xdb96('0x14')](function(_0x2a766e){logger[_0xdb96('0xf')](_0xdb96('0xb'),_0x294084,_0x2a766e);_0x3384b4(_0x2a766e);});});} \ No newline at end of file +var _0x7096=['code','message','result','catch','util','bluebird','ioredis','../../mysqldb','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','client','http','then','info','Dynamics365Field,\x20%s,\x20%s','request\x20sent','debug','stringify','error'];(function(_0x30faec,_0x18940b){var _0x29484f=function(_0x169ae8){while(--_0x169ae8){_0x30faec['push'](_0x30faec['shift']());}};_0x29484f(++_0x18940b);}(_0x7096,0x10c));var _0x6709=function(_0x550d12,_0x5384bd){_0x550d12=_0x550d12-0x0;var _0x12103d=_0x7096[_0x550d12];return _0x12103d;};'use strict';var _=require('lodash');var util=require(_0x6709('0x0'));var moment=require('moment');var BPromise=require(_0x6709('0x1'));var rs=require('randomstring');var fs=require('fs');var Redis=require(_0x6709('0x2'));var db=require(_0x6709('0x3'))['db'];var utils=require(_0x6709('0x4'));var logger=require(_0x6709('0x5'))(_0x6709('0x6'));var config=require(_0x6709('0x7'));var jayson=require(_0x6709('0x8'));var client=jayson[_0x6709('0x9')][_0x6709('0xa')]({'port':0x232a});function respondWithRpcPromise(_0x3e2223,_0x11ad23,_0x985814){return new BPromise(function(_0x30147f,_0x513ab6){return client['request'](_0x3e2223,_0x985814)[_0x6709('0xb')](function(_0x2d8c0b){logger[_0x6709('0xc')](_0x6709('0xd'),_0x11ad23,_0x6709('0xe'));logger[_0x6709('0xf')]('Dynamics365Field,\x20%s,\x20%s,\x20%s',_0x11ad23,'request\x20sent',JSON[_0x6709('0x10')](_0x2d8c0b));if(_0x2d8c0b[_0x6709('0x11')]){if(_0x2d8c0b[_0x6709('0x11')][_0x6709('0x12')]===0x1f4){logger[_0x6709('0x11')](_0x6709('0xd'),_0x11ad23,_0x2d8c0b[_0x6709('0x11')][_0x6709('0x13')]);return _0x513ab6(_0x2d8c0b['error'][_0x6709('0x13')]);}logger[_0x6709('0x11')](_0x6709('0xd'),_0x11ad23,_0x2d8c0b[_0x6709('0x11')]['message']);return _0x30147f(_0x2d8c0b[_0x6709('0x11')]['message']);}else{logger[_0x6709('0xc')]('Dynamics365Field,\x20%s,\x20%s',_0x11ad23,_0x6709('0xe'));_0x30147f(_0x2d8c0b[_0x6709('0x14')][_0x6709('0x13')]);}})[_0x6709('0x15')](function(_0x4cab30){logger['error']('Dynamics365Field,\x20%s,\x20%s',_0x11ad23,_0x4cab30);_0x513ab6(_0x4cab30);});});} \ No newline at end of file diff --git a/server/api/intFreshdeskAccount/index.js b/server/api/intFreshdeskAccount/index.js index 8562a3d..1329141 100644 --- a/server/api/intFreshdeskAccount/index.js +++ b/server/api/intFreshdeskAccount/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x2a08=['connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./intFreshdeskAccount.controller','isAuthenticated','index','/:id','show','get','/:id/configurations','getConfigurations','getFields','create','post','addConfiguration','put','update','delete','destroy','multer','util','path'];(function(_0x5c1f5a,_0x411a19){var _0x59ae3c=function(_0x5b4158){while(--_0x5b4158){_0x5c1f5a['push'](_0x5c1f5a['shift']());}};_0x59ae3c(++_0x411a19);}(_0x2a08,0x174));var _0x82a0=function(_0x164eca,_0x555e28){_0x164eca=_0x164eca-0x0;var _0x2ce562=_0x2a08[_0x164eca];return _0x2ce562;};'use strict';var multer=require(_0x82a0('0x0'));var util=require(_0x82a0('0x1'));var path=require(_0x82a0('0x2'));var timeout=require(_0x82a0('0x3'));var express=require(_0x82a0('0x4'));var router=express[_0x82a0('0x5')]();var auth=require(_0x82a0('0x6'));var interaction=require(_0x82a0('0x7'));var config=require(_0x82a0('0x8'));var controller=require(_0x82a0('0x9'));router['get']('/',auth[_0x82a0('0xa')](),controller[_0x82a0('0xb')]);router['get'](_0x82a0('0xc'),auth[_0x82a0('0xa')](),controller[_0x82a0('0xd')]);router[_0x82a0('0xe')](_0x82a0('0xf'),auth['isAuthenticated'](),controller[_0x82a0('0x10')]);router[_0x82a0('0xe')]('/:id/fields',auth['isAuthenticated'](),controller[_0x82a0('0x11')]);router['post']('/',auth[_0x82a0('0xa')](),controller[_0x82a0('0x12')]);router[_0x82a0('0x13')]('/:id/configurations',auth[_0x82a0('0xa')](),controller[_0x82a0('0x14')]);router[_0x82a0('0x15')](_0x82a0('0xc'),auth[_0x82a0('0xa')](),controller[_0x82a0('0x16')]);router[_0x82a0('0x17')](_0x82a0('0xc'),auth[_0x82a0('0xa')](),controller[_0x82a0('0x18')]);module['exports']=router; \ No newline at end of file +var _0x1bb3=['isAuthenticated','index','/:id','show','/:id/configurations','/:id/fields','getFields','create','put','update','delete','destroy','exports','multer','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','./intFreshdeskAccount.controller','get'];(function(_0x19d7dc,_0x5aca84){var _0x40cf0e=function(_0x4c0b9e){while(--_0x4c0b9e){_0x19d7dc['push'](_0x19d7dc['shift']());}};_0x40cf0e(++_0x5aca84);}(_0x1bb3,0x189));var _0x31bb=function(_0x1cbee6,_0xe03cca){_0x1cbee6=_0x1cbee6-0x0;var _0x228069=_0x1bb3[_0x1cbee6];return _0x228069;};'use strict';var multer=require(_0x31bb('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x31bb('0x1'));var express=require('express');var router=express[_0x31bb('0x2')]();var auth=require(_0x31bb('0x3'));var interaction=require(_0x31bb('0x4'));var config=require('../../config/environment');var controller=require(_0x31bb('0x5'));router[_0x31bb('0x6')]('/',auth[_0x31bb('0x7')](),controller[_0x31bb('0x8')]);router[_0x31bb('0x6')](_0x31bb('0x9'),auth[_0x31bb('0x7')](),controller[_0x31bb('0xa')]);router['get'](_0x31bb('0xb'),auth[_0x31bb('0x7')](),controller['getConfigurations']);router[_0x31bb('0x6')](_0x31bb('0xc'),auth['isAuthenticated'](),controller[_0x31bb('0xd')]);router['post']('/',auth['isAuthenticated'](),controller[_0x31bb('0xe')]);router['post'](_0x31bb('0xb'),auth['isAuthenticated'](),controller['addConfiguration']);router[_0x31bb('0xf')]('/:id',auth[_0x31bb('0x7')](),controller[_0x31bb('0x10')]);router[_0x31bb('0x11')](_0x31bb('0x9'),auth[_0x31bb('0x7')](),controller[_0x31bb('0x12')]);module[_0x31bb('0x13')]=router; \ No newline at end of file diff --git a/server/api/intFreshdeskAccount/intFreshdeskAccount.attributes.js b/server/api/intFreshdeskAccount/intFreshdeskAccount.attributes.js index 2286884..3d57a20 100644 --- a/server/api/intFreshdeskAccount/intFreshdeskAccount.attributes.js +++ b/server/api/intFreshdeskAccount/intFreshdeskAccount.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xd7ab=['STRING','username','sequelize','exports'];(function(_0x3bf83f,_0x181cac){var _0x22c4a9=function(_0xb3ff0d){while(--_0xb3ff0d){_0x3bf83f['push'](_0x3bf83f['shift']());}};_0x22c4a9(++_0x181cac);}(_0xd7ab,0x14e));var _0xbd7a=function(_0x397e5f,_0x454c8f){_0x397e5f=_0x397e5f-0x0;var _0x5302b8=_0xd7ab[_0x397e5f];return _0x5302b8;};'use strict';var Sequelize=require(_0xbd7a('0x0'));module[_0xbd7a('0x1')]={'name':{'type':Sequelize[_0xbd7a('0x2')]},'description':{'type':Sequelize[_0xbd7a('0x2')]},'username':{'type':Sequelize[_0xbd7a('0x2')],'unique':_0xbd7a('0x3')},'apiKey':{'type':Sequelize[_0xbd7a('0x2')]},'remoteUri':{'type':Sequelize['STRING'],'unique':'remoteUri'},'serverUrl':{'type':Sequelize['STRING']}}; \ No newline at end of file +var _0x2cc4=['sequelize','exports','STRING','username'];(function(_0x150279,_0x23b648){var _0x38c2a8=function(_0x582f13){while(--_0x582f13){_0x150279['push'](_0x150279['shift']());}};_0x38c2a8(++_0x23b648);}(_0x2cc4,0x1f0));var _0x42cc=function(_0x5756c6,_0x58290a){_0x5756c6=_0x5756c6-0x0;var _0x4b5806=_0x2cc4[_0x5756c6];return _0x4b5806;};'use strict';var Sequelize=require(_0x42cc('0x0'));module[_0x42cc('0x1')]={'name':{'type':Sequelize[_0x42cc('0x2')]},'description':{'type':Sequelize[_0x42cc('0x2')]},'username':{'type':Sequelize['STRING'],'unique':_0x42cc('0x3')},'apiKey':{'type':Sequelize[_0x42cc('0x2')]},'remoteUri':{'type':Sequelize['STRING'],'unique':'remoteUri'},'serverUrl':{'type':Sequelize['STRING']}}; \ No newline at end of file diff --git a/server/api/intFreshdeskAccount/intFreshdeskAccount.controller.js b/server/api/intFreshdeskAccount/intFreshdeskAccount.controller.js index a4467ec..bd25f0e 100644 --- a/server/api/intFreshdeskAccount/intFreshdeskAccount.controller.js +++ b/server/api/intFreshdeskAccount/intFreshdeskAccount.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x8ef6=['../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../mysqldb','../../components/integrations/configuration','jayson/promise','client','http','test','ValidationError','The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.','request','info','FreshdeskAccount,\x20%s,\x20%s','FreshdeskAccount,\x20%s,\x20%s,\x20%s','request\x20sent','stringify','error','code','message','result','catch','end','count','offset','limit','status','Content-Range','reject','save','update','then','destroy','sendStatus','name','index','map','FreshdeskAccount','rawAttributes','fieldName','type','key','query','keys','filters','intersection','model','attributes','fields','length','hasOwnProperty','nolimit','order','sort','where','pick','filter','merge','VIRTUAL','includeAll','include','rows','show','options','find','create','body','params','getConfigurations','findOne','FreshdeskConfiguration','addConfiguration','AccountId','getSubjects','channel','Descriptions','getDescriptions','FreshdeskField','getFields','remoteUri','slice','substring','lastIndexOf','GET','%s/%s','api/v2/ticket_fields','Basic\x20%s','format','%s:X','toString','description','priority','group','source','ticket_type','company','remove','includes','default','custom_text','custom_dropdown','label','choices','capitalize','statusCode','getFields,\x20%s,\x20%s,\x20%s','send','Wrong\x20credentials','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','mustache','util','path','sox','lodash','squel','crypto','desk.js','to-csv','querystring','papaparse','ioredis','../../components/auth/service'];(function(_0x167cc1,_0x56ef5a){var _0x10bc4b=function(_0xd6a255){while(--_0xd6a255){_0x167cc1['push'](_0x167cc1['shift']());}};_0x10bc4b(++_0x56ef5a);}(_0x8ef6,0xf2));var _0x68ef=function(_0x11cb0a,_0x5dfe73){_0x11cb0a=_0x11cb0a-0x0;var _0x5273ef=_0x8ef6[_0x11cb0a];return _0x5273ef;};'use strict';var pdf=require(_0x68ef('0x0'));var emlformat=require(_0x68ef('0x1'));var rimraf=require(_0x68ef('0x2'));var zipdir=require(_0x68ef('0x3'));var jsonpatch=require(_0x68ef('0x4'));var rp=require(_0x68ef('0x5'));var moment=require(_0x68ef('0x6'));var BPromise=require('bluebird');var Mustache=require(_0x68ef('0x7'));var util=require(_0x68ef('0x8'));var path=require(_0x68ef('0x9'));var sox=require(_0x68ef('0xa'));var csv=require('to-csv');var ejs=require('ejs');var fs=require('fs');var _=require(_0x68ef('0xb'));var squel=require(_0x68ef('0xc'));var crypto=require(_0x68ef('0xd'));var jsforce=require('jsforce');var deskjs=require(_0x68ef('0xe'));var toCsv=require(_0x68ef('0xf'));var querystring=require(_0x68ef('0x10'));var Papa=require(_0x68ef('0x11'));var Redis=require(_0x68ef('0x12'));var authService=require(_0x68ef('0x13'));var qs=require(_0x68ef('0x14'));var as=require(_0x68ef('0x15'));var hardwareService=require(_0x68ef('0x16'));var logger=require(_0x68ef('0x17'))(_0x68ef('0x18'));var utils=require(_0x68ef('0x19'));var config=require('../../config/environment');var db=require(_0x68ef('0x1a'))['db'];var integrations=require(_0x68ef('0x1b'));var jayson=require(_0x68ef('0x1c'));var client=jayson[_0x68ef('0x1d')][_0x68ef('0x1e')]({'port':0x232a});function checkPasswordPattern(_0x288cc9,_0x508671,_0x3b48dd){if(_0x3b48dd){var _0xc50cce=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0xc50cce[_0x68ef('0x1f')](_0x508671)){return _0x288cc9;}else{throw new db['Sequelize'][(_0x68ef('0x20'))](_0x68ef('0x21'));}}else{return _0x288cc9;}}function respondWithRpcPromise(_0x24682d,_0x5005ba,_0x35493d,_0x37c4cc){return new BPromise(function(_0x3d1e90,_0x3780a4){var _0x5c4456=_0x37c4cc||client;return _0x5c4456[_0x68ef('0x22')](_0x24682d,_0x35493d)['then'](function(_0x5cbb78){logger[_0x68ef('0x23')](_0x68ef('0x24'),_0x5005ba,'request\x20sent');logger['debug'](_0x68ef('0x25'),_0x5005ba,_0x68ef('0x26'),JSON[_0x68ef('0x27')](_0x5cbb78));if(_0x5cbb78['error']){if(_0x5cbb78[_0x68ef('0x28')][_0x68ef('0x29')]===0x1f4){logger[_0x68ef('0x28')]('FreshdeskAccount,\x20%s,\x20%s',_0x5005ba,_0x5cbb78[_0x68ef('0x28')][_0x68ef('0x2a')]);return _0x3780a4(_0x5cbb78['error'][_0x68ef('0x2a')]);}logger[_0x68ef('0x28')](_0x68ef('0x24'),_0x5005ba,_0x5cbb78['error']['message']);return _0x3d1e90(_0x5cbb78['error'][_0x68ef('0x2a')]);}else{logger[_0x68ef('0x23')](_0x68ef('0x24'),_0x5005ba,_0x68ef('0x26'));_0x3d1e90(_0x5cbb78[_0x68ef('0x2b')][_0x68ef('0x2a')]);}})[_0x68ef('0x2c')](function(_0x49374f){logger[_0x68ef('0x28')](_0x68ef('0x24'),_0x5005ba,_0x49374f);_0x3780a4(_0x49374f);});});}function respondWithStatusCode(_0x5e4dbe,_0x178460){_0x178460=_0x178460||0xcc;return function(_0x57f9ee){if(_0x57f9ee){return _0x5e4dbe['sendStatus'](_0x178460);}return _0x5e4dbe['status'](_0x178460)[_0x68ef('0x2d')]();};}function respondWithResult(_0x268f32,_0x123041){_0x123041=_0x123041||0xc8;return function(_0x29518e){if(_0x29518e){return _0x268f32['status'](_0x123041)['json'](_0x29518e);}};}function respondWithFilteredResult(_0x1cbe4f,_0x28907a){return function(_0x7bf96){if(_0x7bf96){var _0x263b30=_0x7bf96[_0x68ef('0x2e')],_0x22ef25=_0x28907a['offset'],_0x201884=_0x28907a[_0x68ef('0x2f')]+_0x28907a[_0x68ef('0x30')],_0x26288a;if(_0x201884>=_0x263b30){_0x201884=_0x263b30;_0x26288a=0xc8;}else{_0x26288a=0xce;}_0x1cbe4f[_0x68ef('0x31')](_0x26288a);return _0x1cbe4f['set'](_0x68ef('0x32'),_0x22ef25+'-'+_0x201884+'/'+_0x263b30)['json'](_0x7bf96);}return null;};}function patchUpdates(_0x133788){return function(_0x17588a){try{jsonpatch['apply'](_0x17588a,_0x133788,!![]);}catch(_0x5e1e1b){return BPromise[_0x68ef('0x33')](_0x5e1e1b);}return _0x17588a[_0x68ef('0x34')]();};}function saveUpdates(_0x4b8fc8,_0xf58fa1){return function(_0x8c0a06){if(_0x8c0a06){return _0x8c0a06[_0x68ef('0x35')](_0x4b8fc8)[_0x68ef('0x36')](function(_0x59e9fb){return _0x59e9fb;});}return null;};}function removeEntity(_0x2c8bd0,_0x1d69ac){return function(_0x5f137b){if(_0x5f137b){return _0x5f137b[_0x68ef('0x37')]()['then'](function(){_0x2c8bd0[_0x68ef('0x31')](0xcc)[_0x68ef('0x2d')]();});}};}function handleEntityNotFound(_0x4973c2,_0x24c2c9){return function(_0x4a0763){if(!_0x4a0763){_0x4973c2[_0x68ef('0x38')](0x194);}return _0x4a0763;};}function handleError(_0x575f43,_0x2fbb0d){_0x2fbb0d=_0x2fbb0d||0x1f4;return function(_0x1444e0){logger[_0x68ef('0x28')](_0x1444e0['stack']);if(_0x1444e0[_0x68ef('0x39')]){delete _0x1444e0['name'];}_0x575f43[_0x68ef('0x31')](_0x2fbb0d)['send'](_0x1444e0);};}exports[_0x68ef('0x3a')]=function(_0x362ef1,_0x102df9){var _0x136f6b={},_0x2181d9={},_0xefd1d={'count':0x0,'rows':[]};var _0x51ba3d=_[_0x68ef('0x3b')](db[_0x68ef('0x3c')][_0x68ef('0x3d')],function(_0x52a8b9){return{'name':_0x52a8b9[_0x68ef('0x3e')],'type':_0x52a8b9[_0x68ef('0x3f')][_0x68ef('0x40')]};});_0x2181d9['model']=_['map'](_0x51ba3d,_0x68ef('0x39'));_0x2181d9[_0x68ef('0x41')]=_[_0x68ef('0x42')](_0x362ef1[_0x68ef('0x41')]);_0x2181d9[_0x68ef('0x43')]=_[_0x68ef('0x44')](_0x2181d9[_0x68ef('0x45')],_0x2181d9['query']);_0x136f6b[_0x68ef('0x46')]=_[_0x68ef('0x44')](_0x2181d9[_0x68ef('0x45')],qs[_0x68ef('0x47')](_0x362ef1['query'][_0x68ef('0x47')]));_0x136f6b[_0x68ef('0x46')]=_0x136f6b[_0x68ef('0x46')][_0x68ef('0x48')]?_0x136f6b[_0x68ef('0x46')]:_0x2181d9[_0x68ef('0x45')];if(!_0x362ef1['query'][_0x68ef('0x49')](_0x68ef('0x4a'))){_0x136f6b[_0x68ef('0x30')]=qs[_0x68ef('0x30')](_0x362ef1[_0x68ef('0x41')][_0x68ef('0x30')]);_0x136f6b[_0x68ef('0x2f')]=qs[_0x68ef('0x2f')](_0x362ef1[_0x68ef('0x41')]['offset']);}_0x136f6b[_0x68ef('0x4b')]=qs[_0x68ef('0x4c')](_0x362ef1[_0x68ef('0x41')][_0x68ef('0x4c')]);_0x136f6b[_0x68ef('0x4d')]=qs[_0x68ef('0x43')](_[_0x68ef('0x4e')](_0x362ef1['query'],_0x2181d9[_0x68ef('0x43')]),_0x51ba3d);if(_0x362ef1['query'][_0x68ef('0x4f')]){_0x136f6b[_0x68ef('0x4d')]=_[_0x68ef('0x50')](_0x136f6b[_0x68ef('0x4d')],{'$or':_['map'](_0x51ba3d,function(_0x428456){if(_0x428456['type']!==_0x68ef('0x51')){var _0x499423={};_0x499423[_0x428456[_0x68ef('0x39')]]={'$like':'%'+_0x362ef1[_0x68ef('0x41')][_0x68ef('0x4f')]+'%'};return _0x499423;}})});}_0x136f6b=_['merge']({},_0x136f6b,_0x362ef1['options']);var _0x4044d5={'where':_0x136f6b[_0x68ef('0x4d')]};return db['FreshdeskAccount']['count'](_0x4044d5)['then'](function(_0xe547c){_0xefd1d[_0x68ef('0x2e')]=_0xe547c;if(_0x362ef1[_0x68ef('0x41')][_0x68ef('0x52')]){_0x136f6b[_0x68ef('0x53')]=[{'all':!![]}];}return db['FreshdeskAccount']['findAll'](_0x136f6b);})[_0x68ef('0x36')](function(_0x21f064){_0xefd1d[_0x68ef('0x54')]=_0x21f064;return _0xefd1d;})[_0x68ef('0x36')](respondWithFilteredResult(_0x102df9,_0x136f6b))['catch'](handleError(_0x102df9,null));};exports[_0x68ef('0x55')]=function(_0x474e5a,_0x1c9b6f){var _0x14142a={'raw':![],'where':{'id':_0x474e5a['params']['id']}},_0x53880c={};_0x53880c[_0x68ef('0x45')]=_[_0x68ef('0x42')](db['FreshdeskAccount'][_0x68ef('0x3d')]);_0x53880c[_0x68ef('0x41')]=_[_0x68ef('0x42')](_0x474e5a[_0x68ef('0x41')]);_0x53880c[_0x68ef('0x43')]=_['intersection'](_0x53880c[_0x68ef('0x45')],_0x53880c[_0x68ef('0x41')]);_0x14142a[_0x68ef('0x46')]=_['intersection'](_0x53880c[_0x68ef('0x45')],qs[_0x68ef('0x47')](_0x474e5a[_0x68ef('0x41')]['fields']));_0x14142a[_0x68ef('0x46')]=_0x14142a['attributes']['length']?_0x14142a[_0x68ef('0x46')]:_0x53880c['model'];if(_0x474e5a[_0x68ef('0x41')][_0x68ef('0x52')]){_0x14142a[_0x68ef('0x53')]=[{'all':!![]}];}_0x14142a=_[_0x68ef('0x50')]({},_0x14142a,_0x474e5a[_0x68ef('0x56')]);return db[_0x68ef('0x3c')][_0x68ef('0x57')](_0x14142a)[_0x68ef('0x36')](handleEntityNotFound(_0x1c9b6f,null))[_0x68ef('0x36')](respondWithResult(_0x1c9b6f,null))[_0x68ef('0x2c')](handleError(_0x1c9b6f,null));};exports['create']=function(_0x534960,_0x390451){return db[_0x68ef('0x3c')][_0x68ef('0x58')](_0x534960[_0x68ef('0x59')],{})[_0x68ef('0x36')](respondWithResult(_0x390451,0xc9))[_0x68ef('0x2c')](handleError(_0x390451,null));};exports[_0x68ef('0x35')]=function(_0x300a64,_0x40c784){if(_0x300a64['body']['id']){delete _0x300a64['body']['id'];}return db[_0x68ef('0x3c')]['find']({'where':{'id':_0x300a64[_0x68ef('0x5a')]['id']}})['then'](handleEntityNotFound(_0x40c784,null))[_0x68ef('0x36')](saveUpdates(_0x300a64[_0x68ef('0x59')],null))['then'](respondWithResult(_0x40c784,null))[_0x68ef('0x2c')](handleError(_0x40c784,null));};exports['destroy']=function(_0x407c6d,_0x15c1ee){return db[_0x68ef('0x3c')][_0x68ef('0x57')]({'where':{'id':_0x407c6d[_0x68ef('0x5a')]['id']}})[_0x68ef('0x36')](handleEntityNotFound(_0x15c1ee,null))['then'](removeEntity(_0x15c1ee,null))[_0x68ef('0x2c')](handleError(_0x15c1ee,null));};exports[_0x68ef('0x5b')]=function(_0x3cfd89,_0x20dc7f,_0x4107d3){var _0x3d8f68={};var _0x48e15a={};var _0x9a978f;var _0x42d2a3;return db['FreshdeskAccount'][_0x68ef('0x5c')]({'where':{'id':_0x3cfd89[_0x68ef('0x5a')]['id']}})[_0x68ef('0x36')](handleEntityNotFound(_0x20dc7f,null))['then'](function(_0x415210){if(_0x415210){_0x9a978f=_0x415210;_0x48e15a['model']=_['keys'](db[_0x68ef('0x5d')]['rawAttributes']);_0x48e15a[_0x68ef('0x41')]=_['keys'](_0x3cfd89[_0x68ef('0x41')]);_0x48e15a[_0x68ef('0x43')]=_[_0x68ef('0x44')](_0x48e15a[_0x68ef('0x45')],_0x48e15a[_0x68ef('0x41')]);_0x3d8f68[_0x68ef('0x46')]=_['intersection'](_0x48e15a[_0x68ef('0x45')],qs['fields'](_0x3cfd89[_0x68ef('0x41')]['fields']));_0x3d8f68[_0x68ef('0x46')]=_0x3d8f68[_0x68ef('0x46')][_0x68ef('0x48')]?_0x3d8f68[_0x68ef('0x46')]:_0x48e15a[_0x68ef('0x45')];_0x3d8f68[_0x68ef('0x4b')]=qs[_0x68ef('0x4c')](_0x3cfd89['query'][_0x68ef('0x4c')]);_0x3d8f68[_0x68ef('0x4d')]=qs[_0x68ef('0x43')](_[_0x68ef('0x4e')](_0x3cfd89[_0x68ef('0x41')],_0x48e15a['filters']));if(_0x3cfd89[_0x68ef('0x41')]['filter']){_0x3d8f68[_0x68ef('0x4d')]=_['merge'](_0x3d8f68['where'],{'$or':_[_0x68ef('0x3b')](_0x3d8f68[_0x68ef('0x46')],function(_0x6d566f){var _0x21b2ce={};_0x21b2ce[_0x6d566f]={'$like':'%'+_0x3cfd89['query'][_0x68ef('0x4f')]+'%'};return _0x21b2ce;})});}_0x3d8f68=_['merge']({},_0x3d8f68,_0x3cfd89[_0x68ef('0x56')]);return _0x9a978f[_0x68ef('0x5b')](_0x3d8f68);}})[_0x68ef('0x36')](function(_0x49e5d4){if(_0x49e5d4){_0x42d2a3=_0x49e5d4['length'];if(!_0x3cfd89[_0x68ef('0x41')][_0x68ef('0x49')](_0x68ef('0x4a'))){_0x3d8f68[_0x68ef('0x30')]=qs['limit'](_0x3cfd89[_0x68ef('0x41')][_0x68ef('0x30')]);_0x3d8f68[_0x68ef('0x2f')]=qs[_0x68ef('0x2f')](_0x3cfd89['query'][_0x68ef('0x2f')]);}return _0x9a978f['getConfigurations'](_0x3d8f68);}})[_0x68ef('0x36')](function(_0x3998d4){if(_0x3998d4){return _0x3998d4?{'count':_0x42d2a3,'rows':_0x3998d4}:null;}})[_0x68ef('0x36')](respondWithResult(_0x20dc7f,null))[_0x68ef('0x2c')](handleError(_0x20dc7f,null));};exports[_0x68ef('0x5e')]=function(_0x52cb2a,_0x24285,_0x2caed7){if(_0x52cb2a[_0x68ef('0x59')]['id']){delete _0x52cb2a['body']['id'];}return db[_0x68ef('0x3c')]['findOne']({'where':{'id':_0x52cb2a[_0x68ef('0x5a')]['id']}})['then'](handleEntityNotFound(_0x24285,null))['then'](function(_0x100345){if(_0x100345){_0x52cb2a[_0x68ef('0x59')][_0x68ef('0x5f')]=_0x100345['id'];_0x52cb2a[_0x68ef('0x59')]['Subjects']=integrations[_0x68ef('0x60')](_0x52cb2a[_0x68ef('0x59')][_0x68ef('0x61')],_0x52cb2a['body'][_0x68ef('0x3f')]);_0x52cb2a[_0x68ef('0x59')][_0x68ef('0x62')]=integrations[_0x68ef('0x63')](_0x52cb2a[_0x68ef('0x59')][_0x68ef('0x61')],_0x52cb2a[_0x68ef('0x59')][_0x68ef('0x3f')]);return db[_0x68ef('0x5d')][_0x68ef('0x58')](_0x52cb2a[_0x68ef('0x59')],{'include':[{'model':db[_0x68ef('0x64')],'as':'Subjects'},{'model':db[_0x68ef('0x64')],'as':_0x68ef('0x62')}]});}return null;})['then'](respondWithResult(_0x24285,null))['catch'](handleError(_0x24285,null));};exports[_0x68ef('0x65')]=function(_0x5ef80d,_0x467d70,_0x253947){var _0x5f1b12='';return db['FreshdeskAccount'][_0x68ef('0x5c')]({'where':{'id':_0x5ef80d['params']['id']},'attributes':['id',_0x68ef('0x66'),'apiKey']})[_0x68ef('0x36')](handleEntityNotFound(_0x467d70,null))['then'](function(_0x21ab5d){if(_0x21ab5d){_0x5f1b12=_0x21ab5d[_0x68ef('0x66')];var _0x57e811=_0x5f1b12[_0x68ef('0x67')](-0x1);if(_0x57e811==='/'){_0x5f1b12=_0x5f1b12[_0x68ef('0x68')](0x0,_0x5f1b12[_0x68ef('0x69')](_0x57e811));}return rp({'method':_0x68ef('0x6a'),'uri':util['format'](_0x68ef('0x6b'),_0x5f1b12,_0x68ef('0x6c')),'headers':{'Authorization':util['format'](_0x68ef('0x6d'),new Buffer(util[_0x68ef('0x6e')](_0x68ef('0x6f'),_0x21ab5d['apiKey']))[_0x68ef('0x70')]('base64'))},'json':!![]});}})[_0x68ef('0x36')](function(_0x36c109){if(_0x36c109){var _0x4f1a65=['requester','subject','agent',_0x68ef('0x71'),_0x68ef('0x31'),_0x68ef('0x72'),_0x68ef('0x73'),_0x68ef('0x74'),_0x68ef('0x75'),_0x68ef('0x73'),_0x68ef('0x76')];_[_0x68ef('0x77')](_0x36c109,function(_0x3ae3e9){return _0x4f1a65[_0x68ef('0x78')](_0x3ae3e9[_0x68ef('0x39')])||!_0x3ae3e9[_0x68ef('0x79')]&&_0x3ae3e9['type']!==_0x68ef('0x7a')&&_0x3ae3e9['type']!==_0x68ef('0x7b');});return{'count':_0x36c109['length'],'rows':_['map'](_0x36c109,function(_0x4532e2){return{'id':_0x4532e2[_0x68ef('0x39')],'name':_0x4532e2[_0x68ef('0x7c')],'custom':!_0x4532e2[_0x68ef('0x79')],'options':_0x4532e2['choices']?_['map'](_0x4532e2[_0x68ef('0x7d')],function(_0x308997){return{'name':_[_0x68ef('0x7e')](_0x308997),'value':_0x308997};}):[]};})};}})['then'](respondWithResult(_0x467d70,null))[_0x68ef('0x2c')](function(_0x23c69e){var _0x20c185=_0x5ef80d[_0x68ef('0x41')]['test']?0x1f4:_0x23c69e[_0x68ef('0x7f')]||0x1f4;logger[_0x68ef('0x28')](_0x68ef('0x80'),_0x68ef('0x65'),_0x20c185,JSON[_0x68ef('0x27')](_0x23c69e));delete _0x23c69e[_0x68ef('0x39')];if(_0x20c185===0x191){_0x20c185=0x190;}_0x467d70['status'](_0x20c185)[_0x68ef('0x81')](_0x5ef80d['query'][_0x68ef('0x1f')]?{'message':_0x68ef('0x82'),'statusCode':_0x23c69e[_0x68ef('0x7f')]}:_0x23c69e);});}; \ No newline at end of file +var _0x53ec=['remoteUri','slice','substring','lastIndexOf','GET','format','%s/%s','api/v2/ticket_fields','Basic\x20%s','%s:X','apiKey','toString','requester','subject','description','group','source','ticket_type','company','remove','includes','custom_text','custom_dropdown','label','default','choices','capitalize','statusCode','getFields,\x20%s,\x20%s,\x20%s','Wrong\x20credentials','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','bluebird','util','path','to-csv','lodash','squel','jsforce','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','api','../../mysqldb','../../components/integrations/configuration','jayson/promise','client','test','Sequelize','ValidationError','The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.','request','then','info','FreshdeskAccount,\x20%s,\x20%s','request\x20sent','stringify','error','code','message','result','sendStatus','end','status','count','offset','limit','set','json','save','update','destroy','name','send','map','FreshdeskAccount','rawAttributes','fieldName','key','model','query','filters','intersection','attributes','length','order','sort','filter','merge','where','type','VIRTUAL','options','includeAll','include','findAll','catch','show','params','keys','fields','find','create','body','getConfigurations','findOne','FreshdeskConfiguration','pick','hasOwnProperty','nolimit','addConfiguration','AccountId','Subjects','Descriptions','channel','getFields'];(function(_0x598d4b,_0x562224){var _0x4305bd=function(_0x12c26d){while(--_0x12c26d){_0x598d4b['push'](_0x598d4b['shift']());}};_0x4305bd(++_0x562224);}(_0x53ec,0x192));var _0xc53e=function(_0x291e0e,_0x792683){_0x291e0e=_0x291e0e-0x0;var _0x3f85f3=_0x53ec[_0x291e0e];return _0x3f85f3;};'use strict';var pdf=require(_0xc53e('0x0'));var emlformat=require(_0xc53e('0x1'));var rimraf=require(_0xc53e('0x2'));var zipdir=require(_0xc53e('0x3'));var jsonpatch=require(_0xc53e('0x4'));var rp=require(_0xc53e('0x5'));var moment=require('moment');var BPromise=require(_0xc53e('0x6'));var Mustache=require('mustache');var util=require(_0xc53e('0x7'));var path=require(_0xc53e('0x8'));var sox=require('sox');var csv=require(_0xc53e('0x9'));var ejs=require('ejs');var fs=require('fs');var _=require(_0xc53e('0xa'));var squel=require(_0xc53e('0xb'));var crypto=require('crypto');var jsforce=require(_0xc53e('0xc'));var deskjs=require(_0xc53e('0xd'));var toCsv=require(_0xc53e('0x9'));var querystring=require(_0xc53e('0xe'));var Papa=require(_0xc53e('0xf'));var Redis=require(_0xc53e('0x10'));var authService=require(_0xc53e('0x11'));var qs=require(_0xc53e('0x12'));var as=require(_0xc53e('0x13'));var hardwareService=require('../../config/license/hardware');var logger=require('../../config/logger')(_0xc53e('0x14'));var utils=require('../../config/utils');var config=require('../../config/environment');var db=require(_0xc53e('0x15'))['db'];var integrations=require(_0xc53e('0x16'));var jayson=require(_0xc53e('0x17'));var client=jayson[_0xc53e('0x18')]['http']({'port':0x232a});function checkPasswordPattern(_0x4e74c9,_0x1c06cd,_0x19a772){if(_0x19a772){var _0x7cd798=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0x7cd798[_0xc53e('0x19')](_0x1c06cd)){return _0x4e74c9;}else{throw new db[(_0xc53e('0x1a'))][(_0xc53e('0x1b'))](_0xc53e('0x1c'));}}else{return _0x4e74c9;}}function respondWithRpcPromise(_0x19c0d1,_0x455e4d,_0x2ad6eb,_0x5b0a88){return new BPromise(function(_0x8a522e,_0x191567){var _0x535cd4=_0x5b0a88||client;return _0x535cd4[_0xc53e('0x1d')](_0x19c0d1,_0x2ad6eb)[_0xc53e('0x1e')](function(_0x270c78){logger[_0xc53e('0x1f')](_0xc53e('0x20'),_0x455e4d,_0xc53e('0x21'));logger['debug']('FreshdeskAccount,\x20%s,\x20%s,\x20%s',_0x455e4d,_0xc53e('0x21'),JSON[_0xc53e('0x22')](_0x270c78));if(_0x270c78[_0xc53e('0x23')]){if(_0x270c78[_0xc53e('0x23')][_0xc53e('0x24')]===0x1f4){logger[_0xc53e('0x23')](_0xc53e('0x20'),_0x455e4d,_0x270c78[_0xc53e('0x23')][_0xc53e('0x25')]);return _0x191567(_0x270c78[_0xc53e('0x23')][_0xc53e('0x25')]);}logger[_0xc53e('0x23')](_0xc53e('0x20'),_0x455e4d,_0x270c78['error']['message']);return _0x8a522e(_0x270c78['error'][_0xc53e('0x25')]);}else{logger[_0xc53e('0x1f')](_0xc53e('0x20'),_0x455e4d,_0xc53e('0x21'));_0x8a522e(_0x270c78[_0xc53e('0x26')]['message']);}})['catch'](function(_0xe06e42){logger['error'](_0xc53e('0x20'),_0x455e4d,_0xe06e42);_0x191567(_0xe06e42);});});}function respondWithStatusCode(_0x3a5ce8,_0x443179){_0x443179=_0x443179||0xcc;return function(_0x1166e6){if(_0x1166e6){return _0x3a5ce8[_0xc53e('0x27')](_0x443179);}return _0x3a5ce8['status'](_0x443179)[_0xc53e('0x28')]();};}function respondWithResult(_0x4b9f6a,_0x4d9a68){_0x4d9a68=_0x4d9a68||0xc8;return function(_0x5c65d3){if(_0x5c65d3){return _0x4b9f6a[_0xc53e('0x29')](_0x4d9a68)['json'](_0x5c65d3);}};}function respondWithFilteredResult(_0x28240a,_0x4f203d){return function(_0x24a77e){if(_0x24a77e){var _0x5112d2=_0x24a77e[_0xc53e('0x2a')],_0x5ce216=_0x4f203d[_0xc53e('0x2b')],_0x8f0ee6=_0x4f203d[_0xc53e('0x2b')]+_0x4f203d[_0xc53e('0x2c')],_0x6a62b0;if(_0x8f0ee6>=_0x5112d2){_0x8f0ee6=_0x5112d2;_0x6a62b0=0xc8;}else{_0x6a62b0=0xce;}_0x28240a[_0xc53e('0x29')](_0x6a62b0);return _0x28240a[_0xc53e('0x2d')]('Content-Range',_0x5ce216+'-'+_0x8f0ee6+'/'+_0x5112d2)[_0xc53e('0x2e')](_0x24a77e);}return null;};}function patchUpdates(_0x311835){return function(_0x2d36c0){try{jsonpatch['apply'](_0x2d36c0,_0x311835,!![]);}catch(_0x4057f9){return BPromise['reject'](_0x4057f9);}return _0x2d36c0[_0xc53e('0x2f')]();};}function saveUpdates(_0x2467f4,_0x49ab9b){return function(_0x5a64e2){if(_0x5a64e2){return _0x5a64e2[_0xc53e('0x30')](_0x2467f4)[_0xc53e('0x1e')](function(_0x3f4547){return _0x3f4547;});}return null;};}function removeEntity(_0x30d037,_0x1b95c2){return function(_0x45fedc){if(_0x45fedc){return _0x45fedc[_0xc53e('0x31')]()[_0xc53e('0x1e')](function(){_0x30d037['status'](0xcc)[_0xc53e('0x28')]();});}};}function handleEntityNotFound(_0x3bae8a,_0x19020b){return function(_0x17ad32){if(!_0x17ad32){_0x3bae8a[_0xc53e('0x27')](0x194);}return _0x17ad32;};}function handleError(_0x12b32c,_0x1920c8){_0x1920c8=_0x1920c8||0x1f4;return function(_0x16942c){logger[_0xc53e('0x23')](_0x16942c['stack']);if(_0x16942c[_0xc53e('0x32')]){delete _0x16942c['name'];}_0x12b32c[_0xc53e('0x29')](_0x1920c8)[_0xc53e('0x33')](_0x16942c);};}exports['index']=function(_0x37452a,_0x154f8b){var _0x3254e9={},_0x5ed90b={},_0x4b82bb={'count':0x0,'rows':[]};var _0x17ec92=_[_0xc53e('0x34')](db[_0xc53e('0x35')][_0xc53e('0x36')],function(_0x143101){return{'name':_0x143101[_0xc53e('0x37')],'type':_0x143101['type'][_0xc53e('0x38')]};});_0x5ed90b[_0xc53e('0x39')]=_[_0xc53e('0x34')](_0x17ec92,'name');_0x5ed90b[_0xc53e('0x3a')]=_['keys'](_0x37452a[_0xc53e('0x3a')]);_0x5ed90b[_0xc53e('0x3b')]=_[_0xc53e('0x3c')](_0x5ed90b[_0xc53e('0x39')],_0x5ed90b[_0xc53e('0x3a')]);_0x3254e9['attributes']=_[_0xc53e('0x3c')](_0x5ed90b[_0xc53e('0x39')],qs['fields'](_0x37452a['query']['fields']));_0x3254e9['attributes']=_0x3254e9[_0xc53e('0x3d')][_0xc53e('0x3e')]?_0x3254e9['attributes']:_0x5ed90b[_0xc53e('0x39')];if(!_0x37452a['query']['hasOwnProperty']('nolimit')){_0x3254e9[_0xc53e('0x2c')]=qs['limit'](_0x37452a['query'][_0xc53e('0x2c')]);_0x3254e9['offset']=qs[_0xc53e('0x2b')](_0x37452a[_0xc53e('0x3a')]['offset']);}_0x3254e9[_0xc53e('0x3f')]=qs[_0xc53e('0x40')](_0x37452a['query'][_0xc53e('0x40')]);_0x3254e9['where']=qs['filters'](_['pick'](_0x37452a['query'],_0x5ed90b[_0xc53e('0x3b')]),_0x17ec92);if(_0x37452a[_0xc53e('0x3a')][_0xc53e('0x41')]){_0x3254e9['where']=_[_0xc53e('0x42')](_0x3254e9[_0xc53e('0x43')],{'$or':_['map'](_0x17ec92,function(_0x58ede2){if(_0x58ede2[_0xc53e('0x44')]!==_0xc53e('0x45')){var _0x162acd={};_0x162acd[_0x58ede2['name']]={'$like':'%'+_0x37452a[_0xc53e('0x3a')][_0xc53e('0x41')]+'%'};return _0x162acd;}})});}_0x3254e9=_[_0xc53e('0x42')]({},_0x3254e9,_0x37452a[_0xc53e('0x46')]);var _0x1295cc={'where':_0x3254e9[_0xc53e('0x43')]};return db[_0xc53e('0x35')]['count'](_0x1295cc)[_0xc53e('0x1e')](function(_0x39c467){_0x4b82bb[_0xc53e('0x2a')]=_0x39c467;if(_0x37452a['query'][_0xc53e('0x47')]){_0x3254e9[_0xc53e('0x48')]=[{'all':!![]}];}return db[_0xc53e('0x35')][_0xc53e('0x49')](_0x3254e9);})[_0xc53e('0x1e')](function(_0x17cea5){_0x4b82bb['rows']=_0x17cea5;return _0x4b82bb;})[_0xc53e('0x1e')](respondWithFilteredResult(_0x154f8b,_0x3254e9))[_0xc53e('0x4a')](handleError(_0x154f8b,null));};exports[_0xc53e('0x4b')]=function(_0x5a6e41,_0x33d45c){var _0x1d2491={'raw':![],'where':{'id':_0x5a6e41[_0xc53e('0x4c')]['id']}},_0x1eeb65={};_0x1eeb65[_0xc53e('0x39')]=_[_0xc53e('0x4d')](db[_0xc53e('0x35')][_0xc53e('0x36')]);_0x1eeb65[_0xc53e('0x3a')]=_[_0xc53e('0x4d')](_0x5a6e41['query']);_0x1eeb65[_0xc53e('0x3b')]=_[_0xc53e('0x3c')](_0x1eeb65[_0xc53e('0x39')],_0x1eeb65[_0xc53e('0x3a')]);_0x1d2491[_0xc53e('0x3d')]=_['intersection'](_0x1eeb65['model'],qs[_0xc53e('0x4e')](_0x5a6e41['query'][_0xc53e('0x4e')]));_0x1d2491['attributes']=_0x1d2491[_0xc53e('0x3d')][_0xc53e('0x3e')]?_0x1d2491[_0xc53e('0x3d')]:_0x1eeb65['model'];if(_0x5a6e41[_0xc53e('0x3a')][_0xc53e('0x47')]){_0x1d2491[_0xc53e('0x48')]=[{'all':!![]}];}_0x1d2491=_['merge']({},_0x1d2491,_0x5a6e41[_0xc53e('0x46')]);return db['FreshdeskAccount'][_0xc53e('0x4f')](_0x1d2491)[_0xc53e('0x1e')](handleEntityNotFound(_0x33d45c,null))['then'](respondWithResult(_0x33d45c,null))[_0xc53e('0x4a')](handleError(_0x33d45c,null));};exports[_0xc53e('0x50')]=function(_0x5bba72,_0x44f7cc){return db[_0xc53e('0x35')][_0xc53e('0x50')](_0x5bba72[_0xc53e('0x51')],{})[_0xc53e('0x1e')](respondWithResult(_0x44f7cc,0xc9))[_0xc53e('0x4a')](handleError(_0x44f7cc,null));};exports[_0xc53e('0x30')]=function(_0x117c9b,_0x8e5630){if(_0x117c9b[_0xc53e('0x51')]['id']){delete _0x117c9b[_0xc53e('0x51')]['id'];}return db['FreshdeskAccount'][_0xc53e('0x4f')]({'where':{'id':_0x117c9b['params']['id']}})[_0xc53e('0x1e')](handleEntityNotFound(_0x8e5630,null))['then'](saveUpdates(_0x117c9b[_0xc53e('0x51')],null))[_0xc53e('0x1e')](respondWithResult(_0x8e5630,null))['catch'](handleError(_0x8e5630,null));};exports[_0xc53e('0x31')]=function(_0x7f0bc0,_0x9c0112){return db[_0xc53e('0x35')]['find']({'where':{'id':_0x7f0bc0[_0xc53e('0x4c')]['id']}})[_0xc53e('0x1e')](handleEntityNotFound(_0x9c0112,null))['then'](removeEntity(_0x9c0112,null))['catch'](handleError(_0x9c0112,null));};exports[_0xc53e('0x52')]=function(_0x51db9a,_0x5c62c7,_0x57c822){var _0x23a4ee={};var _0x5f5dad={};var _0x32b390;var _0x4ee995;return db[_0xc53e('0x35')][_0xc53e('0x53')]({'where':{'id':_0x51db9a[_0xc53e('0x4c')]['id']}})[_0xc53e('0x1e')](handleEntityNotFound(_0x5c62c7,null))[_0xc53e('0x1e')](function(_0x4caf5f){if(_0x4caf5f){_0x32b390=_0x4caf5f;_0x5f5dad['model']=_[_0xc53e('0x4d')](db[_0xc53e('0x54')][_0xc53e('0x36')]);_0x5f5dad[_0xc53e('0x3a')]=_[_0xc53e('0x4d')](_0x51db9a[_0xc53e('0x3a')]);_0x5f5dad[_0xc53e('0x3b')]=_[_0xc53e('0x3c')](_0x5f5dad[_0xc53e('0x39')],_0x5f5dad[_0xc53e('0x3a')]);_0x23a4ee[_0xc53e('0x3d')]=_[_0xc53e('0x3c')](_0x5f5dad[_0xc53e('0x39')],qs['fields'](_0x51db9a[_0xc53e('0x3a')]['fields']));_0x23a4ee[_0xc53e('0x3d')]=_0x23a4ee[_0xc53e('0x3d')][_0xc53e('0x3e')]?_0x23a4ee[_0xc53e('0x3d')]:_0x5f5dad[_0xc53e('0x39')];_0x23a4ee[_0xc53e('0x3f')]=qs[_0xc53e('0x40')](_0x51db9a[_0xc53e('0x3a')]['sort']);_0x23a4ee['where']=qs['filters'](_[_0xc53e('0x55')](_0x51db9a[_0xc53e('0x3a')],_0x5f5dad[_0xc53e('0x3b')]));if(_0x51db9a[_0xc53e('0x3a')][_0xc53e('0x41')]){_0x23a4ee[_0xc53e('0x43')]=_[_0xc53e('0x42')](_0x23a4ee['where'],{'$or':_['map'](_0x23a4ee['attributes'],function(_0x40c8ba){var _0x150212={};_0x150212[_0x40c8ba]={'$like':'%'+_0x51db9a['query'][_0xc53e('0x41')]+'%'};return _0x150212;})});}_0x23a4ee=_[_0xc53e('0x42')]({},_0x23a4ee,_0x51db9a[_0xc53e('0x46')]);return _0x32b390[_0xc53e('0x52')](_0x23a4ee);}})[_0xc53e('0x1e')](function(_0x20cb31){if(_0x20cb31){_0x4ee995=_0x20cb31['length'];if(!_0x51db9a['query'][_0xc53e('0x56')](_0xc53e('0x57'))){_0x23a4ee[_0xc53e('0x2c')]=qs[_0xc53e('0x2c')](_0x51db9a[_0xc53e('0x3a')][_0xc53e('0x2c')]);_0x23a4ee['offset']=qs[_0xc53e('0x2b')](_0x51db9a[_0xc53e('0x3a')][_0xc53e('0x2b')]);}return _0x32b390[_0xc53e('0x52')](_0x23a4ee);}})['then'](function(_0xdd851e){if(_0xdd851e){return _0xdd851e?{'count':_0x4ee995,'rows':_0xdd851e}:null;}})[_0xc53e('0x1e')](respondWithResult(_0x5c62c7,null))[_0xc53e('0x4a')](handleError(_0x5c62c7,null));};exports[_0xc53e('0x58')]=function(_0x32f954,_0x2d9803,_0x51638a){if(_0x32f954[_0xc53e('0x51')]['id']){delete _0x32f954[_0xc53e('0x51')]['id'];}return db[_0xc53e('0x35')][_0xc53e('0x53')]({'where':{'id':_0x32f954['params']['id']}})['then'](handleEntityNotFound(_0x2d9803,null))[_0xc53e('0x1e')](function(_0x340123){if(_0x340123){_0x32f954[_0xc53e('0x51')][_0xc53e('0x59')]=_0x340123['id'];_0x32f954['body'][_0xc53e('0x5a')]=integrations['getSubjects'](_0x32f954[_0xc53e('0x51')]['channel'],_0x32f954[_0xc53e('0x51')]['type']);_0x32f954[_0xc53e('0x51')][_0xc53e('0x5b')]=integrations['getDescriptions'](_0x32f954[_0xc53e('0x51')][_0xc53e('0x5c')],_0x32f954['body']['type']);return db[_0xc53e('0x54')][_0xc53e('0x50')](_0x32f954['body'],{'include':[{'model':db['FreshdeskField'],'as':_0xc53e('0x5a')},{'model':db['FreshdeskField'],'as':_0xc53e('0x5b')}]});}return null;})['then'](respondWithResult(_0x2d9803,null))[_0xc53e('0x4a')](handleError(_0x2d9803,null));};exports[_0xc53e('0x5d')]=function(_0x10167b,_0x388874,_0x45cee1){var _0x20067c='';return db[_0xc53e('0x35')][_0xc53e('0x53')]({'where':{'id':_0x10167b[_0xc53e('0x4c')]['id']},'attributes':['id',_0xc53e('0x5e'),'apiKey']})[_0xc53e('0x1e')](handleEntityNotFound(_0x388874,null))['then'](function(_0x174cf9){if(_0x174cf9){_0x20067c=_0x174cf9[_0xc53e('0x5e')];var _0xdf84f4=_0x20067c[_0xc53e('0x5f')](-0x1);if(_0xdf84f4==='/'){_0x20067c=_0x20067c[_0xc53e('0x60')](0x0,_0x20067c[_0xc53e('0x61')](_0xdf84f4));}return rp({'method':_0xc53e('0x62'),'uri':util[_0xc53e('0x63')](_0xc53e('0x64'),_0x20067c,_0xc53e('0x65')),'headers':{'Authorization':util['format'](_0xc53e('0x66'),new Buffer(util['format'](_0xc53e('0x67'),_0x174cf9[_0xc53e('0x68')]))[_0xc53e('0x69')]('base64'))},'json':!![]});}})[_0xc53e('0x1e')](function(_0x340db2){if(_0x340db2){var _0x381652=[_0xc53e('0x6a'),_0xc53e('0x6b'),'agent',_0xc53e('0x6c'),_0xc53e('0x29'),'priority',_0xc53e('0x6d'),_0xc53e('0x6e'),_0xc53e('0x6f'),'group',_0xc53e('0x70')];_[_0xc53e('0x71')](_0x340db2,function(_0x49bed2){return _0x381652[_0xc53e('0x72')](_0x49bed2[_0xc53e('0x32')])||!_0x49bed2['default']&&_0x49bed2['type']!==_0xc53e('0x73')&&_0x49bed2['type']!==_0xc53e('0x74');});return{'count':_0x340db2[_0xc53e('0x3e')],'rows':_[_0xc53e('0x34')](_0x340db2,function(_0x58684c){return{'id':_0x58684c[_0xc53e('0x32')],'name':_0x58684c[_0xc53e('0x75')],'custom':!_0x58684c[_0xc53e('0x76')],'options':_0x58684c['choices']?_[_0xc53e('0x34')](_0x58684c[_0xc53e('0x77')],function(_0x1c24e6){return{'name':_[_0xc53e('0x78')](_0x1c24e6),'value':_0x1c24e6};}):[]};})};}})[_0xc53e('0x1e')](respondWithResult(_0x388874,null))['catch'](function(_0x3dac82){var _0x325287=_0x10167b[_0xc53e('0x3a')][_0xc53e('0x19')]?0x1f4:_0x3dac82[_0xc53e('0x79')]||0x1f4;logger[_0xc53e('0x23')](_0xc53e('0x7a'),_0xc53e('0x5d'),_0x325287,JSON[_0xc53e('0x22')](_0x3dac82));delete _0x3dac82['name'];if(_0x325287===0x191){_0x325287=0x190;}_0x388874[_0xc53e('0x29')](_0x325287)[_0xc53e('0x33')](_0x10167b[_0xc53e('0x3a')][_0xc53e('0x19')]?{'message':_0xc53e('0x7b'),'statusCode':_0x3dac82[_0xc53e('0x79')]}:_0x3dac82);});}; \ No newline at end of file diff --git a/server/api/intFreshdeskAccount/intFreshdeskAccount.model.js b/server/api/intFreshdeskAccount/intFreshdeskAccount.model.js index a6317ba..6de51ca 100644 --- a/server/api/intFreshdeskAccount/intFreshdeskAccount.model.js +++ b/server/api/intFreshdeskAccount/intFreshdeskAccount.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xee12=['../../config/environment','../../components/integrations/configuration','exports','define','FreshdeskAccount','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf'];(function(_0x115d5b,_0x26aff2){var _0x6cfc50=function(_0x39a786){while(--_0x39a786){_0x115d5b['push'](_0x115d5b['shift']());}};_0x6cfc50(++_0x26aff2);}(_0xee12,0x155));var _0x2ee1=function(_0x3533ce,_0x527dbf){_0x3533ce=_0x3533ce-0x0;var _0x4f17c1=_0xee12[_0x3533ce];return _0x4f17c1;};'use strict';var _=require(_0x2ee1('0x0'));var util=require(_0x2ee1('0x1'));var logger=require(_0x2ee1('0x2'))(_0x2ee1('0x3'));var moment=require(_0x2ee1('0x4'));var BPromise=require(_0x2ee1('0x5'));var rp=require(_0x2ee1('0x6'));var fs=require('fs');var path=require(_0x2ee1('0x7'));var rimraf=require(_0x2ee1('0x8'));var config=require(_0x2ee1('0x9'));var attributes=require('./intFreshdeskAccount.attributes');var integrations=require(_0x2ee1('0xa'));module[_0x2ee1('0xb')]=function(_0x3ecb04,_0x257f0a){return _0x3ecb04[_0x2ee1('0xc')](_0x2ee1('0xd'),attributes,{'tableName':'int_freshdesk_accounts','paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0xe41f=['moment','bluebird','request-promise','../../config/environment','./intFreshdeskAccount.attributes','../../components/integrations/configuration','exports','define','FreshdeskAccount','lodash','../../config/logger','api'];(function(_0x39acfa,_0x79e749){var _0x2c3013=function(_0x1b0944){while(--_0x1b0944){_0x39acfa['push'](_0x39acfa['shift']());}};_0x2c3013(++_0x79e749);}(_0xe41f,0x11d));var _0xfe41=function(_0x29938c,_0x343f52){_0x29938c=_0x29938c-0x0;var _0x36225d=_0xe41f[_0x29938c];return _0x36225d;};'use strict';var _=require(_0xfe41('0x0'));var util=require('util');var logger=require(_0xfe41('0x1'))(_0xfe41('0x2'));var moment=require(_0xfe41('0x3'));var BPromise=require(_0xfe41('0x4'));var rp=require(_0xfe41('0x5'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0xfe41('0x6'));var attributes=require(_0xfe41('0x7'));var integrations=require(_0xfe41('0x8'));module[_0xfe41('0x9')]=function(_0x48afad,_0x11ded0){return _0x48afad[_0xfe41('0xa')](_0xfe41('0xb'),attributes,{'tableName':'int_freshdesk_accounts','paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/intFreshdeskAccount/intFreshdeskAccount.rpc.js b/server/api/intFreshdeskAccount/intFreshdeskAccount.rpc.js index ff0f11b..0d10074 100644 --- a/server/api/intFreshdeskAccount/intFreshdeskAccount.rpc.js +++ b/server/api/intFreshdeskAccount/intFreshdeskAccount.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xdf1c=['GetFreshdeskAccount','FreshdeskAccount','findAll','options','where','attributes','limit','include','model','map','ShowFreshdeskAccount','find','raw','moment','bluebird','randomstring','ioredis','../../mysqldb','../../config/logger','jayson/promise','http','request','then','FreshdeskAccount,\x20%s,\x20%s','request\x20sent','debug','FreshdeskAccount,\x20%s,\x20%s,\x20%s','stringify','error','code','message','result','catch'];(function(_0x37a9d7,_0x2b6fde){var _0x1343d3=function(_0x3bde45){while(--_0x3bde45){_0x37a9d7['push'](_0x37a9d7['shift']());}};_0x1343d3(++_0x2b6fde);}(_0xdf1c,0x199));var _0xcdf1=function(_0x28fca7,_0x4b6904){_0x28fca7=_0x28fca7-0x0;var _0x196b6f=_0xdf1c[_0x28fca7];return _0x196b6f;};'use strict';var _=require('lodash');var util=require('util');var moment=require(_0xcdf1('0x0'));var BPromise=require(_0xcdf1('0x1'));var rs=require(_0xcdf1('0x2'));var fs=require('fs');var Redis=require(_0xcdf1('0x3'));var db=require(_0xcdf1('0x4'))['db'];var utils=require('../../config/utils');var logger=require(_0xcdf1('0x5'))('rpc');var config=require('../../config/environment');var jayson=require(_0xcdf1('0x6'));var client=jayson['client'][_0xcdf1('0x7')]({'port':0x232a});function respondWithRpcPromise(_0x2a306a,_0x586b08,_0x40df06){return new BPromise(function(_0xb0b38b,_0x5dae0c){return client[_0xcdf1('0x8')](_0x2a306a,_0x40df06)[_0xcdf1('0x9')](function(_0x5f518d){logger['info'](_0xcdf1('0xa'),_0x586b08,_0xcdf1('0xb'));logger[_0xcdf1('0xc')](_0xcdf1('0xd'),_0x586b08,_0xcdf1('0xb'),JSON[_0xcdf1('0xe')](_0x5f518d));if(_0x5f518d[_0xcdf1('0xf')]){if(_0x5f518d[_0xcdf1('0xf')][_0xcdf1('0x10')]===0x1f4){logger[_0xcdf1('0xf')](_0xcdf1('0xa'),_0x586b08,_0x5f518d[_0xcdf1('0xf')][_0xcdf1('0x11')]);return _0x5dae0c(_0x5f518d['error'][_0xcdf1('0x11')]);}logger[_0xcdf1('0xf')](_0xcdf1('0xa'),_0x586b08,_0x5f518d['error']['message']);return _0xb0b38b(_0x5f518d[_0xcdf1('0xf')]['message']);}else{logger['info'](_0xcdf1('0xa'),_0x586b08,_0xcdf1('0xb'));_0xb0b38b(_0x5f518d[_0xcdf1('0x12')][_0xcdf1('0x11')]);}})[_0xcdf1('0x13')](function(_0x3defdd){logger[_0xcdf1('0xf')]('FreshdeskAccount,\x20%s,\x20%s',_0x586b08,_0x3defdd);_0x5dae0c(_0x3defdd);});});}exports[_0xcdf1('0x14')]=function(_0x28413b){var _0x553218=this;return new Promise(function(_0x1f2a26,_0x1d33f9){return db[_0xcdf1('0x15')][_0xcdf1('0x16')]({'raw':_0x28413b['options']?_0x28413b[_0xcdf1('0x17')]['raw']===undefined?!![]:![]:!![],'where':_0x28413b['options']?_0x28413b[_0xcdf1('0x17')][_0xcdf1('0x18')]||null:null,'attributes':_0x28413b['options']?_0x28413b[_0xcdf1('0x17')][_0xcdf1('0x19')]||null:null,'limit':_0x28413b[_0xcdf1('0x17')]?_0x28413b[_0xcdf1('0x17')][_0xcdf1('0x1a')]||null:null,'include':_0x28413b[_0xcdf1('0x17')]?_0x28413b['options'][_0xcdf1('0x1b')]?_['map'](_0x28413b[_0xcdf1('0x17')][_0xcdf1('0x1b')],function(_0x529218){return{'model':db[_0x529218[_0xcdf1('0x1c')]],'as':_0x529218['as'],'attributes':_0x529218[_0xcdf1('0x19')],'include':_0x529218[_0xcdf1('0x1b')]?_[_0xcdf1('0x1d')](_0x529218[_0xcdf1('0x1b')],function(_0x52ca18){return{'model':db[_0x52ca18[_0xcdf1('0x1c')]],'as':_0x52ca18['as'],'attributes':_0x52ca18[_0xcdf1('0x19')],'include':_0x52ca18['include']?_[_0xcdf1('0x1d')](_0x52ca18[_0xcdf1('0x1b')],function(_0x23d5f4){return{'model':db[_0x23d5f4[_0xcdf1('0x1c')]],'as':_0x23d5f4['as'],'attributes':_0x23d5f4[_0xcdf1('0x19')]};}):[]};}):[]};}):[]:[]})[_0xcdf1('0x9')](function(_0x346cc1){logger['info'](_0xcdf1('0x14'),_0x28413b);logger[_0xcdf1('0xc')](_0xcdf1('0x14'),_0x28413b,JSON[_0xcdf1('0xe')](_0x346cc1));_0x1f2a26(_0x346cc1);})[_0xcdf1('0x13')](function(_0x36367e){logger['error'](_0xcdf1('0x14'),_0x36367e['message'],_0x28413b);_0x1d33f9(_0x553218[_0xcdf1('0xf')](0x1f4,_0x36367e['message']));});});};exports[_0xcdf1('0x1e')]=function(_0x143293){var _0x25485c=this;return new Promise(function(_0x17aef8,_0xb1581d){return db['FreshdeskAccount'][_0xcdf1('0x1f')]({'raw':_0x143293[_0xcdf1('0x17')]?_0x143293['options'][_0xcdf1('0x20')]===undefined?!![]:![]:!![],'where':_0x143293[_0xcdf1('0x17')]?_0x143293[_0xcdf1('0x17')][_0xcdf1('0x18')]||null:null,'attributes':_0x143293['options']?_0x143293[_0xcdf1('0x17')][_0xcdf1('0x19')]||null:null,'include':_0x143293[_0xcdf1('0x17')]?_0x143293[_0xcdf1('0x17')][_0xcdf1('0x1b')]?_[_0xcdf1('0x1d')](_0x143293[_0xcdf1('0x17')][_0xcdf1('0x1b')],function(_0x53455b){return{'model':db[_0x53455b[_0xcdf1('0x1c')]],'as':_0x53455b['as'],'attributes':_0x53455b[_0xcdf1('0x19')],'include':_0x53455b[_0xcdf1('0x1b')]?_[_0xcdf1('0x1d')](_0x53455b[_0xcdf1('0x1b')],function(_0x15ce48){return{'model':db[_0x15ce48[_0xcdf1('0x1c')]],'as':_0x15ce48['as'],'attributes':_0x15ce48[_0xcdf1('0x19')],'include':_0x15ce48[_0xcdf1('0x1b')]?_[_0xcdf1('0x1d')](_0x15ce48[_0xcdf1('0x1b')],function(_0x246750){return{'model':db[_0x246750['model']],'as':_0x246750['as'],'attributes':_0x246750['attributes']};}):[]};}):[]};}):[]:[]})['then'](function(_0x18e65c){logger['info'](_0xcdf1('0x1e'),_0x143293);logger[_0xcdf1('0xc')](_0xcdf1('0x1e'),_0x143293,JSON[_0xcdf1('0xe')](_0x18e65c));_0x17aef8(_0x18e65c);})[_0xcdf1('0x13')](function(_0x168095){logger['error'](_0xcdf1('0x1e'),_0x168095[_0xcdf1('0x11')],_0x143293);_0xb1581d(_0x25485c[_0xcdf1('0xf')](0x1f4,_0x168095[_0xcdf1('0x11')]));});});}; \ No newline at end of file +var _0x34b1=['moment','bluebird','randomstring','ioredis','../../mysqldb','../../config/utils','../../config/logger','rpc','../../config/environment','client','http','request','then','info','FreshdeskAccount,\x20%s,\x20%s','request\x20sent','FreshdeskAccount,\x20%s,\x20%s,\x20%s','stringify','error','code','message','result','FreshdeskAccount','findAll','options','raw','where','attributes','limit','include','map','model','GetFreshdeskAccount','debug','catch','ShowFreshdeskAccount','find','lodash','util'];(function(_0x230d0a,_0x16aa3a){var _0x43819e=function(_0x1d2a9c){while(--_0x1d2a9c){_0x230d0a['push'](_0x230d0a['shift']());}};_0x43819e(++_0x16aa3a);}(_0x34b1,0x73));var _0x134b=function(_0x43a37c,_0x25a567){_0x43a37c=_0x43a37c-0x0;var _0x5d1d40=_0x34b1[_0x43a37c];return _0x5d1d40;};'use strict';var _=require(_0x134b('0x0'));var util=require(_0x134b('0x1'));var moment=require(_0x134b('0x2'));var BPromise=require(_0x134b('0x3'));var rs=require(_0x134b('0x4'));var fs=require('fs');var Redis=require(_0x134b('0x5'));var db=require(_0x134b('0x6'))['db'];var utils=require(_0x134b('0x7'));var logger=require(_0x134b('0x8'))(_0x134b('0x9'));var config=require(_0x134b('0xa'));var jayson=require('jayson/promise');var client=jayson[_0x134b('0xb')][_0x134b('0xc')]({'port':0x232a});function respondWithRpcPromise(_0xa81f92,_0x316c94,_0x16e15f){return new BPromise(function(_0x4bcd5e,_0x32378a){return client[_0x134b('0xd')](_0xa81f92,_0x16e15f)[_0x134b('0xe')](function(_0x47577f){logger[_0x134b('0xf')](_0x134b('0x10'),_0x316c94,_0x134b('0x11'));logger['debug'](_0x134b('0x12'),_0x316c94,_0x134b('0x11'),JSON[_0x134b('0x13')](_0x47577f));if(_0x47577f[_0x134b('0x14')]){if(_0x47577f[_0x134b('0x14')][_0x134b('0x15')]===0x1f4){logger[_0x134b('0x14')]('FreshdeskAccount,\x20%s,\x20%s',_0x316c94,_0x47577f[_0x134b('0x14')][_0x134b('0x16')]);return _0x32378a(_0x47577f[_0x134b('0x14')][_0x134b('0x16')]);}logger[_0x134b('0x14')]('FreshdeskAccount,\x20%s,\x20%s',_0x316c94,_0x47577f[_0x134b('0x14')][_0x134b('0x16')]);return _0x4bcd5e(_0x47577f['error']['message']);}else{logger['info']('FreshdeskAccount,\x20%s,\x20%s',_0x316c94,_0x134b('0x11'));_0x4bcd5e(_0x47577f[_0x134b('0x17')][_0x134b('0x16')]);}})['catch'](function(_0x319261){logger[_0x134b('0x14')]('FreshdeskAccount,\x20%s,\x20%s',_0x316c94,_0x319261);_0x32378a(_0x319261);});});}exports['GetFreshdeskAccount']=function(_0x3b0c3c){var _0x2dba29=this;return new Promise(function(_0x49cb49,_0x570989){return db[_0x134b('0x18')][_0x134b('0x19')]({'raw':_0x3b0c3c[_0x134b('0x1a')]?_0x3b0c3c[_0x134b('0x1a')][_0x134b('0x1b')]===undefined?!![]:![]:!![],'where':_0x3b0c3c['options']?_0x3b0c3c[_0x134b('0x1a')][_0x134b('0x1c')]||null:null,'attributes':_0x3b0c3c[_0x134b('0x1a')]?_0x3b0c3c[_0x134b('0x1a')][_0x134b('0x1d')]||null:null,'limit':_0x3b0c3c[_0x134b('0x1a')]?_0x3b0c3c[_0x134b('0x1a')][_0x134b('0x1e')]||null:null,'include':_0x3b0c3c[_0x134b('0x1a')]?_0x3b0c3c[_0x134b('0x1a')][_0x134b('0x1f')]?_[_0x134b('0x20')](_0x3b0c3c[_0x134b('0x1a')][_0x134b('0x1f')],function(_0x5cab68){return{'model':db[_0x5cab68[_0x134b('0x21')]],'as':_0x5cab68['as'],'attributes':_0x5cab68[_0x134b('0x1d')],'include':_0x5cab68[_0x134b('0x1f')]?_['map'](_0x5cab68[_0x134b('0x1f')],function(_0x366405){return{'model':db[_0x366405[_0x134b('0x21')]],'as':_0x366405['as'],'attributes':_0x366405[_0x134b('0x1d')],'include':_0x366405[_0x134b('0x1f')]?_[_0x134b('0x20')](_0x366405['include'],function(_0x160252){return{'model':db[_0x160252[_0x134b('0x21')]],'as':_0x160252['as'],'attributes':_0x160252[_0x134b('0x1d')]};}):[]};}):[]};}):[]:[]})['then'](function(_0x1adb0c){logger['info'](_0x134b('0x22'),_0x3b0c3c);logger[_0x134b('0x23')](_0x134b('0x22'),_0x3b0c3c,JSON[_0x134b('0x13')](_0x1adb0c));_0x49cb49(_0x1adb0c);})[_0x134b('0x24')](function(_0x35692c){logger[_0x134b('0x14')](_0x134b('0x22'),_0x35692c[_0x134b('0x16')],_0x3b0c3c);_0x570989(_0x2dba29[_0x134b('0x14')](0x1f4,_0x35692c[_0x134b('0x16')]));});});};exports[_0x134b('0x25')]=function(_0x29a851){var _0x1140c5=this;return new Promise(function(_0x44330a,_0x1a4434){return db[_0x134b('0x18')][_0x134b('0x26')]({'raw':_0x29a851[_0x134b('0x1a')]?_0x29a851[_0x134b('0x1a')][_0x134b('0x1b')]===undefined?!![]:![]:!![],'where':_0x29a851[_0x134b('0x1a')]?_0x29a851['options'][_0x134b('0x1c')]||null:null,'attributes':_0x29a851[_0x134b('0x1a')]?_0x29a851['options'][_0x134b('0x1d')]||null:null,'include':_0x29a851[_0x134b('0x1a')]?_0x29a851[_0x134b('0x1a')][_0x134b('0x1f')]?_['map'](_0x29a851[_0x134b('0x1a')][_0x134b('0x1f')],function(_0x1ab5c6){return{'model':db[_0x1ab5c6[_0x134b('0x21')]],'as':_0x1ab5c6['as'],'attributes':_0x1ab5c6[_0x134b('0x1d')],'include':_0x1ab5c6['include']?_['map'](_0x1ab5c6[_0x134b('0x1f')],function(_0x3acc1f){return{'model':db[_0x3acc1f[_0x134b('0x21')]],'as':_0x3acc1f['as'],'attributes':_0x3acc1f[_0x134b('0x1d')],'include':_0x3acc1f[_0x134b('0x1f')]?_[_0x134b('0x20')](_0x3acc1f[_0x134b('0x1f')],function(_0x5b8a3b){return{'model':db[_0x5b8a3b['model']],'as':_0x5b8a3b['as'],'attributes':_0x5b8a3b['attributes']};}):[]};}):[]};}):[]:[]})['then'](function(_0x3e2dfd){logger[_0x134b('0xf')]('ShowFreshdeskAccount',_0x29a851);logger[_0x134b('0x23')](_0x134b('0x25'),_0x29a851,JSON['stringify'](_0x3e2dfd));_0x44330a(_0x3e2dfd);})[_0x134b('0x24')](function(_0xd5c03b){logger[_0x134b('0x14')](_0x134b('0x25'),_0xd5c03b['message'],_0x29a851);_0x1a4434(_0x1140c5[_0x134b('0x14')](0x1f4,_0xd5c03b[_0x134b('0x16')]));});});}; \ No newline at end of file diff --git a/server/api/intFreshdeskConfiguration/index.js b/server/api/intFreshdeskConfiguration/index.js index bb4e977..7084c19 100644 --- a/server/api/intFreshdeskConfiguration/index.js +++ b/server/api/intFreshdeskConfiguration/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xe960=['exports','multer','util','connect-timeout','Router','../../components/interaction/service','../../config/environment','./intFreshdeskConfiguration.controller','get','isAuthenticated','index','/:id','show','/:id/fields','getFields','/:id/subjects','getSubjects','getDescriptions','/:id/tags','create','put','delete'];(function(_0x3d67c0,_0x58ae0b){var _0x2e7218=function(_0x3888ce){while(--_0x3888ce){_0x3d67c0['push'](_0x3d67c0['shift']());}};_0x2e7218(++_0x58ae0b);}(_0xe960,0xf3));var _0x0e96=function(_0x1d65ec,_0x59e352){_0x1d65ec=_0x1d65ec-0x0;var _0x14c6d7=_0xe960[_0x1d65ec];return _0x14c6d7;};'use strict';var multer=require(_0x0e96('0x0'));var util=require(_0x0e96('0x1'));var path=require('path');var timeout=require(_0x0e96('0x2'));var express=require('express');var router=express[_0x0e96('0x3')]();var auth=require('../../components/auth/service');var interaction=require(_0x0e96('0x4'));var config=require(_0x0e96('0x5'));var controller=require(_0x0e96('0x6'));router[_0x0e96('0x7')]('/',auth[_0x0e96('0x8')](),controller[_0x0e96('0x9')]);router[_0x0e96('0x7')](_0x0e96('0xa'),auth[_0x0e96('0x8')](),controller[_0x0e96('0xb')]);router[_0x0e96('0x7')](_0x0e96('0xc'),auth[_0x0e96('0x8')](),controller[_0x0e96('0xd')]);router[_0x0e96('0x7')](_0x0e96('0xe'),auth['isAuthenticated'](),controller[_0x0e96('0xf')]);router[_0x0e96('0x7')]('/:id/descriptions',auth[_0x0e96('0x8')](),controller[_0x0e96('0x10')]);router[_0x0e96('0x7')](_0x0e96('0x11'),auth[_0x0e96('0x8')](),controller['getTags']);router['post']('/',auth[_0x0e96('0x8')](),controller[_0x0e96('0x12')]);router['post']('/:id/tags',auth[_0x0e96('0x8')](),controller['setTags']);router[_0x0e96('0x13')]('/:id',auth[_0x0e96('0x8')](),controller['update']);router[_0x0e96('0x14')]('/:id',auth[_0x0e96('0x8')](),controller['destroy']);module[_0x0e96('0x15')]=router; \ No newline at end of file +var _0x550d=['post','create','put','delete','destroy','exports','multer','util','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','./intFreshdeskConfiguration.controller','get','isAuthenticated','index','/:id','/:id/fields','getFields','/:id/subjects','getSubjects','/:id/descriptions','getDescriptions','/:id/tags','getTags'];(function(_0x2a8814,_0x308181){var _0x537634=function(_0x25e8c7){while(--_0x25e8c7){_0x2a8814['push'](_0x2a8814['shift']());}};_0x537634(++_0x308181);}(_0x550d,0x1a6));var _0xd550=function(_0xe1c51e,_0x1f15da){_0xe1c51e=_0xe1c51e-0x0;var _0x4e26bd=_0x550d[_0xe1c51e];return _0x4e26bd;};'use strict';var multer=require(_0xd550('0x0'));var util=require(_0xd550('0x1'));var path=require(_0xd550('0x2'));var timeout=require(_0xd550('0x3'));var express=require(_0xd550('0x4'));var router=express['Router']();var auth=require(_0xd550('0x5'));var interaction=require(_0xd550('0x6'));var config=require('../../config/environment');var controller=require(_0xd550('0x7'));router[_0xd550('0x8')]('/',auth[_0xd550('0x9')](),controller[_0xd550('0xa')]);router[_0xd550('0x8')](_0xd550('0xb'),auth[_0xd550('0x9')](),controller['show']);router[_0xd550('0x8')](_0xd550('0xc'),auth[_0xd550('0x9')](),controller[_0xd550('0xd')]);router[_0xd550('0x8')](_0xd550('0xe'),auth['isAuthenticated'](),controller[_0xd550('0xf')]);router[_0xd550('0x8')](_0xd550('0x10'),auth[_0xd550('0x9')](),controller[_0xd550('0x11')]);router[_0xd550('0x8')](_0xd550('0x12'),auth[_0xd550('0x9')](),controller[_0xd550('0x13')]);router[_0xd550('0x14')]('/',auth[_0xd550('0x9')](),controller[_0xd550('0x15')]);router[_0xd550('0x14')](_0xd550('0x12'),auth[_0xd550('0x9')](),controller['setTags']);router[_0xd550('0x16')](_0xd550('0xb'),auth[_0xd550('0x9')](),controller['update']);router[_0xd550('0x17')]('/:id',auth[_0xd550('0x9')](),controller[_0xd550('0x18')]);module[_0xd550('0x19')]=router; \ No newline at end of file diff --git a/server/api/intFreshdeskConfiguration/intFreshdeskConfiguration.attributes.js b/server/api/intFreshdeskConfiguration/intFreshdeskConfiguration.attributes.js index 07d0da8..377ec71 100644 --- a/server/api/intFreshdeskConfiguration/intFreshdeskConfiguration.attributes.js +++ b/server/api/intFreshdeskConfiguration/intFreshdeskConfiguration.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xa806=['STRING','sequelize','exports'];(function(_0x11c361,_0x4f5b42){var _0x1f5355=function(_0x259200){while(--_0x259200){_0x11c361['push'](_0x11c361['shift']());}};_0x1f5355(++_0x4f5b42);}(_0xa806,0x100));var _0x6a80=function(_0x230951,_0x4dad52){_0x230951=_0x230951-0x0;var _0xeb26b1=_0xa806[_0x230951];return _0xeb26b1;};'use strict';var Sequelize=require(_0x6a80('0x0'));module[_0x6a80('0x1')]={'name':{'type':Sequelize[_0x6a80('0x2')]},'description':{'type':Sequelize[_0x6a80('0x2')]}}; \ No newline at end of file +var _0x4dfd=['sequelize','exports','STRING'];(function(_0xf737f9,_0x3b96af){var _0x58f7c6=function(_0x5817ec){while(--_0x5817ec){_0xf737f9['push'](_0xf737f9['shift']());}};_0x58f7c6(++_0x3b96af);}(_0x4dfd,0xb1));var _0xd4df=function(_0x54a4e4,_0x484801){_0x54a4e4=_0x54a4e4-0x0;var _0x1766b2=_0x4dfd[_0x54a4e4];return _0x1766b2;};'use strict';var Sequelize=require(_0xd4df('0x0'));module[_0xd4df('0x1')]={'name':{'type':Sequelize[_0xd4df('0x2')]},'description':{'type':Sequelize[_0xd4df('0x2')]}}; \ No newline at end of file diff --git a/server/api/intFreshdeskConfiguration/intFreshdeskConfiguration.controller.js b/server/api/intFreshdeskConfiguration/intFreshdeskConfiguration.controller.js index b48e646..e3567d3 100644 --- a/server/api/intFreshdeskConfiguration/intFreshdeskConfiguration.controller.js +++ b/server/api/intFreshdeskConfiguration/intFreshdeskConfiguration.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x4986=['includeAll','include','findAll','rows','show','params','find','create','body','findOne','FreshdeskField','getFields','nolimit','getSubjects','getDescriptions','getTags','setTags','html-pdf','eml-format','rimraf','request-promise','moment','mustache','util','path','sox','to-csv','ejs','lodash','jsforce','desk.js','querystring','papaparse','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','api','../../config/environment','../../mysqldb','jayson/promise','client','http','test','Sequelize','ValidationError','The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.','request','then','info','FreshdeskConfiguration,\x20%s,\x20%s','request\x20sent','debug','FreshdeskConfiguration,\x20%s,\x20%s,\x20%s','error','code','message','result','catch','sendStatus','status','end','json','set','Content-Range','update','destroy','stack','name','index','map','FreshdeskConfiguration','rawAttributes','type','key','model','query','keys','intersection','fields','attributes','length','hasOwnProperty','limit','offset','order','sort','where','filters','pick','filter','merge','options','count'];(function(_0x3b72b2,_0x56aeb8){var _0x2ad25b=function(_0x28e9a8){while(--_0x28e9a8){_0x3b72b2['push'](_0x3b72b2['shift']());}};_0x2ad25b(++_0x56aeb8);}(_0x4986,0x6e));var _0x6498=function(_0xebdb0,_0xc1656a){_0xebdb0=_0xebdb0-0x0;var _0x49b5b1=_0x4986[_0xebdb0];return _0x49b5b1;};'use strict';var pdf=require(_0x6498('0x0'));var emlformat=require(_0x6498('0x1'));var rimraf=require(_0x6498('0x2'));var zipdir=require('zip-dir');var jsonpatch=require('fast-json-patch');var rp=require(_0x6498('0x3'));var moment=require(_0x6498('0x4'));var BPromise=require('bluebird');var Mustache=require(_0x6498('0x5'));var util=require(_0x6498('0x6'));var path=require(_0x6498('0x7'));var sox=require(_0x6498('0x8'));var csv=require(_0x6498('0x9'));var ejs=require(_0x6498('0xa'));var fs=require('fs');var _=require(_0x6498('0xb'));var squel=require('squel');var crypto=require('crypto');var jsforce=require(_0x6498('0xc'));var deskjs=require(_0x6498('0xd'));var toCsv=require(_0x6498('0x9'));var querystring=require(_0x6498('0xe'));var Papa=require(_0x6498('0xf'));var Redis=require('ioredis');var authService=require(_0x6498('0x10'));var qs=require(_0x6498('0x11'));var as=require(_0x6498('0x12'));var hardwareService=require('../../config/license/hardware');var logger=require('../../config/logger')(_0x6498('0x13'));var utils=require('../../config/utils');var config=require(_0x6498('0x14'));var db=require(_0x6498('0x15'))['db'];var jayson=require(_0x6498('0x16'));var client=jayson[_0x6498('0x17')][_0x6498('0x18')]({'port':0x232a});function checkPasswordPattern(_0x3771b1,_0x45b86e,_0x4eaf5d){if(_0x4eaf5d){var _0x5e1e56=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0x5e1e56[_0x6498('0x19')](_0x45b86e)){return _0x3771b1;}else{throw new db[(_0x6498('0x1a'))][(_0x6498('0x1b'))](_0x6498('0x1c'));}}else{return _0x3771b1;}}function respondWithRpcPromise(_0x1d49ef,_0x59833d,_0x318b75,_0x2ab98d){return new BPromise(function(_0x172b0e,_0x4420ee){var _0x2713fa=_0x2ab98d||client;return _0x2713fa[_0x6498('0x1d')](_0x1d49ef,_0x318b75)[_0x6498('0x1e')](function(_0x500d3f){logger[_0x6498('0x1f')](_0x6498('0x20'),_0x59833d,_0x6498('0x21'));logger[_0x6498('0x22')](_0x6498('0x23'),_0x59833d,'request\x20sent',JSON['stringify'](_0x500d3f));if(_0x500d3f[_0x6498('0x24')]){if(_0x500d3f[_0x6498('0x24')][_0x6498('0x25')]===0x1f4){logger[_0x6498('0x24')](_0x6498('0x20'),_0x59833d,_0x500d3f[_0x6498('0x24')][_0x6498('0x26')]);return _0x4420ee(_0x500d3f[_0x6498('0x24')][_0x6498('0x26')]);}logger[_0x6498('0x24')](_0x6498('0x20'),_0x59833d,_0x500d3f[_0x6498('0x24')][_0x6498('0x26')]);return _0x172b0e(_0x500d3f[_0x6498('0x24')]['message']);}else{logger['info'](_0x6498('0x20'),_0x59833d,'request\x20sent');_0x172b0e(_0x500d3f[_0x6498('0x27')][_0x6498('0x26')]);}})[_0x6498('0x28')](function(_0x1b537f){logger['error']('FreshdeskConfiguration,\x20%s,\x20%s',_0x59833d,_0x1b537f);_0x4420ee(_0x1b537f);});});}function respondWithStatusCode(_0x43b1d2,_0x4f9d95){_0x4f9d95=_0x4f9d95||0xcc;return function(_0x3e8dc7){if(_0x3e8dc7){return _0x43b1d2[_0x6498('0x29')](_0x4f9d95);}return _0x43b1d2[_0x6498('0x2a')](_0x4f9d95)[_0x6498('0x2b')]();};}function respondWithResult(_0x1ce28d,_0x3a976e){_0x3a976e=_0x3a976e||0xc8;return function(_0x1bb97c){if(_0x1bb97c){return _0x1ce28d[_0x6498('0x2a')](_0x3a976e)[_0x6498('0x2c')](_0x1bb97c);}};}function respondWithFilteredResult(_0x2213a4,_0x660782){return function(_0x3c80da){if(_0x3c80da){var _0x64df19=_0x3c80da['count'],_0x4be06f=_0x660782['offset'],_0x12c9d2=_0x660782['offset']+_0x660782['limit'],_0x383d8b;if(_0x12c9d2>=_0x64df19){_0x12c9d2=_0x64df19;_0x383d8b=0xc8;}else{_0x383d8b=0xce;}_0x2213a4[_0x6498('0x2a')](_0x383d8b);return _0x2213a4[_0x6498('0x2d')](_0x6498('0x2e'),_0x4be06f+'-'+_0x12c9d2+'/'+_0x64df19)[_0x6498('0x2c')](_0x3c80da);}return null;};}function patchUpdates(_0x576ab2){return function(_0x46b361){try{jsonpatch['apply'](_0x46b361,_0x576ab2,!![]);}catch(_0x4ef1bf){return BPromise['reject'](_0x4ef1bf);}return _0x46b361['save']();};}function saveUpdates(_0x28bac3,_0x3e11bb){return function(_0x4df85d){if(_0x4df85d){return _0x4df85d[_0x6498('0x2f')](_0x28bac3)['then'](function(_0x420bb3){return _0x420bb3;});}return null;};}function removeEntity(_0x23c651,_0x4c5a32){return function(_0x48ba59){if(_0x48ba59){return _0x48ba59[_0x6498('0x30')]()['then'](function(){_0x23c651[_0x6498('0x2a')](0xcc)[_0x6498('0x2b')]();});}};}function handleEntityNotFound(_0x5d3de5,_0x45eb4f){return function(_0x52ef6c){if(!_0x52ef6c){_0x5d3de5[_0x6498('0x29')](0x194);}return _0x52ef6c;};}function handleError(_0x340827,_0x56739d){_0x56739d=_0x56739d||0x1f4;return function(_0x2bbb2c){logger[_0x6498('0x24')](_0x2bbb2c[_0x6498('0x31')]);if(_0x2bbb2c[_0x6498('0x32')]){delete _0x2bbb2c['name'];}_0x340827[_0x6498('0x2a')](_0x56739d)['send'](_0x2bbb2c);};}exports[_0x6498('0x33')]=function(_0x5b5089,_0x12c2c4){var _0x50179d={},_0x2411ee={},_0x231964={'count':0x0,'rows':[]};var _0x19634b=_[_0x6498('0x34')](db[_0x6498('0x35')][_0x6498('0x36')],function(_0x152b1c){return{'name':_0x152b1c['fieldName'],'type':_0x152b1c[_0x6498('0x37')][_0x6498('0x38')]};});_0x2411ee[_0x6498('0x39')]=_[_0x6498('0x34')](_0x19634b,_0x6498('0x32'));_0x2411ee[_0x6498('0x3a')]=_[_0x6498('0x3b')](_0x5b5089[_0x6498('0x3a')]);_0x2411ee['filters']=_[_0x6498('0x3c')](_0x2411ee[_0x6498('0x39')],_0x2411ee[_0x6498('0x3a')]);_0x50179d['attributes']=_[_0x6498('0x3c')](_0x2411ee[_0x6498('0x39')],qs[_0x6498('0x3d')](_0x5b5089[_0x6498('0x3a')][_0x6498('0x3d')]));_0x50179d[_0x6498('0x3e')]=_0x50179d[_0x6498('0x3e')][_0x6498('0x3f')]?_0x50179d[_0x6498('0x3e')]:_0x2411ee[_0x6498('0x39')];if(!_0x5b5089[_0x6498('0x3a')][_0x6498('0x40')]('nolimit')){_0x50179d['limit']=qs['limit'](_0x5b5089[_0x6498('0x3a')][_0x6498('0x41')]);_0x50179d[_0x6498('0x42')]=qs[_0x6498('0x42')](_0x5b5089[_0x6498('0x3a')][_0x6498('0x42')]);}_0x50179d[_0x6498('0x43')]=qs['sort'](_0x5b5089[_0x6498('0x3a')][_0x6498('0x44')]);_0x50179d[_0x6498('0x45')]=qs[_0x6498('0x46')](_[_0x6498('0x47')](_0x5b5089[_0x6498('0x3a')],_0x2411ee['filters']),_0x19634b);if(_0x5b5089[_0x6498('0x3a')][_0x6498('0x48')]){_0x50179d['where']=_['merge'](_0x50179d[_0x6498('0x45')],{'$or':_[_0x6498('0x34')](_0x19634b,function(_0x5feab9){if(_0x5feab9['type']!=='VIRTUAL'){var _0xc578de={};_0xc578de[_0x5feab9['name']]={'$like':'%'+_0x5b5089[_0x6498('0x3a')][_0x6498('0x48')]+'%'};return _0xc578de;}})});}_0x50179d=_[_0x6498('0x49')]({},_0x50179d,_0x5b5089[_0x6498('0x4a')]);var _0x1d28ec={'where':_0x50179d[_0x6498('0x45')]};return db['FreshdeskConfiguration'][_0x6498('0x4b')](_0x1d28ec)[_0x6498('0x1e')](function(_0x1e2da7){_0x231964[_0x6498('0x4b')]=_0x1e2da7;if(_0x5b5089['query'][_0x6498('0x4c')]){_0x50179d[_0x6498('0x4d')]=[{'all':!![]}];}return db[_0x6498('0x35')][_0x6498('0x4e')](_0x50179d);})[_0x6498('0x1e')](function(_0x1a498c){_0x231964[_0x6498('0x4f')]=_0x1a498c;return _0x231964;})[_0x6498('0x1e')](respondWithFilteredResult(_0x12c2c4,_0x50179d))['catch'](handleError(_0x12c2c4,null));};exports[_0x6498('0x50')]=function(_0x1bbb6f,_0x1a1065){var _0x30d30b={'raw':![],'where':{'id':_0x1bbb6f[_0x6498('0x51')]['id']}},_0x125a14={};_0x125a14[_0x6498('0x39')]=_[_0x6498('0x3b')](db[_0x6498('0x35')][_0x6498('0x36')]);_0x125a14[_0x6498('0x3a')]=_[_0x6498('0x3b')](_0x1bbb6f[_0x6498('0x3a')]);_0x125a14[_0x6498('0x46')]=_[_0x6498('0x3c')](_0x125a14[_0x6498('0x39')],_0x125a14[_0x6498('0x3a')]);_0x30d30b[_0x6498('0x3e')]=_[_0x6498('0x3c')](_0x125a14[_0x6498('0x39')],qs[_0x6498('0x3d')](_0x1bbb6f['query'][_0x6498('0x3d')]));_0x30d30b[_0x6498('0x3e')]=_0x30d30b[_0x6498('0x3e')][_0x6498('0x3f')]?_0x30d30b[_0x6498('0x3e')]:_0x125a14[_0x6498('0x39')];if(_0x1bbb6f['query']['includeAll']){_0x30d30b[_0x6498('0x4d')]=[{'all':!![]}];}_0x30d30b=_['merge']({},_0x30d30b,_0x1bbb6f[_0x6498('0x4a')]);return db[_0x6498('0x35')][_0x6498('0x52')](_0x30d30b)[_0x6498('0x1e')](handleEntityNotFound(_0x1a1065,null))[_0x6498('0x1e')](respondWithResult(_0x1a1065,null))['catch'](handleError(_0x1a1065,null));};exports[_0x6498('0x53')]=function(_0x2d6b56,_0x3ed025){return db[_0x6498('0x35')]['create'](_0x2d6b56['body'],{})[_0x6498('0x1e')](respondWithResult(_0x3ed025,0xc9))['catch'](handleError(_0x3ed025,null));};exports[_0x6498('0x2f')]=function(_0x226653,_0x71c046){if(_0x226653[_0x6498('0x54')]['id']){delete _0x226653[_0x6498('0x54')]['id'];}return db[_0x6498('0x35')][_0x6498('0x52')]({'where':{'id':_0x226653[_0x6498('0x51')]['id']}})['then'](handleEntityNotFound(_0x71c046,null))[_0x6498('0x1e')](saveUpdates(_0x226653[_0x6498('0x54')],null))[_0x6498('0x1e')](respondWithResult(_0x71c046,null))[_0x6498('0x28')](handleError(_0x71c046,null));};exports['destroy']=function(_0xcc006c,_0x5a33a4){return db[_0x6498('0x35')]['find']({'where':{'id':_0xcc006c[_0x6498('0x51')]['id']}})[_0x6498('0x1e')](handleEntityNotFound(_0x5a33a4,null))['then'](removeEntity(_0x5a33a4,null))['catch'](handleError(_0x5a33a4,null));};exports['getFields']=function(_0xcbca31,_0x3a2c33,_0x5a9373){var _0x35a41a={};var _0x68ec4e={};var _0x5d5c8c;var _0x5eccb8;return db[_0x6498('0x35')][_0x6498('0x55')]({'where':{'id':_0xcbca31[_0x6498('0x51')]['id']}})[_0x6498('0x1e')](handleEntityNotFound(_0x3a2c33,null))[_0x6498('0x1e')](function(_0x33c930){if(_0x33c930){_0x5d5c8c=_0x33c930;_0x68ec4e[_0x6498('0x39')]=_[_0x6498('0x3b')](db[_0x6498('0x56')]['rawAttributes']);_0x68ec4e['query']=_[_0x6498('0x3b')](_0xcbca31[_0x6498('0x3a')]);_0x68ec4e['filters']=_[_0x6498('0x3c')](_0x68ec4e[_0x6498('0x39')],_0x68ec4e[_0x6498('0x3a')]);_0x35a41a[_0x6498('0x3e')]=_[_0x6498('0x3c')](_0x68ec4e[_0x6498('0x39')],qs['fields'](_0xcbca31['query']['fields']));_0x35a41a[_0x6498('0x3e')]=_0x35a41a[_0x6498('0x3e')]['length']?_0x35a41a[_0x6498('0x3e')]:_0x68ec4e[_0x6498('0x39')];_0x35a41a[_0x6498('0x43')]=qs[_0x6498('0x44')](_0xcbca31[_0x6498('0x3a')][_0x6498('0x44')]);_0x35a41a[_0x6498('0x45')]=qs[_0x6498('0x46')](_[_0x6498('0x47')](_0xcbca31[_0x6498('0x3a')],_0x68ec4e['filters']));if(_0xcbca31[_0x6498('0x3a')][_0x6498('0x48')]){_0x35a41a['where']=_['merge'](_0x35a41a['where'],{'$or':_['map'](_0x35a41a[_0x6498('0x3e')],function(_0x414b17){var _0x43296a={};_0x43296a[_0x414b17]={'$like':'%'+_0xcbca31[_0x6498('0x3a')]['filter']+'%'};return _0x43296a;})});}_0x35a41a=_[_0x6498('0x49')]({},_0x35a41a,_0xcbca31['options']);return _0x5d5c8c[_0x6498('0x57')](_0x35a41a);}})[_0x6498('0x1e')](function(_0x467472){if(_0x467472){_0x5eccb8=_0x467472[_0x6498('0x3f')];if(!_0xcbca31[_0x6498('0x3a')][_0x6498('0x40')](_0x6498('0x58'))){_0x35a41a[_0x6498('0x41')]=qs[_0x6498('0x41')](_0xcbca31[_0x6498('0x3a')]['limit']);_0x35a41a[_0x6498('0x42')]=qs[_0x6498('0x42')](_0xcbca31['query']['offset']);}return _0x5d5c8c['getFields'](_0x35a41a);}})[_0x6498('0x1e')](function(_0x35ccc0){if(_0x35ccc0){return _0x35ccc0?{'count':_0x5eccb8,'rows':_0x35ccc0}:null;}})['then'](respondWithResult(_0x3a2c33,null))['catch'](handleError(_0x3a2c33,null));};exports[_0x6498('0x59')]=function(_0xec35e1,_0x42c894,_0x5024dc){var _0xb13dd0={};var _0x46f1b0={};var _0x383d75;var _0x259549;return db[_0x6498('0x35')][_0x6498('0x55')]({'where':{'id':_0xec35e1[_0x6498('0x51')]['id']}})[_0x6498('0x1e')](handleEntityNotFound(_0x42c894,null))['then'](function(_0x3cefdc){if(_0x3cefdc){_0x383d75=_0x3cefdc;_0x46f1b0[_0x6498('0x39')]=_[_0x6498('0x3b')](db[_0x6498('0x56')]['rawAttributes']);_0x46f1b0[_0x6498('0x3a')]=_[_0x6498('0x3b')](_0xec35e1[_0x6498('0x3a')]);_0x46f1b0['filters']=_[_0x6498('0x3c')](_0x46f1b0[_0x6498('0x39')],_0x46f1b0[_0x6498('0x3a')]);_0xb13dd0[_0x6498('0x3e')]=_[_0x6498('0x3c')](_0x46f1b0[_0x6498('0x39')],qs['fields'](_0xec35e1[_0x6498('0x3a')][_0x6498('0x3d')]));_0xb13dd0[_0x6498('0x3e')]=_0xb13dd0['attributes'][_0x6498('0x3f')]?_0xb13dd0[_0x6498('0x3e')]:_0x46f1b0['model'];_0xb13dd0[_0x6498('0x43')]=qs[_0x6498('0x44')](_0xec35e1[_0x6498('0x3a')][_0x6498('0x44')]);_0xb13dd0['where']=qs[_0x6498('0x46')](_[_0x6498('0x47')](_0xec35e1[_0x6498('0x3a')],_0x46f1b0[_0x6498('0x46')]));if(_0xec35e1[_0x6498('0x3a')][_0x6498('0x48')]){_0xb13dd0[_0x6498('0x45')]=_[_0x6498('0x49')](_0xb13dd0[_0x6498('0x45')],{'$or':_['map'](_0xb13dd0[_0x6498('0x3e')],function(_0xc13545){var _0x2503f3={};_0x2503f3[_0xc13545]={'$like':'%'+_0xec35e1[_0x6498('0x3a')][_0x6498('0x48')]+'%'};return _0x2503f3;})});}_0xb13dd0=_[_0x6498('0x49')]({},_0xb13dd0,_0xec35e1[_0x6498('0x4a')]);return _0x383d75[_0x6498('0x59')](_0xb13dd0);}})[_0x6498('0x1e')](function(_0x3f18be){if(_0x3f18be){_0x259549=_0x3f18be[_0x6498('0x3f')];if(!_0xec35e1[_0x6498('0x3a')][_0x6498('0x40')](_0x6498('0x58'))){_0xb13dd0[_0x6498('0x41')]=qs[_0x6498('0x41')](_0xec35e1[_0x6498('0x3a')][_0x6498('0x41')]);_0xb13dd0[_0x6498('0x42')]=qs[_0x6498('0x42')](_0xec35e1[_0x6498('0x3a')][_0x6498('0x42')]);}return _0x383d75[_0x6498('0x59')](_0xb13dd0);}})[_0x6498('0x1e')](function(_0x1c4cec){if(_0x1c4cec){return _0x1c4cec?{'count':_0x259549,'rows':_0x1c4cec}:null;}})[_0x6498('0x1e')](respondWithResult(_0x42c894,null))[_0x6498('0x28')](handleError(_0x42c894,null));};exports['getDescriptions']=function(_0x5791b3,_0x1e8a78,_0x1c298b){var _0x363122={};var _0x14b8cd={};var _0x6dbe91;var _0x2bf343;return db[_0x6498('0x35')][_0x6498('0x55')]({'where':{'id':_0x5791b3[_0x6498('0x51')]['id']}})[_0x6498('0x1e')](handleEntityNotFound(_0x1e8a78,null))['then'](function(_0x40fa8b){if(_0x40fa8b){_0x6dbe91=_0x40fa8b;_0x14b8cd[_0x6498('0x39')]=_[_0x6498('0x3b')](db[_0x6498('0x56')]['rawAttributes']);_0x14b8cd[_0x6498('0x3a')]=_[_0x6498('0x3b')](_0x5791b3[_0x6498('0x3a')]);_0x14b8cd[_0x6498('0x46')]=_[_0x6498('0x3c')](_0x14b8cd[_0x6498('0x39')],_0x14b8cd['query']);_0x363122['attributes']=_[_0x6498('0x3c')](_0x14b8cd[_0x6498('0x39')],qs[_0x6498('0x3d')](_0x5791b3['query'][_0x6498('0x3d')]));_0x363122[_0x6498('0x3e')]=_0x363122[_0x6498('0x3e')][_0x6498('0x3f')]?_0x363122['attributes']:_0x14b8cd['model'];_0x363122[_0x6498('0x43')]=qs[_0x6498('0x44')](_0x5791b3[_0x6498('0x3a')][_0x6498('0x44')]);_0x363122[_0x6498('0x45')]=qs[_0x6498('0x46')](_[_0x6498('0x47')](_0x5791b3[_0x6498('0x3a')],_0x14b8cd['filters']));if(_0x5791b3[_0x6498('0x3a')]['filter']){_0x363122[_0x6498('0x45')]=_['merge'](_0x363122['where'],{'$or':_[_0x6498('0x34')](_0x363122['attributes'],function(_0x18ae8a){var _0x358fa1={};_0x358fa1[_0x18ae8a]={'$like':'%'+_0x5791b3[_0x6498('0x3a')][_0x6498('0x48')]+'%'};return _0x358fa1;})});}_0x363122=_[_0x6498('0x49')]({},_0x363122,_0x5791b3[_0x6498('0x4a')]);return _0x6dbe91[_0x6498('0x5a')](_0x363122);}})[_0x6498('0x1e')](function(_0x25072b){if(_0x25072b){_0x2bf343=_0x25072b[_0x6498('0x3f')];if(!_0x5791b3[_0x6498('0x3a')][_0x6498('0x40')](_0x6498('0x58'))){_0x363122[_0x6498('0x41')]=qs[_0x6498('0x41')](_0x5791b3[_0x6498('0x3a')][_0x6498('0x41')]);_0x363122[_0x6498('0x42')]=qs[_0x6498('0x42')](_0x5791b3[_0x6498('0x3a')]['offset']);}return _0x6dbe91[_0x6498('0x5a')](_0x363122);}})[_0x6498('0x1e')](function(_0x34470e){if(_0x34470e){return _0x34470e?{'count':_0x2bf343,'rows':_0x34470e}:null;}})[_0x6498('0x1e')](respondWithResult(_0x1e8a78,null))['catch'](handleError(_0x1e8a78,null));};exports['getTags']=function(_0x36ac3e,_0x30b025,_0x4eb799){var _0x16e265={};var _0x4a0d10={};var _0x4067d1;var _0x2c5717;return db['FreshdeskConfiguration'][_0x6498('0x55')]({'where':{'id':_0x36ac3e['params']['id']}})['then'](handleEntityNotFound(_0x30b025,null))[_0x6498('0x1e')](function(_0x2af707){if(_0x2af707){_0x4067d1=_0x2af707;_0x4a0d10[_0x6498('0x39')]=_[_0x6498('0x3b')](db['Tag']['rawAttributes']);_0x4a0d10[_0x6498('0x3a')]=_['keys'](_0x36ac3e[_0x6498('0x3a')]);_0x4a0d10[_0x6498('0x46')]=_[_0x6498('0x3c')](_0x4a0d10[_0x6498('0x39')],_0x4a0d10['query']);_0x16e265[_0x6498('0x3e')]=_[_0x6498('0x3c')](_0x4a0d10[_0x6498('0x39')],qs[_0x6498('0x3d')](_0x36ac3e[_0x6498('0x3a')][_0x6498('0x3d')]));_0x16e265[_0x6498('0x3e')]=_0x16e265[_0x6498('0x3e')][_0x6498('0x3f')]?_0x16e265[_0x6498('0x3e')]:_0x4a0d10[_0x6498('0x39')];_0x16e265[_0x6498('0x43')]=qs[_0x6498('0x44')](_0x36ac3e[_0x6498('0x3a')][_0x6498('0x44')]);_0x16e265['where']=qs[_0x6498('0x46')](_['pick'](_0x36ac3e[_0x6498('0x3a')],_0x4a0d10[_0x6498('0x46')]));if(_0x36ac3e[_0x6498('0x3a')][_0x6498('0x48')]){_0x16e265[_0x6498('0x45')]=_[_0x6498('0x49')](_0x16e265[_0x6498('0x45')],{'$or':_['map'](_0x16e265[_0x6498('0x3e')],function(_0x3238b4){var _0x3081a0={};_0x3081a0[_0x3238b4]={'$like':'%'+_0x36ac3e[_0x6498('0x3a')][_0x6498('0x48')]+'%'};return _0x3081a0;})});}_0x16e265=_[_0x6498('0x49')]({},_0x16e265,_0x36ac3e['options']);return _0x4067d1['getTags'](_0x16e265);}})[_0x6498('0x1e')](function(_0x5a6ef2){if(_0x5a6ef2){_0x2c5717=_0x5a6ef2[_0x6498('0x3f')];if(!_0x36ac3e['query'][_0x6498('0x40')](_0x6498('0x58'))){_0x16e265[_0x6498('0x41')]=qs[_0x6498('0x41')](_0x36ac3e[_0x6498('0x3a')]['limit']);_0x16e265['offset']=qs[_0x6498('0x42')](_0x36ac3e[_0x6498('0x3a')][_0x6498('0x42')]);}return _0x4067d1[_0x6498('0x5b')](_0x16e265);}})[_0x6498('0x1e')](function(_0x2e5e03){if(_0x2e5e03){return _0x2e5e03?{'count':_0x2c5717,'rows':_0x2e5e03}:null;}})[_0x6498('0x1e')](respondWithResult(_0x30b025,null))[_0x6498('0x28')](handleError(_0x30b025,null));};exports['setTags']=function(_0x51c00a,_0x261142,_0x4ac640){if(_0x51c00a[_0x6498('0x54')]['id']){delete _0x51c00a[_0x6498('0x54')]['id'];}return db['FreshdeskConfiguration'][_0x6498('0x55')]({'where':{'id':_0x51c00a['params']['id']}})[_0x6498('0x1e')](handleEntityNotFound(_0x261142,null))['then'](function(_0x178628){if(_0x178628){return _0x178628[_0x6498('0x5c')](_0x51c00a[_0x6498('0x54')]['ids']||[]);}return null;})['then'](respondWithResult(_0x261142,null))[_0x6498('0x28')](handleError(_0x261142,null));}; \ No newline at end of file +var _0xa226=['message','result','catch','sendStatus','end','json','count','offset','limit','status','set','Content-Range','reject','save','update','destroy','stack','name','index','map','FreshdeskConfiguration','fieldName','type','model','query','keys','filters','intersection','attributes','fields','nolimit','sort','where','pick','VIRTUAL','filter','options','includeAll','include','rows','show','params','length','merge','find','create','body','getFields','findOne','FreshdeskField','rawAttributes','order','hasOwnProperty','getSubjects','getDescriptions','Tag','getTags','setTags','ids','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','util','path','to-csv','ejs','lodash','squel','crypto','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','api','../../config/environment','../../mysqldb','jayson/promise','http','test','Sequelize','ValidationError','The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.','request','then','info','request\x20sent','stringify','error','FreshdeskConfiguration,\x20%s,\x20%s'];(function(_0x1694f5,_0x49b7c3){var _0x5b4321=function(_0x58c183){while(--_0x58c183){_0x1694f5['push'](_0x1694f5['shift']());}};_0x5b4321(++_0x49b7c3);}(_0xa226,0x1b7));var _0x6a22=function(_0x211604,_0x1f5a07){_0x211604=_0x211604-0x0;var _0x4d7e90=_0xa226[_0x211604];return _0x4d7e90;};'use strict';var pdf=require(_0x6a22('0x0'));var emlformat=require(_0x6a22('0x1'));var rimraf=require(_0x6a22('0x2'));var zipdir=require(_0x6a22('0x3'));var jsonpatch=require(_0x6a22('0x4'));var rp=require(_0x6a22('0x5'));var moment=require(_0x6a22('0x6'));var BPromise=require('bluebird');var Mustache=require('mustache');var util=require(_0x6a22('0x7'));var path=require(_0x6a22('0x8'));var sox=require('sox');var csv=require(_0x6a22('0x9'));var ejs=require(_0x6a22('0xa'));var fs=require('fs');var _=require(_0x6a22('0xb'));var squel=require(_0x6a22('0xc'));var crypto=require(_0x6a22('0xd'));var jsforce=require('jsforce');var deskjs=require('desk.js');var toCsv=require(_0x6a22('0x9'));var querystring=require('querystring');var Papa=require(_0x6a22('0xe'));var Redis=require(_0x6a22('0xf'));var authService=require(_0x6a22('0x10'));var qs=require(_0x6a22('0x11'));var as=require(_0x6a22('0x12'));var hardwareService=require(_0x6a22('0x13'));var logger=require('../../config/logger')(_0x6a22('0x14'));var utils=require('../../config/utils');var config=require(_0x6a22('0x15'));var db=require(_0x6a22('0x16'))['db'];var jayson=require(_0x6a22('0x17'));var client=jayson['client'][_0x6a22('0x18')]({'port':0x232a});function checkPasswordPattern(_0xebaee2,_0x2835e7,_0x1495c8){if(_0x1495c8){var _0xfbf409=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0xfbf409[_0x6a22('0x19')](_0x2835e7)){return _0xebaee2;}else{throw new db[(_0x6a22('0x1a'))][(_0x6a22('0x1b'))](_0x6a22('0x1c'));}}else{return _0xebaee2;}}function respondWithRpcPromise(_0x1dfe24,_0xa3df18,_0x3e65a6,_0x2e87ed){return new BPromise(function(_0x92472c,_0x5562f3){var _0x52c571=_0x2e87ed||client;return _0x52c571[_0x6a22('0x1d')](_0x1dfe24,_0x3e65a6)[_0x6a22('0x1e')](function(_0x52df9f){logger[_0x6a22('0x1f')]('FreshdeskConfiguration,\x20%s,\x20%s',_0xa3df18,_0x6a22('0x20'));logger['debug']('FreshdeskConfiguration,\x20%s,\x20%s,\x20%s',_0xa3df18,'request\x20sent',JSON[_0x6a22('0x21')](_0x52df9f));if(_0x52df9f[_0x6a22('0x22')]){if(_0x52df9f[_0x6a22('0x22')]['code']===0x1f4){logger['error'](_0x6a22('0x23'),_0xa3df18,_0x52df9f[_0x6a22('0x22')][_0x6a22('0x24')]);return _0x5562f3(_0x52df9f[_0x6a22('0x22')][_0x6a22('0x24')]);}logger[_0x6a22('0x22')](_0x6a22('0x23'),_0xa3df18,_0x52df9f[_0x6a22('0x22')]['message']);return _0x92472c(_0x52df9f[_0x6a22('0x22')]['message']);}else{logger[_0x6a22('0x1f')]('FreshdeskConfiguration,\x20%s,\x20%s',_0xa3df18,_0x6a22('0x20'));_0x92472c(_0x52df9f[_0x6a22('0x25')][_0x6a22('0x24')]);}})[_0x6a22('0x26')](function(_0x53e80f){logger[_0x6a22('0x22')]('FreshdeskConfiguration,\x20%s,\x20%s',_0xa3df18,_0x53e80f);_0x5562f3(_0x53e80f);});});}function respondWithStatusCode(_0x2c0b1d,_0x19c056){_0x19c056=_0x19c056||0xcc;return function(_0x28fdd6){if(_0x28fdd6){return _0x2c0b1d[_0x6a22('0x27')](_0x19c056);}return _0x2c0b1d['status'](_0x19c056)[_0x6a22('0x28')]();};}function respondWithResult(_0x31b6a2,_0x3e609b){_0x3e609b=_0x3e609b||0xc8;return function(_0x377c2d){if(_0x377c2d){return _0x31b6a2['status'](_0x3e609b)[_0x6a22('0x29')](_0x377c2d);}};}function respondWithFilteredResult(_0x444763,_0x5ae530){return function(_0x1f749b){if(_0x1f749b){var _0x115b3e=_0x1f749b[_0x6a22('0x2a')],_0x333bb7=_0x5ae530[_0x6a22('0x2b')],_0xe8457f=_0x5ae530['offset']+_0x5ae530[_0x6a22('0x2c')],_0x5d397f;if(_0xe8457f>=_0x115b3e){_0xe8457f=_0x115b3e;_0x5d397f=0xc8;}else{_0x5d397f=0xce;}_0x444763[_0x6a22('0x2d')](_0x5d397f);return _0x444763[_0x6a22('0x2e')](_0x6a22('0x2f'),_0x333bb7+'-'+_0xe8457f+'/'+_0x115b3e)[_0x6a22('0x29')](_0x1f749b);}return null;};}function patchUpdates(_0x11e907){return function(_0x33bd1e){try{jsonpatch['apply'](_0x33bd1e,_0x11e907,!![]);}catch(_0x411f2b){return BPromise[_0x6a22('0x30')](_0x411f2b);}return _0x33bd1e[_0x6a22('0x31')]();};}function saveUpdates(_0x3cd926,_0x3aa613){return function(_0x54d1be){if(_0x54d1be){return _0x54d1be[_0x6a22('0x32')](_0x3cd926)[_0x6a22('0x1e')](function(_0x202cf3){return _0x202cf3;});}return null;};}function removeEntity(_0x176c18,_0xc7b13d){return function(_0x394c16){if(_0x394c16){return _0x394c16[_0x6a22('0x33')]()['then'](function(){_0x176c18[_0x6a22('0x2d')](0xcc)[_0x6a22('0x28')]();});}};}function handleEntityNotFound(_0x52b7f0,_0x2ccb84){return function(_0x5924b6){if(!_0x5924b6){_0x52b7f0['sendStatus'](0x194);}return _0x5924b6;};}function handleError(_0xd4916e,_0x2ea292){_0x2ea292=_0x2ea292||0x1f4;return function(_0x4f4766){logger[_0x6a22('0x22')](_0x4f4766[_0x6a22('0x34')]);if(_0x4f4766[_0x6a22('0x35')]){delete _0x4f4766[_0x6a22('0x35')];}_0xd4916e[_0x6a22('0x2d')](_0x2ea292)['send'](_0x4f4766);};}exports[_0x6a22('0x36')]=function(_0x18f724,_0x3e8f29){var _0x936e0f={},_0x17b318={},_0x5edfe2={'count':0x0,'rows':[]};var _0xb542fb=_[_0x6a22('0x37')](db[_0x6a22('0x38')]['rawAttributes'],function(_0xb2073f){return{'name':_0xb2073f[_0x6a22('0x39')],'type':_0xb2073f[_0x6a22('0x3a')]['key']};});_0x17b318[_0x6a22('0x3b')]=_[_0x6a22('0x37')](_0xb542fb,'name');_0x17b318[_0x6a22('0x3c')]=_[_0x6a22('0x3d')](_0x18f724['query']);_0x17b318[_0x6a22('0x3e')]=_[_0x6a22('0x3f')](_0x17b318[_0x6a22('0x3b')],_0x17b318[_0x6a22('0x3c')]);_0x936e0f[_0x6a22('0x40')]=_[_0x6a22('0x3f')](_0x17b318[_0x6a22('0x3b')],qs[_0x6a22('0x41')](_0x18f724[_0x6a22('0x3c')][_0x6a22('0x41')]));_0x936e0f['attributes']=_0x936e0f[_0x6a22('0x40')]['length']?_0x936e0f[_0x6a22('0x40')]:_0x17b318['model'];if(!_0x18f724['query']['hasOwnProperty'](_0x6a22('0x42'))){_0x936e0f['limit']=qs['limit'](_0x18f724['query'][_0x6a22('0x2c')]);_0x936e0f[_0x6a22('0x2b')]=qs[_0x6a22('0x2b')](_0x18f724[_0x6a22('0x3c')][_0x6a22('0x2b')]);}_0x936e0f['order']=qs[_0x6a22('0x43')](_0x18f724[_0x6a22('0x3c')]['sort']);_0x936e0f[_0x6a22('0x44')]=qs['filters'](_[_0x6a22('0x45')](_0x18f724['query'],_0x17b318['filters']),_0xb542fb);if(_0x18f724[_0x6a22('0x3c')]['filter']){_0x936e0f[_0x6a22('0x44')]=_['merge'](_0x936e0f[_0x6a22('0x44')],{'$or':_['map'](_0xb542fb,function(_0x173ae6){if(_0x173ae6['type']!==_0x6a22('0x46')){var _0x1d7e70={};_0x1d7e70[_0x173ae6[_0x6a22('0x35')]]={'$like':'%'+_0x18f724['query'][_0x6a22('0x47')]+'%'};return _0x1d7e70;}})});}_0x936e0f=_['merge']({},_0x936e0f,_0x18f724[_0x6a22('0x48')]);var _0x5307b0={'where':_0x936e0f[_0x6a22('0x44')]};return db[_0x6a22('0x38')][_0x6a22('0x2a')](_0x5307b0)[_0x6a22('0x1e')](function(_0x53d827){_0x5edfe2['count']=_0x53d827;if(_0x18f724[_0x6a22('0x3c')][_0x6a22('0x49')]){_0x936e0f[_0x6a22('0x4a')]=[{'all':!![]}];}return db['FreshdeskConfiguration']['findAll'](_0x936e0f);})[_0x6a22('0x1e')](function(_0x1779b4){_0x5edfe2[_0x6a22('0x4b')]=_0x1779b4;return _0x5edfe2;})[_0x6a22('0x1e')](respondWithFilteredResult(_0x3e8f29,_0x936e0f))[_0x6a22('0x26')](handleError(_0x3e8f29,null));};exports[_0x6a22('0x4c')]=function(_0x35de70,_0x5fb455){var _0x18e1b5={'raw':![],'where':{'id':_0x35de70[_0x6a22('0x4d')]['id']}},_0xb42321={};_0xb42321[_0x6a22('0x3b')]=_[_0x6a22('0x3d')](db[_0x6a22('0x38')]['rawAttributes']);_0xb42321[_0x6a22('0x3c')]=_[_0x6a22('0x3d')](_0x35de70[_0x6a22('0x3c')]);_0xb42321[_0x6a22('0x3e')]=_['intersection'](_0xb42321['model'],_0xb42321[_0x6a22('0x3c')]);_0x18e1b5[_0x6a22('0x40')]=_[_0x6a22('0x3f')](_0xb42321[_0x6a22('0x3b')],qs['fields'](_0x35de70[_0x6a22('0x3c')][_0x6a22('0x41')]));_0x18e1b5[_0x6a22('0x40')]=_0x18e1b5[_0x6a22('0x40')][_0x6a22('0x4e')]?_0x18e1b5[_0x6a22('0x40')]:_0xb42321['model'];if(_0x35de70[_0x6a22('0x3c')][_0x6a22('0x49')]){_0x18e1b5[_0x6a22('0x4a')]=[{'all':!![]}];}_0x18e1b5=_[_0x6a22('0x4f')]({},_0x18e1b5,_0x35de70[_0x6a22('0x48')]);return db[_0x6a22('0x38')][_0x6a22('0x50')](_0x18e1b5)[_0x6a22('0x1e')](handleEntityNotFound(_0x5fb455,null))[_0x6a22('0x1e')](respondWithResult(_0x5fb455,null))[_0x6a22('0x26')](handleError(_0x5fb455,null));};exports[_0x6a22('0x51')]=function(_0x2dc9af,_0x5a2a54){return db[_0x6a22('0x38')][_0x6a22('0x51')](_0x2dc9af[_0x6a22('0x52')],{})[_0x6a22('0x1e')](respondWithResult(_0x5a2a54,0xc9))['catch'](handleError(_0x5a2a54,null));};exports['update']=function(_0x85763e,_0x103a06){if(_0x85763e[_0x6a22('0x52')]['id']){delete _0x85763e['body']['id'];}return db[_0x6a22('0x38')][_0x6a22('0x50')]({'where':{'id':_0x85763e[_0x6a22('0x4d')]['id']}})[_0x6a22('0x1e')](handleEntityNotFound(_0x103a06,null))[_0x6a22('0x1e')](saveUpdates(_0x85763e[_0x6a22('0x52')],null))[_0x6a22('0x1e')](respondWithResult(_0x103a06,null))[_0x6a22('0x26')](handleError(_0x103a06,null));};exports[_0x6a22('0x33')]=function(_0x58d9f6,_0x2639b8){return db['FreshdeskConfiguration'][_0x6a22('0x50')]({'where':{'id':_0x58d9f6[_0x6a22('0x4d')]['id']}})['then'](handleEntityNotFound(_0x2639b8,null))[_0x6a22('0x1e')](removeEntity(_0x2639b8,null))[_0x6a22('0x26')](handleError(_0x2639b8,null));};exports[_0x6a22('0x53')]=function(_0x25908a,_0x11d131,_0x22e237){var _0x56f39d={};var _0x5bf533={};var _0x524709;var _0x3d33eb;return db[_0x6a22('0x38')][_0x6a22('0x54')]({'where':{'id':_0x25908a[_0x6a22('0x4d')]['id']}})[_0x6a22('0x1e')](handleEntityNotFound(_0x11d131,null))[_0x6a22('0x1e')](function(_0x51da9d){if(_0x51da9d){_0x524709=_0x51da9d;_0x5bf533[_0x6a22('0x3b')]=_[_0x6a22('0x3d')](db[_0x6a22('0x55')][_0x6a22('0x56')]);_0x5bf533['query']=_[_0x6a22('0x3d')](_0x25908a[_0x6a22('0x3c')]);_0x5bf533[_0x6a22('0x3e')]=_[_0x6a22('0x3f')](_0x5bf533[_0x6a22('0x3b')],_0x5bf533[_0x6a22('0x3c')]);_0x56f39d[_0x6a22('0x40')]=_[_0x6a22('0x3f')](_0x5bf533['model'],qs[_0x6a22('0x41')](_0x25908a[_0x6a22('0x3c')][_0x6a22('0x41')]));_0x56f39d[_0x6a22('0x40')]=_0x56f39d[_0x6a22('0x40')][_0x6a22('0x4e')]?_0x56f39d['attributes']:_0x5bf533[_0x6a22('0x3b')];_0x56f39d[_0x6a22('0x57')]=qs[_0x6a22('0x43')](_0x25908a['query'][_0x6a22('0x43')]);_0x56f39d[_0x6a22('0x44')]=qs[_0x6a22('0x3e')](_['pick'](_0x25908a[_0x6a22('0x3c')],_0x5bf533[_0x6a22('0x3e')]));if(_0x25908a[_0x6a22('0x3c')][_0x6a22('0x47')]){_0x56f39d[_0x6a22('0x44')]=_[_0x6a22('0x4f')](_0x56f39d[_0x6a22('0x44')],{'$or':_[_0x6a22('0x37')](_0x56f39d[_0x6a22('0x40')],function(_0x59fb96){var _0x16699c={};_0x16699c[_0x59fb96]={'$like':'%'+_0x25908a[_0x6a22('0x3c')][_0x6a22('0x47')]+'%'};return _0x16699c;})});}_0x56f39d=_[_0x6a22('0x4f')]({},_0x56f39d,_0x25908a['options']);return _0x524709[_0x6a22('0x53')](_0x56f39d);}})['then'](function(_0x351313){if(_0x351313){_0x3d33eb=_0x351313[_0x6a22('0x4e')];if(!_0x25908a[_0x6a22('0x3c')][_0x6a22('0x58')]('nolimit')){_0x56f39d[_0x6a22('0x2c')]=qs[_0x6a22('0x2c')](_0x25908a[_0x6a22('0x3c')][_0x6a22('0x2c')]);_0x56f39d[_0x6a22('0x2b')]=qs[_0x6a22('0x2b')](_0x25908a['query']['offset']);}return _0x524709[_0x6a22('0x53')](_0x56f39d);}})[_0x6a22('0x1e')](function(_0x267bf3){if(_0x267bf3){return _0x267bf3?{'count':_0x3d33eb,'rows':_0x267bf3}:null;}})[_0x6a22('0x1e')](respondWithResult(_0x11d131,null))[_0x6a22('0x26')](handleError(_0x11d131,null));};exports[_0x6a22('0x59')]=function(_0x52dc0e,_0x5537e6,_0x51af95){var _0x2a946a={};var _0xea25fe={};var _0x1ae7f5;var _0x28b203;return db[_0x6a22('0x38')][_0x6a22('0x54')]({'where':{'id':_0x52dc0e['params']['id']}})[_0x6a22('0x1e')](handleEntityNotFound(_0x5537e6,null))[_0x6a22('0x1e')](function(_0x14eb71){if(_0x14eb71){_0x1ae7f5=_0x14eb71;_0xea25fe[_0x6a22('0x3b')]=_[_0x6a22('0x3d')](db[_0x6a22('0x55')][_0x6a22('0x56')]);_0xea25fe[_0x6a22('0x3c')]=_[_0x6a22('0x3d')](_0x52dc0e[_0x6a22('0x3c')]);_0xea25fe[_0x6a22('0x3e')]=_[_0x6a22('0x3f')](_0xea25fe[_0x6a22('0x3b')],_0xea25fe[_0x6a22('0x3c')]);_0x2a946a[_0x6a22('0x40')]=_[_0x6a22('0x3f')](_0xea25fe['model'],qs['fields'](_0x52dc0e[_0x6a22('0x3c')][_0x6a22('0x41')]));_0x2a946a[_0x6a22('0x40')]=_0x2a946a['attributes'][_0x6a22('0x4e')]?_0x2a946a[_0x6a22('0x40')]:_0xea25fe[_0x6a22('0x3b')];_0x2a946a[_0x6a22('0x57')]=qs[_0x6a22('0x43')](_0x52dc0e[_0x6a22('0x3c')][_0x6a22('0x43')]);_0x2a946a[_0x6a22('0x44')]=qs[_0x6a22('0x3e')](_[_0x6a22('0x45')](_0x52dc0e[_0x6a22('0x3c')],_0xea25fe[_0x6a22('0x3e')]));if(_0x52dc0e[_0x6a22('0x3c')][_0x6a22('0x47')]){_0x2a946a[_0x6a22('0x44')]=_[_0x6a22('0x4f')](_0x2a946a[_0x6a22('0x44')],{'$or':_[_0x6a22('0x37')](_0x2a946a[_0x6a22('0x40')],function(_0x2bdf5e){var _0x25191c={};_0x25191c[_0x2bdf5e]={'$like':'%'+_0x52dc0e[_0x6a22('0x3c')]['filter']+'%'};return _0x25191c;})});}_0x2a946a=_[_0x6a22('0x4f')]({},_0x2a946a,_0x52dc0e[_0x6a22('0x48')]);return _0x1ae7f5[_0x6a22('0x59')](_0x2a946a);}})['then'](function(_0x13a0cc){if(_0x13a0cc){_0x28b203=_0x13a0cc[_0x6a22('0x4e')];if(!_0x52dc0e[_0x6a22('0x3c')][_0x6a22('0x58')](_0x6a22('0x42'))){_0x2a946a[_0x6a22('0x2c')]=qs[_0x6a22('0x2c')](_0x52dc0e[_0x6a22('0x3c')][_0x6a22('0x2c')]);_0x2a946a['offset']=qs['offset'](_0x52dc0e[_0x6a22('0x3c')]['offset']);}return _0x1ae7f5[_0x6a22('0x59')](_0x2a946a);}})[_0x6a22('0x1e')](function(_0x2c14fd){if(_0x2c14fd){return _0x2c14fd?{'count':_0x28b203,'rows':_0x2c14fd}:null;}})[_0x6a22('0x1e')](respondWithResult(_0x5537e6,null))[_0x6a22('0x26')](handleError(_0x5537e6,null));};exports[_0x6a22('0x5a')]=function(_0x2f7ad3,_0x486cca,_0x85c8c4){var _0x4c02d7={};var _0x56d975={};var _0x570b91;var _0x4d4d14;return db['FreshdeskConfiguration'][_0x6a22('0x54')]({'where':{'id':_0x2f7ad3[_0x6a22('0x4d')]['id']}})[_0x6a22('0x1e')](handleEntityNotFound(_0x486cca,null))['then'](function(_0x1e260a){if(_0x1e260a){_0x570b91=_0x1e260a;_0x56d975[_0x6a22('0x3b')]=_['keys'](db['FreshdeskField'][_0x6a22('0x56')]);_0x56d975[_0x6a22('0x3c')]=_[_0x6a22('0x3d')](_0x2f7ad3['query']);_0x56d975[_0x6a22('0x3e')]=_['intersection'](_0x56d975['model'],_0x56d975[_0x6a22('0x3c')]);_0x4c02d7[_0x6a22('0x40')]=_[_0x6a22('0x3f')](_0x56d975['model'],qs[_0x6a22('0x41')](_0x2f7ad3[_0x6a22('0x3c')][_0x6a22('0x41')]));_0x4c02d7['attributes']=_0x4c02d7[_0x6a22('0x40')][_0x6a22('0x4e')]?_0x4c02d7[_0x6a22('0x40')]:_0x56d975[_0x6a22('0x3b')];_0x4c02d7['order']=qs['sort'](_0x2f7ad3['query'][_0x6a22('0x43')]);_0x4c02d7[_0x6a22('0x44')]=qs[_0x6a22('0x3e')](_[_0x6a22('0x45')](_0x2f7ad3['query'],_0x56d975[_0x6a22('0x3e')]));if(_0x2f7ad3[_0x6a22('0x3c')]['filter']){_0x4c02d7[_0x6a22('0x44')]=_[_0x6a22('0x4f')](_0x4c02d7['where'],{'$or':_[_0x6a22('0x37')](_0x4c02d7[_0x6a22('0x40')],function(_0x29f458){var _0x5d8d4d={};_0x5d8d4d[_0x29f458]={'$like':'%'+_0x2f7ad3[_0x6a22('0x3c')][_0x6a22('0x47')]+'%'};return _0x5d8d4d;})});}_0x4c02d7=_['merge']({},_0x4c02d7,_0x2f7ad3[_0x6a22('0x48')]);return _0x570b91['getDescriptions'](_0x4c02d7);}})['then'](function(_0x4fcb9d){if(_0x4fcb9d){_0x4d4d14=_0x4fcb9d[_0x6a22('0x4e')];if(!_0x2f7ad3[_0x6a22('0x3c')][_0x6a22('0x58')]('nolimit')){_0x4c02d7[_0x6a22('0x2c')]=qs['limit'](_0x2f7ad3[_0x6a22('0x3c')]['limit']);_0x4c02d7[_0x6a22('0x2b')]=qs['offset'](_0x2f7ad3[_0x6a22('0x3c')][_0x6a22('0x2b')]);}return _0x570b91[_0x6a22('0x5a')](_0x4c02d7);}})['then'](function(_0x1f154d){if(_0x1f154d){return _0x1f154d?{'count':_0x4d4d14,'rows':_0x1f154d}:null;}})[_0x6a22('0x1e')](respondWithResult(_0x486cca,null))[_0x6a22('0x26')](handleError(_0x486cca,null));};exports['getTags']=function(_0x2a0f15,_0x4b03ad,_0xb456d2){var _0x15829a={};var _0x35f9ca={};var _0x57d561;var _0x352ee9;return db['FreshdeskConfiguration'][_0x6a22('0x54')]({'where':{'id':_0x2a0f15[_0x6a22('0x4d')]['id']}})[_0x6a22('0x1e')](handleEntityNotFound(_0x4b03ad,null))['then'](function(_0x2a3f3b){if(_0x2a3f3b){_0x57d561=_0x2a3f3b;_0x35f9ca['model']=_['keys'](db[_0x6a22('0x5b')]['rawAttributes']);_0x35f9ca[_0x6a22('0x3c')]=_[_0x6a22('0x3d')](_0x2a0f15[_0x6a22('0x3c')]);_0x35f9ca['filters']=_[_0x6a22('0x3f')](_0x35f9ca[_0x6a22('0x3b')],_0x35f9ca[_0x6a22('0x3c')]);_0x15829a[_0x6a22('0x40')]=_[_0x6a22('0x3f')](_0x35f9ca[_0x6a22('0x3b')],qs['fields'](_0x2a0f15[_0x6a22('0x3c')][_0x6a22('0x41')]));_0x15829a['attributes']=_0x15829a[_0x6a22('0x40')][_0x6a22('0x4e')]?_0x15829a[_0x6a22('0x40')]:_0x35f9ca[_0x6a22('0x3b')];_0x15829a[_0x6a22('0x57')]=qs[_0x6a22('0x43')](_0x2a0f15[_0x6a22('0x3c')][_0x6a22('0x43')]);_0x15829a['where']=qs['filters'](_['pick'](_0x2a0f15[_0x6a22('0x3c')],_0x35f9ca['filters']));if(_0x2a0f15['query'][_0x6a22('0x47')]){_0x15829a['where']=_[_0x6a22('0x4f')](_0x15829a['where'],{'$or':_[_0x6a22('0x37')](_0x15829a[_0x6a22('0x40')],function(_0x118084){var _0x178b84={};_0x178b84[_0x118084]={'$like':'%'+_0x2a0f15[_0x6a22('0x3c')][_0x6a22('0x47')]+'%'};return _0x178b84;})});}_0x15829a=_[_0x6a22('0x4f')]({},_0x15829a,_0x2a0f15[_0x6a22('0x48')]);return _0x57d561['getTags'](_0x15829a);}})[_0x6a22('0x1e')](function(_0x160dda){if(_0x160dda){_0x352ee9=_0x160dda[_0x6a22('0x4e')];if(!_0x2a0f15[_0x6a22('0x3c')]['hasOwnProperty']('nolimit')){_0x15829a[_0x6a22('0x2c')]=qs['limit'](_0x2a0f15[_0x6a22('0x3c')]['limit']);_0x15829a[_0x6a22('0x2b')]=qs[_0x6a22('0x2b')](_0x2a0f15[_0x6a22('0x3c')][_0x6a22('0x2b')]);}return _0x57d561[_0x6a22('0x5c')](_0x15829a);}})[_0x6a22('0x1e')](function(_0x50e6a3){if(_0x50e6a3){return _0x50e6a3?{'count':_0x352ee9,'rows':_0x50e6a3}:null;}})[_0x6a22('0x1e')](respondWithResult(_0x4b03ad,null))[_0x6a22('0x26')](handleError(_0x4b03ad,null));};exports['setTags']=function(_0x49a246,_0x47f928,_0x17b542){if(_0x49a246['body']['id']){delete _0x49a246[_0x6a22('0x52')]['id'];}return db['FreshdeskConfiguration'][_0x6a22('0x54')]({'where':{'id':_0x49a246[_0x6a22('0x4d')]['id']}})[_0x6a22('0x1e')](handleEntityNotFound(_0x47f928,null))[_0x6a22('0x1e')](function(_0x26bdb4){if(_0x26bdb4){return _0x26bdb4[_0x6a22('0x5d')](_0x49a246[_0x6a22('0x52')][_0x6a22('0x5e')]||[]);}return null;})[_0x6a22('0x1e')](respondWithResult(_0x47f928,null))['catch'](handleError(_0x47f928,null));}; \ No newline at end of file diff --git a/server/api/intFreshdeskConfiguration/intFreshdeskConfiguration.model.js b/server/api/intFreshdeskConfiguration/intFreshdeskConfiguration.model.js index ed9fa51..fbd7cfd 100644 --- a/server/api/intFreshdeskConfiguration/intFreshdeskConfiguration.model.js +++ b/server/api/intFreshdeskConfiguration/intFreshdeskConfiguration.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x7104=['exports','int_freshdesk_configurations','lodash','util','../../config/logger','api','moment','bluebird','path','rimraf','./intFreshdeskConfiguration.attributes'];(function(_0x3af43d,_0x2f95d0){var _0x2bf245=function(_0x541586){while(--_0x541586){_0x3af43d['push'](_0x3af43d['shift']());}};_0x2bf245(++_0x2f95d0);}(_0x7104,0x1c5));var _0x4710=function(_0x586976,_0x252d65){_0x586976=_0x586976-0x0;var _0x5a72d6=_0x7104[_0x586976];return _0x5a72d6;};'use strict';var _=require(_0x4710('0x0'));var util=require(_0x4710('0x1'));var logger=require(_0x4710('0x2'))(_0x4710('0x3'));var moment=require(_0x4710('0x4'));var BPromise=require(_0x4710('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x4710('0x6'));var rimraf=require(_0x4710('0x7'));var config=require('../../config/environment');var attributes=require(_0x4710('0x8'));module[_0x4710('0x9')]=function(_0x4c05e0,_0x50b080){return _0x4c05e0['define']('FreshdeskConfiguration',attributes,{'tableName':_0x4710('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0x5e26=['moment','bluebird','request-promise','rimraf','../../config/environment','./intFreshdeskConfiguration.attributes','exports','define','util'];(function(_0x417e0a,_0x446db8){var _0x223dab=function(_0x56978c){while(--_0x56978c){_0x417e0a['push'](_0x417e0a['shift']());}};_0x223dab(++_0x446db8);}(_0x5e26,0x1e5));var _0x65e2=function(_0x1cdb2d,_0x8f1f76){_0x1cdb2d=_0x1cdb2d-0x0;var _0x4dafe3=_0x5e26[_0x1cdb2d];return _0x4dafe3;};'use strict';var _=require('lodash');var util=require(_0x65e2('0x0'));var logger=require('../../config/logger')('api');var moment=require(_0x65e2('0x1'));var BPromise=require(_0x65e2('0x2'));var rp=require(_0x65e2('0x3'));var fs=require('fs');var path=require('path');var rimraf=require(_0x65e2('0x4'));var config=require(_0x65e2('0x5'));var attributes=require(_0x65e2('0x6'));module[_0x65e2('0x7')]=function(_0x4fbad6,_0x3a8174){return _0x4fbad6[_0x65e2('0x8')]('FreshdeskConfiguration',attributes,{'tableName':'int_freshdesk_configurations','paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/intFreshdeskConfiguration/intFreshdeskConfiguration.rpc.js b/server/api/intFreshdeskConfiguration/intFreshdeskConfiguration.rpc.js index 80f38ad..e7f327f 100644 --- a/server/api/intFreshdeskConfiguration/intFreshdeskConfiguration.rpc.js +++ b/server/api/intFreshdeskConfiguration/intFreshdeskConfiguration.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xcd74=['lodash','util','moment','bluebird','randomstring','ioredis','../../mysqldb','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','client','http','request','info','FreshdeskConfiguration,\x20%s,\x20%s','request\x20sent','debug','stringify','error','code','message','catch'];(function(_0x432682,_0x253044){var _0x463d05=function(_0xa73403){while(--_0xa73403){_0x432682['push'](_0x432682['shift']());}};_0x463d05(++_0x253044);}(_0xcd74,0x90));var _0x4cd7=function(_0x3d827c,_0x4fb1aa){_0x3d827c=_0x3d827c-0x0;var _0x3886d5=_0xcd74[_0x3d827c];return _0x3886d5;};'use strict';var _=require(_0x4cd7('0x0'));var util=require(_0x4cd7('0x1'));var moment=require(_0x4cd7('0x2'));var BPromise=require(_0x4cd7('0x3'));var rs=require(_0x4cd7('0x4'));var fs=require('fs');var Redis=require(_0x4cd7('0x5'));var db=require(_0x4cd7('0x6'))['db'];var utils=require(_0x4cd7('0x7'));var logger=require(_0x4cd7('0x8'))(_0x4cd7('0x9'));var config=require(_0x4cd7('0xa'));var jayson=require(_0x4cd7('0xb'));var client=jayson[_0x4cd7('0xc')][_0x4cd7('0xd')]({'port':0x232a});function respondWithRpcPromise(_0x3cca13,_0x4a9348,_0x456c1b){return new BPromise(function(_0x4c22e8,_0x42dec0){return client[_0x4cd7('0xe')](_0x3cca13,_0x456c1b)['then'](function(_0x3b82be){logger[_0x4cd7('0xf')](_0x4cd7('0x10'),_0x4a9348,_0x4cd7('0x11'));logger[_0x4cd7('0x12')]('FreshdeskConfiguration,\x20%s,\x20%s,\x20%s',_0x4a9348,_0x4cd7('0x11'),JSON[_0x4cd7('0x13')](_0x3b82be));if(_0x3b82be[_0x4cd7('0x14')]){if(_0x3b82be['error'][_0x4cd7('0x15')]===0x1f4){logger[_0x4cd7('0x14')](_0x4cd7('0x10'),_0x4a9348,_0x3b82be[_0x4cd7('0x14')]['message']);return _0x42dec0(_0x3b82be['error'][_0x4cd7('0x16')]);}logger[_0x4cd7('0x14')]('FreshdeskConfiguration,\x20%s,\x20%s',_0x4a9348,_0x3b82be[_0x4cd7('0x14')][_0x4cd7('0x16')]);return _0x4c22e8(_0x3b82be['error'][_0x4cd7('0x16')]);}else{logger[_0x4cd7('0xf')](_0x4cd7('0x10'),_0x4a9348,'request\x20sent');_0x4c22e8(_0x3b82be['result'][_0x4cd7('0x16')]);}})[_0x4cd7('0x17')](function(_0x285e66){logger[_0x4cd7('0x14')](_0x4cd7('0x10'),_0x4a9348,_0x285e66);_0x42dec0(_0x285e66);});});} \ No newline at end of file +var _0xc421=['http','request','then','info','FreshdeskConfiguration,\x20%s,\x20%s','request\x20sent','debug','FreshdeskConfiguration,\x20%s,\x20%s,\x20%s','stringify','error','code','message','result','lodash','util','moment','bluebird','randomstring','ioredis','../../mysqldb','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','client'];(function(_0x41d878,_0x40f90a){var _0x47b3eb=function(_0x243b49){while(--_0x243b49){_0x41d878['push'](_0x41d878['shift']());}};_0x47b3eb(++_0x40f90a);}(_0xc421,0x1ad));var _0x1c42=function(_0x345e6a,_0x16ef53){_0x345e6a=_0x345e6a-0x0;var _0x186d5b=_0xc421[_0x345e6a];return _0x186d5b;};'use strict';var _=require(_0x1c42('0x0'));var util=require(_0x1c42('0x1'));var moment=require(_0x1c42('0x2'));var BPromise=require(_0x1c42('0x3'));var rs=require(_0x1c42('0x4'));var fs=require('fs');var Redis=require(_0x1c42('0x5'));var db=require(_0x1c42('0x6'))['db'];var utils=require(_0x1c42('0x7'));var logger=require(_0x1c42('0x8'))(_0x1c42('0x9'));var config=require(_0x1c42('0xa'));var jayson=require(_0x1c42('0xb'));var client=jayson[_0x1c42('0xc')][_0x1c42('0xd')]({'port':0x232a});function respondWithRpcPromise(_0x712570,_0x5ab86d,_0x2f56b3){return new BPromise(function(_0x5cc851,_0x2bc772){return client[_0x1c42('0xe')](_0x712570,_0x2f56b3)[_0x1c42('0xf')](function(_0x2ddb18){logger[_0x1c42('0x10')](_0x1c42('0x11'),_0x5ab86d,_0x1c42('0x12'));logger[_0x1c42('0x13')](_0x1c42('0x14'),_0x5ab86d,'request\x20sent',JSON[_0x1c42('0x15')](_0x2ddb18));if(_0x2ddb18[_0x1c42('0x16')]){if(_0x2ddb18[_0x1c42('0x16')][_0x1c42('0x17')]===0x1f4){logger['error'](_0x1c42('0x11'),_0x5ab86d,_0x2ddb18[_0x1c42('0x16')][_0x1c42('0x18')]);return _0x2bc772(_0x2ddb18[_0x1c42('0x16')][_0x1c42('0x18')]);}logger['error']('FreshdeskConfiguration,\x20%s,\x20%s',_0x5ab86d,_0x2ddb18[_0x1c42('0x16')][_0x1c42('0x18')]);return _0x5cc851(_0x2ddb18[_0x1c42('0x16')]['message']);}else{logger[_0x1c42('0x10')](_0x1c42('0x11'),_0x5ab86d,_0x1c42('0x12'));_0x5cc851(_0x2ddb18[_0x1c42('0x19')][_0x1c42('0x18')]);}})['catch'](function(_0x4f6481){logger[_0x1c42('0x16')](_0x1c42('0x11'),_0x5ab86d,_0x4f6481);_0x2bc772(_0x4f6481);});});} \ No newline at end of file diff --git a/server/api/intFreshdeskField/index.js b/server/api/intFreshdeskField/index.js index 5dce9c2..989f769 100644 --- a/server/api/intFreshdeskField/index.js +++ b/server/api/intFreshdeskField/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x70e0=['create','put','/:id','destroy','exports','multer','util','path','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','index','show','post','isAuthenticated'];(function(_0x7e19de,_0x368cce){var _0x3b06be=function(_0x5021eb){while(--_0x5021eb){_0x7e19de['push'](_0x7e19de['shift']());}};_0x3b06be(++_0x368cce);}(_0x70e0,0x17b));var _0x070e=function(_0x4d2450,_0x55fe5c){_0x4d2450=_0x4d2450-0x0;var _0x5e5506=_0x70e0[_0x4d2450];return _0x5e5506;};'use strict';var multer=require(_0x070e('0x0'));var util=require(_0x070e('0x1'));var path=require(_0x070e('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x070e('0x3')]();var auth=require(_0x070e('0x4'));var interaction=require(_0x070e('0x5'));var config=require(_0x070e('0x6'));var controller=require('./intFreshdeskField.controller');router[_0x070e('0x7')]('/',auth['isAuthenticated'](),controller[_0x070e('0x8')]);router['get']('/:id',auth['isAuthenticated'](),controller[_0x070e('0x9')]);router[_0x070e('0xa')]('/',auth[_0x070e('0xb')](),controller[_0x070e('0xc')]);router[_0x070e('0xd')](_0x070e('0xe'),auth[_0x070e('0xb')](),controller['update']);router['delete'](_0x070e('0xe'),auth[_0x070e('0xb')](),controller[_0x070e('0xf')]);module[_0x070e('0x10')]=router; \ No newline at end of file +var _0xedd9=['util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','post','create','put','delete','/:id','destroy','exports'];(function(_0x1147ab,_0x10e72b){var _0x55cb5a=function(_0x364bd6){while(--_0x364bd6){_0x1147ab['push'](_0x1147ab['shift']());}};_0x55cb5a(++_0x10e72b);}(_0xedd9,0xfc));var _0x9edd=function(_0x379a82,_0x40e3f1){_0x379a82=_0x379a82-0x0;var _0x4ca9df=_0xedd9[_0x379a82];return _0x4ca9df;};'use strict';var multer=require('multer');var util=require(_0x9edd('0x0'));var path=require(_0x9edd('0x1'));var timeout=require(_0x9edd('0x2'));var express=require(_0x9edd('0x3'));var router=express[_0x9edd('0x4')]();var auth=require(_0x9edd('0x5'));var interaction=require(_0x9edd('0x6'));var config=require(_0x9edd('0x7'));var controller=require('./intFreshdeskField.controller');router[_0x9edd('0x8')]('/',auth[_0x9edd('0x9')](),controller[_0x9edd('0xa')]);router[_0x9edd('0x8')]('/:id',auth[_0x9edd('0x9')](),controller['show']);router[_0x9edd('0xb')]('/',auth[_0x9edd('0x9')](),controller[_0x9edd('0xc')]);router[_0x9edd('0xd')]('/:id',auth[_0x9edd('0x9')](),controller['update']);router[_0x9edd('0xe')](_0x9edd('0xf'),auth['isAuthenticated'](),controller[_0x9edd('0x10')]);module[_0x9edd('0x11')]=router; \ No newline at end of file diff --git a/server/api/intFreshdeskField/intFreshdeskField.attributes.js b/server/api/intFreshdeskField/intFreshdeskField.attributes.js index 5f398a4..8218483 100644 --- a/server/api/intFreshdeskField/intFreshdeskField.attributes.js +++ b/server/api/intFreshdeskField/intFreshdeskField.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x234f=['ENUM','string','variable','STRING','customVariable','BOOLEAN','sequelize','exports'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x234f,0xb6));var _0xf234=function(_0x22dced,_0x17bc0f){_0x22dced=_0x22dced-0x0;var _0x3e097a=_0x234f[_0x22dced];return _0x3e097a;};'use strict';var Sequelize=require(_0xf234('0x0'));module[_0xf234('0x1')]={'type':{'type':Sequelize[_0xf234('0x2')](_0xf234('0x3'),_0xf234('0x4'),'customVariable','keyValue'),'defaultValue':'string'},'content':{'type':Sequelize['STRING']},'key':{'type':Sequelize[_0xf234('0x5')]},'keyType':{'type':Sequelize[_0xf234('0x2')](_0xf234('0x3'),_0xf234('0x4'),_0xf234('0x6'))},'keyContent':{'type':Sequelize['STRING']},'idField':{'type':Sequelize['STRING']},'nameField':{'type':Sequelize['STRING']},'customField':{'type':Sequelize[_0xf234('0x7')],'defaultValue':!![]},'variableName':{'type':Sequelize[_0xf234('0x5')]}}; \ No newline at end of file +var _0xb439=['sequelize','exports','variable','customVariable','keyValue','STRING','ENUM','string','BOOLEAN'];(function(_0x54fcd4,_0x552e7b){var _0x24089d=function(_0x59e82b){while(--_0x59e82b){_0x54fcd4['push'](_0x54fcd4['shift']());}};_0x24089d(++_0x552e7b);}(_0xb439,0x87));var _0x9b43=function(_0x4b369d,_0x265eb8){_0x4b369d=_0x4b369d-0x0;var _0x571a98=_0xb439[_0x4b369d];return _0x571a98;};'use strict';var Sequelize=require(_0x9b43('0x0'));module[_0x9b43('0x1')]={'type':{'type':Sequelize['ENUM']('string',_0x9b43('0x2'),_0x9b43('0x3'),_0x9b43('0x4')),'defaultValue':'string'},'content':{'type':Sequelize[_0x9b43('0x5')]},'key':{'type':Sequelize[_0x9b43('0x5')]},'keyType':{'type':Sequelize[_0x9b43('0x6')](_0x9b43('0x7'),_0x9b43('0x2'),_0x9b43('0x3'))},'keyContent':{'type':Sequelize[_0x9b43('0x5')]},'idField':{'type':Sequelize[_0x9b43('0x5')]},'nameField':{'type':Sequelize[_0x9b43('0x5')]},'customField':{'type':Sequelize[_0x9b43('0x8')],'defaultValue':!![]},'variableName':{'type':Sequelize['STRING']}}; \ No newline at end of file diff --git a/server/api/intFreshdeskField/intFreshdeskField.controller.js b/server/api/intFreshdeskField/intFreshdeskField.controller.js index 9562935..510276c 100644 --- a/server/api/intFreshdeskField/intFreshdeskField.controller.js +++ b/server/api/intFreshdeskField/intFreshdeskField.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x5441=['jsforce','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/utils','../../config/environment','../../mysqldb','sendStatus','status','end','json','count','offset','limit','set','apply','reject','save','then','error','name','send','index','map','FreshdeskField','rawAttributes','type','key','model','query','keys','intersection','fields','attributes','length','hasOwnProperty','nolimit','sort','where','filters','pick','filter','merge','VIRTUAL','includeAll','include','findAll','show','params','find','create','body','destroy','catch','html-pdf','eml-format','rimraf','fast-json-patch','request-promise','util','sox','to-csv','ejs','squel'];(function(_0x112328,_0x3b7b0a){var _0xf79776=function(_0x5a1b5b){while(--_0x5a1b5b){_0x112328['push'](_0x112328['shift']());}};_0xf79776(++_0x3b7b0a);}(_0x5441,0x182));var _0x1544=function(_0x39e84d,_0x11931d){_0x39e84d=_0x39e84d-0x0;var _0x1991bc=_0x5441[_0x39e84d];return _0x1991bc;};'use strict';var pdf=require(_0x1544('0x0'));var emlformat=require(_0x1544('0x1'));var rimraf=require(_0x1544('0x2'));var zipdir=require('zip-dir');var jsonpatch=require(_0x1544('0x3'));var rp=require(_0x1544('0x4'));var moment=require('moment');var BPromise=require('bluebird');var Mustache=require('mustache');var util=require(_0x1544('0x5'));var path=require('path');var sox=require(_0x1544('0x6'));var csv=require(_0x1544('0x7'));var ejs=require(_0x1544('0x8'));var fs=require('fs');var _=require('lodash');var squel=require(_0x1544('0x9'));var crypto=require('crypto');var jsforce=require(_0x1544('0xa'));var deskjs=require('desk.js');var toCsv=require(_0x1544('0x7'));var querystring=require('querystring');var Papa=require(_0x1544('0xb'));var Redis=require(_0x1544('0xc'));var authService=require(_0x1544('0xd'));var qs=require(_0x1544('0xe'));var as=require(_0x1544('0xf'));var hardwareService=require('../../config/license/hardware');var logger=require('../../config/logger')('api');var utils=require(_0x1544('0x10'));var config=require(_0x1544('0x11'));var db=require(_0x1544('0x12'))['db'];function respondWithStatusCode(_0x367038,_0x18e541){_0x18e541=_0x18e541||0xcc;return function(_0x477f0b){if(_0x477f0b){return _0x367038[_0x1544('0x13')](_0x18e541);}return _0x367038[_0x1544('0x14')](_0x18e541)[_0x1544('0x15')]();};}function respondWithResult(_0x8da605,_0x189fd7){_0x189fd7=_0x189fd7||0xc8;return function(_0x92b302){if(_0x92b302){return _0x8da605['status'](_0x189fd7)[_0x1544('0x16')](_0x92b302);}};}function respondWithFilteredResult(_0x31db27,_0x284f88){return function(_0x545727){if(_0x545727){var _0x2e54b9=_0x545727[_0x1544('0x17')],_0x5e4abe=_0x284f88['offset'],_0x425ad9=_0x284f88[_0x1544('0x18')]+_0x284f88[_0x1544('0x19')],_0x4856d6;if(_0x425ad9>=_0x2e54b9){_0x425ad9=_0x2e54b9;_0x4856d6=0xc8;}else{_0x4856d6=0xce;}_0x31db27[_0x1544('0x14')](_0x4856d6);return _0x31db27[_0x1544('0x1a')]('Content-Range',_0x5e4abe+'-'+_0x425ad9+'/'+_0x2e54b9)[_0x1544('0x16')](_0x545727);}return null;};}function patchUpdates(_0x5b7ff2){return function(_0x55cdad){try{jsonpatch[_0x1544('0x1b')](_0x55cdad,_0x5b7ff2,!![]);}catch(_0x3762c6){return BPromise[_0x1544('0x1c')](_0x3762c6);}return _0x55cdad[_0x1544('0x1d')]();};}function saveUpdates(_0x4cea17,_0x173faf){return function(_0x4ae958){if(_0x4ae958){return _0x4ae958['update'](_0x4cea17)[_0x1544('0x1e')](function(_0x14dfc0){return _0x14dfc0;});}return null;};}function removeEntity(_0x19dfb3,_0x2c6318){return function(_0x5ca570){if(_0x5ca570){return _0x5ca570['destroy']()['then'](function(){_0x19dfb3[_0x1544('0x14')](0xcc)['end']();});}};}function handleEntityNotFound(_0x1ff131,_0x411b6e){return function(_0x507f0f){if(!_0x507f0f){_0x1ff131['sendStatus'](0x194);}return _0x507f0f;};}function handleError(_0xfc5117,_0x57e818){_0x57e818=_0x57e818||0x1f4;return function(_0x6f089d){logger[_0x1544('0x1f')](_0x6f089d['stack']);if(_0x6f089d['name']){delete _0x6f089d[_0x1544('0x20')];}_0xfc5117['status'](_0x57e818)[_0x1544('0x21')](_0x6f089d);};}exports[_0x1544('0x22')]=function(_0x171f43,_0x2a0f08){var _0x3791da={},_0x4b210b={},_0x38764b={'count':0x0,'rows':[]};var _0x413573=_[_0x1544('0x23')](db[_0x1544('0x24')][_0x1544('0x25')],function(_0x1fe5ac){return{'name':_0x1fe5ac['fieldName'],'type':_0x1fe5ac[_0x1544('0x26')][_0x1544('0x27')]};});_0x4b210b[_0x1544('0x28')]=_[_0x1544('0x23')](_0x413573,_0x1544('0x20'));_0x4b210b[_0x1544('0x29')]=_[_0x1544('0x2a')](_0x171f43[_0x1544('0x29')]);_0x4b210b['filters']=_['intersection'](_0x4b210b[_0x1544('0x28')],_0x4b210b[_0x1544('0x29')]);_0x3791da['attributes']=_[_0x1544('0x2b')](_0x4b210b['model'],qs[_0x1544('0x2c')](_0x171f43[_0x1544('0x29')][_0x1544('0x2c')]));_0x3791da['attributes']=_0x3791da[_0x1544('0x2d')][_0x1544('0x2e')]?_0x3791da[_0x1544('0x2d')]:_0x4b210b[_0x1544('0x28')];if(!_0x171f43[_0x1544('0x29')][_0x1544('0x2f')](_0x1544('0x30'))){_0x3791da['limit']=qs[_0x1544('0x19')](_0x171f43[_0x1544('0x29')][_0x1544('0x19')]);_0x3791da[_0x1544('0x18')]=qs[_0x1544('0x18')](_0x171f43[_0x1544('0x29')][_0x1544('0x18')]);}_0x3791da['order']=qs[_0x1544('0x31')](_0x171f43[_0x1544('0x29')][_0x1544('0x31')]);_0x3791da[_0x1544('0x32')]=qs[_0x1544('0x33')](_[_0x1544('0x34')](_0x171f43[_0x1544('0x29')],_0x4b210b[_0x1544('0x33')]),_0x413573);if(_0x171f43[_0x1544('0x29')][_0x1544('0x35')]){_0x3791da[_0x1544('0x32')]=_[_0x1544('0x36')](_0x3791da['where'],{'$or':_[_0x1544('0x23')](_0x413573,function(_0x14b0d2){if(_0x14b0d2['type']!==_0x1544('0x37')){var _0x1e7a93={};_0x1e7a93[_0x14b0d2['name']]={'$like':'%'+_0x171f43['query']['filter']+'%'};return _0x1e7a93;}})});}_0x3791da=_[_0x1544('0x36')]({},_0x3791da,_0x171f43['options']);var _0x140a42={'where':_0x3791da['where']};return db[_0x1544('0x24')][_0x1544('0x17')](_0x140a42)[_0x1544('0x1e')](function(_0x5097cc){_0x38764b[_0x1544('0x17')]=_0x5097cc;if(_0x171f43[_0x1544('0x29')][_0x1544('0x38')]){_0x3791da[_0x1544('0x39')]=[{'all':!![]}];}return db[_0x1544('0x24')][_0x1544('0x3a')](_0x3791da);})[_0x1544('0x1e')](function(_0x3687df){_0x38764b['rows']=_0x3687df;return _0x38764b;})[_0x1544('0x1e')](respondWithFilteredResult(_0x2a0f08,_0x3791da))['catch'](handleError(_0x2a0f08,null));};exports[_0x1544('0x3b')]=function(_0x571f0c,_0x3542cc){var _0x74532c={'raw':!![],'where':{'id':_0x571f0c[_0x1544('0x3c')]['id']}},_0x3260a9={};_0x3260a9[_0x1544('0x28')]=_[_0x1544('0x2a')](db[_0x1544('0x24')][_0x1544('0x25')]);_0x3260a9['query']=_[_0x1544('0x2a')](_0x571f0c[_0x1544('0x29')]);_0x3260a9[_0x1544('0x33')]=_[_0x1544('0x2b')](_0x3260a9['model'],_0x3260a9['query']);_0x74532c['attributes']=_[_0x1544('0x2b')](_0x3260a9[_0x1544('0x28')],qs[_0x1544('0x2c')](_0x571f0c[_0x1544('0x29')][_0x1544('0x2c')]));_0x74532c[_0x1544('0x2d')]=_0x74532c[_0x1544('0x2d')][_0x1544('0x2e')]?_0x74532c['attributes']:_0x3260a9['model'];if(_0x571f0c[_0x1544('0x29')][_0x1544('0x38')]){_0x74532c[_0x1544('0x39')]=[{'all':!![]}];}_0x74532c=_['merge']({},_0x74532c,_0x571f0c['options']);return db['FreshdeskField'][_0x1544('0x3d')](_0x74532c)[_0x1544('0x1e')](handleEntityNotFound(_0x3542cc,null))['then'](respondWithResult(_0x3542cc,null))['catch'](handleError(_0x3542cc,null));};exports['create']=function(_0x560acd,_0x3095ff){return db['FreshdeskField'][_0x1544('0x3e')](_0x560acd[_0x1544('0x3f')],{})[_0x1544('0x1e')](respondWithResult(_0x3095ff,0xc9))['catch'](handleError(_0x3095ff,null));};exports['update']=function(_0x245c6b,_0x22504e){if(_0x245c6b['body']['id']){delete _0x245c6b[_0x1544('0x3f')]['id'];}return db[_0x1544('0x24')][_0x1544('0x3d')]({'where':{'id':_0x245c6b[_0x1544('0x3c')]['id']}})[_0x1544('0x1e')](handleEntityNotFound(_0x22504e,null))['then'](saveUpdates(_0x245c6b[_0x1544('0x3f')],null))[_0x1544('0x1e')](respondWithResult(_0x22504e,null))['catch'](handleError(_0x22504e,null));};exports[_0x1544('0x40')]=function(_0x2bddea,_0x445d8b){return db['FreshdeskField']['find']({'where':{'id':_0x2bddea['params']['id']}})[_0x1544('0x1e')](handleEntityNotFound(_0x445d8b,null))['then'](removeEntity(_0x445d8b,null))[_0x1544('0x41')](handleError(_0x445d8b,null));}; \ No newline at end of file +var _0xd105=['offset','limit','set','Content-Range','save','update','then','error','send','index','map','type','key','model','name','keys','query','filters','attributes','fields','length','hasOwnProperty','nolimit','sort','filter','where','merge','VIRTUAL','FreshdeskField','includeAll','include','rows','catch','show','rawAttributes','intersection','create','body','find','params','destroy','html-pdf','rimraf','zip-dir','fast-json-patch','moment','mustache','sox','to-csv','ejs','squel','crypto','jsforce','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','sendStatus','status','end','count'];(function(_0x49c953,_0x5a3e76){var _0x3d06f5=function(_0x330f93){while(--_0x330f93){_0x49c953['push'](_0x49c953['shift']());}};_0x3d06f5(++_0x5a3e76);}(_0xd105,0xf5));var _0x5d10=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xd105[_0x3dd15e];return _0x231fd0;};'use strict';var pdf=require(_0x5d10('0x0'));var emlformat=require('eml-format');var rimraf=require(_0x5d10('0x1'));var zipdir=require(_0x5d10('0x2'));var jsonpatch=require(_0x5d10('0x3'));var rp=require('request-promise');var moment=require(_0x5d10('0x4'));var BPromise=require('bluebird');var Mustache=require(_0x5d10('0x5'));var util=require('util');var path=require('path');var sox=require(_0x5d10('0x6'));var csv=require(_0x5d10('0x7'));var ejs=require(_0x5d10('0x8'));var fs=require('fs');var _=require('lodash');var squel=require(_0x5d10('0x9'));var crypto=require(_0x5d10('0xa'));var jsforce=require(_0x5d10('0xb'));var deskjs=require('desk.js');var toCsv=require(_0x5d10('0x7'));var querystring=require(_0x5d10('0xc'));var Papa=require(_0x5d10('0xd'));var Redis=require(_0x5d10('0xe'));var authService=require(_0x5d10('0xf'));var qs=require('../../components/parsers/qs');var as=require(_0x5d10('0x10'));var hardwareService=require(_0x5d10('0x11'));var logger=require(_0x5d10('0x12'))(_0x5d10('0x13'));var utils=require(_0x5d10('0x14'));var config=require(_0x5d10('0x15'));var db=require(_0x5d10('0x16'))['db'];function respondWithStatusCode(_0x54b0ca,_0x256837){_0x256837=_0x256837||0xcc;return function(_0x5849e8){if(_0x5849e8){return _0x54b0ca[_0x5d10('0x17')](_0x256837);}return _0x54b0ca[_0x5d10('0x18')](_0x256837)[_0x5d10('0x19')]();};}function respondWithResult(_0x1d361c,_0x523c6d){_0x523c6d=_0x523c6d||0xc8;return function(_0x361d5b){if(_0x361d5b){return _0x1d361c[_0x5d10('0x18')](_0x523c6d)['json'](_0x361d5b);}};}function respondWithFilteredResult(_0xe7bf4c,_0x407b22){return function(_0x53b2a2){if(_0x53b2a2){var _0x255fe3=_0x53b2a2[_0x5d10('0x1a')],_0x4af0ab=_0x407b22[_0x5d10('0x1b')],_0x56ece7=_0x407b22[_0x5d10('0x1b')]+_0x407b22[_0x5d10('0x1c')],_0x503025;if(_0x56ece7>=_0x255fe3){_0x56ece7=_0x255fe3;_0x503025=0xc8;}else{_0x503025=0xce;}_0xe7bf4c[_0x5d10('0x18')](_0x503025);return _0xe7bf4c[_0x5d10('0x1d')](_0x5d10('0x1e'),_0x4af0ab+'-'+_0x56ece7+'/'+_0x255fe3)['json'](_0x53b2a2);}return null;};}function patchUpdates(_0x37fe3f){return function(_0x100282){try{jsonpatch['apply'](_0x100282,_0x37fe3f,!![]);}catch(_0x3b0dfa){return BPromise['reject'](_0x3b0dfa);}return _0x100282[_0x5d10('0x1f')]();};}function saveUpdates(_0x354503,_0x213a1a){return function(_0xba82be){if(_0xba82be){return _0xba82be[_0x5d10('0x20')](_0x354503)[_0x5d10('0x21')](function(_0x116eb5){return _0x116eb5;});}return null;};}function removeEntity(_0x19b358,_0x4ec381){return function(_0x5bcd5f){if(_0x5bcd5f){return _0x5bcd5f['destroy']()['then'](function(){_0x19b358['status'](0xcc)[_0x5d10('0x19')]();});}};}function handleEntityNotFound(_0x3faa78,_0x202b73){return function(_0x7eea6b){if(!_0x7eea6b){_0x3faa78[_0x5d10('0x17')](0x194);}return _0x7eea6b;};}function handleError(_0x5b038d,_0xe15680){_0xe15680=_0xe15680||0x1f4;return function(_0x2c9ddc){logger[_0x5d10('0x22')](_0x2c9ddc['stack']);if(_0x2c9ddc['name']){delete _0x2c9ddc['name'];}_0x5b038d['status'](_0xe15680)[_0x5d10('0x23')](_0x2c9ddc);};}exports[_0x5d10('0x24')]=function(_0x43f97e,_0x2a9d8f){var _0x33aa33={},_0x27add2={},_0x950a83={'count':0x0,'rows':[]};var _0x50255e=_[_0x5d10('0x25')](db['FreshdeskField']['rawAttributes'],function(_0x29306c){return{'name':_0x29306c['fieldName'],'type':_0x29306c[_0x5d10('0x26')][_0x5d10('0x27')]};});_0x27add2[_0x5d10('0x28')]=_['map'](_0x50255e,_0x5d10('0x29'));_0x27add2['query']=_[_0x5d10('0x2a')](_0x43f97e[_0x5d10('0x2b')]);_0x27add2[_0x5d10('0x2c')]=_['intersection'](_0x27add2[_0x5d10('0x28')],_0x27add2[_0x5d10('0x2b')]);_0x33aa33[_0x5d10('0x2d')]=_['intersection'](_0x27add2[_0x5d10('0x28')],qs[_0x5d10('0x2e')](_0x43f97e[_0x5d10('0x2b')]['fields']));_0x33aa33[_0x5d10('0x2d')]=_0x33aa33[_0x5d10('0x2d')][_0x5d10('0x2f')]?_0x33aa33[_0x5d10('0x2d')]:_0x27add2[_0x5d10('0x28')];if(!_0x43f97e[_0x5d10('0x2b')][_0x5d10('0x30')](_0x5d10('0x31'))){_0x33aa33[_0x5d10('0x1c')]=qs[_0x5d10('0x1c')](_0x43f97e[_0x5d10('0x2b')][_0x5d10('0x1c')]);_0x33aa33[_0x5d10('0x1b')]=qs[_0x5d10('0x1b')](_0x43f97e['query'][_0x5d10('0x1b')]);}_0x33aa33['order']=qs['sort'](_0x43f97e['query'][_0x5d10('0x32')]);_0x33aa33['where']=qs[_0x5d10('0x2c')](_['pick'](_0x43f97e[_0x5d10('0x2b')],_0x27add2[_0x5d10('0x2c')]),_0x50255e);if(_0x43f97e[_0x5d10('0x2b')][_0x5d10('0x33')]){_0x33aa33[_0x5d10('0x34')]=_[_0x5d10('0x35')](_0x33aa33['where'],{'$or':_[_0x5d10('0x25')](_0x50255e,function(_0x5938ad){if(_0x5938ad[_0x5d10('0x26')]!==_0x5d10('0x36')){var _0xfd016={};_0xfd016[_0x5938ad[_0x5d10('0x29')]]={'$like':'%'+_0x43f97e[_0x5d10('0x2b')][_0x5d10('0x33')]+'%'};return _0xfd016;}})});}_0x33aa33=_['merge']({},_0x33aa33,_0x43f97e['options']);var _0x56852f={'where':_0x33aa33['where']};return db[_0x5d10('0x37')][_0x5d10('0x1a')](_0x56852f)[_0x5d10('0x21')](function(_0x57908f){_0x950a83[_0x5d10('0x1a')]=_0x57908f;if(_0x43f97e[_0x5d10('0x2b')][_0x5d10('0x38')]){_0x33aa33[_0x5d10('0x39')]=[{'all':!![]}];}return db[_0x5d10('0x37')]['findAll'](_0x33aa33);})[_0x5d10('0x21')](function(_0xf7ccf0){_0x950a83[_0x5d10('0x3a')]=_0xf7ccf0;return _0x950a83;})[_0x5d10('0x21')](respondWithFilteredResult(_0x2a9d8f,_0x33aa33))[_0x5d10('0x3b')](handleError(_0x2a9d8f,null));};exports[_0x5d10('0x3c')]=function(_0xd8625c,_0x5a5a18){var _0x20ba4c={'raw':!![],'where':{'id':_0xd8625c['params']['id']}},_0x3bfe30={};_0x3bfe30[_0x5d10('0x28')]=_[_0x5d10('0x2a')](db[_0x5d10('0x37')][_0x5d10('0x3d')]);_0x3bfe30[_0x5d10('0x2b')]=_[_0x5d10('0x2a')](_0xd8625c[_0x5d10('0x2b')]);_0x3bfe30[_0x5d10('0x2c')]=_[_0x5d10('0x3e')](_0x3bfe30[_0x5d10('0x28')],_0x3bfe30[_0x5d10('0x2b')]);_0x20ba4c[_0x5d10('0x2d')]=_[_0x5d10('0x3e')](_0x3bfe30[_0x5d10('0x28')],qs['fields'](_0xd8625c[_0x5d10('0x2b')]['fields']));_0x20ba4c['attributes']=_0x20ba4c['attributes'][_0x5d10('0x2f')]?_0x20ba4c[_0x5d10('0x2d')]:_0x3bfe30[_0x5d10('0x28')];if(_0xd8625c['query'][_0x5d10('0x38')]){_0x20ba4c[_0x5d10('0x39')]=[{'all':!![]}];}_0x20ba4c=_[_0x5d10('0x35')]({},_0x20ba4c,_0xd8625c['options']);return db[_0x5d10('0x37')]['find'](_0x20ba4c)['then'](handleEntityNotFound(_0x5a5a18,null))[_0x5d10('0x21')](respondWithResult(_0x5a5a18,null))['catch'](handleError(_0x5a5a18,null));};exports[_0x5d10('0x3f')]=function(_0x48cbbc,_0x5f094d){return db['FreshdeskField'][_0x5d10('0x3f')](_0x48cbbc['body'],{})[_0x5d10('0x21')](respondWithResult(_0x5f094d,0xc9))[_0x5d10('0x3b')](handleError(_0x5f094d,null));};exports[_0x5d10('0x20')]=function(_0x5147c3,_0x291bef){if(_0x5147c3[_0x5d10('0x40')]['id']){delete _0x5147c3[_0x5d10('0x40')]['id'];}return db[_0x5d10('0x37')][_0x5d10('0x41')]({'where':{'id':_0x5147c3[_0x5d10('0x42')]['id']}})[_0x5d10('0x21')](handleEntityNotFound(_0x291bef,null))[_0x5d10('0x21')](saveUpdates(_0x5147c3[_0x5d10('0x40')],null))[_0x5d10('0x21')](respondWithResult(_0x291bef,null))[_0x5d10('0x3b')](handleError(_0x291bef,null));};exports[_0x5d10('0x43')]=function(_0x1c49f1,_0x5d92c0){return db[_0x5d10('0x37')]['find']({'where':{'id':_0x1c49f1[_0x5d10('0x42')]['id']}})['then'](handleEntityNotFound(_0x5d92c0,null))[_0x5d10('0x21')](removeEntity(_0x5d92c0,null))['catch'](handleError(_0x5d92c0,null));}; \ No newline at end of file diff --git a/server/api/intFreshdeskField/intFreshdeskField.model.js b/server/api/intFreshdeskField/intFreshdeskField.model.js index 90e2801..57b06cb 100644 --- a/server/api/intFreshdeskField/intFreshdeskField.model.js +++ b/server/api/intFreshdeskField/intFreshdeskField.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x1888=['../../config/environment','./intFreshdeskField.attributes','exports','define','FreshdeskField','int_freshdesk_fields','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf'];(function(_0x2f2ea6,_0x1b3c35){var _0xc8ec68=function(_0x5de8a9){while(--_0x5de8a9){_0x2f2ea6['push'](_0x2f2ea6['shift']());}};_0xc8ec68(++_0x1b3c35);}(_0x1888,0x1f0));var _0x8188=function(_0xf60cd0,_0x34bf81){_0xf60cd0=_0xf60cd0-0x0;var _0x32ad56=_0x1888[_0xf60cd0];return _0x32ad56;};'use strict';var _=require('lodash');var util=require(_0x8188('0x0'));var logger=require(_0x8188('0x1'))(_0x8188('0x2'));var moment=require(_0x8188('0x3'));var BPromise=require(_0x8188('0x4'));var rp=require(_0x8188('0x5'));var fs=require('fs');var path=require(_0x8188('0x6'));var rimraf=require(_0x8188('0x7'));var config=require(_0x8188('0x8'));var attributes=require(_0x8188('0x9'));module[_0x8188('0xa')]=function(_0x14b891,_0x589bb1){return _0x14b891[_0x8188('0xb')](_0x8188('0xc'),attributes,{'tableName':_0x8188('0xd'),'paranoid':![],'indexes':[{'name':'freshdesk_unique_index','fields':['idField','FieldId'],'unique':!![]}],'timestamps':!![]});}; \ No newline at end of file +var _0x4117=['./intFreshdeskField.attributes','exports','FreshdeskField','freshdesk_unique_index','idField','FieldId','lodash','api','moment','bluebird','request-promise','path','rimraf','../../config/environment'];(function(_0x4cc26f,_0x331337){var _0x5dd1dc=function(_0x5e082e){while(--_0x5e082e){_0x4cc26f['push'](_0x4cc26f['shift']());}};_0x5dd1dc(++_0x331337);}(_0x4117,0xd8));var _0x7411=function(_0x5d9f64,_0x764bbe){_0x5d9f64=_0x5d9f64-0x0;var _0xf3ee3d=_0x4117[_0x5d9f64];return _0xf3ee3d;};'use strict';var _=require(_0x7411('0x0'));var util=require('util');var logger=require('../../config/logger')(_0x7411('0x1'));var moment=require(_0x7411('0x2'));var BPromise=require(_0x7411('0x3'));var rp=require(_0x7411('0x4'));var fs=require('fs');var path=require(_0x7411('0x5'));var rimraf=require(_0x7411('0x6'));var config=require(_0x7411('0x7'));var attributes=require(_0x7411('0x8'));module[_0x7411('0x9')]=function(_0x567e29,_0x4365ec){return _0x567e29['define'](_0x7411('0xa'),attributes,{'tableName':'int_freshdesk_fields','paranoid':![],'indexes':[{'name':_0x7411('0xb'),'fields':[_0x7411('0xc'),_0x7411('0xd')],'unique':!![]}],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/intFreshdeskField/intFreshdeskField.rpc.js b/server/api/intFreshdeskField/intFreshdeskField.rpc.js index 8f218f2..4bc5b1f 100644 --- a/server/api/intFreshdeskField/intFreshdeskField.rpc.js +++ b/server/api/intFreshdeskField/intFreshdeskField.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xb10b=['stringify','error','message','result','lodash','moment','bluebird','randomstring','../../mysqldb','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','http','request','then','info','FreshdeskField,\x20%s,\x20%s','FreshdeskField,\x20%s,\x20%s,\x20%s','request\x20sent'];(function(_0x2ba1fd,_0x2f2e69){var _0x56d3dd=function(_0x4a2bb4){while(--_0x4a2bb4){_0x2ba1fd['push'](_0x2ba1fd['shift']());}};_0x56d3dd(++_0x2f2e69);}(_0xb10b,0x12a));var _0xbb10=function(_0x5d8631,_0x44944b){_0x5d8631=_0x5d8631-0x0;var _0x34c15e=_0xb10b[_0x5d8631];return _0x34c15e;};'use strict';var _=require(_0xbb10('0x0'));var util=require('util');var moment=require(_0xbb10('0x1'));var BPromise=require(_0xbb10('0x2'));var rs=require(_0xbb10('0x3'));var fs=require('fs');var Redis=require('ioredis');var db=require(_0xbb10('0x4'))['db'];var utils=require(_0xbb10('0x5'));var logger=require(_0xbb10('0x6'))(_0xbb10('0x7'));var config=require(_0xbb10('0x8'));var jayson=require(_0xbb10('0x9'));var client=jayson['client'][_0xbb10('0xa')]({'port':0x232a});function respondWithRpcPromise(_0x3cdd53,_0x513741,_0x1b9e94){return new BPromise(function(_0x3fb675,_0x21370f){return client[_0xbb10('0xb')](_0x3cdd53,_0x1b9e94)[_0xbb10('0xc')](function(_0x1ce33e){logger[_0xbb10('0xd')](_0xbb10('0xe'),_0x513741,'request\x20sent');logger['debug'](_0xbb10('0xf'),_0x513741,_0xbb10('0x10'),JSON[_0xbb10('0x11')](_0x1ce33e));if(_0x1ce33e['error']){if(_0x1ce33e[_0xbb10('0x12')]['code']===0x1f4){logger[_0xbb10('0x12')](_0xbb10('0xe'),_0x513741,_0x1ce33e[_0xbb10('0x12')][_0xbb10('0x13')]);return _0x21370f(_0x1ce33e[_0xbb10('0x12')][_0xbb10('0x13')]);}logger['error'](_0xbb10('0xe'),_0x513741,_0x1ce33e[_0xbb10('0x12')][_0xbb10('0x13')]);return _0x3fb675(_0x1ce33e[_0xbb10('0x12')][_0xbb10('0x13')]);}else{logger[_0xbb10('0xd')](_0xbb10('0xe'),_0x513741,_0xbb10('0x10'));_0x3fb675(_0x1ce33e[_0xbb10('0x14')][_0xbb10('0x13')]);}})['catch'](function(_0x2eca0f){logger[_0xbb10('0x12')](_0xbb10('0xe'),_0x513741,_0x2eca0f);_0x21370f(_0x2eca0f);});});} \ No newline at end of file +var _0x7a54=['info','FreshdeskField,\x20%s,\x20%s','debug','stringify','error','code','message','request\x20sent','result','catch','lodash','util','moment','randomstring','ioredis','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','http'];(function(_0x167cc1,_0x56ef5a){var _0x10bc4b=function(_0xd6a255){while(--_0xd6a255){_0x167cc1['push'](_0x167cc1['shift']());}};_0x10bc4b(++_0x56ef5a);}(_0x7a54,0x106));var _0x47a5=function(_0x48b279,_0x15c9c9){_0x48b279=_0x48b279-0x0;var _0x306e9d=_0x7a54[_0x48b279];return _0x306e9d;};'use strict';var _=require(_0x47a5('0x0'));var util=require(_0x47a5('0x1'));var moment=require(_0x47a5('0x2'));var BPromise=require('bluebird');var rs=require(_0x47a5('0x3'));var fs=require('fs');var Redis=require(_0x47a5('0x4'));var db=require('../../mysqldb')['db'];var utils=require(_0x47a5('0x5'));var logger=require(_0x47a5('0x6'))(_0x47a5('0x7'));var config=require(_0x47a5('0x8'));var jayson=require(_0x47a5('0x9'));var client=jayson['client'][_0x47a5('0xa')]({'port':0x232a});function respondWithRpcPromise(_0x59199c,_0x343372,_0x30e405){return new BPromise(function(_0x506eda,_0x194fb0){return client['request'](_0x59199c,_0x30e405)['then'](function(_0x582352){logger[_0x47a5('0xb')](_0x47a5('0xc'),_0x343372,'request\x20sent');logger[_0x47a5('0xd')]('FreshdeskField,\x20%s,\x20%s,\x20%s',_0x343372,'request\x20sent',JSON[_0x47a5('0xe')](_0x582352));if(_0x582352[_0x47a5('0xf')]){if(_0x582352[_0x47a5('0xf')][_0x47a5('0x10')]===0x1f4){logger[_0x47a5('0xf')](_0x47a5('0xc'),_0x343372,_0x582352[_0x47a5('0xf')]['message']);return _0x194fb0(_0x582352[_0x47a5('0xf')][_0x47a5('0x11')]);}logger[_0x47a5('0xf')](_0x47a5('0xc'),_0x343372,_0x582352[_0x47a5('0xf')][_0x47a5('0x11')]);return _0x506eda(_0x582352[_0x47a5('0xf')][_0x47a5('0x11')]);}else{logger['info'](_0x47a5('0xc'),_0x343372,_0x47a5('0x12'));_0x506eda(_0x582352[_0x47a5('0x13')][_0x47a5('0x11')]);}})[_0x47a5('0x14')](function(_0x574af6){logger['error'](_0x47a5('0xc'),_0x343372,_0x574af6);_0x194fb0(_0x574af6);});});} \ No newline at end of file diff --git a/server/api/intFreshsalesAccount/index.js b/server/api/intFreshsalesAccount/index.js index 8604e93..dbd3f00 100644 --- a/server/api/intFreshsalesAccount/index.js +++ b/server/api/intFreshsalesAccount/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x9765=['multer','util','connect-timeout','express','Router','../../components/interaction/service','get','index','/:id','isAuthenticated','show','/:id/fields','getFields','post','/:id/configurations','update','delete','destroy','exports'];(function(_0xa464c9,_0x7c86d8){var _0x3d73c4=function(_0x5c2056){while(--_0x5c2056){_0xa464c9['push'](_0xa464c9['shift']());}};_0x3d73c4(++_0x7c86d8);}(_0x9765,0x156));var _0x5976=function(_0x2c91e9,_0x2fb965){_0x2c91e9=_0x2c91e9-0x0;var _0x13f0ff=_0x9765[_0x2c91e9];return _0x13f0ff;};'use strict';var multer=require(_0x5976('0x0'));var util=require(_0x5976('0x1'));var path=require('path');var timeout=require(_0x5976('0x2'));var express=require(_0x5976('0x3'));var router=express[_0x5976('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0x5976('0x5'));var config=require('../../config/environment');var controller=require('./intFreshsalesAccount.controller');router[_0x5976('0x6')]('/',auth['isAuthenticated'](),controller[_0x5976('0x7')]);router['get'](_0x5976('0x8'),auth[_0x5976('0x9')](),controller[_0x5976('0xa')]);router[_0x5976('0x6')]('/:id/configurations',auth[_0x5976('0x9')](),controller['getConfigurations']);router['get'](_0x5976('0xb'),auth[_0x5976('0x9')](),controller[_0x5976('0xc')]);router[_0x5976('0xd')]('/',auth[_0x5976('0x9')](),controller['create']);router[_0x5976('0xd')](_0x5976('0xe'),auth[_0x5976('0x9')](),controller['addConfiguration']);router['put'](_0x5976('0x8'),auth['isAuthenticated'](),controller[_0x5976('0xf')]);router[_0x5976('0x10')](_0x5976('0x8'),auth['isAuthenticated'](),controller[_0x5976('0x11')]);module[_0x5976('0x12')]=router; \ No newline at end of file +var _0xdabe=['put','/:id','update','delete','destroy','exports','multer','util','path','express','Router','../../components/auth/service','../../config/environment','./intFreshsalesAccount.controller','index','isAuthenticated','show','get','/:id/configurations','getConfigurations','/:id/fields','getFields','post','create'];(function(_0x54572e,_0x4c87df){var _0x352ab9=function(_0x333a10){while(--_0x333a10){_0x54572e['push'](_0x54572e['shift']());}};_0x352ab9(++_0x4c87df);}(_0xdabe,0x7e));var _0xedab=function(_0x26201c,_0x534fc8){_0x26201c=_0x26201c-0x0;var _0xcc7c61=_0xdabe[_0x26201c];return _0xcc7c61;};'use strict';var multer=require(_0xedab('0x0'));var util=require(_0xedab('0x1'));var path=require(_0xedab('0x2'));var timeout=require('connect-timeout');var express=require(_0xedab('0x3'));var router=express[_0xedab('0x4')]();var auth=require(_0xedab('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0xedab('0x6'));var controller=require(_0xedab('0x7'));router['get']('/',auth['isAuthenticated'](),controller[_0xedab('0x8')]);router['get']('/:id',auth[_0xedab('0x9')](),controller[_0xedab('0xa')]);router[_0xedab('0xb')](_0xedab('0xc'),auth[_0xedab('0x9')](),controller[_0xedab('0xd')]);router['get'](_0xedab('0xe'),auth[_0xedab('0x9')](),controller[_0xedab('0xf')]);router[_0xedab('0x10')]('/',auth[_0xedab('0x9')](),controller[_0xedab('0x11')]);router['post'](_0xedab('0xc'),auth['isAuthenticated'](),controller['addConfiguration']);router[_0xedab('0x12')](_0xedab('0x13'),auth[_0xedab('0x9')](),controller[_0xedab('0x14')]);router[_0xedab('0x15')]('/:id',auth[_0xedab('0x9')](),controller[_0xedab('0x16')]);module[_0xedab('0x17')]=router; \ No newline at end of file diff --git a/server/api/intFreshsalesAccount/intFreshsalesAccount.attributes.js b/server/api/intFreshsalesAccount/intFreshsalesAccount.attributes.js index b2e15d1..6ed9634 100644 --- a/server/api/intFreshsalesAccount/intFreshsalesAccount.attributes.js +++ b/server/api/intFreshsalesAccount/intFreshsalesAccount.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x887b=['exports','STRING','username','remoteUri','sequelize'];(function(_0x434780,_0x807dc1){var _0x24331c=function(_0x1fa910){while(--_0x1fa910){_0x434780['push'](_0x434780['shift']());}};_0x24331c(++_0x807dc1);}(_0x887b,0x185));var _0xb887=function(_0x25af5c,_0x88ed12){_0x25af5c=_0x25af5c-0x0;var _0x5ac705=_0x887b[_0x25af5c];return _0x5ac705;};'use strict';var Sequelize=require(_0xb887('0x0'));module[_0xb887('0x1')]={'name':{'type':Sequelize[_0xb887('0x2')]},'description':{'type':Sequelize[_0xb887('0x2')]},'username':{'type':Sequelize[_0xb887('0x2')],'unique':_0xb887('0x3')},'apiKey':{'type':Sequelize[_0xb887('0x2')]},'remoteUri':{'type':Sequelize[_0xb887('0x2')],'unique':_0xb887('0x4')},'serverUrl':{'type':Sequelize['STRING']}}; \ No newline at end of file +var _0x04d5=['sequelize','exports','STRING','username','remoteUri'];(function(_0x1a72f3,_0x217011){var _0x57ef47=function(_0x20123d){while(--_0x20123d){_0x1a72f3['push'](_0x1a72f3['shift']());}};_0x57ef47(++_0x217011);}(_0x04d5,0xe1));var _0x504d=function(_0x1ee5f0,_0x574fae){_0x1ee5f0=_0x1ee5f0-0x0;var _0x3c8970=_0x04d5[_0x1ee5f0];return _0x3c8970;};'use strict';var Sequelize=require(_0x504d('0x0'));module[_0x504d('0x1')]={'name':{'type':Sequelize['STRING']},'description':{'type':Sequelize[_0x504d('0x2')]},'username':{'type':Sequelize[_0x504d('0x2')],'unique':_0x504d('0x3')},'apiKey':{'type':Sequelize['STRING']},'remoteUri':{'type':Sequelize[_0x504d('0x2')],'unique':_0x504d('0x4')},'serverUrl':{'type':Sequelize[_0x504d('0x2')]}}; \ No newline at end of file diff --git a/server/api/intFreshsalesAccount/intFreshsalesAccount.controller.js b/server/api/intFreshsalesAccount/intFreshsalesAccount.controller.js index 7fd6336..a8f3401 100644 --- a/server/api/intFreshsalesAccount/intFreshsalesAccount.controller.js +++ b/server/api/intFreshsalesAccount/intFreshsalesAccount.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xf9f9=['includeAll','findAll','rows','params','find','create','body','findOne','FreshsalesConfiguration','order','getConfigurations','AccountId','Subjects','getSubjects','channel','Descriptions','getDescriptions','type','FreshsalesField','remoteUri','username','slice','substring','lastIndexOf','GET','format','%s%s','Token\x20token=','apiKey','email','getFields,\x20%s,\x20%s,\x20%s','getFields','Wrong\x20credentials','html-pdf','eml-format','rimraf','request-promise','moment','bluebird','mustache','path','sox','to-csv','ejs','crypto','jsforce','desk.js','papaparse','ioredis','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','../../components/integrations/configuration','client','http','test','Sequelize','ValidationError','The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.','request','info','FreshsalesAccount,\x20%s,\x20%s','request\x20sent','stringify','error','code','message','result','catch','sendStatus','json','count','offset','limit','apply','save','update','destroy','then','end','stack','name','send','index','map','FreshsalesAccount','rawAttributes','fieldName','key','model','keys','query','filters','intersection','fields','attributes','length','hasOwnProperty','nolimit','sort','where','pick','VIRTUAL','filter','merge','options'];(function(_0x1005d2,_0x230209){var _0x1d2c17=function(_0x22991a){while(--_0x22991a){_0x1005d2['push'](_0x1005d2['shift']());}};_0x1d2c17(++_0x230209);}(_0xf9f9,0x90));var _0x9f9f=function(_0x189530,_0x5758cb){_0x189530=_0x189530-0x0;var _0x361a8d=_0xf9f9[_0x189530];return _0x361a8d;};'use strict';var pdf=require(_0x9f9f('0x0'));var emlformat=require(_0x9f9f('0x1'));var rimraf=require(_0x9f9f('0x2'));var zipdir=require('zip-dir');var jsonpatch=require('fast-json-patch');var rp=require(_0x9f9f('0x3'));var moment=require(_0x9f9f('0x4'));var BPromise=require(_0x9f9f('0x5'));var Mustache=require(_0x9f9f('0x6'));var util=require('util');var path=require(_0x9f9f('0x7'));var sox=require(_0x9f9f('0x8'));var csv=require(_0x9f9f('0x9'));var ejs=require(_0x9f9f('0xa'));var fs=require('fs');var _=require('lodash');var squel=require('squel');var crypto=require(_0x9f9f('0xb'));var jsforce=require(_0x9f9f('0xc'));var deskjs=require(_0x9f9f('0xd'));var toCsv=require(_0x9f9f('0x9'));var querystring=require('querystring');var Papa=require(_0x9f9f('0xe'));var Redis=require(_0x9f9f('0xf'));var authService=require('../../components/auth/service');var qs=require(_0x9f9f('0x10'));var as=require(_0x9f9f('0x11'));var hardwareService=require(_0x9f9f('0x12'));var logger=require(_0x9f9f('0x13'))(_0x9f9f('0x14'));var utils=require(_0x9f9f('0x15'));var config=require(_0x9f9f('0x16'));var db=require(_0x9f9f('0x17'))['db'];var integrations=require(_0x9f9f('0x18'));var jayson=require('jayson/promise');var client=jayson[_0x9f9f('0x19')][_0x9f9f('0x1a')]({'port':0x232a});function checkPasswordPattern(_0x2638cf,_0x5c81aa,_0x2cefe6){if(_0x2cefe6){var _0x9d5762=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0x9d5762[_0x9f9f('0x1b')](_0x5c81aa)){return _0x2638cf;}else{throw new db[(_0x9f9f('0x1c'))][(_0x9f9f('0x1d'))](_0x9f9f('0x1e'));}}else{return _0x2638cf;}}function respondWithRpcPromise(_0x5b5b1f,_0x1ecbb3,_0x1b36a5,_0x2bd3ec){return new BPromise(function(_0xf341f0,_0x4f2258){var _0x15d14d=_0x2bd3ec||client;return _0x15d14d[_0x9f9f('0x1f')](_0x5b5b1f,_0x1b36a5)['then'](function(_0x45a48d){logger[_0x9f9f('0x20')](_0x9f9f('0x21'),_0x1ecbb3,_0x9f9f('0x22'));logger['debug']('FreshsalesAccount,\x20%s,\x20%s,\x20%s',_0x1ecbb3,_0x9f9f('0x22'),JSON[_0x9f9f('0x23')](_0x45a48d));if(_0x45a48d[_0x9f9f('0x24')]){if(_0x45a48d[_0x9f9f('0x24')][_0x9f9f('0x25')]===0x1f4){logger[_0x9f9f('0x24')]('FreshsalesAccount,\x20%s,\x20%s',_0x1ecbb3,_0x45a48d[_0x9f9f('0x24')]['message']);return _0x4f2258(_0x45a48d[_0x9f9f('0x24')][_0x9f9f('0x26')]);}logger[_0x9f9f('0x24')](_0x9f9f('0x21'),_0x1ecbb3,_0x45a48d[_0x9f9f('0x24')][_0x9f9f('0x26')]);return _0xf341f0(_0x45a48d['error'][_0x9f9f('0x26')]);}else{logger[_0x9f9f('0x20')]('FreshsalesAccount,\x20%s,\x20%s',_0x1ecbb3,_0x9f9f('0x22'));_0xf341f0(_0x45a48d[_0x9f9f('0x27')]['message']);}})[_0x9f9f('0x28')](function(_0x45f056){logger['error']('FreshsalesAccount,\x20%s,\x20%s',_0x1ecbb3,_0x45f056);_0x4f2258(_0x45f056);});});}function respondWithStatusCode(_0x51a2c7,_0xe97bb8){_0xe97bb8=_0xe97bb8||0xcc;return function(_0x521582){if(_0x521582){return _0x51a2c7[_0x9f9f('0x29')](_0xe97bb8);}return _0x51a2c7['status'](_0xe97bb8)['end']();};}function respondWithResult(_0x16d778,_0x234e39){_0x234e39=_0x234e39||0xc8;return function(_0x2cbdf6){if(_0x2cbdf6){return _0x16d778['status'](_0x234e39)[_0x9f9f('0x2a')](_0x2cbdf6);}};}function respondWithFilteredResult(_0x2d6ffa,_0x5ecbed){return function(_0x4aed47){if(_0x4aed47){var _0x1739ab=_0x4aed47[_0x9f9f('0x2b')],_0x8fcb79=_0x5ecbed[_0x9f9f('0x2c')],_0x2954ba=_0x5ecbed[_0x9f9f('0x2c')]+_0x5ecbed[_0x9f9f('0x2d')],_0x393f8a;if(_0x2954ba>=_0x1739ab){_0x2954ba=_0x1739ab;_0x393f8a=0xc8;}else{_0x393f8a=0xce;}_0x2d6ffa['status'](_0x393f8a);return _0x2d6ffa['set']('Content-Range',_0x8fcb79+'-'+_0x2954ba+'/'+_0x1739ab)[_0x9f9f('0x2a')](_0x4aed47);}return null;};}function patchUpdates(_0x11986f){return function(_0x38c57c){try{jsonpatch[_0x9f9f('0x2e')](_0x38c57c,_0x11986f,!![]);}catch(_0x414e6e){return BPromise['reject'](_0x414e6e);}return _0x38c57c[_0x9f9f('0x2f')]();};}function saveUpdates(_0x2750bb,_0x2ca9f4){return function(_0x14ee75){if(_0x14ee75){return _0x14ee75[_0x9f9f('0x30')](_0x2750bb)['then'](function(_0xff5448){return _0xff5448;});}return null;};}function removeEntity(_0x42cd78,_0x289043){return function(_0x315b07){if(_0x315b07){return _0x315b07[_0x9f9f('0x31')]()[_0x9f9f('0x32')](function(){_0x42cd78['status'](0xcc)[_0x9f9f('0x33')]();});}};}function handleEntityNotFound(_0x561129,_0x611867){return function(_0x1535bd){if(!_0x1535bd){_0x561129[_0x9f9f('0x29')](0x194);}return _0x1535bd;};}function handleError(_0x53666b,_0x499764){_0x499764=_0x499764||0x1f4;return function(_0x522f57){logger[_0x9f9f('0x24')](_0x522f57[_0x9f9f('0x34')]);if(_0x522f57['name']){delete _0x522f57[_0x9f9f('0x35')];}_0x53666b['status'](_0x499764)[_0x9f9f('0x36')](_0x522f57);};}exports[_0x9f9f('0x37')]=function(_0x39a7ec,_0x271ce4){var _0x3c51e8={},_0x513f52={},_0x1156d5={'count':0x0,'rows':[]};var _0x3632a2=_[_0x9f9f('0x38')](db[_0x9f9f('0x39')][_0x9f9f('0x3a')],function(_0x155228){return{'name':_0x155228[_0x9f9f('0x3b')],'type':_0x155228['type'][_0x9f9f('0x3c')]};});_0x513f52[_0x9f9f('0x3d')]=_[_0x9f9f('0x38')](_0x3632a2,_0x9f9f('0x35'));_0x513f52['query']=_[_0x9f9f('0x3e')](_0x39a7ec[_0x9f9f('0x3f')]);_0x513f52[_0x9f9f('0x40')]=_[_0x9f9f('0x41')](_0x513f52[_0x9f9f('0x3d')],_0x513f52[_0x9f9f('0x3f')]);_0x3c51e8['attributes']=_[_0x9f9f('0x41')](_0x513f52[_0x9f9f('0x3d')],qs[_0x9f9f('0x42')](_0x39a7ec[_0x9f9f('0x3f')][_0x9f9f('0x42')]));_0x3c51e8[_0x9f9f('0x43')]=_0x3c51e8[_0x9f9f('0x43')][_0x9f9f('0x44')]?_0x3c51e8['attributes']:_0x513f52[_0x9f9f('0x3d')];if(!_0x39a7ec['query'][_0x9f9f('0x45')](_0x9f9f('0x46'))){_0x3c51e8['limit']=qs[_0x9f9f('0x2d')](_0x39a7ec[_0x9f9f('0x3f')][_0x9f9f('0x2d')]);_0x3c51e8['offset']=qs[_0x9f9f('0x2c')](_0x39a7ec['query'][_0x9f9f('0x2c')]);}_0x3c51e8['order']=qs[_0x9f9f('0x47')](_0x39a7ec[_0x9f9f('0x3f')][_0x9f9f('0x47')]);_0x3c51e8[_0x9f9f('0x48')]=qs['filters'](_[_0x9f9f('0x49')](_0x39a7ec[_0x9f9f('0x3f')],_0x513f52['filters']),_0x3632a2);if(_0x39a7ec[_0x9f9f('0x3f')]['filter']){_0x3c51e8[_0x9f9f('0x48')]=_['merge'](_0x3c51e8[_0x9f9f('0x48')],{'$or':_[_0x9f9f('0x38')](_0x3632a2,function(_0x32d844){if(_0x32d844['type']!==_0x9f9f('0x4a')){var _0x35b4c7={};_0x35b4c7[_0x32d844[_0x9f9f('0x35')]]={'$like':'%'+_0x39a7ec[_0x9f9f('0x3f')][_0x9f9f('0x4b')]+'%'};return _0x35b4c7;}})});}_0x3c51e8=_[_0x9f9f('0x4c')]({},_0x3c51e8,_0x39a7ec[_0x9f9f('0x4d')]);var _0x2e7a67={'where':_0x3c51e8[_0x9f9f('0x48')]};return db[_0x9f9f('0x39')][_0x9f9f('0x2b')](_0x2e7a67)['then'](function(_0xb8c9a8){_0x1156d5['count']=_0xb8c9a8;if(_0x39a7ec[_0x9f9f('0x3f')][_0x9f9f('0x4e')]){_0x3c51e8['include']=[{'all':!![]}];}return db[_0x9f9f('0x39')][_0x9f9f('0x4f')](_0x3c51e8);})[_0x9f9f('0x32')](function(_0x2a125c){_0x1156d5[_0x9f9f('0x50')]=_0x2a125c;return _0x1156d5;})[_0x9f9f('0x32')](respondWithFilteredResult(_0x271ce4,_0x3c51e8))[_0x9f9f('0x28')](handleError(_0x271ce4,null));};exports['show']=function(_0x158886,_0x41f272){var _0x161828={'raw':![],'where':{'id':_0x158886[_0x9f9f('0x51')]['id']}},_0x47bda6={};_0x47bda6[_0x9f9f('0x3d')]=_[_0x9f9f('0x3e')](db[_0x9f9f('0x39')][_0x9f9f('0x3a')]);_0x47bda6[_0x9f9f('0x3f')]=_[_0x9f9f('0x3e')](_0x158886[_0x9f9f('0x3f')]);_0x47bda6[_0x9f9f('0x40')]=_['intersection'](_0x47bda6[_0x9f9f('0x3d')],_0x47bda6[_0x9f9f('0x3f')]);_0x161828[_0x9f9f('0x43')]=_[_0x9f9f('0x41')](_0x47bda6[_0x9f9f('0x3d')],qs[_0x9f9f('0x42')](_0x158886[_0x9f9f('0x3f')][_0x9f9f('0x42')]));_0x161828['attributes']=_0x161828[_0x9f9f('0x43')]['length']?_0x161828[_0x9f9f('0x43')]:_0x47bda6[_0x9f9f('0x3d')];if(_0x158886['query'][_0x9f9f('0x4e')]){_0x161828['include']=[{'all':!![]}];}_0x161828=_['merge']({},_0x161828,_0x158886[_0x9f9f('0x4d')]);return db[_0x9f9f('0x39')][_0x9f9f('0x52')](_0x161828)[_0x9f9f('0x32')](handleEntityNotFound(_0x41f272,null))[_0x9f9f('0x32')](respondWithResult(_0x41f272,null))[_0x9f9f('0x28')](handleError(_0x41f272,null));};exports[_0x9f9f('0x53')]=function(_0x8af76f,_0x4bbecb){return db[_0x9f9f('0x39')][_0x9f9f('0x53')](_0x8af76f['body'],{})[_0x9f9f('0x32')](respondWithResult(_0x4bbecb,0xc9))[_0x9f9f('0x28')](handleError(_0x4bbecb,null));};exports['update']=function(_0x58dc9f,_0x571e45){if(_0x58dc9f[_0x9f9f('0x54')]['id']){delete _0x58dc9f[_0x9f9f('0x54')]['id'];}return db[_0x9f9f('0x39')][_0x9f9f('0x52')]({'where':{'id':_0x58dc9f[_0x9f9f('0x51')]['id']}})['then'](handleEntityNotFound(_0x571e45,null))['then'](saveUpdates(_0x58dc9f[_0x9f9f('0x54')],null))[_0x9f9f('0x32')](respondWithResult(_0x571e45,null))[_0x9f9f('0x28')](handleError(_0x571e45,null));};exports[_0x9f9f('0x31')]=function(_0x1e0a04,_0x4e5d98){return db[_0x9f9f('0x39')][_0x9f9f('0x52')]({'where':{'id':_0x1e0a04[_0x9f9f('0x51')]['id']}})[_0x9f9f('0x32')](handleEntityNotFound(_0x4e5d98,null))[_0x9f9f('0x32')](removeEntity(_0x4e5d98,null))[_0x9f9f('0x28')](handleError(_0x4e5d98,null));};exports['getConfigurations']=function(_0x1b168c,_0x498b87,_0x13f222){var _0x3af29c={};var _0x361b7c={};var _0x51ee4e;var _0xf2e7b2;return db[_0x9f9f('0x39')][_0x9f9f('0x55')]({'where':{'id':_0x1b168c['params']['id']}})[_0x9f9f('0x32')](handleEntityNotFound(_0x498b87,null))['then'](function(_0x46892d){if(_0x46892d){_0x51ee4e=_0x46892d;_0x361b7c[_0x9f9f('0x3d')]=_['keys'](db[_0x9f9f('0x56')][_0x9f9f('0x3a')]);_0x361b7c[_0x9f9f('0x3f')]=_[_0x9f9f('0x3e')](_0x1b168c['query']);_0x361b7c[_0x9f9f('0x40')]=_[_0x9f9f('0x41')](_0x361b7c[_0x9f9f('0x3d')],_0x361b7c[_0x9f9f('0x3f')]);_0x3af29c[_0x9f9f('0x43')]=_['intersection'](_0x361b7c[_0x9f9f('0x3d')],qs[_0x9f9f('0x42')](_0x1b168c[_0x9f9f('0x3f')][_0x9f9f('0x42')]));_0x3af29c[_0x9f9f('0x43')]=_0x3af29c[_0x9f9f('0x43')][_0x9f9f('0x44')]?_0x3af29c[_0x9f9f('0x43')]:_0x361b7c[_0x9f9f('0x3d')];_0x3af29c[_0x9f9f('0x57')]=qs[_0x9f9f('0x47')](_0x1b168c[_0x9f9f('0x3f')][_0x9f9f('0x47')]);_0x3af29c[_0x9f9f('0x48')]=qs[_0x9f9f('0x40')](_[_0x9f9f('0x49')](_0x1b168c[_0x9f9f('0x3f')],_0x361b7c[_0x9f9f('0x40')]));if(_0x1b168c[_0x9f9f('0x3f')]['filter']){_0x3af29c['where']=_[_0x9f9f('0x4c')](_0x3af29c[_0x9f9f('0x48')],{'$or':_[_0x9f9f('0x38')](_0x3af29c[_0x9f9f('0x43')],function(_0x3e1d29){var _0x782aff={};_0x782aff[_0x3e1d29]={'$like':'%'+_0x1b168c['query'][_0x9f9f('0x4b')]+'%'};return _0x782aff;})});}_0x3af29c=_[_0x9f9f('0x4c')]({},_0x3af29c,_0x1b168c['options']);return _0x51ee4e[_0x9f9f('0x58')](_0x3af29c);}})[_0x9f9f('0x32')](function(_0x3dc444){if(_0x3dc444){_0xf2e7b2=_0x3dc444[_0x9f9f('0x44')];if(!_0x1b168c['query']['hasOwnProperty']('nolimit')){_0x3af29c[_0x9f9f('0x2d')]=qs[_0x9f9f('0x2d')](_0x1b168c[_0x9f9f('0x3f')]['limit']);_0x3af29c[_0x9f9f('0x2c')]=qs[_0x9f9f('0x2c')](_0x1b168c[_0x9f9f('0x3f')][_0x9f9f('0x2c')]);}return _0x51ee4e[_0x9f9f('0x58')](_0x3af29c);}})[_0x9f9f('0x32')](function(_0x304567){if(_0x304567){return _0x304567?{'count':_0xf2e7b2,'rows':_0x304567}:null;}})[_0x9f9f('0x32')](respondWithResult(_0x498b87,null))[_0x9f9f('0x28')](handleError(_0x498b87,null));};exports['addConfiguration']=function(_0x5c0a87,_0x296078,_0x56aa61){if(_0x5c0a87[_0x9f9f('0x54')]['id']){delete _0x5c0a87['body']['id'];}return db['FreshsalesAccount']['findOne']({'where':{'id':_0x5c0a87['params']['id']}})[_0x9f9f('0x32')](handleEntityNotFound(_0x296078,null))['then'](function(_0x57c47c){if(_0x57c47c){_0x5c0a87['body'][_0x9f9f('0x59')]=_0x57c47c['id'];_0x5c0a87[_0x9f9f('0x54')][_0x9f9f('0x5a')]=integrations[_0x9f9f('0x5b')](_0x5c0a87[_0x9f9f('0x54')][_0x9f9f('0x5c')],_0x5c0a87[_0x9f9f('0x54')]['type']);_0x5c0a87['body'][_0x9f9f('0x5d')]=integrations[_0x9f9f('0x5e')](_0x5c0a87[_0x9f9f('0x54')][_0x9f9f('0x5c')],_0x5c0a87[_0x9f9f('0x54')][_0x9f9f('0x5f')]);return db['FreshsalesConfiguration'][_0x9f9f('0x53')](_0x5c0a87[_0x9f9f('0x54')],{'include':[{'model':db[_0x9f9f('0x60')],'as':_0x9f9f('0x5a')},{'model':db[_0x9f9f('0x60')],'as':_0x9f9f('0x5d')}]});}return null;})[_0x9f9f('0x32')](respondWithResult(_0x296078,null))[_0x9f9f('0x28')](handleError(_0x296078,null));};exports['getFields']=function(_0x95f30b,_0x3abc34,_0x969de4){var _0x37b371='';var _0x280546='';return db[_0x9f9f('0x39')][_0x9f9f('0x55')]({'where':{'id':_0x95f30b[_0x9f9f('0x51')]['id']},'attributes':['id','username',_0x9f9f('0x61'),'apiKey']})['then'](handleEntityNotFound(_0x3abc34,null))[_0x9f9f('0x32')](function(_0x2ba9bc){if(_0x2ba9bc){_0x280546=_0x2ba9bc[_0x9f9f('0x62')];_0x37b371=_0x2ba9bc[_0x9f9f('0x61')];var _0x30e9a1=_0x2ba9bc[_0x9f9f('0x61')][_0x9f9f('0x63')](-0x1);if(_0x30e9a1==='/'){_0x37b371=_0x37b371[_0x9f9f('0x64')](0x0,_0x37b371[_0x9f9f('0x65')](_0x30e9a1));}return rp({'method':_0x9f9f('0x66'),'uri':util[_0x9f9f('0x67')](_0x9f9f('0x68'),_0x37b371,'/api/selector/owners'),'headers':{'Authorization':_0x9f9f('0x69')+_0x2ba9bc[_0x9f9f('0x6a')]},'json':!![]});}})[_0x9f9f('0x32')](function(_0x43b102){if(_0x43b102){var _0x337f5b=_0x43b102['users'];var _0x219f82=![];var _0x578e76=null;for(_0x578e76=0x0;_0x578e76<_0x337f5b[_0x9f9f('0x44')];_0x578e76++){if(_0x337f5b[_0x578e76][_0x9f9f('0x6b')]===_0x280546){_0x219f82=!![];}}if(_0x219f82){return!![];}else{throw new Error({'statusCode':0x194,'message':'Requested\x20Resource\x20not\x20Found'});}}})[_0x9f9f('0x32')](respondWithResult(_0x3abc34,null))['catch'](function(_0x8de87a){var _0x20f6d9=_0x95f30b[_0x9f9f('0x3f')][_0x9f9f('0x1b')]?0x1f4:_0x8de87a['statusCode']||0x1f4;logger[_0x9f9f('0x24')](_0x9f9f('0x6c'),_0x9f9f('0x6d'),_0x20f6d9,JSON[_0x9f9f('0x23')](_0x8de87a));delete _0x8de87a[_0x9f9f('0x35')];if(_0x20f6d9===0x191){_0x20f6d9=0x190;}_0x3abc34['status'](_0x20f6d9)['send'](_0x95f30b['query'][_0x9f9f('0x1b')]?{'message':_0x9f9f('0x6e'),'statusCode':_0x8de87a['statusCode']}:_0x8de87a);});}; \ No newline at end of file +var _0x57e3=['show','params','rawAttributes','find','create','body','getConfigurations','findOne','FreshsalesConfiguration','hasOwnProperty','addConfiguration','AccountId','Subjects','getSubjects','Descriptions','getDescriptions','channel','FreshsalesField','getFields','apiKey','username','remoteUri','substring','GET','format','/api/selector/owners','Token\x20token=','Requested\x20Resource\x20not\x20Found','statusCode','getFields,\x20%s,\x20%s,\x20%s','stringify','send','Wrong\x20credentials','html-pdf','rimraf','zip-dir','fast-json-patch','request-promise','util','path','sox','to-csv','ejs','lodash','squel','crypto','jsforce','desk.js','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','api','../../config/utils','../../config/environment','../../components/integrations/configuration','jayson/promise','http','test','Sequelize','ValidationError','request','then','info','FreshsalesAccount,\x20%s,\x20%s','debug','FreshsalesAccount,\x20%s,\x20%s,\x20%s','request\x20sent','error','code','message','result','catch','sendStatus','status','end','json','count','offset','limit','Content-Range','apply','reject','save','update','destroy','stack','name','map','FreshsalesAccount','fieldName','type','key','model','query','keys','intersection','attributes','fields','length','nolimit','order','sort','where','filters','filter','merge','VIRTUAL','options','includeAll','include','findAll','rows'];(function(_0x1d3aad,_0x52a3f3){var _0x775f3f=function(_0x3381bf){while(--_0x3381bf){_0x1d3aad['push'](_0x1d3aad['shift']());}};_0x775f3f(++_0x52a3f3);}(_0x57e3,0x94));var _0x357e=function(_0x3eca13,_0x5a1000){_0x3eca13=_0x3eca13-0x0;var _0x35843d=_0x57e3[_0x3eca13];return _0x35843d;};'use strict';var pdf=require(_0x357e('0x0'));var emlformat=require('eml-format');var rimraf=require(_0x357e('0x1'));var zipdir=require(_0x357e('0x2'));var jsonpatch=require(_0x357e('0x3'));var rp=require(_0x357e('0x4'));var moment=require('moment');var BPromise=require('bluebird');var Mustache=require('mustache');var util=require(_0x357e('0x5'));var path=require(_0x357e('0x6'));var sox=require(_0x357e('0x7'));var csv=require(_0x357e('0x8'));var ejs=require(_0x357e('0x9'));var fs=require('fs');var _=require(_0x357e('0xa'));var squel=require(_0x357e('0xb'));var crypto=require(_0x357e('0xc'));var jsforce=require(_0x357e('0xd'));var deskjs=require(_0x357e('0xe'));var toCsv=require(_0x357e('0x8'));var querystring=require('querystring');var Papa=require(_0x357e('0xf'));var Redis=require(_0x357e('0x10'));var authService=require(_0x357e('0x11'));var qs=require(_0x357e('0x12'));var as=require(_0x357e('0x13'));var hardwareService=require(_0x357e('0x14'));var logger=require('../../config/logger')(_0x357e('0x15'));var utils=require(_0x357e('0x16'));var config=require(_0x357e('0x17'));var db=require('../../mysqldb')['db'];var integrations=require(_0x357e('0x18'));var jayson=require(_0x357e('0x19'));var client=jayson['client'][_0x357e('0x1a')]({'port':0x232a});function checkPasswordPattern(_0x5ec95e,_0xc5d05f,_0x449d40){if(_0x449d40){var _0x4643ad=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0x4643ad[_0x357e('0x1b')](_0xc5d05f)){return _0x5ec95e;}else{throw new db[(_0x357e('0x1c'))][(_0x357e('0x1d'))]('The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.');}}else{return _0x5ec95e;}}function respondWithRpcPromise(_0x139dcd,_0x10c11f,_0x3f5544,_0x137ac3){return new BPromise(function(_0x3f8fb6,_0x456d53){var _0x329104=_0x137ac3||client;return _0x329104[_0x357e('0x1e')](_0x139dcd,_0x3f5544)[_0x357e('0x1f')](function(_0xd95ade){logger[_0x357e('0x20')](_0x357e('0x21'),_0x10c11f,'request\x20sent');logger[_0x357e('0x22')](_0x357e('0x23'),_0x10c11f,_0x357e('0x24'),JSON['stringify'](_0xd95ade));if(_0xd95ade[_0x357e('0x25')]){if(_0xd95ade['error'][_0x357e('0x26')]===0x1f4){logger[_0x357e('0x25')](_0x357e('0x21'),_0x10c11f,_0xd95ade[_0x357e('0x25')][_0x357e('0x27')]);return _0x456d53(_0xd95ade[_0x357e('0x25')][_0x357e('0x27')]);}logger[_0x357e('0x25')]('FreshsalesAccount,\x20%s,\x20%s',_0x10c11f,_0xd95ade[_0x357e('0x25')]['message']);return _0x3f8fb6(_0xd95ade['error']['message']);}else{logger[_0x357e('0x20')](_0x357e('0x21'),_0x10c11f,_0x357e('0x24'));_0x3f8fb6(_0xd95ade[_0x357e('0x28')][_0x357e('0x27')]);}})[_0x357e('0x29')](function(_0x4ab3f1){logger['error'](_0x357e('0x21'),_0x10c11f,_0x4ab3f1);_0x456d53(_0x4ab3f1);});});}function respondWithStatusCode(_0x348ed9,_0x41b66b){_0x41b66b=_0x41b66b||0xcc;return function(_0x12571a){if(_0x12571a){return _0x348ed9[_0x357e('0x2a')](_0x41b66b);}return _0x348ed9[_0x357e('0x2b')](_0x41b66b)[_0x357e('0x2c')]();};}function respondWithResult(_0x1209e1,_0x3acecd){_0x3acecd=_0x3acecd||0xc8;return function(_0x2bff8d){if(_0x2bff8d){return _0x1209e1['status'](_0x3acecd)[_0x357e('0x2d')](_0x2bff8d);}};}function respondWithFilteredResult(_0x25001c,_0x4406bd){return function(_0x4380ff){if(_0x4380ff){var _0x1ca200=_0x4380ff[_0x357e('0x2e')],_0x2a02d1=_0x4406bd[_0x357e('0x2f')],_0x2573cf=_0x4406bd[_0x357e('0x2f')]+_0x4406bd[_0x357e('0x30')],_0xb72d6b;if(_0x2573cf>=_0x1ca200){_0x2573cf=_0x1ca200;_0xb72d6b=0xc8;}else{_0xb72d6b=0xce;}_0x25001c[_0x357e('0x2b')](_0xb72d6b);return _0x25001c['set'](_0x357e('0x31'),_0x2a02d1+'-'+_0x2573cf+'/'+_0x1ca200)[_0x357e('0x2d')](_0x4380ff);}return null;};}function patchUpdates(_0x498a7d){return function(_0x12b85a){try{jsonpatch[_0x357e('0x32')](_0x12b85a,_0x498a7d,!![]);}catch(_0x4cd1a8){return BPromise[_0x357e('0x33')](_0x4cd1a8);}return _0x12b85a[_0x357e('0x34')]();};}function saveUpdates(_0x394977,_0x866d9c){return function(_0x1053c7){if(_0x1053c7){return _0x1053c7[_0x357e('0x35')](_0x394977)[_0x357e('0x1f')](function(_0x41be40){return _0x41be40;});}return null;};}function removeEntity(_0x5419d9,_0x34c347){return function(_0xa66667){if(_0xa66667){return _0xa66667[_0x357e('0x36')]()[_0x357e('0x1f')](function(){_0x5419d9[_0x357e('0x2b')](0xcc)['end']();});}};}function handleEntityNotFound(_0x23561f,_0x4c56bd){return function(_0x38aa16){if(!_0x38aa16){_0x23561f[_0x357e('0x2a')](0x194);}return _0x38aa16;};}function handleError(_0x24b16f,_0x356ea4){_0x356ea4=_0x356ea4||0x1f4;return function(_0x5900da){logger[_0x357e('0x25')](_0x5900da[_0x357e('0x37')]);if(_0x5900da[_0x357e('0x38')]){delete _0x5900da[_0x357e('0x38')];}_0x24b16f['status'](_0x356ea4)['send'](_0x5900da);};}exports['index']=function(_0x546e3b,_0x27c3bf){var _0x509ae8={},_0x10ea2e={},_0x260b8e={'count':0x0,'rows':[]};var _0x2287fe=_[_0x357e('0x39')](db[_0x357e('0x3a')]['rawAttributes'],function(_0x241ccf){return{'name':_0x241ccf[_0x357e('0x3b')],'type':_0x241ccf[_0x357e('0x3c')][_0x357e('0x3d')]};});_0x10ea2e[_0x357e('0x3e')]=_['map'](_0x2287fe,_0x357e('0x38'));_0x10ea2e[_0x357e('0x3f')]=_[_0x357e('0x40')](_0x546e3b[_0x357e('0x3f')]);_0x10ea2e['filters']=_[_0x357e('0x41')](_0x10ea2e[_0x357e('0x3e')],_0x10ea2e['query']);_0x509ae8[_0x357e('0x42')]=_['intersection'](_0x10ea2e['model'],qs[_0x357e('0x43')](_0x546e3b[_0x357e('0x3f')][_0x357e('0x43')]));_0x509ae8[_0x357e('0x42')]=_0x509ae8[_0x357e('0x42')][_0x357e('0x44')]?_0x509ae8[_0x357e('0x42')]:_0x10ea2e[_0x357e('0x3e')];if(!_0x546e3b[_0x357e('0x3f')]['hasOwnProperty'](_0x357e('0x45'))){_0x509ae8[_0x357e('0x30')]=qs[_0x357e('0x30')](_0x546e3b[_0x357e('0x3f')]['limit']);_0x509ae8['offset']=qs[_0x357e('0x2f')](_0x546e3b['query'][_0x357e('0x2f')]);}_0x509ae8[_0x357e('0x46')]=qs[_0x357e('0x47')](_0x546e3b[_0x357e('0x3f')][_0x357e('0x47')]);_0x509ae8[_0x357e('0x48')]=qs[_0x357e('0x49')](_['pick'](_0x546e3b[_0x357e('0x3f')],_0x10ea2e[_0x357e('0x49')]),_0x2287fe);if(_0x546e3b[_0x357e('0x3f')][_0x357e('0x4a')]){_0x509ae8[_0x357e('0x48')]=_[_0x357e('0x4b')](_0x509ae8['where'],{'$or':_['map'](_0x2287fe,function(_0x1d6540){if(_0x1d6540[_0x357e('0x3c')]!==_0x357e('0x4c')){var _0x2d0d7a={};_0x2d0d7a[_0x1d6540['name']]={'$like':'%'+_0x546e3b[_0x357e('0x3f')][_0x357e('0x4a')]+'%'};return _0x2d0d7a;}})});}_0x509ae8=_[_0x357e('0x4b')]({},_0x509ae8,_0x546e3b[_0x357e('0x4d')]);var _0x3fe5f6={'where':_0x509ae8[_0x357e('0x48')]};return db[_0x357e('0x3a')][_0x357e('0x2e')](_0x3fe5f6)['then'](function(_0x232591){_0x260b8e[_0x357e('0x2e')]=_0x232591;if(_0x546e3b[_0x357e('0x3f')][_0x357e('0x4e')]){_0x509ae8[_0x357e('0x4f')]=[{'all':!![]}];}return db[_0x357e('0x3a')][_0x357e('0x50')](_0x509ae8);})[_0x357e('0x1f')](function(_0x25a363){_0x260b8e[_0x357e('0x51')]=_0x25a363;return _0x260b8e;})[_0x357e('0x1f')](respondWithFilteredResult(_0x27c3bf,_0x509ae8))[_0x357e('0x29')](handleError(_0x27c3bf,null));};exports[_0x357e('0x52')]=function(_0x3e3d48,_0x5c7e6b){var _0x2e19c8={'raw':![],'where':{'id':_0x3e3d48[_0x357e('0x53')]['id']}},_0x4f8fdd={};_0x4f8fdd[_0x357e('0x3e')]=_[_0x357e('0x40')](db['FreshsalesAccount'][_0x357e('0x54')]);_0x4f8fdd[_0x357e('0x3f')]=_['keys'](_0x3e3d48[_0x357e('0x3f')]);_0x4f8fdd[_0x357e('0x49')]=_['intersection'](_0x4f8fdd['model'],_0x4f8fdd[_0x357e('0x3f')]);_0x2e19c8[_0x357e('0x42')]=_[_0x357e('0x41')](_0x4f8fdd[_0x357e('0x3e')],qs[_0x357e('0x43')](_0x3e3d48[_0x357e('0x3f')][_0x357e('0x43')]));_0x2e19c8[_0x357e('0x42')]=_0x2e19c8[_0x357e('0x42')][_0x357e('0x44')]?_0x2e19c8['attributes']:_0x4f8fdd[_0x357e('0x3e')];if(_0x3e3d48[_0x357e('0x3f')]['includeAll']){_0x2e19c8[_0x357e('0x4f')]=[{'all':!![]}];}_0x2e19c8=_[_0x357e('0x4b')]({},_0x2e19c8,_0x3e3d48[_0x357e('0x4d')]);return db[_0x357e('0x3a')][_0x357e('0x55')](_0x2e19c8)[_0x357e('0x1f')](handleEntityNotFound(_0x5c7e6b,null))[_0x357e('0x1f')](respondWithResult(_0x5c7e6b,null))[_0x357e('0x29')](handleError(_0x5c7e6b,null));};exports[_0x357e('0x56')]=function(_0x3d3c6c,_0x5a241e){return db[_0x357e('0x3a')][_0x357e('0x56')](_0x3d3c6c[_0x357e('0x57')],{})[_0x357e('0x1f')](respondWithResult(_0x5a241e,0xc9))[_0x357e('0x29')](handleError(_0x5a241e,null));};exports[_0x357e('0x35')]=function(_0x6eb39d,_0x3d0c13){if(_0x6eb39d['body']['id']){delete _0x6eb39d[_0x357e('0x57')]['id'];}return db['FreshsalesAccount'][_0x357e('0x55')]({'where':{'id':_0x6eb39d[_0x357e('0x53')]['id']}})[_0x357e('0x1f')](handleEntityNotFound(_0x3d0c13,null))[_0x357e('0x1f')](saveUpdates(_0x6eb39d['body'],null))[_0x357e('0x1f')](respondWithResult(_0x3d0c13,null))['catch'](handleError(_0x3d0c13,null));};exports['destroy']=function(_0xc77f1c,_0x18c510){return db[_0x357e('0x3a')]['find']({'where':{'id':_0xc77f1c[_0x357e('0x53')]['id']}})[_0x357e('0x1f')](handleEntityNotFound(_0x18c510,null))[_0x357e('0x1f')](removeEntity(_0x18c510,null))[_0x357e('0x29')](handleError(_0x18c510,null));};exports[_0x357e('0x58')]=function(_0xb62116,_0x2ecdae,_0x52f568){var _0x33dcdb={};var _0x19914f={};var _0x1f76ec;var _0x21e1c2;return db['FreshsalesAccount'][_0x357e('0x59')]({'where':{'id':_0xb62116[_0x357e('0x53')]['id']}})[_0x357e('0x1f')](handleEntityNotFound(_0x2ecdae,null))[_0x357e('0x1f')](function(_0x19e12f){if(_0x19e12f){_0x1f76ec=_0x19e12f;_0x19914f[_0x357e('0x3e')]=_[_0x357e('0x40')](db[_0x357e('0x5a')][_0x357e('0x54')]);_0x19914f[_0x357e('0x3f')]=_['keys'](_0xb62116['query']);_0x19914f['filters']=_['intersection'](_0x19914f['model'],_0x19914f[_0x357e('0x3f')]);_0x33dcdb[_0x357e('0x42')]=_[_0x357e('0x41')](_0x19914f[_0x357e('0x3e')],qs[_0x357e('0x43')](_0xb62116[_0x357e('0x3f')]['fields']));_0x33dcdb[_0x357e('0x42')]=_0x33dcdb['attributes']['length']?_0x33dcdb[_0x357e('0x42')]:_0x19914f['model'];_0x33dcdb[_0x357e('0x46')]=qs[_0x357e('0x47')](_0xb62116[_0x357e('0x3f')][_0x357e('0x47')]);_0x33dcdb[_0x357e('0x48')]=qs[_0x357e('0x49')](_['pick'](_0xb62116['query'],_0x19914f[_0x357e('0x49')]));if(_0xb62116[_0x357e('0x3f')][_0x357e('0x4a')]){_0x33dcdb[_0x357e('0x48')]=_[_0x357e('0x4b')](_0x33dcdb[_0x357e('0x48')],{'$or':_[_0x357e('0x39')](_0x33dcdb['attributes'],function(_0x1e9e43){var _0x1a9ccc={};_0x1a9ccc[_0x1e9e43]={'$like':'%'+_0xb62116['query'][_0x357e('0x4a')]+'%'};return _0x1a9ccc;})});}_0x33dcdb=_[_0x357e('0x4b')]({},_0x33dcdb,_0xb62116[_0x357e('0x4d')]);return _0x1f76ec[_0x357e('0x58')](_0x33dcdb);}})[_0x357e('0x1f')](function(_0x46e84b){if(_0x46e84b){_0x21e1c2=_0x46e84b[_0x357e('0x44')];if(!_0xb62116[_0x357e('0x3f')][_0x357e('0x5b')](_0x357e('0x45'))){_0x33dcdb['limit']=qs[_0x357e('0x30')](_0xb62116['query'][_0x357e('0x30')]);_0x33dcdb[_0x357e('0x2f')]=qs[_0x357e('0x2f')](_0xb62116[_0x357e('0x3f')][_0x357e('0x2f')]);}return _0x1f76ec[_0x357e('0x58')](_0x33dcdb);}})['then'](function(_0x15f64c){if(_0x15f64c){return _0x15f64c?{'count':_0x21e1c2,'rows':_0x15f64c}:null;}})[_0x357e('0x1f')](respondWithResult(_0x2ecdae,null))[_0x357e('0x29')](handleError(_0x2ecdae,null));};exports[_0x357e('0x5c')]=function(_0x79ff96,_0xe06a5e,_0x512baa){if(_0x79ff96['body']['id']){delete _0x79ff96[_0x357e('0x57')]['id'];}return db[_0x357e('0x3a')][_0x357e('0x59')]({'where':{'id':_0x79ff96[_0x357e('0x53')]['id']}})['then'](handleEntityNotFound(_0xe06a5e,null))[_0x357e('0x1f')](function(_0x52bc9a){if(_0x52bc9a){_0x79ff96['body'][_0x357e('0x5d')]=_0x52bc9a['id'];_0x79ff96[_0x357e('0x57')][_0x357e('0x5e')]=integrations[_0x357e('0x5f')](_0x79ff96[_0x357e('0x57')]['channel'],_0x79ff96[_0x357e('0x57')][_0x357e('0x3c')]);_0x79ff96['body'][_0x357e('0x60')]=integrations[_0x357e('0x61')](_0x79ff96['body'][_0x357e('0x62')],_0x79ff96['body'][_0x357e('0x3c')]);return db['FreshsalesConfiguration'][_0x357e('0x56')](_0x79ff96[_0x357e('0x57')],{'include':[{'model':db[_0x357e('0x63')],'as':_0x357e('0x5e')},{'model':db[_0x357e('0x63')],'as':'Descriptions'}]});}return null;})[_0x357e('0x1f')](respondWithResult(_0xe06a5e,null))[_0x357e('0x29')](handleError(_0xe06a5e,null));};exports[_0x357e('0x64')]=function(_0x1d526d,_0xfbe346,_0x5762ed){var _0x474fd9='';var _0x1c3691='';return db[_0x357e('0x3a')][_0x357e('0x59')]({'where':{'id':_0x1d526d[_0x357e('0x53')]['id']},'attributes':['id','username','remoteUri',_0x357e('0x65')]})['then'](handleEntityNotFound(_0xfbe346,null))[_0x357e('0x1f')](function(_0x25eb7f){if(_0x25eb7f){_0x1c3691=_0x25eb7f[_0x357e('0x66')];_0x474fd9=_0x25eb7f[_0x357e('0x67')];var _0x12b8aa=_0x25eb7f[_0x357e('0x67')]['slice'](-0x1);if(_0x12b8aa==='/'){_0x474fd9=_0x474fd9[_0x357e('0x68')](0x0,_0x474fd9['lastIndexOf'](_0x12b8aa));}return rp({'method':_0x357e('0x69'),'uri':util[_0x357e('0x6a')]('%s%s',_0x474fd9,_0x357e('0x6b')),'headers':{'Authorization':_0x357e('0x6c')+_0x25eb7f[_0x357e('0x65')]},'json':!![]});}})[_0x357e('0x1f')](function(_0x3ed73e){if(_0x3ed73e){var _0x218955=_0x3ed73e['users'];var _0x1120a2=![];var _0x4f1f50=null;for(_0x4f1f50=0x0;_0x4f1f50<_0x218955[_0x357e('0x44')];_0x4f1f50++){if(_0x218955[_0x4f1f50]['email']===_0x1c3691){_0x1120a2=!![];}}if(_0x1120a2){return!![];}else{throw new Error({'statusCode':0x194,'message':_0x357e('0x6d')});}}})[_0x357e('0x1f')](respondWithResult(_0xfbe346,null))[_0x357e('0x29')](function(_0x5e5aca){var _0x58074b=_0x1d526d[_0x357e('0x3f')][_0x357e('0x1b')]?0x1f4:_0x5e5aca[_0x357e('0x6e')]||0x1f4;logger['error'](_0x357e('0x6f'),_0x357e('0x64'),_0x58074b,JSON[_0x357e('0x70')](_0x5e5aca));delete _0x5e5aca[_0x357e('0x38')];if(_0x58074b===0x191){_0x58074b=0x190;}_0xfbe346['status'](_0x58074b)[_0x357e('0x71')](_0x1d526d[_0x357e('0x3f')]['test']?{'message':_0x357e('0x72'),'statusCode':_0x5e5aca[_0x357e('0x6e')]}:_0x5e5aca);});}; \ No newline at end of file diff --git a/server/api/intFreshsalesAccount/intFreshsalesAccount.model.js b/server/api/intFreshsalesAccount/intFreshsalesAccount.model.js index 31413ea..93959d9 100644 --- a/server/api/intFreshsalesAccount/intFreshsalesAccount.model.js +++ b/server/api/intFreshsalesAccount/intFreshsalesAccount.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x0c99=['FreshsalesAccount','int_freshsales_accounts','lodash','util','../../config/logger','moment','bluebird','request-promise','path','../../config/environment','./intFreshsalesAccount.attributes','../../components/integrations/configuration','define'];(function(_0x215715,_0x29a67a){var _0x20b1d3=function(_0xc0ebca){while(--_0xc0ebca){_0x215715['push'](_0x215715['shift']());}};_0x20b1d3(++_0x29a67a);}(_0x0c99,0x1af));var _0x90c9=function(_0x533e4e,_0x4eba54){_0x533e4e=_0x533e4e-0x0;var _0x1f14bb=_0x0c99[_0x533e4e];return _0x1f14bb;};'use strict';var _=require(_0x90c9('0x0'));var util=require(_0x90c9('0x1'));var logger=require(_0x90c9('0x2'))('api');var moment=require(_0x90c9('0x3'));var BPromise=require(_0x90c9('0x4'));var rp=require(_0x90c9('0x5'));var fs=require('fs');var path=require(_0x90c9('0x6'));var rimraf=require('rimraf');var config=require(_0x90c9('0x7'));var attributes=require(_0x90c9('0x8'));var integrations=require(_0x90c9('0x9'));module['exports']=function(_0x561f78,_0x3a43c0){return _0x561f78[_0x90c9('0xa')](_0x90c9('0xb'),attributes,{'tableName':_0x90c9('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0x3e82=['request-promise','path','rimraf','../../config/environment','./intFreshsalesAccount.attributes','../../components/integrations/configuration','exports','define','FreshsalesAccount','int_freshsales_accounts','lodash','util','../../config/logger','api','moment','bluebird'];(function(_0x3bb7a4,_0x3e670e){var _0xdad970=function(_0x2c2414){while(--_0x2c2414){_0x3bb7a4['push'](_0x3bb7a4['shift']());}};_0xdad970(++_0x3e670e);}(_0x3e82,0x18a));var _0x23e8=function(_0xfae23b,_0x2be4ba){_0xfae23b=_0xfae23b-0x0;var _0x200640=_0x3e82[_0xfae23b];return _0x200640;};'use strict';var _=require(_0x23e8('0x0'));var util=require(_0x23e8('0x1'));var logger=require(_0x23e8('0x2'))(_0x23e8('0x3'));var moment=require(_0x23e8('0x4'));var BPromise=require(_0x23e8('0x5'));var rp=require(_0x23e8('0x6'));var fs=require('fs');var path=require(_0x23e8('0x7'));var rimraf=require(_0x23e8('0x8'));var config=require(_0x23e8('0x9'));var attributes=require(_0x23e8('0xa'));var integrations=require(_0x23e8('0xb'));module[_0x23e8('0xc')]=function(_0x5742ac,_0x29effc){return _0x5742ac[_0x23e8('0xd')](_0x23e8('0xe'),attributes,{'tableName':_0x23e8('0xf'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/intFreshsalesAccount/intFreshsalesAccount.rpc.js b/server/api/intFreshsalesAccount/intFreshsalesAccount.rpc.js index 32e34fe..263e4c1 100644 --- a/server/api/intFreshsalesAccount/intFreshsalesAccount.rpc.js +++ b/server/api/intFreshsalesAccount/intFreshsalesAccount.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xde1a=['../../config/utils','../../config/logger','../../config/environment','jayson/promise','client','http','request','then','info','FreshsalesAccount,\x20%s,\x20%s','request\x20sent','FreshsalesAccount,\x20%s,\x20%s,\x20%s','error','code','message','result','catch','GetFreshsalesAccount','FreshsalesAccount','findAll','options','raw','attributes','limit','include','map','model','stringify','ShowFreshsalesAccount','find','where','util','moment','bluebird','randomstring','ioredis','../../mysqldb'];(function(_0x72530,_0x5bdd9f){var _0x4897c9=function(_0x1311c3){while(--_0x1311c3){_0x72530['push'](_0x72530['shift']());}};_0x4897c9(++_0x5bdd9f);}(_0xde1a,0xfd));var _0xade1=function(_0x4ddf83,_0x1431ee){_0x4ddf83=_0x4ddf83-0x0;var _0x31d185=_0xde1a[_0x4ddf83];return _0x31d185;};'use strict';var _=require('lodash');var util=require(_0xade1('0x0'));var moment=require(_0xade1('0x1'));var BPromise=require(_0xade1('0x2'));var rs=require(_0xade1('0x3'));var fs=require('fs');var Redis=require(_0xade1('0x4'));var db=require(_0xade1('0x5'))['db'];var utils=require(_0xade1('0x6'));var logger=require(_0xade1('0x7'))('rpc');var config=require(_0xade1('0x8'));var jayson=require(_0xade1('0x9'));var client=jayson[_0xade1('0xa')][_0xade1('0xb')]({'port':0x232a});function respondWithRpcPromise(_0x3be6d5,_0x15e325,_0x5eb992){return new BPromise(function(_0x3a24e7,_0x41d069){return client[_0xade1('0xc')](_0x3be6d5,_0x5eb992)[_0xade1('0xd')](function(_0x120f47){logger[_0xade1('0xe')](_0xade1('0xf'),_0x15e325,_0xade1('0x10'));logger['debug'](_0xade1('0x11'),_0x15e325,_0xade1('0x10'),JSON['stringify'](_0x120f47));if(_0x120f47[_0xade1('0x12')]){if(_0x120f47[_0xade1('0x12')][_0xade1('0x13')]===0x1f4){logger['error'](_0xade1('0xf'),_0x15e325,_0x120f47[_0xade1('0x12')][_0xade1('0x14')]);return _0x41d069(_0x120f47[_0xade1('0x12')][_0xade1('0x14')]);}logger[_0xade1('0x12')]('FreshsalesAccount,\x20%s,\x20%s',_0x15e325,_0x120f47[_0xade1('0x12')][_0xade1('0x14')]);return _0x3a24e7(_0x120f47[_0xade1('0x12')][_0xade1('0x14')]);}else{logger[_0xade1('0xe')]('FreshsalesAccount,\x20%s,\x20%s',_0x15e325,_0xade1('0x10'));_0x3a24e7(_0x120f47[_0xade1('0x15')][_0xade1('0x14')]);}})[_0xade1('0x16')](function(_0x994e75){logger['error'](_0xade1('0xf'),_0x15e325,_0x994e75);_0x41d069(_0x994e75);});});}exports[_0xade1('0x17')]=function(_0x32e7ca){var _0x1600af=this;return new Promise(function(_0x321ee0,_0xd0fa40){return db[_0xade1('0x18')][_0xade1('0x19')]({'raw':_0x32e7ca[_0xade1('0x1a')]?_0x32e7ca[_0xade1('0x1a')][_0xade1('0x1b')]===undefined?!![]:![]:!![],'where':_0x32e7ca[_0xade1('0x1a')]?_0x32e7ca['options']['where']||null:null,'attributes':_0x32e7ca[_0xade1('0x1a')]?_0x32e7ca[_0xade1('0x1a')][_0xade1('0x1c')]||null:null,'limit':_0x32e7ca[_0xade1('0x1a')]?_0x32e7ca[_0xade1('0x1a')][_0xade1('0x1d')]||null:null,'include':_0x32e7ca[_0xade1('0x1a')]?_0x32e7ca[_0xade1('0x1a')][_0xade1('0x1e')]?_[_0xade1('0x1f')](_0x32e7ca[_0xade1('0x1a')]['include'],function(_0x6260d3){return{'model':db[_0x6260d3['model']],'as':_0x6260d3['as'],'attributes':_0x6260d3[_0xade1('0x1c')],'include':_0x6260d3['include']?_[_0xade1('0x1f')](_0x6260d3[_0xade1('0x1e')],function(_0x183fa2){return{'model':db[_0x183fa2[_0xade1('0x20')]],'as':_0x183fa2['as'],'attributes':_0x183fa2[_0xade1('0x1c')],'include':_0x183fa2[_0xade1('0x1e')]?_[_0xade1('0x1f')](_0x183fa2['include'],function(_0x101f75){return{'model':db[_0x101f75[_0xade1('0x20')]],'as':_0x101f75['as'],'attributes':_0x101f75['attributes']};}):[]};}):[]};}):[]:[]})['then'](function(_0x38dd9f){logger[_0xade1('0xe')]('GetFreshsalesAccount',_0x32e7ca);logger['debug'](_0xade1('0x17'),_0x32e7ca,JSON[_0xade1('0x21')](_0x38dd9f));_0x321ee0(_0x38dd9f);})[_0xade1('0x16')](function(_0x51d9e7){logger[_0xade1('0x12')](_0xade1('0x17'),_0x51d9e7['message'],_0x32e7ca);_0xd0fa40(_0x1600af['error'](0x1f4,_0x51d9e7['message']));});});};exports[_0xade1('0x22')]=function(_0x1a089e){var _0x78042e=this;return new Promise(function(_0x417cdf,_0xb7876f){return db[_0xade1('0x18')][_0xade1('0x23')]({'raw':_0x1a089e[_0xade1('0x1a')]?_0x1a089e[_0xade1('0x1a')]['raw']===undefined?!![]:![]:!![],'where':_0x1a089e[_0xade1('0x1a')]?_0x1a089e[_0xade1('0x1a')][_0xade1('0x24')]||null:null,'attributes':_0x1a089e['options']?_0x1a089e[_0xade1('0x1a')][_0xade1('0x1c')]||null:null,'include':_0x1a089e[_0xade1('0x1a')]?_0x1a089e['options'][_0xade1('0x1e')]?_[_0xade1('0x1f')](_0x1a089e[_0xade1('0x1a')][_0xade1('0x1e')],function(_0x1f0f0d){return{'model':db[_0x1f0f0d['model']],'as':_0x1f0f0d['as'],'attributes':_0x1f0f0d[_0xade1('0x1c')],'include':_0x1f0f0d[_0xade1('0x1e')]?_[_0xade1('0x1f')](_0x1f0f0d['include'],function(_0x1d67ba){return{'model':db[_0x1d67ba[_0xade1('0x20')]],'as':_0x1d67ba['as'],'attributes':_0x1d67ba[_0xade1('0x1c')],'include':_0x1d67ba[_0xade1('0x1e')]?_[_0xade1('0x1f')](_0x1d67ba[_0xade1('0x1e')],function(_0x22dba3){return{'model':db[_0x22dba3[_0xade1('0x20')]],'as':_0x22dba3['as'],'attributes':_0x22dba3[_0xade1('0x1c')]};}):[]};}):[]};}):[]:[]})[_0xade1('0xd')](function(_0x2e78a6){logger[_0xade1('0xe')]('ShowFreshsalesAccount',_0x1a089e);logger['debug'](_0xade1('0x22'),_0x1a089e,JSON[_0xade1('0x21')](_0x2e78a6));_0x417cdf(_0x2e78a6);})[_0xade1('0x16')](function(_0x23f9f8){logger['error'](_0xade1('0x22'),_0x23f9f8['message'],_0x1a089e);_0xb7876f(_0x78042e['error'](0x1f4,_0x23f9f8[_0xade1('0x14')]));});});}; \ No newline at end of file +var _0x3914=['info','FreshsalesAccount,\x20%s,\x20%s','debug','FreshsalesAccount,\x20%s,\x20%s,\x20%s','request\x20sent','stringify','error','code','message','result','catch','GetFreshsalesAccount','FreshsalesAccount','findAll','options','raw','where','limit','include','map','model','ShowFreshsalesAccount','find','attributes','then','lodash','util','bluebird','randomstring','../../mysqldb','../../config/utils','../../config/logger','../../config/environment','jayson/promise','http'];(function(_0x3cb29e,_0x18685c){var _0x578d7e=function(_0x2024fb){while(--_0x2024fb){_0x3cb29e['push'](_0x3cb29e['shift']());}};_0x578d7e(++_0x18685c);}(_0x3914,0xeb));var _0x4391=function(_0x4a96d2,_0x689504){_0x4a96d2=_0x4a96d2-0x0;var _0x38af04=_0x3914[_0x4a96d2];return _0x38af04;};'use strict';var _=require(_0x4391('0x0'));var util=require(_0x4391('0x1'));var moment=require('moment');var BPromise=require(_0x4391('0x2'));var rs=require(_0x4391('0x3'));var fs=require('fs');var Redis=require('ioredis');var db=require(_0x4391('0x4'))['db'];var utils=require(_0x4391('0x5'));var logger=require(_0x4391('0x6'))('rpc');var config=require(_0x4391('0x7'));var jayson=require(_0x4391('0x8'));var client=jayson['client'][_0x4391('0x9')]({'port':0x232a});function respondWithRpcPromise(_0x49819d,_0x4733a2,_0x5c32ac){return new BPromise(function(_0x378c09,_0x17bcfb){return client['request'](_0x49819d,_0x5c32ac)['then'](function(_0x3d6693){logger[_0x4391('0xa')](_0x4391('0xb'),_0x4733a2,'request\x20sent');logger[_0x4391('0xc')](_0x4391('0xd'),_0x4733a2,_0x4391('0xe'),JSON[_0x4391('0xf')](_0x3d6693));if(_0x3d6693['error']){if(_0x3d6693[_0x4391('0x10')][_0x4391('0x11')]===0x1f4){logger[_0x4391('0x10')](_0x4391('0xb'),_0x4733a2,_0x3d6693[_0x4391('0x10')][_0x4391('0x12')]);return _0x17bcfb(_0x3d6693[_0x4391('0x10')][_0x4391('0x12')]);}logger['error'](_0x4391('0xb'),_0x4733a2,_0x3d6693[_0x4391('0x10')][_0x4391('0x12')]);return _0x378c09(_0x3d6693[_0x4391('0x10')]['message']);}else{logger[_0x4391('0xa')]('FreshsalesAccount,\x20%s,\x20%s',_0x4733a2,_0x4391('0xe'));_0x378c09(_0x3d6693[_0x4391('0x13')][_0x4391('0x12')]);}})[_0x4391('0x14')](function(_0x2a79a4){logger[_0x4391('0x10')](_0x4391('0xb'),_0x4733a2,_0x2a79a4);_0x17bcfb(_0x2a79a4);});});}exports[_0x4391('0x15')]=function(_0x58a311){var _0x4cfa6b=this;return new Promise(function(_0x2ecb23,_0x4da0b0){return db[_0x4391('0x16')][_0x4391('0x17')]({'raw':_0x58a311[_0x4391('0x18')]?_0x58a311[_0x4391('0x18')][_0x4391('0x19')]===undefined?!![]:![]:!![],'where':_0x58a311['options']?_0x58a311['options'][_0x4391('0x1a')]||null:null,'attributes':_0x58a311[_0x4391('0x18')]?_0x58a311[_0x4391('0x18')]['attributes']||null:null,'limit':_0x58a311[_0x4391('0x18')]?_0x58a311[_0x4391('0x18')][_0x4391('0x1b')]||null:null,'include':_0x58a311[_0x4391('0x18')]?_0x58a311['options'][_0x4391('0x1c')]?_[_0x4391('0x1d')](_0x58a311[_0x4391('0x18')][_0x4391('0x1c')],function(_0x24e16c){return{'model':db[_0x24e16c[_0x4391('0x1e')]],'as':_0x24e16c['as'],'attributes':_0x24e16c['attributes'],'include':_0x24e16c[_0x4391('0x1c')]?_[_0x4391('0x1d')](_0x24e16c[_0x4391('0x1c')],function(_0x333ca6){return{'model':db[_0x333ca6['model']],'as':_0x333ca6['as'],'attributes':_0x333ca6['attributes'],'include':_0x333ca6[_0x4391('0x1c')]?_[_0x4391('0x1d')](_0x333ca6[_0x4391('0x1c')],function(_0x197408){return{'model':db[_0x197408[_0x4391('0x1e')]],'as':_0x197408['as'],'attributes':_0x197408['attributes']};}):[]};}):[]};}):[]:[]})['then'](function(_0x4ee253){logger['info'](_0x4391('0x15'),_0x58a311);logger[_0x4391('0xc')](_0x4391('0x15'),_0x58a311,JSON[_0x4391('0xf')](_0x4ee253));_0x2ecb23(_0x4ee253);})['catch'](function(_0x34059f){logger[_0x4391('0x10')](_0x4391('0x15'),_0x34059f[_0x4391('0x12')],_0x58a311);_0x4da0b0(_0x4cfa6b[_0x4391('0x10')](0x1f4,_0x34059f['message']));});});};exports[_0x4391('0x1f')]=function(_0x3edb24){var _0x19b5d1=this;return new Promise(function(_0x2b5a06,_0x237d61){return db[_0x4391('0x16')][_0x4391('0x20')]({'raw':_0x3edb24[_0x4391('0x18')]?_0x3edb24[_0x4391('0x18')][_0x4391('0x19')]===undefined?!![]:![]:!![],'where':_0x3edb24[_0x4391('0x18')]?_0x3edb24['options'][_0x4391('0x1a')]||null:null,'attributes':_0x3edb24['options']?_0x3edb24[_0x4391('0x18')]['attributes']||null:null,'include':_0x3edb24['options']?_0x3edb24[_0x4391('0x18')][_0x4391('0x1c')]?_[_0x4391('0x1d')](_0x3edb24[_0x4391('0x18')][_0x4391('0x1c')],function(_0x3fca2a){return{'model':db[_0x3fca2a[_0x4391('0x1e')]],'as':_0x3fca2a['as'],'attributes':_0x3fca2a['attributes'],'include':_0x3fca2a[_0x4391('0x1c')]?_['map'](_0x3fca2a[_0x4391('0x1c')],function(_0x5c58d0){return{'model':db[_0x5c58d0[_0x4391('0x1e')]],'as':_0x5c58d0['as'],'attributes':_0x5c58d0[_0x4391('0x21')],'include':_0x5c58d0[_0x4391('0x1c')]?_[_0x4391('0x1d')](_0x5c58d0[_0x4391('0x1c')],function(_0x4696c8){return{'model':db[_0x4696c8[_0x4391('0x1e')]],'as':_0x4696c8['as'],'attributes':_0x4696c8[_0x4391('0x21')]};}):[]};}):[]};}):[]:[]})[_0x4391('0x22')](function(_0x1b4fab){logger[_0x4391('0xa')](_0x4391('0x1f'),_0x3edb24);logger[_0x4391('0xc')](_0x4391('0x1f'),_0x3edb24,JSON[_0x4391('0xf')](_0x1b4fab));_0x2b5a06(_0x1b4fab);})[_0x4391('0x14')](function(_0x7f513a){logger[_0x4391('0x10')]('ShowFreshsalesAccount',_0x7f513a['message'],_0x3edb24);_0x237d61(_0x19b5d1[_0x4391('0x10')](0x1f4,_0x7f513a[_0x4391('0x12')]));});});}; \ No newline at end of file diff --git a/server/api/intFreshsalesConfiguration/index.js b/server/api/intFreshsalesConfiguration/index.js index 9f5f0c0..2d25715 100644 --- a/server/api/intFreshsalesConfiguration/index.js +++ b/server/api/intFreshsalesConfiguration/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x5e67=['isAuthenticated','index','/:id','/:id/subjects','getSubjects','/:id/descriptions','getDescriptions','/:id/fields','getFields','post','create','update','delete','destroy','exports','util','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get'];(function(_0x5d939b,_0x293cdd){var _0x2784d8=function(_0x325c0c){while(--_0x325c0c){_0x5d939b['push'](_0x5d939b['shift']());}};_0x2784d8(++_0x293cdd);}(_0x5e67,0x1db));var _0x75e6=function(_0x5b545c,_0xf20df1){_0x5b545c=_0x5b545c-0x0;var _0x182d72=_0x5e67[_0x5b545c];return _0x182d72;};'use strict';var multer=require('multer');var util=require(_0x75e6('0x0'));var path=require('path');var timeout=require(_0x75e6('0x1'));var express=require(_0x75e6('0x2'));var router=express[_0x75e6('0x3')]();var auth=require(_0x75e6('0x4'));var interaction=require(_0x75e6('0x5'));var config=require(_0x75e6('0x6'));var controller=require('./intFreshsalesConfiguration.controller');router[_0x75e6('0x7')]('/',auth[_0x75e6('0x8')](),controller[_0x75e6('0x9')]);router[_0x75e6('0x7')](_0x75e6('0xa'),auth[_0x75e6('0x8')](),controller['show']);router[_0x75e6('0x7')](_0x75e6('0xb'),auth['isAuthenticated'](),controller[_0x75e6('0xc')]);router[_0x75e6('0x7')](_0x75e6('0xd'),auth[_0x75e6('0x8')](),controller[_0x75e6('0xe')]);router[_0x75e6('0x7')](_0x75e6('0xf'),auth[_0x75e6('0x8')](),controller[_0x75e6('0x10')]);router[_0x75e6('0x11')]('/',auth[_0x75e6('0x8')](),controller[_0x75e6('0x12')]);router['put'](_0x75e6('0xa'),auth['isAuthenticated'](),controller[_0x75e6('0x13')]);router[_0x75e6('0x14')]('/:id',auth['isAuthenticated'](),controller[_0x75e6('0x15')]);module[_0x75e6('0x16')]=router; \ No newline at end of file +var _0xaee1=['./intFreshsalesConfiguration.controller','isAuthenticated','index','get','/:id','show','getSubjects','/:id/descriptions','getDescriptions','getFields','create','update','destroy','exports','multer','util','express','Router','../../components/auth/service','../../components/interaction/service'];(function(_0x20c49f,_0x20d1e0){var _0x4f8094=function(_0x1c5406){while(--_0x1c5406){_0x20c49f['push'](_0x20c49f['shift']());}};_0x4f8094(++_0x20d1e0);}(_0xaee1,0x9a));var _0x1aee=function(_0x1c6df9,_0x3078e6){_0x1c6df9=_0x1c6df9-0x0;var _0x310bb0=_0xaee1[_0x1c6df9];return _0x310bb0;};'use strict';var multer=require(_0x1aee('0x0'));var util=require(_0x1aee('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x1aee('0x2'));var router=express[_0x1aee('0x3')]();var auth=require(_0x1aee('0x4'));var interaction=require(_0x1aee('0x5'));var config=require('../../config/environment');var controller=require(_0x1aee('0x6'));router['get']('/',auth[_0x1aee('0x7')](),controller[_0x1aee('0x8')]);router[_0x1aee('0x9')](_0x1aee('0xa'),auth[_0x1aee('0x7')](),controller[_0x1aee('0xb')]);router['get']('/:id/subjects',auth[_0x1aee('0x7')](),controller[_0x1aee('0xc')]);router[_0x1aee('0x9')](_0x1aee('0xd'),auth[_0x1aee('0x7')](),controller[_0x1aee('0xe')]);router[_0x1aee('0x9')]('/:id/fields',auth[_0x1aee('0x7')](),controller[_0x1aee('0xf')]);router['post']('/',auth[_0x1aee('0x7')](),controller[_0x1aee('0x10')]);router['put'](_0x1aee('0xa'),auth[_0x1aee('0x7')](),controller[_0x1aee('0x11')]);router['delete'](_0x1aee('0xa'),auth[_0x1aee('0x7')](),controller[_0x1aee('0x12')]);module[_0x1aee('0x13')]=router; \ No newline at end of file diff --git a/server/api/intFreshsalesConfiguration/intFreshsalesConfiguration.attributes.js b/server/api/intFreshsalesConfiguration/intFreshsalesConfiguration.attributes.js index 7375451..e34d0b8 100644 --- a/server/api/intFreshsalesConfiguration/intFreshsalesConfiguration.attributes.js +++ b/server/api/intFreshsalesConfiguration/intFreshsalesConfiguration.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xdcb4=['STRING','sequelize','exports'];(function(_0x30fd21,_0x243160){var _0x9b474a=function(_0x20f2b2){while(--_0x20f2b2){_0x30fd21['push'](_0x30fd21['shift']());}};_0x9b474a(++_0x243160);}(_0xdcb4,0x17b));var _0x4dcb=function(_0x5a423c,_0x520993){_0x5a423c=_0x5a423c-0x0;var _0x2bcdd8=_0xdcb4[_0x5a423c];return _0x2bcdd8;};'use strict';var Sequelize=require(_0x4dcb('0x0'));module[_0x4dcb('0x1')]={'name':{'type':Sequelize[_0x4dcb('0x2')]},'description':{'type':Sequelize[_0x4dcb('0x2')]}}; \ No newline at end of file +var _0x871f=['STRING'];(function(_0x2fbd4b,_0x2cf0b1){var _0x360539=function(_0x624ccb){while(--_0x624ccb){_0x2fbd4b['push'](_0x2fbd4b['shift']());}};_0x360539(++_0x2cf0b1);}(_0x871f,0x13c));var _0xf871=function(_0x394447,_0x26abfe){_0x394447=_0x394447-0x0;var _0x4bba48=_0x871f[_0x394447];return _0x4bba48;};'use strict';var Sequelize=require('sequelize');module['exports']={'name':{'type':Sequelize[_0xf871('0x0')]},'description':{'type':Sequelize[_0xf871('0x0')]}}; \ No newline at end of file diff --git a/server/api/intFreshsalesConfiguration/intFreshsalesConfiguration.controller.js b/server/api/intFreshsalesConfiguration/intFreshsalesConfiguration.controller.js index 76ad152..578d082 100644 --- a/server/api/intFreshsalesConfiguration/intFreshsalesConfiguration.controller.js +++ b/server/api/intFreshsalesConfiguration/intFreshsalesConfiguration.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x2249=['result','catch','sendStatus','status','end','json','count','offset','limit','set','Content-Range','apply','reject','save','update','destroy','stack','name','send','index','map','FreshsalesConfiguration','rawAttributes','fieldName','type','key','model','query','keys','filters','intersection','attributes','fields','length','hasOwnProperty','nolimit','sort','where','pick','merge','VIRTUAL','filter','includeAll','include','findAll','rows','show','params','options','create','body','find','getSubjects','getDescriptions','FreshsalesField','order','getFields','findOne','html-pdf','eml-format','zip-dir','fast-json-patch','request-promise','moment','bluebird','mustache','path','sox','to-csv','ejs','lodash','squel','crypto','jsforce','desk.js','querystring','papaparse','ioredis','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','api','../../config/environment','jayson/promise','http','test','Sequelize','ValidationError','The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.','then','info','FreshsalesConfiguration,\x20%s,\x20%s','request\x20sent','debug','FreshsalesConfiguration,\x20%s,\x20%s,\x20%s','stringify','error','code','message'];(function(_0x4b369d,_0x265eb8){var _0x571a98=function(_0x56341a){while(--_0x56341a){_0x4b369d['push'](_0x4b369d['shift']());}};_0x571a98(++_0x265eb8);}(_0x2249,0x9d));var _0x9224=function(_0x267c52,_0x3c0df3){_0x267c52=_0x267c52-0x0;var _0x46c47b=_0x2249[_0x267c52];return _0x46c47b;};'use strict';var pdf=require(_0x9224('0x0'));var emlformat=require(_0x9224('0x1'));var rimraf=require('rimraf');var zipdir=require(_0x9224('0x2'));var jsonpatch=require(_0x9224('0x3'));var rp=require(_0x9224('0x4'));var moment=require(_0x9224('0x5'));var BPromise=require(_0x9224('0x6'));var Mustache=require(_0x9224('0x7'));var util=require('util');var path=require(_0x9224('0x8'));var sox=require(_0x9224('0x9'));var csv=require(_0x9224('0xa'));var ejs=require(_0x9224('0xb'));var fs=require('fs');var _=require(_0x9224('0xc'));var squel=require(_0x9224('0xd'));var crypto=require(_0x9224('0xe'));var jsforce=require(_0x9224('0xf'));var deskjs=require(_0x9224('0x10'));var toCsv=require('to-csv');var querystring=require(_0x9224('0x11'));var Papa=require(_0x9224('0x12'));var Redis=require(_0x9224('0x13'));var authService=require('../../components/auth/service');var qs=require(_0x9224('0x14'));var as=require(_0x9224('0x15'));var hardwareService=require(_0x9224('0x16'));var logger=require('../../config/logger')(_0x9224('0x17'));var utils=require('../../config/utils');var config=require(_0x9224('0x18'));var db=require('../../mysqldb')['db'];var jayson=require(_0x9224('0x19'));var client=jayson['client'][_0x9224('0x1a')]({'port':0x232a});function checkPasswordPattern(_0x16185f,_0x13c825,_0x3372fc){if(_0x3372fc){var _0x2401f0=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0x2401f0[_0x9224('0x1b')](_0x13c825)){return _0x16185f;}else{throw new db[(_0x9224('0x1c'))][(_0x9224('0x1d'))](_0x9224('0x1e'));}}else{return _0x16185f;}}function respondWithRpcPromise(_0x6e8dfe,_0x49866a,_0x3897f1,_0x2c8809){return new BPromise(function(_0x33b47a,_0x3a97fb){var _0x585248=_0x2c8809||client;return _0x585248['request'](_0x6e8dfe,_0x3897f1)[_0x9224('0x1f')](function(_0x56a00e){logger[_0x9224('0x20')](_0x9224('0x21'),_0x49866a,_0x9224('0x22'));logger[_0x9224('0x23')](_0x9224('0x24'),_0x49866a,_0x9224('0x22'),JSON[_0x9224('0x25')](_0x56a00e));if(_0x56a00e[_0x9224('0x26')]){if(_0x56a00e[_0x9224('0x26')][_0x9224('0x27')]===0x1f4){logger[_0x9224('0x26')](_0x9224('0x21'),_0x49866a,_0x56a00e[_0x9224('0x26')][_0x9224('0x28')]);return _0x3a97fb(_0x56a00e[_0x9224('0x26')][_0x9224('0x28')]);}logger[_0x9224('0x26')](_0x9224('0x21'),_0x49866a,_0x56a00e[_0x9224('0x26')]['message']);return _0x33b47a(_0x56a00e[_0x9224('0x26')][_0x9224('0x28')]);}else{logger[_0x9224('0x20')](_0x9224('0x21'),_0x49866a,_0x9224('0x22'));_0x33b47a(_0x56a00e[_0x9224('0x29')]['message']);}})[_0x9224('0x2a')](function(_0x33668c){logger[_0x9224('0x26')](_0x9224('0x21'),_0x49866a,_0x33668c);_0x3a97fb(_0x33668c);});});}function respondWithStatusCode(_0x2dc419,_0x3fac26){_0x3fac26=_0x3fac26||0xcc;return function(_0x5f2502){if(_0x5f2502){return _0x2dc419[_0x9224('0x2b')](_0x3fac26);}return _0x2dc419[_0x9224('0x2c')](_0x3fac26)[_0x9224('0x2d')]();};}function respondWithResult(_0x2d16d3,_0x2464a4){_0x2464a4=_0x2464a4||0xc8;return function(_0x288810){if(_0x288810){return _0x2d16d3['status'](_0x2464a4)[_0x9224('0x2e')](_0x288810);}};}function respondWithFilteredResult(_0x216f41,_0x3b6293){return function(_0x5c4854){if(_0x5c4854){var _0x575a28=_0x5c4854[_0x9224('0x2f')],_0x5b34e3=_0x3b6293[_0x9224('0x30')],_0x21094b=_0x3b6293[_0x9224('0x30')]+_0x3b6293[_0x9224('0x31')],_0x3b89e0;if(_0x21094b>=_0x575a28){_0x21094b=_0x575a28;_0x3b89e0=0xc8;}else{_0x3b89e0=0xce;}_0x216f41[_0x9224('0x2c')](_0x3b89e0);return _0x216f41[_0x9224('0x32')](_0x9224('0x33'),_0x5b34e3+'-'+_0x21094b+'/'+_0x575a28)[_0x9224('0x2e')](_0x5c4854);}return null;};}function patchUpdates(_0x171960){return function(_0x5aeed6){try{jsonpatch[_0x9224('0x34')](_0x5aeed6,_0x171960,!![]);}catch(_0x3ff670){return BPromise[_0x9224('0x35')](_0x3ff670);}return _0x5aeed6[_0x9224('0x36')]();};}function saveUpdates(_0x4d3f89,_0x767aad){return function(_0x3e70a1){if(_0x3e70a1){return _0x3e70a1[_0x9224('0x37')](_0x4d3f89)[_0x9224('0x1f')](function(_0x22f64f){return _0x22f64f;});}return null;};}function removeEntity(_0x531749,_0x57f449){return function(_0x928788){if(_0x928788){return _0x928788[_0x9224('0x38')]()[_0x9224('0x1f')](function(){_0x531749[_0x9224('0x2c')](0xcc)['end']();});}};}function handleEntityNotFound(_0x14b8f4,_0x398257){return function(_0x1f42d7){if(!_0x1f42d7){_0x14b8f4[_0x9224('0x2b')](0x194);}return _0x1f42d7;};}function handleError(_0x16143a,_0x4362b0){_0x4362b0=_0x4362b0||0x1f4;return function(_0xce2969){logger[_0x9224('0x26')](_0xce2969[_0x9224('0x39')]);if(_0xce2969[_0x9224('0x3a')]){delete _0xce2969['name'];}_0x16143a[_0x9224('0x2c')](_0x4362b0)[_0x9224('0x3b')](_0xce2969);};}exports[_0x9224('0x3c')]=function(_0x179003,_0x56dbfe){var _0x5901fa={},_0x13d7c4={},_0x1e3392={'count':0x0,'rows':[]};var _0x1dee13=_[_0x9224('0x3d')](db[_0x9224('0x3e')][_0x9224('0x3f')],function(_0x103dc9){return{'name':_0x103dc9[_0x9224('0x40')],'type':_0x103dc9[_0x9224('0x41')][_0x9224('0x42')]};});_0x13d7c4[_0x9224('0x43')]=_['map'](_0x1dee13,_0x9224('0x3a'));_0x13d7c4[_0x9224('0x44')]=_[_0x9224('0x45')](_0x179003[_0x9224('0x44')]);_0x13d7c4[_0x9224('0x46')]=_[_0x9224('0x47')](_0x13d7c4['model'],_0x13d7c4[_0x9224('0x44')]);_0x5901fa[_0x9224('0x48')]=_[_0x9224('0x47')](_0x13d7c4[_0x9224('0x43')],qs['fields'](_0x179003['query'][_0x9224('0x49')]));_0x5901fa[_0x9224('0x48')]=_0x5901fa[_0x9224('0x48')][_0x9224('0x4a')]?_0x5901fa[_0x9224('0x48')]:_0x13d7c4['model'];if(!_0x179003[_0x9224('0x44')][_0x9224('0x4b')](_0x9224('0x4c'))){_0x5901fa[_0x9224('0x31')]=qs['limit'](_0x179003['query'][_0x9224('0x31')]);_0x5901fa[_0x9224('0x30')]=qs[_0x9224('0x30')](_0x179003[_0x9224('0x44')][_0x9224('0x30')]);}_0x5901fa['order']=qs['sort'](_0x179003['query'][_0x9224('0x4d')]);_0x5901fa[_0x9224('0x4e')]=qs[_0x9224('0x46')](_[_0x9224('0x4f')](_0x179003[_0x9224('0x44')],_0x13d7c4[_0x9224('0x46')]),_0x1dee13);if(_0x179003['query']['filter']){_0x5901fa[_0x9224('0x4e')]=_[_0x9224('0x50')](_0x5901fa[_0x9224('0x4e')],{'$or':_[_0x9224('0x3d')](_0x1dee13,function(_0x43de51){if(_0x43de51['type']!==_0x9224('0x51')){var _0xab77af={};_0xab77af[_0x43de51[_0x9224('0x3a')]]={'$like':'%'+_0x179003[_0x9224('0x44')][_0x9224('0x52')]+'%'};return _0xab77af;}})});}_0x5901fa=_[_0x9224('0x50')]({},_0x5901fa,_0x179003['options']);var _0x487141={'where':_0x5901fa['where']};return db[_0x9224('0x3e')][_0x9224('0x2f')](_0x487141)['then'](function(_0x425650){_0x1e3392[_0x9224('0x2f')]=_0x425650;if(_0x179003['query'][_0x9224('0x53')]){_0x5901fa[_0x9224('0x54')]=[{'all':!![]}];}return db[_0x9224('0x3e')][_0x9224('0x55')](_0x5901fa);})[_0x9224('0x1f')](function(_0x3631f4){_0x1e3392[_0x9224('0x56')]=_0x3631f4;return _0x1e3392;})[_0x9224('0x1f')](respondWithFilteredResult(_0x56dbfe,_0x5901fa))[_0x9224('0x2a')](handleError(_0x56dbfe,null));};exports[_0x9224('0x57')]=function(_0x2d0f30,_0x2b4127){var _0x260f81={'raw':![],'where':{'id':_0x2d0f30[_0x9224('0x58')]['id']}},_0x164076={};_0x164076[_0x9224('0x43')]=_[_0x9224('0x45')](db[_0x9224('0x3e')][_0x9224('0x3f')]);_0x164076[_0x9224('0x44')]=_[_0x9224('0x45')](_0x2d0f30[_0x9224('0x44')]);_0x164076[_0x9224('0x46')]=_[_0x9224('0x47')](_0x164076[_0x9224('0x43')],_0x164076[_0x9224('0x44')]);_0x260f81[_0x9224('0x48')]=_[_0x9224('0x47')](_0x164076['model'],qs[_0x9224('0x49')](_0x2d0f30[_0x9224('0x44')][_0x9224('0x49')]));_0x260f81['attributes']=_0x260f81[_0x9224('0x48')][_0x9224('0x4a')]?_0x260f81['attributes']:_0x164076[_0x9224('0x43')];if(_0x2d0f30['query'][_0x9224('0x53')]){_0x260f81[_0x9224('0x54')]=[{'all':!![]}];}_0x260f81=_['merge']({},_0x260f81,_0x2d0f30[_0x9224('0x59')]);return db[_0x9224('0x3e')]['find'](_0x260f81)[_0x9224('0x1f')](handleEntityNotFound(_0x2b4127,null))['then'](respondWithResult(_0x2b4127,null))[_0x9224('0x2a')](handleError(_0x2b4127,null));};exports[_0x9224('0x5a')]=function(_0x50c697,_0x472f42){return db[_0x9224('0x3e')]['create'](_0x50c697[_0x9224('0x5b')],{})['then'](respondWithResult(_0x472f42,0xc9))[_0x9224('0x2a')](handleError(_0x472f42,null));};exports[_0x9224('0x37')]=function(_0x1c79fe,_0x1687a6){if(_0x1c79fe['body']['id']){delete _0x1c79fe[_0x9224('0x5b')]['id'];}return db[_0x9224('0x3e')][_0x9224('0x5c')]({'where':{'id':_0x1c79fe[_0x9224('0x58')]['id']}})[_0x9224('0x1f')](handleEntityNotFound(_0x1687a6,null))[_0x9224('0x1f')](saveUpdates(_0x1c79fe['body'],null))['then'](respondWithResult(_0x1687a6,null))[_0x9224('0x2a')](handleError(_0x1687a6,null));};exports[_0x9224('0x38')]=function(_0x2d0969,_0x1ceac0){return db[_0x9224('0x3e')]['find']({'where':{'id':_0x2d0969[_0x9224('0x58')]['id']}})[_0x9224('0x1f')](handleEntityNotFound(_0x1ceac0,null))[_0x9224('0x1f')](removeEntity(_0x1ceac0,null))[_0x9224('0x2a')](handleError(_0x1ceac0,null));};exports[_0x9224('0x5d')]=function(_0x156619,_0x33c000,_0x4c91b5){var _0x5c4a23={};var _0xa1a665={};var _0x341e19;var _0x5da446;return db[_0x9224('0x3e')]['findOne']({'where':{'id':_0x156619[_0x9224('0x58')]['id']}})['then'](handleEntityNotFound(_0x33c000,null))['then'](function(_0x1cda67){if(_0x1cda67){_0x341e19=_0x1cda67;_0xa1a665[_0x9224('0x43')]=_['keys'](db['FreshsalesField'][_0x9224('0x3f')]);_0xa1a665[_0x9224('0x44')]=_[_0x9224('0x45')](_0x156619[_0x9224('0x44')]);_0xa1a665[_0x9224('0x46')]=_['intersection'](_0xa1a665[_0x9224('0x43')],_0xa1a665[_0x9224('0x44')]);_0x5c4a23[_0x9224('0x48')]=_[_0x9224('0x47')](_0xa1a665[_0x9224('0x43')],qs[_0x9224('0x49')](_0x156619[_0x9224('0x44')][_0x9224('0x49')]));_0x5c4a23[_0x9224('0x48')]=_0x5c4a23[_0x9224('0x48')][_0x9224('0x4a')]?_0x5c4a23[_0x9224('0x48')]:_0xa1a665[_0x9224('0x43')];_0x5c4a23['order']=qs[_0x9224('0x4d')](_0x156619[_0x9224('0x44')][_0x9224('0x4d')]);_0x5c4a23[_0x9224('0x4e')]=qs[_0x9224('0x46')](_[_0x9224('0x4f')](_0x156619['query'],_0xa1a665[_0x9224('0x46')]));if(_0x156619[_0x9224('0x44')]['filter']){_0x5c4a23[_0x9224('0x4e')]=_[_0x9224('0x50')](_0x5c4a23[_0x9224('0x4e')],{'$or':_[_0x9224('0x3d')](_0x5c4a23[_0x9224('0x48')],function(_0x49e478){var _0x455073={};_0x455073[_0x49e478]={'$like':'%'+_0x156619['query'][_0x9224('0x52')]+'%'};return _0x455073;})});}_0x5c4a23=_[_0x9224('0x50')]({},_0x5c4a23,_0x156619[_0x9224('0x59')]);return _0x341e19[_0x9224('0x5d')](_0x5c4a23);}})['then'](function(_0x40094){if(_0x40094){_0x5da446=_0x40094[_0x9224('0x4a')];if(!_0x156619['query'][_0x9224('0x4b')](_0x9224('0x4c'))){_0x5c4a23[_0x9224('0x31')]=qs['limit'](_0x156619[_0x9224('0x44')]['limit']);_0x5c4a23[_0x9224('0x30')]=qs['offset'](_0x156619[_0x9224('0x44')][_0x9224('0x30')]);}return _0x341e19['getSubjects'](_0x5c4a23);}})['then'](function(_0x5e3c86){if(_0x5e3c86){return _0x5e3c86?{'count':_0x5da446,'rows':_0x5e3c86}:null;}})[_0x9224('0x1f')](respondWithResult(_0x33c000,null))['catch'](handleError(_0x33c000,null));};exports[_0x9224('0x5e')]=function(_0x1f3783,_0x172c5e,_0x39d90b){var _0x3a3263={};var _0x54f4be={};var _0x3bdb57;var _0x252b94;return db['FreshsalesConfiguration']['findOne']({'where':{'id':_0x1f3783[_0x9224('0x58')]['id']}})[_0x9224('0x1f')](handleEntityNotFound(_0x172c5e,null))['then'](function(_0x1dffc7){if(_0x1dffc7){_0x3bdb57=_0x1dffc7;_0x54f4be[_0x9224('0x43')]=_[_0x9224('0x45')](db[_0x9224('0x5f')][_0x9224('0x3f')]);_0x54f4be[_0x9224('0x44')]=_['keys'](_0x1f3783[_0x9224('0x44')]);_0x54f4be[_0x9224('0x46')]=_[_0x9224('0x47')](_0x54f4be[_0x9224('0x43')],_0x54f4be['query']);_0x3a3263[_0x9224('0x48')]=_[_0x9224('0x47')](_0x54f4be[_0x9224('0x43')],qs[_0x9224('0x49')](_0x1f3783[_0x9224('0x44')][_0x9224('0x49')]));_0x3a3263[_0x9224('0x48')]=_0x3a3263[_0x9224('0x48')][_0x9224('0x4a')]?_0x3a3263['attributes']:_0x54f4be[_0x9224('0x43')];_0x3a3263[_0x9224('0x60')]=qs[_0x9224('0x4d')](_0x1f3783[_0x9224('0x44')][_0x9224('0x4d')]);_0x3a3263[_0x9224('0x4e')]=qs['filters'](_[_0x9224('0x4f')](_0x1f3783['query'],_0x54f4be[_0x9224('0x46')]));if(_0x1f3783[_0x9224('0x44')]['filter']){_0x3a3263[_0x9224('0x4e')]=_[_0x9224('0x50')](_0x3a3263[_0x9224('0x4e')],{'$or':_[_0x9224('0x3d')](_0x3a3263['attributes'],function(_0x342388){var _0xf072ef={};_0xf072ef[_0x342388]={'$like':'%'+_0x1f3783[_0x9224('0x44')]['filter']+'%'};return _0xf072ef;})});}_0x3a3263=_['merge']({},_0x3a3263,_0x1f3783[_0x9224('0x59')]);return _0x3bdb57['getDescriptions'](_0x3a3263);}})[_0x9224('0x1f')](function(_0x14e2fe){if(_0x14e2fe){_0x252b94=_0x14e2fe[_0x9224('0x4a')];if(!_0x1f3783['query'][_0x9224('0x4b')]('nolimit')){_0x3a3263['limit']=qs[_0x9224('0x31')](_0x1f3783['query'][_0x9224('0x31')]);_0x3a3263[_0x9224('0x30')]=qs[_0x9224('0x30')](_0x1f3783['query']['offset']);}return _0x3bdb57['getDescriptions'](_0x3a3263);}})[_0x9224('0x1f')](function(_0x5dc826){if(_0x5dc826){return _0x5dc826?{'count':_0x252b94,'rows':_0x5dc826}:null;}})[_0x9224('0x1f')](respondWithResult(_0x172c5e,null))[_0x9224('0x2a')](handleError(_0x172c5e,null));};exports[_0x9224('0x61')]=function(_0xf58051,_0xb78fad,_0x16241a){var _0x32b8a7={};var _0x9fdc09={};var _0x392969;var _0x3e9adb;return db[_0x9224('0x3e')][_0x9224('0x62')]({'where':{'id':_0xf58051[_0x9224('0x58')]['id']}})[_0x9224('0x1f')](handleEntityNotFound(_0xb78fad,null))['then'](function(_0x4e1074){if(_0x4e1074){_0x392969=_0x4e1074;_0x9fdc09['model']=_[_0x9224('0x45')](db['FreshsalesField'][_0x9224('0x3f')]);_0x9fdc09[_0x9224('0x44')]=_['keys'](_0xf58051[_0x9224('0x44')]);_0x9fdc09[_0x9224('0x46')]=_['intersection'](_0x9fdc09['model'],_0x9fdc09[_0x9224('0x44')]);_0x32b8a7[_0x9224('0x48')]=_[_0x9224('0x47')](_0x9fdc09[_0x9224('0x43')],qs[_0x9224('0x49')](_0xf58051['query'][_0x9224('0x49')]));_0x32b8a7[_0x9224('0x48')]=_0x32b8a7['attributes'][_0x9224('0x4a')]?_0x32b8a7['attributes']:_0x9fdc09['model'];_0x32b8a7[_0x9224('0x60')]=qs[_0x9224('0x4d')](_0xf58051['query'][_0x9224('0x4d')]);_0x32b8a7[_0x9224('0x4e')]=qs[_0x9224('0x46')](_[_0x9224('0x4f')](_0xf58051['query'],_0x9fdc09[_0x9224('0x46')]));if(_0xf58051['query'][_0x9224('0x52')]){_0x32b8a7[_0x9224('0x4e')]=_['merge'](_0x32b8a7[_0x9224('0x4e')],{'$or':_[_0x9224('0x3d')](_0x32b8a7['attributes'],function(_0x452b3e){var _0x232981={};_0x232981[_0x452b3e]={'$like':'%'+_0xf58051[_0x9224('0x44')]['filter']+'%'};return _0x232981;})});}_0x32b8a7=_[_0x9224('0x50')]({},_0x32b8a7,_0xf58051[_0x9224('0x59')]);return _0x392969[_0x9224('0x61')](_0x32b8a7);}})[_0x9224('0x1f')](function(_0x505ac4){if(_0x505ac4){_0x3e9adb=_0x505ac4['length'];if(!_0xf58051[_0x9224('0x44')][_0x9224('0x4b')](_0x9224('0x4c'))){_0x32b8a7[_0x9224('0x31')]=qs[_0x9224('0x31')](_0xf58051[_0x9224('0x44')][_0x9224('0x31')]);_0x32b8a7[_0x9224('0x30')]=qs[_0x9224('0x30')](_0xf58051[_0x9224('0x44')][_0x9224('0x30')]);}return _0x392969[_0x9224('0x61')](_0x32b8a7);}})[_0x9224('0x1f')](function(_0x3bc684){if(_0x3bc684){return _0x3bc684?{'count':_0x3e9adb,'rows':_0x3bc684}:null;}})[_0x9224('0x1f')](respondWithResult(_0xb78fad,null))['catch'](handleError(_0xb78fad,null));}; \ No newline at end of file +var _0x8edd=['error','code','FreshsalesConfiguration,\x20%s,\x20%s','message','info','result','catch','sendStatus','status','json','count','offset','limit','set','Content-Range','apply','reject','update','destroy','end','stack','name','index','map','rawAttributes','fieldName','type','key','keys','query','intersection','attributes','model','fields','length','hasOwnProperty','nolimit','order','sort','where','filters','pick','filter','merge','options','includeAll','include','FreshsalesConfiguration','findAll','rows','params','find','create','body','getSubjects','findOne','FreshsalesField','getDescriptions','getFields','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','moment','bluebird','lodash','squel','crypto','jsforce','to-csv','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','jayson/promise','client','http','ValidationError','The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.','request','then','request\x20sent','FreshsalesConfiguration,\x20%s,\x20%s,\x20%s','stringify'];(function(_0xd13171,_0xc54453){var _0x452bd0=function(_0x3c0628){while(--_0x3c0628){_0xd13171['push'](_0xd13171['shift']());}};_0x452bd0(++_0xc54453);}(_0x8edd,0x98));var _0xd8ed=function(_0x17ea6d,_0x424d08){_0x17ea6d=_0x17ea6d-0x0;var _0xc3b159=_0x8edd[_0x17ea6d];return _0xc3b159;};'use strict';var pdf=require(_0xd8ed('0x0'));var emlformat=require(_0xd8ed('0x1'));var rimraf=require(_0xd8ed('0x2'));var zipdir=require(_0xd8ed('0x3'));var jsonpatch=require(_0xd8ed('0x4'));var rp=require('request-promise');var moment=require(_0xd8ed('0x5'));var BPromise=require(_0xd8ed('0x6'));var Mustache=require('mustache');var util=require('util');var path=require('path');var sox=require('sox');var csv=require('to-csv');var ejs=require('ejs');var fs=require('fs');var _=require(_0xd8ed('0x7'));var squel=require(_0xd8ed('0x8'));var crypto=require(_0xd8ed('0x9'));var jsforce=require(_0xd8ed('0xa'));var deskjs=require('desk.js');var toCsv=require(_0xd8ed('0xb'));var querystring=require(_0xd8ed('0xc'));var Papa=require(_0xd8ed('0xd'));var Redis=require(_0xd8ed('0xe'));var authService=require(_0xd8ed('0xf'));var qs=require(_0xd8ed('0x10'));var as=require(_0xd8ed('0x11'));var hardwareService=require(_0xd8ed('0x12'));var logger=require(_0xd8ed('0x13'))(_0xd8ed('0x14'));var utils=require(_0xd8ed('0x15'));var config=require(_0xd8ed('0x16'));var db=require(_0xd8ed('0x17'))['db'];var jayson=require(_0xd8ed('0x18'));var client=jayson[_0xd8ed('0x19')][_0xd8ed('0x1a')]({'port':0x232a});function checkPasswordPattern(_0x35678e,_0x3f2a77,_0xd4ebc5){if(_0xd4ebc5){var _0x2cd529=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0x2cd529['test'](_0x3f2a77)){return _0x35678e;}else{throw new db['Sequelize'][(_0xd8ed('0x1b'))](_0xd8ed('0x1c'));}}else{return _0x35678e;}}function respondWithRpcPromise(_0x18032f,_0x3027de,_0x2dbd1d,_0x1814e3){return new BPromise(function(_0x17f89a,_0x15e211){var _0x140f6d=_0x1814e3||client;return _0x140f6d[_0xd8ed('0x1d')](_0x18032f,_0x2dbd1d)[_0xd8ed('0x1e')](function(_0x24b5f6){logger['info']('FreshsalesConfiguration,\x20%s,\x20%s',_0x3027de,_0xd8ed('0x1f'));logger['debug'](_0xd8ed('0x20'),_0x3027de,_0xd8ed('0x1f'),JSON[_0xd8ed('0x21')](_0x24b5f6));if(_0x24b5f6[_0xd8ed('0x22')]){if(_0x24b5f6[_0xd8ed('0x22')][_0xd8ed('0x23')]===0x1f4){logger['error'](_0xd8ed('0x24'),_0x3027de,_0x24b5f6['error']['message']);return _0x15e211(_0x24b5f6['error'][_0xd8ed('0x25')]);}logger[_0xd8ed('0x22')](_0xd8ed('0x24'),_0x3027de,_0x24b5f6['error'][_0xd8ed('0x25')]);return _0x17f89a(_0x24b5f6[_0xd8ed('0x22')][_0xd8ed('0x25')]);}else{logger[_0xd8ed('0x26')](_0xd8ed('0x24'),_0x3027de,_0xd8ed('0x1f'));_0x17f89a(_0x24b5f6[_0xd8ed('0x27')][_0xd8ed('0x25')]);}})[_0xd8ed('0x28')](function(_0x2a5095){logger[_0xd8ed('0x22')](_0xd8ed('0x24'),_0x3027de,_0x2a5095);_0x15e211(_0x2a5095);});});}function respondWithStatusCode(_0x4d4a2e,_0x1a0cab){_0x1a0cab=_0x1a0cab||0xcc;return function(_0x30d52b){if(_0x30d52b){return _0x4d4a2e[_0xd8ed('0x29')](_0x1a0cab);}return _0x4d4a2e['status'](_0x1a0cab)['end']();};}function respondWithResult(_0x545743,_0x18d041){_0x18d041=_0x18d041||0xc8;return function(_0x585b66){if(_0x585b66){return _0x545743[_0xd8ed('0x2a')](_0x18d041)[_0xd8ed('0x2b')](_0x585b66);}};}function respondWithFilteredResult(_0x3c706e,_0x2beca4){return function(_0x37c249){if(_0x37c249){var _0x508a77=_0x37c249[_0xd8ed('0x2c')],_0x48b298=_0x2beca4[_0xd8ed('0x2d')],_0x5f050b=_0x2beca4[_0xd8ed('0x2d')]+_0x2beca4[_0xd8ed('0x2e')],_0x141edb;if(_0x5f050b>=_0x508a77){_0x5f050b=_0x508a77;_0x141edb=0xc8;}else{_0x141edb=0xce;}_0x3c706e['status'](_0x141edb);return _0x3c706e[_0xd8ed('0x2f')](_0xd8ed('0x30'),_0x48b298+'-'+_0x5f050b+'/'+_0x508a77)[_0xd8ed('0x2b')](_0x37c249);}return null;};}function patchUpdates(_0x215a9f){return function(_0x5ab589){try{jsonpatch[_0xd8ed('0x31')](_0x5ab589,_0x215a9f,!![]);}catch(_0x125b23){return BPromise[_0xd8ed('0x32')](_0x125b23);}return _0x5ab589['save']();};}function saveUpdates(_0x6ffe1a,_0xf0ad02){return function(_0x9b54ca){if(_0x9b54ca){return _0x9b54ca[_0xd8ed('0x33')](_0x6ffe1a)[_0xd8ed('0x1e')](function(_0x1b4d4e){return _0x1b4d4e;});}return null;};}function removeEntity(_0x20fcbc,_0x247f1f){return function(_0x1c6a0e){if(_0x1c6a0e){return _0x1c6a0e[_0xd8ed('0x34')]()[_0xd8ed('0x1e')](function(){_0x20fcbc[_0xd8ed('0x2a')](0xcc)[_0xd8ed('0x35')]();});}};}function handleEntityNotFound(_0x278300,_0x10a156){return function(_0x19e798){if(!_0x19e798){_0x278300['sendStatus'](0x194);}return _0x19e798;};}function handleError(_0x5ed40c,_0x1afdd1){_0x1afdd1=_0x1afdd1||0x1f4;return function(_0x59c931){logger['error'](_0x59c931[_0xd8ed('0x36')]);if(_0x59c931[_0xd8ed('0x37')]){delete _0x59c931[_0xd8ed('0x37')];}_0x5ed40c[_0xd8ed('0x2a')](_0x1afdd1)['send'](_0x59c931);};}exports[_0xd8ed('0x38')]=function(_0x1e16b1,_0xb61a74){var _0x84fc88={},_0xc7a7aa={},_0x242b8b={'count':0x0,'rows':[]};var _0x205aa0=_[_0xd8ed('0x39')](db['FreshsalesConfiguration'][_0xd8ed('0x3a')],function(_0x1ccc93){return{'name':_0x1ccc93[_0xd8ed('0x3b')],'type':_0x1ccc93[_0xd8ed('0x3c')][_0xd8ed('0x3d')]};});_0xc7a7aa['model']=_['map'](_0x205aa0,_0xd8ed('0x37'));_0xc7a7aa['query']=_[_0xd8ed('0x3e')](_0x1e16b1[_0xd8ed('0x3f')]);_0xc7a7aa['filters']=_[_0xd8ed('0x40')](_0xc7a7aa['model'],_0xc7a7aa[_0xd8ed('0x3f')]);_0x84fc88[_0xd8ed('0x41')]=_[_0xd8ed('0x40')](_0xc7a7aa[_0xd8ed('0x42')],qs[_0xd8ed('0x43')](_0x1e16b1['query'][_0xd8ed('0x43')]));_0x84fc88[_0xd8ed('0x41')]=_0x84fc88[_0xd8ed('0x41')][_0xd8ed('0x44')]?_0x84fc88['attributes']:_0xc7a7aa[_0xd8ed('0x42')];if(!_0x1e16b1[_0xd8ed('0x3f')][_0xd8ed('0x45')](_0xd8ed('0x46'))){_0x84fc88['limit']=qs['limit'](_0x1e16b1[_0xd8ed('0x3f')][_0xd8ed('0x2e')]);_0x84fc88[_0xd8ed('0x2d')]=qs[_0xd8ed('0x2d')](_0x1e16b1[_0xd8ed('0x3f')][_0xd8ed('0x2d')]);}_0x84fc88[_0xd8ed('0x47')]=qs[_0xd8ed('0x48')](_0x1e16b1[_0xd8ed('0x3f')][_0xd8ed('0x48')]);_0x84fc88[_0xd8ed('0x49')]=qs[_0xd8ed('0x4a')](_[_0xd8ed('0x4b')](_0x1e16b1[_0xd8ed('0x3f')],_0xc7a7aa[_0xd8ed('0x4a')]),_0x205aa0);if(_0x1e16b1[_0xd8ed('0x3f')][_0xd8ed('0x4c')]){_0x84fc88[_0xd8ed('0x49')]=_[_0xd8ed('0x4d')](_0x84fc88[_0xd8ed('0x49')],{'$or':_[_0xd8ed('0x39')](_0x205aa0,function(_0x45b974){if(_0x45b974[_0xd8ed('0x3c')]!=='VIRTUAL'){var _0x50b52f={};_0x50b52f[_0x45b974[_0xd8ed('0x37')]]={'$like':'%'+_0x1e16b1[_0xd8ed('0x3f')][_0xd8ed('0x4c')]+'%'};return _0x50b52f;}})});}_0x84fc88=_[_0xd8ed('0x4d')]({},_0x84fc88,_0x1e16b1[_0xd8ed('0x4e')]);var _0x45312e={'where':_0x84fc88['where']};return db['FreshsalesConfiguration'][_0xd8ed('0x2c')](_0x45312e)[_0xd8ed('0x1e')](function(_0x424660){_0x242b8b['count']=_0x424660;if(_0x1e16b1[_0xd8ed('0x3f')][_0xd8ed('0x4f')]){_0x84fc88[_0xd8ed('0x50')]=[{'all':!![]}];}return db[_0xd8ed('0x51')][_0xd8ed('0x52')](_0x84fc88);})['then'](function(_0x50f87a){_0x242b8b[_0xd8ed('0x53')]=_0x50f87a;return _0x242b8b;})[_0xd8ed('0x1e')](respondWithFilteredResult(_0xb61a74,_0x84fc88))['catch'](handleError(_0xb61a74,null));};exports['show']=function(_0xb74741,_0x11866a){var _0x1fb3c2={'raw':![],'where':{'id':_0xb74741[_0xd8ed('0x54')]['id']}},_0x2a6e69={};_0x2a6e69[_0xd8ed('0x42')]=_['keys'](db[_0xd8ed('0x51')][_0xd8ed('0x3a')]);_0x2a6e69[_0xd8ed('0x3f')]=_[_0xd8ed('0x3e')](_0xb74741[_0xd8ed('0x3f')]);_0x2a6e69[_0xd8ed('0x4a')]=_[_0xd8ed('0x40')](_0x2a6e69[_0xd8ed('0x42')],_0x2a6e69[_0xd8ed('0x3f')]);_0x1fb3c2['attributes']=_['intersection'](_0x2a6e69[_0xd8ed('0x42')],qs[_0xd8ed('0x43')](_0xb74741[_0xd8ed('0x3f')][_0xd8ed('0x43')]));_0x1fb3c2['attributes']=_0x1fb3c2['attributes'][_0xd8ed('0x44')]?_0x1fb3c2[_0xd8ed('0x41')]:_0x2a6e69['model'];if(_0xb74741[_0xd8ed('0x3f')][_0xd8ed('0x4f')]){_0x1fb3c2['include']=[{'all':!![]}];}_0x1fb3c2=_[_0xd8ed('0x4d')]({},_0x1fb3c2,_0xb74741[_0xd8ed('0x4e')]);return db['FreshsalesConfiguration'][_0xd8ed('0x55')](_0x1fb3c2)[_0xd8ed('0x1e')](handleEntityNotFound(_0x11866a,null))[_0xd8ed('0x1e')](respondWithResult(_0x11866a,null))[_0xd8ed('0x28')](handleError(_0x11866a,null));};exports[_0xd8ed('0x56')]=function(_0x188ae0,_0x3c066b){return db[_0xd8ed('0x51')]['create'](_0x188ae0[_0xd8ed('0x57')],{})['then'](respondWithResult(_0x3c066b,0xc9))['catch'](handleError(_0x3c066b,null));};exports['update']=function(_0x47e718,_0x3567ea){if(_0x47e718[_0xd8ed('0x57')]['id']){delete _0x47e718[_0xd8ed('0x57')]['id'];}return db[_0xd8ed('0x51')]['find']({'where':{'id':_0x47e718[_0xd8ed('0x54')]['id']}})[_0xd8ed('0x1e')](handleEntityNotFound(_0x3567ea,null))['then'](saveUpdates(_0x47e718[_0xd8ed('0x57')],null))[_0xd8ed('0x1e')](respondWithResult(_0x3567ea,null))[_0xd8ed('0x28')](handleError(_0x3567ea,null));};exports['destroy']=function(_0x4c5307,_0x219c2f){return db[_0xd8ed('0x51')][_0xd8ed('0x55')]({'where':{'id':_0x4c5307[_0xd8ed('0x54')]['id']}})['then'](handleEntityNotFound(_0x219c2f,null))[_0xd8ed('0x1e')](removeEntity(_0x219c2f,null))['catch'](handleError(_0x219c2f,null));};exports[_0xd8ed('0x58')]=function(_0x261de0,_0x1ce55f,_0x580874){var _0x5329ab={};var _0x3d2326={};var _0x1c70a7;var _0x2d4f88;return db[_0xd8ed('0x51')][_0xd8ed('0x59')]({'where':{'id':_0x261de0[_0xd8ed('0x54')]['id']}})['then'](handleEntityNotFound(_0x1ce55f,null))['then'](function(_0x21016d){if(_0x21016d){_0x1c70a7=_0x21016d;_0x3d2326[_0xd8ed('0x42')]=_['keys'](db[_0xd8ed('0x5a')][_0xd8ed('0x3a')]);_0x3d2326[_0xd8ed('0x3f')]=_[_0xd8ed('0x3e')](_0x261de0[_0xd8ed('0x3f')]);_0x3d2326[_0xd8ed('0x4a')]=_['intersection'](_0x3d2326[_0xd8ed('0x42')],_0x3d2326[_0xd8ed('0x3f')]);_0x5329ab[_0xd8ed('0x41')]=_[_0xd8ed('0x40')](_0x3d2326[_0xd8ed('0x42')],qs['fields'](_0x261de0[_0xd8ed('0x3f')][_0xd8ed('0x43')]));_0x5329ab[_0xd8ed('0x41')]=_0x5329ab[_0xd8ed('0x41')]['length']?_0x5329ab[_0xd8ed('0x41')]:_0x3d2326[_0xd8ed('0x42')];_0x5329ab[_0xd8ed('0x47')]=qs['sort'](_0x261de0[_0xd8ed('0x3f')][_0xd8ed('0x48')]);_0x5329ab[_0xd8ed('0x49')]=qs[_0xd8ed('0x4a')](_[_0xd8ed('0x4b')](_0x261de0['query'],_0x3d2326[_0xd8ed('0x4a')]));if(_0x261de0[_0xd8ed('0x3f')][_0xd8ed('0x4c')]){_0x5329ab[_0xd8ed('0x49')]=_['merge'](_0x5329ab[_0xd8ed('0x49')],{'$or':_['map'](_0x5329ab[_0xd8ed('0x41')],function(_0x2b93d9){var _0xe3d333={};_0xe3d333[_0x2b93d9]={'$like':'%'+_0x261de0[_0xd8ed('0x3f')][_0xd8ed('0x4c')]+'%'};return _0xe3d333;})});}_0x5329ab=_[_0xd8ed('0x4d')]({},_0x5329ab,_0x261de0['options']);return _0x1c70a7[_0xd8ed('0x58')](_0x5329ab);}})[_0xd8ed('0x1e')](function(_0x1be9c0){if(_0x1be9c0){_0x2d4f88=_0x1be9c0['length'];if(!_0x261de0['query'][_0xd8ed('0x45')]('nolimit')){_0x5329ab[_0xd8ed('0x2e')]=qs['limit'](_0x261de0[_0xd8ed('0x3f')][_0xd8ed('0x2e')]);_0x5329ab[_0xd8ed('0x2d')]=qs[_0xd8ed('0x2d')](_0x261de0[_0xd8ed('0x3f')][_0xd8ed('0x2d')]);}return _0x1c70a7[_0xd8ed('0x58')](_0x5329ab);}})[_0xd8ed('0x1e')](function(_0x4cd449){if(_0x4cd449){return _0x4cd449?{'count':_0x2d4f88,'rows':_0x4cd449}:null;}})['then'](respondWithResult(_0x1ce55f,null))[_0xd8ed('0x28')](handleError(_0x1ce55f,null));};exports[_0xd8ed('0x5b')]=function(_0x56e8e0,_0x50373f,_0x150d61){var _0x4775be={};var _0x4fc266={};var _0x37b5b5;var _0x315648;return db[_0xd8ed('0x51')][_0xd8ed('0x59')]({'where':{'id':_0x56e8e0[_0xd8ed('0x54')]['id']}})[_0xd8ed('0x1e')](handleEntityNotFound(_0x50373f,null))[_0xd8ed('0x1e')](function(_0x4c2122){if(_0x4c2122){_0x37b5b5=_0x4c2122;_0x4fc266[_0xd8ed('0x42')]=_[_0xd8ed('0x3e')](db['FreshsalesField']['rawAttributes']);_0x4fc266['query']=_[_0xd8ed('0x3e')](_0x56e8e0[_0xd8ed('0x3f')]);_0x4fc266[_0xd8ed('0x4a')]=_[_0xd8ed('0x40')](_0x4fc266['model'],_0x4fc266[_0xd8ed('0x3f')]);_0x4775be['attributes']=_['intersection'](_0x4fc266[_0xd8ed('0x42')],qs[_0xd8ed('0x43')](_0x56e8e0[_0xd8ed('0x3f')]['fields']));_0x4775be['attributes']=_0x4775be[_0xd8ed('0x41')][_0xd8ed('0x44')]?_0x4775be[_0xd8ed('0x41')]:_0x4fc266[_0xd8ed('0x42')];_0x4775be[_0xd8ed('0x47')]=qs['sort'](_0x56e8e0['query']['sort']);_0x4775be[_0xd8ed('0x49')]=qs[_0xd8ed('0x4a')](_[_0xd8ed('0x4b')](_0x56e8e0[_0xd8ed('0x3f')],_0x4fc266[_0xd8ed('0x4a')]));if(_0x56e8e0[_0xd8ed('0x3f')]['filter']){_0x4775be['where']=_[_0xd8ed('0x4d')](_0x4775be['where'],{'$or':_[_0xd8ed('0x39')](_0x4775be[_0xd8ed('0x41')],function(_0x3646ee){var _0x34aeb5={};_0x34aeb5[_0x3646ee]={'$like':'%'+_0x56e8e0[_0xd8ed('0x3f')][_0xd8ed('0x4c')]+'%'};return _0x34aeb5;})});}_0x4775be=_[_0xd8ed('0x4d')]({},_0x4775be,_0x56e8e0[_0xd8ed('0x4e')]);return _0x37b5b5[_0xd8ed('0x5b')](_0x4775be);}})[_0xd8ed('0x1e')](function(_0x3987cc){if(_0x3987cc){_0x315648=_0x3987cc[_0xd8ed('0x44')];if(!_0x56e8e0[_0xd8ed('0x3f')][_0xd8ed('0x45')](_0xd8ed('0x46'))){_0x4775be[_0xd8ed('0x2e')]=qs['limit'](_0x56e8e0[_0xd8ed('0x3f')][_0xd8ed('0x2e')]);_0x4775be[_0xd8ed('0x2d')]=qs[_0xd8ed('0x2d')](_0x56e8e0[_0xd8ed('0x3f')][_0xd8ed('0x2d')]);}return _0x37b5b5[_0xd8ed('0x5b')](_0x4775be);}})['then'](function(_0x5ef991){if(_0x5ef991){return _0x5ef991?{'count':_0x315648,'rows':_0x5ef991}:null;}})[_0xd8ed('0x1e')](respondWithResult(_0x50373f,null))[_0xd8ed('0x28')](handleError(_0x50373f,null));};exports[_0xd8ed('0x5c')]=function(_0x411fd8,_0x2ba9d0,_0x221d67){var _0x3b3df5={};var _0x37104e={};var _0x46004f;var _0x14bea8;return db[_0xd8ed('0x51')][_0xd8ed('0x59')]({'where':{'id':_0x411fd8[_0xd8ed('0x54')]['id']}})[_0xd8ed('0x1e')](handleEntityNotFound(_0x2ba9d0,null))['then'](function(_0x4e9938){if(_0x4e9938){_0x46004f=_0x4e9938;_0x37104e['model']=_[_0xd8ed('0x3e')](db[_0xd8ed('0x5a')][_0xd8ed('0x3a')]);_0x37104e[_0xd8ed('0x3f')]=_['keys'](_0x411fd8['query']);_0x37104e['filters']=_[_0xd8ed('0x40')](_0x37104e['model'],_0x37104e[_0xd8ed('0x3f')]);_0x3b3df5[_0xd8ed('0x41')]=_[_0xd8ed('0x40')](_0x37104e[_0xd8ed('0x42')],qs[_0xd8ed('0x43')](_0x411fd8['query'][_0xd8ed('0x43')]));_0x3b3df5[_0xd8ed('0x41')]=_0x3b3df5[_0xd8ed('0x41')]['length']?_0x3b3df5[_0xd8ed('0x41')]:_0x37104e[_0xd8ed('0x42')];_0x3b3df5[_0xd8ed('0x47')]=qs[_0xd8ed('0x48')](_0x411fd8[_0xd8ed('0x3f')][_0xd8ed('0x48')]);_0x3b3df5[_0xd8ed('0x49')]=qs[_0xd8ed('0x4a')](_[_0xd8ed('0x4b')](_0x411fd8[_0xd8ed('0x3f')],_0x37104e[_0xd8ed('0x4a')]));if(_0x411fd8[_0xd8ed('0x3f')][_0xd8ed('0x4c')]){_0x3b3df5[_0xd8ed('0x49')]=_[_0xd8ed('0x4d')](_0x3b3df5[_0xd8ed('0x49')],{'$or':_[_0xd8ed('0x39')](_0x3b3df5[_0xd8ed('0x41')],function(_0x10724c){var _0x24ab80={};_0x24ab80[_0x10724c]={'$like':'%'+_0x411fd8[_0xd8ed('0x3f')][_0xd8ed('0x4c')]+'%'};return _0x24ab80;})});}_0x3b3df5=_['merge']({},_0x3b3df5,_0x411fd8[_0xd8ed('0x4e')]);return _0x46004f['getFields'](_0x3b3df5);}})[_0xd8ed('0x1e')](function(_0x41775b){if(_0x41775b){_0x14bea8=_0x41775b[_0xd8ed('0x44')];if(!_0x411fd8['query']['hasOwnProperty']('nolimit')){_0x3b3df5[_0xd8ed('0x2e')]=qs[_0xd8ed('0x2e')](_0x411fd8[_0xd8ed('0x3f')][_0xd8ed('0x2e')]);_0x3b3df5[_0xd8ed('0x2d')]=qs[_0xd8ed('0x2d')](_0x411fd8[_0xd8ed('0x3f')]['offset']);}return _0x46004f[_0xd8ed('0x5c')](_0x3b3df5);}})[_0xd8ed('0x1e')](function(_0x4f71cf){if(_0x4f71cf){return _0x4f71cf?{'count':_0x14bea8,'rows':_0x4f71cf}:null;}})[_0xd8ed('0x1e')](respondWithResult(_0x2ba9d0,null))[_0xd8ed('0x28')](handleError(_0x2ba9d0,null));}; \ No newline at end of file diff --git a/server/api/intFreshsalesConfiguration/intFreshsalesConfiguration.model.js b/server/api/intFreshsalesConfiguration/intFreshsalesConfiguration.model.js index 2fdbe89..9009e96 100644 --- a/server/api/intFreshsalesConfiguration/intFreshsalesConfiguration.model.js +++ b/server/api/intFreshsalesConfiguration/intFreshsalesConfiguration.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x159b=['path','../../config/environment','./intFreshsalesConfiguration.attributes','exports','define','FreshsalesConfiguration','int_freshsales_configurations','lodash','util','../../config/logger','api','moment','bluebird','request-promise'];(function(_0x37f592,_0x262aba){var _0x22621f=function(_0x504d9c){while(--_0x504d9c){_0x37f592['push'](_0x37f592['shift']());}};_0x22621f(++_0x262aba);}(_0x159b,0x181));var _0xb159=function(_0x38ea3b,_0x1762d3){_0x38ea3b=_0x38ea3b-0x0;var _0x380c21=_0x159b[_0x38ea3b];return _0x380c21;};'use strict';var _=require(_0xb159('0x0'));var util=require(_0xb159('0x1'));var logger=require(_0xb159('0x2'))(_0xb159('0x3'));var moment=require(_0xb159('0x4'));var BPromise=require(_0xb159('0x5'));var rp=require(_0xb159('0x6'));var fs=require('fs');var path=require(_0xb159('0x7'));var rimraf=require('rimraf');var config=require(_0xb159('0x8'));var attributes=require(_0xb159('0x9'));module[_0xb159('0xa')]=function(_0x21186d,_0x4a6e2e){return _0x21186d[_0xb159('0xb')](_0xb159('0xc'),attributes,{'tableName':_0xb159('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0x906c=['path','rimraf','./intFreshsalesConfiguration.attributes','define','FreshsalesConfiguration','lodash','util','../../config/logger','bluebird','request-promise'];(function(_0xa836e5,_0x47fa63){var _0x317ef4=function(_0x36ddd4){while(--_0x36ddd4){_0xa836e5['push'](_0xa836e5['shift']());}};_0x317ef4(++_0x47fa63);}(_0x906c,0x195));var _0xc906=function(_0x3481a9,_0x5f4963){_0x3481a9=_0x3481a9-0x0;var _0xe7222f=_0x906c[_0x3481a9];return _0xe7222f;};'use strict';var _=require(_0xc906('0x0'));var util=require(_0xc906('0x1'));var logger=require(_0xc906('0x2'))('api');var moment=require('moment');var BPromise=require(_0xc906('0x3'));var rp=require(_0xc906('0x4'));var fs=require('fs');var path=require(_0xc906('0x5'));var rimraf=require(_0xc906('0x6'));var config=require('../../config/environment');var attributes=require(_0xc906('0x7'));module['exports']=function(_0x5e8982,_0x2ff1a5){return _0x5e8982[_0xc906('0x8')](_0xc906('0x9'),attributes,{'tableName':'int_freshsales_configurations','paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/intFreshsalesConfiguration/intFreshsalesConfiguration.rpc.js b/server/api/intFreshsalesConfiguration/intFreshsalesConfiguration.rpc.js index 15b458c..d39a78c 100644 --- a/server/api/intFreshsalesConfiguration/intFreshsalesConfiguration.rpc.js +++ b/server/api/intFreshsalesConfiguration/intFreshsalesConfiguration.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x132f=['jayson/promise','http','request','then','info','FreshsalesConfiguration,\x20%s,\x20%s','request\x20sent','stringify','error','code','message','result','lodash','util','moment','bluebird','randomstring','ioredis','../../config/utils','../../config/logger','rpc','../../config/environment'];(function(_0x1b460f,_0x4401a2){var _0x3965ee=function(_0x5105cf){while(--_0x5105cf){_0x1b460f['push'](_0x1b460f['shift']());}};_0x3965ee(++_0x4401a2);}(_0x132f,0x182));var _0xf132=function(_0x4f3b2d,_0x3bbf46){_0x4f3b2d=_0x4f3b2d-0x0;var _0x3dddfa=_0x132f[_0x4f3b2d];return _0x3dddfa;};'use strict';var _=require(_0xf132('0x0'));var util=require(_0xf132('0x1'));var moment=require(_0xf132('0x2'));var BPromise=require(_0xf132('0x3'));var rs=require(_0xf132('0x4'));var fs=require('fs');var Redis=require(_0xf132('0x5'));var db=require('../../mysqldb')['db'];var utils=require(_0xf132('0x6'));var logger=require(_0xf132('0x7'))(_0xf132('0x8'));var config=require(_0xf132('0x9'));var jayson=require(_0xf132('0xa'));var client=jayson['client'][_0xf132('0xb')]({'port':0x232a});function respondWithRpcPromise(_0x280c1f,_0x533464,_0xbbfdc7){return new BPromise(function(_0x58cdf9,_0x3eed92){return client[_0xf132('0xc')](_0x280c1f,_0xbbfdc7)[_0xf132('0xd')](function(_0xa89a67){logger[_0xf132('0xe')](_0xf132('0xf'),_0x533464,_0xf132('0x10'));logger['debug']('FreshsalesConfiguration,\x20%s,\x20%s,\x20%s',_0x533464,_0xf132('0x10'),JSON[_0xf132('0x11')](_0xa89a67));if(_0xa89a67[_0xf132('0x12')]){if(_0xa89a67[_0xf132('0x12')][_0xf132('0x13')]===0x1f4){logger[_0xf132('0x12')](_0xf132('0xf'),_0x533464,_0xa89a67[_0xf132('0x12')][_0xf132('0x14')]);return _0x3eed92(_0xa89a67[_0xf132('0x12')][_0xf132('0x14')]);}logger[_0xf132('0x12')]('FreshsalesConfiguration,\x20%s,\x20%s',_0x533464,_0xa89a67[_0xf132('0x12')][_0xf132('0x14')]);return _0x58cdf9(_0xa89a67['error'][_0xf132('0x14')]);}else{logger['info']('FreshsalesConfiguration,\x20%s,\x20%s',_0x533464,_0xf132('0x10'));_0x58cdf9(_0xa89a67[_0xf132('0x15')][_0xf132('0x14')]);}})['catch'](function(_0x48686e){logger[_0xf132('0x12')](_0xf132('0xf'),_0x533464,_0x48686e);_0x3eed92(_0x48686e);});});} \ No newline at end of file +var _0x7070=['../../config/logger','rpc','jayson/promise','client','request','then','info','FreshsalesConfiguration,\x20%s,\x20%s','request\x20sent','debug','FreshsalesConfiguration,\x20%s,\x20%s,\x20%s','error','code','message','result','util','bluebird','../../mysqldb','../../config/utils'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x7070,0x1d7));var _0x0707=function(_0xe446af,_0x66e886){_0xe446af=_0xe446af-0x0;var _0x41cb39=_0x7070[_0xe446af];return _0x41cb39;};'use strict';var _=require('lodash');var util=require(_0x0707('0x0'));var moment=require('moment');var BPromise=require(_0x0707('0x1'));var rs=require('randomstring');var fs=require('fs');var Redis=require('ioredis');var db=require(_0x0707('0x2'))['db'];var utils=require(_0x0707('0x3'));var logger=require(_0x0707('0x4'))(_0x0707('0x5'));var config=require('../../config/environment');var jayson=require(_0x0707('0x6'));var client=jayson[_0x0707('0x7')]['http']({'port':0x232a});function respondWithRpcPromise(_0x49c759,_0x2e2dc0,_0x591e4c){return new BPromise(function(_0x5777eb,_0x170332){return client[_0x0707('0x8')](_0x49c759,_0x591e4c)[_0x0707('0x9')](function(_0x36cc62){logger[_0x0707('0xa')](_0x0707('0xb'),_0x2e2dc0,_0x0707('0xc'));logger[_0x0707('0xd')](_0x0707('0xe'),_0x2e2dc0,_0x0707('0xc'),JSON['stringify'](_0x36cc62));if(_0x36cc62[_0x0707('0xf')]){if(_0x36cc62['error'][_0x0707('0x10')]===0x1f4){logger['error'](_0x0707('0xb'),_0x2e2dc0,_0x36cc62[_0x0707('0xf')][_0x0707('0x11')]);return _0x170332(_0x36cc62[_0x0707('0xf')][_0x0707('0x11')]);}logger[_0x0707('0xf')](_0x0707('0xb'),_0x2e2dc0,_0x36cc62[_0x0707('0xf')][_0x0707('0x11')]);return _0x5777eb(_0x36cc62[_0x0707('0xf')]['message']);}else{logger['info'](_0x0707('0xb'),_0x2e2dc0,_0x0707('0xc'));_0x5777eb(_0x36cc62[_0x0707('0x12')][_0x0707('0x11')]);}})['catch'](function(_0x17b571){logger[_0x0707('0xf')](_0x0707('0xb'),_0x2e2dc0,_0x17b571);_0x170332(_0x17b571);});});} \ No newline at end of file diff --git a/server/api/intFreshsalesField/index.js b/server/api/intFreshsalesField/index.js index fb32be4..5431c5d 100644 --- a/server/api/intFreshsalesField/index.js +++ b/server/api/intFreshsalesField/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x6590=['util','path','connect-timeout','Router','../../components/auth/service','./intFreshsalesField.controller','isAuthenticated','index','get','/:id','show','post','create','destroy','exports','multer'];(function(_0x12a879,_0x55f329){var _0x52928d=function(_0x372ec2){while(--_0x372ec2){_0x12a879['push'](_0x12a879['shift']());}};_0x52928d(++_0x55f329);}(_0x6590,0x1df));var _0x0659=function(_0x41ee16,_0xfa94c3){_0x41ee16=_0x41ee16-0x0;var _0x1f60de=_0x6590[_0x41ee16];return _0x1f60de;};'use strict';var multer=require(_0x0659('0x0'));var util=require(_0x0659('0x1'));var path=require(_0x0659('0x2'));var timeout=require(_0x0659('0x3'));var express=require('express');var router=express[_0x0659('0x4')]();var auth=require(_0x0659('0x5'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x0659('0x6'));router['get']('/',auth[_0x0659('0x7')](),controller[_0x0659('0x8')]);router[_0x0659('0x9')](_0x0659('0xa'),auth[_0x0659('0x7')](),controller[_0x0659('0xb')]);router[_0x0659('0xc')]('/',auth[_0x0659('0x7')](),controller[_0x0659('0xd')]);router['put'](_0x0659('0xa'),auth[_0x0659('0x7')](),controller['update']);router['delete'](_0x0659('0xa'),auth[_0x0659('0x7')](),controller[_0x0659('0xe')]);module[_0x0659('0xf')]=router; \ No newline at end of file +var _0xe26c=['Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./intFreshsalesField.controller','isAuthenticated','get','create','put','/:id','update','delete','destroy','multer','util','path','connect-timeout','express'];(function(_0x329d47,_0x4470f0){var _0x505553=function(_0x1ea965){while(--_0x1ea965){_0x329d47['push'](_0x329d47['shift']());}};_0x505553(++_0x4470f0);}(_0xe26c,0x1cf));var _0xce26=function(_0x21bd58,_0x571854){_0x21bd58=_0x21bd58-0x0;var _0x16bf7c=_0xe26c[_0x21bd58];return _0x16bf7c;};'use strict';var multer=require(_0xce26('0x0'));var util=require(_0xce26('0x1'));var path=require(_0xce26('0x2'));var timeout=require(_0xce26('0x3'));var express=require(_0xce26('0x4'));var router=express[_0xce26('0x5')]();var auth=require(_0xce26('0x6'));var interaction=require(_0xce26('0x7'));var config=require(_0xce26('0x8'));var controller=require(_0xce26('0x9'));router['get']('/',auth[_0xce26('0xa')](),controller['index']);router[_0xce26('0xb')]('/:id',auth[_0xce26('0xa')](),controller['show']);router['post']('/',auth[_0xce26('0xa')](),controller[_0xce26('0xc')]);router[_0xce26('0xd')](_0xce26('0xe'),auth[_0xce26('0xa')](),controller[_0xce26('0xf')]);router[_0xce26('0x10')](_0xce26('0xe'),auth[_0xce26('0xa')](),controller[_0xce26('0x11')]);module['exports']=router; \ No newline at end of file diff --git a/server/api/intFreshsalesField/intFreshsalesField.attributes.js b/server/api/intFreshsalesField/intFreshsalesField.attributes.js index b0ad1ae..a55f11e 100644 --- a/server/api/intFreshsalesField/intFreshsalesField.attributes.js +++ b/server/api/intFreshsalesField/intFreshsalesField.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x80c7=['string','keyValue','STRING','variable','customVariable','BOOLEAN','sequelize','exports','ENUM'];(function(_0x4e6ae6,_0x49dba6){var _0x23c108=function(_0x1bc103){while(--_0x1bc103){_0x4e6ae6['push'](_0x4e6ae6['shift']());}};_0x23c108(++_0x49dba6);}(_0x80c7,0x8d));var _0x780c=function(_0x565b8f,_0x3275b1){_0x565b8f=_0x565b8f-0x0;var _0x10bb45=_0x80c7[_0x565b8f];return _0x10bb45;};'use strict';var Sequelize=require(_0x780c('0x0'));module[_0x780c('0x1')]={'type':{'type':Sequelize[_0x780c('0x2')](_0x780c('0x3'),'variable','customVariable',_0x780c('0x4')),'defaultValue':'string'},'content':{'type':Sequelize[_0x780c('0x5')]},'key':{'type':Sequelize[_0x780c('0x5')]},'keyType':{'type':Sequelize[_0x780c('0x2')](_0x780c('0x3'),_0x780c('0x6'),_0x780c('0x7'))},'keyContent':{'type':Sequelize[_0x780c('0x5')]},'idField':{'type':Sequelize[_0x780c('0x5')]},'nameField':{'type':Sequelize[_0x780c('0x5')]},'customField':{'type':Sequelize[_0x780c('0x8')],'defaultValue':!![]},'variableName':{'type':Sequelize[_0x780c('0x5')]}}; \ No newline at end of file +var _0xa3a1=['string','customVariable','keyValue','STRING','ENUM','variable','BOOLEAN','sequelize','exports'];(function(_0x8330de,_0x554571){var _0x32aa65=function(_0x1ede50){while(--_0x1ede50){_0x8330de['push'](_0x8330de['shift']());}};_0x32aa65(++_0x554571);}(_0xa3a1,0xcd));var _0x1a3a=function(_0x467db5,_0x396fff){_0x467db5=_0x467db5-0x0;var _0x22a9e1=_0xa3a1[_0x467db5];return _0x22a9e1;};'use strict';var Sequelize=require(_0x1a3a('0x0'));module[_0x1a3a('0x1')]={'type':{'type':Sequelize['ENUM'](_0x1a3a('0x2'),'variable',_0x1a3a('0x3'),_0x1a3a('0x4')),'defaultValue':'string'},'content':{'type':Sequelize[_0x1a3a('0x5')]},'key':{'type':Sequelize[_0x1a3a('0x5')]},'keyType':{'type':Sequelize[_0x1a3a('0x6')](_0x1a3a('0x2'),_0x1a3a('0x7'),_0x1a3a('0x3'))},'keyContent':{'type':Sequelize[_0x1a3a('0x5')]},'idField':{'type':Sequelize['STRING']},'nameField':{'type':Sequelize['STRING']},'customField':{'type':Sequelize[_0x1a3a('0x8')],'defaultValue':!![]},'variableName':{'type':Sequelize['STRING']}}; \ No newline at end of file diff --git a/server/api/intFreshsalesField/intFreshsalesField.controller.js b/server/api/intFreshsalesField/intFreshsalesField.controller.js index 7d95a60..52a5165 100644 --- a/server/api/intFreshsalesField/intFreshsalesField.controller.js +++ b/server/api/intFreshsalesField/intFreshsalesField.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xbf6e=['../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','status','end','json','count','offset','limit','reject','then','destroy','error','stack','name','index','FreshsalesField','key','model','keys','query','filters','intersection','attributes','fields','length','nolimit','order','sort','pick','filter','where','merge','map','type','options','includeAll','include','findAll','rows','catch','show','create','body','update','find','params','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','moment','bluebird','mustache','util','path','to-csv','ejs','squel','crypto','jsforce','desk.js','querystring','papaparse','ioredis','../../components/auth/service'];(function(_0x545065,_0x56426c){var _0x3dd008=function(_0x184797){while(--_0x184797){_0x545065['push'](_0x545065['shift']());}};_0x3dd008(++_0x56426c);}(_0xbf6e,0x196));var _0xebf6=function(_0x8fd6f5,_0x473312){_0x8fd6f5=_0x8fd6f5-0x0;var _0x458096=_0xbf6e[_0x8fd6f5];return _0x458096;};'use strict';var pdf=require(_0xebf6('0x0'));var emlformat=require(_0xebf6('0x1'));var rimraf=require(_0xebf6('0x2'));var zipdir=require(_0xebf6('0x3'));var jsonpatch=require(_0xebf6('0x4'));var rp=require('request-promise');var moment=require(_0xebf6('0x5'));var BPromise=require(_0xebf6('0x6'));var Mustache=require(_0xebf6('0x7'));var util=require(_0xebf6('0x8'));var path=require(_0xebf6('0x9'));var sox=require('sox');var csv=require(_0xebf6('0xa'));var ejs=require(_0xebf6('0xb'));var fs=require('fs');var _=require('lodash');var squel=require(_0xebf6('0xc'));var crypto=require(_0xebf6('0xd'));var jsforce=require(_0xebf6('0xe'));var deskjs=require(_0xebf6('0xf'));var toCsv=require(_0xebf6('0xa'));var querystring=require(_0xebf6('0x10'));var Papa=require(_0xebf6('0x11'));var Redis=require(_0xebf6('0x12'));var authService=require(_0xebf6('0x13'));var qs=require(_0xebf6('0x14'));var as=require(_0xebf6('0x15'));var hardwareService=require('../../config/license/hardware');var logger=require(_0xebf6('0x16'))(_0xebf6('0x17'));var utils=require(_0xebf6('0x18'));var config=require(_0xebf6('0x19'));var db=require(_0xebf6('0x1a'))['db'];function respondWithStatusCode(_0x106baf,_0x5501e0){_0x5501e0=_0x5501e0||0xcc;return function(_0x379f6c){if(_0x379f6c){return _0x106baf['sendStatus'](_0x5501e0);}return _0x106baf[_0xebf6('0x1b')](_0x5501e0)[_0xebf6('0x1c')]();};}function respondWithResult(_0x4cb167,_0x5dff04){_0x5dff04=_0x5dff04||0xc8;return function(_0x3d3c99){if(_0x3d3c99){return _0x4cb167[_0xebf6('0x1b')](_0x5dff04)[_0xebf6('0x1d')](_0x3d3c99);}};}function respondWithFilteredResult(_0x5c025b,_0x69cfc7){return function(_0x1e30bd){if(_0x1e30bd){var _0x448c8b=_0x1e30bd[_0xebf6('0x1e')],_0x27516e=_0x69cfc7[_0xebf6('0x1f')],_0x19a732=_0x69cfc7[_0xebf6('0x1f')]+_0x69cfc7[_0xebf6('0x20')],_0x47d3d4;if(_0x19a732>=_0x448c8b){_0x19a732=_0x448c8b;_0x47d3d4=0xc8;}else{_0x47d3d4=0xce;}_0x5c025b[_0xebf6('0x1b')](_0x47d3d4);return _0x5c025b['set']('Content-Range',_0x27516e+'-'+_0x19a732+'/'+_0x448c8b)['json'](_0x1e30bd);}return null;};}function patchUpdates(_0x13c6bb){return function(_0x57a13e){try{jsonpatch['apply'](_0x57a13e,_0x13c6bb,!![]);}catch(_0xea2836){return BPromise[_0xebf6('0x21')](_0xea2836);}return _0x57a13e['save']();};}function saveUpdates(_0x13203b,_0x3171af){return function(_0x1b8ef2){if(_0x1b8ef2){return _0x1b8ef2['update'](_0x13203b)[_0xebf6('0x22')](function(_0x221da7){return _0x221da7;});}return null;};}function removeEntity(_0x5c89b,_0x983579){return function(_0x4a8dfb){if(_0x4a8dfb){return _0x4a8dfb[_0xebf6('0x23')]()[_0xebf6('0x22')](function(){_0x5c89b[_0xebf6('0x1b')](0xcc)[_0xebf6('0x1c')]();});}};}function handleEntityNotFound(_0x43f666,_0x1fae63){return function(_0x2e7e15){if(!_0x2e7e15){_0x43f666['sendStatus'](0x194);}return _0x2e7e15;};}function handleError(_0x2df994,_0x2b7a36){_0x2b7a36=_0x2b7a36||0x1f4;return function(_0x5a64b2){logger[_0xebf6('0x24')](_0x5a64b2[_0xebf6('0x25')]);if(_0x5a64b2[_0xebf6('0x26')]){delete _0x5a64b2[_0xebf6('0x26')];}_0x2df994['status'](_0x2b7a36)['send'](_0x5a64b2);};}exports[_0xebf6('0x27')]=function(_0x2738ee,_0x321f90){var _0x5641eb={},_0x3d5f34={},_0x133797={'count':0x0,'rows':[]};var _0x42c3ff=_['map'](db[_0xebf6('0x28')]['rawAttributes'],function(_0x7790af){return{'name':_0x7790af['fieldName'],'type':_0x7790af['type'][_0xebf6('0x29')]};});_0x3d5f34[_0xebf6('0x2a')]=_['map'](_0x42c3ff,_0xebf6('0x26'));_0x3d5f34['query']=_[_0xebf6('0x2b')](_0x2738ee[_0xebf6('0x2c')]);_0x3d5f34[_0xebf6('0x2d')]=_[_0xebf6('0x2e')](_0x3d5f34['model'],_0x3d5f34['query']);_0x5641eb[_0xebf6('0x2f')]=_['intersection'](_0x3d5f34[_0xebf6('0x2a')],qs[_0xebf6('0x30')](_0x2738ee[_0xebf6('0x2c')][_0xebf6('0x30')]));_0x5641eb[_0xebf6('0x2f')]=_0x5641eb['attributes'][_0xebf6('0x31')]?_0x5641eb[_0xebf6('0x2f')]:_0x3d5f34[_0xebf6('0x2a')];if(!_0x2738ee[_0xebf6('0x2c')]['hasOwnProperty'](_0xebf6('0x32'))){_0x5641eb[_0xebf6('0x20')]=qs[_0xebf6('0x20')](_0x2738ee[_0xebf6('0x2c')][_0xebf6('0x20')]);_0x5641eb['offset']=qs[_0xebf6('0x1f')](_0x2738ee[_0xebf6('0x2c')][_0xebf6('0x1f')]);}_0x5641eb[_0xebf6('0x33')]=qs[_0xebf6('0x34')](_0x2738ee[_0xebf6('0x2c')]['sort']);_0x5641eb['where']=qs[_0xebf6('0x2d')](_[_0xebf6('0x35')](_0x2738ee['query'],_0x3d5f34['filters']),_0x42c3ff);if(_0x2738ee[_0xebf6('0x2c')][_0xebf6('0x36')]){_0x5641eb[_0xebf6('0x37')]=_[_0xebf6('0x38')](_0x5641eb[_0xebf6('0x37')],{'$or':_[_0xebf6('0x39')](_0x42c3ff,function(_0x32dd58){if(_0x32dd58[_0xebf6('0x3a')]!=='VIRTUAL'){var _0xe8fcec={};_0xe8fcec[_0x32dd58['name']]={'$like':'%'+_0x2738ee[_0xebf6('0x2c')]['filter']+'%'};return _0xe8fcec;}})});}_0x5641eb=_[_0xebf6('0x38')]({},_0x5641eb,_0x2738ee[_0xebf6('0x3b')]);var _0x5dfaa8={'where':_0x5641eb[_0xebf6('0x37')]};return db[_0xebf6('0x28')]['count'](_0x5dfaa8)[_0xebf6('0x22')](function(_0x39ad95){_0x133797['count']=_0x39ad95;if(_0x2738ee[_0xebf6('0x2c')][_0xebf6('0x3c')]){_0x5641eb[_0xebf6('0x3d')]=[{'all':!![]}];}return db[_0xebf6('0x28')][_0xebf6('0x3e')](_0x5641eb);})[_0xebf6('0x22')](function(_0x3fd6ae){_0x133797[_0xebf6('0x3f')]=_0x3fd6ae;return _0x133797;})[_0xebf6('0x22')](respondWithFilteredResult(_0x321f90,_0x5641eb))[_0xebf6('0x40')](handleError(_0x321f90,null));};exports[_0xebf6('0x41')]=function(_0xfaccb3,_0x5407c8){var _0x2d3e98={'raw':!![],'where':{'id':_0xfaccb3['params']['id']}},_0x2b13f5={};_0x2b13f5[_0xebf6('0x2a')]=_[_0xebf6('0x2b')](db['FreshsalesField']['rawAttributes']);_0x2b13f5[_0xebf6('0x2c')]=_[_0xebf6('0x2b')](_0xfaccb3[_0xebf6('0x2c')]);_0x2b13f5[_0xebf6('0x2d')]=_[_0xebf6('0x2e')](_0x2b13f5[_0xebf6('0x2a')],_0x2b13f5['query']);_0x2d3e98['attributes']=_[_0xebf6('0x2e')](_0x2b13f5[_0xebf6('0x2a')],qs[_0xebf6('0x30')](_0xfaccb3['query']['fields']));_0x2d3e98[_0xebf6('0x2f')]=_0x2d3e98[_0xebf6('0x2f')][_0xebf6('0x31')]?_0x2d3e98[_0xebf6('0x2f')]:_0x2b13f5['model'];if(_0xfaccb3[_0xebf6('0x2c')][_0xebf6('0x3c')]){_0x2d3e98[_0xebf6('0x3d')]=[{'all':!![]}];}_0x2d3e98=_[_0xebf6('0x38')]({},_0x2d3e98,_0xfaccb3[_0xebf6('0x3b')]);return db[_0xebf6('0x28')]['find'](_0x2d3e98)['then'](handleEntityNotFound(_0x5407c8,null))['then'](respondWithResult(_0x5407c8,null))['catch'](handleError(_0x5407c8,null));};exports[_0xebf6('0x42')]=function(_0x3e4a23,_0xee104){return db['FreshsalesField'][_0xebf6('0x42')](_0x3e4a23[_0xebf6('0x43')],{})[_0xebf6('0x22')](respondWithResult(_0xee104,0xc9))[_0xebf6('0x40')](handleError(_0xee104,null));};exports[_0xebf6('0x44')]=function(_0x15ddd0,_0x3329eb){if(_0x15ddd0[_0xebf6('0x43')]['id']){delete _0x15ddd0[_0xebf6('0x43')]['id'];}return db[_0xebf6('0x28')][_0xebf6('0x45')]({'where':{'id':_0x15ddd0[_0xebf6('0x46')]['id']}})[_0xebf6('0x22')](handleEntityNotFound(_0x3329eb,null))['then'](saveUpdates(_0x15ddd0[_0xebf6('0x43')],null))[_0xebf6('0x22')](respondWithResult(_0x3329eb,null))[_0xebf6('0x40')](handleError(_0x3329eb,null));};exports['destroy']=function(_0x23a141,_0x189d90){return db[_0xebf6('0x28')][_0xebf6('0x45')]({'where':{'id':_0x23a141[_0xebf6('0x46')]['id']}})[_0xebf6('0x22')](handleEntityNotFound(_0x189d90,null))[_0xebf6('0x22')](removeEntity(_0x189d90,null))[_0xebf6('0x40')](handleError(_0x189d90,null));}; \ No newline at end of file +var _0xffaf=['merge','includeAll','findAll','rows','show','params','include','options','find','catch','create','body','destroy','html-pdf','eml-format','zip-dir','fast-json-patch','moment','bluebird','mustache','util','path','sox','to-csv','ejs','lodash','squel','crypto','jsforce','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/advancedSearch','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','sendStatus','status','json','count','offset','limit','set','apply','reject','save','update','then','end','error','stack','name','send','index','map','FreshsalesField','rawAttributes','fieldName','type','key','query','keys','filters','intersection','model','fields','attributes','length','hasOwnProperty','nolimit','order','sort','where','pick','VIRTUAL'];(function(_0x1e7b16,_0x4607a1){var _0x37fadc=function(_0x1fc9ce){while(--_0x1fc9ce){_0x1e7b16['push'](_0x1e7b16['shift']());}};_0x37fadc(++_0x4607a1);}(_0xffaf,0xab));var _0xfffa=function(_0xfb0281,_0x3ff38b){_0xfb0281=_0xfb0281-0x0;var _0x408dd3=_0xffaf[_0xfb0281];return _0x408dd3;};'use strict';var pdf=require(_0xfffa('0x0'));var emlformat=require(_0xfffa('0x1'));var rimraf=require('rimraf');var zipdir=require(_0xfffa('0x2'));var jsonpatch=require(_0xfffa('0x3'));var rp=require('request-promise');var moment=require(_0xfffa('0x4'));var BPromise=require(_0xfffa('0x5'));var Mustache=require(_0xfffa('0x6'));var util=require(_0xfffa('0x7'));var path=require(_0xfffa('0x8'));var sox=require(_0xfffa('0x9'));var csv=require(_0xfffa('0xa'));var ejs=require(_0xfffa('0xb'));var fs=require('fs');var _=require(_0xfffa('0xc'));var squel=require(_0xfffa('0xd'));var crypto=require(_0xfffa('0xe'));var jsforce=require(_0xfffa('0xf'));var deskjs=require(_0xfffa('0x10'));var toCsv=require('to-csv');var querystring=require(_0xfffa('0x11'));var Papa=require(_0xfffa('0x12'));var Redis=require(_0xfffa('0x13'));var authService=require(_0xfffa('0x14'));var qs=require('../../components/parsers/qs');var as=require(_0xfffa('0x15'));var hardwareService=require('../../config/license/hardware');var logger=require(_0xfffa('0x16'))(_0xfffa('0x17'));var utils=require(_0xfffa('0x18'));var config=require(_0xfffa('0x19'));var db=require(_0xfffa('0x1a'))['db'];function respondWithStatusCode(_0x3a6b7b,_0xc84176){_0xc84176=_0xc84176||0xcc;return function(_0x222ec8){if(_0x222ec8){return _0x3a6b7b[_0xfffa('0x1b')](_0xc84176);}return _0x3a6b7b['status'](_0xc84176)['end']();};}function respondWithResult(_0x1598ac,_0x181cf3){_0x181cf3=_0x181cf3||0xc8;return function(_0x25b264){if(_0x25b264){return _0x1598ac[_0xfffa('0x1c')](_0x181cf3)[_0xfffa('0x1d')](_0x25b264);}};}function respondWithFilteredResult(_0x370ccd,_0x983071){return function(_0x19475a){if(_0x19475a){var _0x32b195=_0x19475a[_0xfffa('0x1e')],_0x213219=_0x983071[_0xfffa('0x1f')],_0x1ffb52=_0x983071[_0xfffa('0x1f')]+_0x983071[_0xfffa('0x20')],_0xc533d9;if(_0x1ffb52>=_0x32b195){_0x1ffb52=_0x32b195;_0xc533d9=0xc8;}else{_0xc533d9=0xce;}_0x370ccd['status'](_0xc533d9);return _0x370ccd[_0xfffa('0x21')]('Content-Range',_0x213219+'-'+_0x1ffb52+'/'+_0x32b195)[_0xfffa('0x1d')](_0x19475a);}return null;};}function patchUpdates(_0x59c4f7){return function(_0x3b703e){try{jsonpatch[_0xfffa('0x22')](_0x3b703e,_0x59c4f7,!![]);}catch(_0xaef1bb){return BPromise[_0xfffa('0x23')](_0xaef1bb);}return _0x3b703e[_0xfffa('0x24')]();};}function saveUpdates(_0x2243af,_0xa33066){return function(_0x223cf1){if(_0x223cf1){return _0x223cf1[_0xfffa('0x25')](_0x2243af)[_0xfffa('0x26')](function(_0x42f61e){return _0x42f61e;});}return null;};}function removeEntity(_0x58b398,_0x1e9414){return function(_0xa11b7b){if(_0xa11b7b){return _0xa11b7b['destroy']()['then'](function(){_0x58b398['status'](0xcc)[_0xfffa('0x27')]();});}};}function handleEntityNotFound(_0x5a03ef,_0x4b0ef2){return function(_0x360a58){if(!_0x360a58){_0x5a03ef['sendStatus'](0x194);}return _0x360a58;};}function handleError(_0x12734c,_0x2ac0db){_0x2ac0db=_0x2ac0db||0x1f4;return function(_0x578a4){logger[_0xfffa('0x28')](_0x578a4[_0xfffa('0x29')]);if(_0x578a4[_0xfffa('0x2a')]){delete _0x578a4[_0xfffa('0x2a')];}_0x12734c['status'](_0x2ac0db)[_0xfffa('0x2b')](_0x578a4);};}exports[_0xfffa('0x2c')]=function(_0x4d46cc,_0x17a274){var _0xe653c1={},_0x2a53e5={},_0x43a07f={'count':0x0,'rows':[]};var _0x2efab9=_[_0xfffa('0x2d')](db[_0xfffa('0x2e')][_0xfffa('0x2f')],function(_0x6e3bcd){return{'name':_0x6e3bcd[_0xfffa('0x30')],'type':_0x6e3bcd[_0xfffa('0x31')][_0xfffa('0x32')]};});_0x2a53e5['model']=_[_0xfffa('0x2d')](_0x2efab9,_0xfffa('0x2a'));_0x2a53e5[_0xfffa('0x33')]=_[_0xfffa('0x34')](_0x4d46cc[_0xfffa('0x33')]);_0x2a53e5[_0xfffa('0x35')]=_[_0xfffa('0x36')](_0x2a53e5[_0xfffa('0x37')],_0x2a53e5[_0xfffa('0x33')]);_0xe653c1['attributes']=_[_0xfffa('0x36')](_0x2a53e5[_0xfffa('0x37')],qs[_0xfffa('0x38')](_0x4d46cc[_0xfffa('0x33')][_0xfffa('0x38')]));_0xe653c1[_0xfffa('0x39')]=_0xe653c1[_0xfffa('0x39')][_0xfffa('0x3a')]?_0xe653c1[_0xfffa('0x39')]:_0x2a53e5[_0xfffa('0x37')];if(!_0x4d46cc['query'][_0xfffa('0x3b')](_0xfffa('0x3c'))){_0xe653c1[_0xfffa('0x20')]=qs[_0xfffa('0x20')](_0x4d46cc[_0xfffa('0x33')][_0xfffa('0x20')]);_0xe653c1['offset']=qs[_0xfffa('0x1f')](_0x4d46cc[_0xfffa('0x33')][_0xfffa('0x1f')]);}_0xe653c1[_0xfffa('0x3d')]=qs[_0xfffa('0x3e')](_0x4d46cc['query'][_0xfffa('0x3e')]);_0xe653c1[_0xfffa('0x3f')]=qs[_0xfffa('0x35')](_[_0xfffa('0x40')](_0x4d46cc[_0xfffa('0x33')],_0x2a53e5[_0xfffa('0x35')]),_0x2efab9);if(_0x4d46cc[_0xfffa('0x33')]['filter']){_0xe653c1['where']=_['merge'](_0xe653c1[_0xfffa('0x3f')],{'$or':_[_0xfffa('0x2d')](_0x2efab9,function(_0x294aab){if(_0x294aab[_0xfffa('0x31')]!==_0xfffa('0x41')){var _0x49e73a={};_0x49e73a[_0x294aab[_0xfffa('0x2a')]]={'$like':'%'+_0x4d46cc[_0xfffa('0x33')]['filter']+'%'};return _0x49e73a;}})});}_0xe653c1=_[_0xfffa('0x42')]({},_0xe653c1,_0x4d46cc['options']);var _0x2d94f4={'where':_0xe653c1[_0xfffa('0x3f')]};return db[_0xfffa('0x2e')][_0xfffa('0x1e')](_0x2d94f4)[_0xfffa('0x26')](function(_0x4c1faa){_0x43a07f[_0xfffa('0x1e')]=_0x4c1faa;if(_0x4d46cc[_0xfffa('0x33')][_0xfffa('0x43')]){_0xe653c1['include']=[{'all':!![]}];}return db[_0xfffa('0x2e')][_0xfffa('0x44')](_0xe653c1);})[_0xfffa('0x26')](function(_0x58152e){_0x43a07f[_0xfffa('0x45')]=_0x58152e;return _0x43a07f;})[_0xfffa('0x26')](respondWithFilteredResult(_0x17a274,_0xe653c1))['catch'](handleError(_0x17a274,null));};exports[_0xfffa('0x46')]=function(_0x587aa9,_0x241b42){var _0x599979={'raw':!![],'where':{'id':_0x587aa9[_0xfffa('0x47')]['id']}},_0x65b38a={};_0x65b38a[_0xfffa('0x37')]=_[_0xfffa('0x34')](db['FreshsalesField'][_0xfffa('0x2f')]);_0x65b38a[_0xfffa('0x33')]=_[_0xfffa('0x34')](_0x587aa9['query']);_0x65b38a[_0xfffa('0x35')]=_[_0xfffa('0x36')](_0x65b38a[_0xfffa('0x37')],_0x65b38a['query']);_0x599979['attributes']=_[_0xfffa('0x36')](_0x65b38a[_0xfffa('0x37')],qs['fields'](_0x587aa9['query'][_0xfffa('0x38')]));_0x599979['attributes']=_0x599979['attributes']['length']?_0x599979[_0xfffa('0x39')]:_0x65b38a['model'];if(_0x587aa9['query'][_0xfffa('0x43')]){_0x599979[_0xfffa('0x48')]=[{'all':!![]}];}_0x599979=_['merge']({},_0x599979,_0x587aa9[_0xfffa('0x49')]);return db[_0xfffa('0x2e')][_0xfffa('0x4a')](_0x599979)[_0xfffa('0x26')](handleEntityNotFound(_0x241b42,null))[_0xfffa('0x26')](respondWithResult(_0x241b42,null))[_0xfffa('0x4b')](handleError(_0x241b42,null));};exports[_0xfffa('0x4c')]=function(_0xc2c3b,_0x384048){return db[_0xfffa('0x2e')][_0xfffa('0x4c')](_0xc2c3b[_0xfffa('0x4d')],{})[_0xfffa('0x26')](respondWithResult(_0x384048,0xc9))[_0xfffa('0x4b')](handleError(_0x384048,null));};exports['update']=function(_0x3cccf6,_0x28429e){if(_0x3cccf6[_0xfffa('0x4d')]['id']){delete _0x3cccf6['body']['id'];}return db[_0xfffa('0x2e')][_0xfffa('0x4a')]({'where':{'id':_0x3cccf6[_0xfffa('0x47')]['id']}})[_0xfffa('0x26')](handleEntityNotFound(_0x28429e,null))[_0xfffa('0x26')](saveUpdates(_0x3cccf6[_0xfffa('0x4d')],null))[_0xfffa('0x26')](respondWithResult(_0x28429e,null))[_0xfffa('0x4b')](handleError(_0x28429e,null));};exports[_0xfffa('0x4e')]=function(_0x5d6302,_0xd8a38c){return db['FreshsalesField'][_0xfffa('0x4a')]({'where':{'id':_0x5d6302[_0xfffa('0x47')]['id']}})[_0xfffa('0x26')](handleEntityNotFound(_0xd8a38c,null))[_0xfffa('0x26')](removeEntity(_0xd8a38c,null))[_0xfffa('0x4b')](handleError(_0xd8a38c,null));}; \ No newline at end of file diff --git a/server/api/intFreshsalesField/intFreshsalesField.model.js b/server/api/intFreshsalesField/intFreshsalesField.model.js index b363868..bab28ad 100644 --- a/server/api/intFreshsalesField/intFreshsalesField.model.js +++ b/server/api/intFreshsalesField/intFreshsalesField.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x1dcc=['idField','FieldId','lodash','api','moment','path','rimraf','../../config/environment','./intFreshsalesField.attributes','exports','FreshsalesField','int_freshsales_fields','freshsales_unique_index'];(function(_0x2f6db1,_0x7db10f){var _0x4ab453=function(_0x293b45){while(--_0x293b45){_0x2f6db1['push'](_0x2f6db1['shift']());}};_0x4ab453(++_0x7db10f);}(_0x1dcc,0x77));var _0xc1dc=function(_0x3f0f9c,_0x45eb27){_0x3f0f9c=_0x3f0f9c-0x0;var _0x5ab330=_0x1dcc[_0x3f0f9c];return _0x5ab330;};'use strict';var _=require(_0xc1dc('0x0'));var util=require('util');var logger=require('../../config/logger')(_0xc1dc('0x1'));var moment=require(_0xc1dc('0x2'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0xc1dc('0x3'));var rimraf=require(_0xc1dc('0x4'));var config=require(_0xc1dc('0x5'));var attributes=require(_0xc1dc('0x6'));module[_0xc1dc('0x7')]=function(_0x11ff86,_0x37cd11){return _0x11ff86['define'](_0xc1dc('0x8'),attributes,{'tableName':_0xc1dc('0x9'),'paranoid':![],'indexes':[{'name':_0xc1dc('0xa'),'fields':[_0xc1dc('0xb'),_0xc1dc('0xc')],'unique':!![]}],'timestamps':!![]});}; \ No newline at end of file +var _0x8913=['rimraf','../../config/environment','exports','define','int_freshsales_fields','freshsales_unique_index','idField','FieldId','util','api','moment','request-promise','path'];(function(_0x37cf2d,_0x231367){var _0x2e2a77=function(_0x31ae65){while(--_0x31ae65){_0x37cf2d['push'](_0x37cf2d['shift']());}};_0x2e2a77(++_0x231367);}(_0x8913,0x167));var _0x3891=function(_0x477cd8,_0x121d08){_0x477cd8=_0x477cd8-0x0;var _0x234930=_0x8913[_0x477cd8];return _0x234930;};'use strict';var _=require('lodash');var util=require(_0x3891('0x0'));var logger=require('../../config/logger')(_0x3891('0x1'));var moment=require(_0x3891('0x2'));var BPromise=require('bluebird');var rp=require(_0x3891('0x3'));var fs=require('fs');var path=require(_0x3891('0x4'));var rimraf=require(_0x3891('0x5'));var config=require(_0x3891('0x6'));var attributes=require('./intFreshsalesField.attributes');module[_0x3891('0x7')]=function(_0x3e42eb,_0x1be857){return _0x3e42eb[_0x3891('0x8')]('FreshsalesField',attributes,{'tableName':_0x3891('0x9'),'paranoid':![],'indexes':[{'name':_0x3891('0xa'),'fields':[_0x3891('0xb'),_0x3891('0xc')],'unique':!![]}],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/intFreshsalesField/intFreshsalesField.rpc.js b/server/api/intFreshsalesField/intFreshsalesField.rpc.js index 007edb0..2247d23 100644 --- a/server/api/intFreshsalesField/intFreshsalesField.rpc.js +++ b/server/api/intFreshsalesField/intFreshsalesField.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x7096=['code','message','result','catch','util','bluebird','ioredis','../../mysqldb','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','client','http','then','info','FreshsalesField,\x20%s,\x20%s','request\x20sent','debug','stringify','error'];(function(_0x1ca9e9,_0x1c4391){var _0x309f3c=function(_0x5ab318){while(--_0x5ab318){_0x1ca9e9['push'](_0x1ca9e9['shift']());}};_0x309f3c(++_0x1c4391);}(_0x7096,0x10c));var _0x6709=function(_0x5bd426,_0x4878e5){_0x5bd426=_0x5bd426-0x0;var _0x23a7eb=_0x7096[_0x5bd426];return _0x23a7eb;};'use strict';var _=require('lodash');var util=require(_0x6709('0x0'));var moment=require('moment');var BPromise=require(_0x6709('0x1'));var rs=require('randomstring');var fs=require('fs');var Redis=require(_0x6709('0x2'));var db=require(_0x6709('0x3'))['db'];var utils=require(_0x6709('0x4'));var logger=require(_0x6709('0x5'))(_0x6709('0x6'));var config=require(_0x6709('0x7'));var jayson=require(_0x6709('0x8'));var client=jayson[_0x6709('0x9')][_0x6709('0xa')]({'port':0x232a});function respondWithRpcPromise(_0x3e2223,_0x11ad23,_0x985814){return new BPromise(function(_0x30147f,_0x513ab6){return client['request'](_0x3e2223,_0x985814)[_0x6709('0xb')](function(_0x2d8c0b){logger[_0x6709('0xc')](_0x6709('0xd'),_0x11ad23,_0x6709('0xe'));logger[_0x6709('0xf')]('FreshsalesField,\x20%s,\x20%s,\x20%s',_0x11ad23,'request\x20sent',JSON[_0x6709('0x10')](_0x2d8c0b));if(_0x2d8c0b[_0x6709('0x11')]){if(_0x2d8c0b[_0x6709('0x11')][_0x6709('0x12')]===0x1f4){logger[_0x6709('0x11')](_0x6709('0xd'),_0x11ad23,_0x2d8c0b[_0x6709('0x11')][_0x6709('0x13')]);return _0x513ab6(_0x2d8c0b['error'][_0x6709('0x13')]);}logger[_0x6709('0x11')](_0x6709('0xd'),_0x11ad23,_0x2d8c0b[_0x6709('0x11')]['message']);return _0x30147f(_0x2d8c0b[_0x6709('0x11')]['message']);}else{logger[_0x6709('0xc')]('FreshsalesField,\x20%s,\x20%s',_0x11ad23,_0x6709('0xe'));_0x30147f(_0x2d8c0b[_0x6709('0x14')][_0x6709('0x13')]);}})[_0x6709('0x15')](function(_0x4cab30){logger['error']('FreshsalesField,\x20%s,\x20%s',_0x11ad23,_0x4cab30);_0x513ab6(_0x4cab30);});});} \ No newline at end of file +var _0xcc4c=['stringify','error','code','message','result','catch','lodash','randomstring','../../mysqldb','../../config/utils','../../config/logger','jayson/promise','client','http','request','then','info','FreshsalesField,\x20%s,\x20%s','debug','FreshsalesField,\x20%s,\x20%s,\x20%s','request\x20sent'];(function(_0x307255,_0x5ba009){var _0x2a9694=function(_0x3c4f9c){while(--_0x3c4f9c){_0x307255['push'](_0x307255['shift']());}};_0x2a9694(++_0x5ba009);}(_0xcc4c,0x180));var _0xccc4=function(_0x37efbd,_0x5b7d69){_0x37efbd=_0x37efbd-0x0;var _0x523764=_0xcc4c[_0x37efbd];return _0x523764;};'use strict';var _=require(_0xccc4('0x0'));var util=require('util');var moment=require('moment');var BPromise=require('bluebird');var rs=require(_0xccc4('0x1'));var fs=require('fs');var Redis=require('ioredis');var db=require(_0xccc4('0x2'))['db'];var utils=require(_0xccc4('0x3'));var logger=require(_0xccc4('0x4'))('rpc');var config=require('../../config/environment');var jayson=require(_0xccc4('0x5'));var client=jayson[_0xccc4('0x6')][_0xccc4('0x7')]({'port':0x232a});function respondWithRpcPromise(_0x56b1aa,_0x27f67c,_0x7df98f){return new BPromise(function(_0x435c1f,_0x517727){return client[_0xccc4('0x8')](_0x56b1aa,_0x7df98f)[_0xccc4('0x9')](function(_0x53d65b){logger[_0xccc4('0xa')](_0xccc4('0xb'),_0x27f67c,'request\x20sent');logger[_0xccc4('0xc')](_0xccc4('0xd'),_0x27f67c,_0xccc4('0xe'),JSON[_0xccc4('0xf')](_0x53d65b));if(_0x53d65b[_0xccc4('0x10')]){if(_0x53d65b[_0xccc4('0x10')][_0xccc4('0x11')]===0x1f4){logger[_0xccc4('0x10')](_0xccc4('0xb'),_0x27f67c,_0x53d65b['error'][_0xccc4('0x12')]);return _0x517727(_0x53d65b[_0xccc4('0x10')][_0xccc4('0x12')]);}logger['error'](_0xccc4('0xb'),_0x27f67c,_0x53d65b[_0xccc4('0x10')][_0xccc4('0x12')]);return _0x435c1f(_0x53d65b[_0xccc4('0x10')][_0xccc4('0x12')]);}else{logger[_0xccc4('0xa')](_0xccc4('0xb'),_0x27f67c,'request\x20sent');_0x435c1f(_0x53d65b[_0xccc4('0x13')]['message']);}})[_0xccc4('0x14')](function(_0x595179){logger[_0xccc4('0x10')](_0xccc4('0xb'),_0x27f67c,_0x595179);_0x517727(_0x595179);});});} \ No newline at end of file diff --git a/server/api/intSalesforceAccount/index.js b/server/api/intSalesforceAccount/index.js index 60ceafa..809b784 100644 --- a/server/api/intSalesforceAccount/index.js +++ b/server/api/intSalesforceAccount/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xa8ad=['post','create','/:id/configurations','addConfiguration','put','update','destroy','exports','multer','path','Router','../../config/environment','./intSalesforceAccount.controller','get','isAuthenticated','/:id','show','getConfigurations','/:id/fields','getFields'];(function(_0x4a8505,_0x495d64){var _0x12b9c0=function(_0x3f54f4){while(--_0x3f54f4){_0x4a8505['push'](_0x4a8505['shift']());}};_0x12b9c0(++_0x495d64);}(_0xa8ad,0x10c));var _0xda8a=function(_0x399746,_0x549fbc){_0x399746=_0x399746-0x0;var _0x417f5b=_0xa8ad[_0x399746];return _0x417f5b;};'use strict';var multer=require(_0xda8a('0x0'));var util=require('util');var path=require(_0xda8a('0x1'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0xda8a('0x2')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xda8a('0x3'));var controller=require(_0xda8a('0x4'));router[_0xda8a('0x5')]('/',auth[_0xda8a('0x6')](),controller['index']);router[_0xda8a('0x5')](_0xda8a('0x7'),auth[_0xda8a('0x6')](),controller[_0xda8a('0x8')]);router['get']('/:id/configurations',auth['isAuthenticated'](),controller[_0xda8a('0x9')]);router[_0xda8a('0x5')](_0xda8a('0xa'),auth['isAuthenticated'](),controller[_0xda8a('0xb')]);router[_0xda8a('0xc')]('/',auth[_0xda8a('0x6')](),controller[_0xda8a('0xd')]);router['post'](_0xda8a('0xe'),auth[_0xda8a('0x6')](),controller[_0xda8a('0xf')]);router[_0xda8a('0x10')](_0xda8a('0x7'),auth['isAuthenticated'](),controller[_0xda8a('0x11')]);router['delete']('/:id',auth[_0xda8a('0x6')](),controller[_0xda8a('0x12')]);module[_0xda8a('0x13')]=router; \ No newline at end of file +var _0x5511=['delete','multer','util','path','connect-timeout','express','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','getConfigurations','/:id/fields','getFields','post','create','/:id/configurations','put','/:id'];(function(_0x4c5c97,_0x4f85bf){var _0xd5d2cb=function(_0x1e6100){while(--_0x1e6100){_0x4c5c97['push'](_0x4c5c97['shift']());}};_0xd5d2cb(++_0x4f85bf);}(_0x5511,0x10b));var _0x1551=function(_0x4f2afe,_0x26a2e6){_0x4f2afe=_0x4f2afe-0x0;var _0x2ca7fa=_0x5511[_0x4f2afe];return _0x2ca7fa;};'use strict';var multer=require(_0x1551('0x0'));var util=require(_0x1551('0x1'));var path=require(_0x1551('0x2'));var timeout=require(_0x1551('0x3'));var express=require(_0x1551('0x4'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require(_0x1551('0x5'));var config=require(_0x1551('0x6'));var controller=require('./intSalesforceAccount.controller');router[_0x1551('0x7')]('/',auth[_0x1551('0x8')](),controller[_0x1551('0x9')]);router[_0x1551('0x7')]('/:id',auth['isAuthenticated'](),controller['show']);router[_0x1551('0x7')]('/:id/configurations',auth[_0x1551('0x8')](),controller[_0x1551('0xa')]);router['get'](_0x1551('0xb'),auth['isAuthenticated'](),controller[_0x1551('0xc')]);router[_0x1551('0xd')]('/',auth['isAuthenticated'](),controller[_0x1551('0xe')]);router[_0x1551('0xd')](_0x1551('0xf'),auth[_0x1551('0x8')](),controller['addConfiguration']);router[_0x1551('0x10')](_0x1551('0x11'),auth[_0x1551('0x8')](),controller['update']);router[_0x1551('0x12')](_0x1551('0x11'),auth[_0x1551('0x8')](),controller['destroy']);module['exports']=router; \ No newline at end of file diff --git a/server/api/intSalesforceAccount/intSalesforceAccount.attributes.js b/server/api/intSalesforceAccount/intSalesforceAccount.attributes.js index 2a13bb0..e95f66b 100644 --- a/server/api/intSalesforceAccount/intSalesforceAccount.attributes.js +++ b/server/api/intSalesforceAccount/intSalesforceAccount.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x1cb9=['username','ENUM','integrationTab','newTab','sequelize','STRING'];(function(_0x505b53,_0x1ef49e){var _0x523bc0=function(_0xc73796){while(--_0xc73796){_0x505b53['push'](_0x505b53['shift']());}};_0x523bc0(++_0x1ef49e);}(_0x1cb9,0x14e));var _0x91cb=function(_0x3631c7,_0x5a57e1){_0x3631c7=_0x3631c7-0x0;var _0x27aa8e=_0x1cb9[_0x3631c7];return _0x27aa8e;};'use strict';var Sequelize=require(_0x91cb('0x0'));module['exports']={'name':{'type':Sequelize[_0x91cb('0x1')]},'description':{'type':Sequelize[_0x91cb('0x1')]},'username':{'type':Sequelize[_0x91cb('0x1')],'unique':_0x91cb('0x2')},'remoteUri':{'type':Sequelize['STRING']},'password':{'type':Sequelize[_0x91cb('0x1')]},'clientId':{'type':Sequelize[_0x91cb('0x1')]},'clientSecret':{'type':Sequelize['STRING']},'securityToken':{'type':Sequelize[_0x91cb('0x1')]},'serverUrl':{'type':Sequelize[_0x91cb('0x1')]},'type':{'type':Sequelize[_0x91cb('0x3')](_0x91cb('0x4'),_0x91cb('0x5')),'defaultValue':_0x91cb('0x4')}}; \ No newline at end of file +var _0xabce=['exports','STRING','ENUM','newTab','sequelize'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0xabce,0x103));var _0xeabc=function(_0x3054be,_0x1bdc8b){_0x3054be=_0x3054be-0x0;var _0x3df150=_0xabce[_0x3054be];return _0x3df150;};'use strict';var Sequelize=require(_0xeabc('0x0'));module[_0xeabc('0x1')]={'name':{'type':Sequelize[_0xeabc('0x2')]},'description':{'type':Sequelize[_0xeabc('0x2')]},'username':{'type':Sequelize[_0xeabc('0x2')],'unique':'username'},'remoteUri':{'type':Sequelize['STRING']},'password':{'type':Sequelize[_0xeabc('0x2')]},'clientId':{'type':Sequelize[_0xeabc('0x2')]},'clientSecret':{'type':Sequelize[_0xeabc('0x2')]},'securityToken':{'type':Sequelize['STRING']},'serverUrl':{'type':Sequelize['STRING']},'type':{'type':Sequelize[_0xeabc('0x3')]('integrationTab',_0xeabc('0x4')),'defaultValue':'integrationTab'}}; \ No newline at end of file diff --git a/server/api/intSalesforceAccount/intSalesforceAccount.controller.js b/server/api/intSalesforceAccount/intSalesforceAccount.controller.js index bd0c465..78657cc 100644 --- a/server/api/intSalesforceAccount/intSalesforceAccount.controller.js +++ b/server/api/intSalesforceAccount/intSalesforceAccount.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xe7e4=['SuppliedCompany','remove','custom','includes','picklistValues','value','boolean','True','false','statusCode','getFields,\x20%s,\x20%s,\x20%s','Wrong\x20credentials','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','mustache','util','sox','to-csv','ejs','lodash','squel','crypto','jsforce','querystring','papaparse','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/environment','../../mysqldb','../../components/integrations/configuration','jayson/promise','client','http','test','Sequelize','The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.','then','request\x20sent','debug','SalesforceAccount,\x20%s,\x20%s,\x20%s','stringify','error','code','SalesforceAccount,\x20%s,\x20%s','message','info','result','sendStatus','end','count','offset','limit','status','set','Content-Range','apply','reject','save','update','name','send','index','SalesforceAccount','rawAttributes','fieldName','key','model','map','query','filters','attributes','intersection','length','hasOwnProperty','order','sort','where','pick','merge','type','VIRTUAL','options','includeAll','include','rows','show','params','keys','fields','find','catch','create','body','findOne','filter','nolimit','getConfigurations','addConfiguration','AccountId','Subjects','channel','Descriptions','getDescriptions','SalesforceField','getFields','Task','remoteUri','clientId','clientSecret','password','slice','substring','lastIndexOf','Connection','login','username','securityToken','isNil','ticketType','sobject','CallDisposition','CallObject','Priority','Type','Case','Status','IsEscalated','SuppliedName'];(function(_0x289c3e,_0x3614b5){var _0x25a4b3=function(_0x1ea94b){while(--_0x1ea94b){_0x289c3e['push'](_0x289c3e['shift']());}};_0x25a4b3(++_0x3614b5);}(_0xe7e4,0x95));var _0x4e7e=function(_0x493593,_0x427a6){_0x493593=_0x493593-0x0;var _0x2c6e84=_0xe7e4[_0x493593];return _0x2c6e84;};'use strict';var pdf=require(_0x4e7e('0x0'));var emlformat=require(_0x4e7e('0x1'));var rimraf=require(_0x4e7e('0x2'));var zipdir=require(_0x4e7e('0x3'));var jsonpatch=require(_0x4e7e('0x4'));var rp=require(_0x4e7e('0x5'));var moment=require(_0x4e7e('0x6'));var BPromise=require(_0x4e7e('0x7'));var Mustache=require(_0x4e7e('0x8'));var util=require(_0x4e7e('0x9'));var path=require('path');var sox=require(_0x4e7e('0xa'));var csv=require(_0x4e7e('0xb'));var ejs=require(_0x4e7e('0xc'));var fs=require('fs');var _=require(_0x4e7e('0xd'));var squel=require(_0x4e7e('0xe'));var crypto=require(_0x4e7e('0xf'));var jsforce=require(_0x4e7e('0x10'));var deskjs=require('desk.js');var toCsv=require(_0x4e7e('0xb'));var querystring=require(_0x4e7e('0x11'));var Papa=require(_0x4e7e('0x12'));var Redis=require('ioredis');var authService=require('../../components/auth/service');var qs=require(_0x4e7e('0x13'));var as=require(_0x4e7e('0x14'));var hardwareService=require(_0x4e7e('0x15'));var logger=require(_0x4e7e('0x16'))(_0x4e7e('0x17'));var utils=require('../../config/utils');var config=require(_0x4e7e('0x18'));var db=require(_0x4e7e('0x19'))['db'];var integrations=require(_0x4e7e('0x1a'));var jayson=require(_0x4e7e('0x1b'));var client=jayson[_0x4e7e('0x1c')][_0x4e7e('0x1d')]({'port':0x232a});function checkPasswordPattern(_0x137a25,_0x3400e7,_0x41be50){if(_0x41be50){var _0x3f97ca=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0x3f97ca[_0x4e7e('0x1e')](_0x3400e7)){return _0x137a25;}else{throw new db[(_0x4e7e('0x1f'))]['ValidationError'](_0x4e7e('0x20'));}}else{return _0x137a25;}}function respondWithRpcPromise(_0x96282f,_0x4bf989,_0x310ee2,_0x4307c7){return new BPromise(function(_0x1fe9b1,_0x1857c3){var _0x2960c0=_0x4307c7||client;return _0x2960c0['request'](_0x96282f,_0x310ee2)[_0x4e7e('0x21')](function(_0xfb2238){logger['info']('SalesforceAccount,\x20%s,\x20%s',_0x4bf989,_0x4e7e('0x22'));logger[_0x4e7e('0x23')](_0x4e7e('0x24'),_0x4bf989,_0x4e7e('0x22'),JSON[_0x4e7e('0x25')](_0xfb2238));if(_0xfb2238['error']){if(_0xfb2238[_0x4e7e('0x26')][_0x4e7e('0x27')]===0x1f4){logger[_0x4e7e('0x26')](_0x4e7e('0x28'),_0x4bf989,_0xfb2238[_0x4e7e('0x26')][_0x4e7e('0x29')]);return _0x1857c3(_0xfb2238['error'][_0x4e7e('0x29')]);}logger[_0x4e7e('0x26')](_0x4e7e('0x28'),_0x4bf989,_0xfb2238[_0x4e7e('0x26')][_0x4e7e('0x29')]);return _0x1fe9b1(_0xfb2238[_0x4e7e('0x26')][_0x4e7e('0x29')]);}else{logger[_0x4e7e('0x2a')]('SalesforceAccount,\x20%s,\x20%s',_0x4bf989,'request\x20sent');_0x1fe9b1(_0xfb2238[_0x4e7e('0x2b')]['message']);}})['catch'](function(_0x13527b){logger[_0x4e7e('0x26')]('SalesforceAccount,\x20%s,\x20%s',_0x4bf989,_0x13527b);_0x1857c3(_0x13527b);});});}function respondWithStatusCode(_0x31b820,_0x171a1e){_0x171a1e=_0x171a1e||0xcc;return function(_0x495e8f){if(_0x495e8f){return _0x31b820[_0x4e7e('0x2c')](_0x171a1e);}return _0x31b820['status'](_0x171a1e)[_0x4e7e('0x2d')]();};}function respondWithResult(_0x10b9a3,_0x1edf8e){_0x1edf8e=_0x1edf8e||0xc8;return function(_0x35836b){if(_0x35836b){return _0x10b9a3['status'](_0x1edf8e)['json'](_0x35836b);}};}function respondWithFilteredResult(_0x43888a,_0x356694){return function(_0x44c1fb){if(_0x44c1fb){var _0x512089=_0x44c1fb[_0x4e7e('0x2e')],_0x905110=_0x356694[_0x4e7e('0x2f')],_0x579396=_0x356694[_0x4e7e('0x2f')]+_0x356694[_0x4e7e('0x30')],_0x56d1f3;if(_0x579396>=_0x512089){_0x579396=_0x512089;_0x56d1f3=0xc8;}else{_0x56d1f3=0xce;}_0x43888a[_0x4e7e('0x31')](_0x56d1f3);return _0x43888a[_0x4e7e('0x32')](_0x4e7e('0x33'),_0x905110+'-'+_0x579396+'/'+_0x512089)['json'](_0x44c1fb);}return null;};}function patchUpdates(_0x54ac7d){return function(_0x4342df){try{jsonpatch[_0x4e7e('0x34')](_0x4342df,_0x54ac7d,!![]);}catch(_0x4c8ccc){return BPromise[_0x4e7e('0x35')](_0x4c8ccc);}return _0x4342df[_0x4e7e('0x36')]();};}function saveUpdates(_0x463285,_0x2a7ed3){return function(_0x5f1965){if(_0x5f1965){return _0x5f1965[_0x4e7e('0x37')](_0x463285)[_0x4e7e('0x21')](function(_0x3b6a70){return _0x3b6a70;});}return null;};}function removeEntity(_0x5cb2d9,_0x33e5e3){return function(_0x374a91){if(_0x374a91){return _0x374a91['destroy']()[_0x4e7e('0x21')](function(){_0x5cb2d9['status'](0xcc)[_0x4e7e('0x2d')]();});}};}function handleEntityNotFound(_0x3ec0df,_0x1e3f10){return function(_0xdff1b9){if(!_0xdff1b9){_0x3ec0df[_0x4e7e('0x2c')](0x194);}return _0xdff1b9;};}function handleError(_0x11f1f6,_0x489f38){_0x489f38=_0x489f38||0x1f4;return function(_0x22c487){logger[_0x4e7e('0x26')](_0x22c487['stack']);if(_0x22c487[_0x4e7e('0x38')]){delete _0x22c487[_0x4e7e('0x38')];}_0x11f1f6['status'](_0x489f38)[_0x4e7e('0x39')](_0x22c487);};}exports[_0x4e7e('0x3a')]=function(_0x2f685b,_0x42764f){var _0x500b1d={},_0xfa3c0a={},_0x1134d3={'count':0x0,'rows':[]};var _0x25eb67=_['map'](db[_0x4e7e('0x3b')][_0x4e7e('0x3c')],function(_0x3bb2ba){return{'name':_0x3bb2ba[_0x4e7e('0x3d')],'type':_0x3bb2ba['type'][_0x4e7e('0x3e')]};});_0xfa3c0a[_0x4e7e('0x3f')]=_[_0x4e7e('0x40')](_0x25eb67,_0x4e7e('0x38'));_0xfa3c0a['query']=_['keys'](_0x2f685b[_0x4e7e('0x41')]);_0xfa3c0a[_0x4e7e('0x42')]=_['intersection'](_0xfa3c0a['model'],_0xfa3c0a['query']);_0x500b1d[_0x4e7e('0x43')]=_[_0x4e7e('0x44')](_0xfa3c0a[_0x4e7e('0x3f')],qs['fields'](_0x2f685b[_0x4e7e('0x41')]['fields']));_0x500b1d[_0x4e7e('0x43')]=_0x500b1d[_0x4e7e('0x43')][_0x4e7e('0x45')]?_0x500b1d['attributes']:_0xfa3c0a[_0x4e7e('0x3f')];if(!_0x2f685b[_0x4e7e('0x41')][_0x4e7e('0x46')]('nolimit')){_0x500b1d[_0x4e7e('0x30')]=qs[_0x4e7e('0x30')](_0x2f685b['query']['limit']);_0x500b1d[_0x4e7e('0x2f')]=qs[_0x4e7e('0x2f')](_0x2f685b['query']['offset']);}_0x500b1d[_0x4e7e('0x47')]=qs[_0x4e7e('0x48')](_0x2f685b['query']['sort']);_0x500b1d[_0x4e7e('0x49')]=qs[_0x4e7e('0x42')](_[_0x4e7e('0x4a')](_0x2f685b[_0x4e7e('0x41')],_0xfa3c0a[_0x4e7e('0x42')]),_0x25eb67);if(_0x2f685b[_0x4e7e('0x41')]['filter']){_0x500b1d[_0x4e7e('0x49')]=_[_0x4e7e('0x4b')](_0x500b1d['where'],{'$or':_[_0x4e7e('0x40')](_0x25eb67,function(_0x4b0d66){if(_0x4b0d66[_0x4e7e('0x4c')]!==_0x4e7e('0x4d')){var _0x48156c={};_0x48156c[_0x4b0d66[_0x4e7e('0x38')]]={'$like':'%'+_0x2f685b[_0x4e7e('0x41')]['filter']+'%'};return _0x48156c;}})});}_0x500b1d=_[_0x4e7e('0x4b')]({},_0x500b1d,_0x2f685b[_0x4e7e('0x4e')]);var _0x5d2cb0={'where':_0x500b1d[_0x4e7e('0x49')]};return db[_0x4e7e('0x3b')][_0x4e7e('0x2e')](_0x5d2cb0)['then'](function(_0x40a8e7){_0x1134d3['count']=_0x40a8e7;if(_0x2f685b['query'][_0x4e7e('0x4f')]){_0x500b1d[_0x4e7e('0x50')]=[{'all':!![]}];}return db['SalesforceAccount']['findAll'](_0x500b1d);})[_0x4e7e('0x21')](function(_0x247848){_0x1134d3[_0x4e7e('0x51')]=_0x247848;return _0x1134d3;})[_0x4e7e('0x21')](respondWithFilteredResult(_0x42764f,_0x500b1d))['catch'](handleError(_0x42764f,null));};exports[_0x4e7e('0x52')]=function(_0x5798f2,_0x4c6fd4){var _0x3e9962={'raw':![],'where':{'id':_0x5798f2[_0x4e7e('0x53')]['id']}},_0x323920={};_0x323920[_0x4e7e('0x3f')]=_[_0x4e7e('0x54')](db[_0x4e7e('0x3b')][_0x4e7e('0x3c')]);_0x323920[_0x4e7e('0x41')]=_['keys'](_0x5798f2['query']);_0x323920[_0x4e7e('0x42')]=_[_0x4e7e('0x44')](_0x323920[_0x4e7e('0x3f')],_0x323920[_0x4e7e('0x41')]);_0x3e9962[_0x4e7e('0x43')]=_[_0x4e7e('0x44')](_0x323920[_0x4e7e('0x3f')],qs[_0x4e7e('0x55')](_0x5798f2['query'][_0x4e7e('0x55')]));_0x3e9962[_0x4e7e('0x43')]=_0x3e9962[_0x4e7e('0x43')]['length']?_0x3e9962[_0x4e7e('0x43')]:_0x323920['model'];if(_0x5798f2[_0x4e7e('0x41')][_0x4e7e('0x4f')]){_0x3e9962[_0x4e7e('0x50')]=[{'all':!![]}];}_0x3e9962=_[_0x4e7e('0x4b')]({},_0x3e9962,_0x5798f2[_0x4e7e('0x4e')]);return db[_0x4e7e('0x3b')][_0x4e7e('0x56')](_0x3e9962)[_0x4e7e('0x21')](handleEntityNotFound(_0x4c6fd4,null))[_0x4e7e('0x21')](respondWithResult(_0x4c6fd4,null))[_0x4e7e('0x57')](handleError(_0x4c6fd4,null));};exports[_0x4e7e('0x58')]=function(_0x469fd0,_0x2a42e8){return db['SalesforceAccount'][_0x4e7e('0x58')](_0x469fd0[_0x4e7e('0x59')],{})['then'](respondWithResult(_0x2a42e8,0xc9))[_0x4e7e('0x57')](handleError(_0x2a42e8,null));};exports['update']=function(_0x4b00b8,_0x368f41){if(_0x4b00b8[_0x4e7e('0x59')]['id']){delete _0x4b00b8[_0x4e7e('0x59')]['id'];}return db[_0x4e7e('0x3b')]['find']({'where':{'id':_0x4b00b8[_0x4e7e('0x53')]['id']}})[_0x4e7e('0x21')](handleEntityNotFound(_0x368f41,null))[_0x4e7e('0x21')](saveUpdates(_0x4b00b8['body'],null))[_0x4e7e('0x21')](respondWithResult(_0x368f41,null))[_0x4e7e('0x57')](handleError(_0x368f41,null));};exports['destroy']=function(_0x40df82,_0x3d6a15){return db['SalesforceAccount'][_0x4e7e('0x56')]({'where':{'id':_0x40df82['params']['id']}})['then'](handleEntityNotFound(_0x3d6a15,null))[_0x4e7e('0x21')](removeEntity(_0x3d6a15,null))[_0x4e7e('0x57')](handleError(_0x3d6a15,null));};exports['getConfigurations']=function(_0x247639,_0x557383,_0x48776b){var _0x59fcb7={};var _0x28d209={};var _0x3f1589;var _0xa5f424;return db[_0x4e7e('0x3b')][_0x4e7e('0x5a')]({'where':{'id':_0x247639[_0x4e7e('0x53')]['id']}})[_0x4e7e('0x21')](handleEntityNotFound(_0x557383,null))['then'](function(_0x25d006){if(_0x25d006){_0x3f1589=_0x25d006;_0x28d209[_0x4e7e('0x3f')]=_[_0x4e7e('0x54')](db['SalesforceConfiguration'][_0x4e7e('0x3c')]);_0x28d209[_0x4e7e('0x41')]=_[_0x4e7e('0x54')](_0x247639[_0x4e7e('0x41')]);_0x28d209[_0x4e7e('0x42')]=_[_0x4e7e('0x44')](_0x28d209[_0x4e7e('0x3f')],_0x28d209['query']);_0x59fcb7[_0x4e7e('0x43')]=_[_0x4e7e('0x44')](_0x28d209[_0x4e7e('0x3f')],qs[_0x4e7e('0x55')](_0x247639[_0x4e7e('0x41')][_0x4e7e('0x55')]));_0x59fcb7[_0x4e7e('0x43')]=_0x59fcb7[_0x4e7e('0x43')][_0x4e7e('0x45')]?_0x59fcb7[_0x4e7e('0x43')]:_0x28d209[_0x4e7e('0x3f')];_0x59fcb7['order']=qs[_0x4e7e('0x48')](_0x247639['query']['sort']);_0x59fcb7[_0x4e7e('0x49')]=qs[_0x4e7e('0x42')](_['pick'](_0x247639[_0x4e7e('0x41')],_0x28d209[_0x4e7e('0x42')]));if(_0x247639['query'][_0x4e7e('0x5b')]){_0x59fcb7['where']=_['merge'](_0x59fcb7[_0x4e7e('0x49')],{'$or':_[_0x4e7e('0x40')](_0x59fcb7['attributes'],function(_0x11328c){var _0xf147a4={};_0xf147a4[_0x11328c]={'$like':'%'+_0x247639['query'][_0x4e7e('0x5b')]+'%'};return _0xf147a4;})});}_0x59fcb7=_[_0x4e7e('0x4b')]({},_0x59fcb7,_0x247639[_0x4e7e('0x4e')]);return _0x3f1589['getConfigurations'](_0x59fcb7);}})[_0x4e7e('0x21')](function(_0x4c5fdd){if(_0x4c5fdd){_0xa5f424=_0x4c5fdd['length'];if(!_0x247639[_0x4e7e('0x41')][_0x4e7e('0x46')](_0x4e7e('0x5c'))){_0x59fcb7[_0x4e7e('0x30')]=qs[_0x4e7e('0x30')](_0x247639['query'][_0x4e7e('0x30')]);_0x59fcb7[_0x4e7e('0x2f')]=qs[_0x4e7e('0x2f')](_0x247639['query'][_0x4e7e('0x2f')]);}return _0x3f1589[_0x4e7e('0x5d')](_0x59fcb7);}})[_0x4e7e('0x21')](function(_0x2ff9c2){if(_0x2ff9c2){return _0x2ff9c2?{'count':_0xa5f424,'rows':_0x2ff9c2}:null;}})[_0x4e7e('0x21')](respondWithResult(_0x557383,null))[_0x4e7e('0x57')](handleError(_0x557383,null));};exports[_0x4e7e('0x5e')]=function(_0x2655b5,_0x45b1ce,_0x3d4dc2){if(_0x2655b5[_0x4e7e('0x59')]['id']){delete _0x2655b5['body']['id'];}return db['SalesforceAccount'][_0x4e7e('0x5a')]({'where':{'id':_0x2655b5[_0x4e7e('0x53')]['id']}})[_0x4e7e('0x21')](handleEntityNotFound(_0x45b1ce,null))[_0x4e7e('0x21')](function(_0x77399){if(_0x77399){_0x2655b5[_0x4e7e('0x59')][_0x4e7e('0x5f')]=_0x77399['id'];_0x2655b5['body'][_0x4e7e('0x60')]=integrations['getSubjects'](_0x2655b5[_0x4e7e('0x59')][_0x4e7e('0x61')],_0x2655b5[_0x4e7e('0x59')][_0x4e7e('0x4c')]);_0x2655b5[_0x4e7e('0x59')][_0x4e7e('0x62')]=integrations[_0x4e7e('0x63')](_0x2655b5[_0x4e7e('0x59')][_0x4e7e('0x61')],_0x2655b5[_0x4e7e('0x59')][_0x4e7e('0x4c')]);return db['SalesforceConfiguration'][_0x4e7e('0x58')](_0x2655b5[_0x4e7e('0x59')],{'include':[{'model':db[_0x4e7e('0x64')],'as':_0x4e7e('0x60')},{'model':db[_0x4e7e('0x64')],'as':_0x4e7e('0x62')}]});}return null;})[_0x4e7e('0x21')](respondWithResult(_0x45b1ce,null))[_0x4e7e('0x57')](handleError(_0x45b1ce,null));};exports[_0x4e7e('0x65')]=function(_0xb387f1,_0x58ad88,_0x162c0d){var _0x5d2487;var _0x55ddc0='';var _0x4b4610=_0x4e7e('0x66');return db[_0x4e7e('0x3b')][_0x4e7e('0x5a')]({'where':{'id':_0xb387f1['params']['id']},'attributes':['id',_0x4e7e('0x67'),_0x4e7e('0x68'),_0x4e7e('0x69'),'username',_0x4e7e('0x6a'),'securityToken']})[_0x4e7e('0x21')](handleEntityNotFound(_0x58ad88,null))['then'](function(_0x1a24fb){if(_0x1a24fb){_0x55ddc0=_0x1a24fb[_0x4e7e('0x67')];var _0x5ec750=_0x55ddc0[_0x4e7e('0x6b')](-0x1);if(_0x5ec750==='/'){_0x55ddc0=_0x55ddc0[_0x4e7e('0x6c')](0x0,_0x55ddc0[_0x4e7e('0x6d')](_0x5ec750));}_0x5d2487=new jsforce[(_0x4e7e('0x6e'))]({'oauth2':{'loginUrl':_0x55ddc0,'clientId':_0x1a24fb[_0x4e7e('0x68')],'clientSecret':_0x1a24fb[_0x4e7e('0x69')]}});return _0x5d2487[_0x4e7e('0x6f')](_0x1a24fb[_0x4e7e('0x70')],_0x1a24fb[_0x4e7e('0x6a')]['concat'](_0x1a24fb[_0x4e7e('0x71')]));}})['then'](function(_0x560092){if(_0x560092){if(!_[_0x4e7e('0x72')](_0xb387f1[_0x4e7e('0x41')][_0x4e7e('0x73')])){_0x4b4610=_0xb387f1[_0x4e7e('0x41')][_0x4e7e('0x73')];}return _0x5d2487[_0x4e7e('0x74')](_0x4b4610)['describe']();}})[_0x4e7e('0x21')](function(_0x5a78d4){var _0x43a02e=[_0x4e7e('0x75'),'CallDurationInSeconds',_0x4e7e('0x76'),'CallType','IsArchived',_0x4e7e('0x77'),'Status',_0x4e7e('0x78')];if(!_[_0x4e7e('0x72')](_0xb387f1[_0x4e7e('0x41')]['ticketType'])&&_0xb387f1[_0x4e7e('0x41')]['ticketType']===_0x4e7e('0x79')){_0x43a02e=[_0x4e7e('0x78'),'Origin','Reason',_0x4e7e('0x7a'),'Priority',_0x4e7e('0x7b'),_0x4e7e('0x7c'),_0x4e7e('0x7d')];}if(_0x5a78d4){_[_0x4e7e('0x7e')](_0x5a78d4[_0x4e7e('0x55')],function(_0x180669){return _0x180669[_0x4e7e('0x7f')]===![]&&!_0x43a02e[_0x4e7e('0x80')](_0x180669[_0x4e7e('0x38')]);});return{'count':_0x5a78d4[_0x4e7e('0x55')][_0x4e7e('0x45')],'rows':_[_0x4e7e('0x40')](_0x5a78d4['fields'],function(_0x2833f4){return{'id':_0x2833f4[_0x4e7e('0x38')],'name':_0x2833f4['label'],'custom':_0x2833f4[_0x4e7e('0x7f')],'options':_0x2833f4[_0x4e7e('0x81')]['length']>0x0?_[_0x4e7e('0x40')](_0x2833f4[_0x4e7e('0x81')],function(_0x5cb865){return{'name':_0x5cb865['label'],'value':_0x5cb865[_0x4e7e('0x82')]};}):_0x2833f4[_0x4e7e('0x4c')]==_0x4e7e('0x83')?[{'name':_0x4e7e('0x84'),'value':'true'},{'name':'False','value':_0x4e7e('0x85')}]:[]};})};}})[_0x4e7e('0x21')](respondWithResult(_0x58ad88,null))[_0x4e7e('0x57')](function(_0x5223a5){var _0x116841=_0xb387f1['query'][_0x4e7e('0x1e')]?0x1f4:_0x5223a5[_0x4e7e('0x86')]||0x1f4;logger['error'](_0x4e7e('0x87'),'getFields',_0x116841,JSON[_0x4e7e('0x25')](_0x5223a5));delete _0x5223a5[_0x4e7e('0x38')];if(_0x116841===0x191){_0x116841=0x190;}_0x58ad88[_0x4e7e('0x31')](_0x116841)[_0x4e7e('0x39')](_0xb387f1[_0x4e7e('0x41')][_0x4e7e('0x1e')]?{'message':_0x4e7e('0x88'),'statusCode':_0x5223a5[_0x4e7e('0x86')]}:_0x5223a5);});}; \ No newline at end of file +var _0xe1f8=['Status','IsEscalated','SuppliedName','SuppliedCompany','remove','includes','custom','picklistValues','label','True','true','false','statusCode','getFields,\x20%s,\x20%s,\x20%s','send','Wrong\x20credentials','html-pdf','eml-format','rimraf','zip-dir','request-promise','mustache','util','path','sox','to-csv','ejs','squel','jsforce','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../mysqldb','client','http','test','Sequelize','ValidationError','The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.','then','info','SalesforceAccount,\x20%s,\x20%s','request\x20sent','debug','stringify','error','message','result','status','end','json','count','offset','set','apply','save','update','destroy','sendStatus','name','map','SalesforceAccount','fieldName','type','key','model','query','keys','filters','intersection','fields','attributes','length','hasOwnProperty','limit','order','sort','pick','filter','where','merge','VIRTUAL','options','include','findAll','rows','show','rawAttributes','includeAll','catch','create','body','params','find','getConfigurations','findOne','addConfiguration','AccountId','Subjects','Descriptions','channel','SalesforceConfiguration','getFields','remoteUri','clientId','clientSecret','username','securityToken','slice','lastIndexOf','Connection','login','password','isNil','ticketType','describe','CallDisposition','CallType','Priority','Type','Reason'];(function(_0x1b5044,_0x396c4a){var _0x468298=function(_0x5582de){while(--_0x5582de){_0x1b5044['push'](_0x1b5044['shift']());}};_0x468298(++_0x396c4a);}(_0xe1f8,0x193));var _0x8e1f=function(_0x3af0af,_0x1e67c6){_0x3af0af=_0x3af0af-0x0;var _0x36c589=_0xe1f8[_0x3af0af];return _0x36c589;};'use strict';var pdf=require(_0x8e1f('0x0'));var emlformat=require(_0x8e1f('0x1'));var rimraf=require(_0x8e1f('0x2'));var zipdir=require(_0x8e1f('0x3'));var jsonpatch=require('fast-json-patch');var rp=require(_0x8e1f('0x4'));var moment=require('moment');var BPromise=require('bluebird');var Mustache=require(_0x8e1f('0x5'));var util=require(_0x8e1f('0x6'));var path=require(_0x8e1f('0x7'));var sox=require(_0x8e1f('0x8'));var csv=require(_0x8e1f('0x9'));var ejs=require(_0x8e1f('0xa'));var fs=require('fs');var _=require('lodash');var squel=require(_0x8e1f('0xb'));var crypto=require('crypto');var jsforce=require(_0x8e1f('0xc'));var deskjs=require(_0x8e1f('0xd'));var toCsv=require(_0x8e1f('0x9'));var querystring=require(_0x8e1f('0xe'));var Papa=require(_0x8e1f('0xf'));var Redis=require(_0x8e1f('0x10'));var authService=require(_0x8e1f('0x11'));var qs=require(_0x8e1f('0x12'));var as=require(_0x8e1f('0x13'));var hardwareService=require(_0x8e1f('0x14'));var logger=require(_0x8e1f('0x15'))(_0x8e1f('0x16'));var utils=require(_0x8e1f('0x17'));var config=require('../../config/environment');var db=require(_0x8e1f('0x18'))['db'];var integrations=require('../../components/integrations/configuration');var jayson=require('jayson/promise');var client=jayson[_0x8e1f('0x19')][_0x8e1f('0x1a')]({'port':0x232a});function checkPasswordPattern(_0x5a44df,_0x584575,_0x2978bb){if(_0x2978bb){var _0x75b212=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0x75b212[_0x8e1f('0x1b')](_0x584575)){return _0x5a44df;}else{throw new db[(_0x8e1f('0x1c'))][(_0x8e1f('0x1d'))](_0x8e1f('0x1e'));}}else{return _0x5a44df;}}function respondWithRpcPromise(_0x34a274,_0x803925,_0x16dabf,_0x48dfc9){return new BPromise(function(_0x37b160,_0x9e52e1){var _0x294cf8=_0x48dfc9||client;return _0x294cf8['request'](_0x34a274,_0x16dabf)[_0x8e1f('0x1f')](function(_0x15ed0b){logger[_0x8e1f('0x20')](_0x8e1f('0x21'),_0x803925,_0x8e1f('0x22'));logger[_0x8e1f('0x23')]('SalesforceAccount,\x20%s,\x20%s,\x20%s',_0x803925,_0x8e1f('0x22'),JSON[_0x8e1f('0x24')](_0x15ed0b));if(_0x15ed0b[_0x8e1f('0x25')]){if(_0x15ed0b['error']['code']===0x1f4){logger['error'](_0x8e1f('0x21'),_0x803925,_0x15ed0b[_0x8e1f('0x25')][_0x8e1f('0x26')]);return _0x9e52e1(_0x15ed0b[_0x8e1f('0x25')][_0x8e1f('0x26')]);}logger[_0x8e1f('0x25')]('SalesforceAccount,\x20%s,\x20%s',_0x803925,_0x15ed0b['error'][_0x8e1f('0x26')]);return _0x37b160(_0x15ed0b[_0x8e1f('0x25')][_0x8e1f('0x26')]);}else{logger[_0x8e1f('0x20')](_0x8e1f('0x21'),_0x803925,_0x8e1f('0x22'));_0x37b160(_0x15ed0b[_0x8e1f('0x27')]['message']);}})['catch'](function(_0x6fe8ef){logger[_0x8e1f('0x25')]('SalesforceAccount,\x20%s,\x20%s',_0x803925,_0x6fe8ef);_0x9e52e1(_0x6fe8ef);});});}function respondWithStatusCode(_0x3dab7a,_0xf91f99){_0xf91f99=_0xf91f99||0xcc;return function(_0x1b62ec){if(_0x1b62ec){return _0x3dab7a['sendStatus'](_0xf91f99);}return _0x3dab7a[_0x8e1f('0x28')](_0xf91f99)[_0x8e1f('0x29')]();};}function respondWithResult(_0x2e6f48,_0x432aba){_0x432aba=_0x432aba||0xc8;return function(_0x3e4a8c){if(_0x3e4a8c){return _0x2e6f48[_0x8e1f('0x28')](_0x432aba)[_0x8e1f('0x2a')](_0x3e4a8c);}};}function respondWithFilteredResult(_0x317e55,_0x3b2316){return function(_0x2d60ac){if(_0x2d60ac){var _0x478323=_0x2d60ac[_0x8e1f('0x2b')],_0x395453=_0x3b2316[_0x8e1f('0x2c')],_0x57ba76=_0x3b2316[_0x8e1f('0x2c')]+_0x3b2316['limit'],_0x38b1f2;if(_0x57ba76>=_0x478323){_0x57ba76=_0x478323;_0x38b1f2=0xc8;}else{_0x38b1f2=0xce;}_0x317e55['status'](_0x38b1f2);return _0x317e55[_0x8e1f('0x2d')]('Content-Range',_0x395453+'-'+_0x57ba76+'/'+_0x478323)['json'](_0x2d60ac);}return null;};}function patchUpdates(_0x58f131){return function(_0x36b21d){try{jsonpatch[_0x8e1f('0x2e')](_0x36b21d,_0x58f131,!![]);}catch(_0x2a1df0){return BPromise['reject'](_0x2a1df0);}return _0x36b21d[_0x8e1f('0x2f')]();};}function saveUpdates(_0x8b1e6b,_0x9abe9e){return function(_0x5cd272){if(_0x5cd272){return _0x5cd272[_0x8e1f('0x30')](_0x8b1e6b)['then'](function(_0x4e6a58){return _0x4e6a58;});}return null;};}function removeEntity(_0xde8acf,_0xdf862d){return function(_0x365953){if(_0x365953){return _0x365953[_0x8e1f('0x31')]()[_0x8e1f('0x1f')](function(){_0xde8acf[_0x8e1f('0x28')](0xcc)['end']();});}};}function handleEntityNotFound(_0x485fbd,_0x1f1b3f){return function(_0x20950d){if(!_0x20950d){_0x485fbd[_0x8e1f('0x32')](0x194);}return _0x20950d;};}function handleError(_0x2d5aa9,_0x2de275){_0x2de275=_0x2de275||0x1f4;return function(_0xc778f1){logger[_0x8e1f('0x25')](_0xc778f1['stack']);if(_0xc778f1[_0x8e1f('0x33')]){delete _0xc778f1[_0x8e1f('0x33')];}_0x2d5aa9[_0x8e1f('0x28')](_0x2de275)['send'](_0xc778f1);};}exports['index']=function(_0x949c0d,_0x596ab3){var _0x312b5c={},_0x346057={},_0x6a71db={'count':0x0,'rows':[]};var _0x5c5743=_[_0x8e1f('0x34')](db[_0x8e1f('0x35')]['rawAttributes'],function(_0x2c7429){return{'name':_0x2c7429[_0x8e1f('0x36')],'type':_0x2c7429[_0x8e1f('0x37')][_0x8e1f('0x38')]};});_0x346057[_0x8e1f('0x39')]=_['map'](_0x5c5743,_0x8e1f('0x33'));_0x346057[_0x8e1f('0x3a')]=_[_0x8e1f('0x3b')](_0x949c0d[_0x8e1f('0x3a')]);_0x346057[_0x8e1f('0x3c')]=_[_0x8e1f('0x3d')](_0x346057[_0x8e1f('0x39')],_0x346057[_0x8e1f('0x3a')]);_0x312b5c['attributes']=_[_0x8e1f('0x3d')](_0x346057[_0x8e1f('0x39')],qs['fields'](_0x949c0d[_0x8e1f('0x3a')][_0x8e1f('0x3e')]));_0x312b5c[_0x8e1f('0x3f')]=_0x312b5c['attributes'][_0x8e1f('0x40')]?_0x312b5c[_0x8e1f('0x3f')]:_0x346057[_0x8e1f('0x39')];if(!_0x949c0d[_0x8e1f('0x3a')][_0x8e1f('0x41')]('nolimit')){_0x312b5c[_0x8e1f('0x42')]=qs['limit'](_0x949c0d[_0x8e1f('0x3a')]['limit']);_0x312b5c[_0x8e1f('0x2c')]=qs[_0x8e1f('0x2c')](_0x949c0d[_0x8e1f('0x3a')][_0x8e1f('0x2c')]);}_0x312b5c[_0x8e1f('0x43')]=qs[_0x8e1f('0x44')](_0x949c0d[_0x8e1f('0x3a')][_0x8e1f('0x44')]);_0x312b5c['where']=qs[_0x8e1f('0x3c')](_[_0x8e1f('0x45')](_0x949c0d['query'],_0x346057[_0x8e1f('0x3c')]),_0x5c5743);if(_0x949c0d[_0x8e1f('0x3a')][_0x8e1f('0x46')]){_0x312b5c[_0x8e1f('0x47')]=_[_0x8e1f('0x48')](_0x312b5c['where'],{'$or':_['map'](_0x5c5743,function(_0x4a9a68){if(_0x4a9a68['type']!==_0x8e1f('0x49')){var _0x5de753={};_0x5de753[_0x4a9a68['name']]={'$like':'%'+_0x949c0d[_0x8e1f('0x3a')][_0x8e1f('0x46')]+'%'};return _0x5de753;}})});}_0x312b5c=_[_0x8e1f('0x48')]({},_0x312b5c,_0x949c0d[_0x8e1f('0x4a')]);var _0x2cecbb={'where':_0x312b5c[_0x8e1f('0x47')]};return db[_0x8e1f('0x35')][_0x8e1f('0x2b')](_0x2cecbb)[_0x8e1f('0x1f')](function(_0x1f530c){_0x6a71db[_0x8e1f('0x2b')]=_0x1f530c;if(_0x949c0d['query']['includeAll']){_0x312b5c[_0x8e1f('0x4b')]=[{'all':!![]}];}return db[_0x8e1f('0x35')][_0x8e1f('0x4c')](_0x312b5c);})[_0x8e1f('0x1f')](function(_0x519430){_0x6a71db[_0x8e1f('0x4d')]=_0x519430;return _0x6a71db;})[_0x8e1f('0x1f')](respondWithFilteredResult(_0x596ab3,_0x312b5c))['catch'](handleError(_0x596ab3,null));};exports[_0x8e1f('0x4e')]=function(_0x11fa52,_0x71df0b){var _0x2831d8={'raw':![],'where':{'id':_0x11fa52['params']['id']}},_0x4e384d={};_0x4e384d[_0x8e1f('0x39')]=_['keys'](db[_0x8e1f('0x35')][_0x8e1f('0x4f')]);_0x4e384d[_0x8e1f('0x3a')]=_[_0x8e1f('0x3b')](_0x11fa52[_0x8e1f('0x3a')]);_0x4e384d[_0x8e1f('0x3c')]=_[_0x8e1f('0x3d')](_0x4e384d[_0x8e1f('0x39')],_0x4e384d[_0x8e1f('0x3a')]);_0x2831d8[_0x8e1f('0x3f')]=_[_0x8e1f('0x3d')](_0x4e384d[_0x8e1f('0x39')],qs[_0x8e1f('0x3e')](_0x11fa52[_0x8e1f('0x3a')][_0x8e1f('0x3e')]));_0x2831d8['attributes']=_0x2831d8[_0x8e1f('0x3f')][_0x8e1f('0x40')]?_0x2831d8[_0x8e1f('0x3f')]:_0x4e384d[_0x8e1f('0x39')];if(_0x11fa52['query'][_0x8e1f('0x50')]){_0x2831d8[_0x8e1f('0x4b')]=[{'all':!![]}];}_0x2831d8=_[_0x8e1f('0x48')]({},_0x2831d8,_0x11fa52[_0x8e1f('0x4a')]);return db[_0x8e1f('0x35')]['find'](_0x2831d8)[_0x8e1f('0x1f')](handleEntityNotFound(_0x71df0b,null))['then'](respondWithResult(_0x71df0b,null))[_0x8e1f('0x51')](handleError(_0x71df0b,null));};exports[_0x8e1f('0x52')]=function(_0x558ffb,_0x98010a){return db['SalesforceAccount'][_0x8e1f('0x52')](_0x558ffb[_0x8e1f('0x53')],{})['then'](respondWithResult(_0x98010a,0xc9))[_0x8e1f('0x51')](handleError(_0x98010a,null));};exports[_0x8e1f('0x30')]=function(_0x276617,_0x50ba52){if(_0x276617['body']['id']){delete _0x276617[_0x8e1f('0x53')]['id'];}return db[_0x8e1f('0x35')]['find']({'where':{'id':_0x276617[_0x8e1f('0x54')]['id']}})[_0x8e1f('0x1f')](handleEntityNotFound(_0x50ba52,null))[_0x8e1f('0x1f')](saveUpdates(_0x276617['body'],null))[_0x8e1f('0x1f')](respondWithResult(_0x50ba52,null))[_0x8e1f('0x51')](handleError(_0x50ba52,null));};exports[_0x8e1f('0x31')]=function(_0x5f0e3d,_0xd876f2){return db[_0x8e1f('0x35')][_0x8e1f('0x55')]({'where':{'id':_0x5f0e3d[_0x8e1f('0x54')]['id']}})[_0x8e1f('0x1f')](handleEntityNotFound(_0xd876f2,null))[_0x8e1f('0x1f')](removeEntity(_0xd876f2,null))[_0x8e1f('0x51')](handleError(_0xd876f2,null));};exports[_0x8e1f('0x56')]=function(_0x2a9389,_0xc20a4b,_0xee8ee3){var _0x2a2391={};var _0x245d62={};var _0x110f00;var _0x20aad4;return db[_0x8e1f('0x35')][_0x8e1f('0x57')]({'where':{'id':_0x2a9389['params']['id']}})[_0x8e1f('0x1f')](handleEntityNotFound(_0xc20a4b,null))['then'](function(_0x2a4c24){if(_0x2a4c24){_0x110f00=_0x2a4c24;_0x245d62[_0x8e1f('0x39')]=_[_0x8e1f('0x3b')](db['SalesforceConfiguration']['rawAttributes']);_0x245d62[_0x8e1f('0x3a')]=_['keys'](_0x2a9389[_0x8e1f('0x3a')]);_0x245d62[_0x8e1f('0x3c')]=_[_0x8e1f('0x3d')](_0x245d62['model'],_0x245d62[_0x8e1f('0x3a')]);_0x2a2391[_0x8e1f('0x3f')]=_[_0x8e1f('0x3d')](_0x245d62[_0x8e1f('0x39')],qs[_0x8e1f('0x3e')](_0x2a9389[_0x8e1f('0x3a')]['fields']));_0x2a2391[_0x8e1f('0x3f')]=_0x2a2391['attributes']['length']?_0x2a2391['attributes']:_0x245d62['model'];_0x2a2391[_0x8e1f('0x43')]=qs[_0x8e1f('0x44')](_0x2a9389['query'][_0x8e1f('0x44')]);_0x2a2391['where']=qs[_0x8e1f('0x3c')](_[_0x8e1f('0x45')](_0x2a9389['query'],_0x245d62['filters']));if(_0x2a9389[_0x8e1f('0x3a')][_0x8e1f('0x46')]){_0x2a2391[_0x8e1f('0x47')]=_['merge'](_0x2a2391[_0x8e1f('0x47')],{'$or':_[_0x8e1f('0x34')](_0x2a2391[_0x8e1f('0x3f')],function(_0x42407a){var _0x3d9a84={};_0x3d9a84[_0x42407a]={'$like':'%'+_0x2a9389[_0x8e1f('0x3a')]['filter']+'%'};return _0x3d9a84;})});}_0x2a2391=_[_0x8e1f('0x48')]({},_0x2a2391,_0x2a9389[_0x8e1f('0x4a')]);return _0x110f00[_0x8e1f('0x56')](_0x2a2391);}})[_0x8e1f('0x1f')](function(_0x2bad76){if(_0x2bad76){_0x20aad4=_0x2bad76[_0x8e1f('0x40')];if(!_0x2a9389[_0x8e1f('0x3a')][_0x8e1f('0x41')]('nolimit')){_0x2a2391[_0x8e1f('0x42')]=qs[_0x8e1f('0x42')](_0x2a9389[_0x8e1f('0x3a')][_0x8e1f('0x42')]);_0x2a2391[_0x8e1f('0x2c')]=qs['offset'](_0x2a9389[_0x8e1f('0x3a')]['offset']);}return _0x110f00['getConfigurations'](_0x2a2391);}})[_0x8e1f('0x1f')](function(_0x854503){if(_0x854503){return _0x854503?{'count':_0x20aad4,'rows':_0x854503}:null;}})[_0x8e1f('0x1f')](respondWithResult(_0xc20a4b,null))['catch'](handleError(_0xc20a4b,null));};exports[_0x8e1f('0x58')]=function(_0x3d1cdd,_0x50493e,_0x167367){if(_0x3d1cdd[_0x8e1f('0x53')]['id']){delete _0x3d1cdd['body']['id'];}return db[_0x8e1f('0x35')][_0x8e1f('0x57')]({'where':{'id':_0x3d1cdd[_0x8e1f('0x54')]['id']}})[_0x8e1f('0x1f')](handleEntityNotFound(_0x50493e,null))['then'](function(_0x2ed27c){if(_0x2ed27c){_0x3d1cdd[_0x8e1f('0x53')][_0x8e1f('0x59')]=_0x2ed27c['id'];_0x3d1cdd[_0x8e1f('0x53')][_0x8e1f('0x5a')]=integrations['getSubjects'](_0x3d1cdd['body']['channel'],_0x3d1cdd[_0x8e1f('0x53')][_0x8e1f('0x37')]);_0x3d1cdd[_0x8e1f('0x53')][_0x8e1f('0x5b')]=integrations['getDescriptions'](_0x3d1cdd[_0x8e1f('0x53')][_0x8e1f('0x5c')],_0x3d1cdd[_0x8e1f('0x53')][_0x8e1f('0x37')]);return db[_0x8e1f('0x5d')][_0x8e1f('0x52')](_0x3d1cdd[_0x8e1f('0x53')],{'include':[{'model':db['SalesforceField'],'as':'Subjects'},{'model':db['SalesforceField'],'as':'Descriptions'}]});}return null;})[_0x8e1f('0x1f')](respondWithResult(_0x50493e,null))['catch'](handleError(_0x50493e,null));};exports[_0x8e1f('0x5e')]=function(_0x3029f4,_0x1fed55,_0x473e07){var _0x1d950c;var _0x1b5820='';var _0x1e2e6a='Task';return db[_0x8e1f('0x35')][_0x8e1f('0x57')]({'where':{'id':_0x3029f4[_0x8e1f('0x54')]['id']},'attributes':['id',_0x8e1f('0x5f'),_0x8e1f('0x60'),_0x8e1f('0x61'),_0x8e1f('0x62'),'password',_0x8e1f('0x63')]})[_0x8e1f('0x1f')](handleEntityNotFound(_0x1fed55,null))[_0x8e1f('0x1f')](function(_0x542291){if(_0x542291){_0x1b5820=_0x542291[_0x8e1f('0x5f')];var _0xd67eb4=_0x1b5820[_0x8e1f('0x64')](-0x1);if(_0xd67eb4==='/'){_0x1b5820=_0x1b5820['substring'](0x0,_0x1b5820[_0x8e1f('0x65')](_0xd67eb4));}_0x1d950c=new jsforce[(_0x8e1f('0x66'))]({'oauth2':{'loginUrl':_0x1b5820,'clientId':_0x542291['clientId'],'clientSecret':_0x542291[_0x8e1f('0x61')]}});return _0x1d950c[_0x8e1f('0x67')](_0x542291['username'],_0x542291[_0x8e1f('0x68')]['concat'](_0x542291[_0x8e1f('0x63')]));}})[_0x8e1f('0x1f')](function(_0x4b1903){if(_0x4b1903){if(!_[_0x8e1f('0x69')](_0x3029f4[_0x8e1f('0x3a')]['ticketType'])){_0x1e2e6a=_0x3029f4[_0x8e1f('0x3a')][_0x8e1f('0x6a')];}return _0x1d950c['sobject'](_0x1e2e6a)[_0x8e1f('0x6b')]();}})['then'](function(_0x25b1b9){var _0xe0ced9=[_0x8e1f('0x6c'),'CallDurationInSeconds','CallObject',_0x8e1f('0x6d'),'IsArchived',_0x8e1f('0x6e'),'Status',_0x8e1f('0x6f')];if(!_['isNil'](_0x3029f4[_0x8e1f('0x3a')][_0x8e1f('0x6a')])&&_0x3029f4[_0x8e1f('0x3a')]['ticketType']==='Case'){_0xe0ced9=[_0x8e1f('0x6f'),'Origin',_0x8e1f('0x70'),_0x8e1f('0x71'),_0x8e1f('0x6e'),_0x8e1f('0x72'),_0x8e1f('0x73'),_0x8e1f('0x74')];}if(_0x25b1b9){_[_0x8e1f('0x75')](_0x25b1b9['fields'],function(_0x311ea9){return _0x311ea9['custom']===![]&&!_0xe0ced9[_0x8e1f('0x76')](_0x311ea9[_0x8e1f('0x33')]);});return{'count':_0x25b1b9[_0x8e1f('0x3e')][_0x8e1f('0x40')],'rows':_[_0x8e1f('0x34')](_0x25b1b9[_0x8e1f('0x3e')],function(_0x47c91a){return{'id':_0x47c91a[_0x8e1f('0x33')],'name':_0x47c91a['label'],'custom':_0x47c91a[_0x8e1f('0x77')],'options':_0x47c91a[_0x8e1f('0x78')][_0x8e1f('0x40')]>0x0?_[_0x8e1f('0x34')](_0x47c91a['picklistValues'],function(_0x1edd33){return{'name':_0x1edd33[_0x8e1f('0x79')],'value':_0x1edd33['value']};}):_0x47c91a['type']=='boolean'?[{'name':_0x8e1f('0x7a'),'value':_0x8e1f('0x7b')},{'name':'False','value':_0x8e1f('0x7c')}]:[]};})};}})[_0x8e1f('0x1f')](respondWithResult(_0x1fed55,null))[_0x8e1f('0x51')](function(_0x25637c){var _0x34636e=_0x3029f4[_0x8e1f('0x3a')][_0x8e1f('0x1b')]?0x1f4:_0x25637c[_0x8e1f('0x7d')]||0x1f4;logger[_0x8e1f('0x25')](_0x8e1f('0x7e'),'getFields',_0x34636e,JSON[_0x8e1f('0x24')](_0x25637c));delete _0x25637c['name'];if(_0x34636e===0x191){_0x34636e=0x190;}_0x1fed55['status'](_0x34636e)[_0x8e1f('0x7f')](_0x3029f4[_0x8e1f('0x3a')][_0x8e1f('0x1b')]?{'message':_0x8e1f('0x80'),'statusCode':_0x25637c[_0x8e1f('0x7d')]}:_0x25637c);});}; \ No newline at end of file diff --git a/server/api/intSalesforceAccount/intSalesforceAccount.model.js b/server/api/intSalesforceAccount/intSalesforceAccount.model.js index 20c04ea..4e9b6a4 100644 --- a/server/api/intSalesforceAccount/intSalesforceAccount.model.js +++ b/server/api/intSalesforceAccount/intSalesforceAccount.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x292c=['rimraf','../../components/integrations/configuration','exports','define','SalesforceAccount','int_salesforce_accounts','lodash','../../config/logger','api','moment','bluebird','request-promise'];(function(_0x465028,_0x4570ac){var _0xb783d4=function(_0x5458c5){while(--_0x5458c5){_0x465028['push'](_0x465028['shift']());}};_0xb783d4(++_0x4570ac);}(_0x292c,0x66));var _0xc292=function(_0x48b5e0,_0xb3826){_0x48b5e0=_0x48b5e0-0x0;var _0x4287ea=_0x292c[_0x48b5e0];return _0x4287ea;};'use strict';var _=require(_0xc292('0x0'));var util=require('util');var logger=require(_0xc292('0x1'))(_0xc292('0x2'));var moment=require(_0xc292('0x3'));var BPromise=require(_0xc292('0x4'));var rp=require(_0xc292('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0xc292('0x6'));var config=require('../../config/environment');var attributes=require('./intSalesforceAccount.attributes');var integrations=require(_0xc292('0x7'));module[_0xc292('0x8')]=function(_0x2c01eb,_0x262ac8){return _0x2c01eb[_0xc292('0x9')](_0xc292('0xa'),attributes,{'tableName':_0xc292('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0x3bb2=['./intSalesforceAccount.attributes','../../components/integrations/configuration','exports','define','SalesforceAccount','int_salesforce_accounts','lodash','../../config/logger','api','bluebird','request-promise','path','rimraf','../../config/environment'];(function(_0x4fb1b7,_0x55f67c){var _0x38a0f4=function(_0x24c6a5){while(--_0x24c6a5){_0x4fb1b7['push'](_0x4fb1b7['shift']());}};_0x38a0f4(++_0x55f67c);}(_0x3bb2,0xe6));var _0x23bb=function(_0xb8d742,_0x2b6661){_0xb8d742=_0xb8d742-0x0;var _0x2da393=_0x3bb2[_0xb8d742];return _0x2da393;};'use strict';var _=require(_0x23bb('0x0'));var util=require('util');var logger=require(_0x23bb('0x1'))(_0x23bb('0x2'));var moment=require('moment');var BPromise=require(_0x23bb('0x3'));var rp=require(_0x23bb('0x4'));var fs=require('fs');var path=require(_0x23bb('0x5'));var rimraf=require(_0x23bb('0x6'));var config=require(_0x23bb('0x7'));var attributes=require(_0x23bb('0x8'));var integrations=require(_0x23bb('0x9'));module[_0x23bb('0xa')]=function(_0x7985df,_0x21c2a7){return _0x7985df[_0x23bb('0xb')](_0x23bb('0xc'),attributes,{'tableName':_0x23bb('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/intSalesforceAccount/intSalesforceAccount.rpc.js b/server/api/intSalesforceAccount/intSalesforceAccount.rpc.js index 5531bb6..e524b3a 100644 --- a/server/api/intSalesforceAccount/intSalesforceAccount.rpc.js +++ b/server/api/intSalesforceAccount/intSalesforceAccount.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x00bb=['map','then','GetSalesforceAccount','ShowSalesforceAccount','find','raw','where','lodash','util','moment','randomstring','../../mysqldb','../../config/utils','rpc','../../config/environment','request','info','SalesforceAccount,\x20%s,\x20%s','request\x20sent','debug','SalesforceAccount,\x20%s,\x20%s,\x20%s','stringify','error','message','catch','SalesforceAccount','options','attributes','limit','include','model'];(function(_0xc65834,_0x5df6fb){var _0x5da298=function(_0x30fbc2){while(--_0x30fbc2){_0xc65834['push'](_0xc65834['shift']());}};_0x5da298(++_0x5df6fb);}(_0x00bb,0x1d8));var _0xb00b=function(_0x47a7d0,_0x4e182d){_0x47a7d0=_0x47a7d0-0x0;var _0xb9bd08=_0x00bb[_0x47a7d0];return _0xb9bd08;};'use strict';var _=require(_0xb00b('0x0'));var util=require(_0xb00b('0x1'));var moment=require(_0xb00b('0x2'));var BPromise=require('bluebird');var rs=require(_0xb00b('0x3'));var fs=require('fs');var Redis=require('ioredis');var db=require(_0xb00b('0x4'))['db'];var utils=require(_0xb00b('0x5'));var logger=require('../../config/logger')(_0xb00b('0x6'));var config=require(_0xb00b('0x7'));var jayson=require('jayson/promise');var client=jayson['client']['http']({'port':0x232a});function respondWithRpcPromise(_0x36e363,_0xf737d0,_0x41dfc9){return new BPromise(function(_0x37f07d,_0xfa4181){return client[_0xb00b('0x8')](_0x36e363,_0x41dfc9)['then'](function(_0x51d12b){logger[_0xb00b('0x9')](_0xb00b('0xa'),_0xf737d0,_0xb00b('0xb'));logger[_0xb00b('0xc')](_0xb00b('0xd'),_0xf737d0,'request\x20sent',JSON[_0xb00b('0xe')](_0x51d12b));if(_0x51d12b['error']){if(_0x51d12b['error']['code']===0x1f4){logger[_0xb00b('0xf')](_0xb00b('0xa'),_0xf737d0,_0x51d12b[_0xb00b('0xf')][_0xb00b('0x10')]);return _0xfa4181(_0x51d12b[_0xb00b('0xf')][_0xb00b('0x10')]);}logger['error'](_0xb00b('0xa'),_0xf737d0,_0x51d12b[_0xb00b('0xf')]['message']);return _0x37f07d(_0x51d12b[_0xb00b('0xf')][_0xb00b('0x10')]);}else{logger['info']('SalesforceAccount,\x20%s,\x20%s',_0xf737d0,_0xb00b('0xb'));_0x37f07d(_0x51d12b['result']['message']);}})[_0xb00b('0x11')](function(_0x638443){logger[_0xb00b('0xf')](_0xb00b('0xa'),_0xf737d0,_0x638443);_0xfa4181(_0x638443);});});}exports['GetSalesforceAccount']=function(_0x2a7231){var _0x599347=this;return new Promise(function(_0x415f91,_0x5aa9a0){return db[_0xb00b('0x12')]['findAll']({'raw':_0x2a7231[_0xb00b('0x13')]?_0x2a7231[_0xb00b('0x13')]['raw']===undefined?!![]:![]:!![],'where':_0x2a7231['options']?_0x2a7231[_0xb00b('0x13')]['where']||null:null,'attributes':_0x2a7231[_0xb00b('0x13')]?_0x2a7231[_0xb00b('0x13')][_0xb00b('0x14')]||null:null,'limit':_0x2a7231[_0xb00b('0x13')]?_0x2a7231['options'][_0xb00b('0x15')]||null:null,'include':_0x2a7231['options']?_0x2a7231[_0xb00b('0x13')][_0xb00b('0x16')]?_['map'](_0x2a7231[_0xb00b('0x13')][_0xb00b('0x16')],function(_0x520444){return{'model':db[_0x520444[_0xb00b('0x17')]],'as':_0x520444['as'],'attributes':_0x520444[_0xb00b('0x14')],'include':_0x520444['include']?_[_0xb00b('0x18')](_0x520444[_0xb00b('0x16')],function(_0x3c9500){return{'model':db[_0x3c9500[_0xb00b('0x17')]],'as':_0x3c9500['as'],'attributes':_0x3c9500['attributes'],'include':_0x3c9500['include']?_[_0xb00b('0x18')](_0x3c9500['include'],function(_0x550587){return{'model':db[_0x550587['model']],'as':_0x550587['as'],'attributes':_0x550587[_0xb00b('0x14')]};}):[]};}):[]};}):[]:[]})[_0xb00b('0x19')](function(_0x2592cf){logger[_0xb00b('0x9')](_0xb00b('0x1a'),_0x2a7231);logger[_0xb00b('0xc')](_0xb00b('0x1a'),_0x2a7231,JSON['stringify'](_0x2592cf));_0x415f91(_0x2592cf);})[_0xb00b('0x11')](function(_0x503c9c){logger[_0xb00b('0xf')](_0xb00b('0x1a'),_0x503c9c[_0xb00b('0x10')],_0x2a7231);_0x5aa9a0(_0x599347['error'](0x1f4,_0x503c9c[_0xb00b('0x10')]));});});};exports[_0xb00b('0x1b')]=function(_0x16fbd5){var _0x183233=this;return new Promise(function(_0x303625,_0x2b9824){return db[_0xb00b('0x12')][_0xb00b('0x1c')]({'raw':_0x16fbd5[_0xb00b('0x13')]?_0x16fbd5['options'][_0xb00b('0x1d')]===undefined?!![]:![]:!![],'where':_0x16fbd5[_0xb00b('0x13')]?_0x16fbd5['options'][_0xb00b('0x1e')]||null:null,'attributes':_0x16fbd5[_0xb00b('0x13')]?_0x16fbd5['options'][_0xb00b('0x14')]||null:null,'include':_0x16fbd5['options']?_0x16fbd5[_0xb00b('0x13')][_0xb00b('0x16')]?_[_0xb00b('0x18')](_0x16fbd5[_0xb00b('0x13')][_0xb00b('0x16')],function(_0x1436ad){return{'model':db[_0x1436ad[_0xb00b('0x17')]],'as':_0x1436ad['as'],'attributes':_0x1436ad['attributes'],'include':_0x1436ad['include']?_['map'](_0x1436ad[_0xb00b('0x16')],function(_0xc21102){return{'model':db[_0xc21102[_0xb00b('0x17')]],'as':_0xc21102['as'],'attributes':_0xc21102[_0xb00b('0x14')],'include':_0xc21102['include']?_[_0xb00b('0x18')](_0xc21102[_0xb00b('0x16')],function(_0x341f46){return{'model':db[_0x341f46[_0xb00b('0x17')]],'as':_0x341f46['as'],'attributes':_0x341f46[_0xb00b('0x14')]};}):[]};}):[]};}):[]:[]})[_0xb00b('0x19')](function(_0x8785ec){logger[_0xb00b('0x9')]('ShowSalesforceAccount',_0x16fbd5);logger['debug'](_0xb00b('0x1b'),_0x16fbd5,JSON['stringify'](_0x8785ec));_0x303625(_0x8785ec);})[_0xb00b('0x11')](function(_0x1c5400){logger[_0xb00b('0xf')](_0xb00b('0x1b'),_0x1c5400[_0xb00b('0x10')],_0x16fbd5);_0x2b9824(_0x183233[_0xb00b('0xf')](0x1f4,_0x1c5400[_0xb00b('0x10')]));});});}; \ No newline at end of file +var _0xfd28=['randomstring','../../mysqldb','../../config/utils','../../config/logger','../../config/environment','jayson/promise','client','http','request','SalesforceAccount,\x20%s,\x20%s','debug','request\x20sent','error','code','message','info','result','GetSalesforceAccount','SalesforceAccount','findAll','options','where','attributes','map','include','model','stringify','catch','ShowSalesforceAccount','raw','then','util','moment'];(function(_0x1b3bca,_0x4b9094){var _0x6ca813=function(_0x5b0a8d){while(--_0x5b0a8d){_0x1b3bca['push'](_0x1b3bca['shift']());}};_0x6ca813(++_0x4b9094);}(_0xfd28,0x148));var _0x8fd2=function(_0xcfeff4,_0x3f2e19){_0xcfeff4=_0xcfeff4-0x0;var _0xb2fadc=_0xfd28[_0xcfeff4];return _0xb2fadc;};'use strict';var _=require('lodash');var util=require(_0x8fd2('0x0'));var moment=require(_0x8fd2('0x1'));var BPromise=require('bluebird');var rs=require(_0x8fd2('0x2'));var fs=require('fs');var Redis=require('ioredis');var db=require(_0x8fd2('0x3'))['db'];var utils=require(_0x8fd2('0x4'));var logger=require(_0x8fd2('0x5'))('rpc');var config=require(_0x8fd2('0x6'));var jayson=require(_0x8fd2('0x7'));var client=jayson[_0x8fd2('0x8')][_0x8fd2('0x9')]({'port':0x232a});function respondWithRpcPromise(_0x2f0afc,_0x4bdc1a,_0x53d938){return new BPromise(function(_0x10fccf,_0x466c3d){return client[_0x8fd2('0xa')](_0x2f0afc,_0x53d938)['then'](function(_0x13cc69){logger['info'](_0x8fd2('0xb'),_0x4bdc1a,'request\x20sent');logger[_0x8fd2('0xc')]('SalesforceAccount,\x20%s,\x20%s,\x20%s',_0x4bdc1a,_0x8fd2('0xd'),JSON['stringify'](_0x13cc69));if(_0x13cc69[_0x8fd2('0xe')]){if(_0x13cc69['error'][_0x8fd2('0xf')]===0x1f4){logger[_0x8fd2('0xe')](_0x8fd2('0xb'),_0x4bdc1a,_0x13cc69[_0x8fd2('0xe')][_0x8fd2('0x10')]);return _0x466c3d(_0x13cc69[_0x8fd2('0xe')][_0x8fd2('0x10')]);}logger[_0x8fd2('0xe')](_0x8fd2('0xb'),_0x4bdc1a,_0x13cc69[_0x8fd2('0xe')][_0x8fd2('0x10')]);return _0x10fccf(_0x13cc69[_0x8fd2('0xe')][_0x8fd2('0x10')]);}else{logger[_0x8fd2('0x11')](_0x8fd2('0xb'),_0x4bdc1a,'request\x20sent');_0x10fccf(_0x13cc69[_0x8fd2('0x12')]['message']);}})['catch'](function(_0x56f75d){logger[_0x8fd2('0xe')](_0x8fd2('0xb'),_0x4bdc1a,_0x56f75d);_0x466c3d(_0x56f75d);});});}exports[_0x8fd2('0x13')]=function(_0x12e8a3){var _0x5c8b3c=this;return new Promise(function(_0xabbeb4,_0x708421){return db[_0x8fd2('0x14')][_0x8fd2('0x15')]({'raw':_0x12e8a3[_0x8fd2('0x16')]?_0x12e8a3['options']['raw']===undefined?!![]:![]:!![],'where':_0x12e8a3[_0x8fd2('0x16')]?_0x12e8a3['options'][_0x8fd2('0x17')]||null:null,'attributes':_0x12e8a3['options']?_0x12e8a3[_0x8fd2('0x16')][_0x8fd2('0x18')]||null:null,'limit':_0x12e8a3['options']?_0x12e8a3[_0x8fd2('0x16')]['limit']||null:null,'include':_0x12e8a3[_0x8fd2('0x16')]?_0x12e8a3[_0x8fd2('0x16')]['include']?_[_0x8fd2('0x19')](_0x12e8a3[_0x8fd2('0x16')][_0x8fd2('0x1a')],function(_0x490ea5){return{'model':db[_0x490ea5[_0x8fd2('0x1b')]],'as':_0x490ea5['as'],'attributes':_0x490ea5[_0x8fd2('0x18')],'include':_0x490ea5[_0x8fd2('0x1a')]?_[_0x8fd2('0x19')](_0x490ea5[_0x8fd2('0x1a')],function(_0x25db4e){return{'model':db[_0x25db4e[_0x8fd2('0x1b')]],'as':_0x25db4e['as'],'attributes':_0x25db4e[_0x8fd2('0x18')],'include':_0x25db4e[_0x8fd2('0x1a')]?_[_0x8fd2('0x19')](_0x25db4e[_0x8fd2('0x1a')],function(_0x1f3237){return{'model':db[_0x1f3237[_0x8fd2('0x1b')]],'as':_0x1f3237['as'],'attributes':_0x1f3237['attributes']};}):[]};}):[]};}):[]:[]})['then'](function(_0x345bc3){logger[_0x8fd2('0x11')](_0x8fd2('0x13'),_0x12e8a3);logger['debug'](_0x8fd2('0x13'),_0x12e8a3,JSON[_0x8fd2('0x1c')](_0x345bc3));_0xabbeb4(_0x345bc3);})[_0x8fd2('0x1d')](function(_0x960869){logger[_0x8fd2('0xe')](_0x8fd2('0x13'),_0x960869[_0x8fd2('0x10')],_0x12e8a3);_0x708421(_0x5c8b3c['error'](0x1f4,_0x960869[_0x8fd2('0x10')]));});});};exports[_0x8fd2('0x1e')]=function(_0x818f61){var _0x446c7a=this;return new Promise(function(_0x313902,_0x3ea575){return db[_0x8fd2('0x14')]['find']({'raw':_0x818f61['options']?_0x818f61['options'][_0x8fd2('0x1f')]===undefined?!![]:![]:!![],'where':_0x818f61[_0x8fd2('0x16')]?_0x818f61[_0x8fd2('0x16')][_0x8fd2('0x17')]||null:null,'attributes':_0x818f61['options']?_0x818f61['options'][_0x8fd2('0x18')]||null:null,'include':_0x818f61[_0x8fd2('0x16')]?_0x818f61[_0x8fd2('0x16')][_0x8fd2('0x1a')]?_[_0x8fd2('0x19')](_0x818f61['options'][_0x8fd2('0x1a')],function(_0x50fe44){return{'model':db[_0x50fe44[_0x8fd2('0x1b')]],'as':_0x50fe44['as'],'attributes':_0x50fe44['attributes'],'include':_0x50fe44[_0x8fd2('0x1a')]?_['map'](_0x50fe44[_0x8fd2('0x1a')],function(_0x3449b1){return{'model':db[_0x3449b1[_0x8fd2('0x1b')]],'as':_0x3449b1['as'],'attributes':_0x3449b1['attributes'],'include':_0x3449b1[_0x8fd2('0x1a')]?_['map'](_0x3449b1[_0x8fd2('0x1a')],function(_0x17c1f3){return{'model':db[_0x17c1f3[_0x8fd2('0x1b')]],'as':_0x17c1f3['as'],'attributes':_0x17c1f3['attributes']};}):[]};}):[]};}):[]:[]})[_0x8fd2('0x20')](function(_0x199a85){logger[_0x8fd2('0x11')]('ShowSalesforceAccount',_0x818f61);logger[_0x8fd2('0xc')](_0x8fd2('0x1e'),_0x818f61,JSON[_0x8fd2('0x1c')](_0x199a85));_0x313902(_0x199a85);})['catch'](function(_0x37a24b){logger[_0x8fd2('0xe')]('ShowSalesforceAccount',_0x37a24b[_0x8fd2('0x10')],_0x818f61);_0x3ea575(_0x446c7a[_0x8fd2('0xe')](0x1f4,_0x37a24b[_0x8fd2('0x10')]));});});}; \ No newline at end of file diff --git a/server/api/intSalesforceConfiguration/index.js b/server/api/intSalesforceConfiguration/index.js index b1376e9..beea457 100644 --- a/server/api/intSalesforceConfiguration/index.js +++ b/server/api/intSalesforceConfiguration/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x959a=['index','show','getFields','/:id/subjects','getSubjects','/:id/descriptions','post','create','put','update','/:id','destroy','exports','multer','util','path','express','Router','../../components/interaction/service','../../config/environment','./intSalesforceConfiguration.controller','get','isAuthenticated'];(function(_0x1073ad,_0x44bf0b){var _0x528474=function(_0x3450f7){while(--_0x3450f7){_0x1073ad['push'](_0x1073ad['shift']());}};_0x528474(++_0x44bf0b);}(_0x959a,0xdc));var _0xa959=function(_0x465a0c,_0x19d4d5){_0x465a0c=_0x465a0c-0x0;var _0x1e202e=_0x959a[_0x465a0c];return _0x1e202e;};'use strict';var multer=require(_0xa959('0x0'));var util=require(_0xa959('0x1'));var path=require(_0xa959('0x2'));var timeout=require('connect-timeout');var express=require(_0xa959('0x3'));var router=express[_0xa959('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0xa959('0x5'));var config=require(_0xa959('0x6'));var controller=require(_0xa959('0x7'));router[_0xa959('0x8')]('/',auth[_0xa959('0x9')](),controller[_0xa959('0xa')]);router[_0xa959('0x8')]('/:id',auth[_0xa959('0x9')](),controller[_0xa959('0xb')]);router[_0xa959('0x8')]('/:id/fields',auth[_0xa959('0x9')](),controller[_0xa959('0xc')]);router[_0xa959('0x8')](_0xa959('0xd'),auth[_0xa959('0x9')](),controller[_0xa959('0xe')]);router[_0xa959('0x8')](_0xa959('0xf'),auth['isAuthenticated'](),controller['getDescriptions']);router[_0xa959('0x10')]('/',auth[_0xa959('0x9')](),controller[_0xa959('0x11')]);router[_0xa959('0x12')]('/:id',auth['isAuthenticated'](),controller[_0xa959('0x13')]);router['delete'](_0xa959('0x14'),auth[_0xa959('0x9')](),controller[_0xa959('0x15')]);module[_0xa959('0x16')]=router; \ No newline at end of file +var _0x9681=['express','Router','../../components/interaction/service','../../config/environment','get','isAuthenticated','/:id','show','/:id/fields','/:id/subjects','getSubjects','/:id/descriptions','getDescriptions','post','update','delete','exports','multer','util','path'];(function(_0xccd8ee,_0x1a9929){var _0x2eff97=function(_0x4b29ae){while(--_0x4b29ae){_0xccd8ee['push'](_0xccd8ee['shift']());}};_0x2eff97(++_0x1a9929);}(_0x9681,0xb1));var _0x1968=function(_0x3b045f,_0x47325d){_0x3b045f=_0x3b045f-0x0;var _0x2a8f1b=_0x9681[_0x3b045f];return _0x2a8f1b;};'use strict';var multer=require(_0x1968('0x0'));var util=require(_0x1968('0x1'));var path=require(_0x1968('0x2'));var timeout=require('connect-timeout');var express=require(_0x1968('0x3'));var router=express[_0x1968('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0x1968('0x5'));var config=require(_0x1968('0x6'));var controller=require('./intSalesforceConfiguration.controller');router[_0x1968('0x7')]('/',auth[_0x1968('0x8')](),controller['index']);router[_0x1968('0x7')](_0x1968('0x9'),auth['isAuthenticated'](),controller[_0x1968('0xa')]);router[_0x1968('0x7')](_0x1968('0xb'),auth[_0x1968('0x8')](),controller['getFields']);router[_0x1968('0x7')](_0x1968('0xc'),auth[_0x1968('0x8')](),controller[_0x1968('0xd')]);router[_0x1968('0x7')](_0x1968('0xe'),auth[_0x1968('0x8')](),controller[_0x1968('0xf')]);router[_0x1968('0x10')]('/',auth[_0x1968('0x8')](),controller['create']);router['put'](_0x1968('0x9'),auth[_0x1968('0x8')](),controller[_0x1968('0x11')]);router[_0x1968('0x12')](_0x1968('0x9'),auth[_0x1968('0x8')](),controller['destroy']);module[_0x1968('0x13')]=router; \ No newline at end of file diff --git a/server/api/intSalesforceConfiguration/intSalesforceConfiguration.attributes.js b/server/api/intSalesforceConfiguration/intSalesforceConfiguration.attributes.js index 8019bfb..b1e46de 100644 --- a/server/api/intSalesforceConfiguration/intSalesforceConfiguration.attributes.js +++ b/server/api/intSalesforceConfiguration/intSalesforceConfiguration.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x8543=['exports','STRING','ENUM','Task','Case','contact','lead','contact_lead','nothing'];(function(_0x44faf5,_0x1f0f92){var _0x4c0a90=function(_0x46f01e){while(--_0x46f01e){_0x44faf5['push'](_0x44faf5['shift']());}};_0x4c0a90(++_0x1f0f92);}(_0x8543,0x183));var _0x3854=function(_0x167cc1,_0x56ef5a){_0x167cc1=_0x167cc1-0x0;var _0x10bc4b=_0x8543[_0x167cc1];return _0x10bc4b;};'use strict';var Sequelize=require('sequelize');module[_0x3854('0x0')]={'name':{'type':Sequelize[_0x3854('0x1')]},'description':{'type':Sequelize[_0x3854('0x1')]},'ticketType':{'type':Sequelize[_0x3854('0x2')](_0x3854('0x3'),_0x3854('0x4')),'defaultValue':'Task'},'moduleSearch':{'type':Sequelize['ENUM']('contact_lead',_0x3854('0x5'),_0x3854('0x6')),'defaultValue':_0x3854('0x7')},'moduleCreate':{'type':Sequelize[_0x3854('0x2')](_0x3854('0x8'),_0x3854('0x5'),_0x3854('0x6')),'defaultValue':_0x3854('0x6')}}; \ No newline at end of file +var _0x0cb5=['contact_lead','lead','nothing','contact','sequelize','exports','Case','Task','ENUM'];(function(_0xc86de3,_0x13a0e9){var _0x165ac5=function(_0x231e8e){while(--_0x231e8e){_0xc86de3['push'](_0xc86de3['shift']());}};_0x165ac5(++_0x13a0e9);}(_0x0cb5,0x9d));var _0x50cb=function(_0x5b644e,_0x2e5e07){_0x5b644e=_0x5b644e-0x0;var _0x49c6bf=_0x0cb5[_0x5b644e];return _0x49c6bf;};'use strict';var Sequelize=require(_0x50cb('0x0'));module[_0x50cb('0x1')]={'name':{'type':Sequelize['STRING']},'description':{'type':Sequelize['STRING']},'ticketType':{'type':Sequelize['ENUM']('Task',_0x50cb('0x2')),'defaultValue':_0x50cb('0x3')},'moduleSearch':{'type':Sequelize[_0x50cb('0x4')](_0x50cb('0x5'),'contact',_0x50cb('0x6')),'defaultValue':_0x50cb('0x5')},'moduleCreate':{'type':Sequelize['ENUM'](_0x50cb('0x7'),_0x50cb('0x8'),_0x50cb('0x6')),'defaultValue':'lead'}}; \ No newline at end of file diff --git a/server/api/intSalesforceConfiguration/intSalesforceConfiguration.controller.js b/server/api/intSalesforceConfiguration/intSalesforceConfiguration.controller.js index 8118c10..e05b65f 100644 --- a/server/api/intSalesforceConfiguration/intSalesforceConfiguration.controller.js +++ b/server/api/intSalesforceConfiguration/intSalesforceConfiguration.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x433f=['filters','intersection','fields','attributes','hasOwnProperty','nolimit','limit','order','sort','where','pick','filter','merge','type','VIRTUAL','options','SalesforceConfiguration','includeAll','include','findAll','rows','params','length','find','create','body','getFields','findOne','SalesforceField','getSubjects','getDescriptions','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','moment','bluebird','mustache','util','sox','ejs','lodash','squel','crypto','jsforce','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','../../config/utils','../../config/environment','../../mysqldb','jayson/promise','client','test','Sequelize','The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.','request','then','info','SalesforceConfiguration,\x20%s,\x20%s,\x20%s','request\x20sent','stringify','error','code','SalesforceConfiguration,\x20%s,\x20%s','message','result','catch','status','end','json','count','offset','set','Content-Range','save','update','destroy','name','send','index','map','rawAttributes','fieldName','key','model','query','keys'];(function(_0x46c4bc,_0xdea2fa){var _0x8ad32d=function(_0xc73f38){while(--_0xc73f38){_0x46c4bc['push'](_0x46c4bc['shift']());}};_0x8ad32d(++_0xdea2fa);}(_0x433f,0x13c));var _0xf433=function(_0x2d7f0e,_0x3e6fbd){_0x2d7f0e=_0x2d7f0e-0x0;var _0x110b07=_0x433f[_0x2d7f0e];return _0x110b07;};'use strict';var pdf=require(_0xf433('0x0'));var emlformat=require(_0xf433('0x1'));var rimraf=require(_0xf433('0x2'));var zipdir=require(_0xf433('0x3'));var jsonpatch=require(_0xf433('0x4'));var rp=require('request-promise');var moment=require(_0xf433('0x5'));var BPromise=require(_0xf433('0x6'));var Mustache=require(_0xf433('0x7'));var util=require(_0xf433('0x8'));var path=require('path');var sox=require(_0xf433('0x9'));var csv=require('to-csv');var ejs=require(_0xf433('0xa'));var fs=require('fs');var _=require(_0xf433('0xb'));var squel=require(_0xf433('0xc'));var crypto=require(_0xf433('0xd'));var jsforce=require(_0xf433('0xe'));var deskjs=require(_0xf433('0xf'));var toCsv=require('to-csv');var querystring=require(_0xf433('0x10'));var Papa=require(_0xf433('0x11'));var Redis=require(_0xf433('0x12'));var authService=require(_0xf433('0x13'));var qs=require(_0xf433('0x14'));var as=require(_0xf433('0x15'));var hardwareService=require(_0xf433('0x16'));var logger=require(_0xf433('0x17'))('api');var utils=require(_0xf433('0x18'));var config=require(_0xf433('0x19'));var db=require(_0xf433('0x1a'))['db'];var jayson=require(_0xf433('0x1b'));var client=jayson[_0xf433('0x1c')]['http']({'port':0x232a});function checkPasswordPattern(_0x47f191,_0x193453,_0x11966c){if(_0x11966c){var _0x5752a1=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0x5752a1[_0xf433('0x1d')](_0x193453)){return _0x47f191;}else{throw new db[(_0xf433('0x1e'))]['ValidationError'](_0xf433('0x1f'));}}else{return _0x47f191;}}function respondWithRpcPromise(_0x446ef8,_0x4a49eb,_0x52fd0d,_0x18ad97){return new BPromise(function(_0x2d283e,_0x16b4d4){var _0x18c706=_0x18ad97||client;return _0x18c706[_0xf433('0x20')](_0x446ef8,_0x52fd0d)[_0xf433('0x21')](function(_0x50c852){logger[_0xf433('0x22')]('SalesforceConfiguration,\x20%s,\x20%s',_0x4a49eb,'request\x20sent');logger['debug'](_0xf433('0x23'),_0x4a49eb,_0xf433('0x24'),JSON[_0xf433('0x25')](_0x50c852));if(_0x50c852[_0xf433('0x26')]){if(_0x50c852[_0xf433('0x26')][_0xf433('0x27')]===0x1f4){logger[_0xf433('0x26')](_0xf433('0x28'),_0x4a49eb,_0x50c852[_0xf433('0x26')][_0xf433('0x29')]);return _0x16b4d4(_0x50c852[_0xf433('0x26')][_0xf433('0x29')]);}logger[_0xf433('0x26')](_0xf433('0x28'),_0x4a49eb,_0x50c852[_0xf433('0x26')][_0xf433('0x29')]);return _0x2d283e(_0x50c852[_0xf433('0x26')]['message']);}else{logger[_0xf433('0x22')](_0xf433('0x28'),_0x4a49eb,_0xf433('0x24'));_0x2d283e(_0x50c852[_0xf433('0x2a')][_0xf433('0x29')]);}})[_0xf433('0x2b')](function(_0x494ab3){logger[_0xf433('0x26')](_0xf433('0x28'),_0x4a49eb,_0x494ab3);_0x16b4d4(_0x494ab3);});});}function respondWithStatusCode(_0x5498f1,_0x4f7db3){_0x4f7db3=_0x4f7db3||0xcc;return function(_0x458a91){if(_0x458a91){return _0x5498f1['sendStatus'](_0x4f7db3);}return _0x5498f1[_0xf433('0x2c')](_0x4f7db3)[_0xf433('0x2d')]();};}function respondWithResult(_0x527099,_0x115fc4){_0x115fc4=_0x115fc4||0xc8;return function(_0x222356){if(_0x222356){return _0x527099[_0xf433('0x2c')](_0x115fc4)[_0xf433('0x2e')](_0x222356);}};}function respondWithFilteredResult(_0x46a3be,_0x3c9926){return function(_0x49bb97){if(_0x49bb97){var _0x1f7218=_0x49bb97[_0xf433('0x2f')],_0x487551=_0x3c9926[_0xf433('0x30')],_0x3522f6=_0x3c9926['offset']+_0x3c9926['limit'],_0x5487c8;if(_0x3522f6>=_0x1f7218){_0x3522f6=_0x1f7218;_0x5487c8=0xc8;}else{_0x5487c8=0xce;}_0x46a3be['status'](_0x5487c8);return _0x46a3be[_0xf433('0x31')](_0xf433('0x32'),_0x487551+'-'+_0x3522f6+'/'+_0x1f7218)[_0xf433('0x2e')](_0x49bb97);}return null;};}function patchUpdates(_0x32e48b){return function(_0x6c21cf){try{jsonpatch['apply'](_0x6c21cf,_0x32e48b,!![]);}catch(_0x6937a8){return BPromise['reject'](_0x6937a8);}return _0x6c21cf[_0xf433('0x33')]();};}function saveUpdates(_0x46321a,_0x21088d){return function(_0x5a1c91){if(_0x5a1c91){return _0x5a1c91[_0xf433('0x34')](_0x46321a)['then'](function(_0x2fe5ef){return _0x2fe5ef;});}return null;};}function removeEntity(_0x4dd644,_0x5ab8a1){return function(_0x19dcc8){if(_0x19dcc8){return _0x19dcc8[_0xf433('0x35')]()[_0xf433('0x21')](function(){_0x4dd644[_0xf433('0x2c')](0xcc)[_0xf433('0x2d')]();});}};}function handleEntityNotFound(_0x4dc7dd,_0x2c5243){return function(_0x57c241){if(!_0x57c241){_0x4dc7dd['sendStatus'](0x194);}return _0x57c241;};}function handleError(_0x5b3d57,_0x7d636e){_0x7d636e=_0x7d636e||0x1f4;return function(_0x462d53){logger['error'](_0x462d53['stack']);if(_0x462d53['name']){delete _0x462d53[_0xf433('0x36')];}_0x5b3d57['status'](_0x7d636e)[_0xf433('0x37')](_0x462d53);};}exports[_0xf433('0x38')]=function(_0x574fc9,_0x1928e9){var _0x380f52={},_0x34f2e0={},_0x527df6={'count':0x0,'rows':[]};var _0x33b13c=_[_0xf433('0x39')](db['SalesforceConfiguration'][_0xf433('0x3a')],function(_0x193361){return{'name':_0x193361[_0xf433('0x3b')],'type':_0x193361['type'][_0xf433('0x3c')]};});_0x34f2e0[_0xf433('0x3d')]=_[_0xf433('0x39')](_0x33b13c,_0xf433('0x36'));_0x34f2e0[_0xf433('0x3e')]=_[_0xf433('0x3f')](_0x574fc9[_0xf433('0x3e')]);_0x34f2e0[_0xf433('0x40')]=_[_0xf433('0x41')](_0x34f2e0[_0xf433('0x3d')],_0x34f2e0[_0xf433('0x3e')]);_0x380f52['attributes']=_[_0xf433('0x41')](_0x34f2e0['model'],qs[_0xf433('0x42')](_0x574fc9['query'][_0xf433('0x42')]));_0x380f52[_0xf433('0x43')]=_0x380f52[_0xf433('0x43')]['length']?_0x380f52['attributes']:_0x34f2e0[_0xf433('0x3d')];if(!_0x574fc9[_0xf433('0x3e')][_0xf433('0x44')](_0xf433('0x45'))){_0x380f52[_0xf433('0x46')]=qs[_0xf433('0x46')](_0x574fc9['query'][_0xf433('0x46')]);_0x380f52['offset']=qs[_0xf433('0x30')](_0x574fc9[_0xf433('0x3e')][_0xf433('0x30')]);}_0x380f52[_0xf433('0x47')]=qs[_0xf433('0x48')](_0x574fc9[_0xf433('0x3e')]['sort']);_0x380f52[_0xf433('0x49')]=qs[_0xf433('0x40')](_[_0xf433('0x4a')](_0x574fc9[_0xf433('0x3e')],_0x34f2e0[_0xf433('0x40')]),_0x33b13c);if(_0x574fc9[_0xf433('0x3e')][_0xf433('0x4b')]){_0x380f52[_0xf433('0x49')]=_[_0xf433('0x4c')](_0x380f52[_0xf433('0x49')],{'$or':_[_0xf433('0x39')](_0x33b13c,function(_0x181a8a){if(_0x181a8a[_0xf433('0x4d')]!==_0xf433('0x4e')){var _0x51f48e={};_0x51f48e[_0x181a8a['name']]={'$like':'%'+_0x574fc9[_0xf433('0x3e')][_0xf433('0x4b')]+'%'};return _0x51f48e;}})});}_0x380f52=_[_0xf433('0x4c')]({},_0x380f52,_0x574fc9[_0xf433('0x4f')]);var _0x334990={'where':_0x380f52[_0xf433('0x49')]};return db[_0xf433('0x50')][_0xf433('0x2f')](_0x334990)[_0xf433('0x21')](function(_0x211b7e){_0x527df6[_0xf433('0x2f')]=_0x211b7e;if(_0x574fc9[_0xf433('0x3e')][_0xf433('0x51')]){_0x380f52[_0xf433('0x52')]=[{'all':!![]}];}return db[_0xf433('0x50')][_0xf433('0x53')](_0x380f52);})[_0xf433('0x21')](function(_0x9795e){_0x527df6[_0xf433('0x54')]=_0x9795e;return _0x527df6;})['then'](respondWithFilteredResult(_0x1928e9,_0x380f52))[_0xf433('0x2b')](handleError(_0x1928e9,null));};exports['show']=function(_0x4e51c2,_0x27930f){var _0x226856={'raw':![],'where':{'id':_0x4e51c2[_0xf433('0x55')]['id']}},_0x24fff1={};_0x24fff1[_0xf433('0x3d')]=_[_0xf433('0x3f')](db[_0xf433('0x50')][_0xf433('0x3a')]);_0x24fff1[_0xf433('0x3e')]=_[_0xf433('0x3f')](_0x4e51c2[_0xf433('0x3e')]);_0x24fff1[_0xf433('0x40')]=_[_0xf433('0x41')](_0x24fff1['model'],_0x24fff1['query']);_0x226856[_0xf433('0x43')]=_[_0xf433('0x41')](_0x24fff1[_0xf433('0x3d')],qs['fields'](_0x4e51c2['query'][_0xf433('0x42')]));_0x226856[_0xf433('0x43')]=_0x226856[_0xf433('0x43')][_0xf433('0x56')]?_0x226856[_0xf433('0x43')]:_0x24fff1[_0xf433('0x3d')];if(_0x4e51c2[_0xf433('0x3e')][_0xf433('0x51')]){_0x226856[_0xf433('0x52')]=[{'all':!![]}];}_0x226856=_[_0xf433('0x4c')]({},_0x226856,_0x4e51c2[_0xf433('0x4f')]);return db['SalesforceConfiguration'][_0xf433('0x57')](_0x226856)['then'](handleEntityNotFound(_0x27930f,null))[_0xf433('0x21')](respondWithResult(_0x27930f,null))[_0xf433('0x2b')](handleError(_0x27930f,null));};exports[_0xf433('0x58')]=function(_0x2eddd6,_0x428a2d){return db['SalesforceConfiguration']['create'](_0x2eddd6[_0xf433('0x59')],{})[_0xf433('0x21')](respondWithResult(_0x428a2d,0xc9))[_0xf433('0x2b')](handleError(_0x428a2d,null));};exports[_0xf433('0x34')]=function(_0x43dc2f,_0x522ca5){if(_0x43dc2f[_0xf433('0x59')]['id']){delete _0x43dc2f['body']['id'];}return db[_0xf433('0x50')][_0xf433('0x57')]({'where':{'id':_0x43dc2f[_0xf433('0x55')]['id']}})[_0xf433('0x21')](handleEntityNotFound(_0x522ca5,null))[_0xf433('0x21')](saveUpdates(_0x43dc2f[_0xf433('0x59')],null))[_0xf433('0x21')](respondWithResult(_0x522ca5,null))[_0xf433('0x2b')](handleError(_0x522ca5,null));};exports['destroy']=function(_0x35e976,_0x131aa7){return db['SalesforceConfiguration'][_0xf433('0x57')]({'where':{'id':_0x35e976[_0xf433('0x55')]['id']}})[_0xf433('0x21')](handleEntityNotFound(_0x131aa7,null))['then'](removeEntity(_0x131aa7,null))[_0xf433('0x2b')](handleError(_0x131aa7,null));};exports[_0xf433('0x5a')]=function(_0x277c25,_0x5aa24f,_0x4552a2){var _0x2be437={};var _0x336eb7={};var _0x15b227;var _0x2e90a9;return db[_0xf433('0x50')][_0xf433('0x5b')]({'where':{'id':_0x277c25[_0xf433('0x55')]['id']}})[_0xf433('0x21')](handleEntityNotFound(_0x5aa24f,null))['then'](function(_0x50bd60){if(_0x50bd60){_0x15b227=_0x50bd60;_0x336eb7[_0xf433('0x3d')]=_['keys'](db[_0xf433('0x5c')][_0xf433('0x3a')]);_0x336eb7[_0xf433('0x3e')]=_[_0xf433('0x3f')](_0x277c25[_0xf433('0x3e')]);_0x336eb7[_0xf433('0x40')]=_[_0xf433('0x41')](_0x336eb7['model'],_0x336eb7[_0xf433('0x3e')]);_0x2be437['attributes']=_[_0xf433('0x41')](_0x336eb7[_0xf433('0x3d')],qs[_0xf433('0x42')](_0x277c25[_0xf433('0x3e')][_0xf433('0x42')]));_0x2be437[_0xf433('0x43')]=_0x2be437[_0xf433('0x43')][_0xf433('0x56')]?_0x2be437[_0xf433('0x43')]:_0x336eb7[_0xf433('0x3d')];_0x2be437[_0xf433('0x47')]=qs[_0xf433('0x48')](_0x277c25[_0xf433('0x3e')][_0xf433('0x48')]);_0x2be437['where']=qs[_0xf433('0x40')](_[_0xf433('0x4a')](_0x277c25['query'],_0x336eb7[_0xf433('0x40')]));if(_0x277c25['query'][_0xf433('0x4b')]){_0x2be437['where']=_['merge'](_0x2be437[_0xf433('0x49')],{'$or':_[_0xf433('0x39')](_0x2be437[_0xf433('0x43')],function(_0x591a70){var _0x508b4c={};_0x508b4c[_0x591a70]={'$like':'%'+_0x277c25['query']['filter']+'%'};return _0x508b4c;})});}_0x2be437=_[_0xf433('0x4c')]({},_0x2be437,_0x277c25[_0xf433('0x4f')]);return _0x15b227[_0xf433('0x5a')](_0x2be437);}})[_0xf433('0x21')](function(_0x170650){if(_0x170650){_0x2e90a9=_0x170650[_0xf433('0x56')];if(!_0x277c25[_0xf433('0x3e')][_0xf433('0x44')](_0xf433('0x45'))){_0x2be437[_0xf433('0x46')]=qs[_0xf433('0x46')](_0x277c25[_0xf433('0x3e')][_0xf433('0x46')]);_0x2be437[_0xf433('0x30')]=qs[_0xf433('0x30')](_0x277c25['query'][_0xf433('0x30')]);}return _0x15b227[_0xf433('0x5a')](_0x2be437);}})[_0xf433('0x21')](function(_0x81c956){if(_0x81c956){return _0x81c956?{'count':_0x2e90a9,'rows':_0x81c956}:null;}})[_0xf433('0x21')](respondWithResult(_0x5aa24f,null))['catch'](handleError(_0x5aa24f,null));};exports[_0xf433('0x5d')]=function(_0x2401c0,_0x2d75b9,_0x1ee1c8){var _0x51edd6={};var _0x25bd05={};var _0x4bc13d;var _0x12de0e;return db[_0xf433('0x50')][_0xf433('0x5b')]({'where':{'id':_0x2401c0[_0xf433('0x55')]['id']}})[_0xf433('0x21')](handleEntityNotFound(_0x2d75b9,null))[_0xf433('0x21')](function(_0x301723){if(_0x301723){_0x4bc13d=_0x301723;_0x25bd05[_0xf433('0x3d')]=_[_0xf433('0x3f')](db[_0xf433('0x5c')][_0xf433('0x3a')]);_0x25bd05['query']=_[_0xf433('0x3f')](_0x2401c0[_0xf433('0x3e')]);_0x25bd05[_0xf433('0x40')]=_[_0xf433('0x41')](_0x25bd05['model'],_0x25bd05[_0xf433('0x3e')]);_0x51edd6[_0xf433('0x43')]=_['intersection'](_0x25bd05['model'],qs[_0xf433('0x42')](_0x2401c0[_0xf433('0x3e')][_0xf433('0x42')]));_0x51edd6[_0xf433('0x43')]=_0x51edd6['attributes'][_0xf433('0x56')]?_0x51edd6[_0xf433('0x43')]:_0x25bd05['model'];_0x51edd6['order']=qs[_0xf433('0x48')](_0x2401c0[_0xf433('0x3e')][_0xf433('0x48')]);_0x51edd6[_0xf433('0x49')]=qs[_0xf433('0x40')](_[_0xf433('0x4a')](_0x2401c0['query'],_0x25bd05['filters']));if(_0x2401c0[_0xf433('0x3e')]['filter']){_0x51edd6[_0xf433('0x49')]=_[_0xf433('0x4c')](_0x51edd6['where'],{'$or':_[_0xf433('0x39')](_0x51edd6[_0xf433('0x43')],function(_0xd447b0){var _0x109f47={};_0x109f47[_0xd447b0]={'$like':'%'+_0x2401c0[_0xf433('0x3e')][_0xf433('0x4b')]+'%'};return _0x109f47;})});}_0x51edd6=_[_0xf433('0x4c')]({},_0x51edd6,_0x2401c0[_0xf433('0x4f')]);return _0x4bc13d[_0xf433('0x5d')](_0x51edd6);}})[_0xf433('0x21')](function(_0xe2c56e){if(_0xe2c56e){_0x12de0e=_0xe2c56e['length'];if(!_0x2401c0[_0xf433('0x3e')][_0xf433('0x44')]('nolimit')){_0x51edd6[_0xf433('0x46')]=qs[_0xf433('0x46')](_0x2401c0[_0xf433('0x3e')]['limit']);_0x51edd6[_0xf433('0x30')]=qs[_0xf433('0x30')](_0x2401c0[_0xf433('0x3e')][_0xf433('0x30')]);}return _0x4bc13d['getSubjects'](_0x51edd6);}})[_0xf433('0x21')](function(_0x2a70a){if(_0x2a70a){return _0x2a70a?{'count':_0x12de0e,'rows':_0x2a70a}:null;}})[_0xf433('0x21')](respondWithResult(_0x2d75b9,null))['catch'](handleError(_0x2d75b9,null));};exports[_0xf433('0x5e')]=function(_0x31b907,_0x5195f2,_0x5778d2){var _0x32e1e6={};var _0x51459d={};var _0x4d780a;var _0x3c2b10;return db['SalesforceConfiguration'][_0xf433('0x5b')]({'where':{'id':_0x31b907[_0xf433('0x55')]['id']}})[_0xf433('0x21')](handleEntityNotFound(_0x5195f2,null))['then'](function(_0x56d73c){if(_0x56d73c){_0x4d780a=_0x56d73c;_0x51459d[_0xf433('0x3d')]=_[_0xf433('0x3f')](db[_0xf433('0x5c')][_0xf433('0x3a')]);_0x51459d[_0xf433('0x3e')]=_['keys'](_0x31b907[_0xf433('0x3e')]);_0x51459d[_0xf433('0x40')]=_[_0xf433('0x41')](_0x51459d[_0xf433('0x3d')],_0x51459d[_0xf433('0x3e')]);_0x32e1e6[_0xf433('0x43')]=_[_0xf433('0x41')](_0x51459d['model'],qs[_0xf433('0x42')](_0x31b907[_0xf433('0x3e')][_0xf433('0x42')]));_0x32e1e6['attributes']=_0x32e1e6[_0xf433('0x43')][_0xf433('0x56')]?_0x32e1e6[_0xf433('0x43')]:_0x51459d[_0xf433('0x3d')];_0x32e1e6[_0xf433('0x47')]=qs['sort'](_0x31b907[_0xf433('0x3e')]['sort']);_0x32e1e6['where']=qs[_0xf433('0x40')](_[_0xf433('0x4a')](_0x31b907[_0xf433('0x3e')],_0x51459d[_0xf433('0x40')]));if(_0x31b907[_0xf433('0x3e')][_0xf433('0x4b')]){_0x32e1e6[_0xf433('0x49')]=_[_0xf433('0x4c')](_0x32e1e6[_0xf433('0x49')],{'$or':_['map'](_0x32e1e6[_0xf433('0x43')],function(_0x2a5e98){var _0x3e837f={};_0x3e837f[_0x2a5e98]={'$like':'%'+_0x31b907[_0xf433('0x3e')][_0xf433('0x4b')]+'%'};return _0x3e837f;})});}_0x32e1e6=_[_0xf433('0x4c')]({},_0x32e1e6,_0x31b907[_0xf433('0x4f')]);return _0x4d780a[_0xf433('0x5e')](_0x32e1e6);}})['then'](function(_0x1bcf07){if(_0x1bcf07){_0x3c2b10=_0x1bcf07[_0xf433('0x56')];if(!_0x31b907[_0xf433('0x3e')][_0xf433('0x44')](_0xf433('0x45'))){_0x32e1e6[_0xf433('0x46')]=qs[_0xf433('0x46')](_0x31b907['query'][_0xf433('0x46')]);_0x32e1e6[_0xf433('0x30')]=qs[_0xf433('0x30')](_0x31b907[_0xf433('0x3e')][_0xf433('0x30')]);}return _0x4d780a['getDescriptions'](_0x32e1e6);}})['then'](function(_0x11cc21){if(_0x11cc21){return _0x11cc21?{'count':_0x3c2b10,'rows':_0x11cc21}:null;}})['then'](respondWithResult(_0x5195f2,null))['catch'](handleError(_0x5195f2,null));}; \ No newline at end of file +var _0xdfcc=['offset','set','Content-Range','apply','save','update','destroy','sendStatus','stack','name','send','index','map','SalesforceConfiguration','rawAttributes','fieldName','type','key','model','query','keys','filters','intersection','fields','attributes','length','nolimit','limit','order','sort','where','pick','VIRTUAL','filter','merge','includeAll','findAll','show','params','include','options','find','create','body','getFields','findOne','hasOwnProperty','getSubjects','SalesforceField','getDescriptions','html-pdf','eml-format','rimraf','fast-json-patch','request-promise','moment','mustache','to-csv','ejs','squel','crypto','jsforce','desk.js','querystring','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','../../config/environment','../../mysqldb','client','http','Sequelize','ValidationError','request','then','info','SalesforceConfiguration,\x20%s,\x20%s','request\x20sent','SalesforceConfiguration,\x20%s,\x20%s,\x20%s','error','code','message','result','catch','status','end','json','count'];(function(_0x1c7f8f,_0x3818c2){var _0x1345ce=function(_0x472b78){while(--_0x472b78){_0x1c7f8f['push'](_0x1c7f8f['shift']());}};_0x1345ce(++_0x3818c2);}(_0xdfcc,0x8d));var _0xcdfc=function(_0xcaf223,_0xd39f07){_0xcaf223=_0xcaf223-0x0;var _0x17e00d=_0xdfcc[_0xcaf223];return _0x17e00d;};'use strict';var pdf=require(_0xcdfc('0x0'));var emlformat=require(_0xcdfc('0x1'));var rimraf=require(_0xcdfc('0x2'));var zipdir=require('zip-dir');var jsonpatch=require(_0xcdfc('0x3'));var rp=require(_0xcdfc('0x4'));var moment=require(_0xcdfc('0x5'));var BPromise=require('bluebird');var Mustache=require(_0xcdfc('0x6'));var util=require('util');var path=require('path');var sox=require('sox');var csv=require(_0xcdfc('0x7'));var ejs=require(_0xcdfc('0x8'));var fs=require('fs');var _=require('lodash');var squel=require(_0xcdfc('0x9'));var crypto=require(_0xcdfc('0xa'));var jsforce=require(_0xcdfc('0xb'));var deskjs=require(_0xcdfc('0xc'));var toCsv=require('to-csv');var querystring=require(_0xcdfc('0xd'));var Papa=require('papaparse');var Redis=require(_0xcdfc('0xe'));var authService=require(_0xcdfc('0xf'));var qs=require(_0xcdfc('0x10'));var as=require(_0xcdfc('0x11'));var hardwareService=require(_0xcdfc('0x12'));var logger=require(_0xcdfc('0x13'))('api');var utils=require('../../config/utils');var config=require(_0xcdfc('0x14'));var db=require(_0xcdfc('0x15'))['db'];var jayson=require('jayson/promise');var client=jayson[_0xcdfc('0x16')][_0xcdfc('0x17')]({'port':0x232a});function checkPasswordPattern(_0x5b278d,_0x23ed41,_0x29e684){if(_0x29e684){var _0x73baa6=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0x73baa6['test'](_0x23ed41)){return _0x5b278d;}else{throw new db[(_0xcdfc('0x18'))][(_0xcdfc('0x19'))]('The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.');}}else{return _0x5b278d;}}function respondWithRpcPromise(_0x422342,_0x2cbc4c,_0x1e2282,_0x5189bd){return new BPromise(function(_0x3834aa,_0x1a8095){var _0x48f497=_0x5189bd||client;return _0x48f497[_0xcdfc('0x1a')](_0x422342,_0x1e2282)[_0xcdfc('0x1b')](function(_0x51ab72){logger[_0xcdfc('0x1c')](_0xcdfc('0x1d'),_0x2cbc4c,_0xcdfc('0x1e'));logger['debug'](_0xcdfc('0x1f'),_0x2cbc4c,_0xcdfc('0x1e'),JSON['stringify'](_0x51ab72));if(_0x51ab72[_0xcdfc('0x20')]){if(_0x51ab72[_0xcdfc('0x20')][_0xcdfc('0x21')]===0x1f4){logger[_0xcdfc('0x20')](_0xcdfc('0x1d'),_0x2cbc4c,_0x51ab72[_0xcdfc('0x20')]['message']);return _0x1a8095(_0x51ab72[_0xcdfc('0x20')]['message']);}logger[_0xcdfc('0x20')](_0xcdfc('0x1d'),_0x2cbc4c,_0x51ab72[_0xcdfc('0x20')][_0xcdfc('0x22')]);return _0x3834aa(_0x51ab72['error'][_0xcdfc('0x22')]);}else{logger[_0xcdfc('0x1c')](_0xcdfc('0x1d'),_0x2cbc4c,_0xcdfc('0x1e'));_0x3834aa(_0x51ab72[_0xcdfc('0x23')][_0xcdfc('0x22')]);}})[_0xcdfc('0x24')](function(_0x3bdd7f){logger[_0xcdfc('0x20')](_0xcdfc('0x1d'),_0x2cbc4c,_0x3bdd7f);_0x1a8095(_0x3bdd7f);});});}function respondWithStatusCode(_0x44ab0b,_0x48ab9b){_0x48ab9b=_0x48ab9b||0xcc;return function(_0x323fd5){if(_0x323fd5){return _0x44ab0b['sendStatus'](_0x48ab9b);}return _0x44ab0b[_0xcdfc('0x25')](_0x48ab9b)[_0xcdfc('0x26')]();};}function respondWithResult(_0x762f0e,_0x28d4bc){_0x28d4bc=_0x28d4bc||0xc8;return function(_0x1de322){if(_0x1de322){return _0x762f0e[_0xcdfc('0x25')](_0x28d4bc)[_0xcdfc('0x27')](_0x1de322);}};}function respondWithFilteredResult(_0x5380cd,_0x48827a){return function(_0x35809e){if(_0x35809e){var _0x260843=_0x35809e[_0xcdfc('0x28')],_0x1df906=_0x48827a[_0xcdfc('0x29')],_0xaf2735=_0x48827a['offset']+_0x48827a['limit'],_0x5a0b09;if(_0xaf2735>=_0x260843){_0xaf2735=_0x260843;_0x5a0b09=0xc8;}else{_0x5a0b09=0xce;}_0x5380cd[_0xcdfc('0x25')](_0x5a0b09);return _0x5380cd[_0xcdfc('0x2a')](_0xcdfc('0x2b'),_0x1df906+'-'+_0xaf2735+'/'+_0x260843)['json'](_0x35809e);}return null;};}function patchUpdates(_0x411229){return function(_0x209ca7){try{jsonpatch[_0xcdfc('0x2c')](_0x209ca7,_0x411229,!![]);}catch(_0x4584a6){return BPromise['reject'](_0x4584a6);}return _0x209ca7[_0xcdfc('0x2d')]();};}function saveUpdates(_0x51c461,_0x5c5de2){return function(_0x1072b4){if(_0x1072b4){return _0x1072b4[_0xcdfc('0x2e')](_0x51c461)['then'](function(_0x5818d6){return _0x5818d6;});}return null;};}function removeEntity(_0x2e51b8,_0x4cf21a){return function(_0x64f1e2){if(_0x64f1e2){return _0x64f1e2[_0xcdfc('0x2f')]()[_0xcdfc('0x1b')](function(){_0x2e51b8['status'](0xcc)[_0xcdfc('0x26')]();});}};}function handleEntityNotFound(_0x36e0b3,_0x1653ec){return function(_0x2c2c35){if(!_0x2c2c35){_0x36e0b3[_0xcdfc('0x30')](0x194);}return _0x2c2c35;};}function handleError(_0x5da8d5,_0x268e64){_0x268e64=_0x268e64||0x1f4;return function(_0x80032f){logger[_0xcdfc('0x20')](_0x80032f[_0xcdfc('0x31')]);if(_0x80032f[_0xcdfc('0x32')]){delete _0x80032f[_0xcdfc('0x32')];}_0x5da8d5[_0xcdfc('0x25')](_0x268e64)[_0xcdfc('0x33')](_0x80032f);};}exports[_0xcdfc('0x34')]=function(_0x39033b,_0xaa9d1){var _0x2f4502={},_0x55a2a7={},_0x2f1b8a={'count':0x0,'rows':[]};var _0xcb460=_[_0xcdfc('0x35')](db[_0xcdfc('0x36')][_0xcdfc('0x37')],function(_0x5b0e80){return{'name':_0x5b0e80[_0xcdfc('0x38')],'type':_0x5b0e80[_0xcdfc('0x39')][_0xcdfc('0x3a')]};});_0x55a2a7[_0xcdfc('0x3b')]=_[_0xcdfc('0x35')](_0xcb460,'name');_0x55a2a7[_0xcdfc('0x3c')]=_[_0xcdfc('0x3d')](_0x39033b['query']);_0x55a2a7[_0xcdfc('0x3e')]=_[_0xcdfc('0x3f')](_0x55a2a7[_0xcdfc('0x3b')],_0x55a2a7[_0xcdfc('0x3c')]);_0x2f4502['attributes']=_['intersection'](_0x55a2a7['model'],qs[_0xcdfc('0x40')](_0x39033b[_0xcdfc('0x3c')]['fields']));_0x2f4502[_0xcdfc('0x41')]=_0x2f4502[_0xcdfc('0x41')][_0xcdfc('0x42')]?_0x2f4502[_0xcdfc('0x41')]:_0x55a2a7['model'];if(!_0x39033b[_0xcdfc('0x3c')]['hasOwnProperty'](_0xcdfc('0x43'))){_0x2f4502[_0xcdfc('0x44')]=qs[_0xcdfc('0x44')](_0x39033b[_0xcdfc('0x3c')]['limit']);_0x2f4502[_0xcdfc('0x29')]=qs[_0xcdfc('0x29')](_0x39033b['query']['offset']);}_0x2f4502[_0xcdfc('0x45')]=qs[_0xcdfc('0x46')](_0x39033b[_0xcdfc('0x3c')]['sort']);_0x2f4502[_0xcdfc('0x47')]=qs[_0xcdfc('0x3e')](_[_0xcdfc('0x48')](_0x39033b[_0xcdfc('0x3c')],_0x55a2a7[_0xcdfc('0x3e')]),_0xcb460);if(_0x39033b[_0xcdfc('0x3c')]['filter']){_0x2f4502[_0xcdfc('0x47')]=_['merge'](_0x2f4502[_0xcdfc('0x47')],{'$or':_[_0xcdfc('0x35')](_0xcb460,function(_0x5dfb18){if(_0x5dfb18['type']!==_0xcdfc('0x49')){var _0x542ec4={};_0x542ec4[_0x5dfb18[_0xcdfc('0x32')]]={'$like':'%'+_0x39033b[_0xcdfc('0x3c')][_0xcdfc('0x4a')]+'%'};return _0x542ec4;}})});}_0x2f4502=_[_0xcdfc('0x4b')]({},_0x2f4502,_0x39033b['options']);var _0x26b300={'where':_0x2f4502[_0xcdfc('0x47')]};return db[_0xcdfc('0x36')][_0xcdfc('0x28')](_0x26b300)[_0xcdfc('0x1b')](function(_0x3bf9d9){_0x2f1b8a[_0xcdfc('0x28')]=_0x3bf9d9;if(_0x39033b[_0xcdfc('0x3c')][_0xcdfc('0x4c')]){_0x2f4502['include']=[{'all':!![]}];}return db[_0xcdfc('0x36')][_0xcdfc('0x4d')](_0x2f4502);})[_0xcdfc('0x1b')](function(_0x4da984){_0x2f1b8a['rows']=_0x4da984;return _0x2f1b8a;})[_0xcdfc('0x1b')](respondWithFilteredResult(_0xaa9d1,_0x2f4502))['catch'](handleError(_0xaa9d1,null));};exports[_0xcdfc('0x4e')]=function(_0x2a4c25,_0x4f2a39){var _0x536b93={'raw':![],'where':{'id':_0x2a4c25[_0xcdfc('0x4f')]['id']}},_0x15186c={};_0x15186c[_0xcdfc('0x3b')]=_[_0xcdfc('0x3d')](db[_0xcdfc('0x36')][_0xcdfc('0x37')]);_0x15186c[_0xcdfc('0x3c')]=_['keys'](_0x2a4c25[_0xcdfc('0x3c')]);_0x15186c[_0xcdfc('0x3e')]=_['intersection'](_0x15186c[_0xcdfc('0x3b')],_0x15186c[_0xcdfc('0x3c')]);_0x536b93[_0xcdfc('0x41')]=_[_0xcdfc('0x3f')](_0x15186c[_0xcdfc('0x3b')],qs[_0xcdfc('0x40')](_0x2a4c25['query']['fields']));_0x536b93['attributes']=_0x536b93[_0xcdfc('0x41')]['length']?_0x536b93['attributes']:_0x15186c['model'];if(_0x2a4c25[_0xcdfc('0x3c')]['includeAll']){_0x536b93[_0xcdfc('0x50')]=[{'all':!![]}];}_0x536b93=_['merge']({},_0x536b93,_0x2a4c25[_0xcdfc('0x51')]);return db[_0xcdfc('0x36')][_0xcdfc('0x52')](_0x536b93)[_0xcdfc('0x1b')](handleEntityNotFound(_0x4f2a39,null))[_0xcdfc('0x1b')](respondWithResult(_0x4f2a39,null))[_0xcdfc('0x24')](handleError(_0x4f2a39,null));};exports['create']=function(_0x1b44bc,_0x5244df){return db[_0xcdfc('0x36')][_0xcdfc('0x53')](_0x1b44bc['body'],{})[_0xcdfc('0x1b')](respondWithResult(_0x5244df,0xc9))[_0xcdfc('0x24')](handleError(_0x5244df,null));};exports[_0xcdfc('0x2e')]=function(_0x5bcbe2,_0xf46b3f){if(_0x5bcbe2[_0xcdfc('0x54')]['id']){delete _0x5bcbe2[_0xcdfc('0x54')]['id'];}return db['SalesforceConfiguration'][_0xcdfc('0x52')]({'where':{'id':_0x5bcbe2[_0xcdfc('0x4f')]['id']}})['then'](handleEntityNotFound(_0xf46b3f,null))[_0xcdfc('0x1b')](saveUpdates(_0x5bcbe2['body'],null))[_0xcdfc('0x1b')](respondWithResult(_0xf46b3f,null))[_0xcdfc('0x24')](handleError(_0xf46b3f,null));};exports['destroy']=function(_0x1a23a6,_0x2274e7){return db[_0xcdfc('0x36')][_0xcdfc('0x52')]({'where':{'id':_0x1a23a6[_0xcdfc('0x4f')]['id']}})['then'](handleEntityNotFound(_0x2274e7,null))['then'](removeEntity(_0x2274e7,null))[_0xcdfc('0x24')](handleError(_0x2274e7,null));};exports[_0xcdfc('0x55')]=function(_0x3024e1,_0x24e3f0,_0x55f684){var _0x1ff2a9={};var _0x20e0d7={};var _0xb23d9f;var _0x4c76e2;return db[_0xcdfc('0x36')][_0xcdfc('0x56')]({'where':{'id':_0x3024e1['params']['id']}})[_0xcdfc('0x1b')](handleEntityNotFound(_0x24e3f0,null))[_0xcdfc('0x1b')](function(_0x58849c){if(_0x58849c){_0xb23d9f=_0x58849c;_0x20e0d7['model']=_[_0xcdfc('0x3d')](db['SalesforceField'][_0xcdfc('0x37')]);_0x20e0d7['query']=_['keys'](_0x3024e1[_0xcdfc('0x3c')]);_0x20e0d7[_0xcdfc('0x3e')]=_[_0xcdfc('0x3f')](_0x20e0d7[_0xcdfc('0x3b')],_0x20e0d7[_0xcdfc('0x3c')]);_0x1ff2a9[_0xcdfc('0x41')]=_['intersection'](_0x20e0d7[_0xcdfc('0x3b')],qs[_0xcdfc('0x40')](_0x3024e1['query'][_0xcdfc('0x40')]));_0x1ff2a9[_0xcdfc('0x41')]=_0x1ff2a9['attributes'][_0xcdfc('0x42')]?_0x1ff2a9[_0xcdfc('0x41')]:_0x20e0d7[_0xcdfc('0x3b')];_0x1ff2a9[_0xcdfc('0x45')]=qs[_0xcdfc('0x46')](_0x3024e1['query']['sort']);_0x1ff2a9[_0xcdfc('0x47')]=qs[_0xcdfc('0x3e')](_[_0xcdfc('0x48')](_0x3024e1[_0xcdfc('0x3c')],_0x20e0d7[_0xcdfc('0x3e')]));if(_0x3024e1[_0xcdfc('0x3c')][_0xcdfc('0x4a')]){_0x1ff2a9['where']=_[_0xcdfc('0x4b')](_0x1ff2a9['where'],{'$or':_[_0xcdfc('0x35')](_0x1ff2a9[_0xcdfc('0x41')],function(_0x24583f){var _0x52a68e={};_0x52a68e[_0x24583f]={'$like':'%'+_0x3024e1[_0xcdfc('0x3c')][_0xcdfc('0x4a')]+'%'};return _0x52a68e;})});}_0x1ff2a9=_[_0xcdfc('0x4b')]({},_0x1ff2a9,_0x3024e1[_0xcdfc('0x51')]);return _0xb23d9f[_0xcdfc('0x55')](_0x1ff2a9);}})['then'](function(_0x5b3b7c){if(_0x5b3b7c){_0x4c76e2=_0x5b3b7c['length'];if(!_0x3024e1['query'][_0xcdfc('0x57')](_0xcdfc('0x43'))){_0x1ff2a9[_0xcdfc('0x44')]=qs[_0xcdfc('0x44')](_0x3024e1[_0xcdfc('0x3c')][_0xcdfc('0x44')]);_0x1ff2a9[_0xcdfc('0x29')]=qs[_0xcdfc('0x29')](_0x3024e1[_0xcdfc('0x3c')][_0xcdfc('0x29')]);}return _0xb23d9f[_0xcdfc('0x55')](_0x1ff2a9);}})[_0xcdfc('0x1b')](function(_0x1850f6){if(_0x1850f6){return _0x1850f6?{'count':_0x4c76e2,'rows':_0x1850f6}:null;}})[_0xcdfc('0x1b')](respondWithResult(_0x24e3f0,null))[_0xcdfc('0x24')](handleError(_0x24e3f0,null));};exports[_0xcdfc('0x58')]=function(_0x22613d,_0x44450e,_0x544520){var _0x298c2e={};var _0x4e486b={};var _0x404535;var _0x485715;return db[_0xcdfc('0x36')][_0xcdfc('0x56')]({'where':{'id':_0x22613d[_0xcdfc('0x4f')]['id']}})[_0xcdfc('0x1b')](handleEntityNotFound(_0x44450e,null))[_0xcdfc('0x1b')](function(_0xc6d67b){if(_0xc6d67b){_0x404535=_0xc6d67b;_0x4e486b[_0xcdfc('0x3b')]=_[_0xcdfc('0x3d')](db[_0xcdfc('0x59')][_0xcdfc('0x37')]);_0x4e486b[_0xcdfc('0x3c')]=_['keys'](_0x22613d[_0xcdfc('0x3c')]);_0x4e486b[_0xcdfc('0x3e')]=_[_0xcdfc('0x3f')](_0x4e486b[_0xcdfc('0x3b')],_0x4e486b['query']);_0x298c2e[_0xcdfc('0x41')]=_[_0xcdfc('0x3f')](_0x4e486b[_0xcdfc('0x3b')],qs['fields'](_0x22613d[_0xcdfc('0x3c')]['fields']));_0x298c2e[_0xcdfc('0x41')]=_0x298c2e[_0xcdfc('0x41')][_0xcdfc('0x42')]?_0x298c2e[_0xcdfc('0x41')]:_0x4e486b[_0xcdfc('0x3b')];_0x298c2e['order']=qs[_0xcdfc('0x46')](_0x22613d[_0xcdfc('0x3c')][_0xcdfc('0x46')]);_0x298c2e['where']=qs[_0xcdfc('0x3e')](_[_0xcdfc('0x48')](_0x22613d[_0xcdfc('0x3c')],_0x4e486b[_0xcdfc('0x3e')]));if(_0x22613d['query'][_0xcdfc('0x4a')]){_0x298c2e[_0xcdfc('0x47')]=_[_0xcdfc('0x4b')](_0x298c2e[_0xcdfc('0x47')],{'$or':_[_0xcdfc('0x35')](_0x298c2e[_0xcdfc('0x41')],function(_0x33ef66){var _0x5639c1={};_0x5639c1[_0x33ef66]={'$like':'%'+_0x22613d['query'][_0xcdfc('0x4a')]+'%'};return _0x5639c1;})});}_0x298c2e=_[_0xcdfc('0x4b')]({},_0x298c2e,_0x22613d[_0xcdfc('0x51')]);return _0x404535['getSubjects'](_0x298c2e);}})['then'](function(_0x5d5a5a){if(_0x5d5a5a){_0x485715=_0x5d5a5a['length'];if(!_0x22613d[_0xcdfc('0x3c')][_0xcdfc('0x57')](_0xcdfc('0x43'))){_0x298c2e[_0xcdfc('0x44')]=qs[_0xcdfc('0x44')](_0x22613d[_0xcdfc('0x3c')][_0xcdfc('0x44')]);_0x298c2e[_0xcdfc('0x29')]=qs[_0xcdfc('0x29')](_0x22613d[_0xcdfc('0x3c')][_0xcdfc('0x29')]);}return _0x404535[_0xcdfc('0x58')](_0x298c2e);}})[_0xcdfc('0x1b')](function(_0x2ef9b9){if(_0x2ef9b9){return _0x2ef9b9?{'count':_0x485715,'rows':_0x2ef9b9}:null;}})[_0xcdfc('0x1b')](respondWithResult(_0x44450e,null))[_0xcdfc('0x24')](handleError(_0x44450e,null));};exports[_0xcdfc('0x5a')]=function(_0xa2c8a7,_0x516d7c,_0x551a61){var _0x6d61e0={};var _0x35acfd={};var _0x4becad;var _0x10741b;return db[_0xcdfc('0x36')]['findOne']({'where':{'id':_0xa2c8a7[_0xcdfc('0x4f')]['id']}})[_0xcdfc('0x1b')](handleEntityNotFound(_0x516d7c,null))[_0xcdfc('0x1b')](function(_0x3fac5f){if(_0x3fac5f){_0x4becad=_0x3fac5f;_0x35acfd['model']=_[_0xcdfc('0x3d')](db[_0xcdfc('0x59')][_0xcdfc('0x37')]);_0x35acfd[_0xcdfc('0x3c')]=_[_0xcdfc('0x3d')](_0xa2c8a7[_0xcdfc('0x3c')]);_0x35acfd[_0xcdfc('0x3e')]=_[_0xcdfc('0x3f')](_0x35acfd['model'],_0x35acfd[_0xcdfc('0x3c')]);_0x6d61e0[_0xcdfc('0x41')]=_[_0xcdfc('0x3f')](_0x35acfd[_0xcdfc('0x3b')],qs[_0xcdfc('0x40')](_0xa2c8a7['query']['fields']));_0x6d61e0[_0xcdfc('0x41')]=_0x6d61e0[_0xcdfc('0x41')][_0xcdfc('0x42')]?_0x6d61e0[_0xcdfc('0x41')]:_0x35acfd[_0xcdfc('0x3b')];_0x6d61e0[_0xcdfc('0x45')]=qs[_0xcdfc('0x46')](_0xa2c8a7[_0xcdfc('0x3c')][_0xcdfc('0x46')]);_0x6d61e0[_0xcdfc('0x47')]=qs[_0xcdfc('0x3e')](_[_0xcdfc('0x48')](_0xa2c8a7['query'],_0x35acfd['filters']));if(_0xa2c8a7[_0xcdfc('0x3c')][_0xcdfc('0x4a')]){_0x6d61e0['where']=_['merge'](_0x6d61e0['where'],{'$or':_[_0xcdfc('0x35')](_0x6d61e0[_0xcdfc('0x41')],function(_0x4008ec){var _0x5b5411={};_0x5b5411[_0x4008ec]={'$like':'%'+_0xa2c8a7[_0xcdfc('0x3c')][_0xcdfc('0x4a')]+'%'};return _0x5b5411;})});}_0x6d61e0=_[_0xcdfc('0x4b')]({},_0x6d61e0,_0xa2c8a7[_0xcdfc('0x51')]);return _0x4becad[_0xcdfc('0x5a')](_0x6d61e0);}})[_0xcdfc('0x1b')](function(_0x594062){if(_0x594062){_0x10741b=_0x594062[_0xcdfc('0x42')];if(!_0xa2c8a7['query'][_0xcdfc('0x57')](_0xcdfc('0x43'))){_0x6d61e0[_0xcdfc('0x44')]=qs[_0xcdfc('0x44')](_0xa2c8a7[_0xcdfc('0x3c')][_0xcdfc('0x44')]);_0x6d61e0[_0xcdfc('0x29')]=qs[_0xcdfc('0x29')](_0xa2c8a7[_0xcdfc('0x3c')][_0xcdfc('0x29')]);}return _0x4becad[_0xcdfc('0x5a')](_0x6d61e0);}})[_0xcdfc('0x1b')](function(_0x10af5e){if(_0x10af5e){return _0x10af5e?{'count':_0x10741b,'rows':_0x10af5e}:null;}})[_0xcdfc('0x1b')](respondWithResult(_0x516d7c,null))[_0xcdfc('0x24')](handleError(_0x516d7c,null));}; \ No newline at end of file diff --git a/server/api/intSalesforceConfiguration/intSalesforceConfiguration.model.js b/server/api/intSalesforceConfiguration/intSalesforceConfiguration.model.js index 22500aa..b198806 100644 --- a/server/api/intSalesforceConfiguration/intSalesforceConfiguration.model.js +++ b/server/api/intSalesforceConfiguration/intSalesforceConfiguration.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x9c59=['bluebird','request-promise','path','rimraf','../../config/environment','./intSalesforceConfiguration.attributes','exports','define','../../config/logger','moment'];(function(_0x304763,_0x732857){var _0x4bfa22=function(_0x371156){while(--_0x371156){_0x304763['push'](_0x304763['shift']());}};_0x4bfa22(++_0x732857);}(_0x9c59,0x120));var _0x99c5=function(_0x199a3b,_0x325251){_0x199a3b=_0x199a3b-0x0;var _0x4e8c29=_0x9c59[_0x199a3b];return _0x4e8c29;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x99c5('0x0'))('api');var moment=require(_0x99c5('0x1'));var BPromise=require(_0x99c5('0x2'));var rp=require(_0x99c5('0x3'));var fs=require('fs');var path=require(_0x99c5('0x4'));var rimraf=require(_0x99c5('0x5'));var config=require(_0x99c5('0x6'));var attributes=require(_0x99c5('0x7'));module[_0x99c5('0x8')]=function(_0x443b71,_0x25103b){return _0x443b71[_0x99c5('0x9')]('SalesforceConfiguration',attributes,{'tableName':'int_salesforce_configurations','paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0x338a=['request-promise','../../config/environment','exports','define','SalesforceConfiguration','../../config/logger','api','bluebird'];(function(_0x14c368,_0x3454a5){var _0x54892a=function(_0x185a4d){while(--_0x185a4d){_0x14c368['push'](_0x14c368['shift']());}};_0x54892a(++_0x3454a5);}(_0x338a,0x19d));var _0xa338=function(_0x4cdd37,_0x27a875){_0x4cdd37=_0x4cdd37-0x0;var _0x4a40c6=_0x338a[_0x4cdd37];return _0x4a40c6;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0xa338('0x0'))(_0xa338('0x1'));var moment=require('moment');var BPromise=require(_0xa338('0x2'));var rp=require(_0xa338('0x3'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0xa338('0x4'));var attributes=require('./intSalesforceConfiguration.attributes');module[_0xa338('0x5')]=function(_0x4b5546,_0x457500){return _0x4b5546[_0xa338('0x6')](_0xa338('0x7'),attributes,{'tableName':'int_salesforce_configurations','paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/intSalesforceConfiguration/intSalesforceConfiguration.rpc.js b/server/api/intSalesforceConfiguration/intSalesforceConfiguration.rpc.js index d07b701..9e4e18f 100644 --- a/server/api/intSalesforceConfiguration/intSalesforceConfiguration.rpc.js +++ b/server/api/intSalesforceConfiguration/intSalesforceConfiguration.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xe764=['util','bluebird','randomstring','ioredis','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','request','then','SalesforceConfiguration,\x20%s,\x20%s','request\x20sent','debug','SalesforceConfiguration,\x20%s,\x20%s,\x20%s','stringify','error','message','info','result','catch','lodash'];(function(_0x238896,_0x57bbf0){var _0x2bb7d9=function(_0x15fa20){while(--_0x15fa20){_0x238896['push'](_0x238896['shift']());}};_0x2bb7d9(++_0x57bbf0);}(_0xe764,0x107));var _0x4e76=function(_0x1e2072,_0x145d84){_0x1e2072=_0x1e2072-0x0;var _0x1a72ce=_0xe764[_0x1e2072];return _0x1a72ce;};'use strict';var _=require(_0x4e76('0x0'));var util=require(_0x4e76('0x1'));var moment=require('moment');var BPromise=require(_0x4e76('0x2'));var rs=require(_0x4e76('0x3'));var fs=require('fs');var Redis=require(_0x4e76('0x4'));var db=require('../../mysqldb')['db'];var utils=require(_0x4e76('0x5'));var logger=require(_0x4e76('0x6'))(_0x4e76('0x7'));var config=require(_0x4e76('0x8'));var jayson=require(_0x4e76('0x9'));var client=jayson['client']['http']({'port':0x232a});function respondWithRpcPromise(_0x159078,_0xa98144,_0x33a6cc){return new BPromise(function(_0x2ad145,_0x468809){return client[_0x4e76('0xa')](_0x159078,_0x33a6cc)[_0x4e76('0xb')](function(_0x5a5f49){logger['info'](_0x4e76('0xc'),_0xa98144,_0x4e76('0xd'));logger[_0x4e76('0xe')](_0x4e76('0xf'),_0xa98144,_0x4e76('0xd'),JSON[_0x4e76('0x10')](_0x5a5f49));if(_0x5a5f49[_0x4e76('0x11')]){if(_0x5a5f49['error']['code']===0x1f4){logger[_0x4e76('0x11')](_0x4e76('0xc'),_0xa98144,_0x5a5f49[_0x4e76('0x11')][_0x4e76('0x12')]);return _0x468809(_0x5a5f49['error'][_0x4e76('0x12')]);}logger[_0x4e76('0x11')](_0x4e76('0xc'),_0xa98144,_0x5a5f49[_0x4e76('0x11')]['message']);return _0x2ad145(_0x5a5f49[_0x4e76('0x11')][_0x4e76('0x12')]);}else{logger[_0x4e76('0x13')](_0x4e76('0xc'),_0xa98144,'request\x20sent');_0x2ad145(_0x5a5f49[_0x4e76('0x14')][_0x4e76('0x12')]);}})[_0x4e76('0x15')](function(_0x4c228c){logger[_0x4e76('0x11')](_0x4e76('0xc'),_0xa98144,_0x4c228c);_0x468809(_0x4c228c);});});} \ No newline at end of file +var _0x280d=['result','message','catch','util','bluebird','randomstring','ioredis','../../config/utils','../../config/logger','rpc','client','request','SalesforceConfiguration,\x20%s,\x20%s','request\x20sent','SalesforceConfiguration,\x20%s,\x20%s,\x20%s','stringify','error','code'];(function(_0x191513,_0x25de2e){var _0x5bddab=function(_0x10c663){while(--_0x10c663){_0x191513['push'](_0x191513['shift']());}};_0x5bddab(++_0x25de2e);}(_0x280d,0xa5));var _0xd280=function(_0x2a4591,_0x1f5217){_0x2a4591=_0x2a4591-0x0;var _0x370060=_0x280d[_0x2a4591];return _0x370060;};'use strict';var _=require('lodash');var util=require(_0xd280('0x0'));var moment=require('moment');var BPromise=require(_0xd280('0x1'));var rs=require(_0xd280('0x2'));var fs=require('fs');var Redis=require(_0xd280('0x3'));var db=require('../../mysqldb')['db'];var utils=require(_0xd280('0x4'));var logger=require(_0xd280('0x5'))(_0xd280('0x6'));var config=require('../../config/environment');var jayson=require('jayson/promise');var client=jayson[_0xd280('0x7')]['http']({'port':0x232a});function respondWithRpcPromise(_0x3b8377,_0x2025f0,_0x132426){return new BPromise(function(_0x490fbc,_0x5a0c8a){return client[_0xd280('0x8')](_0x3b8377,_0x132426)['then'](function(_0xcaccc1){logger['info'](_0xd280('0x9'),_0x2025f0,_0xd280('0xa'));logger['debug'](_0xd280('0xb'),_0x2025f0,_0xd280('0xa'),JSON[_0xd280('0xc')](_0xcaccc1));if(_0xcaccc1[_0xd280('0xd')]){if(_0xcaccc1['error'][_0xd280('0xe')]===0x1f4){logger[_0xd280('0xd')](_0xd280('0x9'),_0x2025f0,_0xcaccc1[_0xd280('0xd')]['message']);return _0x5a0c8a(_0xcaccc1[_0xd280('0xd')]['message']);}logger[_0xd280('0xd')](_0xd280('0x9'),_0x2025f0,_0xcaccc1[_0xd280('0xd')]['message']);return _0x490fbc(_0xcaccc1['error']['message']);}else{logger['info'](_0xd280('0x9'),_0x2025f0,'request\x20sent');_0x490fbc(_0xcaccc1[_0xd280('0xf')][_0xd280('0x10')]);}})[_0xd280('0x11')](function(_0x49f7fe){logger[_0xd280('0xd')]('SalesforceConfiguration,\x20%s,\x20%s',_0x2025f0,_0x49f7fe);_0x5a0c8a(_0x49f7fe);});});} \ No newline at end of file diff --git a/server/api/intSalesforceField/index.js b/server/api/intSalesforceField/index.js index 93ab561..8a2cb38 100644 --- a/server/api/intSalesforceField/index.js +++ b/server/api/intSalesforceField/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xbff5=['../../components/auth/service','../../config/environment','isAuthenticated','index','get','/:id','show','post','create','update','delete','exports','multer','util','path','connect-timeout','express','Router'];(function(_0x5de97d,_0x1141ee){var _0x2da950=function(_0xd74837){while(--_0xd74837){_0x5de97d['push'](_0x5de97d['shift']());}};_0x2da950(++_0x1141ee);}(_0xbff5,0x1bc));var _0x5bff=function(_0x3305d5,_0x325e81){_0x3305d5=_0x3305d5-0x0;var _0x3ca46b=_0xbff5[_0x3305d5];return _0x3ca46b;};'use strict';var multer=require(_0x5bff('0x0'));var util=require(_0x5bff('0x1'));var path=require(_0x5bff('0x2'));var timeout=require(_0x5bff('0x3'));var express=require(_0x5bff('0x4'));var router=express[_0x5bff('0x5')]();var auth=require(_0x5bff('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x5bff('0x7'));var controller=require('./intSalesforceField.controller');router['get']('/',auth[_0x5bff('0x8')](),controller[_0x5bff('0x9')]);router[_0x5bff('0xa')](_0x5bff('0xb'),auth[_0x5bff('0x8')](),controller[_0x5bff('0xc')]);router[_0x5bff('0xd')]('/',auth[_0x5bff('0x8')](),controller[_0x5bff('0xe')]);router['put'](_0x5bff('0xb'),auth['isAuthenticated'](),controller[_0x5bff('0xf')]);router[_0x5bff('0x10')]('/:id',auth[_0x5bff('0x8')](),controller['destroy']);module[_0x5bff('0x11')]=router; \ No newline at end of file +var _0x524e=['/:id','post','create','put','update','delete','destroy','exports','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./intSalesforceField.controller','get','isAuthenticated'];(function(_0x217f77,_0x2b17ed){var _0x43d08d=function(_0x2d6ada){while(--_0x2d6ada){_0x217f77['push'](_0x217f77['shift']());}};_0x43d08d(++_0x2b17ed);}(_0x524e,0x15e));var _0xe524=function(_0x37216e,_0x7690fb){_0x37216e=_0x37216e-0x0;var _0x535a0e=_0x524e[_0x37216e];return _0x535a0e;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xe524('0x0'));var timeout=require(_0xe524('0x1'));var express=require(_0xe524('0x2'));var router=express[_0xe524('0x3')]();var auth=require(_0xe524('0x4'));var interaction=require(_0xe524('0x5'));var config=require(_0xe524('0x6'));var controller=require(_0xe524('0x7'));router[_0xe524('0x8')]('/',auth[_0xe524('0x9')](),controller['index']);router[_0xe524('0x8')](_0xe524('0xa'),auth[_0xe524('0x9')](),controller['show']);router[_0xe524('0xb')]('/',auth[_0xe524('0x9')](),controller[_0xe524('0xc')]);router[_0xe524('0xd')](_0xe524('0xa'),auth[_0xe524('0x9')](),controller[_0xe524('0xe')]);router[_0xe524('0xf')](_0xe524('0xa'),auth[_0xe524('0x9')](),controller[_0xe524('0x10')]);module[_0xe524('0x11')]=router; \ No newline at end of file diff --git a/server/api/intSalesforceField/intSalesforceField.attributes.js b/server/api/intSalesforceField/intSalesforceField.attributes.js index 9993744..1f96c73 100644 --- a/server/api/intSalesforceField/intSalesforceField.attributes.js +++ b/server/api/intSalesforceField/intSalesforceField.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x40ff=['exports','ENUM','string','variable','customVariable','keyValue','STRING','sequelize'];(function(_0x409353,_0xe9f04d){var _0x4f4b59=function(_0x64b587){while(--_0x64b587){_0x409353['push'](_0x409353['shift']());}};_0x4f4b59(++_0xe9f04d);}(_0x40ff,0x1cf));var _0xf40f=function(_0x438a2b,_0x3230d3){_0x438a2b=_0x438a2b-0x0;var _0x12aea8=_0x40ff[_0x438a2b];return _0x12aea8;};'use strict';var Sequelize=require(_0xf40f('0x0'));module[_0xf40f('0x1')]={'type':{'type':Sequelize[_0xf40f('0x2')](_0xf40f('0x3'),_0xf40f('0x4'),_0xf40f('0x5'),_0xf40f('0x6')),'defaultValue':_0xf40f('0x3')},'content':{'type':Sequelize[_0xf40f('0x7')]},'key':{'type':Sequelize['STRING']},'keyType':{'type':Sequelize[_0xf40f('0x2')]('string',_0xf40f('0x4'),_0xf40f('0x5'))},'keyContent':{'type':Sequelize[_0xf40f('0x7')]},'idField':{'type':Sequelize['STRING']},'variableName':{'type':Sequelize['STRING']}}; \ No newline at end of file +var _0x3c37=['string','STRING','variable','sequelize','exports','ENUM','customVariable','keyValue'];(function(_0x413feb,_0x10477f){var _0x40ee88=function(_0x32a3f6){while(--_0x32a3f6){_0x413feb['push'](_0x413feb['shift']());}};_0x40ee88(++_0x10477f);}(_0x3c37,0x1f3));var _0x73c3=function(_0x135509,_0x286a7d){_0x135509=_0x135509-0x0;var _0xd889cc=_0x3c37[_0x135509];return _0xd889cc;};'use strict';var Sequelize=require(_0x73c3('0x0'));module[_0x73c3('0x1')]={'type':{'type':Sequelize[_0x73c3('0x2')]('string','variable',_0x73c3('0x3'),_0x73c3('0x4')),'defaultValue':_0x73c3('0x5')},'content':{'type':Sequelize[_0x73c3('0x6')]},'key':{'type':Sequelize[_0x73c3('0x6')]},'keyType':{'type':Sequelize[_0x73c3('0x2')](_0x73c3('0x5'),_0x73c3('0x7'),_0x73c3('0x3'))},'keyContent':{'type':Sequelize['STRING']},'idField':{'type':Sequelize['STRING']},'variableName':{'type':Sequelize['STRING']}}; \ No newline at end of file diff --git a/server/api/intSalesforceField/intSalesforceField.controller.js b/server/api/intSalesforceField/intSalesforceField.controller.js index 3010157..34d973e 100644 --- a/server/api/intSalesforceField/intSalesforceField.controller.js +++ b/server/api/intSalesforceField/intSalesforceField.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x9ef7=['end','count','offset','limit','Content-Range','json','apply','reject','save','update','then','error','stack','name','send','index','map','SalesforceField','rawAttributes','fieldName','type','model','query','filters','intersection','attributes','fields','sort','where','pick','filter','merge','VIRTUAL','includeAll','include','rows','catch','show','params','keys','length','options','find','create','body','destroy','html-pdf','eml-format','rimraf','zip-dir','request-promise','moment','mustache','util','path','sox','to-csv','ejs','lodash','crypto','jsforce','desk.js','querystring','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','sendStatus','status'];(function(_0x1ec751,_0x55f7b9){var _0x5bce10=function(_0x551a18){while(--_0x551a18){_0x1ec751['push'](_0x1ec751['shift']());}};_0x5bce10(++_0x55f7b9);}(_0x9ef7,0x109));var _0x79ef=function(_0x5ddb1c,_0x5ea4df){_0x5ddb1c=_0x5ddb1c-0x0;var _0x354adc=_0x9ef7[_0x5ddb1c];return _0x354adc;};'use strict';var pdf=require(_0x79ef('0x0'));var emlformat=require(_0x79ef('0x1'));var rimraf=require(_0x79ef('0x2'));var zipdir=require(_0x79ef('0x3'));var jsonpatch=require('fast-json-patch');var rp=require(_0x79ef('0x4'));var moment=require(_0x79ef('0x5'));var BPromise=require('bluebird');var Mustache=require(_0x79ef('0x6'));var util=require(_0x79ef('0x7'));var path=require(_0x79ef('0x8'));var sox=require(_0x79ef('0x9'));var csv=require(_0x79ef('0xa'));var ejs=require(_0x79ef('0xb'));var fs=require('fs');var _=require(_0x79ef('0xc'));var squel=require('squel');var crypto=require(_0x79ef('0xd'));var jsforce=require(_0x79ef('0xe'));var deskjs=require(_0x79ef('0xf'));var toCsv=require(_0x79ef('0xa'));var querystring=require(_0x79ef('0x10'));var Papa=require('papaparse');var Redis=require('ioredis');var authService=require(_0x79ef('0x11'));var qs=require(_0x79ef('0x12'));var as=require(_0x79ef('0x13'));var hardwareService=require(_0x79ef('0x14'));var logger=require(_0x79ef('0x15'))(_0x79ef('0x16'));var utils=require(_0x79ef('0x17'));var config=require(_0x79ef('0x18'));var db=require('../../mysqldb')['db'];function respondWithStatusCode(_0x1a95b3,_0x3283d2){_0x3283d2=_0x3283d2||0xcc;return function(_0xc8eb7c){if(_0xc8eb7c){return _0x1a95b3[_0x79ef('0x19')](_0x3283d2);}return _0x1a95b3[_0x79ef('0x1a')](_0x3283d2)[_0x79ef('0x1b')]();};}function respondWithResult(_0x28cd23,_0x2faca9){_0x2faca9=_0x2faca9||0xc8;return function(_0x4bd903){if(_0x4bd903){return _0x28cd23[_0x79ef('0x1a')](_0x2faca9)['json'](_0x4bd903);}};}function respondWithFilteredResult(_0x1a5b21,_0x163ecb){return function(_0x5569ae){if(_0x5569ae){var _0x43478a=_0x5569ae[_0x79ef('0x1c')],_0x45d295=_0x163ecb['offset'],_0x425d9a=_0x163ecb[_0x79ef('0x1d')]+_0x163ecb[_0x79ef('0x1e')],_0x4a9596;if(_0x425d9a>=_0x43478a){_0x425d9a=_0x43478a;_0x4a9596=0xc8;}else{_0x4a9596=0xce;}_0x1a5b21['status'](_0x4a9596);return _0x1a5b21['set'](_0x79ef('0x1f'),_0x45d295+'-'+_0x425d9a+'/'+_0x43478a)[_0x79ef('0x20')](_0x5569ae);}return null;};}function patchUpdates(_0x4180fa){return function(_0x563789){try{jsonpatch[_0x79ef('0x21')](_0x563789,_0x4180fa,!![]);}catch(_0x5d7227){return BPromise[_0x79ef('0x22')](_0x5d7227);}return _0x563789[_0x79ef('0x23')]();};}function saveUpdates(_0x541e56,_0x2d2290){return function(_0x2dc12b){if(_0x2dc12b){return _0x2dc12b[_0x79ef('0x24')](_0x541e56)[_0x79ef('0x25')](function(_0x230022){return _0x230022;});}return null;};}function removeEntity(_0x1613b8,_0x46cb47){return function(_0x47ab22){if(_0x47ab22){return _0x47ab22['destroy']()[_0x79ef('0x25')](function(){_0x1613b8[_0x79ef('0x1a')](0xcc)[_0x79ef('0x1b')]();});}};}function handleEntityNotFound(_0x392383,_0x2669a8){return function(_0xd8f93b){if(!_0xd8f93b){_0x392383[_0x79ef('0x19')](0x194);}return _0xd8f93b;};}function handleError(_0x5c8279,_0x494b93){_0x494b93=_0x494b93||0x1f4;return function(_0x2d6a8f){logger[_0x79ef('0x26')](_0x2d6a8f[_0x79ef('0x27')]);if(_0x2d6a8f[_0x79ef('0x28')]){delete _0x2d6a8f[_0x79ef('0x28')];}_0x5c8279['status'](_0x494b93)[_0x79ef('0x29')](_0x2d6a8f);};}exports[_0x79ef('0x2a')]=function(_0x57d1bb,_0x1cd4be){var _0x4a17d1={},_0x37e061={},_0x33d4d4={'count':0x0,'rows':[]};var _0x4e5447=_[_0x79ef('0x2b')](db[_0x79ef('0x2c')][_0x79ef('0x2d')],function(_0x141c49){return{'name':_0x141c49[_0x79ef('0x2e')],'type':_0x141c49[_0x79ef('0x2f')]['key']};});_0x37e061[_0x79ef('0x30')]=_[_0x79ef('0x2b')](_0x4e5447,_0x79ef('0x28'));_0x37e061[_0x79ef('0x31')]=_['keys'](_0x57d1bb[_0x79ef('0x31')]);_0x37e061[_0x79ef('0x32')]=_[_0x79ef('0x33')](_0x37e061[_0x79ef('0x30')],_0x37e061[_0x79ef('0x31')]);_0x4a17d1[_0x79ef('0x34')]=_[_0x79ef('0x33')](_0x37e061[_0x79ef('0x30')],qs[_0x79ef('0x35')](_0x57d1bb[_0x79ef('0x31')]['fields']));_0x4a17d1[_0x79ef('0x34')]=_0x4a17d1[_0x79ef('0x34')]['length']?_0x4a17d1['attributes']:_0x37e061[_0x79ef('0x30')];if(!_0x57d1bb[_0x79ef('0x31')]['hasOwnProperty']('nolimit')){_0x4a17d1[_0x79ef('0x1e')]=qs[_0x79ef('0x1e')](_0x57d1bb[_0x79ef('0x31')]['limit']);_0x4a17d1[_0x79ef('0x1d')]=qs[_0x79ef('0x1d')](_0x57d1bb['query'][_0x79ef('0x1d')]);}_0x4a17d1['order']=qs[_0x79ef('0x36')](_0x57d1bb['query'][_0x79ef('0x36')]);_0x4a17d1[_0x79ef('0x37')]=qs[_0x79ef('0x32')](_[_0x79ef('0x38')](_0x57d1bb[_0x79ef('0x31')],_0x37e061[_0x79ef('0x32')]),_0x4e5447);if(_0x57d1bb[_0x79ef('0x31')][_0x79ef('0x39')]){_0x4a17d1[_0x79ef('0x37')]=_[_0x79ef('0x3a')](_0x4a17d1[_0x79ef('0x37')],{'$or':_[_0x79ef('0x2b')](_0x4e5447,function(_0x1de0d2){if(_0x1de0d2[_0x79ef('0x2f')]!==_0x79ef('0x3b')){var _0x457c03={};_0x457c03[_0x1de0d2['name']]={'$like':'%'+_0x57d1bb['query']['filter']+'%'};return _0x457c03;}})});}_0x4a17d1=_[_0x79ef('0x3a')]({},_0x4a17d1,_0x57d1bb['options']);var _0x34bf19={'where':_0x4a17d1[_0x79ef('0x37')]};return db['SalesforceField'][_0x79ef('0x1c')](_0x34bf19)[_0x79ef('0x25')](function(_0x1028d5){_0x33d4d4[_0x79ef('0x1c')]=_0x1028d5;if(_0x57d1bb[_0x79ef('0x31')][_0x79ef('0x3c')]){_0x4a17d1[_0x79ef('0x3d')]=[{'all':!![]}];}return db[_0x79ef('0x2c')]['findAll'](_0x4a17d1);})['then'](function(_0x5aeed2){_0x33d4d4[_0x79ef('0x3e')]=_0x5aeed2;return _0x33d4d4;})[_0x79ef('0x25')](respondWithFilteredResult(_0x1cd4be,_0x4a17d1))[_0x79ef('0x3f')](handleError(_0x1cd4be,null));};exports[_0x79ef('0x40')]=function(_0x5407ef,_0x5f0a87){var _0x4b35d2={'raw':!![],'where':{'id':_0x5407ef[_0x79ef('0x41')]['id']}},_0x13893d={};_0x13893d[_0x79ef('0x30')]=_['keys'](db[_0x79ef('0x2c')][_0x79ef('0x2d')]);_0x13893d['query']=_[_0x79ef('0x42')](_0x5407ef[_0x79ef('0x31')]);_0x13893d[_0x79ef('0x32')]=_[_0x79ef('0x33')](_0x13893d['model'],_0x13893d[_0x79ef('0x31')]);_0x4b35d2[_0x79ef('0x34')]=_[_0x79ef('0x33')](_0x13893d[_0x79ef('0x30')],qs[_0x79ef('0x35')](_0x5407ef[_0x79ef('0x31')][_0x79ef('0x35')]));_0x4b35d2[_0x79ef('0x34')]=_0x4b35d2[_0x79ef('0x34')][_0x79ef('0x43')]?_0x4b35d2[_0x79ef('0x34')]:_0x13893d['model'];if(_0x5407ef[_0x79ef('0x31')][_0x79ef('0x3c')]){_0x4b35d2[_0x79ef('0x3d')]=[{'all':!![]}];}_0x4b35d2=_[_0x79ef('0x3a')]({},_0x4b35d2,_0x5407ef[_0x79ef('0x44')]);return db['SalesforceField'][_0x79ef('0x45')](_0x4b35d2)['then'](handleEntityNotFound(_0x5f0a87,null))[_0x79ef('0x25')](respondWithResult(_0x5f0a87,null))[_0x79ef('0x3f')](handleError(_0x5f0a87,null));};exports[_0x79ef('0x46')]=function(_0x1dbe4d,_0x3fdedf){return db[_0x79ef('0x2c')]['create'](_0x1dbe4d['body'],{})[_0x79ef('0x25')](respondWithResult(_0x3fdedf,0xc9))[_0x79ef('0x3f')](handleError(_0x3fdedf,null));};exports['update']=function(_0x599abf,_0x5bcefa){if(_0x599abf['body']['id']){delete _0x599abf[_0x79ef('0x47')]['id'];}return db[_0x79ef('0x2c')][_0x79ef('0x45')]({'where':{'id':_0x599abf[_0x79ef('0x41')]['id']}})[_0x79ef('0x25')](handleEntityNotFound(_0x5bcefa,null))[_0x79ef('0x25')](saveUpdates(_0x599abf[_0x79ef('0x47')],null))[_0x79ef('0x25')](respondWithResult(_0x5bcefa,null))['catch'](handleError(_0x5bcefa,null));};exports[_0x79ef('0x48')]=function(_0x194696,_0x95d62b){return db[_0x79ef('0x2c')]['find']({'where':{'id':_0x194696[_0x79ef('0x41')]['id']}})['then'](handleEntityNotFound(_0x95d62b,null))[_0x79ef('0x25')](removeEntity(_0x95d62b,null))[_0x79ef('0x3f')](handleError(_0x95d62b,null));}; \ No newline at end of file +var _0xdff4=['where','VIRTUAL','options','includeAll','rows','catch','keys','find','create','body','update','params','rimraf','fast-json-patch','moment','bluebird','mustache','util','sox','to-csv','ejs','squel','crypto','jsforce','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','end','status','json','count','offset','set','apply','reject','save','then','destroy','sendStatus','stack','name','send','index','map','SalesforceField','rawAttributes','fieldName','type','model','query','filters','attributes','intersection','fields','length','hasOwnProperty','nolimit','limit','sort','pick','filter','merge'];(function(_0xa1ee59,_0x405f79){var _0x3617b3=function(_0x20e6a9){while(--_0x20e6a9){_0xa1ee59['push'](_0xa1ee59['shift']());}};_0x3617b3(++_0x405f79);}(_0xdff4,0xde));var _0x4dff=function(_0x347a5b,_0x661844){_0x347a5b=_0x347a5b-0x0;var _0x3498a3=_0xdff4[_0x347a5b];return _0x3498a3;};'use strict';var pdf=require('html-pdf');var emlformat=require('eml-format');var rimraf=require(_0x4dff('0x0'));var zipdir=require('zip-dir');var jsonpatch=require(_0x4dff('0x1'));var rp=require('request-promise');var moment=require(_0x4dff('0x2'));var BPromise=require(_0x4dff('0x3'));var Mustache=require(_0x4dff('0x4'));var util=require(_0x4dff('0x5'));var path=require('path');var sox=require(_0x4dff('0x6'));var csv=require(_0x4dff('0x7'));var ejs=require(_0x4dff('0x8'));var fs=require('fs');var _=require('lodash');var squel=require(_0x4dff('0x9'));var crypto=require(_0x4dff('0xa'));var jsforce=require(_0x4dff('0xb'));var deskjs=require(_0x4dff('0xc'));var toCsv=require(_0x4dff('0x7'));var querystring=require(_0x4dff('0xd'));var Papa=require(_0x4dff('0xe'));var Redis=require(_0x4dff('0xf'));var authService=require(_0x4dff('0x10'));var qs=require(_0x4dff('0x11'));var as=require(_0x4dff('0x12'));var hardwareService=require(_0x4dff('0x13'));var logger=require(_0x4dff('0x14'))(_0x4dff('0x15'));var utils=require(_0x4dff('0x16'));var config=require('../../config/environment');var db=require('../../mysqldb')['db'];function respondWithStatusCode(_0x3677b,_0x2f594d){_0x2f594d=_0x2f594d||0xcc;return function(_0x4d227d){if(_0x4d227d){return _0x3677b['sendStatus'](_0x2f594d);}return _0x3677b['status'](_0x2f594d)[_0x4dff('0x17')]();};}function respondWithResult(_0x3515eb,_0x363209){_0x363209=_0x363209||0xc8;return function(_0x48a2d4){if(_0x48a2d4){return _0x3515eb[_0x4dff('0x18')](_0x363209)[_0x4dff('0x19')](_0x48a2d4);}};}function respondWithFilteredResult(_0x1d3fab,_0x3375c9){return function(_0x47fedc){if(_0x47fedc){var _0x2d8c3b=_0x47fedc[_0x4dff('0x1a')],_0x49ae55=_0x3375c9[_0x4dff('0x1b')],_0x298043=_0x3375c9['offset']+_0x3375c9['limit'],_0x2236e0;if(_0x298043>=_0x2d8c3b){_0x298043=_0x2d8c3b;_0x2236e0=0xc8;}else{_0x2236e0=0xce;}_0x1d3fab[_0x4dff('0x18')](_0x2236e0);return _0x1d3fab[_0x4dff('0x1c')]('Content-Range',_0x49ae55+'-'+_0x298043+'/'+_0x2d8c3b)[_0x4dff('0x19')](_0x47fedc);}return null;};}function patchUpdates(_0x277487){return function(_0x5dbb20){try{jsonpatch[_0x4dff('0x1d')](_0x5dbb20,_0x277487,!![]);}catch(_0x196a94){return BPromise[_0x4dff('0x1e')](_0x196a94);}return _0x5dbb20[_0x4dff('0x1f')]();};}function saveUpdates(_0x53387c,_0x5e631c){return function(_0xbb4f1b){if(_0xbb4f1b){return _0xbb4f1b['update'](_0x53387c)[_0x4dff('0x20')](function(_0x1c7273){return _0x1c7273;});}return null;};}function removeEntity(_0x32d02c,_0x4ae27b){return function(_0x150e98){if(_0x150e98){return _0x150e98[_0x4dff('0x21')]()[_0x4dff('0x20')](function(){_0x32d02c[_0x4dff('0x18')](0xcc)[_0x4dff('0x17')]();});}};}function handleEntityNotFound(_0x501c4c,_0xc0b10){return function(_0x3506d6){if(!_0x3506d6){_0x501c4c[_0x4dff('0x22')](0x194);}return _0x3506d6;};}function handleError(_0x1694d7,_0x574145){_0x574145=_0x574145||0x1f4;return function(_0x4831b3){logger['error'](_0x4831b3[_0x4dff('0x23')]);if(_0x4831b3[_0x4dff('0x24')]){delete _0x4831b3['name'];}_0x1694d7[_0x4dff('0x18')](_0x574145)[_0x4dff('0x25')](_0x4831b3);};}exports[_0x4dff('0x26')]=function(_0x3e2afb,_0x58d5ab){var _0x202612={},_0x1f878d={},_0x5ca209={'count':0x0,'rows':[]};var _0x36ea51=_[_0x4dff('0x27')](db[_0x4dff('0x28')][_0x4dff('0x29')],function(_0x1e15e0){return{'name':_0x1e15e0[_0x4dff('0x2a')],'type':_0x1e15e0[_0x4dff('0x2b')]['key']};});_0x1f878d[_0x4dff('0x2c')]=_[_0x4dff('0x27')](_0x36ea51,_0x4dff('0x24'));_0x1f878d['query']=_['keys'](_0x3e2afb[_0x4dff('0x2d')]);_0x1f878d[_0x4dff('0x2e')]=_['intersection'](_0x1f878d[_0x4dff('0x2c')],_0x1f878d[_0x4dff('0x2d')]);_0x202612[_0x4dff('0x2f')]=_[_0x4dff('0x30')](_0x1f878d['model'],qs['fields'](_0x3e2afb[_0x4dff('0x2d')][_0x4dff('0x31')]));_0x202612['attributes']=_0x202612[_0x4dff('0x2f')][_0x4dff('0x32')]?_0x202612[_0x4dff('0x2f')]:_0x1f878d['model'];if(!_0x3e2afb[_0x4dff('0x2d')][_0x4dff('0x33')](_0x4dff('0x34'))){_0x202612[_0x4dff('0x35')]=qs[_0x4dff('0x35')](_0x3e2afb[_0x4dff('0x2d')][_0x4dff('0x35')]);_0x202612[_0x4dff('0x1b')]=qs[_0x4dff('0x1b')](_0x3e2afb[_0x4dff('0x2d')][_0x4dff('0x1b')]);}_0x202612['order']=qs[_0x4dff('0x36')](_0x3e2afb[_0x4dff('0x2d')]['sort']);_0x202612['where']=qs[_0x4dff('0x2e')](_[_0x4dff('0x37')](_0x3e2afb[_0x4dff('0x2d')],_0x1f878d[_0x4dff('0x2e')]),_0x36ea51);if(_0x3e2afb['query'][_0x4dff('0x38')]){_0x202612['where']=_[_0x4dff('0x39')](_0x202612[_0x4dff('0x3a')],{'$or':_[_0x4dff('0x27')](_0x36ea51,function(_0x5dd026){if(_0x5dd026[_0x4dff('0x2b')]!==_0x4dff('0x3b')){var _0x339fe7={};_0x339fe7[_0x5dd026[_0x4dff('0x24')]]={'$like':'%'+_0x3e2afb[_0x4dff('0x2d')][_0x4dff('0x38')]+'%'};return _0x339fe7;}})});}_0x202612=_[_0x4dff('0x39')]({},_0x202612,_0x3e2afb[_0x4dff('0x3c')]);var _0x2e61f4={'where':_0x202612[_0x4dff('0x3a')]};return db['SalesforceField']['count'](_0x2e61f4)['then'](function(_0x2853ae){_0x5ca209[_0x4dff('0x1a')]=_0x2853ae;if(_0x3e2afb['query'][_0x4dff('0x3d')]){_0x202612['include']=[{'all':!![]}];}return db[_0x4dff('0x28')]['findAll'](_0x202612);})[_0x4dff('0x20')](function(_0x1b56aa){_0x5ca209[_0x4dff('0x3e')]=_0x1b56aa;return _0x5ca209;})['then'](respondWithFilteredResult(_0x58d5ab,_0x202612))[_0x4dff('0x3f')](handleError(_0x58d5ab,null));};exports['show']=function(_0x4b1a7a,_0x597b19){var _0x2b1d7f={'raw':!![],'where':{'id':_0x4b1a7a['params']['id']}},_0x13bc7e={};_0x13bc7e[_0x4dff('0x2c')]=_[_0x4dff('0x40')](db[_0x4dff('0x28')]['rawAttributes']);_0x13bc7e[_0x4dff('0x2d')]=_[_0x4dff('0x40')](_0x4b1a7a['query']);_0x13bc7e[_0x4dff('0x2e')]=_['intersection'](_0x13bc7e[_0x4dff('0x2c')],_0x13bc7e['query']);_0x2b1d7f['attributes']=_[_0x4dff('0x30')](_0x13bc7e['model'],qs[_0x4dff('0x31')](_0x4b1a7a[_0x4dff('0x2d')]['fields']));_0x2b1d7f[_0x4dff('0x2f')]=_0x2b1d7f[_0x4dff('0x2f')][_0x4dff('0x32')]?_0x2b1d7f[_0x4dff('0x2f')]:_0x13bc7e['model'];if(_0x4b1a7a['query'][_0x4dff('0x3d')]){_0x2b1d7f['include']=[{'all':!![]}];}_0x2b1d7f=_[_0x4dff('0x39')]({},_0x2b1d7f,_0x4b1a7a['options']);return db[_0x4dff('0x28')][_0x4dff('0x41')](_0x2b1d7f)[_0x4dff('0x20')](handleEntityNotFound(_0x597b19,null))[_0x4dff('0x20')](respondWithResult(_0x597b19,null))[_0x4dff('0x3f')](handleError(_0x597b19,null));};exports[_0x4dff('0x42')]=function(_0x570c22,_0x210254){return db[_0x4dff('0x28')][_0x4dff('0x42')](_0x570c22[_0x4dff('0x43')],{})[_0x4dff('0x20')](respondWithResult(_0x210254,0xc9))[_0x4dff('0x3f')](handleError(_0x210254,null));};exports[_0x4dff('0x44')]=function(_0x5e76e8,_0x5ee1c8){if(_0x5e76e8['body']['id']){delete _0x5e76e8[_0x4dff('0x43')]['id'];}return db[_0x4dff('0x28')][_0x4dff('0x41')]({'where':{'id':_0x5e76e8[_0x4dff('0x45')]['id']}})[_0x4dff('0x20')](handleEntityNotFound(_0x5ee1c8,null))['then'](saveUpdates(_0x5e76e8[_0x4dff('0x43')],null))[_0x4dff('0x20')](respondWithResult(_0x5ee1c8,null))[_0x4dff('0x3f')](handleError(_0x5ee1c8,null));};exports[_0x4dff('0x21')]=function(_0x541639,_0x11bb14){return db['SalesforceField']['find']({'where':{'id':_0x541639[_0x4dff('0x45')]['id']}})['then'](handleEntityNotFound(_0x11bb14,null))['then'](removeEntity(_0x11bb14,null))[_0x4dff('0x3f')](handleError(_0x11bb14,null));}; \ No newline at end of file diff --git a/server/api/intSalesforceField/intSalesforceField.model.js b/server/api/intSalesforceField/intSalesforceField.model.js index 7614124..4840080 100644 --- a/server/api/intSalesforceField/intSalesforceField.model.js +++ b/server/api/intSalesforceField/intSalesforceField.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x665a=['exports','define','SalesforceField','int_salesforce_fields','salesforce_unique_index','idField','util','api','request-promise','path','rimraf','../../config/environment','./intSalesforceField.attributes'];(function(_0x1aae33,_0x110a80){var _0x2e91e9=function(_0x218767){while(--_0x218767){_0x1aae33['push'](_0x1aae33['shift']());}};_0x2e91e9(++_0x110a80);}(_0x665a,0xbc));var _0xa665=function(_0x59831f,_0x5154ca){_0x59831f=_0x59831f-0x0;var _0x11f70c=_0x665a[_0x59831f];return _0x11f70c;};'use strict';var _=require('lodash');var util=require(_0xa665('0x0'));var logger=require('../../config/logger')(_0xa665('0x1'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0xa665('0x2'));var fs=require('fs');var path=require(_0xa665('0x3'));var rimraf=require(_0xa665('0x4'));var config=require(_0xa665('0x5'));var attributes=require(_0xa665('0x6'));module[_0xa665('0x7')]=function(_0x5625f1,_0x2771ea){return _0x5625f1[_0xa665('0x8')](_0xa665('0x9'),attributes,{'tableName':_0xa665('0xa'),'paranoid':![],'indexes':[{'name':_0xa665('0xb'),'fields':[_0xa665('0xc'),'FieldId'],'unique':!![]}],'timestamps':!![]});}; \ No newline at end of file +var _0x894b=['../../config/environment','./intSalesforceField.attributes','exports','define','SalesforceField','int_salesforce_fields','salesforce_unique_index','idField','FieldId','util','../../config/logger','moment','bluebird','request-promise','rimraf'];(function(_0x9f9f2d,_0x4bf9f6){var _0x37d716=function(_0xb716a6){while(--_0xb716a6){_0x9f9f2d['push'](_0x9f9f2d['shift']());}};_0x37d716(++_0x4bf9f6);}(_0x894b,0x18f));var _0xb894=function(_0x3adf67,_0x119811){_0x3adf67=_0x3adf67-0x0;var _0x5e5f45=_0x894b[_0x3adf67];return _0x5e5f45;};'use strict';var _=require('lodash');var util=require(_0xb894('0x0'));var logger=require(_0xb894('0x1'))('api');var moment=require(_0xb894('0x2'));var BPromise=require(_0xb894('0x3'));var rp=require(_0xb894('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0xb894('0x5'));var config=require(_0xb894('0x6'));var attributes=require(_0xb894('0x7'));module[_0xb894('0x8')]=function(_0x465764,_0x30b726){return _0x465764[_0xb894('0x9')](_0xb894('0xa'),attributes,{'tableName':_0xb894('0xb'),'paranoid':![],'indexes':[{'name':_0xb894('0xc'),'fields':[_0xb894('0xd'),_0xb894('0xe')],'unique':!![]}],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/intSalesforceField/intSalesforceField.rpc.js b/server/api/intSalesforceField/intSalesforceField.rpc.js index 6587405..f8d8836 100644 --- a/server/api/intSalesforceField/intSalesforceField.rpc.js +++ b/server/api/intSalesforceField/intSalesforceField.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x087b=['../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','client','http','request','then','info','request\x20sent','debug','SalesforceField,\x20%s,\x20%s,\x20%s','stringify','error','SalesforceField,\x20%s,\x20%s','message','result','lodash','util','randomstring','../../mysqldb'];(function(_0x321bb2,_0x202794){var _0x9c12ed=function(_0x263dd3){while(--_0x263dd3){_0x321bb2['push'](_0x321bb2['shift']());}};_0x9c12ed(++_0x202794);}(_0x087b,0x11a));var _0xb087=function(_0x59d89e,_0x55edf5){_0x59d89e=_0x59d89e-0x0;var _0x554e93=_0x087b[_0x59d89e];return _0x554e93;};'use strict';var _=require(_0xb087('0x0'));var util=require(_0xb087('0x1'));var moment=require('moment');var BPromise=require('bluebird');var rs=require(_0xb087('0x2'));var fs=require('fs');var Redis=require('ioredis');var db=require(_0xb087('0x3'))['db'];var utils=require(_0xb087('0x4'));var logger=require(_0xb087('0x5'))(_0xb087('0x6'));var config=require(_0xb087('0x7'));var jayson=require(_0xb087('0x8'));var client=jayson[_0xb087('0x9')][_0xb087('0xa')]({'port':0x232a});function respondWithRpcPromise(_0xecf080,_0x36ac30,_0x3cebbf){return new BPromise(function(_0x6d83fb,_0x1dbe9f){return client[_0xb087('0xb')](_0xecf080,_0x3cebbf)[_0xb087('0xc')](function(_0x23cdd7){logger[_0xb087('0xd')]('SalesforceField,\x20%s,\x20%s',_0x36ac30,_0xb087('0xe'));logger[_0xb087('0xf')](_0xb087('0x10'),_0x36ac30,_0xb087('0xe'),JSON[_0xb087('0x11')](_0x23cdd7));if(_0x23cdd7[_0xb087('0x12')]){if(_0x23cdd7[_0xb087('0x12')]['code']===0x1f4){logger[_0xb087('0x12')](_0xb087('0x13'),_0x36ac30,_0x23cdd7[_0xb087('0x12')]['message']);return _0x1dbe9f(_0x23cdd7[_0xb087('0x12')][_0xb087('0x14')]);}logger[_0xb087('0x12')](_0xb087('0x13'),_0x36ac30,_0x23cdd7[_0xb087('0x12')][_0xb087('0x14')]);return _0x6d83fb(_0x23cdd7[_0xb087('0x12')][_0xb087('0x14')]);}else{logger[_0xb087('0xd')](_0xb087('0x13'),_0x36ac30,'request\x20sent');_0x6d83fb(_0x23cdd7[_0xb087('0x15')][_0xb087('0x14')]);}})['catch'](function(_0xcc4426){logger[_0xb087('0x12')](_0xb087('0x13'),_0x36ac30,_0xcc4426);_0x1dbe9f(_0xcc4426);});});} \ No newline at end of file +var _0x0bb5=['randomstring','ioredis','../../mysqldb','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','then','info','SalesforceField,\x20%s,\x20%s','debug','SalesforceField,\x20%s,\x20%s,\x20%s','request\x20sent','stringify','error','code','message','result','catch','lodash','util'];(function(_0x5e2f27,_0x2495cf){var _0x264c19=function(_0x5cc127){while(--_0x5cc127){_0x5e2f27['push'](_0x5e2f27['shift']());}};_0x264c19(++_0x2495cf);}(_0x0bb5,0x148));var _0x50bb=function(_0x4c44c1,_0x54dd){_0x4c44c1=_0x4c44c1-0x0;var _0xc55e24=_0x0bb5[_0x4c44c1];return _0xc55e24;};'use strict';var _=require(_0x50bb('0x0'));var util=require(_0x50bb('0x1'));var moment=require('moment');var BPromise=require('bluebird');var rs=require(_0x50bb('0x2'));var fs=require('fs');var Redis=require(_0x50bb('0x3'));var db=require(_0x50bb('0x4'))['db'];var utils=require(_0x50bb('0x5'));var logger=require(_0x50bb('0x6'))(_0x50bb('0x7'));var config=require(_0x50bb('0x8'));var jayson=require(_0x50bb('0x9'));var client=jayson['client']['http']({'port':0x232a});function respondWithRpcPromise(_0xfd7aeb,_0x35de5d,_0x2e5463){return new BPromise(function(_0x33ff54,_0x4f9172){return client['request'](_0xfd7aeb,_0x2e5463)[_0x50bb('0xa')](function(_0x1c2174){logger[_0x50bb('0xb')](_0x50bb('0xc'),_0x35de5d,'request\x20sent');logger[_0x50bb('0xd')](_0x50bb('0xe'),_0x35de5d,_0x50bb('0xf'),JSON[_0x50bb('0x10')](_0x1c2174));if(_0x1c2174[_0x50bb('0x11')]){if(_0x1c2174[_0x50bb('0x11')][_0x50bb('0x12')]===0x1f4){logger['error'](_0x50bb('0xc'),_0x35de5d,_0x1c2174['error'][_0x50bb('0x13')]);return _0x4f9172(_0x1c2174[_0x50bb('0x11')][_0x50bb('0x13')]);}logger['error'](_0x50bb('0xc'),_0x35de5d,_0x1c2174[_0x50bb('0x11')][_0x50bb('0x13')]);return _0x33ff54(_0x1c2174['error'][_0x50bb('0x13')]);}else{logger['info'](_0x50bb('0xc'),_0x35de5d,_0x50bb('0xf'));_0x33ff54(_0x1c2174[_0x50bb('0x14')][_0x50bb('0x13')]);}})[_0x50bb('0x15')](function(_0x4f2897){logger[_0x50bb('0x11')](_0x50bb('0xc'),_0x35de5d,_0x4f2897);_0x4f9172(_0x4f2897);});});} \ No newline at end of file diff --git a/server/api/intServicenowAccount/index.js b/server/api/intServicenowAccount/index.js index 387eb15..97ff553 100644 --- a/server/api/intServicenowAccount/index.js +++ b/server/api/intServicenowAccount/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xdd50=['/:id/configurations','/:id/fields','getFields','create','post','addConfiguration','put','update','destroy','exports','util','path','connect-timeout','express','Router','../../components/auth/service','isAuthenticated','index','get','/:id'];(function(_0x126558,_0x143c9a){var _0x1f6d14=function(_0x2b0eea){while(--_0x2b0eea){_0x126558['push'](_0x126558['shift']());}};_0x1f6d14(++_0x143c9a);}(_0xdd50,0x172));var _0x0dd5=function(_0x319cb9,_0x4b8d35){_0x319cb9=_0x319cb9-0x0;var _0x1735fc=_0xdd50[_0x319cb9];return _0x1735fc;};'use strict';var multer=require('multer');var util=require(_0x0dd5('0x0'));var path=require(_0x0dd5('0x1'));var timeout=require(_0x0dd5('0x2'));var express=require(_0x0dd5('0x3'));var router=express[_0x0dd5('0x4')]();var auth=require(_0x0dd5('0x5'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require('./intServicenowAccount.controller');router['get']('/',auth[_0x0dd5('0x6')](),controller[_0x0dd5('0x7')]);router[_0x0dd5('0x8')](_0x0dd5('0x9'),auth[_0x0dd5('0x6')](),controller['show']);router[_0x0dd5('0x8')](_0x0dd5('0xa'),auth[_0x0dd5('0x6')](),controller['getConfigurations']);router['get'](_0x0dd5('0xb'),auth[_0x0dd5('0x6')](),controller[_0x0dd5('0xc')]);router['post']('/',auth['isAuthenticated'](),controller[_0x0dd5('0xd')]);router[_0x0dd5('0xe')]('/:id/configurations',auth[_0x0dd5('0x6')](),controller[_0x0dd5('0xf')]);router[_0x0dd5('0x10')](_0x0dd5('0x9'),auth['isAuthenticated'](),controller[_0x0dd5('0x11')]);router['delete'](_0x0dd5('0x9'),auth['isAuthenticated'](),controller[_0x0dd5('0x12')]);module[_0x0dd5('0x13')]=router; \ No newline at end of file +var _0x1af3=['util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./intServicenowAccount.controller','isAuthenticated','index','get','/:id','show','/:id/configurations','getConfigurations','/:id/fields','getFields','post','create','addConfiguration','put','update','delete','destroy','exports','multer'];(function(_0x86913a,_0x1077f4){var _0x397a59=function(_0x14ef92){while(--_0x14ef92){_0x86913a['push'](_0x86913a['shift']());}};_0x397a59(++_0x1077f4);}(_0x1af3,0x1ca));var _0x31af=function(_0x5c6299,_0x11bd28){_0x5c6299=_0x5c6299-0x0;var _0x23b564=_0x1af3[_0x5c6299];return _0x23b564;};'use strict';var multer=require(_0x31af('0x0'));var util=require(_0x31af('0x1'));var path=require(_0x31af('0x2'));var timeout=require(_0x31af('0x3'));var express=require(_0x31af('0x4'));var router=express[_0x31af('0x5')]();var auth=require(_0x31af('0x6'));var interaction=require(_0x31af('0x7'));var config=require(_0x31af('0x8'));var controller=require(_0x31af('0x9'));router['get']('/',auth[_0x31af('0xa')](),controller[_0x31af('0xb')]);router[_0x31af('0xc')](_0x31af('0xd'),auth['isAuthenticated'](),controller[_0x31af('0xe')]);router[_0x31af('0xc')](_0x31af('0xf'),auth['isAuthenticated'](),controller[_0x31af('0x10')]);router[_0x31af('0xc')](_0x31af('0x11'),auth[_0x31af('0xa')](),controller[_0x31af('0x12')]);router[_0x31af('0x13')]('/',auth[_0x31af('0xa')](),controller[_0x31af('0x14')]);router['post'](_0x31af('0xf'),auth[_0x31af('0xa')](),controller[_0x31af('0x15')]);router[_0x31af('0x16')](_0x31af('0xd'),auth['isAuthenticated'](),controller[_0x31af('0x17')]);router[_0x31af('0x18')]('/:id',auth['isAuthenticated'](),controller[_0x31af('0x19')]);module[_0x31af('0x1a')]=router; \ No newline at end of file diff --git a/server/api/intServicenowAccount/intServicenowAccount.attributes.js b/server/api/intServicenowAccount/intServicenowAccount.attributes.js index c6a1492..d60930e 100644 --- a/server/api/intServicenowAccount/intServicenowAccount.attributes.js +++ b/server/api/intServicenowAccount/intServicenowAccount.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xdb67=['username','remoteUri','sequelize','exports','STRING'];(function(_0x1ac595,_0x5d2081){var _0x455fff=function(_0x3043ee){while(--_0x3043ee){_0x1ac595['push'](_0x1ac595['shift']());}};_0x455fff(++_0x5d2081);}(_0xdb67,0x174));var _0x7db6=function(_0x49ef70,_0x1daf54){_0x49ef70=_0x49ef70-0x0;var _0x5f2994=_0xdb67[_0x49ef70];return _0x5f2994;};'use strict';var Sequelize=require(_0x7db6('0x0'));module[_0x7db6('0x1')]={'name':{'type':Sequelize['STRING']},'description':{'type':Sequelize[_0x7db6('0x2')]},'username':{'type':Sequelize['STRING'],'unique':_0x7db6('0x3')},'password':{'type':Sequelize['STRING']},'email':{'type':Sequelize[_0x7db6('0x2')]},'remoteUri':{'type':Sequelize[_0x7db6('0x2')],'unique':_0x7db6('0x4')},'serverUrl':{'type':Sequelize['STRING']}}; \ No newline at end of file +var _0xecfc=['sequelize','exports','STRING','username','remoteUri'];(function(_0x269db2,_0x2a12be){var _0x22d6a9=function(_0x1b9f2a){while(--_0x1b9f2a){_0x269db2['push'](_0x269db2['shift']());}};_0x22d6a9(++_0x2a12be);}(_0xecfc,0x159));var _0xcecf=function(_0x56ce8b,_0x4a2038){_0x56ce8b=_0x56ce8b-0x0;var _0x5780dc=_0xecfc[_0x56ce8b];return _0x5780dc;};'use strict';var Sequelize=require(_0xcecf('0x0'));module[_0xcecf('0x1')]={'name':{'type':Sequelize[_0xcecf('0x2')]},'description':{'type':Sequelize[_0xcecf('0x2')]},'username':{'type':Sequelize[_0xcecf('0x2')],'unique':_0xcecf('0x3')},'password':{'type':Sequelize[_0xcecf('0x2')]},'email':{'type':Sequelize[_0xcecf('0x2')]},'remoteUri':{'type':Sequelize[_0xcecf('0x2')],'unique':_0xcecf('0x4')},'serverUrl':{'type':Sequelize[_0xcecf('0x2')]}}; \ No newline at end of file diff --git a/server/api/intServicenowAccount/intServicenowAccount.controller.js b/server/api/intServicenowAccount/intServicenowAccount.controller.js index e55a3d2..1b74b21 100644 --- a/server/api/intServicenowAccount/intServicenowAccount.controller.js +++ b/server/api/intServicenowAccount/intServicenowAccount.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x8c5a=['sys_id','reopened_by','urgency','problem_id','company','activity_due','assigned_to','comments','sla_due','approval','comments_and_work_notes','due_date','sys_mod_count','reopen_count','sys_tags','correlation_id','location','password','email','remoteUri','serverUrl','slice','substring','lastIndexOf','format','%s/api/now/doc/table/schema/','%s/api/now/table/','username','GET','incident\x20table\x20objects','assign','remove','forEach','internalType','label','push','all','log','TCL:\x20_object','includes','TCL:\x20exports.getEntityFields\x20->\x20_objectsCustom','ServiceNow\x20error:\x20','statusCode','Wrong\x20credentials','boolean','True','true','False','false','sys_choice?sysparm_query=name=incident^element=','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','util','path','sox','to-csv','ejs','squel','crypto','jsforce','desk.js','querystring','papaparse','../../components/auth/service','../../components/parsers/qs','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','client','http','test','Sequelize','The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.','request','then','info','debug','request\x20sent','stringify','error','code','ServicenowAccount,\x20%s,\x20%s','message','result','status','end','json','offset','limit','set','Content-Range','apply','save','update','destroy','stack','name','send','index','map','ServicenowAccount','rawAttributes','type','query','keys','filters','model','intersection','fields','attributes','hasOwnProperty','nolimit','order','sort','where','pick','filter','merge','VIRTUAL','options','count','findAll','rows','catch','length','includeAll','include','find','create','body','params','getConfigurations','findOne','addConfiguration','AccountId','Subjects','getSubjects','Descriptions','getDescriptions','ServicenowConfiguration','ServicenowField','made_sla','knowledge','close_code','notify','severity','category','caused_by','watch_list','hold_reason','approval_history','number','sys_updated_by','opened_by','user_input','sys_domain','state','sys_created_by','calendar_stc','closed_at','cmdb_ci','delivery_plan','impact','active','business_service','priority','sys_domain_path','rfc','time_worked','business_duration','work_end','reopened_time','approval_set','short_description','correlation_display','delivery_task','work_start','business_stc','additional_assignee_list','description','calendar_duration','sys_class_name','close_notes','closed_by','follow_up','parent_incident'];(function(_0x536bc2,_0x35c4bf){var _0x551b56=function(_0x4637a6){while(--_0x4637a6){_0x536bc2['push'](_0x536bc2['shift']());}};_0x551b56(++_0x35c4bf);}(_0x8c5a,0x1b6));var _0xa8c5=function(_0x1302e9,_0x20f124){_0x1302e9=_0x1302e9-0x0;var _0xef99c3=_0x8c5a[_0x1302e9];return _0xef99c3;};'use strict';var pdf=require(_0xa8c5('0x0'));var emlformat=require(_0xa8c5('0x1'));var rimraf=require(_0xa8c5('0x2'));var zipdir=require(_0xa8c5('0x3'));var jsonpatch=require(_0xa8c5('0x4'));var rp=require(_0xa8c5('0x5'));var moment=require(_0xa8c5('0x6'));var BPromise=require(_0xa8c5('0x7'));var Mustache=require('mustache');var util=require(_0xa8c5('0x8'));var path=require(_0xa8c5('0x9'));var sox=require(_0xa8c5('0xa'));var csv=require(_0xa8c5('0xb'));var ejs=require(_0xa8c5('0xc'));var fs=require('fs');var _=require('lodash');var squel=require(_0xa8c5('0xd'));var crypto=require(_0xa8c5('0xe'));var jsforce=require(_0xa8c5('0xf'));var deskjs=require(_0xa8c5('0x10'));var toCsv=require('to-csv');var querystring=require(_0xa8c5('0x11'));var Papa=require(_0xa8c5('0x12'));var Redis=require('ioredis');var authService=require(_0xa8c5('0x13'));var qs=require(_0xa8c5('0x14'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0xa8c5('0x15'));var logger=require(_0xa8c5('0x16'))(_0xa8c5('0x17'));var utils=require(_0xa8c5('0x18'));var config=require(_0xa8c5('0x19'));var db=require('../../mysqldb')['db'];var integrations=require('../../components/integrations/configuration');var jayson=require('jayson/promise');var client=jayson[_0xa8c5('0x1a')][_0xa8c5('0x1b')]({'port':0x232a});function checkPasswordPattern(_0x99255d,_0x211f73,_0xbfe83d){if(_0xbfe83d){var _0x42f1e0=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0x42f1e0[_0xa8c5('0x1c')](_0x211f73)){return _0x99255d;}else{throw new db[(_0xa8c5('0x1d'))]['ValidationError'](_0xa8c5('0x1e'));}}else{return _0x99255d;}}function respondWithRpcPromise(_0x13c661,_0x363fdf,_0x2a03f9,_0x190153){return new BPromise(function(_0x3afb60,_0x59e293){var _0xafd0a=_0x190153||client;return _0xafd0a[_0xa8c5('0x1f')](_0x13c661,_0x2a03f9)[_0xa8c5('0x20')](function(_0xf355b5){logger[_0xa8c5('0x21')]('ServicenowAccount,\x20%s,\x20%s',_0x363fdf,'request\x20sent');logger[_0xa8c5('0x22')]('ServicenowAccount,\x20%s,\x20%s,\x20%s',_0x363fdf,_0xa8c5('0x23'),JSON[_0xa8c5('0x24')](_0xf355b5));if(_0xf355b5[_0xa8c5('0x25')]){if(_0xf355b5[_0xa8c5('0x25')][_0xa8c5('0x26')]===0x1f4){logger['error'](_0xa8c5('0x27'),_0x363fdf,_0xf355b5[_0xa8c5('0x25')]['message']);return _0x59e293(_0xf355b5[_0xa8c5('0x25')][_0xa8c5('0x28')]);}logger[_0xa8c5('0x25')]('ServicenowAccount,\x20%s,\x20%s',_0x363fdf,_0xf355b5[_0xa8c5('0x25')]['message']);return _0x3afb60(_0xf355b5[_0xa8c5('0x25')][_0xa8c5('0x28')]);}else{logger[_0xa8c5('0x21')](_0xa8c5('0x27'),_0x363fdf,_0xa8c5('0x23'));_0x3afb60(_0xf355b5[_0xa8c5('0x29')][_0xa8c5('0x28')]);}})['catch'](function(_0xd411d){logger[_0xa8c5('0x25')](_0xa8c5('0x27'),_0x363fdf,_0xd411d);_0x59e293(_0xd411d);});});}function respondWithStatusCode(_0x3a5a6b,_0x1ea79e){_0x1ea79e=_0x1ea79e||0xcc;return function(_0x44b44d){if(_0x44b44d){return _0x3a5a6b['sendStatus'](_0x1ea79e);}return _0x3a5a6b[_0xa8c5('0x2a')](_0x1ea79e)[_0xa8c5('0x2b')]();};}function respondWithResult(_0x19f58d,_0x25cff6){_0x25cff6=_0x25cff6||0xc8;return function(_0x3ce506){if(_0x3ce506){return _0x19f58d[_0xa8c5('0x2a')](_0x25cff6)[_0xa8c5('0x2c')](_0x3ce506);}};}function respondWithFilteredResult(_0x45bd52,_0x55efc2){return function(_0x54557d){if(_0x54557d){var _0x53277e=_0x54557d['count'],_0x1edd32=_0x55efc2[_0xa8c5('0x2d')],_0x270f49=_0x55efc2['offset']+_0x55efc2[_0xa8c5('0x2e')],_0x4ce3ff;if(_0x270f49>=_0x53277e){_0x270f49=_0x53277e;_0x4ce3ff=0xc8;}else{_0x4ce3ff=0xce;}_0x45bd52[_0xa8c5('0x2a')](_0x4ce3ff);return _0x45bd52[_0xa8c5('0x2f')](_0xa8c5('0x30'),_0x1edd32+'-'+_0x270f49+'/'+_0x53277e)[_0xa8c5('0x2c')](_0x54557d);}return null;};}function patchUpdates(_0x1383f5){return function(_0x9a9251){try{jsonpatch[_0xa8c5('0x31')](_0x9a9251,_0x1383f5,!![]);}catch(_0xe8cb8e){return BPromise['reject'](_0xe8cb8e);}return _0x9a9251[_0xa8c5('0x32')]();};}function saveUpdates(_0x358488,_0x5a16e5){return function(_0x8235d6){if(_0x8235d6){return _0x8235d6[_0xa8c5('0x33')](_0x358488)[_0xa8c5('0x20')](function(_0x52b84f){return _0x52b84f;});}return null;};}function removeEntity(_0x179542,_0x4d116f){return function(_0x552f57){if(_0x552f57){return _0x552f57[_0xa8c5('0x34')]()[_0xa8c5('0x20')](function(){_0x179542[_0xa8c5('0x2a')](0xcc)['end']();});}};}function handleEntityNotFound(_0x1639cf,_0x473dc7){return function(_0x45ff09){if(!_0x45ff09){_0x1639cf['sendStatus'](0x194);}return _0x45ff09;};}function handleError(_0x3fcc2b,_0x4bf2c4){_0x4bf2c4=_0x4bf2c4||0x1f4;return function(_0x27f104){logger[_0xa8c5('0x25')](_0x27f104[_0xa8c5('0x35')]);if(_0x27f104['name']){delete _0x27f104[_0xa8c5('0x36')];}_0x3fcc2b['status'](_0x4bf2c4)[_0xa8c5('0x37')](_0x27f104);};}exports[_0xa8c5('0x38')]=function(_0x3c35ed,_0x377bc0){var _0x58e408={},_0x3e40d8={},_0x192c4b={'count':0x0,'rows':[]};var _0x5a5e43=_[_0xa8c5('0x39')](db[_0xa8c5('0x3a')][_0xa8c5('0x3b')],function(_0x13a5e0){return{'name':_0x13a5e0['fieldName'],'type':_0x13a5e0[_0xa8c5('0x3c')]['key']};});_0x3e40d8['model']=_[_0xa8c5('0x39')](_0x5a5e43,_0xa8c5('0x36'));_0x3e40d8[_0xa8c5('0x3d')]=_[_0xa8c5('0x3e')](_0x3c35ed[_0xa8c5('0x3d')]);_0x3e40d8[_0xa8c5('0x3f')]=_['intersection'](_0x3e40d8[_0xa8c5('0x40')],_0x3e40d8[_0xa8c5('0x3d')]);_0x58e408['attributes']=_[_0xa8c5('0x41')](_0x3e40d8[_0xa8c5('0x40')],qs[_0xa8c5('0x42')](_0x3c35ed[_0xa8c5('0x3d')][_0xa8c5('0x42')]));_0x58e408[_0xa8c5('0x43')]=_0x58e408[_0xa8c5('0x43')]['length']?_0x58e408[_0xa8c5('0x43')]:_0x3e40d8['model'];if(!_0x3c35ed['query'][_0xa8c5('0x44')](_0xa8c5('0x45'))){_0x58e408['limit']=qs[_0xa8c5('0x2e')](_0x3c35ed[_0xa8c5('0x3d')][_0xa8c5('0x2e')]);_0x58e408[_0xa8c5('0x2d')]=qs['offset'](_0x3c35ed['query'][_0xa8c5('0x2d')]);}_0x58e408[_0xa8c5('0x46')]=qs['sort'](_0x3c35ed['query'][_0xa8c5('0x47')]);_0x58e408[_0xa8c5('0x48')]=qs['filters'](_[_0xa8c5('0x49')](_0x3c35ed['query'],_0x3e40d8[_0xa8c5('0x3f')]),_0x5a5e43);if(_0x3c35ed[_0xa8c5('0x3d')][_0xa8c5('0x4a')]){_0x58e408[_0xa8c5('0x48')]=_[_0xa8c5('0x4b')](_0x58e408['where'],{'$or':_[_0xa8c5('0x39')](_0x5a5e43,function(_0x21221b){if(_0x21221b[_0xa8c5('0x3c')]!==_0xa8c5('0x4c')){var _0x37139b={};_0x37139b[_0x21221b[_0xa8c5('0x36')]]={'$like':'%'+_0x3c35ed[_0xa8c5('0x3d')][_0xa8c5('0x4a')]+'%'};return _0x37139b;}})});}_0x58e408=_[_0xa8c5('0x4b')]({},_0x58e408,_0x3c35ed[_0xa8c5('0x4d')]);var _0x1db94f={'where':_0x58e408[_0xa8c5('0x48')]};return db['ServicenowAccount'][_0xa8c5('0x4e')](_0x1db94f)[_0xa8c5('0x20')](function(_0x761948){_0x192c4b['count']=_0x761948;if(_0x3c35ed['query']['includeAll']){_0x58e408['include']=[{'all':!![]}];}return db[_0xa8c5('0x3a')][_0xa8c5('0x4f')](_0x58e408);})[_0xa8c5('0x20')](function(_0x4f9951){_0x192c4b[_0xa8c5('0x50')]=_0x4f9951;return _0x192c4b;})[_0xa8c5('0x20')](respondWithFilteredResult(_0x377bc0,_0x58e408))[_0xa8c5('0x51')](handleError(_0x377bc0,null));};exports['show']=function(_0x1db723,_0x46998b){var _0x2e4073={'raw':![],'where':{'id':_0x1db723['params']['id']}},_0x38d065={};_0x38d065['model']=_[_0xa8c5('0x3e')](db[_0xa8c5('0x3a')][_0xa8c5('0x3b')]);_0x38d065[_0xa8c5('0x3d')]=_[_0xa8c5('0x3e')](_0x1db723[_0xa8c5('0x3d')]);_0x38d065['filters']=_['intersection'](_0x38d065[_0xa8c5('0x40')],_0x38d065[_0xa8c5('0x3d')]);_0x2e4073[_0xa8c5('0x43')]=_[_0xa8c5('0x41')](_0x38d065[_0xa8c5('0x40')],qs[_0xa8c5('0x42')](_0x1db723[_0xa8c5('0x3d')][_0xa8c5('0x42')]));_0x2e4073[_0xa8c5('0x43')]=_0x2e4073[_0xa8c5('0x43')][_0xa8c5('0x52')]?_0x2e4073['attributes']:_0x38d065[_0xa8c5('0x40')];if(_0x1db723[_0xa8c5('0x3d')][_0xa8c5('0x53')]){_0x2e4073[_0xa8c5('0x54')]=[{'all':!![]}];}_0x2e4073=_[_0xa8c5('0x4b')]({},_0x2e4073,_0x1db723['options']);return db[_0xa8c5('0x3a')][_0xa8c5('0x55')](_0x2e4073)[_0xa8c5('0x20')](handleEntityNotFound(_0x46998b,null))[_0xa8c5('0x20')](respondWithResult(_0x46998b,null))[_0xa8c5('0x51')](handleError(_0x46998b,null));};exports[_0xa8c5('0x56')]=function(_0xba7d7e,_0x28999f){return db[_0xa8c5('0x3a')]['create'](_0xba7d7e[_0xa8c5('0x57')],{})[_0xa8c5('0x20')](respondWithResult(_0x28999f,0xc9))[_0xa8c5('0x51')](handleError(_0x28999f,null));};exports['update']=function(_0x174f4f,_0x19be26){if(_0x174f4f[_0xa8c5('0x57')]['id']){delete _0x174f4f[_0xa8c5('0x57')]['id'];}return db[_0xa8c5('0x3a')][_0xa8c5('0x55')]({'where':{'id':_0x174f4f[_0xa8c5('0x58')]['id']}})[_0xa8c5('0x20')](handleEntityNotFound(_0x19be26,null))[_0xa8c5('0x20')](saveUpdates(_0x174f4f['body'],null))[_0xa8c5('0x20')](respondWithResult(_0x19be26,null))[_0xa8c5('0x51')](handleError(_0x19be26,null));};exports[_0xa8c5('0x34')]=function(_0x27428f,_0x52342d){return db[_0xa8c5('0x3a')][_0xa8c5('0x55')]({'where':{'id':_0x27428f[_0xa8c5('0x58')]['id']}})[_0xa8c5('0x20')](handleEntityNotFound(_0x52342d,null))[_0xa8c5('0x20')](removeEntity(_0x52342d,null))['catch'](handleError(_0x52342d,null));};exports[_0xa8c5('0x59')]=function(_0x2ffb1d,_0x20628e,_0x330dfe){var _0x44bba9={};var _0x3f0950={};var _0xa98573;var _0x3cc966;return db[_0xa8c5('0x3a')][_0xa8c5('0x5a')]({'where':{'id':_0x2ffb1d[_0xa8c5('0x58')]['id']}})[_0xa8c5('0x20')](handleEntityNotFound(_0x20628e,null))[_0xa8c5('0x20')](function(_0x1ce822){if(_0x1ce822){_0xa98573=_0x1ce822;_0x3f0950['model']=_[_0xa8c5('0x3e')](db['ServicenowConfiguration'][_0xa8c5('0x3b')]);_0x3f0950[_0xa8c5('0x3d')]=_[_0xa8c5('0x3e')](_0x2ffb1d['query']);_0x3f0950['filters']=_[_0xa8c5('0x41')](_0x3f0950[_0xa8c5('0x40')],_0x3f0950[_0xa8c5('0x3d')]);_0x44bba9['attributes']=_[_0xa8c5('0x41')](_0x3f0950['model'],qs[_0xa8c5('0x42')](_0x2ffb1d[_0xa8c5('0x3d')][_0xa8c5('0x42')]));_0x44bba9[_0xa8c5('0x43')]=_0x44bba9[_0xa8c5('0x43')]['length']?_0x44bba9[_0xa8c5('0x43')]:_0x3f0950[_0xa8c5('0x40')];_0x44bba9[_0xa8c5('0x46')]=qs[_0xa8c5('0x47')](_0x2ffb1d['query'][_0xa8c5('0x47')]);_0x44bba9['where']=qs[_0xa8c5('0x3f')](_[_0xa8c5('0x49')](_0x2ffb1d[_0xa8c5('0x3d')],_0x3f0950[_0xa8c5('0x3f')]));if(_0x2ffb1d[_0xa8c5('0x3d')][_0xa8c5('0x4a')]){_0x44bba9[_0xa8c5('0x48')]=_[_0xa8c5('0x4b')](_0x44bba9[_0xa8c5('0x48')],{'$or':_[_0xa8c5('0x39')](_0x44bba9['attributes'],function(_0x1c7592){var _0x306bf7={};_0x306bf7[_0x1c7592]={'$like':'%'+_0x2ffb1d[_0xa8c5('0x3d')]['filter']+'%'};return _0x306bf7;})});}_0x44bba9=_[_0xa8c5('0x4b')]({},_0x44bba9,_0x2ffb1d[_0xa8c5('0x4d')]);return _0xa98573['getConfigurations'](_0x44bba9);}})['then'](function(_0x4f1c4d){if(_0x4f1c4d){_0x3cc966=_0x4f1c4d['length'];if(!_0x2ffb1d[_0xa8c5('0x3d')]['hasOwnProperty'](_0xa8c5('0x45'))){_0x44bba9[_0xa8c5('0x2e')]=qs[_0xa8c5('0x2e')](_0x2ffb1d[_0xa8c5('0x3d')][_0xa8c5('0x2e')]);_0x44bba9[_0xa8c5('0x2d')]=qs[_0xa8c5('0x2d')](_0x2ffb1d['query']['offset']);}return _0xa98573[_0xa8c5('0x59')](_0x44bba9);}})[_0xa8c5('0x20')](function(_0x3ffde0){if(_0x3ffde0){return _0x3ffde0?{'count':_0x3cc966,'rows':_0x3ffde0}:null;}})[_0xa8c5('0x20')](respondWithResult(_0x20628e,null))['catch'](handleError(_0x20628e,null));};exports[_0xa8c5('0x5b')]=function(_0x3e385f,_0x496b7d,_0x545d7a){if(_0x3e385f[_0xa8c5('0x57')]['id']){delete _0x3e385f[_0xa8c5('0x57')]['id'];}return db['ServicenowAccount'][_0xa8c5('0x5a')]({'where':{'id':_0x3e385f[_0xa8c5('0x58')]['id']}})[_0xa8c5('0x20')](handleEntityNotFound(_0x496b7d,null))[_0xa8c5('0x20')](function(_0x3c7613){if(_0x3c7613){_0x3e385f['body'][_0xa8c5('0x5c')]=_0x3c7613['id'];_0x3e385f[_0xa8c5('0x57')][_0xa8c5('0x5d')]=integrations[_0xa8c5('0x5e')](_0x3e385f[_0xa8c5('0x57')]['channel'],_0x3e385f[_0xa8c5('0x57')]['type']);_0x3e385f[_0xa8c5('0x57')][_0xa8c5('0x5f')]=integrations[_0xa8c5('0x60')](_0x3e385f[_0xa8c5('0x57')]['channel'],_0x3e385f[_0xa8c5('0x57')][_0xa8c5('0x3c')]);return db[_0xa8c5('0x61')][_0xa8c5('0x56')](_0x3e385f['body'],{'include':[{'model':db[_0xa8c5('0x62')],'as':_0xa8c5('0x5d')},{'model':db[_0xa8c5('0x62')],'as':_0xa8c5('0x5f')}]});}return null;})[_0xa8c5('0x20')](respondWithResult(_0x496b7d,null))[_0xa8c5('0x51')](handleError(_0x496b7d,null));};exports['getFields']=function(_0x305c78,_0x3988ce,_0xe81d62){var _0x4a31a0=[_0xa8c5('0x63'),'hold_reason',_0xa8c5('0x64'),'subcategory',_0xa8c5('0x65'),_0xa8c5('0x66'),'incident_state',_0xa8c5('0x67'),_0xa8c5('0x68')];var _0x54bc2e=['parent','made_sla',_0xa8c5('0x69'),_0xa8c5('0x6a'),'upon_reject','sys_updated_on','child_incidents',_0xa8c5('0x6b'),_0xa8c5('0x6c'),_0xa8c5('0x6d'),'resolved_by',_0xa8c5('0x6e'),_0xa8c5('0x6f'),_0xa8c5('0x70'),'sys_created_on',_0xa8c5('0x71'),_0xa8c5('0x72'),_0xa8c5('0x73'),_0xa8c5('0x64'),_0xa8c5('0x46'),_0xa8c5('0x74'),_0xa8c5('0x75'),_0xa8c5('0x76'),_0xa8c5('0x77'),_0xa8c5('0x78'),_0xa8c5('0x79'),'work_notes_list',_0xa8c5('0x7a'),_0xa8c5('0x7b'),_0xa8c5('0x7c'),_0xa8c5('0x7d'),_0xa8c5('0x7e'),'expected_start','opened_at',_0xa8c5('0x7f'),'group_list',_0xa8c5('0x80'),_0xa8c5('0x81'),'resolved_at','caller_id',_0xa8c5('0x82'),'subcategory','work_notes',_0xa8c5('0x83'),_0xa8c5('0x65'),_0xa8c5('0x84'),_0xa8c5('0x85'),_0xa8c5('0x86'),'assignment_group',_0xa8c5('0x87'),_0xa8c5('0x88'),_0xa8c5('0x89'),_0xa8c5('0x8a'),_0xa8c5('0x66'),_0xa8c5('0x8b'),_0xa8c5('0x8c'),_0xa8c5('0x8d'),_0xa8c5('0x8e'),_0xa8c5('0x8f'),_0xa8c5('0x90'),'contact_type',_0xa8c5('0x91'),'incident_state',_0xa8c5('0x92'),_0xa8c5('0x93'),_0xa8c5('0x94'),'reassignment_count',_0xa8c5('0x95'),_0xa8c5('0x96'),_0xa8c5('0x67'),_0xa8c5('0x97'),_0xa8c5('0x98'),_0xa8c5('0x99'),_0xa8c5('0x9a'),_0xa8c5('0x9b'),_0xa8c5('0x9c'),_0xa8c5('0x9d'),_0xa8c5('0x9e'),'escalation','upon_approval',_0xa8c5('0x9f'),_0xa8c5('0xa0'),_0xa8c5('0x68')];var _0x3c2e59='';var _0x5051a6='';var _0x1b7fe0=[];var _0x4ba368='';var _0x2dc6fd='';var _0x541466=[];var _0x2f0678='';var _0x41746b='';var _0x532c79={};var _0xb2b508='';return db[_0xa8c5('0x3a')][_0xa8c5('0x5a')]({'where':{'id':_0x305c78['params']['id']},'attributes':['id','username',_0xa8c5('0xa1'),_0xa8c5('0xa2'),_0xa8c5('0xa3'),_0xa8c5('0xa4')]})[_0xa8c5('0x20')](handleEntityNotFound(_0x3988ce,null))[_0xa8c5('0x20')](function(_0x4257dc){if(_0x4257dc){_0xb2b508=_0x4257dc[_0xa8c5('0xa3')];var _0x157255=_0xb2b508[_0xa8c5('0xa5')](-0x1);if(_0x157255==='/'){_0xb2b508=_0xb2b508[_0xa8c5('0xa6')](0x0,_0xb2b508[_0xa8c5('0xa7')](_0x157255));}_0x41746b=util[_0xa8c5('0xa8')](_0xa8c5('0xa9'),_0xb2b508);_0x2f0678=util[_0xa8c5('0xa8')](_0xa8c5('0xaa'),_0xb2b508);_0x532c79={'user':_0x4257dc[_0xa8c5('0xab')],'pass':_0x4257dc[_0xa8c5('0xa1')]};var _0x3bcab2={'method':_0xa8c5('0xac'),'uri':_0x41746b+'incident?sysparm_display_value=all','auth':_0x532c79,'json':!![]};return rp(_0x3bcab2);}})[_0xa8c5('0x20')](function(_0x2d79e3){if(_0x2d79e3[_0xa8c5('0x29')][_0xa8c5('0x52')]>0x0){_0x3c2e59=_0x2d79e3[_0xa8c5('0x29')];}console['log'](_0xa8c5('0xad'),_0x3c2e59);_0x541466=[];_0x5051a6=Object[_0xa8c5('0xae')]([],_0x3c2e59);_[_0xa8c5('0xaf')](_0x5051a6,function(_0xcf4786){return!_0x4a31a0['includes'](_0xcf4786[_0xa8c5('0x36')]);});_0x5051a6[_0xa8c5('0xb0')](function(_0x2849bd){var _0x23662e=createFieldObject(_0x2f0678,_0x532c79,_0x2849bd[_0xa8c5('0xb1')],_0x2849bd[_0xa8c5('0x36')],_0x2849bd[_0xa8c5('0xb2')],![]);_0x541466[_0xa8c5('0xb3')](_0x23662e);});return Promise[_0xa8c5('0xb4')](_0x541466);})['then'](function(_0x5a9a99){_0x1b7fe0=_0x5a9a99;_0x4ba368=Object[_0xa8c5('0xae')]([],_0x3c2e59);console[_0xa8c5('0xb5')](_0xa8c5('0xb6'),_0x3c2e59);_[_0xa8c5('0xaf')](_0x4ba368,function(_0x1d86d4){return _0x54bc2e[_0xa8c5('0xb7')](_0x1d86d4[_0xa8c5('0x36')]);});console[_0xa8c5('0xb5')](_0xa8c5('0xb8'),_0x4ba368);_0x541466=[];_0x4ba368[_0xa8c5('0xb0')](function(_0x5e8e67){var _0x572ee7=createFieldObject(_0x2f0678,_0x532c79,_0x5e8e67[_0xa8c5('0xb1')],_0x5e8e67['name'],_0x5e8e67[_0xa8c5('0xb2')],!![]);_0x541466[_0xa8c5('0xb3')](_0x572ee7);});return Promise[_0xa8c5('0xb4')](_0x541466);})[_0xa8c5('0x20')](function(_0x337b3d){_0x2dc6fd=_0x337b3d;var _0x4e20a5=_0x1b7fe0['concat'](_0x2dc6fd);return{'count':_0x4e20a5[_0xa8c5('0x52')],'rows':_0x4e20a5};})[_0xa8c5('0x20')](respondWithResult(_0x3988ce,null))[_0xa8c5('0x51')](function(_0x12ed66){console[_0xa8c5('0xb5')](_0xa8c5('0xb9')+_0x12ed66);var _0x3dbf14=_0x305c78[_0xa8c5('0x3d')][_0xa8c5('0x1c')]?0x1f4:_0x12ed66[_0xa8c5('0xba')]||0x1f4;logger[_0xa8c5('0x25')](_0x12ed66[_0xa8c5('0x35')]);delete _0x12ed66[_0xa8c5('0x36')];if(_0x3dbf14===0x191){_0x3dbf14=0x190;}_0x3988ce[_0xa8c5('0x2a')](_0x3dbf14)[_0xa8c5('0x37')](_0x305c78[_0xa8c5('0x3d')]['test']?{'message':_0xa8c5('0xbb'),'statusCode':_0x12ed66['statusCode']}:_0x12ed66);});};function createFieldObject(_0x1b5297,_0x5088d9,_0x4c607e,_0x27d2fe,_0x1c8c25,_0x26371f){return new Promise(function(_0x41b91e,_0x1235e1){var _0x2c9c46={'id':_0x27d2fe,'name':_0x1c8c25,'custom':_0x26371f};if(_0x4c607e===_0xa8c5('0xbc')){_0x2c9c46[_0xa8c5('0x4d')]=[{'name':_0xa8c5('0xbd'),'value':_0xa8c5('0xbe')},{'name':_0xa8c5('0xbf'),'value':_0xa8c5('0xc0')}];_0x41b91e(_0x2c9c46);}else{var _0x461c41={'method':'GET','uri':_0x1b5297+_0xa8c5('0xc1')+_0x27d2fe,'auth':_0x5088d9,'json':!![]};return rp(_0x461c41)[_0xa8c5('0x20')](function(_0x232fc3){var _0x243623=[];if(_0x232fc3['result'][_0xa8c5('0x52')]>0x0){_0x232fc3[_0xa8c5('0x29')][_0xa8c5('0xb0')](function(_0xde8165){if(_0xde8165['inactive']===_0xa8c5('0xc0')){var _0x352490={'name':_0xde8165[_0xa8c5('0xb2')],'value':_0xde8165['value']};_0x243623[_0xa8c5('0xb3')](_0x352490);}});}_0x2c9c46[_0xa8c5('0x4d')]=_0x243623;if(_0x2c9c46[_0xa8c5('0x4d')][_0xa8c5('0x52')]>0x0){_0x41b91e(_0x2c9c46);}else{if(_0x26371f==![]){_0x41b91e();}else{_0x41b91e(_0x2c9c46);}}});}});} \ No newline at end of file +var _0x9b75=['caller_id','approval_set','work_notes','short_description','delivery_task','assignment_group','business_stc','description','calendar_duration','sys_class_name','close_notes','sys_id','contact_type','reopened_by','urgency','problem_id','company','comments','approval','comments_and_work_notes','due_date','sys_mod_count','sys_tags','escalation','location','category','username','password','remoteUri','serverUrl','slice','substring','lastIndexOf','format','%s/api/now/doc/table/schema/','%s/api/now/table/','incident?sysparm_display_value=all','log','incident\x20table\x20objects','remove','includes','forEach','internalType','push','all','TCL:\x20_object','TCL:\x20exports.getEntityFields\x20->\x20_objectsCustom','label','concat','statusCode','test','True','true','false','sys_choice?sysparm_query=name=incident^element=','inactive','value','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','moment','bluebird','mustache','util','path','to-csv','ejs','lodash','squel','crypto','jsforce','desk.js','querystring','papaparse','ioredis','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','api','../../config/utils','../../config/environment','../../mysqldb','Sequelize','ValidationError','The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.','request','then','info','ServicenowAccount,\x20%s,\x20%s','request\x20sent','debug','ServicenowAccount,\x20%s,\x20%s,\x20%s','stringify','error','code','message','result','sendStatus','status','json','count','offset','limit','set','Content-Range','apply','reject','save','destroy','end','stack','name','send','index','map','ServicenowAccount','type','key','model','query','intersection','fields','attributes','length','hasOwnProperty','order','sort','where','pick','filters','merge','VIRTUAL','filter','options','includeAll','rows','show','params','keys','rawAttributes','include','find','create','body','catch','getConfigurations','findOne','ServicenowConfiguration','nolimit','AccountId','Subjects','getSubjects','channel','Descriptions','getDescriptions','ServicenowField','getFields','made_sla','hold_reason','knowledge','close_code','notify','incident_state','severity','parent','caused_by','upon_reject','child_incidents','approval_history','sys_updated_by','user_input','sys_created_on','sys_domain','state','sys_created_by','calendar_stc','closed_at','cmdb_ci','delivery_plan','impact','work_notes_list','business_service','sys_domain_path','rfc','time_worked','group_list','reopened_time','resolved_at'];(function(_0x324478,_0x43bc7a){var _0x1c1757=function(_0x2a0f54){while(--_0x2a0f54){_0x324478['push'](_0x324478['shift']());}};_0x1c1757(++_0x43bc7a);}(_0x9b75,0x1b5));var _0x59b7=function(_0x4e1a89,_0x3eddda){_0x4e1a89=_0x4e1a89-0x0;var _0x13a50c=_0x9b75[_0x4e1a89];return _0x13a50c;};'use strict';var pdf=require(_0x59b7('0x0'));var emlformat=require(_0x59b7('0x1'));var rimraf=require(_0x59b7('0x2'));var zipdir=require(_0x59b7('0x3'));var jsonpatch=require(_0x59b7('0x4'));var rp=require('request-promise');var moment=require(_0x59b7('0x5'));var BPromise=require(_0x59b7('0x6'));var Mustache=require(_0x59b7('0x7'));var util=require(_0x59b7('0x8'));var path=require(_0x59b7('0x9'));var sox=require('sox');var csv=require(_0x59b7('0xa'));var ejs=require(_0x59b7('0xb'));var fs=require('fs');var _=require(_0x59b7('0xc'));var squel=require(_0x59b7('0xd'));var crypto=require(_0x59b7('0xe'));var jsforce=require(_0x59b7('0xf'));var deskjs=require(_0x59b7('0x10'));var toCsv=require('to-csv');var querystring=require(_0x59b7('0x11'));var Papa=require(_0x59b7('0x12'));var Redis=require(_0x59b7('0x13'));var authService=require('../../components/auth/service');var qs=require(_0x59b7('0x14'));var as=require(_0x59b7('0x15'));var hardwareService=require(_0x59b7('0x16'));var logger=require('../../config/logger')(_0x59b7('0x17'));var utils=require(_0x59b7('0x18'));var config=require(_0x59b7('0x19'));var db=require(_0x59b7('0x1a'))['db'];var integrations=require('../../components/integrations/configuration');var jayson=require('jayson/promise');var client=jayson['client']['http']({'port':0x232a});function checkPasswordPattern(_0x226690,_0x23c9b2,_0x580e6b){if(_0x580e6b){var _0x354222=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0x354222['test'](_0x23c9b2)){return _0x226690;}else{throw new db[(_0x59b7('0x1b'))][(_0x59b7('0x1c'))](_0x59b7('0x1d'));}}else{return _0x226690;}}function respondWithRpcPromise(_0x58ad8e,_0x33ddc5,_0x5c6b9f,_0x18821a){return new BPromise(function(_0x37d71c,_0x5bcb9f){var _0xb0f043=_0x18821a||client;return _0xb0f043[_0x59b7('0x1e')](_0x58ad8e,_0x5c6b9f)[_0x59b7('0x1f')](function(_0xeef009){logger[_0x59b7('0x20')](_0x59b7('0x21'),_0x33ddc5,_0x59b7('0x22'));logger[_0x59b7('0x23')](_0x59b7('0x24'),_0x33ddc5,_0x59b7('0x22'),JSON[_0x59b7('0x25')](_0xeef009));if(_0xeef009[_0x59b7('0x26')]){if(_0xeef009[_0x59b7('0x26')][_0x59b7('0x27')]===0x1f4){logger[_0x59b7('0x26')]('ServicenowAccount,\x20%s,\x20%s',_0x33ddc5,_0xeef009['error'][_0x59b7('0x28')]);return _0x5bcb9f(_0xeef009[_0x59b7('0x26')]['message']);}logger['error'](_0x59b7('0x21'),_0x33ddc5,_0xeef009['error']['message']);return _0x37d71c(_0xeef009[_0x59b7('0x26')][_0x59b7('0x28')]);}else{logger[_0x59b7('0x20')](_0x59b7('0x21'),_0x33ddc5,_0x59b7('0x22'));_0x37d71c(_0xeef009[_0x59b7('0x29')]['message']);}})['catch'](function(_0x10a46d){logger['error']('ServicenowAccount,\x20%s,\x20%s',_0x33ddc5,_0x10a46d);_0x5bcb9f(_0x10a46d);});});}function respondWithStatusCode(_0x4be5d5,_0x3904d1){_0x3904d1=_0x3904d1||0xcc;return function(_0x2b4650){if(_0x2b4650){return _0x4be5d5[_0x59b7('0x2a')](_0x3904d1);}return _0x4be5d5[_0x59b7('0x2b')](_0x3904d1)['end']();};}function respondWithResult(_0xd044cf,_0x57bcad){_0x57bcad=_0x57bcad||0xc8;return function(_0x78eb00){if(_0x78eb00){return _0xd044cf[_0x59b7('0x2b')](_0x57bcad)[_0x59b7('0x2c')](_0x78eb00);}};}function respondWithFilteredResult(_0x325996,_0x1d36a5){return function(_0x18ef8c){if(_0x18ef8c){var _0x35eace=_0x18ef8c[_0x59b7('0x2d')],_0x4fa72e=_0x1d36a5[_0x59b7('0x2e')],_0x4d72b7=_0x1d36a5['offset']+_0x1d36a5[_0x59b7('0x2f')],_0x3632a7;if(_0x4d72b7>=_0x35eace){_0x4d72b7=_0x35eace;_0x3632a7=0xc8;}else{_0x3632a7=0xce;}_0x325996['status'](_0x3632a7);return _0x325996[_0x59b7('0x30')](_0x59b7('0x31'),_0x4fa72e+'-'+_0x4d72b7+'/'+_0x35eace)[_0x59b7('0x2c')](_0x18ef8c);}return null;};}function patchUpdates(_0x4c1bce){return function(_0x38671f){try{jsonpatch[_0x59b7('0x32')](_0x38671f,_0x4c1bce,!![]);}catch(_0x1051a9){return BPromise[_0x59b7('0x33')](_0x1051a9);}return _0x38671f[_0x59b7('0x34')]();};}function saveUpdates(_0x2de6b1,_0x5a1640){return function(_0x2c8772){if(_0x2c8772){return _0x2c8772['update'](_0x2de6b1)['then'](function(_0x15489b){return _0x15489b;});}return null;};}function removeEntity(_0x20b9b1,_0x241d79){return function(_0x4f257b){if(_0x4f257b){return _0x4f257b[_0x59b7('0x35')]()['then'](function(){_0x20b9b1[_0x59b7('0x2b')](0xcc)[_0x59b7('0x36')]();});}};}function handleEntityNotFound(_0x1cfdb1,_0x437bb8){return function(_0x18bceb){if(!_0x18bceb){_0x1cfdb1[_0x59b7('0x2a')](0x194);}return _0x18bceb;};}function handleError(_0x1f2342,_0x404304){_0x404304=_0x404304||0x1f4;return function(_0x8e3c4c){logger[_0x59b7('0x26')](_0x8e3c4c[_0x59b7('0x37')]);if(_0x8e3c4c[_0x59b7('0x38')]){delete _0x8e3c4c['name'];}_0x1f2342[_0x59b7('0x2b')](_0x404304)[_0x59b7('0x39')](_0x8e3c4c);};}exports[_0x59b7('0x3a')]=function(_0x2943d4,_0x4b214d){var _0xbcb6af={},_0x159ac5={},_0xac8738={'count':0x0,'rows':[]};var _0x31fd88=_[_0x59b7('0x3b')](db[_0x59b7('0x3c')]['rawAttributes'],function(_0x2a453f){return{'name':_0x2a453f['fieldName'],'type':_0x2a453f[_0x59b7('0x3d')][_0x59b7('0x3e')]};});_0x159ac5[_0x59b7('0x3f')]=_[_0x59b7('0x3b')](_0x31fd88,_0x59b7('0x38'));_0x159ac5[_0x59b7('0x40')]=_['keys'](_0x2943d4[_0x59b7('0x40')]);_0x159ac5['filters']=_[_0x59b7('0x41')](_0x159ac5[_0x59b7('0x3f')],_0x159ac5[_0x59b7('0x40')]);_0xbcb6af['attributes']=_[_0x59b7('0x41')](_0x159ac5[_0x59b7('0x3f')],qs[_0x59b7('0x42')](_0x2943d4[_0x59b7('0x40')]['fields']));_0xbcb6af[_0x59b7('0x43')]=_0xbcb6af[_0x59b7('0x43')][_0x59b7('0x44')]?_0xbcb6af[_0x59b7('0x43')]:_0x159ac5['model'];if(!_0x2943d4[_0x59b7('0x40')][_0x59b7('0x45')]('nolimit')){_0xbcb6af[_0x59b7('0x2f')]=qs[_0x59b7('0x2f')](_0x2943d4['query'][_0x59b7('0x2f')]);_0xbcb6af[_0x59b7('0x2e')]=qs[_0x59b7('0x2e')](_0x2943d4[_0x59b7('0x40')][_0x59b7('0x2e')]);}_0xbcb6af[_0x59b7('0x46')]=qs[_0x59b7('0x47')](_0x2943d4[_0x59b7('0x40')][_0x59b7('0x47')]);_0xbcb6af[_0x59b7('0x48')]=qs['filters'](_[_0x59b7('0x49')](_0x2943d4['query'],_0x159ac5[_0x59b7('0x4a')]),_0x31fd88);if(_0x2943d4[_0x59b7('0x40')]['filter']){_0xbcb6af['where']=_[_0x59b7('0x4b')](_0xbcb6af[_0x59b7('0x48')],{'$or':_['map'](_0x31fd88,function(_0x5e57ae){if(_0x5e57ae[_0x59b7('0x3d')]!==_0x59b7('0x4c')){var _0x106f9e={};_0x106f9e[_0x5e57ae[_0x59b7('0x38')]]={'$like':'%'+_0x2943d4['query'][_0x59b7('0x4d')]+'%'};return _0x106f9e;}})});}_0xbcb6af=_[_0x59b7('0x4b')]({},_0xbcb6af,_0x2943d4[_0x59b7('0x4e')]);var _0x169abb={'where':_0xbcb6af[_0x59b7('0x48')]};return db['ServicenowAccount'][_0x59b7('0x2d')](_0x169abb)[_0x59b7('0x1f')](function(_0xe08ed7){_0xac8738['count']=_0xe08ed7;if(_0x2943d4[_0x59b7('0x40')][_0x59b7('0x4f')]){_0xbcb6af['include']=[{'all':!![]}];}return db[_0x59b7('0x3c')]['findAll'](_0xbcb6af);})[_0x59b7('0x1f')](function(_0x455567){_0xac8738[_0x59b7('0x50')]=_0x455567;return _0xac8738;})[_0x59b7('0x1f')](respondWithFilteredResult(_0x4b214d,_0xbcb6af))['catch'](handleError(_0x4b214d,null));};exports[_0x59b7('0x51')]=function(_0x4b71a7,_0x49f750){var _0x456285={'raw':![],'where':{'id':_0x4b71a7[_0x59b7('0x52')]['id']}},_0x5f13c3={};_0x5f13c3[_0x59b7('0x3f')]=_[_0x59b7('0x53')](db[_0x59b7('0x3c')][_0x59b7('0x54')]);_0x5f13c3[_0x59b7('0x40')]=_['keys'](_0x4b71a7['query']);_0x5f13c3['filters']=_[_0x59b7('0x41')](_0x5f13c3[_0x59b7('0x3f')],_0x5f13c3[_0x59b7('0x40')]);_0x456285[_0x59b7('0x43')]=_['intersection'](_0x5f13c3['model'],qs[_0x59b7('0x42')](_0x4b71a7['query'][_0x59b7('0x42')]));_0x456285[_0x59b7('0x43')]=_0x456285[_0x59b7('0x43')][_0x59b7('0x44')]?_0x456285[_0x59b7('0x43')]:_0x5f13c3[_0x59b7('0x3f')];if(_0x4b71a7[_0x59b7('0x40')][_0x59b7('0x4f')]){_0x456285[_0x59b7('0x55')]=[{'all':!![]}];}_0x456285=_['merge']({},_0x456285,_0x4b71a7[_0x59b7('0x4e')]);return db[_0x59b7('0x3c')][_0x59b7('0x56')](_0x456285)[_0x59b7('0x1f')](handleEntityNotFound(_0x49f750,null))['then'](respondWithResult(_0x49f750,null))['catch'](handleError(_0x49f750,null));};exports[_0x59b7('0x57')]=function(_0x1b4cd9,_0xa79207){return db[_0x59b7('0x3c')][_0x59b7('0x57')](_0x1b4cd9[_0x59b7('0x58')],{})[_0x59b7('0x1f')](respondWithResult(_0xa79207,0xc9))[_0x59b7('0x59')](handleError(_0xa79207,null));};exports['update']=function(_0x2cd843,_0x734a4d){if(_0x2cd843['body']['id']){delete _0x2cd843['body']['id'];}return db['ServicenowAccount'][_0x59b7('0x56')]({'where':{'id':_0x2cd843['params']['id']}})[_0x59b7('0x1f')](handleEntityNotFound(_0x734a4d,null))[_0x59b7('0x1f')](saveUpdates(_0x2cd843[_0x59b7('0x58')],null))['then'](respondWithResult(_0x734a4d,null))['catch'](handleError(_0x734a4d,null));};exports['destroy']=function(_0xcb9066,_0x477c86){return db[_0x59b7('0x3c')][_0x59b7('0x56')]({'where':{'id':_0xcb9066[_0x59b7('0x52')]['id']}})[_0x59b7('0x1f')](handleEntityNotFound(_0x477c86,null))[_0x59b7('0x1f')](removeEntity(_0x477c86,null))[_0x59b7('0x59')](handleError(_0x477c86,null));};exports[_0x59b7('0x5a')]=function(_0x3d4f78,_0x2e3e3a,_0x6b8ebc){var _0x3645e6={};var _0x359a9d={};var _0x303a9b;var _0x37c70e;return db[_0x59b7('0x3c')][_0x59b7('0x5b')]({'where':{'id':_0x3d4f78[_0x59b7('0x52')]['id']}})[_0x59b7('0x1f')](handleEntityNotFound(_0x2e3e3a,null))['then'](function(_0x14b4c0){if(_0x14b4c0){_0x303a9b=_0x14b4c0;_0x359a9d['model']=_['keys'](db[_0x59b7('0x5c')][_0x59b7('0x54')]);_0x359a9d[_0x59b7('0x40')]=_[_0x59b7('0x53')](_0x3d4f78[_0x59b7('0x40')]);_0x359a9d[_0x59b7('0x4a')]=_['intersection'](_0x359a9d['model'],_0x359a9d[_0x59b7('0x40')]);_0x3645e6[_0x59b7('0x43')]=_[_0x59b7('0x41')](_0x359a9d['model'],qs[_0x59b7('0x42')](_0x3d4f78['query']['fields']));_0x3645e6['attributes']=_0x3645e6[_0x59b7('0x43')][_0x59b7('0x44')]?_0x3645e6[_0x59b7('0x43')]:_0x359a9d['model'];_0x3645e6[_0x59b7('0x46')]=qs[_0x59b7('0x47')](_0x3d4f78[_0x59b7('0x40')][_0x59b7('0x47')]);_0x3645e6[_0x59b7('0x48')]=qs[_0x59b7('0x4a')](_[_0x59b7('0x49')](_0x3d4f78[_0x59b7('0x40')],_0x359a9d[_0x59b7('0x4a')]));if(_0x3d4f78['query'][_0x59b7('0x4d')]){_0x3645e6['where']=_['merge'](_0x3645e6[_0x59b7('0x48')],{'$or':_[_0x59b7('0x3b')](_0x3645e6[_0x59b7('0x43')],function(_0x713787){var _0x46c269={};_0x46c269[_0x713787]={'$like':'%'+_0x3d4f78[_0x59b7('0x40')][_0x59b7('0x4d')]+'%'};return _0x46c269;})});}_0x3645e6=_[_0x59b7('0x4b')]({},_0x3645e6,_0x3d4f78['options']);return _0x303a9b[_0x59b7('0x5a')](_0x3645e6);}})[_0x59b7('0x1f')](function(_0x14f6eb){if(_0x14f6eb){_0x37c70e=_0x14f6eb[_0x59b7('0x44')];if(!_0x3d4f78['query'][_0x59b7('0x45')](_0x59b7('0x5d'))){_0x3645e6[_0x59b7('0x2f')]=qs[_0x59b7('0x2f')](_0x3d4f78['query']['limit']);_0x3645e6['offset']=qs[_0x59b7('0x2e')](_0x3d4f78[_0x59b7('0x40')][_0x59b7('0x2e')]);}return _0x303a9b[_0x59b7('0x5a')](_0x3645e6);}})['then'](function(_0x423d95){if(_0x423d95){return _0x423d95?{'count':_0x37c70e,'rows':_0x423d95}:null;}})['then'](respondWithResult(_0x2e3e3a,null))[_0x59b7('0x59')](handleError(_0x2e3e3a,null));};exports['addConfiguration']=function(_0x32d476,_0x58216e,_0x2e9690){if(_0x32d476[_0x59b7('0x58')]['id']){delete _0x32d476[_0x59b7('0x58')]['id'];}return db[_0x59b7('0x3c')]['findOne']({'where':{'id':_0x32d476[_0x59b7('0x52')]['id']}})['then'](handleEntityNotFound(_0x58216e,null))['then'](function(_0x86db8e){if(_0x86db8e){_0x32d476['body'][_0x59b7('0x5e')]=_0x86db8e['id'];_0x32d476[_0x59b7('0x58')][_0x59b7('0x5f')]=integrations[_0x59b7('0x60')](_0x32d476[_0x59b7('0x58')][_0x59b7('0x61')],_0x32d476[_0x59b7('0x58')][_0x59b7('0x3d')]);_0x32d476['body'][_0x59b7('0x62')]=integrations[_0x59b7('0x63')](_0x32d476[_0x59b7('0x58')][_0x59b7('0x61')],_0x32d476['body'][_0x59b7('0x3d')]);return db['ServicenowConfiguration'][_0x59b7('0x57')](_0x32d476['body'],{'include':[{'model':db[_0x59b7('0x64')],'as':_0x59b7('0x5f')},{'model':db[_0x59b7('0x64')],'as':_0x59b7('0x62')}]});}return null;})[_0x59b7('0x1f')](respondWithResult(_0x58216e,null))['catch'](handleError(_0x58216e,null));};exports[_0x59b7('0x65')]=function(_0x25f52d,_0x5ee2e0,_0x5ae897){var _0x49f88a=[_0x59b7('0x66'),_0x59b7('0x67'),_0x59b7('0x68'),'subcategory',_0x59b7('0x69'),_0x59b7('0x6a'),_0x59b7('0x6b'),_0x59b7('0x6c'),'category'];var _0x2f0fd7=[_0x59b7('0x6d'),_0x59b7('0x66'),_0x59b7('0x6e'),'watch_list',_0x59b7('0x6f'),'sys_updated_on',_0x59b7('0x70'),_0x59b7('0x67'),_0x59b7('0x71'),'number','resolved_by',_0x59b7('0x72'),'opened_by',_0x59b7('0x73'),_0x59b7('0x74'),_0x59b7('0x75'),_0x59b7('0x76'),_0x59b7('0x77'),_0x59b7('0x68'),_0x59b7('0x46'),_0x59b7('0x78'),_0x59b7('0x79'),_0x59b7('0x7a'),_0x59b7('0x7b'),_0x59b7('0x7c'),'active',_0x59b7('0x7d'),_0x59b7('0x7e'),'priority',_0x59b7('0x7f'),_0x59b7('0x80'),_0x59b7('0x81'),'expected_start','opened_at','business_duration',_0x59b7('0x82'),'work_end',_0x59b7('0x83'),_0x59b7('0x84'),_0x59b7('0x85'),_0x59b7('0x86'),'subcategory',_0x59b7('0x87'),_0x59b7('0x88'),_0x59b7('0x69'),'correlation_display',_0x59b7('0x89'),'work_start',_0x59b7('0x8a'),_0x59b7('0x8b'),'additional_assignee_list',_0x59b7('0x8c'),_0x59b7('0x8d'),_0x59b7('0x6a'),_0x59b7('0x8e'),_0x59b7('0x8f'),'closed_by','follow_up','parent_incident',_0x59b7('0x90'),_0x59b7('0x91'),_0x59b7('0x92'),_0x59b7('0x6b'),_0x59b7('0x93'),_0x59b7('0x94'),_0x59b7('0x95'),'reassignment_count','activity_due','assigned_to',_0x59b7('0x6c'),_0x59b7('0x96'),'sla_due',_0x59b7('0x97'),_0x59b7('0x98'),_0x59b7('0x99'),_0x59b7('0x9a'),'reopen_count',_0x59b7('0x9b'),_0x59b7('0x9c'),'upon_approval','correlation_id',_0x59b7('0x9d'),_0x59b7('0x9e')];var _0x1bb592='';var _0x5f286c='';var _0x30ecf1=[];var _0x1b373a='';var _0x3eedae='';var _0x4ac33d=[];var _0x150192='';var _0x2cafc3='';var _0xaa88c7={};var _0x231e63='';return db[_0x59b7('0x3c')]['findOne']({'where':{'id':_0x25f52d[_0x59b7('0x52')]['id']},'attributes':['id',_0x59b7('0x9f'),_0x59b7('0xa0'),'email',_0x59b7('0xa1'),_0x59b7('0xa2')]})['then'](handleEntityNotFound(_0x5ee2e0,null))[_0x59b7('0x1f')](function(_0x198645){if(_0x198645){_0x231e63=_0x198645['remoteUri'];var _0x2ece9e=_0x231e63[_0x59b7('0xa3')](-0x1);if(_0x2ece9e==='/'){_0x231e63=_0x231e63[_0x59b7('0xa4')](0x0,_0x231e63[_0x59b7('0xa5')](_0x2ece9e));}_0x2cafc3=util[_0x59b7('0xa6')](_0x59b7('0xa7'),_0x231e63);_0x150192=util[_0x59b7('0xa6')](_0x59b7('0xa8'),_0x231e63);_0xaa88c7={'user':_0x198645[_0x59b7('0x9f')],'pass':_0x198645[_0x59b7('0xa0')]};var _0x22b381={'method':'GET','uri':_0x2cafc3+_0x59b7('0xa9'),'auth':_0xaa88c7,'json':!![]};return rp(_0x22b381);}})[_0x59b7('0x1f')](function(_0x1d46cc){if(_0x1d46cc[_0x59b7('0x29')]['length']>0x0){_0x1bb592=_0x1d46cc[_0x59b7('0x29')];}console[_0x59b7('0xaa')](_0x59b7('0xab'),_0x1bb592);_0x4ac33d=[];_0x5f286c=Object['assign']([],_0x1bb592);_[_0x59b7('0xac')](_0x5f286c,function(_0x28fd3c){return!_0x49f88a[_0x59b7('0xad')](_0x28fd3c['name']);});_0x5f286c[_0x59b7('0xae')](function(_0x5e6adf){var _0x3b6d73=createFieldObject(_0x150192,_0xaa88c7,_0x5e6adf[_0x59b7('0xaf')],_0x5e6adf[_0x59b7('0x38')],_0x5e6adf['label'],![]);_0x4ac33d[_0x59b7('0xb0')](_0x3b6d73);});return Promise[_0x59b7('0xb1')](_0x4ac33d);})[_0x59b7('0x1f')](function(_0x3a6744){_0x30ecf1=_0x3a6744;_0x1b373a=Object['assign']([],_0x1bb592);console[_0x59b7('0xaa')](_0x59b7('0xb2'),_0x1bb592);_[_0x59b7('0xac')](_0x1b373a,function(_0x28efca){return _0x2f0fd7[_0x59b7('0xad')](_0x28efca[_0x59b7('0x38')]);});console[_0x59b7('0xaa')](_0x59b7('0xb3'),_0x1b373a);_0x4ac33d=[];_0x1b373a['forEach'](function(_0x51d3cb){var _0x4e1182=createFieldObject(_0x150192,_0xaa88c7,_0x51d3cb['internalType'],_0x51d3cb[_0x59b7('0x38')],_0x51d3cb[_0x59b7('0xb4')],!![]);_0x4ac33d[_0x59b7('0xb0')](_0x4e1182);});return Promise[_0x59b7('0xb1')](_0x4ac33d);})[_0x59b7('0x1f')](function(_0x46565c){_0x3eedae=_0x46565c;var _0x304553=_0x30ecf1[_0x59b7('0xb5')](_0x3eedae);return{'count':_0x304553[_0x59b7('0x44')],'rows':_0x304553};})[_0x59b7('0x1f')](respondWithResult(_0x5ee2e0,null))[_0x59b7('0x59')](function(_0x57d708){console[_0x59b7('0xaa')]('ServiceNow\x20error:\x20'+_0x57d708);var _0x521ca0=_0x25f52d[_0x59b7('0x40')]['test']?0x1f4:_0x57d708[_0x59b7('0xb6')]||0x1f4;logger[_0x59b7('0x26')](_0x57d708[_0x59b7('0x37')]);delete _0x57d708[_0x59b7('0x38')];if(_0x521ca0===0x191){_0x521ca0=0x190;}_0x5ee2e0[_0x59b7('0x2b')](_0x521ca0)['send'](_0x25f52d[_0x59b7('0x40')][_0x59b7('0xb7')]?{'message':'Wrong\x20credentials','statusCode':_0x57d708[_0x59b7('0xb6')]}:_0x57d708);});};function createFieldObject(_0x3c48f2,_0x59a45b,_0x1772c8,_0x47b438,_0x1278e2,_0x4a8a06){return new Promise(function(_0x4768c7,_0x58ab55){var _0x2d571c={'id':_0x47b438,'name':_0x1278e2,'custom':_0x4a8a06};if(_0x1772c8==='boolean'){_0x2d571c['options']=[{'name':_0x59b7('0xb8'),'value':_0x59b7('0xb9')},{'name':'False','value':_0x59b7('0xba')}];_0x4768c7(_0x2d571c);}else{var _0x5ec5c9={'method':'GET','uri':_0x3c48f2+_0x59b7('0xbb')+_0x47b438,'auth':_0x59a45b,'json':!![]};return rp(_0x5ec5c9)[_0x59b7('0x1f')](function(_0x571102){var _0x1a2634=[];if(_0x571102[_0x59b7('0x29')][_0x59b7('0x44')]>0x0){_0x571102[_0x59b7('0x29')]['forEach'](function(_0x44f6b2){if(_0x44f6b2[_0x59b7('0xbc')]===_0x59b7('0xba')){var _0x109307={'name':_0x44f6b2[_0x59b7('0xb4')],'value':_0x44f6b2[_0x59b7('0xbd')]};_0x1a2634[_0x59b7('0xb0')](_0x109307);}});}_0x2d571c[_0x59b7('0x4e')]=_0x1a2634;if(_0x2d571c['options'][_0x59b7('0x44')]>0x0){_0x4768c7(_0x2d571c);}else{if(_0x4a8a06==![]){_0x4768c7();}else{_0x4768c7(_0x2d571c);}}});}});} \ No newline at end of file diff --git a/server/api/intServicenowAccount/intServicenowAccount.model.js b/server/api/intServicenowAccount/intServicenowAccount.model.js index 93da568..68c91dc 100644 --- a/server/api/intServicenowAccount/intServicenowAccount.model.js +++ b/server/api/intServicenowAccount/intServicenowAccount.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x5178=['rimraf','../../config/environment','../../components/integrations/configuration','define','ServicenowAccount','int_servicenow_accounts','util','../../config/logger','api','moment','bluebird'];(function(_0x2874bc,_0x2cf956){var _0x54e2fd=function(_0x4b993e){while(--_0x4b993e){_0x2874bc['push'](_0x2874bc['shift']());}};_0x54e2fd(++_0x2cf956);}(_0x5178,0x171));var _0x8517=function(_0x2dafbe,_0x5d04de){_0x2dafbe=_0x2dafbe-0x0;var _0x58a45a=_0x5178[_0x2dafbe];return _0x58a45a;};'use strict';var _=require('lodash');var util=require(_0x8517('0x0'));var logger=require(_0x8517('0x1'))(_0x8517('0x2'));var moment=require(_0x8517('0x3'));var BPromise=require(_0x8517('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x8517('0x5'));var config=require(_0x8517('0x6'));var attributes=require('./intServicenowAccount.attributes');var integrations=require(_0x8517('0x7'));module['exports']=function(_0x13ba05,_0x45498e){return _0x13ba05[_0x8517('0x8')](_0x8517('0x9'),attributes,{'tableName':_0x8517('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0xc3b5=['rimraf','../../config/environment','../../components/integrations/configuration','exports','define','ServicenowAccount','int_servicenow_accounts','../../config/logger','api','moment','bluebird','request-promise','path'];(function(_0x3a85fd,_0x574d49){var _0x2b5c3d=function(_0x85683f){while(--_0x85683f){_0x3a85fd['push'](_0x3a85fd['shift']());}};_0x2b5c3d(++_0x574d49);}(_0xc3b5,0x6f));var _0x5c3b=function(_0x262e5e,_0x422c46){_0x262e5e=_0x262e5e-0x0;var _0x563d88=_0xc3b5[_0x262e5e];return _0x563d88;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x5c3b('0x0'))(_0x5c3b('0x1'));var moment=require(_0x5c3b('0x2'));var BPromise=require(_0x5c3b('0x3'));var rp=require(_0x5c3b('0x4'));var fs=require('fs');var path=require(_0x5c3b('0x5'));var rimraf=require(_0x5c3b('0x6'));var config=require(_0x5c3b('0x7'));var attributes=require('./intServicenowAccount.attributes');var integrations=require(_0x5c3b('0x8'));module[_0x5c3b('0x9')]=function(_0x56345e,_0x568a28){return _0x56345e[_0x5c3b('0xa')](_0x5c3b('0xb'),attributes,{'tableName':_0x5c3b('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/intServicenowAccount/intServicenowAccount.rpc.js b/server/api/intServicenowAccount/intServicenowAccount.rpc.js index fbccdc2..1c119e7 100644 --- a/server/api/intServicenowAccount/intServicenowAccount.rpc.js +++ b/server/api/intServicenowAccount/intServicenowAccount.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x49bd=['lodash','util','moment','bluebird','../../mysqldb','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','client','http','request','info','ServicenowAccount,\x20%s,\x20%s','request\x20sent','ServicenowAccount,\x20%s,\x20%s,\x20%s','stringify','error','code','message','result','catch','ServicenowAccount','findAll','options','raw','where','map','include','model','attributes','then','GetServicenowAccount','debug','ShowServicenowAccount','find'];(function(_0xf57566,_0x36adf5){var _0x5e1934=function(_0x151849){while(--_0x151849){_0xf57566['push'](_0xf57566['shift']());}};_0x5e1934(++_0x36adf5);}(_0x49bd,0x197));var _0xd49b=function(_0x3f18c2,_0x5684cb){_0x3f18c2=_0x3f18c2-0x0;var _0x4c2fb8=_0x49bd[_0x3f18c2];return _0x4c2fb8;};'use strict';var _=require(_0xd49b('0x0'));var util=require(_0xd49b('0x1'));var moment=require(_0xd49b('0x2'));var BPromise=require(_0xd49b('0x3'));var rs=require('randomstring');var fs=require('fs');var Redis=require('ioredis');var db=require(_0xd49b('0x4'))['db'];var utils=require(_0xd49b('0x5'));var logger=require(_0xd49b('0x6'))(_0xd49b('0x7'));var config=require(_0xd49b('0x8'));var jayson=require(_0xd49b('0x9'));var client=jayson[_0xd49b('0xa')][_0xd49b('0xb')]({'port':0x232a});function respondWithRpcPromise(_0x344b5e,_0x57a6b3,_0x4bf775){return new BPromise(function(_0x520a1a,_0x2f7057){return client[_0xd49b('0xc')](_0x344b5e,_0x4bf775)['then'](function(_0x101709){logger[_0xd49b('0xd')](_0xd49b('0xe'),_0x57a6b3,_0xd49b('0xf'));logger['debug'](_0xd49b('0x10'),_0x57a6b3,_0xd49b('0xf'),JSON[_0xd49b('0x11')](_0x101709));if(_0x101709[_0xd49b('0x12')]){if(_0x101709['error'][_0xd49b('0x13')]===0x1f4){logger[_0xd49b('0x12')](_0xd49b('0xe'),_0x57a6b3,_0x101709['error'][_0xd49b('0x14')]);return _0x2f7057(_0x101709['error']['message']);}logger[_0xd49b('0x12')](_0xd49b('0xe'),_0x57a6b3,_0x101709[_0xd49b('0x12')][_0xd49b('0x14')]);return _0x520a1a(_0x101709[_0xd49b('0x12')][_0xd49b('0x14')]);}else{logger['info'](_0xd49b('0xe'),_0x57a6b3,_0xd49b('0xf'));_0x520a1a(_0x101709[_0xd49b('0x15')]['message']);}})[_0xd49b('0x16')](function(_0x10d80d){logger['error']('ServicenowAccount,\x20%s,\x20%s',_0x57a6b3,_0x10d80d);_0x2f7057(_0x10d80d);});});}exports['GetServicenowAccount']=function(_0x34607b){var _0x13168e=this;return new Promise(function(_0x31d7b5,_0x462d6a){return db[_0xd49b('0x17')][_0xd49b('0x18')]({'raw':_0x34607b[_0xd49b('0x19')]?_0x34607b['options'][_0xd49b('0x1a')]===undefined?!![]:![]:!![],'where':_0x34607b[_0xd49b('0x19')]?_0x34607b[_0xd49b('0x19')][_0xd49b('0x1b')]||null:null,'attributes':_0x34607b['options']?_0x34607b[_0xd49b('0x19')]['attributes']||null:null,'limit':_0x34607b[_0xd49b('0x19')]?_0x34607b[_0xd49b('0x19')]['limit']||null:null,'include':_0x34607b[_0xd49b('0x19')]?_0x34607b[_0xd49b('0x19')]['include']?_[_0xd49b('0x1c')](_0x34607b[_0xd49b('0x19')][_0xd49b('0x1d')],function(_0x53dedf){return{'model':db[_0x53dedf[_0xd49b('0x1e')]],'as':_0x53dedf['as'],'attributes':_0x53dedf[_0xd49b('0x1f')],'include':_0x53dedf[_0xd49b('0x1d')]?_[_0xd49b('0x1c')](_0x53dedf[_0xd49b('0x1d')],function(_0x35fa31){return{'model':db[_0x35fa31[_0xd49b('0x1e')]],'as':_0x35fa31['as'],'attributes':_0x35fa31[_0xd49b('0x1f')],'include':_0x35fa31['include']?_[_0xd49b('0x1c')](_0x35fa31['include'],function(_0x2203ab){return{'model':db[_0x2203ab[_0xd49b('0x1e')]],'as':_0x2203ab['as'],'attributes':_0x2203ab[_0xd49b('0x1f')]};}):[]};}):[]};}):[]:[]})[_0xd49b('0x20')](function(_0x2bdbf5){logger[_0xd49b('0xd')](_0xd49b('0x21'),_0x34607b);logger[_0xd49b('0x22')]('GetServicenowAccount',_0x34607b,JSON[_0xd49b('0x11')](_0x2bdbf5));_0x31d7b5(_0x2bdbf5);})[_0xd49b('0x16')](function(_0x21dbbb){logger['error']('GetServicenowAccount',_0x21dbbb[_0xd49b('0x14')],_0x34607b);_0x462d6a(_0x13168e[_0xd49b('0x12')](0x1f4,_0x21dbbb[_0xd49b('0x14')]));});});};exports[_0xd49b('0x23')]=function(_0x18defc){var _0x53878a=this;return new Promise(function(_0x1272b1,_0x2a7f94){return db[_0xd49b('0x17')][_0xd49b('0x24')]({'raw':_0x18defc[_0xd49b('0x19')]?_0x18defc[_0xd49b('0x19')]['raw']===undefined?!![]:![]:!![],'where':_0x18defc[_0xd49b('0x19')]?_0x18defc[_0xd49b('0x19')][_0xd49b('0x1b')]||null:null,'attributes':_0x18defc[_0xd49b('0x19')]?_0x18defc[_0xd49b('0x19')][_0xd49b('0x1f')]||null:null,'include':_0x18defc[_0xd49b('0x19')]?_0x18defc[_0xd49b('0x19')][_0xd49b('0x1d')]?_[_0xd49b('0x1c')](_0x18defc[_0xd49b('0x19')][_0xd49b('0x1d')],function(_0x96eaf1){return{'model':db[_0x96eaf1[_0xd49b('0x1e')]],'as':_0x96eaf1['as'],'attributes':_0x96eaf1[_0xd49b('0x1f')],'include':_0x96eaf1[_0xd49b('0x1d')]?_[_0xd49b('0x1c')](_0x96eaf1['include'],function(_0x1319a2){return{'model':db[_0x1319a2[_0xd49b('0x1e')]],'as':_0x1319a2['as'],'attributes':_0x1319a2[_0xd49b('0x1f')],'include':_0x1319a2[_0xd49b('0x1d')]?_[_0xd49b('0x1c')](_0x1319a2[_0xd49b('0x1d')],function(_0x584c71){return{'model':db[_0x584c71[_0xd49b('0x1e')]],'as':_0x584c71['as'],'attributes':_0x584c71[_0xd49b('0x1f')]};}):[]};}):[]};}):[]:[]})['then'](function(_0x506129){logger[_0xd49b('0xd')](_0xd49b('0x23'),_0x18defc);logger[_0xd49b('0x22')]('ShowServicenowAccount',_0x18defc,JSON[_0xd49b('0x11')](_0x506129));_0x1272b1(_0x506129);})['catch'](function(_0x59a388){logger[_0xd49b('0x12')](_0xd49b('0x23'),_0x59a388[_0xd49b('0x14')],_0x18defc);_0x2a7f94(_0x53878a[_0xd49b('0x12')](0x1f4,_0x59a388[_0xd49b('0x14')]));});});}; \ No newline at end of file +var _0x1ea5=['request','info','ServicenowAccount,\x20%s,\x20%s','debug','ServicenowAccount,\x20%s,\x20%s,\x20%s','request\x20sent','stringify','error','code','message','catch','GetServicenowAccount','ServicenowAccount','findAll','options','raw','attributes','limit','map','include','model','then','find','ShowServicenowAccount','util','moment','randomstring','ioredis','rpc','../../config/environment','jayson/promise','client','http'];(function(_0x55f3d3,_0x22dea4){var _0x5e3384=function(_0x22c08a){while(--_0x22c08a){_0x55f3d3['push'](_0x55f3d3['shift']());}};_0x5e3384(++_0x22dea4);}(_0x1ea5,0x141));var _0x51ea=function(_0x352d28,_0x444033){_0x352d28=_0x352d28-0x0;var _0x387d7e=_0x1ea5[_0x352d28];return _0x387d7e;};'use strict';var _=require('lodash');var util=require(_0x51ea('0x0'));var moment=require(_0x51ea('0x1'));var BPromise=require('bluebird');var rs=require(_0x51ea('0x2'));var fs=require('fs');var Redis=require(_0x51ea('0x3'));var db=require('../../mysqldb')['db'];var utils=require('../../config/utils');var logger=require('../../config/logger')(_0x51ea('0x4'));var config=require(_0x51ea('0x5'));var jayson=require(_0x51ea('0x6'));var client=jayson[_0x51ea('0x7')][_0x51ea('0x8')]({'port':0x232a});function respondWithRpcPromise(_0x163105,_0x4e93be,_0x59c77a){return new BPromise(function(_0x349b54,_0x351c86){return client[_0x51ea('0x9')](_0x163105,_0x59c77a)['then'](function(_0xa125a9){logger[_0x51ea('0xa')](_0x51ea('0xb'),_0x4e93be,'request\x20sent');logger[_0x51ea('0xc')](_0x51ea('0xd'),_0x4e93be,_0x51ea('0xe'),JSON[_0x51ea('0xf')](_0xa125a9));if(_0xa125a9[_0x51ea('0x10')]){if(_0xa125a9[_0x51ea('0x10')][_0x51ea('0x11')]===0x1f4){logger[_0x51ea('0x10')](_0x51ea('0xb'),_0x4e93be,_0xa125a9[_0x51ea('0x10')][_0x51ea('0x12')]);return _0x351c86(_0xa125a9['error'][_0x51ea('0x12')]);}logger['error'](_0x51ea('0xb'),_0x4e93be,_0xa125a9[_0x51ea('0x10')][_0x51ea('0x12')]);return _0x349b54(_0xa125a9['error'][_0x51ea('0x12')]);}else{logger[_0x51ea('0xa')](_0x51ea('0xb'),_0x4e93be,_0x51ea('0xe'));_0x349b54(_0xa125a9['result'][_0x51ea('0x12')]);}})[_0x51ea('0x13')](function(_0x7047f1){logger['error'](_0x51ea('0xb'),_0x4e93be,_0x7047f1);_0x351c86(_0x7047f1);});});}exports[_0x51ea('0x14')]=function(_0x317f88){var _0x3ca031=this;return new Promise(function(_0x52808b,_0x495b2b){return db[_0x51ea('0x15')][_0x51ea('0x16')]({'raw':_0x317f88[_0x51ea('0x17')]?_0x317f88[_0x51ea('0x17')][_0x51ea('0x18')]===undefined?!![]:![]:!![],'where':_0x317f88[_0x51ea('0x17')]?_0x317f88[_0x51ea('0x17')]['where']||null:null,'attributes':_0x317f88[_0x51ea('0x17')]?_0x317f88[_0x51ea('0x17')][_0x51ea('0x19')]||null:null,'limit':_0x317f88[_0x51ea('0x17')]?_0x317f88['options'][_0x51ea('0x1a')]||null:null,'include':_0x317f88[_0x51ea('0x17')]?_0x317f88[_0x51ea('0x17')]['include']?_[_0x51ea('0x1b')](_0x317f88[_0x51ea('0x17')][_0x51ea('0x1c')],function(_0x542f80){return{'model':db[_0x542f80[_0x51ea('0x1d')]],'as':_0x542f80['as'],'attributes':_0x542f80[_0x51ea('0x19')],'include':_0x542f80[_0x51ea('0x1c')]?_[_0x51ea('0x1b')](_0x542f80[_0x51ea('0x1c')],function(_0x4d302e){return{'model':db[_0x4d302e[_0x51ea('0x1d')]],'as':_0x4d302e['as'],'attributes':_0x4d302e[_0x51ea('0x19')],'include':_0x4d302e[_0x51ea('0x1c')]?_[_0x51ea('0x1b')](_0x4d302e[_0x51ea('0x1c')],function(_0x307e1c){return{'model':db[_0x307e1c[_0x51ea('0x1d')]],'as':_0x307e1c['as'],'attributes':_0x307e1c[_0x51ea('0x19')]};}):[]};}):[]};}):[]:[]})[_0x51ea('0x1e')](function(_0xb33520){logger[_0x51ea('0xa')](_0x51ea('0x14'),_0x317f88);logger[_0x51ea('0xc')]('GetServicenowAccount',_0x317f88,JSON[_0x51ea('0xf')](_0xb33520));_0x52808b(_0xb33520);})['catch'](function(_0x493dfd){logger[_0x51ea('0x10')]('GetServicenowAccount',_0x493dfd[_0x51ea('0x12')],_0x317f88);_0x495b2b(_0x3ca031['error'](0x1f4,_0x493dfd['message']));});});};exports['ShowServicenowAccount']=function(_0xd9a6ab){var _0x294873=this;return new Promise(function(_0x29ca49,_0x4ec3dd){return db['ServicenowAccount'][_0x51ea('0x1f')]({'raw':_0xd9a6ab[_0x51ea('0x17')]?_0xd9a6ab[_0x51ea('0x17')][_0x51ea('0x18')]===undefined?!![]:![]:!![],'where':_0xd9a6ab[_0x51ea('0x17')]?_0xd9a6ab[_0x51ea('0x17')]['where']||null:null,'attributes':_0xd9a6ab[_0x51ea('0x17')]?_0xd9a6ab['options']['attributes']||null:null,'include':_0xd9a6ab[_0x51ea('0x17')]?_0xd9a6ab[_0x51ea('0x17')]['include']?_[_0x51ea('0x1b')](_0xd9a6ab[_0x51ea('0x17')][_0x51ea('0x1c')],function(_0x93f4f4){return{'model':db[_0x93f4f4[_0x51ea('0x1d')]],'as':_0x93f4f4['as'],'attributes':_0x93f4f4[_0x51ea('0x19')],'include':_0x93f4f4[_0x51ea('0x1c')]?_[_0x51ea('0x1b')](_0x93f4f4['include'],function(_0x3230a0){return{'model':db[_0x3230a0[_0x51ea('0x1d')]],'as':_0x3230a0['as'],'attributes':_0x3230a0[_0x51ea('0x19')],'include':_0x3230a0['include']?_[_0x51ea('0x1b')](_0x3230a0[_0x51ea('0x1c')],function(_0x337978){return{'model':db[_0x337978[_0x51ea('0x1d')]],'as':_0x337978['as'],'attributes':_0x337978[_0x51ea('0x19')]};}):[]};}):[]};}):[]:[]})[_0x51ea('0x1e')](function(_0x17b765){logger[_0x51ea('0xa')](_0x51ea('0x20'),_0xd9a6ab);logger[_0x51ea('0xc')](_0x51ea('0x20'),_0xd9a6ab,JSON['stringify'](_0x17b765));_0x29ca49(_0x17b765);})[_0x51ea('0x13')](function(_0x4c460b){logger[_0x51ea('0x10')]('ShowServicenowAccount',_0x4c460b[_0x51ea('0x12')],_0xd9a6ab);_0x4ec3dd(_0x294873[_0x51ea('0x10')](0x1f4,_0x4c460b['message']));});});}; \ No newline at end of file diff --git a/server/api/intServicenowConfiguration/index.js b/server/api/intServicenowConfiguration/index.js index 200f04b..9868e7a 100644 --- a/server/api/intServicenowConfiguration/index.js +++ b/server/api/intServicenowConfiguration/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x18a0=['put','update','delete','destroy','exports','multer','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./intServicenowConfiguration.controller','isAuthenticated','get','/:id','show','/:id/fields','getFields','/:id/subjects','getSubjects','/:id/descriptions','post','create'];(function(_0x202067,_0x25e057){var _0x4c792e=function(_0xd90a73){while(--_0xd90a73){_0x202067['push'](_0x202067['shift']());}};_0x4c792e(++_0x25e057);}(_0x18a0,0xdd));var _0x018a=function(_0x49873f,_0xebd2b8){_0x49873f=_0x49873f-0x0;var _0x518b6d=_0x18a0[_0x49873f];return _0x518b6d;};'use strict';var multer=require(_0x018a('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x018a('0x1'));var express=require(_0x018a('0x2'));var router=express[_0x018a('0x3')]();var auth=require(_0x018a('0x4'));var interaction=require(_0x018a('0x5'));var config=require(_0x018a('0x6'));var controller=require(_0x018a('0x7'));router['get']('/',auth[_0x018a('0x8')](),controller['index']);router[_0x018a('0x9')](_0x018a('0xa'),auth[_0x018a('0x8')](),controller[_0x018a('0xb')]);router[_0x018a('0x9')](_0x018a('0xc'),auth[_0x018a('0x8')](),controller[_0x018a('0xd')]);router['get'](_0x018a('0xe'),auth[_0x018a('0x8')](),controller[_0x018a('0xf')]);router[_0x018a('0x9')](_0x018a('0x10'),auth[_0x018a('0x8')](),controller['getDescriptions']);router[_0x018a('0x11')]('/',auth[_0x018a('0x8')](),controller[_0x018a('0x12')]);router[_0x018a('0x13')](_0x018a('0xa'),auth['isAuthenticated'](),controller[_0x018a('0x14')]);router[_0x018a('0x15')](_0x018a('0xa'),auth[_0x018a('0x8')](),controller[_0x018a('0x16')]);module[_0x018a('0x17')]=router; \ No newline at end of file +var _0x86ce=['get','isAuthenticated','index','/:id/fields','getFields','getSubjects','/:id/descriptions','getDescriptions','post','create','put','update','delete','/:id','destroy','exports','multer','path','express','Router','../../components/auth/service','../../components/interaction/service'];(function(_0x4dbee1,_0x5095b0){var _0x4d33e6=function(_0x2c49ea){while(--_0x2c49ea){_0x4dbee1['push'](_0x4dbee1['shift']());}};_0x4d33e6(++_0x5095b0);}(_0x86ce,0x186));var _0xe86c=function(_0x2d2258,_0x2ce510){_0x2d2258=_0x2d2258-0x0;var _0x18e155=_0x86ce[_0x2d2258];return _0x18e155;};'use strict';var multer=require(_0xe86c('0x0'));var util=require('util');var path=require(_0xe86c('0x1'));var timeout=require('connect-timeout');var express=require(_0xe86c('0x2'));var router=express[_0xe86c('0x3')]();var auth=require(_0xe86c('0x4'));var interaction=require(_0xe86c('0x5'));var config=require('../../config/environment');var controller=require('./intServicenowConfiguration.controller');router[_0xe86c('0x6')]('/',auth[_0xe86c('0x7')](),controller[_0xe86c('0x8')]);router[_0xe86c('0x6')]('/:id',auth['isAuthenticated'](),controller['show']);router[_0xe86c('0x6')](_0xe86c('0x9'),auth[_0xe86c('0x7')](),controller[_0xe86c('0xa')]);router[_0xe86c('0x6')]('/:id/subjects',auth['isAuthenticated'](),controller[_0xe86c('0xb')]);router[_0xe86c('0x6')](_0xe86c('0xc'),auth['isAuthenticated'](),controller[_0xe86c('0xd')]);router[_0xe86c('0xe')]('/',auth['isAuthenticated'](),controller[_0xe86c('0xf')]);router[_0xe86c('0x10')]('/:id',auth[_0xe86c('0x7')](),controller[_0xe86c('0x11')]);router[_0xe86c('0x12')](_0xe86c('0x13'),auth[_0xe86c('0x7')](),controller[_0xe86c('0x14')]);module[_0xe86c('0x15')]=router; \ No newline at end of file diff --git a/server/api/intServicenowConfiguration/intServicenowConfiguration.attributes.js b/server/api/intServicenowConfiguration/intServicenowConfiguration.attributes.js index 8523200..1367231 100644 --- a/server/api/intServicenowConfiguration/intServicenowConfiguration.attributes.js +++ b/server/api/intServicenowConfiguration/intServicenowConfiguration.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x0968=['sequelize','exports','STRING'];(function(_0x6eeb,_0x2d4507){var _0x42a9fb=function(_0x50fc59){while(--_0x50fc59){_0x6eeb['push'](_0x6eeb['shift']());}};_0x42a9fb(++_0x2d4507);}(_0x0968,0x192));var _0x8096=function(_0x2b0281,_0x280e52){_0x2b0281=_0x2b0281-0x0;var _0x1ca7b4=_0x0968[_0x2b0281];return _0x1ca7b4;};'use strict';var Sequelize=require(_0x8096('0x0'));module[_0x8096('0x1')]={'name':{'type':Sequelize['STRING']},'description':{'type':Sequelize[_0x8096('0x2')]}}; \ No newline at end of file +var _0x4df6=['STRING','sequelize','exports'];(function(_0x8ec6b4,_0x31ef52){var _0x52c0d0=function(_0x17cadc){while(--_0x17cadc){_0x8ec6b4['push'](_0x8ec6b4['shift']());}};_0x52c0d0(++_0x31ef52);}(_0x4df6,0x13c));var _0x64df=function(_0xb0c4db,_0x3255c8){_0xb0c4db=_0xb0c4db-0x0;var _0x1392ee=_0x4df6[_0xb0c4db];return _0x1392ee;};'use strict';var Sequelize=require(_0x64df('0x0'));module[_0x64df('0x1')]={'name':{'type':Sequelize[_0x64df('0x2')]},'description':{'type':Sequelize[_0x64df('0x2')]}}; \ No newline at end of file diff --git a/server/api/intServicenowConfiguration/intServicenowConfiguration.controller.js b/server/api/intServicenowConfiguration/intServicenowConfiguration.controller.js index 0e27b50..0bd74e9 100644 --- a/server/api/intServicenowConfiguration/intServicenowConfiguration.controller.js +++ b/server/api/intServicenowConfiguration/intServicenowConfiguration.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x36ee=['catch','sendStatus','status','end','json','limit','apply','reject','update','destroy','stack','name','index','map','rawAttributes','type','key','model','query','keys','filters','intersection','attributes','fields','hasOwnProperty','nolimit','offset','sort','where','filter','merge','VIRTUAL','options','ServicenowConfiguration','count','include','findAll','rows','show','params','length','includeAll','create','body','find','getFields','findOne','ServicenowField','order','pick','getSubjects','getDescriptions','rimraf','fast-json-patch','request-promise','moment','bluebird','mustache','util','path','sox','to-csv','ejs','lodash','squel','jsforce','querystring','papaparse','../../components/auth/service','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','jayson/promise','http','test','The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.','request','then','info','ServicenowConfiguration,\x20%s,\x20%s','debug','request\x20sent','stringify','error','code','message'];(function(_0x58a670,_0x5aedbb){var _0x3dbe4=function(_0x567032){while(--_0x567032){_0x58a670['push'](_0x58a670['shift']());}};_0x3dbe4(++_0x5aedbb);}(_0x36ee,0xe8));var _0xe36e=function(_0x1facfa,_0x1acf7d){_0x1facfa=_0x1facfa-0x0;var _0x9ec701=_0x36ee[_0x1facfa];return _0x9ec701;};'use strict';var pdf=require('html-pdf');var emlformat=require('eml-format');var rimraf=require(_0xe36e('0x0'));var zipdir=require('zip-dir');var jsonpatch=require(_0xe36e('0x1'));var rp=require(_0xe36e('0x2'));var moment=require(_0xe36e('0x3'));var BPromise=require(_0xe36e('0x4'));var Mustache=require(_0xe36e('0x5'));var util=require(_0xe36e('0x6'));var path=require(_0xe36e('0x7'));var sox=require(_0xe36e('0x8'));var csv=require(_0xe36e('0x9'));var ejs=require(_0xe36e('0xa'));var fs=require('fs');var _=require(_0xe36e('0xb'));var squel=require(_0xe36e('0xc'));var crypto=require('crypto');var jsforce=require(_0xe36e('0xd'));var deskjs=require('desk.js');var toCsv=require(_0xe36e('0x9'));var querystring=require(_0xe36e('0xe'));var Papa=require(_0xe36e('0xf'));var Redis=require('ioredis');var authService=require(_0xe36e('0x10'));var qs=require('../../components/parsers/qs');var as=require(_0xe36e('0x11'));var hardwareService=require(_0xe36e('0x12'));var logger=require(_0xe36e('0x13'))(_0xe36e('0x14'));var utils=require(_0xe36e('0x15'));var config=require(_0xe36e('0x16'));var db=require(_0xe36e('0x17'))['db'];var jayson=require(_0xe36e('0x18'));var client=jayson['client'][_0xe36e('0x19')]({'port':0x232a});function checkPasswordPattern(_0x27841e,_0x23abfb,_0x1fdea2){if(_0x1fdea2){var _0x5c3f3c=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0x5c3f3c[_0xe36e('0x1a')](_0x23abfb)){return _0x27841e;}else{throw new db['Sequelize']['ValidationError'](_0xe36e('0x1b'));}}else{return _0x27841e;}}function respondWithRpcPromise(_0x300f21,_0x26fb37,_0x278135,_0xd6828e){return new BPromise(function(_0x924cd5,_0x2096f6){var _0x39bae8=_0xd6828e||client;return _0x39bae8[_0xe36e('0x1c')](_0x300f21,_0x278135)[_0xe36e('0x1d')](function(_0x5792e8){logger[_0xe36e('0x1e')](_0xe36e('0x1f'),_0x26fb37,'request\x20sent');logger[_0xe36e('0x20')]('ServicenowConfiguration,\x20%s,\x20%s,\x20%s',_0x26fb37,_0xe36e('0x21'),JSON[_0xe36e('0x22')](_0x5792e8));if(_0x5792e8['error']){if(_0x5792e8[_0xe36e('0x23')][_0xe36e('0x24')]===0x1f4){logger[_0xe36e('0x23')]('ServicenowConfiguration,\x20%s,\x20%s',_0x26fb37,_0x5792e8[_0xe36e('0x23')][_0xe36e('0x25')]);return _0x2096f6(_0x5792e8[_0xe36e('0x23')][_0xe36e('0x25')]);}logger[_0xe36e('0x23')](_0xe36e('0x1f'),_0x26fb37,_0x5792e8['error'][_0xe36e('0x25')]);return _0x924cd5(_0x5792e8[_0xe36e('0x23')][_0xe36e('0x25')]);}else{logger[_0xe36e('0x1e')](_0xe36e('0x1f'),_0x26fb37,'request\x20sent');_0x924cd5(_0x5792e8['result'][_0xe36e('0x25')]);}})[_0xe36e('0x26')](function(_0xb0cd85){logger[_0xe36e('0x23')](_0xe36e('0x1f'),_0x26fb37,_0xb0cd85);_0x2096f6(_0xb0cd85);});});}function respondWithStatusCode(_0x1507f9,_0x1a045c){_0x1a045c=_0x1a045c||0xcc;return function(_0x5ac484){if(_0x5ac484){return _0x1507f9[_0xe36e('0x27')](_0x1a045c);}return _0x1507f9[_0xe36e('0x28')](_0x1a045c)[_0xe36e('0x29')]();};}function respondWithResult(_0x262caa,_0x5e58d8){_0x5e58d8=_0x5e58d8||0xc8;return function(_0x2d757c){if(_0x2d757c){return _0x262caa['status'](_0x5e58d8)[_0xe36e('0x2a')](_0x2d757c);}};}function respondWithFilteredResult(_0x5993de,_0x19f001){return function(_0x5884cb){if(_0x5884cb){var _0x410504=_0x5884cb['count'],_0x4c5d98=_0x19f001['offset'],_0x3b1045=_0x19f001['offset']+_0x19f001[_0xe36e('0x2b')],_0x59548b;if(_0x3b1045>=_0x410504){_0x3b1045=_0x410504;_0x59548b=0xc8;}else{_0x59548b=0xce;}_0x5993de[_0xe36e('0x28')](_0x59548b);return _0x5993de['set']('Content-Range',_0x4c5d98+'-'+_0x3b1045+'/'+_0x410504)[_0xe36e('0x2a')](_0x5884cb);}return null;};}function patchUpdates(_0xb8d44e){return function(_0x259e19){try{jsonpatch[_0xe36e('0x2c')](_0x259e19,_0xb8d44e,!![]);}catch(_0x3d826e){return BPromise[_0xe36e('0x2d')](_0x3d826e);}return _0x259e19['save']();};}function saveUpdates(_0xb98e78,_0x11c95d){return function(_0x57272f){if(_0x57272f){return _0x57272f[_0xe36e('0x2e')](_0xb98e78)[_0xe36e('0x1d')](function(_0xba4869){return _0xba4869;});}return null;};}function removeEntity(_0x5d6f41,_0x21623e){return function(_0x253cdc){if(_0x253cdc){return _0x253cdc[_0xe36e('0x2f')]()[_0xe36e('0x1d')](function(){_0x5d6f41[_0xe36e('0x28')](0xcc)[_0xe36e('0x29')]();});}};}function handleEntityNotFound(_0xf808f5,_0x4c0c46){return function(_0x4507b9){if(!_0x4507b9){_0xf808f5['sendStatus'](0x194);}return _0x4507b9;};}function handleError(_0x4a717e,_0x81cf9a){_0x81cf9a=_0x81cf9a||0x1f4;return function(_0x4f620d){logger[_0xe36e('0x23')](_0x4f620d[_0xe36e('0x30')]);if(_0x4f620d[_0xe36e('0x31')]){delete _0x4f620d[_0xe36e('0x31')];}_0x4a717e['status'](_0x81cf9a)['send'](_0x4f620d);};}exports[_0xe36e('0x32')]=function(_0x222c65,_0x19a53f){var _0x243338={},_0x51894c={},_0xb2046c={'count':0x0,'rows':[]};var _0x2f828e=_[_0xe36e('0x33')](db['ServicenowConfiguration'][_0xe36e('0x34')],function(_0x2ff8f4){return{'name':_0x2ff8f4['fieldName'],'type':_0x2ff8f4[_0xe36e('0x35')][_0xe36e('0x36')]};});_0x51894c[_0xe36e('0x37')]=_[_0xe36e('0x33')](_0x2f828e,_0xe36e('0x31'));_0x51894c[_0xe36e('0x38')]=_[_0xe36e('0x39')](_0x222c65[_0xe36e('0x38')]);_0x51894c[_0xe36e('0x3a')]=_[_0xe36e('0x3b')](_0x51894c[_0xe36e('0x37')],_0x51894c[_0xe36e('0x38')]);_0x243338[_0xe36e('0x3c')]=_['intersection'](_0x51894c[_0xe36e('0x37')],qs[_0xe36e('0x3d')](_0x222c65[_0xe36e('0x38')][_0xe36e('0x3d')]));_0x243338[_0xe36e('0x3c')]=_0x243338['attributes']['length']?_0x243338[_0xe36e('0x3c')]:_0x51894c[_0xe36e('0x37')];if(!_0x222c65[_0xe36e('0x38')][_0xe36e('0x3e')](_0xe36e('0x3f'))){_0x243338[_0xe36e('0x2b')]=qs[_0xe36e('0x2b')](_0x222c65[_0xe36e('0x38')]['limit']);_0x243338[_0xe36e('0x40')]=qs[_0xe36e('0x40')](_0x222c65['query'][_0xe36e('0x40')]);}_0x243338['order']=qs[_0xe36e('0x41')](_0x222c65[_0xe36e('0x38')][_0xe36e('0x41')]);_0x243338[_0xe36e('0x42')]=qs[_0xe36e('0x3a')](_['pick'](_0x222c65[_0xe36e('0x38')],_0x51894c[_0xe36e('0x3a')]),_0x2f828e);if(_0x222c65[_0xe36e('0x38')][_0xe36e('0x43')]){_0x243338[_0xe36e('0x42')]=_[_0xe36e('0x44')](_0x243338['where'],{'$or':_[_0xe36e('0x33')](_0x2f828e,function(_0x134d71){if(_0x134d71[_0xe36e('0x35')]!==_0xe36e('0x45')){var _0x1cbb7d={};_0x1cbb7d[_0x134d71['name']]={'$like':'%'+_0x222c65[_0xe36e('0x38')][_0xe36e('0x43')]+'%'};return _0x1cbb7d;}})});}_0x243338=_[_0xe36e('0x44')]({},_0x243338,_0x222c65[_0xe36e('0x46')]);var _0x11d6b2={'where':_0x243338[_0xe36e('0x42')]};return db[_0xe36e('0x47')][_0xe36e('0x48')](_0x11d6b2)[_0xe36e('0x1d')](function(_0x52e744){_0xb2046c['count']=_0x52e744;if(_0x222c65[_0xe36e('0x38')]['includeAll']){_0x243338[_0xe36e('0x49')]=[{'all':!![]}];}return db[_0xe36e('0x47')][_0xe36e('0x4a')](_0x243338);})[_0xe36e('0x1d')](function(_0x51641c){_0xb2046c[_0xe36e('0x4b')]=_0x51641c;return _0xb2046c;})[_0xe36e('0x1d')](respondWithFilteredResult(_0x19a53f,_0x243338))['catch'](handleError(_0x19a53f,null));};exports[_0xe36e('0x4c')]=function(_0x40634a,_0x2c26e6){var _0x42eae5={'raw':![],'where':{'id':_0x40634a[_0xe36e('0x4d')]['id']}},_0x15895d={};_0x15895d[_0xe36e('0x37')]=_[_0xe36e('0x39')](db[_0xe36e('0x47')][_0xe36e('0x34')]);_0x15895d[_0xe36e('0x38')]=_[_0xe36e('0x39')](_0x40634a[_0xe36e('0x38')]);_0x15895d[_0xe36e('0x3a')]=_[_0xe36e('0x3b')](_0x15895d['model'],_0x15895d[_0xe36e('0x38')]);_0x42eae5['attributes']=_['intersection'](_0x15895d[_0xe36e('0x37')],qs[_0xe36e('0x3d')](_0x40634a['query'][_0xe36e('0x3d')]));_0x42eae5[_0xe36e('0x3c')]=_0x42eae5[_0xe36e('0x3c')][_0xe36e('0x4e')]?_0x42eae5[_0xe36e('0x3c')]:_0x15895d[_0xe36e('0x37')];if(_0x40634a[_0xe36e('0x38')][_0xe36e('0x4f')]){_0x42eae5[_0xe36e('0x49')]=[{'all':!![]}];}_0x42eae5=_['merge']({},_0x42eae5,_0x40634a[_0xe36e('0x46')]);return db[_0xe36e('0x47')]['find'](_0x42eae5)[_0xe36e('0x1d')](handleEntityNotFound(_0x2c26e6,null))[_0xe36e('0x1d')](respondWithResult(_0x2c26e6,null))[_0xe36e('0x26')](handleError(_0x2c26e6,null));};exports[_0xe36e('0x50')]=function(_0x3770bd,_0x53758e){return db['ServicenowConfiguration']['create'](_0x3770bd['body'],{})[_0xe36e('0x1d')](respondWithResult(_0x53758e,0xc9))[_0xe36e('0x26')](handleError(_0x53758e,null));};exports[_0xe36e('0x2e')]=function(_0x3e3d4d,_0x9025cd){if(_0x3e3d4d[_0xe36e('0x51')]['id']){delete _0x3e3d4d[_0xe36e('0x51')]['id'];}return db[_0xe36e('0x47')][_0xe36e('0x52')]({'where':{'id':_0x3e3d4d['params']['id']}})[_0xe36e('0x1d')](handleEntityNotFound(_0x9025cd,null))[_0xe36e('0x1d')](saveUpdates(_0x3e3d4d['body'],null))[_0xe36e('0x1d')](respondWithResult(_0x9025cd,null))[_0xe36e('0x26')](handleError(_0x9025cd,null));};exports[_0xe36e('0x2f')]=function(_0x443154,_0x700b63){return db[_0xe36e('0x47')][_0xe36e('0x52')]({'where':{'id':_0x443154[_0xe36e('0x4d')]['id']}})[_0xe36e('0x1d')](handleEntityNotFound(_0x700b63,null))[_0xe36e('0x1d')](removeEntity(_0x700b63,null))[_0xe36e('0x26')](handleError(_0x700b63,null));};exports[_0xe36e('0x53')]=function(_0x389e91,_0x6f979f,_0x3512ec){var _0x3e4860={};var _0x3c78ea={};var _0x275142;var _0x14738a;return db[_0xe36e('0x47')][_0xe36e('0x54')]({'where':{'id':_0x389e91[_0xe36e('0x4d')]['id']}})[_0xe36e('0x1d')](handleEntityNotFound(_0x6f979f,null))[_0xe36e('0x1d')](function(_0x40604f){if(_0x40604f){_0x275142=_0x40604f;_0x3c78ea['model']=_[_0xe36e('0x39')](db[_0xe36e('0x55')]['rawAttributes']);_0x3c78ea[_0xe36e('0x38')]=_[_0xe36e('0x39')](_0x389e91[_0xe36e('0x38')]);_0x3c78ea[_0xe36e('0x3a')]=_[_0xe36e('0x3b')](_0x3c78ea[_0xe36e('0x37')],_0x3c78ea['query']);_0x3e4860[_0xe36e('0x3c')]=_['intersection'](_0x3c78ea[_0xe36e('0x37')],qs[_0xe36e('0x3d')](_0x389e91[_0xe36e('0x38')][_0xe36e('0x3d')]));_0x3e4860[_0xe36e('0x3c')]=_0x3e4860[_0xe36e('0x3c')][_0xe36e('0x4e')]?_0x3e4860[_0xe36e('0x3c')]:_0x3c78ea['model'];_0x3e4860[_0xe36e('0x56')]=qs[_0xe36e('0x41')](_0x389e91['query'][_0xe36e('0x41')]);_0x3e4860[_0xe36e('0x42')]=qs[_0xe36e('0x3a')](_[_0xe36e('0x57')](_0x389e91[_0xe36e('0x38')],_0x3c78ea[_0xe36e('0x3a')]));if(_0x389e91[_0xe36e('0x38')]['filter']){_0x3e4860[_0xe36e('0x42')]=_[_0xe36e('0x44')](_0x3e4860[_0xe36e('0x42')],{'$or':_[_0xe36e('0x33')](_0x3e4860[_0xe36e('0x3c')],function(_0x43d8c2){var _0xc1daf8={};_0xc1daf8[_0x43d8c2]={'$like':'%'+_0x389e91[_0xe36e('0x38')][_0xe36e('0x43')]+'%'};return _0xc1daf8;})});}_0x3e4860=_[_0xe36e('0x44')]({},_0x3e4860,_0x389e91[_0xe36e('0x46')]);return _0x275142['getFields'](_0x3e4860);}})[_0xe36e('0x1d')](function(_0x9a77de){if(_0x9a77de){_0x14738a=_0x9a77de[_0xe36e('0x4e')];if(!_0x389e91[_0xe36e('0x38')]['hasOwnProperty']('nolimit')){_0x3e4860[_0xe36e('0x2b')]=qs['limit'](_0x389e91['query']['limit']);_0x3e4860[_0xe36e('0x40')]=qs['offset'](_0x389e91[_0xe36e('0x38')][_0xe36e('0x40')]);}return _0x275142[_0xe36e('0x53')](_0x3e4860);}})[_0xe36e('0x1d')](function(_0x1bd60d){if(_0x1bd60d){return _0x1bd60d?{'count':_0x14738a,'rows':_0x1bd60d}:null;}})[_0xe36e('0x1d')](respondWithResult(_0x6f979f,null))[_0xe36e('0x26')](handleError(_0x6f979f,null));};exports[_0xe36e('0x58')]=function(_0x2a26f4,_0x5e7c92,_0x7b9501){var _0x54f14c={};var _0x13ad07={};var _0x517c2a;var _0x3080ad;return db[_0xe36e('0x47')][_0xe36e('0x54')]({'where':{'id':_0x2a26f4[_0xe36e('0x4d')]['id']}})['then'](handleEntityNotFound(_0x5e7c92,null))['then'](function(_0x5cccb7){if(_0x5cccb7){_0x517c2a=_0x5cccb7;_0x13ad07[_0xe36e('0x37')]=_[_0xe36e('0x39')](db[_0xe36e('0x55')][_0xe36e('0x34')]);_0x13ad07[_0xe36e('0x38')]=_['keys'](_0x2a26f4[_0xe36e('0x38')]);_0x13ad07[_0xe36e('0x3a')]=_['intersection'](_0x13ad07[_0xe36e('0x37')],_0x13ad07['query']);_0x54f14c[_0xe36e('0x3c')]=_[_0xe36e('0x3b')](_0x13ad07[_0xe36e('0x37')],qs[_0xe36e('0x3d')](_0x2a26f4['query'][_0xe36e('0x3d')]));_0x54f14c['attributes']=_0x54f14c['attributes'][_0xe36e('0x4e')]?_0x54f14c[_0xe36e('0x3c')]:_0x13ad07['model'];_0x54f14c['order']=qs[_0xe36e('0x41')](_0x2a26f4['query'][_0xe36e('0x41')]);_0x54f14c[_0xe36e('0x42')]=qs[_0xe36e('0x3a')](_[_0xe36e('0x57')](_0x2a26f4[_0xe36e('0x38')],_0x13ad07[_0xe36e('0x3a')]));if(_0x2a26f4['query'][_0xe36e('0x43')]){_0x54f14c[_0xe36e('0x42')]=_[_0xe36e('0x44')](_0x54f14c[_0xe36e('0x42')],{'$or':_['map'](_0x54f14c[_0xe36e('0x3c')],function(_0x37409f){var _0x2eef73={};_0x2eef73[_0x37409f]={'$like':'%'+_0x2a26f4[_0xe36e('0x38')]['filter']+'%'};return _0x2eef73;})});}_0x54f14c=_[_0xe36e('0x44')]({},_0x54f14c,_0x2a26f4['options']);return _0x517c2a[_0xe36e('0x58')](_0x54f14c);}})['then'](function(_0x160621){if(_0x160621){_0x3080ad=_0x160621['length'];if(!_0x2a26f4['query'][_0xe36e('0x3e')](_0xe36e('0x3f'))){_0x54f14c[_0xe36e('0x2b')]=qs['limit'](_0x2a26f4[_0xe36e('0x38')][_0xe36e('0x2b')]);_0x54f14c['offset']=qs[_0xe36e('0x40')](_0x2a26f4[_0xe36e('0x38')][_0xe36e('0x40')]);}return _0x517c2a['getSubjects'](_0x54f14c);}})['then'](function(_0x72fcc){if(_0x72fcc){return _0x72fcc?{'count':_0x3080ad,'rows':_0x72fcc}:null;}})[_0xe36e('0x1d')](respondWithResult(_0x5e7c92,null))[_0xe36e('0x26')](handleError(_0x5e7c92,null));};exports[_0xe36e('0x59')]=function(_0x411305,_0x51bc99,_0x3797f0){var _0x2847a2={};var _0x15334c={};var _0x79882;var _0xdc59c5;return db['ServicenowConfiguration'][_0xe36e('0x54')]({'where':{'id':_0x411305[_0xe36e('0x4d')]['id']}})[_0xe36e('0x1d')](handleEntityNotFound(_0x51bc99,null))['then'](function(_0x25e4eb){if(_0x25e4eb){_0x79882=_0x25e4eb;_0x15334c['model']=_[_0xe36e('0x39')](db['ServicenowField'][_0xe36e('0x34')]);_0x15334c[_0xe36e('0x38')]=_['keys'](_0x411305[_0xe36e('0x38')]);_0x15334c['filters']=_[_0xe36e('0x3b')](_0x15334c[_0xe36e('0x37')],_0x15334c[_0xe36e('0x38')]);_0x2847a2[_0xe36e('0x3c')]=_[_0xe36e('0x3b')](_0x15334c['model'],qs[_0xe36e('0x3d')](_0x411305['query'][_0xe36e('0x3d')]));_0x2847a2[_0xe36e('0x3c')]=_0x2847a2[_0xe36e('0x3c')][_0xe36e('0x4e')]?_0x2847a2[_0xe36e('0x3c')]:_0x15334c[_0xe36e('0x37')];_0x2847a2['order']=qs[_0xe36e('0x41')](_0x411305[_0xe36e('0x38')][_0xe36e('0x41')]);_0x2847a2['where']=qs[_0xe36e('0x3a')](_[_0xe36e('0x57')](_0x411305[_0xe36e('0x38')],_0x15334c[_0xe36e('0x3a')]));if(_0x411305['query'][_0xe36e('0x43')]){_0x2847a2['where']=_[_0xe36e('0x44')](_0x2847a2['where'],{'$or':_[_0xe36e('0x33')](_0x2847a2[_0xe36e('0x3c')],function(_0xecf9d8){var _0x49a89c={};_0x49a89c[_0xecf9d8]={'$like':'%'+_0x411305[_0xe36e('0x38')][_0xe36e('0x43')]+'%'};return _0x49a89c;})});}_0x2847a2=_['merge']({},_0x2847a2,_0x411305[_0xe36e('0x46')]);return _0x79882[_0xe36e('0x59')](_0x2847a2);}})[_0xe36e('0x1d')](function(_0x531eac){if(_0x531eac){_0xdc59c5=_0x531eac['length'];if(!_0x411305[_0xe36e('0x38')][_0xe36e('0x3e')](_0xe36e('0x3f'))){_0x2847a2[_0xe36e('0x2b')]=qs[_0xe36e('0x2b')](_0x411305['query'][_0xe36e('0x2b')]);_0x2847a2[_0xe36e('0x40')]=qs[_0xe36e('0x40')](_0x411305[_0xe36e('0x38')]['offset']);}return _0x79882[_0xe36e('0x59')](_0x2847a2);}})[_0xe36e('0x1d')](function(_0x4b1024){if(_0x4b1024){return _0x4b1024?{'count':_0xdc59c5,'rows':_0x4b1024}:null;}})['then'](respondWithResult(_0x51bc99,null))['catch'](handleError(_0x51bc99,null));}; \ No newline at end of file +var _0xd8b0=['papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','api','../../config/environment','../../mysqldb','jayson/promise','client','http','test','Sequelize','ValidationError','The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.','then','info','ServicenowConfiguration,\x20%s,\x20%s','request\x20sent','debug','ServicenowConfiguration,\x20%s,\x20%s,\x20%s','error','code','message','result','catch','sendStatus','end','json','offset','limit','set','Content-Range','save','update','destroy','status','stack','name','send','ServicenowConfiguration','fieldName','type','key','model','map','keys','query','filters','intersection','attributes','fields','hasOwnProperty','nolimit','sort','where','merge','VIRTUAL','filter','count','includeAll','include','findAll','rows','show','params','rawAttributes','find','create','body','findOne','length','order','pick','options','getFields','ServicenowField','getSubjects','getDescriptions','html-pdf','eml-format','request-promise','moment','bluebird','mustache','util','to-csv','ejs','lodash','crypto','jsforce','querystring'];(function(_0x54a479,_0x596022){var _0x381971=function(_0x1cc70d){while(--_0x1cc70d){_0x54a479['push'](_0x54a479['shift']());}};_0x381971(++_0x596022);}(_0xd8b0,0xad));var _0x0d8b=function(_0x20a584,_0xe384a5){_0x20a584=_0x20a584-0x0;var _0x4b41a8=_0xd8b0[_0x20a584];return _0x4b41a8;};'use strict';var pdf=require(_0x0d8b('0x0'));var emlformat=require(_0x0d8b('0x1'));var rimraf=require('rimraf');var zipdir=require('zip-dir');var jsonpatch=require('fast-json-patch');var rp=require(_0x0d8b('0x2'));var moment=require(_0x0d8b('0x3'));var BPromise=require(_0x0d8b('0x4'));var Mustache=require(_0x0d8b('0x5'));var util=require(_0x0d8b('0x6'));var path=require('path');var sox=require('sox');var csv=require(_0x0d8b('0x7'));var ejs=require(_0x0d8b('0x8'));var fs=require('fs');var _=require(_0x0d8b('0x9'));var squel=require('squel');var crypto=require(_0x0d8b('0xa'));var jsforce=require(_0x0d8b('0xb'));var deskjs=require('desk.js');var toCsv=require(_0x0d8b('0x7'));var querystring=require(_0x0d8b('0xc'));var Papa=require(_0x0d8b('0xd'));var Redis=require(_0x0d8b('0xe'));var authService=require(_0x0d8b('0xf'));var qs=require(_0x0d8b('0x10'));var as=require(_0x0d8b('0x11'));var hardwareService=require(_0x0d8b('0x12'));var logger=require('../../config/logger')(_0x0d8b('0x13'));var utils=require('../../config/utils');var config=require(_0x0d8b('0x14'));var db=require(_0x0d8b('0x15'))['db'];var jayson=require(_0x0d8b('0x16'));var client=jayson[_0x0d8b('0x17')][_0x0d8b('0x18')]({'port':0x232a});function checkPasswordPattern(_0x32bb1a,_0x15dd0f,_0x31a8cc){if(_0x31a8cc){var _0x1d4bbc=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0x1d4bbc[_0x0d8b('0x19')](_0x15dd0f)){return _0x32bb1a;}else{throw new db[(_0x0d8b('0x1a'))][(_0x0d8b('0x1b'))](_0x0d8b('0x1c'));}}else{return _0x32bb1a;}}function respondWithRpcPromise(_0x2d4e1c,_0x4f6f21,_0x23eb7b,_0xa86349){return new BPromise(function(_0x17f7df,_0xe2e167){var _0x2cb03c=_0xa86349||client;return _0x2cb03c['request'](_0x2d4e1c,_0x23eb7b)[_0x0d8b('0x1d')](function(_0x4586c2){logger[_0x0d8b('0x1e')](_0x0d8b('0x1f'),_0x4f6f21,_0x0d8b('0x20'));logger[_0x0d8b('0x21')](_0x0d8b('0x22'),_0x4f6f21,_0x0d8b('0x20'),JSON['stringify'](_0x4586c2));if(_0x4586c2[_0x0d8b('0x23')]){if(_0x4586c2[_0x0d8b('0x23')][_0x0d8b('0x24')]===0x1f4){logger[_0x0d8b('0x23')](_0x0d8b('0x1f'),_0x4f6f21,_0x4586c2[_0x0d8b('0x23')][_0x0d8b('0x25')]);return _0xe2e167(_0x4586c2[_0x0d8b('0x23')]['message']);}logger['error'](_0x0d8b('0x1f'),_0x4f6f21,_0x4586c2['error']['message']);return _0x17f7df(_0x4586c2['error'][_0x0d8b('0x25')]);}else{logger[_0x0d8b('0x1e')](_0x0d8b('0x1f'),_0x4f6f21,_0x0d8b('0x20'));_0x17f7df(_0x4586c2[_0x0d8b('0x26')][_0x0d8b('0x25')]);}})[_0x0d8b('0x27')](function(_0x4562cb){logger[_0x0d8b('0x23')]('ServicenowConfiguration,\x20%s,\x20%s',_0x4f6f21,_0x4562cb);_0xe2e167(_0x4562cb);});});}function respondWithStatusCode(_0xe8bbee,_0x4463ee){_0x4463ee=_0x4463ee||0xcc;return function(_0x5363e3){if(_0x5363e3){return _0xe8bbee[_0x0d8b('0x28')](_0x4463ee);}return _0xe8bbee['status'](_0x4463ee)[_0x0d8b('0x29')]();};}function respondWithResult(_0x234bdd,_0xa2af02){_0xa2af02=_0xa2af02||0xc8;return function(_0x4fe6f9){if(_0x4fe6f9){return _0x234bdd['status'](_0xa2af02)[_0x0d8b('0x2a')](_0x4fe6f9);}};}function respondWithFilteredResult(_0x3ef745,_0x4c05ee){return function(_0xcbc4ac){if(_0xcbc4ac){var _0x59aa83=_0xcbc4ac['count'],_0x1b2b59=_0x4c05ee[_0x0d8b('0x2b')],_0x4b59e5=_0x4c05ee['offset']+_0x4c05ee[_0x0d8b('0x2c')],_0x97050a;if(_0x4b59e5>=_0x59aa83){_0x4b59e5=_0x59aa83;_0x97050a=0xc8;}else{_0x97050a=0xce;}_0x3ef745['status'](_0x97050a);return _0x3ef745[_0x0d8b('0x2d')](_0x0d8b('0x2e'),_0x1b2b59+'-'+_0x4b59e5+'/'+_0x59aa83)[_0x0d8b('0x2a')](_0xcbc4ac);}return null;};}function patchUpdates(_0x56120a){return function(_0x4c80a2){try{jsonpatch['apply'](_0x4c80a2,_0x56120a,!![]);}catch(_0x4e8992){return BPromise['reject'](_0x4e8992);}return _0x4c80a2[_0x0d8b('0x2f')]();};}function saveUpdates(_0x54f6f3,_0x5d05fc){return function(_0x36017a){if(_0x36017a){return _0x36017a[_0x0d8b('0x30')](_0x54f6f3)[_0x0d8b('0x1d')](function(_0xdeee5d){return _0xdeee5d;});}return null;};}function removeEntity(_0x183220,_0xeaa769){return function(_0x4a99d3){if(_0x4a99d3){return _0x4a99d3[_0x0d8b('0x31')]()['then'](function(){_0x183220[_0x0d8b('0x32')](0xcc)[_0x0d8b('0x29')]();});}};}function handleEntityNotFound(_0x4b3ea0,_0xb18586){return function(_0x23f7f6){if(!_0x23f7f6){_0x4b3ea0[_0x0d8b('0x28')](0x194);}return _0x23f7f6;};}function handleError(_0x4f2ed2,_0x113318){_0x113318=_0x113318||0x1f4;return function(_0x2c507e){logger[_0x0d8b('0x23')](_0x2c507e[_0x0d8b('0x33')]);if(_0x2c507e[_0x0d8b('0x34')]){delete _0x2c507e['name'];}_0x4f2ed2[_0x0d8b('0x32')](_0x113318)[_0x0d8b('0x35')](_0x2c507e);};}exports['index']=function(_0x1180ac,_0x3cc3ee){var _0x188af2={},_0x974b9b={},_0x373544={'count':0x0,'rows':[]};var _0x519088=_['map'](db[_0x0d8b('0x36')]['rawAttributes'],function(_0x531c55){return{'name':_0x531c55[_0x0d8b('0x37')],'type':_0x531c55[_0x0d8b('0x38')][_0x0d8b('0x39')]};});_0x974b9b[_0x0d8b('0x3a')]=_[_0x0d8b('0x3b')](_0x519088,_0x0d8b('0x34'));_0x974b9b['query']=_[_0x0d8b('0x3c')](_0x1180ac[_0x0d8b('0x3d')]);_0x974b9b[_0x0d8b('0x3e')]=_[_0x0d8b('0x3f')](_0x974b9b[_0x0d8b('0x3a')],_0x974b9b[_0x0d8b('0x3d')]);_0x188af2[_0x0d8b('0x40')]=_['intersection'](_0x974b9b[_0x0d8b('0x3a')],qs[_0x0d8b('0x41')](_0x1180ac[_0x0d8b('0x3d')][_0x0d8b('0x41')]));_0x188af2['attributes']=_0x188af2[_0x0d8b('0x40')]['length']?_0x188af2[_0x0d8b('0x40')]:_0x974b9b[_0x0d8b('0x3a')];if(!_0x1180ac[_0x0d8b('0x3d')][_0x0d8b('0x42')](_0x0d8b('0x43'))){_0x188af2[_0x0d8b('0x2c')]=qs[_0x0d8b('0x2c')](_0x1180ac[_0x0d8b('0x3d')][_0x0d8b('0x2c')]);_0x188af2[_0x0d8b('0x2b')]=qs['offset'](_0x1180ac['query']['offset']);}_0x188af2['order']=qs['sort'](_0x1180ac[_0x0d8b('0x3d')][_0x0d8b('0x44')]);_0x188af2[_0x0d8b('0x45')]=qs['filters'](_['pick'](_0x1180ac[_0x0d8b('0x3d')],_0x974b9b[_0x0d8b('0x3e')]),_0x519088);if(_0x1180ac[_0x0d8b('0x3d')]['filter']){_0x188af2[_0x0d8b('0x45')]=_[_0x0d8b('0x46')](_0x188af2['where'],{'$or':_['map'](_0x519088,function(_0x372740){if(_0x372740['type']!==_0x0d8b('0x47')){var _0x5a96b1={};_0x5a96b1[_0x372740['name']]={'$like':'%'+_0x1180ac[_0x0d8b('0x3d')][_0x0d8b('0x48')]+'%'};return _0x5a96b1;}})});}_0x188af2=_['merge']({},_0x188af2,_0x1180ac['options']);var _0x59b8e9={'where':_0x188af2['where']};return db[_0x0d8b('0x36')][_0x0d8b('0x49')](_0x59b8e9)[_0x0d8b('0x1d')](function(_0x490eda){_0x373544[_0x0d8b('0x49')]=_0x490eda;if(_0x1180ac[_0x0d8b('0x3d')][_0x0d8b('0x4a')]){_0x188af2[_0x0d8b('0x4b')]=[{'all':!![]}];}return db[_0x0d8b('0x36')][_0x0d8b('0x4c')](_0x188af2);})[_0x0d8b('0x1d')](function(_0x1d5067){_0x373544[_0x0d8b('0x4d')]=_0x1d5067;return _0x373544;})[_0x0d8b('0x1d')](respondWithFilteredResult(_0x3cc3ee,_0x188af2))[_0x0d8b('0x27')](handleError(_0x3cc3ee,null));};exports[_0x0d8b('0x4e')]=function(_0x84ef1c,_0x3e569b){var _0x570af8={'raw':![],'where':{'id':_0x84ef1c[_0x0d8b('0x4f')]['id']}},_0xdfcf32={};_0xdfcf32[_0x0d8b('0x3a')]=_[_0x0d8b('0x3c')](db['ServicenowConfiguration'][_0x0d8b('0x50')]);_0xdfcf32['query']=_['keys'](_0x84ef1c[_0x0d8b('0x3d')]);_0xdfcf32[_0x0d8b('0x3e')]=_[_0x0d8b('0x3f')](_0xdfcf32[_0x0d8b('0x3a')],_0xdfcf32['query']);_0x570af8[_0x0d8b('0x40')]=_[_0x0d8b('0x3f')](_0xdfcf32[_0x0d8b('0x3a')],qs[_0x0d8b('0x41')](_0x84ef1c[_0x0d8b('0x3d')]['fields']));_0x570af8['attributes']=_0x570af8['attributes']['length']?_0x570af8[_0x0d8b('0x40')]:_0xdfcf32[_0x0d8b('0x3a')];if(_0x84ef1c['query']['includeAll']){_0x570af8[_0x0d8b('0x4b')]=[{'all':!![]}];}_0x570af8=_[_0x0d8b('0x46')]({},_0x570af8,_0x84ef1c['options']);return db['ServicenowConfiguration'][_0x0d8b('0x51')](_0x570af8)[_0x0d8b('0x1d')](handleEntityNotFound(_0x3e569b,null))[_0x0d8b('0x1d')](respondWithResult(_0x3e569b,null))[_0x0d8b('0x27')](handleError(_0x3e569b,null));};exports[_0x0d8b('0x52')]=function(_0x506a79,_0x2de903){return db[_0x0d8b('0x36')]['create'](_0x506a79['body'],{})[_0x0d8b('0x1d')](respondWithResult(_0x2de903,0xc9))[_0x0d8b('0x27')](handleError(_0x2de903,null));};exports['update']=function(_0x55a489,_0xb8be3b){if(_0x55a489[_0x0d8b('0x53')]['id']){delete _0x55a489[_0x0d8b('0x53')]['id'];}return db[_0x0d8b('0x36')]['find']({'where':{'id':_0x55a489[_0x0d8b('0x4f')]['id']}})['then'](handleEntityNotFound(_0xb8be3b,null))['then'](saveUpdates(_0x55a489[_0x0d8b('0x53')],null))[_0x0d8b('0x1d')](respondWithResult(_0xb8be3b,null))['catch'](handleError(_0xb8be3b,null));};exports['destroy']=function(_0x44ed23,_0x3d7161){return db[_0x0d8b('0x36')][_0x0d8b('0x51')]({'where':{'id':_0x44ed23[_0x0d8b('0x4f')]['id']}})[_0x0d8b('0x1d')](handleEntityNotFound(_0x3d7161,null))[_0x0d8b('0x1d')](removeEntity(_0x3d7161,null))[_0x0d8b('0x27')](handleError(_0x3d7161,null));};exports['getFields']=function(_0x24a859,_0x37dc9f,_0x3a3d33){var _0x3c7efb={};var _0x3fb9ea={};var _0x47104e;var _0x70c8c4;return db[_0x0d8b('0x36')][_0x0d8b('0x54')]({'where':{'id':_0x24a859['params']['id']}})[_0x0d8b('0x1d')](handleEntityNotFound(_0x37dc9f,null))[_0x0d8b('0x1d')](function(_0x180b7b){if(_0x180b7b){_0x47104e=_0x180b7b;_0x3fb9ea[_0x0d8b('0x3a')]=_[_0x0d8b('0x3c')](db['ServicenowField'][_0x0d8b('0x50')]);_0x3fb9ea[_0x0d8b('0x3d')]=_[_0x0d8b('0x3c')](_0x24a859[_0x0d8b('0x3d')]);_0x3fb9ea[_0x0d8b('0x3e')]=_['intersection'](_0x3fb9ea['model'],_0x3fb9ea[_0x0d8b('0x3d')]);_0x3c7efb[_0x0d8b('0x40')]=_[_0x0d8b('0x3f')](_0x3fb9ea[_0x0d8b('0x3a')],qs['fields'](_0x24a859[_0x0d8b('0x3d')][_0x0d8b('0x41')]));_0x3c7efb[_0x0d8b('0x40')]=_0x3c7efb['attributes'][_0x0d8b('0x55')]?_0x3c7efb['attributes']:_0x3fb9ea[_0x0d8b('0x3a')];_0x3c7efb[_0x0d8b('0x56')]=qs[_0x0d8b('0x44')](_0x24a859[_0x0d8b('0x3d')][_0x0d8b('0x44')]);_0x3c7efb[_0x0d8b('0x45')]=qs['filters'](_[_0x0d8b('0x57')](_0x24a859['query'],_0x3fb9ea[_0x0d8b('0x3e')]));if(_0x24a859[_0x0d8b('0x3d')][_0x0d8b('0x48')]){_0x3c7efb[_0x0d8b('0x45')]=_['merge'](_0x3c7efb[_0x0d8b('0x45')],{'$or':_[_0x0d8b('0x3b')](_0x3c7efb[_0x0d8b('0x40')],function(_0x2332fc){var _0x2ccdae={};_0x2ccdae[_0x2332fc]={'$like':'%'+_0x24a859[_0x0d8b('0x3d')][_0x0d8b('0x48')]+'%'};return _0x2ccdae;})});}_0x3c7efb=_[_0x0d8b('0x46')]({},_0x3c7efb,_0x24a859[_0x0d8b('0x58')]);return _0x47104e[_0x0d8b('0x59')](_0x3c7efb);}})['then'](function(_0x4ee1e8){if(_0x4ee1e8){_0x70c8c4=_0x4ee1e8[_0x0d8b('0x55')];if(!_0x24a859[_0x0d8b('0x3d')]['hasOwnProperty'](_0x0d8b('0x43'))){_0x3c7efb['limit']=qs['limit'](_0x24a859[_0x0d8b('0x3d')][_0x0d8b('0x2c')]);_0x3c7efb['offset']=qs['offset'](_0x24a859[_0x0d8b('0x3d')][_0x0d8b('0x2b')]);}return _0x47104e[_0x0d8b('0x59')](_0x3c7efb);}})[_0x0d8b('0x1d')](function(_0x2ab72b){if(_0x2ab72b){return _0x2ab72b?{'count':_0x70c8c4,'rows':_0x2ab72b}:null;}})[_0x0d8b('0x1d')](respondWithResult(_0x37dc9f,null))[_0x0d8b('0x27')](handleError(_0x37dc9f,null));};exports['getSubjects']=function(_0x1ca60c,_0x5878c2,_0x1a203e){var _0x2c6242={};var _0x2bb690={};var _0x14a34b;var _0x49f610;return db[_0x0d8b('0x36')]['findOne']({'where':{'id':_0x1ca60c[_0x0d8b('0x4f')]['id']}})[_0x0d8b('0x1d')](handleEntityNotFound(_0x5878c2,null))[_0x0d8b('0x1d')](function(_0x2ebea3){if(_0x2ebea3){_0x14a34b=_0x2ebea3;_0x2bb690[_0x0d8b('0x3a')]=_[_0x0d8b('0x3c')](db[_0x0d8b('0x5a')][_0x0d8b('0x50')]);_0x2bb690[_0x0d8b('0x3d')]=_[_0x0d8b('0x3c')](_0x1ca60c['query']);_0x2bb690[_0x0d8b('0x3e')]=_['intersection'](_0x2bb690[_0x0d8b('0x3a')],_0x2bb690[_0x0d8b('0x3d')]);_0x2c6242['attributes']=_[_0x0d8b('0x3f')](_0x2bb690['model'],qs[_0x0d8b('0x41')](_0x1ca60c[_0x0d8b('0x3d')][_0x0d8b('0x41')]));_0x2c6242[_0x0d8b('0x40')]=_0x2c6242[_0x0d8b('0x40')][_0x0d8b('0x55')]?_0x2c6242[_0x0d8b('0x40')]:_0x2bb690[_0x0d8b('0x3a')];_0x2c6242['order']=qs[_0x0d8b('0x44')](_0x1ca60c[_0x0d8b('0x3d')]['sort']);_0x2c6242[_0x0d8b('0x45')]=qs[_0x0d8b('0x3e')](_[_0x0d8b('0x57')](_0x1ca60c[_0x0d8b('0x3d')],_0x2bb690[_0x0d8b('0x3e')]));if(_0x1ca60c[_0x0d8b('0x3d')][_0x0d8b('0x48')]){_0x2c6242[_0x0d8b('0x45')]=_[_0x0d8b('0x46')](_0x2c6242[_0x0d8b('0x45')],{'$or':_[_0x0d8b('0x3b')](_0x2c6242[_0x0d8b('0x40')],function(_0x50c0ff){var _0x1ece98={};_0x1ece98[_0x50c0ff]={'$like':'%'+_0x1ca60c[_0x0d8b('0x3d')][_0x0d8b('0x48')]+'%'};return _0x1ece98;})});}_0x2c6242=_['merge']({},_0x2c6242,_0x1ca60c['options']);return _0x14a34b[_0x0d8b('0x5b')](_0x2c6242);}})[_0x0d8b('0x1d')](function(_0x2c55bc){if(_0x2c55bc){_0x49f610=_0x2c55bc['length'];if(!_0x1ca60c['query'][_0x0d8b('0x42')](_0x0d8b('0x43'))){_0x2c6242[_0x0d8b('0x2c')]=qs[_0x0d8b('0x2c')](_0x1ca60c[_0x0d8b('0x3d')][_0x0d8b('0x2c')]);_0x2c6242[_0x0d8b('0x2b')]=qs[_0x0d8b('0x2b')](_0x1ca60c[_0x0d8b('0x3d')][_0x0d8b('0x2b')]);}return _0x14a34b[_0x0d8b('0x5b')](_0x2c6242);}})[_0x0d8b('0x1d')](function(_0x3b060e){if(_0x3b060e){return _0x3b060e?{'count':_0x49f610,'rows':_0x3b060e}:null;}})['then'](respondWithResult(_0x5878c2,null))[_0x0d8b('0x27')](handleError(_0x5878c2,null));};exports[_0x0d8b('0x5c')]=function(_0x48c965,_0x51c41b,_0x1a1029){var _0x1dad9f={};var _0x3573b4={};var _0x14b1b8;var _0x23e2e0;return db[_0x0d8b('0x36')]['findOne']({'where':{'id':_0x48c965['params']['id']}})['then'](handleEntityNotFound(_0x51c41b,null))[_0x0d8b('0x1d')](function(_0xce759e){if(_0xce759e){_0x14b1b8=_0xce759e;_0x3573b4[_0x0d8b('0x3a')]=_[_0x0d8b('0x3c')](db[_0x0d8b('0x5a')][_0x0d8b('0x50')]);_0x3573b4['query']=_[_0x0d8b('0x3c')](_0x48c965[_0x0d8b('0x3d')]);_0x3573b4['filters']=_[_0x0d8b('0x3f')](_0x3573b4['model'],_0x3573b4[_0x0d8b('0x3d')]);_0x1dad9f[_0x0d8b('0x40')]=_[_0x0d8b('0x3f')](_0x3573b4[_0x0d8b('0x3a')],qs[_0x0d8b('0x41')](_0x48c965[_0x0d8b('0x3d')][_0x0d8b('0x41')]));_0x1dad9f[_0x0d8b('0x40')]=_0x1dad9f[_0x0d8b('0x40')][_0x0d8b('0x55')]?_0x1dad9f[_0x0d8b('0x40')]:_0x3573b4[_0x0d8b('0x3a')];_0x1dad9f['order']=qs['sort'](_0x48c965[_0x0d8b('0x3d')][_0x0d8b('0x44')]);_0x1dad9f[_0x0d8b('0x45')]=qs[_0x0d8b('0x3e')](_[_0x0d8b('0x57')](_0x48c965[_0x0d8b('0x3d')],_0x3573b4[_0x0d8b('0x3e')]));if(_0x48c965['query'][_0x0d8b('0x48')]){_0x1dad9f['where']=_[_0x0d8b('0x46')](_0x1dad9f['where'],{'$or':_['map'](_0x1dad9f[_0x0d8b('0x40')],function(_0x460a36){var _0x25d99f={};_0x25d99f[_0x460a36]={'$like':'%'+_0x48c965[_0x0d8b('0x3d')][_0x0d8b('0x48')]+'%'};return _0x25d99f;})});}_0x1dad9f=_[_0x0d8b('0x46')]({},_0x1dad9f,_0x48c965[_0x0d8b('0x58')]);return _0x14b1b8[_0x0d8b('0x5c')](_0x1dad9f);}})[_0x0d8b('0x1d')](function(_0x20a8b6){if(_0x20a8b6){_0x23e2e0=_0x20a8b6[_0x0d8b('0x55')];if(!_0x48c965[_0x0d8b('0x3d')]['hasOwnProperty'](_0x0d8b('0x43'))){_0x1dad9f[_0x0d8b('0x2c')]=qs[_0x0d8b('0x2c')](_0x48c965['query']['limit']);_0x1dad9f[_0x0d8b('0x2b')]=qs[_0x0d8b('0x2b')](_0x48c965[_0x0d8b('0x3d')][_0x0d8b('0x2b')]);}return _0x14b1b8[_0x0d8b('0x5c')](_0x1dad9f);}})[_0x0d8b('0x1d')](function(_0x5648eb){if(_0x5648eb){return _0x5648eb?{'count':_0x23e2e0,'rows':_0x5648eb}:null;}})[_0x0d8b('0x1d')](respondWithResult(_0x51c41b,null))[_0x0d8b('0x27')](handleError(_0x51c41b,null));}; \ No newline at end of file diff --git a/server/api/intServicenowConfiguration/intServicenowConfiguration.model.js b/server/api/intServicenowConfiguration/intServicenowConfiguration.model.js index 2bed8d0..e4c91b8 100644 --- a/server/api/intServicenowConfiguration/intServicenowConfiguration.model.js +++ b/server/api/intServicenowConfiguration/intServicenowConfiguration.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xbbac=['./intServicenowConfiguration.attributes','exports','define','ServicenowConfiguration','int_servicenow_configurations','lodash','util','../../config/logger','api','moment','request-promise','rimraf'];(function(_0x139b85,_0x5e0691){var _0x1e833f=function(_0xc97932){while(--_0xc97932){_0x139b85['push'](_0x139b85['shift']());}};_0x1e833f(++_0x5e0691);}(_0xbbac,0x71));var _0xcbba=function(_0x57054b,_0x409975){_0x57054b=_0x57054b-0x0;var _0x3a2080=_0xbbac[_0x57054b];return _0x3a2080;};'use strict';var _=require(_0xcbba('0x0'));var util=require(_0xcbba('0x1'));var logger=require(_0xcbba('0x2'))(_0xcbba('0x3'));var moment=require(_0xcbba('0x4'));var BPromise=require('bluebird');var rp=require(_0xcbba('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0xcbba('0x6'));var config=require('../../config/environment');var attributes=require(_0xcbba('0x7'));module[_0xcbba('0x8')]=function(_0x7c978d,_0x2c2ac5){return _0x7c978d[_0xcbba('0x9')](_0xcbba('0xa'),attributes,{'tableName':_0xcbba('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0xd1fd=['rimraf','define','ServicenowConfiguration','int_servicenow_configurations','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path'];(function(_0x2403a3,_0x3734de){var _0x4c942c=function(_0x326494){while(--_0x326494){_0x2403a3['push'](_0x2403a3['shift']());}};_0x4c942c(++_0x3734de);}(_0xd1fd,0x19c));var _0xdd1f=function(_0x368e09,_0x2c1517){_0x368e09=_0x368e09-0x0;var _0x14b7df=_0xd1fd[_0x368e09];return _0x14b7df;};'use strict';var _=require(_0xdd1f('0x0'));var util=require(_0xdd1f('0x1'));var logger=require(_0xdd1f('0x2'))(_0xdd1f('0x3'));var moment=require(_0xdd1f('0x4'));var BPromise=require(_0xdd1f('0x5'));var rp=require(_0xdd1f('0x6'));var fs=require('fs');var path=require(_0xdd1f('0x7'));var rimraf=require(_0xdd1f('0x8'));var config=require('../../config/environment');var attributes=require('./intServicenowConfiguration.attributes');module['exports']=function(_0x5d91cc,_0xdccb8d){return _0x5d91cc[_0xdd1f('0x9')](_0xdd1f('0xa'),attributes,{'tableName':_0xdd1f('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/intServicenowConfiguration/intServicenowConfiguration.rpc.js b/server/api/intServicenowConfiguration/intServicenowConfiguration.rpc.js index 642fad3..98d844b 100644 --- a/server/api/intServicenowConfiguration/intServicenowConfiguration.rpc.js +++ b/server/api/intServicenowConfiguration/intServicenowConfiguration.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x22c6=['../../config/environment','jayson/promise','client','http','request','then','ServicenowConfiguration,\x20%s,\x20%s','request\x20sent','debug','ServicenowConfiguration,\x20%s,\x20%s,\x20%s','stringify','error','message','info','result','catch','lodash','moment','bluebird','randomstring','../../config/utils','../../config/logger','rpc'];(function(_0x5efbeb,_0x472b7f){var _0xab772e=function(_0x37d32d){while(--_0x37d32d){_0x5efbeb['push'](_0x5efbeb['shift']());}};_0xab772e(++_0x472b7f);}(_0x22c6,0xc8));var _0x622c=function(_0x494e87,_0x41041d){_0x494e87=_0x494e87-0x0;var _0x143c76=_0x22c6[_0x494e87];return _0x143c76;};'use strict';var _=require(_0x622c('0x0'));var util=require('util');var moment=require(_0x622c('0x1'));var BPromise=require(_0x622c('0x2'));var rs=require(_0x622c('0x3'));var fs=require('fs');var Redis=require('ioredis');var db=require('../../mysqldb')['db'];var utils=require(_0x622c('0x4'));var logger=require(_0x622c('0x5'))(_0x622c('0x6'));var config=require(_0x622c('0x7'));var jayson=require(_0x622c('0x8'));var client=jayson[_0x622c('0x9')][_0x622c('0xa')]({'port':0x232a});function respondWithRpcPromise(_0x36e8bc,_0x3f6ada,_0x4b6158){return new BPromise(function(_0x58d9b2,_0x75e619){return client[_0x622c('0xb')](_0x36e8bc,_0x4b6158)[_0x622c('0xc')](function(_0x385a66){logger['info'](_0x622c('0xd'),_0x3f6ada,_0x622c('0xe'));logger[_0x622c('0xf')](_0x622c('0x10'),_0x3f6ada,_0x622c('0xe'),JSON[_0x622c('0x11')](_0x385a66));if(_0x385a66[_0x622c('0x12')]){if(_0x385a66[_0x622c('0x12')]['code']===0x1f4){logger[_0x622c('0x12')](_0x622c('0xd'),_0x3f6ada,_0x385a66[_0x622c('0x12')]['message']);return _0x75e619(_0x385a66[_0x622c('0x12')][_0x622c('0x13')]);}logger[_0x622c('0x12')](_0x622c('0xd'),_0x3f6ada,_0x385a66[_0x622c('0x12')][_0x622c('0x13')]);return _0x58d9b2(_0x385a66['error'][_0x622c('0x13')]);}else{logger[_0x622c('0x14')](_0x622c('0xd'),_0x3f6ada,_0x622c('0xe'));_0x58d9b2(_0x385a66[_0x622c('0x15')][_0x622c('0x13')]);}})[_0x622c('0x16')](function(_0x755998){logger[_0x622c('0x12')](_0x622c('0xd'),_0x3f6ada,_0x755998);_0x75e619(_0x755998);});});} \ No newline at end of file +var _0x56ea=['info','ServicenowConfiguration,\x20%s,\x20%s','debug','ServicenowConfiguration,\x20%s,\x20%s,\x20%s','request\x20sent','stringify','error','code','message','moment','randomstring','../../mysqldb','../../config/logger','jayson/promise','client','http','request','then'];(function(_0x42a44a,_0x15ca12){var _0x1e6ab6=function(_0x5c5a3f){while(--_0x5c5a3f){_0x42a44a['push'](_0x42a44a['shift']());}};_0x1e6ab6(++_0x15ca12);}(_0x56ea,0x195));var _0xa56e=function(_0x12254f,_0x100cfe){_0x12254f=_0x12254f-0x0;var _0x3a4fa2=_0x56ea[_0x12254f];return _0x3a4fa2;};'use strict';var _=require('lodash');var util=require('util');var moment=require(_0xa56e('0x0'));var BPromise=require('bluebird');var rs=require(_0xa56e('0x1'));var fs=require('fs');var Redis=require('ioredis');var db=require(_0xa56e('0x2'))['db'];var utils=require('../../config/utils');var logger=require(_0xa56e('0x3'))('rpc');var config=require('../../config/environment');var jayson=require(_0xa56e('0x4'));var client=jayson[_0xa56e('0x5')][_0xa56e('0x6')]({'port':0x232a});function respondWithRpcPromise(_0x2d733d,_0x5573ba,_0x5625e7){return new BPromise(function(_0xa52bf8,_0x14483b){return client[_0xa56e('0x7')](_0x2d733d,_0x5625e7)[_0xa56e('0x8')](function(_0x1ca7ee){logger[_0xa56e('0x9')](_0xa56e('0xa'),_0x5573ba,'request\x20sent');logger[_0xa56e('0xb')](_0xa56e('0xc'),_0x5573ba,_0xa56e('0xd'),JSON[_0xa56e('0xe')](_0x1ca7ee));if(_0x1ca7ee[_0xa56e('0xf')]){if(_0x1ca7ee[_0xa56e('0xf')][_0xa56e('0x10')]===0x1f4){logger['error']('ServicenowConfiguration,\x20%s,\x20%s',_0x5573ba,_0x1ca7ee['error']['message']);return _0x14483b(_0x1ca7ee[_0xa56e('0xf')]['message']);}logger[_0xa56e('0xf')](_0xa56e('0xa'),_0x5573ba,_0x1ca7ee[_0xa56e('0xf')][_0xa56e('0x11')]);return _0xa52bf8(_0x1ca7ee[_0xa56e('0xf')][_0xa56e('0x11')]);}else{logger[_0xa56e('0x9')](_0xa56e('0xa'),_0x5573ba,_0xa56e('0xd'));_0xa52bf8(_0x1ca7ee['result'][_0xa56e('0x11')]);}})['catch'](function(_0x16beb9){logger[_0xa56e('0xf')](_0xa56e('0xa'),_0x5573ba,_0x16beb9);_0x14483b(_0x16beb9);});});} \ No newline at end of file diff --git a/server/api/intServicenowField/index.js b/server/api/intServicenowField/index.js index 5dbbbad..07cac7d 100644 --- a/server/api/intServicenowField/index.js +++ b/server/api/intServicenowField/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xd826=['Router','../../components/interaction/service','../../config/environment','./intServicenowField.controller','get','isAuthenticated','index','show','post','create','put','/:id','update','delete','destroy','exports','multer','util','path','express'];(function(_0x1a9a3e,_0x3fe8f5){var _0x793ec0=function(_0x32131c){while(--_0x32131c){_0x1a9a3e['push'](_0x1a9a3e['shift']());}};_0x793ec0(++_0x3fe8f5);}(_0xd826,0x88));var _0x6d82=function(_0x53efd4,_0x512f57){_0x53efd4=_0x53efd4-0x0;var _0x3f00fb=_0xd826[_0x53efd4];return _0x3f00fb;};'use strict';var multer=require(_0x6d82('0x0'));var util=require(_0x6d82('0x1'));var path=require(_0x6d82('0x2'));var timeout=require('connect-timeout');var express=require(_0x6d82('0x3'));var router=express[_0x6d82('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0x6d82('0x5'));var config=require(_0x6d82('0x6'));var controller=require(_0x6d82('0x7'));router[_0x6d82('0x8')]('/',auth[_0x6d82('0x9')](),controller[_0x6d82('0xa')]);router[_0x6d82('0x8')]('/:id',auth[_0x6d82('0x9')](),controller[_0x6d82('0xb')]);router[_0x6d82('0xc')]('/',auth[_0x6d82('0x9')](),controller[_0x6d82('0xd')]);router[_0x6d82('0xe')](_0x6d82('0xf'),auth[_0x6d82('0x9')](),controller[_0x6d82('0x10')]);router[_0x6d82('0x11')]('/:id',auth[_0x6d82('0x9')](),controller[_0x6d82('0x12')]);module[_0x6d82('0x13')]=router; \ No newline at end of file +var _0x8866=['multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','/:id','isAuthenticated','show','create','put','delete','destroy','exports'];(function(_0x1f1ac1,_0x584c84){var _0x414549=function(_0x552377){while(--_0x552377){_0x1f1ac1['push'](_0x1f1ac1['shift']());}};_0x414549(++_0x584c84);}(_0x8866,0x1e6));var _0x6886=function(_0x533f85,_0x5b0445){_0x533f85=_0x533f85-0x0;var _0x4a36da=_0x8866[_0x533f85];return _0x4a36da;};'use strict';var multer=require(_0x6886('0x0'));var util=require(_0x6886('0x1'));var path=require(_0x6886('0x2'));var timeout=require(_0x6886('0x3'));var express=require(_0x6886('0x4'));var router=express[_0x6886('0x5')]();var auth=require(_0x6886('0x6'));var interaction=require(_0x6886('0x7'));var config=require(_0x6886('0x8'));var controller=require('./intServicenowField.controller');router[_0x6886('0x9')]('/',auth['isAuthenticated'](),controller['index']);router['get'](_0x6886('0xa'),auth[_0x6886('0xb')](),controller[_0x6886('0xc')]);router['post']('/',auth[_0x6886('0xb')](),controller[_0x6886('0xd')]);router[_0x6886('0xe')](_0x6886('0xa'),auth[_0x6886('0xb')](),controller['update']);router[_0x6886('0xf')](_0x6886('0xa'),auth[_0x6886('0xb')](),controller[_0x6886('0x10')]);module[_0x6886('0x11')]=router; \ No newline at end of file diff --git a/server/api/intServicenowField/intServicenowField.attributes.js b/server/api/intServicenowField/intServicenowField.attributes.js index 7d9f122..ed96d2a 100644 --- a/server/api/intServicenowField/intServicenowField.attributes.js +++ b/server/api/intServicenowField/intServicenowField.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xd4a0=['exports','ENUM','string','customVariable','STRING','variable','sequelize'];(function(_0x24a88e,_0x22a0b8){var _0x232cbb=function(_0x50b7a4){while(--_0x50b7a4){_0x24a88e['push'](_0x24a88e['shift']());}};_0x232cbb(++_0x22a0b8);}(_0xd4a0,0x187));var _0x0d4a=function(_0x18462b,_0x172e97){_0x18462b=_0x18462b-0x0;var _0x1e6581=_0xd4a0[_0x18462b];return _0x1e6581;};'use strict';var Sequelize=require(_0x0d4a('0x0'));module[_0x0d4a('0x1')]={'type':{'type':Sequelize[_0x0d4a('0x2')](_0x0d4a('0x3'),'variable',_0x0d4a('0x4'),'keyValue'),'defaultValue':_0x0d4a('0x3')},'content':{'type':Sequelize['STRING']},'key':{'type':Sequelize[_0x0d4a('0x5')]},'keyType':{'type':Sequelize['ENUM'](_0x0d4a('0x3'),_0x0d4a('0x6'),_0x0d4a('0x4'))},'keyContent':{'type':Sequelize[_0x0d4a('0x5')]},'idField':{'type':Sequelize[_0x0d4a('0x5')]},'nameField':{'type':Sequelize['STRING']},'customField':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'variableName':{'type':Sequelize[_0x0d4a('0x5')]}}; \ No newline at end of file +var _0x4e8b=['STRING','string','customVariable','BOOLEAN','sequelize','exports','ENUM','variable','keyValue'];(function(_0x91f820,_0x12a3e5){var _0x59b5df=function(_0x3af362){while(--_0x3af362){_0x91f820['push'](_0x91f820['shift']());}};_0x59b5df(++_0x12a3e5);}(_0x4e8b,0xb8));var _0xb4e8=function(_0x13ce0c,_0x3f2a0d){_0x13ce0c=_0x13ce0c-0x0;var _0x4388fb=_0x4e8b[_0x13ce0c];return _0x4388fb;};'use strict';var Sequelize=require(_0xb4e8('0x0'));module[_0xb4e8('0x1')]={'type':{'type':Sequelize[_0xb4e8('0x2')]('string',_0xb4e8('0x3'),'customVariable',_0xb4e8('0x4')),'defaultValue':'string'},'content':{'type':Sequelize['STRING']},'key':{'type':Sequelize[_0xb4e8('0x5')]},'keyType':{'type':Sequelize[_0xb4e8('0x2')](_0xb4e8('0x6'),_0xb4e8('0x3'),_0xb4e8('0x7'))},'keyContent':{'type':Sequelize[_0xb4e8('0x5')]},'idField':{'type':Sequelize[_0xb4e8('0x5')]},'nameField':{'type':Sequelize[_0xb4e8('0x5')]},'customField':{'type':Sequelize[_0xb4e8('0x8')],'defaultValue':!![]},'variableName':{'type':Sequelize[_0xb4e8('0x5')]}}; \ No newline at end of file diff --git a/server/api/intServicenowField/intServicenowField.controller.js b/server/api/intServicenowField/intServicenowField.controller.js index b4312e8..43c8244 100644 --- a/server/api/intServicenowField/intServicenowField.controller.js +++ b/server/api/intServicenowField/intServicenowField.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xa9e0=['sort','where','pick','filter','VIRTUAL','merge','options','include','findAll','catch','params','includeAll','create','body','find','html-pdf','eml-format','rimraf','request-promise','bluebird','mustache','util','path','sox','ejs','lodash','squel','desk.js','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../mysqldb','sendStatus','status','json','count','offset','set','Content-Range','apply','reject','save','update','then','destroy','end','error','name','send','index','map','ServicenowField','rawAttributes','fieldName','type','key','query','keys','filters','intersection','model','attributes','fields','length','hasOwnProperty','limit'];(function(_0x3800bb,_0x3143e8){var _0x4fecb6=function(_0xb6d79a){while(--_0xb6d79a){_0x3800bb['push'](_0x3800bb['shift']());}};_0x4fecb6(++_0x3143e8);}(_0xa9e0,0x123));var _0x0a9e=function(_0xbb091,_0x3fe7ee){_0xbb091=_0xbb091-0x0;var _0x467a04=_0xa9e0[_0xbb091];return _0x467a04;};'use strict';var pdf=require(_0x0a9e('0x0'));var emlformat=require(_0x0a9e('0x1'));var rimraf=require(_0x0a9e('0x2'));var zipdir=require('zip-dir');var jsonpatch=require('fast-json-patch');var rp=require(_0x0a9e('0x3'));var moment=require('moment');var BPromise=require(_0x0a9e('0x4'));var Mustache=require(_0x0a9e('0x5'));var util=require(_0x0a9e('0x6'));var path=require(_0x0a9e('0x7'));var sox=require(_0x0a9e('0x8'));var csv=require('to-csv');var ejs=require(_0x0a9e('0x9'));var fs=require('fs');var _=require(_0x0a9e('0xa'));var squel=require(_0x0a9e('0xb'));var crypto=require('crypto');var jsforce=require('jsforce');var deskjs=require(_0x0a9e('0xc'));var toCsv=require('to-csv');var querystring=require('querystring');var Papa=require(_0x0a9e('0xd'));var Redis=require(_0x0a9e('0xe'));var authService=require(_0x0a9e('0xf'));var qs=require(_0x0a9e('0x10'));var as=require(_0x0a9e('0x11'));var hardwareService=require(_0x0a9e('0x12'));var logger=require('../../config/logger')('api');var utils=require('../../config/utils');var config=require('../../config/environment');var db=require(_0x0a9e('0x13'))['db'];function respondWithStatusCode(_0x36471c,_0xd5b662){_0xd5b662=_0xd5b662||0xcc;return function(_0x26d672){if(_0x26d672){return _0x36471c[_0x0a9e('0x14')](_0xd5b662);}return _0x36471c[_0x0a9e('0x15')](_0xd5b662)['end']();};}function respondWithResult(_0x4283ce,_0x239b12){_0x239b12=_0x239b12||0xc8;return function(_0x2b4227){if(_0x2b4227){return _0x4283ce[_0x0a9e('0x15')](_0x239b12)[_0x0a9e('0x16')](_0x2b4227);}};}function respondWithFilteredResult(_0x4d5611,_0x52a03d){return function(_0x22dccb){if(_0x22dccb){var _0x5d0880=_0x22dccb[_0x0a9e('0x17')],_0x1985b6=_0x52a03d['offset'],_0x519dfd=_0x52a03d[_0x0a9e('0x18')]+_0x52a03d['limit'],_0x16033c;if(_0x519dfd>=_0x5d0880){_0x519dfd=_0x5d0880;_0x16033c=0xc8;}else{_0x16033c=0xce;}_0x4d5611[_0x0a9e('0x15')](_0x16033c);return _0x4d5611[_0x0a9e('0x19')](_0x0a9e('0x1a'),_0x1985b6+'-'+_0x519dfd+'/'+_0x5d0880)[_0x0a9e('0x16')](_0x22dccb);}return null;};}function patchUpdates(_0x31b1ca){return function(_0x2eb11f){try{jsonpatch[_0x0a9e('0x1b')](_0x2eb11f,_0x31b1ca,!![]);}catch(_0x20559e){return BPromise[_0x0a9e('0x1c')](_0x20559e);}return _0x2eb11f[_0x0a9e('0x1d')]();};}function saveUpdates(_0x1c696a,_0x105080){return function(_0x4bb1e3){if(_0x4bb1e3){return _0x4bb1e3[_0x0a9e('0x1e')](_0x1c696a)[_0x0a9e('0x1f')](function(_0x53682f){return _0x53682f;});}return null;};}function removeEntity(_0x20f109,_0x5a09ef){return function(_0x588269){if(_0x588269){return _0x588269[_0x0a9e('0x20')]()[_0x0a9e('0x1f')](function(){_0x20f109[_0x0a9e('0x15')](0xcc)[_0x0a9e('0x21')]();});}};}function handleEntityNotFound(_0x4abc77,_0xfb6e48){return function(_0x2fb0e4){if(!_0x2fb0e4){_0x4abc77[_0x0a9e('0x14')](0x194);}return _0x2fb0e4;};}function handleError(_0x4d00e6,_0x370d86){_0x370d86=_0x370d86||0x1f4;return function(_0x42ac8f){logger[_0x0a9e('0x22')](_0x42ac8f['stack']);if(_0x42ac8f['name']){delete _0x42ac8f[_0x0a9e('0x23')];}_0x4d00e6[_0x0a9e('0x15')](_0x370d86)[_0x0a9e('0x24')](_0x42ac8f);};}exports[_0x0a9e('0x25')]=function(_0x526cf3,_0x384319){var _0x479bc4={},_0x45a1e7={},_0x5bfb33={'count':0x0,'rows':[]};var _0x1dc186=_[_0x0a9e('0x26')](db[_0x0a9e('0x27')][_0x0a9e('0x28')],function(_0x140511){return{'name':_0x140511[_0x0a9e('0x29')],'type':_0x140511[_0x0a9e('0x2a')][_0x0a9e('0x2b')]};});_0x45a1e7['model']=_[_0x0a9e('0x26')](_0x1dc186,_0x0a9e('0x23'));_0x45a1e7[_0x0a9e('0x2c')]=_[_0x0a9e('0x2d')](_0x526cf3['query']);_0x45a1e7[_0x0a9e('0x2e')]=_[_0x0a9e('0x2f')](_0x45a1e7[_0x0a9e('0x30')],_0x45a1e7[_0x0a9e('0x2c')]);_0x479bc4[_0x0a9e('0x31')]=_[_0x0a9e('0x2f')](_0x45a1e7[_0x0a9e('0x30')],qs[_0x0a9e('0x32')](_0x526cf3[_0x0a9e('0x2c')]['fields']));_0x479bc4[_0x0a9e('0x31')]=_0x479bc4['attributes'][_0x0a9e('0x33')]?_0x479bc4[_0x0a9e('0x31')]:_0x45a1e7[_0x0a9e('0x30')];if(!_0x526cf3[_0x0a9e('0x2c')][_0x0a9e('0x34')]('nolimit')){_0x479bc4[_0x0a9e('0x35')]=qs[_0x0a9e('0x35')](_0x526cf3[_0x0a9e('0x2c')][_0x0a9e('0x35')]);_0x479bc4[_0x0a9e('0x18')]=qs[_0x0a9e('0x18')](_0x526cf3[_0x0a9e('0x2c')][_0x0a9e('0x18')]);}_0x479bc4['order']=qs[_0x0a9e('0x36')](_0x526cf3['query'][_0x0a9e('0x36')]);_0x479bc4[_0x0a9e('0x37')]=qs[_0x0a9e('0x2e')](_[_0x0a9e('0x38')](_0x526cf3['query'],_0x45a1e7[_0x0a9e('0x2e')]),_0x1dc186);if(_0x526cf3[_0x0a9e('0x2c')][_0x0a9e('0x39')]){_0x479bc4[_0x0a9e('0x37')]=_['merge'](_0x479bc4['where'],{'$or':_[_0x0a9e('0x26')](_0x1dc186,function(_0x5640eb){if(_0x5640eb[_0x0a9e('0x2a')]!==_0x0a9e('0x3a')){var _0x381c37={};_0x381c37[_0x5640eb[_0x0a9e('0x23')]]={'$like':'%'+_0x526cf3['query'][_0x0a9e('0x39')]+'%'};return _0x381c37;}})});}_0x479bc4=_[_0x0a9e('0x3b')]({},_0x479bc4,_0x526cf3[_0x0a9e('0x3c')]);var _0x533942={'where':_0x479bc4[_0x0a9e('0x37')]};return db[_0x0a9e('0x27')][_0x0a9e('0x17')](_0x533942)['then'](function(_0x546ef8){_0x5bfb33[_0x0a9e('0x17')]=_0x546ef8;if(_0x526cf3[_0x0a9e('0x2c')]['includeAll']){_0x479bc4[_0x0a9e('0x3d')]=[{'all':!![]}];}return db[_0x0a9e('0x27')][_0x0a9e('0x3e')](_0x479bc4);})[_0x0a9e('0x1f')](function(_0x4b38d9){_0x5bfb33['rows']=_0x4b38d9;return _0x5bfb33;})[_0x0a9e('0x1f')](respondWithFilteredResult(_0x384319,_0x479bc4))[_0x0a9e('0x3f')](handleError(_0x384319,null));};exports['show']=function(_0x183991,_0x1dec2e){var _0x1459bb={'raw':!![],'where':{'id':_0x183991[_0x0a9e('0x40')]['id']}},_0x5b4f5e={};_0x5b4f5e[_0x0a9e('0x30')]=_[_0x0a9e('0x2d')](db[_0x0a9e('0x27')][_0x0a9e('0x28')]);_0x5b4f5e[_0x0a9e('0x2c')]=_[_0x0a9e('0x2d')](_0x183991[_0x0a9e('0x2c')]);_0x5b4f5e[_0x0a9e('0x2e')]=_[_0x0a9e('0x2f')](_0x5b4f5e[_0x0a9e('0x30')],_0x5b4f5e[_0x0a9e('0x2c')]);_0x1459bb[_0x0a9e('0x31')]=_[_0x0a9e('0x2f')](_0x5b4f5e[_0x0a9e('0x30')],qs['fields'](_0x183991['query'][_0x0a9e('0x32')]));_0x1459bb[_0x0a9e('0x31')]=_0x1459bb[_0x0a9e('0x31')][_0x0a9e('0x33')]?_0x1459bb[_0x0a9e('0x31')]:_0x5b4f5e[_0x0a9e('0x30')];if(_0x183991[_0x0a9e('0x2c')][_0x0a9e('0x41')]){_0x1459bb[_0x0a9e('0x3d')]=[{'all':!![]}];}_0x1459bb=_[_0x0a9e('0x3b')]({},_0x1459bb,_0x183991[_0x0a9e('0x3c')]);return db[_0x0a9e('0x27')]['find'](_0x1459bb)[_0x0a9e('0x1f')](handleEntityNotFound(_0x1dec2e,null))[_0x0a9e('0x1f')](respondWithResult(_0x1dec2e,null))[_0x0a9e('0x3f')](handleError(_0x1dec2e,null));};exports[_0x0a9e('0x42')]=function(_0x2e8caf,_0xbe9d19){return db[_0x0a9e('0x27')][_0x0a9e('0x42')](_0x2e8caf['body'],{})[_0x0a9e('0x1f')](respondWithResult(_0xbe9d19,0xc9))['catch'](handleError(_0xbe9d19,null));};exports[_0x0a9e('0x1e')]=function(_0x476688,_0x8d6dd1){if(_0x476688['body']['id']){delete _0x476688[_0x0a9e('0x43')]['id'];}return db[_0x0a9e('0x27')][_0x0a9e('0x44')]({'where':{'id':_0x476688[_0x0a9e('0x40')]['id']}})[_0x0a9e('0x1f')](handleEntityNotFound(_0x8d6dd1,null))[_0x0a9e('0x1f')](saveUpdates(_0x476688[_0x0a9e('0x43')],null))['then'](respondWithResult(_0x8d6dd1,null))[_0x0a9e('0x3f')](handleError(_0x8d6dd1,null));};exports[_0x0a9e('0x20')]=function(_0x1b5e80,_0x16f976){return db[_0x0a9e('0x27')][_0x0a9e('0x44')]({'where':{'id':_0x1b5e80[_0x0a9e('0x40')]['id']}})[_0x0a9e('0x1f')](handleEntityNotFound(_0x16f976,null))[_0x0a9e('0x1f')](removeEntity(_0x16f976,null))['catch'](handleError(_0x16f976,null));}; \ No newline at end of file +var _0xa9e0=['sort','where','pick','filter','VIRTUAL','merge','options','include','findAll','catch','params','includeAll','create','body','find','html-pdf','eml-format','rimraf','request-promise','bluebird','mustache','util','path','sox','ejs','lodash','squel','desk.js','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../mysqldb','sendStatus','status','json','count','offset','set','Content-Range','apply','reject','save','update','then','destroy','end','error','name','send','index','map','ServicenowField','rawAttributes','fieldName','type','key','query','keys','filters','intersection','model','attributes','fields','length','hasOwnProperty','limit'];(function(_0x316c1d,_0x2250e5){var _0xdb8cb7=function(_0x17047d){while(--_0x17047d){_0x316c1d['push'](_0x316c1d['shift']());}};_0xdb8cb7(++_0x2250e5);}(_0xa9e0,0x123));var _0x0a9e=function(_0xbca1b1,_0x33f0ce){_0xbca1b1=_0xbca1b1-0x0;var _0x4e1686=_0xa9e0[_0xbca1b1];return _0x4e1686;};'use strict';var pdf=require(_0x0a9e('0x0'));var emlformat=require(_0x0a9e('0x1'));var rimraf=require(_0x0a9e('0x2'));var zipdir=require('zip-dir');var jsonpatch=require('fast-json-patch');var rp=require(_0x0a9e('0x3'));var moment=require('moment');var BPromise=require(_0x0a9e('0x4'));var Mustache=require(_0x0a9e('0x5'));var util=require(_0x0a9e('0x6'));var path=require(_0x0a9e('0x7'));var sox=require(_0x0a9e('0x8'));var csv=require('to-csv');var ejs=require(_0x0a9e('0x9'));var fs=require('fs');var _=require(_0x0a9e('0xa'));var squel=require(_0x0a9e('0xb'));var crypto=require('crypto');var jsforce=require('jsforce');var deskjs=require(_0x0a9e('0xc'));var toCsv=require('to-csv');var querystring=require('querystring');var Papa=require(_0x0a9e('0xd'));var Redis=require(_0x0a9e('0xe'));var authService=require(_0x0a9e('0xf'));var qs=require(_0x0a9e('0x10'));var as=require(_0x0a9e('0x11'));var hardwareService=require(_0x0a9e('0x12'));var logger=require('../../config/logger')('api');var utils=require('../../config/utils');var config=require('../../config/environment');var db=require(_0x0a9e('0x13'))['db'];function respondWithStatusCode(_0x36471c,_0xd5b662){_0xd5b662=_0xd5b662||0xcc;return function(_0x26d672){if(_0x26d672){return _0x36471c[_0x0a9e('0x14')](_0xd5b662);}return _0x36471c[_0x0a9e('0x15')](_0xd5b662)['end']();};}function respondWithResult(_0x4283ce,_0x239b12){_0x239b12=_0x239b12||0xc8;return function(_0x2b4227){if(_0x2b4227){return _0x4283ce[_0x0a9e('0x15')](_0x239b12)[_0x0a9e('0x16')](_0x2b4227);}};}function respondWithFilteredResult(_0x4d5611,_0x52a03d){return function(_0x22dccb){if(_0x22dccb){var _0x5d0880=_0x22dccb[_0x0a9e('0x17')],_0x1985b6=_0x52a03d['offset'],_0x519dfd=_0x52a03d[_0x0a9e('0x18')]+_0x52a03d['limit'],_0x16033c;if(_0x519dfd>=_0x5d0880){_0x519dfd=_0x5d0880;_0x16033c=0xc8;}else{_0x16033c=0xce;}_0x4d5611[_0x0a9e('0x15')](_0x16033c);return _0x4d5611[_0x0a9e('0x19')](_0x0a9e('0x1a'),_0x1985b6+'-'+_0x519dfd+'/'+_0x5d0880)[_0x0a9e('0x16')](_0x22dccb);}return null;};}function patchUpdates(_0x31b1ca){return function(_0x2eb11f){try{jsonpatch[_0x0a9e('0x1b')](_0x2eb11f,_0x31b1ca,!![]);}catch(_0x20559e){return BPromise[_0x0a9e('0x1c')](_0x20559e);}return _0x2eb11f[_0x0a9e('0x1d')]();};}function saveUpdates(_0x1c696a,_0x105080){return function(_0x4bb1e3){if(_0x4bb1e3){return _0x4bb1e3[_0x0a9e('0x1e')](_0x1c696a)[_0x0a9e('0x1f')](function(_0x53682f){return _0x53682f;});}return null;};}function removeEntity(_0x20f109,_0x5a09ef){return function(_0x588269){if(_0x588269){return _0x588269[_0x0a9e('0x20')]()[_0x0a9e('0x1f')](function(){_0x20f109[_0x0a9e('0x15')](0xcc)[_0x0a9e('0x21')]();});}};}function handleEntityNotFound(_0x4abc77,_0xfb6e48){return function(_0x2fb0e4){if(!_0x2fb0e4){_0x4abc77[_0x0a9e('0x14')](0x194);}return _0x2fb0e4;};}function handleError(_0x4d00e6,_0x370d86){_0x370d86=_0x370d86||0x1f4;return function(_0x42ac8f){logger[_0x0a9e('0x22')](_0x42ac8f['stack']);if(_0x42ac8f['name']){delete _0x42ac8f[_0x0a9e('0x23')];}_0x4d00e6[_0x0a9e('0x15')](_0x370d86)[_0x0a9e('0x24')](_0x42ac8f);};}exports[_0x0a9e('0x25')]=function(_0x526cf3,_0x384319){var _0x479bc4={},_0x45a1e7={},_0x5bfb33={'count':0x0,'rows':[]};var _0x1dc186=_[_0x0a9e('0x26')](db[_0x0a9e('0x27')][_0x0a9e('0x28')],function(_0x140511){return{'name':_0x140511[_0x0a9e('0x29')],'type':_0x140511[_0x0a9e('0x2a')][_0x0a9e('0x2b')]};});_0x45a1e7['model']=_[_0x0a9e('0x26')](_0x1dc186,_0x0a9e('0x23'));_0x45a1e7[_0x0a9e('0x2c')]=_[_0x0a9e('0x2d')](_0x526cf3['query']);_0x45a1e7[_0x0a9e('0x2e')]=_[_0x0a9e('0x2f')](_0x45a1e7[_0x0a9e('0x30')],_0x45a1e7[_0x0a9e('0x2c')]);_0x479bc4[_0x0a9e('0x31')]=_[_0x0a9e('0x2f')](_0x45a1e7[_0x0a9e('0x30')],qs[_0x0a9e('0x32')](_0x526cf3[_0x0a9e('0x2c')]['fields']));_0x479bc4[_0x0a9e('0x31')]=_0x479bc4['attributes'][_0x0a9e('0x33')]?_0x479bc4[_0x0a9e('0x31')]:_0x45a1e7[_0x0a9e('0x30')];if(!_0x526cf3[_0x0a9e('0x2c')][_0x0a9e('0x34')]('nolimit')){_0x479bc4[_0x0a9e('0x35')]=qs[_0x0a9e('0x35')](_0x526cf3[_0x0a9e('0x2c')][_0x0a9e('0x35')]);_0x479bc4[_0x0a9e('0x18')]=qs[_0x0a9e('0x18')](_0x526cf3[_0x0a9e('0x2c')][_0x0a9e('0x18')]);}_0x479bc4['order']=qs[_0x0a9e('0x36')](_0x526cf3['query'][_0x0a9e('0x36')]);_0x479bc4[_0x0a9e('0x37')]=qs[_0x0a9e('0x2e')](_[_0x0a9e('0x38')](_0x526cf3['query'],_0x45a1e7[_0x0a9e('0x2e')]),_0x1dc186);if(_0x526cf3[_0x0a9e('0x2c')][_0x0a9e('0x39')]){_0x479bc4[_0x0a9e('0x37')]=_['merge'](_0x479bc4['where'],{'$or':_[_0x0a9e('0x26')](_0x1dc186,function(_0x5640eb){if(_0x5640eb[_0x0a9e('0x2a')]!==_0x0a9e('0x3a')){var _0x381c37={};_0x381c37[_0x5640eb[_0x0a9e('0x23')]]={'$like':'%'+_0x526cf3['query'][_0x0a9e('0x39')]+'%'};return _0x381c37;}})});}_0x479bc4=_[_0x0a9e('0x3b')]({},_0x479bc4,_0x526cf3[_0x0a9e('0x3c')]);var _0x533942={'where':_0x479bc4[_0x0a9e('0x37')]};return db[_0x0a9e('0x27')][_0x0a9e('0x17')](_0x533942)['then'](function(_0x546ef8){_0x5bfb33[_0x0a9e('0x17')]=_0x546ef8;if(_0x526cf3[_0x0a9e('0x2c')]['includeAll']){_0x479bc4[_0x0a9e('0x3d')]=[{'all':!![]}];}return db[_0x0a9e('0x27')][_0x0a9e('0x3e')](_0x479bc4);})[_0x0a9e('0x1f')](function(_0x4b38d9){_0x5bfb33['rows']=_0x4b38d9;return _0x5bfb33;})[_0x0a9e('0x1f')](respondWithFilteredResult(_0x384319,_0x479bc4))[_0x0a9e('0x3f')](handleError(_0x384319,null));};exports['show']=function(_0x183991,_0x1dec2e){var _0x1459bb={'raw':!![],'where':{'id':_0x183991[_0x0a9e('0x40')]['id']}},_0x5b4f5e={};_0x5b4f5e[_0x0a9e('0x30')]=_[_0x0a9e('0x2d')](db[_0x0a9e('0x27')][_0x0a9e('0x28')]);_0x5b4f5e[_0x0a9e('0x2c')]=_[_0x0a9e('0x2d')](_0x183991[_0x0a9e('0x2c')]);_0x5b4f5e[_0x0a9e('0x2e')]=_[_0x0a9e('0x2f')](_0x5b4f5e[_0x0a9e('0x30')],_0x5b4f5e[_0x0a9e('0x2c')]);_0x1459bb[_0x0a9e('0x31')]=_[_0x0a9e('0x2f')](_0x5b4f5e[_0x0a9e('0x30')],qs['fields'](_0x183991['query'][_0x0a9e('0x32')]));_0x1459bb[_0x0a9e('0x31')]=_0x1459bb[_0x0a9e('0x31')][_0x0a9e('0x33')]?_0x1459bb[_0x0a9e('0x31')]:_0x5b4f5e[_0x0a9e('0x30')];if(_0x183991[_0x0a9e('0x2c')][_0x0a9e('0x41')]){_0x1459bb[_0x0a9e('0x3d')]=[{'all':!![]}];}_0x1459bb=_[_0x0a9e('0x3b')]({},_0x1459bb,_0x183991[_0x0a9e('0x3c')]);return db[_0x0a9e('0x27')]['find'](_0x1459bb)[_0x0a9e('0x1f')](handleEntityNotFound(_0x1dec2e,null))[_0x0a9e('0x1f')](respondWithResult(_0x1dec2e,null))[_0x0a9e('0x3f')](handleError(_0x1dec2e,null));};exports[_0x0a9e('0x42')]=function(_0x2e8caf,_0xbe9d19){return db[_0x0a9e('0x27')][_0x0a9e('0x42')](_0x2e8caf['body'],{})[_0x0a9e('0x1f')](respondWithResult(_0xbe9d19,0xc9))['catch'](handleError(_0xbe9d19,null));};exports[_0x0a9e('0x1e')]=function(_0x476688,_0x8d6dd1){if(_0x476688['body']['id']){delete _0x476688[_0x0a9e('0x43')]['id'];}return db[_0x0a9e('0x27')][_0x0a9e('0x44')]({'where':{'id':_0x476688[_0x0a9e('0x40')]['id']}})[_0x0a9e('0x1f')](handleEntityNotFound(_0x8d6dd1,null))[_0x0a9e('0x1f')](saveUpdates(_0x476688[_0x0a9e('0x43')],null))['then'](respondWithResult(_0x8d6dd1,null))[_0x0a9e('0x3f')](handleError(_0x8d6dd1,null));};exports[_0x0a9e('0x20')]=function(_0x1b5e80,_0x16f976){return db[_0x0a9e('0x27')][_0x0a9e('0x44')]({'where':{'id':_0x1b5e80[_0x0a9e('0x40')]['id']}})[_0x0a9e('0x1f')](handleEntityNotFound(_0x16f976,null))[_0x0a9e('0x1f')](removeEntity(_0x16f976,null))['catch'](handleError(_0x16f976,null));}; \ No newline at end of file diff --git a/server/api/intServicenowField/intServicenowField.model.js b/server/api/intServicenowField/intServicenowField.model.js index fb43e9a..3dc3146 100644 --- a/server/api/intServicenowField/intServicenowField.model.js +++ b/server/api/intServicenowField/intServicenowField.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x86ae=['idField','../../config/logger','api','moment','request-promise','path','rimraf','../../config/environment','./intServicenowField.attributes','exports','define','ServicenowField','int_servicenow_fields'];(function(_0x7c0df1,_0x29be6b){var _0x5d0c75=function(_0x749074){while(--_0x749074){_0x7c0df1['push'](_0x7c0df1['shift']());}};_0x5d0c75(++_0x29be6b);}(_0x86ae,0x160));var _0xe86a=function(_0x557ffd,_0x35e670){_0x557ffd=_0x557ffd-0x0;var _0x30105c=_0x86ae[_0x557ffd];return _0x30105c;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0xe86a('0x0'))(_0xe86a('0x1'));var moment=require(_0xe86a('0x2'));var BPromise=require('bluebird');var rp=require(_0xe86a('0x3'));var fs=require('fs');var path=require(_0xe86a('0x4'));var rimraf=require(_0xe86a('0x5'));var config=require(_0xe86a('0x6'));var attributes=require(_0xe86a('0x7'));module[_0xe86a('0x8')]=function(_0x22b3e2,_0x299db8){return _0x22b3e2[_0xe86a('0x9')](_0xe86a('0xa'),attributes,{'tableName':_0xe86a('0xb'),'paranoid':![],'indexes':[{'name':'servicenow_unique_index','fields':[_0xe86a('0xc'),'FieldId'],'unique':!![]}],'timestamps':!![]});}; \ No newline at end of file +var _0x3be8=['int_servicenow_fields','servicenow_unique_index','idField','FieldId','lodash','util','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./intServicenowField.attributes','exports'];(function(_0xaf29da,_0x117f5a){var _0x295c51=function(_0x3feaf4){while(--_0x3feaf4){_0xaf29da['push'](_0xaf29da['shift']());}};_0x295c51(++_0x117f5a);}(_0x3be8,0x199));var _0x83be=function(_0x2b58f8,_0x14f865){_0x2b58f8=_0x2b58f8-0x0;var _0x2af05b=_0x3be8[_0x2b58f8];return _0x2af05b;};'use strict';var _=require(_0x83be('0x0'));var util=require(_0x83be('0x1'));var logger=require('../../config/logger')(_0x83be('0x2'));var moment=require(_0x83be('0x3'));var BPromise=require(_0x83be('0x4'));var rp=require(_0x83be('0x5'));var fs=require('fs');var path=require(_0x83be('0x6'));var rimraf=require(_0x83be('0x7'));var config=require(_0x83be('0x8'));var attributes=require(_0x83be('0x9'));module[_0x83be('0xa')]=function(_0x57e941,_0x8d665c){return _0x57e941['define']('ServicenowField',attributes,{'tableName':_0x83be('0xb'),'paranoid':![],'indexes':[{'name':_0x83be('0xc'),'fields':[_0x83be('0xd'),_0x83be('0xe')],'unique':!![]}],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/intServicenowField/intServicenowField.rpc.js b/server/api/intServicenowField/intServicenowField.rpc.js index ecaf15f..3959631 100644 --- a/server/api/intServicenowField/intServicenowField.rpc.js +++ b/server/api/intServicenowField/intServicenowField.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x32bb=['catch','lodash','moment','bluebird','randomstring','ioredis','../../mysqldb','../../config/logger','rpc','../../config/environment','jayson/promise','client','http','request','then','info','ServicenowField,\x20%s,\x20%s','request\x20sent','debug','ServicenowField,\x20%s,\x20%s,\x20%s','stringify','error','message'];(function(_0x51219c,_0x53566d){var _0x3d392b=function(_0x506cd0){while(--_0x506cd0){_0x51219c['push'](_0x51219c['shift']());}};_0x3d392b(++_0x53566d);}(_0x32bb,0x12c));var _0xb32b=function(_0x502953,_0x28de83){_0x502953=_0x502953-0x0;var _0x2fa32d=_0x32bb[_0x502953];return _0x2fa32d;};'use strict';var _=require(_0xb32b('0x0'));var util=require('util');var moment=require(_0xb32b('0x1'));var BPromise=require(_0xb32b('0x2'));var rs=require(_0xb32b('0x3'));var fs=require('fs');var Redis=require(_0xb32b('0x4'));var db=require(_0xb32b('0x5'))['db'];var utils=require('../../config/utils');var logger=require(_0xb32b('0x6'))(_0xb32b('0x7'));var config=require(_0xb32b('0x8'));var jayson=require(_0xb32b('0x9'));var client=jayson[_0xb32b('0xa')][_0xb32b('0xb')]({'port':0x232a});function respondWithRpcPromise(_0x57fde5,_0x249859,_0x491434){return new BPromise(function(_0x4558ba,_0x16c215){return client[_0xb32b('0xc')](_0x57fde5,_0x491434)[_0xb32b('0xd')](function(_0x4501f2){logger[_0xb32b('0xe')](_0xb32b('0xf'),_0x249859,_0xb32b('0x10'));logger[_0xb32b('0x11')](_0xb32b('0x12'),_0x249859,_0xb32b('0x10'),JSON[_0xb32b('0x13')](_0x4501f2));if(_0x4501f2['error']){if(_0x4501f2[_0xb32b('0x14')]['code']===0x1f4){logger[_0xb32b('0x14')]('ServicenowField,\x20%s,\x20%s',_0x249859,_0x4501f2[_0xb32b('0x14')][_0xb32b('0x15')]);return _0x16c215(_0x4501f2[_0xb32b('0x14')][_0xb32b('0x15')]);}logger[_0xb32b('0x14')]('ServicenowField,\x20%s,\x20%s',_0x249859,_0x4501f2[_0xb32b('0x14')]['message']);return _0x4558ba(_0x4501f2['error'][_0xb32b('0x15')]);}else{logger[_0xb32b('0xe')](_0xb32b('0xf'),_0x249859,_0xb32b('0x10'));_0x4558ba(_0x4501f2['result'][_0xb32b('0x15')]);}})[_0xb32b('0x16')](function(_0x44b136){logger[_0xb32b('0x14')]('ServicenowField,\x20%s,\x20%s',_0x249859,_0x44b136);_0x16c215(_0x44b136);});});} \ No newline at end of file +var _0xe8b9=['debug','stringify','error','message','info','result','catch','util','moment','bluebird','../../config/utils','../../config/logger','../../config/environment','jayson/promise','request','ServicenowField,\x20%s,\x20%s','request\x20sent'];(function(_0x5b11f6,_0x4f5ddc){var _0x250d04=function(_0x2627d6){while(--_0x2627d6){_0x5b11f6['push'](_0x5b11f6['shift']());}};_0x250d04(++_0x4f5ddc);}(_0xe8b9,0x7e));var _0x9e8b=function(_0x5e1bbe,_0x357d56){_0x5e1bbe=_0x5e1bbe-0x0;var _0x1e2a4b=_0xe8b9[_0x5e1bbe];return _0x1e2a4b;};'use strict';var _=require('lodash');var util=require(_0x9e8b('0x0'));var moment=require(_0x9e8b('0x1'));var BPromise=require(_0x9e8b('0x2'));var rs=require('randomstring');var fs=require('fs');var Redis=require('ioredis');var db=require('../../mysqldb')['db'];var utils=require(_0x9e8b('0x3'));var logger=require(_0x9e8b('0x4'))('rpc');var config=require(_0x9e8b('0x5'));var jayson=require(_0x9e8b('0x6'));var client=jayson['client']['http']({'port':0x232a});function respondWithRpcPromise(_0x5ad2af,_0x2b58c2,_0x1a6830){return new BPromise(function(_0xac3ef3,_0x51beac){return client[_0x9e8b('0x7')](_0x5ad2af,_0x1a6830)['then'](function(_0x867c05){logger['info'](_0x9e8b('0x8'),_0x2b58c2,_0x9e8b('0x9'));logger[_0x9e8b('0xa')]('ServicenowField,\x20%s,\x20%s,\x20%s',_0x2b58c2,'request\x20sent',JSON[_0x9e8b('0xb')](_0x867c05));if(_0x867c05[_0x9e8b('0xc')]){if(_0x867c05[_0x9e8b('0xc')]['code']===0x1f4){logger['error']('ServicenowField,\x20%s,\x20%s',_0x2b58c2,_0x867c05[_0x9e8b('0xc')][_0x9e8b('0xd')]);return _0x51beac(_0x867c05[_0x9e8b('0xc')]['message']);}logger[_0x9e8b('0xc')](_0x9e8b('0x8'),_0x2b58c2,_0x867c05['error'][_0x9e8b('0xd')]);return _0xac3ef3(_0x867c05[_0x9e8b('0xc')][_0x9e8b('0xd')]);}else{logger[_0x9e8b('0xe')](_0x9e8b('0x8'),_0x2b58c2,_0x9e8b('0x9'));_0xac3ef3(_0x867c05[_0x9e8b('0xf')][_0x9e8b('0xd')]);}})[_0x9e8b('0x10')](function(_0x2547f6){logger[_0x9e8b('0xc')]('ServicenowField,\x20%s,\x20%s',_0x2b58c2,_0x2547f6);_0x51beac(_0x2547f6);});});} \ No newline at end of file diff --git a/server/api/intSugarcrmAccount/index.js b/server/api/intSugarcrmAccount/index.js index 6e4af4a..0d6c2a6 100644 --- a/server/api/intSugarcrmAccount/index.js +++ b/server/api/intSugarcrmAccount/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xf631=['show','/:id/configurations','getConfigurations','getFields','post','create','put','update','delete','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','isAuthenticated','index','get','/:id'];(function(_0x1ea4b2,_0x55b41b){var _0x2206e8=function(_0x6c7a51){while(--_0x6c7a51){_0x1ea4b2['push'](_0x1ea4b2['shift']());}};_0x2206e8(++_0x55b41b);}(_0xf631,0xf0));var _0x1f63=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xf631[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require(_0x1f63('0x0'));var util=require(_0x1f63('0x1'));var path=require(_0x1f63('0x2'));var timeout=require(_0x1f63('0x3'));var express=require(_0x1f63('0x4'));var router=express[_0x1f63('0x5')]();var auth=require(_0x1f63('0x6'));var interaction=require(_0x1f63('0x7'));var config=require(_0x1f63('0x8'));var controller=require('./intSugarcrmAccount.controller');router['get']('/',auth[_0x1f63('0x9')](),controller[_0x1f63('0xa')]);router[_0x1f63('0xb')](_0x1f63('0xc'),auth[_0x1f63('0x9')](),controller[_0x1f63('0xd')]);router[_0x1f63('0xb')](_0x1f63('0xe'),auth['isAuthenticated'](),controller[_0x1f63('0xf')]);router[_0x1f63('0xb')]('/:id/fields',auth[_0x1f63('0x9')](),controller[_0x1f63('0x10')]);router[_0x1f63('0x11')]('/',auth[_0x1f63('0x9')](),controller[_0x1f63('0x12')]);router[_0x1f63('0x11')]('/:id/configurations',auth['isAuthenticated'](),controller['addConfiguration']);router[_0x1f63('0x13')](_0x1f63('0xc'),auth[_0x1f63('0x9')](),controller[_0x1f63('0x14')]);router[_0x1f63('0x15')](_0x1f63('0xc'),auth['isAuthenticated'](),controller['destroy']);module[_0x1f63('0x16')]=router; \ No newline at end of file +var _0x25ed=['put','update','delete','destroy','multer','util','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./intSugarcrmAccount.controller','get','isAuthenticated','index','/:id','/:id/configurations','getConfigurations','/:id/fields','post','addConfiguration'];(function(_0x50007c,_0x1cbf11){var _0x5c1ec7=function(_0x52d038){while(--_0x52d038){_0x50007c['push'](_0x50007c['shift']());}};_0x5c1ec7(++_0x1cbf11);}(_0x25ed,0x1e7));var _0xd25e=function(_0x41c381,_0x1176bd){_0x41c381=_0x41c381-0x0;var _0x427981=_0x25ed[_0x41c381];return _0x427981;};'use strict';var multer=require(_0xd25e('0x0'));var util=require(_0xd25e('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0xd25e('0x2'));var router=express[_0xd25e('0x3')]();var auth=require(_0xd25e('0x4'));var interaction=require(_0xd25e('0x5'));var config=require(_0xd25e('0x6'));var controller=require(_0xd25e('0x7'));router[_0xd25e('0x8')]('/',auth[_0xd25e('0x9')](),controller[_0xd25e('0xa')]);router[_0xd25e('0x8')](_0xd25e('0xb'),auth[_0xd25e('0x9')](),controller['show']);router[_0xd25e('0x8')](_0xd25e('0xc'),auth[_0xd25e('0x9')](),controller[_0xd25e('0xd')]);router[_0xd25e('0x8')](_0xd25e('0xe'),auth['isAuthenticated'](),controller['getFields']);router[_0xd25e('0xf')]('/',auth['isAuthenticated'](),controller['create']);router['post'](_0xd25e('0xc'),auth['isAuthenticated'](),controller[_0xd25e('0x10')]);router[_0xd25e('0x11')](_0xd25e('0xb'),auth[_0xd25e('0x9')](),controller[_0xd25e('0x12')]);router[_0xd25e('0x13')](_0xd25e('0xb'),auth[_0xd25e('0x9')](),controller[_0xd25e('0x14')]);module['exports']=router; \ No newline at end of file diff --git a/server/api/intSugarcrmAccount/intSugarcrmAccount.attributes.js b/server/api/intSugarcrmAccount/intSugarcrmAccount.attributes.js index c17ea10..e276f82 100644 --- a/server/api/intSugarcrmAccount/intSugarcrmAccount.attributes.js +++ b/server/api/intSugarcrmAccount/intSugarcrmAccount.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x06b2=['exports','STRING','remoteUri','sequelize'];(function(_0x1ff05f,_0x2b4334){var _0x15eb34=function(_0x81c889){while(--_0x81c889){_0x1ff05f['push'](_0x1ff05f['shift']());}};_0x15eb34(++_0x2b4334);}(_0x06b2,0x8b));var _0x206b=function(_0x190099,_0x54e7bd){_0x190099=_0x190099-0x0;var _0x47c8ad=_0x06b2[_0x190099];return _0x47c8ad;};'use strict';var Sequelize=require(_0x206b('0x0'));module[_0x206b('0x1')]={'name':{'type':Sequelize['STRING']},'description':{'type':Sequelize[_0x206b('0x2')]},'username':{'type':Sequelize[_0x206b('0x2')],'unique':'username'},'password':{'type':Sequelize[_0x206b('0x2')]},'remoteUri':{'type':Sequelize[_0x206b('0x2')],'unique':_0x206b('0x3')},'serverUrl':{'type':Sequelize[_0x206b('0x2')]}}; \ No newline at end of file +var _0x7756=['username','remoteUri','STRING'];(function(_0x43e293,_0x4e86f3){var _0x3a95b9=function(_0x233d3c){while(--_0x233d3c){_0x43e293['push'](_0x43e293['shift']());}};_0x3a95b9(++_0x4e86f3);}(_0x7756,0x131));var _0x6775=function(_0x37d511,_0xae7522){_0x37d511=_0x37d511-0x0;var _0x1b7e1f=_0x7756[_0x37d511];return _0x1b7e1f;};'use strict';var Sequelize=require('sequelize');module['exports']={'name':{'type':Sequelize[_0x6775('0x0')]},'description':{'type':Sequelize[_0x6775('0x0')]},'username':{'type':Sequelize[_0x6775('0x0')],'unique':_0x6775('0x1')},'password':{'type':Sequelize[_0x6775('0x0')]},'remoteUri':{'type':Sequelize[_0x6775('0x0')],'unique':_0x6775('0x2')},'serverUrl':{'type':Sequelize[_0x6775('0x0')]}}; \ No newline at end of file diff --git a/server/api/intSugarcrmAccount/intSugarcrmAccount.controller.js b/server/api/intSugarcrmAccount/intSugarcrmAccount.controller.js index 3da4ff2..de39172 100644 --- a/server/api/intSugarcrmAccount/intSugarcrmAccount.controller.js +++ b/server/api/intSugarcrmAccount/intSugarcrmAccount.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xa473=['endsWith','value','getFields,\x20%s,\x20%s,\x20%s','Wrong\x20credentials','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','bluebird','mustache','sox','to-csv','ejs','lodash','squel','crypto','jsforce','querystring','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','api','../../config/utils','../../config/environment','../../mysqldb','../../components/integrations/configuration','jayson/promise','client','http','test','Sequelize','ValidationError','The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.','request','then','SugarcrmAccount,\x20%s,\x20%s','request\x20sent','debug','SugarcrmAccount,\x20%s,\x20%s,\x20%s','stringify','error','code','message','info','catch','sendStatus','end','status','json','count','offset','limit','set','Content-Range','apply','reject','save','update','destroy','stack','name','send','index','SugarcrmAccount','rawAttributes','fieldName','key','model','map','keys','query','filters','attributes','fields','length','hasOwnProperty','nolimit','sort','where','pick','merge','VIRTUAL','filter','options','include','findAll','rows','show','params','intersection','includeAll','find','create','body','findOne','SugarcrmConfiguration','order','getConfigurations','addConfiguration','AccountId','getSubjects','channel','type','Descriptions','getDescriptions','SugarcrmField','getFields','description','date_start','duration_hours','parent_id','parent_type','direction','password','remoteUri','slice','substring','lastIndexOf','POST','format','%s%s','JSON','username','PLAIN','Invalid\x20Login','Password\x20Expired','/service/v4_1/rest.php','get_module_fields','values','module_fields','remove','includes','label'];(function(_0x3bd7ac,_0x20a97b){var _0x20375b=function(_0x5f3d9f){while(--_0x5f3d9f){_0x3bd7ac['push'](_0x3bd7ac['shift']());}};_0x20375b(++_0x20a97b);}(_0xa473,0x8b));var _0x3a47=function(_0x43d2d8,_0x84f573){_0x43d2d8=_0x43d2d8-0x0;var _0x312f63=_0xa473[_0x43d2d8];return _0x312f63;};'use strict';var pdf=require('html-pdf');var emlformat=require(_0x3a47('0x0'));var rimraf=require(_0x3a47('0x1'));var zipdir=require(_0x3a47('0x2'));var jsonpatch=require(_0x3a47('0x3'));var rp=require(_0x3a47('0x4'));var moment=require('moment');var BPromise=require(_0x3a47('0x5'));var Mustache=require(_0x3a47('0x6'));var util=require('util');var path=require('path');var sox=require(_0x3a47('0x7'));var csv=require(_0x3a47('0x8'));var ejs=require(_0x3a47('0x9'));var fs=require('fs');var _=require(_0x3a47('0xa'));var squel=require(_0x3a47('0xb'));var crypto=require(_0x3a47('0xc'));var jsforce=require(_0x3a47('0xd'));var deskjs=require('desk.js');var toCsv=require(_0x3a47('0x8'));var querystring=require(_0x3a47('0xe'));var Papa=require('papaparse');var Redis=require(_0x3a47('0xf'));var authService=require(_0x3a47('0x10'));var qs=require(_0x3a47('0x11'));var as=require(_0x3a47('0x12'));var hardwareService=require('../../config/license/hardware');var logger=require('../../config/logger')(_0x3a47('0x13'));var utils=require(_0x3a47('0x14'));var config=require(_0x3a47('0x15'));var db=require(_0x3a47('0x16'))['db'];var integrations=require(_0x3a47('0x17'));var jayson=require(_0x3a47('0x18'));var client=jayson[_0x3a47('0x19')][_0x3a47('0x1a')]({'port':0x232a});function checkPasswordPattern(_0x3720b2,_0x526ff0,_0x451069){if(_0x451069){var _0x3a1ec2=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0x3a1ec2[_0x3a47('0x1b')](_0x526ff0)){return _0x3720b2;}else{throw new db[(_0x3a47('0x1c'))][(_0x3a47('0x1d'))](_0x3a47('0x1e'));}}else{return _0x3720b2;}}function respondWithRpcPromise(_0xf6c608,_0x22f342,_0x1d9246,_0x2f0303){return new BPromise(function(_0x26fcbb,_0x201237){var _0xe71c23=_0x2f0303||client;return _0xe71c23[_0x3a47('0x1f')](_0xf6c608,_0x1d9246)[_0x3a47('0x20')](function(_0xe7f28c){logger['info'](_0x3a47('0x21'),_0x22f342,_0x3a47('0x22'));logger[_0x3a47('0x23')](_0x3a47('0x24'),_0x22f342,_0x3a47('0x22'),JSON[_0x3a47('0x25')](_0xe7f28c));if(_0xe7f28c['error']){if(_0xe7f28c[_0x3a47('0x26')][_0x3a47('0x27')]===0x1f4){logger[_0x3a47('0x26')](_0x3a47('0x21'),_0x22f342,_0xe7f28c[_0x3a47('0x26')]['message']);return _0x201237(_0xe7f28c[_0x3a47('0x26')][_0x3a47('0x28')]);}logger[_0x3a47('0x26')](_0x3a47('0x21'),_0x22f342,_0xe7f28c[_0x3a47('0x26')]['message']);return _0x26fcbb(_0xe7f28c[_0x3a47('0x26')][_0x3a47('0x28')]);}else{logger[_0x3a47('0x29')](_0x3a47('0x21'),_0x22f342,_0x3a47('0x22'));_0x26fcbb(_0xe7f28c['result'][_0x3a47('0x28')]);}})[_0x3a47('0x2a')](function(_0x20c876){logger[_0x3a47('0x26')](_0x3a47('0x21'),_0x22f342,_0x20c876);_0x201237(_0x20c876);});});}function respondWithStatusCode(_0x278192,_0x56d6ed){_0x56d6ed=_0x56d6ed||0xcc;return function(_0x219546){if(_0x219546){return _0x278192[_0x3a47('0x2b')](_0x56d6ed);}return _0x278192['status'](_0x56d6ed)[_0x3a47('0x2c')]();};}function respondWithResult(_0x3562ea,_0x1b02d9){_0x1b02d9=_0x1b02d9||0xc8;return function(_0x5572f3){if(_0x5572f3){return _0x3562ea[_0x3a47('0x2d')](_0x1b02d9)[_0x3a47('0x2e')](_0x5572f3);}};}function respondWithFilteredResult(_0x329fc8,_0x51f091){return function(_0x2fa621){if(_0x2fa621){var _0x311eda=_0x2fa621[_0x3a47('0x2f')],_0x4b3423=_0x51f091['offset'],_0xf70d7f=_0x51f091[_0x3a47('0x30')]+_0x51f091[_0x3a47('0x31')],_0x258933;if(_0xf70d7f>=_0x311eda){_0xf70d7f=_0x311eda;_0x258933=0xc8;}else{_0x258933=0xce;}_0x329fc8['status'](_0x258933);return _0x329fc8[_0x3a47('0x32')](_0x3a47('0x33'),_0x4b3423+'-'+_0xf70d7f+'/'+_0x311eda)[_0x3a47('0x2e')](_0x2fa621);}return null;};}function patchUpdates(_0x50c39e){return function(_0x46c667){try{jsonpatch[_0x3a47('0x34')](_0x46c667,_0x50c39e,!![]);}catch(_0x27f2b2){return BPromise[_0x3a47('0x35')](_0x27f2b2);}return _0x46c667[_0x3a47('0x36')]();};}function saveUpdates(_0x418ffc,_0x28ed74){return function(_0x1f3411){if(_0x1f3411){return _0x1f3411[_0x3a47('0x37')](_0x418ffc)['then'](function(_0x104342){return _0x104342;});}return null;};}function removeEntity(_0x1a2c42,_0x49ec6f){return function(_0x3d6053){if(_0x3d6053){return _0x3d6053[_0x3a47('0x38')]()[_0x3a47('0x20')](function(){_0x1a2c42[_0x3a47('0x2d')](0xcc)[_0x3a47('0x2c')]();});}};}function handleEntityNotFound(_0x44bf3d,_0x60b30b){return function(_0x232f17){if(!_0x232f17){_0x44bf3d[_0x3a47('0x2b')](0x194);}return _0x232f17;};}function handleError(_0x4c5fa0,_0x4b103e){_0x4b103e=_0x4b103e||0x1f4;return function(_0x2fb827){logger[_0x3a47('0x26')](_0x2fb827[_0x3a47('0x39')]);if(_0x2fb827[_0x3a47('0x3a')]){delete _0x2fb827[_0x3a47('0x3a')];}_0x4c5fa0[_0x3a47('0x2d')](_0x4b103e)[_0x3a47('0x3b')](_0x2fb827);};}exports[_0x3a47('0x3c')]=function(_0x115578,_0x3aaf85){var _0x4941d2={},_0x3a7ca8={},_0x5bbcfa={'count':0x0,'rows':[]};var _0x55baa4=_['map'](db[_0x3a47('0x3d')][_0x3a47('0x3e')],function(_0x45c1d7){return{'name':_0x45c1d7[_0x3a47('0x3f')],'type':_0x45c1d7['type'][_0x3a47('0x40')]};});_0x3a7ca8[_0x3a47('0x41')]=_[_0x3a47('0x42')](_0x55baa4,_0x3a47('0x3a'));_0x3a7ca8['query']=_[_0x3a47('0x43')](_0x115578[_0x3a47('0x44')]);_0x3a7ca8[_0x3a47('0x45')]=_['intersection'](_0x3a7ca8[_0x3a47('0x41')],_0x3a7ca8[_0x3a47('0x44')]);_0x4941d2[_0x3a47('0x46')]=_['intersection'](_0x3a7ca8[_0x3a47('0x41')],qs[_0x3a47('0x47')](_0x115578[_0x3a47('0x44')][_0x3a47('0x47')]));_0x4941d2[_0x3a47('0x46')]=_0x4941d2['attributes'][_0x3a47('0x48')]?_0x4941d2[_0x3a47('0x46')]:_0x3a7ca8[_0x3a47('0x41')];if(!_0x115578[_0x3a47('0x44')][_0x3a47('0x49')](_0x3a47('0x4a'))){_0x4941d2[_0x3a47('0x31')]=qs[_0x3a47('0x31')](_0x115578[_0x3a47('0x44')][_0x3a47('0x31')]);_0x4941d2[_0x3a47('0x30')]=qs[_0x3a47('0x30')](_0x115578['query'][_0x3a47('0x30')]);}_0x4941d2['order']=qs[_0x3a47('0x4b')](_0x115578[_0x3a47('0x44')][_0x3a47('0x4b')]);_0x4941d2[_0x3a47('0x4c')]=qs[_0x3a47('0x45')](_[_0x3a47('0x4d')](_0x115578[_0x3a47('0x44')],_0x3a7ca8[_0x3a47('0x45')]),_0x55baa4);if(_0x115578[_0x3a47('0x44')]['filter']){_0x4941d2[_0x3a47('0x4c')]=_[_0x3a47('0x4e')](_0x4941d2[_0x3a47('0x4c')],{'$or':_[_0x3a47('0x42')](_0x55baa4,function(_0x2c2151){if(_0x2c2151['type']!==_0x3a47('0x4f')){var _0x2099ce={};_0x2099ce[_0x2c2151[_0x3a47('0x3a')]]={'$like':'%'+_0x115578[_0x3a47('0x44')][_0x3a47('0x50')]+'%'};return _0x2099ce;}})});}_0x4941d2=_[_0x3a47('0x4e')]({},_0x4941d2,_0x115578[_0x3a47('0x51')]);var _0xb826f0={'where':_0x4941d2['where']};return db[_0x3a47('0x3d')]['count'](_0xb826f0)[_0x3a47('0x20')](function(_0x54bea7){_0x5bbcfa[_0x3a47('0x2f')]=_0x54bea7;if(_0x115578['query']['includeAll']){_0x4941d2[_0x3a47('0x52')]=[{'all':!![]}];}return db[_0x3a47('0x3d')][_0x3a47('0x53')](_0x4941d2);})[_0x3a47('0x20')](function(_0x3d7468){_0x5bbcfa[_0x3a47('0x54')]=_0x3d7468;return _0x5bbcfa;})[_0x3a47('0x20')](respondWithFilteredResult(_0x3aaf85,_0x4941d2))[_0x3a47('0x2a')](handleError(_0x3aaf85,null));};exports[_0x3a47('0x55')]=function(_0x2db687,_0x2b5527){var _0x441742={'raw':![],'where':{'id':_0x2db687[_0x3a47('0x56')]['id']}},_0x47493b={};_0x47493b[_0x3a47('0x41')]=_[_0x3a47('0x43')](db[_0x3a47('0x3d')][_0x3a47('0x3e')]);_0x47493b[_0x3a47('0x44')]=_[_0x3a47('0x43')](_0x2db687[_0x3a47('0x44')]);_0x47493b[_0x3a47('0x45')]=_['intersection'](_0x47493b[_0x3a47('0x41')],_0x47493b[_0x3a47('0x44')]);_0x441742[_0x3a47('0x46')]=_[_0x3a47('0x57')](_0x47493b[_0x3a47('0x41')],qs[_0x3a47('0x47')](_0x2db687[_0x3a47('0x44')][_0x3a47('0x47')]));_0x441742['attributes']=_0x441742[_0x3a47('0x46')][_0x3a47('0x48')]?_0x441742[_0x3a47('0x46')]:_0x47493b['model'];if(_0x2db687[_0x3a47('0x44')][_0x3a47('0x58')]){_0x441742['include']=[{'all':!![]}];}_0x441742=_[_0x3a47('0x4e')]({},_0x441742,_0x2db687['options']);return db[_0x3a47('0x3d')][_0x3a47('0x59')](_0x441742)[_0x3a47('0x20')](handleEntityNotFound(_0x2b5527,null))[_0x3a47('0x20')](respondWithResult(_0x2b5527,null))[_0x3a47('0x2a')](handleError(_0x2b5527,null));};exports[_0x3a47('0x5a')]=function(_0x1fd3df,_0x15db5e){return db[_0x3a47('0x3d')][_0x3a47('0x5a')](_0x1fd3df[_0x3a47('0x5b')],{})[_0x3a47('0x20')](respondWithResult(_0x15db5e,0xc9))[_0x3a47('0x2a')](handleError(_0x15db5e,null));};exports[_0x3a47('0x37')]=function(_0x2f3b6f,_0x4e214a){if(_0x2f3b6f[_0x3a47('0x5b')]['id']){delete _0x2f3b6f[_0x3a47('0x5b')]['id'];}return db[_0x3a47('0x3d')][_0x3a47('0x59')]({'where':{'id':_0x2f3b6f[_0x3a47('0x56')]['id']}})[_0x3a47('0x20')](handleEntityNotFound(_0x4e214a,null))[_0x3a47('0x20')](saveUpdates(_0x2f3b6f['body'],null))[_0x3a47('0x20')](respondWithResult(_0x4e214a,null))[_0x3a47('0x2a')](handleError(_0x4e214a,null));};exports[_0x3a47('0x38')]=function(_0xfde029,_0x205cee){return db['SugarcrmAccount'][_0x3a47('0x59')]({'where':{'id':_0xfde029['params']['id']}})[_0x3a47('0x20')](handleEntityNotFound(_0x205cee,null))[_0x3a47('0x20')](removeEntity(_0x205cee,null))[_0x3a47('0x2a')](handleError(_0x205cee,null));};exports['getConfigurations']=function(_0x1e52cb,_0x25e0ca,_0x506b4f){var _0x2bc695={};var _0x263c33={};var _0x57c42a;var _0x29d35d;return db[_0x3a47('0x3d')][_0x3a47('0x5c')]({'where':{'id':_0x1e52cb[_0x3a47('0x56')]['id']}})[_0x3a47('0x20')](handleEntityNotFound(_0x25e0ca,null))[_0x3a47('0x20')](function(_0x34321c){if(_0x34321c){_0x57c42a=_0x34321c;_0x263c33[_0x3a47('0x41')]=_['keys'](db[_0x3a47('0x5d')]['rawAttributes']);_0x263c33[_0x3a47('0x44')]=_[_0x3a47('0x43')](_0x1e52cb[_0x3a47('0x44')]);_0x263c33[_0x3a47('0x45')]=_[_0x3a47('0x57')](_0x263c33[_0x3a47('0x41')],_0x263c33[_0x3a47('0x44')]);_0x2bc695[_0x3a47('0x46')]=_['intersection'](_0x263c33[_0x3a47('0x41')],qs[_0x3a47('0x47')](_0x1e52cb[_0x3a47('0x44')][_0x3a47('0x47')]));_0x2bc695[_0x3a47('0x46')]=_0x2bc695[_0x3a47('0x46')][_0x3a47('0x48')]?_0x2bc695[_0x3a47('0x46')]:_0x263c33[_0x3a47('0x41')];_0x2bc695[_0x3a47('0x5e')]=qs[_0x3a47('0x4b')](_0x1e52cb[_0x3a47('0x44')][_0x3a47('0x4b')]);_0x2bc695['where']=qs['filters'](_[_0x3a47('0x4d')](_0x1e52cb[_0x3a47('0x44')],_0x263c33[_0x3a47('0x45')]));if(_0x1e52cb[_0x3a47('0x44')][_0x3a47('0x50')]){_0x2bc695[_0x3a47('0x4c')]=_[_0x3a47('0x4e')](_0x2bc695[_0x3a47('0x4c')],{'$or':_['map'](_0x2bc695[_0x3a47('0x46')],function(_0x119f58){var _0x3d1de6={};_0x3d1de6[_0x119f58]={'$like':'%'+_0x1e52cb[_0x3a47('0x44')][_0x3a47('0x50')]+'%'};return _0x3d1de6;})});}_0x2bc695=_[_0x3a47('0x4e')]({},_0x2bc695,_0x1e52cb[_0x3a47('0x51')]);return _0x57c42a[_0x3a47('0x5f')](_0x2bc695);}})[_0x3a47('0x20')](function(_0x4e1cdb){if(_0x4e1cdb){_0x29d35d=_0x4e1cdb[_0x3a47('0x48')];if(!_0x1e52cb[_0x3a47('0x44')][_0x3a47('0x49')](_0x3a47('0x4a'))){_0x2bc695['limit']=qs[_0x3a47('0x31')](_0x1e52cb[_0x3a47('0x44')][_0x3a47('0x31')]);_0x2bc695['offset']=qs[_0x3a47('0x30')](_0x1e52cb[_0x3a47('0x44')]['offset']);}return _0x57c42a[_0x3a47('0x5f')](_0x2bc695);}})[_0x3a47('0x20')](function(_0x15608c){if(_0x15608c){return _0x15608c?{'count':_0x29d35d,'rows':_0x15608c}:null;}})[_0x3a47('0x20')](respondWithResult(_0x25e0ca,null))['catch'](handleError(_0x25e0ca,null));};exports[_0x3a47('0x60')]=function(_0x4e0d59,_0x2f3dd0,_0x452388){if(_0x4e0d59[_0x3a47('0x5b')]['id']){delete _0x4e0d59['body']['id'];}return db[_0x3a47('0x3d')]['findOne']({'where':{'id':_0x4e0d59['params']['id']}})[_0x3a47('0x20')](handleEntityNotFound(_0x2f3dd0,null))['then'](function(_0x8c4f43){if(_0x8c4f43){_0x4e0d59['body'][_0x3a47('0x61')]=_0x8c4f43['id'];_0x4e0d59[_0x3a47('0x5b')]['Subjects']=integrations[_0x3a47('0x62')](_0x4e0d59[_0x3a47('0x5b')][_0x3a47('0x63')],_0x4e0d59[_0x3a47('0x5b')][_0x3a47('0x64')]);_0x4e0d59[_0x3a47('0x5b')][_0x3a47('0x65')]=integrations[_0x3a47('0x66')](_0x4e0d59['body'][_0x3a47('0x63')],_0x4e0d59[_0x3a47('0x5b')]['type']);return db[_0x3a47('0x5d')][_0x3a47('0x5a')](_0x4e0d59[_0x3a47('0x5b')],{'include':[{'model':db[_0x3a47('0x67')],'as':'Subjects'},{'model':db[_0x3a47('0x67')],'as':_0x3a47('0x65')}]});}return null;})[_0x3a47('0x20')](respondWithResult(_0x2f3dd0,null))[_0x3a47('0x2a')](handleError(_0x2f3dd0,null));};exports[_0x3a47('0x68')]=function(_0x215137,_0x18dc5a,_0x11ea3c){var _0x26a13d='';var _0x30e26d=['id','name','assigned_user_id','created_by',_0x3a47('0x69'),_0x3a47('0x6a'),_0x3a47('0x6b'),'duration_minutes',_0x3a47('0x6c'),_0x3a47('0x6d'),'parent_name',_0x3a47('0x6e')];return db[_0x3a47('0x3d')][_0x3a47('0x5c')]({'where':{'id':_0x215137['params']['id']},'attributes':['id','username',_0x3a47('0x6f'),'remoteUri']})[_0x3a47('0x20')](handleEntityNotFound(_0x18dc5a,null))['then'](function(_0x4f9ad7){if(_0x4f9ad7){_0x26a13d=_0x4f9ad7[_0x3a47('0x70')];var _0xd715af=_0x26a13d[_0x3a47('0x71')](-0x1);if(_0xd715af==='/'){_0x26a13d=_0x26a13d[_0x3a47('0x72')](0x0,_0x26a13d[_0x3a47('0x73')](_0xd715af));}return rp({'method':_0x3a47('0x74'),'uri':util[_0x3a47('0x75')](_0x3a47('0x76'),_0x26a13d,'/service/v4_1/rest.php'),'json':!![],'form':{'method':'login','input_type':'JSON','response_type':_0x3a47('0x77'),'rest_data':JSON['stringify']({'user_auth':{'user_name':_0x4f9ad7[_0x3a47('0x78')],'password':_0x4f9ad7[_0x3a47('0x6f')],'encryption':_0x3a47('0x79')},'application':'xCALLY\x20Motion\x20Integration'})}});}})[_0x3a47('0x20')](function(_0x1c1d55){if(_0x1c1d55&&_0x1c1d55[_0x3a47('0x3a')]!==_0x3a47('0x7a')&&_0x1c1d55[_0x3a47('0x3a')]!==_0x3a47('0x7b')){return rp({'method':_0x3a47('0x74'),'uri':util[_0x3a47('0x75')](_0x3a47('0x76'),_0x26a13d,_0x3a47('0x7c')),'json':!![],'form':{'method':_0x3a47('0x7d'),'input_type':_0x3a47('0x77'),'response_type':_0x3a47('0x77'),'rest_data':JSON[_0x3a47('0x25')]({'session':_0x1c1d55['id'],'module_name':'Calls'})}})[_0x3a47('0x20')](function(_0x2d02e0){if(_0x2d02e0){var _0x55664f=_[_0x3a47('0x7e')](_0x2d02e0[_0x3a47('0x7f')]);_[_0x3a47('0x80')](_0x55664f,function(_0x3874a1){return _0x30e26d[_0x3a47('0x81')](_0x3874a1[_0x3a47('0x3a')]);});return{'count':_0x55664f[_0x3a47('0x48')],'rows':_[_0x3a47('0x42')](_0x55664f,function(_0x1b8678){return{'id':_0x1b8678[_0x3a47('0x3a')],'name':_0x1b8678[_0x3a47('0x82')],'custom':_[_0x3a47('0x83')](_0x1b8678['name'],'_c')?!![]:![],'options':_0x1b8678[_0x3a47('0x51')]?_[_0x3a47('0x42')](_[_0x3a47('0x7e')](_0x1b8678[_0x3a47('0x51')]),function(_0x2cda89){return{'name':_0x2cda89[_0x3a47('0x84')],'value':_0x2cda89[_0x3a47('0x3a')]};}):[]};})};}})[_0x3a47('0x20')](respondWithResult(_0x18dc5a,null))[_0x3a47('0x2a')](function(_0x5659fa){var _0xadd01c=_0x215137[_0x3a47('0x44')][_0x3a47('0x1b')]?0x1f4:_0x5659fa['statusCode']||0x1f4;logger[_0x3a47('0x26')](_0x3a47('0x85'),_0x3a47('0x68'),_0xadd01c,JSON[_0x3a47('0x25')](_0x5659fa));delete _0x5659fa[_0x3a47('0x3a')];if(_0xadd01c===0x191){_0xadd01c=0x190;}_0x18dc5a[_0x3a47('0x2d')](_0xadd01c)['send'](_0x215137[_0x3a47('0x44')][_0x3a47('0x1b')]?{'message':'Wrong\x20credentials','statusCode':_0x5659fa['statusCode']}:_0x5659fa);});}else{var _0x7379e3=0x1f4;_0x18dc5a[_0x3a47('0x2d')](_0x7379e3)[_0x3a47('0x3b')]({'message':_0x3a47('0x86'),'statusCode':0x190});}});}; \ No newline at end of file +var _0x2ad0=['mustache','util','sox','ejs','squel','crypto','jsforce','desk.js','to-csv','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','jayson/promise','client','http','ValidationError','The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.','then','request\x20sent','debug','SugarcrmAccount,\x20%s,\x20%s,\x20%s','stringify','error','code','SugarcrmAccount,\x20%s,\x20%s','message','info','catch','sendStatus','status','end','json','count','offset','limit','apply','save','update','destroy','stack','name','send','index','SugarcrmAccount','type','model','map','query','keys','attributes','intersection','fields','nolimit','order','sort','where','pick','filter','merge','options','includeAll','include','rows','params','rawAttributes','filters','length','create','body','find','getConfigurations','findOne','SugarcrmConfiguration','hasOwnProperty','addConfiguration','AccountId','Subjects','getSubjects','channel','Descriptions','SugarcrmField','created_by','description','duration_hours','duration_minutes','parent_id','parent_type','parent_name','direction','username','remoteUri','slice','lastIndexOf','POST','format','/service/v4_1/rest.php','password','PLAIN','xCALLY\x20Motion\x20Integration','Password\x20Expired','%s%s','get_module_fields','JSON','Calls','values','module_fields','remove','includes','label','endsWith','value','statusCode','getFields','test','Wrong\x20credentials','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird'];(function(_0x465a22,_0x6bfa46){var _0x5ad9da=function(_0x527753){while(--_0x527753){_0x465a22['push'](_0x465a22['shift']());}};_0x5ad9da(++_0x6bfa46);}(_0x2ad0,0x7b));var _0x02ad=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0x2ad0[_0x14add3];return _0x4a174f;};'use strict';var pdf=require('html-pdf');var emlformat=require(_0x02ad('0x0'));var rimraf=require(_0x02ad('0x1'));var zipdir=require(_0x02ad('0x2'));var jsonpatch=require(_0x02ad('0x3'));var rp=require(_0x02ad('0x4'));var moment=require(_0x02ad('0x5'));var BPromise=require(_0x02ad('0x6'));var Mustache=require(_0x02ad('0x7'));var util=require(_0x02ad('0x8'));var path=require('path');var sox=require(_0x02ad('0x9'));var csv=require('to-csv');var ejs=require(_0x02ad('0xa'));var fs=require('fs');var _=require('lodash');var squel=require(_0x02ad('0xb'));var crypto=require(_0x02ad('0xc'));var jsforce=require(_0x02ad('0xd'));var deskjs=require(_0x02ad('0xe'));var toCsv=require(_0x02ad('0xf'));var querystring=require(_0x02ad('0x10'));var Papa=require(_0x02ad('0x11'));var Redis=require(_0x02ad('0x12'));var authService=require(_0x02ad('0x13'));var qs=require(_0x02ad('0x14'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0x02ad('0x15'));var logger=require(_0x02ad('0x16'))(_0x02ad('0x17'));var utils=require(_0x02ad('0x18'));var config=require(_0x02ad('0x19'));var db=require(_0x02ad('0x1a'))['db'];var integrations=require('../../components/integrations/configuration');var jayson=require(_0x02ad('0x1b'));var client=jayson[_0x02ad('0x1c')][_0x02ad('0x1d')]({'port':0x232a});function checkPasswordPattern(_0x5d5461,_0x577cfc,_0x5980dc){if(_0x5980dc){var _0x250863=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0x250863['test'](_0x577cfc)){return _0x5d5461;}else{throw new db['Sequelize'][(_0x02ad('0x1e'))](_0x02ad('0x1f'));}}else{return _0x5d5461;}}function respondWithRpcPromise(_0x1a504,_0x5bb382,_0x4a5c41,_0x2bbddb){return new BPromise(function(_0x41f68b,_0x2f1198){var _0x510935=_0x2bbddb||client;return _0x510935['request'](_0x1a504,_0x4a5c41)[_0x02ad('0x20')](function(_0x93c98b){logger['info']('SugarcrmAccount,\x20%s,\x20%s',_0x5bb382,_0x02ad('0x21'));logger[_0x02ad('0x22')](_0x02ad('0x23'),_0x5bb382,_0x02ad('0x21'),JSON[_0x02ad('0x24')](_0x93c98b));if(_0x93c98b[_0x02ad('0x25')]){if(_0x93c98b[_0x02ad('0x25')][_0x02ad('0x26')]===0x1f4){logger[_0x02ad('0x25')](_0x02ad('0x27'),_0x5bb382,_0x93c98b[_0x02ad('0x25')][_0x02ad('0x28')]);return _0x2f1198(_0x93c98b[_0x02ad('0x25')][_0x02ad('0x28')]);}logger[_0x02ad('0x25')]('SugarcrmAccount,\x20%s,\x20%s',_0x5bb382,_0x93c98b[_0x02ad('0x25')]['message']);return _0x41f68b(_0x93c98b['error'][_0x02ad('0x28')]);}else{logger[_0x02ad('0x29')]('SugarcrmAccount,\x20%s,\x20%s',_0x5bb382,'request\x20sent');_0x41f68b(_0x93c98b['result']['message']);}})[_0x02ad('0x2a')](function(_0x31ed50){logger['error'](_0x02ad('0x27'),_0x5bb382,_0x31ed50);_0x2f1198(_0x31ed50);});});}function respondWithStatusCode(_0x51cca6,_0x5545d9){_0x5545d9=_0x5545d9||0xcc;return function(_0x5cfe0e){if(_0x5cfe0e){return _0x51cca6[_0x02ad('0x2b')](_0x5545d9);}return _0x51cca6[_0x02ad('0x2c')](_0x5545d9)[_0x02ad('0x2d')]();};}function respondWithResult(_0x2f6cb5,_0x5d72cc){_0x5d72cc=_0x5d72cc||0xc8;return function(_0x21842c){if(_0x21842c){return _0x2f6cb5[_0x02ad('0x2c')](_0x5d72cc)[_0x02ad('0x2e')](_0x21842c);}};}function respondWithFilteredResult(_0x377a9b,_0x35acdf){return function(_0x74d09e){if(_0x74d09e){var _0x42ee9a=_0x74d09e[_0x02ad('0x2f')],_0xd26996=_0x35acdf['offset'],_0x2ebae8=_0x35acdf[_0x02ad('0x30')]+_0x35acdf[_0x02ad('0x31')],_0xb07770;if(_0x2ebae8>=_0x42ee9a){_0x2ebae8=_0x42ee9a;_0xb07770=0xc8;}else{_0xb07770=0xce;}_0x377a9b[_0x02ad('0x2c')](_0xb07770);return _0x377a9b['set']('Content-Range',_0xd26996+'-'+_0x2ebae8+'/'+_0x42ee9a)[_0x02ad('0x2e')](_0x74d09e);}return null;};}function patchUpdates(_0x4d7bb2){return function(_0x463654){try{jsonpatch[_0x02ad('0x32')](_0x463654,_0x4d7bb2,!![]);}catch(_0x50e97d){return BPromise['reject'](_0x50e97d);}return _0x463654[_0x02ad('0x33')]();};}function saveUpdates(_0x329703,_0x304e1e){return function(_0x50cb56){if(_0x50cb56){return _0x50cb56[_0x02ad('0x34')](_0x329703)[_0x02ad('0x20')](function(_0x256e03){return _0x256e03;});}return null;};}function removeEntity(_0x59d5de,_0x3a88c4){return function(_0x3d90ae){if(_0x3d90ae){return _0x3d90ae[_0x02ad('0x35')]()[_0x02ad('0x20')](function(){_0x59d5de[_0x02ad('0x2c')](0xcc)[_0x02ad('0x2d')]();});}};}function handleEntityNotFound(_0x5159c2,_0x2335a6){return function(_0x1e4c3f){if(!_0x1e4c3f){_0x5159c2[_0x02ad('0x2b')](0x194);}return _0x1e4c3f;};}function handleError(_0x20add0,_0x246fcf){_0x246fcf=_0x246fcf||0x1f4;return function(_0x537b3b){logger['error'](_0x537b3b[_0x02ad('0x36')]);if(_0x537b3b[_0x02ad('0x37')]){delete _0x537b3b['name'];}_0x20add0['status'](_0x246fcf)[_0x02ad('0x38')](_0x537b3b);};}exports[_0x02ad('0x39')]=function(_0x4b02fa,_0x4c8101){var _0x197969={},_0x3b4e75={},_0x23f0bd={'count':0x0,'rows':[]};var _0x64b760=_['map'](db[_0x02ad('0x3a')]['rawAttributes'],function(_0x576e88){return{'name':_0x576e88['fieldName'],'type':_0x576e88[_0x02ad('0x3b')]['key']};});_0x3b4e75[_0x02ad('0x3c')]=_[_0x02ad('0x3d')](_0x64b760,_0x02ad('0x37'));_0x3b4e75[_0x02ad('0x3e')]=_[_0x02ad('0x3f')](_0x4b02fa['query']);_0x3b4e75['filters']=_['intersection'](_0x3b4e75[_0x02ad('0x3c')],_0x3b4e75[_0x02ad('0x3e')]);_0x197969[_0x02ad('0x40')]=_[_0x02ad('0x41')](_0x3b4e75['model'],qs['fields'](_0x4b02fa['query'][_0x02ad('0x42')]));_0x197969[_0x02ad('0x40')]=_0x197969['attributes']['length']?_0x197969[_0x02ad('0x40')]:_0x3b4e75[_0x02ad('0x3c')];if(!_0x4b02fa['query']['hasOwnProperty'](_0x02ad('0x43'))){_0x197969['limit']=qs[_0x02ad('0x31')](_0x4b02fa[_0x02ad('0x3e')]['limit']);_0x197969[_0x02ad('0x30')]=qs['offset'](_0x4b02fa[_0x02ad('0x3e')]['offset']);}_0x197969[_0x02ad('0x44')]=qs[_0x02ad('0x45')](_0x4b02fa[_0x02ad('0x3e')][_0x02ad('0x45')]);_0x197969[_0x02ad('0x46')]=qs['filters'](_[_0x02ad('0x47')](_0x4b02fa[_0x02ad('0x3e')],_0x3b4e75['filters']),_0x64b760);if(_0x4b02fa[_0x02ad('0x3e')][_0x02ad('0x48')]){_0x197969[_0x02ad('0x46')]=_['merge'](_0x197969[_0x02ad('0x46')],{'$or':_[_0x02ad('0x3d')](_0x64b760,function(_0x4143b8){if(_0x4143b8[_0x02ad('0x3b')]!=='VIRTUAL'){var _0x409de4={};_0x409de4[_0x4143b8[_0x02ad('0x37')]]={'$like':'%'+_0x4b02fa[_0x02ad('0x3e')][_0x02ad('0x48')]+'%'};return _0x409de4;}})});}_0x197969=_[_0x02ad('0x49')]({},_0x197969,_0x4b02fa[_0x02ad('0x4a')]);var _0x2b82b7={'where':_0x197969['where']};return db[_0x02ad('0x3a')]['count'](_0x2b82b7)[_0x02ad('0x20')](function(_0x5118a4){_0x23f0bd[_0x02ad('0x2f')]=_0x5118a4;if(_0x4b02fa[_0x02ad('0x3e')][_0x02ad('0x4b')]){_0x197969[_0x02ad('0x4c')]=[{'all':!![]}];}return db[_0x02ad('0x3a')]['findAll'](_0x197969);})['then'](function(_0x5ae8f3){_0x23f0bd[_0x02ad('0x4d')]=_0x5ae8f3;return _0x23f0bd;})['then'](respondWithFilteredResult(_0x4c8101,_0x197969))['catch'](handleError(_0x4c8101,null));};exports['show']=function(_0x265330,_0x336c9d){var _0x35f402={'raw':![],'where':{'id':_0x265330[_0x02ad('0x4e')]['id']}},_0x4f9254={};_0x4f9254['model']=_[_0x02ad('0x3f')](db[_0x02ad('0x3a')][_0x02ad('0x4f')]);_0x4f9254[_0x02ad('0x3e')]=_[_0x02ad('0x3f')](_0x265330[_0x02ad('0x3e')]);_0x4f9254[_0x02ad('0x50')]=_['intersection'](_0x4f9254[_0x02ad('0x3c')],_0x4f9254[_0x02ad('0x3e')]);_0x35f402['attributes']=_[_0x02ad('0x41')](_0x4f9254[_0x02ad('0x3c')],qs[_0x02ad('0x42')](_0x265330[_0x02ad('0x3e')]['fields']));_0x35f402[_0x02ad('0x40')]=_0x35f402[_0x02ad('0x40')][_0x02ad('0x51')]?_0x35f402[_0x02ad('0x40')]:_0x4f9254['model'];if(_0x265330['query'][_0x02ad('0x4b')]){_0x35f402[_0x02ad('0x4c')]=[{'all':!![]}];}_0x35f402=_['merge']({},_0x35f402,_0x265330[_0x02ad('0x4a')]);return db[_0x02ad('0x3a')]['find'](_0x35f402)['then'](handleEntityNotFound(_0x336c9d,null))[_0x02ad('0x20')](respondWithResult(_0x336c9d,null))[_0x02ad('0x2a')](handleError(_0x336c9d,null));};exports['create']=function(_0x29bdb6,_0x55e2b2){return db[_0x02ad('0x3a')][_0x02ad('0x52')](_0x29bdb6[_0x02ad('0x53')],{})[_0x02ad('0x20')](respondWithResult(_0x55e2b2,0xc9))[_0x02ad('0x2a')](handleError(_0x55e2b2,null));};exports['update']=function(_0x7c148b,_0x3d3127){if(_0x7c148b[_0x02ad('0x53')]['id']){delete _0x7c148b[_0x02ad('0x53')]['id'];}return db[_0x02ad('0x3a')][_0x02ad('0x54')]({'where':{'id':_0x7c148b[_0x02ad('0x4e')]['id']}})[_0x02ad('0x20')](handleEntityNotFound(_0x3d3127,null))[_0x02ad('0x20')](saveUpdates(_0x7c148b[_0x02ad('0x53')],null))[_0x02ad('0x20')](respondWithResult(_0x3d3127,null))['catch'](handleError(_0x3d3127,null));};exports[_0x02ad('0x35')]=function(_0x575c7b,_0x3d96a1){return db[_0x02ad('0x3a')][_0x02ad('0x54')]({'where':{'id':_0x575c7b[_0x02ad('0x4e')]['id']}})['then'](handleEntityNotFound(_0x3d96a1,null))[_0x02ad('0x20')](removeEntity(_0x3d96a1,null))[_0x02ad('0x2a')](handleError(_0x3d96a1,null));};exports[_0x02ad('0x55')]=function(_0x50c203,_0x3349fb,_0x528864){var _0x3b4a17={};var _0x2c4567={};var _0x5eeb64;var _0x5c1ee1;return db[_0x02ad('0x3a')][_0x02ad('0x56')]({'where':{'id':_0x50c203[_0x02ad('0x4e')]['id']}})[_0x02ad('0x20')](handleEntityNotFound(_0x3349fb,null))['then'](function(_0x4985a5){if(_0x4985a5){_0x5eeb64=_0x4985a5;_0x2c4567[_0x02ad('0x3c')]=_['keys'](db[_0x02ad('0x57')]['rawAttributes']);_0x2c4567[_0x02ad('0x3e')]=_[_0x02ad('0x3f')](_0x50c203[_0x02ad('0x3e')]);_0x2c4567['filters']=_[_0x02ad('0x41')](_0x2c4567[_0x02ad('0x3c')],_0x2c4567['query']);_0x3b4a17[_0x02ad('0x40')]=_[_0x02ad('0x41')](_0x2c4567['model'],qs['fields'](_0x50c203[_0x02ad('0x3e')]['fields']));_0x3b4a17['attributes']=_0x3b4a17[_0x02ad('0x40')]['length']?_0x3b4a17[_0x02ad('0x40')]:_0x2c4567[_0x02ad('0x3c')];_0x3b4a17['order']=qs[_0x02ad('0x45')](_0x50c203['query'][_0x02ad('0x45')]);_0x3b4a17[_0x02ad('0x46')]=qs[_0x02ad('0x50')](_[_0x02ad('0x47')](_0x50c203[_0x02ad('0x3e')],_0x2c4567['filters']));if(_0x50c203['query'][_0x02ad('0x48')]){_0x3b4a17[_0x02ad('0x46')]=_[_0x02ad('0x49')](_0x3b4a17[_0x02ad('0x46')],{'$or':_[_0x02ad('0x3d')](_0x3b4a17[_0x02ad('0x40')],function(_0x17a386){var _0x147993={};_0x147993[_0x17a386]={'$like':'%'+_0x50c203[_0x02ad('0x3e')][_0x02ad('0x48')]+'%'};return _0x147993;})});}_0x3b4a17=_['merge']({},_0x3b4a17,_0x50c203[_0x02ad('0x4a')]);return _0x5eeb64[_0x02ad('0x55')](_0x3b4a17);}})[_0x02ad('0x20')](function(_0x47a7be){if(_0x47a7be){_0x5c1ee1=_0x47a7be['length'];if(!_0x50c203[_0x02ad('0x3e')][_0x02ad('0x58')]('nolimit')){_0x3b4a17[_0x02ad('0x31')]=qs[_0x02ad('0x31')](_0x50c203['query'][_0x02ad('0x31')]);_0x3b4a17[_0x02ad('0x30')]=qs[_0x02ad('0x30')](_0x50c203['query']['offset']);}return _0x5eeb64['getConfigurations'](_0x3b4a17);}})[_0x02ad('0x20')](function(_0x4af0e9){if(_0x4af0e9){return _0x4af0e9?{'count':_0x5c1ee1,'rows':_0x4af0e9}:null;}})[_0x02ad('0x20')](respondWithResult(_0x3349fb,null))[_0x02ad('0x2a')](handleError(_0x3349fb,null));};exports[_0x02ad('0x59')]=function(_0x4cea69,_0x116007,_0x36a03f){if(_0x4cea69[_0x02ad('0x53')]['id']){delete _0x4cea69[_0x02ad('0x53')]['id'];}return db[_0x02ad('0x3a')][_0x02ad('0x56')]({'where':{'id':_0x4cea69[_0x02ad('0x4e')]['id']}})[_0x02ad('0x20')](handleEntityNotFound(_0x116007,null))['then'](function(_0x287ca3){if(_0x287ca3){_0x4cea69[_0x02ad('0x53')][_0x02ad('0x5a')]=_0x287ca3['id'];_0x4cea69[_0x02ad('0x53')][_0x02ad('0x5b')]=integrations[_0x02ad('0x5c')](_0x4cea69[_0x02ad('0x53')][_0x02ad('0x5d')],_0x4cea69[_0x02ad('0x53')][_0x02ad('0x3b')]);_0x4cea69[_0x02ad('0x53')][_0x02ad('0x5e')]=integrations['getDescriptions'](_0x4cea69['body'][_0x02ad('0x5d')],_0x4cea69[_0x02ad('0x53')][_0x02ad('0x3b')]);return db[_0x02ad('0x57')][_0x02ad('0x52')](_0x4cea69[_0x02ad('0x53')],{'include':[{'model':db['SugarcrmField'],'as':_0x02ad('0x5b')},{'model':db[_0x02ad('0x5f')],'as':_0x02ad('0x5e')}]});}return null;})[_0x02ad('0x20')](respondWithResult(_0x116007,null))['catch'](handleError(_0x116007,null));};exports['getFields']=function(_0x1a966e,_0x2de8fa,_0x47fd39){var _0x4547eb='';var _0x442701=['id',_0x02ad('0x37'),'assigned_user_id',_0x02ad('0x60'),_0x02ad('0x61'),'date_start',_0x02ad('0x62'),_0x02ad('0x63'),_0x02ad('0x64'),_0x02ad('0x65'),_0x02ad('0x66'),_0x02ad('0x67')];return db[_0x02ad('0x3a')][_0x02ad('0x56')]({'where':{'id':_0x1a966e[_0x02ad('0x4e')]['id']},'attributes':['id',_0x02ad('0x68'),'password',_0x02ad('0x69')]})[_0x02ad('0x20')](handleEntityNotFound(_0x2de8fa,null))[_0x02ad('0x20')](function(_0xe54ace){if(_0xe54ace){_0x4547eb=_0xe54ace['remoteUri'];var _0x2087cc=_0x4547eb[_0x02ad('0x6a')](-0x1);if(_0x2087cc==='/'){_0x4547eb=_0x4547eb['substring'](0x0,_0x4547eb[_0x02ad('0x6b')](_0x2087cc));}return rp({'method':_0x02ad('0x6c'),'uri':util[_0x02ad('0x6d')]('%s%s',_0x4547eb,_0x02ad('0x6e')),'json':!![],'form':{'method':'login','input_type':'JSON','response_type':'JSON','rest_data':JSON['stringify']({'user_auth':{'user_name':_0xe54ace[_0x02ad('0x68')],'password':_0xe54ace[_0x02ad('0x6f')],'encryption':_0x02ad('0x70')},'application':_0x02ad('0x71')})}});}})[_0x02ad('0x20')](function(_0x4e0b7b){if(_0x4e0b7b&&_0x4e0b7b[_0x02ad('0x37')]!=='Invalid\x20Login'&&_0x4e0b7b[_0x02ad('0x37')]!==_0x02ad('0x72')){return rp({'method':_0x02ad('0x6c'),'uri':util[_0x02ad('0x6d')](_0x02ad('0x73'),_0x4547eb,_0x02ad('0x6e')),'json':!![],'form':{'method':_0x02ad('0x74'),'input_type':'JSON','response_type':_0x02ad('0x75'),'rest_data':JSON[_0x02ad('0x24')]({'session':_0x4e0b7b['id'],'module_name':_0x02ad('0x76')})}})[_0x02ad('0x20')](function(_0x5cf0fa){if(_0x5cf0fa){var _0x45154f=_[_0x02ad('0x77')](_0x5cf0fa[_0x02ad('0x78')]);_[_0x02ad('0x79')](_0x45154f,function(_0x444b69){return _0x442701[_0x02ad('0x7a')](_0x444b69[_0x02ad('0x37')]);});return{'count':_0x45154f[_0x02ad('0x51')],'rows':_['map'](_0x45154f,function(_0x202410){return{'id':_0x202410[_0x02ad('0x37')],'name':_0x202410[_0x02ad('0x7b')],'custom':_[_0x02ad('0x7c')](_0x202410[_0x02ad('0x37')],'_c')?!![]:![],'options':_0x202410[_0x02ad('0x4a')]?_[_0x02ad('0x3d')](_['values'](_0x202410[_0x02ad('0x4a')]),function(_0x2aca43){return{'name':_0x2aca43[_0x02ad('0x7d')],'value':_0x2aca43['name']};}):[]};})};}})['then'](respondWithResult(_0x2de8fa,null))['catch'](function(_0x5e2984){var _0x18e4e7=_0x1a966e[_0x02ad('0x3e')]['test']?0x1f4:_0x5e2984[_0x02ad('0x7e')]||0x1f4;logger[_0x02ad('0x25')]('getFields,\x20%s,\x20%s,\x20%s',_0x02ad('0x7f'),_0x18e4e7,JSON[_0x02ad('0x24')](_0x5e2984));delete _0x5e2984[_0x02ad('0x37')];if(_0x18e4e7===0x191){_0x18e4e7=0x190;}_0x2de8fa[_0x02ad('0x2c')](_0x18e4e7)['send'](_0x1a966e[_0x02ad('0x3e')][_0x02ad('0x80')]?{'message':_0x02ad('0x81'),'statusCode':_0x5e2984['statusCode']}:_0x5e2984);});}else{var _0x573d13=0x1f4;_0x2de8fa[_0x02ad('0x2c')](_0x573d13)['send']({'message':_0x02ad('0x81'),'statusCode':0x190});}});}; \ No newline at end of file diff --git a/server/api/intSugarcrmAccount/intSugarcrmAccount.model.js b/server/api/intSugarcrmAccount/intSugarcrmAccount.model.js index 4f0243e..a5718f1 100644 --- a/server/api/intSugarcrmAccount/intSugarcrmAccount.model.js +++ b/server/api/intSugarcrmAccount/intSugarcrmAccount.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x4eaf=['util','../../config/logger','api','bluebird','../../config/environment','./intSugarcrmAccount.attributes','exports','define','int_sugarcrm_accounts','lodash'];(function(_0x262e35,_0x42ed73){var _0x16efd7=function(_0x9664eb){while(--_0x9664eb){_0x262e35['push'](_0x262e35['shift']());}};_0x16efd7(++_0x42ed73);}(_0x4eaf,0x199));var _0xf4ea=function(_0x263e92,_0xa3ece9){_0x263e92=_0x263e92-0x0;var _0x4a2cae=_0x4eaf[_0x263e92];return _0x4a2cae;};'use strict';var _=require(_0xf4ea('0x0'));var util=require(_0xf4ea('0x1'));var logger=require(_0xf4ea('0x2'))(_0xf4ea('0x3'));var moment=require('moment');var BPromise=require(_0xf4ea('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0xf4ea('0x5'));var attributes=require(_0xf4ea('0x6'));var integrations=require('../../components/integrations/configuration');module[_0xf4ea('0x7')]=function(_0x18e759,_0x66bcfe){return _0x18e759[_0xf4ea('0x8')]('SugarcrmAccount',attributes,{'tableName':_0xf4ea('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0x819e=['bluebird','request-promise','path','../../config/environment','./intSugarcrmAccount.attributes','../../components/integrations/configuration','exports','SugarcrmAccount','int_sugarcrm_accounts','util','../../config/logger','api'];(function(_0x266618,_0x18f637){var _0x54dbf5=function(_0x1f7985){while(--_0x1f7985){_0x266618['push'](_0x266618['shift']());}};_0x54dbf5(++_0x18f637);}(_0x819e,0x141));var _0xe819=function(_0x48e885,_0x1b7f8a){_0x48e885=_0x48e885-0x0;var _0x3830a4=_0x819e[_0x48e885];return _0x3830a4;};'use strict';var _=require('lodash');var util=require(_0xe819('0x0'));var logger=require(_0xe819('0x1'))(_0xe819('0x2'));var moment=require('moment');var BPromise=require(_0xe819('0x3'));var rp=require(_0xe819('0x4'));var fs=require('fs');var path=require(_0xe819('0x5'));var rimraf=require('rimraf');var config=require(_0xe819('0x6'));var attributes=require(_0xe819('0x7'));var integrations=require(_0xe819('0x8'));module[_0xe819('0x9')]=function(_0x340c7c,_0x5886f1){return _0x340c7c['define'](_0xe819('0xa'),attributes,{'tableName':_0xe819('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/intSugarcrmAccount/intSugarcrmAccount.rpc.js b/server/api/intSugarcrmAccount/intSugarcrmAccount.rpc.js index 6c7003b..ab21f8c 100644 --- a/server/api/intSugarcrmAccount/intSugarcrmAccount.rpc.js +++ b/server/api/intSugarcrmAccount/intSugarcrmAccount.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x2236=['catch','SugarcrmAccount','findAll','options','raw','where','attributes','limit','include','model','map','GetSugarcrmAccount','ShowSugarcrmAccount','util','moment','bluebird','randomstring','../../config/utils','../../config/environment','jayson/promise','client','http','then','info','SugarcrmAccount,\x20%s,\x20%s','debug','request\x20sent','stringify','error','code','message','result'];(function(_0x5ab556,_0x5216da){var _0x54765b=function(_0x29c00e){while(--_0x29c00e){_0x5ab556['push'](_0x5ab556['shift']());}};_0x54765b(++_0x5216da);}(_0x2236,0x8d));var _0x6223=function(_0x8a969d,_0x339d9f){_0x8a969d=_0x8a969d-0x0;var _0x1d8dc7=_0x2236[_0x8a969d];return _0x1d8dc7;};'use strict';var _=require('lodash');var util=require(_0x6223('0x0'));var moment=require(_0x6223('0x1'));var BPromise=require(_0x6223('0x2'));var rs=require(_0x6223('0x3'));var fs=require('fs');var Redis=require('ioredis');var db=require('../../mysqldb')['db'];var utils=require(_0x6223('0x4'));var logger=require('../../config/logger')('rpc');var config=require(_0x6223('0x5'));var jayson=require(_0x6223('0x6'));var client=jayson[_0x6223('0x7')][_0x6223('0x8')]({'port':0x232a});function respondWithRpcPromise(_0xc48b29,_0x120534,_0x28bc53){return new BPromise(function(_0x8b59e3,_0x11bec4){return client['request'](_0xc48b29,_0x28bc53)[_0x6223('0x9')](function(_0x395bba){logger[_0x6223('0xa')](_0x6223('0xb'),_0x120534,'request\x20sent');logger[_0x6223('0xc')]('SugarcrmAccount,\x20%s,\x20%s,\x20%s',_0x120534,_0x6223('0xd'),JSON[_0x6223('0xe')](_0x395bba));if(_0x395bba[_0x6223('0xf')]){if(_0x395bba[_0x6223('0xf')][_0x6223('0x10')]===0x1f4){logger['error']('SugarcrmAccount,\x20%s,\x20%s',_0x120534,_0x395bba[_0x6223('0xf')][_0x6223('0x11')]);return _0x11bec4(_0x395bba[_0x6223('0xf')][_0x6223('0x11')]);}logger[_0x6223('0xf')](_0x6223('0xb'),_0x120534,_0x395bba[_0x6223('0xf')][_0x6223('0x11')]);return _0x8b59e3(_0x395bba[_0x6223('0xf')][_0x6223('0x11')]);}else{logger[_0x6223('0xa')](_0x6223('0xb'),_0x120534,_0x6223('0xd'));_0x8b59e3(_0x395bba[_0x6223('0x12')]['message']);}})[_0x6223('0x13')](function(_0x494b1f){logger['error'](_0x6223('0xb'),_0x120534,_0x494b1f);_0x11bec4(_0x494b1f);});});}exports['GetSugarcrmAccount']=function(_0x450663){var _0xc7884e=this;return new Promise(function(_0x5cf218,_0x30acdd){return db[_0x6223('0x14')][_0x6223('0x15')]({'raw':_0x450663[_0x6223('0x16')]?_0x450663[_0x6223('0x16')][_0x6223('0x17')]===undefined?!![]:![]:!![],'where':_0x450663['options']?_0x450663[_0x6223('0x16')][_0x6223('0x18')]||null:null,'attributes':_0x450663[_0x6223('0x16')]?_0x450663[_0x6223('0x16')][_0x6223('0x19')]||null:null,'limit':_0x450663[_0x6223('0x16')]?_0x450663['options'][_0x6223('0x1a')]||null:null,'include':_0x450663[_0x6223('0x16')]?_0x450663['options'][_0x6223('0x1b')]?_['map'](_0x450663['options']['include'],function(_0x31ec63){return{'model':db[_0x31ec63[_0x6223('0x1c')]],'as':_0x31ec63['as'],'attributes':_0x31ec63[_0x6223('0x19')],'include':_0x31ec63[_0x6223('0x1b')]?_[_0x6223('0x1d')](_0x31ec63['include'],function(_0x22300d){return{'model':db[_0x22300d['model']],'as':_0x22300d['as'],'attributes':_0x22300d[_0x6223('0x19')],'include':_0x22300d[_0x6223('0x1b')]?_['map'](_0x22300d['include'],function(_0x215c7c){return{'model':db[_0x215c7c[_0x6223('0x1c')]],'as':_0x215c7c['as'],'attributes':_0x215c7c[_0x6223('0x19')]};}):[]};}):[]};}):[]:[]})[_0x6223('0x9')](function(_0xd94fe8){logger[_0x6223('0xa')]('GetSugarcrmAccount',_0x450663);logger[_0x6223('0xc')](_0x6223('0x1e'),_0x450663,JSON[_0x6223('0xe')](_0xd94fe8));_0x5cf218(_0xd94fe8);})[_0x6223('0x13')](function(_0x1409c9){logger[_0x6223('0xf')](_0x6223('0x1e'),_0x1409c9[_0x6223('0x11')],_0x450663);_0x30acdd(_0xc7884e[_0x6223('0xf')](0x1f4,_0x1409c9['message']));});});};exports[_0x6223('0x1f')]=function(_0xfa1231){var _0x4c5be4=this;return new Promise(function(_0x24920b,_0x5bce7b){return db[_0x6223('0x14')]['find']({'raw':_0xfa1231['options']?_0xfa1231[_0x6223('0x16')][_0x6223('0x17')]===undefined?!![]:![]:!![],'where':_0xfa1231['options']?_0xfa1231[_0x6223('0x16')]['where']||null:null,'attributes':_0xfa1231[_0x6223('0x16')]?_0xfa1231[_0x6223('0x16')][_0x6223('0x19')]||null:null,'include':_0xfa1231[_0x6223('0x16')]?_0xfa1231[_0x6223('0x16')][_0x6223('0x1b')]?_[_0x6223('0x1d')](_0xfa1231['options']['include'],function(_0x55e4b4){return{'model':db[_0x55e4b4[_0x6223('0x1c')]],'as':_0x55e4b4['as'],'attributes':_0x55e4b4[_0x6223('0x19')],'include':_0x55e4b4[_0x6223('0x1b')]?_[_0x6223('0x1d')](_0x55e4b4[_0x6223('0x1b')],function(_0x3db27c){return{'model':db[_0x3db27c['model']],'as':_0x3db27c['as'],'attributes':_0x3db27c['attributes'],'include':_0x3db27c[_0x6223('0x1b')]?_['map'](_0x3db27c[_0x6223('0x1b')],function(_0x4db01a){return{'model':db[_0x4db01a[_0x6223('0x1c')]],'as':_0x4db01a['as'],'attributes':_0x4db01a['attributes']};}):[]};}):[]};}):[]:[]})['then'](function(_0x514aa6){logger[_0x6223('0xa')](_0x6223('0x1f'),_0xfa1231);logger[_0x6223('0xc')](_0x6223('0x1f'),_0xfa1231,JSON[_0x6223('0xe')](_0x514aa6));_0x24920b(_0x514aa6);})[_0x6223('0x13')](function(_0xb42e42){logger['error'](_0x6223('0x1f'),_0xb42e42[_0x6223('0x11')],_0xfa1231);_0x5bce7b(_0x4c5be4[_0x6223('0xf')](0x1f4,_0xb42e42[_0x6223('0x11')]));});});}; \ No newline at end of file +var _0x8b5e=['moment','randomstring','ioredis','../../mysqldb','../../config/logger','rpc','../../config/environment','jayson/promise','client','request','then','info','SugarcrmAccount,\x20%s,\x20%s','request\x20sent','debug','stringify','error','code','message','catch','GetSugarcrmAccount','findAll','options','where','attributes','limit','include','map','model','ShowSugarcrmAccount','SugarcrmAccount','find','raw','lodash','util'];(function(_0x1e502f,_0x42063c){var _0x573fb4=function(_0x54d410){while(--_0x54d410){_0x1e502f['push'](_0x1e502f['shift']());}};_0x573fb4(++_0x42063c);}(_0x8b5e,0xad));var _0xe8b5=function(_0x39089a,_0x1dadd1){_0x39089a=_0x39089a-0x0;var _0x23eeca=_0x8b5e[_0x39089a];return _0x23eeca;};'use strict';var _=require(_0xe8b5('0x0'));var util=require(_0xe8b5('0x1'));var moment=require(_0xe8b5('0x2'));var BPromise=require('bluebird');var rs=require(_0xe8b5('0x3'));var fs=require('fs');var Redis=require(_0xe8b5('0x4'));var db=require(_0xe8b5('0x5'))['db'];var utils=require('../../config/utils');var logger=require(_0xe8b5('0x6'))(_0xe8b5('0x7'));var config=require(_0xe8b5('0x8'));var jayson=require(_0xe8b5('0x9'));var client=jayson[_0xe8b5('0xa')]['http']({'port':0x232a});function respondWithRpcPromise(_0x3651a9,_0x5976fa,_0x54bbf3){return new BPromise(function(_0x2a4ac2,_0x28841d){return client[_0xe8b5('0xb')](_0x3651a9,_0x54bbf3)[_0xe8b5('0xc')](function(_0x318116){logger[_0xe8b5('0xd')](_0xe8b5('0xe'),_0x5976fa,_0xe8b5('0xf'));logger[_0xe8b5('0x10')]('SugarcrmAccount,\x20%s,\x20%s,\x20%s',_0x5976fa,_0xe8b5('0xf'),JSON[_0xe8b5('0x11')](_0x318116));if(_0x318116['error']){if(_0x318116[_0xe8b5('0x12')][_0xe8b5('0x13')]===0x1f4){logger[_0xe8b5('0x12')](_0xe8b5('0xe'),_0x5976fa,_0x318116[_0xe8b5('0x12')][_0xe8b5('0x14')]);return _0x28841d(_0x318116[_0xe8b5('0x12')][_0xe8b5('0x14')]);}logger[_0xe8b5('0x12')](_0xe8b5('0xe'),_0x5976fa,_0x318116[_0xe8b5('0x12')][_0xe8b5('0x14')]);return _0x2a4ac2(_0x318116[_0xe8b5('0x12')]['message']);}else{logger[_0xe8b5('0xd')](_0xe8b5('0xe'),_0x5976fa,_0xe8b5('0xf'));_0x2a4ac2(_0x318116['result'][_0xe8b5('0x14')]);}})[_0xe8b5('0x15')](function(_0x20f20b){logger['error'](_0xe8b5('0xe'),_0x5976fa,_0x20f20b);_0x28841d(_0x20f20b);});});}exports[_0xe8b5('0x16')]=function(_0x253cd4){var _0x1f12b0=this;return new Promise(function(_0xf453e0,_0x5e12bf){return db['SugarcrmAccount'][_0xe8b5('0x17')]({'raw':_0x253cd4[_0xe8b5('0x18')]?_0x253cd4[_0xe8b5('0x18')]['raw']===undefined?!![]:![]:!![],'where':_0x253cd4['options']?_0x253cd4[_0xe8b5('0x18')][_0xe8b5('0x19')]||null:null,'attributes':_0x253cd4[_0xe8b5('0x18')]?_0x253cd4[_0xe8b5('0x18')][_0xe8b5('0x1a')]||null:null,'limit':_0x253cd4[_0xe8b5('0x18')]?_0x253cd4[_0xe8b5('0x18')][_0xe8b5('0x1b')]||null:null,'include':_0x253cd4[_0xe8b5('0x18')]?_0x253cd4[_0xe8b5('0x18')][_0xe8b5('0x1c')]?_[_0xe8b5('0x1d')](_0x253cd4[_0xe8b5('0x18')][_0xe8b5('0x1c')],function(_0x1afa76){return{'model':db[_0x1afa76[_0xe8b5('0x1e')]],'as':_0x1afa76['as'],'attributes':_0x1afa76[_0xe8b5('0x1a')],'include':_0x1afa76['include']?_[_0xe8b5('0x1d')](_0x1afa76['include'],function(_0x1105b9){return{'model':db[_0x1105b9['model']],'as':_0x1105b9['as'],'attributes':_0x1105b9[_0xe8b5('0x1a')],'include':_0x1105b9[_0xe8b5('0x1c')]?_[_0xe8b5('0x1d')](_0x1105b9[_0xe8b5('0x1c')],function(_0x1c8fdd){return{'model':db[_0x1c8fdd[_0xe8b5('0x1e')]],'as':_0x1c8fdd['as'],'attributes':_0x1c8fdd[_0xe8b5('0x1a')]};}):[]};}):[]};}):[]:[]})['then'](function(_0x25d9b1){logger['info'](_0xe8b5('0x16'),_0x253cd4);logger[_0xe8b5('0x10')]('GetSugarcrmAccount',_0x253cd4,JSON[_0xe8b5('0x11')](_0x25d9b1));_0xf453e0(_0x25d9b1);})[_0xe8b5('0x15')](function(_0x2c801d){logger[_0xe8b5('0x12')](_0xe8b5('0x16'),_0x2c801d[_0xe8b5('0x14')],_0x253cd4);_0x5e12bf(_0x1f12b0[_0xe8b5('0x12')](0x1f4,_0x2c801d[_0xe8b5('0x14')]));});});};exports[_0xe8b5('0x1f')]=function(_0x36ada4){var _0x4c2d35=this;return new Promise(function(_0x32559a,_0x53b20c){return db[_0xe8b5('0x20')][_0xe8b5('0x21')]({'raw':_0x36ada4[_0xe8b5('0x18')]?_0x36ada4[_0xe8b5('0x18')][_0xe8b5('0x22')]===undefined?!![]:![]:!![],'where':_0x36ada4[_0xe8b5('0x18')]?_0x36ada4['options'][_0xe8b5('0x19')]||null:null,'attributes':_0x36ada4[_0xe8b5('0x18')]?_0x36ada4[_0xe8b5('0x18')][_0xe8b5('0x1a')]||null:null,'include':_0x36ada4[_0xe8b5('0x18')]?_0x36ada4[_0xe8b5('0x18')][_0xe8b5('0x1c')]?_[_0xe8b5('0x1d')](_0x36ada4[_0xe8b5('0x18')][_0xe8b5('0x1c')],function(_0x49a542){return{'model':db[_0x49a542[_0xe8b5('0x1e')]],'as':_0x49a542['as'],'attributes':_0x49a542[_0xe8b5('0x1a')],'include':_0x49a542[_0xe8b5('0x1c')]?_[_0xe8b5('0x1d')](_0x49a542[_0xe8b5('0x1c')],function(_0x5a64f8){return{'model':db[_0x5a64f8['model']],'as':_0x5a64f8['as'],'attributes':_0x5a64f8[_0xe8b5('0x1a')],'include':_0x5a64f8[_0xe8b5('0x1c')]?_[_0xe8b5('0x1d')](_0x5a64f8[_0xe8b5('0x1c')],function(_0x29090c){return{'model':db[_0x29090c['model']],'as':_0x29090c['as'],'attributes':_0x29090c[_0xe8b5('0x1a')]};}):[]};}):[]};}):[]:[]})[_0xe8b5('0xc')](function(_0x627e91){logger[_0xe8b5('0xd')](_0xe8b5('0x1f'),_0x36ada4);logger[_0xe8b5('0x10')](_0xe8b5('0x1f'),_0x36ada4,JSON[_0xe8b5('0x11')](_0x627e91));_0x32559a(_0x627e91);})[_0xe8b5('0x15')](function(_0x411f80){logger[_0xe8b5('0x12')](_0xe8b5('0x1f'),_0x411f80[_0xe8b5('0x14')],_0x36ada4);_0x53b20c(_0x4c2d35[_0xe8b5('0x12')](0x1f4,_0x411f80[_0xe8b5('0x14')]));});});}; \ No newline at end of file diff --git a/server/api/intSugarcrmConfiguration/index.js b/server/api/intSugarcrmConfiguration/index.js index 4fc1c16..cc9e476 100644 --- a/server/api/intSugarcrmConfiguration/index.js +++ b/server/api/intSugarcrmConfiguration/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x1874=['create','update','delete','destroy','exports','multer','util','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./intSugarcrmConfiguration.controller','get','isAuthenticated','index','/:id','show','/:id/fields','getFields','/:id/subjects','getDescriptions'];(function(_0x1ba669,_0x2f0ceb){var _0x475c28=function(_0x4a6816){while(--_0x4a6816){_0x1ba669['push'](_0x1ba669['shift']());}};_0x475c28(++_0x2f0ceb);}(_0x1874,0x147));var _0x4187=function(_0x58b633,_0x17e4fb){_0x58b633=_0x58b633-0x0;var _0x21ed4d=_0x1874[_0x58b633];return _0x21ed4d;};'use strict';var multer=require(_0x4187('0x0'));var util=require(_0x4187('0x1'));var path=require(_0x4187('0x2'));var timeout=require(_0x4187('0x3'));var express=require('express');var router=express[_0x4187('0x4')]();var auth=require(_0x4187('0x5'));var interaction=require(_0x4187('0x6'));var config=require(_0x4187('0x7'));var controller=require(_0x4187('0x8'));router[_0x4187('0x9')]('/',auth[_0x4187('0xa')](),controller[_0x4187('0xb')]);router[_0x4187('0x9')](_0x4187('0xc'),auth[_0x4187('0xa')](),controller[_0x4187('0xd')]);router[_0x4187('0x9')](_0x4187('0xe'),auth[_0x4187('0xa')](),controller[_0x4187('0xf')]);router['get'](_0x4187('0x10'),auth[_0x4187('0xa')](),controller['getSubjects']);router[_0x4187('0x9')]('/:id/descriptions',auth[_0x4187('0xa')](),controller[_0x4187('0x11')]);router['post']('/',auth[_0x4187('0xa')](),controller[_0x4187('0x12')]);router['put'](_0x4187('0xc'),auth[_0x4187('0xa')](),controller[_0x4187('0x13')]);router[_0x4187('0x14')](_0x4187('0xc'),auth[_0x4187('0xa')](),controller[_0x4187('0x15')]);module[_0x4187('0x16')]=router; \ No newline at end of file +var _0x28d8=['./intSugarcrmConfiguration.controller','get','isAuthenticated','index','/:id','show','/:id/fields','getFields','/:id/subjects','getSubjects','/:id/descriptions','getDescriptions','post','create','put','update','delete','destroy','multer','util','path','connect-timeout','../../components/interaction/service'];(function(_0x14e1be,_0x62bad8){var _0x2b745b=function(_0x3b3f64){while(--_0x3b3f64){_0x14e1be['push'](_0x14e1be['shift']());}};_0x2b745b(++_0x62bad8);}(_0x28d8,0x1c7));var _0x828d=function(_0x26a31a,_0x5679d4){_0x26a31a=_0x26a31a-0x0;var _0x33004a=_0x28d8[_0x26a31a];return _0x33004a;};'use strict';var multer=require(_0x828d('0x0'));var util=require(_0x828d('0x1'));var path=require(_0x828d('0x2'));var timeout=require(_0x828d('0x3'));var express=require('express');var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require(_0x828d('0x4'));var config=require('../../config/environment');var controller=require(_0x828d('0x5'));router[_0x828d('0x6')]('/',auth[_0x828d('0x7')](),controller[_0x828d('0x8')]);router[_0x828d('0x6')](_0x828d('0x9'),auth[_0x828d('0x7')](),controller[_0x828d('0xa')]);router[_0x828d('0x6')](_0x828d('0xb'),auth[_0x828d('0x7')](),controller[_0x828d('0xc')]);router[_0x828d('0x6')](_0x828d('0xd'),auth[_0x828d('0x7')](),controller[_0x828d('0xe')]);router['get'](_0x828d('0xf'),auth[_0x828d('0x7')](),controller[_0x828d('0x10')]);router[_0x828d('0x11')]('/',auth[_0x828d('0x7')](),controller[_0x828d('0x12')]);router[_0x828d('0x13')](_0x828d('0x9'),auth['isAuthenticated'](),controller[_0x828d('0x14')]);router[_0x828d('0x15')]('/:id',auth[_0x828d('0x7')](),controller[_0x828d('0x16')]);module['exports']=router; \ No newline at end of file diff --git a/server/api/intSugarcrmConfiguration/intSugarcrmConfiguration.attributes.js b/server/api/intSugarcrmConfiguration/intSugarcrmConfiguration.attributes.js index 877bdf0..e654e99 100644 --- a/server/api/intSugarcrmConfiguration/intSugarcrmConfiguration.attributes.js +++ b/server/api/intSugarcrmConfiguration/intSugarcrmConfiguration.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xce36=['STRING','sequelize','exports'];(function(_0xbf93ae,_0x3ea545){var _0x4e1196=function(_0x222ea4){while(--_0x222ea4){_0xbf93ae['push'](_0xbf93ae['shift']());}};_0x4e1196(++_0x3ea545);}(_0xce36,0x1d5));var _0x6ce3=function(_0x3bd52b,_0xbbc735){_0x3bd52b=_0x3bd52b-0x0;var _0x1e5b89=_0xce36[_0x3bd52b];return _0x1e5b89;};'use strict';var Sequelize=require(_0x6ce3('0x0'));module[_0x6ce3('0x1')]={'name':{'type':Sequelize[_0x6ce3('0x2')]},'description':{'type':Sequelize[_0x6ce3('0x2')]}}; \ No newline at end of file +var _0x3f06=['STRING','sequelize'];(function(_0x310870,_0x5d4149){var _0x5f2b2a=function(_0x59f383){while(--_0x59f383){_0x310870['push'](_0x310870['shift']());}};_0x5f2b2a(++_0x5d4149);}(_0x3f06,0x1ad));var _0x63f0=function(_0x2be8c2,_0x14a4b5){_0x2be8c2=_0x2be8c2-0x0;var _0x97f531=_0x3f06[_0x2be8c2];return _0x97f531;};'use strict';var Sequelize=require(_0x63f0('0x0'));module['exports']={'name':{'type':Sequelize[_0x63f0('0x1')]},'description':{'type':Sequelize[_0x63f0('0x1')]}}; \ No newline at end of file diff --git a/server/api/intSugarcrmConfiguration/intSugarcrmConfiguration.controller.js b/server/api/intSugarcrmConfiguration/intSugarcrmConfiguration.controller.js index 6292f84..110b632 100644 --- a/server/api/intSugarcrmConfiguration/intSugarcrmConfiguration.controller.js +++ b/server/api/intSugarcrmConfiguration/intSugarcrmConfiguration.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x94d3=['status','end','count','offset','limit','set','Content-Range','json','apply','reject','save','update','destroy','stack','name','send','map','SugarcrmConfiguration','rawAttributes','fieldName','key','model','query','keys','intersection','attributes','fields','length','hasOwnProperty','nolimit','order','sort','where','filters','filter','type','VIRTUAL','merge','options','includeAll','include','rows','show','params','catch','create','body','find','findOne','SugarcrmField','getFields','getSubjects','getDescriptions','pick','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','util','path','sox','to-csv','ejs','lodash','squel','jsforce','querystring','papaparse','ioredis','../../components/auth/service','../../config/license/hardware','../../config/logger','api','../../config/utils','../../mysqldb','client','http','Sequelize','ValidationError','The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.','request','then','info','SugarcrmConfiguration,\x20%s,\x20%s','debug','SugarcrmConfiguration,\x20%s,\x20%s,\x20%s','request\x20sent','stringify','error','code','message','result','sendStatus'];(function(_0x3f2ed8,_0x224bdb){var _0x140851=function(_0x137745){while(--_0x137745){_0x3f2ed8['push'](_0x3f2ed8['shift']());}};_0x140851(++_0x224bdb);}(_0x94d3,0xf8));var _0x394d=function(_0x41c59c,_0x5c4815){_0x41c59c=_0x41c59c-0x0;var _0x1af630=_0x94d3[_0x41c59c];return _0x1af630;};'use strict';var pdf=require(_0x394d('0x0'));var emlformat=require(_0x394d('0x1'));var rimraf=require(_0x394d('0x2'));var zipdir=require(_0x394d('0x3'));var jsonpatch=require(_0x394d('0x4'));var rp=require(_0x394d('0x5'));var moment=require(_0x394d('0x6'));var BPromise=require(_0x394d('0x7'));var Mustache=require('mustache');var util=require(_0x394d('0x8'));var path=require(_0x394d('0x9'));var sox=require(_0x394d('0xa'));var csv=require(_0x394d('0xb'));var ejs=require(_0x394d('0xc'));var fs=require('fs');var _=require(_0x394d('0xd'));var squel=require(_0x394d('0xe'));var crypto=require('crypto');var jsforce=require(_0x394d('0xf'));var deskjs=require('desk.js');var toCsv=require('to-csv');var querystring=require(_0x394d('0x10'));var Papa=require(_0x394d('0x11'));var Redis=require(_0x394d('0x12'));var authService=require(_0x394d('0x13'));var qs=require('../../components/parsers/qs');var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0x394d('0x14'));var logger=require(_0x394d('0x15'))(_0x394d('0x16'));var utils=require(_0x394d('0x17'));var config=require('../../config/environment');var db=require(_0x394d('0x18'))['db'];var jayson=require('jayson/promise');var client=jayson[_0x394d('0x19')][_0x394d('0x1a')]({'port':0x232a});function checkPasswordPattern(_0x473c3b,_0x551a65,_0x4387dc){if(_0x4387dc){var _0x35ca11=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0x35ca11['test'](_0x551a65)){return _0x473c3b;}else{throw new db[(_0x394d('0x1b'))][(_0x394d('0x1c'))](_0x394d('0x1d'));}}else{return _0x473c3b;}}function respondWithRpcPromise(_0x3e3004,_0x19003e,_0x23e563,_0x580bf0){return new BPromise(function(_0x5390cc,_0x3049c1){var _0x54b9e6=_0x580bf0||client;return _0x54b9e6[_0x394d('0x1e')](_0x3e3004,_0x23e563)[_0x394d('0x1f')](function(_0x121571){logger[_0x394d('0x20')](_0x394d('0x21'),_0x19003e,'request\x20sent');logger[_0x394d('0x22')](_0x394d('0x23'),_0x19003e,_0x394d('0x24'),JSON[_0x394d('0x25')](_0x121571));if(_0x121571[_0x394d('0x26')]){if(_0x121571['error'][_0x394d('0x27')]===0x1f4){logger['error'](_0x394d('0x21'),_0x19003e,_0x121571['error'][_0x394d('0x28')]);return _0x3049c1(_0x121571['error'][_0x394d('0x28')]);}logger[_0x394d('0x26')](_0x394d('0x21'),_0x19003e,_0x121571[_0x394d('0x26')][_0x394d('0x28')]);return _0x5390cc(_0x121571[_0x394d('0x26')][_0x394d('0x28')]);}else{logger[_0x394d('0x20')](_0x394d('0x21'),_0x19003e,_0x394d('0x24'));_0x5390cc(_0x121571[_0x394d('0x29')][_0x394d('0x28')]);}})['catch'](function(_0x507318){logger[_0x394d('0x26')]('SugarcrmConfiguration,\x20%s,\x20%s',_0x19003e,_0x507318);_0x3049c1(_0x507318);});});}function respondWithStatusCode(_0x507655,_0x45c6a4){_0x45c6a4=_0x45c6a4||0xcc;return function(_0x1bb983){if(_0x1bb983){return _0x507655[_0x394d('0x2a')](_0x45c6a4);}return _0x507655[_0x394d('0x2b')](_0x45c6a4)[_0x394d('0x2c')]();};}function respondWithResult(_0x1b177a,_0x1ef78b){_0x1ef78b=_0x1ef78b||0xc8;return function(_0x3e7f74){if(_0x3e7f74){return _0x1b177a[_0x394d('0x2b')](_0x1ef78b)['json'](_0x3e7f74);}};}function respondWithFilteredResult(_0x31bc7f,_0x2d0f0f){return function(_0x27a291){if(_0x27a291){var _0x18a4c9=_0x27a291[_0x394d('0x2d')],_0x3f7458=_0x2d0f0f[_0x394d('0x2e')],_0x1f4411=_0x2d0f0f[_0x394d('0x2e')]+_0x2d0f0f[_0x394d('0x2f')],_0x2f17c2;if(_0x1f4411>=_0x18a4c9){_0x1f4411=_0x18a4c9;_0x2f17c2=0xc8;}else{_0x2f17c2=0xce;}_0x31bc7f[_0x394d('0x2b')](_0x2f17c2);return _0x31bc7f[_0x394d('0x30')](_0x394d('0x31'),_0x3f7458+'-'+_0x1f4411+'/'+_0x18a4c9)[_0x394d('0x32')](_0x27a291);}return null;};}function patchUpdates(_0x55af5a){return function(_0x47427a){try{jsonpatch[_0x394d('0x33')](_0x47427a,_0x55af5a,!![]);}catch(_0x2c1d2c){return BPromise[_0x394d('0x34')](_0x2c1d2c);}return _0x47427a[_0x394d('0x35')]();};}function saveUpdates(_0x4350b4,_0x2d97fd){return function(_0x1e81d9){if(_0x1e81d9){return _0x1e81d9[_0x394d('0x36')](_0x4350b4)['then'](function(_0x58fe4e){return _0x58fe4e;});}return null;};}function removeEntity(_0x31db50,_0x1ab16a){return function(_0x5523c7){if(_0x5523c7){return _0x5523c7[_0x394d('0x37')]()[_0x394d('0x1f')](function(){_0x31db50[_0x394d('0x2b')](0xcc)[_0x394d('0x2c')]();});}};}function handleEntityNotFound(_0xde6d6a,_0x1655b8){return function(_0x16e18b){if(!_0x16e18b){_0xde6d6a[_0x394d('0x2a')](0x194);}return _0x16e18b;};}function handleError(_0x2f68e4,_0x20d45b){_0x20d45b=_0x20d45b||0x1f4;return function(_0x13b067){logger[_0x394d('0x26')](_0x13b067[_0x394d('0x38')]);if(_0x13b067['name']){delete _0x13b067[_0x394d('0x39')];}_0x2f68e4[_0x394d('0x2b')](_0x20d45b)[_0x394d('0x3a')](_0x13b067);};}exports['index']=function(_0x3efb09,_0x4746ae){var _0x24a7f7={},_0x26a346={},_0x15c3cf={'count':0x0,'rows':[]};var _0x43822c=_[_0x394d('0x3b')](db[_0x394d('0x3c')][_0x394d('0x3d')],function(_0x3cbbcd){return{'name':_0x3cbbcd[_0x394d('0x3e')],'type':_0x3cbbcd['type'][_0x394d('0x3f')]};});_0x26a346[_0x394d('0x40')]=_['map'](_0x43822c,_0x394d('0x39'));_0x26a346[_0x394d('0x41')]=_[_0x394d('0x42')](_0x3efb09[_0x394d('0x41')]);_0x26a346['filters']=_[_0x394d('0x43')](_0x26a346[_0x394d('0x40')],_0x26a346[_0x394d('0x41')]);_0x24a7f7[_0x394d('0x44')]=_['intersection'](_0x26a346[_0x394d('0x40')],qs[_0x394d('0x45')](_0x3efb09[_0x394d('0x41')][_0x394d('0x45')]));_0x24a7f7['attributes']=_0x24a7f7[_0x394d('0x44')][_0x394d('0x46')]?_0x24a7f7['attributes']:_0x26a346['model'];if(!_0x3efb09[_0x394d('0x41')][_0x394d('0x47')](_0x394d('0x48'))){_0x24a7f7['limit']=qs[_0x394d('0x2f')](_0x3efb09[_0x394d('0x41')]['limit']);_0x24a7f7[_0x394d('0x2e')]=qs[_0x394d('0x2e')](_0x3efb09['query'][_0x394d('0x2e')]);}_0x24a7f7[_0x394d('0x49')]=qs['sort'](_0x3efb09[_0x394d('0x41')][_0x394d('0x4a')]);_0x24a7f7[_0x394d('0x4b')]=qs[_0x394d('0x4c')](_['pick'](_0x3efb09['query'],_0x26a346['filters']),_0x43822c);if(_0x3efb09['query'][_0x394d('0x4d')]){_0x24a7f7[_0x394d('0x4b')]=_['merge'](_0x24a7f7[_0x394d('0x4b')],{'$or':_[_0x394d('0x3b')](_0x43822c,function(_0x53bfc7){if(_0x53bfc7[_0x394d('0x4e')]!==_0x394d('0x4f')){var _0x5d406b={};_0x5d406b[_0x53bfc7['name']]={'$like':'%'+_0x3efb09[_0x394d('0x41')][_0x394d('0x4d')]+'%'};return _0x5d406b;}})});}_0x24a7f7=_[_0x394d('0x50')]({},_0x24a7f7,_0x3efb09[_0x394d('0x51')]);var _0x4ed29a={'where':_0x24a7f7[_0x394d('0x4b')]};return db['SugarcrmConfiguration'][_0x394d('0x2d')](_0x4ed29a)['then'](function(_0x4d1865){_0x15c3cf[_0x394d('0x2d')]=_0x4d1865;if(_0x3efb09[_0x394d('0x41')][_0x394d('0x52')]){_0x24a7f7[_0x394d('0x53')]=[{'all':!![]}];}return db[_0x394d('0x3c')]['findAll'](_0x24a7f7);})['then'](function(_0x2839dd){_0x15c3cf[_0x394d('0x54')]=_0x2839dd;return _0x15c3cf;})['then'](respondWithFilteredResult(_0x4746ae,_0x24a7f7))['catch'](handleError(_0x4746ae,null));};exports[_0x394d('0x55')]=function(_0x4f1fcc,_0x541773){var _0x55a37a={'raw':![],'where':{'id':_0x4f1fcc[_0x394d('0x56')]['id']}},_0x50befd={};_0x50befd[_0x394d('0x40')]=_['keys'](db['SugarcrmConfiguration'][_0x394d('0x3d')]);_0x50befd[_0x394d('0x41')]=_[_0x394d('0x42')](_0x4f1fcc['query']);_0x50befd[_0x394d('0x4c')]=_['intersection'](_0x50befd['model'],_0x50befd[_0x394d('0x41')]);_0x55a37a['attributes']=_[_0x394d('0x43')](_0x50befd[_0x394d('0x40')],qs[_0x394d('0x45')](_0x4f1fcc[_0x394d('0x41')][_0x394d('0x45')]));_0x55a37a[_0x394d('0x44')]=_0x55a37a[_0x394d('0x44')]['length']?_0x55a37a[_0x394d('0x44')]:_0x50befd[_0x394d('0x40')];if(_0x4f1fcc[_0x394d('0x41')][_0x394d('0x52')]){_0x55a37a[_0x394d('0x53')]=[{'all':!![]}];}_0x55a37a=_[_0x394d('0x50')]({},_0x55a37a,_0x4f1fcc[_0x394d('0x51')]);return db['SugarcrmConfiguration']['find'](_0x55a37a)['then'](handleEntityNotFound(_0x541773,null))['then'](respondWithResult(_0x541773,null))[_0x394d('0x57')](handleError(_0x541773,null));};exports[_0x394d('0x58')]=function(_0xf3e984,_0x58f2c3){return db['SugarcrmConfiguration'][_0x394d('0x58')](_0xf3e984[_0x394d('0x59')],{})[_0x394d('0x1f')](respondWithResult(_0x58f2c3,0xc9))['catch'](handleError(_0x58f2c3,null));};exports[_0x394d('0x36')]=function(_0x5c913a,_0x24f086){if(_0x5c913a[_0x394d('0x59')]['id']){delete _0x5c913a[_0x394d('0x59')]['id'];}return db[_0x394d('0x3c')][_0x394d('0x5a')]({'where':{'id':_0x5c913a['params']['id']}})[_0x394d('0x1f')](handleEntityNotFound(_0x24f086,null))[_0x394d('0x1f')](saveUpdates(_0x5c913a[_0x394d('0x59')],null))[_0x394d('0x1f')](respondWithResult(_0x24f086,null))[_0x394d('0x57')](handleError(_0x24f086,null));};exports['destroy']=function(_0xf3612b,_0x41a30b){return db[_0x394d('0x3c')][_0x394d('0x5a')]({'where':{'id':_0xf3612b['params']['id']}})[_0x394d('0x1f')](handleEntityNotFound(_0x41a30b,null))[_0x394d('0x1f')](removeEntity(_0x41a30b,null))[_0x394d('0x57')](handleError(_0x41a30b,null));};exports['getFields']=function(_0x3cf02b,_0x4cf271,_0x54b2df){var _0x641f1={};var _0x31973c={};var _0x2c8d07;var _0x5999b9;return db['SugarcrmConfiguration'][_0x394d('0x5b')]({'where':{'id':_0x3cf02b[_0x394d('0x56')]['id']}})[_0x394d('0x1f')](handleEntityNotFound(_0x4cf271,null))[_0x394d('0x1f')](function(_0x43c606){if(_0x43c606){_0x2c8d07=_0x43c606;_0x31973c['model']=_[_0x394d('0x42')](db[_0x394d('0x5c')][_0x394d('0x3d')]);_0x31973c[_0x394d('0x41')]=_['keys'](_0x3cf02b[_0x394d('0x41')]);_0x31973c[_0x394d('0x4c')]=_['intersection'](_0x31973c[_0x394d('0x40')],_0x31973c['query']);_0x641f1[_0x394d('0x44')]=_[_0x394d('0x43')](_0x31973c['model'],qs[_0x394d('0x45')](_0x3cf02b[_0x394d('0x41')][_0x394d('0x45')]));_0x641f1['attributes']=_0x641f1[_0x394d('0x44')][_0x394d('0x46')]?_0x641f1[_0x394d('0x44')]:_0x31973c['model'];_0x641f1[_0x394d('0x49')]=qs[_0x394d('0x4a')](_0x3cf02b['query']['sort']);_0x641f1['where']=qs['filters'](_['pick'](_0x3cf02b[_0x394d('0x41')],_0x31973c[_0x394d('0x4c')]));if(_0x3cf02b[_0x394d('0x41')][_0x394d('0x4d')]){_0x641f1[_0x394d('0x4b')]=_['merge'](_0x641f1[_0x394d('0x4b')],{'$or':_['map'](_0x641f1['attributes'],function(_0x4fb1ba){var _0x311ace={};_0x311ace[_0x4fb1ba]={'$like':'%'+_0x3cf02b[_0x394d('0x41')][_0x394d('0x4d')]+'%'};return _0x311ace;})});}_0x641f1=_['merge']({},_0x641f1,_0x3cf02b[_0x394d('0x51')]);return _0x2c8d07[_0x394d('0x5d')](_0x641f1);}})[_0x394d('0x1f')](function(_0x4c8409){if(_0x4c8409){_0x5999b9=_0x4c8409['length'];if(!_0x3cf02b[_0x394d('0x41')]['hasOwnProperty'](_0x394d('0x48'))){_0x641f1[_0x394d('0x2f')]=qs['limit'](_0x3cf02b[_0x394d('0x41')]['limit']);_0x641f1[_0x394d('0x2e')]=qs[_0x394d('0x2e')](_0x3cf02b[_0x394d('0x41')]['offset']);}return _0x2c8d07[_0x394d('0x5d')](_0x641f1);}})[_0x394d('0x1f')](function(_0x2ff9fe){if(_0x2ff9fe){return _0x2ff9fe?{'count':_0x5999b9,'rows':_0x2ff9fe}:null;}})[_0x394d('0x1f')](respondWithResult(_0x4cf271,null))['catch'](handleError(_0x4cf271,null));};exports[_0x394d('0x5e')]=function(_0x296345,_0xcacb0c,_0x4a0573){var _0x35a100={};var _0x47c9bc={};var _0x5797e7;var _0x22e08f;return db[_0x394d('0x3c')][_0x394d('0x5b')]({'where':{'id':_0x296345[_0x394d('0x56')]['id']}})[_0x394d('0x1f')](handleEntityNotFound(_0xcacb0c,null))[_0x394d('0x1f')](function(_0x17c5a5){if(_0x17c5a5){_0x5797e7=_0x17c5a5;_0x47c9bc[_0x394d('0x40')]=_[_0x394d('0x42')](db[_0x394d('0x5c')][_0x394d('0x3d')]);_0x47c9bc[_0x394d('0x41')]=_[_0x394d('0x42')](_0x296345[_0x394d('0x41')]);_0x47c9bc['filters']=_[_0x394d('0x43')](_0x47c9bc[_0x394d('0x40')],_0x47c9bc['query']);_0x35a100['attributes']=_[_0x394d('0x43')](_0x47c9bc['model'],qs[_0x394d('0x45')](_0x296345[_0x394d('0x41')][_0x394d('0x45')]));_0x35a100[_0x394d('0x44')]=_0x35a100[_0x394d('0x44')][_0x394d('0x46')]?_0x35a100['attributes']:_0x47c9bc[_0x394d('0x40')];_0x35a100[_0x394d('0x49')]=qs[_0x394d('0x4a')](_0x296345[_0x394d('0x41')][_0x394d('0x4a')]);_0x35a100['where']=qs['filters'](_['pick'](_0x296345[_0x394d('0x41')],_0x47c9bc[_0x394d('0x4c')]));if(_0x296345['query'][_0x394d('0x4d')]){_0x35a100[_0x394d('0x4b')]=_[_0x394d('0x50')](_0x35a100['where'],{'$or':_[_0x394d('0x3b')](_0x35a100['attributes'],function(_0x5edbe2){var _0x55a5a3={};_0x55a5a3[_0x5edbe2]={'$like':'%'+_0x296345[_0x394d('0x41')][_0x394d('0x4d')]+'%'};return _0x55a5a3;})});}_0x35a100=_[_0x394d('0x50')]({},_0x35a100,_0x296345['options']);return _0x5797e7[_0x394d('0x5e')](_0x35a100);}})[_0x394d('0x1f')](function(_0x32fbcf){if(_0x32fbcf){_0x22e08f=_0x32fbcf[_0x394d('0x46')];if(!_0x296345[_0x394d('0x41')][_0x394d('0x47')](_0x394d('0x48'))){_0x35a100[_0x394d('0x2f')]=qs[_0x394d('0x2f')](_0x296345[_0x394d('0x41')]['limit']);_0x35a100[_0x394d('0x2e')]=qs['offset'](_0x296345[_0x394d('0x41')]['offset']);}return _0x5797e7[_0x394d('0x5e')](_0x35a100);}})[_0x394d('0x1f')](function(_0x55136a){if(_0x55136a){return _0x55136a?{'count':_0x22e08f,'rows':_0x55136a}:null;}})[_0x394d('0x1f')](respondWithResult(_0xcacb0c,null))['catch'](handleError(_0xcacb0c,null));};exports[_0x394d('0x5f')]=function(_0x5b965d,_0x575759,_0x2fcc7a){var _0x30d647={};var _0x44c05a={};var _0x1e2f93;var _0x3f8ee6;return db[_0x394d('0x3c')][_0x394d('0x5b')]({'where':{'id':_0x5b965d[_0x394d('0x56')]['id']}})[_0x394d('0x1f')](handleEntityNotFound(_0x575759,null))['then'](function(_0x1e57d5){if(_0x1e57d5){_0x1e2f93=_0x1e57d5;_0x44c05a[_0x394d('0x40')]=_['keys'](db['SugarcrmField']['rawAttributes']);_0x44c05a[_0x394d('0x41')]=_['keys'](_0x5b965d[_0x394d('0x41')]);_0x44c05a[_0x394d('0x4c')]=_['intersection'](_0x44c05a['model'],_0x44c05a[_0x394d('0x41')]);_0x30d647[_0x394d('0x44')]=_[_0x394d('0x43')](_0x44c05a[_0x394d('0x40')],qs['fields'](_0x5b965d[_0x394d('0x41')]['fields']));_0x30d647[_0x394d('0x44')]=_0x30d647[_0x394d('0x44')]['length']?_0x30d647[_0x394d('0x44')]:_0x44c05a[_0x394d('0x40')];_0x30d647[_0x394d('0x49')]=qs['sort'](_0x5b965d[_0x394d('0x41')][_0x394d('0x4a')]);_0x30d647[_0x394d('0x4b')]=qs[_0x394d('0x4c')](_[_0x394d('0x60')](_0x5b965d[_0x394d('0x41')],_0x44c05a['filters']));if(_0x5b965d[_0x394d('0x41')][_0x394d('0x4d')]){_0x30d647[_0x394d('0x4b')]=_['merge'](_0x30d647[_0x394d('0x4b')],{'$or':_['map'](_0x30d647['attributes'],function(_0x25b505){var _0xa91053={};_0xa91053[_0x25b505]={'$like':'%'+_0x5b965d[_0x394d('0x41')][_0x394d('0x4d')]+'%'};return _0xa91053;})});}_0x30d647=_[_0x394d('0x50')]({},_0x30d647,_0x5b965d[_0x394d('0x51')]);return _0x1e2f93[_0x394d('0x5f')](_0x30d647);}})[_0x394d('0x1f')](function(_0x5bb545){if(_0x5bb545){_0x3f8ee6=_0x5bb545[_0x394d('0x46')];if(!_0x5b965d[_0x394d('0x41')][_0x394d('0x47')](_0x394d('0x48'))){_0x30d647[_0x394d('0x2f')]=qs['limit'](_0x5b965d[_0x394d('0x41')]['limit']);_0x30d647[_0x394d('0x2e')]=qs[_0x394d('0x2e')](_0x5b965d[_0x394d('0x41')][_0x394d('0x2e')]);}return _0x1e2f93[_0x394d('0x5f')](_0x30d647);}})['then'](function(_0x519e18){if(_0x519e18){return _0x519e18?{'count':_0x3f8ee6,'rows':_0x519e18}:null;}})[_0x394d('0x1f')](respondWithResult(_0x575759,null))['catch'](handleError(_0x575759,null));}; \ No newline at end of file +var _0x451e=['desk.js','querystring','papaparse','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/environment','jayson/promise','client','http','test','Sequelize','The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.','request','then','info','SugarcrmConfiguration,\x20%s,\x20%s','debug','SugarcrmConfiguration,\x20%s,\x20%s,\x20%s','request\x20sent','error','code','message','result','catch','sendStatus','status','json','count','offset','limit','set','apply','reject','save','update','end','stack','name','send','index','map','SugarcrmConfiguration','fieldName','key','model','query','keys','filters','intersection','attributes','fields','length','hasOwnProperty','order','sort','where','pick','filter','merge','type','VIRTUAL','options','include','findAll','rows','show','params','rawAttributes','includeAll','find','create','body','destroy','getFields','findOne','SugarcrmField','getSubjects','nolimit','getDescriptions','eml-format','rimraf','fast-json-patch','request-promise','moment','path','sox','to-csv','lodash','squel','crypto','jsforce'];(function(_0x5ab6dc,_0xd27510){var _0x45a758=function(_0x45c824){while(--_0x45c824){_0x5ab6dc['push'](_0x5ab6dc['shift']());}};_0x45a758(++_0xd27510);}(_0x451e,0x10b));var _0xe451=function(_0x1a4878,_0x26adb8){_0x1a4878=_0x1a4878-0x0;var _0x3e5350=_0x451e[_0x1a4878];return _0x3e5350;};'use strict';var pdf=require('html-pdf');var emlformat=require(_0xe451('0x0'));var rimraf=require(_0xe451('0x1'));var zipdir=require('zip-dir');var jsonpatch=require(_0xe451('0x2'));var rp=require(_0xe451('0x3'));var moment=require(_0xe451('0x4'));var BPromise=require('bluebird');var Mustache=require('mustache');var util=require('util');var path=require(_0xe451('0x5'));var sox=require(_0xe451('0x6'));var csv=require(_0xe451('0x7'));var ejs=require('ejs');var fs=require('fs');var _=require(_0xe451('0x8'));var squel=require(_0xe451('0x9'));var crypto=require(_0xe451('0xa'));var jsforce=require(_0xe451('0xb'));var deskjs=require(_0xe451('0xc'));var toCsv=require(_0xe451('0x7'));var querystring=require(_0xe451('0xd'));var Papa=require(_0xe451('0xe'));var Redis=require('ioredis');var authService=require(_0xe451('0xf'));var qs=require(_0xe451('0x10'));var as=require(_0xe451('0x11'));var hardwareService=require(_0xe451('0x12'));var logger=require('../../config/logger')('api');var utils=require('../../config/utils');var config=require(_0xe451('0x13'));var db=require('../../mysqldb')['db'];var jayson=require(_0xe451('0x14'));var client=jayson[_0xe451('0x15')][_0xe451('0x16')]({'port':0x232a});function checkPasswordPattern(_0x103c6e,_0x55c0a0,_0x553d59){if(_0x553d59){var _0x3fa5e6=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0x3fa5e6[_0xe451('0x17')](_0x55c0a0)){return _0x103c6e;}else{throw new db[(_0xe451('0x18'))]['ValidationError'](_0xe451('0x19'));}}else{return _0x103c6e;}}function respondWithRpcPromise(_0x3096b9,_0x1b5f68,_0x5f34e6,_0x23f026){return new BPromise(function(_0x39c1a9,_0x544321){var _0x1df4aa=_0x23f026||client;return _0x1df4aa[_0xe451('0x1a')](_0x3096b9,_0x5f34e6)[_0xe451('0x1b')](function(_0x33fe1d){logger[_0xe451('0x1c')](_0xe451('0x1d'),_0x1b5f68,'request\x20sent');logger[_0xe451('0x1e')](_0xe451('0x1f'),_0x1b5f68,_0xe451('0x20'),JSON['stringify'](_0x33fe1d));if(_0x33fe1d[_0xe451('0x21')]){if(_0x33fe1d[_0xe451('0x21')][_0xe451('0x22')]===0x1f4){logger[_0xe451('0x21')](_0xe451('0x1d'),_0x1b5f68,_0x33fe1d[_0xe451('0x21')][_0xe451('0x23')]);return _0x544321(_0x33fe1d[_0xe451('0x21')][_0xe451('0x23')]);}logger[_0xe451('0x21')](_0xe451('0x1d'),_0x1b5f68,_0x33fe1d[_0xe451('0x21')]['message']);return _0x39c1a9(_0x33fe1d['error'][_0xe451('0x23')]);}else{logger[_0xe451('0x1c')](_0xe451('0x1d'),_0x1b5f68,_0xe451('0x20'));_0x39c1a9(_0x33fe1d[_0xe451('0x24')][_0xe451('0x23')]);}})[_0xe451('0x25')](function(_0x2e040d){logger['error'](_0xe451('0x1d'),_0x1b5f68,_0x2e040d);_0x544321(_0x2e040d);});});}function respondWithStatusCode(_0x463da2,_0x234c77){_0x234c77=_0x234c77||0xcc;return function(_0xfc37f9){if(_0xfc37f9){return _0x463da2[_0xe451('0x26')](_0x234c77);}return _0x463da2['status'](_0x234c77)['end']();};}function respondWithResult(_0x70b55,_0x18d506){_0x18d506=_0x18d506||0xc8;return function(_0x48c4c3){if(_0x48c4c3){return _0x70b55[_0xe451('0x27')](_0x18d506)[_0xe451('0x28')](_0x48c4c3);}};}function respondWithFilteredResult(_0x5ee0c1,_0x294b90){return function(_0x4bab5a){if(_0x4bab5a){var _0x44c4a5=_0x4bab5a[_0xe451('0x29')],_0x4c6723=_0x294b90[_0xe451('0x2a')],_0x26f00f=_0x294b90[_0xe451('0x2a')]+_0x294b90[_0xe451('0x2b')],_0x42fed5;if(_0x26f00f>=_0x44c4a5){_0x26f00f=_0x44c4a5;_0x42fed5=0xc8;}else{_0x42fed5=0xce;}_0x5ee0c1['status'](_0x42fed5);return _0x5ee0c1[_0xe451('0x2c')]('Content-Range',_0x4c6723+'-'+_0x26f00f+'/'+_0x44c4a5)[_0xe451('0x28')](_0x4bab5a);}return null;};}function patchUpdates(_0x5e8fa5){return function(_0x2631e3){try{jsonpatch[_0xe451('0x2d')](_0x2631e3,_0x5e8fa5,!![]);}catch(_0x47b351){return BPromise[_0xe451('0x2e')](_0x47b351);}return _0x2631e3[_0xe451('0x2f')]();};}function saveUpdates(_0x1d5ec8,_0x450e90){return function(_0x4a3e22){if(_0x4a3e22){return _0x4a3e22[_0xe451('0x30')](_0x1d5ec8)[_0xe451('0x1b')](function(_0x4f2cf9){return _0x4f2cf9;});}return null;};}function removeEntity(_0x1f1598,_0xdde731){return function(_0xf43c36){if(_0xf43c36){return _0xf43c36['destroy']()[_0xe451('0x1b')](function(){_0x1f1598[_0xe451('0x27')](0xcc)[_0xe451('0x31')]();});}};}function handleEntityNotFound(_0x240deb,_0x306286){return function(_0x1c27ba){if(!_0x1c27ba){_0x240deb[_0xe451('0x26')](0x194);}return _0x1c27ba;};}function handleError(_0x266474,_0x2196e0){_0x2196e0=_0x2196e0||0x1f4;return function(_0x195878){logger['error'](_0x195878[_0xe451('0x32')]);if(_0x195878[_0xe451('0x33')]){delete _0x195878[_0xe451('0x33')];}_0x266474[_0xe451('0x27')](_0x2196e0)[_0xe451('0x34')](_0x195878);};}exports[_0xe451('0x35')]=function(_0x2492c1,_0x46acc6){var _0x377451={},_0x59ff2c={},_0x5b8009={'count':0x0,'rows':[]};var _0x53016a=_[_0xe451('0x36')](db[_0xe451('0x37')]['rawAttributes'],function(_0x5d9eea){return{'name':_0x5d9eea[_0xe451('0x38')],'type':_0x5d9eea['type'][_0xe451('0x39')]};});_0x59ff2c[_0xe451('0x3a')]=_[_0xe451('0x36')](_0x53016a,_0xe451('0x33'));_0x59ff2c[_0xe451('0x3b')]=_[_0xe451('0x3c')](_0x2492c1[_0xe451('0x3b')]);_0x59ff2c[_0xe451('0x3d')]=_[_0xe451('0x3e')](_0x59ff2c[_0xe451('0x3a')],_0x59ff2c[_0xe451('0x3b')]);_0x377451[_0xe451('0x3f')]=_[_0xe451('0x3e')](_0x59ff2c[_0xe451('0x3a')],qs[_0xe451('0x40')](_0x2492c1[_0xe451('0x3b')][_0xe451('0x40')]));_0x377451[_0xe451('0x3f')]=_0x377451[_0xe451('0x3f')][_0xe451('0x41')]?_0x377451[_0xe451('0x3f')]:_0x59ff2c[_0xe451('0x3a')];if(!_0x2492c1[_0xe451('0x3b')][_0xe451('0x42')]('nolimit')){_0x377451[_0xe451('0x2b')]=qs[_0xe451('0x2b')](_0x2492c1['query'][_0xe451('0x2b')]);_0x377451[_0xe451('0x2a')]=qs['offset'](_0x2492c1[_0xe451('0x3b')]['offset']);}_0x377451[_0xe451('0x43')]=qs[_0xe451('0x44')](_0x2492c1[_0xe451('0x3b')][_0xe451('0x44')]);_0x377451[_0xe451('0x45')]=qs[_0xe451('0x3d')](_[_0xe451('0x46')](_0x2492c1['query'],_0x59ff2c[_0xe451('0x3d')]),_0x53016a);if(_0x2492c1[_0xe451('0x3b')][_0xe451('0x47')]){_0x377451[_0xe451('0x45')]=_[_0xe451('0x48')](_0x377451['where'],{'$or':_[_0xe451('0x36')](_0x53016a,function(_0x4f1a4b){if(_0x4f1a4b[_0xe451('0x49')]!==_0xe451('0x4a')){var _0x1e2f3a={};_0x1e2f3a[_0x4f1a4b['name']]={'$like':'%'+_0x2492c1[_0xe451('0x3b')]['filter']+'%'};return _0x1e2f3a;}})});}_0x377451=_[_0xe451('0x48')]({},_0x377451,_0x2492c1[_0xe451('0x4b')]);var _0xd874a0={'where':_0x377451[_0xe451('0x45')]};return db['SugarcrmConfiguration'][_0xe451('0x29')](_0xd874a0)[_0xe451('0x1b')](function(_0x34af33){_0x5b8009[_0xe451('0x29')]=_0x34af33;if(_0x2492c1[_0xe451('0x3b')]['includeAll']){_0x377451[_0xe451('0x4c')]=[{'all':!![]}];}return db[_0xe451('0x37')][_0xe451('0x4d')](_0x377451);})[_0xe451('0x1b')](function(_0x1d8a82){_0x5b8009[_0xe451('0x4e')]=_0x1d8a82;return _0x5b8009;})[_0xe451('0x1b')](respondWithFilteredResult(_0x46acc6,_0x377451))[_0xe451('0x25')](handleError(_0x46acc6,null));};exports[_0xe451('0x4f')]=function(_0xbcd88b,_0x5bdbe9){var _0xd74279={'raw':![],'where':{'id':_0xbcd88b[_0xe451('0x50')]['id']}},_0x719497={};_0x719497[_0xe451('0x3a')]=_['keys'](db['SugarcrmConfiguration'][_0xe451('0x51')]);_0x719497[_0xe451('0x3b')]=_['keys'](_0xbcd88b['query']);_0x719497['filters']=_[_0xe451('0x3e')](_0x719497[_0xe451('0x3a')],_0x719497[_0xe451('0x3b')]);_0xd74279[_0xe451('0x3f')]=_[_0xe451('0x3e')](_0x719497[_0xe451('0x3a')],qs['fields'](_0xbcd88b['query'][_0xe451('0x40')]));_0xd74279['attributes']=_0xd74279['attributes'][_0xe451('0x41')]?_0xd74279['attributes']:_0x719497[_0xe451('0x3a')];if(_0xbcd88b[_0xe451('0x3b')][_0xe451('0x52')]){_0xd74279['include']=[{'all':!![]}];}_0xd74279=_[_0xe451('0x48')]({},_0xd74279,_0xbcd88b[_0xe451('0x4b')]);return db['SugarcrmConfiguration'][_0xe451('0x53')](_0xd74279)[_0xe451('0x1b')](handleEntityNotFound(_0x5bdbe9,null))[_0xe451('0x1b')](respondWithResult(_0x5bdbe9,null))[_0xe451('0x25')](handleError(_0x5bdbe9,null));};exports['create']=function(_0x5d81fa,_0x96ac5a){return db[_0xe451('0x37')][_0xe451('0x54')](_0x5d81fa[_0xe451('0x55')],{})['then'](respondWithResult(_0x96ac5a,0xc9))[_0xe451('0x25')](handleError(_0x96ac5a,null));};exports[_0xe451('0x30')]=function(_0x41e88e,_0x15aacc){if(_0x41e88e[_0xe451('0x55')]['id']){delete _0x41e88e[_0xe451('0x55')]['id'];}return db['SugarcrmConfiguration'][_0xe451('0x53')]({'where':{'id':_0x41e88e[_0xe451('0x50')]['id']}})['then'](handleEntityNotFound(_0x15aacc,null))[_0xe451('0x1b')](saveUpdates(_0x41e88e[_0xe451('0x55')],null))['then'](respondWithResult(_0x15aacc,null))['catch'](handleError(_0x15aacc,null));};exports[_0xe451('0x56')]=function(_0x1e10d8,_0x32ea38){return db[_0xe451('0x37')][_0xe451('0x53')]({'where':{'id':_0x1e10d8[_0xe451('0x50')]['id']}})['then'](handleEntityNotFound(_0x32ea38,null))[_0xe451('0x1b')](removeEntity(_0x32ea38,null))[_0xe451('0x25')](handleError(_0x32ea38,null));};exports[_0xe451('0x57')]=function(_0x3920b3,_0x4ed510,_0x53d447){var _0x4465f1={};var _0x58e483={};var _0x11a6ca;var _0x1b4273;return db[_0xe451('0x37')][_0xe451('0x58')]({'where':{'id':_0x3920b3[_0xe451('0x50')]['id']}})[_0xe451('0x1b')](handleEntityNotFound(_0x4ed510,null))[_0xe451('0x1b')](function(_0x2b7dbd){if(_0x2b7dbd){_0x11a6ca=_0x2b7dbd;_0x58e483['model']=_[_0xe451('0x3c')](db[_0xe451('0x59')]['rawAttributes']);_0x58e483[_0xe451('0x3b')]=_[_0xe451('0x3c')](_0x3920b3[_0xe451('0x3b')]);_0x58e483[_0xe451('0x3d')]=_[_0xe451('0x3e')](_0x58e483['model'],_0x58e483[_0xe451('0x3b')]);_0x4465f1['attributes']=_[_0xe451('0x3e')](_0x58e483[_0xe451('0x3a')],qs['fields'](_0x3920b3['query'][_0xe451('0x40')]));_0x4465f1[_0xe451('0x3f')]=_0x4465f1[_0xe451('0x3f')]['length']?_0x4465f1[_0xe451('0x3f')]:_0x58e483['model'];_0x4465f1['order']=qs[_0xe451('0x44')](_0x3920b3[_0xe451('0x3b')][_0xe451('0x44')]);_0x4465f1[_0xe451('0x45')]=qs[_0xe451('0x3d')](_[_0xe451('0x46')](_0x3920b3['query'],_0x58e483['filters']));if(_0x3920b3['query'][_0xe451('0x47')]){_0x4465f1[_0xe451('0x45')]=_[_0xe451('0x48')](_0x4465f1[_0xe451('0x45')],{'$or':_[_0xe451('0x36')](_0x4465f1[_0xe451('0x3f')],function(_0x514729){var _0x29ffc1={};_0x29ffc1[_0x514729]={'$like':'%'+_0x3920b3[_0xe451('0x3b')][_0xe451('0x47')]+'%'};return _0x29ffc1;})});}_0x4465f1=_[_0xe451('0x48')]({},_0x4465f1,_0x3920b3['options']);return _0x11a6ca['getFields'](_0x4465f1);}})[_0xe451('0x1b')](function(_0x6e2da7){if(_0x6e2da7){_0x1b4273=_0x6e2da7['length'];if(!_0x3920b3[_0xe451('0x3b')][_0xe451('0x42')]('nolimit')){_0x4465f1[_0xe451('0x2b')]=qs['limit'](_0x3920b3[_0xe451('0x3b')][_0xe451('0x2b')]);_0x4465f1[_0xe451('0x2a')]=qs[_0xe451('0x2a')](_0x3920b3[_0xe451('0x3b')][_0xe451('0x2a')]);}return _0x11a6ca[_0xe451('0x57')](_0x4465f1);}})[_0xe451('0x1b')](function(_0x137b59){if(_0x137b59){return _0x137b59?{'count':_0x1b4273,'rows':_0x137b59}:null;}})['then'](respondWithResult(_0x4ed510,null))['catch'](handleError(_0x4ed510,null));};exports['getSubjects']=function(_0x194bbf,_0x203a22,_0x398f10){var _0x13862c={};var _0x23bd31={};var _0x4366cd;var _0x4ef8d4;return db[_0xe451('0x37')]['findOne']({'where':{'id':_0x194bbf['params']['id']}})[_0xe451('0x1b')](handleEntityNotFound(_0x203a22,null))[_0xe451('0x1b')](function(_0x5033fd){if(_0x5033fd){_0x4366cd=_0x5033fd;_0x23bd31[_0xe451('0x3a')]=_[_0xe451('0x3c')](db[_0xe451('0x59')]['rawAttributes']);_0x23bd31[_0xe451('0x3b')]=_['keys'](_0x194bbf[_0xe451('0x3b')]);_0x23bd31['filters']=_[_0xe451('0x3e')](_0x23bd31[_0xe451('0x3a')],_0x23bd31['query']);_0x13862c[_0xe451('0x3f')]=_['intersection'](_0x23bd31[_0xe451('0x3a')],qs[_0xe451('0x40')](_0x194bbf['query'][_0xe451('0x40')]));_0x13862c[_0xe451('0x3f')]=_0x13862c[_0xe451('0x3f')][_0xe451('0x41')]?_0x13862c[_0xe451('0x3f')]:_0x23bd31[_0xe451('0x3a')];_0x13862c['order']=qs[_0xe451('0x44')](_0x194bbf['query'][_0xe451('0x44')]);_0x13862c[_0xe451('0x45')]=qs['filters'](_[_0xe451('0x46')](_0x194bbf[_0xe451('0x3b')],_0x23bd31[_0xe451('0x3d')]));if(_0x194bbf[_0xe451('0x3b')][_0xe451('0x47')]){_0x13862c[_0xe451('0x45')]=_[_0xe451('0x48')](_0x13862c[_0xe451('0x45')],{'$or':_[_0xe451('0x36')](_0x13862c[_0xe451('0x3f')],function(_0x234740){var _0x3ff00b={};_0x3ff00b[_0x234740]={'$like':'%'+_0x194bbf['query'][_0xe451('0x47')]+'%'};return _0x3ff00b;})});}_0x13862c=_[_0xe451('0x48')]({},_0x13862c,_0x194bbf['options']);return _0x4366cd[_0xe451('0x5a')](_0x13862c);}})['then'](function(_0x22f906){if(_0x22f906){_0x4ef8d4=_0x22f906[_0xe451('0x41')];if(!_0x194bbf['query']['hasOwnProperty'](_0xe451('0x5b'))){_0x13862c[_0xe451('0x2b')]=qs[_0xe451('0x2b')](_0x194bbf[_0xe451('0x3b')]['limit']);_0x13862c[_0xe451('0x2a')]=qs['offset'](_0x194bbf[_0xe451('0x3b')][_0xe451('0x2a')]);}return _0x4366cd[_0xe451('0x5a')](_0x13862c);}})[_0xe451('0x1b')](function(_0x54e069){if(_0x54e069){return _0x54e069?{'count':_0x4ef8d4,'rows':_0x54e069}:null;}})[_0xe451('0x1b')](respondWithResult(_0x203a22,null))[_0xe451('0x25')](handleError(_0x203a22,null));};exports['getDescriptions']=function(_0x3094bb,_0x2a0c59,_0x3b48e3){var _0x1ce5e0={};var _0x5bfb06={};var _0x1a1e58;var _0x314ae2;return db[_0xe451('0x37')][_0xe451('0x58')]({'where':{'id':_0x3094bb[_0xe451('0x50')]['id']}})['then'](handleEntityNotFound(_0x2a0c59,null))[_0xe451('0x1b')](function(_0x33ad0b){if(_0x33ad0b){_0x1a1e58=_0x33ad0b;_0x5bfb06[_0xe451('0x3a')]=_[_0xe451('0x3c')](db[_0xe451('0x59')][_0xe451('0x51')]);_0x5bfb06['query']=_[_0xe451('0x3c')](_0x3094bb[_0xe451('0x3b')]);_0x5bfb06[_0xe451('0x3d')]=_[_0xe451('0x3e')](_0x5bfb06[_0xe451('0x3a')],_0x5bfb06[_0xe451('0x3b')]);_0x1ce5e0['attributes']=_[_0xe451('0x3e')](_0x5bfb06[_0xe451('0x3a')],qs[_0xe451('0x40')](_0x3094bb['query']['fields']));_0x1ce5e0[_0xe451('0x3f')]=_0x1ce5e0[_0xe451('0x3f')][_0xe451('0x41')]?_0x1ce5e0['attributes']:_0x5bfb06[_0xe451('0x3a')];_0x1ce5e0[_0xe451('0x43')]=qs[_0xe451('0x44')](_0x3094bb[_0xe451('0x3b')][_0xe451('0x44')]);_0x1ce5e0[_0xe451('0x45')]=qs[_0xe451('0x3d')](_[_0xe451('0x46')](_0x3094bb['query'],_0x5bfb06[_0xe451('0x3d')]));if(_0x3094bb[_0xe451('0x3b')][_0xe451('0x47')]){_0x1ce5e0[_0xe451('0x45')]=_[_0xe451('0x48')](_0x1ce5e0[_0xe451('0x45')],{'$or':_[_0xe451('0x36')](_0x1ce5e0[_0xe451('0x3f')],function(_0x314f0c){var _0x3b7f52={};_0x3b7f52[_0x314f0c]={'$like':'%'+_0x3094bb['query'][_0xe451('0x47')]+'%'};return _0x3b7f52;})});}_0x1ce5e0=_[_0xe451('0x48')]({},_0x1ce5e0,_0x3094bb['options']);return _0x1a1e58[_0xe451('0x5c')](_0x1ce5e0);}})[_0xe451('0x1b')](function(_0x3e912a){if(_0x3e912a){_0x314ae2=_0x3e912a[_0xe451('0x41')];if(!_0x3094bb['query']['hasOwnProperty']('nolimit')){_0x1ce5e0[_0xe451('0x2b')]=qs[_0xe451('0x2b')](_0x3094bb[_0xe451('0x3b')][_0xe451('0x2b')]);_0x1ce5e0['offset']=qs[_0xe451('0x2a')](_0x3094bb[_0xe451('0x3b')]['offset']);}return _0x1a1e58['getDescriptions'](_0x1ce5e0);}})[_0xe451('0x1b')](function(_0x59f2d9){if(_0x59f2d9){return _0x59f2d9?{'count':_0x314ae2,'rows':_0x59f2d9}:null;}})[_0xe451('0x1b')](respondWithResult(_0x2a0c59,null))[_0xe451('0x25')](handleError(_0x2a0c59,null));}; \ No newline at end of file diff --git a/server/api/intSugarcrmConfiguration/intSugarcrmConfiguration.model.js b/server/api/intSugarcrmConfiguration/intSugarcrmConfiguration.model.js index 67ae8db..9b7048c 100644 --- a/server/api/intSugarcrmConfiguration/intSugarcrmConfiguration.model.js +++ b/server/api/intSugarcrmConfiguration/intSugarcrmConfiguration.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xa7ab=['int_sugarcrm_configurations','lodash','util','../../config/logger','api','moment','request-promise','rimraf','../../config/environment','./intSugarcrmConfiguration.attributes','exports','define'];(function(_0x33e7c,_0x53b592){var _0x3bbab1=function(_0x4819c3){while(--_0x4819c3){_0x33e7c['push'](_0x33e7c['shift']());}};_0x3bbab1(++_0x53b592);}(_0xa7ab,0x175));var _0xba7a=function(_0x260303,_0x4c9156){_0x260303=_0x260303-0x0;var _0x15f479=_0xa7ab[_0x260303];return _0x15f479;};'use strict';var _=require(_0xba7a('0x0'));var util=require(_0xba7a('0x1'));var logger=require(_0xba7a('0x2'))(_0xba7a('0x3'));var moment=require(_0xba7a('0x4'));var BPromise=require('bluebird');var rp=require(_0xba7a('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0xba7a('0x6'));var config=require(_0xba7a('0x7'));var attributes=require(_0xba7a('0x8'));module[_0xba7a('0x9')]=function(_0x229273,_0x30feab){return _0x229273[_0xba7a('0xa')]('SugarcrmConfiguration',attributes,{'tableName':_0xba7a('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0xc225=['request-promise','path','rimraf','./intSugarcrmConfiguration.attributes','define','SugarcrmConfiguration','int_sugarcrm_configurations','lodash','../../config/logger','api','moment'];(function(_0x40f355,_0x27fac0){var _0x1ebb62=function(_0x5e94f4){while(--_0x5e94f4){_0x40f355['push'](_0x40f355['shift']());}};_0x1ebb62(++_0x27fac0);}(_0xc225,0xd8));var _0x5c22=function(_0x1035c1,_0x2d8583){_0x1035c1=_0x1035c1-0x0;var _0x308d67=_0xc225[_0x1035c1];return _0x308d67;};'use strict';var _=require(_0x5c22('0x0'));var util=require('util');var logger=require(_0x5c22('0x1'))(_0x5c22('0x2'));var moment=require(_0x5c22('0x3'));var BPromise=require('bluebird');var rp=require(_0x5c22('0x4'));var fs=require('fs');var path=require(_0x5c22('0x5'));var rimraf=require(_0x5c22('0x6'));var config=require('../../config/environment');var attributes=require(_0x5c22('0x7'));module['exports']=function(_0x24483a,_0x34ed0b){return _0x24483a[_0x5c22('0x8')](_0x5c22('0x9'),attributes,{'tableName':_0x5c22('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/intSugarcrmConfiguration/intSugarcrmConfiguration.rpc.js b/server/api/intSugarcrmConfiguration/intSugarcrmConfiguration.rpc.js index b9eb929..1aef90d 100644 --- a/server/api/intSugarcrmConfiguration/intSugarcrmConfiguration.rpc.js +++ b/server/api/intSugarcrmConfiguration/intSugarcrmConfiguration.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x1cc6=['lodash','util','moment','bluebird','ioredis','../../mysqldb','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','client','http','request','then','info','SugarcrmConfiguration,\x20%s,\x20%s','request\x20sent','SugarcrmConfiguration,\x20%s,\x20%s,\x20%s','stringify','code','error','message','result','catch'];(function(_0x3e95d8,_0x46c6c4){var _0xcc3b25=function(_0x56c821){while(--_0x56c821){_0x3e95d8['push'](_0x3e95d8['shift']());}};_0xcc3b25(++_0x46c6c4);}(_0x1cc6,0x1f4));var _0x61cc=function(_0x946518,_0x22816f){_0x946518=_0x946518-0x0;var _0x909b69=_0x1cc6[_0x946518];return _0x909b69;};'use strict';var _=require(_0x61cc('0x0'));var util=require(_0x61cc('0x1'));var moment=require(_0x61cc('0x2'));var BPromise=require(_0x61cc('0x3'));var rs=require('randomstring');var fs=require('fs');var Redis=require(_0x61cc('0x4'));var db=require(_0x61cc('0x5'))['db'];var utils=require(_0x61cc('0x6'));var logger=require(_0x61cc('0x7'))(_0x61cc('0x8'));var config=require(_0x61cc('0x9'));var jayson=require(_0x61cc('0xa'));var client=jayson[_0x61cc('0xb')][_0x61cc('0xc')]({'port':0x232a});function respondWithRpcPromise(_0x1b8b58,_0x33c662,_0x25da9c){return new BPromise(function(_0x7277fb,_0x5c8581){return client[_0x61cc('0xd')](_0x1b8b58,_0x25da9c)[_0x61cc('0xe')](function(_0x46608f){logger[_0x61cc('0xf')](_0x61cc('0x10'),_0x33c662,_0x61cc('0x11'));logger['debug'](_0x61cc('0x12'),_0x33c662,_0x61cc('0x11'),JSON[_0x61cc('0x13')](_0x46608f));if(_0x46608f['error']){if(_0x46608f['error'][_0x61cc('0x14')]===0x1f4){logger[_0x61cc('0x15')](_0x61cc('0x10'),_0x33c662,_0x46608f['error'][_0x61cc('0x16')]);return _0x5c8581(_0x46608f['error']['message']);}logger[_0x61cc('0x15')](_0x61cc('0x10'),_0x33c662,_0x46608f['error'][_0x61cc('0x16')]);return _0x7277fb(_0x46608f[_0x61cc('0x15')][_0x61cc('0x16')]);}else{logger[_0x61cc('0xf')](_0x61cc('0x10'),_0x33c662,'request\x20sent');_0x7277fb(_0x46608f[_0x61cc('0x17')]['message']);}})[_0x61cc('0x18')](function(_0x431e2c){logger[_0x61cc('0x15')]('SugarcrmConfiguration,\x20%s,\x20%s',_0x33c662,_0x431e2c);_0x5c8581(_0x431e2c);});});} \ No newline at end of file +var _0x75b5=['result','catch','lodash','moment','bluebird','randomstring','ioredis','../../config/logger','rpc','jayson/promise','client','http','info','SugarcrmConfiguration,\x20%s,\x20%s','SugarcrmConfiguration,\x20%s,\x20%s,\x20%s','request\x20sent','stringify','error','message'];(function(_0xb66df,_0x4fb5ce){var _0x42a702=function(_0x252d1d){while(--_0x252d1d){_0xb66df['push'](_0xb66df['shift']());}};_0x42a702(++_0x4fb5ce);}(_0x75b5,0x17e));var _0x575b=function(_0xc67528,_0x24e2fb){_0xc67528=_0xc67528-0x0;var _0x38e26d=_0x75b5[_0xc67528];return _0x38e26d;};'use strict';var _=require(_0x575b('0x0'));var util=require('util');var moment=require(_0x575b('0x1'));var BPromise=require(_0x575b('0x2'));var rs=require(_0x575b('0x3'));var fs=require('fs');var Redis=require(_0x575b('0x4'));var db=require('../../mysqldb')['db'];var utils=require('../../config/utils');var logger=require(_0x575b('0x5'))(_0x575b('0x6'));var config=require('../../config/environment');var jayson=require(_0x575b('0x7'));var client=jayson[_0x575b('0x8')][_0x575b('0x9')]({'port':0x232a});function respondWithRpcPromise(_0x2e9b73,_0x158e9a,_0x248d14){return new BPromise(function(_0x47cbc7,_0x5edfa5){return client['request'](_0x2e9b73,_0x248d14)['then'](function(_0x5a7e3d){logger[_0x575b('0xa')](_0x575b('0xb'),_0x158e9a,'request\x20sent');logger['debug'](_0x575b('0xc'),_0x158e9a,_0x575b('0xd'),JSON[_0x575b('0xe')](_0x5a7e3d));if(_0x5a7e3d[_0x575b('0xf')]){if(_0x5a7e3d['error']['code']===0x1f4){logger['error'](_0x575b('0xb'),_0x158e9a,_0x5a7e3d[_0x575b('0xf')][_0x575b('0x10')]);return _0x5edfa5(_0x5a7e3d[_0x575b('0xf')][_0x575b('0x10')]);}logger[_0x575b('0xf')](_0x575b('0xb'),_0x158e9a,_0x5a7e3d[_0x575b('0xf')][_0x575b('0x10')]);return _0x47cbc7(_0x5a7e3d[_0x575b('0xf')][_0x575b('0x10')]);}else{logger['info'](_0x575b('0xb'),_0x158e9a,_0x575b('0xd'));_0x47cbc7(_0x5a7e3d[_0x575b('0x11')][_0x575b('0x10')]);}})[_0x575b('0x12')](function(_0x44e5e0){logger[_0x575b('0xf')](_0x575b('0xb'),_0x158e9a,_0x44e5e0);_0x5edfa5(_0x44e5e0);});});} \ No newline at end of file diff --git a/server/api/intSugarcrmField/index.js b/server/api/intSugarcrmField/index.js index 671209b..470aabe 100644 --- a/server/api/intSugarcrmField/index.js +++ b/server/api/intSugarcrmField/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x8d7d=['connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./intSugarcrmField.controller','get','index','/:id','show','isAuthenticated','create','put','update','util','path'];(function(_0x2070da,_0x45e586){var _0x4f9fe1=function(_0x5b6f2a){while(--_0x5b6f2a){_0x2070da['push'](_0x2070da['shift']());}};_0x4f9fe1(++_0x45e586);}(_0x8d7d,0xae));var _0xd8d7=function(_0x2a7dca,_0x1739de){_0x2a7dca=_0x2a7dca-0x0;var _0x43fa8e=_0x8d7d[_0x2a7dca];return _0x43fa8e;};'use strict';var multer=require('multer');var util=require(_0xd8d7('0x0'));var path=require(_0xd8d7('0x1'));var timeout=require(_0xd8d7('0x2'));var express=require('express');var router=express[_0xd8d7('0x3')]();var auth=require(_0xd8d7('0x4'));var interaction=require(_0xd8d7('0x5'));var config=require(_0xd8d7('0x6'));var controller=require(_0xd8d7('0x7'));router[_0xd8d7('0x8')]('/',auth['isAuthenticated'](),controller[_0xd8d7('0x9')]);router['get'](_0xd8d7('0xa'),auth['isAuthenticated'](),controller[_0xd8d7('0xb')]);router['post']('/',auth[_0xd8d7('0xc')](),controller[_0xd8d7('0xd')]);router[_0xd8d7('0xe')](_0xd8d7('0xa'),auth['isAuthenticated'](),controller[_0xd8d7('0xf')]);router['delete'](_0xd8d7('0xa'),auth[_0xd8d7('0xc')](),controller['destroy']);module['exports']=router; \ No newline at end of file +var _0xb236=['post','put','update','delete','destroy','exports','util','path','express','../../components/auth/service','../../components/interaction/service','get','isAuthenticated','index','/:id'];(function(_0x59a54c,_0x4b969a){var _0x1944bf=function(_0x515bb9){while(--_0x515bb9){_0x59a54c['push'](_0x59a54c['shift']());}};_0x1944bf(++_0x4b969a);}(_0xb236,0x105));var _0x6b23=function(_0x4f7fe9,_0x4f86c3){_0x4f7fe9=_0x4f7fe9-0x0;var _0x433b22=_0xb236[_0x4f7fe9];return _0x433b22;};'use strict';var multer=require('multer');var util=require(_0x6b23('0x0'));var path=require(_0x6b23('0x1'));var timeout=require('connect-timeout');var express=require(_0x6b23('0x2'));var router=express['Router']();var auth=require(_0x6b23('0x3'));var interaction=require(_0x6b23('0x4'));var config=require('../../config/environment');var controller=require('./intSugarcrmField.controller');router[_0x6b23('0x5')]('/',auth[_0x6b23('0x6')](),controller[_0x6b23('0x7')]);router['get'](_0x6b23('0x8'),auth[_0x6b23('0x6')](),controller['show']);router[_0x6b23('0x9')]('/',auth[_0x6b23('0x6')](),controller['create']);router[_0x6b23('0xa')](_0x6b23('0x8'),auth[_0x6b23('0x6')](),controller[_0x6b23('0xb')]);router[_0x6b23('0xc')](_0x6b23('0x8'),auth[_0x6b23('0x6')](),controller[_0x6b23('0xd')]);module[_0x6b23('0xe')]=router; \ No newline at end of file diff --git a/server/api/intSugarcrmField/intSugarcrmField.attributes.js b/server/api/intSugarcrmField/intSugarcrmField.attributes.js index 89166c7..17b9d36 100644 --- a/server/api/intSugarcrmField/intSugarcrmField.attributes.js +++ b/server/api/intSugarcrmField/intSugarcrmField.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x5bb7=['exports','ENUM','string','variable','customVariable','keyValue','STRING','BOOLEAN','sequelize'];(function(_0x369cc4,_0x39e74a){var _0x59d54b=function(_0x185d5b){while(--_0x185d5b){_0x369cc4['push'](_0x369cc4['shift']());}};_0x59d54b(++_0x39e74a);}(_0x5bb7,0x1ee));var _0x75bb=function(_0x9df060,_0x253d33){_0x9df060=_0x9df060-0x0;var _0x338dfe=_0x5bb7[_0x9df060];return _0x338dfe;};'use strict';var Sequelize=require(_0x75bb('0x0'));module[_0x75bb('0x1')]={'type':{'type':Sequelize[_0x75bb('0x2')](_0x75bb('0x3'),_0x75bb('0x4'),_0x75bb('0x5'),_0x75bb('0x6')),'defaultValue':_0x75bb('0x3')},'content':{'type':Sequelize['STRING']},'key':{'type':Sequelize[_0x75bb('0x7')]},'keyType':{'type':Sequelize[_0x75bb('0x2')](_0x75bb('0x3'),_0x75bb('0x4'),_0x75bb('0x5'))},'keyContent':{'type':Sequelize['STRING']},'idField':{'type':Sequelize['STRING']},'nameField':{'type':Sequelize['STRING']},'customField':{'type':Sequelize[_0x75bb('0x8')],'defaultValue':!![]},'variableName':{'type':Sequelize['STRING']}}; \ No newline at end of file +var _0xdf67=['exports','ENUM','string','customVariable','keyValue','STRING','variable','sequelize'];(function(_0x5e3b04,_0xbb6795){var _0x1fc44d=function(_0x3472a1){while(--_0x3472a1){_0x5e3b04['push'](_0x5e3b04['shift']());}};_0x1fc44d(++_0xbb6795);}(_0xdf67,0x117));var _0x7df6=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xdf67[_0x3dd15e];return _0x231fd0;};'use strict';var Sequelize=require(_0x7df6('0x0'));module[_0x7df6('0x1')]={'type':{'type':Sequelize[_0x7df6('0x2')](_0x7df6('0x3'),'variable',_0x7df6('0x4'),_0x7df6('0x5')),'defaultValue':_0x7df6('0x3')},'content':{'type':Sequelize[_0x7df6('0x6')]},'key':{'type':Sequelize[_0x7df6('0x6')]},'keyType':{'type':Sequelize[_0x7df6('0x2')](_0x7df6('0x3'),_0x7df6('0x7'),'customVariable')},'keyContent':{'type':Sequelize[_0x7df6('0x6')]},'idField':{'type':Sequelize[_0x7df6('0x6')]},'nameField':{'type':Sequelize[_0x7df6('0x6')]},'customField':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'variableName':{'type':Sequelize[_0x7df6('0x6')]}}; \ No newline at end of file diff --git a/server/api/intSugarcrmField/intSugarcrmField.controller.js b/server/api/intSugarcrmField/intSugarcrmField.controller.js index 3489c1a..137e418 100644 --- a/server/api/intSugarcrmField/intSugarcrmField.controller.js +++ b/server/api/intSugarcrmField/intSugarcrmField.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xe948=['nolimit','limit','sort','where','pick','filter','merge','VIRTUAL','options','count','includeAll','include','findAll','rows','show','params','find','create','body','catch','destroy','html-pdf','eml-format','rimraf','zip-dir','request-promise','moment','bluebird','sox','to-csv','ejs','lodash','squel','jsforce','desk.js','papaparse','ioredis','../../components/parsers/qs','../../config/license/hardware','api','../../config/utils','../../mysqldb','sendStatus','status','end','json','offset','Content-Range','apply','reject','save','update','then','error','stack','name','map','SugarcrmField','rawAttributes','fieldName','type','key','model','query','keys','filters','intersection','attributes','fields','length'];(function(_0x7715eb,_0x2372f8){var _0x455e0e=function(_0x4757d5){while(--_0x4757d5){_0x7715eb['push'](_0x7715eb['shift']());}};_0x455e0e(++_0x2372f8);}(_0xe948,0x1b9));var _0x8e94=function(_0x15ab66,_0x71c497){_0x15ab66=_0x15ab66-0x0;var _0x2ae421=_0xe948[_0x15ab66];return _0x2ae421;};'use strict';var pdf=require(_0x8e94('0x0'));var emlformat=require(_0x8e94('0x1'));var rimraf=require(_0x8e94('0x2'));var zipdir=require(_0x8e94('0x3'));var jsonpatch=require('fast-json-patch');var rp=require(_0x8e94('0x4'));var moment=require(_0x8e94('0x5'));var BPromise=require(_0x8e94('0x6'));var Mustache=require('mustache');var util=require('util');var path=require('path');var sox=require(_0x8e94('0x7'));var csv=require(_0x8e94('0x8'));var ejs=require(_0x8e94('0x9'));var fs=require('fs');var _=require(_0x8e94('0xa'));var squel=require(_0x8e94('0xb'));var crypto=require('crypto');var jsforce=require(_0x8e94('0xc'));var deskjs=require(_0x8e94('0xd'));var toCsv=require(_0x8e94('0x8'));var querystring=require('querystring');var Papa=require(_0x8e94('0xe'));var Redis=require(_0x8e94('0xf'));var authService=require('../../components/auth/service');var qs=require(_0x8e94('0x10'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0x8e94('0x11'));var logger=require('../../config/logger')(_0x8e94('0x12'));var utils=require(_0x8e94('0x13'));var config=require('../../config/environment');var db=require(_0x8e94('0x14'))['db'];function respondWithStatusCode(_0x6bb902,_0x1d7bc3){_0x1d7bc3=_0x1d7bc3||0xcc;return function(_0xf02904){if(_0xf02904){return _0x6bb902[_0x8e94('0x15')](_0x1d7bc3);}return _0x6bb902[_0x8e94('0x16')](_0x1d7bc3)[_0x8e94('0x17')]();};}function respondWithResult(_0x2889c2,_0x1673c8){_0x1673c8=_0x1673c8||0xc8;return function(_0x2c5db8){if(_0x2c5db8){return _0x2889c2[_0x8e94('0x16')](_0x1673c8)[_0x8e94('0x18')](_0x2c5db8);}};}function respondWithFilteredResult(_0x4058fa,_0x3df805){return function(_0x2ccf8c){if(_0x2ccf8c){var _0x54c061=_0x2ccf8c['count'],_0x93e679=_0x3df805['offset'],_0x3c9a0e=_0x3df805[_0x8e94('0x19')]+_0x3df805['limit'],_0x27bda2;if(_0x3c9a0e>=_0x54c061){_0x3c9a0e=_0x54c061;_0x27bda2=0xc8;}else{_0x27bda2=0xce;}_0x4058fa[_0x8e94('0x16')](_0x27bda2);return _0x4058fa['set'](_0x8e94('0x1a'),_0x93e679+'-'+_0x3c9a0e+'/'+_0x54c061)[_0x8e94('0x18')](_0x2ccf8c);}return null;};}function patchUpdates(_0x2baaab){return function(_0x3aef8b){try{jsonpatch[_0x8e94('0x1b')](_0x3aef8b,_0x2baaab,!![]);}catch(_0x233e33){return BPromise[_0x8e94('0x1c')](_0x233e33);}return _0x3aef8b[_0x8e94('0x1d')]();};}function saveUpdates(_0x2c2ab,_0x44eb0c){return function(_0x3ea97f){if(_0x3ea97f){return _0x3ea97f[_0x8e94('0x1e')](_0x2c2ab)['then'](function(_0x5a2273){return _0x5a2273;});}return null;};}function removeEntity(_0x3c494d,_0x370e78){return function(_0x1cde80){if(_0x1cde80){return _0x1cde80['destroy']()[_0x8e94('0x1f')](function(){_0x3c494d[_0x8e94('0x16')](0xcc)[_0x8e94('0x17')]();});}};}function handleEntityNotFound(_0x4dabed,_0x3f434d){return function(_0x518e7b){if(!_0x518e7b){_0x4dabed['sendStatus'](0x194);}return _0x518e7b;};}function handleError(_0xb2e1d3,_0xac0c4b){_0xac0c4b=_0xac0c4b||0x1f4;return function(_0x522388){logger[_0x8e94('0x20')](_0x522388[_0x8e94('0x21')]);if(_0x522388[_0x8e94('0x22')]){delete _0x522388[_0x8e94('0x22')];}_0xb2e1d3[_0x8e94('0x16')](_0xac0c4b)['send'](_0x522388);};}exports['index']=function(_0x8ec39,_0x46a8a5){var _0xeaef1={},_0xc2a1e={},_0x3900d4={'count':0x0,'rows':[]};var _0x2cb72a=_[_0x8e94('0x23')](db[_0x8e94('0x24')][_0x8e94('0x25')],function(_0x158278){return{'name':_0x158278[_0x8e94('0x26')],'type':_0x158278[_0x8e94('0x27')][_0x8e94('0x28')]};});_0xc2a1e[_0x8e94('0x29')]=_[_0x8e94('0x23')](_0x2cb72a,_0x8e94('0x22'));_0xc2a1e[_0x8e94('0x2a')]=_[_0x8e94('0x2b')](_0x8ec39[_0x8e94('0x2a')]);_0xc2a1e[_0x8e94('0x2c')]=_[_0x8e94('0x2d')](_0xc2a1e[_0x8e94('0x29')],_0xc2a1e[_0x8e94('0x2a')]);_0xeaef1[_0x8e94('0x2e')]=_['intersection'](_0xc2a1e['model'],qs[_0x8e94('0x2f')](_0x8ec39['query']['fields']));_0xeaef1[_0x8e94('0x2e')]=_0xeaef1['attributes'][_0x8e94('0x30')]?_0xeaef1[_0x8e94('0x2e')]:_0xc2a1e['model'];if(!_0x8ec39[_0x8e94('0x2a')]['hasOwnProperty'](_0x8e94('0x31'))){_0xeaef1[_0x8e94('0x32')]=qs[_0x8e94('0x32')](_0x8ec39['query'][_0x8e94('0x32')]);_0xeaef1[_0x8e94('0x19')]=qs[_0x8e94('0x19')](_0x8ec39['query'][_0x8e94('0x19')]);}_0xeaef1['order']=qs[_0x8e94('0x33')](_0x8ec39[_0x8e94('0x2a')]['sort']);_0xeaef1[_0x8e94('0x34')]=qs[_0x8e94('0x2c')](_[_0x8e94('0x35')](_0x8ec39[_0x8e94('0x2a')],_0xc2a1e[_0x8e94('0x2c')]),_0x2cb72a);if(_0x8ec39[_0x8e94('0x2a')][_0x8e94('0x36')]){_0xeaef1[_0x8e94('0x34')]=_[_0x8e94('0x37')](_0xeaef1[_0x8e94('0x34')],{'$or':_[_0x8e94('0x23')](_0x2cb72a,function(_0x4a9d2b){if(_0x4a9d2b[_0x8e94('0x27')]!==_0x8e94('0x38')){var _0x42b885={};_0x42b885[_0x4a9d2b[_0x8e94('0x22')]]={'$like':'%'+_0x8ec39[_0x8e94('0x2a')]['filter']+'%'};return _0x42b885;}})});}_0xeaef1=_[_0x8e94('0x37')]({},_0xeaef1,_0x8ec39[_0x8e94('0x39')]);var _0xbf4839={'where':_0xeaef1['where']};return db[_0x8e94('0x24')][_0x8e94('0x3a')](_0xbf4839)[_0x8e94('0x1f')](function(_0x253b4f){_0x3900d4[_0x8e94('0x3a')]=_0x253b4f;if(_0x8ec39[_0x8e94('0x2a')][_0x8e94('0x3b')]){_0xeaef1[_0x8e94('0x3c')]=[{'all':!![]}];}return db[_0x8e94('0x24')][_0x8e94('0x3d')](_0xeaef1);})[_0x8e94('0x1f')](function(_0x35169b){_0x3900d4[_0x8e94('0x3e')]=_0x35169b;return _0x3900d4;})[_0x8e94('0x1f')](respondWithFilteredResult(_0x46a8a5,_0xeaef1))['catch'](handleError(_0x46a8a5,null));};exports[_0x8e94('0x3f')]=function(_0x183bf1,_0x567046){var _0xaffce8={'raw':!![],'where':{'id':_0x183bf1[_0x8e94('0x40')]['id']}},_0x343bfa={};_0x343bfa[_0x8e94('0x29')]=_[_0x8e94('0x2b')](db[_0x8e94('0x24')][_0x8e94('0x25')]);_0x343bfa[_0x8e94('0x2a')]=_[_0x8e94('0x2b')](_0x183bf1[_0x8e94('0x2a')]);_0x343bfa[_0x8e94('0x2c')]=_[_0x8e94('0x2d')](_0x343bfa[_0x8e94('0x29')],_0x343bfa[_0x8e94('0x2a')]);_0xaffce8[_0x8e94('0x2e')]=_[_0x8e94('0x2d')](_0x343bfa[_0x8e94('0x29')],qs[_0x8e94('0x2f')](_0x183bf1[_0x8e94('0x2a')][_0x8e94('0x2f')]));_0xaffce8['attributes']=_0xaffce8[_0x8e94('0x2e')][_0x8e94('0x30')]?_0xaffce8[_0x8e94('0x2e')]:_0x343bfa['model'];if(_0x183bf1[_0x8e94('0x2a')]['includeAll']){_0xaffce8[_0x8e94('0x3c')]=[{'all':!![]}];}_0xaffce8=_[_0x8e94('0x37')]({},_0xaffce8,_0x183bf1[_0x8e94('0x39')]);return db[_0x8e94('0x24')][_0x8e94('0x41')](_0xaffce8)['then'](handleEntityNotFound(_0x567046,null))[_0x8e94('0x1f')](respondWithResult(_0x567046,null))['catch'](handleError(_0x567046,null));};exports[_0x8e94('0x42')]=function(_0x2fa2b4,_0x1a0df2){return db[_0x8e94('0x24')]['create'](_0x2fa2b4[_0x8e94('0x43')],{})[_0x8e94('0x1f')](respondWithResult(_0x1a0df2,0xc9))[_0x8e94('0x44')](handleError(_0x1a0df2,null));};exports[_0x8e94('0x1e')]=function(_0x1573c4,_0x504eb1){if(_0x1573c4[_0x8e94('0x43')]['id']){delete _0x1573c4[_0x8e94('0x43')]['id'];}return db['SugarcrmField']['find']({'where':{'id':_0x1573c4[_0x8e94('0x40')]['id']}})[_0x8e94('0x1f')](handleEntityNotFound(_0x504eb1,null))[_0x8e94('0x1f')](saveUpdates(_0x1573c4[_0x8e94('0x43')],null))[_0x8e94('0x1f')](respondWithResult(_0x504eb1,null))[_0x8e94('0x44')](handleError(_0x504eb1,null));};exports[_0x8e94('0x45')]=function(_0x1cf3ff,_0x3009b7){return db[_0x8e94('0x24')][_0x8e94('0x41')]({'where':{'id':_0x1cf3ff[_0x8e94('0x40')]['id']}})['then'](handleEntityNotFound(_0x3009b7,null))[_0x8e94('0x1f')](removeEntity(_0x3009b7,null))[_0x8e94('0x44')](handleError(_0x3009b7,null));}; \ No newline at end of file +var _0xc412=['update','then','destroy','name','map','rawAttributes','fieldName','type','model','query','keys','filters','intersection','attributes','fields','length','hasOwnProperty','nolimit','order','sort','pick','filter','where','merge','SugarcrmField','findAll','rows','show','include','options','find','catch','create','body','params','eml-format','rimraf','zip-dir','request-promise','moment','bluebird','mustache','util','path','to-csv','ejs','lodash','squel','crypto','jsforce','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/advancedSearch','../../config/license/hardware','api','../../config/utils','../../config/environment','../../mysqldb','sendStatus','status','end','json','count','offset','limit','apply','reject','save'];(function(_0x3db6b1,_0x5abbcb){var _0x55b5c4=function(_0x4d90a7){while(--_0x4d90a7){_0x3db6b1['push'](_0x3db6b1['shift']());}};_0x55b5c4(++_0x5abbcb);}(_0xc412,0x13f));var _0x2c41=function(_0x54ed08,_0x2d88ed){_0x54ed08=_0x54ed08-0x0;var _0x51d745=_0xc412[_0x54ed08];return _0x51d745;};'use strict';var pdf=require('html-pdf');var emlformat=require(_0x2c41('0x0'));var rimraf=require(_0x2c41('0x1'));var zipdir=require(_0x2c41('0x2'));var jsonpatch=require('fast-json-patch');var rp=require(_0x2c41('0x3'));var moment=require(_0x2c41('0x4'));var BPromise=require(_0x2c41('0x5'));var Mustache=require(_0x2c41('0x6'));var util=require(_0x2c41('0x7'));var path=require(_0x2c41('0x8'));var sox=require('sox');var csv=require(_0x2c41('0x9'));var ejs=require(_0x2c41('0xa'));var fs=require('fs');var _=require(_0x2c41('0xb'));var squel=require(_0x2c41('0xc'));var crypto=require(_0x2c41('0xd'));var jsforce=require(_0x2c41('0xe'));var deskjs=require(_0x2c41('0xf'));var toCsv=require(_0x2c41('0x9'));var querystring=require(_0x2c41('0x10'));var Papa=require(_0x2c41('0x11'));var Redis=require(_0x2c41('0x12'));var authService=require(_0x2c41('0x13'));var qs=require('../../components/parsers/qs');var as=require(_0x2c41('0x14'));var hardwareService=require(_0x2c41('0x15'));var logger=require('../../config/logger')(_0x2c41('0x16'));var utils=require(_0x2c41('0x17'));var config=require(_0x2c41('0x18'));var db=require(_0x2c41('0x19'))['db'];function respondWithStatusCode(_0x3f6e11,_0xf1ec76){_0xf1ec76=_0xf1ec76||0xcc;return function(_0x5e6f60){if(_0x5e6f60){return _0x3f6e11[_0x2c41('0x1a')](_0xf1ec76);}return _0x3f6e11[_0x2c41('0x1b')](_0xf1ec76)[_0x2c41('0x1c')]();};}function respondWithResult(_0x18f4e0,_0x56b4c3){_0x56b4c3=_0x56b4c3||0xc8;return function(_0x3ce10f){if(_0x3ce10f){return _0x18f4e0[_0x2c41('0x1b')](_0x56b4c3)[_0x2c41('0x1d')](_0x3ce10f);}};}function respondWithFilteredResult(_0x4ca990,_0x257703){return function(_0x4ddfdb){if(_0x4ddfdb){var _0x279737=_0x4ddfdb[_0x2c41('0x1e')],_0xb1497=_0x257703[_0x2c41('0x1f')],_0x99abe4=_0x257703['offset']+_0x257703[_0x2c41('0x20')],_0x443faf;if(_0x99abe4>=_0x279737){_0x99abe4=_0x279737;_0x443faf=0xc8;}else{_0x443faf=0xce;}_0x4ca990[_0x2c41('0x1b')](_0x443faf);return _0x4ca990['set']('Content-Range',_0xb1497+'-'+_0x99abe4+'/'+_0x279737)[_0x2c41('0x1d')](_0x4ddfdb);}return null;};}function patchUpdates(_0x5c8b6e){return function(_0x5579d2){try{jsonpatch[_0x2c41('0x21')](_0x5579d2,_0x5c8b6e,!![]);}catch(_0x32aa91){return BPromise[_0x2c41('0x22')](_0x32aa91);}return _0x5579d2[_0x2c41('0x23')]();};}function saveUpdates(_0x286ff1,_0xec980c){return function(_0x267cf){if(_0x267cf){return _0x267cf[_0x2c41('0x24')](_0x286ff1)[_0x2c41('0x25')](function(_0x4ac972){return _0x4ac972;});}return null;};}function removeEntity(_0x478888,_0xb39656){return function(_0x4d0656){if(_0x4d0656){return _0x4d0656[_0x2c41('0x26')]()['then'](function(){_0x478888[_0x2c41('0x1b')](0xcc)[_0x2c41('0x1c')]();});}};}function handleEntityNotFound(_0x202a2e,_0x310e30){return function(_0x1ae367){if(!_0x1ae367){_0x202a2e[_0x2c41('0x1a')](0x194);}return _0x1ae367;};}function handleError(_0x296846,_0x18a354){_0x18a354=_0x18a354||0x1f4;return function(_0x325255){logger['error'](_0x325255['stack']);if(_0x325255[_0x2c41('0x27')]){delete _0x325255[_0x2c41('0x27')];}_0x296846[_0x2c41('0x1b')](_0x18a354)['send'](_0x325255);};}exports['index']=function(_0x2c5474,_0x3f8c88){var _0x423e57={},_0x1896e7={},_0x12c7a8={'count':0x0,'rows':[]};var _0x211303=_[_0x2c41('0x28')](db['SugarcrmField'][_0x2c41('0x29')],function(_0x283684){return{'name':_0x283684[_0x2c41('0x2a')],'type':_0x283684[_0x2c41('0x2b')]['key']};});_0x1896e7[_0x2c41('0x2c')]=_['map'](_0x211303,'name');_0x1896e7[_0x2c41('0x2d')]=_[_0x2c41('0x2e')](_0x2c5474[_0x2c41('0x2d')]);_0x1896e7[_0x2c41('0x2f')]=_[_0x2c41('0x30')](_0x1896e7[_0x2c41('0x2c')],_0x1896e7['query']);_0x423e57[_0x2c41('0x31')]=_[_0x2c41('0x30')](_0x1896e7[_0x2c41('0x2c')],qs[_0x2c41('0x32')](_0x2c5474[_0x2c41('0x2d')]['fields']));_0x423e57[_0x2c41('0x31')]=_0x423e57['attributes'][_0x2c41('0x33')]?_0x423e57[_0x2c41('0x31')]:_0x1896e7['model'];if(!_0x2c5474[_0x2c41('0x2d')][_0x2c41('0x34')](_0x2c41('0x35'))){_0x423e57[_0x2c41('0x20')]=qs[_0x2c41('0x20')](_0x2c5474[_0x2c41('0x2d')][_0x2c41('0x20')]);_0x423e57[_0x2c41('0x1f')]=qs['offset'](_0x2c5474['query'][_0x2c41('0x1f')]);}_0x423e57[_0x2c41('0x36')]=qs[_0x2c41('0x37')](_0x2c5474['query'][_0x2c41('0x37')]);_0x423e57['where']=qs[_0x2c41('0x2f')](_[_0x2c41('0x38')](_0x2c5474['query'],_0x1896e7[_0x2c41('0x2f')]),_0x211303);if(_0x2c5474['query'][_0x2c41('0x39')]){_0x423e57[_0x2c41('0x3a')]=_[_0x2c41('0x3b')](_0x423e57['where'],{'$or':_[_0x2c41('0x28')](_0x211303,function(_0x39d523){if(_0x39d523[_0x2c41('0x2b')]!=='VIRTUAL'){var _0x1c9fbb={};_0x1c9fbb[_0x39d523[_0x2c41('0x27')]]={'$like':'%'+_0x2c5474[_0x2c41('0x2d')][_0x2c41('0x39')]+'%'};return _0x1c9fbb;}})});}_0x423e57=_[_0x2c41('0x3b')]({},_0x423e57,_0x2c5474['options']);var _0x2c700f={'where':_0x423e57[_0x2c41('0x3a')]};return db[_0x2c41('0x3c')][_0x2c41('0x1e')](_0x2c700f)[_0x2c41('0x25')](function(_0x33a9ec){_0x12c7a8[_0x2c41('0x1e')]=_0x33a9ec;if(_0x2c5474['query']['includeAll']){_0x423e57['include']=[{'all':!![]}];}return db[_0x2c41('0x3c')][_0x2c41('0x3d')](_0x423e57);})[_0x2c41('0x25')](function(_0x3033eb){_0x12c7a8[_0x2c41('0x3e')]=_0x3033eb;return _0x12c7a8;})[_0x2c41('0x25')](respondWithFilteredResult(_0x3f8c88,_0x423e57))['catch'](handleError(_0x3f8c88,null));};exports[_0x2c41('0x3f')]=function(_0x1f4890,_0xf3eedf){var _0x55588a={'raw':!![],'where':{'id':_0x1f4890['params']['id']}},_0x10d1bd={};_0x10d1bd[_0x2c41('0x2c')]=_['keys'](db['SugarcrmField']['rawAttributes']);_0x10d1bd[_0x2c41('0x2d')]=_['keys'](_0x1f4890['query']);_0x10d1bd[_0x2c41('0x2f')]=_[_0x2c41('0x30')](_0x10d1bd[_0x2c41('0x2c')],_0x10d1bd[_0x2c41('0x2d')]);_0x55588a[_0x2c41('0x31')]=_[_0x2c41('0x30')](_0x10d1bd[_0x2c41('0x2c')],qs[_0x2c41('0x32')](_0x1f4890['query'][_0x2c41('0x32')]));_0x55588a[_0x2c41('0x31')]=_0x55588a[_0x2c41('0x31')]['length']?_0x55588a[_0x2c41('0x31')]:_0x10d1bd[_0x2c41('0x2c')];if(_0x1f4890[_0x2c41('0x2d')]['includeAll']){_0x55588a[_0x2c41('0x40')]=[{'all':!![]}];}_0x55588a=_[_0x2c41('0x3b')]({},_0x55588a,_0x1f4890[_0x2c41('0x41')]);return db[_0x2c41('0x3c')][_0x2c41('0x42')](_0x55588a)[_0x2c41('0x25')](handleEntityNotFound(_0xf3eedf,null))[_0x2c41('0x25')](respondWithResult(_0xf3eedf,null))[_0x2c41('0x43')](handleError(_0xf3eedf,null));};exports[_0x2c41('0x44')]=function(_0x2824ee,_0xebee72){return db[_0x2c41('0x3c')][_0x2c41('0x44')](_0x2824ee[_0x2c41('0x45')],{})[_0x2c41('0x25')](respondWithResult(_0xebee72,0xc9))[_0x2c41('0x43')](handleError(_0xebee72,null));};exports[_0x2c41('0x24')]=function(_0x12e5ca,_0x20a15b){if(_0x12e5ca[_0x2c41('0x45')]['id']){delete _0x12e5ca[_0x2c41('0x45')]['id'];}return db[_0x2c41('0x3c')]['find']({'where':{'id':_0x12e5ca[_0x2c41('0x46')]['id']}})[_0x2c41('0x25')](handleEntityNotFound(_0x20a15b,null))['then'](saveUpdates(_0x12e5ca[_0x2c41('0x45')],null))['then'](respondWithResult(_0x20a15b,null))[_0x2c41('0x43')](handleError(_0x20a15b,null));};exports['destroy']=function(_0x1e6261,_0x2398c6){return db[_0x2c41('0x3c')][_0x2c41('0x42')]({'where':{'id':_0x1e6261[_0x2c41('0x46')]['id']}})[_0x2c41('0x25')](handleEntityNotFound(_0x2398c6,null))[_0x2c41('0x25')](removeEntity(_0x2398c6,null))[_0x2c41('0x43')](handleError(_0x2398c6,null));}; \ No newline at end of file diff --git a/server/api/intSugarcrmField/intSugarcrmField.model.js b/server/api/intSugarcrmField/intSugarcrmField.model.js index 2b1e47e..37fc310 100644 --- a/server/api/intSugarcrmField/intSugarcrmField.model.js +++ b/server/api/intSugarcrmField/intSugarcrmField.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x1ede=['sugarcrm_unique_index','idField','lodash','util','../../config/logger','api','bluebird','request-promise','../../config/environment','./intSugarcrmField.attributes','exports','define','SugarcrmField'];(function(_0x4bddee,_0x565ccc){var _0x4e2857=function(_0x19786a){while(--_0x19786a){_0x4bddee['push'](_0x4bddee['shift']());}};_0x4e2857(++_0x565ccc);}(_0x1ede,0x9e));var _0xe1ed=function(_0x2c2d25,_0x18a178){_0x2c2d25=_0x2c2d25-0x0;var _0x4d7365=_0x1ede[_0x2c2d25];return _0x4d7365;};'use strict';var _=require(_0xe1ed('0x0'));var util=require(_0xe1ed('0x1'));var logger=require(_0xe1ed('0x2'))(_0xe1ed('0x3'));var moment=require('moment');var BPromise=require(_0xe1ed('0x4'));var rp=require(_0xe1ed('0x5'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0xe1ed('0x6'));var attributes=require(_0xe1ed('0x7'));module[_0xe1ed('0x8')]=function(_0x32c691,_0x8b8c56){return _0x32c691[_0xe1ed('0x9')](_0xe1ed('0xa'),attributes,{'tableName':'int_sugarcrm_fields','paranoid':![],'indexes':[{'name':_0xe1ed('0xb'),'fields':[_0xe1ed('0xc'),'FieldId'],'unique':!![]}],'timestamps':!![]});}; \ No newline at end of file +var _0x538e=['../../config/environment','./intSugarcrmField.attributes','exports','define','int_sugarcrm_fields','sugarcrm_unique_index','FieldId','lodash','util','../../config/logger','api','moment','bluebird','request-promise','rimraf'];(function(_0x20c22f,_0x1648b3){var _0xef05d9=function(_0x53ce79){while(--_0x53ce79){_0x20c22f['push'](_0x20c22f['shift']());}};_0xef05d9(++_0x1648b3);}(_0x538e,0xf7));var _0xe538=function(_0x438bcb,_0x10daa2){_0x438bcb=_0x438bcb-0x0;var _0x5cc9d9=_0x538e[_0x438bcb];return _0x5cc9d9;};'use strict';var _=require(_0xe538('0x0'));var util=require(_0xe538('0x1'));var logger=require(_0xe538('0x2'))(_0xe538('0x3'));var moment=require(_0xe538('0x4'));var BPromise=require(_0xe538('0x5'));var rp=require(_0xe538('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0xe538('0x7'));var config=require(_0xe538('0x8'));var attributes=require(_0xe538('0x9'));module[_0xe538('0xa')]=function(_0x5d70d6,_0x407a8c){return _0x5d70d6[_0xe538('0xb')]('SugarcrmField',attributes,{'tableName':_0xe538('0xc'),'paranoid':![],'indexes':[{'name':_0xe538('0xd'),'fields':['idField',_0xe538('0xe')],'unique':!![]}],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/intSugarcrmField/intSugarcrmField.rpc.js b/server/api/intSugarcrmField/intSugarcrmField.rpc.js index a668e25..c13d983 100644 --- a/server/api/intSugarcrmField/intSugarcrmField.rpc.js +++ b/server/api/intSugarcrmField/intSugarcrmField.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x4fc2=['bluebird','ioredis','../../mysqldb','../../config/utils','rpc','../../config/environment','client','http','request','then','info','SugarcrmField,\x20%s,\x20%s','request\x20sent','debug','SugarcrmField,\x20%s,\x20%s,\x20%s','stringify','error','code','message','catch','lodash','util','moment'];(function(_0x4b73a2,_0x40b5fe){var _0x383c66=function(_0x3917ae){while(--_0x3917ae){_0x4b73a2['push'](_0x4b73a2['shift']());}};_0x383c66(++_0x40b5fe);}(_0x4fc2,0x111));var _0x24fc=function(_0x130c7d,_0x155870){_0x130c7d=_0x130c7d-0x0;var _0xaaa03e=_0x4fc2[_0x130c7d];return _0xaaa03e;};'use strict';var _=require(_0x24fc('0x0'));var util=require(_0x24fc('0x1'));var moment=require(_0x24fc('0x2'));var BPromise=require(_0x24fc('0x3'));var rs=require('randomstring');var fs=require('fs');var Redis=require(_0x24fc('0x4'));var db=require(_0x24fc('0x5'))['db'];var utils=require(_0x24fc('0x6'));var logger=require('../../config/logger')(_0x24fc('0x7'));var config=require(_0x24fc('0x8'));var jayson=require('jayson/promise');var client=jayson[_0x24fc('0x9')][_0x24fc('0xa')]({'port':0x232a});function respondWithRpcPromise(_0x4889f4,_0x115851,_0x22a0c8){return new BPromise(function(_0x220f9a,_0x123eff){return client[_0x24fc('0xb')](_0x4889f4,_0x22a0c8)[_0x24fc('0xc')](function(_0x5afdf1){logger[_0x24fc('0xd')](_0x24fc('0xe'),_0x115851,_0x24fc('0xf'));logger[_0x24fc('0x10')](_0x24fc('0x11'),_0x115851,_0x24fc('0xf'),JSON[_0x24fc('0x12')](_0x5afdf1));if(_0x5afdf1[_0x24fc('0x13')]){if(_0x5afdf1['error'][_0x24fc('0x14')]===0x1f4){logger[_0x24fc('0x13')]('SugarcrmField,\x20%s,\x20%s',_0x115851,_0x5afdf1[_0x24fc('0x13')][_0x24fc('0x15')]);return _0x123eff(_0x5afdf1[_0x24fc('0x13')][_0x24fc('0x15')]);}logger[_0x24fc('0x13')](_0x24fc('0xe'),_0x115851,_0x5afdf1['error'][_0x24fc('0x15')]);return _0x220f9a(_0x5afdf1[_0x24fc('0x13')][_0x24fc('0x15')]);}else{logger[_0x24fc('0xd')]('SugarcrmField,\x20%s,\x20%s',_0x115851,_0x24fc('0xf'));_0x220f9a(_0x5afdf1['result'][_0x24fc('0x15')]);}})[_0x24fc('0x16')](function(_0x218fb6){logger[_0x24fc('0x13')](_0x24fc('0xe'),_0x115851,_0x218fb6);_0x123eff(_0x218fb6);});});} \ No newline at end of file +var _0xb10b=['stringify','error','message','result','lodash','moment','bluebird','randomstring','../../mysqldb','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','http','request','then','info','SugarcrmField,\x20%s,\x20%s','SugarcrmField,\x20%s,\x20%s,\x20%s','request\x20sent'];(function(_0x58db19,_0x2ec571){var _0x2b545f=function(_0x4a0cba){while(--_0x4a0cba){_0x58db19['push'](_0x58db19['shift']());}};_0x2b545f(++_0x2ec571);}(_0xb10b,0x12a));var _0xbb10=function(_0x19c0ea,_0x19f687){_0x19c0ea=_0x19c0ea-0x0;var _0x3db00e=_0xb10b[_0x19c0ea];return _0x3db00e;};'use strict';var _=require(_0xbb10('0x0'));var util=require('util');var moment=require(_0xbb10('0x1'));var BPromise=require(_0xbb10('0x2'));var rs=require(_0xbb10('0x3'));var fs=require('fs');var Redis=require('ioredis');var db=require(_0xbb10('0x4'))['db'];var utils=require(_0xbb10('0x5'));var logger=require(_0xbb10('0x6'))(_0xbb10('0x7'));var config=require(_0xbb10('0x8'));var jayson=require(_0xbb10('0x9'));var client=jayson['client'][_0xbb10('0xa')]({'port':0x232a});function respondWithRpcPromise(_0x3cdd53,_0x513741,_0x1b9e94){return new BPromise(function(_0x3fb675,_0x21370f){return client[_0xbb10('0xb')](_0x3cdd53,_0x1b9e94)[_0xbb10('0xc')](function(_0x1ce33e){logger[_0xbb10('0xd')](_0xbb10('0xe'),_0x513741,'request\x20sent');logger['debug'](_0xbb10('0xf'),_0x513741,_0xbb10('0x10'),JSON[_0xbb10('0x11')](_0x1ce33e));if(_0x1ce33e['error']){if(_0x1ce33e[_0xbb10('0x12')]['code']===0x1f4){logger[_0xbb10('0x12')](_0xbb10('0xe'),_0x513741,_0x1ce33e[_0xbb10('0x12')][_0xbb10('0x13')]);return _0x21370f(_0x1ce33e[_0xbb10('0x12')][_0xbb10('0x13')]);}logger['error'](_0xbb10('0xe'),_0x513741,_0x1ce33e[_0xbb10('0x12')][_0xbb10('0x13')]);return _0x3fb675(_0x1ce33e[_0xbb10('0x12')][_0xbb10('0x13')]);}else{logger[_0xbb10('0xd')](_0xbb10('0xe'),_0x513741,_0xbb10('0x10'));_0x3fb675(_0x1ce33e[_0xbb10('0x14')][_0xbb10('0x13')]);}})['catch'](function(_0x2eca0f){logger[_0xbb10('0x12')](_0xbb10('0xe'),_0x513741,_0x2eca0f);_0x21370f(_0x2eca0f);});});} \ No newline at end of file diff --git a/server/api/intVtigerAccount/index.js b/server/api/intVtigerAccount/index.js index 84fa9c9..b5168a0 100644 --- a/server/api/intVtigerAccount/index.js +++ b/server/api/intVtigerAccount/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x104c=['../../config/environment','./intVtigerAccount.controller','index','/:id','isAuthenticated','show','get','getFields','post','create','addConfiguration','put','update','delete','destroy','exports','multer','util','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service'];(function(_0x2e03d5,_0x228675){var _0xf6a079=function(_0x26d5d0){while(--_0x26d5d0){_0x2e03d5['push'](_0x2e03d5['shift']());}};_0xf6a079(++_0x228675);}(_0x104c,0x197));var _0xc104=function(_0xbf15fb,_0xbf8e46){_0xbf15fb=_0xbf15fb-0x0;var _0x2a1941=_0x104c[_0xbf15fb];return _0x2a1941;};'use strict';var multer=require(_0xc104('0x0'));var util=require(_0xc104('0x1'));var path=require(_0xc104('0x2'));var timeout=require(_0xc104('0x3'));var express=require('express');var router=express[_0xc104('0x4')]();var auth=require(_0xc104('0x5'));var interaction=require(_0xc104('0x6'));var config=require(_0xc104('0x7'));var controller=require(_0xc104('0x8'));router['get']('/',auth['isAuthenticated'](),controller[_0xc104('0x9')]);router['get'](_0xc104('0xa'),auth[_0xc104('0xb')](),controller[_0xc104('0xc')]);router[_0xc104('0xd')]('/:id/configurations',auth[_0xc104('0xb')](),controller['getConfigurations']);router[_0xc104('0xd')]('/:id/fields',auth[_0xc104('0xb')](),controller[_0xc104('0xe')]);router[_0xc104('0xf')]('/',auth[_0xc104('0xb')](),controller[_0xc104('0x10')]);router[_0xc104('0xf')]('/:id/configurations',auth[_0xc104('0xb')](),controller[_0xc104('0x11')]);router[_0xc104('0x12')](_0xc104('0xa'),auth[_0xc104('0xb')](),controller[_0xc104('0x13')]);router[_0xc104('0x14')]('/:id',auth[_0xc104('0xb')](),controller[_0xc104('0x15')]);module[_0xc104('0x16')]=router; \ No newline at end of file +var _0xc8ab=['get','isAuthenticated','show','/:id/fields','getFields','post','create','/:id/configurations','addConfiguration','put','update','/:id','multer','path','connect-timeout','express','../../components/auth/service','../../config/environment'];(function(_0x2c1841,_0x505204){var _0x28d148=function(_0x5be79f){while(--_0x5be79f){_0x2c1841['push'](_0x2c1841['shift']());}};_0x28d148(++_0x505204);}(_0xc8ab,0xc0));var _0xbc8a=function(_0x28ef95,_0x3a4439){_0x28ef95=_0x28ef95-0x0;var _0x1cb35a=_0xc8ab[_0x28ef95];return _0x1cb35a;};'use strict';var multer=require(_0xbc8a('0x0'));var util=require('util');var path=require(_0xbc8a('0x1'));var timeout=require(_0xbc8a('0x2'));var express=require(_0xbc8a('0x3'));var router=express['Router']();var auth=require(_0xbc8a('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0xbc8a('0x5'));var controller=require('./intVtigerAccount.controller');router[_0xbc8a('0x6')]('/',auth[_0xbc8a('0x7')](),controller['index']);router[_0xbc8a('0x6')]('/:id',auth['isAuthenticated'](),controller[_0xbc8a('0x8')]);router[_0xbc8a('0x6')]('/:id/configurations',auth[_0xbc8a('0x7')](),controller['getConfigurations']);router['get'](_0xbc8a('0x9'),auth[_0xbc8a('0x7')](),controller[_0xbc8a('0xa')]);router[_0xbc8a('0xb')]('/',auth[_0xbc8a('0x7')](),controller[_0xbc8a('0xc')]);router[_0xbc8a('0xb')](_0xbc8a('0xd'),auth['isAuthenticated'](),controller[_0xbc8a('0xe')]);router[_0xbc8a('0xf')]('/:id',auth[_0xbc8a('0x7')](),controller[_0xbc8a('0x10')]);router['delete'](_0xbc8a('0x11'),auth[_0xbc8a('0x7')](),controller['destroy']);module['exports']=router; \ No newline at end of file diff --git a/server/api/intVtigerAccount/intVtigerAccount.attributes.js b/server/api/intVtigerAccount/intVtigerAccount.attributes.js index 6933356..ba02a27 100644 --- a/server/api/intVtigerAccount/intVtigerAccount.attributes.js +++ b/server/api/intVtigerAccount/intVtigerAccount.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x4b0d=['HelpDesk','exports','STRING'];(function(_0x468f6b,_0x88b58c){var _0x1637f9=function(_0x3cfbae){while(--_0x3cfbae){_0x468f6b['push'](_0x468f6b['shift']());}};_0x1637f9(++_0x88b58c);}(_0x4b0d,0x151));var _0xd4b0=function(_0x5bde78,_0xef666d){_0x5bde78=_0x5bde78-0x0;var _0x587f12=_0x4b0d[_0x5bde78];return _0x587f12;};'use strict';var Sequelize=require('sequelize');module[_0xd4b0('0x0')]={'name':{'type':Sequelize[_0xd4b0('0x1')],'allowNull':![]},'description':{'type':Sequelize['STRING']},'username':{'type':Sequelize['STRING'],'allowNull':![]},'moduleName':{'type':Sequelize[_0xd4b0('0x1')],'allowNull':![],'defaultValue':_0xd4b0('0x2')},'remoteUri':{'type':Sequelize[_0xd4b0('0x1')],'allowNull':![]},'serverUrl':{'type':Sequelize[_0xd4b0('0x1')]},'accessKey':{'type':Sequelize[_0xd4b0('0x1')],'allowNull':![]}}; \ No newline at end of file +var _0xd32b=['STRING','HelpDesk','sequelize','exports'];(function(_0x50e17c,_0x4233ef){var _0x4e8535=function(_0x593e3b){while(--_0x593e3b){_0x50e17c['push'](_0x50e17c['shift']());}};_0x4e8535(++_0x4233ef);}(_0xd32b,0x182));var _0xbd32=function(_0x44447a,_0x4eb0be){_0x44447a=_0x44447a-0x0;var _0xcc8749=_0xd32b[_0x44447a];return _0xcc8749;};'use strict';var Sequelize=require(_0xbd32('0x0'));module[_0xbd32('0x1')]={'name':{'type':Sequelize[_0xbd32('0x2')],'allowNull':![]},'description':{'type':Sequelize[_0xbd32('0x2')]},'username':{'type':Sequelize[_0xbd32('0x2')],'allowNull':![]},'moduleName':{'type':Sequelize[_0xbd32('0x2')],'allowNull':![],'defaultValue':_0xbd32('0x3')},'remoteUri':{'type':Sequelize[_0xbd32('0x2')],'allowNull':![]},'serverUrl':{'type':Sequelize['STRING']},'accessKey':{'type':Sequelize[_0xbd32('0x2')],'allowNull':![]}}; \ No newline at end of file diff --git a/server/api/intVtigerAccount/intVtigerAccount.controller.js b/server/api/intVtigerAccount/intVtigerAccount.controller.js index 35de5ae..875f7b2 100644 --- a/server/api/intVtigerAccount/intVtigerAccount.controller.js +++ b/server/api/intVtigerAccount/intVtigerAccount.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xeb7c=['set','Content-Range','json','apply','reject','save','destroy','stack','name','index','map','VtigerAccount','fieldName','type','key','keys','filters','intersection','model','query','fields','attributes','hasOwnProperty','order','sort','where','pick','filter','merge','VIRTUAL','count','includeAll','include','rows','show','length','find','create','body','params','getConfigurations','VtigerConfiguration','rawAttributes','options','nolimit','addConfiguration','findOne','AccountId','Subjects','getSubjects','channel','Descriptions','getDescriptions','VtigerField','md5','getFields','description','moduleName','serverUrl','accessKey','username','slice','substring','%s/webservice.php','GET','getchallenge','success','POST','login','describe','autogenerated','reference','owner','remove','includes','editable','false','startsWith','cf_','picklistValues','label','value','vTiger\x20error:\x20','statusCode','getFields,\x20%s,\x20%s,\x20%s','send','Wrong\x20credentials','eml-format','rimraf','zip-dir','fast-json-patch','bluebird','mustache','util','path','to-csv','ejs','lodash','crypto','jsforce','desk.js','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','api','../../config/environment','../../mysqldb','../../components/integrations/configuration','client','http','test','Sequelize','ValidationError','The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.','request','then','info','VtigerAccount,\x20%s,\x20%s','request\x20sent','VtigerAccount,\x20%s,\x20%s,\x20%s','error','code','message','result','catch','sendStatus','end','status','offset','limit'];(function(_0x2f8002,_0x3e01bd){var _0x3d9f1a=function(_0x3bcfab){while(--_0x3bcfab){_0x2f8002['push'](_0x2f8002['shift']());}};_0x3d9f1a(++_0x3e01bd);}(_0xeb7c,0x15f));var _0xceb7=function(_0x35cd88,_0x43bd59){_0x35cd88=_0x35cd88-0x0;var _0x1a524a=_0xeb7c[_0x35cd88];return _0x1a524a;};'use strict';var pdf=require('html-pdf');var emlformat=require(_0xceb7('0x0'));var rimraf=require(_0xceb7('0x1'));var zipdir=require(_0xceb7('0x2'));var jsonpatch=require(_0xceb7('0x3'));var rp=require('request-promise');var moment=require('moment');var BPromise=require(_0xceb7('0x4'));var Mustache=require(_0xceb7('0x5'));var util=require(_0xceb7('0x6'));var path=require(_0xceb7('0x7'));var sox=require('sox');var csv=require(_0xceb7('0x8'));var ejs=require(_0xceb7('0x9'));var fs=require('fs');var _=require(_0xceb7('0xa'));var squel=require('squel');var crypto=require(_0xceb7('0xb'));var jsforce=require(_0xceb7('0xc'));var deskjs=require(_0xceb7('0xd'));var toCsv=require(_0xceb7('0x8'));var querystring=require('querystring');var Papa=require('papaparse');var Redis=require(_0xceb7('0xe'));var authService=require(_0xceb7('0xf'));var qs=require(_0xceb7('0x10'));var as=require(_0xceb7('0x11'));var hardwareService=require(_0xceb7('0x12'));var logger=require('../../config/logger')(_0xceb7('0x13'));var utils=require('../../config/utils');var config=require(_0xceb7('0x14'));var db=require(_0xceb7('0x15'))['db'];var integrations=require(_0xceb7('0x16'));var jayson=require('jayson/promise');var client=jayson[_0xceb7('0x17')][_0xceb7('0x18')]({'port':0x232a});function checkPasswordPattern(_0x137052,_0x133e77,_0x8c7add){if(_0x8c7add){var _0x45e04e=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0x45e04e[_0xceb7('0x19')](_0x133e77)){return _0x137052;}else{throw new db[(_0xceb7('0x1a'))][(_0xceb7('0x1b'))](_0xceb7('0x1c'));}}else{return _0x137052;}}function respondWithRpcPromise(_0x51be21,_0x1a5c85,_0x4de684,_0x296398){return new BPromise(function(_0x3d7a8a,_0x4b5db2){var _0x783787=_0x296398||client;return _0x783787[_0xceb7('0x1d')](_0x51be21,_0x4de684)[_0xceb7('0x1e')](function(_0xce762e){logger[_0xceb7('0x1f')](_0xceb7('0x20'),_0x1a5c85,_0xceb7('0x21'));logger['debug'](_0xceb7('0x22'),_0x1a5c85,_0xceb7('0x21'),JSON['stringify'](_0xce762e));if(_0xce762e[_0xceb7('0x23')]){if(_0xce762e['error'][_0xceb7('0x24')]===0x1f4){logger[_0xceb7('0x23')](_0xceb7('0x20'),_0x1a5c85,_0xce762e[_0xceb7('0x23')][_0xceb7('0x25')]);return _0x4b5db2(_0xce762e[_0xceb7('0x23')][_0xceb7('0x25')]);}logger[_0xceb7('0x23')](_0xceb7('0x20'),_0x1a5c85,_0xce762e['error'][_0xceb7('0x25')]);return _0x3d7a8a(_0xce762e['error'][_0xceb7('0x25')]);}else{logger[_0xceb7('0x1f')]('VtigerAccount,\x20%s,\x20%s',_0x1a5c85,_0xceb7('0x21'));_0x3d7a8a(_0xce762e[_0xceb7('0x26')][_0xceb7('0x25')]);}})[_0xceb7('0x27')](function(_0x485300){logger[_0xceb7('0x23')](_0xceb7('0x20'),_0x1a5c85,_0x485300);_0x4b5db2(_0x485300);});});}function respondWithStatusCode(_0x44173f,_0xf883ac){_0xf883ac=_0xf883ac||0xcc;return function(_0x583d97){if(_0x583d97){return _0x44173f[_0xceb7('0x28')](_0xf883ac);}return _0x44173f['status'](_0xf883ac)[_0xceb7('0x29')]();};}function respondWithResult(_0x247d76,_0x351bf0){_0x351bf0=_0x351bf0||0xc8;return function(_0xc57172){if(_0xc57172){return _0x247d76[_0xceb7('0x2a')](_0x351bf0)['json'](_0xc57172);}};}function respondWithFilteredResult(_0x5f37b3,_0x1e239c){return function(_0x1e0216){if(_0x1e0216){var _0x49a0af=_0x1e0216['count'],_0x274d03=_0x1e239c[_0xceb7('0x2b')],_0x25eaf8=_0x1e239c['offset']+_0x1e239c[_0xceb7('0x2c')],_0x47dd71;if(_0x25eaf8>=_0x49a0af){_0x25eaf8=_0x49a0af;_0x47dd71=0xc8;}else{_0x47dd71=0xce;}_0x5f37b3[_0xceb7('0x2a')](_0x47dd71);return _0x5f37b3[_0xceb7('0x2d')](_0xceb7('0x2e'),_0x274d03+'-'+_0x25eaf8+'/'+_0x49a0af)[_0xceb7('0x2f')](_0x1e0216);}return null;};}function patchUpdates(_0x35b036){return function(_0x4b4dc1){try{jsonpatch[_0xceb7('0x30')](_0x4b4dc1,_0x35b036,!![]);}catch(_0x5380bb){return BPromise[_0xceb7('0x31')](_0x5380bb);}return _0x4b4dc1[_0xceb7('0x32')]();};}function saveUpdates(_0x5d2b1b,_0x12af29){return function(_0x3271c7){if(_0x3271c7){return _0x3271c7['update'](_0x5d2b1b)[_0xceb7('0x1e')](function(_0x47ee58){return _0x47ee58;});}return null;};}function removeEntity(_0x2e2af6,_0x25d796){return function(_0x27b4ea){if(_0x27b4ea){return _0x27b4ea[_0xceb7('0x33')]()[_0xceb7('0x1e')](function(){_0x2e2af6['status'](0xcc)[_0xceb7('0x29')]();});}};}function handleEntityNotFound(_0x29d6cb,_0x174548){return function(_0x555e19){if(!_0x555e19){_0x29d6cb['sendStatus'](0x194);}return _0x555e19;};}function handleError(_0x44f008,_0x1fbe89){_0x1fbe89=_0x1fbe89||0x1f4;return function(_0x45fcf1){logger[_0xceb7('0x23')](_0x45fcf1[_0xceb7('0x34')]);if(_0x45fcf1[_0xceb7('0x35')]){delete _0x45fcf1[_0xceb7('0x35')];}_0x44f008['status'](_0x1fbe89)['send'](_0x45fcf1);};}exports[_0xceb7('0x36')]=function(_0x3f3330,_0x3280a8){var _0x29b98e={},_0x43b830={},_0x3c2c56={'count':0x0,'rows':[]};var _0x2e7557=_[_0xceb7('0x37')](db[_0xceb7('0x38')]['rawAttributes'],function(_0x1788d8){return{'name':_0x1788d8[_0xceb7('0x39')],'type':_0x1788d8[_0xceb7('0x3a')][_0xceb7('0x3b')]};});_0x43b830['model']=_['map'](_0x2e7557,_0xceb7('0x35'));_0x43b830['query']=_[_0xceb7('0x3c')](_0x3f3330['query']);_0x43b830[_0xceb7('0x3d')]=_[_0xceb7('0x3e')](_0x43b830[_0xceb7('0x3f')],_0x43b830[_0xceb7('0x40')]);_0x29b98e['attributes']=_[_0xceb7('0x3e')](_0x43b830['model'],qs['fields'](_0x3f3330[_0xceb7('0x40')][_0xceb7('0x41')]));_0x29b98e['attributes']=_0x29b98e[_0xceb7('0x42')]['length']?_0x29b98e[_0xceb7('0x42')]:_0x43b830[_0xceb7('0x3f')];if(!_0x3f3330[_0xceb7('0x40')][_0xceb7('0x43')]('nolimit')){_0x29b98e[_0xceb7('0x2c')]=qs[_0xceb7('0x2c')](_0x3f3330[_0xceb7('0x40')][_0xceb7('0x2c')]);_0x29b98e[_0xceb7('0x2b')]=qs['offset'](_0x3f3330['query'][_0xceb7('0x2b')]);}_0x29b98e[_0xceb7('0x44')]=qs[_0xceb7('0x45')](_0x3f3330[_0xceb7('0x40')]['sort']);_0x29b98e[_0xceb7('0x46')]=qs['filters'](_[_0xceb7('0x47')](_0x3f3330[_0xceb7('0x40')],_0x43b830[_0xceb7('0x3d')]),_0x2e7557);if(_0x3f3330[_0xceb7('0x40')][_0xceb7('0x48')]){_0x29b98e[_0xceb7('0x46')]=_[_0xceb7('0x49')](_0x29b98e[_0xceb7('0x46')],{'$or':_[_0xceb7('0x37')](_0x2e7557,function(_0x1ced58){if(_0x1ced58[_0xceb7('0x3a')]!==_0xceb7('0x4a')){var _0x212749={};_0x212749[_0x1ced58[_0xceb7('0x35')]]={'$like':'%'+_0x3f3330[_0xceb7('0x40')]['filter']+'%'};return _0x212749;}})});}_0x29b98e=_[_0xceb7('0x49')]({},_0x29b98e,_0x3f3330['options']);var _0x2244c3={'where':_0x29b98e[_0xceb7('0x46')]};return db[_0xceb7('0x38')][_0xceb7('0x4b')](_0x2244c3)[_0xceb7('0x1e')](function(_0x11f44a){_0x3c2c56['count']=_0x11f44a;if(_0x3f3330[_0xceb7('0x40')][_0xceb7('0x4c')]){_0x29b98e[_0xceb7('0x4d')]=[{'all':!![]}];}return db[_0xceb7('0x38')]['findAll'](_0x29b98e);})['then'](function(_0x555218){_0x3c2c56[_0xceb7('0x4e')]=_0x555218;return _0x3c2c56;})[_0xceb7('0x1e')](respondWithFilteredResult(_0x3280a8,_0x29b98e))[_0xceb7('0x27')](handleError(_0x3280a8,null));};exports[_0xceb7('0x4f')]=function(_0x419228,_0x3a2f6c){var _0x3fcfa8={'raw':![],'where':{'id':_0x419228['params']['id']}},_0x414ec7={};_0x414ec7[_0xceb7('0x3f')]=_['keys'](db[_0xceb7('0x38')]['rawAttributes']);_0x414ec7[_0xceb7('0x40')]=_[_0xceb7('0x3c')](_0x419228[_0xceb7('0x40')]);_0x414ec7[_0xceb7('0x3d')]=_[_0xceb7('0x3e')](_0x414ec7[_0xceb7('0x3f')],_0x414ec7[_0xceb7('0x40')]);_0x3fcfa8[_0xceb7('0x42')]=_[_0xceb7('0x3e')](_0x414ec7[_0xceb7('0x3f')],qs[_0xceb7('0x41')](_0x419228[_0xceb7('0x40')][_0xceb7('0x41')]));_0x3fcfa8[_0xceb7('0x42')]=_0x3fcfa8[_0xceb7('0x42')][_0xceb7('0x50')]?_0x3fcfa8['attributes']:_0x414ec7['model'];if(_0x419228[_0xceb7('0x40')][_0xceb7('0x4c')]){_0x3fcfa8[_0xceb7('0x4d')]=[{'all':!![]}];}_0x3fcfa8=_['merge']({},_0x3fcfa8,_0x419228['options']);return db[_0xceb7('0x38')][_0xceb7('0x51')](_0x3fcfa8)[_0xceb7('0x1e')](handleEntityNotFound(_0x3a2f6c,null))[_0xceb7('0x1e')](respondWithResult(_0x3a2f6c,null))['catch'](handleError(_0x3a2f6c,null));};exports[_0xceb7('0x52')]=function(_0x59cb2a,_0xe8545f){return db[_0xceb7('0x38')][_0xceb7('0x52')](_0x59cb2a['body'],{})[_0xceb7('0x1e')](respondWithResult(_0xe8545f,0xc9))[_0xceb7('0x27')](handleError(_0xe8545f,null));};exports['update']=function(_0x1e08a2,_0x348de7){if(_0x1e08a2[_0xceb7('0x53')]['id']){delete _0x1e08a2[_0xceb7('0x53')]['id'];}return db['VtigerAccount'][_0xceb7('0x51')]({'where':{'id':_0x1e08a2[_0xceb7('0x54')]['id']}})[_0xceb7('0x1e')](handleEntityNotFound(_0x348de7,null))[_0xceb7('0x1e')](saveUpdates(_0x1e08a2['body'],null))['then'](respondWithResult(_0x348de7,null))[_0xceb7('0x27')](handleError(_0x348de7,null));};exports['destroy']=function(_0x3f50f9,_0x59a539){return db['VtigerAccount']['find']({'where':{'id':_0x3f50f9[_0xceb7('0x54')]['id']}})[_0xceb7('0x1e')](handleEntityNotFound(_0x59a539,null))[_0xceb7('0x1e')](removeEntity(_0x59a539,null))[_0xceb7('0x27')](handleError(_0x59a539,null));};exports[_0xceb7('0x55')]=function(_0xd0c369,_0x3d2bcd,_0x536e22){var _0x56e8c4={};var _0x1a34fb={};var _0x172d3d;var _0x30f308;return db['VtigerAccount']['findOne']({'where':{'id':_0xd0c369[_0xceb7('0x54')]['id']}})['then'](handleEntityNotFound(_0x3d2bcd,null))[_0xceb7('0x1e')](function(_0x9f9aa0){if(_0x9f9aa0){_0x172d3d=_0x9f9aa0;_0x1a34fb[_0xceb7('0x3f')]=_[_0xceb7('0x3c')](db[_0xceb7('0x56')][_0xceb7('0x57')]);_0x1a34fb['query']=_['keys'](_0xd0c369['query']);_0x1a34fb[_0xceb7('0x3d')]=_[_0xceb7('0x3e')](_0x1a34fb['model'],_0x1a34fb[_0xceb7('0x40')]);_0x56e8c4[_0xceb7('0x42')]=_[_0xceb7('0x3e')](_0x1a34fb[_0xceb7('0x3f')],qs[_0xceb7('0x41')](_0xd0c369[_0xceb7('0x40')][_0xceb7('0x41')]));_0x56e8c4['attributes']=_0x56e8c4[_0xceb7('0x42')][_0xceb7('0x50')]?_0x56e8c4['attributes']:_0x1a34fb[_0xceb7('0x3f')];_0x56e8c4[_0xceb7('0x44')]=qs[_0xceb7('0x45')](_0xd0c369[_0xceb7('0x40')][_0xceb7('0x45')]);_0x56e8c4['where']=qs[_0xceb7('0x3d')](_[_0xceb7('0x47')](_0xd0c369[_0xceb7('0x40')],_0x1a34fb['filters']));if(_0xd0c369[_0xceb7('0x40')]['filter']){_0x56e8c4['where']=_[_0xceb7('0x49')](_0x56e8c4[_0xceb7('0x46')],{'$or':_[_0xceb7('0x37')](_0x56e8c4[_0xceb7('0x42')],function(_0xb56e22){var _0x22be13={};_0x22be13[_0xb56e22]={'$like':'%'+_0xd0c369[_0xceb7('0x40')][_0xceb7('0x48')]+'%'};return _0x22be13;})});}_0x56e8c4=_[_0xceb7('0x49')]({},_0x56e8c4,_0xd0c369[_0xceb7('0x58')]);return _0x172d3d[_0xceb7('0x55')](_0x56e8c4);}})[_0xceb7('0x1e')](function(_0x1ee248){if(_0x1ee248){_0x30f308=_0x1ee248[_0xceb7('0x50')];if(!_0xd0c369[_0xceb7('0x40')]['hasOwnProperty'](_0xceb7('0x59'))){_0x56e8c4[_0xceb7('0x2c')]=qs[_0xceb7('0x2c')](_0xd0c369[_0xceb7('0x40')]['limit']);_0x56e8c4[_0xceb7('0x2b')]=qs[_0xceb7('0x2b')](_0xd0c369[_0xceb7('0x40')][_0xceb7('0x2b')]);}return _0x172d3d[_0xceb7('0x55')](_0x56e8c4);}})[_0xceb7('0x1e')](function(_0x441393){if(_0x441393){return _0x441393?{'count':_0x30f308,'rows':_0x441393}:null;}})['then'](respondWithResult(_0x3d2bcd,null))[_0xceb7('0x27')](handleError(_0x3d2bcd,null));};exports[_0xceb7('0x5a')]=function(_0x474623,_0x2bac0a,_0x4f915f){if(_0x474623[_0xceb7('0x53')]['id']){delete _0x474623[_0xceb7('0x53')]['id'];}return db[_0xceb7('0x38')][_0xceb7('0x5b')]({'where':{'id':_0x474623['params']['id']}})[_0xceb7('0x1e')](handleEntityNotFound(_0x2bac0a,null))[_0xceb7('0x1e')](function(_0x534aed){if(_0x534aed){_0x474623[_0xceb7('0x53')][_0xceb7('0x5c')]=_0x534aed['id'];_0x474623[_0xceb7('0x53')][_0xceb7('0x5d')]=integrations[_0xceb7('0x5e')](_0x474623[_0xceb7('0x53')][_0xceb7('0x5f')],_0x474623[_0xceb7('0x53')][_0xceb7('0x3a')]);_0x474623[_0xceb7('0x53')][_0xceb7('0x60')]=integrations[_0xceb7('0x61')](_0x474623[_0xceb7('0x53')][_0xceb7('0x5f')],_0x474623['body']['type']);return db[_0xceb7('0x56')][_0xceb7('0x52')](_0x474623['body'],{'include':[{'model':db[_0xceb7('0x62')],'as':_0xceb7('0x5d')},{'model':db[_0xceb7('0x62')],'as':_0xceb7('0x60')}]});}return null;})[_0xceb7('0x1e')](respondWithResult(_0x2bac0a,null))[_0xceb7('0x27')](handleError(_0x2bac0a,null));};var md5=require(_0xceb7('0x63'));exports[_0xceb7('0x64')]=function(_0x45f82b,_0x4b1600,_0x24fc62){var _0x25a9a4=null;var _0x227d7d=null;var _0xf43a8=null;var _0x5c751d=null;var _0x1ac708='';return db[_0xceb7('0x38')][_0xceb7('0x5b')]({'where':{'id':_0x45f82b[_0xceb7('0x54')]['id']},'attributes':['id','name','username',_0xceb7('0x65'),_0xceb7('0x66'),'remoteUri',_0xceb7('0x67'),_0xceb7('0x68')]})[_0xceb7('0x1e')](handleEntityNotFound(_0x4b1600,null))[_0xceb7('0x1e')](function(_0x13bae1){if(_0x13bae1){_0x25a9a4=_0x13bae1[_0xceb7('0x69')];_0x227d7d=_0x13bae1['accessKey'];_0xf43a8=_0x13bae1['moduleName'];_0x1ac708=_0x13bae1['remoteUri'];var _0x502411=_0x1ac708[_0xceb7('0x6a')](-0x1);if(_0x502411==='/'){_0x1ac708=_0x1ac708[_0xceb7('0x6b')](0x0,_0x1ac708['lastIndexOf'](_0x502411));}_0x5c751d=util['format'](_0xceb7('0x6c'),_0x1ac708);var _0x48142b={'method':_0xceb7('0x6d'),'uri':_0x5c751d,'qs':{'operation':_0xceb7('0x6e'),'username':_0x13bae1[_0xceb7('0x69')]},'json':!![]};return rp(_0x48142b);}})[_0xceb7('0x1e')](function(_0xd2fa77){if(_0xd2fa77[_0xceb7('0x6f')]){var _0x594bb2={'method':_0xceb7('0x70'),'uri':_0x5c751d,'form':{'operation':_0xceb7('0x71'),'username':_0x25a9a4,'accessKey':md5(_0xd2fa77[_0xceb7('0x26')]['token']+_0x227d7d)},'json':!![]};return rp(_0x594bb2);}})[_0xceb7('0x1e')](function(_0x413f24){if(_0x413f24[_0xceb7('0x6f')]){var _0x210546={'method':_0xceb7('0x6d'),'uri':_0x5c751d,'qs':{'operation':_0xceb7('0x72'),'username':_0x25a9a4,'sessionName':_0x413f24[_0xceb7('0x26')]['sessionName'],'elementType':_0xf43a8},'json':!![]};return rp(_0x210546);}})[_0xceb7('0x1e')](function(_0x146a4e){if(_0x146a4e[_0xceb7('0x6f')]){var _0x59b7d0=[_0xceb7('0x73'),_0xceb7('0x74'),_0xceb7('0x75')];_[_0xceb7('0x76')](_0x146a4e[_0xceb7('0x26')]['fields'],function(_0x4b767f){return _0x59b7d0[_0xceb7('0x77')](_0x4b767f[_0xceb7('0x3a')][_0xceb7('0x35')]);});_[_0xceb7('0x76')](_0x146a4e['result']['fields'],function(_0x4e14ea){return _0x4e14ea[_0xceb7('0x78')]===_0xceb7('0x79');});return{'count':_0x146a4e[_0xceb7('0x26')][_0xceb7('0x41')][_0xceb7('0x50')],'rows':_[_0xceb7('0x37')](_0x146a4e[_0xceb7('0x26')]['fields'],function(_0x213d8f){return{'id':_0x213d8f[_0xceb7('0x35')],'name':_0x213d8f['label'],'custom':_[_0xceb7('0x7a')](_0x213d8f[_0xceb7('0x35')],_0xceb7('0x7b'))?!![]:![],'options':_0x213d8f[_0xceb7('0x3a')]['name']==='picklist'&&_0x213d8f[_0xceb7('0x3a')]['picklistValues'][_0xceb7('0x50')]>0x0?_[_0xceb7('0x37')](_0x213d8f[_0xceb7('0x3a')][_0xceb7('0x7c')],function(_0x1ce31a){return{'name':_0x1ce31a[_0xceb7('0x7d')],'value':_0x1ce31a[_0xceb7('0x7e')]};}):[]};})};}})['then'](respondWithResult(_0x4b1600,null))['catch'](function(_0x2b2e99){console['log'](_0xceb7('0x7f')+_0x2b2e99);var _0x424939=_0x45f82b['query'][_0xceb7('0x19')]?0x1f4:_0x2b2e99[_0xceb7('0x80')]||0x1f4;logger[_0xceb7('0x23')](_0xceb7('0x81'),_0xceb7('0x64'),_0x424939,JSON['stringify'](_0x2b2e99));delete _0x2b2e99['name'];if(_0x424939===0x191){_0x424939=0x190;}_0x4b1600[_0xceb7('0x2a')](_0x424939)[_0xceb7('0x82')](_0x45f82b[_0xceb7('0x40')]['test']?{'message':_0xceb7('0x83'),'statusCode':_0x2b2e99[_0xceb7('0x80')]}:_0x2b2e99);});}; \ No newline at end of file +var _0x3b59=['status','count','offset','Content-Range','json','apply','reject','save','update','destroy','name','index','map','VtigerAccount','rawAttributes','fieldName','type','query','keys','filters','intersection','model','fields','attributes','length','hasOwnProperty','nolimit','limit','sort','pick','filter','where','merge','includeAll','include','rows','show','create','body','params','getConfigurations','findOne','VtigerConfiguration','options','AccountId','Subjects','channel','Descriptions','getDescriptions','VtigerField','md5','getFields','username','remoteUri','serverUrl','accessKey','moduleName','slice','substring','format','%s/webservice.php','GET','getchallenge','success','POST','login','token','describe','sessionName','autogenerated','reference','includes','remove','false','label','startsWith','cf_','picklist','picklistValues','value','vTiger\x20error:\x20','statusCode','getFields,\x20%s,\x20%s,\x20%s','Wrong\x20credentials','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','mustache','sox','to-csv','ejs','lodash','squel','jsforce','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','api','../../config/utils','../../config/environment','../../mysqldb','jayson/promise','client','http','test','Sequelize','ValidationError','The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.','request','then','info','VtigerAccount,\x20%s,\x20%s','request\x20sent','debug','VtigerAccount,\x20%s,\x20%s,\x20%s','stringify','error','code','message','result','catch','sendStatus','end'];(function(_0x583012,_0x1ef75b){var _0x568e09=function(_0x366077){while(--_0x366077){_0x583012['push'](_0x583012['shift']());}};_0x568e09(++_0x1ef75b);}(_0x3b59,0xd6));var _0x93b5=function(_0x281820,_0x47572b){_0x281820=_0x281820-0x0;var _0x2d05f6=_0x3b59[_0x281820];return _0x2d05f6;};'use strict';var pdf=require(_0x93b5('0x0'));var emlformat=require(_0x93b5('0x1'));var rimraf=require(_0x93b5('0x2'));var zipdir=require(_0x93b5('0x3'));var jsonpatch=require(_0x93b5('0x4'));var rp=require(_0x93b5('0x5'));var moment=require(_0x93b5('0x6'));var BPromise=require('bluebird');var Mustache=require(_0x93b5('0x7'));var util=require('util');var path=require('path');var sox=require(_0x93b5('0x8'));var csv=require(_0x93b5('0x9'));var ejs=require(_0x93b5('0xa'));var fs=require('fs');var _=require(_0x93b5('0xb'));var squel=require(_0x93b5('0xc'));var crypto=require('crypto');var jsforce=require(_0x93b5('0xd'));var deskjs=require('desk.js');var toCsv=require(_0x93b5('0x9'));var querystring=require(_0x93b5('0xe'));var Papa=require(_0x93b5('0xf'));var Redis=require(_0x93b5('0x10'));var authService=require(_0x93b5('0x11'));var qs=require(_0x93b5('0x12'));var as=require(_0x93b5('0x13'));var hardwareService=require('../../config/license/hardware');var logger=require('../../config/logger')(_0x93b5('0x14'));var utils=require(_0x93b5('0x15'));var config=require(_0x93b5('0x16'));var db=require(_0x93b5('0x17'))['db'];var integrations=require('../../components/integrations/configuration');var jayson=require(_0x93b5('0x18'));var client=jayson[_0x93b5('0x19')][_0x93b5('0x1a')]({'port':0x232a});function checkPasswordPattern(_0x129ec2,_0xe04d09,_0x243b1a){if(_0x243b1a){var _0x310f24=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0x310f24[_0x93b5('0x1b')](_0xe04d09)){return _0x129ec2;}else{throw new db[(_0x93b5('0x1c'))][(_0x93b5('0x1d'))](_0x93b5('0x1e'));}}else{return _0x129ec2;}}function respondWithRpcPromise(_0x469f18,_0x5358bf,_0x384e94,_0x39cc42){return new BPromise(function(_0x105cb3,_0x432703){var _0x11867e=_0x39cc42||client;return _0x11867e[_0x93b5('0x1f')](_0x469f18,_0x384e94)[_0x93b5('0x20')](function(_0x5edac3){logger[_0x93b5('0x21')](_0x93b5('0x22'),_0x5358bf,_0x93b5('0x23'));logger[_0x93b5('0x24')](_0x93b5('0x25'),_0x5358bf,_0x93b5('0x23'),JSON[_0x93b5('0x26')](_0x5edac3));if(_0x5edac3[_0x93b5('0x27')]){if(_0x5edac3['error'][_0x93b5('0x28')]===0x1f4){logger[_0x93b5('0x27')](_0x93b5('0x22'),_0x5358bf,_0x5edac3[_0x93b5('0x27')][_0x93b5('0x29')]);return _0x432703(_0x5edac3[_0x93b5('0x27')][_0x93b5('0x29')]);}logger[_0x93b5('0x27')](_0x93b5('0x22'),_0x5358bf,_0x5edac3[_0x93b5('0x27')]['message']);return _0x105cb3(_0x5edac3[_0x93b5('0x27')][_0x93b5('0x29')]);}else{logger[_0x93b5('0x21')](_0x93b5('0x22'),_0x5358bf,_0x93b5('0x23'));_0x105cb3(_0x5edac3[_0x93b5('0x2a')][_0x93b5('0x29')]);}})[_0x93b5('0x2b')](function(_0x3536ce){logger[_0x93b5('0x27')]('VtigerAccount,\x20%s,\x20%s',_0x5358bf,_0x3536ce);_0x432703(_0x3536ce);});});}function respondWithStatusCode(_0x5a657c,_0x2d12bc){_0x2d12bc=_0x2d12bc||0xcc;return function(_0xfe79de){if(_0xfe79de){return _0x5a657c[_0x93b5('0x2c')](_0x2d12bc);}return _0x5a657c['status'](_0x2d12bc)[_0x93b5('0x2d')]();};}function respondWithResult(_0x3f6085,_0x4c9e75){_0x4c9e75=_0x4c9e75||0xc8;return function(_0x799515){if(_0x799515){return _0x3f6085[_0x93b5('0x2e')](_0x4c9e75)['json'](_0x799515);}};}function respondWithFilteredResult(_0x2a5407,_0x3654c6){return function(_0x4b4201){if(_0x4b4201){var _0x5834b1=_0x4b4201[_0x93b5('0x2f')],_0x3ad6d3=_0x3654c6[_0x93b5('0x30')],_0x45c44f=_0x3654c6['offset']+_0x3654c6['limit'],_0xd35a1b;if(_0x45c44f>=_0x5834b1){_0x45c44f=_0x5834b1;_0xd35a1b=0xc8;}else{_0xd35a1b=0xce;}_0x2a5407[_0x93b5('0x2e')](_0xd35a1b);return _0x2a5407['set'](_0x93b5('0x31'),_0x3ad6d3+'-'+_0x45c44f+'/'+_0x5834b1)[_0x93b5('0x32')](_0x4b4201);}return null;};}function patchUpdates(_0x327ace){return function(_0x4bf74e){try{jsonpatch[_0x93b5('0x33')](_0x4bf74e,_0x327ace,!![]);}catch(_0x4411b3){return BPromise[_0x93b5('0x34')](_0x4411b3);}return _0x4bf74e[_0x93b5('0x35')]();};}function saveUpdates(_0x45f9f5,_0xfc28f3){return function(_0x59e375){if(_0x59e375){return _0x59e375[_0x93b5('0x36')](_0x45f9f5)['then'](function(_0x1314ff){return _0x1314ff;});}return null;};}function removeEntity(_0x22fb54,_0x2d48f8){return function(_0x190459){if(_0x190459){return _0x190459[_0x93b5('0x37')]()[_0x93b5('0x20')](function(){_0x22fb54[_0x93b5('0x2e')](0xcc)[_0x93b5('0x2d')]();});}};}function handleEntityNotFound(_0x127796,_0x5bd4d0){return function(_0x48886a){if(!_0x48886a){_0x127796[_0x93b5('0x2c')](0x194);}return _0x48886a;};}function handleError(_0x3d7335,_0x54db94){_0x54db94=_0x54db94||0x1f4;return function(_0x512a38){logger[_0x93b5('0x27')](_0x512a38['stack']);if(_0x512a38[_0x93b5('0x38')]){delete _0x512a38[_0x93b5('0x38')];}_0x3d7335[_0x93b5('0x2e')](_0x54db94)['send'](_0x512a38);};}exports[_0x93b5('0x39')]=function(_0x2dbe4a,_0x57b70f){var _0x4cc2e5={},_0x54e58a={},_0x242da9={'count':0x0,'rows':[]};var _0x5d8c09=_[_0x93b5('0x3a')](db[_0x93b5('0x3b')][_0x93b5('0x3c')],function(_0x49c3e7){return{'name':_0x49c3e7[_0x93b5('0x3d')],'type':_0x49c3e7[_0x93b5('0x3e')]['key']};});_0x54e58a['model']=_[_0x93b5('0x3a')](_0x5d8c09,_0x93b5('0x38'));_0x54e58a[_0x93b5('0x3f')]=_[_0x93b5('0x40')](_0x2dbe4a['query']);_0x54e58a[_0x93b5('0x41')]=_[_0x93b5('0x42')](_0x54e58a[_0x93b5('0x43')],_0x54e58a['query']);_0x4cc2e5['attributes']=_[_0x93b5('0x42')](_0x54e58a['model'],qs[_0x93b5('0x44')](_0x2dbe4a[_0x93b5('0x3f')][_0x93b5('0x44')]));_0x4cc2e5[_0x93b5('0x45')]=_0x4cc2e5[_0x93b5('0x45')][_0x93b5('0x46')]?_0x4cc2e5[_0x93b5('0x45')]:_0x54e58a[_0x93b5('0x43')];if(!_0x2dbe4a[_0x93b5('0x3f')][_0x93b5('0x47')](_0x93b5('0x48'))){_0x4cc2e5[_0x93b5('0x49')]=qs['limit'](_0x2dbe4a[_0x93b5('0x3f')][_0x93b5('0x49')]);_0x4cc2e5[_0x93b5('0x30')]=qs[_0x93b5('0x30')](_0x2dbe4a['query'][_0x93b5('0x30')]);}_0x4cc2e5['order']=qs[_0x93b5('0x4a')](_0x2dbe4a[_0x93b5('0x3f')][_0x93b5('0x4a')]);_0x4cc2e5['where']=qs[_0x93b5('0x41')](_[_0x93b5('0x4b')](_0x2dbe4a['query'],_0x54e58a[_0x93b5('0x41')]),_0x5d8c09);if(_0x2dbe4a[_0x93b5('0x3f')][_0x93b5('0x4c')]){_0x4cc2e5[_0x93b5('0x4d')]=_[_0x93b5('0x4e')](_0x4cc2e5[_0x93b5('0x4d')],{'$or':_[_0x93b5('0x3a')](_0x5d8c09,function(_0x418a82){if(_0x418a82['type']!=='VIRTUAL'){var _0x1c8803={};_0x1c8803[_0x418a82[_0x93b5('0x38')]]={'$like':'%'+_0x2dbe4a[_0x93b5('0x3f')][_0x93b5('0x4c')]+'%'};return _0x1c8803;}})});}_0x4cc2e5=_['merge']({},_0x4cc2e5,_0x2dbe4a['options']);var _0x34fdea={'where':_0x4cc2e5[_0x93b5('0x4d')]};return db[_0x93b5('0x3b')][_0x93b5('0x2f')](_0x34fdea)[_0x93b5('0x20')](function(_0x49e1c2){_0x242da9[_0x93b5('0x2f')]=_0x49e1c2;if(_0x2dbe4a[_0x93b5('0x3f')][_0x93b5('0x4f')]){_0x4cc2e5[_0x93b5('0x50')]=[{'all':!![]}];}return db[_0x93b5('0x3b')]['findAll'](_0x4cc2e5);})[_0x93b5('0x20')](function(_0x4a0076){_0x242da9[_0x93b5('0x51')]=_0x4a0076;return _0x242da9;})[_0x93b5('0x20')](respondWithFilteredResult(_0x57b70f,_0x4cc2e5))[_0x93b5('0x2b')](handleError(_0x57b70f,null));};exports[_0x93b5('0x52')]=function(_0x121728,_0x9afef){var _0xf6c6ae={'raw':![],'where':{'id':_0x121728['params']['id']}},_0x320f5f={};_0x320f5f[_0x93b5('0x43')]=_[_0x93b5('0x40')](db['VtigerAccount'][_0x93b5('0x3c')]);_0x320f5f[_0x93b5('0x3f')]=_[_0x93b5('0x40')](_0x121728[_0x93b5('0x3f')]);_0x320f5f[_0x93b5('0x41')]=_[_0x93b5('0x42')](_0x320f5f[_0x93b5('0x43')],_0x320f5f['query']);_0xf6c6ae['attributes']=_['intersection'](_0x320f5f[_0x93b5('0x43')],qs[_0x93b5('0x44')](_0x121728[_0x93b5('0x3f')][_0x93b5('0x44')]));_0xf6c6ae['attributes']=_0xf6c6ae['attributes'][_0x93b5('0x46')]?_0xf6c6ae[_0x93b5('0x45')]:_0x320f5f[_0x93b5('0x43')];if(_0x121728[_0x93b5('0x3f')]['includeAll']){_0xf6c6ae[_0x93b5('0x50')]=[{'all':!![]}];}_0xf6c6ae=_[_0x93b5('0x4e')]({},_0xf6c6ae,_0x121728['options']);return db['VtigerAccount']['find'](_0xf6c6ae)[_0x93b5('0x20')](handleEntityNotFound(_0x9afef,null))['then'](respondWithResult(_0x9afef,null))[_0x93b5('0x2b')](handleError(_0x9afef,null));};exports[_0x93b5('0x53')]=function(_0x19723f,_0x3bfe1e){return db[_0x93b5('0x3b')][_0x93b5('0x53')](_0x19723f['body'],{})['then'](respondWithResult(_0x3bfe1e,0xc9))[_0x93b5('0x2b')](handleError(_0x3bfe1e,null));};exports[_0x93b5('0x36')]=function(_0x19016c,_0x50162d){if(_0x19016c[_0x93b5('0x54')]['id']){delete _0x19016c[_0x93b5('0x54')]['id'];}return db[_0x93b5('0x3b')]['find']({'where':{'id':_0x19016c['params']['id']}})[_0x93b5('0x20')](handleEntityNotFound(_0x50162d,null))[_0x93b5('0x20')](saveUpdates(_0x19016c[_0x93b5('0x54')],null))['then'](respondWithResult(_0x50162d,null))[_0x93b5('0x2b')](handleError(_0x50162d,null));};exports['destroy']=function(_0x1bef0d,_0x54eee9){return db['VtigerAccount']['find']({'where':{'id':_0x1bef0d[_0x93b5('0x55')]['id']}})[_0x93b5('0x20')](handleEntityNotFound(_0x54eee9,null))[_0x93b5('0x20')](removeEntity(_0x54eee9,null))[_0x93b5('0x2b')](handleError(_0x54eee9,null));};exports[_0x93b5('0x56')]=function(_0x414c5d,_0x348fb5,_0x271b83){var _0x2a164f={};var _0x5629f0={};var _0x57c402;var _0x1d8567;return db[_0x93b5('0x3b')][_0x93b5('0x57')]({'where':{'id':_0x414c5d['params']['id']}})[_0x93b5('0x20')](handleEntityNotFound(_0x348fb5,null))[_0x93b5('0x20')](function(_0x5b95c0){if(_0x5b95c0){_0x57c402=_0x5b95c0;_0x5629f0[_0x93b5('0x43')]=_[_0x93b5('0x40')](db[_0x93b5('0x58')][_0x93b5('0x3c')]);_0x5629f0[_0x93b5('0x3f')]=_[_0x93b5('0x40')](_0x414c5d['query']);_0x5629f0[_0x93b5('0x41')]=_['intersection'](_0x5629f0['model'],_0x5629f0[_0x93b5('0x3f')]);_0x2a164f[_0x93b5('0x45')]=_[_0x93b5('0x42')](_0x5629f0[_0x93b5('0x43')],qs[_0x93b5('0x44')](_0x414c5d[_0x93b5('0x3f')][_0x93b5('0x44')]));_0x2a164f[_0x93b5('0x45')]=_0x2a164f[_0x93b5('0x45')]['length']?_0x2a164f[_0x93b5('0x45')]:_0x5629f0[_0x93b5('0x43')];_0x2a164f['order']=qs[_0x93b5('0x4a')](_0x414c5d[_0x93b5('0x3f')][_0x93b5('0x4a')]);_0x2a164f[_0x93b5('0x4d')]=qs['filters'](_[_0x93b5('0x4b')](_0x414c5d[_0x93b5('0x3f')],_0x5629f0[_0x93b5('0x41')]));if(_0x414c5d[_0x93b5('0x3f')][_0x93b5('0x4c')]){_0x2a164f['where']=_[_0x93b5('0x4e')](_0x2a164f['where'],{'$or':_[_0x93b5('0x3a')](_0x2a164f[_0x93b5('0x45')],function(_0x1659a3){var _0x6b365c={};_0x6b365c[_0x1659a3]={'$like':'%'+_0x414c5d[_0x93b5('0x3f')][_0x93b5('0x4c')]+'%'};return _0x6b365c;})});}_0x2a164f=_[_0x93b5('0x4e')]({},_0x2a164f,_0x414c5d[_0x93b5('0x59')]);return _0x57c402['getConfigurations'](_0x2a164f);}})[_0x93b5('0x20')](function(_0x4593be){if(_0x4593be){_0x1d8567=_0x4593be[_0x93b5('0x46')];if(!_0x414c5d[_0x93b5('0x3f')][_0x93b5('0x47')]('nolimit')){_0x2a164f['limit']=qs[_0x93b5('0x49')](_0x414c5d[_0x93b5('0x3f')]['limit']);_0x2a164f['offset']=qs[_0x93b5('0x30')](_0x414c5d[_0x93b5('0x3f')][_0x93b5('0x30')]);}return _0x57c402[_0x93b5('0x56')](_0x2a164f);}})[_0x93b5('0x20')](function(_0x5d8a16){if(_0x5d8a16){return _0x5d8a16?{'count':_0x1d8567,'rows':_0x5d8a16}:null;}})[_0x93b5('0x20')](respondWithResult(_0x348fb5,null))[_0x93b5('0x2b')](handleError(_0x348fb5,null));};exports['addConfiguration']=function(_0x14e53f,_0x2683ce,_0x4817c0){if(_0x14e53f[_0x93b5('0x54')]['id']){delete _0x14e53f[_0x93b5('0x54')]['id'];}return db[_0x93b5('0x3b')][_0x93b5('0x57')]({'where':{'id':_0x14e53f[_0x93b5('0x55')]['id']}})[_0x93b5('0x20')](handleEntityNotFound(_0x2683ce,null))[_0x93b5('0x20')](function(_0xc51a99){if(_0xc51a99){_0x14e53f[_0x93b5('0x54')][_0x93b5('0x5a')]=_0xc51a99['id'];_0x14e53f[_0x93b5('0x54')][_0x93b5('0x5b')]=integrations['getSubjects'](_0x14e53f[_0x93b5('0x54')][_0x93b5('0x5c')],_0x14e53f[_0x93b5('0x54')][_0x93b5('0x3e')]);_0x14e53f[_0x93b5('0x54')][_0x93b5('0x5d')]=integrations[_0x93b5('0x5e')](_0x14e53f['body'][_0x93b5('0x5c')],_0x14e53f[_0x93b5('0x54')]['type']);return db[_0x93b5('0x58')][_0x93b5('0x53')](_0x14e53f[_0x93b5('0x54')],{'include':[{'model':db[_0x93b5('0x5f')],'as':_0x93b5('0x5b')},{'model':db[_0x93b5('0x5f')],'as':_0x93b5('0x5d')}]});}return null;})[_0x93b5('0x20')](respondWithResult(_0x2683ce,null))[_0x93b5('0x2b')](handleError(_0x2683ce,null));};var md5=require(_0x93b5('0x60'));exports[_0x93b5('0x61')]=function(_0x3b8efb,_0x25e16,_0x25dc4){var _0x3f11b9=null;var _0x39c273=null;var _0x42af47=null;var _0x12b742=null;var _0x2c92ce='';return db['VtigerAccount'][_0x93b5('0x57')]({'where':{'id':_0x3b8efb['params']['id']},'attributes':['id',_0x93b5('0x38'),_0x93b5('0x62'),'description','moduleName',_0x93b5('0x63'),_0x93b5('0x64'),_0x93b5('0x65')]})['then'](handleEntityNotFound(_0x25e16,null))[_0x93b5('0x20')](function(_0x229d85){if(_0x229d85){_0x3f11b9=_0x229d85[_0x93b5('0x62')];_0x39c273=_0x229d85[_0x93b5('0x65')];_0x42af47=_0x229d85[_0x93b5('0x66')];_0x2c92ce=_0x229d85[_0x93b5('0x63')];var _0x12ebc9=_0x2c92ce[_0x93b5('0x67')](-0x1);if(_0x12ebc9==='/'){_0x2c92ce=_0x2c92ce[_0x93b5('0x68')](0x0,_0x2c92ce['lastIndexOf'](_0x12ebc9));}_0x12b742=util[_0x93b5('0x69')](_0x93b5('0x6a'),_0x2c92ce);var _0x150414={'method':_0x93b5('0x6b'),'uri':_0x12b742,'qs':{'operation':_0x93b5('0x6c'),'username':_0x229d85[_0x93b5('0x62')]},'json':!![]};return rp(_0x150414);}})['then'](function(_0x33b692){if(_0x33b692[_0x93b5('0x6d')]){var _0x5889b2={'method':_0x93b5('0x6e'),'uri':_0x12b742,'form':{'operation':_0x93b5('0x6f'),'username':_0x3f11b9,'accessKey':md5(_0x33b692[_0x93b5('0x2a')][_0x93b5('0x70')]+_0x39c273)},'json':!![]};return rp(_0x5889b2);}})[_0x93b5('0x20')](function(_0x5c21fb){if(_0x5c21fb[_0x93b5('0x6d')]){var _0x5c0c8b={'method':_0x93b5('0x6b'),'uri':_0x12b742,'qs':{'operation':_0x93b5('0x71'),'username':_0x3f11b9,'sessionName':_0x5c21fb[_0x93b5('0x2a')][_0x93b5('0x72')],'elementType':_0x42af47},'json':!![]};return rp(_0x5c0c8b);}})[_0x93b5('0x20')](function(_0x46e504){if(_0x46e504[_0x93b5('0x6d')]){var _0x4590ec=[_0x93b5('0x73'),_0x93b5('0x74'),'owner'];_['remove'](_0x46e504[_0x93b5('0x2a')][_0x93b5('0x44')],function(_0x4dd636){return _0x4590ec[_0x93b5('0x75')](_0x4dd636['type'][_0x93b5('0x38')]);});_[_0x93b5('0x76')](_0x46e504[_0x93b5('0x2a')]['fields'],function(_0xe7ded0){return _0xe7ded0['editable']===_0x93b5('0x77');});return{'count':_0x46e504[_0x93b5('0x2a')][_0x93b5('0x44')][_0x93b5('0x46')],'rows':_[_0x93b5('0x3a')](_0x46e504[_0x93b5('0x2a')][_0x93b5('0x44')],function(_0x31f8af){return{'id':_0x31f8af[_0x93b5('0x38')],'name':_0x31f8af[_0x93b5('0x78')],'custom':_[_0x93b5('0x79')](_0x31f8af['name'],_0x93b5('0x7a'))?!![]:![],'options':_0x31f8af['type'][_0x93b5('0x38')]===_0x93b5('0x7b')&&_0x31f8af['type'][_0x93b5('0x7c')][_0x93b5('0x46')]>0x0?_[_0x93b5('0x3a')](_0x31f8af[_0x93b5('0x3e')][_0x93b5('0x7c')],function(_0x47ff0e){return{'name':_0x47ff0e[_0x93b5('0x78')],'value':_0x47ff0e[_0x93b5('0x7d')]};}):[]};})};}})[_0x93b5('0x20')](respondWithResult(_0x25e16,null))[_0x93b5('0x2b')](function(_0x5464b0){console['log'](_0x93b5('0x7e')+_0x5464b0);var _0x317c39=_0x3b8efb['query'][_0x93b5('0x1b')]?0x1f4:_0x5464b0[_0x93b5('0x7f')]||0x1f4;logger[_0x93b5('0x27')](_0x93b5('0x80'),_0x93b5('0x61'),_0x317c39,JSON[_0x93b5('0x26')](_0x5464b0));delete _0x5464b0['name'];if(_0x317c39===0x191){_0x317c39=0x190;}_0x25e16['status'](_0x317c39)['send'](_0x3b8efb[_0x93b5('0x3f')][_0x93b5('0x1b')]?{'message':_0x93b5('0x81'),'statusCode':_0x5464b0[_0x93b5('0x7f')]}:_0x5464b0);});}; \ No newline at end of file diff --git a/server/api/intVtigerAccount/intVtigerAccount.model.js b/server/api/intVtigerAccount/intVtigerAccount.model.js index db0e033..fba25bc 100644 --- a/server/api/intVtigerAccount/intVtigerAccount.model.js +++ b/server/api/intVtigerAccount/intVtigerAccount.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x390a=['VtigerAccount','lodash','util','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./intVtigerAccount.attributes','../../components/integrations/configuration','exports'];(function(_0x1b4f25,_0x387b6c){var _0x3491f2=function(_0xbc1629){while(--_0xbc1629){_0x1b4f25['push'](_0x1b4f25['shift']());}};_0x3491f2(++_0x387b6c);}(_0x390a,0x1bb));var _0xa390=function(_0x59cc62,_0x3186b7){_0x59cc62=_0x59cc62-0x0;var _0xff0f7a=_0x390a[_0x59cc62];return _0xff0f7a;};'use strict';var _=require(_0xa390('0x0'));var util=require(_0xa390('0x1'));var logger=require('../../config/logger')(_0xa390('0x2'));var moment=require(_0xa390('0x3'));var BPromise=require(_0xa390('0x4'));var rp=require(_0xa390('0x5'));var fs=require('fs');var path=require(_0xa390('0x6'));var rimraf=require(_0xa390('0x7'));var config=require(_0xa390('0x8'));var attributes=require(_0xa390('0x9'));var integrations=require(_0xa390('0xa'));module[_0xa390('0xb')]=function(_0x253d9d,_0x2a449b){return _0x253d9d['define'](_0xa390('0xc'),attributes,{'tableName':'int_vtiger_accounts','paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0xef14=['bluebird','request-promise','path','../../config/environment','../../components/integrations/configuration','exports','define','int_vtiger_accounts','util','../../config/logger','api','moment'];(function(_0x1cac6c,_0x11827f){var _0x505082=function(_0x1d7d95){while(--_0x1d7d95){_0x1cac6c['push'](_0x1cac6c['shift']());}};_0x505082(++_0x11827f);}(_0xef14,0xe0));var _0x4ef1=function(_0x49795a,_0x5e51e0){_0x49795a=_0x49795a-0x0;var _0x547038=_0xef14[_0x49795a];return _0x547038;};'use strict';var _=require('lodash');var util=require(_0x4ef1('0x0'));var logger=require(_0x4ef1('0x1'))(_0x4ef1('0x2'));var moment=require(_0x4ef1('0x3'));var BPromise=require(_0x4ef1('0x4'));var rp=require(_0x4ef1('0x5'));var fs=require('fs');var path=require(_0x4ef1('0x6'));var rimraf=require('rimraf');var config=require(_0x4ef1('0x7'));var attributes=require('./intVtigerAccount.attributes');var integrations=require(_0x4ef1('0x8'));module[_0x4ef1('0x9')]=function(_0x2fcc22,_0x2faf37){return _0x2fcc22[_0x4ef1('0xa')]('VtigerAccount',attributes,{'tableName':_0x4ef1('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/intVtigerAccount/intVtigerAccount.rpc.js b/server/api/intVtigerAccount/intVtigerAccount.rpc.js index e57b7dd..1aa95a2 100644 --- a/server/api/intVtigerAccount/intVtigerAccount.rpc.js +++ b/server/api/intVtigerAccount/intVtigerAccount.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xb46d=['VtigerAccount,\x20%s,\x20%s','request\x20sent','debug','stringify','error','code','message','info','result','catch','GetVtigerAccount','VtigerAccount','findAll','raw','options','where','limit','include','map','model','attributes','ShowVtigerAccount','lodash','util','moment','bluebird','randomstring','../../config/utils','../../config/logger','../../config/environment','jayson/promise','http','request','then'];(function(_0xe30d88,_0x3360d4){var _0x3104a3=function(_0x5e6953){while(--_0x5e6953){_0xe30d88['push'](_0xe30d88['shift']());}};_0x3104a3(++_0x3360d4);}(_0xb46d,0xc0));var _0xdb46=function(_0x4232d8,_0x13fd09){_0x4232d8=_0x4232d8-0x0;var _0x324de2=_0xb46d[_0x4232d8];return _0x324de2;};'use strict';var _=require(_0xdb46('0x0'));var util=require(_0xdb46('0x1'));var moment=require(_0xdb46('0x2'));var BPromise=require(_0xdb46('0x3'));var rs=require(_0xdb46('0x4'));var fs=require('fs');var Redis=require('ioredis');var db=require('../../mysqldb')['db'];var utils=require(_0xdb46('0x5'));var logger=require(_0xdb46('0x6'))('rpc');var config=require(_0xdb46('0x7'));var jayson=require(_0xdb46('0x8'));var client=jayson['client'][_0xdb46('0x9')]({'port':0x232a});function respondWithRpcPromise(_0x730371,_0x33867b,_0x25c349){return new BPromise(function(_0x139877,_0x5019bd){return client[_0xdb46('0xa')](_0x730371,_0x25c349)[_0xdb46('0xb')](function(_0xba3d61){logger['info'](_0xdb46('0xc'),_0x33867b,_0xdb46('0xd'));logger[_0xdb46('0xe')]('VtigerAccount,\x20%s,\x20%s,\x20%s',_0x33867b,_0xdb46('0xd'),JSON[_0xdb46('0xf')](_0xba3d61));if(_0xba3d61['error']){if(_0xba3d61[_0xdb46('0x10')][_0xdb46('0x11')]===0x1f4){logger[_0xdb46('0x10')]('VtigerAccount,\x20%s,\x20%s',_0x33867b,_0xba3d61[_0xdb46('0x10')][_0xdb46('0x12')]);return _0x5019bd(_0xba3d61['error'][_0xdb46('0x12')]);}logger[_0xdb46('0x10')]('VtigerAccount,\x20%s,\x20%s',_0x33867b,_0xba3d61['error'][_0xdb46('0x12')]);return _0x139877(_0xba3d61['error']['message']);}else{logger[_0xdb46('0x13')]('VtigerAccount,\x20%s,\x20%s',_0x33867b,_0xdb46('0xd'));_0x139877(_0xba3d61[_0xdb46('0x14')]['message']);}})[_0xdb46('0x15')](function(_0x1382e3){logger[_0xdb46('0x10')](_0xdb46('0xc'),_0x33867b,_0x1382e3);_0x5019bd(_0x1382e3);});});}exports[_0xdb46('0x16')]=function(_0x262223){var _0x2e490b=this;return new Promise(function(_0x39bd27,_0x30e6cf){return db[_0xdb46('0x17')][_0xdb46('0x18')]({'raw':_0x262223['options']?_0x262223['options'][_0xdb46('0x19')]===undefined?!![]:![]:!![],'where':_0x262223['options']?_0x262223[_0xdb46('0x1a')][_0xdb46('0x1b')]||null:null,'attributes':_0x262223[_0xdb46('0x1a')]?_0x262223[_0xdb46('0x1a')]['attributes']||null:null,'limit':_0x262223[_0xdb46('0x1a')]?_0x262223[_0xdb46('0x1a')][_0xdb46('0x1c')]||null:null,'include':_0x262223[_0xdb46('0x1a')]?_0x262223[_0xdb46('0x1a')][_0xdb46('0x1d')]?_[_0xdb46('0x1e')](_0x262223[_0xdb46('0x1a')]['include'],function(_0x319ffc){return{'model':db[_0x319ffc[_0xdb46('0x1f')]],'as':_0x319ffc['as'],'attributes':_0x319ffc[_0xdb46('0x20')],'include':_0x319ffc['include']?_[_0xdb46('0x1e')](_0x319ffc[_0xdb46('0x1d')],function(_0x3f16b0){return{'model':db[_0x3f16b0[_0xdb46('0x1f')]],'as':_0x3f16b0['as'],'attributes':_0x3f16b0[_0xdb46('0x20')],'include':_0x3f16b0['include']?_[_0xdb46('0x1e')](_0x3f16b0[_0xdb46('0x1d')],function(_0x403c1a){return{'model':db[_0x403c1a[_0xdb46('0x1f')]],'as':_0x403c1a['as'],'attributes':_0x403c1a[_0xdb46('0x20')]};}):[]};}):[]};}):[]:[]})[_0xdb46('0xb')](function(_0x536d25){logger[_0xdb46('0x13')](_0xdb46('0x16'),_0x262223);logger[_0xdb46('0xe')](_0xdb46('0x16'),_0x262223,JSON[_0xdb46('0xf')](_0x536d25));_0x39bd27(_0x536d25);})[_0xdb46('0x15')](function(_0x3211e4){logger['error']('GetVtigerAccount',_0x3211e4['message'],_0x262223);_0x30e6cf(_0x2e490b[_0xdb46('0x10')](0x1f4,_0x3211e4[_0xdb46('0x12')]));});});};exports[_0xdb46('0x21')]=function(_0x21edce){var _0x47ba9e=this;return new Promise(function(_0x566f5a,_0x34844e){return db['VtigerAccount']['find']({'raw':_0x21edce['options']?_0x21edce['options']['raw']===undefined?!![]:![]:!![],'where':_0x21edce[_0xdb46('0x1a')]?_0x21edce[_0xdb46('0x1a')][_0xdb46('0x1b')]||null:null,'attributes':_0x21edce[_0xdb46('0x1a')]?_0x21edce['options'][_0xdb46('0x20')]||null:null,'include':_0x21edce[_0xdb46('0x1a')]?_0x21edce[_0xdb46('0x1a')]['include']?_[_0xdb46('0x1e')](_0x21edce[_0xdb46('0x1a')][_0xdb46('0x1d')],function(_0x42edd4){return{'model':db[_0x42edd4[_0xdb46('0x1f')]],'as':_0x42edd4['as'],'attributes':_0x42edd4[_0xdb46('0x20')],'include':_0x42edd4[_0xdb46('0x1d')]?_[_0xdb46('0x1e')](_0x42edd4[_0xdb46('0x1d')],function(_0x30a47e){return{'model':db[_0x30a47e[_0xdb46('0x1f')]],'as':_0x30a47e['as'],'attributes':_0x30a47e[_0xdb46('0x20')],'include':_0x30a47e[_0xdb46('0x1d')]?_['map'](_0x30a47e['include'],function(_0x269cad){return{'model':db[_0x269cad['model']],'as':_0x269cad['as'],'attributes':_0x269cad[_0xdb46('0x20')]};}):[]};}):[]};}):[]:[]})[_0xdb46('0xb')](function(_0xef6b09){logger[_0xdb46('0x13')](_0xdb46('0x21'),_0x21edce);logger[_0xdb46('0xe')](_0xdb46('0x21'),_0x21edce,JSON[_0xdb46('0xf')](_0xef6b09));_0x566f5a(_0xef6b09);})[_0xdb46('0x15')](function(_0x57d7c6){logger[_0xdb46('0x10')]('ShowVtigerAccount',_0x57d7c6[_0xdb46('0x12')],_0x21edce);_0x34844e(_0x47ba9e['error'](0x1f4,_0x57d7c6[_0xdb46('0x12')]));});});}; \ No newline at end of file +var _0x0b4b=['raw','options','where','attributes','include','model','map','VtigerAccount','find','ShowVtigerAccount','lodash','util','ioredis','../../mysqldb','../../config/utils','rpc','../../config/environment','client','http','request','then','info','request\x20sent','debug','VtigerAccount,\x20%s,\x20%s,\x20%s','stringify','error','code','VtigerAccount,\x20%s,\x20%s','message','result','catch','GetVtigerAccount'];(function(_0x26efdb,_0x2545af){var _0x1ab7b7=function(_0x403aac){while(--_0x403aac){_0x26efdb['push'](_0x26efdb['shift']());}};_0x1ab7b7(++_0x2545af);}(_0x0b4b,0x1d8));var _0xb0b4=function(_0x4a7631,_0x2c85b9){_0x4a7631=_0x4a7631-0x0;var _0x1a5a6f=_0x0b4b[_0x4a7631];return _0x1a5a6f;};'use strict';var _=require(_0xb0b4('0x0'));var util=require(_0xb0b4('0x1'));var moment=require('moment');var BPromise=require('bluebird');var rs=require('randomstring');var fs=require('fs');var Redis=require(_0xb0b4('0x2'));var db=require(_0xb0b4('0x3'))['db'];var utils=require(_0xb0b4('0x4'));var logger=require('../../config/logger')(_0xb0b4('0x5'));var config=require(_0xb0b4('0x6'));var jayson=require('jayson/promise');var client=jayson[_0xb0b4('0x7')][_0xb0b4('0x8')]({'port':0x232a});function respondWithRpcPromise(_0x326b2d,_0x4fd9de,_0x318c32){return new BPromise(function(_0x37c9a2,_0x4c5a82){return client[_0xb0b4('0x9')](_0x326b2d,_0x318c32)[_0xb0b4('0xa')](function(_0xd28a33){logger[_0xb0b4('0xb')]('VtigerAccount,\x20%s,\x20%s',_0x4fd9de,_0xb0b4('0xc'));logger[_0xb0b4('0xd')](_0xb0b4('0xe'),_0x4fd9de,'request\x20sent',JSON[_0xb0b4('0xf')](_0xd28a33));if(_0xd28a33[_0xb0b4('0x10')]){if(_0xd28a33[_0xb0b4('0x10')][_0xb0b4('0x11')]===0x1f4){logger['error'](_0xb0b4('0x12'),_0x4fd9de,_0xd28a33['error'][_0xb0b4('0x13')]);return _0x4c5a82(_0xd28a33[_0xb0b4('0x10')][_0xb0b4('0x13')]);}logger['error'](_0xb0b4('0x12'),_0x4fd9de,_0xd28a33[_0xb0b4('0x10')]['message']);return _0x37c9a2(_0xd28a33[_0xb0b4('0x10')][_0xb0b4('0x13')]);}else{logger[_0xb0b4('0xb')](_0xb0b4('0x12'),_0x4fd9de,'request\x20sent');_0x37c9a2(_0xd28a33[_0xb0b4('0x14')][_0xb0b4('0x13')]);}})[_0xb0b4('0x15')](function(_0x2dfb1b){logger[_0xb0b4('0x10')](_0xb0b4('0x12'),_0x4fd9de,_0x2dfb1b);_0x4c5a82(_0x2dfb1b);});});}exports[_0xb0b4('0x16')]=function(_0x2c2f4c){var _0x15807e=this;return new Promise(function(_0x2a386d,_0x2958ff){return db['VtigerAccount']['findAll']({'raw':_0x2c2f4c['options']?_0x2c2f4c['options'][_0xb0b4('0x17')]===undefined?!![]:![]:!![],'where':_0x2c2f4c[_0xb0b4('0x18')]?_0x2c2f4c['options'][_0xb0b4('0x19')]||null:null,'attributes':_0x2c2f4c[_0xb0b4('0x18')]?_0x2c2f4c[_0xb0b4('0x18')][_0xb0b4('0x1a')]||null:null,'limit':_0x2c2f4c['options']?_0x2c2f4c[_0xb0b4('0x18')]['limit']||null:null,'include':_0x2c2f4c[_0xb0b4('0x18')]?_0x2c2f4c[_0xb0b4('0x18')][_0xb0b4('0x1b')]?_['map'](_0x2c2f4c[_0xb0b4('0x18')][_0xb0b4('0x1b')],function(_0x5b5546){return{'model':db[_0x5b5546[_0xb0b4('0x1c')]],'as':_0x5b5546['as'],'attributes':_0x5b5546[_0xb0b4('0x1a')],'include':_0x5b5546[_0xb0b4('0x1b')]?_[_0xb0b4('0x1d')](_0x5b5546[_0xb0b4('0x1b')],function(_0x2255dd){return{'model':db[_0x2255dd[_0xb0b4('0x1c')]],'as':_0x2255dd['as'],'attributes':_0x2255dd[_0xb0b4('0x1a')],'include':_0x2255dd['include']?_[_0xb0b4('0x1d')](_0x2255dd[_0xb0b4('0x1b')],function(_0x1f2378){return{'model':db[_0x1f2378['model']],'as':_0x1f2378['as'],'attributes':_0x1f2378['attributes']};}):[]};}):[]};}):[]:[]})['then'](function(_0x2ff586){logger[_0xb0b4('0xb')](_0xb0b4('0x16'),_0x2c2f4c);logger['debug'](_0xb0b4('0x16'),_0x2c2f4c,JSON[_0xb0b4('0xf')](_0x2ff586));_0x2a386d(_0x2ff586);})[_0xb0b4('0x15')](function(_0x498236){logger[_0xb0b4('0x10')]('GetVtigerAccount',_0x498236[_0xb0b4('0x13')],_0x2c2f4c);_0x2958ff(_0x15807e[_0xb0b4('0x10')](0x1f4,_0x498236[_0xb0b4('0x13')]));});});};exports['ShowVtigerAccount']=function(_0xbd6f07){var _0x2c3d12=this;return new Promise(function(_0x3253b7,_0x14ebcf){return db[_0xb0b4('0x1e')][_0xb0b4('0x1f')]({'raw':_0xbd6f07[_0xb0b4('0x18')]?_0xbd6f07['options'][_0xb0b4('0x17')]===undefined?!![]:![]:!![],'where':_0xbd6f07['options']?_0xbd6f07[_0xb0b4('0x18')]['where']||null:null,'attributes':_0xbd6f07[_0xb0b4('0x18')]?_0xbd6f07[_0xb0b4('0x18')][_0xb0b4('0x1a')]||null:null,'include':_0xbd6f07['options']?_0xbd6f07[_0xb0b4('0x18')][_0xb0b4('0x1b')]?_[_0xb0b4('0x1d')](_0xbd6f07[_0xb0b4('0x18')][_0xb0b4('0x1b')],function(_0x54fa72){return{'model':db[_0x54fa72['model']],'as':_0x54fa72['as'],'attributes':_0x54fa72[_0xb0b4('0x1a')],'include':_0x54fa72[_0xb0b4('0x1b')]?_[_0xb0b4('0x1d')](_0x54fa72['include'],function(_0x518736){return{'model':db[_0x518736[_0xb0b4('0x1c')]],'as':_0x518736['as'],'attributes':_0x518736[_0xb0b4('0x1a')],'include':_0x518736[_0xb0b4('0x1b')]?_[_0xb0b4('0x1d')](_0x518736[_0xb0b4('0x1b')],function(_0x350578){return{'model':db[_0x350578[_0xb0b4('0x1c')]],'as':_0x350578['as'],'attributes':_0x350578[_0xb0b4('0x1a')]};}):[]};}):[]};}):[]:[]})[_0xb0b4('0xa')](function(_0x74527b){logger[_0xb0b4('0xb')](_0xb0b4('0x20'),_0xbd6f07);logger[_0xb0b4('0xd')](_0xb0b4('0x20'),_0xbd6f07,JSON['stringify'](_0x74527b));_0x3253b7(_0x74527b);})['catch'](function(_0x485ed8){logger['error']('ShowVtigerAccount',_0x485ed8['message'],_0xbd6f07);_0x14ebcf(_0x2c3d12[_0xb0b4('0x10')](0x1f4,_0x485ed8[_0xb0b4('0x13')]));});});}; \ No newline at end of file diff --git a/server/api/intVtigerConfiguration/index.js b/server/api/intVtigerConfiguration/index.js index 5cd936b..286543a 100644 --- a/server/api/intVtigerConfiguration/index.js +++ b/server/api/intVtigerConfiguration/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xd8b0=['isAuthenticated','getFields','/:id/subjects','getSubjects','/:id/descriptions','getDescriptions','create','put','update','delete','destroy','exports','multer','util','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./intVtigerConfiguration.controller','index','get','/:id','show'];(function(_0x311e77,_0x49a459){var _0x559c54=function(_0x283a97){while(--_0x283a97){_0x311e77['push'](_0x311e77['shift']());}};_0x559c54(++_0x49a459);}(_0xd8b0,0xad));var _0x0d8b=function(_0x20a584,_0xe384a5){_0x20a584=_0x20a584-0x0;var _0x4b41a8=_0xd8b0[_0x20a584];return _0x4b41a8;};'use strict';var multer=require(_0x0d8b('0x0'));var util=require(_0x0d8b('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require('express');var router=express[_0x0d8b('0x2')]();var auth=require(_0x0d8b('0x3'));var interaction=require(_0x0d8b('0x4'));var config=require(_0x0d8b('0x5'));var controller=require(_0x0d8b('0x6'));router['get']('/',auth['isAuthenticated'](),controller[_0x0d8b('0x7')]);router[_0x0d8b('0x8')](_0x0d8b('0x9'),auth['isAuthenticated'](),controller[_0x0d8b('0xa')]);router[_0x0d8b('0x8')]('/:id/fields',auth[_0x0d8b('0xb')](),controller[_0x0d8b('0xc')]);router[_0x0d8b('0x8')](_0x0d8b('0xd'),auth[_0x0d8b('0xb')](),controller[_0x0d8b('0xe')]);router[_0x0d8b('0x8')](_0x0d8b('0xf'),auth['isAuthenticated'](),controller[_0x0d8b('0x10')]);router['post']('/',auth[_0x0d8b('0xb')](),controller[_0x0d8b('0x11')]);router[_0x0d8b('0x12')](_0x0d8b('0x9'),auth[_0x0d8b('0xb')](),controller[_0x0d8b('0x13')]);router[_0x0d8b('0x14')](_0x0d8b('0x9'),auth[_0x0d8b('0xb')](),controller[_0x0d8b('0x15')]);module[_0x0d8b('0x16')]=router; \ No newline at end of file +var _0xb10b=['/:id','show','/:id/fields','getFields','/:id/subjects','/:id/descriptions','getDescriptions','put','update','delete','destroy','exports','multer','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./intVtigerConfiguration.controller','get','isAuthenticated'];(function(_0x200a83,_0x5754fc){var _0x1625d0=function(_0x2756bc){while(--_0x2756bc){_0x200a83['push'](_0x200a83['shift']());}};_0x1625d0(++_0x5754fc);}(_0xb10b,0x12a));var _0xbb10=function(_0x2f2c5f,_0x27bd58){_0x2f2c5f=_0x2f2c5f-0x0;var _0x53cec0=_0xb10b[_0x2f2c5f];return _0x53cec0;};'use strict';var multer=require(_0xbb10('0x0'));var util=require('util');var path=require(_0xbb10('0x1'));var timeout=require(_0xbb10('0x2'));var express=require(_0xbb10('0x3'));var router=express['Router']();var auth=require(_0xbb10('0x4'));var interaction=require(_0xbb10('0x5'));var config=require(_0xbb10('0x6'));var controller=require(_0xbb10('0x7'));router[_0xbb10('0x8')]('/',auth[_0xbb10('0x9')](),controller['index']);router[_0xbb10('0x8')](_0xbb10('0xa'),auth['isAuthenticated'](),controller[_0xbb10('0xb')]);router[_0xbb10('0x8')](_0xbb10('0xc'),auth[_0xbb10('0x9')](),controller[_0xbb10('0xd')]);router[_0xbb10('0x8')](_0xbb10('0xe'),auth[_0xbb10('0x9')](),controller['getSubjects']);router['get'](_0xbb10('0xf'),auth[_0xbb10('0x9')](),controller[_0xbb10('0x10')]);router['post']('/',auth[_0xbb10('0x9')](),controller['create']);router[_0xbb10('0x11')](_0xbb10('0xa'),auth[_0xbb10('0x9')](),controller[_0xbb10('0x12')]);router[_0xbb10('0x13')](_0xbb10('0xa'),auth['isAuthenticated'](),controller[_0xbb10('0x14')]);module[_0xbb10('0x15')]=router; \ No newline at end of file diff --git a/server/api/intVtigerConfiguration/intVtigerConfiguration.attributes.js b/server/api/intVtigerConfiguration/intVtigerConfiguration.attributes.js index f25e8e1..cc777c7 100644 --- a/server/api/intVtigerConfiguration/intVtigerConfiguration.attributes.js +++ b/server/api/intVtigerConfiguration/intVtigerConfiguration.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x2055=['exports','STRING'];(function(_0xa4cefb,_0x3fb7e3){var _0x3cb0a5=function(_0x13489e){while(--_0x13489e){_0xa4cefb['push'](_0xa4cefb['shift']());}};_0x3cb0a5(++_0x3fb7e3);}(_0x2055,0xb0));var _0x5205=function(_0x3efd86,_0x2df2de){_0x3efd86=_0x3efd86-0x0;var _0x5488b1=_0x2055[_0x3efd86];return _0x5488b1;};'use strict';var Sequelize=require('sequelize');module[_0x5205('0x0')]={'name':{'type':Sequelize[_0x5205('0x1')]},'description':{'type':Sequelize[_0x5205('0x1')]}}; \ No newline at end of file +var _0xe026=['sequelize','exports','STRING'];(function(_0x5058a0,_0x51ba3a){var _0x1b696c=function(_0x2e628b){while(--_0x2e628b){_0x5058a0['push'](_0x5058a0['shift']());}};_0x1b696c(++_0x51ba3a);}(_0xe026,0xbd));var _0x6e02=function(_0x5f09c5,_0x2bfca0){_0x5f09c5=_0x5f09c5-0x0;var _0x426ad9=_0xe026[_0x5f09c5];return _0x426ad9;};'use strict';var Sequelize=require(_0x6e02('0x0'));module[_0x6e02('0x1')]={'name':{'type':Sequelize[_0x6e02('0x2')]},'description':{'type':Sequelize[_0x6e02('0x2')]}}; \ No newline at end of file diff --git a/server/api/intVtigerConfiguration/intVtigerConfiguration.controller.js b/server/api/intVtigerConfiguration/intVtigerConfiguration.controller.js index a2f35eb..efb4727 100644 --- a/server/api/intVtigerConfiguration/intVtigerConfiguration.controller.js +++ b/server/api/intVtigerConfiguration/intVtigerConfiguration.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xfa46=['filters','filter','where','merge','includeAll','findAll','rows','show','params','include','options','create','update','body','find','getFields','findOne','order','pick','hasOwnProperty','getSubjects','getDescriptions','VtigerField','html-pdf','eml-format','rimraf','zip-dir','request-promise','moment','bluebird','mustache','util','path','to-csv','lodash','squel','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','jayson/promise','client','http','test','Sequelize','ValidationError','The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.','then','info','request\x20sent','debug','error','code','VtigerConfiguration,\x20%s,\x20%s','message','result','catch','sendStatus','end','status','json','count','offset','limit','set','apply','destroy','stack','name','send','VtigerConfiguration','rawAttributes','fieldName','model','map','query','keys','intersection','attributes','fields','length','nolimit','sort'];(function(_0x42e7ff,_0x4b54c1){var _0x5dcba1=function(_0xf76705){while(--_0xf76705){_0x42e7ff['push'](_0x42e7ff['shift']());}};_0x5dcba1(++_0x4b54c1);}(_0xfa46,0x17f));var _0x6fa4=function(_0x2c91e9,_0x2fb965){_0x2c91e9=_0x2c91e9-0x0;var _0x13f0ff=_0xfa46[_0x2c91e9];return _0x13f0ff;};'use strict';var pdf=require(_0x6fa4('0x0'));var emlformat=require(_0x6fa4('0x1'));var rimraf=require(_0x6fa4('0x2'));var zipdir=require(_0x6fa4('0x3'));var jsonpatch=require('fast-json-patch');var rp=require(_0x6fa4('0x4'));var moment=require(_0x6fa4('0x5'));var BPromise=require(_0x6fa4('0x6'));var Mustache=require(_0x6fa4('0x7'));var util=require(_0x6fa4('0x8'));var path=require(_0x6fa4('0x9'));var sox=require('sox');var csv=require(_0x6fa4('0xa'));var ejs=require('ejs');var fs=require('fs');var _=require(_0x6fa4('0xb'));var squel=require(_0x6fa4('0xc'));var crypto=require('crypto');var jsforce=require('jsforce');var deskjs=require(_0x6fa4('0xd'));var toCsv=require(_0x6fa4('0xa'));var querystring=require(_0x6fa4('0xe'));var Papa=require(_0x6fa4('0xf'));var Redis=require(_0x6fa4('0x10'));var authService=require(_0x6fa4('0x11'));var qs=require(_0x6fa4('0x12'));var as=require(_0x6fa4('0x13'));var hardwareService=require(_0x6fa4('0x14'));var logger=require(_0x6fa4('0x15'))(_0x6fa4('0x16'));var utils=require(_0x6fa4('0x17'));var config=require('../../config/environment');var db=require('../../mysqldb')['db'];var jayson=require(_0x6fa4('0x18'));var client=jayson[_0x6fa4('0x19')][_0x6fa4('0x1a')]({'port':0x232a});function checkPasswordPattern(_0xa442ac,_0x543ac1,_0x381d4c){if(_0x381d4c){var _0x2ebf62=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0x2ebf62[_0x6fa4('0x1b')](_0x543ac1)){return _0xa442ac;}else{throw new db[(_0x6fa4('0x1c'))][(_0x6fa4('0x1d'))](_0x6fa4('0x1e'));}}else{return _0xa442ac;}}function respondWithRpcPromise(_0x12673e,_0x6ee85b,_0x4c735e,_0x28825c){return new BPromise(function(_0x313bf4,_0x5f4197){var _0x598727=_0x28825c||client;return _0x598727['request'](_0x12673e,_0x4c735e)[_0x6fa4('0x1f')](function(_0x135001){logger[_0x6fa4('0x20')]('VtigerConfiguration,\x20%s,\x20%s',_0x6ee85b,_0x6fa4('0x21'));logger[_0x6fa4('0x22')]('VtigerConfiguration,\x20%s,\x20%s,\x20%s',_0x6ee85b,_0x6fa4('0x21'),JSON['stringify'](_0x135001));if(_0x135001[_0x6fa4('0x23')]){if(_0x135001[_0x6fa4('0x23')][_0x6fa4('0x24')]===0x1f4){logger['error'](_0x6fa4('0x25'),_0x6ee85b,_0x135001[_0x6fa4('0x23')][_0x6fa4('0x26')]);return _0x5f4197(_0x135001[_0x6fa4('0x23')][_0x6fa4('0x26')]);}logger[_0x6fa4('0x23')](_0x6fa4('0x25'),_0x6ee85b,_0x135001[_0x6fa4('0x23')][_0x6fa4('0x26')]);return _0x313bf4(_0x135001[_0x6fa4('0x23')][_0x6fa4('0x26')]);}else{logger[_0x6fa4('0x20')](_0x6fa4('0x25'),_0x6ee85b,_0x6fa4('0x21'));_0x313bf4(_0x135001[_0x6fa4('0x27')][_0x6fa4('0x26')]);}})[_0x6fa4('0x28')](function(_0x4835c3){logger[_0x6fa4('0x23')](_0x6fa4('0x25'),_0x6ee85b,_0x4835c3);_0x5f4197(_0x4835c3);});});}function respondWithStatusCode(_0x2eb061,_0x56da64){_0x56da64=_0x56da64||0xcc;return function(_0xa9500d){if(_0xa9500d){return _0x2eb061[_0x6fa4('0x29')](_0x56da64);}return _0x2eb061['status'](_0x56da64)[_0x6fa4('0x2a')]();};}function respondWithResult(_0x5ebcfa,_0x185e9f){_0x185e9f=_0x185e9f||0xc8;return function(_0xece67e){if(_0xece67e){return _0x5ebcfa[_0x6fa4('0x2b')](_0x185e9f)[_0x6fa4('0x2c')](_0xece67e);}};}function respondWithFilteredResult(_0x296a70,_0x2e72b7){return function(_0x573a2f){if(_0x573a2f){var _0x35d8d8=_0x573a2f[_0x6fa4('0x2d')],_0x44ad1e=_0x2e72b7[_0x6fa4('0x2e')],_0x4fc55d=_0x2e72b7[_0x6fa4('0x2e')]+_0x2e72b7[_0x6fa4('0x2f')],_0x55857a;if(_0x4fc55d>=_0x35d8d8){_0x4fc55d=_0x35d8d8;_0x55857a=0xc8;}else{_0x55857a=0xce;}_0x296a70[_0x6fa4('0x2b')](_0x55857a);return _0x296a70[_0x6fa4('0x30')]('Content-Range',_0x44ad1e+'-'+_0x4fc55d+'/'+_0x35d8d8)[_0x6fa4('0x2c')](_0x573a2f);}return null;};}function patchUpdates(_0x3962f8){return function(_0xa57dd9){try{jsonpatch[_0x6fa4('0x31')](_0xa57dd9,_0x3962f8,!![]);}catch(_0x43b75a){return BPromise['reject'](_0x43b75a);}return _0xa57dd9['save']();};}function saveUpdates(_0xbd9cf3,_0x3cd248){return function(_0x276ff0){if(_0x276ff0){return _0x276ff0['update'](_0xbd9cf3)[_0x6fa4('0x1f')](function(_0x128044){return _0x128044;});}return null;};}function removeEntity(_0x299432,_0xe8b679){return function(_0x131d71){if(_0x131d71){return _0x131d71[_0x6fa4('0x32')]()['then'](function(){_0x299432['status'](0xcc)[_0x6fa4('0x2a')]();});}};}function handleEntityNotFound(_0x2818ec,_0x5eaafe){return function(_0x34a847){if(!_0x34a847){_0x2818ec[_0x6fa4('0x29')](0x194);}return _0x34a847;};}function handleError(_0x19a98f,_0x189c36){_0x189c36=_0x189c36||0x1f4;return function(_0x3876a2){logger[_0x6fa4('0x23')](_0x3876a2[_0x6fa4('0x33')]);if(_0x3876a2[_0x6fa4('0x34')]){delete _0x3876a2[_0x6fa4('0x34')];}_0x19a98f[_0x6fa4('0x2b')](_0x189c36)[_0x6fa4('0x35')](_0x3876a2);};}exports['index']=function(_0x4055af,_0x12af8a){var _0x2fbf73={},_0x4a3076={},_0x1f36a1={'count':0x0,'rows':[]};var _0x45f56f=_['map'](db[_0x6fa4('0x36')][_0x6fa4('0x37')],function(_0x266d7b){return{'name':_0x266d7b[_0x6fa4('0x38')],'type':_0x266d7b['type']['key']};});_0x4a3076[_0x6fa4('0x39')]=_[_0x6fa4('0x3a')](_0x45f56f,_0x6fa4('0x34'));_0x4a3076[_0x6fa4('0x3b')]=_[_0x6fa4('0x3c')](_0x4055af['query']);_0x4a3076['filters']=_[_0x6fa4('0x3d')](_0x4a3076[_0x6fa4('0x39')],_0x4a3076['query']);_0x2fbf73[_0x6fa4('0x3e')]=_['intersection'](_0x4a3076['model'],qs[_0x6fa4('0x3f')](_0x4055af['query'][_0x6fa4('0x3f')]));_0x2fbf73[_0x6fa4('0x3e')]=_0x2fbf73[_0x6fa4('0x3e')][_0x6fa4('0x40')]?_0x2fbf73[_0x6fa4('0x3e')]:_0x4a3076[_0x6fa4('0x39')];if(!_0x4055af['query']['hasOwnProperty'](_0x6fa4('0x41'))){_0x2fbf73[_0x6fa4('0x2f')]=qs['limit'](_0x4055af[_0x6fa4('0x3b')][_0x6fa4('0x2f')]);_0x2fbf73['offset']=qs[_0x6fa4('0x2e')](_0x4055af['query'][_0x6fa4('0x2e')]);}_0x2fbf73['order']=qs[_0x6fa4('0x42')](_0x4055af[_0x6fa4('0x3b')][_0x6fa4('0x42')]);_0x2fbf73['where']=qs[_0x6fa4('0x43')](_['pick'](_0x4055af[_0x6fa4('0x3b')],_0x4a3076[_0x6fa4('0x43')]),_0x45f56f);if(_0x4055af[_0x6fa4('0x3b')][_0x6fa4('0x44')]){_0x2fbf73[_0x6fa4('0x45')]=_['merge'](_0x2fbf73[_0x6fa4('0x45')],{'$or':_[_0x6fa4('0x3a')](_0x45f56f,function(_0x26b95e){if(_0x26b95e['type']!=='VIRTUAL'){var _0x5bd889={};_0x5bd889[_0x26b95e[_0x6fa4('0x34')]]={'$like':'%'+_0x4055af[_0x6fa4('0x3b')][_0x6fa4('0x44')]+'%'};return _0x5bd889;}})});}_0x2fbf73=_[_0x6fa4('0x46')]({},_0x2fbf73,_0x4055af['options']);var _0xebad4f={'where':_0x2fbf73[_0x6fa4('0x45')]};return db[_0x6fa4('0x36')][_0x6fa4('0x2d')](_0xebad4f)[_0x6fa4('0x1f')](function(_0x7e7fdd){_0x1f36a1[_0x6fa4('0x2d')]=_0x7e7fdd;if(_0x4055af[_0x6fa4('0x3b')][_0x6fa4('0x47')]){_0x2fbf73['include']=[{'all':!![]}];}return db['VtigerConfiguration'][_0x6fa4('0x48')](_0x2fbf73);})['then'](function(_0x577679){_0x1f36a1[_0x6fa4('0x49')]=_0x577679;return _0x1f36a1;})[_0x6fa4('0x1f')](respondWithFilteredResult(_0x12af8a,_0x2fbf73))[_0x6fa4('0x28')](handleError(_0x12af8a,null));};exports[_0x6fa4('0x4a')]=function(_0xa9be3d,_0x15cd87){var _0x217024={'raw':![],'where':{'id':_0xa9be3d[_0x6fa4('0x4b')]['id']}},_0xb6d90d={};_0xb6d90d[_0x6fa4('0x39')]=_[_0x6fa4('0x3c')](db[_0x6fa4('0x36')][_0x6fa4('0x37')]);_0xb6d90d[_0x6fa4('0x3b')]=_[_0x6fa4('0x3c')](_0xa9be3d['query']);_0xb6d90d[_0x6fa4('0x43')]=_[_0x6fa4('0x3d')](_0xb6d90d[_0x6fa4('0x39')],_0xb6d90d[_0x6fa4('0x3b')]);_0x217024[_0x6fa4('0x3e')]=_[_0x6fa4('0x3d')](_0xb6d90d[_0x6fa4('0x39')],qs[_0x6fa4('0x3f')](_0xa9be3d[_0x6fa4('0x3b')][_0x6fa4('0x3f')]));_0x217024[_0x6fa4('0x3e')]=_0x217024[_0x6fa4('0x3e')][_0x6fa4('0x40')]?_0x217024[_0x6fa4('0x3e')]:_0xb6d90d['model'];if(_0xa9be3d[_0x6fa4('0x3b')][_0x6fa4('0x47')]){_0x217024[_0x6fa4('0x4c')]=[{'all':!![]}];}_0x217024=_['merge']({},_0x217024,_0xa9be3d[_0x6fa4('0x4d')]);return db[_0x6fa4('0x36')]['find'](_0x217024)[_0x6fa4('0x1f')](handleEntityNotFound(_0x15cd87,null))['then'](respondWithResult(_0x15cd87,null))['catch'](handleError(_0x15cd87,null));};exports[_0x6fa4('0x4e')]=function(_0x48ccac,_0x5f438c){return db[_0x6fa4('0x36')][_0x6fa4('0x4e')](_0x48ccac['body'],{})[_0x6fa4('0x1f')](respondWithResult(_0x5f438c,0xc9))[_0x6fa4('0x28')](handleError(_0x5f438c,null));};exports[_0x6fa4('0x4f')]=function(_0x553030,_0x2d770e){if(_0x553030[_0x6fa4('0x50')]['id']){delete _0x553030['body']['id'];}return db[_0x6fa4('0x36')][_0x6fa4('0x51')]({'where':{'id':_0x553030[_0x6fa4('0x4b')]['id']}})['then'](handleEntityNotFound(_0x2d770e,null))[_0x6fa4('0x1f')](saveUpdates(_0x553030[_0x6fa4('0x50')],null))[_0x6fa4('0x1f')](respondWithResult(_0x2d770e,null))[_0x6fa4('0x28')](handleError(_0x2d770e,null));};exports[_0x6fa4('0x32')]=function(_0x5dc2b2,_0x193cc9){return db[_0x6fa4('0x36')][_0x6fa4('0x51')]({'where':{'id':_0x5dc2b2[_0x6fa4('0x4b')]['id']}})['then'](handleEntityNotFound(_0x193cc9,null))['then'](removeEntity(_0x193cc9,null))[_0x6fa4('0x28')](handleError(_0x193cc9,null));};exports[_0x6fa4('0x52')]=function(_0x445d74,_0x592871,_0x4215e2){var _0x1574c6={};var _0x1add18={};var _0x4c39a0;var _0x58fcff;return db['VtigerConfiguration'][_0x6fa4('0x53')]({'where':{'id':_0x445d74[_0x6fa4('0x4b')]['id']}})[_0x6fa4('0x1f')](handleEntityNotFound(_0x592871,null))[_0x6fa4('0x1f')](function(_0x300be5){if(_0x300be5){_0x4c39a0=_0x300be5;_0x1add18['model']=_[_0x6fa4('0x3c')](db['VtigerField']['rawAttributes']);_0x1add18['query']=_[_0x6fa4('0x3c')](_0x445d74[_0x6fa4('0x3b')]);_0x1add18[_0x6fa4('0x43')]=_[_0x6fa4('0x3d')](_0x1add18[_0x6fa4('0x39')],_0x1add18[_0x6fa4('0x3b')]);_0x1574c6[_0x6fa4('0x3e')]=_[_0x6fa4('0x3d')](_0x1add18[_0x6fa4('0x39')],qs['fields'](_0x445d74[_0x6fa4('0x3b')][_0x6fa4('0x3f')]));_0x1574c6['attributes']=_0x1574c6[_0x6fa4('0x3e')][_0x6fa4('0x40')]?_0x1574c6['attributes']:_0x1add18[_0x6fa4('0x39')];_0x1574c6[_0x6fa4('0x54')]=qs[_0x6fa4('0x42')](_0x445d74[_0x6fa4('0x3b')][_0x6fa4('0x42')]);_0x1574c6[_0x6fa4('0x45')]=qs[_0x6fa4('0x43')](_[_0x6fa4('0x55')](_0x445d74[_0x6fa4('0x3b')],_0x1add18[_0x6fa4('0x43')]));if(_0x445d74[_0x6fa4('0x3b')]['filter']){_0x1574c6[_0x6fa4('0x45')]=_['merge'](_0x1574c6[_0x6fa4('0x45')],{'$or':_['map'](_0x1574c6[_0x6fa4('0x3e')],function(_0x5e50bb){var _0x5773cc={};_0x5773cc[_0x5e50bb]={'$like':'%'+_0x445d74[_0x6fa4('0x3b')][_0x6fa4('0x44')]+'%'};return _0x5773cc;})});}_0x1574c6=_[_0x6fa4('0x46')]({},_0x1574c6,_0x445d74['options']);return _0x4c39a0[_0x6fa4('0x52')](_0x1574c6);}})[_0x6fa4('0x1f')](function(_0x431f77){if(_0x431f77){_0x58fcff=_0x431f77[_0x6fa4('0x40')];if(!_0x445d74[_0x6fa4('0x3b')][_0x6fa4('0x56')](_0x6fa4('0x41'))){_0x1574c6[_0x6fa4('0x2f')]=qs[_0x6fa4('0x2f')](_0x445d74[_0x6fa4('0x3b')][_0x6fa4('0x2f')]);_0x1574c6[_0x6fa4('0x2e')]=qs[_0x6fa4('0x2e')](_0x445d74['query'][_0x6fa4('0x2e')]);}return _0x4c39a0['getFields'](_0x1574c6);}})[_0x6fa4('0x1f')](function(_0x5d1ac5){if(_0x5d1ac5){return _0x5d1ac5?{'count':_0x58fcff,'rows':_0x5d1ac5}:null;}})['then'](respondWithResult(_0x592871,null))[_0x6fa4('0x28')](handleError(_0x592871,null));};exports[_0x6fa4('0x57')]=function(_0x53b310,_0x475c26,_0x2e3153){var _0x384792={};var _0x535e10={};var _0x2f05ba;var _0x51d306;return db[_0x6fa4('0x36')][_0x6fa4('0x53')]({'where':{'id':_0x53b310[_0x6fa4('0x4b')]['id']}})['then'](handleEntityNotFound(_0x475c26,null))['then'](function(_0xf964fb){if(_0xf964fb){_0x2f05ba=_0xf964fb;_0x535e10[_0x6fa4('0x39')]=_['keys'](db['VtigerField']['rawAttributes']);_0x535e10[_0x6fa4('0x3b')]=_[_0x6fa4('0x3c')](_0x53b310[_0x6fa4('0x3b')]);_0x535e10[_0x6fa4('0x43')]=_[_0x6fa4('0x3d')](_0x535e10[_0x6fa4('0x39')],_0x535e10['query']);_0x384792[_0x6fa4('0x3e')]=_[_0x6fa4('0x3d')](_0x535e10[_0x6fa4('0x39')],qs[_0x6fa4('0x3f')](_0x53b310['query'][_0x6fa4('0x3f')]));_0x384792[_0x6fa4('0x3e')]=_0x384792[_0x6fa4('0x3e')][_0x6fa4('0x40')]?_0x384792[_0x6fa4('0x3e')]:_0x535e10['model'];_0x384792[_0x6fa4('0x54')]=qs[_0x6fa4('0x42')](_0x53b310['query'][_0x6fa4('0x42')]);_0x384792[_0x6fa4('0x45')]=qs['filters'](_[_0x6fa4('0x55')](_0x53b310[_0x6fa4('0x3b')],_0x535e10['filters']));if(_0x53b310[_0x6fa4('0x3b')][_0x6fa4('0x44')]){_0x384792['where']=_[_0x6fa4('0x46')](_0x384792[_0x6fa4('0x45')],{'$or':_['map'](_0x384792[_0x6fa4('0x3e')],function(_0x2a8635){var _0x5d88ef={};_0x5d88ef[_0x2a8635]={'$like':'%'+_0x53b310[_0x6fa4('0x3b')][_0x6fa4('0x44')]+'%'};return _0x5d88ef;})});}_0x384792=_[_0x6fa4('0x46')]({},_0x384792,_0x53b310[_0x6fa4('0x4d')]);return _0x2f05ba[_0x6fa4('0x57')](_0x384792);}})[_0x6fa4('0x1f')](function(_0x44a028){if(_0x44a028){_0x51d306=_0x44a028[_0x6fa4('0x40')];if(!_0x53b310[_0x6fa4('0x3b')]['hasOwnProperty'](_0x6fa4('0x41'))){_0x384792[_0x6fa4('0x2f')]=qs[_0x6fa4('0x2f')](_0x53b310[_0x6fa4('0x3b')][_0x6fa4('0x2f')]);_0x384792[_0x6fa4('0x2e')]=qs[_0x6fa4('0x2e')](_0x53b310[_0x6fa4('0x3b')][_0x6fa4('0x2e')]);}return _0x2f05ba[_0x6fa4('0x57')](_0x384792);}})['then'](function(_0x184ff5){if(_0x184ff5){return _0x184ff5?{'count':_0x51d306,'rows':_0x184ff5}:null;}})[_0x6fa4('0x1f')](respondWithResult(_0x475c26,null))[_0x6fa4('0x28')](handleError(_0x475c26,null));};exports[_0x6fa4('0x58')]=function(_0xc1751c,_0x13d935,_0x85509b){var _0x3e43ed={};var _0x596a86={};var _0x2ccaa4;var _0x1159f1;return db[_0x6fa4('0x36')]['findOne']({'where':{'id':_0xc1751c[_0x6fa4('0x4b')]['id']}})[_0x6fa4('0x1f')](handleEntityNotFound(_0x13d935,null))[_0x6fa4('0x1f')](function(_0xb9efdc){if(_0xb9efdc){_0x2ccaa4=_0xb9efdc;_0x596a86[_0x6fa4('0x39')]=_[_0x6fa4('0x3c')](db[_0x6fa4('0x59')][_0x6fa4('0x37')]);_0x596a86[_0x6fa4('0x3b')]=_[_0x6fa4('0x3c')](_0xc1751c['query']);_0x596a86[_0x6fa4('0x43')]=_[_0x6fa4('0x3d')](_0x596a86[_0x6fa4('0x39')],_0x596a86[_0x6fa4('0x3b')]);_0x3e43ed[_0x6fa4('0x3e')]=_[_0x6fa4('0x3d')](_0x596a86[_0x6fa4('0x39')],qs[_0x6fa4('0x3f')](_0xc1751c[_0x6fa4('0x3b')]['fields']));_0x3e43ed[_0x6fa4('0x3e')]=_0x3e43ed[_0x6fa4('0x3e')][_0x6fa4('0x40')]?_0x3e43ed['attributes']:_0x596a86[_0x6fa4('0x39')];_0x3e43ed[_0x6fa4('0x54')]=qs[_0x6fa4('0x42')](_0xc1751c[_0x6fa4('0x3b')]['sort']);_0x3e43ed[_0x6fa4('0x45')]=qs[_0x6fa4('0x43')](_[_0x6fa4('0x55')](_0xc1751c[_0x6fa4('0x3b')],_0x596a86[_0x6fa4('0x43')]));if(_0xc1751c[_0x6fa4('0x3b')]['filter']){_0x3e43ed['where']=_[_0x6fa4('0x46')](_0x3e43ed[_0x6fa4('0x45')],{'$or':_['map'](_0x3e43ed[_0x6fa4('0x3e')],function(_0x2b8f3b){var _0x276b48={};_0x276b48[_0x2b8f3b]={'$like':'%'+_0xc1751c[_0x6fa4('0x3b')][_0x6fa4('0x44')]+'%'};return _0x276b48;})});}_0x3e43ed=_['merge']({},_0x3e43ed,_0xc1751c[_0x6fa4('0x4d')]);return _0x2ccaa4[_0x6fa4('0x58')](_0x3e43ed);}})[_0x6fa4('0x1f')](function(_0x5ece4a){if(_0x5ece4a){_0x1159f1=_0x5ece4a[_0x6fa4('0x40')];if(!_0xc1751c['query'][_0x6fa4('0x56')](_0x6fa4('0x41'))){_0x3e43ed[_0x6fa4('0x2f')]=qs[_0x6fa4('0x2f')](_0xc1751c[_0x6fa4('0x3b')][_0x6fa4('0x2f')]);_0x3e43ed[_0x6fa4('0x2e')]=qs[_0x6fa4('0x2e')](_0xc1751c[_0x6fa4('0x3b')]['offset']);}return _0x2ccaa4[_0x6fa4('0x58')](_0x3e43ed);}})[_0x6fa4('0x1f')](function(_0x1a5c64){if(_0x1a5c64){return _0x1a5c64?{'count':_0x1159f1,'rows':_0x1a5c64}:null;}})[_0x6fa4('0x1f')](respondWithResult(_0x13d935,null))[_0x6fa4('0x28')](handleError(_0x13d935,null));}; \ No newline at end of file +var _0x462a=['set','Content-Range','reject','update','destroy','stack','name','send','index','rawAttributes','fieldName','type','key','model','keys','query','filters','attributes','fields','length','hasOwnProperty','sort','pick','filter','where','merge','map','VIRTUAL','options','VtigerConfiguration','includeAll','findAll','rows','params','intersection','include','find','create','body','getFields','findOne','VtigerField','nolimit','order','getSubjects','getDescriptions','eml-format','rimraf','zip-dir','fast-json-patch','mustache','path','to-csv','ejs','lodash','squel','querystring','papaparse','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','../../config/environment','../../mysqldb','jayson/promise','http','test','Sequelize','ValidationError','The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.','request','then','info','VtigerConfiguration,\x20%s,\x20%s','request\x20sent','debug','VtigerConfiguration,\x20%s,\x20%s,\x20%s','stringify','error','code','message','result','catch','sendStatus','status','end','json','count','offset','limit'];(function(_0x1ed8de,_0x32a52f){var _0x4acdae=function(_0x5d352d){while(--_0x5d352d){_0x1ed8de['push'](_0x1ed8de['shift']());}};_0x4acdae(++_0x32a52f);}(_0x462a,0xe0));var _0xa462=function(_0x1f99b4,_0x5c2fa2){_0x1f99b4=_0x1f99b4-0x0;var _0x6d70cf=_0x462a[_0x1f99b4];return _0x6d70cf;};'use strict';var pdf=require('html-pdf');var emlformat=require(_0xa462('0x0'));var rimraf=require(_0xa462('0x1'));var zipdir=require(_0xa462('0x2'));var jsonpatch=require(_0xa462('0x3'));var rp=require('request-promise');var moment=require('moment');var BPromise=require('bluebird');var Mustache=require(_0xa462('0x4'));var util=require('util');var path=require(_0xa462('0x5'));var sox=require('sox');var csv=require(_0xa462('0x6'));var ejs=require(_0xa462('0x7'));var fs=require('fs');var _=require(_0xa462('0x8'));var squel=require(_0xa462('0x9'));var crypto=require('crypto');var jsforce=require('jsforce');var deskjs=require('desk.js');var toCsv=require(_0xa462('0x6'));var querystring=require(_0xa462('0xa'));var Papa=require(_0xa462('0xb'));var Redis=require('ioredis');var authService=require('../../components/auth/service');var qs=require('../../components/parsers/qs');var as=require(_0xa462('0xc'));var hardwareService=require(_0xa462('0xd'));var logger=require(_0xa462('0xe'))('api');var utils=require('../../config/utils');var config=require(_0xa462('0xf'));var db=require(_0xa462('0x10'))['db'];var jayson=require(_0xa462('0x11'));var client=jayson['client'][_0xa462('0x12')]({'port':0x232a});function checkPasswordPattern(_0x9c3d72,_0x54466e,_0x33aeaf){if(_0x33aeaf){var _0x5c8407=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0x5c8407[_0xa462('0x13')](_0x54466e)){return _0x9c3d72;}else{throw new db[(_0xa462('0x14'))][(_0xa462('0x15'))](_0xa462('0x16'));}}else{return _0x9c3d72;}}function respondWithRpcPromise(_0x237d30,_0x38a69e,_0x40680c,_0x157f67){return new BPromise(function(_0x464beb,_0x5634d7){var _0x17d288=_0x157f67||client;return _0x17d288[_0xa462('0x17')](_0x237d30,_0x40680c)[_0xa462('0x18')](function(_0x599c1b){logger[_0xa462('0x19')](_0xa462('0x1a'),_0x38a69e,_0xa462('0x1b'));logger[_0xa462('0x1c')](_0xa462('0x1d'),_0x38a69e,_0xa462('0x1b'),JSON[_0xa462('0x1e')](_0x599c1b));if(_0x599c1b['error']){if(_0x599c1b[_0xa462('0x1f')][_0xa462('0x20')]===0x1f4){logger[_0xa462('0x1f')](_0xa462('0x1a'),_0x38a69e,_0x599c1b[_0xa462('0x1f')][_0xa462('0x21')]);return _0x5634d7(_0x599c1b[_0xa462('0x1f')]['message']);}logger[_0xa462('0x1f')](_0xa462('0x1a'),_0x38a69e,_0x599c1b[_0xa462('0x1f')][_0xa462('0x21')]);return _0x464beb(_0x599c1b['error'][_0xa462('0x21')]);}else{logger[_0xa462('0x19')](_0xa462('0x1a'),_0x38a69e,'request\x20sent');_0x464beb(_0x599c1b[_0xa462('0x22')][_0xa462('0x21')]);}})[_0xa462('0x23')](function(_0x51374a){logger[_0xa462('0x1f')](_0xa462('0x1a'),_0x38a69e,_0x51374a);_0x5634d7(_0x51374a);});});}function respondWithStatusCode(_0x141c1c,_0x318b74){_0x318b74=_0x318b74||0xcc;return function(_0x667088){if(_0x667088){return _0x141c1c[_0xa462('0x24')](_0x318b74);}return _0x141c1c[_0xa462('0x25')](_0x318b74)[_0xa462('0x26')]();};}function respondWithResult(_0x55e681,_0x4b875b){_0x4b875b=_0x4b875b||0xc8;return function(_0x310e8a){if(_0x310e8a){return _0x55e681['status'](_0x4b875b)[_0xa462('0x27')](_0x310e8a);}};}function respondWithFilteredResult(_0x1b458f,_0x243718){return function(_0x345aaf){if(_0x345aaf){var _0x8a1fb9=_0x345aaf[_0xa462('0x28')],_0x14d355=_0x243718['offset'],_0x3a2d43=_0x243718[_0xa462('0x29')]+_0x243718[_0xa462('0x2a')],_0x3b84c6;if(_0x3a2d43>=_0x8a1fb9){_0x3a2d43=_0x8a1fb9;_0x3b84c6=0xc8;}else{_0x3b84c6=0xce;}_0x1b458f['status'](_0x3b84c6);return _0x1b458f[_0xa462('0x2b')](_0xa462('0x2c'),_0x14d355+'-'+_0x3a2d43+'/'+_0x8a1fb9)[_0xa462('0x27')](_0x345aaf);}return null;};}function patchUpdates(_0x3db6d3){return function(_0x273d0f){try{jsonpatch['apply'](_0x273d0f,_0x3db6d3,!![]);}catch(_0x48482a){return BPromise[_0xa462('0x2d')](_0x48482a);}return _0x273d0f['save']();};}function saveUpdates(_0x21a047,_0x16952e){return function(_0xe033ce){if(_0xe033ce){return _0xe033ce[_0xa462('0x2e')](_0x21a047)[_0xa462('0x18')](function(_0x96956c){return _0x96956c;});}return null;};}function removeEntity(_0x57137e,_0x2d8a50){return function(_0x49401d){if(_0x49401d){return _0x49401d[_0xa462('0x2f')]()[_0xa462('0x18')](function(){_0x57137e[_0xa462('0x25')](0xcc)[_0xa462('0x26')]();});}};}function handleEntityNotFound(_0x292460,_0x58c7a8){return function(_0x16fa5f){if(!_0x16fa5f){_0x292460['sendStatus'](0x194);}return _0x16fa5f;};}function handleError(_0x8cc429,_0x145737){_0x145737=_0x145737||0x1f4;return function(_0x429418){logger[_0xa462('0x1f')](_0x429418[_0xa462('0x30')]);if(_0x429418[_0xa462('0x31')]){delete _0x429418[_0xa462('0x31')];}_0x8cc429[_0xa462('0x25')](_0x145737)[_0xa462('0x32')](_0x429418);};}exports[_0xa462('0x33')]=function(_0x52cadd,_0x4d0702){var _0x4398e7={},_0x5d4720={},_0x35d845={'count':0x0,'rows':[]};var _0x66f312=_['map'](db['VtigerConfiguration'][_0xa462('0x34')],function(_0x2d1159){return{'name':_0x2d1159[_0xa462('0x35')],'type':_0x2d1159[_0xa462('0x36')][_0xa462('0x37')]};});_0x5d4720[_0xa462('0x38')]=_['map'](_0x66f312,_0xa462('0x31'));_0x5d4720['query']=_[_0xa462('0x39')](_0x52cadd[_0xa462('0x3a')]);_0x5d4720[_0xa462('0x3b')]=_['intersection'](_0x5d4720['model'],_0x5d4720[_0xa462('0x3a')]);_0x4398e7[_0xa462('0x3c')]=_['intersection'](_0x5d4720[_0xa462('0x38')],qs[_0xa462('0x3d')](_0x52cadd['query'][_0xa462('0x3d')]));_0x4398e7[_0xa462('0x3c')]=_0x4398e7[_0xa462('0x3c')][_0xa462('0x3e')]?_0x4398e7[_0xa462('0x3c')]:_0x5d4720[_0xa462('0x38')];if(!_0x52cadd[_0xa462('0x3a')][_0xa462('0x3f')]('nolimit')){_0x4398e7[_0xa462('0x2a')]=qs[_0xa462('0x2a')](_0x52cadd['query'][_0xa462('0x2a')]);_0x4398e7[_0xa462('0x29')]=qs['offset'](_0x52cadd[_0xa462('0x3a')][_0xa462('0x29')]);}_0x4398e7['order']=qs[_0xa462('0x40')](_0x52cadd[_0xa462('0x3a')][_0xa462('0x40')]);_0x4398e7['where']=qs[_0xa462('0x3b')](_[_0xa462('0x41')](_0x52cadd[_0xa462('0x3a')],_0x5d4720[_0xa462('0x3b')]),_0x66f312);if(_0x52cadd[_0xa462('0x3a')][_0xa462('0x42')]){_0x4398e7[_0xa462('0x43')]=_[_0xa462('0x44')](_0x4398e7['where'],{'$or':_[_0xa462('0x45')](_0x66f312,function(_0xe78273){if(_0xe78273[_0xa462('0x36')]!==_0xa462('0x46')){var _0x55b648={};_0x55b648[_0xe78273['name']]={'$like':'%'+_0x52cadd[_0xa462('0x3a')][_0xa462('0x42')]+'%'};return _0x55b648;}})});}_0x4398e7=_[_0xa462('0x44')]({},_0x4398e7,_0x52cadd[_0xa462('0x47')]);var _0x46292e={'where':_0x4398e7[_0xa462('0x43')]};return db[_0xa462('0x48')][_0xa462('0x28')](_0x46292e)[_0xa462('0x18')](function(_0x2f3a54){_0x35d845[_0xa462('0x28')]=_0x2f3a54;if(_0x52cadd[_0xa462('0x3a')][_0xa462('0x49')]){_0x4398e7['include']=[{'all':!![]}];}return db['VtigerConfiguration'][_0xa462('0x4a')](_0x4398e7);})['then'](function(_0x4bb994){_0x35d845[_0xa462('0x4b')]=_0x4bb994;return _0x35d845;})[_0xa462('0x18')](respondWithFilteredResult(_0x4d0702,_0x4398e7))[_0xa462('0x23')](handleError(_0x4d0702,null));};exports['show']=function(_0x20ecac,_0x212e80){var _0x46e352={'raw':![],'where':{'id':_0x20ecac[_0xa462('0x4c')]['id']}},_0x12d4b8={};_0x12d4b8[_0xa462('0x38')]=_[_0xa462('0x39')](db[_0xa462('0x48')][_0xa462('0x34')]);_0x12d4b8[_0xa462('0x3a')]=_[_0xa462('0x39')](_0x20ecac[_0xa462('0x3a')]);_0x12d4b8[_0xa462('0x3b')]=_['intersection'](_0x12d4b8[_0xa462('0x38')],_0x12d4b8['query']);_0x46e352[_0xa462('0x3c')]=_[_0xa462('0x4d')](_0x12d4b8[_0xa462('0x38')],qs[_0xa462('0x3d')](_0x20ecac['query'][_0xa462('0x3d')]));_0x46e352[_0xa462('0x3c')]=_0x46e352[_0xa462('0x3c')]['length']?_0x46e352[_0xa462('0x3c')]:_0x12d4b8[_0xa462('0x38')];if(_0x20ecac['query'][_0xa462('0x49')]){_0x46e352[_0xa462('0x4e')]=[{'all':!![]}];}_0x46e352=_[_0xa462('0x44')]({},_0x46e352,_0x20ecac[_0xa462('0x47')]);return db[_0xa462('0x48')][_0xa462('0x4f')](_0x46e352)['then'](handleEntityNotFound(_0x212e80,null))['then'](respondWithResult(_0x212e80,null))[_0xa462('0x23')](handleError(_0x212e80,null));};exports[_0xa462('0x50')]=function(_0x2d21ca,_0x5e31c2){return db[_0xa462('0x48')][_0xa462('0x50')](_0x2d21ca[_0xa462('0x51')],{})['then'](respondWithResult(_0x5e31c2,0xc9))[_0xa462('0x23')](handleError(_0x5e31c2,null));};exports[_0xa462('0x2e')]=function(_0x5b615c,_0x506c1f){if(_0x5b615c[_0xa462('0x51')]['id']){delete _0x5b615c['body']['id'];}return db[_0xa462('0x48')]['find']({'where':{'id':_0x5b615c[_0xa462('0x4c')]['id']}})[_0xa462('0x18')](handleEntityNotFound(_0x506c1f,null))['then'](saveUpdates(_0x5b615c[_0xa462('0x51')],null))[_0xa462('0x18')](respondWithResult(_0x506c1f,null))['catch'](handleError(_0x506c1f,null));};exports['destroy']=function(_0x35ddff,_0x4e2396){return db[_0xa462('0x48')][_0xa462('0x4f')]({'where':{'id':_0x35ddff[_0xa462('0x4c')]['id']}})[_0xa462('0x18')](handleEntityNotFound(_0x4e2396,null))['then'](removeEntity(_0x4e2396,null))['catch'](handleError(_0x4e2396,null));};exports[_0xa462('0x52')]=function(_0x44d9f5,_0x5529d3,_0x209347){var _0x5b087b={};var _0x7f0292={};var _0x198de0;var _0xcb3b7b;return db['VtigerConfiguration'][_0xa462('0x53')]({'where':{'id':_0x44d9f5[_0xa462('0x4c')]['id']}})['then'](handleEntityNotFound(_0x5529d3,null))[_0xa462('0x18')](function(_0x3359c5){if(_0x3359c5){_0x198de0=_0x3359c5;_0x7f0292[_0xa462('0x38')]=_[_0xa462('0x39')](db[_0xa462('0x54')][_0xa462('0x34')]);_0x7f0292[_0xa462('0x3a')]=_[_0xa462('0x39')](_0x44d9f5[_0xa462('0x3a')]);_0x7f0292[_0xa462('0x3b')]=_[_0xa462('0x4d')](_0x7f0292[_0xa462('0x38')],_0x7f0292[_0xa462('0x3a')]);_0x5b087b[_0xa462('0x3c')]=_[_0xa462('0x4d')](_0x7f0292['model'],qs[_0xa462('0x3d')](_0x44d9f5[_0xa462('0x3a')][_0xa462('0x3d')]));_0x5b087b[_0xa462('0x3c')]=_0x5b087b[_0xa462('0x3c')][_0xa462('0x3e')]?_0x5b087b[_0xa462('0x3c')]:_0x7f0292['model'];_0x5b087b['order']=qs['sort'](_0x44d9f5[_0xa462('0x3a')][_0xa462('0x40')]);_0x5b087b['where']=qs[_0xa462('0x3b')](_[_0xa462('0x41')](_0x44d9f5[_0xa462('0x3a')],_0x7f0292[_0xa462('0x3b')]));if(_0x44d9f5[_0xa462('0x3a')]['filter']){_0x5b087b['where']=_[_0xa462('0x44')](_0x5b087b[_0xa462('0x43')],{'$or':_[_0xa462('0x45')](_0x5b087b[_0xa462('0x3c')],function(_0x5de326){var _0x36e5c2={};_0x36e5c2[_0x5de326]={'$like':'%'+_0x44d9f5[_0xa462('0x3a')][_0xa462('0x42')]+'%'};return _0x36e5c2;})});}_0x5b087b=_[_0xa462('0x44')]({},_0x5b087b,_0x44d9f5[_0xa462('0x47')]);return _0x198de0['getFields'](_0x5b087b);}})['then'](function(_0x463588){if(_0x463588){_0xcb3b7b=_0x463588[_0xa462('0x3e')];if(!_0x44d9f5['query'][_0xa462('0x3f')](_0xa462('0x55'))){_0x5b087b[_0xa462('0x2a')]=qs[_0xa462('0x2a')](_0x44d9f5[_0xa462('0x3a')]['limit']);_0x5b087b[_0xa462('0x29')]=qs[_0xa462('0x29')](_0x44d9f5[_0xa462('0x3a')]['offset']);}return _0x198de0[_0xa462('0x52')](_0x5b087b);}})['then'](function(_0xa9fba2){if(_0xa9fba2){return _0xa9fba2?{'count':_0xcb3b7b,'rows':_0xa9fba2}:null;}})['then'](respondWithResult(_0x5529d3,null))['catch'](handleError(_0x5529d3,null));};exports['getSubjects']=function(_0x21a1e5,_0x5e1faf,_0x14136a){var _0x432a64={};var _0x4de00e={};var _0x2f953d;var _0x30c060;return db[_0xa462('0x48')][_0xa462('0x53')]({'where':{'id':_0x21a1e5['params']['id']}})[_0xa462('0x18')](handleEntityNotFound(_0x5e1faf,null))[_0xa462('0x18')](function(_0x5e0d34){if(_0x5e0d34){_0x2f953d=_0x5e0d34;_0x4de00e[_0xa462('0x38')]=_[_0xa462('0x39')](db[_0xa462('0x54')]['rawAttributes']);_0x4de00e['query']=_['keys'](_0x21a1e5[_0xa462('0x3a')]);_0x4de00e[_0xa462('0x3b')]=_[_0xa462('0x4d')](_0x4de00e[_0xa462('0x38')],_0x4de00e['query']);_0x432a64[_0xa462('0x3c')]=_['intersection'](_0x4de00e['model'],qs['fields'](_0x21a1e5[_0xa462('0x3a')][_0xa462('0x3d')]));_0x432a64[_0xa462('0x3c')]=_0x432a64[_0xa462('0x3c')][_0xa462('0x3e')]?_0x432a64[_0xa462('0x3c')]:_0x4de00e[_0xa462('0x38')];_0x432a64[_0xa462('0x56')]=qs[_0xa462('0x40')](_0x21a1e5['query'][_0xa462('0x40')]);_0x432a64['where']=qs[_0xa462('0x3b')](_[_0xa462('0x41')](_0x21a1e5['query'],_0x4de00e[_0xa462('0x3b')]));if(_0x21a1e5['query']['filter']){_0x432a64[_0xa462('0x43')]=_[_0xa462('0x44')](_0x432a64[_0xa462('0x43')],{'$or':_[_0xa462('0x45')](_0x432a64[_0xa462('0x3c')],function(_0x4cf251){var _0xb56401={};_0xb56401[_0x4cf251]={'$like':'%'+_0x21a1e5[_0xa462('0x3a')]['filter']+'%'};return _0xb56401;})});}_0x432a64=_[_0xa462('0x44')]({},_0x432a64,_0x21a1e5['options']);return _0x2f953d[_0xa462('0x57')](_0x432a64);}})[_0xa462('0x18')](function(_0x20be5e){if(_0x20be5e){_0x30c060=_0x20be5e['length'];if(!_0x21a1e5[_0xa462('0x3a')][_0xa462('0x3f')](_0xa462('0x55'))){_0x432a64[_0xa462('0x2a')]=qs['limit'](_0x21a1e5[_0xa462('0x3a')]['limit']);_0x432a64[_0xa462('0x29')]=qs[_0xa462('0x29')](_0x21a1e5[_0xa462('0x3a')][_0xa462('0x29')]);}return _0x2f953d[_0xa462('0x57')](_0x432a64);}})[_0xa462('0x18')](function(_0x33c7ab){if(_0x33c7ab){return _0x33c7ab?{'count':_0x30c060,'rows':_0x33c7ab}:null;}})['then'](respondWithResult(_0x5e1faf,null))['catch'](handleError(_0x5e1faf,null));};exports[_0xa462('0x58')]=function(_0x40d8d9,_0x10da34,_0x1a5f1f){var _0x4ab4fb={};var _0x549f67={};var _0x54b8b6;var _0x181e82;return db['VtigerConfiguration'][_0xa462('0x53')]({'where':{'id':_0x40d8d9[_0xa462('0x4c')]['id']}})[_0xa462('0x18')](handleEntityNotFound(_0x10da34,null))[_0xa462('0x18')](function(_0x26d397){if(_0x26d397){_0x54b8b6=_0x26d397;_0x549f67[_0xa462('0x38')]=_[_0xa462('0x39')](db[_0xa462('0x54')][_0xa462('0x34')]);_0x549f67[_0xa462('0x3a')]=_[_0xa462('0x39')](_0x40d8d9[_0xa462('0x3a')]);_0x549f67[_0xa462('0x3b')]=_['intersection'](_0x549f67[_0xa462('0x38')],_0x549f67['query']);_0x4ab4fb[_0xa462('0x3c')]=_['intersection'](_0x549f67['model'],qs[_0xa462('0x3d')](_0x40d8d9[_0xa462('0x3a')][_0xa462('0x3d')]));_0x4ab4fb[_0xa462('0x3c')]=_0x4ab4fb[_0xa462('0x3c')]['length']?_0x4ab4fb[_0xa462('0x3c')]:_0x549f67['model'];_0x4ab4fb[_0xa462('0x56')]=qs[_0xa462('0x40')](_0x40d8d9['query'][_0xa462('0x40')]);_0x4ab4fb['where']=qs[_0xa462('0x3b')](_[_0xa462('0x41')](_0x40d8d9[_0xa462('0x3a')],_0x549f67['filters']));if(_0x40d8d9[_0xa462('0x3a')][_0xa462('0x42')]){_0x4ab4fb['where']=_['merge'](_0x4ab4fb[_0xa462('0x43')],{'$or':_[_0xa462('0x45')](_0x4ab4fb[_0xa462('0x3c')],function(_0x23642c){var _0x4fdccd={};_0x4fdccd[_0x23642c]={'$like':'%'+_0x40d8d9[_0xa462('0x3a')][_0xa462('0x42')]+'%'};return _0x4fdccd;})});}_0x4ab4fb=_[_0xa462('0x44')]({},_0x4ab4fb,_0x40d8d9['options']);return _0x54b8b6[_0xa462('0x58')](_0x4ab4fb);}})[_0xa462('0x18')](function(_0x2696ee){if(_0x2696ee){_0x181e82=_0x2696ee[_0xa462('0x3e')];if(!_0x40d8d9[_0xa462('0x3a')][_0xa462('0x3f')](_0xa462('0x55'))){_0x4ab4fb[_0xa462('0x2a')]=qs['limit'](_0x40d8d9[_0xa462('0x3a')][_0xa462('0x2a')]);_0x4ab4fb['offset']=qs['offset'](_0x40d8d9[_0xa462('0x3a')]['offset']);}return _0x54b8b6[_0xa462('0x58')](_0x4ab4fb);}})[_0xa462('0x18')](function(_0x10fc53){if(_0x10fc53){return _0x10fc53?{'count':_0x181e82,'rows':_0x10fc53}:null;}})[_0xa462('0x18')](respondWithResult(_0x10da34,null))[_0xa462('0x23')](handleError(_0x10da34,null));}; \ No newline at end of file diff --git a/server/api/intVtigerConfiguration/intVtigerConfiguration.model.js b/server/api/intVtigerConfiguration/intVtigerConfiguration.model.js index cc156b9..0764b0a 100644 --- a/server/api/intVtigerConfiguration/intVtigerConfiguration.model.js +++ b/server/api/intVtigerConfiguration/intVtigerConfiguration.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x9dec=['util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./intVtigerConfiguration.attributes','exports','define','VtigerConfiguration','lodash'];(function(_0x16dcd6,_0x11d9a2){var _0x59a226=function(_0x367caa){while(--_0x367caa){_0x16dcd6['push'](_0x16dcd6['shift']());}};_0x59a226(++_0x11d9a2);}(_0x9dec,0x187));var _0xc9de=function(_0x37d5e3,_0xb5b7a7){_0x37d5e3=_0x37d5e3-0x0;var _0x2494ba=_0x9dec[_0x37d5e3];return _0x2494ba;};'use strict';var _=require(_0xc9de('0x0'));var util=require(_0xc9de('0x1'));var logger=require(_0xc9de('0x2'))(_0xc9de('0x3'));var moment=require(_0xc9de('0x4'));var BPromise=require(_0xc9de('0x5'));var rp=require(_0xc9de('0x6'));var fs=require('fs');var path=require(_0xc9de('0x7'));var rimraf=require(_0xc9de('0x8'));var config=require(_0xc9de('0x9'));var attributes=require(_0xc9de('0xa'));module[_0xc9de('0xb')]=function(_0xc5562a,_0x24afc3){return _0xc5562a[_0xc9de('0xc')](_0xc9de('0xd'),attributes,{'tableName':'int_vtiger_configurations','paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0xaa90=['api','moment','bluebird','request-promise','rimraf','../../config/environment','./intVtigerConfiguration.attributes','exports','define','VtigerConfiguration','int_vtiger_configurations','lodash','../../config/logger'];(function(_0x4a45b4,_0x59804f){var _0x1a99c9=function(_0x3aa517){while(--_0x3aa517){_0x4a45b4['push'](_0x4a45b4['shift']());}};_0x1a99c9(++_0x59804f);}(_0xaa90,0xdb));var _0x0aa9=function(_0x1e4649,_0x21ff0f){_0x1e4649=_0x1e4649-0x0;var _0x505914=_0xaa90[_0x1e4649];return _0x505914;};'use strict';var _=require(_0x0aa9('0x0'));var util=require('util');var logger=require(_0x0aa9('0x1'))(_0x0aa9('0x2'));var moment=require(_0x0aa9('0x3'));var BPromise=require(_0x0aa9('0x4'));var rp=require(_0x0aa9('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x0aa9('0x6'));var config=require(_0x0aa9('0x7'));var attributes=require(_0x0aa9('0x8'));module[_0x0aa9('0x9')]=function(_0x38f566,_0x35fd10){return _0x38f566[_0x0aa9('0xa')](_0x0aa9('0xb'),attributes,{'tableName':_0x0aa9('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/intVtigerConfiguration/intVtigerConfiguration.rpc.js b/server/api/intVtigerConfiguration/intVtigerConfiguration.rpc.js index d9eac26..317ecbc 100644 --- a/server/api/intVtigerConfiguration/intVtigerConfiguration.rpc.js +++ b/server/api/intVtigerConfiguration/intVtigerConfiguration.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xece8=['http','then','info','VtigerConfiguration,\x20%s,\x20%s','request\x20sent','debug','stringify','error','code','message','lodash','util','moment','bluebird','randomstring','ioredis','../../mysqldb','../../config/utils','rpc','jayson/promise','client'];(function(_0x401676,_0x3f1436){var _0x4f13fe=function(_0xd2f197){while(--_0xd2f197){_0x401676['push'](_0x401676['shift']());}};_0x4f13fe(++_0x3f1436);}(_0xece8,0x1c3));var _0x8ece=function(_0xfb514d,_0x50623c){_0xfb514d=_0xfb514d-0x0;var _0x22afc0=_0xece8[_0xfb514d];return _0x22afc0;};'use strict';var _=require(_0x8ece('0x0'));var util=require(_0x8ece('0x1'));var moment=require(_0x8ece('0x2'));var BPromise=require(_0x8ece('0x3'));var rs=require(_0x8ece('0x4'));var fs=require('fs');var Redis=require(_0x8ece('0x5'));var db=require(_0x8ece('0x6'))['db'];var utils=require(_0x8ece('0x7'));var logger=require('../../config/logger')(_0x8ece('0x8'));var config=require('../../config/environment');var jayson=require(_0x8ece('0x9'));var client=jayson[_0x8ece('0xa')][_0x8ece('0xb')]({'port':0x232a});function respondWithRpcPromise(_0x1da19a,_0x41993d,_0x2a2df9){return new BPromise(function(_0xc91ff2,_0x520b4a){return client['request'](_0x1da19a,_0x2a2df9)[_0x8ece('0xc')](function(_0x1c8649){logger[_0x8ece('0xd')](_0x8ece('0xe'),_0x41993d,_0x8ece('0xf'));logger[_0x8ece('0x10')]('VtigerConfiguration,\x20%s,\x20%s,\x20%s',_0x41993d,_0x8ece('0xf'),JSON[_0x8ece('0x11')](_0x1c8649));if(_0x1c8649['error']){if(_0x1c8649[_0x8ece('0x12')][_0x8ece('0x13')]===0x1f4){logger[_0x8ece('0x12')](_0x8ece('0xe'),_0x41993d,_0x1c8649[_0x8ece('0x12')][_0x8ece('0x14')]);return _0x520b4a(_0x1c8649['error'][_0x8ece('0x14')]);}logger['error'](_0x8ece('0xe'),_0x41993d,_0x1c8649[_0x8ece('0x12')][_0x8ece('0x14')]);return _0xc91ff2(_0x1c8649['error'][_0x8ece('0x14')]);}else{logger[_0x8ece('0xd')]('VtigerConfiguration,\x20%s,\x20%s',_0x41993d,_0x8ece('0xf'));_0xc91ff2(_0x1c8649['result'][_0x8ece('0x14')]);}})['catch'](function(_0x213b7a){logger['error'](_0x8ece('0xe'),_0x41993d,_0x213b7a);_0x520b4a(_0x213b7a);});});} \ No newline at end of file +var _0x6da5=['../../config/environment','jayson/promise','client','http','request','then','info','VtigerConfiguration,\x20%s,\x20%s','request\x20sent','debug','VtigerConfiguration,\x20%s,\x20%s,\x20%s','stringify','error','code','message','result','catch','lodash','util','moment','bluebird','randomstring','ioredis','../../mysqldb','rpc'];(function(_0x2d21af,_0x3bcd20){var _0x3767fe=function(_0xa99f41){while(--_0xa99f41){_0x2d21af['push'](_0x2d21af['shift']());}};_0x3767fe(++_0x3bcd20);}(_0x6da5,0x1ec));var _0x56da=function(_0x9290bb,_0x36a3b8){_0x9290bb=_0x9290bb-0x0;var _0x4e1982=_0x6da5[_0x9290bb];return _0x4e1982;};'use strict';var _=require(_0x56da('0x0'));var util=require(_0x56da('0x1'));var moment=require(_0x56da('0x2'));var BPromise=require(_0x56da('0x3'));var rs=require(_0x56da('0x4'));var fs=require('fs');var Redis=require(_0x56da('0x5'));var db=require(_0x56da('0x6'))['db'];var utils=require('../../config/utils');var logger=require('../../config/logger')(_0x56da('0x7'));var config=require(_0x56da('0x8'));var jayson=require(_0x56da('0x9'));var client=jayson[_0x56da('0xa')][_0x56da('0xb')]({'port':0x232a});function respondWithRpcPromise(_0x2f6bd9,_0x4176ca,_0x569c0c){return new BPromise(function(_0x561672,_0x1de27a){return client[_0x56da('0xc')](_0x2f6bd9,_0x569c0c)[_0x56da('0xd')](function(_0x1d04c3){logger[_0x56da('0xe')](_0x56da('0xf'),_0x4176ca,_0x56da('0x10'));logger[_0x56da('0x11')](_0x56da('0x12'),_0x4176ca,_0x56da('0x10'),JSON[_0x56da('0x13')](_0x1d04c3));if(_0x1d04c3[_0x56da('0x14')]){if(_0x1d04c3[_0x56da('0x14')][_0x56da('0x15')]===0x1f4){logger[_0x56da('0x14')]('VtigerConfiguration,\x20%s,\x20%s',_0x4176ca,_0x1d04c3[_0x56da('0x14')][_0x56da('0x16')]);return _0x1de27a(_0x1d04c3['error']['message']);}logger[_0x56da('0x14')](_0x56da('0xf'),_0x4176ca,_0x1d04c3[_0x56da('0x14')][_0x56da('0x16')]);return _0x561672(_0x1d04c3['error'][_0x56da('0x16')]);}else{logger['info'](_0x56da('0xf'),_0x4176ca,'request\x20sent');_0x561672(_0x1d04c3[_0x56da('0x17')][_0x56da('0x16')]);}})[_0x56da('0x18')](function(_0x30ff7e){logger[_0x56da('0x14')](_0x56da('0xf'),_0x4176ca,_0x30ff7e);_0x1de27a(_0x30ff7e);});});} \ No newline at end of file diff --git a/server/api/intVtigerField/index.js b/server/api/intVtigerField/index.js index 15b8fc0..5a98e9c 100644 --- a/server/api/intVtigerField/index.js +++ b/server/api/intVtigerField/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xb5cf=['path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/:id','show','post','create','update','delete','multer','util'];(function(_0x33683c,_0x7fda71){var _0xacce7d=function(_0x2f07f0){while(--_0x2f07f0){_0x33683c['push'](_0x33683c['shift']());}};_0xacce7d(++_0x7fda71);}(_0xb5cf,0x185));var _0xfb5c=function(_0x4e0bae,_0x4b9ebb){_0x4e0bae=_0x4e0bae-0x0;var _0x5b3f73=_0xb5cf[_0x4e0bae];return _0x5b3f73;};'use strict';var multer=require(_0xfb5c('0x0'));var util=require(_0xfb5c('0x1'));var path=require(_0xfb5c('0x2'));var timeout=require(_0xfb5c('0x3'));var express=require('express');var router=express[_0xfb5c('0x4')]();var auth=require(_0xfb5c('0x5'));var interaction=require(_0xfb5c('0x6'));var config=require(_0xfb5c('0x7'));var controller=require('./intVtigerField.controller');router[_0xfb5c('0x8')]('/',auth[_0xfb5c('0x9')](),controller[_0xfb5c('0xa')]);router[_0xfb5c('0x8')](_0xfb5c('0xb'),auth[_0xfb5c('0x9')](),controller[_0xfb5c('0xc')]);router[_0xfb5c('0xd')]('/',auth['isAuthenticated'](),controller[_0xfb5c('0xe')]);router['put'](_0xfb5c('0xb'),auth[_0xfb5c('0x9')](),controller[_0xfb5c('0xf')]);router[_0xfb5c('0x10')](_0xfb5c('0xb'),auth[_0xfb5c('0x9')](),controller['destroy']);module['exports']=router; \ No newline at end of file +var _0x7bc9=['./intVtigerField.controller','get','index','isAuthenticated','show','post','create','put','/:id','update','delete','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0x20ceec,_0x5d61e6){var _0x567ceb=function(_0x4a712e){while(--_0x4a712e){_0x20ceec['push'](_0x20ceec['shift']());}};_0x567ceb(++_0x5d61e6);}(_0x7bc9,0xde));var _0x97bc=function(_0x5005ef,_0x42d331){_0x5005ef=_0x5005ef-0x0;var _0x6059d0=_0x7bc9[_0x5005ef];return _0x6059d0;};'use strict';var multer=require(_0x97bc('0x0'));var util=require(_0x97bc('0x1'));var path=require(_0x97bc('0x2'));var timeout=require(_0x97bc('0x3'));var express=require(_0x97bc('0x4'));var router=express[_0x97bc('0x5')]();var auth=require(_0x97bc('0x6'));var interaction=require(_0x97bc('0x7'));var config=require(_0x97bc('0x8'));var controller=require(_0x97bc('0x9'));router[_0x97bc('0xa')]('/',auth['isAuthenticated'](),controller[_0x97bc('0xb')]);router['get']('/:id',auth[_0x97bc('0xc')](),controller[_0x97bc('0xd')]);router[_0x97bc('0xe')]('/',auth[_0x97bc('0xc')](),controller[_0x97bc('0xf')]);router[_0x97bc('0x10')](_0x97bc('0x11'),auth['isAuthenticated'](),controller[_0x97bc('0x12')]);router[_0x97bc('0x13')](_0x97bc('0x11'),auth[_0x97bc('0xc')](),controller['destroy']);module[_0x97bc('0x14')]=router; \ No newline at end of file diff --git a/server/api/intVtigerField/intVtigerField.attributes.js b/server/api/intVtigerField/intVtigerField.attributes.js index 13a47d7..a6c6a30 100644 --- a/server/api/intVtigerField/intVtigerField.attributes.js +++ b/server/api/intVtigerField/intVtigerField.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xf0a2=['variable','keyValue','STRING','sequelize','exports','ENUM','string'];(function(_0x4e7959,_0x158041){var _0x2bad4d=function(_0x24b313){while(--_0x24b313){_0x4e7959['push'](_0x4e7959['shift']());}};_0x2bad4d(++_0x158041);}(_0xf0a2,0x1ca));var _0x2f0a=function(_0x2459d6,_0x3caa97){_0x2459d6=_0x2459d6-0x0;var _0x5d0a77=_0xf0a2[_0x2459d6];return _0x5d0a77;};'use strict';var Sequelize=require(_0x2f0a('0x0'));module[_0x2f0a('0x1')]={'type':{'type':Sequelize[_0x2f0a('0x2')](_0x2f0a('0x3'),_0x2f0a('0x4'),'customVariable',_0x2f0a('0x5')),'defaultValue':_0x2f0a('0x3')},'content':{'type':Sequelize['STRING']},'key':{'type':Sequelize['STRING']},'keyType':{'type':Sequelize[_0x2f0a('0x2')]('string',_0x2f0a('0x4'),'customVariable')},'keyContent':{'type':Sequelize[_0x2f0a('0x6')]},'idField':{'type':Sequelize['STRING']},'nameField':{'type':Sequelize[_0x2f0a('0x6')]},'customField':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'variableName':{'type':Sequelize[_0x2f0a('0x6')]}}; \ No newline at end of file +var _0x96a2=['string','variable','customVariable','keyValue','STRING','BOOLEAN','sequelize','ENUM'];(function(_0x41a804,_0xcde371){var _0x26870d=function(_0x46fb2a){while(--_0x46fb2a){_0x41a804['push'](_0x41a804['shift']());}};_0x26870d(++_0xcde371);}(_0x96a2,0x96));var _0x296a=function(_0x1b3dcc,_0x38782){_0x1b3dcc=_0x1b3dcc-0x0;var _0x29cd1f=_0x96a2[_0x1b3dcc];return _0x29cd1f;};'use strict';var Sequelize=require(_0x296a('0x0'));module['exports']={'type':{'type':Sequelize[_0x296a('0x1')](_0x296a('0x2'),_0x296a('0x3'),_0x296a('0x4'),_0x296a('0x5')),'defaultValue':_0x296a('0x2')},'content':{'type':Sequelize[_0x296a('0x6')]},'key':{'type':Sequelize[_0x296a('0x6')]},'keyType':{'type':Sequelize[_0x296a('0x1')](_0x296a('0x2'),_0x296a('0x3'),_0x296a('0x4'))},'keyContent':{'type':Sequelize[_0x296a('0x6')]},'idField':{'type':Sequelize[_0x296a('0x6')]},'nameField':{'type':Sequelize[_0x296a('0x6')]},'customField':{'type':Sequelize[_0x296a('0x7')],'defaultValue':!![]},'variableName':{'type':Sequelize[_0x296a('0x6')]}}; \ No newline at end of file diff --git a/server/api/intVtigerField/intVtigerField.controller.js b/server/api/intVtigerField/intVtigerField.controller.js index 86c74f7..038b66e 100644 --- a/server/api/intVtigerField/intVtigerField.controller.js +++ b/server/api/intVtigerField/intVtigerField.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x69af=['save','then','destroy','error','name','send','index','rawAttributes','type','map','query','keys','filters','intersection','attributes','model','hasOwnProperty','order','sort','pick','filter','where','VIRTUAL','merge','options','includeAll','VtigerField','findAll','rows','show','fields','length','include','find','catch','create','update','body','params','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','mustache','util','path','sox','to-csv','lodash','squel','crypto','querystring','papaparse','ioredis','../../components/auth/service','../../config/logger','api','../../config/utils','../../config/environment','sendStatus','status','end','count','offset','limit','reject'];(function(_0x3b380d,_0x4bf247){var _0x54502b=function(_0x35d207){while(--_0x35d207){_0x3b380d['push'](_0x3b380d['shift']());}};_0x54502b(++_0x4bf247);}(_0x69af,0x17b));var _0xf69a=function(_0x577dbe,_0x43d367){_0x577dbe=_0x577dbe-0x0;var _0x272804=_0x69af[_0x577dbe];return _0x272804;};'use strict';var pdf=require('html-pdf');var emlformat=require(_0xf69a('0x0'));var rimraf=require(_0xf69a('0x1'));var zipdir=require(_0xf69a('0x2'));var jsonpatch=require(_0xf69a('0x3'));var rp=require(_0xf69a('0x4'));var moment=require(_0xf69a('0x5'));var BPromise=require('bluebird');var Mustache=require(_0xf69a('0x6'));var util=require(_0xf69a('0x7'));var path=require(_0xf69a('0x8'));var sox=require(_0xf69a('0x9'));var csv=require(_0xf69a('0xa'));var ejs=require('ejs');var fs=require('fs');var _=require(_0xf69a('0xb'));var squel=require(_0xf69a('0xc'));var crypto=require(_0xf69a('0xd'));var jsforce=require('jsforce');var deskjs=require('desk.js');var toCsv=require(_0xf69a('0xa'));var querystring=require(_0xf69a('0xe'));var Papa=require(_0xf69a('0xf'));var Redis=require(_0xf69a('0x10'));var authService=require(_0xf69a('0x11'));var qs=require('../../components/parsers/qs');var as=require('../../components/parsers/advancedSearch');var hardwareService=require('../../config/license/hardware');var logger=require(_0xf69a('0x12'))(_0xf69a('0x13'));var utils=require(_0xf69a('0x14'));var config=require(_0xf69a('0x15'));var db=require('../../mysqldb')['db'];function respondWithStatusCode(_0x44bc6d,_0x2f9dd7){_0x2f9dd7=_0x2f9dd7||0xcc;return function(_0x331bd4){if(_0x331bd4){return _0x44bc6d[_0xf69a('0x16')](_0x2f9dd7);}return _0x44bc6d[_0xf69a('0x17')](_0x2f9dd7)[_0xf69a('0x18')]();};}function respondWithResult(_0x950023,_0x3d76e8){_0x3d76e8=_0x3d76e8||0xc8;return function(_0x1bab41){if(_0x1bab41){return _0x950023[_0xf69a('0x17')](_0x3d76e8)['json'](_0x1bab41);}};}function respondWithFilteredResult(_0x1e02a6,_0x28a747){return function(_0x1e7ed4){if(_0x1e7ed4){var _0x324002=_0x1e7ed4[_0xf69a('0x19')],_0x510555=_0x28a747[_0xf69a('0x1a')],_0x260eb1=_0x28a747[_0xf69a('0x1a')]+_0x28a747[_0xf69a('0x1b')],_0x13ea33;if(_0x260eb1>=_0x324002){_0x260eb1=_0x324002;_0x13ea33=0xc8;}else{_0x13ea33=0xce;}_0x1e02a6[_0xf69a('0x17')](_0x13ea33);return _0x1e02a6['set']('Content-Range',_0x510555+'-'+_0x260eb1+'/'+_0x324002)['json'](_0x1e7ed4);}return null;};}function patchUpdates(_0x32f29c){return function(_0x5e763d){try{jsonpatch['apply'](_0x5e763d,_0x32f29c,!![]);}catch(_0x4e7928){return BPromise[_0xf69a('0x1c')](_0x4e7928);}return _0x5e763d[_0xf69a('0x1d')]();};}function saveUpdates(_0x3c3b20,_0x39c67a){return function(_0x5f0c24){if(_0x5f0c24){return _0x5f0c24['update'](_0x3c3b20)[_0xf69a('0x1e')](function(_0x339e0c){return _0x339e0c;});}return null;};}function removeEntity(_0x2a3ad,_0x752c26){return function(_0xdb0def){if(_0xdb0def){return _0xdb0def[_0xf69a('0x1f')]()[_0xf69a('0x1e')](function(){_0x2a3ad[_0xf69a('0x17')](0xcc)['end']();});}};}function handleEntityNotFound(_0x24b0f9,_0x40ed91){return function(_0x223fea){if(!_0x223fea){_0x24b0f9[_0xf69a('0x16')](0x194);}return _0x223fea;};}function handleError(_0x2033c6,_0x451c92){_0x451c92=_0x451c92||0x1f4;return function(_0x61f160){logger[_0xf69a('0x20')](_0x61f160['stack']);if(_0x61f160[_0xf69a('0x21')]){delete _0x61f160['name'];}_0x2033c6[_0xf69a('0x17')](_0x451c92)[_0xf69a('0x22')](_0x61f160);};}exports[_0xf69a('0x23')]=function(_0x384c15,_0x145494){var _0x5e08e3={},_0xed95e7={},_0x2c326b={'count':0x0,'rows':[]};var _0x1c05bc=_['map'](db['VtigerField'][_0xf69a('0x24')],function(_0x4bfc2a){return{'name':_0x4bfc2a['fieldName'],'type':_0x4bfc2a[_0xf69a('0x25')]['key']};});_0xed95e7['model']=_[_0xf69a('0x26')](_0x1c05bc,_0xf69a('0x21'));_0xed95e7[_0xf69a('0x27')]=_[_0xf69a('0x28')](_0x384c15[_0xf69a('0x27')]);_0xed95e7[_0xf69a('0x29')]=_[_0xf69a('0x2a')](_0xed95e7['model'],_0xed95e7[_0xf69a('0x27')]);_0x5e08e3[_0xf69a('0x2b')]=_['intersection'](_0xed95e7[_0xf69a('0x2c')],qs['fields'](_0x384c15['query']['fields']));_0x5e08e3[_0xf69a('0x2b')]=_0x5e08e3['attributes']['length']?_0x5e08e3['attributes']:_0xed95e7['model'];if(!_0x384c15[_0xf69a('0x27')][_0xf69a('0x2d')]('nolimit')){_0x5e08e3[_0xf69a('0x1b')]=qs[_0xf69a('0x1b')](_0x384c15[_0xf69a('0x27')][_0xf69a('0x1b')]);_0x5e08e3['offset']=qs[_0xf69a('0x1a')](_0x384c15['query']['offset']);}_0x5e08e3[_0xf69a('0x2e')]=qs['sort'](_0x384c15['query'][_0xf69a('0x2f')]);_0x5e08e3['where']=qs[_0xf69a('0x29')](_[_0xf69a('0x30')](_0x384c15['query'],_0xed95e7['filters']),_0x1c05bc);if(_0x384c15[_0xf69a('0x27')][_0xf69a('0x31')]){_0x5e08e3[_0xf69a('0x32')]=_['merge'](_0x5e08e3[_0xf69a('0x32')],{'$or':_[_0xf69a('0x26')](_0x1c05bc,function(_0x39e2d8){if(_0x39e2d8[_0xf69a('0x25')]!==_0xf69a('0x33')){var _0x3a9f8b={};_0x3a9f8b[_0x39e2d8[_0xf69a('0x21')]]={'$like':'%'+_0x384c15[_0xf69a('0x27')][_0xf69a('0x31')]+'%'};return _0x3a9f8b;}})});}_0x5e08e3=_[_0xf69a('0x34')]({},_0x5e08e3,_0x384c15[_0xf69a('0x35')]);var _0x5db57a={'where':_0x5e08e3[_0xf69a('0x32')]};return db['VtigerField']['count'](_0x5db57a)[_0xf69a('0x1e')](function(_0x125e53){_0x2c326b[_0xf69a('0x19')]=_0x125e53;if(_0x384c15[_0xf69a('0x27')][_0xf69a('0x36')]){_0x5e08e3['include']=[{'all':!![]}];}return db[_0xf69a('0x37')][_0xf69a('0x38')](_0x5e08e3);})[_0xf69a('0x1e')](function(_0x48cd38){_0x2c326b[_0xf69a('0x39')]=_0x48cd38;return _0x2c326b;})[_0xf69a('0x1e')](respondWithFilteredResult(_0x145494,_0x5e08e3))['catch'](handleError(_0x145494,null));};exports[_0xf69a('0x3a')]=function(_0x4eeeb5,_0x21711a){var _0x44610a={'raw':!![],'where':{'id':_0x4eeeb5['params']['id']}},_0x3cdec4={};_0x3cdec4[_0xf69a('0x2c')]=_[_0xf69a('0x28')](db['VtigerField'][_0xf69a('0x24')]);_0x3cdec4[_0xf69a('0x27')]=_[_0xf69a('0x28')](_0x4eeeb5[_0xf69a('0x27')]);_0x3cdec4['filters']=_[_0xf69a('0x2a')](_0x3cdec4[_0xf69a('0x2c')],_0x3cdec4['query']);_0x44610a['attributes']=_[_0xf69a('0x2a')](_0x3cdec4[_0xf69a('0x2c')],qs[_0xf69a('0x3b')](_0x4eeeb5['query'][_0xf69a('0x3b')]));_0x44610a['attributes']=_0x44610a[_0xf69a('0x2b')][_0xf69a('0x3c')]?_0x44610a['attributes']:_0x3cdec4[_0xf69a('0x2c')];if(_0x4eeeb5[_0xf69a('0x27')][_0xf69a('0x36')]){_0x44610a[_0xf69a('0x3d')]=[{'all':!![]}];}_0x44610a=_[_0xf69a('0x34')]({},_0x44610a,_0x4eeeb5['options']);return db[_0xf69a('0x37')][_0xf69a('0x3e')](_0x44610a)[_0xf69a('0x1e')](handleEntityNotFound(_0x21711a,null))[_0xf69a('0x1e')](respondWithResult(_0x21711a,null))[_0xf69a('0x3f')](handleError(_0x21711a,null));};exports[_0xf69a('0x40')]=function(_0x465767,_0x510244){return db[_0xf69a('0x37')]['create'](_0x465767['body'],{})[_0xf69a('0x1e')](respondWithResult(_0x510244,0xc9))['catch'](handleError(_0x510244,null));};exports[_0xf69a('0x41')]=function(_0x50396c,_0x1520c3){if(_0x50396c[_0xf69a('0x42')]['id']){delete _0x50396c[_0xf69a('0x42')]['id'];}return db[_0xf69a('0x37')][_0xf69a('0x3e')]({'where':{'id':_0x50396c[_0xf69a('0x43')]['id']}})[_0xf69a('0x1e')](handleEntityNotFound(_0x1520c3,null))['then'](saveUpdates(_0x50396c['body'],null))[_0xf69a('0x1e')](respondWithResult(_0x1520c3,null))[_0xf69a('0x3f')](handleError(_0x1520c3,null));};exports['destroy']=function(_0x1d03be,_0x4853cc){return db[_0xf69a('0x37')][_0xf69a('0x3e')]({'where':{'id':_0x1d03be[_0xf69a('0x43')]['id']}})[_0xf69a('0x1e')](handleEntityNotFound(_0x4853cc,null))[_0xf69a('0x1e')](removeEntity(_0x4853cc,null))[_0xf69a('0x3f')](handleError(_0x4853cc,null));}; \ No newline at end of file +var _0x08af=['fieldName','key','model','query','filters','attributes','intersection','fields','hasOwnProperty','limit','order','sort','where','pick','merge','type','VIRTUAL','filter','options','count','includeAll','include','findAll','rows','catch','show','params','keys','length','find','create','body','destroy','eml-format','rimraf','fast-json-patch','request-promise','moment','bluebird','mustache','util','sox','to-csv','ejs','lodash','squel','jsforce','desk.js','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','sendStatus','status','json','offset','set','reject','update','then','error','stack','name','send','index','map','VtigerField','rawAttributes'];(function(_0x208a2d,_0x3f5a03){var _0x47f8a1=function(_0x409063){while(--_0x409063){_0x208a2d['push'](_0x208a2d['shift']());}};_0x47f8a1(++_0x3f5a03);}(_0x08af,0xff));var _0xf08a=function(_0x4fc212,_0x1087aa){_0x4fc212=_0x4fc212-0x0;var _0x252317=_0x08af[_0x4fc212];return _0x252317;};'use strict';var pdf=require('html-pdf');var emlformat=require(_0xf08a('0x0'));var rimraf=require(_0xf08a('0x1'));var zipdir=require('zip-dir');var jsonpatch=require(_0xf08a('0x2'));var rp=require(_0xf08a('0x3'));var moment=require(_0xf08a('0x4'));var BPromise=require(_0xf08a('0x5'));var Mustache=require(_0xf08a('0x6'));var util=require(_0xf08a('0x7'));var path=require('path');var sox=require(_0xf08a('0x8'));var csv=require(_0xf08a('0x9'));var ejs=require(_0xf08a('0xa'));var fs=require('fs');var _=require(_0xf08a('0xb'));var squel=require(_0xf08a('0xc'));var crypto=require('crypto');var jsforce=require(_0xf08a('0xd'));var deskjs=require(_0xf08a('0xe'));var toCsv=require(_0xf08a('0x9'));var querystring=require('querystring');var Papa=require(_0xf08a('0xf'));var Redis=require(_0xf08a('0x10'));var authService=require(_0xf08a('0x11'));var qs=require(_0xf08a('0x12'));var as=require(_0xf08a('0x13'));var hardwareService=require(_0xf08a('0x14'));var logger=require(_0xf08a('0x15'))(_0xf08a('0x16'));var utils=require(_0xf08a('0x17'));var config=require(_0xf08a('0x18'));var db=require('../../mysqldb')['db'];function respondWithStatusCode(_0x280789,_0x35acf6){_0x35acf6=_0x35acf6||0xcc;return function(_0x5a5ade){if(_0x5a5ade){return _0x280789[_0xf08a('0x19')](_0x35acf6);}return _0x280789['status'](_0x35acf6)['end']();};}function respondWithResult(_0x40cf04,_0x106005){_0x106005=_0x106005||0xc8;return function(_0x2c886b){if(_0x2c886b){return _0x40cf04[_0xf08a('0x1a')](_0x106005)[_0xf08a('0x1b')](_0x2c886b);}};}function respondWithFilteredResult(_0x2fe7df,_0x51678f){return function(_0x13d47f){if(_0x13d47f){var _0x2bef1d=_0x13d47f['count'],_0x396678=_0x51678f[_0xf08a('0x1c')],_0x248567=_0x51678f[_0xf08a('0x1c')]+_0x51678f['limit'],_0x587ead;if(_0x248567>=_0x2bef1d){_0x248567=_0x2bef1d;_0x587ead=0xc8;}else{_0x587ead=0xce;}_0x2fe7df[_0xf08a('0x1a')](_0x587ead);return _0x2fe7df[_0xf08a('0x1d')]('Content-Range',_0x396678+'-'+_0x248567+'/'+_0x2bef1d)[_0xf08a('0x1b')](_0x13d47f);}return null;};}function patchUpdates(_0x588b1c){return function(_0x37696d){try{jsonpatch['apply'](_0x37696d,_0x588b1c,!![]);}catch(_0x36d929){return BPromise[_0xf08a('0x1e')](_0x36d929);}return _0x37696d['save']();};}function saveUpdates(_0x3d98d4,_0x4384a7){return function(_0x21017f){if(_0x21017f){return _0x21017f[_0xf08a('0x1f')](_0x3d98d4)['then'](function(_0x13668a){return _0x13668a;});}return null;};}function removeEntity(_0x195781,_0x34dbd0){return function(_0xcb134){if(_0xcb134){return _0xcb134['destroy']()[_0xf08a('0x20')](function(){_0x195781[_0xf08a('0x1a')](0xcc)['end']();});}};}function handleEntityNotFound(_0x438a35,_0x31a8cf){return function(_0x571d56){if(!_0x571d56){_0x438a35[_0xf08a('0x19')](0x194);}return _0x571d56;};}function handleError(_0x44d1b4,_0x3d11a3){_0x3d11a3=_0x3d11a3||0x1f4;return function(_0x5d42eb){logger[_0xf08a('0x21')](_0x5d42eb[_0xf08a('0x22')]);if(_0x5d42eb[_0xf08a('0x23')]){delete _0x5d42eb['name'];}_0x44d1b4['status'](_0x3d11a3)[_0xf08a('0x24')](_0x5d42eb);};}exports[_0xf08a('0x25')]=function(_0x73f0d9,_0x246997){var _0x5e0641={},_0xced1bc={},_0x394349={'count':0x0,'rows':[]};var _0x371313=_[_0xf08a('0x26')](db[_0xf08a('0x27')][_0xf08a('0x28')],function(_0x432411){return{'name':_0x432411[_0xf08a('0x29')],'type':_0x432411['type'][_0xf08a('0x2a')]};});_0xced1bc[_0xf08a('0x2b')]=_[_0xf08a('0x26')](_0x371313,_0xf08a('0x23'));_0xced1bc[_0xf08a('0x2c')]=_['keys'](_0x73f0d9['query']);_0xced1bc[_0xf08a('0x2d')]=_['intersection'](_0xced1bc[_0xf08a('0x2b')],_0xced1bc['query']);_0x5e0641[_0xf08a('0x2e')]=_[_0xf08a('0x2f')](_0xced1bc[_0xf08a('0x2b')],qs[_0xf08a('0x30')](_0x73f0d9['query'][_0xf08a('0x30')]));_0x5e0641[_0xf08a('0x2e')]=_0x5e0641['attributes']['length']?_0x5e0641[_0xf08a('0x2e')]:_0xced1bc[_0xf08a('0x2b')];if(!_0x73f0d9[_0xf08a('0x2c')][_0xf08a('0x31')]('nolimit')){_0x5e0641[_0xf08a('0x32')]=qs[_0xf08a('0x32')](_0x73f0d9[_0xf08a('0x2c')][_0xf08a('0x32')]);_0x5e0641[_0xf08a('0x1c')]=qs[_0xf08a('0x1c')](_0x73f0d9[_0xf08a('0x2c')]['offset']);}_0x5e0641[_0xf08a('0x33')]=qs[_0xf08a('0x34')](_0x73f0d9[_0xf08a('0x2c')][_0xf08a('0x34')]);_0x5e0641[_0xf08a('0x35')]=qs['filters'](_[_0xf08a('0x36')](_0x73f0d9[_0xf08a('0x2c')],_0xced1bc['filters']),_0x371313);if(_0x73f0d9[_0xf08a('0x2c')]['filter']){_0x5e0641[_0xf08a('0x35')]=_[_0xf08a('0x37')](_0x5e0641[_0xf08a('0x35')],{'$or':_[_0xf08a('0x26')](_0x371313,function(_0x4fe9cc){if(_0x4fe9cc[_0xf08a('0x38')]!==_0xf08a('0x39')){var _0x27397d={};_0x27397d[_0x4fe9cc[_0xf08a('0x23')]]={'$like':'%'+_0x73f0d9['query'][_0xf08a('0x3a')]+'%'};return _0x27397d;}})});}_0x5e0641=_[_0xf08a('0x37')]({},_0x5e0641,_0x73f0d9[_0xf08a('0x3b')]);var _0x235a90={'where':_0x5e0641['where']};return db[_0xf08a('0x27')]['count'](_0x235a90)[_0xf08a('0x20')](function(_0x3acc69){_0x394349[_0xf08a('0x3c')]=_0x3acc69;if(_0x73f0d9[_0xf08a('0x2c')][_0xf08a('0x3d')]){_0x5e0641[_0xf08a('0x3e')]=[{'all':!![]}];}return db[_0xf08a('0x27')][_0xf08a('0x3f')](_0x5e0641);})['then'](function(_0x352089){_0x394349[_0xf08a('0x40')]=_0x352089;return _0x394349;})[_0xf08a('0x20')](respondWithFilteredResult(_0x246997,_0x5e0641))[_0xf08a('0x41')](handleError(_0x246997,null));};exports[_0xf08a('0x42')]=function(_0x341676,_0x25e156){var _0x26cb62={'raw':!![],'where':{'id':_0x341676[_0xf08a('0x43')]['id']}},_0x54ef1b={};_0x54ef1b['model']=_[_0xf08a('0x44')](db['VtigerField'][_0xf08a('0x28')]);_0x54ef1b[_0xf08a('0x2c')]=_['keys'](_0x341676[_0xf08a('0x2c')]);_0x54ef1b[_0xf08a('0x2d')]=_[_0xf08a('0x2f')](_0x54ef1b['model'],_0x54ef1b[_0xf08a('0x2c')]);_0x26cb62[_0xf08a('0x2e')]=_[_0xf08a('0x2f')](_0x54ef1b[_0xf08a('0x2b')],qs[_0xf08a('0x30')](_0x341676['query'][_0xf08a('0x30')]));_0x26cb62['attributes']=_0x26cb62[_0xf08a('0x2e')][_0xf08a('0x45')]?_0x26cb62[_0xf08a('0x2e')]:_0x54ef1b[_0xf08a('0x2b')];if(_0x341676[_0xf08a('0x2c')][_0xf08a('0x3d')]){_0x26cb62[_0xf08a('0x3e')]=[{'all':!![]}];}_0x26cb62=_[_0xf08a('0x37')]({},_0x26cb62,_0x341676[_0xf08a('0x3b')]);return db['VtigerField'][_0xf08a('0x46')](_0x26cb62)[_0xf08a('0x20')](handleEntityNotFound(_0x25e156,null))['then'](respondWithResult(_0x25e156,null))[_0xf08a('0x41')](handleError(_0x25e156,null));};exports[_0xf08a('0x47')]=function(_0x347679,_0x201aa1){return db[_0xf08a('0x27')][_0xf08a('0x47')](_0x347679[_0xf08a('0x48')],{})[_0xf08a('0x20')](respondWithResult(_0x201aa1,0xc9))[_0xf08a('0x41')](handleError(_0x201aa1,null));};exports['update']=function(_0x463e82,_0x513f28){if(_0x463e82['body']['id']){delete _0x463e82['body']['id'];}return db[_0xf08a('0x27')]['find']({'where':{'id':_0x463e82['params']['id']}})[_0xf08a('0x20')](handleEntityNotFound(_0x513f28,null))[_0xf08a('0x20')](saveUpdates(_0x463e82[_0xf08a('0x48')],null))['then'](respondWithResult(_0x513f28,null))[_0xf08a('0x41')](handleError(_0x513f28,null));};exports[_0xf08a('0x49')]=function(_0x4fa1b6,_0x3bb555){return db['VtigerField'][_0xf08a('0x46')]({'where':{'id':_0x4fa1b6[_0xf08a('0x43')]['id']}})[_0xf08a('0x20')](handleEntityNotFound(_0x3bb555,null))[_0xf08a('0x20')](removeEntity(_0x3bb555,null))[_0xf08a('0x41')](handleError(_0x3bb555,null));}; \ No newline at end of file diff --git a/server/api/intVtigerField/intVtigerField.model.js b/server/api/intVtigerField/intVtigerField.model.js index a82e0b5..ced7ba9 100644 --- a/server/api/intVtigerField/intVtigerField.model.js +++ b/server/api/intVtigerField/intVtigerField.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x7a54=['int_vtiger_fields','idField','lodash','util','../../config/logger','moment','bluebird','path','rimraf','../../config/environment','./intVtigerField.attributes','exports','VtigerField'];(function(_0x157ba1,_0x413ae0){var _0x4691da=function(_0x4e47eb){while(--_0x4e47eb){_0x157ba1['push'](_0x157ba1['shift']());}};_0x4691da(++_0x413ae0);}(_0x7a54,0x106));var _0x47a5=function(_0x52e1f3,_0x5ad4a6){_0x52e1f3=_0x52e1f3-0x0;var _0xbb985b=_0x7a54[_0x52e1f3];return _0xbb985b;};'use strict';var _=require(_0x47a5('0x0'));var util=require(_0x47a5('0x1'));var logger=require(_0x47a5('0x2'))('api');var moment=require(_0x47a5('0x3'));var BPromise=require(_0x47a5('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x47a5('0x5'));var rimraf=require(_0x47a5('0x6'));var config=require(_0x47a5('0x7'));var attributes=require(_0x47a5('0x8'));module[_0x47a5('0x9')]=function(_0x545a97,_0x3d5629){return _0x545a97['define'](_0x47a5('0xa'),attributes,{'tableName':_0x47a5('0xb'),'paranoid':![],'indexes':[{'name':'vtiger_unique_index','fields':[_0x47a5('0xc'),'FieldId'],'unique':!![]}],'timestamps':!![]});}; \ No newline at end of file +var _0x7a54=['int_vtiger_fields','idField','lodash','util','../../config/logger','moment','bluebird','path','rimraf','../../config/environment','./intVtigerField.attributes','exports','VtigerField'];(function(_0x2075c9,_0x2ac3b5){var _0x1ae22e=function(_0x7436c4){while(--_0x7436c4){_0x2075c9['push'](_0x2075c9['shift']());}};_0x1ae22e(++_0x2ac3b5);}(_0x7a54,0x106));var _0x47a5=function(_0x416286,_0xb310ea){_0x416286=_0x416286-0x0;var _0x2ffd21=_0x7a54[_0x416286];return _0x2ffd21;};'use strict';var _=require(_0x47a5('0x0'));var util=require(_0x47a5('0x1'));var logger=require(_0x47a5('0x2'))('api');var moment=require(_0x47a5('0x3'));var BPromise=require(_0x47a5('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x47a5('0x5'));var rimraf=require(_0x47a5('0x6'));var config=require(_0x47a5('0x7'));var attributes=require(_0x47a5('0x8'));module[_0x47a5('0x9')]=function(_0x545a97,_0x3d5629){return _0x545a97['define'](_0x47a5('0xa'),attributes,{'tableName':_0x47a5('0xb'),'paranoid':![],'indexes':[{'name':'vtiger_unique_index','fields':[_0x47a5('0xc'),'FieldId'],'unique':!![]}],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/intVtigerField/intVtigerField.rpc.js b/server/api/intVtigerField/intVtigerField.rpc.js index 901a8f2..a560c6e 100644 --- a/server/api/intVtigerField/intVtigerField.rpc.js +++ b/server/api/intVtigerField/intVtigerField.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x56bd=['client','http','request','then','request\x20sent','debug','stringify','error','code','VtigerField,\x20%s,\x20%s','message','result','catch','util','moment','bluebird','ioredis','../../mysqldb','../../config/utils','../../config/logger','../../config/environment','jayson/promise'];(function(_0x1ef4e1,_0x1a1eaf){var _0x288bca=function(_0x1b1401){while(--_0x1b1401){_0x1ef4e1['push'](_0x1ef4e1['shift']());}};_0x288bca(++_0x1a1eaf);}(_0x56bd,0xe9));var _0xd56b=function(_0x45a004,_0x8a315f){_0x45a004=_0x45a004-0x0;var _0x7ddc4a=_0x56bd[_0x45a004];return _0x7ddc4a;};'use strict';var _=require('lodash');var util=require(_0xd56b('0x0'));var moment=require(_0xd56b('0x1'));var BPromise=require(_0xd56b('0x2'));var rs=require('randomstring');var fs=require('fs');var Redis=require(_0xd56b('0x3'));var db=require(_0xd56b('0x4'))['db'];var utils=require(_0xd56b('0x5'));var logger=require(_0xd56b('0x6'))('rpc');var config=require(_0xd56b('0x7'));var jayson=require(_0xd56b('0x8'));var client=jayson[_0xd56b('0x9')][_0xd56b('0xa')]({'port':0x232a});function respondWithRpcPromise(_0x17864e,_0x442791,_0x20d1b1){return new BPromise(function(_0x50ad75,_0x670d9b){return client[_0xd56b('0xb')](_0x17864e,_0x20d1b1)[_0xd56b('0xc')](function(_0x13447e){logger['info']('VtigerField,\x20%s,\x20%s',_0x442791,_0xd56b('0xd'));logger[_0xd56b('0xe')]('VtigerField,\x20%s,\x20%s,\x20%s',_0x442791,_0xd56b('0xd'),JSON[_0xd56b('0xf')](_0x13447e));if(_0x13447e[_0xd56b('0x10')]){if(_0x13447e[_0xd56b('0x10')][_0xd56b('0x11')]===0x1f4){logger[_0xd56b('0x10')](_0xd56b('0x12'),_0x442791,_0x13447e[_0xd56b('0x10')][_0xd56b('0x13')]);return _0x670d9b(_0x13447e[_0xd56b('0x10')][_0xd56b('0x13')]);}logger[_0xd56b('0x10')](_0xd56b('0x12'),_0x442791,_0x13447e[_0xd56b('0x10')][_0xd56b('0x13')]);return _0x50ad75(_0x13447e['error'][_0xd56b('0x13')]);}else{logger['info'](_0xd56b('0x12'),_0x442791,_0xd56b('0xd'));_0x50ad75(_0x13447e[_0xd56b('0x14')][_0xd56b('0x13')]);}})[_0xd56b('0x15')](function(_0x472e7e){logger[_0xd56b('0x10')](_0xd56b('0x12'),_0x442791,_0x472e7e);_0x670d9b(_0x472e7e);});});} \ No newline at end of file +var _0x337f=['moment','randomstring','ioredis','../../mysqldb','../../config/logger','rpc','jayson/promise','http','request','then','info','VtigerField,\x20%s,\x20%s','request\x20sent','debug','stringify','error','code','message','result','catch','lodash','util'];(function(_0x3c263e,_0x2c699f){var _0x18a8f9=function(_0x16b8c0){while(--_0x16b8c0){_0x3c263e['push'](_0x3c263e['shift']());}};_0x18a8f9(++_0x2c699f);}(_0x337f,0x11c));var _0xf337=function(_0x12a362,_0x308373){_0x12a362=_0x12a362-0x0;var _0x43ddec=_0x337f[_0x12a362];return _0x43ddec;};'use strict';var _=require(_0xf337('0x0'));var util=require(_0xf337('0x1'));var moment=require(_0xf337('0x2'));var BPromise=require('bluebird');var rs=require(_0xf337('0x3'));var fs=require('fs');var Redis=require(_0xf337('0x4'));var db=require(_0xf337('0x5'))['db'];var utils=require('../../config/utils');var logger=require(_0xf337('0x6'))(_0xf337('0x7'));var config=require('../../config/environment');var jayson=require(_0xf337('0x8'));var client=jayson['client'][_0xf337('0x9')]({'port':0x232a});function respondWithRpcPromise(_0x5ae4d6,_0x2be604,_0x56bd39){return new BPromise(function(_0x4b80a2,_0x1f0a95){return client[_0xf337('0xa')](_0x5ae4d6,_0x56bd39)[_0xf337('0xb')](function(_0x2a4619){logger[_0xf337('0xc')](_0xf337('0xd'),_0x2be604,_0xf337('0xe'));logger[_0xf337('0xf')]('VtigerField,\x20%s,\x20%s,\x20%s',_0x2be604,_0xf337('0xe'),JSON[_0xf337('0x10')](_0x2a4619));if(_0x2a4619[_0xf337('0x11')]){if(_0x2a4619[_0xf337('0x11')][_0xf337('0x12')]===0x1f4){logger[_0xf337('0x11')](_0xf337('0xd'),_0x2be604,_0x2a4619[_0xf337('0x11')][_0xf337('0x13')]);return _0x1f0a95(_0x2a4619[_0xf337('0x11')][_0xf337('0x13')]);}logger[_0xf337('0x11')]('VtigerField,\x20%s,\x20%s',_0x2be604,_0x2a4619[_0xf337('0x11')][_0xf337('0x13')]);return _0x4b80a2(_0x2a4619[_0xf337('0x11')]['message']);}else{logger[_0xf337('0xc')](_0xf337('0xd'),_0x2be604,'request\x20sent');_0x4b80a2(_0x2a4619[_0xf337('0x14')][_0xf337('0x13')]);}})[_0xf337('0x15')](function(_0x4a7e4c){logger[_0xf337('0x11')]('VtigerField,\x20%s,\x20%s',_0x2be604,_0x4a7e4c);_0x1f0a95(_0x4a7e4c);});});} \ No newline at end of file diff --git a/server/api/intZendeskAccount/index.js b/server/api/intZendeskAccount/index.js index 9f98046..9c858c9 100644 --- a/server/api/intZendeskAccount/index.js +++ b/server/api/intZendeskAccount/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xfc4f=['../../config/environment','./intZendeskAccount.controller','get','index','/:id','isAuthenticated','getConfigurations','/:id/fields','getFields','post','create','put','update','delete','exports','multer','util','path','connect-timeout','express','Router','../../components/interaction/service'];(function(_0x335806,_0x5e7dbf){var _0x2de72b=function(_0x349a69){while(--_0x349a69){_0x335806['push'](_0x335806['shift']());}};_0x2de72b(++_0x5e7dbf);}(_0xfc4f,0x67));var _0xffc4=function(_0x501510,_0x61caa9){_0x501510=_0x501510-0x0;var _0x1e6ee5=_0xfc4f[_0x501510];return _0x1e6ee5;};'use strict';var multer=require(_0xffc4('0x0'));var util=require(_0xffc4('0x1'));var path=require(_0xffc4('0x2'));var timeout=require(_0xffc4('0x3'));var express=require(_0xffc4('0x4'));var router=express[_0xffc4('0x5')]();var auth=require('../../components/auth/service');var interaction=require(_0xffc4('0x6'));var config=require(_0xffc4('0x7'));var controller=require(_0xffc4('0x8'));router[_0xffc4('0x9')]('/',auth['isAuthenticated'](),controller[_0xffc4('0xa')]);router['get'](_0xffc4('0xb'),auth['isAuthenticated'](),controller['show']);router['get']('/:id/configurations',auth[_0xffc4('0xc')](),controller[_0xffc4('0xd')]);router[_0xffc4('0x9')](_0xffc4('0xe'),auth[_0xffc4('0xc')](),controller[_0xffc4('0xf')]);router[_0xffc4('0x10')]('/',auth[_0xffc4('0xc')](),controller[_0xffc4('0x11')]);router[_0xffc4('0x10')]('/:id/configurations',auth['isAuthenticated'](),controller['addConfiguration']);router[_0xffc4('0x12')](_0xffc4('0xb'),auth['isAuthenticated'](),controller[_0xffc4('0x13')]);router[_0xffc4('0x14')](_0xffc4('0xb'),auth[_0xffc4('0xc')](),controller['destroy']);module[_0xffc4('0x15')]=router; \ No newline at end of file +var _0x5b90=['multer','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','get','/:id','/:id/configurations','isAuthenticated','getConfigurations','/:id/fields','getFields','post','create','addConfiguration','put','update','destroy'];(function(_0x1c3602,_0x1152ac){var _0x34e000=function(_0x6f1468){while(--_0x6f1468){_0x1c3602['push'](_0x1c3602['shift']());}};_0x34e000(++_0x1152ac);}(_0x5b90,0x17c));var _0x05b9=function(_0x5a9d2b,_0x64b8b8){_0x5a9d2b=_0x5a9d2b-0x0;var _0x55a4a5=_0x5b90[_0x5a9d2b];return _0x55a4a5;};'use strict';var multer=require(_0x05b9('0x0'));var util=require('util');var path=require(_0x05b9('0x1'));var timeout=require(_0x05b9('0x2'));var express=require(_0x05b9('0x3'));var router=express[_0x05b9('0x4')]();var auth=require(_0x05b9('0x5'));var interaction=require(_0x05b9('0x6'));var config=require('../../config/environment');var controller=require('./intZendeskAccount.controller');router[_0x05b9('0x7')]('/',auth['isAuthenticated'](),controller['index']);router[_0x05b9('0x7')](_0x05b9('0x8'),auth['isAuthenticated'](),controller['show']);router[_0x05b9('0x7')](_0x05b9('0x9'),auth[_0x05b9('0xa')](),controller[_0x05b9('0xb')]);router[_0x05b9('0x7')](_0x05b9('0xc'),auth['isAuthenticated'](),controller[_0x05b9('0xd')]);router[_0x05b9('0xe')]('/',auth[_0x05b9('0xa')](),controller[_0x05b9('0xf')]);router['post']('/:id/configurations',auth[_0x05b9('0xa')](),controller[_0x05b9('0x10')]);router[_0x05b9('0x11')](_0x05b9('0x8'),auth[_0x05b9('0xa')](),controller[_0x05b9('0x12')]);router['delete']('/:id',auth[_0x05b9('0xa')](),controller[_0x05b9('0x13')]);module['exports']=router; \ No newline at end of file diff --git a/server/api/intZendeskAccount/intZendeskAccount.attributes.js b/server/api/intZendeskAccount/intZendeskAccount.attributes.js index eacbba5..9f232c8 100644 --- a/server/api/intZendeskAccount/intZendeskAccount.attributes.js +++ b/server/api/intZendeskAccount/intZendeskAccount.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x34a3=['integrationTab','newTab','sequelize','exports','STRING','password','token','ENUM'];(function(_0x2308ed,_0x1d1fcd){var _0x37f93b=function(_0x59d93d){while(--_0x59d93d){_0x2308ed['push'](_0x2308ed['shift']());}};_0x37f93b(++_0x1d1fcd);}(_0x34a3,0xfa));var _0x334a=function(_0x235482,_0x14b833){_0x235482=_0x235482-0x0;var _0x5f5bea=_0x34a3[_0x235482];return _0x5f5bea;};'use strict';var Sequelize=require(_0x334a('0x0'));module[_0x334a('0x1')]={'name':{'type':Sequelize[_0x334a('0x2')]},'description':{'type':Sequelize['STRING']},'username':{'type':Sequelize[_0x334a('0x2')],'unique':'username'},'password':{'type':Sequelize['STRING']},'token':{'type':Sequelize[_0x334a('0x2')]},'remoteUri':{'type':Sequelize[_0x334a('0x2')],'unique':'remoteUri'},'authType':{'type':Sequelize['ENUM'](_0x334a('0x3'),_0x334a('0x4')),'defaultValue':'password'},'serverUrl':{'type':Sequelize[_0x334a('0x2')]},'type':{'type':Sequelize[_0x334a('0x5')](_0x334a('0x6'),_0x334a('0x7')),'defaultValue':_0x334a('0x6')}}; \ No newline at end of file +var _0x8b9f=['exports','STRING','ENUM','password','integrationTab'];(function(_0x2f27ef,_0x49ebff){var _0x2666d1=function(_0x731d81){while(--_0x731d81){_0x2f27ef['push'](_0x2f27ef['shift']());}};_0x2666d1(++_0x49ebff);}(_0x8b9f,0x1f4));var _0xf8b9=function(_0x221abd,_0x621d76){_0x221abd=_0x221abd-0x0;var _0x47e399=_0x8b9f[_0x221abd];return _0x47e399;};'use strict';var Sequelize=require('sequelize');module[_0xf8b9('0x0')]={'name':{'type':Sequelize[_0xf8b9('0x1')]},'description':{'type':Sequelize['STRING']},'username':{'type':Sequelize[_0xf8b9('0x1')],'unique':'username'},'password':{'type':Sequelize[_0xf8b9('0x1')]},'token':{'type':Sequelize[_0xf8b9('0x1')]},'remoteUri':{'type':Sequelize[_0xf8b9('0x1')],'unique':'remoteUri'},'authType':{'type':Sequelize[_0xf8b9('0x2')](_0xf8b9('0x3'),'token'),'defaultValue':_0xf8b9('0x3')},'serverUrl':{'type':Sequelize[_0xf8b9('0x1')]},'type':{'type':Sequelize[_0xf8b9('0x2')](_0xf8b9('0x4'),'newTab'),'defaultValue':'integrationTab'}}; \ No newline at end of file diff --git a/server/api/intZendeskAccount/intZendeskAccount.controller.js b/server/api/intZendeskAccount/intZendeskAccount.controller.js index c3061c0..824c83c 100644 --- a/server/api/intZendeskAccount/intZendeskAccount.controller.js +++ b/server/api/intZendeskAccount/intZendeskAccount.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xba91=['test','The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.','then','info','ZendeskAccount,\x20%s,\x20%s','request\x20sent','stringify','error','code','message','catch','sendStatus','status','end','json','count','offset','limit','set','Content-Range','apply','reject','save','update','destroy','stack','name','send','index','map','rawAttributes','fieldName','type','key','model','query','filters','attributes','intersection','fields','length','order','sort','where','pick','merge','VIRTUAL','options','ZendeskAccount','includeAll','include','findAll','rows','params','keys','create','body','find','getConfigurations','findOne','ZendeskConfiguration','filter','nolimit','addConfiguration','Subjects','getSubjects','channel','ZendeskField','Descriptions','getFields','username','password','remoteUri','slice','substring','format','ticket_fields','authType','headers','Basic\x20%s','toString','base64','token','ValidationError','Unknown\x20authentication\x20type','subject','description','group','remove','includes','position','system_field_options','custom_field_options','statusCode','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','mustache','util','path','sox','to-csv','squel','crypto','desk.js','papaparse','ioredis','../../components/auth/service','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','../../components/integrations/configuration','jayson/promise','client','http'];(function(_0x3a497c,_0x17453c){var _0x3b3845=function(_0x342751){while(--_0x342751){_0x3a497c['push'](_0x3a497c['shift']());}};_0x3b3845(++_0x17453c);}(_0xba91,0x1d2));var _0x1ba9=function(_0x441857,_0x450791){_0x441857=_0x441857-0x0;var _0x395087=_0xba91[_0x441857];return _0x395087;};'use strict';var pdf=require(_0x1ba9('0x0'));var emlformat=require(_0x1ba9('0x1'));var rimraf=require(_0x1ba9('0x2'));var zipdir=require(_0x1ba9('0x3'));var jsonpatch=require(_0x1ba9('0x4'));var rp=require(_0x1ba9('0x5'));var moment=require(_0x1ba9('0x6'));var BPromise=require(_0x1ba9('0x7'));var Mustache=require(_0x1ba9('0x8'));var util=require(_0x1ba9('0x9'));var path=require(_0x1ba9('0xa'));var sox=require(_0x1ba9('0xb'));var csv=require(_0x1ba9('0xc'));var ejs=require('ejs');var fs=require('fs');var _=require('lodash');var squel=require(_0x1ba9('0xd'));var crypto=require(_0x1ba9('0xe'));var jsforce=require('jsforce');var deskjs=require(_0x1ba9('0xf'));var toCsv=require(_0x1ba9('0xc'));var querystring=require('querystring');var Papa=require(_0x1ba9('0x10'));var Redis=require(_0x1ba9('0x11'));var authService=require(_0x1ba9('0x12'));var qs=require('../../components/parsers/qs');var as=require(_0x1ba9('0x13'));var hardwareService=require(_0x1ba9('0x14'));var logger=require(_0x1ba9('0x15'))(_0x1ba9('0x16'));var utils=require(_0x1ba9('0x17'));var config=require(_0x1ba9('0x18'));var db=require(_0x1ba9('0x19'))['db'];var integrations=require(_0x1ba9('0x1a'));var jayson=require(_0x1ba9('0x1b'));var client=jayson[_0x1ba9('0x1c')][_0x1ba9('0x1d')]({'port':0x232a});function checkPasswordPattern(_0x4f7a62,_0x34770a,_0x1d4f24){if(_0x1d4f24){var _0x5f135b=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0x5f135b[_0x1ba9('0x1e')](_0x34770a)){return _0x4f7a62;}else{throw new db['Sequelize']['ValidationError'](_0x1ba9('0x1f'));}}else{return _0x4f7a62;}}function respondWithRpcPromise(_0x5cfa55,_0x1cd34e,_0x5a5c08,_0x3730ec){return new BPromise(function(_0x5cc2ff,_0x3aa1b8){var _0x223f1c=_0x3730ec||client;return _0x223f1c['request'](_0x5cfa55,_0x5a5c08)[_0x1ba9('0x20')](function(_0x4f5766){logger[_0x1ba9('0x21')](_0x1ba9('0x22'),_0x1cd34e,_0x1ba9('0x23'));logger['debug']('ZendeskAccount,\x20%s,\x20%s,\x20%s',_0x1cd34e,_0x1ba9('0x23'),JSON[_0x1ba9('0x24')](_0x4f5766));if(_0x4f5766['error']){if(_0x4f5766[_0x1ba9('0x25')][_0x1ba9('0x26')]===0x1f4){logger['error'](_0x1ba9('0x22'),_0x1cd34e,_0x4f5766[_0x1ba9('0x25')][_0x1ba9('0x27')]);return _0x3aa1b8(_0x4f5766[_0x1ba9('0x25')][_0x1ba9('0x27')]);}logger[_0x1ba9('0x25')]('ZendeskAccount,\x20%s,\x20%s',_0x1cd34e,_0x4f5766[_0x1ba9('0x25')]['message']);return _0x5cc2ff(_0x4f5766[_0x1ba9('0x25')][_0x1ba9('0x27')]);}else{logger[_0x1ba9('0x21')]('ZendeskAccount,\x20%s,\x20%s',_0x1cd34e,_0x1ba9('0x23'));_0x5cc2ff(_0x4f5766['result'][_0x1ba9('0x27')]);}})[_0x1ba9('0x28')](function(_0x551d75){logger[_0x1ba9('0x25')](_0x1ba9('0x22'),_0x1cd34e,_0x551d75);_0x3aa1b8(_0x551d75);});});}function respondWithStatusCode(_0x1db932,_0x1f1ee8){_0x1f1ee8=_0x1f1ee8||0xcc;return function(_0x1617d3){if(_0x1617d3){return _0x1db932[_0x1ba9('0x29')](_0x1f1ee8);}return _0x1db932[_0x1ba9('0x2a')](_0x1f1ee8)[_0x1ba9('0x2b')]();};}function respondWithResult(_0xab24db,_0x143ea9){_0x143ea9=_0x143ea9||0xc8;return function(_0x5d9ee7){if(_0x5d9ee7){return _0xab24db[_0x1ba9('0x2a')](_0x143ea9)[_0x1ba9('0x2c')](_0x5d9ee7);}};}function respondWithFilteredResult(_0x290f20,_0x5559fb){return function(_0x1719ff){if(_0x1719ff){var _0x56c95c=_0x1719ff[_0x1ba9('0x2d')],_0x1a28b9=_0x5559fb['offset'],_0x94db42=_0x5559fb[_0x1ba9('0x2e')]+_0x5559fb[_0x1ba9('0x2f')],_0xec8bad;if(_0x94db42>=_0x56c95c){_0x94db42=_0x56c95c;_0xec8bad=0xc8;}else{_0xec8bad=0xce;}_0x290f20['status'](_0xec8bad);return _0x290f20[_0x1ba9('0x30')](_0x1ba9('0x31'),_0x1a28b9+'-'+_0x94db42+'/'+_0x56c95c)['json'](_0x1719ff);}return null;};}function patchUpdates(_0x29b662){return function(_0x2347c0){try{jsonpatch[_0x1ba9('0x32')](_0x2347c0,_0x29b662,!![]);}catch(_0x25bbc9){return BPromise[_0x1ba9('0x33')](_0x25bbc9);}return _0x2347c0[_0x1ba9('0x34')]();};}function saveUpdates(_0x2d0273,_0xcf32b2){return function(_0x4e5590){if(_0x4e5590){return _0x4e5590[_0x1ba9('0x35')](_0x2d0273)[_0x1ba9('0x20')](function(_0x1dc93a){return _0x1dc93a;});}return null;};}function removeEntity(_0x466dd6,_0x144bb9){return function(_0x5d138a){if(_0x5d138a){return _0x5d138a[_0x1ba9('0x36')]()['then'](function(){_0x466dd6[_0x1ba9('0x2a')](0xcc)['end']();});}};}function handleEntityNotFound(_0x270c77,_0x579af0){return function(_0x50fb4b){if(!_0x50fb4b){_0x270c77[_0x1ba9('0x29')](0x194);}return _0x50fb4b;};}function handleError(_0x109fe6,_0x33ab69){_0x33ab69=_0x33ab69||0x1f4;return function(_0x34a70){logger[_0x1ba9('0x25')](_0x34a70[_0x1ba9('0x37')]);if(_0x34a70['name']){delete _0x34a70[_0x1ba9('0x38')];}_0x109fe6[_0x1ba9('0x2a')](_0x33ab69)[_0x1ba9('0x39')](_0x34a70);};}exports[_0x1ba9('0x3a')]=function(_0x1fca57,_0x52e751){var _0x247fb0={},_0x15e358={},_0x4cdea8={'count':0x0,'rows':[]};var _0x56b943=_[_0x1ba9('0x3b')](db['ZendeskAccount'][_0x1ba9('0x3c')],function(_0x4ce764){return{'name':_0x4ce764[_0x1ba9('0x3d')],'type':_0x4ce764[_0x1ba9('0x3e')][_0x1ba9('0x3f')]};});_0x15e358[_0x1ba9('0x40')]=_['map'](_0x56b943,_0x1ba9('0x38'));_0x15e358[_0x1ba9('0x41')]=_['keys'](_0x1fca57['query']);_0x15e358[_0x1ba9('0x42')]=_['intersection'](_0x15e358['model'],_0x15e358['query']);_0x247fb0[_0x1ba9('0x43')]=_[_0x1ba9('0x44')](_0x15e358['model'],qs[_0x1ba9('0x45')](_0x1fca57[_0x1ba9('0x41')][_0x1ba9('0x45')]));_0x247fb0['attributes']=_0x247fb0['attributes'][_0x1ba9('0x46')]?_0x247fb0[_0x1ba9('0x43')]:_0x15e358[_0x1ba9('0x40')];if(!_0x1fca57[_0x1ba9('0x41')]['hasOwnProperty']('nolimit')){_0x247fb0[_0x1ba9('0x2f')]=qs[_0x1ba9('0x2f')](_0x1fca57[_0x1ba9('0x41')][_0x1ba9('0x2f')]);_0x247fb0[_0x1ba9('0x2e')]=qs[_0x1ba9('0x2e')](_0x1fca57[_0x1ba9('0x41')][_0x1ba9('0x2e')]);}_0x247fb0[_0x1ba9('0x47')]=qs[_0x1ba9('0x48')](_0x1fca57[_0x1ba9('0x41')][_0x1ba9('0x48')]);_0x247fb0[_0x1ba9('0x49')]=qs[_0x1ba9('0x42')](_[_0x1ba9('0x4a')](_0x1fca57[_0x1ba9('0x41')],_0x15e358['filters']),_0x56b943);if(_0x1fca57['query']['filter']){_0x247fb0[_0x1ba9('0x49')]=_[_0x1ba9('0x4b')](_0x247fb0[_0x1ba9('0x49')],{'$or':_['map'](_0x56b943,function(_0x2ac36a){if(_0x2ac36a['type']!==_0x1ba9('0x4c')){var _0x3f099a={};_0x3f099a[_0x2ac36a['name']]={'$like':'%'+_0x1fca57[_0x1ba9('0x41')]['filter']+'%'};return _0x3f099a;}})});}_0x247fb0=_['merge']({},_0x247fb0,_0x1fca57[_0x1ba9('0x4d')]);var _0x554e72={'where':_0x247fb0[_0x1ba9('0x49')]};return db[_0x1ba9('0x4e')][_0x1ba9('0x2d')](_0x554e72)[_0x1ba9('0x20')](function(_0x431f58){_0x4cdea8['count']=_0x431f58;if(_0x1fca57[_0x1ba9('0x41')][_0x1ba9('0x4f')]){_0x247fb0[_0x1ba9('0x50')]=[{'all':!![]}];}return db[_0x1ba9('0x4e')][_0x1ba9('0x51')](_0x247fb0);})[_0x1ba9('0x20')](function(_0x247c81){_0x4cdea8[_0x1ba9('0x52')]=_0x247c81;return _0x4cdea8;})[_0x1ba9('0x20')](respondWithFilteredResult(_0x52e751,_0x247fb0))['catch'](handleError(_0x52e751,null));};exports['show']=function(_0x1b025f,_0x2579e4){var _0x45db3a={'raw':![],'where':{'id':_0x1b025f[_0x1ba9('0x53')]['id']}},_0xc9dc7b={};_0xc9dc7b[_0x1ba9('0x40')]=_['keys'](db[_0x1ba9('0x4e')][_0x1ba9('0x3c')]);_0xc9dc7b[_0x1ba9('0x41')]=_[_0x1ba9('0x54')](_0x1b025f[_0x1ba9('0x41')]);_0xc9dc7b[_0x1ba9('0x42')]=_[_0x1ba9('0x44')](_0xc9dc7b[_0x1ba9('0x40')],_0xc9dc7b['query']);_0x45db3a[_0x1ba9('0x43')]=_[_0x1ba9('0x44')](_0xc9dc7b[_0x1ba9('0x40')],qs[_0x1ba9('0x45')](_0x1b025f[_0x1ba9('0x41')][_0x1ba9('0x45')]));_0x45db3a[_0x1ba9('0x43')]=_0x45db3a['attributes']['length']?_0x45db3a[_0x1ba9('0x43')]:_0xc9dc7b[_0x1ba9('0x40')];if(_0x1b025f['query'][_0x1ba9('0x4f')]){_0x45db3a[_0x1ba9('0x50')]=[{'all':!![]}];}_0x45db3a=_['merge']({},_0x45db3a,_0x1b025f[_0x1ba9('0x4d')]);return db[_0x1ba9('0x4e')]['find'](_0x45db3a)[_0x1ba9('0x20')](handleEntityNotFound(_0x2579e4,null))[_0x1ba9('0x20')](respondWithResult(_0x2579e4,null))[_0x1ba9('0x28')](handleError(_0x2579e4,null));};exports[_0x1ba9('0x55')]=function(_0x56ed96,_0x38fd9e){return db['ZendeskAccount'][_0x1ba9('0x55')](_0x56ed96[_0x1ba9('0x56')],{})[_0x1ba9('0x20')](respondWithResult(_0x38fd9e,0xc9))[_0x1ba9('0x28')](handleError(_0x38fd9e,null));};exports[_0x1ba9('0x35')]=function(_0x44cf27,_0x166695){if(_0x44cf27[_0x1ba9('0x56')]['id']){delete _0x44cf27[_0x1ba9('0x56')]['id'];}return db[_0x1ba9('0x4e')][_0x1ba9('0x57')]({'where':{'id':_0x44cf27[_0x1ba9('0x53')]['id']}})[_0x1ba9('0x20')](handleEntityNotFound(_0x166695,null))[_0x1ba9('0x20')](saveUpdates(_0x44cf27[_0x1ba9('0x56')],null))[_0x1ba9('0x20')](respondWithResult(_0x166695,null))[_0x1ba9('0x28')](handleError(_0x166695,null));};exports[_0x1ba9('0x36')]=function(_0x221723,_0x35d730){return db[_0x1ba9('0x4e')][_0x1ba9('0x57')]({'where':{'id':_0x221723[_0x1ba9('0x53')]['id']}})['then'](handleEntityNotFound(_0x35d730,null))[_0x1ba9('0x20')](removeEntity(_0x35d730,null))[_0x1ba9('0x28')](handleError(_0x35d730,null));};exports[_0x1ba9('0x58')]=function(_0x4e2b27,_0xc0a07b,_0x10d853){var _0x42c20d={};var _0x57215c={};var _0x229b58;var _0x129023;return db['ZendeskAccount'][_0x1ba9('0x59')]({'where':{'id':_0x4e2b27[_0x1ba9('0x53')]['id']}})[_0x1ba9('0x20')](handleEntityNotFound(_0xc0a07b,null))[_0x1ba9('0x20')](function(_0x11ad17){if(_0x11ad17){_0x229b58=_0x11ad17;_0x57215c[_0x1ba9('0x40')]=_['keys'](db[_0x1ba9('0x5a')][_0x1ba9('0x3c')]);_0x57215c['query']=_[_0x1ba9('0x54')](_0x4e2b27['query']);_0x57215c[_0x1ba9('0x42')]=_['intersection'](_0x57215c[_0x1ba9('0x40')],_0x57215c[_0x1ba9('0x41')]);_0x42c20d[_0x1ba9('0x43')]=_[_0x1ba9('0x44')](_0x57215c['model'],qs[_0x1ba9('0x45')](_0x4e2b27[_0x1ba9('0x41')][_0x1ba9('0x45')]));_0x42c20d[_0x1ba9('0x43')]=_0x42c20d[_0x1ba9('0x43')][_0x1ba9('0x46')]?_0x42c20d[_0x1ba9('0x43')]:_0x57215c['model'];_0x42c20d[_0x1ba9('0x47')]=qs[_0x1ba9('0x48')](_0x4e2b27[_0x1ba9('0x41')][_0x1ba9('0x48')]);_0x42c20d[_0x1ba9('0x49')]=qs[_0x1ba9('0x42')](_[_0x1ba9('0x4a')](_0x4e2b27[_0x1ba9('0x41')],_0x57215c[_0x1ba9('0x42')]));if(_0x4e2b27[_0x1ba9('0x41')][_0x1ba9('0x5b')]){_0x42c20d[_0x1ba9('0x49')]=_['merge'](_0x42c20d[_0x1ba9('0x49')],{'$or':_[_0x1ba9('0x3b')](_0x42c20d['attributes'],function(_0x5cce1e){var _0x4622ff={};_0x4622ff[_0x5cce1e]={'$like':'%'+_0x4e2b27[_0x1ba9('0x41')][_0x1ba9('0x5b')]+'%'};return _0x4622ff;})});}_0x42c20d=_['merge']({},_0x42c20d,_0x4e2b27[_0x1ba9('0x4d')]);return _0x229b58[_0x1ba9('0x58')](_0x42c20d);}})[_0x1ba9('0x20')](function(_0x5d8ebe){if(_0x5d8ebe){_0x129023=_0x5d8ebe[_0x1ba9('0x46')];if(!_0x4e2b27[_0x1ba9('0x41')]['hasOwnProperty'](_0x1ba9('0x5c'))){_0x42c20d[_0x1ba9('0x2f')]=qs[_0x1ba9('0x2f')](_0x4e2b27[_0x1ba9('0x41')]['limit']);_0x42c20d[_0x1ba9('0x2e')]=qs[_0x1ba9('0x2e')](_0x4e2b27[_0x1ba9('0x41')][_0x1ba9('0x2e')]);}return _0x229b58['getConfigurations'](_0x42c20d);}})[_0x1ba9('0x20')](function(_0x268152){if(_0x268152){return _0x268152?{'count':_0x129023,'rows':_0x268152}:null;}})[_0x1ba9('0x20')](respondWithResult(_0xc0a07b,null))[_0x1ba9('0x28')](handleError(_0xc0a07b,null));};exports[_0x1ba9('0x5d')]=function(_0x4fefbc,_0x101ff3,_0x4d9b3e){if(_0x4fefbc[_0x1ba9('0x56')]['id']){delete _0x4fefbc[_0x1ba9('0x56')]['id'];}return db['ZendeskAccount'][_0x1ba9('0x59')]({'where':{'id':_0x4fefbc[_0x1ba9('0x53')]['id']}})[_0x1ba9('0x20')](handleEntityNotFound(_0x101ff3,null))[_0x1ba9('0x20')](function(_0x4350f1){if(_0x4350f1){_0x4fefbc[_0x1ba9('0x56')]['AccountId']=_0x4350f1['id'];_0x4fefbc[_0x1ba9('0x56')][_0x1ba9('0x5e')]=integrations[_0x1ba9('0x5f')](_0x4fefbc['body'][_0x1ba9('0x60')],_0x4fefbc[_0x1ba9('0x56')][_0x1ba9('0x3e')]);_0x4fefbc[_0x1ba9('0x56')]['Descriptions']=integrations['getDescriptions'](_0x4fefbc[_0x1ba9('0x56')][_0x1ba9('0x60')],_0x4fefbc[_0x1ba9('0x56')][_0x1ba9('0x3e')]);return db[_0x1ba9('0x5a')][_0x1ba9('0x55')](_0x4fefbc['body'],{'include':[{'model':db[_0x1ba9('0x61')],'as':_0x1ba9('0x5e')},{'model':db['ZendeskField'],'as':_0x1ba9('0x62')}]});}return null;})['then'](respondWithResult(_0x101ff3,null))[_0x1ba9('0x28')](handleError(_0x101ff3,null));};exports[_0x1ba9('0x63')]=function(_0x41b92f,_0x54c693,_0x4926bd){var _0x2790b6='';return db[_0x1ba9('0x4e')][_0x1ba9('0x59')]({'where':{'id':_0x41b92f[_0x1ba9('0x53')]['id']},'attributes':['id',_0x1ba9('0x64'),_0x1ba9('0x65'),'token','authType',_0x1ba9('0x66')]})[_0x1ba9('0x20')](handleEntityNotFound(_0x54c693,null))[_0x1ba9('0x20')](function(_0x49c2fe){if(_0x49c2fe){_0x2790b6=_0x49c2fe[_0x1ba9('0x66')];var _0x3b7f87=_0x2790b6[_0x1ba9('0x67')](-0x1);if(_0x3b7f87==='/'){_0x2790b6=_0x2790b6[_0x1ba9('0x68')](0x0,_0x2790b6['lastIndexOf'](_0x3b7f87));}var _0x29641f={'method':'GET','uri':util[_0x1ba9('0x69')]('%s/%s',_0x2790b6,_0x1ba9('0x6a')),'json':!![]};switch(_0x49c2fe[_0x1ba9('0x6b')]){case _0x1ba9('0x65'):_0x29641f[_0x1ba9('0x6c')]={'Authorization':util[_0x1ba9('0x69')](_0x1ba9('0x6d'),new Buffer(util[_0x1ba9('0x69')]('%s:%s',_0x49c2fe[_0x1ba9('0x64')],_0x49c2fe[_0x1ba9('0x65')]))[_0x1ba9('0x6e')](_0x1ba9('0x6f')))};break;case _0x1ba9('0x70'):_0x29641f[_0x1ba9('0x6c')]={'Authorization':util[_0x1ba9('0x69')]('Basic\x20%s',new Buffer(util[_0x1ba9('0x69')]('%s/token:%s',_0x49c2fe[_0x1ba9('0x64')],_0x49c2fe['token']))[_0x1ba9('0x6e')]('base64'))};break;default:throw new db['Sequelize'][(_0x1ba9('0x71'))](_0x1ba9('0x72'));}return rp(_0x29641f);}})['then'](function(_0x37fcf9){if(_0x37fcf9){var _0x33e1ab=[_0x1ba9('0x73'),_0x1ba9('0x74'),_0x1ba9('0x75'),'assignee'];_[_0x1ba9('0x76')](_0x37fcf9['ticket_fields'],function(_0x7e646e){return _0x33e1ab[_0x1ba9('0x77')](_0x7e646e[_0x1ba9('0x3e')]);});return{'count':_0x37fcf9[_0x1ba9('0x6a')][_0x1ba9('0x46')],'rows':_['map'](_0x37fcf9[_0x1ba9('0x6a')],function(_0x1db330){return{'id':_0x1db330['id'],'name':_0x1db330[_0x1ba9('0x78')]>0x7?_0x1db330['title']:_0x1db330[_0x1ba9('0x3e')],'custom':_0x1db330[_0x1ba9('0x78')]>0x7?!![]:![],'options':_0x1db330['system_field_options']?_0x1db330[_0x1ba9('0x79')]:_0x1db330[_0x1ba9('0x7a')]?_0x1db330[_0x1ba9('0x7a')]:[]};})};}})[_0x1ba9('0x20')](respondWithResult(_0x54c693,null))[_0x1ba9('0x28')](function(_0x444605){var _0x30bd00=_0x41b92f[_0x1ba9('0x41')][_0x1ba9('0x1e')]?0x1f4:_0x444605['statusCode']||0x1f4;logger[_0x1ba9('0x25')]('getFields,\x20%s,\x20%s,\x20%s',_0x1ba9('0x63'),_0x30bd00,JSON[_0x1ba9('0x24')](_0x444605));delete _0x444605['name'];if(_0x30bd00===0x191){_0x30bd00=0x190;}_0x54c693[_0x1ba9('0x2a')](_0x30bd00)[_0x1ba9('0x39')](_0x41b92f[_0x1ba9('0x41')]['test']?{'message':'Wrong\x20credentials','statusCode':_0x444605[_0x1ba9('0x7b')]}:_0x444605);});}; \ No newline at end of file +var _0x5457=['nolimit','limit','order','sort','pick','filter','where','merge','VIRTUAL','options','ZendeskAccount','includeAll','include','findAll','rows','find','catch','create','body','params','destroy','getConfigurations','findOne','ZendeskConfiguration','addConfiguration','AccountId','Subjects','channel','getDescriptions','ZendeskField','Descriptions','getFields','password','token','authType','remoteUri','slice','substring','lastIndexOf','GET','format','%s/%s','headers','Basic\x20%s','username','toString','base64','%s/token:%s','description','group','assignee','remove','ticket_fields','title','position','system_field_options','custom_field_options','test','statusCode','getFields,\x20%s,\x20%s,\x20%s','stringify','Wrong\x20credentials','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','mustache','util','path','ejs','lodash','squel','jsforce','to-csv','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/logger','api','../../config/environment','../../mysqldb','client','http','Sequelize','ValidationError','The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.','request','info','ZendeskAccount,\x20%s,\x20%s','request\x20sent','debug','ZendeskAccount,\x20%s,\x20%s,\x20%s','error','code','message','result','sendStatus','status','end','count','offset','set','json','apply','save','update','then','stack','name','send','index','rawAttributes','type','key','model','map','keys','query','filters','intersection','fields','attributes','length','hasOwnProperty'];(function(_0xf04c6d,_0xe98786){var _0x4a804e=function(_0x431a0a){while(--_0x431a0a){_0xf04c6d['push'](_0xf04c6d['shift']());}};_0x4a804e(++_0xe98786);}(_0x5457,0x140));var _0x7545=function(_0x1c15bb,_0x990ea1){_0x1c15bb=_0x1c15bb-0x0;var _0x1f4b2a=_0x5457[_0x1c15bb];return _0x1f4b2a;};'use strict';var pdf=require('html-pdf');var emlformat=require('eml-format');var rimraf=require(_0x7545('0x0'));var zipdir=require(_0x7545('0x1'));var jsonpatch=require(_0x7545('0x2'));var rp=require(_0x7545('0x3'));var moment=require(_0x7545('0x4'));var BPromise=require(_0x7545('0x5'));var Mustache=require(_0x7545('0x6'));var util=require(_0x7545('0x7'));var path=require(_0x7545('0x8'));var sox=require('sox');var csv=require('to-csv');var ejs=require(_0x7545('0x9'));var fs=require('fs');var _=require(_0x7545('0xa'));var squel=require(_0x7545('0xb'));var crypto=require('crypto');var jsforce=require(_0x7545('0xc'));var deskjs=require('desk.js');var toCsv=require(_0x7545('0xd'));var querystring=require(_0x7545('0xe'));var Papa=require(_0x7545('0xf'));var Redis=require(_0x7545('0x10'));var authService=require(_0x7545('0x11'));var qs=require(_0x7545('0x12'));var as=require(_0x7545('0x13'));var hardwareService=require('../../config/license/hardware');var logger=require(_0x7545('0x14'))(_0x7545('0x15'));var utils=require('../../config/utils');var config=require(_0x7545('0x16'));var db=require(_0x7545('0x17'))['db'];var integrations=require('../../components/integrations/configuration');var jayson=require('jayson/promise');var client=jayson[_0x7545('0x18')][_0x7545('0x19')]({'port':0x232a});function checkPasswordPattern(_0x169d72,_0x5c4fc7,_0x2f91eb){if(_0x2f91eb){var _0x2c4c09=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0x2c4c09['test'](_0x5c4fc7)){return _0x169d72;}else{throw new db[(_0x7545('0x1a'))][(_0x7545('0x1b'))](_0x7545('0x1c'));}}else{return _0x169d72;}}function respondWithRpcPromise(_0x44d6b,_0x32b06c,_0x3dcc49,_0x5dd751){return new BPromise(function(_0xd7eeb2,_0x5dba27){var _0x9ccd0a=_0x5dd751||client;return _0x9ccd0a[_0x7545('0x1d')](_0x44d6b,_0x3dcc49)['then'](function(_0x3fc85b){logger[_0x7545('0x1e')](_0x7545('0x1f'),_0x32b06c,_0x7545('0x20'));logger[_0x7545('0x21')](_0x7545('0x22'),_0x32b06c,_0x7545('0x20'),JSON['stringify'](_0x3fc85b));if(_0x3fc85b[_0x7545('0x23')]){if(_0x3fc85b[_0x7545('0x23')][_0x7545('0x24')]===0x1f4){logger[_0x7545('0x23')](_0x7545('0x1f'),_0x32b06c,_0x3fc85b['error'][_0x7545('0x25')]);return _0x5dba27(_0x3fc85b[_0x7545('0x23')]['message']);}logger[_0x7545('0x23')](_0x7545('0x1f'),_0x32b06c,_0x3fc85b['error'][_0x7545('0x25')]);return _0xd7eeb2(_0x3fc85b[_0x7545('0x23')][_0x7545('0x25')]);}else{logger['info'](_0x7545('0x1f'),_0x32b06c,_0x7545('0x20'));_0xd7eeb2(_0x3fc85b[_0x7545('0x26')][_0x7545('0x25')]);}})['catch'](function(_0x1ff2dd){logger[_0x7545('0x23')]('ZendeskAccount,\x20%s,\x20%s',_0x32b06c,_0x1ff2dd);_0x5dba27(_0x1ff2dd);});});}function respondWithStatusCode(_0x38217a,_0x197dcf){_0x197dcf=_0x197dcf||0xcc;return function(_0x4790cc){if(_0x4790cc){return _0x38217a[_0x7545('0x27')](_0x197dcf);}return _0x38217a[_0x7545('0x28')](_0x197dcf)[_0x7545('0x29')]();};}function respondWithResult(_0x4e550a,_0x2ca683){_0x2ca683=_0x2ca683||0xc8;return function(_0x2aaf88){if(_0x2aaf88){return _0x4e550a[_0x7545('0x28')](_0x2ca683)['json'](_0x2aaf88);}};}function respondWithFilteredResult(_0x6d81e3,_0x1cb792){return function(_0x38564d){if(_0x38564d){var _0x5115da=_0x38564d[_0x7545('0x2a')],_0x2c0049=_0x1cb792[_0x7545('0x2b')],_0x32baf5=_0x1cb792['offset']+_0x1cb792['limit'],_0x285ecd;if(_0x32baf5>=_0x5115da){_0x32baf5=_0x5115da;_0x285ecd=0xc8;}else{_0x285ecd=0xce;}_0x6d81e3[_0x7545('0x28')](_0x285ecd);return _0x6d81e3[_0x7545('0x2c')]('Content-Range',_0x2c0049+'-'+_0x32baf5+'/'+_0x5115da)[_0x7545('0x2d')](_0x38564d);}return null;};}function patchUpdates(_0x2f2ab4){return function(_0x1684bd){try{jsonpatch[_0x7545('0x2e')](_0x1684bd,_0x2f2ab4,!![]);}catch(_0x3b555d){return BPromise['reject'](_0x3b555d);}return _0x1684bd[_0x7545('0x2f')]();};}function saveUpdates(_0x253a21,_0x2be926){return function(_0x8509c9){if(_0x8509c9){return _0x8509c9[_0x7545('0x30')](_0x253a21)[_0x7545('0x31')](function(_0x4f25c5){return _0x4f25c5;});}return null;};}function removeEntity(_0x35900c,_0x290f06){return function(_0x18e658){if(_0x18e658){return _0x18e658['destroy']()[_0x7545('0x31')](function(){_0x35900c[_0x7545('0x28')](0xcc)[_0x7545('0x29')]();});}};}function handleEntityNotFound(_0x602dac,_0x5a8440){return function(_0x3c44ef){if(!_0x3c44ef){_0x602dac[_0x7545('0x27')](0x194);}return _0x3c44ef;};}function handleError(_0xb028bc,_0x147d7f){_0x147d7f=_0x147d7f||0x1f4;return function(_0x275883){logger[_0x7545('0x23')](_0x275883[_0x7545('0x32')]);if(_0x275883['name']){delete _0x275883[_0x7545('0x33')];}_0xb028bc['status'](_0x147d7f)[_0x7545('0x34')](_0x275883);};}exports[_0x7545('0x35')]=function(_0x4bdf29,_0x1935da){var _0x3ddc13={},_0x16f562={},_0x1ba1ee={'count':0x0,'rows':[]};var _0x5850ca=_['map'](db['ZendeskAccount'][_0x7545('0x36')],function(_0x2bd63e){return{'name':_0x2bd63e['fieldName'],'type':_0x2bd63e[_0x7545('0x37')][_0x7545('0x38')]};});_0x16f562[_0x7545('0x39')]=_[_0x7545('0x3a')](_0x5850ca,_0x7545('0x33'));_0x16f562['query']=_[_0x7545('0x3b')](_0x4bdf29[_0x7545('0x3c')]);_0x16f562[_0x7545('0x3d')]=_[_0x7545('0x3e')](_0x16f562['model'],_0x16f562[_0x7545('0x3c')]);_0x3ddc13['attributes']=_[_0x7545('0x3e')](_0x16f562[_0x7545('0x39')],qs[_0x7545('0x3f')](_0x4bdf29[_0x7545('0x3c')][_0x7545('0x3f')]));_0x3ddc13[_0x7545('0x40')]=_0x3ddc13[_0x7545('0x40')][_0x7545('0x41')]?_0x3ddc13['attributes']:_0x16f562[_0x7545('0x39')];if(!_0x4bdf29[_0x7545('0x3c')][_0x7545('0x42')](_0x7545('0x43'))){_0x3ddc13[_0x7545('0x44')]=qs[_0x7545('0x44')](_0x4bdf29['query'][_0x7545('0x44')]);_0x3ddc13['offset']=qs[_0x7545('0x2b')](_0x4bdf29['query'][_0x7545('0x2b')]);}_0x3ddc13[_0x7545('0x45')]=qs[_0x7545('0x46')](_0x4bdf29['query'][_0x7545('0x46')]);_0x3ddc13['where']=qs[_0x7545('0x3d')](_[_0x7545('0x47')](_0x4bdf29[_0x7545('0x3c')],_0x16f562[_0x7545('0x3d')]),_0x5850ca);if(_0x4bdf29['query'][_0x7545('0x48')]){_0x3ddc13[_0x7545('0x49')]=_[_0x7545('0x4a')](_0x3ddc13[_0x7545('0x49')],{'$or':_[_0x7545('0x3a')](_0x5850ca,function(_0x407544){if(_0x407544[_0x7545('0x37')]!==_0x7545('0x4b')){var _0x2ff964={};_0x2ff964[_0x407544[_0x7545('0x33')]]={'$like':'%'+_0x4bdf29[_0x7545('0x3c')][_0x7545('0x48')]+'%'};return _0x2ff964;}})});}_0x3ddc13=_[_0x7545('0x4a')]({},_0x3ddc13,_0x4bdf29[_0x7545('0x4c')]);var _0x46ceed={'where':_0x3ddc13[_0x7545('0x49')]};return db[_0x7545('0x4d')][_0x7545('0x2a')](_0x46ceed)[_0x7545('0x31')](function(_0x3b7e67){_0x1ba1ee[_0x7545('0x2a')]=_0x3b7e67;if(_0x4bdf29['query'][_0x7545('0x4e')]){_0x3ddc13[_0x7545('0x4f')]=[{'all':!![]}];}return db['ZendeskAccount'][_0x7545('0x50')](_0x3ddc13);})[_0x7545('0x31')](function(_0x36ab68){_0x1ba1ee[_0x7545('0x51')]=_0x36ab68;return _0x1ba1ee;})['then'](respondWithFilteredResult(_0x1935da,_0x3ddc13))['catch'](handleError(_0x1935da,null));};exports['show']=function(_0x47ac5d,_0x27075e){var _0x1444ba={'raw':![],'where':{'id':_0x47ac5d['params']['id']}},_0xab77f6={};_0xab77f6['model']=_[_0x7545('0x3b')](db[_0x7545('0x4d')][_0x7545('0x36')]);_0xab77f6[_0x7545('0x3c')]=_[_0x7545('0x3b')](_0x47ac5d[_0x7545('0x3c')]);_0xab77f6[_0x7545('0x3d')]=_[_0x7545('0x3e')](_0xab77f6[_0x7545('0x39')],_0xab77f6[_0x7545('0x3c')]);_0x1444ba[_0x7545('0x40')]=_['intersection'](_0xab77f6['model'],qs[_0x7545('0x3f')](_0x47ac5d[_0x7545('0x3c')][_0x7545('0x3f')]));_0x1444ba[_0x7545('0x40')]=_0x1444ba['attributes']['length']?_0x1444ba[_0x7545('0x40')]:_0xab77f6['model'];if(_0x47ac5d['query'][_0x7545('0x4e')]){_0x1444ba['include']=[{'all':!![]}];}_0x1444ba=_[_0x7545('0x4a')]({},_0x1444ba,_0x47ac5d[_0x7545('0x4c')]);return db[_0x7545('0x4d')][_0x7545('0x52')](_0x1444ba)[_0x7545('0x31')](handleEntityNotFound(_0x27075e,null))[_0x7545('0x31')](respondWithResult(_0x27075e,null))[_0x7545('0x53')](handleError(_0x27075e,null));};exports[_0x7545('0x54')]=function(_0x1dce6d,_0x323977){return db[_0x7545('0x4d')][_0x7545('0x54')](_0x1dce6d['body'],{})['then'](respondWithResult(_0x323977,0xc9))[_0x7545('0x53')](handleError(_0x323977,null));};exports[_0x7545('0x30')]=function(_0x364912,_0x3e8722){if(_0x364912[_0x7545('0x55')]['id']){delete _0x364912[_0x7545('0x55')]['id'];}return db['ZendeskAccount']['find']({'where':{'id':_0x364912[_0x7545('0x56')]['id']}})['then'](handleEntityNotFound(_0x3e8722,null))[_0x7545('0x31')](saveUpdates(_0x364912[_0x7545('0x55')],null))[_0x7545('0x31')](respondWithResult(_0x3e8722,null))['catch'](handleError(_0x3e8722,null));};exports[_0x7545('0x57')]=function(_0x82f0de,_0x5ba82c){return db['ZendeskAccount'][_0x7545('0x52')]({'where':{'id':_0x82f0de[_0x7545('0x56')]['id']}})[_0x7545('0x31')](handleEntityNotFound(_0x5ba82c,null))[_0x7545('0x31')](removeEntity(_0x5ba82c,null))[_0x7545('0x53')](handleError(_0x5ba82c,null));};exports[_0x7545('0x58')]=function(_0x32d445,_0x34583b,_0x5c1926){var _0x11b6a4={};var _0x559f8e={};var _0x4f5a15;var _0x3cbfc2;return db['ZendeskAccount'][_0x7545('0x59')]({'where':{'id':_0x32d445[_0x7545('0x56')]['id']}})[_0x7545('0x31')](handleEntityNotFound(_0x34583b,null))[_0x7545('0x31')](function(_0x1300e1){if(_0x1300e1){_0x4f5a15=_0x1300e1;_0x559f8e[_0x7545('0x39')]=_[_0x7545('0x3b')](db[_0x7545('0x5a')][_0x7545('0x36')]);_0x559f8e[_0x7545('0x3c')]=_[_0x7545('0x3b')](_0x32d445[_0x7545('0x3c')]);_0x559f8e[_0x7545('0x3d')]=_[_0x7545('0x3e')](_0x559f8e[_0x7545('0x39')],_0x559f8e['query']);_0x11b6a4['attributes']=_[_0x7545('0x3e')](_0x559f8e[_0x7545('0x39')],qs['fields'](_0x32d445[_0x7545('0x3c')]['fields']));_0x11b6a4[_0x7545('0x40')]=_0x11b6a4[_0x7545('0x40')][_0x7545('0x41')]?_0x11b6a4[_0x7545('0x40')]:_0x559f8e[_0x7545('0x39')];_0x11b6a4[_0x7545('0x45')]=qs[_0x7545('0x46')](_0x32d445['query'][_0x7545('0x46')]);_0x11b6a4[_0x7545('0x49')]=qs[_0x7545('0x3d')](_['pick'](_0x32d445[_0x7545('0x3c')],_0x559f8e[_0x7545('0x3d')]));if(_0x32d445['query'][_0x7545('0x48')]){_0x11b6a4[_0x7545('0x49')]=_[_0x7545('0x4a')](_0x11b6a4[_0x7545('0x49')],{'$or':_[_0x7545('0x3a')](_0x11b6a4[_0x7545('0x40')],function(_0x76325){var _0xc9863e={};_0xc9863e[_0x76325]={'$like':'%'+_0x32d445[_0x7545('0x3c')]['filter']+'%'};return _0xc9863e;})});}_0x11b6a4=_['merge']({},_0x11b6a4,_0x32d445[_0x7545('0x4c')]);return _0x4f5a15[_0x7545('0x58')](_0x11b6a4);}})[_0x7545('0x31')](function(_0x4b2818){if(_0x4b2818){_0x3cbfc2=_0x4b2818[_0x7545('0x41')];if(!_0x32d445['query'][_0x7545('0x42')]('nolimit')){_0x11b6a4[_0x7545('0x44')]=qs[_0x7545('0x44')](_0x32d445[_0x7545('0x3c')][_0x7545('0x44')]);_0x11b6a4[_0x7545('0x2b')]=qs[_0x7545('0x2b')](_0x32d445[_0x7545('0x3c')][_0x7545('0x2b')]);}return _0x4f5a15[_0x7545('0x58')](_0x11b6a4);}})[_0x7545('0x31')](function(_0x472d52){if(_0x472d52){return _0x472d52?{'count':_0x3cbfc2,'rows':_0x472d52}:null;}})['then'](respondWithResult(_0x34583b,null))[_0x7545('0x53')](handleError(_0x34583b,null));};exports[_0x7545('0x5b')]=function(_0x6bde3b,_0x70b70c,_0x3521fa){if(_0x6bde3b[_0x7545('0x55')]['id']){delete _0x6bde3b[_0x7545('0x55')]['id'];}return db[_0x7545('0x4d')][_0x7545('0x59')]({'where':{'id':_0x6bde3b[_0x7545('0x56')]['id']}})[_0x7545('0x31')](handleEntityNotFound(_0x70b70c,null))[_0x7545('0x31')](function(_0x4f56be){if(_0x4f56be){_0x6bde3b[_0x7545('0x55')][_0x7545('0x5c')]=_0x4f56be['id'];_0x6bde3b[_0x7545('0x55')][_0x7545('0x5d')]=integrations['getSubjects'](_0x6bde3b[_0x7545('0x55')][_0x7545('0x5e')],_0x6bde3b[_0x7545('0x55')][_0x7545('0x37')]);_0x6bde3b[_0x7545('0x55')]['Descriptions']=integrations[_0x7545('0x5f')](_0x6bde3b[_0x7545('0x55')][_0x7545('0x5e')],_0x6bde3b[_0x7545('0x55')][_0x7545('0x37')]);return db[_0x7545('0x5a')][_0x7545('0x54')](_0x6bde3b[_0x7545('0x55')],{'include':[{'model':db[_0x7545('0x60')],'as':'Subjects'},{'model':db[_0x7545('0x60')],'as':_0x7545('0x61')}]});}return null;})[_0x7545('0x31')](respondWithResult(_0x70b70c,null))[_0x7545('0x53')](handleError(_0x70b70c,null));};exports[_0x7545('0x62')]=function(_0x365285,_0x71128b,_0xbda21a){var _0x470edf='';return db['ZendeskAccount'][_0x7545('0x59')]({'where':{'id':_0x365285['params']['id']},'attributes':['id','username',_0x7545('0x63'),_0x7545('0x64'),_0x7545('0x65'),_0x7545('0x66')]})[_0x7545('0x31')](handleEntityNotFound(_0x71128b,null))[_0x7545('0x31')](function(_0x5c927f){if(_0x5c927f){_0x470edf=_0x5c927f[_0x7545('0x66')];var _0x3b08b4=_0x470edf[_0x7545('0x67')](-0x1);if(_0x3b08b4==='/'){_0x470edf=_0x470edf[_0x7545('0x68')](0x0,_0x470edf[_0x7545('0x69')](_0x3b08b4));}var _0x566e58={'method':_0x7545('0x6a'),'uri':util[_0x7545('0x6b')](_0x7545('0x6c'),_0x470edf,'ticket_fields'),'json':!![]};switch(_0x5c927f[_0x7545('0x65')]){case _0x7545('0x63'):_0x566e58[_0x7545('0x6d')]={'Authorization':util[_0x7545('0x6b')](_0x7545('0x6e'),new Buffer(util[_0x7545('0x6b')]('%s:%s',_0x5c927f[_0x7545('0x6f')],_0x5c927f[_0x7545('0x63')]))[_0x7545('0x70')](_0x7545('0x71')))};break;case _0x7545('0x64'):_0x566e58[_0x7545('0x6d')]={'Authorization':util[_0x7545('0x6b')](_0x7545('0x6e'),new Buffer(util[_0x7545('0x6b')](_0x7545('0x72'),_0x5c927f['username'],_0x5c927f[_0x7545('0x64')]))[_0x7545('0x70')](_0x7545('0x71')))};break;default:throw new db[(_0x7545('0x1a'))][(_0x7545('0x1b'))]('Unknown\x20authentication\x20type');}return rp(_0x566e58);}})['then'](function(_0xb18c87){if(_0xb18c87){var _0x30365c=['subject',_0x7545('0x73'),_0x7545('0x74'),_0x7545('0x75')];_[_0x7545('0x76')](_0xb18c87[_0x7545('0x77')],function(_0x1eb26b){return _0x30365c['includes'](_0x1eb26b[_0x7545('0x37')]);});return{'count':_0xb18c87[_0x7545('0x77')][_0x7545('0x41')],'rows':_[_0x7545('0x3a')](_0xb18c87[_0x7545('0x77')],function(_0x3f1039){return{'id':_0x3f1039['id'],'name':_0x3f1039['position']>0x7?_0x3f1039[_0x7545('0x78')]:_0x3f1039[_0x7545('0x37')],'custom':_0x3f1039[_0x7545('0x79')]>0x7?!![]:![],'options':_0x3f1039[_0x7545('0x7a')]?_0x3f1039[_0x7545('0x7a')]:_0x3f1039[_0x7545('0x7b')]?_0x3f1039[_0x7545('0x7b')]:[]};})};}})['then'](respondWithResult(_0x71128b,null))[_0x7545('0x53')](function(_0x573db7){var _0x54fbf0=_0x365285['query'][_0x7545('0x7c')]?0x1f4:_0x573db7[_0x7545('0x7d')]||0x1f4;logger['error'](_0x7545('0x7e'),'getFields',_0x54fbf0,JSON[_0x7545('0x7f')](_0x573db7));delete _0x573db7[_0x7545('0x33')];if(_0x54fbf0===0x191){_0x54fbf0=0x190;}_0x71128b[_0x7545('0x28')](_0x54fbf0)[_0x7545('0x34')](_0x365285['query'][_0x7545('0x7c')]?{'message':_0x7545('0x80'),'statusCode':_0x573db7['statusCode']}:_0x573db7);});}; \ No newline at end of file diff --git a/server/api/intZendeskAccount/intZendeskAccount.model.js b/server/api/intZendeskAccount/intZendeskAccount.model.js index 122e746..388d5a4 100644 --- a/server/api/intZendeskAccount/intZendeskAccount.model.js +++ b/server/api/intZendeskAccount/intZendeskAccount.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xabd2=['../../config/environment','./intZendeskAccount.attributes','exports','define','ZendeskAccount','int_zendesk_accounts','lodash','../../config/logger','api','moment','request-promise','path','rimraf'];(function(_0x19950b,_0x53d0d7){var _0x3c6b41=function(_0x3924ad){while(--_0x3924ad){_0x19950b['push'](_0x19950b['shift']());}};_0x3c6b41(++_0x53d0d7);}(_0xabd2,0x17f));var _0x2abd=function(_0x258aa2,_0x127cff){_0x258aa2=_0x258aa2-0x0;var _0x451d4d=_0xabd2[_0x258aa2];return _0x451d4d;};'use strict';var _=require(_0x2abd('0x0'));var util=require('util');var logger=require(_0x2abd('0x1'))(_0x2abd('0x2'));var moment=require(_0x2abd('0x3'));var BPromise=require('bluebird');var rp=require(_0x2abd('0x4'));var fs=require('fs');var path=require(_0x2abd('0x5'));var rimraf=require(_0x2abd('0x6'));var config=require(_0x2abd('0x7'));var attributes=require(_0x2abd('0x8'));var integrations=require('../../components/integrations/configuration');module[_0x2abd('0x9')]=function(_0x4a8870,_0x43bbd0){return _0x4a8870[_0x2abd('0xa')](_0x2abd('0xb'),attributes,{'tableName':_0x2abd('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0x01d9=['lodash','bluebird','request-promise','path','rimraf','./intZendeskAccount.attributes','../../components/integrations/configuration','exports','ZendeskAccount','int_zendesk_accounts'];(function(_0x5bd426,_0x4878e5){var _0x23a7eb=function(_0x594b42){while(--_0x594b42){_0x5bd426['push'](_0x5bd426['shift']());}};_0x23a7eb(++_0x4878e5);}(_0x01d9,0x172));var _0x901d=function(_0x20a584,_0xe384a5){_0x20a584=_0x20a584-0x0;var _0x4b41a8=_0x01d9[_0x20a584];return _0x4b41a8;};'use strict';var _=require(_0x901d('0x0'));var util=require('util');var logger=require('../../config/logger')('api');var moment=require('moment');var BPromise=require(_0x901d('0x1'));var rp=require(_0x901d('0x2'));var fs=require('fs');var path=require(_0x901d('0x3'));var rimraf=require(_0x901d('0x4'));var config=require('../../config/environment');var attributes=require(_0x901d('0x5'));var integrations=require(_0x901d('0x6'));module[_0x901d('0x7')]=function(_0x460b3f,_0x16da7e){return _0x460b3f['define'](_0x901d('0x8'),attributes,{'tableName':_0x901d('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/intZendeskAccount/intZendeskAccount.rpc.js b/server/api/intZendeskAccount/intZendeskAccount.rpc.js index 89d4d27..a17a611 100644 --- a/server/api/intZendeskAccount/intZendeskAccount.rpc.js +++ b/server/api/intZendeskAccount/intZendeskAccount.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xd8b0=['raw','where','include','map','model','attributes','ShowZendeskAccount','find','lodash','util','ioredis','../../mysqldb','../../config/utils','../../config/logger','rpc','client','http','request','then','info','ZendeskAccount,\x20%s,\x20%s','request\x20sent','debug','ZendeskAccount,\x20%s,\x20%s,\x20%s','stringify','error','code','message','result','catch','GetZendeskAccount','ZendeskAccount','options'];(function(_0x289893,_0x396041){var _0x153687=function(_0x522ff8){while(--_0x522ff8){_0x289893['push'](_0x289893['shift']());}};_0x153687(++_0x396041);}(_0xd8b0,0xad));var _0x0d8b=function(_0xa464c9,_0x7c86d8){_0xa464c9=_0xa464c9-0x0;var _0x3d73c4=_0xd8b0[_0xa464c9];return _0x3d73c4;};'use strict';var _=require(_0x0d8b('0x0'));var util=require(_0x0d8b('0x1'));var moment=require('moment');var BPromise=require('bluebird');var rs=require('randomstring');var fs=require('fs');var Redis=require(_0x0d8b('0x2'));var db=require(_0x0d8b('0x3'))['db'];var utils=require(_0x0d8b('0x4'));var logger=require(_0x0d8b('0x5'))(_0x0d8b('0x6'));var config=require('../../config/environment');var jayson=require('jayson/promise');var client=jayson[_0x0d8b('0x7')][_0x0d8b('0x8')]({'port':0x232a});function respondWithRpcPromise(_0x39f43a,_0x4a4470,_0x413284){return new BPromise(function(_0x284169,_0x58e4e2){return client[_0x0d8b('0x9')](_0x39f43a,_0x413284)[_0x0d8b('0xa')](function(_0x3b027f){logger[_0x0d8b('0xb')](_0x0d8b('0xc'),_0x4a4470,_0x0d8b('0xd'));logger[_0x0d8b('0xe')](_0x0d8b('0xf'),_0x4a4470,'request\x20sent',JSON[_0x0d8b('0x10')](_0x3b027f));if(_0x3b027f['error']){if(_0x3b027f[_0x0d8b('0x11')][_0x0d8b('0x12')]===0x1f4){logger[_0x0d8b('0x11')](_0x0d8b('0xc'),_0x4a4470,_0x3b027f[_0x0d8b('0x11')][_0x0d8b('0x13')]);return _0x58e4e2(_0x3b027f[_0x0d8b('0x11')][_0x0d8b('0x13')]);}logger[_0x0d8b('0x11')](_0x0d8b('0xc'),_0x4a4470,_0x3b027f[_0x0d8b('0x11')][_0x0d8b('0x13')]);return _0x284169(_0x3b027f[_0x0d8b('0x11')][_0x0d8b('0x13')]);}else{logger['info'](_0x0d8b('0xc'),_0x4a4470,_0x0d8b('0xd'));_0x284169(_0x3b027f[_0x0d8b('0x14')][_0x0d8b('0x13')]);}})[_0x0d8b('0x15')](function(_0x5cd485){logger[_0x0d8b('0x11')](_0x0d8b('0xc'),_0x4a4470,_0x5cd485);_0x58e4e2(_0x5cd485);});});}exports[_0x0d8b('0x16')]=function(_0x5fecbd){var _0x333674=this;return new Promise(function(_0x18dd2d,_0x264b39){return db[_0x0d8b('0x17')]['findAll']({'raw':_0x5fecbd[_0x0d8b('0x18')]?_0x5fecbd[_0x0d8b('0x18')][_0x0d8b('0x19')]===undefined?!![]:![]:!![],'where':_0x5fecbd[_0x0d8b('0x18')]?_0x5fecbd[_0x0d8b('0x18')][_0x0d8b('0x1a')]||null:null,'attributes':_0x5fecbd[_0x0d8b('0x18')]?_0x5fecbd[_0x0d8b('0x18')]['attributes']||null:null,'limit':_0x5fecbd['options']?_0x5fecbd[_0x0d8b('0x18')]['limit']||null:null,'include':_0x5fecbd['options']?_0x5fecbd['options'][_0x0d8b('0x1b')]?_[_0x0d8b('0x1c')](_0x5fecbd[_0x0d8b('0x18')][_0x0d8b('0x1b')],function(_0x221071){return{'model':db[_0x221071[_0x0d8b('0x1d')]],'as':_0x221071['as'],'attributes':_0x221071[_0x0d8b('0x1e')],'include':_0x221071[_0x0d8b('0x1b')]?_[_0x0d8b('0x1c')](_0x221071['include'],function(_0xe8bbee){return{'model':db[_0xe8bbee[_0x0d8b('0x1d')]],'as':_0xe8bbee['as'],'attributes':_0xe8bbee['attributes'],'include':_0xe8bbee[_0x0d8b('0x1b')]?_['map'](_0xe8bbee[_0x0d8b('0x1b')],function(_0x234bdd){return{'model':db[_0x234bdd[_0x0d8b('0x1d')]],'as':_0x234bdd['as'],'attributes':_0x234bdd['attributes']};}):[]};}):[]};}):[]:[]})['then'](function(_0x28f639){logger[_0x0d8b('0xb')]('GetZendeskAccount',_0x5fecbd);logger[_0x0d8b('0xe')]('GetZendeskAccount',_0x5fecbd,JSON[_0x0d8b('0x10')](_0x28f639));_0x18dd2d(_0x28f639);})['catch'](function(_0x97050a){logger['error'](_0x0d8b('0x16'),_0x97050a['message'],_0x5fecbd);_0x264b39(_0x333674[_0x0d8b('0x11')](0x1f4,_0x97050a['message']));});});};exports[_0x0d8b('0x1f')]=function(_0x106e4c){var _0x2c058d=this;return new Promise(function(_0x56120a,_0x4c80a2){return db['ZendeskAccount'][_0x0d8b('0x20')]({'raw':_0x106e4c['options']?_0x106e4c[_0x0d8b('0x18')]['raw']===undefined?!![]:![]:!![],'where':_0x106e4c['options']?_0x106e4c[_0x0d8b('0x18')][_0x0d8b('0x1a')]||null:null,'attributes':_0x106e4c[_0x0d8b('0x18')]?_0x106e4c[_0x0d8b('0x18')][_0x0d8b('0x1e')]||null:null,'include':_0x106e4c[_0x0d8b('0x18')]?_0x106e4c[_0x0d8b('0x18')][_0x0d8b('0x1b')]?_['map'](_0x106e4c[_0x0d8b('0x18')][_0x0d8b('0x1b')],function(_0x4b3ea0){return{'model':db[_0x4b3ea0[_0x0d8b('0x1d')]],'as':_0x4b3ea0['as'],'attributes':_0x4b3ea0[_0x0d8b('0x1e')],'include':_0x4b3ea0[_0x0d8b('0x1b')]?_['map'](_0x4b3ea0[_0x0d8b('0x1b')],function(_0x2c507e){return{'model':db[_0x2c507e[_0x0d8b('0x1d')]],'as':_0x2c507e['as'],'attributes':_0x2c507e[_0x0d8b('0x1e')],'include':_0x2c507e[_0x0d8b('0x1b')]?_['map'](_0x2c507e[_0x0d8b('0x1b')],function(_0x1649fc){return{'model':db[_0x1649fc['model']],'as':_0x1649fc['as'],'attributes':_0x1649fc[_0x0d8b('0x1e')]};}):[]};}):[]};}):[]:[]})[_0x0d8b('0xa')](function(_0x188af2){logger[_0x0d8b('0xb')](_0x0d8b('0x1f'),_0x106e4c);logger['debug']('ShowZendeskAccount',_0x106e4c,JSON[_0x0d8b('0x10')](_0x188af2));_0x56120a(_0x188af2);})['catch'](function(_0x531c55){logger[_0x0d8b('0x11')](_0x0d8b('0x1f'),_0x531c55[_0x0d8b('0x13')],_0x106e4c);_0x4c80a2(_0x2c058d[_0x0d8b('0x11')](0x1f4,_0x531c55[_0x0d8b('0x13')]));});});}; \ No newline at end of file +var _0x757a=['stringify','error','message','result','catch','GetZendeskAccount','ZendeskAccount','findAll','options','where','attributes','limit','include','map','model','ShowZendeskAccount','find','raw','util','moment','../../mysqldb','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','http','request','then','info','ZendeskAccount,\x20%s,\x20%s','request\x20sent','debug','ZendeskAccount,\x20%s,\x20%s,\x20%s'];(function(_0x4649ae,_0x33eadc){var _0x2be51a=function(_0x4568ee){while(--_0x4568ee){_0x4649ae['push'](_0x4649ae['shift']());}};_0x2be51a(++_0x33eadc);}(_0x757a,0xde));var _0xa757=function(_0x4c3006,_0x144436){_0x4c3006=_0x4c3006-0x0;var _0x7611bd=_0x757a[_0x4c3006];return _0x7611bd;};'use strict';var _=require('lodash');var util=require(_0xa757('0x0'));var moment=require(_0xa757('0x1'));var BPromise=require('bluebird');var rs=require('randomstring');var fs=require('fs');var Redis=require('ioredis');var db=require(_0xa757('0x2'))['db'];var utils=require(_0xa757('0x3'));var logger=require(_0xa757('0x4'))(_0xa757('0x5'));var config=require(_0xa757('0x6'));var jayson=require(_0xa757('0x7'));var client=jayson['client'][_0xa757('0x8')]({'port':0x232a});function respondWithRpcPromise(_0x4343b6,_0x53be0e,_0x2930fa){return new BPromise(function(_0x2f7793,_0x447344){return client[_0xa757('0x9')](_0x4343b6,_0x2930fa)[_0xa757('0xa')](function(_0x5aef8a){logger[_0xa757('0xb')](_0xa757('0xc'),_0x53be0e,_0xa757('0xd'));logger[_0xa757('0xe')](_0xa757('0xf'),_0x53be0e,_0xa757('0xd'),JSON[_0xa757('0x10')](_0x5aef8a));if(_0x5aef8a['error']){if(_0x5aef8a['error']['code']===0x1f4){logger['error']('ZendeskAccount,\x20%s,\x20%s',_0x53be0e,_0x5aef8a[_0xa757('0x11')]['message']);return _0x447344(_0x5aef8a['error'][_0xa757('0x12')]);}logger['error']('ZendeskAccount,\x20%s,\x20%s',_0x53be0e,_0x5aef8a[_0xa757('0x11')][_0xa757('0x12')]);return _0x2f7793(_0x5aef8a[_0xa757('0x11')][_0xa757('0x12')]);}else{logger[_0xa757('0xb')](_0xa757('0xc'),_0x53be0e,_0xa757('0xd'));_0x2f7793(_0x5aef8a[_0xa757('0x13')][_0xa757('0x12')]);}})[_0xa757('0x14')](function(_0x50aac1){logger[_0xa757('0x11')](_0xa757('0xc'),_0x53be0e,_0x50aac1);_0x447344(_0x50aac1);});});}exports[_0xa757('0x15')]=function(_0x4d9f58){var _0x54b305=this;return new Promise(function(_0x151c04,_0x468d45){return db[_0xa757('0x16')][_0xa757('0x17')]({'raw':_0x4d9f58[_0xa757('0x18')]?_0x4d9f58[_0xa757('0x18')]['raw']===undefined?!![]:![]:!![],'where':_0x4d9f58[_0xa757('0x18')]?_0x4d9f58['options'][_0xa757('0x19')]||null:null,'attributes':_0x4d9f58[_0xa757('0x18')]?_0x4d9f58[_0xa757('0x18')][_0xa757('0x1a')]||null:null,'limit':_0x4d9f58['options']?_0x4d9f58['options'][_0xa757('0x1b')]||null:null,'include':_0x4d9f58[_0xa757('0x18')]?_0x4d9f58[_0xa757('0x18')][_0xa757('0x1c')]?_[_0xa757('0x1d')](_0x4d9f58[_0xa757('0x18')][_0xa757('0x1c')],function(_0x21f1af){return{'model':db[_0x21f1af[_0xa757('0x1e')]],'as':_0x21f1af['as'],'attributes':_0x21f1af['attributes'],'include':_0x21f1af[_0xa757('0x1c')]?_['map'](_0x21f1af[_0xa757('0x1c')],function(_0x47903b){return{'model':db[_0x47903b[_0xa757('0x1e')]],'as':_0x47903b['as'],'attributes':_0x47903b[_0xa757('0x1a')],'include':_0x47903b[_0xa757('0x1c')]?_['map'](_0x47903b[_0xa757('0x1c')],function(_0xcd98bd){return{'model':db[_0xcd98bd[_0xa757('0x1e')]],'as':_0xcd98bd['as'],'attributes':_0xcd98bd[_0xa757('0x1a')]};}):[]};}):[]};}):[]:[]})['then'](function(_0x449a7d){logger['info']('GetZendeskAccount',_0x4d9f58);logger['debug']('GetZendeskAccount',_0x4d9f58,JSON[_0xa757('0x10')](_0x449a7d));_0x151c04(_0x449a7d);})['catch'](function(_0x2208f9){logger[_0xa757('0x11')]('GetZendeskAccount',_0x2208f9[_0xa757('0x12')],_0x4d9f58);_0x468d45(_0x54b305['error'](0x1f4,_0x2208f9[_0xa757('0x12')]));});});};exports[_0xa757('0x1f')]=function(_0x5307c3){var _0x235e54=this;return new Promise(function(_0x5ade7b,_0x3a4a66){return db[_0xa757('0x16')][_0xa757('0x20')]({'raw':_0x5307c3[_0xa757('0x18')]?_0x5307c3[_0xa757('0x18')][_0xa757('0x21')]===undefined?!![]:![]:!![],'where':_0x5307c3[_0xa757('0x18')]?_0x5307c3[_0xa757('0x18')][_0xa757('0x19')]||null:null,'attributes':_0x5307c3[_0xa757('0x18')]?_0x5307c3[_0xa757('0x18')][_0xa757('0x1a')]||null:null,'include':_0x5307c3[_0xa757('0x18')]?_0x5307c3[_0xa757('0x18')][_0xa757('0x1c')]?_[_0xa757('0x1d')](_0x5307c3[_0xa757('0x18')][_0xa757('0x1c')],function(_0x1eacde){return{'model':db[_0x1eacde[_0xa757('0x1e')]],'as':_0x1eacde['as'],'attributes':_0x1eacde[_0xa757('0x1a')],'include':_0x1eacde[_0xa757('0x1c')]?_[_0xa757('0x1d')](_0x1eacde[_0xa757('0x1c')],function(_0x59700d){return{'model':db[_0x59700d[_0xa757('0x1e')]],'as':_0x59700d['as'],'attributes':_0x59700d[_0xa757('0x1a')],'include':_0x59700d[_0xa757('0x1c')]?_[_0xa757('0x1d')](_0x59700d[_0xa757('0x1c')],function(_0x51e2aa){return{'model':db[_0x51e2aa[_0xa757('0x1e')]],'as':_0x51e2aa['as'],'attributes':_0x51e2aa[_0xa757('0x1a')]};}):[]};}):[]};}):[]:[]})[_0xa757('0xa')](function(_0x2c34b1){logger[_0xa757('0xb')](_0xa757('0x1f'),_0x5307c3);logger['debug'](_0xa757('0x1f'),_0x5307c3,JSON[_0xa757('0x10')](_0x2c34b1));_0x5ade7b(_0x2c34b1);})[_0xa757('0x14')](function(_0xc34409){logger[_0xa757('0x11')](_0xa757('0x1f'),_0xc34409[_0xa757('0x12')],_0x5307c3);_0x3a4a66(_0x235e54[_0xa757('0x11')](0x1f4,_0xc34409[_0xa757('0x12')]));});});}; \ No newline at end of file diff --git a/server/api/intZendeskConfiguration/index.js b/server/api/intZendeskConfiguration/index.js index ea5b73a..b7dc300 100644 --- a/server/api/intZendeskConfiguration/index.js +++ b/server/api/intZendeskConfiguration/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xa574=['/:id/descriptions','/:id/tags','getTags','post','create','setTags','update','delete','destroy','exports','util','connect-timeout','Router','../../components/interaction/service','../../config/environment','isAuthenticated','index','/:id','show','get','getFields','/:id/subjects','getSubjects'];(function(_0x4cb684,_0x5b273d){var _0x466340=function(_0x391c14){while(--_0x391c14){_0x4cb684['push'](_0x4cb684['shift']());}};_0x466340(++_0x5b273d);}(_0xa574,0x191));var _0x4a57=function(_0x4df22f,_0x3d22f5){_0x4df22f=_0x4df22f-0x0;var _0x4fc3a0=_0xa574[_0x4df22f];return _0x4fc3a0;};'use strict';var multer=require('multer');var util=require(_0x4a57('0x0'));var path=require('path');var timeout=require(_0x4a57('0x1'));var express=require('express');var router=express[_0x4a57('0x2')]();var auth=require('../../components/auth/service');var interaction=require(_0x4a57('0x3'));var config=require(_0x4a57('0x4'));var controller=require('./intZendeskConfiguration.controller');router['get']('/',auth[_0x4a57('0x5')](),controller[_0x4a57('0x6')]);router['get'](_0x4a57('0x7'),auth[_0x4a57('0x5')](),controller[_0x4a57('0x8')]);router[_0x4a57('0x9')]('/:id/fields',auth[_0x4a57('0x5')](),controller[_0x4a57('0xa')]);router[_0x4a57('0x9')](_0x4a57('0xb'),auth[_0x4a57('0x5')](),controller[_0x4a57('0xc')]);router[_0x4a57('0x9')](_0x4a57('0xd'),auth['isAuthenticated'](),controller['getDescriptions']);router[_0x4a57('0x9')](_0x4a57('0xe'),auth[_0x4a57('0x5')](),controller[_0x4a57('0xf')]);router[_0x4a57('0x10')]('/',auth[_0x4a57('0x5')](),controller[_0x4a57('0x11')]);router[_0x4a57('0x10')](_0x4a57('0xe'),auth[_0x4a57('0x5')](),controller[_0x4a57('0x12')]);router['put'](_0x4a57('0x7'),auth[_0x4a57('0x5')](),controller[_0x4a57('0x13')]);router[_0x4a57('0x14')](_0x4a57('0x7'),auth[_0x4a57('0x5')](),controller[_0x4a57('0x15')]);module[_0x4a57('0x16')]=router; \ No newline at end of file +var _0xc7c3=['index','get','show','/:id/fields','getFields','/:id/subjects','getSubjects','getDescriptions','/:id/tags','post','create','setTags','put','/:id','update','delete','destroy','exports','path','express','Router','../../components/auth/service','../../config/environment','./intZendeskConfiguration.controller','isAuthenticated'];(function(_0x31381f,_0x36442a){var _0x23199d=function(_0x1fcab7){while(--_0x1fcab7){_0x31381f['push'](_0x31381f['shift']());}};_0x23199d(++_0x36442a);}(_0xc7c3,0x1a2));var _0x3c7c=function(_0x20e765,_0x140ff7){_0x20e765=_0x20e765-0x0;var _0x29b1fb=_0xc7c3[_0x20e765];return _0x29b1fb;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x3c7c('0x0'));var timeout=require('connect-timeout');var express=require(_0x3c7c('0x1'));var router=express[_0x3c7c('0x2')]();var auth=require(_0x3c7c('0x3'));var interaction=require('../../components/interaction/service');var config=require(_0x3c7c('0x4'));var controller=require(_0x3c7c('0x5'));router['get']('/',auth[_0x3c7c('0x6')](),controller[_0x3c7c('0x7')]);router[_0x3c7c('0x8')]('/:id',auth[_0x3c7c('0x6')](),controller[_0x3c7c('0x9')]);router['get'](_0x3c7c('0xa'),auth[_0x3c7c('0x6')](),controller[_0x3c7c('0xb')]);router['get'](_0x3c7c('0xc'),auth[_0x3c7c('0x6')](),controller[_0x3c7c('0xd')]);router[_0x3c7c('0x8')]('/:id/descriptions',auth[_0x3c7c('0x6')](),controller[_0x3c7c('0xe')]);router[_0x3c7c('0x8')](_0x3c7c('0xf'),auth[_0x3c7c('0x6')](),controller['getTags']);router[_0x3c7c('0x10')]('/',auth[_0x3c7c('0x6')](),controller[_0x3c7c('0x11')]);router[_0x3c7c('0x10')](_0x3c7c('0xf'),auth[_0x3c7c('0x6')](),controller[_0x3c7c('0x12')]);router[_0x3c7c('0x13')](_0x3c7c('0x14'),auth[_0x3c7c('0x6')](),controller[_0x3c7c('0x15')]);router[_0x3c7c('0x16')](_0x3c7c('0x14'),auth[_0x3c7c('0x6')](),controller[_0x3c7c('0x17')]);module[_0x3c7c('0x18')]=router; \ No newline at end of file diff --git a/server/api/intZendeskConfiguration/intZendeskConfiguration.attributes.js b/server/api/intZendeskConfiguration/intZendeskConfiguration.attributes.js index 816f9c5..ae6d327 100644 --- a/server/api/intZendeskConfiguration/intZendeskConfiguration.attributes.js +++ b/server/api/intZendeskConfiguration/intZendeskConfiguration.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x5f43=['sequelize','exports','STRING'];(function(_0x56bc60,_0x1170d6){var _0x27b648=function(_0x214958){while(--_0x214958){_0x56bc60['push'](_0x56bc60['shift']());}};_0x27b648(++_0x1170d6);}(_0x5f43,0x174));var _0x35f4=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x5f43[_0x3dd15e];return _0x231fd0;};'use strict';var Sequelize=require(_0x35f4('0x0'));module[_0x35f4('0x1')]={'name':{'type':Sequelize[_0x35f4('0x2')]},'description':{'type':Sequelize[_0x35f4('0x2')]}}; \ No newline at end of file +var _0x8aa4=['STRING','sequelize','exports'];(function(_0x5a0f56,_0x3e139a){var _0x1b0371=function(_0x385aa3){while(--_0x385aa3){_0x5a0f56['push'](_0x5a0f56['shift']());}};_0x1b0371(++_0x3e139a);}(_0x8aa4,0x17e));var _0x48aa=function(_0x134d1d,_0x22b473){_0x134d1d=_0x134d1d-0x0;var _0x30b003=_0x8aa4[_0x134d1d];return _0x30b003;};'use strict';var Sequelize=require(_0x48aa('0x0'));module[_0x48aa('0x1')]={'name':{'type':Sequelize[_0x48aa('0x2')]},'description':{'type':Sequelize[_0x48aa('0x2')]}}; \ No newline at end of file diff --git a/server/api/intZendeskConfiguration/intZendeskConfiguration.controller.js b/server/api/intZendeskConfiguration/intZendeskConfiguration.controller.js index baf5893..f6e05f5 100644 --- a/server/api/intZendeskConfiguration/intZendeskConfiguration.controller.js +++ b/server/api/intZendeskConfiguration/intZendeskConfiguration.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x813e=['querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','http','test','Sequelize','ValidationError','then','ZendeskConfiguration,\x20%s,\x20%s','request\x20sent','debug','ZendeskConfiguration,\x20%s,\x20%s,\x20%s','stringify','error','code','message','info','result','catch','sendStatus','status','json','count','offset','limit','Content-Range','save','update','destroy','end','stack','name','map','ZendeskConfiguration','type','key','model','query','keys','intersection','attributes','fields','length','hasOwnProperty','nolimit','order','sort','where','merge','VIRTUAL','options','include','rows','show','params','filters','includeAll','find','create','body','getFields','ZendeskField','rawAttributes','filter','getSubjects','findOne','getDescriptions','Tag','pick','getTags','setTags','html-pdf','eml-format','rimraf','fast-json-patch','moment','mustache','util','path','sox','ejs','lodash','squel','crypto','jsforce','desk.js','to-csv'];(function(_0x38f1c3,_0x2c8694){var _0xe7fc92=function(_0x201d82){while(--_0x201d82){_0x38f1c3['push'](_0x38f1c3['shift']());}};_0xe7fc92(++_0x2c8694);}(_0x813e,0x16c));var _0xe813=function(_0x5af59e,_0x3771c1){_0x5af59e=_0x5af59e-0x0;var _0x4240df=_0x813e[_0x5af59e];return _0x4240df;};'use strict';var pdf=require(_0xe813('0x0'));var emlformat=require(_0xe813('0x1'));var rimraf=require(_0xe813('0x2'));var zipdir=require('zip-dir');var jsonpatch=require(_0xe813('0x3'));var rp=require('request-promise');var moment=require(_0xe813('0x4'));var BPromise=require('bluebird');var Mustache=require(_0xe813('0x5'));var util=require(_0xe813('0x6'));var path=require(_0xe813('0x7'));var sox=require(_0xe813('0x8'));var csv=require('to-csv');var ejs=require(_0xe813('0x9'));var fs=require('fs');var _=require(_0xe813('0xa'));var squel=require(_0xe813('0xb'));var crypto=require(_0xe813('0xc'));var jsforce=require(_0xe813('0xd'));var deskjs=require(_0xe813('0xe'));var toCsv=require(_0xe813('0xf'));var querystring=require(_0xe813('0x10'));var Papa=require(_0xe813('0x11'));var Redis=require(_0xe813('0x12'));var authService=require(_0xe813('0x13'));var qs=require(_0xe813('0x14'));var as=require(_0xe813('0x15'));var hardwareService=require(_0xe813('0x16'));var logger=require(_0xe813('0x17'))(_0xe813('0x18'));var utils=require(_0xe813('0x19'));var config=require(_0xe813('0x1a'));var db=require('../../mysqldb')['db'];var jayson=require('jayson/promise');var client=jayson['client'][_0xe813('0x1b')]({'port':0x232a});function checkPasswordPattern(_0x12d1c8,_0x41c06a,_0x53ffeb){if(_0x53ffeb){var _0x49edec=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0x49edec[_0xe813('0x1c')](_0x41c06a)){return _0x12d1c8;}else{throw new db[(_0xe813('0x1d'))][(_0xe813('0x1e'))]('The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.');}}else{return _0x12d1c8;}}function respondWithRpcPromise(_0x5ab598,_0x59a9a2,_0x8ea910,_0xd7ccf8){return new BPromise(function(_0x3e4dc1,_0x3cde15){var _0x2afaee=_0xd7ccf8||client;return _0x2afaee['request'](_0x5ab598,_0x8ea910)[_0xe813('0x1f')](function(_0x45bba5){logger['info'](_0xe813('0x20'),_0x59a9a2,_0xe813('0x21'));logger[_0xe813('0x22')](_0xe813('0x23'),_0x59a9a2,_0xe813('0x21'),JSON[_0xe813('0x24')](_0x45bba5));if(_0x45bba5[_0xe813('0x25')]){if(_0x45bba5[_0xe813('0x25')][_0xe813('0x26')]===0x1f4){logger[_0xe813('0x25')](_0xe813('0x20'),_0x59a9a2,_0x45bba5['error'][_0xe813('0x27')]);return _0x3cde15(_0x45bba5[_0xe813('0x25')][_0xe813('0x27')]);}logger['error']('ZendeskConfiguration,\x20%s,\x20%s',_0x59a9a2,_0x45bba5[_0xe813('0x25')][_0xe813('0x27')]);return _0x3e4dc1(_0x45bba5[_0xe813('0x25')][_0xe813('0x27')]);}else{logger[_0xe813('0x28')](_0xe813('0x20'),_0x59a9a2,_0xe813('0x21'));_0x3e4dc1(_0x45bba5[_0xe813('0x29')]['message']);}})[_0xe813('0x2a')](function(_0x544271){logger[_0xe813('0x25')](_0xe813('0x20'),_0x59a9a2,_0x544271);_0x3cde15(_0x544271);});});}function respondWithStatusCode(_0x8c2140,_0x2a12bf){_0x2a12bf=_0x2a12bf||0xcc;return function(_0x2482d6){if(_0x2482d6){return _0x8c2140[_0xe813('0x2b')](_0x2a12bf);}return _0x8c2140[_0xe813('0x2c')](_0x2a12bf)['end']();};}function respondWithResult(_0x4716e0,_0x259e71){_0x259e71=_0x259e71||0xc8;return function(_0x358dc){if(_0x358dc){return _0x4716e0[_0xe813('0x2c')](_0x259e71)[_0xe813('0x2d')](_0x358dc);}};}function respondWithFilteredResult(_0x57656a,_0x39dc59){return function(_0x5f1c96){if(_0x5f1c96){var _0xf8ba7b=_0x5f1c96[_0xe813('0x2e')],_0x58466a=_0x39dc59[_0xe813('0x2f')],_0x3a6935=_0x39dc59[_0xe813('0x2f')]+_0x39dc59[_0xe813('0x30')],_0x69a656;if(_0x3a6935>=_0xf8ba7b){_0x3a6935=_0xf8ba7b;_0x69a656=0xc8;}else{_0x69a656=0xce;}_0x57656a['status'](_0x69a656);return _0x57656a['set'](_0xe813('0x31'),_0x58466a+'-'+_0x3a6935+'/'+_0xf8ba7b)['json'](_0x5f1c96);}return null;};}function patchUpdates(_0x3cdd37){return function(_0x4da890){try{jsonpatch['apply'](_0x4da890,_0x3cdd37,!![]);}catch(_0x3c34f4){return BPromise['reject'](_0x3c34f4);}return _0x4da890[_0xe813('0x32')]();};}function saveUpdates(_0x11b104,_0x34140){return function(_0x4c9099){if(_0x4c9099){return _0x4c9099[_0xe813('0x33')](_0x11b104)[_0xe813('0x1f')](function(_0x3f534b){return _0x3f534b;});}return null;};}function removeEntity(_0x25f3ee,_0x318175){return function(_0x3f2d45){if(_0x3f2d45){return _0x3f2d45[_0xe813('0x34')]()['then'](function(){_0x25f3ee[_0xe813('0x2c')](0xcc)[_0xe813('0x35')]();});}};}function handleEntityNotFound(_0x21080a,_0x3c48e){return function(_0x45a5c3){if(!_0x45a5c3){_0x21080a['sendStatus'](0x194);}return _0x45a5c3;};}function handleError(_0x466736,_0x5cd471){_0x5cd471=_0x5cd471||0x1f4;return function(_0x107f49){logger[_0xe813('0x25')](_0x107f49[_0xe813('0x36')]);if(_0x107f49['name']){delete _0x107f49[_0xe813('0x37')];}_0x466736['status'](_0x5cd471)['send'](_0x107f49);};}exports['index']=function(_0x551682,_0x2431fc){var _0x3ed796={},_0x359f40={},_0x5989b5={'count':0x0,'rows':[]};var _0x1efa10=_[_0xe813('0x38')](db[_0xe813('0x39')]['rawAttributes'],function(_0x4b807b){return{'name':_0x4b807b['fieldName'],'type':_0x4b807b[_0xe813('0x3a')][_0xe813('0x3b')]};});_0x359f40[_0xe813('0x3c')]=_[_0xe813('0x38')](_0x1efa10,_0xe813('0x37'));_0x359f40[_0xe813('0x3d')]=_[_0xe813('0x3e')](_0x551682['query']);_0x359f40['filters']=_[_0xe813('0x3f')](_0x359f40['model'],_0x359f40[_0xe813('0x3d')]);_0x3ed796[_0xe813('0x40')]=_['intersection'](_0x359f40[_0xe813('0x3c')],qs[_0xe813('0x41')](_0x551682[_0xe813('0x3d')]['fields']));_0x3ed796['attributes']=_0x3ed796[_0xe813('0x40')][_0xe813('0x42')]?_0x3ed796[_0xe813('0x40')]:_0x359f40['model'];if(!_0x551682[_0xe813('0x3d')][_0xe813('0x43')](_0xe813('0x44'))){_0x3ed796[_0xe813('0x30')]=qs['limit'](_0x551682[_0xe813('0x3d')][_0xe813('0x30')]);_0x3ed796[_0xe813('0x2f')]=qs[_0xe813('0x2f')](_0x551682[_0xe813('0x3d')][_0xe813('0x2f')]);}_0x3ed796[_0xe813('0x45')]=qs[_0xe813('0x46')](_0x551682[_0xe813('0x3d')][_0xe813('0x46')]);_0x3ed796[_0xe813('0x47')]=qs['filters'](_['pick'](_0x551682[_0xe813('0x3d')],_0x359f40['filters']),_0x1efa10);if(_0x551682[_0xe813('0x3d')]['filter']){_0x3ed796[_0xe813('0x47')]=_[_0xe813('0x48')](_0x3ed796['where'],{'$or':_[_0xe813('0x38')](_0x1efa10,function(_0x55813e){if(_0x55813e[_0xe813('0x3a')]!==_0xe813('0x49')){var _0xf2bacd={};_0xf2bacd[_0x55813e['name']]={'$like':'%'+_0x551682[_0xe813('0x3d')]['filter']+'%'};return _0xf2bacd;}})});}_0x3ed796=_[_0xe813('0x48')]({},_0x3ed796,_0x551682[_0xe813('0x4a')]);var _0x17d37f={'where':_0x3ed796[_0xe813('0x47')]};return db[_0xe813('0x39')][_0xe813('0x2e')](_0x17d37f)[_0xe813('0x1f')](function(_0x1b2141){_0x5989b5['count']=_0x1b2141;if(_0x551682[_0xe813('0x3d')]['includeAll']){_0x3ed796[_0xe813('0x4b')]=[{'all':!![]}];}return db[_0xe813('0x39')]['findAll'](_0x3ed796);})['then'](function(_0x1b6012){_0x5989b5[_0xe813('0x4c')]=_0x1b6012;return _0x5989b5;})[_0xe813('0x1f')](respondWithFilteredResult(_0x2431fc,_0x3ed796))[_0xe813('0x2a')](handleError(_0x2431fc,null));};exports[_0xe813('0x4d')]=function(_0x29f9b3,_0x3a5377){var _0x2b4ea4={'raw':![],'where':{'id':_0x29f9b3[_0xe813('0x4e')]['id']}},_0x19a8e1={};_0x19a8e1[_0xe813('0x3c')]=_[_0xe813('0x3e')](db['ZendeskConfiguration']['rawAttributes']);_0x19a8e1[_0xe813('0x3d')]=_[_0xe813('0x3e')](_0x29f9b3['query']);_0x19a8e1[_0xe813('0x4f')]=_[_0xe813('0x3f')](_0x19a8e1[_0xe813('0x3c')],_0x19a8e1['query']);_0x2b4ea4[_0xe813('0x40')]=_[_0xe813('0x3f')](_0x19a8e1['model'],qs[_0xe813('0x41')](_0x29f9b3[_0xe813('0x3d')][_0xe813('0x41')]));_0x2b4ea4[_0xe813('0x40')]=_0x2b4ea4['attributes'][_0xe813('0x42')]?_0x2b4ea4[_0xe813('0x40')]:_0x19a8e1[_0xe813('0x3c')];if(_0x29f9b3['query'][_0xe813('0x50')]){_0x2b4ea4[_0xe813('0x4b')]=[{'all':!![]}];}_0x2b4ea4=_[_0xe813('0x48')]({},_0x2b4ea4,_0x29f9b3[_0xe813('0x4a')]);return db[_0xe813('0x39')][_0xe813('0x51')](_0x2b4ea4)[_0xe813('0x1f')](handleEntityNotFound(_0x3a5377,null))[_0xe813('0x1f')](respondWithResult(_0x3a5377,null))[_0xe813('0x2a')](handleError(_0x3a5377,null));};exports[_0xe813('0x52')]=function(_0x3eadff,_0xdfc98d){return db[_0xe813('0x39')]['create'](_0x3eadff[_0xe813('0x53')],{})[_0xe813('0x1f')](respondWithResult(_0xdfc98d,0xc9))[_0xe813('0x2a')](handleError(_0xdfc98d,null));};exports[_0xe813('0x33')]=function(_0x31c1c0,_0x123dba){if(_0x31c1c0['body']['id']){delete _0x31c1c0[_0xe813('0x53')]['id'];}return db[_0xe813('0x39')][_0xe813('0x51')]({'where':{'id':_0x31c1c0['params']['id']}})['then'](handleEntityNotFound(_0x123dba,null))[_0xe813('0x1f')](saveUpdates(_0x31c1c0[_0xe813('0x53')],null))[_0xe813('0x1f')](respondWithResult(_0x123dba,null))[_0xe813('0x2a')](handleError(_0x123dba,null));};exports[_0xe813('0x34')]=function(_0x1fe530,_0x5dec18){return db['ZendeskConfiguration']['find']({'where':{'id':_0x1fe530[_0xe813('0x4e')]['id']}})[_0xe813('0x1f')](handleEntityNotFound(_0x5dec18,null))[_0xe813('0x1f')](removeEntity(_0x5dec18,null))[_0xe813('0x2a')](handleError(_0x5dec18,null));};exports[_0xe813('0x54')]=function(_0x781556,_0xfa00f,_0x51edf9){var _0x34ab8d={};var _0x1f0331={};var _0x3a5adb;var _0x45e45f;return db[_0xe813('0x39')]['findOne']({'where':{'id':_0x781556[_0xe813('0x4e')]['id']}})[_0xe813('0x1f')](handleEntityNotFound(_0xfa00f,null))[_0xe813('0x1f')](function(_0x1fffa8){if(_0x1fffa8){_0x3a5adb=_0x1fffa8;_0x1f0331[_0xe813('0x3c')]=_[_0xe813('0x3e')](db[_0xe813('0x55')][_0xe813('0x56')]);_0x1f0331[_0xe813('0x3d')]=_[_0xe813('0x3e')](_0x781556[_0xe813('0x3d')]);_0x1f0331[_0xe813('0x4f')]=_['intersection'](_0x1f0331[_0xe813('0x3c')],_0x1f0331[_0xe813('0x3d')]);_0x34ab8d['attributes']=_[_0xe813('0x3f')](_0x1f0331[_0xe813('0x3c')],qs[_0xe813('0x41')](_0x781556[_0xe813('0x3d')][_0xe813('0x41')]));_0x34ab8d['attributes']=_0x34ab8d[_0xe813('0x40')][_0xe813('0x42')]?_0x34ab8d[_0xe813('0x40')]:_0x1f0331['model'];_0x34ab8d[_0xe813('0x45')]=qs[_0xe813('0x46')](_0x781556[_0xe813('0x3d')][_0xe813('0x46')]);_0x34ab8d[_0xe813('0x47')]=qs[_0xe813('0x4f')](_['pick'](_0x781556[_0xe813('0x3d')],_0x1f0331[_0xe813('0x4f')]));if(_0x781556[_0xe813('0x3d')][_0xe813('0x57')]){_0x34ab8d['where']=_[_0xe813('0x48')](_0x34ab8d[_0xe813('0x47')],{'$or':_[_0xe813('0x38')](_0x34ab8d[_0xe813('0x40')],function(_0x3808ca){var _0x8e1a20={};_0x8e1a20[_0x3808ca]={'$like':'%'+_0x781556[_0xe813('0x3d')][_0xe813('0x57')]+'%'};return _0x8e1a20;})});}_0x34ab8d=_[_0xe813('0x48')]({},_0x34ab8d,_0x781556[_0xe813('0x4a')]);return _0x3a5adb[_0xe813('0x54')](_0x34ab8d);}})[_0xe813('0x1f')](function(_0x35e319){if(_0x35e319){_0x45e45f=_0x35e319[_0xe813('0x42')];if(!_0x781556[_0xe813('0x3d')]['hasOwnProperty']('nolimit')){_0x34ab8d[_0xe813('0x30')]=qs[_0xe813('0x30')](_0x781556['query'][_0xe813('0x30')]);_0x34ab8d[_0xe813('0x2f')]=qs[_0xe813('0x2f')](_0x781556[_0xe813('0x3d')][_0xe813('0x2f')]);}return _0x3a5adb['getFields'](_0x34ab8d);}})['then'](function(_0x3eee4a){if(_0x3eee4a){return _0x3eee4a?{'count':_0x45e45f,'rows':_0x3eee4a}:null;}})[_0xe813('0x1f')](respondWithResult(_0xfa00f,null))['catch'](handleError(_0xfa00f,null));};exports[_0xe813('0x58')]=function(_0x585f7b,_0x41b4b9,_0x30cc47){var _0x47ea81={};var _0x3deea8={};var _0x490638;var _0x241375;return db[_0xe813('0x39')][_0xe813('0x59')]({'where':{'id':_0x585f7b['params']['id']}})[_0xe813('0x1f')](handleEntityNotFound(_0x41b4b9,null))[_0xe813('0x1f')](function(_0x514587){if(_0x514587){_0x490638=_0x514587;_0x3deea8['model']=_[_0xe813('0x3e')](db[_0xe813('0x55')]['rawAttributes']);_0x3deea8[_0xe813('0x3d')]=_[_0xe813('0x3e')](_0x585f7b[_0xe813('0x3d')]);_0x3deea8[_0xe813('0x4f')]=_[_0xe813('0x3f')](_0x3deea8['model'],_0x3deea8['query']);_0x47ea81[_0xe813('0x40')]=_[_0xe813('0x3f')](_0x3deea8['model'],qs['fields'](_0x585f7b[_0xe813('0x3d')][_0xe813('0x41')]));_0x47ea81['attributes']=_0x47ea81[_0xe813('0x40')][_0xe813('0x42')]?_0x47ea81[_0xe813('0x40')]:_0x3deea8[_0xe813('0x3c')];_0x47ea81[_0xe813('0x45')]=qs[_0xe813('0x46')](_0x585f7b['query']['sort']);_0x47ea81[_0xe813('0x47')]=qs[_0xe813('0x4f')](_['pick'](_0x585f7b[_0xe813('0x3d')],_0x3deea8['filters']));if(_0x585f7b[_0xe813('0x3d')][_0xe813('0x57')]){_0x47ea81[_0xe813('0x47')]=_[_0xe813('0x48')](_0x47ea81[_0xe813('0x47')],{'$or':_[_0xe813('0x38')](_0x47ea81['attributes'],function(_0x89043c){var _0x350602={};_0x350602[_0x89043c]={'$like':'%'+_0x585f7b[_0xe813('0x3d')][_0xe813('0x57')]+'%'};return _0x350602;})});}_0x47ea81=_[_0xe813('0x48')]({},_0x47ea81,_0x585f7b[_0xe813('0x4a')]);return _0x490638[_0xe813('0x58')](_0x47ea81);}})[_0xe813('0x1f')](function(_0x2ca700){if(_0x2ca700){_0x241375=_0x2ca700[_0xe813('0x42')];if(!_0x585f7b[_0xe813('0x3d')][_0xe813('0x43')](_0xe813('0x44'))){_0x47ea81[_0xe813('0x30')]=qs[_0xe813('0x30')](_0x585f7b['query'][_0xe813('0x30')]);_0x47ea81[_0xe813('0x2f')]=qs['offset'](_0x585f7b[_0xe813('0x3d')][_0xe813('0x2f')]);}return _0x490638[_0xe813('0x58')](_0x47ea81);}})[_0xe813('0x1f')](function(_0x2226ff){if(_0x2226ff){return _0x2226ff?{'count':_0x241375,'rows':_0x2226ff}:null;}})['then'](respondWithResult(_0x41b4b9,null))[_0xe813('0x2a')](handleError(_0x41b4b9,null));};exports['getDescriptions']=function(_0x19dbdb,_0x5317ce,_0x3ca2eb){var _0x152020={};var _0x19f2c2={};var _0x1025ca;var _0x4f3607;return db[_0xe813('0x39')]['findOne']({'where':{'id':_0x19dbdb[_0xe813('0x4e')]['id']}})[_0xe813('0x1f')](handleEntityNotFound(_0x5317ce,null))[_0xe813('0x1f')](function(_0x436e4c){if(_0x436e4c){_0x1025ca=_0x436e4c;_0x19f2c2[_0xe813('0x3c')]=_[_0xe813('0x3e')](db[_0xe813('0x55')][_0xe813('0x56')]);_0x19f2c2[_0xe813('0x3d')]=_[_0xe813('0x3e')](_0x19dbdb['query']);_0x19f2c2[_0xe813('0x4f')]=_['intersection'](_0x19f2c2[_0xe813('0x3c')],_0x19f2c2[_0xe813('0x3d')]);_0x152020[_0xe813('0x40')]=_[_0xe813('0x3f')](_0x19f2c2[_0xe813('0x3c')],qs[_0xe813('0x41')](_0x19dbdb[_0xe813('0x3d')][_0xe813('0x41')]));_0x152020[_0xe813('0x40')]=_0x152020[_0xe813('0x40')]['length']?_0x152020[_0xe813('0x40')]:_0x19f2c2[_0xe813('0x3c')];_0x152020[_0xe813('0x45')]=qs['sort'](_0x19dbdb[_0xe813('0x3d')][_0xe813('0x46')]);_0x152020[_0xe813('0x47')]=qs[_0xe813('0x4f')](_['pick'](_0x19dbdb[_0xe813('0x3d')],_0x19f2c2[_0xe813('0x4f')]));if(_0x19dbdb[_0xe813('0x3d')]['filter']){_0x152020[_0xe813('0x47')]=_['merge'](_0x152020[_0xe813('0x47')],{'$or':_['map'](_0x152020['attributes'],function(_0x49bc9d){var _0x41f2db={};_0x41f2db[_0x49bc9d]={'$like':'%'+_0x19dbdb[_0xe813('0x3d')][_0xe813('0x57')]+'%'};return _0x41f2db;})});}_0x152020=_[_0xe813('0x48')]({},_0x152020,_0x19dbdb['options']);return _0x1025ca[_0xe813('0x5a')](_0x152020);}})['then'](function(_0x1d4ec5){if(_0x1d4ec5){_0x4f3607=_0x1d4ec5[_0xe813('0x42')];if(!_0x19dbdb[_0xe813('0x3d')][_0xe813('0x43')](_0xe813('0x44'))){_0x152020[_0xe813('0x30')]=qs[_0xe813('0x30')](_0x19dbdb[_0xe813('0x3d')][_0xe813('0x30')]);_0x152020[_0xe813('0x2f')]=qs[_0xe813('0x2f')](_0x19dbdb[_0xe813('0x3d')][_0xe813('0x2f')]);}return _0x1025ca[_0xe813('0x5a')](_0x152020);}})[_0xe813('0x1f')](function(_0x464dec){if(_0x464dec){return _0x464dec?{'count':_0x4f3607,'rows':_0x464dec}:null;}})[_0xe813('0x1f')](respondWithResult(_0x5317ce,null))[_0xe813('0x2a')](handleError(_0x5317ce,null));};exports['getTags']=function(_0x496fab,_0x5809fe,_0x1d9d8d){var _0xc7ca4={};var _0x56032e={};var _0x557396;var _0x442a2a;return db[_0xe813('0x39')]['findOne']({'where':{'id':_0x496fab['params']['id']}})[_0xe813('0x1f')](handleEntityNotFound(_0x5809fe,null))[_0xe813('0x1f')](function(_0x5801a9){if(_0x5801a9){_0x557396=_0x5801a9;_0x56032e['model']=_[_0xe813('0x3e')](db[_0xe813('0x5b')][_0xe813('0x56')]);_0x56032e[_0xe813('0x3d')]=_[_0xe813('0x3e')](_0x496fab['query']);_0x56032e[_0xe813('0x4f')]=_[_0xe813('0x3f')](_0x56032e['model'],_0x56032e[_0xe813('0x3d')]);_0xc7ca4['attributes']=_['intersection'](_0x56032e['model'],qs[_0xe813('0x41')](_0x496fab[_0xe813('0x3d')]['fields']));_0xc7ca4['attributes']=_0xc7ca4[_0xe813('0x40')][_0xe813('0x42')]?_0xc7ca4[_0xe813('0x40')]:_0x56032e[_0xe813('0x3c')];_0xc7ca4[_0xe813('0x45')]=qs[_0xe813('0x46')](_0x496fab['query'][_0xe813('0x46')]);_0xc7ca4[_0xe813('0x47')]=qs[_0xe813('0x4f')](_[_0xe813('0x5c')](_0x496fab['query'],_0x56032e[_0xe813('0x4f')]));if(_0x496fab[_0xe813('0x3d')][_0xe813('0x57')]){_0xc7ca4[_0xe813('0x47')]=_[_0xe813('0x48')](_0xc7ca4['where'],{'$or':_[_0xe813('0x38')](_0xc7ca4['attributes'],function(_0x13be3f){var _0x2cfbed={};_0x2cfbed[_0x13be3f]={'$like':'%'+_0x496fab['query'][_0xe813('0x57')]+'%'};return _0x2cfbed;})});}_0xc7ca4=_[_0xe813('0x48')]({},_0xc7ca4,_0x496fab[_0xe813('0x4a')]);return _0x557396[_0xe813('0x5d')](_0xc7ca4);}})[_0xe813('0x1f')](function(_0x59c112){if(_0x59c112){_0x442a2a=_0x59c112[_0xe813('0x42')];if(!_0x496fab[_0xe813('0x3d')][_0xe813('0x43')]('nolimit')){_0xc7ca4['limit']=qs[_0xe813('0x30')](_0x496fab['query']['limit']);_0xc7ca4[_0xe813('0x2f')]=qs[_0xe813('0x2f')](_0x496fab[_0xe813('0x3d')]['offset']);}return _0x557396[_0xe813('0x5d')](_0xc7ca4);}})['then'](function(_0x58fc36){if(_0x58fc36){return _0x58fc36?{'count':_0x442a2a,'rows':_0x58fc36}:null;}})[_0xe813('0x1f')](respondWithResult(_0x5809fe,null))['catch'](handleError(_0x5809fe,null));};exports[_0xe813('0x5e')]=function(_0x230035,_0x30bf75,_0x2fb3cf){if(_0x230035[_0xe813('0x53')]['id']){delete _0x230035[_0xe813('0x53')]['id'];}return db['ZendeskConfiguration'][_0xe813('0x59')]({'where':{'id':_0x230035[_0xe813('0x4e')]['id']}})['then'](handleEntityNotFound(_0x30bf75,null))['then'](function(_0x5594c6){if(_0x5594c6){return _0x5594c6['setTags'](_0x230035[_0xe813('0x53')]['ids']||[]);}return null;})[_0xe813('0x1f')](respondWithResult(_0x30bf75,null))[_0xe813('0x2a')](handleError(_0x30bf75,null));}; \ No newline at end of file +var _0xf248=['json','apply','reject','save','update','destroy','name','send','map','ZendeskConfiguration','type','key','model','keys','query','intersection','attributes','fields','length','nolimit','limit','order','sort','where','filters','pick','merge','VIRTUAL','filter','options','includeAll','include','findAll','rows','catch','show','rawAttributes','find','create','body','params','getFields','ZendeskField','hasOwnProperty','getSubjects','findOne','getDescriptions','getTags','setTags','ids','html-pdf','zip-dir','request-promise','moment','bluebird','mustache','util','path','sox','to-csv','squel','crypto','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/logger','api','../../config/environment','jayson/promise','client','http','test','Sequelize','ValidationError','The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.','then','ZendeskConfiguration,\x20%s,\x20%s','request\x20sent','ZendeskConfiguration,\x20%s,\x20%s,\x20%s','error','code','message','info','result','sendStatus','status','end','count','offset','set'];(function(_0x52b92a,_0x3d474c){var _0x18dcf5=function(_0x2de91d){while(--_0x2de91d){_0x52b92a['push'](_0x52b92a['shift']());}};_0x18dcf5(++_0x3d474c);}(_0xf248,0xec));var _0x8f24=function(_0x4e2339,_0xe4dbb6){_0x4e2339=_0x4e2339-0x0;var _0x56d2d3=_0xf248[_0x4e2339];return _0x56d2d3;};'use strict';var pdf=require(_0x8f24('0x0'));var emlformat=require('eml-format');var rimraf=require('rimraf');var zipdir=require(_0x8f24('0x1'));var jsonpatch=require('fast-json-patch');var rp=require(_0x8f24('0x2'));var moment=require(_0x8f24('0x3'));var BPromise=require(_0x8f24('0x4'));var Mustache=require(_0x8f24('0x5'));var util=require(_0x8f24('0x6'));var path=require(_0x8f24('0x7'));var sox=require(_0x8f24('0x8'));var csv=require(_0x8f24('0x9'));var ejs=require('ejs');var fs=require('fs');var _=require('lodash');var squel=require(_0x8f24('0xa'));var crypto=require(_0x8f24('0xb'));var jsforce=require('jsforce');var deskjs=require('desk.js');var toCsv=require(_0x8f24('0x9'));var querystring=require(_0x8f24('0xc'));var Papa=require(_0x8f24('0xd'));var Redis=require(_0x8f24('0xe'));var authService=require(_0x8f24('0xf'));var qs=require(_0x8f24('0x10'));var as=require(_0x8f24('0x11'));var hardwareService=require('../../config/license/hardware');var logger=require(_0x8f24('0x12'))(_0x8f24('0x13'));var utils=require('../../config/utils');var config=require(_0x8f24('0x14'));var db=require('../../mysqldb')['db'];var jayson=require(_0x8f24('0x15'));var client=jayson[_0x8f24('0x16')][_0x8f24('0x17')]({'port':0x232a});function checkPasswordPattern(_0x315a82,_0x2e70dc,_0xee0f43){if(_0xee0f43){var _0x1aa8eb=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0x1aa8eb[_0x8f24('0x18')](_0x2e70dc)){return _0x315a82;}else{throw new db[(_0x8f24('0x19'))][(_0x8f24('0x1a'))](_0x8f24('0x1b'));}}else{return _0x315a82;}}function respondWithRpcPromise(_0x131b9a,_0x14f3b0,_0xdcb8ad,_0x36c5e0){return new BPromise(function(_0xa24984,_0x22e311){var _0x5f3b4b=_0x36c5e0||client;return _0x5f3b4b['request'](_0x131b9a,_0xdcb8ad)[_0x8f24('0x1c')](function(_0x1e1d28){logger['info'](_0x8f24('0x1d'),_0x14f3b0,_0x8f24('0x1e'));logger['debug'](_0x8f24('0x1f'),_0x14f3b0,_0x8f24('0x1e'),JSON['stringify'](_0x1e1d28));if(_0x1e1d28[_0x8f24('0x20')]){if(_0x1e1d28[_0x8f24('0x20')][_0x8f24('0x21')]===0x1f4){logger[_0x8f24('0x20')](_0x8f24('0x1d'),_0x14f3b0,_0x1e1d28[_0x8f24('0x20')]['message']);return _0x22e311(_0x1e1d28[_0x8f24('0x20')][_0x8f24('0x22')]);}logger['error'](_0x8f24('0x1d'),_0x14f3b0,_0x1e1d28['error'][_0x8f24('0x22')]);return _0xa24984(_0x1e1d28['error'][_0x8f24('0x22')]);}else{logger[_0x8f24('0x23')](_0x8f24('0x1d'),_0x14f3b0,'request\x20sent');_0xa24984(_0x1e1d28[_0x8f24('0x24')]['message']);}})['catch'](function(_0x50e839){logger[_0x8f24('0x20')](_0x8f24('0x1d'),_0x14f3b0,_0x50e839);_0x22e311(_0x50e839);});});}function respondWithStatusCode(_0x5e9d1d,_0x5a9b53){_0x5a9b53=_0x5a9b53||0xcc;return function(_0x5315c6){if(_0x5315c6){return _0x5e9d1d[_0x8f24('0x25')](_0x5a9b53);}return _0x5e9d1d[_0x8f24('0x26')](_0x5a9b53)[_0x8f24('0x27')]();};}function respondWithResult(_0x1f08d1,_0x2b3f52){_0x2b3f52=_0x2b3f52||0xc8;return function(_0x13a268){if(_0x13a268){return _0x1f08d1[_0x8f24('0x26')](_0x2b3f52)['json'](_0x13a268);}};}function respondWithFilteredResult(_0x4d4554,_0x1a5618){return function(_0x1b1e4b){if(_0x1b1e4b){var _0x115171=_0x1b1e4b[_0x8f24('0x28')],_0x228e8f=_0x1a5618[_0x8f24('0x29')],_0x5409a1=_0x1a5618[_0x8f24('0x29')]+_0x1a5618['limit'],_0x1033d5;if(_0x5409a1>=_0x115171){_0x5409a1=_0x115171;_0x1033d5=0xc8;}else{_0x1033d5=0xce;}_0x4d4554['status'](_0x1033d5);return _0x4d4554[_0x8f24('0x2a')]('Content-Range',_0x228e8f+'-'+_0x5409a1+'/'+_0x115171)[_0x8f24('0x2b')](_0x1b1e4b);}return null;};}function patchUpdates(_0x15764a){return function(_0x52b61e){try{jsonpatch[_0x8f24('0x2c')](_0x52b61e,_0x15764a,!![]);}catch(_0x4220f8){return BPromise[_0x8f24('0x2d')](_0x4220f8);}return _0x52b61e[_0x8f24('0x2e')]();};}function saveUpdates(_0x37e77a,_0x47065b){return function(_0x105523){if(_0x105523){return _0x105523[_0x8f24('0x2f')](_0x37e77a)[_0x8f24('0x1c')](function(_0x5ce6e6){return _0x5ce6e6;});}return null;};}function removeEntity(_0x2f39c8,_0xe36af2){return function(_0x93ee26){if(_0x93ee26){return _0x93ee26[_0x8f24('0x30')]()[_0x8f24('0x1c')](function(){_0x2f39c8[_0x8f24('0x26')](0xcc)['end']();});}};}function handleEntityNotFound(_0x24ad8c,_0x475d97){return function(_0x5753bb){if(!_0x5753bb){_0x24ad8c[_0x8f24('0x25')](0x194);}return _0x5753bb;};}function handleError(_0x28be1e,_0x4ec410){_0x4ec410=_0x4ec410||0x1f4;return function(_0x50ca49){logger[_0x8f24('0x20')](_0x50ca49['stack']);if(_0x50ca49[_0x8f24('0x31')]){delete _0x50ca49[_0x8f24('0x31')];}_0x28be1e['status'](_0x4ec410)[_0x8f24('0x32')](_0x50ca49);};}exports['index']=function(_0x954803,_0x13761b){var _0x35c649={},_0x30233b={},_0x2b9ea0={'count':0x0,'rows':[]};var _0x2eb83e=_[_0x8f24('0x33')](db[_0x8f24('0x34')]['rawAttributes'],function(_0x2ff1a0){return{'name':_0x2ff1a0['fieldName'],'type':_0x2ff1a0[_0x8f24('0x35')][_0x8f24('0x36')]};});_0x30233b[_0x8f24('0x37')]=_[_0x8f24('0x33')](_0x2eb83e,'name');_0x30233b['query']=_[_0x8f24('0x38')](_0x954803[_0x8f24('0x39')]);_0x30233b['filters']=_[_0x8f24('0x3a')](_0x30233b[_0x8f24('0x37')],_0x30233b[_0x8f24('0x39')]);_0x35c649[_0x8f24('0x3b')]=_['intersection'](_0x30233b[_0x8f24('0x37')],qs['fields'](_0x954803[_0x8f24('0x39')][_0x8f24('0x3c')]));_0x35c649[_0x8f24('0x3b')]=_0x35c649[_0x8f24('0x3b')][_0x8f24('0x3d')]?_0x35c649[_0x8f24('0x3b')]:_0x30233b[_0x8f24('0x37')];if(!_0x954803[_0x8f24('0x39')]['hasOwnProperty'](_0x8f24('0x3e'))){_0x35c649[_0x8f24('0x3f')]=qs['limit'](_0x954803[_0x8f24('0x39')][_0x8f24('0x3f')]);_0x35c649['offset']=qs['offset'](_0x954803[_0x8f24('0x39')][_0x8f24('0x29')]);}_0x35c649[_0x8f24('0x40')]=qs['sort'](_0x954803[_0x8f24('0x39')][_0x8f24('0x41')]);_0x35c649[_0x8f24('0x42')]=qs[_0x8f24('0x43')](_[_0x8f24('0x44')](_0x954803['query'],_0x30233b[_0x8f24('0x43')]),_0x2eb83e);if(_0x954803['query']['filter']){_0x35c649[_0x8f24('0x42')]=_[_0x8f24('0x45')](_0x35c649[_0x8f24('0x42')],{'$or':_[_0x8f24('0x33')](_0x2eb83e,function(_0x271a47){if(_0x271a47[_0x8f24('0x35')]!==_0x8f24('0x46')){var _0x1b20b7={};_0x1b20b7[_0x271a47['name']]={'$like':'%'+_0x954803[_0x8f24('0x39')][_0x8f24('0x47')]+'%'};return _0x1b20b7;}})});}_0x35c649=_['merge']({},_0x35c649,_0x954803[_0x8f24('0x48')]);var _0x2b232f={'where':_0x35c649[_0x8f24('0x42')]};return db['ZendeskConfiguration'][_0x8f24('0x28')](_0x2b232f)[_0x8f24('0x1c')](function(_0x2d4fde){_0x2b9ea0[_0x8f24('0x28')]=_0x2d4fde;if(_0x954803[_0x8f24('0x39')][_0x8f24('0x49')]){_0x35c649[_0x8f24('0x4a')]=[{'all':!![]}];}return db['ZendeskConfiguration'][_0x8f24('0x4b')](_0x35c649);})[_0x8f24('0x1c')](function(_0x16cf7d){_0x2b9ea0[_0x8f24('0x4c')]=_0x16cf7d;return _0x2b9ea0;})[_0x8f24('0x1c')](respondWithFilteredResult(_0x13761b,_0x35c649))[_0x8f24('0x4d')](handleError(_0x13761b,null));};exports[_0x8f24('0x4e')]=function(_0x924a8b,_0x2f3fdc){var _0x4c8339={'raw':![],'where':{'id':_0x924a8b['params']['id']}},_0xedc279={};_0xedc279[_0x8f24('0x37')]=_[_0x8f24('0x38')](db['ZendeskConfiguration'][_0x8f24('0x4f')]);_0xedc279[_0x8f24('0x39')]=_[_0x8f24('0x38')](_0x924a8b[_0x8f24('0x39')]);_0xedc279['filters']=_[_0x8f24('0x3a')](_0xedc279[_0x8f24('0x37')],_0xedc279[_0x8f24('0x39')]);_0x4c8339['attributes']=_[_0x8f24('0x3a')](_0xedc279[_0x8f24('0x37')],qs[_0x8f24('0x3c')](_0x924a8b[_0x8f24('0x39')][_0x8f24('0x3c')]));_0x4c8339[_0x8f24('0x3b')]=_0x4c8339[_0x8f24('0x3b')][_0x8f24('0x3d')]?_0x4c8339[_0x8f24('0x3b')]:_0xedc279[_0x8f24('0x37')];if(_0x924a8b[_0x8f24('0x39')][_0x8f24('0x49')]){_0x4c8339['include']=[{'all':!![]}];}_0x4c8339=_[_0x8f24('0x45')]({},_0x4c8339,_0x924a8b[_0x8f24('0x48')]);return db[_0x8f24('0x34')][_0x8f24('0x50')](_0x4c8339)[_0x8f24('0x1c')](handleEntityNotFound(_0x2f3fdc,null))['then'](respondWithResult(_0x2f3fdc,null))[_0x8f24('0x4d')](handleError(_0x2f3fdc,null));};exports['create']=function(_0x1ecde8,_0x23221b){return db[_0x8f24('0x34')][_0x8f24('0x51')](_0x1ecde8[_0x8f24('0x52')],{})[_0x8f24('0x1c')](respondWithResult(_0x23221b,0xc9))['catch'](handleError(_0x23221b,null));};exports['update']=function(_0x256099,_0x127a59){if(_0x256099[_0x8f24('0x52')]['id']){delete _0x256099[_0x8f24('0x52')]['id'];}return db[_0x8f24('0x34')][_0x8f24('0x50')]({'where':{'id':_0x256099[_0x8f24('0x53')]['id']}})[_0x8f24('0x1c')](handleEntityNotFound(_0x127a59,null))['then'](saveUpdates(_0x256099[_0x8f24('0x52')],null))[_0x8f24('0x1c')](respondWithResult(_0x127a59,null))[_0x8f24('0x4d')](handleError(_0x127a59,null));};exports[_0x8f24('0x30')]=function(_0x3c5da5,_0x451239){return db[_0x8f24('0x34')]['find']({'where':{'id':_0x3c5da5['params']['id']}})[_0x8f24('0x1c')](handleEntityNotFound(_0x451239,null))[_0x8f24('0x1c')](removeEntity(_0x451239,null))[_0x8f24('0x4d')](handleError(_0x451239,null));};exports[_0x8f24('0x54')]=function(_0xb9f57d,_0x1bfc44,_0x52be42){var _0xfb6e6d={};var _0xdd7b57={};var _0x42cbf8;var _0x400887;return db['ZendeskConfiguration']['findOne']({'where':{'id':_0xb9f57d[_0x8f24('0x53')]['id']}})[_0x8f24('0x1c')](handleEntityNotFound(_0x1bfc44,null))[_0x8f24('0x1c')](function(_0x53b9d8){if(_0x53b9d8){_0x42cbf8=_0x53b9d8;_0xdd7b57[_0x8f24('0x37')]=_[_0x8f24('0x38')](db[_0x8f24('0x55')]['rawAttributes']);_0xdd7b57[_0x8f24('0x39')]=_['keys'](_0xb9f57d[_0x8f24('0x39')]);_0xdd7b57[_0x8f24('0x43')]=_[_0x8f24('0x3a')](_0xdd7b57[_0x8f24('0x37')],_0xdd7b57[_0x8f24('0x39')]);_0xfb6e6d[_0x8f24('0x3b')]=_[_0x8f24('0x3a')](_0xdd7b57[_0x8f24('0x37')],qs[_0x8f24('0x3c')](_0xb9f57d[_0x8f24('0x39')][_0x8f24('0x3c')]));_0xfb6e6d[_0x8f24('0x3b')]=_0xfb6e6d[_0x8f24('0x3b')][_0x8f24('0x3d')]?_0xfb6e6d[_0x8f24('0x3b')]:_0xdd7b57[_0x8f24('0x37')];_0xfb6e6d[_0x8f24('0x40')]=qs[_0x8f24('0x41')](_0xb9f57d[_0x8f24('0x39')][_0x8f24('0x41')]);_0xfb6e6d[_0x8f24('0x42')]=qs['filters'](_[_0x8f24('0x44')](_0xb9f57d[_0x8f24('0x39')],_0xdd7b57[_0x8f24('0x43')]));if(_0xb9f57d['query'][_0x8f24('0x47')]){_0xfb6e6d['where']=_[_0x8f24('0x45')](_0xfb6e6d['where'],{'$or':_[_0x8f24('0x33')](_0xfb6e6d[_0x8f24('0x3b')],function(_0xd60b85){var _0x2973d3={};_0x2973d3[_0xd60b85]={'$like':'%'+_0xb9f57d[_0x8f24('0x39')]['filter']+'%'};return _0x2973d3;})});}_0xfb6e6d=_['merge']({},_0xfb6e6d,_0xb9f57d['options']);return _0x42cbf8[_0x8f24('0x54')](_0xfb6e6d);}})[_0x8f24('0x1c')](function(_0x4ae376){if(_0x4ae376){_0x400887=_0x4ae376[_0x8f24('0x3d')];if(!_0xb9f57d[_0x8f24('0x39')][_0x8f24('0x56')](_0x8f24('0x3e'))){_0xfb6e6d[_0x8f24('0x3f')]=qs[_0x8f24('0x3f')](_0xb9f57d[_0x8f24('0x39')][_0x8f24('0x3f')]);_0xfb6e6d['offset']=qs[_0x8f24('0x29')](_0xb9f57d[_0x8f24('0x39')][_0x8f24('0x29')]);}return _0x42cbf8[_0x8f24('0x54')](_0xfb6e6d);}})[_0x8f24('0x1c')](function(_0x5dcacd){if(_0x5dcacd){return _0x5dcacd?{'count':_0x400887,'rows':_0x5dcacd}:null;}})[_0x8f24('0x1c')](respondWithResult(_0x1bfc44,null))[_0x8f24('0x4d')](handleError(_0x1bfc44,null));};exports[_0x8f24('0x57')]=function(_0x2e8059,_0x7f8cdd,_0xadb1ca){var _0x27259b={};var _0xf58af1={};var _0x548c0b;var _0xba8be;return db[_0x8f24('0x34')][_0x8f24('0x58')]({'where':{'id':_0x2e8059[_0x8f24('0x53')]['id']}})['then'](handleEntityNotFound(_0x7f8cdd,null))[_0x8f24('0x1c')](function(_0x40a0d7){if(_0x40a0d7){_0x548c0b=_0x40a0d7;_0xf58af1[_0x8f24('0x37')]=_['keys'](db[_0x8f24('0x55')][_0x8f24('0x4f')]);_0xf58af1[_0x8f24('0x39')]=_['keys'](_0x2e8059[_0x8f24('0x39')]);_0xf58af1[_0x8f24('0x43')]=_[_0x8f24('0x3a')](_0xf58af1[_0x8f24('0x37')],_0xf58af1['query']);_0x27259b[_0x8f24('0x3b')]=_[_0x8f24('0x3a')](_0xf58af1[_0x8f24('0x37')],qs[_0x8f24('0x3c')](_0x2e8059['query'][_0x8f24('0x3c')]));_0x27259b[_0x8f24('0x3b')]=_0x27259b[_0x8f24('0x3b')]['length']?_0x27259b[_0x8f24('0x3b')]:_0xf58af1[_0x8f24('0x37')];_0x27259b[_0x8f24('0x40')]=qs[_0x8f24('0x41')](_0x2e8059[_0x8f24('0x39')]['sort']);_0x27259b[_0x8f24('0x42')]=qs[_0x8f24('0x43')](_[_0x8f24('0x44')](_0x2e8059[_0x8f24('0x39')],_0xf58af1[_0x8f24('0x43')]));if(_0x2e8059['query'][_0x8f24('0x47')]){_0x27259b['where']=_[_0x8f24('0x45')](_0x27259b[_0x8f24('0x42')],{'$or':_['map'](_0x27259b[_0x8f24('0x3b')],function(_0xc7fcd6){var _0x4b28be={};_0x4b28be[_0xc7fcd6]={'$like':'%'+_0x2e8059[_0x8f24('0x39')][_0x8f24('0x47')]+'%'};return _0x4b28be;})});}_0x27259b=_[_0x8f24('0x45')]({},_0x27259b,_0x2e8059[_0x8f24('0x48')]);return _0x548c0b[_0x8f24('0x57')](_0x27259b);}})[_0x8f24('0x1c')](function(_0x141353){if(_0x141353){_0xba8be=_0x141353[_0x8f24('0x3d')];if(!_0x2e8059['query']['hasOwnProperty'](_0x8f24('0x3e'))){_0x27259b['limit']=qs[_0x8f24('0x3f')](_0x2e8059[_0x8f24('0x39')][_0x8f24('0x3f')]);_0x27259b[_0x8f24('0x29')]=qs['offset'](_0x2e8059['query'][_0x8f24('0x29')]);}return _0x548c0b[_0x8f24('0x57')](_0x27259b);}})['then'](function(_0x4351e5){if(_0x4351e5){return _0x4351e5?{'count':_0xba8be,'rows':_0x4351e5}:null;}})[_0x8f24('0x1c')](respondWithResult(_0x7f8cdd,null))[_0x8f24('0x4d')](handleError(_0x7f8cdd,null));};exports[_0x8f24('0x59')]=function(_0x113207,_0x1386a0,_0x1d4e66){var _0xbcc900={};var _0x783497={};var _0x3ad8e4;var _0x68cdea;return db[_0x8f24('0x34')][_0x8f24('0x58')]({'where':{'id':_0x113207[_0x8f24('0x53')]['id']}})[_0x8f24('0x1c')](handleEntityNotFound(_0x1386a0,null))[_0x8f24('0x1c')](function(_0x59f4f7){if(_0x59f4f7){_0x3ad8e4=_0x59f4f7;_0x783497[_0x8f24('0x37')]=_['keys'](db[_0x8f24('0x55')][_0x8f24('0x4f')]);_0x783497['query']=_[_0x8f24('0x38')](_0x113207[_0x8f24('0x39')]);_0x783497[_0x8f24('0x43')]=_[_0x8f24('0x3a')](_0x783497[_0x8f24('0x37')],_0x783497[_0x8f24('0x39')]);_0xbcc900['attributes']=_[_0x8f24('0x3a')](_0x783497[_0x8f24('0x37')],qs[_0x8f24('0x3c')](_0x113207[_0x8f24('0x39')][_0x8f24('0x3c')]));_0xbcc900[_0x8f24('0x3b')]=_0xbcc900['attributes'][_0x8f24('0x3d')]?_0xbcc900[_0x8f24('0x3b')]:_0x783497[_0x8f24('0x37')];_0xbcc900[_0x8f24('0x40')]=qs[_0x8f24('0x41')](_0x113207[_0x8f24('0x39')][_0x8f24('0x41')]);_0xbcc900[_0x8f24('0x42')]=qs[_0x8f24('0x43')](_[_0x8f24('0x44')](_0x113207[_0x8f24('0x39')],_0x783497[_0x8f24('0x43')]));if(_0x113207[_0x8f24('0x39')][_0x8f24('0x47')]){_0xbcc900[_0x8f24('0x42')]=_[_0x8f24('0x45')](_0xbcc900[_0x8f24('0x42')],{'$or':_[_0x8f24('0x33')](_0xbcc900[_0x8f24('0x3b')],function(_0x592501){var _0x82f64c={};_0x82f64c[_0x592501]={'$like':'%'+_0x113207['query'][_0x8f24('0x47')]+'%'};return _0x82f64c;})});}_0xbcc900=_['merge']({},_0xbcc900,_0x113207[_0x8f24('0x48')]);return _0x3ad8e4[_0x8f24('0x59')](_0xbcc900);}})['then'](function(_0xa170b3){if(_0xa170b3){_0x68cdea=_0xa170b3[_0x8f24('0x3d')];if(!_0x113207[_0x8f24('0x39')][_0x8f24('0x56')](_0x8f24('0x3e'))){_0xbcc900[_0x8f24('0x3f')]=qs[_0x8f24('0x3f')](_0x113207['query'][_0x8f24('0x3f')]);_0xbcc900[_0x8f24('0x29')]=qs[_0x8f24('0x29')](_0x113207[_0x8f24('0x39')]['offset']);}return _0x3ad8e4[_0x8f24('0x59')](_0xbcc900);}})[_0x8f24('0x1c')](function(_0x59172e){if(_0x59172e){return _0x59172e?{'count':_0x68cdea,'rows':_0x59172e}:null;}})[_0x8f24('0x1c')](respondWithResult(_0x1386a0,null))[_0x8f24('0x4d')](handleError(_0x1386a0,null));};exports[_0x8f24('0x5a')]=function(_0xa55178,_0x5be8ce,_0x21c6b7){var _0x388aa4={};var _0x59d308={};var _0x30d420;var _0x4492ed;return db['ZendeskConfiguration']['findOne']({'where':{'id':_0xa55178[_0x8f24('0x53')]['id']}})[_0x8f24('0x1c')](handleEntityNotFound(_0x5be8ce,null))['then'](function(_0x3cbdfa){if(_0x3cbdfa){_0x30d420=_0x3cbdfa;_0x59d308[_0x8f24('0x37')]=_[_0x8f24('0x38')](db['Tag']['rawAttributes']);_0x59d308['query']=_[_0x8f24('0x38')](_0xa55178[_0x8f24('0x39')]);_0x59d308[_0x8f24('0x43')]=_[_0x8f24('0x3a')](_0x59d308[_0x8f24('0x37')],_0x59d308[_0x8f24('0x39')]);_0x388aa4[_0x8f24('0x3b')]=_[_0x8f24('0x3a')](_0x59d308[_0x8f24('0x37')],qs[_0x8f24('0x3c')](_0xa55178[_0x8f24('0x39')]['fields']));_0x388aa4[_0x8f24('0x3b')]=_0x388aa4[_0x8f24('0x3b')]['length']?_0x388aa4['attributes']:_0x59d308[_0x8f24('0x37')];_0x388aa4['order']=qs[_0x8f24('0x41')](_0xa55178[_0x8f24('0x39')][_0x8f24('0x41')]);_0x388aa4[_0x8f24('0x42')]=qs[_0x8f24('0x43')](_[_0x8f24('0x44')](_0xa55178[_0x8f24('0x39')],_0x59d308['filters']));if(_0xa55178[_0x8f24('0x39')][_0x8f24('0x47')]){_0x388aa4[_0x8f24('0x42')]=_[_0x8f24('0x45')](_0x388aa4['where'],{'$or':_[_0x8f24('0x33')](_0x388aa4[_0x8f24('0x3b')],function(_0xd4650f){var _0x551b12={};_0x551b12[_0xd4650f]={'$like':'%'+_0xa55178[_0x8f24('0x39')][_0x8f24('0x47')]+'%'};return _0x551b12;})});}_0x388aa4=_['merge']({},_0x388aa4,_0xa55178[_0x8f24('0x48')]);return _0x30d420[_0x8f24('0x5a')](_0x388aa4);}})[_0x8f24('0x1c')](function(_0x96efa0){if(_0x96efa0){_0x4492ed=_0x96efa0[_0x8f24('0x3d')];if(!_0xa55178[_0x8f24('0x39')][_0x8f24('0x56')](_0x8f24('0x3e'))){_0x388aa4['limit']=qs['limit'](_0xa55178[_0x8f24('0x39')][_0x8f24('0x3f')]);_0x388aa4['offset']=qs['offset'](_0xa55178[_0x8f24('0x39')]['offset']);}return _0x30d420[_0x8f24('0x5a')](_0x388aa4);}})[_0x8f24('0x1c')](function(_0x4d2230){if(_0x4d2230){return _0x4d2230?{'count':_0x4492ed,'rows':_0x4d2230}:null;}})[_0x8f24('0x1c')](respondWithResult(_0x5be8ce,null))[_0x8f24('0x4d')](handleError(_0x5be8ce,null));};exports[_0x8f24('0x5b')]=function(_0x11da77,_0x198862,_0x3d9fed){if(_0x11da77[_0x8f24('0x52')]['id']){delete _0x11da77[_0x8f24('0x52')]['id'];}return db['ZendeskConfiguration'][_0x8f24('0x58')]({'where':{'id':_0x11da77[_0x8f24('0x53')]['id']}})[_0x8f24('0x1c')](handleEntityNotFound(_0x198862,null))[_0x8f24('0x1c')](function(_0x5616ad){if(_0x5616ad){return _0x5616ad[_0x8f24('0x5b')](_0x11da77['body'][_0x8f24('0x5c')]||[]);}return null;})[_0x8f24('0x1c')](respondWithResult(_0x198862,null))['catch'](handleError(_0x198862,null));}; \ No newline at end of file diff --git a/server/api/intZendeskConfiguration/intZendeskConfiguration.model.js b/server/api/intZendeskConfiguration/intZendeskConfiguration.model.js index 3d3c27f..9d3d6b1 100644 --- a/server/api/intZendeskConfiguration/intZendeskConfiguration.model.js +++ b/server/api/intZendeskConfiguration/intZendeskConfiguration.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xa13c=['../../config/logger','bluebird','request-promise','rimraf','./intZendeskConfiguration.attributes','exports','define','ZendeskConfiguration','int_zendesk_configurations'];(function(_0x57f597,_0x5c541e){var _0x13fdb5=function(_0x5f035c){while(--_0x5f035c){_0x57f597['push'](_0x57f597['shift']());}};_0x13fdb5(++_0x5c541e);}(_0xa13c,0x132));var _0xca13=function(_0x1b7a86,_0x41667c){_0x1b7a86=_0x1b7a86-0x0;var _0x490fe1=_0xa13c[_0x1b7a86];return _0x490fe1;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0xca13('0x0'))('api');var moment=require('moment');var BPromise=require(_0xca13('0x1'));var rp=require(_0xca13('0x2'));var fs=require('fs');var path=require('path');var rimraf=require(_0xca13('0x3'));var config=require('../../config/environment');var attributes=require(_0xca13('0x4'));module[_0xca13('0x5')]=function(_0x22632c,_0x293d15){return _0x22632c[_0xca13('0x6')](_0xca13('0x7'),attributes,{'tableName':_0xca13('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0xfb30=['int_zendesk_configurations','util','../../config/logger','moment','path','rimraf','../../config/environment','./intZendeskConfiguration.attributes','exports'];(function(_0x2984a4,_0x2207e8){var _0xdb1e61=function(_0x563cc6){while(--_0x563cc6){_0x2984a4['push'](_0x2984a4['shift']());}};_0xdb1e61(++_0x2207e8);}(_0xfb30,0x1e7));var _0x0fb3=function(_0x17d9e3,_0x1f969c){_0x17d9e3=_0x17d9e3-0x0;var _0x14192d=_0xfb30[_0x17d9e3];return _0x14192d;};'use strict';var _=require('lodash');var util=require(_0x0fb3('0x0'));var logger=require(_0x0fb3('0x1'))('api');var moment=require(_0x0fb3('0x2'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x0fb3('0x3'));var rimraf=require(_0x0fb3('0x4'));var config=require(_0x0fb3('0x5'));var attributes=require(_0x0fb3('0x6'));module[_0x0fb3('0x7')]=function(_0x385395,_0x19049b){return _0x385395['define']('ZendeskConfiguration',attributes,{'tableName':_0x0fb3('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/intZendeskConfiguration/intZendeskConfiguration.rpc.js b/server/api/intZendeskConfiguration/intZendeskConfiguration.rpc.js index 76a0184..1cfce86 100644 --- a/server/api/intZendeskConfiguration/intZendeskConfiguration.rpc.js +++ b/server/api/intZendeskConfiguration/intZendeskConfiguration.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xf8a8=['jayson/promise','client','http','request','then','info','ZendeskConfiguration,\x20%s,\x20%s','request\x20sent','debug','ZendeskConfiguration,\x20%s,\x20%s,\x20%s','stringify','error','code','message','catch','util','moment','bluebird','rpc','../../config/environment'];(function(_0x4f35f4,_0x51a8c3){var _0x2e9a70=function(_0x110aca){while(--_0x110aca){_0x4f35f4['push'](_0x4f35f4['shift']());}};_0x2e9a70(++_0x51a8c3);}(_0xf8a8,0x19f));var _0x8f8a=function(_0x31cb5f,_0x2df766){_0x31cb5f=_0x31cb5f-0x0;var _0x586042=_0xf8a8[_0x31cb5f];return _0x586042;};'use strict';var _=require('lodash');var util=require(_0x8f8a('0x0'));var moment=require(_0x8f8a('0x1'));var BPromise=require(_0x8f8a('0x2'));var rs=require('randomstring');var fs=require('fs');var Redis=require('ioredis');var db=require('../../mysqldb')['db'];var utils=require('../../config/utils');var logger=require('../../config/logger')(_0x8f8a('0x3'));var config=require(_0x8f8a('0x4'));var jayson=require(_0x8f8a('0x5'));var client=jayson[_0x8f8a('0x6')][_0x8f8a('0x7')]({'port':0x232a});function respondWithRpcPromise(_0x148e6b,_0x2c0bf9,_0x9cbfff){return new BPromise(function(_0x5d13c7,_0x3c0711){return client[_0x8f8a('0x8')](_0x148e6b,_0x9cbfff)[_0x8f8a('0x9')](function(_0x50f1c){logger[_0x8f8a('0xa')](_0x8f8a('0xb'),_0x2c0bf9,_0x8f8a('0xc'));logger[_0x8f8a('0xd')](_0x8f8a('0xe'),_0x2c0bf9,_0x8f8a('0xc'),JSON[_0x8f8a('0xf')](_0x50f1c));if(_0x50f1c[_0x8f8a('0x10')]){if(_0x50f1c[_0x8f8a('0x10')][_0x8f8a('0x11')]===0x1f4){logger[_0x8f8a('0x10')](_0x8f8a('0xb'),_0x2c0bf9,_0x50f1c[_0x8f8a('0x10')][_0x8f8a('0x12')]);return _0x3c0711(_0x50f1c[_0x8f8a('0x10')]['message']);}logger[_0x8f8a('0x10')](_0x8f8a('0xb'),_0x2c0bf9,_0x50f1c[_0x8f8a('0x10')][_0x8f8a('0x12')]);return _0x5d13c7(_0x50f1c['error'][_0x8f8a('0x12')]);}else{logger['info'](_0x8f8a('0xb'),_0x2c0bf9,_0x8f8a('0xc'));_0x5d13c7(_0x50f1c['result'][_0x8f8a('0x12')]);}})[_0x8f8a('0x13')](function(_0x183878){logger[_0x8f8a('0x10')]('ZendeskConfiguration,\x20%s,\x20%s',_0x2c0bf9,_0x183878);_0x3c0711(_0x183878);});});} \ No newline at end of file +var _0x6af1=['http','request','then','info','ZendeskConfiguration,\x20%s,\x20%s','request\x20sent','stringify','error','code','message','result','catch','lodash','moment','bluebird','ioredis','../../mysqldb','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','client'];(function(_0x3f4ecc,_0x1dd57a){var _0x58fc18=function(_0x5a7237){while(--_0x5a7237){_0x3f4ecc['push'](_0x3f4ecc['shift']());}};_0x58fc18(++_0x1dd57a);}(_0x6af1,0xf2));var _0x16af=function(_0x20a584,_0xe384a5){_0x20a584=_0x20a584-0x0;var _0x4b41a8=_0x6af1[_0x20a584];return _0x4b41a8;};'use strict';var _=require(_0x16af('0x0'));var util=require('util');var moment=require(_0x16af('0x1'));var BPromise=require(_0x16af('0x2'));var rs=require('randomstring');var fs=require('fs');var Redis=require(_0x16af('0x3'));var db=require(_0x16af('0x4'))['db'];var utils=require(_0x16af('0x5'));var logger=require(_0x16af('0x6'))(_0x16af('0x7'));var config=require(_0x16af('0x8'));var jayson=require(_0x16af('0x9'));var client=jayson[_0x16af('0xa')][_0x16af('0xb')]({'port':0x232a});function respondWithRpcPromise(_0x465b95,_0xf37f7,_0x51fb90){return new BPromise(function(_0x513f40,_0x668430){return client[_0x16af('0xc')](_0x465b95,_0x51fb90)[_0x16af('0xd')](function(_0x496475){logger[_0x16af('0xe')](_0x16af('0xf'),_0xf37f7,_0x16af('0x10'));logger['debug']('ZendeskConfiguration,\x20%s,\x20%s,\x20%s',_0xf37f7,_0x16af('0x10'),JSON[_0x16af('0x11')](_0x496475));if(_0x496475[_0x16af('0x12')]){if(_0x496475[_0x16af('0x12')][_0x16af('0x13')]===0x1f4){logger[_0x16af('0x12')](_0x16af('0xf'),_0xf37f7,_0x496475[_0x16af('0x12')][_0x16af('0x14')]);return _0x668430(_0x496475[_0x16af('0x12')][_0x16af('0x14')]);}logger[_0x16af('0x12')](_0x16af('0xf'),_0xf37f7,_0x496475[_0x16af('0x12')][_0x16af('0x14')]);return _0x513f40(_0x496475[_0x16af('0x12')][_0x16af('0x14')]);}else{logger[_0x16af('0xe')](_0x16af('0xf'),_0xf37f7,'request\x20sent');_0x513f40(_0x496475[_0x16af('0x15')][_0x16af('0x14')]);}})[_0x16af('0x16')](function(_0x200c97){logger[_0x16af('0x12')](_0x16af('0xf'),_0xf37f7,_0x200c97);_0x668430(_0x200c97);});});} \ No newline at end of file diff --git a/server/api/intZendeskField/index.js b/server/api/intZendeskField/index.js index 9677e70..d5a8910 100644 --- a/server/api/intZendeskField/index.js +++ b/server/api/intZendeskField/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x3098=['isAuthenticated','index','/:id','show','create','update','delete','exports','multer','util','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./intZendeskField.controller','get'];(function(_0x351e12,_0x52f6d3){var _0x4282a4=function(_0x364cf5){while(--_0x364cf5){_0x351e12['push'](_0x351e12['shift']());}};_0x4282a4(++_0x52f6d3);}(_0x3098,0x86));var _0x8309=function(_0x128bef,_0xc7a0af){_0x128bef=_0x128bef-0x0;var _0x1ba862=_0x3098[_0x128bef];return _0x1ba862;};'use strict';var multer=require(_0x8309('0x0'));var util=require(_0x8309('0x1'));var path=require(_0x8309('0x2'));var timeout=require(_0x8309('0x3'));var express=require('express');var router=express[_0x8309('0x4')]();var auth=require(_0x8309('0x5'));var interaction=require(_0x8309('0x6'));var config=require(_0x8309('0x7'));var controller=require(_0x8309('0x8'));router[_0x8309('0x9')]('/',auth[_0x8309('0xa')](),controller[_0x8309('0xb')]);router[_0x8309('0x9')](_0x8309('0xc'),auth['isAuthenticated'](),controller[_0x8309('0xd')]);router['post']('/',auth[_0x8309('0xa')](),controller[_0x8309('0xe')]);router['put']('/:id',auth[_0x8309('0xa')](),controller[_0x8309('0xf')]);router[_0x8309('0x10')](_0x8309('0xc'),auth[_0x8309('0xa')](),controller['destroy']);module[_0x8309('0x11')]=router; \ No newline at end of file +var _0x5d95=['Router','../../components/auth/service','../../components/interaction/service','isAuthenticated','index','show','create','put','update','delete','/:id','destroy','exports','multer','util','connect-timeout','express'];(function(_0x19af51,_0x3834ac){var _0x997581=function(_0x4ba64c){while(--_0x4ba64c){_0x19af51['push'](_0x19af51['shift']());}};_0x997581(++_0x3834ac);}(_0x5d95,0x161));var _0x55d9=function(_0x31aa77,_0x229929){_0x31aa77=_0x31aa77-0x0;var _0xb15bd5=_0x5d95[_0x31aa77];return _0xb15bd5;};'use strict';var multer=require(_0x55d9('0x0'));var util=require(_0x55d9('0x1'));var path=require('path');var timeout=require(_0x55d9('0x2'));var express=require(_0x55d9('0x3'));var router=express[_0x55d9('0x4')]();var auth=require(_0x55d9('0x5'));var interaction=require(_0x55d9('0x6'));var config=require('../../config/environment');var controller=require('./intZendeskField.controller');router['get']('/',auth[_0x55d9('0x7')](),controller[_0x55d9('0x8')]);router['get']('/:id',auth[_0x55d9('0x7')](),controller[_0x55d9('0x9')]);router['post']('/',auth[_0x55d9('0x7')](),controller[_0x55d9('0xa')]);router[_0x55d9('0xb')]('/:id',auth[_0x55d9('0x7')](),controller[_0x55d9('0xc')]);router[_0x55d9('0xd')](_0x55d9('0xe'),auth[_0x55d9('0x7')](),controller[_0x55d9('0xf')]);module[_0x55d9('0x10')]=router; \ No newline at end of file diff --git a/server/api/intZendeskField/intZendeskField.attributes.js b/server/api/intZendeskField/intZendeskField.attributes.js index 715ca30..fd64c5f 100644 --- a/server/api/intZendeskField/intZendeskField.attributes.js +++ b/server/api/intZendeskField/intZendeskField.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x7fbe=['STRING','BOOLEAN','ENUM','string','variable','customVariable','keyValue'];(function(_0x520580,_0x58b303){var _0x49de33=function(_0x5032fe){while(--_0x5032fe){_0x520580['push'](_0x520580['shift']());}};_0x49de33(++_0x58b303);}(_0x7fbe,0x1ec));var _0xe7fb=function(_0x1af794,_0x570050){_0x1af794=_0x1af794-0x0;var _0x402845=_0x7fbe[_0x1af794];return _0x402845;};'use strict';var Sequelize=require('sequelize');module['exports']={'type':{'type':Sequelize[_0xe7fb('0x0')](_0xe7fb('0x1'),_0xe7fb('0x2'),_0xe7fb('0x3'),_0xe7fb('0x4')),'defaultValue':_0xe7fb('0x1')},'content':{'type':Sequelize[_0xe7fb('0x5')]},'key':{'type':Sequelize[_0xe7fb('0x5')]},'keyType':{'type':Sequelize[_0xe7fb('0x0')](_0xe7fb('0x1'),_0xe7fb('0x2'),_0xe7fb('0x3'))},'keyContent':{'type':Sequelize[_0xe7fb('0x5')]},'idField':{'type':Sequelize[_0xe7fb('0x5')]},'nameField':{'type':Sequelize['STRING']},'customField':{'type':Sequelize[_0xe7fb('0x6')],'defaultValue':!![]},'variableName':{'type':Sequelize[_0xe7fb('0x5')]}}; \ No newline at end of file +var _0xd51f=['variable','keyValue','STRING','ENUM','customVariable','BOOLEAN','sequelize','exports','string'];(function(_0x265e0e,_0x38b2bb){var _0x518157=function(_0x1e3eab){while(--_0x1e3eab){_0x265e0e['push'](_0x265e0e['shift']());}};_0x518157(++_0x38b2bb);}(_0xd51f,0xf0));var _0xfd51=function(_0x1cc8fe,_0x105328){_0x1cc8fe=_0x1cc8fe-0x0;var _0x230054=_0xd51f[_0x1cc8fe];return _0x230054;};'use strict';var Sequelize=require(_0xfd51('0x0'));module[_0xfd51('0x1')]={'type':{'type':Sequelize['ENUM'](_0xfd51('0x2'),_0xfd51('0x3'),'customVariable',_0xfd51('0x4')),'defaultValue':_0xfd51('0x2')},'content':{'type':Sequelize['STRING']},'key':{'type':Sequelize[_0xfd51('0x5')]},'keyType':{'type':Sequelize[_0xfd51('0x6')]('string',_0xfd51('0x3'),_0xfd51('0x7'))},'keyContent':{'type':Sequelize['STRING']},'idField':{'type':Sequelize[_0xfd51('0x5')]},'nameField':{'type':Sequelize[_0xfd51('0x5')]},'customField':{'type':Sequelize[_0xfd51('0x8')],'defaultValue':!![]},'variableName':{'type':Sequelize[_0xfd51('0x5')]}}; \ No newline at end of file diff --git a/server/api/intZendeskField/intZendeskField.controller.js b/server/api/intZendeskField/intZendeskField.controller.js index c71e803..7cd812d 100644 --- a/server/api/intZendeskField/intZendeskField.controller.js +++ b/server/api/intZendeskField/intZendeskField.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x5c1a=['fields','length','hasOwnProperty','nolimit','sort','filter','where','merge','VIRTUAL','options','count','includeAll','include','findAll','catch','find','create','body','params','html-pdf','rimraf','zip-dir','request-promise','bluebird','mustache','to-csv','squel','jsforce','desk.js','querystring','papaparse','ioredis','../../components/parsers/qs','../../config/license/hardware','../../config/logger','api','../../config/environment','../../mysqldb','status','end','json','offset','limit','set','Content-Range','apply','reject','update','then','destroy','sendStatus','error','name','send','index','map','ZendeskField','model','query','keys','filters','intersection','attributes'];(function(_0x21549c,_0x6d64d1){var _0x426cbd=function(_0x323f5b){while(--_0x323f5b){_0x21549c['push'](_0x21549c['shift']());}};_0x426cbd(++_0x6d64d1);}(_0x5c1a,0x91));var _0xa5c1=function(_0x510c60,_0x50247e){_0x510c60=_0x510c60-0x0;var _0x49c4aa=_0x5c1a[_0x510c60];return _0x49c4aa;};'use strict';var pdf=require(_0xa5c1('0x0'));var emlformat=require('eml-format');var rimraf=require(_0xa5c1('0x1'));var zipdir=require(_0xa5c1('0x2'));var jsonpatch=require('fast-json-patch');var rp=require(_0xa5c1('0x3'));var moment=require('moment');var BPromise=require(_0xa5c1('0x4'));var Mustache=require(_0xa5c1('0x5'));var util=require('util');var path=require('path');var sox=require('sox');var csv=require(_0xa5c1('0x6'));var ejs=require('ejs');var fs=require('fs');var _=require('lodash');var squel=require(_0xa5c1('0x7'));var crypto=require('crypto');var jsforce=require(_0xa5c1('0x8'));var deskjs=require(_0xa5c1('0x9'));var toCsv=require(_0xa5c1('0x6'));var querystring=require(_0xa5c1('0xa'));var Papa=require(_0xa5c1('0xb'));var Redis=require(_0xa5c1('0xc'));var authService=require('../../components/auth/service');var qs=require(_0xa5c1('0xd'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0xa5c1('0xe'));var logger=require(_0xa5c1('0xf'))(_0xa5c1('0x10'));var utils=require('../../config/utils');var config=require(_0xa5c1('0x11'));var db=require(_0xa5c1('0x12'))['db'];function respondWithStatusCode(_0xb71b50,_0x185e1c){_0x185e1c=_0x185e1c||0xcc;return function(_0x4ac8f0){if(_0x4ac8f0){return _0xb71b50['sendStatus'](_0x185e1c);}return _0xb71b50[_0xa5c1('0x13')](_0x185e1c)[_0xa5c1('0x14')]();};}function respondWithResult(_0x3f2c93,_0x1e8821){_0x1e8821=_0x1e8821||0xc8;return function(_0x588092){if(_0x588092){return _0x3f2c93[_0xa5c1('0x13')](_0x1e8821)[_0xa5c1('0x15')](_0x588092);}};}function respondWithFilteredResult(_0x30564b,_0x589472){return function(_0x3c5cc0){if(_0x3c5cc0){var _0x5ef19b=_0x3c5cc0['count'],_0x4777db=_0x589472[_0xa5c1('0x16')],_0x2621dd=_0x589472['offset']+_0x589472[_0xa5c1('0x17')],_0x61919c;if(_0x2621dd>=_0x5ef19b){_0x2621dd=_0x5ef19b;_0x61919c=0xc8;}else{_0x61919c=0xce;}_0x30564b[_0xa5c1('0x13')](_0x61919c);return _0x30564b[_0xa5c1('0x18')](_0xa5c1('0x19'),_0x4777db+'-'+_0x2621dd+'/'+_0x5ef19b)[_0xa5c1('0x15')](_0x3c5cc0);}return null;};}function patchUpdates(_0x2963c2){return function(_0x4e8499){try{jsonpatch[_0xa5c1('0x1a')](_0x4e8499,_0x2963c2,!![]);}catch(_0x5a770d){return BPromise[_0xa5c1('0x1b')](_0x5a770d);}return _0x4e8499['save']();};}function saveUpdates(_0xf317ff,_0x192b9e){return function(_0x5edbaa){if(_0x5edbaa){return _0x5edbaa[_0xa5c1('0x1c')](_0xf317ff)[_0xa5c1('0x1d')](function(_0x267ea1){return _0x267ea1;});}return null;};}function removeEntity(_0x3fc022,_0x2ff7ba){return function(_0x404f70){if(_0x404f70){return _0x404f70[_0xa5c1('0x1e')]()[_0xa5c1('0x1d')](function(){_0x3fc022[_0xa5c1('0x13')](0xcc)[_0xa5c1('0x14')]();});}};}function handleEntityNotFound(_0x265ca0,_0x56740a){return function(_0x430b5d){if(!_0x430b5d){_0x265ca0[_0xa5c1('0x1f')](0x194);}return _0x430b5d;};}function handleError(_0xb1f548,_0x3dd4c7){_0x3dd4c7=_0x3dd4c7||0x1f4;return function(_0x599586){logger[_0xa5c1('0x20')](_0x599586['stack']);if(_0x599586['name']){delete _0x599586[_0xa5c1('0x21')];}_0xb1f548[_0xa5c1('0x13')](_0x3dd4c7)[_0xa5c1('0x22')](_0x599586);};}exports[_0xa5c1('0x23')]=function(_0x53b54b,_0x26838f){var _0x241671={},_0x572068={},_0x1bf650={'count':0x0,'rows':[]};var _0x3cf65d=_[_0xa5c1('0x24')](db[_0xa5c1('0x25')]['rawAttributes'],function(_0x4525b2){return{'name':_0x4525b2['fieldName'],'type':_0x4525b2['type']['key']};});_0x572068[_0xa5c1('0x26')]=_[_0xa5c1('0x24')](_0x3cf65d,_0xa5c1('0x21'));_0x572068[_0xa5c1('0x27')]=_[_0xa5c1('0x28')](_0x53b54b[_0xa5c1('0x27')]);_0x572068[_0xa5c1('0x29')]=_[_0xa5c1('0x2a')](_0x572068[_0xa5c1('0x26')],_0x572068[_0xa5c1('0x27')]);_0x241671[_0xa5c1('0x2b')]=_['intersection'](_0x572068[_0xa5c1('0x26')],qs[_0xa5c1('0x2c')](_0x53b54b['query'][_0xa5c1('0x2c')]));_0x241671['attributes']=_0x241671[_0xa5c1('0x2b')][_0xa5c1('0x2d')]?_0x241671[_0xa5c1('0x2b')]:_0x572068[_0xa5c1('0x26')];if(!_0x53b54b[_0xa5c1('0x27')][_0xa5c1('0x2e')](_0xa5c1('0x2f'))){_0x241671[_0xa5c1('0x17')]=qs[_0xa5c1('0x17')](_0x53b54b[_0xa5c1('0x27')][_0xa5c1('0x17')]);_0x241671[_0xa5c1('0x16')]=qs[_0xa5c1('0x16')](_0x53b54b[_0xa5c1('0x27')][_0xa5c1('0x16')]);}_0x241671['order']=qs[_0xa5c1('0x30')](_0x53b54b[_0xa5c1('0x27')][_0xa5c1('0x30')]);_0x241671['where']=qs[_0xa5c1('0x29')](_['pick'](_0x53b54b[_0xa5c1('0x27')],_0x572068[_0xa5c1('0x29')]),_0x3cf65d);if(_0x53b54b['query'][_0xa5c1('0x31')]){_0x241671[_0xa5c1('0x32')]=_[_0xa5c1('0x33')](_0x241671[_0xa5c1('0x32')],{'$or':_['map'](_0x3cf65d,function(_0x1a6595){if(_0x1a6595['type']!==_0xa5c1('0x34')){var _0x4be8ed={};_0x4be8ed[_0x1a6595[_0xa5c1('0x21')]]={'$like':'%'+_0x53b54b[_0xa5c1('0x27')][_0xa5c1('0x31')]+'%'};return _0x4be8ed;}})});}_0x241671=_[_0xa5c1('0x33')]({},_0x241671,_0x53b54b[_0xa5c1('0x35')]);var _0x41b644={'where':_0x241671['where']};return db[_0xa5c1('0x25')]['count'](_0x41b644)['then'](function(_0x477ad7){_0x1bf650[_0xa5c1('0x36')]=_0x477ad7;if(_0x53b54b[_0xa5c1('0x27')][_0xa5c1('0x37')]){_0x241671[_0xa5c1('0x38')]=[{'all':!![]}];}return db[_0xa5c1('0x25')][_0xa5c1('0x39')](_0x241671);})[_0xa5c1('0x1d')](function(_0x3a9c38){_0x1bf650['rows']=_0x3a9c38;return _0x1bf650;})[_0xa5c1('0x1d')](respondWithFilteredResult(_0x26838f,_0x241671))[_0xa5c1('0x3a')](handleError(_0x26838f,null));};exports['show']=function(_0x263c5c,_0x270b7b){var _0x35d128={'raw':!![],'where':{'id':_0x263c5c['params']['id']}},_0x2b2aa3={};_0x2b2aa3[_0xa5c1('0x26')]=_[_0xa5c1('0x28')](db[_0xa5c1('0x25')]['rawAttributes']);_0x2b2aa3[_0xa5c1('0x27')]=_['keys'](_0x263c5c['query']);_0x2b2aa3['filters']=_[_0xa5c1('0x2a')](_0x2b2aa3[_0xa5c1('0x26')],_0x2b2aa3['query']);_0x35d128[_0xa5c1('0x2b')]=_[_0xa5c1('0x2a')](_0x2b2aa3[_0xa5c1('0x26')],qs[_0xa5c1('0x2c')](_0x263c5c[_0xa5c1('0x27')][_0xa5c1('0x2c')]));_0x35d128[_0xa5c1('0x2b')]=_0x35d128[_0xa5c1('0x2b')][_0xa5c1('0x2d')]?_0x35d128[_0xa5c1('0x2b')]:_0x2b2aa3[_0xa5c1('0x26')];if(_0x263c5c[_0xa5c1('0x27')][_0xa5c1('0x37')]){_0x35d128[_0xa5c1('0x38')]=[{'all':!![]}];}_0x35d128=_[_0xa5c1('0x33')]({},_0x35d128,_0x263c5c[_0xa5c1('0x35')]);return db['ZendeskField'][_0xa5c1('0x3b')](_0x35d128)[_0xa5c1('0x1d')](handleEntityNotFound(_0x270b7b,null))[_0xa5c1('0x1d')](respondWithResult(_0x270b7b,null))[_0xa5c1('0x3a')](handleError(_0x270b7b,null));};exports[_0xa5c1('0x3c')]=function(_0x2bfbea,_0x5266d2){return db[_0xa5c1('0x25')][_0xa5c1('0x3c')](_0x2bfbea[_0xa5c1('0x3d')],{})['then'](respondWithResult(_0x5266d2,0xc9))[_0xa5c1('0x3a')](handleError(_0x5266d2,null));};exports[_0xa5c1('0x1c')]=function(_0x4ca0b0,_0x330004){if(_0x4ca0b0['body']['id']){delete _0x4ca0b0[_0xa5c1('0x3d')]['id'];}return db['ZendeskField'][_0xa5c1('0x3b')]({'where':{'id':_0x4ca0b0[_0xa5c1('0x3e')]['id']}})[_0xa5c1('0x1d')](handleEntityNotFound(_0x330004,null))[_0xa5c1('0x1d')](saveUpdates(_0x4ca0b0[_0xa5c1('0x3d')],null))[_0xa5c1('0x1d')](respondWithResult(_0x330004,null))[_0xa5c1('0x3a')](handleError(_0x330004,null));};exports[_0xa5c1('0x1e')]=function(_0x411f97,_0x10b93e){return db[_0xa5c1('0x25')][_0xa5c1('0x3b')]({'where':{'id':_0x411f97[_0xa5c1('0x3e')]['id']}})[_0xa5c1('0x1d')](handleEntityNotFound(_0x10b93e,null))['then'](removeEntity(_0x10b93e,null))[_0xa5c1('0x3a')](handleError(_0x10b93e,null));}; \ No newline at end of file +var _0x5548=['html-pdf','zip-dir','fast-json-patch','bluebird','mustache','util','path','sox','to-csv','ejs','squel','crypto','jsforce','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/logger','api','../../config/utils','../../mysqldb','status','end','json','count','offset','limit','set','Content-Range','apply','save','update','then','destroy','sendStatus','error','stack','name','index','map','ZendeskField','rawAttributes','fieldName','type','key','model','query','keys','filters','intersection','attributes','fields','length','hasOwnProperty','nolimit','order','sort','where','pick','filter','merge','options','includeAll','include','findAll','rows','catch','show','params','find','create','body'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x5548,0x1bc));var _0x8554=function(_0x4b9add,_0x9b253e){_0x4b9add=_0x4b9add-0x0;var _0x1af6f5=_0x5548[_0x4b9add];return _0x1af6f5;};'use strict';var pdf=require(_0x8554('0x0'));var emlformat=require('eml-format');var rimraf=require('rimraf');var zipdir=require(_0x8554('0x1'));var jsonpatch=require(_0x8554('0x2'));var rp=require('request-promise');var moment=require('moment');var BPromise=require(_0x8554('0x3'));var Mustache=require(_0x8554('0x4'));var util=require(_0x8554('0x5'));var path=require(_0x8554('0x6'));var sox=require(_0x8554('0x7'));var csv=require(_0x8554('0x8'));var ejs=require(_0x8554('0x9'));var fs=require('fs');var _=require('lodash');var squel=require(_0x8554('0xa'));var crypto=require(_0x8554('0xb'));var jsforce=require(_0x8554('0xc'));var deskjs=require('desk.js');var toCsv=require(_0x8554('0x8'));var querystring=require(_0x8554('0xd'));var Papa=require(_0x8554('0xe'));var Redis=require(_0x8554('0xf'));var authService=require(_0x8554('0x10'));var qs=require(_0x8554('0x11'));var as=require(_0x8554('0x12'));var hardwareService=require('../../config/license/hardware');var logger=require(_0x8554('0x13'))(_0x8554('0x14'));var utils=require(_0x8554('0x15'));var config=require('../../config/environment');var db=require(_0x8554('0x16'))['db'];function respondWithStatusCode(_0xa943f9,_0x5db574){_0x5db574=_0x5db574||0xcc;return function(_0x3778c0){if(_0x3778c0){return _0xa943f9['sendStatus'](_0x5db574);}return _0xa943f9[_0x8554('0x17')](_0x5db574)[_0x8554('0x18')]();};}function respondWithResult(_0x25b04a,_0x5b5fc5){_0x5b5fc5=_0x5b5fc5||0xc8;return function(_0x429a68){if(_0x429a68){return _0x25b04a[_0x8554('0x17')](_0x5b5fc5)[_0x8554('0x19')](_0x429a68);}};}function respondWithFilteredResult(_0x54fac4,_0x3f0c78){return function(_0x338d01){if(_0x338d01){var _0x45ff30=_0x338d01[_0x8554('0x1a')],_0x442536=_0x3f0c78['offset'],_0x638abb=_0x3f0c78[_0x8554('0x1b')]+_0x3f0c78[_0x8554('0x1c')],_0x2b63c4;if(_0x638abb>=_0x45ff30){_0x638abb=_0x45ff30;_0x2b63c4=0xc8;}else{_0x2b63c4=0xce;}_0x54fac4['status'](_0x2b63c4);return _0x54fac4[_0x8554('0x1d')](_0x8554('0x1e'),_0x442536+'-'+_0x638abb+'/'+_0x45ff30)['json'](_0x338d01);}return null;};}function patchUpdates(_0x231032){return function(_0x3c0b6a){try{jsonpatch[_0x8554('0x1f')](_0x3c0b6a,_0x231032,!![]);}catch(_0x191d9a){return BPromise['reject'](_0x191d9a);}return _0x3c0b6a[_0x8554('0x20')]();};}function saveUpdates(_0x50583c,_0x31797c){return function(_0x32f966){if(_0x32f966){return _0x32f966[_0x8554('0x21')](_0x50583c)[_0x8554('0x22')](function(_0x2280bb){return _0x2280bb;});}return null;};}function removeEntity(_0x3c0627,_0x2c74b3){return function(_0x42313c){if(_0x42313c){return _0x42313c[_0x8554('0x23')]()[_0x8554('0x22')](function(){_0x3c0627[_0x8554('0x17')](0xcc)[_0x8554('0x18')]();});}};}function handleEntityNotFound(_0x52e0e6,_0x509a07){return function(_0x2d5a23){if(!_0x2d5a23){_0x52e0e6[_0x8554('0x24')](0x194);}return _0x2d5a23;};}function handleError(_0x13ba49,_0x237517){_0x237517=_0x237517||0x1f4;return function(_0x1c9d95){logger[_0x8554('0x25')](_0x1c9d95[_0x8554('0x26')]);if(_0x1c9d95['name']){delete _0x1c9d95[_0x8554('0x27')];}_0x13ba49[_0x8554('0x17')](_0x237517)['send'](_0x1c9d95);};}exports[_0x8554('0x28')]=function(_0x43ae34,_0x4119aa){var _0x137384={},_0x1245a9={},_0x44a918={'count':0x0,'rows':[]};var _0x4a0562=_[_0x8554('0x29')](db[_0x8554('0x2a')][_0x8554('0x2b')],function(_0x17b593){return{'name':_0x17b593[_0x8554('0x2c')],'type':_0x17b593[_0x8554('0x2d')][_0x8554('0x2e')]};});_0x1245a9[_0x8554('0x2f')]=_[_0x8554('0x29')](_0x4a0562,_0x8554('0x27'));_0x1245a9[_0x8554('0x30')]=_[_0x8554('0x31')](_0x43ae34[_0x8554('0x30')]);_0x1245a9[_0x8554('0x32')]=_[_0x8554('0x33')](_0x1245a9['model'],_0x1245a9['query']);_0x137384[_0x8554('0x34')]=_['intersection'](_0x1245a9[_0x8554('0x2f')],qs[_0x8554('0x35')](_0x43ae34['query'][_0x8554('0x35')]));_0x137384[_0x8554('0x34')]=_0x137384[_0x8554('0x34')][_0x8554('0x36')]?_0x137384[_0x8554('0x34')]:_0x1245a9[_0x8554('0x2f')];if(!_0x43ae34[_0x8554('0x30')][_0x8554('0x37')](_0x8554('0x38'))){_0x137384['limit']=qs[_0x8554('0x1c')](_0x43ae34[_0x8554('0x30')][_0x8554('0x1c')]);_0x137384[_0x8554('0x1b')]=qs['offset'](_0x43ae34[_0x8554('0x30')][_0x8554('0x1b')]);}_0x137384[_0x8554('0x39')]=qs[_0x8554('0x3a')](_0x43ae34[_0x8554('0x30')][_0x8554('0x3a')]);_0x137384[_0x8554('0x3b')]=qs[_0x8554('0x32')](_[_0x8554('0x3c')](_0x43ae34[_0x8554('0x30')],_0x1245a9[_0x8554('0x32')]),_0x4a0562);if(_0x43ae34[_0x8554('0x30')][_0x8554('0x3d')]){_0x137384['where']=_[_0x8554('0x3e')](_0x137384[_0x8554('0x3b')],{'$or':_['map'](_0x4a0562,function(_0x88e6b0){if(_0x88e6b0['type']!=='VIRTUAL'){var _0x32b14a={};_0x32b14a[_0x88e6b0['name']]={'$like':'%'+_0x43ae34['query'][_0x8554('0x3d')]+'%'};return _0x32b14a;}})});}_0x137384=_[_0x8554('0x3e')]({},_0x137384,_0x43ae34[_0x8554('0x3f')]);var _0x285319={'where':_0x137384[_0x8554('0x3b')]};return db[_0x8554('0x2a')][_0x8554('0x1a')](_0x285319)[_0x8554('0x22')](function(_0x8f92e){_0x44a918['count']=_0x8f92e;if(_0x43ae34[_0x8554('0x30')][_0x8554('0x40')]){_0x137384[_0x8554('0x41')]=[{'all':!![]}];}return db[_0x8554('0x2a')][_0x8554('0x42')](_0x137384);})[_0x8554('0x22')](function(_0x32bbbe){_0x44a918[_0x8554('0x43')]=_0x32bbbe;return _0x44a918;})['then'](respondWithFilteredResult(_0x4119aa,_0x137384))[_0x8554('0x44')](handleError(_0x4119aa,null));};exports[_0x8554('0x45')]=function(_0x27ac83,_0x4fd724){var _0xc35612={'raw':!![],'where':{'id':_0x27ac83[_0x8554('0x46')]['id']}},_0x1941d8={};_0x1941d8[_0x8554('0x2f')]=_[_0x8554('0x31')](db['ZendeskField'][_0x8554('0x2b')]);_0x1941d8[_0x8554('0x30')]=_[_0x8554('0x31')](_0x27ac83[_0x8554('0x30')]);_0x1941d8[_0x8554('0x32')]=_[_0x8554('0x33')](_0x1941d8[_0x8554('0x2f')],_0x1941d8['query']);_0xc35612[_0x8554('0x34')]=_[_0x8554('0x33')](_0x1941d8[_0x8554('0x2f')],qs[_0x8554('0x35')](_0x27ac83[_0x8554('0x30')][_0x8554('0x35')]));_0xc35612[_0x8554('0x34')]=_0xc35612[_0x8554('0x34')]['length']?_0xc35612['attributes']:_0x1941d8[_0x8554('0x2f')];if(_0x27ac83['query'][_0x8554('0x40')]){_0xc35612[_0x8554('0x41')]=[{'all':!![]}];}_0xc35612=_['merge']({},_0xc35612,_0x27ac83[_0x8554('0x3f')]);return db[_0x8554('0x2a')][_0x8554('0x47')](_0xc35612)[_0x8554('0x22')](handleEntityNotFound(_0x4fd724,null))[_0x8554('0x22')](respondWithResult(_0x4fd724,null))[_0x8554('0x44')](handleError(_0x4fd724,null));};exports[_0x8554('0x48')]=function(_0x40f721,_0x588436){return db[_0x8554('0x2a')][_0x8554('0x48')](_0x40f721[_0x8554('0x49')],{})[_0x8554('0x22')](respondWithResult(_0x588436,0xc9))[_0x8554('0x44')](handleError(_0x588436,null));};exports['update']=function(_0xd8d073,_0x4f2c03){if(_0xd8d073[_0x8554('0x49')]['id']){delete _0xd8d073[_0x8554('0x49')]['id'];}return db[_0x8554('0x2a')][_0x8554('0x47')]({'where':{'id':_0xd8d073[_0x8554('0x46')]['id']}})['then'](handleEntityNotFound(_0x4f2c03,null))[_0x8554('0x22')](saveUpdates(_0xd8d073['body'],null))['then'](respondWithResult(_0x4f2c03,null))[_0x8554('0x44')](handleError(_0x4f2c03,null));};exports[_0x8554('0x23')]=function(_0x5cd88c,_0x219dd5){return db[_0x8554('0x2a')][_0x8554('0x47')]({'where':{'id':_0x5cd88c[_0x8554('0x46')]['id']}})['then'](handleEntityNotFound(_0x219dd5,null))[_0x8554('0x22')](removeEntity(_0x219dd5,null))['catch'](handleError(_0x219dd5,null));}; \ No newline at end of file diff --git a/server/api/intZendeskField/intZendeskField.model.js b/server/api/intZendeskField/intZendeskField.model.js index 87b4464..0cd60c8 100644 --- a/server/api/intZendeskField/intZendeskField.model.js +++ b/server/api/intZendeskField/intZendeskField.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xb43b=['lodash','util','api','moment','bluebird','path','rimraf','../../config/environment','./intZendeskField.attributes','ZendeskField','int_zendesk_fields','zendesk_unique_index','idField','FieldId'];(function(_0x5a8a5f,_0x215751){var _0x114129=function(_0x21e0bf){while(--_0x21e0bf){_0x5a8a5f['push'](_0x5a8a5f['shift']());}};_0x114129(++_0x215751);}(_0xb43b,0x1b2));var _0xbb43=function(_0x131040,_0xf9c89c){_0x131040=_0x131040-0x0;var _0x415fd8=_0xb43b[_0x131040];return _0x415fd8;};'use strict';var _=require(_0xbb43('0x0'));var util=require(_0xbb43('0x1'));var logger=require('../../config/logger')(_0xbb43('0x2'));var moment=require(_0xbb43('0x3'));var BPromise=require(_0xbb43('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xbb43('0x5'));var rimraf=require(_0xbb43('0x6'));var config=require(_0xbb43('0x7'));var attributes=require(_0xbb43('0x8'));module['exports']=function(_0x491fb9,_0x378df5){return _0x491fb9['define'](_0xbb43('0x9'),attributes,{'tableName':_0xbb43('0xa'),'paranoid':![],'indexes':[{'name':_0xbb43('0xb'),'fields':[_0xbb43('0xc'),_0xbb43('0xd')],'unique':!![]}],'timestamps':!![]});}; \ No newline at end of file +var _0x2ceb=['./intZendeskField.attributes','exports','define','int_zendesk_fields','zendesk_unique_index','idField','lodash','util','api','moment','bluebird','request-promise','path','rimraf'];(function(_0x19b80a,_0x307d03){var _0x341977=function(_0x566ab7){while(--_0x566ab7){_0x19b80a['push'](_0x19b80a['shift']());}};_0x341977(++_0x307d03);}(_0x2ceb,0x110));var _0xb2ce=function(_0x3046d8,_0x19af5e){_0x3046d8=_0x3046d8-0x0;var _0x56ecb6=_0x2ceb[_0x3046d8];return _0x56ecb6;};'use strict';var _=require(_0xb2ce('0x0'));var util=require(_0xb2ce('0x1'));var logger=require('../../config/logger')(_0xb2ce('0x2'));var moment=require(_0xb2ce('0x3'));var BPromise=require(_0xb2ce('0x4'));var rp=require(_0xb2ce('0x5'));var fs=require('fs');var path=require(_0xb2ce('0x6'));var rimraf=require(_0xb2ce('0x7'));var config=require('../../config/environment');var attributes=require(_0xb2ce('0x8'));module[_0xb2ce('0x9')]=function(_0x550455,_0x479153){return _0x550455[_0xb2ce('0xa')]('ZendeskField',attributes,{'tableName':_0xb2ce('0xb'),'paranoid':![],'indexes':[{'name':_0xb2ce('0xc'),'fields':[_0xb2ce('0xd'),'FieldId'],'unique':!![]}],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/intZendeskField/intZendeskField.rpc.js b/server/api/intZendeskField/intZendeskField.rpc.js index 4c9336a..4d1c1c2 100644 --- a/server/api/intZendeskField/intZendeskField.rpc.js +++ b/server/api/intZendeskField/intZendeskField.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x83bb=['request\x20sent','ZendeskField,\x20%s,\x20%s,\x20%s','stringify','error','code','message','ZendeskField,\x20%s,\x20%s','info','result','lodash','util','moment','bluebird','randomstring','ioredis','../../mysqldb','../../config/logger','rpc','../../config/environment','jayson/promise','client','http','request','then'];(function(_0x3a3a6a,_0x5eb6a9){var _0xa89294=function(_0x55d78c){while(--_0x55d78c){_0x3a3a6a['push'](_0x3a3a6a['shift']());}};_0xa89294(++_0x5eb6a9);}(_0x83bb,0x99));var _0xb83b=function(_0x46a7e5,_0x61269d){_0x46a7e5=_0x46a7e5-0x0;var _0x311162=_0x83bb[_0x46a7e5];return _0x311162;};'use strict';var _=require(_0xb83b('0x0'));var util=require(_0xb83b('0x1'));var moment=require(_0xb83b('0x2'));var BPromise=require(_0xb83b('0x3'));var rs=require(_0xb83b('0x4'));var fs=require('fs');var Redis=require(_0xb83b('0x5'));var db=require(_0xb83b('0x6'))['db'];var utils=require('../../config/utils');var logger=require(_0xb83b('0x7'))(_0xb83b('0x8'));var config=require(_0xb83b('0x9'));var jayson=require(_0xb83b('0xa'));var client=jayson[_0xb83b('0xb')][_0xb83b('0xc')]({'port':0x232a});function respondWithRpcPromise(_0x5c9d65,_0x5d72fc,_0x516fe8){return new BPromise(function(_0x40a083,_0x2b8b8e){return client[_0xb83b('0xd')](_0x5c9d65,_0x516fe8)[_0xb83b('0xe')](function(_0xa852af){logger['info']('ZendeskField,\x20%s,\x20%s',_0x5d72fc,_0xb83b('0xf'));logger['debug'](_0xb83b('0x10'),_0x5d72fc,_0xb83b('0xf'),JSON[_0xb83b('0x11')](_0xa852af));if(_0xa852af[_0xb83b('0x12')]){if(_0xa852af[_0xb83b('0x12')][_0xb83b('0x13')]===0x1f4){logger[_0xb83b('0x12')]('ZendeskField,\x20%s,\x20%s',_0x5d72fc,_0xa852af[_0xb83b('0x12')][_0xb83b('0x14')]);return _0x2b8b8e(_0xa852af[_0xb83b('0x12')][_0xb83b('0x14')]);}logger[_0xb83b('0x12')](_0xb83b('0x15'),_0x5d72fc,_0xa852af['error'][_0xb83b('0x14')]);return _0x40a083(_0xa852af[_0xb83b('0x12')]['message']);}else{logger[_0xb83b('0x16')](_0xb83b('0x15'),_0x5d72fc,_0xb83b('0xf'));_0x40a083(_0xa852af[_0xb83b('0x17')][_0xb83b('0x14')]);}})['catch'](function(_0x27202e){logger[_0xb83b('0x12')](_0xb83b('0x15'),_0x5d72fc,_0x27202e);_0x2b8b8e(_0x27202e);});});} \ No newline at end of file +var _0x46a7=['info','ZendeskField,\x20%s,\x20%s','request\x20sent','debug','ZendeskField,\x20%s,\x20%s,\x20%s','stringify','error','code','message','catch','lodash','util','moment','bluebird','randomstring','ioredis','../../config/logger','rpc','../../config/environment','jayson/promise','client','then'];(function(_0x1eef20,_0x3584de){var _0x2d5ba7=function(_0x23f993){while(--_0x23f993){_0x1eef20['push'](_0x1eef20['shift']());}};_0x2d5ba7(++_0x3584de);}(_0x46a7,0xba));var _0x746a=function(_0x1cf98b,_0x334d7b){_0x1cf98b=_0x1cf98b-0x0;var _0x4fe438=_0x46a7[_0x1cf98b];return _0x4fe438;};'use strict';var _=require(_0x746a('0x0'));var util=require(_0x746a('0x1'));var moment=require(_0x746a('0x2'));var BPromise=require(_0x746a('0x3'));var rs=require(_0x746a('0x4'));var fs=require('fs');var Redis=require(_0x746a('0x5'));var db=require('../../mysqldb')['db'];var utils=require('../../config/utils');var logger=require(_0x746a('0x6'))(_0x746a('0x7'));var config=require(_0x746a('0x8'));var jayson=require(_0x746a('0x9'));var client=jayson[_0x746a('0xa')]['http']({'port':0x232a});function respondWithRpcPromise(_0x154d2e,_0x332785,_0x574631){return new BPromise(function(_0x2e1f3e,_0x4941b5){return client['request'](_0x154d2e,_0x574631)[_0x746a('0xb')](function(_0x5e6996){logger[_0x746a('0xc')](_0x746a('0xd'),_0x332785,_0x746a('0xe'));logger[_0x746a('0xf')](_0x746a('0x10'),_0x332785,_0x746a('0xe'),JSON[_0x746a('0x11')](_0x5e6996));if(_0x5e6996['error']){if(_0x5e6996[_0x746a('0x12')][_0x746a('0x13')]===0x1f4){logger['error'](_0x746a('0xd'),_0x332785,_0x5e6996[_0x746a('0x12')][_0x746a('0x14')]);return _0x4941b5(_0x5e6996[_0x746a('0x12')]['message']);}logger[_0x746a('0x12')](_0x746a('0xd'),_0x332785,_0x5e6996['error'][_0x746a('0x14')]);return _0x2e1f3e(_0x5e6996[_0x746a('0x12')]['message']);}else{logger[_0x746a('0xc')]('ZendeskField,\x20%s,\x20%s',_0x332785,_0x746a('0xe'));_0x2e1f3e(_0x5e6996['result']['message']);}})[_0x746a('0x15')](function(_0x3a1057){logger['error'](_0x746a('0xd'),_0x332785,_0x3a1057);_0x4941b5(_0x3a1057);});});} \ No newline at end of file diff --git a/server/api/intZohoAccount/index.js b/server/api/intZohoAccount/index.js index 1f62c65..b3cac4e 100644 --- a/server/api/intZohoAccount/index.js +++ b/server/api/intZohoAccount/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x6c6c=['post','/:id/configurations','put','delete','destroy','exports','multer','util','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./intZohoAccount.controller','isAuthenticated','index','get','/:id','show','getConfigurations','/:id/fields'];(function(_0x109b58,_0x2ae88d){var _0x353875=function(_0x9aefba){while(--_0x9aefba){_0x109b58['push'](_0x109b58['shift']());}};_0x353875(++_0x2ae88d);}(_0x6c6c,0x8a));var _0xc6c6=function(_0x212652,_0x514a74){_0x212652=_0x212652-0x0;var _0x47453b=_0x6c6c[_0x212652];return _0x47453b;};'use strict';var multer=require(_0xc6c6('0x0'));var util=require(_0xc6c6('0x1'));var path=require('path');var timeout=require(_0xc6c6('0x2'));var express=require(_0xc6c6('0x3'));var router=express[_0xc6c6('0x4')]();var auth=require(_0xc6c6('0x5'));var interaction=require(_0xc6c6('0x6'));var config=require(_0xc6c6('0x7'));var controller=require(_0xc6c6('0x8'));router['get']('/',auth[_0xc6c6('0x9')](),controller[_0xc6c6('0xa')]);router[_0xc6c6('0xb')](_0xc6c6('0xc'),auth['isAuthenticated'](),controller[_0xc6c6('0xd')]);router['get']('/:id/configurations',auth['isAuthenticated'](),controller[_0xc6c6('0xe')]);router[_0xc6c6('0xb')](_0xc6c6('0xf'),auth[_0xc6c6('0x9')](),controller['getFields']);router[_0xc6c6('0x10')]('/',auth[_0xc6c6('0x9')](),controller['create']);router[_0xc6c6('0x10')](_0xc6c6('0x11'),auth[_0xc6c6('0x9')](),controller['addConfiguration']);router[_0xc6c6('0x12')](_0xc6c6('0xc'),auth[_0xc6c6('0x9')](),controller['update']);router[_0xc6c6('0x13')](_0xc6c6('0xc'),auth[_0xc6c6('0x9')](),controller[_0xc6c6('0x14')]);module[_0xc6c6('0x15')]=router; \ No newline at end of file +var _0x96a4=['util','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','/:id','show','/:id/configurations','getConfigurations','/:id/fields','getFields','post','addConfiguration','put','update','delete','multer'];(function(_0x5027b1,_0x1409a5){var _0x4a46cf=function(_0x121920){while(--_0x121920){_0x5027b1['push'](_0x5027b1['shift']());}};_0x4a46cf(++_0x1409a5);}(_0x96a4,0x92));var _0x496a=function(_0x3d3adf,_0x4c66c8){_0x3d3adf=_0x3d3adf-0x0;var _0x26aa15=_0x96a4[_0x3d3adf];return _0x26aa15;};'use strict';var multer=require(_0x496a('0x0'));var util=require(_0x496a('0x1'));var path=require(_0x496a('0x2'));var timeout=require(_0x496a('0x3'));var express=require(_0x496a('0x4'));var router=express['Router']();var auth=require(_0x496a('0x5'));var interaction=require(_0x496a('0x6'));var config=require(_0x496a('0x7'));var controller=require('./intZohoAccount.controller');router[_0x496a('0x8')]('/',auth[_0x496a('0x9')](),controller['index']);router[_0x496a('0x8')](_0x496a('0xa'),auth[_0x496a('0x9')](),controller[_0x496a('0xb')]);router['get'](_0x496a('0xc'),auth['isAuthenticated'](),controller[_0x496a('0xd')]);router['get'](_0x496a('0xe'),auth[_0x496a('0x9')](),controller[_0x496a('0xf')]);router[_0x496a('0x10')]('/',auth[_0x496a('0x9')](),controller['create']);router[_0x496a('0x10')](_0x496a('0xc'),auth[_0x496a('0x9')](),controller[_0x496a('0x11')]);router[_0x496a('0x12')](_0x496a('0xa'),auth['isAuthenticated'](),controller[_0x496a('0x13')]);router[_0x496a('0x14')]('/:id',auth[_0x496a('0x9')](),controller['destroy']);module['exports']=router; \ No newline at end of file diff --git a/server/api/intZohoAccount/intZohoAccount.attributes.js b/server/api/intZohoAccount/intZohoAccount.attributes.js index 44797a3..2a23ac4 100644 --- a/server/api/intZohoAccount/intZohoAccount.attributes.js +++ b/server/api/intZohoAccount/intZohoAccount.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xc153=['exports','STRING','sequelize'];(function(_0x27406e,_0x4dcd34){var _0x12dd7c=function(_0x111e4e){while(--_0x111e4e){_0x27406e['push'](_0x27406e['shift']());}};_0x12dd7c(++_0x4dcd34);}(_0xc153,0x89));var _0x3c15=function(_0x558f72,_0x3d2535){_0x558f72=_0x558f72-0x0;var _0x51784a=_0xc153[_0x558f72];return _0x51784a;};'use strict';var Sequelize=require(_0x3c15('0x0'));module[_0x3c15('0x1')]={'name':{'type':Sequelize[_0x3c15('0x2')]},'description':{'type':Sequelize[_0x3c15('0x2')]},'host':{'type':Sequelize['STRING']},'zone':{'type':Sequelize[_0x3c15('0x2')]},'clientId':{'type':Sequelize[_0x3c15('0x2')]},'clientSecret':{'type':Sequelize[_0x3c15('0x2')]},'serverUrl':{'type':Sequelize[_0x3c15('0x2')]},'code':{'type':Sequelize[_0x3c15('0x2')]},'refreshToken':{'type':Sequelize[_0x3c15('0x2')]}}; \ No newline at end of file +var _0x042c=['exports','STRING','sequelize'];(function(_0x5012e0,_0x47a186){var _0x72706d=function(_0x13d02e){while(--_0x13d02e){_0x5012e0['push'](_0x5012e0['shift']());}};_0x72706d(++_0x47a186);}(_0x042c,0x113));var _0xc042=function(_0x185795,_0x48baa4){_0x185795=_0x185795-0x0;var _0x5abae3=_0x042c[_0x185795];return _0x5abae3;};'use strict';var Sequelize=require(_0xc042('0x0'));module[_0xc042('0x1')]={'name':{'type':Sequelize[_0xc042('0x2')]},'description':{'type':Sequelize[_0xc042('0x2')]},'host':{'type':Sequelize[_0xc042('0x2')]},'zone':{'type':Sequelize[_0xc042('0x2')]},'clientId':{'type':Sequelize[_0xc042('0x2')]},'clientSecret':{'type':Sequelize['STRING']},'serverUrl':{'type':Sequelize[_0xc042('0x2')]},'code':{'type':Sequelize[_0xc042('0x2')]},'refreshToken':{'type':Sequelize[_0xc042('0x2')]}}; \ No newline at end of file diff --git a/server/api/intZohoAccount/intZohoAccount.controller.js b/server/api/intZohoAccount/intZohoAccount.controller.js index f264e5f..86f70c4 100644 --- a/server/api/intZohoAccount/intZohoAccount.controller.js +++ b/server/api/intZohoAccount/intZohoAccount.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x38c2=['format','https://www.zohoapis.%s/crm/v2/settings/fields','response','Owner','Subject','Description','WhoId','Call_Duration','Call_Result','Call_Start_Time','Call_Type','remove','api_name','system_mandatory','push','display_label','custom_field','pick_list_values','getFields,\x20%s,\x20%s,\x20%s','statusCode','html-pdf','eml-format','zip-dir','fast-json-patch','request-promise','bluebird','mustache','util','sox','to-csv','ejs','squel','jsforce','desk.js','querystring','papaparse','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','jayson/promise','http','test','then','request\x20sent','debug','stringify','error','code','ZohoAccount,\x20%s,\x20%s','message','info','catch','status','end','count','offset','limit','set','Content-Range','json','reject','save','update','destroy','stack','name','send','map','ZohoAccount','fieldName','key','model','query','keys','filters','intersection','attributes','fields','length','hasOwnProperty','nolimit','order','sort','pick','filter','where','type','VIRTUAL','merge','options','include','findAll','rows','show','params','rawAttributes','create','body','find','getConfigurations','findOne','ZohoConfiguration','addConfiguration','Subjects','getSubjects','channel','getDescriptions','ZohoField','Descriptions','zone','https://accounts.zoho.com','https://accounts.zoho.com.au','https://accounts.zoho.eu','https://accounts.zoho.com.cn','POST','refreshToken','clientId','clientSecret','access_token','getFields','host','zoho.eu','com','serverUrl','slice','substring','GET'];(function(_0x2cab02,_0xf8aad8){var _0x42554c=function(_0x2b1eb6){while(--_0x2b1eb6){_0x2cab02['push'](_0x2cab02['shift']());}};_0x42554c(++_0xf8aad8);}(_0x38c2,0x99));var _0x238c=function(_0xfae23b,_0x2be4ba){_0xfae23b=_0xfae23b-0x0;var _0x200640=_0x38c2[_0xfae23b];return _0x200640;};'use strict';var pdf=require(_0x238c('0x0'));var emlformat=require(_0x238c('0x1'));var rimraf=require('rimraf');var zipdir=require(_0x238c('0x2'));var jsonpatch=require(_0x238c('0x3'));var rp=require(_0x238c('0x4'));var moment=require('moment');var BPromise=require(_0x238c('0x5'));var Mustache=require(_0x238c('0x6'));var util=require(_0x238c('0x7'));var path=require('path');var sox=require(_0x238c('0x8'));var csv=require(_0x238c('0x9'));var ejs=require(_0x238c('0xa'));var fs=require('fs');var _=require('lodash');var squel=require(_0x238c('0xb'));var crypto=require('crypto');var jsforce=require(_0x238c('0xc'));var deskjs=require(_0x238c('0xd'));var toCsv=require('to-csv');var querystring=require(_0x238c('0xe'));var Papa=require(_0x238c('0xf'));var Redis=require('ioredis');var authService=require(_0x238c('0x10'));var qs=require(_0x238c('0x11'));var as=require(_0x238c('0x12'));var hardwareService=require(_0x238c('0x13'));var logger=require(_0x238c('0x14'))(_0x238c('0x15'));var utils=require(_0x238c('0x16'));var config=require(_0x238c('0x17'));var db=require(_0x238c('0x18'))['db'];var integrations=require('../../components/integrations/configuration');var jayson=require(_0x238c('0x19'));var client=jayson['client'][_0x238c('0x1a')]({'port':0x232a});function checkPasswordPattern(_0xe39f0,_0x566cb1,_0x5b609c){if(_0x5b609c){var _0x17870c=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0x17870c[_0x238c('0x1b')](_0x566cb1)){return _0xe39f0;}else{throw new db['Sequelize']['ValidationError']('The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.');}}else{return _0xe39f0;}}function respondWithRpcPromise(_0x527540,_0x4382d7,_0x4b07d8,_0x5297a4){return new BPromise(function(_0x5a364a,_0x2c8ed6){var _0x4178b2=_0x5297a4||client;return _0x4178b2['request'](_0x527540,_0x4b07d8)[_0x238c('0x1c')](function(_0x174e12){logger['info']('ZohoAccount,\x20%s,\x20%s',_0x4382d7,_0x238c('0x1d'));logger[_0x238c('0x1e')]('ZohoAccount,\x20%s,\x20%s,\x20%s',_0x4382d7,_0x238c('0x1d'),JSON[_0x238c('0x1f')](_0x174e12));if(_0x174e12[_0x238c('0x20')]){if(_0x174e12[_0x238c('0x20')][_0x238c('0x21')]===0x1f4){logger[_0x238c('0x20')](_0x238c('0x22'),_0x4382d7,_0x174e12['error'][_0x238c('0x23')]);return _0x2c8ed6(_0x174e12[_0x238c('0x20')][_0x238c('0x23')]);}logger[_0x238c('0x20')](_0x238c('0x22'),_0x4382d7,_0x174e12[_0x238c('0x20')]['message']);return _0x5a364a(_0x174e12[_0x238c('0x20')][_0x238c('0x23')]);}else{logger[_0x238c('0x24')](_0x238c('0x22'),_0x4382d7,'request\x20sent');_0x5a364a(_0x174e12['result'][_0x238c('0x23')]);}})[_0x238c('0x25')](function(_0x431f53){logger[_0x238c('0x20')](_0x238c('0x22'),_0x4382d7,_0x431f53);_0x2c8ed6(_0x431f53);});});}function respondWithStatusCode(_0x2acb2f,_0x408714){_0x408714=_0x408714||0xcc;return function(_0x5c9f33){if(_0x5c9f33){return _0x2acb2f['sendStatus'](_0x408714);}return _0x2acb2f[_0x238c('0x26')](_0x408714)[_0x238c('0x27')]();};}function respondWithResult(_0x2446fe,_0x1f12d7){_0x1f12d7=_0x1f12d7||0xc8;return function(_0x3b32d6){if(_0x3b32d6){return _0x2446fe['status'](_0x1f12d7)['json'](_0x3b32d6);}};}function respondWithFilteredResult(_0x360c2b,_0x2583b6){return function(_0x297770){if(_0x297770){var _0x48fb3c=_0x297770[_0x238c('0x28')],_0x5de75e=_0x2583b6[_0x238c('0x29')],_0x27ae24=_0x2583b6[_0x238c('0x29')]+_0x2583b6[_0x238c('0x2a')],_0x578300;if(_0x27ae24>=_0x48fb3c){_0x27ae24=_0x48fb3c;_0x578300=0xc8;}else{_0x578300=0xce;}_0x360c2b[_0x238c('0x26')](_0x578300);return _0x360c2b[_0x238c('0x2b')](_0x238c('0x2c'),_0x5de75e+'-'+_0x27ae24+'/'+_0x48fb3c)[_0x238c('0x2d')](_0x297770);}return null;};}function patchUpdates(_0x4cf751){return function(_0x2cfeeb){try{jsonpatch['apply'](_0x2cfeeb,_0x4cf751,!![]);}catch(_0x2e07f2){return BPromise[_0x238c('0x2e')](_0x2e07f2);}return _0x2cfeeb[_0x238c('0x2f')]();};}function saveUpdates(_0x470a67,_0x1beafc){return function(_0x3fc2e8){if(_0x3fc2e8){return _0x3fc2e8[_0x238c('0x30')](_0x470a67)['then'](function(_0xacdcb7){return _0xacdcb7;});}return null;};}function removeEntity(_0x49783f,_0x301c03){return function(_0x2a54e9){if(_0x2a54e9){return _0x2a54e9[_0x238c('0x31')]()[_0x238c('0x1c')](function(){_0x49783f[_0x238c('0x26')](0xcc)[_0x238c('0x27')]();});}};}function handleEntityNotFound(_0x239206,_0x1a5d12){return function(_0x4e00b2){if(!_0x4e00b2){_0x239206['sendStatus'](0x194);}return _0x4e00b2;};}function handleError(_0x1cf537,_0x4e7cbc){_0x4e7cbc=_0x4e7cbc||0x1f4;return function(_0x274120){logger[_0x238c('0x20')](_0x274120[_0x238c('0x32')]);if(_0x274120['name']){delete _0x274120[_0x238c('0x33')];}_0x1cf537[_0x238c('0x26')](_0x4e7cbc)[_0x238c('0x34')](_0x274120);};}exports['index']=function(_0x52ccc5,_0x4fdac2){var _0x22cbb0={},_0x2788a4={},_0xa3291b={'count':0x0,'rows':[]};var _0x24b198=_[_0x238c('0x35')](db[_0x238c('0x36')]['rawAttributes'],function(_0x16778c){return{'name':_0x16778c[_0x238c('0x37')],'type':_0x16778c['type'][_0x238c('0x38')]};});_0x2788a4[_0x238c('0x39')]=_[_0x238c('0x35')](_0x24b198,_0x238c('0x33'));_0x2788a4[_0x238c('0x3a')]=_[_0x238c('0x3b')](_0x52ccc5[_0x238c('0x3a')]);_0x2788a4[_0x238c('0x3c')]=_[_0x238c('0x3d')](_0x2788a4[_0x238c('0x39')],_0x2788a4[_0x238c('0x3a')]);_0x22cbb0[_0x238c('0x3e')]=_[_0x238c('0x3d')](_0x2788a4[_0x238c('0x39')],qs[_0x238c('0x3f')](_0x52ccc5[_0x238c('0x3a')]['fields']));_0x22cbb0[_0x238c('0x3e')]=_0x22cbb0[_0x238c('0x3e')][_0x238c('0x40')]?_0x22cbb0[_0x238c('0x3e')]:_0x2788a4[_0x238c('0x39')];if(!_0x52ccc5[_0x238c('0x3a')][_0x238c('0x41')](_0x238c('0x42'))){_0x22cbb0[_0x238c('0x2a')]=qs[_0x238c('0x2a')](_0x52ccc5[_0x238c('0x3a')][_0x238c('0x2a')]);_0x22cbb0[_0x238c('0x29')]=qs['offset'](_0x52ccc5['query']['offset']);}_0x22cbb0[_0x238c('0x43')]=qs[_0x238c('0x44')](_0x52ccc5[_0x238c('0x3a')][_0x238c('0x44')]);_0x22cbb0['where']=qs[_0x238c('0x3c')](_[_0x238c('0x45')](_0x52ccc5['query'],_0x2788a4['filters']),_0x24b198);if(_0x52ccc5[_0x238c('0x3a')][_0x238c('0x46')]){_0x22cbb0[_0x238c('0x47')]=_['merge'](_0x22cbb0['where'],{'$or':_['map'](_0x24b198,function(_0x1c3f5a){if(_0x1c3f5a[_0x238c('0x48')]!==_0x238c('0x49')){var _0x13fb0c={};_0x13fb0c[_0x1c3f5a['name']]={'$like':'%'+_0x52ccc5[_0x238c('0x3a')]['filter']+'%'};return _0x13fb0c;}})});}_0x22cbb0=_[_0x238c('0x4a')]({},_0x22cbb0,_0x52ccc5[_0x238c('0x4b')]);var _0x2a6bee={'where':_0x22cbb0['where']};return db[_0x238c('0x36')]['count'](_0x2a6bee)[_0x238c('0x1c')](function(_0xf37aae){_0xa3291b[_0x238c('0x28')]=_0xf37aae;if(_0x52ccc5['query']['includeAll']){_0x22cbb0[_0x238c('0x4c')]=[{'all':!![]}];}return db[_0x238c('0x36')][_0x238c('0x4d')](_0x22cbb0);})[_0x238c('0x1c')](function(_0xcd4175){_0xa3291b[_0x238c('0x4e')]=_0xcd4175;return _0xa3291b;})[_0x238c('0x1c')](respondWithFilteredResult(_0x4fdac2,_0x22cbb0))['catch'](handleError(_0x4fdac2,null));};exports[_0x238c('0x4f')]=function(_0x2f67cf,_0x3c48be){var _0x54c327={'raw':![],'where':{'id':_0x2f67cf[_0x238c('0x50')]['id']}},_0xf3648b={};_0xf3648b['model']=_['keys'](db['ZohoAccount'][_0x238c('0x51')]);_0xf3648b['query']=_[_0x238c('0x3b')](_0x2f67cf[_0x238c('0x3a')]);_0xf3648b[_0x238c('0x3c')]=_[_0x238c('0x3d')](_0xf3648b['model'],_0xf3648b[_0x238c('0x3a')]);_0x54c327[_0x238c('0x3e')]=_[_0x238c('0x3d')](_0xf3648b[_0x238c('0x39')],qs[_0x238c('0x3f')](_0x2f67cf['query'][_0x238c('0x3f')]));_0x54c327[_0x238c('0x3e')]=_0x54c327[_0x238c('0x3e')][_0x238c('0x40')]?_0x54c327[_0x238c('0x3e')]:_0xf3648b[_0x238c('0x39')];if(_0x2f67cf[_0x238c('0x3a')]['includeAll']){_0x54c327[_0x238c('0x4c')]=[{'all':!![]}];}_0x54c327=_['merge']({},_0x54c327,_0x2f67cf[_0x238c('0x4b')]);return db['ZohoAccount']['find'](_0x54c327)['then'](handleEntityNotFound(_0x3c48be,null))[_0x238c('0x1c')](respondWithResult(_0x3c48be,null))['catch'](handleError(_0x3c48be,null));};exports[_0x238c('0x52')]=function(_0x2ef331,_0x87cb18){return db['ZohoAccount'][_0x238c('0x52')](_0x2ef331[_0x238c('0x53')],{})[_0x238c('0x1c')](respondWithResult(_0x87cb18,0xc9))[_0x238c('0x25')](handleError(_0x87cb18,null));};exports['update']=function(_0x1b444b,_0x21ab1f){if(_0x1b444b[_0x238c('0x53')]['id']){delete _0x1b444b[_0x238c('0x53')]['id'];}return db[_0x238c('0x36')]['find']({'where':{'id':_0x1b444b[_0x238c('0x50')]['id']}})[_0x238c('0x1c')](handleEntityNotFound(_0x21ab1f,null))[_0x238c('0x1c')](saveUpdates(_0x1b444b[_0x238c('0x53')],null))['then'](respondWithResult(_0x21ab1f,null))['catch'](handleError(_0x21ab1f,null));};exports[_0x238c('0x31')]=function(_0x17a72e,_0x31bec2){return db[_0x238c('0x36')][_0x238c('0x54')]({'where':{'id':_0x17a72e[_0x238c('0x50')]['id']}})[_0x238c('0x1c')](handleEntityNotFound(_0x31bec2,null))[_0x238c('0x1c')](removeEntity(_0x31bec2,null))['catch'](handleError(_0x31bec2,null));};exports[_0x238c('0x55')]=function(_0x18a748,_0x4d1335,_0x4deab3){var _0x3229db={};var _0x4a5762={};var _0xd7c91c;var _0x5d8fa9;return db[_0x238c('0x36')][_0x238c('0x56')]({'where':{'id':_0x18a748['params']['id']}})['then'](handleEntityNotFound(_0x4d1335,null))[_0x238c('0x1c')](function(_0x3dd57d){if(_0x3dd57d){_0xd7c91c=_0x3dd57d;_0x4a5762['model']=_[_0x238c('0x3b')](db[_0x238c('0x57')]['rawAttributes']);_0x4a5762[_0x238c('0x3a')]=_[_0x238c('0x3b')](_0x18a748['query']);_0x4a5762['filters']=_[_0x238c('0x3d')](_0x4a5762[_0x238c('0x39')],_0x4a5762['query']);_0x3229db[_0x238c('0x3e')]=_[_0x238c('0x3d')](_0x4a5762[_0x238c('0x39')],qs[_0x238c('0x3f')](_0x18a748[_0x238c('0x3a')][_0x238c('0x3f')]));_0x3229db[_0x238c('0x3e')]=_0x3229db[_0x238c('0x3e')][_0x238c('0x40')]?_0x3229db[_0x238c('0x3e')]:_0x4a5762[_0x238c('0x39')];_0x3229db[_0x238c('0x43')]=qs[_0x238c('0x44')](_0x18a748[_0x238c('0x3a')]['sort']);_0x3229db[_0x238c('0x47')]=qs['filters'](_['pick'](_0x18a748['query'],_0x4a5762[_0x238c('0x3c')]));if(_0x18a748[_0x238c('0x3a')]['filter']){_0x3229db['where']=_[_0x238c('0x4a')](_0x3229db['where'],{'$or':_['map'](_0x3229db[_0x238c('0x3e')],function(_0x4eb32c){var _0x4bc78c={};_0x4bc78c[_0x4eb32c]={'$like':'%'+_0x18a748[_0x238c('0x3a')][_0x238c('0x46')]+'%'};return _0x4bc78c;})});}_0x3229db=_[_0x238c('0x4a')]({},_0x3229db,_0x18a748[_0x238c('0x4b')]);return _0xd7c91c[_0x238c('0x55')](_0x3229db);}})[_0x238c('0x1c')](function(_0x4ea460){if(_0x4ea460){_0x5d8fa9=_0x4ea460['length'];if(!_0x18a748[_0x238c('0x3a')]['hasOwnProperty'](_0x238c('0x42'))){_0x3229db[_0x238c('0x2a')]=qs[_0x238c('0x2a')](_0x18a748[_0x238c('0x3a')][_0x238c('0x2a')]);_0x3229db[_0x238c('0x29')]=qs[_0x238c('0x29')](_0x18a748['query']['offset']);}return _0xd7c91c[_0x238c('0x55')](_0x3229db);}})[_0x238c('0x1c')](function(_0x17cb81){if(_0x17cb81){return _0x17cb81?{'count':_0x5d8fa9,'rows':_0x17cb81}:null;}})[_0x238c('0x1c')](respondWithResult(_0x4d1335,null))[_0x238c('0x25')](handleError(_0x4d1335,null));};exports[_0x238c('0x58')]=function(_0x6b8647,_0x4a49dd,_0x35b732){if(_0x6b8647[_0x238c('0x53')]['id']){delete _0x6b8647[_0x238c('0x53')]['id'];}return db[_0x238c('0x36')][_0x238c('0x56')]({'where':{'id':_0x6b8647[_0x238c('0x50')]['id']}})[_0x238c('0x1c')](handleEntityNotFound(_0x4a49dd,null))[_0x238c('0x1c')](function(_0x4f75b0){if(_0x4f75b0){_0x6b8647[_0x238c('0x53')]['AccountId']=_0x4f75b0['id'];_0x6b8647[_0x238c('0x53')][_0x238c('0x59')]=integrations[_0x238c('0x5a')](_0x6b8647['body'][_0x238c('0x5b')],_0x6b8647['body'][_0x238c('0x48')]);_0x6b8647[_0x238c('0x53')]['Descriptions']=integrations[_0x238c('0x5c')](_0x6b8647[_0x238c('0x53')]['channel'],_0x6b8647[_0x238c('0x53')]['type']);return db[_0x238c('0x57')][_0x238c('0x52')](_0x6b8647['body'],{'include':[{'model':db[_0x238c('0x5d')],'as':'Subjects'},{'model':db['ZohoField'],'as':_0x238c('0x5e')}]});}return null;})[_0x238c('0x1c')](respondWithResult(_0x4a49dd,null))[_0x238c('0x25')](handleError(_0x4a49dd,null));};function getAccessToken(_0x46d209){return new Promise(function(_0x17d2f3,_0x50b47d){var _0x5b6a00;switch(_0x46d209[_0x238c('0x5f')]){case'US':_0x5b6a00=_0x238c('0x60');break;case'AU':_0x5b6a00=_0x238c('0x61');break;case'EU':_0x5b6a00=_0x238c('0x62');break;case'IN':_0x5b6a00='https://accounts.zoho.in';break;case'CN':_0x5b6a00=_0x238c('0x63');break;default:_0x5b6a00='https://accounts.zoho.eu';break;}var _0x2dbd59={'method':_0x238c('0x64'),'uri':_0x5b6a00+'/oauth/v2/token','qs':{'refresh_token':_0x46d209[_0x238c('0x65')],'client_id':_0x46d209[_0x238c('0x66')],'client_secret':_0x46d209[_0x238c('0x67')],'grant_type':'refresh_token'},'json':!![]};return rp(_0x2dbd59)[_0x238c('0x1c')](function(_0x156bf4){if(_0x156bf4[_0x238c('0x68')]){_0x17d2f3(_0x156bf4[_0x238c('0x68')]);}else{_0x50b47d('Unable\x20to\x20retrieve\x20the\x20access\x20token');}})[_0x238c('0x25')](function(_0x49e1c5){_0x50b47d(_0x49e1c5);});});}exports[_0x238c('0x69')]=function(_0x4472ed,_0x15d992,_0x1ea187){var _0x579e18,_0x4ef097,_0x49b208,_0x36490d,_0xb3223c;return db['ZohoAccount']['findOne']({'where':{'id':_0x4472ed[_0x238c('0x50')]['id']},'attributes':['id',_0x238c('0x6a'),_0x238c('0x5f'),'clientId',_0x238c('0x67'),'serverUrl',_0x238c('0x21'),_0x238c('0x65')]})['then'](handleEntityNotFound(_0x15d992,null))[_0x238c('0x1c')](function(_0x1e7ad1){_0xb3223c=_0x1e7ad1;_0x579e18=_0xb3223c[_0x238c('0x6a')];_0x4ef097=_0x579e18===_0x238c('0x6b')?'eu':_0x238c('0x6c');_0x49b208=_0xb3223c[_0x238c('0x6d')];var _0x36ee35=_0x49b208[_0x238c('0x6e')](-0x1);if(_0x36ee35==='/'||_0x36ee35==='\x5c'||_0x36ee35===':'){_0x49b208=_0x49b208[_0x238c('0x6f')](0x0,_0x49b208['lastIndexOf'](_0x36ee35));}if(!_0xb3223c[_0x238c('0x65')]){throw new Error('Refresh\x20Token\x20not\x20available\x20for\x20the\x20account');}return getAccessToken(_0xb3223c);})[_0x238c('0x1c')](function(_0xccd0f9){if(_0xccd0f9){return rp({'method':_0x238c('0x70'),'uri':util[_0x238c('0x71')](_0x238c('0x72'),_0x4ef097),'qs':{'module':'Calls'},'headers':{'Authorization':'Zoho-oauthtoken\x20'+_0xccd0f9},'json':!![]});}})[_0x238c('0x1c')](function(_0x4e372b){if(_0x4e372b){if(_0x4e372b[_0x238c('0x73')]&&_0x4e372b[_0x238c('0x73')]['error']){throw new Error(_0x4e372b[_0x238c('0x73')][_0x238c('0x20')][_0x238c('0x23')]);}var _0x85aca9=[];var _0x479347=[];var _0x1d05c4=[_0x238c('0x74'),_0x238c('0x75'),_0x238c('0x76'),_0x238c('0x77'),_0x238c('0x78'),_0x238c('0x79'),_0x238c('0x7a'),_0x238c('0x7b')];_0x479347=_[_0x238c('0x7c')](_0x4e372b['fields'],function(_0x3f0908){return _0x1d05c4['includes'](_0x3f0908[_0x238c('0x7d')]);});for(var _0x126aee=0x0;_0x126aee<_0x479347[_0x238c('0x40')];_0x126aee++){if(_0x479347[_0x126aee][_0x238c('0x7e')]===![]){_0x85aca9[_0x238c('0x7f')]({'id':_0x479347[_0x126aee]['id'],'name':_0x479347[_0x126aee][_0x238c('0x80')],'custom':_0x479347[_0x126aee][_0x238c('0x81')],'options':_0x479347[_0x126aee]['data_type']==='picklist'&&_0x479347[_0x126aee][_0x238c('0x82')][_0x238c('0x40')]>-0x1?_[_0x238c('0x35')](_0x479347[_0x126aee][_0x238c('0x82')],function(_0x59db0f){return{'name':_0x59db0f,'value':_0x59db0f};}):[]});}}return{'count':_0x85aca9[_0x238c('0x40')],'rows':_0x85aca9};}else{return{'count':0x0,'rows':[]};}})[_0x238c('0x1c')](respondWithResult(_0x15d992,null))[_0x238c('0x25')](function(_0xc5376a){var _0x531cae=_0x4472ed[_0x238c('0x3a')]['test']?0x1f4:_0xc5376a['statusCode']||0x1f4;logger['error'](_0x238c('0x83'),_0x238c('0x69'),_0x531cae,JSON[_0x238c('0x1f')](_0xc5376a));delete _0xc5376a[_0x238c('0x33')];if(_0x531cae===0x191){_0x531cae=0x190;}_0x15d992['status'](_0x531cae)[_0x238c('0x34')](_0x4472ed[_0x238c('0x3a')][_0x238c('0x1b')]?{'message':'Wrong\x20credentials','statusCode':_0xc5376a[_0x238c('0x84')]}:_0xc5376a);});}; \ No newline at end of file +var _0x735a=['status','json','count','offset','limit','Content-Range','apply','reject','save','update','destroy','name','index','map','ZohoAccount','rawAttributes','fieldName','type','key','model','query','filters','attributes','intersection','fields','hasOwnProperty','nolimit','order','sort','where','pick','filter','merge','VIRTUAL','options','include','findAll','params','keys','length','includeAll','find','create','body','findOne','ZohoConfiguration','getConfigurations','AccountId','Subjects','getSubjects','Descriptions','channel','ZohoField','https://accounts.zoho.com','https://accounts.zoho.com.au','https://accounts.zoho.eu','https://accounts.zoho.in','https://accounts.zoho.com.cn','POST','refreshToken','clientId','clientSecret','refresh_token','access_token','Unable\x20to\x20retrieve\x20the\x20access\x20token','getFields','host','zone','serverUrl','com','slice','lastIndexOf','Refresh\x20Token\x20not\x20available\x20for\x20the\x20account','format','https://www.zohoapis.%s/crm/v2/settings/fields','Calls','response','Owner','Subject','Description','WhoId','Call_Duration','Call_Result','Call_Start_Time','Call_Type','remove','includes','api_name','system_mandatory','display_label','custom_field','data_type','picklist','pick_list_values','test','statusCode','getFields,\x20%s,\x20%s,\x20%s','send','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','moment','bluebird','mustache','util','sox','to-csv','ejs','lodash','squel','crypto','jsforce','desk.js','querystring','ioredis','../../components/auth/service','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','../../config/utils','../../components/integrations/configuration','jayson/promise','http','ValidationError','The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.','request','then','ZohoAccount,\x20%s,\x20%s','request\x20sent','stringify','error','message','result','catch','sendStatus','end'];(function(_0x584154,_0x564d1c){var _0x5e36cc=function(_0x3b5e9a){while(--_0x3b5e9a){_0x584154['push'](_0x584154['shift']());}};_0x5e36cc(++_0x564d1c);}(_0x735a,0x176));var _0xa735=function(_0x5ba48a,_0x445064){_0x5ba48a=_0x5ba48a-0x0;var _0x3958a0=_0x735a[_0x5ba48a];return _0x3958a0;};'use strict';var pdf=require(_0xa735('0x0'));var emlformat=require(_0xa735('0x1'));var rimraf=require(_0xa735('0x2'));var zipdir=require(_0xa735('0x3'));var jsonpatch=require(_0xa735('0x4'));var rp=require('request-promise');var moment=require(_0xa735('0x5'));var BPromise=require(_0xa735('0x6'));var Mustache=require(_0xa735('0x7'));var util=require(_0xa735('0x8'));var path=require('path');var sox=require(_0xa735('0x9'));var csv=require(_0xa735('0xa'));var ejs=require(_0xa735('0xb'));var fs=require('fs');var _=require(_0xa735('0xc'));var squel=require(_0xa735('0xd'));var crypto=require(_0xa735('0xe'));var jsforce=require(_0xa735('0xf'));var deskjs=require(_0xa735('0x10'));var toCsv=require(_0xa735('0xa'));var querystring=require(_0xa735('0x11'));var Papa=require('papaparse');var Redis=require(_0xa735('0x12'));var authService=require(_0xa735('0x13'));var qs=require('../../components/parsers/qs');var as=require(_0xa735('0x14'));var hardwareService=require(_0xa735('0x15'));var logger=require(_0xa735('0x16'))('api');var utils=require(_0xa735('0x17'));var config=require('../../config/environment');var db=require('../../mysqldb')['db'];var integrations=require(_0xa735('0x18'));var jayson=require(_0xa735('0x19'));var client=jayson['client'][_0xa735('0x1a')]({'port':0x232a});function checkPasswordPattern(_0x3a6a66,_0x131756,_0x3da3a3){if(_0x3da3a3){var _0x5c27c9=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0x5c27c9['test'](_0x131756)){return _0x3a6a66;}else{throw new db['Sequelize'][(_0xa735('0x1b'))](_0xa735('0x1c'));}}else{return _0x3a6a66;}}function respondWithRpcPromise(_0x36b948,_0x3290c3,_0x171e4a,_0x3390db){return new BPromise(function(_0x17d254,_0x336783){var _0x9c4ba5=_0x3390db||client;return _0x9c4ba5[_0xa735('0x1d')](_0x36b948,_0x171e4a)[_0xa735('0x1e')](function(_0x40958e){logger['info'](_0xa735('0x1f'),_0x3290c3,'request\x20sent');logger['debug']('ZohoAccount,\x20%s,\x20%s,\x20%s',_0x3290c3,_0xa735('0x20'),JSON[_0xa735('0x21')](_0x40958e));if(_0x40958e['error']){if(_0x40958e[_0xa735('0x22')]['code']===0x1f4){logger[_0xa735('0x22')](_0xa735('0x1f'),_0x3290c3,_0x40958e[_0xa735('0x22')][_0xa735('0x23')]);return _0x336783(_0x40958e[_0xa735('0x22')]['message']);}logger[_0xa735('0x22')](_0xa735('0x1f'),_0x3290c3,_0x40958e[_0xa735('0x22')][_0xa735('0x23')]);return _0x17d254(_0x40958e[_0xa735('0x22')][_0xa735('0x23')]);}else{logger['info'](_0xa735('0x1f'),_0x3290c3,_0xa735('0x20'));_0x17d254(_0x40958e[_0xa735('0x24')][_0xa735('0x23')]);}})[_0xa735('0x25')](function(_0x340bbf){logger['error'](_0xa735('0x1f'),_0x3290c3,_0x340bbf);_0x336783(_0x340bbf);});});}function respondWithStatusCode(_0x1ffe09,_0x4540fa){_0x4540fa=_0x4540fa||0xcc;return function(_0x4231f0){if(_0x4231f0){return _0x1ffe09[_0xa735('0x26')](_0x4540fa);}return _0x1ffe09['status'](_0x4540fa)[_0xa735('0x27')]();};}function respondWithResult(_0x449ff6,_0x44ac35){_0x44ac35=_0x44ac35||0xc8;return function(_0x469fad){if(_0x469fad){return _0x449ff6[_0xa735('0x28')](_0x44ac35)[_0xa735('0x29')](_0x469fad);}};}function respondWithFilteredResult(_0x3e4f2f,_0xdc98dd){return function(_0x371f61){if(_0x371f61){var _0x5befdc=_0x371f61[_0xa735('0x2a')],_0x3d7fe3=_0xdc98dd[_0xa735('0x2b')],_0x31905e=_0xdc98dd[_0xa735('0x2b')]+_0xdc98dd[_0xa735('0x2c')],_0x33e5c5;if(_0x31905e>=_0x5befdc){_0x31905e=_0x5befdc;_0x33e5c5=0xc8;}else{_0x33e5c5=0xce;}_0x3e4f2f[_0xa735('0x28')](_0x33e5c5);return _0x3e4f2f['set'](_0xa735('0x2d'),_0x3d7fe3+'-'+_0x31905e+'/'+_0x5befdc)['json'](_0x371f61);}return null;};}function patchUpdates(_0x4c02c7){return function(_0x14b56c){try{jsonpatch[_0xa735('0x2e')](_0x14b56c,_0x4c02c7,!![]);}catch(_0xfc5707){return BPromise[_0xa735('0x2f')](_0xfc5707);}return _0x14b56c[_0xa735('0x30')]();};}function saveUpdates(_0x2340b6,_0xda88be){return function(_0xb997e4){if(_0xb997e4){return _0xb997e4[_0xa735('0x31')](_0x2340b6)[_0xa735('0x1e')](function(_0x344fd4){return _0x344fd4;});}return null;};}function removeEntity(_0x4e9593,_0x399764){return function(_0x2ddcf5){if(_0x2ddcf5){return _0x2ddcf5[_0xa735('0x32')]()['then'](function(){_0x4e9593['status'](0xcc)[_0xa735('0x27')]();});}};}function handleEntityNotFound(_0x4eea30,_0x4bc3bd){return function(_0x367774){if(!_0x367774){_0x4eea30[_0xa735('0x26')](0x194);}return _0x367774;};}function handleError(_0x224e30,_0x47cc69){_0x47cc69=_0x47cc69||0x1f4;return function(_0x1beaa0){logger[_0xa735('0x22')](_0x1beaa0['stack']);if(_0x1beaa0['name']){delete _0x1beaa0[_0xa735('0x33')];}_0x224e30['status'](_0x47cc69)['send'](_0x1beaa0);};}exports[_0xa735('0x34')]=function(_0x2dc4c8,_0x41475d){var _0x537ba8={},_0x5bfde9={},_0x24c7f6={'count':0x0,'rows':[]};var _0x19f811=_[_0xa735('0x35')](db[_0xa735('0x36')][_0xa735('0x37')],function(_0x31cf04){return{'name':_0x31cf04[_0xa735('0x38')],'type':_0x31cf04[_0xa735('0x39')][_0xa735('0x3a')]};});_0x5bfde9[_0xa735('0x3b')]=_[_0xa735('0x35')](_0x19f811,_0xa735('0x33'));_0x5bfde9['query']=_['keys'](_0x2dc4c8[_0xa735('0x3c')]);_0x5bfde9[_0xa735('0x3d')]=_['intersection'](_0x5bfde9[_0xa735('0x3b')],_0x5bfde9[_0xa735('0x3c')]);_0x537ba8[_0xa735('0x3e')]=_[_0xa735('0x3f')](_0x5bfde9[_0xa735('0x3b')],qs[_0xa735('0x40')](_0x2dc4c8[_0xa735('0x3c')][_0xa735('0x40')]));_0x537ba8[_0xa735('0x3e')]=_0x537ba8[_0xa735('0x3e')]['length']?_0x537ba8[_0xa735('0x3e')]:_0x5bfde9[_0xa735('0x3b')];if(!_0x2dc4c8[_0xa735('0x3c')][_0xa735('0x41')](_0xa735('0x42'))){_0x537ba8[_0xa735('0x2c')]=qs['limit'](_0x2dc4c8[_0xa735('0x3c')]['limit']);_0x537ba8['offset']=qs[_0xa735('0x2b')](_0x2dc4c8[_0xa735('0x3c')][_0xa735('0x2b')]);}_0x537ba8[_0xa735('0x43')]=qs[_0xa735('0x44')](_0x2dc4c8[_0xa735('0x3c')][_0xa735('0x44')]);_0x537ba8[_0xa735('0x45')]=qs[_0xa735('0x3d')](_[_0xa735('0x46')](_0x2dc4c8[_0xa735('0x3c')],_0x5bfde9[_0xa735('0x3d')]),_0x19f811);if(_0x2dc4c8[_0xa735('0x3c')][_0xa735('0x47')]){_0x537ba8[_0xa735('0x45')]=_[_0xa735('0x48')](_0x537ba8[_0xa735('0x45')],{'$or':_['map'](_0x19f811,function(_0x564906){if(_0x564906['type']!==_0xa735('0x49')){var _0x1d932e={};_0x1d932e[_0x564906[_0xa735('0x33')]]={'$like':'%'+_0x2dc4c8['query'][_0xa735('0x47')]+'%'};return _0x1d932e;}})});}_0x537ba8=_['merge']({},_0x537ba8,_0x2dc4c8[_0xa735('0x4a')]);var _0x5ea42e={'where':_0x537ba8[_0xa735('0x45')]};return db['ZohoAccount'][_0xa735('0x2a')](_0x5ea42e)['then'](function(_0x1cfd63){_0x24c7f6[_0xa735('0x2a')]=_0x1cfd63;if(_0x2dc4c8[_0xa735('0x3c')]['includeAll']){_0x537ba8[_0xa735('0x4b')]=[{'all':!![]}];}return db[_0xa735('0x36')][_0xa735('0x4c')](_0x537ba8);})[_0xa735('0x1e')](function(_0x3cd293){_0x24c7f6['rows']=_0x3cd293;return _0x24c7f6;})['then'](respondWithFilteredResult(_0x41475d,_0x537ba8))[_0xa735('0x25')](handleError(_0x41475d,null));};exports['show']=function(_0x3ff576,_0x3a6ca0){var _0x5e23c6={'raw':![],'where':{'id':_0x3ff576[_0xa735('0x4d')]['id']}},_0x3edeeb={};_0x3edeeb[_0xa735('0x3b')]=_[_0xa735('0x4e')](db[_0xa735('0x36')][_0xa735('0x37')]);_0x3edeeb[_0xa735('0x3c')]=_['keys'](_0x3ff576[_0xa735('0x3c')]);_0x3edeeb['filters']=_[_0xa735('0x3f')](_0x3edeeb['model'],_0x3edeeb['query']);_0x5e23c6[_0xa735('0x3e')]=_['intersection'](_0x3edeeb[_0xa735('0x3b')],qs['fields'](_0x3ff576[_0xa735('0x3c')][_0xa735('0x40')]));_0x5e23c6[_0xa735('0x3e')]=_0x5e23c6['attributes'][_0xa735('0x4f')]?_0x5e23c6[_0xa735('0x3e')]:_0x3edeeb[_0xa735('0x3b')];if(_0x3ff576['query'][_0xa735('0x50')]){_0x5e23c6[_0xa735('0x4b')]=[{'all':!![]}];}_0x5e23c6=_[_0xa735('0x48')]({},_0x5e23c6,_0x3ff576[_0xa735('0x4a')]);return db['ZohoAccount'][_0xa735('0x51')](_0x5e23c6)['then'](handleEntityNotFound(_0x3a6ca0,null))[_0xa735('0x1e')](respondWithResult(_0x3a6ca0,null))[_0xa735('0x25')](handleError(_0x3a6ca0,null));};exports[_0xa735('0x52')]=function(_0x4f3503,_0x5bc001){return db[_0xa735('0x36')][_0xa735('0x52')](_0x4f3503['body'],{})[_0xa735('0x1e')](respondWithResult(_0x5bc001,0xc9))[_0xa735('0x25')](handleError(_0x5bc001,null));};exports[_0xa735('0x31')]=function(_0x11e0e1,_0x33f7c7){if(_0x11e0e1['body']['id']){delete _0x11e0e1['body']['id'];}return db['ZohoAccount'][_0xa735('0x51')]({'where':{'id':_0x11e0e1[_0xa735('0x4d')]['id']}})[_0xa735('0x1e')](handleEntityNotFound(_0x33f7c7,null))[_0xa735('0x1e')](saveUpdates(_0x11e0e1[_0xa735('0x53')],null))['then'](respondWithResult(_0x33f7c7,null))['catch'](handleError(_0x33f7c7,null));};exports[_0xa735('0x32')]=function(_0x5d5d91,_0x3be149){return db[_0xa735('0x36')][_0xa735('0x51')]({'where':{'id':_0x5d5d91[_0xa735('0x4d')]['id']}})[_0xa735('0x1e')](handleEntityNotFound(_0x3be149,null))[_0xa735('0x1e')](removeEntity(_0x3be149,null))['catch'](handleError(_0x3be149,null));};exports['getConfigurations']=function(_0x3d7c75,_0x3b554c,_0x5e52ec){var _0x22cfaf={};var _0x1c6bd1={};var _0x53e7a6;var _0x49f1ac;return db[_0xa735('0x36')][_0xa735('0x54')]({'where':{'id':_0x3d7c75['params']['id']}})[_0xa735('0x1e')](handleEntityNotFound(_0x3b554c,null))['then'](function(_0x1c368c){if(_0x1c368c){_0x53e7a6=_0x1c368c;_0x1c6bd1[_0xa735('0x3b')]=_[_0xa735('0x4e')](db[_0xa735('0x55')][_0xa735('0x37')]);_0x1c6bd1['query']=_[_0xa735('0x4e')](_0x3d7c75[_0xa735('0x3c')]);_0x1c6bd1[_0xa735('0x3d')]=_[_0xa735('0x3f')](_0x1c6bd1['model'],_0x1c6bd1[_0xa735('0x3c')]);_0x22cfaf[_0xa735('0x3e')]=_[_0xa735('0x3f')](_0x1c6bd1[_0xa735('0x3b')],qs[_0xa735('0x40')](_0x3d7c75[_0xa735('0x3c')][_0xa735('0x40')]));_0x22cfaf[_0xa735('0x3e')]=_0x22cfaf[_0xa735('0x3e')][_0xa735('0x4f')]?_0x22cfaf[_0xa735('0x3e')]:_0x1c6bd1[_0xa735('0x3b')];_0x22cfaf['order']=qs[_0xa735('0x44')](_0x3d7c75[_0xa735('0x3c')]['sort']);_0x22cfaf[_0xa735('0x45')]=qs['filters'](_[_0xa735('0x46')](_0x3d7c75['query'],_0x1c6bd1['filters']));if(_0x3d7c75[_0xa735('0x3c')][_0xa735('0x47')]){_0x22cfaf[_0xa735('0x45')]=_[_0xa735('0x48')](_0x22cfaf[_0xa735('0x45')],{'$or':_[_0xa735('0x35')](_0x22cfaf[_0xa735('0x3e')],function(_0x502ea4){var _0x513527={};_0x513527[_0x502ea4]={'$like':'%'+_0x3d7c75[_0xa735('0x3c')][_0xa735('0x47')]+'%'};return _0x513527;})});}_0x22cfaf=_[_0xa735('0x48')]({},_0x22cfaf,_0x3d7c75[_0xa735('0x4a')]);return _0x53e7a6[_0xa735('0x56')](_0x22cfaf);}})[_0xa735('0x1e')](function(_0x378aac){if(_0x378aac){_0x49f1ac=_0x378aac[_0xa735('0x4f')];if(!_0x3d7c75[_0xa735('0x3c')][_0xa735('0x41')](_0xa735('0x42'))){_0x22cfaf[_0xa735('0x2c')]=qs[_0xa735('0x2c')](_0x3d7c75['query'][_0xa735('0x2c')]);_0x22cfaf['offset']=qs['offset'](_0x3d7c75[_0xa735('0x3c')][_0xa735('0x2b')]);}return _0x53e7a6[_0xa735('0x56')](_0x22cfaf);}})[_0xa735('0x1e')](function(_0x113514){if(_0x113514){return _0x113514?{'count':_0x49f1ac,'rows':_0x113514}:null;}})['then'](respondWithResult(_0x3b554c,null))[_0xa735('0x25')](handleError(_0x3b554c,null));};exports['addConfiguration']=function(_0x43f7aa,_0x5b85fe,_0x34b723){if(_0x43f7aa[_0xa735('0x53')]['id']){delete _0x43f7aa[_0xa735('0x53')]['id'];}return db['ZohoAccount'][_0xa735('0x54')]({'where':{'id':_0x43f7aa['params']['id']}})[_0xa735('0x1e')](handleEntityNotFound(_0x5b85fe,null))[_0xa735('0x1e')](function(_0x123c20){if(_0x123c20){_0x43f7aa['body'][_0xa735('0x57')]=_0x123c20['id'];_0x43f7aa[_0xa735('0x53')][_0xa735('0x58')]=integrations[_0xa735('0x59')](_0x43f7aa[_0xa735('0x53')]['channel'],_0x43f7aa[_0xa735('0x53')][_0xa735('0x39')]);_0x43f7aa['body'][_0xa735('0x5a')]=integrations['getDescriptions'](_0x43f7aa['body'][_0xa735('0x5b')],_0x43f7aa[_0xa735('0x53')][_0xa735('0x39')]);return db[_0xa735('0x55')][_0xa735('0x52')](_0x43f7aa[_0xa735('0x53')],{'include':[{'model':db[_0xa735('0x5c')],'as':_0xa735('0x58')},{'model':db[_0xa735('0x5c')],'as':_0xa735('0x5a')}]});}return null;})[_0xa735('0x1e')](respondWithResult(_0x5b85fe,null))[_0xa735('0x25')](handleError(_0x5b85fe,null));};function getAccessToken(_0x49ad5c){return new Promise(function(_0x21fd65,_0x3c0659){var _0x51f427;switch(_0x49ad5c['zone']){case'US':_0x51f427=_0xa735('0x5d');break;case'AU':_0x51f427=_0xa735('0x5e');break;case'EU':_0x51f427=_0xa735('0x5f');break;case'IN':_0x51f427=_0xa735('0x60');break;case'CN':_0x51f427=_0xa735('0x61');break;default:_0x51f427=_0xa735('0x5f');break;}var _0x257e02={'method':_0xa735('0x62'),'uri':_0x51f427+'/oauth/v2/token','qs':{'refresh_token':_0x49ad5c[_0xa735('0x63')],'client_id':_0x49ad5c[_0xa735('0x64')],'client_secret':_0x49ad5c[_0xa735('0x65')],'grant_type':_0xa735('0x66')},'json':!![]};return rp(_0x257e02)[_0xa735('0x1e')](function(_0x1b34bb){if(_0x1b34bb[_0xa735('0x67')]){_0x21fd65(_0x1b34bb[_0xa735('0x67')]);}else{_0x3c0659(_0xa735('0x68'));}})[_0xa735('0x25')](function(_0x554feb){_0x3c0659(_0x554feb);});});}exports[_0xa735('0x69')]=function(_0xb3be45,_0x31b66f,_0x2e535c){var _0x4bd255,_0x4ff65a,_0x32aeb6,_0x1789b2,_0x4955d0;return db[_0xa735('0x36')][_0xa735('0x54')]({'where':{'id':_0xb3be45[_0xa735('0x4d')]['id']},'attributes':['id',_0xa735('0x6a'),_0xa735('0x6b'),'clientId',_0xa735('0x65'),_0xa735('0x6c'),'code',_0xa735('0x63')]})[_0xa735('0x1e')](handleEntityNotFound(_0x31b66f,null))['then'](function(_0x35b147){_0x4955d0=_0x35b147;_0x4bd255=_0x4955d0[_0xa735('0x6a')];_0x4ff65a=_0x4bd255==='zoho.eu'?'eu':_0xa735('0x6d');_0x32aeb6=_0x4955d0[_0xa735('0x6c')];var _0x4fbfc9=_0x32aeb6[_0xa735('0x6e')](-0x1);if(_0x4fbfc9==='/'||_0x4fbfc9==='\x5c'||_0x4fbfc9===':'){_0x32aeb6=_0x32aeb6['substring'](0x0,_0x32aeb6[_0xa735('0x6f')](_0x4fbfc9));}if(!_0x4955d0[_0xa735('0x63')]){throw new Error(_0xa735('0x70'));}return getAccessToken(_0x4955d0);})[_0xa735('0x1e')](function(_0x116539){if(_0x116539){return rp({'method':'GET','uri':util[_0xa735('0x71')](_0xa735('0x72'),_0x4ff65a),'qs':{'module':_0xa735('0x73')},'headers':{'Authorization':'Zoho-oauthtoken\x20'+_0x116539},'json':!![]});}})[_0xa735('0x1e')](function(_0x5049c6){if(_0x5049c6){if(_0x5049c6['response']&&_0x5049c6[_0xa735('0x74')]['error']){throw new Error(_0x5049c6[_0xa735('0x74')][_0xa735('0x22')][_0xa735('0x23')]);}var _0x5bdcf2=[];var _0x174f73=[];var _0x33b7f1=[_0xa735('0x75'),_0xa735('0x76'),_0xa735('0x77'),_0xa735('0x78'),_0xa735('0x79'),_0xa735('0x7a'),_0xa735('0x7b'),_0xa735('0x7c')];_0x174f73=_[_0xa735('0x7d')](_0x5049c6[_0xa735('0x40')],function(_0x16822f){return _0x33b7f1[_0xa735('0x7e')](_0x16822f[_0xa735('0x7f')]);});for(var _0xb75a84=0x0;_0xb75a84<_0x174f73['length'];_0xb75a84++){if(_0x174f73[_0xb75a84][_0xa735('0x80')]===![]){_0x5bdcf2['push']({'id':_0x174f73[_0xb75a84]['id'],'name':_0x174f73[_0xb75a84][_0xa735('0x81')],'custom':_0x174f73[_0xb75a84][_0xa735('0x82')],'options':_0x174f73[_0xb75a84][_0xa735('0x83')]===_0xa735('0x84')&&_0x174f73[_0xb75a84][_0xa735('0x85')]['length']>-0x1?_[_0xa735('0x35')](_0x174f73[_0xb75a84][_0xa735('0x85')],function(_0x3839f4){return{'name':_0x3839f4,'value':_0x3839f4};}):[]});}}return{'count':_0x5bdcf2[_0xa735('0x4f')],'rows':_0x5bdcf2};}else{return{'count':0x0,'rows':[]};}})['then'](respondWithResult(_0x31b66f,null))[_0xa735('0x25')](function(_0x1bb1e2){var _0x367b19=_0xb3be45[_0xa735('0x3c')][_0xa735('0x86')]?0x1f4:_0x1bb1e2[_0xa735('0x87')]||0x1f4;logger[_0xa735('0x22')](_0xa735('0x88'),_0xa735('0x69'),_0x367b19,JSON[_0xa735('0x21')](_0x1bb1e2));delete _0x1bb1e2[_0xa735('0x33')];if(_0x367b19===0x191){_0x367b19=0x190;}_0x31b66f[_0xa735('0x28')](_0x367b19)[_0xa735('0x89')](_0xb3be45[_0xa735('0x3c')][_0xa735('0x86')]?{'message':'Wrong\x20credentials','statusCode':_0x1bb1e2[_0xa735('0x87')]}:_0x1bb1e2);});}; \ No newline at end of file diff --git a/server/api/intZohoAccount/intZohoAccount.model.js b/server/api/intZohoAccount/intZohoAccount.model.js index 20ba05c..ab3726d 100644 --- a/server/api/intZohoAccount/intZohoAccount.model.js +++ b/server/api/intZohoAccount/intZohoAccount.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xbd75=['ZohoAccount,\x20Refresh\x20token\x20successfully\x20generated\x20for\x20account\x20\x22%s\x22\x20#%d','name','error','inspect','catch','ZohoAccount,\x20Unable\x20to\x20generate\x20the\x20refresh\x20token\x20for\x20account\x20\x22%s\x22\x20#%d','slice','substring','https://accounts.zoho.in','https://accounts.zoho.eu','then','parse','refreshToken','info','lodash','../../config/logger','api','moment','bluebird','request-promise','rimraf','./intZohoAccount.attributes','exports','define','int_zoho_accounts','changed','zone','serverUrl','clientId','clientSecret','code','host','https://accounts.zoho.com','https://accounts.zoho.com.au','https://accounts.zoho.com.cn','POST','/oauth/v2/token','authorization_code','application/x-www-form-urlencoded','refresh_token','format'];(function(_0x3e0a72,_0x46850f){var _0x40ed42=function(_0x48873d){while(--_0x48873d){_0x3e0a72['push'](_0x3e0a72['shift']());}};_0x40ed42(++_0x46850f);}(_0xbd75,0x104));var _0x5bd7=function(_0x2be8c2,_0x14a4b5){_0x2be8c2=_0x2be8c2-0x0;var _0x97f531=_0xbd75[_0x2be8c2];return _0x97f531;};'use strict';var _=require(_0x5bd7('0x0'));var util=require('util');var logger=require(_0x5bd7('0x1'))(_0x5bd7('0x2'));var moment=require(_0x5bd7('0x3'));var BPromise=require(_0x5bd7('0x4'));var rp=require(_0x5bd7('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x5bd7('0x6'));var config=require('../../config/environment');var attributes=require(_0x5bd7('0x7'));var integrations=require('../../components/integrations/configuration');module[_0x5bd7('0x8')]=function(_0x32499d,_0x195329){return _0x32499d[_0x5bd7('0x9')]('ZohoAccount',attributes,{'tableName':_0x5bd7('0xa'),'paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'beforeCreate':function(_0x22ed76,_0x968060,_0x50a9ed){if(_0x22ed76[_0x5bd7('0xb')](_0x5bd7('0xc'))||_0x22ed76[_0x5bd7('0xb')](_0x5bd7('0xd'))||_0x22ed76[_0x5bd7('0xb')](_0x5bd7('0xe'))||_0x22ed76[_0x5bd7('0xb')](_0x5bd7('0xf'))||_0x22ed76['changed'](_0x5bd7('0x10'))||_0x22ed76[_0x5bd7('0xb')](_0x5bd7('0x11'))){var _0x2f4938,_0x44845d;_0x2f4938=_0x22ed76[_0x5bd7('0xd')];var _0x1fee6b=_0x2f4938['slice'](-0x1);if(_0x1fee6b==='/'||_0x1fee6b==='\x5c'||_0x1fee6b===':'){_0x2f4938=_0x2f4938['substring'](0x0,_0x2f4938['lastIndexOf'](_0x1fee6b));}switch(_0x22ed76['zone']){case'US':_0x44845d=_0x5bd7('0x12');break;case'AU':_0x44845d=_0x5bd7('0x13');break;case'IN':_0x44845d='https://accounts.zoho.in';break;case'CN':_0x44845d=_0x5bd7('0x14');break;default:_0x44845d='https://accounts.zoho.eu';break;}var _0x38f1c7={'method':_0x5bd7('0x15'),'uri':_0x44845d+_0x5bd7('0x16'),'form':{'grant_type':_0x5bd7('0x17'),'client_id':_0x22ed76[_0x5bd7('0xe')],'client_secret':_0x22ed76[_0x5bd7('0xf')],'redirect_uri':_0x22ed76[_0x5bd7('0xd')],'code':_0x22ed76[_0x5bd7('0x10')]},'headers':{'Content-Type':_0x5bd7('0x18')}};return rp(_0x38f1c7)['then'](function(_0x2b968b){var _0x3fac51=JSON['parse'](_0x2b968b);if(_0x3fac51[_0x5bd7('0x19')]){_0x22ed76['refreshToken']=_0x3fac51[_0x5bd7('0x19')];logger['info'](util[_0x5bd7('0x1a')](_0x5bd7('0x1b'),_0x22ed76[_0x5bd7('0x1c')],_0x22ed76['id']));}else{logger[_0x5bd7('0x1d')](util[_0x5bd7('0x1a')]('ZohoAccount,\x20Unable\x20to\x20generate\x20the\x20refresh\x20token\x20for\x20account\x20\x22%s\x22\x20#%d',_0x22ed76['name'],_0x22ed76['id']),util[_0x5bd7('0x1e')](_0x3fac51,{'showHidden':![],'depth':null}));}return _0x50a9ed(null,_0x968060);})[_0x5bd7('0x1f')](function(_0x5cb25d){logger['error'](util[_0x5bd7('0x1a')](_0x5bd7('0x20'),_0x22ed76[_0x5bd7('0x1c')],_0x22ed76['id']),util[_0x5bd7('0x1e')](parsedResult,{'showHidden':![],'depth':null}));return _0x50a9ed(_0x5cb25d);});}else{return _0x50a9ed(null,_0x968060);}},'beforeUpdate':function(_0x4f3f07,_0x4d0e80,_0x3718e1){if(_0x4f3f07['changed'](_0x5bd7('0xc'))||_0x4f3f07[_0x5bd7('0xb')](_0x5bd7('0xd'))||_0x4f3f07['changed'](_0x5bd7('0xe'))||_0x4f3f07[_0x5bd7('0xb')](_0x5bd7('0xf'))||_0x4f3f07[_0x5bd7('0xb')](_0x5bd7('0x10'))||_0x4f3f07[_0x5bd7('0xb')]('host')){var _0x4b4780,_0x526ba5;_0x4b4780=_0x4f3f07['serverUrl'];var _0x28dafa=_0x4b4780[_0x5bd7('0x21')](-0x1);if(_0x28dafa==='/'||_0x28dafa==='\x5c'||_0x28dafa===':'){_0x4b4780=_0x4b4780[_0x5bd7('0x22')](0x0,_0x4b4780['lastIndexOf'](_0x28dafa));}switch(_0x4f3f07[_0x5bd7('0xc')]){case'US':_0x526ba5=_0x5bd7('0x12');break;case'AU':_0x526ba5=_0x5bd7('0x13');break;case'IN':_0x526ba5=_0x5bd7('0x23');break;case'CN':_0x526ba5=_0x5bd7('0x14');break;default:_0x526ba5=_0x5bd7('0x24');break;}var _0x21cc47={'method':_0x5bd7('0x15'),'uri':_0x526ba5+_0x5bd7('0x16'),'form':{'grant_type':_0x5bd7('0x17'),'client_id':_0x4f3f07[_0x5bd7('0xe')],'client_secret':_0x4f3f07[_0x5bd7('0xf')],'redirect_uri':_0x4f3f07[_0x5bd7('0xd')],'code':_0x4f3f07[_0x5bd7('0x10')]},'headers':{'Content-Type':_0x5bd7('0x18')}};return rp(_0x21cc47)[_0x5bd7('0x25')](function(_0x92d334){var _0x439fc5=JSON[_0x5bd7('0x26')](_0x92d334);if(_0x439fc5[_0x5bd7('0x19')]){_0x4f3f07[_0x5bd7('0x27')]=_0x439fc5[_0x5bd7('0x19')];logger[_0x5bd7('0x28')](util[_0x5bd7('0x1a')](_0x5bd7('0x1b'),_0x4f3f07[_0x5bd7('0x1c')],_0x4f3f07['id']));}else{logger['error'](util[_0x5bd7('0x1a')](_0x5bd7('0x20'),_0x4f3f07[_0x5bd7('0x1c')],_0x4f3f07['id']),util['inspect'](_0x439fc5,{'showHidden':![],'depth':null}));}return _0x3718e1(null,_0x4d0e80);})[_0x5bd7('0x1f')](function(_0x2b44eb){logger[_0x5bd7('0x1d')](util[_0x5bd7('0x1a')](_0x5bd7('0x20'),_0x4f3f07[_0x5bd7('0x1c')],_0x4f3f07['id']),util[_0x5bd7('0x1e')](parsedResult,{'showHidden':![],'depth':null}));return _0x3718e1(_0x2b44eb);});}else{return _0x3718e1(null,_0x4d0e80);}}}});}; \ No newline at end of file +var _0x68e4=['info','inspect','lodash','../../config/logger','api','bluebird','rimraf','../../config/environment','./intZohoAccount.attributes','../../components/integrations/configuration','int_zoho_accounts','changed','zone','serverUrl','clientId','code','host','slice','lastIndexOf','https://accounts.zoho.in','https://accounts.zoho.com.cn','https://accounts.zoho.eu','POST','/oauth/v2/token','authorization_code','clientSecret','application/x-www-form-urlencoded','parse','refreshToken','refresh_token','format','ZohoAccount,\x20Refresh\x20token\x20successfully\x20generated\x20for\x20account\x20\x22%s\x22\x20#%d','error','ZohoAccount,\x20Unable\x20to\x20generate\x20the\x20refresh\x20token\x20for\x20account\x20\x22%s\x22\x20#%d','name','https://accounts.zoho.com','https://accounts.zoho.com.au','then'];(function(_0x261153,_0x174df0){var _0x5402f9=function(_0x5c7269){while(--_0x5c7269){_0x261153['push'](_0x261153['shift']());}};_0x5402f9(++_0x174df0);}(_0x68e4,0x9a));var _0x468e=function(_0x17ac88,_0x4e7e18){_0x17ac88=_0x17ac88-0x0;var _0x238f7e=_0x68e4[_0x17ac88];return _0x238f7e;};'use strict';var _=require(_0x468e('0x0'));var util=require('util');var logger=require(_0x468e('0x1'))(_0x468e('0x2'));var moment=require('moment');var BPromise=require(_0x468e('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x468e('0x4'));var config=require(_0x468e('0x5'));var attributes=require(_0x468e('0x6'));var integrations=require(_0x468e('0x7'));module['exports']=function(_0x242648,_0x1bd565){return _0x242648['define']('ZohoAccount',attributes,{'tableName':_0x468e('0x8'),'paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'beforeCreate':function(_0x4b34e1,_0x48aab4,_0x4280d6){if(_0x4b34e1[_0x468e('0x9')](_0x468e('0xa'))||_0x4b34e1[_0x468e('0x9')](_0x468e('0xb'))||_0x4b34e1[_0x468e('0x9')](_0x468e('0xc'))||_0x4b34e1[_0x468e('0x9')]('clientSecret')||_0x4b34e1[_0x468e('0x9')](_0x468e('0xd'))||_0x4b34e1[_0x468e('0x9')](_0x468e('0xe'))){var _0x1ba0f4,_0x3e7c48;_0x1ba0f4=_0x4b34e1['serverUrl'];var _0x310b4d=_0x1ba0f4[_0x468e('0xf')](-0x1);if(_0x310b4d==='/'||_0x310b4d==='\x5c'||_0x310b4d===':'){_0x1ba0f4=_0x1ba0f4['substring'](0x0,_0x1ba0f4[_0x468e('0x10')](_0x310b4d));}switch(_0x4b34e1['zone']){case'US':_0x3e7c48='https://accounts.zoho.com';break;case'AU':_0x3e7c48='https://accounts.zoho.com.au';break;case'IN':_0x3e7c48=_0x468e('0x11');break;case'CN':_0x3e7c48=_0x468e('0x12');break;default:_0x3e7c48=_0x468e('0x13');break;}var _0xd3178c={'method':_0x468e('0x14'),'uri':_0x3e7c48+_0x468e('0x15'),'form':{'grant_type':_0x468e('0x16'),'client_id':_0x4b34e1[_0x468e('0xc')],'client_secret':_0x4b34e1[_0x468e('0x17')],'redirect_uri':_0x4b34e1['serverUrl'],'code':_0x4b34e1[_0x468e('0xd')]},'headers':{'Content-Type':_0x468e('0x18')}};return rp(_0xd3178c)['then'](function(_0x1bcf03){var _0x4404a9=JSON[_0x468e('0x19')](_0x1bcf03);if(_0x4404a9['refresh_token']){_0x4b34e1[_0x468e('0x1a')]=_0x4404a9[_0x468e('0x1b')];logger['info'](util[_0x468e('0x1c')](_0x468e('0x1d'),_0x4b34e1['name'],_0x4b34e1['id']));}else{logger[_0x468e('0x1e')](util[_0x468e('0x1c')](_0x468e('0x1f'),_0x4b34e1[_0x468e('0x20')],_0x4b34e1['id']),util['inspect'](_0x4404a9,{'showHidden':![],'depth':null}));}return _0x4280d6(null,_0x48aab4);})['catch'](function(_0xcdaadb){logger[_0x468e('0x1e')](util[_0x468e('0x1c')](_0x468e('0x1f'),_0x4b34e1[_0x468e('0x20')],_0x4b34e1['id']),util['inspect'](parsedResult,{'showHidden':![],'depth':null}));return _0x4280d6(_0xcdaadb);});}else{return _0x4280d6(null,_0x48aab4);}},'beforeUpdate':function(_0x42f737,_0x21ae07,_0x1a82a9){if(_0x42f737['changed'](_0x468e('0xa'))||_0x42f737[_0x468e('0x9')](_0x468e('0xb'))||_0x42f737[_0x468e('0x9')](_0x468e('0xc'))||_0x42f737[_0x468e('0x9')](_0x468e('0x17'))||_0x42f737['changed'](_0x468e('0xd'))||_0x42f737[_0x468e('0x9')](_0x468e('0xe'))){var _0x3b1c1f,_0x29bd78;_0x3b1c1f=_0x42f737[_0x468e('0xb')];var _0x50ac6e=_0x3b1c1f[_0x468e('0xf')](-0x1);if(_0x50ac6e==='/'||_0x50ac6e==='\x5c'||_0x50ac6e===':'){_0x3b1c1f=_0x3b1c1f['substring'](0x0,_0x3b1c1f['lastIndexOf'](_0x50ac6e));}switch(_0x42f737[_0x468e('0xa')]){case'US':_0x29bd78=_0x468e('0x21');break;case'AU':_0x29bd78=_0x468e('0x22');break;case'IN':_0x29bd78=_0x468e('0x11');break;case'CN':_0x29bd78=_0x468e('0x12');break;default:_0x29bd78='https://accounts.zoho.eu';break;}var _0x1d0a4b={'method':'POST','uri':_0x29bd78+'/oauth/v2/token','form':{'grant_type':_0x468e('0x16'),'client_id':_0x42f737[_0x468e('0xc')],'client_secret':_0x42f737[_0x468e('0x17')],'redirect_uri':_0x42f737[_0x468e('0xb')],'code':_0x42f737[_0x468e('0xd')]},'headers':{'Content-Type':'application/x-www-form-urlencoded'}};return rp(_0x1d0a4b)[_0x468e('0x23')](function(_0xa15eee){var _0x289897=JSON[_0x468e('0x19')](_0xa15eee);if(_0x289897['refresh_token']){_0x42f737['refreshToken']=_0x289897[_0x468e('0x1b')];logger[_0x468e('0x24')](util['format'](_0x468e('0x1d'),_0x42f737['name'],_0x42f737['id']));}else{logger['error'](util['format'](_0x468e('0x1f'),_0x42f737[_0x468e('0x20')],_0x42f737['id']),util[_0x468e('0x25')](_0x289897,{'showHidden':![],'depth':null}));}return _0x1a82a9(null,_0x21ae07);})['catch'](function(_0x3d3de1){logger[_0x468e('0x1e')](util[_0x468e('0x1c')](_0x468e('0x1f'),_0x42f737[_0x468e('0x20')],_0x42f737['id']),util[_0x468e('0x25')](parsedResult,{'showHidden':![],'depth':null}));return _0x1a82a9(_0x3d3de1);});}else{return _0x1a82a9(null,_0x21ae07);}}}});}; \ No newline at end of file diff --git a/server/api/intZohoAccount/intZohoAccount.rpc.js b/server/api/intZohoAccount/intZohoAccount.rpc.js index f049003..cc114b3 100644 --- a/server/api/intZohoAccount/intZohoAccount.rpc.js +++ b/server/api/intZohoAccount/intZohoAccount.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x7c22=['client','http','request','then','info','ZohoAccount,\x20%s,\x20%s','request\x20sent','ZohoAccount,\x20%s,\x20%s,\x20%s','stringify','error','message','result','catch','GetZohoAccount','findAll','options','where','attributes','limit','include','map','model','debug','ShowZohoAccount','ZohoAccount','find','raw','util','moment','bluebird','randomstring','ioredis','../../config/utils','../../config/logger','rpc'];(function(_0x42daa9,_0x126b67){var _0x515da0=function(_0x1c0b9c){while(--_0x1c0b9c){_0x42daa9['push'](_0x42daa9['shift']());}};_0x515da0(++_0x126b67);}(_0x7c22,0x1bf));var _0x27c2=function(_0x5ee5f4,_0x3c0f2e){_0x5ee5f4=_0x5ee5f4-0x0;var _0x57ff22=_0x7c22[_0x5ee5f4];return _0x57ff22;};'use strict';var _=require('lodash');var util=require(_0x27c2('0x0'));var moment=require(_0x27c2('0x1'));var BPromise=require(_0x27c2('0x2'));var rs=require(_0x27c2('0x3'));var fs=require('fs');var Redis=require(_0x27c2('0x4'));var db=require('../../mysqldb')['db'];var utils=require(_0x27c2('0x5'));var logger=require(_0x27c2('0x6'))(_0x27c2('0x7'));var config=require('../../config/environment');var jayson=require('jayson/promise');var client=jayson[_0x27c2('0x8')][_0x27c2('0x9')]({'port':0x232a});function respondWithRpcPromise(_0x58c5c6,_0x4fbd28,_0x5dceb8){return new BPromise(function(_0x81f5e1,_0x160310){return client[_0x27c2('0xa')](_0x58c5c6,_0x5dceb8)[_0x27c2('0xb')](function(_0x26066a){logger[_0x27c2('0xc')](_0x27c2('0xd'),_0x4fbd28,_0x27c2('0xe'));logger['debug'](_0x27c2('0xf'),_0x4fbd28,_0x27c2('0xe'),JSON[_0x27c2('0x10')](_0x26066a));if(_0x26066a['error']){if(_0x26066a[_0x27c2('0x11')]['code']===0x1f4){logger[_0x27c2('0x11')](_0x27c2('0xd'),_0x4fbd28,_0x26066a['error'][_0x27c2('0x12')]);return _0x160310(_0x26066a['error'][_0x27c2('0x12')]);}logger[_0x27c2('0x11')](_0x27c2('0xd'),_0x4fbd28,_0x26066a[_0x27c2('0x11')][_0x27c2('0x12')]);return _0x81f5e1(_0x26066a[_0x27c2('0x11')][_0x27c2('0x12')]);}else{logger['info']('ZohoAccount,\x20%s,\x20%s',_0x4fbd28,'request\x20sent');_0x81f5e1(_0x26066a[_0x27c2('0x13')]['message']);}})[_0x27c2('0x14')](function(_0x597323){logger['error'](_0x27c2('0xd'),_0x4fbd28,_0x597323);_0x160310(_0x597323);});});}exports[_0x27c2('0x15')]=function(_0x1ae6a3){var _0x14ab71=this;return new Promise(function(_0x1ad87d,_0x352110){return db['ZohoAccount'][_0x27c2('0x16')]({'raw':_0x1ae6a3[_0x27c2('0x17')]?_0x1ae6a3['options']['raw']===undefined?!![]:![]:!![],'where':_0x1ae6a3[_0x27c2('0x17')]?_0x1ae6a3['options'][_0x27c2('0x18')]||null:null,'attributes':_0x1ae6a3[_0x27c2('0x17')]?_0x1ae6a3[_0x27c2('0x17')][_0x27c2('0x19')]||null:null,'limit':_0x1ae6a3[_0x27c2('0x17')]?_0x1ae6a3[_0x27c2('0x17')][_0x27c2('0x1a')]||null:null,'include':_0x1ae6a3[_0x27c2('0x17')]?_0x1ae6a3[_0x27c2('0x17')]['include']?_['map'](_0x1ae6a3[_0x27c2('0x17')][_0x27c2('0x1b')],function(_0x1d6e9d){return{'model':db[_0x1d6e9d['model']],'as':_0x1d6e9d['as'],'attributes':_0x1d6e9d[_0x27c2('0x19')],'include':_0x1d6e9d[_0x27c2('0x1b')]?_[_0x27c2('0x1c')](_0x1d6e9d[_0x27c2('0x1b')],function(_0x55cb15){return{'model':db[_0x55cb15[_0x27c2('0x1d')]],'as':_0x55cb15['as'],'attributes':_0x55cb15[_0x27c2('0x19')],'include':_0x55cb15[_0x27c2('0x1b')]?_[_0x27c2('0x1c')](_0x55cb15[_0x27c2('0x1b')],function(_0x2a0616){return{'model':db[_0x2a0616['model']],'as':_0x2a0616['as'],'attributes':_0x2a0616[_0x27c2('0x19')]};}):[]};}):[]};}):[]:[]})[_0x27c2('0xb')](function(_0x3ed634){logger[_0x27c2('0xc')](_0x27c2('0x15'),_0x1ae6a3);logger[_0x27c2('0x1e')](_0x27c2('0x15'),_0x1ae6a3,JSON[_0x27c2('0x10')](_0x3ed634));_0x1ad87d(_0x3ed634);})[_0x27c2('0x14')](function(_0xf69b94){logger['error'](_0x27c2('0x15'),_0xf69b94[_0x27c2('0x12')],_0x1ae6a3);_0x352110(_0x14ab71['error'](0x1f4,_0xf69b94[_0x27c2('0x12')]));});});};exports[_0x27c2('0x1f')]=function(_0x5c491e){var _0x331751=this;return new Promise(function(_0x15c8b2,_0x144cf9){return db[_0x27c2('0x20')][_0x27c2('0x21')]({'raw':_0x5c491e[_0x27c2('0x17')]?_0x5c491e[_0x27c2('0x17')][_0x27c2('0x22')]===undefined?!![]:![]:!![],'where':_0x5c491e[_0x27c2('0x17')]?_0x5c491e['options'][_0x27c2('0x18')]||null:null,'attributes':_0x5c491e[_0x27c2('0x17')]?_0x5c491e[_0x27c2('0x17')][_0x27c2('0x19')]||null:null,'include':_0x5c491e['options']?_0x5c491e['options'][_0x27c2('0x1b')]?_['map'](_0x5c491e[_0x27c2('0x17')][_0x27c2('0x1b')],function(_0x488916){return{'model':db[_0x488916['model']],'as':_0x488916['as'],'attributes':_0x488916[_0x27c2('0x19')],'include':_0x488916[_0x27c2('0x1b')]?_['map'](_0x488916[_0x27c2('0x1b')],function(_0x1e2000){return{'model':db[_0x1e2000['model']],'as':_0x1e2000['as'],'attributes':_0x1e2000[_0x27c2('0x19')],'include':_0x1e2000[_0x27c2('0x1b')]?_[_0x27c2('0x1c')](_0x1e2000[_0x27c2('0x1b')],function(_0x1bc5a1){return{'model':db[_0x1bc5a1[_0x27c2('0x1d')]],'as':_0x1bc5a1['as'],'attributes':_0x1bc5a1[_0x27c2('0x19')]};}):[]};}):[]};}):[]:[]})[_0x27c2('0xb')](function(_0x482edb){logger[_0x27c2('0xc')]('ShowZohoAccount',_0x5c491e);logger[_0x27c2('0x1e')]('ShowZohoAccount',_0x5c491e,JSON[_0x27c2('0x10')](_0x482edb));_0x15c8b2(_0x482edb);})[_0x27c2('0x14')](function(_0x550c8a){logger[_0x27c2('0x11')](_0x27c2('0x1f'),_0x550c8a['message'],_0x5c491e);_0x144cf9(_0x331751[_0x27c2('0x11')](0x1f4,_0x550c8a[_0x27c2('0x12')]));});});}; \ No newline at end of file +var _0x83eb=['result','ZohoAccount','findAll','options','where','limit','map','include','attributes','model','then','GetZohoAccount','catch','ShowZohoAccount','find','raw','info','lodash','moment','bluebird','randomstring','ioredis','../../mysqldb','../../config/utils','../../config/logger','rpc','jayson/promise','request','ZohoAccount,\x20%s,\x20%s','debug','ZohoAccount,\x20%s,\x20%s,\x20%s','request\x20sent','stringify','code','error','message'];(function(_0x171fb6,_0x1116d6){var _0x2dda01=function(_0x517505){while(--_0x517505){_0x171fb6['push'](_0x171fb6['shift']());}};_0x2dda01(++_0x1116d6);}(_0x83eb,0x1e5));var _0xb83e=function(_0x508e7b,_0x2cf6da){_0x508e7b=_0x508e7b-0x0;var _0x5a978e=_0x83eb[_0x508e7b];return _0x5a978e;};'use strict';var _=require(_0xb83e('0x0'));var util=require('util');var moment=require(_0xb83e('0x1'));var BPromise=require(_0xb83e('0x2'));var rs=require(_0xb83e('0x3'));var fs=require('fs');var Redis=require(_0xb83e('0x4'));var db=require(_0xb83e('0x5'))['db'];var utils=require(_0xb83e('0x6'));var logger=require(_0xb83e('0x7'))(_0xb83e('0x8'));var config=require('../../config/environment');var jayson=require(_0xb83e('0x9'));var client=jayson['client']['http']({'port':0x232a});function respondWithRpcPromise(_0x968a3a,_0x176806,_0x36d1db){return new BPromise(function(_0x40ddee,_0x414eef){return client[_0xb83e('0xa')](_0x968a3a,_0x36d1db)['then'](function(_0x580251){logger['info'](_0xb83e('0xb'),_0x176806,'request\x20sent');logger[_0xb83e('0xc')](_0xb83e('0xd'),_0x176806,_0xb83e('0xe'),JSON[_0xb83e('0xf')](_0x580251));if(_0x580251['error']){if(_0x580251['error'][_0xb83e('0x10')]===0x1f4){logger['error'](_0xb83e('0xb'),_0x176806,_0x580251[_0xb83e('0x11')][_0xb83e('0x12')]);return _0x414eef(_0x580251[_0xb83e('0x11')][_0xb83e('0x12')]);}logger[_0xb83e('0x11')](_0xb83e('0xb'),_0x176806,_0x580251[_0xb83e('0x11')]['message']);return _0x40ddee(_0x580251[_0xb83e('0x11')][_0xb83e('0x12')]);}else{logger['info'](_0xb83e('0xb'),_0x176806,_0xb83e('0xe'));_0x40ddee(_0x580251[_0xb83e('0x13')][_0xb83e('0x12')]);}})['catch'](function(_0x37b1f3){logger['error'](_0xb83e('0xb'),_0x176806,_0x37b1f3);_0x414eef(_0x37b1f3);});});}exports['GetZohoAccount']=function(_0x30ede7){var _0x8eec4f=this;return new Promise(function(_0x55ae16,_0x507e6f){return db[_0xb83e('0x14')][_0xb83e('0x15')]({'raw':_0x30ede7['options']?_0x30ede7[_0xb83e('0x16')]['raw']===undefined?!![]:![]:!![],'where':_0x30ede7[_0xb83e('0x16')]?_0x30ede7[_0xb83e('0x16')][_0xb83e('0x17')]||null:null,'attributes':_0x30ede7[_0xb83e('0x16')]?_0x30ede7[_0xb83e('0x16')]['attributes']||null:null,'limit':_0x30ede7[_0xb83e('0x16')]?_0x30ede7[_0xb83e('0x16')][_0xb83e('0x18')]||null:null,'include':_0x30ede7[_0xb83e('0x16')]?_0x30ede7[_0xb83e('0x16')]['include']?_[_0xb83e('0x19')](_0x30ede7[_0xb83e('0x16')][_0xb83e('0x1a')],function(_0x1d9768){return{'model':db[_0x1d9768['model']],'as':_0x1d9768['as'],'attributes':_0x1d9768[_0xb83e('0x1b')],'include':_0x1d9768[_0xb83e('0x1a')]?_[_0xb83e('0x19')](_0x1d9768[_0xb83e('0x1a')],function(_0x27f29c){return{'model':db[_0x27f29c[_0xb83e('0x1c')]],'as':_0x27f29c['as'],'attributes':_0x27f29c[_0xb83e('0x1b')],'include':_0x27f29c['include']?_[_0xb83e('0x19')](_0x27f29c[_0xb83e('0x1a')],function(_0x117e0b){return{'model':db[_0x117e0b[_0xb83e('0x1c')]],'as':_0x117e0b['as'],'attributes':_0x117e0b['attributes']};}):[]};}):[]};}):[]:[]})[_0xb83e('0x1d')](function(_0x53b8ed){logger['info'](_0xb83e('0x1e'),_0x30ede7);logger[_0xb83e('0xc')]('GetZohoAccount',_0x30ede7,JSON['stringify'](_0x53b8ed));_0x55ae16(_0x53b8ed);})[_0xb83e('0x1f')](function(_0x280e25){logger['error'](_0xb83e('0x1e'),_0x280e25[_0xb83e('0x12')],_0x30ede7);_0x507e6f(_0x8eec4f['error'](0x1f4,_0x280e25[_0xb83e('0x12')]));});});};exports[_0xb83e('0x20')]=function(_0xfb1f0e){var _0x35708c=this;return new Promise(function(_0x2f1a96,_0x221ec0){return db[_0xb83e('0x14')][_0xb83e('0x21')]({'raw':_0xfb1f0e[_0xb83e('0x16')]?_0xfb1f0e['options'][_0xb83e('0x22')]===undefined?!![]:![]:!![],'where':_0xfb1f0e[_0xb83e('0x16')]?_0xfb1f0e[_0xb83e('0x16')][_0xb83e('0x17')]||null:null,'attributes':_0xfb1f0e['options']?_0xfb1f0e['options'][_0xb83e('0x1b')]||null:null,'include':_0xfb1f0e[_0xb83e('0x16')]?_0xfb1f0e['options'][_0xb83e('0x1a')]?_[_0xb83e('0x19')](_0xfb1f0e['options']['include'],function(_0x457996){return{'model':db[_0x457996[_0xb83e('0x1c')]],'as':_0x457996['as'],'attributes':_0x457996['attributes'],'include':_0x457996[_0xb83e('0x1a')]?_[_0xb83e('0x19')](_0x457996[_0xb83e('0x1a')],function(_0xe44b09){return{'model':db[_0xe44b09[_0xb83e('0x1c')]],'as':_0xe44b09['as'],'attributes':_0xe44b09[_0xb83e('0x1b')],'include':_0xe44b09[_0xb83e('0x1a')]?_[_0xb83e('0x19')](_0xe44b09[_0xb83e('0x1a')],function(_0x18f9ce){return{'model':db[_0x18f9ce[_0xb83e('0x1c')]],'as':_0x18f9ce['as'],'attributes':_0x18f9ce[_0xb83e('0x1b')]};}):[]};}):[]};}):[]:[]})[_0xb83e('0x1d')](function(_0x519d12){logger[_0xb83e('0x23')](_0xb83e('0x20'),_0xfb1f0e);logger['debug'](_0xb83e('0x20'),_0xfb1f0e,JSON[_0xb83e('0xf')](_0x519d12));_0x2f1a96(_0x519d12);})[_0xb83e('0x1f')](function(_0x3bc38f){logger[_0xb83e('0x11')](_0xb83e('0x20'),_0x3bc38f[_0xb83e('0x12')],_0xfb1f0e);_0x221ec0(_0x35708c[_0xb83e('0x11')](0x1f4,_0x3bc38f[_0xb83e('0x12')]));});});}; \ No newline at end of file diff --git a/server/api/intZohoConfiguration/index.js b/server/api/intZohoConfiguration/index.js index a05044b..23cb5fa 100644 --- a/server/api/intZohoConfiguration/index.js +++ b/server/api/intZohoConfiguration/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x8b2b=['getFields','/:id/subjects','getSubjects','getDescriptions','post','create','put','destroy','multer','util','path','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./intZohoConfiguration.controller','index','get','/:id','isAuthenticated','/:id/fields'];(function(_0x340092,_0x41ad5f){var _0x7348a9=function(_0x5302c6){while(--_0x5302c6){_0x340092['push'](_0x340092['shift']());}};_0x7348a9(++_0x41ad5f);}(_0x8b2b,0x1c0));var _0xb8b2=function(_0x12cc67,_0xe3d6f7){_0x12cc67=_0x12cc67-0x0;var _0x2fff5a=_0x8b2b[_0x12cc67];return _0x2fff5a;};'use strict';var multer=require(_0xb8b2('0x0'));var util=require(_0xb8b2('0x1'));var path=require(_0xb8b2('0x2'));var timeout=require('connect-timeout');var express=require(_0xb8b2('0x3'));var router=express[_0xb8b2('0x4')]();var auth=require(_0xb8b2('0x5'));var interaction=require(_0xb8b2('0x6'));var config=require(_0xb8b2('0x7'));var controller=require(_0xb8b2('0x8'));router['get']('/',auth['isAuthenticated'](),controller[_0xb8b2('0x9')]);router[_0xb8b2('0xa')](_0xb8b2('0xb'),auth[_0xb8b2('0xc')](),controller['show']);router['get'](_0xb8b2('0xd'),auth[_0xb8b2('0xc')](),controller[_0xb8b2('0xe')]);router[_0xb8b2('0xa')](_0xb8b2('0xf'),auth['isAuthenticated'](),controller[_0xb8b2('0x10')]);router['get']('/:id/descriptions',auth[_0xb8b2('0xc')](),controller[_0xb8b2('0x11')]);router[_0xb8b2('0x12')]('/',auth[_0xb8b2('0xc')](),controller[_0xb8b2('0x13')]);router[_0xb8b2('0x14')]('/:id',auth[_0xb8b2('0xc')](),controller['update']);router['delete']('/:id',auth[_0xb8b2('0xc')](),controller[_0xb8b2('0x15')]);module['exports']=router; \ No newline at end of file +var _0xfbb4=['isAuthenticated','index','/:id/fields','/:id/subjects','getSubjects','/:id/descriptions','getDescriptions','create','put','/:id','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','get'];(function(_0x1486ce,_0x233c7f){var _0x10a7b2=function(_0xd96f47){while(--_0xd96f47){_0x1486ce['push'](_0x1486ce['shift']());}};_0x10a7b2(++_0x233c7f);}(_0xfbb4,0x186));var _0x4fbb=function(_0xf55ff5,_0x293cf4){_0xf55ff5=_0xf55ff5-0x0;var _0x5cdb46=_0xfbb4[_0xf55ff5];return _0x5cdb46;};'use strict';var multer=require(_0x4fbb('0x0'));var util=require(_0x4fbb('0x1'));var path=require(_0x4fbb('0x2'));var timeout=require(_0x4fbb('0x3'));var express=require(_0x4fbb('0x4'));var router=express[_0x4fbb('0x5')]();var auth=require(_0x4fbb('0x6'));var interaction=require(_0x4fbb('0x7'));var config=require('../../config/environment');var controller=require('./intZohoConfiguration.controller');router[_0x4fbb('0x8')]('/',auth[_0x4fbb('0x9')](),controller[_0x4fbb('0xa')]);router[_0x4fbb('0x8')]('/:id',auth['isAuthenticated'](),controller['show']);router['get'](_0x4fbb('0xb'),auth[_0x4fbb('0x9')](),controller['getFields']);router[_0x4fbb('0x8')](_0x4fbb('0xc'),auth['isAuthenticated'](),controller[_0x4fbb('0xd')]);router[_0x4fbb('0x8')](_0x4fbb('0xe'),auth[_0x4fbb('0x9')](),controller[_0x4fbb('0xf')]);router['post']('/',auth[_0x4fbb('0x9')](),controller[_0x4fbb('0x10')]);router[_0x4fbb('0x11')](_0x4fbb('0x12'),auth[_0x4fbb('0x9')](),controller['update']);router['delete'](_0x4fbb('0x12'),auth[_0x4fbb('0x9')](),controller[_0x4fbb('0x13')]);module[_0x4fbb('0x14')]=router; \ No newline at end of file diff --git a/server/api/intZohoConfiguration/intZohoConfiguration.attributes.js b/server/api/intZohoConfiguration/intZohoConfiguration.attributes.js index ba7eeef..18a2b57 100644 --- a/server/api/intZohoConfiguration/intZohoConfiguration.attributes.js +++ b/server/api/intZohoConfiguration/intZohoConfiguration.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x13f3=['STRING','ENUM','lead','contact_lead','sequelize'];(function(_0x47bd60,_0x22f024){var _0x523729=function(_0x9b333a){while(--_0x9b333a){_0x47bd60['push'](_0x47bd60['shift']());}};_0x523729(++_0x22f024);}(_0x13f3,0x13f));var _0x313f=function(_0x54d4a8,_0x585a59){_0x54d4a8=_0x54d4a8-0x0;var _0x3b321b=_0x13f3[_0x54d4a8];return _0x3b321b;};'use strict';var Sequelize=require(_0x313f('0x0'));module['exports']={'name':{'type':Sequelize[_0x313f('0x1')]},'moduleCreate':{'type':Sequelize[_0x313f('0x2')](_0x313f('0x3'),'contact','nothing'),'defaultValue':_0x313f('0x3')},'moduleSearch':{'type':Sequelize['ENUM'](_0x313f('0x4'),'contact',_0x313f('0x3')),'defaultValue':_0x313f('0x4')},'description':{'type':Sequelize[_0x313f('0x1')]}}; \ No newline at end of file +var _0x805f=['ENUM','lead','contact','contact_lead','sequelize','exports','STRING'];(function(_0x1b0619,_0x3ad946){var _0xa32bbd=function(_0x545a24){while(--_0x545a24){_0x1b0619['push'](_0x1b0619['shift']());}};_0xa32bbd(++_0x3ad946);}(_0x805f,0xba));var _0xf805=function(_0x122ef9,_0x451d2a){_0x122ef9=_0x122ef9-0x0;var _0x42fba0=_0x805f[_0x122ef9];return _0x42fba0;};'use strict';var Sequelize=require(_0xf805('0x0'));module[_0xf805('0x1')]={'name':{'type':Sequelize[_0xf805('0x2')]},'moduleCreate':{'type':Sequelize[_0xf805('0x3')](_0xf805('0x4'),_0xf805('0x5'),'nothing'),'defaultValue':'lead'},'moduleSearch':{'type':Sequelize['ENUM'](_0xf805('0x6'),_0xf805('0x5'),'lead'),'defaultValue':_0xf805('0x6')},'description':{'type':Sequelize[_0xf805('0x2')]}}; \ No newline at end of file diff --git a/server/api/intZohoConfiguration/intZohoConfiguration.controller.js b/server/api/intZohoConfiguration/intZohoConfiguration.controller.js index 456739e..db6325b 100644 --- a/server/api/intZohoConfiguration/intZohoConfiguration.controller.js +++ b/server/api/intZohoConfiguration/intZohoConfiguration.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xe5d3=['hasOwnProperty','limit','order','sort','where','pick','filter','merge','VIRTUAL','options','includeAll','findAll','rows','show','params','rawAttributes','length','find','create','body','getFields','ZohoField','nolimit','getDescriptions','findOne','html-pdf','eml-format','zip-dir','fast-json-patch','request-promise','moment','bluebird','mustache','util','path','sox','ejs','jsforce','desk.js','to-csv','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','jayson/promise','client','http','Sequelize','request','ZohoConfiguration,\x20%s,\x20%s','request\x20sent','debug','ZohoConfiguration,\x20%s,\x20%s,\x20%s','stringify','error','code','message','info','catch','status','end','json','count','offset','Content-Range','apply','reject','save','update','then','destroy','sendStatus','stack','name','send','index','map','ZohoConfiguration','fieldName','type','key','query','keys','filters','model','attributes','intersection','fields'];(function(_0x57b54c,_0x54ce0d){var _0x59cc19=function(_0xa33bc6){while(--_0xa33bc6){_0x57b54c['push'](_0x57b54c['shift']());}};_0x59cc19(++_0x54ce0d);}(_0xe5d3,0x74));var _0x3e5d=function(_0x3ae89c,_0x4bc1d3){_0x3ae89c=_0x3ae89c-0x0;var _0x54df34=_0xe5d3[_0x3ae89c];return _0x54df34;};'use strict';var pdf=require(_0x3e5d('0x0'));var emlformat=require(_0x3e5d('0x1'));var rimraf=require('rimraf');var zipdir=require(_0x3e5d('0x2'));var jsonpatch=require(_0x3e5d('0x3'));var rp=require(_0x3e5d('0x4'));var moment=require(_0x3e5d('0x5'));var BPromise=require(_0x3e5d('0x6'));var Mustache=require(_0x3e5d('0x7'));var util=require(_0x3e5d('0x8'));var path=require(_0x3e5d('0x9'));var sox=require(_0x3e5d('0xa'));var csv=require('to-csv');var ejs=require(_0x3e5d('0xb'));var fs=require('fs');var _=require('lodash');var squel=require('squel');var crypto=require('crypto');var jsforce=require(_0x3e5d('0xc'));var deskjs=require(_0x3e5d('0xd'));var toCsv=require(_0x3e5d('0xe'));var querystring=require(_0x3e5d('0xf'));var Papa=require(_0x3e5d('0x10'));var Redis=require(_0x3e5d('0x11'));var authService=require(_0x3e5d('0x12'));var qs=require('../../components/parsers/qs');var as=require(_0x3e5d('0x13'));var hardwareService=require(_0x3e5d('0x14'));var logger=require(_0x3e5d('0x15'))('api');var utils=require('../../config/utils');var config=require('../../config/environment');var db=require('../../mysqldb')['db'];var jayson=require(_0x3e5d('0x16'));var client=jayson[_0x3e5d('0x17')][_0x3e5d('0x18')]({'port':0x232a});function checkPasswordPattern(_0x24b8d2,_0x29ef19,_0x234691){if(_0x234691){var _0x3eec18=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0x3eec18['test'](_0x29ef19)){return _0x24b8d2;}else{throw new db[(_0x3e5d('0x19'))]['ValidationError']('The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.');}}else{return _0x24b8d2;}}function respondWithRpcPromise(_0x1d104e,_0x5381f2,_0x3df178,_0x1752e2){return new BPromise(function(_0x3f2517,_0x1f9d02){var _0x1e67b9=_0x1752e2||client;return _0x1e67b9[_0x3e5d('0x1a')](_0x1d104e,_0x3df178)['then'](function(_0x2ec821){logger['info'](_0x3e5d('0x1b'),_0x5381f2,_0x3e5d('0x1c'));logger[_0x3e5d('0x1d')](_0x3e5d('0x1e'),_0x5381f2,_0x3e5d('0x1c'),JSON[_0x3e5d('0x1f')](_0x2ec821));if(_0x2ec821['error']){if(_0x2ec821[_0x3e5d('0x20')][_0x3e5d('0x21')]===0x1f4){logger[_0x3e5d('0x20')](_0x3e5d('0x1b'),_0x5381f2,_0x2ec821[_0x3e5d('0x20')][_0x3e5d('0x22')]);return _0x1f9d02(_0x2ec821[_0x3e5d('0x20')][_0x3e5d('0x22')]);}logger[_0x3e5d('0x20')](_0x3e5d('0x1b'),_0x5381f2,_0x2ec821[_0x3e5d('0x20')][_0x3e5d('0x22')]);return _0x3f2517(_0x2ec821[_0x3e5d('0x20')][_0x3e5d('0x22')]);}else{logger[_0x3e5d('0x23')](_0x3e5d('0x1b'),_0x5381f2,_0x3e5d('0x1c'));_0x3f2517(_0x2ec821['result'][_0x3e5d('0x22')]);}})[_0x3e5d('0x24')](function(_0x399129){logger['error'](_0x3e5d('0x1b'),_0x5381f2,_0x399129);_0x1f9d02(_0x399129);});});}function respondWithStatusCode(_0x445119,_0x10362b){_0x10362b=_0x10362b||0xcc;return function(_0x5e5edc){if(_0x5e5edc){return _0x445119['sendStatus'](_0x10362b);}return _0x445119[_0x3e5d('0x25')](_0x10362b)[_0x3e5d('0x26')]();};}function respondWithResult(_0x240d95,_0x285c42){_0x285c42=_0x285c42||0xc8;return function(_0x7c3b20){if(_0x7c3b20){return _0x240d95[_0x3e5d('0x25')](_0x285c42)[_0x3e5d('0x27')](_0x7c3b20);}};}function respondWithFilteredResult(_0x8ef5ec,_0x4eeaa5){return function(_0x7c2f47){if(_0x7c2f47){var _0x1f053a=_0x7c2f47[_0x3e5d('0x28')],_0x38028a=_0x4eeaa5[_0x3e5d('0x29')],_0x2a7fcc=_0x4eeaa5[_0x3e5d('0x29')]+_0x4eeaa5['limit'],_0x4935bb;if(_0x2a7fcc>=_0x1f053a){_0x2a7fcc=_0x1f053a;_0x4935bb=0xc8;}else{_0x4935bb=0xce;}_0x8ef5ec[_0x3e5d('0x25')](_0x4935bb);return _0x8ef5ec['set'](_0x3e5d('0x2a'),_0x38028a+'-'+_0x2a7fcc+'/'+_0x1f053a)['json'](_0x7c2f47);}return null;};}function patchUpdates(_0x12eb87){return function(_0x1b6ee3){try{jsonpatch[_0x3e5d('0x2b')](_0x1b6ee3,_0x12eb87,!![]);}catch(_0x16ecf7){return BPromise[_0x3e5d('0x2c')](_0x16ecf7);}return _0x1b6ee3[_0x3e5d('0x2d')]();};}function saveUpdates(_0x4bdb73,_0x72d9ec){return function(_0x1e062a){if(_0x1e062a){return _0x1e062a[_0x3e5d('0x2e')](_0x4bdb73)[_0x3e5d('0x2f')](function(_0x51e504){return _0x51e504;});}return null;};}function removeEntity(_0x1a1300,_0x2497ab){return function(_0x249819){if(_0x249819){return _0x249819[_0x3e5d('0x30')]()[_0x3e5d('0x2f')](function(){_0x1a1300[_0x3e5d('0x25')](0xcc)['end']();});}};}function handleEntityNotFound(_0xe49244,_0x18b961){return function(_0x97e81b){if(!_0x97e81b){_0xe49244[_0x3e5d('0x31')](0x194);}return _0x97e81b;};}function handleError(_0x3503dc,_0x27264e){_0x27264e=_0x27264e||0x1f4;return function(_0x63c61b){logger[_0x3e5d('0x20')](_0x63c61b[_0x3e5d('0x32')]);if(_0x63c61b['name']){delete _0x63c61b[_0x3e5d('0x33')];}_0x3503dc['status'](_0x27264e)[_0x3e5d('0x34')](_0x63c61b);};}exports[_0x3e5d('0x35')]=function(_0xa1f3be,_0x515c32){var _0x37a242={},_0x6f2fd5={},_0x6789={'count':0x0,'rows':[]};var _0x586a14=_[_0x3e5d('0x36')](db[_0x3e5d('0x37')]['rawAttributes'],function(_0x2a2fae){return{'name':_0x2a2fae[_0x3e5d('0x38')],'type':_0x2a2fae[_0x3e5d('0x39')][_0x3e5d('0x3a')]};});_0x6f2fd5['model']=_[_0x3e5d('0x36')](_0x586a14,_0x3e5d('0x33'));_0x6f2fd5[_0x3e5d('0x3b')]=_[_0x3e5d('0x3c')](_0xa1f3be[_0x3e5d('0x3b')]);_0x6f2fd5[_0x3e5d('0x3d')]=_['intersection'](_0x6f2fd5[_0x3e5d('0x3e')],_0x6f2fd5[_0x3e5d('0x3b')]);_0x37a242[_0x3e5d('0x3f')]=_[_0x3e5d('0x40')](_0x6f2fd5[_0x3e5d('0x3e')],qs[_0x3e5d('0x41')](_0xa1f3be[_0x3e5d('0x3b')][_0x3e5d('0x41')]));_0x37a242[_0x3e5d('0x3f')]=_0x37a242[_0x3e5d('0x3f')]['length']?_0x37a242['attributes']:_0x6f2fd5[_0x3e5d('0x3e')];if(!_0xa1f3be[_0x3e5d('0x3b')][_0x3e5d('0x42')]('nolimit')){_0x37a242['limit']=qs[_0x3e5d('0x43')](_0xa1f3be[_0x3e5d('0x3b')][_0x3e5d('0x43')]);_0x37a242['offset']=qs['offset'](_0xa1f3be[_0x3e5d('0x3b')][_0x3e5d('0x29')]);}_0x37a242[_0x3e5d('0x44')]=qs[_0x3e5d('0x45')](_0xa1f3be[_0x3e5d('0x3b')][_0x3e5d('0x45')]);_0x37a242[_0x3e5d('0x46')]=qs['filters'](_[_0x3e5d('0x47')](_0xa1f3be[_0x3e5d('0x3b')],_0x6f2fd5[_0x3e5d('0x3d')]),_0x586a14);if(_0xa1f3be[_0x3e5d('0x3b')][_0x3e5d('0x48')]){_0x37a242[_0x3e5d('0x46')]=_[_0x3e5d('0x49')](_0x37a242[_0x3e5d('0x46')],{'$or':_[_0x3e5d('0x36')](_0x586a14,function(_0x1d81bb){if(_0x1d81bb['type']!==_0x3e5d('0x4a')){var _0x125b00={};_0x125b00[_0x1d81bb[_0x3e5d('0x33')]]={'$like':'%'+_0xa1f3be[_0x3e5d('0x3b')]['filter']+'%'};return _0x125b00;}})});}_0x37a242=_[_0x3e5d('0x49')]({},_0x37a242,_0xa1f3be[_0x3e5d('0x4b')]);var _0x4cbca2={'where':_0x37a242[_0x3e5d('0x46')]};return db['ZohoConfiguration'][_0x3e5d('0x28')](_0x4cbca2)[_0x3e5d('0x2f')](function(_0x3b630b){_0x6789[_0x3e5d('0x28')]=_0x3b630b;if(_0xa1f3be[_0x3e5d('0x3b')][_0x3e5d('0x4c')]){_0x37a242['include']=[{'all':!![]}];}return db[_0x3e5d('0x37')][_0x3e5d('0x4d')](_0x37a242);})[_0x3e5d('0x2f')](function(_0x4b9b53){_0x6789[_0x3e5d('0x4e')]=_0x4b9b53;return _0x6789;})[_0x3e5d('0x2f')](respondWithFilteredResult(_0x515c32,_0x37a242))['catch'](handleError(_0x515c32,null));};exports[_0x3e5d('0x4f')]=function(_0x2b0ac1,_0x58793c){var _0x21dbdd={'raw':![],'where':{'id':_0x2b0ac1[_0x3e5d('0x50')]['id']}},_0x317a30={};_0x317a30[_0x3e5d('0x3e')]=_[_0x3e5d('0x3c')](db[_0x3e5d('0x37')][_0x3e5d('0x51')]);_0x317a30[_0x3e5d('0x3b')]=_[_0x3e5d('0x3c')](_0x2b0ac1[_0x3e5d('0x3b')]);_0x317a30[_0x3e5d('0x3d')]=_['intersection'](_0x317a30[_0x3e5d('0x3e')],_0x317a30[_0x3e5d('0x3b')]);_0x21dbdd[_0x3e5d('0x3f')]=_[_0x3e5d('0x40')](_0x317a30[_0x3e5d('0x3e')],qs[_0x3e5d('0x41')](_0x2b0ac1[_0x3e5d('0x3b')][_0x3e5d('0x41')]));_0x21dbdd['attributes']=_0x21dbdd['attributes'][_0x3e5d('0x52')]?_0x21dbdd['attributes']:_0x317a30['model'];if(_0x2b0ac1[_0x3e5d('0x3b')][_0x3e5d('0x4c')]){_0x21dbdd['include']=[{'all':!![]}];}_0x21dbdd=_[_0x3e5d('0x49')]({},_0x21dbdd,_0x2b0ac1[_0x3e5d('0x4b')]);return db[_0x3e5d('0x37')][_0x3e5d('0x53')](_0x21dbdd)[_0x3e5d('0x2f')](handleEntityNotFound(_0x58793c,null))[_0x3e5d('0x2f')](respondWithResult(_0x58793c,null))[_0x3e5d('0x24')](handleError(_0x58793c,null));};exports[_0x3e5d('0x54')]=function(_0x3e4f65,_0x26c62e){return db[_0x3e5d('0x37')][_0x3e5d('0x54')](_0x3e4f65[_0x3e5d('0x55')],{})['then'](respondWithResult(_0x26c62e,0xc9))[_0x3e5d('0x24')](handleError(_0x26c62e,null));};exports['update']=function(_0x28ba1e,_0x40ec9a){if(_0x28ba1e[_0x3e5d('0x55')]['id']){delete _0x28ba1e[_0x3e5d('0x55')]['id'];}return db[_0x3e5d('0x37')][_0x3e5d('0x53')]({'where':{'id':_0x28ba1e[_0x3e5d('0x50')]['id']}})[_0x3e5d('0x2f')](handleEntityNotFound(_0x40ec9a,null))[_0x3e5d('0x2f')](saveUpdates(_0x28ba1e[_0x3e5d('0x55')],null))[_0x3e5d('0x2f')](respondWithResult(_0x40ec9a,null))[_0x3e5d('0x24')](handleError(_0x40ec9a,null));};exports[_0x3e5d('0x30')]=function(_0x127d98,_0x3d012e){return db[_0x3e5d('0x37')][_0x3e5d('0x53')]({'where':{'id':_0x127d98[_0x3e5d('0x50')]['id']}})['then'](handleEntityNotFound(_0x3d012e,null))[_0x3e5d('0x2f')](removeEntity(_0x3d012e,null))[_0x3e5d('0x24')](handleError(_0x3d012e,null));};exports[_0x3e5d('0x56')]=function(_0x3a5a2,_0x17a4f8,_0x551fbd){var _0x42bda3={};var _0x26b304={};var _0x11a230;var _0x205102;return db[_0x3e5d('0x37')]['findOne']({'where':{'id':_0x3a5a2[_0x3e5d('0x50')]['id']}})[_0x3e5d('0x2f')](handleEntityNotFound(_0x17a4f8,null))['then'](function(_0x691376){if(_0x691376){_0x11a230=_0x691376;_0x26b304['model']=_[_0x3e5d('0x3c')](db[_0x3e5d('0x57')]['rawAttributes']);_0x26b304[_0x3e5d('0x3b')]=_[_0x3e5d('0x3c')](_0x3a5a2[_0x3e5d('0x3b')]);_0x26b304['filters']=_[_0x3e5d('0x40')](_0x26b304[_0x3e5d('0x3e')],_0x26b304[_0x3e5d('0x3b')]);_0x42bda3['attributes']=_['intersection'](_0x26b304[_0x3e5d('0x3e')],qs[_0x3e5d('0x41')](_0x3a5a2[_0x3e5d('0x3b')]['fields']));_0x42bda3[_0x3e5d('0x3f')]=_0x42bda3['attributes'][_0x3e5d('0x52')]?_0x42bda3[_0x3e5d('0x3f')]:_0x26b304['model'];_0x42bda3[_0x3e5d('0x44')]=qs['sort'](_0x3a5a2[_0x3e5d('0x3b')][_0x3e5d('0x45')]);_0x42bda3[_0x3e5d('0x46')]=qs[_0x3e5d('0x3d')](_[_0x3e5d('0x47')](_0x3a5a2['query'],_0x26b304['filters']));if(_0x3a5a2['query']['filter']){_0x42bda3[_0x3e5d('0x46')]=_[_0x3e5d('0x49')](_0x42bda3['where'],{'$or':_[_0x3e5d('0x36')](_0x42bda3[_0x3e5d('0x3f')],function(_0x54e0fa){var _0x3f8350={};_0x3f8350[_0x54e0fa]={'$like':'%'+_0x3a5a2[_0x3e5d('0x3b')][_0x3e5d('0x48')]+'%'};return _0x3f8350;})});}_0x42bda3=_[_0x3e5d('0x49')]({},_0x42bda3,_0x3a5a2[_0x3e5d('0x4b')]);return _0x11a230[_0x3e5d('0x56')](_0x42bda3);}})['then'](function(_0x72d245){if(_0x72d245){_0x205102=_0x72d245[_0x3e5d('0x52')];if(!_0x3a5a2[_0x3e5d('0x3b')][_0x3e5d('0x42')](_0x3e5d('0x58'))){_0x42bda3[_0x3e5d('0x43')]=qs[_0x3e5d('0x43')](_0x3a5a2[_0x3e5d('0x3b')]['limit']);_0x42bda3[_0x3e5d('0x29')]=qs[_0x3e5d('0x29')](_0x3a5a2[_0x3e5d('0x3b')][_0x3e5d('0x29')]);}return _0x11a230[_0x3e5d('0x56')](_0x42bda3);}})[_0x3e5d('0x2f')](function(_0x2a5819){if(_0x2a5819){return _0x2a5819?{'count':_0x205102,'rows':_0x2a5819}:null;}})[_0x3e5d('0x2f')](respondWithResult(_0x17a4f8,null))[_0x3e5d('0x24')](handleError(_0x17a4f8,null));};exports['getSubjects']=function(_0x4298a0,_0x33c414,_0x3dfb13){var _0x2fbdd0={};var _0x44b156={};var _0x2ff5ec;var _0x4a084f;return db[_0x3e5d('0x37')]['findOne']({'where':{'id':_0x4298a0[_0x3e5d('0x50')]['id']}})[_0x3e5d('0x2f')](handleEntityNotFound(_0x33c414,null))[_0x3e5d('0x2f')](function(_0x48ef99){if(_0x48ef99){_0x2ff5ec=_0x48ef99;_0x44b156[_0x3e5d('0x3e')]=_['keys'](db[_0x3e5d('0x57')][_0x3e5d('0x51')]);_0x44b156[_0x3e5d('0x3b')]=_[_0x3e5d('0x3c')](_0x4298a0[_0x3e5d('0x3b')]);_0x44b156[_0x3e5d('0x3d')]=_[_0x3e5d('0x40')](_0x44b156['model'],_0x44b156[_0x3e5d('0x3b')]);_0x2fbdd0[_0x3e5d('0x3f')]=_[_0x3e5d('0x40')](_0x44b156['model'],qs[_0x3e5d('0x41')](_0x4298a0['query']['fields']));_0x2fbdd0[_0x3e5d('0x3f')]=_0x2fbdd0['attributes'][_0x3e5d('0x52')]?_0x2fbdd0[_0x3e5d('0x3f')]:_0x44b156[_0x3e5d('0x3e')];_0x2fbdd0['order']=qs['sort'](_0x4298a0[_0x3e5d('0x3b')][_0x3e5d('0x45')]);_0x2fbdd0[_0x3e5d('0x46')]=qs[_0x3e5d('0x3d')](_[_0x3e5d('0x47')](_0x4298a0[_0x3e5d('0x3b')],_0x44b156[_0x3e5d('0x3d')]));if(_0x4298a0[_0x3e5d('0x3b')][_0x3e5d('0x48')]){_0x2fbdd0[_0x3e5d('0x46')]=_[_0x3e5d('0x49')](_0x2fbdd0[_0x3e5d('0x46')],{'$or':_['map'](_0x2fbdd0[_0x3e5d('0x3f')],function(_0x3bb2af){var _0x4081e={};_0x4081e[_0x3bb2af]={'$like':'%'+_0x4298a0['query'][_0x3e5d('0x48')]+'%'};return _0x4081e;})});}_0x2fbdd0=_[_0x3e5d('0x49')]({},_0x2fbdd0,_0x4298a0['options']);return _0x2ff5ec['getSubjects'](_0x2fbdd0);}})[_0x3e5d('0x2f')](function(_0x2aeec5){if(_0x2aeec5){_0x4a084f=_0x2aeec5[_0x3e5d('0x52')];if(!_0x4298a0[_0x3e5d('0x3b')][_0x3e5d('0x42')](_0x3e5d('0x58'))){_0x2fbdd0[_0x3e5d('0x43')]=qs['limit'](_0x4298a0[_0x3e5d('0x3b')][_0x3e5d('0x43')]);_0x2fbdd0[_0x3e5d('0x29')]=qs[_0x3e5d('0x29')](_0x4298a0[_0x3e5d('0x3b')][_0x3e5d('0x29')]);}return _0x2ff5ec['getSubjects'](_0x2fbdd0);}})[_0x3e5d('0x2f')](function(_0x33d1dc){if(_0x33d1dc){return _0x33d1dc?{'count':_0x4a084f,'rows':_0x33d1dc}:null;}})[_0x3e5d('0x2f')](respondWithResult(_0x33c414,null))['catch'](handleError(_0x33c414,null));};exports[_0x3e5d('0x59')]=function(_0x5e04c7,_0x30fa7f,_0x2b5ab7){var _0x15552d={};var _0x43d634={};var _0x3d1487;var _0x4c3f7b;return db[_0x3e5d('0x37')][_0x3e5d('0x5a')]({'where':{'id':_0x5e04c7['params']['id']}})[_0x3e5d('0x2f')](handleEntityNotFound(_0x30fa7f,null))[_0x3e5d('0x2f')](function(_0x2856e8){if(_0x2856e8){_0x3d1487=_0x2856e8;_0x43d634[_0x3e5d('0x3e')]=_['keys'](db['ZohoField'][_0x3e5d('0x51')]);_0x43d634['query']=_['keys'](_0x5e04c7[_0x3e5d('0x3b')]);_0x43d634[_0x3e5d('0x3d')]=_['intersection'](_0x43d634[_0x3e5d('0x3e')],_0x43d634[_0x3e5d('0x3b')]);_0x15552d[_0x3e5d('0x3f')]=_[_0x3e5d('0x40')](_0x43d634[_0x3e5d('0x3e')],qs[_0x3e5d('0x41')](_0x5e04c7[_0x3e5d('0x3b')][_0x3e5d('0x41')]));_0x15552d[_0x3e5d('0x3f')]=_0x15552d[_0x3e5d('0x3f')][_0x3e5d('0x52')]?_0x15552d['attributes']:_0x43d634[_0x3e5d('0x3e')];_0x15552d[_0x3e5d('0x44')]=qs['sort'](_0x5e04c7[_0x3e5d('0x3b')][_0x3e5d('0x45')]);_0x15552d[_0x3e5d('0x46')]=qs[_0x3e5d('0x3d')](_[_0x3e5d('0x47')](_0x5e04c7[_0x3e5d('0x3b')],_0x43d634['filters']));if(_0x5e04c7['query'][_0x3e5d('0x48')]){_0x15552d[_0x3e5d('0x46')]=_[_0x3e5d('0x49')](_0x15552d[_0x3e5d('0x46')],{'$or':_[_0x3e5d('0x36')](_0x15552d[_0x3e5d('0x3f')],function(_0x452ef4){var _0x13f30e={};_0x13f30e[_0x452ef4]={'$like':'%'+_0x5e04c7['query']['filter']+'%'};return _0x13f30e;})});}_0x15552d=_[_0x3e5d('0x49')]({},_0x15552d,_0x5e04c7[_0x3e5d('0x4b')]);return _0x3d1487[_0x3e5d('0x59')](_0x15552d);}})[_0x3e5d('0x2f')](function(_0x90ff80){if(_0x90ff80){_0x4c3f7b=_0x90ff80[_0x3e5d('0x52')];if(!_0x5e04c7[_0x3e5d('0x3b')][_0x3e5d('0x42')](_0x3e5d('0x58'))){_0x15552d[_0x3e5d('0x43')]=qs[_0x3e5d('0x43')](_0x5e04c7[_0x3e5d('0x3b')][_0x3e5d('0x43')]);_0x15552d[_0x3e5d('0x29')]=qs[_0x3e5d('0x29')](_0x5e04c7[_0x3e5d('0x3b')]['offset']);}return _0x3d1487[_0x3e5d('0x59')](_0x15552d);}})[_0x3e5d('0x2f')](function(_0x4b0a53){if(_0x4b0a53){return _0x4b0a53?{'count':_0x4c3f7b,'rows':_0x4b0a53}:null;}})[_0x3e5d('0x2f')](respondWithResult(_0x30fa7f,null))[_0x3e5d('0x24')](handleError(_0x30fa7f,null));}; \ No newline at end of file +var _0xd5dc=['sox','ejs','squel','crypto','desk.js','to-csv','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../mysqldb','jayson/promise','http','test','Sequelize','The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.','request','then','info','ZohoConfiguration,\x20%s,\x20%s','request\x20sent','debug','stringify','error','code','message','result','catch','sendStatus','status','end','offset','limit','set','Content-Range','apply','reject','save','update','destroy','stack','name','send','index','ZohoConfiguration','rawAttributes','type','key','model','query','keys','attributes','intersection','fields','length','hasOwnProperty','nolimit','order','where','filters','filter','map','merge','count','includeAll','include','findAll','rows','show','options','find','create','body','params','getFields','findOne','ZohoField','sort','pick','getSubjects','getDescriptions','rimraf','fast-json-patch','moment','bluebird','mustache','util','path'];(function(_0x321bb2,_0x202794){var _0x9c12ed=function(_0x263dd3){while(--_0x263dd3){_0x321bb2['push'](_0x321bb2['shift']());}};_0x9c12ed(++_0x202794);}(_0xd5dc,0x171));var _0xcd5d=function(_0x3f18eb,_0x69755b){_0x3f18eb=_0x3f18eb-0x0;var _0x157926=_0xd5dc[_0x3f18eb];return _0x157926;};'use strict';var pdf=require('html-pdf');var emlformat=require('eml-format');var rimraf=require(_0xcd5d('0x0'));var zipdir=require('zip-dir');var jsonpatch=require(_0xcd5d('0x1'));var rp=require('request-promise');var moment=require(_0xcd5d('0x2'));var BPromise=require(_0xcd5d('0x3'));var Mustache=require(_0xcd5d('0x4'));var util=require(_0xcd5d('0x5'));var path=require(_0xcd5d('0x6'));var sox=require(_0xcd5d('0x7'));var csv=require('to-csv');var ejs=require(_0xcd5d('0x8'));var fs=require('fs');var _=require('lodash');var squel=require(_0xcd5d('0x9'));var crypto=require(_0xcd5d('0xa'));var jsforce=require('jsforce');var deskjs=require(_0xcd5d('0xb'));var toCsv=require(_0xcd5d('0xc'));var querystring=require(_0xcd5d('0xd'));var Papa=require(_0xcd5d('0xe'));var Redis=require(_0xcd5d('0xf'));var authService=require(_0xcd5d('0x10'));var qs=require(_0xcd5d('0x11'));var as=require(_0xcd5d('0x12'));var hardwareService=require(_0xcd5d('0x13'));var logger=require(_0xcd5d('0x14'))(_0xcd5d('0x15'));var utils=require(_0xcd5d('0x16'));var config=require('../../config/environment');var db=require(_0xcd5d('0x17'))['db'];var jayson=require(_0xcd5d('0x18'));var client=jayson['client'][_0xcd5d('0x19')]({'port':0x232a});function checkPasswordPattern(_0xb8da68,_0x2cb8ee,_0xb8432b){if(_0xb8432b){var _0x4580ec=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0x4580ec[_0xcd5d('0x1a')](_0x2cb8ee)){return _0xb8da68;}else{throw new db[(_0xcd5d('0x1b'))]['ValidationError'](_0xcd5d('0x1c'));}}else{return _0xb8da68;}}function respondWithRpcPromise(_0x8a605f,_0x863b7f,_0x1f41c2,_0x43e9c5){return new BPromise(function(_0x4f8b78,_0xf74404){var _0x18cbb1=_0x43e9c5||client;return _0x18cbb1[_0xcd5d('0x1d')](_0x8a605f,_0x1f41c2)[_0xcd5d('0x1e')](function(_0x37eeea){logger[_0xcd5d('0x1f')](_0xcd5d('0x20'),_0x863b7f,_0xcd5d('0x21'));logger[_0xcd5d('0x22')]('ZohoConfiguration,\x20%s,\x20%s,\x20%s',_0x863b7f,_0xcd5d('0x21'),JSON[_0xcd5d('0x23')](_0x37eeea));if(_0x37eeea['error']){if(_0x37eeea[_0xcd5d('0x24')][_0xcd5d('0x25')]===0x1f4){logger[_0xcd5d('0x24')](_0xcd5d('0x20'),_0x863b7f,_0x37eeea[_0xcd5d('0x24')][_0xcd5d('0x26')]);return _0xf74404(_0x37eeea[_0xcd5d('0x24')][_0xcd5d('0x26')]);}logger['error']('ZohoConfiguration,\x20%s,\x20%s',_0x863b7f,_0x37eeea[_0xcd5d('0x24')][_0xcd5d('0x26')]);return _0x4f8b78(_0x37eeea[_0xcd5d('0x24')][_0xcd5d('0x26')]);}else{logger[_0xcd5d('0x1f')](_0xcd5d('0x20'),_0x863b7f,_0xcd5d('0x21'));_0x4f8b78(_0x37eeea[_0xcd5d('0x27')][_0xcd5d('0x26')]);}})[_0xcd5d('0x28')](function(_0x4722a8){logger[_0xcd5d('0x24')](_0xcd5d('0x20'),_0x863b7f,_0x4722a8);_0xf74404(_0x4722a8);});});}function respondWithStatusCode(_0x2372b8,_0x209931){_0x209931=_0x209931||0xcc;return function(_0x541aca){if(_0x541aca){return _0x2372b8[_0xcd5d('0x29')](_0x209931);}return _0x2372b8[_0xcd5d('0x2a')](_0x209931)[_0xcd5d('0x2b')]();};}function respondWithResult(_0x3c31df,_0x211e82){_0x211e82=_0x211e82||0xc8;return function(_0x25da10){if(_0x25da10){return _0x3c31df[_0xcd5d('0x2a')](_0x211e82)['json'](_0x25da10);}};}function respondWithFilteredResult(_0x8c14df,_0x3bfbaa){return function(_0x529adc){if(_0x529adc){var _0x41939e=_0x529adc['count'],_0x2f721b=_0x3bfbaa[_0xcd5d('0x2c')],_0x4c740b=_0x3bfbaa[_0xcd5d('0x2c')]+_0x3bfbaa[_0xcd5d('0x2d')],_0x446ef2;if(_0x4c740b>=_0x41939e){_0x4c740b=_0x41939e;_0x446ef2=0xc8;}else{_0x446ef2=0xce;}_0x8c14df[_0xcd5d('0x2a')](_0x446ef2);return _0x8c14df[_0xcd5d('0x2e')](_0xcd5d('0x2f'),_0x2f721b+'-'+_0x4c740b+'/'+_0x41939e)['json'](_0x529adc);}return null;};}function patchUpdates(_0x39e4a0){return function(_0x561441){try{jsonpatch[_0xcd5d('0x30')](_0x561441,_0x39e4a0,!![]);}catch(_0x55893f){return BPromise[_0xcd5d('0x31')](_0x55893f);}return _0x561441[_0xcd5d('0x32')]();};}function saveUpdates(_0x23da57,_0x5cc4c3){return function(_0x1076ce){if(_0x1076ce){return _0x1076ce[_0xcd5d('0x33')](_0x23da57)['then'](function(_0x41d472){return _0x41d472;});}return null;};}function removeEntity(_0x39a1b1,_0xa2f240){return function(_0x58b15d){if(_0x58b15d){return _0x58b15d[_0xcd5d('0x34')]()[_0xcd5d('0x1e')](function(){_0x39a1b1[_0xcd5d('0x2a')](0xcc)[_0xcd5d('0x2b')]();});}};}function handleEntityNotFound(_0x273610,_0x404a04){return function(_0x4c4a6c){if(!_0x4c4a6c){_0x273610['sendStatus'](0x194);}return _0x4c4a6c;};}function handleError(_0x2ee8ac,_0x338a9d){_0x338a9d=_0x338a9d||0x1f4;return function(_0x15f647){logger[_0xcd5d('0x24')](_0x15f647[_0xcd5d('0x35')]);if(_0x15f647['name']){delete _0x15f647[_0xcd5d('0x36')];}_0x2ee8ac[_0xcd5d('0x2a')](_0x338a9d)[_0xcd5d('0x37')](_0x15f647);};}exports[_0xcd5d('0x38')]=function(_0xc5d9b7,_0x531c58){var _0x4d5499={},_0x2bce35={},_0x32c75f={'count':0x0,'rows':[]};var _0x11fd5b=_['map'](db[_0xcd5d('0x39')][_0xcd5d('0x3a')],function(_0x4b6e33){return{'name':_0x4b6e33['fieldName'],'type':_0x4b6e33[_0xcd5d('0x3b')][_0xcd5d('0x3c')]};});_0x2bce35[_0xcd5d('0x3d')]=_['map'](_0x11fd5b,'name');_0x2bce35[_0xcd5d('0x3e')]=_[_0xcd5d('0x3f')](_0xc5d9b7['query']);_0x2bce35['filters']=_['intersection'](_0x2bce35['model'],_0x2bce35[_0xcd5d('0x3e')]);_0x4d5499[_0xcd5d('0x40')]=_[_0xcd5d('0x41')](_0x2bce35[_0xcd5d('0x3d')],qs['fields'](_0xc5d9b7[_0xcd5d('0x3e')][_0xcd5d('0x42')]));_0x4d5499[_0xcd5d('0x40')]=_0x4d5499[_0xcd5d('0x40')][_0xcd5d('0x43')]?_0x4d5499[_0xcd5d('0x40')]:_0x2bce35[_0xcd5d('0x3d')];if(!_0xc5d9b7['query'][_0xcd5d('0x44')](_0xcd5d('0x45'))){_0x4d5499[_0xcd5d('0x2d')]=qs[_0xcd5d('0x2d')](_0xc5d9b7[_0xcd5d('0x3e')][_0xcd5d('0x2d')]);_0x4d5499[_0xcd5d('0x2c')]=qs[_0xcd5d('0x2c')](_0xc5d9b7['query'][_0xcd5d('0x2c')]);}_0x4d5499[_0xcd5d('0x46')]=qs['sort'](_0xc5d9b7[_0xcd5d('0x3e')]['sort']);_0x4d5499[_0xcd5d('0x47')]=qs[_0xcd5d('0x48')](_['pick'](_0xc5d9b7['query'],_0x2bce35['filters']),_0x11fd5b);if(_0xc5d9b7[_0xcd5d('0x3e')][_0xcd5d('0x49')]){_0x4d5499[_0xcd5d('0x47')]=_['merge'](_0x4d5499[_0xcd5d('0x47')],{'$or':_[_0xcd5d('0x4a')](_0x11fd5b,function(_0x484dfa){if(_0x484dfa['type']!=='VIRTUAL'){var _0x49c60d={};_0x49c60d[_0x484dfa[_0xcd5d('0x36')]]={'$like':'%'+_0xc5d9b7['query'][_0xcd5d('0x49')]+'%'};return _0x49c60d;}})});}_0x4d5499=_[_0xcd5d('0x4b')]({},_0x4d5499,_0xc5d9b7['options']);var _0x5b8766={'where':_0x4d5499['where']};return db[_0xcd5d('0x39')]['count'](_0x5b8766)[_0xcd5d('0x1e')](function(_0x73f7d9){_0x32c75f[_0xcd5d('0x4c')]=_0x73f7d9;if(_0xc5d9b7[_0xcd5d('0x3e')][_0xcd5d('0x4d')]){_0x4d5499[_0xcd5d('0x4e')]=[{'all':!![]}];}return db[_0xcd5d('0x39')][_0xcd5d('0x4f')](_0x4d5499);})[_0xcd5d('0x1e')](function(_0x14506a){_0x32c75f[_0xcd5d('0x50')]=_0x14506a;return _0x32c75f;})[_0xcd5d('0x1e')](respondWithFilteredResult(_0x531c58,_0x4d5499))['catch'](handleError(_0x531c58,null));};exports[_0xcd5d('0x51')]=function(_0x346bf8,_0x462e52){var _0x4058cf={'raw':![],'where':{'id':_0x346bf8['params']['id']}},_0xfd8d96={};_0xfd8d96['model']=_[_0xcd5d('0x3f')](db[_0xcd5d('0x39')][_0xcd5d('0x3a')]);_0xfd8d96[_0xcd5d('0x3e')]=_[_0xcd5d('0x3f')](_0x346bf8['query']);_0xfd8d96[_0xcd5d('0x48')]=_[_0xcd5d('0x41')](_0xfd8d96[_0xcd5d('0x3d')],_0xfd8d96[_0xcd5d('0x3e')]);_0x4058cf[_0xcd5d('0x40')]=_[_0xcd5d('0x41')](_0xfd8d96[_0xcd5d('0x3d')],qs[_0xcd5d('0x42')](_0x346bf8[_0xcd5d('0x3e')][_0xcd5d('0x42')]));_0x4058cf[_0xcd5d('0x40')]=_0x4058cf[_0xcd5d('0x40')][_0xcd5d('0x43')]?_0x4058cf[_0xcd5d('0x40')]:_0xfd8d96[_0xcd5d('0x3d')];if(_0x346bf8[_0xcd5d('0x3e')][_0xcd5d('0x4d')]){_0x4058cf['include']=[{'all':!![]}];}_0x4058cf=_['merge']({},_0x4058cf,_0x346bf8[_0xcd5d('0x52')]);return db['ZohoConfiguration'][_0xcd5d('0x53')](_0x4058cf)[_0xcd5d('0x1e')](handleEntityNotFound(_0x462e52,null))[_0xcd5d('0x1e')](respondWithResult(_0x462e52,null))[_0xcd5d('0x28')](handleError(_0x462e52,null));};exports[_0xcd5d('0x54')]=function(_0xba5b5a,_0x5d57cc){return db['ZohoConfiguration']['create'](_0xba5b5a[_0xcd5d('0x55')],{})[_0xcd5d('0x1e')](respondWithResult(_0x5d57cc,0xc9))[_0xcd5d('0x28')](handleError(_0x5d57cc,null));};exports[_0xcd5d('0x33')]=function(_0x15a45b,_0x8b7ddf){if(_0x15a45b[_0xcd5d('0x55')]['id']){delete _0x15a45b[_0xcd5d('0x55')]['id'];}return db['ZohoConfiguration']['find']({'where':{'id':_0x15a45b[_0xcd5d('0x56')]['id']}})[_0xcd5d('0x1e')](handleEntityNotFound(_0x8b7ddf,null))['then'](saveUpdates(_0x15a45b[_0xcd5d('0x55')],null))['then'](respondWithResult(_0x8b7ddf,null))[_0xcd5d('0x28')](handleError(_0x8b7ddf,null));};exports[_0xcd5d('0x34')]=function(_0x482ff5,_0x23c7a0){return db[_0xcd5d('0x39')][_0xcd5d('0x53')]({'where':{'id':_0x482ff5[_0xcd5d('0x56')]['id']}})[_0xcd5d('0x1e')](handleEntityNotFound(_0x23c7a0,null))[_0xcd5d('0x1e')](removeEntity(_0x23c7a0,null))[_0xcd5d('0x28')](handleError(_0x23c7a0,null));};exports[_0xcd5d('0x57')]=function(_0x27d1a9,_0x4df41e,_0xe8956d){var _0x1b11f0={};var _0x34b0fa={};var _0x471430;var _0x12052a;return db['ZohoConfiguration'][_0xcd5d('0x58')]({'where':{'id':_0x27d1a9[_0xcd5d('0x56')]['id']}})[_0xcd5d('0x1e')](handleEntityNotFound(_0x4df41e,null))[_0xcd5d('0x1e')](function(_0xbd05fb){if(_0xbd05fb){_0x471430=_0xbd05fb;_0x34b0fa[_0xcd5d('0x3d')]=_['keys'](db[_0xcd5d('0x59')][_0xcd5d('0x3a')]);_0x34b0fa[_0xcd5d('0x3e')]=_[_0xcd5d('0x3f')](_0x27d1a9[_0xcd5d('0x3e')]);_0x34b0fa[_0xcd5d('0x48')]=_['intersection'](_0x34b0fa[_0xcd5d('0x3d')],_0x34b0fa[_0xcd5d('0x3e')]);_0x1b11f0['attributes']=_[_0xcd5d('0x41')](_0x34b0fa[_0xcd5d('0x3d')],qs[_0xcd5d('0x42')](_0x27d1a9[_0xcd5d('0x3e')][_0xcd5d('0x42')]));_0x1b11f0[_0xcd5d('0x40')]=_0x1b11f0['attributes'][_0xcd5d('0x43')]?_0x1b11f0[_0xcd5d('0x40')]:_0x34b0fa[_0xcd5d('0x3d')];_0x1b11f0[_0xcd5d('0x46')]=qs[_0xcd5d('0x5a')](_0x27d1a9[_0xcd5d('0x3e')][_0xcd5d('0x5a')]);_0x1b11f0[_0xcd5d('0x47')]=qs[_0xcd5d('0x48')](_[_0xcd5d('0x5b')](_0x27d1a9[_0xcd5d('0x3e')],_0x34b0fa[_0xcd5d('0x48')]));if(_0x27d1a9[_0xcd5d('0x3e')][_0xcd5d('0x49')]){_0x1b11f0['where']=_[_0xcd5d('0x4b')](_0x1b11f0[_0xcd5d('0x47')],{'$or':_['map'](_0x1b11f0[_0xcd5d('0x40')],function(_0x47abe5){var _0xfedd8a={};_0xfedd8a[_0x47abe5]={'$like':'%'+_0x27d1a9[_0xcd5d('0x3e')]['filter']+'%'};return _0xfedd8a;})});}_0x1b11f0=_[_0xcd5d('0x4b')]({},_0x1b11f0,_0x27d1a9['options']);return _0x471430['getFields'](_0x1b11f0);}})[_0xcd5d('0x1e')](function(_0x52e68e){if(_0x52e68e){_0x12052a=_0x52e68e[_0xcd5d('0x43')];if(!_0x27d1a9[_0xcd5d('0x3e')][_0xcd5d('0x44')](_0xcd5d('0x45'))){_0x1b11f0['limit']=qs['limit'](_0x27d1a9[_0xcd5d('0x3e')][_0xcd5d('0x2d')]);_0x1b11f0[_0xcd5d('0x2c')]=qs[_0xcd5d('0x2c')](_0x27d1a9['query'][_0xcd5d('0x2c')]);}return _0x471430[_0xcd5d('0x57')](_0x1b11f0);}})[_0xcd5d('0x1e')](function(_0x3400f0){if(_0x3400f0){return _0x3400f0?{'count':_0x12052a,'rows':_0x3400f0}:null;}})[_0xcd5d('0x1e')](respondWithResult(_0x4df41e,null))[_0xcd5d('0x28')](handleError(_0x4df41e,null));};exports[_0xcd5d('0x5c')]=function(_0x3a5ee2,_0x5ad685,_0x32b4c3){var _0xe0d7d7={};var _0x2a9ab9={};var _0x1bc2ae;var _0x53066e;return db[_0xcd5d('0x39')][_0xcd5d('0x58')]({'where':{'id':_0x3a5ee2[_0xcd5d('0x56')]['id']}})[_0xcd5d('0x1e')](handleEntityNotFound(_0x5ad685,null))[_0xcd5d('0x1e')](function(_0x55d043){if(_0x55d043){_0x1bc2ae=_0x55d043;_0x2a9ab9[_0xcd5d('0x3d')]=_[_0xcd5d('0x3f')](db[_0xcd5d('0x59')][_0xcd5d('0x3a')]);_0x2a9ab9[_0xcd5d('0x3e')]=_['keys'](_0x3a5ee2[_0xcd5d('0x3e')]);_0x2a9ab9['filters']=_['intersection'](_0x2a9ab9[_0xcd5d('0x3d')],_0x2a9ab9[_0xcd5d('0x3e')]);_0xe0d7d7[_0xcd5d('0x40')]=_['intersection'](_0x2a9ab9['model'],qs[_0xcd5d('0x42')](_0x3a5ee2['query'][_0xcd5d('0x42')]));_0xe0d7d7[_0xcd5d('0x40')]=_0xe0d7d7[_0xcd5d('0x40')][_0xcd5d('0x43')]?_0xe0d7d7['attributes']:_0x2a9ab9['model'];_0xe0d7d7['order']=qs[_0xcd5d('0x5a')](_0x3a5ee2[_0xcd5d('0x3e')][_0xcd5d('0x5a')]);_0xe0d7d7[_0xcd5d('0x47')]=qs[_0xcd5d('0x48')](_[_0xcd5d('0x5b')](_0x3a5ee2[_0xcd5d('0x3e')],_0x2a9ab9[_0xcd5d('0x48')]));if(_0x3a5ee2[_0xcd5d('0x3e')][_0xcd5d('0x49')]){_0xe0d7d7[_0xcd5d('0x47')]=_['merge'](_0xe0d7d7[_0xcd5d('0x47')],{'$or':_['map'](_0xe0d7d7[_0xcd5d('0x40')],function(_0x5f2010){var _0x3d42eb={};_0x3d42eb[_0x5f2010]={'$like':'%'+_0x3a5ee2[_0xcd5d('0x3e')]['filter']+'%'};return _0x3d42eb;})});}_0xe0d7d7=_[_0xcd5d('0x4b')]({},_0xe0d7d7,_0x3a5ee2[_0xcd5d('0x52')]);return _0x1bc2ae[_0xcd5d('0x5c')](_0xe0d7d7);}})[_0xcd5d('0x1e')](function(_0x39197f){if(_0x39197f){_0x53066e=_0x39197f[_0xcd5d('0x43')];if(!_0x3a5ee2[_0xcd5d('0x3e')][_0xcd5d('0x44')](_0xcd5d('0x45'))){_0xe0d7d7[_0xcd5d('0x2d')]=qs[_0xcd5d('0x2d')](_0x3a5ee2[_0xcd5d('0x3e')][_0xcd5d('0x2d')]);_0xe0d7d7[_0xcd5d('0x2c')]=qs[_0xcd5d('0x2c')](_0x3a5ee2['query'][_0xcd5d('0x2c')]);}return _0x1bc2ae['getSubjects'](_0xe0d7d7);}})['then'](function(_0x3770a6){if(_0x3770a6){return _0x3770a6?{'count':_0x53066e,'rows':_0x3770a6}:null;}})[_0xcd5d('0x1e')](respondWithResult(_0x5ad685,null))['catch'](handleError(_0x5ad685,null));};exports[_0xcd5d('0x5d')]=function(_0x367230,_0x1640de,_0x4fb74c){var _0x5ecae1={};var _0x31c2b0={};var _0x259814;var _0x2acb9f;return db[_0xcd5d('0x39')][_0xcd5d('0x58')]({'where':{'id':_0x367230[_0xcd5d('0x56')]['id']}})[_0xcd5d('0x1e')](handleEntityNotFound(_0x1640de,null))[_0xcd5d('0x1e')](function(_0x4e61e6){if(_0x4e61e6){_0x259814=_0x4e61e6;_0x31c2b0[_0xcd5d('0x3d')]=_[_0xcd5d('0x3f')](db['ZohoField'][_0xcd5d('0x3a')]);_0x31c2b0[_0xcd5d('0x3e')]=_[_0xcd5d('0x3f')](_0x367230[_0xcd5d('0x3e')]);_0x31c2b0[_0xcd5d('0x48')]=_['intersection'](_0x31c2b0['model'],_0x31c2b0[_0xcd5d('0x3e')]);_0x5ecae1[_0xcd5d('0x40')]=_[_0xcd5d('0x41')](_0x31c2b0[_0xcd5d('0x3d')],qs[_0xcd5d('0x42')](_0x367230[_0xcd5d('0x3e')][_0xcd5d('0x42')]));_0x5ecae1[_0xcd5d('0x40')]=_0x5ecae1[_0xcd5d('0x40')][_0xcd5d('0x43')]?_0x5ecae1[_0xcd5d('0x40')]:_0x31c2b0[_0xcd5d('0x3d')];_0x5ecae1[_0xcd5d('0x46')]=qs[_0xcd5d('0x5a')](_0x367230[_0xcd5d('0x3e')]['sort']);_0x5ecae1[_0xcd5d('0x47')]=qs[_0xcd5d('0x48')](_[_0xcd5d('0x5b')](_0x367230['query'],_0x31c2b0['filters']));if(_0x367230[_0xcd5d('0x3e')]['filter']){_0x5ecae1[_0xcd5d('0x47')]=_[_0xcd5d('0x4b')](_0x5ecae1[_0xcd5d('0x47')],{'$or':_[_0xcd5d('0x4a')](_0x5ecae1['attributes'],function(_0x5ca6dd){var _0x1b7c7e={};_0x1b7c7e[_0x5ca6dd]={'$like':'%'+_0x367230['query']['filter']+'%'};return _0x1b7c7e;})});}_0x5ecae1=_['merge']({},_0x5ecae1,_0x367230['options']);return _0x259814[_0xcd5d('0x5d')](_0x5ecae1);}})[_0xcd5d('0x1e')](function(_0x429e4b){if(_0x429e4b){_0x2acb9f=_0x429e4b[_0xcd5d('0x43')];if(!_0x367230[_0xcd5d('0x3e')][_0xcd5d('0x44')](_0xcd5d('0x45'))){_0x5ecae1['limit']=qs['limit'](_0x367230[_0xcd5d('0x3e')][_0xcd5d('0x2d')]);_0x5ecae1[_0xcd5d('0x2c')]=qs[_0xcd5d('0x2c')](_0x367230[_0xcd5d('0x3e')][_0xcd5d('0x2c')]);}return _0x259814['getDescriptions'](_0x5ecae1);}})['then'](function(_0x4b0167){if(_0x4b0167){return _0x4b0167?{'count':_0x2acb9f,'rows':_0x4b0167}:null;}})[_0xcd5d('0x1e')](respondWithResult(_0x1640de,null))['catch'](handleError(_0x1640de,null));}; \ No newline at end of file diff --git a/server/api/intZohoConfiguration/intZohoConfiguration.model.js b/server/api/intZohoConfiguration/intZohoConfiguration.model.js index 2b69842..f86470c 100644 --- a/server/api/intZohoConfiguration/intZohoConfiguration.model.js +++ b/server/api/intZohoConfiguration/intZohoConfiguration.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x9385=['ZohoConfiguration','int_zoho_configurations','lodash','util','../../config/logger','api','moment','request-promise','path','rimraf','../../config/environment','./intZohoConfiguration.attributes','define'];(function(_0x3f6ed4,_0xcf67ea){var _0x3d0be8=function(_0x380a0d){while(--_0x380a0d){_0x3f6ed4['push'](_0x3f6ed4['shift']());}};_0x3d0be8(++_0xcf67ea);}(_0x9385,0x9e));var _0x5938=function(_0x4cbf97,_0x58c02d){_0x4cbf97=_0x4cbf97-0x0;var _0x2ee505=_0x9385[_0x4cbf97];return _0x2ee505;};'use strict';var _=require(_0x5938('0x0'));var util=require(_0x5938('0x1'));var logger=require(_0x5938('0x2'))(_0x5938('0x3'));var moment=require(_0x5938('0x4'));var BPromise=require('bluebird');var rp=require(_0x5938('0x5'));var fs=require('fs');var path=require(_0x5938('0x6'));var rimraf=require(_0x5938('0x7'));var config=require(_0x5938('0x8'));var attributes=require(_0x5938('0x9'));module['exports']=function(_0x45de77,_0x4c93c2){return _0x45de77[_0x5938('0xa')](_0x5938('0xb'),attributes,{'tableName':_0x5938('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0xe7ec=['rimraf','../../config/environment','exports','define','ZohoConfiguration','int_zoho_configurations','lodash','moment','bluebird','request-promise','path'];(function(_0x4e009c,_0x3042ca){var _0x18d91c=function(_0x5ebc33){while(--_0x5ebc33){_0x4e009c['push'](_0x4e009c['shift']());}};_0x18d91c(++_0x3042ca);}(_0xe7ec,0x7f));var _0xce7e=function(_0xbe200f,_0x4b50eb){_0xbe200f=_0xbe200f-0x0;var _0x192597=_0xe7ec[_0xbe200f];return _0x192597;};'use strict';var _=require(_0xce7e('0x0'));var util=require('util');var logger=require('../../config/logger')('api');var moment=require(_0xce7e('0x1'));var BPromise=require(_0xce7e('0x2'));var rp=require(_0xce7e('0x3'));var fs=require('fs');var path=require(_0xce7e('0x4'));var rimraf=require(_0xce7e('0x5'));var config=require(_0xce7e('0x6'));var attributes=require('./intZohoConfiguration.attributes');module[_0xce7e('0x7')]=function(_0x19ae22,_0x7231be){return _0x19ae22[_0xce7e('0x8')](_0xce7e('0x9'),attributes,{'tableName':_0xce7e('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/intZohoConfiguration/intZohoConfiguration.rpc.js b/server/api/intZohoConfiguration/intZohoConfiguration.rpc.js index d5491d0..9173ed0 100644 --- a/server/api/intZohoConfiguration/intZohoConfiguration.rpc.js +++ b/server/api/intZohoConfiguration/intZohoConfiguration.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x0d09=['error','code','message','lodash','moment','randomstring','ioredis','../../mysqldb','../../config/utils','rpc','../../config/environment','jayson/promise','client','http','then','info','ZohoConfiguration,\x20%s,\x20%s','request\x20sent','debug','ZohoConfiguration,\x20%s,\x20%s,\x20%s'];(function(_0x1ac595,_0x5d2081){var _0x455fff=function(_0x3043ee){while(--_0x3043ee){_0x1ac595['push'](_0x1ac595['shift']());}};_0x455fff(++_0x5d2081);}(_0x0d09,0x1bb));var _0x90d0=function(_0x24cc72,_0x4dc73a){_0x24cc72=_0x24cc72-0x0;var _0xd49f1e=_0x0d09[_0x24cc72];return _0xd49f1e;};'use strict';var _=require(_0x90d0('0x0'));var util=require('util');var moment=require(_0x90d0('0x1'));var BPromise=require('bluebird');var rs=require(_0x90d0('0x2'));var fs=require('fs');var Redis=require(_0x90d0('0x3'));var db=require(_0x90d0('0x4'))['db'];var utils=require(_0x90d0('0x5'));var logger=require('../../config/logger')(_0x90d0('0x6'));var config=require(_0x90d0('0x7'));var jayson=require(_0x90d0('0x8'));var client=jayson[_0x90d0('0x9')][_0x90d0('0xa')]({'port':0x232a});function respondWithRpcPromise(_0x490df1,_0x38bb7f,_0x5b57cc){return new BPromise(function(_0x38e23c,_0xf53c25){return client['request'](_0x490df1,_0x5b57cc)[_0x90d0('0xb')](function(_0x53159b){logger[_0x90d0('0xc')](_0x90d0('0xd'),_0x38bb7f,_0x90d0('0xe'));logger[_0x90d0('0xf')](_0x90d0('0x10'),_0x38bb7f,_0x90d0('0xe'),JSON['stringify'](_0x53159b));if(_0x53159b[_0x90d0('0x11')]){if(_0x53159b[_0x90d0('0x11')][_0x90d0('0x12')]===0x1f4){logger[_0x90d0('0x11')](_0x90d0('0xd'),_0x38bb7f,_0x53159b[_0x90d0('0x11')][_0x90d0('0x13')]);return _0xf53c25(_0x53159b[_0x90d0('0x11')][_0x90d0('0x13')]);}logger['error']('ZohoConfiguration,\x20%s,\x20%s',_0x38bb7f,_0x53159b[_0x90d0('0x11')][_0x90d0('0x13')]);return _0x38e23c(_0x53159b['error']['message']);}else{logger[_0x90d0('0xc')](_0x90d0('0xd'),_0x38bb7f,_0x90d0('0xe'));_0x38e23c(_0x53159b['result'][_0x90d0('0x13')]);}})['catch'](function(_0x272443){logger[_0x90d0('0x11')](_0x90d0('0xd'),_0x38bb7f,_0x272443);_0xf53c25(_0x272443);});});} \ No newline at end of file +var _0xc6bb=['../../config/environment','request','then','request\x20sent','debug','stringify','error','code','ZohoConfiguration,\x20%s,\x20%s','message','info','catch','lodash','moment','bluebird','../../mysqldb','../../config/utils','../../config/logger','rpc'];(function(_0x2ce5e3,_0x429426){var _0xe1e73c=function(_0x4a1c38){while(--_0x4a1c38){_0x2ce5e3['push'](_0x2ce5e3['shift']());}};_0xe1e73c(++_0x429426);}(_0xc6bb,0xdd));var _0xbc6b=function(_0x3bfa3a,_0x473d6a){_0x3bfa3a=_0x3bfa3a-0x0;var _0x2e0a94=_0xc6bb[_0x3bfa3a];return _0x2e0a94;};'use strict';var _=require(_0xbc6b('0x0'));var util=require('util');var moment=require(_0xbc6b('0x1'));var BPromise=require(_0xbc6b('0x2'));var rs=require('randomstring');var fs=require('fs');var Redis=require('ioredis');var db=require(_0xbc6b('0x3'))['db'];var utils=require(_0xbc6b('0x4'));var logger=require(_0xbc6b('0x5'))(_0xbc6b('0x6'));var config=require(_0xbc6b('0x7'));var jayson=require('jayson/promise');var client=jayson['client']['http']({'port':0x232a});function respondWithRpcPromise(_0x265961,_0x1c982d,_0x56e0a4){return new BPromise(function(_0x4a602a,_0x307b70){return client[_0xbc6b('0x8')](_0x265961,_0x56e0a4)[_0xbc6b('0x9')](function(_0x2bd82f){logger['info']('ZohoConfiguration,\x20%s,\x20%s',_0x1c982d,_0xbc6b('0xa'));logger[_0xbc6b('0xb')]('ZohoConfiguration,\x20%s,\x20%s,\x20%s',_0x1c982d,_0xbc6b('0xa'),JSON[_0xbc6b('0xc')](_0x2bd82f));if(_0x2bd82f[_0xbc6b('0xd')]){if(_0x2bd82f[_0xbc6b('0xd')][_0xbc6b('0xe')]===0x1f4){logger['error'](_0xbc6b('0xf'),_0x1c982d,_0x2bd82f[_0xbc6b('0xd')][_0xbc6b('0x10')]);return _0x307b70(_0x2bd82f[_0xbc6b('0xd')]['message']);}logger[_0xbc6b('0xd')]('ZohoConfiguration,\x20%s,\x20%s',_0x1c982d,_0x2bd82f[_0xbc6b('0xd')][_0xbc6b('0x10')]);return _0x4a602a(_0x2bd82f[_0xbc6b('0xd')][_0xbc6b('0x10')]);}else{logger[_0xbc6b('0x11')](_0xbc6b('0xf'),_0x1c982d,_0xbc6b('0xa'));_0x4a602a(_0x2bd82f['result'][_0xbc6b('0x10')]);}})[_0xbc6b('0x12')](function(_0x3a03c8){logger[_0xbc6b('0xd')](_0xbc6b('0xf'),_0x1c982d,_0x3a03c8);_0x307b70(_0x3a03c8);});});} \ No newline at end of file diff --git a/server/api/intZohoField/index.js b/server/api/intZohoField/index.js index c2f1c41..3e8210e 100644 --- a/server/api/intZohoField/index.js +++ b/server/api/intZohoField/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x4325=['connect-timeout','express','Router','../../config/environment','./intZohoField.controller','get','index','isAuthenticated','post','create','put','/:id','update','destroy','exports','multer','util'];(function(_0x4d794e,_0x7bf637){var _0x3ab2c6=function(_0x418397){while(--_0x418397){_0x4d794e['push'](_0x4d794e['shift']());}};_0x3ab2c6(++_0x7bf637);}(_0x4325,0x1da));var _0x5432=function(_0x4b369d,_0x265eb8){_0x4b369d=_0x4b369d-0x0;var _0x571a98=_0x4325[_0x4b369d];return _0x571a98;};'use strict';var multer=require(_0x5432('0x0'));var util=require(_0x5432('0x1'));var path=require('path');var timeout=require(_0x5432('0x2'));var express=require(_0x5432('0x3'));var router=express[_0x5432('0x4')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x5432('0x5'));var controller=require(_0x5432('0x6'));router[_0x5432('0x7')]('/',auth['isAuthenticated'](),controller[_0x5432('0x8')]);router[_0x5432('0x7')]('/:id',auth[_0x5432('0x9')](),controller['show']);router[_0x5432('0xa')]('/',auth[_0x5432('0x9')](),controller[_0x5432('0xb')]);router[_0x5432('0xc')](_0x5432('0xd'),auth['isAuthenticated'](),controller[_0x5432('0xe')]);router['delete'](_0x5432('0xd'),auth[_0x5432('0x9')](),controller[_0x5432('0xf')]);module[_0x5432('0x10')]=router; \ No newline at end of file +var _0xda2d=['delete','destroy','exports','util','path','connect-timeout','express','Router','./intZohoField.controller','get','isAuthenticated','index','/:id','show','post','put','update'];(function(_0x2d7429,_0x21233c){var _0x2f9a3f=function(_0x3d78c7){while(--_0x3d78c7){_0x2d7429['push'](_0x2d7429['shift']());}};_0x2f9a3f(++_0x21233c);}(_0xda2d,0x102));var _0xdda2=function(_0x2d172f,_0x232726){_0x2d172f=_0x2d172f-0x0;var _0x9e5772=_0xda2d[_0x2d172f];return _0x9e5772;};'use strict';var multer=require('multer');var util=require(_0xdda2('0x0'));var path=require(_0xdda2('0x1'));var timeout=require(_0xdda2('0x2'));var express=require(_0xdda2('0x3'));var router=express[_0xdda2('0x4')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xdda2('0x5'));router[_0xdda2('0x6')]('/',auth[_0xdda2('0x7')](),controller[_0xdda2('0x8')]);router[_0xdda2('0x6')](_0xdda2('0x9'),auth[_0xdda2('0x7')](),controller[_0xdda2('0xa')]);router[_0xdda2('0xb')]('/',auth[_0xdda2('0x7')](),controller['create']);router[_0xdda2('0xc')](_0xdda2('0x9'),auth['isAuthenticated'](),controller[_0xdda2('0xd')]);router[_0xdda2('0xe')](_0xdda2('0x9'),auth[_0xdda2('0x7')](),controller[_0xdda2('0xf')]);module[_0xdda2('0x10')]=router; \ No newline at end of file diff --git a/server/api/intZohoField/intZohoField.attributes.js b/server/api/intZohoField/intZohoField.attributes.js index b82f9d8..174c3fb 100644 --- a/server/api/intZohoField/intZohoField.attributes.js +++ b/server/api/intZohoField/intZohoField.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xb439=['sequelize','exports','variable','customVariable','keyValue','STRING','ENUM','string','BOOLEAN'];(function(_0x8e6616,_0x457aae){var _0x210e97=function(_0x20113a){while(--_0x20113a){_0x8e6616['push'](_0x8e6616['shift']());}};_0x210e97(++_0x457aae);}(_0xb439,0x87));var _0x9b43=function(_0x209941,_0x5c9988){_0x209941=_0x209941-0x0;var _0x1e8729=_0xb439[_0x209941];return _0x1e8729;};'use strict';var Sequelize=require(_0x9b43('0x0'));module[_0x9b43('0x1')]={'type':{'type':Sequelize['ENUM']('string',_0x9b43('0x2'),_0x9b43('0x3'),_0x9b43('0x4')),'defaultValue':'string'},'content':{'type':Sequelize[_0x9b43('0x5')]},'key':{'type':Sequelize[_0x9b43('0x5')]},'keyType':{'type':Sequelize[_0x9b43('0x6')](_0x9b43('0x7'),_0x9b43('0x2'),_0x9b43('0x3'))},'keyContent':{'type':Sequelize[_0x9b43('0x5')]},'idField':{'type':Sequelize[_0x9b43('0x5')]},'nameField':{'type':Sequelize[_0x9b43('0x5')]},'customField':{'type':Sequelize[_0x9b43('0x8')],'defaultValue':!![]},'variableName':{'type':Sequelize['STRING']}}; \ No newline at end of file +var _0x6439=['variable','customVariable','keyValue','STRING','ENUM','BOOLEAN','sequelize','string'];(function(_0xec603a,_0x4c739a){var _0x4ef118=function(_0x2333ae){while(--_0x2333ae){_0xec603a['push'](_0xec603a['shift']());}};_0x4ef118(++_0x4c739a);}(_0x6439,0x1ce));var _0x9643=function(_0x88cd7b,_0x4c884c){_0x88cd7b=_0x88cd7b-0x0;var _0x56fcc8=_0x6439[_0x88cd7b];return _0x56fcc8;};'use strict';var Sequelize=require(_0x9643('0x0'));module['exports']={'type':{'type':Sequelize['ENUM'](_0x9643('0x1'),_0x9643('0x2'),_0x9643('0x3'),_0x9643('0x4')),'defaultValue':_0x9643('0x1')},'content':{'type':Sequelize[_0x9643('0x5')]},'key':{'type':Sequelize['STRING']},'keyType':{'type':Sequelize[_0x9643('0x6')]('string',_0x9643('0x2'),_0x9643('0x3'))},'keyContent':{'type':Sequelize['STRING']},'idField':{'type':Sequelize['STRING']},'nameField':{'type':Sequelize[_0x9643('0x5')]},'customField':{'type':Sequelize[_0x9643('0x7')],'defaultValue':!![]},'variableName':{'type':Sequelize['STRING']}}; \ No newline at end of file diff --git a/server/api/intZohoField/intZohoField.controller.js b/server/api/intZohoField/intZohoField.controller.js index f7511f3..ddacfcf 100644 --- a/server/api/intZohoField/intZohoField.controller.js +++ b/server/api/intZohoField/intZohoField.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xa9e0=['sort','where','pick','filter','VIRTUAL','merge','options','include','findAll','catch','params','includeAll','create','body','find','html-pdf','eml-format','rimraf','request-promise','bluebird','mustache','util','path','sox','ejs','lodash','squel','desk.js','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../mysqldb','sendStatus','status','json','count','offset','set','Content-Range','apply','reject','save','update','then','destroy','end','error','name','send','index','map','ZohoField','rawAttributes','fieldName','type','key','query','keys','filters','intersection','model','attributes','fields','length','hasOwnProperty','limit'];(function(_0x427085,_0x4e5ad9){var _0x287805=function(_0x4778a0){while(--_0x4778a0){_0x427085['push'](_0x427085['shift']());}};_0x287805(++_0x4e5ad9);}(_0xa9e0,0x123));var _0x0a9e=function(_0xae7c2f,_0xf31e04){_0xae7c2f=_0xae7c2f-0x0;var _0x5d7001=_0xa9e0[_0xae7c2f];return _0x5d7001;};'use strict';var pdf=require(_0x0a9e('0x0'));var emlformat=require(_0x0a9e('0x1'));var rimraf=require(_0x0a9e('0x2'));var zipdir=require('zip-dir');var jsonpatch=require('fast-json-patch');var rp=require(_0x0a9e('0x3'));var moment=require('moment');var BPromise=require(_0x0a9e('0x4'));var Mustache=require(_0x0a9e('0x5'));var util=require(_0x0a9e('0x6'));var path=require(_0x0a9e('0x7'));var sox=require(_0x0a9e('0x8'));var csv=require('to-csv');var ejs=require(_0x0a9e('0x9'));var fs=require('fs');var _=require(_0x0a9e('0xa'));var squel=require(_0x0a9e('0xb'));var crypto=require('crypto');var jsforce=require('jsforce');var deskjs=require(_0x0a9e('0xc'));var toCsv=require('to-csv');var querystring=require('querystring');var Papa=require(_0x0a9e('0xd'));var Redis=require(_0x0a9e('0xe'));var authService=require(_0x0a9e('0xf'));var qs=require(_0x0a9e('0x10'));var as=require(_0x0a9e('0x11'));var hardwareService=require(_0x0a9e('0x12'));var logger=require('../../config/logger')('api');var utils=require('../../config/utils');var config=require('../../config/environment');var db=require(_0x0a9e('0x13'))['db'];function respondWithStatusCode(_0x36471c,_0xd5b662){_0xd5b662=_0xd5b662||0xcc;return function(_0x26d672){if(_0x26d672){return _0x36471c[_0x0a9e('0x14')](_0xd5b662);}return _0x36471c[_0x0a9e('0x15')](_0xd5b662)['end']();};}function respondWithResult(_0x4283ce,_0x239b12){_0x239b12=_0x239b12||0xc8;return function(_0x2b4227){if(_0x2b4227){return _0x4283ce[_0x0a9e('0x15')](_0x239b12)[_0x0a9e('0x16')](_0x2b4227);}};}function respondWithFilteredResult(_0x4d5611,_0x52a03d){return function(_0x22dccb){if(_0x22dccb){var _0x5d0880=_0x22dccb[_0x0a9e('0x17')],_0x1985b6=_0x52a03d['offset'],_0x519dfd=_0x52a03d[_0x0a9e('0x18')]+_0x52a03d['limit'],_0x16033c;if(_0x519dfd>=_0x5d0880){_0x519dfd=_0x5d0880;_0x16033c=0xc8;}else{_0x16033c=0xce;}_0x4d5611[_0x0a9e('0x15')](_0x16033c);return _0x4d5611[_0x0a9e('0x19')](_0x0a9e('0x1a'),_0x1985b6+'-'+_0x519dfd+'/'+_0x5d0880)[_0x0a9e('0x16')](_0x22dccb);}return null;};}function patchUpdates(_0x31b1ca){return function(_0x2eb11f){try{jsonpatch[_0x0a9e('0x1b')](_0x2eb11f,_0x31b1ca,!![]);}catch(_0x20559e){return BPromise[_0x0a9e('0x1c')](_0x20559e);}return _0x2eb11f[_0x0a9e('0x1d')]();};}function saveUpdates(_0x1c696a,_0x105080){return function(_0x4bb1e3){if(_0x4bb1e3){return _0x4bb1e3[_0x0a9e('0x1e')](_0x1c696a)[_0x0a9e('0x1f')](function(_0x53682f){return _0x53682f;});}return null;};}function removeEntity(_0x20f109,_0x5a09ef){return function(_0x588269){if(_0x588269){return _0x588269[_0x0a9e('0x20')]()[_0x0a9e('0x1f')](function(){_0x20f109[_0x0a9e('0x15')](0xcc)[_0x0a9e('0x21')]();});}};}function handleEntityNotFound(_0x4abc77,_0xfb6e48){return function(_0x2fb0e4){if(!_0x2fb0e4){_0x4abc77[_0x0a9e('0x14')](0x194);}return _0x2fb0e4;};}function handleError(_0x4d00e6,_0x370d86){_0x370d86=_0x370d86||0x1f4;return function(_0x42ac8f){logger[_0x0a9e('0x22')](_0x42ac8f['stack']);if(_0x42ac8f['name']){delete _0x42ac8f[_0x0a9e('0x23')];}_0x4d00e6[_0x0a9e('0x15')](_0x370d86)[_0x0a9e('0x24')](_0x42ac8f);};}exports[_0x0a9e('0x25')]=function(_0x526cf3,_0x384319){var _0x479bc4={},_0x45a1e7={},_0x5bfb33={'count':0x0,'rows':[]};var _0x1dc186=_[_0x0a9e('0x26')](db[_0x0a9e('0x27')][_0x0a9e('0x28')],function(_0x140511){return{'name':_0x140511[_0x0a9e('0x29')],'type':_0x140511[_0x0a9e('0x2a')][_0x0a9e('0x2b')]};});_0x45a1e7['model']=_[_0x0a9e('0x26')](_0x1dc186,_0x0a9e('0x23'));_0x45a1e7[_0x0a9e('0x2c')]=_[_0x0a9e('0x2d')](_0x526cf3['query']);_0x45a1e7[_0x0a9e('0x2e')]=_[_0x0a9e('0x2f')](_0x45a1e7[_0x0a9e('0x30')],_0x45a1e7[_0x0a9e('0x2c')]);_0x479bc4[_0x0a9e('0x31')]=_[_0x0a9e('0x2f')](_0x45a1e7[_0x0a9e('0x30')],qs[_0x0a9e('0x32')](_0x526cf3[_0x0a9e('0x2c')]['fields']));_0x479bc4[_0x0a9e('0x31')]=_0x479bc4['attributes'][_0x0a9e('0x33')]?_0x479bc4[_0x0a9e('0x31')]:_0x45a1e7[_0x0a9e('0x30')];if(!_0x526cf3[_0x0a9e('0x2c')][_0x0a9e('0x34')]('nolimit')){_0x479bc4[_0x0a9e('0x35')]=qs[_0x0a9e('0x35')](_0x526cf3[_0x0a9e('0x2c')][_0x0a9e('0x35')]);_0x479bc4[_0x0a9e('0x18')]=qs[_0x0a9e('0x18')](_0x526cf3[_0x0a9e('0x2c')][_0x0a9e('0x18')]);}_0x479bc4['order']=qs[_0x0a9e('0x36')](_0x526cf3['query'][_0x0a9e('0x36')]);_0x479bc4[_0x0a9e('0x37')]=qs[_0x0a9e('0x2e')](_[_0x0a9e('0x38')](_0x526cf3['query'],_0x45a1e7[_0x0a9e('0x2e')]),_0x1dc186);if(_0x526cf3[_0x0a9e('0x2c')][_0x0a9e('0x39')]){_0x479bc4[_0x0a9e('0x37')]=_['merge'](_0x479bc4['where'],{'$or':_[_0x0a9e('0x26')](_0x1dc186,function(_0x5640eb){if(_0x5640eb[_0x0a9e('0x2a')]!==_0x0a9e('0x3a')){var _0x381c37={};_0x381c37[_0x5640eb[_0x0a9e('0x23')]]={'$like':'%'+_0x526cf3['query'][_0x0a9e('0x39')]+'%'};return _0x381c37;}})});}_0x479bc4=_[_0x0a9e('0x3b')]({},_0x479bc4,_0x526cf3[_0x0a9e('0x3c')]);var _0x533942={'where':_0x479bc4[_0x0a9e('0x37')]};return db[_0x0a9e('0x27')][_0x0a9e('0x17')](_0x533942)['then'](function(_0x546ef8){_0x5bfb33[_0x0a9e('0x17')]=_0x546ef8;if(_0x526cf3[_0x0a9e('0x2c')]['includeAll']){_0x479bc4[_0x0a9e('0x3d')]=[{'all':!![]}];}return db[_0x0a9e('0x27')][_0x0a9e('0x3e')](_0x479bc4);})[_0x0a9e('0x1f')](function(_0x4b38d9){_0x5bfb33['rows']=_0x4b38d9;return _0x5bfb33;})[_0x0a9e('0x1f')](respondWithFilteredResult(_0x384319,_0x479bc4))[_0x0a9e('0x3f')](handleError(_0x384319,null));};exports['show']=function(_0x183991,_0x1dec2e){var _0x1459bb={'raw':!![],'where':{'id':_0x183991[_0x0a9e('0x40')]['id']}},_0x5b4f5e={};_0x5b4f5e[_0x0a9e('0x30')]=_[_0x0a9e('0x2d')](db[_0x0a9e('0x27')][_0x0a9e('0x28')]);_0x5b4f5e[_0x0a9e('0x2c')]=_[_0x0a9e('0x2d')](_0x183991[_0x0a9e('0x2c')]);_0x5b4f5e[_0x0a9e('0x2e')]=_[_0x0a9e('0x2f')](_0x5b4f5e[_0x0a9e('0x30')],_0x5b4f5e[_0x0a9e('0x2c')]);_0x1459bb[_0x0a9e('0x31')]=_[_0x0a9e('0x2f')](_0x5b4f5e[_0x0a9e('0x30')],qs['fields'](_0x183991['query'][_0x0a9e('0x32')]));_0x1459bb[_0x0a9e('0x31')]=_0x1459bb[_0x0a9e('0x31')][_0x0a9e('0x33')]?_0x1459bb[_0x0a9e('0x31')]:_0x5b4f5e[_0x0a9e('0x30')];if(_0x183991[_0x0a9e('0x2c')][_0x0a9e('0x41')]){_0x1459bb[_0x0a9e('0x3d')]=[{'all':!![]}];}_0x1459bb=_[_0x0a9e('0x3b')]({},_0x1459bb,_0x183991[_0x0a9e('0x3c')]);return db[_0x0a9e('0x27')]['find'](_0x1459bb)[_0x0a9e('0x1f')](handleEntityNotFound(_0x1dec2e,null))[_0x0a9e('0x1f')](respondWithResult(_0x1dec2e,null))[_0x0a9e('0x3f')](handleError(_0x1dec2e,null));};exports[_0x0a9e('0x42')]=function(_0x2e8caf,_0xbe9d19){return db[_0x0a9e('0x27')][_0x0a9e('0x42')](_0x2e8caf['body'],{})[_0x0a9e('0x1f')](respondWithResult(_0xbe9d19,0xc9))['catch'](handleError(_0xbe9d19,null));};exports[_0x0a9e('0x1e')]=function(_0x476688,_0x8d6dd1){if(_0x476688['body']['id']){delete _0x476688[_0x0a9e('0x43')]['id'];}return db[_0x0a9e('0x27')][_0x0a9e('0x44')]({'where':{'id':_0x476688[_0x0a9e('0x40')]['id']}})[_0x0a9e('0x1f')](handleEntityNotFound(_0x8d6dd1,null))[_0x0a9e('0x1f')](saveUpdates(_0x476688[_0x0a9e('0x43')],null))['then'](respondWithResult(_0x8d6dd1,null))[_0x0a9e('0x3f')](handleError(_0x8d6dd1,null));};exports[_0x0a9e('0x20')]=function(_0x1b5e80,_0x16f976){return db[_0x0a9e('0x27')][_0x0a9e('0x44')]({'where':{'id':_0x1b5e80[_0x0a9e('0x40')]['id']}})[_0x0a9e('0x1f')](handleEntityNotFound(_0x16f976,null))[_0x0a9e('0x1f')](removeEntity(_0x16f976,null))['catch'](handleError(_0x16f976,null));}; \ No newline at end of file +var _0xa9e0=['sort','where','pick','filter','VIRTUAL','merge','options','include','findAll','catch','params','includeAll','create','body','find','html-pdf','eml-format','rimraf','request-promise','bluebird','mustache','util','path','sox','ejs','lodash','squel','desk.js','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../mysqldb','sendStatus','status','json','count','offset','set','Content-Range','apply','reject','save','update','then','destroy','end','error','name','send','index','map','ZohoField','rawAttributes','fieldName','type','key','query','keys','filters','intersection','model','attributes','fields','length','hasOwnProperty','limit'];(function(_0x2b94e6,_0x384b7b){var _0xb4103=function(_0x328ff6){while(--_0x328ff6){_0x2b94e6['push'](_0x2b94e6['shift']());}};_0xb4103(++_0x384b7b);}(_0xa9e0,0x123));var _0x0a9e=function(_0x4154a6,_0x2c0b8e){_0x4154a6=_0x4154a6-0x0;var _0x3b2786=_0xa9e0[_0x4154a6];return _0x3b2786;};'use strict';var pdf=require(_0x0a9e('0x0'));var emlformat=require(_0x0a9e('0x1'));var rimraf=require(_0x0a9e('0x2'));var zipdir=require('zip-dir');var jsonpatch=require('fast-json-patch');var rp=require(_0x0a9e('0x3'));var moment=require('moment');var BPromise=require(_0x0a9e('0x4'));var Mustache=require(_0x0a9e('0x5'));var util=require(_0x0a9e('0x6'));var path=require(_0x0a9e('0x7'));var sox=require(_0x0a9e('0x8'));var csv=require('to-csv');var ejs=require(_0x0a9e('0x9'));var fs=require('fs');var _=require(_0x0a9e('0xa'));var squel=require(_0x0a9e('0xb'));var crypto=require('crypto');var jsforce=require('jsforce');var deskjs=require(_0x0a9e('0xc'));var toCsv=require('to-csv');var querystring=require('querystring');var Papa=require(_0x0a9e('0xd'));var Redis=require(_0x0a9e('0xe'));var authService=require(_0x0a9e('0xf'));var qs=require(_0x0a9e('0x10'));var as=require(_0x0a9e('0x11'));var hardwareService=require(_0x0a9e('0x12'));var logger=require('../../config/logger')('api');var utils=require('../../config/utils');var config=require('../../config/environment');var db=require(_0x0a9e('0x13'))['db'];function respondWithStatusCode(_0x36471c,_0xd5b662){_0xd5b662=_0xd5b662||0xcc;return function(_0x26d672){if(_0x26d672){return _0x36471c[_0x0a9e('0x14')](_0xd5b662);}return _0x36471c[_0x0a9e('0x15')](_0xd5b662)['end']();};}function respondWithResult(_0x4283ce,_0x239b12){_0x239b12=_0x239b12||0xc8;return function(_0x2b4227){if(_0x2b4227){return _0x4283ce[_0x0a9e('0x15')](_0x239b12)[_0x0a9e('0x16')](_0x2b4227);}};}function respondWithFilteredResult(_0x4d5611,_0x52a03d){return function(_0x22dccb){if(_0x22dccb){var _0x5d0880=_0x22dccb[_0x0a9e('0x17')],_0x1985b6=_0x52a03d['offset'],_0x519dfd=_0x52a03d[_0x0a9e('0x18')]+_0x52a03d['limit'],_0x16033c;if(_0x519dfd>=_0x5d0880){_0x519dfd=_0x5d0880;_0x16033c=0xc8;}else{_0x16033c=0xce;}_0x4d5611[_0x0a9e('0x15')](_0x16033c);return _0x4d5611[_0x0a9e('0x19')](_0x0a9e('0x1a'),_0x1985b6+'-'+_0x519dfd+'/'+_0x5d0880)[_0x0a9e('0x16')](_0x22dccb);}return null;};}function patchUpdates(_0x31b1ca){return function(_0x2eb11f){try{jsonpatch[_0x0a9e('0x1b')](_0x2eb11f,_0x31b1ca,!![]);}catch(_0x20559e){return BPromise[_0x0a9e('0x1c')](_0x20559e);}return _0x2eb11f[_0x0a9e('0x1d')]();};}function saveUpdates(_0x1c696a,_0x105080){return function(_0x4bb1e3){if(_0x4bb1e3){return _0x4bb1e3[_0x0a9e('0x1e')](_0x1c696a)[_0x0a9e('0x1f')](function(_0x53682f){return _0x53682f;});}return null;};}function removeEntity(_0x20f109,_0x5a09ef){return function(_0x588269){if(_0x588269){return _0x588269[_0x0a9e('0x20')]()[_0x0a9e('0x1f')](function(){_0x20f109[_0x0a9e('0x15')](0xcc)[_0x0a9e('0x21')]();});}};}function handleEntityNotFound(_0x4abc77,_0xfb6e48){return function(_0x2fb0e4){if(!_0x2fb0e4){_0x4abc77[_0x0a9e('0x14')](0x194);}return _0x2fb0e4;};}function handleError(_0x4d00e6,_0x370d86){_0x370d86=_0x370d86||0x1f4;return function(_0x42ac8f){logger[_0x0a9e('0x22')](_0x42ac8f['stack']);if(_0x42ac8f['name']){delete _0x42ac8f[_0x0a9e('0x23')];}_0x4d00e6[_0x0a9e('0x15')](_0x370d86)[_0x0a9e('0x24')](_0x42ac8f);};}exports[_0x0a9e('0x25')]=function(_0x526cf3,_0x384319){var _0x479bc4={},_0x45a1e7={},_0x5bfb33={'count':0x0,'rows':[]};var _0x1dc186=_[_0x0a9e('0x26')](db[_0x0a9e('0x27')][_0x0a9e('0x28')],function(_0x140511){return{'name':_0x140511[_0x0a9e('0x29')],'type':_0x140511[_0x0a9e('0x2a')][_0x0a9e('0x2b')]};});_0x45a1e7['model']=_[_0x0a9e('0x26')](_0x1dc186,_0x0a9e('0x23'));_0x45a1e7[_0x0a9e('0x2c')]=_[_0x0a9e('0x2d')](_0x526cf3['query']);_0x45a1e7[_0x0a9e('0x2e')]=_[_0x0a9e('0x2f')](_0x45a1e7[_0x0a9e('0x30')],_0x45a1e7[_0x0a9e('0x2c')]);_0x479bc4[_0x0a9e('0x31')]=_[_0x0a9e('0x2f')](_0x45a1e7[_0x0a9e('0x30')],qs[_0x0a9e('0x32')](_0x526cf3[_0x0a9e('0x2c')]['fields']));_0x479bc4[_0x0a9e('0x31')]=_0x479bc4['attributes'][_0x0a9e('0x33')]?_0x479bc4[_0x0a9e('0x31')]:_0x45a1e7[_0x0a9e('0x30')];if(!_0x526cf3[_0x0a9e('0x2c')][_0x0a9e('0x34')]('nolimit')){_0x479bc4[_0x0a9e('0x35')]=qs[_0x0a9e('0x35')](_0x526cf3[_0x0a9e('0x2c')][_0x0a9e('0x35')]);_0x479bc4[_0x0a9e('0x18')]=qs[_0x0a9e('0x18')](_0x526cf3[_0x0a9e('0x2c')][_0x0a9e('0x18')]);}_0x479bc4['order']=qs[_0x0a9e('0x36')](_0x526cf3['query'][_0x0a9e('0x36')]);_0x479bc4[_0x0a9e('0x37')]=qs[_0x0a9e('0x2e')](_[_0x0a9e('0x38')](_0x526cf3['query'],_0x45a1e7[_0x0a9e('0x2e')]),_0x1dc186);if(_0x526cf3[_0x0a9e('0x2c')][_0x0a9e('0x39')]){_0x479bc4[_0x0a9e('0x37')]=_['merge'](_0x479bc4['where'],{'$or':_[_0x0a9e('0x26')](_0x1dc186,function(_0x5640eb){if(_0x5640eb[_0x0a9e('0x2a')]!==_0x0a9e('0x3a')){var _0x381c37={};_0x381c37[_0x5640eb[_0x0a9e('0x23')]]={'$like':'%'+_0x526cf3['query'][_0x0a9e('0x39')]+'%'};return _0x381c37;}})});}_0x479bc4=_[_0x0a9e('0x3b')]({},_0x479bc4,_0x526cf3[_0x0a9e('0x3c')]);var _0x533942={'where':_0x479bc4[_0x0a9e('0x37')]};return db[_0x0a9e('0x27')][_0x0a9e('0x17')](_0x533942)['then'](function(_0x546ef8){_0x5bfb33[_0x0a9e('0x17')]=_0x546ef8;if(_0x526cf3[_0x0a9e('0x2c')]['includeAll']){_0x479bc4[_0x0a9e('0x3d')]=[{'all':!![]}];}return db[_0x0a9e('0x27')][_0x0a9e('0x3e')](_0x479bc4);})[_0x0a9e('0x1f')](function(_0x4b38d9){_0x5bfb33['rows']=_0x4b38d9;return _0x5bfb33;})[_0x0a9e('0x1f')](respondWithFilteredResult(_0x384319,_0x479bc4))[_0x0a9e('0x3f')](handleError(_0x384319,null));};exports['show']=function(_0x183991,_0x1dec2e){var _0x1459bb={'raw':!![],'where':{'id':_0x183991[_0x0a9e('0x40')]['id']}},_0x5b4f5e={};_0x5b4f5e[_0x0a9e('0x30')]=_[_0x0a9e('0x2d')](db[_0x0a9e('0x27')][_0x0a9e('0x28')]);_0x5b4f5e[_0x0a9e('0x2c')]=_[_0x0a9e('0x2d')](_0x183991[_0x0a9e('0x2c')]);_0x5b4f5e[_0x0a9e('0x2e')]=_[_0x0a9e('0x2f')](_0x5b4f5e[_0x0a9e('0x30')],_0x5b4f5e[_0x0a9e('0x2c')]);_0x1459bb[_0x0a9e('0x31')]=_[_0x0a9e('0x2f')](_0x5b4f5e[_0x0a9e('0x30')],qs['fields'](_0x183991['query'][_0x0a9e('0x32')]));_0x1459bb[_0x0a9e('0x31')]=_0x1459bb[_0x0a9e('0x31')][_0x0a9e('0x33')]?_0x1459bb[_0x0a9e('0x31')]:_0x5b4f5e[_0x0a9e('0x30')];if(_0x183991[_0x0a9e('0x2c')][_0x0a9e('0x41')]){_0x1459bb[_0x0a9e('0x3d')]=[{'all':!![]}];}_0x1459bb=_[_0x0a9e('0x3b')]({},_0x1459bb,_0x183991[_0x0a9e('0x3c')]);return db[_0x0a9e('0x27')]['find'](_0x1459bb)[_0x0a9e('0x1f')](handleEntityNotFound(_0x1dec2e,null))[_0x0a9e('0x1f')](respondWithResult(_0x1dec2e,null))[_0x0a9e('0x3f')](handleError(_0x1dec2e,null));};exports[_0x0a9e('0x42')]=function(_0x2e8caf,_0xbe9d19){return db[_0x0a9e('0x27')][_0x0a9e('0x42')](_0x2e8caf['body'],{})[_0x0a9e('0x1f')](respondWithResult(_0xbe9d19,0xc9))['catch'](handleError(_0xbe9d19,null));};exports[_0x0a9e('0x1e')]=function(_0x476688,_0x8d6dd1){if(_0x476688['body']['id']){delete _0x476688[_0x0a9e('0x43')]['id'];}return db[_0x0a9e('0x27')][_0x0a9e('0x44')]({'where':{'id':_0x476688[_0x0a9e('0x40')]['id']}})[_0x0a9e('0x1f')](handleEntityNotFound(_0x8d6dd1,null))[_0x0a9e('0x1f')](saveUpdates(_0x476688[_0x0a9e('0x43')],null))['then'](respondWithResult(_0x8d6dd1,null))[_0x0a9e('0x3f')](handleError(_0x8d6dd1,null));};exports[_0x0a9e('0x20')]=function(_0x1b5e80,_0x16f976){return db[_0x0a9e('0x27')][_0x0a9e('0x44')]({'where':{'id':_0x1b5e80[_0x0a9e('0x40')]['id']}})[_0x0a9e('0x1f')](handleEntityNotFound(_0x16f976,null))[_0x0a9e('0x1f')](removeEntity(_0x16f976,null))['catch'](handleError(_0x16f976,null));}; \ No newline at end of file diff --git a/server/api/intZohoField/intZohoField.model.js b/server/api/intZohoField/intZohoField.model.js index 45008c6..c37ccef 100644 --- a/server/api/intZohoField/intZohoField.model.js +++ b/server/api/intZohoField/intZohoField.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xdf25=['util','../../config/logger','api','moment','bluebird','request-promise','rimraf','./intZohoField.attributes','exports','define','int_zoho_fields','zoho_unique_index','idField','FieldId','lodash'];(function(_0x5ab4d,_0x27457c){var _0x20c2c4=function(_0x578141){while(--_0x578141){_0x5ab4d['push'](_0x5ab4d['shift']());}};_0x20c2c4(++_0x27457c);}(_0xdf25,0xfe));var _0x5df2=function(_0x8914d,_0x3172e7){_0x8914d=_0x8914d-0x0;var _0xe886b7=_0xdf25[_0x8914d];return _0xe886b7;};'use strict';var _=require(_0x5df2('0x0'));var util=require(_0x5df2('0x1'));var logger=require(_0x5df2('0x2'))(_0x5df2('0x3'));var moment=require(_0x5df2('0x4'));var BPromise=require(_0x5df2('0x5'));var rp=require(_0x5df2('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0x5df2('0x7'));var config=require('../../config/environment');var attributes=require(_0x5df2('0x8'));module[_0x5df2('0x9')]=function(_0x1d7724,_0x2c0ee7){return _0x1d7724[_0x5df2('0xa')]('ZohoField',attributes,{'tableName':_0x5df2('0xb'),'paranoid':![],'indexes':[{'name':_0x5df2('0xc'),'fields':[_0x5df2('0xd'),_0x5df2('0xe')],'unique':!![]}],'timestamps':!![]});}; \ No newline at end of file +var _0x3727=['moment','bluebird','request-promise','rimraf','../../config/environment','./intZohoField.attributes','exports','define','int_zoho_fields','zoho_unique_index','FieldId','lodash','../../config/logger'];(function(_0x42e07a,_0x3c0d65){var _0x378d30=function(_0x1e8574){while(--_0x1e8574){_0x42e07a['push'](_0x42e07a['shift']());}};_0x378d30(++_0x3c0d65);}(_0x3727,0x9a));var _0x7372=function(_0x2ebdcd,_0x143c43){_0x2ebdcd=_0x2ebdcd-0x0;var _0x474411=_0x3727[_0x2ebdcd];return _0x474411;};'use strict';var _=require(_0x7372('0x0'));var util=require('util');var logger=require(_0x7372('0x1'))('api');var moment=require(_0x7372('0x2'));var BPromise=require(_0x7372('0x3'));var rp=require(_0x7372('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x7372('0x5'));var config=require(_0x7372('0x6'));var attributes=require(_0x7372('0x7'));module[_0x7372('0x8')]=function(_0x2d8656,_0x3ce5f1){return _0x2d8656[_0x7372('0x9')]('ZohoField',attributes,{'tableName':_0x7372('0xa'),'paranoid':![],'indexes':[{'name':_0x7372('0xb'),'fields':['idField',_0x7372('0xc')],'unique':!![]}],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/intZohoField/intZohoField.rpc.js b/server/api/intZohoField/intZohoField.rpc.js index 37c1e57..515fa3b 100644 --- a/server/api/intZohoField/intZohoField.rpc.js +++ b/server/api/intZohoField/intZohoField.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x5636=['code','ZohoField,\x20%s,\x20%s','message','info','result','catch','lodash','util','ioredis','../../mysqldb','../../config/utils','rpc','../../config/environment','jayson/promise','client','http','request','then','request\x20sent','debug','error'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x5636,0x102));var _0x6563=function(_0x1f3310,_0x285dbf){_0x1f3310=_0x1f3310-0x0;var _0x5a64cd=_0x5636[_0x1f3310];return _0x5a64cd;};'use strict';var _=require(_0x6563('0x0'));var util=require(_0x6563('0x1'));var moment=require('moment');var BPromise=require('bluebird');var rs=require('randomstring');var fs=require('fs');var Redis=require(_0x6563('0x2'));var db=require(_0x6563('0x3'))['db'];var utils=require(_0x6563('0x4'));var logger=require('../../config/logger')(_0x6563('0x5'));var config=require(_0x6563('0x6'));var jayson=require(_0x6563('0x7'));var client=jayson[_0x6563('0x8')][_0x6563('0x9')]({'port':0x232a});function respondWithRpcPromise(_0x193942,_0x9884a9,_0x2d57d5){return new BPromise(function(_0x2d0d5b,_0x98fcd4){return client[_0x6563('0xa')](_0x193942,_0x2d57d5)[_0x6563('0xb')](function(_0x3ccb4e){logger['info']('ZohoField,\x20%s,\x20%s',_0x9884a9,_0x6563('0xc'));logger[_0x6563('0xd')]('ZohoField,\x20%s,\x20%s,\x20%s',_0x9884a9,'request\x20sent',JSON['stringify'](_0x3ccb4e));if(_0x3ccb4e[_0x6563('0xe')]){if(_0x3ccb4e[_0x6563('0xe')][_0x6563('0xf')]===0x1f4){logger[_0x6563('0xe')](_0x6563('0x10'),_0x9884a9,_0x3ccb4e[_0x6563('0xe')][_0x6563('0x11')]);return _0x98fcd4(_0x3ccb4e[_0x6563('0xe')][_0x6563('0x11')]);}logger['error'](_0x6563('0x10'),_0x9884a9,_0x3ccb4e['error'][_0x6563('0x11')]);return _0x2d0d5b(_0x3ccb4e[_0x6563('0xe')][_0x6563('0x11')]);}else{logger[_0x6563('0x12')]('ZohoField,\x20%s,\x20%s',_0x9884a9,_0x6563('0xc'));_0x2d0d5b(_0x3ccb4e[_0x6563('0x13')][_0x6563('0x11')]);}})[_0x6563('0x14')](function(_0x4e7282){logger[_0x6563('0xe')]('ZohoField,\x20%s,\x20%s',_0x9884a9,_0x4e7282);_0x98fcd4(_0x4e7282);});});} \ No newline at end of file +var _0x7da7=['../../mysqldb','../../config/logger','rpc','jayson/promise','client','request','then','info','ZohoField,\x20%s,\x20%s','request\x20sent','ZohoField,\x20%s,\x20%s,\x20%s','stringify','error','code','message','result','catch','lodash','util','moment','ioredis'];(function(_0x111142,_0x2f2620){var _0x38e0a0=function(_0x4dbf77){while(--_0x4dbf77){_0x111142['push'](_0x111142['shift']());}};_0x38e0a0(++_0x2f2620);}(_0x7da7,0x10d));var _0x77da=function(_0x5c468f,_0x2e5c25){_0x5c468f=_0x5c468f-0x0;var _0x2136b0=_0x7da7[_0x5c468f];return _0x2136b0;};'use strict';var _=require(_0x77da('0x0'));var util=require(_0x77da('0x1'));var moment=require(_0x77da('0x2'));var BPromise=require('bluebird');var rs=require('randomstring');var fs=require('fs');var Redis=require(_0x77da('0x3'));var db=require(_0x77da('0x4'))['db'];var utils=require('../../config/utils');var logger=require(_0x77da('0x5'))(_0x77da('0x6'));var config=require('../../config/environment');var jayson=require(_0x77da('0x7'));var client=jayson[_0x77da('0x8')]['http']({'port':0x232a});function respondWithRpcPromise(_0x30afe0,_0x47cf1d,_0x1191de){return new BPromise(function(_0x13992e,_0x37c5ab){return client[_0x77da('0x9')](_0x30afe0,_0x1191de)[_0x77da('0xa')](function(_0x58f3fe){logger[_0x77da('0xb')](_0x77da('0xc'),_0x47cf1d,_0x77da('0xd'));logger['debug'](_0x77da('0xe'),_0x47cf1d,_0x77da('0xd'),JSON[_0x77da('0xf')](_0x58f3fe));if(_0x58f3fe[_0x77da('0x10')]){if(_0x58f3fe['error'][_0x77da('0x11')]===0x1f4){logger[_0x77da('0x10')](_0x77da('0xc'),_0x47cf1d,_0x58f3fe['error']['message']);return _0x37c5ab(_0x58f3fe[_0x77da('0x10')][_0x77da('0x12')]);}logger['error'](_0x77da('0xc'),_0x47cf1d,_0x58f3fe[_0x77da('0x10')][_0x77da('0x12')]);return _0x13992e(_0x58f3fe[_0x77da('0x10')]['message']);}else{logger[_0x77da('0xb')]('ZohoField,\x20%s,\x20%s',_0x47cf1d,_0x77da('0xd'));_0x13992e(_0x58f3fe[_0x77da('0x13')][_0x77da('0x12')]);}})[_0x77da('0x14')](function(_0x4ecd98){logger['error']('ZohoField,\x20%s,\x20%s',_0x47cf1d,_0x4ecd98);_0x37c5ab(_0x4ecd98);});});} \ No newline at end of file diff --git a/server/api/integration/index.js b/server/api/integration/index.js index 369bc23..de093a8 100644 --- a/server/api/integration/index.js +++ b/server/api/integration/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x46c0=['connect-timeout','express','../../components/auth/service','../../components/interaction/service','exports','util','path'];(function(_0x103a64,_0x515c60){var _0x3f78ae=function(_0x1ca7d6){while(--_0x1ca7d6){_0x103a64['push'](_0x103a64['shift']());}};_0x3f78ae(++_0x515c60);}(_0x46c0,0x17f));var _0x046c=function(_0x473738,_0x15ea31){_0x473738=_0x473738-0x0;var _0x1df4ae=_0x46c0[_0x473738];return _0x1df4ae;};'use strict';var multer=require('multer');var util=require(_0x046c('0x0'));var path=require(_0x046c('0x1'));var timeout=require(_0x046c('0x2'));var express=require(_0x046c('0x3'));var router=express['Router']();var auth=require(_0x046c('0x4'));var interaction=require(_0x046c('0x5'));var config=require('../../config/environment');module[_0x046c('0x6')]=router; \ No newline at end of file +var _0x92b6=['../../components/interaction/service','exports','multer','util','connect-timeout','express','Router'];(function(_0x1efe76,_0x535959){var _0x18c404=function(_0x535c34){while(--_0x535c34){_0x1efe76['push'](_0x1efe76['shift']());}};_0x18c404(++_0x535959);}(_0x92b6,0x191));var _0x692b=function(_0x4e6cc8,_0x5d6c66){_0x4e6cc8=_0x4e6cc8-0x0;var _0x5b4715=_0x92b6[_0x4e6cc8];return _0x5b4715;};'use strict';var multer=require(_0x692b('0x0'));var util=require(_0x692b('0x1'));var path=require('path');var timeout=require(_0x692b('0x2'));var express=require(_0x692b('0x3'));var router=express[_0x692b('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0x692b('0x5'));var config=require('../../config/environment');module[_0x692b('0x6')]=router; \ No newline at end of file diff --git a/server/api/integration/integration.attributes.js b/server/api/integration/integration.attributes.js index d9be6e0..6ddfcfc 100644 --- a/server/api/integration/integration.attributes.js +++ b/server/api/integration/integration.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xb97c=['INTEGER','BOOLEAN','state','sequelize','exports','STRING','unique_name_and_version','app.js'];(function(_0x52d065,_0x31d24){var _0x49f7bc=function(_0x2f0966){while(--_0x2f0966){_0x52d065['push'](_0x52d065['shift']());}};_0x49f7bc(++_0x31d24);}(_0xb97c,0xe3));var _0xcb97=function(_0x34196c,_0x25f6b1){_0x34196c=_0x34196c-0x0;var _0x829292=_0xb97c[_0x34196c];return _0x829292;};'use strict';var Sequelize=require(_0xcb97('0x0'));module[_0xcb97('0x1')]={'name':{'type':Sequelize[_0xcb97('0x2')],'allowNull':![],'unique':'unique_name_and_version'},'version':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0xcb97('0x3')},'main':{'type':Sequelize[_0xcb97('0x2')],'defaultValue':_0xcb97('0x4')},'filename':{'type':Sequelize[_0xcb97('0x2')]},'path':{'type':Sequelize[_0xcb97('0x2')]},'type':{'type':Sequelize['STRING']},'size':{'type':Sequelize[_0xcb97('0x5')]},'active':{'type':Sequelize[_0xcb97('0x6')],'defaultValue':![]},'author':{'type':Sequelize[_0xcb97('0x2')]},'logo':{'type':Sequelize[_0xcb97('0x2')]},'state':{'type':Sequelize[_0xcb97('0x2')],'unique':_0xcb97('0x7')},'description':{'type':Sequelize[_0xcb97('0x2')]},'title':{'type':Sequelize[_0xcb97('0x2')]},'remoteUri':{'type':Sequelize[_0xcb97('0x2')]},'link':{'type':Sequelize['STRING'],'defaultValue':'#'}}; \ No newline at end of file +var _0xf053=['STRING','unique_name_and_version','app.js','INTEGER','BOOLEAN','state','sequelize','exports'];(function(_0x2e7743,_0x4ab72c){var _0x231255=function(_0x284a30){while(--_0x284a30){_0x2e7743['push'](_0x2e7743['shift']());}};_0x231255(++_0x4ab72c);}(_0xf053,0x7e));var _0x3f05=function(_0x43e9a5,_0x53e2c6){_0x43e9a5=_0x43e9a5-0x0;var _0x20098d=_0xf053[_0x43e9a5];return _0x20098d;};'use strict';var Sequelize=require(_0x3f05('0x0'));module[_0x3f05('0x1')]={'name':{'type':Sequelize[_0x3f05('0x2')],'allowNull':![],'unique':_0x3f05('0x3')},'version':{'type':Sequelize[_0x3f05('0x2')],'allowNull':![],'unique':_0x3f05('0x3')},'main':{'type':Sequelize[_0x3f05('0x2')],'defaultValue':_0x3f05('0x4')},'filename':{'type':Sequelize[_0x3f05('0x2')]},'path':{'type':Sequelize[_0x3f05('0x2')]},'type':{'type':Sequelize[_0x3f05('0x2')]},'size':{'type':Sequelize[_0x3f05('0x5')]},'active':{'type':Sequelize[_0x3f05('0x6')],'defaultValue':![]},'author':{'type':Sequelize[_0x3f05('0x2')]},'logo':{'type':Sequelize[_0x3f05('0x2')]},'state':{'type':Sequelize[_0x3f05('0x2')],'unique':_0x3f05('0x7')},'description':{'type':Sequelize[_0x3f05('0x2')]},'title':{'type':Sequelize['STRING']},'remoteUri':{'type':Sequelize[_0x3f05('0x2')]},'link':{'type':Sequelize[_0x3f05('0x2')],'defaultValue':'#'}}; \ No newline at end of file diff --git a/server/api/integration/integration.controller.js b/server/api/integration/integration.controller.js index 45ec4a7..2d0108b 100644 --- a/server/api/integration/integration.controller.js +++ b/server/api/integration/integration.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xcd81=['rawAttributes','fieldName','type','key','model','query','keys','filters','intersection','attributes','fields','length','nolimit','order','sort','where','pick','filter','merge','VIRTUAL','options','count','includeAll','findAll','rows','catch','show','Integration','include','find','create','body','params','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','moment','bluebird','mustache','path','sox','to-csv','ejs','lodash','squel','crypto','jsforce','desk.js','querystring','papaparse','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/environment','../../mysqldb','status','end','json','offset','limit','set','apply','reject','save','update','destroy','then','sendStatus','error','stack','name','send','index','map'];(function(_0x1e24b1,_0x14ab30){var _0x212baf=function(_0x2bd3e9){while(--_0x2bd3e9){_0x1e24b1['push'](_0x1e24b1['shift']());}};_0x212baf(++_0x14ab30);}(_0xcd81,0xbf));var _0x1cd8=function(_0x2769df,_0x5f06ab){_0x2769df=_0x2769df-0x0;var _0xbfded9=_0xcd81[_0x2769df];return _0xbfded9;};'use strict';var pdf=require(_0x1cd8('0x0'));var emlformat=require(_0x1cd8('0x1'));var rimraf=require(_0x1cd8('0x2'));var zipdir=require(_0x1cd8('0x3'));var jsonpatch=require(_0x1cd8('0x4'));var rp=require('request-promise');var moment=require(_0x1cd8('0x5'));var BPromise=require(_0x1cd8('0x6'));var Mustache=require(_0x1cd8('0x7'));var util=require('util');var path=require(_0x1cd8('0x8'));var sox=require(_0x1cd8('0x9'));var csv=require(_0x1cd8('0xa'));var ejs=require(_0x1cd8('0xb'));var fs=require('fs');var _=require(_0x1cd8('0xc'));var squel=require(_0x1cd8('0xd'));var crypto=require(_0x1cd8('0xe'));var jsforce=require(_0x1cd8('0xf'));var deskjs=require(_0x1cd8('0x10'));var toCsv=require(_0x1cd8('0xa'));var querystring=require(_0x1cd8('0x11'));var Papa=require(_0x1cd8('0x12'));var Redis=require('ioredis');var authService=require(_0x1cd8('0x13'));var qs=require(_0x1cd8('0x14'));var as=require(_0x1cd8('0x15'));var hardwareService=require(_0x1cd8('0x16'));var logger=require(_0x1cd8('0x17'))(_0x1cd8('0x18'));var utils=require('../../config/utils');var config=require(_0x1cd8('0x19'));var db=require(_0x1cd8('0x1a'))['db'];function respondWithStatusCode(_0x1bcd85,_0x2082c0){_0x2082c0=_0x2082c0||0xcc;return function(_0x3acfe6){if(_0x3acfe6){return _0x1bcd85['sendStatus'](_0x2082c0);}return _0x1bcd85[_0x1cd8('0x1b')](_0x2082c0)[_0x1cd8('0x1c')]();};}function respondWithResult(_0x38e6c3,_0x2b617c){_0x2b617c=_0x2b617c||0xc8;return function(_0x56f4d8){if(_0x56f4d8){return _0x38e6c3['status'](_0x2b617c)[_0x1cd8('0x1d')](_0x56f4d8);}};}function respondWithFilteredResult(_0x19fad4,_0x2265ad){return function(_0x2eed8f){if(_0x2eed8f){var _0x1ab5c0=_0x2eed8f['count'],_0x39f831=_0x2265ad['offset'],_0x33072b=_0x2265ad[_0x1cd8('0x1e')]+_0x2265ad[_0x1cd8('0x1f')],_0xe27836;if(_0x33072b>=_0x1ab5c0){_0x33072b=_0x1ab5c0;_0xe27836=0xc8;}else{_0xe27836=0xce;}_0x19fad4['status'](_0xe27836);return _0x19fad4[_0x1cd8('0x20')]('Content-Range',_0x39f831+'-'+_0x33072b+'/'+_0x1ab5c0)[_0x1cd8('0x1d')](_0x2eed8f);}return null;};}function patchUpdates(_0x43024c){return function(_0x5dbf26){try{jsonpatch[_0x1cd8('0x21')](_0x5dbf26,_0x43024c,!![]);}catch(_0x7cb25f){return BPromise[_0x1cd8('0x22')](_0x7cb25f);}return _0x5dbf26[_0x1cd8('0x23')]();};}function saveUpdates(_0x475337,_0x12608b){return function(_0xf2c231){if(_0xf2c231){return _0xf2c231[_0x1cd8('0x24')](_0x475337)['then'](function(_0xaf1f3c){return _0xaf1f3c;});}return null;};}function removeEntity(_0xa3e7d3,_0x2b8721){return function(_0x5e02ba){if(_0x5e02ba){return _0x5e02ba[_0x1cd8('0x25')]()[_0x1cd8('0x26')](function(){_0xa3e7d3[_0x1cd8('0x1b')](0xcc)[_0x1cd8('0x1c')]();});}};}function handleEntityNotFound(_0x4f959e,_0x22311d){return function(_0x34b885){if(!_0x34b885){_0x4f959e[_0x1cd8('0x27')](0x194);}return _0x34b885;};}function handleError(_0x758741,_0x52224c){_0x52224c=_0x52224c||0x1f4;return function(_0x5c3a05){logger[_0x1cd8('0x28')](_0x5c3a05[_0x1cd8('0x29')]);if(_0x5c3a05[_0x1cd8('0x2a')]){delete _0x5c3a05[_0x1cd8('0x2a')];}_0x758741[_0x1cd8('0x1b')](_0x52224c)[_0x1cd8('0x2b')](_0x5c3a05);};}exports[_0x1cd8('0x2c')]=function(_0x26265f,_0x3bbd9c){var _0x389244={},_0x308991={},_0x4523a5={'count':0x0,'rows':[]};var _0x84819b=_[_0x1cd8('0x2d')](db['Integration'][_0x1cd8('0x2e')],function(_0x2760d3){return{'name':_0x2760d3[_0x1cd8('0x2f')],'type':_0x2760d3[_0x1cd8('0x30')][_0x1cd8('0x31')]};});_0x308991[_0x1cd8('0x32')]=_[_0x1cd8('0x2d')](_0x84819b,_0x1cd8('0x2a'));_0x308991[_0x1cd8('0x33')]=_[_0x1cd8('0x34')](_0x26265f[_0x1cd8('0x33')]);_0x308991[_0x1cd8('0x35')]=_[_0x1cd8('0x36')](_0x308991[_0x1cd8('0x32')],_0x308991[_0x1cd8('0x33')]);_0x389244[_0x1cd8('0x37')]=_[_0x1cd8('0x36')](_0x308991[_0x1cd8('0x32')],qs['fields'](_0x26265f[_0x1cd8('0x33')][_0x1cd8('0x38')]));_0x389244['attributes']=_0x389244['attributes'][_0x1cd8('0x39')]?_0x389244[_0x1cd8('0x37')]:_0x308991[_0x1cd8('0x32')];if(!_0x26265f['query']['hasOwnProperty'](_0x1cd8('0x3a'))){_0x389244[_0x1cd8('0x1f')]=qs[_0x1cd8('0x1f')](_0x26265f[_0x1cd8('0x33')][_0x1cd8('0x1f')]);_0x389244[_0x1cd8('0x1e')]=qs[_0x1cd8('0x1e')](_0x26265f[_0x1cd8('0x33')]['offset']);}_0x389244[_0x1cd8('0x3b')]=qs[_0x1cd8('0x3c')](_0x26265f['query']['sort']);_0x389244[_0x1cd8('0x3d')]=qs[_0x1cd8('0x35')](_[_0x1cd8('0x3e')](_0x26265f[_0x1cd8('0x33')],_0x308991[_0x1cd8('0x35')]),_0x84819b);if(_0x26265f[_0x1cd8('0x33')][_0x1cd8('0x3f')]){_0x389244[_0x1cd8('0x3d')]=_[_0x1cd8('0x40')](_0x389244[_0x1cd8('0x3d')],{'$or':_['map'](_0x84819b,function(_0x3d530d){if(_0x3d530d['type']!==_0x1cd8('0x41')){var _0x1d8297={};_0x1d8297[_0x3d530d[_0x1cd8('0x2a')]]={'$like':'%'+_0x26265f['query'][_0x1cd8('0x3f')]+'%'};return _0x1d8297;}})});}_0x389244=_['merge']({},_0x389244,_0x26265f[_0x1cd8('0x42')]);var _0x2732c0={'where':_0x389244[_0x1cd8('0x3d')]};return db['Integration']['count'](_0x2732c0)[_0x1cd8('0x26')](function(_0x3c5392){_0x4523a5[_0x1cd8('0x43')]=_0x3c5392;if(_0x26265f[_0x1cd8('0x33')][_0x1cd8('0x44')]){_0x389244['include']=[{'all':!![]}];}return db['Integration'][_0x1cd8('0x45')](_0x389244);})[_0x1cd8('0x26')](function(_0x25f275){_0x4523a5[_0x1cd8('0x46')]=_0x25f275;return _0x4523a5;})['then'](respondWithFilteredResult(_0x3bbd9c,_0x389244))[_0x1cd8('0x47')](handleError(_0x3bbd9c,null));};exports[_0x1cd8('0x48')]=function(_0x29b0d5,_0x1a2410){var _0x48e9c0={'raw':![],'where':{'id':_0x29b0d5['params']['id']}},_0xdd4d08={};_0xdd4d08[_0x1cd8('0x32')]=_[_0x1cd8('0x34')](db[_0x1cd8('0x49')][_0x1cd8('0x2e')]);_0xdd4d08[_0x1cd8('0x33')]=_[_0x1cd8('0x34')](_0x29b0d5[_0x1cd8('0x33')]);_0xdd4d08[_0x1cd8('0x35')]=_[_0x1cd8('0x36')](_0xdd4d08['model'],_0xdd4d08[_0x1cd8('0x33')]);_0x48e9c0[_0x1cd8('0x37')]=_[_0x1cd8('0x36')](_0xdd4d08[_0x1cd8('0x32')],qs[_0x1cd8('0x38')](_0x29b0d5[_0x1cd8('0x33')]['fields']));_0x48e9c0[_0x1cd8('0x37')]=_0x48e9c0[_0x1cd8('0x37')][_0x1cd8('0x39')]?_0x48e9c0[_0x1cd8('0x37')]:_0xdd4d08[_0x1cd8('0x32')];if(_0x29b0d5[_0x1cd8('0x33')][_0x1cd8('0x44')]){_0x48e9c0[_0x1cd8('0x4a')]=[{'all':!![]}];}_0x48e9c0=_[_0x1cd8('0x40')]({},_0x48e9c0,_0x29b0d5[_0x1cd8('0x42')]);return db[_0x1cd8('0x49')][_0x1cd8('0x4b')](_0x48e9c0)['then'](handleEntityNotFound(_0x1a2410,null))['then'](respondWithResult(_0x1a2410,null))[_0x1cd8('0x47')](handleError(_0x1a2410,null));};exports[_0x1cd8('0x4c')]=function(_0x3e57b5,_0x27946a){return db['Integration'][_0x1cd8('0x4c')](_0x3e57b5[_0x1cd8('0x4d')],{})[_0x1cd8('0x26')](respondWithResult(_0x27946a,0xc9))[_0x1cd8('0x47')](handleError(_0x27946a,null));};exports['update']=function(_0x3bac53,_0x5c8991){if(_0x3bac53[_0x1cd8('0x4d')]['id']){delete _0x3bac53[_0x1cd8('0x4d')]['id'];}return db[_0x1cd8('0x49')][_0x1cd8('0x4b')]({'where':{'id':_0x3bac53[_0x1cd8('0x4e')]['id']}})['then'](handleEntityNotFound(_0x5c8991,null))[_0x1cd8('0x26')](saveUpdates(_0x3bac53[_0x1cd8('0x4d')],null))[_0x1cd8('0x26')](respondWithResult(_0x5c8991,null))[_0x1cd8('0x47')](handleError(_0x5c8991,null));};exports[_0x1cd8('0x25')]=function(_0x505d82,_0x48e034){return db['Integration'][_0x1cd8('0x4b')]({'where':{'id':_0x505d82['params']['id']}})[_0x1cd8('0x26')](handleEntityNotFound(_0x48e034,null))[_0x1cd8('0x26')](removeEntity(_0x48e034,null))[_0x1cd8('0x47')](handleError(_0x48e034,null));}; \ No newline at end of file +var _0xbf29=['rows','catch','show','params','keys','find','create','body','html-pdf','eml-format','rimraf','request-promise','moment','bluebird','mustache','util','path','sox','to-csv','ejs','lodash','squel','jsforce','desk.js','papaparse','ioredis','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','sendStatus','status','count','offset','limit','json','reject','save','update','destroy','then','error','stack','name','send','index','map','Integration','rawAttributes','fieldName','model','query','filters','intersection','attributes','fields','length','nolimit','order','sort','where','merge','type','VIRTUAL','filter','options','includeAll','include','findAll'];(function(_0x57426f,_0x52f0d3){var _0xe15733=function(_0x11bd27){while(--_0x11bd27){_0x57426f['push'](_0x57426f['shift']());}};_0xe15733(++_0x52f0d3);}(_0xbf29,0x1b8));var _0x9bf2=function(_0x39ce9b,_0x1896bb){_0x39ce9b=_0x39ce9b-0x0;var _0x32ffb2=_0xbf29[_0x39ce9b];return _0x32ffb2;};'use strict';var pdf=require(_0x9bf2('0x0'));var emlformat=require(_0x9bf2('0x1'));var rimraf=require(_0x9bf2('0x2'));var zipdir=require('zip-dir');var jsonpatch=require('fast-json-patch');var rp=require(_0x9bf2('0x3'));var moment=require(_0x9bf2('0x4'));var BPromise=require(_0x9bf2('0x5'));var Mustache=require(_0x9bf2('0x6'));var util=require(_0x9bf2('0x7'));var path=require(_0x9bf2('0x8'));var sox=require(_0x9bf2('0x9'));var csv=require(_0x9bf2('0xa'));var ejs=require(_0x9bf2('0xb'));var fs=require('fs');var _=require(_0x9bf2('0xc'));var squel=require(_0x9bf2('0xd'));var crypto=require('crypto');var jsforce=require(_0x9bf2('0xe'));var deskjs=require(_0x9bf2('0xf'));var toCsv=require('to-csv');var querystring=require('querystring');var Papa=require(_0x9bf2('0x10'));var Redis=require(_0x9bf2('0x11'));var authService=require('../../components/auth/service');var qs=require('../../components/parsers/qs');var as=require(_0x9bf2('0x12'));var hardwareService=require(_0x9bf2('0x13'));var logger=require(_0x9bf2('0x14'))(_0x9bf2('0x15'));var utils=require(_0x9bf2('0x16'));var config=require(_0x9bf2('0x17'));var db=require(_0x9bf2('0x18'))['db'];function respondWithStatusCode(_0x5795dd,_0x183bf2){_0x183bf2=_0x183bf2||0xcc;return function(_0x2cc265){if(_0x2cc265){return _0x5795dd[_0x9bf2('0x19')](_0x183bf2);}return _0x5795dd[_0x9bf2('0x1a')](_0x183bf2)['end']();};}function respondWithResult(_0xb350c3,_0x1744e3){_0x1744e3=_0x1744e3||0xc8;return function(_0x255e68){if(_0x255e68){return _0xb350c3['status'](_0x1744e3)['json'](_0x255e68);}};}function respondWithFilteredResult(_0x1f8fd5,_0x3b1cd7){return function(_0x8343c1){if(_0x8343c1){var _0x1d4eb3=_0x8343c1[_0x9bf2('0x1b')],_0x2b759c=_0x3b1cd7[_0x9bf2('0x1c')],_0x21c0a2=_0x3b1cd7[_0x9bf2('0x1c')]+_0x3b1cd7[_0x9bf2('0x1d')],_0x4da462;if(_0x21c0a2>=_0x1d4eb3){_0x21c0a2=_0x1d4eb3;_0x4da462=0xc8;}else{_0x4da462=0xce;}_0x1f8fd5[_0x9bf2('0x1a')](_0x4da462);return _0x1f8fd5['set']('Content-Range',_0x2b759c+'-'+_0x21c0a2+'/'+_0x1d4eb3)[_0x9bf2('0x1e')](_0x8343c1);}return null;};}function patchUpdates(_0xbd9551){return function(_0x53efd9){try{jsonpatch['apply'](_0x53efd9,_0xbd9551,!![]);}catch(_0xb346c7){return BPromise[_0x9bf2('0x1f')](_0xb346c7);}return _0x53efd9[_0x9bf2('0x20')]();};}function saveUpdates(_0x560acd,_0x2dbbc1){return function(_0x5bc942){if(_0x5bc942){return _0x5bc942[_0x9bf2('0x21')](_0x560acd)['then'](function(_0x24c1ef){return _0x24c1ef;});}return null;};}function removeEntity(_0x69a24a,_0x4bd21c){return function(_0x27ebcb){if(_0x27ebcb){return _0x27ebcb[_0x9bf2('0x22')]()[_0x9bf2('0x23')](function(){_0x69a24a[_0x9bf2('0x1a')](0xcc)['end']();});}};}function handleEntityNotFound(_0x2dc3c8,_0x40bf3c){return function(_0x3b00a7){if(!_0x3b00a7){_0x2dc3c8['sendStatus'](0x194);}return _0x3b00a7;};}function handleError(_0x5eed28,_0x262556){_0x262556=_0x262556||0x1f4;return function(_0x1e4f43){logger[_0x9bf2('0x24')](_0x1e4f43[_0x9bf2('0x25')]);if(_0x1e4f43[_0x9bf2('0x26')]){delete _0x1e4f43['name'];}_0x5eed28[_0x9bf2('0x1a')](_0x262556)[_0x9bf2('0x27')](_0x1e4f43);};}exports[_0x9bf2('0x28')]=function(_0x8b5c4f,_0x1a4ca3){var _0x12d5a5={},_0xe2b25f={},_0x43d809={'count':0x0,'rows':[]};var _0x4b5502=_[_0x9bf2('0x29')](db[_0x9bf2('0x2a')][_0x9bf2('0x2b')],function(_0x26babd){return{'name':_0x26babd[_0x9bf2('0x2c')],'type':_0x26babd['type']['key']};});_0xe2b25f[_0x9bf2('0x2d')]=_[_0x9bf2('0x29')](_0x4b5502,_0x9bf2('0x26'));_0xe2b25f['query']=_['keys'](_0x8b5c4f[_0x9bf2('0x2e')]);_0xe2b25f[_0x9bf2('0x2f')]=_[_0x9bf2('0x30')](_0xe2b25f[_0x9bf2('0x2d')],_0xe2b25f[_0x9bf2('0x2e')]);_0x12d5a5[_0x9bf2('0x31')]=_[_0x9bf2('0x30')](_0xe2b25f[_0x9bf2('0x2d')],qs[_0x9bf2('0x32')](_0x8b5c4f['query'][_0x9bf2('0x32')]));_0x12d5a5[_0x9bf2('0x31')]=_0x12d5a5['attributes'][_0x9bf2('0x33')]?_0x12d5a5[_0x9bf2('0x31')]:_0xe2b25f[_0x9bf2('0x2d')];if(!_0x8b5c4f[_0x9bf2('0x2e')]['hasOwnProperty'](_0x9bf2('0x34'))){_0x12d5a5['limit']=qs[_0x9bf2('0x1d')](_0x8b5c4f[_0x9bf2('0x2e')][_0x9bf2('0x1d')]);_0x12d5a5[_0x9bf2('0x1c')]=qs[_0x9bf2('0x1c')](_0x8b5c4f[_0x9bf2('0x2e')][_0x9bf2('0x1c')]);}_0x12d5a5[_0x9bf2('0x35')]=qs[_0x9bf2('0x36')](_0x8b5c4f[_0x9bf2('0x2e')][_0x9bf2('0x36')]);_0x12d5a5[_0x9bf2('0x37')]=qs[_0x9bf2('0x2f')](_['pick'](_0x8b5c4f[_0x9bf2('0x2e')],_0xe2b25f[_0x9bf2('0x2f')]),_0x4b5502);if(_0x8b5c4f[_0x9bf2('0x2e')]['filter']){_0x12d5a5[_0x9bf2('0x37')]=_[_0x9bf2('0x38')](_0x12d5a5[_0x9bf2('0x37')],{'$or':_[_0x9bf2('0x29')](_0x4b5502,function(_0x31f297){if(_0x31f297[_0x9bf2('0x39')]!==_0x9bf2('0x3a')){var _0x4f55da={};_0x4f55da[_0x31f297[_0x9bf2('0x26')]]={'$like':'%'+_0x8b5c4f[_0x9bf2('0x2e')][_0x9bf2('0x3b')]+'%'};return _0x4f55da;}})});}_0x12d5a5=_[_0x9bf2('0x38')]({},_0x12d5a5,_0x8b5c4f[_0x9bf2('0x3c')]);var _0x1c7840={'where':_0x12d5a5[_0x9bf2('0x37')]};return db[_0x9bf2('0x2a')][_0x9bf2('0x1b')](_0x1c7840)[_0x9bf2('0x23')](function(_0x50517f){_0x43d809[_0x9bf2('0x1b')]=_0x50517f;if(_0x8b5c4f[_0x9bf2('0x2e')][_0x9bf2('0x3d')]){_0x12d5a5[_0x9bf2('0x3e')]=[{'all':!![]}];}return db['Integration'][_0x9bf2('0x3f')](_0x12d5a5);})[_0x9bf2('0x23')](function(_0x454967){_0x43d809[_0x9bf2('0x40')]=_0x454967;return _0x43d809;})[_0x9bf2('0x23')](respondWithFilteredResult(_0x1a4ca3,_0x12d5a5))[_0x9bf2('0x41')](handleError(_0x1a4ca3,null));};exports[_0x9bf2('0x42')]=function(_0x51bc0c,_0xf4b2f6){var _0x461c68={'raw':![],'where':{'id':_0x51bc0c[_0x9bf2('0x43')]['id']}},_0x290fb5={};_0x290fb5[_0x9bf2('0x2d')]=_['keys'](db[_0x9bf2('0x2a')][_0x9bf2('0x2b')]);_0x290fb5[_0x9bf2('0x2e')]=_[_0x9bf2('0x44')](_0x51bc0c[_0x9bf2('0x2e')]);_0x290fb5[_0x9bf2('0x2f')]=_[_0x9bf2('0x30')](_0x290fb5['model'],_0x290fb5[_0x9bf2('0x2e')]);_0x461c68['attributes']=_[_0x9bf2('0x30')](_0x290fb5[_0x9bf2('0x2d')],qs['fields'](_0x51bc0c[_0x9bf2('0x2e')][_0x9bf2('0x32')]));_0x461c68[_0x9bf2('0x31')]=_0x461c68['attributes'][_0x9bf2('0x33')]?_0x461c68['attributes']:_0x290fb5['model'];if(_0x51bc0c[_0x9bf2('0x2e')]['includeAll']){_0x461c68[_0x9bf2('0x3e')]=[{'all':!![]}];}_0x461c68=_[_0x9bf2('0x38')]({},_0x461c68,_0x51bc0c[_0x9bf2('0x3c')]);return db['Integration'][_0x9bf2('0x45')](_0x461c68)[_0x9bf2('0x23')](handleEntityNotFound(_0xf4b2f6,null))[_0x9bf2('0x23')](respondWithResult(_0xf4b2f6,null))[_0x9bf2('0x41')](handleError(_0xf4b2f6,null));};exports[_0x9bf2('0x46')]=function(_0x40c2c0,_0x5d6b8c){return db[_0x9bf2('0x2a')]['create'](_0x40c2c0[_0x9bf2('0x47')],{})['then'](respondWithResult(_0x5d6b8c,0xc9))[_0x9bf2('0x41')](handleError(_0x5d6b8c,null));};exports[_0x9bf2('0x21')]=function(_0xfc62c4,_0x3e33f9){if(_0xfc62c4[_0x9bf2('0x47')]['id']){delete _0xfc62c4[_0x9bf2('0x47')]['id'];}return db[_0x9bf2('0x2a')][_0x9bf2('0x45')]({'where':{'id':_0xfc62c4['params']['id']}})[_0x9bf2('0x23')](handleEntityNotFound(_0x3e33f9,null))[_0x9bf2('0x23')](saveUpdates(_0xfc62c4['body'],null))['then'](respondWithResult(_0x3e33f9,null))[_0x9bf2('0x41')](handleError(_0x3e33f9,null));};exports[_0x9bf2('0x22')]=function(_0x5e9087,_0xe2d98f){return db['Integration'][_0x9bf2('0x45')]({'where':{'id':_0x5e9087[_0x9bf2('0x43')]['id']}})['then'](handleEntityNotFound(_0xe2d98f,null))[_0x9bf2('0x23')](removeEntity(_0xe2d98f,null))['catch'](handleError(_0xe2d98f,null));}; \ No newline at end of file diff --git a/server/api/integration/integration.model.js b/server/api/integration/integration.model.js index 5619adb..473c4b5 100644 --- a/server/api/integration/integration.model.js +++ b/server/api/integration/integration.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x8577=['rimraf','../../config/environment','./integration.attributes','exports','define','Integration','integrations','../../config/logger','moment','request-promise'];(function(_0x5d9623,_0x1375a6){var _0xabbf2=function(_0xe08791){while(--_0xe08791){_0x5d9623['push'](_0x5d9623['shift']());}};_0xabbf2(++_0x1375a6);}(_0x8577,0x1b5));var _0x7857=function(_0x4abd28,_0x1f3e23){_0x4abd28=_0x4abd28-0x0;var _0x17cfdb=_0x8577[_0x4abd28];return _0x17cfdb;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x7857('0x0'))('api');var moment=require(_0x7857('0x1'));var BPromise=require('bluebird');var rp=require(_0x7857('0x2'));var fs=require('fs');var path=require('path');var rimraf=require(_0x7857('0x3'));var config=require(_0x7857('0x4'));var attributes=require(_0x7857('0x5'));module[_0x7857('0x6')]=function(_0x3d1cb2,_0x5bd99f){return _0x3d1cb2[_0x7857('0x7')](_0x7857('0x8'),attributes,{'tableName':_0x7857('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0x3756=['./integration.attributes','exports','define','Integration','integrations','lodash','../../config/logger','api','bluebird','request-promise'];(function(_0x1a8523,_0x37e463){var _0x4fa172=function(_0x4b91f9){while(--_0x4b91f9){_0x1a8523['push'](_0x1a8523['shift']());}};_0x4fa172(++_0x37e463);}(_0x3756,0x113));var _0x6375=function(_0x4b1144,_0x48e59a){_0x4b1144=_0x4b1144-0x0;var _0x2d32e8=_0x3756[_0x4b1144];return _0x2d32e8;};'use strict';var _=require(_0x6375('0x0'));var util=require('util');var logger=require(_0x6375('0x1'))(_0x6375('0x2'));var moment=require('moment');var BPromise=require(_0x6375('0x3'));var rp=require(_0x6375('0x4'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x6375('0x5'));module[_0x6375('0x6')]=function(_0x491c32,_0x430935){return _0x491c32[_0x6375('0x7')](_0x6375('0x8'),attributes,{'tableName':_0x6375('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/integration/integration.rpc.js b/server/api/integration/integration.rpc.js index 7238ca3..f955eca 100644 --- a/server/api/integration/integration.rpc.js +++ b/server/api/integration/integration.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xc300=['Integration,\x20%s,\x20%s','request\x20sent','debug','Integration,\x20%s,\x20%s,\x20%s','error','message','lodash','util','randomstring','ioredis','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','client','http','request','then','info'];(function(_0xa1e3e3,_0x29fe0e){var _0xc980e9=function(_0x1f5adc){while(--_0x1f5adc){_0xa1e3e3['push'](_0xa1e3e3['shift']());}};_0xc980e9(++_0x29fe0e);}(_0xc300,0x132));var _0x0c30=function(_0x569f09,_0x1fc614){_0x569f09=_0x569f09-0x0;var _0x390b08=_0xc300[_0x569f09];return _0x390b08;};'use strict';var _=require(_0x0c30('0x0'));var util=require(_0x0c30('0x1'));var moment=require('moment');var BPromise=require('bluebird');var rs=require(_0x0c30('0x2'));var fs=require('fs');var Redis=require(_0x0c30('0x3'));var db=require('../../mysqldb')['db'];var utils=require(_0x0c30('0x4'));var logger=require(_0x0c30('0x5'))(_0x0c30('0x6'));var config=require(_0x0c30('0x7'));var jayson=require(_0x0c30('0x8'));var client=jayson[_0x0c30('0x9')][_0x0c30('0xa')]({'port':0x232a});function respondWithRpcPromise(_0x1b35f1,_0x53a312,_0x1e13f2){return new BPromise(function(_0xa460df,_0x55bc7b){return client[_0x0c30('0xb')](_0x1b35f1,_0x1e13f2)[_0x0c30('0xc')](function(_0x56d44a){logger[_0x0c30('0xd')](_0x0c30('0xe'),_0x53a312,_0x0c30('0xf'));logger[_0x0c30('0x10')](_0x0c30('0x11'),_0x53a312,'request\x20sent',JSON['stringify'](_0x56d44a));if(_0x56d44a[_0x0c30('0x12')]){if(_0x56d44a[_0x0c30('0x12')]['code']===0x1f4){logger['error'](_0x0c30('0xe'),_0x53a312,_0x56d44a[_0x0c30('0x12')][_0x0c30('0x13')]);return _0x55bc7b(_0x56d44a[_0x0c30('0x12')][_0x0c30('0x13')]);}logger['error'](_0x0c30('0xe'),_0x53a312,_0x56d44a['error'][_0x0c30('0x13')]);return _0xa460df(_0x56d44a[_0x0c30('0x12')][_0x0c30('0x13')]);}else{logger[_0x0c30('0xd')](_0x0c30('0xe'),_0x53a312,_0x0c30('0xf'));_0xa460df(_0x56d44a['result'][_0x0c30('0x13')]);}})['catch'](function(_0x26277e){logger[_0x0c30('0x12')](_0x0c30('0xe'),_0x53a312,_0x26277e);_0x55bc7b(_0x26277e);});});} \ No newline at end of file +var _0x59ce=['request\x20sent','debug','Integration,\x20%s,\x20%s,\x20%s','stringify','error','code','message','result','lodash','util','moment','randomstring','ioredis','../../mysqldb','../../config/utils','../../config/logger','rpc','../../config/environment','client','request','then','info','Integration,\x20%s,\x20%s'];(function(_0x1bedf9,_0x4ac84f){var _0x4f168b=function(_0x318a43){while(--_0x318a43){_0x1bedf9['push'](_0x1bedf9['shift']());}};_0x4f168b(++_0x4ac84f);}(_0x59ce,0x92));var _0xe59c=function(_0x1fb6d6,_0x434d83){_0x1fb6d6=_0x1fb6d6-0x0;var _0x1b65a7=_0x59ce[_0x1fb6d6];return _0x1b65a7;};'use strict';var _=require(_0xe59c('0x0'));var util=require(_0xe59c('0x1'));var moment=require(_0xe59c('0x2'));var BPromise=require('bluebird');var rs=require(_0xe59c('0x3'));var fs=require('fs');var Redis=require(_0xe59c('0x4'));var db=require(_0xe59c('0x5'))['db'];var utils=require(_0xe59c('0x6'));var logger=require(_0xe59c('0x7'))(_0xe59c('0x8'));var config=require(_0xe59c('0x9'));var jayson=require('jayson/promise');var client=jayson[_0xe59c('0xa')]['http']({'port':0x232a});function respondWithRpcPromise(_0x534601,_0x4f07e9,_0x2c1d11){return new BPromise(function(_0x101a79,_0x206753){return client[_0xe59c('0xb')](_0x534601,_0x2c1d11)[_0xe59c('0xc')](function(_0x3981be){logger[_0xe59c('0xd')](_0xe59c('0xe'),_0x4f07e9,_0xe59c('0xf'));logger[_0xe59c('0x10')](_0xe59c('0x11'),_0x4f07e9,_0xe59c('0xf'),JSON[_0xe59c('0x12')](_0x3981be));if(_0x3981be[_0xe59c('0x13')]){if(_0x3981be[_0xe59c('0x13')][_0xe59c('0x14')]===0x1f4){logger[_0xe59c('0x13')](_0xe59c('0xe'),_0x4f07e9,_0x3981be['error'][_0xe59c('0x15')]);return _0x206753(_0x3981be[_0xe59c('0x13')][_0xe59c('0x15')]);}logger[_0xe59c('0x13')]('Integration,\x20%s,\x20%s',_0x4f07e9,_0x3981be['error'][_0xe59c('0x15')]);return _0x101a79(_0x3981be[_0xe59c('0x13')][_0xe59c('0x15')]);}else{logger[_0xe59c('0xd')](_0xe59c('0xe'),_0x4f07e9,'request\x20sent');_0x101a79(_0x3981be[_0xe59c('0x16')]['message']);}})['catch'](function(_0xee38fc){logger[_0xe59c('0x13')]('Integration,\x20%s,\x20%s',_0x4f07e9,_0xee38fc);_0x206753(_0xee38fc);});});} \ No newline at end of file diff --git a/server/api/integrationReport/index.js b/server/api/integrationReport/index.js index ad1bf8b..0de301a 100644 --- a/server/api/integrationReport/index.js +++ b/server/api/integrationReport/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xe2d3=['express','../../components/auth/service','../../components/interaction/service','./integrationReport.controller','get','isAuthenticated','/describe','/:id','post','create','put','update','multer','util','path'];(function(_0xb28e9d,_0x50eeb9){var _0x15f514=function(_0x1ea67e){while(--_0x1ea67e){_0xb28e9d['push'](_0xb28e9d['shift']());}};_0x15f514(++_0x50eeb9);}(_0xe2d3,0x1ce));var _0x3e2d=function(_0x4df85c,_0x248dfb){_0x4df85c=_0x4df85c-0x0;var _0x4e2a61=_0xe2d3[_0x4df85c];return _0x4e2a61;};'use strict';var multer=require(_0x3e2d('0x0'));var util=require(_0x3e2d('0x1'));var path=require(_0x3e2d('0x2'));var timeout=require('connect-timeout');var express=require(_0x3e2d('0x3'));var router=express['Router']();var auth=require(_0x3e2d('0x4'));var interaction=require(_0x3e2d('0x5'));var config=require('../../config/environment');var controller=require(_0x3e2d('0x6'));router[_0x3e2d('0x7')]('/',auth[_0x3e2d('0x8')](),controller['index']);router[_0x3e2d('0x7')](_0x3e2d('0x9'),auth[_0x3e2d('0x8')](),controller['describe']);router[_0x3e2d('0x7')](_0x3e2d('0xa'),auth[_0x3e2d('0x8')](),controller['show']);router[_0x3e2d('0xb')]('/',auth['isAuthenticated'](),controller[_0x3e2d('0xc')]);router[_0x3e2d('0xd')]('/:id',auth[_0x3e2d('0x8')](),controller[_0x3e2d('0xe')]);router['delete'](_0x3e2d('0xa'),auth[_0x3e2d('0x8')](),controller['destroy']);module['exports']=router; \ No newline at end of file +var _0x4241=['Router','../../components/interaction/service','../../config/environment','./integrationReport.controller','get','isAuthenticated','index','/describe','describe','put','/:id','update','exports','path','connect-timeout','express'];(function(_0x403230,_0x100c91){var _0x246eb3=function(_0x2aa681){while(--_0x2aa681){_0x403230['push'](_0x403230['shift']());}};_0x246eb3(++_0x100c91);}(_0x4241,0x17d));var _0x1424=function(_0x455c6c,_0x1e78b7){_0x455c6c=_0x455c6c-0x0;var _0x488242=_0x4241[_0x455c6c];return _0x488242;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x1424('0x0'));var timeout=require(_0x1424('0x1'));var express=require(_0x1424('0x2'));var router=express[_0x1424('0x3')]();var auth=require('../../components/auth/service');var interaction=require(_0x1424('0x4'));var config=require(_0x1424('0x5'));var controller=require(_0x1424('0x6'));router[_0x1424('0x7')]('/',auth[_0x1424('0x8')](),controller[_0x1424('0x9')]);router[_0x1424('0x7')](_0x1424('0xa'),auth[_0x1424('0x8')](),controller[_0x1424('0xb')]);router[_0x1424('0x7')]('/:id',auth[_0x1424('0x8')](),controller['show']);router['post']('/',auth[_0x1424('0x8')](),controller['create']);router[_0x1424('0xc')](_0x1424('0xd'),auth[_0x1424('0x8')](),controller[_0x1424('0xe')]);router['delete']('/:id',auth[_0x1424('0x8')](),controller['destroy']);module[_0x1424('0xf')]=router; \ No newline at end of file diff --git a/server/api/integrationReport/integrationReport.attributes.js b/server/api/integrationReport/integrationReport.attributes.js index d4454ad..6a06a14 100644 --- a/server/api/integrationReport/integrationReport.attributes.js +++ b/server/api/integrationReport/integrationReport.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xc8ab=['INTEGER','DATE','BOOLEAN','TEXT','ENUM','SENT','RECEIVED','FAILED','STRING'];(function(_0x3d0d2f,_0x4fb9cd){var _0xd64bab=function(_0x26632e){while(--_0x26632e){_0x3d0d2f['push'](_0x3d0d2f['shift']());}};_0xd64bab(++_0x4fb9cd);}(_0xc8ab,0x128));var _0xbc8a=function(_0x421c50,_0x2eea2b){_0x421c50=_0x421c50-0x0;var _0x43b3f0=_0xc8ab[_0x421c50];return _0x43b3f0;};'use strict';var Sequelize=require('sequelize');module['exports']={'integration':{'type':Sequelize['STRING']},'eventChannel':{'type':Sequelize[_0xbc8a('0x0')]},'exitStatus':{'type':Sequelize[_0xbc8a('0x0')]},'ticketId':{'type':Sequelize[_0xbc8a('0x0')]},'integrationId':{'type':Sequelize[_0xbc8a('0x1')]},'contacts':{'type':Sequelize['STRING']},'uniqueid':{'type':Sequelize[_0xbc8a('0x0')]},'calleridnum':{'type':Sequelize[_0xbc8a('0x0')]},'calleridname':{'type':Sequelize[_0xbc8a('0x0')]},'queue':{'type':Sequelize[_0xbc8a('0x0')]},'interface':{'type':Sequelize[_0xbc8a('0x0')]},'membername':{'type':Sequelize[_0xbc8a('0x0')]},'agentcalledAt':{'type':Sequelize[_0xbc8a('0x2')]},'agentconnectAt':{'type':Sequelize[_0xbc8a('0x2')]},'holdtime':{'type':Sequelize['INTEGER']},'agentcomplete':{'type':Sequelize[_0xbc8a('0x3')],'defaultValue':![]},'agentcompleteAt':{'type':Sequelize[_0xbc8a('0x2')]},'talktime':{'type':Sequelize[_0xbc8a('0x1')]},'agentacw':{'type':Sequelize[_0xbc8a('0x3')],'defaultValue':![]},'acwtime':{'type':Sequelize[_0xbc8a('0x1')]},'reason':{'type':Sequelize[_0xbc8a('0x0')]},'agentringnoanswer':{'type':Sequelize[_0xbc8a('0x3')],'defaultValue':![]},'agentringnoanswerAt':{'type':Sequelize[_0xbc8a('0x2')]},'agentdump':{'type':Sequelize[_0xbc8a('0x3')],'defaultValue':![]},'agentdumpAt':{'type':Sequelize[_0xbc8a('0x2')]},'lastevent':{'type':Sequelize[_0xbc8a('0x0')]},'channel':{'type':Sequelize['STRING']},'channelstate':{'type':Sequelize[_0xbc8a('0x1')]},'channelstatedesc':{'type':Sequelize[_0xbc8a('0x0')]},'connectedlinenum':{'type':Sequelize[_0xbc8a('0x0')]},'connectedlinename':{'type':Sequelize['STRING']},'language':{'type':Sequelize[_0xbc8a('0x0')]},'accountcode':{'type':Sequelize[_0xbc8a('0x0')]},'context':{'type':Sequelize[_0xbc8a('0x0')]},'exten':{'type':Sequelize[_0xbc8a('0x0')]},'priority':{'type':Sequelize[_0xbc8a('0x0')]},'destchannel':{'type':Sequelize[_0xbc8a('0x0')]},'destchannelstate':{'type':Sequelize['INTEGER']},'destchannelstatedesc':{'type':Sequelize[_0xbc8a('0x0')]},'destcalleridnum':{'type':Sequelize['STRING']},'destcalleridname':{'type':Sequelize[_0xbc8a('0x0')]},'destconnectedlinenum':{'type':Sequelize[_0xbc8a('0x0')]},'destconnectedlinename':{'type':Sequelize[_0xbc8a('0x0')]},'destlanguage':{'type':Sequelize['STRING']},'destaccountcode':{'type':Sequelize[_0xbc8a('0x0')]},'destcontext':{'type':Sequelize[_0xbc8a('0x0')]},'destexten':{'type':Sequelize[_0xbc8a('0x0')]},'destpriority':{'type':Sequelize['STRING']},'destuniqueid':{'type':Sequelize[_0xbc8a('0x0')]},'messageId':{'type':Sequelize[_0xbc8a('0x0')]},'inReplyTo':{'type':Sequelize[_0xbc8a('0x0')]},'subject':{'type':Sequelize['STRING']},'from':{'type':Sequelize[_0xbc8a('0x0')]},'to':{'type':Sequelize[_0xbc8a('0x0')]},'cc':{'type':Sequelize[_0xbc8a('0x0')]},'attachment':{'type':Sequelize[_0xbc8a('0x4')]},'html':{'type':Sequelize[_0xbc8a('0x4')]},'text':{'type':Sequelize[_0xbc8a('0x4')]},'status':{'type':Sequelize[_0xbc8a('0x5')](_0xbc8a('0x6'),'SENDING',_0xbc8a('0x7'),_0xbc8a('0x8'))},'url':{'type':Sequelize['STRING']},'app':{'type':Sequelize['STRING']},'appdata':{'type':Sequelize['STRING']},'projectId':{'type':Sequelize[_0xbc8a('0x1')]}}; \ No newline at end of file +var _0xc2f2=['TEXT','SENT','SENDING','FAILED','sequelize','STRING','DATE','INTEGER','BOOLEAN'];(function(_0x42245d,_0x51758f){var _0x4b211a=function(_0x2634e){while(--_0x2634e){_0x42245d['push'](_0x42245d['shift']());}};_0x4b211a(++_0x51758f);}(_0xc2f2,0xd3));var _0x2c2f=function(_0x3e69ae,_0x366e8d){_0x3e69ae=_0x3e69ae-0x0;var _0x3d7f42=_0xc2f2[_0x3e69ae];return _0x3d7f42;};'use strict';var Sequelize=require(_0x2c2f('0x0'));module['exports']={'integration':{'type':Sequelize[_0x2c2f('0x1')]},'eventChannel':{'type':Sequelize['STRING']},'exitStatus':{'type':Sequelize[_0x2c2f('0x1')]},'ticketId':{'type':Sequelize[_0x2c2f('0x1')]},'integrationId':{'type':Sequelize['INTEGER']},'contacts':{'type':Sequelize['STRING']},'uniqueid':{'type':Sequelize[_0x2c2f('0x1')]},'calleridnum':{'type':Sequelize['STRING']},'calleridname':{'type':Sequelize[_0x2c2f('0x1')]},'queue':{'type':Sequelize[_0x2c2f('0x1')]},'interface':{'type':Sequelize[_0x2c2f('0x1')]},'membername':{'type':Sequelize[_0x2c2f('0x1')]},'agentcalledAt':{'type':Sequelize[_0x2c2f('0x2')]},'agentconnectAt':{'type':Sequelize[_0x2c2f('0x2')]},'holdtime':{'type':Sequelize[_0x2c2f('0x3')]},'agentcomplete':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'agentcompleteAt':{'type':Sequelize[_0x2c2f('0x2')]},'talktime':{'type':Sequelize[_0x2c2f('0x3')]},'agentacw':{'type':Sequelize[_0x2c2f('0x4')],'defaultValue':![]},'acwtime':{'type':Sequelize[_0x2c2f('0x3')]},'reason':{'type':Sequelize[_0x2c2f('0x1')]},'agentringnoanswer':{'type':Sequelize[_0x2c2f('0x4')],'defaultValue':![]},'agentringnoanswerAt':{'type':Sequelize[_0x2c2f('0x2')]},'agentdump':{'type':Sequelize[_0x2c2f('0x4')],'defaultValue':![]},'agentdumpAt':{'type':Sequelize[_0x2c2f('0x2')]},'lastevent':{'type':Sequelize['STRING']},'channel':{'type':Sequelize[_0x2c2f('0x1')]},'channelstate':{'type':Sequelize[_0x2c2f('0x3')]},'channelstatedesc':{'type':Sequelize[_0x2c2f('0x1')]},'connectedlinenum':{'type':Sequelize['STRING']},'connectedlinename':{'type':Sequelize[_0x2c2f('0x1')]},'language':{'type':Sequelize['STRING']},'accountcode':{'type':Sequelize[_0x2c2f('0x1')]},'context':{'type':Sequelize['STRING']},'exten':{'type':Sequelize[_0x2c2f('0x1')]},'priority':{'type':Sequelize[_0x2c2f('0x1')]},'destchannel':{'type':Sequelize[_0x2c2f('0x1')]},'destchannelstate':{'type':Sequelize[_0x2c2f('0x3')]},'destchannelstatedesc':{'type':Sequelize[_0x2c2f('0x1')]},'destcalleridnum':{'type':Sequelize[_0x2c2f('0x1')]},'destcalleridname':{'type':Sequelize[_0x2c2f('0x1')]},'destconnectedlinenum':{'type':Sequelize[_0x2c2f('0x1')]},'destconnectedlinename':{'type':Sequelize['STRING']},'destlanguage':{'type':Sequelize[_0x2c2f('0x1')]},'destaccountcode':{'type':Sequelize[_0x2c2f('0x1')]},'destcontext':{'type':Sequelize[_0x2c2f('0x1')]},'destexten':{'type':Sequelize[_0x2c2f('0x1')]},'destpriority':{'type':Sequelize[_0x2c2f('0x1')]},'destuniqueid':{'type':Sequelize[_0x2c2f('0x1')]},'messageId':{'type':Sequelize[_0x2c2f('0x1')]},'inReplyTo':{'type':Sequelize['STRING']},'subject':{'type':Sequelize[_0x2c2f('0x1')]},'from':{'type':Sequelize[_0x2c2f('0x1')]},'to':{'type':Sequelize[_0x2c2f('0x1')]},'cc':{'type':Sequelize[_0x2c2f('0x1')]},'attachment':{'type':Sequelize[_0x2c2f('0x5')]},'html':{'type':Sequelize[_0x2c2f('0x5')]},'text':{'type':Sequelize[_0x2c2f('0x5')]},'status':{'type':Sequelize['ENUM'](_0x2c2f('0x6'),_0x2c2f('0x7'),'RECEIVED',_0x2c2f('0x8'))},'url':{'type':Sequelize['STRING']},'app':{'type':Sequelize[_0x2c2f('0x1')]},'appdata':{'type':Sequelize[_0x2c2f('0x1')]},'projectId':{'type':Sequelize[_0x2c2f('0x3')]}}; \ No newline at end of file diff --git a/server/api/integrationReport/integrationReport.controller.js b/server/api/integrationReport/integrationReport.controller.js index 23edf0c..7c8d45e 100644 --- a/server/api/integrationReport/integrationReport.controller.js +++ b/server/api/integrationReport/integrationReport.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xb55d=['create','body','describe','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','mustache','path','to-csv','ejs','lodash','squel','crypto','jsforce','desk.js','querystring','papaparse','ioredis','../../components/parsers/qs','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','status','end','json','offset','limit','set','Content-Range','apply','reject','save','update','then','destroy','sendStatus','stack','name','send','index','map','rawAttributes','fieldName','key','model','query','keys','filters','intersection','fields','attributes','length','hasOwnProperty','nolimit','order','sort','where','pick','filter','VIRTUAL','merge','options','count','includeAll','IntegrationReport','rows','catch','params','include','find'];(function(_0x9cfe28,_0x1a335c){var _0x54a1d0=function(_0x46bc02){while(--_0x46bc02){_0x9cfe28['push'](_0x9cfe28['shift']());}};_0x54a1d0(++_0x1a335c);}(_0xb55d,0x13b));var _0xdb55=function(_0x394ed1,_0x52d439){_0x394ed1=_0x394ed1-0x0;var _0x4c043a=_0xb55d[_0x394ed1];return _0x4c043a;};'use strict';var pdf=require(_0xdb55('0x0'));var emlformat=require(_0xdb55('0x1'));var rimraf=require(_0xdb55('0x2'));var zipdir=require(_0xdb55('0x3'));var jsonpatch=require(_0xdb55('0x4'));var rp=require(_0xdb55('0x5'));var moment=require(_0xdb55('0x6'));var BPromise=require(_0xdb55('0x7'));var Mustache=require(_0xdb55('0x8'));var util=require('util');var path=require(_0xdb55('0x9'));var sox=require('sox');var csv=require(_0xdb55('0xa'));var ejs=require(_0xdb55('0xb'));var fs=require('fs');var _=require(_0xdb55('0xc'));var squel=require(_0xdb55('0xd'));var crypto=require(_0xdb55('0xe'));var jsforce=require(_0xdb55('0xf'));var deskjs=require(_0xdb55('0x10'));var toCsv=require(_0xdb55('0xa'));var querystring=require(_0xdb55('0x11'));var Papa=require(_0xdb55('0x12'));var Redis=require(_0xdb55('0x13'));var authService=require('../../components/auth/service');var qs=require(_0xdb55('0x14'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0xdb55('0x15'));var logger=require(_0xdb55('0x16'))(_0xdb55('0x17'));var utils=require(_0xdb55('0x18'));var config=require(_0xdb55('0x19'));var db=require(_0xdb55('0x1a'))['db'];function respondWithStatusCode(_0x40b2f7,_0xe01441){_0xe01441=_0xe01441||0xcc;return function(_0xeb50d1){if(_0xeb50d1){return _0x40b2f7['sendStatus'](_0xe01441);}return _0x40b2f7[_0xdb55('0x1b')](_0xe01441)[_0xdb55('0x1c')]();};}function respondWithResult(_0x50a43f,_0x5da70a){_0x5da70a=_0x5da70a||0xc8;return function(_0x403def){if(_0x403def){return _0x50a43f[_0xdb55('0x1b')](_0x5da70a)[_0xdb55('0x1d')](_0x403def);}};}function respondWithFilteredResult(_0x4dfc42,_0xb0a7fb){return function(_0x20ff4b){if(_0x20ff4b){var _0x5b4419=_0x20ff4b['count'],_0x1764d1=_0xb0a7fb[_0xdb55('0x1e')],_0x233478=_0xb0a7fb[_0xdb55('0x1e')]+_0xb0a7fb[_0xdb55('0x1f')],_0x580918;if(_0x233478>=_0x5b4419){_0x233478=_0x5b4419;_0x580918=0xc8;}else{_0x580918=0xce;}_0x4dfc42['status'](_0x580918);return _0x4dfc42[_0xdb55('0x20')](_0xdb55('0x21'),_0x1764d1+'-'+_0x233478+'/'+_0x5b4419)[_0xdb55('0x1d')](_0x20ff4b);}return null;};}function patchUpdates(_0x2f619a){return function(_0x13f587){try{jsonpatch[_0xdb55('0x22')](_0x13f587,_0x2f619a,!![]);}catch(_0x46d5fe){return BPromise[_0xdb55('0x23')](_0x46d5fe);}return _0x13f587[_0xdb55('0x24')]();};}function saveUpdates(_0x499d90,_0x3ed776){return function(_0xb6e1fd){if(_0xb6e1fd){return _0xb6e1fd[_0xdb55('0x25')](_0x499d90)[_0xdb55('0x26')](function(_0x4a0add){return _0x4a0add;});}return null;};}function removeEntity(_0x191d72,_0x461d5a){return function(_0x651b5a){if(_0x651b5a){return _0x651b5a[_0xdb55('0x27')]()[_0xdb55('0x26')](function(){_0x191d72[_0xdb55('0x1b')](0xcc)[_0xdb55('0x1c')]();});}};}function handleEntityNotFound(_0xed31ee,_0x4c4513){return function(_0x3cc5be){if(!_0x3cc5be){_0xed31ee[_0xdb55('0x28')](0x194);}return _0x3cc5be;};}function handleError(_0x5c62b0,_0x80c966){_0x80c966=_0x80c966||0x1f4;return function(_0x6740cb){logger['error'](_0x6740cb[_0xdb55('0x29')]);if(_0x6740cb[_0xdb55('0x2a')]){delete _0x6740cb['name'];}_0x5c62b0[_0xdb55('0x1b')](_0x80c966)[_0xdb55('0x2b')](_0x6740cb);};}exports[_0xdb55('0x2c')]=function(_0x865eae,_0x220be7){var _0x3c8c01={},_0x44a172={},_0x3c9449={'count':0x0,'rows':[]};var _0xffbbf4=_[_0xdb55('0x2d')](db['IntegrationReport'][_0xdb55('0x2e')],function(_0x1c1bc7){return{'name':_0x1c1bc7[_0xdb55('0x2f')],'type':_0x1c1bc7['type'][_0xdb55('0x30')]};});_0x44a172[_0xdb55('0x31')]=_['map'](_0xffbbf4,_0xdb55('0x2a'));_0x44a172[_0xdb55('0x32')]=_[_0xdb55('0x33')](_0x865eae[_0xdb55('0x32')]);_0x44a172[_0xdb55('0x34')]=_[_0xdb55('0x35')](_0x44a172['model'],_0x44a172[_0xdb55('0x32')]);_0x3c8c01['attributes']=_['intersection'](_0x44a172[_0xdb55('0x31')],qs[_0xdb55('0x36')](_0x865eae[_0xdb55('0x32')][_0xdb55('0x36')]));_0x3c8c01[_0xdb55('0x37')]=_0x3c8c01['attributes'][_0xdb55('0x38')]?_0x3c8c01['attributes']:_0x44a172['model'];if(!_0x865eae[_0xdb55('0x32')][_0xdb55('0x39')](_0xdb55('0x3a'))){_0x3c8c01[_0xdb55('0x1f')]=qs[_0xdb55('0x1f')](_0x865eae[_0xdb55('0x32')]['limit']);_0x3c8c01[_0xdb55('0x1e')]=qs[_0xdb55('0x1e')](_0x865eae[_0xdb55('0x32')][_0xdb55('0x1e')]);}_0x3c8c01[_0xdb55('0x3b')]=qs[_0xdb55('0x3c')](_0x865eae[_0xdb55('0x32')]['sort']);_0x3c8c01[_0xdb55('0x3d')]=qs[_0xdb55('0x34')](_[_0xdb55('0x3e')](_0x865eae[_0xdb55('0x32')],_0x44a172[_0xdb55('0x34')]),_0xffbbf4);if(_0x865eae[_0xdb55('0x32')][_0xdb55('0x3f')]){_0x3c8c01[_0xdb55('0x3d')]=_['merge'](_0x3c8c01[_0xdb55('0x3d')],{'$or':_[_0xdb55('0x2d')](_0xffbbf4,function(_0x84fc4a){if(_0x84fc4a['type']!==_0xdb55('0x40')){var _0x553f88={};_0x553f88[_0x84fc4a[_0xdb55('0x2a')]]={'$like':'%'+_0x865eae[_0xdb55('0x32')][_0xdb55('0x3f')]+'%'};return _0x553f88;}})});}_0x3c8c01=_[_0xdb55('0x41')]({},_0x3c8c01,_0x865eae[_0xdb55('0x42')]);var _0x29a078={'where':_0x3c8c01[_0xdb55('0x3d')]};return db['IntegrationReport'][_0xdb55('0x43')](_0x29a078)[_0xdb55('0x26')](function(_0x46d9c4){_0x3c9449[_0xdb55('0x43')]=_0x46d9c4;if(_0x865eae[_0xdb55('0x32')][_0xdb55('0x44')]){_0x3c8c01['include']=[{'all':!![]}];}return db[_0xdb55('0x45')]['findAll'](_0x3c8c01);})['then'](function(_0x328b8d){_0x3c9449[_0xdb55('0x46')]=_0x328b8d;return _0x3c9449;})['then'](respondWithFilteredResult(_0x220be7,_0x3c8c01))[_0xdb55('0x47')](handleError(_0x220be7,null));};exports['show']=function(_0x45b917,_0x5a0734){var _0x480a8c={'raw':![],'where':{'id':_0x45b917[_0xdb55('0x48')]['id']}},_0x30a900={};_0x30a900[_0xdb55('0x31')]=_[_0xdb55('0x33')](db[_0xdb55('0x45')][_0xdb55('0x2e')]);_0x30a900['query']=_[_0xdb55('0x33')](_0x45b917[_0xdb55('0x32')]);_0x30a900[_0xdb55('0x34')]=_[_0xdb55('0x35')](_0x30a900['model'],_0x30a900[_0xdb55('0x32')]);_0x480a8c[_0xdb55('0x37')]=_[_0xdb55('0x35')](_0x30a900[_0xdb55('0x31')],qs[_0xdb55('0x36')](_0x45b917[_0xdb55('0x32')][_0xdb55('0x36')]));_0x480a8c['attributes']=_0x480a8c[_0xdb55('0x37')]['length']?_0x480a8c[_0xdb55('0x37')]:_0x30a900[_0xdb55('0x31')];if(_0x45b917[_0xdb55('0x32')][_0xdb55('0x44')]){_0x480a8c[_0xdb55('0x49')]=[{'all':!![]}];}_0x480a8c=_[_0xdb55('0x41')]({},_0x480a8c,_0x45b917[_0xdb55('0x42')]);return db[_0xdb55('0x45')][_0xdb55('0x4a')](_0x480a8c)[_0xdb55('0x26')](handleEntityNotFound(_0x5a0734,null))[_0xdb55('0x26')](respondWithResult(_0x5a0734,null))[_0xdb55('0x47')](handleError(_0x5a0734,null));};exports[_0xdb55('0x4b')]=function(_0x32fa99,_0x4f7f18){return db[_0xdb55('0x45')][_0xdb55('0x4b')](_0x32fa99[_0xdb55('0x4c')],{})[_0xdb55('0x26')](respondWithResult(_0x4f7f18,0xc9))[_0xdb55('0x47')](handleError(_0x4f7f18,null));};exports[_0xdb55('0x25')]=function(_0x5b7c58,_0x1f9eac){if(_0x5b7c58[_0xdb55('0x4c')]['id']){delete _0x5b7c58[_0xdb55('0x4c')]['id'];}return db[_0xdb55('0x45')][_0xdb55('0x4a')]({'where':{'id':_0x5b7c58[_0xdb55('0x48')]['id']}})['then'](handleEntityNotFound(_0x1f9eac,null))[_0xdb55('0x26')](saveUpdates(_0x5b7c58['body'],null))[_0xdb55('0x26')](respondWithResult(_0x1f9eac,null))[_0xdb55('0x47')](handleError(_0x1f9eac,null));};exports[_0xdb55('0x27')]=function(_0x25e152,_0x5dcd3e){return db[_0xdb55('0x45')][_0xdb55('0x4a')]({'where':{'id':_0x25e152[_0xdb55('0x48')]['id']}})['then'](handleEntityNotFound(_0x5dcd3e,null))['then'](removeEntity(_0x5dcd3e,null))['catch'](handleError(_0x5dcd3e,null));};exports[_0xdb55('0x4d')]=function(_0x267506,_0x2d9973){return db[_0xdb55('0x45')][_0xdb55('0x4d')]()[_0xdb55('0x26')](respondWithResult(_0x2d9973,null))[_0xdb55('0x47')](handleError(_0x2d9973,null));}; \ No newline at end of file +var _0x4113=['name','send','index','map','IntegrationReport','rawAttributes','model','query','keys','filters','intersection','attributes','fields','hasOwnProperty','nolimit','limit','order','sort','where','pick','filter','merge','type','VIRTUAL','options','includeAll','findAll','rows','catch','show','params','include','find','body','destroy','describe','html-pdf','eml-format','rimraf','fast-json-patch','request-promise','moment','bluebird','mustache','path','sox','to-csv','lodash','squel','crypto','jsforce','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','sendStatus','end','json','count','offset','status','set','reject','save','update','then'];(function(_0x43f937,_0x41cb3d){var _0x493d1b=function(_0x13d494){while(--_0x13d494){_0x43f937['push'](_0x43f937['shift']());}};_0x493d1b(++_0x41cb3d);}(_0x4113,0x148));var _0x3411=function(_0x46ca71,_0x3d167b){_0x46ca71=_0x46ca71-0x0;var _0x2aad18=_0x4113[_0x46ca71];return _0x2aad18;};'use strict';var pdf=require(_0x3411('0x0'));var emlformat=require(_0x3411('0x1'));var rimraf=require(_0x3411('0x2'));var zipdir=require('zip-dir');var jsonpatch=require(_0x3411('0x3'));var rp=require(_0x3411('0x4'));var moment=require(_0x3411('0x5'));var BPromise=require(_0x3411('0x6'));var Mustache=require(_0x3411('0x7'));var util=require('util');var path=require(_0x3411('0x8'));var sox=require(_0x3411('0x9'));var csv=require(_0x3411('0xa'));var ejs=require('ejs');var fs=require('fs');var _=require(_0x3411('0xb'));var squel=require(_0x3411('0xc'));var crypto=require(_0x3411('0xd'));var jsforce=require(_0x3411('0xe'));var deskjs=require(_0x3411('0xf'));var toCsv=require('to-csv');var querystring=require(_0x3411('0x10'));var Papa=require(_0x3411('0x11'));var Redis=require(_0x3411('0x12'));var authService=require(_0x3411('0x13'));var qs=require(_0x3411('0x14'));var as=require(_0x3411('0x15'));var hardwareService=require(_0x3411('0x16'));var logger=require(_0x3411('0x17'))(_0x3411('0x18'));var utils=require(_0x3411('0x19'));var config=require('../../config/environment');var db=require('../../mysqldb')['db'];function respondWithStatusCode(_0x26c9f9,_0x292009){_0x292009=_0x292009||0xcc;return function(_0x578c0d){if(_0x578c0d){return _0x26c9f9[_0x3411('0x1a')](_0x292009);}return _0x26c9f9['status'](_0x292009)[_0x3411('0x1b')]();};}function respondWithResult(_0x403d12,_0x58a644){_0x58a644=_0x58a644||0xc8;return function(_0x448267){if(_0x448267){return _0x403d12['status'](_0x58a644)[_0x3411('0x1c')](_0x448267);}};}function respondWithFilteredResult(_0x13a8d9,_0x16014e){return function(_0x25f557){if(_0x25f557){var _0x137717=_0x25f557[_0x3411('0x1d')],_0x2ed0aa=_0x16014e[_0x3411('0x1e')],_0x12082b=_0x16014e[_0x3411('0x1e')]+_0x16014e['limit'],_0x31c3ed;if(_0x12082b>=_0x137717){_0x12082b=_0x137717;_0x31c3ed=0xc8;}else{_0x31c3ed=0xce;}_0x13a8d9[_0x3411('0x1f')](_0x31c3ed);return _0x13a8d9[_0x3411('0x20')]('Content-Range',_0x2ed0aa+'-'+_0x12082b+'/'+_0x137717)[_0x3411('0x1c')](_0x25f557);}return null;};}function patchUpdates(_0x1c796d){return function(_0x37a4dd){try{jsonpatch['apply'](_0x37a4dd,_0x1c796d,!![]);}catch(_0x5b2817){return BPromise[_0x3411('0x21')](_0x5b2817);}return _0x37a4dd[_0x3411('0x22')]();};}function saveUpdates(_0x27ce3e,_0x272334){return function(_0x47542b){if(_0x47542b){return _0x47542b[_0x3411('0x23')](_0x27ce3e)[_0x3411('0x24')](function(_0x1c8411){return _0x1c8411;});}return null;};}function removeEntity(_0x2b4de7,_0xd50b51){return function(_0x36ccb8){if(_0x36ccb8){return _0x36ccb8['destroy']()[_0x3411('0x24')](function(){_0x2b4de7[_0x3411('0x1f')](0xcc)[_0x3411('0x1b')]();});}};}function handleEntityNotFound(_0x5d795d,_0x37c15c){return function(_0x165af4){if(!_0x165af4){_0x5d795d[_0x3411('0x1a')](0x194);}return _0x165af4;};}function handleError(_0x1d5232,_0x56ba81){_0x56ba81=_0x56ba81||0x1f4;return function(_0x333258){logger['error'](_0x333258['stack']);if(_0x333258['name']){delete _0x333258[_0x3411('0x25')];}_0x1d5232[_0x3411('0x1f')](_0x56ba81)[_0x3411('0x26')](_0x333258);};}exports[_0x3411('0x27')]=function(_0x35ea03,_0x569758){var _0x12a7d7={},_0x32a2c0={},_0x5c1edc={'count':0x0,'rows':[]};var _0x1566cc=_[_0x3411('0x28')](db[_0x3411('0x29')][_0x3411('0x2a')],function(_0x23a4fd){return{'name':_0x23a4fd['fieldName'],'type':_0x23a4fd['type']['key']};});_0x32a2c0[_0x3411('0x2b')]=_['map'](_0x1566cc,_0x3411('0x25'));_0x32a2c0[_0x3411('0x2c')]=_[_0x3411('0x2d')](_0x35ea03[_0x3411('0x2c')]);_0x32a2c0[_0x3411('0x2e')]=_[_0x3411('0x2f')](_0x32a2c0[_0x3411('0x2b')],_0x32a2c0[_0x3411('0x2c')]);_0x12a7d7[_0x3411('0x30')]=_[_0x3411('0x2f')](_0x32a2c0[_0x3411('0x2b')],qs['fields'](_0x35ea03[_0x3411('0x2c')][_0x3411('0x31')]));_0x12a7d7['attributes']=_0x12a7d7[_0x3411('0x30')]['length']?_0x12a7d7['attributes']:_0x32a2c0[_0x3411('0x2b')];if(!_0x35ea03['query'][_0x3411('0x32')](_0x3411('0x33'))){_0x12a7d7[_0x3411('0x34')]=qs[_0x3411('0x34')](_0x35ea03[_0x3411('0x2c')][_0x3411('0x34')]);_0x12a7d7[_0x3411('0x1e')]=qs['offset'](_0x35ea03['query']['offset']);}_0x12a7d7[_0x3411('0x35')]=qs[_0x3411('0x36')](_0x35ea03[_0x3411('0x2c')][_0x3411('0x36')]);_0x12a7d7[_0x3411('0x37')]=qs[_0x3411('0x2e')](_[_0x3411('0x38')](_0x35ea03['query'],_0x32a2c0[_0x3411('0x2e')]),_0x1566cc);if(_0x35ea03['query'][_0x3411('0x39')]){_0x12a7d7[_0x3411('0x37')]=_[_0x3411('0x3a')](_0x12a7d7[_0x3411('0x37')],{'$or':_['map'](_0x1566cc,function(_0x4d8b37){if(_0x4d8b37[_0x3411('0x3b')]!==_0x3411('0x3c')){var _0x54067a={};_0x54067a[_0x4d8b37[_0x3411('0x25')]]={'$like':'%'+_0x35ea03[_0x3411('0x2c')][_0x3411('0x39')]+'%'};return _0x54067a;}})});}_0x12a7d7=_[_0x3411('0x3a')]({},_0x12a7d7,_0x35ea03[_0x3411('0x3d')]);var _0x34a36c={'where':_0x12a7d7[_0x3411('0x37')]};return db['IntegrationReport'][_0x3411('0x1d')](_0x34a36c)[_0x3411('0x24')](function(_0x20c8cf){_0x5c1edc[_0x3411('0x1d')]=_0x20c8cf;if(_0x35ea03[_0x3411('0x2c')][_0x3411('0x3e')]){_0x12a7d7['include']=[{'all':!![]}];}return db[_0x3411('0x29')][_0x3411('0x3f')](_0x12a7d7);})['then'](function(_0x56f6d1){_0x5c1edc[_0x3411('0x40')]=_0x56f6d1;return _0x5c1edc;})[_0x3411('0x24')](respondWithFilteredResult(_0x569758,_0x12a7d7))[_0x3411('0x41')](handleError(_0x569758,null));};exports[_0x3411('0x42')]=function(_0x48fde7,_0x28a7e3){var _0x34cd45={'raw':![],'where':{'id':_0x48fde7[_0x3411('0x43')]['id']}},_0x33d840={};_0x33d840[_0x3411('0x2b')]=_[_0x3411('0x2d')](db[_0x3411('0x29')][_0x3411('0x2a')]);_0x33d840[_0x3411('0x2c')]=_[_0x3411('0x2d')](_0x48fde7['query']);_0x33d840[_0x3411('0x2e')]=_['intersection'](_0x33d840[_0x3411('0x2b')],_0x33d840[_0x3411('0x2c')]);_0x34cd45[_0x3411('0x30')]=_[_0x3411('0x2f')](_0x33d840['model'],qs[_0x3411('0x31')](_0x48fde7['query'][_0x3411('0x31')]));_0x34cd45[_0x3411('0x30')]=_0x34cd45[_0x3411('0x30')]['length']?_0x34cd45[_0x3411('0x30')]:_0x33d840[_0x3411('0x2b')];if(_0x48fde7[_0x3411('0x2c')]['includeAll']){_0x34cd45[_0x3411('0x44')]=[{'all':!![]}];}_0x34cd45=_[_0x3411('0x3a')]({},_0x34cd45,_0x48fde7[_0x3411('0x3d')]);return db[_0x3411('0x29')][_0x3411('0x45')](_0x34cd45)['then'](handleEntityNotFound(_0x28a7e3,null))[_0x3411('0x24')](respondWithResult(_0x28a7e3,null))['catch'](handleError(_0x28a7e3,null));};exports['create']=function(_0x489c88,_0x31f0ad){return db[_0x3411('0x29')]['create'](_0x489c88['body'],{})[_0x3411('0x24')](respondWithResult(_0x31f0ad,0xc9))[_0x3411('0x41')](handleError(_0x31f0ad,null));};exports[_0x3411('0x23')]=function(_0x2672f5,_0x4433bd){if(_0x2672f5[_0x3411('0x46')]['id']){delete _0x2672f5[_0x3411('0x46')]['id'];}return db[_0x3411('0x29')]['find']({'where':{'id':_0x2672f5[_0x3411('0x43')]['id']}})[_0x3411('0x24')](handleEntityNotFound(_0x4433bd,null))['then'](saveUpdates(_0x2672f5[_0x3411('0x46')],null))[_0x3411('0x24')](respondWithResult(_0x4433bd,null))['catch'](handleError(_0x4433bd,null));};exports[_0x3411('0x47')]=function(_0x2debd8,_0x2e9fc9){return db['IntegrationReport'][_0x3411('0x45')]({'where':{'id':_0x2debd8['params']['id']}})[_0x3411('0x24')](handleEntityNotFound(_0x2e9fc9,null))[_0x3411('0x24')](removeEntity(_0x2e9fc9,null))[_0x3411('0x41')](handleError(_0x2e9fc9,null));};exports['describe']=function(_0xd7b8ac,_0x2fe12a){return db['IntegrationReport'][_0x3411('0x48')]()[_0x3411('0x24')](respondWithResult(_0x2fe12a,null))[_0x3411('0x41')](handleError(_0x2fe12a,null));}; \ No newline at end of file diff --git a/server/api/integrationReport/integrationReport.model.js b/server/api/integrationReport/integrationReport.model.js index b9733ea..152cd79 100644 --- a/server/api/integrationReport/integrationReport.model.js +++ b/server/api/integrationReport/integrationReport.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xdcc2=['rimraf','../../config/environment','IntegrationReport','report_integration','lodash','util','../../config/logger','api','request-promise','path'];(function(_0x535b22,_0x1cf2db){var _0x388014=function(_0x2c3e57){while(--_0x2c3e57){_0x535b22['push'](_0x535b22['shift']());}};_0x388014(++_0x1cf2db);}(_0xdcc2,0x158));var _0x2dcc=function(_0x25a055,_0x173511){_0x25a055=_0x25a055-0x0;var _0x2295f9=_0xdcc2[_0x25a055];return _0x2295f9;};'use strict';var _=require(_0x2dcc('0x0'));var util=require(_0x2dcc('0x1'));var logger=require(_0x2dcc('0x2'))(_0x2dcc('0x3'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x2dcc('0x4'));var fs=require('fs');var path=require(_0x2dcc('0x5'));var rimraf=require(_0x2dcc('0x6'));var config=require(_0x2dcc('0x7'));var attributes=require('./integrationReport.attributes');module['exports']=function(_0x4b0b82,_0x29f7eb){return _0x4b0b82['define'](_0x2dcc('0x8'),attributes,{'tableName':_0x2dcc('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0x3560=['../../config/environment','exports','define','IntegrationReport','report_integration','../../config/logger','api','moment','bluebird','path','rimraf'];(function(_0xbd08b4,_0x4790ed){var _0x314f1e=function(_0x161589){while(--_0x161589){_0xbd08b4['push'](_0xbd08b4['shift']());}};_0x314f1e(++_0x4790ed);}(_0x3560,0x1d3));var _0x0356=function(_0x4be3ec,_0x218441){_0x4be3ec=_0x4be3ec-0x0;var _0x44b79f=_0x3560[_0x4be3ec];return _0x44b79f;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x0356('0x0'))(_0x0356('0x1'));var moment=require(_0x0356('0x2'));var BPromise=require(_0x0356('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x0356('0x4'));var rimraf=require(_0x0356('0x5'));var config=require(_0x0356('0x6'));var attributes=require('./integrationReport.attributes');module[_0x0356('0x7')]=function(_0x17164f,_0x2facc8){return _0x17164f[_0x0356('0x8')](_0x0356('0x9'),attributes,{'tableName':_0x0356('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/integrationReport/integrationReport.rpc.js b/server/api/integrationReport/integrationReport.rpc.js index 813bea9..1f9c061 100644 --- a/server/api/integrationReport/integrationReport.rpc.js +++ b/server/api/integrationReport/integrationReport.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xb7e7=['IntegrationReport,\x20%s,\x20%s','debug','IntegrationReport,\x20%s,\x20%s,\x20%s','request\x20sent','stringify','error','code','message','catch','lodash','moment','randomstring','../../mysqldb','../../config/logger','rpc','../../config/environment','http','request','then','info'];(function(_0x126239,_0x2fd479){var _0x46b2d9=function(_0x24826a){while(--_0x24826a){_0x126239['push'](_0x126239['shift']());}};_0x46b2d9(++_0x2fd479);}(_0xb7e7,0x121));var _0x7b7e=function(_0x432fca,_0xb0b1b5){_0x432fca=_0x432fca-0x0;var _0x3adba4=_0xb7e7[_0x432fca];return _0x3adba4;};'use strict';var _=require(_0x7b7e('0x0'));var util=require('util');var moment=require(_0x7b7e('0x1'));var BPromise=require('bluebird');var rs=require(_0x7b7e('0x2'));var fs=require('fs');var Redis=require('ioredis');var db=require(_0x7b7e('0x3'))['db'];var utils=require('../../config/utils');var logger=require(_0x7b7e('0x4'))(_0x7b7e('0x5'));var config=require(_0x7b7e('0x6'));var jayson=require('jayson/promise');var client=jayson['client'][_0x7b7e('0x7')]({'port':0x232a});function respondWithRpcPromise(_0x372bde,_0x7f87e0,_0x55ce81){return new BPromise(function(_0x42b871,_0x223587){return client[_0x7b7e('0x8')](_0x372bde,_0x55ce81)[_0x7b7e('0x9')](function(_0x148964){logger[_0x7b7e('0xa')](_0x7b7e('0xb'),_0x7f87e0,'request\x20sent');logger[_0x7b7e('0xc')](_0x7b7e('0xd'),_0x7f87e0,_0x7b7e('0xe'),JSON[_0x7b7e('0xf')](_0x148964));if(_0x148964[_0x7b7e('0x10')]){if(_0x148964[_0x7b7e('0x10')][_0x7b7e('0x11')]===0x1f4){logger[_0x7b7e('0x10')](_0x7b7e('0xb'),_0x7f87e0,_0x148964['error'][_0x7b7e('0x12')]);return _0x223587(_0x148964[_0x7b7e('0x10')]['message']);}logger[_0x7b7e('0x10')]('IntegrationReport,\x20%s,\x20%s',_0x7f87e0,_0x148964['error'][_0x7b7e('0x12')]);return _0x42b871(_0x148964[_0x7b7e('0x10')][_0x7b7e('0x12')]);}else{logger[_0x7b7e('0xa')](_0x7b7e('0xb'),_0x7f87e0,'request\x20sent');_0x42b871(_0x148964['result'][_0x7b7e('0x12')]);}})[_0x7b7e('0x13')](function(_0x27f999){logger[_0x7b7e('0x10')](_0x7b7e('0xb'),_0x7f87e0,_0x27f999);_0x223587(_0x27f999);});});} \ No newline at end of file +var _0xac4a=['IntegrationReport,\x20%s,\x20%s','message','result','catch','lodash','util','moment','bluebird','randomstring','ioredis','../../config/logger','rpc','../../config/environment','client','then','info','debug','IntegrationReport,\x20%s,\x20%s,\x20%s','request\x20sent','stringify','error'];(function(_0x1ac595,_0x5d2081){var _0x455fff=function(_0x3043ee){while(--_0x3043ee){_0x1ac595['push'](_0x1ac595['shift']());}};_0x455fff(++_0x5d2081);}(_0xac4a,0x13f));var _0xaac4=function(_0x480bd9,_0x4f2c0d){_0x480bd9=_0x480bd9-0x0;var _0x1c9ecf=_0xac4a[_0x480bd9];return _0x1c9ecf;};'use strict';var _=require(_0xaac4('0x0'));var util=require(_0xaac4('0x1'));var moment=require(_0xaac4('0x2'));var BPromise=require(_0xaac4('0x3'));var rs=require(_0xaac4('0x4'));var fs=require('fs');var Redis=require(_0xaac4('0x5'));var db=require('../../mysqldb')['db'];var utils=require('../../config/utils');var logger=require(_0xaac4('0x6'))(_0xaac4('0x7'));var config=require(_0xaac4('0x8'));var jayson=require('jayson/promise');var client=jayson[_0xaac4('0x9')]['http']({'port':0x232a});function respondWithRpcPromise(_0x1cdfc5,_0x5870e8,_0x1e4283){return new BPromise(function(_0x27354c,_0x567295){return client['request'](_0x1cdfc5,_0x1e4283)[_0xaac4('0xa')](function(_0x50d114){logger[_0xaac4('0xb')]('IntegrationReport,\x20%s,\x20%s',_0x5870e8,'request\x20sent');logger[_0xaac4('0xc')](_0xaac4('0xd'),_0x5870e8,_0xaac4('0xe'),JSON[_0xaac4('0xf')](_0x50d114));if(_0x50d114[_0xaac4('0x10')]){if(_0x50d114['error']['code']===0x1f4){logger[_0xaac4('0x10')](_0xaac4('0x11'),_0x5870e8,_0x50d114[_0xaac4('0x10')]['message']);return _0x567295(_0x50d114[_0xaac4('0x10')][_0xaac4('0x12')]);}logger['error'](_0xaac4('0x11'),_0x5870e8,_0x50d114[_0xaac4('0x10')][_0xaac4('0x12')]);return _0x27354c(_0x50d114[_0xaac4('0x10')][_0xaac4('0x12')]);}else{logger[_0xaac4('0xb')](_0xaac4('0x11'),_0x5870e8,_0xaac4('0xe'));_0x27354c(_0x50d114[_0xaac4('0x13')][_0xaac4('0x12')]);}})[_0xaac4('0x14')](function(_0x1766c2){logger[_0xaac4('0x10')]('IntegrationReport,\x20%s,\x20%s',_0x5870e8,_0x1766c2);_0x567295(_0x1766c2);});});} \ No newline at end of file diff --git a/server/api/interval/index.js b/server/api/interval/index.js index a33026b..9c0a648 100644 --- a/server/api/interval/index.js +++ b/server/api/interval/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x9c44=['../../components/auth/service','../../components/interaction/service','get','index','/:id','isAuthenticated','show','/:id/sub_intervals','getIntervals','post','addInterval','addIntervals','put','update','destroy','exports','path','connect-timeout','express','Router'];(function(_0x1b33b4,_0x45f9d9){var _0x12a6dd=function(_0x32793d){while(--_0x32793d){_0x1b33b4['push'](_0x1b33b4['shift']());}};_0x12a6dd(++_0x45f9d9);}(_0x9c44,0x178));var _0x49c4=function(_0x1969a7,_0x5a133a){_0x1969a7=_0x1969a7-0x0;var _0x3d665f=_0x9c44[_0x1969a7];return _0x3d665f;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x49c4('0x0'));var timeout=require(_0x49c4('0x1'));var express=require(_0x49c4('0x2'));var router=express[_0x49c4('0x3')]();var auth=require(_0x49c4('0x4'));var interaction=require(_0x49c4('0x5'));var config=require('../../config/environment');var controller=require('./interval.controller');router[_0x49c4('0x6')]('/',auth['isAuthenticated'](),controller[_0x49c4('0x7')]);router[_0x49c4('0x6')](_0x49c4('0x8'),auth[_0x49c4('0x9')](),controller[_0x49c4('0xa')]);router['get'](_0x49c4('0xb'),auth[_0x49c4('0x9')](),controller[_0x49c4('0xc')]);router[_0x49c4('0xd')]('/',auth['isAuthenticated'](),controller['create']);router[_0x49c4('0xd')](_0x49c4('0xb'),auth['isAuthenticated'](),controller[_0x49c4('0xe')]);router[_0x49c4('0xd')]('/:id/sub_intervals/create_many',auth['isAuthenticated'](),controller[_0x49c4('0xf')]);router[_0x49c4('0x10')]('/:id',auth[_0x49c4('0x9')](),controller[_0x49c4('0x11')]);router['delete'](_0x49c4('0x8'),auth[_0x49c4('0x9')](),controller[_0x49c4('0x12')]);module[_0x49c4('0x13')]=router; \ No newline at end of file +var _0x9957=['../../config/environment','get','isAuthenticated','index','/:id','/:id/sub_intervals','getIntervals','post','create','/:id/sub_intervals/create_many','addIntervals','put','update','delete','exports','multer','util','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service'];(function(_0x17d9e3,_0x1f969c){var _0x14192d=function(_0x159745){while(--_0x159745){_0x17d9e3['push'](_0x17d9e3['shift']());}};_0x14192d(++_0x1f969c);}(_0x9957,0x93));var _0x7995=function(_0x501510,_0x61caa9){_0x501510=_0x501510-0x0;var _0x1e6ee5=_0x9957[_0x501510];return _0x1e6ee5;};'use strict';var multer=require(_0x7995('0x0'));var util=require(_0x7995('0x1'));var path=require(_0x7995('0x2'));var timeout=require(_0x7995('0x3'));var express=require('express');var router=express[_0x7995('0x4')]();var auth=require(_0x7995('0x5'));var interaction=require(_0x7995('0x6'));var config=require(_0x7995('0x7'));var controller=require('./interval.controller');router[_0x7995('0x8')]('/',auth[_0x7995('0x9')](),controller[_0x7995('0xa')]);router[_0x7995('0x8')](_0x7995('0xb'),auth[_0x7995('0x9')](),controller['show']);router[_0x7995('0x8')](_0x7995('0xc'),auth['isAuthenticated'](),controller[_0x7995('0xd')]);router[_0x7995('0xe')]('/',auth[_0x7995('0x9')](),controller[_0x7995('0xf')]);router[_0x7995('0xe')](_0x7995('0xc'),auth[_0x7995('0x9')](),controller['addInterval']);router[_0x7995('0xe')](_0x7995('0x10'),auth['isAuthenticated'](),controller[_0x7995('0x11')]);router[_0x7995('0x12')](_0x7995('0xb'),auth[_0x7995('0x9')](),controller[_0x7995('0x13')]);router[_0x7995('0x14')](_0x7995('0xb'),auth['isAuthenticated'](),controller['destroy']);module[_0x7995('0x15')]=router; \ No newline at end of file diff --git a/server/api/interval/interval.attributes.js b/server/api/interval/interval.attributes.js index 36ac736..795646d 100644 --- a/server/api/interval/interval.attributes.js +++ b/server/api/interval/interval.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x2905=['STRING','exports'];(function(_0x1caf89,_0x515433){var _0x3ce2f6=function(_0x1c74da){while(--_0x1c74da){_0x1caf89['push'](_0x1caf89['shift']());}};_0x3ce2f6(++_0x515433);}(_0x2905,0x1d1));var _0x5290=function(_0x19e35c,_0x29cd1e){_0x19e35c=_0x19e35c-0x0;var _0x3e1fe8=_0x2905[_0x19e35c];return _0x3e1fe8;};'use strict';var Sequelize=require('sequelize');module[_0x5290('0x0')]={'name':{'type':Sequelize[_0x5290('0x1')]},'description':{'type':Sequelize[_0x5290('0x1')]},'interval':{'type':Sequelize[_0x5290('0x1')],'allowNull':!![]}}; \ No newline at end of file +var _0x1345=['STRING','sequelize','exports'];(function(_0x21aa5b,_0x2c808f){var _0x2ca4c8=function(_0x5819e5){while(--_0x5819e5){_0x21aa5b['push'](_0x21aa5b['shift']());}};_0x2ca4c8(++_0x2c808f);}(_0x1345,0xdf));var _0x5134=function(_0x49c008,_0x15dfd1){_0x49c008=_0x49c008-0x0;var _0x2626e4=_0x1345[_0x49c008];return _0x2626e4;};'use strict';var Sequelize=require(_0x5134('0x0'));module[_0x5134('0x1')]={'name':{'type':Sequelize[_0x5134('0x2')]},'description':{'type':Sequelize[_0x5134('0x2')]},'interval':{'type':Sequelize[_0x5134('0x2')],'allowNull':!![]}}; \ No newline at end of file diff --git a/server/api/interval/interval.controller.js b/server/api/interval/interval.controller.js index 1a5024b..98ef01a 100644 --- a/server/api/interval/interval.controller.js +++ b/server/api/interval/interval.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x743c=['../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','../../components/extensions/rewrite','status','json','count','offset','limit','set','apply','save','update','then','destroy','Intervals','UserProfileResource','end','error','name','Interval','fieldName','type','map','keys','query','filters','intersection','model','fields','attributes','length','hasOwnProperty','nolimit','order','sort','where','pick','filter','merge','VIRTUAL','includeAll','rows','catch','show','params','options','find','create','body','user','get','Unable\x20to\x20retrieve\x20the\x20current\x20user','role','UserProfileSection','userProfileId','autoAssociation','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','addInterval','IntervalId','findOne','rawAttributes','getIntervals','addIntervals','sequelize','transaction','bulkCreate','findAll','eml-format','zip-dir','fast-json-patch','request-promise','moment','bluebird','mustache','util','path','to-csv','ejs','lodash','squel','crypto','jsforce','desk.js','querystring','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware'];(function(_0x104e21,_0x2ea86f){var _0x605b37=function(_0x580fce){while(--_0x580fce){_0x104e21['push'](_0x104e21['shift']());}};_0x605b37(++_0x2ea86f);}(_0x743c,0xfc));var _0xc743=function(_0xefef6f,_0x5f9f66){_0xefef6f=_0xefef6f-0x0;var _0x454173=_0x743c[_0xefef6f];return _0x454173;};'use strict';var pdf=require('html-pdf');var emlformat=require(_0xc743('0x0'));var rimraf=require('rimraf');var zipdir=require(_0xc743('0x1'));var jsonpatch=require(_0xc743('0x2'));var rp=require(_0xc743('0x3'));var moment=require(_0xc743('0x4'));var BPromise=require(_0xc743('0x5'));var Mustache=require(_0xc743('0x6'));var util=require(_0xc743('0x7'));var path=require(_0xc743('0x8'));var sox=require('sox');var csv=require(_0xc743('0x9'));var ejs=require(_0xc743('0xa'));var fs=require('fs');var _=require(_0xc743('0xb'));var squel=require(_0xc743('0xc'));var crypto=require(_0xc743('0xd'));var jsforce=require(_0xc743('0xe'));var deskjs=require(_0xc743('0xf'));var toCsv=require(_0xc743('0x9'));var querystring=require(_0xc743('0x10'));var Papa=require('papaparse');var Redis=require('ioredis');var authService=require(_0xc743('0x11'));var qs=require(_0xc743('0x12'));var as=require(_0xc743('0x13'));var hardwareService=require(_0xc743('0x14'));var logger=require(_0xc743('0x15'))(_0xc743('0x16'));var utils=require(_0xc743('0x17'));var config=require(_0xc743('0x18'));var db=require(_0xc743('0x19'))['db'];var extensions=require(_0xc743('0x1a'));function respondWithStatusCode(_0x5757d1,_0x130dfc){_0x130dfc=_0x130dfc||0xcc;return function(_0x55b53c){if(_0x55b53c){return _0x5757d1['sendStatus'](_0x130dfc);}return _0x5757d1[_0xc743('0x1b')](_0x130dfc)['end']();};}function respondWithResult(_0x4d5de6,_0x3df9f7){_0x3df9f7=_0x3df9f7||0xc8;return function(_0x397083){if(_0x397083){return _0x4d5de6[_0xc743('0x1b')](_0x3df9f7)[_0xc743('0x1c')](_0x397083);}};}function respondWithFilteredResult(_0x26faad,_0x39bef1){return function(_0x219512){if(_0x219512){var _0x51e173=_0x219512[_0xc743('0x1d')],_0x334992=_0x39bef1['offset'],_0x41c054=_0x39bef1[_0xc743('0x1e')]+_0x39bef1[_0xc743('0x1f')],_0x5371d;if(_0x41c054>=_0x51e173){_0x41c054=_0x51e173;_0x5371d=0xc8;}else{_0x5371d=0xce;}_0x26faad[_0xc743('0x1b')](_0x5371d);return _0x26faad[_0xc743('0x20')]('Content-Range',_0x334992+'-'+_0x41c054+'/'+_0x51e173)['json'](_0x219512);}return null;};}function patchUpdates(_0x3cf106){return function(_0x4c5f9a){try{jsonpatch[_0xc743('0x21')](_0x4c5f9a,_0x3cf106,!![]);}catch(_0x251c97){return BPromise['reject'](_0x251c97);}return _0x4c5f9a[_0xc743('0x22')]();};}function saveUpdates(_0x1c4386,_0x45aa34){return function(_0x270473){if(_0x270473){return _0x270473[_0xc743('0x23')](_0x1c4386)[_0xc743('0x24')](function(_0x5654ec){return _0x5654ec;});}return null;};}function removeEntity(_0xe2673f,_0x64c38){return function(_0x3764ce){if(_0x3764ce){return _0x3764ce[_0xc743('0x25')]()[_0xc743('0x24')](function(){var _0x6c1013=_0x3764ce['get']({'plain':!![]});var _0x24ed3b=_0xc743('0x26');return db[_0xc743('0x27')][_0xc743('0x25')]({'where':{'type':_0x24ed3b,'resourceId':_0x6c1013['id']}})[_0xc743('0x24')](function(){return _0x3764ce;});})[_0xc743('0x24')](function(){_0xe2673f[_0xc743('0x1b')](0xcc)[_0xc743('0x28')]();});}};}function handleEntityNotFound(_0x3dbf45,_0x1650e8){return function(_0xc8c2de){if(!_0xc8c2de){_0x3dbf45['sendStatus'](0x194);}return _0xc8c2de;};}function handleError(_0x597839,_0x52eb85){_0x52eb85=_0x52eb85||0x1f4;return function(_0xef9243){logger[_0xc743('0x29')](_0xef9243['stack']);if(_0xef9243[_0xc743('0x2a')]){delete _0xef9243[_0xc743('0x2a')];}_0x597839[_0xc743('0x1b')](_0x52eb85)['send'](_0xef9243);};}exports['index']=function(_0x418030,_0x5975aa){var _0x5b880e={},_0x2c65af={},_0x47c548={'count':0x0,'rows':[]};var _0x21ebde=_['map'](db[_0xc743('0x2b')]['rawAttributes'],function(_0x1e696d){return{'name':_0x1e696d[_0xc743('0x2c')],'type':_0x1e696d[_0xc743('0x2d')]['key']};});_0x2c65af['model']=_[_0xc743('0x2e')](_0x21ebde,_0xc743('0x2a'));_0x2c65af['query']=_[_0xc743('0x2f')](_0x418030[_0xc743('0x30')]);_0x2c65af[_0xc743('0x31')]=_[_0xc743('0x32')](_0x2c65af[_0xc743('0x33')],_0x2c65af[_0xc743('0x30')]);_0x5b880e['attributes']=_[_0xc743('0x32')](_0x2c65af[_0xc743('0x33')],qs['fields'](_0x418030[_0xc743('0x30')][_0xc743('0x34')]));_0x5b880e[_0xc743('0x35')]=_0x5b880e[_0xc743('0x35')][_0xc743('0x36')]?_0x5b880e[_0xc743('0x35')]:_0x2c65af[_0xc743('0x33')];if(!_0x418030['query'][_0xc743('0x37')](_0xc743('0x38'))){_0x5b880e['limit']=qs['limit'](_0x418030[_0xc743('0x30')]['limit']);_0x5b880e['offset']=qs[_0xc743('0x1e')](_0x418030['query'][_0xc743('0x1e')]);}_0x5b880e[_0xc743('0x39')]=qs[_0xc743('0x3a')](_0x418030[_0xc743('0x30')][_0xc743('0x3a')]);_0x5b880e[_0xc743('0x3b')]=qs[_0xc743('0x31')](_[_0xc743('0x3c')](_0x418030[_0xc743('0x30')],_0x2c65af[_0xc743('0x31')]),_0x21ebde);if(_0x418030[_0xc743('0x30')][_0xc743('0x3d')]){_0x5b880e['where']=_[_0xc743('0x3e')](_0x5b880e['where'],{'$or':_[_0xc743('0x2e')](_0x21ebde,function(_0x2b3ea5){if(_0x2b3ea5[_0xc743('0x2d')]!==_0xc743('0x3f')){var _0x4df8a6={};_0x4df8a6[_0x2b3ea5[_0xc743('0x2a')]]={'$like':'%'+_0x418030[_0xc743('0x30')][_0xc743('0x3d')]+'%'};return _0x4df8a6;}})});}_0x5b880e=_['merge']({},_0x5b880e,_0x418030['options']);var _0x486ee2={'where':_0x5b880e['where']};return db['Interval']['count'](_0x486ee2)[_0xc743('0x24')](function(_0x476ec){_0x47c548[_0xc743('0x1d')]=_0x476ec;if(_0x418030[_0xc743('0x30')][_0xc743('0x40')]){_0x5b880e['include']=[{'all':!![]}];}return db[_0xc743('0x2b')]['findAll'](_0x5b880e);})[_0xc743('0x24')](function(_0x1aa7d5){_0x47c548[_0xc743('0x41')]=_0x1aa7d5;return _0x47c548;})[_0xc743('0x24')](respondWithFilteredResult(_0x5975aa,_0x5b880e))[_0xc743('0x42')](handleError(_0x5975aa,null));};exports[_0xc743('0x43')]=function(_0x45fca4,_0x3a999c){var _0x25e49d={'raw':!![],'where':{'id':_0x45fca4[_0xc743('0x44')]['id']}},_0x26da46={};_0x26da46[_0xc743('0x33')]=_[_0xc743('0x2f')](db[_0xc743('0x2b')]['rawAttributes']);_0x26da46[_0xc743('0x30')]=_[_0xc743('0x2f')](_0x45fca4[_0xc743('0x30')]);_0x26da46[_0xc743('0x31')]=_[_0xc743('0x32')](_0x26da46[_0xc743('0x33')],_0x26da46[_0xc743('0x30')]);_0x25e49d['attributes']=_['intersection'](_0x26da46['model'],qs[_0xc743('0x34')](_0x45fca4['query'][_0xc743('0x34')]));_0x25e49d[_0xc743('0x35')]=_0x25e49d[_0xc743('0x35')]['length']?_0x25e49d[_0xc743('0x35')]:_0x26da46['model'];if(_0x45fca4[_0xc743('0x30')]['includeAll']){_0x25e49d['include']=[{'all':!![]}];}_0x25e49d=_[_0xc743('0x3e')]({},_0x25e49d,_0x45fca4[_0xc743('0x45')]);return db[_0xc743('0x2b')][_0xc743('0x46')](_0x25e49d)[_0xc743('0x24')](handleEntityNotFound(_0x3a999c,null))[_0xc743('0x24')](respondWithResult(_0x3a999c,null))[_0xc743('0x42')](handleError(_0x3a999c,null));};exports[_0xc743('0x47')]=function(_0x22b55d,_0x38a171){return db['Interval'][_0xc743('0x47')](_0x22b55d[_0xc743('0x48')],{})[_0xc743('0x24')](function(_0x44aef9){var _0x4518d9=_0x22b55d[_0xc743('0x49')][_0xc743('0x4a')]({'plain':!![]});if(!_0x4518d9)throw new Error(_0xc743('0x4b'));if(_0x4518d9[_0xc743('0x4c')]===_0xc743('0x49')){var _0x257316=_0x44aef9['get']({'plain':!![]});var _0x19ba4b='Intervals';return db[_0xc743('0x4d')][_0xc743('0x46')]({'where':{'name':_0x19ba4b,'userProfileId':_0x4518d9[_0xc743('0x4e')]},'raw':!![]})['then'](function(_0x473281){if(_0x473281&&_0x473281[_0xc743('0x4f')]===0x0){return db['UserProfileResource']['create']({'name':_0x257316[_0xc743('0x2a')],'resourceId':_0x257316['id'],'type':_0x473281[_0xc743('0x2a')],'sectionId':_0x473281['id']},{})[_0xc743('0x24')](function(){return _0x44aef9;});}else{return _0x44aef9;}})[_0xc743('0x42')](function(_0x122beb){logger[_0xc743('0x29')](_0xc743('0x50'),_0x122beb);throw _0x122beb;});}return _0x44aef9;})[_0xc743('0x24')](respondWithResult(_0x38a171,0xc9))[_0xc743('0x42')](handleError(_0x38a171,null));};exports[_0xc743('0x23')]=function(_0x520213,_0x4558da){if(_0x520213[_0xc743('0x48')]['id']){delete _0x520213['body']['id'];}return db[_0xc743('0x2b')][_0xc743('0x46')]({'where':{'id':_0x520213[_0xc743('0x44')]['id']}})[_0xc743('0x24')](handleEntityNotFound(_0x4558da,null))['then'](saveUpdates(_0x520213[_0xc743('0x48')],null))[_0xc743('0x24')](respondWithResult(_0x4558da,null))[_0xc743('0x42')](handleError(_0x4558da,null));};exports[_0xc743('0x25')]=function(_0x60340c,_0x32fc38){return db[_0xc743('0x2b')][_0xc743('0x46')]({'where':{'id':_0x60340c[_0xc743('0x44')]['id']}})[_0xc743('0x24')](handleEntityNotFound(_0x32fc38,null))['then'](removeEntity(_0x32fc38,null))[_0xc743('0x42')](handleError(_0x32fc38,null));};exports[_0xc743('0x51')]=function(_0x2062ee,_0x3c20f4,_0x536c51){if(_0x2062ee[_0xc743('0x48')]['id']){delete _0x2062ee[_0xc743('0x48')]['id'];}return db[_0xc743('0x2b')]['find']({'where':{'id':_0x2062ee['params']['id']}})[_0xc743('0x24')](handleEntityNotFound(_0x3c20f4,null))[_0xc743('0x24')](function(_0x42954e){if(_0x42954e){_0x2062ee['body'][_0xc743('0x52')]=_0x42954e['id'];return db['Interval'][_0xc743('0x47')](_0x2062ee[_0xc743('0x48')]);}})[_0xc743('0x24')](respondWithResult(_0x3c20f4,null))['catch'](handleError(_0x3c20f4,null));};exports['getIntervals']=function(_0x2cdfed,_0x1a3684,_0x202a68){var _0x1ec66c={};var _0x2ea07d={};var _0x6d9c4c;var _0x2abbcc;return db[_0xc743('0x2b')][_0xc743('0x53')]({'where':{'id':_0x2cdfed['params']['id']}})['then'](handleEntityNotFound(_0x1a3684,null))[_0xc743('0x24')](function(_0x5db72c){if(_0x5db72c){_0x6d9c4c=_0x5db72c;_0x2ea07d[_0xc743('0x33')]=_[_0xc743('0x2f')](db[_0xc743('0x2b')][_0xc743('0x54')]);_0x2ea07d[_0xc743('0x30')]=_[_0xc743('0x2f')](_0x2cdfed['query']);_0x2ea07d[_0xc743('0x31')]=_[_0xc743('0x32')](_0x2ea07d['model'],_0x2ea07d[_0xc743('0x30')]);_0x1ec66c[_0xc743('0x35')]=_[_0xc743('0x32')](_0x2ea07d['model'],qs[_0xc743('0x34')](_0x2cdfed[_0xc743('0x30')][_0xc743('0x34')]));_0x1ec66c[_0xc743('0x35')]=_0x1ec66c[_0xc743('0x35')][_0xc743('0x36')]?_0x1ec66c[_0xc743('0x35')]:_0x2ea07d[_0xc743('0x33')];_0x1ec66c['order']=qs[_0xc743('0x3a')](_0x2cdfed[_0xc743('0x30')]['sort']);_0x1ec66c[_0xc743('0x3b')]=qs[_0xc743('0x31')](_[_0xc743('0x3c')](_0x2cdfed['query'],_0x2ea07d[_0xc743('0x31')]));if(_0x2cdfed[_0xc743('0x30')][_0xc743('0x3d')]){_0x1ec66c[_0xc743('0x3b')]=_['merge'](_0x1ec66c[_0xc743('0x3b')],{'$or':_[_0xc743('0x2e')](_0x1ec66c[_0xc743('0x35')],function(_0x29fa0a){var _0x49db41={};_0x49db41[_0x29fa0a]={'$like':'%'+_0x2cdfed[_0xc743('0x30')][_0xc743('0x3d')]+'%'};return _0x49db41;})});}_0x1ec66c=_[_0xc743('0x3e')]({},_0x1ec66c,_0x2cdfed[_0xc743('0x45')]);return _0x6d9c4c[_0xc743('0x55')](_0x1ec66c);}})['then'](function(_0x20d767){if(_0x20d767){_0x2abbcc=_0x20d767[_0xc743('0x36')];if(!_0x2cdfed[_0xc743('0x30')]['hasOwnProperty'](_0xc743('0x38'))){_0x1ec66c[_0xc743('0x1f')]=qs['limit'](_0x2cdfed[_0xc743('0x30')][_0xc743('0x1f')]);_0x1ec66c[_0xc743('0x1e')]=qs[_0xc743('0x1e')](_0x2cdfed[_0xc743('0x30')][_0xc743('0x1e')]);}return _0x6d9c4c[_0xc743('0x55')](_0x1ec66c);}})[_0xc743('0x24')](function(_0x23cb45){if(_0x23cb45){return _0x23cb45?{'count':_0x2abbcc,'rows':_0x23cb45}:null;}})[_0xc743('0x24')](respondWithResult(_0x1a3684,null))['catch'](handleError(_0x1a3684,null));};exports[_0xc743('0x56')]=function(_0x188a91,_0x19fb8d,_0x87936f){return db[_0xc743('0x2b')][_0xc743('0x53')]({'where':{'id':_0x188a91['params']['id']}})[_0xc743('0x24')](handleEntityNotFound(_0x19fb8d,null))[_0xc743('0x24')](function(_0x3f5523){if(_0x3f5523){return db[_0xc743('0x57')][_0xc743('0x58')](function(_0x4a425e){return db['Interval'][_0xc743('0x25')]({'where':{'IntervalId':_0x188a91[_0xc743('0x44')]['id']},'transaction':_0x4a425e})['then'](function(_0x128939){var _0x4e6081=_[_0xc743('0x2e')](_0x188a91[_0xc743('0x48')],function(_0x313733){delete _0x313733['id'];_0x313733[_0xc743('0x52')]=_0x188a91['params']['id'];return _0x313733;});return db[_0xc743('0x2b')][_0xc743('0x59')](_0x4e6081,{'transaction':_0x4a425e});});})['then'](function(){return db[_0xc743('0x2b')][_0xc743('0x5a')]({'where':{'IntervalId':_0x188a91[_0xc743('0x44')]['id']}});});}})['then'](respondWithResult(_0x19fb8d,null))[_0xc743('0x42')](handleError(_0x19fb8d,null));}; \ No newline at end of file +var _0xa94f=['params','rawAttributes','find','create','body','user','get','role','UserProfileSection','userProfileId','addInterval','getIntervals','findOne','options','addIntervals','IntervalId','bulkCreate','findAll','html-pdf','eml-format','zip-dir','request-promise','moment','mustache','util','path','sox','ejs','squel','crypto','to-csv','ioredis','../../components/auth/service','../../components/parsers/advancedSearch','../../config/logger','../../config/utils','../../config/environment','../../mysqldb','status','end','json','count','offset','limit','set','reject','update','then','destroy','Intervals','UserProfileResource','sendStatus','name','send','index','Interval','fieldName','key','model','map','query','keys','intersection','fields','attributes','length','hasOwnProperty','nolimit','order','sort','where','filters','pick','filter','merge','VIRTUAL','include','catch','show'];(function(_0x1a4c0b,_0x315038){var _0x24d5c0=function(_0x150ba2){while(--_0x150ba2){_0x1a4c0b['push'](_0x1a4c0b['shift']());}};_0x24d5c0(++_0x315038);}(_0xa94f,0x14e));var _0xfa94=function(_0x4739fb,_0x3d27a1){_0x4739fb=_0x4739fb-0x0;var _0x126080=_0xa94f[_0x4739fb];return _0x126080;};'use strict';var pdf=require(_0xfa94('0x0'));var emlformat=require(_0xfa94('0x1'));var rimraf=require('rimraf');var zipdir=require(_0xfa94('0x2'));var jsonpatch=require('fast-json-patch');var rp=require(_0xfa94('0x3'));var moment=require(_0xfa94('0x4'));var BPromise=require('bluebird');var Mustache=require(_0xfa94('0x5'));var util=require(_0xfa94('0x6'));var path=require(_0xfa94('0x7'));var sox=require(_0xfa94('0x8'));var csv=require('to-csv');var ejs=require(_0xfa94('0x9'));var fs=require('fs');var _=require('lodash');var squel=require(_0xfa94('0xa'));var crypto=require(_0xfa94('0xb'));var jsforce=require('jsforce');var deskjs=require('desk.js');var toCsv=require(_0xfa94('0xc'));var querystring=require('querystring');var Papa=require('papaparse');var Redis=require(_0xfa94('0xd'));var authService=require(_0xfa94('0xe'));var qs=require('../../components/parsers/qs');var as=require(_0xfa94('0xf'));var hardwareService=require('../../config/license/hardware');var logger=require(_0xfa94('0x10'))('api');var utils=require(_0xfa94('0x11'));var config=require(_0xfa94('0x12'));var db=require(_0xfa94('0x13'))['db'];var extensions=require('../../components/extensions/rewrite');function respondWithStatusCode(_0x3b317f,_0x5f3180){_0x5f3180=_0x5f3180||0xcc;return function(_0x27338c){if(_0x27338c){return _0x3b317f['sendStatus'](_0x5f3180);}return _0x3b317f[_0xfa94('0x14')](_0x5f3180)[_0xfa94('0x15')]();};}function respondWithResult(_0x35e9d6,_0x569925){_0x569925=_0x569925||0xc8;return function(_0x58be58){if(_0x58be58){return _0x35e9d6[_0xfa94('0x14')](_0x569925)[_0xfa94('0x16')](_0x58be58);}};}function respondWithFilteredResult(_0x42d5a9,_0x427d21){return function(_0x4420a0){if(_0x4420a0){var _0x437315=_0x4420a0[_0xfa94('0x17')],_0x466377=_0x427d21[_0xfa94('0x18')],_0x437179=_0x427d21[_0xfa94('0x18')]+_0x427d21[_0xfa94('0x19')],_0x4ef388;if(_0x437179>=_0x437315){_0x437179=_0x437315;_0x4ef388=0xc8;}else{_0x4ef388=0xce;}_0x42d5a9['status'](_0x4ef388);return _0x42d5a9[_0xfa94('0x1a')]('Content-Range',_0x466377+'-'+_0x437179+'/'+_0x437315)[_0xfa94('0x16')](_0x4420a0);}return null;};}function patchUpdates(_0x6089fb){return function(_0x230125){try{jsonpatch['apply'](_0x230125,_0x6089fb,!![]);}catch(_0x288f28){return BPromise[_0xfa94('0x1b')](_0x288f28);}return _0x230125['save']();};}function saveUpdates(_0x2645ba,_0x31970b){return function(_0x40a94b){if(_0x40a94b){return _0x40a94b[_0xfa94('0x1c')](_0x2645ba)[_0xfa94('0x1d')](function(_0x529b79){return _0x529b79;});}return null;};}function removeEntity(_0x1afed9,_0x38ed90){return function(_0x4de404){if(_0x4de404){return _0x4de404[_0xfa94('0x1e')]()[_0xfa94('0x1d')](function(){var _0x10420e=_0x4de404['get']({'plain':!![]});var _0x49490e=_0xfa94('0x1f');return db[_0xfa94('0x20')][_0xfa94('0x1e')]({'where':{'type':_0x49490e,'resourceId':_0x10420e['id']}})[_0xfa94('0x1d')](function(){return _0x4de404;});})[_0xfa94('0x1d')](function(){_0x1afed9[_0xfa94('0x14')](0xcc)[_0xfa94('0x15')]();});}};}function handleEntityNotFound(_0x5de2f0,_0x58da34){return function(_0x42c13d){if(!_0x42c13d){_0x5de2f0[_0xfa94('0x21')](0x194);}return _0x42c13d;};}function handleError(_0x5af207,_0x5a4206){_0x5a4206=_0x5a4206||0x1f4;return function(_0x5ce06b){logger['error'](_0x5ce06b['stack']);if(_0x5ce06b['name']){delete _0x5ce06b[_0xfa94('0x22')];}_0x5af207[_0xfa94('0x14')](_0x5a4206)[_0xfa94('0x23')](_0x5ce06b);};}exports[_0xfa94('0x24')]=function(_0x3e670d,_0x557467){var _0x4fb4cc={},_0x1671c0={},_0x5c9103={'count':0x0,'rows':[]};var _0x239255=_['map'](db[_0xfa94('0x25')]['rawAttributes'],function(_0x3a0986){return{'name':_0x3a0986[_0xfa94('0x26')],'type':_0x3a0986['type'][_0xfa94('0x27')]};});_0x1671c0[_0xfa94('0x28')]=_[_0xfa94('0x29')](_0x239255,'name');_0x1671c0[_0xfa94('0x2a')]=_[_0xfa94('0x2b')](_0x3e670d[_0xfa94('0x2a')]);_0x1671c0['filters']=_[_0xfa94('0x2c')](_0x1671c0['model'],_0x1671c0['query']);_0x4fb4cc['attributes']=_[_0xfa94('0x2c')](_0x1671c0[_0xfa94('0x28')],qs[_0xfa94('0x2d')](_0x3e670d[_0xfa94('0x2a')][_0xfa94('0x2d')]));_0x4fb4cc['attributes']=_0x4fb4cc[_0xfa94('0x2e')][_0xfa94('0x2f')]?_0x4fb4cc['attributes']:_0x1671c0['model'];if(!_0x3e670d['query'][_0xfa94('0x30')](_0xfa94('0x31'))){_0x4fb4cc[_0xfa94('0x19')]=qs['limit'](_0x3e670d[_0xfa94('0x2a')][_0xfa94('0x19')]);_0x4fb4cc[_0xfa94('0x18')]=qs[_0xfa94('0x18')](_0x3e670d[_0xfa94('0x2a')][_0xfa94('0x18')]);}_0x4fb4cc[_0xfa94('0x32')]=qs[_0xfa94('0x33')](_0x3e670d[_0xfa94('0x2a')][_0xfa94('0x33')]);_0x4fb4cc[_0xfa94('0x34')]=qs[_0xfa94('0x35')](_[_0xfa94('0x36')](_0x3e670d['query'],_0x1671c0[_0xfa94('0x35')]),_0x239255);if(_0x3e670d[_0xfa94('0x2a')][_0xfa94('0x37')]){_0x4fb4cc[_0xfa94('0x34')]=_[_0xfa94('0x38')](_0x4fb4cc[_0xfa94('0x34')],{'$or':_['map'](_0x239255,function(_0x4e276e){if(_0x4e276e['type']!==_0xfa94('0x39')){var _0x111b33={};_0x111b33[_0x4e276e[_0xfa94('0x22')]]={'$like':'%'+_0x3e670d['query'][_0xfa94('0x37')]+'%'};return _0x111b33;}})});}_0x4fb4cc=_['merge']({},_0x4fb4cc,_0x3e670d['options']);var _0x35e378={'where':_0x4fb4cc['where']};return db['Interval'][_0xfa94('0x17')](_0x35e378)['then'](function(_0x478deb){_0x5c9103['count']=_0x478deb;if(_0x3e670d[_0xfa94('0x2a')]['includeAll']){_0x4fb4cc[_0xfa94('0x3a')]=[{'all':!![]}];}return db[_0xfa94('0x25')]['findAll'](_0x4fb4cc);})[_0xfa94('0x1d')](function(_0x2bbe05){_0x5c9103['rows']=_0x2bbe05;return _0x5c9103;})[_0xfa94('0x1d')](respondWithFilteredResult(_0x557467,_0x4fb4cc))[_0xfa94('0x3b')](handleError(_0x557467,null));};exports[_0xfa94('0x3c')]=function(_0x1defa7,_0x493aed){var _0x77fbd3={'raw':!![],'where':{'id':_0x1defa7[_0xfa94('0x3d')]['id']}},_0x681632={};_0x681632[_0xfa94('0x28')]=_[_0xfa94('0x2b')](db['Interval'][_0xfa94('0x3e')]);_0x681632[_0xfa94('0x2a')]=_[_0xfa94('0x2b')](_0x1defa7[_0xfa94('0x2a')]);_0x681632['filters']=_[_0xfa94('0x2c')](_0x681632[_0xfa94('0x28')],_0x681632[_0xfa94('0x2a')]);_0x77fbd3[_0xfa94('0x2e')]=_[_0xfa94('0x2c')](_0x681632['model'],qs[_0xfa94('0x2d')](_0x1defa7[_0xfa94('0x2a')][_0xfa94('0x2d')]));_0x77fbd3[_0xfa94('0x2e')]=_0x77fbd3[_0xfa94('0x2e')][_0xfa94('0x2f')]?_0x77fbd3['attributes']:_0x681632[_0xfa94('0x28')];if(_0x1defa7['query']['includeAll']){_0x77fbd3[_0xfa94('0x3a')]=[{'all':!![]}];}_0x77fbd3=_['merge']({},_0x77fbd3,_0x1defa7['options']);return db[_0xfa94('0x25')][_0xfa94('0x3f')](_0x77fbd3)[_0xfa94('0x1d')](handleEntityNotFound(_0x493aed,null))['then'](respondWithResult(_0x493aed,null))[_0xfa94('0x3b')](handleError(_0x493aed,null));};exports[_0xfa94('0x40')]=function(_0x45147a,_0x4b5a3c){return db[_0xfa94('0x25')]['create'](_0x45147a[_0xfa94('0x41')],{})[_0xfa94('0x1d')](function(_0x142624){var _0xda7f0d=_0x45147a[_0xfa94('0x42')][_0xfa94('0x43')]({'plain':!![]});if(!_0xda7f0d)throw new Error('Unable\x20to\x20retrieve\x20the\x20current\x20user');if(_0xda7f0d[_0xfa94('0x44')]===_0xfa94('0x42')){var _0x1e85d0=_0x142624[_0xfa94('0x43')]({'plain':!![]});var _0x1ab88d='Intervals';return db[_0xfa94('0x45')][_0xfa94('0x3f')]({'where':{'name':_0x1ab88d,'userProfileId':_0xda7f0d[_0xfa94('0x46')]},'raw':!![]})[_0xfa94('0x1d')](function(_0x1b4d47){if(_0x1b4d47&&_0x1b4d47['autoAssociation']===0x0){return db[_0xfa94('0x20')][_0xfa94('0x40')]({'name':_0x1e85d0[_0xfa94('0x22')],'resourceId':_0x1e85d0['id'],'type':_0x1b4d47['name'],'sectionId':_0x1b4d47['id']},{})['then'](function(){return _0x142624;});}else{return _0x142624;}})[_0xfa94('0x3b')](function(_0x744527){logger['error']('Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s',_0x744527);throw _0x744527;});}return _0x142624;})[_0xfa94('0x1d')](respondWithResult(_0x4b5a3c,0xc9))[_0xfa94('0x3b')](handleError(_0x4b5a3c,null));};exports[_0xfa94('0x1c')]=function(_0x2a4546,_0xcdc550){if(_0x2a4546[_0xfa94('0x41')]['id']){delete _0x2a4546[_0xfa94('0x41')]['id'];}return db[_0xfa94('0x25')][_0xfa94('0x3f')]({'where':{'id':_0x2a4546['params']['id']}})[_0xfa94('0x1d')](handleEntityNotFound(_0xcdc550,null))['then'](saveUpdates(_0x2a4546[_0xfa94('0x41')],null))[_0xfa94('0x1d')](respondWithResult(_0xcdc550,null))['catch'](handleError(_0xcdc550,null));};exports['destroy']=function(_0x3f373d,_0x2e4660){return db[_0xfa94('0x25')][_0xfa94('0x3f')]({'where':{'id':_0x3f373d[_0xfa94('0x3d')]['id']}})[_0xfa94('0x1d')](handleEntityNotFound(_0x2e4660,null))[_0xfa94('0x1d')](removeEntity(_0x2e4660,null))['catch'](handleError(_0x2e4660,null));};exports[_0xfa94('0x47')]=function(_0x4a0026,_0x112f84,_0x4e5f16){if(_0x4a0026[_0xfa94('0x41')]['id']){delete _0x4a0026['body']['id'];}return db[_0xfa94('0x25')][_0xfa94('0x3f')]({'where':{'id':_0x4a0026['params']['id']}})['then'](handleEntityNotFound(_0x112f84,null))[_0xfa94('0x1d')](function(_0x391eb5){if(_0x391eb5){_0x4a0026['body']['IntervalId']=_0x391eb5['id'];return db[_0xfa94('0x25')]['create'](_0x4a0026[_0xfa94('0x41')]);}})['then'](respondWithResult(_0x112f84,null))[_0xfa94('0x3b')](handleError(_0x112f84,null));};exports[_0xfa94('0x48')]=function(_0x339dae,_0x8118af,_0x3c5273){var _0x26159e={};var _0x52c5c8={};var _0x19fb6b;var _0x6f3afa;return db[_0xfa94('0x25')][_0xfa94('0x49')]({'where':{'id':_0x339dae[_0xfa94('0x3d')]['id']}})[_0xfa94('0x1d')](handleEntityNotFound(_0x8118af,null))[_0xfa94('0x1d')](function(_0x456b06){if(_0x456b06){_0x19fb6b=_0x456b06;_0x52c5c8['model']=_['keys'](db['Interval'][_0xfa94('0x3e')]);_0x52c5c8[_0xfa94('0x2a')]=_['keys'](_0x339dae['query']);_0x52c5c8[_0xfa94('0x35')]=_['intersection'](_0x52c5c8['model'],_0x52c5c8['query']);_0x26159e['attributes']=_[_0xfa94('0x2c')](_0x52c5c8[_0xfa94('0x28')],qs[_0xfa94('0x2d')](_0x339dae[_0xfa94('0x2a')][_0xfa94('0x2d')]));_0x26159e[_0xfa94('0x2e')]=_0x26159e[_0xfa94('0x2e')][_0xfa94('0x2f')]?_0x26159e[_0xfa94('0x2e')]:_0x52c5c8[_0xfa94('0x28')];_0x26159e[_0xfa94('0x32')]=qs['sort'](_0x339dae[_0xfa94('0x2a')]['sort']);_0x26159e[_0xfa94('0x34')]=qs[_0xfa94('0x35')](_[_0xfa94('0x36')](_0x339dae[_0xfa94('0x2a')],_0x52c5c8['filters']));if(_0x339dae['query'][_0xfa94('0x37')]){_0x26159e['where']=_[_0xfa94('0x38')](_0x26159e[_0xfa94('0x34')],{'$or':_[_0xfa94('0x29')](_0x26159e[_0xfa94('0x2e')],function(_0x54b13c){var _0x53b406={};_0x53b406[_0x54b13c]={'$like':'%'+_0x339dae[_0xfa94('0x2a')][_0xfa94('0x37')]+'%'};return _0x53b406;})});}_0x26159e=_['merge']({},_0x26159e,_0x339dae[_0xfa94('0x4a')]);return _0x19fb6b[_0xfa94('0x48')](_0x26159e);}})[_0xfa94('0x1d')](function(_0x4b3dbe){if(_0x4b3dbe){_0x6f3afa=_0x4b3dbe[_0xfa94('0x2f')];if(!_0x339dae[_0xfa94('0x2a')]['hasOwnProperty'](_0xfa94('0x31'))){_0x26159e[_0xfa94('0x19')]=qs[_0xfa94('0x19')](_0x339dae[_0xfa94('0x2a')][_0xfa94('0x19')]);_0x26159e[_0xfa94('0x18')]=qs['offset'](_0x339dae[_0xfa94('0x2a')]['offset']);}return _0x19fb6b['getIntervals'](_0x26159e);}})[_0xfa94('0x1d')](function(_0x18e003){if(_0x18e003){return _0x18e003?{'count':_0x6f3afa,'rows':_0x18e003}:null;}})[_0xfa94('0x1d')](respondWithResult(_0x8118af,null))[_0xfa94('0x3b')](handleError(_0x8118af,null));};exports[_0xfa94('0x4b')]=function(_0x36abe1,_0x960b8,_0x50f807){return db['Interval']['findOne']({'where':{'id':_0x36abe1[_0xfa94('0x3d')]['id']}})[_0xfa94('0x1d')](handleEntityNotFound(_0x960b8,null))[_0xfa94('0x1d')](function(_0x33bbe3){if(_0x33bbe3){return db['sequelize']['transaction'](function(_0x2d3d27){return db['Interval'][_0xfa94('0x1e')]({'where':{'IntervalId':_0x36abe1[_0xfa94('0x3d')]['id']},'transaction':_0x2d3d27})['then'](function(_0x5922b0){var _0x111eee=_[_0xfa94('0x29')](_0x36abe1[_0xfa94('0x41')],function(_0xcd78ef){delete _0xcd78ef['id'];_0xcd78ef[_0xfa94('0x4c')]=_0x36abe1[_0xfa94('0x3d')]['id'];return _0xcd78ef;});return db['Interval'][_0xfa94('0x4d')](_0x111eee,{'transaction':_0x2d3d27});});})[_0xfa94('0x1d')](function(){return db['Interval'][_0xfa94('0x4e')]({'where':{'IntervalId':_0x36abe1['params']['id']}});});}})[_0xfa94('0x1d')](respondWithResult(_0x960b8,null))[_0xfa94('0x3b')](handleError(_0x960b8,null));}; \ No newline at end of file diff --git a/server/api/interval/interval.model.js b/server/api/interval/interval.model.js index 0e09a6f..7c71855 100644 --- a/server/api/interval/interval.model.js +++ b/server/api/interval/interval.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x63a9=['tools_intervals','rewrite','lodash','api','moment','bluebird','request-promise','../../config/environment','./interval.attributes','../../components/extensions/rewrite','define'];(function(_0x1651dc,_0x4733d3){var _0xcc592d=function(_0x10b31e){while(--_0x10b31e){_0x1651dc['push'](_0x1651dc['shift']());}};_0xcc592d(++_0x4733d3);}(_0x63a9,0xff));var _0x963a=function(_0x4c4d5a,_0x2776ad){_0x4c4d5a=_0x4c4d5a-0x0;var _0x3175a2=_0x63a9[_0x4c4d5a];return _0x3175a2;};'use strict';var _=require(_0x963a('0x0'));var util=require('util');var logger=require('../../config/logger')(_0x963a('0x1'));var moment=require(_0x963a('0x2'));var BPromise=require(_0x963a('0x3'));var rp=require(_0x963a('0x4'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x963a('0x5'));var attributes=require(_0x963a('0x6'));var extensions=require(_0x963a('0x7'));module['exports']=function(_0x5094a0,_0x35b180){return _0x5094a0[_0x963a('0x8')]('Interval',attributes,{'tableName':_0x963a('0x9'),'paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'afterCreate':function(_0x402962,_0x5d99dc){extensions[_0x963a('0xa')](_0x5094a0,_0x402962);},'afterBulkCreate':function(_0x3bfdbe,_0xc44e88,_0x390de4){_0x390de4();extensions[_0x963a('0xa')](_0x5094a0,_0x3bfdbe[0x0]);},'afterUpdate':function(_0x12138a,_0x54ba1b){extensions[_0x963a('0xa')](_0x5094a0,_0x12138a);},'afterDestroy':function(_0x2afd4b,_0x3a71fb){extensions[_0x963a('0xa')](_0x5094a0,_0x2afd4b);}}});}; \ No newline at end of file +var _0x9e5e=['api','moment','bluebird','path','../../config/environment','./interval.attributes','Interval','tools_intervals','rewrite','lodash','util'];(function(_0x435e83,_0x145750){var _0x4ad9a6=function(_0x39350a){while(--_0x39350a){_0x435e83['push'](_0x435e83['shift']());}};_0x4ad9a6(++_0x145750);}(_0x9e5e,0x1e2));var _0xe9e5=function(_0x45783c,_0x49c56d){_0x45783c=_0x45783c-0x0;var _0x1161da=_0x9e5e[_0x45783c];return _0x1161da;};'use strict';var _=require(_0xe9e5('0x0'));var util=require(_0xe9e5('0x1'));var logger=require('../../config/logger')(_0xe9e5('0x2'));var moment=require(_0xe9e5('0x3'));var BPromise=require(_0xe9e5('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xe9e5('0x5'));var rimraf=require('rimraf');var config=require(_0xe9e5('0x6'));var attributes=require(_0xe9e5('0x7'));var extensions=require('../../components/extensions/rewrite');module['exports']=function(_0xf4d974,_0x2333df){return _0xf4d974['define'](_0xe9e5('0x8'),attributes,{'tableName':_0xe9e5('0x9'),'paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'afterCreate':function(_0x3c5c1b,_0x6325f0){extensions[_0xe9e5('0xa')](_0xf4d974,_0x3c5c1b);},'afterBulkCreate':function(_0x18a551,_0x18d1ee,_0x28a123){_0x28a123();extensions[_0xe9e5('0xa')](_0xf4d974,_0x18a551[0x0]);},'afterUpdate':function(_0x5397ce,_0x38cd93){extensions[_0xe9e5('0xa')](_0xf4d974,_0x5397ce);},'afterDestroy':function(_0x4f7479,_0x4c14d0){extensions['rewrite'](_0xf4d974,_0x4f7479);}}});}; \ No newline at end of file diff --git a/server/api/interval/interval.rpc.js b/server/api/interval/interval.rpc.js index 940cb21..20b4eae 100644 --- a/server/api/interval/interval.rpc.js +++ b/server/api/interval/interval.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x2b57=['where','lodash','util','bluebird','randomstring','ioredis','../../config/utils','rpc','jayson/promise','http','then','Interval,\x20%s,\x20%s','request\x20sent','debug','Interval,\x20%s,\x20%s,\x20%s','stringify','error','code','message','info','catch','GetInterval','Interval','options','raw','attributes','include','map','model','ShowInterval','find'];(function(_0x21a9d9,_0x4d5ac8){var _0x46adce=function(_0xfdd336){while(--_0xfdd336){_0x21a9d9['push'](_0x21a9d9['shift']());}};_0x46adce(++_0x4d5ac8);}(_0x2b57,0x175));var _0x72b5=function(_0x4d8db4,_0x1fd17b){_0x4d8db4=_0x4d8db4-0x0;var _0x108cc3=_0x2b57[_0x4d8db4];return _0x108cc3;};'use strict';var _=require(_0x72b5('0x0'));var util=require(_0x72b5('0x1'));var moment=require('moment');var BPromise=require(_0x72b5('0x2'));var rs=require(_0x72b5('0x3'));var fs=require('fs');var Redis=require(_0x72b5('0x4'));var db=require('../../mysqldb')['db'];var utils=require(_0x72b5('0x5'));var logger=require('../../config/logger')(_0x72b5('0x6'));var config=require('../../config/environment');var jayson=require(_0x72b5('0x7'));var client=jayson['client'][_0x72b5('0x8')]({'port':0x232a});function respondWithRpcPromise(_0x4f2fac,_0x57f534,_0x38b542){return new BPromise(function(_0x88654a,_0x49d824){return client['request'](_0x4f2fac,_0x38b542)[_0x72b5('0x9')](function(_0x2e3f5b){logger['info'](_0x72b5('0xa'),_0x57f534,_0x72b5('0xb'));logger[_0x72b5('0xc')](_0x72b5('0xd'),_0x57f534,_0x72b5('0xb'),JSON[_0x72b5('0xe')](_0x2e3f5b));if(_0x2e3f5b[_0x72b5('0xf')]){if(_0x2e3f5b[_0x72b5('0xf')][_0x72b5('0x10')]===0x1f4){logger[_0x72b5('0xf')](_0x72b5('0xa'),_0x57f534,_0x2e3f5b[_0x72b5('0xf')]['message']);return _0x49d824(_0x2e3f5b[_0x72b5('0xf')][_0x72b5('0x11')]);}logger[_0x72b5('0xf')]('Interval,\x20%s,\x20%s',_0x57f534,_0x2e3f5b[_0x72b5('0xf')][_0x72b5('0x11')]);return _0x88654a(_0x2e3f5b[_0x72b5('0xf')][_0x72b5('0x11')]);}else{logger[_0x72b5('0x12')](_0x72b5('0xa'),_0x57f534,'request\x20sent');_0x88654a(_0x2e3f5b['result']['message']);}})[_0x72b5('0x13')](function(_0x26e376){logger['error']('Interval,\x20%s,\x20%s',_0x57f534,_0x26e376);_0x49d824(_0x26e376);});});}exports[_0x72b5('0x14')]=function(_0x3b531c){var _0x40f505=this;return new Promise(function(_0x4861db,_0x5bbee6){return db[_0x72b5('0x15')]['findAll']({'raw':_0x3b531c[_0x72b5('0x16')]?_0x3b531c[_0x72b5('0x16')][_0x72b5('0x17')]===undefined?!![]:![]:!![],'where':_0x3b531c[_0x72b5('0x16')]?_0x3b531c[_0x72b5('0x16')]['where']||null:null,'attributes':_0x3b531c[_0x72b5('0x16')]?_0x3b531c['options'][_0x72b5('0x18')]||null:null,'limit':_0x3b531c[_0x72b5('0x16')]?_0x3b531c[_0x72b5('0x16')]['limit']||null:null,'include':_0x3b531c[_0x72b5('0x16')]?_0x3b531c['options'][_0x72b5('0x19')]?_[_0x72b5('0x1a')](_0x3b531c['options']['include'],function(_0x35ad43){return{'model':db[_0x35ad43[_0x72b5('0x1b')]],'as':_0x35ad43['as'],'attributes':_0x35ad43['attributes'],'include':_0x35ad43[_0x72b5('0x19')]?_[_0x72b5('0x1a')](_0x35ad43[_0x72b5('0x19')],function(_0x145bc3){return{'model':db[_0x145bc3['model']],'as':_0x145bc3['as'],'attributes':_0x145bc3['attributes'],'include':_0x145bc3['include']?_[_0x72b5('0x1a')](_0x145bc3[_0x72b5('0x19')],function(_0x3d2052){return{'model':db[_0x3d2052[_0x72b5('0x1b')]],'as':_0x3d2052['as'],'attributes':_0x3d2052[_0x72b5('0x18')]};}):[]};}):[]};}):[]:[]})[_0x72b5('0x9')](function(_0x1c66ef){logger[_0x72b5('0x12')]('GetInterval',_0x3b531c);logger[_0x72b5('0xc')]('GetInterval',_0x3b531c,JSON['stringify'](_0x1c66ef));_0x4861db(_0x1c66ef);})[_0x72b5('0x13')](function(_0x733138){logger[_0x72b5('0xf')](_0x72b5('0x14'),_0x733138[_0x72b5('0x11')],_0x3b531c);_0x5bbee6(_0x40f505[_0x72b5('0xf')](0x1f4,_0x733138[_0x72b5('0x11')]));});});};exports[_0x72b5('0x1c')]=function(_0x501f6b){var _0x37ff1c=this;return new Promise(function(_0xcc034c,_0x4ef7f5){return db[_0x72b5('0x15')][_0x72b5('0x1d')]({'raw':_0x501f6b[_0x72b5('0x16')]?_0x501f6b['options'][_0x72b5('0x17')]===undefined?!![]:![]:!![],'where':_0x501f6b[_0x72b5('0x16')]?_0x501f6b[_0x72b5('0x16')][_0x72b5('0x1e')]||null:null,'attributes':_0x501f6b[_0x72b5('0x16')]?_0x501f6b[_0x72b5('0x16')]['attributes']||null:null,'include':_0x501f6b[_0x72b5('0x16')]?_0x501f6b['options'][_0x72b5('0x19')]?_[_0x72b5('0x1a')](_0x501f6b[_0x72b5('0x16')][_0x72b5('0x19')],function(_0x37efd1){return{'model':db[_0x37efd1[_0x72b5('0x1b')]],'as':_0x37efd1['as'],'attributes':_0x37efd1[_0x72b5('0x18')],'include':_0x37efd1[_0x72b5('0x19')]?_['map'](_0x37efd1[_0x72b5('0x19')],function(_0x46b788){return{'model':db[_0x46b788[_0x72b5('0x1b')]],'as':_0x46b788['as'],'attributes':_0x46b788[_0x72b5('0x18')],'include':_0x46b788[_0x72b5('0x19')]?_[_0x72b5('0x1a')](_0x46b788[_0x72b5('0x19')],function(_0x55dc4c){return{'model':db[_0x55dc4c['model']],'as':_0x55dc4c['as'],'attributes':_0x55dc4c[_0x72b5('0x18')]};}):[]};}):[]};}):[]:[]})['then'](function(_0x443496){logger['info']('ShowInterval',_0x501f6b);logger[_0x72b5('0xc')](_0x72b5('0x1c'),_0x501f6b,JSON[_0x72b5('0xe')](_0x443496));_0xcc034c(_0x443496);})[_0x72b5('0x13')](function(_0x32b323){logger[_0x72b5('0xf')]('ShowInterval',_0x32b323[_0x72b5('0x11')],_0x501f6b);_0x4ef7f5(_0x37ff1c['error'](0x1f4,_0x32b323[_0x72b5('0x11')]));});});}; \ No newline at end of file +var _0xb9f1=['findAll','options','raw','limit','include','map','model','attributes','ShowInterval','find','where','lodash','util','moment','bluebird','randomstring','ioredis','../../mysqldb','../../config/logger','rpc','../../config/environment','jayson/promise','client','http','request','then','info','Interval,\x20%s,\x20%s','request\x20sent','debug','stringify','error','message','result','catch','GetInterval','Interval'];(function(_0x13e144,_0x1c0f5d){var _0x5054ad=function(_0x1af055){while(--_0x1af055){_0x13e144['push'](_0x13e144['shift']());}};_0x5054ad(++_0x1c0f5d);}(_0xb9f1,0x10e));var _0x1b9f=function(_0x73c088,_0x445bd8){_0x73c088=_0x73c088-0x0;var _0x59d8bc=_0xb9f1[_0x73c088];return _0x59d8bc;};'use strict';var _=require(_0x1b9f('0x0'));var util=require(_0x1b9f('0x1'));var moment=require(_0x1b9f('0x2'));var BPromise=require(_0x1b9f('0x3'));var rs=require(_0x1b9f('0x4'));var fs=require('fs');var Redis=require(_0x1b9f('0x5'));var db=require(_0x1b9f('0x6'))['db'];var utils=require('../../config/utils');var logger=require(_0x1b9f('0x7'))(_0x1b9f('0x8'));var config=require(_0x1b9f('0x9'));var jayson=require(_0x1b9f('0xa'));var client=jayson[_0x1b9f('0xb')][_0x1b9f('0xc')]({'port':0x232a});function respondWithRpcPromise(_0x36aca9,_0xa6f649,_0x5f31e1){return new BPromise(function(_0x518de7,_0x462d07){return client[_0x1b9f('0xd')](_0x36aca9,_0x5f31e1)[_0x1b9f('0xe')](function(_0x15f7f9){logger[_0x1b9f('0xf')](_0x1b9f('0x10'),_0xa6f649,_0x1b9f('0x11'));logger[_0x1b9f('0x12')]('Interval,\x20%s,\x20%s,\x20%s',_0xa6f649,_0x1b9f('0x11'),JSON[_0x1b9f('0x13')](_0x15f7f9));if(_0x15f7f9[_0x1b9f('0x14')]){if(_0x15f7f9[_0x1b9f('0x14')]['code']===0x1f4){logger[_0x1b9f('0x14')]('Interval,\x20%s,\x20%s',_0xa6f649,_0x15f7f9[_0x1b9f('0x14')]['message']);return _0x462d07(_0x15f7f9[_0x1b9f('0x14')][_0x1b9f('0x15')]);}logger['error'](_0x1b9f('0x10'),_0xa6f649,_0x15f7f9['error'][_0x1b9f('0x15')]);return _0x518de7(_0x15f7f9['error'][_0x1b9f('0x15')]);}else{logger[_0x1b9f('0xf')](_0x1b9f('0x10'),_0xa6f649,_0x1b9f('0x11'));_0x518de7(_0x15f7f9[_0x1b9f('0x16')][_0x1b9f('0x15')]);}})[_0x1b9f('0x17')](function(_0x1d980d){logger[_0x1b9f('0x14')](_0x1b9f('0x10'),_0xa6f649,_0x1d980d);_0x462d07(_0x1d980d);});});}exports[_0x1b9f('0x18')]=function(_0x3a4410){var _0x4d4d88=this;return new Promise(function(_0x93ae82,_0x1b2f6f){return db[_0x1b9f('0x19')][_0x1b9f('0x1a')]({'raw':_0x3a4410[_0x1b9f('0x1b')]?_0x3a4410[_0x1b9f('0x1b')][_0x1b9f('0x1c')]===undefined?!![]:![]:!![],'where':_0x3a4410[_0x1b9f('0x1b')]?_0x3a4410['options']['where']||null:null,'attributes':_0x3a4410[_0x1b9f('0x1b')]?_0x3a4410['options']['attributes']||null:null,'limit':_0x3a4410['options']?_0x3a4410[_0x1b9f('0x1b')][_0x1b9f('0x1d')]||null:null,'include':_0x3a4410['options']?_0x3a4410[_0x1b9f('0x1b')][_0x1b9f('0x1e')]?_['map'](_0x3a4410[_0x1b9f('0x1b')][_0x1b9f('0x1e')],function(_0x4a2eb2){return{'model':db[_0x4a2eb2['model']],'as':_0x4a2eb2['as'],'attributes':_0x4a2eb2['attributes'],'include':_0x4a2eb2[_0x1b9f('0x1e')]?_[_0x1b9f('0x1f')](_0x4a2eb2[_0x1b9f('0x1e')],function(_0x22c61b){return{'model':db[_0x22c61b[_0x1b9f('0x20')]],'as':_0x22c61b['as'],'attributes':_0x22c61b[_0x1b9f('0x21')],'include':_0x22c61b[_0x1b9f('0x1e')]?_[_0x1b9f('0x1f')](_0x22c61b['include'],function(_0x32c61d){return{'model':db[_0x32c61d[_0x1b9f('0x20')]],'as':_0x32c61d['as'],'attributes':_0x32c61d[_0x1b9f('0x21')]};}):[]};}):[]};}):[]:[]})['then'](function(_0x355432){logger[_0x1b9f('0xf')](_0x1b9f('0x18'),_0x3a4410);logger[_0x1b9f('0x12')](_0x1b9f('0x18'),_0x3a4410,JSON[_0x1b9f('0x13')](_0x355432));_0x93ae82(_0x355432);})['catch'](function(_0x4817fb){logger[_0x1b9f('0x14')](_0x1b9f('0x18'),_0x4817fb[_0x1b9f('0x15')],_0x3a4410);_0x1b2f6f(_0x4d4d88['error'](0x1f4,_0x4817fb[_0x1b9f('0x15')]));});});};exports[_0x1b9f('0x22')]=function(_0x37552b){var _0x4ca734=this;return new Promise(function(_0x4fa51d,_0x52a8ee){return db[_0x1b9f('0x19')][_0x1b9f('0x23')]({'raw':_0x37552b[_0x1b9f('0x1b')]?_0x37552b[_0x1b9f('0x1b')][_0x1b9f('0x1c')]===undefined?!![]:![]:!![],'where':_0x37552b['options']?_0x37552b[_0x1b9f('0x1b')][_0x1b9f('0x24')]||null:null,'attributes':_0x37552b[_0x1b9f('0x1b')]?_0x37552b[_0x1b9f('0x1b')]['attributes']||null:null,'include':_0x37552b[_0x1b9f('0x1b')]?_0x37552b[_0x1b9f('0x1b')][_0x1b9f('0x1e')]?_[_0x1b9f('0x1f')](_0x37552b[_0x1b9f('0x1b')][_0x1b9f('0x1e')],function(_0x58a133){return{'model':db[_0x58a133[_0x1b9f('0x20')]],'as':_0x58a133['as'],'attributes':_0x58a133['attributes'],'include':_0x58a133[_0x1b9f('0x1e')]?_[_0x1b9f('0x1f')](_0x58a133[_0x1b9f('0x1e')],function(_0x39f281){return{'model':db[_0x39f281[_0x1b9f('0x20')]],'as':_0x39f281['as'],'attributes':_0x39f281[_0x1b9f('0x21')],'include':_0x39f281[_0x1b9f('0x1e')]?_[_0x1b9f('0x1f')](_0x39f281[_0x1b9f('0x1e')],function(_0x3d84f8){return{'model':db[_0x3d84f8[_0x1b9f('0x20')]],'as':_0x3d84f8['as'],'attributes':_0x3d84f8[_0x1b9f('0x21')]};}):[]};}):[]};}):[]:[]})[_0x1b9f('0xe')](function(_0x344e4e){logger[_0x1b9f('0xf')](_0x1b9f('0x22'),_0x37552b);logger['debug']('ShowInterval',_0x37552b,JSON['stringify'](_0x344e4e));_0x4fa51d(_0x344e4e);})['catch'](function(_0x40776e){logger['error'](_0x1b9f('0x22'),_0x40776e['message'],_0x37552b);_0x52a8ee(_0x4ca734[_0x1b9f('0x14')](0x1f4,_0x40776e[_0x1b9f('0x15')]));});});}; \ No newline at end of file diff --git a/server/api/jira/index.js b/server/api/jira/index.js index d09d25b..9fbb7f0 100644 --- a/server/api/jira/index.js +++ b/server/api/jira/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x99bd=['express','Router','../../components/auth/service','send'];(function(_0x321bb2,_0x202794){var _0x9c12ed=function(_0x263dd3){while(--_0x263dd3){_0x321bb2['push'](_0x321bb2['shift']());}};_0x9c12ed(++_0x202794);}(_0x99bd,0xb4));var _0xd99b=function(_0x5a79e2,_0x319b1a){_0x5a79e2=_0x5a79e2-0x0;var _0x266c45=_0x99bd[_0x5a79e2];return _0x266c45;};'use strict';var express=require(_0xd99b('0x0'));var router=express[_0xd99b('0x1')]();var auth=require(_0xd99b('0x2'));var controller=require('./jira.controller');router['post']('/',auth['isAuthenticated'](),controller[_0xd99b('0x3')]);module['exports']=router; \ No newline at end of file +var _0xc023=['send','exports','../../components/auth/service','./jira.controller'];(function(_0x2f50af,_0x507d40){var _0x5c4279=function(_0x170ac8){while(--_0x170ac8){_0x2f50af['push'](_0x2f50af['shift']());}};_0x5c4279(++_0x507d40);}(_0xc023,0x162));var _0x3c02=function(_0x205852,_0x184d90){_0x205852=_0x205852-0x0;var _0x491d8d=_0xc023[_0x205852];return _0x491d8d;};'use strict';var express=require('express');var router=express['Router']();var auth=require(_0x3c02('0x0'));var controller=require(_0x3c02('0x1'));router['post']('/',auth['isAuthenticated'](),controller[_0x3c02('0x2')]);module[_0x3c02('0x3')]=router; \ No newline at end of file diff --git a/server/api/jira/jira.controller.js b/server/api/jira/jira.controller.js index eaccc60..92abc87 100644 --- a/server/api/jira/jira.controller.js +++ b/server/api/jira/jira.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xa8d4=['remoteAddress','bluebird','../../config/logger','api','3eAmWpBVP0','key','MOTGUI','summary','Report','issuetype','Bug','fields','customfield_11500','email','customfield_11501','oldToken','customfield_11502','newToken','name','customfield_11504','reason','track.xcallymotion.com','/rest/api/2/issue','POST','Basic\x20','toString','stringify','setEncoding','utf8','data','json','error','Error\x20during\x20license\x20request.\x20Please\x20contact\x20our\x20license\x20team\x20at\x20license@xcally.com\x20with\x20your\x20request','api.jira','write','openIssue','send','body','headers','connection','socket'];(function(_0x19b5be,_0x7f2fb4){var _0x4e7354=function(_0x397a50){while(--_0x397a50){_0x19b5be['push'](_0x19b5be['shift']());}};_0x4e7354(++_0x7f2fb4);}(_0xa8d4,0x7c));var _0x4a8d=function(_0x4e11d5,_0x1ce514){_0x4e11d5=_0x4e11d5-0x0;var _0x5e4e4c=_0xa8d4[_0x4e11d5];return _0x5e4e4c;};'use strict';var BPromise=require(_0x4a8d('0x0'));var https=require('https');var logger=require(_0x4a8d('0x1'))(_0x4a8d('0x2'));var USERNAME='support';var PASSWORD=_0x4a8d('0x3');function openIssue(_0x443668,_0x34c1ed){var _0x4d52cb={'fields':{'project':{'key':_0x443668[_0x4a8d('0x4')]||_0x4a8d('0x5')},'summary':(_0x443668[_0x4a8d('0x6')]||_0x4a8d('0x7'))+'\x20from\x20'+_0x443668['ip'],'description':_0x443668['description']||JSON['stringify'](_0x443668),'issuetype':{'name':_0x443668[_0x4a8d('0x8')]||_0x4a8d('0x9')}}};_0x4d52cb[_0x4a8d('0xa')][_0x4a8d('0xb')]=_0x443668[_0x4a8d('0xc')];_0x4d52cb['fields'][_0x4a8d('0xd')]=_0x443668[_0x4a8d('0xe')];_0x4d52cb['fields'][_0x4a8d('0xf')]=_0x443668[_0x4a8d('0x10')];_0x4d52cb[_0x4a8d('0xa')]['customfield_11503']=_0x443668[_0x4a8d('0x11')];_0x4d52cb[_0x4a8d('0xa')][_0x4a8d('0x12')]=_0x443668[_0x4a8d('0x13')];_0x4d52cb[_0x4a8d('0xa')]['customfield_10102']=_0x443668['ip'];var _0x5f1abc={'host':_0x4a8d('0x14'),'port':0x1bb,'path':_0x4a8d('0x15'),'method':_0x4a8d('0x16'),'timeout':0x4e20,'headers':{'Content-Type':'application/json','Authorization':_0x4a8d('0x17')+new Buffer(USERNAME+':'+PASSWORD)[_0x4a8d('0x18')]('base64')}};var _0xd465d=JSON[_0x4a8d('0x19')](_0x4d52cb);var _0x435a80=https['request'](_0x5f1abc,function(_0x14a38a){_0x14a38a[_0x4a8d('0x1a')](_0x4a8d('0x1b'));var _0x4b084b='';_0x14a38a['on'](_0x4a8d('0x1c'),function(_0x3a2a05){_0x4b084b+=_0x3a2a05;});_0x14a38a['on']('end',function(){if(_0x34c1ed){return _0x34c1ed['status'](_0x14a38a['statusCode'])[_0x4a8d('0x1d')](JSON['parse'](_0x4b084b));}});});_0x435a80['on'](_0x4a8d('0x1e'),function(_0x49fe9d){if(_0x34c1ed){return _0x34c1ed['status'](0x1f4)[_0x4a8d('0x1d')]({'errors':[{'message':_0x4a8d('0x1f'),'type':_0x4a8d('0x20')}]});}});_0x435a80[_0x4a8d('0x21')](_0xd465d);_0x435a80['end']();}exports[_0x4a8d('0x22')]=openIssue;exports[_0x4a8d('0x23')]=function(_0x4fe6f0,_0x4020ee){_0x4fe6f0[_0x4a8d('0x24')]['ip']=_0x4fe6f0[_0x4a8d('0x25')]['x-forwarded-for']||_0x4fe6f0[_0x4a8d('0x26')]['remoteAddress']||_0x4fe6f0[_0x4a8d('0x27')][_0x4a8d('0x28')]||_0x4fe6f0[_0x4a8d('0x26')]['socket'][_0x4a8d('0x28')];return openIssue(_0x4fe6f0[_0x4a8d('0x24')],_0x4020ee);}; \ No newline at end of file +var _0x6683=['status','statusCode','json','parse','error','Error\x20during\x20license\x20request.\x20Please\x20contact\x20our\x20license\x20team\x20at\x20license@xcally.com\x20with\x20your\x20request','api.jira','write','openIssue','send','body','headers','x-forwarded-for','connection','remoteAddress','socket','bluebird','https','../../config/logger','api','support','key','MOTGUI','Report','\x20from\x20','description','stringify','issuetype','Bug','fields','customfield_11500','email','customfield_11501','customfield_11502','newToken','customfield_11503','name','customfield_11504','customfield_10102','track.xcallymotion.com','/rest/api/2/issue','application/json','Basic\x20','toString','base64','setEncoding','utf8','data','end'];(function(_0x167cc1,_0x56ef5a){var _0x10bc4b=function(_0xd6a255){while(--_0xd6a255){_0x167cc1['push'](_0x167cc1['shift']());}};_0x10bc4b(++_0x56ef5a);}(_0x6683,0x198));var _0x3668=function(_0x5842c3,_0x56bd74){_0x5842c3=_0x5842c3-0x0;var _0x44bf8c=_0x6683[_0x5842c3];return _0x44bf8c;};'use strict';var BPromise=require(_0x3668('0x0'));var https=require(_0x3668('0x1'));var logger=require(_0x3668('0x2'))(_0x3668('0x3'));var USERNAME=_0x3668('0x4');var PASSWORD='3eAmWpBVP0';function openIssue(_0x459f8a,_0x2f6172){var _0x4d4766={'fields':{'project':{'key':_0x459f8a[_0x3668('0x5')]||_0x3668('0x6')},'summary':(_0x459f8a['summary']||_0x3668('0x7'))+_0x3668('0x8')+_0x459f8a['ip'],'description':_0x459f8a[_0x3668('0x9')]||JSON[_0x3668('0xa')](_0x459f8a),'issuetype':{'name':_0x459f8a[_0x3668('0xb')]||_0x3668('0xc')}}};_0x4d4766[_0x3668('0xd')][_0x3668('0xe')]=_0x459f8a[_0x3668('0xf')];_0x4d4766[_0x3668('0xd')][_0x3668('0x10')]=_0x459f8a['oldToken'];_0x4d4766[_0x3668('0xd')][_0x3668('0x11')]=_0x459f8a[_0x3668('0x12')];_0x4d4766[_0x3668('0xd')][_0x3668('0x13')]=_0x459f8a[_0x3668('0x14')];_0x4d4766[_0x3668('0xd')][_0x3668('0x15')]=_0x459f8a['reason'];_0x4d4766[_0x3668('0xd')][_0x3668('0x16')]=_0x459f8a['ip'];var _0x2cc141={'host':_0x3668('0x17'),'port':0x1bb,'path':_0x3668('0x18'),'method':'POST','timeout':0x4e20,'headers':{'Content-Type':_0x3668('0x19'),'Authorization':_0x3668('0x1a')+new Buffer(USERNAME+':'+PASSWORD)[_0x3668('0x1b')](_0x3668('0x1c'))}};var _0x162f71=JSON[_0x3668('0xa')](_0x4d4766);var _0x215023=https['request'](_0x2cc141,function(_0x8d9c72){_0x8d9c72[_0x3668('0x1d')](_0x3668('0x1e'));var _0x1aa780='';_0x8d9c72['on'](_0x3668('0x1f'),function(_0x4e76a5){_0x1aa780+=_0x4e76a5;});_0x8d9c72['on'](_0x3668('0x20'),function(){if(_0x2f6172){return _0x2f6172[_0x3668('0x21')](_0x8d9c72[_0x3668('0x22')])[_0x3668('0x23')](JSON[_0x3668('0x24')](_0x1aa780));}});});_0x215023['on'](_0x3668('0x25'),function(_0x33150e){if(_0x2f6172){return _0x2f6172[_0x3668('0x21')](0x1f4)[_0x3668('0x23')]({'errors':[{'message':_0x3668('0x26'),'type':_0x3668('0x27')}]});}});_0x215023[_0x3668('0x28')](_0x162f71);_0x215023[_0x3668('0x20')]();}exports[_0x3668('0x29')]=openIssue;exports[_0x3668('0x2a')]=function(_0x552be5,_0x59a759){_0x552be5[_0x3668('0x2b')]['ip']=_0x552be5[_0x3668('0x2c')][_0x3668('0x2d')]||_0x552be5[_0x3668('0x2e')][_0x3668('0x2f')]||_0x552be5['socket'][_0x3668('0x2f')]||_0x552be5[_0x3668('0x2e')][_0x3668('0x30')][_0x3668('0x2f')];return openIssue(_0x552be5[_0x3668('0x2b')],_0x59a759);}; \ No newline at end of file diff --git a/server/api/jscriptyAnswerReport/index.js b/server/api/jscriptyAnswerReport/index.js index 4de4981..063e3a3 100644 --- a/server/api/jscriptyAnswerReport/index.js +++ b/server/api/jscriptyAnswerReport/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x9aa5=['update','delete','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./jscriptyAnswerReport.controller','get','isAuthenticated','index','describe','/:id','show','post','put'];(function(_0x3ca131,_0x28f670){var _0x7f07b9=function(_0x5c946f){while(--_0x5c946f){_0x3ca131['push'](_0x3ca131['shift']());}};_0x7f07b9(++_0x28f670);}(_0x9aa5,0x13e));var _0x59aa=function(_0x49925f,_0x416467){_0x49925f=_0x49925f-0x0;var _0x50d813=_0x9aa5[_0x49925f];return _0x50d813;};'use strict';var multer=require(_0x59aa('0x0'));var util=require(_0x59aa('0x1'));var path=require(_0x59aa('0x2'));var timeout=require(_0x59aa('0x3'));var express=require(_0x59aa('0x4'));var router=express[_0x59aa('0x5')]();var auth=require(_0x59aa('0x6'));var interaction=require(_0x59aa('0x7'));var config=require(_0x59aa('0x8'));var controller=require(_0x59aa('0x9'));router[_0x59aa('0xa')]('/',auth[_0x59aa('0xb')](),controller[_0x59aa('0xc')]);router[_0x59aa('0xa')]('/describe',auth[_0x59aa('0xb')](),controller[_0x59aa('0xd')]);router[_0x59aa('0xa')](_0x59aa('0xe'),auth[_0x59aa('0xb')](),controller[_0x59aa('0xf')]);router[_0x59aa('0x10')]('/',auth[_0x59aa('0xb')](),controller['create']);router[_0x59aa('0x11')](_0x59aa('0xe'),auth[_0x59aa('0xb')](),controller[_0x59aa('0x12')]);router[_0x59aa('0x13')](_0x59aa('0xe'),auth[_0x59aa('0xb')](),controller['destroy']);module[_0x59aa('0x14')]=router; \ No newline at end of file +var _0x1ad6=['connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./jscriptyAnswerReport.controller','index','get','isAuthenticated','/:id','show','post','put','update','destroy','exports','path'];(function(_0xe8360c,_0x4b51d5){var _0x377630=function(_0x2561a9){while(--_0x2561a9){_0xe8360c['push'](_0xe8360c['shift']());}};_0x377630(++_0x4b51d5);}(_0x1ad6,0x18b));var _0x61ad=function(_0x499950,_0x507862){_0x499950=_0x499950-0x0;var _0x1db144=_0x1ad6[_0x499950];return _0x1db144;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x61ad('0x0'));var timeout=require(_0x61ad('0x1'));var express=require(_0x61ad('0x2'));var router=express[_0x61ad('0x3')]();var auth=require(_0x61ad('0x4'));var interaction=require(_0x61ad('0x5'));var config=require(_0x61ad('0x6'));var controller=require(_0x61ad('0x7'));router['get']('/',auth['isAuthenticated'](),controller[_0x61ad('0x8')]);router[_0x61ad('0x9')]('/describe',auth[_0x61ad('0xa')](),controller['describe']);router['get'](_0x61ad('0xb'),auth[_0x61ad('0xa')](),controller[_0x61ad('0xc')]);router[_0x61ad('0xd')]('/',auth['isAuthenticated'](),controller['create']);router[_0x61ad('0xe')]('/:id',auth[_0x61ad('0xa')](),controller[_0x61ad('0xf')]);router['delete'](_0x61ad('0xb'),auth['isAuthenticated'](),controller[_0x61ad('0x10')]);module[_0x61ad('0x11')]=router; \ No newline at end of file diff --git a/server/api/jscriptyAnswerReport/jscriptyAnswerReport.attributes.js b/server/api/jscriptyAnswerReport/jscriptyAnswerReport.attributes.js index 4b9ddce..6de9284 100644 --- a/server/api/jscriptyAnswerReport/jscriptyAnswerReport.attributes.js +++ b/server/api/jscriptyAnswerReport/jscriptyAnswerReport.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xb542=['exports','STRING','TEXT'];(function(_0x5dc1cb,_0x1dd487){var _0x5df13f=function(_0x20a271){while(--_0x20a271){_0x5dc1cb['push'](_0x5dc1cb['shift']());}};_0x5df13f(++_0x1dd487);}(_0xb542,0x14d));var _0x2b54=function(_0x112c09,_0x3c6b37){_0x112c09=_0x112c09-0x0;var _0x18fc72=_0xb542[_0x112c09];return _0x18fc72;};'use strict';var Sequelize=require('sequelize');module[_0x2b54('0x0')]={'question':{'type':Sequelize[_0x2b54('0x1')]},'answer':{'type':Sequelize[_0x2b54('0x2')]('long')},'membername':{'type':Sequelize['STRING']},'projectname':{'type':Sequelize['STRING']},'queue':{'type':Sequelize[_0x2b54('0x1')]},'uniqueid':{'type':Sequelize[_0x2b54('0x1')]},'calleridname':{'type':Sequelize[_0x2b54('0x1')]},'calleridnum':{'type':Sequelize[_0x2b54('0x1')]},'questionId':{'type':Sequelize[_0x2b54('0x1')]}}; \ No newline at end of file +var _0x3ce1=['sequelize','exports','TEXT','STRING'];(function(_0x363ef8,_0x4ecb1a){var _0x148822=function(_0x232634){while(--_0x232634){_0x363ef8['push'](_0x363ef8['shift']());}};_0x148822(++_0x4ecb1a);}(_0x3ce1,0x6c));var _0x13ce=function(_0x5d14a5,_0x377e27){_0x5d14a5=_0x5d14a5-0x0;var _0x33c404=_0x3ce1[_0x5d14a5];return _0x33c404;};'use strict';var Sequelize=require(_0x13ce('0x0'));module[_0x13ce('0x1')]={'question':{'type':Sequelize['STRING']},'answer':{'type':Sequelize[_0x13ce('0x2')]('long')},'membername':{'type':Sequelize['STRING']},'projectname':{'type':Sequelize[_0x13ce('0x3')]},'queue':{'type':Sequelize['STRING']},'uniqueid':{'type':Sequelize[_0x13ce('0x3')]},'calleridname':{'type':Sequelize[_0x13ce('0x3')]},'calleridnum':{'type':Sequelize[_0x13ce('0x3')]},'questionId':{'type':Sequelize[_0x13ce('0x3')]}}; \ No newline at end of file diff --git a/server/api/jscriptyAnswerReport/jscriptyAnswerReport.controller.js b/server/api/jscriptyAnswerReport/jscriptyAnswerReport.controller.js index f549ff5..a9294e2 100644 --- a/server/api/jscriptyAnswerReport/jscriptyAnswerReport.controller.js +++ b/server/api/jscriptyAnswerReport/jscriptyAnswerReport.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x7a49=['papaparse','../../components/auth/service','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','status','json','count','offset','Content-Range','apply','reject','save','update','then','destroy','end','error','name','send','index','JscriptyAnswerReport','rawAttributes','fieldName','type','key','model','query','keys','intersection','fields','attributes','length','nolimit','limit','order','sort','where','filters','pick','filter','merge','VIRTUAL','options','includeAll','include','rows','catch','show','params','find','create','body','describe','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','mustache','util','path','sox','to-csv','ejs','lodash','squel','crypto','jsforce','desk.js','querystring'];(function(_0x2c8d3c,_0x34deb1){var _0x4b6b2d=function(_0x34b384){while(--_0x34b384){_0x2c8d3c['push'](_0x2c8d3c['shift']());}};_0x4b6b2d(++_0x34deb1);}(_0x7a49,0xd6));var _0x97a4=function(_0x4da673,_0x4fde6e){_0x4da673=_0x4da673-0x0;var _0x4a956c=_0x7a49[_0x4da673];return _0x4a956c;};'use strict';var pdf=require(_0x97a4('0x0'));var emlformat=require(_0x97a4('0x1'));var rimraf=require(_0x97a4('0x2'));var zipdir=require(_0x97a4('0x3'));var jsonpatch=require(_0x97a4('0x4'));var rp=require(_0x97a4('0x5'));var moment=require(_0x97a4('0x6'));var BPromise=require(_0x97a4('0x7'));var Mustache=require(_0x97a4('0x8'));var util=require(_0x97a4('0x9'));var path=require(_0x97a4('0xa'));var sox=require(_0x97a4('0xb'));var csv=require(_0x97a4('0xc'));var ejs=require(_0x97a4('0xd'));var fs=require('fs');var _=require(_0x97a4('0xe'));var squel=require(_0x97a4('0xf'));var crypto=require(_0x97a4('0x10'));var jsforce=require(_0x97a4('0x11'));var deskjs=require(_0x97a4('0x12'));var toCsv=require(_0x97a4('0xc'));var querystring=require(_0x97a4('0x13'));var Papa=require(_0x97a4('0x14'));var Redis=require('ioredis');var authService=require(_0x97a4('0x15'));var qs=require('../../components/parsers/qs');var as=require(_0x97a4('0x16'));var hardwareService=require(_0x97a4('0x17'));var logger=require(_0x97a4('0x18'))(_0x97a4('0x19'));var utils=require(_0x97a4('0x1a'));var config=require(_0x97a4('0x1b'));var db=require(_0x97a4('0x1c'))['db'];function respondWithStatusCode(_0x59fbbe,_0x317999){_0x317999=_0x317999||0xcc;return function(_0x470c4b){if(_0x470c4b){return _0x59fbbe['sendStatus'](_0x317999);}return _0x59fbbe[_0x97a4('0x1d')](_0x317999)['end']();};}function respondWithResult(_0x22fc0a,_0xf74381){_0xf74381=_0xf74381||0xc8;return function(_0x10c49e){if(_0x10c49e){return _0x22fc0a[_0x97a4('0x1d')](_0xf74381)[_0x97a4('0x1e')](_0x10c49e);}};}function respondWithFilteredResult(_0x2570ab,_0x5aee8e){return function(_0x5bbfbc){if(_0x5bbfbc){var _0x3c13b1=_0x5bbfbc[_0x97a4('0x1f')],_0x401213=_0x5aee8e[_0x97a4('0x20')],_0x35ce37=_0x5aee8e[_0x97a4('0x20')]+_0x5aee8e['limit'],_0x2ac028;if(_0x35ce37>=_0x3c13b1){_0x35ce37=_0x3c13b1;_0x2ac028=0xc8;}else{_0x2ac028=0xce;}_0x2570ab[_0x97a4('0x1d')](_0x2ac028);return _0x2570ab['set'](_0x97a4('0x21'),_0x401213+'-'+_0x35ce37+'/'+_0x3c13b1)[_0x97a4('0x1e')](_0x5bbfbc);}return null;};}function patchUpdates(_0x3edb95){return function(_0x5bc26f){try{jsonpatch[_0x97a4('0x22')](_0x5bc26f,_0x3edb95,!![]);}catch(_0x40237b){return BPromise[_0x97a4('0x23')](_0x40237b);}return _0x5bc26f[_0x97a4('0x24')]();};}function saveUpdates(_0x272c9f,_0x209654){return function(_0x208974){if(_0x208974){return _0x208974[_0x97a4('0x25')](_0x272c9f)[_0x97a4('0x26')](function(_0x16b7e4){return _0x16b7e4;});}return null;};}function removeEntity(_0x1cfa0a,_0x179e8d){return function(_0x30413e){if(_0x30413e){return _0x30413e[_0x97a4('0x27')]()['then'](function(){_0x1cfa0a[_0x97a4('0x1d')](0xcc)[_0x97a4('0x28')]();});}};}function handleEntityNotFound(_0x5fb0bc,_0x5471a9){return function(_0x337c39){if(!_0x337c39){_0x5fb0bc['sendStatus'](0x194);}return _0x337c39;};}function handleError(_0x22688e,_0xa757be){_0xa757be=_0xa757be||0x1f4;return function(_0x4ba236){logger[_0x97a4('0x29')](_0x4ba236['stack']);if(_0x4ba236['name']){delete _0x4ba236[_0x97a4('0x2a')];}_0x22688e[_0x97a4('0x1d')](_0xa757be)[_0x97a4('0x2b')](_0x4ba236);};}exports[_0x97a4('0x2c')]=function(_0x49e3cc,_0x1ecf35){var _0x379c82={},_0x461455={},_0x6844da={'count':0x0,'rows':[]};var _0x4d0b86=_['map'](db[_0x97a4('0x2d')][_0x97a4('0x2e')],function(_0x1ea402){return{'name':_0x1ea402[_0x97a4('0x2f')],'type':_0x1ea402[_0x97a4('0x30')][_0x97a4('0x31')]};});_0x461455[_0x97a4('0x32')]=_['map'](_0x4d0b86,_0x97a4('0x2a'));_0x461455[_0x97a4('0x33')]=_[_0x97a4('0x34')](_0x49e3cc[_0x97a4('0x33')]);_0x461455['filters']=_[_0x97a4('0x35')](_0x461455[_0x97a4('0x32')],_0x461455['query']);_0x379c82['attributes']=_[_0x97a4('0x35')](_0x461455[_0x97a4('0x32')],qs[_0x97a4('0x36')](_0x49e3cc[_0x97a4('0x33')][_0x97a4('0x36')]));_0x379c82[_0x97a4('0x37')]=_0x379c82['attributes'][_0x97a4('0x38')]?_0x379c82[_0x97a4('0x37')]:_0x461455[_0x97a4('0x32')];if(!_0x49e3cc[_0x97a4('0x33')]['hasOwnProperty'](_0x97a4('0x39'))){_0x379c82[_0x97a4('0x3a')]=qs[_0x97a4('0x3a')](_0x49e3cc[_0x97a4('0x33')][_0x97a4('0x3a')]);_0x379c82[_0x97a4('0x20')]=qs['offset'](_0x49e3cc[_0x97a4('0x33')][_0x97a4('0x20')]);}_0x379c82[_0x97a4('0x3b')]=qs['sort'](_0x49e3cc[_0x97a4('0x33')][_0x97a4('0x3c')]);_0x379c82[_0x97a4('0x3d')]=qs[_0x97a4('0x3e')](_[_0x97a4('0x3f')](_0x49e3cc['query'],_0x461455[_0x97a4('0x3e')]),_0x4d0b86);if(_0x49e3cc[_0x97a4('0x33')][_0x97a4('0x40')]){_0x379c82[_0x97a4('0x3d')]=_[_0x97a4('0x41')](_0x379c82['where'],{'$or':_['map'](_0x4d0b86,function(_0x3b9b46){if(_0x3b9b46[_0x97a4('0x30')]!==_0x97a4('0x42')){var _0x176870={};_0x176870[_0x3b9b46[_0x97a4('0x2a')]]={'$like':'%'+_0x49e3cc[_0x97a4('0x33')]['filter']+'%'};return _0x176870;}})});}_0x379c82=_['merge']({},_0x379c82,_0x49e3cc[_0x97a4('0x43')]);var _0x28d5a3={'where':_0x379c82[_0x97a4('0x3d')]};return db[_0x97a4('0x2d')][_0x97a4('0x1f')](_0x28d5a3)['then'](function(_0x7c3d86){_0x6844da['count']=_0x7c3d86;if(_0x49e3cc[_0x97a4('0x33')][_0x97a4('0x44')]){_0x379c82[_0x97a4('0x45')]=[{'all':!![]}];}return db[_0x97a4('0x2d')]['findAll'](_0x379c82);})[_0x97a4('0x26')](function(_0x4fa105){_0x6844da[_0x97a4('0x46')]=_0x4fa105;return _0x6844da;})[_0x97a4('0x26')](respondWithFilteredResult(_0x1ecf35,_0x379c82))[_0x97a4('0x47')](handleError(_0x1ecf35,null));};exports[_0x97a4('0x48')]=function(_0x230495,_0x45d346){var _0xb7c450={'raw':!![],'where':{'id':_0x230495[_0x97a4('0x49')]['id']}},_0x45e060={};_0x45e060[_0x97a4('0x32')]=_['keys'](db[_0x97a4('0x2d')][_0x97a4('0x2e')]);_0x45e060[_0x97a4('0x33')]=_['keys'](_0x230495['query']);_0x45e060[_0x97a4('0x3e')]=_[_0x97a4('0x35')](_0x45e060['model'],_0x45e060[_0x97a4('0x33')]);_0xb7c450['attributes']=_[_0x97a4('0x35')](_0x45e060['model'],qs[_0x97a4('0x36')](_0x230495[_0x97a4('0x33')][_0x97a4('0x36')]));_0xb7c450[_0x97a4('0x37')]=_0xb7c450[_0x97a4('0x37')][_0x97a4('0x38')]?_0xb7c450['attributes']:_0x45e060[_0x97a4('0x32')];if(_0x230495[_0x97a4('0x33')]['includeAll']){_0xb7c450['include']=[{'all':!![]}];}_0xb7c450=_[_0x97a4('0x41')]({},_0xb7c450,_0x230495[_0x97a4('0x43')]);return db[_0x97a4('0x2d')][_0x97a4('0x4a')](_0xb7c450)['then'](handleEntityNotFound(_0x45d346,null))['then'](respondWithResult(_0x45d346,null))['catch'](handleError(_0x45d346,null));};exports[_0x97a4('0x4b')]=function(_0x646c9b,_0x964d61){return db[_0x97a4('0x2d')][_0x97a4('0x4b')](_0x646c9b['body'],{})[_0x97a4('0x26')](respondWithResult(_0x964d61,0xc9))['catch'](handleError(_0x964d61,null));};exports[_0x97a4('0x25')]=function(_0x3ef25e,_0xd6ae84){if(_0x3ef25e[_0x97a4('0x4c')]['id']){delete _0x3ef25e[_0x97a4('0x4c')]['id'];}return db[_0x97a4('0x2d')][_0x97a4('0x4a')]({'where':{'id':_0x3ef25e[_0x97a4('0x49')]['id']}})[_0x97a4('0x26')](handleEntityNotFound(_0xd6ae84,null))[_0x97a4('0x26')](saveUpdates(_0x3ef25e[_0x97a4('0x4c')],null))[_0x97a4('0x26')](respondWithResult(_0xd6ae84,null))[_0x97a4('0x47')](handleError(_0xd6ae84,null));};exports[_0x97a4('0x27')]=function(_0x10f418,_0x128b3f){return db['JscriptyAnswerReport'][_0x97a4('0x4a')]({'where':{'id':_0x10f418[_0x97a4('0x49')]['id']}})['then'](handleEntityNotFound(_0x128b3f,null))['then'](removeEntity(_0x128b3f,null))[_0x97a4('0x47')](handleError(_0x128b3f,null));};exports[_0x97a4('0x4d')]=function(_0x56524b,_0x30f973){return db['JscriptyAnswerReport']['describe']()[_0x97a4('0x26')](respondWithResult(_0x30f973,null))[_0x97a4('0x47')](handleError(_0x30f973,null));}; \ No newline at end of file +var _0xc3e0=['includeAll','create','body','find','destroy','describe','html-pdf','eml-format','rimraf','request-promise','moment','bluebird','path','to-csv','ejs','lodash','crypto','jsforce','querystring','papaparse','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','sendStatus','status','count','offset','limit','set','Content-Range','json','apply','reject','save','update','then','end','error','stack','name','index','JscriptyAnswerReport','rawAttributes','fieldName','type','key','model','map','query','keys','filters','intersection','attributes','fields','length','nolimit','order','sort','where','pick','filter','VIRTUAL','merge','options','include','findAll','rows','catch','show','params'];(function(_0x3ab51d,_0x2fa01d){var _0x29a04e=function(_0x7807b0){while(--_0x7807b0){_0x3ab51d['push'](_0x3ab51d['shift']());}};_0x29a04e(++_0x2fa01d);}(_0xc3e0,0x132));var _0x0c3e=function(_0x15b8f5,_0x43ed6c){_0x15b8f5=_0x15b8f5-0x0;var _0x154bf9=_0xc3e0[_0x15b8f5];return _0x154bf9;};'use strict';var pdf=require(_0x0c3e('0x0'));var emlformat=require(_0x0c3e('0x1'));var rimraf=require(_0x0c3e('0x2'));var zipdir=require('zip-dir');var jsonpatch=require('fast-json-patch');var rp=require(_0x0c3e('0x3'));var moment=require(_0x0c3e('0x4'));var BPromise=require(_0x0c3e('0x5'));var Mustache=require('mustache');var util=require('util');var path=require(_0x0c3e('0x6'));var sox=require('sox');var csv=require(_0x0c3e('0x7'));var ejs=require(_0x0c3e('0x8'));var fs=require('fs');var _=require(_0x0c3e('0x9'));var squel=require('squel');var crypto=require(_0x0c3e('0xa'));var jsforce=require(_0x0c3e('0xb'));var deskjs=require('desk.js');var toCsv=require(_0x0c3e('0x7'));var querystring=require(_0x0c3e('0xc'));var Papa=require(_0x0c3e('0xd'));var Redis=require('ioredis');var authService=require('../../components/auth/service');var qs=require(_0x0c3e('0xe'));var as=require(_0x0c3e('0xf'));var hardwareService=require(_0x0c3e('0x10'));var logger=require(_0x0c3e('0x11'))(_0x0c3e('0x12'));var utils=require(_0x0c3e('0x13'));var config=require(_0x0c3e('0x14'));var db=require(_0x0c3e('0x15'))['db'];function respondWithStatusCode(_0x59851b,_0x392a8b){_0x392a8b=_0x392a8b||0xcc;return function(_0x372a82){if(_0x372a82){return _0x59851b[_0x0c3e('0x16')](_0x392a8b);}return _0x59851b[_0x0c3e('0x17')](_0x392a8b)['end']();};}function respondWithResult(_0x376047,_0xb3e71e){_0xb3e71e=_0xb3e71e||0xc8;return function(_0x58c56d){if(_0x58c56d){return _0x376047[_0x0c3e('0x17')](_0xb3e71e)['json'](_0x58c56d);}};}function respondWithFilteredResult(_0x292b3a,_0x3243d4){return function(_0x2628f4){if(_0x2628f4){var _0x373f0c=_0x2628f4[_0x0c3e('0x18')],_0x2175bc=_0x3243d4[_0x0c3e('0x19')],_0x3db942=_0x3243d4[_0x0c3e('0x19')]+_0x3243d4[_0x0c3e('0x1a')],_0x4a2ee0;if(_0x3db942>=_0x373f0c){_0x3db942=_0x373f0c;_0x4a2ee0=0xc8;}else{_0x4a2ee0=0xce;}_0x292b3a[_0x0c3e('0x17')](_0x4a2ee0);return _0x292b3a[_0x0c3e('0x1b')](_0x0c3e('0x1c'),_0x2175bc+'-'+_0x3db942+'/'+_0x373f0c)[_0x0c3e('0x1d')](_0x2628f4);}return null;};}function patchUpdates(_0x2dfa45){return function(_0x326203){try{jsonpatch[_0x0c3e('0x1e')](_0x326203,_0x2dfa45,!![]);}catch(_0x482013){return BPromise[_0x0c3e('0x1f')](_0x482013);}return _0x326203[_0x0c3e('0x20')]();};}function saveUpdates(_0x2f22d4,_0x25a803){return function(_0x231247){if(_0x231247){return _0x231247[_0x0c3e('0x21')](_0x2f22d4)['then'](function(_0x4db67d){return _0x4db67d;});}return null;};}function removeEntity(_0x2726e9,_0x1d740f){return function(_0x6907be){if(_0x6907be){return _0x6907be['destroy']()[_0x0c3e('0x22')](function(){_0x2726e9[_0x0c3e('0x17')](0xcc)[_0x0c3e('0x23')]();});}};}function handleEntityNotFound(_0x3d1850,_0x23a772){return function(_0x26436d){if(!_0x26436d){_0x3d1850[_0x0c3e('0x16')](0x194);}return _0x26436d;};}function handleError(_0x2c512c,_0x540822){_0x540822=_0x540822||0x1f4;return function(_0x48644a){logger[_0x0c3e('0x24')](_0x48644a[_0x0c3e('0x25')]);if(_0x48644a['name']){delete _0x48644a[_0x0c3e('0x26')];}_0x2c512c[_0x0c3e('0x17')](_0x540822)['send'](_0x48644a);};}exports[_0x0c3e('0x27')]=function(_0x2ddec4,_0x48e009){var _0x2b2c00={},_0x291020={},_0x3d5f35={'count':0x0,'rows':[]};var _0x1f0eac=_['map'](db[_0x0c3e('0x28')][_0x0c3e('0x29')],function(_0x424007){return{'name':_0x424007[_0x0c3e('0x2a')],'type':_0x424007[_0x0c3e('0x2b')][_0x0c3e('0x2c')]};});_0x291020[_0x0c3e('0x2d')]=_[_0x0c3e('0x2e')](_0x1f0eac,'name');_0x291020[_0x0c3e('0x2f')]=_[_0x0c3e('0x30')](_0x2ddec4[_0x0c3e('0x2f')]);_0x291020[_0x0c3e('0x31')]=_[_0x0c3e('0x32')](_0x291020['model'],_0x291020['query']);_0x2b2c00[_0x0c3e('0x33')]=_[_0x0c3e('0x32')](_0x291020[_0x0c3e('0x2d')],qs[_0x0c3e('0x34')](_0x2ddec4[_0x0c3e('0x2f')][_0x0c3e('0x34')]));_0x2b2c00[_0x0c3e('0x33')]=_0x2b2c00[_0x0c3e('0x33')][_0x0c3e('0x35')]?_0x2b2c00['attributes']:_0x291020[_0x0c3e('0x2d')];if(!_0x2ddec4[_0x0c3e('0x2f')]['hasOwnProperty'](_0x0c3e('0x36'))){_0x2b2c00[_0x0c3e('0x1a')]=qs[_0x0c3e('0x1a')](_0x2ddec4[_0x0c3e('0x2f')][_0x0c3e('0x1a')]);_0x2b2c00[_0x0c3e('0x19')]=qs[_0x0c3e('0x19')](_0x2ddec4['query'][_0x0c3e('0x19')]);}_0x2b2c00[_0x0c3e('0x37')]=qs['sort'](_0x2ddec4[_0x0c3e('0x2f')][_0x0c3e('0x38')]);_0x2b2c00[_0x0c3e('0x39')]=qs[_0x0c3e('0x31')](_[_0x0c3e('0x3a')](_0x2ddec4[_0x0c3e('0x2f')],_0x291020[_0x0c3e('0x31')]),_0x1f0eac);if(_0x2ddec4[_0x0c3e('0x2f')][_0x0c3e('0x3b')]){_0x2b2c00[_0x0c3e('0x39')]=_['merge'](_0x2b2c00[_0x0c3e('0x39')],{'$or':_['map'](_0x1f0eac,function(_0x10bb8b){if(_0x10bb8b[_0x0c3e('0x2b')]!==_0x0c3e('0x3c')){var _0x3d6257={};_0x3d6257[_0x10bb8b['name']]={'$like':'%'+_0x2ddec4[_0x0c3e('0x2f')][_0x0c3e('0x3b')]+'%'};return _0x3d6257;}})});}_0x2b2c00=_[_0x0c3e('0x3d')]({},_0x2b2c00,_0x2ddec4[_0x0c3e('0x3e')]);var _0x45428a={'where':_0x2b2c00[_0x0c3e('0x39')]};return db[_0x0c3e('0x28')][_0x0c3e('0x18')](_0x45428a)[_0x0c3e('0x22')](function(_0xb24207){_0x3d5f35['count']=_0xb24207;if(_0x2ddec4[_0x0c3e('0x2f')]['includeAll']){_0x2b2c00[_0x0c3e('0x3f')]=[{'all':!![]}];}return db[_0x0c3e('0x28')][_0x0c3e('0x40')](_0x2b2c00);})[_0x0c3e('0x22')](function(_0x279247){_0x3d5f35[_0x0c3e('0x41')]=_0x279247;return _0x3d5f35;})[_0x0c3e('0x22')](respondWithFilteredResult(_0x48e009,_0x2b2c00))[_0x0c3e('0x42')](handleError(_0x48e009,null));};exports[_0x0c3e('0x43')]=function(_0x917747,_0x29de1d){var _0x2d3e8e={'raw':!![],'where':{'id':_0x917747[_0x0c3e('0x44')]['id']}},_0x443805={};_0x443805[_0x0c3e('0x2d')]=_[_0x0c3e('0x30')](db[_0x0c3e('0x28')]['rawAttributes']);_0x443805['query']=_[_0x0c3e('0x30')](_0x917747['query']);_0x443805[_0x0c3e('0x31')]=_[_0x0c3e('0x32')](_0x443805['model'],_0x443805[_0x0c3e('0x2f')]);_0x2d3e8e['attributes']=_['intersection'](_0x443805[_0x0c3e('0x2d')],qs[_0x0c3e('0x34')](_0x917747[_0x0c3e('0x2f')][_0x0c3e('0x34')]));_0x2d3e8e[_0x0c3e('0x33')]=_0x2d3e8e[_0x0c3e('0x33')][_0x0c3e('0x35')]?_0x2d3e8e[_0x0c3e('0x33')]:_0x443805[_0x0c3e('0x2d')];if(_0x917747[_0x0c3e('0x2f')][_0x0c3e('0x45')]){_0x2d3e8e[_0x0c3e('0x3f')]=[{'all':!![]}];}_0x2d3e8e=_[_0x0c3e('0x3d')]({},_0x2d3e8e,_0x917747[_0x0c3e('0x3e')]);return db['JscriptyAnswerReport']['find'](_0x2d3e8e)[_0x0c3e('0x22')](handleEntityNotFound(_0x29de1d,null))['then'](respondWithResult(_0x29de1d,null))[_0x0c3e('0x42')](handleError(_0x29de1d,null));};exports[_0x0c3e('0x46')]=function(_0x36a4e3,_0x228bea){return db[_0x0c3e('0x28')]['create'](_0x36a4e3[_0x0c3e('0x47')],{})['then'](respondWithResult(_0x228bea,0xc9))[_0x0c3e('0x42')](handleError(_0x228bea,null));};exports[_0x0c3e('0x21')]=function(_0x182930,_0x907270){if(_0x182930['body']['id']){delete _0x182930[_0x0c3e('0x47')]['id'];}return db['JscriptyAnswerReport'][_0x0c3e('0x48')]({'where':{'id':_0x182930[_0x0c3e('0x44')]['id']}})[_0x0c3e('0x22')](handleEntityNotFound(_0x907270,null))[_0x0c3e('0x22')](saveUpdates(_0x182930[_0x0c3e('0x47')],null))[_0x0c3e('0x22')](respondWithResult(_0x907270,null))[_0x0c3e('0x42')](handleError(_0x907270,null));};exports[_0x0c3e('0x49')]=function(_0x18eb88,_0xf2efc5){return db[_0x0c3e('0x28')][_0x0c3e('0x48')]({'where':{'id':_0x18eb88['params']['id']}})[_0x0c3e('0x22')](handleEntityNotFound(_0xf2efc5,null))[_0x0c3e('0x22')](removeEntity(_0xf2efc5,null))['catch'](handleError(_0xf2efc5,null));};exports[_0x0c3e('0x4a')]=function(_0x10f374,_0x5ee468){return db[_0x0c3e('0x28')][_0x0c3e('0x4a')]()['then'](respondWithResult(_0x5ee468,null))[_0x0c3e('0x42')](handleError(_0x5ee468,null));}; \ No newline at end of file diff --git a/server/api/jscriptyAnswerReport/jscriptyAnswerReport.model.js b/server/api/jscriptyAnswerReport/jscriptyAnswerReport.model.js index 386eae4..43973bb 100644 --- a/server/api/jscriptyAnswerReport/jscriptyAnswerReport.model.js +++ b/server/api/jscriptyAnswerReport/jscriptyAnswerReport.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x5606=['define','JscriptyAnswerReport','report_jscripty_answers','lodash','util','api','moment','bluebird','./jscriptyAnswerReport.attributes','exports'];(function(_0x24923e,_0x20b3a3){var _0x32f863=function(_0x459478){while(--_0x459478){_0x24923e['push'](_0x24923e['shift']());}};_0x32f863(++_0x20b3a3);}(_0x5606,0x1c5));var _0x6560=function(_0x12c0cd,_0x5995e7){_0x12c0cd=_0x12c0cd-0x0;var _0x1610a8=_0x5606[_0x12c0cd];return _0x1610a8;};'use strict';var _=require(_0x6560('0x0'));var util=require(_0x6560('0x1'));var logger=require('../../config/logger')(_0x6560('0x2'));var moment=require(_0x6560('0x3'));var BPromise=require(_0x6560('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x6560('0x5'));module[_0x6560('0x6')]=function(_0x4ab89c,_0x598f90){return _0x4ab89c[_0x6560('0x7')](_0x6560('0x8'),attributes,{'tableName':_0x6560('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0xc9d5=['lodash','util','../../config/logger','api','request-promise','rimraf','../../config/environment','./jscriptyAnswerReport.attributes','exports','define','JscriptyAnswerReport','report_jscripty_answers'];(function(_0x178c82,_0x58bbfe){var _0x384d64=function(_0x4953f8){while(--_0x4953f8){_0x178c82['push'](_0x178c82['shift']());}};_0x384d64(++_0x58bbfe);}(_0xc9d5,0xb4));var _0x5c9d=function(_0x448bba,_0x1d1c8d){_0x448bba=_0x448bba-0x0;var _0x42a146=_0xc9d5[_0x448bba];return _0x42a146;};'use strict';var _=require(_0x5c9d('0x0'));var util=require(_0x5c9d('0x1'));var logger=require(_0x5c9d('0x2'))(_0x5c9d('0x3'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x5c9d('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x5c9d('0x5'));var config=require(_0x5c9d('0x6'));var attributes=require(_0x5c9d('0x7'));module[_0x5c9d('0x8')]=function(_0x38619d,_0x2fcfd1){return _0x38619d[_0x5c9d('0x9')](_0x5c9d('0xa'),attributes,{'tableName':_0x5c9d('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/jscriptyAnswerReport/jscriptyAnswerReport.rpc.js b/server/api/jscriptyAnswerReport/jscriptyAnswerReport.rpc.js index 20574b7..8cab60f 100644 --- a/server/api/jscriptyAnswerReport/jscriptyAnswerReport.rpc.js +++ b/server/api/jscriptyAnswerReport/jscriptyAnswerReport.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x67cb=['bluebird','randomstring','ioredis','../../mysqldb','../../config/environment','jayson/promise','client','http','request','then','info','request\x20sent','debug','JscriptyAnswerReport,\x20%s,\x20%s,\x20%s','stringify','error','message','JscriptyAnswerReport,\x20%s,\x20%s','result','catch','lodash','util','moment'];(function(_0x226584,_0x26bd0f){var _0x22baa5=function(_0xd14e0){while(--_0xd14e0){_0x226584['push'](_0x226584['shift']());}};_0x22baa5(++_0x26bd0f);}(_0x67cb,0xfa));var _0xb67c=function(_0x9e0cb3,_0x9cd497){_0x9e0cb3=_0x9e0cb3-0x0;var _0x5926b7=_0x67cb[_0x9e0cb3];return _0x5926b7;};'use strict';var _=require(_0xb67c('0x0'));var util=require(_0xb67c('0x1'));var moment=require(_0xb67c('0x2'));var BPromise=require(_0xb67c('0x3'));var rs=require(_0xb67c('0x4'));var fs=require('fs');var Redis=require(_0xb67c('0x5'));var db=require(_0xb67c('0x6'))['db'];var utils=require('../../config/utils');var logger=require('../../config/logger')('rpc');var config=require(_0xb67c('0x7'));var jayson=require(_0xb67c('0x8'));var client=jayson[_0xb67c('0x9')][_0xb67c('0xa')]({'port':0x232a});function respondWithRpcPromise(_0x771a69,_0x1969b0,_0x2d4233){return new BPromise(function(_0x58bb23,_0x32ad27){return client[_0xb67c('0xb')](_0x771a69,_0x2d4233)[_0xb67c('0xc')](function(_0x335621){logger[_0xb67c('0xd')]('JscriptyAnswerReport,\x20%s,\x20%s',_0x1969b0,_0xb67c('0xe'));logger[_0xb67c('0xf')](_0xb67c('0x10'),_0x1969b0,'request\x20sent',JSON[_0xb67c('0x11')](_0x335621));if(_0x335621[_0xb67c('0x12')]){if(_0x335621[_0xb67c('0x12')]['code']===0x1f4){logger['error']('JscriptyAnswerReport,\x20%s,\x20%s',_0x1969b0,_0x335621['error'][_0xb67c('0x13')]);return _0x32ad27(_0x335621[_0xb67c('0x12')][_0xb67c('0x13')]);}logger[_0xb67c('0x12')](_0xb67c('0x14'),_0x1969b0,_0x335621['error'][_0xb67c('0x13')]);return _0x58bb23(_0x335621[_0xb67c('0x12')][_0xb67c('0x13')]);}else{logger['info']('JscriptyAnswerReport,\x20%s,\x20%s',_0x1969b0,'request\x20sent');_0x58bb23(_0x335621[_0xb67c('0x15')][_0xb67c('0x13')]);}})[_0xb67c('0x16')](function(_0x434824){logger[_0xb67c('0x12')](_0xb67c('0x14'),_0x1969b0,_0x434824);_0x32ad27(_0x434824);});});} \ No newline at end of file +var _0x952e=['bluebird','randomstring','ioredis','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','http','request','then','JscriptyAnswerReport,\x20%s,\x20%s','request\x20sent','debug','JscriptyAnswerReport,\x20%s,\x20%s,\x20%s','stringify','error','code','message','info','result','catch','lodash','util','moment'];(function(_0x209b9d,_0x34b51d){var _0xf90900=function(_0x5b8216){while(--_0x5b8216){_0x209b9d['push'](_0x209b9d['shift']());}};_0xf90900(++_0x34b51d);}(_0x952e,0x174));var _0xe952=function(_0x5c30a9,_0x5b1dfe){_0x5c30a9=_0x5c30a9-0x0;var _0x4a91d9=_0x952e[_0x5c30a9];return _0x4a91d9;};'use strict';var _=require(_0xe952('0x0'));var util=require(_0xe952('0x1'));var moment=require(_0xe952('0x2'));var BPromise=require(_0xe952('0x3'));var rs=require(_0xe952('0x4'));var fs=require('fs');var Redis=require(_0xe952('0x5'));var db=require('../../mysqldb')['db'];var utils=require(_0xe952('0x6'));var logger=require(_0xe952('0x7'))(_0xe952('0x8'));var config=require(_0xe952('0x9'));var jayson=require(_0xe952('0xa'));var client=jayson['client'][_0xe952('0xb')]({'port':0x232a});function respondWithRpcPromise(_0x5da288,_0x17b09c,_0x4b8230){return new BPromise(function(_0x59a312,_0x1c7c82){return client[_0xe952('0xc')](_0x5da288,_0x4b8230)[_0xe952('0xd')](function(_0x5180d1){logger['info'](_0xe952('0xe'),_0x17b09c,_0xe952('0xf'));logger[_0xe952('0x10')](_0xe952('0x11'),_0x17b09c,_0xe952('0xf'),JSON[_0xe952('0x12')](_0x5180d1));if(_0x5180d1['error']){if(_0x5180d1[_0xe952('0x13')][_0xe952('0x14')]===0x1f4){logger[_0xe952('0x13')]('JscriptyAnswerReport,\x20%s,\x20%s',_0x17b09c,_0x5180d1[_0xe952('0x13')][_0xe952('0x15')]);return _0x1c7c82(_0x5180d1[_0xe952('0x13')][_0xe952('0x15')]);}logger['error'](_0xe952('0xe'),_0x17b09c,_0x5180d1['error']['message']);return _0x59a312(_0x5180d1[_0xe952('0x13')][_0xe952('0x15')]);}else{logger[_0xe952('0x16')](_0xe952('0xe'),_0x17b09c,_0xe952('0xf'));_0x59a312(_0x5180d1[_0xe952('0x17')][_0xe952('0x15')]);}})[_0xe952('0x18')](function(_0x12b4dd){logger['error'](_0xe952('0xe'),_0x17b09c,_0x12b4dd);_0x1c7c82(_0x12b4dd);});});} \ No newline at end of file diff --git a/server/api/jscriptyProject/index.js b/server/api/jscriptyProject/index.js index 3f99e33..6cf107b 100644 --- a/server/api/jscriptyProject/index.js +++ b/server/api/jscriptyProject/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xb124=['update','destroy','exports','multer','util','path','express','Router','../../components/interaction/service','../../config/environment','isAuthenticated','/:id','show','get','/:id/sessions','getSessions','/:id/summary','30s','getSummary','post','/:id/clone','put'];(function(_0x214ecc,_0x1e7e7d){var _0x15fad0=function(_0x506b85){while(--_0x506b85){_0x214ecc['push'](_0x214ecc['shift']());}};_0x15fad0(++_0x1e7e7d);}(_0xb124,0xc9));var _0x4b12=function(_0x3b380d,_0x4bf247){_0x3b380d=_0x3b380d-0x0;var _0x54502b=_0xb124[_0x3b380d];return _0x54502b;};'use strict';var multer=require(_0x4b12('0x0'));var util=require(_0x4b12('0x1'));var path=require(_0x4b12('0x2'));var timeout=require('connect-timeout');var express=require(_0x4b12('0x3'));var router=express[_0x4b12('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0x4b12('0x5'));var config=require(_0x4b12('0x6'));var controller=require('./jscriptyProject.controller');router['get']('/',auth[_0x4b12('0x7')](),controller['index']);router['get'](_0x4b12('0x8'),auth[_0x4b12('0x7')](),controller[_0x4b12('0x9')]);router[_0x4b12('0xa')](_0x4b12('0xb'),auth['isAuthenticated'](),controller[_0x4b12('0xc')]);router[_0x4b12('0xa')]('/:id/answers',auth[_0x4b12('0x7')](),controller['getAnswers']);router[_0x4b12('0xa')](_0x4b12('0xd'),auth[_0x4b12('0x7')](),timeout(_0x4b12('0xe')),controller[_0x4b12('0xf')]);router[_0x4b12('0x10')]('/',auth[_0x4b12('0x7')](),controller['create']);router['post'](_0x4b12('0x11'),auth[_0x4b12('0x7')](),controller['clone']);router[_0x4b12('0x12')](_0x4b12('0x8'),auth[_0x4b12('0x7')](),controller[_0x4b12('0x13')]);router['delete']('/:id',auth[_0x4b12('0x7')](),controller[_0x4b12('0x14')]);module[_0x4b12('0x15')]=router; \ No newline at end of file +var _0x8786=['index','/:id','show','/:id/answers','/:id/summary','post','create','/:id/clone','clone','put','update','destroy','multer','path','connect-timeout','../../components/auth/service','../../components/interaction/service','./jscriptyProject.controller','get','isAuthenticated'];(function(_0x214f93,_0x78bac5){var _0x10d891=function(_0x13121f){while(--_0x13121f){_0x214f93['push'](_0x214f93['shift']());}};_0x10d891(++_0x78bac5);}(_0x8786,0x138));var _0x6878=function(_0x3bf83f,_0x181cac){_0x3bf83f=_0x3bf83f-0x0;var _0x22c4a9=_0x8786[_0x3bf83f];return _0x22c4a9;};'use strict';var multer=require(_0x6878('0x0'));var util=require('util');var path=require(_0x6878('0x1'));var timeout=require(_0x6878('0x2'));var express=require('express');var router=express['Router']();var auth=require(_0x6878('0x3'));var interaction=require(_0x6878('0x4'));var config=require('../../config/environment');var controller=require(_0x6878('0x5'));router[_0x6878('0x6')]('/',auth[_0x6878('0x7')](),controller[_0x6878('0x8')]);router[_0x6878('0x6')](_0x6878('0x9'),auth[_0x6878('0x7')](),controller[_0x6878('0xa')]);router['get']('/:id/sessions',auth['isAuthenticated'](),controller['getSessions']);router[_0x6878('0x6')](_0x6878('0xb'),auth[_0x6878('0x7')](),controller['getAnswers']);router['get'](_0x6878('0xc'),auth[_0x6878('0x7')](),timeout('30s'),controller['getSummary']);router[_0x6878('0xd')]('/',auth['isAuthenticated'](),controller[_0x6878('0xe')]);router['post'](_0x6878('0xf'),auth['isAuthenticated'](),controller[_0x6878('0x10')]);router[_0x6878('0x11')]('/:id',auth[_0x6878('0x7')](),controller[_0x6878('0x12')]);router['delete'](_0x6878('0x9'),auth[_0x6878('0x7')](),controller[_0x6878('0x13')]);module['exports']=router; \ No newline at end of file diff --git a/server/api/jscriptyProject/jscriptyProject.attributes.js b/server/api/jscriptyProject/jscriptyProject.attributes.js index cf0dad4..539a04d 100644 --- a/server/api/jscriptyProject/jscriptyProject.attributes.js +++ b/server/api/jscriptyProject/jscriptyProject.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x402d=['isObjectLike','setDataValue','formData','stringify','isString','format','{\x22name\x22:\x22%s\x22,\x22description\x22:\x22%s\x22,\x22pages\x22:[]}','getDataValue','name','description','BOOLEAN','sequelize','lodash','exports','STRING','TEXT','long'];(function(_0x2053f1,_0x321347){var _0x1faf62=function(_0x311007){while(--_0x311007){_0x2053f1['push'](_0x2053f1['shift']());}};_0x1faf62(++_0x321347);}(_0x402d,0x15f));var _0xd402=function(_0x5ceddb,_0x73606b){_0x5ceddb=_0x5ceddb-0x0;var _0x2a1db1=_0x402d[_0x5ceddb];return _0x2a1db1;};'use strict';var Sequelize=require(_0xd402('0x0'));var _=require(_0xd402('0x1'));var util=require('util');module[_0xd402('0x2')]={'name':{'type':Sequelize['STRING'],'unique':'name'},'description':{'type':Sequelize[_0xd402('0x3')]},'formData':{'type':Sequelize[_0xd402('0x4')](_0xd402('0x5')),'set':function(_0xe450d9){if(_[_0xd402('0x6')](_0xe450d9)){this[_0xd402('0x7')](_0xd402('0x8'),JSON[_0xd402('0x9')](_0xe450d9));}else if(_[_0xd402('0xa')](_0xe450d9)){this[_0xd402('0x7')]('formData',_0xe450d9);}else{this[_0xd402('0x7')](_0xd402('0x8'),util[_0xd402('0xb')](_0xd402('0xc'),this[_0xd402('0xd')](_0xd402('0xe'))||'',this[_0xd402('0xd')](_0xd402('0xf'))||''));}}},'enableUncompleteSave':{'type':Sequelize[_0xd402('0x10')],'defaultValue':!![]},'sendUnpauseOnSubmit':{'type':Sequelize[_0xd402('0x10')],'defaultValue':![]}}; \ No newline at end of file +var _0xb84a=['formData','stringify','format','{\x22name\x22:\x22%s\x22,\x22description\x22:\x22%s\x22,\x22pages\x22:[]}','getDataValue','description','BOOLEAN','sequelize','lodash','util','exports','STRING','name','TEXT','isObjectLike','setDataValue'];(function(_0x5e63fd,_0x271cbd){var _0x4f49ee=function(_0x311506){while(--_0x311506){_0x5e63fd['push'](_0x5e63fd['shift']());}};_0x4f49ee(++_0x271cbd);}(_0xb84a,0x1c7));var _0xab84=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0xb84a[_0x14add3];return _0x4a174f;};'use strict';var Sequelize=require(_0xab84('0x0'));var _=require(_0xab84('0x1'));var util=require(_0xab84('0x2'));module[_0xab84('0x3')]={'name':{'type':Sequelize[_0xab84('0x4')],'unique':_0xab84('0x5')},'description':{'type':Sequelize[_0xab84('0x4')]},'formData':{'type':Sequelize[_0xab84('0x6')]('long'),'set':function(_0x40452f){if(_[_0xab84('0x7')](_0x40452f)){this[_0xab84('0x8')](_0xab84('0x9'),JSON[_0xab84('0xa')](_0x40452f));}else if(_['isString'](_0x40452f)){this[_0xab84('0x8')]('formData',_0x40452f);}else{this[_0xab84('0x8')](_0xab84('0x9'),util[_0xab84('0xb')](_0xab84('0xc'),this[_0xab84('0xd')]('name')||'',this[_0xab84('0xd')](_0xab84('0xe'))||''));}}},'enableUncompleteSave':{'type':Sequelize[_0xab84('0xf')],'defaultValue':!![]},'sendUnpauseOnSubmit':{'type':Sequelize[_0xab84('0xf')],'defaultValue':![]}}; \ No newline at end of file diff --git a/server/api/jscriptyProject/jscriptyProject.controller.js b/server/api/jscriptyProject/jscriptyProject.controller.js index 27bc1a4..729e9af 100644 --- a/server/api/jscriptyProject/jscriptyProject.controller.js +++ b/server/api/jscriptyProject/jscriptyProject.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xf99b=['nolimit','order','where','pick','filter','merge','VIRTUAL','options','count','findAll','rows','catch','show','params','includeAll','include','find','create','body','Unable\x20to\x20retrieve\x20the\x20current\x20user','role','user','userProfileId','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','clone','omit','createdAt','updatedAt','UserProfileSection','getSessions','JscriptySessionReport','hasOwnProperty','limit','sort','getAnswers','findOne','JscriptyAnswerReport','ProjectId','number','fromCharCode','apply','toString','indexOf','replace','getSummary','startTime','parse','JscriptyQuestionReport','questionId','question','starttime','format','SessionId','answer','push','isEmpty','writeFileSync','Content-disposition','attachment;\x20filename=','setHeader','Content-type','download','/tmp/Jscripty_Project_%d_Summary_%s.csv','html-pdf','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','mustache','util','path','sox','to-csv','ejs','lodash','jsforce','desk.js','querystring','papaparse','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','sendStatus','status','end','json','offset','set','Content-Range','save','update','then','get','Projects','UserProfileResource','destroy','error','stack','name','index','map','JscriptyProject','rawAttributes','fieldName','type','key','model','query','keys','filters','attributes','intersection','fields','length'];(function(_0x3c65a3,_0x366bd1){var _0x541417=function(_0x359e5c){while(--_0x359e5c){_0x3c65a3['push'](_0x3c65a3['shift']());}};_0x541417(++_0x366bd1);}(_0xf99b,0x1a4));var _0xbf99=function(_0x5db44b,_0x2d9f64){_0x5db44b=_0x5db44b-0x0;var _0x2376b1=_0xf99b[_0x5db44b];return _0x2376b1;};'use strict';var pdf=require(_0xbf99('0x0'));var emlformat=require('eml-format');var rimraf=require(_0xbf99('0x1'));var zipdir=require(_0xbf99('0x2'));var jsonpatch=require(_0xbf99('0x3'));var rp=require(_0xbf99('0x4'));var moment=require(_0xbf99('0x5'));var BPromise=require(_0xbf99('0x6'));var Mustache=require(_0xbf99('0x7'));var util=require(_0xbf99('0x8'));var path=require(_0xbf99('0x9'));var sox=require(_0xbf99('0xa'));var csv=require(_0xbf99('0xb'));var ejs=require(_0xbf99('0xc'));var fs=require('fs');var _=require(_0xbf99('0xd'));var squel=require('squel');var crypto=require('crypto');var jsforce=require(_0xbf99('0xe'));var deskjs=require(_0xbf99('0xf'));var toCsv=require(_0xbf99('0xb'));var querystring=require(_0xbf99('0x10'));var Papa=require(_0xbf99('0x11'));var Redis=require('ioredis');var authService=require('../../components/auth/service');var qs=require(_0xbf99('0x12'));var as=require(_0xbf99('0x13'));var hardwareService=require(_0xbf99('0x14'));var logger=require(_0xbf99('0x15'))(_0xbf99('0x16'));var utils=require(_0xbf99('0x17'));var config=require('../../config/environment');var db=require('../../mysqldb')['db'];function respondWithStatusCode(_0x4d7302,_0x786ab9){_0x786ab9=_0x786ab9||0xcc;return function(_0x49dc1f){if(_0x49dc1f){return _0x4d7302[_0xbf99('0x18')](_0x786ab9);}return _0x4d7302[_0xbf99('0x19')](_0x786ab9)[_0xbf99('0x1a')]();};}function respondWithResult(_0x204b52,_0xe1b0c3){_0xe1b0c3=_0xe1b0c3||0xc8;return function(_0x210134){if(_0x210134){return _0x204b52[_0xbf99('0x19')](_0xe1b0c3)[_0xbf99('0x1b')](_0x210134);}};}function respondWithFilteredResult(_0x5c4644,_0x300e98){return function(_0xf0dc63){if(_0xf0dc63){var _0x37310d=_0xf0dc63['count'],_0x167cc3=_0x300e98[_0xbf99('0x1c')],_0x2f93c8=_0x300e98[_0xbf99('0x1c')]+_0x300e98['limit'],_0x2c43c3;if(_0x2f93c8>=_0x37310d){_0x2f93c8=_0x37310d;_0x2c43c3=0xc8;}else{_0x2c43c3=0xce;}_0x5c4644['status'](_0x2c43c3);return _0x5c4644[_0xbf99('0x1d')](_0xbf99('0x1e'),_0x167cc3+'-'+_0x2f93c8+'/'+_0x37310d)[_0xbf99('0x1b')](_0xf0dc63);}return null;};}function patchUpdates(_0x6e10ab){return function(_0x2cf4e7){try{jsonpatch['apply'](_0x2cf4e7,_0x6e10ab,!![]);}catch(_0x53da1e){return BPromise['reject'](_0x53da1e);}return _0x2cf4e7[_0xbf99('0x1f')]();};}function saveUpdates(_0x2f1c17,_0x750771){return function(_0x106286){if(_0x106286){return _0x106286[_0xbf99('0x20')](_0x2f1c17)['then'](function(_0xf68ed5){return _0xf68ed5;});}return null;};}function removeEntity(_0x39019c,_0x40560d){return function(_0x11732c){if(_0x11732c){return _0x11732c['destroy']()[_0xbf99('0x21')](function(){var _0x197777=_0x11732c[_0xbf99('0x22')]({'plain':!![]});var _0x3abd9f=_0xbf99('0x23');return db[_0xbf99('0x24')][_0xbf99('0x25')]({'where':{'type':_0x3abd9f,'resourceId':_0x197777['id']}})[_0xbf99('0x21')](function(){return _0x11732c;});})[_0xbf99('0x21')](function(){_0x39019c[_0xbf99('0x19')](0xcc)['end']();});}};}function handleEntityNotFound(_0x497669,_0x24b979){return function(_0xdd7f57){if(!_0xdd7f57){_0x497669['sendStatus'](0x194);}return _0xdd7f57;};}function handleError(_0x1c8d30,_0x196d2d){_0x196d2d=_0x196d2d||0x1f4;return function(_0xe5cdc2){logger[_0xbf99('0x26')](_0xe5cdc2[_0xbf99('0x27')]);if(_0xe5cdc2['name']){delete _0xe5cdc2[_0xbf99('0x28')];}_0x1c8d30[_0xbf99('0x19')](_0x196d2d)['send'](_0xe5cdc2);};}exports[_0xbf99('0x29')]=function(_0x29c57c,_0x566806){var _0x156d25={},_0x5489d6={},_0x4c3154={'count':0x0,'rows':[]};var _0x1e7d0d=_[_0xbf99('0x2a')](db[_0xbf99('0x2b')][_0xbf99('0x2c')],function(_0x11b66d){return{'name':_0x11b66d[_0xbf99('0x2d')],'type':_0x11b66d[_0xbf99('0x2e')][_0xbf99('0x2f')]};});_0x5489d6[_0xbf99('0x30')]=_[_0xbf99('0x2a')](_0x1e7d0d,_0xbf99('0x28'));_0x5489d6[_0xbf99('0x31')]=_[_0xbf99('0x32')](_0x29c57c['query']);_0x5489d6[_0xbf99('0x33')]=_['intersection'](_0x5489d6['model'],_0x5489d6['query']);_0x156d25[_0xbf99('0x34')]=_[_0xbf99('0x35')](_0x5489d6['model'],qs[_0xbf99('0x36')](_0x29c57c['query']['fields']));_0x156d25[_0xbf99('0x34')]=_0x156d25[_0xbf99('0x34')][_0xbf99('0x37')]?_0x156d25['attributes']:_0x5489d6[_0xbf99('0x30')];if(!_0x29c57c[_0xbf99('0x31')]['hasOwnProperty'](_0xbf99('0x38'))){_0x156d25['limit']=qs['limit'](_0x29c57c[_0xbf99('0x31')]['limit']);_0x156d25[_0xbf99('0x1c')]=qs[_0xbf99('0x1c')](_0x29c57c[_0xbf99('0x31')][_0xbf99('0x1c')]);}_0x156d25[_0xbf99('0x39')]=qs['sort'](_0x29c57c[_0xbf99('0x31')]['sort']);_0x156d25[_0xbf99('0x3a')]=qs[_0xbf99('0x33')](_[_0xbf99('0x3b')](_0x29c57c[_0xbf99('0x31')],_0x5489d6[_0xbf99('0x33')]),_0x1e7d0d);if(_0x29c57c[_0xbf99('0x31')][_0xbf99('0x3c')]){_0x156d25[_0xbf99('0x3a')]=_[_0xbf99('0x3d')](_0x156d25[_0xbf99('0x3a')],{'$or':_['map'](_0x1e7d0d,function(_0x265e48){if(_0x265e48['type']!==_0xbf99('0x3e')){var _0xf6fa1b={};_0xf6fa1b[_0x265e48[_0xbf99('0x28')]]={'$like':'%'+_0x29c57c[_0xbf99('0x31')][_0xbf99('0x3c')]+'%'};return _0xf6fa1b;}})});}_0x156d25=_[_0xbf99('0x3d')]({},_0x156d25,_0x29c57c[_0xbf99('0x3f')]);var _0x4e259d={'where':_0x156d25[_0xbf99('0x3a')]};return db['JscriptyProject']['count'](_0x4e259d)['then'](function(_0x3656bc){_0x4c3154[_0xbf99('0x40')]=_0x3656bc;if(_0x29c57c[_0xbf99('0x31')]['includeAll']){_0x156d25['include']=[{'all':!![]}];}return db[_0xbf99('0x2b')][_0xbf99('0x41')](_0x156d25);})['then'](function(_0x4681f9){_0x4c3154[_0xbf99('0x42')]=_0x4681f9;return _0x4c3154;})[_0xbf99('0x21')](respondWithFilteredResult(_0x566806,_0x156d25))[_0xbf99('0x43')](handleError(_0x566806,null));};exports[_0xbf99('0x44')]=function(_0x3c2025,_0x108b6d){var _0x39e852={'raw':![],'where':{'id':_0x3c2025[_0xbf99('0x45')]['id']}},_0x592ed9={};_0x592ed9[_0xbf99('0x30')]=_['keys'](db['JscriptyProject'][_0xbf99('0x2c')]);_0x592ed9[_0xbf99('0x31')]=_[_0xbf99('0x32')](_0x3c2025[_0xbf99('0x31')]);_0x592ed9[_0xbf99('0x33')]=_[_0xbf99('0x35')](_0x592ed9['model'],_0x592ed9[_0xbf99('0x31')]);_0x39e852[_0xbf99('0x34')]=_['intersection'](_0x592ed9[_0xbf99('0x30')],qs[_0xbf99('0x36')](_0x3c2025[_0xbf99('0x31')][_0xbf99('0x36')]));_0x39e852['attributes']=_0x39e852[_0xbf99('0x34')][_0xbf99('0x37')]?_0x39e852['attributes']:_0x592ed9[_0xbf99('0x30')];if(_0x3c2025[_0xbf99('0x31')][_0xbf99('0x46')]){_0x39e852[_0xbf99('0x47')]=[{'all':!![]}];}_0x39e852=_[_0xbf99('0x3d')]({},_0x39e852,_0x3c2025['options']);return db[_0xbf99('0x2b')][_0xbf99('0x48')](_0x39e852)[_0xbf99('0x21')](handleEntityNotFound(_0x108b6d,null))[_0xbf99('0x21')](respondWithResult(_0x108b6d,null))[_0xbf99('0x43')](handleError(_0x108b6d,null));};exports[_0xbf99('0x49')]=function(_0x3faed6,_0x2a5f5a){return db[_0xbf99('0x2b')][_0xbf99('0x49')](_0x3faed6[_0xbf99('0x4a')],{})['then'](function(_0x197d5a){var _0x42b4ec=_0x3faed6['user'][_0xbf99('0x22')]({'plain':!![]});if(!_0x42b4ec)throw new Error(_0xbf99('0x4b'));if(_0x42b4ec[_0xbf99('0x4c')]===_0xbf99('0x4d')){var _0x5683db=_0x197d5a[_0xbf99('0x22')]({'plain':!![]});var _0x3865fc='Projects';return db['UserProfileSection'][_0xbf99('0x48')]({'where':{'name':_0x3865fc,'userProfileId':_0x42b4ec[_0xbf99('0x4e')]},'raw':!![]})[_0xbf99('0x21')](function(_0x517372){if(_0x517372&&_0x517372['autoAssociation']===0x0){return db['UserProfileResource'][_0xbf99('0x49')]({'name':_0x5683db[_0xbf99('0x28')],'resourceId':_0x5683db['id'],'type':_0x517372['name'],'sectionId':_0x517372['id']},{})[_0xbf99('0x21')](function(){return _0x197d5a;});}else{return _0x197d5a;}})[_0xbf99('0x43')](function(_0x4d3eb5){logger['error'](_0xbf99('0x4f'),_0x4d3eb5);throw _0x4d3eb5;});}return _0x197d5a;})[_0xbf99('0x21')](respondWithResult(_0x2a5f5a,0xc9))[_0xbf99('0x43')](handleError(_0x2a5f5a,null));};exports[_0xbf99('0x50')]=function(_0x282a8e,_0x58f0ff){var _0x2f74fc={'where':{'id':_0x282a8e[_0xbf99('0x45')]['id']}},_0x32ea32={};_0x32ea32[_0xbf99('0x30')]=_[_0xbf99('0x32')](db[_0xbf99('0x2b')]['rawAttributes']);_0x2f74fc[_0xbf99('0x34')]=_['intersection'](_0x32ea32[_0xbf99('0x30')],qs['fields'](_0x282a8e[_0xbf99('0x31')]['fields']));_0x2f74fc['attributes']=_0x2f74fc[_0xbf99('0x34')][_0xbf99('0x37')]?_0x2f74fc[_0xbf99('0x34')]:_0x32ea32['model'];if(_0x282a8e[_0xbf99('0x31')][_0xbf99('0x46')]){_0x2f74fc['include']=[{'all':!![]}];}_0x2f74fc=_[_0xbf99('0x3d')]({},_0x2f74fc,_0x282a8e['options']);return db['JscriptyProject'][_0xbf99('0x48')](_0x2f74fc)[_0xbf99('0x21')](handleEntityNotFound(_0x58f0ff,null))['then'](function(_0x5c935b){if(_0x5c935b){var _0x3b6f48=_0x5c935b[_0xbf99('0x22')]({'plain':!![]});_0x3b6f48=qs[_0xbf99('0x51')](_0x3b6f48,['id',_0xbf99('0x52'),_0xbf99('0x53')]);_0x282a8e['body']=_['omit'](_0x282a8e[_0xbf99('0x4a')],['id',_0xbf99('0x52'),_0xbf99('0x53')]);return db['JscriptyProject'][_0xbf99('0x49')](_[_0xbf99('0x3d')](_0x3b6f48,_0x282a8e[_0xbf99('0x4a')]),{'include':_0x282a8e[_0xbf99('0x31')][_0xbf99('0x46')]?[{'all':!![]}]:undefined})['then'](function(_0x157f7e){var _0x2ef3af=_0x282a8e[_0xbf99('0x4d')]['get']({'plain':!![]});if(!_0x2ef3af)throw new Error('Unable\x20to\x20retrieve\x20the\x20current\x20user');if(_0x2ef3af[_0xbf99('0x4c')]===_0xbf99('0x4d')){var _0x35f987=_0x157f7e['get']({'plain':!![]});var _0x2d367b=_0xbf99('0x23');return db[_0xbf99('0x54')][_0xbf99('0x48')]({'where':{'name':_0x2d367b,'userProfileId':_0x2ef3af[_0xbf99('0x4e')]},'raw':!![]})[_0xbf99('0x21')](function(_0x506b36){if(_0x506b36&&_0x506b36['autoAssociation']===0x0){return db['UserProfileResource'][_0xbf99('0x49')]({'name':_0x35f987[_0xbf99('0x28')],'resourceId':_0x35f987['id'],'type':_0x506b36[_0xbf99('0x28')],'sectionId':_0x506b36['id']},{})[_0xbf99('0x21')](function(){return _0x157f7e;});}else{return _0x157f7e;}})[_0xbf99('0x43')](function(_0x361f37){logger[_0xbf99('0x26')](_0xbf99('0x4f'),_0x361f37);throw _0x361f37;});}return _0x157f7e;});}})[_0xbf99('0x21')](respondWithResult(_0x58f0ff,0xc9))['catch'](handleError(_0x58f0ff,null));};exports[_0xbf99('0x20')]=function(_0x4eb097,_0x15e43f){if(_0x4eb097[_0xbf99('0x4a')]['id']){delete _0x4eb097['body']['id'];}return db[_0xbf99('0x2b')]['find']({'where':{'id':_0x4eb097['params']['id']}})['then'](handleEntityNotFound(_0x15e43f,null))[_0xbf99('0x21')](saveUpdates(_0x4eb097[_0xbf99('0x4a')],null))[_0xbf99('0x21')](respondWithResult(_0x15e43f,null))[_0xbf99('0x43')](handleError(_0x15e43f,null));};exports[_0xbf99('0x25')]=function(_0x286dd7,_0x70c15b){return db[_0xbf99('0x2b')]['find']({'where':{'id':_0x286dd7[_0xbf99('0x45')]['id']}})[_0xbf99('0x21')](handleEntityNotFound(_0x70c15b,null))['then'](removeEntity(_0x70c15b,null))['catch'](handleError(_0x70c15b,null));};exports[_0xbf99('0x55')]=function(_0x189be2,_0x56001b,_0x2e0033){var _0x544568={'raw':!![],'where':{}};var _0x22b9fa={};var _0x2471de={'count':0x0,'rows':[]};return db[_0xbf99('0x2b')]['findOne']({'where':{'id':_0x189be2[_0xbf99('0x45')]['id']}})[_0xbf99('0x21')](handleEntityNotFound(_0x56001b,null))[_0xbf99('0x21')](function(_0x1c564e){if(_0x1c564e){_0x22b9fa['model']=_[_0xbf99('0x32')](db[_0xbf99('0x56')][_0xbf99('0x2c')]);_0x22b9fa['query']=_[_0xbf99('0x32')](_0x189be2[_0xbf99('0x31')]);_0x22b9fa[_0xbf99('0x33')]=_[_0xbf99('0x35')](_0x22b9fa[_0xbf99('0x30')],_0x22b9fa[_0xbf99('0x31')]);_0x544568[_0xbf99('0x34')]=_[_0xbf99('0x35')](_0x22b9fa[_0xbf99('0x30')],qs[_0xbf99('0x36')](_0x189be2['query'][_0xbf99('0x36')]));_0x544568[_0xbf99('0x34')]=_0x544568[_0xbf99('0x34')][_0xbf99('0x37')]?_0x544568['attributes']:_0x22b9fa[_0xbf99('0x30')];if(!_0x189be2[_0xbf99('0x31')][_0xbf99('0x57')](_0xbf99('0x38'))){_0x544568[_0xbf99('0x58')]=qs[_0xbf99('0x58')](_0x189be2[_0xbf99('0x31')][_0xbf99('0x58')]);_0x544568[_0xbf99('0x1c')]=qs[_0xbf99('0x1c')](_0x189be2[_0xbf99('0x31')][_0xbf99('0x1c')]);}_0x544568[_0xbf99('0x39')]=qs[_0xbf99('0x59')](_0x189be2[_0xbf99('0x31')][_0xbf99('0x59')]);_0x544568[_0xbf99('0x3a')]=qs['filters'](_[_0xbf99('0x3b')](_0x189be2['query'],_0x22b9fa[_0xbf99('0x33')]));_0x544568[_0xbf99('0x3a')]['ProjectId']=_0x1c564e['id'];if(_0x189be2[_0xbf99('0x31')]['filter']){_0x544568['where']=_[_0xbf99('0x3d')](_0x544568[_0xbf99('0x3a')],{'$or':_['map'](_0x544568['attributes'],function(_0xdd3377){var _0x2371e9={};_0x2371e9[_0xdd3377]={'$like':'%'+_0x189be2[_0xbf99('0x31')][_0xbf99('0x3c')]+'%'};return _0x2371e9;})});}_0x544568=_['merge']({},_0x544568,_0x189be2[_0xbf99('0x3f')]);return db[_0xbf99('0x56')]['count']({'where':_0x544568[_0xbf99('0x3a')]})[_0xbf99('0x21')](function(_0x385282){_0x2471de[_0xbf99('0x40')]=_0x385282;if(_0x189be2[_0xbf99('0x31')][_0xbf99('0x46')]){_0x544568[_0xbf99('0x47')]=[{'all':!![]}];}return db[_0xbf99('0x56')][_0xbf99('0x41')](_0x544568);})[_0xbf99('0x21')](function(_0xfaca0e){_0x2471de[_0xbf99('0x42')]=_0xfaca0e;return _0x2471de;});}})[_0xbf99('0x21')](respondWithFilteredResult(_0x56001b,_0x544568))[_0xbf99('0x43')](handleError(_0x56001b,null));};exports[_0xbf99('0x5a')]=function(_0x4b2ca7,_0x3e7c71,_0x2783e9){var _0x16ba42={'raw':!![],'where':{}};var _0x39cf0f={};var _0x1cdde1={'count':0x0,'rows':[]};return db[_0xbf99('0x2b')][_0xbf99('0x5b')]({'where':{'id':_0x4b2ca7[_0xbf99('0x45')]['id']}})[_0xbf99('0x21')](handleEntityNotFound(_0x3e7c71,null))[_0xbf99('0x21')](function(_0x573fa9){if(_0x573fa9){_0x39cf0f[_0xbf99('0x30')]=_[_0xbf99('0x32')](db[_0xbf99('0x5c')]['rawAttributes']);_0x39cf0f[_0xbf99('0x31')]=_[_0xbf99('0x32')](_0x4b2ca7['query']);_0x39cf0f[_0xbf99('0x33')]=_[_0xbf99('0x35')](_0x39cf0f[_0xbf99('0x30')],_0x39cf0f[_0xbf99('0x31')]);_0x16ba42[_0xbf99('0x34')]=_[_0xbf99('0x35')](_0x39cf0f[_0xbf99('0x30')],qs[_0xbf99('0x36')](_0x4b2ca7[_0xbf99('0x31')][_0xbf99('0x36')]));_0x16ba42['attributes']=_0x16ba42['attributes'][_0xbf99('0x37')]?_0x16ba42[_0xbf99('0x34')]:_0x39cf0f['model'];if(!_0x4b2ca7[_0xbf99('0x31')][_0xbf99('0x57')](_0xbf99('0x38'))){_0x16ba42[_0xbf99('0x58')]=qs[_0xbf99('0x58')](_0x4b2ca7[_0xbf99('0x31')][_0xbf99('0x58')]);_0x16ba42[_0xbf99('0x1c')]=qs['offset'](_0x4b2ca7[_0xbf99('0x31')][_0xbf99('0x1c')]);}_0x16ba42[_0xbf99('0x39')]=qs['sort'](_0x4b2ca7[_0xbf99('0x31')]['sort']);_0x16ba42[_0xbf99('0x3a')]=qs['filters'](_[_0xbf99('0x3b')](_0x4b2ca7[_0xbf99('0x31')],_0x39cf0f[_0xbf99('0x33')]));_0x16ba42[_0xbf99('0x3a')][_0xbf99('0x5d')]=_0x573fa9['id'];if(_0x4b2ca7[_0xbf99('0x31')][_0xbf99('0x3c')]){_0x16ba42[_0xbf99('0x3a')]=_['merge'](_0x16ba42['where'],{'$or':_['map'](_0x16ba42['attributes'],function(_0x5bbba6){var _0x332535={};_0x332535[_0x5bbba6]={'$like':'%'+_0x4b2ca7['query'][_0xbf99('0x3c')]+'%'};return _0x332535;})});}_0x16ba42=_[_0xbf99('0x3d')]({},_0x16ba42,_0x4b2ca7[_0xbf99('0x3f')]);return db[_0xbf99('0x5c')][_0xbf99('0x40')]({'where':_0x16ba42[_0xbf99('0x3a')]})[_0xbf99('0x21')](function(_0x2b7512){_0x1cdde1['count']=_0x2b7512;if(_0x4b2ca7[_0xbf99('0x31')][_0xbf99('0x46')]){_0x16ba42[_0xbf99('0x47')]=[{'all':!![]}];}return db[_0xbf99('0x5c')][_0xbf99('0x41')](_0x16ba42);})[_0xbf99('0x21')](function(_0x59abb3){_0x1cdde1[_0xbf99('0x42')]=_0x59abb3;return _0x1cdde1;});}})[_0xbf99('0x21')](respondWithFilteredResult(_0x3e7c71,_0x16ba42))[_0xbf99('0x43')](handleError(_0x3e7c71,null));};function char(_0xf9516e){return _0xbf99('0x5e')===typeof _0xf9516e?String[_0xbf99('0x5f')][_0xbf99('0x60')](null,arguments):_0xf9516e;}function needsEncapsulation(_0x4501e3){return!!_0x4501e3&&(_0x4501e3[_0xbf99('0x61')]()['indexOf'](char(0xd))>=0x0||_0x4501e3['toString']()[_0xbf99('0x62')](char(0xa))>=0x0||_0x4501e3[_0xbf99('0x61')]()['indexOf'](char(0x2c))>=0x0||_0x4501e3[_0xbf99('0x61')]()[_0xbf99('0x62')](char(0x22))>=0x0);}function encapsulate(_0x41c28e){var _0x313383=char(0x22),_0x23d024='\x5c'+char(0x22),_0x1e6073=_0x41c28e[_0xbf99('0x61')]()[_0xbf99('0x63')](new RegExp(_0x313383,'g'),_0x23d024);return _0x313383+_0x1e6073+_0x313383;}exports[_0xbf99('0x64')]=function(_0x1f4497,_0x2044b2,_0x56ff64){var _0x30f342,_0x59ddaa;var _0x2e37d4={'where':{'ProjectId':_0x1f4497['params']['id']}};if(_0x1f4497[_0xbf99('0x31')][_0xbf99('0x65')]){_0x2e37d4['where']['starttime']=JSON[_0xbf99('0x66')](_0x1f4497[_0xbf99('0x31')][_0xbf99('0x65')]);}return db[_0xbf99('0x56')][_0xbf99('0x41')](_0x2e37d4)[_0xbf99('0x21')](handleEntityNotFound(_0x2044b2,null))[_0xbf99('0x21')](function(_0x2d881f){if(_0x2d881f){_0x30f342=_0x2d881f;return db[_0xbf99('0x67')][_0xbf99('0x41')]({'where':{'SessionId':{'$in':_[_0xbf99('0x2a')](_0x30f342,'id')},'ProjectId':_0x1f4497['params']['id']},'order':'-createdAt'});}})[_0xbf99('0x21')](handleEntityNotFound(_0x2044b2,null))[_0xbf99('0x21')](function(_0x2910a5){if(_0x2910a5){_0x59ddaa=_0x2910a5;var _0x3dffff={};for(var _0x11b608=0x0,_0x4744ab=_0x59ddaa[_0xbf99('0x37')];_0x11b608<_0x4744ab;_0x11b608++){if(!_0x3dffff[_0xbf99('0x57')](_0x59ddaa[_0x11b608][_0xbf99('0x68')])){_0x3dffff[_0x59ddaa[_0x11b608][_0xbf99('0x68')]]=needsEncapsulation(_0x59ddaa[_0x11b608][_0xbf99('0x69')])?encapsulate(_0x59ddaa[_0x11b608][_0xbf99('0x69')]):_0x59ddaa[_0x11b608]['question'];}}var _0x46d977=[],_0x43aa8e={};for(var _0x7d82b0=0x0,_0x3e37e7=_0x30f342[_0xbf99('0x37')];_0x7d82b0<_0x3e37e7;_0x7d82b0++){_0x43aa8e={'ProjectId':_0x1f4497['params']['id'],'SessionId':_0x30f342[_0x7d82b0]['id'],'StartTime':moment(_0x30f342[_0x7d82b0][_0xbf99('0x6a')])[_0xbf99('0x6b')]('YYYY-MM-DD\x20HH:mm:ss')};for(var _0x30ee55=0x0,_0x1ea602=_0x59ddaa[_0xbf99('0x37')];_0x30ee55<_0x1ea602;_0x30ee55++){if(_0x59ddaa[_0x30ee55][_0xbf99('0x6c')]==_0x30f342[_0x7d82b0]['id']&&_0x3dffff[_0xbf99('0x57')](_0x59ddaa[_0x30ee55][_0xbf99('0x68')])){_0x43aa8e[_0x3dffff[_0x59ddaa[_0x30ee55][_0xbf99('0x68')]]]=_0x59ddaa[_0x30ee55][_0xbf99('0x6d')];}}for(var _0x39df3f in _0x3dffff){if(!_0x43aa8e[_0xbf99('0x57')](_0x3dffff[_0x39df3f])){_0x43aa8e[_0x3dffff[_0x39df3f]]=null;}}_0x46d977[_0xbf99('0x6e')](_0x43aa8e);}return _0x46d977;}})[_0xbf99('0x21')](function(_0x57db5b){if(!_[_0xbf99('0x6f')](_0x57db5b)){var _0x27e7c3=toCsv(_0x57db5b);var _0x257c4e=Date['now']();fs[_0xbf99('0x70')](util['format']('/tmp/Jscripty_Project_%d_Summary_%s.csv',_0x1f4497['params']['id'],_0x257c4e),_0x27e7c3);_0x2044b2['setHeader'](_0xbf99('0x71'),_0xbf99('0x72')+util[_0xbf99('0x6b')]('Jscripty_Project_%d_Summary_%s.csv',_0x1f4497[_0xbf99('0x45')]['id'],_0x257c4e));_0x2044b2[_0xbf99('0x73')](_0xbf99('0x74'),'text/csv');return _0x2044b2[_0xbf99('0x75')](util[_0xbf99('0x6b')](_0xbf99('0x76'),_0x1f4497[_0xbf99('0x45')]['id'],_0x257c4e));}else{return _0x2044b2[_0xbf99('0x18')](0xcc);}})[_0xbf99('0x43')](handleError(_0x2044b2,null));}; \ No newline at end of file +var _0xf042=['request-promise','moment','bluebird','mustache','to-csv','ejs','lodash','crypto','querystring','ioredis','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/environment','sendStatus','status','json','count','offset','limit','set','Content-Range','apply','reject','save','update','then','get','Projects','UserProfileResource','destroy','end','error','name','index','map','rawAttributes','fieldName','keys','intersection','model','query','attributes','hasOwnProperty','nolimit','sort','where','filters','filter','merge','type','options','JscriptyProject','includeAll','include','findAll','rows','catch','show','fields','length','create','body','Unable\x20to\x20retrieve\x20the\x20current\x20user','role','UserProfileSection','find','userProfileId','autoAssociation','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','clone','omit','createdAt','updatedAt','user','params','getSessions','findOne','order','pick','ProjectId','JscriptySessionReport','getAnswers','JscriptyAnswerReport','number','fromCharCode','toString','indexOf','replace','starttime','parse','JscriptyQuestionReport','-createdAt','questionId','question','format','YYYY-MM-DD\x20HH:mm:ss','SessionId','answer','now','writeFileSync','/tmp/Jscripty_Project_%d_Summary_%s.csv','attachment;\x20filename=','Jscripty_Project_%d_Summary_%s.csv','Content-type','download','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch'];(function(_0x39ba60,_0x3903d3){var _0x4151c2=function(_0x58b765){while(--_0x58b765){_0x39ba60['push'](_0x39ba60['shift']());}};_0x4151c2(++_0x3903d3);}(_0xf042,0x1bf));var _0x2f04=function(_0xedb1d5,_0x123be8){_0xedb1d5=_0xedb1d5-0x0;var _0x20a7c8=_0xf042[_0xedb1d5];return _0x20a7c8;};'use strict';var pdf=require(_0x2f04('0x0'));var emlformat=require(_0x2f04('0x1'));var rimraf=require(_0x2f04('0x2'));var zipdir=require(_0x2f04('0x3'));var jsonpatch=require(_0x2f04('0x4'));var rp=require(_0x2f04('0x5'));var moment=require(_0x2f04('0x6'));var BPromise=require(_0x2f04('0x7'));var Mustache=require(_0x2f04('0x8'));var util=require('util');var path=require('path');var sox=require('sox');var csv=require(_0x2f04('0x9'));var ejs=require(_0x2f04('0xa'));var fs=require('fs');var _=require(_0x2f04('0xb'));var squel=require('squel');var crypto=require(_0x2f04('0xc'));var jsforce=require('jsforce');var deskjs=require('desk.js');var toCsv=require(_0x2f04('0x9'));var querystring=require(_0x2f04('0xd'));var Papa=require('papaparse');var Redis=require(_0x2f04('0xe'));var authService=require('../../components/auth/service');var qs=require(_0x2f04('0xf'));var as=require(_0x2f04('0x10'));var hardwareService=require(_0x2f04('0x11'));var logger=require(_0x2f04('0x12'))(_0x2f04('0x13'));var utils=require('../../config/utils');var config=require(_0x2f04('0x14'));var db=require('../../mysqldb')['db'];function respondWithStatusCode(_0xf01c51,_0x5bc53f){_0x5bc53f=_0x5bc53f||0xcc;return function(_0x5dee68){if(_0x5dee68){return _0xf01c51[_0x2f04('0x15')](_0x5bc53f);}return _0xf01c51[_0x2f04('0x16')](_0x5bc53f)['end']();};}function respondWithResult(_0x2d01e6,_0xe80166){_0xe80166=_0xe80166||0xc8;return function(_0x3de691){if(_0x3de691){return _0x2d01e6['status'](_0xe80166)[_0x2f04('0x17')](_0x3de691);}};}function respondWithFilteredResult(_0x2b5cad,_0x23e217){return function(_0x194026){if(_0x194026){var _0x3289f2=_0x194026[_0x2f04('0x18')],_0x2cc101=_0x23e217[_0x2f04('0x19')],_0xe8f741=_0x23e217['offset']+_0x23e217[_0x2f04('0x1a')],_0x378cf6;if(_0xe8f741>=_0x3289f2){_0xe8f741=_0x3289f2;_0x378cf6=0xc8;}else{_0x378cf6=0xce;}_0x2b5cad[_0x2f04('0x16')](_0x378cf6);return _0x2b5cad[_0x2f04('0x1b')](_0x2f04('0x1c'),_0x2cc101+'-'+_0xe8f741+'/'+_0x3289f2)['json'](_0x194026);}return null;};}function patchUpdates(_0x2f2adb){return function(_0x3046a3){try{jsonpatch[_0x2f04('0x1d')](_0x3046a3,_0x2f2adb,!![]);}catch(_0x57a49b){return BPromise[_0x2f04('0x1e')](_0x57a49b);}return _0x3046a3[_0x2f04('0x1f')]();};}function saveUpdates(_0x933cc9,_0x303140){return function(_0xd73829){if(_0xd73829){return _0xd73829[_0x2f04('0x20')](_0x933cc9)[_0x2f04('0x21')](function(_0x57ba51){return _0x57ba51;});}return null;};}function removeEntity(_0x346f95,_0x3ed35b){return function(_0x1a0b91){if(_0x1a0b91){return _0x1a0b91['destroy']()[_0x2f04('0x21')](function(){var _0x1889bd=_0x1a0b91[_0x2f04('0x22')]({'plain':!![]});var _0x56c53f=_0x2f04('0x23');return db[_0x2f04('0x24')][_0x2f04('0x25')]({'where':{'type':_0x56c53f,'resourceId':_0x1889bd['id']}})['then'](function(){return _0x1a0b91;});})[_0x2f04('0x21')](function(){_0x346f95['status'](0xcc)[_0x2f04('0x26')]();});}};}function handleEntityNotFound(_0x2d73ae,_0x383efb){return function(_0x372193){if(!_0x372193){_0x2d73ae['sendStatus'](0x194);}return _0x372193;};}function handleError(_0x2d8d55,_0x41ab20){_0x41ab20=_0x41ab20||0x1f4;return function(_0x37aa15){logger[_0x2f04('0x27')](_0x37aa15['stack']);if(_0x37aa15[_0x2f04('0x28')]){delete _0x37aa15[_0x2f04('0x28')];}_0x2d8d55[_0x2f04('0x16')](_0x41ab20)['send'](_0x37aa15);};}exports[_0x2f04('0x29')]=function(_0x46e93e,_0x2a537e){var _0x1453f2={},_0x4a0951={},_0x5c02bf={'count':0x0,'rows':[]};var _0x1c39c2=_[_0x2f04('0x2a')](db['JscriptyProject'][_0x2f04('0x2b')],function(_0x54f29b){return{'name':_0x54f29b[_0x2f04('0x2c')],'type':_0x54f29b['type']['key']};});_0x4a0951['model']=_['map'](_0x1c39c2,_0x2f04('0x28'));_0x4a0951['query']=_[_0x2f04('0x2d')](_0x46e93e['query']);_0x4a0951['filters']=_[_0x2f04('0x2e')](_0x4a0951[_0x2f04('0x2f')],_0x4a0951[_0x2f04('0x30')]);_0x1453f2[_0x2f04('0x31')]=_[_0x2f04('0x2e')](_0x4a0951[_0x2f04('0x2f')],qs['fields'](_0x46e93e[_0x2f04('0x30')]['fields']));_0x1453f2[_0x2f04('0x31')]=_0x1453f2[_0x2f04('0x31')]['length']?_0x1453f2[_0x2f04('0x31')]:_0x4a0951[_0x2f04('0x2f')];if(!_0x46e93e['query'][_0x2f04('0x32')](_0x2f04('0x33'))){_0x1453f2[_0x2f04('0x1a')]=qs[_0x2f04('0x1a')](_0x46e93e['query'][_0x2f04('0x1a')]);_0x1453f2['offset']=qs[_0x2f04('0x19')](_0x46e93e[_0x2f04('0x30')][_0x2f04('0x19')]);}_0x1453f2['order']=qs[_0x2f04('0x34')](_0x46e93e[_0x2f04('0x30')][_0x2f04('0x34')]);_0x1453f2[_0x2f04('0x35')]=qs[_0x2f04('0x36')](_['pick'](_0x46e93e[_0x2f04('0x30')],_0x4a0951['filters']),_0x1c39c2);if(_0x46e93e[_0x2f04('0x30')][_0x2f04('0x37')]){_0x1453f2[_0x2f04('0x35')]=_[_0x2f04('0x38')](_0x1453f2[_0x2f04('0x35')],{'$or':_['map'](_0x1c39c2,function(_0x2343ac){if(_0x2343ac[_0x2f04('0x39')]!=='VIRTUAL'){var _0x330036={};_0x330036[_0x2343ac['name']]={'$like':'%'+_0x46e93e[_0x2f04('0x30')][_0x2f04('0x37')]+'%'};return _0x330036;}})});}_0x1453f2=_[_0x2f04('0x38')]({},_0x1453f2,_0x46e93e[_0x2f04('0x3a')]);var _0x51d10e={'where':_0x1453f2[_0x2f04('0x35')]};return db[_0x2f04('0x3b')][_0x2f04('0x18')](_0x51d10e)['then'](function(_0x320cb7){_0x5c02bf[_0x2f04('0x18')]=_0x320cb7;if(_0x46e93e[_0x2f04('0x30')][_0x2f04('0x3c')]){_0x1453f2[_0x2f04('0x3d')]=[{'all':!![]}];}return db[_0x2f04('0x3b')][_0x2f04('0x3e')](_0x1453f2);})[_0x2f04('0x21')](function(_0x8928ae){_0x5c02bf[_0x2f04('0x3f')]=_0x8928ae;return _0x5c02bf;})[_0x2f04('0x21')](respondWithFilteredResult(_0x2a537e,_0x1453f2))[_0x2f04('0x40')](handleError(_0x2a537e,null));};exports[_0x2f04('0x41')]=function(_0xdfae57,_0x5aac65){var _0x426c34={'raw':![],'where':{'id':_0xdfae57['params']['id']}},_0x25a121={};_0x25a121[_0x2f04('0x2f')]=_[_0x2f04('0x2d')](db['JscriptyProject'][_0x2f04('0x2b')]);_0x25a121[_0x2f04('0x30')]=_[_0x2f04('0x2d')](_0xdfae57[_0x2f04('0x30')]);_0x25a121[_0x2f04('0x36')]=_['intersection'](_0x25a121[_0x2f04('0x2f')],_0x25a121[_0x2f04('0x30')]);_0x426c34[_0x2f04('0x31')]=_['intersection'](_0x25a121[_0x2f04('0x2f')],qs[_0x2f04('0x42')](_0xdfae57['query'][_0x2f04('0x42')]));_0x426c34[_0x2f04('0x31')]=_0x426c34['attributes'][_0x2f04('0x43')]?_0x426c34[_0x2f04('0x31')]:_0x25a121['model'];if(_0xdfae57[_0x2f04('0x30')][_0x2f04('0x3c')]){_0x426c34['include']=[{'all':!![]}];}_0x426c34=_['merge']({},_0x426c34,_0xdfae57[_0x2f04('0x3a')]);return db['JscriptyProject']['find'](_0x426c34)['then'](handleEntityNotFound(_0x5aac65,null))['then'](respondWithResult(_0x5aac65,null))['catch'](handleError(_0x5aac65,null));};exports[_0x2f04('0x44')]=function(_0x5b0558,_0x2b3416){return db['JscriptyProject'][_0x2f04('0x44')](_0x5b0558[_0x2f04('0x45')],{})['then'](function(_0x277581){var _0x35d6fe=_0x5b0558['user'][_0x2f04('0x22')]({'plain':!![]});if(!_0x35d6fe)throw new Error(_0x2f04('0x46'));if(_0x35d6fe[_0x2f04('0x47')]==='user'){var _0x22cc04=_0x277581[_0x2f04('0x22')]({'plain':!![]});var _0x3d9f4d=_0x2f04('0x23');return db[_0x2f04('0x48')][_0x2f04('0x49')]({'where':{'name':_0x3d9f4d,'userProfileId':_0x35d6fe[_0x2f04('0x4a')]},'raw':!![]})['then'](function(_0x423223){if(_0x423223&&_0x423223[_0x2f04('0x4b')]===0x0){return db[_0x2f04('0x24')]['create']({'name':_0x22cc04[_0x2f04('0x28')],'resourceId':_0x22cc04['id'],'type':_0x423223[_0x2f04('0x28')],'sectionId':_0x423223['id']},{})[_0x2f04('0x21')](function(){return _0x277581;});}else{return _0x277581;}})[_0x2f04('0x40')](function(_0x49d2ee){logger['error'](_0x2f04('0x4c'),_0x49d2ee);throw _0x49d2ee;});}return _0x277581;})[_0x2f04('0x21')](respondWithResult(_0x2b3416,0xc9))['catch'](handleError(_0x2b3416,null));};exports[_0x2f04('0x4d')]=function(_0x438d0f,_0x16051f){var _0x2df455={'where':{'id':_0x438d0f['params']['id']}},_0x3a06e2={};_0x3a06e2['model']=_[_0x2f04('0x2d')](db[_0x2f04('0x3b')][_0x2f04('0x2b')]);_0x2df455[_0x2f04('0x31')]=_[_0x2f04('0x2e')](_0x3a06e2['model'],qs[_0x2f04('0x42')](_0x438d0f['query'][_0x2f04('0x42')]));_0x2df455[_0x2f04('0x31')]=_0x2df455['attributes'][_0x2f04('0x43')]?_0x2df455['attributes']:_0x3a06e2['model'];if(_0x438d0f[_0x2f04('0x30')]['includeAll']){_0x2df455[_0x2f04('0x3d')]=[{'all':!![]}];}_0x2df455=_[_0x2f04('0x38')]({},_0x2df455,_0x438d0f[_0x2f04('0x3a')]);return db[_0x2f04('0x3b')][_0x2f04('0x49')](_0x2df455)['then'](handleEntityNotFound(_0x16051f,null))['then'](function(_0x5a3769){if(_0x5a3769){var _0x5b2f5c=_0x5a3769['get']({'plain':!![]});_0x5b2f5c=qs[_0x2f04('0x4e')](_0x5b2f5c,['id',_0x2f04('0x4f'),_0x2f04('0x50')]);_0x438d0f['body']=_['omit'](_0x438d0f['body'],['id',_0x2f04('0x4f'),'updatedAt']);return db[_0x2f04('0x3b')][_0x2f04('0x44')](_[_0x2f04('0x38')](_0x5b2f5c,_0x438d0f[_0x2f04('0x45')]),{'include':_0x438d0f[_0x2f04('0x30')][_0x2f04('0x3c')]?[{'all':!![]}]:undefined})[_0x2f04('0x21')](function(_0x23ea49){var _0xb72e26=_0x438d0f[_0x2f04('0x51')][_0x2f04('0x22')]({'plain':!![]});if(!_0xb72e26)throw new Error('Unable\x20to\x20retrieve\x20the\x20current\x20user');if(_0xb72e26[_0x2f04('0x47')]==='user'){var _0x4604c4=_0x23ea49[_0x2f04('0x22')]({'plain':!![]});var _0xee19c2=_0x2f04('0x23');return db[_0x2f04('0x48')]['find']({'where':{'name':_0xee19c2,'userProfileId':_0xb72e26[_0x2f04('0x4a')]},'raw':!![]})[_0x2f04('0x21')](function(_0x2032a1){if(_0x2032a1&&_0x2032a1[_0x2f04('0x4b')]===0x0){return db[_0x2f04('0x24')][_0x2f04('0x44')]({'name':_0x4604c4[_0x2f04('0x28')],'resourceId':_0x4604c4['id'],'type':_0x2032a1[_0x2f04('0x28')],'sectionId':_0x2032a1['id']},{})['then'](function(){return _0x23ea49;});}else{return _0x23ea49;}})[_0x2f04('0x40')](function(_0x167b99){logger[_0x2f04('0x27')]('Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s',_0x167b99);throw _0x167b99;});}return _0x23ea49;});}})[_0x2f04('0x21')](respondWithResult(_0x16051f,0xc9))[_0x2f04('0x40')](handleError(_0x16051f,null));};exports[_0x2f04('0x20')]=function(_0x5bebb3,_0x56a72f){if(_0x5bebb3['body']['id']){delete _0x5bebb3['body']['id'];}return db[_0x2f04('0x3b')]['find']({'where':{'id':_0x5bebb3[_0x2f04('0x52')]['id']}})[_0x2f04('0x21')](handleEntityNotFound(_0x56a72f,null))['then'](saveUpdates(_0x5bebb3[_0x2f04('0x45')],null))['then'](respondWithResult(_0x56a72f,null))[_0x2f04('0x40')](handleError(_0x56a72f,null));};exports[_0x2f04('0x25')]=function(_0x3fdf79,_0x43e1f1){return db[_0x2f04('0x3b')][_0x2f04('0x49')]({'where':{'id':_0x3fdf79[_0x2f04('0x52')]['id']}})[_0x2f04('0x21')](handleEntityNotFound(_0x43e1f1,null))[_0x2f04('0x21')](removeEntity(_0x43e1f1,null))[_0x2f04('0x40')](handleError(_0x43e1f1,null));};exports[_0x2f04('0x53')]=function(_0x36470c,_0x47dd42,_0x299caa){var _0x16709f={'raw':!![],'where':{}};var _0x191e2e={};var _0x4f3f1c={'count':0x0,'rows':[]};return db['JscriptyProject'][_0x2f04('0x54')]({'where':{'id':_0x36470c[_0x2f04('0x52')]['id']}})['then'](handleEntityNotFound(_0x47dd42,null))['then'](function(_0x57c824){if(_0x57c824){_0x191e2e[_0x2f04('0x2f')]=_[_0x2f04('0x2d')](db['JscriptySessionReport'][_0x2f04('0x2b')]);_0x191e2e['query']=_[_0x2f04('0x2d')](_0x36470c[_0x2f04('0x30')]);_0x191e2e['filters']=_[_0x2f04('0x2e')](_0x191e2e[_0x2f04('0x2f')],_0x191e2e[_0x2f04('0x30')]);_0x16709f[_0x2f04('0x31')]=_[_0x2f04('0x2e')](_0x191e2e[_0x2f04('0x2f')],qs['fields'](_0x36470c[_0x2f04('0x30')][_0x2f04('0x42')]));_0x16709f['attributes']=_0x16709f[_0x2f04('0x31')]['length']?_0x16709f[_0x2f04('0x31')]:_0x191e2e[_0x2f04('0x2f')];if(!_0x36470c[_0x2f04('0x30')][_0x2f04('0x32')](_0x2f04('0x33'))){_0x16709f[_0x2f04('0x1a')]=qs[_0x2f04('0x1a')](_0x36470c[_0x2f04('0x30')]['limit']);_0x16709f[_0x2f04('0x19')]=qs[_0x2f04('0x19')](_0x36470c[_0x2f04('0x30')][_0x2f04('0x19')]);}_0x16709f[_0x2f04('0x55')]=qs[_0x2f04('0x34')](_0x36470c['query'][_0x2f04('0x34')]);_0x16709f['where']=qs[_0x2f04('0x36')](_[_0x2f04('0x56')](_0x36470c[_0x2f04('0x30')],_0x191e2e[_0x2f04('0x36')]));_0x16709f[_0x2f04('0x35')][_0x2f04('0x57')]=_0x57c824['id'];if(_0x36470c[_0x2f04('0x30')][_0x2f04('0x37')]){_0x16709f[_0x2f04('0x35')]=_[_0x2f04('0x38')](_0x16709f['where'],{'$or':_[_0x2f04('0x2a')](_0x16709f[_0x2f04('0x31')],function(_0x26548a){var _0x903536={};_0x903536[_0x26548a]={'$like':'%'+_0x36470c[_0x2f04('0x30')][_0x2f04('0x37')]+'%'};return _0x903536;})});}_0x16709f=_['merge']({},_0x16709f,_0x36470c[_0x2f04('0x3a')]);return db['JscriptySessionReport']['count']({'where':_0x16709f[_0x2f04('0x35')]})['then'](function(_0x4c714b){_0x4f3f1c['count']=_0x4c714b;if(_0x36470c['query']['includeAll']){_0x16709f[_0x2f04('0x3d')]=[{'all':!![]}];}return db[_0x2f04('0x58')]['findAll'](_0x16709f);})['then'](function(_0xf383f1){_0x4f3f1c[_0x2f04('0x3f')]=_0xf383f1;return _0x4f3f1c;});}})[_0x2f04('0x21')](respondWithFilteredResult(_0x47dd42,_0x16709f))[_0x2f04('0x40')](handleError(_0x47dd42,null));};exports[_0x2f04('0x59')]=function(_0x311b91,_0x3b48e1,_0x43e8e4){var _0x4e9e09={'raw':!![],'where':{}};var _0x26c19c={};var _0x571b11={'count':0x0,'rows':[]};return db[_0x2f04('0x3b')][_0x2f04('0x54')]({'where':{'id':_0x311b91['params']['id']}})[_0x2f04('0x21')](handleEntityNotFound(_0x3b48e1,null))['then'](function(_0xe721a6){if(_0xe721a6){_0x26c19c[_0x2f04('0x2f')]=_['keys'](db[_0x2f04('0x5a')][_0x2f04('0x2b')]);_0x26c19c[_0x2f04('0x30')]=_['keys'](_0x311b91[_0x2f04('0x30')]);_0x26c19c[_0x2f04('0x36')]=_['intersection'](_0x26c19c[_0x2f04('0x2f')],_0x26c19c['query']);_0x4e9e09[_0x2f04('0x31')]=_['intersection'](_0x26c19c['model'],qs[_0x2f04('0x42')](_0x311b91[_0x2f04('0x30')]['fields']));_0x4e9e09[_0x2f04('0x31')]=_0x4e9e09['attributes'][_0x2f04('0x43')]?_0x4e9e09[_0x2f04('0x31')]:_0x26c19c[_0x2f04('0x2f')];if(!_0x311b91[_0x2f04('0x30')][_0x2f04('0x32')](_0x2f04('0x33'))){_0x4e9e09['limit']=qs['limit'](_0x311b91[_0x2f04('0x30')]['limit']);_0x4e9e09['offset']=qs[_0x2f04('0x19')](_0x311b91[_0x2f04('0x30')]['offset']);}_0x4e9e09[_0x2f04('0x55')]=qs[_0x2f04('0x34')](_0x311b91[_0x2f04('0x30')][_0x2f04('0x34')]);_0x4e9e09['where']=qs[_0x2f04('0x36')](_[_0x2f04('0x56')](_0x311b91['query'],_0x26c19c[_0x2f04('0x36')]));_0x4e9e09[_0x2f04('0x35')][_0x2f04('0x57')]=_0xe721a6['id'];if(_0x311b91['query'][_0x2f04('0x37')]){_0x4e9e09[_0x2f04('0x35')]=_[_0x2f04('0x38')](_0x4e9e09['where'],{'$or':_[_0x2f04('0x2a')](_0x4e9e09[_0x2f04('0x31')],function(_0x5c9ad1){var _0x809c78={};_0x809c78[_0x5c9ad1]={'$like':'%'+_0x311b91[_0x2f04('0x30')][_0x2f04('0x37')]+'%'};return _0x809c78;})});}_0x4e9e09=_[_0x2f04('0x38')]({},_0x4e9e09,_0x311b91[_0x2f04('0x3a')]);return db[_0x2f04('0x5a')]['count']({'where':_0x4e9e09[_0x2f04('0x35')]})['then'](function(_0x481430){_0x571b11[_0x2f04('0x18')]=_0x481430;if(_0x311b91[_0x2f04('0x30')][_0x2f04('0x3c')]){_0x4e9e09[_0x2f04('0x3d')]=[{'all':!![]}];}return db[_0x2f04('0x5a')][_0x2f04('0x3e')](_0x4e9e09);})[_0x2f04('0x21')](function(_0x539015){_0x571b11[_0x2f04('0x3f')]=_0x539015;return _0x571b11;});}})[_0x2f04('0x21')](respondWithFilteredResult(_0x3b48e1,_0x4e9e09))['catch'](handleError(_0x3b48e1,null));};function char(_0x41df01){return _0x2f04('0x5b')===typeof _0x41df01?String[_0x2f04('0x5c')]['apply'](null,arguments):_0x41df01;}function needsEncapsulation(_0x1135ff){return!!_0x1135ff&&(_0x1135ff[_0x2f04('0x5d')]()[_0x2f04('0x5e')](char(0xd))>=0x0||_0x1135ff[_0x2f04('0x5d')]()[_0x2f04('0x5e')](char(0xa))>=0x0||_0x1135ff[_0x2f04('0x5d')]()[_0x2f04('0x5e')](char(0x2c))>=0x0||_0x1135ff[_0x2f04('0x5d')]()['indexOf'](char(0x22))>=0x0);}function encapsulate(_0xb2a67f){var _0x2fad92=char(0x22),_0x325dfa='\x5c'+char(0x22),_0x431db3=_0xb2a67f[_0x2f04('0x5d')]()[_0x2f04('0x5f')](new RegExp(_0x2fad92,'g'),_0x325dfa);return _0x2fad92+_0x431db3+_0x2fad92;}exports['getSummary']=function(_0x5cda30,_0x31d0a0,_0x51d070){var _0x385a1a,_0x116a2a;var _0x5207c4={'where':{'ProjectId':_0x5cda30[_0x2f04('0x52')]['id']}};if(_0x5cda30[_0x2f04('0x30')]['startTime']){_0x5207c4[_0x2f04('0x35')][_0x2f04('0x60')]=JSON[_0x2f04('0x61')](_0x5cda30[_0x2f04('0x30')]['startTime']);}return db[_0x2f04('0x58')]['findAll'](_0x5207c4)[_0x2f04('0x21')](handleEntityNotFound(_0x31d0a0,null))['then'](function(_0x11c34b){if(_0x11c34b){_0x385a1a=_0x11c34b;return db[_0x2f04('0x62')][_0x2f04('0x3e')]({'where':{'SessionId':{'$in':_[_0x2f04('0x2a')](_0x385a1a,'id')},'ProjectId':_0x5cda30[_0x2f04('0x52')]['id']},'order':_0x2f04('0x63')});}})[_0x2f04('0x21')](handleEntityNotFound(_0x31d0a0,null))[_0x2f04('0x21')](function(_0x6fdc63){if(_0x6fdc63){_0x116a2a=_0x6fdc63;var _0x4854a2={};for(var _0x27594e=0x0,_0x21deda=_0x116a2a['length'];_0x27594e<_0x21deda;_0x27594e++){if(!_0x4854a2[_0x2f04('0x32')](_0x116a2a[_0x27594e][_0x2f04('0x64')])){_0x4854a2[_0x116a2a[_0x27594e]['questionId']]=needsEncapsulation(_0x116a2a[_0x27594e][_0x2f04('0x65')])?encapsulate(_0x116a2a[_0x27594e][_0x2f04('0x65')]):_0x116a2a[_0x27594e][_0x2f04('0x65')];}}var _0x614157=[],_0x512d39={};for(var _0x36188e=0x0,_0x232a15=_0x385a1a[_0x2f04('0x43')];_0x36188e<_0x232a15;_0x36188e++){_0x512d39={'ProjectId':_0x5cda30[_0x2f04('0x52')]['id'],'SessionId':_0x385a1a[_0x36188e]['id'],'StartTime':moment(_0x385a1a[_0x36188e][_0x2f04('0x60')])[_0x2f04('0x66')](_0x2f04('0x67'))};for(var _0x374bba=0x0,_0x1e4e35=_0x116a2a[_0x2f04('0x43')];_0x374bba<_0x1e4e35;_0x374bba++){if(_0x116a2a[_0x374bba][_0x2f04('0x68')]==_0x385a1a[_0x36188e]['id']&&_0x4854a2[_0x2f04('0x32')](_0x116a2a[_0x374bba]['questionId'])){_0x512d39[_0x4854a2[_0x116a2a[_0x374bba][_0x2f04('0x64')]]]=_0x116a2a[_0x374bba][_0x2f04('0x69')];}}for(var _0x54d9c6 in _0x4854a2){if(!_0x512d39[_0x2f04('0x32')](_0x4854a2[_0x54d9c6])){_0x512d39[_0x4854a2[_0x54d9c6]]=null;}}_0x614157['push'](_0x512d39);}return _0x614157;}})[_0x2f04('0x21')](function(_0x31ea73){if(!_['isEmpty'](_0x31ea73)){var _0x370450=toCsv(_0x31ea73);var _0x56b587=Date[_0x2f04('0x6a')]();fs[_0x2f04('0x6b')](util[_0x2f04('0x66')](_0x2f04('0x6c'),_0x5cda30[_0x2f04('0x52')]['id'],_0x56b587),_0x370450);_0x31d0a0['setHeader']('Content-disposition',_0x2f04('0x6d')+util['format'](_0x2f04('0x6e'),_0x5cda30[_0x2f04('0x52')]['id'],_0x56b587));_0x31d0a0['setHeader'](_0x2f04('0x6f'),'text/csv');return _0x31d0a0[_0x2f04('0x70')](util[_0x2f04('0x66')](_0x2f04('0x6c'),_0x5cda30[_0x2f04('0x52')]['id'],_0x56b587));}else{return _0x31d0a0[_0x2f04('0x15')](0xcc);}})[_0x2f04('0x40')](handleError(_0x31d0a0,null));}; \ No newline at end of file diff --git a/server/api/jscriptyProject/jscriptyProject.model.js b/server/api/jscriptyProject/jscriptyProject.model.js index bb35a5d..2d42227 100644 --- a/server/api/jscriptyProject/jscriptyProject.model.js +++ b/server/api/jscriptyProject/jscriptyProject.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x458a=['request-promise','path','rimraf','../../config/environment','./jscriptyProject.attributes','exports','JscriptyProject','jscripty_projects','lodash','api','moment'];(function(_0x1beef3,_0x57c4b8){var _0x5af964=function(_0x36f463){while(--_0x36f463){_0x1beef3['push'](_0x1beef3['shift']());}};_0x5af964(++_0x57c4b8);}(_0x458a,0x110));var _0xa458=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x458a[_0x3dd15e];return _0x231fd0;};'use strict';var _=require(_0xa458('0x0'));var util=require('util');var logger=require('../../config/logger')(_0xa458('0x1'));var moment=require(_0xa458('0x2'));var BPromise=require('bluebird');var rp=require(_0xa458('0x3'));var fs=require('fs');var path=require(_0xa458('0x4'));var rimraf=require(_0xa458('0x5'));var config=require(_0xa458('0x6'));var attributes=require(_0xa458('0x7'));module[_0xa458('0x8')]=function(_0x5cf920,_0x59a983){return _0x5cf920['define'](_0xa458('0x9'),attributes,{'tableName':_0xa458('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0x0347=['jscripty_projects','util','../../config/logger','api','moment','bluebird','path','rimraf','../../config/environment','./jscriptyProject.attributes','JscriptyProject'];(function(_0xbd08b4,_0x4790ed){var _0x314f1e=function(_0x161589){while(--_0x161589){_0xbd08b4['push'](_0xbd08b4['shift']());}};_0x314f1e(++_0x4790ed);}(_0x0347,0x1f0));var _0x7034=function(_0x465028,_0x4570ac){_0x465028=_0x465028-0x0;var _0xb783d4=_0x0347[_0x465028];return _0xb783d4;};'use strict';var _=require('lodash');var util=require(_0x7034('0x0'));var logger=require(_0x7034('0x1'))(_0x7034('0x2'));var moment=require(_0x7034('0x3'));var BPromise=require(_0x7034('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x7034('0x5'));var rimraf=require(_0x7034('0x6'));var config=require(_0x7034('0x7'));var attributes=require(_0x7034('0x8'));module['exports']=function(_0x5c3c83,_0x381957){return _0x5c3c83['define'](_0x7034('0x9'),attributes,{'tableName':_0x7034('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/jscriptyProject/jscriptyProject.rpc.js b/server/api/jscriptyProject/jscriptyProject.rpc.js index ded76a0..a7bbdf4 100644 --- a/server/api/jscriptyProject/jscriptyProject.rpc.js +++ b/server/api/jscriptyProject/jscriptyProject.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xd68f=['../../config/logger','rpc','../../config/environment','jayson/promise','client','http','info','JscriptyProject,\x20%s,\x20%s','debug','JscriptyProject,\x20%s,\x20%s,\x20%s','request\x20sent','stringify','error','code','message','result','catch','lodash','util','moment','bluebird','randomstring','ioredis','../../mysqldb','../../config/utils'];(function(_0x138adb,_0x193fee){var _0x1b27f2=function(_0x5e97a2){while(--_0x5e97a2){_0x138adb['push'](_0x138adb['shift']());}};_0x1b27f2(++_0x193fee);}(_0xd68f,0x124));var _0xfd68=function(_0x647b0a,_0x426041){_0x647b0a=_0x647b0a-0x0;var _0x5c9b5f=_0xd68f[_0x647b0a];return _0x5c9b5f;};'use strict';var _=require(_0xfd68('0x0'));var util=require(_0xfd68('0x1'));var moment=require(_0xfd68('0x2'));var BPromise=require(_0xfd68('0x3'));var rs=require(_0xfd68('0x4'));var fs=require('fs');var Redis=require(_0xfd68('0x5'));var db=require(_0xfd68('0x6'))['db'];var utils=require(_0xfd68('0x7'));var logger=require(_0xfd68('0x8'))(_0xfd68('0x9'));var config=require(_0xfd68('0xa'));var jayson=require(_0xfd68('0xb'));var client=jayson[_0xfd68('0xc')][_0xfd68('0xd')]({'port':0x232a});function respondWithRpcPromise(_0x18cfb3,_0x1060ae,_0x523fc3){return new BPromise(function(_0x2e4d04,_0x542c00){return client['request'](_0x18cfb3,_0x523fc3)['then'](function(_0x3f9afa){logger[_0xfd68('0xe')](_0xfd68('0xf'),_0x1060ae,'request\x20sent');logger[_0xfd68('0x10')](_0xfd68('0x11'),_0x1060ae,_0xfd68('0x12'),JSON[_0xfd68('0x13')](_0x3f9afa));if(_0x3f9afa[_0xfd68('0x14')]){if(_0x3f9afa[_0xfd68('0x14')][_0xfd68('0x15')]===0x1f4){logger[_0xfd68('0x14')](_0xfd68('0xf'),_0x1060ae,_0x3f9afa[_0xfd68('0x14')]['message']);return _0x542c00(_0x3f9afa[_0xfd68('0x14')][_0xfd68('0x16')]);}logger[_0xfd68('0x14')](_0xfd68('0xf'),_0x1060ae,_0x3f9afa['error'][_0xfd68('0x16')]);return _0x2e4d04(_0x3f9afa[_0xfd68('0x14')][_0xfd68('0x16')]);}else{logger[_0xfd68('0xe')](_0xfd68('0xf'),_0x1060ae,_0xfd68('0x12'));_0x2e4d04(_0x3f9afa[_0xfd68('0x17')]['message']);}})[_0xfd68('0x18')](function(_0x2ec21c){logger[_0xfd68('0x14')](_0xfd68('0xf'),_0x1060ae,_0x2ec21c);_0x542c00(_0x2ec21c);});});} \ No newline at end of file +var _0x7cca=['JscriptyProject,\x20%s,\x20%s,\x20%s','stringify','error','code','JscriptyProject,\x20%s,\x20%s','message','result','catch','lodash','util','bluebird','randomstring','ioredis','../../mysqldb','../../config/utils','http','request','info','request\x20sent','debug'];(function(_0x2fcf18,_0x10009a){var _0x4c68cc=function(_0x444002){while(--_0x444002){_0x2fcf18['push'](_0x2fcf18['shift']());}};_0x4c68cc(++_0x10009a);}(_0x7cca,0xbc));var _0xa7cc=function(_0x3fee4b,_0x21ed6f){_0x3fee4b=_0x3fee4b-0x0;var _0x1cd003=_0x7cca[_0x3fee4b];return _0x1cd003;};'use strict';var _=require(_0xa7cc('0x0'));var util=require(_0xa7cc('0x1'));var moment=require('moment');var BPromise=require(_0xa7cc('0x2'));var rs=require(_0xa7cc('0x3'));var fs=require('fs');var Redis=require(_0xa7cc('0x4'));var db=require(_0xa7cc('0x5'))['db'];var utils=require(_0xa7cc('0x6'));var logger=require('../../config/logger')('rpc');var config=require('../../config/environment');var jayson=require('jayson/promise');var client=jayson['client'][_0xa7cc('0x7')]({'port':0x232a});function respondWithRpcPromise(_0x431f2a,_0x3b02ce,_0x3b11c2){return new BPromise(function(_0x2dd0dd,_0x27d4cf){return client[_0xa7cc('0x8')](_0x431f2a,_0x3b11c2)['then'](function(_0x2ff90a){logger[_0xa7cc('0x9')]('JscriptyProject,\x20%s,\x20%s',_0x3b02ce,_0xa7cc('0xa'));logger[_0xa7cc('0xb')](_0xa7cc('0xc'),_0x3b02ce,_0xa7cc('0xa'),JSON[_0xa7cc('0xd')](_0x2ff90a));if(_0x2ff90a[_0xa7cc('0xe')]){if(_0x2ff90a['error'][_0xa7cc('0xf')]===0x1f4){logger['error'](_0xa7cc('0x10'),_0x3b02ce,_0x2ff90a[_0xa7cc('0xe')][_0xa7cc('0x11')]);return _0x27d4cf(_0x2ff90a['error'][_0xa7cc('0x11')]);}logger['error'](_0xa7cc('0x10'),_0x3b02ce,_0x2ff90a[_0xa7cc('0xe')][_0xa7cc('0x11')]);return _0x2dd0dd(_0x2ff90a[_0xa7cc('0xe')][_0xa7cc('0x11')]);}else{logger[_0xa7cc('0x9')]('JscriptyProject,\x20%s,\x20%s',_0x3b02ce,'request\x20sent');_0x2dd0dd(_0x2ff90a[_0xa7cc('0x12')][_0xa7cc('0x11')]);}})[_0xa7cc('0x13')](function(_0x2a906d){logger[_0xa7cc('0xe')]('JscriptyProject,\x20%s,\x20%s',_0x3b02ce,_0x2a906d);_0x27d4cf(_0x2a906d);});});} \ No newline at end of file diff --git a/server/api/jscriptyQuestionReport/index.js b/server/api/jscriptyQuestionReport/index.js index 25b485e..7ade430 100644 --- a/server/api/jscriptyQuestionReport/index.js +++ b/server/api/jscriptyQuestionReport/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x1880=['express','../../components/auth/service','../../components/interaction/service','../../config/environment','./jscriptyQuestionReport.controller','get','isAuthenticated','/describe','describe','/:id','show','post','create','put','update','delete','destroy','exports','multer','path','connect-timeout'];(function(_0x4cc335,_0x3f2b44){var _0x46331c=function(_0x1fa874){while(--_0x1fa874){_0x4cc335['push'](_0x4cc335['shift']());}};_0x46331c(++_0x3f2b44);}(_0x1880,0xa5));var _0x0188=function(_0x20ab51,_0x246894){_0x20ab51=_0x20ab51-0x0;var _0x51a966=_0x1880[_0x20ab51];return _0x51a966;};'use strict';var multer=require(_0x0188('0x0'));var util=require('util');var path=require(_0x0188('0x1'));var timeout=require(_0x0188('0x2'));var express=require(_0x0188('0x3'));var router=express['Router']();var auth=require(_0x0188('0x4'));var interaction=require(_0x0188('0x5'));var config=require(_0x0188('0x6'));var controller=require(_0x0188('0x7'));router[_0x0188('0x8')]('/',auth[_0x0188('0x9')](),controller['index']);router[_0x0188('0x8')](_0x0188('0xa'),auth[_0x0188('0x9')](),controller[_0x0188('0xb')]);router['get'](_0x0188('0xc'),auth['isAuthenticated'](),controller[_0x0188('0xd')]);router[_0x0188('0xe')]('/',auth['isAuthenticated'](),controller[_0x0188('0xf')]);router[_0x0188('0x10')](_0x0188('0xc'),auth[_0x0188('0x9')](),controller[_0x0188('0x11')]);router[_0x0188('0x12')](_0x0188('0xc'),auth[_0x0188('0x9')](),controller[_0x0188('0x13')]);module[_0x0188('0x14')]=router; \ No newline at end of file +var _0xa272=['create','put','destroy','multer','util','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','get','/describe','isAuthenticated','describe','/:id','post'];(function(_0x574f81,_0x49f2d8){var _0x6fd5da=function(_0x2ee41d){while(--_0x2ee41d){_0x574f81['push'](_0x574f81['shift']());}};_0x6fd5da(++_0x49f2d8);}(_0xa272,0x146));var _0x2a27=function(_0x1d73ff,_0xe3a7db){_0x1d73ff=_0x1d73ff-0x0;var _0x101368=_0xa272[_0x1d73ff];return _0x101368;};'use strict';var multer=require(_0x2a27('0x0'));var util=require(_0x2a27('0x1'));var path=require(_0x2a27('0x2'));var timeout=require(_0x2a27('0x3'));var express=require(_0x2a27('0x4'));var router=express['Router']();var auth=require(_0x2a27('0x5'));var interaction=require(_0x2a27('0x6'));var config=require(_0x2a27('0x7'));var controller=require('./jscriptyQuestionReport.controller');router[_0x2a27('0x8')]('/',auth['isAuthenticated'](),controller['index']);router['get'](_0x2a27('0x9'),auth[_0x2a27('0xa')](),controller[_0x2a27('0xb')]);router[_0x2a27('0x8')](_0x2a27('0xc'),auth[_0x2a27('0xa')](),controller['show']);router[_0x2a27('0xd')]('/',auth[_0x2a27('0xa')](),controller[_0x2a27('0xe')]);router[_0x2a27('0xf')](_0x2a27('0xc'),auth['isAuthenticated'](),controller['update']);router['delete'](_0x2a27('0xc'),auth['isAuthenticated'](),controller[_0x2a27('0x10')]);module['exports']=router; \ No newline at end of file diff --git a/server/api/jscriptyQuestionReport/jscriptyQuestionReport.attributes.js b/server/api/jscriptyQuestionReport/jscriptyQuestionReport.attributes.js index 3af3767..7ebca28 100644 --- a/server/api/jscriptyQuestionReport/jscriptyQuestionReport.attributes.js +++ b/server/api/jscriptyQuestionReport/jscriptyQuestionReport.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x5ce7=['STRING','TEXT','long'];(function(_0x22e712,_0x4829f1){var _0x5d3b70=function(_0x17a50d){while(--_0x17a50d){_0x22e712['push'](_0x22e712['shift']());}};_0x5d3b70(++_0x4829f1);}(_0x5ce7,0x9f));var _0x75ce=function(_0x183a04,_0x502f34){_0x183a04=_0x183a04-0x0;var _0x29c2c0=_0x5ce7[_0x183a04];return _0x29c2c0;};'use strict';var Sequelize=require('sequelize');module['exports']={'question':{'type':Sequelize[_0x75ce('0x0')]},'answer':{'type':Sequelize[_0x75ce('0x1')](_0x75ce('0x2'))},'membername':{'type':Sequelize[_0x75ce('0x0')]},'projectname':{'type':Sequelize[_0x75ce('0x0')]},'queue':{'type':Sequelize['STRING']},'uniqueid':{'type':Sequelize[_0x75ce('0x0')]},'calleridname':{'type':Sequelize['STRING']},'calleridnum':{'type':Sequelize['STRING']},'questionId':{'type':Sequelize['STRING']}}; \ No newline at end of file +var _0x0899=['sequelize','STRING','long'];(function(_0x43cc8b,_0x5240c1){var _0x15aeba=function(_0x4f83e0){while(--_0x4f83e0){_0x43cc8b['push'](_0x43cc8b['shift']());}};_0x15aeba(++_0x5240c1);}(_0x0899,0xf0));var _0x9089=function(_0x1cb17c,_0x1df764){_0x1cb17c=_0x1cb17c-0x0;var _0x262a30=_0x0899[_0x1cb17c];return _0x262a30;};'use strict';var Sequelize=require(_0x9089('0x0'));module['exports']={'question':{'type':Sequelize[_0x9089('0x1')]},'answer':{'type':Sequelize['TEXT'](_0x9089('0x2'))},'membername':{'type':Sequelize['STRING']},'projectname':{'type':Sequelize[_0x9089('0x1')]},'queue':{'type':Sequelize['STRING']},'uniqueid':{'type':Sequelize[_0x9089('0x1')]},'calleridname':{'type':Sequelize[_0x9089('0x1')]},'calleridnum':{'type':Sequelize[_0x9089('0x1')]},'questionId':{'type':Sequelize['STRING']}}; \ No newline at end of file diff --git a/server/api/jscriptyQuestionReport/jscriptyQuestionReport.controller.js b/server/api/jscriptyQuestionReport/jscriptyQuestionReport.controller.js index 9e148c1..143d858 100644 --- a/server/api/jscriptyQuestionReport/jscriptyQuestionReport.controller.js +++ b/server/api/jscriptyQuestionReport/jscriptyQuestionReport.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x84d9=['send','index','map','JscriptyQuestionReport','rawAttributes','fieldName','model','query','keys','filters','intersection','fields','attributes','length','hasOwnProperty','nolimit','sort','where','pick','filter','merge','type','VIRTUAL','includeAll','include','findAll','params','find','catch','create','body','describe','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','mustache','util','path','sox','to-csv','ejs','lodash','squel','crypto','jsforce','desk.js','querystring','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','status','end','json','count','offset','limit','set','Content-Range','apply','reject','save','update','destroy','then','sendStatus','stack','name'];(function(_0x20963b,_0x24ea38){var _0x369a8e=function(_0x23c609){while(--_0x23c609){_0x20963b['push'](_0x20963b['shift']());}};_0x369a8e(++_0x24ea38);}(_0x84d9,0x1ee));var _0x984d=function(_0x229e26,_0x8a6b56){_0x229e26=_0x229e26-0x0;var _0x1ed539=_0x84d9[_0x229e26];return _0x1ed539;};'use strict';var pdf=require(_0x984d('0x0'));var emlformat=require(_0x984d('0x1'));var rimraf=require(_0x984d('0x2'));var zipdir=require(_0x984d('0x3'));var jsonpatch=require(_0x984d('0x4'));var rp=require(_0x984d('0x5'));var moment=require(_0x984d('0x6'));var BPromise=require('bluebird');var Mustache=require(_0x984d('0x7'));var util=require(_0x984d('0x8'));var path=require(_0x984d('0x9'));var sox=require(_0x984d('0xa'));var csv=require(_0x984d('0xb'));var ejs=require(_0x984d('0xc'));var fs=require('fs');var _=require(_0x984d('0xd'));var squel=require(_0x984d('0xe'));var crypto=require(_0x984d('0xf'));var jsforce=require(_0x984d('0x10'));var deskjs=require(_0x984d('0x11'));var toCsv=require('to-csv');var querystring=require(_0x984d('0x12'));var Papa=require('papaparse');var Redis=require(_0x984d('0x13'));var authService=require(_0x984d('0x14'));var qs=require(_0x984d('0x15'));var as=require(_0x984d('0x16'));var hardwareService=require(_0x984d('0x17'));var logger=require(_0x984d('0x18'))(_0x984d('0x19'));var utils=require(_0x984d('0x1a'));var config=require(_0x984d('0x1b'));var db=require('../../mysqldb')['db'];function respondWithStatusCode(_0x2aafc5,_0x58ca12){_0x58ca12=_0x58ca12||0xcc;return function(_0x33e0e4){if(_0x33e0e4){return _0x2aafc5['sendStatus'](_0x58ca12);}return _0x2aafc5[_0x984d('0x1c')](_0x58ca12)[_0x984d('0x1d')]();};}function respondWithResult(_0x5d367,_0x598383){_0x598383=_0x598383||0xc8;return function(_0x43ba4c){if(_0x43ba4c){return _0x5d367[_0x984d('0x1c')](_0x598383)[_0x984d('0x1e')](_0x43ba4c);}};}function respondWithFilteredResult(_0x2a9d85,_0x56b870){return function(_0x325289){if(_0x325289){var _0x1fb7a9=_0x325289[_0x984d('0x1f')],_0x3580ef=_0x56b870['offset'],_0xbca185=_0x56b870[_0x984d('0x20')]+_0x56b870[_0x984d('0x21')],_0x53d464;if(_0xbca185>=_0x1fb7a9){_0xbca185=_0x1fb7a9;_0x53d464=0xc8;}else{_0x53d464=0xce;}_0x2a9d85[_0x984d('0x1c')](_0x53d464);return _0x2a9d85[_0x984d('0x22')](_0x984d('0x23'),_0x3580ef+'-'+_0xbca185+'/'+_0x1fb7a9)[_0x984d('0x1e')](_0x325289);}return null;};}function patchUpdates(_0x278cd9){return function(_0xdf578d){try{jsonpatch[_0x984d('0x24')](_0xdf578d,_0x278cd9,!![]);}catch(_0x53049a){return BPromise[_0x984d('0x25')](_0x53049a);}return _0xdf578d[_0x984d('0x26')]();};}function saveUpdates(_0x1a4f76,_0x1e3fd0){return function(_0x43441a){if(_0x43441a){return _0x43441a[_0x984d('0x27')](_0x1a4f76)['then'](function(_0x2ae34f){return _0x2ae34f;});}return null;};}function removeEntity(_0x27aea6,_0x59ea61){return function(_0x2f0f7c){if(_0x2f0f7c){return _0x2f0f7c[_0x984d('0x28')]()[_0x984d('0x29')](function(){_0x27aea6[_0x984d('0x1c')](0xcc)[_0x984d('0x1d')]();});}};}function handleEntityNotFound(_0x459f6d,_0x5468fb){return function(_0x4ee926){if(!_0x4ee926){_0x459f6d[_0x984d('0x2a')](0x194);}return _0x4ee926;};}function handleError(_0x1c9d63,_0x5339c5){_0x5339c5=_0x5339c5||0x1f4;return function(_0x2d73ce){logger['error'](_0x2d73ce[_0x984d('0x2b')]);if(_0x2d73ce[_0x984d('0x2c')]){delete _0x2d73ce[_0x984d('0x2c')];}_0x1c9d63[_0x984d('0x1c')](_0x5339c5)[_0x984d('0x2d')](_0x2d73ce);};}exports[_0x984d('0x2e')]=function(_0x2cbd45,_0x2b56bb){var _0xb09e7c={},_0x2794fa={},_0x598c4d={'count':0x0,'rows':[]};var _0x370d01=_[_0x984d('0x2f')](db[_0x984d('0x30')][_0x984d('0x31')],function(_0x555ca4){return{'name':_0x555ca4[_0x984d('0x32')],'type':_0x555ca4['type']['key']};});_0x2794fa[_0x984d('0x33')]=_[_0x984d('0x2f')](_0x370d01,_0x984d('0x2c'));_0x2794fa[_0x984d('0x34')]=_[_0x984d('0x35')](_0x2cbd45[_0x984d('0x34')]);_0x2794fa[_0x984d('0x36')]=_[_0x984d('0x37')](_0x2794fa[_0x984d('0x33')],_0x2794fa[_0x984d('0x34')]);_0xb09e7c['attributes']=_[_0x984d('0x37')](_0x2794fa['model'],qs[_0x984d('0x38')](_0x2cbd45[_0x984d('0x34')]['fields']));_0xb09e7c[_0x984d('0x39')]=_0xb09e7c[_0x984d('0x39')][_0x984d('0x3a')]?_0xb09e7c[_0x984d('0x39')]:_0x2794fa[_0x984d('0x33')];if(!_0x2cbd45[_0x984d('0x34')][_0x984d('0x3b')](_0x984d('0x3c'))){_0xb09e7c[_0x984d('0x21')]=qs['limit'](_0x2cbd45[_0x984d('0x34')][_0x984d('0x21')]);_0xb09e7c['offset']=qs['offset'](_0x2cbd45[_0x984d('0x34')][_0x984d('0x20')]);}_0xb09e7c['order']=qs['sort'](_0x2cbd45[_0x984d('0x34')][_0x984d('0x3d')]);_0xb09e7c[_0x984d('0x3e')]=qs[_0x984d('0x36')](_[_0x984d('0x3f')](_0x2cbd45['query'],_0x2794fa['filters']),_0x370d01);if(_0x2cbd45[_0x984d('0x34')][_0x984d('0x40')]){_0xb09e7c[_0x984d('0x3e')]=_[_0x984d('0x41')](_0xb09e7c[_0x984d('0x3e')],{'$or':_[_0x984d('0x2f')](_0x370d01,function(_0x7dd2a4){if(_0x7dd2a4[_0x984d('0x42')]!==_0x984d('0x43')){var _0x23b255={};_0x23b255[_0x7dd2a4[_0x984d('0x2c')]]={'$like':'%'+_0x2cbd45[_0x984d('0x34')][_0x984d('0x40')]+'%'};return _0x23b255;}})});}_0xb09e7c=_['merge']({},_0xb09e7c,_0x2cbd45['options']);var _0x321c71={'where':_0xb09e7c[_0x984d('0x3e')]};return db[_0x984d('0x30')]['count'](_0x321c71)[_0x984d('0x29')](function(_0x45ca27){_0x598c4d[_0x984d('0x1f')]=_0x45ca27;if(_0x2cbd45['query'][_0x984d('0x44')]){_0xb09e7c[_0x984d('0x45')]=[{'all':!![]}];}return db[_0x984d('0x30')][_0x984d('0x46')](_0xb09e7c);})[_0x984d('0x29')](function(_0x3d2aa7){_0x598c4d['rows']=_0x3d2aa7;return _0x598c4d;})[_0x984d('0x29')](respondWithFilteredResult(_0x2b56bb,_0xb09e7c))['catch'](handleError(_0x2b56bb,null));};exports['show']=function(_0xcc5816,_0x25b807){var _0x1c56af={'raw':!![],'where':{'id':_0xcc5816[_0x984d('0x47')]['id']}},_0x279038={};_0x279038['model']=_[_0x984d('0x35')](db[_0x984d('0x30')]['rawAttributes']);_0x279038[_0x984d('0x34')]=_[_0x984d('0x35')](_0xcc5816[_0x984d('0x34')]);_0x279038[_0x984d('0x36')]=_[_0x984d('0x37')](_0x279038[_0x984d('0x33')],_0x279038['query']);_0x1c56af['attributes']=_['intersection'](_0x279038[_0x984d('0x33')],qs[_0x984d('0x38')](_0xcc5816['query'][_0x984d('0x38')]));_0x1c56af['attributes']=_0x1c56af[_0x984d('0x39')][_0x984d('0x3a')]?_0x1c56af[_0x984d('0x39')]:_0x279038['model'];if(_0xcc5816[_0x984d('0x34')][_0x984d('0x44')]){_0x1c56af[_0x984d('0x45')]=[{'all':!![]}];}_0x1c56af=_[_0x984d('0x41')]({},_0x1c56af,_0xcc5816['options']);return db['JscriptyQuestionReport'][_0x984d('0x48')](_0x1c56af)[_0x984d('0x29')](handleEntityNotFound(_0x25b807,null))[_0x984d('0x29')](respondWithResult(_0x25b807,null))[_0x984d('0x49')](handleError(_0x25b807,null));};exports[_0x984d('0x4a')]=function(_0x2695a7,_0x280e72){return db[_0x984d('0x30')][_0x984d('0x4a')](_0x2695a7[_0x984d('0x4b')],{})[_0x984d('0x29')](respondWithResult(_0x280e72,0xc9))[_0x984d('0x49')](handleError(_0x280e72,null));};exports['update']=function(_0x55f279,_0x2898a9){if(_0x55f279[_0x984d('0x4b')]['id']){delete _0x55f279['body']['id'];}return db['JscriptyQuestionReport']['find']({'where':{'id':_0x55f279[_0x984d('0x47')]['id']}})[_0x984d('0x29')](handleEntityNotFound(_0x2898a9,null))[_0x984d('0x29')](saveUpdates(_0x55f279[_0x984d('0x4b')],null))[_0x984d('0x29')](respondWithResult(_0x2898a9,null))[_0x984d('0x49')](handleError(_0x2898a9,null));};exports['destroy']=function(_0x3a1e7b,_0x4f440f){return db[_0x984d('0x30')][_0x984d('0x48')]({'where':{'id':_0x3a1e7b[_0x984d('0x47')]['id']}})[_0x984d('0x29')](handleEntityNotFound(_0x4f440f,null))[_0x984d('0x29')](removeEntity(_0x4f440f,null))[_0x984d('0x49')](handleError(_0x4f440f,null));};exports[_0x984d('0x4c')]=function(_0x1b9772,_0x3867ab){return db[_0x984d('0x30')][_0x984d('0x4c')]()[_0x984d('0x29')](respondWithResult(_0x3867ab,null))[_0x984d('0x49')](handleError(_0x3867ab,null));}; \ No newline at end of file +var _0xdad8=['attributes','fields','length','nolimit','offset','sort','pick','filter','where','type','VIRTUAL','merge','options','JscriptyQuestionReport','then','includeAll','include','rows','catch','show','params','keys','find','body','update','destroy','describe','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','moment','util','sox','ejs','lodash','squel','crypto','jsforce','desk.js','to-csv','papaparse','ioredis','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/environment','status','end','count','limit','Content-Range','json','apply','reject','sendStatus','error','name','index','map','rawAttributes','fieldName','key','model','query','filters','intersection'];(function(_0x52282a,_0x45aef7){var _0x3c66b4=function(_0x312aa9){while(--_0x312aa9){_0x52282a['push'](_0x52282a['shift']());}};_0x3c66b4(++_0x45aef7);}(_0xdad8,0x133));var _0x8dad=function(_0x1c5f30,_0x19df5e){_0x1c5f30=_0x1c5f30-0x0;var _0x4cdef2=_0xdad8[_0x1c5f30];return _0x4cdef2;};'use strict';var pdf=require(_0x8dad('0x0'));var emlformat=require(_0x8dad('0x1'));var rimraf=require(_0x8dad('0x2'));var zipdir=require(_0x8dad('0x3'));var jsonpatch=require(_0x8dad('0x4'));var rp=require('request-promise');var moment=require(_0x8dad('0x5'));var BPromise=require('bluebird');var Mustache=require('mustache');var util=require(_0x8dad('0x6'));var path=require('path');var sox=require(_0x8dad('0x7'));var csv=require('to-csv');var ejs=require(_0x8dad('0x8'));var fs=require('fs');var _=require(_0x8dad('0x9'));var squel=require(_0x8dad('0xa'));var crypto=require(_0x8dad('0xb'));var jsforce=require(_0x8dad('0xc'));var deskjs=require(_0x8dad('0xd'));var toCsv=require(_0x8dad('0xe'));var querystring=require('querystring');var Papa=require(_0x8dad('0xf'));var Redis=require(_0x8dad('0x10'));var authService=require('../../components/auth/service');var qs=require(_0x8dad('0x11'));var as=require(_0x8dad('0x12'));var hardwareService=require(_0x8dad('0x13'));var logger=require(_0x8dad('0x14'))(_0x8dad('0x15'));var utils=require('../../config/utils');var config=require(_0x8dad('0x16'));var db=require('../../mysqldb')['db'];function respondWithStatusCode(_0xda5cf3,_0x162305){_0x162305=_0x162305||0xcc;return function(_0x5475b1){if(_0x5475b1){return _0xda5cf3['sendStatus'](_0x162305);}return _0xda5cf3[_0x8dad('0x17')](_0x162305)[_0x8dad('0x18')]();};}function respondWithResult(_0x5b7cb1,_0x59c55e){_0x59c55e=_0x59c55e||0xc8;return function(_0x24ccd9){if(_0x24ccd9){return _0x5b7cb1[_0x8dad('0x17')](_0x59c55e)['json'](_0x24ccd9);}};}function respondWithFilteredResult(_0x3ab7e0,_0x7455d1){return function(_0x24720e){if(_0x24720e){var _0x57cd32=_0x24720e[_0x8dad('0x19')],_0x1022b5=_0x7455d1['offset'],_0x223c84=_0x7455d1['offset']+_0x7455d1[_0x8dad('0x1a')],_0x4c0597;if(_0x223c84>=_0x57cd32){_0x223c84=_0x57cd32;_0x4c0597=0xc8;}else{_0x4c0597=0xce;}_0x3ab7e0[_0x8dad('0x17')](_0x4c0597);return _0x3ab7e0['set'](_0x8dad('0x1b'),_0x1022b5+'-'+_0x223c84+'/'+_0x57cd32)[_0x8dad('0x1c')](_0x24720e);}return null;};}function patchUpdates(_0x2d177b){return function(_0xdfc486){try{jsonpatch[_0x8dad('0x1d')](_0xdfc486,_0x2d177b,!![]);}catch(_0x58576d){return BPromise[_0x8dad('0x1e')](_0x58576d);}return _0xdfc486['save']();};}function saveUpdates(_0x54a530,_0x5a02a7){return function(_0x2f5b7b){if(_0x2f5b7b){return _0x2f5b7b['update'](_0x54a530)['then'](function(_0x189f1a){return _0x189f1a;});}return null;};}function removeEntity(_0x27807f,_0x1bc939){return function(_0x56f159){if(_0x56f159){return _0x56f159['destroy']()['then'](function(){_0x27807f[_0x8dad('0x17')](0xcc)[_0x8dad('0x18')]();});}};}function handleEntityNotFound(_0x4b441d,_0x4c246d){return function(_0x2b2ffa){if(!_0x2b2ffa){_0x4b441d[_0x8dad('0x1f')](0x194);}return _0x2b2ffa;};}function handleError(_0x12fc8f,_0x304d84){_0x304d84=_0x304d84||0x1f4;return function(_0x18bf19){logger[_0x8dad('0x20')](_0x18bf19['stack']);if(_0x18bf19['name']){delete _0x18bf19[_0x8dad('0x21')];}_0x12fc8f[_0x8dad('0x17')](_0x304d84)['send'](_0x18bf19);};}exports[_0x8dad('0x22')]=function(_0x13a345,_0x518d34){var _0xcb3548={},_0x2c4045={},_0x42b5ca={'count':0x0,'rows':[]};var _0x562781=_[_0x8dad('0x23')](db['JscriptyQuestionReport'][_0x8dad('0x24')],function(_0x4bf9ce){return{'name':_0x4bf9ce[_0x8dad('0x25')],'type':_0x4bf9ce['type'][_0x8dad('0x26')]};});_0x2c4045[_0x8dad('0x27')]=_['map'](_0x562781,_0x8dad('0x21'));_0x2c4045['query']=_['keys'](_0x13a345[_0x8dad('0x28')]);_0x2c4045[_0x8dad('0x29')]=_[_0x8dad('0x2a')](_0x2c4045[_0x8dad('0x27')],_0x2c4045[_0x8dad('0x28')]);_0xcb3548[_0x8dad('0x2b')]=_[_0x8dad('0x2a')](_0x2c4045[_0x8dad('0x27')],qs[_0x8dad('0x2c')](_0x13a345[_0x8dad('0x28')][_0x8dad('0x2c')]));_0xcb3548[_0x8dad('0x2b')]=_0xcb3548['attributes'][_0x8dad('0x2d')]?_0xcb3548[_0x8dad('0x2b')]:_0x2c4045['model'];if(!_0x13a345[_0x8dad('0x28')]['hasOwnProperty'](_0x8dad('0x2e'))){_0xcb3548[_0x8dad('0x1a')]=qs['limit'](_0x13a345[_0x8dad('0x28')][_0x8dad('0x1a')]);_0xcb3548[_0x8dad('0x2f')]=qs['offset'](_0x13a345[_0x8dad('0x28')][_0x8dad('0x2f')]);}_0xcb3548['order']=qs['sort'](_0x13a345['query'][_0x8dad('0x30')]);_0xcb3548['where']=qs[_0x8dad('0x29')](_[_0x8dad('0x31')](_0x13a345[_0x8dad('0x28')],_0x2c4045[_0x8dad('0x29')]),_0x562781);if(_0x13a345[_0x8dad('0x28')][_0x8dad('0x32')]){_0xcb3548[_0x8dad('0x33')]=_['merge'](_0xcb3548['where'],{'$or':_['map'](_0x562781,function(_0x173bb1){if(_0x173bb1[_0x8dad('0x34')]!==_0x8dad('0x35')){var _0x831ff5={};_0x831ff5[_0x173bb1['name']]={'$like':'%'+_0x13a345[_0x8dad('0x28')][_0x8dad('0x32')]+'%'};return _0x831ff5;}})});}_0xcb3548=_[_0x8dad('0x36')]({},_0xcb3548,_0x13a345[_0x8dad('0x37')]);var _0x3f562a={'where':_0xcb3548[_0x8dad('0x33')]};return db[_0x8dad('0x38')][_0x8dad('0x19')](_0x3f562a)[_0x8dad('0x39')](function(_0x51aae9){_0x42b5ca[_0x8dad('0x19')]=_0x51aae9;if(_0x13a345[_0x8dad('0x28')][_0x8dad('0x3a')]){_0xcb3548[_0x8dad('0x3b')]=[{'all':!![]}];}return db[_0x8dad('0x38')]['findAll'](_0xcb3548);})[_0x8dad('0x39')](function(_0x1b3ef0){_0x42b5ca[_0x8dad('0x3c')]=_0x1b3ef0;return _0x42b5ca;})[_0x8dad('0x39')](respondWithFilteredResult(_0x518d34,_0xcb3548))[_0x8dad('0x3d')](handleError(_0x518d34,null));};exports[_0x8dad('0x3e')]=function(_0x54dd3c,_0x12febe){var _0x2c54da={'raw':!![],'where':{'id':_0x54dd3c[_0x8dad('0x3f')]['id']}},_0x505f9f={};_0x505f9f['model']=_[_0x8dad('0x40')](db[_0x8dad('0x38')][_0x8dad('0x24')]);_0x505f9f[_0x8dad('0x28')]=_[_0x8dad('0x40')](_0x54dd3c['query']);_0x505f9f[_0x8dad('0x29')]=_[_0x8dad('0x2a')](_0x505f9f[_0x8dad('0x27')],_0x505f9f[_0x8dad('0x28')]);_0x2c54da['attributes']=_[_0x8dad('0x2a')](_0x505f9f[_0x8dad('0x27')],qs[_0x8dad('0x2c')](_0x54dd3c['query'][_0x8dad('0x2c')]));_0x2c54da[_0x8dad('0x2b')]=_0x2c54da[_0x8dad('0x2b')][_0x8dad('0x2d')]?_0x2c54da[_0x8dad('0x2b')]:_0x505f9f[_0x8dad('0x27')];if(_0x54dd3c[_0x8dad('0x28')][_0x8dad('0x3a')]){_0x2c54da['include']=[{'all':!![]}];}_0x2c54da=_[_0x8dad('0x36')]({},_0x2c54da,_0x54dd3c[_0x8dad('0x37')]);return db[_0x8dad('0x38')][_0x8dad('0x41')](_0x2c54da)['then'](handleEntityNotFound(_0x12febe,null))[_0x8dad('0x39')](respondWithResult(_0x12febe,null))[_0x8dad('0x3d')](handleError(_0x12febe,null));};exports['create']=function(_0x376428,_0x1d5290){return db['JscriptyQuestionReport']['create'](_0x376428[_0x8dad('0x42')],{})[_0x8dad('0x39')](respondWithResult(_0x1d5290,0xc9))[_0x8dad('0x3d')](handleError(_0x1d5290,null));};exports[_0x8dad('0x43')]=function(_0x37645d,_0x3bbb09){if(_0x37645d[_0x8dad('0x42')]['id']){delete _0x37645d[_0x8dad('0x42')]['id'];}return db[_0x8dad('0x38')]['find']({'where':{'id':_0x37645d[_0x8dad('0x3f')]['id']}})[_0x8dad('0x39')](handleEntityNotFound(_0x3bbb09,null))[_0x8dad('0x39')](saveUpdates(_0x37645d[_0x8dad('0x42')],null))[_0x8dad('0x39')](respondWithResult(_0x3bbb09,null))[_0x8dad('0x3d')](handleError(_0x3bbb09,null));};exports[_0x8dad('0x44')]=function(_0x277872,_0x29d725){return db[_0x8dad('0x38')][_0x8dad('0x41')]({'where':{'id':_0x277872['params']['id']}})['then'](handleEntityNotFound(_0x29d725,null))[_0x8dad('0x39')](removeEntity(_0x29d725,null))['catch'](handleError(_0x29d725,null));};exports[_0x8dad('0x45')]=function(_0x2a445d,_0x287e5c){return db['JscriptyQuestionReport']['describe']()[_0x8dad('0x39')](respondWithResult(_0x287e5c,null))['catch'](handleError(_0x287e5c,null));}; \ No newline at end of file diff --git a/server/api/jscriptyQuestionReport/jscriptyQuestionReport.model.js b/server/api/jscriptyQuestionReport/jscriptyQuestionReport.model.js index c15a425..d97a80d 100644 --- a/server/api/jscriptyQuestionReport/jscriptyQuestionReport.model.js +++ b/server/api/jscriptyQuestionReport/jscriptyQuestionReport.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xeeaa=['./jscriptyQuestionReport.attributes','exports','define','report_jscripty_questions','lodash','util','../../config/logger','moment','bluebird','request-promise','path','../../config/environment'];(function(_0x320e24,_0x2b44ce){var _0x434683=function(_0x440af3){while(--_0x440af3){_0x320e24['push'](_0x320e24['shift']());}};_0x434683(++_0x2b44ce);}(_0xeeaa,0xac));var _0xaeea=function(_0x4e8ffb,_0x122343){_0x4e8ffb=_0x4e8ffb-0x0;var _0x224b25=_0xeeaa[_0x4e8ffb];return _0x224b25;};'use strict';var _=require(_0xaeea('0x0'));var util=require(_0xaeea('0x1'));var logger=require(_0xaeea('0x2'))('api');var moment=require(_0xaeea('0x3'));var BPromise=require(_0xaeea('0x4'));var rp=require(_0xaeea('0x5'));var fs=require('fs');var path=require(_0xaeea('0x6'));var rimraf=require('rimraf');var config=require(_0xaeea('0x7'));var attributes=require(_0xaeea('0x8'));module[_0xaeea('0x9')]=function(_0x5e8277,_0x17b466){return _0x5e8277[_0xaeea('0xa')]('JscriptyQuestionReport',attributes,{'tableName':_0xaeea('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0x34cc=['report_jscripty_questions','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','exports','define','JscriptyQuestionReport'];(function(_0x12aaee,_0x5bf50c){var _0x37c350=function(_0x182775){while(--_0x182775){_0x12aaee['push'](_0x12aaee['shift']());}};_0x37c350(++_0x5bf50c);}(_0x34cc,0x9d));var _0xc34c=function(_0x1f9dd8,_0x191dc5){_0x1f9dd8=_0x1f9dd8-0x0;var _0x8ac60=_0x34cc[_0x1f9dd8];return _0x8ac60;};'use strict';var _=require('lodash');var util=require(_0xc34c('0x0'));var logger=require(_0xc34c('0x1'))(_0xc34c('0x2'));var moment=require(_0xc34c('0x3'));var BPromise=require(_0xc34c('0x4'));var rp=require(_0xc34c('0x5'));var fs=require('fs');var path=require(_0xc34c('0x6'));var rimraf=require(_0xc34c('0x7'));var config=require(_0xc34c('0x8'));var attributes=require('./jscriptyQuestionReport.attributes');module[_0xc34c('0x9')]=function(_0x97c9b7,_0x3ee3bf){return _0x97c9b7[_0xc34c('0xa')](_0xc34c('0xb'),attributes,{'tableName':_0xc34c('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/jscriptyQuestionReport/jscriptyQuestionReport.rpc.js b/server/api/jscriptyQuestionReport/jscriptyQuestionReport.rpc.js index 15e9f51..a3a75a0 100644 --- a/server/api/jscriptyQuestionReport/jscriptyQuestionReport.rpc.js +++ b/server/api/jscriptyQuestionReport/jscriptyQuestionReport.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xe387=['moment','bluebird','randomstring','../../config/logger','rpc','../../config/environment','http','request','then','info','JscriptyQuestionReport,\x20%s,\x20%s','request\x20sent','JscriptyQuestionReport,\x20%s,\x20%s,\x20%s','stringify','error','code','message','result','catch','lodash','util'];(function(_0x56f679,_0x164115){var _0x46d02e=function(_0x47ec3f){while(--_0x47ec3f){_0x56f679['push'](_0x56f679['shift']());}};_0x46d02e(++_0x164115);}(_0xe387,0x18d));var _0x7e38=function(_0x2c926e,_0x35c5e1){_0x2c926e=_0x2c926e-0x0;var _0x3fc95b=_0xe387[_0x2c926e];return _0x3fc95b;};'use strict';var _=require(_0x7e38('0x0'));var util=require(_0x7e38('0x1'));var moment=require(_0x7e38('0x2'));var BPromise=require(_0x7e38('0x3'));var rs=require(_0x7e38('0x4'));var fs=require('fs');var Redis=require('ioredis');var db=require('../../mysqldb')['db'];var utils=require('../../config/utils');var logger=require(_0x7e38('0x5'))(_0x7e38('0x6'));var config=require(_0x7e38('0x7'));var jayson=require('jayson/promise');var client=jayson['client'][_0x7e38('0x8')]({'port':0x232a});function respondWithRpcPromise(_0x4b220b,_0x437891,_0x2dd022){return new BPromise(function(_0x4f56fc,_0x1ae7f0){return client[_0x7e38('0x9')](_0x4b220b,_0x2dd022)[_0x7e38('0xa')](function(_0x1ae54e){logger[_0x7e38('0xb')](_0x7e38('0xc'),_0x437891,_0x7e38('0xd'));logger['debug'](_0x7e38('0xe'),_0x437891,_0x7e38('0xd'),JSON[_0x7e38('0xf')](_0x1ae54e));if(_0x1ae54e[_0x7e38('0x10')]){if(_0x1ae54e[_0x7e38('0x10')][_0x7e38('0x11')]===0x1f4){logger[_0x7e38('0x10')](_0x7e38('0xc'),_0x437891,_0x1ae54e['error']['message']);return _0x1ae7f0(_0x1ae54e[_0x7e38('0x10')]['message']);}logger['error'](_0x7e38('0xc'),_0x437891,_0x1ae54e['error'][_0x7e38('0x12')]);return _0x4f56fc(_0x1ae54e[_0x7e38('0x10')][_0x7e38('0x12')]);}else{logger[_0x7e38('0xb')](_0x7e38('0xc'),_0x437891,'request\x20sent');_0x4f56fc(_0x1ae54e[_0x7e38('0x13')][_0x7e38('0x12')]);}})[_0x7e38('0x14')](function(_0x498520){logger[_0x7e38('0x10')](_0x7e38('0xc'),_0x437891,_0x498520);_0x1ae7f0(_0x498520);});});} \ No newline at end of file +var _0x6f7a=['../../config/environment','jayson/promise','client','info','JscriptyQuestionReport,\x20%s,\x20%s','debug','JscriptyQuestionReport,\x20%s,\x20%s,\x20%s','request\x20sent','stringify','error','message','result','catch','util','moment','randomstring','ioredis','../../mysqldb','../../config/utils','../../config/logger','rpc'];(function(_0x225e96,_0x34273a){var _0x1793c0=function(_0x34f4c5){while(--_0x34f4c5){_0x225e96['push'](_0x225e96['shift']());}};_0x1793c0(++_0x34273a);}(_0x6f7a,0x172));var _0xa6f7=function(_0x108b02,_0x25ff62){_0x108b02=_0x108b02-0x0;var _0x5b78a6=_0x6f7a[_0x108b02];return _0x5b78a6;};'use strict';var _=require('lodash');var util=require(_0xa6f7('0x0'));var moment=require(_0xa6f7('0x1'));var BPromise=require('bluebird');var rs=require(_0xa6f7('0x2'));var fs=require('fs');var Redis=require(_0xa6f7('0x3'));var db=require(_0xa6f7('0x4'))['db'];var utils=require(_0xa6f7('0x5'));var logger=require(_0xa6f7('0x6'))(_0xa6f7('0x7'));var config=require(_0xa6f7('0x8'));var jayson=require(_0xa6f7('0x9'));var client=jayson[_0xa6f7('0xa')]['http']({'port':0x232a});function respondWithRpcPromise(_0x48eb7c,_0x472085,_0x369bde){return new BPromise(function(_0x841526,_0x34ab86){return client['request'](_0x48eb7c,_0x369bde)['then'](function(_0xeb6ffb){logger[_0xa6f7('0xb')](_0xa6f7('0xc'),_0x472085,'request\x20sent');logger[_0xa6f7('0xd')](_0xa6f7('0xe'),_0x472085,_0xa6f7('0xf'),JSON[_0xa6f7('0x10')](_0xeb6ffb));if(_0xeb6ffb['error']){if(_0xeb6ffb[_0xa6f7('0x11')]['code']===0x1f4){logger['error'](_0xa6f7('0xc'),_0x472085,_0xeb6ffb[_0xa6f7('0x11')][_0xa6f7('0x12')]);return _0x34ab86(_0xeb6ffb[_0xa6f7('0x11')][_0xa6f7('0x12')]);}logger[_0xa6f7('0x11')]('JscriptyQuestionReport,\x20%s,\x20%s',_0x472085,_0xeb6ffb[_0xa6f7('0x11')]['message']);return _0x841526(_0xeb6ffb['error'][_0xa6f7('0x12')]);}else{logger[_0xa6f7('0xb')](_0xa6f7('0xc'),_0x472085,_0xa6f7('0xf'));_0x841526(_0xeb6ffb[_0xa6f7('0x13')]['message']);}})[_0xa6f7('0x14')](function(_0x28f708){logger['error'](_0xa6f7('0xc'),_0x472085,_0x28f708);_0x34ab86(_0x28f708);});});} \ No newline at end of file diff --git a/server/api/jscriptySessionReport/index.js b/server/api/jscriptySessionReport/index.js index 3ee723e..c7f38c1 100644 --- a/server/api/jscriptySessionReport/index.js +++ b/server/api/jscriptySessionReport/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xaa7c=['../../components/auth/service','../../config/environment','./jscriptySessionReport.controller','get','isAuthenticated','index','/describe','/:id','/:id/questions','getQuestions','post','create','put','update','delete','destroy','exports','multer','Router'];(function(_0x2ef3ce,_0x546fa4){var _0xe87a57=function(_0x17eb93){while(--_0x17eb93){_0x2ef3ce['push'](_0x2ef3ce['shift']());}};_0xe87a57(++_0x546fa4);}(_0xaa7c,0x1ec));var _0xcaa7=function(_0x151120,_0x15de4f){_0x151120=_0x151120-0x0;var _0x55ea19=_0xaa7c[_0x151120];return _0x55ea19;};'use strict';var multer=require(_0xcaa7('0x0'));var util=require('util');var path=require('path');var timeout=require('connect-timeout');var express=require('express');var router=express[_0xcaa7('0x1')]();var auth=require(_0xcaa7('0x2'));var interaction=require('../../components/interaction/service');var config=require(_0xcaa7('0x3'));var controller=require(_0xcaa7('0x4'));router[_0xcaa7('0x5')]('/',auth[_0xcaa7('0x6')](),controller[_0xcaa7('0x7')]);router['get'](_0xcaa7('0x8'),auth['isAuthenticated'](),controller['describe']);router[_0xcaa7('0x5')](_0xcaa7('0x9'),auth[_0xcaa7('0x6')](),controller['show']);router[_0xcaa7('0x5')](_0xcaa7('0xa'),auth[_0xcaa7('0x6')](),controller[_0xcaa7('0xb')]);router[_0xcaa7('0xc')]('/',auth['isAuthenticated'](),controller[_0xcaa7('0xd')]);router[_0xcaa7('0xe')](_0xcaa7('0x9'),auth[_0xcaa7('0x6')](),controller[_0xcaa7('0xf')]);router[_0xcaa7('0x10')]('/:id',auth[_0xcaa7('0x6')](),controller[_0xcaa7('0x11')]);module[_0xcaa7('0x12')]=router; \ No newline at end of file +var _0xdab2=['/describe','describe','/:id','show','getQuestions','post','put','update','delete','destroy','multer','util','connect-timeout','express','Router','../../components/auth/service','../../config/environment','./jscriptySessionReport.controller','get','isAuthenticated','index'];(function(_0x2d38b8,_0x296942){var _0x81591b=function(_0x5acc36){while(--_0x5acc36){_0x2d38b8['push'](_0x2d38b8['shift']());}};_0x81591b(++_0x296942);}(_0xdab2,0x130));var _0x2dab=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xdab2[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require(_0x2dab('0x0'));var util=require(_0x2dab('0x1'));var path=require('path');var timeout=require(_0x2dab('0x2'));var express=require(_0x2dab('0x3'));var router=express[_0x2dab('0x4')]();var auth=require(_0x2dab('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x2dab('0x6'));var controller=require(_0x2dab('0x7'));router[_0x2dab('0x8')]('/',auth[_0x2dab('0x9')](),controller[_0x2dab('0xa')]);router[_0x2dab('0x8')](_0x2dab('0xb'),auth[_0x2dab('0x9')](),controller[_0x2dab('0xc')]);router[_0x2dab('0x8')](_0x2dab('0xd'),auth[_0x2dab('0x9')](),controller[_0x2dab('0xe')]);router['get']('/:id/questions',auth[_0x2dab('0x9')](),controller[_0x2dab('0xf')]);router[_0x2dab('0x10')]('/',auth['isAuthenticated'](),controller['create']);router[_0x2dab('0x11')](_0x2dab('0xd'),auth[_0x2dab('0x9')](),controller[_0x2dab('0x12')]);router[_0x2dab('0x13')]('/:id',auth[_0x2dab('0x9')](),controller[_0x2dab('0x14')]);module['exports']=router; \ No newline at end of file diff --git a/server/api/jscriptySessionReport/jscriptySessionReport.attributes.js b/server/api/jscriptySessionReport/jscriptySessionReport.attributes.js index 2e1a299..5e2f960 100644 --- a/server/api/jscriptySessionReport/jscriptySessionReport.attributes.js +++ b/server/api/jscriptySessionReport/jscriptySessionReport.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xf355=['exports','DATE','setDataValue','starttime','endtime','format','YYYY-MM-DD\x20HH:mm:ss','STRING','BOOLEAN','sequelize'];(function(_0x42a27b,_0x4bc4e4){var _0x56e2e3=function(_0x56db58){while(--_0x56db58){_0x42a27b['push'](_0x42a27b['shift']());}};_0x56e2e3(++_0x4bc4e4);}(_0xf355,0xa9));var _0x5f35=function(_0xe3cad,_0x5f76b1){_0xe3cad=_0xe3cad-0x0;var _0x13050b=_0xf355[_0xe3cad];return _0x13050b;};'use strict';var moment=require('moment');var Sequelize=require(_0x5f35('0x0'));module[_0x5f35('0x1')]={'starttime':{'type':Sequelize[_0x5f35('0x2')],'set':function(_0x30b94c){this[_0x5f35('0x3')](_0x5f35('0x4'),_0x30b94c);this[_0x5f35('0x3')](_0x5f35('0x5'),moment()[_0x5f35('0x6')](_0x5f35('0x7')));}},'endtime':{'type':Sequelize[_0x5f35('0x2')]},'membername':{'type':Sequelize[_0x5f35('0x8')]},'projectname':{'type':Sequelize[_0x5f35('0x8')]},'queue':{'type':Sequelize[_0x5f35('0x8')]},'uniqueid':{'type':Sequelize[_0x5f35('0x8')]},'calleridname':{'type':Sequelize[_0x5f35('0x8')]},'calleridnum':{'type':Sequelize[_0x5f35('0x8')]},'completed':{'type':Sequelize[_0x5f35('0x9')],'defaultValue':![]}}; \ No newline at end of file +var _0x1502=['BOOLEAN','moment','sequelize','exports','DATE','starttime','setDataValue','endtime','format','YYYY-MM-DD\x20HH:mm:ss','STRING'];(function(_0x1cd47d,_0x55bc75){var _0x29d52f=function(_0x37737a){while(--_0x37737a){_0x1cd47d['push'](_0x1cd47d['shift']());}};_0x29d52f(++_0x55bc75);}(_0x1502,0x1a3));var _0x2150=function(_0x1e77bd,_0x1cc967){_0x1e77bd=_0x1e77bd-0x0;var _0x48bfb8=_0x1502[_0x1e77bd];return _0x48bfb8;};'use strict';var moment=require(_0x2150('0x0'));var Sequelize=require(_0x2150('0x1'));module[_0x2150('0x2')]={'starttime':{'type':Sequelize[_0x2150('0x3')],'set':function(_0x436423){this['setDataValue'](_0x2150('0x4'),_0x436423);this[_0x2150('0x5')](_0x2150('0x6'),moment()[_0x2150('0x7')](_0x2150('0x8')));}},'endtime':{'type':Sequelize['DATE']},'membername':{'type':Sequelize[_0x2150('0x9')]},'projectname':{'type':Sequelize[_0x2150('0x9')]},'queue':{'type':Sequelize[_0x2150('0x9')]},'uniqueid':{'type':Sequelize[_0x2150('0x9')]},'calleridname':{'type':Sequelize[_0x2150('0x9')]},'calleridnum':{'type':Sequelize[_0x2150('0x9')]},'completed':{'type':Sequelize[_0x2150('0xa')],'defaultValue':![]}}; \ No newline at end of file diff --git a/server/api/jscriptySessionReport/jscriptySessionReport.controller.js b/server/api/jscriptySessionReport/jscriptySessionReport.controller.js index c089cc1..c7736f5 100644 --- a/server/api/jscriptySessionReport/jscriptySessionReport.controller.js +++ b/server/api/jscriptySessionReport/jscriptySessionReport.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x81dd=['papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','sendStatus','status','end','count','offset','limit','set','json','apply','save','then','destroy','error','stack','name','index','map','JscriptySessionReport','rawAttributes','type','key','model','query','keys','filters','attributes','intersection','fields','length','hasOwnProperty','nolimit','order','sort','where','pick','filter','merge','VIRTUAL','options','include','findAll','rows','catch','show','includeAll','create','body','update','params','find','describe','findOne','JscriptyQuestionReport','html-pdf','eml-format','rimraf','zip-dir','request-promise','moment','bluebird','util','path','sox','to-csv','lodash','squel','jsforce','desk.js'];(function(_0x2c73eb,_0x14b97c){var _0xa7edcd=function(_0x11f11c){while(--_0x11f11c){_0x2c73eb['push'](_0x2c73eb['shift']());}};_0xa7edcd(++_0x14b97c);}(_0x81dd,0xde));var _0xd81d=function(_0x524864,_0x43e539){_0x524864=_0x524864-0x0;var _0x2d7242=_0x81dd[_0x524864];return _0x2d7242;};'use strict';var pdf=require(_0xd81d('0x0'));var emlformat=require(_0xd81d('0x1'));var rimraf=require(_0xd81d('0x2'));var zipdir=require(_0xd81d('0x3'));var jsonpatch=require('fast-json-patch');var rp=require(_0xd81d('0x4'));var moment=require(_0xd81d('0x5'));var BPromise=require(_0xd81d('0x6'));var Mustache=require('mustache');var util=require(_0xd81d('0x7'));var path=require(_0xd81d('0x8'));var sox=require(_0xd81d('0x9'));var csv=require(_0xd81d('0xa'));var ejs=require('ejs');var fs=require('fs');var _=require(_0xd81d('0xb'));var squel=require(_0xd81d('0xc'));var crypto=require('crypto');var jsforce=require(_0xd81d('0xd'));var deskjs=require(_0xd81d('0xe'));var toCsv=require(_0xd81d('0xa'));var querystring=require('querystring');var Papa=require(_0xd81d('0xf'));var Redis=require(_0xd81d('0x10'));var authService=require(_0xd81d('0x11'));var qs=require(_0xd81d('0x12'));var as=require(_0xd81d('0x13'));var hardwareService=require(_0xd81d('0x14'));var logger=require(_0xd81d('0x15'))(_0xd81d('0x16'));var utils=require(_0xd81d('0x17'));var config=require(_0xd81d('0x18'));var db=require(_0xd81d('0x19'))['db'];function respondWithStatusCode(_0x189ff3,_0x492190){_0x492190=_0x492190||0xcc;return function(_0x14f9f9){if(_0x14f9f9){return _0x189ff3[_0xd81d('0x1a')](_0x492190);}return _0x189ff3[_0xd81d('0x1b')](_0x492190)[_0xd81d('0x1c')]();};}function respondWithResult(_0x151ffd,_0xe508d7){_0xe508d7=_0xe508d7||0xc8;return function(_0x18b9a9){if(_0x18b9a9){return _0x151ffd[_0xd81d('0x1b')](_0xe508d7)['json'](_0x18b9a9);}};}function respondWithFilteredResult(_0x2ec2c7,_0x2c0b10){return function(_0x3b4594){if(_0x3b4594){var _0x14d899=_0x3b4594[_0xd81d('0x1d')],_0x46bf98=_0x2c0b10['offset'],_0x5da2c0=_0x2c0b10[_0xd81d('0x1e')]+_0x2c0b10[_0xd81d('0x1f')],_0x182f25;if(_0x5da2c0>=_0x14d899){_0x5da2c0=_0x14d899;_0x182f25=0xc8;}else{_0x182f25=0xce;}_0x2ec2c7['status'](_0x182f25);return _0x2ec2c7[_0xd81d('0x20')]('Content-Range',_0x46bf98+'-'+_0x5da2c0+'/'+_0x14d899)[_0xd81d('0x21')](_0x3b4594);}return null;};}function patchUpdates(_0x145de1){return function(_0x1d7f56){try{jsonpatch[_0xd81d('0x22')](_0x1d7f56,_0x145de1,!![]);}catch(_0x3af15a){return BPromise['reject'](_0x3af15a);}return _0x1d7f56[_0xd81d('0x23')]();};}function saveUpdates(_0x34693e,_0x53ee8d){return function(_0x5b5124){if(_0x5b5124){return _0x5b5124['update'](_0x34693e)[_0xd81d('0x24')](function(_0xb0e994){return _0xb0e994;});}return null;};}function removeEntity(_0x54c2b2,_0xe38bd5){return function(_0x58e119){if(_0x58e119){return _0x58e119[_0xd81d('0x25')]()['then'](function(){_0x54c2b2['status'](0xcc)['end']();});}};}function handleEntityNotFound(_0x3013b5,_0x35fc1b){return function(_0x3cca50){if(!_0x3cca50){_0x3013b5[_0xd81d('0x1a')](0x194);}return _0x3cca50;};}function handleError(_0x1c7004,_0x1df67a){_0x1df67a=_0x1df67a||0x1f4;return function(_0x40f75e){logger[_0xd81d('0x26')](_0x40f75e[_0xd81d('0x27')]);if(_0x40f75e[_0xd81d('0x28')]){delete _0x40f75e[_0xd81d('0x28')];}_0x1c7004[_0xd81d('0x1b')](_0x1df67a)['send'](_0x40f75e);};}exports[_0xd81d('0x29')]=function(_0x2e1424,_0x48258a){var _0x4ae713={},_0x305b16={},_0xdb4c94={'count':0x0,'rows':[]};var _0x116ad7=_[_0xd81d('0x2a')](db[_0xd81d('0x2b')][_0xd81d('0x2c')],function(_0x101847){return{'name':_0x101847['fieldName'],'type':_0x101847[_0xd81d('0x2d')][_0xd81d('0x2e')]};});_0x305b16[_0xd81d('0x2f')]=_[_0xd81d('0x2a')](_0x116ad7,_0xd81d('0x28'));_0x305b16[_0xd81d('0x30')]=_[_0xd81d('0x31')](_0x2e1424[_0xd81d('0x30')]);_0x305b16[_0xd81d('0x32')]=_['intersection'](_0x305b16[_0xd81d('0x2f')],_0x305b16[_0xd81d('0x30')]);_0x4ae713[_0xd81d('0x33')]=_[_0xd81d('0x34')](_0x305b16[_0xd81d('0x2f')],qs[_0xd81d('0x35')](_0x2e1424[_0xd81d('0x30')][_0xd81d('0x35')]));_0x4ae713[_0xd81d('0x33')]=_0x4ae713['attributes'][_0xd81d('0x36')]?_0x4ae713['attributes']:_0x305b16[_0xd81d('0x2f')];if(!_0x2e1424[_0xd81d('0x30')][_0xd81d('0x37')](_0xd81d('0x38'))){_0x4ae713[_0xd81d('0x1f')]=qs[_0xd81d('0x1f')](_0x2e1424[_0xd81d('0x30')][_0xd81d('0x1f')]);_0x4ae713[_0xd81d('0x1e')]=qs[_0xd81d('0x1e')](_0x2e1424[_0xd81d('0x30')][_0xd81d('0x1e')]);}_0x4ae713[_0xd81d('0x39')]=qs['sort'](_0x2e1424['query'][_0xd81d('0x3a')]);_0x4ae713[_0xd81d('0x3b')]=qs[_0xd81d('0x32')](_[_0xd81d('0x3c')](_0x2e1424[_0xd81d('0x30')],_0x305b16['filters']),_0x116ad7);if(_0x2e1424['query'][_0xd81d('0x3d')]){_0x4ae713[_0xd81d('0x3b')]=_[_0xd81d('0x3e')](_0x4ae713[_0xd81d('0x3b')],{'$or':_[_0xd81d('0x2a')](_0x116ad7,function(_0x51631d){if(_0x51631d[_0xd81d('0x2d')]!==_0xd81d('0x3f')){var _0x49fceb={};_0x49fceb[_0x51631d[_0xd81d('0x28')]]={'$like':'%'+_0x2e1424[_0xd81d('0x30')]['filter']+'%'};return _0x49fceb;}})});}_0x4ae713=_['merge']({},_0x4ae713,_0x2e1424[_0xd81d('0x40')]);var _0x29e49e={'where':_0x4ae713[_0xd81d('0x3b')]};return db['JscriptySessionReport'][_0xd81d('0x1d')](_0x29e49e)[_0xd81d('0x24')](function(_0x25f2bd){_0xdb4c94[_0xd81d('0x1d')]=_0x25f2bd;if(_0x2e1424['query']['includeAll']){_0x4ae713[_0xd81d('0x41')]=[{'all':!![]}];}return db[_0xd81d('0x2b')][_0xd81d('0x42')](_0x4ae713);})[_0xd81d('0x24')](function(_0x418751){_0xdb4c94[_0xd81d('0x43')]=_0x418751;return _0xdb4c94;})[_0xd81d('0x24')](respondWithFilteredResult(_0x48258a,_0x4ae713))[_0xd81d('0x44')](handleError(_0x48258a,null));};exports[_0xd81d('0x45')]=function(_0x29df9a,_0x36738e){var _0x135f3c={'raw':!![],'where':{'id':_0x29df9a['params']['id']}},_0x3a99fd={};_0x3a99fd[_0xd81d('0x2f')]=_[_0xd81d('0x31')](db[_0xd81d('0x2b')][_0xd81d('0x2c')]);_0x3a99fd[_0xd81d('0x30')]=_[_0xd81d('0x31')](_0x29df9a['query']);_0x3a99fd[_0xd81d('0x32')]=_[_0xd81d('0x34')](_0x3a99fd[_0xd81d('0x2f')],_0x3a99fd[_0xd81d('0x30')]);_0x135f3c['attributes']=_['intersection'](_0x3a99fd[_0xd81d('0x2f')],qs[_0xd81d('0x35')](_0x29df9a[_0xd81d('0x30')]['fields']));_0x135f3c[_0xd81d('0x33')]=_0x135f3c[_0xd81d('0x33')][_0xd81d('0x36')]?_0x135f3c[_0xd81d('0x33')]:_0x3a99fd[_0xd81d('0x2f')];if(_0x29df9a[_0xd81d('0x30')][_0xd81d('0x46')]){_0x135f3c[_0xd81d('0x41')]=[{'all':!![]}];}_0x135f3c=_['merge']({},_0x135f3c,_0x29df9a['options']);return db['JscriptySessionReport']['find'](_0x135f3c)[_0xd81d('0x24')](handleEntityNotFound(_0x36738e,null))[_0xd81d('0x24')](respondWithResult(_0x36738e,null))[_0xd81d('0x44')](handleError(_0x36738e,null));};exports[_0xd81d('0x47')]=function(_0x121edb,_0x2aa6af){return db[_0xd81d('0x2b')][_0xd81d('0x47')](_0x121edb[_0xd81d('0x48')],{})['then'](respondWithResult(_0x2aa6af,0xc9))['catch'](handleError(_0x2aa6af,null));};exports[_0xd81d('0x49')]=function(_0x1f2200,_0x47c375){if(_0x1f2200[_0xd81d('0x48')]['id']){delete _0x1f2200[_0xd81d('0x48')]['id'];}return db['JscriptySessionReport']['find']({'where':{'id':_0x1f2200[_0xd81d('0x4a')]['id']}})[_0xd81d('0x24')](handleEntityNotFound(_0x47c375,null))[_0xd81d('0x24')](saveUpdates(_0x1f2200[_0xd81d('0x48')],null))['then'](respondWithResult(_0x47c375,null))['catch'](handleError(_0x47c375,null));};exports[_0xd81d('0x25')]=function(_0x1dfaa2,_0x56978f){return db[_0xd81d('0x2b')][_0xd81d('0x4b')]({'where':{'id':_0x1dfaa2['params']['id']}})[_0xd81d('0x24')](handleEntityNotFound(_0x56978f,null))[_0xd81d('0x24')](removeEntity(_0x56978f,null))[_0xd81d('0x44')](handleError(_0x56978f,null));};exports[_0xd81d('0x4c')]=function(_0x1b1baa,_0x4c0a8c){return db[_0xd81d('0x2b')][_0xd81d('0x4c')]()[_0xd81d('0x24')](respondWithResult(_0x4c0a8c,null))[_0xd81d('0x44')](handleError(_0x4c0a8c,null));};exports['getQuestions']=function(_0x4cf706,_0xcff0f2,_0x50b36b){var _0x2377cb={'raw':!![],'where':{}};var _0xbe072b={};var _0x4180ce={'count':0x0,'rows':[]};return db[_0xd81d('0x2b')][_0xd81d('0x4d')]({'where':{'id':_0x4cf706[_0xd81d('0x4a')]['id']}})[_0xd81d('0x24')](handleEntityNotFound(_0xcff0f2,null))[_0xd81d('0x24')](function(_0x10f6eb){if(_0x10f6eb){_0xbe072b[_0xd81d('0x2f')]=_[_0xd81d('0x31')](db['JscriptyQuestionReport'][_0xd81d('0x2c')]);_0xbe072b[_0xd81d('0x30')]=_[_0xd81d('0x31')](_0x4cf706['query']);_0xbe072b[_0xd81d('0x32')]=_[_0xd81d('0x34')](_0xbe072b[_0xd81d('0x2f')],_0xbe072b[_0xd81d('0x30')]);_0x2377cb[_0xd81d('0x33')]=_['intersection'](_0xbe072b[_0xd81d('0x2f')],qs['fields'](_0x4cf706['query']['fields']));_0x2377cb[_0xd81d('0x33')]=_0x2377cb['attributes']['length']?_0x2377cb['attributes']:_0xbe072b[_0xd81d('0x2f')];if(!_0x4cf706[_0xd81d('0x30')][_0xd81d('0x37')](_0xd81d('0x38'))){_0x2377cb[_0xd81d('0x1f')]=qs['limit'](_0x4cf706['query'][_0xd81d('0x1f')]);_0x2377cb[_0xd81d('0x1e')]=qs[_0xd81d('0x1e')](_0x4cf706[_0xd81d('0x30')][_0xd81d('0x1e')]);}_0x2377cb['order']=qs[_0xd81d('0x3a')](_0x4cf706[_0xd81d('0x30')][_0xd81d('0x3a')]);_0x2377cb['where']=qs[_0xd81d('0x32')](_[_0xd81d('0x3c')](_0x4cf706[_0xd81d('0x30')],_0xbe072b[_0xd81d('0x32')]));_0x2377cb[_0xd81d('0x3b')]['SessionId']=_0x10f6eb['id'];if(_0x4cf706['query'][_0xd81d('0x3d')]){_0x2377cb[_0xd81d('0x3b')]=_[_0xd81d('0x3e')](_0x2377cb[_0xd81d('0x3b')],{'$or':_[_0xd81d('0x2a')](_0x2377cb[_0xd81d('0x33')],function(_0x28d1a9){var _0x33befe={};_0x33befe[_0x28d1a9]={'$like':'%'+_0x4cf706['query'][_0xd81d('0x3d')]+'%'};return _0x33befe;})});}_0x2377cb=_[_0xd81d('0x3e')]({},_0x2377cb,_0x4cf706[_0xd81d('0x40')]);return db[_0xd81d('0x4e')][_0xd81d('0x1d')]({'where':_0x2377cb[_0xd81d('0x3b')]})['then'](function(_0x3d88b8){_0x4180ce[_0xd81d('0x1d')]=_0x3d88b8;if(_0x4cf706['query'][_0xd81d('0x46')]){_0x2377cb[_0xd81d('0x41')]=[{'all':!![]}];}return db[_0xd81d('0x4e')]['findAll'](_0x2377cb);})[_0xd81d('0x24')](function(_0x281793){_0x4180ce['rows']=_0x281793;return _0x4180ce;});}})[_0xd81d('0x24')](respondWithFilteredResult(_0xcff0f2,_0x2377cb))['catch'](handleError(_0xcff0f2,null));}; \ No newline at end of file +var _0xcf2e=['../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','sendStatus','status','end','count','offset','limit','set','Content-Range','apply','reject','update','then','destroy','error','name','index','map','JscriptySessionReport','rawAttributes','fieldName','type','key','model','query','keys','filters','intersection','attributes','fields','nolimit','order','sort','pick','where','merge','VIRTUAL','filter','options','includeAll','include','rows','catch','show','params','length','create','body','find','describe','findOne','hasOwnProperty','SessionId','JscriptyQuestionReport','findAll','eml-format','rimraf','fast-json-patch','request-promise','moment','bluebird','mustache','util','to-csv','ejs','lodash','squel','jsforce','desk.js','papaparse','ioredis','../../components/parsers/qs','../../components/parsers/advancedSearch'];(function(_0x327bf0,_0x634be5){var _0x59edae=function(_0x135ea6){while(--_0x135ea6){_0x327bf0['push'](_0x327bf0['shift']());}};_0x59edae(++_0x634be5);}(_0xcf2e,0x1bc));var _0xecf2=function(_0x4192ad,_0x488f5c){_0x4192ad=_0x4192ad-0x0;var _0x415dc3=_0xcf2e[_0x4192ad];return _0x415dc3;};'use strict';var pdf=require('html-pdf');var emlformat=require(_0xecf2('0x0'));var rimraf=require(_0xecf2('0x1'));var zipdir=require('zip-dir');var jsonpatch=require(_0xecf2('0x2'));var rp=require(_0xecf2('0x3'));var moment=require(_0xecf2('0x4'));var BPromise=require(_0xecf2('0x5'));var Mustache=require(_0xecf2('0x6'));var util=require(_0xecf2('0x7'));var path=require('path');var sox=require('sox');var csv=require(_0xecf2('0x8'));var ejs=require(_0xecf2('0x9'));var fs=require('fs');var _=require(_0xecf2('0xa'));var squel=require(_0xecf2('0xb'));var crypto=require('crypto');var jsforce=require(_0xecf2('0xc'));var deskjs=require(_0xecf2('0xd'));var toCsv=require('to-csv');var querystring=require('querystring');var Papa=require(_0xecf2('0xe'));var Redis=require(_0xecf2('0xf'));var authService=require('../../components/auth/service');var qs=require(_0xecf2('0x10'));var as=require(_0xecf2('0x11'));var hardwareService=require(_0xecf2('0x12'));var logger=require(_0xecf2('0x13'))(_0xecf2('0x14'));var utils=require(_0xecf2('0x15'));var config=require(_0xecf2('0x16'));var db=require('../../mysqldb')['db'];function respondWithStatusCode(_0x250538,_0x1658a9){_0x1658a9=_0x1658a9||0xcc;return function(_0x4dd83a){if(_0x4dd83a){return _0x250538[_0xecf2('0x17')](_0x1658a9);}return _0x250538[_0xecf2('0x18')](_0x1658a9)[_0xecf2('0x19')]();};}function respondWithResult(_0x5f3d7c,_0x367336){_0x367336=_0x367336||0xc8;return function(_0x208660){if(_0x208660){return _0x5f3d7c['status'](_0x367336)['json'](_0x208660);}};}function respondWithFilteredResult(_0x14ce3c,_0x446514){return function(_0x25d175){if(_0x25d175){var _0x48355c=_0x25d175[_0xecf2('0x1a')],_0x1d8aa1=_0x446514[_0xecf2('0x1b')],_0x3c5981=_0x446514[_0xecf2('0x1b')]+_0x446514[_0xecf2('0x1c')],_0x3992a5;if(_0x3c5981>=_0x48355c){_0x3c5981=_0x48355c;_0x3992a5=0xc8;}else{_0x3992a5=0xce;}_0x14ce3c[_0xecf2('0x18')](_0x3992a5);return _0x14ce3c[_0xecf2('0x1d')](_0xecf2('0x1e'),_0x1d8aa1+'-'+_0x3c5981+'/'+_0x48355c)['json'](_0x25d175);}return null;};}function patchUpdates(_0x2c97e2){return function(_0x5389a9){try{jsonpatch[_0xecf2('0x1f')](_0x5389a9,_0x2c97e2,!![]);}catch(_0x124493){return BPromise[_0xecf2('0x20')](_0x124493);}return _0x5389a9['save']();};}function saveUpdates(_0xd5ce3b,_0x17bbc0){return function(_0x9055){if(_0x9055){return _0x9055[_0xecf2('0x21')](_0xd5ce3b)[_0xecf2('0x22')](function(_0x3758e8){return _0x3758e8;});}return null;};}function removeEntity(_0x23a289,_0x311749){return function(_0x1b138b){if(_0x1b138b){return _0x1b138b[_0xecf2('0x23')]()['then'](function(){_0x23a289[_0xecf2('0x18')](0xcc)[_0xecf2('0x19')]();});}};}function handleEntityNotFound(_0x473713,_0x291741){return function(_0x574282){if(!_0x574282){_0x473713[_0xecf2('0x17')](0x194);}return _0x574282;};}function handleError(_0x465755,_0x3a553d){_0x3a553d=_0x3a553d||0x1f4;return function(_0x389968){logger[_0xecf2('0x24')](_0x389968['stack']);if(_0x389968[_0xecf2('0x25')]){delete _0x389968[_0xecf2('0x25')];}_0x465755[_0xecf2('0x18')](_0x3a553d)['send'](_0x389968);};}exports[_0xecf2('0x26')]=function(_0x319b8a,_0x4f7bdd){var _0x49856c={},_0x361818={},_0x477cb2={'count':0x0,'rows':[]};var _0x18d103=_[_0xecf2('0x27')](db[_0xecf2('0x28')][_0xecf2('0x29')],function(_0x2d3bb3){return{'name':_0x2d3bb3[_0xecf2('0x2a')],'type':_0x2d3bb3[_0xecf2('0x2b')][_0xecf2('0x2c')]};});_0x361818[_0xecf2('0x2d')]=_[_0xecf2('0x27')](_0x18d103,'name');_0x361818[_0xecf2('0x2e')]=_[_0xecf2('0x2f')](_0x319b8a[_0xecf2('0x2e')]);_0x361818[_0xecf2('0x30')]=_[_0xecf2('0x31')](_0x361818[_0xecf2('0x2d')],_0x361818['query']);_0x49856c[_0xecf2('0x32')]=_[_0xecf2('0x31')](_0x361818[_0xecf2('0x2d')],qs[_0xecf2('0x33')](_0x319b8a[_0xecf2('0x2e')][_0xecf2('0x33')]));_0x49856c[_0xecf2('0x32')]=_0x49856c[_0xecf2('0x32')]['length']?_0x49856c[_0xecf2('0x32')]:_0x361818[_0xecf2('0x2d')];if(!_0x319b8a[_0xecf2('0x2e')]['hasOwnProperty'](_0xecf2('0x34'))){_0x49856c[_0xecf2('0x1c')]=qs[_0xecf2('0x1c')](_0x319b8a[_0xecf2('0x2e')][_0xecf2('0x1c')]);_0x49856c[_0xecf2('0x1b')]=qs[_0xecf2('0x1b')](_0x319b8a[_0xecf2('0x2e')][_0xecf2('0x1b')]);}_0x49856c[_0xecf2('0x35')]=qs[_0xecf2('0x36')](_0x319b8a[_0xecf2('0x2e')][_0xecf2('0x36')]);_0x49856c['where']=qs['filters'](_[_0xecf2('0x37')](_0x319b8a[_0xecf2('0x2e')],_0x361818[_0xecf2('0x30')]),_0x18d103);if(_0x319b8a[_0xecf2('0x2e')]['filter']){_0x49856c[_0xecf2('0x38')]=_[_0xecf2('0x39')](_0x49856c[_0xecf2('0x38')],{'$or':_[_0xecf2('0x27')](_0x18d103,function(_0x1daec0){if(_0x1daec0['type']!==_0xecf2('0x3a')){var _0x51c758={};_0x51c758[_0x1daec0['name']]={'$like':'%'+_0x319b8a['query'][_0xecf2('0x3b')]+'%'};return _0x51c758;}})});}_0x49856c=_[_0xecf2('0x39')]({},_0x49856c,_0x319b8a[_0xecf2('0x3c')]);var _0xebfaf9={'where':_0x49856c['where']};return db[_0xecf2('0x28')][_0xecf2('0x1a')](_0xebfaf9)[_0xecf2('0x22')](function(_0xfbeb2b){_0x477cb2[_0xecf2('0x1a')]=_0xfbeb2b;if(_0x319b8a['query'][_0xecf2('0x3d')]){_0x49856c[_0xecf2('0x3e')]=[{'all':!![]}];}return db[_0xecf2('0x28')]['findAll'](_0x49856c);})[_0xecf2('0x22')](function(_0xdabaec){_0x477cb2[_0xecf2('0x3f')]=_0xdabaec;return _0x477cb2;})[_0xecf2('0x22')](respondWithFilteredResult(_0x4f7bdd,_0x49856c))[_0xecf2('0x40')](handleError(_0x4f7bdd,null));};exports[_0xecf2('0x41')]=function(_0x21e4bc,_0x3421bc){var _0x2c57a9={'raw':!![],'where':{'id':_0x21e4bc[_0xecf2('0x42')]['id']}},_0x5a3098={};_0x5a3098[_0xecf2('0x2d')]=_[_0xecf2('0x2f')](db[_0xecf2('0x28')]['rawAttributes']);_0x5a3098['query']=_[_0xecf2('0x2f')](_0x21e4bc[_0xecf2('0x2e')]);_0x5a3098[_0xecf2('0x30')]=_[_0xecf2('0x31')](_0x5a3098['model'],_0x5a3098[_0xecf2('0x2e')]);_0x2c57a9['attributes']=_[_0xecf2('0x31')](_0x5a3098[_0xecf2('0x2d')],qs[_0xecf2('0x33')](_0x21e4bc[_0xecf2('0x2e')][_0xecf2('0x33')]));_0x2c57a9[_0xecf2('0x32')]=_0x2c57a9[_0xecf2('0x32')][_0xecf2('0x43')]?_0x2c57a9[_0xecf2('0x32')]:_0x5a3098[_0xecf2('0x2d')];if(_0x21e4bc[_0xecf2('0x2e')]['includeAll']){_0x2c57a9['include']=[{'all':!![]}];}_0x2c57a9=_[_0xecf2('0x39')]({},_0x2c57a9,_0x21e4bc[_0xecf2('0x3c')]);return db[_0xecf2('0x28')]['find'](_0x2c57a9)[_0xecf2('0x22')](handleEntityNotFound(_0x3421bc,null))[_0xecf2('0x22')](respondWithResult(_0x3421bc,null))[_0xecf2('0x40')](handleError(_0x3421bc,null));};exports[_0xecf2('0x44')]=function(_0x27baa2,_0x57f1c9){return db[_0xecf2('0x28')][_0xecf2('0x44')](_0x27baa2[_0xecf2('0x45')],{})[_0xecf2('0x22')](respondWithResult(_0x57f1c9,0xc9))[_0xecf2('0x40')](handleError(_0x57f1c9,null));};exports[_0xecf2('0x21')]=function(_0x514b8c,_0x2b1e49){if(_0x514b8c['body']['id']){delete _0x514b8c[_0xecf2('0x45')]['id'];}return db[_0xecf2('0x28')]['find']({'where':{'id':_0x514b8c['params']['id']}})['then'](handleEntityNotFound(_0x2b1e49,null))[_0xecf2('0x22')](saveUpdates(_0x514b8c[_0xecf2('0x45')],null))[_0xecf2('0x22')](respondWithResult(_0x2b1e49,null))[_0xecf2('0x40')](handleError(_0x2b1e49,null));};exports[_0xecf2('0x23')]=function(_0x558974,_0x1cd16b){return db[_0xecf2('0x28')][_0xecf2('0x46')]({'where':{'id':_0x558974[_0xecf2('0x42')]['id']}})[_0xecf2('0x22')](handleEntityNotFound(_0x1cd16b,null))[_0xecf2('0x22')](removeEntity(_0x1cd16b,null))[_0xecf2('0x40')](handleError(_0x1cd16b,null));};exports['describe']=function(_0x18bc54,_0xbc1868){return db['JscriptySessionReport'][_0xecf2('0x47')]()[_0xecf2('0x22')](respondWithResult(_0xbc1868,null))['catch'](handleError(_0xbc1868,null));};exports['getQuestions']=function(_0x28e4fb,_0x54a827,_0x56eb13){var _0x57e84f={'raw':!![],'where':{}};var _0xafed64={};var _0x281902={'count':0x0,'rows':[]};return db[_0xecf2('0x28')][_0xecf2('0x48')]({'where':{'id':_0x28e4fb[_0xecf2('0x42')]['id']}})[_0xecf2('0x22')](handleEntityNotFound(_0x54a827,null))[_0xecf2('0x22')](function(_0x5e0e1b){if(_0x5e0e1b){_0xafed64[_0xecf2('0x2d')]=_['keys'](db['JscriptyQuestionReport'][_0xecf2('0x29')]);_0xafed64['query']=_['keys'](_0x28e4fb[_0xecf2('0x2e')]);_0xafed64['filters']=_[_0xecf2('0x31')](_0xafed64[_0xecf2('0x2d')],_0xafed64['query']);_0x57e84f[_0xecf2('0x32')]=_[_0xecf2('0x31')](_0xafed64[_0xecf2('0x2d')],qs[_0xecf2('0x33')](_0x28e4fb['query'][_0xecf2('0x33')]));_0x57e84f[_0xecf2('0x32')]=_0x57e84f['attributes'][_0xecf2('0x43')]?_0x57e84f[_0xecf2('0x32')]:_0xafed64[_0xecf2('0x2d')];if(!_0x28e4fb['query'][_0xecf2('0x49')](_0xecf2('0x34'))){_0x57e84f[_0xecf2('0x1c')]=qs[_0xecf2('0x1c')](_0x28e4fb['query'][_0xecf2('0x1c')]);_0x57e84f[_0xecf2('0x1b')]=qs['offset'](_0x28e4fb[_0xecf2('0x2e')]['offset']);}_0x57e84f['order']=qs[_0xecf2('0x36')](_0x28e4fb[_0xecf2('0x2e')][_0xecf2('0x36')]);_0x57e84f['where']=qs[_0xecf2('0x30')](_[_0xecf2('0x37')](_0x28e4fb[_0xecf2('0x2e')],_0xafed64[_0xecf2('0x30')]));_0x57e84f['where'][_0xecf2('0x4a')]=_0x5e0e1b['id'];if(_0x28e4fb[_0xecf2('0x2e')][_0xecf2('0x3b')]){_0x57e84f['where']=_[_0xecf2('0x39')](_0x57e84f['where'],{'$or':_['map'](_0x57e84f['attributes'],function(_0x3b2f3e){var _0x55386a={};_0x55386a[_0x3b2f3e]={'$like':'%'+_0x28e4fb[_0xecf2('0x2e')][_0xecf2('0x3b')]+'%'};return _0x55386a;})});}_0x57e84f=_[_0xecf2('0x39')]({},_0x57e84f,_0x28e4fb[_0xecf2('0x3c')]);return db[_0xecf2('0x4b')][_0xecf2('0x1a')]({'where':_0x57e84f[_0xecf2('0x38')]})[_0xecf2('0x22')](function(_0xb34cad){_0x281902[_0xecf2('0x1a')]=_0xb34cad;if(_0x28e4fb[_0xecf2('0x2e')][_0xecf2('0x3d')]){_0x57e84f[_0xecf2('0x3e')]=[{'all':!![]}];}return db[_0xecf2('0x4b')][_0xecf2('0x4c')](_0x57e84f);})['then'](function(_0x6e4810){_0x281902[_0xecf2('0x3f')]=_0x6e4810;return _0x281902;});}})[_0xecf2('0x22')](respondWithFilteredResult(_0x54a827,_0x57e84f))[_0xecf2('0x40')](handleError(_0x54a827,null));}; \ No newline at end of file diff --git a/server/api/jscriptySessionReport/jscriptySessionReport.model.js b/server/api/jscriptySessionReport/jscriptySessionReport.model.js index 9633920..9e31f3d 100644 --- a/server/api/jscriptySessionReport/jscriptySessionReport.model.js +++ b/server/api/jscriptySessionReport/jscriptySessionReport.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x3fb0=['JscriptySessionReport','report_jscripty_sessions','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','./jscriptySessionReport.attributes','exports','define'];(function(_0x48e6bf,_0x4d5cb5){var _0x7e3ee6=function(_0x2a6273){while(--_0x2a6273){_0x48e6bf['push'](_0x48e6bf['shift']());}};_0x7e3ee6(++_0x4d5cb5);}(_0x3fb0,0xb8));var _0x03fb=function(_0x4cbbd4,_0x403925){_0x4cbbd4=_0x4cbbd4-0x0;var _0x1ddaad=_0x3fb0[_0x4cbbd4];return _0x1ddaad;};'use strict';var _=require(_0x03fb('0x0'));var util=require(_0x03fb('0x1'));var logger=require(_0x03fb('0x2'))(_0x03fb('0x3'));var moment=require(_0x03fb('0x4'));var BPromise=require(_0x03fb('0x5'));var rp=require(_0x03fb('0x6'));var fs=require('fs');var path=require(_0x03fb('0x7'));var rimraf=require(_0x03fb('0x8'));var config=require('../../config/environment');var attributes=require(_0x03fb('0x9'));module[_0x03fb('0xa')]=function(_0x26f896,_0x5eb186){return _0x26f896[_0x03fb('0xb')](_0x03fb('0xc'),attributes,{'tableName':_0x03fb('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0xa21a=['JscriptySessionReport','util','api','moment','bluebird','request-promise','path','../../config/environment','./jscriptySessionReport.attributes','define'];(function(_0x1a11b5,_0x2cdec6){var _0x1cb343=function(_0x66e89a){while(--_0x66e89a){_0x1a11b5['push'](_0x1a11b5['shift']());}};_0x1cb343(++_0x2cdec6);}(_0xa21a,0x169));var _0xaa21=function(_0x16da5f,_0x3556ab){_0x16da5f=_0x16da5f-0x0;var _0x4aa4e4=_0xa21a[_0x16da5f];return _0x4aa4e4;};'use strict';var _=require('lodash');var util=require(_0xaa21('0x0'));var logger=require('../../config/logger')(_0xaa21('0x1'));var moment=require(_0xaa21('0x2'));var BPromise=require(_0xaa21('0x3'));var rp=require(_0xaa21('0x4'));var fs=require('fs');var path=require(_0xaa21('0x5'));var rimraf=require('rimraf');var config=require(_0xaa21('0x6'));var attributes=require(_0xaa21('0x7'));module['exports']=function(_0x46c324,_0xb91a99){return _0x46c324[_0xaa21('0x8')](_0xaa21('0x9'),attributes,{'tableName':'report_jscripty_sessions','paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/jscriptySessionReport/jscriptySessionReport.rpc.js b/server/api/jscriptySessionReport/jscriptySessionReport.rpc.js index 3f85bc3..c57e1df 100644 --- a/server/api/jscriptySessionReport/jscriptySessionReport.rpc.js +++ b/server/api/jscriptySessionReport/jscriptySessionReport.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xa368=['result','catch','lodash','moment','../../config/utils','../../config/logger','rpc','http','request','then','info','JscriptySessionReport,\x20%s,\x20%s','debug','JscriptySessionReport,\x20%s,\x20%s,\x20%s','request\x20sent','stringify','error','code','message'];(function(_0x8e2051,_0x2d5549){var _0x3320e4=function(_0x382d83){while(--_0x382d83){_0x8e2051['push'](_0x8e2051['shift']());}};_0x3320e4(++_0x2d5549);}(_0xa368,0xe6));var _0x8a36=function(_0x11fc4d,_0x5639f9){_0x11fc4d=_0x11fc4d-0x0;var _0xc2641c=_0xa368[_0x11fc4d];return _0xc2641c;};'use strict';var _=require(_0x8a36('0x0'));var util=require('util');var moment=require(_0x8a36('0x1'));var BPromise=require('bluebird');var rs=require('randomstring');var fs=require('fs');var Redis=require('ioredis');var db=require('../../mysqldb')['db'];var utils=require(_0x8a36('0x2'));var logger=require(_0x8a36('0x3'))(_0x8a36('0x4'));var config=require('../../config/environment');var jayson=require('jayson/promise');var client=jayson['client'][_0x8a36('0x5')]({'port':0x232a});function respondWithRpcPromise(_0x31fbde,_0x4bf3c2,_0x265580){return new BPromise(function(_0x159c8a,_0x29982d){return client[_0x8a36('0x6')](_0x31fbde,_0x265580)[_0x8a36('0x7')](function(_0x1a2602){logger[_0x8a36('0x8')](_0x8a36('0x9'),_0x4bf3c2,'request\x20sent');logger[_0x8a36('0xa')](_0x8a36('0xb'),_0x4bf3c2,_0x8a36('0xc'),JSON[_0x8a36('0xd')](_0x1a2602));if(_0x1a2602['error']){if(_0x1a2602[_0x8a36('0xe')][_0x8a36('0xf')]===0x1f4){logger[_0x8a36('0xe')](_0x8a36('0x9'),_0x4bf3c2,_0x1a2602[_0x8a36('0xe')]['message']);return _0x29982d(_0x1a2602[_0x8a36('0xe')][_0x8a36('0x10')]);}logger['error'](_0x8a36('0x9'),_0x4bf3c2,_0x1a2602[_0x8a36('0xe')][_0x8a36('0x10')]);return _0x159c8a(_0x1a2602[_0x8a36('0xe')][_0x8a36('0x10')]);}else{logger[_0x8a36('0x8')](_0x8a36('0x9'),_0x4bf3c2,_0x8a36('0xc'));_0x159c8a(_0x1a2602[_0x8a36('0x11')][_0x8a36('0x10')]);}})[_0x8a36('0x12')](function(_0xebab4e){logger[_0x8a36('0xe')](_0x8a36('0x9'),_0x4bf3c2,_0xebab4e);_0x29982d(_0xebab4e);});});} \ No newline at end of file +var _0xdef5=['code','message','info','lodash','util','moment','bluebird','ioredis','../../mysqldb','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','client','http','request','then','JscriptySessionReport,\x20%s,\x20%s','request\x20sent','debug','JscriptySessionReport,\x20%s,\x20%s,\x20%s','stringify','error'];(function(_0x351950,_0x362711){var _0x4eaa47=function(_0x39d206){while(--_0x39d206){_0x351950['push'](_0x351950['shift']());}};_0x4eaa47(++_0x362711);}(_0xdef5,0x183));var _0x5def=function(_0x30818e,_0x537701){_0x30818e=_0x30818e-0x0;var _0x4d6a94=_0xdef5[_0x30818e];return _0x4d6a94;};'use strict';var _=require(_0x5def('0x0'));var util=require(_0x5def('0x1'));var moment=require(_0x5def('0x2'));var BPromise=require(_0x5def('0x3'));var rs=require('randomstring');var fs=require('fs');var Redis=require(_0x5def('0x4'));var db=require(_0x5def('0x5'))['db'];var utils=require(_0x5def('0x6'));var logger=require(_0x5def('0x7'))(_0x5def('0x8'));var config=require(_0x5def('0x9'));var jayson=require(_0x5def('0xa'));var client=jayson[_0x5def('0xb')][_0x5def('0xc')]({'port':0x232a});function respondWithRpcPromise(_0x30ae9f,_0x4687d5,_0x3c9df1){return new BPromise(function(_0x37db5a,_0x1abd2a){return client[_0x5def('0xd')](_0x30ae9f,_0x3c9df1)[_0x5def('0xe')](function(_0x151948){logger['info'](_0x5def('0xf'),_0x4687d5,_0x5def('0x10'));logger[_0x5def('0x11')](_0x5def('0x12'),_0x4687d5,_0x5def('0x10'),JSON[_0x5def('0x13')](_0x151948));if(_0x151948[_0x5def('0x14')]){if(_0x151948[_0x5def('0x14')][_0x5def('0x15')]===0x1f4){logger['error'](_0x5def('0xf'),_0x4687d5,_0x151948[_0x5def('0x14')]['message']);return _0x1abd2a(_0x151948['error'][_0x5def('0x16')]);}logger[_0x5def('0x14')](_0x5def('0xf'),_0x4687d5,_0x151948['error']['message']);return _0x37db5a(_0x151948['error']['message']);}else{logger[_0x5def('0x17')](_0x5def('0xf'),_0x4687d5,_0x5def('0x10'));_0x37db5a(_0x151948['result']['message']);}})['catch'](function(_0x27a55e){logger[_0x5def('0x14')](_0x5def('0xf'),_0x4687d5,_0x27a55e);_0x1abd2a(_0x27a55e);});});} \ No newline at end of file diff --git a/server/api/license/index.js b/server/api/license/index.js index dfbe80a..d746dcc 100644 --- a/server/api/license/index.js +++ b/server/api/license/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x09a4=['util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./license.controller','index','put','/:id','isAuthenticated','exports','multer'];(function(_0x510c60,_0x50247e){var _0x49c4aa=function(_0x3149c7){while(--_0x3149c7){_0x510c60['push'](_0x510c60['shift']());}};_0x49c4aa(++_0x50247e);}(_0x09a4,0x77));var _0x409a=function(_0x119afb,_0xed7c5){_0x119afb=_0x119afb-0x0;var _0x48fb0d=_0x09a4[_0x119afb];return _0x48fb0d;};'use strict';var multer=require(_0x409a('0x0'));var util=require(_0x409a('0x1'));var path=require(_0x409a('0x2'));var timeout=require(_0x409a('0x3'));var express=require(_0x409a('0x4'));var router=express[_0x409a('0x5')]();var auth=require(_0x409a('0x6'));var interaction=require(_0x409a('0x7'));var config=require(_0x409a('0x8'));var controller=require(_0x409a('0x9'));router['get']('/',controller[_0x409a('0xa')]);router[_0x409a('0xb')](_0x409a('0xc'),auth[_0x409a('0xd')](),controller['update']);module[_0x409a('0xe')]=router; \ No newline at end of file +var _0xb185=['isAuthenticated','update','multer','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./license.controller','get','index','put','/:id'];(function(_0x206b24,_0x15fefb){var _0x41fb12=function(_0xa5e205){while(--_0xa5e205){_0x206b24['push'](_0x206b24['shift']());}};_0x41fb12(++_0x15fefb);}(_0xb185,0x1c4));var _0x5b18=function(_0x5d6456,_0x58ecc7){_0x5d6456=_0x5d6456-0x0;var _0x4d66c1=_0xb185[_0x5d6456];return _0x4d66c1;};'use strict';var multer=require(_0x5b18('0x0'));var util=require('util');var path=require(_0x5b18('0x1'));var timeout=require(_0x5b18('0x2'));var express=require(_0x5b18('0x3'));var router=express[_0x5b18('0x4')]();var auth=require(_0x5b18('0x5'));var interaction=require(_0x5b18('0x6'));var config=require(_0x5b18('0x7'));var controller=require(_0x5b18('0x8'));router[_0x5b18('0x9')]('/',controller[_0x5b18('0xa')]);router[_0x5b18('0xb')](_0x5b18('0xc'),auth[_0x5b18('0xd')](),controller[_0x5b18('0xe')]);module['exports']=router; \ No newline at end of file diff --git a/server/api/license/license.attributes.js b/server/api/license/license.attributes.js index 99e6d4b..8a171a0 100644 --- a/server/api/license/license.attributes.js +++ b/server/api/license/license.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x6d38=['exports','TEXT','STRING'];(function(_0x25ff5e,_0x2bf0a0){var _0x5994d1=function(_0x54c136){while(--_0x54c136){_0x25ff5e['push'](_0x25ff5e['shift']());}};_0x5994d1(++_0x2bf0a0);}(_0x6d38,0x1ef));var _0x86d3=function(_0x164eca,_0x555e28){_0x164eca=_0x164eca-0x0;var _0x2ce562=_0x6d38[_0x164eca];return _0x2ce562;};'use strict';var Sequelize=require('sequelize');module[_0x86d3('0x0')]={'license':{'type':Sequelize[_0x86d3('0x1')]},'data1':{'type':Sequelize[_0x86d3('0x2')]},'data2':{'type':Sequelize['STRING']},'chatLicenseExceeded':{'type':Sequelize['INTEGER'],'defaultValue':0x0}}; \ No newline at end of file +var _0xabce=['exports','TEXT','STRING','sequelize'];(function(_0x506172,_0xbc3a3){var _0x2723c0=function(_0x57c3d9){while(--_0x57c3d9){_0x506172['push'](_0x506172['shift']());}};_0x2723c0(++_0xbc3a3);}(_0xabce,0x103));var _0xeabc=function(_0x56482c,_0x16118d){_0x56482c=_0x56482c-0x0;var _0x5aae7a=_0xabce[_0x56482c];return _0x5aae7a;};'use strict';var Sequelize=require(_0xeabc('0x0'));module[_0xeabc('0x1')]={'license':{'type':Sequelize[_0xeabc('0x2')]},'data1':{'type':Sequelize[_0xeabc('0x3')]},'data2':{'type':Sequelize[_0xeabc('0x3')]},'chatLicenseExceeded':{'type':Sequelize['INTEGER'],'defaultValue':0x0}}; \ No newline at end of file diff --git a/server/api/license/license.controller.js b/server/api/license/license.controller.js index 6480266..b869712 100644 --- a/server/api/license/license.controller.js +++ b/server/api/license/license.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xac16=['../../components/auth/service','../../components/parsers/advancedSearch','api','../../config/utils','sendStatus','status','end','json','count','offset','set','Content-Range','apply','save','update','then','stack','name','send','../../config/license/util','index','model','keys','License','query','filters','intersection','attributes','fields','length','merge','options','getLicense','catch','body','find','checkLicense','key','demo','html-pdf','eml-format','zip-dir','fast-json-patch','request-promise','moment','bluebird','mustache','util','sox','to-csv','ejs','lodash','squel','crypto','jsforce','desk.js','querystring','ioredis'];(function(_0x33a4e7,_0x34668a){var _0xea60d=function(_0x126b80){while(--_0x126b80){_0x33a4e7['push'](_0x33a4e7['shift']());}};_0xea60d(++_0x34668a);}(_0xac16,0x9b));var _0x6ac1=function(_0x2c112c,_0x4b697b){_0x2c112c=_0x2c112c-0x0;var _0x1c9a9a=_0xac16[_0x2c112c];return _0x1c9a9a;};'use strict';var pdf=require(_0x6ac1('0x0'));var emlformat=require(_0x6ac1('0x1'));var rimraf=require('rimraf');var zipdir=require(_0x6ac1('0x2'));var jsonpatch=require(_0x6ac1('0x3'));var rp=require(_0x6ac1('0x4'));var moment=require(_0x6ac1('0x5'));var BPromise=require(_0x6ac1('0x6'));var Mustache=require(_0x6ac1('0x7'));var util=require(_0x6ac1('0x8'));var path=require('path');var sox=require(_0x6ac1('0x9'));var csv=require(_0x6ac1('0xa'));var ejs=require(_0x6ac1('0xb'));var fs=require('fs');var _=require(_0x6ac1('0xc'));var squel=require(_0x6ac1('0xd'));var crypto=require(_0x6ac1('0xe'));var jsforce=require(_0x6ac1('0xf'));var deskjs=require(_0x6ac1('0x10'));var toCsv=require(_0x6ac1('0xa'));var querystring=require(_0x6ac1('0x11'));var Papa=require('papaparse');var Redis=require(_0x6ac1('0x12'));var authService=require(_0x6ac1('0x13'));var qs=require('../../components/parsers/qs');var as=require(_0x6ac1('0x14'));var hardwareService=require('../../config/license/hardware');var logger=require('../../config/logger')(_0x6ac1('0x15'));var utils=require(_0x6ac1('0x16'));var config=require('../../config/environment');var db=require('../../mysqldb')['db'];function respondWithStatusCode(_0x2fa034,_0x39d2c8){_0x39d2c8=_0x39d2c8||0xcc;return function(_0x58dbd7){if(_0x58dbd7){return _0x2fa034[_0x6ac1('0x17')](_0x39d2c8);}return _0x2fa034[_0x6ac1('0x18')](_0x39d2c8)[_0x6ac1('0x19')]();};}function respondWithResult(_0x41c0bc,_0x3d0bf4){_0x3d0bf4=_0x3d0bf4||0xc8;return function(_0x227045){if(_0x227045){return _0x41c0bc[_0x6ac1('0x18')](_0x3d0bf4)[_0x6ac1('0x1a')](_0x227045);}};}function respondWithFilteredResult(_0x5086ee,_0x4f0885){return function(_0x4238ac){if(_0x4238ac){var _0x32594e=_0x4238ac[_0x6ac1('0x1b')],_0x430485=_0x4f0885[_0x6ac1('0x1c')],_0x4ab761=_0x4f0885['offset']+_0x4f0885['limit'],_0x19860a;if(_0x4ab761>=_0x32594e){_0x4ab761=_0x32594e;_0x19860a=0xc8;}else{_0x19860a=0xce;}_0x5086ee[_0x6ac1('0x18')](_0x19860a);return _0x5086ee[_0x6ac1('0x1d')](_0x6ac1('0x1e'),_0x430485+'-'+_0x4ab761+'/'+_0x32594e)[_0x6ac1('0x1a')](_0x4238ac);}return null;};}function patchUpdates(_0x4234b5){return function(_0x33cf40){try{jsonpatch[_0x6ac1('0x1f')](_0x33cf40,_0x4234b5,!![]);}catch(_0x2639ef){return BPromise['reject'](_0x2639ef);}return _0x33cf40[_0x6ac1('0x20')]();};}function saveUpdates(_0x2a6655,_0x461c3d){return function(_0x1f281c){if(_0x1f281c){return _0x1f281c[_0x6ac1('0x21')](_0x2a6655)['then'](function(_0x1eddcb){return _0x1eddcb;});}return null;};}function removeEntity(_0x5466b5,_0x27f2e0){return function(_0x52d0ef){if(_0x52d0ef){return _0x52d0ef['destroy']()[_0x6ac1('0x22')](function(){_0x5466b5[_0x6ac1('0x18')](0xcc)[_0x6ac1('0x19')]();});}};}function handleEntityNotFound(_0xddf987,_0x1cc4cd){return function(_0x37ff7e){if(!_0x37ff7e){_0xddf987[_0x6ac1('0x17')](0x194);}return _0x37ff7e;};}function handleError(_0x528fe9,_0x121d2d){_0x121d2d=_0x121d2d||0x1f4;return function(_0xc2d401){logger['error'](_0xc2d401[_0x6ac1('0x23')]);if(_0xc2d401[_0x6ac1('0x24')]){delete _0xc2d401[_0x6ac1('0x24')];}_0x528fe9[_0x6ac1('0x18')](_0x121d2d)[_0x6ac1('0x25')](_0xc2d401);};}var utilLicense=require(_0x6ac1('0x26'));exports[_0x6ac1('0x27')]=function(_0x4db720,_0x1cfd40){var _0x423928={'raw':!![],'where':{'id':0x1}},_0x507c48={};_0x507c48[_0x6ac1('0x28')]=_[_0x6ac1('0x29')](db[_0x6ac1('0x2a')]['rawAttributes']);_0x507c48['query']=_[_0x6ac1('0x29')](_0x4db720[_0x6ac1('0x2b')]);_0x507c48[_0x6ac1('0x2c')]=_[_0x6ac1('0x2d')](_0x507c48['model'],_0x507c48[_0x6ac1('0x2b')]);_0x423928[_0x6ac1('0x2e')]=_[_0x6ac1('0x2d')](_0x507c48[_0x6ac1('0x28')],qs[_0x6ac1('0x2f')](_0x4db720['query'][_0x6ac1('0x2f')]));_0x423928[_0x6ac1('0x2e')]=_0x423928['attributes'][_0x6ac1('0x30')]?_0x423928['attributes']:_0x507c48[_0x6ac1('0x28')];_0x423928=_[_0x6ac1('0x31')]({},_0x423928,_0x4db720[_0x6ac1('0x32')]);return utilLicense[_0x6ac1('0x33')](_0x423928)[_0x6ac1('0x22')](respondWithResult(_0x1cfd40,null))[_0x6ac1('0x34')](handleError(_0x1cfd40,null));};exports[_0x6ac1('0x21')]=function(_0x4b1044,_0x3455ee){if(_0x4b1044[_0x6ac1('0x35')]['id']){delete _0x4b1044[_0x6ac1('0x35')]['id'];}return db[_0x6ac1('0x2a')][_0x6ac1('0x36')]({'where':{'id':_0x4b1044['params']['id']}})[_0x6ac1('0x22')](handleEntityNotFound(_0x3455ee,null))[_0x6ac1('0x22')](function(_0x2aaead){var _0x262ec7=_0x2aaead['get']({'plain':!![]});return utilLicense[_0x6ac1('0x37')](_0x262ec7,_0x4b1044[_0x6ac1('0x35')][_0x6ac1('0x38')]);})[_0x6ac1('0x22')](function(_0x31af6d){if(!_0x31af6d[_0x6ac1('0x39')]){return saveUpdates(_0x4b1044[_0x6ac1('0x35')],null);}return _0x31af6d;})[_0x6ac1('0x22')](respondWithResult(_0x3455ee,null))['catch'](handleError(_0x3455ee,null));}; \ No newline at end of file +var _0x9457=['send','../../config/license/util','index','model','keys','License','rawAttributes','query','intersection','attributes','merge','options','getLicense','catch','update','body','find','get','checkLicense','demo','html-pdf','rimraf','zip-dir','fast-json-patch','request-promise','bluebird','mustache','util','path','to-csv','ejs','lodash','squel','crypto','jsforce','desk.js','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','../../config/utils','../../config/environment','../../mysqldb','sendStatus','status','json','count','offset','limit','apply','reject','save','then','destroy','end','error','stack','name'];(function(_0x1314d4,_0xb0b16d){var _0x584ba5=function(_0x394269){while(--_0x394269){_0x1314d4['push'](_0x1314d4['shift']());}};_0x584ba5(++_0xb0b16d);}(_0x9457,0x108));var _0x7945=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x9457[_0x3dd15e];return _0x231fd0;};'use strict';var pdf=require(_0x7945('0x0'));var emlformat=require('eml-format');var rimraf=require(_0x7945('0x1'));var zipdir=require(_0x7945('0x2'));var jsonpatch=require(_0x7945('0x3'));var rp=require(_0x7945('0x4'));var moment=require('moment');var BPromise=require(_0x7945('0x5'));var Mustache=require(_0x7945('0x6'));var util=require(_0x7945('0x7'));var path=require(_0x7945('0x8'));var sox=require('sox');var csv=require(_0x7945('0x9'));var ejs=require(_0x7945('0xa'));var fs=require('fs');var _=require(_0x7945('0xb'));var squel=require(_0x7945('0xc'));var crypto=require(_0x7945('0xd'));var jsforce=require(_0x7945('0xe'));var deskjs=require(_0x7945('0xf'));var toCsv=require(_0x7945('0x9'));var querystring=require('querystring');var Papa=require(_0x7945('0x10'));var Redis=require(_0x7945('0x11'));var authService=require(_0x7945('0x12'));var qs=require(_0x7945('0x13'));var as=require(_0x7945('0x14'));var hardwareService=require(_0x7945('0x15'));var logger=require(_0x7945('0x16'))('api');var utils=require(_0x7945('0x17'));var config=require(_0x7945('0x18'));var db=require(_0x7945('0x19'))['db'];function respondWithStatusCode(_0x34c064,_0x2e603d){_0x2e603d=_0x2e603d||0xcc;return function(_0x526682){if(_0x526682){return _0x34c064[_0x7945('0x1a')](_0x2e603d);}return _0x34c064[_0x7945('0x1b')](_0x2e603d)['end']();};}function respondWithResult(_0x33d60c,_0x540ad0){_0x540ad0=_0x540ad0||0xc8;return function(_0x3d03ba){if(_0x3d03ba){return _0x33d60c[_0x7945('0x1b')](_0x540ad0)[_0x7945('0x1c')](_0x3d03ba);}};}function respondWithFilteredResult(_0x47f369,_0xd88cb3){return function(_0x2a36cd){if(_0x2a36cd){var _0x3a9959=_0x2a36cd[_0x7945('0x1d')],_0x51906a=_0xd88cb3['offset'],_0x255f50=_0xd88cb3[_0x7945('0x1e')]+_0xd88cb3[_0x7945('0x1f')],_0xe7a9b8;if(_0x255f50>=_0x3a9959){_0x255f50=_0x3a9959;_0xe7a9b8=0xc8;}else{_0xe7a9b8=0xce;}_0x47f369['status'](_0xe7a9b8);return _0x47f369['set']('Content-Range',_0x51906a+'-'+_0x255f50+'/'+_0x3a9959)[_0x7945('0x1c')](_0x2a36cd);}return null;};}function patchUpdates(_0x7a9188){return function(_0x8e2130){try{jsonpatch[_0x7945('0x20')](_0x8e2130,_0x7a9188,!![]);}catch(_0xf086a9){return BPromise[_0x7945('0x21')](_0xf086a9);}return _0x8e2130[_0x7945('0x22')]();};}function saveUpdates(_0x2f222f,_0x20f2c2){return function(_0x118c4b){if(_0x118c4b){return _0x118c4b['update'](_0x2f222f)[_0x7945('0x23')](function(_0xd69026){return _0xd69026;});}return null;};}function removeEntity(_0x2395ba,_0x4fbc6a){return function(_0x2f987e){if(_0x2f987e){return _0x2f987e[_0x7945('0x24')]()[_0x7945('0x23')](function(){_0x2395ba[_0x7945('0x1b')](0xcc)[_0x7945('0x25')]();});}};}function handleEntityNotFound(_0x59d77d,_0x40694a){return function(_0x99f914){if(!_0x99f914){_0x59d77d['sendStatus'](0x194);}return _0x99f914;};}function handleError(_0x527275,_0x2ac2f1){_0x2ac2f1=_0x2ac2f1||0x1f4;return function(_0x21bd93){logger[_0x7945('0x26')](_0x21bd93[_0x7945('0x27')]);if(_0x21bd93[_0x7945('0x28')]){delete _0x21bd93[_0x7945('0x28')];}_0x527275[_0x7945('0x1b')](_0x2ac2f1)[_0x7945('0x29')](_0x21bd93);};}var utilLicense=require(_0x7945('0x2a'));exports[_0x7945('0x2b')]=function(_0x1822d0,_0x1925af){var _0x23daaf={'raw':!![],'where':{'id':0x1}},_0x372efb={};_0x372efb[_0x7945('0x2c')]=_[_0x7945('0x2d')](db[_0x7945('0x2e')][_0x7945('0x2f')]);_0x372efb[_0x7945('0x30')]=_[_0x7945('0x2d')](_0x1822d0[_0x7945('0x30')]);_0x372efb['filters']=_[_0x7945('0x31')](_0x372efb['model'],_0x372efb[_0x7945('0x30')]);_0x23daaf['attributes']=_[_0x7945('0x31')](_0x372efb[_0x7945('0x2c')],qs['fields'](_0x1822d0[_0x7945('0x30')]['fields']));_0x23daaf[_0x7945('0x32')]=_0x23daaf['attributes']['length']?_0x23daaf['attributes']:_0x372efb[_0x7945('0x2c')];_0x23daaf=_[_0x7945('0x33')]({},_0x23daaf,_0x1822d0[_0x7945('0x34')]);return utilLicense[_0x7945('0x35')](_0x23daaf)['then'](respondWithResult(_0x1925af,null))[_0x7945('0x36')](handleError(_0x1925af,null));};exports[_0x7945('0x37')]=function(_0x1e2b2f,_0x227929){if(_0x1e2b2f['body']['id']){delete _0x1e2b2f[_0x7945('0x38')]['id'];}return db[_0x7945('0x2e')][_0x7945('0x39')]({'where':{'id':_0x1e2b2f['params']['id']}})[_0x7945('0x23')](handleEntityNotFound(_0x227929,null))[_0x7945('0x23')](function(_0x325f68){var _0x33c09c=_0x325f68[_0x7945('0x3a')]({'plain':!![]});return utilLicense[_0x7945('0x3b')](_0x33c09c,_0x1e2b2f['body']['key']);})['then'](function(_0x3a3382){if(!_0x3a3382[_0x7945('0x3c')]){return saveUpdates(_0x1e2b2f['body'],null);}return _0x3a3382;})['then'](respondWithResult(_0x227929,null))[_0x7945('0x36')](handleError(_0x227929,null));}; \ No newline at end of file diff --git a/server/api/license/license.model.js b/server/api/license/license.model.js index ac9be81..b66b4e3 100644 --- a/server/api/license/license.model.js +++ b/server/api/license/license.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xe30f=['request-promise','path','./license.attributes','define','License','license','lodash','util','../../config/logger','moment','bluebird'];(function(_0x422baa,_0x98d34a){var _0x31c810=function(_0xa554fe){while(--_0xa554fe){_0x422baa['push'](_0x422baa['shift']());}};_0x31c810(++_0x98d34a);}(_0xe30f,0xc1));var _0xfe30=function(_0x465028,_0x4570ac){_0x465028=_0x465028-0x0;var _0xb783d4=_0xe30f[_0x465028];return _0xb783d4;};'use strict';var _=require(_0xfe30('0x0'));var util=require(_0xfe30('0x1'));var logger=require(_0xfe30('0x2'))('api');var moment=require(_0xfe30('0x3'));var BPromise=require(_0xfe30('0x4'));var rp=require(_0xfe30('0x5'));var fs=require('fs');var path=require(_0xfe30('0x6'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0xfe30('0x7'));module['exports']=function(_0x5bf032,_0x162399){return _0x5bf032[_0xfe30('0x8')](_0xfe30('0x9'),attributes,{'tableName':_0xfe30('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0x0810=['api','moment','path','./license.attributes','license','lodash','util','../../config/logger'];(function(_0x13ee16,_0x9b0374){var _0x48a844=function(_0x10bc0e){while(--_0x10bc0e){_0x13ee16['push'](_0x13ee16['shift']());}};_0x48a844(++_0x9b0374);}(_0x0810,0x95));var _0x0081=function(_0xfc6f8b,_0x1f6947){_0xfc6f8b=_0xfc6f8b-0x0;var _0x3823a=_0x0810[_0xfc6f8b];return _0x3823a;};'use strict';var _=require(_0x0081('0x0'));var util=require(_0x0081('0x1'));var logger=require(_0x0081('0x2'))(_0x0081('0x3'));var moment=require(_0x0081('0x4'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x0081('0x5'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x0081('0x6'));module['exports']=function(_0x30c217,_0x5e90a5){return _0x30c217['define']('License',attributes,{'tableName':_0x0081('0x7'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/license/license.rpc.js b/server/api/license/license.rpc.js index f0dd2b6..6a64964 100644 --- a/server/api/license/license.rpc.js +++ b/server/api/license/license.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x18e0=['util','bluebird','randomstring','ioredis','../../config/utils','../../config/environment','jayson/promise','client','request','then','info','License,\x20%s,\x20%s','debug','error','code','message','request\x20sent','result'];(function(_0x5c619e,_0x1bccdf){var _0x445cf8=function(_0x2eaa64){while(--_0x2eaa64){_0x5c619e['push'](_0x5c619e['shift']());}};_0x445cf8(++_0x1bccdf);}(_0x18e0,0xa2));var _0x018e=function(_0x87b0ff,_0x314389){_0x87b0ff=_0x87b0ff-0x0;var _0x3bc0b2=_0x18e0[_0x87b0ff];return _0x3bc0b2;};'use strict';var _=require('lodash');var util=require(_0x018e('0x0'));var moment=require('moment');var BPromise=require(_0x018e('0x1'));var rs=require(_0x018e('0x2'));var fs=require('fs');var Redis=require(_0x018e('0x3'));var db=require('../../mysqldb')['db'];var utils=require(_0x018e('0x4'));var logger=require('../../config/logger')('rpc');var config=require(_0x018e('0x5'));var jayson=require(_0x018e('0x6'));var client=jayson[_0x018e('0x7')]['http']({'port':0x232a});function respondWithRpcPromise(_0x5b6638,_0x36aac8,_0x24e838){return new BPromise(function(_0x5b2267,_0xfc4a7b){return client[_0x018e('0x8')](_0x5b6638,_0x24e838)[_0x018e('0x9')](function(_0x3c1a1b){logger[_0x018e('0xa')](_0x018e('0xb'),_0x36aac8,'request\x20sent');logger[_0x018e('0xc')]('License,\x20%s,\x20%s,\x20%s',_0x36aac8,'request\x20sent',JSON['stringify'](_0x3c1a1b));if(_0x3c1a1b[_0x018e('0xd')]){if(_0x3c1a1b[_0x018e('0xd')][_0x018e('0xe')]===0x1f4){logger[_0x018e('0xd')](_0x018e('0xb'),_0x36aac8,_0x3c1a1b[_0x018e('0xd')][_0x018e('0xf')]);return _0xfc4a7b(_0x3c1a1b[_0x018e('0xd')][_0x018e('0xf')]);}logger['error'](_0x018e('0xb'),_0x36aac8,_0x3c1a1b[_0x018e('0xd')][_0x018e('0xf')]);return _0x5b2267(_0x3c1a1b[_0x018e('0xd')][_0x018e('0xf')]);}else{logger['info'](_0x018e('0xb'),_0x36aac8,_0x018e('0x10'));_0x5b2267(_0x3c1a1b[_0x018e('0x11')][_0x018e('0xf')]);}})['catch'](function(_0x1949f4){logger[_0x018e('0xd')]('License,\x20%s,\x20%s',_0x36aac8,_0x1949f4);_0xfc4a7b(_0x1949f4);});});} \ No newline at end of file +var _0x45c8=['request','then','info','License,\x20%s,\x20%s','request\x20sent','debug','stringify','error','code','message','result','lodash','moment','bluebird','randomstring','ioredis','../../config/environment','jayson/promise','client'];(function(_0x20f9bc,_0x1057f0){var _0x2060a4=function(_0x3e3e89){while(--_0x3e3e89){_0x20f9bc['push'](_0x20f9bc['shift']());}};_0x2060a4(++_0x1057f0);}(_0x45c8,0xef));var _0x845c=function(_0x5e3172,_0x5649ac){_0x5e3172=_0x5e3172-0x0;var _0x557de9=_0x45c8[_0x5e3172];return _0x557de9;};'use strict';var _=require(_0x845c('0x0'));var util=require('util');var moment=require(_0x845c('0x1'));var BPromise=require(_0x845c('0x2'));var rs=require(_0x845c('0x3'));var fs=require('fs');var Redis=require(_0x845c('0x4'));var db=require('../../mysqldb')['db'];var utils=require('../../config/utils');var logger=require('../../config/logger')('rpc');var config=require(_0x845c('0x5'));var jayson=require(_0x845c('0x6'));var client=jayson[_0x845c('0x7')]['http']({'port':0x232a});function respondWithRpcPromise(_0x335f38,_0x4a1a42,_0x42b569){return new BPromise(function(_0x4648e1,_0x3075cd){return client[_0x845c('0x8')](_0x335f38,_0x42b569)[_0x845c('0x9')](function(_0x34a8ae){logger[_0x845c('0xa')](_0x845c('0xb'),_0x4a1a42,_0x845c('0xc'));logger[_0x845c('0xd')]('License,\x20%s,\x20%s,\x20%s',_0x4a1a42,'request\x20sent',JSON[_0x845c('0xe')](_0x34a8ae));if(_0x34a8ae[_0x845c('0xf')]){if(_0x34a8ae['error'][_0x845c('0x10')]===0x1f4){logger[_0x845c('0xf')](_0x845c('0xb'),_0x4a1a42,_0x34a8ae[_0x845c('0xf')][_0x845c('0x11')]);return _0x3075cd(_0x34a8ae[_0x845c('0xf')]['message']);}logger[_0x845c('0xf')](_0x845c('0xb'),_0x4a1a42,_0x34a8ae['error'][_0x845c('0x11')]);return _0x4648e1(_0x34a8ae[_0x845c('0xf')][_0x845c('0x11')]);}else{logger[_0x845c('0xa')](_0x845c('0xb'),_0x4a1a42,_0x845c('0xc'));_0x4648e1(_0x34a8ae[_0x845c('0x12')]['message']);}})['catch'](function(_0x3b1ff9){logger[_0x845c('0xf')](_0x845c('0xb'),_0x4a1a42,_0x3b1ff9);_0x3075cd(_0x3b1ff9);});});} \ No newline at end of file diff --git a/server/api/mailAccount/index.js b/server/api/mailAccount/index.js index 8c9f725..fb4af83 100644 --- a/server/api/mailAccount/index.js +++ b/server/api/mailAccount/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x70c7=['getDispositions','getAnswers','/:id/out_servers','getSmtp','/:id/interactions','/:id/applications','getApplications','/:id/messages','/:id/verify','/:id/users','getAgents','addDisposition','/:id/canned_answers','addAnswer','post','/:id/in_servers','addImap','addSmtp','addInteraction','addApplications','/:id/send','send','addAgents','/:id','update','delete','removeDispositions','destroy','removeAgents','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','get','isAuthenticated','index','/describe','describe','/:id/dispositions'];(function(_0x3bb5c1,_0x23c29f){var _0x12bd12=function(_0x1e43a9){while(--_0x1e43a9){_0x3bb5c1['push'](_0x3bb5c1['shift']());}};_0x12bd12(++_0x23c29f);}(_0x70c7,0x9e));var _0x770c=function(_0x5d7ca0,_0x43eb5e){_0x5d7ca0=_0x5d7ca0-0x0;var _0xbf81a7=_0x70c7[_0x5d7ca0];return _0xbf81a7;};'use strict';var multer=require(_0x770c('0x0'));var util=require(_0x770c('0x1'));var path=require(_0x770c('0x2'));var timeout=require(_0x770c('0x3'));var express=require(_0x770c('0x4'));var router=express[_0x770c('0x5')]();var auth=require(_0x770c('0x6'));var interaction=require(_0x770c('0x7'));var config=require('../../config/environment');var controller=require('./mailAccount.controller');router[_0x770c('0x8')]('/',auth[_0x770c('0x9')](),controller[_0x770c('0xa')]);router[_0x770c('0x8')](_0x770c('0xb'),auth[_0x770c('0x9')](),controller[_0x770c('0xc')]);router[_0x770c('0x8')]('/:id',auth[_0x770c('0x9')](),controller['show']);router[_0x770c('0x8')](_0x770c('0xd'),auth[_0x770c('0x9')](),controller[_0x770c('0xe')]);router[_0x770c('0x8')]('/:id/canned_answers',auth[_0x770c('0x9')](),controller[_0x770c('0xf')]);router[_0x770c('0x8')]('/:id/in_servers',auth[_0x770c('0x9')](),controller['getImap']);router[_0x770c('0x8')](_0x770c('0x10'),auth[_0x770c('0x9')](),controller[_0x770c('0x11')]);router[_0x770c('0x8')](_0x770c('0x12'),auth[_0x770c('0x9')](),controller['getInteractions']);router[_0x770c('0x8')](_0x770c('0x13'),auth[_0x770c('0x9')](),controller[_0x770c('0x14')]);router[_0x770c('0x8')](_0x770c('0x15'),auth[_0x770c('0x9')](),controller['getMessages']);router['get'](_0x770c('0x16'),auth[_0x770c('0x9')](),controller['verifySmtp']);router[_0x770c('0x8')](_0x770c('0x17'),auth[_0x770c('0x9')](),controller[_0x770c('0x18')]);router['post'](_0x770c('0xd'),auth[_0x770c('0x9')](),controller[_0x770c('0x19')]);router['post'](_0x770c('0x1a'),auth[_0x770c('0x9')](),controller[_0x770c('0x1b')]);router[_0x770c('0x1c')]('/',auth[_0x770c('0x9')](),controller['create']);router['post'](_0x770c('0x1d'),auth[_0x770c('0x9')](),controller[_0x770c('0x1e')]);router[_0x770c('0x1c')](_0x770c('0x10'),auth[_0x770c('0x9')](),controller[_0x770c('0x1f')]);router['post'](_0x770c('0x12'),auth[_0x770c('0x9')](),controller[_0x770c('0x20')]);router[_0x770c('0x1c')](_0x770c('0x13'),auth['isAuthenticated'](),controller[_0x770c('0x21')]);router['post'](_0x770c('0x22'),auth['isAuthenticated'](),controller[_0x770c('0x23')]);router[_0x770c('0x1c')]('/:id/users',auth[_0x770c('0x9')](),controller[_0x770c('0x24')]);router['put'](_0x770c('0x25'),auth['isAuthenticated'](),controller[_0x770c('0x26')]);router[_0x770c('0x27')](_0x770c('0xd'),auth[_0x770c('0x9')](),controller[_0x770c('0x28')]);router[_0x770c('0x27')](_0x770c('0x1a'),auth[_0x770c('0x9')](),controller['removeAnswers']);router[_0x770c('0x27')](_0x770c('0x1d'),auth[_0x770c('0x9')](),controller['removeImap']);router[_0x770c('0x27')](_0x770c('0x10'),auth['isAuthenticated'](),controller['removeSmtp']);router[_0x770c('0x27')]('/:id',auth[_0x770c('0x9')](),controller[_0x770c('0x29')]);router['delete']('/:id/users',auth[_0x770c('0x9')](),controller[_0x770c('0x2a')]);module['exports']=router; \ No newline at end of file +var _0x3199=['getImap','/:id/out_servers','getSmtp','/:id/interactions','getInteractions','/:id/applications','getApplications','getMessages','/:id/verify','/:id/users','getAgents','post','/:id/canned_answers','addAnswer','addImap','addSmtp','addInteraction','addApplications','send','addAgents','/:id','update','removeDispositions','delete','removeAnswers','removeImap','removeSmtp','destroy','removeAgents','exports','multer','util','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','get','isAuthenticated','index','/describe','describe','show','/:id/dispositions','getDispositions','getAnswers','/:id/in_servers'];(function(_0x5106b6,_0x225ff9){var _0x332fbf=function(_0x13f2b5){while(--_0x13f2b5){_0x5106b6['push'](_0x5106b6['shift']());}};_0x332fbf(++_0x225ff9);}(_0x3199,0x196));var _0x9319=function(_0x58215c,_0x20e2f3){_0x58215c=_0x58215c-0x0;var _0x2f709f=_0x3199[_0x58215c];return _0x2f709f;};'use strict';var multer=require(_0x9319('0x0'));var util=require(_0x9319('0x1'));var path=require('path');var timeout=require(_0x9319('0x2'));var express=require(_0x9319('0x3'));var router=express[_0x9319('0x4')]();var auth=require(_0x9319('0x5'));var interaction=require(_0x9319('0x6'));var config=require('../../config/environment');var controller=require('./mailAccount.controller');router[_0x9319('0x7')]('/',auth[_0x9319('0x8')](),controller[_0x9319('0x9')]);router[_0x9319('0x7')](_0x9319('0xa'),auth[_0x9319('0x8')](),controller[_0x9319('0xb')]);router[_0x9319('0x7')]('/:id',auth[_0x9319('0x8')](),controller[_0x9319('0xc')]);router['get'](_0x9319('0xd'),auth[_0x9319('0x8')](),controller[_0x9319('0xe')]);router[_0x9319('0x7')]('/:id/canned_answers',auth[_0x9319('0x8')](),controller[_0x9319('0xf')]);router[_0x9319('0x7')](_0x9319('0x10'),auth[_0x9319('0x8')](),controller[_0x9319('0x11')]);router[_0x9319('0x7')](_0x9319('0x12'),auth['isAuthenticated'](),controller[_0x9319('0x13')]);router[_0x9319('0x7')](_0x9319('0x14'),auth['isAuthenticated'](),controller[_0x9319('0x15')]);router[_0x9319('0x7')](_0x9319('0x16'),auth[_0x9319('0x8')](),controller[_0x9319('0x17')]);router[_0x9319('0x7')]('/:id/messages',auth[_0x9319('0x8')](),controller[_0x9319('0x18')]);router[_0x9319('0x7')](_0x9319('0x19'),auth[_0x9319('0x8')](),controller['verifySmtp']);router[_0x9319('0x7')](_0x9319('0x1a'),auth[_0x9319('0x8')](),controller[_0x9319('0x1b')]);router[_0x9319('0x1c')](_0x9319('0xd'),auth[_0x9319('0x8')](),controller['addDisposition']);router['post'](_0x9319('0x1d'),auth['isAuthenticated'](),controller[_0x9319('0x1e')]);router[_0x9319('0x1c')]('/',auth[_0x9319('0x8')](),controller['create']);router['post'](_0x9319('0x10'),auth[_0x9319('0x8')](),controller[_0x9319('0x1f')]);router[_0x9319('0x1c')](_0x9319('0x12'),auth[_0x9319('0x8')](),controller[_0x9319('0x20')]);router['post'](_0x9319('0x14'),auth[_0x9319('0x8')](),controller[_0x9319('0x21')]);router[_0x9319('0x1c')](_0x9319('0x16'),auth[_0x9319('0x8')](),controller[_0x9319('0x22')]);router[_0x9319('0x1c')]('/:id/send',auth[_0x9319('0x8')](),controller[_0x9319('0x23')]);router[_0x9319('0x1c')](_0x9319('0x1a'),auth[_0x9319('0x8')](),controller[_0x9319('0x24')]);router['put'](_0x9319('0x25'),auth[_0x9319('0x8')](),controller[_0x9319('0x26')]);router['delete'](_0x9319('0xd'),auth['isAuthenticated'](),controller[_0x9319('0x27')]);router[_0x9319('0x28')](_0x9319('0x1d'),auth[_0x9319('0x8')](),controller[_0x9319('0x29')]);router[_0x9319('0x28')]('/:id/in_servers',auth[_0x9319('0x8')](),controller[_0x9319('0x2a')]);router['delete'](_0x9319('0x12'),auth['isAuthenticated'](),controller[_0x9319('0x2b')]);router[_0x9319('0x28')](_0x9319('0x25'),auth[_0x9319('0x8')](),controller[_0x9319('0x2c')]);router[_0x9319('0x28')](_0x9319('0x1a'),auth[_0x9319('0x8')](),controller[_0x9319('0x2d')]);module[_0x9319('0x2e')]=router; \ No newline at end of file diff --git a/server/api/mailAccount/mailAccount.attributes.js b/server/api/mailAccount/mailAccount.attributes.js index f1de168..c7e3ade 100644 --- a/server/api/mailAccount/mailAccount.attributes.js +++ b/server/api/mailAccount/mailAccount.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x0bc0=['Status\x20to\x20put\x20when\x20mandatory\x20disposition\x20is\x20enabled','Enabled/disables\x20mandatory\x20dispo\x20on\x20a\x20queue','setDataValue','mandatoryDispositionPauseId','exports','STRING','BOOLEAN','TEXT','Arial,Helvetica,sans-serif','INTEGER','Account:\x20{{account.name}}
{{#queue}}Queue:\x20{{queue.name}}
{{/queue}}From\x20:\x20{{from}}
Subject\x20:\x20{{message.subject}}'];(function(_0x25affd,_0x3aa93a){var _0xb107b6=function(_0x18b11f){while(--_0x18b11f){_0x25affd['push'](_0x25affd['shift']());}};_0xb107b6(++_0x3aa93a);}(_0x0bc0,0x1b1));var _0x00bc=function(_0x2ddd5d,_0x35f964){_0x2ddd5d=_0x2ddd5d-0x0;var _0x24af97=_0x0bc0[_0x2ddd5d];return _0x24af97;};'use strict';var Sequelize=require('sequelize');module[_0x00bc('0x0')]={'description':{'type':Sequelize[_0x00bc('0x1')]},'name':{'type':Sequelize['STRING'],'allowNull':![]},'service':{'type':Sequelize[_0x00bc('0x2')],'defaultValue':![]},'email':{'type':Sequelize[_0x00bc('0x1')],'validate':{'isEmail':!![]}},'active':{'type':Sequelize[_0x00bc('0x2')],'defaultValue':!![]},'key':{'type':Sequelize[_0x00bc('0x1')],'allowNull':![]},'template':{'type':Sequelize[_0x00bc('0x3')]},'markAsUnread':{'type':Sequelize[_0x00bc('0x2')],'defaultValue':![]},'fontFamily':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':_0x00bc('0x4')},'fontSize':{'type':Sequelize[_0x00bc('0x5')](0x2)['UNSIGNED'],'defaultValue':0xd,'validate':{'min':0x8,'max':0x48}},'notificationTemplate':{'type':Sequelize[_0x00bc('0x3')],'defaultValue':function(){return _0x00bc('0x6');}},'notificationSound':{'type':Sequelize[_0x00bc('0x2')],'defaultValue':!![]},'notificationShake':{'type':Sequelize[_0x00bc('0x2')],'defaultValue':![]},'waitForTheAssignedAgent':{'type':Sequelize[_0x00bc('0x5')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'queueTransfer':{'type':Sequelize[_0x00bc('0x2')],'defaultValue':![]},'queueTransferTimeout':{'type':Sequelize['INTEGER'],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'agentTransfer':{'type':Sequelize[_0x00bc('0x2')],'defaultValue':![]},'agentTransferTimeout':{'type':Sequelize[_0x00bc('0x5')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'mandatoryDispositionPauseId':{'type':Sequelize[_0x00bc('0x5')],'allowNull':!![],'defaultValue':null,'comment':_0x00bc('0x7')},'mandatoryDisposition':{'type':Sequelize[_0x00bc('0x2')],'defaultValue':![],'comment':_0x00bc('0x8'),'set':function(_0x357750){if(!_0x357750)this[_0x00bc('0x9')](_0x00bc('0xa'),null);this[_0x00bc('0x9')]('mandatoryDisposition',_0x357750);}}}; \ No newline at end of file +var _0x251f=['STRING','BOOLEAN','TEXT','Arial,Helvetica,sans-serif','INTEGER','UNSIGNED','Account:\x20{{account.name}}
{{#queue}}Queue:\x20{{queue.name}}
{{/queue}}From\x20:\x20{{from}}
Subject\x20:\x20{{message.subject}}','Status\x20to\x20put\x20when\x20mandatory\x20disposition\x20is\x20enabled','Enabled/disables\x20mandatory\x20dispo\x20on\x20a\x20queue','mandatoryDispositionPauseId','setDataValue','mandatoryDisposition','exports'];(function(_0x285618,_0x2ad5ac){var _0x387ef1=function(_0x230f40){while(--_0x230f40){_0x285618['push'](_0x285618['shift']());}};_0x387ef1(++_0x2ad5ac);}(_0x251f,0x1e0));var _0xf251=function(_0x20714a,_0x7de591){_0x20714a=_0x20714a-0x0;var _0x15e877=_0x251f[_0x20714a];return _0x15e877;};'use strict';var Sequelize=require('sequelize');module[_0xf251('0x0')]={'description':{'type':Sequelize[_0xf251('0x1')]},'name':{'type':Sequelize['STRING'],'allowNull':![]},'service':{'type':Sequelize[_0xf251('0x2')],'defaultValue':![]},'email':{'type':Sequelize['STRING'],'validate':{'isEmail':!![]}},'active':{'type':Sequelize[_0xf251('0x2')],'defaultValue':!![]},'key':{'type':Sequelize['STRING'],'allowNull':![]},'template':{'type':Sequelize[_0xf251('0x3')]},'markAsUnread':{'type':Sequelize[_0xf251('0x2')],'defaultValue':![]},'fontFamily':{'type':Sequelize[_0xf251('0x1')],'allowNull':![],'defaultValue':_0xf251('0x4')},'fontSize':{'type':Sequelize[_0xf251('0x5')](0x2)[_0xf251('0x6')],'defaultValue':0xd,'validate':{'min':0x8,'max':0x48}},'notificationTemplate':{'type':Sequelize['TEXT'],'defaultValue':function(){return _0xf251('0x7');}},'notificationSound':{'type':Sequelize[_0xf251('0x2')],'defaultValue':!![]},'notificationShake':{'type':Sequelize[_0xf251('0x2')],'defaultValue':![]},'waitForTheAssignedAgent':{'type':Sequelize[_0xf251('0x5')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'queueTransfer':{'type':Sequelize[_0xf251('0x2')],'defaultValue':![]},'queueTransferTimeout':{'type':Sequelize[_0xf251('0x5')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'agentTransfer':{'type':Sequelize[_0xf251('0x2')],'defaultValue':![]},'agentTransferTimeout':{'type':Sequelize[_0xf251('0x5')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'mandatoryDispositionPauseId':{'type':Sequelize[_0xf251('0x5')],'allowNull':!![],'defaultValue':null,'comment':_0xf251('0x8')},'mandatoryDisposition':{'type':Sequelize[_0xf251('0x2')],'defaultValue':![],'comment':_0xf251('0x9'),'set':function(_0x2349a0){if(!_0x2349a0)this['setDataValue'](_0xf251('0xa'),null);this[_0xf251('0xb')](_0xf251('0xc'),_0x2349a0);}}}; \ No newline at end of file diff --git a/server/api/mailAccount/mailAccount.controller.js b/server/api/mailAccount/mailAccount.controller.js index eb63b9b..ed453ba 100644 --- a/server/api/mailAccount/mailAccount.controller.js +++ b/server/api/mailAccount/mailAccount.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x115b=['MailInteraction','omit','getInteractions','CmContact','Contact','Owner','fullname','internal','Tags','color','tag','addApplications','transaction','MailApplication','bulkCreate','findAndCountAll','getApplications','MailMessage','split','format','YYYY-MM-DD\x20HH:mm:ss','send','CmList','List','Contacts','DESC','%s\x20<%s>','attachments','root','server/files/attachments','basename','auth','secure','SendMail','sendMail','List\x20not\x20found','defaults','messageId','from','subject','attach','out','verifySmtp','addAgents','spread','emit','userMailAccount:save','removeAgents','isArray','getAgents','html-pdf','zip-dir','fast-json-patch','request-promise','moment','bluebird','mustache','util','path','sox','to-csv','ejs','lodash','squel','crypto','desk.js','querystring','ioredis','../../components/auth/service','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','localhost','socket.io-emitter','jayson/promise','client','http','test','Sequelize','ValidationError','The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.','request','then','info','MailAccount,\x20%s,\x20%s','request\x20sent','debug','MailAccount,\x20%s,\x20%s,\x20%s','stringify','error','code','message','result','catch','sendStatus','status','end','json','offset','limit','set','Content-Range','apply','reject','save','update','destroy','get','MailAccounts','stack','name','index','MailServerIn','MailServerOut','Smtp','Pause','mandatoryDispositionPause','MailAccount','rawAttributes','fieldName','type','key','model','map','query','keys','filters','intersection','attributes','fields','length','hasOwnProperty','nolimit','order','sort','where','pick','merge','VIRTUAL','filter','options','count','includeAll','include','rows','show','params','Imap','body','find','describe','addDisposition','MailAccountId','Disposition','getDispositions','findOne','findAll','removeDispositions','ids','addAnswer','CannedAnswer','getAnswers','removeAnswers','email','ListId','isNil','active','description','cservice','cauthentication','user','cuser','cpassword','authentication','host','port','service','password','pass','create','role','UserProfileSection','userProfileId','autoAssociation','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','getImap','removeImap','setImap','getSmtp','addSmtp','removeSmtp','setSmtp','addInteraction'];(function(_0x511646,_0x5250d3){var _0x184533=function(_0x2f8ec4){while(--_0x2f8ec4){_0x511646['push'](_0x511646['shift']());}};_0x184533(++_0x5250d3);}(_0x115b,0xf7));var _0xb115=function(_0xe7e6ed,_0x351031){_0xe7e6ed=_0xe7e6ed-0x0;var _0x154ab3=_0x115b[_0xe7e6ed];return _0x154ab3;};'use strict';var pdf=require(_0xb115('0x0'));var emlformat=require('eml-format');var rimraf=require('rimraf');var zipdir=require(_0xb115('0x1'));var jsonpatch=require(_0xb115('0x2'));var rp=require(_0xb115('0x3'));var moment=require(_0xb115('0x4'));var BPromise=require(_0xb115('0x5'));var Mustache=require(_0xb115('0x6'));var util=require(_0xb115('0x7'));var path=require(_0xb115('0x8'));var sox=require(_0xb115('0x9'));var csv=require(_0xb115('0xa'));var ejs=require(_0xb115('0xb'));var fs=require('fs');var _=require(_0xb115('0xc'));var squel=require(_0xb115('0xd'));var crypto=require(_0xb115('0xe'));var jsforce=require('jsforce');var deskjs=require(_0xb115('0xf'));var toCsv=require(_0xb115('0xa'));var querystring=require(_0xb115('0x10'));var Papa=require('papaparse');var Redis=require(_0xb115('0x11'));var authService=require(_0xb115('0x12'));var qs=require('../../components/parsers/qs');var as=require(_0xb115('0x13'));var hardwareService=require(_0xb115('0x14'));var logger=require(_0xb115('0x15'))(_0xb115('0x16'));var utils=require(_0xb115('0x17'));var config=require(_0xb115('0x18'));var db=require(_0xb115('0x19'))['db'];config['redis']=_['defaults'](config['redis'],{'host':_0xb115('0x1a'),'port':0x18eb});var socket=require(_0xb115('0x1b'))(new Redis(config['redis']));require('./mailAccount.socket')['register'](socket);var jayson=require(_0xb115('0x1c'));var client=jayson[_0xb115('0x1d')][_0xb115('0x1e')]({'port':0x232b});function checkPasswordPattern(_0x144d05,_0x34c981,_0xd35370){if(_0xd35370){var _0x20d574=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0x20d574[_0xb115('0x1f')](_0x34c981)){return _0x144d05;}else{throw new db[(_0xb115('0x20'))][(_0xb115('0x21'))](_0xb115('0x22'));}}else{return _0x144d05;}}function respondWithRpcPromise(_0x524994,_0x3bef25,_0x334e6a,_0x280a33){return new BPromise(function(_0x11659b,_0x5f3bd8){var _0x21ca1f=_0x280a33||client;return _0x21ca1f[_0xb115('0x23')](_0x524994,_0x334e6a)[_0xb115('0x24')](function(_0x275236){logger[_0xb115('0x25')](_0xb115('0x26'),_0x3bef25,_0xb115('0x27'));logger[_0xb115('0x28')](_0xb115('0x29'),_0x3bef25,_0xb115('0x27'),JSON[_0xb115('0x2a')](_0x275236));if(_0x275236[_0xb115('0x2b')]){if(_0x275236[_0xb115('0x2b')][_0xb115('0x2c')]===0x1f4){logger[_0xb115('0x2b')](_0xb115('0x26'),_0x3bef25,_0x275236[_0xb115('0x2b')][_0xb115('0x2d')]);return _0x5f3bd8(_0x275236[_0xb115('0x2b')][_0xb115('0x2d')]);}logger[_0xb115('0x2b')]('MailAccount,\x20%s,\x20%s',_0x3bef25,_0x275236['error'][_0xb115('0x2d')]);return _0x11659b(_0x275236['error'][_0xb115('0x2d')]);}else{logger[_0xb115('0x25')](_0xb115('0x26'),_0x3bef25,_0xb115('0x27'));_0x11659b(_0x275236[_0xb115('0x2e')][_0xb115('0x2d')]);}})[_0xb115('0x2f')](function(_0x4eb9a4){logger[_0xb115('0x2b')](_0xb115('0x26'),_0x3bef25,_0x4eb9a4);_0x5f3bd8(_0x4eb9a4);});});}function respondWithStatusCode(_0x343b60,_0x5cc553){_0x5cc553=_0x5cc553||0xcc;return function(_0x52ade8){if(_0x52ade8){return _0x343b60[_0xb115('0x30')](_0x5cc553);}return _0x343b60[_0xb115('0x31')](_0x5cc553)[_0xb115('0x32')]();};}function respondWithResult(_0xe1351d,_0x339b3f){_0x339b3f=_0x339b3f||0xc8;return function(_0x570d77){if(_0x570d77){return _0xe1351d[_0xb115('0x31')](_0x339b3f)[_0xb115('0x33')](_0x570d77);}};}function respondWithFilteredResult(_0x75b3b7,_0x2a6542){return function(_0x4fdba3){if(_0x4fdba3){var _0x526381=_0x4fdba3['count'],_0x4abfbf=_0x2a6542[_0xb115('0x34')],_0x52062a=_0x2a6542['offset']+_0x2a6542[_0xb115('0x35')],_0x55f69d;if(_0x52062a>=_0x526381){_0x52062a=_0x526381;_0x55f69d=0xc8;}else{_0x55f69d=0xce;}_0x75b3b7['status'](_0x55f69d);return _0x75b3b7[_0xb115('0x36')](_0xb115('0x37'),_0x4abfbf+'-'+_0x52062a+'/'+_0x526381)[_0xb115('0x33')](_0x4fdba3);}return null;};}function patchUpdates(_0x17d4f2){return function(_0x2fe28e){try{jsonpatch[_0xb115('0x38')](_0x2fe28e,_0x17d4f2,!![]);}catch(_0x1134e7){return BPromise[_0xb115('0x39')](_0x1134e7);}return _0x2fe28e[_0xb115('0x3a')]();};}function saveUpdates(_0x2d4dff,_0xf97ab6){return function(_0x42e115){if(_0x42e115){return _0x42e115[_0xb115('0x3b')](_0x2d4dff)[_0xb115('0x24')](function(_0xf7de6f){return _0xf7de6f;});}return null;};}function removeEntity(_0x15c723,_0x173eab){return function(_0x42d618){if(_0x42d618){return _0x42d618[_0xb115('0x3c')]()[_0xb115('0x24')](function(){var _0x33c516=_0x42d618[_0xb115('0x3d')]({'plain':!![]});var _0x29f881=_0xb115('0x3e');return db['UserProfileResource']['destroy']({'where':{'type':_0x29f881,'resourceId':_0x33c516['id']}})['then'](function(){return _0x42d618;});})['then'](function(){_0x15c723['status'](0xcc)[_0xb115('0x32')]();});}};}function handleEntityNotFound(_0x59f4f6,_0xe0b33){return function(_0x598668){if(!_0x598668){_0x59f4f6[_0xb115('0x30')](0x194);}return _0x598668;};}function handleError(_0x2fa803,_0x1021a9){_0x1021a9=_0x1021a9||0x1f4;return function(_0x3d3819){logger[_0xb115('0x2b')](_0x3d3819[_0xb115('0x3f')]);if(_0x3d3819[_0xb115('0x40')]){delete _0x3d3819[_0xb115('0x40')];}_0x2fa803[_0xb115('0x31')](_0x1021a9)['send'](_0x3d3819);};}exports[_0xb115('0x41')]=function(_0x27f238,_0x4f3bf7){var _0x16c5a6={'include':[{'model':db[_0xb115('0x42')],'as':'Imap'},{'model':db[_0xb115('0x43')],'as':_0xb115('0x44')},{'model':db[_0xb115('0x45')],'as':_0xb115('0x46')}]},_0xb35ee6={},_0xee410c={'count':0x0,'rows':[]};var _0x1bac11=_['map'](db[_0xb115('0x47')][_0xb115('0x48')],function(_0x5bee83){return{'name':_0x5bee83[_0xb115('0x49')],'type':_0x5bee83[_0xb115('0x4a')][_0xb115('0x4b')]};});_0xb35ee6[_0xb115('0x4c')]=_[_0xb115('0x4d')](_0x1bac11,_0xb115('0x40'));_0xb35ee6[_0xb115('0x4e')]=_[_0xb115('0x4f')](_0x27f238['query']);_0xb35ee6[_0xb115('0x50')]=_[_0xb115('0x51')](_0xb35ee6[_0xb115('0x4c')],_0xb35ee6[_0xb115('0x4e')]);_0x16c5a6[_0xb115('0x52')]=_[_0xb115('0x51')](_0xb35ee6[_0xb115('0x4c')],qs[_0xb115('0x53')](_0x27f238[_0xb115('0x4e')][_0xb115('0x53')]));_0x16c5a6[_0xb115('0x52')]=_0x16c5a6[_0xb115('0x52')][_0xb115('0x54')]?_0x16c5a6[_0xb115('0x52')]:_0xb35ee6[_0xb115('0x4c')];if(!_0x27f238['query'][_0xb115('0x55')](_0xb115('0x56'))){_0x16c5a6['limit']=qs['limit'](_0x27f238[_0xb115('0x4e')]['limit']);_0x16c5a6[_0xb115('0x34')]=qs[_0xb115('0x34')](_0x27f238['query'][_0xb115('0x34')]);}_0x16c5a6[_0xb115('0x57')]=qs[_0xb115('0x58')](_0x27f238['query'][_0xb115('0x58')]);_0x16c5a6[_0xb115('0x59')]=qs[_0xb115('0x50')](_[_0xb115('0x5a')](_0x27f238[_0xb115('0x4e')],_0xb35ee6['filters']),_0x1bac11);if(_0x27f238[_0xb115('0x4e')]['filter']){_0x16c5a6[_0xb115('0x59')]=_[_0xb115('0x5b')](_0x16c5a6[_0xb115('0x59')],{'$or':_['map'](_0x1bac11,function(_0x515137){if(_0x515137[_0xb115('0x4a')]!==_0xb115('0x5c')){var _0x48c5af={};_0x48c5af[_0x515137[_0xb115('0x40')]]={'$like':'%'+_0x27f238[_0xb115('0x4e')][_0xb115('0x5d')]+'%'};return _0x48c5af;}})});}_0x16c5a6=_[_0xb115('0x5b')]({},_0x16c5a6,_0x27f238[_0xb115('0x5e')]);var _0x471890={'where':_0x16c5a6['where']};return db[_0xb115('0x47')][_0xb115('0x5f')](_0x471890)['then'](function(_0x1f781f){_0xee410c['count']=_0x1f781f;if(_0x27f238[_0xb115('0x4e')][_0xb115('0x60')]){_0x16c5a6[_0xb115('0x61')]=[{'all':!![]}];}return db[_0xb115('0x47')]['findAll'](_0x16c5a6);})[_0xb115('0x24')](function(_0x3b1519){_0xee410c[_0xb115('0x62')]=_0x3b1519;return _0xee410c;})[_0xb115('0x24')](respondWithFilteredResult(_0x4f3bf7,_0x16c5a6))[_0xb115('0x2f')](handleError(_0x4f3bf7,null));};exports[_0xb115('0x63')]=function(_0x46c573,_0x51b10e){var _0x93921d={'raw':![],'where':{'id':_0x46c573[_0xb115('0x64')]['id']},'include':[{'model':db['MailServerIn'],'as':_0xb115('0x65')},{'model':db[_0xb115('0x43')],'as':_0xb115('0x44')},{'model':db[_0xb115('0x45')],'as':'mandatoryDispositionPause'}]},_0x5a5cd4={};_0x5a5cd4[_0xb115('0x4c')]=_[_0xb115('0x4f')](db[_0xb115('0x47')][_0xb115('0x48')]);_0x5a5cd4[_0xb115('0x4e')]=_[_0xb115('0x4f')](_0x46c573[_0xb115('0x4e')]);_0x5a5cd4[_0xb115('0x50')]=_['intersection'](_0x5a5cd4['model'],_0x5a5cd4[_0xb115('0x4e')]);_0x93921d[_0xb115('0x52')]=_[_0xb115('0x51')](_0x5a5cd4[_0xb115('0x4c')],qs[_0xb115('0x53')](_0x46c573[_0xb115('0x4e')][_0xb115('0x53')]));_0x93921d[_0xb115('0x52')]=_0x93921d[_0xb115('0x52')][_0xb115('0x54')]?_0x93921d[_0xb115('0x52')]:_0x5a5cd4[_0xb115('0x4c')];if(_0x46c573[_0xb115('0x4e')]['includeAll']){_0x93921d[_0xb115('0x61')]=[{'all':!![]}];}_0x93921d=_[_0xb115('0x5b')]({},_0x93921d,_0x46c573[_0xb115('0x5e')]);return db[_0xb115('0x47')]['find'](_0x93921d)[_0xb115('0x24')](handleEntityNotFound(_0x51b10e,null))[_0xb115('0x24')](respondWithResult(_0x51b10e,null))['catch'](handleError(_0x51b10e,null));};exports[_0xb115('0x3b')]=function(_0x18b9d8,_0x34c175){if(_0x18b9d8[_0xb115('0x66')]['id']){delete _0x18b9d8[_0xb115('0x66')]['id'];}return db[_0xb115('0x47')][_0xb115('0x67')]({'where':{'id':_0x18b9d8[_0xb115('0x64')]['id']},'include':[{'model':db['MailServerIn'],'as':_0xb115('0x65')},{'model':db[_0xb115('0x43')],'as':_0xb115('0x44')},{'model':db[_0xb115('0x45')],'as':_0xb115('0x46')}]})[_0xb115('0x24')](handleEntityNotFound(_0x34c175,null))[_0xb115('0x24')](saveUpdates(_0x18b9d8['body'],null))[_0xb115('0x24')](function(_0x7081d8){if(_0x7081d8&&_0x18b9d8[_0xb115('0x66')][_0xb115('0x65')]){return db[_0xb115('0x42')][_0xb115('0x3b')](_0x18b9d8[_0xb115('0x66')][_0xb115('0x65')],{'where':{'MailAccountId':_0x7081d8['id']}})['then'](function(){return _0x7081d8;});}return _0x7081d8;})['then'](function(_0xc55256){if(_0xc55256&&_0x18b9d8[_0xb115('0x66')]['Smtp']){return db[_0xb115('0x43')][_0xb115('0x3b')](_0x18b9d8[_0xb115('0x66')][_0xb115('0x44')],{'where':{'MailAccountId':_0xc55256['id']}})[_0xb115('0x24')](function(){return _0xc55256;});}return _0xc55256;})[_0xb115('0x24')](respondWithResult(_0x34c175,null))[_0xb115('0x2f')](handleError(_0x34c175,null));};exports[_0xb115('0x68')]=function(_0x523e8a,_0x401fe3){return db[_0xb115('0x47')][_0xb115('0x68')]()[_0xb115('0x24')](respondWithResult(_0x401fe3,null))['catch'](handleError(_0x401fe3,null));};exports[_0xb115('0x69')]=function(_0x43ec3d,_0x4c610f,_0x5c199e){if(_0x43ec3d[_0xb115('0x66')]['id']){delete _0x43ec3d[_0xb115('0x66')]['id'];}return db[_0xb115('0x47')]['find']({'where':{'id':_0x43ec3d[_0xb115('0x64')]['id']}})['then'](handleEntityNotFound(_0x4c610f,null))[_0xb115('0x24')](function(_0xc58819){if(_0xc58819){_0x43ec3d['body'][_0xb115('0x6a')]=_0xc58819['id'];return db[_0xb115('0x6b')]['create'](_0x43ec3d['body']);}})[_0xb115('0x24')](respondWithResult(_0x4c610f,null))[_0xb115('0x2f')](handleError(_0x4c610f,null));};exports[_0xb115('0x6c')]=function(_0x569334,_0x54c2fc,_0x4bd53a){var _0x4df577={'raw':![],'where':{}};var _0x1e18c6={};var _0x69a6ee={'count':0x0,'rows':[]};return db[_0xb115('0x47')][_0xb115('0x6d')]({'where':{'id':_0x569334[_0xb115('0x64')]['id']}})[_0xb115('0x24')](handleEntityNotFound(_0x54c2fc,null))[_0xb115('0x24')](function(_0x5f0ace){if(_0x5f0ace){_0x1e18c6['model']=_[_0xb115('0x4f')](db[_0xb115('0x6b')][_0xb115('0x48')]);_0x1e18c6[_0xb115('0x4e')]=_[_0xb115('0x4f')](_0x569334['query']);_0x1e18c6[_0xb115('0x50')]=_[_0xb115('0x51')](_0x1e18c6[_0xb115('0x4c')],_0x1e18c6['query']);_0x4df577[_0xb115('0x52')]=_[_0xb115('0x51')](_0x1e18c6[_0xb115('0x4c')],qs[_0xb115('0x53')](_0x569334[_0xb115('0x4e')][_0xb115('0x53')]));_0x4df577[_0xb115('0x52')]=_0x4df577['attributes'][_0xb115('0x54')]?_0x4df577[_0xb115('0x52')]:_0x1e18c6[_0xb115('0x4c')];if(!_0x569334['query'][_0xb115('0x55')]('nolimit')){_0x4df577[_0xb115('0x35')]=qs[_0xb115('0x35')](_0x569334[_0xb115('0x4e')][_0xb115('0x35')]);_0x4df577[_0xb115('0x34')]=qs[_0xb115('0x34')](_0x569334[_0xb115('0x4e')][_0xb115('0x34')]);}_0x4df577['order']=qs[_0xb115('0x58')](_0x569334[_0xb115('0x4e')][_0xb115('0x58')]);_0x4df577[_0xb115('0x59')]=qs[_0xb115('0x50')](_['pick'](_0x569334[_0xb115('0x4e')],_0x1e18c6[_0xb115('0x50')]));_0x4df577['where'][_0xb115('0x6a')]=_0x5f0ace['id'];if(_0x569334[_0xb115('0x4e')][_0xb115('0x5d')]){_0x4df577[_0xb115('0x59')]=_[_0xb115('0x5b')](_0x4df577['where'],{'$or':_['map'](_0x4df577[_0xb115('0x52')],function(_0x27f772){var _0x510d6b={};_0x510d6b[_0x27f772]={'$like':'%'+_0x569334[_0xb115('0x4e')][_0xb115('0x5d')]+'%'};return _0x510d6b;})});}_0x4df577=_[_0xb115('0x5b')]({},_0x4df577,_0x569334[_0xb115('0x5e')]);return db[_0xb115('0x6b')][_0xb115('0x5f')]({'where':_0x4df577[_0xb115('0x59')]})[_0xb115('0x24')](function(_0x1fa31b){_0x69a6ee['count']=_0x1fa31b;if(_0x569334[_0xb115('0x4e')][_0xb115('0x60')]){_0x4df577[_0xb115('0x61')]=[{'all':!![]}];}return db['Disposition'][_0xb115('0x6e')](_0x4df577);})[_0xb115('0x24')](function(_0x50b0f3){_0x69a6ee[_0xb115('0x62')]=_0x50b0f3;return _0x69a6ee;});}})[_0xb115('0x24')](respondWithFilteredResult(_0x54c2fc,_0x4df577))[_0xb115('0x2f')](handleError(_0x54c2fc,null));};exports[_0xb115('0x6f')]=function(_0x243d4a,_0x52c24b,_0x13f732){return db['MailAccount']['find']({'where':{'id':_0x243d4a['params']['id']}})[_0xb115('0x24')](handleEntityNotFound(_0x52c24b,null))[_0xb115('0x24')](function(_0x4b0a7e){if(_0x4b0a7e){return _0x4b0a7e['removeDispositions'](_0x243d4a[_0xb115('0x4e')][_0xb115('0x70')]);}})[_0xb115('0x24')](respondWithStatusCode(_0x52c24b,null))[_0xb115('0x2f')](handleError(_0x52c24b,null));};exports[_0xb115('0x71')]=function(_0x449f1c,_0xefad6b,_0x55d2fa){if(_0x449f1c[_0xb115('0x66')]['id']){delete _0x449f1c['body']['id'];}return db[_0xb115('0x47')][_0xb115('0x67')]({'where':{'id':_0x449f1c['params']['id']}})[_0xb115('0x24')](handleEntityNotFound(_0xefad6b,null))[_0xb115('0x24')](function(_0x30e7d2){if(_0x30e7d2){_0x449f1c[_0xb115('0x66')][_0xb115('0x6a')]=_0x30e7d2['id'];return db[_0xb115('0x72')]['create'](_0x449f1c[_0xb115('0x66')]);}})[_0xb115('0x24')](respondWithResult(_0xefad6b,null))[_0xb115('0x2f')](handleError(_0xefad6b,null));};exports[_0xb115('0x73')]=function(_0x24b9dd,_0x1e1348,_0x47aad1){var _0x1d783a={'raw':![],'where':{}};var _0x2c6cf3={};var _0xdde371={'count':0x0,'rows':[]};return db[_0xb115('0x47')][_0xb115('0x6d')]({'where':{'id':_0x24b9dd[_0xb115('0x64')]['id']}})[_0xb115('0x24')](handleEntityNotFound(_0x1e1348,null))['then'](function(_0x510692){if(_0x510692){_0x2c6cf3[_0xb115('0x4c')]=_[_0xb115('0x4f')](db[_0xb115('0x72')][_0xb115('0x48')]);_0x2c6cf3[_0xb115('0x4e')]=_['keys'](_0x24b9dd['query']);_0x2c6cf3[_0xb115('0x50')]=_[_0xb115('0x51')](_0x2c6cf3[_0xb115('0x4c')],_0x2c6cf3['query']);_0x1d783a[_0xb115('0x52')]=_['intersection'](_0x2c6cf3[_0xb115('0x4c')],qs[_0xb115('0x53')](_0x24b9dd[_0xb115('0x4e')]['fields']));_0x1d783a[_0xb115('0x52')]=_0x1d783a['attributes']['length']?_0x1d783a[_0xb115('0x52')]:_0x2c6cf3[_0xb115('0x4c')];if(!_0x24b9dd[_0xb115('0x4e')][_0xb115('0x55')](_0xb115('0x56'))){_0x1d783a[_0xb115('0x35')]=qs[_0xb115('0x35')](_0x24b9dd[_0xb115('0x4e')][_0xb115('0x35')]);_0x1d783a[_0xb115('0x34')]=qs['offset'](_0x24b9dd[_0xb115('0x4e')][_0xb115('0x34')]);}_0x1d783a[_0xb115('0x57')]=qs['sort'](_0x24b9dd[_0xb115('0x4e')][_0xb115('0x58')]);_0x1d783a[_0xb115('0x59')]=qs['filters'](_[_0xb115('0x5a')](_0x24b9dd[_0xb115('0x4e')],_0x2c6cf3['filters']));_0x1d783a[_0xb115('0x59')]['MailAccountId']=_0x510692['id'];if(_0x24b9dd[_0xb115('0x4e')][_0xb115('0x5d')]){_0x1d783a['where']=_[_0xb115('0x5b')](_0x1d783a[_0xb115('0x59')],{'$or':_[_0xb115('0x4d')](_0x1d783a[_0xb115('0x52')],function(_0x53d904){var _0x382598={};_0x382598[_0x53d904]={'$like':'%'+_0x24b9dd[_0xb115('0x4e')][_0xb115('0x5d')]+'%'};return _0x382598;})});}_0x1d783a=_['merge']({},_0x1d783a,_0x24b9dd[_0xb115('0x5e')]);return db[_0xb115('0x72')][_0xb115('0x5f')]({'where':_0x1d783a[_0xb115('0x59')]})['then'](function(_0x565210){_0xdde371[_0xb115('0x5f')]=_0x565210;if(_0x24b9dd[_0xb115('0x4e')][_0xb115('0x60')]){_0x1d783a[_0xb115('0x61')]=[{'all':!![]}];}return db['CannedAnswer'][_0xb115('0x6e')](_0x1d783a);})[_0xb115('0x24')](function(_0x2cd2d9){_0xdde371[_0xb115('0x62')]=_0x2cd2d9;return _0xdde371;});}})[_0xb115('0x24')](respondWithFilteredResult(_0x1e1348,_0x1d783a))[_0xb115('0x2f')](handleError(_0x1e1348,null));};exports[_0xb115('0x74')]=function(_0x3a809e,_0x4ddd66,_0xbdbe91){return db['MailAccount'][_0xb115('0x67')]({'where':{'id':_0x3a809e[_0xb115('0x64')]['id']}})[_0xb115('0x24')](handleEntityNotFound(_0x4ddd66,null))[_0xb115('0x24')](function(_0x345d89){if(_0x345d89){return _0x345d89[_0xb115('0x74')](_0x3a809e[_0xb115('0x4e')][_0xb115('0x70')]);}})[_0xb115('0x24')](respondWithStatusCode(_0x4ddd66,null))[_0xb115('0x2f')](handleError(_0x4ddd66,null));};exports['create']=function(_0x2d0a37,_0x41f80){var _0x2d13d3={'name':_0x2d0a37[_0xb115('0x66')][_0xb115('0x40')],'key':_0x2d0a37[_0xb115('0x66')]['key'],'email':_0x2d0a37[_0xb115('0x66')][_0xb115('0x75')],'ListId':_0x2d0a37[_0xb115('0x66')][_0xb115('0x76')],'active':!_[_0xb115('0x77')](_0x2d0a37[_0xb115('0x66')][_0xb115('0x78')])?_0x2d0a37[_0xb115('0x66')][_0xb115('0x78')]:!![],'description':_0x2d0a37[_0xb115('0x66')][_0xb115('0x79')]||null,'Imap':{},'Smtp':{}};if(_[_0xb115('0x77')](_0x2d0a37[_0xb115('0x66')][_0xb115('0x7a')])){if(_0x2d0a37[_0xb115('0x66')][_0xb115('0x7b')]){_0x2d13d3[_0xb115('0x65')][_0xb115('0x7c')]=_0x2d13d3['Smtp'][_0xb115('0x7c')]=_0x2d0a37[_0xb115('0x66')][_0xb115('0x7d')];_0x2d13d3[_0xb115('0x65')]['password']=_0x2d13d3[_0xb115('0x44')]['pass']=_0x2d0a37[_0xb115('0x66')][_0xb115('0x7e')];}else{_0x2d13d3['Imap'][_0xb115('0x7f')]=_0x2d13d3[_0xb115('0x44')]['authentication']=![];}_0x2d13d3[_0xb115('0x65')][_0xb115('0x80')]=_0x2d0a37[_0xb115('0x66')][_0xb115('0x65')][_0xb115('0x80')];_0x2d13d3[_0xb115('0x65')][_0xb115('0x81')]=_0x2d0a37['body']['Imap'][_0xb115('0x81')];_0x2d13d3[_0xb115('0x44')]['host']=_0x2d0a37[_0xb115('0x66')][_0xb115('0x44')][_0xb115('0x80')];_0x2d13d3[_0xb115('0x44')][_0xb115('0x81')]=_0x2d0a37[_0xb115('0x66')][_0xb115('0x44')][_0xb115('0x81')];}else{_0x2d13d3[_0xb115('0x65')][_0xb115('0x82')]=_0x2d13d3[_0xb115('0x44')][_0xb115('0x82')]=_0x2d0a37[_0xb115('0x66')][_0xb115('0x7a')];_0x2d13d3[_0xb115('0x65')][_0xb115('0x7c')]=_0x2d13d3[_0xb115('0x44')][_0xb115('0x7c')]=_0x2d0a37['body']['cuser'];_0x2d13d3[_0xb115('0x65')][_0xb115('0x83')]=_0x2d13d3[_0xb115('0x44')][_0xb115('0x84')]=_0x2d0a37['body']['cpassword'];}return db[_0xb115('0x47')][_0xb115('0x85')](_0x2d13d3,{'include':[{'model':db[_0xb115('0x43')],'as':_0xb115('0x44')},{'model':db[_0xb115('0x42')],'as':'Imap'}]})[_0xb115('0x24')](function(_0x16f35c){var _0x484be5=_0x2d0a37['user'][_0xb115('0x3d')]({'plain':!![]});if(!_0x484be5)throw new Error('Unable\x20to\x20retrieve\x20the\x20current\x20user');if(_0x484be5[_0xb115('0x86')]===_0xb115('0x7c')){var _0x4f869e=_0x16f35c[_0xb115('0x3d')]({'plain':!![]});return db[_0xb115('0x87')]['find']({'where':{'name':_0xb115('0x3e'),'userProfileId':_0x484be5[_0xb115('0x88')]},'raw':!![]})[_0xb115('0x24')](function(_0x4851c3){if(_0x4851c3&&_0x4851c3[_0xb115('0x89')]===0x0){return db['UserProfileResource']['create']({'name':_0x4f869e[_0xb115('0x40')],'resourceId':_0x4f869e['id'],'type':_0x4851c3[_0xb115('0x40')],'sectionId':_0x4851c3['id']},{})[_0xb115('0x24')](function(){return _0x16f35c;});}else{return _0x16f35c;}})[_0xb115('0x2f')](function(_0xde9d31){logger[_0xb115('0x2b')](_0xb115('0x8a'),_0xde9d31);throw _0xde9d31;});}return _0x16f35c;})[_0xb115('0x24')](respondWithResult(_0x41f80,0xc9))[_0xb115('0x2f')](handleError(_0x41f80,null));};exports['getImap']=function(_0x25d1c6,_0x102063,_0x54c7c8){return db[_0xb115('0x47')][_0xb115('0x6d')]({'where':{'id':_0x25d1c6[_0xb115('0x64')]['id']}})['then'](handleEntityNotFound(_0x102063,null))[_0xb115('0x24')](function(_0x3db29a){if(_0x3db29a){return _0x3db29a[_0xb115('0x8b')]();}return null;})['then'](respondWithResult(_0x102063,null))[_0xb115('0x2f')](handleError(_0x102063,null));};exports['addImap']=function(_0x57a167,_0x2750d6,_0x15d2fe){if(_0x57a167[_0xb115('0x66')]['id']){delete _0x57a167[_0xb115('0x66')]['id'];}return db[_0xb115('0x47')][_0xb115('0x67')]({'where':{'id':_0x57a167[_0xb115('0x64')]['id']}})['then'](handleEntityNotFound(_0x2750d6,null))[_0xb115('0x24')](function(_0x14f30f){if(_0x14f30f){_0x57a167[_0xb115('0x66')][_0xb115('0x6a')]=_0x14f30f['id'];return db['MailServerIn'][_0xb115('0x85')](_0x57a167[_0xb115('0x66')]);}})[_0xb115('0x24')](respondWithResult(_0x2750d6,null))[_0xb115('0x2f')](handleError(_0x2750d6,null));};exports[_0xb115('0x8c')]=function(_0x236f0c,_0x21e3e0,_0x139bb4){return db[_0xb115('0x47')]['findOne']({'where':{'id':_0x236f0c[_0xb115('0x64')]['id']}})['then'](handleEntityNotFound(_0x21e3e0,null))[_0xb115('0x24')](function(_0x5a22b){if(_0x5a22b){return _0x5a22b[_0xb115('0x8d')](null);}return null;})['then'](respondWithStatusCode(_0x21e3e0,null))[_0xb115('0x2f')](handleError(_0x21e3e0,null));};exports[_0xb115('0x8e')]=function(_0x553a22,_0x4f672a,_0x4cd9d0){return db['MailAccount']['findOne']({'where':{'id':_0x553a22[_0xb115('0x64')]['id']}})[_0xb115('0x24')](handleEntityNotFound(_0x4f672a,null))['then'](function(_0xd90394){if(_0xd90394){return _0xd90394[_0xb115('0x8e')]();}return null;})[_0xb115('0x24')](respondWithResult(_0x4f672a,null))[_0xb115('0x2f')](handleError(_0x4f672a,null));};exports[_0xb115('0x8f')]=function(_0x28d456,_0x80052e,_0x381660){if(_0x28d456[_0xb115('0x66')]['id']){delete _0x28d456[_0xb115('0x66')]['id'];}return db[_0xb115('0x47')][_0xb115('0x67')]({'where':{'id':_0x28d456[_0xb115('0x64')]['id']}})[_0xb115('0x24')](handleEntityNotFound(_0x80052e,null))[_0xb115('0x24')](function(_0x4f7d3c){if(_0x4f7d3c){_0x28d456[_0xb115('0x66')][_0xb115('0x6a')]=_0x4f7d3c['id'];return db[_0xb115('0x43')][_0xb115('0x85')](_0x28d456[_0xb115('0x66')]);}})[_0xb115('0x24')](respondWithResult(_0x80052e,null))[_0xb115('0x2f')](handleError(_0x80052e,null));};exports[_0xb115('0x90')]=function(_0x298637,_0x55beba,_0x1b3782){return db[_0xb115('0x47')][_0xb115('0x6d')]({'where':{'id':_0x298637[_0xb115('0x64')]['id']}})[_0xb115('0x24')](handleEntityNotFound(_0x55beba,null))[_0xb115('0x24')](function(_0x155c41){if(_0x155c41){return _0x155c41[_0xb115('0x91')](null);}return null;})[_0xb115('0x24')](respondWithStatusCode(_0x55beba,null))[_0xb115('0x2f')](handleError(_0x55beba,null));};exports[_0xb115('0x92')]=function(_0x1c87ac,_0x39472b,_0xb8e5c3){return db[_0xb115('0x93')][_0xb115('0x67')]({'where':{'id':_0x1c87ac[_0xb115('0x64')]['id']}})[_0xb115('0x24')](handleEntityNotFound(_0x39472b,null))[_0xb115('0x24')](function(_0x580f42){if(_0x580f42){return _0x580f42[_0xb115('0x92')](_0x1c87ac[_0xb115('0x66')][_0xb115('0x70')],_[_0xb115('0x94')](_0x1c87ac[_0xb115('0x66')],[_0xb115('0x70'),'id'])||{});}})[_0xb115('0x24')](respondWithResult(_0x39472b,null))['catch'](handleError(_0x39472b,null));};exports[_0xb115('0x95')]=function(_0x3877ef,_0x56585e,_0x55a725){var _0x38efe2={'raw':![],'where':{}};var _0xf71cc={};var _0x103f08={'count':0x0,'rows':[]};return db[_0xb115('0x47')][_0xb115('0x6d')]({'where':{'id':_0x3877ef['params']['id']}})[_0xb115('0x24')](handleEntityNotFound(_0x56585e,null))[_0xb115('0x24')](function(_0x54eb66){if(_0x54eb66){_0xf71cc[_0xb115('0x4c')]=_[_0xb115('0x4f')](db[_0xb115('0x93')]['rawAttributes']);_0xf71cc[_0xb115('0x4e')]=_[_0xb115('0x4f')](_0x3877ef[_0xb115('0x4e')]);_0xf71cc['filters']=_[_0xb115('0x51')](_0xf71cc[_0xb115('0x4c')],_0xf71cc[_0xb115('0x4e')]);_0x38efe2[_0xb115('0x52')]=_[_0xb115('0x51')](_0xf71cc[_0xb115('0x4c')],qs[_0xb115('0x53')](_0x3877ef[_0xb115('0x4e')][_0xb115('0x53')]));_0x38efe2[_0xb115('0x52')]=_0x38efe2['attributes'][_0xb115('0x54')]?_0x38efe2[_0xb115('0x52')]:_0xf71cc[_0xb115('0x4c')];if(!_0x3877ef[_0xb115('0x4e')][_0xb115('0x55')](_0xb115('0x56'))){_0x38efe2[_0xb115('0x35')]=qs[_0xb115('0x35')](_0x3877ef[_0xb115('0x4e')][_0xb115('0x35')]);_0x38efe2[_0xb115('0x34')]=qs[_0xb115('0x34')](_0x3877ef['query'][_0xb115('0x34')]);}_0x38efe2[_0xb115('0x57')]=qs[_0xb115('0x58')](_0x3877ef['query'][_0xb115('0x58')]);_0x38efe2['where']=qs[_0xb115('0x50')](_[_0xb115('0x5a')](_0x3877ef[_0xb115('0x4e')],_0xf71cc[_0xb115('0x50')]));_0x38efe2[_0xb115('0x59')][_0xb115('0x6a')]=_0x54eb66['id'];if(_0x3877ef[_0xb115('0x4e')][_0xb115('0x5d')]){_0x38efe2[_0xb115('0x59')]=_['merge'](_0x38efe2[_0xb115('0x59')],{'$or':_['map'](_0x38efe2[_0xb115('0x52')],function(_0x41023d){var _0x5737ff={};_0x5737ff[_0x41023d]={'$like':'%'+_0x3877ef['query']['filter']+'%'};return _0x5737ff;})});}_0x38efe2=_[_0xb115('0x5b')]({},_0x38efe2,_0x3877ef[_0xb115('0x5e')]);return db[_0xb115('0x93')]['count']({'where':_0x38efe2[_0xb115('0x59')]})['then'](function(_0x13cd53){_0x103f08[_0xb115('0x5f')]=_0x13cd53;if(_0x3877ef[_0xb115('0x4e')][_0xb115('0x60')]){_0x38efe2['include']=[{'model':db[_0xb115('0x96')],'as':_0xb115('0x97'),'required':![]},{'model':db['User'],'as':_0xb115('0x98'),'attributes':[_0xb115('0x40'),_0xb115('0x99'),_0xb115('0x9a')],'required':![]},{'model':db['Tag'],'as':_0xb115('0x9b'),'attributes':['id',_0xb115('0x40'),_0xb115('0x9c')],'where':_0x3877ef[_0xb115('0x4e')]['tag']?{'id':_0x3877ef[_0xb115('0x4e')][_0xb115('0x9d')]}:undefined,'required':_0x3877ef['query'][_0xb115('0x9d')]?!![]:![]}];}return db[_0xb115('0x93')]['findAll'](_0x38efe2);})['then'](function(_0x563559){_0x103f08[_0xb115('0x62')]=_0x563559;return _0x103f08;});}})[_0xb115('0x24')](respondWithFilteredResult(_0x56585e,_0x38efe2))['catch'](handleError(_0x56585e,null));};exports[_0xb115('0x9e')]=function(_0x126a4a,_0x59a2ee,_0x3f0354){return db[_0xb115('0x47')][_0xb115('0x6d')]({'where':{'id':_0x126a4a[_0xb115('0x64')]['id']}})[_0xb115('0x24')](handleEntityNotFound(_0x59a2ee,null))['then'](function(_0x5a97bf){if(_0x5a97bf){return db['sequelize'][_0xb115('0x9f')](function(_0x121a82){return db[_0xb115('0xa0')][_0xb115('0x3c')]({'where':{'MailAccountId':_0x126a4a[_0xb115('0x64')]['id']},'transaction':_0x121a82})[_0xb115('0x24')](function(_0x514145){var _0xbc8b80=_['map'](_0x126a4a[_0xb115('0x66')],function(_0x551774){_0x551774['MailAccountId']=_0x126a4a['params']['id'];return _0x551774;});return db[_0xb115('0xa0')][_0xb115('0xa1')](_0xbc8b80,{'transaction':_0x121a82});});})[_0xb115('0x24')](function(){return db['MailApplication'][_0xb115('0xa2')]({'where':{'MailAccountId':_0x126a4a[_0xb115('0x64')]['id']},'order':'priority'});});}})[_0xb115('0x24')](respondWithResult(_0x59a2ee,null))['catch'](handleError(_0x59a2ee,null));};exports[_0xb115('0xa3')]=function(_0x396a5e,_0x81004e,_0xd212bb){var _0x344855={};var _0x1de4a2={};var _0x1d4b37;var _0x544e47;return db[_0xb115('0x47')][_0xb115('0x6d')]({'where':{'id':_0x396a5e['params']['id']}})[_0xb115('0x24')](handleEntityNotFound(_0x81004e,null))[_0xb115('0x24')](function(_0x58a46a){if(_0x58a46a){_0x1d4b37=_0x58a46a;_0x1de4a2[_0xb115('0x4c')]=_[_0xb115('0x4f')](db[_0xb115('0xa0')][_0xb115('0x48')]);_0x1de4a2[_0xb115('0x4e')]=_['keys'](_0x396a5e['query']);_0x1de4a2[_0xb115('0x50')]=_[_0xb115('0x51')](_0x1de4a2[_0xb115('0x4c')],_0x1de4a2[_0xb115('0x4e')]);_0x344855['attributes']=_['intersection'](_0x1de4a2[_0xb115('0x4c')],qs[_0xb115('0x53')](_0x396a5e[_0xb115('0x4e')][_0xb115('0x53')]));_0x344855[_0xb115('0x52')]=_0x344855[_0xb115('0x52')]['length']?_0x344855[_0xb115('0x52')]:_0x1de4a2[_0xb115('0x4c')];_0x344855['order']=qs['sort'](_0x396a5e[_0xb115('0x4e')]['sort']);_0x344855[_0xb115('0x59')]=qs[_0xb115('0x50')](_[_0xb115('0x5a')](_0x396a5e['query'],_0x1de4a2[_0xb115('0x50')]));if(_0x396a5e[_0xb115('0x4e')][_0xb115('0x5d')]){_0x344855[_0xb115('0x59')]=_[_0xb115('0x5b')](_0x344855[_0xb115('0x59')],{'$or':_['map'](_0x344855[_0xb115('0x52')],function(_0x2b0722){var _0x272830={};_0x272830[_0x2b0722]={'$like':'%'+_0x396a5e[_0xb115('0x4e')][_0xb115('0x5d')]+'%'};return _0x272830;})});}_0x344855=_[_0xb115('0x5b')]({},_0x344855,_0x396a5e[_0xb115('0x5e')]);return _0x1d4b37['getApplications'](_0x344855);}})[_0xb115('0x24')](function(_0x3564b7){if(_0x3564b7){_0x544e47=_0x3564b7[_0xb115('0x54')];if(!_0x396a5e['query']['hasOwnProperty']('nolimit')){_0x344855[_0xb115('0x35')]=qs['limit'](_0x396a5e['query']['limit']);_0x344855[_0xb115('0x34')]=qs[_0xb115('0x34')](_0x396a5e[_0xb115('0x4e')][_0xb115('0x34')]);}return _0x1d4b37[_0xb115('0xa3')](_0x344855);}})['then'](function(_0x3843b5){if(_0x3843b5){return _0x3843b5?{'count':_0x544e47,'rows':_0x3843b5}:null;}})['then'](respondWithResult(_0x81004e,null))[_0xb115('0x2f')](handleError(_0x81004e,null));};exports['getMessages']=function(_0x26960f,_0x1521dd,_0x6504d9){var _0x132ed3={'raw':!![],'where':{}};var _0x456ff2={};var _0x8793df={'count':0x0,'rows':[]};return db[_0xb115('0x47')][_0xb115('0x6d')]({'where':{'id':_0x26960f[_0xb115('0x64')]['id']}})[_0xb115('0x24')](handleEntityNotFound(_0x1521dd,null))[_0xb115('0x24')](function(_0x24b093){if(_0x24b093){_0x456ff2[_0xb115('0x4c')]=_[_0xb115('0x4f')](db[_0xb115('0xa4')][_0xb115('0x48')]);_0x456ff2[_0xb115('0x4e')]=_[_0xb115('0x4f')](_0x26960f['query']);_0x456ff2[_0xb115('0x50')]=_[_0xb115('0x51')](_0x456ff2[_0xb115('0x4c')],_0x456ff2[_0xb115('0x4e')]);_0x132ed3[_0xb115('0x52')]=_[_0xb115('0x51')](_0x456ff2['model'],qs[_0xb115('0x53')](_0x26960f[_0xb115('0x4e')][_0xb115('0x53')]));_0x132ed3[_0xb115('0x52')]=_0x132ed3['attributes'][_0xb115('0x54')]?_0x132ed3['attributes']:_0x456ff2[_0xb115('0x4c')];if(!_0x26960f[_0xb115('0x4e')][_0xb115('0x55')]('nolimit')){_0x132ed3[_0xb115('0x35')]=qs['limit'](_0x26960f[_0xb115('0x4e')][_0xb115('0x35')]);_0x132ed3[_0xb115('0x34')]=qs['offset'](_0x26960f[_0xb115('0x4e')]['offset']);}_0x132ed3[_0xb115('0x57')]=qs['sort'](_0x26960f['query'][_0xb115('0x58')]);_0x132ed3[_0xb115('0x59')]=qs[_0xb115('0x50')](_[_0xb115('0x5a')](_0x26960f[_0xb115('0x4e')],_0x456ff2[_0xb115('0x50')]));_0x132ed3[_0xb115('0x59')][_0xb115('0x6a')]=_0x24b093['id'];if(_0x26960f[_0xb115('0x4e')][_0xb115('0x5d')]){_0x132ed3[_0xb115('0x59')]=_['merge'](_0x132ed3[_0xb115('0x59')],{'$or':_[_0xb115('0x4d')](_0x132ed3['attributes'],function(_0x5d85eb){var _0x54d9e1={};_0x54d9e1[_0x5d85eb]={'$like':'%'+_0x26960f[_0xb115('0x4e')][_0xb115('0x5d')]+'%'};return _0x54d9e1;})});}if(_0x26960f[_0xb115('0x4e')]['$gte']){var _0x47b987=_0x26960f[_0xb115('0x4e')]['$gte'][_0xb115('0xa5')](',');var _0x11dbf4={};_0x11dbf4[_0x47b987[0x0]]={'$gte':moment(_0x47b987[0x1])[_0xb115('0xa6')](_0xb115('0xa7'))};_0x132ed3['where']=_[_0xb115('0x5b')](_0x132ed3['where'],_0x11dbf4);}_0x132ed3=_['merge']({},_0x132ed3,_0x26960f[_0xb115('0x5e')]);return db[_0xb115('0xa4')][_0xb115('0x5f')]({'where':_0x132ed3['where']})[_0xb115('0x24')](function(_0x1003ea){_0x8793df[_0xb115('0x5f')]=_0x1003ea;if(_0x26960f[_0xb115('0x4e')][_0xb115('0x60')]){_0x132ed3[_0xb115('0x61')]=[{'all':!![]}];}return db[_0xb115('0xa4')][_0xb115('0x6e')](_0x132ed3);})[_0xb115('0x24')](function(_0x2a75ec){_0x8793df[_0xb115('0x62')]=_0x2a75ec;return _0x8793df;});}})['then'](respondWithFilteredResult(_0x1521dd,_0x132ed3))['catch'](handleError(_0x1521dd,null));};exports[_0xb115('0xa8')]=function(_0x47d7f9,_0xc7c168,_0x46362b){var _0x2abb2a,_0x467367={},_0x15ceb3;if(_0x47d7f9[_0xb115('0x66')]['to']){_0x15ceb3=_0x47d7f9['body']['to'][_0xb115('0xa5')](',')[0x0];}return db[_0xb115('0x47')]['find']({'where':{'id':_0x47d7f9['params']['id']},'include':[{'model':db[_0xb115('0xa9')],'as':_0xb115('0xaa'),'include':[{'model':db[_0xb115('0x96')],'as':_0xb115('0xab'),'where':{'email':_0x15ceb3},'limit':0x1,'order':[['updatedAt',_0xb115('0xac')]]}]},{'model':db[_0xb115('0x43')],'as':_0xb115('0x44'),'raw':!![]}]})['then'](handleEntityNotFound(_0xc7c168,null))[_0xb115('0x24')](function(_0x213d6c){if(_0x213d6c){_0x2abb2a=_0x213d6c;if(_0x213d6c['Smtp']){if(_[_0xb115('0x77')](_0x47d7f9[_0xb115('0x66')]['from'])){_0x47d7f9[_0xb115('0x66')]['from']=util[_0xb115('0xa6')](_0xb115('0xad'),_0x213d6c[_0xb115('0x40')],_0x213d6c[_0xb115('0x75')]||_0x213d6c['Smtp'][_0xb115('0x7c')]);}if(_0x47d7f9['body'][_0xb115('0xae')]&&_0x47d7f9['body']['attachments'][_0xb115('0x54')]){for(var _0x4f0b1f=0x0;_0x4f0b1f<_0x47d7f9['body'][_0xb115('0xae')]['length'];_0x4f0b1f+=0x1){_0x47d7f9[_0xb115('0x66')][_0xb115('0xae')][_0x4f0b1f]={'filename':_0x47d7f9['body'][_0xb115('0xae')][_0x4f0b1f][_0xb115('0x40')],'path':path['join'](config[_0xb115('0xaf')],_0xb115('0xb0'),_0x47d7f9[_0xb115('0x66')][_0xb115('0xae')][_0x4f0b1f][_0xb115('0xb1')])};}}var _0x45c8eb={'tls':{'rejectUnauthorized':![]}};if(_[_0xb115('0x77')](_0x213d6c[_0xb115('0x44')][_0xb115('0x82')])){if(_0x213d6c[_0xb115('0x44')][_0xb115('0x7f')]){_0x45c8eb[_0xb115('0xb2')]={'user':_0x213d6c[_0xb115('0x44')][_0xb115('0x7c')],'pass':_0x213d6c['Smtp'][_0xb115('0x84')]};}_0x45c8eb[_0xb115('0x80')]=_0x213d6c[_0xb115('0x44')][_0xb115('0x80')];_0x45c8eb[_0xb115('0x81')]=_0x213d6c[_0xb115('0x44')][_0xb115('0x81')];_0x45c8eb[_0xb115('0xb3')]=_0x213d6c['Smtp'][_0xb115('0xb3')];}else{_0x45c8eb['service']=_0x213d6c[_0xb115('0x44')][_0xb115('0x82')];_0x45c8eb[_0xb115('0xb2')]={'user':_0x213d6c[_0xb115('0x44')][_0xb115('0x7c')],'pass':_0x213d6c[_0xb115('0x44')]['pass']};}return respondWithRpcPromise(_0xb115('0xb4'),_0xb115('0xb5'),{'account':_0x45c8eb,'message':_0x47d7f9['body']});}else{throw new Error(_0xb115('0xb6'));}}})[_0xb115('0x24')](function(_0x3fbb63){if(_0x3fbb63){_0x467367=_0x3fbb63;if(_0x2abb2a[_0xb115('0xaa')]){if(_0x2abb2a['List'][_0xb115('0xab')][_0xb115('0x54')]){return _0x2abb2a['List']['Contacts'][0x0];}else{return db['CmContact']['create'](_[_0xb115('0xb7')](_0x47d7f9['body'],{'firstName':_0x47d7f9[_0xb115('0x66')]['to'],'email':_0x47d7f9[_0xb115('0x66')]['to'],'phone':_0x47d7f9[_0xb115('0x66')]['to'],'ListId':_0x2abb2a[_0xb115('0x76')]}));}}else{throw new Error(_0xb115('0xb6'));}}})[_0xb115('0x24')](function(_0x291396){if(_0x291396){var _0x5cf490={'UserId':_0x47d7f9['user']['id'],'ContactId':_0x291396['id'],'MailAccountId':_0x2abb2a['id'],'inReplyTo':_0x467367[_0xb115('0xb8')],'to':_0x47d7f9[_0xb115('0x66')][_0xb115('0xb9')],'cc':_0x47d7f9[_0xb115('0x66')]['cc'],'subject':_0x47d7f9[_0xb115('0x66')][_0xb115('0xba')],'attach':_0x47d7f9['body'][_0xb115('0xbb')],'firstMsgDirection':_0xb115('0xbc'),'lastMsgAt':moment()[_0xb115('0xa6')](_0xb115('0xa7')),'lastMsgDirection':_0xb115('0xbc'),'lastMsgBody':_0x47d7f9[_0xb115('0x66')][_0xb115('0x66')],'Messages':[_[_0xb115('0x5b')](_0x47d7f9[_0xb115('0x66')],{'messageId':_0x467367[_0xb115('0xb8')],'sentAt':moment()[_0xb115('0xa6')]('YYYY-MM-DD\x20HH:mm:ss'),'read':!![],'MailAccountId':_0x2abb2a['id'],'UserId':_0x47d7f9['user']['id'],'ContactId':_0x291396['id']})]};if(_0x47d7f9[_0xb115('0x66')]['Interaction']){_0x5cf490=_[_0xb115('0x5b')](_0x5cf490,_0x47d7f9[_0xb115('0x66')]['Interaction']);}return db[_0xb115('0x93')][_0xb115('0x85')](_0x5cf490,{'include':[{'model':db[_0xb115('0xa4')],'as':'Messages'}]});}})[_0xb115('0x24')](respondWithResult(_0xc7c168,null))[_0xb115('0x2f')](handleError(_0xc7c168,null));};exports[_0xb115('0xbd')]=function(_0x264fad,_0x50090e,_0x45d848){return db[_0xb115('0x47')]['find']({'where':{'id':_0x264fad[_0xb115('0x64')]['id']},'include':[{'model':db[_0xb115('0x43')],'as':_0xb115('0x44'),'raw':!![]}]})['then'](handleEntityNotFound(_0x50090e,null))['then'](function(_0x18d547){if(_0x18d547&&_0x18d547[_0xb115('0x44')]){var _0x2522e6={'id':_0x18d547['id'],'tls':{'rejectUnauthorized':![]}};if(_0x18d547[_0xb115('0x44')][_0xb115('0x82')]){_0x2522e6[_0xb115('0x82')]=_0x18d547[_0xb115('0x44')]['service'];}else{_0x2522e6[_0xb115('0x80')]=_0x18d547[_0xb115('0x44')][_0xb115('0x80')];_0x2522e6['port']=_0x18d547[_0xb115('0x44')][_0xb115('0x81')];_0x2522e6['secure']=_0x18d547[_0xb115('0x44')][_0xb115('0xb3')];}if(_0x18d547[_0xb115('0x44')][_0xb115('0x7f')]){_0x2522e6[_0xb115('0xb2')]={'user':_0x18d547[_0xb115('0x44')]['user'],'pass':_0x18d547['Smtp'][_0xb115('0x84')]};}return respondWithRpcPromise('VerifySmtp','verifySmtp',{'account':_0x2522e6});}})['then'](respondWithResult(_0x50090e,null))[_0xb115('0x2f')](handleError(_0x50090e,null));};exports[_0xb115('0x3c')]=function(_0x3dd983,_0x33b021){return db[_0xb115('0x47')][_0xb115('0x67')]({'where':{'id':_0x3dd983[_0xb115('0x64')]['id']}})[_0xb115('0x24')](handleEntityNotFound(_0x33b021,null))['then'](function(_0x581d65){if(_0x581d65&&_0x581d65[_0xb115('0x82')]){throw new db[(_0xb115('0x20'))][(_0xb115('0x21'))]('You\x20can\x27t\x20remove\x20the\x20mail\x20service\x20account');}return _0x581d65;})['then'](removeEntity(_0x33b021,null))[_0xb115('0x2f')](handleError(_0x33b021,null));};exports[_0xb115('0xbe')]=function(_0x30f964,_0x53457f,_0x1e40bc){return db['MailAccount'][_0xb115('0x67')]({'where':{'id':_0x30f964[_0xb115('0x64')]['id']}})['then'](handleEntityNotFound(_0x53457f,null))[_0xb115('0x24')](function(_0x48e4c1){if(_0x48e4c1){return _0x48e4c1[_0xb115('0xbe')](_0x30f964[_0xb115('0x66')]['ids'],_[_0xb115('0x94')](_0x30f964[_0xb115('0x66')],[_0xb115('0x70'),'id'])||{})[_0xb115('0xbf')](function(_0x1da487){for(var _0x8e8385=0x0;_0x8e8385<_0x30f964[_0xb115('0x66')][_0xb115('0x70')][_0xb115('0x54')];_0x8e8385+=0x1){socket[_0xb115('0xc0')](_0xb115('0xc1'),{'UserId':_0x30f964[_0xb115('0x66')][_0xb115('0x70')][_0x8e8385],'MailAccountId':_0x30f964[_0xb115('0x64')]['id']});}return _0x1da487;});}})[_0xb115('0x24')](respondWithResult(_0x53457f,null))[_0xb115('0x2f')](handleError(_0x53457f,null));};exports[_0xb115('0xc2')]=function(_0x27e381,_0x1dd723,_0x5dfbd3){return db[_0xb115('0x47')][_0xb115('0x67')]({'where':{'id':_0x27e381[_0xb115('0x64')]['id']}})['then'](handleEntityNotFound(_0x1dd723,null))[_0xb115('0x24')](function(_0x557ef8){if(_0x557ef8){return _0x557ef8[_0xb115('0xc2')](_0x27e381[_0xb115('0x4e')]['ids'])[_0xb115('0x24')](function(){if(_[_0xb115('0xc3')](_0x27e381[_0xb115('0x4e')][_0xb115('0x70')])){for(var _0x4f4fa3=0x0;_0x4f4fa3<_0x27e381[_0xb115('0x4e')][_0xb115('0x70')][_0xb115('0x54')];_0x4f4fa3+=0x1){socket[_0xb115('0xc0')]('userMailAccount:remove',{'UserId':Number(_0x27e381['query'][_0xb115('0x70')][_0x4f4fa3]),'MailAccountId':Number(_0x27e381[_0xb115('0x64')]['id'])});}}else{socket['emit']('userMailAccount:remove',{'UserId':Number(_0x27e381[_0xb115('0x4e')][_0xb115('0x70')]),'MailAccountId':Number(_0x27e381['params']['id'])});}});}})[_0xb115('0x24')](respondWithStatusCode(_0x1dd723,null))[_0xb115('0x2f')](handleError(_0x1dd723,null));};exports['getAgents']=function(_0x2b676b,_0x4519a9,_0xe6c857){var _0xdd8585={};var _0x2fd5fa={};var _0x625766;var _0x4494ea;return db[_0xb115('0x47')][_0xb115('0x6d')]({'where':{'id':_0x2b676b[_0xb115('0x64')]['id']}})[_0xb115('0x24')](handleEntityNotFound(_0x4519a9,null))[_0xb115('0x24')](function(_0x3a021a){if(_0x3a021a){_0x625766=_0x3a021a;_0x2fd5fa[_0xb115('0x4c')]=_[_0xb115('0x4f')](db['User']['rawAttributes']);_0x2fd5fa[_0xb115('0x4e')]=_[_0xb115('0x4f')](_0x2b676b[_0xb115('0x4e')]);_0x2fd5fa['filters']=_[_0xb115('0x51')](_0x2fd5fa[_0xb115('0x4c')],_0x2fd5fa['query']);_0xdd8585[_0xb115('0x52')]=_[_0xb115('0x51')](_0x2fd5fa[_0xb115('0x4c')],qs[_0xb115('0x53')](_0x2b676b[_0xb115('0x4e')][_0xb115('0x53')]));_0xdd8585[_0xb115('0x52')]=_0xdd8585[_0xb115('0x52')][_0xb115('0x54')]?_0xdd8585[_0xb115('0x52')]:_0x2fd5fa[_0xb115('0x4c')];_0xdd8585['order']=qs[_0xb115('0x58')](_0x2b676b[_0xb115('0x4e')][_0xb115('0x58')]);_0xdd8585[_0xb115('0x59')]=qs[_0xb115('0x50')](_[_0xb115('0x5a')](_0x2b676b[_0xb115('0x4e')],_0x2fd5fa[_0xb115('0x50')]));if(_0x2b676b[_0xb115('0x4e')][_0xb115('0x5d')]){_0xdd8585[_0xb115('0x59')]=_[_0xb115('0x5b')](_0xdd8585[_0xb115('0x59')],{'$or':_[_0xb115('0x4d')](_0xdd8585[_0xb115('0x52')],function(_0x1fa87e){var _0x4ad8c6={};_0x4ad8c6[_0x1fa87e]={'$like':'%'+_0x2b676b[_0xb115('0x4e')][_0xb115('0x5d')]+'%'};return _0x4ad8c6;})});}_0xdd8585=_[_0xb115('0x5b')]({},_0xdd8585,_0x2b676b[_0xb115('0x5e')]);return _0x625766[_0xb115('0xc4')](_0xdd8585);}})['then'](function(_0x53287e){if(_0x53287e){_0x4494ea=_0x53287e['length'];if(!_0x2b676b[_0xb115('0x4e')][_0xb115('0x55')]('nolimit')){_0xdd8585[_0xb115('0x35')]=qs[_0xb115('0x35')](_0x2b676b[_0xb115('0x4e')][_0xb115('0x35')]);_0xdd8585[_0xb115('0x34')]=qs[_0xb115('0x34')](_0x2b676b[_0xb115('0x4e')][_0xb115('0x34')]);}return _0x625766[_0xb115('0xc4')](_0xdd8585);}})['then'](function(_0x2f6733){if(_0x2f6733){return _0x2f6733?{'count':_0x4494ea,'rows':_0x2f6733}:null;}})[_0xb115('0x24')](respondWithResult(_0x4519a9,null))[_0xb115('0x2f')](handleError(_0x4519a9,null));}; \ No newline at end of file +var _0xa487=['request','then','info','MailAccount,\x20%s,\x20%s','request\x20sent','debug','MailAccount,\x20%s,\x20%s,\x20%s','stringify','error','code','message','result','catch','status','json','offset','limit','set','Content-Range','apply','reject','save','destroy','end','sendStatus','stack','name','send','index','MailServerIn','Imap','MailServerOut','Smtp','Pause','mandatoryDispositionPause','map','rawAttributes','fieldName','type','key','model','query','keys','filters','intersection','fields','attributes','hasOwnProperty','nolimit','where','pick','filter','merge','VIRTUAL','options','MailAccount','count','include','findAll','rows','show','params','includeAll','find','update','body','describe','addDisposition','MailAccountId','Disposition','findOne','length','sort','removeDispositions','ids','CannedAnswer','create','getAnswers','order','removeAnswers','email','isNil','active','cauthentication','user','pass','cpassword','authentication','host','port','service','get','Unable\x20to\x20retrieve\x20the\x20current\x20user','role','UserProfileSection','MailAccounts','userProfileId','autoAssociation','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','getImap','addImap','removeImap','setImap','getSmtp','addSmtp','removeSmtp','setSmtp','addInteraction','getInteractions','MailInteraction','CmContact','Contact','User','Owner','fullname','internal','Tag','tag','addApplications','sequelize','transaction','findAndCountAll','priority','getApplications','getMessages','$gte','split','YYYY-MM-DD\x20HH:mm:ss','MailMessage','CmList','List','Contacts','updatedAt','DESC','from','format','%s\x20<%s>','attachments','join','root','server/files/attachments','basename','auth','secure','SendMail','sendMail','List\x20not\x20found','ListId','attach','out','messageId','Interaction','Messages','verifySmtp','You\x20can\x27t\x20remove\x20the\x20mail\x20service\x20account','addAgents','omit','spread','emit','userMailAccount:save','removeAgents','userMailAccount:remove','getAgents','html-pdf','rimraf','fast-json-patch','request-promise','moment','bluebird','mustache','path','sox','to-csv','ejs','squel','crypto','querystring','papaparse','ioredis','../../components/parsers/advancedSearch','../../config/logger','api','../../config/environment','../../mysqldb','redis','defaults','socket.io-emitter','./mailAccount.socket','register','jayson/promise','client','test','Sequelize','ValidationError','The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.'];(function(_0xf7e184,_0x5a3331){var _0x5478a3=function(_0x6be974){while(--_0x6be974){_0xf7e184['push'](_0xf7e184['shift']());}};_0x5478a3(++_0x5a3331);}(_0xa487,0x166));var _0x7a48=function(_0x550a4f,_0x82c97e){_0x550a4f=_0x550a4f-0x0;var _0x362631=_0xa487[_0x550a4f];return _0x362631;};'use strict';var pdf=require(_0x7a48('0x0'));var emlformat=require('eml-format');var rimraf=require(_0x7a48('0x1'));var zipdir=require('zip-dir');var jsonpatch=require(_0x7a48('0x2'));var rp=require(_0x7a48('0x3'));var moment=require(_0x7a48('0x4'));var BPromise=require(_0x7a48('0x5'));var Mustache=require(_0x7a48('0x6'));var util=require('util');var path=require(_0x7a48('0x7'));var sox=require(_0x7a48('0x8'));var csv=require(_0x7a48('0x9'));var ejs=require(_0x7a48('0xa'));var fs=require('fs');var _=require('lodash');var squel=require(_0x7a48('0xb'));var crypto=require(_0x7a48('0xc'));var jsforce=require('jsforce');var deskjs=require('desk.js');var toCsv=require('to-csv');var querystring=require(_0x7a48('0xd'));var Papa=require(_0x7a48('0xe'));var Redis=require(_0x7a48('0xf'));var authService=require('../../components/auth/service');var qs=require('../../components/parsers/qs');var as=require(_0x7a48('0x10'));var hardwareService=require('../../config/license/hardware');var logger=require(_0x7a48('0x11'))(_0x7a48('0x12'));var utils=require('../../config/utils');var config=require(_0x7a48('0x13'));var db=require(_0x7a48('0x14'))['db'];config[_0x7a48('0x15')]=_[_0x7a48('0x16')](config['redis'],{'host':'localhost','port':0x18eb});var socket=require(_0x7a48('0x17'))(new Redis(config[_0x7a48('0x15')]));require(_0x7a48('0x18'))[_0x7a48('0x19')](socket);var jayson=require(_0x7a48('0x1a'));var client=jayson[_0x7a48('0x1b')]['http']({'port':0x232b});function checkPasswordPattern(_0x3f4cba,_0x3c87a2,_0x98e194){if(_0x98e194){var _0x24ec25=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0x24ec25[_0x7a48('0x1c')](_0x3c87a2)){return _0x3f4cba;}else{throw new db[(_0x7a48('0x1d'))][(_0x7a48('0x1e'))](_0x7a48('0x1f'));}}else{return _0x3f4cba;}}function respondWithRpcPromise(_0x2108c1,_0x520645,_0x84df02,_0x409b0b){return new BPromise(function(_0x3b8294,_0x16cacd){var _0x26c97c=_0x409b0b||client;return _0x26c97c[_0x7a48('0x20')](_0x2108c1,_0x84df02)[_0x7a48('0x21')](function(_0x3a446a){logger[_0x7a48('0x22')](_0x7a48('0x23'),_0x520645,_0x7a48('0x24'));logger[_0x7a48('0x25')](_0x7a48('0x26'),_0x520645,_0x7a48('0x24'),JSON[_0x7a48('0x27')](_0x3a446a));if(_0x3a446a['error']){if(_0x3a446a[_0x7a48('0x28')][_0x7a48('0x29')]===0x1f4){logger[_0x7a48('0x28')](_0x7a48('0x23'),_0x520645,_0x3a446a[_0x7a48('0x28')]['message']);return _0x16cacd(_0x3a446a[_0x7a48('0x28')]['message']);}logger[_0x7a48('0x28')]('MailAccount,\x20%s,\x20%s',_0x520645,_0x3a446a[_0x7a48('0x28')][_0x7a48('0x2a')]);return _0x3b8294(_0x3a446a[_0x7a48('0x28')][_0x7a48('0x2a')]);}else{logger[_0x7a48('0x22')](_0x7a48('0x23'),_0x520645,_0x7a48('0x24'));_0x3b8294(_0x3a446a[_0x7a48('0x2b')][_0x7a48('0x2a')]);}})[_0x7a48('0x2c')](function(_0x56df4e){logger[_0x7a48('0x28')]('MailAccount,\x20%s,\x20%s',_0x520645,_0x56df4e);_0x16cacd(_0x56df4e);});});}function respondWithStatusCode(_0x3d1c48,_0x20b172){_0x20b172=_0x20b172||0xcc;return function(_0x2e8e96){if(_0x2e8e96){return _0x3d1c48['sendStatus'](_0x20b172);}return _0x3d1c48[_0x7a48('0x2d')](_0x20b172)['end']();};}function respondWithResult(_0x453500,_0x16ba77){_0x16ba77=_0x16ba77||0xc8;return function(_0x1252d3){if(_0x1252d3){return _0x453500[_0x7a48('0x2d')](_0x16ba77)[_0x7a48('0x2e')](_0x1252d3);}};}function respondWithFilteredResult(_0x1aa2b9,_0xb83e70){return function(_0x3536cc){if(_0x3536cc){var _0xcf31eb=_0x3536cc['count'],_0x29a130=_0xb83e70[_0x7a48('0x2f')],_0x4c8647=_0xb83e70[_0x7a48('0x2f')]+_0xb83e70[_0x7a48('0x30')],_0x2b6685;if(_0x4c8647>=_0xcf31eb){_0x4c8647=_0xcf31eb;_0x2b6685=0xc8;}else{_0x2b6685=0xce;}_0x1aa2b9[_0x7a48('0x2d')](_0x2b6685);return _0x1aa2b9[_0x7a48('0x31')](_0x7a48('0x32'),_0x29a130+'-'+_0x4c8647+'/'+_0xcf31eb)['json'](_0x3536cc);}return null;};}function patchUpdates(_0x119215){return function(_0x667850){try{jsonpatch[_0x7a48('0x33')](_0x667850,_0x119215,!![]);}catch(_0x36aa2e){return BPromise[_0x7a48('0x34')](_0x36aa2e);}return _0x667850[_0x7a48('0x35')]();};}function saveUpdates(_0x48e182,_0x4b5366){return function(_0xde4fdc){if(_0xde4fdc){return _0xde4fdc['update'](_0x48e182)[_0x7a48('0x21')](function(_0x73f919){return _0x73f919;});}return null;};}function removeEntity(_0x3cfd34,_0x345772){return function(_0x5766b0){if(_0x5766b0){return _0x5766b0[_0x7a48('0x36')]()[_0x7a48('0x21')](function(){var _0x4f6077=_0x5766b0['get']({'plain':!![]});var _0xf63ac6='MailAccounts';return db['UserProfileResource'][_0x7a48('0x36')]({'where':{'type':_0xf63ac6,'resourceId':_0x4f6077['id']}})['then'](function(){return _0x5766b0;});})[_0x7a48('0x21')](function(){_0x3cfd34['status'](0xcc)[_0x7a48('0x37')]();});}};}function handleEntityNotFound(_0x40f3c5,_0x56419c){return function(_0x54e512){if(!_0x54e512){_0x40f3c5[_0x7a48('0x38')](0x194);}return _0x54e512;};}function handleError(_0x304c8e,_0x567909){_0x567909=_0x567909||0x1f4;return function(_0x5c1250){logger[_0x7a48('0x28')](_0x5c1250[_0x7a48('0x39')]);if(_0x5c1250[_0x7a48('0x3a')]){delete _0x5c1250[_0x7a48('0x3a')];}_0x304c8e[_0x7a48('0x2d')](_0x567909)[_0x7a48('0x3b')](_0x5c1250);};}exports[_0x7a48('0x3c')]=function(_0x257ca6,_0x5ab4a5){var _0x16922b={'include':[{'model':db[_0x7a48('0x3d')],'as':_0x7a48('0x3e')},{'model':db[_0x7a48('0x3f')],'as':_0x7a48('0x40')},{'model':db[_0x7a48('0x41')],'as':_0x7a48('0x42')}]},_0x80089d={},_0x34d476={'count':0x0,'rows':[]};var _0x5d4b5=_[_0x7a48('0x43')](db['MailAccount'][_0x7a48('0x44')],function(_0x372776){return{'name':_0x372776[_0x7a48('0x45')],'type':_0x372776[_0x7a48('0x46')][_0x7a48('0x47')]};});_0x80089d[_0x7a48('0x48')]=_['map'](_0x5d4b5,'name');_0x80089d[_0x7a48('0x49')]=_[_0x7a48('0x4a')](_0x257ca6[_0x7a48('0x49')]);_0x80089d[_0x7a48('0x4b')]=_[_0x7a48('0x4c')](_0x80089d['model'],_0x80089d[_0x7a48('0x49')]);_0x16922b['attributes']=_[_0x7a48('0x4c')](_0x80089d[_0x7a48('0x48')],qs[_0x7a48('0x4d')](_0x257ca6[_0x7a48('0x49')][_0x7a48('0x4d')]));_0x16922b[_0x7a48('0x4e')]=_0x16922b['attributes']['length']?_0x16922b[_0x7a48('0x4e')]:_0x80089d['model'];if(!_0x257ca6[_0x7a48('0x49')][_0x7a48('0x4f')](_0x7a48('0x50'))){_0x16922b['limit']=qs[_0x7a48('0x30')](_0x257ca6[_0x7a48('0x49')][_0x7a48('0x30')]);_0x16922b[_0x7a48('0x2f')]=qs[_0x7a48('0x2f')](_0x257ca6[_0x7a48('0x49')][_0x7a48('0x2f')]);}_0x16922b['order']=qs['sort'](_0x257ca6[_0x7a48('0x49')]['sort']);_0x16922b[_0x7a48('0x51')]=qs[_0x7a48('0x4b')](_[_0x7a48('0x52')](_0x257ca6[_0x7a48('0x49')],_0x80089d[_0x7a48('0x4b')]),_0x5d4b5);if(_0x257ca6['query'][_0x7a48('0x53')]){_0x16922b['where']=_[_0x7a48('0x54')](_0x16922b['where'],{'$or':_[_0x7a48('0x43')](_0x5d4b5,function(_0x4a6783){if(_0x4a6783[_0x7a48('0x46')]!==_0x7a48('0x55')){var _0x4b993a={};_0x4b993a[_0x4a6783[_0x7a48('0x3a')]]={'$like':'%'+_0x257ca6['query'][_0x7a48('0x53')]+'%'};return _0x4b993a;}})});}_0x16922b=_[_0x7a48('0x54')]({},_0x16922b,_0x257ca6[_0x7a48('0x56')]);var _0x3c2253={'where':_0x16922b['where']};return db[_0x7a48('0x57')][_0x7a48('0x58')](_0x3c2253)['then'](function(_0x3d2ecb){_0x34d476[_0x7a48('0x58')]=_0x3d2ecb;if(_0x257ca6[_0x7a48('0x49')]['includeAll']){_0x16922b[_0x7a48('0x59')]=[{'all':!![]}];}return db[_0x7a48('0x57')][_0x7a48('0x5a')](_0x16922b);})[_0x7a48('0x21')](function(_0x52eaa9){_0x34d476[_0x7a48('0x5b')]=_0x52eaa9;return _0x34d476;})[_0x7a48('0x21')](respondWithFilteredResult(_0x5ab4a5,_0x16922b))[_0x7a48('0x2c')](handleError(_0x5ab4a5,null));};exports[_0x7a48('0x5c')]=function(_0x2e5d0e,_0x3d11c0){var _0x1d3da5={'raw':![],'where':{'id':_0x2e5d0e[_0x7a48('0x5d')]['id']},'include':[{'model':db['MailServerIn'],'as':_0x7a48('0x3e')},{'model':db[_0x7a48('0x3f')],'as':_0x7a48('0x40')},{'model':db[_0x7a48('0x41')],'as':'mandatoryDispositionPause'}]},_0x3db537={};_0x3db537[_0x7a48('0x48')]=_[_0x7a48('0x4a')](db[_0x7a48('0x57')][_0x7a48('0x44')]);_0x3db537[_0x7a48('0x49')]=_[_0x7a48('0x4a')](_0x2e5d0e[_0x7a48('0x49')]);_0x3db537[_0x7a48('0x4b')]=_[_0x7a48('0x4c')](_0x3db537[_0x7a48('0x48')],_0x3db537[_0x7a48('0x49')]);_0x1d3da5[_0x7a48('0x4e')]=_[_0x7a48('0x4c')](_0x3db537[_0x7a48('0x48')],qs['fields'](_0x2e5d0e[_0x7a48('0x49')][_0x7a48('0x4d')]));_0x1d3da5['attributes']=_0x1d3da5[_0x7a48('0x4e')]['length']?_0x1d3da5[_0x7a48('0x4e')]:_0x3db537[_0x7a48('0x48')];if(_0x2e5d0e[_0x7a48('0x49')][_0x7a48('0x5e')]){_0x1d3da5[_0x7a48('0x59')]=[{'all':!![]}];}_0x1d3da5=_[_0x7a48('0x54')]({},_0x1d3da5,_0x2e5d0e[_0x7a48('0x56')]);return db[_0x7a48('0x57')][_0x7a48('0x5f')](_0x1d3da5)['then'](handleEntityNotFound(_0x3d11c0,null))[_0x7a48('0x21')](respondWithResult(_0x3d11c0,null))['catch'](handleError(_0x3d11c0,null));};exports[_0x7a48('0x60')]=function(_0x300943,_0x348f71){if(_0x300943[_0x7a48('0x61')]['id']){delete _0x300943[_0x7a48('0x61')]['id'];}return db['MailAccount'][_0x7a48('0x5f')]({'where':{'id':_0x300943[_0x7a48('0x5d')]['id']},'include':[{'model':db['MailServerIn'],'as':'Imap'},{'model':db[_0x7a48('0x3f')],'as':_0x7a48('0x40')},{'model':db['Pause'],'as':_0x7a48('0x42')}]})[_0x7a48('0x21')](handleEntityNotFound(_0x348f71,null))[_0x7a48('0x21')](saveUpdates(_0x300943['body'],null))[_0x7a48('0x21')](function(_0x3a2595){if(_0x3a2595&&_0x300943[_0x7a48('0x61')][_0x7a48('0x3e')]){return db[_0x7a48('0x3d')][_0x7a48('0x60')](_0x300943['body'][_0x7a48('0x3e')],{'where':{'MailAccountId':_0x3a2595['id']}})[_0x7a48('0x21')](function(){return _0x3a2595;});}return _0x3a2595;})['then'](function(_0x4d3f2f){if(_0x4d3f2f&&_0x300943[_0x7a48('0x61')][_0x7a48('0x40')]){return db['MailServerOut']['update'](_0x300943[_0x7a48('0x61')]['Smtp'],{'where':{'MailAccountId':_0x4d3f2f['id']}})[_0x7a48('0x21')](function(){return _0x4d3f2f;});}return _0x4d3f2f;})[_0x7a48('0x21')](respondWithResult(_0x348f71,null))[_0x7a48('0x2c')](handleError(_0x348f71,null));};exports[_0x7a48('0x62')]=function(_0x2fa9da,_0x51e9c5){return db[_0x7a48('0x57')][_0x7a48('0x62')]()[_0x7a48('0x21')](respondWithResult(_0x51e9c5,null))[_0x7a48('0x2c')](handleError(_0x51e9c5,null));};exports[_0x7a48('0x63')]=function(_0x1511f6,_0x53f404,_0x210478){if(_0x1511f6['body']['id']){delete _0x1511f6[_0x7a48('0x61')]['id'];}return db[_0x7a48('0x57')]['find']({'where':{'id':_0x1511f6[_0x7a48('0x5d')]['id']}})[_0x7a48('0x21')](handleEntityNotFound(_0x53f404,null))[_0x7a48('0x21')](function(_0x42f84c){if(_0x42f84c){_0x1511f6[_0x7a48('0x61')][_0x7a48('0x64')]=_0x42f84c['id'];return db[_0x7a48('0x65')]['create'](_0x1511f6[_0x7a48('0x61')]);}})['then'](respondWithResult(_0x53f404,null))[_0x7a48('0x2c')](handleError(_0x53f404,null));};exports['getDispositions']=function(_0xa053e0,_0x145c80,_0x31e153){var _0x21da8a={'raw':![],'where':{}};var _0x4104ae={};var _0x4862d2={'count':0x0,'rows':[]};return db['MailAccount'][_0x7a48('0x66')]({'where':{'id':_0xa053e0[_0x7a48('0x5d')]['id']}})['then'](handleEntityNotFound(_0x145c80,null))[_0x7a48('0x21')](function(_0x512ce1){if(_0x512ce1){_0x4104ae[_0x7a48('0x48')]=_[_0x7a48('0x4a')](db[_0x7a48('0x65')]['rawAttributes']);_0x4104ae[_0x7a48('0x49')]=_[_0x7a48('0x4a')](_0xa053e0[_0x7a48('0x49')]);_0x4104ae[_0x7a48('0x4b')]=_[_0x7a48('0x4c')](_0x4104ae[_0x7a48('0x48')],_0x4104ae['query']);_0x21da8a[_0x7a48('0x4e')]=_[_0x7a48('0x4c')](_0x4104ae[_0x7a48('0x48')],qs['fields'](_0xa053e0[_0x7a48('0x49')][_0x7a48('0x4d')]));_0x21da8a[_0x7a48('0x4e')]=_0x21da8a[_0x7a48('0x4e')][_0x7a48('0x67')]?_0x21da8a[_0x7a48('0x4e')]:_0x4104ae[_0x7a48('0x48')];if(!_0xa053e0[_0x7a48('0x49')][_0x7a48('0x4f')]('nolimit')){_0x21da8a[_0x7a48('0x30')]=qs[_0x7a48('0x30')](_0xa053e0[_0x7a48('0x49')][_0x7a48('0x30')]);_0x21da8a[_0x7a48('0x2f')]=qs[_0x7a48('0x2f')](_0xa053e0[_0x7a48('0x49')]['offset']);}_0x21da8a['order']=qs[_0x7a48('0x68')](_0xa053e0[_0x7a48('0x49')][_0x7a48('0x68')]);_0x21da8a[_0x7a48('0x51')]=qs[_0x7a48('0x4b')](_[_0x7a48('0x52')](_0xa053e0[_0x7a48('0x49')],_0x4104ae[_0x7a48('0x4b')]));_0x21da8a[_0x7a48('0x51')][_0x7a48('0x64')]=_0x512ce1['id'];if(_0xa053e0['query'][_0x7a48('0x53')]){_0x21da8a[_0x7a48('0x51')]=_[_0x7a48('0x54')](_0x21da8a[_0x7a48('0x51')],{'$or':_[_0x7a48('0x43')](_0x21da8a[_0x7a48('0x4e')],function(_0x3dcead){var _0x3a6b8e={};_0x3a6b8e[_0x3dcead]={'$like':'%'+_0xa053e0[_0x7a48('0x49')][_0x7a48('0x53')]+'%'};return _0x3a6b8e;})});}_0x21da8a=_[_0x7a48('0x54')]({},_0x21da8a,_0xa053e0[_0x7a48('0x56')]);return db['Disposition'][_0x7a48('0x58')]({'where':_0x21da8a[_0x7a48('0x51')]})[_0x7a48('0x21')](function(_0x186fab){_0x4862d2[_0x7a48('0x58')]=_0x186fab;if(_0xa053e0['query'][_0x7a48('0x5e')]){_0x21da8a['include']=[{'all':!![]}];}return db[_0x7a48('0x65')][_0x7a48('0x5a')](_0x21da8a);})[_0x7a48('0x21')](function(_0x1afbe4){_0x4862d2[_0x7a48('0x5b')]=_0x1afbe4;return _0x4862d2;});}})['then'](respondWithFilteredResult(_0x145c80,_0x21da8a))[_0x7a48('0x2c')](handleError(_0x145c80,null));};exports[_0x7a48('0x69')]=function(_0xf4e336,_0x19e8b3,_0x3bb52b){return db[_0x7a48('0x57')]['find']({'where':{'id':_0xf4e336[_0x7a48('0x5d')]['id']}})[_0x7a48('0x21')](handleEntityNotFound(_0x19e8b3,null))[_0x7a48('0x21')](function(_0x3ab016){if(_0x3ab016){return _0x3ab016[_0x7a48('0x69')](_0xf4e336[_0x7a48('0x49')][_0x7a48('0x6a')]);}})[_0x7a48('0x21')](respondWithStatusCode(_0x19e8b3,null))[_0x7a48('0x2c')](handleError(_0x19e8b3,null));};exports['addAnswer']=function(_0x286cb6,_0x2cf1f6,_0x59798b){if(_0x286cb6[_0x7a48('0x61')]['id']){delete _0x286cb6[_0x7a48('0x61')]['id'];}return db['MailAccount'][_0x7a48('0x5f')]({'where':{'id':_0x286cb6[_0x7a48('0x5d')]['id']}})[_0x7a48('0x21')](handleEntityNotFound(_0x2cf1f6,null))['then'](function(_0x3d7d61){if(_0x3d7d61){_0x286cb6[_0x7a48('0x61')][_0x7a48('0x64')]=_0x3d7d61['id'];return db[_0x7a48('0x6b')][_0x7a48('0x6c')](_0x286cb6[_0x7a48('0x61')]);}})[_0x7a48('0x21')](respondWithResult(_0x2cf1f6,null))[_0x7a48('0x2c')](handleError(_0x2cf1f6,null));};exports[_0x7a48('0x6d')]=function(_0x45e726,_0xf82978,_0x2890c8){var _0x20d204={'raw':![],'where':{}};var _0x2ae3d8={};var _0xdb7a10={'count':0x0,'rows':[]};return db[_0x7a48('0x57')][_0x7a48('0x66')]({'where':{'id':_0x45e726['params']['id']}})[_0x7a48('0x21')](handleEntityNotFound(_0xf82978,null))[_0x7a48('0x21')](function(_0x23b04b){if(_0x23b04b){_0x2ae3d8[_0x7a48('0x48')]=_['keys'](db[_0x7a48('0x6b')]['rawAttributes']);_0x2ae3d8[_0x7a48('0x49')]=_[_0x7a48('0x4a')](_0x45e726[_0x7a48('0x49')]);_0x2ae3d8['filters']=_['intersection'](_0x2ae3d8[_0x7a48('0x48')],_0x2ae3d8['query']);_0x20d204[_0x7a48('0x4e')]=_[_0x7a48('0x4c')](_0x2ae3d8['model'],qs['fields'](_0x45e726[_0x7a48('0x49')][_0x7a48('0x4d')]));_0x20d204[_0x7a48('0x4e')]=_0x20d204['attributes'][_0x7a48('0x67')]?_0x20d204[_0x7a48('0x4e')]:_0x2ae3d8[_0x7a48('0x48')];if(!_0x45e726[_0x7a48('0x49')]['hasOwnProperty'](_0x7a48('0x50'))){_0x20d204['limit']=qs['limit'](_0x45e726[_0x7a48('0x49')][_0x7a48('0x30')]);_0x20d204[_0x7a48('0x2f')]=qs[_0x7a48('0x2f')](_0x45e726[_0x7a48('0x49')]['offset']);}_0x20d204[_0x7a48('0x6e')]=qs[_0x7a48('0x68')](_0x45e726[_0x7a48('0x49')][_0x7a48('0x68')]);_0x20d204['where']=qs['filters'](_[_0x7a48('0x52')](_0x45e726[_0x7a48('0x49')],_0x2ae3d8[_0x7a48('0x4b')]));_0x20d204[_0x7a48('0x51')][_0x7a48('0x64')]=_0x23b04b['id'];if(_0x45e726[_0x7a48('0x49')][_0x7a48('0x53')]){_0x20d204['where']=_[_0x7a48('0x54')](_0x20d204[_0x7a48('0x51')],{'$or':_[_0x7a48('0x43')](_0x20d204['attributes'],function(_0x1575d5){var _0x1c1d2a={};_0x1c1d2a[_0x1575d5]={'$like':'%'+_0x45e726['query'][_0x7a48('0x53')]+'%'};return _0x1c1d2a;})});}_0x20d204=_[_0x7a48('0x54')]({},_0x20d204,_0x45e726['options']);return db[_0x7a48('0x6b')][_0x7a48('0x58')]({'where':_0x20d204[_0x7a48('0x51')]})['then'](function(_0x345e16){_0xdb7a10['count']=_0x345e16;if(_0x45e726[_0x7a48('0x49')][_0x7a48('0x5e')]){_0x20d204[_0x7a48('0x59')]=[{'all':!![]}];}return db['CannedAnswer']['findAll'](_0x20d204);})[_0x7a48('0x21')](function(_0x33ab11){_0xdb7a10[_0x7a48('0x5b')]=_0x33ab11;return _0xdb7a10;});}})[_0x7a48('0x21')](respondWithFilteredResult(_0xf82978,_0x20d204))[_0x7a48('0x2c')](handleError(_0xf82978,null));};exports['removeAnswers']=function(_0x5e9d00,_0x4eaf97,_0x234b66){return db['MailAccount'][_0x7a48('0x5f')]({'where':{'id':_0x5e9d00['params']['id']}})[_0x7a48('0x21')](handleEntityNotFound(_0x4eaf97,null))[_0x7a48('0x21')](function(_0xdf0e12){if(_0xdf0e12){return _0xdf0e12[_0x7a48('0x6f')](_0x5e9d00[_0x7a48('0x49')][_0x7a48('0x6a')]);}})[_0x7a48('0x21')](respondWithStatusCode(_0x4eaf97,null))[_0x7a48('0x2c')](handleError(_0x4eaf97,null));};exports['create']=function(_0x59aa8a,_0x25604b){var _0x5e999d={'name':_0x59aa8a[_0x7a48('0x61')]['name'],'key':_0x59aa8a['body'][_0x7a48('0x47')],'email':_0x59aa8a[_0x7a48('0x61')][_0x7a48('0x70')],'ListId':_0x59aa8a['body']['ListId'],'active':!_[_0x7a48('0x71')](_0x59aa8a[_0x7a48('0x61')][_0x7a48('0x72')])?_0x59aa8a[_0x7a48('0x61')][_0x7a48('0x72')]:!![],'description':_0x59aa8a['body']['description']||null,'Imap':{},'Smtp':{}};if(_[_0x7a48('0x71')](_0x59aa8a['body']['cservice'])){if(_0x59aa8a[_0x7a48('0x61')][_0x7a48('0x73')]){_0x5e999d['Imap'][_0x7a48('0x74')]=_0x5e999d[_0x7a48('0x40')]['user']=_0x59aa8a[_0x7a48('0x61')]['cuser'];_0x5e999d[_0x7a48('0x3e')]['password']=_0x5e999d['Smtp'][_0x7a48('0x75')]=_0x59aa8a[_0x7a48('0x61')][_0x7a48('0x76')];}else{_0x5e999d[_0x7a48('0x3e')][_0x7a48('0x77')]=_0x5e999d[_0x7a48('0x40')][_0x7a48('0x77')]=![];}_0x5e999d[_0x7a48('0x3e')][_0x7a48('0x78')]=_0x59aa8a[_0x7a48('0x61')][_0x7a48('0x3e')][_0x7a48('0x78')];_0x5e999d[_0x7a48('0x3e')]['port']=_0x59aa8a[_0x7a48('0x61')][_0x7a48('0x3e')][_0x7a48('0x79')];_0x5e999d['Smtp']['host']=_0x59aa8a[_0x7a48('0x61')][_0x7a48('0x40')][_0x7a48('0x78')];_0x5e999d[_0x7a48('0x40')][_0x7a48('0x79')]=_0x59aa8a[_0x7a48('0x61')]['Smtp'][_0x7a48('0x79')];}else{_0x5e999d[_0x7a48('0x3e')][_0x7a48('0x7a')]=_0x5e999d[_0x7a48('0x40')][_0x7a48('0x7a')]=_0x59aa8a[_0x7a48('0x61')]['cservice'];_0x5e999d[_0x7a48('0x3e')][_0x7a48('0x74')]=_0x5e999d[_0x7a48('0x40')]['user']=_0x59aa8a[_0x7a48('0x61')]['cuser'];_0x5e999d[_0x7a48('0x3e')]['password']=_0x5e999d[_0x7a48('0x40')][_0x7a48('0x75')]=_0x59aa8a[_0x7a48('0x61')][_0x7a48('0x76')];}return db['MailAccount'][_0x7a48('0x6c')](_0x5e999d,{'include':[{'model':db[_0x7a48('0x3f')],'as':_0x7a48('0x40')},{'model':db[_0x7a48('0x3d')],'as':_0x7a48('0x3e')}]})[_0x7a48('0x21')](function(_0x17a30e){var _0x4ff3dd=_0x59aa8a['user'][_0x7a48('0x7b')]({'plain':!![]});if(!_0x4ff3dd)throw new Error(_0x7a48('0x7c'));if(_0x4ff3dd[_0x7a48('0x7d')]===_0x7a48('0x74')){var _0x3b86c3=_0x17a30e[_0x7a48('0x7b')]({'plain':!![]});return db[_0x7a48('0x7e')][_0x7a48('0x5f')]({'where':{'name':_0x7a48('0x7f'),'userProfileId':_0x4ff3dd[_0x7a48('0x80')]},'raw':!![]})[_0x7a48('0x21')](function(_0x5685f3){if(_0x5685f3&&_0x5685f3[_0x7a48('0x81')]===0x0){return db['UserProfileResource'][_0x7a48('0x6c')]({'name':_0x3b86c3['name'],'resourceId':_0x3b86c3['id'],'type':_0x5685f3[_0x7a48('0x3a')],'sectionId':_0x5685f3['id']},{})['then'](function(){return _0x17a30e;});}else{return _0x17a30e;}})[_0x7a48('0x2c')](function(_0x2a2586){logger[_0x7a48('0x28')](_0x7a48('0x82'),_0x2a2586);throw _0x2a2586;});}return _0x17a30e;})[_0x7a48('0x21')](respondWithResult(_0x25604b,0xc9))[_0x7a48('0x2c')](handleError(_0x25604b,null));};exports[_0x7a48('0x83')]=function(_0x5c7e0a,_0x3d1711,_0x2033b8){return db[_0x7a48('0x57')][_0x7a48('0x66')]({'where':{'id':_0x5c7e0a['params']['id']}})['then'](handleEntityNotFound(_0x3d1711,null))[_0x7a48('0x21')](function(_0x2252de){if(_0x2252de){return _0x2252de[_0x7a48('0x83')]();}return null;})[_0x7a48('0x21')](respondWithResult(_0x3d1711,null))[_0x7a48('0x2c')](handleError(_0x3d1711,null));};exports[_0x7a48('0x84')]=function(_0x3e4b9b,_0x359c56,_0x286537){if(_0x3e4b9b[_0x7a48('0x61')]['id']){delete _0x3e4b9b[_0x7a48('0x61')]['id'];}return db['MailAccount'][_0x7a48('0x5f')]({'where':{'id':_0x3e4b9b[_0x7a48('0x5d')]['id']}})['then'](handleEntityNotFound(_0x359c56,null))[_0x7a48('0x21')](function(_0x3fc4a0){if(_0x3fc4a0){_0x3e4b9b[_0x7a48('0x61')][_0x7a48('0x64')]=_0x3fc4a0['id'];return db['MailServerIn'][_0x7a48('0x6c')](_0x3e4b9b[_0x7a48('0x61')]);}})[_0x7a48('0x21')](respondWithResult(_0x359c56,null))[_0x7a48('0x2c')](handleError(_0x359c56,null));};exports[_0x7a48('0x85')]=function(_0x2b0b53,_0x552098,_0x3b7d00){return db[_0x7a48('0x57')]['findOne']({'where':{'id':_0x2b0b53['params']['id']}})[_0x7a48('0x21')](handleEntityNotFound(_0x552098,null))[_0x7a48('0x21')](function(_0x1559ce){if(_0x1559ce){return _0x1559ce[_0x7a48('0x86')](null);}return null;})['then'](respondWithStatusCode(_0x552098,null))[_0x7a48('0x2c')](handleError(_0x552098,null));};exports[_0x7a48('0x87')]=function(_0x2db3c2,_0x12f13a,_0xd9de50){return db['MailAccount']['findOne']({'where':{'id':_0x2db3c2[_0x7a48('0x5d')]['id']}})[_0x7a48('0x21')](handleEntityNotFound(_0x12f13a,null))[_0x7a48('0x21')](function(_0x554e02){if(_0x554e02){return _0x554e02['getSmtp']();}return null;})[_0x7a48('0x21')](respondWithResult(_0x12f13a,null))[_0x7a48('0x2c')](handleError(_0x12f13a,null));};exports[_0x7a48('0x88')]=function(_0x594120,_0x23df71,_0x7ca926){if(_0x594120[_0x7a48('0x61')]['id']){delete _0x594120[_0x7a48('0x61')]['id'];}return db[_0x7a48('0x57')][_0x7a48('0x5f')]({'where':{'id':_0x594120[_0x7a48('0x5d')]['id']}})['then'](handleEntityNotFound(_0x23df71,null))[_0x7a48('0x21')](function(_0x2a7a55){if(_0x2a7a55){_0x594120[_0x7a48('0x61')][_0x7a48('0x64')]=_0x2a7a55['id'];return db[_0x7a48('0x3f')][_0x7a48('0x6c')](_0x594120[_0x7a48('0x61')]);}})[_0x7a48('0x21')](respondWithResult(_0x23df71,null))[_0x7a48('0x2c')](handleError(_0x23df71,null));};exports[_0x7a48('0x89')]=function(_0x42f3ba,_0x28cac3,_0x4d92ff){return db[_0x7a48('0x57')][_0x7a48('0x66')]({'where':{'id':_0x42f3ba['params']['id']}})['then'](handleEntityNotFound(_0x28cac3,null))['then'](function(_0x4ec48c){if(_0x4ec48c){return _0x4ec48c[_0x7a48('0x8a')](null);}return null;})[_0x7a48('0x21')](respondWithStatusCode(_0x28cac3,null))[_0x7a48('0x2c')](handleError(_0x28cac3,null));};exports[_0x7a48('0x8b')]=function(_0x342afc,_0x228287,_0x674d44){return db['MailInteraction'][_0x7a48('0x5f')]({'where':{'id':_0x342afc[_0x7a48('0x5d')]['id']}})[_0x7a48('0x21')](handleEntityNotFound(_0x228287,null))[_0x7a48('0x21')](function(_0x355c3d){if(_0x355c3d){return _0x355c3d[_0x7a48('0x8b')](_0x342afc[_0x7a48('0x61')]['ids'],_['omit'](_0x342afc['body'],['ids','id'])||{});}})[_0x7a48('0x21')](respondWithResult(_0x228287,null))[_0x7a48('0x2c')](handleError(_0x228287,null));};exports[_0x7a48('0x8c')]=function(_0x9e14e3,_0x30f3ff,_0x396636){var _0xf2086a={'raw':![],'where':{}};var _0x2e7cc3={};var _0x59fbf1={'count':0x0,'rows':[]};return db[_0x7a48('0x57')][_0x7a48('0x66')]({'where':{'id':_0x9e14e3[_0x7a48('0x5d')]['id']}})['then'](handleEntityNotFound(_0x30f3ff,null))['then'](function(_0x1db304){if(_0x1db304){_0x2e7cc3[_0x7a48('0x48')]=_[_0x7a48('0x4a')](db[_0x7a48('0x8d')][_0x7a48('0x44')]);_0x2e7cc3[_0x7a48('0x49')]=_[_0x7a48('0x4a')](_0x9e14e3[_0x7a48('0x49')]);_0x2e7cc3['filters']=_[_0x7a48('0x4c')](_0x2e7cc3[_0x7a48('0x48')],_0x2e7cc3[_0x7a48('0x49')]);_0xf2086a['attributes']=_[_0x7a48('0x4c')](_0x2e7cc3[_0x7a48('0x48')],qs[_0x7a48('0x4d')](_0x9e14e3[_0x7a48('0x49')][_0x7a48('0x4d')]));_0xf2086a['attributes']=_0xf2086a[_0x7a48('0x4e')][_0x7a48('0x67')]?_0xf2086a[_0x7a48('0x4e')]:_0x2e7cc3[_0x7a48('0x48')];if(!_0x9e14e3['query'][_0x7a48('0x4f')](_0x7a48('0x50'))){_0xf2086a[_0x7a48('0x30')]=qs[_0x7a48('0x30')](_0x9e14e3[_0x7a48('0x49')][_0x7a48('0x30')]);_0xf2086a[_0x7a48('0x2f')]=qs[_0x7a48('0x2f')](_0x9e14e3[_0x7a48('0x49')][_0x7a48('0x2f')]);}_0xf2086a[_0x7a48('0x6e')]=qs['sort'](_0x9e14e3['query']['sort']);_0xf2086a[_0x7a48('0x51')]=qs[_0x7a48('0x4b')](_[_0x7a48('0x52')](_0x9e14e3[_0x7a48('0x49')],_0x2e7cc3['filters']));_0xf2086a[_0x7a48('0x51')][_0x7a48('0x64')]=_0x1db304['id'];if(_0x9e14e3[_0x7a48('0x49')][_0x7a48('0x53')]){_0xf2086a[_0x7a48('0x51')]=_[_0x7a48('0x54')](_0xf2086a[_0x7a48('0x51')],{'$or':_['map'](_0xf2086a[_0x7a48('0x4e')],function(_0x56a328){var _0x188931={};_0x188931[_0x56a328]={'$like':'%'+_0x9e14e3[_0x7a48('0x49')][_0x7a48('0x53')]+'%'};return _0x188931;})});}_0xf2086a=_['merge']({},_0xf2086a,_0x9e14e3[_0x7a48('0x56')]);return db[_0x7a48('0x8d')][_0x7a48('0x58')]({'where':_0xf2086a['where']})[_0x7a48('0x21')](function(_0x198723){_0x59fbf1[_0x7a48('0x58')]=_0x198723;if(_0x9e14e3[_0x7a48('0x49')]['includeAll']){_0xf2086a[_0x7a48('0x59')]=[{'model':db[_0x7a48('0x8e')],'as':_0x7a48('0x8f'),'required':![]},{'model':db[_0x7a48('0x90')],'as':_0x7a48('0x91'),'attributes':[_0x7a48('0x3a'),_0x7a48('0x92'),_0x7a48('0x93')],'required':![]},{'model':db[_0x7a48('0x94')],'as':'Tags','attributes':['id','name','color'],'where':_0x9e14e3[_0x7a48('0x49')][_0x7a48('0x95')]?{'id':_0x9e14e3[_0x7a48('0x49')][_0x7a48('0x95')]}:undefined,'required':_0x9e14e3[_0x7a48('0x49')][_0x7a48('0x95')]?!![]:![]}];}return db[_0x7a48('0x8d')][_0x7a48('0x5a')](_0xf2086a);})[_0x7a48('0x21')](function(_0x421128){_0x59fbf1['rows']=_0x421128;return _0x59fbf1;});}})[_0x7a48('0x21')](respondWithFilteredResult(_0x30f3ff,_0xf2086a))['catch'](handleError(_0x30f3ff,null));};exports[_0x7a48('0x96')]=function(_0x251765,_0x11369c,_0x177b58){return db[_0x7a48('0x57')][_0x7a48('0x66')]({'where':{'id':_0x251765[_0x7a48('0x5d')]['id']}})[_0x7a48('0x21')](handleEntityNotFound(_0x11369c,null))[_0x7a48('0x21')](function(_0x4c748e){if(_0x4c748e){return db[_0x7a48('0x97')][_0x7a48('0x98')](function(_0x5168af){return db['MailApplication'][_0x7a48('0x36')]({'where':{'MailAccountId':_0x251765['params']['id']},'transaction':_0x5168af})[_0x7a48('0x21')](function(_0x2784a8){var _0x267a4f=_[_0x7a48('0x43')](_0x251765[_0x7a48('0x61')],function(_0x5310cb){_0x5310cb[_0x7a48('0x64')]=_0x251765[_0x7a48('0x5d')]['id'];return _0x5310cb;});return db['MailApplication']['bulkCreate'](_0x267a4f,{'transaction':_0x5168af});});})['then'](function(){return db['MailApplication'][_0x7a48('0x99')]({'where':{'MailAccountId':_0x251765[_0x7a48('0x5d')]['id']},'order':_0x7a48('0x9a')});});}})[_0x7a48('0x21')](respondWithResult(_0x11369c,null))[_0x7a48('0x2c')](handleError(_0x11369c,null));};exports[_0x7a48('0x9b')]=function(_0x42d9a0,_0x12fb2a,_0x399624){var _0x9f7869={};var _0x46f37e={};var _0x339a7f;var _0x39fa4f;return db[_0x7a48('0x57')][_0x7a48('0x66')]({'where':{'id':_0x42d9a0['params']['id']}})[_0x7a48('0x21')](handleEntityNotFound(_0x12fb2a,null))[_0x7a48('0x21')](function(_0x1b244c){if(_0x1b244c){_0x339a7f=_0x1b244c;_0x46f37e['model']=_[_0x7a48('0x4a')](db['MailApplication'][_0x7a48('0x44')]);_0x46f37e[_0x7a48('0x49')]=_[_0x7a48('0x4a')](_0x42d9a0['query']);_0x46f37e[_0x7a48('0x4b')]=_[_0x7a48('0x4c')](_0x46f37e[_0x7a48('0x48')],_0x46f37e[_0x7a48('0x49')]);_0x9f7869[_0x7a48('0x4e')]=_['intersection'](_0x46f37e[_0x7a48('0x48')],qs[_0x7a48('0x4d')](_0x42d9a0['query'][_0x7a48('0x4d')]));_0x9f7869['attributes']=_0x9f7869[_0x7a48('0x4e')][_0x7a48('0x67')]?_0x9f7869[_0x7a48('0x4e')]:_0x46f37e[_0x7a48('0x48')];_0x9f7869['order']=qs[_0x7a48('0x68')](_0x42d9a0[_0x7a48('0x49')][_0x7a48('0x68')]);_0x9f7869[_0x7a48('0x51')]=qs[_0x7a48('0x4b')](_[_0x7a48('0x52')](_0x42d9a0[_0x7a48('0x49')],_0x46f37e[_0x7a48('0x4b')]));if(_0x42d9a0['query']['filter']){_0x9f7869[_0x7a48('0x51')]=_[_0x7a48('0x54')](_0x9f7869['where'],{'$or':_[_0x7a48('0x43')](_0x9f7869[_0x7a48('0x4e')],function(_0x226c55){var _0x6ecf49={};_0x6ecf49[_0x226c55]={'$like':'%'+_0x42d9a0[_0x7a48('0x49')][_0x7a48('0x53')]+'%'};return _0x6ecf49;})});}_0x9f7869=_[_0x7a48('0x54')]({},_0x9f7869,_0x42d9a0[_0x7a48('0x56')]);return _0x339a7f[_0x7a48('0x9b')](_0x9f7869);}})[_0x7a48('0x21')](function(_0x344ef1){if(_0x344ef1){_0x39fa4f=_0x344ef1[_0x7a48('0x67')];if(!_0x42d9a0[_0x7a48('0x49')][_0x7a48('0x4f')]('nolimit')){_0x9f7869['limit']=qs[_0x7a48('0x30')](_0x42d9a0[_0x7a48('0x49')][_0x7a48('0x30')]);_0x9f7869[_0x7a48('0x2f')]=qs['offset'](_0x42d9a0['query'][_0x7a48('0x2f')]);}return _0x339a7f['getApplications'](_0x9f7869);}})['then'](function(_0x5558ca){if(_0x5558ca){return _0x5558ca?{'count':_0x39fa4f,'rows':_0x5558ca}:null;}})[_0x7a48('0x21')](respondWithResult(_0x12fb2a,null))['catch'](handleError(_0x12fb2a,null));};exports[_0x7a48('0x9c')]=function(_0x31c81d,_0x5adcd0,_0x22750b){var _0x3c4bec={'raw':!![],'where':{}};var _0x54b569={};var _0x3ab782={'count':0x0,'rows':[]};return db['MailAccount']['findOne']({'where':{'id':_0x31c81d[_0x7a48('0x5d')]['id']}})[_0x7a48('0x21')](handleEntityNotFound(_0x5adcd0,null))[_0x7a48('0x21')](function(_0x306175){if(_0x306175){_0x54b569[_0x7a48('0x48')]=_['keys'](db['MailMessage'][_0x7a48('0x44')]);_0x54b569[_0x7a48('0x49')]=_[_0x7a48('0x4a')](_0x31c81d[_0x7a48('0x49')]);_0x54b569[_0x7a48('0x4b')]=_[_0x7a48('0x4c')](_0x54b569[_0x7a48('0x48')],_0x54b569[_0x7a48('0x49')]);_0x3c4bec[_0x7a48('0x4e')]=_[_0x7a48('0x4c')](_0x54b569['model'],qs[_0x7a48('0x4d')](_0x31c81d[_0x7a48('0x49')][_0x7a48('0x4d')]));_0x3c4bec['attributes']=_0x3c4bec[_0x7a48('0x4e')]['length']?_0x3c4bec[_0x7a48('0x4e')]:_0x54b569['model'];if(!_0x31c81d[_0x7a48('0x49')][_0x7a48('0x4f')](_0x7a48('0x50'))){_0x3c4bec[_0x7a48('0x30')]=qs[_0x7a48('0x30')](_0x31c81d[_0x7a48('0x49')][_0x7a48('0x30')]);_0x3c4bec['offset']=qs[_0x7a48('0x2f')](_0x31c81d['query']['offset']);}_0x3c4bec['order']=qs[_0x7a48('0x68')](_0x31c81d['query'][_0x7a48('0x68')]);_0x3c4bec[_0x7a48('0x51')]=qs[_0x7a48('0x4b')](_[_0x7a48('0x52')](_0x31c81d[_0x7a48('0x49')],_0x54b569['filters']));_0x3c4bec[_0x7a48('0x51')]['MailAccountId']=_0x306175['id'];if(_0x31c81d['query'][_0x7a48('0x53')]){_0x3c4bec[_0x7a48('0x51')]=_[_0x7a48('0x54')](_0x3c4bec[_0x7a48('0x51')],{'$or':_[_0x7a48('0x43')](_0x3c4bec[_0x7a48('0x4e')],function(_0xdee7d4){var _0x229249={};_0x229249[_0xdee7d4]={'$like':'%'+_0x31c81d[_0x7a48('0x49')][_0x7a48('0x53')]+'%'};return _0x229249;})});}if(_0x31c81d[_0x7a48('0x49')]['$gte']){var _0x21eb6f=_0x31c81d[_0x7a48('0x49')][_0x7a48('0x9d')][_0x7a48('0x9e')](',');var _0x78792e={};_0x78792e[_0x21eb6f[0x0]]={'$gte':moment(_0x21eb6f[0x1])['format'](_0x7a48('0x9f'))};_0x3c4bec[_0x7a48('0x51')]=_[_0x7a48('0x54')](_0x3c4bec[_0x7a48('0x51')],_0x78792e);}_0x3c4bec=_[_0x7a48('0x54')]({},_0x3c4bec,_0x31c81d['options']);return db[_0x7a48('0xa0')][_0x7a48('0x58')]({'where':_0x3c4bec['where']})[_0x7a48('0x21')](function(_0x2eb32e){_0x3ab782[_0x7a48('0x58')]=_0x2eb32e;if(_0x31c81d[_0x7a48('0x49')][_0x7a48('0x5e')]){_0x3c4bec['include']=[{'all':!![]}];}return db[_0x7a48('0xa0')][_0x7a48('0x5a')](_0x3c4bec);})[_0x7a48('0x21')](function(_0x310f73){_0x3ab782[_0x7a48('0x5b')]=_0x310f73;return _0x3ab782;});}})['then'](respondWithFilteredResult(_0x5adcd0,_0x3c4bec))[_0x7a48('0x2c')](handleError(_0x5adcd0,null));};exports[_0x7a48('0x3b')]=function(_0x1133e2,_0x5967a5,_0x5e2608){var _0x135028,_0x256682={},_0x44ad81;if(_0x1133e2[_0x7a48('0x61')]['to']){_0x44ad81=_0x1133e2[_0x7a48('0x61')]['to'][_0x7a48('0x9e')](',')[0x0];}return db['MailAccount'][_0x7a48('0x5f')]({'where':{'id':_0x1133e2[_0x7a48('0x5d')]['id']},'include':[{'model':db[_0x7a48('0xa1')],'as':_0x7a48('0xa2'),'include':[{'model':db['CmContact'],'as':_0x7a48('0xa3'),'where':{'email':_0x44ad81},'limit':0x1,'order':[[_0x7a48('0xa4'),_0x7a48('0xa5')]]}]},{'model':db[_0x7a48('0x3f')],'as':_0x7a48('0x40'),'raw':!![]}]})['then'](handleEntityNotFound(_0x5967a5,null))['then'](function(_0x58edca){if(_0x58edca){_0x135028=_0x58edca;if(_0x58edca[_0x7a48('0x40')]){if(_[_0x7a48('0x71')](_0x1133e2[_0x7a48('0x61')][_0x7a48('0xa6')])){_0x1133e2[_0x7a48('0x61')][_0x7a48('0xa6')]=util[_0x7a48('0xa7')](_0x7a48('0xa8'),_0x58edca['name'],_0x58edca['email']||_0x58edca[_0x7a48('0x40')][_0x7a48('0x74')]);}if(_0x1133e2['body'][_0x7a48('0xa9')]&&_0x1133e2[_0x7a48('0x61')][_0x7a48('0xa9')][_0x7a48('0x67')]){for(var _0x26e520=0x0;_0x26e520<_0x1133e2[_0x7a48('0x61')]['attachments']['length'];_0x26e520+=0x1){_0x1133e2[_0x7a48('0x61')][_0x7a48('0xa9')][_0x26e520]={'filename':_0x1133e2[_0x7a48('0x61')][_0x7a48('0xa9')][_0x26e520][_0x7a48('0x3a')],'path':path[_0x7a48('0xaa')](config[_0x7a48('0xab')],_0x7a48('0xac'),_0x1133e2[_0x7a48('0x61')][_0x7a48('0xa9')][_0x26e520][_0x7a48('0xad')])};}}var _0x162edb={'tls':{'rejectUnauthorized':![]}};if(_[_0x7a48('0x71')](_0x58edca[_0x7a48('0x40')][_0x7a48('0x7a')])){if(_0x58edca[_0x7a48('0x40')][_0x7a48('0x77')]){_0x162edb[_0x7a48('0xae')]={'user':_0x58edca['Smtp'][_0x7a48('0x74')],'pass':_0x58edca[_0x7a48('0x40')][_0x7a48('0x75')]};}_0x162edb[_0x7a48('0x78')]=_0x58edca['Smtp']['host'];_0x162edb[_0x7a48('0x79')]=_0x58edca[_0x7a48('0x40')][_0x7a48('0x79')];_0x162edb[_0x7a48('0xaf')]=_0x58edca[_0x7a48('0x40')][_0x7a48('0xaf')];}else{_0x162edb[_0x7a48('0x7a')]=_0x58edca[_0x7a48('0x40')][_0x7a48('0x7a')];_0x162edb[_0x7a48('0xae')]={'user':_0x58edca[_0x7a48('0x40')][_0x7a48('0x74')],'pass':_0x58edca[_0x7a48('0x40')][_0x7a48('0x75')]};}return respondWithRpcPromise(_0x7a48('0xb0'),_0x7a48('0xb1'),{'account':_0x162edb,'message':_0x1133e2[_0x7a48('0x61')]});}else{throw new Error(_0x7a48('0xb2'));}}})[_0x7a48('0x21')](function(_0x5274f0){if(_0x5274f0){_0x256682=_0x5274f0;if(_0x135028[_0x7a48('0xa2')]){if(_0x135028[_0x7a48('0xa2')]['Contacts']['length']){return _0x135028['List'][_0x7a48('0xa3')][0x0];}else{return db[_0x7a48('0x8e')]['create'](_[_0x7a48('0x16')](_0x1133e2['body'],{'firstName':_0x1133e2[_0x7a48('0x61')]['to'],'email':_0x1133e2[_0x7a48('0x61')]['to'],'phone':_0x1133e2[_0x7a48('0x61')]['to'],'ListId':_0x135028[_0x7a48('0xb3')]}));}}else{throw new Error(_0x7a48('0xb2'));}}})[_0x7a48('0x21')](function(_0x36eebb){if(_0x36eebb){var _0x150022={'UserId':_0x1133e2['user']['id'],'ContactId':_0x36eebb['id'],'MailAccountId':_0x135028['id'],'inReplyTo':_0x256682['messageId'],'to':_0x1133e2[_0x7a48('0x61')][_0x7a48('0xa6')],'cc':_0x1133e2[_0x7a48('0x61')]['cc'],'subject':_0x1133e2[_0x7a48('0x61')]['subject'],'attach':_0x1133e2[_0x7a48('0x61')][_0x7a48('0xb4')],'firstMsgDirection':'out','lastMsgAt':moment()[_0x7a48('0xa7')](_0x7a48('0x9f')),'lastMsgDirection':_0x7a48('0xb5'),'lastMsgBody':_0x1133e2[_0x7a48('0x61')][_0x7a48('0x61')],'Messages':[_[_0x7a48('0x54')](_0x1133e2[_0x7a48('0x61')],{'messageId':_0x256682[_0x7a48('0xb6')],'sentAt':moment()['format'](_0x7a48('0x9f')),'read':!![],'MailAccountId':_0x135028['id'],'UserId':_0x1133e2[_0x7a48('0x74')]['id'],'ContactId':_0x36eebb['id']})]};if(_0x1133e2['body'][_0x7a48('0xb7')]){_0x150022=_[_0x7a48('0x54')](_0x150022,_0x1133e2['body'][_0x7a48('0xb7')]);}return db['MailInteraction'][_0x7a48('0x6c')](_0x150022,{'include':[{'model':db[_0x7a48('0xa0')],'as':_0x7a48('0xb8')}]});}})[_0x7a48('0x21')](respondWithResult(_0x5967a5,null))['catch'](handleError(_0x5967a5,null));};exports[_0x7a48('0xb9')]=function(_0x1fba5b,_0x338482,_0x2913f6){return db[_0x7a48('0x57')][_0x7a48('0x5f')]({'where':{'id':_0x1fba5b[_0x7a48('0x5d')]['id']},'include':[{'model':db['MailServerOut'],'as':'Smtp','raw':!![]}]})['then'](handleEntityNotFound(_0x338482,null))[_0x7a48('0x21')](function(_0x486a74){if(_0x486a74&&_0x486a74[_0x7a48('0x40')]){var _0x29fb12={'id':_0x486a74['id'],'tls':{'rejectUnauthorized':![]}};if(_0x486a74[_0x7a48('0x40')][_0x7a48('0x7a')]){_0x29fb12[_0x7a48('0x7a')]=_0x486a74[_0x7a48('0x40')][_0x7a48('0x7a')];}else{_0x29fb12[_0x7a48('0x78')]=_0x486a74['Smtp'][_0x7a48('0x78')];_0x29fb12[_0x7a48('0x79')]=_0x486a74[_0x7a48('0x40')][_0x7a48('0x79')];_0x29fb12['secure']=_0x486a74['Smtp']['secure'];}if(_0x486a74[_0x7a48('0x40')][_0x7a48('0x77')]){_0x29fb12[_0x7a48('0xae')]={'user':_0x486a74['Smtp'][_0x7a48('0x74')],'pass':_0x486a74[_0x7a48('0x40')][_0x7a48('0x75')]};}return respondWithRpcPromise('VerifySmtp',_0x7a48('0xb9'),{'account':_0x29fb12});}})[_0x7a48('0x21')](respondWithResult(_0x338482,null))['catch'](handleError(_0x338482,null));};exports[_0x7a48('0x36')]=function(_0x6534f0,_0x120231){return db[_0x7a48('0x57')][_0x7a48('0x5f')]({'where':{'id':_0x6534f0[_0x7a48('0x5d')]['id']}})[_0x7a48('0x21')](handleEntityNotFound(_0x120231,null))[_0x7a48('0x21')](function(_0x43d0fc){if(_0x43d0fc&&_0x43d0fc[_0x7a48('0x7a')]){throw new db[(_0x7a48('0x1d'))]['ValidationError'](_0x7a48('0xba'));}return _0x43d0fc;})[_0x7a48('0x21')](removeEntity(_0x120231,null))[_0x7a48('0x2c')](handleError(_0x120231,null));};exports[_0x7a48('0xbb')]=function(_0x3e0ed9,_0x1f00dc,_0x43da44){return db['MailAccount']['find']({'where':{'id':_0x3e0ed9['params']['id']}})[_0x7a48('0x21')](handleEntityNotFound(_0x1f00dc,null))[_0x7a48('0x21')](function(_0x59feeb){if(_0x59feeb){return _0x59feeb[_0x7a48('0xbb')](_0x3e0ed9['body'][_0x7a48('0x6a')],_[_0x7a48('0xbc')](_0x3e0ed9['body'],[_0x7a48('0x6a'),'id'])||{})[_0x7a48('0xbd')](function(_0x56e3c7){for(var _0x4266a0=0x0;_0x4266a0<_0x3e0ed9[_0x7a48('0x61')][_0x7a48('0x6a')][_0x7a48('0x67')];_0x4266a0+=0x1){socket[_0x7a48('0xbe')](_0x7a48('0xbf'),{'UserId':_0x3e0ed9[_0x7a48('0x61')][_0x7a48('0x6a')][_0x4266a0],'MailAccountId':_0x3e0ed9[_0x7a48('0x5d')]['id']});}return _0x56e3c7;});}})[_0x7a48('0x21')](respondWithResult(_0x1f00dc,null))['catch'](handleError(_0x1f00dc,null));};exports[_0x7a48('0xc0')]=function(_0x1431d7,_0x32dbc7,_0x5a254b){return db[_0x7a48('0x57')][_0x7a48('0x5f')]({'where':{'id':_0x1431d7[_0x7a48('0x5d')]['id']}})[_0x7a48('0x21')](handleEntityNotFound(_0x32dbc7,null))['then'](function(_0x452f8b){if(_0x452f8b){return _0x452f8b[_0x7a48('0xc0')](_0x1431d7[_0x7a48('0x49')][_0x7a48('0x6a')])[_0x7a48('0x21')](function(){if(_['isArray'](_0x1431d7[_0x7a48('0x49')][_0x7a48('0x6a')])){for(var _0x3709fe=0x0;_0x3709fe<_0x1431d7[_0x7a48('0x49')]['ids'][_0x7a48('0x67')];_0x3709fe+=0x1){socket[_0x7a48('0xbe')](_0x7a48('0xc1'),{'UserId':Number(_0x1431d7[_0x7a48('0x49')]['ids'][_0x3709fe]),'MailAccountId':Number(_0x1431d7[_0x7a48('0x5d')]['id'])});}}else{socket[_0x7a48('0xbe')](_0x7a48('0xc1'),{'UserId':Number(_0x1431d7[_0x7a48('0x49')][_0x7a48('0x6a')]),'MailAccountId':Number(_0x1431d7[_0x7a48('0x5d')]['id'])});}});}})[_0x7a48('0x21')](respondWithStatusCode(_0x32dbc7,null))[_0x7a48('0x2c')](handleError(_0x32dbc7,null));};exports['getAgents']=function(_0x414555,_0x358514,_0x4f7a0b){var _0x5180b4={};var _0x41cb10={};var _0x425b60;var _0x53a479;return db[_0x7a48('0x57')][_0x7a48('0x66')]({'where':{'id':_0x414555[_0x7a48('0x5d')]['id']}})[_0x7a48('0x21')](handleEntityNotFound(_0x358514,null))[_0x7a48('0x21')](function(_0x182ab8){if(_0x182ab8){_0x425b60=_0x182ab8;_0x41cb10[_0x7a48('0x48')]=_[_0x7a48('0x4a')](db[_0x7a48('0x90')]['rawAttributes']);_0x41cb10['query']=_['keys'](_0x414555[_0x7a48('0x49')]);_0x41cb10[_0x7a48('0x4b')]=_[_0x7a48('0x4c')](_0x41cb10[_0x7a48('0x48')],_0x41cb10[_0x7a48('0x49')]);_0x5180b4['attributes']=_[_0x7a48('0x4c')](_0x41cb10['model'],qs['fields'](_0x414555[_0x7a48('0x49')][_0x7a48('0x4d')]));_0x5180b4['attributes']=_0x5180b4[_0x7a48('0x4e')]['length']?_0x5180b4['attributes']:_0x41cb10[_0x7a48('0x48')];_0x5180b4['order']=qs[_0x7a48('0x68')](_0x414555[_0x7a48('0x49')][_0x7a48('0x68')]);_0x5180b4[_0x7a48('0x51')]=qs['filters'](_[_0x7a48('0x52')](_0x414555[_0x7a48('0x49')],_0x41cb10[_0x7a48('0x4b')]));if(_0x414555[_0x7a48('0x49')][_0x7a48('0x53')]){_0x5180b4[_0x7a48('0x51')]=_[_0x7a48('0x54')](_0x5180b4['where'],{'$or':_[_0x7a48('0x43')](_0x5180b4[_0x7a48('0x4e')],function(_0x2eec54){var _0x119bd2={};_0x119bd2[_0x2eec54]={'$like':'%'+_0x414555[_0x7a48('0x49')]['filter']+'%'};return _0x119bd2;})});}_0x5180b4=_[_0x7a48('0x54')]({},_0x5180b4,_0x414555['options']);return _0x425b60[_0x7a48('0xc2')](_0x5180b4);}})[_0x7a48('0x21')](function(_0x17e114){if(_0x17e114){_0x53a479=_0x17e114[_0x7a48('0x67')];if(!_0x414555[_0x7a48('0x49')][_0x7a48('0x4f')](_0x7a48('0x50'))){_0x5180b4['limit']=qs[_0x7a48('0x30')](_0x414555[_0x7a48('0x49')][_0x7a48('0x30')]);_0x5180b4['offset']=qs[_0x7a48('0x2f')](_0x414555[_0x7a48('0x49')][_0x7a48('0x2f')]);}return _0x425b60[_0x7a48('0xc2')](_0x5180b4);}})[_0x7a48('0x21')](function(_0x48dd7d){if(_0x48dd7d){return _0x48dd7d?{'count':_0x53a479,'rows':_0x48dd7d}:null;}})[_0x7a48('0x21')](respondWithResult(_0x358514,null))[_0x7a48('0x2c')](handleError(_0x358514,null));}; \ No newline at end of file diff --git a/server/api/mailAccount/mailAccount.events.js b/server/api/mailAccount/mailAccount.events.js index 1aac11c..886f09a 100644 --- a/server/api/mailAccount/mailAccount.events.js +++ b/server/api/mailAccount/mailAccount.events.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xa817=['hook','exports','events','../../mysqldb','MailAccount','setMaxListeners','save','update','remove','emit','hasOwnProperty'];(function(_0x51020b,_0x38c2c7){var _0x371e47=function(_0x2a538f){while(--_0x2a538f){_0x51020b['push'](_0x51020b['shift']());}};_0x371e47(++_0x38c2c7);}(_0xa817,0x7b));var _0x7a81=function(_0x252d2a,_0x52d38a){_0x252d2a=_0x252d2a-0x0;var _0x42569b=_0xa817[_0x252d2a];return _0x42569b;};'use strict';var EventEmitter=require(_0x7a81('0x0'));var MailAccount=require(_0x7a81('0x1'))['db'][_0x7a81('0x2')];var MailAccountEvents=new EventEmitter();MailAccountEvents[_0x7a81('0x3')](0x0);var events={'afterCreate':_0x7a81('0x4'),'afterUpdate':_0x7a81('0x5'),'afterDestroy':_0x7a81('0x6')};function emitEvent(_0x91ac8){return function(_0x32f6ff,_0x4b5d54,_0x23551a){MailAccountEvents[_0x7a81('0x7')](_0x91ac8+':'+_0x32f6ff['id'],_0x32f6ff);MailAccountEvents['emit'](_0x91ac8,_0x32f6ff);_0x23551a(null);};}for(var e in events){if(events[_0x7a81('0x8')](e)){var event=events[e];MailAccount[_0x7a81('0x9')](e,emitEvent(event));}}module[_0x7a81('0xa')]=MailAccountEvents; \ No newline at end of file +var _0xd17c=['exports','events','../../mysqldb','MailAccount','setMaxListeners','update','emit','hook'];(function(_0x12a5e3,_0x1a5fd6){var _0x217a47=function(_0x5a3050){while(--_0x5a3050){_0x12a5e3['push'](_0x12a5e3['shift']());}};_0x217a47(++_0x1a5fd6);}(_0xd17c,0xb9));var _0xcd17=function(_0x2146e7,_0x5cadb0){_0x2146e7=_0x2146e7-0x0;var _0x3b4005=_0xd17c[_0x2146e7];return _0x3b4005;};'use strict';var EventEmitter=require(_0xcd17('0x0'));var MailAccount=require(_0xcd17('0x1'))['db'][_0xcd17('0x2')];var MailAccountEvents=new EventEmitter();MailAccountEvents[_0xcd17('0x3')](0x0);var events={'afterCreate':'save','afterUpdate':_0xcd17('0x4'),'afterDestroy':'remove'};function emitEvent(_0x4b73a5){return function(_0x1ed051,_0x437aa0,_0x55ab3f){MailAccountEvents[_0xcd17('0x5')](_0x4b73a5+':'+_0x1ed051['id'],_0x1ed051);MailAccountEvents[_0xcd17('0x5')](_0x4b73a5,_0x1ed051);_0x55ab3f(null);};}for(var e in events){if(events['hasOwnProperty'](e)){var event=events[e];MailAccount[_0xcd17('0x6')](e,emitEvent(event));}}module[_0xcd17('0x7')]=MailAccountEvents; \ No newline at end of file diff --git a/server/api/mailAccount/mailAccount.model.js b/server/api/mailAccount/mailAccount.model.js index 4ea1777..3868e97 100644 --- a/server/api/mailAccount/mailAccount.model.js +++ b/server/api/mailAccount/mailAccount.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x3095=['../../config/environment','./mailAccount.attributes','exports','define','MailAccount','mail_accounts','lodash','util','../../config/logger','bluebird','request-promise','path','rimraf'];(function(_0x323d6b,_0x3e4758){var _0x589a53=function(_0x1b1222){while(--_0x1b1222){_0x323d6b['push'](_0x323d6b['shift']());}};_0x589a53(++_0x3e4758);}(_0x3095,0x158));var _0x5309=function(_0x1a4f35,_0x59f078){_0x1a4f35=_0x1a4f35-0x0;var _0x210f86=_0x3095[_0x1a4f35];return _0x210f86;};'use strict';var _=require(_0x5309('0x0'));var util=require(_0x5309('0x1'));var logger=require(_0x5309('0x2'))('api');var moment=require('moment');var BPromise=require(_0x5309('0x3'));var rp=require(_0x5309('0x4'));var fs=require('fs');var path=require(_0x5309('0x5'));var rimraf=require(_0x5309('0x6'));var config=require(_0x5309('0x7'));var attributes=require(_0x5309('0x8'));module[_0x5309('0x9')]=function(_0x11d1e5,_0x12b620){return _0x11d1e5[_0x5309('0xa')](_0x5309('0xb'),attributes,{'tableName':_0x5309('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0x97a8=['bluebird','request-promise','path','../../config/environment','./mailAccount.attributes','MailAccount','mail_accounts','util','../../config/logger','api','moment'];(function(_0x9307ea,_0x38968a){var _0x295554=function(_0x342dcf){while(--_0x342dcf){_0x9307ea['push'](_0x9307ea['shift']());}};_0x295554(++_0x38968a);}(_0x97a8,0xe3));var _0x897a=function(_0x1d9895,_0x27053f){_0x1d9895=_0x1d9895-0x0;var _0x4c57b8=_0x97a8[_0x1d9895];return _0x4c57b8;};'use strict';var _=require('lodash');var util=require(_0x897a('0x0'));var logger=require(_0x897a('0x1'))(_0x897a('0x2'));var moment=require(_0x897a('0x3'));var BPromise=require(_0x897a('0x4'));var rp=require(_0x897a('0x5'));var fs=require('fs');var path=require(_0x897a('0x6'));var rimraf=require('rimraf');var config=require(_0x897a('0x7'));var attributes=require(_0x897a('0x8'));module['exports']=function(_0x5adcfd,_0x55e647){return _0x5adcfd['define'](_0x897a('0x9'),attributes,{'tableName':_0x897a('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/mailAccount/mailAccount.rpc.js b/server/api/mailAccount/mailAccount.rpc.js index 0ced88a..127cb0e 100644 --- a/server/api/mailAccount/mailAccount.rpc.js +++ b/server/api/mailAccount/mailAccount.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x5b02=['subject','attach','format','YYYY-MM-DD\x20HH:mm:ss','Messages','MailInteraction','Contact\x20not\x20found','spread','update','interaction','created','originTo','originCc','bcc','Attachment','Attachments','UserId','User','unshift','agent','waitForTheAssignedAgent','startRouting','Start','lodash','util','moment','bluebird','../../mysqldb','../../config/logger','rpc','../../config/environment','jayson/promise','client','redis','defaults','localhost','./mailAccount.socket','register','request','then','info','MailAccount,\x20%s,\x20%s','request\x20sent','debug','MailAccount,\x20%s,\x20%s,\x20%s','stringify','error','code','message','result','catch','GetMailAccount','MailAccount','findAll','options','raw','limit','map','include','model','attributes','ShowMailAccount','NotifyMailAccount','body','mail','difference','CmContact','rawAttributes','createdAt','updatedAt','CompanyId','isNil','from','from\x20is\x20mandatory','body\x20is\x20mandatory\x20and\x20not\x20empty','mapKey','mapKey\x20is\x20mandatory,\x20please\x20use\x20one\x20of\x20these:\x20','includes','mapKey\x20invalid,\x20please\x20use\x20one\x20of\x20these:\x20','find','account','CmList','Contacts','DESC','MailApplication','MailServerOut','Smtp','List','get','omit','Applications','list','orderBy','priority','autoclose','applications','push','length','close','*,*,*,*','create','List\x20not\x20found','contact','generate','messageId'];(function(_0x30e2bb,_0x458d95){var _0x56dfb1=function(_0x306d0c){while(--_0x306d0c){_0x30e2bb['push'](_0x30e2bb['shift']());}};_0x56dfb1(++_0x458d95);}(_0x5b02,0xe9));var _0x25b0=function(_0x536b1d,_0x274a95){_0x536b1d=_0x536b1d-0x0;var _0x4b1df3=_0x5b02[_0x536b1d];return _0x4b1df3;};'use strict';var _=require(_0x25b0('0x0'));var util=require(_0x25b0('0x1'));var moment=require(_0x25b0('0x2'));var BPromise=require(_0x25b0('0x3'));var rs=require('randomstring');var fs=require('fs');var Redis=require('ioredis');var db=require(_0x25b0('0x4'))['db'];var utils=require('../../config/utils');var logger=require(_0x25b0('0x5'))(_0x25b0('0x6'));var config=require(_0x25b0('0x7'));var jayson=require(_0x25b0('0x8'));var client=jayson[_0x25b0('0x9')]['http']({'port':0x232c});config[_0x25b0('0xa')]=_[_0x25b0('0xb')](config['redis'],{'host':_0x25b0('0xc'),'port':0x18eb});var socket=require('socket.io-emitter')(new Redis(config['redis']));require(_0x25b0('0xd'))[_0x25b0('0xe')](socket);function respondWithRpcPromise(_0x358af0,_0x575918,_0x11dd3c){return new BPromise(function(_0x466612,_0x135afb){return client[_0x25b0('0xf')](_0x358af0,_0x11dd3c)[_0x25b0('0x10')](function(_0x2f57af){logger[_0x25b0('0x11')](_0x25b0('0x12'),_0x575918,_0x25b0('0x13'));logger[_0x25b0('0x14')](_0x25b0('0x15'),_0x575918,_0x25b0('0x13'),JSON[_0x25b0('0x16')](_0x2f57af));if(_0x2f57af[_0x25b0('0x17')]){if(_0x2f57af[_0x25b0('0x17')][_0x25b0('0x18')]===0x1f4){logger[_0x25b0('0x17')](_0x25b0('0x12'),_0x575918,_0x2f57af[_0x25b0('0x17')][_0x25b0('0x19')]);return _0x135afb(_0x2f57af[_0x25b0('0x17')]['message']);}logger['error'](_0x25b0('0x12'),_0x575918,_0x2f57af['error'][_0x25b0('0x19')]);return _0x466612(_0x2f57af[_0x25b0('0x17')][_0x25b0('0x19')]);}else{logger[_0x25b0('0x11')]('MailAccount,\x20%s,\x20%s',_0x575918,_0x25b0('0x13'));_0x466612(_0x2f57af[_0x25b0('0x1a')][_0x25b0('0x19')]);}})[_0x25b0('0x1b')](function(_0xe750bf){logger[_0x25b0('0x17')]('MailAccount,\x20%s,\x20%s',_0x575918,_0xe750bf);_0x135afb(_0xe750bf);});});}exports[_0x25b0('0x1c')]=function(_0x27aa20){var _0x24e7a0=this;return new Promise(function(_0x1507b5,_0x1dc691){return db[_0x25b0('0x1d')][_0x25b0('0x1e')]({'raw':_0x27aa20[_0x25b0('0x1f')]?_0x27aa20[_0x25b0('0x1f')][_0x25b0('0x20')]===undefined?!![]:![]:!![],'where':_0x27aa20[_0x25b0('0x1f')]?_0x27aa20[_0x25b0('0x1f')]['where']||null:null,'attributes':_0x27aa20[_0x25b0('0x1f')]?_0x27aa20[_0x25b0('0x1f')]['attributes']||null:null,'limit':_0x27aa20[_0x25b0('0x1f')]?_0x27aa20[_0x25b0('0x1f')][_0x25b0('0x21')]||null:null,'include':_0x27aa20['options']?_0x27aa20['options']['include']?_[_0x25b0('0x22')](_0x27aa20[_0x25b0('0x1f')][_0x25b0('0x23')],function(_0x24f847){return{'model':db[_0x24f847[_0x25b0('0x24')]],'as':_0x24f847['as'],'attributes':_0x24f847[_0x25b0('0x25')],'include':_0x24f847[_0x25b0('0x23')]?_[_0x25b0('0x22')](_0x24f847[_0x25b0('0x23')],function(_0x596d14){return{'model':db[_0x596d14[_0x25b0('0x24')]],'as':_0x596d14['as'],'attributes':_0x596d14[_0x25b0('0x25')],'include':_0x596d14['include']?_['map'](_0x596d14['include'],function(_0x1a6212){return{'model':db[_0x1a6212[_0x25b0('0x24')]],'as':_0x1a6212['as'],'attributes':_0x1a6212[_0x25b0('0x25')]};}):[]};}):[]};}):[]:[]})[_0x25b0('0x10')](function(_0x214377){logger[_0x25b0('0x11')](_0x25b0('0x1c'),_0x27aa20);logger[_0x25b0('0x14')](_0x25b0('0x1c'),_0x27aa20,JSON[_0x25b0('0x16')](_0x214377));_0x1507b5(_0x214377);})[_0x25b0('0x1b')](function(_0x3161c1){logger[_0x25b0('0x17')]('GetMailAccount',_0x3161c1['message'],_0x27aa20);_0x1dc691(_0x24e7a0[_0x25b0('0x17')](0x1f4,_0x3161c1['message']));});});};exports['ShowMailAccount']=function(_0x3317fc){var _0x419975=this;return new Promise(function(_0x46c5e8,_0x2338fa){return db[_0x25b0('0x1d')]['find']({'raw':_0x3317fc[_0x25b0('0x1f')]?_0x3317fc[_0x25b0('0x1f')]['raw']===undefined?!![]:![]:!![],'where':_0x3317fc[_0x25b0('0x1f')]?_0x3317fc[_0x25b0('0x1f')]['where']||null:null,'attributes':_0x3317fc[_0x25b0('0x1f')]?_0x3317fc['options'][_0x25b0('0x25')]||null:null,'include':_0x3317fc[_0x25b0('0x1f')]?_0x3317fc[_0x25b0('0x1f')][_0x25b0('0x23')]?_[_0x25b0('0x22')](_0x3317fc[_0x25b0('0x1f')][_0x25b0('0x23')],function(_0x206186){return{'model':db[_0x206186[_0x25b0('0x24')]],'as':_0x206186['as'],'attributes':_0x206186['attributes'],'include':_0x206186[_0x25b0('0x23')]?_[_0x25b0('0x22')](_0x206186[_0x25b0('0x23')],function(_0x42be5f){return{'model':db[_0x42be5f[_0x25b0('0x24')]],'as':_0x42be5f['as'],'attributes':_0x42be5f[_0x25b0('0x25')],'include':_0x42be5f[_0x25b0('0x23')]?_[_0x25b0('0x22')](_0x42be5f[_0x25b0('0x23')],function(_0x2d798b){return{'model':db[_0x2d798b['model']],'as':_0x2d798b['as'],'attributes':_0x2d798b[_0x25b0('0x25')]};}):[]};}):[]};}):[]:[]})[_0x25b0('0x10')](function(_0x42a7af){logger['info'](_0x25b0('0x26'),_0x3317fc);logger[_0x25b0('0x14')](_0x25b0('0x26'),_0x3317fc,JSON[_0x25b0('0x16')](_0x42a7af));_0x46c5e8(_0x42a7af);})[_0x25b0('0x1b')](function(_0xa35c6a){logger[_0x25b0('0x17')](_0x25b0('0x26'),_0xa35c6a['message'],_0x3317fc);_0x2338fa(_0x419975['error'](0x1f4,_0xa35c6a[_0x25b0('0x19')]));});});};exports[_0x25b0('0x27')]=function(_0x3f4ae0){var _0x52c0af=this;return new Promise(function(_0x9c6ab4,_0x48aeb6){var _0x3eb6d4={'body':_0x3f4ae0[_0x25b0('0x28')],'channel':_0x25b0('0x29')};var _0x255e31=_[_0x25b0('0x2a')](_['keys'](db[_0x25b0('0x2b')][_0x25b0('0x2c')]),[_0x25b0('0x2d'),_0x25b0('0x2e'),_0x25b0('0x2f'),'ListId']);var _0x327659=![];if(_0x3f4ae0[_0x25b0('0x28')]['id']){delete _0x3f4ae0[_0x25b0('0x28')]['id'];}if(_[_0x25b0('0x30')](_0x3f4ae0[_0x25b0('0x28')][_0x25b0('0x31')])){return _0x48aeb6(_0x52c0af[_0x25b0('0x17')](0x1f4,_0x25b0('0x32')));}if(_[_0x25b0('0x30')](_0x3f4ae0[_0x25b0('0x28')][_0x25b0('0x28')])||_0x3f4ae0['body'][_0x25b0('0x28')]===''){return _0x48aeb6(_0x52c0af['error'](0x1f4,_0x25b0('0x33')));}if(_[_0x25b0('0x30')](_0x3f4ae0[_0x25b0('0x28')][_0x25b0('0x34')])){return _0x48aeb6(_0x52c0af['error'](0x1f4,_0x25b0('0x35')+_0x255e31));}if(!_[_0x25b0('0x36')](_0x255e31,_0x3f4ae0[_0x25b0('0x28')]['mapKey'])){return _0x48aeb6(_0x52c0af[_0x25b0('0x17')](0x1f4,_0x25b0('0x37')+_0x255e31));}var _0xfbe61d={};_0xfbe61d[_0x3f4ae0[_0x25b0('0x28')][_0x25b0('0x34')]]=_0x3f4ae0[_0x25b0('0x28')][_0x25b0('0x31')];return db['MailAccount'][_0x25b0('0x38')]({'where':{'id':_0x3f4ae0[_0x25b0('0x39')]['id']},'include':[{'model':db[_0x25b0('0x3a')],'as':'List','include':[{'model':db[_0x25b0('0x2b')],'as':_0x25b0('0x3b'),'where':_0xfbe61d,'limit':0x1,'order':[[_0x25b0('0x2e'),_0x25b0('0x3c')]]}]},{'model':db[_0x25b0('0x3d')],'as':'Applications'},{'model':db[_0x25b0('0x3e')],'as':_0x25b0('0x3f')}]})[_0x25b0('0x10')](function(_0x524e9a){if(_0x524e9a&&_0x524e9a[_0x25b0('0x40')]){var _0xc93ed5=_0x524e9a[_0x25b0('0x41')]({'plain':!![]});_0x3eb6d4[_0x25b0('0x39')]=_[_0x25b0('0x42')](_0xc93ed5,[_0x25b0('0x43'),'List']);_0x3eb6d4['applications']=_0xc93ed5['Applications'];_0x3eb6d4[_0x25b0('0x44')]=_0xc93ed5['List'];_0x3eb6d4['applications']=_[_0x25b0('0x45')](_0x3eb6d4['applications'],[_0x25b0('0x46')],['asc']);if(_0x3eb6d4['account']&&_0x3eb6d4[_0x25b0('0x39')][_0x25b0('0x47')]){_0x3eb6d4[_0x25b0('0x48')][_0x25b0('0x49')]({'id':0x0,'priority':_0x3eb6d4[_0x25b0('0x48')][_0x25b0('0x4a')]+0x1,'app':_0x25b0('0x4b'),'appdata':_0x25b0('0x47'),'interval':_0x25b0('0x4c')});}if(_0x3eb6d4[_0x25b0('0x39')]['Applications']){delete _0x3eb6d4['account']['Applications'];}if(_0x3eb6d4[_0x25b0('0x39')][_0x25b0('0x40')]){delete _0x3eb6d4[_0x25b0('0x39')][_0x25b0('0x40')];}if(_0xc93ed5[_0x25b0('0x40')][_0x25b0('0x3b')][_0x25b0('0x4a')]){return _0xc93ed5['List'][_0x25b0('0x3b')][0x0];}var _0x4a8adc=_[_0x25b0('0xb')](_0x3f4ae0['body'],{'firstName':_0x3f4ae0['body'][_0x25b0('0x31')],'ListId':_0xc93ed5['ListId']});_0x4a8adc[_0x3f4ae0['body'][_0x25b0('0x34')]]=_0x3f4ae0[_0x25b0('0x28')][_0x25b0('0x31')];return db[_0x25b0('0x2b')][_0x25b0('0x4d')](_0x4a8adc);}else{throw new Error(_0x25b0('0x4e'));}})[_0x25b0('0x10')](function(_0x7a5a8e){_0x3eb6d4[_0x25b0('0x4f')]=_0x7a5a8e;if(_0x7a5a8e){if(!_0x3f4ae0[_0x25b0('0x28')]['message']['messageId']){_0x3f4ae0[_0x25b0('0x28')][_0x25b0('0x19')]['messageId']=rs[_0x25b0('0x50')]()+'\x20'+_0x3f4ae0[_0x25b0('0x28')][_0x25b0('0x19')][_0x25b0('0x31')];}var _0x345349={'ContactId':_0x7a5a8e['id'],'MailAccountId':_0x3f4ae0['account']['id'],'inReplyTo':_0x3f4ae0[_0x25b0('0x28')][_0x25b0('0x19')][_0x25b0('0x51')],'to':_0x3f4ae0['body'][_0x25b0('0x19')][_0x25b0('0x31')],'cc':_0x3f4ae0[_0x25b0('0x28')][_0x25b0('0x19')]['cc'],'subject':_0x3f4ae0[_0x25b0('0x28')][_0x25b0('0x19')][_0x25b0('0x52')],'attach':_0x3f4ae0[_0x25b0('0x28')][_0x25b0('0x19')][_0x25b0('0x53')],'lastMsgAt':moment()[_0x25b0('0x54')](_0x25b0('0x55')),'lastMsgDirection':'in','lastMsgBody':_0x3f4ae0[_0x25b0('0x28')][_0x25b0('0x28')]};return db['MailInteraction'][_0x25b0('0x38')]({'where':{'closed':![],'MailAccountId':_0x3f4ae0[_0x25b0('0x39')]['id']},'include':[{'model':db['MailMessage'],'as':_0x25b0('0x56'),'attributes':['messageId'],'where':{'messageId':_0x3f4ae0[_0x25b0('0x28')][_0x25b0('0x19')]['inReplyTo']}}]})[_0x25b0('0x10')](function(_0xdf8455){if(_0xdf8455){return[_0xdf8455,![]];}return db[_0x25b0('0x57')]['create'](_0x345349)[_0x25b0('0x10')](function(_0x5534ab){return[_0x5534ab,!![]];});});}else{throw new Error(_0x25b0('0x58'));}})[_0x25b0('0x59')](function(_0x5b2136,_0x2cfe82){if(_0x5b2136){_0x327659=_0x2cfe82;if(!_0x2cfe82){return _0x5b2136[_0x25b0('0x5a')]({'inReplyTo':_0x3f4ae0['body'][_0x25b0('0x19')]['messageId'],'to':_0x3f4ae0['body']['message'][_0x25b0('0x31')],'cc':_0x3f4ae0[_0x25b0('0x28')][_0x25b0('0x19')]['cc'],'subject':_0x3f4ae0['body'][_0x25b0('0x19')][_0x25b0('0x52')],'attach':_0x5b2136[_0x25b0('0x53')]?_0x5b2136[_0x25b0('0x53')]:_0x3f4ae0[_0x25b0('0x28')][_0x25b0('0x19')][_0x25b0('0x53')],'substatus':null,'substatusAt':moment()[_0x25b0('0x54')](_0x25b0('0x55')),'lastMsgAt':moment()[_0x25b0('0x54')](_0x25b0('0x55')),'lastMsgDirection':'in','lastMsgBody':_0x3f4ae0[_0x25b0('0x28')][_0x25b0('0x28')]});}else{return _0x5b2136;}}})[_0x25b0('0x10')](function(_0x1b0150){_0x3eb6d4[_0x25b0('0x5b')]=_0x1b0150[_0x25b0('0x41')]({'plain':!![]});_0x3eb6d4['interaction'][_0x25b0('0x5c')]=_0x327659;return db['MailMessage'][_0x25b0('0x4d')]({'body':_0x3f4ae0[_0x25b0('0x28')][_0x25b0('0x28')],'MailAccountId':_0x3f4ae0[_0x25b0('0x39')]['id'],'MailInteractionId':_0x1b0150['id'],'direction':'in','ContactId':_0x3eb6d4['contact']['id'],'messageId':_0x3f4ae0[_0x25b0('0x28')][_0x25b0('0x19')][_0x25b0('0x51')],'from':_0x3f4ae0[_0x25b0('0x28')][_0x25b0('0x19')][_0x25b0('0x31')],'to':_0x3f4ae0['body']['message']['to'],'cc':_0x3f4ae0[_0x25b0('0x28')]['message']['cc'],'subject':_0x3f4ae0[_0x25b0('0x28')][_0x25b0('0x19')][_0x25b0('0x52')],'attach':_0x3f4ae0['body'][_0x25b0('0x19')][_0x25b0('0x53')],'Attachments':_0x3f4ae0[_0x25b0('0x28')][_0x25b0('0x19')]['attachments'],'originTo':_0x3f4ae0[_0x25b0('0x28')][_0x25b0('0x19')][_0x25b0('0x5d')],'originCc':_0x3f4ae0['body'][_0x25b0('0x19')][_0x25b0('0x5e')],'bcc':_0x3f4ae0[_0x25b0('0x28')][_0x25b0('0x19')][_0x25b0('0x5f')]},{'include':[{'model':db[_0x25b0('0x60')],'as':_0x25b0('0x61')}]});})[_0x25b0('0x10')](function(_0x55a48d){_0x3eb6d4[_0x25b0('0x19')]=_0x55a48d;if(_0x3eb6d4[_0x25b0('0x5b')][_0x25b0('0x62')]){return db[_0x25b0('0x63')]['find']({'attributes':['id','name'],'where':{'id':_0x3eb6d4[_0x25b0('0x5b')][_0x25b0('0x62')]}})[_0x25b0('0x10')](function(_0x350fc1){if(_0x350fc1){_0x3eb6d4['applications'][_0x25b0('0x64')]({'id':0x0,'priority':0x0,'app':_0x25b0('0x65'),'appdata':_0x350fc1['name']+','+(_0x3eb6d4[_0x25b0('0x39')][_0x25b0('0x66')]||0xa),'interval':'*,*,*,*'});}return respondWithRpcPromise('Start',_0x25b0('0x67'),_0x3eb6d4);});}return respondWithRpcPromise(_0x25b0('0x68'),_0x25b0('0x67'),_0x3eb6d4);})[_0x25b0('0x10')](function(_0x112ac6){_0x9c6ab4(_0x112ac6);})[_0x25b0('0x1b')](function(_0x2b43d4){_0x48aeb6(_0x52c0af[_0x25b0('0x17')](0x1f4,_0x2b43d4[_0x25b0('0x19')]));});});}; \ No newline at end of file +var _0x7382=['format','MailMessage','Messages','MailInteraction','Contact\x20not\x20found','spread','update','YYYY-MM-DD\x20HH:mm:ss','attachments','originTo','originCc','bcc','Attachments','User','unshift','agent','name','Start','util','randomstring','../../mysqldb','../../config/logger','rpc','jayson/promise','client','http','redis','localhost','socket.io-emitter','./mailAccount.socket','info','MailAccount,\x20%s,\x20%s','request\x20sent','debug','MailAccount,\x20%s,\x20%s,\x20%s','stringify','error','code','message','result','catch','GetMailAccount','findAll','options','raw','attributes','include','map','model','then','ShowMailAccount','MailAccount','find','where','NotifyMailAccount','body','mail','difference','keys','rawAttributes','createdAt','CompanyId','ListId','isNil','from','from\x20is\x20mandatory','body\x20is\x20mandatory\x20and\x20not\x20empty','mapKey','mapKey\x20is\x20mandatory,\x20please\x20use\x20one\x20of\x20these:\x20','includes','mapKey\x20invalid,\x20please\x20use\x20one\x20of\x20these:\x20','CmContact','Contacts','updatedAt','Applications','Smtp','get','account','omit','List','list','applications','orderBy','priority','asc','length','close','autoclose','defaults','create','List\x20not\x20found','contact','messageId','generate','subject','attach'];(function(_0x1ebeea,_0x2f54f4){var _0x576465=function(_0x47fc77){while(--_0x47fc77){_0x1ebeea['push'](_0x1ebeea['shift']());}};_0x576465(++_0x2f54f4);}(_0x7382,0x1f2));var _0x2738=function(_0x485015,_0x434bf6){_0x485015=_0x485015-0x0;var _0x44bad1=_0x7382[_0x485015];return _0x44bad1;};'use strict';var _=require('lodash');var util=require(_0x2738('0x0'));var moment=require('moment');var BPromise=require('bluebird');var rs=require(_0x2738('0x1'));var fs=require('fs');var Redis=require('ioredis');var db=require(_0x2738('0x2'))['db'];var utils=require('../../config/utils');var logger=require(_0x2738('0x3'))(_0x2738('0x4'));var config=require('../../config/environment');var jayson=require(_0x2738('0x5'));var client=jayson[_0x2738('0x6')][_0x2738('0x7')]({'port':0x232c});config[_0x2738('0x8')]=_['defaults'](config[_0x2738('0x8')],{'host':_0x2738('0x9'),'port':0x18eb});var socket=require(_0x2738('0xa'))(new Redis(config[_0x2738('0x8')]));require(_0x2738('0xb'))['register'](socket);function respondWithRpcPromise(_0x2eb46d,_0xcd5079,_0x2322cd){return new BPromise(function(_0x23db73,_0x53111a){return client['request'](_0x2eb46d,_0x2322cd)['then'](function(_0x4e1692){logger[_0x2738('0xc')](_0x2738('0xd'),_0xcd5079,_0x2738('0xe'));logger[_0x2738('0xf')](_0x2738('0x10'),_0xcd5079,_0x2738('0xe'),JSON[_0x2738('0x11')](_0x4e1692));if(_0x4e1692[_0x2738('0x12')]){if(_0x4e1692[_0x2738('0x12')][_0x2738('0x13')]===0x1f4){logger[_0x2738('0x12')](_0x2738('0xd'),_0xcd5079,_0x4e1692['error'][_0x2738('0x14')]);return _0x53111a(_0x4e1692[_0x2738('0x12')]['message']);}logger['error'](_0x2738('0xd'),_0xcd5079,_0x4e1692[_0x2738('0x12')][_0x2738('0x14')]);return _0x23db73(_0x4e1692['error'][_0x2738('0x14')]);}else{logger[_0x2738('0xc')](_0x2738('0xd'),_0xcd5079,_0x2738('0xe'));_0x23db73(_0x4e1692[_0x2738('0x15')]['message']);}})[_0x2738('0x16')](function(_0xc512f9){logger[_0x2738('0x12')](_0x2738('0xd'),_0xcd5079,_0xc512f9);_0x53111a(_0xc512f9);});});}exports[_0x2738('0x17')]=function(_0x1e2602){var _0x21eaa7=this;return new Promise(function(_0x23a535,_0x2dcc5e){return db['MailAccount'][_0x2738('0x18')]({'raw':_0x1e2602['options']?_0x1e2602[_0x2738('0x19')][_0x2738('0x1a')]===undefined?!![]:![]:!![],'where':_0x1e2602[_0x2738('0x19')]?_0x1e2602[_0x2738('0x19')]['where']||null:null,'attributes':_0x1e2602['options']?_0x1e2602[_0x2738('0x19')][_0x2738('0x1b')]||null:null,'limit':_0x1e2602[_0x2738('0x19')]?_0x1e2602[_0x2738('0x19')]['limit']||null:null,'include':_0x1e2602[_0x2738('0x19')]?_0x1e2602[_0x2738('0x19')][_0x2738('0x1c')]?_[_0x2738('0x1d')](_0x1e2602['options']['include'],function(_0x5b7fd0){return{'model':db[_0x5b7fd0[_0x2738('0x1e')]],'as':_0x5b7fd0['as'],'attributes':_0x5b7fd0[_0x2738('0x1b')],'include':_0x5b7fd0['include']?_[_0x2738('0x1d')](_0x5b7fd0[_0x2738('0x1c')],function(_0x1993c7){return{'model':db[_0x1993c7['model']],'as':_0x1993c7['as'],'attributes':_0x1993c7[_0x2738('0x1b')],'include':_0x1993c7[_0x2738('0x1c')]?_[_0x2738('0x1d')](_0x1993c7[_0x2738('0x1c')],function(_0xbfa426){return{'model':db[_0xbfa426[_0x2738('0x1e')]],'as':_0xbfa426['as'],'attributes':_0xbfa426[_0x2738('0x1b')]};}):[]};}):[]};}):[]:[]})[_0x2738('0x1f')](function(_0x39b7c0){logger['info']('GetMailAccount',_0x1e2602);logger[_0x2738('0xf')](_0x2738('0x17'),_0x1e2602,JSON['stringify'](_0x39b7c0));_0x23a535(_0x39b7c0);})['catch'](function(_0xc1b1e7){logger[_0x2738('0x12')](_0x2738('0x17'),_0xc1b1e7[_0x2738('0x14')],_0x1e2602);_0x2dcc5e(_0x21eaa7[_0x2738('0x12')](0x1f4,_0xc1b1e7[_0x2738('0x14')]));});});};exports[_0x2738('0x20')]=function(_0x4d800d){var _0x1304f4=this;return new Promise(function(_0x5de253,_0x52e996){return db[_0x2738('0x21')][_0x2738('0x22')]({'raw':_0x4d800d[_0x2738('0x19')]?_0x4d800d[_0x2738('0x19')][_0x2738('0x1a')]===undefined?!![]:![]:!![],'where':_0x4d800d['options']?_0x4d800d[_0x2738('0x19')][_0x2738('0x23')]||null:null,'attributes':_0x4d800d[_0x2738('0x19')]?_0x4d800d[_0x2738('0x19')][_0x2738('0x1b')]||null:null,'include':_0x4d800d[_0x2738('0x19')]?_0x4d800d[_0x2738('0x19')][_0x2738('0x1c')]?_[_0x2738('0x1d')](_0x4d800d[_0x2738('0x19')][_0x2738('0x1c')],function(_0x20e02a){return{'model':db[_0x20e02a[_0x2738('0x1e')]],'as':_0x20e02a['as'],'attributes':_0x20e02a[_0x2738('0x1b')],'include':_0x20e02a[_0x2738('0x1c')]?_[_0x2738('0x1d')](_0x20e02a[_0x2738('0x1c')],function(_0x37e05a){return{'model':db[_0x37e05a[_0x2738('0x1e')]],'as':_0x37e05a['as'],'attributes':_0x37e05a[_0x2738('0x1b')],'include':_0x37e05a[_0x2738('0x1c')]?_[_0x2738('0x1d')](_0x37e05a[_0x2738('0x1c')],function(_0x53084c){return{'model':db[_0x53084c[_0x2738('0x1e')]],'as':_0x53084c['as'],'attributes':_0x53084c[_0x2738('0x1b')]};}):[]};}):[]};}):[]:[]})[_0x2738('0x1f')](function(_0x814bf9){logger[_0x2738('0xc')](_0x2738('0x20'),_0x4d800d);logger[_0x2738('0xf')](_0x2738('0x20'),_0x4d800d,JSON[_0x2738('0x11')](_0x814bf9));_0x5de253(_0x814bf9);})[_0x2738('0x16')](function(_0x4a1338){logger[_0x2738('0x12')]('ShowMailAccount',_0x4a1338[_0x2738('0x14')],_0x4d800d);_0x52e996(_0x1304f4[_0x2738('0x12')](0x1f4,_0x4a1338[_0x2738('0x14')]));});});};exports[_0x2738('0x24')]=function(_0x183760){var _0x249729=this;return new Promise(function(_0x4e02e0,_0x15b2cf){var _0x526e9f={'body':_0x183760[_0x2738('0x25')],'channel':_0x2738('0x26')};var _0x2b7a12=_[_0x2738('0x27')](_[_0x2738('0x28')](db['CmContact'][_0x2738('0x29')]),[_0x2738('0x2a'),'updatedAt',_0x2738('0x2b'),_0x2738('0x2c')]);var _0x4a1de8=![];if(_0x183760[_0x2738('0x25')]['id']){delete _0x183760[_0x2738('0x25')]['id'];}if(_[_0x2738('0x2d')](_0x183760[_0x2738('0x25')][_0x2738('0x2e')])){return _0x15b2cf(_0x249729['error'](0x1f4,_0x2738('0x2f')));}if(_[_0x2738('0x2d')](_0x183760[_0x2738('0x25')][_0x2738('0x25')])||_0x183760[_0x2738('0x25')][_0x2738('0x25')]===''){return _0x15b2cf(_0x249729['error'](0x1f4,_0x2738('0x30')));}if(_[_0x2738('0x2d')](_0x183760[_0x2738('0x25')][_0x2738('0x31')])){return _0x15b2cf(_0x249729[_0x2738('0x12')](0x1f4,_0x2738('0x32')+_0x2b7a12));}if(!_[_0x2738('0x33')](_0x2b7a12,_0x183760[_0x2738('0x25')][_0x2738('0x31')])){return _0x15b2cf(_0x249729[_0x2738('0x12')](0x1f4,_0x2738('0x34')+_0x2b7a12));}var _0x4b1c97={};_0x4b1c97[_0x183760[_0x2738('0x25')]['mapKey']]=_0x183760[_0x2738('0x25')][_0x2738('0x2e')];return db['MailAccount'][_0x2738('0x22')]({'where':{'id':_0x183760['account']['id']},'include':[{'model':db['CmList'],'as':'List','include':[{'model':db[_0x2738('0x35')],'as':_0x2738('0x36'),'where':_0x4b1c97,'limit':0x1,'order':[[_0x2738('0x37'),'DESC']]}]},{'model':db['MailApplication'],'as':_0x2738('0x38')},{'model':db['MailServerOut'],'as':_0x2738('0x39')}]})[_0x2738('0x1f')](function(_0x29c6ed){if(_0x29c6ed&&_0x29c6ed['List']){var _0x12c2ef=_0x29c6ed[_0x2738('0x3a')]({'plain':!![]});_0x526e9f[_0x2738('0x3b')]=_[_0x2738('0x3c')](_0x12c2ef,[_0x2738('0x38'),_0x2738('0x3d')]);_0x526e9f['applications']=_0x12c2ef[_0x2738('0x38')];_0x526e9f[_0x2738('0x3e')]=_0x12c2ef[_0x2738('0x3d')];_0x526e9f[_0x2738('0x3f')]=_[_0x2738('0x40')](_0x526e9f[_0x2738('0x3f')],[_0x2738('0x41')],[_0x2738('0x42')]);if(_0x526e9f[_0x2738('0x3b')]&&_0x526e9f[_0x2738('0x3b')]['autoclose']){_0x526e9f['applications']['push']({'id':0x0,'priority':_0x526e9f['applications'][_0x2738('0x43')]+0x1,'app':_0x2738('0x44'),'appdata':_0x2738('0x45'),'interval':'*,*,*,*'});}if(_0x526e9f[_0x2738('0x3b')][_0x2738('0x38')]){delete _0x526e9f[_0x2738('0x3b')]['Applications'];}if(_0x526e9f['account']['List']){delete _0x526e9f[_0x2738('0x3b')][_0x2738('0x3d')];}if(_0x12c2ef[_0x2738('0x3d')][_0x2738('0x36')][_0x2738('0x43')]){return _0x12c2ef[_0x2738('0x3d')][_0x2738('0x36')][0x0];}var _0x3f16b0=_[_0x2738('0x46')](_0x183760['body'],{'firstName':_0x183760[_0x2738('0x25')][_0x2738('0x2e')],'ListId':_0x12c2ef['ListId']});_0x3f16b0[_0x183760[_0x2738('0x25')][_0x2738('0x31')]]=_0x183760[_0x2738('0x25')][_0x2738('0x2e')];return db['CmContact'][_0x2738('0x47')](_0x3f16b0);}else{throw new Error(_0x2738('0x48'));}})['then'](function(_0x1c2d17){_0x526e9f[_0x2738('0x49')]=_0x1c2d17;if(_0x1c2d17){if(!_0x183760['body'][_0x2738('0x14')][_0x2738('0x4a')]){_0x183760[_0x2738('0x25')][_0x2738('0x14')][_0x2738('0x4a')]=rs[_0x2738('0x4b')]()+'\x20'+_0x183760[_0x2738('0x25')]['message'][_0x2738('0x2e')];}var _0x27cfb9={'ContactId':_0x1c2d17['id'],'MailAccountId':_0x183760[_0x2738('0x3b')]['id'],'inReplyTo':_0x183760[_0x2738('0x25')]['message'][_0x2738('0x4a')],'to':_0x183760[_0x2738('0x25')][_0x2738('0x14')][_0x2738('0x2e')],'cc':_0x183760[_0x2738('0x25')][_0x2738('0x14')]['cc'],'subject':_0x183760[_0x2738('0x25')][_0x2738('0x14')][_0x2738('0x4c')],'attach':_0x183760[_0x2738('0x25')][_0x2738('0x14')][_0x2738('0x4d')],'lastMsgAt':moment()[_0x2738('0x4e')]('YYYY-MM-DD\x20HH:mm:ss'),'lastMsgDirection':'in','lastMsgBody':_0x183760[_0x2738('0x25')][_0x2738('0x25')]};return db['MailInteraction'][_0x2738('0x22')]({'where':{'closed':![],'MailAccountId':_0x183760[_0x2738('0x3b')]['id']},'include':[{'model':db[_0x2738('0x4f')],'as':_0x2738('0x50'),'attributes':[_0x2738('0x4a')],'where':{'messageId':_0x183760[_0x2738('0x25')][_0x2738('0x14')]['inReplyTo']}}]})['then'](function(_0x2ce997){if(_0x2ce997){return[_0x2ce997,![]];}return db[_0x2738('0x51')][_0x2738('0x47')](_0x27cfb9)[_0x2738('0x1f')](function(_0x386282){return[_0x386282,!![]];});});}else{throw new Error(_0x2738('0x52'));}})[_0x2738('0x53')](function(_0x579a92,_0x4f951d){if(_0x579a92){_0x4a1de8=_0x4f951d;if(!_0x4f951d){return _0x579a92[_0x2738('0x54')]({'inReplyTo':_0x183760[_0x2738('0x25')]['message']['messageId'],'to':_0x183760[_0x2738('0x25')]['message'][_0x2738('0x2e')],'cc':_0x183760[_0x2738('0x25')]['message']['cc'],'subject':_0x183760[_0x2738('0x25')]['message'][_0x2738('0x4c')],'attach':_0x579a92[_0x2738('0x4d')]?_0x579a92[_0x2738('0x4d')]:_0x183760[_0x2738('0x25')][_0x2738('0x14')][_0x2738('0x4d')],'substatus':null,'substatusAt':moment()[_0x2738('0x4e')](_0x2738('0x55')),'lastMsgAt':moment()[_0x2738('0x4e')](_0x2738('0x55')),'lastMsgDirection':'in','lastMsgBody':_0x183760['body'][_0x2738('0x25')]});}else{return _0x579a92;}}})[_0x2738('0x1f')](function(_0xd51467){_0x526e9f['interaction']=_0xd51467[_0x2738('0x3a')]({'plain':!![]});_0x526e9f['interaction']['created']=_0x4a1de8;return db['MailMessage']['create']({'body':_0x183760[_0x2738('0x25')]['body'],'MailAccountId':_0x183760['account']['id'],'MailInteractionId':_0xd51467['id'],'direction':'in','ContactId':_0x526e9f[_0x2738('0x49')]['id'],'messageId':_0x183760[_0x2738('0x25')]['message']['messageId'],'from':_0x183760[_0x2738('0x25')][_0x2738('0x14')][_0x2738('0x2e')],'to':_0x183760[_0x2738('0x25')]['message']['to'],'cc':_0x183760['body'][_0x2738('0x14')]['cc'],'subject':_0x183760['body'][_0x2738('0x14')][_0x2738('0x4c')],'attach':_0x183760[_0x2738('0x25')]['message']['attach'],'Attachments':_0x183760[_0x2738('0x25')]['message'][_0x2738('0x56')],'originTo':_0x183760[_0x2738('0x25')][_0x2738('0x14')][_0x2738('0x57')],'originCc':_0x183760[_0x2738('0x25')][_0x2738('0x14')][_0x2738('0x58')],'bcc':_0x183760[_0x2738('0x25')][_0x2738('0x14')][_0x2738('0x59')]},{'include':[{'model':db['Attachment'],'as':_0x2738('0x5a')}]});})[_0x2738('0x1f')](function(_0x39efb9){_0x526e9f[_0x2738('0x14')]=_0x39efb9;if(_0x526e9f['interaction']['UserId']){return db[_0x2738('0x5b')][_0x2738('0x22')]({'attributes':['id','name'],'where':{'id':_0x526e9f['interaction']['UserId']}})[_0x2738('0x1f')](function(_0x63f937){if(_0x63f937){_0x526e9f[_0x2738('0x3f')][_0x2738('0x5c')]({'id':0x0,'priority':0x0,'app':_0x2738('0x5d'),'appdata':_0x63f937[_0x2738('0x5e')]+','+(_0x526e9f[_0x2738('0x3b')]['waitForTheAssignedAgent']||0xa),'interval':'*,*,*,*'});}return respondWithRpcPromise(_0x2738('0x5f'),'startRouting',_0x526e9f);});}return respondWithRpcPromise(_0x2738('0x5f'),'startRouting',_0x526e9f);})['then'](function(_0x3a3264){_0x4e02e0(_0x3a3264);})[_0x2738('0x16')](function(_0x33f4fa){_0x15b2cf(_0x249729[_0x2738('0x12')](0x1f4,_0x33f4fa[_0x2738('0x14')]));});});}; \ No newline at end of file diff --git a/server/api/mailAccount/mailAccount.socket.js b/server/api/mailAccount/mailAccount.socket.js index 27d9e1d..aedccc6 100644 --- a/server/api/mailAccount/mailAccount.socket.js +++ b/server/api/mailAccount/mailAccount.socket.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x1488=['./mailAccount.events','remove','update','emit','removeListener','register','length','mailAccount:'];(function(_0x377b45,_0x43311f){var _0x526865=function(_0xcab772){while(--_0xcab772){_0x377b45['push'](_0x377b45['shift']());}};_0x526865(++_0x43311f);}(_0x1488,0x88));var _0x8148=function(_0x4cc03b,_0x299f1c){_0x4cc03b=_0x4cc03b-0x0;var _0xf0358c=_0x1488[_0x4cc03b];return _0xf0358c;};'use strict';var MailAccountEvents=require(_0x8148('0x0'));var events=['save',_0x8148('0x1'),_0x8148('0x2')];function createListener(_0x22606a,_0x5cc7ef){return function(_0x508e80){_0x5cc7ef[_0x8148('0x3')](_0x22606a,_0x508e80);};}function removeListener(_0x5b1a48,_0x32d78){return function(){MailAccountEvents[_0x8148('0x4')](_0x5b1a48,_0x32d78);};}exports[_0x8148('0x5')]=function(_0x153009){for(var _0x173d87=0x0,_0x2ac35d=events[_0x8148('0x6')];_0x173d87<_0x2ac35d;_0x173d87++){var _0x1254e9=events[_0x173d87];var _0x4fb6b4=createListener(_0x8148('0x7')+_0x1254e9,_0x153009);MailAccountEvents['on'](_0x1254e9,_0x4fb6b4);}}; \ No newline at end of file +var _0x4da5=['update','emit','removeListener','length','mailAccount:','save','remove'];(function(_0x4b36bd,_0x25a84a){var _0xb4a41f=function(_0x51b264){while(--_0x51b264){_0x4b36bd['push'](_0x4b36bd['shift']());}};_0xb4a41f(++_0x25a84a);}(_0x4da5,0x1b7));var _0x54da=function(_0x576966,_0x5134f6){_0x576966=_0x576966-0x0;var _0x48e46f=_0x4da5[_0x576966];return _0x48e46f;};'use strict';var MailAccountEvents=require('./mailAccount.events');var events=[_0x54da('0x0'),_0x54da('0x1'),_0x54da('0x2')];function createListener(_0x4f4293,_0x3281bc){return function(_0x4cdd6e){_0x3281bc[_0x54da('0x3')](_0x4f4293,_0x4cdd6e);};}function removeListener(_0x3b7cdc,_0x2ed041){return function(){MailAccountEvents[_0x54da('0x4')](_0x3b7cdc,_0x2ed041);};}exports['register']=function(_0x200b6c){for(var _0xf6aaf3=0x0,_0x259062=events[_0x54da('0x5')];_0xf6aaf3<_0x259062;_0xf6aaf3++){var _0x2fe7cc=events[_0xf6aaf3];var _0x30c17d=createListener(_0x54da('0x6')+_0x2fe7cc,_0x200b6c);MailAccountEvents['on'](_0x2fe7cc,_0x30c17d);}}; \ No newline at end of file diff --git a/server/api/mailApplication/index.js b/server/api/mailApplication/index.js index 95c0d73..6e8dbcc 100644 --- a/server/api/mailApplication/index.js +++ b/server/api/mailApplication/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x4e81=['./mailApplication.controller','get','/:id','put','isAuthenticated','update','delete','destroy','exports','multer','util','path','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0x4ac77f,_0x2c6342){var _0x4e661b=function(_0x9b79d){while(--_0x9b79d){_0x4ac77f['push'](_0x4ac77f['shift']());}};_0x4e661b(++_0x2c6342);}(_0x4e81,0x1bc));var _0x14e8=function(_0x3a4f18,_0x1af741){_0x3a4f18=_0x3a4f18-0x0;var _0x4c20fc=_0x4e81[_0x3a4f18];return _0x4c20fc;};'use strict';var multer=require(_0x14e8('0x0'));var util=require(_0x14e8('0x1'));var path=require(_0x14e8('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express['Router']();var auth=require(_0x14e8('0x3'));var interaction=require(_0x14e8('0x4'));var config=require(_0x14e8('0x5'));var controller=require(_0x14e8('0x6'));router[_0x14e8('0x7')](_0x14e8('0x8'),auth['isAuthenticated'](),controller['show']);router[_0x14e8('0x9')](_0x14e8('0x8'),auth[_0x14e8('0xa')](),controller[_0x14e8('0xb')]);router[_0x14e8('0xc')](_0x14e8('0x8'),auth[_0x14e8('0xa')](),controller[_0x14e8('0xd')]);module[_0x14e8('0xe')]=router; \ No newline at end of file +var _0xee5b=['/:id','isAuthenticated','show','put','destroy','exports','multer','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0x24ffda,_0x3cd7aa){var _0x24a5ab=function(_0x116da7){while(--_0x116da7){_0x24ffda['push'](_0x24ffda['shift']());}};_0x24a5ab(++_0x3cd7aa);}(_0xee5b,0x1f4));var _0xbee5=function(_0x164318,_0x258e9e){_0x164318=_0x164318-0x0;var _0x4c25c0=_0xee5b[_0x164318];return _0x4c25c0;};'use strict';var multer=require(_0xbee5('0x0'));var util=require('util');var path=require(_0xbee5('0x1'));var timeout=require(_0xbee5('0x2'));var express=require('express');var router=express[_0xbee5('0x3')]();var auth=require(_0xbee5('0x4'));var interaction=require(_0xbee5('0x5'));var config=require(_0xbee5('0x6'));var controller=require('./mailApplication.controller');router['get'](_0xbee5('0x7'),auth[_0xbee5('0x8')](),controller[_0xbee5('0x9')]);router[_0xbee5('0xa')]('/:id',auth['isAuthenticated'](),controller['update']);router['delete']('/:id',auth[_0xbee5('0x8')](),controller[_0xbee5('0xb')]);module[_0xbee5('0xc')]=router; \ No newline at end of file diff --git a/server/api/mailApplication/mailApplication.attributes.js b/server/api/mailApplication/mailApplication.attributes.js index 21d1002..78c86e6 100644 --- a/server/api/mailApplication/mailApplication.attributes.js +++ b/server/api/mailApplication/mailApplication.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xd304=['noop','TEXT','*,*,*,*','sequelize','exports','INTEGER','STRING'];(function(_0x3df6db,_0x2e0ee9){var _0x5b4d90=function(_0x19d0b1){while(--_0x19d0b1){_0x3df6db['push'](_0x3df6db['shift']());}};_0x5b4d90(++_0x2e0ee9);}(_0xd304,0x10d));var _0x4d30=function(_0x1e4b35,_0x376db7){_0x1e4b35=_0x1e4b35-0x0;var _0x4f5d05=_0xd304[_0x1e4b35];return _0x4f5d05;};'use strict';var Sequelize=require(_0x4d30('0x0'));module[_0x4d30('0x1')]={'priority':{'type':Sequelize[_0x4d30('0x2')],'allowNull':![]},'app':{'type':Sequelize[_0x4d30('0x3')],'allowNull':![],'defaultValue':_0x4d30('0x4')},'appdata':{'type':Sequelize[_0x4d30('0x5')]()},'description':{'type':Sequelize[_0x4d30('0x3')]},'interval':{'type':Sequelize[_0x4d30('0x3')],'defaultValue':_0x4d30('0x6')}}; \ No newline at end of file +var _0x5553=['TEXT','*,*,*,*','sequelize','exports','INTEGER','STRING','noop'];(function(_0x151721,_0x20d5bc){var _0x2deaa7=function(_0x499812){while(--_0x499812){_0x151721['push'](_0x151721['shift']());}};_0x2deaa7(++_0x20d5bc);}(_0x5553,0x17c));var _0x3555=function(_0x11dcef,_0x3aa5b5){_0x11dcef=_0x11dcef-0x0;var _0x143b0b=_0x5553[_0x11dcef];return _0x143b0b;};'use strict';var Sequelize=require(_0x3555('0x0'));module[_0x3555('0x1')]={'priority':{'type':Sequelize[_0x3555('0x2')],'allowNull':![]},'app':{'type':Sequelize[_0x3555('0x3')],'allowNull':![],'defaultValue':_0x3555('0x4')},'appdata':{'type':Sequelize[_0x3555('0x5')]()},'description':{'type':Sequelize[_0x3555('0x3')]},'interval':{'type':Sequelize[_0x3555('0x3')],'defaultValue':_0x3555('0x6')}}; \ No newline at end of file diff --git a/server/api/mailApplication/mailApplication.controller.js b/server/api/mailApplication/mailApplication.controller.js index c7738bf..6c84842 100644 --- a/server/api/mailApplication/mailApplication.controller.js +++ b/server/api/mailApplication/mailApplication.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x3590=['ioredis','../../components/parsers/qs','../../config/license/hardware','../../config/logger','../../config/utils','../../config/environment','sendStatus','end','status','json','count','offset','Content-Range','apply','save','update','then','error','stack','name','send','params','model','keys','MailApplication','query','filters','intersection','attributes','fields','includeAll','merge','options','find','body','catch','destroy','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','util','path','sox','lodash','crypto','jsforce','desk.js','querystring','papaparse'];(function(_0x6182ff,_0x59d492){var _0x1cec22=function(_0x2e96f8){while(--_0x2e96f8){_0x6182ff['push'](_0x6182ff['shift']());}};_0x1cec22(++_0x59d492);}(_0x3590,0x133));var _0x0359=function(_0x479089,_0x59bd67){_0x479089=_0x479089-0x0;var _0x504fec=_0x3590[_0x479089];return _0x504fec;};'use strict';var pdf=require(_0x0359('0x0'));var emlformat=require(_0x0359('0x1'));var rimraf=require(_0x0359('0x2'));var zipdir=require(_0x0359('0x3'));var jsonpatch=require(_0x0359('0x4'));var rp=require(_0x0359('0x5'));var moment=require(_0x0359('0x6'));var BPromise=require(_0x0359('0x7'));var Mustache=require('mustache');var util=require(_0x0359('0x8'));var path=require(_0x0359('0x9'));var sox=require(_0x0359('0xa'));var csv=require('to-csv');var ejs=require('ejs');var fs=require('fs');var _=require(_0x0359('0xb'));var squel=require('squel');var crypto=require(_0x0359('0xc'));var jsforce=require(_0x0359('0xd'));var deskjs=require(_0x0359('0xe'));var toCsv=require('to-csv');var querystring=require(_0x0359('0xf'));var Papa=require(_0x0359('0x10'));var Redis=require(_0x0359('0x11'));var authService=require('../../components/auth/service');var qs=require(_0x0359('0x12'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0x0359('0x13'));var logger=require(_0x0359('0x14'))('api');var utils=require(_0x0359('0x15'));var config=require(_0x0359('0x16'));var db=require('../../mysqldb')['db'];function respondWithStatusCode(_0x2704e2,_0xb9efe9){_0xb9efe9=_0xb9efe9||0xcc;return function(_0x453255){if(_0x453255){return _0x2704e2[_0x0359('0x17')](_0xb9efe9);}return _0x2704e2['status'](_0xb9efe9)[_0x0359('0x18')]();};}function respondWithResult(_0x5b2dca,_0x206224){_0x206224=_0x206224||0xc8;return function(_0x27c078){if(_0x27c078){return _0x5b2dca[_0x0359('0x19')](_0x206224)[_0x0359('0x1a')](_0x27c078);}};}function respondWithFilteredResult(_0x55fe2d,_0xebe052){return function(_0x1ffba6){if(_0x1ffba6){var _0x21a75c=_0x1ffba6[_0x0359('0x1b')],_0x4bbbf1=_0xebe052[_0x0359('0x1c')],_0x5e4289=_0xebe052[_0x0359('0x1c')]+_0xebe052['limit'],_0x223816;if(_0x5e4289>=_0x21a75c){_0x5e4289=_0x21a75c;_0x223816=0xc8;}else{_0x223816=0xce;}_0x55fe2d['status'](_0x223816);return _0x55fe2d['set'](_0x0359('0x1d'),_0x4bbbf1+'-'+_0x5e4289+'/'+_0x21a75c)['json'](_0x1ffba6);}return null;};}function patchUpdates(_0x58f9a9){return function(_0x12bf02){try{jsonpatch[_0x0359('0x1e')](_0x12bf02,_0x58f9a9,!![]);}catch(_0x1ea72e){return BPromise['reject'](_0x1ea72e);}return _0x12bf02[_0x0359('0x1f')]();};}function saveUpdates(_0x7c3621,_0x464de3){return function(_0x14c9ae){if(_0x14c9ae){return _0x14c9ae[_0x0359('0x20')](_0x7c3621)[_0x0359('0x21')](function(_0x4cedb6){return _0x4cedb6;});}return null;};}function removeEntity(_0x429f5f,_0x24e5e0){return function(_0x373ec4){if(_0x373ec4){return _0x373ec4['destroy']()['then'](function(){_0x429f5f[_0x0359('0x19')](0xcc)['end']();});}};}function handleEntityNotFound(_0x4fb7d4,_0x36503e){return function(_0xd6dfc4){if(!_0xd6dfc4){_0x4fb7d4['sendStatus'](0x194);}return _0xd6dfc4;};}function handleError(_0xb868b6,_0x3c593b){_0x3c593b=_0x3c593b||0x1f4;return function(_0x2d53ee){logger[_0x0359('0x22')](_0x2d53ee[_0x0359('0x23')]);if(_0x2d53ee[_0x0359('0x24')]){delete _0x2d53ee[_0x0359('0x24')];}_0xb868b6['status'](_0x3c593b)[_0x0359('0x25')](_0x2d53ee);};}exports['show']=function(_0x35d620,_0x491838){var _0x117299={'raw':!![],'where':{'id':_0x35d620[_0x0359('0x26')]['id']}},_0xda8f8d={};_0xda8f8d[_0x0359('0x27')]=_[_0x0359('0x28')](db[_0x0359('0x29')]['rawAttributes']);_0xda8f8d[_0x0359('0x2a')]=_[_0x0359('0x28')](_0x35d620[_0x0359('0x2a')]);_0xda8f8d[_0x0359('0x2b')]=_[_0x0359('0x2c')](_0xda8f8d[_0x0359('0x27')],_0xda8f8d[_0x0359('0x2a')]);_0x117299[_0x0359('0x2d')]=_['intersection'](_0xda8f8d['model'],qs['fields'](_0x35d620[_0x0359('0x2a')][_0x0359('0x2e')]));_0x117299[_0x0359('0x2d')]=_0x117299['attributes']['length']?_0x117299['attributes']:_0xda8f8d[_0x0359('0x27')];if(_0x35d620['query'][_0x0359('0x2f')]){_0x117299['include']=[{'all':!![]}];}_0x117299=_[_0x0359('0x30')]({},_0x117299,_0x35d620[_0x0359('0x31')]);return db[_0x0359('0x29')][_0x0359('0x32')](_0x117299)['then'](handleEntityNotFound(_0x491838,null))[_0x0359('0x21')](respondWithResult(_0x491838,null))['catch'](handleError(_0x491838,null));};exports['update']=function(_0x989b0b,_0x13eece){if(_0x989b0b[_0x0359('0x33')]['id']){delete _0x989b0b['body']['id'];}return db['MailApplication'][_0x0359('0x32')]({'where':{'id':_0x989b0b[_0x0359('0x26')]['id']}})['then'](handleEntityNotFound(_0x13eece,null))[_0x0359('0x21')](saveUpdates(_0x989b0b[_0x0359('0x33')],null))[_0x0359('0x21')](respondWithResult(_0x13eece,null))[_0x0359('0x34')](handleError(_0x13eece,null));};exports[_0x0359('0x35')]=function(_0x53737c,_0x614e99){return db[_0x0359('0x29')][_0x0359('0x32')]({'where':{'id':_0x53737c[_0x0359('0x26')]['id']}})[_0x0359('0x21')](handleEntityNotFound(_0x614e99,null))[_0x0359('0x21')](removeEntity(_0x614e99,null))[_0x0359('0x34')](handleError(_0x614e99,null));}; \ No newline at end of file +var _0x1c28=['../../config/utils','../../config/environment','../../mysqldb','sendStatus','end','status','json','count','offset','limit','Content-Range','save','update','then','destroy','error','stack','name','send','params','model','MailApplication','rawAttributes','query','filters','attributes','intersection','fields','length','includeAll','include','options','find','catch','body','eml-format','rimraf','fast-json-patch','moment','bluebird','util','path','to-csv','ejs','squel','crypto','jsforce','desk.js','querystring','papaparse','../../components/auth/service','../../components/parsers/qs','../../config/logger','api'];(function(_0x2f91b5,_0x54b6f6){var _0x4f887e=function(_0xf493db){while(--_0xf493db){_0x2f91b5['push'](_0x2f91b5['shift']());}};_0x4f887e(++_0x54b6f6);}(_0x1c28,0xfb));var _0x81c2=function(_0x2373b5,_0x59e49e){_0x2373b5=_0x2373b5-0x0;var _0x2d55b0=_0x1c28[_0x2373b5];return _0x2d55b0;};'use strict';var pdf=require('html-pdf');var emlformat=require(_0x81c2('0x0'));var rimraf=require(_0x81c2('0x1'));var zipdir=require('zip-dir');var jsonpatch=require(_0x81c2('0x2'));var rp=require('request-promise');var moment=require(_0x81c2('0x3'));var BPromise=require(_0x81c2('0x4'));var Mustache=require('mustache');var util=require(_0x81c2('0x5'));var path=require(_0x81c2('0x6'));var sox=require('sox');var csv=require(_0x81c2('0x7'));var ejs=require(_0x81c2('0x8'));var fs=require('fs');var _=require('lodash');var squel=require(_0x81c2('0x9'));var crypto=require(_0x81c2('0xa'));var jsforce=require(_0x81c2('0xb'));var deskjs=require(_0x81c2('0xc'));var toCsv=require('to-csv');var querystring=require(_0x81c2('0xd'));var Papa=require(_0x81c2('0xe'));var Redis=require('ioredis');var authService=require(_0x81c2('0xf'));var qs=require(_0x81c2('0x10'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require('../../config/license/hardware');var logger=require(_0x81c2('0x11'))(_0x81c2('0x12'));var utils=require(_0x81c2('0x13'));var config=require(_0x81c2('0x14'));var db=require(_0x81c2('0x15'))['db'];function respondWithStatusCode(_0x146aa2,_0xa2fe18){_0xa2fe18=_0xa2fe18||0xcc;return function(_0x98d54c){if(_0x98d54c){return _0x146aa2[_0x81c2('0x16')](_0xa2fe18);}return _0x146aa2['status'](_0xa2fe18)[_0x81c2('0x17')]();};}function respondWithResult(_0x348cef,_0x38596a){_0x38596a=_0x38596a||0xc8;return function(_0x206535){if(_0x206535){return _0x348cef[_0x81c2('0x18')](_0x38596a)[_0x81c2('0x19')](_0x206535);}};}function respondWithFilteredResult(_0x130d42,_0x161018){return function(_0x3c8ded){if(_0x3c8ded){var _0x31c2f1=_0x3c8ded[_0x81c2('0x1a')],_0x388039=_0x161018[_0x81c2('0x1b')],_0x40e58f=_0x161018[_0x81c2('0x1b')]+_0x161018[_0x81c2('0x1c')],_0x333077;if(_0x40e58f>=_0x31c2f1){_0x40e58f=_0x31c2f1;_0x333077=0xc8;}else{_0x333077=0xce;}_0x130d42['status'](_0x333077);return _0x130d42['set'](_0x81c2('0x1d'),_0x388039+'-'+_0x40e58f+'/'+_0x31c2f1)['json'](_0x3c8ded);}return null;};}function patchUpdates(_0x36703b){return function(_0x28be7f){try{jsonpatch['apply'](_0x28be7f,_0x36703b,!![]);}catch(_0xa42e5e){return BPromise['reject'](_0xa42e5e);}return _0x28be7f[_0x81c2('0x1e')]();};}function saveUpdates(_0x31ce22,_0x266e3f){return function(_0x539834){if(_0x539834){return _0x539834[_0x81c2('0x1f')](_0x31ce22)[_0x81c2('0x20')](function(_0x58ae18){return _0x58ae18;});}return null;};}function removeEntity(_0x4ab543,_0x324abf){return function(_0x9b31b4){if(_0x9b31b4){return _0x9b31b4[_0x81c2('0x21')]()[_0x81c2('0x20')](function(){_0x4ab543['status'](0xcc)[_0x81c2('0x17')]();});}};}function handleEntityNotFound(_0x2ab34d,_0x337dce){return function(_0x10fd6b){if(!_0x10fd6b){_0x2ab34d[_0x81c2('0x16')](0x194);}return _0x10fd6b;};}function handleError(_0x848e31,_0x5df22b){_0x5df22b=_0x5df22b||0x1f4;return function(_0x404153){logger[_0x81c2('0x22')](_0x404153[_0x81c2('0x23')]);if(_0x404153['name']){delete _0x404153[_0x81c2('0x24')];}_0x848e31[_0x81c2('0x18')](_0x5df22b)[_0x81c2('0x25')](_0x404153);};}exports['show']=function(_0x3e649e,_0x583f32){var _0x54e0e9={'raw':!![],'where':{'id':_0x3e649e[_0x81c2('0x26')]['id']}},_0x464f40={};_0x464f40[_0x81c2('0x27')]=_['keys'](db[_0x81c2('0x28')][_0x81c2('0x29')]);_0x464f40['query']=_['keys'](_0x3e649e[_0x81c2('0x2a')]);_0x464f40[_0x81c2('0x2b')]=_['intersection'](_0x464f40['model'],_0x464f40['query']);_0x54e0e9[_0x81c2('0x2c')]=_[_0x81c2('0x2d')](_0x464f40['model'],qs[_0x81c2('0x2e')](_0x3e649e[_0x81c2('0x2a')]['fields']));_0x54e0e9[_0x81c2('0x2c')]=_0x54e0e9[_0x81c2('0x2c')][_0x81c2('0x2f')]?_0x54e0e9['attributes']:_0x464f40[_0x81c2('0x27')];if(_0x3e649e[_0x81c2('0x2a')][_0x81c2('0x30')]){_0x54e0e9[_0x81c2('0x31')]=[{'all':!![]}];}_0x54e0e9=_['merge']({},_0x54e0e9,_0x3e649e[_0x81c2('0x32')]);return db[_0x81c2('0x28')][_0x81c2('0x33')](_0x54e0e9)['then'](handleEntityNotFound(_0x583f32,null))['then'](respondWithResult(_0x583f32,null))[_0x81c2('0x34')](handleError(_0x583f32,null));};exports['update']=function(_0x5b76af,_0x27a9f3){if(_0x5b76af['body']['id']){delete _0x5b76af[_0x81c2('0x35')]['id'];}return db['MailApplication'][_0x81c2('0x33')]({'where':{'id':_0x5b76af[_0x81c2('0x26')]['id']}})[_0x81c2('0x20')](handleEntityNotFound(_0x27a9f3,null))['then'](saveUpdates(_0x5b76af['body'],null))[_0x81c2('0x20')](respondWithResult(_0x27a9f3,null))[_0x81c2('0x34')](handleError(_0x27a9f3,null));};exports[_0x81c2('0x21')]=function(_0x48e24d,_0x19fc58){return db['MailApplication'][_0x81c2('0x33')]({'where':{'id':_0x48e24d[_0x81c2('0x26')]['id']}})[_0x81c2('0x20')](handleEntityNotFound(_0x19fc58,null))[_0x81c2('0x20')](removeEntity(_0x19fc58,null))[_0x81c2('0x34')](handleError(_0x19fc58,null));}; \ No newline at end of file diff --git a/server/api/mailApplication/mailApplication.model.js b/server/api/mailApplication/mailApplication.model.js index beb1f83..e130b12 100644 --- a/server/api/mailApplication/mailApplication.model.js +++ b/server/api/mailApplication/mailApplication.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x2015=['mail_applications','utf8mb4','utf8mb4_unicode_ci','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','../../config/environment','./mailApplication.attributes','exports','define','MailApplication'];(function(_0xdebe90,_0x3103ba){var _0x522baf=function(_0x30246b){while(--_0x30246b){_0xdebe90['push'](_0xdebe90['shift']());}};_0x522baf(++_0x3103ba);}(_0x2015,0x193));var _0x5201=function(_0x4e48a4,_0x14b884){_0x4e48a4=_0x4e48a4-0x0;var _0xd56cb4=_0x2015[_0x4e48a4];return _0xd56cb4;};'use strict';var _=require(_0x5201('0x0'));var util=require(_0x5201('0x1'));var logger=require(_0x5201('0x2'))(_0x5201('0x3'));var moment=require(_0x5201('0x4'));var BPromise=require(_0x5201('0x5'));var rp=require(_0x5201('0x6'));var fs=require('fs');var path=require(_0x5201('0x7'));var rimraf=require('rimraf');var config=require(_0x5201('0x8'));var attributes=require(_0x5201('0x9'));module[_0x5201('0xa')]=function(_0x10e33b,_0xf013a){return _0x10e33b[_0x5201('0xb')](_0x5201('0xc'),attributes,{'tableName':_0x5201('0xd'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':_0x5201('0xe'),'collate':_0x5201('0xf')});}; \ No newline at end of file +var _0xd9eb=['../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./mailApplication.attributes','exports','define','MailApplication','mail_applications','utf8mb4','utf8mb4_unicode_ci','lodash','util'];(function(_0x321bb2,_0x202794){var _0x9c12ed=function(_0x263dd3){while(--_0x263dd3){_0x321bb2['push'](_0x321bb2['shift']());}};_0x9c12ed(++_0x202794);}(_0xd9eb,0xca));var _0xbd9e=function(_0x20f764,_0x185982){_0x20f764=_0x20f764-0x0;var _0x52ab9d=_0xd9eb[_0x20f764];return _0x52ab9d;};'use strict';var _=require(_0xbd9e('0x0'));var util=require(_0xbd9e('0x1'));var logger=require(_0xbd9e('0x2'))(_0xbd9e('0x3'));var moment=require(_0xbd9e('0x4'));var BPromise=require(_0xbd9e('0x5'));var rp=require(_0xbd9e('0x6'));var fs=require('fs');var path=require(_0xbd9e('0x7'));var rimraf=require(_0xbd9e('0x8'));var config=require(_0xbd9e('0x9'));var attributes=require(_0xbd9e('0xa'));module[_0xbd9e('0xb')]=function(_0x20c36a,_0x4ade3f){return _0x20c36a[_0xbd9e('0xc')](_0xbd9e('0xd'),attributes,{'tableName':_0xbd9e('0xe'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':_0xbd9e('0xf'),'collate':_0xbd9e('0x10')});}; \ No newline at end of file diff --git a/server/api/mailApplication/mailApplication.rpc.js b/server/api/mailApplication/mailApplication.rpc.js index 02ef154..296bd5d 100644 --- a/server/api/mailApplication/mailApplication.rpc.js +++ b/server/api/mailApplication/mailApplication.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x9bbc=['MailApplication,\x20%s,\x20%s','request\x20sent','debug','MailApplication,\x20%s,\x20%s,\x20%s','error','code','message','info','catch','UpdateMailApplication','MailApplication','update','body','options','raw','where','stringify','lodash','moment','bluebird','ioredis','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','request','then'];(function(_0x878355,_0x265718){var _0x385f75=function(_0x18f4ef){while(--_0x18f4ef){_0x878355['push'](_0x878355['shift']());}};_0x385f75(++_0x265718);}(_0x9bbc,0x65));var _0xc9bb=function(_0x1c1960,_0x47bd90){_0x1c1960=_0x1c1960-0x0;var _0xf67663=_0x9bbc[_0x1c1960];return _0xf67663;};'use strict';var _=require(_0xc9bb('0x0'));var util=require('util');var moment=require(_0xc9bb('0x1'));var BPromise=require(_0xc9bb('0x2'));var rs=require('randomstring');var fs=require('fs');var Redis=require(_0xc9bb('0x3'));var db=require('../../mysqldb')['db'];var utils=require(_0xc9bb('0x4'));var logger=require(_0xc9bb('0x5'))(_0xc9bb('0x6'));var config=require(_0xc9bb('0x7'));var jayson=require(_0xc9bb('0x8'));var client=jayson['client']['http']({'port':0x232a});function respondWithRpcPromise(_0x706ae6,_0x306dfa,_0x516fea){return new BPromise(function(_0x3ac22f,_0x3d7884){return client[_0xc9bb('0x9')](_0x706ae6,_0x516fea)[_0xc9bb('0xa')](function(_0x3c8c1f){logger['info'](_0xc9bb('0xb'),_0x306dfa,_0xc9bb('0xc'));logger[_0xc9bb('0xd')](_0xc9bb('0xe'),_0x306dfa,_0xc9bb('0xc'),JSON['stringify'](_0x3c8c1f));if(_0x3c8c1f[_0xc9bb('0xf')]){if(_0x3c8c1f['error'][_0xc9bb('0x10')]===0x1f4){logger[_0xc9bb('0xf')](_0xc9bb('0xb'),_0x306dfa,_0x3c8c1f['error'][_0xc9bb('0x11')]);return _0x3d7884(_0x3c8c1f[_0xc9bb('0xf')][_0xc9bb('0x11')]);}logger[_0xc9bb('0xf')](_0xc9bb('0xb'),_0x306dfa,_0x3c8c1f[_0xc9bb('0xf')]['message']);return _0x3ac22f(_0x3c8c1f['error'][_0xc9bb('0x11')]);}else{logger[_0xc9bb('0x12')]('MailApplication,\x20%s,\x20%s',_0x306dfa,_0xc9bb('0xc'));_0x3ac22f(_0x3c8c1f['result'][_0xc9bb('0x11')]);}})[_0xc9bb('0x13')](function(_0x370960){logger['error']('MailApplication,\x20%s,\x20%s',_0x306dfa,_0x370960);_0x3d7884(_0x370960);});});}exports[_0xc9bb('0x14')]=function(_0x3df011){var _0x54549a=this;return new Promise(function(_0xcf2f2d,_0x2ee7e6){return db[_0xc9bb('0x15')][_0xc9bb('0x16')](_0x3df011[_0xc9bb('0x17')],{'raw':_0x3df011[_0xc9bb('0x18')]?_0x3df011[_0xc9bb('0x18')][_0xc9bb('0x19')]===undefined?!![]:![]:!![],'individualHooks':!![],'where':_0x3df011[_0xc9bb('0x18')]?_0x3df011[_0xc9bb('0x18')][_0xc9bb('0x1a')]||null:null,'attributes':_0x3df011['options']?_0x3df011[_0xc9bb('0x18')]['attributes']||null:null,'limit':_0x3df011['options']?_0x3df011[_0xc9bb('0x18')]['limit']||null:null})[_0xc9bb('0xa')](function(_0x277507){logger[_0xc9bb('0x12')](_0xc9bb('0x14'),_0x3df011);logger[_0xc9bb('0xd')](_0xc9bb('0x14'),_0x3df011,JSON[_0xc9bb('0x1b')](_0x277507));_0xcf2f2d(_0x277507);})[_0xc9bb('0x13')](function(_0x464620){logger['error']('UpdateMailApplication',_0x464620[_0xc9bb('0x11')],_0x3df011);_0x2ee7e6(_0x54549a['error'](0x1f4,_0x464620['message']));});});}; \ No newline at end of file +var _0xf633=['ioredis','../../mysqldb','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','client','http','request','then','info','MailApplication,\x20%s,\x20%s','MailApplication,\x20%s,\x20%s,\x20%s','stringify','error','code','message','request\x20sent','MailApplication','update','body','options','raw','where','attributes','limit','UpdateMailApplication','debug','catch','lodash','moment','bluebird'];(function(_0x4d021e,_0x5775a6){var _0x928369=function(_0x2c81e4){while(--_0x2c81e4){_0x4d021e['push'](_0x4d021e['shift']());}};_0x928369(++_0x5775a6);}(_0xf633,0x147));var _0x3f63=function(_0x41caac,_0x50c421){_0x41caac=_0x41caac-0x0;var _0x28d2ba=_0xf633[_0x41caac];return _0x28d2ba;};'use strict';var _=require(_0x3f63('0x0'));var util=require('util');var moment=require(_0x3f63('0x1'));var BPromise=require(_0x3f63('0x2'));var rs=require('randomstring');var fs=require('fs');var Redis=require(_0x3f63('0x3'));var db=require(_0x3f63('0x4'))['db'];var utils=require(_0x3f63('0x5'));var logger=require(_0x3f63('0x6'))(_0x3f63('0x7'));var config=require(_0x3f63('0x8'));var jayson=require(_0x3f63('0x9'));var client=jayson[_0x3f63('0xa')][_0x3f63('0xb')]({'port':0x232a});function respondWithRpcPromise(_0x2e9f82,_0x1bcc35,_0x1e863a){return new BPromise(function(_0x3633df,_0x31dd01){return client[_0x3f63('0xc')](_0x2e9f82,_0x1e863a)[_0x3f63('0xd')](function(_0x37cff4){logger[_0x3f63('0xe')](_0x3f63('0xf'),_0x1bcc35,'request\x20sent');logger['debug'](_0x3f63('0x10'),_0x1bcc35,'request\x20sent',JSON[_0x3f63('0x11')](_0x37cff4));if(_0x37cff4[_0x3f63('0x12')]){if(_0x37cff4[_0x3f63('0x12')][_0x3f63('0x13')]===0x1f4){logger[_0x3f63('0x12')](_0x3f63('0xf'),_0x1bcc35,_0x37cff4[_0x3f63('0x12')][_0x3f63('0x14')]);return _0x31dd01(_0x37cff4['error']['message']);}logger[_0x3f63('0x12')]('MailApplication,\x20%s,\x20%s',_0x1bcc35,_0x37cff4['error'][_0x3f63('0x14')]);return _0x3633df(_0x37cff4['error'][_0x3f63('0x14')]);}else{logger[_0x3f63('0xe')](_0x3f63('0xf'),_0x1bcc35,_0x3f63('0x15'));_0x3633df(_0x37cff4['result'][_0x3f63('0x14')]);}})['catch'](function(_0x481dc6){logger[_0x3f63('0x12')](_0x3f63('0xf'),_0x1bcc35,_0x481dc6);_0x31dd01(_0x481dc6);});});}exports['UpdateMailApplication']=function(_0x5c5325){var _0x38ec43=this;return new Promise(function(_0x1cfaf3,_0x2d64bb){return db[_0x3f63('0x16')][_0x3f63('0x17')](_0x5c5325[_0x3f63('0x18')],{'raw':_0x5c5325[_0x3f63('0x19')]?_0x5c5325[_0x3f63('0x19')][_0x3f63('0x1a')]===undefined?!![]:![]:!![],'individualHooks':!![],'where':_0x5c5325[_0x3f63('0x19')]?_0x5c5325[_0x3f63('0x19')][_0x3f63('0x1b')]||null:null,'attributes':_0x5c5325[_0x3f63('0x19')]?_0x5c5325[_0x3f63('0x19')][_0x3f63('0x1c')]||null:null,'limit':_0x5c5325[_0x3f63('0x19')]?_0x5c5325[_0x3f63('0x19')][_0x3f63('0x1d')]||null:null})[_0x3f63('0xd')](function(_0xd2d648){logger[_0x3f63('0xe')](_0x3f63('0x1e'),_0x5c5325);logger[_0x3f63('0x1f')]('UpdateMailApplication',_0x5c5325,JSON[_0x3f63('0x11')](_0xd2d648));_0x1cfaf3(_0xd2d648);})[_0x3f63('0x20')](function(_0x142c22){logger[_0x3f63('0x12')]('UpdateMailApplication',_0x142c22[_0x3f63('0x14')],_0x5c5325);_0x2d64bb(_0x38ec43[_0x3f63('0x12')](0x1f4,_0x142c22[_0x3f63('0x14')]));});});}; \ No newline at end of file diff --git a/server/api/mailInteraction/index.js b/server/api/mailInteraction/index.js index 74a7e34..a5e8f4a 100644 --- a/server/api/mailInteraction/index.js +++ b/server/api/mailInteraction/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xf032=['tracked','mailinteraction:addtags','addTags','mailinteraction:update','delete','destroy','removeTags','exports','multer','path','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./mailInteraction.controller','get','/describe','/:id','isAuthenticated','show','/:id/messages','getMessages','download','post','addMessage','/:id/tags'];(function(_0x290396,_0x17d82b){var _0x1c897a=function(_0x578d32){while(--_0x578d32){_0x290396['push'](_0x290396['shift']());}};_0x1c897a(++_0x17d82b);}(_0xf032,0x131));var _0x2f03=function(_0x5aea06,_0xcc3043){_0x5aea06=_0x5aea06-0x0;var _0x501194=_0xf032[_0x5aea06];return _0x501194;};'use strict';var multer=require(_0x2f03('0x0'));var util=require('util');var path=require(_0x2f03('0x1'));var timeout=require('connect-timeout');var express=require(_0x2f03('0x2'));var router=express[_0x2f03('0x3')]();var auth=require(_0x2f03('0x4'));var interaction=require(_0x2f03('0x5'));var config=require(_0x2f03('0x6'));var controller=require(_0x2f03('0x7'));router[_0x2f03('0x8')]('/',auth['isAuthenticated'](),controller['index']);router[_0x2f03('0x8')](_0x2f03('0x9'),auth['isAuthenticated'](),controller['describe']);router[_0x2f03('0x8')](_0x2f03('0xa'),auth[_0x2f03('0xb')](),controller[_0x2f03('0xc')]);router[_0x2f03('0x8')](_0x2f03('0xd'),auth[_0x2f03('0xb')](),controller[_0x2f03('0xe')]);router['get']('/:id/download',auth[_0x2f03('0xb')](),controller[_0x2f03('0xf')]);router[_0x2f03('0x10')]('/',auth['isAuthenticated'](),controller['create']);router[_0x2f03('0x10')](_0x2f03('0xd'),auth['isAuthenticated'](),controller[_0x2f03('0x11')]);router[_0x2f03('0x10')](_0x2f03('0x12'),auth[_0x2f03('0xb')](),interaction[_0x2f03('0x13')]('mail',_0x2f03('0x14')),controller[_0x2f03('0x15')]);router['put'](_0x2f03('0xa'),auth[_0x2f03('0xb')](),interaction[_0x2f03('0x13')]('mail',_0x2f03('0x16')),controller['update']);router[_0x2f03('0x17')](_0x2f03('0xa'),auth[_0x2f03('0xb')](),interaction['tracked']('mail','mailinteraction:destroy'),controller[_0x2f03('0x18')]);router['delete']('/:id/tags',auth[_0x2f03('0xb')](),controller[_0x2f03('0x19')]);module[_0x2f03('0x1a')]=router; \ No newline at end of file +var _0x9589=['get','isAuthenticated','index','/describe','/:id','show','/:id/messages','getMessages','/:id/download','download','post','create','mail','mailinteraction:addtags','addTags','put','tracked','update','mailinteraction:destroy','destroy','multer','util','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0x52fefd,_0xb27b05){var _0x158102=function(_0x30c5bb){while(--_0x30c5bb){_0x52fefd['push'](_0x52fefd['shift']());}};_0x158102(++_0xb27b05);}(_0x9589,0xbc));var _0x9958=function(_0x3bfb6c,_0x4fe321){_0x3bfb6c=_0x3bfb6c-0x0;var _0x36e9ce=_0x9589[_0x3bfb6c];return _0x36e9ce;};'use strict';var multer=require(_0x9958('0x0'));var util=require(_0x9958('0x1'));var path=require(_0x9958('0x2'));var timeout=require(_0x9958('0x3'));var express=require(_0x9958('0x4'));var router=express['Router']();var auth=require(_0x9958('0x5'));var interaction=require(_0x9958('0x6'));var config=require(_0x9958('0x7'));var controller=require('./mailInteraction.controller');router[_0x9958('0x8')]('/',auth[_0x9958('0x9')](),controller[_0x9958('0xa')]);router[_0x9958('0x8')](_0x9958('0xb'),auth[_0x9958('0x9')](),controller['describe']);router[_0x9958('0x8')](_0x9958('0xc'),auth[_0x9958('0x9')](),controller[_0x9958('0xd')]);router[_0x9958('0x8')](_0x9958('0xe'),auth[_0x9958('0x9')](),controller[_0x9958('0xf')]);router[_0x9958('0x8')](_0x9958('0x10'),auth[_0x9958('0x9')](),controller[_0x9958('0x11')]);router[_0x9958('0x12')]('/',auth[_0x9958('0x9')](),controller[_0x9958('0x13')]);router[_0x9958('0x12')](_0x9958('0xe'),auth[_0x9958('0x9')](),controller['addMessage']);router[_0x9958('0x12')]('/:id/tags',auth[_0x9958('0x9')](),interaction['tracked'](_0x9958('0x14'),_0x9958('0x15')),controller[_0x9958('0x16')]);router[_0x9958('0x17')]('/:id',auth[_0x9958('0x9')](),interaction[_0x9958('0x18')]('mail','mailinteraction:update'),controller[_0x9958('0x19')]);router['delete'](_0x9958('0xc'),auth[_0x9958('0x9')](),interaction[_0x9958('0x18')](_0x9958('0x14'),_0x9958('0x1a')),controller[_0x9958('0x1b')]);router['delete']('/:id/tags',auth[_0x9958('0x9')](),controller['removeTags']);module['exports']=router; \ No newline at end of file diff --git a/server/api/mailInteraction/mailInteraction.attributes.js b/server/api/mailInteraction/mailInteraction.attributes.js index fc20276..5f17253 100644 --- a/server/api/mailInteraction/mailInteraction.attributes.js +++ b/server/api/mailInteraction/mailInteraction.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x339a=['TEXT','sequelize','exports','DATE','STRING','long','BOOLEAN','ENUM','out'];(function(_0x32ff74,_0x569110){var _0x1b32e4=function(_0x4f1a49){while(--_0x4f1a49){_0x32ff74['push'](_0x32ff74['shift']());}};_0x1b32e4(++_0x569110);}(_0x339a,0xd0));var _0xa339=function(_0x1dfb17,_0x4aafb0){_0x1dfb17=_0x1dfb17-0x0;var _0x63824b=_0x339a[_0x1dfb17];return _0x63824b;};'use strict';var Sequelize=require(_0xa339('0x0'));var iconv=require('iconv');module[_0xa339('0x1')]={'closed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'closedAt':{'type':Sequelize[_0xa339('0x2')]},'disposition':{'type':Sequelize['STRING']},'note':{'type':Sequelize[_0xa339('0x3')]},'inReplyTo':{'type':Sequelize[_0xa339('0x3')](0x1fe)},'to':{'type':Sequelize[_0xa339('0x3')]},'cc':{'type':Sequelize['TEXT'](_0xa339('0x4'))},'subject':{'type':Sequelize['TEXT']()},'attach':{'type':Sequelize[_0xa339('0x5')],'defaultValue':![]},'read1stAt':{'type':Sequelize[_0xa339('0x2')]},'substatus':{'type':Sequelize['STRING'](0x3c)},'substatusAt':{'type':Sequelize[_0xa339('0x2')]},'firstMsgDirection':{'type':Sequelize[_0xa339('0x6')]('in','out'),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0xa339('0x2')]},'lastMsgDirection':{'type':Sequelize['ENUM']('in',_0xa339('0x7')),'defaultValue':'in','allowNull':![]},'lastMsgBody':{'type':Sequelize[_0xa339('0x8')](_0xa339('0x4'))},'lastMsgText':{'type':Sequelize['TEXT']('long')}}; \ No newline at end of file +var _0xda51=['ENUM','out','iconv','exports','BOOLEAN','DATE','STRING','TEXT','long'];(function(_0x20ab35,_0x3a2ce9){var _0x2f6e7b=function(_0x2e89bf){while(--_0x2e89bf){_0x20ab35['push'](_0x20ab35['shift']());}};_0x2f6e7b(++_0x3a2ce9);}(_0xda51,0x1b2));var _0x1da5=function(_0x4e0eb6,_0x240784){_0x4e0eb6=_0x4e0eb6-0x0;var _0x46e432=_0xda51[_0x4e0eb6];return _0x46e432;};'use strict';var Sequelize=require('sequelize');var iconv=require(_0x1da5('0x0'));module[_0x1da5('0x1')]={'closed':{'type':Sequelize[_0x1da5('0x2')],'defaultValue':![]},'closedAt':{'type':Sequelize[_0x1da5('0x3')]},'disposition':{'type':Sequelize['STRING']},'note':{'type':Sequelize[_0x1da5('0x4')]},'inReplyTo':{'type':Sequelize['STRING'](0x1fe)},'to':{'type':Sequelize['STRING']},'cc':{'type':Sequelize[_0x1da5('0x5')](_0x1da5('0x6'))},'subject':{'type':Sequelize['TEXT']()},'attach':{'type':Sequelize[_0x1da5('0x2')],'defaultValue':![]},'read1stAt':{'type':Sequelize['DATE']},'substatus':{'type':Sequelize[_0x1da5('0x4')](0x3c)},'substatusAt':{'type':Sequelize[_0x1da5('0x3')]},'firstMsgDirection':{'type':Sequelize[_0x1da5('0x7')]('in',_0x1da5('0x8')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0x1da5('0x3')]},'lastMsgDirection':{'type':Sequelize[_0x1da5('0x7')]('in',_0x1da5('0x8')),'defaultValue':'in','allowNull':![]},'lastMsgBody':{'type':Sequelize[_0x1da5('0x5')](_0x1da5('0x6'))},'lastMsgText':{'type':Sequelize[_0x1da5('0x5')](_0x1da5('0x6'))}}; \ No newline at end of file diff --git a/server/api/mailInteraction/mailInteraction.controller.js b/server/api/mailInteraction/mailInteraction.controller.js index 94da93d..f2f1fa7 100644 --- a/server/api/mailInteraction/mailInteraction.controller.js +++ b/server/api/mailInteraction/mailInteraction.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xa9e0=['MailInteractionId','Setting','enableEmailPreview','push','all','rows','show','params','include','merge','options','create','body','describe','addMessage','MailMessage','ids','omit','intersection','format','YYYY-MM-DD\x20HH:mm:ss','includeAll','findAll','addTags','setTags','emit','mailInteractionTags:save','removeTags','unix','root','files','tmp','server','transcript-%d-%s.zip','join','attachments','Attachment','subject','Messages','get','mkdirSync','each','headers','bcc','Attachments','basename','existsSync','readFileSync','build','writeFileSync','download','log','err','unlinkSync','html-pdf','eml-format','rimraf','request-promise','bluebird','mustache','util','path','sox','ejs','lodash','squel','desk.js','papaparse','html-to-text','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/environment','../../mysqldb','redis','defaults','localhost','./mailInteraction.socket','register','status','count','offset','limit','set','Content-Range','update','destroy','then','sendStatus','stack','name','send','Users','fullname','TagIds','Tags','split','forEach','MailInteraction','findOne','lastMsgText','trimStart','fromString','lastMsgBody','catch','index','map','rawAttributes','fieldName','model','query','keys','filters','attributes','fields','length','hasOwnProperty','nolimit','sort','where','pick','select','field','color','from','tools_tags','ui.MailInteractionId','left_join','users','u.id\x20=\x20ui.UserId','mail_interactions','cm_contacts','c.id\x20=\x20i.ContactId\x20AND\x20c.deletedAt\x20IS\x20NULL','o.id\x20=\x20i.UserId','mail_accounts','a.id\x20=\x20i.MailAccountId','me.MailInteractionId\x20=\x20i.id','t.id\x20=\x20it.TagId','expr','search','conditions','value','having','Contact','$substring','c.firstName\x20LIKE\x20?\x20OR\x20c.lastName\x20LIKE\x20?\x20OR\x20c.email\x20LIKE\x20?','find','ContactId','buildExpression','text','start','end','Tag','operator','CONCAT_WS(\x27\x20\x27,\x20o.name,\x20o.fullname)\x20LIKE\x20?','UserId','plainBody','type','some','compact','isEmpty','MailAccountId','i.MailAccountId\x20IN\x20?','concat','createdAt','parse','$gte','$lte','null','\x20IS\x20NULL','\x20=\x20?','`unreadMessages`\x20=\x200','`unreadMessages`\x20>\x200','tag','isArray','CONCAT(\x27,\x27,\x20`TagIds`,\x20\x27,\x27)\x20LIKE\x20?','filter','replace','\x27\x27\x27\x27','isNumeric','i.id\x20LIKE\x20?','isEmail','MATCH\x20(i.to,\x20i.subject)\x20AGAINST\x20(?\x20IN\x20BOOLEAN\x20MODE)','getFullTextValue','MATCH\x20(me.plainBody,\x20me.subject)\x20AGAINST\x20(?\x20IN\x20BOOLEAN\x20MODE)','group','i.id','Sequelize','QueryTypes','SELECT','clone','SUM(me.read\x20=\x200\x20AND\x20me.direction\x20=\x20\x27in\x27)','unreadMessages','order','t.id\x20IN\x20?','journey','i.MailAccountId\x20IS\x20NOT\x20NULL','user','getMailAccounts','i.MailAccountId\x20IS\x20NULL','sequelize','toString','keyBy','Account.key','a.mandatoryDisposition','Account.mandatoryDisposition','i.createdAt','i.updatedAt','i.closed','i.closedAt','i.attach','i.lastMsgAt','i.subject','i.disposition','i.substatus','i.to','i.ContactId','i.MailAccountId','i.UserId','c.firstName','Contact.firstName','c.lastName','Contact.lastName','c.email','Contact.email','c.phone','Contact.phone','c.mobile','Contact.mobile','c.fax','o.fullname','Owner.fullname','o.internal','GROUP_CONCAT(DISTINCT\x20t.id)','ui.MailInteractionId\x20IN\x20?','groupBy'];(function(_0x92200d,_0x6a1369){var _0x4ee582=function(_0x323bb4){while(--_0x323bb4){_0x92200d['push'](_0x92200d['shift']());}};_0x4ee582(++_0x6a1369);}(_0xa9e0,0x123));var _0x0a9e=function(_0x2d8fc2,_0x1c461d){_0x2d8fc2=_0x2d8fc2-0x0;var _0x3a9e53=_0xa9e0[_0x2d8fc2];return _0x3a9e53;};'use strict';var pdf=require(_0x0a9e('0x0'));var emlformat=require(_0x0a9e('0x1'));var rimraf=require(_0x0a9e('0x2'));var zipdir=require('zip-dir');var jsonpatch=require('fast-json-patch');var rp=require(_0x0a9e('0x3'));var moment=require('moment');var BPromise=require(_0x0a9e('0x4'));var Mustache=require(_0x0a9e('0x5'));var util=require(_0x0a9e('0x6'));var path=require(_0x0a9e('0x7'));var sox=require(_0x0a9e('0x8'));var csv=require('to-csv');var ejs=require(_0x0a9e('0x9'));var fs=require('fs');var _=require(_0x0a9e('0xa'));var squel=require(_0x0a9e('0xb'));var crypto=require('crypto');var jsforce=require('jsforce');var deskjs=require(_0x0a9e('0xc'));var toCsv=require('to-csv');var querystring=require('querystring');var Papa=require(_0x0a9e('0xd'));var htmlToText=require(_0x0a9e('0xe'));var Redis=require(_0x0a9e('0xf'));var authService=require(_0x0a9e('0x10'));var qs=require(_0x0a9e('0x11'));var as=require(_0x0a9e('0x12'));var hardwareService=require('../../config/license/hardware');var logger=require('../../config/logger')('api');var utils=require('../../config/utils');var config=require(_0x0a9e('0x13'));var db=require(_0x0a9e('0x14'))['db'];config[_0x0a9e('0x15')]=_[_0x0a9e('0x16')](config[_0x0a9e('0x15')],{'host':_0x0a9e('0x17'),'port':0x18eb});var socket=require('socket.io-emitter')(new Redis(config[_0x0a9e('0x15')]));require(_0x0a9e('0x18'))[_0x0a9e('0x19')](socket);function respondWithStatusCode(_0x281129,_0x44dcfd){_0x44dcfd=_0x44dcfd||0xcc;return function(_0x4d5611){if(_0x4d5611){return _0x281129['sendStatus'](_0x44dcfd);}return _0x281129[_0x0a9e('0x1a')](_0x44dcfd)['end']();};}function respondWithResult(_0x1985b6,_0x519dfd){_0x519dfd=_0x519dfd||0xc8;return function(_0x16033c){if(_0x16033c){return _0x1985b6[_0x0a9e('0x1a')](_0x519dfd)['json'](_0x16033c);}};}function respondWithFilteredResult(_0x225616,_0x5a0a06){return function(_0x459eb1){if(_0x459eb1){var _0x478723=_0x459eb1[_0x0a9e('0x1b')],_0x106033=_0x5a0a06[_0x0a9e('0x1c')],_0x205fd6=_0x5a0a06[_0x0a9e('0x1c')]+_0x5a0a06[_0x0a9e('0x1d')],_0x31b1ca;if(_0x205fd6>=_0x478723){_0x205fd6=_0x478723;_0x31b1ca=0xc8;}else{_0x31b1ca=0xce;}_0x225616[_0x0a9e('0x1a')](_0x31b1ca);return _0x225616[_0x0a9e('0x1e')](_0x0a9e('0x1f'),_0x106033+'-'+_0x205fd6+'/'+_0x478723)['json'](_0x459eb1);}return null;};}function patchUpdates(_0x2c3407){return function(_0x155cce){try{jsonpatch['apply'](_0x155cce,_0x2c3407,!![]);}catch(_0x20f109){return BPromise['reject'](_0x20f109);}return _0x155cce['save']();};}function saveUpdates(_0x3a02e1,_0x432e56){return function(_0x38e7c4){if(_0x38e7c4){return _0x38e7c4[_0x0a9e('0x20')](_0x3a02e1)['then'](function(_0xfb6e48){return _0xfb6e48;});}return null;};}function removeEntity(_0x2fb0e4,_0x3b45bc){return function(_0x4d00e6){if(_0x4d00e6){return _0x4d00e6[_0x0a9e('0x21')]()[_0x0a9e('0x22')](function(){_0x2fb0e4[_0x0a9e('0x1a')](0xcc)['end']();});}};}function handleEntityNotFound(_0x59181e,_0x197ec0){return function(_0x3a8e58){if(!_0x3a8e58){_0x59181e[_0x0a9e('0x23')](0x194);}return _0x3a8e58;};}function handleError(_0x33161b,_0x526cf3){_0x526cf3=_0x526cf3||0x1f4;return function(_0x384319){logger['error'](_0x384319[_0x0a9e('0x24')]);if(_0x384319['name']){delete _0x384319[_0x0a9e('0x25')];}_0x33161b[_0x0a9e('0x1a')](_0x526cf3)[_0x0a9e('0x26')](_0x384319);};}function getInteractionUsers(_0x14433c,_0x140511){return new BPromise(function(_0x1538a4,_0x11c3b6){try{if(_0x140511[_0x14433c['id']]){_0x14433c[_0x0a9e('0x27')]=_['map'](_0x140511[_0x14433c['id']],function(_0x3652a7){return{'id':_0x3652a7['id'],'fullname':_0x3652a7[_0x0a9e('0x28')]};});}}catch(_0x2b1f27){_0x11c3b6(_0x2b1f27);}_0x1538a4(_0x14433c);});}function getInteractionTags(_0x2ec755,_0x5c877d){return new BPromise(function(_0x15b200,_0x40e7a3){try{if(_0x2ec755[_0x0a9e('0x29')]){_0x2ec755[_0x0a9e('0x2a')]=[];_0x2ec755[_0x0a9e('0x29')][_0x0a9e('0x2b')](',')[_0x0a9e('0x2c')](function(_0x2e8759){_0x2ec755[_0x0a9e('0x2a')]['push'](_0x5c877d[_0x2e8759]);});}delete _0x2ec755[_0x0a9e('0x29')];}catch(_0x5d1e0e){_0x40e7a3(_0x5d1e0e);}_0x15b200(_0x2ec755);});}function getLastMessageText(_0x2407f9){return new BPromise(function(_0x3ae878,_0x1122db){return db[_0x0a9e('0x2d')][_0x0a9e('0x2e')]({'where':{'id':_0x2407f9['id']},'attributes':['lastMsgBody',_0x0a9e('0x2f')],'raw':!![]})[_0x0a9e('0x22')](function(_0x40cb85){if(!_0x40cb85[_0x0a9e('0x2f')]){_0x2407f9[_0x0a9e('0x2f')]=_[_0x0a9e('0x30')](htmlToText[_0x0a9e('0x31')](_0x40cb85[_0x0a9e('0x32')],{'preserveNewlines':!![],'singleNewLineParagraphs':!![],'uppercaseHeadings':![],'noLinkBrackets':!![],'ignoreImage':!![]}));}else{_0x2407f9['lastMsgText']=_0x40cb85[_0x0a9e('0x2f')];}_0x3ae878(_0x2407f9);})['catch'](function(_0x2cc7a0){_0x1122db(_0x2cc7a0);});});}function updateMailInteraction(_0x14b13f,_0x2b7e7f,_0x3f3d41,_0x567193){return new BPromise(function(_0x191e91,_0xd1836d){return getInteractionUsers(_0x14b13f,_0x3f3d41)[_0x0a9e('0x22')](function(_0x15de0e){return getInteractionTags(_0x15de0e,_0x2b7e7f);})['then'](function(_0x54135e){if(_0x567193){_0x191e91(getLastMessageText(_0x54135e));}else{_0x191e91(_0x54135e);}})[_0x0a9e('0x33')](function(_0x5640eb){_0xd1836d(_0x5640eb);});});}exports[_0x0a9e('0x34')]=function(_0x3d9717,_0x381c37){var _0x1ef87a={},_0x4f41ae={},_0x31916f={'count':0x0,'rows':[]};var _0x3bfce8=_[_0x0a9e('0x35')](db['MailInteraction'][_0x0a9e('0x36')],function(_0x1a180b){return{'name':_0x1a180b[_0x0a9e('0x37')],'type':_0x1a180b['type']['key']};});_0x4f41ae[_0x0a9e('0x38')]=_[_0x0a9e('0x35')](_0x3bfce8,'name');_0x4f41ae[_0x0a9e('0x39')]=_[_0x0a9e('0x3a')](_0x3d9717[_0x0a9e('0x39')]);_0x4f41ae[_0x0a9e('0x3b')]=_['intersection'](_0x4f41ae['model'],_0x4f41ae[_0x0a9e('0x39')]);_0x1ef87a[_0x0a9e('0x3c')]=_['intersection'](_0x4f41ae[_0x0a9e('0x38')],qs[_0x0a9e('0x3d')](_0x3d9717[_0x0a9e('0x39')]['fields']));_0x1ef87a[_0x0a9e('0x3c')]=_0x1ef87a[_0x0a9e('0x3c')][_0x0a9e('0x3e')]?_0x1ef87a[_0x0a9e('0x3c')]:_0x4f41ae[_0x0a9e('0x38')];if(!_0x3d9717[_0x0a9e('0x39')][_0x0a9e('0x3f')](_0x0a9e('0x40'))){_0x1ef87a[_0x0a9e('0x1d')]=qs[_0x0a9e('0x1d')](_0x3d9717[_0x0a9e('0x39')][_0x0a9e('0x1d')]);_0x1ef87a[_0x0a9e('0x1c')]=qs[_0x0a9e('0x1c')](_0x3d9717[_0x0a9e('0x39')]['offset']);}_0x1ef87a['order']=qs[_0x0a9e('0x41')](_0x3d9717[_0x0a9e('0x39')][_0x0a9e('0x41')]);_0x1ef87a[_0x0a9e('0x42')]=qs[_0x0a9e('0x3b')](_[_0x0a9e('0x43')](_0x3d9717[_0x0a9e('0x39')],_0x4f41ae[_0x0a9e('0x3b')]),_0x3bfce8);var _0x432fcc=[];var _0x25c6e6=squel[_0x0a9e('0x44')]()[_0x0a9e('0x45')]('id')['field'](_0x0a9e('0x25'))[_0x0a9e('0x45')](_0x0a9e('0x46'))[_0x0a9e('0x47')](_0x0a9e('0x48'));var _0xbe9d19=squel[_0x0a9e('0x44')]()[_0x0a9e('0x45')]('u.id')[_0x0a9e('0x45')]('u.fullname')[_0x0a9e('0x45')](_0x0a9e('0x49'))[_0x0a9e('0x47')]('user_has_mail_interactions','ui')[_0x0a9e('0x4a')](_0x0a9e('0x4b'),'u',_0x0a9e('0x4c'));var _0x34aa5a=squel[_0x0a9e('0x44')]()[_0x0a9e('0x47')](_0x0a9e('0x4d'),'i')['left_join'](_0x0a9e('0x4e'),'c',_0x0a9e('0x4f'))[_0x0a9e('0x4a')](_0x0a9e('0x4b'),'o',_0x0a9e('0x50'))[_0x0a9e('0x4a')](_0x0a9e('0x51'),'a',_0x0a9e('0x52'))[_0x0a9e('0x4a')]('mail_messages','me',_0x0a9e('0x53'))[_0x0a9e('0x4a')]('mail_interaction_has_tags','it','it.MailInteractionId\x20=\x20i.id')['left_join'](_0x0a9e('0x48'),'t',_0x0a9e('0x54'));var _0x37edaa=squel[_0x0a9e('0x55')]();var _0x61bb17=[];var _0x30decb=squel[_0x0a9e('0x55')]();var _0x375c18;if(_0x3d9717['query']['search']){_0x375c18=as['parseSearch'](_0x3d9717[_0x0a9e('0x39')][_0x0a9e('0x56')]);var _0x14d602=_0x375c18['sqlOperator'];for(var _0x2b69d9=0x0;_0x2b69d9<_0x375c18[_0x0a9e('0x57')]['length'];_0x2b69d9++){var _0x5a88da=_0x375c18[_0x0a9e('0x57')][_0x2b69d9];var _0x59c6ff='i';var _0x443e72=_['find'](_0x3bfce8,[_0x0a9e('0x25'),_0x5a88da[_0x0a9e('0x45')]]);if(!_0x443e72){switch(_0x5a88da[_0x0a9e('0x45')]){case'unreadMessages':if(_0x5a88da[_0x0a9e('0x58')]==0x1){_0x34aa5a[_0x0a9e('0x59')]('`'+_0x5a88da['field']+'`\x20=\x200');}else{_0x34aa5a[_0x0a9e('0x59')]('`'+_0x5a88da[_0x0a9e('0x45')]+'`\x20>\x200');}break;case _0x0a9e('0x5a'):if(_0x5a88da['operator']===_0x0a9e('0x5b')){if(_0x5a88da['value'][_0x0a9e('0x2b')]('\x20')['length']>0x1){_0x37edaa[_0x14d602]('MATCH\x20(c.firstName,\x20c.lastName,\x20c.phone,\x20c.mobile,\x20c.fax,\x20c.email)\x20AGAINST\x20(?\x20IN\x20BOOLEAN\x20MODE)',qs['getFullTextValue'](_0x5a88da[_0x0a9e('0x58')]),null);}else{var _0x47de4c='%'+_0x5a88da[_0x0a9e('0x58')]+'%';_0x37edaa[_0x14d602](_0x0a9e('0x5c'),_0x47de4c,_0x47de4c,_0x47de4c);}}else{_0x443e72=_[_0x0a9e('0x5d')](_0x3bfce8,[_0x0a9e('0x25'),_0x0a9e('0x5e')]);_0x5a88da[_0x0a9e('0x45')]=_0x0a9e('0x5e');_0x797b45=as[_0x0a9e('0x5f')](_0x59c6ff,_0x443e72['type'],_0x5a88da);_0x37edaa[_0x14d602](_0x797b45[_0x0a9e('0x60')],_0x797b45[_0x0a9e('0x58')][_0x0a9e('0x61')],_0x797b45[_0x0a9e('0x58')][_0x0a9e('0x62')]);}break;case _0x0a9e('0x63'):var _0x5d86e9=_0x5a88da[_0x0a9e('0x58')][_0x0a9e('0x2b')](',')['map'](function(_0x3649cc){return Number(_0x3649cc);});_0x5d86e9['forEach'](function(_0x20c668){_0x30decb['or']('CONCAT(\x27,\x27,\x20`TagIds`,\x20\x27,\x27)\x20LIKE\x20?','%,'+_0x20c668+',%');});_0x61bb17=_['union'](_0x61bb17,_0x5d86e9);break;case'User':if(_0x5a88da[_0x0a9e('0x64')]==='$substring'){_0x37edaa[_0x14d602](_0x0a9e('0x65'),'%'+_0x5a88da[_0x0a9e('0x58')]+'%',null);}else{_0x443e72=_[_0x0a9e('0x5d')](_0x3bfce8,[_0x0a9e('0x25'),_0x0a9e('0x66')]);_0x5a88da[_0x0a9e('0x45')]='UserId';_0x797b45=as[_0x0a9e('0x5f')](_0x59c6ff,_0x443e72['type'],_0x5a88da);_0x37edaa[_0x14d602](_0x797b45[_0x0a9e('0x60')],_0x797b45[_0x0a9e('0x58')][_0x0a9e('0x61')],_0x797b45['value'][_0x0a9e('0x62')]);}break;case _0x0a9e('0x67'):_0x797b45=as[_0x0a9e('0x5f')]('me',null,_0x5a88da);_0x37edaa[_0x14d602](_0x797b45[_0x0a9e('0x60')],_0x797b45['value'][_0x0a9e('0x61')],_0x797b45[_0x0a9e('0x58')]['end']);break;}}else{var _0x797b45=as[_0x0a9e('0x5f')](_0x59c6ff,_0x443e72[_0x0a9e('0x68')],_0x5a88da);_0x37edaa[_0x14d602](_0x797b45[_0x0a9e('0x60')],_0x797b45[_0x0a9e('0x58')]['start'],_0x797b45[_0x0a9e('0x58')][_0x0a9e('0x62')]);}}}else{var _0x281c7d=_(_0x3d9717['query'])[_0x0a9e('0x3a')]()['map'](function(_0x5211e3){return _[_0x0a9e('0x69')](_0x3bfce8,[_0x0a9e('0x25'),_0x5211e3])?_0x5211e3:undefined;})[_0x0a9e('0x6a')]()[_0x0a9e('0x58')]();if(!_[_0x0a9e('0x6b')](_0x281c7d)){_0x281c7d[_0x0a9e('0x2c')](function(_0x387489){if(_0x387489===_0x0a9e('0x6c')){_0x34aa5a[_0x0a9e('0x42')](_0x0a9e('0x6d'),[][_0x0a9e('0x6e')](_0x3d9717[_0x0a9e('0x39')][_0x387489]));}else if(_0x387489===_0x0a9e('0x6f')){var _0x2b8192=JSON[_0x0a9e('0x70')](_0x3d9717[_0x0a9e('0x39')][_0x387489])[_0x0a9e('0x71')];var _0x4257c9=JSON['parse'](_0x3d9717[_0x0a9e('0x39')][_0x387489])[_0x0a9e('0x72')];_0x34aa5a[_0x0a9e('0x42')]('i.createdAt\x20BETWEEN\x20?\x20AND\x20?',_0x2b8192,_0x4257c9);}else{if(_0x3d9717[_0x0a9e('0x39')][_0x387489]===_0x0a9e('0x73')){_0x34aa5a['where']('i.'+_0x387489+_0x0a9e('0x74'));}else{_0x34aa5a[_0x0a9e('0x42')]('i.'+_0x387489+_0x0a9e('0x75'),_0x3d9717[_0x0a9e('0x39')][_0x387489]);}}});}if(_0x3d9717[_0x0a9e('0x39')]['read']){if(_0x3d9717['query']['read']==0x1){_0x34aa5a[_0x0a9e('0x59')](_0x0a9e('0x76'));}else{_0x34aa5a[_0x0a9e('0x59')](_0x0a9e('0x77'));}}if(_0x3d9717[_0x0a9e('0x39')][_0x0a9e('0x78')]){_0x61bb17=_[_0x0a9e('0x79')](_0x3d9717[_0x0a9e('0x39')]['tag'])?_0x3d9717[_0x0a9e('0x39')][_0x0a9e('0x78')]:new Array(_0x3d9717[_0x0a9e('0x39')]['tag']);_0x61bb17[_0x0a9e('0x2c')](function(_0x583b2e){_0x30decb['or'](_0x0a9e('0x7a'),'%,'+_0x583b2e+',%');});}if(_0x3d9717[_0x0a9e('0x39')]['filter']){var _0x2ed01e=_0x3d9717[_0x0a9e('0x39')][_0x0a9e('0x7b')][_0x0a9e('0x7c')]('\x5c','\x5c\x5c')['replace']('\x27\x27',_0x0a9e('0x7d'));if(qs[_0x0a9e('0x7e')](_0x2ed01e)){_0x37edaa['or'](_0x0a9e('0x7f'),_0x2ed01e+'%');}else if(qs[_0x0a9e('0x80')](_0x2ed01e)){_0x37edaa['or']('c.email\x20LIKE\x20?',_0x2ed01e+'%');}else{_0x37edaa['or'](_0x0a9e('0x81'),qs[_0x0a9e('0x82')](_0x2ed01e))['or'](_0x0a9e('0x83'),qs[_0x0a9e('0x82')](_0x2ed01e));}}}_0x34aa5a['where'](_0x37edaa);_0x34aa5a[_0x0a9e('0x84')](_0x0a9e('0x85'));var _0x30a4c7={'type':db[_0x0a9e('0x86')][_0x0a9e('0x87')][_0x0a9e('0x88')],'raw':!![]};var _0x40fc56=_0x34aa5a[_0x0a9e('0x89')]();_0x40fc56[_0x0a9e('0x45')](_0x0a9e('0x85'));_0x40fc56[_0x0a9e('0x45')](_0x0a9e('0x8a'),_0x0a9e('0x8b'));if(_0x1ef87a[_0x0a9e('0x8c')]){_0x1ef87a['order'][_0x0a9e('0x2c')](function(_0x11da9c){_0x34aa5a[_0x0a9e('0x8c')]('i.'+_0x11da9c[0x0],_0x11da9c[0x1]==='DESC'?![]:!![]);});}if(!_[_0x0a9e('0x6b')](_0x61bb17)){_0x34aa5a[_0x0a9e('0x59')](_0x30decb);_0x40fc56[_0x0a9e('0x42')](_0x0a9e('0x8d'),_0x61bb17);}BPromise['resolve']()['then'](function(){if(!_0x375c18){if(_0x3d9717[_0x0a9e('0x39')][_0x0a9e('0x6c')]||_0x3d9717['query'][_0x0a9e('0x8e')])return;_0x40fc56['where'](_0x0a9e('0x8f'));_0x34aa5a[_0x0a9e('0x42')]('i.MailAccountId\x20IS\x20NOT\x20NULL');return;}return _0x3d9717[_0x0a9e('0x90')][_0x0a9e('0x91')]({'attributes':['id'],'raw':!![]})[_0x0a9e('0x22')](function(_0x42b959){if(_[_0x0a9e('0x6b')](_0x42b959)){_0x40fc56[_0x0a9e('0x42')](_0x0a9e('0x92'));_0x34aa5a['where'](_0x0a9e('0x92'));}else{_0x40fc56[_0x0a9e('0x42')](_0x0a9e('0x6d'),_[_0x0a9e('0x35')](_0x42b959,'id'));_0x34aa5a['where'](_0x0a9e('0x6d'),_[_0x0a9e('0x35')](_0x42b959,'id'));}});})['then'](function(){db[_0x0a9e('0x93')]['query'](_0x40fc56[_0x0a9e('0x94')](),_0x30a4c7)[_0x0a9e('0x22')](function(_0x3003eb){_0x31916f[_0x0a9e('0x1b')]=_0x3003eb['length'];if(_0x31916f['count']===0x0)return[];return db[_0x0a9e('0x93')][_0x0a9e('0x39')](_0x25c6e6[_0x0a9e('0x94')](),_0x30a4c7)['then'](function(_0x3b4a9f){_0x432fcc=_[_0x0a9e('0x95')](_0x3b4a9f,'id');_0x30a4c7=_['merge'](_0x30a4c7,{'model':db['MailInteraction'],'mapToModel':!![],'raw':!![],'nest':!![]});if(_0x3d9717[_0x0a9e('0x39')]['fields']){_0x1ef87a['attributes']['forEach'](function(_0x81d748){_0x34aa5a[_0x0a9e('0x45')]('i.'+_0x81d748);});}else{_0x34aa5a[_0x0a9e('0x45')](_0x0a9e('0x8a'),_0x0a9e('0x8b'));_0x34aa5a[_0x0a9e('0x45')]('a.key',_0x0a9e('0x96'));_0x34aa5a['field'](_0x0a9e('0x97'),_0x0a9e('0x98'));_0x34aa5a[_0x0a9e('0x45')](_0x0a9e('0x85'));_0x34aa5a['field'](_0x0a9e('0x99'));_0x34aa5a[_0x0a9e('0x45')](_0x0a9e('0x9a'));_0x34aa5a['field'](_0x0a9e('0x9b'));_0x34aa5a[_0x0a9e('0x45')](_0x0a9e('0x9c'));_0x34aa5a[_0x0a9e('0x45')](_0x0a9e('0x9d'));_0x34aa5a[_0x0a9e('0x45')](_0x0a9e('0x9e'));_0x34aa5a[_0x0a9e('0x45')]('i.lastMsgDirection');_0x34aa5a[_0x0a9e('0x45')](_0x0a9e('0x9f'));_0x34aa5a['field'](_0x0a9e('0xa0'));_0x34aa5a[_0x0a9e('0x45')](_0x0a9e('0xa1'));_0x34aa5a['field'](_0x0a9e('0xa2'));_0x34aa5a['field'](_0x0a9e('0xa3'));_0x34aa5a[_0x0a9e('0x45')](_0x0a9e('0xa4'));_0x34aa5a[_0x0a9e('0x45')](_0x0a9e('0xa5'));_0x34aa5a[_0x0a9e('0x45')](_0x0a9e('0xa6'),_0x0a9e('0xa7'));_0x34aa5a['field'](_0x0a9e('0xa8'),_0x0a9e('0xa9'));_0x34aa5a[_0x0a9e('0x45')](_0x0a9e('0xaa'),_0x0a9e('0xab'));_0x34aa5a[_0x0a9e('0x45')](_0x0a9e('0xac'),_0x0a9e('0xad'));_0x34aa5a[_0x0a9e('0x45')](_0x0a9e('0xae'),_0x0a9e('0xaf'));_0x34aa5a[_0x0a9e('0x45')](_0x0a9e('0xb0'),'Contact.fax');_0x34aa5a[_0x0a9e('0x45')](_0x0a9e('0xb1'),_0x0a9e('0xb2'));_0x34aa5a[_0x0a9e('0x45')](_0x0a9e('0xb3'),'Owner.internal');_0x34aa5a[_0x0a9e('0x45')](_0x0a9e('0xb4'),'TagIds');}if(_0x1ef87a[_0x0a9e('0x1d')])_0x34aa5a['limit'](_0x1ef87a[_0x0a9e('0x1d')]);if(_0x1ef87a[_0x0a9e('0x1c')])_0x34aa5a[_0x0a9e('0x1c')](_0x1ef87a[_0x0a9e('0x1c')]);return db['sequelize'][_0x0a9e('0x39')](_0x34aa5a['toString'](),_0x30a4c7);})[_0x0a9e('0x22')](function(_0x3d0a77){_0xbe9d19['where'](_0x0a9e('0xb5'),_[_0x0a9e('0x35')](_0x3d0a77,'id'));return db[_0x0a9e('0x93')]['query'](_0xbe9d19['toString'](),_0x30a4c7)[_0x0a9e('0x22')](function(_0x6ba2be){var _0x1707dc=_[_0x0a9e('0xb6')](_0x6ba2be,_0x0a9e('0xb7'));var _0x2450a8=[];return db[_0x0a9e('0xb8')][_0x0a9e('0x2e')]({'attributes':[_0x0a9e('0xb9')],'raw':!![]})['then'](function(_0x3156c7){var _0x517081=_0x3156c7[_0x0a9e('0xb9')];_0x3d0a77[_0x0a9e('0x2c')](function(_0x34e745){_0x2450a8[_0x0a9e('0xba')](updateMailInteraction(_0x34e745,_0x432fcc,_0x1707dc,_0x517081));});return BPromise[_0x0a9e('0xbb')](_0x2450a8);});});});})['then'](function(_0x436313){_0x31916f[_0x0a9e('0xbc')]=_0x436313;return _0x31916f;})[_0x0a9e('0x22')](respondWithFilteredResult(_0x381c37,_0x1ef87a));})[_0x0a9e('0x33')](handleError(_0x381c37,null));};exports[_0x0a9e('0xbd')]=function(_0x5c66ef,_0x4f074c){var _0x22a3cb={'raw':![],'where':{'id':_0x5c66ef[_0x0a9e('0xbe')]['id']}},_0x583662={};_0x583662[_0x0a9e('0x38')]=_[_0x0a9e('0x3a')](db[_0x0a9e('0x2d')][_0x0a9e('0x36')]);_0x583662[_0x0a9e('0x39')]=_['keys'](_0x5c66ef['query']);_0x583662[_0x0a9e('0x3b')]=_['intersection'](_0x583662[_0x0a9e('0x38')],_0x583662['query']);_0x22a3cb[_0x0a9e('0x3c')]=_['intersection'](_0x583662['model'],qs[_0x0a9e('0x3d')](_0x5c66ef[_0x0a9e('0x39')]['fields']));_0x22a3cb[_0x0a9e('0x3c')]=_0x22a3cb[_0x0a9e('0x3c')][_0x0a9e('0x3e')]?_0x22a3cb[_0x0a9e('0x3c')]:_0x583662[_0x0a9e('0x38')];if(_0x5c66ef['query']['includeAll']){_0x22a3cb[_0x0a9e('0xbf')]=[{'all':!![]}];}_0x22a3cb=_[_0x0a9e('0xc0')]({},_0x22a3cb,_0x5c66ef[_0x0a9e('0xc1')]);return db[_0x0a9e('0x2d')][_0x0a9e('0x5d')](_0x22a3cb)['then'](handleEntityNotFound(_0x4f074c,null))[_0x0a9e('0x22')](respondWithResult(_0x4f074c,null))[_0x0a9e('0x33')](handleError(_0x4f074c,null));};exports['create']=function(_0x3c313d,_0x19fd11){return db[_0x0a9e('0x2d')][_0x0a9e('0xc2')](_0x3c313d[_0x0a9e('0xc3')],{})[_0x0a9e('0x22')](respondWithResult(_0x19fd11,0xc9))[_0x0a9e('0x33')](handleError(_0x19fd11,null));};exports[_0x0a9e('0x20')]=function(_0x40dd2a,_0x16afb3){if(_0x40dd2a['body']['id']){delete _0x40dd2a[_0x0a9e('0xc3')]['id'];}return db[_0x0a9e('0x2d')][_0x0a9e('0x5d')]({'where':{'id':_0x40dd2a[_0x0a9e('0xbe')]['id']}})[_0x0a9e('0x22')](handleEntityNotFound(_0x16afb3,null))['then'](saveUpdates(_0x40dd2a['body'],null))[_0x0a9e('0x22')](respondWithResult(_0x16afb3,null))[_0x0a9e('0x33')](handleError(_0x16afb3,null));};exports[_0x0a9e('0x21')]=function(_0x2fea95,_0x34f7b5){return db['MailInteraction'][_0x0a9e('0x5d')]({'where':{'id':_0x2fea95[_0x0a9e('0xbe')]['id']}})[_0x0a9e('0x22')](handleEntityNotFound(_0x34f7b5,null))['then'](removeEntity(_0x34f7b5,null))[_0x0a9e('0x33')](handleError(_0x34f7b5,null));};exports['describe']=function(_0x2144ca,_0x4799d4){return db[_0x0a9e('0x2d')][_0x0a9e('0xc4')]()[_0x0a9e('0x22')](respondWithResult(_0x4799d4,null))['catch'](handleError(_0x4799d4,null));};exports[_0x0a9e('0xc5')]=function(_0x5ed560,_0x4383da,_0x2b1824){return db[_0x0a9e('0xc6')][_0x0a9e('0x5d')]({'where':{'id':_0x5ed560[_0x0a9e('0xbe')]['id']}})[_0x0a9e('0x22')](handleEntityNotFound(_0x4383da,null))[_0x0a9e('0x22')](function(_0xe89aaa){if(_0xe89aaa){return _0xe89aaa[_0x0a9e('0xc5')](_0x5ed560[_0x0a9e('0xc3')][_0x0a9e('0xc7')],_[_0x0a9e('0xc8')](_0x5ed560[_0x0a9e('0xc3')],[_0x0a9e('0xc7'),'id'])||{});}})[_0x0a9e('0x22')](respondWithResult(_0x4383da,null))[_0x0a9e('0x33')](handleError(_0x4383da,null));};exports['getMessages']=function(_0x556443,_0x6eaaf0,_0x5c4be0){var _0x1d999b={'raw':![],'where':{}};var _0x3428c9={};var _0x5d6b69={'count':0x0,'rows':[]};return db[_0x0a9e('0x2d')][_0x0a9e('0x2e')]({'where':{'id':_0x556443[_0x0a9e('0xbe')]['id']}})[_0x0a9e('0x22')](handleEntityNotFound(_0x6eaaf0,null))['then'](function(_0x148fd9){if(_0x148fd9){_0x3428c9[_0x0a9e('0x38')]=_[_0x0a9e('0x3a')](db[_0x0a9e('0xc6')]['rawAttributes']);_0x3428c9[_0x0a9e('0x39')]=_[_0x0a9e('0x3a')](_0x556443[_0x0a9e('0x39')]);_0x3428c9['filters']=_[_0x0a9e('0xc9')](_0x3428c9[_0x0a9e('0x38')],_0x3428c9[_0x0a9e('0x39')]);_0x1d999b['attributes']=_[_0x0a9e('0xc9')](_0x3428c9[_0x0a9e('0x38')],qs[_0x0a9e('0x3d')](_0x556443[_0x0a9e('0x39')][_0x0a9e('0x3d')]));_0x1d999b['attributes']=_0x1d999b[_0x0a9e('0x3c')][_0x0a9e('0x3e')]?_0x1d999b['attributes']:_0x3428c9[_0x0a9e('0x38')];if(!_0x556443[_0x0a9e('0x39')][_0x0a9e('0x3f')]('nolimit')){_0x1d999b['limit']=qs['limit'](_0x556443[_0x0a9e('0x39')][_0x0a9e('0x1d')]);_0x1d999b['offset']=qs[_0x0a9e('0x1c')](_0x556443[_0x0a9e('0x39')][_0x0a9e('0x1c')]);}_0x1d999b['order']=qs[_0x0a9e('0x41')](_0x556443[_0x0a9e('0x39')][_0x0a9e('0x41')]);_0x1d999b[_0x0a9e('0x42')]=qs[_0x0a9e('0x3b')](_[_0x0a9e('0x43')](_0x556443[_0x0a9e('0x39')],_0x3428c9[_0x0a9e('0x3b')]));_0x1d999b[_0x0a9e('0x42')]['MailInteractionId']=_0x148fd9['id'];if(_0x556443[_0x0a9e('0x39')]['filter']){_0x1d999b[_0x0a9e('0x42')]=_[_0x0a9e('0xc0')](_0x1d999b[_0x0a9e('0x42')],{'$or':_[_0x0a9e('0x35')](_0x1d999b[_0x0a9e('0x3c')],function(_0x344cd4){var _0x53d9fc={};_0x53d9fc[_0x344cd4]={'$like':'%'+_0x556443[_0x0a9e('0x39')][_0x0a9e('0x7b')]+'%'};return _0x53d9fc;})});}if(_0x556443[_0x0a9e('0x39')][_0x0a9e('0x71')]){var _0x51aa2f=_0x556443[_0x0a9e('0x39')][_0x0a9e('0x71')][_0x0a9e('0x2b')](',');var _0x1c9539={};_0x1c9539[_0x51aa2f[0x0]]={'$gte':moment(_0x51aa2f[0x1])[_0x0a9e('0xca')](_0x0a9e('0xcb'))};_0x1d999b[_0x0a9e('0x42')]=_[_0x0a9e('0xc0')](_0x1d999b[_0x0a9e('0x42')],_0x1c9539);}_0x1d999b=_[_0x0a9e('0xc0')]({},_0x1d999b,_0x556443['options']);return db[_0x0a9e('0xc6')][_0x0a9e('0x1b')]({'where':_0x1d999b[_0x0a9e('0x42')]})[_0x0a9e('0x22')](function(_0xea8bd1){_0x5d6b69[_0x0a9e('0x1b')]=_0xea8bd1;if(_0x556443[_0x0a9e('0x39')][_0x0a9e('0xcc')]){_0x1d999b['include']=[{'all':!![]}];}return db[_0x0a9e('0xc6')][_0x0a9e('0xcd')](_0x1d999b);})[_0x0a9e('0x22')](function(_0x5c65fc){_0x5d6b69[_0x0a9e('0xbc')]=_0x5c65fc;return _0x5d6b69;});}})[_0x0a9e('0x22')](respondWithFilteredResult(_0x6eaaf0,_0x1d999b))[_0x0a9e('0x33')](handleError(_0x6eaaf0,null));};exports[_0x0a9e('0xce')]=function(_0x370b5e,_0x1ba457,_0x424f1b){return db[_0x0a9e('0x2d')][_0x0a9e('0x5d')]({'where':{'id':_0x370b5e[_0x0a9e('0xbe')]['id']}})['then'](handleEntityNotFound(_0x1ba457,null))[_0x0a9e('0x22')](function(_0x446e6){if(_0x446e6){return _0x446e6[_0x0a9e('0xcf')](_0x370b5e[_0x0a9e('0xc3')][_0x0a9e('0xc7')],_[_0x0a9e('0xc8')](_0x370b5e['body'],[_0x0a9e('0xc7'),'id'])||{})['spread'](function(){return db['Tag']['findAll']({'attributes':['id',_0x0a9e('0x25'),_0x0a9e('0x46')],'where':{'id':_0x370b5e[_0x0a9e('0xc3')][_0x0a9e('0xc7')]}});})['then'](function(_0x4156a5){socket[_0x0a9e('0xd0')](_0x0a9e('0xd1'),{'id':Number(_0x370b5e[_0x0a9e('0xbe')]['id']),'tags':_0x4156a5||[]});return{'id':Number(_0x370b5e[_0x0a9e('0xbe')]['id']),'tags':_0x4156a5||[]};});}})['then'](respondWithResult(_0x1ba457,null))['catch'](handleError(_0x1ba457,null));};exports[_0x0a9e('0xd2')]=function(_0x33bcb2,_0x2a293f,_0x5e85d0){return db[_0x0a9e('0x2d')][_0x0a9e('0x5d')]({'where':{'id':_0x33bcb2[_0x0a9e('0xbe')]['id']}})['then'](handleEntityNotFound(_0x2a293f,null))[_0x0a9e('0x22')](function(_0x2bf85d){if(_0x2bf85d){return _0x2bf85d[_0x0a9e('0xd2')](_0x33bcb2['query'][_0x0a9e('0xc7')]);}})[_0x0a9e('0x22')](respondWithStatusCode(_0x2a293f,null))[_0x0a9e('0x33')](handleError(_0x2a293f,null));};exports['download']=function(_0x549697,_0x53ef46){var _0x3b04fd=moment()[_0x0a9e('0xd3')]()[_0x0a9e('0x94')]();var _0x26931c=path['join'](config[_0x0a9e('0xd4')],'server',_0x0a9e('0xd5'),_0x0a9e('0xd6'));var _0x242f23=path['join'](config[_0x0a9e('0xd4')],_0x0a9e('0xd7'),_0x0a9e('0xd5'),'attachments');var _0x40eb5d=path['join'](_0x26931c,_0x3b04fd);var _0x1b637c=util['format'](_0x0a9e('0xd8'),_0x549697['params']['id'],_0x3b04fd);var _0xb14971=path[_0x0a9e('0xd9')](_0x26931c,_0x1b637c);var _0xa288e4=[];if(_0x549697[_0x0a9e('0x39')][_0x0a9e('0xda')]){_0xa288e4[_0x0a9e('0xba')]({'model':db[_0x0a9e('0xdb')],'as':'Attachments','raw':!![]});}var _0x35ace3=[{'model':db[_0x0a9e('0xc6')],'as':'Messages','attributes':['id',_0x0a9e('0xc3'),_0x0a9e('0x47'),'to','cc','bcc',_0x0a9e('0xdc'),_0x0a9e('0x6f')],'where':{'secret':![]},'order':qs[_0x0a9e('0x41')]('id'),'include':_0xa288e4}];return db['MailInteraction'][_0x0a9e('0x5d')]({'where':{'id':_0x549697[_0x0a9e('0xbe')]['id']},'include':_0x35ace3})[_0x0a9e('0x22')](handleEntityNotFound(_0x53ef46,null))[_0x0a9e('0x22')](function(_0x2003bc){if(_0x2003bc&&_0x2003bc[_0x0a9e('0xdd')]){var _0x3ba897=_0x2003bc[_0x0a9e('0xde')]({'plain':!![]});fs[_0x0a9e('0xdf')](_0x40eb5d);return BPromise[_0x0a9e('0xe0')](_0x3ba897['Messages'],function(_0x1799d8,_0x53c7de){var _0x3c9854={'from':_0x1799d8[_0x0a9e('0x47')],'to':_0x1799d8['to'],'subject':_0x1799d8[_0x0a9e('0xdc')],'html':_0x1799d8[_0x0a9e('0xc3')],'headers':{'Date':moment(_0x1799d8[_0x0a9e('0x6f')])[_0x0a9e('0xca')]('ddd,\x20DD\x20MMM\x20YYYY\x20HH:mm:ss\x20ZZ')},'attachments':[]};if(_0x1799d8['cc']){_0x3c9854[_0x0a9e('0xe1')]['Cc']=_0x1799d8['cc'];}if(_0x1799d8[_0x0a9e('0xe2')]){_0x3c9854[_0x0a9e('0xe1')]['Bcc']=_0x1799d8[_0x0a9e('0xe2')];}return new BPromise(function(_0x402544,_0x4435d2){if(_0x1799d8[_0x0a9e('0xe3')]){for(var _0x31e1e0=0x0;_0x31e1e0<_0x1799d8[_0x0a9e('0xe3')][_0x0a9e('0x3e')];_0x31e1e0++){var _0x5f2c51=_0x1799d8[_0x0a9e('0xe3')][_0x31e1e0];var _0x228c10=path[_0x0a9e('0xd9')](_0x242f23,_0x5f2c51[_0x0a9e('0xe4')]);if(fs[_0x0a9e('0xe5')](_0x228c10)){_0x3c9854[_0x0a9e('0xda')][_0x0a9e('0xba')]({'name':_0x5f2c51['name'],'contentType':_0x5f2c51['type'],'data':fs[_0x0a9e('0xe6')](_0x228c10)});}}}emlformat[_0x0a9e('0xe7')](_0x3c9854,function(_0x1f4929,_0x1bf692){if(_0x1f4929)return _0x4435d2(_0x1f4929);fs[_0x0a9e('0xe8')](path[_0x0a9e('0xd9')](_0x40eb5d,util[_0x0a9e('0xca')]('message%d.eml',_0x53c7de)),_0x1bf692);return _0x402544(_0x1bf692);});});})[_0x0a9e('0x22')](function(){return new BPromise(function(_0x1d7fc4,_0x2d8e91){zipdir(_0x40eb5d,{'saveTo':_0xb14971},function(_0x2675a5,_0x1b1757){if(_0x2675a5)return _0x2d8e91(_0x2675a5);return _0x1d7fc4(_0x1b1757);});})[_0x0a9e('0x22')](function(){return new BPromise(function(_0x16be7e,_0x54f0b8){rimraf(_0x40eb5d,function(_0x311288){if(_0x311288)_0x54f0b8(_0x311288);return _0x16be7e();});});})[_0x0a9e('0x22')](function(){return _0x53ef46[_0x0a9e('0xe9')](_0xb14971,_0x1b637c,function(_0x5885c3){if(_0x5885c3){console[_0x0a9e('0xea')](_0x0a9e('0xeb'),_0x5885c3);}else{fs[_0x0a9e('0xec')](_0xb14971);}});});});}else{return _0x53ef46[_0x0a9e('0x23')](0xc8);}})['catch'](handleError(_0x53ef46,null));}; \ No newline at end of file +var _0xa9e0=['MailInteractionId','Setting','enableEmailPreview','push','all','rows','show','params','include','merge','options','create','body','describe','addMessage','MailMessage','ids','omit','intersection','format','YYYY-MM-DD\x20HH:mm:ss','includeAll','findAll','addTags','setTags','emit','mailInteractionTags:save','removeTags','unix','root','files','tmp','server','transcript-%d-%s.zip','join','attachments','Attachment','subject','Messages','get','mkdirSync','each','headers','bcc','Attachments','basename','existsSync','readFileSync','build','writeFileSync','download','log','err','unlinkSync','html-pdf','eml-format','rimraf','request-promise','bluebird','mustache','util','path','sox','ejs','lodash','squel','desk.js','papaparse','html-to-text','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/environment','../../mysqldb','redis','defaults','localhost','./mailInteraction.socket','register','status','count','offset','limit','set','Content-Range','update','destroy','then','sendStatus','stack','name','send','Users','fullname','TagIds','Tags','split','forEach','MailInteraction','findOne','lastMsgText','trimStart','fromString','lastMsgBody','catch','index','map','rawAttributes','fieldName','model','query','keys','filters','attributes','fields','length','hasOwnProperty','nolimit','sort','where','pick','select','field','color','from','tools_tags','ui.MailInteractionId','left_join','users','u.id\x20=\x20ui.UserId','mail_interactions','cm_contacts','c.id\x20=\x20i.ContactId\x20AND\x20c.deletedAt\x20IS\x20NULL','o.id\x20=\x20i.UserId','mail_accounts','a.id\x20=\x20i.MailAccountId','me.MailInteractionId\x20=\x20i.id','t.id\x20=\x20it.TagId','expr','search','conditions','value','having','Contact','$substring','c.firstName\x20LIKE\x20?\x20OR\x20c.lastName\x20LIKE\x20?\x20OR\x20c.email\x20LIKE\x20?','find','ContactId','buildExpression','text','start','end','Tag','operator','CONCAT_WS(\x27\x20\x27,\x20o.name,\x20o.fullname)\x20LIKE\x20?','UserId','plainBody','type','some','compact','isEmpty','MailAccountId','i.MailAccountId\x20IN\x20?','concat','createdAt','parse','$gte','$lte','null','\x20IS\x20NULL','\x20=\x20?','`unreadMessages`\x20=\x200','`unreadMessages`\x20>\x200','tag','isArray','CONCAT(\x27,\x27,\x20`TagIds`,\x20\x27,\x27)\x20LIKE\x20?','filter','replace','\x27\x27\x27\x27','isNumeric','i.id\x20LIKE\x20?','isEmail','MATCH\x20(i.to,\x20i.subject)\x20AGAINST\x20(?\x20IN\x20BOOLEAN\x20MODE)','getFullTextValue','MATCH\x20(me.plainBody,\x20me.subject)\x20AGAINST\x20(?\x20IN\x20BOOLEAN\x20MODE)','group','i.id','Sequelize','QueryTypes','SELECT','clone','SUM(me.read\x20=\x200\x20AND\x20me.direction\x20=\x20\x27in\x27)','unreadMessages','order','t.id\x20IN\x20?','journey','i.MailAccountId\x20IS\x20NOT\x20NULL','user','getMailAccounts','i.MailAccountId\x20IS\x20NULL','sequelize','toString','keyBy','Account.key','a.mandatoryDisposition','Account.mandatoryDisposition','i.createdAt','i.updatedAt','i.closed','i.closedAt','i.attach','i.lastMsgAt','i.subject','i.disposition','i.substatus','i.to','i.ContactId','i.MailAccountId','i.UserId','c.firstName','Contact.firstName','c.lastName','Contact.lastName','c.email','Contact.email','c.phone','Contact.phone','c.mobile','Contact.mobile','c.fax','o.fullname','Owner.fullname','o.internal','GROUP_CONCAT(DISTINCT\x20t.id)','ui.MailInteractionId\x20IN\x20?','groupBy'];(function(_0x507e13,_0xd17f17){var _0x5aff7c=function(_0x17978e){while(--_0x17978e){_0x507e13['push'](_0x507e13['shift']());}};_0x5aff7c(++_0xd17f17);}(_0xa9e0,0x123));var _0x0a9e=function(_0xbca1b1,_0x33f0ce){_0xbca1b1=_0xbca1b1-0x0;var _0x4e1686=_0xa9e0[_0xbca1b1];return _0x4e1686;};'use strict';var pdf=require(_0x0a9e('0x0'));var emlformat=require(_0x0a9e('0x1'));var rimraf=require(_0x0a9e('0x2'));var zipdir=require('zip-dir');var jsonpatch=require('fast-json-patch');var rp=require(_0x0a9e('0x3'));var moment=require('moment');var BPromise=require(_0x0a9e('0x4'));var Mustache=require(_0x0a9e('0x5'));var util=require(_0x0a9e('0x6'));var path=require(_0x0a9e('0x7'));var sox=require(_0x0a9e('0x8'));var csv=require('to-csv');var ejs=require(_0x0a9e('0x9'));var fs=require('fs');var _=require(_0x0a9e('0xa'));var squel=require(_0x0a9e('0xb'));var crypto=require('crypto');var jsforce=require('jsforce');var deskjs=require(_0x0a9e('0xc'));var toCsv=require('to-csv');var querystring=require('querystring');var Papa=require(_0x0a9e('0xd'));var htmlToText=require(_0x0a9e('0xe'));var Redis=require(_0x0a9e('0xf'));var authService=require(_0x0a9e('0x10'));var qs=require(_0x0a9e('0x11'));var as=require(_0x0a9e('0x12'));var hardwareService=require('../../config/license/hardware');var logger=require('../../config/logger')('api');var utils=require('../../config/utils');var config=require(_0x0a9e('0x13'));var db=require(_0x0a9e('0x14'))['db'];config[_0x0a9e('0x15')]=_[_0x0a9e('0x16')](config[_0x0a9e('0x15')],{'host':_0x0a9e('0x17'),'port':0x18eb});var socket=require('socket.io-emitter')(new Redis(config[_0x0a9e('0x15')]));require(_0x0a9e('0x18'))[_0x0a9e('0x19')](socket);function respondWithStatusCode(_0x281129,_0x44dcfd){_0x44dcfd=_0x44dcfd||0xcc;return function(_0x4d5611){if(_0x4d5611){return _0x281129['sendStatus'](_0x44dcfd);}return _0x281129[_0x0a9e('0x1a')](_0x44dcfd)['end']();};}function respondWithResult(_0x1985b6,_0x519dfd){_0x519dfd=_0x519dfd||0xc8;return function(_0x16033c){if(_0x16033c){return _0x1985b6[_0x0a9e('0x1a')](_0x519dfd)['json'](_0x16033c);}};}function respondWithFilteredResult(_0x225616,_0x5a0a06){return function(_0x459eb1){if(_0x459eb1){var _0x478723=_0x459eb1[_0x0a9e('0x1b')],_0x106033=_0x5a0a06[_0x0a9e('0x1c')],_0x205fd6=_0x5a0a06[_0x0a9e('0x1c')]+_0x5a0a06[_0x0a9e('0x1d')],_0x31b1ca;if(_0x205fd6>=_0x478723){_0x205fd6=_0x478723;_0x31b1ca=0xc8;}else{_0x31b1ca=0xce;}_0x225616[_0x0a9e('0x1a')](_0x31b1ca);return _0x225616[_0x0a9e('0x1e')](_0x0a9e('0x1f'),_0x106033+'-'+_0x205fd6+'/'+_0x478723)['json'](_0x459eb1);}return null;};}function patchUpdates(_0x2c3407){return function(_0x155cce){try{jsonpatch['apply'](_0x155cce,_0x2c3407,!![]);}catch(_0x20f109){return BPromise['reject'](_0x20f109);}return _0x155cce['save']();};}function saveUpdates(_0x3a02e1,_0x432e56){return function(_0x38e7c4){if(_0x38e7c4){return _0x38e7c4[_0x0a9e('0x20')](_0x3a02e1)['then'](function(_0xfb6e48){return _0xfb6e48;});}return null;};}function removeEntity(_0x2fb0e4,_0x3b45bc){return function(_0x4d00e6){if(_0x4d00e6){return _0x4d00e6[_0x0a9e('0x21')]()[_0x0a9e('0x22')](function(){_0x2fb0e4[_0x0a9e('0x1a')](0xcc)['end']();});}};}function handleEntityNotFound(_0x59181e,_0x197ec0){return function(_0x3a8e58){if(!_0x3a8e58){_0x59181e[_0x0a9e('0x23')](0x194);}return _0x3a8e58;};}function handleError(_0x33161b,_0x526cf3){_0x526cf3=_0x526cf3||0x1f4;return function(_0x384319){logger['error'](_0x384319[_0x0a9e('0x24')]);if(_0x384319['name']){delete _0x384319[_0x0a9e('0x25')];}_0x33161b[_0x0a9e('0x1a')](_0x526cf3)[_0x0a9e('0x26')](_0x384319);};}function getInteractionUsers(_0x14433c,_0x140511){return new BPromise(function(_0x1538a4,_0x11c3b6){try{if(_0x140511[_0x14433c['id']]){_0x14433c[_0x0a9e('0x27')]=_['map'](_0x140511[_0x14433c['id']],function(_0x3652a7){return{'id':_0x3652a7['id'],'fullname':_0x3652a7[_0x0a9e('0x28')]};});}}catch(_0x2b1f27){_0x11c3b6(_0x2b1f27);}_0x1538a4(_0x14433c);});}function getInteractionTags(_0x2ec755,_0x5c877d){return new BPromise(function(_0x15b200,_0x40e7a3){try{if(_0x2ec755[_0x0a9e('0x29')]){_0x2ec755[_0x0a9e('0x2a')]=[];_0x2ec755[_0x0a9e('0x29')][_0x0a9e('0x2b')](',')[_0x0a9e('0x2c')](function(_0x2e8759){_0x2ec755[_0x0a9e('0x2a')]['push'](_0x5c877d[_0x2e8759]);});}delete _0x2ec755[_0x0a9e('0x29')];}catch(_0x5d1e0e){_0x40e7a3(_0x5d1e0e);}_0x15b200(_0x2ec755);});}function getLastMessageText(_0x2407f9){return new BPromise(function(_0x3ae878,_0x1122db){return db[_0x0a9e('0x2d')][_0x0a9e('0x2e')]({'where':{'id':_0x2407f9['id']},'attributes':['lastMsgBody',_0x0a9e('0x2f')],'raw':!![]})[_0x0a9e('0x22')](function(_0x40cb85){if(!_0x40cb85[_0x0a9e('0x2f')]){_0x2407f9[_0x0a9e('0x2f')]=_[_0x0a9e('0x30')](htmlToText[_0x0a9e('0x31')](_0x40cb85[_0x0a9e('0x32')],{'preserveNewlines':!![],'singleNewLineParagraphs':!![],'uppercaseHeadings':![],'noLinkBrackets':!![],'ignoreImage':!![]}));}else{_0x2407f9['lastMsgText']=_0x40cb85[_0x0a9e('0x2f')];}_0x3ae878(_0x2407f9);})['catch'](function(_0x2cc7a0){_0x1122db(_0x2cc7a0);});});}function updateMailInteraction(_0x14b13f,_0x2b7e7f,_0x3f3d41,_0x567193){return new BPromise(function(_0x191e91,_0xd1836d){return getInteractionUsers(_0x14b13f,_0x3f3d41)[_0x0a9e('0x22')](function(_0x15de0e){return getInteractionTags(_0x15de0e,_0x2b7e7f);})['then'](function(_0x54135e){if(_0x567193){_0x191e91(getLastMessageText(_0x54135e));}else{_0x191e91(_0x54135e);}})[_0x0a9e('0x33')](function(_0x5640eb){_0xd1836d(_0x5640eb);});});}exports[_0x0a9e('0x34')]=function(_0x3d9717,_0x381c37){var _0x1ef87a={},_0x4f41ae={},_0x31916f={'count':0x0,'rows':[]};var _0x3bfce8=_[_0x0a9e('0x35')](db['MailInteraction'][_0x0a9e('0x36')],function(_0x1a180b){return{'name':_0x1a180b[_0x0a9e('0x37')],'type':_0x1a180b['type']['key']};});_0x4f41ae[_0x0a9e('0x38')]=_[_0x0a9e('0x35')](_0x3bfce8,'name');_0x4f41ae[_0x0a9e('0x39')]=_[_0x0a9e('0x3a')](_0x3d9717[_0x0a9e('0x39')]);_0x4f41ae[_0x0a9e('0x3b')]=_['intersection'](_0x4f41ae['model'],_0x4f41ae[_0x0a9e('0x39')]);_0x1ef87a[_0x0a9e('0x3c')]=_['intersection'](_0x4f41ae[_0x0a9e('0x38')],qs[_0x0a9e('0x3d')](_0x3d9717[_0x0a9e('0x39')]['fields']));_0x1ef87a[_0x0a9e('0x3c')]=_0x1ef87a[_0x0a9e('0x3c')][_0x0a9e('0x3e')]?_0x1ef87a[_0x0a9e('0x3c')]:_0x4f41ae[_0x0a9e('0x38')];if(!_0x3d9717[_0x0a9e('0x39')][_0x0a9e('0x3f')](_0x0a9e('0x40'))){_0x1ef87a[_0x0a9e('0x1d')]=qs[_0x0a9e('0x1d')](_0x3d9717[_0x0a9e('0x39')][_0x0a9e('0x1d')]);_0x1ef87a[_0x0a9e('0x1c')]=qs[_0x0a9e('0x1c')](_0x3d9717[_0x0a9e('0x39')]['offset']);}_0x1ef87a['order']=qs[_0x0a9e('0x41')](_0x3d9717[_0x0a9e('0x39')][_0x0a9e('0x41')]);_0x1ef87a[_0x0a9e('0x42')]=qs[_0x0a9e('0x3b')](_[_0x0a9e('0x43')](_0x3d9717[_0x0a9e('0x39')],_0x4f41ae[_0x0a9e('0x3b')]),_0x3bfce8);var _0x432fcc=[];var _0x25c6e6=squel[_0x0a9e('0x44')]()[_0x0a9e('0x45')]('id')['field'](_0x0a9e('0x25'))[_0x0a9e('0x45')](_0x0a9e('0x46'))[_0x0a9e('0x47')](_0x0a9e('0x48'));var _0xbe9d19=squel[_0x0a9e('0x44')]()[_0x0a9e('0x45')]('u.id')[_0x0a9e('0x45')]('u.fullname')[_0x0a9e('0x45')](_0x0a9e('0x49'))[_0x0a9e('0x47')]('user_has_mail_interactions','ui')[_0x0a9e('0x4a')](_0x0a9e('0x4b'),'u',_0x0a9e('0x4c'));var _0x34aa5a=squel[_0x0a9e('0x44')]()[_0x0a9e('0x47')](_0x0a9e('0x4d'),'i')['left_join'](_0x0a9e('0x4e'),'c',_0x0a9e('0x4f'))[_0x0a9e('0x4a')](_0x0a9e('0x4b'),'o',_0x0a9e('0x50'))[_0x0a9e('0x4a')](_0x0a9e('0x51'),'a',_0x0a9e('0x52'))[_0x0a9e('0x4a')]('mail_messages','me',_0x0a9e('0x53'))[_0x0a9e('0x4a')]('mail_interaction_has_tags','it','it.MailInteractionId\x20=\x20i.id')['left_join'](_0x0a9e('0x48'),'t',_0x0a9e('0x54'));var _0x37edaa=squel[_0x0a9e('0x55')]();var _0x61bb17=[];var _0x30decb=squel[_0x0a9e('0x55')]();var _0x375c18;if(_0x3d9717['query']['search']){_0x375c18=as['parseSearch'](_0x3d9717[_0x0a9e('0x39')][_0x0a9e('0x56')]);var _0x14d602=_0x375c18['sqlOperator'];for(var _0x2b69d9=0x0;_0x2b69d9<_0x375c18[_0x0a9e('0x57')]['length'];_0x2b69d9++){var _0x5a88da=_0x375c18[_0x0a9e('0x57')][_0x2b69d9];var _0x59c6ff='i';var _0x443e72=_['find'](_0x3bfce8,[_0x0a9e('0x25'),_0x5a88da[_0x0a9e('0x45')]]);if(!_0x443e72){switch(_0x5a88da[_0x0a9e('0x45')]){case'unreadMessages':if(_0x5a88da[_0x0a9e('0x58')]==0x1){_0x34aa5a[_0x0a9e('0x59')]('`'+_0x5a88da['field']+'`\x20=\x200');}else{_0x34aa5a[_0x0a9e('0x59')]('`'+_0x5a88da[_0x0a9e('0x45')]+'`\x20>\x200');}break;case _0x0a9e('0x5a'):if(_0x5a88da['operator']===_0x0a9e('0x5b')){if(_0x5a88da['value'][_0x0a9e('0x2b')]('\x20')['length']>0x1){_0x37edaa[_0x14d602]('MATCH\x20(c.firstName,\x20c.lastName,\x20c.phone,\x20c.mobile,\x20c.fax,\x20c.email)\x20AGAINST\x20(?\x20IN\x20BOOLEAN\x20MODE)',qs['getFullTextValue'](_0x5a88da[_0x0a9e('0x58')]),null);}else{var _0x47de4c='%'+_0x5a88da[_0x0a9e('0x58')]+'%';_0x37edaa[_0x14d602](_0x0a9e('0x5c'),_0x47de4c,_0x47de4c,_0x47de4c);}}else{_0x443e72=_[_0x0a9e('0x5d')](_0x3bfce8,[_0x0a9e('0x25'),_0x0a9e('0x5e')]);_0x5a88da[_0x0a9e('0x45')]=_0x0a9e('0x5e');_0x797b45=as[_0x0a9e('0x5f')](_0x59c6ff,_0x443e72['type'],_0x5a88da);_0x37edaa[_0x14d602](_0x797b45[_0x0a9e('0x60')],_0x797b45[_0x0a9e('0x58')][_0x0a9e('0x61')],_0x797b45[_0x0a9e('0x58')][_0x0a9e('0x62')]);}break;case _0x0a9e('0x63'):var _0x5d86e9=_0x5a88da[_0x0a9e('0x58')][_0x0a9e('0x2b')](',')['map'](function(_0x3649cc){return Number(_0x3649cc);});_0x5d86e9['forEach'](function(_0x20c668){_0x30decb['or']('CONCAT(\x27,\x27,\x20`TagIds`,\x20\x27,\x27)\x20LIKE\x20?','%,'+_0x20c668+',%');});_0x61bb17=_['union'](_0x61bb17,_0x5d86e9);break;case'User':if(_0x5a88da[_0x0a9e('0x64')]==='$substring'){_0x37edaa[_0x14d602](_0x0a9e('0x65'),'%'+_0x5a88da[_0x0a9e('0x58')]+'%',null);}else{_0x443e72=_[_0x0a9e('0x5d')](_0x3bfce8,[_0x0a9e('0x25'),_0x0a9e('0x66')]);_0x5a88da[_0x0a9e('0x45')]='UserId';_0x797b45=as[_0x0a9e('0x5f')](_0x59c6ff,_0x443e72['type'],_0x5a88da);_0x37edaa[_0x14d602](_0x797b45[_0x0a9e('0x60')],_0x797b45[_0x0a9e('0x58')][_0x0a9e('0x61')],_0x797b45['value'][_0x0a9e('0x62')]);}break;case _0x0a9e('0x67'):_0x797b45=as[_0x0a9e('0x5f')]('me',null,_0x5a88da);_0x37edaa[_0x14d602](_0x797b45[_0x0a9e('0x60')],_0x797b45['value'][_0x0a9e('0x61')],_0x797b45[_0x0a9e('0x58')]['end']);break;}}else{var _0x797b45=as[_0x0a9e('0x5f')](_0x59c6ff,_0x443e72[_0x0a9e('0x68')],_0x5a88da);_0x37edaa[_0x14d602](_0x797b45[_0x0a9e('0x60')],_0x797b45[_0x0a9e('0x58')]['start'],_0x797b45[_0x0a9e('0x58')][_0x0a9e('0x62')]);}}}else{var _0x281c7d=_(_0x3d9717['query'])[_0x0a9e('0x3a')]()['map'](function(_0x5211e3){return _[_0x0a9e('0x69')](_0x3bfce8,[_0x0a9e('0x25'),_0x5211e3])?_0x5211e3:undefined;})[_0x0a9e('0x6a')]()[_0x0a9e('0x58')]();if(!_[_0x0a9e('0x6b')](_0x281c7d)){_0x281c7d[_0x0a9e('0x2c')](function(_0x387489){if(_0x387489===_0x0a9e('0x6c')){_0x34aa5a[_0x0a9e('0x42')](_0x0a9e('0x6d'),[][_0x0a9e('0x6e')](_0x3d9717[_0x0a9e('0x39')][_0x387489]));}else if(_0x387489===_0x0a9e('0x6f')){var _0x2b8192=JSON[_0x0a9e('0x70')](_0x3d9717[_0x0a9e('0x39')][_0x387489])[_0x0a9e('0x71')];var _0x4257c9=JSON['parse'](_0x3d9717[_0x0a9e('0x39')][_0x387489])[_0x0a9e('0x72')];_0x34aa5a[_0x0a9e('0x42')]('i.createdAt\x20BETWEEN\x20?\x20AND\x20?',_0x2b8192,_0x4257c9);}else{if(_0x3d9717[_0x0a9e('0x39')][_0x387489]===_0x0a9e('0x73')){_0x34aa5a['where']('i.'+_0x387489+_0x0a9e('0x74'));}else{_0x34aa5a[_0x0a9e('0x42')]('i.'+_0x387489+_0x0a9e('0x75'),_0x3d9717[_0x0a9e('0x39')][_0x387489]);}}});}if(_0x3d9717[_0x0a9e('0x39')]['read']){if(_0x3d9717['query']['read']==0x1){_0x34aa5a[_0x0a9e('0x59')](_0x0a9e('0x76'));}else{_0x34aa5a[_0x0a9e('0x59')](_0x0a9e('0x77'));}}if(_0x3d9717[_0x0a9e('0x39')][_0x0a9e('0x78')]){_0x61bb17=_[_0x0a9e('0x79')](_0x3d9717[_0x0a9e('0x39')]['tag'])?_0x3d9717[_0x0a9e('0x39')][_0x0a9e('0x78')]:new Array(_0x3d9717[_0x0a9e('0x39')]['tag']);_0x61bb17[_0x0a9e('0x2c')](function(_0x583b2e){_0x30decb['or'](_0x0a9e('0x7a'),'%,'+_0x583b2e+',%');});}if(_0x3d9717[_0x0a9e('0x39')]['filter']){var _0x2ed01e=_0x3d9717[_0x0a9e('0x39')][_0x0a9e('0x7b')][_0x0a9e('0x7c')]('\x5c','\x5c\x5c')['replace']('\x27\x27',_0x0a9e('0x7d'));if(qs[_0x0a9e('0x7e')](_0x2ed01e)){_0x37edaa['or'](_0x0a9e('0x7f'),_0x2ed01e+'%');}else if(qs[_0x0a9e('0x80')](_0x2ed01e)){_0x37edaa['or']('c.email\x20LIKE\x20?',_0x2ed01e+'%');}else{_0x37edaa['or'](_0x0a9e('0x81'),qs[_0x0a9e('0x82')](_0x2ed01e))['or'](_0x0a9e('0x83'),qs[_0x0a9e('0x82')](_0x2ed01e));}}}_0x34aa5a['where'](_0x37edaa);_0x34aa5a[_0x0a9e('0x84')](_0x0a9e('0x85'));var _0x30a4c7={'type':db[_0x0a9e('0x86')][_0x0a9e('0x87')][_0x0a9e('0x88')],'raw':!![]};var _0x40fc56=_0x34aa5a[_0x0a9e('0x89')]();_0x40fc56[_0x0a9e('0x45')](_0x0a9e('0x85'));_0x40fc56[_0x0a9e('0x45')](_0x0a9e('0x8a'),_0x0a9e('0x8b'));if(_0x1ef87a[_0x0a9e('0x8c')]){_0x1ef87a['order'][_0x0a9e('0x2c')](function(_0x11da9c){_0x34aa5a[_0x0a9e('0x8c')]('i.'+_0x11da9c[0x0],_0x11da9c[0x1]==='DESC'?![]:!![]);});}if(!_[_0x0a9e('0x6b')](_0x61bb17)){_0x34aa5a[_0x0a9e('0x59')](_0x30decb);_0x40fc56[_0x0a9e('0x42')](_0x0a9e('0x8d'),_0x61bb17);}BPromise['resolve']()['then'](function(){if(!_0x375c18){if(_0x3d9717[_0x0a9e('0x39')][_0x0a9e('0x6c')]||_0x3d9717['query'][_0x0a9e('0x8e')])return;_0x40fc56['where'](_0x0a9e('0x8f'));_0x34aa5a[_0x0a9e('0x42')]('i.MailAccountId\x20IS\x20NOT\x20NULL');return;}return _0x3d9717[_0x0a9e('0x90')][_0x0a9e('0x91')]({'attributes':['id'],'raw':!![]})[_0x0a9e('0x22')](function(_0x42b959){if(_[_0x0a9e('0x6b')](_0x42b959)){_0x40fc56[_0x0a9e('0x42')](_0x0a9e('0x92'));_0x34aa5a['where'](_0x0a9e('0x92'));}else{_0x40fc56[_0x0a9e('0x42')](_0x0a9e('0x6d'),_[_0x0a9e('0x35')](_0x42b959,'id'));_0x34aa5a['where'](_0x0a9e('0x6d'),_[_0x0a9e('0x35')](_0x42b959,'id'));}});})['then'](function(){db[_0x0a9e('0x93')]['query'](_0x40fc56[_0x0a9e('0x94')](),_0x30a4c7)[_0x0a9e('0x22')](function(_0x3003eb){_0x31916f[_0x0a9e('0x1b')]=_0x3003eb['length'];if(_0x31916f['count']===0x0)return[];return db[_0x0a9e('0x93')][_0x0a9e('0x39')](_0x25c6e6[_0x0a9e('0x94')](),_0x30a4c7)['then'](function(_0x3b4a9f){_0x432fcc=_[_0x0a9e('0x95')](_0x3b4a9f,'id');_0x30a4c7=_['merge'](_0x30a4c7,{'model':db['MailInteraction'],'mapToModel':!![],'raw':!![],'nest':!![]});if(_0x3d9717[_0x0a9e('0x39')]['fields']){_0x1ef87a['attributes']['forEach'](function(_0x81d748){_0x34aa5a[_0x0a9e('0x45')]('i.'+_0x81d748);});}else{_0x34aa5a[_0x0a9e('0x45')](_0x0a9e('0x8a'),_0x0a9e('0x8b'));_0x34aa5a[_0x0a9e('0x45')]('a.key',_0x0a9e('0x96'));_0x34aa5a['field'](_0x0a9e('0x97'),_0x0a9e('0x98'));_0x34aa5a[_0x0a9e('0x45')](_0x0a9e('0x85'));_0x34aa5a['field'](_0x0a9e('0x99'));_0x34aa5a[_0x0a9e('0x45')](_0x0a9e('0x9a'));_0x34aa5a['field'](_0x0a9e('0x9b'));_0x34aa5a[_0x0a9e('0x45')](_0x0a9e('0x9c'));_0x34aa5a[_0x0a9e('0x45')](_0x0a9e('0x9d'));_0x34aa5a[_0x0a9e('0x45')](_0x0a9e('0x9e'));_0x34aa5a[_0x0a9e('0x45')]('i.lastMsgDirection');_0x34aa5a[_0x0a9e('0x45')](_0x0a9e('0x9f'));_0x34aa5a['field'](_0x0a9e('0xa0'));_0x34aa5a[_0x0a9e('0x45')](_0x0a9e('0xa1'));_0x34aa5a['field'](_0x0a9e('0xa2'));_0x34aa5a['field'](_0x0a9e('0xa3'));_0x34aa5a[_0x0a9e('0x45')](_0x0a9e('0xa4'));_0x34aa5a[_0x0a9e('0x45')](_0x0a9e('0xa5'));_0x34aa5a[_0x0a9e('0x45')](_0x0a9e('0xa6'),_0x0a9e('0xa7'));_0x34aa5a['field'](_0x0a9e('0xa8'),_0x0a9e('0xa9'));_0x34aa5a[_0x0a9e('0x45')](_0x0a9e('0xaa'),_0x0a9e('0xab'));_0x34aa5a[_0x0a9e('0x45')](_0x0a9e('0xac'),_0x0a9e('0xad'));_0x34aa5a[_0x0a9e('0x45')](_0x0a9e('0xae'),_0x0a9e('0xaf'));_0x34aa5a[_0x0a9e('0x45')](_0x0a9e('0xb0'),'Contact.fax');_0x34aa5a[_0x0a9e('0x45')](_0x0a9e('0xb1'),_0x0a9e('0xb2'));_0x34aa5a[_0x0a9e('0x45')](_0x0a9e('0xb3'),'Owner.internal');_0x34aa5a[_0x0a9e('0x45')](_0x0a9e('0xb4'),'TagIds');}if(_0x1ef87a[_0x0a9e('0x1d')])_0x34aa5a['limit'](_0x1ef87a[_0x0a9e('0x1d')]);if(_0x1ef87a[_0x0a9e('0x1c')])_0x34aa5a[_0x0a9e('0x1c')](_0x1ef87a[_0x0a9e('0x1c')]);return db['sequelize'][_0x0a9e('0x39')](_0x34aa5a['toString'](),_0x30a4c7);})[_0x0a9e('0x22')](function(_0x3d0a77){_0xbe9d19['where'](_0x0a9e('0xb5'),_[_0x0a9e('0x35')](_0x3d0a77,'id'));return db[_0x0a9e('0x93')]['query'](_0xbe9d19['toString'](),_0x30a4c7)[_0x0a9e('0x22')](function(_0x6ba2be){var _0x1707dc=_[_0x0a9e('0xb6')](_0x6ba2be,_0x0a9e('0xb7'));var _0x2450a8=[];return db[_0x0a9e('0xb8')][_0x0a9e('0x2e')]({'attributes':[_0x0a9e('0xb9')],'raw':!![]})['then'](function(_0x3156c7){var _0x517081=_0x3156c7[_0x0a9e('0xb9')];_0x3d0a77[_0x0a9e('0x2c')](function(_0x34e745){_0x2450a8[_0x0a9e('0xba')](updateMailInteraction(_0x34e745,_0x432fcc,_0x1707dc,_0x517081));});return BPromise[_0x0a9e('0xbb')](_0x2450a8);});});});})['then'](function(_0x436313){_0x31916f[_0x0a9e('0xbc')]=_0x436313;return _0x31916f;})[_0x0a9e('0x22')](respondWithFilteredResult(_0x381c37,_0x1ef87a));})[_0x0a9e('0x33')](handleError(_0x381c37,null));};exports[_0x0a9e('0xbd')]=function(_0x5c66ef,_0x4f074c){var _0x22a3cb={'raw':![],'where':{'id':_0x5c66ef[_0x0a9e('0xbe')]['id']}},_0x583662={};_0x583662[_0x0a9e('0x38')]=_[_0x0a9e('0x3a')](db[_0x0a9e('0x2d')][_0x0a9e('0x36')]);_0x583662[_0x0a9e('0x39')]=_['keys'](_0x5c66ef['query']);_0x583662[_0x0a9e('0x3b')]=_['intersection'](_0x583662[_0x0a9e('0x38')],_0x583662['query']);_0x22a3cb[_0x0a9e('0x3c')]=_['intersection'](_0x583662['model'],qs[_0x0a9e('0x3d')](_0x5c66ef[_0x0a9e('0x39')]['fields']));_0x22a3cb[_0x0a9e('0x3c')]=_0x22a3cb[_0x0a9e('0x3c')][_0x0a9e('0x3e')]?_0x22a3cb[_0x0a9e('0x3c')]:_0x583662[_0x0a9e('0x38')];if(_0x5c66ef['query']['includeAll']){_0x22a3cb[_0x0a9e('0xbf')]=[{'all':!![]}];}_0x22a3cb=_[_0x0a9e('0xc0')]({},_0x22a3cb,_0x5c66ef[_0x0a9e('0xc1')]);return db[_0x0a9e('0x2d')][_0x0a9e('0x5d')](_0x22a3cb)['then'](handleEntityNotFound(_0x4f074c,null))[_0x0a9e('0x22')](respondWithResult(_0x4f074c,null))[_0x0a9e('0x33')](handleError(_0x4f074c,null));};exports['create']=function(_0x3c313d,_0x19fd11){return db[_0x0a9e('0x2d')][_0x0a9e('0xc2')](_0x3c313d[_0x0a9e('0xc3')],{})[_0x0a9e('0x22')](respondWithResult(_0x19fd11,0xc9))[_0x0a9e('0x33')](handleError(_0x19fd11,null));};exports[_0x0a9e('0x20')]=function(_0x40dd2a,_0x16afb3){if(_0x40dd2a['body']['id']){delete _0x40dd2a[_0x0a9e('0xc3')]['id'];}return db[_0x0a9e('0x2d')][_0x0a9e('0x5d')]({'where':{'id':_0x40dd2a[_0x0a9e('0xbe')]['id']}})[_0x0a9e('0x22')](handleEntityNotFound(_0x16afb3,null))['then'](saveUpdates(_0x40dd2a['body'],null))[_0x0a9e('0x22')](respondWithResult(_0x16afb3,null))[_0x0a9e('0x33')](handleError(_0x16afb3,null));};exports[_0x0a9e('0x21')]=function(_0x2fea95,_0x34f7b5){return db['MailInteraction'][_0x0a9e('0x5d')]({'where':{'id':_0x2fea95[_0x0a9e('0xbe')]['id']}})[_0x0a9e('0x22')](handleEntityNotFound(_0x34f7b5,null))['then'](removeEntity(_0x34f7b5,null))[_0x0a9e('0x33')](handleError(_0x34f7b5,null));};exports['describe']=function(_0x2144ca,_0x4799d4){return db[_0x0a9e('0x2d')][_0x0a9e('0xc4')]()[_0x0a9e('0x22')](respondWithResult(_0x4799d4,null))['catch'](handleError(_0x4799d4,null));};exports[_0x0a9e('0xc5')]=function(_0x5ed560,_0x4383da,_0x2b1824){return db[_0x0a9e('0xc6')][_0x0a9e('0x5d')]({'where':{'id':_0x5ed560[_0x0a9e('0xbe')]['id']}})[_0x0a9e('0x22')](handleEntityNotFound(_0x4383da,null))[_0x0a9e('0x22')](function(_0xe89aaa){if(_0xe89aaa){return _0xe89aaa[_0x0a9e('0xc5')](_0x5ed560[_0x0a9e('0xc3')][_0x0a9e('0xc7')],_[_0x0a9e('0xc8')](_0x5ed560[_0x0a9e('0xc3')],[_0x0a9e('0xc7'),'id'])||{});}})[_0x0a9e('0x22')](respondWithResult(_0x4383da,null))[_0x0a9e('0x33')](handleError(_0x4383da,null));};exports['getMessages']=function(_0x556443,_0x6eaaf0,_0x5c4be0){var _0x1d999b={'raw':![],'where':{}};var _0x3428c9={};var _0x5d6b69={'count':0x0,'rows':[]};return db[_0x0a9e('0x2d')][_0x0a9e('0x2e')]({'where':{'id':_0x556443[_0x0a9e('0xbe')]['id']}})[_0x0a9e('0x22')](handleEntityNotFound(_0x6eaaf0,null))['then'](function(_0x148fd9){if(_0x148fd9){_0x3428c9[_0x0a9e('0x38')]=_[_0x0a9e('0x3a')](db[_0x0a9e('0xc6')]['rawAttributes']);_0x3428c9[_0x0a9e('0x39')]=_[_0x0a9e('0x3a')](_0x556443[_0x0a9e('0x39')]);_0x3428c9['filters']=_[_0x0a9e('0xc9')](_0x3428c9[_0x0a9e('0x38')],_0x3428c9[_0x0a9e('0x39')]);_0x1d999b['attributes']=_[_0x0a9e('0xc9')](_0x3428c9[_0x0a9e('0x38')],qs[_0x0a9e('0x3d')](_0x556443[_0x0a9e('0x39')][_0x0a9e('0x3d')]));_0x1d999b['attributes']=_0x1d999b[_0x0a9e('0x3c')][_0x0a9e('0x3e')]?_0x1d999b['attributes']:_0x3428c9[_0x0a9e('0x38')];if(!_0x556443[_0x0a9e('0x39')][_0x0a9e('0x3f')]('nolimit')){_0x1d999b['limit']=qs['limit'](_0x556443[_0x0a9e('0x39')][_0x0a9e('0x1d')]);_0x1d999b['offset']=qs[_0x0a9e('0x1c')](_0x556443[_0x0a9e('0x39')][_0x0a9e('0x1c')]);}_0x1d999b['order']=qs[_0x0a9e('0x41')](_0x556443[_0x0a9e('0x39')][_0x0a9e('0x41')]);_0x1d999b[_0x0a9e('0x42')]=qs[_0x0a9e('0x3b')](_[_0x0a9e('0x43')](_0x556443[_0x0a9e('0x39')],_0x3428c9[_0x0a9e('0x3b')]));_0x1d999b[_0x0a9e('0x42')]['MailInteractionId']=_0x148fd9['id'];if(_0x556443[_0x0a9e('0x39')]['filter']){_0x1d999b[_0x0a9e('0x42')]=_[_0x0a9e('0xc0')](_0x1d999b[_0x0a9e('0x42')],{'$or':_[_0x0a9e('0x35')](_0x1d999b[_0x0a9e('0x3c')],function(_0x344cd4){var _0x53d9fc={};_0x53d9fc[_0x344cd4]={'$like':'%'+_0x556443[_0x0a9e('0x39')][_0x0a9e('0x7b')]+'%'};return _0x53d9fc;})});}if(_0x556443[_0x0a9e('0x39')][_0x0a9e('0x71')]){var _0x51aa2f=_0x556443[_0x0a9e('0x39')][_0x0a9e('0x71')][_0x0a9e('0x2b')](',');var _0x1c9539={};_0x1c9539[_0x51aa2f[0x0]]={'$gte':moment(_0x51aa2f[0x1])[_0x0a9e('0xca')](_0x0a9e('0xcb'))};_0x1d999b[_0x0a9e('0x42')]=_[_0x0a9e('0xc0')](_0x1d999b[_0x0a9e('0x42')],_0x1c9539);}_0x1d999b=_[_0x0a9e('0xc0')]({},_0x1d999b,_0x556443['options']);return db[_0x0a9e('0xc6')][_0x0a9e('0x1b')]({'where':_0x1d999b[_0x0a9e('0x42')]})[_0x0a9e('0x22')](function(_0xea8bd1){_0x5d6b69[_0x0a9e('0x1b')]=_0xea8bd1;if(_0x556443[_0x0a9e('0x39')][_0x0a9e('0xcc')]){_0x1d999b['include']=[{'all':!![]}];}return db[_0x0a9e('0xc6')][_0x0a9e('0xcd')](_0x1d999b);})[_0x0a9e('0x22')](function(_0x5c65fc){_0x5d6b69[_0x0a9e('0xbc')]=_0x5c65fc;return _0x5d6b69;});}})[_0x0a9e('0x22')](respondWithFilteredResult(_0x6eaaf0,_0x1d999b))[_0x0a9e('0x33')](handleError(_0x6eaaf0,null));};exports[_0x0a9e('0xce')]=function(_0x370b5e,_0x1ba457,_0x424f1b){return db[_0x0a9e('0x2d')][_0x0a9e('0x5d')]({'where':{'id':_0x370b5e[_0x0a9e('0xbe')]['id']}})['then'](handleEntityNotFound(_0x1ba457,null))[_0x0a9e('0x22')](function(_0x446e6){if(_0x446e6){return _0x446e6[_0x0a9e('0xcf')](_0x370b5e[_0x0a9e('0xc3')][_0x0a9e('0xc7')],_[_0x0a9e('0xc8')](_0x370b5e['body'],[_0x0a9e('0xc7'),'id'])||{})['spread'](function(){return db['Tag']['findAll']({'attributes':['id',_0x0a9e('0x25'),_0x0a9e('0x46')],'where':{'id':_0x370b5e[_0x0a9e('0xc3')][_0x0a9e('0xc7')]}});})['then'](function(_0x4156a5){socket[_0x0a9e('0xd0')](_0x0a9e('0xd1'),{'id':Number(_0x370b5e[_0x0a9e('0xbe')]['id']),'tags':_0x4156a5||[]});return{'id':Number(_0x370b5e[_0x0a9e('0xbe')]['id']),'tags':_0x4156a5||[]};});}})['then'](respondWithResult(_0x1ba457,null))['catch'](handleError(_0x1ba457,null));};exports[_0x0a9e('0xd2')]=function(_0x33bcb2,_0x2a293f,_0x5e85d0){return db[_0x0a9e('0x2d')][_0x0a9e('0x5d')]({'where':{'id':_0x33bcb2[_0x0a9e('0xbe')]['id']}})['then'](handleEntityNotFound(_0x2a293f,null))[_0x0a9e('0x22')](function(_0x2bf85d){if(_0x2bf85d){return _0x2bf85d[_0x0a9e('0xd2')](_0x33bcb2['query'][_0x0a9e('0xc7')]);}})[_0x0a9e('0x22')](respondWithStatusCode(_0x2a293f,null))[_0x0a9e('0x33')](handleError(_0x2a293f,null));};exports['download']=function(_0x549697,_0x53ef46){var _0x3b04fd=moment()[_0x0a9e('0xd3')]()[_0x0a9e('0x94')]();var _0x26931c=path['join'](config[_0x0a9e('0xd4')],'server',_0x0a9e('0xd5'),_0x0a9e('0xd6'));var _0x242f23=path['join'](config[_0x0a9e('0xd4')],_0x0a9e('0xd7'),_0x0a9e('0xd5'),'attachments');var _0x40eb5d=path['join'](_0x26931c,_0x3b04fd);var _0x1b637c=util['format'](_0x0a9e('0xd8'),_0x549697['params']['id'],_0x3b04fd);var _0xb14971=path[_0x0a9e('0xd9')](_0x26931c,_0x1b637c);var _0xa288e4=[];if(_0x549697[_0x0a9e('0x39')][_0x0a9e('0xda')]){_0xa288e4[_0x0a9e('0xba')]({'model':db[_0x0a9e('0xdb')],'as':'Attachments','raw':!![]});}var _0x35ace3=[{'model':db[_0x0a9e('0xc6')],'as':'Messages','attributes':['id',_0x0a9e('0xc3'),_0x0a9e('0x47'),'to','cc','bcc',_0x0a9e('0xdc'),_0x0a9e('0x6f')],'where':{'secret':![]},'order':qs[_0x0a9e('0x41')]('id'),'include':_0xa288e4}];return db['MailInteraction'][_0x0a9e('0x5d')]({'where':{'id':_0x549697[_0x0a9e('0xbe')]['id']},'include':_0x35ace3})[_0x0a9e('0x22')](handleEntityNotFound(_0x53ef46,null))[_0x0a9e('0x22')](function(_0x2003bc){if(_0x2003bc&&_0x2003bc[_0x0a9e('0xdd')]){var _0x3ba897=_0x2003bc[_0x0a9e('0xde')]({'plain':!![]});fs[_0x0a9e('0xdf')](_0x40eb5d);return BPromise[_0x0a9e('0xe0')](_0x3ba897['Messages'],function(_0x1799d8,_0x53c7de){var _0x3c9854={'from':_0x1799d8[_0x0a9e('0x47')],'to':_0x1799d8['to'],'subject':_0x1799d8[_0x0a9e('0xdc')],'html':_0x1799d8[_0x0a9e('0xc3')],'headers':{'Date':moment(_0x1799d8[_0x0a9e('0x6f')])[_0x0a9e('0xca')]('ddd,\x20DD\x20MMM\x20YYYY\x20HH:mm:ss\x20ZZ')},'attachments':[]};if(_0x1799d8['cc']){_0x3c9854[_0x0a9e('0xe1')]['Cc']=_0x1799d8['cc'];}if(_0x1799d8[_0x0a9e('0xe2')]){_0x3c9854[_0x0a9e('0xe1')]['Bcc']=_0x1799d8[_0x0a9e('0xe2')];}return new BPromise(function(_0x402544,_0x4435d2){if(_0x1799d8[_0x0a9e('0xe3')]){for(var _0x31e1e0=0x0;_0x31e1e0<_0x1799d8[_0x0a9e('0xe3')][_0x0a9e('0x3e')];_0x31e1e0++){var _0x5f2c51=_0x1799d8[_0x0a9e('0xe3')][_0x31e1e0];var _0x228c10=path[_0x0a9e('0xd9')](_0x242f23,_0x5f2c51[_0x0a9e('0xe4')]);if(fs[_0x0a9e('0xe5')](_0x228c10)){_0x3c9854[_0x0a9e('0xda')][_0x0a9e('0xba')]({'name':_0x5f2c51['name'],'contentType':_0x5f2c51['type'],'data':fs[_0x0a9e('0xe6')](_0x228c10)});}}}emlformat[_0x0a9e('0xe7')](_0x3c9854,function(_0x1f4929,_0x1bf692){if(_0x1f4929)return _0x4435d2(_0x1f4929);fs[_0x0a9e('0xe8')](path[_0x0a9e('0xd9')](_0x40eb5d,util[_0x0a9e('0xca')]('message%d.eml',_0x53c7de)),_0x1bf692);return _0x402544(_0x1bf692);});});})[_0x0a9e('0x22')](function(){return new BPromise(function(_0x1d7fc4,_0x2d8e91){zipdir(_0x40eb5d,{'saveTo':_0xb14971},function(_0x2675a5,_0x1b1757){if(_0x2675a5)return _0x2d8e91(_0x2675a5);return _0x1d7fc4(_0x1b1757);});})[_0x0a9e('0x22')](function(){return new BPromise(function(_0x16be7e,_0x54f0b8){rimraf(_0x40eb5d,function(_0x311288){if(_0x311288)_0x54f0b8(_0x311288);return _0x16be7e();});});})[_0x0a9e('0x22')](function(){return _0x53ef46[_0x0a9e('0xe9')](_0xb14971,_0x1b637c,function(_0x5885c3){if(_0x5885c3){console[_0x0a9e('0xea')](_0x0a9e('0xeb'),_0x5885c3);}else{fs[_0x0a9e('0xec')](_0xb14971);}});});});}else{return _0x53ef46[_0x0a9e('0x23')](0xc8);}})['catch'](handleError(_0x53ef46,null));}; \ No newline at end of file diff --git a/server/api/mailInteraction/mailInteraction.events.js b/server/api/mailInteraction/mailInteraction.events.js index 9ccca9e..34e7d1c 100644 --- a/server/api/mailInteraction/mailInteraction.events.js +++ b/server/api/mailInteraction/mailInteraction.events.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x6060=['setMaxListeners','save','update','remove','getUsers','setDataValue','Users','map','findAll','then','length','emit','catch','hasOwnProperty','hook','events','../../mysqldb','MailMessage'];(function(_0x2ac4af,_0x288c53){var _0x3a36df=function(_0x271b11){while(--_0x271b11){_0x2ac4af['push'](_0x2ac4af['shift']());}};_0x3a36df(++_0x288c53);}(_0x6060,0x10b));var _0x0606=function(_0x141fdf,_0x243c24){_0x141fdf=_0x141fdf-0x0;var _0x24cad9=_0x6060[_0x141fdf];return _0x24cad9;};'use strict';var EventEmitter=require(_0x0606('0x0'));var MailInteraction=require(_0x0606('0x1'))['db']['MailInteraction'];var MailMessage=require('../../mysqldb')['db'][_0x0606('0x2')];var MailInteractionEvents=new EventEmitter();MailInteractionEvents[_0x0606('0x3')](0x0);var events={'afterCreate':_0x0606('0x4'),'afterUpdate':_0x0606('0x5'),'afterDestroy':_0x0606('0x6')};function emitEvent(_0x514f8c){return function(_0x351e12,_0x3fbd8f,_0xa883c2){_0x351e12[_0x0606('0x7')]({'attributes':['id'],'raw':!![]})['then'](function(_0x22f068){_0x351e12[_0x0606('0x8')](_0x0606('0x9'),_0x22f068[_0x0606('0xa')](function(_0xd61b64){return{'id':_0xd61b64['id']};}));return MailMessage[_0x0606('0xb')]({'where':{'MailInteractionId':_0x351e12['id'],'direction':'in','read':![]},'raw':!![]});})[_0x0606('0xc')](function(_0x412fb6){_0x351e12['setDataValue']('unreadMessages',_0x412fb6[_0x0606('0xd')]);MailInteractionEvents[_0x0606('0xe')](_0x514f8c+':'+_0x351e12['id'],_0x351e12);MailInteractionEvents['emit'](_0x514f8c,_0x351e12);_0xa883c2(null);})[_0x0606('0xf')](_0xa883c2(null));};}for(var e in events){if(events[_0x0606('0x10')](e)){var event=events[e];MailInteraction[_0x0606('0x11')](e,emitEvent(event));}}module['exports']=MailInteractionEvents; \ No newline at end of file +var _0xb9bd=['remove','getUsers','then','setDataValue','Users','findAll','unreadMessages','length','emit','catch','hasOwnProperty','hook','exports','../../mysqldb','MailInteraction','MailMessage','setMaxListeners','save','update'];(function(_0x17ae89,_0x16f754){var _0x1636b0=function(_0x2729fd){while(--_0x2729fd){_0x17ae89['push'](_0x17ae89['shift']());}};_0x1636b0(++_0x16f754);}(_0xb9bd,0x1e8));var _0xdb9b=function(_0x3066d3,_0x199bf2){_0x3066d3=_0x3066d3-0x0;var _0x5c8c97=_0xb9bd[_0x3066d3];return _0x5c8c97;};'use strict';var EventEmitter=require('events');var MailInteraction=require(_0xdb9b('0x0'))['db'][_0xdb9b('0x1')];var MailMessage=require('../../mysqldb')['db'][_0xdb9b('0x2')];var MailInteractionEvents=new EventEmitter();MailInteractionEvents[_0xdb9b('0x3')](0x0);var events={'afterCreate':_0xdb9b('0x4'),'afterUpdate':_0xdb9b('0x5'),'afterDestroy':_0xdb9b('0x6')};function emitEvent(_0x4d77c3){return function(_0x17b38b,_0x42b931,_0x1a95b3){_0x17b38b[_0xdb9b('0x7')]({'attributes':['id'],'raw':!![]})[_0xdb9b('0x8')](function(_0x289591){_0x17b38b[_0xdb9b('0x9')](_0xdb9b('0xa'),_0x289591['map'](function(_0xc6315e){return{'id':_0xc6315e['id']};}));return MailMessage[_0xdb9b('0xb')]({'where':{'MailInteractionId':_0x17b38b['id'],'direction':'in','read':![]},'raw':!![]});})[_0xdb9b('0x8')](function(_0x4106a1){_0x17b38b[_0xdb9b('0x9')](_0xdb9b('0xc'),_0x4106a1[_0xdb9b('0xd')]);MailInteractionEvents[_0xdb9b('0xe')](_0x4d77c3+':'+_0x17b38b['id'],_0x17b38b);MailInteractionEvents['emit'](_0x4d77c3,_0x17b38b);_0x1a95b3(null);})[_0xdb9b('0xf')](_0x1a95b3(null));};}for(var e in events){if(events[_0xdb9b('0x10')](e)){var event=events[e];MailInteraction[_0xdb9b('0x11')](e,emitEvent(event));}}module[_0xdb9b('0x12')]=MailInteractionEvents; \ No newline at end of file diff --git a/server/api/mailInteraction/mailInteraction.model.js b/server/api/mailInteraction/mailInteraction.model.js index 721ebb0..744de67 100644 --- a/server/api/mailInteraction/mailInteraction.model.js +++ b/server/api/mailInteraction/mailInteraction.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x4517=['update','then','utf8mb4','utf8mb4_unicode_ci','util','../../config/logger','moment','bluebird','request-promise','path','rimraf','../../config/environment','./mailInteraction.attributes','exports','define','MailInteraction','mail_interactions','fti_mail_interactions','subject','FULLTEXT','substatus','substatusAt','format','YYYY-MM-DD\x20HH:mm:ss','closed','closedAt','changed','models','get','MailMessage'];(function(_0x1ff22f,_0x14e658){var _0x4a174a=function(_0x5a7e44){while(--_0x5a7e44){_0x1ff22f['push'](_0x1ff22f['shift']());}};_0x4a174a(++_0x14e658);}(_0x4517,0x112));var _0x7451=function(_0x1f2592,_0x3c670d){_0x1f2592=_0x1f2592-0x0;var _0x2fc018=_0x4517[_0x1f2592];return _0x2fc018;};'use strict';var _=require('lodash');var util=require(_0x7451('0x0'));var logger=require(_0x7451('0x1'))('api');var moment=require(_0x7451('0x2'));var BPromise=require(_0x7451('0x3'));var rp=require(_0x7451('0x4'));var fs=require('fs');var path=require(_0x7451('0x5'));var rimraf=require(_0x7451('0x6'));var config=require(_0x7451('0x7'));var attributes=require(_0x7451('0x8'));module[_0x7451('0x9')]=function(_0x451332,_0x3489f9){return _0x451332[_0x7451('0xa')](_0x7451('0xb'),attributes,{'tableName':_0x7451('0xc'),'paranoid':![],'indexes':[{'name':_0x7451('0xd'),'fields':[_0x7451('0xe'),'to'],'type':_0x7451('0xf')}],'timestamps':!![],'hooks':{'beforeCreate':function(_0x10031d,_0x4b7888,_0x29f2e1){if(_0x10031d[_0x7451('0x10')]){_0x10031d[_0x7451('0x11')]=moment()[_0x7451('0x12')](_0x7451('0x13'));}if(_0x10031d[_0x7451('0x14')]){_0x10031d[_0x7451('0x15')]=moment()['format']('YYYY-MM-DD\x20HH:mm:ss');}_0x29f2e1(null,_0x4b7888);},'beforeUpdate':function(_0xf47f51,_0x5c7605,_0x450463){if(_0xf47f51[_0x7451('0x16')]('substatus')){_0xf47f51[_0x7451('0x11')]=_0xf47f51[_0x7451('0x10')]?moment()['format'](_0x7451('0x13')):null;}if(_0xf47f51[_0x7451('0x16')](_0x7451('0x14'))){_0xf47f51[_0x7451('0x15')]=moment()['format'](_0x7451('0x13'));_0xf47f51[_0x7451('0x10')]=null;_0xf47f51[_0x7451('0x11')]=null;}_0x450463(null,_0xf47f51);},'afterUpdate':function(_0x58c0cd,_0x4c9e54,_0xfa4258){var _0x1db688=_0x451332[_0x7451('0x17')];var _0xa8a121=_0x58c0cd[_0x7451('0x18')]({'plain':!![]});if(_0xa8a121[_0x7451('0x14')]){return _0x1db688[_0x7451('0x19')][_0x7451('0x1a')]({'read':!![]},{'where':{'MailInteractionId':_0xa8a121['id']}})[_0x7451('0x1b')](function(){_0xfa4258();})['catch'](function(_0x40dc78){_0xfa4258(_0x40dc78);});}else{_0xfa4258();}}},'charset':_0x7451('0x1c'),'collate':_0x7451('0x1d')});}; \ No newline at end of file +var _0xd3d1=['changed','get','update','catch','utf8mb4','utf8mb4_unicode_ci','lodash','util','moment','bluebird','request-promise','path','rimraf','../../config/environment','./mailInteraction.attributes','exports','define','MailInteraction','mail_interactions','fti_mail_interactions','subject','FULLTEXT','substatus','substatusAt','format','YYYY-MM-DD\x20HH:mm:ss','closed','closedAt'];(function(_0x56e4e7,_0x1db098){var _0x383618=function(_0xb088c6){while(--_0xb088c6){_0x56e4e7['push'](_0x56e4e7['shift']());}};_0x383618(++_0x1db098);}(_0xd3d1,0x172));var _0x1d3d=function(_0x173441,_0x26b0d9){_0x173441=_0x173441-0x0;var _0x2423a8=_0xd3d1[_0x173441];return _0x2423a8;};'use strict';var _=require(_0x1d3d('0x0'));var util=require(_0x1d3d('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0x1d3d('0x2'));var BPromise=require(_0x1d3d('0x3'));var rp=require(_0x1d3d('0x4'));var fs=require('fs');var path=require(_0x1d3d('0x5'));var rimraf=require(_0x1d3d('0x6'));var config=require(_0x1d3d('0x7'));var attributes=require(_0x1d3d('0x8'));module[_0x1d3d('0x9')]=function(_0x1cbe06,_0x449475){return _0x1cbe06[_0x1d3d('0xa')](_0x1d3d('0xb'),attributes,{'tableName':_0x1d3d('0xc'),'paranoid':![],'indexes':[{'name':_0x1d3d('0xd'),'fields':[_0x1d3d('0xe'),'to'],'type':_0x1d3d('0xf')}],'timestamps':!![],'hooks':{'beforeCreate':function(_0x3683c9,_0x510a37,_0x2d967e){if(_0x3683c9[_0x1d3d('0x10')]){_0x3683c9[_0x1d3d('0x11')]=moment()[_0x1d3d('0x12')](_0x1d3d('0x13'));}if(_0x3683c9[_0x1d3d('0x14')]){_0x3683c9[_0x1d3d('0x15')]=moment()[_0x1d3d('0x12')](_0x1d3d('0x13'));}_0x2d967e(null,_0x510a37);},'beforeUpdate':function(_0x3cffa5,_0x29e17e,_0x479216){if(_0x3cffa5[_0x1d3d('0x16')](_0x1d3d('0x10'))){_0x3cffa5['substatusAt']=_0x3cffa5['substatus']?moment()[_0x1d3d('0x12')](_0x1d3d('0x13')):null;}if(_0x3cffa5[_0x1d3d('0x16')]('closed')){_0x3cffa5[_0x1d3d('0x15')]=moment()['format'](_0x1d3d('0x13'));_0x3cffa5[_0x1d3d('0x10')]=null;_0x3cffa5[_0x1d3d('0x11')]=null;}_0x479216(null,_0x3cffa5);},'afterUpdate':function(_0x24bb8c,_0x21c2e4,_0x1bdbdc){var _0x3dcb67=_0x1cbe06['models'];var _0x5d3ac9=_0x24bb8c[_0x1d3d('0x17')]({'plain':!![]});if(_0x5d3ac9[_0x1d3d('0x14')]){return _0x3dcb67['MailMessage'][_0x1d3d('0x18')]({'read':!![]},{'where':{'MailInteractionId':_0x5d3ac9['id']}})['then'](function(){_0x1bdbdc();})[_0x1d3d('0x19')](function(_0x392e92){_0x1bdbdc(_0x392e92);});}else{_0x1bdbdc();}}},'charset':_0x1d3d('0x1a'),'collate':_0x1d3d('0x1b')});}; \ No newline at end of file diff --git a/server/api/mailInteraction/mailInteraction.rpc.js b/server/api/mailInteraction/mailInteraction.rpc.js index 0845972..e4e6a30 100644 --- a/server/api/mailInteraction/mailInteraction.rpc.js +++ b/server/api/mailInteraction/mailInteraction.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xa45c=['addTags','ids','AddTags','catch','lodash','util','randomstring','../../mysqldb','../../config/logger','jayson/promise','client','http','redis','localhost','socket.io-emitter','./mailInteraction.socket','request','then','info','MailInteraction,\x20%s,\x20%s','request\x20sent','debug','stringify','error','code','message','result','UpdateMailInteraction','MailInteraction','body','options','raw','where','limit','AddTagsToMailInteraction'];(function(_0x3415de,_0x537e52){var _0x5ef226=function(_0x1a32a3){while(--_0x1a32a3){_0x3415de['push'](_0x3415de['shift']());}};_0x5ef226(++_0x537e52);}(_0xa45c,0x6d));var _0xca45=function(_0x250eb1,_0x37a79d){_0x250eb1=_0x250eb1-0x0;var _0x1837e2=_0xa45c[_0x250eb1];return _0x1837e2;};'use strict';var _=require(_0xca45('0x0'));var util=require(_0xca45('0x1'));var moment=require('moment');var BPromise=require('bluebird');var rs=require(_0xca45('0x2'));var fs=require('fs');var Redis=require('ioredis');var db=require(_0xca45('0x3'))['db'];var utils=require('../../config/utils');var logger=require(_0xca45('0x4'))('rpc');var config=require('../../config/environment');var jayson=require(_0xca45('0x5'));var client=jayson[_0xca45('0x6')][_0xca45('0x7')]({'port':0x232a});config[_0xca45('0x8')]=_['defaults'](config[_0xca45('0x8')],{'host':_0xca45('0x9'),'port':0x18eb});var socket=require(_0xca45('0xa'))(new Redis(config[_0xca45('0x8')]));require(_0xca45('0xb'))['register'](socket);function respondWithRpcPromise(_0xeb0cd9,_0x342542,_0x32afdc){return new BPromise(function(_0x151691,_0x3a551){return client[_0xca45('0xc')](_0xeb0cd9,_0x32afdc)[_0xca45('0xd')](function(_0x4a8692){logger[_0xca45('0xe')](_0xca45('0xf'),_0x342542,_0xca45('0x10'));logger[_0xca45('0x11')]('MailInteraction,\x20%s,\x20%s,\x20%s',_0x342542,_0xca45('0x10'),JSON[_0xca45('0x12')](_0x4a8692));if(_0x4a8692[_0xca45('0x13')]){if(_0x4a8692['error'][_0xca45('0x14')]===0x1f4){logger['error'](_0xca45('0xf'),_0x342542,_0x4a8692[_0xca45('0x13')][_0xca45('0x15')]);return _0x3a551(_0x4a8692[_0xca45('0x13')][_0xca45('0x15')]);}logger[_0xca45('0x13')](_0xca45('0xf'),_0x342542,_0x4a8692['error'][_0xca45('0x15')]);return _0x151691(_0x4a8692['error']['message']);}else{logger[_0xca45('0xe')](_0xca45('0xf'),_0x342542,'request\x20sent');_0x151691(_0x4a8692[_0xca45('0x16')][_0xca45('0x15')]);}})['catch'](function(_0x40540f){logger[_0xca45('0x13')](_0xca45('0xf'),_0x342542,_0x40540f);_0x3a551(_0x40540f);});});}exports[_0xca45('0x17')]=function(_0x5a231d){var _0x3e396b=this;return new Promise(function(_0x295d4b,_0x1a16f1){return db[_0xca45('0x18')]['update'](_0x5a231d[_0xca45('0x19')],{'raw':_0x5a231d[_0xca45('0x1a')]?_0x5a231d[_0xca45('0x1a')][_0xca45('0x1b')]===undefined?!![]:![]:!![],'individualHooks':!![],'where':_0x5a231d[_0xca45('0x1a')]?_0x5a231d[_0xca45('0x1a')][_0xca45('0x1c')]||null:null,'attributes':_0x5a231d[_0xca45('0x1a')]?_0x5a231d[_0xca45('0x1a')]['attributes']||null:null,'limit':_0x5a231d[_0xca45('0x1a')]?_0x5a231d[_0xca45('0x1a')][_0xca45('0x1d')]||null:null})[_0xca45('0xd')](function(_0x242cb1){logger['info']('UpdateMailInteraction',_0x5a231d);logger['debug'](_0xca45('0x17'),_0x5a231d,JSON['stringify'](_0x242cb1));_0x295d4b(_0x242cb1);})['catch'](function(_0x3547cd){logger[_0xca45('0x13')](_0xca45('0x17'),_0x3547cd[_0xca45('0x15')],_0x5a231d);_0x1a16f1(_0x3e396b[_0xca45('0x13')](0x1f4,_0x3547cd['message']));});});};exports[_0xca45('0x1e')]=function(_0x2a5cd4){return new Promise(function(_0x3593a5,_0x4d546c){return db['MailInteraction']['find']({'where':_0x2a5cd4[_0xca45('0x1a')]?_0x2a5cd4[_0xca45('0x1a')]['where']||null:null})[_0xca45('0xd')](function(_0x23173f){if(_0x23173f){return _0x23173f[_0xca45('0x1f')](_0x2a5cd4[_0xca45('0x19')]['ids'],_['omit'](_0x2a5cd4['body'],[_0xca45('0x20'),'id'])||{});}})['spread'](function(_0x5c594d){logger['info'](_0xca45('0x21'),_0x2a5cd4);logger['debug']('AddTags',_0x2a5cd4,JSON[_0xca45('0x12')](_0x5c594d));_0x3593a5(_0x5c594d);})[_0xca45('0x22')](function(_0xa195c9){logger['error'](_0xca45('0x21'),_0xa195c9[_0xca45('0x15')],_0x2a5cd4);_0x4d546c(_this['error'](0x1f4,_0xa195c9[_0xca45('0x15')]));});});}; \ No newline at end of file +var _0x6075=['debug','UpdateMailInteraction','stringify','AddTagsToMailInteraction','find','addTags','ids','omit','spread','AddTags','lodash','util','bluebird','randomstring','../../config/utils','../../config/environment','client','redis','localhost','socket.io-emitter','./mailInteraction.socket','register','request','then','info','MailInteraction,\x20%s,\x20%s','request\x20sent','MailInteraction,\x20%s,\x20%s,\x20%s','error','message','result','catch','MailInteraction','update','body','options','where','attributes','limit'];(function(_0x42032c,_0x29f7e2){var _0x1e3efc=function(_0x443d5f){while(--_0x443d5f){_0x42032c['push'](_0x42032c['shift']());}};_0x1e3efc(++_0x29f7e2);}(_0x6075,0x142));var _0x5607=function(_0x20895b,_0x5b64ee){_0x20895b=_0x20895b-0x0;var _0x5e4bab=_0x6075[_0x20895b];return _0x5e4bab;};'use strict';var _=require(_0x5607('0x0'));var util=require(_0x5607('0x1'));var moment=require('moment');var BPromise=require(_0x5607('0x2'));var rs=require(_0x5607('0x3'));var fs=require('fs');var Redis=require('ioredis');var db=require('../../mysqldb')['db'];var utils=require(_0x5607('0x4'));var logger=require('../../config/logger')('rpc');var config=require(_0x5607('0x5'));var jayson=require('jayson/promise');var client=jayson[_0x5607('0x6')]['http']({'port':0x232a});config[_0x5607('0x7')]=_['defaults'](config[_0x5607('0x7')],{'host':_0x5607('0x8'),'port':0x18eb});var socket=require(_0x5607('0x9'))(new Redis(config[_0x5607('0x7')]));require(_0x5607('0xa'))[_0x5607('0xb')](socket);function respondWithRpcPromise(_0x3769ef,_0x24d65d,_0x16db79){return new BPromise(function(_0x707cf8,_0x2a83b6){return client[_0x5607('0xc')](_0x3769ef,_0x16db79)[_0x5607('0xd')](function(_0x4de2f3){logger[_0x5607('0xe')](_0x5607('0xf'),_0x24d65d,_0x5607('0x10'));logger['debug'](_0x5607('0x11'),_0x24d65d,_0x5607('0x10'),JSON['stringify'](_0x4de2f3));if(_0x4de2f3[_0x5607('0x12')]){if(_0x4de2f3[_0x5607('0x12')]['code']===0x1f4){logger[_0x5607('0x12')]('MailInteraction,\x20%s,\x20%s',_0x24d65d,_0x4de2f3[_0x5607('0x12')][_0x5607('0x13')]);return _0x2a83b6(_0x4de2f3[_0x5607('0x12')][_0x5607('0x13')]);}logger[_0x5607('0x12')](_0x5607('0xf'),_0x24d65d,_0x4de2f3[_0x5607('0x12')][_0x5607('0x13')]);return _0x707cf8(_0x4de2f3[_0x5607('0x12')][_0x5607('0x13')]);}else{logger[_0x5607('0xe')](_0x5607('0xf'),_0x24d65d,_0x5607('0x10'));_0x707cf8(_0x4de2f3[_0x5607('0x14')][_0x5607('0x13')]);}})[_0x5607('0x15')](function(_0x19f817){logger['error']('MailInteraction,\x20%s,\x20%s',_0x24d65d,_0x19f817);_0x2a83b6(_0x19f817);});});}exports['UpdateMailInteraction']=function(_0x5e8cce){var _0x3ae57c=this;return new Promise(function(_0x19ffff,_0x450dd3){return db[_0x5607('0x16')][_0x5607('0x17')](_0x5e8cce[_0x5607('0x18')],{'raw':_0x5e8cce[_0x5607('0x19')]?_0x5e8cce[_0x5607('0x19')]['raw']===undefined?!![]:![]:!![],'individualHooks':!![],'where':_0x5e8cce['options']?_0x5e8cce[_0x5607('0x19')][_0x5607('0x1a')]||null:null,'attributes':_0x5e8cce[_0x5607('0x19')]?_0x5e8cce['options'][_0x5607('0x1b')]||null:null,'limit':_0x5e8cce[_0x5607('0x19')]?_0x5e8cce[_0x5607('0x19')][_0x5607('0x1c')]||null:null})[_0x5607('0xd')](function(_0x44c5ef){logger['info']('UpdateMailInteraction',_0x5e8cce);logger[_0x5607('0x1d')](_0x5607('0x1e'),_0x5e8cce,JSON[_0x5607('0x1f')](_0x44c5ef));_0x19ffff(_0x44c5ef);})['catch'](function(_0x4a0f55){logger[_0x5607('0x12')]('UpdateMailInteraction',_0x4a0f55[_0x5607('0x13')],_0x5e8cce);_0x450dd3(_0x3ae57c[_0x5607('0x12')](0x1f4,_0x4a0f55[_0x5607('0x13')]));});});};exports[_0x5607('0x20')]=function(_0xbb9584){return new Promise(function(_0x5e77de,_0x5bb86c){return db[_0x5607('0x16')][_0x5607('0x21')]({'where':_0xbb9584[_0x5607('0x19')]?_0xbb9584[_0x5607('0x19')][_0x5607('0x1a')]||null:null})[_0x5607('0xd')](function(_0xb29aff){if(_0xb29aff){return _0xb29aff[_0x5607('0x22')](_0xbb9584['body'][_0x5607('0x23')],_[_0x5607('0x24')](_0xbb9584[_0x5607('0x18')],[_0x5607('0x23'),'id'])||{});}})[_0x5607('0x25')](function(_0x3f5449){logger[_0x5607('0xe')](_0x5607('0x26'),_0xbb9584);logger[_0x5607('0x1d')](_0x5607('0x26'),_0xbb9584,JSON['stringify'](_0x3f5449));_0x5e77de(_0x3f5449);})[_0x5607('0x15')](function(_0x5f2f64){logger[_0x5607('0x12')](_0x5607('0x26'),_0x5f2f64[_0x5607('0x13')],_0xbb9584);_0x5bb86c(_this[_0x5607('0x12')](0x1f4,_0x5f2f64[_0x5607('0x13')]));});});}; \ No newline at end of file diff --git a/server/api/mailInteraction/mailInteraction.socket.js b/server/api/mailInteraction/mailInteraction.socket.js index d21dbeb..b253ce9 100644 --- a/server/api/mailInteraction/mailInteraction.socket.js +++ b/server/api/mailInteraction/mailInteraction.socket.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x1155=['update','emit','removeListener','length','mailInteraction:','./mailInteraction.events','remove'];(function(_0x1d5400,_0x567e3c){var _0x21d9fe=function(_0x23fb75){while(--_0x23fb75){_0x1d5400['push'](_0x1d5400['shift']());}};_0x21d9fe(++_0x567e3c);}(_0x1155,0x17f));var _0x5115=function(_0x407ab1,_0x43514b){_0x407ab1=_0x407ab1-0x0;var _0x1bac15=_0x1155[_0x407ab1];return _0x1bac15;};'use strict';var MailInteractionEvents=require(_0x5115('0x0'));var events=['save',_0x5115('0x1'),_0x5115('0x2')];function createListener(_0x2a2d45,_0x100ab7){return function(_0x28262c){_0x100ab7[_0x5115('0x3')](_0x2a2d45,_0x28262c);};}function removeListener(_0x206551,_0x2e963c){return function(){MailInteractionEvents[_0x5115('0x4')](_0x206551,_0x2e963c);};}exports['register']=function(_0x27ae13){for(var _0x371fe8=0x0,_0xd7273c=events[_0x5115('0x5')];_0x371fe8<_0xd7273c;_0x371fe8++){var _0x583b44=events[_0x371fe8];var _0x4d215a=createListener(_0x5115('0x6')+_0x583b44,_0x27ae13);MailInteractionEvents['on'](_0x583b44,_0x4d215a);}}; \ No newline at end of file +var _0x6c52=['save','update','emit','register','mailInteraction:','./mailInteraction.events'];(function(_0x20dcff,_0x3c3660){var _0x11ef88=function(_0x3eb114){while(--_0x3eb114){_0x20dcff['push'](_0x20dcff['shift']());}};_0x11ef88(++_0x3c3660);}(_0x6c52,0x131));var _0x26c5=function(_0x50b708,_0x4ab973){_0x50b708=_0x50b708-0x0;var _0x4a7c74=_0x6c52[_0x50b708];return _0x4a7c74;};'use strict';var MailInteractionEvents=require(_0x26c5('0x0'));var events=[_0x26c5('0x1'),'remove',_0x26c5('0x2')];function createListener(_0x259db3,_0x38123a){return function(_0x5eb10b){_0x38123a[_0x26c5('0x3')](_0x259db3,_0x5eb10b);};}function removeListener(_0x3f82b6,_0x326829){return function(){MailInteractionEvents['removeListener'](_0x3f82b6,_0x326829);};}exports[_0x26c5('0x4')]=function(_0x2534ca){for(var _0x220150=0x0,_0x408957=events['length'];_0x220150<_0x408957;_0x220150++){var _0x6948f4=events[_0x220150];var _0x115828=createListener(_0x26c5('0x5')+_0x6948f4,_0x2534ca);MailInteractionEvents['on'](_0x6948f4,_0x115828);}}; \ No newline at end of file diff --git a/server/api/mailMessage/index.js b/server/api/mailMessage/index.js index f6b91f2..fb48d05 100644 --- a/server/api/mailMessage/index.js +++ b/server/api/mailMessage/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x98a8=['./mailMessage.controller','get','isAuthenticated','index','/describe','describe','/:id','show','/:id/download','download','post','mail','create','update','accept','put','/:id/reject','reject','delete','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../config/environment'];(function(_0x725b8e,_0xc22b48){var _0x43ac45=function(_0x46bb4a){while(--_0x46bb4a){_0x725b8e['push'](_0x725b8e['shift']());}};_0x43ac45(++_0xc22b48);}(_0x98a8,0x12c));var _0x898a=function(_0x269e20,_0x37fa24){_0x269e20=_0x269e20-0x0;var _0x596ef0=_0x98a8[_0x269e20];return _0x596ef0;};'use strict';var multer=require(_0x898a('0x0'));var util=require(_0x898a('0x1'));var path=require(_0x898a('0x2'));var timeout=require(_0x898a('0x3'));var express=require(_0x898a('0x4'));var router=express[_0x898a('0x5')]();var auth=require(_0x898a('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x898a('0x7'));var controller=require(_0x898a('0x8'));router[_0x898a('0x9')]('/',auth[_0x898a('0xa')](),controller[_0x898a('0xb')]);router['get'](_0x898a('0xc'),auth['isAuthenticated'](),controller[_0x898a('0xd')]);router['get'](_0x898a('0xe'),auth[_0x898a('0xa')](),controller[_0x898a('0xf')]);router[_0x898a('0x9')](_0x898a('0x10'),auth[_0x898a('0xa')](),controller[_0x898a('0x11')]);router[_0x898a('0x12')]('/',auth[_0x898a('0xa')](),interaction['tracked'](_0x898a('0x13'),'mailmessage:create'),controller[_0x898a('0x14')]);router['put'](_0x898a('0xe'),auth[_0x898a('0xa')](),controller[_0x898a('0x15')]);router['put']('/:id/accept',auth['isAuthenticated'](),controller[_0x898a('0x16')]);router[_0x898a('0x17')](_0x898a('0x18'),auth[_0x898a('0xa')](),controller[_0x898a('0x19')]);router[_0x898a('0x1a')]('/:id',auth[_0x898a('0xa')](),controller['destroy']);module[_0x898a('0x1b')]=router; \ No newline at end of file +var _0xf3cd=['accept','/:id/reject','reject','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/interaction/service','../../config/environment','./mailMessage.controller','isAuthenticated','index','get','/describe','describe','/:id','/:id/download','download','post','tracked','mail','mailmessage:create','create','put','update','/:id/accept'];(function(_0x400096,_0x101dc3){var _0x31755a=function(_0x2d29b4){while(--_0x2d29b4){_0x400096['push'](_0x400096['shift']());}};_0x31755a(++_0x101dc3);}(_0xf3cd,0xfe));var _0xdf3c=function(_0x50e7e0,_0x5affce){_0x50e7e0=_0x50e7e0-0x0;var _0x1a0307=_0xf3cd[_0x50e7e0];return _0x1a0307;};'use strict';var multer=require(_0xdf3c('0x0'));var util=require(_0xdf3c('0x1'));var path=require(_0xdf3c('0x2'));var timeout=require(_0xdf3c('0x3'));var express=require(_0xdf3c('0x4'));var router=express[_0xdf3c('0x5')]();var auth=require('../../components/auth/service');var interaction=require(_0xdf3c('0x6'));var config=require(_0xdf3c('0x7'));var controller=require(_0xdf3c('0x8'));router['get']('/',auth[_0xdf3c('0x9')](),controller[_0xdf3c('0xa')]);router[_0xdf3c('0xb')](_0xdf3c('0xc'),auth[_0xdf3c('0x9')](),controller[_0xdf3c('0xd')]);router['get'](_0xdf3c('0xe'),auth['isAuthenticated'](),controller['show']);router[_0xdf3c('0xb')](_0xdf3c('0xf'),auth['isAuthenticated'](),controller[_0xdf3c('0x10')]);router[_0xdf3c('0x11')]('/',auth[_0xdf3c('0x9')](),interaction[_0xdf3c('0x12')](_0xdf3c('0x13'),_0xdf3c('0x14')),controller[_0xdf3c('0x15')]);router[_0xdf3c('0x16')]('/:id',auth[_0xdf3c('0x9')](),controller[_0xdf3c('0x17')]);router[_0xdf3c('0x16')](_0xdf3c('0x18'),auth['isAuthenticated'](),controller[_0xdf3c('0x19')]);router[_0xdf3c('0x16')](_0xdf3c('0x1a'),auth['isAuthenticated'](),controller[_0xdf3c('0x1b')]);router[_0xdf3c('0x1c')](_0xdf3c('0xe'),auth[_0xdf3c('0x9')](),controller[_0xdf3c('0x1d')]);module[_0xdf3c('0x1e')]=router; \ No newline at end of file diff --git a/server/api/mailMessage/mailMessage.attributes.js b/server/api/mailMessage/mailMessage.attributes.js index a00c0ec..21e5468 100644 --- a/server/api/mailMessage/mailMessage.attributes.js +++ b/server/api/mailMessage/mailMessage.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xbcae=['INTEGER','sequelize','lodash','exports','TEXT','long','medium','BOOLEAN','ENUM','out','STRING','DATE'];(function(_0x46428c,_0x20ab75){var _0x16a677=function(_0x2b0817){while(--_0x2b0817){_0x46428c['push'](_0x46428c['shift']());}};_0x16a677(++_0x20ab75);}(_0xbcae,0xa9));var _0xebca=function(_0x1a1e04,_0x4bc62e){_0x1a1e04=_0x1a1e04-0x0;var _0x32e009=_0xbcae[_0x1a1e04];return _0x32e009;};'use strict';var Sequelize=require(_0xebca('0x0'));var _=require(_0xebca('0x1'));module[_0xebca('0x2')]={'body':{'type':Sequelize[_0xebca('0x3')](_0xebca('0x4')),'allowNull':![]},'plainBody':{'type':Sequelize[_0xebca('0x3')](_0xebca('0x5'))},'read':{'type':Sequelize[_0xebca('0x6')],'defaultValue':![]},'direction':{'type':Sequelize[_0xebca('0x7')]('in',_0xebca('0x8')),'defaultValue':'out','allowNull':![]},'messageId':{'type':Sequelize[_0xebca('0x9')](0x1fe)},'from':{'type':Sequelize[_0xebca('0x9')]},'to':{'type':Sequelize['TEXT'](_0xebca('0x4'))},'cc':{'type':Sequelize[_0xebca('0x3')](_0xebca('0x4'))},'bcc':{'type':Sequelize['TEXT'](_0xebca('0x4'))},'subject':{'type':Sequelize[_0xebca('0x3')]},'sentAt':{'type':Sequelize[_0xebca('0xa')]},'attach':{'type':Sequelize[_0xebca('0xb')],'defaultValue':0x0},'secret':{'type':Sequelize[_0xebca('0x6')],'defaultValue':![]},'readAt':{'type':Sequelize[_0xebca('0xa')]},'originTo':{'type':Sequelize['TEXT']('long')},'originCc':{'type':Sequelize['TEXT'](_0xebca('0x4'))}}; \ No newline at end of file +var _0xf0f1=['long','DATE','lodash','exports','TEXT','medium','ENUM','out','STRING'];(function(_0x1ae8ab,_0x6e5c2a){var _0x1ad705=function(_0x1dfa15){while(--_0x1dfa15){_0x1ae8ab['push'](_0x1ae8ab['shift']());}};_0x1ad705(++_0x6e5c2a);}(_0xf0f1,0x110));var _0x1f0f=function(_0x178856,_0x41f045){_0x178856=_0x178856-0x0;var _0x3c7fe7=_0xf0f1[_0x178856];return _0x3c7fe7;};'use strict';var Sequelize=require('sequelize');var _=require(_0x1f0f('0x0'));module[_0x1f0f('0x1')]={'body':{'type':Sequelize[_0x1f0f('0x2')]('long'),'allowNull':![]},'plainBody':{'type':Sequelize['TEXT'](_0x1f0f('0x3'))},'read':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'direction':{'type':Sequelize[_0x1f0f('0x4')]('in','out'),'defaultValue':_0x1f0f('0x5'),'allowNull':![]},'messageId':{'type':Sequelize[_0x1f0f('0x6')](0x1fe)},'from':{'type':Sequelize[_0x1f0f('0x6')]},'to':{'type':Sequelize['TEXT'](_0x1f0f('0x7'))},'cc':{'type':Sequelize[_0x1f0f('0x2')](_0x1f0f('0x7'))},'bcc':{'type':Sequelize[_0x1f0f('0x2')](_0x1f0f('0x7'))},'subject':{'type':Sequelize[_0x1f0f('0x2')]},'sentAt':{'type':Sequelize[_0x1f0f('0x8')]},'attach':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'secret':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'readAt':{'type':Sequelize[_0x1f0f('0x8')]},'originTo':{'type':Sequelize[_0x1f0f('0x2')]('long')},'originCc':{'type':Sequelize[_0x1f0f('0x2')](_0x1f0f('0x7'))}}; \ No newline at end of file diff --git a/server/api/mailMessage/mailMessage.controller.js b/server/api/mailMessage/mailMessage.controller.js index 96306c4..2b6887c 100644 --- a/server/api/mailMessage/mailMessage.controller.js +++ b/server/api/mailMessage/mailMessage.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xa276=['../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','redis','defaults','localhost','./mailMessage.socket','register','jayson/promise','http','client','test','Sequelize','ValidationError','The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.','request','then','request\x20sent','debug','stringify','error','code','MailMessage,\x20%s,\x20%s','message','info','sendStatus','status','json','count','limit','set','Content-Range','apply','reject','update','destroy','end','stack','name','send','index','map','MailMessage','rawAttributes','fieldName','type','keys','query','model','attributes','intersection','fields','length','hasOwnProperty','nolimit','offset','order','sort','where','filters','pick','filter','merge','VIRTUAL','include','show','params','includeAll','options','body','find','catch','describe','create','direction','secret','split','MailAccount','findOne','MailAccountId','CmList','List','CmContact','Contacts','updatedAt','DESC','MailServerOut','Smtp','isNil','service','host','port','secure','auth','user','pass','attachments','join','server/files/attachments','ListId','List\x20not\x20found','SendMail','messageId','format','mail-interactions','accept','mail','read','readAt','UserId','get','read1stAt','interaction','[MAILMESSAGE:ACCEPT]\x20id=%s\x20name=%s\x20role=%s\x20interaction=%s\x20body=%s','role','interface','SIP/%s','channel','event','EventManager','acceptmessage','agent','MailInteraction','MailInteractionId','[MAILMESSAGE:REJECT]\x20id=%s\x20name=%s\x20role=%s\x20interaction=%s\x20body=%s','null','RejectMessage','rejectMessage','download','unix','toString','root','server','files','tmp','message-%s.eml','from','bcc','subject','createdAt','Attachment','Attachments','ddd,\x20DD\x20MMM\x20YYYY\x20HH:mm:ss\x20ZZ','headers','Bcc','basename','existsSync','readFileSync','build','writeFileSync','err','unlinkSync','eml-format','rimraf','fast-json-patch','request-promise','bluebird','mustache','util','sox','to-csv','ejs','squel','querystring','papaparse','ioredis','../../components/parsers/advancedSearch','../../config/license/hardware'];(function(_0x3036ed,_0x5684b0){var _0x4c8289=function(_0x12322d){while(--_0x12322d){_0x3036ed['push'](_0x3036ed['shift']());}};_0x4c8289(++_0x5684b0);}(_0xa276,0x9a));var _0x6a27=function(_0x4be00f,_0xe0a99d){_0x4be00f=_0x4be00f-0x0;var _0x26bda6=_0xa276[_0x4be00f];return _0x26bda6;};'use strict';var pdf=require('html-pdf');var emlformat=require(_0x6a27('0x0'));var rimraf=require(_0x6a27('0x1'));var zipdir=require('zip-dir');var jsonpatch=require(_0x6a27('0x2'));var rp=require(_0x6a27('0x3'));var moment=require('moment');var BPromise=require(_0x6a27('0x4'));var Mustache=require(_0x6a27('0x5'));var util=require(_0x6a27('0x6'));var path=require('path');var sox=require(_0x6a27('0x7'));var csv=require(_0x6a27('0x8'));var ejs=require(_0x6a27('0x9'));var fs=require('fs');var _=require('lodash');var squel=require(_0x6a27('0xa'));var crypto=require('crypto');var jsforce=require('jsforce');var deskjs=require('desk.js');var toCsv=require('to-csv');var querystring=require(_0x6a27('0xb'));var Papa=require(_0x6a27('0xc'));var Redis=require(_0x6a27('0xd'));var authService=require('../../components/auth/service');var qs=require('../../components/parsers/qs');var as=require(_0x6a27('0xe'));var hardwareService=require(_0x6a27('0xf'));var logger=require(_0x6a27('0x10'))(_0x6a27('0x11'));var utils=require(_0x6a27('0x12'));var config=require(_0x6a27('0x13'));var db=require(_0x6a27('0x14'))['db'];config[_0x6a27('0x15')]=_[_0x6a27('0x16')](config['redis'],{'host':_0x6a27('0x17'),'port':0x18eb});var socket=require('socket.io-emitter')(new Redis(config['redis']));require(_0x6a27('0x18'))[_0x6a27('0x19')](socket);var jayson=require(_0x6a27('0x1a'));var client=jayson['client'][_0x6a27('0x1b')]({'port':0x232c});var client9003=jayson[_0x6a27('0x1c')][_0x6a27('0x1b')]({'port':0x232b});var client9002=jayson[_0x6a27('0x1c')][_0x6a27('0x1b')]({'port':0x232a});function checkPasswordPattern(_0x523e6d,_0x57a347,_0xcd0e2b){if(_0xcd0e2b){var _0x5bb1f3=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0x5bb1f3[_0x6a27('0x1d')](_0x57a347)){return _0x523e6d;}else{throw new db[(_0x6a27('0x1e'))][(_0x6a27('0x1f'))](_0x6a27('0x20'));}}else{return _0x523e6d;}}function respondWithRpcPromise(_0x5ea244,_0x3fd414,_0x40ee4a,_0x118d7e){return new BPromise(function(_0x192255,_0x50ddcc){var _0x20654c=_0x118d7e||client;return _0x20654c[_0x6a27('0x21')](_0x5ea244,_0x40ee4a)[_0x6a27('0x22')](function(_0xa11b89){logger['info']('MailMessage,\x20%s,\x20%s',_0x3fd414,_0x6a27('0x23'));logger[_0x6a27('0x24')]('MailMessage,\x20%s,\x20%s,\x20%s',_0x3fd414,_0x6a27('0x23'),JSON[_0x6a27('0x25')](_0xa11b89));if(_0xa11b89[_0x6a27('0x26')]){if(_0xa11b89[_0x6a27('0x26')][_0x6a27('0x27')]===0x1f4){logger[_0x6a27('0x26')](_0x6a27('0x28'),_0x3fd414,_0xa11b89[_0x6a27('0x26')]['message']);return _0x50ddcc(_0xa11b89[_0x6a27('0x26')][_0x6a27('0x29')]);}logger[_0x6a27('0x26')](_0x6a27('0x28'),_0x3fd414,_0xa11b89[_0x6a27('0x26')]['message']);return _0x192255(_0xa11b89['error'][_0x6a27('0x29')]);}else{logger[_0x6a27('0x2a')](_0x6a27('0x28'),_0x3fd414,_0x6a27('0x23'));_0x192255(_0xa11b89['result'][_0x6a27('0x29')]);}})['catch'](function(_0x5cb004){logger[_0x6a27('0x26')](_0x6a27('0x28'),_0x3fd414,_0x5cb004);_0x50ddcc(_0x5cb004);});});}function respondWithStatusCode(_0x4d1711,_0x15cde4){_0x15cde4=_0x15cde4||0xcc;return function(_0x52cc5d){if(_0x52cc5d){return _0x4d1711[_0x6a27('0x2b')](_0x15cde4);}return _0x4d1711[_0x6a27('0x2c')](_0x15cde4)['end']();};}function respondWithResult(_0x20d257,_0x3cc1b2){_0x3cc1b2=_0x3cc1b2||0xc8;return function(_0x3a1415){if(_0x3a1415){return _0x20d257[_0x6a27('0x2c')](_0x3cc1b2)[_0x6a27('0x2d')](_0x3a1415);}};}function respondWithFilteredResult(_0x3c7ae0,_0x29f33f){return function(_0x1d37f2){if(_0x1d37f2){var _0x588df7=_0x1d37f2[_0x6a27('0x2e')],_0x46435a=_0x29f33f['offset'],_0x10fc65=_0x29f33f['offset']+_0x29f33f[_0x6a27('0x2f')],_0x1dddfb;if(_0x10fc65>=_0x588df7){_0x10fc65=_0x588df7;_0x1dddfb=0xc8;}else{_0x1dddfb=0xce;}_0x3c7ae0['status'](_0x1dddfb);return _0x3c7ae0[_0x6a27('0x30')](_0x6a27('0x31'),_0x46435a+'-'+_0x10fc65+'/'+_0x588df7)[_0x6a27('0x2d')](_0x1d37f2);}return null;};}function patchUpdates(_0x5beac8){return function(_0x1ab3b0){try{jsonpatch[_0x6a27('0x32')](_0x1ab3b0,_0x5beac8,!![]);}catch(_0x2de7c4){return BPromise[_0x6a27('0x33')](_0x2de7c4);}return _0x1ab3b0['save']();};}function saveUpdates(_0xbb3d4,_0x574df6){return function(_0x1529c6){if(_0x1529c6){return _0x1529c6[_0x6a27('0x34')](_0xbb3d4)[_0x6a27('0x22')](function(_0x1a96e4){return _0x1a96e4;});}return null;};}function removeEntity(_0x164d6f,_0x47d628){return function(_0xabaac8){if(_0xabaac8){return _0xabaac8[_0x6a27('0x35')]()['then'](function(){_0x164d6f['status'](0xcc)[_0x6a27('0x36')]();});}};}function handleEntityNotFound(_0x16683d,_0x28b1bc){return function(_0x34e672){if(!_0x34e672){_0x16683d[_0x6a27('0x2b')](0x194);}return _0x34e672;};}function handleError(_0x3c3ad2,_0x556b2a){_0x556b2a=_0x556b2a||0x1f4;return function(_0x2d5ab3){logger['error'](_0x2d5ab3[_0x6a27('0x37')]);if(_0x2d5ab3[_0x6a27('0x38')]){delete _0x2d5ab3[_0x6a27('0x38')];}_0x3c3ad2[_0x6a27('0x2c')](_0x556b2a)[_0x6a27('0x39')](_0x2d5ab3);};}exports[_0x6a27('0x3a')]=function(_0x46e7cd,_0x3cf7a1){var _0x55020d={},_0x43c9f3={},_0x5d390a={'count':0x0,'rows':[]};var _0x49b8a5=_[_0x6a27('0x3b')](db[_0x6a27('0x3c')][_0x6a27('0x3d')],function(_0x2c7e17){return{'name':_0x2c7e17[_0x6a27('0x3e')],'type':_0x2c7e17[_0x6a27('0x3f')]['key']};});_0x43c9f3['model']=_[_0x6a27('0x3b')](_0x49b8a5,_0x6a27('0x38'));_0x43c9f3['query']=_[_0x6a27('0x40')](_0x46e7cd[_0x6a27('0x41')]);_0x43c9f3['filters']=_['intersection'](_0x43c9f3[_0x6a27('0x42')],_0x43c9f3['query']);_0x55020d[_0x6a27('0x43')]=_[_0x6a27('0x44')](_0x43c9f3[_0x6a27('0x42')],qs[_0x6a27('0x45')](_0x46e7cd['query'][_0x6a27('0x45')]));_0x55020d[_0x6a27('0x43')]=_0x55020d['attributes'][_0x6a27('0x46')]?_0x55020d['attributes']:_0x43c9f3[_0x6a27('0x42')];if(!_0x46e7cd[_0x6a27('0x41')][_0x6a27('0x47')](_0x6a27('0x48'))){_0x55020d['limit']=qs['limit'](_0x46e7cd[_0x6a27('0x41')][_0x6a27('0x2f')]);_0x55020d[_0x6a27('0x49')]=qs[_0x6a27('0x49')](_0x46e7cd[_0x6a27('0x41')]['offset']);}_0x55020d[_0x6a27('0x4a')]=qs[_0x6a27('0x4b')](_0x46e7cd[_0x6a27('0x41')][_0x6a27('0x4b')]);_0x55020d[_0x6a27('0x4c')]=qs[_0x6a27('0x4d')](_[_0x6a27('0x4e')](_0x46e7cd[_0x6a27('0x41')],_0x43c9f3[_0x6a27('0x4d')]),_0x49b8a5);if(_0x46e7cd[_0x6a27('0x41')][_0x6a27('0x4f')]){_0x55020d[_0x6a27('0x4c')]=_[_0x6a27('0x50')](_0x55020d[_0x6a27('0x4c')],{'$or':_[_0x6a27('0x3b')](_0x49b8a5,function(_0x93274c){if(_0x93274c[_0x6a27('0x3f')]!==_0x6a27('0x51')){var _0x6e67e={};_0x6e67e[_0x93274c[_0x6a27('0x38')]]={'$like':'%'+_0x46e7cd[_0x6a27('0x41')]['filter']+'%'};return _0x6e67e;}})});}_0x55020d=_[_0x6a27('0x50')]({},_0x55020d,_0x46e7cd['options']);var _0x5b8948={'where':_0x55020d[_0x6a27('0x4c')]};return db[_0x6a27('0x3c')][_0x6a27('0x2e')](_0x5b8948)[_0x6a27('0x22')](function(_0x5290ef){_0x5d390a[_0x6a27('0x2e')]=_0x5290ef;if(_0x46e7cd[_0x6a27('0x41')]['includeAll']){_0x55020d[_0x6a27('0x52')]=[{'all':!![]}];}return db['MailMessage']['findAll'](_0x55020d);})[_0x6a27('0x22')](function(_0xf3c0cb){_0x5d390a['rows']=_0xf3c0cb;return _0x5d390a;})[_0x6a27('0x22')](respondWithFilteredResult(_0x3cf7a1,_0x55020d))['catch'](handleError(_0x3cf7a1,null));};exports[_0x6a27('0x53')]=function(_0x19d650,_0x4d3a7a){var _0x5a9b93={'raw':!![],'where':{'id':_0x19d650[_0x6a27('0x54')]['id']}},_0x108c81={};_0x108c81['model']=_[_0x6a27('0x40')](db[_0x6a27('0x3c')][_0x6a27('0x3d')]);_0x108c81[_0x6a27('0x41')]=_[_0x6a27('0x40')](_0x19d650[_0x6a27('0x41')]);_0x108c81['filters']=_[_0x6a27('0x44')](_0x108c81[_0x6a27('0x42')],_0x108c81[_0x6a27('0x41')]);_0x5a9b93['attributes']=_[_0x6a27('0x44')](_0x108c81[_0x6a27('0x42')],qs[_0x6a27('0x45')](_0x19d650[_0x6a27('0x41')][_0x6a27('0x45')]));_0x5a9b93['attributes']=_0x5a9b93['attributes'][_0x6a27('0x46')]?_0x5a9b93['attributes']:_0x108c81[_0x6a27('0x42')];if(_0x19d650[_0x6a27('0x41')][_0x6a27('0x55')]){_0x5a9b93[_0x6a27('0x52')]=[{'all':!![]}];}_0x5a9b93=_[_0x6a27('0x50')]({},_0x5a9b93,_0x19d650[_0x6a27('0x56')]);return db[_0x6a27('0x3c')]['find'](_0x5a9b93)[_0x6a27('0x22')](handleEntityNotFound(_0x4d3a7a,null))[_0x6a27('0x22')](respondWithResult(_0x4d3a7a,null))['catch'](handleError(_0x4d3a7a,null));};exports['update']=function(_0x557cf6,_0x165e6d){if(_0x557cf6[_0x6a27('0x57')]['id']){delete _0x557cf6[_0x6a27('0x57')]['id'];}return db[_0x6a27('0x3c')][_0x6a27('0x58')]({'where':{'id':_0x557cf6[_0x6a27('0x54')]['id']}})[_0x6a27('0x22')](handleEntityNotFound(_0x165e6d,null))[_0x6a27('0x22')](saveUpdates(_0x557cf6[_0x6a27('0x57')],null))[_0x6a27('0x22')](respondWithResult(_0x165e6d,null))[_0x6a27('0x59')](handleError(_0x165e6d,null));};exports[_0x6a27('0x35')]=function(_0x2db053,_0x1a7607){return db[_0x6a27('0x3c')]['find']({'where':{'id':_0x2db053[_0x6a27('0x54')]['id']}})['then'](handleEntityNotFound(_0x1a7607,null))[_0x6a27('0x22')](removeEntity(_0x1a7607,null))[_0x6a27('0x59')](handleError(_0x1a7607,null));};exports[_0x6a27('0x5a')]=function(_0x3b07a3,_0xc501f7){return db['MailMessage'][_0x6a27('0x5a')]()[_0x6a27('0x22')](respondWithResult(_0xc501f7,null))[_0x6a27('0x59')](handleError(_0xc501f7,null));};exports[_0x6a27('0x5b')]=function(_0x3420a1,_0x482caa){return db[_0x6a27('0x3c')][_0x6a27('0x5b')](_0x3420a1['body'])[_0x6a27('0x22')](function(_0x45d2ab){if(_0x45d2ab){if(_0x45d2ab[_0x6a27('0x5c')]==='out'&&!_0x45d2ab[_0x6a27('0x5d')]){var _0x2af79c,_0x1e1cbc,_0x304a10;if(_0x3420a1[_0x6a27('0x57')]['to']){_0x1e1cbc=_0x3420a1[_0x6a27('0x57')]['to'][_0x6a27('0x5e')](',')[0x0];}return db[_0x6a27('0x5f')][_0x6a27('0x60')]({'where':{'id':_0x45d2ab[_0x6a27('0x61')]},'include':[{'model':db[_0x6a27('0x62')],'as':_0x6a27('0x63'),'include':[{'model':db[_0x6a27('0x64')],'as':_0x6a27('0x65'),'where':{'email':_0x1e1cbc},'limit':0x1,'order':[[_0x6a27('0x66'),_0x6a27('0x67')]]}]},{'model':db[_0x6a27('0x68')],'as':_0x6a27('0x69'),'raw':!![]}]})[_0x6a27('0x22')](function(_0x3b44b3){_0x2af79c=_0x3b44b3;if(_0x2af79c&&_0x2af79c[_0x6a27('0x69')]){var _0x2933a4={'tls':{'rejectUnauthorized':![]}};if(_[_0x6a27('0x6a')](_0x2af79c[_0x6a27('0x69')][_0x6a27('0x6b')])){_0x2933a4['host']=_0x2af79c[_0x6a27('0x69')][_0x6a27('0x6c')];_0x2933a4[_0x6a27('0x6d')]=_0x2af79c[_0x6a27('0x69')][_0x6a27('0x6d')];_0x2933a4[_0x6a27('0x6e')]=_0x2af79c[_0x6a27('0x69')][_0x6a27('0x6e')];if(_0x2af79c[_0x6a27('0x69')]['authentication']){_0x2933a4[_0x6a27('0x6f')]={'user':_0x2af79c[_0x6a27('0x69')][_0x6a27('0x70')],'pass':_0x2af79c[_0x6a27('0x69')]['pass']};}}else{_0x2933a4['service']=_0x2af79c['Smtp'][_0x6a27('0x6b')];_0x2933a4[_0x6a27('0x6f')]={'user':_0x2af79c[_0x6a27('0x69')][_0x6a27('0x70')],'pass':_0x2af79c[_0x6a27('0x69')][_0x6a27('0x71')]};_0x2933a4[_0x6a27('0x6e')]=_0x2af79c['Smtp'][_0x6a27('0x6e')];}if(_0x3420a1[_0x6a27('0x57')]['attachments']&&_0x3420a1[_0x6a27('0x57')][_0x6a27('0x72')][_0x6a27('0x46')]){for(var _0x3ac20f=0x0;_0x3ac20f<_0x3420a1['body'][_0x6a27('0x72')]['length'];_0x3ac20f+=0x1){_0x3420a1[_0x6a27('0x57')][_0x6a27('0x72')][_0x3ac20f]={'filename':_0x3420a1[_0x6a27('0x57')][_0x6a27('0x72')][_0x3ac20f][_0x6a27('0x38')],'path':path[_0x6a27('0x73')](config['root'],_0x6a27('0x74'),_0x3420a1[_0x6a27('0x57')][_0x6a27('0x72')][_0x3ac20f]['basename'])};}}_0x304a10={'account':_0x2933a4,'message':_0x3420a1[_0x6a27('0x57')]};return;}})[_0x6a27('0x22')](function(){if(_0x2af79c[_0x6a27('0x63')]){if(_0x2af79c['List'][_0x6a27('0x65')][_0x6a27('0x46')]){return _0x2af79c[_0x6a27('0x63')][_0x6a27('0x65')][0x0];}else{return db[_0x6a27('0x64')]['create'](_['defaults'](_0x3420a1[_0x6a27('0x57')],{'firstName':_0x3420a1['body']['to'],'email':_0x3420a1[_0x6a27('0x57')]['to'],'phone':_0x3420a1['body']['to'],'ListId':_0x2af79c[_0x6a27('0x75')]}));}}else{throw new Error(_0x6a27('0x76'));}})['then'](function(){if(_0x304a10){return respondWithRpcPromise(_0x6a27('0x77'),'sendMail',_0x304a10,client9003)[_0x6a27('0x22')](function(_0x84d0b4){return _0x45d2ab['update']({'read':!![],'messageId':_0x84d0b4[_0x6a27('0x78')],'sentAt':moment()[_0x6a27('0x79')]('YYYY-MM-DD\x20HH:mm:ss')});})[_0x6a27('0x59')](function(_0x197cec){logger[_0x6a27('0x26')]('%s',JSON[_0x6a27('0x25')](_0x197cec));return _0x45d2ab;});}return _0x45d2ab;});}return _0x45d2ab;}})[_0x6a27('0x22')](respondWithResult(_0x482caa,0xc9))[_0x6a27('0x59')](handleError(_0x482caa,null));};var interaction_log=require('../../config/logger')(_0x6a27('0x7a'));exports[_0x6a27('0x7b')]=function(_0x22644b,_0x204549,_0x4d41d8){var _0x2c8c45={'channel':_0x6a27('0x7c')};if(_0x22644b['body']['id']){delete _0x22644b['body']['id'];}_0x22644b['body'][_0x6a27('0x7d')]=!![];_0x22644b[_0x6a27('0x57')][_0x6a27('0x7e')]=moment()[_0x6a27('0x79')]('YYYY-MM-DD\x20HH:mm:ss');_0x22644b[_0x6a27('0x57')][_0x6a27('0x7f')]=_0x22644b[_0x6a27('0x57')][_0x6a27('0x7f')]||_0x22644b[_0x6a27('0x70')]['id'];return db[_0x6a27('0x3c')][_0x6a27('0x58')]({'where':{'id':_0x22644b[_0x6a27('0x54')]['id'],'UserId':null},'include':[{'model':db['CmContact'],'as':'Contact'}]})[_0x6a27('0x22')](handleEntityNotFound(_0x204549,null))[_0x6a27('0x22')](saveUpdates(_0x22644b[_0x6a27('0x57')],null))[_0x6a27('0x22')](function(_0x1f5314){if(_0x1f5314){_0x2c8c45[_0x6a27('0x29')]=_0x1f5314[_0x6a27('0x80')]({'plain':!![]});return db['MailInteraction'][_0x6a27('0x58')]({'where':{'id':_0x1f5314['MailInteractionId']}});}return null;})[_0x6a27('0x22')](handleEntityNotFound(_0x204549,null))[_0x6a27('0x22')](function(_0x467a9a){if(_0x467a9a){return _0x467a9a[_0x6a27('0x34')]({'UserId':_0x22644b[_0x6a27('0x57')][_0x6a27('0x7f')],'read1stAt':_[_0x6a27('0x6a')](_0x467a9a[_0x6a27('0x81')])?moment()['format']('YYYY-MM-DD\x20HH:mm:ss'):undefined});}return null;})[_0x6a27('0x22')](function(_0x510530){if(_0x510530){_0x2c8c45[_0x6a27('0x82')]=_0x510530[_0x6a27('0x80')]({'plain':!![]});interaction_log[_0x6a27('0x2a')](_0x6a27('0x83'),_0x22644b[_0x6a27('0x70')]['id'],_0x22644b[_0x6a27('0x70')][_0x6a27('0x38')],_0x22644b[_0x6a27('0x70')][_0x6a27('0x84')],_0x2c8c45[_0x6a27('0x82')]['id'],_0x22644b['body']?JSON['stringify'](_0x22644b[_0x6a27('0x57')]):'null');return respondWithRpcPromise('AcceptMessage','acceptMessage',_0x2c8c45);}return null;})[_0x6a27('0x22')](function(_0xcbc7aa){if(_0xcbc7aa){if(_0x22644b[_0x6a27('0x57')]['manual']){_0x2c8c45[_0x6a27('0x29')][_0x6a27('0x85')]=util[_0x6a27('0x79')](_0x6a27('0x86'),_0x22644b[_0x6a27('0x70')]['name']);_0x2c8c45[_0x6a27('0x29')]['channel']=_0x2c8c45[_0x6a27('0x87')];_0x2c8c45[_0x6a27('0x29')][_0x6a27('0x88')]=_0x6a27('0x7b');return respondWithRpcPromise(_0x6a27('0x89'),_0x6a27('0x89'),{'event':_0x6a27('0x8a'),'message':_0x2c8c45['message']},client9002)[_0x6a27('0x22')](function(){return _0x2c8c45;});}return _0x2c8c45;}return null;})[_0x6a27('0x22')](respondWithResult(_0x204549,null))['catch'](handleError(_0x204549,null));};var interaction_log=require('../../config/logger')(_0x6a27('0x7a'));exports['reject']=function(_0x379ac3,_0x5140a0,_0x48c47b){var _0x10139c={'agent':{},'channel':_0x6a27('0x7c')};if(_0x379ac3['body']['id']){delete _0x379ac3[_0x6a27('0x57')]['id'];}_0x379ac3[_0x6a27('0x57')]['UserId']=_0x379ac3[_0x6a27('0x57')][_0x6a27('0x7f')]||_0x379ac3[_0x6a27('0x70')]['id'];_0x10139c[_0x6a27('0x8b')]['id']=_0x379ac3[_0x6a27('0x57')][_0x6a27('0x7f')];return db[_0x6a27('0x3c')]['find']({'where':{'id':_0x379ac3[_0x6a27('0x54')]['id'],'UserId':null}})[_0x6a27('0x22')](handleEntityNotFound(_0x5140a0,null))[_0x6a27('0x22')](function(_0x4c52f2){if(_0x4c52f2){_0x10139c[_0x6a27('0x29')]=_0x4c52f2[_0x6a27('0x80')]({'plain':!![]});return db[_0x6a27('0x8c')][_0x6a27('0x58')]({'where':{'id':_0x4c52f2[_0x6a27('0x8d')]}});}return null;})[_0x6a27('0x22')](handleEntityNotFound(_0x5140a0,null))[_0x6a27('0x22')](function(_0x33c15f){if(_0x33c15f){_0x10139c[_0x6a27('0x82')]=_0x33c15f['get']({'plain':!![]});interaction_log[_0x6a27('0x2a')](_0x6a27('0x8e'),_0x379ac3[_0x6a27('0x70')]['id'],_0x379ac3[_0x6a27('0x70')][_0x6a27('0x38')],_0x379ac3[_0x6a27('0x70')]['role'],_0x10139c[_0x6a27('0x82')]['id'],_0x379ac3['body']?JSON[_0x6a27('0x25')](_0x379ac3[_0x6a27('0x57')]):_0x6a27('0x8f'));return respondWithRpcPromise(_0x6a27('0x90'),_0x6a27('0x91'),_0x10139c);}return null;})[_0x6a27('0x22')](function(_0x4432ea){if(_0x4432ea){_0x4432ea[_0x6a27('0x29')][_0x6a27('0x85')]=util[_0x6a27('0x79')](_0x6a27('0x86'),_0x379ac3[_0x6a27('0x70')][_0x6a27('0x38')]);_0x4432ea[_0x6a27('0x29')]['channel']=_0x10139c['channel'];_0x4432ea[_0x6a27('0x29')][_0x6a27('0x88')]=_0x6a27('0x33');respondWithRpcPromise(_0x6a27('0x89'),'EventManager',{'event':'rejectmessage','message':_0x4432ea[_0x6a27('0x29')]},client9002);return _0x10139c;}return null;})[_0x6a27('0x22')](respondWithResult(_0x5140a0,null))[_0x6a27('0x59')](handleError(_0x5140a0,null));};exports[_0x6a27('0x92')]=function(_0x11b88a,_0x629286){var _0x1b0f14=moment()[_0x6a27('0x93')]()[_0x6a27('0x94')]();var _0x5a8629=path[_0x6a27('0x73')](config[_0x6a27('0x95')],_0x6a27('0x96'),_0x6a27('0x97'),_0x6a27('0x98'));var _0x33bff6=path[_0x6a27('0x73')](config[_0x6a27('0x95')],_0x6a27('0x96'),_0x6a27('0x97'),_0x6a27('0x72'));var _0x18a6dd=util['format'](_0x6a27('0x99'),_0x1b0f14);return db[_0x6a27('0x3c')]['find']({'where':{'id':_0x11b88a['params']['id']},'attributes':['id',_0x6a27('0x57'),_0x6a27('0x9a'),'to','cc',_0x6a27('0x9b'),_0x6a27('0x9c'),_0x6a27('0x9d')],'include':_0x11b88a[_0x6a27('0x41')][_0x6a27('0x72')]?[{'model':db[_0x6a27('0x9e')],'as':_0x6a27('0x9f')}]:undefined})[_0x6a27('0x22')](handleEntityNotFound(_0x629286,null))[_0x6a27('0x22')](function(_0x236edd){if(_0x236edd){var _0x3f8599=_0x236edd;var _0x6e786c={'from':_0x3f8599['from'],'to':_0x3f8599['to'],'subject':_0x3f8599[_0x6a27('0x9c')],'html':_0x3f8599['body'],'headers':{'Date':moment(_0x3f8599[_0x6a27('0x9d')])['format'](_0x6a27('0xa0'))},'attachments':[]};if(_0x236edd['cc']){_0x6e786c[_0x6a27('0xa1')]['Cc']=_0x236edd['cc'];}if(_0x236edd['bcc']){_0x6e786c[_0x6a27('0xa1')][_0x6a27('0xa2')]=_0x236edd[_0x6a27('0x9b')];}return new BPromise(function(_0x4ab82c,_0x12ae5c){if(_0x236edd[_0x6a27('0x9f')]){for(var _0x466848=0x0;_0x466848<_0x236edd[_0x6a27('0x9f')]['length'];_0x466848++){var _0x49305e=_0x236edd[_0x6a27('0x9f')][_0x466848];var _0x3ead84=path[_0x6a27('0x73')](_0x33bff6,_0x49305e[_0x6a27('0xa3')]);if(fs[_0x6a27('0xa4')](_0x3ead84)){_0x6e786c[_0x6a27('0x72')]['push']({'name':_0x49305e[_0x6a27('0x38')],'contentType':_0x49305e['type'],'data':fs[_0x6a27('0xa5')](_0x3ead84)});}}}emlformat[_0x6a27('0xa6')](_0x6e786c,function(_0x7c3378,_0xc176a8){if(_0x7c3378)return _0x12ae5c(_0x7c3378);fs[_0x6a27('0xa7')](path['join'](_0x5a8629,_0x18a6dd),_0xc176a8);return _0x4ab82c(_0xc176a8);});});}})['then'](function(_0x2936e3){if(_0x2936e3){return _0x629286[_0x6a27('0x92')](path['join'](_0x5a8629,_0x18a6dd),_0x18a6dd,function(_0x7d4f9a){if(_0x7d4f9a){console['log'](_0x6a27('0xa8'),_0x7d4f9a);}else{fs[_0x6a27('0xa9')](path['join'](_0x5a8629,_0x18a6dd));}});}})[_0x6a27('0x59')](handleError(_0x629286,null));}; \ No newline at end of file +var _0xceee=['rejectmessage','toString','server','files','tmp','message-%s.eml','from','bcc','subject','createdAt','Attachment','Attachments','headers','Bcc','push','build','download','log','err','unlinkSync','html-pdf','eml-format','fast-json-patch','request-promise','moment','bluebird','mustache','util','sox','to-csv','ejs','lodash','jsforce','desk.js','querystring','../../components/auth/service','../../components/parsers/qs','api','../../config/environment','redis','defaults','localhost','socket.io-emitter','./mailMessage.socket','register','client','http','test','Sequelize','ValidationError','The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.','request','then','debug','MailMessage,\x20%s,\x20%s,\x20%s','request\x20sent','stringify','error','code','MailMessage,\x20%s,\x20%s','message','result','catch','sendStatus','status','count','offset','limit','set','Content-Range','json','apply','save','stack','name','index','MailMessage','rawAttributes','fieldName','type','key','model','map','query','keys','filters','attributes','intersection','fields','length','hasOwnProperty','order','sort','where','filter','merge','options','includeAll','include','findAll','rows','show','params','body','destroy','find','describe','create','direction','out','secret','split','MailAccount','CmContact','Contacts','updatedAt','DESC','Smtp','service','host','port','secure','authentication','auth','pass','user','attachments','join','root','server/files/attachments','basename','List','ListId','List\x20not\x20found','SendMail','sendMail','update','messageId','format','../../config/logger','mail-interactions','accept','mail','read','readAt','YYYY-MM-DD\x20HH:mm:ss','UserId','Contact','MailInteraction','MailInteractionId','get','[MAILMESSAGE:ACCEPT]\x20id=%s\x20name=%s\x20role=%s\x20interaction=%s\x20body=%s','role','AcceptMessage','manual','interface','SIP/%s','channel','event','acceptmessage','reject','agent','interaction','info','null','RejectMessage','EventManager'];(function(_0x3b4db5,_0x540d1f){var _0x4fbb2a=function(_0x225d90){while(--_0x225d90){_0x3b4db5['push'](_0x3b4db5['shift']());}};_0x4fbb2a(++_0x540d1f);}(_0xceee,0xbb));var _0xecee=function(_0x2cb95a,_0x38a875){_0x2cb95a=_0x2cb95a-0x0;var _0x47a0d9=_0xceee[_0x2cb95a];return _0x47a0d9;};'use strict';var pdf=require(_0xecee('0x0'));var emlformat=require(_0xecee('0x1'));var rimraf=require('rimraf');var zipdir=require('zip-dir');var jsonpatch=require(_0xecee('0x2'));var rp=require(_0xecee('0x3'));var moment=require(_0xecee('0x4'));var BPromise=require(_0xecee('0x5'));var Mustache=require(_0xecee('0x6'));var util=require(_0xecee('0x7'));var path=require('path');var sox=require(_0xecee('0x8'));var csv=require(_0xecee('0x9'));var ejs=require(_0xecee('0xa'));var fs=require('fs');var _=require(_0xecee('0xb'));var squel=require('squel');var crypto=require('crypto');var jsforce=require(_0xecee('0xc'));var deskjs=require(_0xecee('0xd'));var toCsv=require('to-csv');var querystring=require(_0xecee('0xe'));var Papa=require('papaparse');var Redis=require('ioredis');var authService=require(_0xecee('0xf'));var qs=require(_0xecee('0x10'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require('../../config/license/hardware');var logger=require('../../config/logger')(_0xecee('0x11'));var utils=require('../../config/utils');var config=require(_0xecee('0x12'));var db=require('../../mysqldb')['db'];config[_0xecee('0x13')]=_[_0xecee('0x14')](config[_0xecee('0x13')],{'host':_0xecee('0x15'),'port':0x18eb});var socket=require(_0xecee('0x16'))(new Redis(config[_0xecee('0x13')]));require(_0xecee('0x17'))[_0xecee('0x18')](socket);var jayson=require('jayson/promise');var client=jayson[_0xecee('0x19')][_0xecee('0x1a')]({'port':0x232c});var client9003=jayson[_0xecee('0x19')][_0xecee('0x1a')]({'port':0x232b});var client9002=jayson[_0xecee('0x19')]['http']({'port':0x232a});function checkPasswordPattern(_0x4754df,_0x13fe90,_0x3d8742){if(_0x3d8742){var _0x4651f9=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0x4651f9[_0xecee('0x1b')](_0x13fe90)){return _0x4754df;}else{throw new db[(_0xecee('0x1c'))][(_0xecee('0x1d'))](_0xecee('0x1e'));}}else{return _0x4754df;}}function respondWithRpcPromise(_0x3dbba9,_0x308d2b,_0x11d520,_0x5f484f){return new BPromise(function(_0xeab09f,_0x45a3af){var _0x293dfd=_0x5f484f||client;return _0x293dfd[_0xecee('0x1f')](_0x3dbba9,_0x11d520)[_0xecee('0x20')](function(_0x20efd5){logger['info']('MailMessage,\x20%s,\x20%s',_0x308d2b,'request\x20sent');logger[_0xecee('0x21')](_0xecee('0x22'),_0x308d2b,_0xecee('0x23'),JSON[_0xecee('0x24')](_0x20efd5));if(_0x20efd5[_0xecee('0x25')]){if(_0x20efd5[_0xecee('0x25')][_0xecee('0x26')]===0x1f4){logger[_0xecee('0x25')](_0xecee('0x27'),_0x308d2b,_0x20efd5['error'][_0xecee('0x28')]);return _0x45a3af(_0x20efd5['error'][_0xecee('0x28')]);}logger['error'](_0xecee('0x27'),_0x308d2b,_0x20efd5[_0xecee('0x25')][_0xecee('0x28')]);return _0xeab09f(_0x20efd5[_0xecee('0x25')]['message']);}else{logger['info'](_0xecee('0x27'),_0x308d2b,_0xecee('0x23'));_0xeab09f(_0x20efd5[_0xecee('0x29')]['message']);}})[_0xecee('0x2a')](function(_0x1eff91){logger[_0xecee('0x25')](_0xecee('0x27'),_0x308d2b,_0x1eff91);_0x45a3af(_0x1eff91);});});}function respondWithStatusCode(_0x8f2dd,_0x28393e){_0x28393e=_0x28393e||0xcc;return function(_0x4410d8){if(_0x4410d8){return _0x8f2dd[_0xecee('0x2b')](_0x28393e);}return _0x8f2dd['status'](_0x28393e)['end']();};}function respondWithResult(_0x72ae5f,_0x1d5473){_0x1d5473=_0x1d5473||0xc8;return function(_0x1469f1){if(_0x1469f1){return _0x72ae5f[_0xecee('0x2c')](_0x1d5473)['json'](_0x1469f1);}};}function respondWithFilteredResult(_0x2ba54f,_0x56fdb8){return function(_0x325679){if(_0x325679){var _0x4ab8ba=_0x325679[_0xecee('0x2d')],_0x1f3f6e=_0x56fdb8[_0xecee('0x2e')],_0x9b0921=_0x56fdb8['offset']+_0x56fdb8[_0xecee('0x2f')],_0x170113;if(_0x9b0921>=_0x4ab8ba){_0x9b0921=_0x4ab8ba;_0x170113=0xc8;}else{_0x170113=0xce;}_0x2ba54f[_0xecee('0x2c')](_0x170113);return _0x2ba54f[_0xecee('0x30')](_0xecee('0x31'),_0x1f3f6e+'-'+_0x9b0921+'/'+_0x4ab8ba)[_0xecee('0x32')](_0x325679);}return null;};}function patchUpdates(_0x1ec3f9){return function(_0x4a8260){try{jsonpatch[_0xecee('0x33')](_0x4a8260,_0x1ec3f9,!![]);}catch(_0x39a805){return BPromise['reject'](_0x39a805);}return _0x4a8260[_0xecee('0x34')]();};}function saveUpdates(_0x569da4,_0xe4117b){return function(_0x47b8ff){if(_0x47b8ff){return _0x47b8ff['update'](_0x569da4)[_0xecee('0x20')](function(_0x1de317){return _0x1de317;});}return null;};}function removeEntity(_0x1ec491,_0x49e809){return function(_0x3900f1){if(_0x3900f1){return _0x3900f1['destroy']()[_0xecee('0x20')](function(){_0x1ec491[_0xecee('0x2c')](0xcc)['end']();});}};}function handleEntityNotFound(_0x3f71cf,_0x5f4087){return function(_0x50693b){if(!_0x50693b){_0x3f71cf[_0xecee('0x2b')](0x194);}return _0x50693b;};}function handleError(_0xc0343f,_0x59ad53){_0x59ad53=_0x59ad53||0x1f4;return function(_0x49b658){logger['error'](_0x49b658[_0xecee('0x35')]);if(_0x49b658[_0xecee('0x36')]){delete _0x49b658[_0xecee('0x36')];}_0xc0343f[_0xecee('0x2c')](_0x59ad53)['send'](_0x49b658);};}exports[_0xecee('0x37')]=function(_0x230440,_0x1054e2){var _0x19d1f={},_0x120a88={},_0x4289ab={'count':0x0,'rows':[]};var _0x8b55ba=_['map'](db[_0xecee('0x38')][_0xecee('0x39')],function(_0x38fac2){return{'name':_0x38fac2[_0xecee('0x3a')],'type':_0x38fac2[_0xecee('0x3b')][_0xecee('0x3c')]};});_0x120a88[_0xecee('0x3d')]=_[_0xecee('0x3e')](_0x8b55ba,_0xecee('0x36'));_0x120a88[_0xecee('0x3f')]=_[_0xecee('0x40')](_0x230440[_0xecee('0x3f')]);_0x120a88[_0xecee('0x41')]=_['intersection'](_0x120a88['model'],_0x120a88[_0xecee('0x3f')]);_0x19d1f[_0xecee('0x42')]=_[_0xecee('0x43')](_0x120a88[_0xecee('0x3d')],qs['fields'](_0x230440[_0xecee('0x3f')][_0xecee('0x44')]));_0x19d1f['attributes']=_0x19d1f[_0xecee('0x42')][_0xecee('0x45')]?_0x19d1f['attributes']:_0x120a88[_0xecee('0x3d')];if(!_0x230440['query'][_0xecee('0x46')]('nolimit')){_0x19d1f[_0xecee('0x2f')]=qs['limit'](_0x230440[_0xecee('0x3f')]['limit']);_0x19d1f['offset']=qs[_0xecee('0x2e')](_0x230440[_0xecee('0x3f')][_0xecee('0x2e')]);}_0x19d1f[_0xecee('0x47')]=qs[_0xecee('0x48')](_0x230440[_0xecee('0x3f')][_0xecee('0x48')]);_0x19d1f[_0xecee('0x49')]=qs[_0xecee('0x41')](_['pick'](_0x230440[_0xecee('0x3f')],_0x120a88[_0xecee('0x41')]),_0x8b55ba);if(_0x230440[_0xecee('0x3f')][_0xecee('0x4a')]){_0x19d1f['where']=_[_0xecee('0x4b')](_0x19d1f[_0xecee('0x49')],{'$or':_[_0xecee('0x3e')](_0x8b55ba,function(_0x445f08){if(_0x445f08[_0xecee('0x3b')]!=='VIRTUAL'){var _0x2399c0={};_0x2399c0[_0x445f08[_0xecee('0x36')]]={'$like':'%'+_0x230440[_0xecee('0x3f')][_0xecee('0x4a')]+'%'};return _0x2399c0;}})});}_0x19d1f=_[_0xecee('0x4b')]({},_0x19d1f,_0x230440[_0xecee('0x4c')]);var _0x23398c={'where':_0x19d1f[_0xecee('0x49')]};return db['MailMessage'][_0xecee('0x2d')](_0x23398c)[_0xecee('0x20')](function(_0xbb9a29){_0x4289ab[_0xecee('0x2d')]=_0xbb9a29;if(_0x230440['query'][_0xecee('0x4d')]){_0x19d1f[_0xecee('0x4e')]=[{'all':!![]}];}return db[_0xecee('0x38')][_0xecee('0x4f')](_0x19d1f);})['then'](function(_0x5375b1){_0x4289ab[_0xecee('0x50')]=_0x5375b1;return _0x4289ab;})[_0xecee('0x20')](respondWithFilteredResult(_0x1054e2,_0x19d1f))[_0xecee('0x2a')](handleError(_0x1054e2,null));};exports[_0xecee('0x51')]=function(_0x2ce8f5,_0x9261f9){var _0x4479cf={'raw':!![],'where':{'id':_0x2ce8f5[_0xecee('0x52')]['id']}},_0x2debd8={};_0x2debd8[_0xecee('0x3d')]=_[_0xecee('0x40')](db[_0xecee('0x38')][_0xecee('0x39')]);_0x2debd8[_0xecee('0x3f')]=_['keys'](_0x2ce8f5[_0xecee('0x3f')]);_0x2debd8[_0xecee('0x41')]=_[_0xecee('0x43')](_0x2debd8[_0xecee('0x3d')],_0x2debd8[_0xecee('0x3f')]);_0x4479cf['attributes']=_[_0xecee('0x43')](_0x2debd8[_0xecee('0x3d')],qs['fields'](_0x2ce8f5['query'][_0xecee('0x44')]));_0x4479cf[_0xecee('0x42')]=_0x4479cf[_0xecee('0x42')][_0xecee('0x45')]?_0x4479cf[_0xecee('0x42')]:_0x2debd8[_0xecee('0x3d')];if(_0x2ce8f5[_0xecee('0x3f')][_0xecee('0x4d')]){_0x4479cf[_0xecee('0x4e')]=[{'all':!![]}];}_0x4479cf=_[_0xecee('0x4b')]({},_0x4479cf,_0x2ce8f5[_0xecee('0x4c')]);return db['MailMessage']['find'](_0x4479cf)[_0xecee('0x20')](handleEntityNotFound(_0x9261f9,null))[_0xecee('0x20')](respondWithResult(_0x9261f9,null))[_0xecee('0x2a')](handleError(_0x9261f9,null));};exports['update']=function(_0x26c301,_0x3f6957){if(_0x26c301['body']['id']){delete _0x26c301[_0xecee('0x53')]['id'];}return db['MailMessage']['find']({'where':{'id':_0x26c301[_0xecee('0x52')]['id']}})[_0xecee('0x20')](handleEntityNotFound(_0x3f6957,null))[_0xecee('0x20')](saveUpdates(_0x26c301[_0xecee('0x53')],null))[_0xecee('0x20')](respondWithResult(_0x3f6957,null))[_0xecee('0x2a')](handleError(_0x3f6957,null));};exports[_0xecee('0x54')]=function(_0x14e845,_0x523a94){return db[_0xecee('0x38')][_0xecee('0x55')]({'where':{'id':_0x14e845[_0xecee('0x52')]['id']}})['then'](handleEntityNotFound(_0x523a94,null))['then'](removeEntity(_0x523a94,null))[_0xecee('0x2a')](handleError(_0x523a94,null));};exports['describe']=function(_0xeb2d9e,_0x26768e){return db[_0xecee('0x38')][_0xecee('0x56')]()[_0xecee('0x20')](respondWithResult(_0x26768e,null))['catch'](handleError(_0x26768e,null));};exports[_0xecee('0x57')]=function(_0x3f9e4c,_0x963137){return db[_0xecee('0x38')][_0xecee('0x57')](_0x3f9e4c[_0xecee('0x53')])['then'](function(_0xcac2a6){if(_0xcac2a6){if(_0xcac2a6[_0xecee('0x58')]===_0xecee('0x59')&&!_0xcac2a6[_0xecee('0x5a')]){var _0xaee551,_0x31a488,_0x1abc1e;if(_0x3f9e4c[_0xecee('0x53')]['to']){_0x31a488=_0x3f9e4c['body']['to'][_0xecee('0x5b')](',')[0x0];}return db[_0xecee('0x5c')]['findOne']({'where':{'id':_0xcac2a6['MailAccountId']},'include':[{'model':db['CmList'],'as':'List','include':[{'model':db[_0xecee('0x5d')],'as':_0xecee('0x5e'),'where':{'email':_0x31a488},'limit':0x1,'order':[[_0xecee('0x5f'),_0xecee('0x60')]]}]},{'model':db['MailServerOut'],'as':_0xecee('0x61'),'raw':!![]}]})['then'](function(_0x47a2ec){_0xaee551=_0x47a2ec;if(_0xaee551&&_0xaee551[_0xecee('0x61')]){var _0x45bbad={'tls':{'rejectUnauthorized':![]}};if(_['isNil'](_0xaee551['Smtp'][_0xecee('0x62')])){_0x45bbad[_0xecee('0x63')]=_0xaee551[_0xecee('0x61')]['host'];_0x45bbad[_0xecee('0x64')]=_0xaee551['Smtp'][_0xecee('0x64')];_0x45bbad[_0xecee('0x65')]=_0xaee551['Smtp'][_0xecee('0x65')];if(_0xaee551[_0xecee('0x61')][_0xecee('0x66')]){_0x45bbad[_0xecee('0x67')]={'user':_0xaee551['Smtp']['user'],'pass':_0xaee551[_0xecee('0x61')][_0xecee('0x68')]};}}else{_0x45bbad['service']=_0xaee551[_0xecee('0x61')][_0xecee('0x62')];_0x45bbad['auth']={'user':_0xaee551[_0xecee('0x61')][_0xecee('0x69')],'pass':_0xaee551[_0xecee('0x61')][_0xecee('0x68')]};_0x45bbad[_0xecee('0x65')]=_0xaee551[_0xecee('0x61')][_0xecee('0x65')];}if(_0x3f9e4c[_0xecee('0x53')][_0xecee('0x6a')]&&_0x3f9e4c['body'][_0xecee('0x6a')][_0xecee('0x45')]){for(var _0x52abe8=0x0;_0x52abe8<_0x3f9e4c[_0xecee('0x53')][_0xecee('0x6a')][_0xecee('0x45')];_0x52abe8+=0x1){_0x3f9e4c[_0xecee('0x53')][_0xecee('0x6a')][_0x52abe8]={'filename':_0x3f9e4c[_0xecee('0x53')][_0xecee('0x6a')][_0x52abe8]['name'],'path':path[_0xecee('0x6b')](config[_0xecee('0x6c')],_0xecee('0x6d'),_0x3f9e4c[_0xecee('0x53')][_0xecee('0x6a')][_0x52abe8][_0xecee('0x6e')])};}}_0x1abc1e={'account':_0x45bbad,'message':_0x3f9e4c['body']};return;}})[_0xecee('0x20')](function(){if(_0xaee551[_0xecee('0x6f')]){if(_0xaee551['List']['Contacts'][_0xecee('0x45')]){return _0xaee551['List'][_0xecee('0x5e')][0x0];}else{return db[_0xecee('0x5d')]['create'](_[_0xecee('0x14')](_0x3f9e4c[_0xecee('0x53')],{'firstName':_0x3f9e4c['body']['to'],'email':_0x3f9e4c[_0xecee('0x53')]['to'],'phone':_0x3f9e4c[_0xecee('0x53')]['to'],'ListId':_0xaee551[_0xecee('0x70')]}));}}else{throw new Error(_0xecee('0x71'));}})[_0xecee('0x20')](function(){if(_0x1abc1e){return respondWithRpcPromise(_0xecee('0x72'),_0xecee('0x73'),_0x1abc1e,client9003)[_0xecee('0x20')](function(_0x250b87){return _0xcac2a6[_0xecee('0x74')]({'read':!![],'messageId':_0x250b87[_0xecee('0x75')],'sentAt':moment()[_0xecee('0x76')]('YYYY-MM-DD\x20HH:mm:ss')});})['catch'](function(_0x1bbb9e){logger[_0xecee('0x25')]('%s',JSON[_0xecee('0x24')](_0x1bbb9e));return _0xcac2a6;});}return _0xcac2a6;});}return _0xcac2a6;}})[_0xecee('0x20')](respondWithResult(_0x963137,0xc9))['catch'](handleError(_0x963137,null));};var interaction_log=require(_0xecee('0x77'))(_0xecee('0x78'));exports[_0xecee('0x79')]=function(_0x477862,_0x3af969,_0x4da538){var _0x22b392={'channel':_0xecee('0x7a')};if(_0x477862[_0xecee('0x53')]['id']){delete _0x477862[_0xecee('0x53')]['id'];}_0x477862[_0xecee('0x53')][_0xecee('0x7b')]=!![];_0x477862[_0xecee('0x53')][_0xecee('0x7c')]=moment()[_0xecee('0x76')](_0xecee('0x7d'));_0x477862[_0xecee('0x53')][_0xecee('0x7e')]=_0x477862[_0xecee('0x53')]['UserId']||_0x477862[_0xecee('0x69')]['id'];return db[_0xecee('0x38')][_0xecee('0x55')]({'where':{'id':_0x477862[_0xecee('0x52')]['id'],'UserId':null},'include':[{'model':db[_0xecee('0x5d')],'as':_0xecee('0x7f')}]})[_0xecee('0x20')](handleEntityNotFound(_0x3af969,null))[_0xecee('0x20')](saveUpdates(_0x477862['body'],null))[_0xecee('0x20')](function(_0xf4ab62){if(_0xf4ab62){_0x22b392[_0xecee('0x28')]=_0xf4ab62['get']({'plain':!![]});return db[_0xecee('0x80')][_0xecee('0x55')]({'where':{'id':_0xf4ab62[_0xecee('0x81')]}});}return null;})['then'](handleEntityNotFound(_0x3af969,null))[_0xecee('0x20')](function(_0x5bb00b){if(_0x5bb00b){return _0x5bb00b[_0xecee('0x74')]({'UserId':_0x477862['body']['UserId'],'read1stAt':_['isNil'](_0x5bb00b['read1stAt'])?moment()[_0xecee('0x76')](_0xecee('0x7d')):undefined});}return null;})[_0xecee('0x20')](function(_0x1ce974){if(_0x1ce974){_0x22b392['interaction']=_0x1ce974[_0xecee('0x82')]({'plain':!![]});interaction_log['info'](_0xecee('0x83'),_0x477862[_0xecee('0x69')]['id'],_0x477862[_0xecee('0x69')][_0xecee('0x36')],_0x477862[_0xecee('0x69')][_0xecee('0x84')],_0x22b392['interaction']['id'],_0x477862[_0xecee('0x53')]?JSON['stringify'](_0x477862[_0xecee('0x53')]):'null');return respondWithRpcPromise(_0xecee('0x85'),'acceptMessage',_0x22b392);}return null;})[_0xecee('0x20')](function(_0x4bf3b3){if(_0x4bf3b3){if(_0x477862[_0xecee('0x53')][_0xecee('0x86')]){_0x22b392['message'][_0xecee('0x87')]=util['format'](_0xecee('0x88'),_0x477862[_0xecee('0x69')][_0xecee('0x36')]);_0x22b392['message'][_0xecee('0x89')]=_0x22b392[_0xecee('0x89')];_0x22b392[_0xecee('0x28')][_0xecee('0x8a')]=_0xecee('0x79');return respondWithRpcPromise('EventManager','EventManager',{'event':_0xecee('0x8b'),'message':_0x22b392[_0xecee('0x28')]},client9002)[_0xecee('0x20')](function(){return _0x22b392;});}return _0x22b392;}return null;})[_0xecee('0x20')](respondWithResult(_0x3af969,null))['catch'](handleError(_0x3af969,null));};var interaction_log=require(_0xecee('0x77'))(_0xecee('0x78'));exports[_0xecee('0x8c')]=function(_0x484fd3,_0xde5a86,_0x537da6){var _0xe34036={'agent':{},'channel':'mail'};if(_0x484fd3['body']['id']){delete _0x484fd3[_0xecee('0x53')]['id'];}_0x484fd3['body'][_0xecee('0x7e')]=_0x484fd3['body'][_0xecee('0x7e')]||_0x484fd3['user']['id'];_0xe34036[_0xecee('0x8d')]['id']=_0x484fd3[_0xecee('0x53')][_0xecee('0x7e')];return db[_0xecee('0x38')]['find']({'where':{'id':_0x484fd3[_0xecee('0x52')]['id'],'UserId':null}})[_0xecee('0x20')](handleEntityNotFound(_0xde5a86,null))[_0xecee('0x20')](function(_0xa2aa3){if(_0xa2aa3){_0xe34036[_0xecee('0x28')]=_0xa2aa3[_0xecee('0x82')]({'plain':!![]});return db['MailInteraction'][_0xecee('0x55')]({'where':{'id':_0xa2aa3[_0xecee('0x81')]}});}return null;})[_0xecee('0x20')](handleEntityNotFound(_0xde5a86,null))[_0xecee('0x20')](function(_0x4db7f2){if(_0x4db7f2){_0xe34036[_0xecee('0x8e')]=_0x4db7f2[_0xecee('0x82')]({'plain':!![]});interaction_log[_0xecee('0x8f')]('[MAILMESSAGE:REJECT]\x20id=%s\x20name=%s\x20role=%s\x20interaction=%s\x20body=%s',_0x484fd3[_0xecee('0x69')]['id'],_0x484fd3[_0xecee('0x69')]['name'],_0x484fd3[_0xecee('0x69')]['role'],_0xe34036[_0xecee('0x8e')]['id'],_0x484fd3[_0xecee('0x53')]?JSON[_0xecee('0x24')](_0x484fd3[_0xecee('0x53')]):_0xecee('0x90'));return respondWithRpcPromise(_0xecee('0x91'),'rejectMessage',_0xe34036);}return null;})[_0xecee('0x20')](function(_0x229e1c){if(_0x229e1c){_0x229e1c['message'][_0xecee('0x87')]=util[_0xecee('0x76')](_0xecee('0x88'),_0x484fd3['user'][_0xecee('0x36')]);_0x229e1c['message'][_0xecee('0x89')]=_0xe34036[_0xecee('0x89')];_0x229e1c[_0xecee('0x28')][_0xecee('0x8a')]=_0xecee('0x8c');respondWithRpcPromise(_0xecee('0x92'),'EventManager',{'event':_0xecee('0x93'),'message':_0x229e1c[_0xecee('0x28')]},client9002);return _0xe34036;}return null;})['then'](respondWithResult(_0xde5a86,null))[_0xecee('0x2a')](handleError(_0xde5a86,null));};exports['download']=function(_0x5218a5,_0x587430){var _0x2a0812=moment()['unix']()[_0xecee('0x94')]();var _0x590ad0=path['join'](config[_0xecee('0x6c')],_0xecee('0x95'),_0xecee('0x96'),_0xecee('0x97'));var _0xd59625=path[_0xecee('0x6b')](config[_0xecee('0x6c')],_0xecee('0x95'),_0xecee('0x96'),'attachments');var _0x35b61a=util[_0xecee('0x76')](_0xecee('0x98'),_0x2a0812);return db[_0xecee('0x38')][_0xecee('0x55')]({'where':{'id':_0x5218a5[_0xecee('0x52')]['id']},'attributes':['id',_0xecee('0x53'),_0xecee('0x99'),'to','cc',_0xecee('0x9a'),_0xecee('0x9b'),_0xecee('0x9c')],'include':_0x5218a5['query'][_0xecee('0x6a')]?[{'model':db[_0xecee('0x9d')],'as':_0xecee('0x9e')}]:undefined})[_0xecee('0x20')](handleEntityNotFound(_0x587430,null))[_0xecee('0x20')](function(_0x572fb6){if(_0x572fb6){var _0x188762=_0x572fb6;var _0x2f7864={'from':_0x188762[_0xecee('0x99')],'to':_0x188762['to'],'subject':_0x188762[_0xecee('0x9b')],'html':_0x188762[_0xecee('0x53')],'headers':{'Date':moment(_0x188762[_0xecee('0x9c')])[_0xecee('0x76')]('ddd,\x20DD\x20MMM\x20YYYY\x20HH:mm:ss\x20ZZ')},'attachments':[]};if(_0x572fb6['cc']){_0x2f7864['headers']['Cc']=_0x572fb6['cc'];}if(_0x572fb6['bcc']){_0x2f7864[_0xecee('0x9f')][_0xecee('0xa0')]=_0x572fb6['bcc'];}return new BPromise(function(_0x577c3c,_0x449564){if(_0x572fb6[_0xecee('0x9e')]){for(var _0x6c489b=0x0;_0x6c489b<_0x572fb6[_0xecee('0x9e')][_0xecee('0x45')];_0x6c489b++){var _0x28cbb9=_0x572fb6[_0xecee('0x9e')][_0x6c489b];var _0xad52cb=path[_0xecee('0x6b')](_0xd59625,_0x28cbb9[_0xecee('0x6e')]);if(fs['existsSync'](_0xad52cb)){_0x2f7864[_0xecee('0x6a')][_0xecee('0xa1')]({'name':_0x28cbb9[_0xecee('0x36')],'contentType':_0x28cbb9[_0xecee('0x3b')],'data':fs['readFileSync'](_0xad52cb)});}}}emlformat[_0xecee('0xa2')](_0x2f7864,function(_0x47cfa9,_0x224046){if(_0x47cfa9)return _0x449564(_0x47cfa9);fs['writeFileSync'](path['join'](_0x590ad0,_0x35b61a),_0x224046);return _0x577c3c(_0x224046);});});}})['then'](function(_0x5ac5eb){if(_0x5ac5eb){return _0x587430[_0xecee('0xa3')](path[_0xecee('0x6b')](_0x590ad0,_0x35b61a),_0x35b61a,function(_0x18b39d){if(_0x18b39d){console[_0xecee('0xa4')](_0xecee('0xa5'),_0x18b39d);}else{fs[_0xecee('0xa6')](path[_0xecee('0x6b')](_0x590ad0,_0x35b61a));}});}})[_0xecee('0x2a')](handleError(_0x587430,null));}; \ No newline at end of file diff --git a/server/api/mailMessage/mailMessage.events.js b/server/api/mailMessage/mailMessage.events.js index 2a92a97..74059c2 100644 --- a/server/api/mailMessage/mailMessage.events.js +++ b/server/api/mailMessage/mailMessage.events.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xba85=['save','update','remove','emit','hasOwnProperty','events','MailMessage','setMaxListeners'];(function(_0x2e8ef3,_0x1d7b68){var _0x53feb0=function(_0x26eb0a){while(--_0x26eb0a){_0x2e8ef3['push'](_0x2e8ef3['shift']());}};_0x53feb0(++_0x1d7b68);}(_0xba85,0xfd));var _0x5ba8=function(_0x47c8d5,_0x1e2e75){_0x47c8d5=_0x47c8d5-0x0;var _0x476808=_0xba85[_0x47c8d5];return _0x476808;};'use strict';var EventEmitter=require(_0x5ba8('0x0'));var MailMessage=require('../../mysqldb')['db'][_0x5ba8('0x1')];var MailMessageEvents=new EventEmitter();MailMessageEvents[_0x5ba8('0x2')](0x0);var events={'afterCreate':_0x5ba8('0x3'),'afterUpdate':_0x5ba8('0x4'),'afterDestroy':_0x5ba8('0x5')};function emitEvent(_0x403a18){return function(_0x4b2b83,_0x1c6cf1,_0x15e18d){MailMessageEvents['emit'](_0x403a18+':'+_0x4b2b83['id'],_0x4b2b83);MailMessageEvents[_0x5ba8('0x6')](_0x403a18,_0x4b2b83);_0x15e18d(null);};}for(var e in events){if(events[_0x5ba8('0x7')](e)){var event=events[e];MailMessage['hook'](e,emitEvent(event));}}module['exports']=MailMessageEvents; \ No newline at end of file +var _0x3e3d=['save','remove','emit','hasOwnProperty','exports','../../mysqldb','MailMessage'];(function(_0x550d12,_0x5384bd){var _0x12103d=function(_0x2a9834){while(--_0x2a9834){_0x550d12['push'](_0x550d12['shift']());}};_0x12103d(++_0x5384bd);}(_0x3e3d,0x1a9));var _0xd3e3=function(_0x3b380d,_0x4bf247){_0x3b380d=_0x3b380d-0x0;var _0x54502b=_0x3e3d[_0x3b380d];return _0x54502b;};'use strict';var EventEmitter=require('events');var MailMessage=require(_0xd3e3('0x0'))['db'][_0xd3e3('0x1')];var MailMessageEvents=new EventEmitter();MailMessageEvents['setMaxListeners'](0x0);var events={'afterCreate':_0xd3e3('0x2'),'afterUpdate':'update','afterDestroy':_0xd3e3('0x3')};function emitEvent(_0x1160c8){return function(_0x246c1f,_0x2e20bc,_0x37d2ae){MailMessageEvents[_0xd3e3('0x4')](_0x1160c8+':'+_0x246c1f['id'],_0x246c1f);MailMessageEvents['emit'](_0x1160c8,_0x246c1f);_0x37d2ae(null);};}for(var e in events){if(events[_0xd3e3('0x5')](e)){var event=events[e];MailMessage['hook'](e,emitEvent(event));}}module[_0xd3e3('0x6')]=MailMessageEvents; \ No newline at end of file diff --git a/server/api/mailMessage/mailMessage.model.js b/server/api/mailMessage/mailMessage.model.js index 5263c50..3febbc5 100644 --- a/server/api/mailMessage/mailMessage.model.js +++ b/server/api/mailMessage/mailMessage.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x6709=['define','messageId','plainBody','subject','body','fromString','models','get','direction','toLowerCase','out','UserId','MailInteraction','findOne','MailInteractionId','then','catch','utf8mb4','utf8mb4_unicode_ci','util','../../config/logger','api','moment','bluebird','request-promise','html-to-text','rimraf','../../config/environment','./mailMessage.attributes','exports'];(function(_0x2641f9,_0x26715f){var _0x585741=function(_0x2d1462){while(--_0x2d1462){_0x2641f9['push'](_0x2641f9['shift']());}};_0x585741(++_0x26715f);}(_0x6709,0x17b));var _0x9670=function(_0x17b6e3,_0x4522ed){_0x17b6e3=_0x17b6e3-0x0;var _0x3906f3=_0x6709[_0x17b6e3];return _0x3906f3;};'use strict';var _=require('lodash');var util=require(_0x9670('0x0'));var logger=require(_0x9670('0x1'))(_0x9670('0x2'));var moment=require(_0x9670('0x3'));var BPromise=require(_0x9670('0x4'));var rp=require(_0x9670('0x5'));var htmlToText=require(_0x9670('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0x9670('0x7'));var config=require(_0x9670('0x8'));var attributes=require(_0x9670('0x9'));module[_0x9670('0xa')]=function(_0x238fc0,_0x39d822){return _0x238fc0[_0x9670('0xb')]('MailMessage',attributes,{'tableName':'mail_messages','paranoid':![],'indexes':[{'name':_0x9670('0xc'),'fields':[_0x9670('0xc')]},{'name':'fti_mail_messages','fields':[_0x9670('0xd'),_0x9670('0xe')],'type':'FULLTEXT'}],'timestamps':!![],'hooks':{'beforeCreate':function(_0x8b74fd,_0x183428,_0x13ff5b){if(_0x8b74fd[_0x9670('0xf')]){_0x8b74fd[_0x9670('0xd')]=htmlToText[_0x9670('0x10')](_0x8b74fd[_0x9670('0xf')],{'preserveNewlines':!![],'singleNewLineParagraphs':!![],'uppercaseHeadings':![],'noLinkBrackets':!![],'ignoreImage':!![]});}_0x13ff5b(null,_0x183428);},'afterCreate':function(_0x1e0910,_0x26b017,_0x2598a2){var _0x2d9f07=_0x238fc0[_0x9670('0x11')];var _0x406fb1=_0x1e0910[_0x9670('0x12')]({'plain':!![]});if(_0x406fb1[_0x9670('0x13')]['toLowerCase']()==='in'||_0x406fb1[_0x9670('0x13')][_0x9670('0x14')]()===_0x9670('0x15')&&!_0x406fb1['secret']&&!_['isNil'](_0x406fb1[_0x9670('0x16')])){_0x2d9f07[_0x9670('0x17')][_0x9670('0x18')]({'where':{'id':_0x406fb1[_0x9670('0x19')]}})[_0x9670('0x1a')](function(_0x5aa77c){if(_0x5aa77c){_0x5aa77c['update']({'lastMsgAt':_0x406fb1['createdAt'],'lastMsgDirection':_0x406fb1[_0x9670('0x13')]['toLowerCase'](),'lastMsgBody':_0x406fb1['body']});}})[_0x9670('0x1b')](function(_0x1a6bf){console['error'](_0x1a6bf);});}_0x2598a2();}},'charset':_0x9670('0x1c'),'collate':_0x9670('0x1d')});}; \ No newline at end of file +var _0x79f8=['./mailMessage.attributes','exports','define','mail_messages','messageId','fti_mail_messages','plainBody','subject','body','fromString','models','get','toLowerCase','direction','out','secret','isNil','UserId','findOne','MailInteractionId','then','update','createdAt','catch','error','utf8mb4','utf8mb4_unicode_ci','util','../../config/logger','api','moment','bluebird','html-to-text','path','../../config/environment'];(function(_0x2345cc,_0x61aa6b){var _0x538643=function(_0x2a4c12){while(--_0x2a4c12){_0x2345cc['push'](_0x2345cc['shift']());}};_0x538643(++_0x61aa6b);}(_0x79f8,0x1e2));var _0x879f=function(_0x4acc78,_0x559eaf){_0x4acc78=_0x4acc78-0x0;var _0x35f843=_0x79f8[_0x4acc78];return _0x35f843;};'use strict';var _=require('lodash');var util=require(_0x879f('0x0'));var logger=require(_0x879f('0x1'))(_0x879f('0x2'));var moment=require(_0x879f('0x3'));var BPromise=require(_0x879f('0x4'));var rp=require('request-promise');var htmlToText=require(_0x879f('0x5'));var fs=require('fs');var path=require(_0x879f('0x6'));var rimraf=require('rimraf');var config=require(_0x879f('0x7'));var attributes=require(_0x879f('0x8'));module[_0x879f('0x9')]=function(_0x11e6bd,_0x519b5c){return _0x11e6bd[_0x879f('0xa')]('MailMessage',attributes,{'tableName':_0x879f('0xb'),'paranoid':![],'indexes':[{'name':_0x879f('0xc'),'fields':['messageId']},{'name':_0x879f('0xd'),'fields':[_0x879f('0xe'),_0x879f('0xf')],'type':'FULLTEXT'}],'timestamps':!![],'hooks':{'beforeCreate':function(_0x13dccb,_0x5d12ef,_0x470856){if(_0x13dccb[_0x879f('0x10')]){_0x13dccb[_0x879f('0xe')]=htmlToText[_0x879f('0x11')](_0x13dccb[_0x879f('0x10')],{'preserveNewlines':!![],'singleNewLineParagraphs':!![],'uppercaseHeadings':![],'noLinkBrackets':!![],'ignoreImage':!![]});}_0x470856(null,_0x5d12ef);},'afterCreate':function(_0x1f18f1,_0x50c306,_0x1eeea9){var _0x257f2d=_0x11e6bd[_0x879f('0x12')];var _0x253766=_0x1f18f1[_0x879f('0x13')]({'plain':!![]});if(_0x253766['direction'][_0x879f('0x14')]()==='in'||_0x253766[_0x879f('0x15')][_0x879f('0x14')]()===_0x879f('0x16')&&!_0x253766[_0x879f('0x17')]&&!_[_0x879f('0x18')](_0x253766[_0x879f('0x19')])){_0x257f2d['MailInteraction'][_0x879f('0x1a')]({'where':{'id':_0x253766[_0x879f('0x1b')]}})[_0x879f('0x1c')](function(_0x559923){if(_0x559923){_0x559923[_0x879f('0x1d')]({'lastMsgAt':_0x253766[_0x879f('0x1e')],'lastMsgDirection':_0x253766[_0x879f('0x15')][_0x879f('0x14')](),'lastMsgBody':_0x253766['body']});}})[_0x879f('0x1f')](function(_0x115092){console[_0x879f('0x20')](_0x115092);});}_0x1eeea9();}},'charset':_0x879f('0x21'),'collate':_0x879f('0x22')});}; \ No newline at end of file diff --git a/server/api/mailMessage/mailMessage.rpc.js b/server/api/mailMessage/mailMessage.rpc.js index 9e9498d..6e3929f 100644 --- a/server/api/mailMessage/mailMessage.rpc.js +++ b/server/api/mailMessage/mailMessage.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x539d=['info','MailMessage,\x20%s,\x20%s','request\x20sent','MailMessage,\x20%s,\x20%s,\x20%s','stringify','error','code','message','result','catch','MailMessage','body','options','raw','CreateMailMessage','debug','lodash','moment','bluebird','../../mysqldb','../../config/utils','../../config/logger','rpc','../../config/environment','client','http','redis','defaults','localhost','./mailMessage.socket','register','request','then'];(function(_0x45fc6a,_0x166adb){var _0x14bcfd=function(_0x3ba718){while(--_0x3ba718){_0x45fc6a['push'](_0x45fc6a['shift']());}};_0x14bcfd(++_0x166adb);}(_0x539d,0x17b));var _0xd539=function(_0x45ec0b,_0x260c5d){_0x45ec0b=_0x45ec0b-0x0;var _0x99a3d8=_0x539d[_0x45ec0b];return _0x99a3d8;};'use strict';var _=require(_0xd539('0x0'));var util=require('util');var moment=require(_0xd539('0x1'));var BPromise=require(_0xd539('0x2'));var rs=require('randomstring');var fs=require('fs');var Redis=require('ioredis');var db=require(_0xd539('0x3'))['db'];var utils=require(_0xd539('0x4'));var logger=require(_0xd539('0x5'))(_0xd539('0x6'));var config=require(_0xd539('0x7'));var jayson=require('jayson/promise');var client=jayson[_0xd539('0x8')][_0xd539('0x9')]({'port':0x232a});config[_0xd539('0xa')]=_[_0xd539('0xb')](config[_0xd539('0xa')],{'host':_0xd539('0xc'),'port':0x18eb});var socket=require('socket.io-emitter')(new Redis(config[_0xd539('0xa')]));require(_0xd539('0xd'))[_0xd539('0xe')](socket);function respondWithRpcPromise(_0x9470a2,_0x566b14,_0x586ce8){return new BPromise(function(_0x3f0805,_0x36027a){return client[_0xd539('0xf')](_0x9470a2,_0x586ce8)[_0xd539('0x10')](function(_0x424b1a){logger[_0xd539('0x11')](_0xd539('0x12'),_0x566b14,_0xd539('0x13'));logger['debug'](_0xd539('0x14'),_0x566b14,_0xd539('0x13'),JSON[_0xd539('0x15')](_0x424b1a));if(_0x424b1a[_0xd539('0x16')]){if(_0x424b1a[_0xd539('0x16')][_0xd539('0x17')]===0x1f4){logger['error'](_0xd539('0x12'),_0x566b14,_0x424b1a[_0xd539('0x16')][_0xd539('0x18')]);return _0x36027a(_0x424b1a[_0xd539('0x16')][_0xd539('0x18')]);}logger[_0xd539('0x16')](_0xd539('0x12'),_0x566b14,_0x424b1a[_0xd539('0x16')][_0xd539('0x18')]);return _0x3f0805(_0x424b1a[_0xd539('0x16')][_0xd539('0x18')]);}else{logger['info'](_0xd539('0x12'),_0x566b14,_0xd539('0x13'));_0x3f0805(_0x424b1a[_0xd539('0x19')][_0xd539('0x18')]);}})[_0xd539('0x1a')](function(_0x20e5af){logger[_0xd539('0x16')](_0xd539('0x12'),_0x566b14,_0x20e5af);_0x36027a(_0x20e5af);});});}exports['CreateMailMessage']=function(_0x4ce589){var _0x36fb9d=this;return new Promise(function(_0x360ceb,_0x3edf97){return db[_0xd539('0x1b')]['create'](_0x4ce589[_0xd539('0x1c')],{'raw':_0x4ce589[_0xd539('0x1d')]?_0x4ce589[_0xd539('0x1d')][_0xd539('0x1e')]===undefined?!![]:![]:!![]})[_0xd539('0x10')](function(_0x13445e){logger[_0xd539('0x11')](_0xd539('0x1f'),_0x4ce589);logger[_0xd539('0x20')]('CreateMailMessage',_0x4ce589,JSON[_0xd539('0x15')](_0x13445e));_0x360ceb(_0x13445e);})[_0xd539('0x1a')](function(_0x3563f1){logger['error']('CreateMailMessage',_0x3563f1[_0xd539('0x18')],_0x4ce589);_0x3edf97(_0x36fb9d[_0xd539('0x16')](0x1f4,_0x3563f1[_0xd539('0x18')]));});});}; \ No newline at end of file +var _0xa6b0=['body','options','raw','CreateMailMessage','stringify','lodash','util','randomstring','ioredis','../../mysqldb','../../config/logger','rpc','../../config/environment','jayson/promise','client','http','redis','defaults','localhost','socket.io-emitter','request','then','info','MailMessage,\x20%s,\x20%s','request\x20sent','debug','MailMessage,\x20%s,\x20%s,\x20%s','error','code','message','result','catch','MailMessage','create'];(function(_0x316af7,_0x72e80c){var _0x286d96=function(_0x1c1d7b){while(--_0x1c1d7b){_0x316af7['push'](_0x316af7['shift']());}};_0x286d96(++_0x72e80c);}(_0xa6b0,0xaf));var _0x0a6b=function(_0x480076,_0x1de986){_0x480076=_0x480076-0x0;var _0x54b651=_0xa6b0[_0x480076];return _0x54b651;};'use strict';var _=require(_0x0a6b('0x0'));var util=require(_0x0a6b('0x1'));var moment=require('moment');var BPromise=require('bluebird');var rs=require(_0x0a6b('0x2'));var fs=require('fs');var Redis=require(_0x0a6b('0x3'));var db=require(_0x0a6b('0x4'))['db'];var utils=require('../../config/utils');var logger=require(_0x0a6b('0x5'))(_0x0a6b('0x6'));var config=require(_0x0a6b('0x7'));var jayson=require(_0x0a6b('0x8'));var client=jayson[_0x0a6b('0x9')][_0x0a6b('0xa')]({'port':0x232a});config[_0x0a6b('0xb')]=_[_0x0a6b('0xc')](config[_0x0a6b('0xb')],{'host':_0x0a6b('0xd'),'port':0x18eb});var socket=require(_0x0a6b('0xe'))(new Redis(config[_0x0a6b('0xb')]));require('./mailMessage.socket')['register'](socket);function respondWithRpcPromise(_0x25b93d,_0x100da8,_0xbdb0d0){return new BPromise(function(_0x25ad47,_0x81a412){return client[_0x0a6b('0xf')](_0x25b93d,_0xbdb0d0)[_0x0a6b('0x10')](function(_0x405046){logger[_0x0a6b('0x11')](_0x0a6b('0x12'),_0x100da8,_0x0a6b('0x13'));logger[_0x0a6b('0x14')](_0x0a6b('0x15'),_0x100da8,_0x0a6b('0x13'),JSON['stringify'](_0x405046));if(_0x405046['error']){if(_0x405046[_0x0a6b('0x16')][_0x0a6b('0x17')]===0x1f4){logger[_0x0a6b('0x16')](_0x0a6b('0x12'),_0x100da8,_0x405046[_0x0a6b('0x16')][_0x0a6b('0x18')]);return _0x81a412(_0x405046[_0x0a6b('0x16')][_0x0a6b('0x18')]);}logger[_0x0a6b('0x16')](_0x0a6b('0x12'),_0x100da8,_0x405046['error'][_0x0a6b('0x18')]);return _0x25ad47(_0x405046[_0x0a6b('0x16')]['message']);}else{logger[_0x0a6b('0x11')]('MailMessage,\x20%s,\x20%s',_0x100da8,_0x0a6b('0x13'));_0x25ad47(_0x405046[_0x0a6b('0x19')][_0x0a6b('0x18')]);}})[_0x0a6b('0x1a')](function(_0x5c512a){logger[_0x0a6b('0x16')](_0x0a6b('0x12'),_0x100da8,_0x5c512a);_0x81a412(_0x5c512a);});});}exports['CreateMailMessage']=function(_0x19848c){var _0x3f23b4=this;return new Promise(function(_0x1feb47,_0x491936){return db[_0x0a6b('0x1b')][_0x0a6b('0x1c')](_0x19848c[_0x0a6b('0x1d')],{'raw':_0x19848c['options']?_0x19848c[_0x0a6b('0x1e')][_0x0a6b('0x1f')]===undefined?!![]:![]:!![]})[_0x0a6b('0x10')](function(_0x5e8206){logger[_0x0a6b('0x11')]('CreateMailMessage',_0x19848c);logger[_0x0a6b('0x14')](_0x0a6b('0x20'),_0x19848c,JSON[_0x0a6b('0x21')](_0x5e8206));_0x1feb47(_0x5e8206);})['catch'](function(_0x2bd8b1){logger[_0x0a6b('0x16')](_0x0a6b('0x20'),_0x2bd8b1[_0x0a6b('0x18')],_0x19848c);_0x491936(_0x3f23b4[_0x0a6b('0x16')](0x1f4,_0x2bd8b1['message']));});});}; \ No newline at end of file diff --git a/server/api/mailMessage/mailMessage.socket.js b/server/api/mailMessage/mailMessage.socket.js index 85d0792..c319b8f 100644 --- a/server/api/mailMessage/mailMessage.socket.js +++ b/server/api/mailMessage/mailMessage.socket.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x5977=['./mailMessage.events','save','remove','emit','register'];(function(_0x5280f4,_0x3c36d0){var _0xba93e7=function(_0x14d63a){while(--_0x14d63a){_0x5280f4['push'](_0x5280f4['shift']());}};_0xba93e7(++_0x3c36d0);}(_0x5977,0xeb));var _0x7597=function(_0x46d369,_0x36df10){_0x46d369=_0x46d369-0x0;var _0x5b0fe0=_0x5977[_0x46d369];return _0x5b0fe0;};'use strict';var MailMessageEvents=require(_0x7597('0x0'));var events=[_0x7597('0x1'),_0x7597('0x2'),'update'];function createListener(_0x6fda49,_0x274023){return function(_0x4be061){_0x274023[_0x7597('0x3')](_0x6fda49,_0x4be061);};}function removeListener(_0x495070,_0x9bf757){return function(){MailMessageEvents['removeListener'](_0x495070,_0x9bf757);};}exports[_0x7597('0x4')]=function(_0x3875e1){for(var _0x5302c6=0x0,_0x4caa87=events['length'];_0x5302c6<_0x4caa87;_0x5302c6++){var _0x437fcc=events[_0x5302c6];var _0x1ae294=createListener('mailMessage:'+_0x437fcc,_0x3875e1);MailMessageEvents['on'](_0x437fcc,_0x1ae294);}}; \ No newline at end of file +var _0xc999=['remove','update','removeListener','mailMessage:','save'];(function(_0x4f820a,_0x37f646){var _0xcff2ee=function(_0xd72e67){while(--_0xd72e67){_0x4f820a['push'](_0x4f820a['shift']());}};_0xcff2ee(++_0x37f646);}(_0xc999,0x176));var _0x9c99=function(_0x254abd,_0x1ab7f0){_0x254abd=_0x254abd-0x0;var _0x31bf1b=_0xc999[_0x254abd];return _0x31bf1b;};'use strict';var MailMessageEvents=require('./mailMessage.events');var events=[_0x9c99('0x0'),_0x9c99('0x1'),_0x9c99('0x2')];function createListener(_0x4cf49d,_0x590362){return function(_0x5473fe){_0x590362['emit'](_0x4cf49d,_0x5473fe);};}function removeListener(_0x3cecf2,_0x47e037){return function(){MailMessageEvents[_0x9c99('0x3')](_0x3cecf2,_0x47e037);};}exports['register']=function(_0x35f5f4){for(var _0x1ce762=0x0,_0xe80252=events['length'];_0x1ce762<_0xe80252;_0x1ce762++){var _0xfa25e1=events[_0x1ce762];var _0x323317=createListener(_0x9c99('0x4')+_0xfa25e1,_0x35f5f4);MailMessageEvents['on'](_0xfa25e1,_0x323317);}}; \ No newline at end of file diff --git a/server/api/mailQueue/index.js b/server/api/mailQueue/index.js index bd51d78..ea22046 100644 --- a/server/api/mailQueue/index.js +++ b/server/api/mailQueue/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xfc5a=['express','Router','../../components/interaction/service','./mailQueue.controller','get','isAuthenticated','index','/:id','show','getMembers','/:id/teams','getTeams','/:id/users','post','create','addAgents','put','update','delete','destroy','removeTeams','exports','multer','util','path','connect-timeout'];(function(_0x305c31,_0x466b17){var _0x17f39f=function(_0x53ae03){while(--_0x53ae03){_0x305c31['push'](_0x305c31['shift']());}};_0x17f39f(++_0x466b17);}(_0xfc5a,0x14e));var _0xafc5=function(_0x2493a8,_0x5a240d){_0x2493a8=_0x2493a8-0x0;var _0x2b06c9=_0xfc5a[_0x2493a8];return _0x2b06c9;};'use strict';var multer=require(_0xafc5('0x0'));var util=require(_0xafc5('0x1'));var path=require(_0xafc5('0x2'));var timeout=require(_0xafc5('0x3'));var express=require(_0xafc5('0x4'));var router=express[_0xafc5('0x5')]();var auth=require('../../components/auth/service');var interaction=require(_0xafc5('0x6'));var config=require('../../config/environment');var controller=require(_0xafc5('0x7'));router[_0xafc5('0x8')]('/',auth[_0xafc5('0x9')](),controller[_0xafc5('0xa')]);router[_0xafc5('0x8')]('/describe',auth['isAuthenticated'](),controller['describe']);router[_0xafc5('0x8')](_0xafc5('0xb'),auth[_0xafc5('0x9')](),controller[_0xafc5('0xc')]);router[_0xafc5('0x8')]('/:id/members',auth[_0xafc5('0x9')](),controller[_0xafc5('0xd')]);router['get'](_0xafc5('0xe'),auth['isAuthenticated'](),controller[_0xafc5('0xf')]);router[_0xafc5('0x8')](_0xafc5('0x10'),auth['isAuthenticated'](),controller['getAgents']);router[_0xafc5('0x11')]('/',auth[_0xafc5('0x9')](),controller[_0xafc5('0x12')]);router[_0xafc5('0x11')](_0xafc5('0xe'),auth[_0xafc5('0x9')](),controller['addTeams']);router['post'](_0xafc5('0x10'),auth[_0xafc5('0x9')](),controller[_0xafc5('0x13')]);router[_0xafc5('0x14')](_0xafc5('0xb'),auth[_0xafc5('0x9')](),controller[_0xafc5('0x15')]);router[_0xafc5('0x16')](_0xafc5('0xb'),auth['isAuthenticated'](),controller[_0xafc5('0x17')]);router[_0xafc5('0x16')](_0xafc5('0xe'),auth[_0xafc5('0x9')](),controller[_0xafc5('0x18')]);router[_0xafc5('0x16')]('/:id/users',auth[_0xafc5('0x9')](),controller['removeAgents']);module[_0xafc5('0x19')]=router; \ No newline at end of file +var _0x04b8=['connect-timeout','express','Router','./mailQueue.controller','get','isAuthenticated','index','describe','/:id','show','/:id/members','getMembers','getTeams','/:id/users','post','/:id/teams','addAgents','update','delete','removeTeams','removeAgents','exports','util'];(function(_0x1b3564,_0x16c919){var _0x504069=function(_0x9322b6){while(--_0x9322b6){_0x1b3564['push'](_0x1b3564['shift']());}};_0x504069(++_0x16c919);}(_0x04b8,0xfc));var _0x804b=function(_0x53c256,_0x2936bb){_0x53c256=_0x53c256-0x0;var _0x21a081=_0x04b8[_0x53c256];return _0x21a081;};'use strict';var multer=require('multer');var util=require(_0x804b('0x0'));var path=require('path');var timeout=require(_0x804b('0x1'));var express=require(_0x804b('0x2'));var router=express[_0x804b('0x3')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x804b('0x4'));router[_0x804b('0x5')]('/',auth[_0x804b('0x6')](),controller[_0x804b('0x7')]);router[_0x804b('0x5')]('/describe',auth[_0x804b('0x6')](),controller[_0x804b('0x8')]);router[_0x804b('0x5')](_0x804b('0x9'),auth['isAuthenticated'](),controller[_0x804b('0xa')]);router[_0x804b('0x5')](_0x804b('0xb'),auth[_0x804b('0x6')](),controller[_0x804b('0xc')]);router[_0x804b('0x5')]('/:id/teams',auth['isAuthenticated'](),controller[_0x804b('0xd')]);router['get'](_0x804b('0xe'),auth['isAuthenticated'](),controller['getAgents']);router[_0x804b('0xf')]('/',auth[_0x804b('0x6')](),controller['create']);router[_0x804b('0xf')](_0x804b('0x10'),auth[_0x804b('0x6')](),controller['addTeams']);router['post'](_0x804b('0xe'),auth[_0x804b('0x6')](),controller[_0x804b('0x11')]);router['put'](_0x804b('0x9'),auth[_0x804b('0x6')](),controller[_0x804b('0x12')]);router[_0x804b('0x13')](_0x804b('0x9'),auth[_0x804b('0x6')](),controller['destroy']);router['delete'](_0x804b('0x10'),auth['isAuthenticated'](),controller[_0x804b('0x14')]);router[_0x804b('0x13')](_0x804b('0xe'),auth[_0x804b('0x6')](),controller[_0x804b('0x15')]);module[_0x804b('0x16')]=router; \ No newline at end of file diff --git a/server/api/mailQueue/mailQueue.attributes.js b/server/api/mailQueue/mailQueue.attributes.js index a81347b..0259335 100644 --- a/server/api/mailQueue/mailQueue.attributes.js +++ b/server/api/mailQueue/mailQueue.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x9b12=['exports','name','INTEGER','beepall','roundrobin','sequelize'];(function(_0x24294e,_0x6dc0f9){var _0xbc717c=function(_0x1357ce){while(--_0x1357ce){_0x24294e['push'](_0x24294e['shift']());}};_0xbc717c(++_0x6dc0f9);}(_0x9b12,0x83));var _0x29b1=function(_0x435b14,_0x28e347){_0x435b14=_0x435b14-0x0;var _0x35d3fb=_0x9b12[_0x435b14];return _0x35d3fb;};'use strict';var Sequelize=require(_0x29b1('0x0'));module[_0x29b1('0x1')]={'name':{'type':Sequelize['STRING'],'unique':_0x29b1('0x2'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize['STRING']},'timeout':{'type':Sequelize[_0x29b1('0x3')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize['ENUM']('rrmemory',_0x29b1('0x4'),_0x29b1('0x5'))}}; \ No newline at end of file +var _0x7ada=['rrmemory','beepall','roundrobin','sequelize','STRING','name','INTEGER','ENUM'];(function(_0x20c5d9,_0x18772f){var _0x1a3fb8=function(_0x17c966){while(--_0x17c966){_0x20c5d9['push'](_0x20c5d9['shift']());}};_0x1a3fb8(++_0x18772f);}(_0x7ada,0xab));var _0xa7ad=function(_0x6b10b2,_0x4ef2f1){_0x6b10b2=_0x6b10b2-0x0;var _0x460c93=_0x7ada[_0x6b10b2];return _0x460c93;};'use strict';var Sequelize=require(_0xa7ad('0x0'));module['exports']={'name':{'type':Sequelize[_0xa7ad('0x1')],'unique':_0xa7ad('0x2'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize['STRING']},'timeout':{'type':Sequelize[_0xa7ad('0x3')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize[_0xa7ad('0x4')](_0xa7ad('0x5'),_0xa7ad('0x6'),_0xa7ad('0x7'))}}; \ No newline at end of file diff --git a/server/api/mailQueue/mailQueue.controller.js b/server/api/mailQueue/mailQueue.controller.js index fb5273a..4b62819 100644 --- a/server/api/mailQueue/mailQueue.controller.js +++ b/server/api/mailQueue/mailQueue.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x7cdc=['intersection','attributes','fields','length','hasOwnProperty','nolimit','limit','order','where','pick','filter','merge','type','VIRTUAL','options','include','rows','catch','show','params','includeAll','find','create','user','get','Unable\x20to\x20retrieve\x20the\x20current\x20user','autoAssociation','error','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','body','describe','getMembers','findOne','UserMailQueue','sort','MailQueueId','User','findAndCountAll','UserId','agent','createdAt','format','%s/%s','SIP','mailPause','updatedAt','getTeams','findAll','Agents','online','interface','flatMap','sequelize','transaction','addTeams','each','forEach','userMailQueue:save','removeTeams','Team','ids','select','tq.TeamId','from','team_has_mail_queues','join','ut.TeamId\x20=\x20tq.TeamId','MailQueueId\x20=\x20?','push','SELECT','every','all','union','value','isEmpty','removeAgents','emit','userMailQueue:remove','omit','spread','getAgents','html-pdf','eml-format','request-promise','moment','bluebird','mustache','util','path','sox','to-csv','ejs','lodash','squel','crypto','jsforce','desk.js','querystring','papaparse','../../components/auth/service','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','../../config/utils','../../config/environment','../../mysqldb','defaults','localhost','socket.io-emitter','redis','./mailQueue.socket','register','sendStatus','end','status','json','count','offset','set','Content-Range','apply','reject','save','update','then','destroy','MailQueues','UserProfileResource','stack','name','send','index','map','MailQueue','rawAttributes','fieldName','model','query','keys','filters'];(function(_0x5f5b62,_0x5246f9){var _0x5adce8=function(_0xc9198b){while(--_0xc9198b){_0x5f5b62['push'](_0x5f5b62['shift']());}};_0x5adce8(++_0x5246f9);}(_0x7cdc,0xdd));var _0xc7cd=function(_0x326be4,_0x2778bf){_0x326be4=_0x326be4-0x0;var _0x233fa1=_0x7cdc[_0x326be4];return _0x233fa1;};'use strict';var pdf=require(_0xc7cd('0x0'));var emlformat=require(_0xc7cd('0x1'));var rimraf=require('rimraf');var zipdir=require('zip-dir');var jsonpatch=require('fast-json-patch');var rp=require(_0xc7cd('0x2'));var moment=require(_0xc7cd('0x3'));var BPromise=require(_0xc7cd('0x4'));var Mustache=require(_0xc7cd('0x5'));var util=require(_0xc7cd('0x6'));var path=require(_0xc7cd('0x7'));var sox=require(_0xc7cd('0x8'));var csv=require(_0xc7cd('0x9'));var ejs=require(_0xc7cd('0xa'));var fs=require('fs');var _=require(_0xc7cd('0xb'));var squel=require(_0xc7cd('0xc'));var crypto=require(_0xc7cd('0xd'));var jsforce=require(_0xc7cd('0xe'));var deskjs=require(_0xc7cd('0xf'));var toCsv=require('to-csv');var querystring=require(_0xc7cd('0x10'));var Papa=require(_0xc7cd('0x11'));var Redis=require('ioredis');var authService=require(_0xc7cd('0x12'));var qs=require('../../components/parsers/qs');var as=require(_0xc7cd('0x13'));var hardwareService=require(_0xc7cd('0x14'));var logger=require(_0xc7cd('0x15'))('api');var utils=require(_0xc7cd('0x16'));var config=require(_0xc7cd('0x17'));var db=require(_0xc7cd('0x18'))['db'];config['redis']=_[_0xc7cd('0x19')](config['redis'],{'host':_0xc7cd('0x1a'),'port':0x18eb});var socket=require(_0xc7cd('0x1b'))(new Redis(config[_0xc7cd('0x1c')]));require(_0xc7cd('0x1d'))[_0xc7cd('0x1e')](socket);function respondWithStatusCode(_0x5b847b,_0x23cc86){_0x23cc86=_0x23cc86||0xcc;return function(_0x253cd9){if(_0x253cd9){return _0x5b847b[_0xc7cd('0x1f')](_0x23cc86);}return _0x5b847b['status'](_0x23cc86)[_0xc7cd('0x20')]();};}function respondWithResult(_0x402a77,_0x731d1){_0x731d1=_0x731d1||0xc8;return function(_0x216f48){if(_0x216f48){return _0x402a77[_0xc7cd('0x21')](_0x731d1)[_0xc7cd('0x22')](_0x216f48);}};}function respondWithFilteredResult(_0xa27e49,_0x300e50){return function(_0x428613){if(_0x428613){var _0x33f0d1=_0x428613[_0xc7cd('0x23')],_0x51e986=_0x300e50[_0xc7cd('0x24')],_0x56ffac=_0x300e50[_0xc7cd('0x24')]+_0x300e50['limit'],_0x1acb5b;if(_0x56ffac>=_0x33f0d1){_0x56ffac=_0x33f0d1;_0x1acb5b=0xc8;}else{_0x1acb5b=0xce;}_0xa27e49[_0xc7cd('0x21')](_0x1acb5b);return _0xa27e49[_0xc7cd('0x25')](_0xc7cd('0x26'),_0x51e986+'-'+_0x56ffac+'/'+_0x33f0d1)[_0xc7cd('0x22')](_0x428613);}return null;};}function patchUpdates(_0x3dfdc0){return function(_0x3fa691){try{jsonpatch[_0xc7cd('0x27')](_0x3fa691,_0x3dfdc0,!![]);}catch(_0xec6a){return BPromise[_0xc7cd('0x28')](_0xec6a);}return _0x3fa691[_0xc7cd('0x29')]();};}function saveUpdates(_0xccc49d,_0x5cd814){return function(_0x12e299){if(_0x12e299){return _0x12e299[_0xc7cd('0x2a')](_0xccc49d)[_0xc7cd('0x2b')](function(_0x5ba78f){return _0x5ba78f;});}return null;};}function removeEntity(_0x191b02,_0x56097e){return function(_0x552462){if(_0x552462){return _0x552462[_0xc7cd('0x2c')]()[_0xc7cd('0x2b')](function(){var _0x2618fa=_0x552462['get']({'plain':!![]});var _0xdfe940=_0xc7cd('0x2d');return db[_0xc7cd('0x2e')]['destroy']({'where':{'type':_0xdfe940,'resourceId':_0x2618fa['id']}})[_0xc7cd('0x2b')](function(){return _0x552462;});})[_0xc7cd('0x2b')](function(){_0x191b02[_0xc7cd('0x21')](0xcc)[_0xc7cd('0x20')]();});}};}function handleEntityNotFound(_0x11fff7,_0x1aa311){return function(_0x5075e6){if(!_0x5075e6){_0x11fff7[_0xc7cd('0x1f')](0x194);}return _0x5075e6;};}function handleError(_0x48c4b1,_0x530990){_0x530990=_0x530990||0x1f4;return function(_0x2e0f46){logger['error'](_0x2e0f46[_0xc7cd('0x2f')]);if(_0x2e0f46[_0xc7cd('0x30')]){delete _0x2e0f46['name'];}_0x48c4b1[_0xc7cd('0x21')](_0x530990)[_0xc7cd('0x31')](_0x2e0f46);};}exports[_0xc7cd('0x32')]=function(_0x8b40ec,_0x991ccb){var _0x4e211c={},_0x2446bb={},_0x1d8b32={'count':0x0,'rows':[]};var _0x5ec6e0=_[_0xc7cd('0x33')](db[_0xc7cd('0x34')][_0xc7cd('0x35')],function(_0x919794){return{'name':_0x919794[_0xc7cd('0x36')],'type':_0x919794['type']['key']};});_0x2446bb[_0xc7cd('0x37')]=_['map'](_0x5ec6e0,_0xc7cd('0x30'));_0x2446bb[_0xc7cd('0x38')]=_[_0xc7cd('0x39')](_0x8b40ec[_0xc7cd('0x38')]);_0x2446bb[_0xc7cd('0x3a')]=_[_0xc7cd('0x3b')](_0x2446bb[_0xc7cd('0x37')],_0x2446bb[_0xc7cd('0x38')]);_0x4e211c[_0xc7cd('0x3c')]=_[_0xc7cd('0x3b')](_0x2446bb[_0xc7cd('0x37')],qs['fields'](_0x8b40ec['query'][_0xc7cd('0x3d')]));_0x4e211c[_0xc7cd('0x3c')]=_0x4e211c[_0xc7cd('0x3c')][_0xc7cd('0x3e')]?_0x4e211c['attributes']:_0x2446bb[_0xc7cd('0x37')];if(!_0x8b40ec[_0xc7cd('0x38')][_0xc7cd('0x3f')](_0xc7cd('0x40'))){_0x4e211c[_0xc7cd('0x41')]=qs[_0xc7cd('0x41')](_0x8b40ec['query'][_0xc7cd('0x41')]);_0x4e211c[_0xc7cd('0x24')]=qs[_0xc7cd('0x24')](_0x8b40ec[_0xc7cd('0x38')]['offset']);}_0x4e211c[_0xc7cd('0x42')]=qs['sort'](_0x8b40ec[_0xc7cd('0x38')]['sort']);_0x4e211c[_0xc7cd('0x43')]=qs[_0xc7cd('0x3a')](_[_0xc7cd('0x44')](_0x8b40ec[_0xc7cd('0x38')],_0x2446bb[_0xc7cd('0x3a')]),_0x5ec6e0);if(_0x8b40ec[_0xc7cd('0x38')][_0xc7cd('0x45')]){_0x4e211c[_0xc7cd('0x43')]=_[_0xc7cd('0x46')](_0x4e211c[_0xc7cd('0x43')],{'$or':_[_0xc7cd('0x33')](_0x5ec6e0,function(_0x3a698e){if(_0x3a698e[_0xc7cd('0x47')]!==_0xc7cd('0x48')){var _0x6eb5eb={};_0x6eb5eb[_0x3a698e[_0xc7cd('0x30')]]={'$like':'%'+_0x8b40ec[_0xc7cd('0x38')][_0xc7cd('0x45')]+'%'};return _0x6eb5eb;}})});}_0x4e211c=_[_0xc7cd('0x46')]({},_0x4e211c,_0x8b40ec[_0xc7cd('0x49')]);var _0x1841bc={'where':_0x4e211c['where']};return db['MailQueue'][_0xc7cd('0x23')](_0x1841bc)[_0xc7cd('0x2b')](function(_0x17b7c4){_0x1d8b32[_0xc7cd('0x23')]=_0x17b7c4;if(_0x8b40ec[_0xc7cd('0x38')]['includeAll']){_0x4e211c[_0xc7cd('0x4a')]=[{'all':!![]}];}return db[_0xc7cd('0x34')]['findAll'](_0x4e211c);})[_0xc7cd('0x2b')](function(_0x29df46){_0x1d8b32[_0xc7cd('0x4b')]=_0x29df46;return _0x1d8b32;})[_0xc7cd('0x2b')](respondWithFilteredResult(_0x991ccb,_0x4e211c))[_0xc7cd('0x4c')](handleError(_0x991ccb,null));};exports[_0xc7cd('0x4d')]=function(_0x34fa43,_0x5e31f2){var _0x35d3a1={'raw':!![],'where':{'id':_0x34fa43[_0xc7cd('0x4e')]['id']}},_0x10563f={};_0x10563f[_0xc7cd('0x37')]=_[_0xc7cd('0x39')](db[_0xc7cd('0x34')][_0xc7cd('0x35')]);_0x10563f[_0xc7cd('0x38')]=_[_0xc7cd('0x39')](_0x34fa43[_0xc7cd('0x38')]);_0x10563f[_0xc7cd('0x3a')]=_[_0xc7cd('0x3b')](_0x10563f['model'],_0x10563f[_0xc7cd('0x38')]);_0x35d3a1[_0xc7cd('0x3c')]=_[_0xc7cd('0x3b')](_0x10563f['model'],qs[_0xc7cd('0x3d')](_0x34fa43[_0xc7cd('0x38')][_0xc7cd('0x3d')]));_0x35d3a1['attributes']=_0x35d3a1[_0xc7cd('0x3c')][_0xc7cd('0x3e')]?_0x35d3a1['attributes']:_0x10563f[_0xc7cd('0x37')];if(_0x34fa43[_0xc7cd('0x38')][_0xc7cd('0x4f')]){_0x35d3a1[_0xc7cd('0x4a')]=[{'all':!![]}];}_0x35d3a1=_['merge']({},_0x35d3a1,_0x34fa43['options']);return db[_0xc7cd('0x34')][_0xc7cd('0x50')](_0x35d3a1)[_0xc7cd('0x2b')](handleEntityNotFound(_0x5e31f2,null))[_0xc7cd('0x2b')](respondWithResult(_0x5e31f2,null))[_0xc7cd('0x4c')](handleError(_0x5e31f2,null));};exports[_0xc7cd('0x51')]=function(_0x3dedce,_0x812cd1){return db[_0xc7cd('0x34')][_0xc7cd('0x51')](_0x3dedce['body'],{})[_0xc7cd('0x2b')](function(_0x433844){var _0x481630=_0x3dedce[_0xc7cd('0x52')][_0xc7cd('0x53')]({'plain':!![]});if(!_0x481630)throw new Error(_0xc7cd('0x54'));if(_0x481630['role']===_0xc7cd('0x52')){var _0x4992ae=_0x433844['get']({'plain':!![]});var _0x3645a6=_0xc7cd('0x2d');return db['UserProfileSection'][_0xc7cd('0x50')]({'where':{'name':_0x3645a6,'userProfileId':_0x481630['userProfileId']},'raw':!![]})[_0xc7cd('0x2b')](function(_0xdf1aa6){if(_0xdf1aa6&&_0xdf1aa6[_0xc7cd('0x55')]===0x0){return db[_0xc7cd('0x2e')][_0xc7cd('0x51')]({'name':_0x4992ae[_0xc7cd('0x30')],'resourceId':_0x4992ae['id'],'type':_0xdf1aa6[_0xc7cd('0x30')],'sectionId':_0xdf1aa6['id']},{})[_0xc7cd('0x2b')](function(){return _0x433844;});}else{return _0x433844;}})[_0xc7cd('0x4c')](function(_0x8624e0){logger[_0xc7cd('0x56')](_0xc7cd('0x57'),_0x8624e0);throw _0x8624e0;});}return _0x433844;})['then'](respondWithResult(_0x812cd1,0xc9))[_0xc7cd('0x4c')](handleError(_0x812cd1,null));};exports[_0xc7cd('0x2a')]=function(_0x1e69bb,_0x2ac1fc){if(_0x1e69bb[_0xc7cd('0x58')]['id']){delete _0x1e69bb[_0xc7cd('0x58')]['id'];}return db[_0xc7cd('0x34')][_0xc7cd('0x50')]({'where':{'id':_0x1e69bb[_0xc7cd('0x4e')]['id']}})[_0xc7cd('0x2b')](handleEntityNotFound(_0x2ac1fc,null))[_0xc7cd('0x2b')](saveUpdates(_0x1e69bb[_0xc7cd('0x58')],null))[_0xc7cd('0x2b')](respondWithResult(_0x2ac1fc,null))[_0xc7cd('0x4c')](handleError(_0x2ac1fc,null));};exports[_0xc7cd('0x2c')]=function(_0x3c2302,_0x480c65){return db[_0xc7cd('0x34')][_0xc7cd('0x50')]({'where':{'id':_0x3c2302[_0xc7cd('0x4e')]['id']}})['then'](handleEntityNotFound(_0x480c65,null))[_0xc7cd('0x2b')](removeEntity(_0x480c65,null))[_0xc7cd('0x4c')](handleError(_0x480c65,null));};exports['describe']=function(_0x56ed42,_0x1eaf23){return db[_0xc7cd('0x34')][_0xc7cd('0x59')]()[_0xc7cd('0x2b')](respondWithResult(_0x1eaf23,null))[_0xc7cd('0x4c')](handleError(_0x1eaf23,null));};exports[_0xc7cd('0x5a')]=function(_0x32b2fa,_0x310b47,_0x3ea6f9){var _0x400438={'raw':!![],'where':{}},_0x273d20={},_0x15716d;return db[_0xc7cd('0x34')][_0xc7cd('0x5b')]({'where':{'id':_0x32b2fa[_0xc7cd('0x4e')]['id']}})[_0xc7cd('0x2b')](handleEntityNotFound(_0x310b47,null))['then'](function(_0x5a2a9d){if(_0x5a2a9d){_0x15716d=_0x5a2a9d[_0xc7cd('0x53')]({'plain':!![]});_0x273d20[_0xc7cd('0x37')]=_[_0xc7cd('0x39')](db[_0xc7cd('0x5c')][_0xc7cd('0x35')]);_0x273d20[_0xc7cd('0x38')]=_[_0xc7cd('0x39')](_0x32b2fa[_0xc7cd('0x38')]);_0x273d20[_0xc7cd('0x3a')]=_['intersection'](_0x273d20[_0xc7cd('0x37')],_0x273d20['query']);_0x400438[_0xc7cd('0x3c')]=_['intersection'](_0x273d20[_0xc7cd('0x37')],qs[_0xc7cd('0x3d')](_0x32b2fa[_0xc7cd('0x38')][_0xc7cd('0x3d')]));_0x400438[_0xc7cd('0x3c')]=_0x400438[_0xc7cd('0x3c')][_0xc7cd('0x3e')]?_0x400438['attributes']:_0x273d20['model'];if(!_0x32b2fa[_0xc7cd('0x38')][_0xc7cd('0x3f')](_0xc7cd('0x40'))){_0x400438[_0xc7cd('0x41')]=qs[_0xc7cd('0x41')](_0x32b2fa['query'][_0xc7cd('0x41')]);_0x400438['offset']=qs[_0xc7cd('0x24')](_0x32b2fa[_0xc7cd('0x38')][_0xc7cd('0x24')]);}_0x400438['order']=qs[_0xc7cd('0x5d')](_0x32b2fa[_0xc7cd('0x38')][_0xc7cd('0x5d')]);_0x400438[_0xc7cd('0x43')]=qs['filters'](_[_0xc7cd('0x44')](_0x32b2fa[_0xc7cd('0x38')],_0x273d20[_0xc7cd('0x3a')]));_0x400438[_0xc7cd('0x43')][_0xc7cd('0x5e')]=_0x5a2a9d['id'];if(_0x32b2fa[_0xc7cd('0x38')]['filter']){_0x400438[_0xc7cd('0x43')]=_[_0xc7cd('0x46')](_0x400438[_0xc7cd('0x43')],{'$or':_[_0xc7cd('0x33')](_0x400438[_0xc7cd('0x3c')],function(_0x4af05d){var _0x68668f={};_0x68668f[_0x4af05d]={'$like':'%'+_0x32b2fa[_0xc7cd('0x38')][_0xc7cd('0x45')]+'%'};return _0x68668f;})});}_0x400438=_[_0xc7cd('0x46')]({},_0x400438,_0x32b2fa[_0xc7cd('0x49')]);return db[_0xc7cd('0x5c')]['findAll'](_0x400438);}})[_0xc7cd('0x2b')](function(_0x9c5041){if(_0x9c5041){return db[_0xc7cd('0x5f')][_0xc7cd('0x60')]({'where':{'id':_[_0xc7cd('0x33')](_0x9c5041,_0xc7cd('0x61')),'role':_0xc7cd('0x62')},'attributes':['id',_0xc7cd('0x30'),'mailPause','updatedAt',_0xc7cd('0x63')]});}})['then'](function(_0x2c0b6d){if(_0x2c0b6d){return{'count':_0x2c0b6d['count'],'rows':_[_0xc7cd('0x33')](_0x2c0b6d[_0xc7cd('0x4b')],function(_0x5d2164){return{'membername':_0x5d2164[_0xc7cd('0x30')],'UserId':_0x5d2164['id'],'queue_name':_0x15716d['name'],'MailQueueId':_0x15716d['id'],'interface':util[_0xc7cd('0x64')](_0xc7cd('0x65'),_0xc7cd('0x66'),_0x5d2164[_0xc7cd('0x30')]),'penalty':0x0,'paused':_0x5d2164[_0xc7cd('0x67')],'createdAt':_0x5d2164['createdAt'],'updatedAt':_0x5d2164[_0xc7cd('0x68')]};})};}else{return{'count':0x0,'rows':[]};}})[_0xc7cd('0x2b')](respondWithFilteredResult(_0x310b47,_0x400438))[_0xc7cd('0x4c')](handleError(_0x310b47,null));};exports[_0xc7cd('0x69')]=function(_0x224373,_0x46e710,_0x22249a){var _0x1042bd={};var _0x232b7a={};var _0x54de2b;var _0x179822;return db['MailQueue'][_0xc7cd('0x5b')]({'where':{'id':_0x224373[_0xc7cd('0x4e')]['id']}})['then'](handleEntityNotFound(_0x46e710,null))[_0xc7cd('0x2b')](function(_0x35503e){if(_0x35503e){_0x54de2b=_0x35503e;_0x232b7a['model']=_[_0xc7cd('0x39')](db['Team'][_0xc7cd('0x35')]);_0x232b7a['query']=_[_0xc7cd('0x39')](_0x224373[_0xc7cd('0x38')]);_0x232b7a[_0xc7cd('0x3a')]=_[_0xc7cd('0x3b')](_0x232b7a[_0xc7cd('0x37')],_0x232b7a[_0xc7cd('0x38')]);_0x1042bd[_0xc7cd('0x3c')]=_[_0xc7cd('0x3b')](_0x232b7a['model'],qs[_0xc7cd('0x3d')](_0x224373[_0xc7cd('0x38')][_0xc7cd('0x3d')]));_0x1042bd['attributes']=_0x1042bd['attributes'][_0xc7cd('0x3e')]?_0x1042bd['attributes']:_0x232b7a[_0xc7cd('0x37')];_0x1042bd[_0xc7cd('0x42')]=qs[_0xc7cd('0x5d')](_0x224373[_0xc7cd('0x38')][_0xc7cd('0x5d')]);_0x1042bd[_0xc7cd('0x43')]=qs['filters'](_['pick'](_0x224373[_0xc7cd('0x38')],_0x232b7a[_0xc7cd('0x3a')]));if(_0x224373[_0xc7cd('0x38')][_0xc7cd('0x45')]){_0x1042bd[_0xc7cd('0x43')]=_[_0xc7cd('0x46')](_0x1042bd[_0xc7cd('0x43')],{'$or':_['map'](_0x1042bd[_0xc7cd('0x3c')],function(_0x46be4d){var _0x591bb6={};_0x591bb6[_0x46be4d]={'$like':'%'+_0x224373[_0xc7cd('0x38')]['filter']+'%'};return _0x591bb6;})});}_0x1042bd=_['merge']({},_0x1042bd,_0x224373[_0xc7cd('0x49')]);return _0x54de2b['getTeams'](_0x1042bd);}})['then'](function(_0x3dc5a2){if(_0x3dc5a2){_0x179822=_0x3dc5a2[_0xc7cd('0x3e')];if(!_0x224373['query'][_0xc7cd('0x3f')](_0xc7cd('0x40'))){_0x1042bd[_0xc7cd('0x41')]=qs['limit'](_0x224373[_0xc7cd('0x38')][_0xc7cd('0x41')]);_0x1042bd['offset']=qs[_0xc7cd('0x24')](_0x224373[_0xc7cd('0x38')]['offset']);}return _0x54de2b[_0xc7cd('0x69')](_0x1042bd);}})['then'](function(_0x31fcfe){if(_0x31fcfe){return _0x31fcfe?{'count':_0x179822,'rows':_0x31fcfe}:null;}})[_0xc7cd('0x2b')](respondWithResult(_0x46e710,null))['catch'](handleError(_0x46e710,null));};exports['addTeams']=function(_0x56a14c,_0x3b0cee,_0x5d0f57){var _0x8be2af=_0x56a14c[_0xc7cd('0x58')]['ids'];return db['Team'][_0xc7cd('0x6a')]({'where':{'id':_0x8be2af},'attributes':['id'],'include':[{'model':db['User'],'as':_0xc7cd('0x6b'),'attributes':['id',_0xc7cd('0x30'),_0xc7cd('0x6c'),'voicePause',_0xc7cd('0x6d')],'raw':!![]}]})['then'](function(_0x59dbc7){if(_0x59dbc7){var _0x271553=_[_0xc7cd('0x6e')](_0x59dbc7,function(_0x38ab5e){var _0x46b27a=_0x38ab5e[_0xc7cd('0x53')]({'plain':!![]});return _0x46b27a[_0xc7cd('0x6b')];});return db[_0xc7cd('0x34')][_0xc7cd('0x50')]({'where':{'id':_0x56a14c[_0xc7cd('0x4e')]['id']}})['then'](function(_0x4e7367){return db[_0xc7cd('0x6f')][_0xc7cd('0x70')](function(_0x23d6e1){return _0x4e7367[_0xc7cd('0x71')](_0x8be2af,{'transaction':_0x23d6e1})[_0xc7cd('0x2b')](function(){return BPromise[_0xc7cd('0x72')](_0x271553,function(_0x140b4d){return db[_0xc7cd('0x5c')]['findOrCreate']({'where':{'UserId':_0x140b4d['id'],'MailQueueId':_0x56a14c[_0xc7cd('0x4e')]['id']},'transaction':_0x23d6e1});});})[_0xc7cd('0x2b')](function(){_0x271553[_0xc7cd('0x73')](function(_0x3a5171){socket['emit'](_0xc7cd('0x74'),{'UserId':_0x3a5171['id'],'MailQueueId':_0x4e7367['id']});});});});});}})['then'](respondWithStatusCode(_0x3b0cee,null))[_0xc7cd('0x4c')](handleError(_0x3b0cee,null));};exports[_0xc7cd('0x75')]=function(_0x21388d,_0x23efc2,_0x56df04){return db[_0xc7cd('0x76')][_0xc7cd('0x6a')]({'where':{'id':_0x21388d[_0xc7cd('0x38')][_0xc7cd('0x77')]},'attributes':['id'],'include':[{'model':db[_0xc7cd('0x5f')],'as':_0xc7cd('0x6b'),'attributes':['id'],'raw':!![]}]})['then'](handleEntityNotFound(_0x23efc2,null))[_0xc7cd('0x2b')](function(_0x53eac7){var _0x47d5a6=_['map'](_0x53eac7,'id');var _0x5206ba=[];var _0x170559=[];var _0x3604fa=squel[_0xc7cd('0x78')]();_0x3604fa['field'](_0xc7cd('0x79'))[_0xc7cd('0x7a')](_0xc7cd('0x7b'),'tq')[_0xc7cd('0x7c')]('user_has_teams','ut',_0xc7cd('0x7d'))[_0xc7cd('0x43')](_0xc7cd('0x7e'),_0x21388d[_0xc7cd('0x4e')]['id']);for(var _0x40967f=0x0;_0x40967f<_0x53eac7[_0xc7cd('0x3e')];_0x40967f+=0x1){let _0x4b73bd=_0x53eac7[_0x40967f];for(var _0x5543e4=0x0;_0x5543e4<_0x4b73bd[_0xc7cd('0x6b')][_0xc7cd('0x3e')];_0x5543e4+=0x1){let _0x532705=_0x4b73bd['Agents'][_0x5543e4];var _0x45dd2b=_0x3604fa['clone']();_0x45dd2b[_0xc7cd('0x43')]('ut.UserId\x20=\x20?',_0x532705['id']);_0x170559[_0xc7cd('0x7f')](db[_0xc7cd('0x6f')][_0xc7cd('0x38')](_0x45dd2b['toString'](),{'type':db[_0xc7cd('0x6f')]['QueryTypes'][_0xc7cd('0x80')]})[_0xc7cd('0x2b')](function(_0x3f3a51){if(_0x3f3a51[_0xc7cd('0x3e')]===0x1){return _0x532705['id'];}else{var _0x149426=_[_0xc7cd('0x81')](_[_0xc7cd('0x33')](_0x3f3a51,'TeamId'),function(_0x520ebf){return _['includes'](_0x47d5a6,_0x520ebf);});if(_0x149426){return _0x532705['id'];}}}));}}return BPromise[_0xc7cd('0x82')](_0x170559)[_0xc7cd('0x2b')](function(_0x567d5f){_0x5206ba=_(_0x5206ba)[_0xc7cd('0x83')](_0x567d5f)['compact']()[_0xc7cd('0x84')]();return db[_0xc7cd('0x34')]['find']({'where':{'id':_0x21388d['params']['id']}})[_0xc7cd('0x2b')](function(_0x349468){return db[_0xc7cd('0x6f')][_0xc7cd('0x70')](function(_0x2a5bb0){return _0x349468[_0xc7cd('0x75')](_0x21388d[_0xc7cd('0x38')][_0xc7cd('0x77')],{'transaction':_0x2a5bb0})['then'](function(){if(!_[_0xc7cd('0x85')](_0x5206ba)){return _0x349468[_0xc7cd('0x86')](_0x5206ba,{'transaction':_0x2a5bb0});}})[_0xc7cd('0x2b')](function(){_0x5206ba[_0xc7cd('0x73')](function(_0x7d9553){socket[_0xc7cd('0x87')](_0xc7cd('0x88'),{'UserId':_0x7d9553,'MailQueueId':_0x349468['id']});});});});});});})[_0xc7cd('0x2b')](respondWithStatusCode(_0x23efc2,null))[_0xc7cd('0x4c')](handleError(_0x23efc2,null));};exports['addAgents']=function(_0x5708b8,_0x30c9af,_0x4ce6ad){return db[_0xc7cd('0x34')][_0xc7cd('0x50')]({'where':{'id':_0x5708b8[_0xc7cd('0x4e')]['id']}})[_0xc7cd('0x2b')](handleEntityNotFound(_0x30c9af,null))['then'](function(_0x30238a){if(_0x30238a){return _0x30238a['addAgents'](_0x5708b8[_0xc7cd('0x58')][_0xc7cd('0x77')],_[_0xc7cd('0x89')](_0x5708b8[_0xc7cd('0x58')],[_0xc7cd('0x77'),'id'])||{})[_0xc7cd('0x8a')](function(_0x547c8a){for(var _0x210e3e=0x0;_0x210e3e<_0x5708b8['body'][_0xc7cd('0x77')][_0xc7cd('0x3e')];_0x210e3e+=0x1){socket[_0xc7cd('0x87')](_0xc7cd('0x74'),{'UserId':_0x5708b8[_0xc7cd('0x58')]['ids'][_0x210e3e],'MailQueueId':_0x5708b8[_0xc7cd('0x4e')]['id']});}return _0x547c8a;});}})[_0xc7cd('0x2b')](respondWithResult(_0x30c9af,null))[_0xc7cd('0x4c')](handleError(_0x30c9af,null));};exports[_0xc7cd('0x86')]=function(_0x289ffc,_0x5ad06c,_0x30d244){return db['MailQueue'][_0xc7cd('0x50')]({'where':{'id':_0x289ffc['params']['id']}})['then'](handleEntityNotFound(_0x5ad06c,null))[_0xc7cd('0x2b')](function(_0x2f1ef3){if(_0x2f1ef3){return _0x2f1ef3[_0xc7cd('0x86')](_0x289ffc[_0xc7cd('0x38')][_0xc7cd('0x77')])[_0xc7cd('0x2b')](function(){if(_['isArray'](_0x289ffc[_0xc7cd('0x38')][_0xc7cd('0x77')])){for(var _0x149d3e=0x0;_0x149d3e<_0x289ffc[_0xc7cd('0x38')][_0xc7cd('0x77')][_0xc7cd('0x3e')];_0x149d3e+=0x1){socket[_0xc7cd('0x87')](_0xc7cd('0x88'),{'UserId':Number(_0x289ffc['query'][_0xc7cd('0x77')][_0x149d3e]),'MailQueueId':Number(_0x289ffc[_0xc7cd('0x4e')]['id'])});}}else{socket[_0xc7cd('0x87')](_0xc7cd('0x88'),{'UserId':Number(_0x289ffc[_0xc7cd('0x38')]['ids']),'MailQueueId':Number(_0x289ffc[_0xc7cd('0x4e')]['id'])});}});}})[_0xc7cd('0x2b')](respondWithStatusCode(_0x5ad06c,null))[_0xc7cd('0x4c')](handleError(_0x5ad06c,null));};exports[_0xc7cd('0x8b')]=function(_0xe1e8c3,_0x3dd8d3,_0x1d63f7){var _0x2f00a7={};var _0x42c422={};var _0x1b6cd7;var _0x3b6179;return db[_0xc7cd('0x34')][_0xc7cd('0x5b')]({'where':{'id':_0xe1e8c3[_0xc7cd('0x4e')]['id']}})[_0xc7cd('0x2b')](handleEntityNotFound(_0x3dd8d3,null))[_0xc7cd('0x2b')](function(_0xf7081b){if(_0xf7081b){_0x1b6cd7=_0xf7081b;_0x42c422[_0xc7cd('0x37')]=_[_0xc7cd('0x39')](db[_0xc7cd('0x5f')][_0xc7cd('0x35')]);_0x42c422[_0xc7cd('0x38')]=_[_0xc7cd('0x39')](_0xe1e8c3['query']);_0x42c422[_0xc7cd('0x3a')]=_[_0xc7cd('0x3b')](_0x42c422[_0xc7cd('0x37')],_0x42c422[_0xc7cd('0x38')]);_0x2f00a7[_0xc7cd('0x3c')]=_[_0xc7cd('0x3b')](_0x42c422['model'],qs[_0xc7cd('0x3d')](_0xe1e8c3[_0xc7cd('0x38')][_0xc7cd('0x3d')]));_0x2f00a7[_0xc7cd('0x3c')]=_0x2f00a7[_0xc7cd('0x3c')][_0xc7cd('0x3e')]?_0x2f00a7[_0xc7cd('0x3c')]:_0x42c422[_0xc7cd('0x37')];_0x2f00a7['order']=qs[_0xc7cd('0x5d')](_0xe1e8c3['query'][_0xc7cd('0x5d')]);_0x2f00a7[_0xc7cd('0x43')]=qs[_0xc7cd('0x3a')](_[_0xc7cd('0x44')](_0xe1e8c3[_0xc7cd('0x38')],_0x42c422[_0xc7cd('0x3a')]));if(_0xe1e8c3[_0xc7cd('0x38')][_0xc7cd('0x45')]){_0x2f00a7[_0xc7cd('0x43')]=_[_0xc7cd('0x46')](_0x2f00a7[_0xc7cd('0x43')],{'$or':_[_0xc7cd('0x33')](_0x2f00a7['attributes'],function(_0x4b5445){var _0x536412={};_0x536412[_0x4b5445]={'$like':'%'+_0xe1e8c3[_0xc7cd('0x38')][_0xc7cd('0x45')]+'%'};return _0x536412;})});}_0x2f00a7=_[_0xc7cd('0x46')]({},_0x2f00a7,_0xe1e8c3[_0xc7cd('0x49')]);return _0x1b6cd7[_0xc7cd('0x8b')](_0x2f00a7);}})[_0xc7cd('0x2b')](function(_0x15f049){if(_0x15f049){_0x3b6179=_0x15f049['length'];if(!_0xe1e8c3[_0xc7cd('0x38')][_0xc7cd('0x3f')](_0xc7cd('0x40'))){_0x2f00a7[_0xc7cd('0x41')]=qs[_0xc7cd('0x41')](_0xe1e8c3[_0xc7cd('0x38')]['limit']);_0x2f00a7[_0xc7cd('0x24')]=qs[_0xc7cd('0x24')](_0xe1e8c3['query']['offset']);}return _0x1b6cd7[_0xc7cd('0x8b')](_0x2f00a7);}})['then'](function(_0x1570f7){if(_0x1570f7){return _0x1570f7?{'count':_0x3b6179,'rows':_0x1570f7}:null;}})[_0xc7cd('0x2b')](respondWithResult(_0x3dd8d3,null))[_0xc7cd('0x4c')](handleError(_0x3dd8d3,null));}; \ No newline at end of file +var _0xd219=['sox','to-csv','ejs','lodash','squel','crypto','jsforce','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','defaults','redis','localhost','socket.io-emitter','register','sendStatus','status','json','offset','limit','set','Content-Range','apply','reject','save','destroy','then','get','MailQueues','UserProfileResource','end','error','name','index','MailQueue','rawAttributes','type','model','map','query','keys','filters','intersection','attributes','hasOwnProperty','nolimit','order','sort','where','pick','filter','merge','VIRTUAL','options','count','includeAll','include','rows','params','fields','length','find','catch','create','user','Unable\x20to\x20retrieve\x20the\x20current\x20user','role','UserProfileSection','userProfileId','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','update','body','describe','findOne','MailQueueId','UserMailQueue','findAll','findAndCountAll','UserId','agent','mailPause','format','%s/%s','createdAt','updatedAt','Team','getTeams','addTeams','ids','User','Agents','online','voicePause','interface','flatMap','sequelize','each','findOrCreate','emit','userMailQueue:save','removeTeams','select','field','tq.TeamId','from','join','user_has_teams','ut.TeamId\x20=\x20tq.TeamId','MailQueueId\x20=\x20?','clone','push','toString','QueryTypes','every','TeamId','all','union','value','transaction','isEmpty','removeAgents','userMailQueue:remove','addAgents','omit','spread','getAgents','html-pdf','rimraf','request-promise','moment','bluebird','mustache','util','path'];(function(_0x35c66,_0x454506){var _0xbd7c38=function(_0x1b4f0e){while(--_0x1b4f0e){_0x35c66['push'](_0x35c66['shift']());}};_0xbd7c38(++_0x454506);}(_0xd219,0x116));var _0x9d21=function(_0x4b2863,_0x494899){_0x4b2863=_0x4b2863-0x0;var _0x567d67=_0xd219[_0x4b2863];return _0x567d67;};'use strict';var pdf=require(_0x9d21('0x0'));var emlformat=require('eml-format');var rimraf=require(_0x9d21('0x1'));var zipdir=require('zip-dir');var jsonpatch=require('fast-json-patch');var rp=require(_0x9d21('0x2'));var moment=require(_0x9d21('0x3'));var BPromise=require(_0x9d21('0x4'));var Mustache=require(_0x9d21('0x5'));var util=require(_0x9d21('0x6'));var path=require(_0x9d21('0x7'));var sox=require(_0x9d21('0x8'));var csv=require(_0x9d21('0x9'));var ejs=require(_0x9d21('0xa'));var fs=require('fs');var _=require(_0x9d21('0xb'));var squel=require(_0x9d21('0xc'));var crypto=require(_0x9d21('0xd'));var jsforce=require(_0x9d21('0xe'));var deskjs=require(_0x9d21('0xf'));var toCsv=require(_0x9d21('0x9'));var querystring=require(_0x9d21('0x10'));var Papa=require(_0x9d21('0x11'));var Redis=require(_0x9d21('0x12'));var authService=require(_0x9d21('0x13'));var qs=require(_0x9d21('0x14'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0x9d21('0x15'));var logger=require(_0x9d21('0x16'))(_0x9d21('0x17'));var utils=require(_0x9d21('0x18'));var config=require(_0x9d21('0x19'));var db=require(_0x9d21('0x1a'))['db'];config['redis']=_[_0x9d21('0x1b')](config[_0x9d21('0x1c')],{'host':_0x9d21('0x1d'),'port':0x18eb});var socket=require(_0x9d21('0x1e'))(new Redis(config[_0x9d21('0x1c')]));require('./mailQueue.socket')[_0x9d21('0x1f')](socket);function respondWithStatusCode(_0x218d28,_0x37948f){_0x37948f=_0x37948f||0xcc;return function(_0x49a8a5){if(_0x49a8a5){return _0x218d28[_0x9d21('0x20')](_0x37948f);}return _0x218d28['status'](_0x37948f)['end']();};}function respondWithResult(_0x56d4e9,_0x38112f){_0x38112f=_0x38112f||0xc8;return function(_0x5674d6){if(_0x5674d6){return _0x56d4e9[_0x9d21('0x21')](_0x38112f)[_0x9d21('0x22')](_0x5674d6);}};}function respondWithFilteredResult(_0x12c990,_0x3b00a3){return function(_0x9a87c2){if(_0x9a87c2){var _0x1d731b=_0x9a87c2['count'],_0x36657f=_0x3b00a3[_0x9d21('0x23')],_0x56578e=_0x3b00a3[_0x9d21('0x23')]+_0x3b00a3[_0x9d21('0x24')],_0x3309b1;if(_0x56578e>=_0x1d731b){_0x56578e=_0x1d731b;_0x3309b1=0xc8;}else{_0x3309b1=0xce;}_0x12c990[_0x9d21('0x21')](_0x3309b1);return _0x12c990[_0x9d21('0x25')](_0x9d21('0x26'),_0x36657f+'-'+_0x56578e+'/'+_0x1d731b)[_0x9d21('0x22')](_0x9a87c2);}return null;};}function patchUpdates(_0x4bbef7){return function(_0x58b23c){try{jsonpatch[_0x9d21('0x27')](_0x58b23c,_0x4bbef7,!![]);}catch(_0x5a6584){return BPromise[_0x9d21('0x28')](_0x5a6584);}return _0x58b23c[_0x9d21('0x29')]();};}function saveUpdates(_0x37a0b6,_0x4948f3){return function(_0x4bcea5){if(_0x4bcea5){return _0x4bcea5['update'](_0x37a0b6)['then'](function(_0x3cf9b3){return _0x3cf9b3;});}return null;};}function removeEntity(_0x826fad,_0x41586a){return function(_0x25e192){if(_0x25e192){return _0x25e192[_0x9d21('0x2a')]()[_0x9d21('0x2b')](function(){var _0x50fe1c=_0x25e192[_0x9d21('0x2c')]({'plain':!![]});var _0x237d81=_0x9d21('0x2d');return db[_0x9d21('0x2e')][_0x9d21('0x2a')]({'where':{'type':_0x237d81,'resourceId':_0x50fe1c['id']}})[_0x9d21('0x2b')](function(){return _0x25e192;});})['then'](function(){_0x826fad[_0x9d21('0x21')](0xcc)[_0x9d21('0x2f')]();});}};}function handleEntityNotFound(_0x10dc04,_0x4a8792){return function(_0x572862){if(!_0x572862){_0x10dc04[_0x9d21('0x20')](0x194);}return _0x572862;};}function handleError(_0x102658,_0xbbb380){_0xbbb380=_0xbbb380||0x1f4;return function(_0xb63aa1){logger[_0x9d21('0x30')](_0xb63aa1['stack']);if(_0xb63aa1['name']){delete _0xb63aa1[_0x9d21('0x31')];}_0x102658[_0x9d21('0x21')](_0xbbb380)['send'](_0xb63aa1);};}exports[_0x9d21('0x32')]=function(_0x4bec6d,_0x42fcf1){var _0x387c16={},_0x37eb7b={},_0x210205={'count':0x0,'rows':[]};var _0x3e6fd5=_['map'](db[_0x9d21('0x33')][_0x9d21('0x34')],function(_0x2b0197){return{'name':_0x2b0197['fieldName'],'type':_0x2b0197[_0x9d21('0x35')]['key']};});_0x37eb7b[_0x9d21('0x36')]=_[_0x9d21('0x37')](_0x3e6fd5,_0x9d21('0x31'));_0x37eb7b[_0x9d21('0x38')]=_[_0x9d21('0x39')](_0x4bec6d[_0x9d21('0x38')]);_0x37eb7b[_0x9d21('0x3a')]=_[_0x9d21('0x3b')](_0x37eb7b['model'],_0x37eb7b[_0x9d21('0x38')]);_0x387c16['attributes']=_[_0x9d21('0x3b')](_0x37eb7b[_0x9d21('0x36')],qs['fields'](_0x4bec6d[_0x9d21('0x38')]['fields']));_0x387c16['attributes']=_0x387c16[_0x9d21('0x3c')]['length']?_0x387c16['attributes']:_0x37eb7b[_0x9d21('0x36')];if(!_0x4bec6d[_0x9d21('0x38')][_0x9d21('0x3d')](_0x9d21('0x3e'))){_0x387c16[_0x9d21('0x24')]=qs[_0x9d21('0x24')](_0x4bec6d['query'][_0x9d21('0x24')]);_0x387c16[_0x9d21('0x23')]=qs[_0x9d21('0x23')](_0x4bec6d[_0x9d21('0x38')][_0x9d21('0x23')]);}_0x387c16[_0x9d21('0x3f')]=qs[_0x9d21('0x40')](_0x4bec6d[_0x9d21('0x38')][_0x9d21('0x40')]);_0x387c16[_0x9d21('0x41')]=qs[_0x9d21('0x3a')](_[_0x9d21('0x42')](_0x4bec6d[_0x9d21('0x38')],_0x37eb7b[_0x9d21('0x3a')]),_0x3e6fd5);if(_0x4bec6d[_0x9d21('0x38')][_0x9d21('0x43')]){_0x387c16['where']=_[_0x9d21('0x44')](_0x387c16['where'],{'$or':_[_0x9d21('0x37')](_0x3e6fd5,function(_0x159b98){if(_0x159b98[_0x9d21('0x35')]!==_0x9d21('0x45')){var _0x268a6e={};_0x268a6e[_0x159b98[_0x9d21('0x31')]]={'$like':'%'+_0x4bec6d['query']['filter']+'%'};return _0x268a6e;}})});}_0x387c16=_[_0x9d21('0x44')]({},_0x387c16,_0x4bec6d[_0x9d21('0x46')]);var _0x12841a={'where':_0x387c16['where']};return db[_0x9d21('0x33')]['count'](_0x12841a)[_0x9d21('0x2b')](function(_0x1c26c0){_0x210205[_0x9d21('0x47')]=_0x1c26c0;if(_0x4bec6d[_0x9d21('0x38')][_0x9d21('0x48')]){_0x387c16[_0x9d21('0x49')]=[{'all':!![]}];}return db[_0x9d21('0x33')]['findAll'](_0x387c16);})[_0x9d21('0x2b')](function(_0x28baa8){_0x210205[_0x9d21('0x4a')]=_0x28baa8;return _0x210205;})[_0x9d21('0x2b')](respondWithFilteredResult(_0x42fcf1,_0x387c16))['catch'](handleError(_0x42fcf1,null));};exports['show']=function(_0x50a1b4,_0x2cfc81){var _0x3fa771={'raw':!![],'where':{'id':_0x50a1b4[_0x9d21('0x4b')]['id']}},_0x3da776={};_0x3da776[_0x9d21('0x36')]=_[_0x9d21('0x39')](db['MailQueue'][_0x9d21('0x34')]);_0x3da776['query']=_[_0x9d21('0x39')](_0x50a1b4[_0x9d21('0x38')]);_0x3da776['filters']=_[_0x9d21('0x3b')](_0x3da776[_0x9d21('0x36')],_0x3da776[_0x9d21('0x38')]);_0x3fa771[_0x9d21('0x3c')]=_['intersection'](_0x3da776[_0x9d21('0x36')],qs[_0x9d21('0x4c')](_0x50a1b4['query']['fields']));_0x3fa771[_0x9d21('0x3c')]=_0x3fa771[_0x9d21('0x3c')][_0x9d21('0x4d')]?_0x3fa771[_0x9d21('0x3c')]:_0x3da776['model'];if(_0x50a1b4['query']['includeAll']){_0x3fa771['include']=[{'all':!![]}];}_0x3fa771=_[_0x9d21('0x44')]({},_0x3fa771,_0x50a1b4[_0x9d21('0x46')]);return db['MailQueue'][_0x9d21('0x4e')](_0x3fa771)[_0x9d21('0x2b')](handleEntityNotFound(_0x2cfc81,null))[_0x9d21('0x2b')](respondWithResult(_0x2cfc81,null))[_0x9d21('0x4f')](handleError(_0x2cfc81,null));};exports[_0x9d21('0x50')]=function(_0x428088,_0x5aa229){return db['MailQueue'][_0x9d21('0x50')](_0x428088['body'],{})[_0x9d21('0x2b')](function(_0x508c78){var _0x519d6a=_0x428088[_0x9d21('0x51')][_0x9d21('0x2c')]({'plain':!![]});if(!_0x519d6a)throw new Error(_0x9d21('0x52'));if(_0x519d6a[_0x9d21('0x53')]===_0x9d21('0x51')){var _0x3e6934=_0x508c78[_0x9d21('0x2c')]({'plain':!![]});var _0x38dcce='MailQueues';return db[_0x9d21('0x54')][_0x9d21('0x4e')]({'where':{'name':_0x38dcce,'userProfileId':_0x519d6a[_0x9d21('0x55')]},'raw':!![]})[_0x9d21('0x2b')](function(_0xb88912){if(_0xb88912&&_0xb88912['autoAssociation']===0x0){return db[_0x9d21('0x2e')][_0x9d21('0x50')]({'name':_0x3e6934['name'],'resourceId':_0x3e6934['id'],'type':_0xb88912['name'],'sectionId':_0xb88912['id']},{})[_0x9d21('0x2b')](function(){return _0x508c78;});}else{return _0x508c78;}})['catch'](function(_0x48b338){logger[_0x9d21('0x30')](_0x9d21('0x56'),_0x48b338);throw _0x48b338;});}return _0x508c78;})['then'](respondWithResult(_0x5aa229,0xc9))[_0x9d21('0x4f')](handleError(_0x5aa229,null));};exports[_0x9d21('0x57')]=function(_0x16c0d1,_0xb6e052){if(_0x16c0d1[_0x9d21('0x58')]['id']){delete _0x16c0d1['body']['id'];}return db['MailQueue']['find']({'where':{'id':_0x16c0d1[_0x9d21('0x4b')]['id']}})[_0x9d21('0x2b')](handleEntityNotFound(_0xb6e052,null))[_0x9d21('0x2b')](saveUpdates(_0x16c0d1[_0x9d21('0x58')],null))[_0x9d21('0x2b')](respondWithResult(_0xb6e052,null))[_0x9d21('0x4f')](handleError(_0xb6e052,null));};exports[_0x9d21('0x2a')]=function(_0x53921a,_0x559326){return db[_0x9d21('0x33')][_0x9d21('0x4e')]({'where':{'id':_0x53921a['params']['id']}})['then'](handleEntityNotFound(_0x559326,null))[_0x9d21('0x2b')](removeEntity(_0x559326,null))[_0x9d21('0x4f')](handleError(_0x559326,null));};exports['describe']=function(_0x23f2de,_0x368d48){return db[_0x9d21('0x33')][_0x9d21('0x59')]()[_0x9d21('0x2b')](respondWithResult(_0x368d48,null))[_0x9d21('0x4f')](handleError(_0x368d48,null));};exports['getMembers']=function(_0x295e61,_0x2fc1b7,_0x3ce7ed){var _0x2cd07a={'raw':!![],'where':{}},_0x1761ad={},_0x3cb503;return db[_0x9d21('0x33')][_0x9d21('0x5a')]({'where':{'id':_0x295e61[_0x9d21('0x4b')]['id']}})['then'](handleEntityNotFound(_0x2fc1b7,null))[_0x9d21('0x2b')](function(_0x1b1bba){if(_0x1b1bba){_0x3cb503=_0x1b1bba[_0x9d21('0x2c')]({'plain':!![]});_0x1761ad[_0x9d21('0x36')]=_['keys'](db['UserMailQueue'][_0x9d21('0x34')]);_0x1761ad[_0x9d21('0x38')]=_[_0x9d21('0x39')](_0x295e61[_0x9d21('0x38')]);_0x1761ad[_0x9d21('0x3a')]=_[_0x9d21('0x3b')](_0x1761ad[_0x9d21('0x36')],_0x1761ad[_0x9d21('0x38')]);_0x2cd07a[_0x9d21('0x3c')]=_[_0x9d21('0x3b')](_0x1761ad[_0x9d21('0x36')],qs['fields'](_0x295e61['query'][_0x9d21('0x4c')]));_0x2cd07a[_0x9d21('0x3c')]=_0x2cd07a[_0x9d21('0x3c')][_0x9d21('0x4d')]?_0x2cd07a[_0x9d21('0x3c')]:_0x1761ad[_0x9d21('0x36')];if(!_0x295e61['query'][_0x9d21('0x3d')](_0x9d21('0x3e'))){_0x2cd07a[_0x9d21('0x24')]=qs[_0x9d21('0x24')](_0x295e61[_0x9d21('0x38')][_0x9d21('0x24')]);_0x2cd07a['offset']=qs['offset'](_0x295e61[_0x9d21('0x38')][_0x9d21('0x23')]);}_0x2cd07a[_0x9d21('0x3f')]=qs[_0x9d21('0x40')](_0x295e61['query'][_0x9d21('0x40')]);_0x2cd07a[_0x9d21('0x41')]=qs[_0x9d21('0x3a')](_[_0x9d21('0x42')](_0x295e61[_0x9d21('0x38')],_0x1761ad[_0x9d21('0x3a')]));_0x2cd07a[_0x9d21('0x41')][_0x9d21('0x5b')]=_0x1b1bba['id'];if(_0x295e61[_0x9d21('0x38')]['filter']){_0x2cd07a[_0x9d21('0x41')]=_[_0x9d21('0x44')](_0x2cd07a[_0x9d21('0x41')],{'$or':_[_0x9d21('0x37')](_0x2cd07a['attributes'],function(_0x40eff0){var _0x5c8543={};_0x5c8543[_0x40eff0]={'$like':'%'+_0x295e61[_0x9d21('0x38')][_0x9d21('0x43')]+'%'};return _0x5c8543;})});}_0x2cd07a=_[_0x9d21('0x44')]({},_0x2cd07a,_0x295e61[_0x9d21('0x46')]);return db[_0x9d21('0x5c')][_0x9d21('0x5d')](_0x2cd07a);}})['then'](function(_0xafb5da){if(_0xafb5da){return db['User'][_0x9d21('0x5e')]({'where':{'id':_['map'](_0xafb5da,_0x9d21('0x5f')),'role':_0x9d21('0x60')},'attributes':['id',_0x9d21('0x31'),_0x9d21('0x61'),'updatedAt','createdAt']});}})['then'](function(_0x1f14df){if(_0x1f14df){return{'count':_0x1f14df[_0x9d21('0x47')],'rows':_[_0x9d21('0x37')](_0x1f14df[_0x9d21('0x4a')],function(_0x5083f5){return{'membername':_0x5083f5[_0x9d21('0x31')],'UserId':_0x5083f5['id'],'queue_name':_0x3cb503[_0x9d21('0x31')],'MailQueueId':_0x3cb503['id'],'interface':util[_0x9d21('0x62')](_0x9d21('0x63'),'SIP',_0x5083f5[_0x9d21('0x31')]),'penalty':0x0,'paused':_0x5083f5[_0x9d21('0x61')],'createdAt':_0x5083f5[_0x9d21('0x64')],'updatedAt':_0x5083f5[_0x9d21('0x65')]};})};}else{return{'count':0x0,'rows':[]};}})['then'](respondWithFilteredResult(_0x2fc1b7,_0x2cd07a))[_0x9d21('0x4f')](handleError(_0x2fc1b7,null));};exports['getTeams']=function(_0x51523d,_0xc5a294,_0xbfd2fd){var _0x344c21={};var _0x342b80={};var _0x438c56;var _0x25fe58;return db[_0x9d21('0x33')][_0x9d21('0x5a')]({'where':{'id':_0x51523d[_0x9d21('0x4b')]['id']}})[_0x9d21('0x2b')](handleEntityNotFound(_0xc5a294,null))[_0x9d21('0x2b')](function(_0x29fbc2){if(_0x29fbc2){_0x438c56=_0x29fbc2;_0x342b80['model']=_['keys'](db[_0x9d21('0x66')][_0x9d21('0x34')]);_0x342b80['query']=_[_0x9d21('0x39')](_0x51523d['query']);_0x342b80[_0x9d21('0x3a')]=_[_0x9d21('0x3b')](_0x342b80[_0x9d21('0x36')],_0x342b80[_0x9d21('0x38')]);_0x344c21['attributes']=_[_0x9d21('0x3b')](_0x342b80[_0x9d21('0x36')],qs[_0x9d21('0x4c')](_0x51523d[_0x9d21('0x38')][_0x9d21('0x4c')]));_0x344c21[_0x9d21('0x3c')]=_0x344c21[_0x9d21('0x3c')][_0x9d21('0x4d')]?_0x344c21[_0x9d21('0x3c')]:_0x342b80[_0x9d21('0x36')];_0x344c21[_0x9d21('0x3f')]=qs[_0x9d21('0x40')](_0x51523d[_0x9d21('0x38')][_0x9d21('0x40')]);_0x344c21[_0x9d21('0x41')]=qs[_0x9d21('0x3a')](_[_0x9d21('0x42')](_0x51523d[_0x9d21('0x38')],_0x342b80[_0x9d21('0x3a')]));if(_0x51523d[_0x9d21('0x38')][_0x9d21('0x43')]){_0x344c21['where']=_['merge'](_0x344c21[_0x9d21('0x41')],{'$or':_[_0x9d21('0x37')](_0x344c21[_0x9d21('0x3c')],function(_0x421bd4){var _0x589464={};_0x589464[_0x421bd4]={'$like':'%'+_0x51523d['query'][_0x9d21('0x43')]+'%'};return _0x589464;})});}_0x344c21=_[_0x9d21('0x44')]({},_0x344c21,_0x51523d['options']);return _0x438c56[_0x9d21('0x67')](_0x344c21);}})[_0x9d21('0x2b')](function(_0x57f5b9){if(_0x57f5b9){_0x25fe58=_0x57f5b9[_0x9d21('0x4d')];if(!_0x51523d[_0x9d21('0x38')][_0x9d21('0x3d')](_0x9d21('0x3e'))){_0x344c21[_0x9d21('0x24')]=qs[_0x9d21('0x24')](_0x51523d['query']['limit']);_0x344c21[_0x9d21('0x23')]=qs[_0x9d21('0x23')](_0x51523d['query'][_0x9d21('0x23')]);}return _0x438c56[_0x9d21('0x67')](_0x344c21);}})[_0x9d21('0x2b')](function(_0x306fe7){if(_0x306fe7){return _0x306fe7?{'count':_0x25fe58,'rows':_0x306fe7}:null;}})[_0x9d21('0x2b')](respondWithResult(_0xc5a294,null))['catch'](handleError(_0xc5a294,null));};exports[_0x9d21('0x68')]=function(_0x5418d7,_0x4bd552,_0x42e756){var _0x12989a=_0x5418d7['body'][_0x9d21('0x69')];return db[_0x9d21('0x66')]['findAll']({'where':{'id':_0x12989a},'attributes':['id'],'include':[{'model':db[_0x9d21('0x6a')],'as':_0x9d21('0x6b'),'attributes':['id',_0x9d21('0x31'),_0x9d21('0x6c'),_0x9d21('0x6d'),_0x9d21('0x6e')],'raw':!![]}]})[_0x9d21('0x2b')](function(_0x5906ce){if(_0x5906ce){var _0x21d1a4=_[_0x9d21('0x6f')](_0x5906ce,function(_0x312665){var _0x442f94=_0x312665['get']({'plain':!![]});return _0x442f94[_0x9d21('0x6b')];});return db['MailQueue'][_0x9d21('0x4e')]({'where':{'id':_0x5418d7[_0x9d21('0x4b')]['id']}})[_0x9d21('0x2b')](function(_0x1be6cf){return db[_0x9d21('0x70')]['transaction'](function(_0x5ccf8a){return _0x1be6cf[_0x9d21('0x68')](_0x12989a,{'transaction':_0x5ccf8a})[_0x9d21('0x2b')](function(){return BPromise[_0x9d21('0x71')](_0x21d1a4,function(_0x270dfe){return db[_0x9d21('0x5c')][_0x9d21('0x72')]({'where':{'UserId':_0x270dfe['id'],'MailQueueId':_0x5418d7[_0x9d21('0x4b')]['id']},'transaction':_0x5ccf8a});});})[_0x9d21('0x2b')](function(){_0x21d1a4['forEach'](function(_0x2db0a0){socket[_0x9d21('0x73')](_0x9d21('0x74'),{'UserId':_0x2db0a0['id'],'MailQueueId':_0x1be6cf['id']});});});});});}})[_0x9d21('0x2b')](respondWithStatusCode(_0x4bd552,null))['catch'](handleError(_0x4bd552,null));};exports[_0x9d21('0x75')]=function(_0x497a81,_0xa38486,_0x539eb0){return db['Team'][_0x9d21('0x5d')]({'where':{'id':_0x497a81[_0x9d21('0x38')][_0x9d21('0x69')]},'attributes':['id'],'include':[{'model':db[_0x9d21('0x6a')],'as':_0x9d21('0x6b'),'attributes':['id'],'raw':!![]}]})[_0x9d21('0x2b')](handleEntityNotFound(_0xa38486,null))['then'](function(_0x226862){var _0x2657af=_[_0x9d21('0x37')](_0x226862,'id');var _0xd4bf15=[];var _0x5205b0=[];var _0x570b21=squel[_0x9d21('0x76')]();_0x570b21[_0x9d21('0x77')](_0x9d21('0x78'))[_0x9d21('0x79')]('team_has_mail_queues','tq')[_0x9d21('0x7a')](_0x9d21('0x7b'),'ut',_0x9d21('0x7c'))[_0x9d21('0x41')](_0x9d21('0x7d'),_0x497a81[_0x9d21('0x4b')]['id']);for(var _0x34ac91=0x0;_0x34ac91<_0x226862['length'];_0x34ac91+=0x1){let _0x50bf9b=_0x226862[_0x34ac91];for(var _0x362367=0x0;_0x362367<_0x50bf9b['Agents'][_0x9d21('0x4d')];_0x362367+=0x1){let _0x390594=_0x50bf9b[_0x9d21('0x6b')][_0x362367];var _0x3dd949=_0x570b21[_0x9d21('0x7e')]();_0x3dd949[_0x9d21('0x41')]('ut.UserId\x20=\x20?',_0x390594['id']);_0x5205b0[_0x9d21('0x7f')](db[_0x9d21('0x70')][_0x9d21('0x38')](_0x3dd949[_0x9d21('0x80')](),{'type':db[_0x9d21('0x70')][_0x9d21('0x81')]['SELECT']})['then'](function(_0x4f7d9d){if(_0x4f7d9d['length']===0x1){return _0x390594['id'];}else{var _0x921ec1=_[_0x9d21('0x82')](_[_0x9d21('0x37')](_0x4f7d9d,_0x9d21('0x83')),function(_0x5a95fb){return _['includes'](_0x2657af,_0x5a95fb);});if(_0x921ec1){return _0x390594['id'];}}}));}}return BPromise[_0x9d21('0x84')](_0x5205b0)[_0x9d21('0x2b')](function(_0x45b56f){_0xd4bf15=_(_0xd4bf15)[_0x9d21('0x85')](_0x45b56f)['compact']()[_0x9d21('0x86')]();return db[_0x9d21('0x33')][_0x9d21('0x4e')]({'where':{'id':_0x497a81[_0x9d21('0x4b')]['id']}})[_0x9d21('0x2b')](function(_0x2c3f61){return db[_0x9d21('0x70')][_0x9d21('0x87')](function(_0x48b61a){return _0x2c3f61['removeTeams'](_0x497a81['query'][_0x9d21('0x69')],{'transaction':_0x48b61a})[_0x9d21('0x2b')](function(){if(!_[_0x9d21('0x88')](_0xd4bf15)){return _0x2c3f61[_0x9d21('0x89')](_0xd4bf15,{'transaction':_0x48b61a});}})[_0x9d21('0x2b')](function(){_0xd4bf15['forEach'](function(_0x188975){socket[_0x9d21('0x73')](_0x9d21('0x8a'),{'UserId':_0x188975,'MailQueueId':_0x2c3f61['id']});});});});});});})[_0x9d21('0x2b')](respondWithStatusCode(_0xa38486,null))[_0x9d21('0x4f')](handleError(_0xa38486,null));};exports[_0x9d21('0x8b')]=function(_0x107866,_0x9361b8,_0x1b5cb6){return db[_0x9d21('0x33')][_0x9d21('0x4e')]({'where':{'id':_0x107866[_0x9d21('0x4b')]['id']}})[_0x9d21('0x2b')](handleEntityNotFound(_0x9361b8,null))[_0x9d21('0x2b')](function(_0x10821d){if(_0x10821d){return _0x10821d['addAgents'](_0x107866[_0x9d21('0x58')]['ids'],_[_0x9d21('0x8c')](_0x107866[_0x9d21('0x58')],['ids','id'])||{})[_0x9d21('0x8d')](function(_0xec4767){for(var _0x330974=0x0;_0x330974<_0x107866[_0x9d21('0x58')]['ids'][_0x9d21('0x4d')];_0x330974+=0x1){socket[_0x9d21('0x73')](_0x9d21('0x74'),{'UserId':_0x107866[_0x9d21('0x58')]['ids'][_0x330974],'MailQueueId':_0x107866[_0x9d21('0x4b')]['id']});}return _0xec4767;});}})[_0x9d21('0x2b')](respondWithResult(_0x9361b8,null))[_0x9d21('0x4f')](handleError(_0x9361b8,null));};exports[_0x9d21('0x89')]=function(_0x3565aa,_0xa3c7c5,_0x8b789a){return db[_0x9d21('0x33')][_0x9d21('0x4e')]({'where':{'id':_0x3565aa[_0x9d21('0x4b')]['id']}})[_0x9d21('0x2b')](handleEntityNotFound(_0xa3c7c5,null))[_0x9d21('0x2b')](function(_0x396223){if(_0x396223){return _0x396223[_0x9d21('0x89')](_0x3565aa[_0x9d21('0x38')][_0x9d21('0x69')])[_0x9d21('0x2b')](function(){if(_['isArray'](_0x3565aa[_0x9d21('0x38')][_0x9d21('0x69')])){for(var _0x49e41f=0x0;_0x49e41f<_0x3565aa[_0x9d21('0x38')][_0x9d21('0x69')][_0x9d21('0x4d')];_0x49e41f+=0x1){socket[_0x9d21('0x73')]('userMailQueue:remove',{'UserId':Number(_0x3565aa[_0x9d21('0x38')]['ids'][_0x49e41f]),'MailQueueId':Number(_0x3565aa[_0x9d21('0x4b')]['id'])});}}else{socket[_0x9d21('0x73')]('userMailQueue:remove',{'UserId':Number(_0x3565aa[_0x9d21('0x38')][_0x9d21('0x69')]),'MailQueueId':Number(_0x3565aa[_0x9d21('0x4b')]['id'])});}});}})[_0x9d21('0x2b')](respondWithStatusCode(_0xa3c7c5,null))[_0x9d21('0x4f')](handleError(_0xa3c7c5,null));};exports[_0x9d21('0x8e')]=function(_0x494e02,_0x530fd4,_0x36ccd4){var _0x2d174a={};var _0x21a0ff={};var _0x27169c;var _0x1cf626;return db[_0x9d21('0x33')][_0x9d21('0x5a')]({'where':{'id':_0x494e02[_0x9d21('0x4b')]['id']}})[_0x9d21('0x2b')](handleEntityNotFound(_0x530fd4,null))[_0x9d21('0x2b')](function(_0x5ebf0f){if(_0x5ebf0f){_0x27169c=_0x5ebf0f;_0x21a0ff[_0x9d21('0x36')]=_[_0x9d21('0x39')](db[_0x9d21('0x6a')][_0x9d21('0x34')]);_0x21a0ff['query']=_[_0x9d21('0x39')](_0x494e02[_0x9d21('0x38')]);_0x21a0ff[_0x9d21('0x3a')]=_[_0x9d21('0x3b')](_0x21a0ff[_0x9d21('0x36')],_0x21a0ff['query']);_0x2d174a[_0x9d21('0x3c')]=_['intersection'](_0x21a0ff[_0x9d21('0x36')],qs['fields'](_0x494e02[_0x9d21('0x38')][_0x9d21('0x4c')]));_0x2d174a['attributes']=_0x2d174a[_0x9d21('0x3c')][_0x9d21('0x4d')]?_0x2d174a[_0x9d21('0x3c')]:_0x21a0ff[_0x9d21('0x36')];_0x2d174a[_0x9d21('0x3f')]=qs['sort'](_0x494e02[_0x9d21('0x38')][_0x9d21('0x40')]);_0x2d174a[_0x9d21('0x41')]=qs[_0x9d21('0x3a')](_[_0x9d21('0x42')](_0x494e02[_0x9d21('0x38')],_0x21a0ff['filters']));if(_0x494e02[_0x9d21('0x38')][_0x9d21('0x43')]){_0x2d174a[_0x9d21('0x41')]=_[_0x9d21('0x44')](_0x2d174a['where'],{'$or':_[_0x9d21('0x37')](_0x2d174a[_0x9d21('0x3c')],function(_0x5c6690){var _0x2c3216={};_0x2c3216[_0x5c6690]={'$like':'%'+_0x494e02[_0x9d21('0x38')][_0x9d21('0x43')]+'%'};return _0x2c3216;})});}_0x2d174a=_['merge']({},_0x2d174a,_0x494e02[_0x9d21('0x46')]);return _0x27169c[_0x9d21('0x8e')](_0x2d174a);}})[_0x9d21('0x2b')](function(_0x51ba3f){if(_0x51ba3f){_0x1cf626=_0x51ba3f['length'];if(!_0x494e02[_0x9d21('0x38')]['hasOwnProperty'](_0x9d21('0x3e'))){_0x2d174a[_0x9d21('0x24')]=qs[_0x9d21('0x24')](_0x494e02['query'][_0x9d21('0x24')]);_0x2d174a[_0x9d21('0x23')]=qs[_0x9d21('0x23')](_0x494e02['query']['offset']);}return _0x27169c[_0x9d21('0x8e')](_0x2d174a);}})[_0x9d21('0x2b')](function(_0x3d21c4){if(_0x3d21c4){return _0x3d21c4?{'count':_0x1cf626,'rows':_0x3d21c4}:null;}})[_0x9d21('0x2b')](respondWithResult(_0x530fd4,null))[_0x9d21('0x4f')](handleError(_0x530fd4,null));}; \ No newline at end of file diff --git a/server/api/mailQueue/mailQueue.events.js b/server/api/mailQueue/mailQueue.events.js index 996a832..0e7f7bc 100644 --- a/server/api/mailQueue/mailQueue.events.js +++ b/server/api/mailQueue/mailQueue.events.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xf1a9=['save','remove','emit','hasOwnProperty','hook','exports','events','MailQueue','setMaxListeners'];(function(_0x17d286,_0x386e00){var _0x49b436=function(_0x191abd){while(--_0x191abd){_0x17d286['push'](_0x17d286['shift']());}};_0x49b436(++_0x386e00);}(_0xf1a9,0x72));var _0x9f1a=function(_0x31e29a,_0x349c9b){_0x31e29a=_0x31e29a-0x0;var _0x32d892=_0xf1a9[_0x31e29a];return _0x32d892;};'use strict';var EventEmitter=require(_0x9f1a('0x0'));var MailQueue=require('../../mysqldb')['db'][_0x9f1a('0x1')];var MailQueueEvents=new EventEmitter();MailQueueEvents[_0x9f1a('0x2')](0x0);var events={'afterCreate':_0x9f1a('0x3'),'afterUpdate':'update','afterDestroy':_0x9f1a('0x4')};function emitEvent(_0x5d2011){return function(_0x17cf57,_0x590853,_0x1ec73a){MailQueueEvents[_0x9f1a('0x5')](_0x5d2011+':'+_0x17cf57['id'],_0x17cf57);MailQueueEvents[_0x9f1a('0x5')](_0x5d2011,_0x17cf57);_0x1ec73a(null);};}for(var e in events){if(events[_0x9f1a('0x6')](e)){var event=events[e];MailQueue[_0x9f1a('0x7')](e,emitEvent(event));}}module[_0x9f1a('0x8')]=MailQueueEvents; \ No newline at end of file +var _0x8aff=['../../mysqldb','MailQueue','setMaxListeners','save','update','remove','emit','hasOwnProperty','exports','events'];(function(_0x3e8cbd,_0x4e38b0){var _0x5e8587=function(_0x5418e){while(--_0x5418e){_0x3e8cbd['push'](_0x3e8cbd['shift']());}};_0x5e8587(++_0x4e38b0);}(_0x8aff,0x1d5));var _0xf8af=function(_0x25e7cb,_0x3579b7){_0x25e7cb=_0x25e7cb-0x0;var _0x375d92=_0x8aff[_0x25e7cb];return _0x375d92;};'use strict';var EventEmitter=require(_0xf8af('0x0'));var MailQueue=require(_0xf8af('0x1'))['db'][_0xf8af('0x2')];var MailQueueEvents=new EventEmitter();MailQueueEvents[_0xf8af('0x3')](0x0);var events={'afterCreate':_0xf8af('0x4'),'afterUpdate':_0xf8af('0x5'),'afterDestroy':_0xf8af('0x6')};function emitEvent(_0x437b01){return function(_0x5853e3,_0x2f82e5,_0x3deaa8){MailQueueEvents[_0xf8af('0x7')](_0x437b01+':'+_0x5853e3['id'],_0x5853e3);MailQueueEvents[_0xf8af('0x7')](_0x437b01,_0x5853e3);_0x3deaa8(null);};}for(var e in events){if(events[_0xf8af('0x8')](e)){var event=events[e];MailQueue['hook'](e,emitEvent(event));}}module[_0xf8af('0x9')]=MailQueueEvents; \ No newline at end of file diff --git a/server/api/mailQueue/mailQueue.model.js b/server/api/mailQueue/mailQueue.model.js index f3cbeb6..4459d51 100644 --- a/server/api/mailQueue/mailQueue.model.js +++ b/server/api/mailQueue/mailQueue.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x0cd1=['moment','bluebird','request-promise','path','rimraf','./mailQueue.attributes','exports','define','MailQueue','mail_queues','util','../../config/logger','api'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x0cd1,0x135));var _0x10cd=function(_0xdff763,_0x477c10){_0xdff763=_0xdff763-0x0;var _0x99390e=_0x0cd1[_0xdff763];return _0x99390e;};'use strict';var _=require('lodash');var util=require(_0x10cd('0x0'));var logger=require(_0x10cd('0x1'))(_0x10cd('0x2'));var moment=require(_0x10cd('0x3'));var BPromise=require(_0x10cd('0x4'));var rp=require(_0x10cd('0x5'));var fs=require('fs');var path=require(_0x10cd('0x6'));var rimraf=require(_0x10cd('0x7'));var config=require('../../config/environment');var attributes=require(_0x10cd('0x8'));module[_0x10cd('0x9')]=function(_0x5d5d1e,_0x5bdd0e){return _0x5d5d1e[_0x10cd('0xa')](_0x10cd('0xb'),attributes,{'tableName':_0x10cd('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0x61c7=['moment','bluebird','request-promise','path','./mailQueue.attributes','exports','MailQueue','mail_queues','lodash','util','../../config/logger','api'];(function(_0x45d317,_0x1c2b74){var _0x17127f=function(_0xb27a51){while(--_0xb27a51){_0x45d317['push'](_0x45d317['shift']());}};_0x17127f(++_0x1c2b74);}(_0x61c7,0x128));var _0x761c=function(_0x308cd4,_0x1ef5de){_0x308cd4=_0x308cd4-0x0;var _0x43972b=_0x61c7[_0x308cd4];return _0x43972b;};'use strict';var _=require(_0x761c('0x0'));var util=require(_0x761c('0x1'));var logger=require(_0x761c('0x2'))(_0x761c('0x3'));var moment=require(_0x761c('0x4'));var BPromise=require(_0x761c('0x5'));var rp=require(_0x761c('0x6'));var fs=require('fs');var path=require(_0x761c('0x7'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x761c('0x8'));module[_0x761c('0x9')]=function(_0x5b0029,_0x3566d2){return _0x5b0029['define'](_0x761c('0xa'),attributes,{'tableName':_0x761c('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/mailQueue/mailQueue.rpc.js b/server/api/mailQueue/mailQueue.rpc.js index e61eeaf..d5989e6 100644 --- a/server/api/mailQueue/mailQueue.rpc.js +++ b/server/api/mailQueue/mailQueue.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x37a8=['raw','where','attributes','limit','include','map','model','stringify','catch','ShowMailQueue','find','util','moment','bluebird','randomstring','ioredis','../../mysqldb','../../config/utils','../../config/logger','client','http','redis','socket.io-emitter','register','request','then','MailQueue,\x20%s,\x20%s','request\x20sent','debug','error','code','message','info','result','GetMailQueue','MailQueue','findAll','options'];(function(_0x3b32df,_0x23f2f5){var _0x3fac07=function(_0x274069){while(--_0x274069){_0x3b32df['push'](_0x3b32df['shift']());}};_0x3fac07(++_0x23f2f5);}(_0x37a8,0x115));var _0x837a=function(_0x1f863c,_0x536329){_0x1f863c=_0x1f863c-0x0;var _0x10256f=_0x37a8[_0x1f863c];return _0x10256f;};'use strict';var _=require('lodash');var util=require(_0x837a('0x0'));var moment=require(_0x837a('0x1'));var BPromise=require(_0x837a('0x2'));var rs=require(_0x837a('0x3'));var fs=require('fs');var Redis=require(_0x837a('0x4'));var db=require(_0x837a('0x5'))['db'];var utils=require(_0x837a('0x6'));var logger=require(_0x837a('0x7'))('rpc');var config=require('../../config/environment');var jayson=require('jayson/promise');var client=jayson[_0x837a('0x8')][_0x837a('0x9')]({'port':0x232a});config[_0x837a('0xa')]=_['defaults'](config[_0x837a('0xa')],{'host':'localhost','port':0x18eb});var socket=require(_0x837a('0xb'))(new Redis(config[_0x837a('0xa')]));require('./mailQueue.socket')[_0x837a('0xc')](socket);function respondWithRpcPromise(_0x511340,_0x2e319c,_0x573e89){return new BPromise(function(_0x2e6b84,_0x4d36d0){return client[_0x837a('0xd')](_0x511340,_0x573e89)[_0x837a('0xe')](function(_0x5c0f3f){logger['info'](_0x837a('0xf'),_0x2e319c,_0x837a('0x10'));logger[_0x837a('0x11')]('MailQueue,\x20%s,\x20%s,\x20%s',_0x2e319c,_0x837a('0x10'),JSON['stringify'](_0x5c0f3f));if(_0x5c0f3f['error']){if(_0x5c0f3f[_0x837a('0x12')][_0x837a('0x13')]===0x1f4){logger['error']('MailQueue,\x20%s,\x20%s',_0x2e319c,_0x5c0f3f[_0x837a('0x12')][_0x837a('0x14')]);return _0x4d36d0(_0x5c0f3f['error'][_0x837a('0x14')]);}logger['error'](_0x837a('0xf'),_0x2e319c,_0x5c0f3f['error'][_0x837a('0x14')]);return _0x2e6b84(_0x5c0f3f[_0x837a('0x12')][_0x837a('0x14')]);}else{logger[_0x837a('0x15')](_0x837a('0xf'),_0x2e319c,_0x837a('0x10'));_0x2e6b84(_0x5c0f3f[_0x837a('0x16')][_0x837a('0x14')]);}})['catch'](function(_0x1cc647){logger[_0x837a('0x12')](_0x837a('0xf'),_0x2e319c,_0x1cc647);_0x4d36d0(_0x1cc647);});});}exports[_0x837a('0x17')]=function(_0x56b49f){var _0xf8f732=this;return new Promise(function(_0x2bb1a2,_0x209a2d){return db[_0x837a('0x18')][_0x837a('0x19')]({'raw':_0x56b49f[_0x837a('0x1a')]?_0x56b49f[_0x837a('0x1a')][_0x837a('0x1b')]===undefined?!![]:![]:!![],'where':_0x56b49f[_0x837a('0x1a')]?_0x56b49f[_0x837a('0x1a')][_0x837a('0x1c')]||null:null,'attributes':_0x56b49f[_0x837a('0x1a')]?_0x56b49f['options'][_0x837a('0x1d')]||null:null,'limit':_0x56b49f[_0x837a('0x1a')]?_0x56b49f[_0x837a('0x1a')][_0x837a('0x1e')]||null:null,'include':_0x56b49f['options']?_0x56b49f[_0x837a('0x1a')][_0x837a('0x1f')]?_[_0x837a('0x20')](_0x56b49f[_0x837a('0x1a')][_0x837a('0x1f')],function(_0xfe7d06){return{'model':db[_0xfe7d06['model']],'as':_0xfe7d06['as'],'attributes':_0xfe7d06[_0x837a('0x1d')],'include':_0xfe7d06[_0x837a('0x1f')]?_['map'](_0xfe7d06['include'],function(_0x2166e9){return{'model':db[_0x2166e9[_0x837a('0x21')]],'as':_0x2166e9['as'],'attributes':_0x2166e9[_0x837a('0x1d')],'include':_0x2166e9['include']?_[_0x837a('0x20')](_0x2166e9[_0x837a('0x1f')],function(_0x3d94e5){return{'model':db[_0x3d94e5[_0x837a('0x21')]],'as':_0x3d94e5['as'],'attributes':_0x3d94e5['attributes']};}):[]};}):[]};}):[]:[]})[_0x837a('0xe')](function(_0x55c3ae){logger[_0x837a('0x15')](_0x837a('0x17'),_0x56b49f);logger[_0x837a('0x11')](_0x837a('0x17'),_0x56b49f,JSON[_0x837a('0x22')](_0x55c3ae));_0x2bb1a2(_0x55c3ae);})[_0x837a('0x23')](function(_0x1948a9){logger[_0x837a('0x12')](_0x837a('0x17'),_0x1948a9[_0x837a('0x14')],_0x56b49f);_0x209a2d(_0xf8f732[_0x837a('0x12')](0x1f4,_0x1948a9[_0x837a('0x14')]));});});};exports[_0x837a('0x24')]=function(_0x38f2e3){var _0x37d963=this;return new Promise(function(_0x8223bc,_0x57fe3b){return db[_0x837a('0x18')][_0x837a('0x25')]({'raw':_0x38f2e3[_0x837a('0x1a')]?_0x38f2e3[_0x837a('0x1a')]['raw']===undefined?!![]:![]:!![],'where':_0x38f2e3[_0x837a('0x1a')]?_0x38f2e3[_0x837a('0x1a')][_0x837a('0x1c')]||null:null,'attributes':_0x38f2e3[_0x837a('0x1a')]?_0x38f2e3[_0x837a('0x1a')][_0x837a('0x1d')]||null:null,'include':_0x38f2e3[_0x837a('0x1a')]?_0x38f2e3[_0x837a('0x1a')][_0x837a('0x1f')]?_['map'](_0x38f2e3['options'][_0x837a('0x1f')],function(_0x1163d4){return{'model':db[_0x1163d4[_0x837a('0x21')]],'as':_0x1163d4['as'],'attributes':_0x1163d4[_0x837a('0x1d')],'include':_0x1163d4['include']?_['map'](_0x1163d4[_0x837a('0x1f')],function(_0x292cf3){return{'model':db[_0x292cf3[_0x837a('0x21')]],'as':_0x292cf3['as'],'attributes':_0x292cf3[_0x837a('0x1d')],'include':_0x292cf3['include']?_['map'](_0x292cf3[_0x837a('0x1f')],function(_0x468743){return{'model':db[_0x468743[_0x837a('0x21')]],'as':_0x468743['as'],'attributes':_0x468743[_0x837a('0x1d')]};}):[]};}):[]};}):[]:[]})[_0x837a('0xe')](function(_0xff7edd){logger[_0x837a('0x15')](_0x837a('0x24'),_0x38f2e3);logger['debug'](_0x837a('0x24'),_0x38f2e3,JSON[_0x837a('0x22')](_0xff7edd));_0x8223bc(_0xff7edd);})[_0x837a('0x23')](function(_0x3b0c9f){logger['error'](_0x837a('0x24'),_0x3b0c9f[_0x837a('0x14')],_0x38f2e3);_0x57fe3b(_0x37d963[_0x837a('0x12')](0x1f4,_0x3b0c9f[_0x837a('0x14')]));});});}; \ No newline at end of file +var _0xbde8=['findAll','options','where','attributes','limit','map','include','model','then','catch','find','raw','ShowMailQueue','lodash','util','bluebird','randomstring','ioredis','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','client','http','redis','defaults','localhost','socket.io-emitter','./mailQueue.socket','request','info','debug','request\x20sent','stringify','error','MailQueue,\x20%s,\x20%s','message','result','GetMailQueue','MailQueue'];(function(_0x5093e9,_0x5154d0){var _0x4c9a22=function(_0x15176d){while(--_0x15176d){_0x5093e9['push'](_0x5093e9['shift']());}};_0x4c9a22(++_0x5154d0);}(_0xbde8,0x155));var _0x8bde=function(_0x136290,_0x3e6b8f){_0x136290=_0x136290-0x0;var _0x290e92=_0xbde8[_0x136290];return _0x290e92;};'use strict';var _=require(_0x8bde('0x0'));var util=require(_0x8bde('0x1'));var moment=require('moment');var BPromise=require(_0x8bde('0x2'));var rs=require(_0x8bde('0x3'));var fs=require('fs');var Redis=require(_0x8bde('0x4'));var db=require('../../mysqldb')['db'];var utils=require(_0x8bde('0x5'));var logger=require(_0x8bde('0x6'))(_0x8bde('0x7'));var config=require(_0x8bde('0x8'));var jayson=require(_0x8bde('0x9'));var client=jayson[_0x8bde('0xa')][_0x8bde('0xb')]({'port':0x232a});config[_0x8bde('0xc')]=_[_0x8bde('0xd')](config['redis'],{'host':_0x8bde('0xe'),'port':0x18eb});var socket=require(_0x8bde('0xf'))(new Redis(config[_0x8bde('0xc')]));require(_0x8bde('0x10'))['register'](socket);function respondWithRpcPromise(_0x27b3af,_0xd85a3d,_0x8a02d9){return new BPromise(function(_0x3e1540,_0x49114d){return client[_0x8bde('0x11')](_0x27b3af,_0x8a02d9)['then'](function(_0x563672){logger[_0x8bde('0x12')]('MailQueue,\x20%s,\x20%s',_0xd85a3d,'request\x20sent');logger[_0x8bde('0x13')]('MailQueue,\x20%s,\x20%s,\x20%s',_0xd85a3d,_0x8bde('0x14'),JSON[_0x8bde('0x15')](_0x563672));if(_0x563672[_0x8bde('0x16')]){if(_0x563672[_0x8bde('0x16')]['code']===0x1f4){logger[_0x8bde('0x16')](_0x8bde('0x17'),_0xd85a3d,_0x563672[_0x8bde('0x16')][_0x8bde('0x18')]);return _0x49114d(_0x563672[_0x8bde('0x16')][_0x8bde('0x18')]);}logger[_0x8bde('0x16')](_0x8bde('0x17'),_0xd85a3d,_0x563672[_0x8bde('0x16')][_0x8bde('0x18')]);return _0x3e1540(_0x563672['error'][_0x8bde('0x18')]);}else{logger['info']('MailQueue,\x20%s,\x20%s',_0xd85a3d,_0x8bde('0x14'));_0x3e1540(_0x563672[_0x8bde('0x19')][_0x8bde('0x18')]);}})['catch'](function(_0x5b2f4b){logger[_0x8bde('0x16')](_0x8bde('0x17'),_0xd85a3d,_0x5b2f4b);_0x49114d(_0x5b2f4b);});});}exports[_0x8bde('0x1a')]=function(_0x9bdb42){var _0x568336=this;return new Promise(function(_0x41aa4b,_0x469336){return db[_0x8bde('0x1b')][_0x8bde('0x1c')]({'raw':_0x9bdb42[_0x8bde('0x1d')]?_0x9bdb42[_0x8bde('0x1d')]['raw']===undefined?!![]:![]:!![],'where':_0x9bdb42['options']?_0x9bdb42[_0x8bde('0x1d')][_0x8bde('0x1e')]||null:null,'attributes':_0x9bdb42['options']?_0x9bdb42[_0x8bde('0x1d')][_0x8bde('0x1f')]||null:null,'limit':_0x9bdb42['options']?_0x9bdb42[_0x8bde('0x1d')][_0x8bde('0x20')]||null:null,'include':_0x9bdb42['options']?_0x9bdb42[_0x8bde('0x1d')]['include']?_[_0x8bde('0x21')](_0x9bdb42[_0x8bde('0x1d')][_0x8bde('0x22')],function(_0x4fcea1){return{'model':db[_0x4fcea1[_0x8bde('0x23')]],'as':_0x4fcea1['as'],'attributes':_0x4fcea1['attributes'],'include':_0x4fcea1[_0x8bde('0x22')]?_[_0x8bde('0x21')](_0x4fcea1[_0x8bde('0x22')],function(_0xfaf8de){return{'model':db[_0xfaf8de['model']],'as':_0xfaf8de['as'],'attributes':_0xfaf8de[_0x8bde('0x1f')],'include':_0xfaf8de[_0x8bde('0x22')]?_['map'](_0xfaf8de[_0x8bde('0x22')],function(_0x39ceaf){return{'model':db[_0x39ceaf['model']],'as':_0x39ceaf['as'],'attributes':_0x39ceaf[_0x8bde('0x1f')]};}):[]};}):[]};}):[]:[]})[_0x8bde('0x24')](function(_0x4bdbdb){logger[_0x8bde('0x12')](_0x8bde('0x1a'),_0x9bdb42);logger[_0x8bde('0x13')](_0x8bde('0x1a'),_0x9bdb42,JSON[_0x8bde('0x15')](_0x4bdbdb));_0x41aa4b(_0x4bdbdb);})[_0x8bde('0x25')](function(_0x1093dd){logger[_0x8bde('0x16')](_0x8bde('0x1a'),_0x1093dd[_0x8bde('0x18')],_0x9bdb42);_0x469336(_0x568336[_0x8bde('0x16')](0x1f4,_0x1093dd[_0x8bde('0x18')]));});});};exports['ShowMailQueue']=function(_0x143523){var _0x4cddc6=this;return new Promise(function(_0x87a65,_0x3278f8){return db[_0x8bde('0x1b')][_0x8bde('0x26')]({'raw':_0x143523['options']?_0x143523[_0x8bde('0x1d')][_0x8bde('0x27')]===undefined?!![]:![]:!![],'where':_0x143523[_0x8bde('0x1d')]?_0x143523[_0x8bde('0x1d')]['where']||null:null,'attributes':_0x143523['options']?_0x143523[_0x8bde('0x1d')][_0x8bde('0x1f')]||null:null,'include':_0x143523[_0x8bde('0x1d')]?_0x143523[_0x8bde('0x1d')][_0x8bde('0x22')]?_[_0x8bde('0x21')](_0x143523[_0x8bde('0x1d')]['include'],function(_0x4b5dcb){return{'model':db[_0x4b5dcb['model']],'as':_0x4b5dcb['as'],'attributes':_0x4b5dcb[_0x8bde('0x1f')],'include':_0x4b5dcb[_0x8bde('0x22')]?_[_0x8bde('0x21')](_0x4b5dcb[_0x8bde('0x22')],function(_0x2264ad){return{'model':db[_0x2264ad[_0x8bde('0x23')]],'as':_0x2264ad['as'],'attributes':_0x2264ad[_0x8bde('0x1f')],'include':_0x2264ad[_0x8bde('0x22')]?_[_0x8bde('0x21')](_0x2264ad[_0x8bde('0x22')],function(_0x45cbeb){return{'model':db[_0x45cbeb[_0x8bde('0x23')]],'as':_0x45cbeb['as'],'attributes':_0x45cbeb[_0x8bde('0x1f')]};}):[]};}):[]};}):[]:[]})[_0x8bde('0x24')](function(_0xd7fbe0){logger[_0x8bde('0x12')](_0x8bde('0x28'),_0x143523);logger['debug']('ShowMailQueue',_0x143523,JSON[_0x8bde('0x15')](_0xd7fbe0));_0x87a65(_0xd7fbe0);})[_0x8bde('0x25')](function(_0x32795a){logger['error'](_0x8bde('0x28'),_0x32795a[_0x8bde('0x18')],_0x143523);_0x3278f8(_0x4cddc6[_0x8bde('0x16')](0x1f4,_0x32795a[_0x8bde('0x18')]));});});}; \ No newline at end of file diff --git a/server/api/mailQueue/mailQueue.socket.js b/server/api/mailQueue/mailQueue.socket.js index ed32cf7..4fd4a46 100644 --- a/server/api/mailQueue/mailQueue.socket.js +++ b/server/api/mailQueue/mailQueue.socket.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xa638=['update','emit','length','./mailQueue.events','remove'];(function(_0x225512,_0x33aacd){var _0xe68078=function(_0x16d5d2){while(--_0x16d5d2){_0x225512['push'](_0x225512['shift']());}};_0xe68078(++_0x33aacd);}(_0xa638,0x1cf));var _0x8a63=function(_0x2e4aa2,_0x11956a){_0x2e4aa2=_0x2e4aa2-0x0;var _0x5e6092=_0xa638[_0x2e4aa2];return _0x5e6092;};'use strict';var MailQueueEvents=require(_0x8a63('0x0'));var events=['save',_0x8a63('0x1'),_0x8a63('0x2')];function createListener(_0x3cc7b2,_0x16ead9){return function(_0x4b20a4){_0x16ead9[_0x8a63('0x3')](_0x3cc7b2,_0x4b20a4);};}function removeListener(_0x511410,_0x5c0850){return function(){MailQueueEvents['removeListener'](_0x511410,_0x5c0850);};}exports['register']=function(_0x1a26df){for(var _0x1fe466=0x0,_0x3bf488=events[_0x8a63('0x4')];_0x1fe466<_0x3bf488;_0x1fe466++){var _0x25c549=events[_0x1fe466];var _0x14ef70=createListener('mailQueue:'+_0x25c549,_0x1a26df);MailQueueEvents['on'](_0x25c549,_0x14ef70);}}; \ No newline at end of file +var _0xbb61=['register','mailQueue:','./mailQueue.events','update','emit'];(function(_0x23fd02,_0x335efc){var _0x278cd8=function(_0x22e7b1){while(--_0x22e7b1){_0x23fd02['push'](_0x23fd02['shift']());}};_0x278cd8(++_0x335efc);}(_0xbb61,0x1f1));var _0x1bb6=function(_0x2f5a22,_0x5e9f03){_0x2f5a22=_0x2f5a22-0x0;var _0x326b70=_0xbb61[_0x2f5a22];return _0x326b70;};'use strict';var MailQueueEvents=require(_0x1bb6('0x0'));var events=['save','remove',_0x1bb6('0x1')];function createListener(_0x1bffe1,_0x147b0d){return function(_0x4a97e5){_0x147b0d[_0x1bb6('0x2')](_0x1bffe1,_0x4a97e5);};}function removeListener(_0x27bcff,_0x166f54){return function(){MailQueueEvents['removeListener'](_0x27bcff,_0x166f54);};}exports[_0x1bb6('0x3')]=function(_0x40cd78){for(var _0x358fd8=0x0,_0x884992=events['length'];_0x358fd8<_0x884992;_0x358fd8++){var _0x54ff6e=events[_0x358fd8];var _0x306c69=createListener(_0x1bb6('0x4')+_0x54ff6e,_0x40cd78);MailQueueEvents['on'](_0x54ff6e,_0x306c69);}}; \ No newline at end of file diff --git a/server/api/mailQueueReport/index.js b/server/api/mailQueueReport/index.js index 184326e..4959b25 100644 --- a/server/api/mailQueueReport/index.js +++ b/server/api/mailQueueReport/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xc995=['post','create','put','update','delete','destroy','exports','multer','path','connect-timeout','express','Router','../../components/interaction/service','./mailQueueReport.controller','get','isAuthenticated','/describe','describe','/:id','show'];(function(_0x5c174f,_0x4538a1){var _0x43471d=function(_0x437c86){while(--_0x437c86){_0x5c174f['push'](_0x5c174f['shift']());}};_0x43471d(++_0x4538a1);}(_0xc995,0x147));var _0x5c99=function(_0x6980c2,_0xac915c){_0x6980c2=_0x6980c2-0x0;var _0x3c8b3f=_0xc995[_0x6980c2];return _0x3c8b3f;};'use strict';var multer=require(_0x5c99('0x0'));var util=require('util');var path=require(_0x5c99('0x1'));var timeout=require(_0x5c99('0x2'));var express=require(_0x5c99('0x3'));var router=express[_0x5c99('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0x5c99('0x5'));var config=require('../../config/environment');var controller=require(_0x5c99('0x6'));router[_0x5c99('0x7')]('/',auth[_0x5c99('0x8')](),controller['index']);router[_0x5c99('0x7')](_0x5c99('0x9'),auth[_0x5c99('0x8')](),controller[_0x5c99('0xa')]);router[_0x5c99('0x7')](_0x5c99('0xb'),auth[_0x5c99('0x8')](),controller[_0x5c99('0xc')]);router[_0x5c99('0xd')]('/',auth[_0x5c99('0x8')](),controller[_0x5c99('0xe')]);router[_0x5c99('0xf')](_0x5c99('0xb'),auth[_0x5c99('0x8')](),controller[_0x5c99('0x10')]);router[_0x5c99('0x11')](_0x5c99('0xb'),auth[_0x5c99('0x8')](),controller[_0x5c99('0x12')]);module[_0x5c99('0x13')]=router; \ No newline at end of file +var _0x2b9a=['get','/describe','isAuthenticated','describe','/:id','show','post','update','delete','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./mailQueueReport.controller','index'];(function(_0x491ba3,_0x3a6890){var _0x2f4c71=function(_0x48fb75){while(--_0x48fb75){_0x491ba3['push'](_0x491ba3['shift']());}};_0x2f4c71(++_0x3a6890);}(_0x2b9a,0x145));var _0xa2b9=function(_0x29f3af,_0x301a37){_0x29f3af=_0x29f3af-0x0;var _0x518bab=_0x2b9a[_0x29f3af];return _0x518bab;};'use strict';var multer=require(_0xa2b9('0x0'));var util=require(_0xa2b9('0x1'));var path=require(_0xa2b9('0x2'));var timeout=require(_0xa2b9('0x3'));var express=require(_0xa2b9('0x4'));var router=express[_0xa2b9('0x5')]();var auth=require(_0xa2b9('0x6'));var interaction=require(_0xa2b9('0x7'));var config=require(_0xa2b9('0x8'));var controller=require(_0xa2b9('0x9'));router['get']('/',auth['isAuthenticated'](),controller[_0xa2b9('0xa')]);router[_0xa2b9('0xb')](_0xa2b9('0xc'),auth[_0xa2b9('0xd')](),controller[_0xa2b9('0xe')]);router[_0xa2b9('0xb')](_0xa2b9('0xf'),auth[_0xa2b9('0xd')](),controller[_0xa2b9('0x10')]);router[_0xa2b9('0x11')]('/',auth['isAuthenticated'](),controller['create']);router['put']('/:id',auth[_0xa2b9('0xd')](),controller[_0xa2b9('0x12')]);router[_0xa2b9('0x13')](_0xa2b9('0xf'),auth['isAuthenticated'](),controller['destroy']);module[_0xa2b9('0x14')]=router; \ No newline at end of file diff --git a/server/api/mailQueueReport/mailQueueReport.attributes.js b/server/api/mailQueueReport/mailQueueReport.attributes.js index f5f5dda..8b1deeb 100644 --- a/server/api/mailQueueReport/mailQueueReport.attributes.js +++ b/server/api/mailQueueReport/mailQueueReport.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x26bf=['exports','DATE','STRING','moment'];(function(_0x2e2c43,_0x324f7f){var _0x3d8675=function(_0x476944){while(--_0x476944){_0x2e2c43['push'](_0x2e2c43['shift']());}};_0x3d8675(++_0x324f7f);}(_0x26bf,0x1cb));var _0xf26b=function(_0x4d02d1,_0xd83ad4){_0x4d02d1=_0x4d02d1-0x0;var _0x5e3d6d=_0x26bf[_0x4d02d1];return _0x5e3d6d;};'use strict';var moment=require(_0xf26b('0x0'));var Sequelize=require('sequelize');module[_0xf26b('0x1')]={'uniqueid':{'type':Sequelize['STRING'],'allowNull':![]},'from':{'type':Sequelize['STRING']},'joinAt':{'type':Sequelize[_0xf26b('0x2')]},'leaveAt':{'type':Sequelize['DATE']},'acceptAt':{'type':Sequelize[_0xf26b('0x2')]},'exitAt':{'type':Sequelize[_0xf26b('0x2')]},'reason':{'type':Sequelize[_0xf26b('0x3')]}}; \ No newline at end of file +var _0x34df=['exports','STRING','DATE','moment','sequelize'];(function(_0x46d0c9,_0x526bfa){var _0x174506=function(_0x654bc6){while(--_0x654bc6){_0x46d0c9['push'](_0x46d0c9['shift']());}};_0x174506(++_0x526bfa);}(_0x34df,0xdf));var _0xf34d=function(_0x75f869,_0x3690d6){_0x75f869=_0x75f869-0x0;var _0x10af8b=_0x34df[_0x75f869];return _0x10af8b;};'use strict';var moment=require(_0xf34d('0x0'));var Sequelize=require(_0xf34d('0x1'));module[_0xf34d('0x2')]={'uniqueid':{'type':Sequelize[_0xf34d('0x3')],'allowNull':![]},'from':{'type':Sequelize[_0xf34d('0x3')]},'joinAt':{'type':Sequelize['DATE']},'leaveAt':{'type':Sequelize[_0xf34d('0x4')]},'acceptAt':{'type':Sequelize['DATE']},'exitAt':{'type':Sequelize[_0xf34d('0x4')]},'reason':{'type':Sequelize[_0xf34d('0x3')]}}; \ No newline at end of file diff --git a/server/api/mailQueueReport/mailQueueReport.controller.js b/server/api/mailQueueReport/mailQueueReport.controller.js index dac5f2a..a12bb80 100644 --- a/server/api/mailQueueReport/mailQueueReport.controller.js +++ b/server/api/mailQueueReport/mailQueueReport.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xe3c5=['keys','filters','attributes','intersection','fields','length','hasOwnProperty','limit','order','sort','where','pick','merge','VIRTUAL','options','MailQueueReport','includeAll','include','findAll','catch','params','find','create','body','destroy','describe','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','bluebird','mustache','util','path','sox','to-csv','ejs','lodash','squel','crypto','jsforce','desk.js','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/logger','api','../../config/environment','sendStatus','status','end','count','offset','json','reject','update','then','error','stack','name','index','map','rawAttributes','type','key','model','query'];(function(_0x382e58,_0x3060d9){var _0x34ef18=function(_0x176a0e){while(--_0x176a0e){_0x382e58['push'](_0x382e58['shift']());}};_0x34ef18(++_0x3060d9);}(_0xe3c5,0x17d));var _0x5e3c=function(_0x347471,_0x1c9a02){_0x347471=_0x347471-0x0;var _0x422b6a=_0xe3c5[_0x347471];return _0x422b6a;};'use strict';var pdf=require(_0x5e3c('0x0'));var emlformat=require(_0x5e3c('0x1'));var rimraf=require(_0x5e3c('0x2'));var zipdir=require(_0x5e3c('0x3'));var jsonpatch=require(_0x5e3c('0x4'));var rp=require(_0x5e3c('0x5'));var moment=require('moment');var BPromise=require(_0x5e3c('0x6'));var Mustache=require(_0x5e3c('0x7'));var util=require(_0x5e3c('0x8'));var path=require(_0x5e3c('0x9'));var sox=require(_0x5e3c('0xa'));var csv=require(_0x5e3c('0xb'));var ejs=require(_0x5e3c('0xc'));var fs=require('fs');var _=require(_0x5e3c('0xd'));var squel=require(_0x5e3c('0xe'));var crypto=require(_0x5e3c('0xf'));var jsforce=require(_0x5e3c('0x10'));var deskjs=require(_0x5e3c('0x11'));var toCsv=require('to-csv');var querystring=require('querystring');var Papa=require(_0x5e3c('0x12'));var Redis=require(_0x5e3c('0x13'));var authService=require(_0x5e3c('0x14'));var qs=require(_0x5e3c('0x15'));var as=require(_0x5e3c('0x16'));var hardwareService=require('../../config/license/hardware');var logger=require(_0x5e3c('0x17'))(_0x5e3c('0x18'));var utils=require('../../config/utils');var config=require(_0x5e3c('0x19'));var db=require('../../mysqldb')['db'];function respondWithStatusCode(_0x546d1f,_0x3b547c){_0x3b547c=_0x3b547c||0xcc;return function(_0x415d96){if(_0x415d96){return _0x546d1f[_0x5e3c('0x1a')](_0x3b547c);}return _0x546d1f[_0x5e3c('0x1b')](_0x3b547c)[_0x5e3c('0x1c')]();};}function respondWithResult(_0x30bc22,_0x324a36){_0x324a36=_0x324a36||0xc8;return function(_0x1427d5){if(_0x1427d5){return _0x30bc22['status'](_0x324a36)['json'](_0x1427d5);}};}function respondWithFilteredResult(_0x34d23c,_0x2183ba){return function(_0xa7f61d){if(_0xa7f61d){var _0x5ed40d=_0xa7f61d[_0x5e3c('0x1d')],_0x4f7318=_0x2183ba[_0x5e3c('0x1e')],_0x111b45=_0x2183ba['offset']+_0x2183ba['limit'],_0xab7f93;if(_0x111b45>=_0x5ed40d){_0x111b45=_0x5ed40d;_0xab7f93=0xc8;}else{_0xab7f93=0xce;}_0x34d23c[_0x5e3c('0x1b')](_0xab7f93);return _0x34d23c['set']('Content-Range',_0x4f7318+'-'+_0x111b45+'/'+_0x5ed40d)[_0x5e3c('0x1f')](_0xa7f61d);}return null;};}function patchUpdates(_0x551ccb){return function(_0x5baa56){try{jsonpatch['apply'](_0x5baa56,_0x551ccb,!![]);}catch(_0x1f26d4){return BPromise[_0x5e3c('0x20')](_0x1f26d4);}return _0x5baa56['save']();};}function saveUpdates(_0x242dd4,_0x55a5e8){return function(_0x1a4523){if(_0x1a4523){return _0x1a4523[_0x5e3c('0x21')](_0x242dd4)[_0x5e3c('0x22')](function(_0x1e9bae){return _0x1e9bae;});}return null;};}function removeEntity(_0x2ee7c4,_0x2cd619){return function(_0xf2a06c){if(_0xf2a06c){return _0xf2a06c['destroy']()['then'](function(){_0x2ee7c4['status'](0xcc)['end']();});}};}function handleEntityNotFound(_0x3c0679,_0x4754f4){return function(_0x418994){if(!_0x418994){_0x3c0679[_0x5e3c('0x1a')](0x194);}return _0x418994;};}function handleError(_0x1a74ab,_0x41d7cd){_0x41d7cd=_0x41d7cd||0x1f4;return function(_0x5d254a){logger[_0x5e3c('0x23')](_0x5d254a[_0x5e3c('0x24')]);if(_0x5d254a[_0x5e3c('0x25')]){delete _0x5d254a[_0x5e3c('0x25')];}_0x1a74ab['status'](_0x41d7cd)['send'](_0x5d254a);};}exports[_0x5e3c('0x26')]=function(_0x22418b,_0x496b41){var _0x1048a0={},_0x134b29={},_0x17fac8={'count':0x0,'rows':[]};var _0x40cfb5=_[_0x5e3c('0x27')](db['MailQueueReport'][_0x5e3c('0x28')],function(_0x59acbb){return{'name':_0x59acbb['fieldName'],'type':_0x59acbb[_0x5e3c('0x29')][_0x5e3c('0x2a')]};});_0x134b29[_0x5e3c('0x2b')]=_[_0x5e3c('0x27')](_0x40cfb5,'name');_0x134b29[_0x5e3c('0x2c')]=_[_0x5e3c('0x2d')](_0x22418b[_0x5e3c('0x2c')]);_0x134b29[_0x5e3c('0x2e')]=_['intersection'](_0x134b29['model'],_0x134b29[_0x5e3c('0x2c')]);_0x1048a0[_0x5e3c('0x2f')]=_[_0x5e3c('0x30')](_0x134b29[_0x5e3c('0x2b')],qs['fields'](_0x22418b[_0x5e3c('0x2c')][_0x5e3c('0x31')]));_0x1048a0[_0x5e3c('0x2f')]=_0x1048a0['attributes'][_0x5e3c('0x32')]?_0x1048a0['attributes']:_0x134b29[_0x5e3c('0x2b')];if(!_0x22418b[_0x5e3c('0x2c')][_0x5e3c('0x33')]('nolimit')){_0x1048a0[_0x5e3c('0x34')]=qs['limit'](_0x22418b[_0x5e3c('0x2c')][_0x5e3c('0x34')]);_0x1048a0[_0x5e3c('0x1e')]=qs[_0x5e3c('0x1e')](_0x22418b['query'][_0x5e3c('0x1e')]);}_0x1048a0[_0x5e3c('0x35')]=qs[_0x5e3c('0x36')](_0x22418b[_0x5e3c('0x2c')][_0x5e3c('0x36')]);_0x1048a0[_0x5e3c('0x37')]=qs[_0x5e3c('0x2e')](_[_0x5e3c('0x38')](_0x22418b['query'],_0x134b29[_0x5e3c('0x2e')]),_0x40cfb5);if(_0x22418b[_0x5e3c('0x2c')]['filter']){_0x1048a0['where']=_[_0x5e3c('0x39')](_0x1048a0['where'],{'$or':_[_0x5e3c('0x27')](_0x40cfb5,function(_0x14c006){if(_0x14c006[_0x5e3c('0x29')]!==_0x5e3c('0x3a')){var _0x758016={};_0x758016[_0x14c006['name']]={'$like':'%'+_0x22418b[_0x5e3c('0x2c')]['filter']+'%'};return _0x758016;}})});}_0x1048a0=_[_0x5e3c('0x39')]({},_0x1048a0,_0x22418b[_0x5e3c('0x3b')]);var _0x2db2a2={'where':_0x1048a0[_0x5e3c('0x37')]};return db[_0x5e3c('0x3c')][_0x5e3c('0x1d')](_0x2db2a2)[_0x5e3c('0x22')](function(_0x109fd1){_0x17fac8[_0x5e3c('0x1d')]=_0x109fd1;if(_0x22418b[_0x5e3c('0x2c')][_0x5e3c('0x3d')]){_0x1048a0[_0x5e3c('0x3e')]=[{'all':!![]}];}return db[_0x5e3c('0x3c')][_0x5e3c('0x3f')](_0x1048a0);})[_0x5e3c('0x22')](function(_0x5adea0){_0x17fac8['rows']=_0x5adea0;return _0x17fac8;})[_0x5e3c('0x22')](respondWithFilteredResult(_0x496b41,_0x1048a0))[_0x5e3c('0x40')](handleError(_0x496b41,null));};exports['show']=function(_0x1cce49,_0x274ae4){var _0x36dcad={'raw':!![],'where':{'id':_0x1cce49[_0x5e3c('0x41')]['id']}},_0x134486={};_0x134486['model']=_['keys'](db[_0x5e3c('0x3c')]['rawAttributes']);_0x134486[_0x5e3c('0x2c')]=_['keys'](_0x1cce49['query']);_0x134486[_0x5e3c('0x2e')]=_['intersection'](_0x134486[_0x5e3c('0x2b')],_0x134486[_0x5e3c('0x2c')]);_0x36dcad[_0x5e3c('0x2f')]=_[_0x5e3c('0x30')](_0x134486[_0x5e3c('0x2b')],qs[_0x5e3c('0x31')](_0x1cce49['query'][_0x5e3c('0x31')]));_0x36dcad[_0x5e3c('0x2f')]=_0x36dcad[_0x5e3c('0x2f')][_0x5e3c('0x32')]?_0x36dcad['attributes']:_0x134486[_0x5e3c('0x2b')];if(_0x1cce49[_0x5e3c('0x2c')][_0x5e3c('0x3d')]){_0x36dcad['include']=[{'all':!![]}];}_0x36dcad=_[_0x5e3c('0x39')]({},_0x36dcad,_0x1cce49[_0x5e3c('0x3b')]);return db[_0x5e3c('0x3c')][_0x5e3c('0x42')](_0x36dcad)[_0x5e3c('0x22')](handleEntityNotFound(_0x274ae4,null))['then'](respondWithResult(_0x274ae4,null))[_0x5e3c('0x40')](handleError(_0x274ae4,null));};exports[_0x5e3c('0x43')]=function(_0x5c4df0,_0xddd0cc){return db['MailQueueReport'][_0x5e3c('0x43')](_0x5c4df0[_0x5e3c('0x44')],{})[_0x5e3c('0x22')](respondWithResult(_0xddd0cc,0xc9))[_0x5e3c('0x40')](handleError(_0xddd0cc,null));};exports[_0x5e3c('0x21')]=function(_0x1fb6c5,_0x1ebd2e){if(_0x1fb6c5[_0x5e3c('0x44')]['id']){delete _0x1fb6c5['body']['id'];}return db[_0x5e3c('0x3c')][_0x5e3c('0x42')]({'where':{'id':_0x1fb6c5[_0x5e3c('0x41')]['id']}})[_0x5e3c('0x22')](handleEntityNotFound(_0x1ebd2e,null))[_0x5e3c('0x22')](saveUpdates(_0x1fb6c5[_0x5e3c('0x44')],null))[_0x5e3c('0x22')](respondWithResult(_0x1ebd2e,null))[_0x5e3c('0x40')](handleError(_0x1ebd2e,null));};exports[_0x5e3c('0x45')]=function(_0x477bea,_0x5ca310){return db['MailQueueReport'][_0x5e3c('0x42')]({'where':{'id':_0x477bea['params']['id']}})[_0x5e3c('0x22')](handleEntityNotFound(_0x5ca310,null))[_0x5e3c('0x22')](removeEntity(_0x5ca310,null))[_0x5e3c('0x40')](handleError(_0x5ca310,null));};exports[_0x5e3c('0x46')]=function(_0x414c9c,_0x3ae6b2){return db[_0x5e3c('0x3c')]['describe']()[_0x5e3c('0x22')](respondWithResult(_0x3ae6b2,null))['catch'](handleError(_0x3ae6b2,null));}; \ No newline at end of file +var _0x6ce6=['destroy','then','error','name','send','index','map','MailQueueReport','fieldName','type','key','query','filters','intersection','fields','attributes','length','model','nolimit','order','sort','where','pick','filter','merge','VIRTUAL','includeAll','findAll','rows','show','keys','rawAttributes','include','catch','create','body','params','describe','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','mustache','util','path','sox','to-csv','ejs','crypto','jsforce','desk.js','querystring','papaparse','../../components/auth/service','../../components/parsers/qs','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','sendStatus','status','end','json','count','offset','limit','set','Content-Range','apply','reject','save'];(function(_0x19950b,_0x53d0d7){var _0x3c6b41=function(_0x3924ad){while(--_0x3924ad){_0x19950b['push'](_0x19950b['shift']());}};_0x3c6b41(++_0x53d0d7);}(_0x6ce6,0x72));var _0x66ce=function(_0xc29bb9,_0x366d57){_0xc29bb9=_0xc29bb9-0x0;var _0x38af43=_0x6ce6[_0xc29bb9];return _0x38af43;};'use strict';var pdf=require('html-pdf');var emlformat=require(_0x66ce('0x0'));var rimraf=require(_0x66ce('0x1'));var zipdir=require(_0x66ce('0x2'));var jsonpatch=require(_0x66ce('0x3'));var rp=require(_0x66ce('0x4'));var moment=require(_0x66ce('0x5'));var BPromise=require(_0x66ce('0x6'));var Mustache=require(_0x66ce('0x7'));var util=require(_0x66ce('0x8'));var path=require(_0x66ce('0x9'));var sox=require(_0x66ce('0xa'));var csv=require(_0x66ce('0xb'));var ejs=require(_0x66ce('0xc'));var fs=require('fs');var _=require('lodash');var squel=require('squel');var crypto=require(_0x66ce('0xd'));var jsforce=require(_0x66ce('0xe'));var deskjs=require(_0x66ce('0xf'));var toCsv=require(_0x66ce('0xb'));var querystring=require(_0x66ce('0x10'));var Papa=require(_0x66ce('0x11'));var Redis=require('ioredis');var authService=require(_0x66ce('0x12'));var qs=require(_0x66ce('0x13'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0x66ce('0x14'));var logger=require(_0x66ce('0x15'))(_0x66ce('0x16'));var utils=require(_0x66ce('0x17'));var config=require(_0x66ce('0x18'));var db=require(_0x66ce('0x19'))['db'];function respondWithStatusCode(_0x214ac0,_0x539f39){_0x539f39=_0x539f39||0xcc;return function(_0x584413){if(_0x584413){return _0x214ac0[_0x66ce('0x1a')](_0x539f39);}return _0x214ac0[_0x66ce('0x1b')](_0x539f39)[_0x66ce('0x1c')]();};}function respondWithResult(_0x923996,_0x515b32){_0x515b32=_0x515b32||0xc8;return function(_0x3cc4b4){if(_0x3cc4b4){return _0x923996[_0x66ce('0x1b')](_0x515b32)[_0x66ce('0x1d')](_0x3cc4b4);}};}function respondWithFilteredResult(_0x3fc001,_0x537399){return function(_0xf75dcb){if(_0xf75dcb){var _0x2c6180=_0xf75dcb[_0x66ce('0x1e')],_0x155caa=_0x537399[_0x66ce('0x1f')],_0x17b59e=_0x537399[_0x66ce('0x1f')]+_0x537399[_0x66ce('0x20')],_0x4242fb;if(_0x17b59e>=_0x2c6180){_0x17b59e=_0x2c6180;_0x4242fb=0xc8;}else{_0x4242fb=0xce;}_0x3fc001[_0x66ce('0x1b')](_0x4242fb);return _0x3fc001[_0x66ce('0x21')](_0x66ce('0x22'),_0x155caa+'-'+_0x17b59e+'/'+_0x2c6180)[_0x66ce('0x1d')](_0xf75dcb);}return null;};}function patchUpdates(_0xab91b4){return function(_0x24113b){try{jsonpatch[_0x66ce('0x23')](_0x24113b,_0xab91b4,!![]);}catch(_0x3b43b5){return BPromise[_0x66ce('0x24')](_0x3b43b5);}return _0x24113b[_0x66ce('0x25')]();};}function saveUpdates(_0x1d0893,_0x501a22){return function(_0x516b45){if(_0x516b45){return _0x516b45['update'](_0x1d0893)['then'](function(_0xbc22cd){return _0xbc22cd;});}return null;};}function removeEntity(_0x18419,_0x48a4a1){return function(_0x195c74){if(_0x195c74){return _0x195c74[_0x66ce('0x26')]()[_0x66ce('0x27')](function(){_0x18419[_0x66ce('0x1b')](0xcc)[_0x66ce('0x1c')]();});}};}function handleEntityNotFound(_0x23a079,_0x2ae2c1){return function(_0x44feb2){if(!_0x44feb2){_0x23a079[_0x66ce('0x1a')](0x194);}return _0x44feb2;};}function handleError(_0xc96ad3,_0x3bf538){_0x3bf538=_0x3bf538||0x1f4;return function(_0x2d892d){logger[_0x66ce('0x28')](_0x2d892d['stack']);if(_0x2d892d['name']){delete _0x2d892d[_0x66ce('0x29')];}_0xc96ad3['status'](_0x3bf538)[_0x66ce('0x2a')](_0x2d892d);};}exports[_0x66ce('0x2b')]=function(_0x106a3f,_0xe73d22){var _0x186484={},_0x1172a4={},_0xf24e0c={'count':0x0,'rows':[]};var _0x15e166=_[_0x66ce('0x2c')](db[_0x66ce('0x2d')]['rawAttributes'],function(_0x228a6a){return{'name':_0x228a6a[_0x66ce('0x2e')],'type':_0x228a6a[_0x66ce('0x2f')][_0x66ce('0x30')]};});_0x1172a4['model']=_['map'](_0x15e166,_0x66ce('0x29'));_0x1172a4[_0x66ce('0x31')]=_['keys'](_0x106a3f['query']);_0x1172a4[_0x66ce('0x32')]=_[_0x66ce('0x33')](_0x1172a4['model'],_0x1172a4['query']);_0x186484['attributes']=_[_0x66ce('0x33')](_0x1172a4['model'],qs[_0x66ce('0x34')](_0x106a3f[_0x66ce('0x31')]['fields']));_0x186484['attributes']=_0x186484[_0x66ce('0x35')][_0x66ce('0x36')]?_0x186484[_0x66ce('0x35')]:_0x1172a4[_0x66ce('0x37')];if(!_0x106a3f[_0x66ce('0x31')]['hasOwnProperty'](_0x66ce('0x38'))){_0x186484[_0x66ce('0x20')]=qs[_0x66ce('0x20')](_0x106a3f[_0x66ce('0x31')][_0x66ce('0x20')]);_0x186484['offset']=qs[_0x66ce('0x1f')](_0x106a3f['query'][_0x66ce('0x1f')]);}_0x186484[_0x66ce('0x39')]=qs[_0x66ce('0x3a')](_0x106a3f[_0x66ce('0x31')][_0x66ce('0x3a')]);_0x186484[_0x66ce('0x3b')]=qs[_0x66ce('0x32')](_[_0x66ce('0x3c')](_0x106a3f[_0x66ce('0x31')],_0x1172a4['filters']),_0x15e166);if(_0x106a3f[_0x66ce('0x31')][_0x66ce('0x3d')]){_0x186484[_0x66ce('0x3b')]=_[_0x66ce('0x3e')](_0x186484[_0x66ce('0x3b')],{'$or':_[_0x66ce('0x2c')](_0x15e166,function(_0x440d6e){if(_0x440d6e[_0x66ce('0x2f')]!==_0x66ce('0x3f')){var _0x2f7879={};_0x2f7879[_0x440d6e[_0x66ce('0x29')]]={'$like':'%'+_0x106a3f[_0x66ce('0x31')][_0x66ce('0x3d')]+'%'};return _0x2f7879;}})});}_0x186484=_['merge']({},_0x186484,_0x106a3f['options']);var _0x1caa74={'where':_0x186484[_0x66ce('0x3b')]};return db['MailQueueReport']['count'](_0x1caa74)[_0x66ce('0x27')](function(_0x138c90){_0xf24e0c[_0x66ce('0x1e')]=_0x138c90;if(_0x106a3f[_0x66ce('0x31')][_0x66ce('0x40')]){_0x186484['include']=[{'all':!![]}];}return db[_0x66ce('0x2d')][_0x66ce('0x41')](_0x186484);})[_0x66ce('0x27')](function(_0x279d53){_0xf24e0c[_0x66ce('0x42')]=_0x279d53;return _0xf24e0c;})['then'](respondWithFilteredResult(_0xe73d22,_0x186484))['catch'](handleError(_0xe73d22,null));};exports[_0x66ce('0x43')]=function(_0x54a4aa,_0x215477){var _0x2b0be5={'raw':!![],'where':{'id':_0x54a4aa['params']['id']}},_0x494103={};_0x494103[_0x66ce('0x37')]=_[_0x66ce('0x44')](db[_0x66ce('0x2d')][_0x66ce('0x45')]);_0x494103[_0x66ce('0x31')]=_['keys'](_0x54a4aa[_0x66ce('0x31')]);_0x494103['filters']=_[_0x66ce('0x33')](_0x494103[_0x66ce('0x37')],_0x494103[_0x66ce('0x31')]);_0x2b0be5[_0x66ce('0x35')]=_[_0x66ce('0x33')](_0x494103[_0x66ce('0x37')],qs[_0x66ce('0x34')](_0x54a4aa[_0x66ce('0x31')][_0x66ce('0x34')]));_0x2b0be5[_0x66ce('0x35')]=_0x2b0be5[_0x66ce('0x35')][_0x66ce('0x36')]?_0x2b0be5['attributes']:_0x494103[_0x66ce('0x37')];if(_0x54a4aa[_0x66ce('0x31')][_0x66ce('0x40')]){_0x2b0be5[_0x66ce('0x46')]=[{'all':!![]}];}_0x2b0be5=_[_0x66ce('0x3e')]({},_0x2b0be5,_0x54a4aa['options']);return db[_0x66ce('0x2d')]['find'](_0x2b0be5)[_0x66ce('0x27')](handleEntityNotFound(_0x215477,null))[_0x66ce('0x27')](respondWithResult(_0x215477,null))[_0x66ce('0x47')](handleError(_0x215477,null));};exports[_0x66ce('0x48')]=function(_0x3b0e37,_0x5bbe70){return db[_0x66ce('0x2d')][_0x66ce('0x48')](_0x3b0e37[_0x66ce('0x49')],{})[_0x66ce('0x27')](respondWithResult(_0x5bbe70,0xc9))[_0x66ce('0x47')](handleError(_0x5bbe70,null));};exports['update']=function(_0x2b7563,_0xd6f759){if(_0x2b7563[_0x66ce('0x49')]['id']){delete _0x2b7563[_0x66ce('0x49')]['id'];}return db['MailQueueReport']['find']({'where':{'id':_0x2b7563['params']['id']}})[_0x66ce('0x27')](handleEntityNotFound(_0xd6f759,null))[_0x66ce('0x27')](saveUpdates(_0x2b7563[_0x66ce('0x49')],null))[_0x66ce('0x27')](respondWithResult(_0xd6f759,null))['catch'](handleError(_0xd6f759,null));};exports['destroy']=function(_0x292cab,_0x224197){return db[_0x66ce('0x2d')]['find']({'where':{'id':_0x292cab[_0x66ce('0x4a')]['id']}})['then'](handleEntityNotFound(_0x224197,null))[_0x66ce('0x27')](removeEntity(_0x224197,null))['catch'](handleError(_0x224197,null));};exports[_0x66ce('0x4b')]=function(_0xcc0a24,_0x422ab1){return db[_0x66ce('0x2d')][_0x66ce('0x4b')]()['then'](respondWithResult(_0x422ab1,null))[_0x66ce('0x47')](handleError(_0x422ab1,null));}; \ No newline at end of file diff --git a/server/api/mailQueueReport/mailQueueReport.model.js b/server/api/mailQueueReport/mailQueueReport.model.js index 8d80338..2176fb5 100644 --- a/server/api/mailQueueReport/mailQueueReport.model.js +++ b/server/api/mailQueueReport/mailQueueReport.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x835c=['report_mail_queue','uniqueid','lodash','util','../../config/logger','api','moment','bluebird','request-promise','./mailQueueReport.attributes'];(function(_0x4b369d,_0x265eb8){var _0x571a98=function(_0x56341a){while(--_0x56341a){_0x4b369d['push'](_0x4b369d['shift']());}};_0x571a98(++_0x265eb8);}(_0x835c,0x1ba));var _0xc835=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x835c[_0x3dd15e];return _0x231fd0;};'use strict';var _=require(_0xc835('0x0'));var util=require(_0xc835('0x1'));var logger=require(_0xc835('0x2'))(_0xc835('0x3'));var moment=require(_0xc835('0x4'));var BPromise=require(_0xc835('0x5'));var rp=require(_0xc835('0x6'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0xc835('0x7'));module['exports']=function(_0x8eaf80,_0x93440f){return _0x8eaf80['define']('MailQueueReport',attributes,{'tableName':_0xc835('0x8'),'paranoid':![],'indexes':[{'name':_0xc835('0x9'),'fields':['uniqueid']}],'timestamps':!![]});}; \ No newline at end of file +var _0x3116=['path','rimraf','../../config/environment','./mailQueueReport.attributes','exports','define','report_mail_queue','uniqueid','lodash','util','../../config/logger','api','moment','bluebird','request-promise'];(function(_0x2c5e70,_0x3db7c8){var _0x125c01=function(_0x5a2ac6){while(--_0x5a2ac6){_0x2c5e70['push'](_0x2c5e70['shift']());}};_0x125c01(++_0x3db7c8);}(_0x3116,0x1bb));var _0x6311=function(_0x53cf8e,_0x3d290f){_0x53cf8e=_0x53cf8e-0x0;var _0x459197=_0x3116[_0x53cf8e];return _0x459197;};'use strict';var _=require(_0x6311('0x0'));var util=require(_0x6311('0x1'));var logger=require(_0x6311('0x2'))(_0x6311('0x3'));var moment=require(_0x6311('0x4'));var BPromise=require(_0x6311('0x5'));var rp=require(_0x6311('0x6'));var fs=require('fs');var path=require(_0x6311('0x7'));var rimraf=require(_0x6311('0x8'));var config=require(_0x6311('0x9'));var attributes=require(_0x6311('0xa'));module[_0x6311('0xb')]=function(_0x44438e,_0x1ce8ea){return _0x44438e[_0x6311('0xc')]('MailQueueReport',attributes,{'tableName':_0x6311('0xd'),'paranoid':![],'indexes':[{'name':'uniqueid','fields':[_0x6311('0xe')]}],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/mailQueueReport/mailQueueReport.rpc.js b/server/api/mailQueueReport/mailQueueReport.rpc.js index 85f684b..b80df01 100644 --- a/server/api/mailQueueReport/mailQueueReport.rpc.js +++ b/server/api/mailQueueReport/mailQueueReport.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xc2c7=['MailQueueReport','create','body','options','raw','catch','UpdateMailQueueReport','where','attributes','limit','info','util','moment','bluebird','randomstring','ioredis','../../mysqldb','../../config/utils','../../config/logger','jayson/promise','client','http','request','then','MailQueueReport,\x20%s,\x20%s','request\x20sent','debug','MailQueueReport,\x20%s,\x20%s,\x20%s','stringify','error','code','message','CreateMailQueueReport'];(function(_0x2e655a,_0x16455b){var _0x54e4eb=function(_0x3964f4){while(--_0x3964f4){_0x2e655a['push'](_0x2e655a['shift']());}};_0x54e4eb(++_0x16455b);}(_0xc2c7,0x134));var _0x7c2c=function(_0x1a4a81,_0x11e213){_0x1a4a81=_0x1a4a81-0x0;var _0x424e9a=_0xc2c7[_0x1a4a81];return _0x424e9a;};'use strict';var _=require('lodash');var util=require(_0x7c2c('0x0'));var moment=require(_0x7c2c('0x1'));var BPromise=require(_0x7c2c('0x2'));var rs=require(_0x7c2c('0x3'));var fs=require('fs');var Redis=require(_0x7c2c('0x4'));var db=require(_0x7c2c('0x5'))['db'];var utils=require(_0x7c2c('0x6'));var logger=require(_0x7c2c('0x7'))('rpc');var config=require('../../config/environment');var jayson=require(_0x7c2c('0x8'));var client=jayson[_0x7c2c('0x9')][_0x7c2c('0xa')]({'port':0x232a});function respondWithRpcPromise(_0x54f027,_0x4abe93,_0x5a1027){return new BPromise(function(_0x2274cd,_0x29638d){return client[_0x7c2c('0xb')](_0x54f027,_0x5a1027)[_0x7c2c('0xc')](function(_0x279cff){logger['info'](_0x7c2c('0xd'),_0x4abe93,_0x7c2c('0xe'));logger[_0x7c2c('0xf')](_0x7c2c('0x10'),_0x4abe93,_0x7c2c('0xe'),JSON[_0x7c2c('0x11')](_0x279cff));if(_0x279cff[_0x7c2c('0x12')]){if(_0x279cff[_0x7c2c('0x12')][_0x7c2c('0x13')]===0x1f4){logger[_0x7c2c('0x12')](_0x7c2c('0xd'),_0x4abe93,_0x279cff[_0x7c2c('0x12')][_0x7c2c('0x14')]);return _0x29638d(_0x279cff[_0x7c2c('0x12')][_0x7c2c('0x14')]);}logger[_0x7c2c('0x12')]('MailQueueReport,\x20%s,\x20%s',_0x4abe93,_0x279cff['error'][_0x7c2c('0x14')]);return _0x2274cd(_0x279cff[_0x7c2c('0x12')][_0x7c2c('0x14')]);}else{logger['info'](_0x7c2c('0xd'),_0x4abe93,_0x7c2c('0xe'));_0x2274cd(_0x279cff['result'][_0x7c2c('0x14')]);}})['catch'](function(_0x1aa355){logger['error'](_0x7c2c('0xd'),_0x4abe93,_0x1aa355);_0x29638d(_0x1aa355);});});}exports[_0x7c2c('0x15')]=function(_0x14453f){var _0x2a9539=this;return new Promise(function(_0x17df4a,_0x26be0f){return db[_0x7c2c('0x16')][_0x7c2c('0x17')](_0x14453f[_0x7c2c('0x18')],{'raw':_0x14453f[_0x7c2c('0x19')]?_0x14453f[_0x7c2c('0x19')][_0x7c2c('0x1a')]===undefined?!![]:![]:!![]})['then'](function(_0x1c5491){logger['info']('CreateMailQueueReport',_0x14453f);logger[_0x7c2c('0xf')](_0x7c2c('0x15'),_0x14453f,JSON[_0x7c2c('0x11')](_0x1c5491));_0x17df4a(_0x1c5491);})[_0x7c2c('0x1b')](function(_0x41552f){logger[_0x7c2c('0x12')](_0x7c2c('0x15'),_0x41552f['message'],_0x14453f);_0x26be0f(_0x2a9539[_0x7c2c('0x12')](0x1f4,_0x41552f['message']));});});};exports[_0x7c2c('0x1c')]=function(_0x57f510){var _0x3d4387=this;return new Promise(function(_0x274c3b,_0x3126d){return db['MailQueueReport']['update'](_0x57f510[_0x7c2c('0x18')],{'raw':_0x57f510[_0x7c2c('0x19')]?_0x57f510[_0x7c2c('0x19')][_0x7c2c('0x1a')]===undefined?!![]:![]:!![],'individualHooks':!![],'where':_0x57f510[_0x7c2c('0x19')]?_0x57f510[_0x7c2c('0x19')][_0x7c2c('0x1d')]||null:null,'attributes':_0x57f510['options']?_0x57f510[_0x7c2c('0x19')][_0x7c2c('0x1e')]||null:null,'limit':_0x57f510[_0x7c2c('0x19')]?_0x57f510[_0x7c2c('0x19')][_0x7c2c('0x1f')]||null:null})[_0x7c2c('0xc')](function(_0xf2bfd1){logger[_0x7c2c('0x20')](_0x7c2c('0x1c'),_0x57f510);logger['debug'](_0x7c2c('0x1c'),_0x57f510,JSON[_0x7c2c('0x11')](_0xf2bfd1));_0x274c3b(_0xf2bfd1);})[_0x7c2c('0x1b')](function(_0x720667){logger['error'](_0x7c2c('0x1c'),_0x720667[_0x7c2c('0x14')],_0x57f510);_0x3126d(_0x3d4387[_0x7c2c('0x12')](0x1f4,_0x720667[_0x7c2c('0x14')]));});});}; \ No newline at end of file +var _0xc1c6=['stringify','error','message','info','catch','create','options','raw','CreateMailQueueReport','UpdateMailQueueReport','MailQueueReport','update','body','where','limit','lodash','util','moment','randomstring','../../mysqldb','../../config/utils','../../config/logger','jayson/promise','http','then','MailQueueReport,\x20%s,\x20%s','request\x20sent','debug','MailQueueReport,\x20%s,\x20%s,\x20%s'];(function(_0x5d6e30,_0xc21d51){var _0x3d3f3b=function(_0x33597b){while(--_0x33597b){_0x5d6e30['push'](_0x5d6e30['shift']());}};_0x3d3f3b(++_0xc21d51);}(_0xc1c6,0xf7));var _0x6c1c=function(_0xca76f7,_0x235a96){_0xca76f7=_0xca76f7-0x0;var _0x14f8e3=_0xc1c6[_0xca76f7];return _0x14f8e3;};'use strict';var _=require(_0x6c1c('0x0'));var util=require(_0x6c1c('0x1'));var moment=require(_0x6c1c('0x2'));var BPromise=require('bluebird');var rs=require(_0x6c1c('0x3'));var fs=require('fs');var Redis=require('ioredis');var db=require(_0x6c1c('0x4'))['db'];var utils=require(_0x6c1c('0x5'));var logger=require(_0x6c1c('0x6'))('rpc');var config=require('../../config/environment');var jayson=require(_0x6c1c('0x7'));var client=jayson['client'][_0x6c1c('0x8')]({'port':0x232a});function respondWithRpcPromise(_0x582bec,_0xe510ca,_0x2eb1ba){return new BPromise(function(_0x38369d,_0x2cec58){return client['request'](_0x582bec,_0x2eb1ba)[_0x6c1c('0x9')](function(_0x3ca985){logger['info'](_0x6c1c('0xa'),_0xe510ca,_0x6c1c('0xb'));logger[_0x6c1c('0xc')](_0x6c1c('0xd'),_0xe510ca,'request\x20sent',JSON[_0x6c1c('0xe')](_0x3ca985));if(_0x3ca985[_0x6c1c('0xf')]){if(_0x3ca985[_0x6c1c('0xf')]['code']===0x1f4){logger[_0x6c1c('0xf')](_0x6c1c('0xa'),_0xe510ca,_0x3ca985[_0x6c1c('0xf')]['message']);return _0x2cec58(_0x3ca985[_0x6c1c('0xf')]['message']);}logger[_0x6c1c('0xf')](_0x6c1c('0xa'),_0xe510ca,_0x3ca985[_0x6c1c('0xf')][_0x6c1c('0x10')]);return _0x38369d(_0x3ca985[_0x6c1c('0xf')][_0x6c1c('0x10')]);}else{logger[_0x6c1c('0x11')](_0x6c1c('0xa'),_0xe510ca,_0x6c1c('0xb'));_0x38369d(_0x3ca985['result'][_0x6c1c('0x10')]);}})[_0x6c1c('0x12')](function(_0x5214ee){logger[_0x6c1c('0xf')](_0x6c1c('0xa'),_0xe510ca,_0x5214ee);_0x2cec58(_0x5214ee);});});}exports['CreateMailQueueReport']=function(_0x137770){var _0x4ede06=this;return new Promise(function(_0x338dc2,_0x1a0ab9){return db['MailQueueReport'][_0x6c1c('0x13')](_0x137770['body'],{'raw':_0x137770[_0x6c1c('0x14')]?_0x137770[_0x6c1c('0x14')][_0x6c1c('0x15')]===undefined?!![]:![]:!![]})[_0x6c1c('0x9')](function(_0x1acf7f){logger[_0x6c1c('0x11')](_0x6c1c('0x16'),_0x137770);logger[_0x6c1c('0xc')](_0x6c1c('0x16'),_0x137770,JSON[_0x6c1c('0xe')](_0x1acf7f));_0x338dc2(_0x1acf7f);})[_0x6c1c('0x12')](function(_0x450b1f){logger[_0x6c1c('0xf')](_0x6c1c('0x16'),_0x450b1f[_0x6c1c('0x10')],_0x137770);_0x1a0ab9(_0x4ede06[_0x6c1c('0xf')](0x1f4,_0x450b1f[_0x6c1c('0x10')]));});});};exports[_0x6c1c('0x17')]=function(_0x3a3f13){var _0x1dba08=this;return new Promise(function(_0x96046a,_0x3f517e){return db[_0x6c1c('0x18')][_0x6c1c('0x19')](_0x3a3f13[_0x6c1c('0x1a')],{'raw':_0x3a3f13[_0x6c1c('0x14')]?_0x3a3f13[_0x6c1c('0x14')][_0x6c1c('0x15')]===undefined?!![]:![]:!![],'individualHooks':!![],'where':_0x3a3f13[_0x6c1c('0x14')]?_0x3a3f13['options'][_0x6c1c('0x1b')]||null:null,'attributes':_0x3a3f13['options']?_0x3a3f13[_0x6c1c('0x14')]['attributes']||null:null,'limit':_0x3a3f13[_0x6c1c('0x14')]?_0x3a3f13['options'][_0x6c1c('0x1c')]||null:null})[_0x6c1c('0x9')](function(_0x504348){logger[_0x6c1c('0x11')](_0x6c1c('0x17'),_0x3a3f13);logger['debug'](_0x6c1c('0x17'),_0x3a3f13,JSON[_0x6c1c('0xe')](_0x504348));_0x96046a(_0x504348);})[_0x6c1c('0x12')](function(_0xcb489a){logger['error']('UpdateMailQueueReport',_0xcb489a[_0x6c1c('0x10')],_0x3a3f13);_0x3f517e(_0x1dba08[_0x6c1c('0xf')](0x1f4,_0xcb489a[_0x6c1c('0x10')]));});});}; \ No newline at end of file diff --git a/server/api/mailServerIn/index.js b/server/api/mailServerIn/index.js index 96e774f..8bb20f2 100644 --- a/server/api/mailServerIn/index.js +++ b/server/api/mailServerIn/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x47c3=['multer','util','../../components/auth/service','../../components/interaction/service','../../config/environment','exports'];(function(_0x4c2f17,_0x5c6821){var _0x20919e=function(_0x31eef7){while(--_0x31eef7){_0x4c2f17['push'](_0x4c2f17['shift']());}};_0x20919e(++_0x5c6821);}(_0x47c3,0x138));var _0x347c=function(_0x1399a5,_0x14eb8a){_0x1399a5=_0x1399a5-0x0;var _0x4ba67d=_0x47c3[_0x1399a5];return _0x4ba67d;};'use strict';var multer=require(_0x347c('0x0'));var util=require(_0x347c('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require('express');var router=express['Router']();var auth=require(_0x347c('0x2'));var interaction=require(_0x347c('0x3'));var config=require(_0x347c('0x4'));module[_0x347c('0x5')]=router; \ No newline at end of file +var _0x5e19=['connect-timeout','../../components/interaction/service','../../config/environment','exports','multer','util','path'];(function(_0x297c8e,_0xbba85){var _0x1406ea=function(_0x25a72e){while(--_0x25a72e){_0x297c8e['push'](_0x297c8e['shift']());}};_0x1406ea(++_0xbba85);}(_0x5e19,0xcf));var _0x95e1=function(_0x4fab96,_0x4e3007){_0x4fab96=_0x4fab96-0x0;var _0x5265e6=_0x5e19[_0x4fab96];return _0x5265e6;};'use strict';var multer=require(_0x95e1('0x0'));var util=require(_0x95e1('0x1'));var path=require(_0x95e1('0x2'));var timeout=require(_0x95e1('0x3'));var express=require('express');var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require(_0x95e1('0x4'));var config=require(_0x95e1('0x5'));module[_0x95e1('0x6')]=router; \ No newline at end of file diff --git a/server/api/mailServerIn/mailServerIn.attributes.js b/server/api/mailServerIn/mailServerIn.attributes.js index 3b96abc..48ad57e 100644 --- a/server/api/mailServerIn/mailServerIn.attributes.js +++ b/server/api/mailServerIn/mailServerIn.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x1253=['INBOX','sequelize','exports','STRING','BOOLEAN','username','INTEGER'];(function(_0x56e2bf,_0x547d1e){var _0xbb9be4=function(_0x269be0){while(--_0x269be0){_0x56e2bf['push'](_0x56e2bf['shift']());}};_0xbb9be4(++_0x547d1e);}(_0x1253,0x10b));var _0x3125=function(_0x2dafbe,_0x5d04de){_0x2dafbe=_0x2dafbe-0x0;var _0x58a45a=_0x1253[_0x2dafbe];return _0x58a45a;};'use strict';var Sequelize=require(_0x3125('0x0'));module[_0x3125('0x1')]={'description':{'type':Sequelize[_0x3125('0x2')]},'host':{'type':Sequelize['STRING']},'authentication':{'type':Sequelize[_0x3125('0x3')],'defaultValue':!![]},'user':{'type':Sequelize[_0x3125('0x2')],'unique':_0x3125('0x4')},'password':{'type':Sequelize[_0x3125('0x2')]},'port':{'type':Sequelize[_0x3125('0x5')]},'tls':{'type':Sequelize[_0x3125('0x3')],'defaultValue':!![]},'mailbox':{'type':Sequelize[_0x3125('0x2')],'defaultValue':_0x3125('0x6')},'connTimeout':{'type':Sequelize[_0x3125('0x5')],'defaultValue':0xa},'authTimeout':{'type':Sequelize[_0x3125('0x5')],'defaultValue':0x5},'service':{'type':Sequelize['STRING']}}; \ No newline at end of file +var _0x700a=['exports','STRING','BOOLEAN','INTEGER','sequelize'];(function(_0x594be9,_0x528b88){var _0x31b2ab=function(_0x54ee22){while(--_0x54ee22){_0x594be9['push'](_0x594be9['shift']());}};_0x31b2ab(++_0x528b88);}(_0x700a,0x15d));var _0xa700=function(_0x224be5,_0x5ec63d){_0x224be5=_0x224be5-0x0;var _0x557eed=_0x700a[_0x224be5];return _0x557eed;};'use strict';var Sequelize=require(_0xa700('0x0'));module[_0xa700('0x1')]={'description':{'type':Sequelize[_0xa700('0x2')]},'host':{'type':Sequelize[_0xa700('0x2')]},'authentication':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'user':{'type':Sequelize[_0xa700('0x2')],'unique':'username'},'password':{'type':Sequelize[_0xa700('0x2')]},'port':{'type':Sequelize['INTEGER']},'tls':{'type':Sequelize[_0xa700('0x3')],'defaultValue':!![]},'mailbox':{'type':Sequelize['STRING'],'defaultValue':'INBOX'},'connTimeout':{'type':Sequelize[_0xa700('0x4')],'defaultValue':0xa},'authTimeout':{'type':Sequelize['INTEGER'],'defaultValue':0x5},'service':{'type':Sequelize[_0xa700('0x2')]}}; \ No newline at end of file diff --git a/server/api/mailServerIn/mailServerIn.model.js b/server/api/mailServerIn/mailServerIn.model.js index a6fae0f..8617ccf 100644 --- a/server/api/mailServerIn/mailServerIn.model.js +++ b/server/api/mailServerIn/mailServerIn.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x51c5=['lodash','util','../../config/logger','api','moment','bluebird','request-promise','rimraf','../../config/environment','./mailServerIn.attributes','exports','define','MailServerIn'];(function(_0x3e659c,_0x298832){var _0x18d571=function(_0x6997eb){while(--_0x6997eb){_0x3e659c['push'](_0x3e659c['shift']());}};_0x18d571(++_0x298832);}(_0x51c5,0x8f));var _0x551c=function(_0x556bb1,_0x34830d){_0x556bb1=_0x556bb1-0x0;var _0x45455f=_0x51c5[_0x556bb1];return _0x45455f;};'use strict';var _=require(_0x551c('0x0'));var util=require(_0x551c('0x1'));var logger=require(_0x551c('0x2'))(_0x551c('0x3'));var moment=require(_0x551c('0x4'));var BPromise=require(_0x551c('0x5'));var rp=require(_0x551c('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0x551c('0x7'));var config=require(_0x551c('0x8'));var attributes=require(_0x551c('0x9'));module[_0x551c('0xa')]=function(_0xe0272c,_0x1aa8df){return _0xe0272c[_0x551c('0xb')](_0x551c('0xc'),attributes,{'tableName':'mail_servers_in','paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0x3266=['../../config/logger','api','moment','bluebird','request-promise','path','rimraf','./mailServerIn.attributes','define','mail_servers_in','lodash','util'];(function(_0x31333d,_0x1c4f6e){var _0x5c786d=function(_0x2169e9){while(--_0x2169e9){_0x31333d['push'](_0x31333d['shift']());}};_0x5c786d(++_0x1c4f6e);}(_0x3266,0x6a));var _0x6326=function(_0x2afbb0,_0x44f16d){_0x2afbb0=_0x2afbb0-0x0;var _0x411ff2=_0x3266[_0x2afbb0];return _0x411ff2;};'use strict';var _=require(_0x6326('0x0'));var util=require(_0x6326('0x1'));var logger=require(_0x6326('0x2'))(_0x6326('0x3'));var moment=require(_0x6326('0x4'));var BPromise=require(_0x6326('0x5'));var rp=require(_0x6326('0x6'));var fs=require('fs');var path=require(_0x6326('0x7'));var rimraf=require(_0x6326('0x8'));var config=require('../../config/environment');var attributes=require(_0x6326('0x9'));module['exports']=function(_0x25ecd8,_0x44460c){return _0x25ecd8[_0x6326('0xa')]('MailServerIn',attributes,{'tableName':_0x6326('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/mailServerIn/mailServerIn.rpc.js b/server/api/mailServerIn/mailServerIn.rpc.js index 1e8de18..eef1139 100644 --- a/server/api/mailServerIn/mailServerIn.rpc.js +++ b/server/api/mailServerIn/mailServerIn.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x3c63=['model','lodash','util','moment','ioredis','../../config/utils','../../config/logger','../../config/environment','jayson/promise','client','request','then','info','MailServerIn,\x20%s,\x20%s','debug','request\x20sent','stringify','error','code','message','catch','GetMailServerIn','MailServerIn','findAll','options','raw','attributes','include','map'];(function(_0x2167cd,_0x3685e8){var _0x57ec77=function(_0x3a16d2){while(--_0x3a16d2){_0x2167cd['push'](_0x2167cd['shift']());}};_0x57ec77(++_0x3685e8);}(_0x3c63,0xcc));var _0x33c6=function(_0x595604,_0x2cc998){_0x595604=_0x595604-0x0;var _0x1466f3=_0x3c63[_0x595604];return _0x1466f3;};'use strict';var _=require(_0x33c6('0x0'));var util=require(_0x33c6('0x1'));var moment=require(_0x33c6('0x2'));var BPromise=require('bluebird');var rs=require('randomstring');var fs=require('fs');var Redis=require(_0x33c6('0x3'));var db=require('../../mysqldb')['db'];var utils=require(_0x33c6('0x4'));var logger=require(_0x33c6('0x5'))('rpc');var config=require(_0x33c6('0x6'));var jayson=require(_0x33c6('0x7'));var client=jayson[_0x33c6('0x8')]['http']({'port':0x232a});function respondWithRpcPromise(_0x3215c9,_0x358a22,_0x3ca6d8){return new BPromise(function(_0x162bae,_0x5134c0){return client[_0x33c6('0x9')](_0x3215c9,_0x3ca6d8)[_0x33c6('0xa')](function(_0x52b477){logger[_0x33c6('0xb')](_0x33c6('0xc'),_0x358a22,'request\x20sent');logger[_0x33c6('0xd')]('MailServerIn,\x20%s,\x20%s,\x20%s',_0x358a22,_0x33c6('0xe'),JSON[_0x33c6('0xf')](_0x52b477));if(_0x52b477[_0x33c6('0x10')]){if(_0x52b477['error'][_0x33c6('0x11')]===0x1f4){logger[_0x33c6('0x10')]('MailServerIn,\x20%s,\x20%s',_0x358a22,_0x52b477['error'][_0x33c6('0x12')]);return _0x5134c0(_0x52b477[_0x33c6('0x10')][_0x33c6('0x12')]);}logger[_0x33c6('0x10')](_0x33c6('0xc'),_0x358a22,_0x52b477[_0x33c6('0x10')][_0x33c6('0x12')]);return _0x162bae(_0x52b477[_0x33c6('0x10')][_0x33c6('0x12')]);}else{logger[_0x33c6('0xb')]('MailServerIn,\x20%s,\x20%s',_0x358a22,'request\x20sent');_0x162bae(_0x52b477['result']['message']);}})[_0x33c6('0x13')](function(_0x390215){logger['error'](_0x33c6('0xc'),_0x358a22,_0x390215);_0x5134c0(_0x390215);});});}exports[_0x33c6('0x14')]=function(_0x3580d3){var _0x4bc940=this;return new Promise(function(_0x164a6f,_0x5b7da1){return db[_0x33c6('0x15')][_0x33c6('0x16')]({'raw':_0x3580d3[_0x33c6('0x17')]?_0x3580d3[_0x33c6('0x17')][_0x33c6('0x18')]===undefined?!![]:![]:!![],'where':_0x3580d3[_0x33c6('0x17')]?_0x3580d3[_0x33c6('0x17')]['where']||null:null,'attributes':_0x3580d3['options']?_0x3580d3[_0x33c6('0x17')][_0x33c6('0x19')]||null:null,'limit':_0x3580d3['options']?_0x3580d3[_0x33c6('0x17')]['limit']||null:null,'include':_0x3580d3['options']?_0x3580d3[_0x33c6('0x17')][_0x33c6('0x1a')]?_[_0x33c6('0x1b')](_0x3580d3[_0x33c6('0x17')][_0x33c6('0x1a')],function(_0xc2c838){return{'model':db[_0xc2c838[_0x33c6('0x1c')]],'as':_0xc2c838['as'],'attributes':_0xc2c838[_0x33c6('0x19')],'include':_0xc2c838[_0x33c6('0x1a')]?_[_0x33c6('0x1b')](_0xc2c838[_0x33c6('0x1a')],function(_0x48b771){return{'model':db[_0x48b771[_0x33c6('0x1c')]],'as':_0x48b771['as'],'attributes':_0x48b771['attributes'],'include':_0x48b771[_0x33c6('0x1a')]?_['map'](_0x48b771[_0x33c6('0x1a')],function(_0x494970){return{'model':db[_0x494970['model']],'as':_0x494970['as'],'attributes':_0x494970[_0x33c6('0x19')]};}):[]};}):[]};}):[]:[]})[_0x33c6('0xa')](function(_0x5ab883){logger[_0x33c6('0xb')](_0x33c6('0x14'),_0x3580d3);logger[_0x33c6('0xd')]('GetMailServerIn',_0x3580d3,JSON[_0x33c6('0xf')](_0x5ab883));_0x164a6f(_0x5ab883);})[_0x33c6('0x13')](function(_0x10cdc3){logger['error']('GetMailServerIn',_0x10cdc3[_0x33c6('0x12')],_0x3580d3);_0x5b7da1(_0x4bc940[_0x33c6('0x10')](0x1f4,_0x10cdc3[_0x33c6('0x12')]));});});}; \ No newline at end of file +var _0xd1b7=['debug','MailServerIn,\x20%s,\x20%s,\x20%s','stringify','error','code','message','result','catch','GetMailServerIn','MailServerIn','findAll','options','where','attributes','include','map','model','lodash','util','moment','bluebird','ioredis','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','client','http','request','then','info','MailServerIn,\x20%s,\x20%s','request\x20sent'];(function(_0x5edc43,_0x529c8c){var _0x4cd496=function(_0x504769){while(--_0x504769){_0x5edc43['push'](_0x5edc43['shift']());}};_0x4cd496(++_0x529c8c);}(_0xd1b7,0x1ed));var _0x7d1b=function(_0x1b55fc,_0x35597e){_0x1b55fc=_0x1b55fc-0x0;var _0x3737e0=_0xd1b7[_0x1b55fc];return _0x3737e0;};'use strict';var _=require(_0x7d1b('0x0'));var util=require(_0x7d1b('0x1'));var moment=require(_0x7d1b('0x2'));var BPromise=require(_0x7d1b('0x3'));var rs=require('randomstring');var fs=require('fs');var Redis=require(_0x7d1b('0x4'));var db=require('../../mysqldb')['db'];var utils=require(_0x7d1b('0x5'));var logger=require(_0x7d1b('0x6'))(_0x7d1b('0x7'));var config=require(_0x7d1b('0x8'));var jayson=require(_0x7d1b('0x9'));var client=jayson[_0x7d1b('0xa')][_0x7d1b('0xb')]({'port':0x232a});function respondWithRpcPromise(_0x120453,_0x204fdf,_0x19b8c1){return new BPromise(function(_0x31357a,_0x52b211){return client[_0x7d1b('0xc')](_0x120453,_0x19b8c1)[_0x7d1b('0xd')](function(_0x294dfe){logger[_0x7d1b('0xe')](_0x7d1b('0xf'),_0x204fdf,_0x7d1b('0x10'));logger[_0x7d1b('0x11')](_0x7d1b('0x12'),_0x204fdf,_0x7d1b('0x10'),JSON[_0x7d1b('0x13')](_0x294dfe));if(_0x294dfe[_0x7d1b('0x14')]){if(_0x294dfe[_0x7d1b('0x14')][_0x7d1b('0x15')]===0x1f4){logger[_0x7d1b('0x14')]('MailServerIn,\x20%s,\x20%s',_0x204fdf,_0x294dfe[_0x7d1b('0x14')][_0x7d1b('0x16')]);return _0x52b211(_0x294dfe['error'][_0x7d1b('0x16')]);}logger['error'](_0x7d1b('0xf'),_0x204fdf,_0x294dfe[_0x7d1b('0x14')][_0x7d1b('0x16')]);return _0x31357a(_0x294dfe[_0x7d1b('0x14')][_0x7d1b('0x16')]);}else{logger[_0x7d1b('0xe')]('MailServerIn,\x20%s,\x20%s',_0x204fdf,'request\x20sent');_0x31357a(_0x294dfe[_0x7d1b('0x17')][_0x7d1b('0x16')]);}})[_0x7d1b('0x18')](function(_0x135268){logger['error'](_0x7d1b('0xf'),_0x204fdf,_0x135268);_0x52b211(_0x135268);});});}exports[_0x7d1b('0x19')]=function(_0x36135e){var _0xf0fef1=this;return new Promise(function(_0xab77b0,_0x45eba6){return db[_0x7d1b('0x1a')][_0x7d1b('0x1b')]({'raw':_0x36135e[_0x7d1b('0x1c')]?_0x36135e[_0x7d1b('0x1c')]['raw']===undefined?!![]:![]:!![],'where':_0x36135e[_0x7d1b('0x1c')]?_0x36135e[_0x7d1b('0x1c')][_0x7d1b('0x1d')]||null:null,'attributes':_0x36135e[_0x7d1b('0x1c')]?_0x36135e[_0x7d1b('0x1c')][_0x7d1b('0x1e')]||null:null,'limit':_0x36135e[_0x7d1b('0x1c')]?_0x36135e[_0x7d1b('0x1c')]['limit']||null:null,'include':_0x36135e['options']?_0x36135e[_0x7d1b('0x1c')][_0x7d1b('0x1f')]?_[_0x7d1b('0x20')](_0x36135e[_0x7d1b('0x1c')]['include'],function(_0x1dc696){return{'model':db[_0x1dc696[_0x7d1b('0x21')]],'as':_0x1dc696['as'],'attributes':_0x1dc696[_0x7d1b('0x1e')],'include':_0x1dc696[_0x7d1b('0x1f')]?_[_0x7d1b('0x20')](_0x1dc696[_0x7d1b('0x1f')],function(_0x25b836){return{'model':db[_0x25b836[_0x7d1b('0x21')]],'as':_0x25b836['as'],'attributes':_0x25b836[_0x7d1b('0x1e')],'include':_0x25b836[_0x7d1b('0x1f')]?_[_0x7d1b('0x20')](_0x25b836[_0x7d1b('0x1f')],function(_0x51c3b1){return{'model':db[_0x51c3b1[_0x7d1b('0x21')]],'as':_0x51c3b1['as'],'attributes':_0x51c3b1['attributes']};}):[]};}):[]};}):[]:[]})[_0x7d1b('0xd')](function(_0x207d48){logger[_0x7d1b('0xe')]('GetMailServerIn',_0x36135e);logger[_0x7d1b('0x11')](_0x7d1b('0x19'),_0x36135e,JSON[_0x7d1b('0x13')](_0x207d48));_0xab77b0(_0x207d48);})[_0x7d1b('0x18')](function(_0x22c30e){logger[_0x7d1b('0x14')]('GetMailServerIn',_0x22c30e['message'],_0x36135e);_0x45eba6(_0xf0fef1[_0x7d1b('0x14')](0x1f4,_0x22c30e[_0x7d1b('0x16')]));});});}; \ No newline at end of file diff --git a/server/api/mailServerOut/index.js b/server/api/mailServerOut/index.js index 4ab64a4..f7923e1 100644 --- a/server/api/mailServerOut/index.js +++ b/server/api/mailServerOut/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x95c7=['create','put','update','delete','exports','multer','util','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','./mailServerOut.controller','get','isAuthenticated','index','/:id','post'];(function(_0x447ecc,_0x15589a){var _0x54f34a=function(_0x12da17){while(--_0x12da17){_0x447ecc['push'](_0x447ecc['shift']());}};_0x54f34a(++_0x15589a);}(_0x95c7,0x83));var _0x795c=function(_0x32e90c,_0x58ffed){_0x32e90c=_0x32e90c-0x0;var _0x2a4d90=_0x95c7[_0x32e90c];return _0x2a4d90;};'use strict';var multer=require(_0x795c('0x0'));var util=require(_0x795c('0x1'));var path=require(_0x795c('0x2'));var timeout=require(_0x795c('0x3'));var express=require(_0x795c('0x4'));var router=express['Router']();var auth=require(_0x795c('0x5'));var interaction=require(_0x795c('0x6'));var config=require('../../config/environment');var controller=require(_0x795c('0x7'));router[_0x795c('0x8')]('/',auth[_0x795c('0x9')](),controller[_0x795c('0xa')]);router[_0x795c('0x8')](_0x795c('0xb'),auth[_0x795c('0x9')](),controller['show']);router[_0x795c('0xc')]('/',auth[_0x795c('0x9')](),controller[_0x795c('0xd')]);router[_0x795c('0xe')](_0x795c('0xb'),auth[_0x795c('0x9')](),controller[_0x795c('0xf')]);router[_0x795c('0x10')](_0x795c('0xb'),auth[_0x795c('0x9')](),controller['destroy']);module[_0x795c('0x11')]=router; \ No newline at end of file +var _0xfc6f=['../../config/environment','get','isAuthenticated','index','show','post','put','/:id','update','delete','multer','util','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service'];(function(_0x365b55,_0x3718af){var _0x2defc2=function(_0x570cbc){while(--_0x570cbc){_0x365b55['push'](_0x365b55['shift']());}};_0x2defc2(++_0x3718af);}(_0xfc6f,0xa3));var _0xffc6=function(_0xc6be3a,_0x540e05){_0xc6be3a=_0xc6be3a-0x0;var _0x56a310=_0xfc6f[_0xc6be3a];return _0x56a310;};'use strict';var multer=require(_0xffc6('0x0'));var util=require(_0xffc6('0x1'));var path=require(_0xffc6('0x2'));var timeout=require(_0xffc6('0x3'));var express=require(_0xffc6('0x4'));var router=express['Router']();var auth=require(_0xffc6('0x5'));var interaction=require(_0xffc6('0x6'));var config=require(_0xffc6('0x7'));var controller=require('./mailServerOut.controller');router[_0xffc6('0x8')]('/',auth[_0xffc6('0x9')](),controller[_0xffc6('0xa')]);router[_0xffc6('0x8')]('/:id',auth['isAuthenticated'](),controller[_0xffc6('0xb')]);router[_0xffc6('0xc')]('/',auth['isAuthenticated'](),controller['create']);router[_0xffc6('0xd')](_0xffc6('0xe'),auth[_0xffc6('0x9')](),controller[_0xffc6('0xf')]);router[_0xffc6('0x10')](_0xffc6('0xe'),auth['isAuthenticated'](),controller['destroy']);module['exports']=router; \ No newline at end of file diff --git a/server/api/mailServerOut/mailServerOut.attributes.js b/server/api/mailServerOut/mailServerOut.attributes.js index fdb5e51..e5447e4 100644 --- a/server/api/mailServerOut/mailServerOut.attributes.js +++ b/server/api/mailServerOut/mailServerOut.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xa017=['INTEGER','BOOLEAN','sequelize','exports','STRING'];(function(_0x321bb2,_0x202794){var _0x9c12ed=function(_0x263dd3){while(--_0x263dd3){_0x321bb2['push'](_0x321bb2['shift']());}};_0x9c12ed(++_0x202794);}(_0xa017,0x1f1));var _0x7a01=function(_0x372db9,_0x1ba0f3){_0x372db9=_0x372db9-0x0;var _0x7da012=_0xa017[_0x372db9];return _0x7da012;};'use strict';var Sequelize=require(_0x7a01('0x0'));module[_0x7a01('0x1')]={'description':{'type':Sequelize[_0x7a01('0x2')]},'host':{'type':Sequelize['STRING']},'user':{'type':Sequelize['STRING']},'pass':{'type':Sequelize[_0x7a01('0x2')]},'port':{'type':Sequelize[_0x7a01('0x3')]},'secure':{'type':Sequelize[_0x7a01('0x4')],'defaultValue':![]},'service':{'type':Sequelize[_0x7a01('0x2')]},'authentication':{'type':Sequelize[_0x7a01('0x4')],'defaultValue':!![]}}; \ No newline at end of file +var _0x6c99=['STRING','BOOLEAN','sequelize'];(function(_0x3757f3,_0x529df3){var _0x2f3d48=function(_0x154b83){while(--_0x154b83){_0x3757f3['push'](_0x3757f3['shift']());}};_0x2f3d48(++_0x529df3);}(_0x6c99,0x9b));var _0x96c9=function(_0x2125f0,_0x2f23b9){_0x2125f0=_0x2125f0-0x0;var _0x12d6eb=_0x6c99[_0x2125f0];return _0x12d6eb;};'use strict';var Sequelize=require(_0x96c9('0x0'));module['exports']={'description':{'type':Sequelize[_0x96c9('0x1')]},'host':{'type':Sequelize['STRING']},'user':{'type':Sequelize['STRING']},'pass':{'type':Sequelize['STRING']},'port':{'type':Sequelize['INTEGER']},'secure':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'service':{'type':Sequelize[_0x96c9('0x1')]},'authentication':{'type':Sequelize[_0x96c9('0x2')],'defaultValue':!![]}}; \ No newline at end of file diff --git a/server/api/mailServerOut/mailServerOut.controller.js b/server/api/mailServerOut/mailServerOut.controller.js index bd851fc..3e85e4b 100644 --- a/server/api/mailServerOut/mailServerOut.controller.js +++ b/server/api/mailServerOut/mailServerOut.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x5b92=['body','find','html-pdf','eml-format','rimraf','fast-json-patch','request-promise','moment','bluebird','mustache','path','ejs','lodash','squel','crypto','jsforce','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/logger','api','../../config/environment','../../mysqldb','sendStatus','end','status','json','offset','limit','set','Content-Range','apply','reject','update','then','error','stack','name','send','index','map','MailServerOut','rawAttributes','fieldName','key','query','keys','filters','intersection','model','attributes','hasOwnProperty','nolimit','order','sort','where','pick','filter','merge','type','VIRTUAL','options','count','includeAll','include','findAll','rows','catch','show','params','fields','length','create'];(function(_0x359988,_0x55aa8a){var _0x12e91d=function(_0x5af5a4){while(--_0x5af5a4){_0x359988['push'](_0x359988['shift']());}};_0x12e91d(++_0x55aa8a);}(_0x5b92,0x136));var _0x25b9=function(_0x33032e,_0x31411a){_0x33032e=_0x33032e-0x0;var _0x13316b=_0x5b92[_0x33032e];return _0x13316b;};'use strict';var pdf=require(_0x25b9('0x0'));var emlformat=require(_0x25b9('0x1'));var rimraf=require(_0x25b9('0x2'));var zipdir=require('zip-dir');var jsonpatch=require(_0x25b9('0x3'));var rp=require(_0x25b9('0x4'));var moment=require(_0x25b9('0x5'));var BPromise=require(_0x25b9('0x6'));var Mustache=require(_0x25b9('0x7'));var util=require('util');var path=require(_0x25b9('0x8'));var sox=require('sox');var csv=require('to-csv');var ejs=require(_0x25b9('0x9'));var fs=require('fs');var _=require(_0x25b9('0xa'));var squel=require(_0x25b9('0xb'));var crypto=require(_0x25b9('0xc'));var jsforce=require(_0x25b9('0xd'));var deskjs=require(_0x25b9('0xe'));var toCsv=require('to-csv');var querystring=require(_0x25b9('0xf'));var Papa=require(_0x25b9('0x10'));var Redis=require(_0x25b9('0x11'));var authService=require(_0x25b9('0x12'));var qs=require(_0x25b9('0x13'));var as=require(_0x25b9('0x14'));var hardwareService=require('../../config/license/hardware');var logger=require(_0x25b9('0x15'))(_0x25b9('0x16'));var utils=require('../../config/utils');var config=require(_0x25b9('0x17'));var db=require(_0x25b9('0x18'))['db'];function respondWithStatusCode(_0x33f723,_0x30d1d7){_0x30d1d7=_0x30d1d7||0xcc;return function(_0x66f323){if(_0x66f323){return _0x33f723[_0x25b9('0x19')](_0x30d1d7);}return _0x33f723['status'](_0x30d1d7)[_0x25b9('0x1a')]();};}function respondWithResult(_0x14b5c0,_0x2ace20){_0x2ace20=_0x2ace20||0xc8;return function(_0x419193){if(_0x419193){return _0x14b5c0[_0x25b9('0x1b')](_0x2ace20)[_0x25b9('0x1c')](_0x419193);}};}function respondWithFilteredResult(_0x4b3490,_0x4d6492){return function(_0x109518){if(_0x109518){var _0x48d525=_0x109518['count'],_0x3d0060=_0x4d6492[_0x25b9('0x1d')],_0x45dc4e=_0x4d6492[_0x25b9('0x1d')]+_0x4d6492[_0x25b9('0x1e')],_0x35480a;if(_0x45dc4e>=_0x48d525){_0x45dc4e=_0x48d525;_0x35480a=0xc8;}else{_0x35480a=0xce;}_0x4b3490['status'](_0x35480a);return _0x4b3490[_0x25b9('0x1f')](_0x25b9('0x20'),_0x3d0060+'-'+_0x45dc4e+'/'+_0x48d525)[_0x25b9('0x1c')](_0x109518);}return null;};}function patchUpdates(_0x2823c0){return function(_0x21c21c){try{jsonpatch[_0x25b9('0x21')](_0x21c21c,_0x2823c0,!![]);}catch(_0x270955){return BPromise[_0x25b9('0x22')](_0x270955);}return _0x21c21c['save']();};}function saveUpdates(_0x20192f,_0x212a58){return function(_0x4c882d){if(_0x4c882d){return _0x4c882d[_0x25b9('0x23')](_0x20192f)[_0x25b9('0x24')](function(_0x2f151a){return _0x2f151a;});}return null;};}function removeEntity(_0x566bc6,_0x22ad12){return function(_0x2cea31){if(_0x2cea31){return _0x2cea31['destroy']()[_0x25b9('0x24')](function(){_0x566bc6['status'](0xcc)[_0x25b9('0x1a')]();});}};}function handleEntityNotFound(_0x1d941c,_0x40f660){return function(_0x49bf5a){if(!_0x49bf5a){_0x1d941c['sendStatus'](0x194);}return _0x49bf5a;};}function handleError(_0x187af9,_0x40d3c0){_0x40d3c0=_0x40d3c0||0x1f4;return function(_0xb5bfe2){logger[_0x25b9('0x25')](_0xb5bfe2[_0x25b9('0x26')]);if(_0xb5bfe2[_0x25b9('0x27')]){delete _0xb5bfe2[_0x25b9('0x27')];}_0x187af9[_0x25b9('0x1b')](_0x40d3c0)[_0x25b9('0x28')](_0xb5bfe2);};}exports[_0x25b9('0x29')]=function(_0x4aa214,_0x51ef39){var _0x2b0115={},_0x1702a5={},_0x39033f={'count':0x0,'rows':[]};var _0x520fe3=_[_0x25b9('0x2a')](db[_0x25b9('0x2b')][_0x25b9('0x2c')],function(_0x2685da){return{'name':_0x2685da[_0x25b9('0x2d')],'type':_0x2685da['type'][_0x25b9('0x2e')]};});_0x1702a5['model']=_[_0x25b9('0x2a')](_0x520fe3,_0x25b9('0x27'));_0x1702a5[_0x25b9('0x2f')]=_[_0x25b9('0x30')](_0x4aa214[_0x25b9('0x2f')]);_0x1702a5[_0x25b9('0x31')]=_[_0x25b9('0x32')](_0x1702a5[_0x25b9('0x33')],_0x1702a5['query']);_0x2b0115[_0x25b9('0x34')]=_['intersection'](_0x1702a5[_0x25b9('0x33')],qs['fields'](_0x4aa214[_0x25b9('0x2f')]['fields']));_0x2b0115['attributes']=_0x2b0115[_0x25b9('0x34')]['length']?_0x2b0115['attributes']:_0x1702a5['model'];if(!_0x4aa214[_0x25b9('0x2f')][_0x25b9('0x35')](_0x25b9('0x36'))){_0x2b0115[_0x25b9('0x1e')]=qs[_0x25b9('0x1e')](_0x4aa214[_0x25b9('0x2f')][_0x25b9('0x1e')]);_0x2b0115[_0x25b9('0x1d')]=qs[_0x25b9('0x1d')](_0x4aa214[_0x25b9('0x2f')]['offset']);}_0x2b0115[_0x25b9('0x37')]=qs[_0x25b9('0x38')](_0x4aa214[_0x25b9('0x2f')]['sort']);_0x2b0115[_0x25b9('0x39')]=qs[_0x25b9('0x31')](_[_0x25b9('0x3a')](_0x4aa214[_0x25b9('0x2f')],_0x1702a5[_0x25b9('0x31')]),_0x520fe3);if(_0x4aa214[_0x25b9('0x2f')][_0x25b9('0x3b')]){_0x2b0115[_0x25b9('0x39')]=_[_0x25b9('0x3c')](_0x2b0115[_0x25b9('0x39')],{'$or':_[_0x25b9('0x2a')](_0x520fe3,function(_0x521d21){if(_0x521d21[_0x25b9('0x3d')]!==_0x25b9('0x3e')){var _0x54469d={};_0x54469d[_0x521d21[_0x25b9('0x27')]]={'$like':'%'+_0x4aa214[_0x25b9('0x2f')][_0x25b9('0x3b')]+'%'};return _0x54469d;}})});}_0x2b0115=_[_0x25b9('0x3c')]({},_0x2b0115,_0x4aa214[_0x25b9('0x3f')]);var _0x1b0a33={'where':_0x2b0115[_0x25b9('0x39')]};return db[_0x25b9('0x2b')]['count'](_0x1b0a33)['then'](function(_0x2341ea){_0x39033f[_0x25b9('0x40')]=_0x2341ea;if(_0x4aa214[_0x25b9('0x2f')][_0x25b9('0x41')]){_0x2b0115[_0x25b9('0x42')]=[{'all':!![]}];}return db[_0x25b9('0x2b')][_0x25b9('0x43')](_0x2b0115);})[_0x25b9('0x24')](function(_0x283fd0){_0x39033f[_0x25b9('0x44')]=_0x283fd0;return _0x39033f;})[_0x25b9('0x24')](respondWithFilteredResult(_0x51ef39,_0x2b0115))[_0x25b9('0x45')](handleError(_0x51ef39,null));};exports[_0x25b9('0x46')]=function(_0x3884d2,_0x48c97b){var _0x80e74b={'raw':!![],'where':{'id':_0x3884d2[_0x25b9('0x47')]['id']}},_0xa302ef={};_0xa302ef['model']=_[_0x25b9('0x30')](db[_0x25b9('0x2b')][_0x25b9('0x2c')]);_0xa302ef[_0x25b9('0x2f')]=_[_0x25b9('0x30')](_0x3884d2[_0x25b9('0x2f')]);_0xa302ef[_0x25b9('0x31')]=_[_0x25b9('0x32')](_0xa302ef[_0x25b9('0x33')],_0xa302ef[_0x25b9('0x2f')]);_0x80e74b['attributes']=_[_0x25b9('0x32')](_0xa302ef[_0x25b9('0x33')],qs[_0x25b9('0x48')](_0x3884d2['query'][_0x25b9('0x48')]));_0x80e74b[_0x25b9('0x34')]=_0x80e74b[_0x25b9('0x34')][_0x25b9('0x49')]?_0x80e74b[_0x25b9('0x34')]:_0xa302ef[_0x25b9('0x33')];if(_0x3884d2[_0x25b9('0x2f')]['includeAll']){_0x80e74b[_0x25b9('0x42')]=[{'all':!![]}];}_0x80e74b=_[_0x25b9('0x3c')]({},_0x80e74b,_0x3884d2[_0x25b9('0x3f')]);return db['MailServerOut']['find'](_0x80e74b)['then'](handleEntityNotFound(_0x48c97b,null))['then'](respondWithResult(_0x48c97b,null))[_0x25b9('0x45')](handleError(_0x48c97b,null));};exports[_0x25b9('0x4a')]=function(_0x33fa62,_0x4585c0){return db[_0x25b9('0x2b')][_0x25b9('0x4a')](_0x33fa62[_0x25b9('0x4b')],{})[_0x25b9('0x24')](respondWithResult(_0x4585c0,0xc9))[_0x25b9('0x45')](handleError(_0x4585c0,null));};exports[_0x25b9('0x23')]=function(_0x514532,_0x2c90e6){if(_0x514532[_0x25b9('0x4b')]['id']){delete _0x514532[_0x25b9('0x4b')]['id'];}return db[_0x25b9('0x2b')][_0x25b9('0x4c')]({'where':{'id':_0x514532[_0x25b9('0x47')]['id']}})[_0x25b9('0x24')](handleEntityNotFound(_0x2c90e6,null))[_0x25b9('0x24')](saveUpdates(_0x514532[_0x25b9('0x4b')],null))['then'](respondWithResult(_0x2c90e6,null))[_0x25b9('0x45')](handleError(_0x2c90e6,null));};exports['destroy']=function(_0x33b498,_0x3ae1af){return db['MailServerOut'][_0x25b9('0x4c')]({'where':{'id':_0x33b498[_0x25b9('0x47')]['id']}})['then'](handleEntityNotFound(_0x3ae1af,null))[_0x25b9('0x24')](removeEntity(_0x3ae1af,null))['catch'](handleError(_0x3ae1af,null));}; \ No newline at end of file +var _0xade7=['body','update','eml-format','zip-dir','moment','bluebird','mustache','util','path','sox','to-csv','ejs','squel','crypto','jsforce','desk.js','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','../../config/utils','../../config/environment','../../mysqldb','status','json','offset','Content-Range','reject','save','then','destroy','end','sendStatus','error','name','send','index','map','MailServerOut','fieldName','model','query','filters','attributes','fields','hasOwnProperty','nolimit','limit','order','sort','where','pick','filter','options','count','include','findAll','rows','catch','params','keys','intersection','length','includeAll','merge','find','create'];(function(_0x42a571,_0x57321c){var _0x32afaf=function(_0x3318bb){while(--_0x3318bb){_0x42a571['push'](_0x42a571['shift']());}};_0x32afaf(++_0x57321c);}(_0xade7,0x160));var _0x7ade=function(_0x263a09,_0x1054e3){_0x263a09=_0x263a09-0x0;var _0x38dd46=_0xade7[_0x263a09];return _0x38dd46;};'use strict';var pdf=require('html-pdf');var emlformat=require(_0x7ade('0x0'));var rimraf=require('rimraf');var zipdir=require(_0x7ade('0x1'));var jsonpatch=require('fast-json-patch');var rp=require('request-promise');var moment=require(_0x7ade('0x2'));var BPromise=require(_0x7ade('0x3'));var Mustache=require(_0x7ade('0x4'));var util=require(_0x7ade('0x5'));var path=require(_0x7ade('0x6'));var sox=require(_0x7ade('0x7'));var csv=require(_0x7ade('0x8'));var ejs=require(_0x7ade('0x9'));var fs=require('fs');var _=require('lodash');var squel=require(_0x7ade('0xa'));var crypto=require(_0x7ade('0xb'));var jsforce=require(_0x7ade('0xc'));var deskjs=require(_0x7ade('0xd'));var toCsv=require(_0x7ade('0x8'));var querystring=require('querystring');var Papa=require(_0x7ade('0xe'));var Redis=require(_0x7ade('0xf'));var authService=require(_0x7ade('0x10'));var qs=require(_0x7ade('0x11'));var as=require(_0x7ade('0x12'));var hardwareService=require(_0x7ade('0x13'));var logger=require(_0x7ade('0x14'))('api');var utils=require(_0x7ade('0x15'));var config=require(_0x7ade('0x16'));var db=require(_0x7ade('0x17'))['db'];function respondWithStatusCode(_0x4cddb0,_0x182c77){_0x182c77=_0x182c77||0xcc;return function(_0x5e3d41){if(_0x5e3d41){return _0x4cddb0['sendStatus'](_0x182c77);}return _0x4cddb0[_0x7ade('0x18')](_0x182c77)['end']();};}function respondWithResult(_0x441554,_0x3e6d5c){_0x3e6d5c=_0x3e6d5c||0xc8;return function(_0x334405){if(_0x334405){return _0x441554['status'](_0x3e6d5c)[_0x7ade('0x19')](_0x334405);}};}function respondWithFilteredResult(_0x3f2ccd,_0x5691db){return function(_0x4c47da){if(_0x4c47da){var _0x43dc5a=_0x4c47da['count'],_0x393560=_0x5691db[_0x7ade('0x1a')],_0x582701=_0x5691db[_0x7ade('0x1a')]+_0x5691db['limit'],_0x2b2e06;if(_0x582701>=_0x43dc5a){_0x582701=_0x43dc5a;_0x2b2e06=0xc8;}else{_0x2b2e06=0xce;}_0x3f2ccd[_0x7ade('0x18')](_0x2b2e06);return _0x3f2ccd['set'](_0x7ade('0x1b'),_0x393560+'-'+_0x582701+'/'+_0x43dc5a)[_0x7ade('0x19')](_0x4c47da);}return null;};}function patchUpdates(_0x1581cf){return function(_0xf1b3f0){try{jsonpatch['apply'](_0xf1b3f0,_0x1581cf,!![]);}catch(_0x2c90c3){return BPromise[_0x7ade('0x1c')](_0x2c90c3);}return _0xf1b3f0[_0x7ade('0x1d')]();};}function saveUpdates(_0x3167a3,_0x5c419d){return function(_0x55c5b4){if(_0x55c5b4){return _0x55c5b4['update'](_0x3167a3)[_0x7ade('0x1e')](function(_0x3b1b49){return _0x3b1b49;});}return null;};}function removeEntity(_0x3b1ba2,_0x46042f){return function(_0x52d7b5){if(_0x52d7b5){return _0x52d7b5[_0x7ade('0x1f')]()['then'](function(){_0x3b1ba2['status'](0xcc)[_0x7ade('0x20')]();});}};}function handleEntityNotFound(_0x365c42,_0x4282c1){return function(_0x500f14){if(!_0x500f14){_0x365c42[_0x7ade('0x21')](0x194);}return _0x500f14;};}function handleError(_0x3f627c,_0x1fa741){_0x1fa741=_0x1fa741||0x1f4;return function(_0x4b0996){logger[_0x7ade('0x22')](_0x4b0996['stack']);if(_0x4b0996[_0x7ade('0x23')]){delete _0x4b0996[_0x7ade('0x23')];}_0x3f627c[_0x7ade('0x18')](_0x1fa741)[_0x7ade('0x24')](_0x4b0996);};}exports[_0x7ade('0x25')]=function(_0x518bdc,_0x8795dd){var _0x4a1968={},_0xa7d547={},_0x41be9f={'count':0x0,'rows':[]};var _0x4c6ef7=_[_0x7ade('0x26')](db[_0x7ade('0x27')]['rawAttributes'],function(_0x4ab800){return{'name':_0x4ab800[_0x7ade('0x28')],'type':_0x4ab800['type']['key']};});_0xa7d547[_0x7ade('0x29')]=_[_0x7ade('0x26')](_0x4c6ef7,_0x7ade('0x23'));_0xa7d547['query']=_['keys'](_0x518bdc[_0x7ade('0x2a')]);_0xa7d547[_0x7ade('0x2b')]=_['intersection'](_0xa7d547[_0x7ade('0x29')],_0xa7d547[_0x7ade('0x2a')]);_0x4a1968[_0x7ade('0x2c')]=_['intersection'](_0xa7d547['model'],qs['fields'](_0x518bdc[_0x7ade('0x2a')][_0x7ade('0x2d')]));_0x4a1968[_0x7ade('0x2c')]=_0x4a1968[_0x7ade('0x2c')]['length']?_0x4a1968[_0x7ade('0x2c')]:_0xa7d547[_0x7ade('0x29')];if(!_0x518bdc['query'][_0x7ade('0x2e')](_0x7ade('0x2f'))){_0x4a1968[_0x7ade('0x30')]=qs[_0x7ade('0x30')](_0x518bdc['query']['limit']);_0x4a1968['offset']=qs[_0x7ade('0x1a')](_0x518bdc[_0x7ade('0x2a')]['offset']);}_0x4a1968[_0x7ade('0x31')]=qs['sort'](_0x518bdc[_0x7ade('0x2a')][_0x7ade('0x32')]);_0x4a1968[_0x7ade('0x33')]=qs['filters'](_[_0x7ade('0x34')](_0x518bdc['query'],_0xa7d547[_0x7ade('0x2b')]),_0x4c6ef7);if(_0x518bdc[_0x7ade('0x2a')][_0x7ade('0x35')]){_0x4a1968[_0x7ade('0x33')]=_['merge'](_0x4a1968['where'],{'$or':_[_0x7ade('0x26')](_0x4c6ef7,function(_0x1e609a){if(_0x1e609a['type']!=='VIRTUAL'){var _0x2be429={};_0x2be429[_0x1e609a['name']]={'$like':'%'+_0x518bdc[_0x7ade('0x2a')][_0x7ade('0x35')]+'%'};return _0x2be429;}})});}_0x4a1968=_['merge']({},_0x4a1968,_0x518bdc[_0x7ade('0x36')]);var _0x3d9104={'where':_0x4a1968[_0x7ade('0x33')]};return db[_0x7ade('0x27')][_0x7ade('0x37')](_0x3d9104)[_0x7ade('0x1e')](function(_0x2f07ec){_0x41be9f[_0x7ade('0x37')]=_0x2f07ec;if(_0x518bdc[_0x7ade('0x2a')]['includeAll']){_0x4a1968[_0x7ade('0x38')]=[{'all':!![]}];}return db[_0x7ade('0x27')][_0x7ade('0x39')](_0x4a1968);})['then'](function(_0x21b76c){_0x41be9f[_0x7ade('0x3a')]=_0x21b76c;return _0x41be9f;})[_0x7ade('0x1e')](respondWithFilteredResult(_0x8795dd,_0x4a1968))[_0x7ade('0x3b')](handleError(_0x8795dd,null));};exports['show']=function(_0x251210,_0x472003){var _0x32d561={'raw':!![],'where':{'id':_0x251210[_0x7ade('0x3c')]['id']}},_0x1b2d2d={};_0x1b2d2d[_0x7ade('0x29')]=_[_0x7ade('0x3d')](db[_0x7ade('0x27')]['rawAttributes']);_0x1b2d2d[_0x7ade('0x2a')]=_[_0x7ade('0x3d')](_0x251210[_0x7ade('0x2a')]);_0x1b2d2d[_0x7ade('0x2b')]=_[_0x7ade('0x3e')](_0x1b2d2d['model'],_0x1b2d2d[_0x7ade('0x2a')]);_0x32d561[_0x7ade('0x2c')]=_[_0x7ade('0x3e')](_0x1b2d2d[_0x7ade('0x29')],qs['fields'](_0x251210[_0x7ade('0x2a')]['fields']));_0x32d561['attributes']=_0x32d561[_0x7ade('0x2c')][_0x7ade('0x3f')]?_0x32d561[_0x7ade('0x2c')]:_0x1b2d2d[_0x7ade('0x29')];if(_0x251210['query'][_0x7ade('0x40')]){_0x32d561[_0x7ade('0x38')]=[{'all':!![]}];}_0x32d561=_[_0x7ade('0x41')]({},_0x32d561,_0x251210['options']);return db['MailServerOut'][_0x7ade('0x42')](_0x32d561)[_0x7ade('0x1e')](handleEntityNotFound(_0x472003,null))['then'](respondWithResult(_0x472003,null))[_0x7ade('0x3b')](handleError(_0x472003,null));};exports[_0x7ade('0x43')]=function(_0x23e351,_0x2ccd7c){return db[_0x7ade('0x27')][_0x7ade('0x43')](_0x23e351[_0x7ade('0x44')],{})['then'](respondWithResult(_0x2ccd7c,0xc9))[_0x7ade('0x3b')](handleError(_0x2ccd7c,null));};exports[_0x7ade('0x45')]=function(_0xd3f8b3,_0x183843){if(_0xd3f8b3[_0x7ade('0x44')]['id']){delete _0xd3f8b3[_0x7ade('0x44')]['id'];}return db[_0x7ade('0x27')][_0x7ade('0x42')]({'where':{'id':_0xd3f8b3['params']['id']}})[_0x7ade('0x1e')](handleEntityNotFound(_0x183843,null))['then'](saveUpdates(_0xd3f8b3[_0x7ade('0x44')],null))['then'](respondWithResult(_0x183843,null))[_0x7ade('0x3b')](handleError(_0x183843,null));};exports[_0x7ade('0x1f')]=function(_0x346d53,_0x181097){return db[_0x7ade('0x27')][_0x7ade('0x42')]({'where':{'id':_0x346d53['params']['id']}})[_0x7ade('0x1e')](handleEntityNotFound(_0x181097,null))['then'](removeEntity(_0x181097,null))['catch'](handleError(_0x181097,null));}; \ No newline at end of file diff --git a/server/api/mailServerOut/mailServerOut.model.js b/server/api/mailServerOut/mailServerOut.model.js index 28f0224..3cdd104 100644 --- a/server/api/mailServerOut/mailServerOut.model.js +++ b/server/api/mailServerOut/mailServerOut.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x2675=['lodash','moment','bluebird','path','rimraf','./mailServerOut.attributes','exports','define','MailServerOut'];(function(_0x3f9715,_0x431051){var _0x2d1e42=function(_0x5d85f8){while(--_0x5d85f8){_0x3f9715['push'](_0x3f9715['shift']());}};_0x2d1e42(++_0x431051);}(_0x2675,0x75));var _0x5267=function(_0x3b5f27,_0x523908){_0x3b5f27=_0x3b5f27-0x0;var _0x55fb74=_0x2675[_0x3b5f27];return _0x55fb74;};'use strict';var _=require(_0x5267('0x0'));var util=require('util');var logger=require('../../config/logger')('api');var moment=require(_0x5267('0x1'));var BPromise=require(_0x5267('0x2'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x5267('0x3'));var rimraf=require(_0x5267('0x4'));var config=require('../../config/environment');var attributes=require(_0x5267('0x5'));module[_0x5267('0x6')]=function(_0x4bd042,_0x10f92c){return _0x4bd042[_0x5267('0x7')](_0x5267('0x8'),attributes,{'tableName':'mail_servers_out','paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0x31f0=['./mailServerOut.attributes','define','mail_servers_out','lodash','../../config/logger','moment','bluebird','request-promise','path','../../config/environment'];(function(_0x535a7d,_0x2b81ec){var _0x39bea6=function(_0x49c476){while(--_0x49c476){_0x535a7d['push'](_0x535a7d['shift']());}};_0x39bea6(++_0x2b81ec);}(_0x31f0,0xb7));var _0x031f=function(_0x3ba01e,_0x3b8cb9){_0x3ba01e=_0x3ba01e-0x0;var _0x403a37=_0x31f0[_0x3ba01e];return _0x403a37;};'use strict';var _=require(_0x031f('0x0'));var util=require('util');var logger=require(_0x031f('0x1'))('api');var moment=require(_0x031f('0x2'));var BPromise=require(_0x031f('0x3'));var rp=require(_0x031f('0x4'));var fs=require('fs');var path=require(_0x031f('0x5'));var rimraf=require('rimraf');var config=require(_0x031f('0x6'));var attributes=require(_0x031f('0x7'));module['exports']=function(_0x4c0f94,_0x56328c){return _0x4c0f94[_0x031f('0x8')]('MailServerOut',attributes,{'tableName':_0x031f('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/mailServerOut/mailServerOut.rpc.js b/server/api/mailServerOut/mailServerOut.rpc.js index e713435..6d2880f 100644 --- a/server/api/mailServerOut/mailServerOut.rpc.js +++ b/server/api/mailServerOut/mailServerOut.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xe404=['MailServerOut,\x20%s,\x20%s,\x20%s','error','message','info','result','catch','lodash','util','bluebird','randomstring','../../mysqldb','../../config/utils','../../config/logger','rpc','../../config/environment','client','http','then','MailServerOut,\x20%s,\x20%s','request\x20sent','debug'];(function(_0x17a5e4,_0x232546){var _0x4de4dd=function(_0xd09b51){while(--_0xd09b51){_0x17a5e4['push'](_0x17a5e4['shift']());}};_0x4de4dd(++_0x232546);}(_0xe404,0x99));var _0x4e40=function(_0x36c1be,_0x57baa5){_0x36c1be=_0x36c1be-0x0;var _0x372d1b=_0xe404[_0x36c1be];return _0x372d1b;};'use strict';var _=require(_0x4e40('0x0'));var util=require(_0x4e40('0x1'));var moment=require('moment');var BPromise=require(_0x4e40('0x2'));var rs=require(_0x4e40('0x3'));var fs=require('fs');var Redis=require('ioredis');var db=require(_0x4e40('0x4'))['db'];var utils=require(_0x4e40('0x5'));var logger=require(_0x4e40('0x6'))(_0x4e40('0x7'));var config=require(_0x4e40('0x8'));var jayson=require('jayson/promise');var client=jayson[_0x4e40('0x9')][_0x4e40('0xa')]({'port':0x232a});function respondWithRpcPromise(_0x5910a2,_0x177391,_0x5a8127){return new BPromise(function(_0x5e4eee,_0x2e7f16){return client['request'](_0x5910a2,_0x5a8127)[_0x4e40('0xb')](function(_0x506ff5){logger['info'](_0x4e40('0xc'),_0x177391,_0x4e40('0xd'));logger[_0x4e40('0xe')](_0x4e40('0xf'),_0x177391,_0x4e40('0xd'),JSON['stringify'](_0x506ff5));if(_0x506ff5['error']){if(_0x506ff5[_0x4e40('0x10')]['code']===0x1f4){logger[_0x4e40('0x10')](_0x4e40('0xc'),_0x177391,_0x506ff5[_0x4e40('0x10')][_0x4e40('0x11')]);return _0x2e7f16(_0x506ff5[_0x4e40('0x10')][_0x4e40('0x11')]);}logger['error'](_0x4e40('0xc'),_0x177391,_0x506ff5[_0x4e40('0x10')][_0x4e40('0x11')]);return _0x5e4eee(_0x506ff5[_0x4e40('0x10')][_0x4e40('0x11')]);}else{logger[_0x4e40('0x12')]('MailServerOut,\x20%s,\x20%s',_0x177391,_0x4e40('0xd'));_0x5e4eee(_0x506ff5[_0x4e40('0x13')][_0x4e40('0x11')]);}})[_0x4e40('0x14')](function(_0x506341){logger[_0x4e40('0x10')](_0x4e40('0xc'),_0x177391,_0x506341);_0x2e7f16(_0x506341);});});} \ No newline at end of file +var _0x23a3=['jayson/promise','client','http','request','then','info','debug','MailServerOut,\x20%s,\x20%s,\x20%s','request\x20sent','error','code','MailServerOut,\x20%s,\x20%s','message','result','lodash','util','randomstring','ioredis','../../config/logger','rpc','../../config/environment'];(function(_0xa464c9,_0x7c86d8){var _0x3d73c4=function(_0x5c2056){while(--_0x5c2056){_0xa464c9['push'](_0xa464c9['shift']());}};_0x3d73c4(++_0x7c86d8);}(_0x23a3,0x10a));var _0x323a=function(_0x4f7b33,_0x43d0b3){_0x4f7b33=_0x4f7b33-0x0;var _0x87cce3=_0x23a3[_0x4f7b33];return _0x87cce3;};'use strict';var _=require(_0x323a('0x0'));var util=require(_0x323a('0x1'));var moment=require('moment');var BPromise=require('bluebird');var rs=require(_0x323a('0x2'));var fs=require('fs');var Redis=require(_0x323a('0x3'));var db=require('../../mysqldb')['db'];var utils=require('../../config/utils');var logger=require(_0x323a('0x4'))(_0x323a('0x5'));var config=require(_0x323a('0x6'));var jayson=require(_0x323a('0x7'));var client=jayson[_0x323a('0x8')][_0x323a('0x9')]({'port':0x232a});function respondWithRpcPromise(_0xd32a20,_0x236f55,_0x2658d6){return new BPromise(function(_0x5c9915,_0x17ab91){return client[_0x323a('0xa')](_0xd32a20,_0x2658d6)[_0x323a('0xb')](function(_0x26c33d){logger[_0x323a('0xc')]('MailServerOut,\x20%s,\x20%s',_0x236f55,'request\x20sent');logger[_0x323a('0xd')](_0x323a('0xe'),_0x236f55,_0x323a('0xf'),JSON['stringify'](_0x26c33d));if(_0x26c33d[_0x323a('0x10')]){if(_0x26c33d[_0x323a('0x10')][_0x323a('0x11')]===0x1f4){logger[_0x323a('0x10')](_0x323a('0x12'),_0x236f55,_0x26c33d[_0x323a('0x10')][_0x323a('0x13')]);return _0x17ab91(_0x26c33d[_0x323a('0x10')]['message']);}logger['error'](_0x323a('0x12'),_0x236f55,_0x26c33d[_0x323a('0x10')][_0x323a('0x13')]);return _0x5c9915(_0x26c33d[_0x323a('0x10')][_0x323a('0x13')]);}else{logger[_0x323a('0xc')](_0x323a('0x12'),_0x236f55,_0x323a('0xf'));_0x5c9915(_0x26c33d[_0x323a('0x14')][_0x323a('0x13')]);}})['catch'](function(_0xb1b7f3){logger['error'](_0x323a('0x12'),_0x236f55,_0xb1b7f3);_0x17ab91(_0xb1b7f3);});});} \ No newline at end of file diff --git a/server/api/mailSubstatus/index.js b/server/api/mailSubstatus/index.js index 3c8293c..2c805d3 100644 --- a/server/api/mailSubstatus/index.js +++ b/server/api/mailSubstatus/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x86ad=['describe','show','post','put','/:id','delete','destroy','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../config/environment','isAuthenticated','index','get','/describe'];(function(_0x173441,_0x26b0d9){var _0x2423a8=function(_0x4d96c2){while(--_0x4d96c2){_0x173441['push'](_0x173441['shift']());}};_0x2423a8(++_0x26b0d9);}(_0x86ad,0xeb));var _0xd86a=function(_0x1a8b03,_0x23d87f){_0x1a8b03=_0x1a8b03-0x0;var _0x231bc2=_0x86ad[_0x1a8b03];return _0x231bc2;};'use strict';var multer=require(_0xd86a('0x0'));var util=require(_0xd86a('0x1'));var path=require(_0xd86a('0x2'));var timeout=require(_0xd86a('0x3'));var express=require(_0xd86a('0x4'));var router=express[_0xd86a('0x5')]();var auth=require(_0xd86a('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0xd86a('0x7'));var controller=require('./mailSubstatus.controller');router['get']('/',auth[_0xd86a('0x8')](),controller[_0xd86a('0x9')]);router[_0xd86a('0xa')](_0xd86a('0xb'),auth[_0xd86a('0x8')](),controller[_0xd86a('0xc')]);router[_0xd86a('0xa')]('/:id',auth['isAuthenticated'](),controller[_0xd86a('0xd')]);router[_0xd86a('0xe')]('/',auth[_0xd86a('0x8')](),controller['create']);router[_0xd86a('0xf')](_0xd86a('0x10'),auth[_0xd86a('0x8')](),controller['update']);router[_0xd86a('0x11')](_0xd86a('0x10'),auth[_0xd86a('0x8')](),controller[_0xd86a('0x12')]);module['exports']=router; \ No newline at end of file +var _0x2e00=['./mailSubstatus.controller','isAuthenticated','index','get','/describe','describe','show','post','put','/:id','update','delete','exports','multer','util','path','express','../../components/auth/service','../../config/environment'];(function(_0x242d17,_0x30a922){var _0x501a6d=function(_0x4227e4){while(--_0x4227e4){_0x242d17['push'](_0x242d17['shift']());}};_0x501a6d(++_0x30a922);}(_0x2e00,0x6c));var _0x02e0=function(_0x48999d,_0x1e02cb){_0x48999d=_0x48999d-0x0;var _0x1ad0d1=_0x2e00[_0x48999d];return _0x1ad0d1;};'use strict';var multer=require(_0x02e0('0x0'));var util=require(_0x02e0('0x1'));var path=require(_0x02e0('0x2'));var timeout=require('connect-timeout');var express=require(_0x02e0('0x3'));var router=express['Router']();var auth=require(_0x02e0('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x02e0('0x5'));var controller=require(_0x02e0('0x6'));router['get']('/',auth[_0x02e0('0x7')](),controller[_0x02e0('0x8')]);router[_0x02e0('0x9')](_0x02e0('0xa'),auth['isAuthenticated'](),controller[_0x02e0('0xb')]);router[_0x02e0('0x9')]('/:id',auth['isAuthenticated'](),controller[_0x02e0('0xc')]);router[_0x02e0('0xd')]('/',auth[_0x02e0('0x7')](),controller['create']);router[_0x02e0('0xe')](_0x02e0('0xf'),auth[_0x02e0('0x7')](),controller[_0x02e0('0x10')]);router[_0x02e0('0x11')]('/:id',auth[_0x02e0('0x7')](),controller['destroy']);module[_0x02e0('0x12')]=router; \ No newline at end of file diff --git a/server/api/mailSubstatus/mailSubstatus.attributes.js b/server/api/mailSubstatus/mailSubstatus.attributes.js index d73f34a..0eb6883 100644 --- a/server/api/mailSubstatus/mailSubstatus.attributes.js +++ b/server/api/mailSubstatus/mailSubstatus.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xdbb9=['exports','STRING','name'];(function(_0x1a8d2a,_0xdbe9b8){var _0x1cf709=function(_0x21e1a2){while(--_0x21e1a2){_0x1a8d2a['push'](_0x1a8d2a['shift']());}};_0x1cf709(++_0xdbe9b8);}(_0xdbb9,0xf9));var _0x9dbb=function(_0x533b9b,_0x1f4612){_0x533b9b=_0x533b9b-0x0;var _0x2a96e3=_0xdbb9[_0x533b9b];return _0x2a96e3;};'use strict';var Sequelize=require('sequelize');module[_0x9dbb('0x0')]={'name':{'type':Sequelize[_0x9dbb('0x1')],'unique':_0x9dbb('0x2'),'allowNull':![],'validate':{'notEmpty':!![]}},'description':{'type':Sequelize[_0x9dbb('0x1')]}}; \ No newline at end of file +var _0xbff5=['sequelize','exports','STRING','name'];(function(_0x3117f9,_0x24e115){var _0x86cb7d=function(_0x10c9f4){while(--_0x10c9f4){_0x3117f9['push'](_0x3117f9['shift']());}};_0x86cb7d(++_0x24e115);}(_0xbff5,0x1bc));var _0x5bff=function(_0x2ddd4c,_0x2d26c6){_0x2ddd4c=_0x2ddd4c-0x0;var _0x4c9cb8=_0xbff5[_0x2ddd4c];return _0x4c9cb8;};'use strict';var Sequelize=require(_0x5bff('0x0'));module[_0x5bff('0x1')]={'name':{'type':Sequelize[_0x5bff('0x2')],'unique':_0x5bff('0x3'),'allowNull':![],'validate':{'notEmpty':!![]}},'description':{'type':Sequelize[_0x5bff('0x2')]}}; \ No newline at end of file diff --git a/server/api/mailSubstatus/mailSubstatus.controller.js b/server/api/mailSubstatus/mailSubstatus.controller.js index 45f2385..10503e2 100644 --- a/server/api/mailSubstatus/mailSubstatus.controller.js +++ b/server/api/mailSubstatus/mailSubstatus.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xf4ba=['squel','crypto','jsforce','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','sendStatus','status','offset','limit','set','Content-Range','json','apply','reject','save','then','end','error','stack','name','send','map','rawAttributes','fieldName','type','key','model','query','keys','intersection','attributes','hasOwnProperty','nolimit','order','sort','where','filters','pick','filter','merge','VIRTUAL','options','MailSubstatus','count','findAll','rows','catch','show','fields','includeAll','find','create','body','update','params','destroy','describe','html-pdf','eml-format','rimraf','fast-json-patch','request-promise','moment','bluebird','mustache','util','path','sox','to-csv','ejs','lodash'];(function(_0x321bb2,_0x202794){var _0x9c12ed=function(_0x263dd3){while(--_0x263dd3){_0x321bb2['push'](_0x321bb2['shift']());}};_0x9c12ed(++_0x202794);}(_0xf4ba,0x13a));var _0xaf4b=function(_0x4ac3a6,_0x3403cb){_0x4ac3a6=_0x4ac3a6-0x0;var _0x5f57c5=_0xf4ba[_0x4ac3a6];return _0x5f57c5;};'use strict';var pdf=require(_0xaf4b('0x0'));var emlformat=require(_0xaf4b('0x1'));var rimraf=require(_0xaf4b('0x2'));var zipdir=require('zip-dir');var jsonpatch=require(_0xaf4b('0x3'));var rp=require(_0xaf4b('0x4'));var moment=require(_0xaf4b('0x5'));var BPromise=require(_0xaf4b('0x6'));var Mustache=require(_0xaf4b('0x7'));var util=require(_0xaf4b('0x8'));var path=require(_0xaf4b('0x9'));var sox=require(_0xaf4b('0xa'));var csv=require(_0xaf4b('0xb'));var ejs=require(_0xaf4b('0xc'));var fs=require('fs');var _=require(_0xaf4b('0xd'));var squel=require(_0xaf4b('0xe'));var crypto=require(_0xaf4b('0xf'));var jsforce=require(_0xaf4b('0x10'));var deskjs=require(_0xaf4b('0x11'));var toCsv=require(_0xaf4b('0xb'));var querystring=require(_0xaf4b('0x12'));var Papa=require(_0xaf4b('0x13'));var Redis=require(_0xaf4b('0x14'));var authService=require(_0xaf4b('0x15'));var qs=require(_0xaf4b('0x16'));var as=require(_0xaf4b('0x17'));var hardwareService=require(_0xaf4b('0x18'));var logger=require(_0xaf4b('0x19'))(_0xaf4b('0x1a'));var utils=require(_0xaf4b('0x1b'));var config=require(_0xaf4b('0x1c'));var db=require(_0xaf4b('0x1d'))['db'];function respondWithStatusCode(_0x2f0ef0,_0x14ab4c){_0x14ab4c=_0x14ab4c||0xcc;return function(_0x2c0332){if(_0x2c0332){return _0x2f0ef0[_0xaf4b('0x1e')](_0x14ab4c);}return _0x2f0ef0[_0xaf4b('0x1f')](_0x14ab4c)['end']();};}function respondWithResult(_0x352b8e,_0x16d052){_0x16d052=_0x16d052||0xc8;return function(_0x521683){if(_0x521683){return _0x352b8e[_0xaf4b('0x1f')](_0x16d052)['json'](_0x521683);}};}function respondWithFilteredResult(_0x12dcdb,_0x49d162){return function(_0x4b50b5){if(_0x4b50b5){var _0x5e2fe4=_0x4b50b5['count'],_0x243483=_0x49d162[_0xaf4b('0x20')],_0xd40ca4=_0x49d162[_0xaf4b('0x20')]+_0x49d162[_0xaf4b('0x21')],_0x18b274;if(_0xd40ca4>=_0x5e2fe4){_0xd40ca4=_0x5e2fe4;_0x18b274=0xc8;}else{_0x18b274=0xce;}_0x12dcdb[_0xaf4b('0x1f')](_0x18b274);return _0x12dcdb[_0xaf4b('0x22')](_0xaf4b('0x23'),_0x243483+'-'+_0xd40ca4+'/'+_0x5e2fe4)[_0xaf4b('0x24')](_0x4b50b5);}return null;};}function patchUpdates(_0x4e87dd){return function(_0x2f47f1){try{jsonpatch[_0xaf4b('0x25')](_0x2f47f1,_0x4e87dd,!![]);}catch(_0x220d89){return BPromise[_0xaf4b('0x26')](_0x220d89);}return _0x2f47f1[_0xaf4b('0x27')]();};}function saveUpdates(_0x1cfc17,_0x5e4786){return function(_0xdfbbc){if(_0xdfbbc){return _0xdfbbc['update'](_0x1cfc17)[_0xaf4b('0x28')](function(_0x41d5a4){return _0x41d5a4;});}return null;};}function removeEntity(_0x4fabba,_0x14989c){return function(_0x3f9250){if(_0x3f9250){return _0x3f9250['destroy']()[_0xaf4b('0x28')](function(){_0x4fabba['status'](0xcc)[_0xaf4b('0x29')]();});}};}function handleEntityNotFound(_0x932984,_0x456bec){return function(_0x1805f8){if(!_0x1805f8){_0x932984[_0xaf4b('0x1e')](0x194);}return _0x1805f8;};}function handleError(_0x2b5622,_0x157760){_0x157760=_0x157760||0x1f4;return function(_0x54b3ff){logger[_0xaf4b('0x2a')](_0x54b3ff[_0xaf4b('0x2b')]);if(_0x54b3ff[_0xaf4b('0x2c')]){delete _0x54b3ff[_0xaf4b('0x2c')];}_0x2b5622[_0xaf4b('0x1f')](_0x157760)[_0xaf4b('0x2d')](_0x54b3ff);};}exports['index']=function(_0x54b84a,_0x40632a){var _0x30fdce={},_0x398656={},_0x1ee634={'count':0x0,'rows':[]};var _0x50d358=_[_0xaf4b('0x2e')](db['MailSubstatus'][_0xaf4b('0x2f')],function(_0x4b8d48){return{'name':_0x4b8d48[_0xaf4b('0x30')],'type':_0x4b8d48[_0xaf4b('0x31')][_0xaf4b('0x32')]};});_0x398656[_0xaf4b('0x33')]=_[_0xaf4b('0x2e')](_0x50d358,_0xaf4b('0x2c'));_0x398656[_0xaf4b('0x34')]=_[_0xaf4b('0x35')](_0x54b84a[_0xaf4b('0x34')]);_0x398656['filters']=_[_0xaf4b('0x36')](_0x398656[_0xaf4b('0x33')],_0x398656[_0xaf4b('0x34')]);_0x30fdce['attributes']=_['intersection'](_0x398656['model'],qs['fields'](_0x54b84a[_0xaf4b('0x34')]['fields']));_0x30fdce[_0xaf4b('0x37')]=_0x30fdce[_0xaf4b('0x37')]['length']?_0x30fdce[_0xaf4b('0x37')]:_0x398656['model'];if(!_0x54b84a[_0xaf4b('0x34')][_0xaf4b('0x38')](_0xaf4b('0x39'))){_0x30fdce[_0xaf4b('0x21')]=qs[_0xaf4b('0x21')](_0x54b84a['query'][_0xaf4b('0x21')]);_0x30fdce[_0xaf4b('0x20')]=qs[_0xaf4b('0x20')](_0x54b84a[_0xaf4b('0x34')][_0xaf4b('0x20')]);}_0x30fdce[_0xaf4b('0x3a')]=qs[_0xaf4b('0x3b')](_0x54b84a[_0xaf4b('0x34')]['sort']);_0x30fdce[_0xaf4b('0x3c')]=qs[_0xaf4b('0x3d')](_[_0xaf4b('0x3e')](_0x54b84a['query'],_0x398656['filters']),_0x50d358);if(_0x54b84a[_0xaf4b('0x34')][_0xaf4b('0x3f')]){_0x30fdce[_0xaf4b('0x3c')]=_[_0xaf4b('0x40')](_0x30fdce[_0xaf4b('0x3c')],{'$or':_[_0xaf4b('0x2e')](_0x50d358,function(_0x38e919){if(_0x38e919[_0xaf4b('0x31')]!==_0xaf4b('0x41')){var _0x566279={};_0x566279[_0x38e919[_0xaf4b('0x2c')]]={'$like':'%'+_0x54b84a['query'][_0xaf4b('0x3f')]+'%'};return _0x566279;}})});}_0x30fdce=_['merge']({},_0x30fdce,_0x54b84a[_0xaf4b('0x42')]);var _0x70a94e={'where':_0x30fdce['where']};return db[_0xaf4b('0x43')][_0xaf4b('0x44')](_0x70a94e)[_0xaf4b('0x28')](function(_0x5c6be2){_0x1ee634['count']=_0x5c6be2;if(_0x54b84a[_0xaf4b('0x34')]['includeAll']){_0x30fdce['include']=[{'all':!![]}];}return db[_0xaf4b('0x43')][_0xaf4b('0x45')](_0x30fdce);})['then'](function(_0x29130f){_0x1ee634[_0xaf4b('0x46')]=_0x29130f;return _0x1ee634;})[_0xaf4b('0x28')](respondWithFilteredResult(_0x40632a,_0x30fdce))[_0xaf4b('0x47')](handleError(_0x40632a,null));};exports[_0xaf4b('0x48')]=function(_0x1cb17d,_0x472365){var _0x235eb3={'raw':!![],'where':{'id':_0x1cb17d['params']['id']}},_0x598066={};_0x598066[_0xaf4b('0x33')]=_[_0xaf4b('0x35')](db[_0xaf4b('0x43')][_0xaf4b('0x2f')]);_0x598066[_0xaf4b('0x34')]=_['keys'](_0x1cb17d[_0xaf4b('0x34')]);_0x598066[_0xaf4b('0x3d')]=_[_0xaf4b('0x36')](_0x598066[_0xaf4b('0x33')],_0x598066[_0xaf4b('0x34')]);_0x235eb3[_0xaf4b('0x37')]=_[_0xaf4b('0x36')](_0x598066[_0xaf4b('0x33')],qs['fields'](_0x1cb17d[_0xaf4b('0x34')][_0xaf4b('0x49')]));_0x235eb3[_0xaf4b('0x37')]=_0x235eb3[_0xaf4b('0x37')]['length']?_0x235eb3[_0xaf4b('0x37')]:_0x598066[_0xaf4b('0x33')];if(_0x1cb17d['query'][_0xaf4b('0x4a')]){_0x235eb3['include']=[{'all':!![]}];}_0x235eb3=_[_0xaf4b('0x40')]({},_0x235eb3,_0x1cb17d[_0xaf4b('0x42')]);return db[_0xaf4b('0x43')][_0xaf4b('0x4b')](_0x235eb3)[_0xaf4b('0x28')](handleEntityNotFound(_0x472365,null))[_0xaf4b('0x28')](respondWithResult(_0x472365,null))[_0xaf4b('0x47')](handleError(_0x472365,null));};exports[_0xaf4b('0x4c')]=function(_0x135158,_0x3774cb){return db[_0xaf4b('0x43')]['create'](_0x135158[_0xaf4b('0x4d')],{})[_0xaf4b('0x28')](respondWithResult(_0x3774cb,0xc9))[_0xaf4b('0x47')](handleError(_0x3774cb,null));};exports[_0xaf4b('0x4e')]=function(_0x4b5e12,_0x4f2507){if(_0x4b5e12[_0xaf4b('0x4d')]['id']){delete _0x4b5e12[_0xaf4b('0x4d')]['id'];}return db[_0xaf4b('0x43')]['find']({'where':{'id':_0x4b5e12[_0xaf4b('0x4f')]['id']}})[_0xaf4b('0x28')](handleEntityNotFound(_0x4f2507,null))[_0xaf4b('0x28')](saveUpdates(_0x4b5e12[_0xaf4b('0x4d')],null))[_0xaf4b('0x28')](respondWithResult(_0x4f2507,null))['catch'](handleError(_0x4f2507,null));};exports[_0xaf4b('0x50')]=function(_0x92f29f,_0x287ed6){return db[_0xaf4b('0x43')][_0xaf4b('0x4b')]({'where':{'id':_0x92f29f[_0xaf4b('0x4f')]['id']}})[_0xaf4b('0x28')](handleEntityNotFound(_0x287ed6,null))['then'](removeEntity(_0x287ed6,null))[_0xaf4b('0x47')](handleError(_0x287ed6,null));};exports[_0xaf4b('0x51')]=function(_0x40e7ea,_0x234d7f){return db[_0xaf4b('0x43')]['describe']()[_0xaf4b('0x28')](respondWithResult(_0x234d7f,null))[_0xaf4b('0x47')](handleError(_0x234d7f,null));}; \ No newline at end of file +var _0x9a89=['index','map','MailSubstatus','type','key','model','query','keys','filters','intersection','attributes','fields','length','hasOwnProperty','order','sort','pick','filter','where','merge','VIRTUAL','options','count','includeAll','include','rows','catch','show','params','find','create','body','destroy','describe','html-pdf','eml-format','rimraf','zip-dir','bluebird','mustache','util','path','sox','to-csv','ejs','lodash','squel','crypto','jsforce','desk.js','papaparse','ioredis','../../components/parsers/advancedSearch','../../config/license/hardware','api','../../config/environment','../../mysqldb','sendStatus','status','end','json','offset','limit','set','apply','reject','save','update','then','stack','name','send'];(function(_0x56a4a6,_0x28956f){var _0xf73a91=function(_0x44b4a9){while(--_0x44b4a9){_0x56a4a6['push'](_0x56a4a6['shift']());}};_0xf73a91(++_0x28956f);}(_0x9a89,0x6a));var _0x99a8=function(_0x46b4ff,_0x4d8156){_0x46b4ff=_0x46b4ff-0x0;var _0x32f82f=_0x9a89[_0x46b4ff];return _0x32f82f;};'use strict';var pdf=require(_0x99a8('0x0'));var emlformat=require(_0x99a8('0x1'));var rimraf=require(_0x99a8('0x2'));var zipdir=require(_0x99a8('0x3'));var jsonpatch=require('fast-json-patch');var rp=require('request-promise');var moment=require('moment');var BPromise=require(_0x99a8('0x4'));var Mustache=require(_0x99a8('0x5'));var util=require(_0x99a8('0x6'));var path=require(_0x99a8('0x7'));var sox=require(_0x99a8('0x8'));var csv=require(_0x99a8('0x9'));var ejs=require(_0x99a8('0xa'));var fs=require('fs');var _=require(_0x99a8('0xb'));var squel=require(_0x99a8('0xc'));var crypto=require(_0x99a8('0xd'));var jsforce=require(_0x99a8('0xe'));var deskjs=require(_0x99a8('0xf'));var toCsv=require(_0x99a8('0x9'));var querystring=require('querystring');var Papa=require(_0x99a8('0x10'));var Redis=require(_0x99a8('0x11'));var authService=require('../../components/auth/service');var qs=require('../../components/parsers/qs');var as=require(_0x99a8('0x12'));var hardwareService=require(_0x99a8('0x13'));var logger=require('../../config/logger')(_0x99a8('0x14'));var utils=require('../../config/utils');var config=require(_0x99a8('0x15'));var db=require(_0x99a8('0x16'))['db'];function respondWithStatusCode(_0x15d306,_0x40464d){_0x40464d=_0x40464d||0xcc;return function(_0x494c7c){if(_0x494c7c){return _0x15d306[_0x99a8('0x17')](_0x40464d);}return _0x15d306[_0x99a8('0x18')](_0x40464d)[_0x99a8('0x19')]();};}function respondWithResult(_0x3b2d96,_0x7dc353){_0x7dc353=_0x7dc353||0xc8;return function(_0x5979d8){if(_0x5979d8){return _0x3b2d96[_0x99a8('0x18')](_0x7dc353)[_0x99a8('0x1a')](_0x5979d8);}};}function respondWithFilteredResult(_0x4a82bd,_0x590aa8){return function(_0x20f10f){if(_0x20f10f){var _0x2a2ccd=_0x20f10f['count'],_0x50532d=_0x590aa8[_0x99a8('0x1b')],_0x828ff5=_0x590aa8[_0x99a8('0x1b')]+_0x590aa8[_0x99a8('0x1c')],_0x5c7bc8;if(_0x828ff5>=_0x2a2ccd){_0x828ff5=_0x2a2ccd;_0x5c7bc8=0xc8;}else{_0x5c7bc8=0xce;}_0x4a82bd[_0x99a8('0x18')](_0x5c7bc8);return _0x4a82bd[_0x99a8('0x1d')]('Content-Range',_0x50532d+'-'+_0x828ff5+'/'+_0x2a2ccd)[_0x99a8('0x1a')](_0x20f10f);}return null;};}function patchUpdates(_0xd96a1b){return function(_0x56b3d7){try{jsonpatch[_0x99a8('0x1e')](_0x56b3d7,_0xd96a1b,!![]);}catch(_0x51cab0){return BPromise[_0x99a8('0x1f')](_0x51cab0);}return _0x56b3d7[_0x99a8('0x20')]();};}function saveUpdates(_0x467b8d,_0x415a14){return function(_0x2c972b){if(_0x2c972b){return _0x2c972b[_0x99a8('0x21')](_0x467b8d)[_0x99a8('0x22')](function(_0x2b1a22){return _0x2b1a22;});}return null;};}function removeEntity(_0x50342a,_0x416694){return function(_0x5c7099){if(_0x5c7099){return _0x5c7099['destroy']()[_0x99a8('0x22')](function(){_0x50342a['status'](0xcc)[_0x99a8('0x19')]();});}};}function handleEntityNotFound(_0x2a10e5,_0x1e61de){return function(_0x285d95){if(!_0x285d95){_0x2a10e5[_0x99a8('0x17')](0x194);}return _0x285d95;};}function handleError(_0x4fde1a,_0x1b6365){_0x1b6365=_0x1b6365||0x1f4;return function(_0x261737){logger['error'](_0x261737[_0x99a8('0x23')]);if(_0x261737['name']){delete _0x261737[_0x99a8('0x24')];}_0x4fde1a[_0x99a8('0x18')](_0x1b6365)[_0x99a8('0x25')](_0x261737);};}exports[_0x99a8('0x26')]=function(_0xf67b84,_0x49469c){var _0xc73f66={},_0x5eb47c={},_0x5bf8ec={'count':0x0,'rows':[]};var _0x7379a3=_[_0x99a8('0x27')](db[_0x99a8('0x28')]['rawAttributes'],function(_0x445923){return{'name':_0x445923['fieldName'],'type':_0x445923[_0x99a8('0x29')][_0x99a8('0x2a')]};});_0x5eb47c[_0x99a8('0x2b')]=_['map'](_0x7379a3,_0x99a8('0x24'));_0x5eb47c[_0x99a8('0x2c')]=_[_0x99a8('0x2d')](_0xf67b84['query']);_0x5eb47c[_0x99a8('0x2e')]=_[_0x99a8('0x2f')](_0x5eb47c[_0x99a8('0x2b')],_0x5eb47c['query']);_0xc73f66[_0x99a8('0x30')]=_['intersection'](_0x5eb47c['model'],qs[_0x99a8('0x31')](_0xf67b84['query']['fields']));_0xc73f66[_0x99a8('0x30')]=_0xc73f66[_0x99a8('0x30')][_0x99a8('0x32')]?_0xc73f66[_0x99a8('0x30')]:_0x5eb47c[_0x99a8('0x2b')];if(!_0xf67b84[_0x99a8('0x2c')][_0x99a8('0x33')]('nolimit')){_0xc73f66['limit']=qs['limit'](_0xf67b84[_0x99a8('0x2c')]['limit']);_0xc73f66['offset']=qs[_0x99a8('0x1b')](_0xf67b84[_0x99a8('0x2c')]['offset']);}_0xc73f66[_0x99a8('0x34')]=qs[_0x99a8('0x35')](_0xf67b84[_0x99a8('0x2c')]['sort']);_0xc73f66['where']=qs[_0x99a8('0x2e')](_[_0x99a8('0x36')](_0xf67b84[_0x99a8('0x2c')],_0x5eb47c[_0x99a8('0x2e')]),_0x7379a3);if(_0xf67b84[_0x99a8('0x2c')][_0x99a8('0x37')]){_0xc73f66[_0x99a8('0x38')]=_[_0x99a8('0x39')](_0xc73f66[_0x99a8('0x38')],{'$or':_[_0x99a8('0x27')](_0x7379a3,function(_0x23c39b){if(_0x23c39b[_0x99a8('0x29')]!==_0x99a8('0x3a')){var _0x315e11={};_0x315e11[_0x23c39b[_0x99a8('0x24')]]={'$like':'%'+_0xf67b84[_0x99a8('0x2c')][_0x99a8('0x37')]+'%'};return _0x315e11;}})});}_0xc73f66=_[_0x99a8('0x39')]({},_0xc73f66,_0xf67b84[_0x99a8('0x3b')]);var _0x8da107={'where':_0xc73f66['where']};return db[_0x99a8('0x28')][_0x99a8('0x3c')](_0x8da107)[_0x99a8('0x22')](function(_0xb886c){_0x5bf8ec[_0x99a8('0x3c')]=_0xb886c;if(_0xf67b84[_0x99a8('0x2c')][_0x99a8('0x3d')]){_0xc73f66[_0x99a8('0x3e')]=[{'all':!![]}];}return db[_0x99a8('0x28')]['findAll'](_0xc73f66);})['then'](function(_0x4eea3d){_0x5bf8ec[_0x99a8('0x3f')]=_0x4eea3d;return _0x5bf8ec;})[_0x99a8('0x22')](respondWithFilteredResult(_0x49469c,_0xc73f66))[_0x99a8('0x40')](handleError(_0x49469c,null));};exports[_0x99a8('0x41')]=function(_0xcc0d48,_0x25d23a){var _0x31f0e4={'raw':!![],'where':{'id':_0xcc0d48[_0x99a8('0x42')]['id']}},_0x417fe7={};_0x417fe7[_0x99a8('0x2b')]=_[_0x99a8('0x2d')](db[_0x99a8('0x28')]['rawAttributes']);_0x417fe7[_0x99a8('0x2c')]=_[_0x99a8('0x2d')](_0xcc0d48[_0x99a8('0x2c')]);_0x417fe7[_0x99a8('0x2e')]=_[_0x99a8('0x2f')](_0x417fe7[_0x99a8('0x2b')],_0x417fe7[_0x99a8('0x2c')]);_0x31f0e4[_0x99a8('0x30')]=_['intersection'](_0x417fe7[_0x99a8('0x2b')],qs[_0x99a8('0x31')](_0xcc0d48[_0x99a8('0x2c')]['fields']));_0x31f0e4['attributes']=_0x31f0e4[_0x99a8('0x30')]['length']?_0x31f0e4[_0x99a8('0x30')]:_0x417fe7['model'];if(_0xcc0d48[_0x99a8('0x2c')][_0x99a8('0x3d')]){_0x31f0e4[_0x99a8('0x3e')]=[{'all':!![]}];}_0x31f0e4=_[_0x99a8('0x39')]({},_0x31f0e4,_0xcc0d48['options']);return db[_0x99a8('0x28')][_0x99a8('0x43')](_0x31f0e4)[_0x99a8('0x22')](handleEntityNotFound(_0x25d23a,null))[_0x99a8('0x22')](respondWithResult(_0x25d23a,null))[_0x99a8('0x40')](handleError(_0x25d23a,null));};exports['create']=function(_0x4879e4,_0x27c582){return db[_0x99a8('0x28')][_0x99a8('0x44')](_0x4879e4[_0x99a8('0x45')],{})[_0x99a8('0x22')](respondWithResult(_0x27c582,0xc9))['catch'](handleError(_0x27c582,null));};exports[_0x99a8('0x21')]=function(_0x24a450,_0x331fa3){if(_0x24a450[_0x99a8('0x45')]['id']){delete _0x24a450['body']['id'];}return db[_0x99a8('0x28')][_0x99a8('0x43')]({'where':{'id':_0x24a450['params']['id']}})['then'](handleEntityNotFound(_0x331fa3,null))[_0x99a8('0x22')](saveUpdates(_0x24a450[_0x99a8('0x45')],null))[_0x99a8('0x22')](respondWithResult(_0x331fa3,null))['catch'](handleError(_0x331fa3,null));};exports[_0x99a8('0x46')]=function(_0x1ee9c1,_0x4fc39b){return db[_0x99a8('0x28')]['find']({'where':{'id':_0x1ee9c1[_0x99a8('0x42')]['id']}})['then'](handleEntityNotFound(_0x4fc39b,null))[_0x99a8('0x22')](removeEntity(_0x4fc39b,null))[_0x99a8('0x40')](handleError(_0x4fc39b,null));};exports[_0x99a8('0x47')]=function(_0x416bd6,_0x5be975){return db[_0x99a8('0x28')][_0x99a8('0x47')]()['then'](respondWithResult(_0x5be975,null))[_0x99a8('0x40')](handleError(_0x5be975,null));}; \ No newline at end of file diff --git a/server/api/mailSubstatus/mailSubstatus.model.js b/server/api/mailSubstatus/mailSubstatus.model.js index 83805ed..18e1b28 100644 --- a/server/api/mailSubstatus/mailSubstatus.model.js +++ b/server/api/mailSubstatus/mailSubstatus.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x0abf=['define','mail_substatuses','lodash','../../config/logger','api','request-promise','rimraf','../../config/environment','./mailSubstatus.attributes','exports'];(function(_0x9a0411,_0x334493){var _0xec2421=function(_0x29a4f9){while(--_0x29a4f9){_0x9a0411['push'](_0x9a0411['shift']());}};_0xec2421(++_0x334493);}(_0x0abf,0xe8));var _0xf0ab=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0x0abf[_0x14add3];return _0x4a174f;};'use strict';var _=require(_0xf0ab('0x0'));var util=require('util');var logger=require(_0xf0ab('0x1'))(_0xf0ab('0x2'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0xf0ab('0x3'));var fs=require('fs');var path=require('path');var rimraf=require(_0xf0ab('0x4'));var config=require(_0xf0ab('0x5'));var attributes=require(_0xf0ab('0x6'));module[_0xf0ab('0x7')]=function(_0x2ab7d6,_0x4d2ea8){return _0x2ab7d6[_0xf0ab('0x8')]('MailSubstatus',attributes,{'tableName':_0xf0ab('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0x50a5=['util','request-promise','rimraf','../../config/environment','./mailSubstatus.attributes','exports','define','MailSubstatus','mail_substatuses','lodash'];(function(_0x58dc25,_0x49b9d5){var _0x21b0a7=function(_0x38a186){while(--_0x38a186){_0x58dc25['push'](_0x58dc25['shift']());}};_0x21b0a7(++_0x49b9d5);}(_0x50a5,0xd1));var _0x550a=function(_0x1c6b68,_0x3db717){_0x1c6b68=_0x1c6b68-0x0;var _0x4d83c3=_0x50a5[_0x1c6b68];return _0x4d83c3;};'use strict';var _=require(_0x550a('0x0'));var util=require(_0x550a('0x1'));var logger=require('../../config/logger')('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x550a('0x2'));var fs=require('fs');var path=require('path');var rimraf=require(_0x550a('0x3'));var config=require(_0x550a('0x4'));var attributes=require(_0x550a('0x5'));module[_0x550a('0x6')]=function(_0x402f66,_0x3b3c29){return _0x402f66[_0x550a('0x7')](_0x550a('0x8'),attributes,{'tableName':_0x550a('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/mailSubstatus/mailSubstatus.rpc.js b/server/api/mailSubstatus/mailSubstatus.rpc.js index dab92f5..a50860c 100644 --- a/server/api/mailSubstatus/mailSubstatus.rpc.js +++ b/server/api/mailSubstatus/mailSubstatus.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x3c81=['MailSubstatus,\x20%s,\x20%s,\x20%s','stringify','error','code','message','result','lodash','util','bluebird','randomstring','rpc','../../config/environment','jayson/promise','client','http','request','then','info','MailSubstatus,\x20%s,\x20%s','request\x20sent','debug'];(function(_0x407d6e,_0x2dcc60){var _0x4d192e=function(_0x11cb70){while(--_0x11cb70){_0x407d6e['push'](_0x407d6e['shift']());}};_0x4d192e(++_0x2dcc60);}(_0x3c81,0x102));var _0x13c8=function(_0x545ddb,_0x969585){_0x545ddb=_0x545ddb-0x0;var _0x2fbc04=_0x3c81[_0x545ddb];return _0x2fbc04;};'use strict';var _=require(_0x13c8('0x0'));var util=require(_0x13c8('0x1'));var moment=require('moment');var BPromise=require(_0x13c8('0x2'));var rs=require(_0x13c8('0x3'));var fs=require('fs');var Redis=require('ioredis');var db=require('../../mysqldb')['db'];var utils=require('../../config/utils');var logger=require('../../config/logger')(_0x13c8('0x4'));var config=require(_0x13c8('0x5'));var jayson=require(_0x13c8('0x6'));var client=jayson[_0x13c8('0x7')][_0x13c8('0x8')]({'port':0x232a});function respondWithRpcPromise(_0x3f0bd2,_0x445b69,_0x4f7bcc){return new BPromise(function(_0x17c228,_0x4905c3){return client[_0x13c8('0x9')](_0x3f0bd2,_0x4f7bcc)[_0x13c8('0xa')](function(_0x189ce6){logger[_0x13c8('0xb')](_0x13c8('0xc'),_0x445b69,_0x13c8('0xd'));logger[_0x13c8('0xe')](_0x13c8('0xf'),_0x445b69,_0x13c8('0xd'),JSON[_0x13c8('0x10')](_0x189ce6));if(_0x189ce6[_0x13c8('0x11')]){if(_0x189ce6[_0x13c8('0x11')][_0x13c8('0x12')]===0x1f4){logger[_0x13c8('0x11')]('MailSubstatus,\x20%s,\x20%s',_0x445b69,_0x189ce6[_0x13c8('0x11')][_0x13c8('0x13')]);return _0x4905c3(_0x189ce6[_0x13c8('0x11')][_0x13c8('0x13')]);}logger['error'](_0x13c8('0xc'),_0x445b69,_0x189ce6['error']['message']);return _0x17c228(_0x189ce6['error'][_0x13c8('0x13')]);}else{logger['info'](_0x13c8('0xc'),_0x445b69,_0x13c8('0xd'));_0x17c228(_0x189ce6[_0x13c8('0x14')][_0x13c8('0x13')]);}})['catch'](function(_0x13a9e1){logger[_0x13c8('0x11')](_0x13c8('0xc'),_0x445b69,_0x13a9e1);_0x4905c3(_0x13a9e1);});});} \ No newline at end of file +var _0xb821=['../../config/logger','rpc','../../config/environment','jayson/promise','http','request','then','MailSubstatus,\x20%s,\x20%s','request\x20sent','debug','MailSubstatus,\x20%s,\x20%s,\x20%s','stringify','error','message','util','moment','ioredis'];(function(_0x15adc6,_0xbc8322){var _0x3bb841=function(_0x16945d){while(--_0x16945d){_0x15adc6['push'](_0x15adc6['shift']());}};_0x3bb841(++_0xbc8322);}(_0xb821,0xa7));var _0x1b82=function(_0x31b132,_0x431a5f){_0x31b132=_0x31b132-0x0;var _0x1b172e=_0xb821[_0x31b132];return _0x1b172e;};'use strict';var _=require('lodash');var util=require(_0x1b82('0x0'));var moment=require(_0x1b82('0x1'));var BPromise=require('bluebird');var rs=require('randomstring');var fs=require('fs');var Redis=require(_0x1b82('0x2'));var db=require('../../mysqldb')['db'];var utils=require('../../config/utils');var logger=require(_0x1b82('0x3'))(_0x1b82('0x4'));var config=require(_0x1b82('0x5'));var jayson=require(_0x1b82('0x6'));var client=jayson['client'][_0x1b82('0x7')]({'port':0x232a});function respondWithRpcPromise(_0x192434,_0x202a5f,_0x3632dd){return new BPromise(function(_0x18f45f,_0x7b87e8){return client[_0x1b82('0x8')](_0x192434,_0x3632dd)[_0x1b82('0x9')](function(_0x141673){logger['info'](_0x1b82('0xa'),_0x202a5f,_0x1b82('0xb'));logger[_0x1b82('0xc')](_0x1b82('0xd'),_0x202a5f,_0x1b82('0xb'),JSON[_0x1b82('0xe')](_0x141673));if(_0x141673[_0x1b82('0xf')]){if(_0x141673[_0x1b82('0xf')]['code']===0x1f4){logger[_0x1b82('0xf')](_0x1b82('0xa'),_0x202a5f,_0x141673[_0x1b82('0xf')][_0x1b82('0x10')]);return _0x7b87e8(_0x141673['error'][_0x1b82('0x10')]);}logger['error']('MailSubstatus,\x20%s,\x20%s',_0x202a5f,_0x141673[_0x1b82('0xf')]['message']);return _0x18f45f(_0x141673[_0x1b82('0xf')][_0x1b82('0x10')]);}else{logger['info'](_0x1b82('0xa'),_0x202a5f,'request\x20sent');_0x18f45f(_0x141673['result'][_0x1b82('0x10')]);}})['catch'](function(_0x111247){logger[_0x1b82('0xf')](_0x1b82('0xa'),_0x202a5f,_0x111247);_0x7b87e8(_0x111247);});});} \ No newline at end of file diff --git a/server/api/mailTransferReport/index.js b/server/api/mailTransferReport/index.js index 01cf24a..afd9382 100644 --- a/server/api/mailTransferReport/index.js +++ b/server/api/mailTransferReport/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xeaa4=['isAuthenticated','index','/describe','describe','/:id','show','post','create','put','update','delete','exports','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./mailTransferReport.controller','get'];(function(_0x316977,_0x175086){var _0x35a31e=function(_0x36cad3){while(--_0x36cad3){_0x316977['push'](_0x316977['shift']());}};_0x35a31e(++_0x175086);}(_0xeaa4,0x171));var _0x4eaa=function(_0xed34f1,_0xfb9d5f){_0xed34f1=_0xed34f1-0x0;var _0x5a2b06=_0xeaa4[_0xed34f1];return _0x5a2b06;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x4eaa('0x0'));var timeout=require(_0x4eaa('0x1'));var express=require(_0x4eaa('0x2'));var router=express[_0x4eaa('0x3')]();var auth=require(_0x4eaa('0x4'));var interaction=require(_0x4eaa('0x5'));var config=require(_0x4eaa('0x6'));var controller=require(_0x4eaa('0x7'));router[_0x4eaa('0x8')]('/',auth[_0x4eaa('0x9')](),controller[_0x4eaa('0xa')]);router[_0x4eaa('0x8')](_0x4eaa('0xb'),auth[_0x4eaa('0x9')](),controller[_0x4eaa('0xc')]);router[_0x4eaa('0x8')](_0x4eaa('0xd'),auth[_0x4eaa('0x9')](),controller[_0x4eaa('0xe')]);router[_0x4eaa('0xf')]('/',auth[_0x4eaa('0x9')](),controller[_0x4eaa('0x10')]);router[_0x4eaa('0x11')](_0x4eaa('0xd'),auth[_0x4eaa('0x9')](),controller[_0x4eaa('0x12')]);router[_0x4eaa('0x13')](_0x4eaa('0xd'),auth['isAuthenticated'](),controller['destroy']);module[_0x4eaa('0x14')]=router; \ No newline at end of file +var _0x9c21=['update','delete','destroy','exports','multer','util','Router','../../components/auth/service','../../config/environment','get','isAuthenticated','index','describe','/:id','post','create','put'];(function(_0x4a04de,_0x2e342c){var _0xbbe018=function(_0x39639c){while(--_0x39639c){_0x4a04de['push'](_0x4a04de['shift']());}};_0xbbe018(++_0x2e342c);}(_0x9c21,0x17a));var _0x19c2=function(_0x1aff7f,_0x56e1be){_0x1aff7f=_0x1aff7f-0x0;var _0x5e104c=_0x9c21[_0x1aff7f];return _0x5e104c;};'use strict';var multer=require(_0x19c2('0x0'));var util=require(_0x19c2('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require('express');var router=express[_0x19c2('0x2')]();var auth=require(_0x19c2('0x3'));var interaction=require('../../components/interaction/service');var config=require(_0x19c2('0x4'));var controller=require('./mailTransferReport.controller');router[_0x19c2('0x5')]('/',auth[_0x19c2('0x6')](),controller[_0x19c2('0x7')]);router[_0x19c2('0x5')]('/describe',auth[_0x19c2('0x6')](),controller[_0x19c2('0x8')]);router['get'](_0x19c2('0x9'),auth['isAuthenticated'](),controller['show']);router[_0x19c2('0xa')]('/',auth['isAuthenticated'](),controller[_0x19c2('0xb')]);router[_0x19c2('0xc')](_0x19c2('0x9'),auth[_0x19c2('0x6')](),controller[_0x19c2('0xd')]);router[_0x19c2('0xe')](_0x19c2('0x9'),auth[_0x19c2('0x6')](),controller[_0x19c2('0xf')]);module[_0x19c2('0x10')]=router; \ No newline at end of file diff --git a/server/api/mailTransferReport/mailTransferReport.attributes.js b/server/api/mailTransferReport/mailTransferReport.attributes.js index 12b57b1..fe6e36b 100644 --- a/server/api/mailTransferReport/mailTransferReport.attributes.js +++ b/server/api/mailTransferReport/mailTransferReport.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x33e3=['agent','DATE','NOW','moment','exports','STRING','ENUM'];(function(_0x188dd5,_0x57a4d1){var _0x5d3c81=function(_0x95bcfa){while(--_0x95bcfa){_0x188dd5['push'](_0x188dd5['shift']());}};_0x5d3c81(++_0x57a4d1);}(_0x33e3,0x8f));var _0x333e=function(_0x20a584,_0xe384a5){_0x20a584=_0x20a584-0x0;var _0x4b41a8=_0x33e3[_0x20a584];return _0x4b41a8;};'use strict';var moment=require(_0x333e('0x0'));var Sequelize=require('sequelize');module[_0x333e('0x1')]={'uniqueid':{'type':Sequelize[_0x333e('0x2')],'allowNull':![]},'type':{'type':Sequelize[_0x333e('0x3')]('account',_0x333e('0x4'),'queue'),'allowNull':![],'defaultValue':'queue'},'transferredAt':{'type':Sequelize[_0x333e('0x5')],'allowNull':![],'defaultValue':Sequelize[_0x333e('0x6')]}}; \ No newline at end of file +var _0x9512=['queue','NOW','moment','sequelize','exports','STRING','ENUM','agent'];(function(_0x4702ee,_0xaf6a45){var _0x62ca7d=function(_0x5b3af7){while(--_0x5b3af7){_0x4702ee['push'](_0x4702ee['shift']());}};_0x62ca7d(++_0xaf6a45);}(_0x9512,0x112));var _0x2951=function(_0x6cfb8a,_0x53be6f){_0x6cfb8a=_0x6cfb8a-0x0;var _0x29ba1d=_0x9512[_0x6cfb8a];return _0x29ba1d;};'use strict';var moment=require(_0x2951('0x0'));var Sequelize=require(_0x2951('0x1'));module[_0x2951('0x2')]={'uniqueid':{'type':Sequelize[_0x2951('0x3')],'allowNull':![]},'type':{'type':Sequelize[_0x2951('0x4')]('account',_0x2951('0x5'),_0x2951('0x6')),'allowNull':![],'defaultValue':_0x2951('0x6')},'transferredAt':{'type':Sequelize['DATE'],'allowNull':![],'defaultValue':Sequelize[_0x2951('0x7')]}}; \ No newline at end of file diff --git a/server/api/mailTransferReport/mailTransferReport.controller.js b/server/api/mailTransferReport/mailTransferReport.controller.js index 5977ea4..2f6ac01 100644 --- a/server/api/mailTransferReport/mailTransferReport.controller.js +++ b/server/api/mailTransferReport/mailTransferReport.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x089c=['create','body','destroy','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','bluebird','util','path','to-csv','ejs','lodash','squel','jsforce','desk.js','querystring','ioredis','../../components/auth/service','../../components/parsers/qs','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','sendStatus','status','end','json','count','offset','limit','Content-Range','reject','save','update','then','stack','name','send','map','MailTransferReport','rawAttributes','fieldName','type','key','model','query','filters','intersection','attributes','fields','length','hasOwnProperty','nolimit','order','sort','filter','where','merge','VIRTUAL','options','include','catch','params','keys','find'];(function(_0x53b53e,_0x498437){var _0xbb6179=function(_0x3975eb){while(--_0x3975eb){_0x53b53e['push'](_0x53b53e['shift']());}};_0xbb6179(++_0x498437);}(_0x089c,0x8d));var _0xc089=function(_0xbf8ebe,_0x3b69a5){_0xbf8ebe=_0xbf8ebe-0x0;var _0x1e25e8=_0x089c[_0xbf8ebe];return _0x1e25e8;};'use strict';var pdf=require(_0xc089('0x0'));var emlformat=require(_0xc089('0x1'));var rimraf=require(_0xc089('0x2'));var zipdir=require(_0xc089('0x3'));var jsonpatch=require(_0xc089('0x4'));var rp=require('request-promise');var moment=require('moment');var BPromise=require(_0xc089('0x5'));var Mustache=require('mustache');var util=require(_0xc089('0x6'));var path=require(_0xc089('0x7'));var sox=require('sox');var csv=require(_0xc089('0x8'));var ejs=require(_0xc089('0x9'));var fs=require('fs');var _=require(_0xc089('0xa'));var squel=require(_0xc089('0xb'));var crypto=require('crypto');var jsforce=require(_0xc089('0xc'));var deskjs=require(_0xc089('0xd'));var toCsv=require(_0xc089('0x8'));var querystring=require(_0xc089('0xe'));var Papa=require('papaparse');var Redis=require(_0xc089('0xf'));var authService=require(_0xc089('0x10'));var qs=require(_0xc089('0x11'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0xc089('0x12'));var logger=require(_0xc089('0x13'))(_0xc089('0x14'));var utils=require(_0xc089('0x15'));var config=require(_0xc089('0x16'));var db=require(_0xc089('0x17'))['db'];function respondWithStatusCode(_0x466f22,_0xc12912){_0xc12912=_0xc12912||0xcc;return function(_0x1fe666){if(_0x1fe666){return _0x466f22[_0xc089('0x18')](_0xc12912);}return _0x466f22[_0xc089('0x19')](_0xc12912)[_0xc089('0x1a')]();};}function respondWithResult(_0x162f1e,_0x1de97f){_0x1de97f=_0x1de97f||0xc8;return function(_0x453a28){if(_0x453a28){return _0x162f1e[_0xc089('0x19')](_0x1de97f)[_0xc089('0x1b')](_0x453a28);}};}function respondWithFilteredResult(_0x284d4e,_0x367524){return function(_0x2577d7){if(_0x2577d7){var _0x43a7d6=_0x2577d7[_0xc089('0x1c')],_0x39786a=_0x367524[_0xc089('0x1d')],_0x1a7536=_0x367524[_0xc089('0x1d')]+_0x367524[_0xc089('0x1e')],_0x34d5ef;if(_0x1a7536>=_0x43a7d6){_0x1a7536=_0x43a7d6;_0x34d5ef=0xc8;}else{_0x34d5ef=0xce;}_0x284d4e[_0xc089('0x19')](_0x34d5ef);return _0x284d4e['set'](_0xc089('0x1f'),_0x39786a+'-'+_0x1a7536+'/'+_0x43a7d6)[_0xc089('0x1b')](_0x2577d7);}return null;};}function patchUpdates(_0x152467){return function(_0x53ab41){try{jsonpatch['apply'](_0x53ab41,_0x152467,!![]);}catch(_0x249038){return BPromise[_0xc089('0x20')](_0x249038);}return _0x53ab41[_0xc089('0x21')]();};}function saveUpdates(_0x51c9bb,_0x592458){return function(_0x59da6b){if(_0x59da6b){return _0x59da6b[_0xc089('0x22')](_0x51c9bb)[_0xc089('0x23')](function(_0x20cc8e){return _0x20cc8e;});}return null;};}function removeEntity(_0x31ad72,_0x2211b9){return function(_0x4fdfdc){if(_0x4fdfdc){return _0x4fdfdc['destroy']()['then'](function(){_0x31ad72[_0xc089('0x19')](0xcc)[_0xc089('0x1a')]();});}};}function handleEntityNotFound(_0x3cb4c0,_0x54e6a4){return function(_0x4d60ad){if(!_0x4d60ad){_0x3cb4c0[_0xc089('0x18')](0x194);}return _0x4d60ad;};}function handleError(_0x5da985,_0x507e9f){_0x507e9f=_0x507e9f||0x1f4;return function(_0xab9fc2){logger['error'](_0xab9fc2[_0xc089('0x24')]);if(_0xab9fc2[_0xc089('0x25')]){delete _0xab9fc2[_0xc089('0x25')];}_0x5da985['status'](_0x507e9f)[_0xc089('0x26')](_0xab9fc2);};}exports['index']=function(_0x598592,_0x5047c9){var _0x33b34a={},_0xc3671b={},_0xbd7fd4={'count':0x0,'rows':[]};var _0x250847=_[_0xc089('0x27')](db[_0xc089('0x28')][_0xc089('0x29')],function(_0x30e4a0){return{'name':_0x30e4a0[_0xc089('0x2a')],'type':_0x30e4a0[_0xc089('0x2b')][_0xc089('0x2c')]};});_0xc3671b[_0xc089('0x2d')]=_[_0xc089('0x27')](_0x250847,'name');_0xc3671b['query']=_['keys'](_0x598592[_0xc089('0x2e')]);_0xc3671b[_0xc089('0x2f')]=_[_0xc089('0x30')](_0xc3671b['model'],_0xc3671b[_0xc089('0x2e')]);_0x33b34a[_0xc089('0x31')]=_[_0xc089('0x30')](_0xc3671b[_0xc089('0x2d')],qs[_0xc089('0x32')](_0x598592['query'][_0xc089('0x32')]));_0x33b34a['attributes']=_0x33b34a[_0xc089('0x31')][_0xc089('0x33')]?_0x33b34a['attributes']:_0xc3671b[_0xc089('0x2d')];if(!_0x598592[_0xc089('0x2e')][_0xc089('0x34')](_0xc089('0x35'))){_0x33b34a[_0xc089('0x1e')]=qs[_0xc089('0x1e')](_0x598592[_0xc089('0x2e')][_0xc089('0x1e')]);_0x33b34a['offset']=qs['offset'](_0x598592[_0xc089('0x2e')][_0xc089('0x1d')]);}_0x33b34a[_0xc089('0x36')]=qs[_0xc089('0x37')](_0x598592[_0xc089('0x2e')][_0xc089('0x37')]);_0x33b34a['where']=qs[_0xc089('0x2f')](_['pick'](_0x598592[_0xc089('0x2e')],_0xc3671b[_0xc089('0x2f')]),_0x250847);if(_0x598592[_0xc089('0x2e')][_0xc089('0x38')]){_0x33b34a[_0xc089('0x39')]=_[_0xc089('0x3a')](_0x33b34a[_0xc089('0x39')],{'$or':_[_0xc089('0x27')](_0x250847,function(_0x1d2e1b){if(_0x1d2e1b[_0xc089('0x2b')]!==_0xc089('0x3b')){var _0x17cf2b={};_0x17cf2b[_0x1d2e1b[_0xc089('0x25')]]={'$like':'%'+_0x598592[_0xc089('0x2e')][_0xc089('0x38')]+'%'};return _0x17cf2b;}})});}_0x33b34a=_[_0xc089('0x3a')]({},_0x33b34a,_0x598592[_0xc089('0x3c')]);var _0x42ad3f={'where':_0x33b34a[_0xc089('0x39')]};return db['MailTransferReport']['count'](_0x42ad3f)[_0xc089('0x23')](function(_0x2955c2){_0xbd7fd4[_0xc089('0x1c')]=_0x2955c2;if(_0x598592[_0xc089('0x2e')]['includeAll']){_0x33b34a[_0xc089('0x3d')]=[{'all':!![]}];}return db[_0xc089('0x28')]['findAll'](_0x33b34a);})[_0xc089('0x23')](function(_0x2f2fb6){_0xbd7fd4['rows']=_0x2f2fb6;return _0xbd7fd4;})[_0xc089('0x23')](respondWithFilteredResult(_0x5047c9,_0x33b34a))[_0xc089('0x3e')](handleError(_0x5047c9,null));};exports['show']=function(_0x57d601,_0x1a3313){var _0x3a123f={'raw':!![],'where':{'id':_0x57d601[_0xc089('0x3f')]['id']}},_0x290787={};_0x290787['model']=_[_0xc089('0x40')](db[_0xc089('0x28')]['rawAttributes']);_0x290787['query']=_[_0xc089('0x40')](_0x57d601[_0xc089('0x2e')]);_0x290787[_0xc089('0x2f')]=_['intersection'](_0x290787[_0xc089('0x2d')],_0x290787['query']);_0x3a123f[_0xc089('0x31')]=_['intersection'](_0x290787[_0xc089('0x2d')],qs['fields'](_0x57d601[_0xc089('0x2e')][_0xc089('0x32')]));_0x3a123f[_0xc089('0x31')]=_0x3a123f['attributes'][_0xc089('0x33')]?_0x3a123f[_0xc089('0x31')]:_0x290787[_0xc089('0x2d')];if(_0x57d601[_0xc089('0x2e')]['includeAll']){_0x3a123f['include']=[{'all':!![]}];}_0x3a123f=_['merge']({},_0x3a123f,_0x57d601[_0xc089('0x3c')]);return db[_0xc089('0x28')][_0xc089('0x41')](_0x3a123f)['then'](handleEntityNotFound(_0x1a3313,null))['then'](respondWithResult(_0x1a3313,null))['catch'](handleError(_0x1a3313,null));};exports['create']=function(_0x21af44,_0x28cce7){return db['MailTransferReport'][_0xc089('0x42')](_0x21af44[_0xc089('0x43')],{})[_0xc089('0x23')](respondWithResult(_0x28cce7,0xc9))[_0xc089('0x3e')](handleError(_0x28cce7,null));};exports[_0xc089('0x22')]=function(_0x362ad3,_0x422f1a){if(_0x362ad3[_0xc089('0x43')]['id']){delete _0x362ad3[_0xc089('0x43')]['id'];}return db[_0xc089('0x28')][_0xc089('0x41')]({'where':{'id':_0x362ad3[_0xc089('0x3f')]['id']}})[_0xc089('0x23')](handleEntityNotFound(_0x422f1a,null))[_0xc089('0x23')](saveUpdates(_0x362ad3[_0xc089('0x43')],null))[_0xc089('0x23')](respondWithResult(_0x422f1a,null))[_0xc089('0x3e')](handleError(_0x422f1a,null));};exports[_0xc089('0x44')]=function(_0x489bab,_0x1442df){return db[_0xc089('0x28')][_0xc089('0x41')]({'where':{'id':_0x489bab[_0xc089('0x3f')]['id']}})['then'](handleEntityNotFound(_0x1442df,null))[_0xc089('0x23')](removeEntity(_0x1442df,null))[_0xc089('0x3e')](handleError(_0x1442df,null));};exports['describe']=function(_0x100c30,_0x1c240c){return db[_0xc089('0x28')]['describe']()['then'](respondWithResult(_0x1c240c,null))[_0xc089('0x3e')](handleError(_0x1c240c,null));}; \ No newline at end of file +var _0x4a96=['map','MailTransferReport','rawAttributes','fieldName','type','key','model','query','keys','filters','intersection','fields','attributes','length','hasOwnProperty','nolimit','sort','where','filter','merge','options','includeAll','include','findAll','rows','catch','show','params','create','body','update','find','describe','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','mustache','path','to-csv','ejs','lodash','crypto','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/utils','../../config/environment','../../mysqldb','sendStatus','status','end','count','offset','limit','Content-Range','json','apply','reject','save','then','destroy','error','name','send','index'];(function(_0x2b5b44,_0x17189c){var _0x32cb66=function(_0x4ce183){while(--_0x4ce183){_0x2b5b44['push'](_0x2b5b44['shift']());}};_0x32cb66(++_0x17189c);}(_0x4a96,0x149));var _0x64a9=function(_0x2c8084,_0x8b240f){_0x2c8084=_0x2c8084-0x0;var _0x225ddc=_0x4a96[_0x2c8084];return _0x225ddc;};'use strict';var pdf=require(_0x64a9('0x0'));var emlformat=require(_0x64a9('0x1'));var rimraf=require(_0x64a9('0x2'));var zipdir=require(_0x64a9('0x3'));var jsonpatch=require(_0x64a9('0x4'));var rp=require(_0x64a9('0x5'));var moment=require(_0x64a9('0x6'));var BPromise=require(_0x64a9('0x7'));var Mustache=require(_0x64a9('0x8'));var util=require('util');var path=require(_0x64a9('0x9'));var sox=require('sox');var csv=require(_0x64a9('0xa'));var ejs=require(_0x64a9('0xb'));var fs=require('fs');var _=require(_0x64a9('0xc'));var squel=require('squel');var crypto=require(_0x64a9('0xd'));var jsforce=require('jsforce');var deskjs=require('desk.js');var toCsv=require(_0x64a9('0xa'));var querystring=require(_0x64a9('0xe'));var Papa=require(_0x64a9('0xf'));var Redis=require(_0x64a9('0x10'));var authService=require(_0x64a9('0x11'));var qs=require(_0x64a9('0x12'));var as=require(_0x64a9('0x13'));var hardwareService=require(_0x64a9('0x14'));var logger=require('../../config/logger')('api');var utils=require(_0x64a9('0x15'));var config=require(_0x64a9('0x16'));var db=require(_0x64a9('0x17'))['db'];function respondWithStatusCode(_0x28b6ca,_0x24edd7){_0x24edd7=_0x24edd7||0xcc;return function(_0x968b8a){if(_0x968b8a){return _0x28b6ca[_0x64a9('0x18')](_0x24edd7);}return _0x28b6ca[_0x64a9('0x19')](_0x24edd7)[_0x64a9('0x1a')]();};}function respondWithResult(_0x5e932f,_0x2d3213){_0x2d3213=_0x2d3213||0xc8;return function(_0x259c31){if(_0x259c31){return _0x5e932f[_0x64a9('0x19')](_0x2d3213)['json'](_0x259c31);}};}function respondWithFilteredResult(_0xa670a2,_0x1b25ec){return function(_0x283408){if(_0x283408){var _0x49cc37=_0x283408[_0x64a9('0x1b')],_0x51f8d0=_0x1b25ec[_0x64a9('0x1c')],_0x1935b6=_0x1b25ec['offset']+_0x1b25ec[_0x64a9('0x1d')],_0x2ac078;if(_0x1935b6>=_0x49cc37){_0x1935b6=_0x49cc37;_0x2ac078=0xc8;}else{_0x2ac078=0xce;}_0xa670a2[_0x64a9('0x19')](_0x2ac078);return _0xa670a2['set'](_0x64a9('0x1e'),_0x51f8d0+'-'+_0x1935b6+'/'+_0x49cc37)[_0x64a9('0x1f')](_0x283408);}return null;};}function patchUpdates(_0x23337e){return function(_0x136045){try{jsonpatch[_0x64a9('0x20')](_0x136045,_0x23337e,!![]);}catch(_0x3b3422){return BPromise[_0x64a9('0x21')](_0x3b3422);}return _0x136045[_0x64a9('0x22')]();};}function saveUpdates(_0x17cded,_0x51f424){return function(_0x35878f){if(_0x35878f){return _0x35878f['update'](_0x17cded)[_0x64a9('0x23')](function(_0x57626f){return _0x57626f;});}return null;};}function removeEntity(_0x208a7b,_0x1e29a7){return function(_0x4ad9cc){if(_0x4ad9cc){return _0x4ad9cc[_0x64a9('0x24')]()[_0x64a9('0x23')](function(){_0x208a7b['status'](0xcc)[_0x64a9('0x1a')]();});}};}function handleEntityNotFound(_0x3006fc,_0x1de52e){return function(_0x1565c2){if(!_0x1565c2){_0x3006fc[_0x64a9('0x18')](0x194);}return _0x1565c2;};}function handleError(_0x403e33,_0x4657bc){_0x4657bc=_0x4657bc||0x1f4;return function(_0x25d80b){logger[_0x64a9('0x25')](_0x25d80b['stack']);if(_0x25d80b[_0x64a9('0x26')]){delete _0x25d80b[_0x64a9('0x26')];}_0x403e33[_0x64a9('0x19')](_0x4657bc)[_0x64a9('0x27')](_0x25d80b);};}exports[_0x64a9('0x28')]=function(_0x169da7,_0x47ec4b){var _0x24eb39={},_0x35a760={},_0x192e44={'count':0x0,'rows':[]};var _0xabafa7=_[_0x64a9('0x29')](db[_0x64a9('0x2a')][_0x64a9('0x2b')],function(_0x503681){return{'name':_0x503681[_0x64a9('0x2c')],'type':_0x503681[_0x64a9('0x2d')][_0x64a9('0x2e')]};});_0x35a760[_0x64a9('0x2f')]=_[_0x64a9('0x29')](_0xabafa7,_0x64a9('0x26'));_0x35a760[_0x64a9('0x30')]=_[_0x64a9('0x31')](_0x169da7[_0x64a9('0x30')]);_0x35a760[_0x64a9('0x32')]=_[_0x64a9('0x33')](_0x35a760[_0x64a9('0x2f')],_0x35a760['query']);_0x24eb39['attributes']=_[_0x64a9('0x33')](_0x35a760[_0x64a9('0x2f')],qs[_0x64a9('0x34')](_0x169da7[_0x64a9('0x30')][_0x64a9('0x34')]));_0x24eb39['attributes']=_0x24eb39[_0x64a9('0x35')][_0x64a9('0x36')]?_0x24eb39[_0x64a9('0x35')]:_0x35a760['model'];if(!_0x169da7['query'][_0x64a9('0x37')](_0x64a9('0x38'))){_0x24eb39[_0x64a9('0x1d')]=qs[_0x64a9('0x1d')](_0x169da7['query'][_0x64a9('0x1d')]);_0x24eb39[_0x64a9('0x1c')]=qs[_0x64a9('0x1c')](_0x169da7[_0x64a9('0x30')]['offset']);}_0x24eb39['order']=qs[_0x64a9('0x39')](_0x169da7[_0x64a9('0x30')][_0x64a9('0x39')]);_0x24eb39[_0x64a9('0x3a')]=qs['filters'](_['pick'](_0x169da7[_0x64a9('0x30')],_0x35a760[_0x64a9('0x32')]),_0xabafa7);if(_0x169da7[_0x64a9('0x30')][_0x64a9('0x3b')]){_0x24eb39[_0x64a9('0x3a')]=_[_0x64a9('0x3c')](_0x24eb39['where'],{'$or':_[_0x64a9('0x29')](_0xabafa7,function(_0xd49e13){if(_0xd49e13[_0x64a9('0x2d')]!=='VIRTUAL'){var _0x1a18f5={};_0x1a18f5[_0xd49e13['name']]={'$like':'%'+_0x169da7['query'][_0x64a9('0x3b')]+'%'};return _0x1a18f5;}})});}_0x24eb39=_[_0x64a9('0x3c')]({},_0x24eb39,_0x169da7[_0x64a9('0x3d')]);var _0x3a4afa={'where':_0x24eb39[_0x64a9('0x3a')]};return db['MailTransferReport'][_0x64a9('0x1b')](_0x3a4afa)[_0x64a9('0x23')](function(_0x2e8dcf){_0x192e44[_0x64a9('0x1b')]=_0x2e8dcf;if(_0x169da7[_0x64a9('0x30')][_0x64a9('0x3e')]){_0x24eb39[_0x64a9('0x3f')]=[{'all':!![]}];}return db[_0x64a9('0x2a')][_0x64a9('0x40')](_0x24eb39);})['then'](function(_0x1125e2){_0x192e44[_0x64a9('0x41')]=_0x1125e2;return _0x192e44;})['then'](respondWithFilteredResult(_0x47ec4b,_0x24eb39))[_0x64a9('0x42')](handleError(_0x47ec4b,null));};exports[_0x64a9('0x43')]=function(_0x293965,_0x41bb58){var _0x58e7c={'raw':!![],'where':{'id':_0x293965[_0x64a9('0x44')]['id']}},_0x42bd37={};_0x42bd37[_0x64a9('0x2f')]=_[_0x64a9('0x31')](db[_0x64a9('0x2a')][_0x64a9('0x2b')]);_0x42bd37[_0x64a9('0x30')]=_['keys'](_0x293965[_0x64a9('0x30')]);_0x42bd37[_0x64a9('0x32')]=_[_0x64a9('0x33')](_0x42bd37[_0x64a9('0x2f')],_0x42bd37['query']);_0x58e7c[_0x64a9('0x35')]=_[_0x64a9('0x33')](_0x42bd37[_0x64a9('0x2f')],qs[_0x64a9('0x34')](_0x293965[_0x64a9('0x30')]['fields']));_0x58e7c[_0x64a9('0x35')]=_0x58e7c[_0x64a9('0x35')]['length']?_0x58e7c[_0x64a9('0x35')]:_0x42bd37[_0x64a9('0x2f')];if(_0x293965[_0x64a9('0x30')][_0x64a9('0x3e')]){_0x58e7c[_0x64a9('0x3f')]=[{'all':!![]}];}_0x58e7c=_[_0x64a9('0x3c')]({},_0x58e7c,_0x293965[_0x64a9('0x3d')]);return db[_0x64a9('0x2a')]['find'](_0x58e7c)[_0x64a9('0x23')](handleEntityNotFound(_0x41bb58,null))[_0x64a9('0x23')](respondWithResult(_0x41bb58,null))['catch'](handleError(_0x41bb58,null));};exports[_0x64a9('0x45')]=function(_0x7eae1b,_0x5d1346){return db[_0x64a9('0x2a')][_0x64a9('0x45')](_0x7eae1b[_0x64a9('0x46')],{})[_0x64a9('0x23')](respondWithResult(_0x5d1346,0xc9))[_0x64a9('0x42')](handleError(_0x5d1346,null));};exports[_0x64a9('0x47')]=function(_0x4c7962,_0x12827c){if(_0x4c7962['body']['id']){delete _0x4c7962[_0x64a9('0x46')]['id'];}return db[_0x64a9('0x2a')][_0x64a9('0x48')]({'where':{'id':_0x4c7962['params']['id']}})[_0x64a9('0x23')](handleEntityNotFound(_0x12827c,null))['then'](saveUpdates(_0x4c7962['body'],null))[_0x64a9('0x23')](respondWithResult(_0x12827c,null))['catch'](handleError(_0x12827c,null));};exports[_0x64a9('0x24')]=function(_0x1a8907,_0x483d6d){return db[_0x64a9('0x2a')][_0x64a9('0x48')]({'where':{'id':_0x1a8907[_0x64a9('0x44')]['id']}})['then'](handleEntityNotFound(_0x483d6d,null))[_0x64a9('0x23')](removeEntity(_0x483d6d,null))[_0x64a9('0x42')](handleError(_0x483d6d,null));};exports['describe']=function(_0x3bb7bf,_0x2f6908){return db[_0x64a9('0x2a')][_0x64a9('0x49')]()[_0x64a9('0x23')](respondWithResult(_0x2f6908,null))[_0x64a9('0x42')](handleError(_0x2f6908,null));}; \ No newline at end of file diff --git a/server/api/mailTransferReport/mailTransferReport.model.js b/server/api/mailTransferReport/mailTransferReport.model.js index 9fb8fef..d28d4d7 100644 --- a/server/api/mailTransferReport/mailTransferReport.model.js +++ b/server/api/mailTransferReport/mailTransferReport.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x91ec=['util','api','request-promise','path','rimraf','../../config/environment','./mailTransferReport.attributes','exports','define','MailTransferReport','report_mail_transfer','uniqueid','lodash'];(function(_0x1ddedd,_0x485606){var _0xa3e1ac=function(_0x580444){while(--_0x580444){_0x1ddedd['push'](_0x1ddedd['shift']());}};_0xa3e1ac(++_0x485606);}(_0x91ec,0xf6));var _0xc91e=function(_0x4ac360,_0x3121a4){_0x4ac360=_0x4ac360-0x0;var _0x15ec2d=_0x91ec[_0x4ac360];return _0x15ec2d;};'use strict';var _=require(_0xc91e('0x0'));var util=require(_0xc91e('0x1'));var logger=require('../../config/logger')(_0xc91e('0x2'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0xc91e('0x3'));var fs=require('fs');var path=require(_0xc91e('0x4'));var rimraf=require(_0xc91e('0x5'));var config=require(_0xc91e('0x6'));var attributes=require(_0xc91e('0x7'));module[_0xc91e('0x8')]=function(_0x59e37c,_0x162023){return _0x59e37c[_0xc91e('0x9')](_0xc91e('0xa'),attributes,{'tableName':_0xc91e('0xb'),'paranoid':![],'indexes':[{'name':_0xc91e('0xc'),'fields':[_0xc91e('0xc')]}],'timestamps':!![]});}; \ No newline at end of file +var _0xb7b6=['uniqueid','lodash','util','moment','bluebird','path','rimraf','exports','define','MailTransferReport'];(function(_0x3fb0cc,_0x14a9c6){var _0x179266=function(_0x22f162){while(--_0x22f162){_0x3fb0cc['push'](_0x3fb0cc['shift']());}};_0x179266(++_0x14a9c6);}(_0xb7b6,0x15f));var _0x6b7b=function(_0xafec51,_0x52f998){_0xafec51=_0xafec51-0x0;var _0x51def9=_0xb7b6[_0xafec51];return _0x51def9;};'use strict';var _=require(_0x6b7b('0x0'));var util=require(_0x6b7b('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0x6b7b('0x2'));var BPromise=require(_0x6b7b('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x6b7b('0x4'));var rimraf=require(_0x6b7b('0x5'));var config=require('../../config/environment');var attributes=require('./mailTransferReport.attributes');module[_0x6b7b('0x6')]=function(_0x43e9ed,_0x3cce80){return _0x43e9ed[_0x6b7b('0x7')](_0x6b7b('0x8'),attributes,{'tableName':'report_mail_transfer','paranoid':![],'indexes':[{'name':'uniqueid','fields':[_0x6b7b('0x9')]}],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/mailTransferReport/mailTransferReport.rpc.js b/server/api/mailTransferReport/mailTransferReport.rpc.js index f0faffe..6e95365 100644 --- a/server/api/mailTransferReport/mailTransferReport.rpc.js +++ b/server/api/mailTransferReport/mailTransferReport.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x3f4a=['http','request','then','info','MailTransferReport,\x20%s,\x20%s','request\x20sent','MailTransferReport,\x20%s,\x20%s,\x20%s','stringify','error','code','message','catch','lodash','bluebird','ioredis','../../mysqldb','../../config/utils','rpc','jayson/promise','client'];(function(_0x5ac19e,_0x5a00ca){var _0x11d445=function(_0x233c3d){while(--_0x233c3d){_0x5ac19e['push'](_0x5ac19e['shift']());}};_0x11d445(++_0x5a00ca);}(_0x3f4a,0x124));var _0xa3f4=function(_0xfcf825,_0x26ef3d){_0xfcf825=_0xfcf825-0x0;var _0x4dbd4b=_0x3f4a[_0xfcf825];return _0x4dbd4b;};'use strict';var _=require(_0xa3f4('0x0'));var util=require('util');var moment=require('moment');var BPromise=require(_0xa3f4('0x1'));var rs=require('randomstring');var fs=require('fs');var Redis=require(_0xa3f4('0x2'));var db=require(_0xa3f4('0x3'))['db'];var utils=require(_0xa3f4('0x4'));var logger=require('../../config/logger')(_0xa3f4('0x5'));var config=require('../../config/environment');var jayson=require(_0xa3f4('0x6'));var client=jayson[_0xa3f4('0x7')][_0xa3f4('0x8')]({'port':0x232a});function respondWithRpcPromise(_0x5a5ace,_0x41e2e3,_0xcd24a0){return new BPromise(function(_0x156368,_0x3b4f8e){return client[_0xa3f4('0x9')](_0x5a5ace,_0xcd24a0)[_0xa3f4('0xa')](function(_0x329f58){logger[_0xa3f4('0xb')](_0xa3f4('0xc'),_0x41e2e3,_0xa3f4('0xd'));logger['debug'](_0xa3f4('0xe'),_0x41e2e3,_0xa3f4('0xd'),JSON[_0xa3f4('0xf')](_0x329f58));if(_0x329f58[_0xa3f4('0x10')]){if(_0x329f58[_0xa3f4('0x10')][_0xa3f4('0x11')]===0x1f4){logger['error'](_0xa3f4('0xc'),_0x41e2e3,_0x329f58['error'][_0xa3f4('0x12')]);return _0x3b4f8e(_0x329f58[_0xa3f4('0x10')][_0xa3f4('0x12')]);}logger[_0xa3f4('0x10')](_0xa3f4('0xc'),_0x41e2e3,_0x329f58['error'][_0xa3f4('0x12')]);return _0x156368(_0x329f58['error'][_0xa3f4('0x12')]);}else{logger[_0xa3f4('0xb')](_0xa3f4('0xc'),_0x41e2e3,_0xa3f4('0xd'));_0x156368(_0x329f58['result']['message']);}})[_0xa3f4('0x13')](function(_0x1d16cc){logger['error'](_0xa3f4('0xc'),_0x41e2e3,_0x1d16cc);_0x3b4f8e(_0x1d16cc);});});} \ No newline at end of file +var _0x390a=['client','http','request','then','MailTransferReport,\x20%s,\x20%s','request\x20sent','debug','MailTransferReport,\x20%s,\x20%s,\x20%s','stringify','error','code','message','result','catch','util','moment','randomstring','ioredis','../../mysqldb','rpc','../../config/environment','jayson/promise'];(function(_0x369b25,_0x43a997){var _0x30d204=function(_0x297840){while(--_0x297840){_0x369b25['push'](_0x369b25['shift']());}};_0x30d204(++_0x43a997);}(_0x390a,0x7c));var _0xa390=function(_0x4e2870,_0x26ea13){_0x4e2870=_0x4e2870-0x0;var _0xf3af33=_0x390a[_0x4e2870];return _0xf3af33;};'use strict';var _=require('lodash');var util=require(_0xa390('0x0'));var moment=require(_0xa390('0x1'));var BPromise=require('bluebird');var rs=require(_0xa390('0x2'));var fs=require('fs');var Redis=require(_0xa390('0x3'));var db=require(_0xa390('0x4'))['db'];var utils=require('../../config/utils');var logger=require('../../config/logger')(_0xa390('0x5'));var config=require(_0xa390('0x6'));var jayson=require(_0xa390('0x7'));var client=jayson[_0xa390('0x8')][_0xa390('0x9')]({'port':0x232a});function respondWithRpcPromise(_0x3f1382,_0x6f3562,_0x50b1ac){return new BPromise(function(_0x132360,_0x433063){return client[_0xa390('0xa')](_0x3f1382,_0x50b1ac)[_0xa390('0xb')](function(_0x22a223){logger['info'](_0xa390('0xc'),_0x6f3562,_0xa390('0xd'));logger[_0xa390('0xe')](_0xa390('0xf'),_0x6f3562,'request\x20sent',JSON[_0xa390('0x10')](_0x22a223));if(_0x22a223['error']){if(_0x22a223[_0xa390('0x11')][_0xa390('0x12')]===0x1f4){logger[_0xa390('0x11')](_0xa390('0xc'),_0x6f3562,_0x22a223[_0xa390('0x11')][_0xa390('0x13')]);return _0x433063(_0x22a223[_0xa390('0x11')][_0xa390('0x13')]);}logger[_0xa390('0x11')]('MailTransferReport,\x20%s,\x20%s',_0x6f3562,_0x22a223[_0xa390('0x11')][_0xa390('0x13')]);return _0x132360(_0x22a223['error'][_0xa390('0x13')]);}else{logger['info'](_0xa390('0xc'),_0x6f3562,_0xa390('0xd'));_0x132360(_0x22a223[_0xa390('0x14')][_0xa390('0x13')]);}})[_0xa390('0x15')](function(_0x4a8481){logger[_0xa390('0x11')](_0xa390('0xc'),_0x6f3562,_0x4a8481);_0x433063(_0x4a8481);});});} \ No newline at end of file diff --git a/server/api/memberReport/index.js b/server/api/memberReport/index.js index 757c50c..c463898 100644 --- a/server/api/memberReport/index.js +++ b/server/api/memberReport/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xd76b=['/:id','post','create','put','update','destroy','exports','multer','path','connect-timeout','express','Router','../../components/auth/service','../../config/environment','get','isAuthenticated','index','/describe'];(function(_0x2b66ec,_0x19de1c){var _0xb40d72=function(_0x1037e0){while(--_0x1037e0){_0x2b66ec['push'](_0x2b66ec['shift']());}};_0xb40d72(++_0x19de1c);}(_0xd76b,0x73));var _0xbd76=function(_0x209941,_0x5c9988){_0x209941=_0x209941-0x0;var _0x1e8729=_0xd76b[_0x209941];return _0x1e8729;};'use strict';var multer=require(_0xbd76('0x0'));var util=require('util');var path=require(_0xbd76('0x1'));var timeout=require(_0xbd76('0x2'));var express=require(_0xbd76('0x3'));var router=express[_0xbd76('0x4')]();var auth=require(_0xbd76('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0xbd76('0x6'));var controller=require('./memberReport.controller');router[_0xbd76('0x7')]('/',auth[_0xbd76('0x8')](),controller[_0xbd76('0x9')]);router[_0xbd76('0x7')](_0xbd76('0xa'),auth[_0xbd76('0x8')](),controller['describe']);router[_0xbd76('0x7')](_0xbd76('0xb'),auth[_0xbd76('0x8')](),controller['show']);router[_0xbd76('0xc')]('/',auth['isAuthenticated'](),controller[_0xbd76('0xd')]);router[_0xbd76('0xe')](_0xbd76('0xb'),auth['isAuthenticated'](),controller[_0xbd76('0xf')]);router['delete'](_0xbd76('0xb'),auth[_0xbd76('0x8')](),controller[_0xbd76('0x10')]);module[_0xbd76('0x11')]=router; \ No newline at end of file +var _0xaafd=['exports','multer','util','path','Router','../../components/auth/service','../../components/interaction/service','./memberReport.controller','isAuthenticated','get','/describe','describe','/:id','show','post','create','update','delete','destroy'];(function(_0x4cea3a,_0x3c2b30){var _0x428772=function(_0x2c0c19){while(--_0x2c0c19){_0x4cea3a['push'](_0x4cea3a['shift']());}};_0x428772(++_0x3c2b30);}(_0xaafd,0x144));var _0xdaaf=function(_0x53f74c,_0xd71010){_0x53f74c=_0x53f74c-0x0;var _0x467bc0=_0xaafd[_0x53f74c];return _0x467bc0;};'use strict';var multer=require(_0xdaaf('0x0'));var util=require(_0xdaaf('0x1'));var path=require(_0xdaaf('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0xdaaf('0x3')]();var auth=require(_0xdaaf('0x4'));var interaction=require(_0xdaaf('0x5'));var config=require('../../config/environment');var controller=require(_0xdaaf('0x6'));router['get']('/',auth[_0xdaaf('0x7')](),controller['index']);router[_0xdaaf('0x8')](_0xdaaf('0x9'),auth[_0xdaaf('0x7')](),controller[_0xdaaf('0xa')]);router[_0xdaaf('0x8')](_0xdaaf('0xb'),auth[_0xdaaf('0x7')](),controller[_0xdaaf('0xc')]);router[_0xdaaf('0xd')]('/',auth['isAuthenticated'](),controller[_0xdaaf('0xe')]);router['put'](_0xdaaf('0xb'),auth[_0xdaaf('0x7')](),controller[_0xdaaf('0xf')]);router[_0xdaaf('0x10')](_0xdaaf('0xb'),auth[_0xdaaf('0x7')](),controller[_0xdaaf('0x11')]);module[_0xdaaf('0x12')]=router; \ No newline at end of file diff --git a/server/api/memberReport/memberReport.attributes.js b/server/api/memberReport/memberReport.attributes.js index 38f6abe..3daa79d 100644 --- a/server/api/memberReport/memberReport.attributes.js +++ b/server/api/memberReport/memberReport.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x12d4=['talk:[start]','talk:[dial\x20string]','talk:[queue]','sequelize','exports','STRING','DEFAULT\x20PAUSE','LOGIN,\x20PAUSE,\x20TALKING','INTEGER','DATE','enterAt','diff','setDataValue','exitAt','talk:[inbound,\x20outbound],\x20pause:[reason]'];(function(_0x3c119a,_0x161456){var _0x121833=function(_0x2f20a4){while(--_0x2f20a4){_0x3c119a['push'](_0x3c119a['shift']());}};_0x121833(++_0x161456);}(_0x12d4,0x1b6));var _0x412d=function(_0xdbb6cb,_0x3b8fda){_0xdbb6cb=_0xdbb6cb-0x0;var _0x476b50=_0x12d4[_0xdbb6cb];return _0x476b50;};'use strict';var Sequelize=require(_0x412d('0x0'));var moment=require('moment');module[_0x412d('0x1')]={'channel':{'type':Sequelize[_0x412d('0x2')]},'membername':{'type':Sequelize[_0x412d('0x2')]},'interface':{'type':Sequelize[_0x412d('0x2')]},'type':{'type':Sequelize[_0x412d('0x2')],'defaultValue':_0x412d('0x3'),'comment':_0x412d('0x4')},'duration':{'type':Sequelize[_0x412d('0x5')]},'enterAt':{'type':Sequelize[_0x412d('0x6')]},'exitAt':{'type':Sequelize[_0x412d('0x6')],'set':function(_0x525812){var _0x4585e1=moment(_0x525812);var _0x5927bf=moment(this['getDataValue'](_0x412d('0x7')));var _0x2399be=_0x4585e1[_0x412d('0x8')](_0x5927bf,'seconds');this[_0x412d('0x9')](_0x412d('0xa'),_0x525812);this[_0x412d('0x9')]('duration',_0x2399be||null);}},'data1':{'type':Sequelize[_0x412d('0x2')],'comment':_0x412d('0xb')},'data2':{'type':Sequelize[_0x412d('0x2')],'comment':_0x412d('0xc')},'data3':{'type':Sequelize[_0x412d('0x2')],'comment':'talk:[destination]'},'data4':{'type':Sequelize[_0x412d('0x2')],'comment':_0x412d('0xd')},'data5':{'type':Sequelize[_0x412d('0x2')],'comment':_0x412d('0xe')},'role':{'type':Sequelize[_0x412d('0x2')]},'internal':{'type':Sequelize[_0x412d('0x5')]},'uniqueid':{'type':Sequelize['STRING']}}; \ No newline at end of file +var _0xc984=['INTEGER','DATE','getDataValue','enterAt','seconds','setDataValue','duration','talk:[inbound,\x20outbound],\x20pause:[reason]','talk:[dial\x20string]','moment','exports','STRING','LOGIN,\x20PAUSE,\x20TALKING'];(function(_0x1f3890,_0x2f9aad){var _0x4af351=function(_0xd4cdfa){while(--_0xd4cdfa){_0x1f3890['push'](_0x1f3890['shift']());}};_0x4af351(++_0x2f9aad);}(_0xc984,0xd9));var _0x4c98=function(_0x344f51,_0x5a5a11){_0x344f51=_0x344f51-0x0;var _0xe7868e=_0xc984[_0x344f51];return _0xe7868e;};'use strict';var Sequelize=require('sequelize');var moment=require(_0x4c98('0x0'));module[_0x4c98('0x1')]={'channel':{'type':Sequelize['STRING']},'membername':{'type':Sequelize[_0x4c98('0x2')]},'interface':{'type':Sequelize[_0x4c98('0x2')]},'type':{'type':Sequelize[_0x4c98('0x2')],'defaultValue':'DEFAULT\x20PAUSE','comment':_0x4c98('0x3')},'duration':{'type':Sequelize[_0x4c98('0x4')]},'enterAt':{'type':Sequelize[_0x4c98('0x5')]},'exitAt':{'type':Sequelize[_0x4c98('0x5')],'set':function(_0x5af641){var _0x291242=moment(_0x5af641);var _0x9aafbf=moment(this[_0x4c98('0x6')](_0x4c98('0x7')));var _0x4f7790=_0x291242['diff'](_0x9aafbf,_0x4c98('0x8'));this['setDataValue']('exitAt',_0x5af641);this[_0x4c98('0x9')](_0x4c98('0xa'),_0x4f7790||null);}},'data1':{'type':Sequelize[_0x4c98('0x2')],'comment':_0x4c98('0xb')},'data2':{'type':Sequelize[_0x4c98('0x2')],'comment':'talk:[start]'},'data3':{'type':Sequelize[_0x4c98('0x2')],'comment':'talk:[destination]'},'data4':{'type':Sequelize[_0x4c98('0x2')],'comment':_0x4c98('0xc')},'data5':{'type':Sequelize[_0x4c98('0x2')],'comment':'talk:[queue]'},'role':{'type':Sequelize[_0x4c98('0x2')]},'internal':{'type':Sequelize[_0x4c98('0x4')]},'uniqueid':{'type':Sequelize[_0x4c98('0x2')]}}; \ No newline at end of file diff --git a/server/api/memberReport/memberReport.controller.js b/server/api/memberReport/memberReport.controller.js index d2acc08..6b45163 100644 --- a/server/api/memberReport/memberReport.controller.js +++ b/server/api/memberReport/memberReport.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x18e3=['../../config/license/hardware','../../config/logger','api','../../config/environment','status','end','json','count','offset','limit','set','Content-Range','apply','reject','save','update','then','destroy','error','name','send','index','map','rawAttributes','fieldName','type','key','query','keys','intersection','fields','attributes','length','model','hasOwnProperty','nolimit','sort','where','filters','pick','merge','VIRTUAL','options','MemberReport','include','findAll','rows','catch','params','find','create','body','describe','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','util','path','to-csv','ejs','squel','crypto','jsforce','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch'];(function(_0x404de6,_0x93a4c6){var _0x540b6a=function(_0x11717b){while(--_0x11717b){_0x404de6['push'](_0x404de6['shift']());}};_0x540b6a(++_0x93a4c6);}(_0x18e3,0x15d));var _0x318e=function(_0x254b22,_0x27159f){_0x254b22=_0x254b22-0x0;var _0x1279db=_0x18e3[_0x254b22];return _0x1279db;};'use strict';var pdf=require(_0x318e('0x0'));var emlformat=require(_0x318e('0x1'));var rimraf=require(_0x318e('0x2'));var zipdir=require(_0x318e('0x3'));var jsonpatch=require(_0x318e('0x4'));var rp=require(_0x318e('0x5'));var moment=require(_0x318e('0x6'));var BPromise=require(_0x318e('0x7'));var Mustache=require('mustache');var util=require(_0x318e('0x8'));var path=require(_0x318e('0x9'));var sox=require('sox');var csv=require(_0x318e('0xa'));var ejs=require(_0x318e('0xb'));var fs=require('fs');var _=require('lodash');var squel=require(_0x318e('0xc'));var crypto=require(_0x318e('0xd'));var jsforce=require(_0x318e('0xe'));var deskjs=require('desk.js');var toCsv=require('to-csv');var querystring=require(_0x318e('0xf'));var Papa=require(_0x318e('0x10'));var Redis=require(_0x318e('0x11'));var authService=require(_0x318e('0x12'));var qs=require(_0x318e('0x13'));var as=require(_0x318e('0x14'));var hardwareService=require(_0x318e('0x15'));var logger=require(_0x318e('0x16'))(_0x318e('0x17'));var utils=require('../../config/utils');var config=require(_0x318e('0x18'));var db=require('../../mysqldb')['db'];function respondWithStatusCode(_0x5b6c20,_0x1830ed){_0x1830ed=_0x1830ed||0xcc;return function(_0x19728d){if(_0x19728d){return _0x5b6c20['sendStatus'](_0x1830ed);}return _0x5b6c20[_0x318e('0x19')](_0x1830ed)[_0x318e('0x1a')]();};}function respondWithResult(_0x4eb5dd,_0x54d49d){_0x54d49d=_0x54d49d||0xc8;return function(_0x45e436){if(_0x45e436){return _0x4eb5dd['status'](_0x54d49d)[_0x318e('0x1b')](_0x45e436);}};}function respondWithFilteredResult(_0x548922,_0x5171ab){return function(_0x3c8370){if(_0x3c8370){var _0xd183f5=_0x3c8370[_0x318e('0x1c')],_0x1f1eed=_0x5171ab[_0x318e('0x1d')],_0x2c95f3=_0x5171ab['offset']+_0x5171ab[_0x318e('0x1e')],_0x85d4a9;if(_0x2c95f3>=_0xd183f5){_0x2c95f3=_0xd183f5;_0x85d4a9=0xc8;}else{_0x85d4a9=0xce;}_0x548922[_0x318e('0x19')](_0x85d4a9);return _0x548922[_0x318e('0x1f')](_0x318e('0x20'),_0x1f1eed+'-'+_0x2c95f3+'/'+_0xd183f5)['json'](_0x3c8370);}return null;};}function patchUpdates(_0x147126){return function(_0x5105dd){try{jsonpatch[_0x318e('0x21')](_0x5105dd,_0x147126,!![]);}catch(_0x391db2){return BPromise[_0x318e('0x22')](_0x391db2);}return _0x5105dd[_0x318e('0x23')]();};}function saveUpdates(_0x40dfdf,_0x380532){return function(_0x371492){if(_0x371492){return _0x371492[_0x318e('0x24')](_0x40dfdf)[_0x318e('0x25')](function(_0x321208){return _0x321208;});}return null;};}function removeEntity(_0x4538db,_0x995f9e){return function(_0x201be7){if(_0x201be7){return _0x201be7[_0x318e('0x26')]()[_0x318e('0x25')](function(){_0x4538db[_0x318e('0x19')](0xcc)['end']();});}};}function handleEntityNotFound(_0x5d4433,_0x2bc0d9){return function(_0x49ca38){if(!_0x49ca38){_0x5d4433['sendStatus'](0x194);}return _0x49ca38;};}function handleError(_0x170760,_0x2979ac){_0x2979ac=_0x2979ac||0x1f4;return function(_0x44d7ce){logger[_0x318e('0x27')](_0x44d7ce['stack']);if(_0x44d7ce[_0x318e('0x28')]){delete _0x44d7ce[_0x318e('0x28')];}_0x170760['status'](_0x2979ac)[_0x318e('0x29')](_0x44d7ce);};}exports[_0x318e('0x2a')]=function(_0x44a15c,_0x85fbfa){var _0x5cc158={},_0x55b18a={},_0xfef431={'count':0x0,'rows':[]};var _0x1808c6=_[_0x318e('0x2b')](db['MemberReport'][_0x318e('0x2c')],function(_0xe5f479){return{'name':_0xe5f479[_0x318e('0x2d')],'type':_0xe5f479[_0x318e('0x2e')][_0x318e('0x2f')]};});_0x55b18a['model']=_[_0x318e('0x2b')](_0x1808c6,_0x318e('0x28'));_0x55b18a[_0x318e('0x30')]=_[_0x318e('0x31')](_0x44a15c[_0x318e('0x30')]);_0x55b18a['filters']=_[_0x318e('0x32')](_0x55b18a['model'],_0x55b18a[_0x318e('0x30')]);_0x5cc158['attributes']=_['intersection'](_0x55b18a['model'],qs[_0x318e('0x33')](_0x44a15c[_0x318e('0x30')]['fields']));_0x5cc158[_0x318e('0x34')]=_0x5cc158[_0x318e('0x34')][_0x318e('0x35')]?_0x5cc158[_0x318e('0x34')]:_0x55b18a[_0x318e('0x36')];if(!_0x44a15c[_0x318e('0x30')][_0x318e('0x37')](_0x318e('0x38'))){_0x5cc158[_0x318e('0x1e')]=qs[_0x318e('0x1e')](_0x44a15c['query'][_0x318e('0x1e')]);_0x5cc158[_0x318e('0x1d')]=qs[_0x318e('0x1d')](_0x44a15c[_0x318e('0x30')][_0x318e('0x1d')]);}_0x5cc158['order']=qs[_0x318e('0x39')](_0x44a15c[_0x318e('0x30')][_0x318e('0x39')]);_0x5cc158[_0x318e('0x3a')]=qs[_0x318e('0x3b')](_[_0x318e('0x3c')](_0x44a15c['query'],_0x55b18a[_0x318e('0x3b')]),_0x1808c6);if(_0x44a15c[_0x318e('0x30')]['filter']){_0x5cc158[_0x318e('0x3a')]=_[_0x318e('0x3d')](_0x5cc158[_0x318e('0x3a')],{'$or':_[_0x318e('0x2b')](_0x1808c6,function(_0x477353){if(_0x477353['type']!==_0x318e('0x3e')){var _0x4f9994={};_0x4f9994[_0x477353[_0x318e('0x28')]]={'$like':'%'+_0x44a15c[_0x318e('0x30')]['filter']+'%'};return _0x4f9994;}})});}_0x5cc158=_[_0x318e('0x3d')]({},_0x5cc158,_0x44a15c[_0x318e('0x3f')]);var _0x36f0b9={'where':_0x5cc158[_0x318e('0x3a')]};return db[_0x318e('0x40')][_0x318e('0x1c')](_0x36f0b9)[_0x318e('0x25')](function(_0x11627a){_0xfef431[_0x318e('0x1c')]=_0x11627a;if(_0x44a15c[_0x318e('0x30')]['includeAll']){_0x5cc158[_0x318e('0x41')]=[{'all':!![]}];}return db[_0x318e('0x40')][_0x318e('0x42')](_0x5cc158);})[_0x318e('0x25')](function(_0x5d30df){_0xfef431[_0x318e('0x43')]=_0x5d30df;return _0xfef431;})[_0x318e('0x25')](respondWithFilteredResult(_0x85fbfa,_0x5cc158))[_0x318e('0x44')](handleError(_0x85fbfa,null));};exports['show']=function(_0x211261,_0x28ffe5){var _0x5ed3db={'raw':!![],'where':{'id':_0x211261[_0x318e('0x45')]['id']}},_0x359f19={};_0x359f19[_0x318e('0x36')]=_['keys'](db[_0x318e('0x40')][_0x318e('0x2c')]);_0x359f19[_0x318e('0x30')]=_[_0x318e('0x31')](_0x211261[_0x318e('0x30')]);_0x359f19[_0x318e('0x3b')]=_['intersection'](_0x359f19['model'],_0x359f19[_0x318e('0x30')]);_0x5ed3db['attributes']=_[_0x318e('0x32')](_0x359f19['model'],qs[_0x318e('0x33')](_0x211261[_0x318e('0x30')][_0x318e('0x33')]));_0x5ed3db['attributes']=_0x5ed3db[_0x318e('0x34')]['length']?_0x5ed3db[_0x318e('0x34')]:_0x359f19['model'];if(_0x211261['query']['includeAll']){_0x5ed3db[_0x318e('0x41')]=[{'all':!![]}];}_0x5ed3db=_[_0x318e('0x3d')]({},_0x5ed3db,_0x211261[_0x318e('0x3f')]);return db[_0x318e('0x40')][_0x318e('0x46')](_0x5ed3db)[_0x318e('0x25')](handleEntityNotFound(_0x28ffe5,null))[_0x318e('0x25')](respondWithResult(_0x28ffe5,null))[_0x318e('0x44')](handleError(_0x28ffe5,null));};exports[_0x318e('0x47')]=function(_0x5edb0f,_0x11f364){return db[_0x318e('0x40')][_0x318e('0x47')](_0x5edb0f[_0x318e('0x48')],{})[_0x318e('0x25')](respondWithResult(_0x11f364,0xc9))[_0x318e('0x44')](handleError(_0x11f364,null));};exports[_0x318e('0x24')]=function(_0x123e87,_0x490655){if(_0x123e87[_0x318e('0x48')]['id']){delete _0x123e87[_0x318e('0x48')]['id'];}return db[_0x318e('0x40')][_0x318e('0x46')]({'where':{'id':_0x123e87[_0x318e('0x45')]['id']}})[_0x318e('0x25')](handleEntityNotFound(_0x490655,null))[_0x318e('0x25')](saveUpdates(_0x123e87['body'],null))[_0x318e('0x25')](respondWithResult(_0x490655,null))['catch'](handleError(_0x490655,null));};exports['destroy']=function(_0x94c69e,_0x133b27){return db['MemberReport'][_0x318e('0x46')]({'where':{'id':_0x94c69e['params']['id']}})[_0x318e('0x25')](handleEntityNotFound(_0x133b27,null))['then'](removeEntity(_0x133b27,null))[_0x318e('0x44')](handleError(_0x133b27,null));};exports[_0x318e('0x49')]=function(_0x38a044,_0x5cd5b0){return db['MemberReport']['describe']()[_0x318e('0x25')](respondWithResult(_0x5cd5b0,null))[_0x318e('0x44')](handleError(_0x5cd5b0,null));}; \ No newline at end of file +var _0xfb4c=['update','then','destroy','error','stack','index','map','MemberReport','rawAttributes','fieldName','type','key','model','name','filters','intersection','attributes','fields','length','query','hasOwnProperty','nolimit','order','sort','where','merge','options','count','includeAll','include','findAll','rows','catch','show','params','keys','create','body','find','describe','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','moment','bluebird','util','sox','to-csv','ejs','squel','crypto','desk.js','querystring','../../components/auth/service','../../components/parsers/qs','../../config/logger','api','../../config/utils','sendStatus','status','end','json','offset','limit','set','Content-Range','apply','reject','save'];(function(_0x356310,_0x40c833){var _0x23bb74=function(_0x4289d8){while(--_0x4289d8){_0x356310['push'](_0x356310['shift']());}};_0x23bb74(++_0x40c833);}(_0xfb4c,0x18b));var _0xcfb4=function(_0x586461,_0x4fd2f6){_0x586461=_0x586461-0x0;var _0x5b0353=_0xfb4c[_0x586461];return _0x5b0353;};'use strict';var pdf=require(_0xcfb4('0x0'));var emlformat=require(_0xcfb4('0x1'));var rimraf=require(_0xcfb4('0x2'));var zipdir=require(_0xcfb4('0x3'));var jsonpatch=require(_0xcfb4('0x4'));var rp=require('request-promise');var moment=require(_0xcfb4('0x5'));var BPromise=require(_0xcfb4('0x6'));var Mustache=require('mustache');var util=require(_0xcfb4('0x7'));var path=require('path');var sox=require(_0xcfb4('0x8'));var csv=require(_0xcfb4('0x9'));var ejs=require(_0xcfb4('0xa'));var fs=require('fs');var _=require('lodash');var squel=require(_0xcfb4('0xb'));var crypto=require(_0xcfb4('0xc'));var jsforce=require('jsforce');var deskjs=require(_0xcfb4('0xd'));var toCsv=require(_0xcfb4('0x9'));var querystring=require(_0xcfb4('0xe'));var Papa=require('papaparse');var Redis=require('ioredis');var authService=require(_0xcfb4('0xf'));var qs=require(_0xcfb4('0x10'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require('../../config/license/hardware');var logger=require(_0xcfb4('0x11'))(_0xcfb4('0x12'));var utils=require(_0xcfb4('0x13'));var config=require('../../config/environment');var db=require('../../mysqldb')['db'];function respondWithStatusCode(_0x553972,_0x3a5635){_0x3a5635=_0x3a5635||0xcc;return function(_0xe28c59){if(_0xe28c59){return _0x553972[_0xcfb4('0x14')](_0x3a5635);}return _0x553972[_0xcfb4('0x15')](_0x3a5635)[_0xcfb4('0x16')]();};}function respondWithResult(_0x252828,_0x432e7e){_0x432e7e=_0x432e7e||0xc8;return function(_0x2e65da){if(_0x2e65da){return _0x252828[_0xcfb4('0x15')](_0x432e7e)[_0xcfb4('0x17')](_0x2e65da);}};}function respondWithFilteredResult(_0x434857,_0x464b19){return function(_0x1dcfeb){if(_0x1dcfeb){var _0x5b43af=_0x1dcfeb['count'],_0x2e420b=_0x464b19['offset'],_0x5c976a=_0x464b19[_0xcfb4('0x18')]+_0x464b19[_0xcfb4('0x19')],_0x1d2c05;if(_0x5c976a>=_0x5b43af){_0x5c976a=_0x5b43af;_0x1d2c05=0xc8;}else{_0x1d2c05=0xce;}_0x434857[_0xcfb4('0x15')](_0x1d2c05);return _0x434857[_0xcfb4('0x1a')](_0xcfb4('0x1b'),_0x2e420b+'-'+_0x5c976a+'/'+_0x5b43af)[_0xcfb4('0x17')](_0x1dcfeb);}return null;};}function patchUpdates(_0x5084c2){return function(_0x5158e7){try{jsonpatch[_0xcfb4('0x1c')](_0x5158e7,_0x5084c2,!![]);}catch(_0x479d56){return BPromise[_0xcfb4('0x1d')](_0x479d56);}return _0x5158e7[_0xcfb4('0x1e')]();};}function saveUpdates(_0x471777,_0x5b4150){return function(_0x47d980){if(_0x47d980){return _0x47d980[_0xcfb4('0x1f')](_0x471777)[_0xcfb4('0x20')](function(_0x1382b2){return _0x1382b2;});}return null;};}function removeEntity(_0x4d6ee1,_0x6ae86b){return function(_0x2ae030){if(_0x2ae030){return _0x2ae030[_0xcfb4('0x21')]()[_0xcfb4('0x20')](function(){_0x4d6ee1['status'](0xcc)[_0xcfb4('0x16')]();});}};}function handleEntityNotFound(_0x5d23f1,_0x5cea1e){return function(_0x10f116){if(!_0x10f116){_0x5d23f1[_0xcfb4('0x14')](0x194);}return _0x10f116;};}function handleError(_0x4c9431,_0x286e2b){_0x286e2b=_0x286e2b||0x1f4;return function(_0x3a2717){logger[_0xcfb4('0x22')](_0x3a2717[_0xcfb4('0x23')]);if(_0x3a2717['name']){delete _0x3a2717['name'];}_0x4c9431['status'](_0x286e2b)['send'](_0x3a2717);};}exports[_0xcfb4('0x24')]=function(_0x5408bb,_0x43f907){var _0x3bd9c1={},_0x106bc4={},_0x2e4610={'count':0x0,'rows':[]};var _0x164de9=_[_0xcfb4('0x25')](db[_0xcfb4('0x26')][_0xcfb4('0x27')],function(_0x2979ba){return{'name':_0x2979ba[_0xcfb4('0x28')],'type':_0x2979ba[_0xcfb4('0x29')][_0xcfb4('0x2a')]};});_0x106bc4[_0xcfb4('0x2b')]=_[_0xcfb4('0x25')](_0x164de9,_0xcfb4('0x2c'));_0x106bc4['query']=_['keys'](_0x5408bb['query']);_0x106bc4[_0xcfb4('0x2d')]=_[_0xcfb4('0x2e')](_0x106bc4[_0xcfb4('0x2b')],_0x106bc4['query']);_0x3bd9c1[_0xcfb4('0x2f')]=_['intersection'](_0x106bc4[_0xcfb4('0x2b')],qs[_0xcfb4('0x30')](_0x5408bb['query']['fields']));_0x3bd9c1[_0xcfb4('0x2f')]=_0x3bd9c1[_0xcfb4('0x2f')][_0xcfb4('0x31')]?_0x3bd9c1[_0xcfb4('0x2f')]:_0x106bc4[_0xcfb4('0x2b')];if(!_0x5408bb[_0xcfb4('0x32')][_0xcfb4('0x33')](_0xcfb4('0x34'))){_0x3bd9c1[_0xcfb4('0x19')]=qs[_0xcfb4('0x19')](_0x5408bb[_0xcfb4('0x32')][_0xcfb4('0x19')]);_0x3bd9c1[_0xcfb4('0x18')]=qs[_0xcfb4('0x18')](_0x5408bb[_0xcfb4('0x32')][_0xcfb4('0x18')]);}_0x3bd9c1[_0xcfb4('0x35')]=qs[_0xcfb4('0x36')](_0x5408bb[_0xcfb4('0x32')][_0xcfb4('0x36')]);_0x3bd9c1[_0xcfb4('0x37')]=qs[_0xcfb4('0x2d')](_['pick'](_0x5408bb['query'],_0x106bc4[_0xcfb4('0x2d')]),_0x164de9);if(_0x5408bb[_0xcfb4('0x32')]['filter']){_0x3bd9c1['where']=_[_0xcfb4('0x38')](_0x3bd9c1[_0xcfb4('0x37')],{'$or':_[_0xcfb4('0x25')](_0x164de9,function(_0x442999){if(_0x442999[_0xcfb4('0x29')]!=='VIRTUAL'){var _0x30225b={};_0x30225b[_0x442999['name']]={'$like':'%'+_0x5408bb[_0xcfb4('0x32')]['filter']+'%'};return _0x30225b;}})});}_0x3bd9c1=_[_0xcfb4('0x38')]({},_0x3bd9c1,_0x5408bb[_0xcfb4('0x39')]);var _0x13f4bc={'where':_0x3bd9c1[_0xcfb4('0x37')]};return db['MemberReport'][_0xcfb4('0x3a')](_0x13f4bc)[_0xcfb4('0x20')](function(_0x10e7b1){_0x2e4610[_0xcfb4('0x3a')]=_0x10e7b1;if(_0x5408bb[_0xcfb4('0x32')][_0xcfb4('0x3b')]){_0x3bd9c1[_0xcfb4('0x3c')]=[{'all':!![]}];}return db['MemberReport'][_0xcfb4('0x3d')](_0x3bd9c1);})[_0xcfb4('0x20')](function(_0x218b8c){_0x2e4610[_0xcfb4('0x3e')]=_0x218b8c;return _0x2e4610;})['then'](respondWithFilteredResult(_0x43f907,_0x3bd9c1))[_0xcfb4('0x3f')](handleError(_0x43f907,null));};exports[_0xcfb4('0x40')]=function(_0x390a0f,_0x5be9e6){var _0x133693={'raw':!![],'where':{'id':_0x390a0f[_0xcfb4('0x41')]['id']}},_0x559543={};_0x559543[_0xcfb4('0x2b')]=_['keys'](db[_0xcfb4('0x26')]['rawAttributes']);_0x559543[_0xcfb4('0x32')]=_[_0xcfb4('0x42')](_0x390a0f['query']);_0x559543['filters']=_[_0xcfb4('0x2e')](_0x559543['model'],_0x559543[_0xcfb4('0x32')]);_0x133693['attributes']=_['intersection'](_0x559543[_0xcfb4('0x2b')],qs[_0xcfb4('0x30')](_0x390a0f['query'][_0xcfb4('0x30')]));_0x133693[_0xcfb4('0x2f')]=_0x133693[_0xcfb4('0x2f')][_0xcfb4('0x31')]?_0x133693[_0xcfb4('0x2f')]:_0x559543['model'];if(_0x390a0f[_0xcfb4('0x32')][_0xcfb4('0x3b')]){_0x133693[_0xcfb4('0x3c')]=[{'all':!![]}];}_0x133693=_[_0xcfb4('0x38')]({},_0x133693,_0x390a0f[_0xcfb4('0x39')]);return db['MemberReport']['find'](_0x133693)['then'](handleEntityNotFound(_0x5be9e6,null))[_0xcfb4('0x20')](respondWithResult(_0x5be9e6,null))[_0xcfb4('0x3f')](handleError(_0x5be9e6,null));};exports[_0xcfb4('0x43')]=function(_0x44c979,_0x1fd4b9){return db['MemberReport']['create'](_0x44c979[_0xcfb4('0x44')],{})[_0xcfb4('0x20')](respondWithResult(_0x1fd4b9,0xc9))[_0xcfb4('0x3f')](handleError(_0x1fd4b9,null));};exports[_0xcfb4('0x1f')]=function(_0x4fa880,_0x2740cd){if(_0x4fa880[_0xcfb4('0x44')]['id']){delete _0x4fa880[_0xcfb4('0x44')]['id'];}return db[_0xcfb4('0x26')]['find']({'where':{'id':_0x4fa880[_0xcfb4('0x41')]['id']}})[_0xcfb4('0x20')](handleEntityNotFound(_0x2740cd,null))[_0xcfb4('0x20')](saveUpdates(_0x4fa880[_0xcfb4('0x44')],null))[_0xcfb4('0x20')](respondWithResult(_0x2740cd,null))[_0xcfb4('0x3f')](handleError(_0x2740cd,null));};exports[_0xcfb4('0x21')]=function(_0x17ab62,_0x529c9c){return db[_0xcfb4('0x26')][_0xcfb4('0x45')]({'where':{'id':_0x17ab62[_0xcfb4('0x41')]['id']}})[_0xcfb4('0x20')](handleEntityNotFound(_0x529c9c,null))['then'](removeEntity(_0x529c9c,null))[_0xcfb4('0x3f')](handleError(_0x529c9c,null));};exports[_0xcfb4('0x46')]=function(_0xecdeff,_0x114b8a){return db['MemberReport'][_0xcfb4('0x46')]()[_0xcfb4('0x20')](respondWithResult(_0x114b8a,null))[_0xcfb4('0x3f')](handleError(_0x114b8a,null));}; \ No newline at end of file diff --git a/server/api/memberReport/memberReport.model.js b/server/api/memberReport/memberReport.model.js index 86fe9ca..8e8e572 100644 --- a/server/api/memberReport/memberReport.model.js +++ b/server/api/memberReport/memberReport.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xa805=['interface','lodash','util','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./memberReport.attributes','exports','define','report_member','membername_interface','membername'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0xa805,0x121));var _0x5a80=function(_0x1981f5,_0x8557fc){_0x1981f5=_0x1981f5-0x0;var _0x3b548d=_0xa805[_0x1981f5];return _0x3b548d;};'use strict';var _=require(_0x5a80('0x0'));var util=require(_0x5a80('0x1'));var logger=require('../../config/logger')(_0x5a80('0x2'));var moment=require(_0x5a80('0x3'));var BPromise=require(_0x5a80('0x4'));var rp=require(_0x5a80('0x5'));var fs=require('fs');var path=require(_0x5a80('0x6'));var rimraf=require(_0x5a80('0x7'));var config=require(_0x5a80('0x8'));var attributes=require(_0x5a80('0x9'));module[_0x5a80('0xa')]=function(_0x5dcfec,_0x1d82b5){return _0x5dcfec[_0x5a80('0xb')]('MemberReport',attributes,{'tableName':_0x5a80('0xc'),'paranoid':![],'indexes':[{'name':_0x5a80('0xd'),'fields':[_0x5a80('0xe'),_0x5a80('0xf')]}],'timestamps':!![]});}; \ No newline at end of file +var _0x2b59=['api','request-promise','path','rimraf','../../config/environment','./memberReport.attributes','define','MemberReport','report_member','membername','interface','lodash','../../config/logger'];(function(_0x4d1669,_0x4c65ee){var _0x3de9e5=function(_0x5aa5b0){while(--_0x5aa5b0){_0x4d1669['push'](_0x4d1669['shift']());}};_0x3de9e5(++_0x4c65ee);}(_0x2b59,0x16a));var _0x92b5=function(_0xfae23b,_0x2be4ba){_0xfae23b=_0xfae23b-0x0;var _0x200640=_0x2b59[_0xfae23b];return _0x200640;};'use strict';var _=require(_0x92b5('0x0'));var util=require('util');var logger=require(_0x92b5('0x1'))(_0x92b5('0x2'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x92b5('0x3'));var fs=require('fs');var path=require(_0x92b5('0x4'));var rimraf=require(_0x92b5('0x5'));var config=require(_0x92b5('0x6'));var attributes=require(_0x92b5('0x7'));module['exports']=function(_0x24bf97,_0x28a38f){return _0x24bf97[_0x92b5('0x8')](_0x92b5('0x9'),attributes,{'tableName':_0x92b5('0xa'),'paranoid':![],'indexes':[{'name':'membername_interface','fields':[_0x92b5('0xb'),_0x92b5('0xc')]}],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/memberReport/memberReport.rpc.js b/server/api/memberReport/memberReport.rpc.js index 4c6871e..0f30854 100644 --- a/server/api/memberReport/memberReport.rpc.js +++ b/server/api/memberReport/memberReport.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x4695=['moment','bluebird','randomstring','../../config/utils','../../config/logger','rpc','../../config/environment','client','http','then','info','MemberReport,\x20%s,\x20%s','request\x20sent','MemberReport,\x20%s,\x20%s,\x20%s','stringify','error','code','message','result','catch','GetMemberReport','findAll','options','where','attributes','limit','include','map','model','debug','create','body','raw','CreateMemberReport','UpdateMemberReport','MemberReport','update','lodash','util'];(function(_0x37bd26,_0x5ad346){var _0xe83dc4=function(_0x1ac229){while(--_0x1ac229){_0x37bd26['push'](_0x37bd26['shift']());}};_0xe83dc4(++_0x5ad346);}(_0x4695,0x73));var _0x5469=function(_0x1ead49,_0x30db99){_0x1ead49=_0x1ead49-0x0;var _0x4f5759=_0x4695[_0x1ead49];return _0x4f5759;};'use strict';var _=require(_0x5469('0x0'));var util=require(_0x5469('0x1'));var moment=require(_0x5469('0x2'));var BPromise=require(_0x5469('0x3'));var rs=require(_0x5469('0x4'));var fs=require('fs');var Redis=require('ioredis');var db=require('../../mysqldb')['db'];var utils=require(_0x5469('0x5'));var logger=require(_0x5469('0x6'))(_0x5469('0x7'));var config=require(_0x5469('0x8'));var jayson=require('jayson/promise');var client=jayson[_0x5469('0x9')][_0x5469('0xa')]({'port':0x232a});function respondWithRpcPromise(_0x1157c5,_0x4f7332,_0x94a7aa){return new BPromise(function(_0x356b2d,_0x152049){return client['request'](_0x1157c5,_0x94a7aa)[_0x5469('0xb')](function(_0x5dcc47){logger[_0x5469('0xc')](_0x5469('0xd'),_0x4f7332,_0x5469('0xe'));logger['debug'](_0x5469('0xf'),_0x4f7332,_0x5469('0xe'),JSON[_0x5469('0x10')](_0x5dcc47));if(_0x5dcc47['error']){if(_0x5dcc47[_0x5469('0x11')][_0x5469('0x12')]===0x1f4){logger[_0x5469('0x11')]('MemberReport,\x20%s,\x20%s',_0x4f7332,_0x5dcc47['error'][_0x5469('0x13')]);return _0x152049(_0x5dcc47['error'][_0x5469('0x13')]);}logger[_0x5469('0x11')](_0x5469('0xd'),_0x4f7332,_0x5dcc47[_0x5469('0x11')][_0x5469('0x13')]);return _0x356b2d(_0x5dcc47[_0x5469('0x11')][_0x5469('0x13')]);}else{logger[_0x5469('0xc')](_0x5469('0xd'),_0x4f7332,_0x5469('0xe'));_0x356b2d(_0x5dcc47[_0x5469('0x14')][_0x5469('0x13')]);}})[_0x5469('0x15')](function(_0xc2871e){logger['error'](_0x5469('0xd'),_0x4f7332,_0xc2871e);_0x152049(_0xc2871e);});});}exports[_0x5469('0x16')]=function(_0xadcd12){var _0x363c37=this;return new Promise(function(_0x467730,_0x4e79d7){return db['MemberReport'][_0x5469('0x17')]({'raw':_0xadcd12[_0x5469('0x18')]?_0xadcd12[_0x5469('0x18')]['raw']===undefined?!![]:![]:!![],'where':_0xadcd12[_0x5469('0x18')]?_0xadcd12['options'][_0x5469('0x19')]||null:null,'attributes':_0xadcd12[_0x5469('0x18')]?_0xadcd12[_0x5469('0x18')][_0x5469('0x1a')]||null:null,'limit':_0xadcd12[_0x5469('0x18')]?_0xadcd12['options'][_0x5469('0x1b')]||null:null,'include':_0xadcd12[_0x5469('0x18')]?_0xadcd12[_0x5469('0x18')][_0x5469('0x1c')]?_[_0x5469('0x1d')](_0xadcd12[_0x5469('0x18')][_0x5469('0x1c')],function(_0x3a5e14){return{'model':db[_0x3a5e14[_0x5469('0x1e')]],'as':_0x3a5e14['as'],'attributes':_0x3a5e14[_0x5469('0x1a')],'include':_0x3a5e14[_0x5469('0x1c')]?_[_0x5469('0x1d')](_0x3a5e14[_0x5469('0x1c')],function(_0x587307){return{'model':db[_0x587307[_0x5469('0x1e')]],'as':_0x587307['as'],'attributes':_0x587307['attributes'],'include':_0x587307[_0x5469('0x1c')]?_['map'](_0x587307[_0x5469('0x1c')],function(_0x171ea0){return{'model':db[_0x171ea0[_0x5469('0x1e')]],'as':_0x171ea0['as'],'attributes':_0x171ea0['attributes']};}):[]};}):[]};}):[]:[]})['then'](function(_0x396523){logger[_0x5469('0xc')](_0x5469('0x16'),_0xadcd12);logger[_0x5469('0x1f')](_0x5469('0x16'),_0xadcd12,JSON[_0x5469('0x10')](_0x396523));_0x467730(_0x396523);})['catch'](function(_0x2ed252){logger['error']('GetMemberReport',_0x2ed252['message'],_0xadcd12);_0x4e79d7(_0x363c37[_0x5469('0x11')](0x1f4,_0x2ed252['message']));});});};exports['CreateMemberReport']=function(_0x13fff4){var _0x3556dc=this;return new Promise(function(_0x4244c4,_0x5caddc){return db['MemberReport'][_0x5469('0x20')](_0x13fff4[_0x5469('0x21')],{'raw':_0x13fff4['options']?_0x13fff4['options'][_0x5469('0x22')]===undefined?!![]:![]:!![]})[_0x5469('0xb')](function(_0x6862f5){logger[_0x5469('0xc')](_0x5469('0x23'),_0x13fff4);logger[_0x5469('0x1f')]('CreateMemberReport',_0x13fff4,JSON['stringify'](_0x6862f5));_0x4244c4(_0x6862f5);})[_0x5469('0x15')](function(_0x210539){logger[_0x5469('0x11')](_0x5469('0x23'),_0x210539['message'],_0x13fff4);_0x5caddc(_0x3556dc[_0x5469('0x11')](0x1f4,_0x210539['message']));});});};exports[_0x5469('0x24')]=function(_0x1872ce){var _0x4361f1=this;return new Promise(function(_0x2f0b5f,_0x378cf3){return db[_0x5469('0x25')][_0x5469('0x26')](_0x1872ce[_0x5469('0x21')],{'raw':_0x1872ce[_0x5469('0x18')]?_0x1872ce[_0x5469('0x18')]['raw']===undefined?!![]:![]:!![],'individualHooks':!![],'where':_0x1872ce[_0x5469('0x18')]?_0x1872ce[_0x5469('0x18')][_0x5469('0x19')]||null:null,'attributes':_0x1872ce[_0x5469('0x18')]?_0x1872ce[_0x5469('0x18')][_0x5469('0x1a')]||null:null,'limit':_0x1872ce[_0x5469('0x18')]?_0x1872ce[_0x5469('0x18')][_0x5469('0x1b')]||null:null})[_0x5469('0xb')](function(_0x128fea){logger[_0x5469('0xc')](_0x5469('0x24'),_0x1872ce);logger[_0x5469('0x1f')](_0x5469('0x24'),_0x1872ce,JSON[_0x5469('0x10')](_0x128fea));_0x2f0b5f(_0x128fea);})[_0x5469('0x15')](function(_0x1a1759){logger[_0x5469('0x11')](_0x5469('0x24'),_0x1a1759[_0x5469('0x13')],_0x1872ce);_0x378cf3(_0x4361f1[_0x5469('0x11')](0x1f4,_0x1a1759['message']));});});}; \ No newline at end of file +var _0xe35b=['error','code','message','info','result','catch','GetMemberReport','MemberReport','options','raw','where','attributes','limit','include','map','model','then','CreateMemberReport','create','body','UpdateMemberReport','update','lodash','util','moment','bluebird','../../mysqldb','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','client','http','request','MemberReport,\x20%s,\x20%s','request\x20sent','debug','MemberReport,\x20%s,\x20%s,\x20%s','stringify'];(function(_0x466a0b,_0x2f8d23){var _0x397de3=function(_0x34b910){while(--_0x34b910){_0x466a0b['push'](_0x466a0b['shift']());}};_0x397de3(++_0x2f8d23);}(_0xe35b,0x1a6));var _0xbe35=function(_0xc6be3a,_0x540e05){_0xc6be3a=_0xc6be3a-0x0;var _0x56a310=_0xe35b[_0xc6be3a];return _0x56a310;};'use strict';var _=require(_0xbe35('0x0'));var util=require(_0xbe35('0x1'));var moment=require(_0xbe35('0x2'));var BPromise=require(_0xbe35('0x3'));var rs=require('randomstring');var fs=require('fs');var Redis=require('ioredis');var db=require(_0xbe35('0x4'))['db'];var utils=require(_0xbe35('0x5'));var logger=require(_0xbe35('0x6'))(_0xbe35('0x7'));var config=require(_0xbe35('0x8'));var jayson=require(_0xbe35('0x9'));var client=jayson[_0xbe35('0xa')][_0xbe35('0xb')]({'port':0x232a});function respondWithRpcPromise(_0xe95bce,_0xb0c981,_0x6ea7f8){return new BPromise(function(_0x4c9632,_0xc32c83){return client[_0xbe35('0xc')](_0xe95bce,_0x6ea7f8)['then'](function(_0x27ef8e){logger['info'](_0xbe35('0xd'),_0xb0c981,_0xbe35('0xe'));logger[_0xbe35('0xf')](_0xbe35('0x10'),_0xb0c981,_0xbe35('0xe'),JSON[_0xbe35('0x11')](_0x27ef8e));if(_0x27ef8e['error']){if(_0x27ef8e[_0xbe35('0x12')][_0xbe35('0x13')]===0x1f4){logger[_0xbe35('0x12')]('MemberReport,\x20%s,\x20%s',_0xb0c981,_0x27ef8e['error'][_0xbe35('0x14')]);return _0xc32c83(_0x27ef8e[_0xbe35('0x12')]['message']);}logger[_0xbe35('0x12')](_0xbe35('0xd'),_0xb0c981,_0x27ef8e[_0xbe35('0x12')][_0xbe35('0x14')]);return _0x4c9632(_0x27ef8e[_0xbe35('0x12')][_0xbe35('0x14')]);}else{logger[_0xbe35('0x15')]('MemberReport,\x20%s,\x20%s',_0xb0c981,'request\x20sent');_0x4c9632(_0x27ef8e[_0xbe35('0x16')]['message']);}})[_0xbe35('0x17')](function(_0x3aa144){logger[_0xbe35('0x12')]('MemberReport,\x20%s,\x20%s',_0xb0c981,_0x3aa144);_0xc32c83(_0x3aa144);});});}exports[_0xbe35('0x18')]=function(_0x5e7069){var _0x30bc82=this;return new Promise(function(_0x482106,_0x578517){return db[_0xbe35('0x19')]['findAll']({'raw':_0x5e7069[_0xbe35('0x1a')]?_0x5e7069['options'][_0xbe35('0x1b')]===undefined?!![]:![]:!![],'where':_0x5e7069[_0xbe35('0x1a')]?_0x5e7069[_0xbe35('0x1a')][_0xbe35('0x1c')]||null:null,'attributes':_0x5e7069['options']?_0x5e7069[_0xbe35('0x1a')][_0xbe35('0x1d')]||null:null,'limit':_0x5e7069[_0xbe35('0x1a')]?_0x5e7069[_0xbe35('0x1a')][_0xbe35('0x1e')]||null:null,'include':_0x5e7069[_0xbe35('0x1a')]?_0x5e7069[_0xbe35('0x1a')][_0xbe35('0x1f')]?_[_0xbe35('0x20')](_0x5e7069[_0xbe35('0x1a')][_0xbe35('0x1f')],function(_0x25d112){return{'model':db[_0x25d112[_0xbe35('0x21')]],'as':_0x25d112['as'],'attributes':_0x25d112[_0xbe35('0x1d')],'include':_0x25d112[_0xbe35('0x1f')]?_[_0xbe35('0x20')](_0x25d112[_0xbe35('0x1f')],function(_0x248e8e){return{'model':db[_0x248e8e[_0xbe35('0x21')]],'as':_0x248e8e['as'],'attributes':_0x248e8e[_0xbe35('0x1d')],'include':_0x248e8e[_0xbe35('0x1f')]?_[_0xbe35('0x20')](_0x248e8e['include'],function(_0x532b7e){return{'model':db[_0x532b7e[_0xbe35('0x21')]],'as':_0x532b7e['as'],'attributes':_0x532b7e['attributes']};}):[]};}):[]};}):[]:[]})[_0xbe35('0x22')](function(_0x5c5227){logger[_0xbe35('0x15')](_0xbe35('0x18'),_0x5e7069);logger[_0xbe35('0xf')]('GetMemberReport',_0x5e7069,JSON[_0xbe35('0x11')](_0x5c5227));_0x482106(_0x5c5227);})[_0xbe35('0x17')](function(_0x583321){logger[_0xbe35('0x12')](_0xbe35('0x18'),_0x583321[_0xbe35('0x14')],_0x5e7069);_0x578517(_0x30bc82['error'](0x1f4,_0x583321[_0xbe35('0x14')]));});});};exports[_0xbe35('0x23')]=function(_0x3e737d){var _0x2690f5=this;return new Promise(function(_0x146b9b,_0x42c268){return db[_0xbe35('0x19')][_0xbe35('0x24')](_0x3e737d[_0xbe35('0x25')],{'raw':_0x3e737d[_0xbe35('0x1a')]?_0x3e737d[_0xbe35('0x1a')][_0xbe35('0x1b')]===undefined?!![]:![]:!![]})[_0xbe35('0x22')](function(_0x566268){logger[_0xbe35('0x15')](_0xbe35('0x23'),_0x3e737d);logger['debug'](_0xbe35('0x23'),_0x3e737d,JSON[_0xbe35('0x11')](_0x566268));_0x146b9b(_0x566268);})[_0xbe35('0x17')](function(_0x243dbd){logger[_0xbe35('0x12')](_0xbe35('0x23'),_0x243dbd[_0xbe35('0x14')],_0x3e737d);_0x42c268(_0x2690f5['error'](0x1f4,_0x243dbd[_0xbe35('0x14')]));});});};exports[_0xbe35('0x26')]=function(_0x14b6bf){var _0x451838=this;return new Promise(function(_0x1b9f89,_0x2ff3d6){return db[_0xbe35('0x19')][_0xbe35('0x27')](_0x14b6bf['body'],{'raw':_0x14b6bf[_0xbe35('0x1a')]?_0x14b6bf['options'][_0xbe35('0x1b')]===undefined?!![]:![]:!![],'individualHooks':!![],'where':_0x14b6bf[_0xbe35('0x1a')]?_0x14b6bf[_0xbe35('0x1a')][_0xbe35('0x1c')]||null:null,'attributes':_0x14b6bf[_0xbe35('0x1a')]?_0x14b6bf[_0xbe35('0x1a')][_0xbe35('0x1d')]||null:null,'limit':_0x14b6bf[_0xbe35('0x1a')]?_0x14b6bf[_0xbe35('0x1a')][_0xbe35('0x1e')]||null:null})[_0xbe35('0x22')](function(_0x611896){logger[_0xbe35('0x15')](_0xbe35('0x26'),_0x14b6bf);logger[_0xbe35('0xf')](_0xbe35('0x26'),_0x14b6bf,JSON[_0xbe35('0x11')](_0x611896));_0x1b9f89(_0x611896);})[_0xbe35('0x17')](function(_0x1e7ba8){logger[_0xbe35('0x12')](_0xbe35('0x26'),_0x1e7ba8['message'],_0x14b6bf);_0x2ff3d6(_0x451838[_0xbe35('0x12')](0x1f4,_0x1e7ba8[_0xbe35('0x14')]));});});}; \ No newline at end of file diff --git a/server/api/migration/index.js b/server/api/migration/index.js index e187cde..8a5db5c 100644 --- a/server/api/migration/index.js +++ b/server/api/migration/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x236c=['multer','path','connect-timeout','express','Router','../../components/auth/service','../../config/environment','./migration.controller','get','index','exports'];(function(_0x42f009,_0x5e27b1){var _0x22a1e0=function(_0x297993){while(--_0x297993){_0x42f009['push'](_0x42f009['shift']());}};_0x22a1e0(++_0x5e27b1);}(_0x236c,0x155));var _0xc236=function(_0x4ac376,_0x3530e7){_0x4ac376=_0x4ac376-0x0;var _0x1698c0=_0x236c[_0x4ac376];return _0x1698c0;};'use strict';var multer=require(_0xc236('0x0'));var util=require('util');var path=require(_0xc236('0x1'));var timeout=require(_0xc236('0x2'));var express=require(_0xc236('0x3'));var router=express[_0xc236('0x4')]();var auth=require(_0xc236('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0xc236('0x6'));var controller=require(_0xc236('0x7'));router[_0xc236('0x8')]('/',controller[_0xc236('0x9')]);module[_0xc236('0xa')]=router; \ No newline at end of file +var _0x750a=['util','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./migration.controller','get','index','exports'];(function(_0x207094,_0x3030c6){var _0x3a85e0=function(_0x16f719){while(--_0x16f719){_0x207094['push'](_0x207094['shift']());}};_0x3a85e0(++_0x3030c6);}(_0x750a,0x140));var _0xa750=function(_0x57af8f,_0x387f67){_0x57af8f=_0x57af8f-0x0;var _0x240621=_0x750a[_0x57af8f];return _0x240621;};'use strict';var multer=require('multer');var util=require(_0xa750('0x0'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0xa750('0x1'));var router=express[_0xa750('0x2')]();var auth=require(_0xa750('0x3'));var interaction=require(_0xa750('0x4'));var config=require(_0xa750('0x5'));var controller=require(_0xa750('0x6'));router[_0xa750('0x7')]('/',controller[_0xa750('0x8')]);module[_0xa750('0x9')]=router; \ No newline at end of file diff --git a/server/api/migration/migration.attributes.js b/server/api/migration/migration.attributes.js index 5814cfb..fa7c6a5 100644 --- a/server/api/migration/migration.attributes.js +++ b/server/api/migration/migration.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xff33=['version','exports','STRING'];(function(_0x193e28,_0x3dac1d){var _0x20ef59=function(_0x48047e){while(--_0x48047e){_0x193e28['push'](_0x193e28['shift']());}};_0x20ef59(++_0x3dac1d);}(_0xff33,0x1c0));var _0x3ff3=function(_0x4d8a8f,_0x2afd4c){_0x4d8a8f=_0x4d8a8f-0x0;var _0xfc4adc=_0xff33[_0x4d8a8f];return _0xfc4adc;};'use strict';var Sequelize=require('sequelize');module[_0x3ff3('0x0')]={'version':{'type':Sequelize[_0x3ff3('0x1')],'unique':_0x3ff3('0x2')}}; \ No newline at end of file +var _0xe0d7=['exports','STRING','version'];(function(_0x189357,_0x17788e){var _0x24c351=function(_0x1cb24b){while(--_0x1cb24b){_0x189357['push'](_0x189357['shift']());}};_0x24c351(++_0x17788e);}(_0xe0d7,0x9c));var _0x7e0d=function(_0x1cf32f,_0x1b6255){_0x1cf32f=_0x1cf32f-0x0;var _0x38f470=_0xe0d7[_0x1cf32f];return _0x38f470;};'use strict';var Sequelize=require('sequelize');module[_0x7e0d('0x0')]={'version':{'type':Sequelize[_0x7e0d('0x1')],'unique':_0x7e0d('0x2')}}; \ No newline at end of file diff --git a/server/api/migration/migration.controller.js b/server/api/migration/migration.controller.js index 12b646f..e1d6b36 100644 --- a/server/api/migration/migration.controller.js +++ b/server/api/migration/migration.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xa9e0=['save','update','then','destroy','end','error','name','send','index','map','Migration','rawAttributes','fieldName','type','key','query','keys','filters','intersection','model','attributes','fields','length','hasOwnProperty','limit','sort','where','pick','filter','VIRTUAL','merge','options','include','findAll','catch','html-pdf','eml-format','rimraf','request-promise','bluebird','mustache','util','path','sox','ejs','lodash','squel','desk.js','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../mysqldb','sendStatus','status','json','count','offset','set','Content-Range','apply','reject'];(function(_0x392269,_0x27a650){var _0x19745e=function(_0x152c3b){while(--_0x152c3b){_0x392269['push'](_0x392269['shift']());}};_0x19745e(++_0x27a650);}(_0xa9e0,0x123));var _0x0a9e=function(_0x55f8b4,_0x43f30d){_0x55f8b4=_0x55f8b4-0x0;var _0x2475f9=_0xa9e0[_0x55f8b4];return _0x2475f9;};'use strict';var pdf=require(_0x0a9e('0x0'));var emlformat=require(_0x0a9e('0x1'));var rimraf=require(_0x0a9e('0x2'));var zipdir=require('zip-dir');var jsonpatch=require('fast-json-patch');var rp=require(_0x0a9e('0x3'));var moment=require('moment');var BPromise=require(_0x0a9e('0x4'));var Mustache=require(_0x0a9e('0x5'));var util=require(_0x0a9e('0x6'));var path=require(_0x0a9e('0x7'));var sox=require(_0x0a9e('0x8'));var csv=require('to-csv');var ejs=require(_0x0a9e('0x9'));var fs=require('fs');var _=require(_0x0a9e('0xa'));var squel=require(_0x0a9e('0xb'));var crypto=require('crypto');var jsforce=require('jsforce');var deskjs=require(_0x0a9e('0xc'));var toCsv=require('to-csv');var querystring=require('querystring');var Papa=require(_0x0a9e('0xd'));var Redis=require(_0x0a9e('0xe'));var authService=require(_0x0a9e('0xf'));var qs=require(_0x0a9e('0x10'));var as=require(_0x0a9e('0x11'));var hardwareService=require(_0x0a9e('0x12'));var logger=require('../../config/logger')('api');var utils=require('../../config/utils');var config=require('../../config/environment');var db=require(_0x0a9e('0x13'))['db'];function respondWithStatusCode(_0x36471c,_0xd5b662){_0xd5b662=_0xd5b662||0xcc;return function(_0x26d672){if(_0x26d672){return _0x36471c[_0x0a9e('0x14')](_0xd5b662);}return _0x36471c[_0x0a9e('0x15')](_0xd5b662)['end']();};}function respondWithResult(_0x4283ce,_0x239b12){_0x239b12=_0x239b12||0xc8;return function(_0x2b4227){if(_0x2b4227){return _0x4283ce[_0x0a9e('0x15')](_0x239b12)[_0x0a9e('0x16')](_0x2b4227);}};}function respondWithFilteredResult(_0x4d5611,_0x52a03d){return function(_0x22dccb){if(_0x22dccb){var _0x5d0880=_0x22dccb[_0x0a9e('0x17')],_0x1985b6=_0x52a03d['offset'],_0x519dfd=_0x52a03d[_0x0a9e('0x18')]+_0x52a03d['limit'],_0x16033c;if(_0x519dfd>=_0x5d0880){_0x519dfd=_0x5d0880;_0x16033c=0xc8;}else{_0x16033c=0xce;}_0x4d5611[_0x0a9e('0x15')](_0x16033c);return _0x4d5611[_0x0a9e('0x19')](_0x0a9e('0x1a'),_0x1985b6+'-'+_0x519dfd+'/'+_0x5d0880)[_0x0a9e('0x16')](_0x22dccb);}return null;};}function patchUpdates(_0x31b1ca){return function(_0x2eb11f){try{jsonpatch[_0x0a9e('0x1b')](_0x2eb11f,_0x31b1ca,!![]);}catch(_0x20559e){return BPromise[_0x0a9e('0x1c')](_0x20559e);}return _0x2eb11f[_0x0a9e('0x1d')]();};}function saveUpdates(_0x1c696a,_0x105080){return function(_0x4bb1e3){if(_0x4bb1e3){return _0x4bb1e3[_0x0a9e('0x1e')](_0x1c696a)[_0x0a9e('0x1f')](function(_0x53682f){return _0x53682f;});}return null;};}function removeEntity(_0x20f109,_0x5a09ef){return function(_0x588269){if(_0x588269){return _0x588269[_0x0a9e('0x20')]()[_0x0a9e('0x1f')](function(){_0x20f109[_0x0a9e('0x15')](0xcc)[_0x0a9e('0x21')]();});}};}function handleEntityNotFound(_0x4abc77,_0xfb6e48){return function(_0x2fb0e4){if(!_0x2fb0e4){_0x4abc77[_0x0a9e('0x14')](0x194);}return _0x2fb0e4;};}function handleError(_0x4d00e6,_0x370d86){_0x370d86=_0x370d86||0x1f4;return function(_0x42ac8f){logger[_0x0a9e('0x22')](_0x42ac8f['stack']);if(_0x42ac8f['name']){delete _0x42ac8f[_0x0a9e('0x23')];}_0x4d00e6[_0x0a9e('0x15')](_0x370d86)[_0x0a9e('0x24')](_0x42ac8f);};}exports[_0x0a9e('0x25')]=function(_0x526cf3,_0x384319){var _0x479bc4={},_0x45a1e7={},_0x5bfb33={'count':0x0,'rows':[]};var _0x1dc186=_[_0x0a9e('0x26')](db[_0x0a9e('0x27')][_0x0a9e('0x28')],function(_0x140511){return{'name':_0x140511[_0x0a9e('0x29')],'type':_0x140511[_0x0a9e('0x2a')][_0x0a9e('0x2b')]};});_0x45a1e7['model']=_[_0x0a9e('0x26')](_0x1dc186,_0x0a9e('0x23'));_0x45a1e7[_0x0a9e('0x2c')]=_[_0x0a9e('0x2d')](_0x526cf3['query']);_0x45a1e7[_0x0a9e('0x2e')]=_[_0x0a9e('0x2f')](_0x45a1e7[_0x0a9e('0x30')],_0x45a1e7[_0x0a9e('0x2c')]);_0x479bc4[_0x0a9e('0x31')]=_[_0x0a9e('0x2f')](_0x45a1e7[_0x0a9e('0x30')],qs[_0x0a9e('0x32')](_0x526cf3[_0x0a9e('0x2c')]['fields']));_0x479bc4[_0x0a9e('0x31')]=_0x479bc4['attributes'][_0x0a9e('0x33')]?_0x479bc4[_0x0a9e('0x31')]:_0x45a1e7[_0x0a9e('0x30')];if(!_0x526cf3[_0x0a9e('0x2c')][_0x0a9e('0x34')]('nolimit')){_0x479bc4[_0x0a9e('0x35')]=qs[_0x0a9e('0x35')](_0x526cf3[_0x0a9e('0x2c')][_0x0a9e('0x35')]);_0x479bc4[_0x0a9e('0x18')]=qs[_0x0a9e('0x18')](_0x526cf3[_0x0a9e('0x2c')][_0x0a9e('0x18')]);}_0x479bc4['order']=qs[_0x0a9e('0x36')](_0x526cf3['query'][_0x0a9e('0x36')]);_0x479bc4[_0x0a9e('0x37')]=qs[_0x0a9e('0x2e')](_[_0x0a9e('0x38')](_0x526cf3['query'],_0x45a1e7[_0x0a9e('0x2e')]),_0x1dc186);if(_0x526cf3[_0x0a9e('0x2c')][_0x0a9e('0x39')]){_0x479bc4[_0x0a9e('0x37')]=_['merge'](_0x479bc4['where'],{'$or':_[_0x0a9e('0x26')](_0x1dc186,function(_0x5640eb){if(_0x5640eb[_0x0a9e('0x2a')]!==_0x0a9e('0x3a')){var _0x381c37={};_0x381c37[_0x5640eb[_0x0a9e('0x23')]]={'$like':'%'+_0x526cf3['query'][_0x0a9e('0x39')]+'%'};return _0x381c37;}})});}_0x479bc4=_[_0x0a9e('0x3b')]({},_0x479bc4,_0x526cf3[_0x0a9e('0x3c')]);var _0x533942={'where':_0x479bc4[_0x0a9e('0x37')]};return db[_0x0a9e('0x27')][_0x0a9e('0x17')](_0x533942)['then'](function(_0x546ef8){_0x5bfb33[_0x0a9e('0x17')]=_0x546ef8;if(_0x526cf3[_0x0a9e('0x2c')]['includeAll']){_0x479bc4[_0x0a9e('0x3d')]=[{'all':!![]}];}return db[_0x0a9e('0x27')][_0x0a9e('0x3e')](_0x479bc4);})[_0x0a9e('0x1f')](function(_0x4b38d9){_0x5bfb33['rows']=_0x4b38d9;return _0x5bfb33;})[_0x0a9e('0x1f')](respondWithFilteredResult(_0x384319,_0x479bc4))[_0x0a9e('0x3f')](handleError(_0x384319,null));}; \ No newline at end of file +var _0xf3cd=['api','../../config/utils','../../config/environment','../../mysqldb','sendStatus','status','json','count','offset','limit','set','Content-Range','apply','reject','save','then','destroy','error','stack','name','send','rawAttributes','fieldName','type','model','map','keys','query','filters','attributes','intersection','fields','length','hasOwnProperty','nolimit','order','where','pick','filter','merge','VIRTUAL','includeAll','include','Migration','findAll','rows','catch','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','bluebird','mustache','util','sox','to-csv','ejs','lodash','squel','crypto','desk.js','papaparse','ioredis','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger'];(function(_0x3eb9ee,_0x50f0b6){var _0x23fda6=function(_0x20068b){while(--_0x20068b){_0x3eb9ee['push'](_0x3eb9ee['shift']());}};_0x23fda6(++_0x50f0b6);}(_0xf3cd,0xfe));var _0xdf3c=function(_0x29aca7,_0x21c650){_0x29aca7=_0x29aca7-0x0;var _0x1db0a0=_0xf3cd[_0x29aca7];return _0x1db0a0;};'use strict';var pdf=require(_0xdf3c('0x0'));var emlformat=require(_0xdf3c('0x1'));var rimraf=require(_0xdf3c('0x2'));var zipdir=require(_0xdf3c('0x3'));var jsonpatch=require(_0xdf3c('0x4'));var rp=require(_0xdf3c('0x5'));var moment=require('moment');var BPromise=require(_0xdf3c('0x6'));var Mustache=require(_0xdf3c('0x7'));var util=require(_0xdf3c('0x8'));var path=require('path');var sox=require(_0xdf3c('0x9'));var csv=require(_0xdf3c('0xa'));var ejs=require(_0xdf3c('0xb'));var fs=require('fs');var _=require(_0xdf3c('0xc'));var squel=require(_0xdf3c('0xd'));var crypto=require(_0xdf3c('0xe'));var jsforce=require('jsforce');var deskjs=require(_0xdf3c('0xf'));var toCsv=require('to-csv');var querystring=require('querystring');var Papa=require(_0xdf3c('0x10'));var Redis=require(_0xdf3c('0x11'));var authService=require('../../components/auth/service');var qs=require(_0xdf3c('0x12'));var as=require(_0xdf3c('0x13'));var hardwareService=require(_0xdf3c('0x14'));var logger=require(_0xdf3c('0x15'))(_0xdf3c('0x16'));var utils=require(_0xdf3c('0x17'));var config=require(_0xdf3c('0x18'));var db=require(_0xdf3c('0x19'))['db'];function respondWithStatusCode(_0x5e8925,_0x1d483c){_0x1d483c=_0x1d483c||0xcc;return function(_0x166ae5){if(_0x166ae5){return _0x5e8925[_0xdf3c('0x1a')](_0x1d483c);}return _0x5e8925[_0xdf3c('0x1b')](_0x1d483c)['end']();};}function respondWithResult(_0x2ae4ad,_0x461079){_0x461079=_0x461079||0xc8;return function(_0x13ea5f){if(_0x13ea5f){return _0x2ae4ad['status'](_0x461079)[_0xdf3c('0x1c')](_0x13ea5f);}};}function respondWithFilteredResult(_0x38b01d,_0x173041){return function(_0x4274fd){if(_0x4274fd){var _0x21e587=_0x4274fd[_0xdf3c('0x1d')],_0x1a7a5a=_0x173041[_0xdf3c('0x1e')],_0x305ea5=_0x173041['offset']+_0x173041[_0xdf3c('0x1f')],_0x92008b;if(_0x305ea5>=_0x21e587){_0x305ea5=_0x21e587;_0x92008b=0xc8;}else{_0x92008b=0xce;}_0x38b01d[_0xdf3c('0x1b')](_0x92008b);return _0x38b01d[_0xdf3c('0x20')](_0xdf3c('0x21'),_0x1a7a5a+'-'+_0x305ea5+'/'+_0x21e587)[_0xdf3c('0x1c')](_0x4274fd);}return null;};}function patchUpdates(_0x113b56){return function(_0x16b02b){try{jsonpatch[_0xdf3c('0x22')](_0x16b02b,_0x113b56,!![]);}catch(_0x426f3a){return BPromise[_0xdf3c('0x23')](_0x426f3a);}return _0x16b02b[_0xdf3c('0x24')]();};}function saveUpdates(_0x3d14cc,_0x25487c){return function(_0x5d2390){if(_0x5d2390){return _0x5d2390['update'](_0x3d14cc)[_0xdf3c('0x25')](function(_0x583ce4){return _0x583ce4;});}return null;};}function removeEntity(_0x15776c,_0x40e7ec){return function(_0x36552e){if(_0x36552e){return _0x36552e[_0xdf3c('0x26')]()[_0xdf3c('0x25')](function(){_0x15776c[_0xdf3c('0x1b')](0xcc)['end']();});}};}function handleEntityNotFound(_0x22a164,_0x213d75){return function(_0x13e3ca){if(!_0x13e3ca){_0x22a164[_0xdf3c('0x1a')](0x194);}return _0x13e3ca;};}function handleError(_0x40032a,_0x3b5371){_0x3b5371=_0x3b5371||0x1f4;return function(_0xef54cb){logger[_0xdf3c('0x27')](_0xef54cb[_0xdf3c('0x28')]);if(_0xef54cb[_0xdf3c('0x29')]){delete _0xef54cb['name'];}_0x40032a[_0xdf3c('0x1b')](_0x3b5371)[_0xdf3c('0x2a')](_0xef54cb);};}exports['index']=function(_0xdc8962,_0x59659e){var _0x4eaced={},_0x508be9={},_0x14aac9={'count':0x0,'rows':[]};var _0x186bba=_['map'](db['Migration'][_0xdf3c('0x2b')],function(_0x1f2ce4){return{'name':_0x1f2ce4[_0xdf3c('0x2c')],'type':_0x1f2ce4[_0xdf3c('0x2d')]['key']};});_0x508be9[_0xdf3c('0x2e')]=_[_0xdf3c('0x2f')](_0x186bba,'name');_0x508be9['query']=_[_0xdf3c('0x30')](_0xdc8962[_0xdf3c('0x31')]);_0x508be9[_0xdf3c('0x32')]=_['intersection'](_0x508be9[_0xdf3c('0x2e')],_0x508be9[_0xdf3c('0x31')]);_0x4eaced[_0xdf3c('0x33')]=_[_0xdf3c('0x34')](_0x508be9['model'],qs[_0xdf3c('0x35')](_0xdc8962[_0xdf3c('0x31')]['fields']));_0x4eaced[_0xdf3c('0x33')]=_0x4eaced[_0xdf3c('0x33')][_0xdf3c('0x36')]?_0x4eaced[_0xdf3c('0x33')]:_0x508be9['model'];if(!_0xdc8962[_0xdf3c('0x31')][_0xdf3c('0x37')](_0xdf3c('0x38'))){_0x4eaced[_0xdf3c('0x1f')]=qs['limit'](_0xdc8962[_0xdf3c('0x31')][_0xdf3c('0x1f')]);_0x4eaced['offset']=qs['offset'](_0xdc8962[_0xdf3c('0x31')]['offset']);}_0x4eaced[_0xdf3c('0x39')]=qs['sort'](_0xdc8962['query']['sort']);_0x4eaced[_0xdf3c('0x3a')]=qs[_0xdf3c('0x32')](_[_0xdf3c('0x3b')](_0xdc8962[_0xdf3c('0x31')],_0x508be9['filters']),_0x186bba);if(_0xdc8962['query'][_0xdf3c('0x3c')]){_0x4eaced['where']=_[_0xdf3c('0x3d')](_0x4eaced[_0xdf3c('0x3a')],{'$or':_[_0xdf3c('0x2f')](_0x186bba,function(_0xcdd731){if(_0xcdd731[_0xdf3c('0x2d')]!==_0xdf3c('0x3e')){var _0x1c7335={};_0x1c7335[_0xcdd731[_0xdf3c('0x29')]]={'$like':'%'+_0xdc8962[_0xdf3c('0x31')]['filter']+'%'};return _0x1c7335;}})});}_0x4eaced=_[_0xdf3c('0x3d')]({},_0x4eaced,_0xdc8962['options']);var _0x5c1471={'where':_0x4eaced[_0xdf3c('0x3a')]};return db['Migration'][_0xdf3c('0x1d')](_0x5c1471)['then'](function(_0x2a94c3){_0x14aac9[_0xdf3c('0x1d')]=_0x2a94c3;if(_0xdc8962[_0xdf3c('0x31')][_0xdf3c('0x3f')]){_0x4eaced[_0xdf3c('0x40')]=[{'all':!![]}];}return db[_0xdf3c('0x41')][_0xdf3c('0x42')](_0x4eaced);})[_0xdf3c('0x25')](function(_0x3cf131){_0x14aac9[_0xdf3c('0x43')]=_0x3cf131;return _0x14aac9;})[_0xdf3c('0x25')](respondWithFilteredResult(_0x59659e,_0x4eaced))[_0xdf3c('0x44')](handleError(_0x59659e,null));}; \ No newline at end of file diff --git a/server/api/migration/migration.model.js b/server/api/migration/migration.model.js index 598625b..8bd3351 100644 --- a/server/api/migration/migration.model.js +++ b/server/api/migration/migration.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xe8f9=['define','Migration','migrations','lodash','util','api','moment','request-promise','path','../../config/environment','./migration.attributes','exports'];(function(_0x4e38fd,_0x13d776){var _0x2fe8b7=function(_0x22127a){while(--_0x22127a){_0x4e38fd['push'](_0x4e38fd['shift']());}};_0x2fe8b7(++_0x13d776);}(_0xe8f9,0xf3));var _0x9e8f=function(_0x12628b,_0x155dc7){_0x12628b=_0x12628b-0x0;var _0x17d4ec=_0xe8f9[_0x12628b];return _0x17d4ec;};'use strict';var _=require(_0x9e8f('0x0'));var util=require(_0x9e8f('0x1'));var logger=require('../../config/logger')(_0x9e8f('0x2'));var moment=require(_0x9e8f('0x3'));var BPromise=require('bluebird');var rp=require(_0x9e8f('0x4'));var fs=require('fs');var path=require(_0x9e8f('0x5'));var rimraf=require('rimraf');var config=require(_0x9e8f('0x6'));var attributes=require(_0x9e8f('0x7'));module[_0x9e8f('0x8')]=function(_0x3b1a34,_0x11c8b5){return _0x3b1a34[_0x9e8f('0x9')](_0x9e8f('0xa'),attributes,{'tableName':_0x9e8f('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0x92ed=['request-promise','rimraf','./migration.attributes','exports','define','Migration','migrations','lodash','util','../../config/logger','api','bluebird'];(function(_0x19ef2b,_0x354f66){var _0x4df537=function(_0x576738){while(--_0x576738){_0x19ef2b['push'](_0x19ef2b['shift']());}};_0x4df537(++_0x354f66);}(_0x92ed,0x1c3));var _0xd92e=function(_0x1cddc9,_0x44a903){_0x1cddc9=_0x1cddc9-0x0;var _0xd6d0cf=_0x92ed[_0x1cddc9];return _0xd6d0cf;};'use strict';var _=require(_0xd92e('0x0'));var util=require(_0xd92e('0x1'));var logger=require(_0xd92e('0x2'))(_0xd92e('0x3'));var moment=require('moment');var BPromise=require(_0xd92e('0x4'));var rp=require(_0xd92e('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0xd92e('0x6'));var config=require('../../config/environment');var attributes=require(_0xd92e('0x7'));module[_0xd92e('0x8')]=function(_0x572a1b,_0x4b7ebf){return _0x572a1b[_0xd92e('0x9')](_0xd92e('0xa'),attributes,{'tableName':_0xd92e('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/migration/migration.rpc.js b/server/api/migration/migration.rpc.js index 7e1ba8c..d7ad4e7 100644 --- a/server/api/migration/migration.rpc.js +++ b/server/api/migration/migration.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xcd3b=['catch','lodash','util','moment','randomstring','ioredis','../../mysqldb','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','client','request','then','Migration,\x20%s,\x20%s','debug','Migration,\x20%s,\x20%s,\x20%s','request\x20sent','stringify','error','code','message'];(function(_0x3e22ec,_0x59e837){var _0x21669d=function(_0x46bd06){while(--_0x46bd06){_0x3e22ec['push'](_0x3e22ec['shift']());}};_0x21669d(++_0x59e837);}(_0xcd3b,0x8b));var _0xbcd3=function(_0x1f4709,_0x2d7cd7){_0x1f4709=_0x1f4709-0x0;var _0x563f06=_0xcd3b[_0x1f4709];return _0x563f06;};'use strict';var _=require(_0xbcd3('0x0'));var util=require(_0xbcd3('0x1'));var moment=require(_0xbcd3('0x2'));var BPromise=require('bluebird');var rs=require(_0xbcd3('0x3'));var fs=require('fs');var Redis=require(_0xbcd3('0x4'));var db=require(_0xbcd3('0x5'))['db'];var utils=require(_0xbcd3('0x6'));var logger=require(_0xbcd3('0x7'))(_0xbcd3('0x8'));var config=require(_0xbcd3('0x9'));var jayson=require(_0xbcd3('0xa'));var client=jayson[_0xbcd3('0xb')]['http']({'port':0x232a});function respondWithRpcPromise(_0x18caf8,_0x4ee377,_0x3ce389){return new BPromise(function(_0x4f2a25,_0xf40b32){return client[_0xbcd3('0xc')](_0x18caf8,_0x3ce389)[_0xbcd3('0xd')](function(_0xd8e54){logger['info'](_0xbcd3('0xe'),_0x4ee377,'request\x20sent');logger[_0xbcd3('0xf')](_0xbcd3('0x10'),_0x4ee377,_0xbcd3('0x11'),JSON[_0xbcd3('0x12')](_0xd8e54));if(_0xd8e54[_0xbcd3('0x13')]){if(_0xd8e54[_0xbcd3('0x13')][_0xbcd3('0x14')]===0x1f4){logger[_0xbcd3('0x13')](_0xbcd3('0xe'),_0x4ee377,_0xd8e54[_0xbcd3('0x13')][_0xbcd3('0x15')]);return _0xf40b32(_0xd8e54[_0xbcd3('0x13')][_0xbcd3('0x15')]);}logger[_0xbcd3('0x13')](_0xbcd3('0xe'),_0x4ee377,_0xd8e54['error'][_0xbcd3('0x15')]);return _0x4f2a25(_0xd8e54[_0xbcd3('0x13')][_0xbcd3('0x15')]);}else{logger['info'](_0xbcd3('0xe'),_0x4ee377,_0xbcd3('0x11'));_0x4f2a25(_0xd8e54['result'][_0xbcd3('0x15')]);}})[_0xbcd3('0x16')](function(_0x42a473){logger[_0xbcd3('0x13')](_0xbcd3('0xe'),_0x4ee377,_0x42a473);_0xf40b32(_0x42a473);});});} \ No newline at end of file +var _0xa745=['lodash','util','moment','bluebird','ioredis','../../config/utils','../../config/logger','../../config/environment','jayson/promise','client','http','then','request\x20sent','debug','Migration,\x20%s,\x20%s,\x20%s','error','code','Migration,\x20%s,\x20%s','message','result','catch'];(function(_0x490935,_0x3237fd){var _0x5cf6aa=function(_0x3dcd24){while(--_0x3dcd24){_0x490935['push'](_0x490935['shift']());}};_0x5cf6aa(++_0x3237fd);}(_0xa745,0x1b9));var _0x5a74=function(_0x1c3f19,_0x44c9bc){_0x1c3f19=_0x1c3f19-0x0;var _0x327003=_0xa745[_0x1c3f19];return _0x327003;};'use strict';var _=require(_0x5a74('0x0'));var util=require(_0x5a74('0x1'));var moment=require(_0x5a74('0x2'));var BPromise=require(_0x5a74('0x3'));var rs=require('randomstring');var fs=require('fs');var Redis=require(_0x5a74('0x4'));var db=require('../../mysqldb')['db'];var utils=require(_0x5a74('0x5'));var logger=require(_0x5a74('0x6'))('rpc');var config=require(_0x5a74('0x7'));var jayson=require(_0x5a74('0x8'));var client=jayson[_0x5a74('0x9')][_0x5a74('0xa')]({'port':0x232a});function respondWithRpcPromise(_0x4fd494,_0x527a45,_0x28d334){return new BPromise(function(_0x2e9edf,_0x1f82cc){return client['request'](_0x4fd494,_0x28d334)[_0x5a74('0xb')](function(_0x20cb45){logger['info']('Migration,\x20%s,\x20%s',_0x527a45,_0x5a74('0xc'));logger[_0x5a74('0xd')](_0x5a74('0xe'),_0x527a45,_0x5a74('0xc'),JSON['stringify'](_0x20cb45));if(_0x20cb45[_0x5a74('0xf')]){if(_0x20cb45[_0x5a74('0xf')][_0x5a74('0x10')]===0x1f4){logger['error'](_0x5a74('0x11'),_0x527a45,_0x20cb45['error'][_0x5a74('0x12')]);return _0x1f82cc(_0x20cb45['error'][_0x5a74('0x12')]);}logger[_0x5a74('0xf')](_0x5a74('0x11'),_0x527a45,_0x20cb45[_0x5a74('0xf')]['message']);return _0x2e9edf(_0x20cb45[_0x5a74('0xf')]['message']);}else{logger['info'](_0x5a74('0x11'),_0x527a45,_0x5a74('0xc'));_0x2e9edf(_0x20cb45[_0x5a74('0x13')]['message']);}})[_0x5a74('0x14')](function(_0x3f701a){logger[_0x5a74('0xf')](_0x5a74('0x11'),_0x527a45,_0x3f701a);_0x1f82cc(_0x3f701a);});});} \ No newline at end of file diff --git a/server/api/network/index.js b/server/api/network/index.js index 3788011..da7841e 100644 --- a/server/api/network/index.js +++ b/server/api/network/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x3e1f=['/:id','isAuthenticated','create','put','update','delete','destroy','multer','util','path','connect-timeout','../../components/auth/service','../../components/interaction/service','./network.controller','index','get'];(function(_0x521a00,_0x3e3d24){var _0xc8130=function(_0x3c85ab){while(--_0x3c85ab){_0x521a00['push'](_0x521a00['shift']());}};_0xc8130(++_0x3e3d24);}(_0x3e1f,0x127));var _0xf3e1=function(_0x502ca3,_0x36be36){_0x502ca3=_0x502ca3-0x0;var _0x27f42c=_0x3e1f[_0x502ca3];return _0x27f42c;};'use strict';var multer=require(_0xf3e1('0x0'));var util=require(_0xf3e1('0x1'));var path=require(_0xf3e1('0x2'));var timeout=require(_0xf3e1('0x3'));var express=require('express');var router=express['Router']();var auth=require(_0xf3e1('0x4'));var interaction=require(_0xf3e1('0x5'));var config=require('../../config/environment');var controller=require(_0xf3e1('0x6'));router['get']('/',auth['isAuthenticated'](),controller[_0xf3e1('0x7')]);router[_0xf3e1('0x8')](_0xf3e1('0x9'),auth[_0xf3e1('0xa')](),controller['show']);router['post']('/',auth[_0xf3e1('0xa')](),controller[_0xf3e1('0xb')]);router[_0xf3e1('0xc')](_0xf3e1('0x9'),auth['isAuthenticated'](),controller[_0xf3e1('0xd')]);router[_0xf3e1('0xe')](_0xf3e1('0x9'),auth['isAuthenticated'](),controller[_0xf3e1('0xf')]);module['exports']=router; \ No newline at end of file +var _0x2292=['isAuthenticated','index','/:id','post','create','update','delete','destroy','multer','util','path','express','Router','../../components/auth/service','../../components/interaction/service','./network.controller','get'];(function(_0x56117f,_0x49cb92){var _0x447452=function(_0x316f33){while(--_0x316f33){_0x56117f['push'](_0x56117f['shift']());}};_0x447452(++_0x49cb92);}(_0x2292,0xa1));var _0x2229=function(_0x15d4d8,_0x447edc){_0x15d4d8=_0x15d4d8-0x0;var _0x1ca21f=_0x2292[_0x15d4d8];return _0x1ca21f;};'use strict';var multer=require(_0x2229('0x0'));var util=require(_0x2229('0x1'));var path=require(_0x2229('0x2'));var timeout=require('connect-timeout');var express=require(_0x2229('0x3'));var router=express[_0x2229('0x4')]();var auth=require(_0x2229('0x5'));var interaction=require(_0x2229('0x6'));var config=require('../../config/environment');var controller=require(_0x2229('0x7'));router[_0x2229('0x8')]('/',auth[_0x2229('0x9')](),controller[_0x2229('0xa')]);router['get'](_0x2229('0xb'),auth[_0x2229('0x9')](),controller['show']);router[_0x2229('0xc')]('/',auth[_0x2229('0x9')](),controller[_0x2229('0xd')]);router['put'](_0x2229('0xb'),auth[_0x2229('0x9')](),controller[_0x2229('0xe')]);router[_0x2229('0xf')](_0x2229('0xb'),auth[_0x2229('0x9')](),controller[_0x2229('0x10')]);module['exports']=router; \ No newline at end of file diff --git a/server/api/network/network.attributes.js b/server/api/network/network.attributes.js index 010fab1..cf9a24d 100644 --- a/server/api/network/network.attributes.js +++ b/server/api/network/network.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xa9e0=['STRING','sequelize','exports','ENUM','stun'];(function(_0x38c044,_0x2cdda2){var _0x592040=function(_0x18605e){while(--_0x18605e){_0x38c044['push'](_0x38c044['shift']());}};_0x592040(++_0x2cdda2);}(_0xa9e0,0x123));var _0x0a9e=function(_0x56482c,_0x16118d){_0x56482c=_0x56482c-0x0;var _0x5aae7a=_0xa9e0[_0x56482c];return _0x5aae7a;};'use strict';var Sequelize=require(_0x0a9e('0x0'));module[_0x0a9e('0x1')]={'type':{'type':Sequelize[_0x0a9e('0x2')]('localnet','externip',_0x0a9e('0x3'),'turn')},'value':{'type':Sequelize[_0x0a9e('0x4')]},'username':{'type':Sequelize[_0x0a9e('0x4')]},'password':{'type':Sequelize[_0x0a9e('0x4')]}}; \ No newline at end of file +var _0xa9e0=['STRING','sequelize','exports','ENUM','stun'];(function(_0x3fb84b,_0x1dd4fa){var _0x45d106=function(_0x387bb4){while(--_0x387bb4){_0x3fb84b['push'](_0x3fb84b['shift']());}};_0x45d106(++_0x1dd4fa);}(_0xa9e0,0x123));var _0x0a9e=function(_0x6131cd,_0x4c26a1){_0x6131cd=_0x6131cd-0x0;var _0x47e916=_0xa9e0[_0x6131cd];return _0x47e916;};'use strict';var Sequelize=require(_0x0a9e('0x0'));module[_0x0a9e('0x1')]={'type':{'type':Sequelize[_0x0a9e('0x2')]('localnet','externip',_0x0a9e('0x3'),'turn')},'value':{'type':Sequelize[_0x0a9e('0x4')]},'username':{'type':Sequelize[_0x0a9e('0x4')]},'password':{'type':Sequelize[_0x0a9e('0x4')]}}; \ No newline at end of file diff --git a/server/api/network/network.controller.js b/server/api/network/network.controller.js index 2ee78d2..0d374c3 100644 --- a/server/api/network/network.controller.js +++ b/server/api/network/network.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xfd28=['TURN','writeFileSync','Reload','server/files/templates/network.ejs','/etc/asterisk/sip_xcally_%s.conf','toLowerCase','chan_sip.so','sequelize','toUpperCase','STUN','/etc/asterisk/turn_xcally.conf','server/files/templates/turn_multiple.ejs','format','eml-format','rimraf','fast-json-patch','moment','bluebird','mustache','path','sox','to-csv','ejs','lodash','jsforce','desk.js','papaparse','../../components/auth/service','../../components/parsers/advancedSearch','../../config/logger','../../config/utils','../../mysqldb','jayson/promise','client','http','test','Sequelize','ValidationError','The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.','then','info','Network,\x20%s,\x20%s','debug','Network,\x20%s,\x20%s,\x20%s','request\x20sent','stringify','error','message','catch','sendStatus','status','end','json','count','offset','set','Content-Range','apply','update','destroy','name','send','index','map','Network','fieldName','key','model','query','keys','intersection','attributes','fields','length','hasOwnProperty','nolimit','limit','order','sort','where','filters','pick','filter','merge','type','options','includeAll','include','findAll','rows','show','params','rawAttributes','find','create','transaction','body','readFileSync','join','root','server/files/templates/stun_multiple.ejs','utf8','render','/etc/asterisk/stun_xcally.conf','res_stun_monitor.so'];(function(_0x4a4f9c,_0x5360d4){var _0x3f682c=function(_0x59391e){while(--_0x59391e){_0x4a4f9c['push'](_0x4a4f9c['shift']());}};_0x3f682c(++_0x5360d4);}(_0xfd28,0x148));var _0x8fd2=function(_0xea35d1,_0x302471){_0xea35d1=_0xea35d1-0x0;var _0x1d7a7c=_0xfd28[_0xea35d1];return _0x1d7a7c;};'use strict';var pdf=require('html-pdf');var emlformat=require(_0x8fd2('0x0'));var rimraf=require(_0x8fd2('0x1'));var zipdir=require('zip-dir');var jsonpatch=require(_0x8fd2('0x2'));var rp=require('request-promise');var moment=require(_0x8fd2('0x3'));var BPromise=require(_0x8fd2('0x4'));var Mustache=require(_0x8fd2('0x5'));var util=require('util');var path=require(_0x8fd2('0x6'));var sox=require(_0x8fd2('0x7'));var csv=require(_0x8fd2('0x8'));var ejs=require(_0x8fd2('0x9'));var fs=require('fs');var _=require(_0x8fd2('0xa'));var squel=require('squel');var crypto=require('crypto');var jsforce=require(_0x8fd2('0xb'));var deskjs=require(_0x8fd2('0xc'));var toCsv=require(_0x8fd2('0x8'));var querystring=require('querystring');var Papa=require(_0x8fd2('0xd'));var Redis=require('ioredis');var authService=require(_0x8fd2('0xe'));var qs=require('../../components/parsers/qs');var as=require(_0x8fd2('0xf'));var hardwareService=require('../../config/license/hardware');var logger=require(_0x8fd2('0x10'))('api');var utils=require(_0x8fd2('0x11'));var config=require('../../config/environment');var db=require(_0x8fd2('0x12'))['db'];var jayson=require(_0x8fd2('0x13'));var client=jayson[_0x8fd2('0x14')][_0x8fd2('0x15')]({'port':0x232a});function checkPasswordPattern(_0x17ad4c,_0xe9ec20,_0x1e214c){if(_0x1e214c){var _0xf22ae=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0xf22ae[_0x8fd2('0x16')](_0xe9ec20)){return _0x17ad4c;}else{throw new db[(_0x8fd2('0x17'))][(_0x8fd2('0x18'))](_0x8fd2('0x19'));}}else{return _0x17ad4c;}}function respondWithRpcPromise(_0x725d57,_0x40712c,_0xa65b4,_0x596639){return new BPromise(function(_0x20daca,_0x5ef478){var _0x4f0b17=_0x596639||client;return _0x4f0b17['request'](_0x725d57,_0xa65b4)[_0x8fd2('0x1a')](function(_0x530866){logger[_0x8fd2('0x1b')](_0x8fd2('0x1c'),_0x40712c,'request\x20sent');logger[_0x8fd2('0x1d')](_0x8fd2('0x1e'),_0x40712c,_0x8fd2('0x1f'),JSON[_0x8fd2('0x20')](_0x530866));if(_0x530866[_0x8fd2('0x21')]){if(_0x530866['error']['code']===0x1f4){logger[_0x8fd2('0x21')]('Network,\x20%s,\x20%s',_0x40712c,_0x530866[_0x8fd2('0x21')]['message']);return _0x5ef478(_0x530866[_0x8fd2('0x21')][_0x8fd2('0x22')]);}logger['error'](_0x8fd2('0x1c'),_0x40712c,_0x530866['error'][_0x8fd2('0x22')]);return _0x20daca(_0x530866[_0x8fd2('0x21')]['message']);}else{logger[_0x8fd2('0x1b')](_0x8fd2('0x1c'),_0x40712c,_0x8fd2('0x1f'));_0x20daca(_0x530866['result'][_0x8fd2('0x22')]);}})[_0x8fd2('0x23')](function(_0x27d03b){logger[_0x8fd2('0x21')](_0x8fd2('0x1c'),_0x40712c,_0x27d03b);_0x5ef478(_0x27d03b);});});}function respondWithStatusCode(_0x25db4e,_0x2c2850){_0x2c2850=_0x2c2850||0xcc;return function(_0x398925){if(_0x398925){return _0x25db4e[_0x8fd2('0x24')](_0x2c2850);}return _0x25db4e[_0x8fd2('0x25')](_0x2c2850)[_0x8fd2('0x26')]();};}function respondWithResult(_0x1f3237,_0x3f16a3){_0x3f16a3=_0x3f16a3||0xc8;return function(_0x512e5a){if(_0x512e5a){return _0x1f3237['status'](_0x3f16a3)[_0x8fd2('0x27')](_0x512e5a);}};}function respondWithFilteredResult(_0x1858a9,_0x288bcd){return function(_0x56f294){if(_0x56f294){var _0x2f26ae=_0x56f294[_0x8fd2('0x28')],_0x7820e7=_0x288bcd[_0x8fd2('0x29')],_0x27b256=_0x288bcd[_0x8fd2('0x29')]+_0x288bcd['limit'],_0x960869;if(_0x27b256>=_0x2f26ae){_0x27b256=_0x2f26ae;_0x960869=0xc8;}else{_0x960869=0xce;}_0x1858a9[_0x8fd2('0x25')](_0x960869);return _0x1858a9[_0x8fd2('0x2a')](_0x8fd2('0x2b'),_0x7820e7+'-'+_0x27b256+'/'+_0x2f26ae)[_0x8fd2('0x27')](_0x56f294);}return null;};}function patchUpdates(_0x313902){return function(_0x3ea575){try{jsonpatch[_0x8fd2('0x2c')](_0x3ea575,_0x313902,!![]);}catch(_0x4f6b7b){return BPromise['reject'](_0x4f6b7b);}return _0x3ea575['save']();};}function saveUpdates(_0x422f3c,_0x216350){return function(_0x380117){if(_0x380117){return _0x380117[_0x8fd2('0x2d')](_0x422f3c)['then'](function(_0x548d16){return _0x548d16;});}return null;};}function removeEntity(_0x3ebeab,_0x3629fe){return function(_0x42d5cf){if(_0x42d5cf){return _0x42d5cf[_0x8fd2('0x2e')]()[_0x8fd2('0x1a')](function(){_0x3ebeab['status'](0xcc)[_0x8fd2('0x26')]();});}};}function handleEntityNotFound(_0x50fe44,_0x20a9d0){return function(_0x4ade8c){if(!_0x4ade8c){_0x50fe44[_0x8fd2('0x24')](0x194);}return _0x4ade8c;};}function handleError(_0x4d9faa,_0x134420){_0x134420=_0x134420||0x1f4;return function(_0x3449b1){logger[_0x8fd2('0x21')](_0x3449b1['stack']);if(_0x3449b1[_0x8fd2('0x2f')]){delete _0x3449b1['name'];}_0x4d9faa[_0x8fd2('0x25')](_0x134420)[_0x8fd2('0x30')](_0x3449b1);};}exports[_0x8fd2('0x31')]=function(_0x5aaaed,_0x14f382){var _0x199a85={},_0x21adc6={},_0x58ce31={'count':0x0,'rows':[]};var _0x11ef3b=_[_0x8fd2('0x32')](db[_0x8fd2('0x33')]['rawAttributes'],function(_0x37a24b){return{'name':_0x37a24b[_0x8fd2('0x34')],'type':_0x37a24b['type'][_0x8fd2('0x35')]};});_0x21adc6[_0x8fd2('0x36')]=_[_0x8fd2('0x32')](_0x11ef3b,_0x8fd2('0x2f'));_0x21adc6[_0x8fd2('0x37')]=_[_0x8fd2('0x38')](_0x5aaaed[_0x8fd2('0x37')]);_0x21adc6['filters']=_[_0x8fd2('0x39')](_0x21adc6['model'],_0x21adc6['query']);_0x199a85[_0x8fd2('0x3a')]=_[_0x8fd2('0x39')](_0x21adc6[_0x8fd2('0x36')],qs[_0x8fd2('0x3b')](_0x5aaaed[_0x8fd2('0x37')][_0x8fd2('0x3b')]));_0x199a85['attributes']=_0x199a85['attributes'][_0x8fd2('0x3c')]?_0x199a85['attributes']:_0x21adc6['model'];if(!_0x5aaaed[_0x8fd2('0x37')][_0x8fd2('0x3d')](_0x8fd2('0x3e'))){_0x199a85[_0x8fd2('0x3f')]=qs['limit'](_0x5aaaed[_0x8fd2('0x37')][_0x8fd2('0x3f')]);_0x199a85[_0x8fd2('0x29')]=qs[_0x8fd2('0x29')](_0x5aaaed[_0x8fd2('0x37')][_0x8fd2('0x29')]);}_0x199a85[_0x8fd2('0x40')]=qs['sort'](_0x5aaaed[_0x8fd2('0x37')][_0x8fd2('0x41')]);_0x199a85[_0x8fd2('0x42')]=qs[_0x8fd2('0x43')](_[_0x8fd2('0x44')](_0x5aaaed[_0x8fd2('0x37')],_0x21adc6[_0x8fd2('0x43')]),_0x11ef3b);if(_0x5aaaed['query'][_0x8fd2('0x45')]){_0x199a85[_0x8fd2('0x42')]=_[_0x8fd2('0x46')](_0x199a85[_0x8fd2('0x42')],{'$or':_[_0x8fd2('0x32')](_0x11ef3b,function(_0x3fa3be){if(_0x3fa3be[_0x8fd2('0x47')]!=='VIRTUAL'){var _0x383964={};_0x383964[_0x3fa3be['name']]={'$like':'%'+_0x5aaaed[_0x8fd2('0x37')]['filter']+'%'};return _0x383964;}})});}_0x199a85=_[_0x8fd2('0x46')]({},_0x199a85,_0x5aaaed[_0x8fd2('0x48')]);var _0x2a39ac={'where':_0x199a85['where']};return db[_0x8fd2('0x33')][_0x8fd2('0x28')](_0x2a39ac)[_0x8fd2('0x1a')](function(_0x4a5a8d){_0x58ce31[_0x8fd2('0x28')]=_0x4a5a8d;if(_0x5aaaed['query'][_0x8fd2('0x49')]){_0x199a85[_0x8fd2('0x4a')]=[{'all':!![]}];}return db[_0x8fd2('0x33')][_0x8fd2('0x4b')](_0x199a85);})[_0x8fd2('0x1a')](function(_0x7984c9){_0x58ce31[_0x8fd2('0x4c')]=_0x7984c9;return _0x58ce31;})[_0x8fd2('0x1a')](respondWithFilteredResult(_0x14f382,_0x199a85))[_0x8fd2('0x23')](handleError(_0x14f382,null));};exports[_0x8fd2('0x4d')]=function(_0x19847c,_0x34f3a2){var _0xd3d8cb={'raw':!![],'where':{'id':_0x19847c[_0x8fd2('0x4e')]['id']}},_0x3d65bc={};_0x3d65bc[_0x8fd2('0x36')]=_[_0x8fd2('0x38')](db[_0x8fd2('0x33')][_0x8fd2('0x4f')]);_0x3d65bc['query']=_['keys'](_0x19847c[_0x8fd2('0x37')]);_0x3d65bc[_0x8fd2('0x43')]=_[_0x8fd2('0x39')](_0x3d65bc['model'],_0x3d65bc['query']);_0xd3d8cb[_0x8fd2('0x3a')]=_['intersection'](_0x3d65bc[_0x8fd2('0x36')],qs[_0x8fd2('0x3b')](_0x19847c[_0x8fd2('0x37')]['fields']));_0xd3d8cb[_0x8fd2('0x3a')]=_0xd3d8cb[_0x8fd2('0x3a')]['length']?_0xd3d8cb[_0x8fd2('0x3a')]:_0x3d65bc[_0x8fd2('0x36')];if(_0x19847c[_0x8fd2('0x37')]['includeAll']){_0xd3d8cb[_0x8fd2('0x4a')]=[{'all':!![]}];}_0xd3d8cb=_[_0x8fd2('0x46')]({},_0xd3d8cb,_0x19847c[_0x8fd2('0x48')]);return db[_0x8fd2('0x33')][_0x8fd2('0x50')](_0xd3d8cb)[_0x8fd2('0x1a')](handleEntityNotFound(_0x34f3a2,null))['then'](respondWithResult(_0x34f3a2,null))['catch'](handleError(_0x34f3a2,null));};exports[_0x8fd2('0x51')]=function(_0x8c11e8,_0x508957,_0xb18774){var _0x4a176b;return db['sequelize'][_0x8fd2('0x52')](function(_0x1eca98){return db[_0x8fd2('0x33')][_0x8fd2('0x51')](_0x8c11e8[_0x8fd2('0x53')],{'raw':!![]})[_0x8fd2('0x1a')](function(_0x52c912){_0x4a176b=_0x52c912;return db[_0x8fd2('0x33')][_0x8fd2('0x4b')]({'where':{'type':_0x8c11e8[_0x8fd2('0x53')][_0x8fd2('0x47')]},'raw':!![]});})[_0x8fd2('0x1a')](function(_0x51b586){if(_0x4a176b['type']['toUpperCase']()=='STUN'){var _0x57b8f6=fs[_0x8fd2('0x54')](path[_0x8fd2('0x55')](config[_0x8fd2('0x56')],_0x8fd2('0x57')),_0x8fd2('0x58'));var _0x25abdc=ejs[_0x8fd2('0x59')](_0x57b8f6,{'networks':_0x51b586||[]});fs['writeFileSync'](_0x8fd2('0x5a'),_0x25abdc);return respondWithRpcPromise('Reload',_0x8fd2('0x51'),{'module':_0x8fd2('0x5b')});}else if(_0x4a176b['type']['toUpperCase']()==_0x8fd2('0x5c')){var _0x470466=fs[_0x8fd2('0x54')](path[_0x8fd2('0x55')](config[_0x8fd2('0x56')],'server/files/templates/turn_multiple.ejs'),_0x8fd2('0x58'));var _0x769f00=ejs[_0x8fd2('0x59')](_0x470466,{'networks':_0x51b586||[]});fs[_0x8fd2('0x5d')]('/etc/asterisk/turn_xcally.conf',_0x769f00);return respondWithRpcPromise(_0x8fd2('0x5e'),_0x8fd2('0x51'),{'module':_0x8fd2('0x5b')});}else{var _0x23c608=fs['readFileSync'](path['join'](config['root'],_0x8fd2('0x5f')),_0x8fd2('0x58'));var _0xb88ae7=ejs[_0x8fd2('0x59')](_0x23c608,{'networks':_0x51b586||[]});fs[_0x8fd2('0x5d')](util['format'](_0x8fd2('0x60'),_0x8c11e8[_0x8fd2('0x53')]['type'][_0x8fd2('0x61')]()),_0xb88ae7);return respondWithRpcPromise(_0x8fd2('0x5e'),_0x8fd2('0x51'),{'module':_0x8fd2('0x62')});}return null;})[_0x8fd2('0x1a')](function(){return _0x4a176b;});})['then'](respondWithResult(_0x508957,0xc9))[_0x8fd2('0x23')](handleError(_0x508957,null));};exports[_0x8fd2('0x2d')]=function(_0x21f1a7,_0x4606f7,_0x437736){var _0x268724;return db[_0x8fd2('0x63')][_0x8fd2('0x52')](function(_0x1787e4){return db[_0x8fd2('0x33')][_0x8fd2('0x50')]({'where':{'id':_0x21f1a7[_0x8fd2('0x4e')]['id']}})[_0x8fd2('0x1a')](handleEntityNotFound(_0x4606f7,null))['then'](saveUpdates(_0x21f1a7[_0x8fd2('0x53')],null))[_0x8fd2('0x1a')](function(_0x4b043d){if(_0x4b043d){_0x268724=_0x4b043d;return db['Network']['findAll']({'where':{'type':_0x268724[_0x8fd2('0x47')]},'raw':!![]});}return null;})[_0x8fd2('0x1a')](function(_0x2f462d){if(_0x268724[_0x8fd2('0x47')][_0x8fd2('0x64')]()==_0x8fd2('0x65')){var _0x52a332=fs[_0x8fd2('0x54')](path[_0x8fd2('0x55')](config['root'],_0x8fd2('0x57')),'utf8');var _0x161121=ejs[_0x8fd2('0x59')](_0x52a332,{'networks':_0x2f462d||[]});fs[_0x8fd2('0x5d')](_0x8fd2('0x5a'),_0x161121);return respondWithRpcPromise(_0x8fd2('0x5e'),'update',{'module':_0x8fd2('0x5b')});}else if(_0x268724[_0x8fd2('0x47')]['toUpperCase']()==_0x8fd2('0x5c')){var _0x59582b=fs['readFileSync'](path[_0x8fd2('0x55')](config[_0x8fd2('0x56')],'server/files/templates/turn_multiple.ejs'),_0x8fd2('0x58'));var _0x326c34=ejs[_0x8fd2('0x59')](_0x59582b,{'networks':_0x2f462d||[]});fs['writeFileSync'](_0x8fd2('0x66'),_0x326c34);return respondWithRpcPromise(_0x8fd2('0x5e'),_0x8fd2('0x2d'),{'module':_0x8fd2('0x5b')});}else{var _0x234800=fs[_0x8fd2('0x54')](path[_0x8fd2('0x55')](config['root'],'server/files/templates/network.ejs'),_0x8fd2('0x58'));var _0xf718ec=ejs['render'](_0x234800,{'networks':_0x2f462d||[]});fs['writeFileSync'](util['format']('/etc/asterisk/sip_xcally_%s.conf',_0x21f1a7['body'][_0x8fd2('0x47')][_0x8fd2('0x61')]()),_0xf718ec);return respondWithRpcPromise(_0x8fd2('0x5e'),_0x8fd2('0x2d'),{'module':_0x8fd2('0x62')});}return null;})['then'](function(_0x2fba70){if(_0x2fba70){return _0x268724;}return null;});})[_0x8fd2('0x1a')](respondWithResult(_0x4606f7,null))[_0x8fd2('0x23')](handleError(_0x4606f7,null));};exports['destroy']=function(_0x2cdc40,_0x3aaf78,_0x5f163a){var _0x36631b;return db[_0x8fd2('0x33')][_0x8fd2('0x50')]({'where':{'id':_0x2cdc40[_0x8fd2('0x4e')]['id']}})[_0x8fd2('0x1a')](function(_0x2fb611){_0x36631b=_0x2fb611;return _0x2fb611;})[_0x8fd2('0x1a')](handleEntityNotFound(_0x3aaf78,null))['then'](removeEntity(_0x3aaf78,null))[_0x8fd2('0x1a')](function(){if(_0x36631b){return db[_0x8fd2('0x33')][_0x8fd2('0x4b')]({'where':{'type':_0x36631b[_0x8fd2('0x47')]},'raw':!![]});}})[_0x8fd2('0x1a')](function(_0x3a83d8){if(_0x36631b[_0x8fd2('0x47')]['toUpperCase']()==_0x8fd2('0x65')){var _0x3607a7=fs['readFileSync'](path[_0x8fd2('0x55')](config[_0x8fd2('0x56')],_0x8fd2('0x57')),_0x8fd2('0x58'));var _0x570c23=ejs[_0x8fd2('0x59')](_0x3607a7,{'networks':_0x3a83d8||[]});fs[_0x8fd2('0x5d')](_0x8fd2('0x5a'),_0x570c23);return respondWithRpcPromise('Reload',_0x8fd2('0x2e'),{'module':'res_stun_monitor.so'});}else if(_0x36631b['type']['toUpperCase']()==_0x8fd2('0x5c')){var _0x58b0fa=fs[_0x8fd2('0x54')](path['join'](config['root'],_0x8fd2('0x67')),_0x8fd2('0x58'));var _0x5e41b7=ejs[_0x8fd2('0x59')](_0x58b0fa,{'networks':_0x3a83d8||[]});fs[_0x8fd2('0x5d')](_0x8fd2('0x66'),_0x5e41b7);return respondWithRpcPromise(_0x8fd2('0x5e'),'destroy',{'module':'res_stun_monitor.so'});}else{var _0x3e3e9b=fs['readFileSync'](path[_0x8fd2('0x55')](config[_0x8fd2('0x56')],'server/files/templates/network.ejs'),_0x8fd2('0x58'));var _0xc60005=ejs[_0x8fd2('0x59')](_0x3e3e9b,{'networks':_0x3a83d8||[]});fs[_0x8fd2('0x5d')](util[_0x8fd2('0x68')](_0x8fd2('0x60'),_0x2cdc40[_0x8fd2('0x53')]['type'][_0x8fd2('0x61')]()),_0xc60005);return respondWithRpcPromise(_0x8fd2('0x5e'),_0x8fd2('0x2e'),{'module':_0x8fd2('0x62')});}return null;})['catch'](handleError(_0x3aaf78,null));}; \ No newline at end of file +var _0xa7ee=['rawAttributes','fieldName','type','key','model','query','filters','intersection','attributes','fields','length','hasOwnProperty','order','sort','where','pick','filter','merge','VIRTUAL','options','count','includeAll','findAll','rows','show','params','keys','find','transaction','create','body','toUpperCase','STUN','readFileSync','join','root','server/files/templates/stun_multiple.ejs','utf8','render','writeFileSync','/etc/asterisk/stun_xcally.conf','res_stun_monitor.so','TURN','server/files/templates/turn_multiple.ejs','/etc/asterisk/turn_xcally.conf','Reload','server/files/templates/network.ejs','format','/etc/asterisk/sip_xcally_%s.conf','toLowerCase','chan_sip.so','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','mustache','util','path','sox','to-csv','ejs','lodash','crypto','jsforce','desk.js','querystring','papaparse','ioredis','../../components/parsers/qs','../../config/license/hardware','../../config/logger','../../config/utils','../../config/environment','../../mysqldb','jayson/promise','client','http','test','Sequelize','ValidationError','The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.','request','then','info','request\x20sent','debug','Network,\x20%s,\x20%s,\x20%s','stringify','error','code','Network,\x20%s,\x20%s','message','catch','sendStatus','json','offset','limit','status','set','Content-Range','apply','reject','update','destroy','end','stack','name','send','index','map','Network'];(function(_0x1c9f90,_0x538898){var _0x2e0c4c=function(_0x458786){while(--_0x458786){_0x1c9f90['push'](_0x1c9f90['shift']());}};_0x2e0c4c(++_0x538898);}(_0xa7ee,0x119));var _0xea7e=function(_0x2b10c6,_0x185590){_0x2b10c6=_0x2b10c6-0x0;var _0x3789d2=_0xa7ee[_0x2b10c6];return _0x3789d2;};'use strict';var pdf=require(_0xea7e('0x0'));var emlformat=require(_0xea7e('0x1'));var rimraf=require(_0xea7e('0x2'));var zipdir=require(_0xea7e('0x3'));var jsonpatch=require(_0xea7e('0x4'));var rp=require(_0xea7e('0x5'));var moment=require(_0xea7e('0x6'));var BPromise=require(_0xea7e('0x7'));var Mustache=require(_0xea7e('0x8'));var util=require(_0xea7e('0x9'));var path=require(_0xea7e('0xa'));var sox=require(_0xea7e('0xb'));var csv=require(_0xea7e('0xc'));var ejs=require(_0xea7e('0xd'));var fs=require('fs');var _=require(_0xea7e('0xe'));var squel=require('squel');var crypto=require(_0xea7e('0xf'));var jsforce=require(_0xea7e('0x10'));var deskjs=require(_0xea7e('0x11'));var toCsv=require(_0xea7e('0xc'));var querystring=require(_0xea7e('0x12'));var Papa=require(_0xea7e('0x13'));var Redis=require(_0xea7e('0x14'));var authService=require('../../components/auth/service');var qs=require(_0xea7e('0x15'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0xea7e('0x16'));var logger=require(_0xea7e('0x17'))('api');var utils=require(_0xea7e('0x18'));var config=require(_0xea7e('0x19'));var db=require(_0xea7e('0x1a'))['db'];var jayson=require(_0xea7e('0x1b'));var client=jayson[_0xea7e('0x1c')][_0xea7e('0x1d')]({'port':0x232a});function checkPasswordPattern(_0x4454e8,_0x112beb,_0x40c17c){if(_0x40c17c){var _0x5cfcd8=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0x5cfcd8[_0xea7e('0x1e')](_0x112beb)){return _0x4454e8;}else{throw new db[(_0xea7e('0x1f'))][(_0xea7e('0x20'))](_0xea7e('0x21'));}}else{return _0x4454e8;}}function respondWithRpcPromise(_0x57868e,_0xcf30d2,_0x31ae12,_0x57251f){return new BPromise(function(_0x2d1b65,_0xbf2ba2){var _0x1ec2ef=_0x57251f||client;return _0x1ec2ef[_0xea7e('0x22')](_0x57868e,_0x31ae12)[_0xea7e('0x23')](function(_0x11344e){logger[_0xea7e('0x24')]('Network,\x20%s,\x20%s',_0xcf30d2,_0xea7e('0x25'));logger[_0xea7e('0x26')](_0xea7e('0x27'),_0xcf30d2,_0xea7e('0x25'),JSON[_0xea7e('0x28')](_0x11344e));if(_0x11344e[_0xea7e('0x29')]){if(_0x11344e[_0xea7e('0x29')][_0xea7e('0x2a')]===0x1f4){logger[_0xea7e('0x29')](_0xea7e('0x2b'),_0xcf30d2,_0x11344e[_0xea7e('0x29')][_0xea7e('0x2c')]);return _0xbf2ba2(_0x11344e[_0xea7e('0x29')][_0xea7e('0x2c')]);}logger[_0xea7e('0x29')](_0xea7e('0x2b'),_0xcf30d2,_0x11344e[_0xea7e('0x29')][_0xea7e('0x2c')]);return _0x2d1b65(_0x11344e['error'][_0xea7e('0x2c')]);}else{logger['info'](_0xea7e('0x2b'),_0xcf30d2,_0xea7e('0x25'));_0x2d1b65(_0x11344e['result'][_0xea7e('0x2c')]);}})[_0xea7e('0x2d')](function(_0xf86a2f){logger[_0xea7e('0x29')]('Network,\x20%s,\x20%s',_0xcf30d2,_0xf86a2f);_0xbf2ba2(_0xf86a2f);});});}function respondWithStatusCode(_0x1cc8d6,_0x1c4590){_0x1c4590=_0x1c4590||0xcc;return function(_0x1fe1d3){if(_0x1fe1d3){return _0x1cc8d6[_0xea7e('0x2e')](_0x1c4590);}return _0x1cc8d6['status'](_0x1c4590)['end']();};}function respondWithResult(_0x193dac,_0x2fbc22){_0x2fbc22=_0x2fbc22||0xc8;return function(_0x2a5925){if(_0x2a5925){return _0x193dac['status'](_0x2fbc22)[_0xea7e('0x2f')](_0x2a5925);}};}function respondWithFilteredResult(_0x47b635,_0x21641){return function(_0x574c13){if(_0x574c13){var _0x38e865=_0x574c13['count'],_0x1c1720=_0x21641[_0xea7e('0x30')],_0x3090ba=_0x21641[_0xea7e('0x30')]+_0x21641[_0xea7e('0x31')],_0x3b30b4;if(_0x3090ba>=_0x38e865){_0x3090ba=_0x38e865;_0x3b30b4=0xc8;}else{_0x3b30b4=0xce;}_0x47b635[_0xea7e('0x32')](_0x3b30b4);return _0x47b635[_0xea7e('0x33')](_0xea7e('0x34'),_0x1c1720+'-'+_0x3090ba+'/'+_0x38e865)[_0xea7e('0x2f')](_0x574c13);}return null;};}function patchUpdates(_0x5d016a){return function(_0x5df56a){try{jsonpatch[_0xea7e('0x35')](_0x5df56a,_0x5d016a,!![]);}catch(_0x5838b3){return BPromise[_0xea7e('0x36')](_0x5838b3);}return _0x5df56a['save']();};}function saveUpdates(_0x125e5c,_0x2fb76b){return function(_0xef1847){if(_0xef1847){return _0xef1847[_0xea7e('0x37')](_0x125e5c)['then'](function(_0x1f98fd){return _0x1f98fd;});}return null;};}function removeEntity(_0x1fe81f,_0x460fd9){return function(_0x16e7cf){if(_0x16e7cf){return _0x16e7cf[_0xea7e('0x38')]()['then'](function(){_0x1fe81f['status'](0xcc)[_0xea7e('0x39')]();});}};}function handleEntityNotFound(_0x36d346,_0x2618e6){return function(_0x162d2a){if(!_0x162d2a){_0x36d346[_0xea7e('0x2e')](0x194);}return _0x162d2a;};}function handleError(_0x139ea1,_0x24c5e1){_0x24c5e1=_0x24c5e1||0x1f4;return function(_0x16f809){logger['error'](_0x16f809[_0xea7e('0x3a')]);if(_0x16f809[_0xea7e('0x3b')]){delete _0x16f809[_0xea7e('0x3b')];}_0x139ea1[_0xea7e('0x32')](_0x24c5e1)[_0xea7e('0x3c')](_0x16f809);};}exports[_0xea7e('0x3d')]=function(_0x40007d,_0xf993fc){var _0x4974df={},_0x265b0a={},_0x180e3d={'count':0x0,'rows':[]};var _0x151074=_[_0xea7e('0x3e')](db[_0xea7e('0x3f')][_0xea7e('0x40')],function(_0x3735b8){return{'name':_0x3735b8[_0xea7e('0x41')],'type':_0x3735b8[_0xea7e('0x42')][_0xea7e('0x43')]};});_0x265b0a[_0xea7e('0x44')]=_['map'](_0x151074,'name');_0x265b0a[_0xea7e('0x45')]=_['keys'](_0x40007d[_0xea7e('0x45')]);_0x265b0a[_0xea7e('0x46')]=_[_0xea7e('0x47')](_0x265b0a['model'],_0x265b0a[_0xea7e('0x45')]);_0x4974df[_0xea7e('0x48')]=_[_0xea7e('0x47')](_0x265b0a[_0xea7e('0x44')],qs[_0xea7e('0x49')](_0x40007d[_0xea7e('0x45')][_0xea7e('0x49')]));_0x4974df['attributes']=_0x4974df[_0xea7e('0x48')][_0xea7e('0x4a')]?_0x4974df[_0xea7e('0x48')]:_0x265b0a[_0xea7e('0x44')];if(!_0x40007d['query'][_0xea7e('0x4b')]('nolimit')){_0x4974df['limit']=qs['limit'](_0x40007d[_0xea7e('0x45')]['limit']);_0x4974df[_0xea7e('0x30')]=qs['offset'](_0x40007d['query'][_0xea7e('0x30')]);}_0x4974df[_0xea7e('0x4c')]=qs[_0xea7e('0x4d')](_0x40007d['query'][_0xea7e('0x4d')]);_0x4974df[_0xea7e('0x4e')]=qs[_0xea7e('0x46')](_[_0xea7e('0x4f')](_0x40007d['query'],_0x265b0a[_0xea7e('0x46')]),_0x151074);if(_0x40007d[_0xea7e('0x45')][_0xea7e('0x50')]){_0x4974df[_0xea7e('0x4e')]=_[_0xea7e('0x51')](_0x4974df[_0xea7e('0x4e')],{'$or':_[_0xea7e('0x3e')](_0x151074,function(_0x543407){if(_0x543407['type']!==_0xea7e('0x52')){var _0x442098={};_0x442098[_0x543407[_0xea7e('0x3b')]]={'$like':'%'+_0x40007d['query'][_0xea7e('0x50')]+'%'};return _0x442098;}})});}_0x4974df=_[_0xea7e('0x51')]({},_0x4974df,_0x40007d[_0xea7e('0x53')]);var _0x377be1={'where':_0x4974df[_0xea7e('0x4e')]};return db[_0xea7e('0x3f')][_0xea7e('0x54')](_0x377be1)['then'](function(_0x3a56be){_0x180e3d[_0xea7e('0x54')]=_0x3a56be;if(_0x40007d[_0xea7e('0x45')][_0xea7e('0x55')]){_0x4974df['include']=[{'all':!![]}];}return db['Network'][_0xea7e('0x56')](_0x4974df);})[_0xea7e('0x23')](function(_0x24f59d){_0x180e3d[_0xea7e('0x57')]=_0x24f59d;return _0x180e3d;})[_0xea7e('0x23')](respondWithFilteredResult(_0xf993fc,_0x4974df))['catch'](handleError(_0xf993fc,null));};exports[_0xea7e('0x58')]=function(_0x476002,_0x4ae8cc){var _0x44e244={'raw':!![],'where':{'id':_0x476002[_0xea7e('0x59')]['id']}},_0x4fc19b={};_0x4fc19b[_0xea7e('0x44')]=_[_0xea7e('0x5a')](db['Network'][_0xea7e('0x40')]);_0x4fc19b[_0xea7e('0x45')]=_['keys'](_0x476002[_0xea7e('0x45')]);_0x4fc19b[_0xea7e('0x46')]=_['intersection'](_0x4fc19b[_0xea7e('0x44')],_0x4fc19b[_0xea7e('0x45')]);_0x44e244[_0xea7e('0x48')]=_[_0xea7e('0x47')](_0x4fc19b[_0xea7e('0x44')],qs[_0xea7e('0x49')](_0x476002[_0xea7e('0x45')][_0xea7e('0x49')]));_0x44e244[_0xea7e('0x48')]=_0x44e244[_0xea7e('0x48')][_0xea7e('0x4a')]?_0x44e244[_0xea7e('0x48')]:_0x4fc19b['model'];if(_0x476002['query'][_0xea7e('0x55')]){_0x44e244['include']=[{'all':!![]}];}_0x44e244=_[_0xea7e('0x51')]({},_0x44e244,_0x476002[_0xea7e('0x53')]);return db[_0xea7e('0x3f')][_0xea7e('0x5b')](_0x44e244)[_0xea7e('0x23')](handleEntityNotFound(_0x4ae8cc,null))[_0xea7e('0x23')](respondWithResult(_0x4ae8cc,null))[_0xea7e('0x2d')](handleError(_0x4ae8cc,null));};exports['create']=function(_0x446948,_0x2b1093,_0x21c084){var _0x2697c5;return db['sequelize'][_0xea7e('0x5c')](function(_0x503ac0){return db[_0xea7e('0x3f')][_0xea7e('0x5d')](_0x446948[_0xea7e('0x5e')],{'raw':!![]})[_0xea7e('0x23')](function(_0x3ae78c){_0x2697c5=_0x3ae78c;return db[_0xea7e('0x3f')][_0xea7e('0x56')]({'where':{'type':_0x446948[_0xea7e('0x5e')]['type']},'raw':!![]});})['then'](function(_0x280126){if(_0x2697c5[_0xea7e('0x42')][_0xea7e('0x5f')]()==_0xea7e('0x60')){var _0x96d05c=fs[_0xea7e('0x61')](path[_0xea7e('0x62')](config[_0xea7e('0x63')],_0xea7e('0x64')),_0xea7e('0x65'));var _0x94625d=ejs[_0xea7e('0x66')](_0x96d05c,{'networks':_0x280126||[]});fs[_0xea7e('0x67')](_0xea7e('0x68'),_0x94625d);return respondWithRpcPromise('Reload','create',{'module':_0xea7e('0x69')});}else if(_0x2697c5[_0xea7e('0x42')][_0xea7e('0x5f')]()==_0xea7e('0x6a')){var _0x31f1a0=fs[_0xea7e('0x61')](path['join'](config[_0xea7e('0x63')],_0xea7e('0x6b')),'utf8');var _0x57ab4d=ejs[_0xea7e('0x66')](_0x31f1a0,{'networks':_0x280126||[]});fs['writeFileSync'](_0xea7e('0x6c'),_0x57ab4d);return respondWithRpcPromise(_0xea7e('0x6d'),'create',{'module':_0xea7e('0x69')});}else{var _0xbd5b11=fs[_0xea7e('0x61')](path[_0xea7e('0x62')](config['root'],_0xea7e('0x6e')),_0xea7e('0x65'));var _0x38edbb=ejs['render'](_0xbd5b11,{'networks':_0x280126||[]});fs['writeFileSync'](util[_0xea7e('0x6f')](_0xea7e('0x70'),_0x446948[_0xea7e('0x5e')][_0xea7e('0x42')][_0xea7e('0x71')]()),_0x38edbb);return respondWithRpcPromise(_0xea7e('0x6d'),_0xea7e('0x5d'),{'module':'chan_sip.so'});}return null;})[_0xea7e('0x23')](function(){return _0x2697c5;});})[_0xea7e('0x23')](respondWithResult(_0x2b1093,0xc9))['catch'](handleError(_0x2b1093,null));};exports[_0xea7e('0x37')]=function(_0x5d0e8e,_0x1a4548,_0x30cd9c){var _0x5aa1ee;return db['sequelize']['transaction'](function(_0x11fba3){return db[_0xea7e('0x3f')][_0xea7e('0x5b')]({'where':{'id':_0x5d0e8e['params']['id']}})[_0xea7e('0x23')](handleEntityNotFound(_0x1a4548,null))['then'](saveUpdates(_0x5d0e8e[_0xea7e('0x5e')],null))[_0xea7e('0x23')](function(_0x32628d){if(_0x32628d){_0x5aa1ee=_0x32628d;return db[_0xea7e('0x3f')][_0xea7e('0x56')]({'where':{'type':_0x5aa1ee[_0xea7e('0x42')]},'raw':!![]});}return null;})['then'](function(_0x59459d){if(_0x5aa1ee['type'][_0xea7e('0x5f')]()==_0xea7e('0x60')){var _0x532063=fs['readFileSync'](path[_0xea7e('0x62')](config['root'],_0xea7e('0x64')),_0xea7e('0x65'));var _0x2a9bb4=ejs['render'](_0x532063,{'networks':_0x59459d||[]});fs['writeFileSync']('/etc/asterisk/stun_xcally.conf',_0x2a9bb4);return respondWithRpcPromise('Reload',_0xea7e('0x37'),{'module':'res_stun_monitor.so'});}else if(_0x5aa1ee['type'][_0xea7e('0x5f')]()=='TURN'){var _0x3a9961=fs['readFileSync'](path[_0xea7e('0x62')](config[_0xea7e('0x63')],_0xea7e('0x6b')),_0xea7e('0x65'));var _0x15bd25=ejs[_0xea7e('0x66')](_0x3a9961,{'networks':_0x59459d||[]});fs['writeFileSync']('/etc/asterisk/turn_xcally.conf',_0x15bd25);return respondWithRpcPromise(_0xea7e('0x6d'),_0xea7e('0x37'),{'module':'res_stun_monitor.so'});}else{var _0x2cc1b3=fs[_0xea7e('0x61')](path['join'](config['root'],_0xea7e('0x6e')),_0xea7e('0x65'));var _0x4867da=ejs['render'](_0x2cc1b3,{'networks':_0x59459d||[]});fs[_0xea7e('0x67')](util[_0xea7e('0x6f')](_0xea7e('0x70'),_0x5d0e8e[_0xea7e('0x5e')][_0xea7e('0x42')][_0xea7e('0x71')]()),_0x4867da);return respondWithRpcPromise(_0xea7e('0x6d'),_0xea7e('0x37'),{'module':_0xea7e('0x72')});}return null;})[_0xea7e('0x23')](function(_0x3cec81){if(_0x3cec81){return _0x5aa1ee;}return null;});})[_0xea7e('0x23')](respondWithResult(_0x1a4548,null))['catch'](handleError(_0x1a4548,null));};exports['destroy']=function(_0x108ee9,_0x245322,_0x470122){var _0x12d496;return db['Network'][_0xea7e('0x5b')]({'where':{'id':_0x108ee9['params']['id']}})['then'](function(_0x30801c){_0x12d496=_0x30801c;return _0x30801c;})[_0xea7e('0x23')](handleEntityNotFound(_0x245322,null))[_0xea7e('0x23')](removeEntity(_0x245322,null))[_0xea7e('0x23')](function(){if(_0x12d496){return db[_0xea7e('0x3f')]['findAll']({'where':{'type':_0x12d496[_0xea7e('0x42')]},'raw':!![]});}})[_0xea7e('0x23')](function(_0xeade9){if(_0x12d496['type']['toUpperCase']()=='STUN'){var _0x58d025=fs['readFileSync'](path[_0xea7e('0x62')](config[_0xea7e('0x63')],_0xea7e('0x64')),'utf8');var _0x1e708f=ejs[_0xea7e('0x66')](_0x58d025,{'networks':_0xeade9||[]});fs[_0xea7e('0x67')](_0xea7e('0x68'),_0x1e708f);return respondWithRpcPromise(_0xea7e('0x6d'),_0xea7e('0x38'),{'module':'res_stun_monitor.so'});}else if(_0x12d496[_0xea7e('0x42')][_0xea7e('0x5f')]()==_0xea7e('0x6a')){var _0x2a289f=fs[_0xea7e('0x61')](path[_0xea7e('0x62')](config[_0xea7e('0x63')],_0xea7e('0x6b')),'utf8');var _0xcb53db=ejs[_0xea7e('0x66')](_0x2a289f,{'networks':_0xeade9||[]});fs[_0xea7e('0x67')]('/etc/asterisk/turn_xcally.conf',_0xcb53db);return respondWithRpcPromise(_0xea7e('0x6d'),'destroy',{'module':_0xea7e('0x69')});}else{var _0x42e208=fs['readFileSync'](path[_0xea7e('0x62')](config[_0xea7e('0x63')],_0xea7e('0x6e')),_0xea7e('0x65'));var _0x1f8517=ejs[_0xea7e('0x66')](_0x42e208,{'networks':_0xeade9||[]});fs[_0xea7e('0x67')](util['format'](_0xea7e('0x70'),_0x108ee9[_0xea7e('0x5e')][_0xea7e('0x42')][_0xea7e('0x71')]()),_0x1f8517);return respondWithRpcPromise('Reload',_0xea7e('0x38'),{'module':_0xea7e('0x72')});}return null;})['catch'](handleError(_0x245322,null));}; \ No newline at end of file diff --git a/server/api/network/network.model.js b/server/api/network/network.model.js index 682950c..20458e4 100644 --- a/server/api/network/network.model.js +++ b/server/api/network/network.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xea71=['../../config/environment','./network.attributes','exports','Network','lodash','util','api','moment','request-promise','path','rimraf'];(function(_0x5cf1a1,_0x1ab924){var _0x52cbcc=function(_0xdc1230){while(--_0xdc1230){_0x5cf1a1['push'](_0x5cf1a1['shift']());}};_0x52cbcc(++_0x1ab924);}(_0xea71,0x9e));var _0x1ea7=function(_0x4dee92,_0x2f2dd1){_0x4dee92=_0x4dee92-0x0;var _0x2944b4=_0xea71[_0x4dee92];return _0x2944b4;};'use strict';var _=require(_0x1ea7('0x0'));var util=require(_0x1ea7('0x1'));var logger=require('../../config/logger')(_0x1ea7('0x2'));var moment=require(_0x1ea7('0x3'));var BPromise=require('bluebird');var rp=require(_0x1ea7('0x4'));var fs=require('fs');var path=require(_0x1ea7('0x5'));var rimraf=require(_0x1ea7('0x6'));var config=require(_0x1ea7('0x7'));var attributes=require(_0x1ea7('0x8'));module[_0x1ea7('0x9')]=function(_0x1d5828,_0x33998a){return _0x1d5828['define'](_0x1ea7('0xa'),attributes,{'tableName':'network','paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0x661b=['../../config/logger','moment','bluebird','request-promise','path','rimraf','../../config/environment','./network.attributes','exports','define','Network','network','util'];(function(_0x61b3ab,_0x1fc298){var _0x57097f=function(_0x25970b){while(--_0x25970b){_0x61b3ab['push'](_0x61b3ab['shift']());}};_0x57097f(++_0x1fc298);}(_0x661b,0x12a));var _0xb661=function(_0x396407,_0x13a404){_0x396407=_0x396407-0x0;var _0x5d3187=_0x661b[_0x396407];return _0x5d3187;};'use strict';var _=require('lodash');var util=require(_0xb661('0x0'));var logger=require(_0xb661('0x1'))('api');var moment=require(_0xb661('0x2'));var BPromise=require(_0xb661('0x3'));var rp=require(_0xb661('0x4'));var fs=require('fs');var path=require(_0xb661('0x5'));var rimraf=require(_0xb661('0x6'));var config=require(_0xb661('0x7'));var attributes=require(_0xb661('0x8'));module[_0xb661('0x9')]=function(_0x5aff23,_0x5b84ed){return _0x5aff23[_0xb661('0xa')](_0xb661('0xb'),attributes,{'tableName':_0xb661('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/network/network.rpc.js b/server/api/network/network.rpc.js index 33841c1..a092cf0 100644 --- a/server/api/network/network.rpc.js +++ b/server/api/network/network.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xf957=['client','http','request','info','Network,\x20%s,\x20%s','request\x20sent','debug','Network,\x20%s,\x20%s,\x20%s','stringify','error','code','message','result','catch','lodash','util','moment','bluebird','randomstring','ioredis','../../mysqldb','../../config/utils','rpc','jayson/promise'];(function(_0x4da425,_0x24f333){var _0x36abe2=function(_0xa1d651){while(--_0xa1d651){_0x4da425['push'](_0x4da425['shift']());}};_0x36abe2(++_0x24f333);}(_0xf957,0xb6));var _0x7f95=function(_0x2b1408,_0x5380cc){_0x2b1408=_0x2b1408-0x0;var _0x20744f=_0xf957[_0x2b1408];return _0x20744f;};'use strict';var _=require(_0x7f95('0x0'));var util=require(_0x7f95('0x1'));var moment=require(_0x7f95('0x2'));var BPromise=require(_0x7f95('0x3'));var rs=require(_0x7f95('0x4'));var fs=require('fs');var Redis=require(_0x7f95('0x5'));var db=require(_0x7f95('0x6'))['db'];var utils=require(_0x7f95('0x7'));var logger=require('../../config/logger')(_0x7f95('0x8'));var config=require('../../config/environment');var jayson=require(_0x7f95('0x9'));var client=jayson[_0x7f95('0xa')][_0x7f95('0xb')]({'port':0x232a});function respondWithRpcPromise(_0x404d18,_0x33425,_0x1ffc79){return new BPromise(function(_0x27288a,_0xfcd038){return client[_0x7f95('0xc')](_0x404d18,_0x1ffc79)['then'](function(_0x116495){logger[_0x7f95('0xd')](_0x7f95('0xe'),_0x33425,_0x7f95('0xf'));logger[_0x7f95('0x10')](_0x7f95('0x11'),_0x33425,_0x7f95('0xf'),JSON[_0x7f95('0x12')](_0x116495));if(_0x116495[_0x7f95('0x13')]){if(_0x116495[_0x7f95('0x13')][_0x7f95('0x14')]===0x1f4){logger[_0x7f95('0x13')](_0x7f95('0xe'),_0x33425,_0x116495[_0x7f95('0x13')][_0x7f95('0x15')]);return _0xfcd038(_0x116495[_0x7f95('0x13')][_0x7f95('0x15')]);}logger[_0x7f95('0x13')](_0x7f95('0xe'),_0x33425,_0x116495[_0x7f95('0x13')][_0x7f95('0x15')]);return _0x27288a(_0x116495[_0x7f95('0x13')][_0x7f95('0x15')]);}else{logger[_0x7f95('0xd')](_0x7f95('0xe'),_0x33425,'request\x20sent');_0x27288a(_0x116495[_0x7f95('0x16')]['message']);}})[_0x7f95('0x17')](function(_0x4b9461){logger[_0x7f95('0x13')](_0x7f95('0xe'),_0x33425,_0x4b9461);_0xfcd038(_0x4b9461);});});} \ No newline at end of file +var _0xa09d=['catch','lodash','moment','bluebird','randomstring','../../mysqldb','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','client','http','request','then','Network,\x20%s,\x20%s','request\x20sent','debug','Network,\x20%s,\x20%s,\x20%s','stringify','error','message','info'];(function(_0xcd2671,_0x330de9){var _0xa0d7a9=function(_0x4411e2){while(--_0x4411e2){_0xcd2671['push'](_0xcd2671['shift']());}};_0xa0d7a9(++_0x330de9);}(_0xa09d,0x15a));var _0xda09=function(_0x4b369d,_0x265eb8){_0x4b369d=_0x4b369d-0x0;var _0x571a98=_0xa09d[_0x4b369d];return _0x571a98;};'use strict';var _=require(_0xda09('0x0'));var util=require('util');var moment=require(_0xda09('0x1'));var BPromise=require(_0xda09('0x2'));var rs=require(_0xda09('0x3'));var fs=require('fs');var Redis=require('ioredis');var db=require(_0xda09('0x4'))['db'];var utils=require(_0xda09('0x5'));var logger=require(_0xda09('0x6'))(_0xda09('0x7'));var config=require(_0xda09('0x8'));var jayson=require(_0xda09('0x9'));var client=jayson[_0xda09('0xa')][_0xda09('0xb')]({'port':0x232a});function respondWithRpcPromise(_0x268483,_0x59fd6a,_0x1fdc49){return new BPromise(function(_0x16be48,_0x30ede8){return client[_0xda09('0xc')](_0x268483,_0x1fdc49)[_0xda09('0xd')](function(_0x28e0a5){logger['info'](_0xda09('0xe'),_0x59fd6a,_0xda09('0xf'));logger[_0xda09('0x10')](_0xda09('0x11'),_0x59fd6a,_0xda09('0xf'),JSON[_0xda09('0x12')](_0x28e0a5));if(_0x28e0a5[_0xda09('0x13')]){if(_0x28e0a5[_0xda09('0x13')]['code']===0x1f4){logger[_0xda09('0x13')](_0xda09('0xe'),_0x59fd6a,_0x28e0a5[_0xda09('0x13')][_0xda09('0x14')]);return _0x30ede8(_0x28e0a5[_0xda09('0x13')][_0xda09('0x14')]);}logger[_0xda09('0x13')](_0xda09('0xe'),_0x59fd6a,_0x28e0a5[_0xda09('0x13')]['message']);return _0x16be48(_0x28e0a5[_0xda09('0x13')][_0xda09('0x14')]);}else{logger[_0xda09('0x15')](_0xda09('0xe'),_0x59fd6a,_0xda09('0xf'));_0x16be48(_0x28e0a5['result']['message']);}})[_0xda09('0x16')](function(_0x85581d){logger[_0xda09('0x13')]('Network,\x20%s,\x20%s',_0x59fd6a,_0x85581d);_0x30ede8(_0x85581d);});});} \ No newline at end of file diff --git a/server/api/notification/index.js b/server/api/notification/index.js index 289386f..dbe8089 100644 --- a/server/api/notification/index.js +++ b/server/api/notification/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x068b=['Router','../../components/interaction/service','../../config/environment','isAuthenticated','exports','path','connect-timeout','express'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x068b,0x185));var _0xb068=function(_0x266eee,_0x3d2cca){_0x266eee=_0x266eee-0x0;var _0x10ac99=_0x068b[_0x266eee];return _0x10ac99;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xb068('0x0'));var timeout=require(_0xb068('0x1'));var express=require(_0xb068('0x2'));var router=express[_0xb068('0x3')]();var auth=require('../../components/auth/service');var interaction=require(_0xb068('0x4'));var config=require(_0xb068('0x5'));var controller=require('./notification.controller');router['post']('/',auth[_0xb068('0x6')](),controller['sendNotification']);module[_0xb068('0x7')]=router; \ No newline at end of file +var _0xd249=['../../components/interaction/service','./notification.controller','post','isAuthenticated','multer','util','path','express','Router','../../components/auth/service'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0xd249,0xc2));var _0x9d24=function(_0x525c7b,_0x488fcc){_0x525c7b=_0x525c7b-0x0;var _0x27b33e=_0xd249[_0x525c7b];return _0x27b33e;};'use strict';var multer=require(_0x9d24('0x0'));var util=require(_0x9d24('0x1'));var path=require(_0x9d24('0x2'));var timeout=require('connect-timeout');var express=require(_0x9d24('0x3'));var router=express[_0x9d24('0x4')]();var auth=require(_0x9d24('0x5'));var interaction=require(_0x9d24('0x6'));var config=require('../../config/environment');var controller=require(_0x9d24('0x7'));router[_0x9d24('0x8')]('/',auth[_0x9d24('0x9')](),controller['sendNotification']);module['exports']=router; \ No newline at end of file diff --git a/server/api/notification/notification.attributes.js b/server/api/notification/notification.attributes.js index 2fbc682..c8fa190 100644 --- a/server/api/notification/notification.attributes.js +++ b/server/api/notification/notification.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x82a5=['BOOLEAN','sequelize','exports','STRING'];(function(_0x468b0f,_0x408566){var _0x3e74d9=function(_0x27a545){while(--_0x27a545){_0x468b0f['push'](_0x468b0f['shift']());}};_0x3e74d9(++_0x408566);}(_0x82a5,0x119));var _0x582a=function(_0x816d46,_0x22b408){_0x816d46=_0x816d46-0x0;var _0x5da053=_0x82a5[_0x816d46];return _0x5da053;};'use strict';var Sequelize=require(_0x582a('0x0'));module[_0x582a('0x1')]={'body':{'type':Sequelize['TEXT']},'senderName':{'type':Sequelize[_0x582a('0x2')]},'recipientsId':{'type':Sequelize['TEXT']},'recipientsDescription':{'type':Sequelize[_0x582a('0x2')]},'beep':{'type':Sequelize[_0x582a('0x3')]}}; \ No newline at end of file +var _0x5823=['sequelize','exports','TEXT','STRING'];(function(_0x36bfe3,_0x358938){var _0x9b0436=function(_0x86e47d){while(--_0x86e47d){_0x36bfe3['push'](_0x36bfe3['shift']());}};_0x9b0436(++_0x358938);}(_0x5823,0xec));var _0x3582=function(_0x1238b7,_0x4e72b9){_0x1238b7=_0x1238b7-0x0;var _0x100fc2=_0x5823[_0x1238b7];return _0x100fc2;};'use strict';var Sequelize=require(_0x3582('0x0'));module[_0x3582('0x1')]={'body':{'type':Sequelize[_0x3582('0x2')]},'senderName':{'type':Sequelize[_0x3582('0x3')]},'recipientsId':{'type':Sequelize[_0x3582('0x2')]},'recipientsDescription':{'type':Sequelize[_0x3582('0x3')]},'beep':{'type':Sequelize['BOOLEAN']}}; \ No newline at end of file diff --git a/server/api/notification/notification.controller.js b/server/api/notification/notification.controller.js index 6d02104..74bcb2f 100644 --- a/server/api/notification/notification.controller.js +++ b/server/api/notification/notification.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x13ff=['bluebird','mustache','path','sox','to-csv','ejs','lodash','crypto','jsforce','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/logger','api','../../mysqldb','redis','defaults','localhost','socket.io-emitter','register','sendStatus','status','end','json','count','offset','set','Content-Range','apply','reject','update','then','destroy','error','stack','name','send','sendNotification','body','hasOwnProperty','TemplateId','Sequelize','Must\x20specify\x20at\x20least\x20one\x20argument\x20for\x20\x27text\x27\x20or\x20\x27TemplateId\x27','view','ValidationError','Missing\x20\x27view\x27\x20parameter','recipients','Missing\x20\x27recipients\x27\x20parameter','Invalid\x20\x27recipients\x27\x20object','openchannelqueue','voicequeue','user','includes','model','Invalid\x20model\x20in\x20\x27recipients\x27\x20object','senderName','recipientsDescription','isEmpty','beep','SenderId','recipientsId','sortBy','join','sequelize','transaction','Notification','create','recipient','emit','notification:send','catch','html','Invalid\x20\x27TemplateId\x27\x20parameter','render','forEach','startCase','toLowerCase','union','ids','replace','queue','Queue','findOne','getAgents','map','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment'];(function(_0x455bbf,_0x487eb1){var _0x31cc6a=function(_0x510dd8){while(--_0x510dd8){_0x455bbf['push'](_0x455bbf['shift']());}};_0x31cc6a(++_0x487eb1);}(_0x13ff,0x179));var _0xf13f=function(_0x2576d7,_0x167624){_0x2576d7=_0x2576d7-0x0;var _0x16a08c=_0x13ff[_0x2576d7];return _0x16a08c;};'use strict';var pdf=require(_0xf13f('0x0'));var emlformat=require(_0xf13f('0x1'));var rimraf=require(_0xf13f('0x2'));var zipdir=require(_0xf13f('0x3'));var jsonpatch=require(_0xf13f('0x4'));var rp=require(_0xf13f('0x5'));var moment=require(_0xf13f('0x6'));var BPromise=require(_0xf13f('0x7'));var Mustache=require(_0xf13f('0x8'));var util=require('util');var path=require(_0xf13f('0x9'));var sox=require(_0xf13f('0xa'));var csv=require(_0xf13f('0xb'));var ejs=require(_0xf13f('0xc'));var fs=require('fs');var _=require(_0xf13f('0xd'));var squel=require('squel');var crypto=require(_0xf13f('0xe'));var jsforce=require(_0xf13f('0xf'));var deskjs=require(_0xf13f('0x10'));var toCsv=require(_0xf13f('0xb'));var querystring=require(_0xf13f('0x11'));var Papa=require(_0xf13f('0x12'));var Redis=require(_0xf13f('0x13'));var authService=require(_0xf13f('0x14'));var qs=require(_0xf13f('0x15'));var as=require(_0xf13f('0x16'));var hardwareService=require('../../config/license/hardware');var logger=require(_0xf13f('0x17'))(_0xf13f('0x18'));var utils=require('../../config/utils');var config=require('../../config/environment');var db=require(_0xf13f('0x19'))['db'];config[_0xf13f('0x1a')]=_[_0xf13f('0x1b')](config[_0xf13f('0x1a')],{'host':_0xf13f('0x1c'),'port':0x18eb});var socket=require(_0xf13f('0x1d'))(new Redis(config[_0xf13f('0x1a')]));require('./notification.socket')[_0xf13f('0x1e')](socket);function respondWithStatusCode(_0x1e87fc,_0x2e08d1){_0x2e08d1=_0x2e08d1||0xcc;return function(_0x327642){if(_0x327642){return _0x1e87fc[_0xf13f('0x1f')](_0x2e08d1);}return _0x1e87fc[_0xf13f('0x20')](_0x2e08d1)[_0xf13f('0x21')]();};}function respondWithResult(_0x3c3d57,_0x3914a0){_0x3914a0=_0x3914a0||0xc8;return function(_0x350222){if(_0x350222){return _0x3c3d57[_0xf13f('0x20')](_0x3914a0)[_0xf13f('0x22')](_0x350222);}};}function respondWithFilteredResult(_0x3dc3c0,_0x48bcb3){return function(_0x44af78){if(_0x44af78){var _0x5e0f2a=_0x44af78[_0xf13f('0x23')],_0x1b6048=_0x48bcb3[_0xf13f('0x24')],_0x4dba3a=_0x48bcb3['offset']+_0x48bcb3['limit'],_0x2ffa84;if(_0x4dba3a>=_0x5e0f2a){_0x4dba3a=_0x5e0f2a;_0x2ffa84=0xc8;}else{_0x2ffa84=0xce;}_0x3dc3c0['status'](_0x2ffa84);return _0x3dc3c0[_0xf13f('0x25')](_0xf13f('0x26'),_0x1b6048+'-'+_0x4dba3a+'/'+_0x5e0f2a)['json'](_0x44af78);}return null;};}function patchUpdates(_0x2e15ee){return function(_0x5838e2){try{jsonpatch[_0xf13f('0x27')](_0x5838e2,_0x2e15ee,!![]);}catch(_0x150b85){return BPromise[_0xf13f('0x28')](_0x150b85);}return _0x5838e2['save']();};}function saveUpdates(_0x1c07f8,_0x1f9cc2){return function(_0x2e7b51){if(_0x2e7b51){return _0x2e7b51[_0xf13f('0x29')](_0x1c07f8)[_0xf13f('0x2a')](function(_0x2e2e1a){return _0x2e2e1a;});}return null;};}function removeEntity(_0x4bf603,_0x41e71c){return function(_0x38bd7e){if(_0x38bd7e){return _0x38bd7e[_0xf13f('0x2b')]()['then'](function(){_0x4bf603[_0xf13f('0x20')](0xcc)['end']();});}};}function handleEntityNotFound(_0x4b80d4,_0x35783b){return function(_0x167ac1){if(!_0x167ac1){_0x4b80d4['sendStatus'](0x194);}return _0x167ac1;};}function handleError(_0x5c5334,_0x662eb3){_0x662eb3=_0x662eb3||0x1f4;return function(_0x5cbc55){logger[_0xf13f('0x2c')](_0x5cbc55[_0xf13f('0x2d')]);if(_0x5cbc55[_0xf13f('0x2e')]){delete _0x5cbc55[_0xf13f('0x2e')];}_0x5c5334[_0xf13f('0x20')](_0x662eb3)[_0xf13f('0x2f')](_0x5cbc55);};}exports[_0xf13f('0x30')]=function(_0xc09dea,_0x104dfa,_0x378398){if(!_0xc09dea[_0xf13f('0x31')][_0xf13f('0x32')]('text')&&!_0xc09dea['body']['hasOwnProperty'](_0xf13f('0x33'))){throw new db[(_0xf13f('0x34'))]['ValidationError'](_0xf13f('0x35'));}else{if(_0xc09dea[_0xf13f('0x31')][_0xf13f('0x32')](_0xf13f('0x33'))&&!_0xc09dea['body'][_0xf13f('0x32')](_0xf13f('0x36'))){throw new db[(_0xf13f('0x34'))][(_0xf13f('0x37'))](_0xf13f('0x38'));}if(!_0xc09dea[_0xf13f('0x31')]['hasOwnProperty'](_0xf13f('0x39'))){throw new db[(_0xf13f('0x34'))]['ValidationError'](_0xf13f('0x3a'));}else{try{var _0x4795fd=JSON['parse'](_0xc09dea[_0xf13f('0x31')][_0xf13f('0x39')]);}catch(_0xb45480){logger[_0xf13f('0x2c')](_0xb45480);throw new db['Sequelize']['ValidationError'](_0xf13f('0x3b'));}var _0x1d2f20=['chatqueue','faxqueue','mailqueue',_0xf13f('0x3c'),'smsqueue',_0xf13f('0x3d'),'whatsappqueue','team',_0xf13f('0x3e')];if(_['some'](_0x4795fd,function(_0x19ab7b){return!_[_0xf13f('0x3f')](_0x1d2f20,_0x19ab7b[_0xf13f('0x40')]['toLowerCase']());})){throw new db[(_0xf13f('0x34'))][(_0xf13f('0x37'))](_0xf13f('0x41'));}}}var _0x322ff1={};_0x322ff1[_0xf13f('0x42')]=_0xc09dea[_0xf13f('0x31')]['hasOwnProperty'](_0xf13f('0x42'))?_0xc09dea[_0xf13f('0x31')]['senderName']:_0xc09dea['user']['fullname'];_0x322ff1[_0xf13f('0x43')]=_[_0xf13f('0x44')](_0xc09dea['body'][_0xf13f('0x43')])?null:_0xc09dea[_0xf13f('0x31')][_0xf13f('0x43')];_0x322ff1[_0xf13f('0x45')]=_0xc09dea[_0xf13f('0x31')][_0xf13f('0x45')]||![];_0x322ff1[_0xf13f('0x46')]=_0xc09dea[_0xf13f('0x3e')]['id'];return getContent(_0xc09dea['body'])['then'](function(_0x146328){_0x322ff1[_0xf13f('0x31')]=_0x146328;return getRecipients(_0x4795fd);})[_0xf13f('0x2a')](function(_0x358712){_0x322ff1[_0xf13f('0x47')]=_[_0xf13f('0x48')](_0x358712)[_0xf13f('0x49')](',');return db[_0xf13f('0x4a')][_0xf13f('0x4b')](function(_0x518097){return db[_0xf13f('0x4c')][_0xf13f('0x4d')](_0x322ff1,{'raw':!![],'transaction':_0x518097})[_0xf13f('0x2a')](function(_0x42d205){var _0x2ae994={'sender':_0x322ff1[_0xf13f('0x42')],'description':_0x322ff1[_0xf13f('0x43')],'content':_0x322ff1[_0xf13f('0x31')],'beep':_0x322ff1[_0xf13f('0x45')]};_0x358712['forEach'](function(_0x23fb56){_0x2ae994[_0xf13f('0x4e')]=_0x23fb56;socket[_0xf13f('0x4f')](_0xf13f('0x50'),_0x2ae994);});return _0x42d205;});});})['then'](respondWithResult(_0x104dfa,0xc9))[_0xf13f('0x51')](handleError(_0x104dfa,null));};function getContent(_0x23b7b8){return new BPromise(function(_0x4948fe,_0x13c8b2){if(_0x23b7b8['text']){_0x4948fe(_0x23b7b8['text']);return;}return db['Template']['findOne']({'attributes':[_0xf13f('0x52')],'where':{'id':_0x23b7b8[_0xf13f('0x33')]},'raw':!![]})[_0xf13f('0x2a')](function(_0x2fdde5){if(!_0x2fdde5)throw new db[(_0xf13f('0x34'))]['ValidationError'](_0xf13f('0x53'));var _0x477c25=Mustache[_0xf13f('0x54')](_0x2fdde5[_0xf13f('0x52')],_0x23b7b8[_0xf13f('0x36')]);_0x4948fe(_0x477c25);})[_0xf13f('0x51')](function(_0x5abe3d){_0x13c8b2(_0x5abe3d);});});}function getRecipients(_0x1a782f){return new BPromise(function(_0x1d462e,_0x421e4b){var _0x5d4684=[];var _0x1e8512=[];_0x1a782f[_0xf13f('0x55')](function(_0xecc474){var _0x29c1d7=_[_0xf13f('0x56')](_0xecc474[_0xf13f('0x40')][_0xf13f('0x57')]());if(_0x29c1d7==='User'){_0x5d4684=_[_0xf13f('0x58')](_0x5d4684,_0xecc474[_0xf13f('0x59')]);}else{if(_[_0xf13f('0x3f')](_0x29c1d7,'queue'))_0x29c1d7=_0x29c1d7[_0xf13f('0x5a')](_0xf13f('0x5b'),_0xf13f('0x5c'));_0xecc474['ids'][_0xf13f('0x55')](function(_0x2e10fd){_0x1e8512['push'](getAgents(_0x29c1d7,_0x2e10fd));});}});return BPromise['all'](_0x1e8512)[_0xf13f('0x2a')](function(_0x3407ca){_0x5d4684=_[_0xf13f('0x58')](_0x5d4684,_['flatten'](_0x3407ca));_0x1d462e(_0x5d4684);})[_0xf13f('0x51')](function(_0x344d1d){_0x421e4b(_0x344d1d);});});}function getAgents(_0x3465e2,_0x52f7c9){return new BPromise(function(_0x535ca3,_0x444e03){return db[_0x3465e2][_0xf13f('0x5d')]({'where':{'id':_0x52f7c9}})[_0xf13f('0x2a')](function(_0xcaeb2e){return _0xcaeb2e[_0xf13f('0x5e')]({'attributes':['id'],'raw':!![]})['then'](function(_0x4f7dff){var _0x254ee6=_[_0xf13f('0x5f')](_0x4f7dff,'id');_0x535ca3(_0x254ee6);});})[_0xf13f('0x51')](function(_0x453498){_0x444e03(_0x453498);});});} \ No newline at end of file +var _0x4fc3=['../../components/parsers/qs','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','redis','localhost','socket.io-emitter','./notification.socket','sendStatus','status','end','json','offset','Content-Range','apply','save','update','then','destroy','stack','name','sendNotification','body','hasOwnProperty','TemplateId','ValidationError','Must\x20specify\x20at\x20least\x20one\x20argument\x20for\x20\x27text\x27\x20or\x20\x27TemplateId\x27','view','Missing\x20\x27view\x27\x20parameter','recipients','Sequelize','Missing\x20\x27recipients\x27\x20parameter','parse','Invalid\x20\x27recipients\x27\x20object','chatqueue','faxqueue','mailqueue','openchannelqueue','smsqueue','voicequeue','whatsappqueue','team','user','some','includes','model','Invalid\x20model\x20in\x20\x27recipients\x27\x20object','senderName','fullname','recipientsDescription','isEmpty','beep','SenderId','recipientsId','join','sequelize','transaction','Notification','create','recipient','emit','notification:send','catch','text','Template','findOne','html','Invalid\x20\x27TemplateId\x27\x20parameter','render','forEach','startCase','toLowerCase','User','union','ids','queue','replace','Queue','all','map','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','path','sox','to-csv','ejs','squel','jsforce','desk.js','querystring','papaparse','ioredis','../../components/auth/service'];(function(_0x563e4b,_0x82c1e4){var _0x176758=function(_0x280a7d){while(--_0x280a7d){_0x563e4b['push'](_0x563e4b['shift']());}};_0x176758(++_0x82c1e4);}(_0x4fc3,0xb7));var _0x34fc=function(_0x19b63d,_0x54141a){_0x19b63d=_0x19b63d-0x0;var _0x332360=_0x4fc3[_0x19b63d];return _0x332360;};'use strict';var pdf=require(_0x34fc('0x0'));var emlformat=require(_0x34fc('0x1'));var rimraf=require(_0x34fc('0x2'));var zipdir=require(_0x34fc('0x3'));var jsonpatch=require(_0x34fc('0x4'));var rp=require(_0x34fc('0x5'));var moment=require(_0x34fc('0x6'));var BPromise=require(_0x34fc('0x7'));var Mustache=require('mustache');var util=require('util');var path=require(_0x34fc('0x8'));var sox=require(_0x34fc('0x9'));var csv=require(_0x34fc('0xa'));var ejs=require(_0x34fc('0xb'));var fs=require('fs');var _=require('lodash');var squel=require(_0x34fc('0xc'));var crypto=require('crypto');var jsforce=require(_0x34fc('0xd'));var deskjs=require(_0x34fc('0xe'));var toCsv=require(_0x34fc('0xa'));var querystring=require(_0x34fc('0xf'));var Papa=require(_0x34fc('0x10'));var Redis=require(_0x34fc('0x11'));var authService=require(_0x34fc('0x12'));var qs=require(_0x34fc('0x13'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require('../../config/license/hardware');var logger=require(_0x34fc('0x14'))(_0x34fc('0x15'));var utils=require(_0x34fc('0x16'));var config=require(_0x34fc('0x17'));var db=require(_0x34fc('0x18'))['db'];config[_0x34fc('0x19')]=_['defaults'](config['redis'],{'host':_0x34fc('0x1a'),'port':0x18eb});var socket=require(_0x34fc('0x1b'))(new Redis(config[_0x34fc('0x19')]));require(_0x34fc('0x1c'))['register'](socket);function respondWithStatusCode(_0x190a48,_0x4c75b1){_0x4c75b1=_0x4c75b1||0xcc;return function(_0x578710){if(_0x578710){return _0x190a48[_0x34fc('0x1d')](_0x4c75b1);}return _0x190a48[_0x34fc('0x1e')](_0x4c75b1)[_0x34fc('0x1f')]();};}function respondWithResult(_0x3b81f8,_0x23567f){_0x23567f=_0x23567f||0xc8;return function(_0x51bc0){if(_0x51bc0){return _0x3b81f8['status'](_0x23567f)[_0x34fc('0x20')](_0x51bc0);}};}function respondWithFilteredResult(_0x1addc8,_0x2c39b3){return function(_0x49c631){if(_0x49c631){var _0x1be480=_0x49c631['count'],_0x2a956f=_0x2c39b3[_0x34fc('0x21')],_0x23914a=_0x2c39b3['offset']+_0x2c39b3['limit'],_0x5dc2c4;if(_0x23914a>=_0x1be480){_0x23914a=_0x1be480;_0x5dc2c4=0xc8;}else{_0x5dc2c4=0xce;}_0x1addc8['status'](_0x5dc2c4);return _0x1addc8['set'](_0x34fc('0x22'),_0x2a956f+'-'+_0x23914a+'/'+_0x1be480)[_0x34fc('0x20')](_0x49c631);}return null;};}function patchUpdates(_0x187413){return function(_0x5cb308){try{jsonpatch[_0x34fc('0x23')](_0x5cb308,_0x187413,!![]);}catch(_0x3ab279){return BPromise['reject'](_0x3ab279);}return _0x5cb308[_0x34fc('0x24')]();};}function saveUpdates(_0x56ac44,_0x12bfb1){return function(_0x49d7dc){if(_0x49d7dc){return _0x49d7dc[_0x34fc('0x25')](_0x56ac44)[_0x34fc('0x26')](function(_0x4b07e9){return _0x4b07e9;});}return null;};}function removeEntity(_0x50ae15,_0x22ceef){return function(_0x49dc1f){if(_0x49dc1f){return _0x49dc1f[_0x34fc('0x27')]()[_0x34fc('0x26')](function(){_0x50ae15[_0x34fc('0x1e')](0xcc)[_0x34fc('0x1f')]();});}};}function handleEntityNotFound(_0x5d69de,_0x456141){return function(_0x3ee42d){if(!_0x3ee42d){_0x5d69de[_0x34fc('0x1d')](0x194);}return _0x3ee42d;};}function handleError(_0x4bb311,_0x48704a){_0x48704a=_0x48704a||0x1f4;return function(_0x465a67){logger['error'](_0x465a67[_0x34fc('0x28')]);if(_0x465a67[_0x34fc('0x29')]){delete _0x465a67[_0x34fc('0x29')];}_0x4bb311[_0x34fc('0x1e')](_0x48704a)['send'](_0x465a67);};}exports[_0x34fc('0x2a')]=function(_0x257808,_0x18e77e,_0x302428){if(!_0x257808[_0x34fc('0x2b')][_0x34fc('0x2c')]('text')&&!_0x257808[_0x34fc('0x2b')][_0x34fc('0x2c')](_0x34fc('0x2d'))){throw new db['Sequelize'][(_0x34fc('0x2e'))](_0x34fc('0x2f'));}else{if(_0x257808[_0x34fc('0x2b')][_0x34fc('0x2c')](_0x34fc('0x2d'))&&!_0x257808[_0x34fc('0x2b')]['hasOwnProperty'](_0x34fc('0x30'))){throw new db['Sequelize'][(_0x34fc('0x2e'))](_0x34fc('0x31'));}if(!_0x257808[_0x34fc('0x2b')][_0x34fc('0x2c')](_0x34fc('0x32'))){throw new db[(_0x34fc('0x33'))]['ValidationError'](_0x34fc('0x34'));}else{try{var _0x4ec18e=JSON[_0x34fc('0x35')](_0x257808[_0x34fc('0x2b')][_0x34fc('0x32')]);}catch(_0x2967ef){logger['error'](_0x2967ef);throw new db[(_0x34fc('0x33'))][(_0x34fc('0x2e'))](_0x34fc('0x36'));}var _0x5cbef7=[_0x34fc('0x37'),_0x34fc('0x38'),_0x34fc('0x39'),_0x34fc('0x3a'),_0x34fc('0x3b'),_0x34fc('0x3c'),_0x34fc('0x3d'),_0x34fc('0x3e'),_0x34fc('0x3f')];if(_[_0x34fc('0x40')](_0x4ec18e,function(_0x2b9655){return!_[_0x34fc('0x41')](_0x5cbef7,_0x2b9655[_0x34fc('0x42')]['toLowerCase']());})){throw new db['Sequelize']['ValidationError'](_0x34fc('0x43'));}}}var _0x13c3d3={};_0x13c3d3[_0x34fc('0x44')]=_0x257808['body']['hasOwnProperty'](_0x34fc('0x44'))?_0x257808[_0x34fc('0x2b')][_0x34fc('0x44')]:_0x257808['user'][_0x34fc('0x45')];_0x13c3d3[_0x34fc('0x46')]=_[_0x34fc('0x47')](_0x257808[_0x34fc('0x2b')][_0x34fc('0x46')])?null:_0x257808[_0x34fc('0x2b')][_0x34fc('0x46')];_0x13c3d3[_0x34fc('0x48')]=_0x257808[_0x34fc('0x2b')][_0x34fc('0x48')]||![];_0x13c3d3[_0x34fc('0x49')]=_0x257808['user']['id'];return getContent(_0x257808[_0x34fc('0x2b')])[_0x34fc('0x26')](function(_0x252f20){_0x13c3d3[_0x34fc('0x2b')]=_0x252f20;return getRecipients(_0x4ec18e);})[_0x34fc('0x26')](function(_0x44204c){_0x13c3d3[_0x34fc('0x4a')]=_['sortBy'](_0x44204c)[_0x34fc('0x4b')](',');return db[_0x34fc('0x4c')][_0x34fc('0x4d')](function(_0x5e28ab){return db[_0x34fc('0x4e')][_0x34fc('0x4f')](_0x13c3d3,{'raw':!![],'transaction':_0x5e28ab})[_0x34fc('0x26')](function(_0x13297d){var _0x111e7e={'sender':_0x13c3d3[_0x34fc('0x44')],'description':_0x13c3d3[_0x34fc('0x46')],'content':_0x13c3d3['body'],'beep':_0x13c3d3[_0x34fc('0x48')]};_0x44204c['forEach'](function(_0x194964){_0x111e7e[_0x34fc('0x50')]=_0x194964;socket[_0x34fc('0x51')](_0x34fc('0x52'),_0x111e7e);});return _0x13297d;});});})[_0x34fc('0x26')](respondWithResult(_0x18e77e,0xc9))[_0x34fc('0x53')](handleError(_0x18e77e,null));};function getContent(_0x4ac39e){return new BPromise(function(_0x39fedb,_0x23d046){if(_0x4ac39e[_0x34fc('0x54')]){_0x39fedb(_0x4ac39e[_0x34fc('0x54')]);return;}return db[_0x34fc('0x55')][_0x34fc('0x56')]({'attributes':[_0x34fc('0x57')],'where':{'id':_0x4ac39e[_0x34fc('0x2d')]},'raw':!![]})['then'](function(_0x5b9872){if(!_0x5b9872)throw new db['Sequelize'][(_0x34fc('0x2e'))](_0x34fc('0x58'));var _0x941ed4=Mustache[_0x34fc('0x59')](_0x5b9872[_0x34fc('0x57')],_0x4ac39e[_0x34fc('0x30')]);_0x39fedb(_0x941ed4);})[_0x34fc('0x53')](function(_0x2c585a){_0x23d046(_0x2c585a);});});}function getRecipients(_0x56ee65){return new BPromise(function(_0x585f5b,_0x275c88){var _0x30031c=[];var _0x401169=[];_0x56ee65[_0x34fc('0x5a')](function(_0x55684b){var _0x8e0cda=_[_0x34fc('0x5b')](_0x55684b[_0x34fc('0x42')][_0x34fc('0x5c')]());if(_0x8e0cda===_0x34fc('0x5d')){_0x30031c=_[_0x34fc('0x5e')](_0x30031c,_0x55684b[_0x34fc('0x5f')]);}else{if(_[_0x34fc('0x41')](_0x8e0cda,_0x34fc('0x60')))_0x8e0cda=_0x8e0cda[_0x34fc('0x61')](_0x34fc('0x60'),_0x34fc('0x62'));_0x55684b[_0x34fc('0x5f')][_0x34fc('0x5a')](function(_0x3b5c51){_0x401169['push'](getAgents(_0x8e0cda,_0x3b5c51));});}});return BPromise[_0x34fc('0x63')](_0x401169)[_0x34fc('0x26')](function(_0x1a694c){_0x30031c=_['union'](_0x30031c,_['flatten'](_0x1a694c));_0x585f5b(_0x30031c);})[_0x34fc('0x53')](function(_0x5a79e2){_0x275c88(_0x5a79e2);});});}function getAgents(_0x2b8c51,_0x5cebf4){return new BPromise(function(_0xd8a55e,_0x4bb2c9){return db[_0x2b8c51][_0x34fc('0x56')]({'where':{'id':_0x5cebf4}})[_0x34fc('0x26')](function(_0xecbe68){return _0xecbe68['getAgents']({'attributes':['id'],'raw':!![]})['then'](function(_0x358dcf){var _0x84aa90=_[_0x34fc('0x64')](_0x358dcf,'id');_0xd8a55e(_0x84aa90);});})[_0x34fc('0x53')](function(_0x31a37c){_0x4bb2c9(_0x31a37c);});});} \ No newline at end of file diff --git a/server/api/notification/notification.events.js b/server/api/notification/notification.events.js index b3ee496..be5f79d 100644 --- a/server/api/notification/notification.events.js +++ b/server/api/notification/notification.events.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x0b0e=['Notification','save','update','remove','emit','hasOwnProperty','hook','events'];(function(_0x34462f,_0x10023b){var _0x5d4e47=function(_0x502a3f){while(--_0x502a3f){_0x34462f['push'](_0x34462f['shift']());}};_0x5d4e47(++_0x10023b);}(_0x0b0e,0x187));var _0xe0b0=function(_0x616290,_0x280b7f){_0x616290=_0x616290-0x0;var _0x453879=_0x0b0e[_0x616290];return _0x453879;};'use strict';var EventEmitter=require(_0xe0b0('0x0'));var Notification=require('../../mysqldb')['db'][_0xe0b0('0x1')];var NotificationEvents=new EventEmitter();NotificationEvents['setMaxListeners'](0x0);var events={'afterCreate':_0xe0b0('0x2'),'afterUpdate':_0xe0b0('0x3'),'afterDestroy':_0xe0b0('0x4')};function emitEvent(_0x25153a){return function(_0x28040c,_0x38a058,_0x399e67){NotificationEvents[_0xe0b0('0x5')](_0x25153a+':'+_0x28040c['id'],_0x28040c);NotificationEvents[_0xe0b0('0x5')](_0x25153a,_0x28040c);_0x399e67(null);};}for(var e in events){if(events[_0xe0b0('0x6')](e)){var event=events[e];Notification[_0xe0b0('0x7')](e,emitEvent(event));}}module['exports']=NotificationEvents; \ No newline at end of file +var _0x0b0e=['Notification','save','update','remove','emit','hasOwnProperty','hook','events'];(function(_0x41741f,_0x37d4ee){var _0x4a0157=function(_0x1228fc){while(--_0x1228fc){_0x41741f['push'](_0x41741f['shift']());}};_0x4a0157(++_0x37d4ee);}(_0x0b0e,0x187));var _0xe0b0=function(_0x4b73a2,_0x40b5fe){_0x4b73a2=_0x4b73a2-0x0;var _0x383c66=_0x0b0e[_0x4b73a2];return _0x383c66;};'use strict';var EventEmitter=require(_0xe0b0('0x0'));var Notification=require('../../mysqldb')['db'][_0xe0b0('0x1')];var NotificationEvents=new EventEmitter();NotificationEvents['setMaxListeners'](0x0);var events={'afterCreate':_0xe0b0('0x2'),'afterUpdate':_0xe0b0('0x3'),'afterDestroy':_0xe0b0('0x4')};function emitEvent(_0x25153a){return function(_0x28040c,_0x38a058,_0x399e67){NotificationEvents[_0xe0b0('0x5')](_0x25153a+':'+_0x28040c['id'],_0x28040c);NotificationEvents[_0xe0b0('0x5')](_0x25153a,_0x28040c);_0x399e67(null);};}for(var e in events){if(events[_0xe0b0('0x6')](e)){var event=events[e];Notification[_0xe0b0('0x7')](e,emitEvent(event));}}module['exports']=NotificationEvents; \ No newline at end of file diff --git a/server/api/notification/notification.model.js b/server/api/notification/notification.model.js index ac1f2db..89704c5 100644 --- a/server/api/notification/notification.model.js +++ b/server/api/notification/notification.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x4926=['util','../../config/logger','api','moment','bluebird','request-promise','rimraf','exports','Notification','notifications','utf8mb4','lodash'];(function(_0xff1f47,_0x3ac98b){var _0x576846=function(_0x24565f){while(--_0x24565f){_0xff1f47['push'](_0xff1f47['shift']());}};_0x576846(++_0x3ac98b);}(_0x4926,0x15b));var _0x6492=function(_0x581af1,_0x4f02c5){_0x581af1=_0x581af1-0x0;var _0x54c22e=_0x4926[_0x581af1];return _0x54c22e;};'use strict';var _=require(_0x6492('0x0'));var util=require(_0x6492('0x1'));var logger=require(_0x6492('0x2'))(_0x6492('0x3'));var moment=require(_0x6492('0x4'));var BPromise=require(_0x6492('0x5'));var rp=require(_0x6492('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0x6492('0x7'));var config=require('../../config/environment');var attributes=require('./notification.attributes');module[_0x6492('0x8')]=function(_0x6c787a,_0x33bb1a){return _0x6c787a['define'](_0x6492('0x9'),attributes,{'tableName':_0x6492('0xa'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':_0x6492('0xb'),'collate':'utf8mb4_unicode_ci'});}; \ No newline at end of file +var _0xe7a8=['../../config/logger','api','moment','bluebird','path','./notification.attributes','Notification','lodash'];(function(_0x3cd91d,_0x163516){var _0x3b4fab=function(_0x1b3319){while(--_0x1b3319){_0x3cd91d['push'](_0x3cd91d['shift']());}};_0x3b4fab(++_0x163516);}(_0xe7a8,0xaf));var _0x8e7a=function(_0x39bc06,_0x18d7ff){_0x39bc06=_0x39bc06-0x0;var _0x131143=_0xe7a8[_0x39bc06];return _0x131143;};'use strict';var _=require(_0x8e7a('0x0'));var util=require('util');var logger=require(_0x8e7a('0x1'))(_0x8e7a('0x2'));var moment=require(_0x8e7a('0x3'));var BPromise=require(_0x8e7a('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x8e7a('0x5'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x8e7a('0x6'));module['exports']=function(_0x57446b,_0x381f4e){return _0x57446b['define'](_0x8e7a('0x7'),attributes,{'tableName':'notifications','paranoid':![],'indexes':[],'timestamps':!![],'charset':'utf8mb4','collate':'utf8mb4_unicode_ci'});}; \ No newline at end of file diff --git a/server/api/notification/notification.rpc.js b/server/api/notification/notification.rpc.js index a173a4a..7e78d33 100644 --- a/server/api/notification/notification.rpc.js +++ b/server/api/notification/notification.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x3057=['socket.io-emitter','./notification.socket','register','request','then','info','Notification,\x20%s,\x20%s','request\x20sent','Notification,\x20%s,\x20%s,\x20%s','error','code','message','result','catch','util','moment','../../mysqldb','../../config/utils','../../config/logger','rpc','jayson/promise','client','http','redis','defaults','localhost'];(function(_0x2deb01,_0x4e741c){var _0x3920b3=function(_0x391a64){while(--_0x391a64){_0x2deb01['push'](_0x2deb01['shift']());}};_0x3920b3(++_0x4e741c);}(_0x3057,0x1e2));var _0x7305=function(_0x2afd31,_0x1bc78d){_0x2afd31=_0x2afd31-0x0;var _0x20c968=_0x3057[_0x2afd31];return _0x20c968;};'use strict';var _=require('lodash');var util=require(_0x7305('0x0'));var moment=require(_0x7305('0x1'));var BPromise=require('bluebird');var rs=require('randomstring');var fs=require('fs');var Redis=require('ioredis');var db=require(_0x7305('0x2'))['db'];var utils=require(_0x7305('0x3'));var logger=require(_0x7305('0x4'))(_0x7305('0x5'));var config=require('../../config/environment');var jayson=require(_0x7305('0x6'));var client=jayson[_0x7305('0x7')][_0x7305('0x8')]({'port':0x232a});config[_0x7305('0x9')]=_[_0x7305('0xa')](config[_0x7305('0x9')],{'host':_0x7305('0xb'),'port':0x18eb});var socket=require(_0x7305('0xc'))(new Redis(config[_0x7305('0x9')]));require(_0x7305('0xd'))[_0x7305('0xe')](socket);function respondWithRpcPromise(_0x12be08,_0x593a81,_0x6d3bc5){return new BPromise(function(_0x54dc2d,_0x432890){return client[_0x7305('0xf')](_0x12be08,_0x6d3bc5)[_0x7305('0x10')](function(_0x123437){logger[_0x7305('0x11')](_0x7305('0x12'),_0x593a81,_0x7305('0x13'));logger['debug'](_0x7305('0x14'),_0x593a81,'request\x20sent',JSON['stringify'](_0x123437));if(_0x123437[_0x7305('0x15')]){if(_0x123437[_0x7305('0x15')][_0x7305('0x16')]===0x1f4){logger['error']('Notification,\x20%s,\x20%s',_0x593a81,_0x123437['error']['message']);return _0x432890(_0x123437[_0x7305('0x15')]['message']);}logger['error'](_0x7305('0x12'),_0x593a81,_0x123437[_0x7305('0x15')][_0x7305('0x17')]);return _0x54dc2d(_0x123437['error'][_0x7305('0x17')]);}else{logger[_0x7305('0x11')](_0x7305('0x12'),_0x593a81,'request\x20sent');_0x54dc2d(_0x123437[_0x7305('0x18')][_0x7305('0x17')]);}})[_0x7305('0x19')](function(_0x404611){logger[_0x7305('0x15')](_0x7305('0x12'),_0x593a81,_0x404611);_0x432890(_0x404611);});});} \ No newline at end of file +var _0x3388=['socket.io-emitter','./notification.socket','register','request','then','info','Notification,\x20%s,\x20%s','debug','request\x20sent','stringify','error','code','message','result','catch','lodash','util','bluebird','randomstring','ioredis','../../mysqldb','../../config/utils','../../config/logger','../../config/environment','jayson/promise','defaults','redis','localhost'];(function(_0x4ebfa9,_0x2ae169){var _0x232107=function(_0x52d438){while(--_0x52d438){_0x4ebfa9['push'](_0x4ebfa9['shift']());}};_0x232107(++_0x2ae169);}(_0x3388,0x127));var _0x8338=function(_0x1ce16c,_0x42816c){_0x1ce16c=_0x1ce16c-0x0;var _0x31d66a=_0x3388[_0x1ce16c];return _0x31d66a;};'use strict';var _=require(_0x8338('0x0'));var util=require(_0x8338('0x1'));var moment=require('moment');var BPromise=require(_0x8338('0x2'));var rs=require(_0x8338('0x3'));var fs=require('fs');var Redis=require(_0x8338('0x4'));var db=require(_0x8338('0x5'))['db'];var utils=require(_0x8338('0x6'));var logger=require(_0x8338('0x7'))('rpc');var config=require(_0x8338('0x8'));var jayson=require(_0x8338('0x9'));var client=jayson['client']['http']({'port':0x232a});config['redis']=_[_0x8338('0xa')](config[_0x8338('0xb')],{'host':_0x8338('0xc'),'port':0x18eb});var socket=require(_0x8338('0xd'))(new Redis(config[_0x8338('0xb')]));require(_0x8338('0xe'))[_0x8338('0xf')](socket);function respondWithRpcPromise(_0xfd5162,_0x10f5db,_0x2cec84){return new BPromise(function(_0x5d54a8,_0x211d71){return client[_0x8338('0x10')](_0xfd5162,_0x2cec84)[_0x8338('0x11')](function(_0xa670de){logger[_0x8338('0x12')](_0x8338('0x13'),_0x10f5db,'request\x20sent');logger[_0x8338('0x14')]('Notification,\x20%s,\x20%s,\x20%s',_0x10f5db,_0x8338('0x15'),JSON[_0x8338('0x16')](_0xa670de));if(_0xa670de[_0x8338('0x17')]){if(_0xa670de[_0x8338('0x17')][_0x8338('0x18')]===0x1f4){logger[_0x8338('0x17')]('Notification,\x20%s,\x20%s',_0x10f5db,_0xa670de[_0x8338('0x17')][_0x8338('0x19')]);return _0x211d71(_0xa670de[_0x8338('0x17')][_0x8338('0x19')]);}logger['error'](_0x8338('0x13'),_0x10f5db,_0xa670de[_0x8338('0x17')]['message']);return _0x5d54a8(_0xa670de[_0x8338('0x17')][_0x8338('0x19')]);}else{logger['info']('Notification,\x20%s,\x20%s',_0x10f5db,_0x8338('0x15'));_0x5d54a8(_0xa670de[_0x8338('0x1a')][_0x8338('0x19')]);}})[_0x8338('0x1b')](function(_0x7c54b6){logger[_0x8338('0x17')](_0x8338('0x13'),_0x10f5db,_0x7c54b6);_0x211d71(_0x7c54b6);});});} \ No newline at end of file diff --git a/server/api/notification/notification.socket.js b/server/api/notification/notification.socket.js index c7a6c23..6a7ce5e 100644 --- a/server/api/notification/notification.socket.js +++ b/server/api/notification/notification.socket.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x3b18=['update','emit','register','./notification.events','save'];(function(_0x4a9e4a,_0x585df1){var _0xaa903e=function(_0x4190dd){while(--_0x4190dd){_0x4a9e4a['push'](_0x4a9e4a['shift']());}};_0xaa903e(++_0x585df1);}(_0x3b18,0x99));var _0x83b1=function(_0x53e4ec,_0x1c8c8e){_0x53e4ec=_0x53e4ec-0x0;var _0x4d7b19=_0x3b18[_0x53e4ec];return _0x4d7b19;};'use strict';var NotificationEvents=require(_0x83b1('0x0'));var events=[_0x83b1('0x1'),'remove',_0x83b1('0x2')];function createListener(_0x3a91e8,_0x131d50){return function(_0x2dca9c){_0x131d50[_0x83b1('0x3')](_0x3a91e8,_0x2dca9c);};}function removeListener(_0x4da597,_0x58edf7){return function(){NotificationEvents['removeListener'](_0x4da597,_0x58edf7);};}exports[_0x83b1('0x4')]=function(_0x23ec7f){for(var _0x4de686=0x0,_0x59395e=events['length'];_0x4de686<_0x59395e;_0x4de686++){var _0x58e2fa=events[_0x4de686];var _0x221fdb=createListener('notification:'+_0x58e2fa,_0x23ec7f);NotificationEvents['on'](_0x58e2fa,_0x221fdb);}}; \ No newline at end of file +var _0x36ed=['removeListener','length','notification:','./notification.events','save','remove','update','emit'];(function(_0x28e74e,_0x53fdf1){var _0xb45ac1=function(_0x311a7a){while(--_0x311a7a){_0x28e74e['push'](_0x28e74e['shift']());}};_0xb45ac1(++_0x53fdf1);}(_0x36ed,0x13b));var _0xd36e=function(_0x5def17,_0x30c9b3){_0x5def17=_0x5def17-0x0;var _0x1389db=_0x36ed[_0x5def17];return _0x1389db;};'use strict';var NotificationEvents=require(_0xd36e('0x0'));var events=[_0xd36e('0x1'),_0xd36e('0x2'),_0xd36e('0x3')];function createListener(_0x1c780a,_0x4ae126){return function(_0x4fbe7f){_0x4ae126[_0xd36e('0x4')](_0x1c780a,_0x4fbe7f);};}function removeListener(_0x508678,_0x1db363){return function(){NotificationEvents[_0xd36e('0x5')](_0x508678,_0x1db363);};}exports['register']=function(_0x591923){for(var _0x58a61c=0x0,_0x11783f=events[_0xd36e('0x6')];_0x58a61c<_0x11783f;_0x58a61c++){var _0x257aba=events[_0x58a61c];var _0xdebba6=createListener(_0xd36e('0x7')+_0x257aba,_0x591923);NotificationEvents['on'](_0x257aba,_0xdebba6);}}; \ No newline at end of file diff --git a/server/api/openchannelAccount/index.js b/server/api/openchannelAccount/index.js index 5bd48e5..f4f9d63 100644 --- a/server/api/openchannelAccount/index.js +++ b/server/api/openchannelAccount/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x3e02=['multer','path','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./openchannelAccount.controller','get','isAuthenticated','index','/describe','describe','/:id','getDispositions','/:id/canned_answers','getAnswers','/:id/applications','getApplications','/:id/interactions','getInteractions','/:id/users','getAgents','create','/:id/dispositions','addDisposition','post','addAnswer','/:id/notify','notify','addAgents','/:id/send','put','update','delete','destroy','removeDispositions','removeAnswers'];(function(_0x2d118c,_0x3afaac){var _0x34df5e=function(_0x24fe04){while(--_0x24fe04){_0x2d118c['push'](_0x2d118c['shift']());}};_0x34df5e(++_0x3afaac);}(_0x3e02,0x14d));var _0x23e0=function(_0x54336b,_0x299d97){_0x54336b=_0x54336b-0x0;var _0xcd0bc5=_0x3e02[_0x54336b];return _0xcd0bc5;};'use strict';var multer=require(_0x23e0('0x0'));var util=require('util');var path=require(_0x23e0('0x1'));var timeout=require('connect-timeout');var express=require(_0x23e0('0x2'));var router=express['Router']();var auth=require(_0x23e0('0x3'));var interaction=require(_0x23e0('0x4'));var config=require(_0x23e0('0x5'));var controller=require(_0x23e0('0x6'));router[_0x23e0('0x7')]('/',auth[_0x23e0('0x8')](),controller[_0x23e0('0x9')]);router['get'](_0x23e0('0xa'),auth[_0x23e0('0x8')](),controller[_0x23e0('0xb')]);router['get'](_0x23e0('0xc'),auth['isAuthenticated'](),controller['show']);router['get']('/:id/dispositions',auth['isAuthenticated'](),controller[_0x23e0('0xd')]);router[_0x23e0('0x7')](_0x23e0('0xe'),auth['isAuthenticated'](),controller[_0x23e0('0xf')]);router[_0x23e0('0x7')](_0x23e0('0x10'),auth[_0x23e0('0x8')](),controller[_0x23e0('0x11')]);router[_0x23e0('0x7')](_0x23e0('0x12'),auth[_0x23e0('0x8')](),controller[_0x23e0('0x13')]);router[_0x23e0('0x7')](_0x23e0('0x14'),auth[_0x23e0('0x8')](),controller[_0x23e0('0x15')]);router['post']('/',auth['isAuthenticated'](),controller[_0x23e0('0x16')]);router['post'](_0x23e0('0x17'),auth[_0x23e0('0x8')](),controller[_0x23e0('0x18')]);router[_0x23e0('0x19')](_0x23e0('0xe'),auth[_0x23e0('0x8')](),controller[_0x23e0('0x1a')]);router[_0x23e0('0x19')](_0x23e0('0x1b'),controller[_0x23e0('0x1c')]);router['post'](_0x23e0('0x10'),auth[_0x23e0('0x8')](),controller['addApplications']);router[_0x23e0('0x19')](_0x23e0('0x14'),auth[_0x23e0('0x8')](),controller[_0x23e0('0x1d')]);router[_0x23e0('0x19')](_0x23e0('0x1e'),auth['isAuthenticated'](),controller['send']);router[_0x23e0('0x1f')]('/:id',auth['isAuthenticated'](),controller[_0x23e0('0x20')]);router[_0x23e0('0x21')](_0x23e0('0xc'),auth[_0x23e0('0x8')](),controller[_0x23e0('0x22')]);router['delete'](_0x23e0('0x17'),auth[_0x23e0('0x8')](),controller[_0x23e0('0x23')]);router[_0x23e0('0x21')](_0x23e0('0xe'),auth[_0x23e0('0x8')](),controller[_0x23e0('0x24')]);router[_0x23e0('0x21')]('/:id/users',auth[_0x23e0('0x8')](),controller['removeAgents']);module['exports']=router; \ No newline at end of file +var _0x0601=['/:id/applications','getApplications','post','create','addDisposition','addAnswer','addApplications','/:id/users','addAgents','/:id/send','send','put','update','delete','removeDispositions','removeAgents','exports','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/describe','describe','/:id','show','/:id/dispositions','/:id/canned_answers','getAnswers'];(function(_0x16866c,_0x40d274){var _0x48c8b7=function(_0x4a1ba6){while(--_0x4a1ba6){_0x16866c['push'](_0x16866c['shift']());}};_0x48c8b7(++_0x40d274);}(_0x0601,0xe3));var _0x1060=function(_0xd0d70c,_0x305a87){_0xd0d70c=_0xd0d70c-0x0;var _0x2dd127=_0x0601[_0xd0d70c];return _0x2dd127;};'use strict';var multer=require('multer');var util=require(_0x1060('0x0'));var path=require(_0x1060('0x1'));var timeout=require(_0x1060('0x2'));var express=require(_0x1060('0x3'));var router=express[_0x1060('0x4')]();var auth=require(_0x1060('0x5'));var interaction=require(_0x1060('0x6'));var config=require(_0x1060('0x7'));var controller=require('./openchannelAccount.controller');router[_0x1060('0x8')]('/',auth[_0x1060('0x9')](),controller[_0x1060('0xa')]);router[_0x1060('0x8')](_0x1060('0xb'),auth[_0x1060('0x9')](),controller[_0x1060('0xc')]);router[_0x1060('0x8')](_0x1060('0xd'),auth[_0x1060('0x9')](),controller[_0x1060('0xe')]);router[_0x1060('0x8')](_0x1060('0xf'),auth[_0x1060('0x9')](),controller['getDispositions']);router['get'](_0x1060('0x10'),auth[_0x1060('0x9')](),controller[_0x1060('0x11')]);router[_0x1060('0x8')](_0x1060('0x12'),auth[_0x1060('0x9')](),controller[_0x1060('0x13')]);router[_0x1060('0x8')]('/:id/interactions',auth['isAuthenticated'](),controller['getInteractions']);router[_0x1060('0x8')]('/:id/users',auth[_0x1060('0x9')](),controller['getAgents']);router[_0x1060('0x14')]('/',auth[_0x1060('0x9')](),controller[_0x1060('0x15')]);router['post'](_0x1060('0xf'),auth['isAuthenticated'](),controller[_0x1060('0x16')]);router['post'](_0x1060('0x10'),auth[_0x1060('0x9')](),controller[_0x1060('0x17')]);router[_0x1060('0x14')]('/:id/notify',controller['notify']);router[_0x1060('0x14')]('/:id/applications',auth[_0x1060('0x9')](),controller[_0x1060('0x18')]);router[_0x1060('0x14')](_0x1060('0x19'),auth['isAuthenticated'](),controller[_0x1060('0x1a')]);router[_0x1060('0x14')](_0x1060('0x1b'),auth['isAuthenticated'](),controller[_0x1060('0x1c')]);router[_0x1060('0x1d')]('/:id',auth[_0x1060('0x9')](),controller[_0x1060('0x1e')]);router[_0x1060('0x1f')](_0x1060('0xd'),auth['isAuthenticated'](),controller['destroy']);router[_0x1060('0x1f')](_0x1060('0xf'),auth[_0x1060('0x9')](),controller[_0x1060('0x20')]);router[_0x1060('0x1f')](_0x1060('0x10'),auth[_0x1060('0x9')](),controller['removeAnswers']);router['delete'](_0x1060('0x19'),auth['isAuthenticated'](),controller[_0x1060('0x21')]);module[_0x1060('0x22')]=router; \ No newline at end of file diff --git a/server/api/openchannelAccount/openchannelAccount.attributes.js b/server/api/openchannelAccount/openchannelAccount.attributes.js index 9539746..b693700 100644 --- a/server/api/openchannelAccount/openchannelAccount.attributes.js +++ b/server/api/openchannelAccount/openchannelAccount.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xdf32=['INTEGER','Status\x20to\x20put\x20when\x20mandatory\x20disposition\x20is\x20enabled','setDataValue','mandatoryDispositionPauseId','mandatoryDisposition','exports','STRING','name','generate','Account:\x20{{account.name}}
{{#queue}}Queue:\x20{{queue.name}}
{{/queue}}From\x20:\x20{{from}}','BOOLEAN'];(function(_0x4a3ae2,_0x453a6f){var _0x227f6b=function(_0x1fa363){while(--_0x1fa363){_0x4a3ae2['push'](_0x4a3ae2['shift']());}};_0x227f6b(++_0x453a6f);}(_0xdf32,0x1c8));var _0x2df3=function(_0x29d041,_0x29c48a){_0x29d041=_0x29d041-0x0;var _0x26ad95=_0xdf32[_0x29d041];return _0x26ad95;};'use strict';var Sequelize=require('sequelize');var rs=require('randomstring');module[_0x2df3('0x0')]={'name':{'type':Sequelize[_0x2df3('0x1')],'unique':_0x2df3('0x2'),'allowNull':![]},'description':{'type':Sequelize[_0x2df3('0x1')]},'token':{'type':Sequelize[_0x2df3('0x1')],'defaultValue':function(){return rs[_0x2df3('0x3')]();}},'replyUri':{'type':Sequelize[_0x2df3('0x1')],'validate':{'isUrl':!![]}},'key':{'type':Sequelize[_0x2df3('0x1')],'allowNull':![]},'notificationTemplate':{'type':Sequelize['TEXT'],'defaultValue':function(){return _0x2df3('0x4');}},'notificationSound':{'type':Sequelize[_0x2df3('0x5')],'defaultValue':!![]},'notificationShake':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'waitForTheAssignedAgent':{'type':Sequelize[_0x2df3('0x6')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'mapKey':{'type':Sequelize['STRING']},'queueTransfer':{'type':Sequelize[_0x2df3('0x5')],'defaultValue':![]},'queueTransferTimeout':{'type':Sequelize[_0x2df3('0x6')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'agentTransfer':{'type':Sequelize[_0x2df3('0x5')],'defaultValue':![]},'agentTransferTimeout':{'type':Sequelize['INTEGER'],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'mandatoryDispositionPauseId':{'type':Sequelize['INTEGER'],'allowNull':!![],'defaultValue':null,'comment':_0x2df3('0x7')},'mandatoryDisposition':{'type':Sequelize[_0x2df3('0x5')],'defaultValue':![],'comment':'Enabled/disables\x20mandatory\x20dispo\x20on\x20a\x20queue','set':function(_0x1b98b7){if(!_0x1b98b7)this[_0x2df3('0x8')](_0x2df3('0x9'),null);this[_0x2df3('0x8')](_0x2df3('0xa'),_0x1b98b7);}}}; \ No newline at end of file +var _0x3ac2=['BOOLEAN','INTEGER','Status\x20to\x20put\x20when\x20mandatory\x20disposition\x20is\x20enabled','Enabled/disables\x20mandatory\x20dispo\x20on\x20a\x20queue','mandatoryDispositionPauseId','sequelize','exports','STRING','TEXT','Account:\x20{{account.name}}
{{#queue}}Queue:\x20{{queue.name}}
{{/queue}}From\x20:\x20{{from}}'];(function(_0x1d7b23,_0x75416d){var _0x50fd26=function(_0x433395){while(--_0x433395){_0x1d7b23['push'](_0x1d7b23['shift']());}};_0x50fd26(++_0x75416d);}(_0x3ac2,0x113));var _0x23ac=function(_0x1d7d88,_0x388641){_0x1d7d88=_0x1d7d88-0x0;var _0x502b70=_0x3ac2[_0x1d7d88];return _0x502b70;};'use strict';var Sequelize=require(_0x23ac('0x0'));var rs=require('randomstring');module[_0x23ac('0x1')]={'name':{'type':Sequelize[_0x23ac('0x2')],'unique':'name','allowNull':![]},'description':{'type':Sequelize[_0x23ac('0x2')]},'token':{'type':Sequelize[_0x23ac('0x2')],'defaultValue':function(){return rs['generate']();}},'replyUri':{'type':Sequelize[_0x23ac('0x2')],'validate':{'isUrl':!![]}},'key':{'type':Sequelize[_0x23ac('0x2')],'allowNull':![]},'notificationTemplate':{'type':Sequelize[_0x23ac('0x3')],'defaultValue':function(){return _0x23ac('0x4');}},'notificationSound':{'type':Sequelize[_0x23ac('0x5')],'defaultValue':!![]},'notificationShake':{'type':Sequelize[_0x23ac('0x5')],'defaultValue':![]},'waitForTheAssignedAgent':{'type':Sequelize['INTEGER'],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'mapKey':{'type':Sequelize[_0x23ac('0x2')]},'queueTransfer':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'queueTransferTimeout':{'type':Sequelize[_0x23ac('0x6')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'agentTransfer':{'type':Sequelize[_0x23ac('0x5')],'defaultValue':![]},'agentTransferTimeout':{'type':Sequelize[_0x23ac('0x6')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'mandatoryDispositionPauseId':{'type':Sequelize[_0x23ac('0x6')],'allowNull':!![],'defaultValue':null,'comment':_0x23ac('0x7')},'mandatoryDisposition':{'type':Sequelize[_0x23ac('0x5')],'defaultValue':![],'comment':_0x23ac('0x8'),'set':function(_0x5552e3){if(!_0x5552e3)this['setDataValue'](_0x23ac('0x9'),null);this['setDataValue']('mandatoryDisposition',_0x5552e3);}}}; \ No newline at end of file diff --git a/server/api/openchannelAccount/openchannelAccount.controller.js b/server/api/openchannelAccount/openchannelAccount.controller.js index e901a08..c2ead9d 100644 --- a/server/api/openchannelAccount/openchannelAccount.controller.js +++ b/server/api/openchannelAccount/openchannelAccount.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xd92c=['orderBy','priority','Contacts','ListId','contact','firstName','threadId','externalUrl','ContactId','OpenchannelInteraction','spread','messageId','interaction','created','autoclose','push','close','OpenchannelMessage','AttachmentId','UserId','unshift','waitForTheAssignedAgent','*,*,*,*','forcedOwnership','startRouting','Start','EventManager','addApplications','sequelize','transaction','bulkCreate','findAndCountAll','getApplications','getInteractions','Contact','User','Owner','internal','Tags','color','tag','addAgents','omit','userOpenchannelAccount:save','removeAgents','isArray','emit','userOpenchannelAccount:remove','getAgents','body\x20is\x20mandatory\x20and\x20not\x20empty','CmList','out','Messages','dataValues','html-pdf','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','mustache','util','sox','lodash','jsforce','desk.js','to-csv','papaparse','../../components/auth/service','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/environment','../../mysqldb','redis','defaults','localhost','socket.io-emitter','./openchannelAccount.socket','register','jayson/promise','client','http','Sequelize','ValidationError','request','then','info','OpenchannelAccount,\x20%s,\x20%s','OpenchannelAccount,\x20%s,\x20%s,\x20%s','request\x20sent','stringify','error','code','message','sendStatus','end','status','json','offset','set','Content-Range','apply','reject','update','destroy','get','OpenchannelAccounts','UserProfileResource','stack','name','send','index','Pause','mandatoryDispositionPause','map','OpenchannelAccount','fieldName','type','key','model','query','keys','intersection','attributes','fields','hasOwnProperty','limit','order','sort','where','filters','pick','filter','merge','VIRTUAL','options','includeAll','include','catch','params','rawAttributes','find','create','body','user','Unable\x20to\x20retrieve\x20the\x20current\x20user','role','autoAssociation','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','describe','addDisposition','OpnechannelAccountId','Disposition','getDispositions','length','nolimit','OpenchannelAccountId','findAll','rows','removeDispositions','ids','addAnswer','CannedAnswer','findOne','count','removeAnswers','notify','openchannel','CmContact','difference','createdAt','updatedAt','CompanyId','isNil','from','from\x20is\x20mandatory','mapKey','mapKey\x20is\x20mandatory,\x20please\x20use\x20one\x20of\x20these:\x20','includes','mapKey\x20invalid,\x20please\x20use\x20one\x20of\x20these:\x20','List','DESC','OpenchannelApplication','Applications','account','applications','list'];(function(_0x1deb03,_0xd05ad8){var _0x189fe7=function(_0x321225){while(--_0x321225){_0x1deb03['push'](_0x1deb03['shift']());}};_0x189fe7(++_0xd05ad8);}(_0xd92c,0x1b2));var _0xcd92=function(_0x594fa3,_0x1902eb){_0x594fa3=_0x594fa3-0x0;var _0x2bb77b=_0xd92c[_0x594fa3];return _0x2bb77b;};'use strict';var pdf=require(_0xcd92('0x0'));var emlformat=require('eml-format');var rimraf=require(_0xcd92('0x1'));var zipdir=require(_0xcd92('0x2'));var jsonpatch=require(_0xcd92('0x3'));var rp=require(_0xcd92('0x4'));var moment=require(_0xcd92('0x5'));var BPromise=require(_0xcd92('0x6'));var Mustache=require(_0xcd92('0x7'));var util=require(_0xcd92('0x8'));var path=require('path');var sox=require(_0xcd92('0x9'));var csv=require('to-csv');var ejs=require('ejs');var fs=require('fs');var _=require(_0xcd92('0xa'));var squel=require('squel');var crypto=require('crypto');var jsforce=require(_0xcd92('0xb'));var deskjs=require(_0xcd92('0xc'));var toCsv=require(_0xcd92('0xd'));var querystring=require('querystring');var Papa=require(_0xcd92('0xe'));var Redis=require('ioredis');var authService=require(_0xcd92('0xf'));var qs=require('../../components/parsers/qs');var as=require(_0xcd92('0x10'));var hardwareService=require(_0xcd92('0x11'));var logger=require(_0xcd92('0x12'))(_0xcd92('0x13'));var utils=require('../../config/utils');var config=require(_0xcd92('0x14'));var db=require(_0xcd92('0x15'))['db'];config[_0xcd92('0x16')]=_[_0xcd92('0x17')](config['redis'],{'host':_0xcd92('0x18'),'port':0x18eb});var socket=require(_0xcd92('0x19'))(new Redis(config[_0xcd92('0x16')]));require(_0xcd92('0x1a'))[_0xcd92('0x1b')](socket);var jayson=require(_0xcd92('0x1c'));var client=jayson[_0xcd92('0x1d')][_0xcd92('0x1e')]({'port':0x232c});var client9002=jayson[_0xcd92('0x1d')][_0xcd92('0x1e')]({'port':0x232a});function checkPasswordPattern(_0x41cf12,_0x1a8968,_0x24da0f){if(_0x24da0f){var _0x2f800e=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0x2f800e['test'](_0x1a8968)){return _0x41cf12;}else{throw new db[(_0xcd92('0x1f'))][(_0xcd92('0x20'))]('The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.');}}else{return _0x41cf12;}}function respondWithRpcPromise(_0x3a66be,_0x2f9986,_0x5469a6,_0x3367da){return new BPromise(function(_0x3452d2,_0x418400){var _0x25cc56=_0x3367da||client;return _0x25cc56[_0xcd92('0x21')](_0x3a66be,_0x5469a6)[_0xcd92('0x22')](function(_0x5092e6){logger[_0xcd92('0x23')](_0xcd92('0x24'),_0x2f9986,'request\x20sent');logger['debug'](_0xcd92('0x25'),_0x2f9986,_0xcd92('0x26'),JSON[_0xcd92('0x27')](_0x5092e6));if(_0x5092e6[_0xcd92('0x28')]){if(_0x5092e6[_0xcd92('0x28')][_0xcd92('0x29')]===0x1f4){logger['error'](_0xcd92('0x24'),_0x2f9986,_0x5092e6[_0xcd92('0x28')][_0xcd92('0x2a')]);return _0x418400(_0x5092e6[_0xcd92('0x28')][_0xcd92('0x2a')]);}logger[_0xcd92('0x28')]('OpenchannelAccount,\x20%s,\x20%s',_0x2f9986,_0x5092e6['error'][_0xcd92('0x2a')]);return _0x3452d2(_0x5092e6[_0xcd92('0x28')][_0xcd92('0x2a')]);}else{logger[_0xcd92('0x23')](_0xcd92('0x24'),_0x2f9986,_0xcd92('0x26'));_0x3452d2(_0x5092e6['result'][_0xcd92('0x2a')]);}})['catch'](function(_0x32a6af){logger[_0xcd92('0x28')](_0xcd92('0x24'),_0x2f9986,_0x32a6af);_0x418400(_0x32a6af);});});}function respondWithStatusCode(_0x4e260a,_0x37befe){_0x37befe=_0x37befe||0xcc;return function(_0x251ce2){if(_0x251ce2){return _0x4e260a[_0xcd92('0x2b')](_0x37befe);}return _0x4e260a['status'](_0x37befe)[_0xcd92('0x2c')]();};}function respondWithResult(_0x48b4cf,_0x154f5c){_0x154f5c=_0x154f5c||0xc8;return function(_0x2e70de){if(_0x2e70de){return _0x48b4cf[_0xcd92('0x2d')](_0x154f5c)[_0xcd92('0x2e')](_0x2e70de);}};}function respondWithFilteredResult(_0x22c229,_0x3af92f){return function(_0x25eafb){if(_0x25eafb){var _0x51aafc=_0x25eafb['count'],_0xc9dac6=_0x3af92f[_0xcd92('0x2f')],_0x40fcbb=_0x3af92f[_0xcd92('0x2f')]+_0x3af92f['limit'],_0x3f3c79;if(_0x40fcbb>=_0x51aafc){_0x40fcbb=_0x51aafc;_0x3f3c79=0xc8;}else{_0x3f3c79=0xce;}_0x22c229[_0xcd92('0x2d')](_0x3f3c79);return _0x22c229[_0xcd92('0x30')](_0xcd92('0x31'),_0xc9dac6+'-'+_0x40fcbb+'/'+_0x51aafc)[_0xcd92('0x2e')](_0x25eafb);}return null;};}function patchUpdates(_0x581d2b){return function(_0x1c82df){try{jsonpatch[_0xcd92('0x32')](_0x1c82df,_0x581d2b,!![]);}catch(_0x337f14){return BPromise[_0xcd92('0x33')](_0x337f14);}return _0x1c82df['save']();};}function saveUpdates(_0x163629,_0x3af23b){return function(_0x44b75e){if(_0x44b75e){return _0x44b75e[_0xcd92('0x34')](_0x163629)[_0xcd92('0x22')](function(_0x307571){return _0x307571;});}return null;};}function removeEntity(_0x2ebab0,_0x4673db){return function(_0x27f3e5){if(_0x27f3e5){return _0x27f3e5[_0xcd92('0x35')]()[_0xcd92('0x22')](function(){var _0x3f9fc6=_0x27f3e5[_0xcd92('0x36')]({'plain':!![]});var _0x44d8f8=_0xcd92('0x37');return db[_0xcd92('0x38')]['destroy']({'where':{'type':_0x44d8f8,'resourceId':_0x3f9fc6['id']}})[_0xcd92('0x22')](function(){return _0x27f3e5;});})[_0xcd92('0x22')](function(){_0x2ebab0[_0xcd92('0x2d')](0xcc)['end']();});}};}function handleEntityNotFound(_0x379518,_0x24dec2){return function(_0x477f39){if(!_0x477f39){_0x379518[_0xcd92('0x2b')](0x194);}return _0x477f39;};}function handleError(_0x3880c9,_0x683a74){_0x683a74=_0x683a74||0x1f4;return function(_0xcf061e){logger[_0xcd92('0x28')](_0xcf061e[_0xcd92('0x39')]);if(_0xcf061e['name']){delete _0xcf061e[_0xcd92('0x3a')];}_0x3880c9[_0xcd92('0x2d')](_0x683a74)[_0xcd92('0x3b')](_0xcf061e);};}exports[_0xcd92('0x3c')]=function(_0x45fb7f,_0xa9d828){var _0x2ca33c={'include':[{'model':db[_0xcd92('0x3d')],'as':_0xcd92('0x3e')}]},_0x6c4ad4={},_0x987cf3={'count':0x0,'rows':[]};var _0x3c9cb6=_[_0xcd92('0x3f')](db[_0xcd92('0x40')]['rawAttributes'],function(_0x2c970d){return{'name':_0x2c970d[_0xcd92('0x41')],'type':_0x2c970d[_0xcd92('0x42')][_0xcd92('0x43')]};});_0x6c4ad4[_0xcd92('0x44')]=_[_0xcd92('0x3f')](_0x3c9cb6,_0xcd92('0x3a'));_0x6c4ad4[_0xcd92('0x45')]=_[_0xcd92('0x46')](_0x45fb7f['query']);_0x6c4ad4['filters']=_[_0xcd92('0x47')](_0x6c4ad4[_0xcd92('0x44')],_0x6c4ad4[_0xcd92('0x45')]);_0x2ca33c[_0xcd92('0x48')]=_['intersection'](_0x6c4ad4[_0xcd92('0x44')],qs[_0xcd92('0x49')](_0x45fb7f['query'][_0xcd92('0x49')]));_0x2ca33c[_0xcd92('0x48')]=_0x2ca33c[_0xcd92('0x48')]['length']?_0x2ca33c['attributes']:_0x6c4ad4[_0xcd92('0x44')];if(!_0x45fb7f[_0xcd92('0x45')][_0xcd92('0x4a')]('nolimit')){_0x2ca33c['limit']=qs[_0xcd92('0x4b')](_0x45fb7f['query'][_0xcd92('0x4b')]);_0x2ca33c[_0xcd92('0x2f')]=qs[_0xcd92('0x2f')](_0x45fb7f[_0xcd92('0x45')][_0xcd92('0x2f')]);}_0x2ca33c[_0xcd92('0x4c')]=qs['sort'](_0x45fb7f[_0xcd92('0x45')][_0xcd92('0x4d')]);_0x2ca33c[_0xcd92('0x4e')]=qs[_0xcd92('0x4f')](_[_0xcd92('0x50')](_0x45fb7f[_0xcd92('0x45')],_0x6c4ad4[_0xcd92('0x4f')]),_0x3c9cb6);if(_0x45fb7f['query'][_0xcd92('0x51')]){_0x2ca33c['where']=_[_0xcd92('0x52')](_0x2ca33c[_0xcd92('0x4e')],{'$or':_[_0xcd92('0x3f')](_0x3c9cb6,function(_0x26161f){if(_0x26161f[_0xcd92('0x42')]!==_0xcd92('0x53')){var _0x188341={};_0x188341[_0x26161f[_0xcd92('0x3a')]]={'$like':'%'+_0x45fb7f[_0xcd92('0x45')]['filter']+'%'};return _0x188341;}})});}_0x2ca33c=_[_0xcd92('0x52')]({},_0x2ca33c,_0x45fb7f[_0xcd92('0x54')]);var _0x406d44={'where':_0x2ca33c[_0xcd92('0x4e')]};return db[_0xcd92('0x40')]['count'](_0x406d44)[_0xcd92('0x22')](function(_0x1830f7){_0x987cf3['count']=_0x1830f7;if(_0x45fb7f[_0xcd92('0x45')][_0xcd92('0x55')]){_0x2ca33c[_0xcd92('0x56')]=[{'all':!![]}];}return db['OpenchannelAccount']['findAll'](_0x2ca33c);})[_0xcd92('0x22')](function(_0x1213c8){_0x987cf3['rows']=_0x1213c8;return _0x987cf3;})[_0xcd92('0x22')](respondWithFilteredResult(_0xa9d828,_0x2ca33c))[_0xcd92('0x57')](handleError(_0xa9d828,null));};exports['show']=function(_0x475ae3,_0x5b6332){var _0x551e29={'raw':![],'where':{'id':_0x475ae3[_0xcd92('0x58')]['id']},'include':[{'model':db[_0xcd92('0x3d')],'as':_0xcd92('0x3e')}]},_0x524e2c={};_0x524e2c['model']=_[_0xcd92('0x46')](db[_0xcd92('0x40')][_0xcd92('0x59')]);_0x524e2c['query']=_[_0xcd92('0x46')](_0x475ae3['query']);_0x524e2c['filters']=_[_0xcd92('0x47')](_0x524e2c['model'],_0x524e2c[_0xcd92('0x45')]);_0x551e29[_0xcd92('0x48')]=_[_0xcd92('0x47')](_0x524e2c['model'],qs[_0xcd92('0x49')](_0x475ae3[_0xcd92('0x45')][_0xcd92('0x49')]));_0x551e29[_0xcd92('0x48')]=_0x551e29['attributes']['length']?_0x551e29[_0xcd92('0x48')]:_0x524e2c['model'];if(_0x475ae3[_0xcd92('0x45')]['includeAll']){_0x551e29[_0xcd92('0x56')]=[{'all':!![]}];}_0x551e29=_['merge']({},_0x551e29,_0x475ae3[_0xcd92('0x54')]);return db[_0xcd92('0x40')][_0xcd92('0x5a')](_0x551e29)[_0xcd92('0x22')](handleEntityNotFound(_0x5b6332,null))[_0xcd92('0x22')](respondWithResult(_0x5b6332,null))['catch'](handleError(_0x5b6332,null));};exports[_0xcd92('0x5b')]=function(_0x55d677,_0x531f42){return db[_0xcd92('0x40')][_0xcd92('0x5b')](_0x55d677[_0xcd92('0x5c')],{})['then'](function(_0x5001dc){var _0x436dac=_0x55d677[_0xcd92('0x5d')][_0xcd92('0x36')]({'plain':!![]});if(!_0x436dac)throw new Error(_0xcd92('0x5e'));if(_0x436dac[_0xcd92('0x5f')]===_0xcd92('0x5d')){var _0x271acc=_0x5001dc['get']({'plain':!![]});var _0x11ee7c=_0xcd92('0x37');return db['UserProfileSection'][_0xcd92('0x5a')]({'where':{'name':_0x11ee7c,'userProfileId':_0x436dac['userProfileId']},'raw':!![]})[_0xcd92('0x22')](function(_0x14d0b0){if(_0x14d0b0&&_0x14d0b0[_0xcd92('0x60')]===0x0){return db[_0xcd92('0x38')][_0xcd92('0x5b')]({'name':_0x271acc[_0xcd92('0x3a')],'resourceId':_0x271acc['id'],'type':_0x14d0b0['name'],'sectionId':_0x14d0b0['id']},{})[_0xcd92('0x22')](function(){return _0x5001dc;});}else{return _0x5001dc;}})[_0xcd92('0x57')](function(_0x421749){logger[_0xcd92('0x28')](_0xcd92('0x61'),_0x421749);throw _0x421749;});}return _0x5001dc;})['then'](respondWithResult(_0x531f42,0xc9))[_0xcd92('0x57')](handleError(_0x531f42,null));};exports['update']=function(_0x1645ec,_0x2e0d87){if(_0x1645ec[_0xcd92('0x5c')]['id']){delete _0x1645ec[_0xcd92('0x5c')]['id'];}return db['OpenchannelAccount'][_0xcd92('0x5a')]({'where':{'id':_0x1645ec[_0xcd92('0x58')]['id']},'include':[{'model':db['Pause'],'as':_0xcd92('0x3e')}]})[_0xcd92('0x22')](handleEntityNotFound(_0x2e0d87,null))[_0xcd92('0x22')](saveUpdates(_0x1645ec[_0xcd92('0x5c')],null))[_0xcd92('0x22')](respondWithResult(_0x2e0d87,null))[_0xcd92('0x57')](handleError(_0x2e0d87,null));};exports[_0xcd92('0x35')]=function(_0x1f0c30,_0x534dd3){return db[_0xcd92('0x40')][_0xcd92('0x5a')]({'where':{'id':_0x1f0c30[_0xcd92('0x58')]['id']}})['then'](handleEntityNotFound(_0x534dd3,null))[_0xcd92('0x22')](removeEntity(_0x534dd3,null))[_0xcd92('0x57')](handleError(_0x534dd3,null));};exports['describe']=function(_0x26962e,_0x24e78f){return db['OpenchannelAccount'][_0xcd92('0x62')]()[_0xcd92('0x22')](respondWithResult(_0x24e78f,null))['catch'](handleError(_0x24e78f,null));};exports[_0xcd92('0x63')]=function(_0x2cdc75,_0x3f28fa,_0x141ae3){if(_0x2cdc75[_0xcd92('0x5c')]['id']){delete _0x2cdc75[_0xcd92('0x5c')]['id'];}return db['OpenchannelAccount']['find']({'where':{'id':_0x2cdc75['params']['id']}})[_0xcd92('0x22')](handleEntityNotFound(_0x3f28fa,null))[_0xcd92('0x22')](function(_0x1215fd){if(_0x1215fd){_0x2cdc75[_0xcd92('0x5c')][_0xcd92('0x64')]=_0x1215fd['id'];return db[_0xcd92('0x65')][_0xcd92('0x5b')](_0x2cdc75[_0xcd92('0x5c')]);}})[_0xcd92('0x22')](respondWithResult(_0x3f28fa,null))['catch'](handleError(_0x3f28fa,null));};exports[_0xcd92('0x66')]=function(_0x4e61a2,_0x44e1a1,_0xa17741){var _0x1c26ad={'raw':![],'where':{}};var _0x4bfb13={};var _0x54267d={'count':0x0,'rows':[]};return db[_0xcd92('0x40')]['findOne']({'where':{'id':_0x4e61a2['params']['id']}})[_0xcd92('0x22')](handleEntityNotFound(_0x44e1a1,null))[_0xcd92('0x22')](function(_0x255bfb){if(_0x255bfb){_0x4bfb13['model']=_[_0xcd92('0x46')](db[_0xcd92('0x65')][_0xcd92('0x59')]);_0x4bfb13[_0xcd92('0x45')]=_[_0xcd92('0x46')](_0x4e61a2[_0xcd92('0x45')]);_0x4bfb13[_0xcd92('0x4f')]=_[_0xcd92('0x47')](_0x4bfb13[_0xcd92('0x44')],_0x4bfb13[_0xcd92('0x45')]);_0x1c26ad[_0xcd92('0x48')]=_[_0xcd92('0x47')](_0x4bfb13[_0xcd92('0x44')],qs['fields'](_0x4e61a2[_0xcd92('0x45')][_0xcd92('0x49')]));_0x1c26ad[_0xcd92('0x48')]=_0x1c26ad[_0xcd92('0x48')][_0xcd92('0x67')]?_0x1c26ad[_0xcd92('0x48')]:_0x4bfb13[_0xcd92('0x44')];if(!_0x4e61a2[_0xcd92('0x45')][_0xcd92('0x4a')](_0xcd92('0x68'))){_0x1c26ad[_0xcd92('0x4b')]=qs[_0xcd92('0x4b')](_0x4e61a2[_0xcd92('0x45')][_0xcd92('0x4b')]);_0x1c26ad['offset']=qs['offset'](_0x4e61a2['query'][_0xcd92('0x2f')]);}_0x1c26ad[_0xcd92('0x4c')]=qs[_0xcd92('0x4d')](_0x4e61a2[_0xcd92('0x45')][_0xcd92('0x4d')]);_0x1c26ad[_0xcd92('0x4e')]=qs['filters'](_[_0xcd92('0x50')](_0x4e61a2[_0xcd92('0x45')],_0x4bfb13['filters']));_0x1c26ad[_0xcd92('0x4e')][_0xcd92('0x69')]=_0x255bfb['id'];if(_0x4e61a2[_0xcd92('0x45')][_0xcd92('0x51')]){_0x1c26ad[_0xcd92('0x4e')]=_[_0xcd92('0x52')](_0x1c26ad[_0xcd92('0x4e')],{'$or':_[_0xcd92('0x3f')](_0x1c26ad[_0xcd92('0x48')],function(_0x52f04f){var _0x201ec4={};_0x201ec4[_0x52f04f]={'$like':'%'+_0x4e61a2[_0xcd92('0x45')][_0xcd92('0x51')]+'%'};return _0x201ec4;})});}_0x1c26ad=_[_0xcd92('0x52')]({},_0x1c26ad,_0x4e61a2[_0xcd92('0x54')]);return db[_0xcd92('0x65')]['count']({'where':_0x1c26ad[_0xcd92('0x4e')]})[_0xcd92('0x22')](function(_0x36b24a){_0x54267d['count']=_0x36b24a;if(_0x4e61a2['query'][_0xcd92('0x55')]){_0x1c26ad[_0xcd92('0x56')]=[{'all':!![]}];}return db[_0xcd92('0x65')][_0xcd92('0x6a')](_0x1c26ad);})['then'](function(_0x5200f1){_0x54267d[_0xcd92('0x6b')]=_0x5200f1;return _0x54267d;});}})[_0xcd92('0x22')](respondWithFilteredResult(_0x44e1a1,_0x1c26ad))[_0xcd92('0x57')](handleError(_0x44e1a1,null));};exports[_0xcd92('0x6c')]=function(_0x30281b,_0x116fa4,_0x3be630){return db[_0xcd92('0x40')][_0xcd92('0x5a')]({'where':{'id':_0x30281b[_0xcd92('0x58')]['id']}})[_0xcd92('0x22')](handleEntityNotFound(_0x116fa4,null))[_0xcd92('0x22')](function(_0x419482){if(_0x419482){return _0x419482[_0xcd92('0x6c')](_0x30281b[_0xcd92('0x45')][_0xcd92('0x6d')]);}})[_0xcd92('0x22')](respondWithStatusCode(_0x116fa4,null))[_0xcd92('0x57')](handleError(_0x116fa4,null));};exports[_0xcd92('0x6e')]=function(_0x10eeea,_0x409544,_0x236a13){if(_0x10eeea[_0xcd92('0x5c')]['id']){delete _0x10eeea[_0xcd92('0x5c')]['id'];}return db[_0xcd92('0x40')][_0xcd92('0x5a')]({'where':{'id':_0x10eeea[_0xcd92('0x58')]['id']}})['then'](handleEntityNotFound(_0x409544,null))['then'](function(_0x5dc41c){if(_0x5dc41c){_0x10eeea['body'][_0xcd92('0x69')]=_0x5dc41c['id'];return db[_0xcd92('0x6f')][_0xcd92('0x5b')](_0x10eeea[_0xcd92('0x5c')]);}})[_0xcd92('0x22')](respondWithResult(_0x409544,null))[_0xcd92('0x57')](handleError(_0x409544,null));};exports['getAnswers']=function(_0x208aa4,_0x464138,_0x297c3e){var _0x232eb9={'raw':![],'where':{}};var _0x1a2a16={};var _0x58ce01={'count':0x0,'rows':[]};return db['OpenchannelAccount'][_0xcd92('0x70')]({'where':{'id':_0x208aa4[_0xcd92('0x58')]['id']}})[_0xcd92('0x22')](handleEntityNotFound(_0x464138,null))['then'](function(_0x3b0058){if(_0x3b0058){_0x1a2a16[_0xcd92('0x44')]=_[_0xcd92('0x46')](db[_0xcd92('0x6f')]['rawAttributes']);_0x1a2a16['query']=_[_0xcd92('0x46')](_0x208aa4[_0xcd92('0x45')]);_0x1a2a16[_0xcd92('0x4f')]=_[_0xcd92('0x47')](_0x1a2a16[_0xcd92('0x44')],_0x1a2a16[_0xcd92('0x45')]);_0x232eb9['attributes']=_[_0xcd92('0x47')](_0x1a2a16[_0xcd92('0x44')],qs['fields'](_0x208aa4[_0xcd92('0x45')][_0xcd92('0x49')]));_0x232eb9[_0xcd92('0x48')]=_0x232eb9[_0xcd92('0x48')]['length']?_0x232eb9[_0xcd92('0x48')]:_0x1a2a16[_0xcd92('0x44')];if(!_0x208aa4[_0xcd92('0x45')][_0xcd92('0x4a')]('nolimit')){_0x232eb9[_0xcd92('0x4b')]=qs[_0xcd92('0x4b')](_0x208aa4['query'][_0xcd92('0x4b')]);_0x232eb9[_0xcd92('0x2f')]=qs[_0xcd92('0x2f')](_0x208aa4['query']['offset']);}_0x232eb9['order']=qs[_0xcd92('0x4d')](_0x208aa4[_0xcd92('0x45')][_0xcd92('0x4d')]);_0x232eb9[_0xcd92('0x4e')]=qs[_0xcd92('0x4f')](_[_0xcd92('0x50')](_0x208aa4[_0xcd92('0x45')],_0x1a2a16[_0xcd92('0x4f')]));_0x232eb9['where'][_0xcd92('0x69')]=_0x3b0058['id'];if(_0x208aa4[_0xcd92('0x45')]['filter']){_0x232eb9[_0xcd92('0x4e')]=_[_0xcd92('0x52')](_0x232eb9[_0xcd92('0x4e')],{'$or':_[_0xcd92('0x3f')](_0x232eb9[_0xcd92('0x48')],function(_0xfc97e0){var _0xd2a781={};_0xd2a781[_0xfc97e0]={'$like':'%'+_0x208aa4[_0xcd92('0x45')]['filter']+'%'};return _0xd2a781;})});}_0x232eb9=_[_0xcd92('0x52')]({},_0x232eb9,_0x208aa4[_0xcd92('0x54')]);return db[_0xcd92('0x6f')][_0xcd92('0x71')]({'where':_0x232eb9['where']})[_0xcd92('0x22')](function(_0x3c2c23){_0x58ce01[_0xcd92('0x71')]=_0x3c2c23;if(_0x208aa4['query'][_0xcd92('0x55')]){_0x232eb9[_0xcd92('0x56')]=[{'all':!![]}];}return db[_0xcd92('0x6f')][_0xcd92('0x6a')](_0x232eb9);})[_0xcd92('0x22')](function(_0x3092f6){_0x58ce01[_0xcd92('0x6b')]=_0x3092f6;return _0x58ce01;});}})[_0xcd92('0x22')](respondWithFilteredResult(_0x464138,_0x232eb9))[_0xcd92('0x57')](handleError(_0x464138,null));};exports['removeAnswers']=function(_0x575d6f,_0x5d41df,_0x21264b){return db[_0xcd92('0x40')][_0xcd92('0x5a')]({'where':{'id':_0x575d6f[_0xcd92('0x58')]['id']}})[_0xcd92('0x22')](handleEntityNotFound(_0x5d41df,null))['then'](function(_0x3034f9){if(_0x3034f9){return _0x3034f9[_0xcd92('0x72')](_0x575d6f[_0xcd92('0x45')][_0xcd92('0x6d')]);}})[_0xcd92('0x22')](respondWithStatusCode(_0x5d41df,null))['catch'](handleError(_0x5d41df,null));};exports[_0xcd92('0x73')]=function(_0x20e201,_0x4e9309,_0x4debaf){var _0x4e141c={'body':_0x20e201['body'],'channel':_0xcd92('0x74')};var _0x191c88=[];var _0x44b78d=[];var _0x91b65f={};var _0x9214c6=![];return db[_0xcd92('0x75')][_0xcd92('0x62')]()['then'](function(_0x37e0ce){if(!_0x37e0ce){throw new db[(_0xcd92('0x1f'))]['ValidationError']('no\x20available\x20attributes');}_0x191c88=_[_0xcd92('0x76')](_[_0xcd92('0x46')](_0x37e0ce),[_0xcd92('0x77'),_0xcd92('0x78')]);_0x44b78d=_['difference'](_[_0xcd92('0x46')](_0x37e0ce),[_0xcd92('0x77'),_0xcd92('0x78'),_0xcd92('0x79'),'ListId']);if(_0x20e201[_0xcd92('0x5c')]['id']){delete _0x20e201['body']['id'];}if(_[_0xcd92('0x7a')](_0x20e201[_0xcd92('0x5c')][_0xcd92('0x7b')])){throw new db[(_0xcd92('0x1f'))][(_0xcd92('0x20'))](_0xcd92('0x7c'));}if(_['isNil'](_0x20e201[_0xcd92('0x5c')]['body'])||_0x20e201['body']['body']===''){throw new db[(_0xcd92('0x1f'))][(_0xcd92('0x20'))]('body\x20is\x20mandatory\x20and\x20not\x20empty');}if(_['isNil'](_0x20e201['body'][_0xcd92('0x7d')])){throw new db[(_0xcd92('0x1f'))][(_0xcd92('0x20'))](_0xcd92('0x7e')+_0x44b78d);}if(!_[_0xcd92('0x7f')](_0x44b78d,_0x20e201['body'][_0xcd92('0x7d')])){throw new db[(_0xcd92('0x1f'))][(_0xcd92('0x20'))](_0xcd92('0x80')+_0x44b78d);}_0x91b65f[_0x20e201[_0xcd92('0x5c')]['mapKey']]=_0x20e201[_0xcd92('0x5c')][_0xcd92('0x7b')];})[_0xcd92('0x22')](function(){return db[_0xcd92('0x40')]['find']({'where':{'id':_0x20e201[_0xcd92('0x58')]['id']},'include':[{'model':db['CmList'],'as':_0xcd92('0x81'),'include':[{'model':db[_0xcd92('0x75')],'as':'Contacts','where':_0x91b65f,'limit':0x1,'order':[[_0xcd92('0x78'),_0xcd92('0x82')]]}]},{'model':db[_0xcd92('0x83')],'as':_0xcd92('0x84')}]});})[_0xcd92('0x22')](handleEntityNotFound(_0x4e9309,null))[_0xcd92('0x22')](function(_0x5707db){if(_0x5707db&&_0x5707db[_0xcd92('0x81')]){_0x4e141c[_0xcd92('0x85')]=_0x5707db;_0x4e141c[_0xcd92('0x86')]=_0x5707db[_0xcd92('0x84')];_0x4e141c[_0xcd92('0x87')]=_0x5707db[_0xcd92('0x81')];_0x4e141c[_0xcd92('0x86')]=_[_0xcd92('0x88')](_0x4e141c[_0xcd92('0x86')],[_0xcd92('0x89')],['asc']);if(_0x4e141c['account'][_0xcd92('0x84')]){delete _0x4e141c[_0xcd92('0x85')][_0xcd92('0x84')];}if(_0x4e141c[_0xcd92('0x85')][_0xcd92('0x81')]&&_0x4e141c[_0xcd92('0x85')][_0xcd92('0x81')][_0xcd92('0x8a')][_0xcd92('0x67')]){return _0x4e141c[_0xcd92('0x85')][_0xcd92('0x81')][_0xcd92('0x8a')][0x0];}var _0x111062=_['defaults'](_0x20e201[_0xcd92('0x5c')],{'firstName':_0x20e201[_0xcd92('0x5c')][_0xcd92('0x7b')],'ListId':_0x5707db[_0xcd92('0x8b')]});_0x111062[_0x20e201['body'][_0xcd92('0x7d')]]=_0x20e201['body'][_0xcd92('0x7b')];return db[_0xcd92('0x75')][_0xcd92('0x5b')](_0x111062,{'fields':_0x191c88,'raw':!![]});}})[_0xcd92('0x22')](handleEntityNotFound(_0x4e9309,null))['then'](function(_0x309427){_0x4e141c[_0xcd92('0x8c')]=_0x309427;if(_0x309427){var _0x6e277b={'ContactId':_0x309427['id'],'OpenchannelAccountId':_0x20e201['params']['id'],'from':(_0x309427[_0xcd92('0x8d')]||'')+'\x20'+(_0x309427['lastName']||'')};var _0x13ebba={'OpenchannelAccountId':_0x20e201['params']['id'],'closed':![]};if(_0x20e201[_0xcd92('0x5c')][_0xcd92('0x8e')]){_0x13ebba[_0xcd92('0x8e')]=_0x20e201[_0xcd92('0x5c')][_0xcd92('0x8e')];return db['OpenchannelInteraction'][_0xcd92('0x5a')]({'where':_0x13ebba})[_0xcd92('0x22')](function(_0x1f8ec0){if(_0x1f8ec0){return[_0x1f8ec0,![]];}_0x6e277b[_0xcd92('0x8e')]=_0x20e201['body'][_0xcd92('0x8e')];_0x6e277b[_0xcd92('0x8f')]=_0x20e201['body'][_0xcd92('0x8f')];return db['OpenchannelInteraction'][_0xcd92('0x5b')](_0x6e277b)['then'](function(_0x4a6d4a){return[_0x4a6d4a,!![]];});});}else{_0x13ebba[_0xcd92('0x8e')]=null;}_0x13ebba[_0xcd92('0x90')]=_0x309427['id'];return db[_0xcd92('0x91')]['find']({'where':_0x13ebba})[_0xcd92('0x22')](function(_0x501c27){if(_0x501c27){return[_0x501c27,![]];}return db[_0xcd92('0x91')][_0xcd92('0x5b')](_0x6e277b)[_0xcd92('0x22')](function(_0x16dcfb){return[_0x16dcfb,!![]];});});}})[_0xcd92('0x92')](function(_0x2325b6,_0x5a51a0){if(_0x2325b6){_0x9214c6=_0x5a51a0;if(!_0x5a51a0){var _0x5817b0={'from':(_0x4e141c[_0xcd92('0x8c')][_0xcd92('0x8d')]||'')+'\x20'+(_0x4e141c[_0xcd92('0x8c')]['lastName']||'')};if(_0x20e201[_0xcd92('0x5c')][_0xcd92('0x8e')]&&_0x20e201['body'][_0xcd92('0x93')]&&_0x20e201[_0xcd92('0x5c')][_0xcd92('0x8e')]!=_0x20e201[_0xcd92('0x5c')][_0xcd92('0x93')]){_0x5817b0[_0xcd92('0x8e')]=_0x20e201[_0xcd92('0x5c')][_0xcd92('0x93')];}return _0x2325b6['update'](_0x5817b0);}else{return _0x2325b6;}}})[_0xcd92('0x22')](function(_0x48c106){_0x4e141c[_0xcd92('0x94')]=_0x48c106[_0xcd92('0x36')]({'plain':!![]});_0x4e141c[_0xcd92('0x94')][_0xcd92('0x95')]=_0x9214c6;if(_0x4e141c[_0xcd92('0x94')]['created']){if(_0x4e141c[_0xcd92('0x85')][_0xcd92('0x96')]){_0x4e141c['applications'][_0xcd92('0x97')]({'id':0x0,'priority':_0x4e141c[_0xcd92('0x86')][_0xcd92('0x67')]+0x1,'app':_0xcd92('0x98'),'appdata':'unmanaged','interval':'*,*,*,*'});}}return db[_0xcd92('0x99')][_0xcd92('0x5b')]({'body':_0x20e201['body'][_0xcd92('0x5c')],'OpenchannelAccountId':_0x20e201[_0xcd92('0x58')]['id'],'OpenchannelInteractionId':_0x48c106['id'],'direction':'in','ContactId':_0x4e141c[_0xcd92('0x8c')]['id'],'AttachmentId':_0x20e201[_0xcd92('0x5c')][_0xcd92('0x9a')]});})['then'](function(_0x3f0892){_0x4e141c[_0xcd92('0x2a')]=_0x3f0892;if(_0x4e141c[_0xcd92('0x94')][_0xcd92('0x9b')]){return db['User'][_0xcd92('0x5a')]({'attributes':['id',_0xcd92('0x3a')],'where':{'id':_0x4e141c[_0xcd92('0x94')][_0xcd92('0x9b')]}})[_0xcd92('0x22')](function(_0x125d9c){if(_0x125d9c){_0x4e141c[_0xcd92('0x86')][_0xcd92('0x9c')]({'id':0x0,'priority':0x0,'app':'agent','appdata':_0x125d9c['name']+','+(_0x4e141c['account'][_0xcd92('0x9d')]||0xa),'interval':_0xcd92('0x9e')});_0x4e141c[_0xcd92('0x9f')]=![];}return respondWithRpcPromise('Start',_0xcd92('0xa0'),_0x4e141c);});}return respondWithRpcPromise(_0xcd92('0xa1'),_0xcd92('0xa0'),_0x4e141c);})[_0xcd92('0x22')](function(_0x42ec87){respondWithRpcPromise(_0xcd92('0xa2'),'EventManager',{'event':_0xcd92('0x73'),'message':_0x42ec87},client9002);return _0x42ec87;})['then'](respondWithResult(_0x4e9309,null))[_0xcd92('0x57')](handleError(_0x4e9309,null));};exports[_0xcd92('0xa3')]=function(_0x3a6970,_0x2f4a70,_0x4f6cbe){return db[_0xcd92('0x40')]['findOne']({'where':{'id':_0x3a6970[_0xcd92('0x58')]['id']}})[_0xcd92('0x22')](handleEntityNotFound(_0x2f4a70,null))[_0xcd92('0x22')](function(_0xc2905b){if(_0xc2905b){return db[_0xcd92('0xa4')][_0xcd92('0xa5')](function(_0x417e92){return db[_0xcd92('0x83')]['destroy']({'where':{'OpenchannelAccountId':_0x3a6970[_0xcd92('0x58')]['id']},'transaction':_0x417e92})[_0xcd92('0x22')](function(_0x3d20d7){var _0xc7cbe3=_[_0xcd92('0x3f')](_0x3a6970[_0xcd92('0x5c')],function(_0x8ecf0b){_0x8ecf0b[_0xcd92('0x69')]=_0x3a6970[_0xcd92('0x58')]['id'];return _0x8ecf0b;});return db[_0xcd92('0x83')][_0xcd92('0xa6')](_0xc7cbe3,{'transaction':_0x417e92});});})['then'](function(){return db['OpenchannelApplication'][_0xcd92('0xa7')]({'where':{'OpenchannelAccountId':_0x3a6970['params']['id']},'order':_0xcd92('0x89')});});}})['then'](respondWithResult(_0x2f4a70,null))[_0xcd92('0x57')](handleError(_0x2f4a70,null));};exports[_0xcd92('0xa8')]=function(_0x28be19,_0x45c842,_0x3d67c5){var _0x3131d3={};var _0x426c63={};var _0x2d7c46;var _0x2d307b;return db[_0xcd92('0x40')][_0xcd92('0x70')]({'where':{'id':_0x28be19['params']['id']}})[_0xcd92('0x22')](handleEntityNotFound(_0x45c842,null))[_0xcd92('0x22')](function(_0x2b7274){if(_0x2b7274){_0x2d7c46=_0x2b7274;_0x426c63['model']=_[_0xcd92('0x46')](db[_0xcd92('0x83')][_0xcd92('0x59')]);_0x426c63[_0xcd92('0x45')]=_['keys'](_0x28be19[_0xcd92('0x45')]);_0x426c63[_0xcd92('0x4f')]=_[_0xcd92('0x47')](_0x426c63[_0xcd92('0x44')],_0x426c63[_0xcd92('0x45')]);_0x3131d3[_0xcd92('0x48')]=_['intersection'](_0x426c63[_0xcd92('0x44')],qs[_0xcd92('0x49')](_0x28be19['query'][_0xcd92('0x49')]));_0x3131d3[_0xcd92('0x48')]=_0x3131d3['attributes']['length']?_0x3131d3[_0xcd92('0x48')]:_0x426c63[_0xcd92('0x44')];_0x3131d3[_0xcd92('0x4c')]=qs[_0xcd92('0x4d')](_0x28be19[_0xcd92('0x45')][_0xcd92('0x4d')]);_0x3131d3[_0xcd92('0x4e')]=qs[_0xcd92('0x4f')](_[_0xcd92('0x50')](_0x28be19[_0xcd92('0x45')],_0x426c63[_0xcd92('0x4f')]));if(_0x28be19['query'][_0xcd92('0x51')]){_0x3131d3[_0xcd92('0x4e')]=_[_0xcd92('0x52')](_0x3131d3[_0xcd92('0x4e')],{'$or':_[_0xcd92('0x3f')](_0x3131d3[_0xcd92('0x48')],function(_0x322d3f){var _0x398d7e={};_0x398d7e[_0x322d3f]={'$like':'%'+_0x28be19[_0xcd92('0x45')][_0xcd92('0x51')]+'%'};return _0x398d7e;})});}_0x3131d3=_[_0xcd92('0x52')]({},_0x3131d3,_0x28be19['options']);return _0x2d7c46[_0xcd92('0xa8')](_0x3131d3);}})[_0xcd92('0x22')](function(_0x1084ff){if(_0x1084ff){_0x2d307b=_0x1084ff[_0xcd92('0x67')];if(!_0x28be19[_0xcd92('0x45')][_0xcd92('0x4a')](_0xcd92('0x68'))){_0x3131d3[_0xcd92('0x4b')]=qs['limit'](_0x28be19['query'][_0xcd92('0x4b')]);_0x3131d3[_0xcd92('0x2f')]=qs['offset'](_0x28be19['query'][_0xcd92('0x2f')]);}return _0x2d7c46[_0xcd92('0xa8')](_0x3131d3);}})[_0xcd92('0x22')](function(_0x506f54){if(_0x506f54){return _0x506f54?{'count':_0x2d307b,'rows':_0x506f54}:null;}})[_0xcd92('0x22')](respondWithResult(_0x45c842,null))[_0xcd92('0x57')](handleError(_0x45c842,null));};exports[_0xcd92('0xa9')]=function(_0x225548,_0x27de10,_0x67a661){var _0x8df620={'raw':![],'where':{}};var _0x7ff020={};var _0x575eaf={'count':0x0,'rows':[]};return db['OpenchannelAccount'][_0xcd92('0x70')]({'where':{'id':_0x225548['params']['id']}})[_0xcd92('0x22')](handleEntityNotFound(_0x27de10,null))[_0xcd92('0x22')](function(_0x2952f4){if(_0x2952f4){_0x7ff020[_0xcd92('0x44')]=_[_0xcd92('0x46')](db[_0xcd92('0x91')][_0xcd92('0x59')]);_0x7ff020[_0xcd92('0x45')]=_[_0xcd92('0x46')](_0x225548[_0xcd92('0x45')]);_0x7ff020[_0xcd92('0x4f')]=_[_0xcd92('0x47')](_0x7ff020[_0xcd92('0x44')],_0x7ff020[_0xcd92('0x45')]);_0x8df620['attributes']=_[_0xcd92('0x47')](_0x7ff020[_0xcd92('0x44')],qs[_0xcd92('0x49')](_0x225548[_0xcd92('0x45')][_0xcd92('0x49')]));_0x8df620[_0xcd92('0x48')]=_0x8df620['attributes']['length']?_0x8df620['attributes']:_0x7ff020['model'];if(!_0x225548[_0xcd92('0x45')][_0xcd92('0x4a')]('nolimit')){_0x8df620[_0xcd92('0x4b')]=qs[_0xcd92('0x4b')](_0x225548[_0xcd92('0x45')][_0xcd92('0x4b')]);_0x8df620[_0xcd92('0x2f')]=qs[_0xcd92('0x2f')](_0x225548[_0xcd92('0x45')][_0xcd92('0x2f')]);}_0x8df620[_0xcd92('0x4c')]=qs[_0xcd92('0x4d')](_0x225548['query'][_0xcd92('0x4d')]);_0x8df620[_0xcd92('0x4e')]=qs[_0xcd92('0x4f')](_[_0xcd92('0x50')](_0x225548[_0xcd92('0x45')],_0x7ff020[_0xcd92('0x4f')]));_0x8df620[_0xcd92('0x4e')][_0xcd92('0x69')]=_0x2952f4['id'];if(_0x225548[_0xcd92('0x45')][_0xcd92('0x51')]){_0x8df620['where']=_[_0xcd92('0x52')](_0x8df620[_0xcd92('0x4e')],{'$or':_['map'](_0x8df620[_0xcd92('0x48')],function(_0x5e7469){var _0x375f27={};_0x375f27[_0x5e7469]={'$like':'%'+_0x225548[_0xcd92('0x45')][_0xcd92('0x51')]+'%'};return _0x375f27;})});}_0x8df620=_[_0xcd92('0x52')]({},_0x8df620,_0x225548[_0xcd92('0x54')]);return db[_0xcd92('0x91')][_0xcd92('0x71')]({'where':_0x8df620[_0xcd92('0x4e')]})[_0xcd92('0x22')](function(_0x45040b){_0x575eaf[_0xcd92('0x71')]=_0x45040b;if(_0x225548['query'][_0xcd92('0x55')]){_0x8df620[_0xcd92('0x56')]=[{'model':db['CmContact'],'as':_0xcd92('0xaa'),'required':![]},{'model':db[_0xcd92('0xab')],'as':_0xcd92('0xac'),'attributes':['name','fullname',_0xcd92('0xad')],'required':![]},{'model':db['Tag'],'as':_0xcd92('0xae'),'attributes':['id',_0xcd92('0x3a'),_0xcd92('0xaf')],'where':_0x225548[_0xcd92('0x45')][_0xcd92('0xb0')]?{'id':_0x225548['query'][_0xcd92('0xb0')]}:undefined,'required':_0x225548[_0xcd92('0x45')]['tag']?!![]:![]}];}return db[_0xcd92('0x91')][_0xcd92('0x6a')](_0x8df620);})[_0xcd92('0x22')](function(_0x8feed6){_0x575eaf[_0xcd92('0x6b')]=_0x8feed6;return _0x575eaf;});}})[_0xcd92('0x22')](respondWithFilteredResult(_0x27de10,_0x8df620))[_0xcd92('0x57')](handleError(_0x27de10,null));};exports[_0xcd92('0xb1')]=function(_0x45a863,_0x186ed0,_0x2da221){return db['OpenchannelAccount'][_0xcd92('0x5a')]({'where':{'id':_0x45a863['params']['id']}})[_0xcd92('0x22')](handleEntityNotFound(_0x186ed0,null))[_0xcd92('0x22')](function(_0x80994f){if(_0x80994f){return _0x80994f[_0xcd92('0xb1')](_0x45a863['body'][_0xcd92('0x6d')],_[_0xcd92('0xb2')](_0x45a863[_0xcd92('0x5c')],[_0xcd92('0x6d'),'id'])||{})[_0xcd92('0x92')](function(_0x2f056f){for(var _0xf926ac=0x0;_0xf926ac<_0x45a863[_0xcd92('0x5c')][_0xcd92('0x6d')]['length'];_0xf926ac+=0x1){socket['emit'](_0xcd92('0xb3'),{'UserId':_0x45a863[_0xcd92('0x5c')][_0xcd92('0x6d')][_0xf926ac],'OpenchannelAccountId':_0x45a863[_0xcd92('0x58')]['id']});}return _0x2f056f;});}})[_0xcd92('0x22')](respondWithResult(_0x186ed0,null))[_0xcd92('0x57')](handleError(_0x186ed0,null));};exports[_0xcd92('0xb4')]=function(_0x3e3c16,_0x3db3b2,_0x18f8af){return db[_0xcd92('0x40')]['find']({'where':{'id':_0x3e3c16['params']['id']}})[_0xcd92('0x22')](handleEntityNotFound(_0x3db3b2,null))[_0xcd92('0x22')](function(_0x5f1d5c){if(_0x5f1d5c){return _0x5f1d5c['removeAgents'](_0x3e3c16[_0xcd92('0x45')]['ids'])[_0xcd92('0x22')](function(){if(_[_0xcd92('0xb5')](_0x3e3c16[_0xcd92('0x45')][_0xcd92('0x6d')])){for(var _0x12aad8=0x0;_0x12aad8<_0x3e3c16[_0xcd92('0x45')]['ids']['length'];_0x12aad8+=0x1){socket[_0xcd92('0xb6')](_0xcd92('0xb7'),{'UserId':Number(_0x3e3c16[_0xcd92('0x45')][_0xcd92('0x6d')][_0x12aad8]),'OpenchannelAccountId':Number(_0x3e3c16[_0xcd92('0x58')]['id'])});}}else{socket[_0xcd92('0xb6')](_0xcd92('0xb7'),{'UserId':Number(_0x3e3c16['query'][_0xcd92('0x6d')]),'OpenchannelAccountId':Number(_0x3e3c16[_0xcd92('0x58')]['id'])});}});}})[_0xcd92('0x22')](respondWithStatusCode(_0x3db3b2,null))[_0xcd92('0x57')](handleError(_0x3db3b2,null));};exports[_0xcd92('0xb8')]=function(_0x5b54eb,_0x46e0ec,_0x49533b){var _0x3b1000={};var _0x75f91f={};var _0x5dc98d;var _0x9343bd;return db[_0xcd92('0x40')][_0xcd92('0x70')]({'where':{'id':_0x5b54eb['params']['id']}})[_0xcd92('0x22')](handleEntityNotFound(_0x46e0ec,null))['then'](function(_0x53625a){if(_0x53625a){_0x5dc98d=_0x53625a;_0x75f91f['model']=_[_0xcd92('0x46')](db['User']['rawAttributes']);_0x75f91f['query']=_[_0xcd92('0x46')](_0x5b54eb[_0xcd92('0x45')]);_0x75f91f['filters']=_['intersection'](_0x75f91f[_0xcd92('0x44')],_0x75f91f[_0xcd92('0x45')]);_0x3b1000[_0xcd92('0x48')]=_['intersection'](_0x75f91f['model'],qs[_0xcd92('0x49')](_0x5b54eb[_0xcd92('0x45')][_0xcd92('0x49')]));_0x3b1000[_0xcd92('0x48')]=_0x3b1000[_0xcd92('0x48')][_0xcd92('0x67')]?_0x3b1000[_0xcd92('0x48')]:_0x75f91f[_0xcd92('0x44')];_0x3b1000[_0xcd92('0x4c')]=qs['sort'](_0x5b54eb[_0xcd92('0x45')]['sort']);_0x3b1000[_0xcd92('0x4e')]=qs[_0xcd92('0x4f')](_[_0xcd92('0x50')](_0x5b54eb['query'],_0x75f91f['filters']));if(_0x5b54eb[_0xcd92('0x45')]['filter']){_0x3b1000[_0xcd92('0x4e')]=_[_0xcd92('0x52')](_0x3b1000['where'],{'$or':_['map'](_0x3b1000[_0xcd92('0x48')],function(_0xa2767e){var _0x5ef3cd={};_0x5ef3cd[_0xa2767e]={'$like':'%'+_0x5b54eb['query']['filter']+'%'};return _0x5ef3cd;})});}_0x3b1000=_['merge']({},_0x3b1000,_0x5b54eb['options']);return _0x5dc98d[_0xcd92('0xb8')](_0x3b1000);}})[_0xcd92('0x22')](function(_0x59117b){if(_0x59117b){_0x9343bd=_0x59117b[_0xcd92('0x67')];if(!_0x5b54eb['query']['hasOwnProperty'](_0xcd92('0x68'))){_0x3b1000['limit']=qs[_0xcd92('0x4b')](_0x5b54eb[_0xcd92('0x45')][_0xcd92('0x4b')]);_0x3b1000[_0xcd92('0x2f')]=qs[_0xcd92('0x2f')](_0x5b54eb[_0xcd92('0x45')][_0xcd92('0x2f')]);}return _0x5dc98d[_0xcd92('0xb8')](_0x3b1000);}})['then'](function(_0xd7db9f){if(_0xd7db9f){return _0xd7db9f?{'count':_0x9343bd,'rows':_0xd7db9f}:null;}})[_0xcd92('0x22')](respondWithResult(_0x46e0ec,null))[_0xcd92('0x57')](handleError(_0x46e0ec,null));};exports[_0xcd92('0x3b')]=function(_0x5296e6,_0x3cf819,_0x37ad7d){var _0x30f4dc,_0xd88ab3,_0x2cfbb6;if(_['isNil'](_0x5296e6['body'][_0xcd92('0x5c')])||_0x5296e6[_0xcd92('0x5c')]['body']===''){throw new db['Sequelize']['ValidationError'](_0xcd92('0xb9'));}if(_[_0xcd92('0x7a')](_0x5296e6[_0xcd92('0x5c')]['to'])){}_0x30f4dc=_0x5296e6[_0xcd92('0x5c')]['to'];return db[_0xcd92('0x40')][_0xcd92('0x70')]({'where':{'id':_0x5296e6[_0xcd92('0x58')]['id']}})[_0xcd92('0x22')](handleEntityNotFound(_0x3cf819,null))[_0xcd92('0x22')](function(_0x5d59c1){if(_0x5d59c1){return db[_0xcd92('0x40')][_0xcd92('0x5a')]({'where':{'id':_0x5d59c1['id']},'include':[{'model':db[_0xcd92('0xba')],'as':_0xcd92('0x81'),'include':[{'model':db[_0xcd92('0x75')],'as':_0xcd92('0x8a'),'where':{[_0x5d59c1[_0xcd92('0x7d')]]:_0x30f4dc},'limit':0x1,'order':[[_0xcd92('0x78'),'DESC']]}]}]})[_0xcd92('0x22')](handleEntityNotFound(_0x3cf819,null))[_0xcd92('0x22')](function(_0x318eb8){if(_0x318eb8&&_0x318eb8[_0xcd92('0x81')]){_0xd88ab3=_0x318eb8[_0xcd92('0x36')]({'plain':!![]});if(_0xd88ab3[_0xcd92('0x81')]&&_0xd88ab3[_0xcd92('0x81')][_0xcd92('0x8a')][_0xcd92('0x67')]){return _0xd88ab3[_0xcd92('0x81')][_0xcd92('0x8a')][0x0];}return db[_0xcd92('0x75')][_0xcd92('0x5b')](_[_0xcd92('0x17')](_0x5296e6['body'],{'firstName':_0x30f4dc,[_0x318eb8[_0xcd92('0x7d')]]:_0x30f4dc,'phone':_0x30f4dc,'ListId':_0xd88ab3[_0xcd92('0x8b')]}));}})[_0xcd92('0x22')](handleEntityNotFound(_0x3cf819,null))['then'](function(_0x2283fd){if(_0x2283fd){_0x2cfbb6=_0x2283fd;return db[_0xcd92('0x91')][_0xcd92('0x5a')]({'where':{'ContactId':_0x2cfbb6['id'],'closed':![],'OpenchannelAccountId':_0xd88ab3['id']}})['then'](function(_0x238f15){if(_0x238f15){return[_0x238f15,![]];}return db[_0xcd92('0x91')][_0xcd92('0x5b')]({'UserId':_0x5296e6[_0xcd92('0x5d')]['id'],'ContactId':_0x2cfbb6['id'],'OpenchannelAccountId':_0xd88ab3['id'],'lastMsgDirection':_0xcd92('0xbb'),'Messages':[_['merge'](_0x5296e6[_0xcd92('0x5c')],{'read':![],'body':_0x5296e6[_0xcd92('0x5c')]['body'],'OpenchannelAccountId':_0xd88ab3['id'],'UserId':_0x5296e6[_0xcd92('0x5d')]['id'],'ContactId':_0x2cfbb6['id']})]},{'include':[{'model':db[_0xcd92('0x99')],'as':_0xcd92('0xbc')}]})[_0xcd92('0x22')](function(_0x5d57a7){return[_0x5d57a7,!![]];});});}})['spread'](function(_0x16f111,_0x4fe620){if(_0x4fe620){return _0x16f111;}return db['OpenchannelMessage'][_0xcd92('0x5b')](_[_0xcd92('0x52')](_0x5296e6[_0xcd92('0x5c')],{'read':![],'body':_0x5296e6[_0xcd92('0x5c')][_0xcd92('0x5c')],'OpenchannelAccountId':_0xd88ab3['id'],'OpenchannelInteractionId':_0x16f111['id'],'UserId':_0x5296e6['user']['id'],'ContactId':_0x2cfbb6['id']}))[_0xcd92('0x22')](function(_0x4953bb){_0x16f111[_0xcd92('0xbd')]['Messages']=[];_0x16f111[_0xcd92('0xbd')][_0xcd92('0xbc')][_0xcd92('0x97')](_0x4953bb[_0xcd92('0xbd')]);return _0x16f111;});});}})['then'](respondWithResult(_0x3cf819,null))['catch'](handleError(_0x3cf819,null));}; \ No newline at end of file +var _0x2f84=['getDispositions','findOne','Disposition','removeDispositions','ids','addAnswer','OpenchannelAccountId','CannedAnswer','removeAnswers','notify','openchannel','ValidationError','difference','createdAt','updatedAt','CompanyId','ListId','from','from\x20is\x20mandatory','isNil','body\x20is\x20mandatory\x20and\x20not\x20empty','mapKey\x20is\x20mandatory,\x20please\x20use\x20one\x20of\x20these:\x20','mapKey','mapKey\x20invalid,\x20please\x20use\x20one\x20of\x20these:\x20','List','Contacts','DESC','OpenchannelApplication','account','Applications','applications','priority','asc','CmContact','contact','lastName','threadId','OpenchannelInteraction','externalUrl','ContactId','spread','firstName','messageId','interaction','created','autoclose','close','unmanaged','*,*,*,*','AttachmentId','User','UserId','unshift','agent','waitForTheAssignedAgent','Start','startRouting','EventManager','transaction','bulkCreate','findAndCountAll','getApplications','getInteractions','Contact','Owner','internal','Tag','Tags','color','tag','addAgents','omit','emit','userOpenchannelAccount:save','removeAgents','userOpenchannelAccount:remove','getAgents','CmList','out','OpenchannelMessage','Messages','dataValues','push','html-pdf','eml-format','rimraf','zip-dir','request-promise','mustache','util','path','sox','to-csv','ejs','lodash','squel','crypto','desk.js','querystring','papaparse','ioredis','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','redis','defaults','localhost','./openchannelAccount.socket','register','jayson/promise','client','test','Sequelize','The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.','request','then','info','OpenchannelAccount,\x20%s,\x20%s','OpenchannelAccount,\x20%s,\x20%s,\x20%s','request\x20sent','stringify','error','message','result','catch','sendStatus','status','end','offset','Content-Range','json','reject','destroy','get','stack','name','send','index','Pause','rawAttributes','key','model','query','keys','filters','intersection','attributes','fields','length','hasOwnProperty','nolimit','limit','order','sort','pick','filter','merge','where','map','type','options','count','includeAll','include','findAll','rows','show','params','mandatoryDispositionPause','OpenchannelAccount','find','create','body','Unable\x20to\x20retrieve\x20the\x20current\x20user','role','user','OpenchannelAccounts','UserProfileSection','userProfileId','UserProfileResource','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','update','describe','addDisposition','OpnechannelAccountId'];(function(_0x27c121,_0x5cc22c){var _0x962f34=function(_0x5835f7){while(--_0x5835f7){_0x27c121['push'](_0x27c121['shift']());}};_0x962f34(++_0x5cc22c);}(_0x2f84,0x1cd));var _0x42f8=function(_0x224015,_0x8d0e00){_0x224015=_0x224015-0x0;var _0x5a93a6=_0x2f84[_0x224015];return _0x5a93a6;};'use strict';var pdf=require(_0x42f8('0x0'));var emlformat=require(_0x42f8('0x1'));var rimraf=require(_0x42f8('0x2'));var zipdir=require(_0x42f8('0x3'));var jsonpatch=require('fast-json-patch');var rp=require(_0x42f8('0x4'));var moment=require('moment');var BPromise=require('bluebird');var Mustache=require(_0x42f8('0x5'));var util=require(_0x42f8('0x6'));var path=require(_0x42f8('0x7'));var sox=require(_0x42f8('0x8'));var csv=require(_0x42f8('0x9'));var ejs=require(_0x42f8('0xa'));var fs=require('fs');var _=require(_0x42f8('0xb'));var squel=require(_0x42f8('0xc'));var crypto=require(_0x42f8('0xd'));var jsforce=require('jsforce');var deskjs=require(_0x42f8('0xe'));var toCsv=require(_0x42f8('0x9'));var querystring=require(_0x42f8('0xf'));var Papa=require(_0x42f8('0x10'));var Redis=require(_0x42f8('0x11'));var authService=require('../../components/auth/service');var qs=require(_0x42f8('0x12'));var as=require(_0x42f8('0x13'));var hardwareService=require('../../config/license/hardware');var logger=require(_0x42f8('0x14'))(_0x42f8('0x15'));var utils=require(_0x42f8('0x16'));var config=require(_0x42f8('0x17'));var db=require(_0x42f8('0x18'))['db'];config[_0x42f8('0x19')]=_[_0x42f8('0x1a')](config[_0x42f8('0x19')],{'host':_0x42f8('0x1b'),'port':0x18eb});var socket=require('socket.io-emitter')(new Redis(config['redis']));require(_0x42f8('0x1c'))[_0x42f8('0x1d')](socket);var jayson=require(_0x42f8('0x1e'));var client=jayson[_0x42f8('0x1f')]['http']({'port':0x232c});var client9002=jayson['client']['http']({'port':0x232a});function checkPasswordPattern(_0x4e3e88,_0x26aeee,_0x48fd6f){if(_0x48fd6f){var _0x4eb8a0=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0x4eb8a0[_0x42f8('0x20')](_0x26aeee)){return _0x4e3e88;}else{throw new db[(_0x42f8('0x21'))]['ValidationError'](_0x42f8('0x22'));}}else{return _0x4e3e88;}}function respondWithRpcPromise(_0x29c466,_0x3d0407,_0xf61471,_0x44a4fd){return new BPromise(function(_0x262209,_0x568336){var _0x5268c3=_0x44a4fd||client;return _0x5268c3[_0x42f8('0x23')](_0x29c466,_0xf61471)[_0x42f8('0x24')](function(_0x23fb33){logger[_0x42f8('0x25')](_0x42f8('0x26'),_0x3d0407,'request\x20sent');logger['debug'](_0x42f8('0x27'),_0x3d0407,_0x42f8('0x28'),JSON[_0x42f8('0x29')](_0x23fb33));if(_0x23fb33[_0x42f8('0x2a')]){if(_0x23fb33[_0x42f8('0x2a')]['code']===0x1f4){logger[_0x42f8('0x2a')](_0x42f8('0x26'),_0x3d0407,_0x23fb33['error'][_0x42f8('0x2b')]);return _0x568336(_0x23fb33[_0x42f8('0x2a')][_0x42f8('0x2b')]);}logger['error'](_0x42f8('0x26'),_0x3d0407,_0x23fb33[_0x42f8('0x2a')]['message']);return _0x262209(_0x23fb33[_0x42f8('0x2a')][_0x42f8('0x2b')]);}else{logger[_0x42f8('0x25')](_0x42f8('0x26'),_0x3d0407,'request\x20sent');_0x262209(_0x23fb33[_0x42f8('0x2c')][_0x42f8('0x2b')]);}})[_0x42f8('0x2d')](function(_0x216e84){logger['error']('OpenchannelAccount,\x20%s,\x20%s',_0x3d0407,_0x216e84);_0x568336(_0x216e84);});});}function respondWithStatusCode(_0x585272,_0x102b6c){_0x102b6c=_0x102b6c||0xcc;return function(_0x3be1aa){if(_0x3be1aa){return _0x585272[_0x42f8('0x2e')](_0x102b6c);}return _0x585272[_0x42f8('0x2f')](_0x102b6c)[_0x42f8('0x30')]();};}function respondWithResult(_0x3d1ceb,_0x4b9213){_0x4b9213=_0x4b9213||0xc8;return function(_0x5e40b5){if(_0x5e40b5){return _0x3d1ceb[_0x42f8('0x2f')](_0x4b9213)['json'](_0x5e40b5);}};}function respondWithFilteredResult(_0x2f8c2c,_0x5d5483){return function(_0x237a78){if(_0x237a78){var _0x2fa1c5=_0x237a78['count'],_0x3e5a8a=_0x5d5483['offset'],_0x184a72=_0x5d5483[_0x42f8('0x31')]+_0x5d5483['limit'],_0x1cdd19;if(_0x184a72>=_0x2fa1c5){_0x184a72=_0x2fa1c5;_0x1cdd19=0xc8;}else{_0x1cdd19=0xce;}_0x2f8c2c[_0x42f8('0x2f')](_0x1cdd19);return _0x2f8c2c['set'](_0x42f8('0x32'),_0x3e5a8a+'-'+_0x184a72+'/'+_0x2fa1c5)[_0x42f8('0x33')](_0x237a78);}return null;};}function patchUpdates(_0x40ad7d){return function(_0x29b59b){try{jsonpatch['apply'](_0x29b59b,_0x40ad7d,!![]);}catch(_0x52c25e){return BPromise[_0x42f8('0x34')](_0x52c25e);}return _0x29b59b['save']();};}function saveUpdates(_0x2cdcc1,_0x240ecb){return function(_0x26d3f6){if(_0x26d3f6){return _0x26d3f6['update'](_0x2cdcc1)[_0x42f8('0x24')](function(_0x5e3600){return _0x5e3600;});}return null;};}function removeEntity(_0x45d451,_0x3d5439){return function(_0x29007c){if(_0x29007c){return _0x29007c[_0x42f8('0x35')]()['then'](function(){var _0x23ef7d=_0x29007c[_0x42f8('0x36')]({'plain':!![]});var _0x5bdfc='OpenchannelAccounts';return db['UserProfileResource'][_0x42f8('0x35')]({'where':{'type':_0x5bdfc,'resourceId':_0x23ef7d['id']}})['then'](function(){return _0x29007c;});})[_0x42f8('0x24')](function(){_0x45d451['status'](0xcc)[_0x42f8('0x30')]();});}};}function handleEntityNotFound(_0xe0c851,_0x1cb58d){return function(_0x2b5d9e){if(!_0x2b5d9e){_0xe0c851[_0x42f8('0x2e')](0x194);}return _0x2b5d9e;};}function handleError(_0x26fb08,_0x5882f3){_0x5882f3=_0x5882f3||0x1f4;return function(_0x51fbad){logger['error'](_0x51fbad[_0x42f8('0x37')]);if(_0x51fbad['name']){delete _0x51fbad[_0x42f8('0x38')];}_0x26fb08['status'](_0x5882f3)[_0x42f8('0x39')](_0x51fbad);};}exports[_0x42f8('0x3a')]=function(_0x299b1d,_0x48b85a){var _0x302c99={'include':[{'model':db[_0x42f8('0x3b')],'as':'mandatoryDispositionPause'}]},_0x314311={},_0x585dca={'count':0x0,'rows':[]};var _0x2c20e8=_['map'](db['OpenchannelAccount'][_0x42f8('0x3c')],function(_0x4af8c2){return{'name':_0x4af8c2['fieldName'],'type':_0x4af8c2['type'][_0x42f8('0x3d')]};});_0x314311[_0x42f8('0x3e')]=_['map'](_0x2c20e8,_0x42f8('0x38'));_0x314311[_0x42f8('0x3f')]=_[_0x42f8('0x40')](_0x299b1d['query']);_0x314311[_0x42f8('0x41')]=_[_0x42f8('0x42')](_0x314311['model'],_0x314311[_0x42f8('0x3f')]);_0x302c99[_0x42f8('0x43')]=_[_0x42f8('0x42')](_0x314311[_0x42f8('0x3e')],qs[_0x42f8('0x44')](_0x299b1d['query'][_0x42f8('0x44')]));_0x302c99[_0x42f8('0x43')]=_0x302c99['attributes'][_0x42f8('0x45')]?_0x302c99[_0x42f8('0x43')]:_0x314311[_0x42f8('0x3e')];if(!_0x299b1d['query'][_0x42f8('0x46')](_0x42f8('0x47'))){_0x302c99[_0x42f8('0x48')]=qs['limit'](_0x299b1d[_0x42f8('0x3f')][_0x42f8('0x48')]);_0x302c99[_0x42f8('0x31')]=qs[_0x42f8('0x31')](_0x299b1d[_0x42f8('0x3f')]['offset']);}_0x302c99[_0x42f8('0x49')]=qs[_0x42f8('0x4a')](_0x299b1d[_0x42f8('0x3f')][_0x42f8('0x4a')]);_0x302c99['where']=qs[_0x42f8('0x41')](_[_0x42f8('0x4b')](_0x299b1d[_0x42f8('0x3f')],_0x314311[_0x42f8('0x41')]),_0x2c20e8);if(_0x299b1d[_0x42f8('0x3f')][_0x42f8('0x4c')]){_0x302c99['where']=_[_0x42f8('0x4d')](_0x302c99[_0x42f8('0x4e')],{'$or':_[_0x42f8('0x4f')](_0x2c20e8,function(_0x20a9f1){if(_0x20a9f1[_0x42f8('0x50')]!=='VIRTUAL'){var _0x568a11={};_0x568a11[_0x20a9f1['name']]={'$like':'%'+_0x299b1d[_0x42f8('0x3f')][_0x42f8('0x4c')]+'%'};return _0x568a11;}})});}_0x302c99=_['merge']({},_0x302c99,_0x299b1d[_0x42f8('0x51')]);var _0x1e4bf4={'where':_0x302c99[_0x42f8('0x4e')]};return db['OpenchannelAccount'][_0x42f8('0x52')](_0x1e4bf4)[_0x42f8('0x24')](function(_0x559dca){_0x585dca[_0x42f8('0x52')]=_0x559dca;if(_0x299b1d['query'][_0x42f8('0x53')]){_0x302c99[_0x42f8('0x54')]=[{'all':!![]}];}return db['OpenchannelAccount'][_0x42f8('0x55')](_0x302c99);})[_0x42f8('0x24')](function(_0xff0c3e){_0x585dca[_0x42f8('0x56')]=_0xff0c3e;return _0x585dca;})[_0x42f8('0x24')](respondWithFilteredResult(_0x48b85a,_0x302c99))['catch'](handleError(_0x48b85a,null));};exports[_0x42f8('0x57')]=function(_0x26ef8a,_0x572b20){var _0x368155={'raw':![],'where':{'id':_0x26ef8a[_0x42f8('0x58')]['id']},'include':[{'model':db[_0x42f8('0x3b')],'as':_0x42f8('0x59')}]},_0x5a65d6={};_0x5a65d6[_0x42f8('0x3e')]=_['keys'](db[_0x42f8('0x5a')]['rawAttributes']);_0x5a65d6[_0x42f8('0x3f')]=_['keys'](_0x26ef8a['query']);_0x5a65d6[_0x42f8('0x41')]=_[_0x42f8('0x42')](_0x5a65d6[_0x42f8('0x3e')],_0x5a65d6[_0x42f8('0x3f')]);_0x368155[_0x42f8('0x43')]=_[_0x42f8('0x42')](_0x5a65d6[_0x42f8('0x3e')],qs[_0x42f8('0x44')](_0x26ef8a['query'][_0x42f8('0x44')]));_0x368155[_0x42f8('0x43')]=_0x368155[_0x42f8('0x43')][_0x42f8('0x45')]?_0x368155[_0x42f8('0x43')]:_0x5a65d6[_0x42f8('0x3e')];if(_0x26ef8a['query'][_0x42f8('0x53')]){_0x368155[_0x42f8('0x54')]=[{'all':!![]}];}_0x368155=_[_0x42f8('0x4d')]({},_0x368155,_0x26ef8a[_0x42f8('0x51')]);return db['OpenchannelAccount'][_0x42f8('0x5b')](_0x368155)['then'](handleEntityNotFound(_0x572b20,null))[_0x42f8('0x24')](respondWithResult(_0x572b20,null))[_0x42f8('0x2d')](handleError(_0x572b20,null));};exports['create']=function(_0x172711,_0xa49b22){return db[_0x42f8('0x5a')][_0x42f8('0x5c')](_0x172711[_0x42f8('0x5d')],{})['then'](function(_0x463b7f){var _0x5b3b9c=_0x172711['user'][_0x42f8('0x36')]({'plain':!![]});if(!_0x5b3b9c)throw new Error(_0x42f8('0x5e'));if(_0x5b3b9c[_0x42f8('0x5f')]===_0x42f8('0x60')){var _0x49a016=_0x463b7f[_0x42f8('0x36')]({'plain':!![]});var _0x44c750=_0x42f8('0x61');return db[_0x42f8('0x62')]['find']({'where':{'name':_0x44c750,'userProfileId':_0x5b3b9c[_0x42f8('0x63')]},'raw':!![]})[_0x42f8('0x24')](function(_0x27e798){if(_0x27e798&&_0x27e798['autoAssociation']===0x0){return db[_0x42f8('0x64')][_0x42f8('0x5c')]({'name':_0x49a016['name'],'resourceId':_0x49a016['id'],'type':_0x27e798[_0x42f8('0x38')],'sectionId':_0x27e798['id']},{})[_0x42f8('0x24')](function(){return _0x463b7f;});}else{return _0x463b7f;}})['catch'](function(_0x5ac579){logger[_0x42f8('0x2a')](_0x42f8('0x65'),_0x5ac579);throw _0x5ac579;});}return _0x463b7f;})[_0x42f8('0x24')](respondWithResult(_0xa49b22,0xc9))[_0x42f8('0x2d')](handleError(_0xa49b22,null));};exports[_0x42f8('0x66')]=function(_0x31918b,_0x30b6e6){if(_0x31918b[_0x42f8('0x5d')]['id']){delete _0x31918b['body']['id'];}return db['OpenchannelAccount'][_0x42f8('0x5b')]({'where':{'id':_0x31918b[_0x42f8('0x58')]['id']},'include':[{'model':db[_0x42f8('0x3b')],'as':_0x42f8('0x59')}]})['then'](handleEntityNotFound(_0x30b6e6,null))['then'](saveUpdates(_0x31918b[_0x42f8('0x5d')],null))[_0x42f8('0x24')](respondWithResult(_0x30b6e6,null))[_0x42f8('0x2d')](handleError(_0x30b6e6,null));};exports[_0x42f8('0x35')]=function(_0xde9619,_0x245cae){return db[_0x42f8('0x5a')][_0x42f8('0x5b')]({'where':{'id':_0xde9619[_0x42f8('0x58')]['id']}})[_0x42f8('0x24')](handleEntityNotFound(_0x245cae,null))[_0x42f8('0x24')](removeEntity(_0x245cae,null))[_0x42f8('0x2d')](handleError(_0x245cae,null));};exports['describe']=function(_0x537955,_0x4c4e6b){return db[_0x42f8('0x5a')][_0x42f8('0x67')]()['then'](respondWithResult(_0x4c4e6b,null))[_0x42f8('0x2d')](handleError(_0x4c4e6b,null));};exports[_0x42f8('0x68')]=function(_0x2cf1b8,_0x5c55dc,_0x1629b0){if(_0x2cf1b8[_0x42f8('0x5d')]['id']){delete _0x2cf1b8['body']['id'];}return db['OpenchannelAccount'][_0x42f8('0x5b')]({'where':{'id':_0x2cf1b8['params']['id']}})[_0x42f8('0x24')](handleEntityNotFound(_0x5c55dc,null))[_0x42f8('0x24')](function(_0x12e3c7){if(_0x12e3c7){_0x2cf1b8[_0x42f8('0x5d')][_0x42f8('0x69')]=_0x12e3c7['id'];return db['Disposition'][_0x42f8('0x5c')](_0x2cf1b8[_0x42f8('0x5d')]);}})[_0x42f8('0x24')](respondWithResult(_0x5c55dc,null))[_0x42f8('0x2d')](handleError(_0x5c55dc,null));};exports[_0x42f8('0x6a')]=function(_0x2f0942,_0x5e3b37,_0x51934d){var _0x2e4a65={'raw':![],'where':{}};var _0x2c8c2e={};var _0x1c9706={'count':0x0,'rows':[]};return db[_0x42f8('0x5a')][_0x42f8('0x6b')]({'where':{'id':_0x2f0942[_0x42f8('0x58')]['id']}})[_0x42f8('0x24')](handleEntityNotFound(_0x5e3b37,null))[_0x42f8('0x24')](function(_0x7ac7fe){if(_0x7ac7fe){_0x2c8c2e[_0x42f8('0x3e')]=_['keys'](db[_0x42f8('0x6c')][_0x42f8('0x3c')]);_0x2c8c2e['query']=_[_0x42f8('0x40')](_0x2f0942[_0x42f8('0x3f')]);_0x2c8c2e[_0x42f8('0x41')]=_[_0x42f8('0x42')](_0x2c8c2e['model'],_0x2c8c2e['query']);_0x2e4a65[_0x42f8('0x43')]=_[_0x42f8('0x42')](_0x2c8c2e[_0x42f8('0x3e')],qs['fields'](_0x2f0942[_0x42f8('0x3f')]['fields']));_0x2e4a65[_0x42f8('0x43')]=_0x2e4a65[_0x42f8('0x43')][_0x42f8('0x45')]?_0x2e4a65[_0x42f8('0x43')]:_0x2c8c2e['model'];if(!_0x2f0942[_0x42f8('0x3f')]['hasOwnProperty']('nolimit')){_0x2e4a65[_0x42f8('0x48')]=qs['limit'](_0x2f0942['query'][_0x42f8('0x48')]);_0x2e4a65[_0x42f8('0x31')]=qs[_0x42f8('0x31')](_0x2f0942['query'][_0x42f8('0x31')]);}_0x2e4a65[_0x42f8('0x49')]=qs[_0x42f8('0x4a')](_0x2f0942[_0x42f8('0x3f')]['sort']);_0x2e4a65[_0x42f8('0x4e')]=qs[_0x42f8('0x41')](_[_0x42f8('0x4b')](_0x2f0942[_0x42f8('0x3f')],_0x2c8c2e[_0x42f8('0x41')]));_0x2e4a65[_0x42f8('0x4e')]['OpenchannelAccountId']=_0x7ac7fe['id'];if(_0x2f0942['query']['filter']){_0x2e4a65['where']=_['merge'](_0x2e4a65[_0x42f8('0x4e')],{'$or':_[_0x42f8('0x4f')](_0x2e4a65[_0x42f8('0x43')],function(_0x230fcb){var _0x206724={};_0x206724[_0x230fcb]={'$like':'%'+_0x2f0942[_0x42f8('0x3f')][_0x42f8('0x4c')]+'%'};return _0x206724;})});}_0x2e4a65=_[_0x42f8('0x4d')]({},_0x2e4a65,_0x2f0942['options']);return db[_0x42f8('0x6c')][_0x42f8('0x52')]({'where':_0x2e4a65[_0x42f8('0x4e')]})['then'](function(_0x31be9e){_0x1c9706[_0x42f8('0x52')]=_0x31be9e;if(_0x2f0942[_0x42f8('0x3f')]['includeAll']){_0x2e4a65[_0x42f8('0x54')]=[{'all':!![]}];}return db['Disposition'][_0x42f8('0x55')](_0x2e4a65);})[_0x42f8('0x24')](function(_0x2b94fe){_0x1c9706[_0x42f8('0x56')]=_0x2b94fe;return _0x1c9706;});}})[_0x42f8('0x24')](respondWithFilteredResult(_0x5e3b37,_0x2e4a65))[_0x42f8('0x2d')](handleError(_0x5e3b37,null));};exports[_0x42f8('0x6d')]=function(_0x4937df,_0x14307b,_0x309b05){return db[_0x42f8('0x5a')]['find']({'where':{'id':_0x4937df[_0x42f8('0x58')]['id']}})['then'](handleEntityNotFound(_0x14307b,null))[_0x42f8('0x24')](function(_0x46cb35){if(_0x46cb35){return _0x46cb35[_0x42f8('0x6d')](_0x4937df[_0x42f8('0x3f')][_0x42f8('0x6e')]);}})[_0x42f8('0x24')](respondWithStatusCode(_0x14307b,null))['catch'](handleError(_0x14307b,null));};exports[_0x42f8('0x6f')]=function(_0x1af300,_0x5cafa0,_0x126d53){if(_0x1af300['body']['id']){delete _0x1af300[_0x42f8('0x5d')]['id'];}return db[_0x42f8('0x5a')][_0x42f8('0x5b')]({'where':{'id':_0x1af300['params']['id']}})['then'](handleEntityNotFound(_0x5cafa0,null))[_0x42f8('0x24')](function(_0x21cc2a){if(_0x21cc2a){_0x1af300[_0x42f8('0x5d')][_0x42f8('0x70')]=_0x21cc2a['id'];return db[_0x42f8('0x71')][_0x42f8('0x5c')](_0x1af300[_0x42f8('0x5d')]);}})[_0x42f8('0x24')](respondWithResult(_0x5cafa0,null))['catch'](handleError(_0x5cafa0,null));};exports['getAnswers']=function(_0x52bf11,_0x18d827,_0x221fd2){var _0x1e04d3={'raw':![],'where':{}};var _0x3f70ac={};var _0x57213c={'count':0x0,'rows':[]};return db[_0x42f8('0x5a')][_0x42f8('0x6b')]({'where':{'id':_0x52bf11[_0x42f8('0x58')]['id']}})['then'](handleEntityNotFound(_0x18d827,null))[_0x42f8('0x24')](function(_0x59ef56){if(_0x59ef56){_0x3f70ac[_0x42f8('0x3e')]=_[_0x42f8('0x40')](db[_0x42f8('0x71')]['rawAttributes']);_0x3f70ac[_0x42f8('0x3f')]=_[_0x42f8('0x40')](_0x52bf11[_0x42f8('0x3f')]);_0x3f70ac['filters']=_['intersection'](_0x3f70ac['model'],_0x3f70ac[_0x42f8('0x3f')]);_0x1e04d3['attributes']=_[_0x42f8('0x42')](_0x3f70ac[_0x42f8('0x3e')],qs[_0x42f8('0x44')](_0x52bf11['query'][_0x42f8('0x44')]));_0x1e04d3['attributes']=_0x1e04d3[_0x42f8('0x43')]['length']?_0x1e04d3[_0x42f8('0x43')]:_0x3f70ac['model'];if(!_0x52bf11['query']['hasOwnProperty']('nolimit')){_0x1e04d3[_0x42f8('0x48')]=qs['limit'](_0x52bf11[_0x42f8('0x3f')][_0x42f8('0x48')]);_0x1e04d3[_0x42f8('0x31')]=qs[_0x42f8('0x31')](_0x52bf11[_0x42f8('0x3f')][_0x42f8('0x31')]);}_0x1e04d3['order']=qs[_0x42f8('0x4a')](_0x52bf11['query'][_0x42f8('0x4a')]);_0x1e04d3[_0x42f8('0x4e')]=qs[_0x42f8('0x41')](_[_0x42f8('0x4b')](_0x52bf11[_0x42f8('0x3f')],_0x3f70ac[_0x42f8('0x41')]));_0x1e04d3[_0x42f8('0x4e')][_0x42f8('0x70')]=_0x59ef56['id'];if(_0x52bf11[_0x42f8('0x3f')][_0x42f8('0x4c')]){_0x1e04d3[_0x42f8('0x4e')]=_[_0x42f8('0x4d')](_0x1e04d3[_0x42f8('0x4e')],{'$or':_[_0x42f8('0x4f')](_0x1e04d3[_0x42f8('0x43')],function(_0x2700d6){var _0x10bbc4={};_0x10bbc4[_0x2700d6]={'$like':'%'+_0x52bf11['query'][_0x42f8('0x4c')]+'%'};return _0x10bbc4;})});}_0x1e04d3=_[_0x42f8('0x4d')]({},_0x1e04d3,_0x52bf11[_0x42f8('0x51')]);return db[_0x42f8('0x71')][_0x42f8('0x52')]({'where':_0x1e04d3[_0x42f8('0x4e')]})['then'](function(_0x56f314){_0x57213c[_0x42f8('0x52')]=_0x56f314;if(_0x52bf11['query'][_0x42f8('0x53')]){_0x1e04d3['include']=[{'all':!![]}];}return db[_0x42f8('0x71')][_0x42f8('0x55')](_0x1e04d3);})[_0x42f8('0x24')](function(_0x28a704){_0x57213c[_0x42f8('0x56')]=_0x28a704;return _0x57213c;});}})[_0x42f8('0x24')](respondWithFilteredResult(_0x18d827,_0x1e04d3))[_0x42f8('0x2d')](handleError(_0x18d827,null));};exports[_0x42f8('0x72')]=function(_0x17a750,_0x4e3b50,_0x8fd397){return db[_0x42f8('0x5a')][_0x42f8('0x5b')]({'where':{'id':_0x17a750[_0x42f8('0x58')]['id']}})[_0x42f8('0x24')](handleEntityNotFound(_0x4e3b50,null))[_0x42f8('0x24')](function(_0x79e40){if(_0x79e40){return _0x79e40[_0x42f8('0x72')](_0x17a750[_0x42f8('0x3f')][_0x42f8('0x6e')]);}})[_0x42f8('0x24')](respondWithStatusCode(_0x4e3b50,null))[_0x42f8('0x2d')](handleError(_0x4e3b50,null));};exports[_0x42f8('0x73')]=function(_0x28a416,_0x56033f,_0x3561da){var _0x57493b={'body':_0x28a416[_0x42f8('0x5d')],'channel':_0x42f8('0x74')};var _0x25d8ba=[];var _0x21ab39=[];var _0x183003={};var _0x42ac6a=![];return db['CmContact'][_0x42f8('0x67')]()[_0x42f8('0x24')](function(_0x4c5e51){if(!_0x4c5e51){throw new db[(_0x42f8('0x21'))][(_0x42f8('0x75'))]('no\x20available\x20attributes');}_0x25d8ba=_[_0x42f8('0x76')](_['keys'](_0x4c5e51),[_0x42f8('0x77'),_0x42f8('0x78')]);_0x21ab39=_[_0x42f8('0x76')](_['keys'](_0x4c5e51),[_0x42f8('0x77'),'updatedAt',_0x42f8('0x79'),_0x42f8('0x7a')]);if(_0x28a416['body']['id']){delete _0x28a416[_0x42f8('0x5d')]['id'];}if(_['isNil'](_0x28a416[_0x42f8('0x5d')][_0x42f8('0x7b')])){throw new db[(_0x42f8('0x21'))][(_0x42f8('0x75'))](_0x42f8('0x7c'));}if(_[_0x42f8('0x7d')](_0x28a416[_0x42f8('0x5d')][_0x42f8('0x5d')])||_0x28a416[_0x42f8('0x5d')]['body']===''){throw new db[(_0x42f8('0x21'))][(_0x42f8('0x75'))](_0x42f8('0x7e'));}if(_[_0x42f8('0x7d')](_0x28a416[_0x42f8('0x5d')]['mapKey'])){throw new db[(_0x42f8('0x21'))][(_0x42f8('0x75'))](_0x42f8('0x7f')+_0x21ab39);}if(!_['includes'](_0x21ab39,_0x28a416[_0x42f8('0x5d')][_0x42f8('0x80')])){throw new db[(_0x42f8('0x21'))][(_0x42f8('0x75'))](_0x42f8('0x81')+_0x21ab39);}_0x183003[_0x28a416[_0x42f8('0x5d')][_0x42f8('0x80')]]=_0x28a416[_0x42f8('0x5d')]['from'];})[_0x42f8('0x24')](function(){return db[_0x42f8('0x5a')][_0x42f8('0x5b')]({'where':{'id':_0x28a416['params']['id']},'include':[{'model':db['CmList'],'as':_0x42f8('0x82'),'include':[{'model':db['CmContact'],'as':_0x42f8('0x83'),'where':_0x183003,'limit':0x1,'order':[[_0x42f8('0x78'),_0x42f8('0x84')]]}]},{'model':db[_0x42f8('0x85')],'as':'Applications'}]});})[_0x42f8('0x24')](handleEntityNotFound(_0x56033f,null))[_0x42f8('0x24')](function(_0x24ad85){if(_0x24ad85&&_0x24ad85[_0x42f8('0x82')]){_0x57493b[_0x42f8('0x86')]=_0x24ad85;_0x57493b['applications']=_0x24ad85[_0x42f8('0x87')];_0x57493b['list']=_0x24ad85[_0x42f8('0x82')];_0x57493b['applications']=_['orderBy'](_0x57493b[_0x42f8('0x88')],[_0x42f8('0x89')],[_0x42f8('0x8a')]);if(_0x57493b['account'][_0x42f8('0x87')]){delete _0x57493b['account']['Applications'];}if(_0x57493b['account']['List']&&_0x57493b[_0x42f8('0x86')]['List'][_0x42f8('0x83')]['length']){return _0x57493b['account'][_0x42f8('0x82')]['Contacts'][0x0];}var _0x559173=_['defaults'](_0x28a416[_0x42f8('0x5d')],{'firstName':_0x28a416[_0x42f8('0x5d')][_0x42f8('0x7b')],'ListId':_0x24ad85[_0x42f8('0x7a')]});_0x559173[_0x28a416[_0x42f8('0x5d')][_0x42f8('0x80')]]=_0x28a416[_0x42f8('0x5d')][_0x42f8('0x7b')];return db[_0x42f8('0x8b')][_0x42f8('0x5c')](_0x559173,{'fields':_0x25d8ba,'raw':!![]});}})[_0x42f8('0x24')](handleEntityNotFound(_0x56033f,null))[_0x42f8('0x24')](function(_0x5d4829){_0x57493b[_0x42f8('0x8c')]=_0x5d4829;if(_0x5d4829){var _0x32ba94={'ContactId':_0x5d4829['id'],'OpenchannelAccountId':_0x28a416[_0x42f8('0x58')]['id'],'from':(_0x5d4829['firstName']||'')+'\x20'+(_0x5d4829[_0x42f8('0x8d')]||'')};var _0x20833f={'OpenchannelAccountId':_0x28a416[_0x42f8('0x58')]['id'],'closed':![]};if(_0x28a416[_0x42f8('0x5d')][_0x42f8('0x8e')]){_0x20833f['threadId']=_0x28a416[_0x42f8('0x5d')][_0x42f8('0x8e')];return db[_0x42f8('0x8f')][_0x42f8('0x5b')]({'where':_0x20833f})[_0x42f8('0x24')](function(_0x3c97af){if(_0x3c97af){return[_0x3c97af,![]];}_0x32ba94[_0x42f8('0x8e')]=_0x28a416[_0x42f8('0x5d')][_0x42f8('0x8e')];_0x32ba94[_0x42f8('0x90')]=_0x28a416[_0x42f8('0x5d')][_0x42f8('0x90')];return db[_0x42f8('0x8f')][_0x42f8('0x5c')](_0x32ba94)['then'](function(_0x52d554){return[_0x52d554,!![]];});});}else{_0x20833f['threadId']=null;}_0x20833f[_0x42f8('0x91')]=_0x5d4829['id'];return db['OpenchannelInteraction'][_0x42f8('0x5b')]({'where':_0x20833f})[_0x42f8('0x24')](function(_0x2f45a4){if(_0x2f45a4){return[_0x2f45a4,![]];}return db[_0x42f8('0x8f')]['create'](_0x32ba94)['then'](function(_0x645ab9){return[_0x645ab9,!![]];});});}})[_0x42f8('0x92')](function(_0x2898c4,_0x4ae74b){if(_0x2898c4){_0x42ac6a=_0x4ae74b;if(!_0x4ae74b){var _0x5a2090={'from':(_0x57493b[_0x42f8('0x8c')][_0x42f8('0x93')]||'')+'\x20'+(_0x57493b['contact'][_0x42f8('0x8d')]||'')};if(_0x28a416[_0x42f8('0x5d')][_0x42f8('0x8e')]&&_0x28a416['body'][_0x42f8('0x94')]&&_0x28a416[_0x42f8('0x5d')]['threadId']!=_0x28a416[_0x42f8('0x5d')][_0x42f8('0x94')]){_0x5a2090[_0x42f8('0x8e')]=_0x28a416[_0x42f8('0x5d')][_0x42f8('0x94')];}return _0x2898c4[_0x42f8('0x66')](_0x5a2090);}else{return _0x2898c4;}}})[_0x42f8('0x24')](function(_0x3e6135){_0x57493b[_0x42f8('0x95')]=_0x3e6135[_0x42f8('0x36')]({'plain':!![]});_0x57493b[_0x42f8('0x95')][_0x42f8('0x96')]=_0x42ac6a;if(_0x57493b[_0x42f8('0x95')][_0x42f8('0x96')]){if(_0x57493b[_0x42f8('0x86')][_0x42f8('0x97')]){_0x57493b[_0x42f8('0x88')]['push']({'id':0x0,'priority':_0x57493b[_0x42f8('0x88')]['length']+0x1,'app':_0x42f8('0x98'),'appdata':_0x42f8('0x99'),'interval':_0x42f8('0x9a')});}}return db['OpenchannelMessage'][_0x42f8('0x5c')]({'body':_0x28a416[_0x42f8('0x5d')][_0x42f8('0x5d')],'OpenchannelAccountId':_0x28a416[_0x42f8('0x58')]['id'],'OpenchannelInteractionId':_0x3e6135['id'],'direction':'in','ContactId':_0x57493b[_0x42f8('0x8c')]['id'],'AttachmentId':_0x28a416['body'][_0x42f8('0x9b')]});})[_0x42f8('0x24')](function(_0x48c2a7){_0x57493b[_0x42f8('0x2b')]=_0x48c2a7;if(_0x57493b[_0x42f8('0x95')]['UserId']){return db[_0x42f8('0x9c')]['find']({'attributes':['id',_0x42f8('0x38')],'where':{'id':_0x57493b[_0x42f8('0x95')][_0x42f8('0x9d')]}})[_0x42f8('0x24')](function(_0x166b42){if(_0x166b42){_0x57493b[_0x42f8('0x88')][_0x42f8('0x9e')]({'id':0x0,'priority':0x0,'app':_0x42f8('0x9f'),'appdata':_0x166b42['name']+','+(_0x57493b[_0x42f8('0x86')][_0x42f8('0xa0')]||0xa),'interval':_0x42f8('0x9a')});_0x57493b['forcedOwnership']=![];}return respondWithRpcPromise(_0x42f8('0xa1'),_0x42f8('0xa2'),_0x57493b);});}return respondWithRpcPromise(_0x42f8('0xa1'),_0x42f8('0xa2'),_0x57493b);})['then'](function(_0x431c53){respondWithRpcPromise('EventManager',_0x42f8('0xa3'),{'event':_0x42f8('0x73'),'message':_0x431c53},client9002);return _0x431c53;})[_0x42f8('0x24')](respondWithResult(_0x56033f,null))[_0x42f8('0x2d')](handleError(_0x56033f,null));};exports['addApplications']=function(_0x502b96,_0x14d328,_0x1402cb){return db['OpenchannelAccount']['findOne']({'where':{'id':_0x502b96[_0x42f8('0x58')]['id']}})[_0x42f8('0x24')](handleEntityNotFound(_0x14d328,null))[_0x42f8('0x24')](function(_0x584a23){if(_0x584a23){return db['sequelize'][_0x42f8('0xa4')](function(_0x396543){return db[_0x42f8('0x85')][_0x42f8('0x35')]({'where':{'OpenchannelAccountId':_0x502b96[_0x42f8('0x58')]['id']},'transaction':_0x396543})[_0x42f8('0x24')](function(_0x29c058){var _0x4257c1=_[_0x42f8('0x4f')](_0x502b96[_0x42f8('0x5d')],function(_0x20ace6){_0x20ace6[_0x42f8('0x70')]=_0x502b96['params']['id'];return _0x20ace6;});return db[_0x42f8('0x85')][_0x42f8('0xa5')](_0x4257c1,{'transaction':_0x396543});});})['then'](function(){return db['OpenchannelApplication'][_0x42f8('0xa6')]({'where':{'OpenchannelAccountId':_0x502b96['params']['id']},'order':_0x42f8('0x89')});});}})[_0x42f8('0x24')](respondWithResult(_0x14d328,null))[_0x42f8('0x2d')](handleError(_0x14d328,null));};exports['getApplications']=function(_0x45938f,_0x8121ac,_0xde6062){var _0x1745d4={};var _0x1769c7={};var _0x5785ed;var _0x83439f;return db[_0x42f8('0x5a')][_0x42f8('0x6b')]({'where':{'id':_0x45938f[_0x42f8('0x58')]['id']}})[_0x42f8('0x24')](handleEntityNotFound(_0x8121ac,null))[_0x42f8('0x24')](function(_0x4284d8){if(_0x4284d8){_0x5785ed=_0x4284d8;_0x1769c7[_0x42f8('0x3e')]=_[_0x42f8('0x40')](db['OpenchannelApplication']['rawAttributes']);_0x1769c7[_0x42f8('0x3f')]=_[_0x42f8('0x40')](_0x45938f[_0x42f8('0x3f')]);_0x1769c7[_0x42f8('0x41')]=_[_0x42f8('0x42')](_0x1769c7[_0x42f8('0x3e')],_0x1769c7[_0x42f8('0x3f')]);_0x1745d4[_0x42f8('0x43')]=_['intersection'](_0x1769c7[_0x42f8('0x3e')],qs[_0x42f8('0x44')](_0x45938f['query'][_0x42f8('0x44')]));_0x1745d4[_0x42f8('0x43')]=_0x1745d4['attributes'][_0x42f8('0x45')]?_0x1745d4[_0x42f8('0x43')]:_0x1769c7[_0x42f8('0x3e')];_0x1745d4[_0x42f8('0x49')]=qs['sort'](_0x45938f[_0x42f8('0x3f')][_0x42f8('0x4a')]);_0x1745d4['where']=qs[_0x42f8('0x41')](_[_0x42f8('0x4b')](_0x45938f[_0x42f8('0x3f')],_0x1769c7['filters']));if(_0x45938f[_0x42f8('0x3f')]['filter']){_0x1745d4[_0x42f8('0x4e')]=_[_0x42f8('0x4d')](_0x1745d4[_0x42f8('0x4e')],{'$or':_['map'](_0x1745d4['attributes'],function(_0x3c1cd7){var _0x1a44ae={};_0x1a44ae[_0x3c1cd7]={'$like':'%'+_0x45938f['query'][_0x42f8('0x4c')]+'%'};return _0x1a44ae;})});}_0x1745d4=_['merge']({},_0x1745d4,_0x45938f['options']);return _0x5785ed[_0x42f8('0xa7')](_0x1745d4);}})['then'](function(_0x45164c){if(_0x45164c){_0x83439f=_0x45164c[_0x42f8('0x45')];if(!_0x45938f[_0x42f8('0x3f')][_0x42f8('0x46')](_0x42f8('0x47'))){_0x1745d4['limit']=qs[_0x42f8('0x48')](_0x45938f[_0x42f8('0x3f')][_0x42f8('0x48')]);_0x1745d4[_0x42f8('0x31')]=qs['offset'](_0x45938f[_0x42f8('0x3f')][_0x42f8('0x31')]);}return _0x5785ed[_0x42f8('0xa7')](_0x1745d4);}})[_0x42f8('0x24')](function(_0x2c8d5e){if(_0x2c8d5e){return _0x2c8d5e?{'count':_0x83439f,'rows':_0x2c8d5e}:null;}})['then'](respondWithResult(_0x8121ac,null))[_0x42f8('0x2d')](handleError(_0x8121ac,null));};exports[_0x42f8('0xa8')]=function(_0x19de66,_0x3d1ebc,_0x5bd63a){var _0x364936={'raw':![],'where':{}};var _0x51a914={};var _0x43b1c2={'count':0x0,'rows':[]};return db[_0x42f8('0x5a')][_0x42f8('0x6b')]({'where':{'id':_0x19de66[_0x42f8('0x58')]['id']}})['then'](handleEntityNotFound(_0x3d1ebc,null))['then'](function(_0x497aff){if(_0x497aff){_0x51a914[_0x42f8('0x3e')]=_[_0x42f8('0x40')](db[_0x42f8('0x8f')][_0x42f8('0x3c')]);_0x51a914[_0x42f8('0x3f')]=_[_0x42f8('0x40')](_0x19de66[_0x42f8('0x3f')]);_0x51a914[_0x42f8('0x41')]=_[_0x42f8('0x42')](_0x51a914[_0x42f8('0x3e')],_0x51a914[_0x42f8('0x3f')]);_0x364936['attributes']=_['intersection'](_0x51a914['model'],qs[_0x42f8('0x44')](_0x19de66['query'][_0x42f8('0x44')]));_0x364936[_0x42f8('0x43')]=_0x364936[_0x42f8('0x43')][_0x42f8('0x45')]?_0x364936[_0x42f8('0x43')]:_0x51a914[_0x42f8('0x3e')];if(!_0x19de66[_0x42f8('0x3f')][_0x42f8('0x46')](_0x42f8('0x47'))){_0x364936[_0x42f8('0x48')]=qs['limit'](_0x19de66['query'][_0x42f8('0x48')]);_0x364936[_0x42f8('0x31')]=qs[_0x42f8('0x31')](_0x19de66[_0x42f8('0x3f')]['offset']);}_0x364936['order']=qs[_0x42f8('0x4a')](_0x19de66[_0x42f8('0x3f')][_0x42f8('0x4a')]);_0x364936['where']=qs[_0x42f8('0x41')](_[_0x42f8('0x4b')](_0x19de66[_0x42f8('0x3f')],_0x51a914[_0x42f8('0x41')]));_0x364936[_0x42f8('0x4e')][_0x42f8('0x70')]=_0x497aff['id'];if(_0x19de66[_0x42f8('0x3f')][_0x42f8('0x4c')]){_0x364936[_0x42f8('0x4e')]=_[_0x42f8('0x4d')](_0x364936['where'],{'$or':_[_0x42f8('0x4f')](_0x364936[_0x42f8('0x43')],function(_0x2497cb){var _0x94a553={};_0x94a553[_0x2497cb]={'$like':'%'+_0x19de66['query'][_0x42f8('0x4c')]+'%'};return _0x94a553;})});}_0x364936=_[_0x42f8('0x4d')]({},_0x364936,_0x19de66[_0x42f8('0x51')]);return db[_0x42f8('0x8f')][_0x42f8('0x52')]({'where':_0x364936['where']})[_0x42f8('0x24')](function(_0x3fc4c1){_0x43b1c2['count']=_0x3fc4c1;if(_0x19de66[_0x42f8('0x3f')]['includeAll']){_0x364936[_0x42f8('0x54')]=[{'model':db[_0x42f8('0x8b')],'as':_0x42f8('0xa9'),'required':![]},{'model':db[_0x42f8('0x9c')],'as':_0x42f8('0xaa'),'attributes':['name','fullname',_0x42f8('0xab')],'required':![]},{'model':db[_0x42f8('0xac')],'as':_0x42f8('0xad'),'attributes':['id',_0x42f8('0x38'),_0x42f8('0xae')],'where':_0x19de66[_0x42f8('0x3f')][_0x42f8('0xaf')]?{'id':_0x19de66['query'][_0x42f8('0xaf')]}:undefined,'required':_0x19de66[_0x42f8('0x3f')]['tag']?!![]:![]}];}return db[_0x42f8('0x8f')][_0x42f8('0x55')](_0x364936);})[_0x42f8('0x24')](function(_0x115365){_0x43b1c2[_0x42f8('0x56')]=_0x115365;return _0x43b1c2;});}})['then'](respondWithFilteredResult(_0x3d1ebc,_0x364936))[_0x42f8('0x2d')](handleError(_0x3d1ebc,null));};exports[_0x42f8('0xb0')]=function(_0x2b65db,_0x3775a1,_0x28fe29){return db[_0x42f8('0x5a')][_0x42f8('0x5b')]({'where':{'id':_0x2b65db['params']['id']}})['then'](handleEntityNotFound(_0x3775a1,null))['then'](function(_0x15fa20){if(_0x15fa20){return _0x15fa20[_0x42f8('0xb0')](_0x2b65db['body'][_0x42f8('0x6e')],_[_0x42f8('0xb1')](_0x2b65db[_0x42f8('0x5d')],[_0x42f8('0x6e'),'id'])||{})[_0x42f8('0x92')](function(_0x4a774a){for(var _0x2e0335=0x0;_0x2e0335<_0x2b65db[_0x42f8('0x5d')]['ids'][_0x42f8('0x45')];_0x2e0335+=0x1){socket[_0x42f8('0xb2')](_0x42f8('0xb3'),{'UserId':_0x2b65db[_0x42f8('0x5d')][_0x42f8('0x6e')][_0x2e0335],'OpenchannelAccountId':_0x2b65db['params']['id']});}return _0x4a774a;});}})[_0x42f8('0x24')](respondWithResult(_0x3775a1,null))['catch'](handleError(_0x3775a1,null));};exports[_0x42f8('0xb4')]=function(_0x580abb,_0xa04ed4,_0x3abcf7){return db[_0x42f8('0x5a')][_0x42f8('0x5b')]({'where':{'id':_0x580abb['params']['id']}})['then'](handleEntityNotFound(_0xa04ed4,null))[_0x42f8('0x24')](function(_0x57d355){if(_0x57d355){return _0x57d355[_0x42f8('0xb4')](_0x580abb[_0x42f8('0x3f')]['ids'])[_0x42f8('0x24')](function(){if(_['isArray'](_0x580abb['query'][_0x42f8('0x6e')])){for(var _0x1cfada=0x0;_0x1cfada<_0x580abb[_0x42f8('0x3f')][_0x42f8('0x6e')][_0x42f8('0x45')];_0x1cfada+=0x1){socket[_0x42f8('0xb2')]('userOpenchannelAccount:remove',{'UserId':Number(_0x580abb[_0x42f8('0x3f')][_0x42f8('0x6e')][_0x1cfada]),'OpenchannelAccountId':Number(_0x580abb['params']['id'])});}}else{socket[_0x42f8('0xb2')](_0x42f8('0xb5'),{'UserId':Number(_0x580abb[_0x42f8('0x3f')][_0x42f8('0x6e')]),'OpenchannelAccountId':Number(_0x580abb[_0x42f8('0x58')]['id'])});}});}})['then'](respondWithStatusCode(_0xa04ed4,null))['catch'](handleError(_0xa04ed4,null));};exports[_0x42f8('0xb6')]=function(_0x66e26,_0x5bb92d,_0xb779d5){var _0x42c2cb={};var _0xb1dfa9={};var _0x59844c;var _0x4192c3;return db['OpenchannelAccount'][_0x42f8('0x6b')]({'where':{'id':_0x66e26[_0x42f8('0x58')]['id']}})['then'](handleEntityNotFound(_0x5bb92d,null))[_0x42f8('0x24')](function(_0x1b1f93){if(_0x1b1f93){_0x59844c=_0x1b1f93;_0xb1dfa9['model']=_[_0x42f8('0x40')](db['User']['rawAttributes']);_0xb1dfa9[_0x42f8('0x3f')]=_[_0x42f8('0x40')](_0x66e26[_0x42f8('0x3f')]);_0xb1dfa9['filters']=_['intersection'](_0xb1dfa9[_0x42f8('0x3e')],_0xb1dfa9['query']);_0x42c2cb[_0x42f8('0x43')]=_[_0x42f8('0x42')](_0xb1dfa9[_0x42f8('0x3e')],qs[_0x42f8('0x44')](_0x66e26['query'][_0x42f8('0x44')]));_0x42c2cb[_0x42f8('0x43')]=_0x42c2cb[_0x42f8('0x43')][_0x42f8('0x45')]?_0x42c2cb[_0x42f8('0x43')]:_0xb1dfa9[_0x42f8('0x3e')];_0x42c2cb[_0x42f8('0x49')]=qs[_0x42f8('0x4a')](_0x66e26[_0x42f8('0x3f')][_0x42f8('0x4a')]);_0x42c2cb[_0x42f8('0x4e')]=qs[_0x42f8('0x41')](_['pick'](_0x66e26[_0x42f8('0x3f')],_0xb1dfa9[_0x42f8('0x41')]));if(_0x66e26[_0x42f8('0x3f')]['filter']){_0x42c2cb[_0x42f8('0x4e')]=_[_0x42f8('0x4d')](_0x42c2cb['where'],{'$or':_['map'](_0x42c2cb['attributes'],function(_0x1e7b2d){var _0x309e3a={};_0x309e3a[_0x1e7b2d]={'$like':'%'+_0x66e26[_0x42f8('0x3f')][_0x42f8('0x4c')]+'%'};return _0x309e3a;})});}_0x42c2cb=_[_0x42f8('0x4d')]({},_0x42c2cb,_0x66e26[_0x42f8('0x51')]);return _0x59844c['getAgents'](_0x42c2cb);}})[_0x42f8('0x24')](function(_0x11771a){if(_0x11771a){_0x4192c3=_0x11771a[_0x42f8('0x45')];if(!_0x66e26[_0x42f8('0x3f')][_0x42f8('0x46')]('nolimit')){_0x42c2cb[_0x42f8('0x48')]=qs[_0x42f8('0x48')](_0x66e26[_0x42f8('0x3f')][_0x42f8('0x48')]);_0x42c2cb[_0x42f8('0x31')]=qs[_0x42f8('0x31')](_0x66e26[_0x42f8('0x3f')]['offset']);}return _0x59844c[_0x42f8('0xb6')](_0x42c2cb);}})['then'](function(_0x4ee6a0){if(_0x4ee6a0){return _0x4ee6a0?{'count':_0x4192c3,'rows':_0x4ee6a0}:null;}})[_0x42f8('0x24')](respondWithResult(_0x5bb92d,null))[_0x42f8('0x2d')](handleError(_0x5bb92d,null));};exports[_0x42f8('0x39')]=function(_0x172a7a,_0x13b8d3,_0xeefe67){var _0x400635,_0x5eff1b,_0xeb7473;if(_['isNil'](_0x172a7a['body'][_0x42f8('0x5d')])||_0x172a7a[_0x42f8('0x5d')][_0x42f8('0x5d')]===''){throw new db[(_0x42f8('0x21'))][(_0x42f8('0x75'))](_0x42f8('0x7e'));}if(_[_0x42f8('0x7d')](_0x172a7a[_0x42f8('0x5d')]['to'])){}_0x400635=_0x172a7a[_0x42f8('0x5d')]['to'];return db['OpenchannelAccount'][_0x42f8('0x6b')]({'where':{'id':_0x172a7a[_0x42f8('0x58')]['id']}})['then'](handleEntityNotFound(_0x13b8d3,null))[_0x42f8('0x24')](function(_0x489ea2){if(_0x489ea2){return db['OpenchannelAccount'][_0x42f8('0x5b')]({'where':{'id':_0x489ea2['id']},'include':[{'model':db[_0x42f8('0xb7')],'as':_0x42f8('0x82'),'include':[{'model':db[_0x42f8('0x8b')],'as':_0x42f8('0x83'),'where':{[_0x489ea2[_0x42f8('0x80')]]:_0x400635},'limit':0x1,'order':[['updatedAt',_0x42f8('0x84')]]}]}]})[_0x42f8('0x24')](handleEntityNotFound(_0x13b8d3,null))[_0x42f8('0x24')](function(_0x2f8ea9){if(_0x2f8ea9&&_0x2f8ea9[_0x42f8('0x82')]){_0x5eff1b=_0x2f8ea9[_0x42f8('0x36')]({'plain':!![]});if(_0x5eff1b[_0x42f8('0x82')]&&_0x5eff1b[_0x42f8('0x82')][_0x42f8('0x83')][_0x42f8('0x45')]){return _0x5eff1b[_0x42f8('0x82')][_0x42f8('0x83')][0x0];}return db['CmContact'][_0x42f8('0x5c')](_['defaults'](_0x172a7a[_0x42f8('0x5d')],{'firstName':_0x400635,[_0x2f8ea9[_0x42f8('0x80')]]:_0x400635,'phone':_0x400635,'ListId':_0x5eff1b[_0x42f8('0x7a')]}));}})[_0x42f8('0x24')](handleEntityNotFound(_0x13b8d3,null))['then'](function(_0x11d2f8){if(_0x11d2f8){_0xeb7473=_0x11d2f8;return db['OpenchannelInteraction'][_0x42f8('0x5b')]({'where':{'ContactId':_0xeb7473['id'],'closed':![],'OpenchannelAccountId':_0x5eff1b['id']}})[_0x42f8('0x24')](function(_0x30f1b9){if(_0x30f1b9){return[_0x30f1b9,![]];}return db[_0x42f8('0x8f')][_0x42f8('0x5c')]({'UserId':_0x172a7a[_0x42f8('0x60')]['id'],'ContactId':_0xeb7473['id'],'OpenchannelAccountId':_0x5eff1b['id'],'lastMsgDirection':_0x42f8('0xb8'),'Messages':[_[_0x42f8('0x4d')](_0x172a7a['body'],{'read':![],'body':_0x172a7a['body'][_0x42f8('0x5d')],'OpenchannelAccountId':_0x5eff1b['id'],'UserId':_0x172a7a[_0x42f8('0x60')]['id'],'ContactId':_0xeb7473['id']})]},{'include':[{'model':db[_0x42f8('0xb9')],'as':_0x42f8('0xba')}]})['then'](function(_0x4a82df){return[_0x4a82df,!![]];});});}})[_0x42f8('0x92')](function(_0x2e2d7b,_0x2481e5){if(_0x2481e5){return _0x2e2d7b;}return db[_0x42f8('0xb9')]['create'](_[_0x42f8('0x4d')](_0x172a7a[_0x42f8('0x5d')],{'read':![],'body':_0x172a7a[_0x42f8('0x5d')][_0x42f8('0x5d')],'OpenchannelAccountId':_0x5eff1b['id'],'OpenchannelInteractionId':_0x2e2d7b['id'],'UserId':_0x172a7a[_0x42f8('0x60')]['id'],'ContactId':_0xeb7473['id']}))[_0x42f8('0x24')](function(_0x193fe8){_0x2e2d7b[_0x42f8('0xbb')][_0x42f8('0xba')]=[];_0x2e2d7b[_0x42f8('0xbb')][_0x42f8('0xba')][_0x42f8('0xbc')](_0x193fe8[_0x42f8('0xbb')]);return _0x2e2d7b;});});}})[_0x42f8('0x24')](respondWithResult(_0x13b8d3,null))[_0x42f8('0x2d')](handleError(_0x13b8d3,null));}; \ No newline at end of file diff --git a/server/api/openchannelAccount/openchannelAccount.events.js b/server/api/openchannelAccount/openchannelAccount.events.js index 06a44f6..55faa4f 100644 --- a/server/api/openchannelAccount/openchannelAccount.events.js +++ b/server/api/openchannelAccount/openchannelAccount.events.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xc551=['hasOwnProperty','hook','events','OpenchannelAccount','save','update','remove','emit'];(function(_0x5d3d72,_0x1df620){var _0x5d2e5a=function(_0x133988){while(--_0x133988){_0x5d3d72['push'](_0x5d3d72['shift']());}};_0x5d2e5a(++_0x1df620);}(_0xc551,0x14a));var _0x1c55=function(_0x27cf64,_0x9cbf5b){_0x27cf64=_0x27cf64-0x0;var _0x113af1=_0xc551[_0x27cf64];return _0x113af1;};'use strict';var EventEmitter=require(_0x1c55('0x0'));var OpenchannelAccount=require('../../mysqldb')['db'][_0x1c55('0x1')];var OpenchannelAccountEvents=new EventEmitter();OpenchannelAccountEvents['setMaxListeners'](0x0);var events={'afterCreate':_0x1c55('0x2'),'afterUpdate':_0x1c55('0x3'),'afterDestroy':_0x1c55('0x4')};function emitEvent(_0x5f4524){return function(_0x51e3ad,_0x3cfca6,_0x2b575f){OpenchannelAccountEvents[_0x1c55('0x5')](_0x5f4524+':'+_0x51e3ad['id'],_0x51e3ad);OpenchannelAccountEvents[_0x1c55('0x5')](_0x5f4524,_0x51e3ad);_0x2b575f(null);};}for(var e in events){if(events[_0x1c55('0x6')](e)){var event=events[e];OpenchannelAccount[_0x1c55('0x7')](e,emitEvent(event));}}module['exports']=OpenchannelAccountEvents; \ No newline at end of file +var _0x0d65=['hook','exports','../../mysqldb','setMaxListeners','save','update','remove','emit','hasOwnProperty'];(function(_0x570c8a,_0x4a11cc){var _0x25dc12=function(_0x4585d9){while(--_0x4585d9){_0x570c8a['push'](_0x570c8a['shift']());}};_0x25dc12(++_0x4a11cc);}(_0x0d65,0x1f1));var _0x50d6=function(_0x227cfa,_0x373bad){_0x227cfa=_0x227cfa-0x0;var _0x25dfb8=_0x0d65[_0x227cfa];return _0x25dfb8;};'use strict';var EventEmitter=require('events');var OpenchannelAccount=require(_0x50d6('0x0'))['db']['OpenchannelAccount'];var OpenchannelAccountEvents=new EventEmitter();OpenchannelAccountEvents[_0x50d6('0x1')](0x0);var events={'afterCreate':_0x50d6('0x2'),'afterUpdate':_0x50d6('0x3'),'afterDestroy':_0x50d6('0x4')};function emitEvent(_0x22f01b){return function(_0x55a45f,_0x35bc20,_0x581e4c){OpenchannelAccountEvents['emit'](_0x22f01b+':'+_0x55a45f['id'],_0x55a45f);OpenchannelAccountEvents[_0x50d6('0x5')](_0x22f01b,_0x55a45f);_0x581e4c(null);};}for(var e in events){if(events[_0x50d6('0x6')](e)){var event=events[e];OpenchannelAccount[_0x50d6('0x7')](e,emitEvent(event));}}module[_0x50d6('0x8')]=OpenchannelAccountEvents; \ No newline at end of file diff --git a/server/api/openchannelAccount/openchannelAccount.model.js b/server/api/openchannelAccount/openchannelAccount.model.js index 6c8d0ac..b5b1dfa 100644 --- a/server/api/openchannelAccount/openchannelAccount.model.js +++ b/server/api/openchannelAccount/openchannelAccount.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x07b2=['request-promise','rimraf','exports','define','OpenchannelAccount','openchannel_accounts','lodash','util','../../config/logger','api','moment'];(function(_0x5c0e46,_0x3aff73){var _0x23409b=function(_0x19ec31){while(--_0x19ec31){_0x5c0e46['push'](_0x5c0e46['shift']());}};_0x23409b(++_0x3aff73);}(_0x07b2,0x69));var _0x207b=function(_0x49a4fe,_0x4fad37){_0x49a4fe=_0x49a4fe-0x0;var _0x3604cf=_0x07b2[_0x49a4fe];return _0x3604cf;};'use strict';var _=require(_0x207b('0x0'));var util=require(_0x207b('0x1'));var logger=require(_0x207b('0x2'))(_0x207b('0x3'));var moment=require(_0x207b('0x4'));var BPromise=require('bluebird');var rp=require(_0x207b('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x207b('0x6'));var config=require('../../config/environment');var attributes=require('./openchannelAccount.attributes');module[_0x207b('0x7')]=function(_0x2e9ae4,_0x39564a){return _0x2e9ae4[_0x207b('0x8')](_0x207b('0x9'),attributes,{'tableName':_0x207b('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0xc510=['request-promise','path','rimraf','../../config/environment','./openchannelAccount.attributes','define','OpenchannelAccount','openchannel_accounts','lodash','util','api','moment','bluebird'];(function(_0xf1ce1d,_0x3f7ed4){var _0x3c704b=function(_0x11d4c2){while(--_0x11d4c2){_0xf1ce1d['push'](_0xf1ce1d['shift']());}};_0x3c704b(++_0x3f7ed4);}(_0xc510,0x1a8));var _0x0c51=function(_0x498396,_0x395c9a){_0x498396=_0x498396-0x0;var _0x1b0fbd=_0xc510[_0x498396];return _0x1b0fbd;};'use strict';var _=require(_0x0c51('0x0'));var util=require(_0x0c51('0x1'));var logger=require('../../config/logger')(_0x0c51('0x2'));var moment=require(_0x0c51('0x3'));var BPromise=require(_0x0c51('0x4'));var rp=require(_0x0c51('0x5'));var fs=require('fs');var path=require(_0x0c51('0x6'));var rimraf=require(_0x0c51('0x7'));var config=require(_0x0c51('0x8'));var attributes=require(_0x0c51('0x9'));module['exports']=function(_0x4bf49d,_0x4c61c9){return _0x4bf49d[_0x0c51('0xa')](_0x0c51('0xb'),attributes,{'tableName':_0x0c51('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/openchannelAccount/openchannelAccount.rpc.js b/server/api/openchannelAccount/openchannelAccount.rpc.js index c55e2a0..2989269 100644 --- a/server/api/openchannelAccount/openchannelAccount.rpc.js +++ b/server/api/openchannelAccount/openchannelAccount.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x0ddb=['error','code','message','result','catch','util','moment','bluebird','randomstring','ioredis','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','client','http','redis','defaults','localhost','socket.io-emitter','register','request','then','info','OpenchannelAccount,\x20%s,\x20%s','request\x20sent','debug','stringify'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x0ddb,0xd0));var _0xb0dd=function(_0x321bb2,_0x202794){_0x321bb2=_0x321bb2-0x0;var _0x9c12ed=_0x0ddb[_0x321bb2];return _0x9c12ed;};'use strict';var _=require('lodash');var util=require(_0xb0dd('0x0'));var moment=require(_0xb0dd('0x1'));var BPromise=require(_0xb0dd('0x2'));var rs=require(_0xb0dd('0x3'));var fs=require('fs');var Redis=require(_0xb0dd('0x4'));var db=require('../../mysqldb')['db'];var utils=require(_0xb0dd('0x5'));var logger=require(_0xb0dd('0x6'))(_0xb0dd('0x7'));var config=require(_0xb0dd('0x8'));var jayson=require(_0xb0dd('0x9'));var client=jayson[_0xb0dd('0xa')][_0xb0dd('0xb')]({'port':0x232a});config[_0xb0dd('0xc')]=_[_0xb0dd('0xd')](config[_0xb0dd('0xc')],{'host':_0xb0dd('0xe'),'port':0x18eb});var socket=require(_0xb0dd('0xf'))(new Redis(config[_0xb0dd('0xc')]));require('./openchannelAccount.socket')[_0xb0dd('0x10')](socket);function respondWithRpcPromise(_0x15abed,_0x44bb28,_0x4a4ce8){return new BPromise(function(_0x36e464,_0x3a297d){return client[_0xb0dd('0x11')](_0x15abed,_0x4a4ce8)[_0xb0dd('0x12')](function(_0x1e7950){logger[_0xb0dd('0x13')](_0xb0dd('0x14'),_0x44bb28,_0xb0dd('0x15'));logger[_0xb0dd('0x16')]('OpenchannelAccount,\x20%s,\x20%s,\x20%s',_0x44bb28,_0xb0dd('0x15'),JSON[_0xb0dd('0x17')](_0x1e7950));if(_0x1e7950[_0xb0dd('0x18')]){if(_0x1e7950[_0xb0dd('0x18')][_0xb0dd('0x19')]===0x1f4){logger[_0xb0dd('0x18')](_0xb0dd('0x14'),_0x44bb28,_0x1e7950['error'][_0xb0dd('0x1a')]);return _0x3a297d(_0x1e7950[_0xb0dd('0x18')][_0xb0dd('0x1a')]);}logger[_0xb0dd('0x18')]('OpenchannelAccount,\x20%s,\x20%s',_0x44bb28,_0x1e7950[_0xb0dd('0x18')][_0xb0dd('0x1a')]);return _0x36e464(_0x1e7950[_0xb0dd('0x18')][_0xb0dd('0x1a')]);}else{logger['info'](_0xb0dd('0x14'),_0x44bb28,_0xb0dd('0x15'));_0x36e464(_0x1e7950[_0xb0dd('0x1b')]['message']);}})[_0xb0dd('0x1c')](function(_0x121dd1){logger[_0xb0dd('0x18')](_0xb0dd('0x14'),_0x44bb28,_0x121dd1);_0x3a297d(_0x121dd1);});});} \ No newline at end of file +var _0x84c2=['jayson/promise','client','http','defaults','redis','socket.io-emitter','./openchannelAccount.socket','register','request','info','debug','OpenchannelAccount,\x20%s,\x20%s,\x20%s','request\x20sent','stringify','code','error','message','OpenchannelAccount,\x20%s,\x20%s','result','catch','bluebird','../../mysqldb','../../config/utils','rpc','../../config/environment'];(function(_0x3dae18,_0x90036c){var _0x294ba1=function(_0x4b555b){while(--_0x4b555b){_0x3dae18['push'](_0x3dae18['shift']());}};_0x294ba1(++_0x90036c);}(_0x84c2,0x1d6));var _0x284c=function(_0x291e0e,_0x792683){_0x291e0e=_0x291e0e-0x0;var _0x3f85f3=_0x84c2[_0x291e0e];return _0x3f85f3;};'use strict';var _=require('lodash');var util=require('util');var moment=require('moment');var BPromise=require(_0x284c('0x0'));var rs=require('randomstring');var fs=require('fs');var Redis=require('ioredis');var db=require(_0x284c('0x1'))['db'];var utils=require(_0x284c('0x2'));var logger=require('../../config/logger')(_0x284c('0x3'));var config=require(_0x284c('0x4'));var jayson=require(_0x284c('0x5'));var client=jayson[_0x284c('0x6')][_0x284c('0x7')]({'port':0x232a});config['redis']=_[_0x284c('0x8')](config[_0x284c('0x9')],{'host':'localhost','port':0x18eb});var socket=require(_0x284c('0xa'))(new Redis(config[_0x284c('0x9')]));require(_0x284c('0xb'))[_0x284c('0xc')](socket);function respondWithRpcPromise(_0x42a16e,_0x34a41f,_0x4c93d2){return new BPromise(function(_0x598779,_0x34e2e8){return client[_0x284c('0xd')](_0x42a16e,_0x4c93d2)['then'](function(_0x214c17){logger[_0x284c('0xe')]('OpenchannelAccount,\x20%s,\x20%s',_0x34a41f,'request\x20sent');logger[_0x284c('0xf')](_0x284c('0x10'),_0x34a41f,_0x284c('0x11'),JSON[_0x284c('0x12')](_0x214c17));if(_0x214c17['error']){if(_0x214c17['error'][_0x284c('0x13')]===0x1f4){logger['error']('OpenchannelAccount,\x20%s,\x20%s',_0x34a41f,_0x214c17[_0x284c('0x14')]['message']);return _0x34e2e8(_0x214c17[_0x284c('0x14')][_0x284c('0x15')]);}logger['error'](_0x284c('0x16'),_0x34a41f,_0x214c17['error'][_0x284c('0x15')]);return _0x598779(_0x214c17['error'][_0x284c('0x15')]);}else{logger[_0x284c('0xe')]('OpenchannelAccount,\x20%s,\x20%s',_0x34a41f,_0x284c('0x11'));_0x598779(_0x214c17[_0x284c('0x17')]['message']);}})[_0x284c('0x18')](function(_0x12840a){logger[_0x284c('0x14')](_0x284c('0x16'),_0x34a41f,_0x12840a);_0x34e2e8(_0x12840a);});});} \ No newline at end of file diff --git a/server/api/openchannelAccount/openchannelAccount.socket.js b/server/api/openchannelAccount/openchannelAccount.socket.js index 993e47b..3e15ec2 100644 --- a/server/api/openchannelAccount/openchannelAccount.socket.js +++ b/server/api/openchannelAccount/openchannelAccount.socket.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x829c=['openchannelAccount:','save','remove','emit','removeListener','register','length'];(function(_0x56d021,_0x307be8){var _0x15a2d3=function(_0x3c4efb){while(--_0x3c4efb){_0x56d021['push'](_0x56d021['shift']());}};_0x15a2d3(++_0x307be8);}(_0x829c,0xe8));var _0xc829=function(_0x195791,_0x12a2ba){_0x195791=_0x195791-0x0;var _0x2d2c98=_0x829c[_0x195791];return _0x2d2c98;};'use strict';var OpenchannelAccountEvents=require('./openchannelAccount.events');var events=[_0xc829('0x0'),_0xc829('0x1'),'update'];function createListener(_0x297046,_0x125059){return function(_0x470aa1){_0x125059[_0xc829('0x2')](_0x297046,_0x470aa1);};}function removeListener(_0x1fd957,_0x380883){return function(){OpenchannelAccountEvents[_0xc829('0x3')](_0x1fd957,_0x380883);};}exports[_0xc829('0x4')]=function(_0x162231){for(var _0x38e1eb=0x0,_0x186838=events[_0xc829('0x5')];_0x38e1eb<_0x186838;_0x38e1eb++){var _0x40d8e3=events[_0x38e1eb];var _0x4529ea=createListener(_0xc829('0x6')+_0x40d8e3,_0x162231);OpenchannelAccountEvents['on'](_0x40d8e3,_0x4529ea);}}; \ No newline at end of file +var _0x6296=['save','remove','update','removeListener','register','length','./openchannelAccount.events'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x6296,0x133));var _0x6629=function(_0x130b7d,_0x8c82a3){_0x130b7d=_0x130b7d-0x0;var _0x2c128d=_0x6296[_0x130b7d];return _0x2c128d;};'use strict';var OpenchannelAccountEvents=require(_0x6629('0x0'));var events=[_0x6629('0x1'),_0x6629('0x2'),_0x6629('0x3')];function createListener(_0x3c8d72,_0x222efb){return function(_0x181157){_0x222efb['emit'](_0x3c8d72,_0x181157);};}function removeListener(_0x3380a2,_0x4c1059){return function(){OpenchannelAccountEvents[_0x6629('0x4')](_0x3380a2,_0x4c1059);};}exports[_0x6629('0x5')]=function(_0x44bedf){for(var _0x292043=0x0,_0x440133=events[_0x6629('0x6')];_0x292043<_0x440133;_0x292043++){var _0x2f54c1=events[_0x292043];var _0x19c1f9=createListener('openchannelAccount:'+_0x2f54c1,_0x44bedf);OpenchannelAccountEvents['on'](_0x2f54c1,_0x19c1f9);}}; \ No newline at end of file diff --git a/server/api/openchannelApplication/index.js b/server/api/openchannelApplication/index.js index fae47c0..21b76fd 100644 --- a/server/api/openchannelApplication/index.js +++ b/server/api/openchannelApplication/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x7e3d=['get','isAuthenticated','index','/:id','post','create','delete','exports','multer','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./openchannelApplication.controller'];(function(_0x21d982,_0x1c6cf5){var _0x1b045d=function(_0x2126fb){while(--_0x2126fb){_0x21d982['push'](_0x21d982['shift']());}};_0x1b045d(++_0x1c6cf5);}(_0x7e3d,0xa1));var _0xd7e3=function(_0x1b25ca,_0x1c43b3){_0x1b25ca=_0x1b25ca-0x0;var _0x118990=_0x7e3d[_0x1b25ca];return _0x118990;};'use strict';var multer=require(_0xd7e3('0x0'));var util=require('util');var path=require(_0xd7e3('0x1'));var timeout=require(_0xd7e3('0x2'));var express=require(_0xd7e3('0x3'));var router=express[_0xd7e3('0x4')]();var auth=require(_0xd7e3('0x5'));var interaction=require(_0xd7e3('0x6'));var config=require(_0xd7e3('0x7'));var controller=require(_0xd7e3('0x8'));router[_0xd7e3('0x9')]('/',auth[_0xd7e3('0xa')](),controller[_0xd7e3('0xb')]);router[_0xd7e3('0x9')](_0xd7e3('0xc'),auth[_0xd7e3('0xa')](),controller['show']);router[_0xd7e3('0xd')]('/',auth[_0xd7e3('0xa')](),controller[_0xd7e3('0xe')]);router['put'](_0xd7e3('0xc'),auth[_0xd7e3('0xa')](),controller['update']);router[_0xd7e3('0xf')](_0xd7e3('0xc'),auth[_0xd7e3('0xa')](),controller['destroy']);module[_0xd7e3('0x10')]=router; \ No newline at end of file +var _0x612e=['/:id','post','create','put','update','delete','destroy','multer','util','path','connect-timeout','../../config/environment','./openchannelApplication.controller','get','isAuthenticated'];(function(_0x44211d,_0x2f6292){var _0x4986c0=function(_0x134ac2){while(--_0x134ac2){_0x44211d['push'](_0x44211d['shift']());}};_0x4986c0(++_0x2f6292);}(_0x612e,0x16f));var _0xe612=function(_0x298a3a,_0x4f8ffc){_0x298a3a=_0x298a3a-0x0;var _0x3b791d=_0x612e[_0x298a3a];return _0x3b791d;};'use strict';var multer=require(_0xe612('0x0'));var util=require(_0xe612('0x1'));var path=require(_0xe612('0x2'));var timeout=require(_0xe612('0x3'));var express=require('express');var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xe612('0x4'));var controller=require(_0xe612('0x5'));router[_0xe612('0x6')]('/',auth[_0xe612('0x7')](),controller['index']);router[_0xe612('0x6')](_0xe612('0x8'),auth[_0xe612('0x7')](),controller['show']);router[_0xe612('0x9')]('/',auth[_0xe612('0x7')](),controller[_0xe612('0xa')]);router[_0xe612('0xb')](_0xe612('0x8'),auth[_0xe612('0x7')](),controller[_0xe612('0xc')]);router[_0xe612('0xd')](_0xe612('0x8'),auth[_0xe612('0x7')](),controller[_0xe612('0xe')]);module['exports']=router; \ No newline at end of file diff --git a/server/api/openchannelApplication/openchannelApplication.attributes.js b/server/api/openchannelApplication/openchannelApplication.attributes.js index a0c6a0a..576e4e4 100644 --- a/server/api/openchannelApplication/openchannelApplication.attributes.js +++ b/server/api/openchannelApplication/openchannelApplication.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x72ee=['INTEGER','STRING','noop','TEXT','*,*,*,*'];(function(_0x58fc03,_0x4f1093){var _0x4d27ae=function(_0x1584aa){while(--_0x1584aa){_0x58fc03['push'](_0x58fc03['shift']());}};_0x4d27ae(++_0x4f1093);}(_0x72ee,0x1ae));var _0xe72e=function(_0x122ef9,_0x451d2a){_0x122ef9=_0x122ef9-0x0;var _0x42fba0=_0x72ee[_0x122ef9];return _0x42fba0;};'use strict';var Sequelize=require('sequelize');module['exports']={'priority':{'type':Sequelize[_0xe72e('0x0')],'allowNull':![]},'app':{'type':Sequelize[_0xe72e('0x1')],'allowNull':![],'defaultValue':_0xe72e('0x2')},'appdata':{'type':Sequelize[_0xe72e('0x3')]()},'description':{'type':Sequelize[_0xe72e('0x1')]},'interval':{'type':Sequelize[_0xe72e('0x1')],'defaultValue':_0xe72e('0x4')}}; \ No newline at end of file +var _0x33d4=['exports','noop','TEXT','STRING','*,*,*,*','sequelize'];(function(_0x123954,_0x1fef6e){var _0x4f7fe5=function(_0x181757){while(--_0x181757){_0x123954['push'](_0x123954['shift']());}};_0x4f7fe5(++_0x1fef6e);}(_0x33d4,0xf5));var _0x433d=function(_0x5056ca,_0x2e7dba){_0x5056ca=_0x5056ca-0x0;var _0x464b6c=_0x33d4[_0x5056ca];return _0x464b6c;};'use strict';var Sequelize=require(_0x433d('0x0'));module[_0x433d('0x1')]={'priority':{'type':Sequelize['INTEGER'],'allowNull':![]},'app':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':_0x433d('0x2')},'appdata':{'type':Sequelize[_0x433d('0x3')]()},'description':{'type':Sequelize[_0x433d('0x4')]},'interval':{'type':Sequelize[_0x433d('0x4')],'defaultValue':_0x433d('0x5')}}; \ No newline at end of file diff --git a/server/api/openchannelApplication/openchannelApplication.controller.js b/server/api/openchannelApplication/openchannelApplication.controller.js index 28cd0e1..0904964 100644 --- a/server/api/openchannelApplication/openchannelApplication.controller.js +++ b/server/api/openchannelApplication/openchannelApplication.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xe8ff=['body','find','params','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','mustache','util','sox','to-csv','ejs','squel','crypto','jsforce','querystring','ioredis','../../components/auth/service','../../config/license/hardware','../../config/logger','../../config/utils','../../config/environment','sendStatus','status','json','count','offset','limit','set','apply','save','update','then','destroy','end','error','stack','name','index','map','rawAttributes','fieldName','type','key','query','keys','intersection','model','attributes','fields','length','nolimit','order','sort','where','filters','pick','merge','VIRTUAL','filter','options','OpenchannelApplication','includeAll','include','findAll','rows','catch','create'];(function(_0x3df223,_0x1740fc){var _0x562d11=function(_0x343009){while(--_0x343009){_0x3df223['push'](_0x3df223['shift']());}};_0x562d11(++_0x1740fc);}(_0xe8ff,0x1b3));var _0xfe8f=function(_0x46ef1d,_0x24926){_0x46ef1d=_0x46ef1d-0x0;var _0x49ce69=_0xe8ff[_0x46ef1d];return _0x49ce69;};'use strict';var pdf=require(_0xfe8f('0x0'));var emlformat=require(_0xfe8f('0x1'));var rimraf=require(_0xfe8f('0x2'));var zipdir=require(_0xfe8f('0x3'));var jsonpatch=require(_0xfe8f('0x4'));var rp=require(_0xfe8f('0x5'));var moment=require(_0xfe8f('0x6'));var BPromise=require(_0xfe8f('0x7'));var Mustache=require(_0xfe8f('0x8'));var util=require(_0xfe8f('0x9'));var path=require('path');var sox=require(_0xfe8f('0xa'));var csv=require(_0xfe8f('0xb'));var ejs=require(_0xfe8f('0xc'));var fs=require('fs');var _=require('lodash');var squel=require(_0xfe8f('0xd'));var crypto=require(_0xfe8f('0xe'));var jsforce=require(_0xfe8f('0xf'));var deskjs=require('desk.js');var toCsv=require(_0xfe8f('0xb'));var querystring=require(_0xfe8f('0x10'));var Papa=require('papaparse');var Redis=require(_0xfe8f('0x11'));var authService=require(_0xfe8f('0x12'));var qs=require('../../components/parsers/qs');var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0xfe8f('0x13'));var logger=require(_0xfe8f('0x14'))('api');var utils=require(_0xfe8f('0x15'));var config=require(_0xfe8f('0x16'));var db=require('../../mysqldb')['db'];function respondWithStatusCode(_0x5bdd6f,_0x265427){_0x265427=_0x265427||0xcc;return function(_0x2b5b90){if(_0x2b5b90){return _0x5bdd6f[_0xfe8f('0x17')](_0x265427);}return _0x5bdd6f[_0xfe8f('0x18')](_0x265427)['end']();};}function respondWithResult(_0x3ec7a4,_0x323712){_0x323712=_0x323712||0xc8;return function(_0x559d35){if(_0x559d35){return _0x3ec7a4[_0xfe8f('0x18')](_0x323712)[_0xfe8f('0x19')](_0x559d35);}};}function respondWithFilteredResult(_0x23af45,_0x10bf79){return function(_0x48f9f3){if(_0x48f9f3){var _0x1e3c21=_0x48f9f3[_0xfe8f('0x1a')],_0x1e60de=_0x10bf79[_0xfe8f('0x1b')],_0xc9e1ab=_0x10bf79[_0xfe8f('0x1b')]+_0x10bf79[_0xfe8f('0x1c')],_0x2f44a4;if(_0xc9e1ab>=_0x1e3c21){_0xc9e1ab=_0x1e3c21;_0x2f44a4=0xc8;}else{_0x2f44a4=0xce;}_0x23af45[_0xfe8f('0x18')](_0x2f44a4);return _0x23af45[_0xfe8f('0x1d')]('Content-Range',_0x1e60de+'-'+_0xc9e1ab+'/'+_0x1e3c21)[_0xfe8f('0x19')](_0x48f9f3);}return null;};}function patchUpdates(_0x216d9c){return function(_0x4f3e93){try{jsonpatch[_0xfe8f('0x1e')](_0x4f3e93,_0x216d9c,!![]);}catch(_0x2d8900){return BPromise['reject'](_0x2d8900);}return _0x4f3e93[_0xfe8f('0x1f')]();};}function saveUpdates(_0x279529,_0x28d4f6){return function(_0x51600d){if(_0x51600d){return _0x51600d[_0xfe8f('0x20')](_0x279529)[_0xfe8f('0x21')](function(_0x2d309a){return _0x2d309a;});}return null;};}function removeEntity(_0x276c0d,_0x28d71a){return function(_0x267f5e){if(_0x267f5e){return _0x267f5e[_0xfe8f('0x22')]()['then'](function(){_0x276c0d[_0xfe8f('0x18')](0xcc)[_0xfe8f('0x23')]();});}};}function handleEntityNotFound(_0x4f3668,_0x2b6766){return function(_0x2eed5d){if(!_0x2eed5d){_0x4f3668[_0xfe8f('0x17')](0x194);}return _0x2eed5d;};}function handleError(_0x2ee0be,_0x158ea5){_0x158ea5=_0x158ea5||0x1f4;return function(_0x104fe4){logger[_0xfe8f('0x24')](_0x104fe4[_0xfe8f('0x25')]);if(_0x104fe4['name']){delete _0x104fe4[_0xfe8f('0x26')];}_0x2ee0be['status'](_0x158ea5)['send'](_0x104fe4);};}exports[_0xfe8f('0x27')]=function(_0x13e8c0,_0x351b26){var _0x1f2fb5={},_0x47efb6={},_0x53a772={'count':0x0,'rows':[]};var _0x3377f5=_[_0xfe8f('0x28')](db['OpenchannelApplication'][_0xfe8f('0x29')],function(_0x309156){return{'name':_0x309156[_0xfe8f('0x2a')],'type':_0x309156[_0xfe8f('0x2b')][_0xfe8f('0x2c')]};});_0x47efb6['model']=_['map'](_0x3377f5,_0xfe8f('0x26'));_0x47efb6[_0xfe8f('0x2d')]=_[_0xfe8f('0x2e')](_0x13e8c0[_0xfe8f('0x2d')]);_0x47efb6['filters']=_[_0xfe8f('0x2f')](_0x47efb6[_0xfe8f('0x30')],_0x47efb6['query']);_0x1f2fb5[_0xfe8f('0x31')]=_[_0xfe8f('0x2f')](_0x47efb6[_0xfe8f('0x30')],qs[_0xfe8f('0x32')](_0x13e8c0[_0xfe8f('0x2d')][_0xfe8f('0x32')]));_0x1f2fb5[_0xfe8f('0x31')]=_0x1f2fb5[_0xfe8f('0x31')][_0xfe8f('0x33')]?_0x1f2fb5[_0xfe8f('0x31')]:_0x47efb6[_0xfe8f('0x30')];if(!_0x13e8c0[_0xfe8f('0x2d')]['hasOwnProperty'](_0xfe8f('0x34'))){_0x1f2fb5[_0xfe8f('0x1c')]=qs[_0xfe8f('0x1c')](_0x13e8c0['query'][_0xfe8f('0x1c')]);_0x1f2fb5['offset']=qs[_0xfe8f('0x1b')](_0x13e8c0['query']['offset']);}_0x1f2fb5[_0xfe8f('0x35')]=qs[_0xfe8f('0x36')](_0x13e8c0[_0xfe8f('0x2d')]['sort']);_0x1f2fb5[_0xfe8f('0x37')]=qs[_0xfe8f('0x38')](_[_0xfe8f('0x39')](_0x13e8c0[_0xfe8f('0x2d')],_0x47efb6[_0xfe8f('0x38')]),_0x3377f5);if(_0x13e8c0[_0xfe8f('0x2d')]['filter']){_0x1f2fb5[_0xfe8f('0x37')]=_[_0xfe8f('0x3a')](_0x1f2fb5[_0xfe8f('0x37')],{'$or':_['map'](_0x3377f5,function(_0x59e725){if(_0x59e725[_0xfe8f('0x2b')]!==_0xfe8f('0x3b')){var _0x2e14e8={};_0x2e14e8[_0x59e725[_0xfe8f('0x26')]]={'$like':'%'+_0x13e8c0[_0xfe8f('0x2d')][_0xfe8f('0x3c')]+'%'};return _0x2e14e8;}})});}_0x1f2fb5=_[_0xfe8f('0x3a')]({},_0x1f2fb5,_0x13e8c0[_0xfe8f('0x3d')]);var _0x317b08={'where':_0x1f2fb5[_0xfe8f('0x37')]};return db[_0xfe8f('0x3e')][_0xfe8f('0x1a')](_0x317b08)[_0xfe8f('0x21')](function(_0x50b4fc){_0x53a772[_0xfe8f('0x1a')]=_0x50b4fc;if(_0x13e8c0['query'][_0xfe8f('0x3f')]){_0x1f2fb5[_0xfe8f('0x40')]=[{'all':!![]}];}return db[_0xfe8f('0x3e')][_0xfe8f('0x41')](_0x1f2fb5);})['then'](function(_0x29a897){_0x53a772[_0xfe8f('0x42')]=_0x29a897;return _0x53a772;})[_0xfe8f('0x21')](respondWithFilteredResult(_0x351b26,_0x1f2fb5))[_0xfe8f('0x43')](handleError(_0x351b26,null));};exports['show']=function(_0x4eb13c,_0x429fec){var _0x49fa40={'raw':!![],'where':{'id':_0x4eb13c['params']['id']}},_0x3a8fbd={};_0x3a8fbd[_0xfe8f('0x30')]=_[_0xfe8f('0x2e')](db[_0xfe8f('0x3e')]['rawAttributes']);_0x3a8fbd['query']=_[_0xfe8f('0x2e')](_0x4eb13c['query']);_0x3a8fbd[_0xfe8f('0x38')]=_['intersection'](_0x3a8fbd[_0xfe8f('0x30')],_0x3a8fbd[_0xfe8f('0x2d')]);_0x49fa40[_0xfe8f('0x31')]=_['intersection'](_0x3a8fbd[_0xfe8f('0x30')],qs[_0xfe8f('0x32')](_0x4eb13c[_0xfe8f('0x2d')][_0xfe8f('0x32')]));_0x49fa40[_0xfe8f('0x31')]=_0x49fa40[_0xfe8f('0x31')]['length']?_0x49fa40[_0xfe8f('0x31')]:_0x3a8fbd[_0xfe8f('0x30')];if(_0x4eb13c['query']['includeAll']){_0x49fa40['include']=[{'all':!![]}];}_0x49fa40=_[_0xfe8f('0x3a')]({},_0x49fa40,_0x4eb13c['options']);return db[_0xfe8f('0x3e')]['find'](_0x49fa40)[_0xfe8f('0x21')](handleEntityNotFound(_0x429fec,null))[_0xfe8f('0x21')](respondWithResult(_0x429fec,null))[_0xfe8f('0x43')](handleError(_0x429fec,null));};exports[_0xfe8f('0x44')]=function(_0x34c36c,_0x494c65){return db[_0xfe8f('0x3e')]['create'](_0x34c36c[_0xfe8f('0x45')],{})[_0xfe8f('0x21')](respondWithResult(_0x494c65,0xc9))[_0xfe8f('0x43')](handleError(_0x494c65,null));};exports['update']=function(_0x9acf1a,_0x2c425c){if(_0x9acf1a['body']['id']){delete _0x9acf1a[_0xfe8f('0x45')]['id'];}return db[_0xfe8f('0x3e')][_0xfe8f('0x46')]({'where':{'id':_0x9acf1a[_0xfe8f('0x47')]['id']}})[_0xfe8f('0x21')](handleEntityNotFound(_0x2c425c,null))[_0xfe8f('0x21')](saveUpdates(_0x9acf1a[_0xfe8f('0x45')],null))[_0xfe8f('0x21')](respondWithResult(_0x2c425c,null))['catch'](handleError(_0x2c425c,null));};exports[_0xfe8f('0x22')]=function(_0x38381c,_0x2274ff){return db[_0xfe8f('0x3e')][_0xfe8f('0x46')]({'where':{'id':_0x38381c[_0xfe8f('0x47')]['id']}})[_0xfe8f('0x21')](handleEntityNotFound(_0x2274ff,null))[_0xfe8f('0x21')](removeEntity(_0x2274ff,null))[_0xfe8f('0x43')](handleError(_0x2274ff,null));}; \ No newline at end of file +var _0x0b84=['to-csv','ejs','lodash','squel','jsforce','querystring','papaparse','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','../../config/utils','../../config/environment','../../mysqldb','status','end','count','offset','limit','Content-Range','json','apply','save','destroy','sendStatus','error','name','map','rawAttributes','fieldName','key','model','query','filters','intersection','attributes','fields','length','hasOwnProperty','order','sort','where','pick','filter','merge','type','VIRTUAL','options','OpenchannelApplication','then','includeAll','include','rows','catch','show','params','keys','find','body','update','html-pdf','fast-json-patch','request-promise','moment','bluebird','mustache','util','path','sox'];(function(_0x4450b1,_0x214ace){var _0x399b0b=function(_0x2197df){while(--_0x2197df){_0x4450b1['push'](_0x4450b1['shift']());}};_0x399b0b(++_0x214ace);}(_0x0b84,0x1e1));var _0x40b8=function(_0x45346d,_0xffd56b){_0x45346d=_0x45346d-0x0;var _0x5ce7ca=_0x0b84[_0x45346d];return _0x5ce7ca;};'use strict';var pdf=require(_0x40b8('0x0'));var emlformat=require('eml-format');var rimraf=require('rimraf');var zipdir=require('zip-dir');var jsonpatch=require(_0x40b8('0x1'));var rp=require(_0x40b8('0x2'));var moment=require(_0x40b8('0x3'));var BPromise=require(_0x40b8('0x4'));var Mustache=require(_0x40b8('0x5'));var util=require(_0x40b8('0x6'));var path=require(_0x40b8('0x7'));var sox=require(_0x40b8('0x8'));var csv=require(_0x40b8('0x9'));var ejs=require(_0x40b8('0xa'));var fs=require('fs');var _=require(_0x40b8('0xb'));var squel=require(_0x40b8('0xc'));var crypto=require('crypto');var jsforce=require(_0x40b8('0xd'));var deskjs=require('desk.js');var toCsv=require(_0x40b8('0x9'));var querystring=require(_0x40b8('0xe'));var Papa=require(_0x40b8('0xf'));var Redis=require('ioredis');var authService=require(_0x40b8('0x10'));var qs=require(_0x40b8('0x11'));var as=require(_0x40b8('0x12'));var hardwareService=require(_0x40b8('0x13'));var logger=require(_0x40b8('0x14'))('api');var utils=require(_0x40b8('0x15'));var config=require(_0x40b8('0x16'));var db=require(_0x40b8('0x17'))['db'];function respondWithStatusCode(_0x25809,_0x339951){_0x339951=_0x339951||0xcc;return function(_0x3250bd){if(_0x3250bd){return _0x25809['sendStatus'](_0x339951);}return _0x25809[_0x40b8('0x18')](_0x339951)[_0x40b8('0x19')]();};}function respondWithResult(_0x29e2ad,_0x191c0b){_0x191c0b=_0x191c0b||0xc8;return function(_0x2242b8){if(_0x2242b8){return _0x29e2ad['status'](_0x191c0b)['json'](_0x2242b8);}};}function respondWithFilteredResult(_0x1aaae5,_0xe531a7){return function(_0x58a083){if(_0x58a083){var _0x3f98d9=_0x58a083[_0x40b8('0x1a')],_0x1127f5=_0xe531a7[_0x40b8('0x1b')],_0x324f82=_0xe531a7[_0x40b8('0x1b')]+_0xe531a7[_0x40b8('0x1c')],_0x2d3c0e;if(_0x324f82>=_0x3f98d9){_0x324f82=_0x3f98d9;_0x2d3c0e=0xc8;}else{_0x2d3c0e=0xce;}_0x1aaae5[_0x40b8('0x18')](_0x2d3c0e);return _0x1aaae5['set'](_0x40b8('0x1d'),_0x1127f5+'-'+_0x324f82+'/'+_0x3f98d9)[_0x40b8('0x1e')](_0x58a083);}return null;};}function patchUpdates(_0x5dedfb){return function(_0x47631a){try{jsonpatch[_0x40b8('0x1f')](_0x47631a,_0x5dedfb,!![]);}catch(_0x80b45e){return BPromise['reject'](_0x80b45e);}return _0x47631a[_0x40b8('0x20')]();};}function saveUpdates(_0x16d1fc,_0xaf3101){return function(_0x293d5f){if(_0x293d5f){return _0x293d5f['update'](_0x16d1fc)['then'](function(_0x4b34ba){return _0x4b34ba;});}return null;};}function removeEntity(_0x3c1a91,_0x4a7eb7){return function(_0x53cab2){if(_0x53cab2){return _0x53cab2[_0x40b8('0x21')]()['then'](function(){_0x3c1a91[_0x40b8('0x18')](0xcc)['end']();});}};}function handleEntityNotFound(_0x219235,_0x690fb){return function(_0x4590f1){if(!_0x4590f1){_0x219235[_0x40b8('0x22')](0x194);}return _0x4590f1;};}function handleError(_0x27538f,_0xeed87a){_0xeed87a=_0xeed87a||0x1f4;return function(_0x245c4b){logger[_0x40b8('0x23')](_0x245c4b['stack']);if(_0x245c4b[_0x40b8('0x24')]){delete _0x245c4b['name'];}_0x27538f[_0x40b8('0x18')](_0xeed87a)['send'](_0x245c4b);};}exports['index']=function(_0x4bbf06,_0x4eeeb3){var _0x32f6f4={},_0x233aec={},_0x184eb9={'count':0x0,'rows':[]};var _0x3efe6c=_[_0x40b8('0x25')](db['OpenchannelApplication'][_0x40b8('0x26')],function(_0x1f1fb6){return{'name':_0x1f1fb6[_0x40b8('0x27')],'type':_0x1f1fb6['type'][_0x40b8('0x28')]};});_0x233aec[_0x40b8('0x29')]=_[_0x40b8('0x25')](_0x3efe6c,_0x40b8('0x24'));_0x233aec[_0x40b8('0x2a')]=_['keys'](_0x4bbf06['query']);_0x233aec[_0x40b8('0x2b')]=_[_0x40b8('0x2c')](_0x233aec['model'],_0x233aec[_0x40b8('0x2a')]);_0x32f6f4[_0x40b8('0x2d')]=_[_0x40b8('0x2c')](_0x233aec[_0x40b8('0x29')],qs[_0x40b8('0x2e')](_0x4bbf06[_0x40b8('0x2a')][_0x40b8('0x2e')]));_0x32f6f4[_0x40b8('0x2d')]=_0x32f6f4[_0x40b8('0x2d')][_0x40b8('0x2f')]?_0x32f6f4[_0x40b8('0x2d')]:_0x233aec[_0x40b8('0x29')];if(!_0x4bbf06[_0x40b8('0x2a')][_0x40b8('0x30')]('nolimit')){_0x32f6f4[_0x40b8('0x1c')]=qs[_0x40b8('0x1c')](_0x4bbf06[_0x40b8('0x2a')][_0x40b8('0x1c')]);_0x32f6f4[_0x40b8('0x1b')]=qs[_0x40b8('0x1b')](_0x4bbf06[_0x40b8('0x2a')]['offset']);}_0x32f6f4[_0x40b8('0x31')]=qs[_0x40b8('0x32')](_0x4bbf06[_0x40b8('0x2a')][_0x40b8('0x32')]);_0x32f6f4[_0x40b8('0x33')]=qs[_0x40b8('0x2b')](_[_0x40b8('0x34')](_0x4bbf06[_0x40b8('0x2a')],_0x233aec[_0x40b8('0x2b')]),_0x3efe6c);if(_0x4bbf06[_0x40b8('0x2a')][_0x40b8('0x35')]){_0x32f6f4[_0x40b8('0x33')]=_[_0x40b8('0x36')](_0x32f6f4[_0x40b8('0x33')],{'$or':_['map'](_0x3efe6c,function(_0x435ed8){if(_0x435ed8[_0x40b8('0x37')]!==_0x40b8('0x38')){var _0x4ec57e={};_0x4ec57e[_0x435ed8[_0x40b8('0x24')]]={'$like':'%'+_0x4bbf06[_0x40b8('0x2a')]['filter']+'%'};return _0x4ec57e;}})});}_0x32f6f4=_['merge']({},_0x32f6f4,_0x4bbf06[_0x40b8('0x39')]);var _0x1f308c={'where':_0x32f6f4['where']};return db[_0x40b8('0x3a')][_0x40b8('0x1a')](_0x1f308c)[_0x40b8('0x3b')](function(_0x2fe1f2){_0x184eb9[_0x40b8('0x1a')]=_0x2fe1f2;if(_0x4bbf06[_0x40b8('0x2a')][_0x40b8('0x3c')]){_0x32f6f4[_0x40b8('0x3d')]=[{'all':!![]}];}return db[_0x40b8('0x3a')]['findAll'](_0x32f6f4);})[_0x40b8('0x3b')](function(_0x5b203f){_0x184eb9[_0x40b8('0x3e')]=_0x5b203f;return _0x184eb9;})[_0x40b8('0x3b')](respondWithFilteredResult(_0x4eeeb3,_0x32f6f4))[_0x40b8('0x3f')](handleError(_0x4eeeb3,null));};exports[_0x40b8('0x40')]=function(_0x844119,_0x574097){var _0x477562={'raw':!![],'where':{'id':_0x844119[_0x40b8('0x41')]['id']}},_0x2f796c={};_0x2f796c[_0x40b8('0x29')]=_['keys'](db[_0x40b8('0x3a')]['rawAttributes']);_0x2f796c['query']=_[_0x40b8('0x42')](_0x844119[_0x40b8('0x2a')]);_0x2f796c['filters']=_[_0x40b8('0x2c')](_0x2f796c[_0x40b8('0x29')],_0x2f796c[_0x40b8('0x2a')]);_0x477562['attributes']=_['intersection'](_0x2f796c[_0x40b8('0x29')],qs['fields'](_0x844119[_0x40b8('0x2a')][_0x40b8('0x2e')]));_0x477562[_0x40b8('0x2d')]=_0x477562['attributes'][_0x40b8('0x2f')]?_0x477562[_0x40b8('0x2d')]:_0x2f796c[_0x40b8('0x29')];if(_0x844119[_0x40b8('0x2a')]['includeAll']){_0x477562[_0x40b8('0x3d')]=[{'all':!![]}];}_0x477562=_[_0x40b8('0x36')]({},_0x477562,_0x844119[_0x40b8('0x39')]);return db['OpenchannelApplication'][_0x40b8('0x43')](_0x477562)[_0x40b8('0x3b')](handleEntityNotFound(_0x574097,null))[_0x40b8('0x3b')](respondWithResult(_0x574097,null))[_0x40b8('0x3f')](handleError(_0x574097,null));};exports['create']=function(_0x3d240a,_0x5d5716){return db[_0x40b8('0x3a')]['create'](_0x3d240a[_0x40b8('0x44')],{})['then'](respondWithResult(_0x5d5716,0xc9))[_0x40b8('0x3f')](handleError(_0x5d5716,null));};exports[_0x40b8('0x45')]=function(_0x4a0adc,_0x446599){if(_0x4a0adc['body']['id']){delete _0x4a0adc[_0x40b8('0x44')]['id'];}return db[_0x40b8('0x3a')]['find']({'where':{'id':_0x4a0adc[_0x40b8('0x41')]['id']}})['then'](handleEntityNotFound(_0x446599,null))[_0x40b8('0x3b')](saveUpdates(_0x4a0adc['body'],null))['then'](respondWithResult(_0x446599,null))[_0x40b8('0x3f')](handleError(_0x446599,null));};exports[_0x40b8('0x21')]=function(_0x11d10e,_0x305f91){return db['OpenchannelApplication'][_0x40b8('0x43')]({'where':{'id':_0x11d10e[_0x40b8('0x41')]['id']}})['then'](handleEntityNotFound(_0x305f91,null))[_0x40b8('0x3b')](removeEntity(_0x305f91,null))[_0x40b8('0x3f')](handleError(_0x305f91,null));}; \ No newline at end of file diff --git a/server/api/openchannelApplication/openchannelApplication.model.js b/server/api/openchannelApplication/openchannelApplication.model.js index e4dba41..0ac55ee 100644 --- a/server/api/openchannelApplication/openchannelApplication.model.js +++ b/server/api/openchannelApplication/openchannelApplication.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x000f=['openchannel_applications','utf8mb4','utf8mb4_unicode_ci','lodash','util','../../config/logger','moment','bluebird','request-promise','path','rimraf','../../config/environment','./openchannelApplication.attributes','exports','define','OpenchannelApplication'];(function(_0x32451c,_0x243a69){var _0x2a8aa9=function(_0x3ae32d){while(--_0x3ae32d){_0x32451c['push'](_0x32451c['shift']());}};_0x2a8aa9(++_0x243a69);}(_0x000f,0x193));var _0xf000=function(_0x39430f,_0x3734a0){_0x39430f=_0x39430f-0x0;var _0xf64918=_0x000f[_0x39430f];return _0xf64918;};'use strict';var _=require(_0xf000('0x0'));var util=require(_0xf000('0x1'));var logger=require(_0xf000('0x2'))('api');var moment=require(_0xf000('0x3'));var BPromise=require(_0xf000('0x4'));var rp=require(_0xf000('0x5'));var fs=require('fs');var path=require(_0xf000('0x6'));var rimraf=require(_0xf000('0x7'));var config=require(_0xf000('0x8'));var attributes=require(_0xf000('0x9'));module[_0xf000('0xa')]=function(_0x35a90d,_0x81c063){return _0x35a90d[_0xf000('0xb')](_0xf000('0xc'),attributes,{'tableName':_0xf000('0xd'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':_0xf000('0xe'),'collate':_0xf000('0xf')});}; \ No newline at end of file +var _0xd8cc=['bluebird','request-promise','path','rimraf','utf8mb4','utf8mb4_unicode_ci','lodash','util','../../config/logger','moment'];(function(_0x4dbaad,_0x730318){var _0x226c72=function(_0x501972){while(--_0x501972){_0x4dbaad['push'](_0x4dbaad['shift']());}};_0x226c72(++_0x730318);}(_0xd8cc,0x1d2));var _0xcd8c=function(_0x523adf,_0x3e1620){_0x523adf=_0x523adf-0x0;var _0x283870=_0xd8cc[_0x523adf];return _0x283870;};'use strict';var _=require(_0xcd8c('0x0'));var util=require(_0xcd8c('0x1'));var logger=require(_0xcd8c('0x2'))('api');var moment=require(_0xcd8c('0x3'));var BPromise=require(_0xcd8c('0x4'));var rp=require(_0xcd8c('0x5'));var fs=require('fs');var path=require(_0xcd8c('0x6'));var rimraf=require(_0xcd8c('0x7'));var config=require('../../config/environment');var attributes=require('./openchannelApplication.attributes');module['exports']=function(_0x49c44e,_0x5ea308){return _0x49c44e['define']('OpenchannelApplication',attributes,{'tableName':'openchannel_applications','paranoid':![],'indexes':[],'timestamps':!![],'charset':_0xcd8c('0x8'),'collate':_0xcd8c('0x9')});}; \ No newline at end of file diff --git a/server/api/openchannelApplication/openchannelApplication.rpc.js b/server/api/openchannelApplication/openchannelApplication.rpc.js index cc46f3a..7a8499a 100644 --- a/server/api/openchannelApplication/openchannelApplication.rpc.js +++ b/server/api/openchannelApplication/openchannelApplication.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xb10b=['then','info','OpenchannelApplication,\x20%s,\x20%s','OpenchannelApplication,\x20%s,\x20%s,\x20%s','request\x20sent','stringify','error','message','result','UpdateOpenchannelApplication','OpenchannelApplication','update','options','raw','where','attributes','limit','debug','catch','lodash','moment','bluebird','randomstring','../../mysqldb','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','http','request'];(function(_0x326040,_0x8e9723){var _0x590a92=function(_0x3e8107){while(--_0x3e8107){_0x326040['push'](_0x326040['shift']());}};_0x590a92(++_0x8e9723);}(_0xb10b,0x12a));var _0xbb10=function(_0x485f35,_0x45a0fc){_0x485f35=_0x485f35-0x0;var _0x2ad118=_0xb10b[_0x485f35];return _0x2ad118;};'use strict';var _=require(_0xbb10('0x0'));var util=require('util');var moment=require(_0xbb10('0x1'));var BPromise=require(_0xbb10('0x2'));var rs=require(_0xbb10('0x3'));var fs=require('fs');var Redis=require('ioredis');var db=require(_0xbb10('0x4'))['db'];var utils=require(_0xbb10('0x5'));var logger=require(_0xbb10('0x6'))(_0xbb10('0x7'));var config=require(_0xbb10('0x8'));var jayson=require(_0xbb10('0x9'));var client=jayson['client'][_0xbb10('0xa')]({'port':0x232a});function respondWithRpcPromise(_0x3cdd53,_0x513741,_0x1b9e94){return new BPromise(function(_0x3fb675,_0x21370f){return client[_0xbb10('0xb')](_0x3cdd53,_0x1b9e94)[_0xbb10('0xc')](function(_0x1ce33e){logger[_0xbb10('0xd')](_0xbb10('0xe'),_0x513741,'request\x20sent');logger['debug'](_0xbb10('0xf'),_0x513741,_0xbb10('0x10'),JSON[_0xbb10('0x11')](_0x1ce33e));if(_0x1ce33e['error']){if(_0x1ce33e[_0xbb10('0x12')]['code']===0x1f4){logger[_0xbb10('0x12')](_0xbb10('0xe'),_0x513741,_0x1ce33e[_0xbb10('0x12')][_0xbb10('0x13')]);return _0x21370f(_0x1ce33e[_0xbb10('0x12')][_0xbb10('0x13')]);}logger['error'](_0xbb10('0xe'),_0x513741,_0x1ce33e[_0xbb10('0x12')][_0xbb10('0x13')]);return _0x3fb675(_0x1ce33e[_0xbb10('0x12')][_0xbb10('0x13')]);}else{logger[_0xbb10('0xd')](_0xbb10('0xe'),_0x513741,_0xbb10('0x10'));_0x3fb675(_0x1ce33e[_0xbb10('0x14')][_0xbb10('0x13')]);}})['catch'](function(_0x2eca0f){logger[_0xbb10('0x12')](_0xbb10('0xe'),_0x513741,_0x2eca0f);_0x21370f(_0x2eca0f);});});}exports[_0xbb10('0x15')]=function(_0x378da8){var _0x1682a4=this;return new Promise(function(_0x575cca,_0x30efc6){return db[_0xbb10('0x16')][_0xbb10('0x17')](_0x378da8['body'],{'raw':_0x378da8[_0xbb10('0x18')]?_0x378da8[_0xbb10('0x18')][_0xbb10('0x19')]===undefined?!![]:![]:!![],'individualHooks':!![],'where':_0x378da8[_0xbb10('0x18')]?_0x378da8[_0xbb10('0x18')][_0xbb10('0x1a')]||null:null,'attributes':_0x378da8['options']?_0x378da8[_0xbb10('0x18')][_0xbb10('0x1b')]||null:null,'limit':_0x378da8['options']?_0x378da8['options'][_0xbb10('0x1c')]||null:null})[_0xbb10('0xc')](function(_0x2e911d){logger[_0xbb10('0xd')](_0xbb10('0x15'),_0x378da8);logger[_0xbb10('0x1d')](_0xbb10('0x15'),_0x378da8,JSON[_0xbb10('0x11')](_0x2e911d));_0x575cca(_0x2e911d);})[_0xbb10('0x1e')](function(_0x395404){logger[_0xbb10('0x12')](_0xbb10('0x15'),_0x395404['message'],_0x378da8);_0x30efc6(_0x1682a4['error'](0x1f4,_0x395404['message']));});});}; \ No newline at end of file +var _0xb10b=['then','info','OpenchannelApplication,\x20%s,\x20%s','OpenchannelApplication,\x20%s,\x20%s,\x20%s','request\x20sent','stringify','error','message','result','UpdateOpenchannelApplication','OpenchannelApplication','update','options','raw','where','attributes','limit','debug','catch','lodash','moment','bluebird','randomstring','../../mysqldb','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','http','request'];(function(_0x12885b,_0x4ce691){var _0x52625a=function(_0x1720c3){while(--_0x1720c3){_0x12885b['push'](_0x12885b['shift']());}};_0x52625a(++_0x4ce691);}(_0xb10b,0x12a));var _0xbb10=function(_0x4ad364,_0x34d600){_0x4ad364=_0x4ad364-0x0;var _0x1ace8f=_0xb10b[_0x4ad364];return _0x1ace8f;};'use strict';var _=require(_0xbb10('0x0'));var util=require('util');var moment=require(_0xbb10('0x1'));var BPromise=require(_0xbb10('0x2'));var rs=require(_0xbb10('0x3'));var fs=require('fs');var Redis=require('ioredis');var db=require(_0xbb10('0x4'))['db'];var utils=require(_0xbb10('0x5'));var logger=require(_0xbb10('0x6'))(_0xbb10('0x7'));var config=require(_0xbb10('0x8'));var jayson=require(_0xbb10('0x9'));var client=jayson['client'][_0xbb10('0xa')]({'port':0x232a});function respondWithRpcPromise(_0x3cdd53,_0x513741,_0x1b9e94){return new BPromise(function(_0x3fb675,_0x21370f){return client[_0xbb10('0xb')](_0x3cdd53,_0x1b9e94)[_0xbb10('0xc')](function(_0x1ce33e){logger[_0xbb10('0xd')](_0xbb10('0xe'),_0x513741,'request\x20sent');logger['debug'](_0xbb10('0xf'),_0x513741,_0xbb10('0x10'),JSON[_0xbb10('0x11')](_0x1ce33e));if(_0x1ce33e['error']){if(_0x1ce33e[_0xbb10('0x12')]['code']===0x1f4){logger[_0xbb10('0x12')](_0xbb10('0xe'),_0x513741,_0x1ce33e[_0xbb10('0x12')][_0xbb10('0x13')]);return _0x21370f(_0x1ce33e[_0xbb10('0x12')][_0xbb10('0x13')]);}logger['error'](_0xbb10('0xe'),_0x513741,_0x1ce33e[_0xbb10('0x12')][_0xbb10('0x13')]);return _0x3fb675(_0x1ce33e[_0xbb10('0x12')][_0xbb10('0x13')]);}else{logger[_0xbb10('0xd')](_0xbb10('0xe'),_0x513741,_0xbb10('0x10'));_0x3fb675(_0x1ce33e[_0xbb10('0x14')][_0xbb10('0x13')]);}})['catch'](function(_0x2eca0f){logger[_0xbb10('0x12')](_0xbb10('0xe'),_0x513741,_0x2eca0f);_0x21370f(_0x2eca0f);});});}exports[_0xbb10('0x15')]=function(_0x378da8){var _0x1682a4=this;return new Promise(function(_0x575cca,_0x30efc6){return db[_0xbb10('0x16')][_0xbb10('0x17')](_0x378da8['body'],{'raw':_0x378da8[_0xbb10('0x18')]?_0x378da8[_0xbb10('0x18')][_0xbb10('0x19')]===undefined?!![]:![]:!![],'individualHooks':!![],'where':_0x378da8[_0xbb10('0x18')]?_0x378da8[_0xbb10('0x18')][_0xbb10('0x1a')]||null:null,'attributes':_0x378da8['options']?_0x378da8[_0xbb10('0x18')][_0xbb10('0x1b')]||null:null,'limit':_0x378da8['options']?_0x378da8['options'][_0xbb10('0x1c')]||null:null})[_0xbb10('0xc')](function(_0x2e911d){logger[_0xbb10('0xd')](_0xbb10('0x15'),_0x378da8);logger[_0xbb10('0x1d')](_0xbb10('0x15'),_0x378da8,JSON[_0xbb10('0x11')](_0x2e911d));_0x575cca(_0x2e911d);})[_0xbb10('0x1e')](function(_0x395404){logger[_0xbb10('0x12')](_0xbb10('0x15'),_0x395404['message'],_0x378da8);_0x30efc6(_0x1682a4['error'](0x1f4,_0x395404['message']));});});}; \ No newline at end of file diff --git a/server/api/openchannelInteraction/index.js b/server/api/openchannelInteraction/index.js index c34b185..e967ec5 100644 --- a/server/api/openchannelInteraction/index.js +++ b/server/api/openchannelInteraction/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xc8c3=['express','Router','../../components/interaction/service','../../config/environment','./openchannelInteraction.controller','get','isAuthenticated','index','describe','show','download','post','/:id/messages','/:id/tags','tracked','openchannelinteraction:addtags','addTags','put','/:id','update','delete','destroy','removeTags','multer','connect-timeout'];(function(_0x42d524,_0x100625){var _0x5e4060=function(_0x5efdef){while(--_0x5efdef){_0x42d524['push'](_0x42d524['shift']());}};_0x5e4060(++_0x100625);}(_0xc8c3,0x175));var _0x3c8c=function(_0x37756b,_0x24db76){_0x37756b=_0x37756b-0x0;var _0x46efec=_0xc8c3[_0x37756b];return _0x46efec;};'use strict';var multer=require(_0x3c8c('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x3c8c('0x1'));var express=require(_0x3c8c('0x2'));var router=express[_0x3c8c('0x3')]();var auth=require('../../components/auth/service');var interaction=require(_0x3c8c('0x4'));var config=require(_0x3c8c('0x5'));var controller=require(_0x3c8c('0x6'));router[_0x3c8c('0x7')]('/',auth[_0x3c8c('0x8')](),controller[_0x3c8c('0x9')]);router[_0x3c8c('0x7')]('/describe',auth[_0x3c8c('0x8')](),controller[_0x3c8c('0xa')]);router[_0x3c8c('0x7')]('/:id',auth[_0x3c8c('0x8')](),controller[_0x3c8c('0xb')]);router[_0x3c8c('0x7')]('/:id/messages',auth[_0x3c8c('0x8')](),controller['getMessages']);router[_0x3c8c('0x7')]('/:id/download',auth[_0x3c8c('0x8')](),controller[_0x3c8c('0xc')]);router['post']('/',auth[_0x3c8c('0x8')](),controller['create']);router[_0x3c8c('0xd')](_0x3c8c('0xe'),auth[_0x3c8c('0x8')](),controller['addMessage']);router['post'](_0x3c8c('0xf'),auth[_0x3c8c('0x8')](),interaction[_0x3c8c('0x10')]('openchannel',_0x3c8c('0x11')),controller[_0x3c8c('0x12')]);router[_0x3c8c('0x13')](_0x3c8c('0x14'),auth[_0x3c8c('0x8')](),interaction[_0x3c8c('0x10')]('openchannel','openchannelinteraction:update'),controller[_0x3c8c('0x15')]);router[_0x3c8c('0x16')]('/:id',auth['isAuthenticated'](),interaction[_0x3c8c('0x10')]('openchannel','openchannelinteraction:destroy'),controller[_0x3c8c('0x17')]);router['delete'](_0x3c8c('0xf'),auth[_0x3c8c('0x8')](),controller[_0x3c8c('0x18')]);module['exports']=router; \ No newline at end of file +var _0xa107=['../../config/environment','get','isAuthenticated','index','describe','/:id','show','/:id/messages','download','post','create','addMessage','/:id/tags','tracked','openchannel','openchannelinteraction:addtags','addTags','openchannelinteraction:update','update','delete','openchannelinteraction:destroy','destroy','removeTags','exports','util','path','express','Router','../../components/auth/service','../../components/interaction/service'];(function(_0x55e82d,_0x30e589){var _0x2c0887=function(_0x1f4853){while(--_0x1f4853){_0x55e82d['push'](_0x55e82d['shift']());}};_0x2c0887(++_0x30e589);}(_0xa107,0x1bc));var _0x7a10=function(_0x170aa6,_0x208713){_0x170aa6=_0x170aa6-0x0;var _0x21409d=_0xa107[_0x170aa6];return _0x21409d;};'use strict';var multer=require('multer');var util=require(_0x7a10('0x0'));var path=require(_0x7a10('0x1'));var timeout=require('connect-timeout');var express=require(_0x7a10('0x2'));var router=express[_0x7a10('0x3')]();var auth=require(_0x7a10('0x4'));var interaction=require(_0x7a10('0x5'));var config=require(_0x7a10('0x6'));var controller=require('./openchannelInteraction.controller');router[_0x7a10('0x7')]('/',auth[_0x7a10('0x8')](),controller[_0x7a10('0x9')]);router['get']('/describe',auth[_0x7a10('0x8')](),controller[_0x7a10('0xa')]);router[_0x7a10('0x7')](_0x7a10('0xb'),auth[_0x7a10('0x8')](),controller[_0x7a10('0xc')]);router[_0x7a10('0x7')](_0x7a10('0xd'),auth[_0x7a10('0x8')](),controller['getMessages']);router['get']('/:id/download',auth[_0x7a10('0x8')](),controller[_0x7a10('0xe')]);router[_0x7a10('0xf')]('/',auth[_0x7a10('0x8')](),controller[_0x7a10('0x10')]);router[_0x7a10('0xf')](_0x7a10('0xd'),auth[_0x7a10('0x8')](),controller[_0x7a10('0x11')]);router[_0x7a10('0xf')](_0x7a10('0x12'),auth['isAuthenticated'](),interaction[_0x7a10('0x13')](_0x7a10('0x14'),_0x7a10('0x15')),controller[_0x7a10('0x16')]);router['put'](_0x7a10('0xb'),auth[_0x7a10('0x8')](),interaction['tracked'](_0x7a10('0x14'),_0x7a10('0x17')),controller[_0x7a10('0x18')]);router[_0x7a10('0x19')](_0x7a10('0xb'),auth['isAuthenticated'](),interaction[_0x7a10('0x13')](_0x7a10('0x14'),_0x7a10('0x1a')),controller[_0x7a10('0x1b')]);router[_0x7a10('0x19')](_0x7a10('0x12'),auth[_0x7a10('0x8')](),controller[_0x7a10('0x1c')]);module[_0x7a10('0x1d')]=router; \ No newline at end of file diff --git a/server/api/openchannelInteraction/openchannelInteraction.attributes.js b/server/api/openchannelInteraction/openchannelInteraction.attributes.js index 21aa27a..87f6f57 100644 --- a/server/api/openchannelInteraction/openchannelInteraction.attributes.js +++ b/server/api/openchannelInteraction/openchannelInteraction.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xb99e=['ENUM','sequelize','exports','BOOLEAN','DATE','STRING'];(function(_0x3246dd,_0x3ad1bc){var _0x26b415=function(_0x54183b){while(--_0x54183b){_0x3246dd['push'](_0x3246dd['shift']());}};_0x26b415(++_0x3ad1bc);}(_0xb99e,0x151));var _0xeb99=function(_0x1facfa,_0x1acf7d){_0x1facfa=_0x1facfa-0x0;var _0x9ec701=_0xb99e[_0x1facfa];return _0x9ec701;};'use strict';var Sequelize=require(_0xeb99('0x0'));module[_0xeb99('0x1')]={'closed':{'type':Sequelize[_0xeb99('0x2')],'defaultValue':![]},'closedAt':{'type':Sequelize[_0xeb99('0x3')]},'disposition':{'type':Sequelize[_0xeb99('0x4')]},'note':{'type':Sequelize['STRING']},'read1stAt':{'type':Sequelize['DATE']},'threadId':{'type':Sequelize[_0xeb99('0x4')]},'externalUrl':{'type':Sequelize[_0xeb99('0x4')]},'lastMsgAt':{'type':Sequelize[_0xeb99('0x3')]},'lastMsgDirection':{'type':Sequelize[_0xeb99('0x5')]('in','out'),'defaultValue':'in','allowNull':![]},'from':{'type':Sequelize[_0xeb99('0x4')]}}; \ No newline at end of file +var _0x2e46=['ENUM','sequelize','exports','BOOLEAN','DATE','STRING'];(function(_0x2ba47a,_0x27ba71){var _0x100204=function(_0x383fc3){while(--_0x383fc3){_0x2ba47a['push'](_0x2ba47a['shift']());}};_0x100204(++_0x27ba71);}(_0x2e46,0x1f3));var _0x62e4=function(_0xa087f5,_0x34fd10){_0xa087f5=_0xa087f5-0x0;var _0x4c8806=_0x2e46[_0xa087f5];return _0x4c8806;};'use strict';var Sequelize=require(_0x62e4('0x0'));module[_0x62e4('0x1')]={'closed':{'type':Sequelize[_0x62e4('0x2')],'defaultValue':![]},'closedAt':{'type':Sequelize[_0x62e4('0x3')]},'disposition':{'type':Sequelize[_0x62e4('0x4')]},'note':{'type':Sequelize['STRING']},'read1stAt':{'type':Sequelize['DATE']},'threadId':{'type':Sequelize['STRING']},'externalUrl':{'type':Sequelize[_0x62e4('0x4')]},'lastMsgAt':{'type':Sequelize[_0x62e4('0x3')]},'lastMsgDirection':{'type':Sequelize[_0x62e4('0x5')]('in','out'),'defaultValue':'in','allowNull':![]},'from':{'type':Sequelize['STRING']}}; \ No newline at end of file diff --git a/server/api/openchannelInteraction/openchannelInteraction.controller.js b/server/api/openchannelInteraction/openchannelInteraction.controller.js index 7eeba86..69d0e6c 100644 --- a/server/api/openchannelInteraction/openchannelInteraction.controller.js +++ b/server/api/openchannelInteraction/openchannelInteraction.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x9a91=['c.lastName','Contact.lastName','c.email','Contact.email','c.phone','Contact.phone','c.mobile','Contact.mobile','c.fax','Contact.fax','Owner.fullname','o.internal','Owner.internal','GROUP_CONCAT(DISTINCT\x20t.id)','ui.OpenchannelInteractionId\x20IN\x20?','groupBy','OpenchannelInteractionId','all','show','params','includeAll','include','options','OpenchannelInteraction','create','describe','addMessage','OpenchannelMessage','ids','omit','getMessages','findOne','rawAttributes','nolimit','format','YYYY-MM-DD\x20HH:mm:ss','findAll','rows','addTags','setTags','spread','emit','openchannelInteractionTags:save','removeTags','download','unix','server','files','tmp','join','root','attachments','transcript-%d-%s.zip','Attachment','Messages','direction','secret','OpenchannelAccount','Owner','mkdirSync','10px','40px','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
Interaction\x20Transcript
\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','30px','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20%s\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{page}}/{{pages}}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20%s\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','%s\x20#%d','Openchannel','YYYY-MM-DD','Account','N.A.','closed','closedAt','disposition','threadId','Public','Private','basename','pipe','createWriteStream','out','System','Contact','lastName','renderFile','views','downloadInteraction.html','toFile','transcript-','.pdf','log','err','unlinkSync','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','mustache','util','path','sox','lodash','squel','crypto','jsforce','desk.js','querystring','papaparse','../../components/auth/service','../../components/parsers/qs','../../config/license/hardware','../../config/logger','../../config/utils','../../config/environment','redis','defaults','localhost','socket.io-emitter','./openchannelInteraction.socket','register','sendStatus','status','json','count','offset','limit','Content-Range','apply','reject','update','then','destroy','end','stack','name','send','Users','map','fullname','TagIds','split','Tags','push','catch','index','fieldName','type','key','model','query','keys','filters','intersection','attributes','fields','length','hasOwnProperty','order','sort','where','pick','select','field','color','from','tools_tags','u.id','u.fullname','ui.OpenchannelInteractionId','user_has_openchannel_interactions','left_join','users','u.id\x20=\x20ui.UserId','openchannel_interactions','c.id\x20=\x20i.ContactId\x20AND\x20c.deletedAt\x20IS\x20NULL','me.OpenchannelInteractionId\x20=\x20i.id','it.OpenchannelInteractionId\x20=\x20i.id','t.id\x20=\x20it.TagId','expr','parseSearch','search','sqlOperator','conditions','find','value','having','`\x20=\x200','`\x20>\x200','$substring','MATCH\x20(c.firstName,\x20c.lastName,\x20c.phone,\x20c.mobile,\x20c.fax,\x20c.email)\x20AGAINST\x20(?\x20IN\x20BOOLEAN\x20MODE)','c.firstName\x20LIKE\x20?\x20OR\x20c.lastName\x20LIKE\x20?\x20OR\x20c.email\x20LIKE\x20?','ContactId','buildExpression','Tag','CONCAT(\x27,\x27,\x20`TagIds`,\x20\x27,\x27)\x20LIKE\x20?','union','User','operator','UserId','text','body','start','some','compact','isEmpty','forEach','OpenchannelAccountId','i.OpenchannelAccountId\x20IN\x20?','concat','createdAt','parse','$gte','i.createdAt\x20BETWEEN\x20?\x20AND\x20?','\x20IS\x20NULL','\x20=\x20?','read','`unreadMessages`\x20=\x200','isArray','tag','filter','replace','isNumeric','i.id\x20LIKE\x20?','getFullTextValue','i.from\x20LIKE\x20?','CONCAT(c.firstName,\x20\x27\x20\x27,\x20c.lastName)\x20LIKE\x20?','group','Sequelize','QueryTypes','clone','i.id','unreadMessages','t.id\x20IN\x20?','resolve','journey','i.OpenchannelAccountId\x20IS\x20NOT\x20NULL','user','i.OpenchannelAccountId\x20IS\x20NULL','sequelize','toString','merge','Account.key','a.mandatoryDisposition','c.firstName','Contact.firstName'];(function(_0x54a76c,_0x1f71fa){var _0x2f4ab6=function(_0x26abfb){while(--_0x26abfb){_0x54a76c['push'](_0x54a76c['shift']());}};_0x2f4ab6(++_0x1f71fa);}(_0x9a91,0x153));var _0x19a9=function(_0x2e24d7,_0x1684d5){_0x2e24d7=_0x2e24d7-0x0;var _0x2dd4b9=_0x9a91[_0x2e24d7];return _0x2dd4b9;};'use strict';var pdf=require(_0x19a9('0x0'));var emlformat=require(_0x19a9('0x1'));var rimraf=require(_0x19a9('0x2'));var zipdir=require(_0x19a9('0x3'));var jsonpatch=require(_0x19a9('0x4'));var rp=require(_0x19a9('0x5'));var moment=require(_0x19a9('0x6'));var BPromise=require('bluebird');var Mustache=require(_0x19a9('0x7'));var util=require(_0x19a9('0x8'));var path=require(_0x19a9('0x9'));var sox=require(_0x19a9('0xa'));var csv=require('to-csv');var ejs=require('ejs');var fs=require('fs');var _=require(_0x19a9('0xb'));var squel=require(_0x19a9('0xc'));var crypto=require(_0x19a9('0xd'));var jsforce=require(_0x19a9('0xe'));var deskjs=require(_0x19a9('0xf'));var toCsv=require('to-csv');var querystring=require(_0x19a9('0x10'));var Papa=require(_0x19a9('0x11'));var Redis=require('ioredis');var authService=require(_0x19a9('0x12'));var qs=require(_0x19a9('0x13'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0x19a9('0x14'));var logger=require(_0x19a9('0x15'))('api');var utils=require(_0x19a9('0x16'));var config=require(_0x19a9('0x17'));var db=require('../../mysqldb')['db'];config[_0x19a9('0x18')]=_[_0x19a9('0x19')](config['redis'],{'host':_0x19a9('0x1a'),'port':0x18eb});var socket=require(_0x19a9('0x1b'))(new Redis(config[_0x19a9('0x18')]));require(_0x19a9('0x1c'))[_0x19a9('0x1d')](socket);function respondWithStatusCode(_0x26217c,_0x2103b6){_0x2103b6=_0x2103b6||0xcc;return function(_0xccbddd){if(_0xccbddd){return _0x26217c[_0x19a9('0x1e')](_0x2103b6);}return _0x26217c[_0x19a9('0x1f')](_0x2103b6)['end']();};}function respondWithResult(_0x3f2d82,_0x1d12b0){_0x1d12b0=_0x1d12b0||0xc8;return function(_0x26e2dd){if(_0x26e2dd){return _0x3f2d82[_0x19a9('0x1f')](_0x1d12b0)[_0x19a9('0x20')](_0x26e2dd);}};}function respondWithFilteredResult(_0x5857cc,_0x352e5d){return function(_0x43ca9b){if(_0x43ca9b){var _0x1a27a0=_0x43ca9b[_0x19a9('0x21')],_0x3c3601=_0x352e5d[_0x19a9('0x22')],_0x1640a6=_0x352e5d[_0x19a9('0x22')]+_0x352e5d[_0x19a9('0x23')],_0x4cfe9a;if(_0x1640a6>=_0x1a27a0){_0x1640a6=_0x1a27a0;_0x4cfe9a=0xc8;}else{_0x4cfe9a=0xce;}_0x5857cc[_0x19a9('0x1f')](_0x4cfe9a);return _0x5857cc['set'](_0x19a9('0x24'),_0x3c3601+'-'+_0x1640a6+'/'+_0x1a27a0)[_0x19a9('0x20')](_0x43ca9b);}return null;};}function patchUpdates(_0x1ebcaf){return function(_0x28e443){try{jsonpatch[_0x19a9('0x25')](_0x28e443,_0x1ebcaf,!![]);}catch(_0x4fd701){return BPromise[_0x19a9('0x26')](_0x4fd701);}return _0x28e443['save']();};}function saveUpdates(_0x2c041f,_0x2f07b3){return function(_0x3c8c83){if(_0x3c8c83){return _0x3c8c83[_0x19a9('0x27')](_0x2c041f)[_0x19a9('0x28')](function(_0x22876a){return _0x22876a;});}return null;};}function removeEntity(_0x483466,_0x42da2c){return function(_0x45a413){if(_0x45a413){return _0x45a413[_0x19a9('0x29')]()[_0x19a9('0x28')](function(){_0x483466[_0x19a9('0x1f')](0xcc)[_0x19a9('0x2a')]();});}};}function handleEntityNotFound(_0x4226e9,_0x153217){return function(_0x47313f){if(!_0x47313f){_0x4226e9[_0x19a9('0x1e')](0x194);}return _0x47313f;};}function handleError(_0x1bec47,_0x156622){_0x156622=_0x156622||0x1f4;return function(_0x15f861){logger['error'](_0x15f861[_0x19a9('0x2b')]);if(_0x15f861['name']){delete _0x15f861[_0x19a9('0x2c')];}_0x1bec47['status'](_0x156622)[_0x19a9('0x2d')](_0x15f861);};}function getInteractionUsers(_0x5a8ec8,_0x56e966){return new BPromise(function(_0x5ce092,_0x13346f){try{if(_0x56e966[_0x5a8ec8['id']]){_0x5a8ec8[_0x19a9('0x2e')]=_[_0x19a9('0x2f')](_0x56e966[_0x5a8ec8['id']],function(_0xbf7e6d){return{'id':_0xbf7e6d['id'],'fullname':_0xbf7e6d[_0x19a9('0x30')]};});}}catch(_0x5cbfeb){_0x13346f(_0x5cbfeb);}_0x5ce092(_0x5a8ec8);});}function getInteractionTags(_0x1b3049,_0x2064e3){return new BPromise(function(_0x3a4318,_0x5b52b7){try{if(_0x1b3049[_0x19a9('0x31')]){_0x1b3049['Tags']=[];_0x1b3049[_0x19a9('0x31')][_0x19a9('0x32')](',')['forEach'](function(_0x1e9aa0){_0x1b3049[_0x19a9('0x33')][_0x19a9('0x34')](_0x2064e3[_0x1e9aa0]);});}delete _0x1b3049['TagIds'];}catch(_0x251c09){_0x5b52b7(_0x251c09);}_0x3a4318(_0x1b3049);});}function updateOpenchannelInteraction(_0x52920b,_0x1a288a,_0x8349e){return new BPromise(function(_0xcb7345,_0x24660e){return getInteractionUsers(_0x52920b,_0x8349e)['then'](function(_0x1d9015){return getInteractionTags(_0x1d9015,_0x1a288a);})[_0x19a9('0x28')](function(_0x50d58d){_0xcb7345(_0x50d58d);})[_0x19a9('0x35')](function(_0x5e5646){_0x24660e(_0x5e5646);});});}exports[_0x19a9('0x36')]=function(_0x40eab2,_0x4da361){var _0x2acf54={},_0x381cbe={},_0x2e1ddf={'count':0x0,'rows':[]};var _0x4cad4d=_['map'](db['OpenchannelInteraction']['rawAttributes'],function(_0xd82dcf){return{'name':_0xd82dcf[_0x19a9('0x37')],'type':_0xd82dcf[_0x19a9('0x38')][_0x19a9('0x39')]};});_0x381cbe[_0x19a9('0x3a')]=_[_0x19a9('0x2f')](_0x4cad4d,'name');_0x381cbe[_0x19a9('0x3b')]=_[_0x19a9('0x3c')](_0x40eab2[_0x19a9('0x3b')]);_0x381cbe[_0x19a9('0x3d')]=_[_0x19a9('0x3e')](_0x381cbe['model'],_0x381cbe[_0x19a9('0x3b')]);_0x2acf54[_0x19a9('0x3f')]=_[_0x19a9('0x3e')](_0x381cbe[_0x19a9('0x3a')],qs[_0x19a9('0x40')](_0x40eab2[_0x19a9('0x3b')][_0x19a9('0x40')]));_0x2acf54[_0x19a9('0x3f')]=_0x2acf54[_0x19a9('0x3f')][_0x19a9('0x41')]?_0x2acf54['attributes']:_0x381cbe[_0x19a9('0x3a')];if(!_0x40eab2[_0x19a9('0x3b')][_0x19a9('0x42')]('nolimit')){_0x2acf54[_0x19a9('0x23')]=qs['limit'](_0x40eab2[_0x19a9('0x3b')][_0x19a9('0x23')]);_0x2acf54[_0x19a9('0x22')]=qs[_0x19a9('0x22')](_0x40eab2[_0x19a9('0x3b')][_0x19a9('0x22')]);}_0x2acf54[_0x19a9('0x43')]=qs[_0x19a9('0x44')](_0x40eab2[_0x19a9('0x3b')]['sort']);_0x2acf54[_0x19a9('0x45')]=qs[_0x19a9('0x3d')](_[_0x19a9('0x46')](_0x40eab2[_0x19a9('0x3b')],_0x381cbe[_0x19a9('0x3d')]),_0x4cad4d);var _0x39baf4=[];var _0x43445c=squel[_0x19a9('0x47')]()[_0x19a9('0x48')]('id')[_0x19a9('0x48')](_0x19a9('0x2c'))[_0x19a9('0x48')](_0x19a9('0x49'))[_0x19a9('0x4a')](_0x19a9('0x4b'));var _0x211529=squel[_0x19a9('0x47')]()[_0x19a9('0x48')](_0x19a9('0x4c'))[_0x19a9('0x48')](_0x19a9('0x4d'))[_0x19a9('0x48')](_0x19a9('0x4e'))['from'](_0x19a9('0x4f'),'ui')[_0x19a9('0x50')](_0x19a9('0x51'),'u',_0x19a9('0x52'));var _0x13271a=squel[_0x19a9('0x47')]()[_0x19a9('0x4a')](_0x19a9('0x53'),'i')['left_join']('cm_contacts','c',_0x19a9('0x54'))['left_join']('users','o','o.id\x20=\x20i.UserId')['left_join']('openchannel_accounts','a','a.id\x20=\x20i.OpenchannelAccountId')[_0x19a9('0x50')]('openchannel_messages','me',_0x19a9('0x55'))['left_join']('openchannel_interaction_has_tags','it',_0x19a9('0x56'))[_0x19a9('0x50')](_0x19a9('0x4b'),'t',_0x19a9('0x57'));var _0x28eb3e=squel[_0x19a9('0x58')]();var _0x3e315d=[];var _0x2d35f8=squel[_0x19a9('0x58')]();var _0x44ae08;if(_0x40eab2[_0x19a9('0x3b')]['search']){_0x44ae08=as[_0x19a9('0x59')](_0x40eab2[_0x19a9('0x3b')][_0x19a9('0x5a')]);var _0x428428=_0x44ae08[_0x19a9('0x5b')];for(var _0xd8e4b3=0x0;_0xd8e4b3<_0x44ae08[_0x19a9('0x5c')][_0x19a9('0x41')];_0xd8e4b3++){var _0x3c13bc=_0x44ae08['conditions'][_0xd8e4b3];var _0x2356d6='i';var _0x28e499=_[_0x19a9('0x5d')](_0x4cad4d,['name',_0x3c13bc['field']]);if(!_0x28e499){switch(_0x3c13bc[_0x19a9('0x48')]){case'unreadMessages':if(_0x3c13bc[_0x19a9('0x5e')]==0x1){_0x13271a[_0x19a9('0x5f')]('`'+_0x3c13bc[_0x19a9('0x48')]+_0x19a9('0x60'));}else{_0x13271a[_0x19a9('0x5f')]('`'+_0x3c13bc[_0x19a9('0x48')]+_0x19a9('0x61'));}break;case'Contact':if(_0x3c13bc['operator']===_0x19a9('0x62')){if(_0x3c13bc[_0x19a9('0x5e')][_0x19a9('0x32')]('\x20')['length']>0x1){_0x28eb3e[_0x428428](_0x19a9('0x63'),qs['getFullTextValue'](_0x3c13bc[_0x19a9('0x5e')]),null);}else{var _0xe2c10c='%'+_0x3c13bc[_0x19a9('0x5e')]+'%';_0x28eb3e[_0x428428](_0x19a9('0x64'),_0xe2c10c,_0xe2c10c,_0xe2c10c);}}else{_0x28e499=_['find'](_0x4cad4d,['name','ContactId']);_0x3c13bc[_0x19a9('0x48')]=_0x19a9('0x65');_0x5de69a=as[_0x19a9('0x66')](_0x2356d6,_0x28e499[_0x19a9('0x38')],_0x3c13bc);_0x28eb3e[_0x428428](_0x5de69a['text'],_0x5de69a[_0x19a9('0x5e')]['start'],_0x5de69a[_0x19a9('0x5e')][_0x19a9('0x2a')]);}break;case _0x19a9('0x67'):var _0x46f447=_0x3c13bc['value']['split'](',')[_0x19a9('0x2f')](function(_0x2b9a91){return Number(_0x2b9a91);});_0x46f447['forEach'](function(_0x19f25f){_0x2d35f8['or'](_0x19a9('0x68'),'%,'+_0x19f25f+',%');});_0x3e315d=_[_0x19a9('0x69')](_0x3e315d,_0x46f447);break;case _0x19a9('0x6a'):if(_0x3c13bc[_0x19a9('0x6b')]===_0x19a9('0x62')){_0x28eb3e[_0x428428]('CONCAT_WS(\x27\x20\x27,\x20o.name,\x20o.fullname)\x20LIKE\x20?','%'+_0x3c13bc[_0x19a9('0x5e')]+'%',null);}else{_0x28e499=_[_0x19a9('0x5d')](_0x4cad4d,['name',_0x19a9('0x6c')]);_0x3c13bc['field']=_0x19a9('0x6c');_0x5de69a=as[_0x19a9('0x66')](_0x2356d6,_0x28e499['type'],_0x3c13bc);_0x28eb3e[_0x428428](_0x5de69a[_0x19a9('0x6d')],_0x5de69a[_0x19a9('0x5e')]['start'],_0x5de69a[_0x19a9('0x5e')][_0x19a9('0x2a')]);}break;case _0x19a9('0x6e'):_0x5de69a=as['buildExpression']('me',null,_0x3c13bc);_0x28eb3e[_0x428428](_0x5de69a['text'],_0x5de69a[_0x19a9('0x5e')][_0x19a9('0x6f')],_0x5de69a[_0x19a9('0x5e')]['end']);break;}}else{var _0x5de69a=as[_0x19a9('0x66')](_0x2356d6,_0x28e499[_0x19a9('0x38')],_0x3c13bc);_0x28eb3e[_0x428428](_0x5de69a[_0x19a9('0x6d')],_0x5de69a['value'][_0x19a9('0x6f')],_0x5de69a[_0x19a9('0x5e')]['end']);}}}else{var _0x343c1c=_(_0x40eab2['query'])['keys']()[_0x19a9('0x2f')](function(_0x57f81c){return _[_0x19a9('0x70')](_0x4cad4d,['name',_0x57f81c])?_0x57f81c:undefined;})[_0x19a9('0x71')]()[_0x19a9('0x5e')]();if(!_[_0x19a9('0x72')](_0x343c1c)){_0x343c1c[_0x19a9('0x73')](function(_0x5a7e0b){if(_0x5a7e0b===_0x19a9('0x74')){_0x13271a[_0x19a9('0x45')](_0x19a9('0x75'),[][_0x19a9('0x76')](_0x40eab2[_0x19a9('0x3b')][_0x5a7e0b]));}else if(_0x5a7e0b===_0x19a9('0x77')){var _0x133c80=JSON[_0x19a9('0x78')](_0x40eab2[_0x19a9('0x3b')][_0x5a7e0b])[_0x19a9('0x79')];var _0x32171b=JSON[_0x19a9('0x78')](_0x40eab2[_0x19a9('0x3b')][_0x5a7e0b])['$lte'];_0x13271a[_0x19a9('0x45')](_0x19a9('0x7a'),_0x133c80,_0x32171b);}else{if(_0x40eab2[_0x19a9('0x3b')][_0x5a7e0b]==='null'){_0x13271a[_0x19a9('0x45')]('i.'+_0x5a7e0b+_0x19a9('0x7b'));}else{_0x13271a['where']('i.'+_0x5a7e0b+_0x19a9('0x7c'),_0x40eab2[_0x19a9('0x3b')][_0x5a7e0b]);}}});}if(_0x40eab2[_0x19a9('0x3b')][_0x19a9('0x7d')]){if(_0x40eab2['query']['read']==0x1){_0x13271a[_0x19a9('0x5f')](_0x19a9('0x7e'));}else{_0x13271a[_0x19a9('0x5f')]('`unreadMessages`\x20>\x200');}}if(_0x40eab2[_0x19a9('0x3b')]['tag']){_0x3e315d=_[_0x19a9('0x7f')](_0x40eab2['query'][_0x19a9('0x80')])?_0x40eab2[_0x19a9('0x3b')][_0x19a9('0x80')]:new Array(_0x40eab2[_0x19a9('0x3b')][_0x19a9('0x80')]);_0x3e315d[_0x19a9('0x73')](function(_0x3a4607){_0x2d35f8['or'](_0x19a9('0x68'),'%,'+_0x3a4607+',%');});}if(_0x40eab2[_0x19a9('0x3b')][_0x19a9('0x81')]){var _0x3d4566=_0x40eab2[_0x19a9('0x3b')]['filter'][_0x19a9('0x82')]('\x5c','\x5c\x5c')[_0x19a9('0x82')]('\x27\x27','\x27\x27\x27\x27');if(qs[_0x19a9('0x83')](_0x3d4566)){_0x28eb3e['or'](_0x19a9('0x84'),_0x3d4566+'%');}else{_0x28eb3e['or']('MATCH\x20(me.body)\x20AGAINST\x20(?\x20IN\x20BOOLEAN\x20MODE)',qs[_0x19a9('0x85')](_0x3d4566))['or'](_0x19a9('0x86'),_0x3d4566+'%')['or'](_0x19a9('0x87'),_0x3d4566+'%');}}}_0x13271a['where'](_0x28eb3e);_0x13271a[_0x19a9('0x88')]('i.id');var _0x366e6b={'type':db[_0x19a9('0x89')][_0x19a9('0x8a')]['SELECT'],'raw':!![]};var _0x224177=_0x13271a[_0x19a9('0x8b')]();_0x224177[_0x19a9('0x48')](_0x19a9('0x8c'));_0x224177['field']('SUM(me.read\x20=\x200\x20AND\x20me.direction\x20=\x20\x27in\x27)',_0x19a9('0x8d'));if(_0x2acf54[_0x19a9('0x43')]){_0x2acf54['order']['forEach'](function(_0x15b313){_0x13271a['order']('i.'+_0x15b313[0x0],_0x15b313[0x1]==='DESC'?![]:!![]);});}if(!_[_0x19a9('0x72')](_0x3e315d)){_0x13271a[_0x19a9('0x5f')](_0x2d35f8);_0x224177['where'](_0x19a9('0x8e'),_0x3e315d);}BPromise[_0x19a9('0x8f')]()[_0x19a9('0x28')](function(){if(!_0x44ae08){if(_0x40eab2['query'][_0x19a9('0x74')]||_0x40eab2[_0x19a9('0x3b')][_0x19a9('0x90')])return;_0x224177[_0x19a9('0x45')](_0x19a9('0x91'));_0x13271a[_0x19a9('0x45')](_0x19a9('0x91'));return;}return _0x40eab2[_0x19a9('0x92')]['getOpenchannelAccounts']({'attributes':['id'],'raw':!![]})[_0x19a9('0x28')](function(_0x1d1f3e){if(_['isEmpty'](_0x1d1f3e)){_0x224177[_0x19a9('0x45')]('i.OpenchannelAccountId\x20IS\x20NULL');_0x13271a[_0x19a9('0x45')](_0x19a9('0x93'));}else{_0x224177[_0x19a9('0x45')](_0x19a9('0x75'),_[_0x19a9('0x2f')](_0x1d1f3e,'id'));_0x13271a[_0x19a9('0x45')](_0x19a9('0x75'),_[_0x19a9('0x2f')](_0x1d1f3e,'id'));}});})[_0x19a9('0x28')](function(){db[_0x19a9('0x94')][_0x19a9('0x3b')](_0x224177[_0x19a9('0x95')](),_0x366e6b)[_0x19a9('0x28')](function(_0x518981){_0x2e1ddf[_0x19a9('0x21')]=_0x518981[_0x19a9('0x41')];if(_0x2e1ddf['count']===0x0)return[];return db[_0x19a9('0x94')][_0x19a9('0x3b')](_0x43445c[_0x19a9('0x95')](),_0x366e6b)[_0x19a9('0x28')](function(_0x4bc1f1){_0x39baf4=_['keyBy'](_0x4bc1f1,'id');_0x366e6b=_[_0x19a9('0x96')](_0x366e6b,{'model':db['OpenchannelInteraction'],'mapToModel':!![],'raw':!![],'nest':!![]});if(_0x40eab2[_0x19a9('0x3b')][_0x19a9('0x40')]){_0x2acf54[_0x19a9('0x3f')][_0x19a9('0x73')](function(_0x39f3cc){_0x13271a[_0x19a9('0x48')]('i.'+_0x39f3cc);});}else{_0x13271a[_0x19a9('0x48')]('SUM(me.read\x20=\x200\x20AND\x20me.direction\x20=\x20\x27in\x27)',_0x19a9('0x8d'));_0x13271a[_0x19a9('0x48')]('a.key',_0x19a9('0x97'));_0x13271a[_0x19a9('0x48')](_0x19a9('0x98'),'Account.mandatoryDisposition');_0x13271a[_0x19a9('0x48')]('i.*');_0x13271a['field'](_0x19a9('0x99'),_0x19a9('0x9a'));_0x13271a[_0x19a9('0x48')](_0x19a9('0x9b'),_0x19a9('0x9c'));_0x13271a[_0x19a9('0x48')](_0x19a9('0x9d'),_0x19a9('0x9e'));_0x13271a[_0x19a9('0x48')](_0x19a9('0x9f'),_0x19a9('0xa0'));_0x13271a[_0x19a9('0x48')](_0x19a9('0xa1'),_0x19a9('0xa2'));_0x13271a[_0x19a9('0x48')](_0x19a9('0xa3'),_0x19a9('0xa4'));_0x13271a[_0x19a9('0x48')]('o.fullname',_0x19a9('0xa5'));_0x13271a[_0x19a9('0x48')](_0x19a9('0xa6'),_0x19a9('0xa7'));_0x13271a['field'](_0x19a9('0xa8'),_0x19a9('0x31'));}if(_0x2acf54['limit'])_0x13271a['limit'](_0x2acf54[_0x19a9('0x23')]);if(_0x2acf54['offset'])_0x13271a[_0x19a9('0x22')](_0x2acf54[_0x19a9('0x22')]);return db[_0x19a9('0x94')][_0x19a9('0x3b')](_0x13271a[_0x19a9('0x95')](),_0x366e6b);})[_0x19a9('0x28')](function(_0x5e0e88){_0x211529[_0x19a9('0x45')](_0x19a9('0xa9'),_[_0x19a9('0x2f')](_0x5e0e88,'id'));return db[_0x19a9('0x94')][_0x19a9('0x3b')](_0x211529[_0x19a9('0x95')](),_0x366e6b)[_0x19a9('0x28')](function(_0x2e4089){var _0x447e4a=_[_0x19a9('0xaa')](_0x2e4089,_0x19a9('0xab'));var _0x40ab79=[];_0x5e0e88[_0x19a9('0x73')](function(_0x36e4ff){_0x40ab79[_0x19a9('0x34')](updateOpenchannelInteraction(_0x36e4ff,_0x39baf4,_0x447e4a));});return BPromise[_0x19a9('0xac')](_0x40ab79);});});})['then'](function(_0x543d5d){_0x2e1ddf['rows']=_0x543d5d;return _0x2e1ddf;})['then'](respondWithFilteredResult(_0x4da361,_0x2acf54));})[_0x19a9('0x35')](handleError(_0x4da361,null));};exports[_0x19a9('0xad')]=function(_0x1cfab0,_0x4da51e){var _0x2f6584={'raw':![],'where':{'id':_0x1cfab0[_0x19a9('0xae')]['id']}},_0x5c18c5={};_0x5c18c5[_0x19a9('0x3a')]=_[_0x19a9('0x3c')](db['OpenchannelInteraction']['rawAttributes']);_0x5c18c5[_0x19a9('0x3b')]=_[_0x19a9('0x3c')](_0x1cfab0[_0x19a9('0x3b')]);_0x5c18c5['filters']=_[_0x19a9('0x3e')](_0x5c18c5[_0x19a9('0x3a')],_0x5c18c5[_0x19a9('0x3b')]);_0x2f6584[_0x19a9('0x3f')]=_[_0x19a9('0x3e')](_0x5c18c5[_0x19a9('0x3a')],qs[_0x19a9('0x40')](_0x1cfab0[_0x19a9('0x3b')][_0x19a9('0x40')]));_0x2f6584[_0x19a9('0x3f')]=_0x2f6584[_0x19a9('0x3f')][_0x19a9('0x41')]?_0x2f6584[_0x19a9('0x3f')]:_0x5c18c5[_0x19a9('0x3a')];if(_0x1cfab0['query'][_0x19a9('0xaf')]){_0x2f6584[_0x19a9('0xb0')]=[{'all':!![]}];}_0x2f6584=_[_0x19a9('0x96')]({},_0x2f6584,_0x1cfab0[_0x19a9('0xb1')]);return db[_0x19a9('0xb2')]['find'](_0x2f6584)[_0x19a9('0x28')](handleEntityNotFound(_0x4da51e,null))['then'](respondWithResult(_0x4da51e,null))['catch'](handleError(_0x4da51e,null));};exports[_0x19a9('0xb3')]=function(_0x33bc1c,_0xbb20a3){return db[_0x19a9('0xb2')][_0x19a9('0xb3')](_0x33bc1c[_0x19a9('0x6e')],{})[_0x19a9('0x28')](respondWithResult(_0xbb20a3,0xc9))['catch'](handleError(_0xbb20a3,null));};exports[_0x19a9('0x27')]=function(_0x3e0e74,_0x4baaee){if(_0x3e0e74[_0x19a9('0x6e')]['id']){delete _0x3e0e74[_0x19a9('0x6e')]['id'];}return db[_0x19a9('0xb2')]['find']({'where':{'id':_0x3e0e74[_0x19a9('0xae')]['id']}})['then'](handleEntityNotFound(_0x4baaee,null))[_0x19a9('0x28')](saveUpdates(_0x3e0e74[_0x19a9('0x6e')],null))[_0x19a9('0x28')](respondWithResult(_0x4baaee,null))[_0x19a9('0x35')](handleError(_0x4baaee,null));};exports[_0x19a9('0x29')]=function(_0x5c46d0,_0x308590){return db[_0x19a9('0xb2')]['find']({'where':{'id':_0x5c46d0[_0x19a9('0xae')]['id']}})['then'](handleEntityNotFound(_0x308590,null))[_0x19a9('0x28')](removeEntity(_0x308590,null))['catch'](handleError(_0x308590,null));};exports[_0x19a9('0xb4')]=function(_0x10b1a3,_0x468e18){return db[_0x19a9('0xb2')][_0x19a9('0xb4')]()[_0x19a9('0x28')](respondWithResult(_0x468e18,null))[_0x19a9('0x35')](handleError(_0x468e18,null));};exports[_0x19a9('0xb5')]=function(_0x327f82,_0x491f9c,_0x4153f6){return db[_0x19a9('0xb6')][_0x19a9('0x5d')]({'where':{'id':_0x327f82['params']['id']}})['then'](handleEntityNotFound(_0x491f9c,null))[_0x19a9('0x28')](function(_0x42dc5b){if(_0x42dc5b){return _0x42dc5b[_0x19a9('0xb5')](_0x327f82[_0x19a9('0x6e')][_0x19a9('0xb7')],_[_0x19a9('0xb8')](_0x327f82[_0x19a9('0x6e')],['ids','id'])||{});}})['then'](respondWithResult(_0x491f9c,null))[_0x19a9('0x35')](handleError(_0x491f9c,null));};exports[_0x19a9('0xb9')]=function(_0x4b4daf,_0x215468,_0x2da2ab){var _0x3c1e62={'raw':![],'where':{}};var _0x13eeac={};var _0x31ab16={'count':0x0,'rows':[]};return db[_0x19a9('0xb2')][_0x19a9('0xba')]({'where':{'id':_0x4b4daf[_0x19a9('0xae')]['id']}})[_0x19a9('0x28')](handleEntityNotFound(_0x215468,null))['then'](function(_0x44bb5d){if(_0x44bb5d){_0x13eeac[_0x19a9('0x3a')]=_['keys'](db[_0x19a9('0xb6')][_0x19a9('0xbb')]);_0x13eeac[_0x19a9('0x3b')]=_[_0x19a9('0x3c')](_0x4b4daf[_0x19a9('0x3b')]);_0x13eeac[_0x19a9('0x3d')]=_['intersection'](_0x13eeac['model'],_0x13eeac['query']);_0x3c1e62[_0x19a9('0x3f')]=_[_0x19a9('0x3e')](_0x13eeac[_0x19a9('0x3a')],qs['fields'](_0x4b4daf[_0x19a9('0x3b')][_0x19a9('0x40')]));_0x3c1e62[_0x19a9('0x3f')]=_0x3c1e62[_0x19a9('0x3f')][_0x19a9('0x41')]?_0x3c1e62['attributes']:_0x13eeac['model'];if(!_0x4b4daf[_0x19a9('0x3b')][_0x19a9('0x42')](_0x19a9('0xbc'))){_0x3c1e62[_0x19a9('0x23')]=qs[_0x19a9('0x23')](_0x4b4daf[_0x19a9('0x3b')][_0x19a9('0x23')]);_0x3c1e62[_0x19a9('0x22')]=qs[_0x19a9('0x22')](_0x4b4daf[_0x19a9('0x3b')][_0x19a9('0x22')]);}_0x3c1e62[_0x19a9('0x43')]=qs[_0x19a9('0x44')](_0x4b4daf[_0x19a9('0x3b')][_0x19a9('0x44')]);_0x3c1e62['where']=qs[_0x19a9('0x3d')](_[_0x19a9('0x46')](_0x4b4daf[_0x19a9('0x3b')],_0x13eeac[_0x19a9('0x3d')]));_0x3c1e62['where'][_0x19a9('0xab')]=_0x44bb5d['id'];if(_0x4b4daf['query']['filter']){_0x3c1e62[_0x19a9('0x45')]=_[_0x19a9('0x96')](_0x3c1e62['where'],{'$or':_['map'](_0x3c1e62[_0x19a9('0x3f')],function(_0x1f9b7a){var _0x17ed71={};_0x17ed71[_0x1f9b7a]={'$like':'%'+_0x4b4daf[_0x19a9('0x3b')][_0x19a9('0x81')]+'%'};return _0x17ed71;})});}if(_0x4b4daf['query'][_0x19a9('0x79')]){var _0x1552e3=_0x4b4daf['query'][_0x19a9('0x79')]['split'](',');var _0x3bd740={};_0x3bd740[_0x1552e3[0x0]]={'$gte':moment(_0x1552e3[0x1])[_0x19a9('0xbd')](_0x19a9('0xbe'))};_0x3c1e62[_0x19a9('0x45')]=_[_0x19a9('0x96')](_0x3c1e62[_0x19a9('0x45')],_0x3bd740);}_0x3c1e62=_['merge']({},_0x3c1e62,_0x4b4daf['options']);return db['OpenchannelMessage'][_0x19a9('0x21')]({'where':_0x3c1e62[_0x19a9('0x45')]})[_0x19a9('0x28')](function(_0x4da21b){_0x31ab16[_0x19a9('0x21')]=_0x4da21b;if(_0x4b4daf[_0x19a9('0x3b')]['includeAll']){_0x3c1e62[_0x19a9('0xb0')]=[{'all':!![]}];}return db[_0x19a9('0xb6')][_0x19a9('0xbf')](_0x3c1e62);})[_0x19a9('0x28')](function(_0x5455bc){_0x31ab16[_0x19a9('0xc0')]=_0x5455bc;return _0x31ab16;});}})['then'](respondWithFilteredResult(_0x215468,_0x3c1e62))['catch'](handleError(_0x215468,null));};exports[_0x19a9('0xc1')]=function(_0x42fcb2,_0x215f44,_0x51271a){return db[_0x19a9('0xb2')][_0x19a9('0x5d')]({'where':{'id':_0x42fcb2[_0x19a9('0xae')]['id']}})[_0x19a9('0x28')](handleEntityNotFound(_0x215f44,null))['then'](function(_0x7e0368){if(_0x7e0368){return _0x7e0368[_0x19a9('0xc2')](_0x42fcb2[_0x19a9('0x6e')][_0x19a9('0xb7')],_[_0x19a9('0xb8')](_0x42fcb2['body'],[_0x19a9('0xb7'),'id'])||{})[_0x19a9('0xc3')](function(){return db[_0x19a9('0x67')][_0x19a9('0xbf')]({'attributes':['id',_0x19a9('0x2c'),_0x19a9('0x49')],'where':{'id':_0x42fcb2[_0x19a9('0x6e')][_0x19a9('0xb7')]}});})[_0x19a9('0x28')](function(_0x436e6b){socket[_0x19a9('0xc4')](_0x19a9('0xc5'),{'id':Number(_0x42fcb2['params']['id']),'tags':_0x436e6b||[]});return{'id':Number(_0x42fcb2[_0x19a9('0xae')]['id']),'tags':_0x436e6b||[]};});}})['then'](respondWithResult(_0x215f44,null))[_0x19a9('0x35')](handleError(_0x215f44,null));};exports[_0x19a9('0xc6')]=function(_0x198a0e,_0x3aef77,_0x219e85){return db[_0x19a9('0xb2')][_0x19a9('0x5d')]({'where':{'id':_0x198a0e['params']['id']}})['then'](handleEntityNotFound(_0x3aef77,null))[_0x19a9('0x28')](function(_0xb53981){if(_0xb53981){return _0xb53981[_0x19a9('0xc6')](_0x198a0e[_0x19a9('0x3b')]['ids']);}})[_0x19a9('0x28')](respondWithStatusCode(_0x3aef77,null))['catch'](handleError(_0x3aef77,null));};exports[_0x19a9('0xc7')]=function(_0x2edaea,_0x10d56f){var _0x41cc9b=moment()[_0x19a9('0xc8')]()['toString']();var _0x3f1f24=path['join'](config['root'],_0x19a9('0xc9'),_0x19a9('0xca'),_0x19a9('0xcb'));var _0x42437a=path[_0x19a9('0xcc')](config[_0x19a9('0xcd')],_0x19a9('0xc9'),_0x19a9('0xca'),_0x19a9('0xce'));var _0x50b9c5=path[_0x19a9('0xcc')](_0x3f1f24,_0x41cc9b);var _0x2fb71c=util[_0x19a9('0xbd')](_0x19a9('0xcf'),_0x2edaea[_0x19a9('0xae')]['id'],_0x41cc9b);var _0x28573e=path['join'](_0x3f1f24,_0x2fb71c);var _0x1dedce=[];_0x1dedce[_0x19a9('0x34')]({'model':db[_0x19a9('0x6a')],'as':_0x19a9('0x6a'),'attributes':['id',_0x19a9('0x30')],'raw':!![]});_0x1dedce[_0x19a9('0x34')]({'model':db['CmContact'],'as':'Contact','attributes':['id','firstName','lastName'],'raw':!![]});if(_0x2edaea[_0x19a9('0x3b')][_0x19a9('0xce')]){_0x1dedce[_0x19a9('0x34')]({'model':db[_0x19a9('0xd0')],'as':'Attachment','raw':!![]});}var _0x486560=[{'model':db[_0x19a9('0xb6')],'as':_0x19a9('0xd1'),'attributes':['id','body','createdAt',_0x19a9('0xd2'),_0x19a9('0xd3'),_0x19a9('0x7d')],'include':_0x1dedce}];_0x486560[_0x19a9('0x34')]({'model':db[_0x19a9('0xd4')],'as':'Account','attributes':['id',_0x19a9('0x2c')]});_0x486560[_0x19a9('0x34')]({'model':db[_0x19a9('0x6a')],'as':_0x19a9('0xd5'),'attributes':['id',_0x19a9('0x30')]});return db['OpenchannelInteraction']['find']({'where':{'id':_0x2edaea[_0x19a9('0xae')]['id']},'include':_0x486560})['then'](handleEntityNotFound(_0x10d56f,null))[_0x19a9('0x28')](function(_0x17a4fc){if(_0x17a4fc){var _0x31dced=_0x17a4fc['get']({'plain':!![]});fs[_0x19a9('0xd6')](_0x50b9c5);var _0xcb60cf={'format':'A4','border':_0x19a9('0xd7'),'header':{'height':_0x19a9('0xd8'),'contents':{'first':_0x19a9('0xd9')}},'footer':{'height':_0x19a9('0xda'),'contents':{'default':util[_0x19a9('0xbd')](_0x19a9('0xdb'),util[_0x19a9('0xbd')](_0x19a9('0xdc'),_0x19a9('0xdd'),_0x31dced['id']),moment()[_0x19a9('0xbd')](_0x19a9('0xde'))[_0x19a9('0x95')]())}}};var _0x297ab6={'channel':_0x19a9('0xdd'),'account':_0x31dced[_0x19a9('0xdf')][_0x19a9('0x2c')],'agent':_0x31dced[_0x19a9('0xd5')]?_0x31dced[_0x19a9('0xd5')][_0x19a9('0x30')]:_0x19a9('0xe0'),'createdAt':moment(_0x31dced['createdAt'])['format']('YYYY-MM-DD\x20HH:mm:ss')[_0x19a9('0x95')](),'closedAt':_0x31dced[_0x19a9('0xe1')]?moment(_0x31dced[_0x19a9('0xe2')])[_0x19a9('0xbd')](_0x19a9('0xbe'))[_0x19a9('0x95')]():'','disposition':_0x31dced[_0x19a9('0xe3')],'visibility':_0x31dced[_0x19a9('0xe4')]?_0x19a9('0xe5'):_0x19a9('0xe6'),'messages':_(_0x31dced[_0x19a9('0xd1')])['filter']({'secret':![]})['map'](function(_0x49bd61){if(_0x49bd61[_0x19a9('0xd0')]){var _0x4ca60a=path[_0x19a9('0xcc')](_0x42437a,_0x49bd61[_0x19a9('0xd0')][_0x19a9('0xe7')]);if(fs['existsSync'](_0x4ca60a)){fs['createReadStream'](_0x4ca60a)[_0x19a9('0xe8')](fs[_0x19a9('0xe9')](path[_0x19a9('0xcc')](_0x50b9c5,_0x49bd61[_0x19a9('0xd0')][_0x19a9('0xe7')])));}}return{'date':moment(_0x49bd61['createdAt'])[_0x19a9('0xbd')]('YYYY-MM-DD\x20HH:mm:ss')[_0x19a9('0x95')](),'sender':_0x49bd61[_0x19a9('0xd2')]===_0x19a9('0xea')?_0x49bd61[_0x19a9('0x6a')]?_0x49bd61['User'][_0x19a9('0x30')]:_0x19a9('0xeb'):_0x49bd61[_0x19a9('0xec')]['firstName']+(_0x49bd61['Contact'][_0x19a9('0xed')]?'\x20'+_0x49bd61[_0x19a9('0xec')][_0x19a9('0xed')]:''),'body':_0x49bd61[_0x19a9('0xd0')]?_0x49bd61[_0x19a9('0xd0')][_0x19a9('0xe7')]:_0x49bd61[_0x19a9('0x6e')],'direction':_0x49bd61['direction']==='out'?'A':'C','secret':_0x49bd61[_0x19a9('0xd3')],'read':_0x49bd61[_0x19a9('0x7d')],'attachment':_0x49bd61[_0x19a9('0xd0')]};})['value']()};return ejs[_0x19a9('0xee')](path[_0x19a9('0xcc')](config[_0x19a9('0xcd')],_0x19a9('0xc9'),_0x19a9('0xef'),_0x19a9('0xf0')),{'interaction':_0x297ab6})[_0x19a9('0x28')](function(_0x3d3f40){return new BPromise(function(_0x110fdd,_0x23e06e){pdf[_0x19a9('0xb3')](_0x3d3f40,_0xcb60cf)[_0x19a9('0xf1')](path[_0x19a9('0xcc')](_0x50b9c5,_0x19a9('0xf2')+_0x31dced['id']+'-'+_0x41cc9b+_0x19a9('0xf3')),function(_0x4ffbd4,_0xa94f1){if(_0x4ffbd4)return _0x23e06e(_0x4ffbd4);_0x110fdd(_0xa94f1);});});})[_0x19a9('0x28')](function(){return new BPromise(function(_0x4b9df,_0x5d8146){zipdir(_0x50b9c5,{'saveTo':_0x28573e},function(_0x48893d,_0x121390){if(_0x48893d)return _0x5d8146(_0x48893d);return _0x4b9df(_0x121390);});})['then'](function(){return new BPromise(function(_0x24ce8b,_0x16a030){rimraf(_0x50b9c5,function(_0x170ceb){if(_0x170ceb)_0x16a030(_0x170ceb);return _0x24ce8b();});});})['then'](function(){return _0x10d56f[_0x19a9('0xc7')](_0x28573e,_0x2fb71c,function(_0x135b1a){if(_0x135b1a){console[_0x19a9('0xf4')](_0x19a9('0xf5'),_0x135b1a);}else{fs[_0x19a9('0xf6')](_0x28573e);}});});});}else{return _0x10d56f[_0x19a9('0x1e')](0xc8);}})[_0x19a9('0x35')](handleError(_0x10d56f,null));}; \ No newline at end of file +var _0xde15=['i.OpenchannelAccountId\x20IS\x20NOT\x20NULL','user','getOpenchannelAccounts','i.OpenchannelAccountId\x20IS\x20NULL','sequelize','toString','Account.key','Account.mandatoryDisposition','i.*','c.firstName','Contact.firstName','c.lastName','Contact.lastName','c.email','Contact.email','c.phone','Contact.phone','c.mobile','Contact.mobile','c.fax','o.fullname','Owner.fullname','Owner.internal','GROUP_CONCAT(DISTINCT\x20t.id)','ui.OpenchannelInteractionId\x20IN\x20?','groupBy','push','all','params','intersection','includeAll','merge','create','describe','addMessage','OpenchannelMessage','ids','getMessages','findOne','$gte','format','options','include','findAll','rows','spread','color','emit','openchannelInteractionTags:save','removeTags','download','unix','root','server','files','tmp','join','transcript-%d-%s.zip','CmContact','firstName','attachments','Attachment','direction','OpenchannelAccount','Owner','get','10px','40px','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
Interaction\x20Transcript
\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','30px','Openchannel','Account','YYYY-MM-DD\x20HH:mm:ss','closed','closedAt','threadId','Public','Messages','basename','existsSync','createReadStream','createWriteStream','System','lastName','out','renderFile','views','downloadInteraction.html','toFile','transcript-','.pdf','log','unlinkSync','html-pdf','rimraf','zip-dir','request-promise','moment','mustache','util','to-csv','ejs','lodash','squel','crypto','jsforce','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','redis','defaults','localhost','status','json','count','offset','limit','set','Content-Range','apply','reject','save','update','then','destroy','sendStatus','error','name','send','map','fullname','TagIds','Tags','split','catch','index','OpenchannelInteraction','rawAttributes','fieldName','type','key','query','keys','filters','attributes','model','fields','length','hasOwnProperty','nolimit','order','sort','where','pick','field','from','tools_tags','select','u.id','u.fullname','user_has_openchannel_interactions','left_join','u.id\x20=\x20ui.UserId','cm_contacts','c.id\x20=\x20i.ContactId\x20AND\x20c.deletedAt\x20IS\x20NULL','users','o.id\x20=\x20i.UserId','openchannel_accounts','openchannel_messages','me.OpenchannelInteractionId\x20=\x20i.id','it.OpenchannelInteractionId\x20=\x20i.id','t.id\x20=\x20it.TagId','expr','search','parseSearch','sqlOperator','conditions','unreadMessages','value','having','Contact','$substring','MATCH\x20(c.firstName,\x20c.lastName,\x20c.phone,\x20c.mobile,\x20c.fax,\x20c.email)\x20AGAINST\x20(?\x20IN\x20BOOLEAN\x20MODE)','getFullTextValue','find','ContactId','buildExpression','text','start','end','Tag','CONCAT(\x27,\x27,\x20`TagIds`,\x20\x27,\x27)\x20LIKE\x20?','union','User','CONCAT_WS(\x27\x20\x27,\x20o.name,\x20o.fullname)\x20LIKE\x20?','UserId','body','some','compact','forEach','i.OpenchannelAccountId\x20IN\x20?','concat','createdAt','parse','null','\x20IS\x20NULL','\x20=\x20?','read','`unreadMessages`\x20=\x200','isArray','tag','filter','replace','\x27\x27\x27\x27','isNumeric','MATCH\x20(me.body)\x20AGAINST\x20(?\x20IN\x20BOOLEAN\x20MODE)','i.from\x20LIKE\x20?','group','QueryTypes','SELECT','i.id','SUM(me.read\x20=\x200\x20AND\x20me.direction\x20=\x20\x27in\x27)','DESC','isEmpty','OpenchannelAccountId','journey'];(function(_0x179b80,_0x440291){var _0x1e8d03=function(_0x466a71){while(--_0x466a71){_0x179b80['push'](_0x179b80['shift']());}};_0x1e8d03(++_0x440291);}(_0xde15,0x148));var _0x5de1=function(_0x2b43e3,_0x174427){_0x2b43e3=_0x2b43e3-0x0;var _0x4a8c82=_0xde15[_0x2b43e3];return _0x4a8c82;};'use strict';var pdf=require(_0x5de1('0x0'));var emlformat=require('eml-format');var rimraf=require(_0x5de1('0x1'));var zipdir=require(_0x5de1('0x2'));var jsonpatch=require('fast-json-patch');var rp=require(_0x5de1('0x3'));var moment=require(_0x5de1('0x4'));var BPromise=require('bluebird');var Mustache=require(_0x5de1('0x5'));var util=require(_0x5de1('0x6'));var path=require('path');var sox=require('sox');var csv=require(_0x5de1('0x7'));var ejs=require(_0x5de1('0x8'));var fs=require('fs');var _=require(_0x5de1('0x9'));var squel=require(_0x5de1('0xa'));var crypto=require(_0x5de1('0xb'));var jsforce=require(_0x5de1('0xc'));var deskjs=require(_0x5de1('0xd'));var toCsv=require(_0x5de1('0x7'));var querystring=require(_0x5de1('0xe'));var Papa=require(_0x5de1('0xf'));var Redis=require(_0x5de1('0x10'));var authService=require(_0x5de1('0x11'));var qs=require(_0x5de1('0x12'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0x5de1('0x13'));var logger=require(_0x5de1('0x14'))(_0x5de1('0x15'));var utils=require(_0x5de1('0x16'));var config=require(_0x5de1('0x17'));var db=require(_0x5de1('0x18'))['db'];config[_0x5de1('0x19')]=_[_0x5de1('0x1a')](config['redis'],{'host':_0x5de1('0x1b'),'port':0x18eb});var socket=require('socket.io-emitter')(new Redis(config['redis']));require('./openchannelInteraction.socket')['register'](socket);function respondWithStatusCode(_0x14f565,_0x1b3876){_0x1b3876=_0x1b3876||0xcc;return function(_0x1f2ce3){if(_0x1f2ce3){return _0x14f565['sendStatus'](_0x1b3876);}return _0x14f565[_0x5de1('0x1c')](_0x1b3876)['end']();};}function respondWithResult(_0x3361d5,_0x134a0c){_0x134a0c=_0x134a0c||0xc8;return function(_0x338e9d){if(_0x338e9d){return _0x3361d5[_0x5de1('0x1c')](_0x134a0c)[_0x5de1('0x1d')](_0x338e9d);}};}function respondWithFilteredResult(_0x2cea85,_0x14fbdb){return function(_0x2d2b6c){if(_0x2d2b6c){var _0x43e162=_0x2d2b6c[_0x5de1('0x1e')],_0x1139e5=_0x14fbdb[_0x5de1('0x1f')],_0x3076e1=_0x14fbdb[_0x5de1('0x1f')]+_0x14fbdb[_0x5de1('0x20')],_0x18a2ad;if(_0x3076e1>=_0x43e162){_0x3076e1=_0x43e162;_0x18a2ad=0xc8;}else{_0x18a2ad=0xce;}_0x2cea85[_0x5de1('0x1c')](_0x18a2ad);return _0x2cea85[_0x5de1('0x21')](_0x5de1('0x22'),_0x1139e5+'-'+_0x3076e1+'/'+_0x43e162)[_0x5de1('0x1d')](_0x2d2b6c);}return null;};}function patchUpdates(_0xc3c695){return function(_0x5e1482){try{jsonpatch[_0x5de1('0x23')](_0x5e1482,_0xc3c695,!![]);}catch(_0x3a9557){return BPromise[_0x5de1('0x24')](_0x3a9557);}return _0x5e1482[_0x5de1('0x25')]();};}function saveUpdates(_0x5bf989,_0x2188d2){return function(_0x203da2){if(_0x203da2){return _0x203da2[_0x5de1('0x26')](_0x5bf989)[_0x5de1('0x27')](function(_0x2d1242){return _0x2d1242;});}return null;};}function removeEntity(_0x43bc52,_0x156a87){return function(_0x2d89ab){if(_0x2d89ab){return _0x2d89ab[_0x5de1('0x28')]()[_0x5de1('0x27')](function(){_0x43bc52[_0x5de1('0x1c')](0xcc)['end']();});}};}function handleEntityNotFound(_0x2d7fe2,_0x419711){return function(_0x310bd7){if(!_0x310bd7){_0x2d7fe2[_0x5de1('0x29')](0x194);}return _0x310bd7;};}function handleError(_0x45fbab,_0x15cacd){_0x15cacd=_0x15cacd||0x1f4;return function(_0x583969){logger[_0x5de1('0x2a')](_0x583969['stack']);if(_0x583969[_0x5de1('0x2b')]){delete _0x583969[_0x5de1('0x2b')];}_0x45fbab[_0x5de1('0x1c')](_0x15cacd)[_0x5de1('0x2c')](_0x583969);};}function getInteractionUsers(_0x37395c,_0x399825){return new BPromise(function(_0x12e4e2,_0x27bdc5){try{if(_0x399825[_0x37395c['id']]){_0x37395c['Users']=_[_0x5de1('0x2d')](_0x399825[_0x37395c['id']],function(_0x40fce8){return{'id':_0x40fce8['id'],'fullname':_0x40fce8[_0x5de1('0x2e')]};});}}catch(_0x2c893a){_0x27bdc5(_0x2c893a);}_0x12e4e2(_0x37395c);});}function getInteractionTags(_0x350615,_0x131adb){return new BPromise(function(_0x27740d,_0x4247d4){try{if(_0x350615[_0x5de1('0x2f')]){_0x350615[_0x5de1('0x30')]=[];_0x350615[_0x5de1('0x2f')][_0x5de1('0x31')](',')['forEach'](function(_0x2139f2){_0x350615['Tags']['push'](_0x131adb[_0x2139f2]);});}delete _0x350615[_0x5de1('0x2f')];}catch(_0x5bc47d){_0x4247d4(_0x5bc47d);}_0x27740d(_0x350615);});}function updateOpenchannelInteraction(_0x5b2899,_0x4ca516,_0x35d2c0){return new BPromise(function(_0x511bcb,_0xa58001){return getInteractionUsers(_0x5b2899,_0x35d2c0)['then'](function(_0x3c6cd7){return getInteractionTags(_0x3c6cd7,_0x4ca516);})['then'](function(_0x268761){_0x511bcb(_0x268761);})[_0x5de1('0x32')](function(_0x55c11a){_0xa58001(_0x55c11a);});});}exports[_0x5de1('0x33')]=function(_0x5a1b8c,_0x7b3a2a){var _0x561060={},_0x51c531={},_0x9d6c7={'count':0x0,'rows':[]};var _0x288c9f=_[_0x5de1('0x2d')](db[_0x5de1('0x34')][_0x5de1('0x35')],function(_0x478fd6){return{'name':_0x478fd6[_0x5de1('0x36')],'type':_0x478fd6[_0x5de1('0x37')][_0x5de1('0x38')]};});_0x51c531['model']=_[_0x5de1('0x2d')](_0x288c9f,_0x5de1('0x2b'));_0x51c531[_0x5de1('0x39')]=_[_0x5de1('0x3a')](_0x5a1b8c[_0x5de1('0x39')]);_0x51c531[_0x5de1('0x3b')]=_['intersection'](_0x51c531['model'],_0x51c531['query']);_0x561060[_0x5de1('0x3c')]=_['intersection'](_0x51c531[_0x5de1('0x3d')],qs[_0x5de1('0x3e')](_0x5a1b8c['query'][_0x5de1('0x3e')]));_0x561060[_0x5de1('0x3c')]=_0x561060['attributes'][_0x5de1('0x3f')]?_0x561060[_0x5de1('0x3c')]:_0x51c531['model'];if(!_0x5a1b8c[_0x5de1('0x39')][_0x5de1('0x40')](_0x5de1('0x41'))){_0x561060['limit']=qs['limit'](_0x5a1b8c[_0x5de1('0x39')][_0x5de1('0x20')]);_0x561060[_0x5de1('0x1f')]=qs[_0x5de1('0x1f')](_0x5a1b8c[_0x5de1('0x39')][_0x5de1('0x1f')]);}_0x561060[_0x5de1('0x42')]=qs[_0x5de1('0x43')](_0x5a1b8c[_0x5de1('0x39')]['sort']);_0x561060[_0x5de1('0x44')]=qs['filters'](_[_0x5de1('0x45')](_0x5a1b8c[_0x5de1('0x39')],_0x51c531['filters']),_0x288c9f);var _0x3a492c=[];var _0x54f15c=squel['select']()[_0x5de1('0x46')]('id')[_0x5de1('0x46')](_0x5de1('0x2b'))[_0x5de1('0x46')]('color')[_0x5de1('0x47')](_0x5de1('0x48'));var _0x210aad=squel[_0x5de1('0x49')]()['field'](_0x5de1('0x4a'))['field'](_0x5de1('0x4b'))[_0x5de1('0x46')]('ui.OpenchannelInteractionId')[_0x5de1('0x47')](_0x5de1('0x4c'),'ui')[_0x5de1('0x4d')]('users','u',_0x5de1('0x4e'));var _0x3abc2e=squel[_0x5de1('0x49')]()[_0x5de1('0x47')]('openchannel_interactions','i')[_0x5de1('0x4d')](_0x5de1('0x4f'),'c',_0x5de1('0x50'))[_0x5de1('0x4d')](_0x5de1('0x51'),'o',_0x5de1('0x52'))[_0x5de1('0x4d')](_0x5de1('0x53'),'a','a.id\x20=\x20i.OpenchannelAccountId')['left_join'](_0x5de1('0x54'),'me',_0x5de1('0x55'))['left_join']('openchannel_interaction_has_tags','it',_0x5de1('0x56'))[_0x5de1('0x4d')](_0x5de1('0x48'),'t',_0x5de1('0x57'));var _0x21a168=squel[_0x5de1('0x58')]();var _0xb0b892=[];var _0x5596f4=squel['expr']();var _0x70159;if(_0x5a1b8c[_0x5de1('0x39')][_0x5de1('0x59')]){_0x70159=as[_0x5de1('0x5a')](_0x5a1b8c[_0x5de1('0x39')]['search']);var _0x568fa5=_0x70159[_0x5de1('0x5b')];for(var _0xef26e0=0x0;_0xef26e0<_0x70159[_0x5de1('0x5c')][_0x5de1('0x3f')];_0xef26e0++){var _0x4cdc4c=_0x70159[_0x5de1('0x5c')][_0xef26e0];var _0x533fc9='i';var _0x4bec52=_['find'](_0x288c9f,['name',_0x4cdc4c['field']]);if(!_0x4bec52){switch(_0x4cdc4c[_0x5de1('0x46')]){case _0x5de1('0x5d'):if(_0x4cdc4c[_0x5de1('0x5e')]==0x1){_0x3abc2e[_0x5de1('0x5f')]('`'+_0x4cdc4c[_0x5de1('0x46')]+'`\x20=\x200');}else{_0x3abc2e[_0x5de1('0x5f')]('`'+_0x4cdc4c[_0x5de1('0x46')]+'`\x20>\x200');}break;case _0x5de1('0x60'):if(_0x4cdc4c['operator']===_0x5de1('0x61')){if(_0x4cdc4c['value']['split']('\x20')[_0x5de1('0x3f')]>0x1){_0x21a168[_0x568fa5](_0x5de1('0x62'),qs[_0x5de1('0x63')](_0x4cdc4c['value']),null);}else{var _0x2be604='%'+_0x4cdc4c[_0x5de1('0x5e')]+'%';_0x21a168[_0x568fa5]('c.firstName\x20LIKE\x20?\x20OR\x20c.lastName\x20LIKE\x20?\x20OR\x20c.email\x20LIKE\x20?',_0x2be604,_0x2be604,_0x2be604);}}else{_0x4bec52=_[_0x5de1('0x64')](_0x288c9f,[_0x5de1('0x2b'),_0x5de1('0x65')]);_0x4cdc4c[_0x5de1('0x46')]=_0x5de1('0x65');_0x2fe1a5=as[_0x5de1('0x66')](_0x533fc9,_0x4bec52['type'],_0x4cdc4c);_0x21a168[_0x568fa5](_0x2fe1a5[_0x5de1('0x67')],_0x2fe1a5[_0x5de1('0x5e')][_0x5de1('0x68')],_0x2fe1a5[_0x5de1('0x5e')][_0x5de1('0x69')]);}break;case _0x5de1('0x6a'):var _0x34c6be=_0x4cdc4c['value'][_0x5de1('0x31')](',')[_0x5de1('0x2d')](function(_0x95655){return Number(_0x95655);});_0x34c6be['forEach'](function(_0x2e79ac){_0x5596f4['or'](_0x5de1('0x6b'),'%,'+_0x2e79ac+',%');});_0xb0b892=_[_0x5de1('0x6c')](_0xb0b892,_0x34c6be);break;case _0x5de1('0x6d'):if(_0x4cdc4c['operator']==='$substring'){_0x21a168[_0x568fa5](_0x5de1('0x6e'),'%'+_0x4cdc4c[_0x5de1('0x5e')]+'%',null);}else{_0x4bec52=_[_0x5de1('0x64')](_0x288c9f,[_0x5de1('0x2b'),_0x5de1('0x6f')]);_0x4cdc4c[_0x5de1('0x46')]=_0x5de1('0x6f');_0x2fe1a5=as[_0x5de1('0x66')](_0x533fc9,_0x4bec52[_0x5de1('0x37')],_0x4cdc4c);_0x21a168[_0x568fa5](_0x2fe1a5['text'],_0x2fe1a5['value'][_0x5de1('0x68')],_0x2fe1a5[_0x5de1('0x5e')][_0x5de1('0x69')]);}break;case _0x5de1('0x70'):_0x2fe1a5=as[_0x5de1('0x66')]('me',null,_0x4cdc4c);_0x21a168[_0x568fa5](_0x2fe1a5[_0x5de1('0x67')],_0x2fe1a5['value']['start'],_0x2fe1a5[_0x5de1('0x5e')][_0x5de1('0x69')]);break;}}else{var _0x2fe1a5=as[_0x5de1('0x66')](_0x533fc9,_0x4bec52[_0x5de1('0x37')],_0x4cdc4c);_0x21a168[_0x568fa5](_0x2fe1a5[_0x5de1('0x67')],_0x2fe1a5[_0x5de1('0x5e')][_0x5de1('0x68')],_0x2fe1a5[_0x5de1('0x5e')]['end']);}}}else{var _0x3674e3=_(_0x5a1b8c[_0x5de1('0x39')])[_0x5de1('0x3a')]()[_0x5de1('0x2d')](function(_0x3f9974){return _[_0x5de1('0x71')](_0x288c9f,['name',_0x3f9974])?_0x3f9974:undefined;})[_0x5de1('0x72')]()[_0x5de1('0x5e')]();if(!_['isEmpty'](_0x3674e3)){_0x3674e3[_0x5de1('0x73')](function(_0x4a9c7b){if(_0x4a9c7b==='OpenchannelAccountId'){_0x3abc2e['where'](_0x5de1('0x74'),[][_0x5de1('0x75')](_0x5a1b8c[_0x5de1('0x39')][_0x4a9c7b]));}else if(_0x4a9c7b===_0x5de1('0x76')){var _0x556360=JSON[_0x5de1('0x77')](_0x5a1b8c['query'][_0x4a9c7b])['$gte'];var _0x2e45f3=JSON[_0x5de1('0x77')](_0x5a1b8c[_0x5de1('0x39')][_0x4a9c7b])['$lte'];_0x3abc2e[_0x5de1('0x44')]('i.createdAt\x20BETWEEN\x20?\x20AND\x20?',_0x556360,_0x2e45f3);}else{if(_0x5a1b8c['query'][_0x4a9c7b]===_0x5de1('0x78')){_0x3abc2e[_0x5de1('0x44')]('i.'+_0x4a9c7b+_0x5de1('0x79'));}else{_0x3abc2e[_0x5de1('0x44')]('i.'+_0x4a9c7b+_0x5de1('0x7a'),_0x5a1b8c[_0x5de1('0x39')][_0x4a9c7b]);}}});}if(_0x5a1b8c[_0x5de1('0x39')]['read']){if(_0x5a1b8c[_0x5de1('0x39')][_0x5de1('0x7b')]==0x1){_0x3abc2e[_0x5de1('0x5f')](_0x5de1('0x7c'));}else{_0x3abc2e['having']('`unreadMessages`\x20>\x200');}}if(_0x5a1b8c['query']['tag']){_0xb0b892=_[_0x5de1('0x7d')](_0x5a1b8c[_0x5de1('0x39')][_0x5de1('0x7e')])?_0x5a1b8c[_0x5de1('0x39')][_0x5de1('0x7e')]:new Array(_0x5a1b8c['query'][_0x5de1('0x7e')]);_0xb0b892['forEach'](function(_0x5202fa){_0x5596f4['or'](_0x5de1('0x6b'),'%,'+_0x5202fa+',%');});}if(_0x5a1b8c[_0x5de1('0x39')][_0x5de1('0x7f')]){var _0x3ae0ad=_0x5a1b8c['query']['filter'][_0x5de1('0x80')]('\x5c','\x5c\x5c')[_0x5de1('0x80')]('\x27\x27',_0x5de1('0x81'));if(qs[_0x5de1('0x82')](_0x3ae0ad)){_0x21a168['or']('i.id\x20LIKE\x20?',_0x3ae0ad+'%');}else{_0x21a168['or'](_0x5de1('0x83'),qs['getFullTextValue'](_0x3ae0ad))['or'](_0x5de1('0x84'),_0x3ae0ad+'%')['or']('CONCAT(c.firstName,\x20\x27\x20\x27,\x20c.lastName)\x20LIKE\x20?',_0x3ae0ad+'%');}}}_0x3abc2e[_0x5de1('0x44')](_0x21a168);_0x3abc2e[_0x5de1('0x85')]('i.id');var _0x3fe253={'type':db['Sequelize'][_0x5de1('0x86')][_0x5de1('0x87')],'raw':!![]};var _0xb709c2=_0x3abc2e['clone']();_0xb709c2[_0x5de1('0x46')](_0x5de1('0x88'));_0xb709c2[_0x5de1('0x46')](_0x5de1('0x89'),_0x5de1('0x5d'));if(_0x561060[_0x5de1('0x42')]){_0x561060[_0x5de1('0x42')]['forEach'](function(_0x35d873){_0x3abc2e[_0x5de1('0x42')]('i.'+_0x35d873[0x0],_0x35d873[0x1]===_0x5de1('0x8a')?![]:!![]);});}if(!_[_0x5de1('0x8b')](_0xb0b892)){_0x3abc2e['having'](_0x5596f4);_0xb709c2[_0x5de1('0x44')]('t.id\x20IN\x20?',_0xb0b892);}BPromise['resolve']()['then'](function(){if(!_0x70159){if(_0x5a1b8c['query'][_0x5de1('0x8c')]||_0x5a1b8c[_0x5de1('0x39')][_0x5de1('0x8d')])return;_0xb709c2[_0x5de1('0x44')](_0x5de1('0x8e'));_0x3abc2e[_0x5de1('0x44')](_0x5de1('0x8e'));return;}return _0x5a1b8c[_0x5de1('0x8f')][_0x5de1('0x90')]({'attributes':['id'],'raw':!![]})[_0x5de1('0x27')](function(_0x34f744){if(_[_0x5de1('0x8b')](_0x34f744)){_0xb709c2[_0x5de1('0x44')](_0x5de1('0x91'));_0x3abc2e[_0x5de1('0x44')](_0x5de1('0x91'));}else{_0xb709c2[_0x5de1('0x44')](_0x5de1('0x74'),_[_0x5de1('0x2d')](_0x34f744,'id'));_0x3abc2e[_0x5de1('0x44')]('i.OpenchannelAccountId\x20IN\x20?',_[_0x5de1('0x2d')](_0x34f744,'id'));}});})[_0x5de1('0x27')](function(){db[_0x5de1('0x92')]['query'](_0xb709c2[_0x5de1('0x93')](),_0x3fe253)[_0x5de1('0x27')](function(_0x48ba5e){_0x9d6c7[_0x5de1('0x1e')]=_0x48ba5e[_0x5de1('0x3f')];if(_0x9d6c7['count']===0x0)return[];return db[_0x5de1('0x92')][_0x5de1('0x39')](_0x54f15c['toString'](),_0x3fe253)[_0x5de1('0x27')](function(_0x351747){_0x3a492c=_['keyBy'](_0x351747,'id');_0x3fe253=_['merge'](_0x3fe253,{'model':db[_0x5de1('0x34')],'mapToModel':!![],'raw':!![],'nest':!![]});if(_0x5a1b8c[_0x5de1('0x39')][_0x5de1('0x3e')]){_0x561060[_0x5de1('0x3c')][_0x5de1('0x73')](function(_0x154700){_0x3abc2e[_0x5de1('0x46')]('i.'+_0x154700);});}else{_0x3abc2e['field'](_0x5de1('0x89'),_0x5de1('0x5d'));_0x3abc2e[_0x5de1('0x46')]('a.key',_0x5de1('0x94'));_0x3abc2e['field']('a.mandatoryDisposition',_0x5de1('0x95'));_0x3abc2e[_0x5de1('0x46')](_0x5de1('0x96'));_0x3abc2e[_0x5de1('0x46')](_0x5de1('0x97'),_0x5de1('0x98'));_0x3abc2e[_0x5de1('0x46')](_0x5de1('0x99'),_0x5de1('0x9a'));_0x3abc2e[_0x5de1('0x46')](_0x5de1('0x9b'),_0x5de1('0x9c'));_0x3abc2e[_0x5de1('0x46')](_0x5de1('0x9d'),_0x5de1('0x9e'));_0x3abc2e[_0x5de1('0x46')](_0x5de1('0x9f'),_0x5de1('0xa0'));_0x3abc2e[_0x5de1('0x46')](_0x5de1('0xa1'),'Contact.fax');_0x3abc2e[_0x5de1('0x46')](_0x5de1('0xa2'),_0x5de1('0xa3'));_0x3abc2e[_0x5de1('0x46')]('o.internal',_0x5de1('0xa4'));_0x3abc2e[_0x5de1('0x46')](_0x5de1('0xa5'),_0x5de1('0x2f'));}if(_0x561060[_0x5de1('0x20')])_0x3abc2e[_0x5de1('0x20')](_0x561060[_0x5de1('0x20')]);if(_0x561060[_0x5de1('0x1f')])_0x3abc2e[_0x5de1('0x1f')](_0x561060[_0x5de1('0x1f')]);return db['sequelize'][_0x5de1('0x39')](_0x3abc2e['toString'](),_0x3fe253);})[_0x5de1('0x27')](function(_0x58ec32){_0x210aad['where'](_0x5de1('0xa6'),_[_0x5de1('0x2d')](_0x58ec32,'id'));return db['sequelize'][_0x5de1('0x39')](_0x210aad['toString'](),_0x3fe253)['then'](function(_0x8bd7fe){var _0x170696=_[_0x5de1('0xa7')](_0x8bd7fe,'OpenchannelInteractionId');var _0x4cb630=[];_0x58ec32[_0x5de1('0x73')](function(_0x21df6b){_0x4cb630[_0x5de1('0xa8')](updateOpenchannelInteraction(_0x21df6b,_0x3a492c,_0x170696));});return BPromise[_0x5de1('0xa9')](_0x4cb630);});});})[_0x5de1('0x27')](function(_0x3192eb){_0x9d6c7['rows']=_0x3192eb;return _0x9d6c7;})[_0x5de1('0x27')](respondWithFilteredResult(_0x7b3a2a,_0x561060));})[_0x5de1('0x32')](handleError(_0x7b3a2a,null));};exports['show']=function(_0x54d112,_0x5bb88d){var _0x372932={'raw':![],'where':{'id':_0x54d112[_0x5de1('0xaa')]['id']}},_0x49e65a={};_0x49e65a[_0x5de1('0x3d')]=_['keys'](db[_0x5de1('0x34')][_0x5de1('0x35')]);_0x49e65a[_0x5de1('0x39')]=_['keys'](_0x54d112[_0x5de1('0x39')]);_0x49e65a['filters']=_[_0x5de1('0xab')](_0x49e65a[_0x5de1('0x3d')],_0x49e65a[_0x5de1('0x39')]);_0x372932[_0x5de1('0x3c')]=_[_0x5de1('0xab')](_0x49e65a[_0x5de1('0x3d')],qs[_0x5de1('0x3e')](_0x54d112['query'][_0x5de1('0x3e')]));_0x372932[_0x5de1('0x3c')]=_0x372932[_0x5de1('0x3c')]['length']?_0x372932[_0x5de1('0x3c')]:_0x49e65a[_0x5de1('0x3d')];if(_0x54d112[_0x5de1('0x39')][_0x5de1('0xac')]){_0x372932['include']=[{'all':!![]}];}_0x372932=_[_0x5de1('0xad')]({},_0x372932,_0x54d112['options']);return db['OpenchannelInteraction'][_0x5de1('0x64')](_0x372932)[_0x5de1('0x27')](handleEntityNotFound(_0x5bb88d,null))['then'](respondWithResult(_0x5bb88d,null))[_0x5de1('0x32')](handleError(_0x5bb88d,null));};exports[_0x5de1('0xae')]=function(_0x403bda,_0x4a24c6){return db['OpenchannelInteraction'][_0x5de1('0xae')](_0x403bda['body'],{})[_0x5de1('0x27')](respondWithResult(_0x4a24c6,0xc9))[_0x5de1('0x32')](handleError(_0x4a24c6,null));};exports[_0x5de1('0x26')]=function(_0x5e628c,_0x196406){if(_0x5e628c[_0x5de1('0x70')]['id']){delete _0x5e628c['body']['id'];}return db[_0x5de1('0x34')][_0x5de1('0x64')]({'where':{'id':_0x5e628c[_0x5de1('0xaa')]['id']}})[_0x5de1('0x27')](handleEntityNotFound(_0x196406,null))[_0x5de1('0x27')](saveUpdates(_0x5e628c['body'],null))['then'](respondWithResult(_0x196406,null))[_0x5de1('0x32')](handleError(_0x196406,null));};exports[_0x5de1('0x28')]=function(_0x417c29,_0x3de5c5){return db['OpenchannelInteraction'][_0x5de1('0x64')]({'where':{'id':_0x417c29['params']['id']}})[_0x5de1('0x27')](handleEntityNotFound(_0x3de5c5,null))[_0x5de1('0x27')](removeEntity(_0x3de5c5,null))[_0x5de1('0x32')](handleError(_0x3de5c5,null));};exports[_0x5de1('0xaf')]=function(_0x24d6e9,_0x18e5dc){return db[_0x5de1('0x34')][_0x5de1('0xaf')]()[_0x5de1('0x27')](respondWithResult(_0x18e5dc,null))[_0x5de1('0x32')](handleError(_0x18e5dc,null));};exports[_0x5de1('0xb0')]=function(_0x333026,_0x3909a5,_0x142e3a){return db[_0x5de1('0xb1')]['find']({'where':{'id':_0x333026[_0x5de1('0xaa')]['id']}})['then'](handleEntityNotFound(_0x3909a5,null))[_0x5de1('0x27')](function(_0x25544b){if(_0x25544b){return _0x25544b[_0x5de1('0xb0')](_0x333026[_0x5de1('0x70')][_0x5de1('0xb2')],_['omit'](_0x333026['body'],[_0x5de1('0xb2'),'id'])||{});}})[_0x5de1('0x27')](respondWithResult(_0x3909a5,null))[_0x5de1('0x32')](handleError(_0x3909a5,null));};exports[_0x5de1('0xb3')]=function(_0x4af9ef,_0x445e7f,_0x43e056){var _0x1c08e0={'raw':![],'where':{}};var _0x4d9668={};var _0x5240f9={'count':0x0,'rows':[]};return db[_0x5de1('0x34')][_0x5de1('0xb4')]({'where':{'id':_0x4af9ef['params']['id']}})[_0x5de1('0x27')](handleEntityNotFound(_0x445e7f,null))['then'](function(_0x3867c1){if(_0x3867c1){_0x4d9668['model']=_[_0x5de1('0x3a')](db[_0x5de1('0xb1')][_0x5de1('0x35')]);_0x4d9668[_0x5de1('0x39')]=_[_0x5de1('0x3a')](_0x4af9ef[_0x5de1('0x39')]);_0x4d9668['filters']=_['intersection'](_0x4d9668[_0x5de1('0x3d')],_0x4d9668[_0x5de1('0x39')]);_0x1c08e0['attributes']=_['intersection'](_0x4d9668['model'],qs[_0x5de1('0x3e')](_0x4af9ef[_0x5de1('0x39')][_0x5de1('0x3e')]));_0x1c08e0['attributes']=_0x1c08e0[_0x5de1('0x3c')]['length']?_0x1c08e0[_0x5de1('0x3c')]:_0x4d9668['model'];if(!_0x4af9ef['query'][_0x5de1('0x40')]('nolimit')){_0x1c08e0[_0x5de1('0x20')]=qs[_0x5de1('0x20')](_0x4af9ef[_0x5de1('0x39')][_0x5de1('0x20')]);_0x1c08e0[_0x5de1('0x1f')]=qs[_0x5de1('0x1f')](_0x4af9ef[_0x5de1('0x39')][_0x5de1('0x1f')]);}_0x1c08e0[_0x5de1('0x42')]=qs[_0x5de1('0x43')](_0x4af9ef[_0x5de1('0x39')]['sort']);_0x1c08e0[_0x5de1('0x44')]=qs['filters'](_[_0x5de1('0x45')](_0x4af9ef['query'],_0x4d9668[_0x5de1('0x3b')]));_0x1c08e0['where']['OpenchannelInteractionId']=_0x3867c1['id'];if(_0x4af9ef[_0x5de1('0x39')][_0x5de1('0x7f')]){_0x1c08e0['where']=_[_0x5de1('0xad')](_0x1c08e0[_0x5de1('0x44')],{'$or':_['map'](_0x1c08e0[_0x5de1('0x3c')],function(_0x1807db){var _0x441067={};_0x441067[_0x1807db]={'$like':'%'+_0x4af9ef[_0x5de1('0x39')][_0x5de1('0x7f')]+'%'};return _0x441067;})});}if(_0x4af9ef[_0x5de1('0x39')][_0x5de1('0xb5')]){var _0x575a1a=_0x4af9ef['query'][_0x5de1('0xb5')][_0x5de1('0x31')](',');var _0x2be6b1={};_0x2be6b1[_0x575a1a[0x0]]={'$gte':moment(_0x575a1a[0x1])[_0x5de1('0xb6')]('YYYY-MM-DD\x20HH:mm:ss')};_0x1c08e0[_0x5de1('0x44')]=_[_0x5de1('0xad')](_0x1c08e0[_0x5de1('0x44')],_0x2be6b1);}_0x1c08e0=_[_0x5de1('0xad')]({},_0x1c08e0,_0x4af9ef[_0x5de1('0xb7')]);return db['OpenchannelMessage'][_0x5de1('0x1e')]({'where':_0x1c08e0[_0x5de1('0x44')]})[_0x5de1('0x27')](function(_0x434791){_0x5240f9[_0x5de1('0x1e')]=_0x434791;if(_0x4af9ef[_0x5de1('0x39')][_0x5de1('0xac')]){_0x1c08e0[_0x5de1('0xb8')]=[{'all':!![]}];}return db[_0x5de1('0xb1')][_0x5de1('0xb9')](_0x1c08e0);})[_0x5de1('0x27')](function(_0x539aa3){_0x5240f9[_0x5de1('0xba')]=_0x539aa3;return _0x5240f9;});}})['then'](respondWithFilteredResult(_0x445e7f,_0x1c08e0))['catch'](handleError(_0x445e7f,null));};exports['addTags']=function(_0x450cc6,_0x4e67b6,_0x1a8509){return db[_0x5de1('0x34')][_0x5de1('0x64')]({'where':{'id':_0x450cc6[_0x5de1('0xaa')]['id']}})['then'](handleEntityNotFound(_0x4e67b6,null))[_0x5de1('0x27')](function(_0x2bf852){if(_0x2bf852){return _0x2bf852['setTags'](_0x450cc6[_0x5de1('0x70')]['ids'],_['omit'](_0x450cc6[_0x5de1('0x70')],[_0x5de1('0xb2'),'id'])||{})[_0x5de1('0xbb')](function(){return db[_0x5de1('0x6a')]['findAll']({'attributes':['id',_0x5de1('0x2b'),_0x5de1('0xbc')],'where':{'id':_0x450cc6[_0x5de1('0x70')][_0x5de1('0xb2')]}});})['then'](function(_0x493e1b){socket[_0x5de1('0xbd')](_0x5de1('0xbe'),{'id':Number(_0x450cc6[_0x5de1('0xaa')]['id']),'tags':_0x493e1b||[]});return{'id':Number(_0x450cc6[_0x5de1('0xaa')]['id']),'tags':_0x493e1b||[]};});}})['then'](respondWithResult(_0x4e67b6,null))[_0x5de1('0x32')](handleError(_0x4e67b6,null));};exports[_0x5de1('0xbf')]=function(_0x58eca2,_0x3213b6,_0x543549){return db[_0x5de1('0x34')]['find']({'where':{'id':_0x58eca2['params']['id']}})[_0x5de1('0x27')](handleEntityNotFound(_0x3213b6,null))['then'](function(_0x4ba561){if(_0x4ba561){return _0x4ba561[_0x5de1('0xbf')](_0x58eca2[_0x5de1('0x39')][_0x5de1('0xb2')]);}})[_0x5de1('0x27')](respondWithStatusCode(_0x3213b6,null))['catch'](handleError(_0x3213b6,null));};exports[_0x5de1('0xc0')]=function(_0x22c996,_0x135a7f){var _0x4304ac=moment()[_0x5de1('0xc1')]()['toString']();var _0x19dffe=path['join'](config[_0x5de1('0xc2')],_0x5de1('0xc3'),_0x5de1('0xc4'),_0x5de1('0xc5'));var _0x2b16ae=path[_0x5de1('0xc6')](config['root'],_0x5de1('0xc3'),_0x5de1('0xc4'),'attachments');var _0x3d1bb0=path['join'](_0x19dffe,_0x4304ac);var _0x1820d4=util[_0x5de1('0xb6')](_0x5de1('0xc7'),_0x22c996[_0x5de1('0xaa')]['id'],_0x4304ac);var _0x43ee5e=path[_0x5de1('0xc6')](_0x19dffe,_0x1820d4);var _0x5b2d83=[];_0x5b2d83['push']({'model':db[_0x5de1('0x6d')],'as':_0x5de1('0x6d'),'attributes':['id','fullname'],'raw':!![]});_0x5b2d83[_0x5de1('0xa8')]({'model':db[_0x5de1('0xc8')],'as':_0x5de1('0x60'),'attributes':['id',_0x5de1('0xc9'),'lastName'],'raw':!![]});if(_0x22c996[_0x5de1('0x39')][_0x5de1('0xca')]){_0x5b2d83[_0x5de1('0xa8')]({'model':db[_0x5de1('0xcb')],'as':'Attachment','raw':!![]});}var _0x4776ac=[{'model':db['OpenchannelMessage'],'as':'Messages','attributes':['id',_0x5de1('0x70'),_0x5de1('0x76'),_0x5de1('0xcc'),'secret',_0x5de1('0x7b')],'include':_0x5b2d83}];_0x4776ac[_0x5de1('0xa8')]({'model':db[_0x5de1('0xcd')],'as':'Account','attributes':['id',_0x5de1('0x2b')]});_0x4776ac[_0x5de1('0xa8')]({'model':db[_0x5de1('0x6d')],'as':_0x5de1('0xce'),'attributes':['id','fullname']});return db['OpenchannelInteraction'][_0x5de1('0x64')]({'where':{'id':_0x22c996[_0x5de1('0xaa')]['id']},'include':_0x4776ac})[_0x5de1('0x27')](handleEntityNotFound(_0x135a7f,null))[_0x5de1('0x27')](function(_0x10f01e){if(_0x10f01e){var _0x45d74a=_0x10f01e[_0x5de1('0xcf')]({'plain':!![]});fs['mkdirSync'](_0x3d1bb0);var _0x28d339={'format':'A4','border':_0x5de1('0xd0'),'header':{'height':_0x5de1('0xd1'),'contents':{'first':_0x5de1('0xd2')}},'footer':{'height':_0x5de1('0xd3'),'contents':{'default':util[_0x5de1('0xb6')]('\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20%s\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{page}}/{{pages}}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20%s\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20',util[_0x5de1('0xb6')]('%s\x20#%d',_0x5de1('0xd4'),_0x45d74a['id']),moment()['format']('YYYY-MM-DD')[_0x5de1('0x93')]())}}};var _0x56ea44={'channel':_0x5de1('0xd4'),'account':_0x45d74a[_0x5de1('0xd5')][_0x5de1('0x2b')],'agent':_0x45d74a[_0x5de1('0xce')]?_0x45d74a['Owner']['fullname']:'N.A.','createdAt':moment(_0x45d74a[_0x5de1('0x76')])[_0x5de1('0xb6')](_0x5de1('0xd6'))['toString'](),'closedAt':_0x45d74a[_0x5de1('0xd7')]?moment(_0x45d74a[_0x5de1('0xd8')])[_0x5de1('0xb6')](_0x5de1('0xd6'))[_0x5de1('0x93')]():'','disposition':_0x45d74a['disposition'],'visibility':_0x45d74a[_0x5de1('0xd9')]?_0x5de1('0xda'):'Private','messages':_(_0x45d74a[_0x5de1('0xdb')])[_0x5de1('0x7f')]({'secret':![]})[_0x5de1('0x2d')](function(_0xc68e66){if(_0xc68e66[_0x5de1('0xcb')]){var _0x56e65d=path[_0x5de1('0xc6')](_0x2b16ae,_0xc68e66[_0x5de1('0xcb')][_0x5de1('0xdc')]);if(fs[_0x5de1('0xdd')](_0x56e65d)){fs[_0x5de1('0xde')](_0x56e65d)['pipe'](fs[_0x5de1('0xdf')](path[_0x5de1('0xc6')](_0x3d1bb0,_0xc68e66[_0x5de1('0xcb')][_0x5de1('0xdc')])));}}return{'date':moment(_0xc68e66[_0x5de1('0x76')])['format'](_0x5de1('0xd6'))[_0x5de1('0x93')](),'sender':_0xc68e66[_0x5de1('0xcc')]==='out'?_0xc68e66[_0x5de1('0x6d')]?_0xc68e66['User']['fullname']:_0x5de1('0xe0'):_0xc68e66[_0x5de1('0x60')][_0x5de1('0xc9')]+(_0xc68e66[_0x5de1('0x60')][_0x5de1('0xe1')]?'\x20'+_0xc68e66[_0x5de1('0x60')][_0x5de1('0xe1')]:''),'body':_0xc68e66[_0x5de1('0xcb')]?_0xc68e66[_0x5de1('0xcb')][_0x5de1('0xdc')]:_0xc68e66[_0x5de1('0x70')],'direction':_0xc68e66['direction']===_0x5de1('0xe2')?'A':'C','secret':_0xc68e66['secret'],'read':_0xc68e66[_0x5de1('0x7b')],'attachment':_0xc68e66[_0x5de1('0xcb')]};})[_0x5de1('0x5e')]()};return ejs[_0x5de1('0xe3')](path['join'](config[_0x5de1('0xc2')],_0x5de1('0xc3'),_0x5de1('0xe4'),_0x5de1('0xe5')),{'interaction':_0x56ea44})[_0x5de1('0x27')](function(_0x1f1408){return new BPromise(function(_0x260e56,_0x4a6c6c){pdf[_0x5de1('0xae')](_0x1f1408,_0x28d339)[_0x5de1('0xe6')](path[_0x5de1('0xc6')](_0x3d1bb0,_0x5de1('0xe7')+_0x45d74a['id']+'-'+_0x4304ac+_0x5de1('0xe8')),function(_0x178cdb,_0x23aa88){if(_0x178cdb)return _0x4a6c6c(_0x178cdb);_0x260e56(_0x23aa88);});});})['then'](function(){return new BPromise(function(_0x53146e,_0x5cc3eb){zipdir(_0x3d1bb0,{'saveTo':_0x43ee5e},function(_0x5c194f,_0x4fe81b){if(_0x5c194f)return _0x5cc3eb(_0x5c194f);return _0x53146e(_0x4fe81b);});})[_0x5de1('0x27')](function(){return new BPromise(function(_0x5df9b9,_0x332dfa){rimraf(_0x3d1bb0,function(_0x1aded2){if(_0x1aded2)_0x332dfa(_0x1aded2);return _0x5df9b9();});});})[_0x5de1('0x27')](function(){return _0x135a7f[_0x5de1('0xc0')](_0x43ee5e,_0x1820d4,function(_0x23124e){if(_0x23124e){console[_0x5de1('0xe9')]('err',_0x23124e);}else{fs[_0x5de1('0xea')](_0x43ee5e);}});});});}else{return _0x135a7f['sendStatus'](0xc8);}})[_0x5de1('0x32')](handleError(_0x135a7f,null));}; \ No newline at end of file diff --git a/server/api/openchannelInteraction/openchannelInteraction.events.js b/server/api/openchannelInteraction/openchannelInteraction.events.js index d5f82c2..e0c4162 100644 --- a/server/api/openchannelInteraction/openchannelInteraction.events.js +++ b/server/api/openchannelInteraction/openchannelInteraction.events.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xaa34=['catch','hasOwnProperty','hook','exports','events','OpenchannelInteraction','../../mysqldb','save','update','setDataValue','then','unreadMessages','length'];(function(_0x24f990,_0x2356fc){var _0x4e605e=function(_0x2bbe2f){while(--_0x2bbe2f){_0x24f990['push'](_0x24f990['shift']());}};_0x4e605e(++_0x2356fc);}(_0xaa34,0x163));var _0x4aa3=function(_0x27f0ab,_0x3c9c70){_0x27f0ab=_0x27f0ab-0x0;var _0x1b4583=_0xaa34[_0x27f0ab];return _0x1b4583;};'use strict';var EventEmitter=require(_0x4aa3('0x0'));var OpenchannelInteraction=require('../../mysqldb')['db'][_0x4aa3('0x1')];var OpenchannelMessage=require(_0x4aa3('0x2'))['db']['OpenchannelMessage'];var OpenchannelInteractionEvents=new EventEmitter();OpenchannelInteractionEvents['setMaxListeners'](0x0);var events={'afterCreate':_0x4aa3('0x3'),'afterUpdate':_0x4aa3('0x4'),'afterDestroy':'remove'};function emitEvent(_0x59cfed){return function(_0x168303,_0x1d53e9,_0x5d0f28){_0x168303['getUsers']({'attributes':['id'],'raw':!![]})['then'](function(_0x48fdde){_0x168303[_0x4aa3('0x5')]('Users',_0x48fdde['map'](function(_0x2e757c){return{'id':_0x2e757c['id']};}));return OpenchannelMessage['findAll']({'where':{'OpenchannelInteractionId':_0x168303['id'],'direction':'in','read':![]},'raw':!![]});})[_0x4aa3('0x6')](function(_0x72084e){_0x168303[_0x4aa3('0x5')](_0x4aa3('0x7'),_0x72084e[_0x4aa3('0x8')]);OpenchannelInteractionEvents['emit'](_0x59cfed+':'+_0x168303['id'],_0x168303);OpenchannelInteractionEvents['emit'](_0x59cfed,_0x168303);_0x5d0f28(null);})[_0x4aa3('0x9')](_0x5d0f28(null));};}for(var e in events){if(events[_0x4aa3('0xa')](e)){var event=events[e];OpenchannelInteraction[_0x4aa3('0xb')](e,emitEvent(event));}}module[_0x4aa3('0xc')]=OpenchannelInteractionEvents; \ No newline at end of file +var _0xd060=['events','../../mysqldb','OpenchannelInteraction','setMaxListeners','save','remove','then','setDataValue','Users','map','unreadMessages','length','emit','catch','hook','exports'];(function(_0x41689a,_0x483ee4){var _0x3633d4=function(_0x5e63c1){while(--_0x5e63c1){_0x41689a['push'](_0x41689a['shift']());}};_0x3633d4(++_0x483ee4);}(_0xd060,0x1e0));var _0x0d06=function(_0x45cefa,_0x22bb75){_0x45cefa=_0x45cefa-0x0;var _0x1e6939=_0xd060[_0x45cefa];return _0x1e6939;};'use strict';var EventEmitter=require(_0x0d06('0x0'));var OpenchannelInteraction=require(_0x0d06('0x1'))['db'][_0x0d06('0x2')];var OpenchannelMessage=require('../../mysqldb')['db']['OpenchannelMessage'];var OpenchannelInteractionEvents=new EventEmitter();OpenchannelInteractionEvents[_0x0d06('0x3')](0x0);var events={'afterCreate':_0x0d06('0x4'),'afterUpdate':'update','afterDestroy':_0x0d06('0x5')};function emitEvent(_0x664646){return function(_0x3a38ae,_0x286a28,_0xb75cdd){_0x3a38ae['getUsers']({'attributes':['id'],'raw':!![]})[_0x0d06('0x6')](function(_0x13b935){_0x3a38ae[_0x0d06('0x7')](_0x0d06('0x8'),_0x13b935[_0x0d06('0x9')](function(_0x2ae78e){return{'id':_0x2ae78e['id']};}));return OpenchannelMessage['findAll']({'where':{'OpenchannelInteractionId':_0x3a38ae['id'],'direction':'in','read':![]},'raw':!![]});})[_0x0d06('0x6')](function(_0x5958e1){_0x3a38ae[_0x0d06('0x7')](_0x0d06('0xa'),_0x5958e1[_0x0d06('0xb')]);OpenchannelInteractionEvents[_0x0d06('0xc')](_0x664646+':'+_0x3a38ae['id'],_0x3a38ae);OpenchannelInteractionEvents['emit'](_0x664646,_0x3a38ae);_0xb75cdd(null);})[_0x0d06('0xd')](_0xb75cdd(null));};}for(var e in events){if(events['hasOwnProperty'](e)){var event=events[e];OpenchannelInteraction[_0x0d06('0xe')](e,emitEvent(event));}}module[_0x0d06('0xf')]=OpenchannelInteractionEvents; \ No newline at end of file diff --git a/server/api/openchannelInteraction/openchannelInteraction.model.js b/server/api/openchannelInteraction/openchannelInteraction.model.js index 2d3a087..d3da610 100644 --- a/server/api/openchannelInteraction/openchannelInteraction.model.js +++ b/server/api/openchannelInteraction/openchannelInteraction.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xfc46=['rimraf','../../config/environment','exports','define','OpenchannelInteraction','openchannel_interactions','changed','closed','format','YYYY-MM-DD\x20HH:mm:ss','lodash','../../config/logger','api','moment','request-promise','path'];(function(_0x24e364,_0x22c22c){var _0x3921b0=function(_0x4f15d9){while(--_0x4f15d9){_0x24e364['push'](_0x24e364['shift']());}};_0x3921b0(++_0x22c22c);}(_0xfc46,0x9a));var _0x6fc4=function(_0x4cefc3,_0x23f291){_0x4cefc3=_0x4cefc3-0x0;var _0x1cc779=_0xfc46[_0x4cefc3];return _0x1cc779;};'use strict';var _=require(_0x6fc4('0x0'));var util=require('util');var logger=require(_0x6fc4('0x1'))(_0x6fc4('0x2'));var moment=require(_0x6fc4('0x3'));var BPromise=require('bluebird');var rp=require(_0x6fc4('0x4'));var fs=require('fs');var path=require(_0x6fc4('0x5'));var rimraf=require(_0x6fc4('0x6'));var config=require(_0x6fc4('0x7'));var attributes=require('./openchannelInteraction.attributes');module[_0x6fc4('0x8')]=function(_0xf57aa9,_0x3100a0){return _0xf57aa9[_0x6fc4('0x9')](_0x6fc4('0xa'),attributes,{'tableName':_0x6fc4('0xb'),'paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'beforeUpdate':function(_0x56cee3,_0x1fcd95,_0x52851a){if(_0x56cee3[_0x6fc4('0xc')](_0x6fc4('0xd'))){_0x56cee3['closedAt']=moment()[_0x6fc4('0xe')](_0x6fc4('0xf'));}_0x52851a(null,_0x56cee3);}}});}; \ No newline at end of file +var _0x2bd8=['bluebird','request-promise','path','rimraf','./openchannelInteraction.attributes','exports','define','OpenchannelInteraction','openchannel_interactions','format','lodash','../../config/logger','api','moment'];(function(_0x5967c0,_0x452377){var _0x2ad249=function(_0x7eb26){while(--_0x7eb26){_0x5967c0['push'](_0x5967c0['shift']());}};_0x2ad249(++_0x452377);}(_0x2bd8,0x130));var _0x82bd=function(_0x49aa3a,_0x1ba5f9){_0x49aa3a=_0x49aa3a-0x0;var _0x4a6e67=_0x2bd8[_0x49aa3a];return _0x4a6e67;};'use strict';var _=require(_0x82bd('0x0'));var util=require('util');var logger=require(_0x82bd('0x1'))(_0x82bd('0x2'));var moment=require(_0x82bd('0x3'));var BPromise=require(_0x82bd('0x4'));var rp=require(_0x82bd('0x5'));var fs=require('fs');var path=require(_0x82bd('0x6'));var rimraf=require(_0x82bd('0x7'));var config=require('../../config/environment');var attributes=require(_0x82bd('0x8'));module[_0x82bd('0x9')]=function(_0x3bf810,_0x5ceb60){return _0x3bf810[_0x82bd('0xa')](_0x82bd('0xb'),attributes,{'tableName':_0x82bd('0xc'),'paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'beforeUpdate':function(_0x1f7463,_0x4dc3a6,_0x1666cf){if(_0x1f7463['changed']('closed')){_0x1f7463['closedAt']=moment()[_0x82bd('0xd')]('YYYY-MM-DD\x20HH:mm:ss');}_0x1666cf(null,_0x1f7463);}}});}; \ No newline at end of file diff --git a/server/api/openchannelInteraction/openchannelInteraction.rpc.js b/server/api/openchannelInteraction/openchannelInteraction.rpc.js index 0413154..d4dae7f 100644 --- a/server/api/openchannelInteraction/openchannelInteraction.rpc.js +++ b/server/api/openchannelInteraction/openchannelInteraction.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x4f0f=['where','limit','then','UpdateOpenchannelInteraction','AddTagsToOpenchannelInteraction','find','addTags','ids','spread','AddTags','lodash','util','randomstring','ioredis','../../config/utils','rpc','../../config/environment','jayson/promise','client','http','redis','localhost','socket.io-emitter','./openchannelInteraction.socket','register','request','info','OpenchannelInteraction,\x20%s,\x20%s','request\x20sent','debug','OpenchannelInteraction,\x20%s,\x20%s,\x20%s','stringify','error','code','message','result','catch','OpenchannelInteraction','update','body','options','raw'];(function(_0xabbd2f,_0x44d05a){var _0x34a040=function(_0x3736d9){while(--_0x3736d9){_0xabbd2f['push'](_0xabbd2f['shift']());}};_0x34a040(++_0x44d05a);}(_0x4f0f,0x130));var _0xf4f0=function(_0x18be7b,_0x5dda68){_0x18be7b=_0x18be7b-0x0;var _0x4ae9ce=_0x4f0f[_0x18be7b];return _0x4ae9ce;};'use strict';var _=require(_0xf4f0('0x0'));var util=require(_0xf4f0('0x1'));var moment=require('moment');var BPromise=require('bluebird');var rs=require(_0xf4f0('0x2'));var fs=require('fs');var Redis=require(_0xf4f0('0x3'));var db=require('../../mysqldb')['db'];var utils=require(_0xf4f0('0x4'));var logger=require('../../config/logger')(_0xf4f0('0x5'));var config=require(_0xf4f0('0x6'));var jayson=require(_0xf4f0('0x7'));var client=jayson[_0xf4f0('0x8')][_0xf4f0('0x9')]({'port':0x232a});config[_0xf4f0('0xa')]=_['defaults'](config[_0xf4f0('0xa')],{'host':_0xf4f0('0xb'),'port':0x18eb});var socket=require(_0xf4f0('0xc'))(new Redis(config[_0xf4f0('0xa')]));require(_0xf4f0('0xd'))[_0xf4f0('0xe')](socket);function respondWithRpcPromise(_0x25df70,_0x317090,_0x346cbc){return new BPromise(function(_0x3ee341,_0x49dafb){return client[_0xf4f0('0xf')](_0x25df70,_0x346cbc)['then'](function(_0x1efe9a){logger[_0xf4f0('0x10')](_0xf4f0('0x11'),_0x317090,_0xf4f0('0x12'));logger[_0xf4f0('0x13')](_0xf4f0('0x14'),_0x317090,_0xf4f0('0x12'),JSON[_0xf4f0('0x15')](_0x1efe9a));if(_0x1efe9a[_0xf4f0('0x16')]){if(_0x1efe9a[_0xf4f0('0x16')][_0xf4f0('0x17')]===0x1f4){logger[_0xf4f0('0x16')](_0xf4f0('0x11'),_0x317090,_0x1efe9a[_0xf4f0('0x16')][_0xf4f0('0x18')]);return _0x49dafb(_0x1efe9a[_0xf4f0('0x16')][_0xf4f0('0x18')]);}logger[_0xf4f0('0x16')](_0xf4f0('0x11'),_0x317090,_0x1efe9a[_0xf4f0('0x16')]['message']);return _0x3ee341(_0x1efe9a[_0xf4f0('0x16')][_0xf4f0('0x18')]);}else{logger['info'](_0xf4f0('0x11'),_0x317090,_0xf4f0('0x12'));_0x3ee341(_0x1efe9a[_0xf4f0('0x19')][_0xf4f0('0x18')]);}})[_0xf4f0('0x1a')](function(_0x4e9822){logger[_0xf4f0('0x16')](_0xf4f0('0x11'),_0x317090,_0x4e9822);_0x49dafb(_0x4e9822);});});}exports['UpdateOpenchannelInteraction']=function(_0x3c5733){var _0x5b3188=this;return new Promise(function(_0x23e2b5,_0x13be65){return db[_0xf4f0('0x1b')][_0xf4f0('0x1c')](_0x3c5733[_0xf4f0('0x1d')],{'raw':_0x3c5733[_0xf4f0('0x1e')]?_0x3c5733[_0xf4f0('0x1e')][_0xf4f0('0x1f')]===undefined?!![]:![]:!![],'individualHooks':!![],'where':_0x3c5733[_0xf4f0('0x1e')]?_0x3c5733[_0xf4f0('0x1e')][_0xf4f0('0x20')]||null:null,'attributes':_0x3c5733['options']?_0x3c5733[_0xf4f0('0x1e')]['attributes']||null:null,'limit':_0x3c5733[_0xf4f0('0x1e')]?_0x3c5733[_0xf4f0('0x1e')][_0xf4f0('0x21')]||null:null})[_0xf4f0('0x22')](function(_0x54b37c){logger['info'](_0xf4f0('0x23'),_0x3c5733);logger[_0xf4f0('0x13')](_0xf4f0('0x23'),_0x3c5733,JSON['stringify'](_0x54b37c));_0x23e2b5(_0x54b37c);})['catch'](function(_0x43ab75){logger['error']('UpdateOpenchannelInteraction',_0x43ab75[_0xf4f0('0x18')],_0x3c5733);_0x13be65(_0x5b3188[_0xf4f0('0x16')](0x1f4,_0x43ab75[_0xf4f0('0x18')]));});});};exports[_0xf4f0('0x24')]=function(_0x31f640){return new Promise(function(_0xdc4b60,_0x7b9736){return db[_0xf4f0('0x1b')][_0xf4f0('0x25')]({'where':_0x31f640[_0xf4f0('0x1e')]?_0x31f640[_0xf4f0('0x1e')][_0xf4f0('0x20')]||null:null})['then'](function(_0x5002c8){if(_0x5002c8){return _0x5002c8[_0xf4f0('0x26')](_0x31f640[_0xf4f0('0x1d')][_0xf4f0('0x27')],_['omit'](_0x31f640[_0xf4f0('0x1d')],[_0xf4f0('0x27'),'id'])||{});}})[_0xf4f0('0x28')](function(_0x2fcc46){logger[_0xf4f0('0x10')](_0xf4f0('0x29'),_0x31f640);logger[_0xf4f0('0x13')]('AddTags',_0x31f640,JSON['stringify'](_0x2fcc46));_0xdc4b60(_0x2fcc46);})[_0xf4f0('0x1a')](function(_0x3d0d21){logger[_0xf4f0('0x16')](_0xf4f0('0x29'),_0x3d0d21['message'],_0x31f640);_0x7b9736(_this[_0xf4f0('0x16')](0x1f4,_0x3d0d21['message']));});});}; \ No newline at end of file +var _0x5b02=['AddTags','util','moment','bluebird','randomstring','ioredis','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','client','http','redis','socket.io-emitter','./openchannelInteraction.socket','register','then','info','OpenchannelInteraction,\x20%s,\x20%s','request\x20sent','debug','OpenchannelInteraction,\x20%s,\x20%s,\x20%s','stringify','code','error','message','result','catch','OpenchannelInteraction','update','options','raw','where','attributes','limit','UpdateOpenchannelInteraction','AddTagsToOpenchannelInteraction','find','addTags','ids','omit','body','spread'];(function(_0x11b643,_0x2bd01c){var _0x4052b4=function(_0x10d662){while(--_0x10d662){_0x11b643['push'](_0x11b643['shift']());}};_0x4052b4(++_0x2bd01c);}(_0x5b02,0x18d));var _0x25b0=function(_0x5d7d14,_0x55dccc){_0x5d7d14=_0x5d7d14-0x0;var _0x2b5829=_0x5b02[_0x5d7d14];return _0x2b5829;};'use strict';var _=require('lodash');var util=require(_0x25b0('0x0'));var moment=require(_0x25b0('0x1'));var BPromise=require(_0x25b0('0x2'));var rs=require(_0x25b0('0x3'));var fs=require('fs');var Redis=require(_0x25b0('0x4'));var db=require('../../mysqldb')['db'];var utils=require(_0x25b0('0x5'));var logger=require(_0x25b0('0x6'))(_0x25b0('0x7'));var config=require(_0x25b0('0x8'));var jayson=require(_0x25b0('0x9'));var client=jayson[_0x25b0('0xa')][_0x25b0('0xb')]({'port':0x232a});config[_0x25b0('0xc')]=_['defaults'](config[_0x25b0('0xc')],{'host':'localhost','port':0x18eb});var socket=require(_0x25b0('0xd'))(new Redis(config[_0x25b0('0xc')]));require(_0x25b0('0xe'))[_0x25b0('0xf')](socket);function respondWithRpcPromise(_0x4b8ccf,_0x5223e2,_0x41c20e){return new BPromise(function(_0x1ed3ab,_0x1c1333){return client['request'](_0x4b8ccf,_0x41c20e)[_0x25b0('0x10')](function(_0x56e1fa){logger[_0x25b0('0x11')](_0x25b0('0x12'),_0x5223e2,_0x25b0('0x13'));logger[_0x25b0('0x14')](_0x25b0('0x15'),_0x5223e2,_0x25b0('0x13'),JSON[_0x25b0('0x16')](_0x56e1fa));if(_0x56e1fa['error']){if(_0x56e1fa['error'][_0x25b0('0x17')]===0x1f4){logger[_0x25b0('0x18')](_0x25b0('0x12'),_0x5223e2,_0x56e1fa[_0x25b0('0x18')][_0x25b0('0x19')]);return _0x1c1333(_0x56e1fa[_0x25b0('0x18')][_0x25b0('0x19')]);}logger[_0x25b0('0x18')](_0x25b0('0x12'),_0x5223e2,_0x56e1fa['error']['message']);return _0x1ed3ab(_0x56e1fa[_0x25b0('0x18')]['message']);}else{logger[_0x25b0('0x11')]('OpenchannelInteraction,\x20%s,\x20%s',_0x5223e2,_0x25b0('0x13'));_0x1ed3ab(_0x56e1fa[_0x25b0('0x1a')][_0x25b0('0x19')]);}})[_0x25b0('0x1b')](function(_0x253d2c){logger[_0x25b0('0x18')](_0x25b0('0x12'),_0x5223e2,_0x253d2c);_0x1c1333(_0x253d2c);});});}exports['UpdateOpenchannelInteraction']=function(_0x2dcab7){var _0x4411fa=this;return new Promise(function(_0x42b780,_0xd07a4f){return db[_0x25b0('0x1c')][_0x25b0('0x1d')](_0x2dcab7['body'],{'raw':_0x2dcab7[_0x25b0('0x1e')]?_0x2dcab7[_0x25b0('0x1e')][_0x25b0('0x1f')]===undefined?!![]:![]:!![],'individualHooks':!![],'where':_0x2dcab7[_0x25b0('0x1e')]?_0x2dcab7[_0x25b0('0x1e')][_0x25b0('0x20')]||null:null,'attributes':_0x2dcab7[_0x25b0('0x1e')]?_0x2dcab7[_0x25b0('0x1e')][_0x25b0('0x21')]||null:null,'limit':_0x2dcab7['options']?_0x2dcab7[_0x25b0('0x1e')][_0x25b0('0x22')]||null:null})['then'](function(_0x245e2f){logger[_0x25b0('0x11')](_0x25b0('0x23'),_0x2dcab7);logger[_0x25b0('0x14')](_0x25b0('0x23'),_0x2dcab7,JSON[_0x25b0('0x16')](_0x245e2f));_0x42b780(_0x245e2f);})[_0x25b0('0x1b')](function(_0x2cff91){logger[_0x25b0('0x18')](_0x25b0('0x23'),_0x2cff91[_0x25b0('0x19')],_0x2dcab7);_0xd07a4f(_0x4411fa[_0x25b0('0x18')](0x1f4,_0x2cff91[_0x25b0('0x19')]));});});};exports[_0x25b0('0x24')]=function(_0x4b0b8c){return new Promise(function(_0x9c863e,_0x8a68e7){return db[_0x25b0('0x1c')][_0x25b0('0x25')]({'where':_0x4b0b8c[_0x25b0('0x1e')]?_0x4b0b8c[_0x25b0('0x1e')][_0x25b0('0x20')]||null:null})['then'](function(_0x1d4138){if(_0x1d4138){return _0x1d4138[_0x25b0('0x26')](_0x4b0b8c['body'][_0x25b0('0x27')],_[_0x25b0('0x28')](_0x4b0b8c[_0x25b0('0x29')],['ids','id'])||{});}})[_0x25b0('0x2a')](function(_0x156027){logger[_0x25b0('0x11')](_0x25b0('0x2b'),_0x4b0b8c);logger[_0x25b0('0x14')](_0x25b0('0x2b'),_0x4b0b8c,JSON[_0x25b0('0x16')](_0x156027));_0x9c863e(_0x156027);})['catch'](function(_0x4a16fe){logger['error']('AddTags',_0x4a16fe[_0x25b0('0x19')],_0x4b0b8c);_0x8a68e7(_this[_0x25b0('0x18')](0x1f4,_0x4a16fe[_0x25b0('0x19')]));});});}; \ No newline at end of file diff --git a/server/api/openchannelInteraction/openchannelInteraction.socket.js b/server/api/openchannelInteraction/openchannelInteraction.socket.js index ddae2c7..0d85837 100644 --- a/server/api/openchannelInteraction/openchannelInteraction.socket.js +++ b/server/api/openchannelInteraction/openchannelInteraction.socket.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xb145=['register','./openchannelInteraction.events','save','remove','update','emit'];(function(_0x321bb2,_0x202794){var _0x9c12ed=function(_0x263dd3){while(--_0x263dd3){_0x321bb2['push'](_0x321bb2['shift']());}};_0x9c12ed(++_0x202794);}(_0xb145,0x181));var _0x5b14=function(_0x6af83f,_0xf6391d){_0x6af83f=_0x6af83f-0x0;var _0x53850a=_0xb145[_0x6af83f];return _0x53850a;};'use strict';var OpenchannelInteractionEvents=require(_0x5b14('0x0'));var events=[_0x5b14('0x1'),_0x5b14('0x2'),_0x5b14('0x3')];function createListener(_0x41f8e5,_0x125c3e){return function(_0x4e4418){_0x125c3e[_0x5b14('0x4')](_0x41f8e5,_0x4e4418);};}function removeListener(_0x1937f6,_0x58585f){return function(){OpenchannelInteractionEvents['removeListener'](_0x1937f6,_0x58585f);};}exports[_0x5b14('0x5')]=function(_0x5d3595){for(var _0x5d1521=0x0,_0xa30d32=events['length'];_0x5d1521<_0xa30d32;_0x5d1521++){var _0x514bbd=events[_0x5d1521];var _0x4d793d=createListener('openchannelInteraction:'+_0x514bbd,_0x5d3595);OpenchannelInteractionEvents['on'](_0x514bbd,_0x4d793d);}}; \ No newline at end of file +var _0xf26e=['remove','emit','removeListener','length','./openchannelInteraction.events','save'];(function(_0x30f355,_0x512f39){var _0xae84f3=function(_0x4c168f){while(--_0x4c168f){_0x30f355['push'](_0x30f355['shift']());}};_0xae84f3(++_0x512f39);}(_0xf26e,0x17e));var _0xef26=function(_0x468dd9,_0x37bc07){_0x468dd9=_0x468dd9-0x0;var _0x47cb18=_0xf26e[_0x468dd9];return _0x47cb18;};'use strict';var OpenchannelInteractionEvents=require(_0xef26('0x0'));var events=[_0xef26('0x1'),_0xef26('0x2'),'update'];function createListener(_0x4faf9f,_0x2225fd){return function(_0x23991d){_0x2225fd[_0xef26('0x3')](_0x4faf9f,_0x23991d);};}function removeListener(_0x4ea147,_0x5ee39b){return function(){OpenchannelInteractionEvents[_0xef26('0x4')](_0x4ea147,_0x5ee39b);};}exports['register']=function(_0x94582b){for(var _0x5a6318=0x0,_0xc99cc2=events[_0xef26('0x5')];_0x5a6318<_0xc99cc2;_0x5a6318++){var _0x313c5b=events[_0x5a6318];var _0x4cfa29=createListener('openchannelInteraction:'+_0x313c5b,_0x94582b);OpenchannelInteractionEvents['on'](_0x313c5b,_0x4cfa29);}}; \ No newline at end of file diff --git a/server/api/openchannelMessage/index.js b/server/api/openchannelMessage/index.js index bc2393a..77c9326 100644 --- a/server/api/openchannelMessage/index.js +++ b/server/api/openchannelMessage/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x9cbe=['put','/:id/accept','accept','reject','delete','destroy','exports','multer','util','path','connect-timeout','Router','../../config/environment','./openchannelMessage.controller','isAuthenticated','index','get','/describe','describe','/:id','show','post','openchannel','create'];(function(_0x421ab1,_0x396c5b){var _0xba377c=function(_0x4a2317){while(--_0x4a2317){_0x421ab1['push'](_0x421ab1['shift']());}};_0xba377c(++_0x396c5b);}(_0x9cbe,0xc7));var _0xe9cb=function(_0x59d89e,_0x55edf5){_0x59d89e=_0x59d89e-0x0;var _0x554e93=_0x9cbe[_0x59d89e];return _0x554e93;};'use strict';var multer=require(_0xe9cb('0x0'));var util=require(_0xe9cb('0x1'));var path=require(_0xe9cb('0x2'));var timeout=require(_0xe9cb('0x3'));var express=require('express');var router=express[_0xe9cb('0x4')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xe9cb('0x5'));var controller=require(_0xe9cb('0x6'));router['get']('/',auth[_0xe9cb('0x7')](),controller[_0xe9cb('0x8')]);router[_0xe9cb('0x9')](_0xe9cb('0xa'),auth[_0xe9cb('0x7')](),controller[_0xe9cb('0xb')]);router[_0xe9cb('0x9')](_0xe9cb('0xc'),auth['isAuthenticated'](),controller[_0xe9cb('0xd')]);router[_0xe9cb('0xe')]('/',auth[_0xe9cb('0x7')](),interaction['tracked'](_0xe9cb('0xf'),'openchannelmessage:create'),controller[_0xe9cb('0x10')]);router[_0xe9cb('0x11')]('/:id',auth['isAuthenticated'](),controller['update']);router[_0xe9cb('0x11')](_0xe9cb('0x12'),auth[_0xe9cb('0x7')](),controller[_0xe9cb('0x13')]);router[_0xe9cb('0x11')]('/:id/reject',auth['isAuthenticated'](),controller[_0xe9cb('0x14')]);router[_0xe9cb('0x15')](_0xe9cb('0xc'),auth[_0xe9cb('0x7')](),controller[_0xe9cb('0x16')]);module[_0xe9cb('0x17')]=router; \ No newline at end of file +var _0x624e=['isAuthenticated','index','describe','/:id','show','post','tracked','openchannel','openchannelmessage:create','create','put','update','/:id/accept','accept','/:id/reject','reject','delete','exports','util','path','connect-timeout','express','Router','../../config/environment','get'];(function(_0x339295,_0x1f06cd){var _0x3026cb=function(_0x1e8899){while(--_0x1e8899){_0x339295['push'](_0x339295['shift']());}};_0x3026cb(++_0x1f06cd);}(_0x624e,0x125));var _0xe624=function(_0x241fd8,_0x568e21){_0x241fd8=_0x241fd8-0x0;var _0x3c260e=_0x624e[_0x241fd8];return _0x3c260e;};'use strict';var multer=require('multer');var util=require(_0xe624('0x0'));var path=require(_0xe624('0x1'));var timeout=require(_0xe624('0x2'));var express=require(_0xe624('0x3'));var router=express[_0xe624('0x4')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xe624('0x5'));var controller=require('./openchannelMessage.controller');router[_0xe624('0x6')]('/',auth[_0xe624('0x7')](),controller[_0xe624('0x8')]);router[_0xe624('0x6')]('/describe',auth['isAuthenticated'](),controller[_0xe624('0x9')]);router[_0xe624('0x6')](_0xe624('0xa'),auth[_0xe624('0x7')](),controller[_0xe624('0xb')]);router[_0xe624('0xc')]('/',auth[_0xe624('0x7')](),interaction[_0xe624('0xd')](_0xe624('0xe'),_0xe624('0xf')),controller[_0xe624('0x10')]);router[_0xe624('0x11')](_0xe624('0xa'),auth['isAuthenticated'](),controller[_0xe624('0x12')]);router[_0xe624('0x11')](_0xe624('0x13'),auth[_0xe624('0x7')](),controller[_0xe624('0x14')]);router[_0xe624('0x11')](_0xe624('0x15'),auth[_0xe624('0x7')](),controller[_0xe624('0x16')]);router[_0xe624('0x17')](_0xe624('0xa'),auth[_0xe624('0x7')](),controller['destroy']);module[_0xe624('0x18')]=router; \ No newline at end of file diff --git a/server/api/openchannelMessage/openchannelMessage.attributes.js b/server/api/openchannelMessage/openchannelMessage.attributes.js index b94da6d..3f74862 100644 --- a/server/api/openchannelMessage/openchannelMessage.attributes.js +++ b/server/api/openchannelMessage/openchannelMessage.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xf3d6=['DATE','sequelize','exports','medium','BOOLEAN','ENUM','out'];(function(_0x2cc5b6,_0x336893){var _0x5211cc=function(_0x43876c){while(--_0x43876c){_0x2cc5b6['push'](_0x2cc5b6['shift']());}};_0x5211cc(++_0x336893);}(_0xf3d6,0x12e));var _0x6f3d=function(_0x1fa3f2,_0x537ac0){_0x1fa3f2=_0x1fa3f2-0x0;var _0x59672a=_0xf3d6[_0x1fa3f2];return _0x59672a;};'use strict';var Sequelize=require(_0x6f3d('0x0'));module[_0x6f3d('0x1')]={'body':{'type':Sequelize['TEXT'](_0x6f3d('0x2')),'allowNull':![]},'read':{'type':Sequelize[_0x6f3d('0x3')],'defaultValue':![]},'secret':{'type':Sequelize[_0x6f3d('0x3')],'defaultValue':![]},'direction':{'type':Sequelize[_0x6f3d('0x4')]('in',_0x6f3d('0x5')),'defaultValue':'out','allowNull':![]},'readAt':{'type':Sequelize[_0x6f3d('0x6')]}}; \ No newline at end of file +var _0x6384=['out','sequelize','exports','TEXT','BOOLEAN','ENUM'];(function(_0x44585b,_0x484135){var _0x2742d9=function(_0x413127){while(--_0x413127){_0x44585b['push'](_0x44585b['shift']());}};_0x2742d9(++_0x484135);}(_0x6384,0x85));var _0x4638=function(_0x20b1e2,_0x26c5cf){_0x20b1e2=_0x20b1e2-0x0;var _0x2ad462=_0x6384[_0x20b1e2];return _0x2ad462;};'use strict';var Sequelize=require(_0x4638('0x0'));module[_0x4638('0x1')]={'body':{'type':Sequelize[_0x4638('0x2')]('medium'),'allowNull':![]},'read':{'type':Sequelize[_0x4638('0x3')],'defaultValue':![]},'secret':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'direction':{'type':Sequelize[_0x4638('0x4')]('in',_0x4638('0x5')),'defaultValue':_0x4638('0x5'),'allowNull':![]},'readAt':{'type':Sequelize['DATE']}}; \ No newline at end of file diff --git a/server/api/openchannelMessage/openchannelMessage.controller.js b/server/api/openchannelMessage/openchannelMessage.controller.js index db29b2e..3f64674 100644 --- a/server/api/openchannelMessage/openchannelMessage.controller.js +++ b/server/api/openchannelMessage/openchannelMessage.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x0ac9=['rejectmessage','html-pdf','eml-format','zip-dir','fast-json-patch','request-promise','bluebird','mustache','util','ejs','lodash','squel','crypto','jsforce','desk.js','to-csv','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','redis','localhost','socket.io-emitter','./openchannelMessage.socket','register','client','http','Sequelize','ValidationError','then','info','OpenchannelMessage,\x20%s,\x20%s','OpenchannelMessage,\x20%s,\x20%s,\x20%s','stringify','error','code','message','result','catch','sendStatus','status','end','json','count','offset','limit','set','apply','save','update','stack','name','send','index','map','OpenchannelMessage','rawAttributes','key','query','keys','filters','model','attributes','intersection','fields','length','nolimit','sort','where','pick','filter','type','VIRTUAL','merge','options','includeAll','findAll','rows','show','params','find','create','body','describe','openchannel-interactions','accept','openchannel','read','readAt','format','YYYY-MM-DD\x20HH:mm:ss','UserId','user','CmContact','Contact','get','OpenchannelInteraction','OpenchannelInteractionId','isNil','interaction','[OPENCHANNELMESSAGE:ACCEPT]\x20id=%s\x20name=%s\x20role=%s\x20interaction=%s\x20body=%s','role','null','acceptMessage','manual','interface','SIP/%s','channel','EventManager','acceptmessage','reject','agent','[OPENCHANNELMESSAGE:REJECT]\x20id=%s\x20name=%s\x20role=%s\x20interaction=%s\x20body=%s','RejectMessage'];(function(_0x424e46,_0x431e9d){var _0x1bd99d=function(_0x457161){while(--_0x457161){_0x424e46['push'](_0x424e46['shift']());}};_0x1bd99d(++_0x431e9d);}(_0x0ac9,0x16f));var _0x90ac=function(_0x18a79d,_0x57bd2c){_0x18a79d=_0x18a79d-0x0;var _0x4f8848=_0x0ac9[_0x18a79d];return _0x4f8848;};'use strict';var pdf=require(_0x90ac('0x0'));var emlformat=require(_0x90ac('0x1'));var rimraf=require('rimraf');var zipdir=require(_0x90ac('0x2'));var jsonpatch=require(_0x90ac('0x3'));var rp=require(_0x90ac('0x4'));var moment=require('moment');var BPromise=require(_0x90ac('0x5'));var Mustache=require(_0x90ac('0x6'));var util=require(_0x90ac('0x7'));var path=require('path');var sox=require('sox');var csv=require('to-csv');var ejs=require(_0x90ac('0x8'));var fs=require('fs');var _=require(_0x90ac('0x9'));var squel=require(_0x90ac('0xa'));var crypto=require(_0x90ac('0xb'));var jsforce=require(_0x90ac('0xc'));var deskjs=require(_0x90ac('0xd'));var toCsv=require(_0x90ac('0xe'));var querystring=require(_0x90ac('0xf'));var Papa=require(_0x90ac('0x10'));var Redis=require(_0x90ac('0x11'));var authService=require(_0x90ac('0x12'));var qs=require(_0x90ac('0x13'));var as=require(_0x90ac('0x14'));var hardwareService=require(_0x90ac('0x15'));var logger=require(_0x90ac('0x16'))(_0x90ac('0x17'));var utils=require(_0x90ac('0x18'));var config=require(_0x90ac('0x19'));var db=require(_0x90ac('0x1a'))['db'];config[_0x90ac('0x1b')]=_['defaults'](config['redis'],{'host':_0x90ac('0x1c'),'port':0x18eb});var socket=require(_0x90ac('0x1d'))(new Redis(config[_0x90ac('0x1b')]));require(_0x90ac('0x1e'))[_0x90ac('0x1f')](socket);var jayson=require('jayson/promise');var client=jayson[_0x90ac('0x20')][_0x90ac('0x21')]({'port':0x232c});var client9002=jayson[_0x90ac('0x20')][_0x90ac('0x21')]({'port':0x232a});function checkPasswordPattern(_0x4b55ed,_0x1c7f57,_0x4983c4){if(_0x4983c4){var _0x344278=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0x344278['test'](_0x1c7f57)){return _0x4b55ed;}else{throw new db[(_0x90ac('0x22'))][(_0x90ac('0x23'))]('The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.');}}else{return _0x4b55ed;}}function respondWithRpcPromise(_0x1c18e0,_0x5bfd73,_0x446fb1,_0x6a6384){return new BPromise(function(_0x4bbc10,_0x2b527a){var _0x4074ab=_0x6a6384||client;return _0x4074ab['request'](_0x1c18e0,_0x446fb1)[_0x90ac('0x24')](function(_0x268b4b){logger[_0x90ac('0x25')](_0x90ac('0x26'),_0x5bfd73,'request\x20sent');logger['debug'](_0x90ac('0x27'),_0x5bfd73,'request\x20sent',JSON[_0x90ac('0x28')](_0x268b4b));if(_0x268b4b[_0x90ac('0x29')]){if(_0x268b4b[_0x90ac('0x29')][_0x90ac('0x2a')]===0x1f4){logger[_0x90ac('0x29')](_0x90ac('0x26'),_0x5bfd73,_0x268b4b[_0x90ac('0x29')][_0x90ac('0x2b')]);return _0x2b527a(_0x268b4b[_0x90ac('0x29')]['message']);}logger[_0x90ac('0x29')](_0x90ac('0x26'),_0x5bfd73,_0x268b4b[_0x90ac('0x29')]['message']);return _0x4bbc10(_0x268b4b[_0x90ac('0x29')][_0x90ac('0x2b')]);}else{logger[_0x90ac('0x25')](_0x90ac('0x26'),_0x5bfd73,'request\x20sent');_0x4bbc10(_0x268b4b[_0x90ac('0x2c')][_0x90ac('0x2b')]);}})[_0x90ac('0x2d')](function(_0x19fcad){logger[_0x90ac('0x29')]('OpenchannelMessage,\x20%s,\x20%s',_0x5bfd73,_0x19fcad);_0x2b527a(_0x19fcad);});});}function respondWithStatusCode(_0x28ee67,_0x4d93a2){_0x4d93a2=_0x4d93a2||0xcc;return function(_0x37a426){if(_0x37a426){return _0x28ee67[_0x90ac('0x2e')](_0x4d93a2);}return _0x28ee67[_0x90ac('0x2f')](_0x4d93a2)[_0x90ac('0x30')]();};}function respondWithResult(_0x1a3879,_0x996f87){_0x996f87=_0x996f87||0xc8;return function(_0x4a7ab7){if(_0x4a7ab7){return _0x1a3879[_0x90ac('0x2f')](_0x996f87)[_0x90ac('0x31')](_0x4a7ab7);}};}function respondWithFilteredResult(_0x357492,_0x17c332){return function(_0x233b5e){if(_0x233b5e){var _0x4910ca=_0x233b5e[_0x90ac('0x32')],_0x53df6d=_0x17c332[_0x90ac('0x33')],_0x1ec408=_0x17c332[_0x90ac('0x33')]+_0x17c332[_0x90ac('0x34')],_0x65582a;if(_0x1ec408>=_0x4910ca){_0x1ec408=_0x4910ca;_0x65582a=0xc8;}else{_0x65582a=0xce;}_0x357492[_0x90ac('0x2f')](_0x65582a);return _0x357492[_0x90ac('0x35')]('Content-Range',_0x53df6d+'-'+_0x1ec408+'/'+_0x4910ca)[_0x90ac('0x31')](_0x233b5e);}return null;};}function patchUpdates(_0x326cd5){return function(_0x517804){try{jsonpatch[_0x90ac('0x36')](_0x517804,_0x326cd5,!![]);}catch(_0x1864ce){return BPromise['reject'](_0x1864ce);}return _0x517804[_0x90ac('0x37')]();};}function saveUpdates(_0x5725f7,_0x485972){return function(_0x5278d7){if(_0x5278d7){return _0x5278d7[_0x90ac('0x38')](_0x5725f7)[_0x90ac('0x24')](function(_0x54f61a){return _0x54f61a;});}return null;};}function removeEntity(_0x9f01c9,_0x1addd1){return function(_0x4eb9e2){if(_0x4eb9e2){return _0x4eb9e2['destroy']()[_0x90ac('0x24')](function(){_0x9f01c9['status'](0xcc)[_0x90ac('0x30')]();});}};}function handleEntityNotFound(_0x1c5194,_0x4a8b26){return function(_0x481803){if(!_0x481803){_0x1c5194[_0x90ac('0x2e')](0x194);}return _0x481803;};}function handleError(_0x49739c,_0x399967){_0x399967=_0x399967||0x1f4;return function(_0x4c81be){logger[_0x90ac('0x29')](_0x4c81be[_0x90ac('0x39')]);if(_0x4c81be[_0x90ac('0x3a')]){delete _0x4c81be[_0x90ac('0x3a')];}_0x49739c['status'](_0x399967)[_0x90ac('0x3b')](_0x4c81be);};}exports[_0x90ac('0x3c')]=function(_0x44cf92,_0x290b4a){var _0x1681f0={},_0x2b7213={},_0x8de31d={'count':0x0,'rows':[]};var _0x5b16e0=_[_0x90ac('0x3d')](db[_0x90ac('0x3e')][_0x90ac('0x3f')],function(_0x1369cc){return{'name':_0x1369cc['fieldName'],'type':_0x1369cc['type'][_0x90ac('0x40')]};});_0x2b7213['model']=_[_0x90ac('0x3d')](_0x5b16e0,_0x90ac('0x3a'));_0x2b7213[_0x90ac('0x41')]=_[_0x90ac('0x42')](_0x44cf92[_0x90ac('0x41')]);_0x2b7213[_0x90ac('0x43')]=_['intersection'](_0x2b7213[_0x90ac('0x44')],_0x2b7213['query']);_0x1681f0[_0x90ac('0x45')]=_[_0x90ac('0x46')](_0x2b7213[_0x90ac('0x44')],qs[_0x90ac('0x47')](_0x44cf92['query'][_0x90ac('0x47')]));_0x1681f0[_0x90ac('0x45')]=_0x1681f0[_0x90ac('0x45')][_0x90ac('0x48')]?_0x1681f0[_0x90ac('0x45')]:_0x2b7213[_0x90ac('0x44')];if(!_0x44cf92[_0x90ac('0x41')]['hasOwnProperty'](_0x90ac('0x49'))){_0x1681f0[_0x90ac('0x34')]=qs[_0x90ac('0x34')](_0x44cf92[_0x90ac('0x41')][_0x90ac('0x34')]);_0x1681f0[_0x90ac('0x33')]=qs[_0x90ac('0x33')](_0x44cf92[_0x90ac('0x41')][_0x90ac('0x33')]);}_0x1681f0['order']=qs['sort'](_0x44cf92[_0x90ac('0x41')][_0x90ac('0x4a')]);_0x1681f0[_0x90ac('0x4b')]=qs[_0x90ac('0x43')](_[_0x90ac('0x4c')](_0x44cf92[_0x90ac('0x41')],_0x2b7213['filters']),_0x5b16e0);if(_0x44cf92[_0x90ac('0x41')][_0x90ac('0x4d')]){_0x1681f0[_0x90ac('0x4b')]=_['merge'](_0x1681f0[_0x90ac('0x4b')],{'$or':_[_0x90ac('0x3d')](_0x5b16e0,function(_0x306e5b){if(_0x306e5b[_0x90ac('0x4e')]!==_0x90ac('0x4f')){var _0x44dbd0={};_0x44dbd0[_0x306e5b['name']]={'$like':'%'+_0x44cf92['query'][_0x90ac('0x4d')]+'%'};return _0x44dbd0;}})});}_0x1681f0=_[_0x90ac('0x50')]({},_0x1681f0,_0x44cf92[_0x90ac('0x51')]);var _0x3bde10={'where':_0x1681f0['where']};return db[_0x90ac('0x3e')][_0x90ac('0x32')](_0x3bde10)[_0x90ac('0x24')](function(_0x5ce33b){_0x8de31d[_0x90ac('0x32')]=_0x5ce33b;if(_0x44cf92[_0x90ac('0x41')][_0x90ac('0x52')]){_0x1681f0['include']=[{'all':!![]}];}return db[_0x90ac('0x3e')][_0x90ac('0x53')](_0x1681f0);})[_0x90ac('0x24')](function(_0x4455f7){_0x8de31d[_0x90ac('0x54')]=_0x4455f7;return _0x8de31d;})[_0x90ac('0x24')](respondWithFilteredResult(_0x290b4a,_0x1681f0))[_0x90ac('0x2d')](handleError(_0x290b4a,null));};exports[_0x90ac('0x55')]=function(_0x4c5401,_0x2bcf34){var _0x3ef1be={'raw':!![],'where':{'id':_0x4c5401[_0x90ac('0x56')]['id']}},_0x118c9f={};_0x118c9f[_0x90ac('0x44')]=_[_0x90ac('0x42')](db[_0x90ac('0x3e')][_0x90ac('0x3f')]);_0x118c9f['query']=_[_0x90ac('0x42')](_0x4c5401[_0x90ac('0x41')]);_0x118c9f[_0x90ac('0x43')]=_[_0x90ac('0x46')](_0x118c9f[_0x90ac('0x44')],_0x118c9f[_0x90ac('0x41')]);_0x3ef1be[_0x90ac('0x45')]=_['intersection'](_0x118c9f[_0x90ac('0x44')],qs[_0x90ac('0x47')](_0x4c5401[_0x90ac('0x41')]['fields']));_0x3ef1be[_0x90ac('0x45')]=_0x3ef1be['attributes'][_0x90ac('0x48')]?_0x3ef1be['attributes']:_0x118c9f[_0x90ac('0x44')];if(_0x4c5401[_0x90ac('0x41')][_0x90ac('0x52')]){_0x3ef1be['include']=[{'all':!![]}];}_0x3ef1be=_[_0x90ac('0x50')]({},_0x3ef1be,_0x4c5401[_0x90ac('0x51')]);return db[_0x90ac('0x3e')][_0x90ac('0x57')](_0x3ef1be)['then'](handleEntityNotFound(_0x2bcf34,null))['then'](respondWithResult(_0x2bcf34,null))[_0x90ac('0x2d')](handleError(_0x2bcf34,null));};exports[_0x90ac('0x58')]=function(_0x2d514a,_0x435983){return db['OpenchannelMessage'][_0x90ac('0x58')](_0x2d514a[_0x90ac('0x59')],{})[_0x90ac('0x24')](respondWithResult(_0x435983,0xc9))['catch'](handleError(_0x435983,null));};exports[_0x90ac('0x38')]=function(_0x472d19,_0x26e7cd){if(_0x472d19[_0x90ac('0x59')]['id']){delete _0x472d19[_0x90ac('0x59')]['id'];}return db[_0x90ac('0x3e')][_0x90ac('0x57')]({'where':{'id':_0x472d19[_0x90ac('0x56')]['id']}})[_0x90ac('0x24')](handleEntityNotFound(_0x26e7cd,null))[_0x90ac('0x24')](saveUpdates(_0x472d19[_0x90ac('0x59')],null))[_0x90ac('0x24')](respondWithResult(_0x26e7cd,null))[_0x90ac('0x2d')](handleError(_0x26e7cd,null));};exports['destroy']=function(_0x449239,_0x1b238b){return db[_0x90ac('0x3e')][_0x90ac('0x57')]({'where':{'id':_0x449239['params']['id']}})['then'](handleEntityNotFound(_0x1b238b,null))['then'](removeEntity(_0x1b238b,null))[_0x90ac('0x2d')](handleError(_0x1b238b,null));};exports[_0x90ac('0x5a')]=function(_0x399209,_0x5a1c34){return db['OpenchannelMessage'][_0x90ac('0x5a')]()[_0x90ac('0x24')](respondWithResult(_0x5a1c34,null))[_0x90ac('0x2d')](handleError(_0x5a1c34,null));};var interaction_log=require(_0x90ac('0x16'))(_0x90ac('0x5b'));exports[_0x90ac('0x5c')]=function(_0x418313,_0x41655e,_0x10bb0f){var _0x2a1fa6={'channel':_0x90ac('0x5d')};if(_0x418313[_0x90ac('0x59')]['id']){delete _0x418313[_0x90ac('0x59')]['id'];}_0x418313[_0x90ac('0x59')][_0x90ac('0x5e')]=!![];_0x418313['body'][_0x90ac('0x5f')]=moment()[_0x90ac('0x60')](_0x90ac('0x61'));_0x418313[_0x90ac('0x59')][_0x90ac('0x62')]=_0x418313[_0x90ac('0x59')][_0x90ac('0x62')]||_0x418313[_0x90ac('0x63')]['id'];return db['OpenchannelMessage']['find']({'where':{'id':_0x418313[_0x90ac('0x56')]['id'],'UserId':null},'include':[{'model':db[_0x90ac('0x64')],'as':_0x90ac('0x65')}]})[_0x90ac('0x24')](handleEntityNotFound(_0x41655e,null))[_0x90ac('0x24')](saveUpdates(_0x418313[_0x90ac('0x59')],null))[_0x90ac('0x24')](function(_0x1d1499){if(_0x1d1499){_0x2a1fa6['message']=_0x1d1499[_0x90ac('0x66')]({'plain':!![]});return db[_0x90ac('0x67')]['find']({'where':{'id':_0x1d1499[_0x90ac('0x68')]}});}return null;})[_0x90ac('0x24')](handleEntityNotFound(_0x41655e,null))['then'](function(_0x58a2a4){if(_0x58a2a4){return _0x58a2a4[_0x90ac('0x38')]({'UserId':_0x418313[_0x90ac('0x59')][_0x90ac('0x62')],'read1stAt':_[_0x90ac('0x69')](_0x58a2a4['read1stAt'])?moment()[_0x90ac('0x60')](_0x90ac('0x61')):undefined});}return null;})[_0x90ac('0x24')](function(_0x54ad0d){if(_0x54ad0d){_0x2a1fa6[_0x90ac('0x6a')]=_0x54ad0d[_0x90ac('0x66')]({'plain':!![]});interaction_log[_0x90ac('0x25')](_0x90ac('0x6b'),_0x418313[_0x90ac('0x63')]['id'],_0x418313[_0x90ac('0x63')][_0x90ac('0x3a')],_0x418313[_0x90ac('0x63')][_0x90ac('0x6c')],_0x2a1fa6[_0x90ac('0x6a')]['id'],_0x418313[_0x90ac('0x59')]?JSON[_0x90ac('0x28')](_0x418313[_0x90ac('0x59')]):_0x90ac('0x6d'));return respondWithRpcPromise('AcceptMessage',_0x90ac('0x6e'),_0x2a1fa6);}return null;})[_0x90ac('0x24')](function(_0x232104){if(_0x232104){if(_0x418313[_0x90ac('0x59')][_0x90ac('0x6f')]){_0x2a1fa6[_0x90ac('0x2b')][_0x90ac('0x70')]=util[_0x90ac('0x60')](_0x90ac('0x71'),_0x418313['user'][_0x90ac('0x3a')]);_0x2a1fa6[_0x90ac('0x2b')][_0x90ac('0x72')]=_0x2a1fa6[_0x90ac('0x72')];_0x2a1fa6[_0x90ac('0x2b')]['event']=_0x90ac('0x5c');return respondWithRpcPromise(_0x90ac('0x73'),_0x90ac('0x73'),{'event':_0x90ac('0x74'),'message':_0x2a1fa6[_0x90ac('0x2b')]},client9002)['then'](function(){return _0x2a1fa6;});}return _0x2a1fa6;}return null;})[_0x90ac('0x24')](respondWithResult(_0x41655e,null))['catch'](handleError(_0x41655e,null));};var interaction_log=require('../../config/logger')(_0x90ac('0x5b'));exports[_0x90ac('0x75')]=function(_0xf1d9a1,_0x4286d8,_0x3c265c){var _0x357822={'agent':{},'channel':_0x90ac('0x5d')};if(_0xf1d9a1[_0x90ac('0x59')]['id']){delete _0xf1d9a1[_0x90ac('0x59')]['id'];}_0xf1d9a1['body'][_0x90ac('0x62')]=_0xf1d9a1['body'][_0x90ac('0x62')]||_0xf1d9a1[_0x90ac('0x63')]['id'];_0x357822[_0x90ac('0x76')]['id']=_0xf1d9a1[_0x90ac('0x59')][_0x90ac('0x62')];return db[_0x90ac('0x3e')]['find']({'where':{'id':_0xf1d9a1[_0x90ac('0x56')]['id'],'UserId':null}})[_0x90ac('0x24')](handleEntityNotFound(_0x4286d8,null))[_0x90ac('0x24')](function(_0x32670b){if(_0x32670b){_0x357822['message']=_0x32670b[_0x90ac('0x66')]({'plain':!![]});return db[_0x90ac('0x67')][_0x90ac('0x57')]({'where':{'id':_0x32670b[_0x90ac('0x68')]}});}return null;})[_0x90ac('0x24')](handleEntityNotFound(_0x4286d8,null))[_0x90ac('0x24')](function(_0x40b90d){if(_0x40b90d){_0x357822[_0x90ac('0x6a')]=_0x40b90d[_0x90ac('0x66')]({'plain':!![]});interaction_log[_0x90ac('0x25')](_0x90ac('0x77'),_0xf1d9a1['user']['id'],_0xf1d9a1[_0x90ac('0x63')][_0x90ac('0x3a')],_0xf1d9a1[_0x90ac('0x63')][_0x90ac('0x6c')],_0x357822['interaction']['id'],_0xf1d9a1[_0x90ac('0x59')]?JSON[_0x90ac('0x28')](_0xf1d9a1[_0x90ac('0x59')]):'null');return respondWithRpcPromise(_0x90ac('0x78'),'rejectMessage',_0x357822);}return null;})[_0x90ac('0x24')](function(_0x8ba1ae){if(_0x8ba1ae){_0x8ba1ae[_0x90ac('0x2b')][_0x90ac('0x70')]=util[_0x90ac('0x60')](_0x90ac('0x71'),_0xf1d9a1['user'][_0x90ac('0x3a')]);_0x8ba1ae[_0x90ac('0x2b')][_0x90ac('0x72')]=_0x357822[_0x90ac('0x72')];_0x8ba1ae[_0x90ac('0x2b')]['event']=_0x90ac('0x75');respondWithRpcPromise(_0x90ac('0x73'),_0x90ac('0x73'),{'event':_0x90ac('0x79'),'message':_0x8ba1ae[_0x90ac('0x2b')]},client9002);return _0x357822;}return null;})[_0x90ac('0x24')](respondWithResult(_0x4286d8,null))[_0x90ac('0x2d')](handleError(_0x4286d8,null));}; \ No newline at end of file +var _0x7298=['isNil','read1stAt','interaction','get','[OPENCHANNELMESSAGE:ACCEPT]\x20id=%s\x20name=%s\x20role=%s\x20interaction=%s\x20body=%s','user','null','AcceptMessage','manual','interface','SIP/%s','channel','event','EventManager','acceptmessage','agent','[OPENCHANNELMESSAGE:REJECT]\x20id=%s\x20name=%s\x20role=%s\x20interaction=%s\x20body=%s','rimraf','fast-json-patch','request-promise','moment','bluebird','mustache','util','path','sox','to-csv','ejs','squel','crypto','desk.js','querystring','../../components/auth/service','../../components/parsers/qs','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','redis','defaults','localhost','socket.io-emitter','./openchannelMessage.socket','jayson/promise','client','http','test','ValidationError','The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.','request','then','info','OpenchannelMessage,\x20%s,\x20%s','request\x20sent','debug','OpenchannelMessage,\x20%s,\x20%s,\x20%s','stringify','error','message','result','catch','sendStatus','end','status','json','count','offset','limit','set','Content-Range','apply','reject','destroy','stack','name','send','index','map','OpenchannelMessage','rawAttributes','fieldName','type','key','query','keys','filters','intersection','model','fields','attributes','length','nolimit','order','sort','where','pick','filter','merge','VIRTUAL','includeAll','include','findAll','rows','show','options','find','create','body','update','params','describe','openchannel-interactions','accept','openchannel','readAt','format','YYYY-MM-DD\x20HH:mm:ss','UserId','CmContact','Contact','OpenchannelInteraction','OpenchannelInteractionId'];(function(_0x3e5bc8,_0x457d89){var _0xfd84bc=function(_0x1a766c){while(--_0x1a766c){_0x3e5bc8['push'](_0x3e5bc8['shift']());}};_0xfd84bc(++_0x457d89);}(_0x7298,0x107));var _0x8729=function(_0x48d15f,_0x393fa1){_0x48d15f=_0x48d15f-0x0;var _0x47bfa0=_0x7298[_0x48d15f];return _0x47bfa0;};'use strict';var pdf=require('html-pdf');var emlformat=require('eml-format');var rimraf=require(_0x8729('0x0'));var zipdir=require('zip-dir');var jsonpatch=require(_0x8729('0x1'));var rp=require(_0x8729('0x2'));var moment=require(_0x8729('0x3'));var BPromise=require(_0x8729('0x4'));var Mustache=require(_0x8729('0x5'));var util=require(_0x8729('0x6'));var path=require(_0x8729('0x7'));var sox=require(_0x8729('0x8'));var csv=require(_0x8729('0x9'));var ejs=require(_0x8729('0xa'));var fs=require('fs');var _=require('lodash');var squel=require(_0x8729('0xb'));var crypto=require(_0x8729('0xc'));var jsforce=require('jsforce');var deskjs=require(_0x8729('0xd'));var toCsv=require('to-csv');var querystring=require(_0x8729('0xe'));var Papa=require('papaparse');var Redis=require('ioredis');var authService=require(_0x8729('0xf'));var qs=require(_0x8729('0x10'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0x8729('0x11'));var logger=require(_0x8729('0x12'))(_0x8729('0x13'));var utils=require(_0x8729('0x14'));var config=require(_0x8729('0x15'));var db=require('../../mysqldb')['db'];config[_0x8729('0x16')]=_[_0x8729('0x17')](config[_0x8729('0x16')],{'host':_0x8729('0x18'),'port':0x18eb});var socket=require(_0x8729('0x19'))(new Redis(config[_0x8729('0x16')]));require(_0x8729('0x1a'))['register'](socket);var jayson=require(_0x8729('0x1b'));var client=jayson[_0x8729('0x1c')][_0x8729('0x1d')]({'port':0x232c});var client9002=jayson['client'][_0x8729('0x1d')]({'port':0x232a});function checkPasswordPattern(_0x151cec,_0x73ffeb,_0x2c26c6){if(_0x2c26c6){var _0x455551=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0x455551[_0x8729('0x1e')](_0x73ffeb)){return _0x151cec;}else{throw new db['Sequelize'][(_0x8729('0x1f'))](_0x8729('0x20'));}}else{return _0x151cec;}}function respondWithRpcPromise(_0x2cdb5d,_0xda4f6a,_0x2728c3,_0x403681){return new BPromise(function(_0x1b64be,_0x597cfa){var _0x2d5de8=_0x403681||client;return _0x2d5de8[_0x8729('0x21')](_0x2cdb5d,_0x2728c3)[_0x8729('0x22')](function(_0x583248){logger[_0x8729('0x23')](_0x8729('0x24'),_0xda4f6a,_0x8729('0x25'));logger[_0x8729('0x26')](_0x8729('0x27'),_0xda4f6a,_0x8729('0x25'),JSON[_0x8729('0x28')](_0x583248));if(_0x583248[_0x8729('0x29')]){if(_0x583248[_0x8729('0x29')]['code']===0x1f4){logger[_0x8729('0x29')](_0x8729('0x24'),_0xda4f6a,_0x583248[_0x8729('0x29')][_0x8729('0x2a')]);return _0x597cfa(_0x583248[_0x8729('0x29')][_0x8729('0x2a')]);}logger[_0x8729('0x29')](_0x8729('0x24'),_0xda4f6a,_0x583248[_0x8729('0x29')][_0x8729('0x2a')]);return _0x1b64be(_0x583248['error'][_0x8729('0x2a')]);}else{logger['info']('OpenchannelMessage,\x20%s,\x20%s',_0xda4f6a,_0x8729('0x25'));_0x1b64be(_0x583248[_0x8729('0x2b')][_0x8729('0x2a')]);}})[_0x8729('0x2c')](function(_0x10ab59){logger[_0x8729('0x29')](_0x8729('0x24'),_0xda4f6a,_0x10ab59);_0x597cfa(_0x10ab59);});});}function respondWithStatusCode(_0x761428,_0x112018){_0x112018=_0x112018||0xcc;return function(_0x120deb){if(_0x120deb){return _0x761428[_0x8729('0x2d')](_0x112018);}return _0x761428['status'](_0x112018)[_0x8729('0x2e')]();};}function respondWithResult(_0x3ef881,_0x575c2a){_0x575c2a=_0x575c2a||0xc8;return function(_0x2ef1a3){if(_0x2ef1a3){return _0x3ef881[_0x8729('0x2f')](_0x575c2a)[_0x8729('0x30')](_0x2ef1a3);}};}function respondWithFilteredResult(_0x75a223,_0x137fe2){return function(_0x1e18f7){if(_0x1e18f7){var _0x102e65=_0x1e18f7[_0x8729('0x31')],_0x509b40=_0x137fe2[_0x8729('0x32')],_0x19c168=_0x137fe2['offset']+_0x137fe2[_0x8729('0x33')],_0x3f0a9b;if(_0x19c168>=_0x102e65){_0x19c168=_0x102e65;_0x3f0a9b=0xc8;}else{_0x3f0a9b=0xce;}_0x75a223[_0x8729('0x2f')](_0x3f0a9b);return _0x75a223[_0x8729('0x34')](_0x8729('0x35'),_0x509b40+'-'+_0x19c168+'/'+_0x102e65)[_0x8729('0x30')](_0x1e18f7);}return null;};}function patchUpdates(_0x3e3872){return function(_0x591034){try{jsonpatch[_0x8729('0x36')](_0x591034,_0x3e3872,!![]);}catch(_0x1fb2ce){return BPromise[_0x8729('0x37')](_0x1fb2ce);}return _0x591034['save']();};}function saveUpdates(_0x2ef5df,_0x29c6ec){return function(_0x3db483){if(_0x3db483){return _0x3db483['update'](_0x2ef5df)[_0x8729('0x22')](function(_0x51bb77){return _0x51bb77;});}return null;};}function removeEntity(_0x15b4ee,_0x31eecd){return function(_0x367280){if(_0x367280){return _0x367280[_0x8729('0x38')]()[_0x8729('0x22')](function(){_0x15b4ee['status'](0xcc)[_0x8729('0x2e')]();});}};}function handleEntityNotFound(_0xa0f521,_0x3b3add){return function(_0x2d5ddb){if(!_0x2d5ddb){_0xa0f521[_0x8729('0x2d')](0x194);}return _0x2d5ddb;};}function handleError(_0x472e73,_0x23bb10){_0x23bb10=_0x23bb10||0x1f4;return function(_0x3b9f8e){logger[_0x8729('0x29')](_0x3b9f8e[_0x8729('0x39')]);if(_0x3b9f8e[_0x8729('0x3a')]){delete _0x3b9f8e[_0x8729('0x3a')];}_0x472e73['status'](_0x23bb10)[_0x8729('0x3b')](_0x3b9f8e);};}exports[_0x8729('0x3c')]=function(_0x2d6955,_0x88bfd0){var _0x3a4818={},_0x209e89={},_0x48a952={'count':0x0,'rows':[]};var _0x31f729=_[_0x8729('0x3d')](db[_0x8729('0x3e')][_0x8729('0x3f')],function(_0x52225e){return{'name':_0x52225e[_0x8729('0x40')],'type':_0x52225e[_0x8729('0x41')][_0x8729('0x42')]};});_0x209e89['model']=_[_0x8729('0x3d')](_0x31f729,_0x8729('0x3a'));_0x209e89[_0x8729('0x43')]=_[_0x8729('0x44')](_0x2d6955[_0x8729('0x43')]);_0x209e89[_0x8729('0x45')]=_[_0x8729('0x46')](_0x209e89[_0x8729('0x47')],_0x209e89[_0x8729('0x43')]);_0x3a4818['attributes']=_[_0x8729('0x46')](_0x209e89['model'],qs['fields'](_0x2d6955['query'][_0x8729('0x48')]));_0x3a4818[_0x8729('0x49')]=_0x3a4818['attributes'][_0x8729('0x4a')]?_0x3a4818[_0x8729('0x49')]:_0x209e89['model'];if(!_0x2d6955[_0x8729('0x43')]['hasOwnProperty'](_0x8729('0x4b'))){_0x3a4818[_0x8729('0x33')]=qs[_0x8729('0x33')](_0x2d6955[_0x8729('0x43')][_0x8729('0x33')]);_0x3a4818['offset']=qs['offset'](_0x2d6955[_0x8729('0x43')][_0x8729('0x32')]);}_0x3a4818[_0x8729('0x4c')]=qs[_0x8729('0x4d')](_0x2d6955[_0x8729('0x43')][_0x8729('0x4d')]);_0x3a4818[_0x8729('0x4e')]=qs[_0x8729('0x45')](_[_0x8729('0x4f')](_0x2d6955[_0x8729('0x43')],_0x209e89['filters']),_0x31f729);if(_0x2d6955[_0x8729('0x43')][_0x8729('0x50')]){_0x3a4818[_0x8729('0x4e')]=_[_0x8729('0x51')](_0x3a4818[_0x8729('0x4e')],{'$or':_[_0x8729('0x3d')](_0x31f729,function(_0x4fe27a){if(_0x4fe27a[_0x8729('0x41')]!==_0x8729('0x52')){var _0x3897d0={};_0x3897d0[_0x4fe27a['name']]={'$like':'%'+_0x2d6955['query'][_0x8729('0x50')]+'%'};return _0x3897d0;}})});}_0x3a4818=_[_0x8729('0x51')]({},_0x3a4818,_0x2d6955['options']);var _0xfba002={'where':_0x3a4818[_0x8729('0x4e')]};return db[_0x8729('0x3e')][_0x8729('0x31')](_0xfba002)[_0x8729('0x22')](function(_0x85471){_0x48a952['count']=_0x85471;if(_0x2d6955[_0x8729('0x43')][_0x8729('0x53')]){_0x3a4818[_0x8729('0x54')]=[{'all':!![]}];}return db[_0x8729('0x3e')][_0x8729('0x55')](_0x3a4818);})[_0x8729('0x22')](function(_0xf20d93){_0x48a952[_0x8729('0x56')]=_0xf20d93;return _0x48a952;})[_0x8729('0x22')](respondWithFilteredResult(_0x88bfd0,_0x3a4818))[_0x8729('0x2c')](handleError(_0x88bfd0,null));};exports[_0x8729('0x57')]=function(_0x372014,_0x32c87e){var _0x3b3f45={'raw':!![],'where':{'id':_0x372014['params']['id']}},_0x3f5c50={};_0x3f5c50[_0x8729('0x47')]=_[_0x8729('0x44')](db[_0x8729('0x3e')][_0x8729('0x3f')]);_0x3f5c50[_0x8729('0x43')]=_['keys'](_0x372014[_0x8729('0x43')]);_0x3f5c50[_0x8729('0x45')]=_['intersection'](_0x3f5c50[_0x8729('0x47')],_0x3f5c50[_0x8729('0x43')]);_0x3b3f45[_0x8729('0x49')]=_['intersection'](_0x3f5c50[_0x8729('0x47')],qs[_0x8729('0x48')](_0x372014['query'][_0x8729('0x48')]));_0x3b3f45[_0x8729('0x49')]=_0x3b3f45[_0x8729('0x49')][_0x8729('0x4a')]?_0x3b3f45[_0x8729('0x49')]:_0x3f5c50['model'];if(_0x372014['query'][_0x8729('0x53')]){_0x3b3f45[_0x8729('0x54')]=[{'all':!![]}];}_0x3b3f45=_['merge']({},_0x3b3f45,_0x372014[_0x8729('0x58')]);return db['OpenchannelMessage'][_0x8729('0x59')](_0x3b3f45)[_0x8729('0x22')](handleEntityNotFound(_0x32c87e,null))['then'](respondWithResult(_0x32c87e,null))[_0x8729('0x2c')](handleError(_0x32c87e,null));};exports[_0x8729('0x5a')]=function(_0x3cf65a,_0x221ccc){return db[_0x8729('0x3e')][_0x8729('0x5a')](_0x3cf65a[_0x8729('0x5b')],{})[_0x8729('0x22')](respondWithResult(_0x221ccc,0xc9))[_0x8729('0x2c')](handleError(_0x221ccc,null));};exports[_0x8729('0x5c')]=function(_0x4bc14a,_0xf73d51){if(_0x4bc14a[_0x8729('0x5b')]['id']){delete _0x4bc14a[_0x8729('0x5b')]['id'];}return db[_0x8729('0x3e')][_0x8729('0x59')]({'where':{'id':_0x4bc14a['params']['id']}})[_0x8729('0x22')](handleEntityNotFound(_0xf73d51,null))[_0x8729('0x22')](saveUpdates(_0x4bc14a[_0x8729('0x5b')],null))['then'](respondWithResult(_0xf73d51,null))[_0x8729('0x2c')](handleError(_0xf73d51,null));};exports[_0x8729('0x38')]=function(_0x3a6afe,_0x29e0f3){return db[_0x8729('0x3e')][_0x8729('0x59')]({'where':{'id':_0x3a6afe[_0x8729('0x5d')]['id']}})[_0x8729('0x22')](handleEntityNotFound(_0x29e0f3,null))[_0x8729('0x22')](removeEntity(_0x29e0f3,null))['catch'](handleError(_0x29e0f3,null));};exports['describe']=function(_0x15d804,_0x293599){return db[_0x8729('0x3e')][_0x8729('0x5e')]()[_0x8729('0x22')](respondWithResult(_0x293599,null))['catch'](handleError(_0x293599,null));};var interaction_log=require(_0x8729('0x12'))(_0x8729('0x5f'));exports[_0x8729('0x60')]=function(_0x3eb66b,_0x1bb18c,_0x1c15a4){var _0x1acef5={'channel':_0x8729('0x61')};if(_0x3eb66b[_0x8729('0x5b')]['id']){delete _0x3eb66b[_0x8729('0x5b')]['id'];}_0x3eb66b[_0x8729('0x5b')]['read']=!![];_0x3eb66b['body'][_0x8729('0x62')]=moment()[_0x8729('0x63')](_0x8729('0x64'));_0x3eb66b[_0x8729('0x5b')][_0x8729('0x65')]=_0x3eb66b[_0x8729('0x5b')][_0x8729('0x65')]||_0x3eb66b['user']['id'];return db[_0x8729('0x3e')]['find']({'where':{'id':_0x3eb66b['params']['id'],'UserId':null},'include':[{'model':db[_0x8729('0x66')],'as':_0x8729('0x67')}]})[_0x8729('0x22')](handleEntityNotFound(_0x1bb18c,null))[_0x8729('0x22')](saveUpdates(_0x3eb66b[_0x8729('0x5b')],null))[_0x8729('0x22')](function(_0x38f562){if(_0x38f562){_0x1acef5[_0x8729('0x2a')]=_0x38f562['get']({'plain':!![]});return db[_0x8729('0x68')]['find']({'where':{'id':_0x38f562[_0x8729('0x69')]}});}return null;})[_0x8729('0x22')](handleEntityNotFound(_0x1bb18c,null))[_0x8729('0x22')](function(_0x5f4bd8){if(_0x5f4bd8){return _0x5f4bd8[_0x8729('0x5c')]({'UserId':_0x3eb66b[_0x8729('0x5b')][_0x8729('0x65')],'read1stAt':_[_0x8729('0x6a')](_0x5f4bd8[_0x8729('0x6b')])?moment()[_0x8729('0x63')](_0x8729('0x64')):undefined});}return null;})[_0x8729('0x22')](function(_0x1ebdf2){if(_0x1ebdf2){_0x1acef5[_0x8729('0x6c')]=_0x1ebdf2[_0x8729('0x6d')]({'plain':!![]});interaction_log[_0x8729('0x23')](_0x8729('0x6e'),_0x3eb66b[_0x8729('0x6f')]['id'],_0x3eb66b[_0x8729('0x6f')][_0x8729('0x3a')],_0x3eb66b[_0x8729('0x6f')]['role'],_0x1acef5[_0x8729('0x6c')]['id'],_0x3eb66b[_0x8729('0x5b')]?JSON[_0x8729('0x28')](_0x3eb66b['body']):_0x8729('0x70'));return respondWithRpcPromise(_0x8729('0x71'),'acceptMessage',_0x1acef5);}return null;})[_0x8729('0x22')](function(_0x115295){if(_0x115295){if(_0x3eb66b['body'][_0x8729('0x72')]){_0x1acef5[_0x8729('0x2a')][_0x8729('0x73')]=util[_0x8729('0x63')](_0x8729('0x74'),_0x3eb66b[_0x8729('0x6f')]['name']);_0x1acef5[_0x8729('0x2a')][_0x8729('0x75')]=_0x1acef5[_0x8729('0x75')];_0x1acef5[_0x8729('0x2a')][_0x8729('0x76')]=_0x8729('0x60');return respondWithRpcPromise(_0x8729('0x77'),_0x8729('0x77'),{'event':_0x8729('0x78'),'message':_0x1acef5[_0x8729('0x2a')]},client9002)[_0x8729('0x22')](function(){return _0x1acef5;});}return _0x1acef5;}return null;})[_0x8729('0x22')](respondWithResult(_0x1bb18c,null))[_0x8729('0x2c')](handleError(_0x1bb18c,null));};var interaction_log=require(_0x8729('0x12'))('openchannel-interactions');exports['reject']=function(_0x2e3e7c,_0x59b7f7,_0x53d904){var _0x6a581a={'agent':{},'channel':_0x8729('0x61')};if(_0x2e3e7c[_0x8729('0x5b')]['id']){delete _0x2e3e7c[_0x8729('0x5b')]['id'];}_0x2e3e7c[_0x8729('0x5b')][_0x8729('0x65')]=_0x2e3e7c['body'][_0x8729('0x65')]||_0x2e3e7c[_0x8729('0x6f')]['id'];_0x6a581a[_0x8729('0x79')]['id']=_0x2e3e7c[_0x8729('0x5b')][_0x8729('0x65')];return db[_0x8729('0x3e')][_0x8729('0x59')]({'where':{'id':_0x2e3e7c[_0x8729('0x5d')]['id'],'UserId':null}})[_0x8729('0x22')](handleEntityNotFound(_0x59b7f7,null))[_0x8729('0x22')](function(_0xd93237){if(_0xd93237){_0x6a581a[_0x8729('0x2a')]=_0xd93237['get']({'plain':!![]});return db[_0x8729('0x68')][_0x8729('0x59')]({'where':{'id':_0xd93237[_0x8729('0x69')]}});}return null;})[_0x8729('0x22')](handleEntityNotFound(_0x59b7f7,null))[_0x8729('0x22')](function(_0x56598c){if(_0x56598c){_0x6a581a['interaction']=_0x56598c[_0x8729('0x6d')]({'plain':!![]});interaction_log[_0x8729('0x23')](_0x8729('0x7a'),_0x2e3e7c[_0x8729('0x6f')]['id'],_0x2e3e7c[_0x8729('0x6f')][_0x8729('0x3a')],_0x2e3e7c[_0x8729('0x6f')]['role'],_0x6a581a[_0x8729('0x6c')]['id'],_0x2e3e7c['body']?JSON[_0x8729('0x28')](_0x2e3e7c['body']):'null');return respondWithRpcPromise('RejectMessage','rejectMessage',_0x6a581a);}return null;})[_0x8729('0x22')](function(_0x3b47ec){if(_0x3b47ec){_0x3b47ec[_0x8729('0x2a')][_0x8729('0x73')]=util[_0x8729('0x63')]('SIP/%s',_0x2e3e7c[_0x8729('0x6f')]['name']);_0x3b47ec[_0x8729('0x2a')][_0x8729('0x75')]=_0x6a581a[_0x8729('0x75')];_0x3b47ec[_0x8729('0x2a')][_0x8729('0x76')]=_0x8729('0x37');respondWithRpcPromise('EventManager','EventManager',{'event':'rejectmessage','message':_0x3b47ec[_0x8729('0x2a')]},client9002);return _0x6a581a;}return null;})['then'](respondWithResult(_0x59b7f7,null))['catch'](handleError(_0x59b7f7,null));}; \ No newline at end of file diff --git a/server/api/openchannelMessage/openchannelMessage.events.js b/server/api/openchannelMessage/openchannelMessage.events.js index 439626e..bb3949d 100644 --- a/server/api/openchannelMessage/openchannelMessage.events.js +++ b/server/api/openchannelMessage/openchannelMessage.events.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x60cb=['remove','emit','exports','events','save','update'];(function(_0x2c5c27,_0xe98c8d){var _0x447b15=function(_0x2142e0){while(--_0x2142e0){_0x2c5c27['push'](_0x2c5c27['shift']());}};_0x447b15(++_0xe98c8d);}(_0x60cb,0x1e9));var _0xb60c=function(_0x1806a8,_0x487f25){_0x1806a8=_0x1806a8-0x0;var _0x52874c=_0x60cb[_0x1806a8];return _0x52874c;};'use strict';var EventEmitter=require(_0xb60c('0x0'));var OpenchannelMessage=require('../../mysqldb')['db']['OpenchannelMessage'];var OpenchannelMessageEvents=new EventEmitter();OpenchannelMessageEvents['setMaxListeners'](0x0);var events={'afterCreate':_0xb60c('0x1'),'afterUpdate':_0xb60c('0x2'),'afterDestroy':_0xb60c('0x3')};function emitEvent(_0x329549){return function(_0x39a92f,_0x2e23ac,_0x3ecc7e){OpenchannelMessageEvents[_0xb60c('0x4')](_0x329549+':'+_0x39a92f['id'],_0x39a92f);OpenchannelMessageEvents[_0xb60c('0x4')](_0x329549,_0x39a92f);_0x3ecc7e(null);};}for(var e in events){if(events['hasOwnProperty'](e)){var event=events[e];OpenchannelMessage['hook'](e,emitEvent(event));}}module[_0xb60c('0x5')]=OpenchannelMessageEvents; \ No newline at end of file +var _0xca37=['remove','hasOwnProperty','hook','exports','events','../../mysqldb','save','update'];(function(_0x43941d,_0x45fd0d){var _0x27b82a=function(_0x21851e){while(--_0x21851e){_0x43941d['push'](_0x43941d['shift']());}};_0x27b82a(++_0x45fd0d);}(_0xca37,0x8c));var _0x7ca3=function(_0x59bfba,_0x59f2bc){_0x59bfba=_0x59bfba-0x0;var _0x454149=_0xca37[_0x59bfba];return _0x454149;};'use strict';var EventEmitter=require(_0x7ca3('0x0'));var OpenchannelMessage=require(_0x7ca3('0x1'))['db']['OpenchannelMessage'];var OpenchannelMessageEvents=new EventEmitter();OpenchannelMessageEvents['setMaxListeners'](0x0);var events={'afterCreate':_0x7ca3('0x2'),'afterUpdate':_0x7ca3('0x3'),'afterDestroy':_0x7ca3('0x4')};function emitEvent(_0x203a94){return function(_0x219376,_0x31ee82,_0xfe3874){OpenchannelMessageEvents['emit'](_0x203a94+':'+_0x219376['id'],_0x219376);OpenchannelMessageEvents['emit'](_0x203a94,_0x219376);_0xfe3874(null);};}for(var e in events){if(events[_0x7ca3('0x5')](e)){var event=events[e];OpenchannelMessage[_0x7ca3('0x6')](e,emitEvent(event));}}module[_0x7ca3('0x7')]=OpenchannelMessageEvents; \ No newline at end of file diff --git a/server/api/openchannelMessage/openchannelMessage.model.js b/server/api/openchannelMessage/openchannelMessage.model.js index 6048287..137203a 100644 --- a/server/api/openchannelMessage/openchannelMessage.model.js +++ b/server/api/openchannelMessage/openchannelMessage.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x8e3c=['omit','POST','method','info','OpenchannelMessage,\x20%s,\x20%s','Message\x20%d\x20forwarded\x20to\x20%s','threadId','Interaction','update','catch','inspect','finally','utf8mb4','utf8mb4_unicode_ci','moment','bluebird','path','rimraf','../../config/environment','define','OpenchannelMessage','fti_openchannel_messages','body','FULLTEXT','models','get','toLowerCase','direction','out','secret','UserId','OpenchannelInteraction','findOne','createdAt','error','CmContact','describe','then','OpenchannelAccount','find','OpenchannelAccountId','Interactions','OpenchannelInteractionId','Contact','keys','replyUri','afterCreate','format','length'];(function(_0x57b54c,_0x54ce0d){var _0x59cc19=function(_0xa33bc6){while(--_0xa33bc6){_0x57b54c['push'](_0x57b54c['shift']());}};_0x59cc19(++_0x54ce0d);}(_0x8e3c,0xa1));var _0xc8e3=function(_0x49f666,_0x54b2b1){_0x49f666=_0x49f666-0x0;var _0x3f66af=_0x8e3c[_0x49f666];return _0x3f66af;};'use strict';var _=require('lodash');var util=require('util');var logger=require('../../config/logger')('api');var moment=require(_0xc8e3('0x0'));var BPromise=require(_0xc8e3('0x1'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xc8e3('0x2'));var rimraf=require(_0xc8e3('0x3'));var config=require(_0xc8e3('0x4'));var attributes=require('./openchannelMessage.attributes');module['exports']=function(_0x472ba8,_0xaa8edf){return _0x472ba8[_0xc8e3('0x5')](_0xc8e3('0x6'),attributes,{'tableName':'openchannel_messages','paranoid':![],'indexes':[{'name':_0xc8e3('0x7'),'fields':[_0xc8e3('0x8')],'type':_0xc8e3('0x9')}],'timestamps':!![],'hooks':{'afterCreate':function(_0xa99a92,_0x624700,_0x35d7fd){var _0x58b770=_0x472ba8[_0xc8e3('0xa')];var _0x22cc01=_0xa99a92[_0xc8e3('0xb')]({'plain':!![]});if(_0x22cc01['direction'][_0xc8e3('0xc')]()==='in'||_0x22cc01[_0xc8e3('0xd')][_0xc8e3('0xc')]()===_0xc8e3('0xe')&&!_0x22cc01[_0xc8e3('0xf')]&&!_['isNil'](_0x22cc01[_0xc8e3('0x10')])){_0x58b770[_0xc8e3('0x11')][_0xc8e3('0x12')]({'where':{'id':_0x22cc01['OpenchannelInteractionId']}})['then'](function(_0x40cbc8){if(_0x40cbc8){_0x40cbc8['update']({'lastMsgAt':_0x22cc01[_0xc8e3('0x13')],'lastMsgDirection':_0x22cc01[_0xc8e3('0xd')]['toLowerCase']()});}})['catch'](function(_0x69f355){console[_0xc8e3('0x14')](_0x69f355);});}if(_0x22cc01['direction']===_0xc8e3('0xe')&&!_0x22cc01[_0xc8e3('0xf')]){var _0x424cc5;_0x58b770[_0xc8e3('0x15')][_0xc8e3('0x16')]()[_0xc8e3('0x17')](function(_0x472caf){return _0x58b770[_0xc8e3('0x18')][_0xc8e3('0x19')]({'where':{'id':_0x22cc01[_0xc8e3('0x1a')]},'include':[{'model':_0x58b770[_0xc8e3('0x11')],'as':_0xc8e3('0x1b'),'where':{'id':_0x22cc01[_0xc8e3('0x1c')]},'limit':0x1,'include':[{'model':_0x58b770[_0xc8e3('0x15')],'as':_0xc8e3('0x1d'),'attributes':_[_0xc8e3('0x1e')](_0x472caf)}]}]});})[_0xc8e3('0x17')](function(_0x1fea24){_0x424cc5=_0x1fea24[_0xc8e3('0xb')]({'plain':!![]});if(_0x424cc5&&_0x424cc5[_0xc8e3('0x1f')]){logger['info']('OpenchannelMessage,\x20%s,\x20%s',_0xc8e3('0x20'),util[_0xc8e3('0x21')]('Forwarding\x20message\x20%d\x20to\x20%s',_0x22cc01['id'],_0x424cc5[_0xc8e3('0x1f')]));if(_0x424cc5['Interactions']&&_0x424cc5[_0xc8e3('0x1b')][_0xc8e3('0x22')]){_0x22cc01['Interaction']=_[_0xc8e3('0x23')](_0x424cc5['Interactions'][0x0],'Contact');_0x22cc01[_0xc8e3('0x1d')]=_0x424cc5['Interactions'][0x0]['Contact'];}var _0x624700={'method':_0xc8e3('0x24'),'uri':encodeURI(_0x424cc5['replyUri']),'json':!![],'resolveWithFullResponse':!![]};switch(_0x624700[_0xc8e3('0x25')]){case'GET':_0x624700['qs']=_0x22cc01;break;case _0xc8e3('0x24'):_0x624700[_0xc8e3('0x8')]=_0x22cc01;break;}return rp(_0x624700)[_0xc8e3('0x17')](function(_0x580b65){logger[_0xc8e3('0x26')](_0xc8e3('0x27'),_0xc8e3('0x20'),util[_0xc8e3('0x21')](_0xc8e3('0x28'),_0x22cc01['id'],_0x424cc5[_0xc8e3('0x1f')]));if(_0x580b65[_0xc8e3('0x8')][_0xc8e3('0x29')]&&_0x580b65[_0xc8e3('0x8')][_0xc8e3('0x29')]!=_0x22cc01[_0xc8e3('0x2a')]['threadId']){return _0x58b770[_0xc8e3('0x11')][_0xc8e3('0x2b')]({'threadId':_0x580b65[_0xc8e3('0x8')]['threadId']},{'logging':!![],'where':{'id':_0x22cc01[_0xc8e3('0x2a')]['id']}});}else{return;}})[_0xc8e3('0x17')](function(){return _0xa99a92[_0xc8e3('0x2b')]({'read':!![]});})[_0xc8e3('0x2c')](function(_0x59f75b){logger[_0xc8e3('0x14')](_0xc8e3('0x27'),_0xc8e3('0x20'),util[_0xc8e3('0x2d')](_0x59f75b,{'showHidden':![],'depth':null}));_0x35d7fd();});}else{_0x35d7fd();}})[_0xc8e3('0x2e')](function(){_0x35d7fd();});}else{_0x35d7fd();}}},'charset':_0xc8e3('0x2f'),'collate':_0xc8e3('0x30')});}; \ No newline at end of file +var _0x309f=['GET','afterCreate','Message\x20%d\x20forwarded\x20to\x20%s','threadId','inspect','finally','util','../../config/logger','bluebird','request-promise','path','../../config/environment','./openchannelMessage.attributes','define','OpenchannelMessage','openchannel_messages','fti_openchannel_messages','body','models','get','toLowerCase','direction','secret','UserId','OpenchannelInteraction','findOne','OpenchannelInteractionId','then','update','createdAt','catch','CmContact','describe','OpenchannelAccountId','Interactions','Contact','keys','replyUri','info','OpenchannelMessage,\x20%s,\x20%s','format','Forwarding\x20message\x20%d\x20to\x20%s','length','Interaction','omit','POST','method'];(function(_0x49b8b0,_0x325850){var _0x5807d7=function(_0x3a3224){while(--_0x3a3224){_0x49b8b0['push'](_0x49b8b0['shift']());}};_0x5807d7(++_0x325850);}(_0x309f,0x1dc));var _0xf309=function(_0xb6ad73,_0x46c32f){_0xb6ad73=_0xb6ad73-0x0;var _0x58d053=_0x309f[_0xb6ad73];return _0x58d053;};'use strict';var _=require('lodash');var util=require(_0xf309('0x0'));var logger=require(_0xf309('0x1'))('api');var moment=require('moment');var BPromise=require(_0xf309('0x2'));var rp=require(_0xf309('0x3'));var fs=require('fs');var path=require(_0xf309('0x4'));var rimraf=require('rimraf');var config=require(_0xf309('0x5'));var attributes=require(_0xf309('0x6'));module['exports']=function(_0x539077,_0x244815){return _0x539077[_0xf309('0x7')](_0xf309('0x8'),attributes,{'tableName':_0xf309('0x9'),'paranoid':![],'indexes':[{'name':_0xf309('0xa'),'fields':[_0xf309('0xb')],'type':'FULLTEXT'}],'timestamps':!![],'hooks':{'afterCreate':function(_0x3f116d,_0x27d1e1,_0x5ccd63){var _0x4ea2f1=_0x539077[_0xf309('0xc')];var _0x1ef152=_0x3f116d[_0xf309('0xd')]({'plain':!![]});if(_0x1ef152['direction'][_0xf309('0xe')]()==='in'||_0x1ef152[_0xf309('0xf')]['toLowerCase']()==='out'&&!_0x1ef152[_0xf309('0x10')]&&!_['isNil'](_0x1ef152[_0xf309('0x11')])){_0x4ea2f1[_0xf309('0x12')][_0xf309('0x13')]({'where':{'id':_0x1ef152[_0xf309('0x14')]}})[_0xf309('0x15')](function(_0x1f444d){if(_0x1f444d){_0x1f444d[_0xf309('0x16')]({'lastMsgAt':_0x1ef152[_0xf309('0x17')],'lastMsgDirection':_0x1ef152['direction'][_0xf309('0xe')]()});}})[_0xf309('0x18')](function(_0x157f36){console['error'](_0x157f36);});}if(_0x1ef152[_0xf309('0xf')]==='out'&&!_0x1ef152[_0xf309('0x10')]){var _0x58d6ce;_0x4ea2f1[_0xf309('0x19')][_0xf309('0x1a')]()[_0xf309('0x15')](function(_0x102f61){return _0x4ea2f1['OpenchannelAccount']['find']({'where':{'id':_0x1ef152[_0xf309('0x1b')]},'include':[{'model':_0x4ea2f1[_0xf309('0x12')],'as':_0xf309('0x1c'),'where':{'id':_0x1ef152['OpenchannelInteractionId']},'limit':0x1,'include':[{'model':_0x4ea2f1['CmContact'],'as':_0xf309('0x1d'),'attributes':_[_0xf309('0x1e')](_0x102f61)}]}]});})['then'](function(_0x34b621){_0x58d6ce=_0x34b621[_0xf309('0xd')]({'plain':!![]});if(_0x58d6ce&&_0x58d6ce[_0xf309('0x1f')]){logger[_0xf309('0x20')](_0xf309('0x21'),'afterCreate',util[_0xf309('0x22')](_0xf309('0x23'),_0x1ef152['id'],_0x58d6ce[_0xf309('0x1f')]));if(_0x58d6ce['Interactions']&&_0x58d6ce['Interactions'][_0xf309('0x24')]){_0x1ef152[_0xf309('0x25')]=_[_0xf309('0x26')](_0x58d6ce[_0xf309('0x1c')][0x0],_0xf309('0x1d'));_0x1ef152[_0xf309('0x1d')]=_0x58d6ce[_0xf309('0x1c')][0x0][_0xf309('0x1d')];}var _0x27d1e1={'method':_0xf309('0x27'),'uri':encodeURI(_0x58d6ce[_0xf309('0x1f')]),'json':!![],'resolveWithFullResponse':!![]};switch(_0x27d1e1[_0xf309('0x28')]){case _0xf309('0x29'):_0x27d1e1['qs']=_0x1ef152;break;case _0xf309('0x27'):_0x27d1e1['body']=_0x1ef152;break;}return rp(_0x27d1e1)[_0xf309('0x15')](function(_0x116114){logger[_0xf309('0x20')](_0xf309('0x21'),_0xf309('0x2a'),util[_0xf309('0x22')](_0xf309('0x2b'),_0x1ef152['id'],_0x58d6ce[_0xf309('0x1f')]));if(_0x116114['body'][_0xf309('0x2c')]&&_0x116114[_0xf309('0xb')]['threadId']!=_0x1ef152['Interaction'][_0xf309('0x2c')]){return _0x4ea2f1['OpenchannelInteraction']['update']({'threadId':_0x116114[_0xf309('0xb')]['threadId']},{'logging':!![],'where':{'id':_0x1ef152[_0xf309('0x25')]['id']}});}else{return;}})['then'](function(){return _0x3f116d[_0xf309('0x16')]({'read':!![]});})[_0xf309('0x18')](function(_0x3f67a6){logger['error'](_0xf309('0x21'),'afterCreate',util[_0xf309('0x2d')](_0x3f67a6,{'showHidden':![],'depth':null}));_0x5ccd63();});}else{_0x5ccd63();}})[_0xf309('0x2e')](function(){_0x5ccd63();});}else{_0x5ccd63();}}},'charset':'utf8mb4','collate':'utf8mb4_unicode_ci'});}; \ No newline at end of file diff --git a/server/api/openchannelMessage/openchannelMessage.rpc.js b/server/api/openchannelMessage/openchannelMessage.rpc.js index 9c10ac5..922cec9 100644 --- a/server/api/openchannelMessage/openchannelMessage.rpc.js +++ b/server/api/openchannelMessage/openchannelMessage.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xaa37=['OpenchannelMessage','body','options','raw','stringify','lodash','util','moment','bluebird','ioredis','../../mysqldb','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','http','redis','localhost','socket.io-emitter','./openchannelMessage.socket','register','then','info','OpenchannelMessage,\x20%s,\x20%s','debug','OpenchannelMessage,\x20%s,\x20%s,\x20%s','error','code','message','result','catch','CreateOpenchannelMessage'];(function(_0x132c05,_0x445e31){var _0x43f2c4=function(_0x411b40){while(--_0x411b40){_0x132c05['push'](_0x132c05['shift']());}};_0x43f2c4(++_0x445e31);}(_0xaa37,0x1d3));var _0x7aa3=function(_0x33032e,_0x31411a){_0x33032e=_0x33032e-0x0;var _0x13316b=_0xaa37[_0x33032e];return _0x13316b;};'use strict';var _=require(_0x7aa3('0x0'));var util=require(_0x7aa3('0x1'));var moment=require(_0x7aa3('0x2'));var BPromise=require(_0x7aa3('0x3'));var rs=require('randomstring');var fs=require('fs');var Redis=require(_0x7aa3('0x4'));var db=require(_0x7aa3('0x5'))['db'];var utils=require(_0x7aa3('0x6'));var logger=require(_0x7aa3('0x7'))(_0x7aa3('0x8'));var config=require(_0x7aa3('0x9'));var jayson=require(_0x7aa3('0xa'));var client=jayson['client'][_0x7aa3('0xb')]({'port':0x232a});config[_0x7aa3('0xc')]=_['defaults'](config[_0x7aa3('0xc')],{'host':_0x7aa3('0xd'),'port':0x18eb});var socket=require(_0x7aa3('0xe'))(new Redis(config['redis']));require(_0x7aa3('0xf'))[_0x7aa3('0x10')](socket);function respondWithRpcPromise(_0x321fd3,_0x1725d1,_0x10aa91){return new BPromise(function(_0x67838e,_0x5aa7f2){return client['request'](_0x321fd3,_0x10aa91)[_0x7aa3('0x11')](function(_0x509eb9){logger[_0x7aa3('0x12')](_0x7aa3('0x13'),_0x1725d1,'request\x20sent');logger[_0x7aa3('0x14')](_0x7aa3('0x15'),_0x1725d1,'request\x20sent',JSON['stringify'](_0x509eb9));if(_0x509eb9['error']){if(_0x509eb9[_0x7aa3('0x16')][_0x7aa3('0x17')]===0x1f4){logger[_0x7aa3('0x16')](_0x7aa3('0x13'),_0x1725d1,_0x509eb9[_0x7aa3('0x16')]['message']);return _0x5aa7f2(_0x509eb9[_0x7aa3('0x16')][_0x7aa3('0x18')]);}logger[_0x7aa3('0x16')](_0x7aa3('0x13'),_0x1725d1,_0x509eb9['error']['message']);return _0x67838e(_0x509eb9[_0x7aa3('0x16')]['message']);}else{logger[_0x7aa3('0x12')](_0x7aa3('0x13'),_0x1725d1,'request\x20sent');_0x67838e(_0x509eb9[_0x7aa3('0x19')][_0x7aa3('0x18')]);}})[_0x7aa3('0x1a')](function(_0x357564){logger[_0x7aa3('0x16')]('OpenchannelMessage,\x20%s,\x20%s',_0x1725d1,_0x357564);_0x5aa7f2(_0x357564);});});}exports[_0x7aa3('0x1b')]=function(_0x266529){var _0x5defea=this;return new Promise(function(_0xb8d364,_0x2360d1){return db[_0x7aa3('0x1c')]['create'](_0x266529[_0x7aa3('0x1d')],{'raw':_0x266529[_0x7aa3('0x1e')]?_0x266529[_0x7aa3('0x1e')][_0x7aa3('0x1f')]===undefined?!![]:![]:!![]})[_0x7aa3('0x11')](function(_0x49a566){logger[_0x7aa3('0x12')](_0x7aa3('0x1b'),_0x266529);logger[_0x7aa3('0x14')](_0x7aa3('0x1b'),_0x266529,JSON[_0x7aa3('0x20')](_0x49a566));_0xb8d364(_0x49a566);})[_0x7aa3('0x1a')](function(_0x25bc1f){logger[_0x7aa3('0x16')](_0x7aa3('0x1b'),_0x25bc1f[_0x7aa3('0x18')],_0x266529);_0x2360d1(_0x5defea[_0x7aa3('0x16')](0x1f4,_0x25bc1f[_0x7aa3('0x18')]));});});}; \ No newline at end of file +var _0x7524=['./openchannelMessage.socket','register','request','then','OpenchannelMessage,\x20%s,\x20%s','request\x20sent','debug','OpenchannelMessage,\x20%s,\x20%s,\x20%s','stringify','error','code','message','info','result','catch','CreateOpenchannelMessage','create','body','options','raw','util','moment','randomstring','ioredis','../../config/logger','../../config/environment','jayson/promise','client','http','redis','localhost'];(function(_0x2632ce,_0x3b7a5e){var _0x48702e=function(_0x137fba){while(--_0x137fba){_0x2632ce['push'](_0x2632ce['shift']());}};_0x48702e(++_0x3b7a5e);}(_0x7524,0xce));var _0x4752=function(_0x387ea7,_0x4e9b21){_0x387ea7=_0x387ea7-0x0;var _0x25f855=_0x7524[_0x387ea7];return _0x25f855;};'use strict';var _=require('lodash');var util=require(_0x4752('0x0'));var moment=require(_0x4752('0x1'));var BPromise=require('bluebird');var rs=require(_0x4752('0x2'));var fs=require('fs');var Redis=require(_0x4752('0x3'));var db=require('../../mysqldb')['db'];var utils=require('../../config/utils');var logger=require(_0x4752('0x4'))('rpc');var config=require(_0x4752('0x5'));var jayson=require(_0x4752('0x6'));var client=jayson[_0x4752('0x7')][_0x4752('0x8')]({'port':0x232a});config[_0x4752('0x9')]=_['defaults'](config[_0x4752('0x9')],{'host':_0x4752('0xa'),'port':0x18eb});var socket=require('socket.io-emitter')(new Redis(config['redis']));require(_0x4752('0xb'))[_0x4752('0xc')](socket);function respondWithRpcPromise(_0x3ffa66,_0x1c83b9,_0x52b972){return new BPromise(function(_0x12fd37,_0x2a83fd){return client[_0x4752('0xd')](_0x3ffa66,_0x52b972)[_0x4752('0xe')](function(_0xcf0104){logger['info'](_0x4752('0xf'),_0x1c83b9,_0x4752('0x10'));logger[_0x4752('0x11')](_0x4752('0x12'),_0x1c83b9,_0x4752('0x10'),JSON[_0x4752('0x13')](_0xcf0104));if(_0xcf0104[_0x4752('0x14')]){if(_0xcf0104['error'][_0x4752('0x15')]===0x1f4){logger['error'](_0x4752('0xf'),_0x1c83b9,_0xcf0104[_0x4752('0x14')][_0x4752('0x16')]);return _0x2a83fd(_0xcf0104[_0x4752('0x14')][_0x4752('0x16')]);}logger[_0x4752('0x14')](_0x4752('0xf'),_0x1c83b9,_0xcf0104['error'][_0x4752('0x16')]);return _0x12fd37(_0xcf0104[_0x4752('0x14')]['message']);}else{logger[_0x4752('0x17')]('OpenchannelMessage,\x20%s,\x20%s',_0x1c83b9,_0x4752('0x10'));_0x12fd37(_0xcf0104[_0x4752('0x18')]['message']);}})[_0x4752('0x19')](function(_0x4b95f8){logger['error'](_0x4752('0xf'),_0x1c83b9,_0x4b95f8);_0x2a83fd(_0x4b95f8);});});}exports[_0x4752('0x1a')]=function(_0x3374d4){var _0x384043=this;return new Promise(function(_0x285892,_0x3142b){return db['OpenchannelMessage'][_0x4752('0x1b')](_0x3374d4[_0x4752('0x1c')],{'raw':_0x3374d4[_0x4752('0x1d')]?_0x3374d4[_0x4752('0x1d')][_0x4752('0x1e')]===undefined?!![]:![]:!![]})[_0x4752('0xe')](function(_0x593c2d){logger[_0x4752('0x17')](_0x4752('0x1a'),_0x3374d4);logger['debug'](_0x4752('0x1a'),_0x3374d4,JSON[_0x4752('0x13')](_0x593c2d));_0x285892(_0x593c2d);})[_0x4752('0x19')](function(_0x27a93a){logger[_0x4752('0x14')](_0x4752('0x1a'),_0x27a93a[_0x4752('0x16')],_0x3374d4);_0x3142b(_0x384043[_0x4752('0x14')](0x1f4,_0x27a93a[_0x4752('0x16')]));});});}; \ No newline at end of file diff --git a/server/api/openchannelMessage/openchannelMessage.socket.js b/server/api/openchannelMessage/openchannelMessage.socket.js index 0a03304..6fea0ab 100644 --- a/server/api/openchannelMessage/openchannelMessage.socket.js +++ b/server/api/openchannelMessage/openchannelMessage.socket.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xf4eb=['removeListener','register','./openchannelMessage.events'];(function(_0x2673bb,_0x292576){var _0x3edc1c=function(_0x210d91){while(--_0x210d91){_0x2673bb['push'](_0x2673bb['shift']());}};_0x3edc1c(++_0x292576);}(_0xf4eb,0xec));var _0xbf4e=function(_0x2d484c,_0xd5a45b){_0x2d484c=_0x2d484c-0x0;var _0x14d439=_0xf4eb[_0x2d484c];return _0x14d439;};'use strict';var OpenchannelMessageEvents=require(_0xbf4e('0x0'));var events=['save','remove','update'];function createListener(_0x5ed5b9,_0xbbbf01){return function(_0x49d80e){_0xbbbf01['emit'](_0x5ed5b9,_0x49d80e);};}function removeListener(_0x2e3070,_0x1c7606){return function(){OpenchannelMessageEvents[_0xbf4e('0x1')](_0x2e3070,_0x1c7606);};}exports[_0xbf4e('0x2')]=function(_0xa4dcf5){for(var _0x2fcfed=0x0,_0x15b99f=events['length'];_0x2fcfed<_0x15b99f;_0x2fcfed++){var _0x449d55=events[_0x2fcfed];var _0x5013c2=createListener('openchannelMessage:'+_0x449d55,_0xa4dcf5);OpenchannelMessageEvents['on'](_0x449d55,_0x5013c2);}}; \ No newline at end of file +var _0xb43b=['./openchannelMessage.events','save','update','emit','removeListener','length','openchannelMessage:'];(function(_0x201211,_0x2e2788){var _0x3641da=function(_0xfb58b4){while(--_0xfb58b4){_0x201211['push'](_0x201211['shift']());}};_0x3641da(++_0x2e2788);}(_0xb43b,0x1b2));var _0xbb43=function(_0x4fb02c,_0x1430fd){_0x4fb02c=_0x4fb02c-0x0;var _0x32f6e8=_0xb43b[_0x4fb02c];return _0x32f6e8;};'use strict';var OpenchannelMessageEvents=require(_0xbb43('0x0'));var events=[_0xbb43('0x1'),'remove',_0xbb43('0x2')];function createListener(_0x1995f8,_0x22bc86){return function(_0x4cf605){_0x22bc86[_0xbb43('0x3')](_0x1995f8,_0x4cf605);};}function removeListener(_0x41aff6,_0x351254){return function(){OpenchannelMessageEvents[_0xbb43('0x4')](_0x41aff6,_0x351254);};}exports['register']=function(_0x491fb9){for(var _0x378df5=0x0,_0x553520=events[_0xbb43('0x5')];_0x378df5<_0x553520;_0x378df5++){var _0x1ccd49=events[_0x378df5];var _0x2a2f11=createListener(_0xbb43('0x6')+_0x1ccd49,_0x491fb9);OpenchannelMessageEvents['on'](_0x1ccd49,_0x2a2f11);}}; \ No newline at end of file diff --git a/server/api/openchannelQueue/index.js b/server/api/openchannelQueue/index.js index a18f278..d072675 100644 --- a/server/api/openchannelQueue/index.js +++ b/server/api/openchannelQueue/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xb138=['get','index','isAuthenticated','describe','show','getMembers','/:id/teams','/:id/users','getAgents','post','addAgents','put','/:id','delete','destroy','removeTeams','removeAgents','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../config/environment','./openchannelQueue.controller'];(function(_0x30cc4e,_0x172723){var _0x264688=function(_0x1503e7){while(--_0x1503e7){_0x30cc4e['push'](_0x30cc4e['shift']());}};_0x264688(++_0x172723);}(_0xb138,0x1dd));var _0x8b13=function(_0x156ab9,_0x27509a){_0x156ab9=_0x156ab9-0x0;var _0x1feb8b=_0xb138[_0x156ab9];return _0x1feb8b;};'use strict';var multer=require(_0x8b13('0x0'));var util=require(_0x8b13('0x1'));var path=require(_0x8b13('0x2'));var timeout=require(_0x8b13('0x3'));var express=require(_0x8b13('0x4'));var router=express[_0x8b13('0x5')]();var auth=require(_0x8b13('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x8b13('0x7'));var controller=require(_0x8b13('0x8'));router[_0x8b13('0x9')]('/',auth['isAuthenticated'](),controller[_0x8b13('0xa')]);router[_0x8b13('0x9')]('/describe',auth[_0x8b13('0xb')](),controller[_0x8b13('0xc')]);router[_0x8b13('0x9')]('/:id',auth[_0x8b13('0xb')](),controller[_0x8b13('0xd')]);router['get']('/:id/members',auth[_0x8b13('0xb')](),controller[_0x8b13('0xe')]);router[_0x8b13('0x9')](_0x8b13('0xf'),auth[_0x8b13('0xb')](),controller['getTeams']);router[_0x8b13('0x9')](_0x8b13('0x10'),auth[_0x8b13('0xb')](),controller[_0x8b13('0x11')]);router[_0x8b13('0x12')]('/',auth[_0x8b13('0xb')](),controller['create']);router['post'](_0x8b13('0xf'),auth[_0x8b13('0xb')](),controller['addTeams']);router['post']('/:id/users',auth[_0x8b13('0xb')](),controller[_0x8b13('0x13')]);router[_0x8b13('0x14')](_0x8b13('0x15'),auth[_0x8b13('0xb')](),controller['update']);router[_0x8b13('0x16')](_0x8b13('0x15'),auth[_0x8b13('0xb')](),controller[_0x8b13('0x17')]);router[_0x8b13('0x16')](_0x8b13('0xf'),auth[_0x8b13('0xb')](),controller[_0x8b13('0x18')]);router['delete']('/:id/users',auth[_0x8b13('0xb')](),controller[_0x8b13('0x19')]);module[_0x8b13('0x1a')]=router; \ No newline at end of file +var _0xdfe7=['destroy','removeTeams','removeAgents','exports','util','path','express','Router','../../components/auth/service','../../components/interaction/service','./openchannelQueue.controller','get','index','/describe','isAuthenticated','/:id','show','/:id/members','getMembers','/:id/teams','getTeams','/:id/users','addTeams','post','addAgents','put','update','delete'];(function(_0x1ee969,_0xf4de44){var _0x408ea5=function(_0x20e5f5){while(--_0x20e5f5){_0x1ee969['push'](_0x1ee969['shift']());}};_0x408ea5(++_0xf4de44);}(_0xdfe7,0xc8));var _0x7dfe=function(_0x1ca4e5,_0x289145){_0x1ca4e5=_0x1ca4e5-0x0;var _0x15f77b=_0xdfe7[_0x1ca4e5];return _0x15f77b;};'use strict';var multer=require('multer');var util=require(_0x7dfe('0x0'));var path=require(_0x7dfe('0x1'));var timeout=require('connect-timeout');var express=require(_0x7dfe('0x2'));var router=express[_0x7dfe('0x3')]();var auth=require(_0x7dfe('0x4'));var interaction=require(_0x7dfe('0x5'));var config=require('../../config/environment');var controller=require(_0x7dfe('0x6'));router[_0x7dfe('0x7')]('/',auth['isAuthenticated'](),controller[_0x7dfe('0x8')]);router[_0x7dfe('0x7')](_0x7dfe('0x9'),auth[_0x7dfe('0xa')](),controller['describe']);router[_0x7dfe('0x7')](_0x7dfe('0xb'),auth[_0x7dfe('0xa')](),controller[_0x7dfe('0xc')]);router['get'](_0x7dfe('0xd'),auth[_0x7dfe('0xa')](),controller[_0x7dfe('0xe')]);router[_0x7dfe('0x7')](_0x7dfe('0xf'),auth['isAuthenticated'](),controller[_0x7dfe('0x10')]);router[_0x7dfe('0x7')](_0x7dfe('0x11'),auth[_0x7dfe('0xa')](),controller['getAgents']);router['post']('/',auth[_0x7dfe('0xa')](),controller['create']);router['post'](_0x7dfe('0xf'),auth['isAuthenticated'](),controller[_0x7dfe('0x12')]);router[_0x7dfe('0x13')](_0x7dfe('0x11'),auth['isAuthenticated'](),controller[_0x7dfe('0x14')]);router[_0x7dfe('0x15')](_0x7dfe('0xb'),auth[_0x7dfe('0xa')](),controller[_0x7dfe('0x16')]);router[_0x7dfe('0x17')](_0x7dfe('0xb'),auth[_0x7dfe('0xa')](),controller[_0x7dfe('0x18')]);router[_0x7dfe('0x17')](_0x7dfe('0xf'),auth[_0x7dfe('0xa')](),controller[_0x7dfe('0x19')]);router['delete']('/:id/users',auth[_0x7dfe('0xa')](),controller[_0x7dfe('0x1a')]);module[_0x7dfe('0x1b')]=router; \ No newline at end of file diff --git a/server/api/openchannelQueue/openchannelQueue.attributes.js b/server/api/openchannelQueue/openchannelQueue.attributes.js index 14279a2..ae00160 100644 --- a/server/api/openchannelQueue/openchannelQueue.attributes.js +++ b/server/api/openchannelQueue/openchannelQueue.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x77a9=['sequelize','STRING','INTEGER','ENUM','rrmemory','roundrobin'];(function(_0x31ca4c,_0x16e04c){var _0x22d4f7=function(_0x3c9174){while(--_0x3c9174){_0x31ca4c['push'](_0x31ca4c['shift']());}};_0x22d4f7(++_0x16e04c);}(_0x77a9,0x19e));var _0x977a=function(_0x1e267a,_0x3ab894){_0x1e267a=_0x1e267a-0x0;var _0x4f8c89=_0x77a9[_0x1e267a];return _0x4f8c89;};'use strict';var Sequelize=require(_0x977a('0x0'));module['exports']={'name':{'type':Sequelize[_0x977a('0x1')],'unique':'name','validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize[_0x977a('0x1')]},'timeout':{'type':Sequelize[_0x977a('0x2')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize[_0x977a('0x3')](_0x977a('0x4'),'beepall',_0x977a('0x5'))}}; \ No newline at end of file +var _0x74e6=['name','INTEGER','rrmemory','beepall','roundrobin','sequelize','exports','STRING'];(function(_0xe97f70,_0x5aa742){var _0x52be14=function(_0x1fec9e){while(--_0x1fec9e){_0xe97f70['push'](_0xe97f70['shift']());}};_0x52be14(++_0x5aa742);}(_0x74e6,0xed));var _0x674e=function(_0x11ecce,_0x325c3d){_0x11ecce=_0x11ecce-0x0;var _0x57f2da=_0x74e6[_0x11ecce];return _0x57f2da;};'use strict';var Sequelize=require(_0x674e('0x0'));module[_0x674e('0x1')]={'name':{'type':Sequelize[_0x674e('0x2')],'unique':_0x674e('0x3'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize['STRING']},'timeout':{'type':Sequelize[_0x674e('0x4')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize['ENUM'](_0x674e('0x5'),_0x674e('0x6'),_0x674e('0x7'))}}; \ No newline at end of file diff --git a/server/api/openchannelQueue/openchannelQueue.controller.js b/server/api/openchannelQueue/openchannelQueue.controller.js index 32c6f48..7b0bf75 100644 --- a/server/api/openchannelQueue/openchannelQueue.controller.js +++ b/server/api/openchannelQueue/openchannelQueue.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xcae1=['SELECT','every','TeamId','includes','all','union','compact','value','isEmpty','removeAgents','emit','addAgents','spread','isArray','userOpenchannelQueue:remove','getAgents','eml-format','zip-dir','fast-json-patch','moment','util','path','to-csv','ejs','lodash','crypto','jsforce','desk.js','querystring','ioredis','../../components/auth/service','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','redis','defaults','socket.io-emitter','register','sendStatus','status','end','count','offset','limit','set','apply','reject','save','update','then','destroy','get','UserProfileResource','error','name','send','index','map','OpenchannelQueue','rawAttributes','fieldName','type','key','model','query','filters','intersection','fields','attributes','length','hasOwnProperty','order','sort','where','pick','VIRTUAL','filter','includeAll','include','findAll','rows','catch','show','params','keys','options','create','body','user','Unable\x20to\x20retrieve\x20the\x20current\x20user','role','OpenchannelQueues','UserProfileSection','find','userProfileId','autoAssociation','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','describe','getMembers','findOne','UserOpenchannelQueue','OpenchannelQueueId','merge','User','findAndCountAll','agent','updatedAt','createdAt','format','%s/%s','SIP','openchannelPause','getTeams','Team','nolimit','addTeams','Agents','online','voicePause','interface','transaction','each','findOrCreate','forEach','userOpenchannelQueue:save','removeTeams','ids','select','field','tq.TeamId','from','team_has_openchannel_queues','user_has_teams','clone','ut.UserId\x20=\x20?','push','sequelize','QueryTypes'];(function(_0x59be39,_0x38558d){var _0x136795=function(_0x5e499f){while(--_0x5e499f){_0x59be39['push'](_0x59be39['shift']());}};_0x136795(++_0x38558d);}(_0xcae1,0x12a));var _0x1cae=function(_0x4ca922,_0x11f8d6){_0x4ca922=_0x4ca922-0x0;var _0x3feb75=_0xcae1[_0x4ca922];return _0x3feb75;};'use strict';var pdf=require('html-pdf');var emlformat=require(_0x1cae('0x0'));var rimraf=require('rimraf');var zipdir=require(_0x1cae('0x1'));var jsonpatch=require(_0x1cae('0x2'));var rp=require('request-promise');var moment=require(_0x1cae('0x3'));var BPromise=require('bluebird');var Mustache=require('mustache');var util=require(_0x1cae('0x4'));var path=require(_0x1cae('0x5'));var sox=require('sox');var csv=require(_0x1cae('0x6'));var ejs=require(_0x1cae('0x7'));var fs=require('fs');var _=require(_0x1cae('0x8'));var squel=require('squel');var crypto=require(_0x1cae('0x9'));var jsforce=require(_0x1cae('0xa'));var deskjs=require(_0x1cae('0xb'));var toCsv=require(_0x1cae('0x6'));var querystring=require(_0x1cae('0xc'));var Papa=require('papaparse');var Redis=require(_0x1cae('0xd'));var authService=require(_0x1cae('0xe'));var qs=require('../../components/parsers/qs');var as=require(_0x1cae('0xf'));var hardwareService=require(_0x1cae('0x10'));var logger=require(_0x1cae('0x11'))(_0x1cae('0x12'));var utils=require(_0x1cae('0x13'));var config=require(_0x1cae('0x14'));var db=require('../../mysqldb')['db'];config[_0x1cae('0x15')]=_[_0x1cae('0x16')](config[_0x1cae('0x15')],{'host':'localhost','port':0x18eb});var socket=require(_0x1cae('0x17'))(new Redis(config['redis']));require('./openchannelQueue.socket')[_0x1cae('0x18')](socket);function respondWithStatusCode(_0xc496c9,_0x44eda3){_0x44eda3=_0x44eda3||0xcc;return function(_0x4e08dc){if(_0x4e08dc){return _0xc496c9[_0x1cae('0x19')](_0x44eda3);}return _0xc496c9[_0x1cae('0x1a')](_0x44eda3)[_0x1cae('0x1b')]();};}function respondWithResult(_0x393dc7,_0x3ec8ea){_0x3ec8ea=_0x3ec8ea||0xc8;return function(_0x563b91){if(_0x563b91){return _0x393dc7['status'](_0x3ec8ea)['json'](_0x563b91);}};}function respondWithFilteredResult(_0x8136fc,_0x4369e7){return function(_0x3bc2db){if(_0x3bc2db){var _0x18fd20=_0x3bc2db[_0x1cae('0x1c')],_0x39f410=_0x4369e7[_0x1cae('0x1d')],_0x231494=_0x4369e7[_0x1cae('0x1d')]+_0x4369e7[_0x1cae('0x1e')],_0xd6002a;if(_0x231494>=_0x18fd20){_0x231494=_0x18fd20;_0xd6002a=0xc8;}else{_0xd6002a=0xce;}_0x8136fc[_0x1cae('0x1a')](_0xd6002a);return _0x8136fc[_0x1cae('0x1f')]('Content-Range',_0x39f410+'-'+_0x231494+'/'+_0x18fd20)['json'](_0x3bc2db);}return null;};}function patchUpdates(_0x355681){return function(_0x40b9d6){try{jsonpatch[_0x1cae('0x20')](_0x40b9d6,_0x355681,!![]);}catch(_0x5c58e8){return BPromise[_0x1cae('0x21')](_0x5c58e8);}return _0x40b9d6[_0x1cae('0x22')]();};}function saveUpdates(_0x3f9475,_0x5b6ccf){return function(_0x29b0e5){if(_0x29b0e5){return _0x29b0e5[_0x1cae('0x23')](_0x3f9475)[_0x1cae('0x24')](function(_0x451a74){return _0x451a74;});}return null;};}function removeEntity(_0x5163b1,_0x141ce4){return function(_0x31f3c8){if(_0x31f3c8){return _0x31f3c8[_0x1cae('0x25')]()[_0x1cae('0x24')](function(){var _0x1cebae=_0x31f3c8[_0x1cae('0x26')]({'plain':!![]});var _0x11d25c='OpenchannelQueues';return db[_0x1cae('0x27')][_0x1cae('0x25')]({'where':{'type':_0x11d25c,'resourceId':_0x1cebae['id']}})[_0x1cae('0x24')](function(){return _0x31f3c8;});})[_0x1cae('0x24')](function(){_0x5163b1[_0x1cae('0x1a')](0xcc)['end']();});}};}function handleEntityNotFound(_0x5224e6,_0xfc1abd){return function(_0x1c22ed){if(!_0x1c22ed){_0x5224e6[_0x1cae('0x19')](0x194);}return _0x1c22ed;};}function handleError(_0x42bf17,_0x240512){_0x240512=_0x240512||0x1f4;return function(_0x1a20e1){logger[_0x1cae('0x28')](_0x1a20e1['stack']);if(_0x1a20e1[_0x1cae('0x29')]){delete _0x1a20e1[_0x1cae('0x29')];}_0x42bf17[_0x1cae('0x1a')](_0x240512)[_0x1cae('0x2a')](_0x1a20e1);};}exports[_0x1cae('0x2b')]=function(_0xa8b3b7,_0x774391){var _0x2e6101={},_0x4578fd={},_0x32f7c6={'count':0x0,'rows':[]};var _0x4ddb32=_[_0x1cae('0x2c')](db[_0x1cae('0x2d')][_0x1cae('0x2e')],function(_0x5b72f7){return{'name':_0x5b72f7[_0x1cae('0x2f')],'type':_0x5b72f7[_0x1cae('0x30')][_0x1cae('0x31')]};});_0x4578fd[_0x1cae('0x32')]=_[_0x1cae('0x2c')](_0x4ddb32,_0x1cae('0x29'));_0x4578fd[_0x1cae('0x33')]=_['keys'](_0xa8b3b7[_0x1cae('0x33')]);_0x4578fd[_0x1cae('0x34')]=_['intersection'](_0x4578fd[_0x1cae('0x32')],_0x4578fd['query']);_0x2e6101['attributes']=_[_0x1cae('0x35')](_0x4578fd[_0x1cae('0x32')],qs[_0x1cae('0x36')](_0xa8b3b7[_0x1cae('0x33')][_0x1cae('0x36')]));_0x2e6101[_0x1cae('0x37')]=_0x2e6101['attributes'][_0x1cae('0x38')]?_0x2e6101[_0x1cae('0x37')]:_0x4578fd[_0x1cae('0x32')];if(!_0xa8b3b7[_0x1cae('0x33')][_0x1cae('0x39')]('nolimit')){_0x2e6101['limit']=qs['limit'](_0xa8b3b7[_0x1cae('0x33')][_0x1cae('0x1e')]);_0x2e6101['offset']=qs['offset'](_0xa8b3b7[_0x1cae('0x33')]['offset']);}_0x2e6101[_0x1cae('0x3a')]=qs[_0x1cae('0x3b')](_0xa8b3b7[_0x1cae('0x33')][_0x1cae('0x3b')]);_0x2e6101[_0x1cae('0x3c')]=qs['filters'](_[_0x1cae('0x3d')](_0xa8b3b7['query'],_0x4578fd['filters']),_0x4ddb32);if(_0xa8b3b7[_0x1cae('0x33')]['filter']){_0x2e6101[_0x1cae('0x3c')]=_['merge'](_0x2e6101[_0x1cae('0x3c')],{'$or':_[_0x1cae('0x2c')](_0x4ddb32,function(_0x3f1a67){if(_0x3f1a67[_0x1cae('0x30')]!==_0x1cae('0x3e')){var _0x1ebdf3={};_0x1ebdf3[_0x3f1a67['name']]={'$like':'%'+_0xa8b3b7[_0x1cae('0x33')][_0x1cae('0x3f')]+'%'};return _0x1ebdf3;}})});}_0x2e6101=_['merge']({},_0x2e6101,_0xa8b3b7['options']);var _0x3c87e7={'where':_0x2e6101[_0x1cae('0x3c')]};return db[_0x1cae('0x2d')]['count'](_0x3c87e7)[_0x1cae('0x24')](function(_0x26a60a){_0x32f7c6['count']=_0x26a60a;if(_0xa8b3b7[_0x1cae('0x33')][_0x1cae('0x40')]){_0x2e6101[_0x1cae('0x41')]=[{'all':!![]}];}return db[_0x1cae('0x2d')][_0x1cae('0x42')](_0x2e6101);})[_0x1cae('0x24')](function(_0x2ad507){_0x32f7c6[_0x1cae('0x43')]=_0x2ad507;return _0x32f7c6;})[_0x1cae('0x24')](respondWithFilteredResult(_0x774391,_0x2e6101))[_0x1cae('0x44')](handleError(_0x774391,null));};exports[_0x1cae('0x45')]=function(_0x174002,_0x41b070){var _0x5006c1={'raw':!![],'where':{'id':_0x174002[_0x1cae('0x46')]['id']}},_0x2b0d60={};_0x2b0d60['model']=_['keys'](db[_0x1cae('0x2d')][_0x1cae('0x2e')]);_0x2b0d60[_0x1cae('0x33')]=_[_0x1cae('0x47')](_0x174002[_0x1cae('0x33')]);_0x2b0d60[_0x1cae('0x34')]=_[_0x1cae('0x35')](_0x2b0d60['model'],_0x2b0d60['query']);_0x5006c1['attributes']=_[_0x1cae('0x35')](_0x2b0d60['model'],qs[_0x1cae('0x36')](_0x174002[_0x1cae('0x33')]['fields']));_0x5006c1[_0x1cae('0x37')]=_0x5006c1[_0x1cae('0x37')]['length']?_0x5006c1[_0x1cae('0x37')]:_0x2b0d60['model'];if(_0x174002[_0x1cae('0x33')][_0x1cae('0x40')]){_0x5006c1[_0x1cae('0x41')]=[{'all':!![]}];}_0x5006c1=_['merge']({},_0x5006c1,_0x174002[_0x1cae('0x48')]);return db[_0x1cae('0x2d')]['find'](_0x5006c1)[_0x1cae('0x24')](handleEntityNotFound(_0x41b070,null))['then'](respondWithResult(_0x41b070,null))[_0x1cae('0x44')](handleError(_0x41b070,null));};exports[_0x1cae('0x49')]=function(_0x1c02b9,_0x5ba165){return db['OpenchannelQueue']['create'](_0x1c02b9[_0x1cae('0x4a')],{})[_0x1cae('0x24')](function(_0x49b41b){var _0x5c6400=_0x1c02b9[_0x1cae('0x4b')][_0x1cae('0x26')]({'plain':!![]});if(!_0x5c6400)throw new Error(_0x1cae('0x4c'));if(_0x5c6400[_0x1cae('0x4d')]===_0x1cae('0x4b')){var _0x33b7fe=_0x49b41b['get']({'plain':!![]});var _0xd40fe=_0x1cae('0x4e');return db[_0x1cae('0x4f')][_0x1cae('0x50')]({'where':{'name':_0xd40fe,'userProfileId':_0x5c6400[_0x1cae('0x51')]},'raw':!![]})[_0x1cae('0x24')](function(_0x298729){if(_0x298729&&_0x298729[_0x1cae('0x52')]===0x0){return db['UserProfileResource'][_0x1cae('0x49')]({'name':_0x33b7fe[_0x1cae('0x29')],'resourceId':_0x33b7fe['id'],'type':_0x298729['name'],'sectionId':_0x298729['id']},{})[_0x1cae('0x24')](function(){return _0x49b41b;});}else{return _0x49b41b;}})[_0x1cae('0x44')](function(_0x481329){logger['error'](_0x1cae('0x53'),_0x481329);throw _0x481329;});}return _0x49b41b;})[_0x1cae('0x24')](respondWithResult(_0x5ba165,0xc9))[_0x1cae('0x44')](handleError(_0x5ba165,null));};exports[_0x1cae('0x23')]=function(_0x41149a,_0x476e6b){if(_0x41149a[_0x1cae('0x4a')]['id']){delete _0x41149a['body']['id'];}return db[_0x1cae('0x2d')]['find']({'where':{'id':_0x41149a[_0x1cae('0x46')]['id']}})[_0x1cae('0x24')](handleEntityNotFound(_0x476e6b,null))[_0x1cae('0x24')](saveUpdates(_0x41149a[_0x1cae('0x4a')],null))['then'](respondWithResult(_0x476e6b,null))[_0x1cae('0x44')](handleError(_0x476e6b,null));};exports[_0x1cae('0x25')]=function(_0x44454d,_0x508b48){return db['OpenchannelQueue'][_0x1cae('0x50')]({'where':{'id':_0x44454d[_0x1cae('0x46')]['id']}})[_0x1cae('0x24')](handleEntityNotFound(_0x508b48,null))[_0x1cae('0x24')](removeEntity(_0x508b48,null))[_0x1cae('0x44')](handleError(_0x508b48,null));};exports[_0x1cae('0x54')]=function(_0x255eb9,_0xede848){return db[_0x1cae('0x2d')][_0x1cae('0x54')]()[_0x1cae('0x24')](respondWithResult(_0xede848,null))[_0x1cae('0x44')](handleError(_0xede848,null));};exports[_0x1cae('0x55')]=function(_0xc20f06,_0x1dbce1,_0x57ad1a){var _0x2690fa={'raw':!![],'where':{}},_0x5213b6={},_0x144f60;return db[_0x1cae('0x2d')][_0x1cae('0x56')]({'where':{'id':_0xc20f06[_0x1cae('0x46')]['id']}})['then'](handleEntityNotFound(_0x1dbce1,null))[_0x1cae('0x24')](function(_0x12680f){if(_0x12680f){_0x144f60=_0x12680f[_0x1cae('0x26')]({'plain':!![]});_0x5213b6[_0x1cae('0x32')]=_[_0x1cae('0x47')](db[_0x1cae('0x57')][_0x1cae('0x2e')]);_0x5213b6[_0x1cae('0x33')]=_[_0x1cae('0x47')](_0xc20f06[_0x1cae('0x33')]);_0x5213b6[_0x1cae('0x34')]=_[_0x1cae('0x35')](_0x5213b6['model'],_0x5213b6[_0x1cae('0x33')]);_0x2690fa['attributes']=_[_0x1cae('0x35')](_0x5213b6[_0x1cae('0x32')],qs[_0x1cae('0x36')](_0xc20f06[_0x1cae('0x33')][_0x1cae('0x36')]));_0x2690fa[_0x1cae('0x37')]=_0x2690fa[_0x1cae('0x37')][_0x1cae('0x38')]?_0x2690fa['attributes']:_0x5213b6[_0x1cae('0x32')];if(!_0xc20f06[_0x1cae('0x33')][_0x1cae('0x39')]('nolimit')){_0x2690fa[_0x1cae('0x1e')]=qs[_0x1cae('0x1e')](_0xc20f06[_0x1cae('0x33')][_0x1cae('0x1e')]);_0x2690fa[_0x1cae('0x1d')]=qs[_0x1cae('0x1d')](_0xc20f06[_0x1cae('0x33')][_0x1cae('0x1d')]);}_0x2690fa[_0x1cae('0x3a')]=qs[_0x1cae('0x3b')](_0xc20f06[_0x1cae('0x33')][_0x1cae('0x3b')]);_0x2690fa[_0x1cae('0x3c')]=qs[_0x1cae('0x34')](_['pick'](_0xc20f06['query'],_0x5213b6[_0x1cae('0x34')]));_0x2690fa[_0x1cae('0x3c')][_0x1cae('0x58')]=_0x12680f['id'];if(_0xc20f06[_0x1cae('0x33')][_0x1cae('0x3f')]){_0x2690fa['where']=_[_0x1cae('0x59')](_0x2690fa[_0x1cae('0x3c')],{'$or':_['map'](_0x2690fa['attributes'],function(_0x51ef4a){var _0x522c79={};_0x522c79[_0x51ef4a]={'$like':'%'+_0xc20f06['query']['filter']+'%'};return _0x522c79;})});}_0x2690fa=_[_0x1cae('0x59')]({},_0x2690fa,_0xc20f06[_0x1cae('0x48')]);return db[_0x1cae('0x57')][_0x1cae('0x42')](_0x2690fa);}})[_0x1cae('0x24')](function(_0x71fd8c){if(_0x71fd8c){return db[_0x1cae('0x5a')][_0x1cae('0x5b')]({'where':{'id':_['map'](_0x71fd8c,'UserId'),'role':_0x1cae('0x5c')},'attributes':['id',_0x1cae('0x29'),'openchannelPause',_0x1cae('0x5d'),_0x1cae('0x5e')]});}})[_0x1cae('0x24')](function(_0x13ce43){if(_0x13ce43){return{'count':_0x13ce43[_0x1cae('0x1c')],'rows':_['map'](_0x13ce43['rows'],function(_0x520582){return{'membername':_0x520582['name'],'UserId':_0x520582['id'],'queue_name':_0x144f60[_0x1cae('0x29')],'OpenchannelQueueId':_0x144f60['id'],'interface':util[_0x1cae('0x5f')](_0x1cae('0x60'),_0x1cae('0x61'),_0x520582[_0x1cae('0x29')]),'penalty':0x0,'paused':_0x520582[_0x1cae('0x62')],'createdAt':_0x520582[_0x1cae('0x5e')],'updatedAt':_0x520582['updatedAt']};})};}else{return{'count':0x0,'rows':[]};}})[_0x1cae('0x24')](respondWithFilteredResult(_0x1dbce1,_0x2690fa))[_0x1cae('0x44')](handleError(_0x1dbce1,null));};exports[_0x1cae('0x63')]=function(_0x5dc6e2,_0x3e1edf,_0x4e1683){var _0x51569c={};var _0x8c6a26={};var _0x880727;var _0x57d266;return db[_0x1cae('0x2d')][_0x1cae('0x56')]({'where':{'id':_0x5dc6e2[_0x1cae('0x46')]['id']}})[_0x1cae('0x24')](handleEntityNotFound(_0x3e1edf,null))[_0x1cae('0x24')](function(_0xfbbf99){if(_0xfbbf99){_0x880727=_0xfbbf99;_0x8c6a26[_0x1cae('0x32')]=_[_0x1cae('0x47')](db[_0x1cae('0x64')][_0x1cae('0x2e')]);_0x8c6a26['query']=_[_0x1cae('0x47')](_0x5dc6e2[_0x1cae('0x33')]);_0x8c6a26['filters']=_[_0x1cae('0x35')](_0x8c6a26['model'],_0x8c6a26[_0x1cae('0x33')]);_0x51569c['attributes']=_['intersection'](_0x8c6a26['model'],qs[_0x1cae('0x36')](_0x5dc6e2[_0x1cae('0x33')][_0x1cae('0x36')]));_0x51569c[_0x1cae('0x37')]=_0x51569c[_0x1cae('0x37')][_0x1cae('0x38')]?_0x51569c[_0x1cae('0x37')]:_0x8c6a26[_0x1cae('0x32')];_0x51569c[_0x1cae('0x3a')]=qs[_0x1cae('0x3b')](_0x5dc6e2[_0x1cae('0x33')][_0x1cae('0x3b')]);_0x51569c[_0x1cae('0x3c')]=qs['filters'](_[_0x1cae('0x3d')](_0x5dc6e2[_0x1cae('0x33')],_0x8c6a26[_0x1cae('0x34')]));if(_0x5dc6e2[_0x1cae('0x33')][_0x1cae('0x3f')]){_0x51569c[_0x1cae('0x3c')]=_[_0x1cae('0x59')](_0x51569c[_0x1cae('0x3c')],{'$or':_[_0x1cae('0x2c')](_0x51569c[_0x1cae('0x37')],function(_0x17e3d3){var _0x2d6230={};_0x2d6230[_0x17e3d3]={'$like':'%'+_0x5dc6e2[_0x1cae('0x33')][_0x1cae('0x3f')]+'%'};return _0x2d6230;})});}_0x51569c=_[_0x1cae('0x59')]({},_0x51569c,_0x5dc6e2[_0x1cae('0x48')]);return _0x880727[_0x1cae('0x63')](_0x51569c);}})[_0x1cae('0x24')](function(_0x10f909){if(_0x10f909){_0x57d266=_0x10f909[_0x1cae('0x38')];if(!_0x5dc6e2[_0x1cae('0x33')]['hasOwnProperty'](_0x1cae('0x65'))){_0x51569c[_0x1cae('0x1e')]=qs[_0x1cae('0x1e')](_0x5dc6e2['query']['limit']);_0x51569c['offset']=qs[_0x1cae('0x1d')](_0x5dc6e2[_0x1cae('0x33')][_0x1cae('0x1d')]);}return _0x880727['getTeams'](_0x51569c);}})['then'](function(_0x47b2f4){if(_0x47b2f4){return _0x47b2f4?{'count':_0x57d266,'rows':_0x47b2f4}:null;}})[_0x1cae('0x24')](respondWithResult(_0x3e1edf,null))[_0x1cae('0x44')](handleError(_0x3e1edf,null));};exports[_0x1cae('0x66')]=function(_0x14c838,_0x3c8b8e,_0x2e12cf){var _0x3df2d0=_0x14c838['body']['ids'];return db['Team'][_0x1cae('0x42')]({'where':{'id':_0x3df2d0},'attributes':['id'],'include':[{'model':db[_0x1cae('0x5a')],'as':_0x1cae('0x67'),'attributes':['id',_0x1cae('0x29'),_0x1cae('0x68'),_0x1cae('0x69'),_0x1cae('0x6a')],'raw':!![]}]})[_0x1cae('0x24')](function(_0x4fd9e7){if(_0x4fd9e7){var _0x3bf085=_['flatMap'](_0x4fd9e7,function(_0x242663){var _0xd29a8=_0x242663[_0x1cae('0x26')]({'plain':!![]});return _0xd29a8[_0x1cae('0x67')];});return db[_0x1cae('0x2d')][_0x1cae('0x50')]({'where':{'id':_0x14c838[_0x1cae('0x46')]['id']}})[_0x1cae('0x24')](function(_0x499413){return db['sequelize'][_0x1cae('0x6b')](function(_0x561593){return _0x499413['addTeams'](_0x3df2d0,{'transaction':_0x561593})[_0x1cae('0x24')](function(){return BPromise[_0x1cae('0x6c')](_0x3bf085,function(_0xc629d9){return db[_0x1cae('0x57')][_0x1cae('0x6d')]({'where':{'UserId':_0xc629d9['id'],'OpenchannelQueueId':_0x14c838[_0x1cae('0x46')]['id']},'transaction':_0x561593});});})[_0x1cae('0x24')](function(){_0x3bf085[_0x1cae('0x6e')](function(_0x59dbc1){socket['emit'](_0x1cae('0x6f'),{'UserId':_0x59dbc1['id'],'OpenchannelQueueId':_0x499413['id']});});});});});}})['then'](respondWithStatusCode(_0x3c8b8e,null))[_0x1cae('0x44')](handleError(_0x3c8b8e,null));};exports[_0x1cae('0x70')]=function(_0x1d4803,_0x1e5b75,_0x235d8a){return db[_0x1cae('0x64')][_0x1cae('0x42')]({'where':{'id':_0x1d4803['query'][_0x1cae('0x71')]},'attributes':['id'],'include':[{'model':db[_0x1cae('0x5a')],'as':'Agents','attributes':['id'],'raw':!![]}]})[_0x1cae('0x24')](handleEntityNotFound(_0x1e5b75,null))[_0x1cae('0x24')](function(_0x46356d){var _0xca1553=_[_0x1cae('0x2c')](_0x46356d,'id');var _0xdbe234=[];var _0x2e3d66=[];var _0x2d61ea=squel[_0x1cae('0x72')]();_0x2d61ea[_0x1cae('0x73')](_0x1cae('0x74'))[_0x1cae('0x75')](_0x1cae('0x76'),'tq')['join'](_0x1cae('0x77'),'ut','ut.TeamId\x20=\x20tq.TeamId')[_0x1cae('0x3c')]('OpenchannelQueueId\x20=\x20?',_0x1d4803[_0x1cae('0x46')]['id']);for(var _0x4ae3b3=0x0;_0x4ae3b3<_0x46356d[_0x1cae('0x38')];_0x4ae3b3+=0x1){let _0x4692ad=_0x46356d[_0x4ae3b3];for(var _0x1edbe1=0x0;_0x1edbe1<_0x4692ad['Agents'][_0x1cae('0x38')];_0x1edbe1+=0x1){let _0x144506=_0x4692ad[_0x1cae('0x67')][_0x1edbe1];var _0x2bee93=_0x2d61ea[_0x1cae('0x78')]();_0x2bee93[_0x1cae('0x3c')](_0x1cae('0x79'),_0x144506['id']);_0x2e3d66[_0x1cae('0x7a')](db[_0x1cae('0x7b')][_0x1cae('0x33')](_0x2bee93['toString'](),{'type':db['sequelize'][_0x1cae('0x7c')][_0x1cae('0x7d')]})[_0x1cae('0x24')](function(_0x291b96){if(_0x291b96[_0x1cae('0x38')]===0x1){return _0x144506['id'];}else{var _0x1ae95a=_[_0x1cae('0x7e')](_['map'](_0x291b96,_0x1cae('0x7f')),function(_0x4f7765){return _[_0x1cae('0x80')](_0xca1553,_0x4f7765);});if(_0x1ae95a){return _0x144506['id'];}}}));}}return BPromise[_0x1cae('0x81')](_0x2e3d66)[_0x1cae('0x24')](function(_0x518729){_0xdbe234=_(_0xdbe234)[_0x1cae('0x82')](_0x518729)[_0x1cae('0x83')]()[_0x1cae('0x84')]();return db[_0x1cae('0x2d')][_0x1cae('0x50')]({'where':{'id':_0x1d4803[_0x1cae('0x46')]['id']}})['then'](function(_0x2de13a){return db['sequelize'][_0x1cae('0x6b')](function(_0x5bfbaf){return _0x2de13a[_0x1cae('0x70')](_0x1d4803[_0x1cae('0x33')][_0x1cae('0x71')],{'transaction':_0x5bfbaf})[_0x1cae('0x24')](function(){if(!_[_0x1cae('0x85')](_0xdbe234)){return _0x2de13a[_0x1cae('0x86')](_0xdbe234,{'transaction':_0x5bfbaf});}})[_0x1cae('0x24')](function(){_0xdbe234['forEach'](function(_0x4240f6){socket[_0x1cae('0x87')]('userOpenchannelQueue:remove',{'UserId':_0x4240f6,'OpenchannelQueueId':_0x2de13a['id']});});});});});});})[_0x1cae('0x24')](respondWithStatusCode(_0x1e5b75,null))[_0x1cae('0x44')](handleError(_0x1e5b75,null));};exports[_0x1cae('0x88')]=function(_0x453308,_0xb8a34b,_0x340655){return db[_0x1cae('0x2d')][_0x1cae('0x50')]({'where':{'id':_0x453308[_0x1cae('0x46')]['id']}})[_0x1cae('0x24')](handleEntityNotFound(_0xb8a34b,null))['then'](function(_0x268dd4){if(_0x268dd4){return _0x268dd4[_0x1cae('0x88')](_0x453308[_0x1cae('0x4a')][_0x1cae('0x71')],_['omit'](_0x453308['body'],['ids','id'])||{})[_0x1cae('0x89')](function(_0x4e81b6){for(var _0x2269b7=0x0;_0x2269b7<_0x453308[_0x1cae('0x4a')][_0x1cae('0x71')][_0x1cae('0x38')];_0x2269b7+=0x1){socket['emit']('userOpenchannelQueue:save',{'UserId':_0x453308[_0x1cae('0x4a')][_0x1cae('0x71')][_0x2269b7],'OpenchannelQueueId':_0x453308[_0x1cae('0x46')]['id']});}return _0x4e81b6;});}})['then'](respondWithResult(_0xb8a34b,null))[_0x1cae('0x44')](handleError(_0xb8a34b,null));};exports[_0x1cae('0x86')]=function(_0x20bb9d,_0x5ef3b9,_0x1bccdf){return db[_0x1cae('0x2d')][_0x1cae('0x50')]({'where':{'id':_0x20bb9d[_0x1cae('0x46')]['id']}})[_0x1cae('0x24')](handleEntityNotFound(_0x5ef3b9,null))[_0x1cae('0x24')](function(_0x49ef53){if(_0x49ef53){return _0x49ef53[_0x1cae('0x86')](_0x20bb9d[_0x1cae('0x33')]['ids'])['then'](function(){if(_[_0x1cae('0x8a')](_0x20bb9d[_0x1cae('0x33')]['ids'])){for(var _0x3f521b=0x0;_0x3f521b<_0x20bb9d[_0x1cae('0x33')]['ids']['length'];_0x3f521b+=0x1){socket['emit'](_0x1cae('0x8b'),{'UserId':Number(_0x20bb9d['query'][_0x1cae('0x71')][_0x3f521b]),'OpenchannelQueueId':Number(_0x20bb9d[_0x1cae('0x46')]['id'])});}}else{socket[_0x1cae('0x87')](_0x1cae('0x8b'),{'UserId':Number(_0x20bb9d['query']['ids']),'OpenchannelQueueId':Number(_0x20bb9d['params']['id'])});}});}})[_0x1cae('0x24')](respondWithStatusCode(_0x5ef3b9,null))[_0x1cae('0x44')](handleError(_0x5ef3b9,null));};exports[_0x1cae('0x8c')]=function(_0x43337d,_0x3067ad,_0x56b77e){var _0x1970f9={};var _0xd0186d={};var _0x4466ca;var _0x382381;return db['OpenchannelQueue'][_0x1cae('0x56')]({'where':{'id':_0x43337d['params']['id']}})[_0x1cae('0x24')](handleEntityNotFound(_0x3067ad,null))['then'](function(_0x583d0f){if(_0x583d0f){_0x4466ca=_0x583d0f;_0xd0186d[_0x1cae('0x32')]=_[_0x1cae('0x47')](db[_0x1cae('0x5a')][_0x1cae('0x2e')]);_0xd0186d[_0x1cae('0x33')]=_[_0x1cae('0x47')](_0x43337d[_0x1cae('0x33')]);_0xd0186d[_0x1cae('0x34')]=_[_0x1cae('0x35')](_0xd0186d[_0x1cae('0x32')],_0xd0186d[_0x1cae('0x33')]);_0x1970f9[_0x1cae('0x37')]=_[_0x1cae('0x35')](_0xd0186d[_0x1cae('0x32')],qs[_0x1cae('0x36')](_0x43337d['query'][_0x1cae('0x36')]));_0x1970f9[_0x1cae('0x37')]=_0x1970f9[_0x1cae('0x37')]['length']?_0x1970f9['attributes']:_0xd0186d[_0x1cae('0x32')];_0x1970f9[_0x1cae('0x3a')]=qs[_0x1cae('0x3b')](_0x43337d[_0x1cae('0x33')][_0x1cae('0x3b')]);_0x1970f9[_0x1cae('0x3c')]=qs['filters'](_['pick'](_0x43337d['query'],_0xd0186d[_0x1cae('0x34')]));if(_0x43337d[_0x1cae('0x33')][_0x1cae('0x3f')]){_0x1970f9[_0x1cae('0x3c')]=_[_0x1cae('0x59')](_0x1970f9[_0x1cae('0x3c')],{'$or':_[_0x1cae('0x2c')](_0x1970f9[_0x1cae('0x37')],function(_0x4cbf2a){var _0x296ba3={};_0x296ba3[_0x4cbf2a]={'$like':'%'+_0x43337d['query']['filter']+'%'};return _0x296ba3;})});}_0x1970f9=_[_0x1cae('0x59')]({},_0x1970f9,_0x43337d['options']);return _0x4466ca[_0x1cae('0x8c')](_0x1970f9);}})['then'](function(_0x48390d){if(_0x48390d){_0x382381=_0x48390d['length'];if(!_0x43337d[_0x1cae('0x33')][_0x1cae('0x39')](_0x1cae('0x65'))){_0x1970f9['limit']=qs[_0x1cae('0x1e')](_0x43337d[_0x1cae('0x33')]['limit']);_0x1970f9[_0x1cae('0x1d')]=qs[_0x1cae('0x1d')](_0x43337d[_0x1cae('0x33')][_0x1cae('0x1d')]);}return _0x4466ca[_0x1cae('0x8c')](_0x1970f9);}})[_0x1cae('0x24')](function(_0x5b2e1e){if(_0x5b2e1e){return _0x5b2e1e?{'count':_0x382381,'rows':_0x5b2e1e}:null;}})['then'](respondWithResult(_0x3067ad,null))[_0x1cae('0x44')](handleError(_0x3067ad,null));}; \ No newline at end of file +var _0x69b5=['isArray','findOne','getAgents','eml-format','rimraf','fast-json-patch','request-promise','moment','bluebird','mustache','path','sox','to-csv','ejs','lodash','squel','crypto','jsforce','desk.js','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/environment','redis','defaults','localhost','socket.io-emitter','./openchannelQueue.socket','register','sendStatus','status','end','count','offset','set','Content-Range','json','apply','save','update','then','get','OpenchannelQueues','destroy','error','stack','name','send','index','map','OpenchannelQueue','fieldName','type','key','model','query','attributes','intersection','fields','hasOwnProperty','nolimit','limit','order','sort','where','filters','pick','filter','merge','VIRTUAL','options','includeAll','include','findAll','rows','catch','show','keys','rawAttributes','length','find','create','body','user','Unable\x20to\x20retrieve\x20the\x20current\x20user','UserProfileSection','UserProfileResource','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','describe','getMembers','params','UserOpenchannelQueue','OpenchannelQueueId','User','findAndCountAll','agent','openchannelPause','updatedAt','format','%s/%s','SIP','createdAt','getTeams','Team','addTeams','ids','Agents','interface','flatMap','transaction','findOrCreate','forEach','emit','userOpenchannelQueue:save','removeTeams','tq.TeamId','team_has_openchannel_queues','join','user_has_teams','ut.TeamId\x20=\x20tq.TeamId','OpenchannelQueueId\x20=\x20?','clone','ut.UserId\x20=\x20?','push','toString','sequelize','every','TeamId','all','union','isEmpty','userOpenchannelQueue:remove','addAgents','omit','spread','removeAgents'];(function(_0x3a689,_0x42cf5b){var _0x27f328=function(_0x324529){while(--_0x324529){_0x3a689['push'](_0x3a689['shift']());}};_0x27f328(++_0x42cf5b);}(_0x69b5,0x1a7));var _0x569b=function(_0x203387,_0x25ee77){_0x203387=_0x203387-0x0;var _0x358e6b=_0x69b5[_0x203387];return _0x358e6b;};'use strict';var pdf=require('html-pdf');var emlformat=require(_0x569b('0x0'));var rimraf=require(_0x569b('0x1'));var zipdir=require('zip-dir');var jsonpatch=require(_0x569b('0x2'));var rp=require(_0x569b('0x3'));var moment=require(_0x569b('0x4'));var BPromise=require(_0x569b('0x5'));var Mustache=require(_0x569b('0x6'));var util=require('util');var path=require(_0x569b('0x7'));var sox=require(_0x569b('0x8'));var csv=require(_0x569b('0x9'));var ejs=require(_0x569b('0xa'));var fs=require('fs');var _=require(_0x569b('0xb'));var squel=require(_0x569b('0xc'));var crypto=require(_0x569b('0xd'));var jsforce=require(_0x569b('0xe'));var deskjs=require(_0x569b('0xf'));var toCsv=require(_0x569b('0x9'));var querystring=require('querystring');var Papa=require('papaparse');var Redis=require(_0x569b('0x10'));var authService=require(_0x569b('0x11'));var qs=require(_0x569b('0x12'));var as=require(_0x569b('0x13'));var hardwareService=require(_0x569b('0x14'));var logger=require(_0x569b('0x15'))(_0x569b('0x16'));var utils=require('../../config/utils');var config=require(_0x569b('0x17'));var db=require('../../mysqldb')['db'];config[_0x569b('0x18')]=_[_0x569b('0x19')](config[_0x569b('0x18')],{'host':_0x569b('0x1a'),'port':0x18eb});var socket=require(_0x569b('0x1b'))(new Redis(config[_0x569b('0x18')]));require(_0x569b('0x1c'))[_0x569b('0x1d')](socket);function respondWithStatusCode(_0x5bd752,_0x43fccc){_0x43fccc=_0x43fccc||0xcc;return function(_0x442200){if(_0x442200){return _0x5bd752[_0x569b('0x1e')](_0x43fccc);}return _0x5bd752[_0x569b('0x1f')](_0x43fccc)[_0x569b('0x20')]();};}function respondWithResult(_0x6be51f,_0x30ec8b){_0x30ec8b=_0x30ec8b||0xc8;return function(_0x4a77e7){if(_0x4a77e7){return _0x6be51f[_0x569b('0x1f')](_0x30ec8b)['json'](_0x4a77e7);}};}function respondWithFilteredResult(_0x4469be,_0x28188d){return function(_0x42bfc2){if(_0x42bfc2){var _0x121531=_0x42bfc2[_0x569b('0x21')],_0x4c3dd1=_0x28188d[_0x569b('0x22')],_0x24d49b=_0x28188d['offset']+_0x28188d['limit'],_0x4fff5f;if(_0x24d49b>=_0x121531){_0x24d49b=_0x121531;_0x4fff5f=0xc8;}else{_0x4fff5f=0xce;}_0x4469be[_0x569b('0x1f')](_0x4fff5f);return _0x4469be[_0x569b('0x23')](_0x569b('0x24'),_0x4c3dd1+'-'+_0x24d49b+'/'+_0x121531)[_0x569b('0x25')](_0x42bfc2);}return null;};}function patchUpdates(_0x3cd552){return function(_0x14763e){try{jsonpatch[_0x569b('0x26')](_0x14763e,_0x3cd552,!![]);}catch(_0x5f3a2a){return BPromise['reject'](_0x5f3a2a);}return _0x14763e[_0x569b('0x27')]();};}function saveUpdates(_0x26ef38,_0x474f35){return function(_0x59572b){if(_0x59572b){return _0x59572b[_0x569b('0x28')](_0x26ef38)[_0x569b('0x29')](function(_0xe39e11){return _0xe39e11;});}return null;};}function removeEntity(_0x46ef62,_0x45929f){return function(_0x38d686){if(_0x38d686){return _0x38d686['destroy']()['then'](function(){var _0x5ba707=_0x38d686[_0x569b('0x2a')]({'plain':!![]});var _0x2ffa4c=_0x569b('0x2b');return db['UserProfileResource'][_0x569b('0x2c')]({'where':{'type':_0x2ffa4c,'resourceId':_0x5ba707['id']}})[_0x569b('0x29')](function(){return _0x38d686;});})[_0x569b('0x29')](function(){_0x46ef62[_0x569b('0x1f')](0xcc)[_0x569b('0x20')]();});}};}function handleEntityNotFound(_0x6c38c2,_0x29e991){return function(_0x12b8b2){if(!_0x12b8b2){_0x6c38c2[_0x569b('0x1e')](0x194);}return _0x12b8b2;};}function handleError(_0x456098,_0x4181d5){_0x4181d5=_0x4181d5||0x1f4;return function(_0x1ee5fc){logger[_0x569b('0x2d')](_0x1ee5fc[_0x569b('0x2e')]);if(_0x1ee5fc[_0x569b('0x2f')]){delete _0x1ee5fc[_0x569b('0x2f')];}_0x456098[_0x569b('0x1f')](_0x4181d5)[_0x569b('0x30')](_0x1ee5fc);};}exports[_0x569b('0x31')]=function(_0x2c3757,_0x4a5331){var _0x3936fc={},_0x2bade6={},_0x2b500f={'count':0x0,'rows':[]};var _0x301e21=_[_0x569b('0x32')](db[_0x569b('0x33')]['rawAttributes'],function(_0x274772){return{'name':_0x274772[_0x569b('0x34')],'type':_0x274772[_0x569b('0x35')][_0x569b('0x36')]};});_0x2bade6[_0x569b('0x37')]=_[_0x569b('0x32')](_0x301e21,_0x569b('0x2f'));_0x2bade6[_0x569b('0x38')]=_['keys'](_0x2c3757[_0x569b('0x38')]);_0x2bade6['filters']=_['intersection'](_0x2bade6[_0x569b('0x37')],_0x2bade6[_0x569b('0x38')]);_0x3936fc[_0x569b('0x39')]=_[_0x569b('0x3a')](_0x2bade6[_0x569b('0x37')],qs[_0x569b('0x3b')](_0x2c3757['query'][_0x569b('0x3b')]));_0x3936fc[_0x569b('0x39')]=_0x3936fc[_0x569b('0x39')]['length']?_0x3936fc['attributes']:_0x2bade6[_0x569b('0x37')];if(!_0x2c3757[_0x569b('0x38')][_0x569b('0x3c')](_0x569b('0x3d'))){_0x3936fc[_0x569b('0x3e')]=qs['limit'](_0x2c3757[_0x569b('0x38')]['limit']);_0x3936fc[_0x569b('0x22')]=qs[_0x569b('0x22')](_0x2c3757[_0x569b('0x38')][_0x569b('0x22')]);}_0x3936fc[_0x569b('0x3f')]=qs[_0x569b('0x40')](_0x2c3757[_0x569b('0x38')][_0x569b('0x40')]);_0x3936fc[_0x569b('0x41')]=qs[_0x569b('0x42')](_[_0x569b('0x43')](_0x2c3757[_0x569b('0x38')],_0x2bade6['filters']),_0x301e21);if(_0x2c3757[_0x569b('0x38')][_0x569b('0x44')]){_0x3936fc['where']=_[_0x569b('0x45')](_0x3936fc['where'],{'$or':_['map'](_0x301e21,function(_0x20cc15){if(_0x20cc15[_0x569b('0x35')]!==_0x569b('0x46')){var _0x2509dc={};_0x2509dc[_0x20cc15[_0x569b('0x2f')]]={'$like':'%'+_0x2c3757[_0x569b('0x38')][_0x569b('0x44')]+'%'};return _0x2509dc;}})});}_0x3936fc=_[_0x569b('0x45')]({},_0x3936fc,_0x2c3757[_0x569b('0x47')]);var _0x121578={'where':_0x3936fc['where']};return db[_0x569b('0x33')][_0x569b('0x21')](_0x121578)[_0x569b('0x29')](function(_0x2510d3){_0x2b500f['count']=_0x2510d3;if(_0x2c3757[_0x569b('0x38')][_0x569b('0x48')]){_0x3936fc[_0x569b('0x49')]=[{'all':!![]}];}return db[_0x569b('0x33')][_0x569b('0x4a')](_0x3936fc);})['then'](function(_0x844b5){_0x2b500f[_0x569b('0x4b')]=_0x844b5;return _0x2b500f;})['then'](respondWithFilteredResult(_0x4a5331,_0x3936fc))[_0x569b('0x4c')](handleError(_0x4a5331,null));};exports[_0x569b('0x4d')]=function(_0x2d3d30,_0xa92585){var _0x2b4d80={'raw':!![],'where':{'id':_0x2d3d30['params']['id']}},_0x2b6ba7={};_0x2b6ba7['model']=_[_0x569b('0x4e')](db['OpenchannelQueue'][_0x569b('0x4f')]);_0x2b6ba7[_0x569b('0x38')]=_[_0x569b('0x4e')](_0x2d3d30[_0x569b('0x38')]);_0x2b6ba7[_0x569b('0x42')]=_[_0x569b('0x3a')](_0x2b6ba7['model'],_0x2b6ba7['query']);_0x2b4d80['attributes']=_[_0x569b('0x3a')](_0x2b6ba7['model'],qs[_0x569b('0x3b')](_0x2d3d30['query'][_0x569b('0x3b')]));_0x2b4d80['attributes']=_0x2b4d80[_0x569b('0x39')][_0x569b('0x50')]?_0x2b4d80[_0x569b('0x39')]:_0x2b6ba7[_0x569b('0x37')];if(_0x2d3d30[_0x569b('0x38')]['includeAll']){_0x2b4d80[_0x569b('0x49')]=[{'all':!![]}];}_0x2b4d80=_['merge']({},_0x2b4d80,_0x2d3d30[_0x569b('0x47')]);return db[_0x569b('0x33')][_0x569b('0x51')](_0x2b4d80)[_0x569b('0x29')](handleEntityNotFound(_0xa92585,null))[_0x569b('0x29')](respondWithResult(_0xa92585,null))['catch'](handleError(_0xa92585,null));};exports[_0x569b('0x52')]=function(_0x47b478,_0x48bb14){return db['OpenchannelQueue'][_0x569b('0x52')](_0x47b478[_0x569b('0x53')],{})['then'](function(_0x35cf7f){var _0x231698=_0x47b478[_0x569b('0x54')][_0x569b('0x2a')]({'plain':!![]});if(!_0x231698)throw new Error(_0x569b('0x55'));if(_0x231698['role']===_0x569b('0x54')){var _0x40be39=_0x35cf7f['get']({'plain':!![]});var _0x54f109=_0x569b('0x2b');return db[_0x569b('0x56')]['find']({'where':{'name':_0x54f109,'userProfileId':_0x231698['userProfileId']},'raw':!![]})[_0x569b('0x29')](function(_0x28dd06){if(_0x28dd06&&_0x28dd06['autoAssociation']===0x0){return db[_0x569b('0x57')][_0x569b('0x52')]({'name':_0x40be39['name'],'resourceId':_0x40be39['id'],'type':_0x28dd06[_0x569b('0x2f')],'sectionId':_0x28dd06['id']},{})[_0x569b('0x29')](function(){return _0x35cf7f;});}else{return _0x35cf7f;}})['catch'](function(_0x30fa9d){logger[_0x569b('0x2d')](_0x569b('0x58'),_0x30fa9d);throw _0x30fa9d;});}return _0x35cf7f;})['then'](respondWithResult(_0x48bb14,0xc9))['catch'](handleError(_0x48bb14,null));};exports[_0x569b('0x28')]=function(_0x138fe8,_0x316338){if(_0x138fe8[_0x569b('0x53')]['id']){delete _0x138fe8[_0x569b('0x53')]['id'];}return db[_0x569b('0x33')]['find']({'where':{'id':_0x138fe8['params']['id']}})[_0x569b('0x29')](handleEntityNotFound(_0x316338,null))['then'](saveUpdates(_0x138fe8[_0x569b('0x53')],null))['then'](respondWithResult(_0x316338,null))['catch'](handleError(_0x316338,null));};exports[_0x569b('0x2c')]=function(_0x51c5be,_0x439e1c){return db['OpenchannelQueue']['find']({'where':{'id':_0x51c5be['params']['id']}})[_0x569b('0x29')](handleEntityNotFound(_0x439e1c,null))[_0x569b('0x29')](removeEntity(_0x439e1c,null))['catch'](handleError(_0x439e1c,null));};exports[_0x569b('0x59')]=function(_0x531a43,_0x372c73){return db[_0x569b('0x33')][_0x569b('0x59')]()[_0x569b('0x29')](respondWithResult(_0x372c73,null))['catch'](handleError(_0x372c73,null));};exports[_0x569b('0x5a')]=function(_0x3a673e,_0x44f921,_0x3e325a){var _0x365ef5={'raw':!![],'where':{}},_0x2188fb={},_0x59f30d;return db[_0x569b('0x33')]['findOne']({'where':{'id':_0x3a673e[_0x569b('0x5b')]['id']}})[_0x569b('0x29')](handleEntityNotFound(_0x44f921,null))['then'](function(_0x308896){if(_0x308896){_0x59f30d=_0x308896['get']({'plain':!![]});_0x2188fb[_0x569b('0x37')]=_[_0x569b('0x4e')](db[_0x569b('0x5c')][_0x569b('0x4f')]);_0x2188fb[_0x569b('0x38')]=_[_0x569b('0x4e')](_0x3a673e[_0x569b('0x38')]);_0x2188fb[_0x569b('0x42')]=_[_0x569b('0x3a')](_0x2188fb[_0x569b('0x37')],_0x2188fb[_0x569b('0x38')]);_0x365ef5[_0x569b('0x39')]=_[_0x569b('0x3a')](_0x2188fb[_0x569b('0x37')],qs[_0x569b('0x3b')](_0x3a673e[_0x569b('0x38')][_0x569b('0x3b')]));_0x365ef5[_0x569b('0x39')]=_0x365ef5[_0x569b('0x39')]['length']?_0x365ef5[_0x569b('0x39')]:_0x2188fb[_0x569b('0x37')];if(!_0x3a673e[_0x569b('0x38')]['hasOwnProperty'](_0x569b('0x3d'))){_0x365ef5['limit']=qs[_0x569b('0x3e')](_0x3a673e['query'][_0x569b('0x3e')]);_0x365ef5[_0x569b('0x22')]=qs[_0x569b('0x22')](_0x3a673e[_0x569b('0x38')]['offset']);}_0x365ef5[_0x569b('0x3f')]=qs['sort'](_0x3a673e[_0x569b('0x38')][_0x569b('0x40')]);_0x365ef5[_0x569b('0x41')]=qs[_0x569b('0x42')](_[_0x569b('0x43')](_0x3a673e['query'],_0x2188fb[_0x569b('0x42')]));_0x365ef5['where'][_0x569b('0x5d')]=_0x308896['id'];if(_0x3a673e['query'][_0x569b('0x44')]){_0x365ef5['where']=_[_0x569b('0x45')](_0x365ef5[_0x569b('0x41')],{'$or':_['map'](_0x365ef5['attributes'],function(_0x3ad406){var _0x3bbba9={};_0x3bbba9[_0x3ad406]={'$like':'%'+_0x3a673e['query'][_0x569b('0x44')]+'%'};return _0x3bbba9;})});}_0x365ef5=_[_0x569b('0x45')]({},_0x365ef5,_0x3a673e[_0x569b('0x47')]);return db[_0x569b('0x5c')]['findAll'](_0x365ef5);}})['then'](function(_0x2aa7e6){if(_0x2aa7e6){return db[_0x569b('0x5e')][_0x569b('0x5f')]({'where':{'id':_[_0x569b('0x32')](_0x2aa7e6,'UserId'),'role':_0x569b('0x60')},'attributes':['id',_0x569b('0x2f'),_0x569b('0x61'),_0x569b('0x62'),'createdAt']});}})['then'](function(_0x3d6fe1){if(_0x3d6fe1){return{'count':_0x3d6fe1[_0x569b('0x21')],'rows':_[_0x569b('0x32')](_0x3d6fe1[_0x569b('0x4b')],function(_0x3253e4){return{'membername':_0x3253e4[_0x569b('0x2f')],'UserId':_0x3253e4['id'],'queue_name':_0x59f30d[_0x569b('0x2f')],'OpenchannelQueueId':_0x59f30d['id'],'interface':util[_0x569b('0x63')](_0x569b('0x64'),_0x569b('0x65'),_0x3253e4['name']),'penalty':0x0,'paused':_0x3253e4[_0x569b('0x61')],'createdAt':_0x3253e4[_0x569b('0x66')],'updatedAt':_0x3253e4[_0x569b('0x62')]};})};}else{return{'count':0x0,'rows':[]};}})[_0x569b('0x29')](respondWithFilteredResult(_0x44f921,_0x365ef5))[_0x569b('0x4c')](handleError(_0x44f921,null));};exports[_0x569b('0x67')]=function(_0x135a1c,_0x9110e1,_0x2c655e){var _0x5842f8={};var _0x2e5b7b={};var _0x345c75;var _0x24183d;return db[_0x569b('0x33')]['findOne']({'where':{'id':_0x135a1c[_0x569b('0x5b')]['id']}})[_0x569b('0x29')](handleEntityNotFound(_0x9110e1,null))[_0x569b('0x29')](function(_0x36e415){if(_0x36e415){_0x345c75=_0x36e415;_0x2e5b7b[_0x569b('0x37')]=_[_0x569b('0x4e')](db[_0x569b('0x68')][_0x569b('0x4f')]);_0x2e5b7b[_0x569b('0x38')]=_['keys'](_0x135a1c[_0x569b('0x38')]);_0x2e5b7b[_0x569b('0x42')]=_[_0x569b('0x3a')](_0x2e5b7b[_0x569b('0x37')],_0x2e5b7b[_0x569b('0x38')]);_0x5842f8[_0x569b('0x39')]=_[_0x569b('0x3a')](_0x2e5b7b[_0x569b('0x37')],qs[_0x569b('0x3b')](_0x135a1c['query'][_0x569b('0x3b')]));_0x5842f8['attributes']=_0x5842f8[_0x569b('0x39')][_0x569b('0x50')]?_0x5842f8['attributes']:_0x2e5b7b[_0x569b('0x37')];_0x5842f8[_0x569b('0x3f')]=qs[_0x569b('0x40')](_0x135a1c[_0x569b('0x38')][_0x569b('0x40')]);_0x5842f8['where']=qs[_0x569b('0x42')](_[_0x569b('0x43')](_0x135a1c['query'],_0x2e5b7b[_0x569b('0x42')]));if(_0x135a1c[_0x569b('0x38')][_0x569b('0x44')]){_0x5842f8[_0x569b('0x41')]=_[_0x569b('0x45')](_0x5842f8['where'],{'$or':_[_0x569b('0x32')](_0x5842f8['attributes'],function(_0x4a6e33){var _0x3a3746={};_0x3a3746[_0x4a6e33]={'$like':'%'+_0x135a1c[_0x569b('0x38')][_0x569b('0x44')]+'%'};return _0x3a3746;})});}_0x5842f8=_['merge']({},_0x5842f8,_0x135a1c[_0x569b('0x47')]);return _0x345c75[_0x569b('0x67')](_0x5842f8);}})['then'](function(_0x8945ae){if(_0x8945ae){_0x24183d=_0x8945ae[_0x569b('0x50')];if(!_0x135a1c[_0x569b('0x38')]['hasOwnProperty'](_0x569b('0x3d'))){_0x5842f8[_0x569b('0x3e')]=qs[_0x569b('0x3e')](_0x135a1c[_0x569b('0x38')][_0x569b('0x3e')]);_0x5842f8[_0x569b('0x22')]=qs[_0x569b('0x22')](_0x135a1c[_0x569b('0x38')][_0x569b('0x22')]);}return _0x345c75[_0x569b('0x67')](_0x5842f8);}})[_0x569b('0x29')](function(_0x7b564){if(_0x7b564){return _0x7b564?{'count':_0x24183d,'rows':_0x7b564}:null;}})[_0x569b('0x29')](respondWithResult(_0x9110e1,null))['catch'](handleError(_0x9110e1,null));};exports[_0x569b('0x69')]=function(_0x4a7679,_0x19e001,_0x33f264){var _0xf14300=_0x4a7679[_0x569b('0x53')][_0x569b('0x6a')];return db['Team'][_0x569b('0x4a')]({'where':{'id':_0xf14300},'attributes':['id'],'include':[{'model':db[_0x569b('0x5e')],'as':_0x569b('0x6b'),'attributes':['id','name','online','voicePause',_0x569b('0x6c')],'raw':!![]}]})['then'](function(_0x23148e){if(_0x23148e){var _0x557366=_[_0x569b('0x6d')](_0x23148e,function(_0x41f87e){var _0x205c9c=_0x41f87e[_0x569b('0x2a')]({'plain':!![]});return _0x205c9c[_0x569b('0x6b')];});return db[_0x569b('0x33')][_0x569b('0x51')]({'where':{'id':_0x4a7679[_0x569b('0x5b')]['id']}})[_0x569b('0x29')](function(_0xa19b86){return db['sequelize'][_0x569b('0x6e')](function(_0x4bf269){return _0xa19b86[_0x569b('0x69')](_0xf14300,{'transaction':_0x4bf269})[_0x569b('0x29')](function(){return BPromise['each'](_0x557366,function(_0x438e2a){return db[_0x569b('0x5c')][_0x569b('0x6f')]({'where':{'UserId':_0x438e2a['id'],'OpenchannelQueueId':_0x4a7679[_0x569b('0x5b')]['id']},'transaction':_0x4bf269});});})[_0x569b('0x29')](function(){_0x557366[_0x569b('0x70')](function(_0x1d1921){socket[_0x569b('0x71')](_0x569b('0x72'),{'UserId':_0x1d1921['id'],'OpenchannelQueueId':_0xa19b86['id']});});});});});}})[_0x569b('0x29')](respondWithStatusCode(_0x19e001,null))[_0x569b('0x4c')](handleError(_0x19e001,null));};exports[_0x569b('0x73')]=function(_0x1d2524,_0x4758a0,_0x5c0c4d){return db['Team'][_0x569b('0x4a')]({'where':{'id':_0x1d2524[_0x569b('0x38')]['ids']},'attributes':['id'],'include':[{'model':db[_0x569b('0x5e')],'as':_0x569b('0x6b'),'attributes':['id'],'raw':!![]}]})['then'](handleEntityNotFound(_0x4758a0,null))[_0x569b('0x29')](function(_0x2cfbf5){var _0x37128e=_[_0x569b('0x32')](_0x2cfbf5,'id');var _0x5f3d04=[];var _0x3bb3d2=[];var _0x1ba161=squel['select']();_0x1ba161['field'](_0x569b('0x74'))['from'](_0x569b('0x75'),'tq')[_0x569b('0x76')](_0x569b('0x77'),'ut',_0x569b('0x78'))['where'](_0x569b('0x79'),_0x1d2524['params']['id']);for(var _0x459d72=0x0;_0x459d72<_0x2cfbf5['length'];_0x459d72+=0x1){let _0x5bb955=_0x2cfbf5[_0x459d72];for(var _0x20d87c=0x0;_0x20d87c<_0x5bb955[_0x569b('0x6b')][_0x569b('0x50')];_0x20d87c+=0x1){let _0x5e1935=_0x5bb955[_0x569b('0x6b')][_0x20d87c];var _0x44bfb9=_0x1ba161[_0x569b('0x7a')]();_0x44bfb9[_0x569b('0x41')](_0x569b('0x7b'),_0x5e1935['id']);_0x3bb3d2[_0x569b('0x7c')](db['sequelize'][_0x569b('0x38')](_0x44bfb9[_0x569b('0x7d')](),{'type':db[_0x569b('0x7e')]['QueryTypes']['SELECT']})[_0x569b('0x29')](function(_0xed4b41){if(_0xed4b41['length']===0x1){return _0x5e1935['id'];}else{var _0x295217=_[_0x569b('0x7f')](_['map'](_0xed4b41,_0x569b('0x80')),function(_0x3c8dff){return _['includes'](_0x37128e,_0x3c8dff);});if(_0x295217){return _0x5e1935['id'];}}}));}}return BPromise[_0x569b('0x81')](_0x3bb3d2)[_0x569b('0x29')](function(_0x3e0e95){_0x5f3d04=_(_0x5f3d04)[_0x569b('0x82')](_0x3e0e95)['compact']()['value']();return db['OpenchannelQueue'][_0x569b('0x51')]({'where':{'id':_0x1d2524[_0x569b('0x5b')]['id']}})[_0x569b('0x29')](function(_0xc99c1){return db[_0x569b('0x7e')][_0x569b('0x6e')](function(_0x646c3e){return _0xc99c1['removeTeams'](_0x1d2524[_0x569b('0x38')][_0x569b('0x6a')],{'transaction':_0x646c3e})['then'](function(){if(!_[_0x569b('0x83')](_0x5f3d04)){return _0xc99c1['removeAgents'](_0x5f3d04,{'transaction':_0x646c3e});}})[_0x569b('0x29')](function(){_0x5f3d04[_0x569b('0x70')](function(_0x3af3a4){socket[_0x569b('0x71')](_0x569b('0x84'),{'UserId':_0x3af3a4,'OpenchannelQueueId':_0xc99c1['id']});});});});});});})[_0x569b('0x29')](respondWithStatusCode(_0x4758a0,null))[_0x569b('0x4c')](handleError(_0x4758a0,null));};exports['addAgents']=function(_0x41cab3,_0x126dab,_0x40cecb){return db[_0x569b('0x33')][_0x569b('0x51')]({'where':{'id':_0x41cab3[_0x569b('0x5b')]['id']}})[_0x569b('0x29')](handleEntityNotFound(_0x126dab,null))[_0x569b('0x29')](function(_0x567187){if(_0x567187){return _0x567187[_0x569b('0x85')](_0x41cab3[_0x569b('0x53')]['ids'],_[_0x569b('0x86')](_0x41cab3[_0x569b('0x53')],[_0x569b('0x6a'),'id'])||{})[_0x569b('0x87')](function(_0x2f7bf2){for(var _0xc11cd0=0x0;_0xc11cd0<_0x41cab3['body'][_0x569b('0x6a')][_0x569b('0x50')];_0xc11cd0+=0x1){socket[_0x569b('0x71')](_0x569b('0x72'),{'UserId':_0x41cab3[_0x569b('0x53')][_0x569b('0x6a')][_0xc11cd0],'OpenchannelQueueId':_0x41cab3[_0x569b('0x5b')]['id']});}return _0x2f7bf2;});}})[_0x569b('0x29')](respondWithResult(_0x126dab,null))['catch'](handleError(_0x126dab,null));};exports[_0x569b('0x88')]=function(_0x2ffed2,_0x56488d,_0x36dc1d){return db['OpenchannelQueue'][_0x569b('0x51')]({'where':{'id':_0x2ffed2[_0x569b('0x5b')]['id']}})[_0x569b('0x29')](handleEntityNotFound(_0x56488d,null))['then'](function(_0x25db68){if(_0x25db68){return _0x25db68[_0x569b('0x88')](_0x2ffed2[_0x569b('0x38')]['ids'])[_0x569b('0x29')](function(){if(_[_0x569b('0x89')](_0x2ffed2[_0x569b('0x38')][_0x569b('0x6a')])){for(var _0x7c7de3=0x0;_0x7c7de3<_0x2ffed2[_0x569b('0x38')]['ids'][_0x569b('0x50')];_0x7c7de3+=0x1){socket[_0x569b('0x71')](_0x569b('0x84'),{'UserId':Number(_0x2ffed2['query']['ids'][_0x7c7de3]),'OpenchannelQueueId':Number(_0x2ffed2[_0x569b('0x5b')]['id'])});}}else{socket[_0x569b('0x71')](_0x569b('0x84'),{'UserId':Number(_0x2ffed2['query'][_0x569b('0x6a')]),'OpenchannelQueueId':Number(_0x2ffed2[_0x569b('0x5b')]['id'])});}});}})[_0x569b('0x29')](respondWithStatusCode(_0x56488d,null))[_0x569b('0x4c')](handleError(_0x56488d,null));};exports['getAgents']=function(_0xe91a58,_0x5ee7e0,_0x2f09fa){var _0x104e96={};var _0x3ff541={};var _0xb36801;var _0x49c246;return db[_0x569b('0x33')][_0x569b('0x8a')]({'where':{'id':_0xe91a58[_0x569b('0x5b')]['id']}})[_0x569b('0x29')](handleEntityNotFound(_0x5ee7e0,null))[_0x569b('0x29')](function(_0x59f048){if(_0x59f048){_0xb36801=_0x59f048;_0x3ff541[_0x569b('0x37')]=_['keys'](db[_0x569b('0x5e')][_0x569b('0x4f')]);_0x3ff541['query']=_[_0x569b('0x4e')](_0xe91a58[_0x569b('0x38')]);_0x3ff541[_0x569b('0x42')]=_[_0x569b('0x3a')](_0x3ff541[_0x569b('0x37')],_0x3ff541['query']);_0x104e96['attributes']=_['intersection'](_0x3ff541[_0x569b('0x37')],qs[_0x569b('0x3b')](_0xe91a58[_0x569b('0x38')][_0x569b('0x3b')]));_0x104e96['attributes']=_0x104e96[_0x569b('0x39')][_0x569b('0x50')]?_0x104e96['attributes']:_0x3ff541[_0x569b('0x37')];_0x104e96['order']=qs['sort'](_0xe91a58['query'][_0x569b('0x40')]);_0x104e96[_0x569b('0x41')]=qs[_0x569b('0x42')](_['pick'](_0xe91a58[_0x569b('0x38')],_0x3ff541[_0x569b('0x42')]));if(_0xe91a58['query']['filter']){_0x104e96[_0x569b('0x41')]=_['merge'](_0x104e96[_0x569b('0x41')],{'$or':_['map'](_0x104e96[_0x569b('0x39')],function(_0x256587){var _0xba8ea4={};_0xba8ea4[_0x256587]={'$like':'%'+_0xe91a58[_0x569b('0x38')]['filter']+'%'};return _0xba8ea4;})});}_0x104e96=_[_0x569b('0x45')]({},_0x104e96,_0xe91a58[_0x569b('0x47')]);return _0xb36801[_0x569b('0x8b')](_0x104e96);}})[_0x569b('0x29')](function(_0x12c2df){if(_0x12c2df){_0x49c246=_0x12c2df[_0x569b('0x50')];if(!_0xe91a58[_0x569b('0x38')][_0x569b('0x3c')](_0x569b('0x3d'))){_0x104e96[_0x569b('0x3e')]=qs['limit'](_0xe91a58[_0x569b('0x38')][_0x569b('0x3e')]);_0x104e96['offset']=qs[_0x569b('0x22')](_0xe91a58['query'][_0x569b('0x22')]);}return _0xb36801[_0x569b('0x8b')](_0x104e96);}})[_0x569b('0x29')](function(_0x523937){if(_0x523937){return _0x523937?{'count':_0x49c246,'rows':_0x523937}:null;}})[_0x569b('0x29')](respondWithResult(_0x5ee7e0,null))[_0x569b('0x4c')](handleError(_0x5ee7e0,null));}; \ No newline at end of file diff --git a/server/api/openchannelQueue/openchannelQueue.events.js b/server/api/openchannelQueue/openchannelQueue.events.js index 20a41b3..b77d5ab 100644 --- a/server/api/openchannelQueue/openchannelQueue.events.js +++ b/server/api/openchannelQueue/openchannelQueue.events.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x5f72=['exports','events','../../mysqldb','OpenchannelQueue','setMaxListeners','remove','emit','hasOwnProperty','hook'];(function(_0x4d948e,_0x170a99){var _0x3ac8de=function(_0x240d87){while(--_0x240d87){_0x4d948e['push'](_0x4d948e['shift']());}};_0x3ac8de(++_0x170a99);}(_0x5f72,0x1cc));var _0x25f7=function(_0x532112,_0x37d94b){_0x532112=_0x532112-0x0;var _0x23e5fb=_0x5f72[_0x532112];return _0x23e5fb;};'use strict';var EventEmitter=require(_0x25f7('0x0'));var OpenchannelQueue=require(_0x25f7('0x1'))['db'][_0x25f7('0x2')];var OpenchannelQueueEvents=new EventEmitter();OpenchannelQueueEvents[_0x25f7('0x3')](0x0);var events={'afterCreate':'save','afterUpdate':'update','afterDestroy':_0x25f7('0x4')};function emitEvent(_0x19c029){return function(_0x9a6d8b,_0xd5d0f4,_0x3f977d){OpenchannelQueueEvents[_0x25f7('0x5')](_0x19c029+':'+_0x9a6d8b['id'],_0x9a6d8b);OpenchannelQueueEvents[_0x25f7('0x5')](_0x19c029,_0x9a6d8b);_0x3f977d(null);};}for(var e in events){if(events[_0x25f7('0x6')](e)){var event=events[e];OpenchannelQueue[_0x25f7('0x7')](e,emitEvent(event));}}module[_0x25f7('0x8')]=OpenchannelQueueEvents; \ No newline at end of file +var _0xcc5d=['save','update','remove','emit','hasOwnProperty','hook','exports','events','setMaxListeners'];(function(_0x4fc353,_0x1c5920){var _0x237c52=function(_0x1546bc){while(--_0x1546bc){_0x4fc353['push'](_0x4fc353['shift']());}};_0x237c52(++_0x1c5920);}(_0xcc5d,0x7c));var _0xdcc5=function(_0x141b49,_0x19ccfd){_0x141b49=_0x141b49-0x0;var _0xab6050=_0xcc5d[_0x141b49];return _0xab6050;};'use strict';var EventEmitter=require(_0xdcc5('0x0'));var OpenchannelQueue=require('../../mysqldb')['db']['OpenchannelQueue'];var OpenchannelQueueEvents=new EventEmitter();OpenchannelQueueEvents[_0xdcc5('0x1')](0x0);var events={'afterCreate':_0xdcc5('0x2'),'afterUpdate':_0xdcc5('0x3'),'afterDestroy':_0xdcc5('0x4')};function emitEvent(_0x1ff5ec){return function(_0x5d03c5,_0x4ab3ad,_0x37be4e){OpenchannelQueueEvents[_0xdcc5('0x5')](_0x1ff5ec+':'+_0x5d03c5['id'],_0x5d03c5);OpenchannelQueueEvents[_0xdcc5('0x5')](_0x1ff5ec,_0x5d03c5);_0x37be4e(null);};}for(var e in events){if(events[_0xdcc5('0x6')](e)){var event=events[e];OpenchannelQueue[_0xdcc5('0x7')](e,emitEvent(event));}}module[_0xdcc5('0x8')]=OpenchannelQueueEvents; \ No newline at end of file diff --git a/server/api/openchannelQueue/openchannelQueue.model.js b/server/api/openchannelQueue/openchannelQueue.model.js index 3c2758b..4788148 100644 --- a/server/api/openchannelQueue/openchannelQueue.model.js +++ b/server/api/openchannelQueue/openchannelQueue.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x6554=['bluebird','request-promise','path','rimraf','../../config/environment','./openchannelQueue.attributes','exports','define','OpenchannelQueue','openchannel_queues','lodash','util','../../config/logger','api','moment'];(function(_0x30ae5e,_0x391fc4){var _0x1f2e93=function(_0x60307d){while(--_0x60307d){_0x30ae5e['push'](_0x30ae5e['shift']());}};_0x1f2e93(++_0x391fc4);}(_0x6554,0x181));var _0x4655=function(_0x1317da,_0x536a47){_0x1317da=_0x1317da-0x0;var _0x541047=_0x6554[_0x1317da];return _0x541047;};'use strict';var _=require(_0x4655('0x0'));var util=require(_0x4655('0x1'));var logger=require(_0x4655('0x2'))(_0x4655('0x3'));var moment=require(_0x4655('0x4'));var BPromise=require(_0x4655('0x5'));var rp=require(_0x4655('0x6'));var fs=require('fs');var path=require(_0x4655('0x7'));var rimraf=require(_0x4655('0x8'));var config=require(_0x4655('0x9'));var attributes=require(_0x4655('0xa'));module[_0x4655('0xb')]=function(_0x48ba0c,_0x23df55){return _0x48ba0c[_0x4655('0xc')](_0x4655('0xd'),attributes,{'tableName':_0x4655('0xe'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0x311a=['util','api','moment','request-promise','path','rimraf','../../config/environment','define','openchannel_queues','lodash'];(function(_0x256b72,_0x340985){var _0x2183e3=function(_0xf7fd37){while(--_0xf7fd37){_0x256b72['push'](_0x256b72['shift']());}};_0x2183e3(++_0x340985);}(_0x311a,0xf9));var _0xa311=function(_0x3f9e8c,_0x4f6caf){_0x3f9e8c=_0x3f9e8c-0x0;var _0x590945=_0x311a[_0x3f9e8c];return _0x590945;};'use strict';var _=require(_0xa311('0x0'));var util=require(_0xa311('0x1'));var logger=require('../../config/logger')(_0xa311('0x2'));var moment=require(_0xa311('0x3'));var BPromise=require('bluebird');var rp=require(_0xa311('0x4'));var fs=require('fs');var path=require(_0xa311('0x5'));var rimraf=require(_0xa311('0x6'));var config=require(_0xa311('0x7'));var attributes=require('./openchannelQueue.attributes');module['exports']=function(_0x44c8d1,_0x57322b){return _0x44c8d1[_0xa311('0x8')]('OpenchannelQueue',attributes,{'tableName':_0xa311('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/openchannelQueue/openchannelQueue.rpc.js b/server/api/openchannelQueue/openchannelQueue.rpc.js index 9b5a08f..0ba5ae3 100644 --- a/server/api/openchannelQueue/openchannelQueue.rpc.js +++ b/server/api/openchannelQueue/openchannelQueue.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x4173=['debug','OpenchannelQueue,\x20%s,\x20%s,\x20%s','stringify','code','error','OpenchannelQueue,\x20%s,\x20%s','message','info','result','catch','GetOpenchannelQueue','findAll','options','where','attributes','limit','include','model','map','then','ShowOpenchannelQueue','OpenchannelQueue','find','raw','lodash','util','moment','bluebird','ioredis','../../config/environment','jayson/promise','client','redis','defaults','localhost','./openchannelQueue.socket','register','request','request\x20sent'];(function(_0x16ead1,_0x15106d){var _0xf431e6=function(_0x416f9c){while(--_0x416f9c){_0x16ead1['push'](_0x16ead1['shift']());}};_0xf431e6(++_0x15106d);}(_0x4173,0x66));var _0x3417=function(_0x2f41dd,_0x5bd3a1){_0x2f41dd=_0x2f41dd-0x0;var _0x3b377d=_0x4173[_0x2f41dd];return _0x3b377d;};'use strict';var _=require(_0x3417('0x0'));var util=require(_0x3417('0x1'));var moment=require(_0x3417('0x2'));var BPromise=require(_0x3417('0x3'));var rs=require('randomstring');var fs=require('fs');var Redis=require(_0x3417('0x4'));var db=require('../../mysqldb')['db'];var utils=require('../../config/utils');var logger=require('../../config/logger')('rpc');var config=require(_0x3417('0x5'));var jayson=require(_0x3417('0x6'));var client=jayson[_0x3417('0x7')]['http']({'port':0x232a});config[_0x3417('0x8')]=_[_0x3417('0x9')](config[_0x3417('0x8')],{'host':_0x3417('0xa'),'port':0x18eb});var socket=require('socket.io-emitter')(new Redis(config['redis']));require(_0x3417('0xb'))[_0x3417('0xc')](socket);function respondWithRpcPromise(_0xb08c7d,_0x336e91,_0xd982a3){return new BPromise(function(_0x3a9bc6,_0x31febe){return client[_0x3417('0xd')](_0xb08c7d,_0xd982a3)['then'](function(_0x996a04){logger['info']('OpenchannelQueue,\x20%s,\x20%s',_0x336e91,_0x3417('0xe'));logger[_0x3417('0xf')](_0x3417('0x10'),_0x336e91,'request\x20sent',JSON[_0x3417('0x11')](_0x996a04));if(_0x996a04['error']){if(_0x996a04['error'][_0x3417('0x12')]===0x1f4){logger[_0x3417('0x13')](_0x3417('0x14'),_0x336e91,_0x996a04[_0x3417('0x13')][_0x3417('0x15')]);return _0x31febe(_0x996a04[_0x3417('0x13')]['message']);}logger[_0x3417('0x13')](_0x3417('0x14'),_0x336e91,_0x996a04['error'][_0x3417('0x15')]);return _0x3a9bc6(_0x996a04[_0x3417('0x13')][_0x3417('0x15')]);}else{logger[_0x3417('0x16')](_0x3417('0x14'),_0x336e91,'request\x20sent');_0x3a9bc6(_0x996a04[_0x3417('0x17')][_0x3417('0x15')]);}})[_0x3417('0x18')](function(_0x5c35aa){logger[_0x3417('0x13')](_0x3417('0x14'),_0x336e91,_0x5c35aa);_0x31febe(_0x5c35aa);});});}exports[_0x3417('0x19')]=function(_0x3e33e8){var _0x5b7fac=this;return new Promise(function(_0x3517b5,_0x5f3ad7){return db['OpenchannelQueue'][_0x3417('0x1a')]({'raw':_0x3e33e8[_0x3417('0x1b')]?_0x3e33e8['options']['raw']===undefined?!![]:![]:!![],'where':_0x3e33e8[_0x3417('0x1b')]?_0x3e33e8[_0x3417('0x1b')][_0x3417('0x1c')]||null:null,'attributes':_0x3e33e8[_0x3417('0x1b')]?_0x3e33e8[_0x3417('0x1b')][_0x3417('0x1d')]||null:null,'limit':_0x3e33e8[_0x3417('0x1b')]?_0x3e33e8[_0x3417('0x1b')][_0x3417('0x1e')]||null:null,'include':_0x3e33e8[_0x3417('0x1b')]?_0x3e33e8['options'][_0x3417('0x1f')]?_['map'](_0x3e33e8[_0x3417('0x1b')]['include'],function(_0x274080){return{'model':db[_0x274080[_0x3417('0x20')]],'as':_0x274080['as'],'attributes':_0x274080[_0x3417('0x1d')],'include':_0x274080[_0x3417('0x1f')]?_[_0x3417('0x21')](_0x274080[_0x3417('0x1f')],function(_0x4c19ef){return{'model':db[_0x4c19ef['model']],'as':_0x4c19ef['as'],'attributes':_0x4c19ef['attributes'],'include':_0x4c19ef['include']?_['map'](_0x4c19ef[_0x3417('0x1f')],function(_0x5ab4d9){return{'model':db[_0x5ab4d9['model']],'as':_0x5ab4d9['as'],'attributes':_0x5ab4d9[_0x3417('0x1d')]};}):[]};}):[]};}):[]:[]})[_0x3417('0x22')](function(_0x4ad2f0){logger[_0x3417('0x16')](_0x3417('0x19'),_0x3e33e8);logger[_0x3417('0xf')](_0x3417('0x19'),_0x3e33e8,JSON[_0x3417('0x11')](_0x4ad2f0));_0x3517b5(_0x4ad2f0);})[_0x3417('0x18')](function(_0x6fe0af){logger[_0x3417('0x13')](_0x3417('0x19'),_0x6fe0af[_0x3417('0x15')],_0x3e33e8);_0x5f3ad7(_0x5b7fac[_0x3417('0x13')](0x1f4,_0x6fe0af[_0x3417('0x15')]));});});};exports[_0x3417('0x23')]=function(_0x116ad1){var _0x395eb2=this;return new Promise(function(_0x619734,_0x1ec758){return db[_0x3417('0x24')][_0x3417('0x25')]({'raw':_0x116ad1['options']?_0x116ad1[_0x3417('0x1b')][_0x3417('0x26')]===undefined?!![]:![]:!![],'where':_0x116ad1[_0x3417('0x1b')]?_0x116ad1[_0x3417('0x1b')]['where']||null:null,'attributes':_0x116ad1[_0x3417('0x1b')]?_0x116ad1[_0x3417('0x1b')][_0x3417('0x1d')]||null:null,'include':_0x116ad1[_0x3417('0x1b')]?_0x116ad1['options'][_0x3417('0x1f')]?_[_0x3417('0x21')](_0x116ad1['options'][_0x3417('0x1f')],function(_0x4f3af2){return{'model':db[_0x4f3af2[_0x3417('0x20')]],'as':_0x4f3af2['as'],'attributes':_0x4f3af2['attributes'],'include':_0x4f3af2[_0x3417('0x1f')]?_[_0x3417('0x21')](_0x4f3af2[_0x3417('0x1f')],function(_0x58c7cd){return{'model':db[_0x58c7cd['model']],'as':_0x58c7cd['as'],'attributes':_0x58c7cd[_0x3417('0x1d')],'include':_0x58c7cd[_0x3417('0x1f')]?_[_0x3417('0x21')](_0x58c7cd[_0x3417('0x1f')],function(_0x5dbc13){return{'model':db[_0x5dbc13[_0x3417('0x20')]],'as':_0x5dbc13['as'],'attributes':_0x5dbc13[_0x3417('0x1d')]};}):[]};}):[]};}):[]:[]})[_0x3417('0x22')](function(_0x1c5ae4){logger[_0x3417('0x16')](_0x3417('0x23'),_0x116ad1);logger[_0x3417('0xf')](_0x3417('0x23'),_0x116ad1,JSON[_0x3417('0x11')](_0x1c5ae4));_0x619734(_0x1c5ae4);})[_0x3417('0x18')](function(_0xb98bd8){logger['error']('ShowOpenchannelQueue',_0xb98bd8[_0x3417('0x15')],_0x116ad1);_0x1ec758(_0x395eb2['error'](0x1f4,_0xb98bd8['message']));});});}; \ No newline at end of file +var _0x12eb=['defaults','socket.io-emitter','info','OpenchannelQueue,\x20%s,\x20%s','OpenchannelQueue,\x20%s,\x20%s,\x20%s','request\x20sent','error','message','result','catch','GetOpenchannelQueue','findAll','options','raw','where','attributes','limit','include','map','model','then','stringify','ShowOpenchannelQueue','find','debug','lodash','util','randomstring','ioredis','../../mysqldb','../../config/utils','../../config/logger','rpc','jayson/promise','client','http','redis'];(function(_0x2e4e19,_0x493b50){var _0x9ba20b=function(_0x2f6456){while(--_0x2f6456){_0x2e4e19['push'](_0x2e4e19['shift']());}};_0x9ba20b(++_0x493b50);}(_0x12eb,0x1b0));var _0xb12e=function(_0x20a584,_0xe384a5){_0x20a584=_0x20a584-0x0;var _0x4b41a8=_0x12eb[_0x20a584];return _0x4b41a8;};'use strict';var _=require(_0xb12e('0x0'));var util=require(_0xb12e('0x1'));var moment=require('moment');var BPromise=require('bluebird');var rs=require(_0xb12e('0x2'));var fs=require('fs');var Redis=require(_0xb12e('0x3'));var db=require(_0xb12e('0x4'))['db'];var utils=require(_0xb12e('0x5'));var logger=require(_0xb12e('0x6'))(_0xb12e('0x7'));var config=require('../../config/environment');var jayson=require(_0xb12e('0x8'));var client=jayson[_0xb12e('0x9')][_0xb12e('0xa')]({'port':0x232a});config[_0xb12e('0xb')]=_[_0xb12e('0xc')](config['redis'],{'host':'localhost','port':0x18eb});var socket=require(_0xb12e('0xd'))(new Redis(config[_0xb12e('0xb')]));require('./openchannelQueue.socket')['register'](socket);function respondWithRpcPromise(_0x48446c,_0x31eaac,_0x565950){return new BPromise(function(_0x222b1a,_0xc0b286){return client['request'](_0x48446c,_0x565950)['then'](function(_0xe2b8af){logger[_0xb12e('0xe')](_0xb12e('0xf'),_0x31eaac,'request\x20sent');logger['debug'](_0xb12e('0x10'),_0x31eaac,_0xb12e('0x11'),JSON['stringify'](_0xe2b8af));if(_0xe2b8af[_0xb12e('0x12')]){if(_0xe2b8af[_0xb12e('0x12')]['code']===0x1f4){logger[_0xb12e('0x12')]('OpenchannelQueue,\x20%s,\x20%s',_0x31eaac,_0xe2b8af['error'][_0xb12e('0x13')]);return _0xc0b286(_0xe2b8af['error']['message']);}logger[_0xb12e('0x12')]('OpenchannelQueue,\x20%s,\x20%s',_0x31eaac,_0xe2b8af[_0xb12e('0x12')]['message']);return _0x222b1a(_0xe2b8af['error']['message']);}else{logger[_0xb12e('0xe')](_0xb12e('0xf'),_0x31eaac,'request\x20sent');_0x222b1a(_0xe2b8af[_0xb12e('0x14')][_0xb12e('0x13')]);}})[_0xb12e('0x15')](function(_0x2a05f9){logger[_0xb12e('0x12')](_0xb12e('0xf'),_0x31eaac,_0x2a05f9);_0xc0b286(_0x2a05f9);});});}exports[_0xb12e('0x16')]=function(_0x127656){var _0x1bc3af=this;return new Promise(function(_0x1bd75e,_0x4966af){return db['OpenchannelQueue'][_0xb12e('0x17')]({'raw':_0x127656[_0xb12e('0x18')]?_0x127656['options'][_0xb12e('0x19')]===undefined?!![]:![]:!![],'where':_0x127656[_0xb12e('0x18')]?_0x127656[_0xb12e('0x18')][_0xb12e('0x1a')]||null:null,'attributes':_0x127656[_0xb12e('0x18')]?_0x127656[_0xb12e('0x18')][_0xb12e('0x1b')]||null:null,'limit':_0x127656[_0xb12e('0x18')]?_0x127656[_0xb12e('0x18')][_0xb12e('0x1c')]||null:null,'include':_0x127656['options']?_0x127656['options'][_0xb12e('0x1d')]?_[_0xb12e('0x1e')](_0x127656[_0xb12e('0x18')][_0xb12e('0x1d')],function(_0x56badc){return{'model':db[_0x56badc[_0xb12e('0x1f')]],'as':_0x56badc['as'],'attributes':_0x56badc[_0xb12e('0x1b')],'include':_0x56badc['include']?_[_0xb12e('0x1e')](_0x56badc[_0xb12e('0x1d')],function(_0x22dc4b){return{'model':db[_0x22dc4b[_0xb12e('0x1f')]],'as':_0x22dc4b['as'],'attributes':_0x22dc4b[_0xb12e('0x1b')],'include':_0x22dc4b[_0xb12e('0x1d')]?_[_0xb12e('0x1e')](_0x22dc4b[_0xb12e('0x1d')],function(_0x5d47d2){return{'model':db[_0x5d47d2[_0xb12e('0x1f')]],'as':_0x5d47d2['as'],'attributes':_0x5d47d2['attributes']};}):[]};}):[]};}):[]:[]})[_0xb12e('0x20')](function(_0xb06791){logger[_0xb12e('0xe')]('GetOpenchannelQueue',_0x127656);logger['debug'](_0xb12e('0x16'),_0x127656,JSON[_0xb12e('0x21')](_0xb06791));_0x1bd75e(_0xb06791);})[_0xb12e('0x15')](function(_0x3b3dd2){logger[_0xb12e('0x12')](_0xb12e('0x16'),_0x3b3dd2[_0xb12e('0x13')],_0x127656);_0x4966af(_0x1bc3af[_0xb12e('0x12')](0x1f4,_0x3b3dd2[_0xb12e('0x13')]));});});};exports[_0xb12e('0x22')]=function(_0x42e0f0){var _0x20dce6=this;return new Promise(function(_0x5c5ae0,_0xba0025){return db['OpenchannelQueue'][_0xb12e('0x23')]({'raw':_0x42e0f0[_0xb12e('0x18')]?_0x42e0f0['options'][_0xb12e('0x19')]===undefined?!![]:![]:!![],'where':_0x42e0f0[_0xb12e('0x18')]?_0x42e0f0[_0xb12e('0x18')]['where']||null:null,'attributes':_0x42e0f0['options']?_0x42e0f0[_0xb12e('0x18')]['attributes']||null:null,'include':_0x42e0f0[_0xb12e('0x18')]?_0x42e0f0['options'][_0xb12e('0x1d')]?_[_0xb12e('0x1e')](_0x42e0f0[_0xb12e('0x18')][_0xb12e('0x1d')],function(_0x5ac705){return{'model':db[_0x5ac705[_0xb12e('0x1f')]],'as':_0x5ac705['as'],'attributes':_0x5ac705[_0xb12e('0x1b')],'include':_0x5ac705[_0xb12e('0x1d')]?_[_0xb12e('0x1e')](_0x5ac705[_0xb12e('0x1d')],function(_0x3014d3){return{'model':db[_0x3014d3[_0xb12e('0x1f')]],'as':_0x3014d3['as'],'attributes':_0x3014d3[_0xb12e('0x1b')],'include':_0x3014d3['include']?_[_0xb12e('0x1e')](_0x3014d3[_0xb12e('0x1d')],function(_0x2cb92a){return{'model':db[_0x2cb92a['model']],'as':_0x2cb92a['as'],'attributes':_0x2cb92a[_0xb12e('0x1b')]};}):[]};}):[]};}):[]:[]})['then'](function(_0x20aa15){logger[_0xb12e('0xe')](_0xb12e('0x22'),_0x42e0f0);logger[_0xb12e('0x24')](_0xb12e('0x22'),_0x42e0f0,JSON[_0xb12e('0x21')](_0x20aa15));_0x5c5ae0(_0x20aa15);})[_0xb12e('0x15')](function(_0x58a928){logger[_0xb12e('0x12')](_0xb12e('0x22'),_0x58a928['message'],_0x42e0f0);_0xba0025(_0x20dce6[_0xb12e('0x12')](0x1f4,_0x58a928[_0xb12e('0x13')]));});});}; \ No newline at end of file diff --git a/server/api/openchannelQueue/openchannelQueue.socket.js b/server/api/openchannelQueue/openchannelQueue.socket.js index 3eb7eae..cbd051f 100644 --- a/server/api/openchannelQueue/openchannelQueue.socket.js +++ b/server/api/openchannelQueue/openchannelQueue.socket.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xcc3a=['openchannelQueue:','./openchannelQueue.events','remove','emit','register','length'];(function(_0x1c6c3f,_0x2541a7){var _0x5bc435=function(_0x2a0a8f){while(--_0x2a0a8f){_0x1c6c3f['push'](_0x1c6c3f['shift']());}};_0x5bc435(++_0x2541a7);}(_0xcc3a,0xc7));var _0xacc3=function(_0x273c39,_0x1052e6){_0x273c39=_0x273c39-0x0;var _0x46d6b5=_0xcc3a[_0x273c39];return _0x46d6b5;};'use strict';var OpenchannelQueueEvents=require(_0xacc3('0x0'));var events=['save',_0xacc3('0x1'),'update'];function createListener(_0x3e9d36,_0xb940f0){return function(_0x41693e){_0xb940f0[_0xacc3('0x2')](_0x3e9d36,_0x41693e);};}function removeListener(_0x564052,_0x41176d){return function(){OpenchannelQueueEvents['removeListener'](_0x564052,_0x41176d);};}exports[_0xacc3('0x3')]=function(_0x10535f){for(var _0x248528=0x0,_0x5c042f=events[_0xacc3('0x4')];_0x248528<_0x5c042f;_0x248528++){var _0x1dee91=events[_0x248528];var _0x54b64c=createListener(_0xacc3('0x5')+_0x1dee91,_0x10535f);OpenchannelQueueEvents['on'](_0x1dee91,_0x54b64c);}}; \ No newline at end of file +var _0x3bfe=['emit','removeListener','length','openchannelQueue:','./openchannelQueue.events','remove','update'];(function(_0x25ad1d,_0x5178c3){var _0x44fc08=function(_0x163ef6){while(--_0x163ef6){_0x25ad1d['push'](_0x25ad1d['shift']());}};_0x44fc08(++_0x5178c3);}(_0x3bfe,0xf2));var _0xe3bf=function(_0x4a532a,_0x16251a){_0x4a532a=_0x4a532a-0x0;var _0x231f9d=_0x3bfe[_0x4a532a];return _0x231f9d;};'use strict';var OpenchannelQueueEvents=require(_0xe3bf('0x0'));var events=['save',_0xe3bf('0x1'),_0xe3bf('0x2')];function createListener(_0x2fec26,_0x4642c1){return function(_0xeb3b56){_0x4642c1[_0xe3bf('0x3')](_0x2fec26,_0xeb3b56);};}function removeListener(_0x1e66dd,_0x3137a0){return function(){OpenchannelQueueEvents[_0xe3bf('0x4')](_0x1e66dd,_0x3137a0);};}exports['register']=function(_0x4d00ee){for(var _0x392423=0x0,_0x3b34d0=events[_0xe3bf('0x5')];_0x392423<_0x3b34d0;_0x392423++){var _0x350510=events[_0x392423];var _0x1e61d4=createListener(_0xe3bf('0x6')+_0x350510,_0x4d00ee);OpenchannelQueueEvents['on'](_0x350510,_0x1e61d4);}}; \ No newline at end of file diff --git a/server/api/openchannelQueueReport/index.js b/server/api/openchannelQueueReport/index.js index a5f5e98..cbf7c12 100644 --- a/server/api/openchannelQueueReport/index.js +++ b/server/api/openchannelQueueReport/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x9268=['../../components/auth/service','./openchannelQueueReport.controller','get','isAuthenticated','index','/describe','/:id','show','post','create','put','exports','multer','util','path','express','Router'];(function(_0x35885a,_0x42fed7){var _0xe86249=function(_0x98edb3){while(--_0x98edb3){_0x35885a['push'](_0x35885a['shift']());}};_0xe86249(++_0x42fed7);}(_0x9268,0x193));var _0x8926=function(_0x4b0290,_0x188c34){_0x4b0290=_0x4b0290-0x0;var _0x4bd9f4=_0x9268[_0x4b0290];return _0x4bd9f4;};'use strict';var multer=require(_0x8926('0x0'));var util=require(_0x8926('0x1'));var path=require(_0x8926('0x2'));var timeout=require('connect-timeout');var express=require(_0x8926('0x3'));var router=express[_0x8926('0x4')]();var auth=require(_0x8926('0x5'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x8926('0x6'));router[_0x8926('0x7')]('/',auth[_0x8926('0x8')](),controller[_0x8926('0x9')]);router[_0x8926('0x7')](_0x8926('0xa'),auth[_0x8926('0x8')](),controller['describe']);router[_0x8926('0x7')](_0x8926('0xb'),auth[_0x8926('0x8')](),controller[_0x8926('0xc')]);router[_0x8926('0xd')]('/',auth[_0x8926('0x8')](),controller[_0x8926('0xe')]);router[_0x8926('0xf')](_0x8926('0xb'),auth[_0x8926('0x8')](),controller['update']);router['delete'](_0x8926('0xb'),auth['isAuthenticated'](),controller['destroy']);module[_0x8926('0x10')]=router; \ No newline at end of file +var _0xc3cd=['./openchannelQueueReport.controller','get','isAuthenticated','index','describe','/:id','show','put','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service'];(function(_0x48876c,_0xe351e5){var _0x134fc5=function(_0x3e4212){while(--_0x3e4212){_0x48876c['push'](_0x48876c['shift']());}};_0x134fc5(++_0xe351e5);}(_0xc3cd,0xef));var _0xdc3c=function(_0x4fa83a,_0x4d0a76){_0x4fa83a=_0x4fa83a-0x0;var _0x325596=_0xc3cd[_0x4fa83a];return _0x325596;};'use strict';var multer=require(_0xdc3c('0x0'));var util=require(_0xdc3c('0x1'));var path=require(_0xdc3c('0x2'));var timeout=require(_0xdc3c('0x3'));var express=require(_0xdc3c('0x4'));var router=express[_0xdc3c('0x5')]();var auth=require(_0xdc3c('0x6'));var interaction=require(_0xdc3c('0x7'));var config=require('../../config/environment');var controller=require(_0xdc3c('0x8'));router[_0xdc3c('0x9')]('/',auth[_0xdc3c('0xa')](),controller[_0xdc3c('0xb')]);router[_0xdc3c('0x9')]('/describe',auth[_0xdc3c('0xa')](),controller[_0xdc3c('0xc')]);router[_0xdc3c('0x9')](_0xdc3c('0xd'),auth[_0xdc3c('0xa')](),controller[_0xdc3c('0xe')]);router['post']('/',auth['isAuthenticated'](),controller['create']);router[_0xdc3c('0xf')](_0xdc3c('0xd'),auth[_0xdc3c('0xa')](),controller['update']);router[_0xdc3c('0x10')]('/:id',auth[_0xdc3c('0xa')](),controller[_0xdc3c('0x11')]);module[_0xdc3c('0x12')]=router; \ No newline at end of file diff --git a/server/api/openchannelQueueReport/openchannelQueueReport.attributes.js b/server/api/openchannelQueueReport/openchannelQueueReport.attributes.js index ba752ae..071dbc4 100644 --- a/server/api/openchannelQueueReport/openchannelQueueReport.attributes.js +++ b/server/api/openchannelQueueReport/openchannelQueueReport.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xbcf7=['moment','sequelize','exports','STRING','DATE'];(function(_0x55c007,_0xdf9bba){var _0x1646af=function(_0x51b0fc){while(--_0x51b0fc){_0x55c007['push'](_0x55c007['shift']());}};_0x1646af(++_0xdf9bba);}(_0xbcf7,0xcd));var _0x7bcf=function(_0x375358,_0x1e12a5){_0x375358=_0x375358-0x0;var _0x3829c3=_0xbcf7[_0x375358];return _0x3829c3;};'use strict';var moment=require(_0x7bcf('0x0'));var Sequelize=require(_0x7bcf('0x1'));module[_0x7bcf('0x2')]={'uniqueid':{'type':Sequelize['STRING'],'allowNull':![]},'from':{'type':Sequelize[_0x7bcf('0x3')]},'joinAt':{'type':Sequelize['DATE']},'leaveAt':{'type':Sequelize[_0x7bcf('0x4')]},'acceptAt':{'type':Sequelize[_0x7bcf('0x4')]},'exitAt':{'type':Sequelize[_0x7bcf('0x4')]},'reason':{'type':Sequelize[_0x7bcf('0x3')]}}; \ No newline at end of file +var _0x68fc=['DATE','exports','STRING'];(function(_0x1fc521,_0x299ace){var _0x5b7627=function(_0x1450c3){while(--_0x1450c3){_0x1fc521['push'](_0x1fc521['shift']());}};_0x5b7627(++_0x299ace);}(_0x68fc,0x1c3));var _0xc68f=function(_0x5ef260,_0x174d7d){_0x5ef260=_0x5ef260-0x0;var _0x516fa4=_0x68fc[_0x5ef260];return _0x516fa4;};'use strict';var moment=require('moment');var Sequelize=require('sequelize');module[_0xc68f('0x0')]={'uniqueid':{'type':Sequelize[_0xc68f('0x1')],'allowNull':![]},'from':{'type':Sequelize[_0xc68f('0x1')]},'joinAt':{'type':Sequelize[_0xc68f('0x2')]},'leaveAt':{'type':Sequelize[_0xc68f('0x2')]},'acceptAt':{'type':Sequelize[_0xc68f('0x2')]},'exitAt':{'type':Sequelize[_0xc68f('0x2')]},'reason':{'type':Sequelize[_0xc68f('0x1')]}}; \ No newline at end of file diff --git a/server/api/openchannelQueueReport/openchannelQueueReport.controller.js b/server/api/openchannelQueueReport/openchannelQueueReport.controller.js index 49eeb7c..fbf5349 100644 --- a/server/api/openchannelQueueReport/openchannelQueueReport.controller.js +++ b/server/api/openchannelQueueReport/openchannelQueueReport.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x5acc=['create','body','describe','html-pdf','eml-format','fast-json-patch','request-promise','moment','mustache','util','path','to-csv','lodash','squel','crypto','jsforce','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../config/license/hardware','../../config/logger','api','../../config/environment','../../mysqldb','sendStatus','status','end','json','offset','limit','Content-Range','apply','reject','update','then','destroy','error','name','send','index','OpenchannelQueueReport','rawAttributes','fieldName','type','model','map','query','filters','intersection','fields','attributes','length','nolimit','sort','where','merge','VIRTUAL','filter','options','count','includeAll','include','rows','catch','show','params','keys','find'];(function(_0x4a06cf,_0x3eebd5){var _0xfa2e90=function(_0x1a5fec){while(--_0x1a5fec){_0x4a06cf['push'](_0x4a06cf['shift']());}};_0xfa2e90(++_0x3eebd5);}(_0x5acc,0x1ed));var _0xc5ac=function(_0x6131cd,_0x4c26a1){_0x6131cd=_0x6131cd-0x0;var _0x47e916=_0x5acc[_0x6131cd];return _0x47e916;};'use strict';var pdf=require(_0xc5ac('0x0'));var emlformat=require(_0xc5ac('0x1'));var rimraf=require('rimraf');var zipdir=require('zip-dir');var jsonpatch=require(_0xc5ac('0x2'));var rp=require(_0xc5ac('0x3'));var moment=require(_0xc5ac('0x4'));var BPromise=require('bluebird');var Mustache=require(_0xc5ac('0x5'));var util=require(_0xc5ac('0x6'));var path=require(_0xc5ac('0x7'));var sox=require('sox');var csv=require(_0xc5ac('0x8'));var ejs=require('ejs');var fs=require('fs');var _=require(_0xc5ac('0x9'));var squel=require(_0xc5ac('0xa'));var crypto=require(_0xc5ac('0xb'));var jsforce=require(_0xc5ac('0xc'));var deskjs=require('desk.js');var toCsv=require(_0xc5ac('0x8'));var querystring=require(_0xc5ac('0xd'));var Papa=require(_0xc5ac('0xe'));var Redis=require(_0xc5ac('0xf'));var authService=require(_0xc5ac('0x10'));var qs=require(_0xc5ac('0x11'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0xc5ac('0x12'));var logger=require(_0xc5ac('0x13'))(_0xc5ac('0x14'));var utils=require('../../config/utils');var config=require(_0xc5ac('0x15'));var db=require(_0xc5ac('0x16'))['db'];function respondWithStatusCode(_0x3ab6f2,_0x1f57e2){_0x1f57e2=_0x1f57e2||0xcc;return function(_0x10ba28){if(_0x10ba28){return _0x3ab6f2[_0xc5ac('0x17')](_0x1f57e2);}return _0x3ab6f2[_0xc5ac('0x18')](_0x1f57e2)[_0xc5ac('0x19')]();};}function respondWithResult(_0x38c92b,_0x1b6b65){_0x1b6b65=_0x1b6b65||0xc8;return function(_0xa08f52){if(_0xa08f52){return _0x38c92b['status'](_0x1b6b65)[_0xc5ac('0x1a')](_0xa08f52);}};}function respondWithFilteredResult(_0x58b77d,_0x29b223){return function(_0x4e18f6){if(_0x4e18f6){var _0x592ac6=_0x4e18f6['count'],_0x3f3096=_0x29b223['offset'],_0x211537=_0x29b223[_0xc5ac('0x1b')]+_0x29b223[_0xc5ac('0x1c')],_0x2c49b6;if(_0x211537>=_0x592ac6){_0x211537=_0x592ac6;_0x2c49b6=0xc8;}else{_0x2c49b6=0xce;}_0x58b77d[_0xc5ac('0x18')](_0x2c49b6);return _0x58b77d['set'](_0xc5ac('0x1d'),_0x3f3096+'-'+_0x211537+'/'+_0x592ac6)['json'](_0x4e18f6);}return null;};}function patchUpdates(_0x2ec714){return function(_0x24182a){try{jsonpatch[_0xc5ac('0x1e')](_0x24182a,_0x2ec714,!![]);}catch(_0x40256c){return BPromise[_0xc5ac('0x1f')](_0x40256c);}return _0x24182a['save']();};}function saveUpdates(_0x30f75f,_0x2d5b39){return function(_0x199e27){if(_0x199e27){return _0x199e27[_0xc5ac('0x20')](_0x30f75f)[_0xc5ac('0x21')](function(_0x40a9c9){return _0x40a9c9;});}return null;};}function removeEntity(_0xdf7cb3,_0x98a49e){return function(_0x50eda1){if(_0x50eda1){return _0x50eda1[_0xc5ac('0x22')]()[_0xc5ac('0x21')](function(){_0xdf7cb3['status'](0xcc)[_0xc5ac('0x19')]();});}};}function handleEntityNotFound(_0x179b6d,_0x48dbdb){return function(_0x1c0d10){if(!_0x1c0d10){_0x179b6d[_0xc5ac('0x17')](0x194);}return _0x1c0d10;};}function handleError(_0xa88697,_0x10e1df){_0x10e1df=_0x10e1df||0x1f4;return function(_0x1e4eda){logger[_0xc5ac('0x23')](_0x1e4eda['stack']);if(_0x1e4eda[_0xc5ac('0x24')]){delete _0x1e4eda['name'];}_0xa88697[_0xc5ac('0x18')](_0x10e1df)[_0xc5ac('0x25')](_0x1e4eda);};}exports[_0xc5ac('0x26')]=function(_0x1d1c87,_0x5ec0e4){var _0x1e828f={},_0x3adf24={},_0x1049b1={'count':0x0,'rows':[]};var _0x6fd2f7=_['map'](db[_0xc5ac('0x27')][_0xc5ac('0x28')],function(_0x4306e1){return{'name':_0x4306e1[_0xc5ac('0x29')],'type':_0x4306e1[_0xc5ac('0x2a')]['key']};});_0x3adf24[_0xc5ac('0x2b')]=_[_0xc5ac('0x2c')](_0x6fd2f7,_0xc5ac('0x24'));_0x3adf24[_0xc5ac('0x2d')]=_['keys'](_0x1d1c87[_0xc5ac('0x2d')]);_0x3adf24[_0xc5ac('0x2e')]=_[_0xc5ac('0x2f')](_0x3adf24[_0xc5ac('0x2b')],_0x3adf24[_0xc5ac('0x2d')]);_0x1e828f['attributes']=_[_0xc5ac('0x2f')](_0x3adf24[_0xc5ac('0x2b')],qs['fields'](_0x1d1c87[_0xc5ac('0x2d')][_0xc5ac('0x30')]));_0x1e828f[_0xc5ac('0x31')]=_0x1e828f['attributes'][_0xc5ac('0x32')]?_0x1e828f[_0xc5ac('0x31')]:_0x3adf24[_0xc5ac('0x2b')];if(!_0x1d1c87[_0xc5ac('0x2d')]['hasOwnProperty'](_0xc5ac('0x33'))){_0x1e828f[_0xc5ac('0x1c')]=qs[_0xc5ac('0x1c')](_0x1d1c87[_0xc5ac('0x2d')][_0xc5ac('0x1c')]);_0x1e828f[_0xc5ac('0x1b')]=qs[_0xc5ac('0x1b')](_0x1d1c87[_0xc5ac('0x2d')]['offset']);}_0x1e828f['order']=qs[_0xc5ac('0x34')](_0x1d1c87[_0xc5ac('0x2d')][_0xc5ac('0x34')]);_0x1e828f[_0xc5ac('0x35')]=qs[_0xc5ac('0x2e')](_['pick'](_0x1d1c87[_0xc5ac('0x2d')],_0x3adf24[_0xc5ac('0x2e')]),_0x6fd2f7);if(_0x1d1c87['query']['filter']){_0x1e828f[_0xc5ac('0x35')]=_[_0xc5ac('0x36')](_0x1e828f[_0xc5ac('0x35')],{'$or':_['map'](_0x6fd2f7,function(_0x65f9f7){if(_0x65f9f7['type']!==_0xc5ac('0x37')){var _0x15698a={};_0x15698a[_0x65f9f7[_0xc5ac('0x24')]]={'$like':'%'+_0x1d1c87[_0xc5ac('0x2d')][_0xc5ac('0x38')]+'%'};return _0x15698a;}})});}_0x1e828f=_[_0xc5ac('0x36')]({},_0x1e828f,_0x1d1c87[_0xc5ac('0x39')]);var _0x2ca5cd={'where':_0x1e828f[_0xc5ac('0x35')]};return db[_0xc5ac('0x27')][_0xc5ac('0x3a')](_0x2ca5cd)['then'](function(_0x5f49b0){_0x1049b1['count']=_0x5f49b0;if(_0x1d1c87[_0xc5ac('0x2d')][_0xc5ac('0x3b')]){_0x1e828f[_0xc5ac('0x3c')]=[{'all':!![]}];}return db[_0xc5ac('0x27')]['findAll'](_0x1e828f);})['then'](function(_0x3ea7f7){_0x1049b1[_0xc5ac('0x3d')]=_0x3ea7f7;return _0x1049b1;})[_0xc5ac('0x21')](respondWithFilteredResult(_0x5ec0e4,_0x1e828f))[_0xc5ac('0x3e')](handleError(_0x5ec0e4,null));};exports[_0xc5ac('0x3f')]=function(_0x2da520,_0x5ef2f0){var _0x1ddecd={'raw':!![],'where':{'id':_0x2da520[_0xc5ac('0x40')]['id']}},_0x5ca54b={};_0x5ca54b[_0xc5ac('0x2b')]=_[_0xc5ac('0x41')](db[_0xc5ac('0x27')][_0xc5ac('0x28')]);_0x5ca54b['query']=_['keys'](_0x2da520[_0xc5ac('0x2d')]);_0x5ca54b[_0xc5ac('0x2e')]=_['intersection'](_0x5ca54b[_0xc5ac('0x2b')],_0x5ca54b[_0xc5ac('0x2d')]);_0x1ddecd['attributes']=_[_0xc5ac('0x2f')](_0x5ca54b[_0xc5ac('0x2b')],qs[_0xc5ac('0x30')](_0x2da520['query'][_0xc5ac('0x30')]));_0x1ddecd[_0xc5ac('0x31')]=_0x1ddecd[_0xc5ac('0x31')][_0xc5ac('0x32')]?_0x1ddecd[_0xc5ac('0x31')]:_0x5ca54b['model'];if(_0x2da520['query'][_0xc5ac('0x3b')]){_0x1ddecd['include']=[{'all':!![]}];}_0x1ddecd=_['merge']({},_0x1ddecd,_0x2da520['options']);return db['OpenchannelQueueReport'][_0xc5ac('0x42')](_0x1ddecd)['then'](handleEntityNotFound(_0x5ef2f0,null))['then'](respondWithResult(_0x5ef2f0,null))[_0xc5ac('0x3e')](handleError(_0x5ef2f0,null));};exports[_0xc5ac('0x43')]=function(_0x690099,_0xcc9365){return db[_0xc5ac('0x27')][_0xc5ac('0x43')](_0x690099['body'],{})[_0xc5ac('0x21')](respondWithResult(_0xcc9365,0xc9))[_0xc5ac('0x3e')](handleError(_0xcc9365,null));};exports[_0xc5ac('0x20')]=function(_0x3db53b,_0x1824ec){if(_0x3db53b[_0xc5ac('0x44')]['id']){delete _0x3db53b[_0xc5ac('0x44')]['id'];}return db[_0xc5ac('0x27')][_0xc5ac('0x42')]({'where':{'id':_0x3db53b[_0xc5ac('0x40')]['id']}})[_0xc5ac('0x21')](handleEntityNotFound(_0x1824ec,null))[_0xc5ac('0x21')](saveUpdates(_0x3db53b[_0xc5ac('0x44')],null))['then'](respondWithResult(_0x1824ec,null))[_0xc5ac('0x3e')](handleError(_0x1824ec,null));};exports[_0xc5ac('0x22')]=function(_0x5e6311,_0x5ec759){return db[_0xc5ac('0x27')][_0xc5ac('0x42')]({'where':{'id':_0x5e6311[_0xc5ac('0x40')]['id']}})['then'](handleEntityNotFound(_0x5ec759,null))[_0xc5ac('0x21')](removeEntity(_0x5ec759,null))[_0xc5ac('0x3e')](handleError(_0x5ec759,null));};exports[_0xc5ac('0x45')]=function(_0xeadc21,_0x273a5d){return db[_0xc5ac('0x27')][_0xc5ac('0x45')]()[_0xc5ac('0x21')](respondWithResult(_0x273a5d,null))[_0xc5ac('0x3e')](handleError(_0x273a5d,null));}; \ No newline at end of file +var _0x20dc=['map','OpenchannelQueueReport','rawAttributes','fieldName','type','key','model','query','filters','intersection','attributes','length','nolimit','sort','pick','filter','where','merge','VIRTUAL','options','include','findAll','rows','show','params','keys','fields','find','catch','create','body','update','destroy','describe','html-pdf','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','mustache','util','path','sox','to-csv','ejs','lodash','crypto','jsforce','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../config/license/hardware','../../config/utils','../../config/environment','../../mysqldb','status','count','offset','limit','set','Content-Range','json','apply','reject','save','then','end','sendStatus','name','send','index'];(function(_0x16654a,_0x3254f0){var _0x4a4b45=function(_0x229868){while(--_0x229868){_0x16654a['push'](_0x16654a['shift']());}};_0x4a4b45(++_0x3254f0);}(_0x20dc,0xb8));var _0xc20d=function(_0x1801db,_0x47cd0a){_0x1801db=_0x1801db-0x0;var _0x41c59a=_0x20dc[_0x1801db];return _0x41c59a;};'use strict';var pdf=require(_0xc20d('0x0'));var emlformat=require('eml-format');var rimraf=require(_0xc20d('0x1'));var zipdir=require(_0xc20d('0x2'));var jsonpatch=require(_0xc20d('0x3'));var rp=require(_0xc20d('0x4'));var moment=require(_0xc20d('0x5'));var BPromise=require(_0xc20d('0x6'));var Mustache=require(_0xc20d('0x7'));var util=require(_0xc20d('0x8'));var path=require(_0xc20d('0x9'));var sox=require(_0xc20d('0xa'));var csv=require(_0xc20d('0xb'));var ejs=require(_0xc20d('0xc'));var fs=require('fs');var _=require(_0xc20d('0xd'));var squel=require('squel');var crypto=require(_0xc20d('0xe'));var jsforce=require(_0xc20d('0xf'));var deskjs=require(_0xc20d('0x10'));var toCsv=require(_0xc20d('0xb'));var querystring=require(_0xc20d('0x11'));var Papa=require(_0xc20d('0x12'));var Redis=require(_0xc20d('0x13'));var authService=require(_0xc20d('0x14'));var qs=require('../../components/parsers/qs');var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0xc20d('0x15'));var logger=require('../../config/logger')('api');var utils=require(_0xc20d('0x16'));var config=require(_0xc20d('0x17'));var db=require(_0xc20d('0x18'))['db'];function respondWithStatusCode(_0x5757e4,_0x4f87fa){_0x4f87fa=_0x4f87fa||0xcc;return function(_0x259792){if(_0x259792){return _0x5757e4['sendStatus'](_0x4f87fa);}return _0x5757e4[_0xc20d('0x19')](_0x4f87fa)['end']();};}function respondWithResult(_0x35d8e1,_0x38ea47){_0x38ea47=_0x38ea47||0xc8;return function(_0x482e7e){if(_0x482e7e){return _0x35d8e1[_0xc20d('0x19')](_0x38ea47)['json'](_0x482e7e);}};}function respondWithFilteredResult(_0x35f5b5,_0x3b3cb8){return function(_0x3676d5){if(_0x3676d5){var _0x314814=_0x3676d5[_0xc20d('0x1a')],_0x411dd0=_0x3b3cb8[_0xc20d('0x1b')],_0x7234c2=_0x3b3cb8[_0xc20d('0x1b')]+_0x3b3cb8[_0xc20d('0x1c')],_0x352a44;if(_0x7234c2>=_0x314814){_0x7234c2=_0x314814;_0x352a44=0xc8;}else{_0x352a44=0xce;}_0x35f5b5[_0xc20d('0x19')](_0x352a44);return _0x35f5b5[_0xc20d('0x1d')](_0xc20d('0x1e'),_0x411dd0+'-'+_0x7234c2+'/'+_0x314814)[_0xc20d('0x1f')](_0x3676d5);}return null;};}function patchUpdates(_0x37df6d){return function(_0x4b93e2){try{jsonpatch[_0xc20d('0x20')](_0x4b93e2,_0x37df6d,!![]);}catch(_0x414038){return BPromise[_0xc20d('0x21')](_0x414038);}return _0x4b93e2[_0xc20d('0x22')]();};}function saveUpdates(_0x342526,_0x57f417){return function(_0x47503d){if(_0x47503d){return _0x47503d['update'](_0x342526)['then'](function(_0x3497f7){return _0x3497f7;});}return null;};}function removeEntity(_0x248740,_0x15be48){return function(_0x37bdf0){if(_0x37bdf0){return _0x37bdf0['destroy']()[_0xc20d('0x23')](function(){_0x248740['status'](0xcc)[_0xc20d('0x24')]();});}};}function handleEntityNotFound(_0x9c40f4,_0x4adcb2){return function(_0x4f8517){if(!_0x4f8517){_0x9c40f4[_0xc20d('0x25')](0x194);}return _0x4f8517;};}function handleError(_0x1a0c77,_0x4706fa){_0x4706fa=_0x4706fa||0x1f4;return function(_0x2c1160){logger['error'](_0x2c1160['stack']);if(_0x2c1160[_0xc20d('0x26')]){delete _0x2c1160[_0xc20d('0x26')];}_0x1a0c77[_0xc20d('0x19')](_0x4706fa)[_0xc20d('0x27')](_0x2c1160);};}exports[_0xc20d('0x28')]=function(_0x44e142,_0x5756b4){var _0x405571={},_0x3149fb={},_0x4dad85={'count':0x0,'rows':[]};var _0x3e46bf=_[_0xc20d('0x29')](db[_0xc20d('0x2a')][_0xc20d('0x2b')],function(_0x359de9){return{'name':_0x359de9[_0xc20d('0x2c')],'type':_0x359de9[_0xc20d('0x2d')][_0xc20d('0x2e')]};});_0x3149fb[_0xc20d('0x2f')]=_[_0xc20d('0x29')](_0x3e46bf,_0xc20d('0x26'));_0x3149fb['query']=_['keys'](_0x44e142[_0xc20d('0x30')]);_0x3149fb[_0xc20d('0x31')]=_[_0xc20d('0x32')](_0x3149fb[_0xc20d('0x2f')],_0x3149fb[_0xc20d('0x30')]);_0x405571[_0xc20d('0x33')]=_[_0xc20d('0x32')](_0x3149fb['model'],qs['fields'](_0x44e142['query']['fields']));_0x405571[_0xc20d('0x33')]=_0x405571[_0xc20d('0x33')][_0xc20d('0x34')]?_0x405571['attributes']:_0x3149fb[_0xc20d('0x2f')];if(!_0x44e142[_0xc20d('0x30')]['hasOwnProperty'](_0xc20d('0x35'))){_0x405571[_0xc20d('0x1c')]=qs[_0xc20d('0x1c')](_0x44e142[_0xc20d('0x30')][_0xc20d('0x1c')]);_0x405571[_0xc20d('0x1b')]=qs['offset'](_0x44e142['query'][_0xc20d('0x1b')]);}_0x405571['order']=qs[_0xc20d('0x36')](_0x44e142[_0xc20d('0x30')][_0xc20d('0x36')]);_0x405571['where']=qs[_0xc20d('0x31')](_[_0xc20d('0x37')](_0x44e142[_0xc20d('0x30')],_0x3149fb[_0xc20d('0x31')]),_0x3e46bf);if(_0x44e142[_0xc20d('0x30')][_0xc20d('0x38')]){_0x405571[_0xc20d('0x39')]=_[_0xc20d('0x3a')](_0x405571['where'],{'$or':_[_0xc20d('0x29')](_0x3e46bf,function(_0x3a7451){if(_0x3a7451[_0xc20d('0x2d')]!==_0xc20d('0x3b')){var _0x3444a0={};_0x3444a0[_0x3a7451[_0xc20d('0x26')]]={'$like':'%'+_0x44e142[_0xc20d('0x30')]['filter']+'%'};return _0x3444a0;}})});}_0x405571=_[_0xc20d('0x3a')]({},_0x405571,_0x44e142[_0xc20d('0x3c')]);var _0x1016e6={'where':_0x405571['where']};return db[_0xc20d('0x2a')][_0xc20d('0x1a')](_0x1016e6)[_0xc20d('0x23')](function(_0x12575f){_0x4dad85[_0xc20d('0x1a')]=_0x12575f;if(_0x44e142['query']['includeAll']){_0x405571[_0xc20d('0x3d')]=[{'all':!![]}];}return db[_0xc20d('0x2a')][_0xc20d('0x3e')](_0x405571);})[_0xc20d('0x23')](function(_0x22125c){_0x4dad85[_0xc20d('0x3f')]=_0x22125c;return _0x4dad85;})[_0xc20d('0x23')](respondWithFilteredResult(_0x5756b4,_0x405571))['catch'](handleError(_0x5756b4,null));};exports[_0xc20d('0x40')]=function(_0x29b4d1,_0x4cc19a){var _0x16511d={'raw':!![],'where':{'id':_0x29b4d1[_0xc20d('0x41')]['id']}},_0x523c4b={};_0x523c4b[_0xc20d('0x2f')]=_[_0xc20d('0x42')](db[_0xc20d('0x2a')][_0xc20d('0x2b')]);_0x523c4b['query']=_[_0xc20d('0x42')](_0x29b4d1[_0xc20d('0x30')]);_0x523c4b['filters']=_[_0xc20d('0x32')](_0x523c4b[_0xc20d('0x2f')],_0x523c4b['query']);_0x16511d[_0xc20d('0x33')]=_['intersection'](_0x523c4b[_0xc20d('0x2f')],qs[_0xc20d('0x43')](_0x29b4d1['query'][_0xc20d('0x43')]));_0x16511d[_0xc20d('0x33')]=_0x16511d[_0xc20d('0x33')]['length']?_0x16511d['attributes']:_0x523c4b['model'];if(_0x29b4d1[_0xc20d('0x30')]['includeAll']){_0x16511d[_0xc20d('0x3d')]=[{'all':!![]}];}_0x16511d=_['merge']({},_0x16511d,_0x29b4d1[_0xc20d('0x3c')]);return db['OpenchannelQueueReport'][_0xc20d('0x44')](_0x16511d)[_0xc20d('0x23')](handleEntityNotFound(_0x4cc19a,null))[_0xc20d('0x23')](respondWithResult(_0x4cc19a,null))[_0xc20d('0x45')](handleError(_0x4cc19a,null));};exports[_0xc20d('0x46')]=function(_0x47e1e3,_0x950f94){return db[_0xc20d('0x2a')][_0xc20d('0x46')](_0x47e1e3[_0xc20d('0x47')],{})[_0xc20d('0x23')](respondWithResult(_0x950f94,0xc9))[_0xc20d('0x45')](handleError(_0x950f94,null));};exports[_0xc20d('0x48')]=function(_0x295cd3,_0xf96fc4){if(_0x295cd3['body']['id']){delete _0x295cd3['body']['id'];}return db[_0xc20d('0x2a')][_0xc20d('0x44')]({'where':{'id':_0x295cd3[_0xc20d('0x41')]['id']}})[_0xc20d('0x23')](handleEntityNotFound(_0xf96fc4,null))[_0xc20d('0x23')](saveUpdates(_0x295cd3[_0xc20d('0x47')],null))[_0xc20d('0x23')](respondWithResult(_0xf96fc4,null))['catch'](handleError(_0xf96fc4,null));};exports[_0xc20d('0x49')]=function(_0xae9f53,_0x4e3b21){return db[_0xc20d('0x2a')][_0xc20d('0x44')]({'where':{'id':_0xae9f53['params']['id']}})[_0xc20d('0x23')](handleEntityNotFound(_0x4e3b21,null))[_0xc20d('0x23')](removeEntity(_0x4e3b21,null))['catch'](handleError(_0x4e3b21,null));};exports[_0xc20d('0x4a')]=function(_0x55d926,_0x252472){return db[_0xc20d('0x2a')][_0xc20d('0x4a')]()[_0xc20d('0x23')](respondWithResult(_0x252472,null))['catch'](handleError(_0x252472,null));}; \ No newline at end of file diff --git a/server/api/openchannelQueueReport/openchannelQueueReport.model.js b/server/api/openchannelQueueReport/openchannelQueueReport.model.js index e050781..b93549c 100644 --- a/server/api/openchannelQueueReport/openchannelQueueReport.model.js +++ b/server/api/openchannelQueueReport/openchannelQueueReport.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x5a93=['define','OpenchannelQueueReport','report_openchannel_queue','uniqueid','util','api','moment','path','rimraf','../../config/environment','exports'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x5a93,0xf6));var _0x35a9=function(_0x1273fb,_0x2beed5){_0x1273fb=_0x1273fb-0x0;var _0x52cd74=_0x5a93[_0x1273fb];return _0x52cd74;};'use strict';var _=require('lodash');var util=require(_0x35a9('0x0'));var logger=require('../../config/logger')(_0x35a9('0x1'));var moment=require(_0x35a9('0x2'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x35a9('0x3'));var rimraf=require(_0x35a9('0x4'));var config=require(_0x35a9('0x5'));var attributes=require('./openchannelQueueReport.attributes');module[_0x35a9('0x6')]=function(_0x27ed9f,_0x2e8a14){return _0x27ed9f[_0x35a9('0x7')](_0x35a9('0x8'),attributes,{'tableName':_0x35a9('0x9'),'paranoid':![],'indexes':[{'name':_0x35a9('0xa'),'fields':[_0x35a9('0xa')]}],'timestamps':!![]});}; \ No newline at end of file +var _0x18c9=['util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./openchannelQueueReport.attributes','define','OpenchannelQueueReport','report_openchannel_queue','lodash'];(function(_0xa37b03,_0x2fdb65){var _0x3a65b1=function(_0x49359f){while(--_0x49359f){_0xa37b03['push'](_0xa37b03['shift']());}};_0x3a65b1(++_0x2fdb65);}(_0x18c9,0x1bf));var _0x918c=function(_0x34843e,_0x4c4224){_0x34843e=_0x34843e-0x0;var _0x598f7f=_0x18c9[_0x34843e];return _0x598f7f;};'use strict';var _=require(_0x918c('0x0'));var util=require(_0x918c('0x1'));var logger=require(_0x918c('0x2'))(_0x918c('0x3'));var moment=require(_0x918c('0x4'));var BPromise=require(_0x918c('0x5'));var rp=require(_0x918c('0x6'));var fs=require('fs');var path=require(_0x918c('0x7'));var rimraf=require(_0x918c('0x8'));var config=require(_0x918c('0x9'));var attributes=require(_0x918c('0xa'));module['exports']=function(_0x5ce772,_0x21e279){return _0x5ce772[_0x918c('0xb')](_0x918c('0xc'),attributes,{'tableName':_0x918c('0xd'),'paranoid':![],'indexes':[{'name':'uniqueid','fields':['uniqueid']}],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/openchannelQueueReport/openchannelQueueReport.rpc.js b/server/api/openchannelQueueReport/openchannelQueueReport.rpc.js index ad55871..bed97f0 100644 --- a/server/api/openchannelQueueReport/openchannelQueueReport.rpc.js +++ b/server/api/openchannelQueueReport/openchannelQueueReport.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x39e6=['UpdateOpenchannelQueueReport','update','attributes','lodash','moment','ioredis','../../mysqldb','../../config/logger','rpc','../../config/environment','jayson/promise','client','http','request','then','info','OpenchannelQueueReport,\x20%s,\x20%s','request\x20sent','debug','stringify','error','code','message','result','catch','CreateOpenchannelQueueReport','OpenchannelQueueReport','create','body','options','raw'];(function(_0x40a045,_0x516f0e){var _0x1a687c=function(_0x48c9fe){while(--_0x48c9fe){_0x40a045['push'](_0x40a045['shift']());}};_0x1a687c(++_0x516f0e);}(_0x39e6,0x9e));var _0x639e=function(_0x33bbdc,_0xc879f9){_0x33bbdc=_0x33bbdc-0x0;var _0x1a0dba=_0x39e6[_0x33bbdc];return _0x1a0dba;};'use strict';var _=require(_0x639e('0x0'));var util=require('util');var moment=require(_0x639e('0x1'));var BPromise=require('bluebird');var rs=require('randomstring');var fs=require('fs');var Redis=require(_0x639e('0x2'));var db=require(_0x639e('0x3'))['db'];var utils=require('../../config/utils');var logger=require(_0x639e('0x4'))(_0x639e('0x5'));var config=require(_0x639e('0x6'));var jayson=require(_0x639e('0x7'));var client=jayson[_0x639e('0x8')][_0x639e('0x9')]({'port':0x232a});function respondWithRpcPromise(_0x3812c0,_0x21db36,_0x36b11f){return new BPromise(function(_0x134eec,_0x29e806){return client[_0x639e('0xa')](_0x3812c0,_0x36b11f)[_0x639e('0xb')](function(_0x4410d4){logger[_0x639e('0xc')](_0x639e('0xd'),_0x21db36,_0x639e('0xe'));logger[_0x639e('0xf')]('OpenchannelQueueReport,\x20%s,\x20%s,\x20%s',_0x21db36,'request\x20sent',JSON[_0x639e('0x10')](_0x4410d4));if(_0x4410d4[_0x639e('0x11')]){if(_0x4410d4[_0x639e('0x11')][_0x639e('0x12')]===0x1f4){logger[_0x639e('0x11')](_0x639e('0xd'),_0x21db36,_0x4410d4[_0x639e('0x11')]['message']);return _0x29e806(_0x4410d4['error'][_0x639e('0x13')]);}logger[_0x639e('0x11')](_0x639e('0xd'),_0x21db36,_0x4410d4[_0x639e('0x11')][_0x639e('0x13')]);return _0x134eec(_0x4410d4[_0x639e('0x11')]['message']);}else{logger[_0x639e('0xc')](_0x639e('0xd'),_0x21db36,_0x639e('0xe'));_0x134eec(_0x4410d4[_0x639e('0x14')]['message']);}})[_0x639e('0x15')](function(_0x4b9634){logger[_0x639e('0x11')](_0x639e('0xd'),_0x21db36,_0x4b9634);_0x29e806(_0x4b9634);});});}exports[_0x639e('0x16')]=function(_0x20b76f){var _0x36b75a=this;return new Promise(function(_0x1c023e,_0x56e381){return db[_0x639e('0x17')][_0x639e('0x18')](_0x20b76f[_0x639e('0x19')],{'raw':_0x20b76f[_0x639e('0x1a')]?_0x20b76f['options'][_0x639e('0x1b')]===undefined?!![]:![]:!![]})[_0x639e('0xb')](function(_0x44dd33){logger[_0x639e('0xc')](_0x639e('0x16'),_0x20b76f);logger['debug'](_0x639e('0x16'),_0x20b76f,JSON[_0x639e('0x10')](_0x44dd33));_0x1c023e(_0x44dd33);})['catch'](function(_0x25ead8){logger['error']('CreateOpenchannelQueueReport',_0x25ead8[_0x639e('0x13')],_0x20b76f);_0x56e381(_0x36b75a[_0x639e('0x11')](0x1f4,_0x25ead8[_0x639e('0x13')]));});});};exports[_0x639e('0x1c')]=function(_0x211fcb){var _0x5da797=this;return new Promise(function(_0x2b699c,_0x3647d9){return db[_0x639e('0x17')][_0x639e('0x1d')](_0x211fcb[_0x639e('0x19')],{'raw':_0x211fcb['options']?_0x211fcb[_0x639e('0x1a')][_0x639e('0x1b')]===undefined?!![]:![]:!![],'individualHooks':!![],'where':_0x211fcb[_0x639e('0x1a')]?_0x211fcb[_0x639e('0x1a')]['where']||null:null,'attributes':_0x211fcb[_0x639e('0x1a')]?_0x211fcb[_0x639e('0x1a')][_0x639e('0x1e')]||null:null,'limit':_0x211fcb['options']?_0x211fcb[_0x639e('0x1a')]['limit']||null:null})[_0x639e('0xb')](function(_0x4da5f4){logger['info'](_0x639e('0x1c'),_0x211fcb);logger[_0x639e('0xf')](_0x639e('0x1c'),_0x211fcb,JSON[_0x639e('0x10')](_0x4da5f4));_0x2b699c(_0x4da5f4);})[_0x639e('0x15')](function(_0xefc97b){logger['error'](_0x639e('0x1c'),_0xefc97b[_0x639e('0x13')],_0x211fcb);_0x3647d9(_0x5da797['error'](0x1f4,_0xefc97b['message']));});});}; \ No newline at end of file +var _0xef0a=['raw','where','attributes','limit','UpdateOpenchannelQueueReport','lodash','util','moment','bluebird','randomstring','ioredis','../../mysqldb','../../config/utils','../../config/logger','rpc','../../config/environment','client','http','request','then','info','OpenchannelQueueReport,\x20%s,\x20%s','request\x20sent','debug','OpenchannelQueueReport,\x20%s,\x20%s,\x20%s','stringify','error','code','message','catch','OpenchannelQueueReport','create','body','options','CreateOpenchannelQueueReport','update'];(function(_0x35d4e9,_0x298c61){var _0x5c2770=function(_0x2f326a){while(--_0x2f326a){_0x35d4e9['push'](_0x35d4e9['shift']());}};_0x5c2770(++_0x298c61);}(_0xef0a,0xdd));var _0xaef0=function(_0xc882d7,_0x483326){_0xc882d7=_0xc882d7-0x0;var _0x4e713f=_0xef0a[_0xc882d7];return _0x4e713f;};'use strict';var _=require(_0xaef0('0x0'));var util=require(_0xaef0('0x1'));var moment=require(_0xaef0('0x2'));var BPromise=require(_0xaef0('0x3'));var rs=require(_0xaef0('0x4'));var fs=require('fs');var Redis=require(_0xaef0('0x5'));var db=require(_0xaef0('0x6'))['db'];var utils=require(_0xaef0('0x7'));var logger=require(_0xaef0('0x8'))(_0xaef0('0x9'));var config=require(_0xaef0('0xa'));var jayson=require('jayson/promise');var client=jayson[_0xaef0('0xb')][_0xaef0('0xc')]({'port':0x232a});function respondWithRpcPromise(_0x273fae,_0x32f86c,_0x5c78d8){return new BPromise(function(_0x47ba50,_0x12ff96){return client[_0xaef0('0xd')](_0x273fae,_0x5c78d8)[_0xaef0('0xe')](function(_0x280d93){logger[_0xaef0('0xf')](_0xaef0('0x10'),_0x32f86c,_0xaef0('0x11'));logger[_0xaef0('0x12')](_0xaef0('0x13'),_0x32f86c,'request\x20sent',JSON[_0xaef0('0x14')](_0x280d93));if(_0x280d93[_0xaef0('0x15')]){if(_0x280d93['error'][_0xaef0('0x16')]===0x1f4){logger['error']('OpenchannelQueueReport,\x20%s,\x20%s',_0x32f86c,_0x280d93[_0xaef0('0x15')][_0xaef0('0x17')]);return _0x12ff96(_0x280d93[_0xaef0('0x15')][_0xaef0('0x17')]);}logger[_0xaef0('0x15')](_0xaef0('0x10'),_0x32f86c,_0x280d93[_0xaef0('0x15')][_0xaef0('0x17')]);return _0x47ba50(_0x280d93[_0xaef0('0x15')][_0xaef0('0x17')]);}else{logger[_0xaef0('0xf')](_0xaef0('0x10'),_0x32f86c,_0xaef0('0x11'));_0x47ba50(_0x280d93['result'][_0xaef0('0x17')]);}})[_0xaef0('0x18')](function(_0x5c218b){logger[_0xaef0('0x15')](_0xaef0('0x10'),_0x32f86c,_0x5c218b);_0x12ff96(_0x5c218b);});});}exports['CreateOpenchannelQueueReport']=function(_0x252d5d){var _0x2085e5=this;return new Promise(function(_0x4e6a64,_0x4ee6a9){return db[_0xaef0('0x19')][_0xaef0('0x1a')](_0x252d5d[_0xaef0('0x1b')],{'raw':_0x252d5d[_0xaef0('0x1c')]?_0x252d5d[_0xaef0('0x1c')]['raw']===undefined?!![]:![]:!![]})[_0xaef0('0xe')](function(_0x450ea4){logger['info'](_0xaef0('0x1d'),_0x252d5d);logger['debug'](_0xaef0('0x1d'),_0x252d5d,JSON['stringify'](_0x450ea4));_0x4e6a64(_0x450ea4);})[_0xaef0('0x18')](function(_0x3b352b){logger['error'](_0xaef0('0x1d'),_0x3b352b['message'],_0x252d5d);_0x4ee6a9(_0x2085e5['error'](0x1f4,_0x3b352b[_0xaef0('0x17')]));});});};exports['UpdateOpenchannelQueueReport']=function(_0xec243e){var _0x1c661f=this;return new Promise(function(_0x59ac43,_0x12ab91){return db[_0xaef0('0x19')][_0xaef0('0x1e')](_0xec243e['body'],{'raw':_0xec243e[_0xaef0('0x1c')]?_0xec243e['options'][_0xaef0('0x1f')]===undefined?!![]:![]:!![],'individualHooks':!![],'where':_0xec243e[_0xaef0('0x1c')]?_0xec243e[_0xaef0('0x1c')][_0xaef0('0x20')]||null:null,'attributes':_0xec243e[_0xaef0('0x1c')]?_0xec243e[_0xaef0('0x1c')][_0xaef0('0x21')]||null:null,'limit':_0xec243e[_0xaef0('0x1c')]?_0xec243e[_0xaef0('0x1c')][_0xaef0('0x22')]||null:null})['then'](function(_0x3421e2){logger[_0xaef0('0xf')](_0xaef0('0x23'),_0xec243e);logger['debug'](_0xaef0('0x23'),_0xec243e,JSON[_0xaef0('0x14')](_0x3421e2));_0x59ac43(_0x3421e2);})['catch'](function(_0x4d5666){logger['error'](_0xaef0('0x23'),_0x4d5666[_0xaef0('0x17')],_0xec243e);_0x12ab91(_0x1c661f[_0xaef0('0x15')](0x1f4,_0x4d5666[_0xaef0('0x17')]));});});}; \ No newline at end of file diff --git a/server/api/openchannelTransferReport/index.js b/server/api/openchannelTransferReport/index.js index 87fe060..4588cd5 100644 --- a/server/api/openchannelTransferReport/index.js +++ b/server/api/openchannelTransferReport/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xa9e0=['put','destroy','exports','multer','util','path','Router','../../components/interaction/service','../../config/environment','./openchannelTransferReport.controller','get','isAuthenticated','/describe','/:id','post','create'];(function(_0x5e709a,_0x1d7975){var _0x57401a=function(_0x27eab5){while(--_0x27eab5){_0x5e709a['push'](_0x5e709a['shift']());}};_0x57401a(++_0x1d7975);}(_0xa9e0,0x123));var _0x0a9e=function(_0x376b45,_0x5964fb){_0x376b45=_0x376b45-0x0;var _0x2341b3=_0xa9e0[_0x376b45];return _0x2341b3;};'use strict';var multer=require(_0x0a9e('0x0'));var util=require(_0x0a9e('0x1'));var path=require(_0x0a9e('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x0a9e('0x3')]();var auth=require('../../components/auth/service');var interaction=require(_0x0a9e('0x4'));var config=require(_0x0a9e('0x5'));var controller=require(_0x0a9e('0x6'));router[_0x0a9e('0x7')]('/',auth[_0x0a9e('0x8')](),controller['index']);router[_0x0a9e('0x7')](_0x0a9e('0x9'),auth[_0x0a9e('0x8')](),controller['describe']);router['get'](_0x0a9e('0xa'),auth['isAuthenticated'](),controller['show']);router[_0x0a9e('0xb')]('/',auth[_0x0a9e('0x8')](),controller[_0x0a9e('0xc')]);router[_0x0a9e('0xd')](_0x0a9e('0xa'),auth[_0x0a9e('0x8')](),controller['update']);router['delete']('/:id',auth['isAuthenticated'](),controller[_0x0a9e('0xe')]);module[_0x0a9e('0xf')]=router; \ No newline at end of file +var _0xa9e0=['put','destroy','exports','multer','util','path','Router','../../components/interaction/service','../../config/environment','./openchannelTransferReport.controller','get','isAuthenticated','/describe','/:id','post','create'];(function(_0x411e71,_0xf9652){var _0x226ae3=function(_0x1339f6){while(--_0x1339f6){_0x411e71['push'](_0x411e71['shift']());}};_0x226ae3(++_0xf9652);}(_0xa9e0,0x123));var _0x0a9e=function(_0x1b828b,_0x344400){_0x1b828b=_0x1b828b-0x0;var _0x98da1a=_0xa9e0[_0x1b828b];return _0x98da1a;};'use strict';var multer=require(_0x0a9e('0x0'));var util=require(_0x0a9e('0x1'));var path=require(_0x0a9e('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x0a9e('0x3')]();var auth=require('../../components/auth/service');var interaction=require(_0x0a9e('0x4'));var config=require(_0x0a9e('0x5'));var controller=require(_0x0a9e('0x6'));router[_0x0a9e('0x7')]('/',auth[_0x0a9e('0x8')](),controller['index']);router[_0x0a9e('0x7')](_0x0a9e('0x9'),auth[_0x0a9e('0x8')](),controller['describe']);router['get'](_0x0a9e('0xa'),auth['isAuthenticated'](),controller['show']);router[_0x0a9e('0xb')]('/',auth[_0x0a9e('0x8')](),controller[_0x0a9e('0xc')]);router[_0x0a9e('0xd')](_0x0a9e('0xa'),auth[_0x0a9e('0x8')](),controller['update']);router['delete']('/:id',auth['isAuthenticated'](),controller[_0x0a9e('0xe')]);module[_0x0a9e('0xf')]=router; \ No newline at end of file diff --git a/server/api/openchannelTransferReport/openchannelTransferReport.attributes.js b/server/api/openchannelTransferReport/openchannelTransferReport.attributes.js index 40fe09e..c058c6d 100644 --- a/server/api/openchannelTransferReport/openchannelTransferReport.attributes.js +++ b/server/api/openchannelTransferReport/openchannelTransferReport.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xfb4c=['DATE','NOW','moment','sequelize','exports','STRING','ENUM','account','agent','queue'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0xfb4c,0x1b0));var _0xcfb4=function(_0x11eebd,_0x2ad476){_0x11eebd=_0x11eebd-0x0;var _0x5001bd=_0xfb4c[_0x11eebd];return _0x5001bd;};'use strict';var moment=require(_0xcfb4('0x0'));var Sequelize=require(_0xcfb4('0x1'));module[_0xcfb4('0x2')]={'uniqueid':{'type':Sequelize[_0xcfb4('0x3')],'allowNull':![]},'type':{'type':Sequelize[_0xcfb4('0x4')](_0xcfb4('0x5'),_0xcfb4('0x6'),_0xcfb4('0x7')),'allowNull':![],'defaultValue':_0xcfb4('0x7')},'transferredAt':{'type':Sequelize[_0xcfb4('0x8')],'allowNull':![],'defaultValue':Sequelize[_0xcfb4('0x9')]}}; \ No newline at end of file +var _0xed28=['ENUM','queue','NOW','moment','exports','STRING'];(function(_0x2e9b6a,_0x2ba77d){var _0x1141da=function(_0x5d277e){while(--_0x5d277e){_0x2e9b6a['push'](_0x2e9b6a['shift']());}};_0x1141da(++_0x2ba77d);}(_0xed28,0x159));var _0x8ed2=function(_0x1307e9,_0x433e44){_0x1307e9=_0x1307e9-0x0;var _0x3c460e=_0xed28[_0x1307e9];return _0x3c460e;};'use strict';var moment=require(_0x8ed2('0x0'));var Sequelize=require('sequelize');module[_0x8ed2('0x1')]={'uniqueid':{'type':Sequelize[_0x8ed2('0x2')],'allowNull':![]},'type':{'type':Sequelize[_0x8ed2('0x3')]('account','agent',_0x8ed2('0x4')),'allowNull':![],'defaultValue':_0x8ed2('0x4')},'transferredAt':{'type':Sequelize['DATE'],'allowNull':![],'defaultValue':Sequelize[_0x8ed2('0x5')]}}; \ No newline at end of file diff --git a/server/api/openchannelTransferReport/openchannelTransferReport.controller.js b/server/api/openchannelTransferReport/openchannelTransferReport.controller.js index 88b1e63..90b84bc 100644 --- a/server/api/openchannelTransferReport/openchannelTransferReport.controller.js +++ b/server/api/openchannelTransferReport/openchannelTransferReport.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xc25e=['model','map','query','keys','filters','intersection','fields','attributes','length','hasOwnProperty','nolimit','order','where','pick','filter','merge','options','count','includeAll','include','findAll','catch','show','params','find','create','body','describe','html-pdf','eml-format','rimraf','fast-json-patch','moment','bluebird','mustache','util','path','to-csv','ejs','lodash','jsforce','querystring','papaparse','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/logger','api','../../config/environment','../../mysqldb','status','end','json','offset','limit','set','Content-Range','apply','reject','save','update','then','destroy','sendStatus','error','stack','name','send','index','OpenchannelTransferReport','rawAttributes','fieldName','type'];(function(_0x2e4e19,_0x493b50){var _0x9ba20b=function(_0x2f6456){while(--_0x2f6456){_0x2e4e19['push'](_0x2e4e19['shift']());}};_0x9ba20b(++_0x493b50);}(_0xc25e,0x13c));var _0xec25=function(_0x30ae5e,_0x391fc4){_0x30ae5e=_0x30ae5e-0x0;var _0x1f2e93=_0xc25e[_0x30ae5e];return _0x1f2e93;};'use strict';var pdf=require(_0xec25('0x0'));var emlformat=require(_0xec25('0x1'));var rimraf=require(_0xec25('0x2'));var zipdir=require('zip-dir');var jsonpatch=require(_0xec25('0x3'));var rp=require('request-promise');var moment=require(_0xec25('0x4'));var BPromise=require(_0xec25('0x5'));var Mustache=require(_0xec25('0x6'));var util=require(_0xec25('0x7'));var path=require(_0xec25('0x8'));var sox=require('sox');var csv=require(_0xec25('0x9'));var ejs=require(_0xec25('0xa'));var fs=require('fs');var _=require(_0xec25('0xb'));var squel=require('squel');var crypto=require('crypto');var jsforce=require(_0xec25('0xc'));var deskjs=require('desk.js');var toCsv=require('to-csv');var querystring=require(_0xec25('0xd'));var Papa=require(_0xec25('0xe'));var Redis=require('ioredis');var authService=require('../../components/auth/service');var qs=require(_0xec25('0xf'));var as=require(_0xec25('0x10'));var hardwareService=require('../../config/license/hardware');var logger=require(_0xec25('0x11'))(_0xec25('0x12'));var utils=require('../../config/utils');var config=require(_0xec25('0x13'));var db=require(_0xec25('0x14'))['db'];function respondWithStatusCode(_0x27fda9,_0x53a82a){_0x53a82a=_0x53a82a||0xcc;return function(_0xbbb44e){if(_0xbbb44e){return _0x27fda9['sendStatus'](_0x53a82a);}return _0x27fda9[_0xec25('0x15')](_0x53a82a)[_0xec25('0x16')]();};}function respondWithResult(_0x28b210,_0xe3821b){_0xe3821b=_0xe3821b||0xc8;return function(_0x3c8781){if(_0x3c8781){return _0x28b210['status'](_0xe3821b)[_0xec25('0x17')](_0x3c8781);}};}function respondWithFilteredResult(_0x4debf0,_0xa9de6){return function(_0x337e1a){if(_0x337e1a){var _0x5cdafb=_0x337e1a['count'],_0x3a4ded=_0xa9de6[_0xec25('0x18')],_0x234cd6=_0xa9de6[_0xec25('0x18')]+_0xa9de6[_0xec25('0x19')],_0x3bc03a;if(_0x234cd6>=_0x5cdafb){_0x234cd6=_0x5cdafb;_0x3bc03a=0xc8;}else{_0x3bc03a=0xce;}_0x4debf0['status'](_0x3bc03a);return _0x4debf0[_0xec25('0x1a')](_0xec25('0x1b'),_0x3a4ded+'-'+_0x234cd6+'/'+_0x5cdafb)[_0xec25('0x17')](_0x337e1a);}return null;};}function patchUpdates(_0x5406fd){return function(_0x4caf15){try{jsonpatch[_0xec25('0x1c')](_0x4caf15,_0x5406fd,!![]);}catch(_0x7c3089){return BPromise[_0xec25('0x1d')](_0x7c3089);}return _0x4caf15[_0xec25('0x1e')]();};}function saveUpdates(_0x313b0e,_0x2fc9cb){return function(_0xfd927){if(_0xfd927){return _0xfd927[_0xec25('0x1f')](_0x313b0e)[_0xec25('0x20')](function(_0x950d5a){return _0x950d5a;});}return null;};}function removeEntity(_0xc6ee2c,_0x180b76){return function(_0x1be7bd){if(_0x1be7bd){return _0x1be7bd[_0xec25('0x21')]()[_0xec25('0x20')](function(){_0xc6ee2c['status'](0xcc)['end']();});}};}function handleEntityNotFound(_0x2e136d,_0x1132b0){return function(_0x18e0c){if(!_0x18e0c){_0x2e136d[_0xec25('0x22')](0x194);}return _0x18e0c;};}function handleError(_0x4fa29c,_0x592431){_0x592431=_0x592431||0x1f4;return function(_0x7ff164){logger[_0xec25('0x23')](_0x7ff164[_0xec25('0x24')]);if(_0x7ff164[_0xec25('0x25')]){delete _0x7ff164[_0xec25('0x25')];}_0x4fa29c[_0xec25('0x15')](_0x592431)[_0xec25('0x26')](_0x7ff164);};}exports[_0xec25('0x27')]=function(_0x3c7623,_0x37e94f){var _0x11f889={},_0x1d9bb4={},_0x379c06={'count':0x0,'rows':[]};var _0x9538a2=_['map'](db[_0xec25('0x28')][_0xec25('0x29')],function(_0xb5f9b){return{'name':_0xb5f9b[_0xec25('0x2a')],'type':_0xb5f9b[_0xec25('0x2b')]['key']};});_0x1d9bb4[_0xec25('0x2c')]=_[_0xec25('0x2d')](_0x9538a2,_0xec25('0x25'));_0x1d9bb4[_0xec25('0x2e')]=_[_0xec25('0x2f')](_0x3c7623[_0xec25('0x2e')]);_0x1d9bb4[_0xec25('0x30')]=_[_0xec25('0x31')](_0x1d9bb4[_0xec25('0x2c')],_0x1d9bb4[_0xec25('0x2e')]);_0x11f889['attributes']=_[_0xec25('0x31')](_0x1d9bb4[_0xec25('0x2c')],qs[_0xec25('0x32')](_0x3c7623['query'][_0xec25('0x32')]));_0x11f889['attributes']=_0x11f889[_0xec25('0x33')][_0xec25('0x34')]?_0x11f889['attributes']:_0x1d9bb4[_0xec25('0x2c')];if(!_0x3c7623[_0xec25('0x2e')][_0xec25('0x35')](_0xec25('0x36'))){_0x11f889[_0xec25('0x19')]=qs[_0xec25('0x19')](_0x3c7623[_0xec25('0x2e')][_0xec25('0x19')]);_0x11f889[_0xec25('0x18')]=qs[_0xec25('0x18')](_0x3c7623[_0xec25('0x2e')][_0xec25('0x18')]);}_0x11f889[_0xec25('0x37')]=qs['sort'](_0x3c7623[_0xec25('0x2e')]['sort']);_0x11f889[_0xec25('0x38')]=qs['filters'](_[_0xec25('0x39')](_0x3c7623[_0xec25('0x2e')],_0x1d9bb4[_0xec25('0x30')]),_0x9538a2);if(_0x3c7623[_0xec25('0x2e')][_0xec25('0x3a')]){_0x11f889[_0xec25('0x38')]=_[_0xec25('0x3b')](_0x11f889[_0xec25('0x38')],{'$or':_['map'](_0x9538a2,function(_0x56c799){if(_0x56c799['type']!=='VIRTUAL'){var _0x19ade6={};_0x19ade6[_0x56c799[_0xec25('0x25')]]={'$like':'%'+_0x3c7623['query']['filter']+'%'};return _0x19ade6;}})});}_0x11f889=_['merge']({},_0x11f889,_0x3c7623[_0xec25('0x3c')]);var _0x2a36da={'where':_0x11f889[_0xec25('0x38')]};return db[_0xec25('0x28')][_0xec25('0x3d')](_0x2a36da)[_0xec25('0x20')](function(_0x4ce614){_0x379c06['count']=_0x4ce614;if(_0x3c7623['query'][_0xec25('0x3e')]){_0x11f889[_0xec25('0x3f')]=[{'all':!![]}];}return db[_0xec25('0x28')][_0xec25('0x40')](_0x11f889);})[_0xec25('0x20')](function(_0x281f70){_0x379c06['rows']=_0x281f70;return _0x379c06;})['then'](respondWithFilteredResult(_0x37e94f,_0x11f889))[_0xec25('0x41')](handleError(_0x37e94f,null));};exports[_0xec25('0x42')]=function(_0x380340,_0xa89038){var _0x256c0b={'raw':!![],'where':{'id':_0x380340[_0xec25('0x43')]['id']}},_0x6bf5e6={};_0x6bf5e6[_0xec25('0x2c')]=_['keys'](db[_0xec25('0x28')][_0xec25('0x29')]);_0x6bf5e6[_0xec25('0x2e')]=_[_0xec25('0x2f')](_0x380340['query']);_0x6bf5e6[_0xec25('0x30')]=_[_0xec25('0x31')](_0x6bf5e6[_0xec25('0x2c')],_0x6bf5e6[_0xec25('0x2e')]);_0x256c0b[_0xec25('0x33')]=_['intersection'](_0x6bf5e6[_0xec25('0x2c')],qs[_0xec25('0x32')](_0x380340[_0xec25('0x2e')][_0xec25('0x32')]));_0x256c0b[_0xec25('0x33')]=_0x256c0b['attributes'][_0xec25('0x34')]?_0x256c0b['attributes']:_0x6bf5e6[_0xec25('0x2c')];if(_0x380340['query']['includeAll']){_0x256c0b[_0xec25('0x3f')]=[{'all':!![]}];}_0x256c0b=_[_0xec25('0x3b')]({},_0x256c0b,_0x380340['options']);return db[_0xec25('0x28')][_0xec25('0x44')](_0x256c0b)['then'](handleEntityNotFound(_0xa89038,null))[_0xec25('0x20')](respondWithResult(_0xa89038,null))[_0xec25('0x41')](handleError(_0xa89038,null));};exports['create']=function(_0x2d947f,_0x1cbdf6){return db[_0xec25('0x28')][_0xec25('0x45')](_0x2d947f['body'],{})[_0xec25('0x20')](respondWithResult(_0x1cbdf6,0xc9))[_0xec25('0x41')](handleError(_0x1cbdf6,null));};exports[_0xec25('0x1f')]=function(_0x522820,_0x1930f6){if(_0x522820[_0xec25('0x46')]['id']){delete _0x522820[_0xec25('0x46')]['id'];}return db[_0xec25('0x28')][_0xec25('0x44')]({'where':{'id':_0x522820[_0xec25('0x43')]['id']}})[_0xec25('0x20')](handleEntityNotFound(_0x1930f6,null))[_0xec25('0x20')](saveUpdates(_0x522820[_0xec25('0x46')],null))[_0xec25('0x20')](respondWithResult(_0x1930f6,null))[_0xec25('0x41')](handleError(_0x1930f6,null));};exports[_0xec25('0x21')]=function(_0x2b084d,_0x24312f){return db[_0xec25('0x28')]['find']({'where':{'id':_0x2b084d[_0xec25('0x43')]['id']}})[_0xec25('0x20')](handleEntityNotFound(_0x24312f,null))[_0xec25('0x20')](removeEntity(_0x24312f,null))['catch'](handleError(_0x24312f,null));};exports[_0xec25('0x47')]=function(_0x3725a5,_0x13990b){return db[_0xec25('0x28')][_0xec25('0x47')]()['then'](respondWithResult(_0x13990b,null))[_0xec25('0x41')](handleError(_0x13990b,null));}; \ No newline at end of file +var _0x0eaf=['then','destroy','sendStatus','error','stack','name','index','map','rawAttributes','fieldName','model','query','keys','filters','intersection','attributes','fields','nolimit','limit','order','sort','where','pick','filter','merge','options','OpenchannelTransferReport','includeAll','include','rows','params','length','catch','create','body','find','describe','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','mustache','util','path','sox','to-csv','ejs','squel','desk.js','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/environment','../../mysqldb','status','end','json','count','offset','set','Content-Range','apply','reject','save','update'];(function(_0x2824af,_0x5e4c0f){var _0x468476=function(_0x419d16){while(--_0x419d16){_0x2824af['push'](_0x2824af['shift']());}};_0x468476(++_0x5e4c0f);}(_0x0eaf,0x6c));var _0xf0ea=function(_0x4e676e,_0x2a7c6d){_0x4e676e=_0x4e676e-0x0;var _0x336a3c=_0x0eaf[_0x4e676e];return _0x336a3c;};'use strict';var pdf=require('html-pdf');var emlformat=require(_0xf0ea('0x0'));var rimraf=require(_0xf0ea('0x1'));var zipdir=require(_0xf0ea('0x2'));var jsonpatch=require(_0xf0ea('0x3'));var rp=require(_0xf0ea('0x4'));var moment=require(_0xf0ea('0x5'));var BPromise=require(_0xf0ea('0x6'));var Mustache=require(_0xf0ea('0x7'));var util=require(_0xf0ea('0x8'));var path=require(_0xf0ea('0x9'));var sox=require(_0xf0ea('0xa'));var csv=require(_0xf0ea('0xb'));var ejs=require(_0xf0ea('0xc'));var fs=require('fs');var _=require('lodash');var squel=require(_0xf0ea('0xd'));var crypto=require('crypto');var jsforce=require('jsforce');var deskjs=require(_0xf0ea('0xe'));var toCsv=require('to-csv');var querystring=require('querystring');var Papa=require('papaparse');var Redis=require('ioredis');var authService=require(_0xf0ea('0xf'));var qs=require(_0xf0ea('0x10'));var as=require(_0xf0ea('0x11'));var hardwareService=require(_0xf0ea('0x12'));var logger=require(_0xf0ea('0x13'))(_0xf0ea('0x14'));var utils=require('../../config/utils');var config=require(_0xf0ea('0x15'));var db=require(_0xf0ea('0x16'))['db'];function respondWithStatusCode(_0x2aeeac,_0x1cdee3){_0x1cdee3=_0x1cdee3||0xcc;return function(_0x2b40fa){if(_0x2b40fa){return _0x2aeeac['sendStatus'](_0x1cdee3);}return _0x2aeeac[_0xf0ea('0x17')](_0x1cdee3)[_0xf0ea('0x18')]();};}function respondWithResult(_0x27a09d,_0x271847){_0x271847=_0x271847||0xc8;return function(_0x249e23){if(_0x249e23){return _0x27a09d[_0xf0ea('0x17')](_0x271847)[_0xf0ea('0x19')](_0x249e23);}};}function respondWithFilteredResult(_0x20021d,_0x302495){return function(_0x2d6542){if(_0x2d6542){var _0x4b4c8d=_0x2d6542[_0xf0ea('0x1a')],_0x544337=_0x302495[_0xf0ea('0x1b')],_0x2683c4=_0x302495['offset']+_0x302495['limit'],_0x106d24;if(_0x2683c4>=_0x4b4c8d){_0x2683c4=_0x4b4c8d;_0x106d24=0xc8;}else{_0x106d24=0xce;}_0x20021d[_0xf0ea('0x17')](_0x106d24);return _0x20021d[_0xf0ea('0x1c')](_0xf0ea('0x1d'),_0x544337+'-'+_0x2683c4+'/'+_0x4b4c8d)[_0xf0ea('0x19')](_0x2d6542);}return null;};}function patchUpdates(_0x5a761e){return function(_0x155bdf){try{jsonpatch[_0xf0ea('0x1e')](_0x155bdf,_0x5a761e,!![]);}catch(_0x143e0d){return BPromise[_0xf0ea('0x1f')](_0x143e0d);}return _0x155bdf[_0xf0ea('0x20')]();};}function saveUpdates(_0x39ec9d,_0x3d844f){return function(_0x296fa5){if(_0x296fa5){return _0x296fa5[_0xf0ea('0x21')](_0x39ec9d)[_0xf0ea('0x22')](function(_0x55f608){return _0x55f608;});}return null;};}function removeEntity(_0x232a17,_0x15dddd){return function(_0x1713b9){if(_0x1713b9){return _0x1713b9[_0xf0ea('0x23')]()[_0xf0ea('0x22')](function(){_0x232a17[_0xf0ea('0x17')](0xcc)['end']();});}};}function handleEntityNotFound(_0x4d7b1e,_0x8c98b9){return function(_0x4bedbe){if(!_0x4bedbe){_0x4d7b1e[_0xf0ea('0x24')](0x194);}return _0x4bedbe;};}function handleError(_0xad3191,_0x2f5614){_0x2f5614=_0x2f5614||0x1f4;return function(_0x5bdf09){logger[_0xf0ea('0x25')](_0x5bdf09[_0xf0ea('0x26')]);if(_0x5bdf09[_0xf0ea('0x27')]){delete _0x5bdf09[_0xf0ea('0x27')];}_0xad3191['status'](_0x2f5614)['send'](_0x5bdf09);};}exports[_0xf0ea('0x28')]=function(_0x1066b4,_0x3a767c){var _0x42a6d6={},_0x2a1df2={},_0x576ee4={'count':0x0,'rows':[]};var _0x3bc30c=_[_0xf0ea('0x29')](db['OpenchannelTransferReport'][_0xf0ea('0x2a')],function(_0x9827eb){return{'name':_0x9827eb[_0xf0ea('0x2b')],'type':_0x9827eb['type']['key']};});_0x2a1df2[_0xf0ea('0x2c')]=_[_0xf0ea('0x29')](_0x3bc30c,_0xf0ea('0x27'));_0x2a1df2[_0xf0ea('0x2d')]=_[_0xf0ea('0x2e')](_0x1066b4[_0xf0ea('0x2d')]);_0x2a1df2[_0xf0ea('0x2f')]=_[_0xf0ea('0x30')](_0x2a1df2[_0xf0ea('0x2c')],_0x2a1df2['query']);_0x42a6d6[_0xf0ea('0x31')]=_[_0xf0ea('0x30')](_0x2a1df2[_0xf0ea('0x2c')],qs[_0xf0ea('0x32')](_0x1066b4[_0xf0ea('0x2d')]['fields']));_0x42a6d6[_0xf0ea('0x31')]=_0x42a6d6[_0xf0ea('0x31')]['length']?_0x42a6d6[_0xf0ea('0x31')]:_0x2a1df2[_0xf0ea('0x2c')];if(!_0x1066b4[_0xf0ea('0x2d')]['hasOwnProperty'](_0xf0ea('0x33'))){_0x42a6d6[_0xf0ea('0x34')]=qs['limit'](_0x1066b4[_0xf0ea('0x2d')][_0xf0ea('0x34')]);_0x42a6d6['offset']=qs['offset'](_0x1066b4[_0xf0ea('0x2d')][_0xf0ea('0x1b')]);}_0x42a6d6[_0xf0ea('0x35')]=qs[_0xf0ea('0x36')](_0x1066b4[_0xf0ea('0x2d')][_0xf0ea('0x36')]);_0x42a6d6[_0xf0ea('0x37')]=qs[_0xf0ea('0x2f')](_[_0xf0ea('0x38')](_0x1066b4[_0xf0ea('0x2d')],_0x2a1df2[_0xf0ea('0x2f')]),_0x3bc30c);if(_0x1066b4[_0xf0ea('0x2d')][_0xf0ea('0x39')]){_0x42a6d6[_0xf0ea('0x37')]=_[_0xf0ea('0x3a')](_0x42a6d6[_0xf0ea('0x37')],{'$or':_['map'](_0x3bc30c,function(_0x4cd263){if(_0x4cd263['type']!=='VIRTUAL'){var _0x3293fb={};_0x3293fb[_0x4cd263[_0xf0ea('0x27')]]={'$like':'%'+_0x1066b4[_0xf0ea('0x2d')][_0xf0ea('0x39')]+'%'};return _0x3293fb;}})});}_0x42a6d6=_[_0xf0ea('0x3a')]({},_0x42a6d6,_0x1066b4[_0xf0ea('0x3b')]);var _0x32afb2={'where':_0x42a6d6[_0xf0ea('0x37')]};return db[_0xf0ea('0x3c')]['count'](_0x32afb2)['then'](function(_0x18cc0c){_0x576ee4[_0xf0ea('0x1a')]=_0x18cc0c;if(_0x1066b4[_0xf0ea('0x2d')][_0xf0ea('0x3d')]){_0x42a6d6[_0xf0ea('0x3e')]=[{'all':!![]}];}return db[_0xf0ea('0x3c')]['findAll'](_0x42a6d6);})['then'](function(_0x411d87){_0x576ee4[_0xf0ea('0x3f')]=_0x411d87;return _0x576ee4;})['then'](respondWithFilteredResult(_0x3a767c,_0x42a6d6))['catch'](handleError(_0x3a767c,null));};exports['show']=function(_0x103c25,_0x5dabce){var _0x3ba5df={'raw':!![],'where':{'id':_0x103c25[_0xf0ea('0x40')]['id']}},_0x2ac905={};_0x2ac905[_0xf0ea('0x2c')]=_['keys'](db['OpenchannelTransferReport'][_0xf0ea('0x2a')]);_0x2ac905['query']=_[_0xf0ea('0x2e')](_0x103c25[_0xf0ea('0x2d')]);_0x2ac905['filters']=_[_0xf0ea('0x30')](_0x2ac905[_0xf0ea('0x2c')],_0x2ac905[_0xf0ea('0x2d')]);_0x3ba5df[_0xf0ea('0x31')]=_[_0xf0ea('0x30')](_0x2ac905[_0xf0ea('0x2c')],qs[_0xf0ea('0x32')](_0x103c25['query'][_0xf0ea('0x32')]));_0x3ba5df[_0xf0ea('0x31')]=_0x3ba5df[_0xf0ea('0x31')][_0xf0ea('0x41')]?_0x3ba5df[_0xf0ea('0x31')]:_0x2ac905[_0xf0ea('0x2c')];if(_0x103c25['query'][_0xf0ea('0x3d')]){_0x3ba5df['include']=[{'all':!![]}];}_0x3ba5df=_['merge']({},_0x3ba5df,_0x103c25[_0xf0ea('0x3b')]);return db[_0xf0ea('0x3c')]['find'](_0x3ba5df)[_0xf0ea('0x22')](handleEntityNotFound(_0x5dabce,null))[_0xf0ea('0x22')](respondWithResult(_0x5dabce,null))[_0xf0ea('0x42')](handleError(_0x5dabce,null));};exports[_0xf0ea('0x43')]=function(_0x33647a,_0x30824f){return db[_0xf0ea('0x3c')][_0xf0ea('0x43')](_0x33647a[_0xf0ea('0x44')],{})[_0xf0ea('0x22')](respondWithResult(_0x30824f,0xc9))['catch'](handleError(_0x30824f,null));};exports[_0xf0ea('0x21')]=function(_0x4690a1,_0x34e6c5){if(_0x4690a1[_0xf0ea('0x44')]['id']){delete _0x4690a1['body']['id'];}return db['OpenchannelTransferReport'][_0xf0ea('0x45')]({'where':{'id':_0x4690a1['params']['id']}})[_0xf0ea('0x22')](handleEntityNotFound(_0x34e6c5,null))[_0xf0ea('0x22')](saveUpdates(_0x4690a1[_0xf0ea('0x44')],null))[_0xf0ea('0x22')](respondWithResult(_0x34e6c5,null))[_0xf0ea('0x42')](handleError(_0x34e6c5,null));};exports[_0xf0ea('0x23')]=function(_0x4a861c,_0x94ebf3){return db['OpenchannelTransferReport'][_0xf0ea('0x45')]({'where':{'id':_0x4a861c[_0xf0ea('0x40')]['id']}})[_0xf0ea('0x22')](handleEntityNotFound(_0x94ebf3,null))[_0xf0ea('0x22')](removeEntity(_0x94ebf3,null))[_0xf0ea('0x42')](handleError(_0x94ebf3,null));};exports['describe']=function(_0x299ed7,_0x1a47b2){return db[_0xf0ea('0x3c')][_0xf0ea('0x46')]()[_0xf0ea('0x22')](respondWithResult(_0x1a47b2,null))[_0xf0ea('0x42')](handleError(_0x1a47b2,null));}; \ No newline at end of file diff --git a/server/api/openchannelTransferReport/openchannelTransferReport.model.js b/server/api/openchannelTransferReport/openchannelTransferReport.model.js index 261309b..8be805b 100644 --- a/server/api/openchannelTransferReport/openchannelTransferReport.model.js +++ b/server/api/openchannelTransferReport/openchannelTransferReport.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xb210=['uniqueid','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','../../config/environment','./openchannelTransferReport.attributes','exports','define','OpenchannelTransferReport','report_openchannel_transfer'];(function(_0x4dbd14,_0x3ab6ee){var _0xd201b=function(_0x45cab4){while(--_0x45cab4){_0x4dbd14['push'](_0x4dbd14['shift']());}};_0xd201b(++_0x3ab6ee);}(_0xb210,0x1d2));var _0x0b21=function(_0x5c7a3c,_0x5334d4){_0x5c7a3c=_0x5c7a3c-0x0;var _0xebfcc5=_0xb210[_0x5c7a3c];return _0xebfcc5;};'use strict';var _=require(_0x0b21('0x0'));var util=require(_0x0b21('0x1'));var logger=require(_0x0b21('0x2'))(_0x0b21('0x3'));var moment=require(_0x0b21('0x4'));var BPromise=require(_0x0b21('0x5'));var rp=require(_0x0b21('0x6'));var fs=require('fs');var path=require(_0x0b21('0x7'));var rimraf=require('rimraf');var config=require(_0x0b21('0x8'));var attributes=require(_0x0b21('0x9'));module[_0x0b21('0xa')]=function(_0x56a3da,_0x34e85b){return _0x56a3da[_0x0b21('0xb')](_0x0b21('0xc'),attributes,{'tableName':_0x0b21('0xd'),'paranoid':![],'indexes':[{'name':_0x0b21('0xe'),'fields':['uniqueid']}],'timestamps':!![]});}; \ No newline at end of file +var _0x910f=['path','rimraf','../../config/environment','./openchannelTransferReport.attributes','define','report_openchannel_transfer','uniqueid','lodash','util','api','moment','bluebird'];(function(_0x4996d5,_0x123daf){var _0x4793f9=function(_0x30c7ec){while(--_0x30c7ec){_0x4996d5['push'](_0x4996d5['shift']());}};_0x4793f9(++_0x123daf);}(_0x910f,0x157));var _0xf910=function(_0x15ed84,_0x589521){_0x15ed84=_0x15ed84-0x0;var _0x426d2b=_0x910f[_0x15ed84];return _0x426d2b;};'use strict';var _=require(_0xf910('0x0'));var util=require(_0xf910('0x1'));var logger=require('../../config/logger')(_0xf910('0x2'));var moment=require(_0xf910('0x3'));var BPromise=require(_0xf910('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xf910('0x5'));var rimraf=require(_0xf910('0x6'));var config=require(_0xf910('0x7'));var attributes=require(_0xf910('0x8'));module['exports']=function(_0x112720,_0x3b26d8){return _0x112720[_0xf910('0x9')]('OpenchannelTransferReport',attributes,{'tableName':_0xf910('0xa'),'paranoid':![],'indexes':[{'name':_0xf910('0xb'),'fields':[_0xf910('0xb')]}],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/openchannelTransferReport/openchannelTransferReport.rpc.js b/server/api/openchannelTransferReport/openchannelTransferReport.rpc.js index 70d452a..8a3d7a9 100644 --- a/server/api/openchannelTransferReport/openchannelTransferReport.rpc.js +++ b/server/api/openchannelTransferReport/openchannelTransferReport.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x0159=['util','moment','bluebird','randomstring','ioredis','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','http','request','info','OpenchannelTransferReport,\x20%s,\x20%s','request\x20sent','debug','OpenchannelTransferReport,\x20%s,\x20%s,\x20%s','stringify','error','code','message','result','lodash'];(function(_0x2f59df,_0x443f8f){var _0x5ac3f5=function(_0x8a53b6){while(--_0x8a53b6){_0x2f59df['push'](_0x2f59df['shift']());}};_0x5ac3f5(++_0x443f8f);}(_0x0159,0x141));var _0x9015=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x0159[_0x3dd15e];return _0x231fd0;};'use strict';var _=require(_0x9015('0x0'));var util=require(_0x9015('0x1'));var moment=require(_0x9015('0x2'));var BPromise=require(_0x9015('0x3'));var rs=require(_0x9015('0x4'));var fs=require('fs');var Redis=require(_0x9015('0x5'));var db=require('../../mysqldb')['db'];var utils=require(_0x9015('0x6'));var logger=require(_0x9015('0x7'))(_0x9015('0x8'));var config=require(_0x9015('0x9'));var jayson=require(_0x9015('0xa'));var client=jayson['client'][_0x9015('0xb')]({'port':0x232a});function respondWithRpcPromise(_0x21e1e2,_0x2613d,_0x2199ba){return new BPromise(function(_0x4b5a94,_0x12b505){return client[_0x9015('0xc')](_0x21e1e2,_0x2199ba)['then'](function(_0x3d6d3d){logger[_0x9015('0xd')](_0x9015('0xe'),_0x2613d,_0x9015('0xf'));logger[_0x9015('0x10')](_0x9015('0x11'),_0x2613d,_0x9015('0xf'),JSON[_0x9015('0x12')](_0x3d6d3d));if(_0x3d6d3d[_0x9015('0x13')]){if(_0x3d6d3d[_0x9015('0x13')][_0x9015('0x14')]===0x1f4){logger[_0x9015('0x13')](_0x9015('0xe'),_0x2613d,_0x3d6d3d[_0x9015('0x13')][_0x9015('0x15')]);return _0x12b505(_0x3d6d3d[_0x9015('0x13')][_0x9015('0x15')]);}logger['error'](_0x9015('0xe'),_0x2613d,_0x3d6d3d['error'][_0x9015('0x15')]);return _0x4b5a94(_0x3d6d3d[_0x9015('0x13')]['message']);}else{logger['info']('OpenchannelTransferReport,\x20%s,\x20%s',_0x2613d,_0x9015('0xf'));_0x4b5a94(_0x3d6d3d[_0x9015('0x16')][_0x9015('0x15')]);}})['catch'](function(_0x5927f1){logger[_0x9015('0x13')](_0x9015('0xe'),_0x2613d,_0x5927f1);_0x12b505(_0x5927f1);});});} \ No newline at end of file +var _0x46b7=['bluebird','randomstring','ioredis','../../mysqldb','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','client','http','request','then','info','OpenchannelTransferReport,\x20%s,\x20%s','debug','OpenchannelTransferReport,\x20%s,\x20%s,\x20%s','request\x20sent','stringify','error','message','result','lodash','util','moment'];(function(_0x13b8f3,_0x442821){var _0x1a6d06=function(_0x5126f2){while(--_0x5126f2){_0x13b8f3['push'](_0x13b8f3['shift']());}};_0x1a6d06(++_0x442821);}(_0x46b7,0xc5));var _0x746b=function(_0xcfcaa8,_0x23576b){_0xcfcaa8=_0xcfcaa8-0x0;var _0x109926=_0x46b7[_0xcfcaa8];return _0x109926;};'use strict';var _=require(_0x746b('0x0'));var util=require(_0x746b('0x1'));var moment=require(_0x746b('0x2'));var BPromise=require(_0x746b('0x3'));var rs=require(_0x746b('0x4'));var fs=require('fs');var Redis=require(_0x746b('0x5'));var db=require(_0x746b('0x6'))['db'];var utils=require(_0x746b('0x7'));var logger=require(_0x746b('0x8'))(_0x746b('0x9'));var config=require(_0x746b('0xa'));var jayson=require(_0x746b('0xb'));var client=jayson[_0x746b('0xc')][_0x746b('0xd')]({'port':0x232a});function respondWithRpcPromise(_0x380317,_0x4a33dd,_0x1f8c1f){return new BPromise(function(_0x15b2ad,_0xcc9ae5){return client[_0x746b('0xe')](_0x380317,_0x1f8c1f)[_0x746b('0xf')](function(_0x4bafd3){logger[_0x746b('0x10')](_0x746b('0x11'),_0x4a33dd,'request\x20sent');logger[_0x746b('0x12')](_0x746b('0x13'),_0x4a33dd,_0x746b('0x14'),JSON[_0x746b('0x15')](_0x4bafd3));if(_0x4bafd3[_0x746b('0x16')]){if(_0x4bafd3[_0x746b('0x16')]['code']===0x1f4){logger[_0x746b('0x16')](_0x746b('0x11'),_0x4a33dd,_0x4bafd3[_0x746b('0x16')]['message']);return _0xcc9ae5(_0x4bafd3[_0x746b('0x16')][_0x746b('0x17')]);}logger[_0x746b('0x16')](_0x746b('0x11'),_0x4a33dd,_0x4bafd3[_0x746b('0x16')]['message']);return _0x15b2ad(_0x4bafd3['error'][_0x746b('0x17')]);}else{logger[_0x746b('0x10')](_0x746b('0x11'),_0x4a33dd,_0x746b('0x14'));_0x15b2ad(_0x4bafd3[_0x746b('0x18')][_0x746b('0x17')]);}})['catch'](function(_0x133791){logger[_0x746b('0x16')](_0x746b('0x11'),_0x4a33dd,_0x133791);_0xcc9ae5(_0x133791);});});} \ No newline at end of file diff --git a/server/api/pause/index.js b/server/api/pause/index.js index fb87a5e..a4bf641 100644 --- a/server/api/pause/index.js +++ b/server/api/pause/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xa48b=['index','/:id','post','create','put','update','delete','destroy','exports','multer','util','path','Router','../../components/auth/service','../../config/environment','get','isAuthenticated'];(function(_0x4a8227,_0x27ab19){var _0x403b2c=function(_0x6e793d){while(--_0x6e793d){_0x4a8227['push'](_0x4a8227['shift']());}};_0x403b2c(++_0x27ab19);}(_0xa48b,0x80));var _0xba48=function(_0x17dd99,_0x2c5acd){_0x17dd99=_0x17dd99-0x0;var _0x4ecea1=_0xa48b[_0x17dd99];return _0x4ecea1;};'use strict';var multer=require(_0xba48('0x0'));var util=require(_0xba48('0x1'));var path=require(_0xba48('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0xba48('0x3')]();var auth=require(_0xba48('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0xba48('0x5'));var controller=require('./pause.controller');router[_0xba48('0x6')]('/',auth[_0xba48('0x7')](),controller[_0xba48('0x8')]);router[_0xba48('0x6')](_0xba48('0x9'),auth[_0xba48('0x7')](),controller['show']);router[_0xba48('0xa')]('/',auth[_0xba48('0x7')](),controller[_0xba48('0xb')]);router[_0xba48('0xc')](_0xba48('0x9'),auth['isAuthenticated'](),controller[_0xba48('0xd')]);router[_0xba48('0xe')](_0xba48('0x9'),auth[_0xba48('0x7')](),controller[_0xba48('0xf')]);module[_0xba48('0x10')]=router; \ No newline at end of file +var _0xb261=['exports','multer','util','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./pause.controller','get','index','/:id','isAuthenticated','show','post','create','put','update','delete','destroy'];(function(_0x2acffa,_0x419cac){var _0x18b658=function(_0x43077c){while(--_0x43077c){_0x2acffa['push'](_0x2acffa['shift']());}};_0x18b658(++_0x419cac);}(_0xb261,0xfd));var _0x1b26=function(_0x184cc6,_0x4961ee){_0x184cc6=_0x184cc6-0x0;var _0x3f7435=_0xb261[_0x184cc6];return _0x3f7435;};'use strict';var multer=require(_0x1b26('0x0'));var util=require(_0x1b26('0x1'));var path=require('path');var timeout=require(_0x1b26('0x2'));var express=require(_0x1b26('0x3'));var router=express[_0x1b26('0x4')]();var auth=require(_0x1b26('0x5'));var interaction=require(_0x1b26('0x6'));var config=require(_0x1b26('0x7'));var controller=require(_0x1b26('0x8'));router[_0x1b26('0x9')]('/',auth['isAuthenticated'](),controller[_0x1b26('0xa')]);router['get'](_0x1b26('0xb'),auth[_0x1b26('0xc')](),controller[_0x1b26('0xd')]);router[_0x1b26('0xe')]('/',auth['isAuthenticated'](),controller[_0x1b26('0xf')]);router[_0x1b26('0x10')]('/:id',auth[_0x1b26('0xc')](),controller[_0x1b26('0x11')]);router[_0x1b26('0x12')](_0x1b26('0xb'),auth[_0x1b26('0xc')](),controller[_0x1b26('0x13')]);module[_0x1b26('0x14')]=router; \ No newline at end of file diff --git a/server/api/pause/pause.attributes.js b/server/api/pause/pause.attributes.js index 7e84077..0576b48 100644 --- a/server/api/pause/pause.attributes.js +++ b/server/api/pause/pause.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xad71=['exports','STRING','name','sequelize'];(function(_0x4a858b,_0x270c1c){var _0x5ae6a0=function(_0x38f9dc){while(--_0x38f9dc){_0x4a858b['push'](_0x4a858b['shift']());}};_0x5ae6a0(++_0x270c1c);}(_0xad71,0xf3));var _0x1ad7=function(_0xa9a413,_0x5bd4ba){_0xa9a413=_0xa9a413-0x0;var _0x5324eb=_0xad71[_0xa9a413];return _0x5324eb;};'use strict';var Sequelize=require(_0x1ad7('0x0'));module[_0x1ad7('0x1')]={'name':{'type':Sequelize[_0x1ad7('0x2')],'unique':_0x1ad7('0x3'),'allowNull':![]},'description':{'type':Sequelize[_0x1ad7('0x2')]}}; \ No newline at end of file +var _0x46f6=['name','STRING'];(function(_0x2a8c45,_0x5c4d0f){var _0x50a129=function(_0x151e23){while(--_0x151e23){_0x2a8c45['push'](_0x2a8c45['shift']());}};_0x50a129(++_0x5c4d0f);}(_0x46f6,0xa1));var _0x646f=function(_0x3b3a41,_0x35b336){_0x3b3a41=_0x3b3a41-0x0;var _0x4192de=_0x46f6[_0x3b3a41];return _0x4192de;};'use strict';var Sequelize=require('sequelize');module['exports']={'name':{'type':Sequelize[_0x646f('0x0')],'unique':_0x646f('0x1'),'allowNull':![]},'description':{'type':Sequelize[_0x646f('0x0')]}}; \ No newline at end of file diff --git a/server/api/pause/pause.controller.js b/server/api/pause/pause.controller.js index a2c30f9..a60022e 100644 --- a/server/api/pause/pause.controller.js +++ b/server/api/pause/pause.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x091e=['apply','reject','save','then','get','error','name','send','index','map','Pause','fieldName','type','model','query','filters','intersection','fields','attributes','length','nolimit','limit','order','sort','where','filter','merge','VIRTUAL','options','includeAll','include','findAll','rows','catch','params','keys','find','create','body','user','Unable\x20to\x20retrieve\x20the\x20current\x20user','role','autoAssociation','UserProfileResource','update','destroy','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','mustache','path','ejs','lodash','squel','crypto','jsforce','desk.js','to-csv','querystring','ioredis','../../components/auth/service','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','../../config/utils','../../config/environment','sendStatus','status','end','json','count','offset','set'];(function(_0x11f541,_0x287622){var _0xc9be7d=function(_0x4a54b9){while(--_0x4a54b9){_0x11f541['push'](_0x11f541['shift']());}};_0xc9be7d(++_0x287622);}(_0x091e,0x7c));var _0xe091=function(_0x24259d,_0x64a194){_0x24259d=_0x24259d-0x0;var _0x5a701=_0x091e[_0x24259d];return _0x5a701;};'use strict';var pdf=require(_0xe091('0x0'));var emlformat=require(_0xe091('0x1'));var rimraf=require(_0xe091('0x2'));var zipdir=require(_0xe091('0x3'));var jsonpatch=require(_0xe091('0x4'));var rp=require(_0xe091('0x5'));var moment=require(_0xe091('0x6'));var BPromise=require(_0xe091('0x7'));var Mustache=require(_0xe091('0x8'));var util=require('util');var path=require(_0xe091('0x9'));var sox=require('sox');var csv=require('to-csv');var ejs=require(_0xe091('0xa'));var fs=require('fs');var _=require(_0xe091('0xb'));var squel=require(_0xe091('0xc'));var crypto=require(_0xe091('0xd'));var jsforce=require(_0xe091('0xe'));var deskjs=require(_0xe091('0xf'));var toCsv=require(_0xe091('0x10'));var querystring=require(_0xe091('0x11'));var Papa=require('papaparse');var Redis=require(_0xe091('0x12'));var authService=require(_0xe091('0x13'));var qs=require('../../components/parsers/qs');var as=require(_0xe091('0x14'));var hardwareService=require(_0xe091('0x15'));var logger=require(_0xe091('0x16'))('api');var utils=require(_0xe091('0x17'));var config=require(_0xe091('0x18'));var db=require('../../mysqldb')['db'];function respondWithStatusCode(_0x560de5,_0x331cb8){_0x331cb8=_0x331cb8||0xcc;return function(_0x59bdb3){if(_0x59bdb3){return _0x560de5[_0xe091('0x19')](_0x331cb8);}return _0x560de5[_0xe091('0x1a')](_0x331cb8)[_0xe091('0x1b')]();};}function respondWithResult(_0x32efe2,_0x5c3073){_0x5c3073=_0x5c3073||0xc8;return function(_0x29a5f3){if(_0x29a5f3){return _0x32efe2[_0xe091('0x1a')](_0x5c3073)[_0xe091('0x1c')](_0x29a5f3);}};}function respondWithFilteredResult(_0x2ae833,_0x4d19be){return function(_0x2f718f){if(_0x2f718f){var _0x5f1293=_0x2f718f[_0xe091('0x1d')],_0xadb411=_0x4d19be['offset'],_0x138c3d=_0x4d19be[_0xe091('0x1e')]+_0x4d19be['limit'],_0x7932fe;if(_0x138c3d>=_0x5f1293){_0x138c3d=_0x5f1293;_0x7932fe=0xc8;}else{_0x7932fe=0xce;}_0x2ae833[_0xe091('0x1a')](_0x7932fe);return _0x2ae833[_0xe091('0x1f')]('Content-Range',_0xadb411+'-'+_0x138c3d+'/'+_0x5f1293)['json'](_0x2f718f);}return null;};}function patchUpdates(_0x1d72f9){return function(_0x52157){try{jsonpatch[_0xe091('0x20')](_0x52157,_0x1d72f9,!![]);}catch(_0x568988){return BPromise[_0xe091('0x21')](_0x568988);}return _0x52157[_0xe091('0x22')]();};}function saveUpdates(_0x567a68,_0x453cf2){return function(_0x17e64a){if(_0x17e64a){return _0x17e64a['update'](_0x567a68)[_0xe091('0x23')](function(_0x3ca0e8){return _0x3ca0e8;});}return null;};}function removeEntity(_0xedac59,_0x4c35b9){return function(_0x43298c){if(_0x43298c){return _0x43298c['destroy']()[_0xe091('0x23')](function(){var _0x2c192f=_0x43298c[_0xe091('0x24')]({'plain':!![]});var _0x198b05='Pauses';return db['UserProfileResource']['destroy']({'where':{'type':_0x198b05,'resourceId':_0x2c192f['id']}})[_0xe091('0x23')](function(){return _0x43298c;});})[_0xe091('0x23')](function(){_0xedac59[_0xe091('0x1a')](0xcc)['end']();});}};}function handleEntityNotFound(_0x4febe7,_0x3a1f30){return function(_0x46dcbe){if(!_0x46dcbe){_0x4febe7[_0xe091('0x19')](0x194);}return _0x46dcbe;};}function handleError(_0x31932c,_0xc9f581){_0xc9f581=_0xc9f581||0x1f4;return function(_0x209002){logger[_0xe091('0x25')](_0x209002['stack']);if(_0x209002[_0xe091('0x26')]){delete _0x209002[_0xe091('0x26')];}_0x31932c['status'](_0xc9f581)[_0xe091('0x27')](_0x209002);};}exports[_0xe091('0x28')]=function(_0x42ad02,_0x2dd332){var _0x1a5b52={},_0x142ed5={},_0x6741d7={'count':0x0,'rows':[]};var _0x5d373c=_[_0xe091('0x29')](db[_0xe091('0x2a')]['rawAttributes'],function(_0x262b3e){return{'name':_0x262b3e[_0xe091('0x2b')],'type':_0x262b3e[_0xe091('0x2c')]['key']};});_0x142ed5[_0xe091('0x2d')]=_[_0xe091('0x29')](_0x5d373c,_0xe091('0x26'));_0x142ed5['query']=_['keys'](_0x42ad02[_0xe091('0x2e')]);_0x142ed5[_0xe091('0x2f')]=_[_0xe091('0x30')](_0x142ed5[_0xe091('0x2d')],_0x142ed5[_0xe091('0x2e')]);_0x1a5b52['attributes']=_[_0xe091('0x30')](_0x142ed5['model'],qs[_0xe091('0x31')](_0x42ad02[_0xe091('0x2e')][_0xe091('0x31')]));_0x1a5b52[_0xe091('0x32')]=_0x1a5b52[_0xe091('0x32')][_0xe091('0x33')]?_0x1a5b52['attributes']:_0x142ed5['model'];if(!_0x42ad02[_0xe091('0x2e')]['hasOwnProperty'](_0xe091('0x34'))){_0x1a5b52[_0xe091('0x35')]=qs[_0xe091('0x35')](_0x42ad02[_0xe091('0x2e')][_0xe091('0x35')]);_0x1a5b52['offset']=qs[_0xe091('0x1e')](_0x42ad02[_0xe091('0x2e')][_0xe091('0x1e')]);}_0x1a5b52[_0xe091('0x36')]=qs[_0xe091('0x37')](_0x42ad02['query'][_0xe091('0x37')]);_0x1a5b52[_0xe091('0x38')]=qs[_0xe091('0x2f')](_['pick'](_0x42ad02[_0xe091('0x2e')],_0x142ed5[_0xe091('0x2f')]),_0x5d373c);if(_0x42ad02[_0xe091('0x2e')][_0xe091('0x39')]){_0x1a5b52[_0xe091('0x38')]=_[_0xe091('0x3a')](_0x1a5b52['where'],{'$or':_[_0xe091('0x29')](_0x5d373c,function(_0x489f63){if(_0x489f63[_0xe091('0x2c')]!==_0xe091('0x3b')){var _0x4205cf={};_0x4205cf[_0x489f63[_0xe091('0x26')]]={'$like':'%'+_0x42ad02['query']['filter']+'%'};return _0x4205cf;}})});}_0x1a5b52=_[_0xe091('0x3a')]({},_0x1a5b52,_0x42ad02[_0xe091('0x3c')]);var _0x3faa54={'where':_0x1a5b52[_0xe091('0x38')]};return db[_0xe091('0x2a')][_0xe091('0x1d')](_0x3faa54)[_0xe091('0x23')](function(_0x3346e4){_0x6741d7[_0xe091('0x1d')]=_0x3346e4;if(_0x42ad02[_0xe091('0x2e')][_0xe091('0x3d')]){_0x1a5b52[_0xe091('0x3e')]=[{'all':!![]}];}return db[_0xe091('0x2a')][_0xe091('0x3f')](_0x1a5b52);})[_0xe091('0x23')](function(_0xf35313){_0x6741d7[_0xe091('0x40')]=_0xf35313;return _0x6741d7;})[_0xe091('0x23')](respondWithFilteredResult(_0x2dd332,_0x1a5b52))[_0xe091('0x41')](handleError(_0x2dd332,null));};exports['show']=function(_0x15a108,_0x4acb7){var _0x194378={'raw':!![],'where':{'id':_0x15a108[_0xe091('0x42')]['id']}},_0x5344f1={};_0x5344f1[_0xe091('0x2d')]=_[_0xe091('0x43')](db[_0xe091('0x2a')]['rawAttributes']);_0x5344f1[_0xe091('0x2e')]=_[_0xe091('0x43')](_0x15a108[_0xe091('0x2e')]);_0x5344f1[_0xe091('0x2f')]=_[_0xe091('0x30')](_0x5344f1[_0xe091('0x2d')],_0x5344f1[_0xe091('0x2e')]);_0x194378[_0xe091('0x32')]=_[_0xe091('0x30')](_0x5344f1[_0xe091('0x2d')],qs[_0xe091('0x31')](_0x15a108[_0xe091('0x2e')][_0xe091('0x31')]));_0x194378[_0xe091('0x32')]=_0x194378[_0xe091('0x32')][_0xe091('0x33')]?_0x194378[_0xe091('0x32')]:_0x5344f1['model'];if(_0x15a108[_0xe091('0x2e')]['includeAll']){_0x194378[_0xe091('0x3e')]=[{'all':!![]}];}_0x194378=_[_0xe091('0x3a')]({},_0x194378,_0x15a108[_0xe091('0x3c')]);return db[_0xe091('0x2a')][_0xe091('0x44')](_0x194378)[_0xe091('0x23')](handleEntityNotFound(_0x4acb7,null))[_0xe091('0x23')](respondWithResult(_0x4acb7,null))[_0xe091('0x41')](handleError(_0x4acb7,null));};exports['create']=function(_0x2b3495,_0x4231db){return db[_0xe091('0x2a')][_0xe091('0x45')](_0x2b3495[_0xe091('0x46')],{})[_0xe091('0x23')](function(_0x2af47d){var _0x306e24=_0x2b3495[_0xe091('0x47')][_0xe091('0x24')]({'plain':!![]});if(!_0x306e24)throw new Error(_0xe091('0x48'));if(_0x306e24[_0xe091('0x49')]===_0xe091('0x47')){var _0x104133=_0x2af47d[_0xe091('0x24')]({'plain':!![]});var _0x5dde2e='Pauses';return db['UserProfileSection']['find']({'where':{'name':_0x5dde2e,'userProfileId':_0x306e24['userProfileId']},'raw':!![]})[_0xe091('0x23')](function(_0x436a5f){if(_0x436a5f&&_0x436a5f[_0xe091('0x4a')]===0x0){return db[_0xe091('0x4b')][_0xe091('0x45')]({'name':_0x104133[_0xe091('0x26')],'resourceId':_0x104133['id'],'type':_0x436a5f[_0xe091('0x26')],'sectionId':_0x436a5f['id']},{})['then'](function(){return _0x2af47d;});}else{return _0x2af47d;}})[_0xe091('0x41')](function(_0x1638fa){logger[_0xe091('0x25')]('Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s',_0x1638fa);throw _0x1638fa;});}return _0x2af47d;})['then'](respondWithResult(_0x4231db,0xc9))[_0xe091('0x41')](handleError(_0x4231db,null));};exports[_0xe091('0x4c')]=function(_0x29d813,_0x52e725){if(_0x29d813[_0xe091('0x46')]['id']){delete _0x29d813['body']['id'];}return db[_0xe091('0x2a')][_0xe091('0x44')]({'where':{'id':_0x29d813[_0xe091('0x42')]['id']}})['then'](handleEntityNotFound(_0x52e725,null))[_0xe091('0x23')](saveUpdates(_0x29d813['body'],null))[_0xe091('0x23')](respondWithResult(_0x52e725,null))[_0xe091('0x41')](handleError(_0x52e725,null));};exports[_0xe091('0x4d')]=function(_0x85fbc6,_0x421728){return db[_0xe091('0x2a')]['find']({'where':{'id':_0x85fbc6[_0xe091('0x42')]['id']}})[_0xe091('0x23')](handleEntityNotFound(_0x421728,null))[_0xe091('0x23')](removeEntity(_0x421728,null))['catch'](handleError(_0x421728,null));}; \ No newline at end of file +var _0xe5b2=['keys','filters','attributes','intersection','fields','hasOwnProperty','nolimit','offset','sort','where','filter','merge','VIRTUAL','options','includeAll','include','rows','catch','show','params','find','create','body','user','get','Unable\x20to\x20retrieve\x20the\x20current\x20user','role','userProfileId','autoAssociation','error','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','bluebird','mustache','util','path','to-csv','lodash','desk.js','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','sendStatus','status','end','json','count','limit','set','Content-Range','apply','reject','save','update','then','destroy','Pauses','UserProfileResource','stack','name','map','Pause','rawAttributes','fieldName','type','key','model','query'];(function(_0x342baa,_0x4a110f){var _0x1208f3=function(_0x56a645){while(--_0x56a645){_0x342baa['push'](_0x342baa['shift']());}};_0x1208f3(++_0x4a110f);}(_0xe5b2,0x6f));var _0x2e5b=function(_0x20f8fc,_0x54a196){_0x20f8fc=_0x20f8fc-0x0;var _0x1bde90=_0xe5b2[_0x20f8fc];return _0x1bde90;};'use strict';var pdf=require(_0x2e5b('0x0'));var emlformat=require(_0x2e5b('0x1'));var rimraf=require(_0x2e5b('0x2'));var zipdir=require(_0x2e5b('0x3'));var jsonpatch=require(_0x2e5b('0x4'));var rp=require(_0x2e5b('0x5'));var moment=require('moment');var BPromise=require(_0x2e5b('0x6'));var Mustache=require(_0x2e5b('0x7'));var util=require(_0x2e5b('0x8'));var path=require(_0x2e5b('0x9'));var sox=require('sox');var csv=require(_0x2e5b('0xa'));var ejs=require('ejs');var fs=require('fs');var _=require(_0x2e5b('0xb'));var squel=require('squel');var crypto=require('crypto');var jsforce=require('jsforce');var deskjs=require(_0x2e5b('0xc'));var toCsv=require(_0x2e5b('0xa'));var querystring=require('querystring');var Papa=require(_0x2e5b('0xd'));var Redis=require(_0x2e5b('0xe'));var authService=require(_0x2e5b('0xf'));var qs=require(_0x2e5b('0x10'));var as=require(_0x2e5b('0x11'));var hardwareService=require('../../config/license/hardware');var logger=require(_0x2e5b('0x12'))(_0x2e5b('0x13'));var utils=require(_0x2e5b('0x14'));var config=require(_0x2e5b('0x15'));var db=require(_0x2e5b('0x16'))['db'];function respondWithStatusCode(_0x44361c,_0x16bfb3){_0x16bfb3=_0x16bfb3||0xcc;return function(_0x41d802){if(_0x41d802){return _0x44361c[_0x2e5b('0x17')](_0x16bfb3);}return _0x44361c[_0x2e5b('0x18')](_0x16bfb3)[_0x2e5b('0x19')]();};}function respondWithResult(_0x74e40,_0x33bf0e){_0x33bf0e=_0x33bf0e||0xc8;return function(_0x305582){if(_0x305582){return _0x74e40[_0x2e5b('0x18')](_0x33bf0e)[_0x2e5b('0x1a')](_0x305582);}};}function respondWithFilteredResult(_0x304f52,_0x5c52f6){return function(_0x5e9a4b){if(_0x5e9a4b){var _0x1da5ab=_0x5e9a4b[_0x2e5b('0x1b')],_0x64774d=_0x5c52f6['offset'],_0x585258=_0x5c52f6['offset']+_0x5c52f6[_0x2e5b('0x1c')],_0x28e28e;if(_0x585258>=_0x1da5ab){_0x585258=_0x1da5ab;_0x28e28e=0xc8;}else{_0x28e28e=0xce;}_0x304f52[_0x2e5b('0x18')](_0x28e28e);return _0x304f52[_0x2e5b('0x1d')](_0x2e5b('0x1e'),_0x64774d+'-'+_0x585258+'/'+_0x1da5ab)['json'](_0x5e9a4b);}return null;};}function patchUpdates(_0x1dbabe){return function(_0x18827e){try{jsonpatch[_0x2e5b('0x1f')](_0x18827e,_0x1dbabe,!![]);}catch(_0xa6271a){return BPromise[_0x2e5b('0x20')](_0xa6271a);}return _0x18827e[_0x2e5b('0x21')]();};}function saveUpdates(_0x294d7c,_0xc1f9e7){return function(_0x8a65f4){if(_0x8a65f4){return _0x8a65f4[_0x2e5b('0x22')](_0x294d7c)[_0x2e5b('0x23')](function(_0x5b3dca){return _0x5b3dca;});}return null;};}function removeEntity(_0x4df960,_0x2cfaeb){return function(_0x4271eb){if(_0x4271eb){return _0x4271eb[_0x2e5b('0x24')]()[_0x2e5b('0x23')](function(){var _0x3749e2=_0x4271eb['get']({'plain':!![]});var _0x1d39de=_0x2e5b('0x25');return db[_0x2e5b('0x26')][_0x2e5b('0x24')]({'where':{'type':_0x1d39de,'resourceId':_0x3749e2['id']}})['then'](function(){return _0x4271eb;});})[_0x2e5b('0x23')](function(){_0x4df960[_0x2e5b('0x18')](0xcc)[_0x2e5b('0x19')]();});}};}function handleEntityNotFound(_0x5cbf8c,_0x119a78){return function(_0x5dc6dd){if(!_0x5dc6dd){_0x5cbf8c['sendStatus'](0x194);}return _0x5dc6dd;};}function handleError(_0x5b3ffd,_0x2042ab){_0x2042ab=_0x2042ab||0x1f4;return function(_0x57451c){logger['error'](_0x57451c[_0x2e5b('0x27')]);if(_0x57451c[_0x2e5b('0x28')]){delete _0x57451c[_0x2e5b('0x28')];}_0x5b3ffd['status'](_0x2042ab)['send'](_0x57451c);};}exports['index']=function(_0x12c782,_0x15725e){var _0x188280={},_0x34f432={},_0x497d78={'count':0x0,'rows':[]};var _0x398800=_[_0x2e5b('0x29')](db[_0x2e5b('0x2a')][_0x2e5b('0x2b')],function(_0x46a96c){return{'name':_0x46a96c[_0x2e5b('0x2c')],'type':_0x46a96c[_0x2e5b('0x2d')][_0x2e5b('0x2e')]};});_0x34f432[_0x2e5b('0x2f')]=_['map'](_0x398800,_0x2e5b('0x28'));_0x34f432[_0x2e5b('0x30')]=_[_0x2e5b('0x31')](_0x12c782[_0x2e5b('0x30')]);_0x34f432[_0x2e5b('0x32')]=_['intersection'](_0x34f432[_0x2e5b('0x2f')],_0x34f432[_0x2e5b('0x30')]);_0x188280[_0x2e5b('0x33')]=_[_0x2e5b('0x34')](_0x34f432['model'],qs['fields'](_0x12c782[_0x2e5b('0x30')][_0x2e5b('0x35')]));_0x188280['attributes']=_0x188280[_0x2e5b('0x33')]['length']?_0x188280['attributes']:_0x34f432[_0x2e5b('0x2f')];if(!_0x12c782[_0x2e5b('0x30')][_0x2e5b('0x36')](_0x2e5b('0x37'))){_0x188280[_0x2e5b('0x1c')]=qs['limit'](_0x12c782[_0x2e5b('0x30')][_0x2e5b('0x1c')]);_0x188280['offset']=qs[_0x2e5b('0x38')](_0x12c782[_0x2e5b('0x30')]['offset']);}_0x188280['order']=qs[_0x2e5b('0x39')](_0x12c782[_0x2e5b('0x30')][_0x2e5b('0x39')]);_0x188280[_0x2e5b('0x3a')]=qs['filters'](_['pick'](_0x12c782['query'],_0x34f432[_0x2e5b('0x32')]),_0x398800);if(_0x12c782[_0x2e5b('0x30')][_0x2e5b('0x3b')]){_0x188280[_0x2e5b('0x3a')]=_[_0x2e5b('0x3c')](_0x188280[_0x2e5b('0x3a')],{'$or':_[_0x2e5b('0x29')](_0x398800,function(_0x5abafa){if(_0x5abafa[_0x2e5b('0x2d')]!==_0x2e5b('0x3d')){var _0x45921e={};_0x45921e[_0x5abafa['name']]={'$like':'%'+_0x12c782['query'][_0x2e5b('0x3b')]+'%'};return _0x45921e;}})});}_0x188280=_['merge']({},_0x188280,_0x12c782[_0x2e5b('0x3e')]);var _0x3bf0a1={'where':_0x188280['where']};return db['Pause'][_0x2e5b('0x1b')](_0x3bf0a1)[_0x2e5b('0x23')](function(_0x2ba4df){_0x497d78[_0x2e5b('0x1b')]=_0x2ba4df;if(_0x12c782['query'][_0x2e5b('0x3f')]){_0x188280[_0x2e5b('0x40')]=[{'all':!![]}];}return db[_0x2e5b('0x2a')]['findAll'](_0x188280);})[_0x2e5b('0x23')](function(_0x26fa2e){_0x497d78[_0x2e5b('0x41')]=_0x26fa2e;return _0x497d78;})[_0x2e5b('0x23')](respondWithFilteredResult(_0x15725e,_0x188280))[_0x2e5b('0x42')](handleError(_0x15725e,null));};exports[_0x2e5b('0x43')]=function(_0x445941,_0x155960){var _0x40c549={'raw':!![],'where':{'id':_0x445941[_0x2e5b('0x44')]['id']}},_0x1e6830={};_0x1e6830[_0x2e5b('0x2f')]=_['keys'](db[_0x2e5b('0x2a')]['rawAttributes']);_0x1e6830[_0x2e5b('0x30')]=_[_0x2e5b('0x31')](_0x445941[_0x2e5b('0x30')]);_0x1e6830[_0x2e5b('0x32')]=_['intersection'](_0x1e6830[_0x2e5b('0x2f')],_0x1e6830[_0x2e5b('0x30')]);_0x40c549[_0x2e5b('0x33')]=_[_0x2e5b('0x34')](_0x1e6830[_0x2e5b('0x2f')],qs['fields'](_0x445941[_0x2e5b('0x30')][_0x2e5b('0x35')]));_0x40c549[_0x2e5b('0x33')]=_0x40c549[_0x2e5b('0x33')]['length']?_0x40c549[_0x2e5b('0x33')]:_0x1e6830[_0x2e5b('0x2f')];if(_0x445941[_0x2e5b('0x30')][_0x2e5b('0x3f')]){_0x40c549['include']=[{'all':!![]}];}_0x40c549=_['merge']({},_0x40c549,_0x445941[_0x2e5b('0x3e')]);return db[_0x2e5b('0x2a')][_0x2e5b('0x45')](_0x40c549)['then'](handleEntityNotFound(_0x155960,null))[_0x2e5b('0x23')](respondWithResult(_0x155960,null))[_0x2e5b('0x42')](handleError(_0x155960,null));};exports[_0x2e5b('0x46')]=function(_0x5d8863,_0x305c08){return db[_0x2e5b('0x2a')][_0x2e5b('0x46')](_0x5d8863[_0x2e5b('0x47')],{})['then'](function(_0xf47686){var _0x2ecc3d=_0x5d8863[_0x2e5b('0x48')][_0x2e5b('0x49')]({'plain':!![]});if(!_0x2ecc3d)throw new Error(_0x2e5b('0x4a'));if(_0x2ecc3d[_0x2e5b('0x4b')]==='user'){var _0x9b94c1=_0xf47686[_0x2e5b('0x49')]({'plain':!![]});var _0xda7208=_0x2e5b('0x25');return db['UserProfileSection']['find']({'where':{'name':_0xda7208,'userProfileId':_0x2ecc3d[_0x2e5b('0x4c')]},'raw':!![]})[_0x2e5b('0x23')](function(_0x3ed65b){if(_0x3ed65b&&_0x3ed65b[_0x2e5b('0x4d')]===0x0){return db['UserProfileResource'][_0x2e5b('0x46')]({'name':_0x9b94c1[_0x2e5b('0x28')],'resourceId':_0x9b94c1['id'],'type':_0x3ed65b[_0x2e5b('0x28')],'sectionId':_0x3ed65b['id']},{})['then'](function(){return _0xf47686;});}else{return _0xf47686;}})[_0x2e5b('0x42')](function(_0x480cc3){logger[_0x2e5b('0x4e')](_0x2e5b('0x4f'),_0x480cc3);throw _0x480cc3;});}return _0xf47686;})[_0x2e5b('0x23')](respondWithResult(_0x305c08,0xc9))[_0x2e5b('0x42')](handleError(_0x305c08,null));};exports[_0x2e5b('0x22')]=function(_0x353f8e,_0x383a20){if(_0x353f8e['body']['id']){delete _0x353f8e[_0x2e5b('0x47')]['id'];}return db[_0x2e5b('0x2a')][_0x2e5b('0x45')]({'where':{'id':_0x353f8e['params']['id']}})[_0x2e5b('0x23')](handleEntityNotFound(_0x383a20,null))['then'](saveUpdates(_0x353f8e[_0x2e5b('0x47')],null))[_0x2e5b('0x23')](respondWithResult(_0x383a20,null))[_0x2e5b('0x42')](handleError(_0x383a20,null));};exports[_0x2e5b('0x24')]=function(_0x212f7a,_0x410a73){return db[_0x2e5b('0x2a')][_0x2e5b('0x45')]({'where':{'id':_0x212f7a['params']['id']}})[_0x2e5b('0x23')](handleEntityNotFound(_0x410a73,null))['then'](removeEntity(_0x410a73,null))[_0x2e5b('0x42')](handleError(_0x410a73,null));}; \ No newline at end of file diff --git a/server/api/pause/pause.model.js b/server/api/pause/pause.model.js index b37001d..4ce242b 100644 --- a/server/api/pause/pause.model.js +++ b/server/api/pause/pause.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xf0f4=['rimraf','../../config/environment','./pause.attributes','exports','Pause','tools_pauses','util','moment','bluebird','path'];(function(_0x47a7d0,_0x4e182d){var _0xb9bd08=function(_0x588ee2){while(--_0x588ee2){_0x47a7d0['push'](_0x47a7d0['shift']());}};_0xb9bd08(++_0x4e182d);}(_0xf0f4,0x182));var _0x4f0f=function(_0x22f624,_0x278346){_0x22f624=_0x22f624-0x0;var _0x473685=_0xf0f4[_0x22f624];return _0x473685;};'use strict';var _=require('lodash');var util=require(_0x4f0f('0x0'));var logger=require('../../config/logger')('api');var moment=require(_0x4f0f('0x1'));var BPromise=require(_0x4f0f('0x2'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x4f0f('0x3'));var rimraf=require(_0x4f0f('0x4'));var config=require(_0x4f0f('0x5'));var attributes=require(_0x4f0f('0x6'));module[_0x4f0f('0x7')]=function(_0x15e6cd,_0x3285cd){return _0x15e6cd['define'](_0x4f0f('0x8'),attributes,{'tableName':_0x4f0f('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0x8fcd=['moment','path','rimraf','../../config/environment','./pause.attributes','exports','Pause','lodash','util','../../config/logger','api'];(function(_0x39360a,_0x1398bd){var _0x2594a4=function(_0x1e548e){while(--_0x1e548e){_0x39360a['push'](_0x39360a['shift']());}};_0x2594a4(++_0x1398bd);}(_0x8fcd,0xa1));var _0xd8fc=function(_0x456a88,_0x73be2f){_0x456a88=_0x456a88-0x0;var _0x28b76b=_0x8fcd[_0x456a88];return _0x28b76b;};'use strict';var _=require(_0xd8fc('0x0'));var util=require(_0xd8fc('0x1'));var logger=require(_0xd8fc('0x2'))(_0xd8fc('0x3'));var moment=require(_0xd8fc('0x4'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0xd8fc('0x5'));var rimraf=require(_0xd8fc('0x6'));var config=require(_0xd8fc('0x7'));var attributes=require(_0xd8fc('0x8'));module[_0xd8fc('0x9')]=function(_0x127911,_0x5d9c8e){return _0x127911['define'](_0xd8fc('0xa'),attributes,{'tableName':'tools_pauses','paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/pause/pause.rpc.js b/server/api/pause/pause.rpc.js index bfdd0a4..c20dc5b 100644 --- a/server/api/pause/pause.rpc.js +++ b/server/api/pause/pause.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x2554=['stringify','util','moment','randomstring','ioredis','../../mysqldb','../../config/utils','../../config/logger','../../config/environment','jayson/promise','client','request','then','info','Pause,\x20%s,\x20%s','request\x20sent','debug','Pause,\x20%s,\x20%s,\x20%s','error','code','message','result','catch','ShowPause','Pause','find','options','raw','attributes','map','include','model'];(function(_0x1d1d09,_0x504d77){var _0x8827e=function(_0x4f3128){while(--_0x4f3128){_0x1d1d09['push'](_0x1d1d09['shift']());}};_0x8827e(++_0x504d77);}(_0x2554,0x141));var _0x4255=function(_0x45a1a2,_0x2bc9d0){_0x45a1a2=_0x45a1a2-0x0;var _0x460eed=_0x2554[_0x45a1a2];return _0x460eed;};'use strict';var _=require('lodash');var util=require(_0x4255('0x0'));var moment=require(_0x4255('0x1'));var BPromise=require('bluebird');var rs=require(_0x4255('0x2'));var fs=require('fs');var Redis=require(_0x4255('0x3'));var db=require(_0x4255('0x4'))['db'];var utils=require(_0x4255('0x5'));var logger=require(_0x4255('0x6'))('rpc');var config=require(_0x4255('0x7'));var jayson=require(_0x4255('0x8'));var client=jayson[_0x4255('0x9')]['http']({'port':0x232a});function respondWithRpcPromise(_0x15a31d,_0x589cb9,_0x2fa96d){return new BPromise(function(_0x35ce70,_0x253b00){return client[_0x4255('0xa')](_0x15a31d,_0x2fa96d)[_0x4255('0xb')](function(_0x41deb4){logger[_0x4255('0xc')](_0x4255('0xd'),_0x589cb9,_0x4255('0xe'));logger[_0x4255('0xf')](_0x4255('0x10'),_0x589cb9,_0x4255('0xe'),JSON['stringify'](_0x41deb4));if(_0x41deb4[_0x4255('0x11')]){if(_0x41deb4['error'][_0x4255('0x12')]===0x1f4){logger[_0x4255('0x11')](_0x4255('0xd'),_0x589cb9,_0x41deb4[_0x4255('0x11')][_0x4255('0x13')]);return _0x253b00(_0x41deb4[_0x4255('0x11')][_0x4255('0x13')]);}logger[_0x4255('0x11')]('Pause,\x20%s,\x20%s',_0x589cb9,_0x41deb4[_0x4255('0x11')][_0x4255('0x13')]);return _0x35ce70(_0x41deb4[_0x4255('0x11')][_0x4255('0x13')]);}else{logger[_0x4255('0xc')](_0x4255('0xd'),_0x589cb9,_0x4255('0xe'));_0x35ce70(_0x41deb4[_0x4255('0x14')][_0x4255('0x13')]);}})[_0x4255('0x15')](function(_0x3b6a93){logger[_0x4255('0x11')](_0x4255('0xd'),_0x589cb9,_0x3b6a93);_0x253b00(_0x3b6a93);});});}exports[_0x4255('0x16')]=function(_0x42c1ea){var _0x44beb2=this;return new Promise(function(_0x307587,_0xbfbec){return db[_0x4255('0x17')][_0x4255('0x18')]({'raw':_0x42c1ea[_0x4255('0x19')]?_0x42c1ea[_0x4255('0x19')][_0x4255('0x1a')]===undefined?!![]:![]:!![],'where':_0x42c1ea[_0x4255('0x19')]?_0x42c1ea[_0x4255('0x19')]['where']||null:null,'attributes':_0x42c1ea['options']?_0x42c1ea[_0x4255('0x19')][_0x4255('0x1b')]||null:null,'include':_0x42c1ea[_0x4255('0x19')]?_0x42c1ea[_0x4255('0x19')]['include']?_[_0x4255('0x1c')](_0x42c1ea[_0x4255('0x19')][_0x4255('0x1d')],function(_0x5a3a2e){return{'model':db[_0x5a3a2e[_0x4255('0x1e')]],'as':_0x5a3a2e['as'],'attributes':_0x5a3a2e[_0x4255('0x1b')],'include':_0x5a3a2e[_0x4255('0x1d')]?_[_0x4255('0x1c')](_0x5a3a2e[_0x4255('0x1d')],function(_0x1976ba){return{'model':db[_0x1976ba[_0x4255('0x1e')]],'as':_0x1976ba['as'],'attributes':_0x1976ba['attributes'],'include':_0x1976ba[_0x4255('0x1d')]?_['map'](_0x1976ba[_0x4255('0x1d')],function(_0x587d02){return{'model':db[_0x587d02['model']],'as':_0x587d02['as'],'attributes':_0x587d02[_0x4255('0x1b')]};}):[]};}):[]};}):[]:[]})[_0x4255('0xb')](function(_0x27bd37){logger[_0x4255('0xc')](_0x4255('0x16'),_0x42c1ea);logger[_0x4255('0xf')](_0x4255('0x16'),_0x42c1ea,JSON[_0x4255('0x1f')](_0x27bd37));_0x307587(_0x27bd37);})[_0x4255('0x15')](function(_0x2379e3){logger[_0x4255('0x11')](_0x4255('0x16'),_0x2379e3[_0x4255('0x13')],_0x42c1ea);_0xbfbec(_0x44beb2[_0x4255('0x11')](0x1f4,_0x2379e3[_0x4255('0x13')]));});});}; \ No newline at end of file +var _0xb412=['attributes','include','map','model','info','catch','util','moment','bluebird','randomstring','ioredis','../../config/utils','../../config/logger','../../config/environment','client','http','then','Pause,\x20%s,\x20%s','request\x20sent','debug','Pause,\x20%s,\x20%s,\x20%s','error','message','result','ShowPause','Pause','find','options','raw','where'];(function(_0x4ae6ef,_0xc2af80){var _0x3cbb4e=function(_0x569ad5){while(--_0x569ad5){_0x4ae6ef['push'](_0x4ae6ef['shift']());}};_0x3cbb4e(++_0xc2af80);}(_0xb412,0x7e));var _0x2b41=function(_0xe04ebf,_0x5b44cd){_0xe04ebf=_0xe04ebf-0x0;var _0x36256f=_0xb412[_0xe04ebf];return _0x36256f;};'use strict';var _=require('lodash');var util=require(_0x2b41('0x0'));var moment=require(_0x2b41('0x1'));var BPromise=require(_0x2b41('0x2'));var rs=require(_0x2b41('0x3'));var fs=require('fs');var Redis=require(_0x2b41('0x4'));var db=require('../../mysqldb')['db'];var utils=require(_0x2b41('0x5'));var logger=require(_0x2b41('0x6'))('rpc');var config=require(_0x2b41('0x7'));var jayson=require('jayson/promise');var client=jayson[_0x2b41('0x8')][_0x2b41('0x9')]({'port':0x232a});function respondWithRpcPromise(_0x528e88,_0x26ee38,_0xedd1d1){return new BPromise(function(_0x1b2b4a,_0x341298){return client['request'](_0x528e88,_0xedd1d1)[_0x2b41('0xa')](function(_0x4f6cfe){logger['info'](_0x2b41('0xb'),_0x26ee38,_0x2b41('0xc'));logger[_0x2b41('0xd')](_0x2b41('0xe'),_0x26ee38,_0x2b41('0xc'),JSON['stringify'](_0x4f6cfe));if(_0x4f6cfe['error']){if(_0x4f6cfe[_0x2b41('0xf')]['code']===0x1f4){logger[_0x2b41('0xf')](_0x2b41('0xb'),_0x26ee38,_0x4f6cfe[_0x2b41('0xf')][_0x2b41('0x10')]);return _0x341298(_0x4f6cfe[_0x2b41('0xf')]['message']);}logger[_0x2b41('0xf')]('Pause,\x20%s,\x20%s',_0x26ee38,_0x4f6cfe[_0x2b41('0xf')][_0x2b41('0x10')]);return _0x1b2b4a(_0x4f6cfe[_0x2b41('0xf')]['message']);}else{logger['info'](_0x2b41('0xb'),_0x26ee38,_0x2b41('0xc'));_0x1b2b4a(_0x4f6cfe[_0x2b41('0x11')][_0x2b41('0x10')]);}})['catch'](function(_0x2c32aa){logger[_0x2b41('0xf')]('Pause,\x20%s,\x20%s',_0x26ee38,_0x2c32aa);_0x341298(_0x2c32aa);});});}exports[_0x2b41('0x12')]=function(_0x13e40f){var _0x2a1781=this;return new Promise(function(_0x29af05,_0x1d007b){return db[_0x2b41('0x13')][_0x2b41('0x14')]({'raw':_0x13e40f[_0x2b41('0x15')]?_0x13e40f[_0x2b41('0x15')][_0x2b41('0x16')]===undefined?!![]:![]:!![],'where':_0x13e40f['options']?_0x13e40f[_0x2b41('0x15')][_0x2b41('0x17')]||null:null,'attributes':_0x13e40f[_0x2b41('0x15')]?_0x13e40f[_0x2b41('0x15')][_0x2b41('0x18')]||null:null,'include':_0x13e40f['options']?_0x13e40f[_0x2b41('0x15')][_0x2b41('0x19')]?_[_0x2b41('0x1a')](_0x13e40f[_0x2b41('0x15')][_0x2b41('0x19')],function(_0x5b85d2){return{'model':db[_0x5b85d2[_0x2b41('0x1b')]],'as':_0x5b85d2['as'],'attributes':_0x5b85d2[_0x2b41('0x18')],'include':_0x5b85d2['include']?_[_0x2b41('0x1a')](_0x5b85d2['include'],function(_0x3a2efe){return{'model':db[_0x3a2efe['model']],'as':_0x3a2efe['as'],'attributes':_0x3a2efe[_0x2b41('0x18')],'include':_0x3a2efe['include']?_[_0x2b41('0x1a')](_0x3a2efe[_0x2b41('0x19')],function(_0xb3343){return{'model':db[_0xb3343[_0x2b41('0x1b')]],'as':_0xb3343['as'],'attributes':_0xb3343[_0x2b41('0x18')]};}):[]};}):[]};}):[]:[]})[_0x2b41('0xa')](function(_0x475e8c){logger[_0x2b41('0x1c')](_0x2b41('0x12'),_0x13e40f);logger['debug']('ShowPause',_0x13e40f,JSON['stringify'](_0x475e8c));_0x29af05(_0x475e8c);})[_0x2b41('0x1d')](function(_0x904425){logger[_0x2b41('0xf')]('ShowPause',_0x904425[_0x2b41('0x10')],_0x13e40f);_0x1d007b(_0x2a1781['error'](0x1f4,_0x904425[_0x2b41('0x10')]));});});}; \ No newline at end of file diff --git a/server/api/plugin/index.js b/server/api/plugin/index.js index e796c8b..fa18c01 100644 --- a/server/api/plugin/index.js +++ b/server/api/plugin/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x7eb2=['webhookPost','put','update','delete','exports','multer','util','connect-timeout','express','Router','../../components/interaction/service','./plugin.controller','get','isAuthenticated','index','webhookGet','/:id','/:id/download','diskStorage','join','root','originalname','replace','%s-%s%s','basename','extname','now','post','single','file','upload'];(function(_0x52dc62,_0x391444){var _0x12bcc6=function(_0x1903c4){while(--_0x1903c4){_0x52dc62['push'](_0x52dc62['shift']());}};_0x12bcc6(++_0x391444);}(_0x7eb2,0x11c));var _0x27eb=function(_0x11abb8,_0x567f15){_0x11abb8=_0x11abb8-0x0;var _0x329d5c=_0x7eb2[_0x11abb8];return _0x329d5c;};'use strict';var multer=require(_0x27eb('0x0'));var util=require(_0x27eb('0x1'));var path=require('path');var timeout=require(_0x27eb('0x2'));var express=require(_0x27eb('0x3'));var router=express[_0x27eb('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0x27eb('0x5'));var config=require('../../config/environment');var controller=require(_0x27eb('0x6'));router[_0x27eb('0x7')]('/',auth[_0x27eb('0x8')](),controller[_0x27eb('0x9')]);router[_0x27eb('0x7')]('/webhook',controller[_0x27eb('0xa')]);router[_0x27eb('0x7')](_0x27eb('0xb'),auth[_0x27eb('0x8')](),controller['show']);router[_0x27eb('0x7')](_0x27eb('0xc'),auth[_0x27eb('0x8')](),controller['download']);var upload=multer({'storage':multer[_0x27eb('0xd')]({'destination':function(_0x43367d,_0x2d9937,_0x5b9e9a){_0x5b9e9a(null,path[_0x27eb('0xe')](config[_0x27eb('0xf')],'server/files/plugins'));},'filename':function(_0x4acefa,_0x5ec4e4,_0x267ed6){_0x5ec4e4[_0x27eb('0x10')]=_0x5ec4e4[_0x27eb('0x10')][_0x27eb('0x11')](/[+@&\/\\#,+()$~%'":*?<>{}\s\\|]/g,'-');_0x267ed6(null,util['format'](_0x27eb('0x12'),path[_0x27eb('0x13')](_0x5ec4e4[_0x27eb('0x10')],path[_0x27eb('0x14')](_0x5ec4e4[_0x27eb('0x10')])),Date[_0x27eb('0x15')](),path[_0x27eb('0x14')](_0x5ec4e4[_0x27eb('0x10')])));}})});router[_0x27eb('0x16')]('/',upload[_0x27eb('0x17')](_0x27eb('0x18')),controller[_0x27eb('0x19')]);router['post']('/webhook',controller[_0x27eb('0x1a')]);router[_0x27eb('0x1b')](_0x27eb('0xb'),auth[_0x27eb('0x8')](),controller[_0x27eb('0x1c')]);router[_0x27eb('0x1d')](_0x27eb('0xb'),auth[_0x27eb('0x8')](),controller[_0x27eb('0x1d')]);module[_0x27eb('0x1e')]=router; \ No newline at end of file +var _0x54e7=['util','connect-timeout','express','Router','../../components/auth/service','isAuthenticated','index','/webhook','webhookGet','get','/:id','/:id/download','server/files/plugins','originalname','format','%s-%s%s','basename','extname','now','upload','post','webhookPost','put','update','delete','exports','multer'];(function(_0x1e9d62,_0x25bb8e){var _0x56c490=function(_0x19f4e7){while(--_0x19f4e7){_0x1e9d62['push'](_0x1e9d62['shift']());}};_0x56c490(++_0x25bb8e);}(_0x54e7,0xbc));var _0x754e=function(_0x1d74a4,_0x4f1d6f){_0x1d74a4=_0x1d74a4-0x0;var _0x135353=_0x54e7[_0x1d74a4];return _0x135353;};'use strict';var multer=require(_0x754e('0x0'));var util=require(_0x754e('0x1'));var path=require('path');var timeout=require(_0x754e('0x2'));var express=require(_0x754e('0x3'));var router=express[_0x754e('0x4')]();var auth=require(_0x754e('0x5'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require('./plugin.controller');router['get']('/',auth[_0x754e('0x6')](),controller[_0x754e('0x7')]);router['get'](_0x754e('0x8'),controller[_0x754e('0x9')]);router[_0x754e('0xa')](_0x754e('0xb'),auth[_0x754e('0x6')](),controller['show']);router[_0x754e('0xa')](_0x754e('0xc'),auth['isAuthenticated'](),controller['download']);var upload=multer({'storage':multer['diskStorage']({'destination':function(_0x192484,_0x1ad53c,_0x397d53){_0x397d53(null,path['join'](config['root'],_0x754e('0xd')));},'filename':function(_0x4e975f,_0x3dfb3b,_0x390372){_0x3dfb3b[_0x754e('0xe')]=_0x3dfb3b[_0x754e('0xe')]['replace'](/[+@&\/\\#,+()$~%'":*?<>{}\s\\|]/g,'-');_0x390372(null,util[_0x754e('0xf')](_0x754e('0x10'),path[_0x754e('0x11')](_0x3dfb3b[_0x754e('0xe')],path[_0x754e('0x12')](_0x3dfb3b[_0x754e('0xe')])),Date[_0x754e('0x13')](),path[_0x754e('0x12')](_0x3dfb3b['originalname'])));}})});router['post']('/',upload['single']('file'),controller[_0x754e('0x14')]);router[_0x754e('0x15')]('/webhook',controller[_0x754e('0x16')]);router[_0x754e('0x17')](_0x754e('0xb'),auth[_0x754e('0x6')](),controller[_0x754e('0x18')]);router[_0x754e('0x19')](_0x754e('0xb'),auth['isAuthenticated'](),controller[_0x754e('0x19')]);module[_0x754e('0x1a')]=router; \ No newline at end of file diff --git a/server/api/plugin/plugin.attributes.js b/server/api/plugin/plugin.attributes.js index 207fe1e..b851954 100644 --- a/server/api/plugin/plugin.attributes.js +++ b/server/api/plugin/plugin.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x1b47=['sequelize','STRING','ENUM','html','script','TEXT','The\x20physical\x20path\x20where\x20the\x20plugin\x20is\x20stored.','BOOLEAN','Indicates\x20whether\x20the\x20plugin\x20is\x20installed.\x20Updated\x20when\x20the\x20plugin\x20is\x20installed/uninstalled.','adminOnly','always','never','Indicates\x20whether\x20to\x20display\x20the\x20plugin\x20in\x20the\x20sidebar.'];(function(_0x1af13b,_0x554619){var _0x20d9f9=function(_0x57eca5){while(--_0x57eca5){_0x1af13b['push'](_0x1af13b['shift']());}};_0x20d9f9(++_0x554619);}(_0x1b47,0x1ee));var _0x71b4=function(_0x2b0f23,_0x152963){_0x2b0f23=_0x2b0f23-0x0;var _0x4e6ecb=_0x1b47[_0x2b0f23];return _0x4e6ecb;};'use strict';var Sequelize=require(_0x71b4('0x0'));module['exports']={'name':{'type':Sequelize[_0x71b4('0x1')]},'type':{'type':Sequelize[_0x71b4('0x2')](_0x71b4('0x3'),_0x71b4('0x4'))},'description':{'type':Sequelize[_0x71b4('0x5')]},'version':{'type':Sequelize[_0x71b4('0x5')]},'path':{'type':Sequelize[_0x71b4('0x1')],'comment':_0x71b4('0x6')},'active':{'type':Sequelize[_0x71b4('0x7')],'defaultValue':0x0,'comment':_0x71b4('0x8')},'sidebar':{'type':Sequelize[_0x71b4('0x2')](_0x71b4('0x9'),'agentOnly',_0x71b4('0xa'),_0x71b4('0xb')),'defaultValue':_0x71b4('0xa'),'comment':_0x71b4('0xc')},'icon':{'type':Sequelize['STRING']},'adminUrl':{'type':Sequelize[_0x71b4('0x1')]},'agentUrl':{'type':Sequelize[_0x71b4('0x1')]},'scriptName':{'type':Sequelize[_0x71b4('0x1')]},'scriptPath':{'type':Sequelize[_0x71b4('0x1')]}}; \ No newline at end of file +var _0xf5db=['The\x20physical\x20path\x20where\x20the\x20plugin\x20is\x20stored.','Indicates\x20whether\x20the\x20plugin\x20is\x20installed.\x20Updated\x20when\x20the\x20plugin\x20is\x20installed/uninstalled.','always','never','Indicates\x20whether\x20to\x20display\x20the\x20plugin\x20in\x20the\x20sidebar.','STRING','sequelize','exports','ENUM','html','script','TEXT'];(function(_0xa10c65,_0x250bf2){var _0x39ee93=function(_0x136d3a){while(--_0x136d3a){_0xa10c65['push'](_0xa10c65['shift']());}};_0x39ee93(++_0x250bf2);}(_0xf5db,0xa2));var _0xbf5d=function(_0x1e25cc,_0x31bac7){_0x1e25cc=_0x1e25cc-0x0;var _0x197e1b=_0xf5db[_0x1e25cc];return _0x197e1b;};'use strict';var Sequelize=require(_0xbf5d('0x0'));module[_0xbf5d('0x1')]={'name':{'type':Sequelize['STRING']},'type':{'type':Sequelize[_0xbf5d('0x2')](_0xbf5d('0x3'),_0xbf5d('0x4'))},'description':{'type':Sequelize[_0xbf5d('0x5')]},'version':{'type':Sequelize[_0xbf5d('0x5')]},'path':{'type':Sequelize['STRING'],'comment':_0xbf5d('0x6')},'active':{'type':Sequelize['BOOLEAN'],'defaultValue':0x0,'comment':_0xbf5d('0x7')},'sidebar':{'type':Sequelize[_0xbf5d('0x2')]('adminOnly','agentOnly',_0xbf5d('0x8'),_0xbf5d('0x9')),'defaultValue':_0xbf5d('0x8'),'comment':_0xbf5d('0xa')},'icon':{'type':Sequelize[_0xbf5d('0xb')]},'adminUrl':{'type':Sequelize[_0xbf5d('0xb')]},'agentUrl':{'type':Sequelize[_0xbf5d('0xb')]},'scriptName':{'type':Sequelize[_0xbf5d('0xb')]},'scriptPath':{'type':Sequelize['STRING']}}; \ No newline at end of file diff --git a/server/api/plugin/plugin.controller.js b/server/api/plugin/plugin.controller.js index bf99080..ae63a36 100644 --- a/server/api/plugin/plugin.controller.js +++ b/server/api/plugin/plugin.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x5239=['unlinkSync','info','Download\x20completed','upload','filename','extname','root','server/files/plugins','Plugin\x20upload\x20filepath:\x20%s','Plugin\x20upload\x20destination:\x20%s','chmodSync','0777','readdirSync','Invalid\x20plugin\x20structure','isFile','isDirectory','manifest.json','Plugin\x20manifest\x20missing','readFileSync','parse','undefined','Invalid\x20manifest:\x20name\x20missing','Invalid\x20manifest:\x20type\x20missing','version','Invalid\x20manifest:\x20version\x20not\x20specified','parameters','Invalid\x20manifest:\x20parameters\x20missing','views','Invalid\x20manifest:\x20views\x20missing','admin','agent','Invalid\x20manifest:\x20no\x20view\x20specified','script','scriptName','Invalid\x20manifest:\x20script\x20name\x20missing','Invalid\x20manifest:\x20script\x20path\x20missing','Invalid\x20manifest:\x20invalid\x20type','sidebar','always','test','plugins','Warning:\x20admin\x20view\x20not\x20specified','Warning:\x20agent\x20view\x20not\x20specified','create','userProfileId','UserProfileSection','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','Zip\x20archive\x20removed','Extracted\x20folder\x20removed','update','webhookGet','\x27PATH\x27\x20parameter\x20not\x20specified','port','\x27PORT\x27\x20parameter\x20not\x20specified','hostname','http://localhost:','encoding','method','format','headers','content-length','content-type','statusCode','body','%s%s','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','mustache','path','to-csv','ejs','lodash','jsforce','desk.js','querystring','papaparse','extract-zip','archiver','ioredis','../../components/parsers/advancedSearch','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','redis','defaults','localhost','socket.io-emitter','register','status','end','json','count','offset','limit','set','apply','reject','then','Plugins','destroy','sendStatus','name','send','map','rawAttributes','fieldName','type','model','keys','query','filters','fields','attributes','length','nolimit','order','sort','where','pick','filter','merge','options','includeAll','include','Plugin','rows','catch','show','params','intersection','download','find','join','%s.zip','basename','createWriteStream','zip','code','error','Sequelize','Error','pipe','**/*','dirname','node_modules/**/*','attachments/**/*','finalize','close','existsSync','Plugin\x20not\x20found'];(function(_0x3bb3d9,_0x2ae881){var _0x22d844=function(_0x430611){while(--_0x430611){_0x3bb3d9['push'](_0x3bb3d9['shift']());}};_0x22d844(++_0x2ae881);}(_0x5239,0xde));var _0x9523=function(_0x51a9fa,_0x4494ec){_0x51a9fa=_0x51a9fa-0x0;var _0x32ccbd=_0x5239[_0x51a9fa];return _0x32ccbd;};'use strict';var pdf=require(_0x9523('0x0'));var emlformat=require(_0x9523('0x1'));var rimraf=require(_0x9523('0x2'));var zipdir=require(_0x9523('0x3'));var jsonpatch=require(_0x9523('0x4'));var rp=require(_0x9523('0x5'));var moment=require(_0x9523('0x6'));var BPromise=require('bluebird');var Mustache=require(_0x9523('0x7'));var util=require('util');var path=require(_0x9523('0x8'));var sox=require('sox');var csv=require(_0x9523('0x9'));var ejs=require(_0x9523('0xa'));var fs=require('fs');var _=require(_0x9523('0xb'));var squel=require('squel');var crypto=require('crypto');var jsforce=require(_0x9523('0xc'));var deskjs=require(_0x9523('0xd'));var toCsv=require(_0x9523('0x9'));var querystring=require(_0x9523('0xe'));var Papa=require(_0x9523('0xf'));var extract=require(_0x9523('0x10'));var rimraf=require(_0x9523('0x2'));var archiver=require(_0x9523('0x11'));var Redis=require(_0x9523('0x12'));var authService=require('../../components/auth/service');var qs=require('../../components/parsers/qs');var as=require(_0x9523('0x13'));var hardwareService=require('../../config/license/hardware');var logger=require(_0x9523('0x14'))(_0x9523('0x15'));var utils=require(_0x9523('0x16'));var config=require(_0x9523('0x17'));var db=require(_0x9523('0x18'))['db'];config[_0x9523('0x19')]=_[_0x9523('0x1a')](config[_0x9523('0x19')],{'host':_0x9523('0x1b'),'port':0x18eb});var socket=require(_0x9523('0x1c'))(new Redis(config['redis']));require('./plugin.socket')[_0x9523('0x1d')](socket);function respondWithStatusCode(_0x8f9ca8,_0x2f9e97){_0x2f9e97=_0x2f9e97||0xcc;return function(_0x38328f){if(_0x38328f){return _0x8f9ca8['sendStatus'](_0x2f9e97);}return _0x8f9ca8[_0x9523('0x1e')](_0x2f9e97)[_0x9523('0x1f')]();};}function respondWithResult(_0x33db6c,_0x2a53eb){_0x2a53eb=_0x2a53eb||0xc8;return function(_0x17f4bd){if(_0x17f4bd){return _0x33db6c['status'](_0x2a53eb)[_0x9523('0x20')](_0x17f4bd);}};}function respondWithFilteredResult(_0x43023a,_0x1a1069){return function(_0x351447){if(_0x351447){var _0x1c019c=_0x351447[_0x9523('0x21')],_0x5ef5a9=_0x1a1069[_0x9523('0x22')],_0x11a104=_0x1a1069[_0x9523('0x22')]+_0x1a1069[_0x9523('0x23')],_0x42f364;if(_0x11a104>=_0x1c019c){_0x11a104=_0x1c019c;_0x42f364=0xc8;}else{_0x42f364=0xce;}_0x43023a[_0x9523('0x1e')](_0x42f364);return _0x43023a[_0x9523('0x24')]('Content-Range',_0x5ef5a9+'-'+_0x11a104+'/'+_0x1c019c)[_0x9523('0x20')](_0x351447);}return null;};}function patchUpdates(_0x3f9246){return function(_0x2b6c32){try{jsonpatch[_0x9523('0x25')](_0x2b6c32,_0x3f9246,!![]);}catch(_0x536210){return BPromise[_0x9523('0x26')](_0x536210);}return _0x2b6c32['save']();};}function saveUpdates(_0x9c014e,_0x3120e5){return function(_0x290a22){if(_0x290a22){return _0x290a22['update'](_0x9c014e)[_0x9523('0x27')](function(_0x2a5139){return _0x2a5139;});}return null;};}function removeEntity(_0x89b394,_0x52180a){return function(_0x31a3c4){if(_0x31a3c4){return _0x31a3c4['destroy']()[_0x9523('0x27')](function(){var _0x6675de=_0x31a3c4['get']({'plain':!![]});var _0x26fd2f=_0x9523('0x28');return db['UserProfileResource'][_0x9523('0x29')]({'where':{'type':_0x26fd2f,'resourceId':_0x6675de['id']}})['then'](function(){return _0x31a3c4;});})[_0x9523('0x27')](function(){_0x89b394[_0x9523('0x1e')](0xcc)[_0x9523('0x1f')]();});}};}function handleEntityNotFound(_0x5bf911,_0x49e2b7){return function(_0x3c2cd4){if(!_0x3c2cd4){_0x5bf911[_0x9523('0x2a')](0x194);}return _0x3c2cd4;};}function handleError(_0x3a22eb,_0x58ef6a){_0x58ef6a=_0x58ef6a||0x1f4;return function(_0x3bfc83){logger['error'](_0x3bfc83['stack']);if(_0x3bfc83[_0x9523('0x2b')]){delete _0x3bfc83[_0x9523('0x2b')];}_0x3a22eb[_0x9523('0x1e')](_0x58ef6a)[_0x9523('0x2c')](_0x3bfc83);};}exports['index']=function(_0x5e6e1e,_0xa0a2ec){var _0x55a50f={},_0x270144={},_0x10f2d4={'count':0x0,'rows':[]};var _0x554290=_[_0x9523('0x2d')](db['Plugin'][_0x9523('0x2e')],function(_0x547443){return{'name':_0x547443[_0x9523('0x2f')],'type':_0x547443[_0x9523('0x30')]['key']};});_0x270144[_0x9523('0x31')]=_[_0x9523('0x2d')](_0x554290,_0x9523('0x2b'));_0x270144['query']=_[_0x9523('0x32')](_0x5e6e1e[_0x9523('0x33')]);_0x270144[_0x9523('0x34')]=_['intersection'](_0x270144['model'],_0x270144['query']);_0x55a50f['attributes']=_['intersection'](_0x270144[_0x9523('0x31')],qs['fields'](_0x5e6e1e[_0x9523('0x33')][_0x9523('0x35')]));_0x55a50f[_0x9523('0x36')]=_0x55a50f[_0x9523('0x36')][_0x9523('0x37')]?_0x55a50f[_0x9523('0x36')]:_0x270144[_0x9523('0x31')];if(!_0x5e6e1e[_0x9523('0x33')]['hasOwnProperty'](_0x9523('0x38'))){_0x55a50f[_0x9523('0x23')]=qs[_0x9523('0x23')](_0x5e6e1e['query'][_0x9523('0x23')]);_0x55a50f[_0x9523('0x22')]=qs[_0x9523('0x22')](_0x5e6e1e['query'][_0x9523('0x22')]);}_0x55a50f[_0x9523('0x39')]=qs[_0x9523('0x3a')](_0x5e6e1e[_0x9523('0x33')][_0x9523('0x3a')]);_0x55a50f[_0x9523('0x3b')]=qs[_0x9523('0x34')](_[_0x9523('0x3c')](_0x5e6e1e[_0x9523('0x33')],_0x270144[_0x9523('0x34')]),_0x554290);if(_0x5e6e1e[_0x9523('0x33')][_0x9523('0x3d')]){_0x55a50f[_0x9523('0x3b')]=_[_0x9523('0x3e')](_0x55a50f[_0x9523('0x3b')],{'$or':_[_0x9523('0x2d')](_0x554290,function(_0x2ac7bc){if(_0x2ac7bc['type']!=='VIRTUAL'){var _0x213b7c={};_0x213b7c[_0x2ac7bc[_0x9523('0x2b')]]={'$like':'%'+_0x5e6e1e[_0x9523('0x33')][_0x9523('0x3d')]+'%'};return _0x213b7c;}})});}_0x55a50f=_['merge']({},_0x55a50f,_0x5e6e1e[_0x9523('0x3f')]);var _0x520f3d={'where':_0x55a50f[_0x9523('0x3b')]};return db['Plugin'][_0x9523('0x21')](_0x520f3d)['then'](function(_0x38ebff){_0x10f2d4[_0x9523('0x21')]=_0x38ebff;if(_0x5e6e1e[_0x9523('0x33')][_0x9523('0x40')]){_0x55a50f[_0x9523('0x41')]=[{'all':!![]}];}return db[_0x9523('0x42')]['findAll'](_0x55a50f);})[_0x9523('0x27')](function(_0x25d2f3){_0x10f2d4[_0x9523('0x43')]=_0x25d2f3;return _0x10f2d4;})[_0x9523('0x27')](respondWithFilteredResult(_0xa0a2ec,_0x55a50f))[_0x9523('0x44')](handleError(_0xa0a2ec,null));};exports[_0x9523('0x45')]=function(_0x3d64a7,_0x24d1d7){var _0x5aa107={'raw':!![],'where':{'id':_0x3d64a7[_0x9523('0x46')]['id']}},_0x3caac5={};_0x3caac5[_0x9523('0x31')]=_['keys'](db[_0x9523('0x42')][_0x9523('0x2e')]);_0x3caac5[_0x9523('0x33')]=_[_0x9523('0x32')](_0x3d64a7[_0x9523('0x33')]);_0x3caac5['filters']=_[_0x9523('0x47')](_0x3caac5[_0x9523('0x31')],_0x3caac5[_0x9523('0x33')]);_0x5aa107[_0x9523('0x36')]=_[_0x9523('0x47')](_0x3caac5[_0x9523('0x31')],qs[_0x9523('0x35')](_0x3d64a7['query'][_0x9523('0x35')]));_0x5aa107[_0x9523('0x36')]=_0x5aa107[_0x9523('0x36')]['length']?_0x5aa107[_0x9523('0x36')]:_0x3caac5[_0x9523('0x31')];if(_0x3d64a7[_0x9523('0x33')]['includeAll']){_0x5aa107[_0x9523('0x41')]=[{'all':!![]}];}_0x5aa107=_['merge']({},_0x5aa107,_0x3d64a7[_0x9523('0x3f')]);return db[_0x9523('0x42')]['find'](_0x5aa107)[_0x9523('0x27')](handleEntityNotFound(_0x24d1d7,null))[_0x9523('0x27')](respondWithResult(_0x24d1d7,null))[_0x9523('0x44')](handleError(_0x24d1d7,null));};exports[_0x9523('0x48')]=function(_0x242831,_0x2b7a4a,_0x2862bd){return db[_0x9523('0x42')][_0x9523('0x49')]({'where':{'id':_0x242831[_0x9523('0x46')]['id']},'attributes':['name',_0x9523('0x8')],'raw':!![]})[_0x9523('0x27')](handleEntityNotFound(_0x2b7a4a,null))[_0x9523('0x27')](function(_0x3a3d6e){if(_0x3a3d6e){var _0x512114=path[_0x9523('0x4a')](config['root'],'server/files/plugins',util['format'](_0x9523('0x4b'),path[_0x9523('0x4c')](_0x3a3d6e['path'])));var _0x25add8=fs[_0x9523('0x4d')](_0x512114);var _0x2cdb42=archiver(_0x9523('0x4e'),{'zlib':{'level':0x9}});_0x2cdb42['on']('warning',function(_0x525494){if(_0x525494[_0x9523('0x4f')]==='ENOENT'){logger[_0x9523('0x50')](_0x525494);}else{throw new db[(_0x9523('0x51'))][(_0x9523('0x52'))]('Error\x20while\x20generating\x20the\x20zip\x20archive');}});_0x2cdb42['on'](_0x9523('0x50'),function(_0x32924f){throw new db[(_0x9523('0x51'))][(_0x9523('0x52'))]('Error\x20while\x20generating\x20the\x20zip\x20archive');});_0x2cdb42[_0x9523('0x53')](_0x25add8);_0x2cdb42['glob'](_0x9523('0x54'),{'cwd':path['join'](config['root'],'server/files/plugins',path[_0x9523('0x55')](_0x3a3d6e[_0x9523('0x8')])),'ignore':[path[_0x9523('0x4a')](path[_0x9523('0x4c')](_0x3a3d6e[_0x9523('0x8')]),_0x9523('0x56')),path[_0x9523('0x4a')](path[_0x9523('0x4c')](_0x3a3d6e[_0x9523('0x8')]),_0x9523('0x57'))],'nodir':!![]})[_0x9523('0x58')]();_0x25add8['on'](_0x9523('0x59'),function(){if(!fs[_0x9523('0x5a')](_0x512114)){throw new db[(_0x9523('0x51'))][(_0x9523('0x52'))](_0x9523('0x5b'));}return _0x2b7a4a['download'](_0x512114,util['format'](_0x9523('0x4b'),path['basename'](_0x3a3d6e[_0x9523('0x8')])),function(_0x4c36b6){if(_0x4c36b6){throw new db[(_0x9523('0x51'))][(_0x9523('0x52'))]('Error\x20while\x20downloading\x20the\x20plugin');}fs[_0x9523('0x5c')](_0x512114);logger[_0x9523('0x5d')](_0x9523('0x5e'));logger[_0x9523('0x5d')]('Temporary\x20file\x20removed');});});}return null;})[_0x9523('0x44')](handleError(_0x2b7a4a,null));};exports[_0x9523('0x5f')]=function(_0x53a828,_0x36dae5,_0x34216b){var _0x1cdf3f=path[_0x9523('0x4c')](_0x53a828['file'][_0x9523('0x60')],path[_0x9523('0x61')](_0x53a828['file'][_0x9523('0x60')]));var _0x1f6e83=path[_0x9523('0x4a')](config[_0x9523('0x62')],_0x9523('0x63'),_0x53a828['file']['filename']);var _0x56c271=path[_0x9523('0x4a')](config[_0x9523('0x62')],_0x9523('0x63'),_0x1cdf3f);logger[_0x9523('0x5d')](_0x9523('0x64'),_0x1f6e83);logger[_0x9523('0x5d')](_0x9523('0x65'),_0x56c271);try{fs[_0x9523('0x66')](_0x1f6e83,parseInt(_0x9523('0x67'),0x8));extract(_0x1f6e83,{'dir':_0x56c271},function(_0x122a0c){if(_0x122a0c){logger[_0x9523('0x50')](_0x122a0c);handleError(_0x122a0c,!![]);};var _0x2f5b0c=fs[_0x9523('0x68')](_0x56c271);if(_0x2f5b0c['length']>0x1){removeReferences(_0x1f6e83,_0x56c271);logger['error'](_0x9523('0x69'));return _0x34216b(new Error(_0x9523('0x69')));}var _0x43b89b=fs['lstatSync'](path[_0x9523('0x4a')](_0x56c271,_0x2f5b0c[0x0]));if(_0x43b89b[_0x9523('0x6a')]()){removeReferences(_0x1f6e83,_0x56c271);logger[_0x9523('0x50')]('Invalid\x20plugin\x20structure');return _0x34216b(new Error('Invalid\x20plugin\x20structure'));}if(_0x43b89b[_0x9523('0x6b')]()){var _0x18bc06=fs['readdirSync'](path[_0x9523('0x4a')](_0x56c271,_0x2f5b0c[0x0]));if(_0x18bc06[_0x9523('0x37')]===0x0){removeReferences(_0x1f6e83,_0x56c271);logger[_0x9523('0x50')](_0x9523('0x69'));return _0x34216b(new Error(_0x9523('0x69')));}var _0x234e2b=_0x18bc06['some'](function(_0x2df5ee){return _0x2df5ee===_0x9523('0x6c');});if(!_0x234e2b){return _0x34216b(new Error(_0x9523('0x6d')));}var _0x48d305=fs[_0x9523('0x6e')](path[_0x9523('0x4a')](_0x56c271,_0x2f5b0c[0x0],_0x9523('0x6c')));var _0xab7456=JSON[_0x9523('0x6f')](_0x48d305);if(_0x9523('0x70')==typeof _0xab7456['name']){return _0x34216b(new Error(_0x9523('0x71')));}if(_0x9523('0x70')==typeof _0xab7456[_0x9523('0x30')]){return _0x34216b(new Error(_0x9523('0x72')));}if('undefined'==typeof _0xab7456[_0x9523('0x73')]){return _0x34216b(new Error(_0x9523('0x74')));}if('undefined'==typeof _0xab7456[_0x9523('0x75')]){return _0x34216b(new Error(_0x9523('0x76')));}if(_0xab7456[_0x9523('0x30')]==='html'){if(_0x9523('0x70')==typeof _0xab7456[_0x9523('0x75')][_0x9523('0x77')]){return _0x34216b(new Error(_0x9523('0x78')));}if(_0x9523('0x70')==typeof _0xab7456[_0x9523('0x75')]['views'][_0x9523('0x79')]&&_0x9523('0x70')==typeof _0xab7456[_0x9523('0x75')][_0x9523('0x77')][_0x9523('0x7a')]){return _0x34216b(new Error(_0x9523('0x7b')));}}else if(_0xab7456[_0x9523('0x30')]===_0x9523('0x7c')){if(_0x9523('0x70')==typeof _0xab7456['parameters'][_0x9523('0x7d')]){return _0x34216b(new Error(_0x9523('0x7e')));}if(_0x9523('0x70')==typeof _0xab7456[_0x9523('0x75')]['scriptPath']){return _0x34216b(new Error(_0x9523('0x7f')));}}else{return _0x34216b(new Error(_0x9523('0x80')));}var _0x5e771f=_0xab7456['name'];var _0x377e9=_0xab7456['description'];var _0x3803e0=_0xab7456[_0x9523('0x30')];var _0x1dba12=_0xab7456[_0x9523('0x81')]?_0xab7456[_0x9523('0x81')]:_0x9523('0x82');var _0x32b52f=_0xab7456['icon']?_0xab7456['icon']:'icon-apps';var _0x25f990='';var _0x4098a2='';var _0x5d7634='';var _0x28b155='';var _0x1bdb71=_0xab7456[_0x9523('0x73')];if(_0x3803e0==='html'){if('undefined'!=typeof _0xab7456[_0x9523('0x75')][_0x9523('0x77')][_0x9523('0x79')]){var _0x5c3194=_0xab7456[_0x9523('0x75')][_0x9523('0x77')]['admin'];if(!/^(f|ht)tps?:\/\//i[_0x9523('0x83')](_0x5c3194)){_0x25f990=path['join'](_0x9523('0x84'),_0x1cdf3f,_0x2f5b0c[0x0],_0x5c3194);}else{_0x25f990=_0x5c3194;}}else{logger[_0x9523('0x5d')](_0x9523('0x85'));}if('undefined'!=typeof _0xab7456[_0x9523('0x75')][_0x9523('0x77')][_0x9523('0x7a')]){var _0x26b069=_0xab7456[_0x9523('0x75')][_0x9523('0x77')][_0x9523('0x7a')];if(!/^(f|ht)tps?:\/\//i[_0x9523('0x83')](_0x26b069)){_0x4098a2=path[_0x9523('0x4a')](_0x9523('0x84'),_0x1cdf3f,_0x2f5b0c[0x0],_0x26b069);}else{_0x4098a2=_0x26b069;}}else{logger[_0x9523('0x5d')](_0x9523('0x86'));}}else if(_0x3803e0==='script'){_0x5d7634=_0xab7456[_0x9523('0x75')]['scriptName'];_0x28b155=_0xab7456[_0x9523('0x75')]['scriptPath'];if(_0x9523('0x70')!=typeof _0xab7456[_0x9523('0x75')][_0x9523('0x77')]){if(_0x9523('0x70')!=typeof _0xab7456['parameters'][_0x9523('0x77')][_0x9523('0x79')]){var _0x5c3194=_0xab7456[_0x9523('0x75')][_0x9523('0x77')]['admin'];if(!/^(f|ht)tps?:\/\//i[_0x9523('0x83')](_0x5c3194)){_0x25f990=path['join'](_0x9523('0x84'),_0x1cdf3f,_0x2f5b0c[0x0],_0x5c3194);}else{_0x25f990=_0x5c3194;}}if('undefined'!=typeof _0xab7456[_0x9523('0x75')][_0x9523('0x77')][_0x9523('0x7a')]){var _0x26b069=_0xab7456['parameters'][_0x9523('0x77')][_0x9523('0x7a')];if(!/^(f|ht)tps?:\/\//i[_0x9523('0x83')](_0x26b069)){_0x4098a2=path[_0x9523('0x4a')](_0x9523('0x84'),_0x1cdf3f,_0x2f5b0c[0x0],_0x26b069);}else{_0x4098a2=_0x26b069;}}}}var _0x6c2f0d={'name':_0x5e771f,'description':_0x377e9,'path':path[_0x9523('0x4a')](_0x1cdf3f,_0x2f5b0c[0x0]),'type':_0x3803e0,'sidebar':_0x1dba12,'icon':_0x32b52f,'adminUrl':_0x25f990,'agentUrl':_0x4098a2,'scriptName':_0x5d7634,'scriptPath':_0x28b155,'version':_0x1bdb71};removeReferences(_0x1f6e83,null);return db['Plugin'][_0x9523('0x87')](_0x6c2f0d)[_0x9523('0x27')](function(_0x4cc119){var _0x3429de={'role':_0x53a828['body']['role'],'userProfileId':_0x53a828['body'][_0x9523('0x88')]};if(!_0x3429de)throw new Error('Unable\x20to\x20retrieve\x20the\x20current\x20user');if(_0x3429de['role']==='user'){var _0x57e506=_0x4cc119['get']({'plain':!![]});return db[_0x9523('0x89')][_0x9523('0x49')]({'where':{'name':_0x9523('0x28'),'userProfileId':_0x3429de[_0x9523('0x88')]},'raw':!![]})['then'](function(_0xf39796){if(_0xf39796&&_0xf39796['autoAssociation']===0x0){return db['UserProfileResource'][_0x9523('0x87')]({'name':_0x57e506[_0x9523('0x2b')],'resourceId':_0x57e506['id'],'type':_0xf39796[_0x9523('0x2b')],'sectionId':_0xf39796['id']},{})[_0x9523('0x27')](function(){return _0x4cc119;});}else{return _0x4cc119;}})['catch'](function(_0x9f2972){logger['error'](_0x9523('0x8a'),_0x9f2972);throw _0x9f2972;});}return _0x4cc119;})[_0x9523('0x27')](respondWithResult(_0x36dae5,null))[_0x9523('0x44')](handleError(_0x36dae5,null));}});}catch(_0x228a91){_0x36dae5['status'](0x1f4)[_0x9523('0x2c')](_0x228a91);}};function removeReferences(_0x1a2f39,_0x4c8b55){try{if(_0x1a2f39){fs[_0x9523('0x5c')](_0x1a2f39);logger[_0x9523('0x5d')](_0x9523('0x8b'));}if(_0x4c8b55){rimraf(_0x4c8b55,function(){});logger[_0x9523('0x5d')](_0x9523('0x8c'));}}catch(_0x334ea1){logger['error'](_0x334ea1);}}exports[_0x9523('0x8d')]=function(_0x339952,_0x22fbe2,_0x3ab544){return db[_0x9523('0x42')][_0x9523('0x49')]({'where':{'id':_0x339952[_0x9523('0x46')]['id']}})[_0x9523('0x27')](handleEntityNotFound(_0x22fbe2,null))[_0x9523('0x27')](saveUpdates(_0x339952['body'],null))[_0x9523('0x27')](respondWithResult(_0x22fbe2,null))[_0x9523('0x44')](handleError(_0x22fbe2,null));};exports['delete']=function(_0x30240c,_0x24ce61,_0x3f7a2a){return db['Plugin'][_0x9523('0x49')]({'where':{'id':_0x30240c[_0x9523('0x46')]['id']}})['then'](function(_0x503889){if(_0x503889){return _0x503889[_0x9523('0x29')]();}})[_0x9523('0x27')](function(_0xf9d849){rimraf(path[_0x9523('0x4a')](config['root'],_0x9523('0x63'),path[_0x9523('0x55')](_0xf9d849['path'])),function(){});return _0xf9d849;})['then'](handleEntityNotFound(_0x24ce61,null))[_0x9523('0x27')](respondWithStatusCode(_0x24ce61,null))[_0x9523('0x44')](handleError(_0x24ce61,null));};exports[_0x9523('0x8e')]=function(_0x136154,_0x151793,_0x472c68){return BPromise['resolve']()[_0x9523('0x27')](function(){if(!_0x136154['query']['path']){throw new Error(_0x9523('0x8f'));}if(!_0x136154[_0x9523('0x33')][_0x9523('0x90')]){throw new Error(_0x9523('0x91'));}var _0x537f71=_0x136154['query'][_0x9523('0x92')]?_0x136154[_0x9523('0x33')]['hostname']+':'+_0x136154[_0x9523('0x33')][_0x9523('0x90')]:_0x9523('0x93')+_0x136154[_0x9523('0x33')][_0x9523('0x90')];var _0x17bcd1=_0x136154[_0x9523('0x33')][_0x9523('0x20')]?_0x136154[_0x9523('0x33')][_0x9523('0x20')]:!![];var _0x22c195=_0x136154['query'][_0x9523('0x94')]?_0x136154['query'][_0x9523('0x94')]:null;var _0x21cc55={'method':_0x136154[_0x9523('0x95')],'uri':util[_0x9523('0x96')]('%s%s',_0x537f71,_0x136154[_0x9523('0x33')][_0x9523('0x8')]),'json':_0x17bcd1,'resolveWithFullResponse':!![],'encoding':_0x22c195,'qs':_0x136154[_0x9523('0x33')]};if(_0x136154['headers']){_0x21cc55[_0x9523('0x97')]=_0x136154['headers'];if(_0x21cc55[_0x9523('0x97')]['content-length']){delete _0x21cc55[_0x9523('0x97')][_0x9523('0x98')];}}if(_0x21cc55['headers'][_0x9523('0x99')]){delete _0x21cc55[_0x9523('0x97')][_0x9523('0x99')];}return rp(_0x21cc55);})[_0x9523('0x27')](function(_0x279137){if(_0x279137){_0x151793['set'](_0x279137[_0x9523('0x97')]);logger['info'](_0x279137['body']);if(_['endsWith'](_0x136154['query']['path'],'download')&&_0x279137[_0x9523('0x9a')]==0x1f4){return _0x151793['sendStatus'](_0x279137[_0x9523('0x9a')]);}else{return _0x151793['status'](_0x279137['statusCode'])[_0x9523('0x2c')](_0x279137[_0x9523('0x9b')]);}}else{return _0x151793[_0x9523('0x2a')](0xc8);}})[_0x9523('0x44')](handleError(_0x151793,null));};exports['webhookPost']=function(_0x53cf4f,_0x37b8d4,_0xcbe83){return BPromise['resolve']()[_0x9523('0x27')](function(){if(!_0x53cf4f['query'][_0x9523('0x8')]){throw new Error(_0x9523('0x8f'));}if(!_0x53cf4f[_0x9523('0x33')]['port']){throw new Error(_0x9523('0x91'));}var _0x45afef=_0x53cf4f[_0x9523('0x33')][_0x9523('0x92')]?_0x53cf4f[_0x9523('0x33')][_0x9523('0x92')]+':'+_0x53cf4f[_0x9523('0x33')]['port']:'http://localhost:'+_0x53cf4f[_0x9523('0x33')][_0x9523('0x90')];var _0x5c4d50=_0x53cf4f['query'][_0x9523('0x20')]?_0x53cf4f['query'][_0x9523('0x20')]:!![];var _0xac257d=_0x53cf4f[_0x9523('0x33')][_0x9523('0x94')]?_0x53cf4f[_0x9523('0x33')][_0x9523('0x94')]:null;var _0x1f14fd={'method':_0x53cf4f['method'],'uri':util[_0x9523('0x96')](_0x9523('0x9c'),_0x45afef,_0x53cf4f['query'][_0x9523('0x8')]),'json':_0x5c4d50,'resolveWithFullResponse':!![],'encoding':_0xac257d,'body':_0x53cf4f[_0x9523('0x9b')]};if(_0x53cf4f[_0x9523('0x97')]){_0x1f14fd[_0x9523('0x97')]=_0x53cf4f['headers'];if(_0x1f14fd[_0x9523('0x97')]['content-length']){delete _0x1f14fd[_0x9523('0x97')][_0x9523('0x98')];}}if(_0x1f14fd[_0x9523('0x97')][_0x9523('0x99')]){delete _0x1f14fd[_0x9523('0x97')][_0x9523('0x99')];}return rp(_0x1f14fd);})[_0x9523('0x27')](function(_0x1782ff){if(_0x1782ff){_0x37b8d4[_0x9523('0x24')](_0x1782ff[_0x9523('0x97')]);logger[_0x9523('0x5d')](_0x1782ff[_0x9523('0x9b')]);return _0x37b8d4[_0x9523('0x1e')](_0x1782ff[_0x9523('0x9a')])[_0x9523('0x2c')](_0x1782ff['body']);}else{return _0x37b8d4[_0x9523('0x2a')](0xc8);}})[_0x9523('0x44')](handleError(_0x37b8d4,null));}; \ No newline at end of file +var _0x6f04=['Invalid\x20manifest:\x20type\x20missing','version','Invalid\x20manifest:\x20version\x20not\x20specified','parameters','Invalid\x20manifest:\x20views\x20missing','scriptName','Invalid\x20manifest:\x20script\x20name\x20missing','scriptPath','Invalid\x20manifest:\x20script\x20path\x20missing','Invalid\x20manifest:\x20invalid\x20type','description','sidebar','icon','icon-apps','views','admin','plugins','Warning:\x20admin\x20view\x20not\x20specified','agent','test','create','body','role','Unable\x20to\x20retrieve\x20the\x20current\x20user','user','UserProfileSection','userProfileId','autoAssociation','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','Zip\x20archive\x20removed','Extracted\x20folder\x20removed','delete','webhookGet','\x27PATH\x27\x20parameter\x20not\x20specified','port','\x27PORT\x27\x20parameter\x20not\x20specified','hostname','encoding','method','%s%s','headers','content-length','content-type','endsWith','statusCode','webhookPost','resolve','http://localhost:','html-pdf','rimraf','fast-json-patch','request-promise','moment','bluebird','mustache','util','sox','to-csv','lodash','squel','jsforce','desk.js','archiver','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','defaults','redis','socket.io-emitter','register','sendStatus','status','end','json','count','offset','limit','set','Content-Range','apply','save','update','then','destroy','get','Plugins','UserProfileResource','error','stack','name','send','index','map','Plugin','rawAttributes','fieldName','type','model','query','filters','intersection','fields','attributes','hasOwnProperty','nolimit','sort','where','pick','filter','merge','options','includeAll','include','findAll','rows','catch','show','params','keys','find','join','root','server/files/plugins','format','path','createWriteStream','zip','warning','Error','Error\x20while\x20generating\x20the\x20zip\x20archive','Sequelize','pipe','**/*','dirname','basename','node_modules/**/*','attachments/**/*','finalize','close','Plugin\x20not\x20found','download','%s.zip','Error\x20while\x20downloading\x20the\x20plugin','info','Temporary\x20file\x20removed','upload','file','extname','filename','Plugin\x20upload\x20filepath:\x20%s','chmodSync','0777','readdirSync','length','Invalid\x20plugin\x20structure','lstatSync','isDirectory','some','manifest.json','readFileSync','parse','undefined','Invalid\x20manifest:\x20name\x20missing'];(function(_0x108875,_0x475993){var _0x25a0d8=function(_0x52fcf4){while(--_0x52fcf4){_0x108875['push'](_0x108875['shift']());}};_0x25a0d8(++_0x475993);}(_0x6f04,0x182));var _0x46f0=function(_0x2ebb87,_0x3d4de6){_0x2ebb87=_0x2ebb87-0x0;var _0x4a63d7=_0x6f04[_0x2ebb87];return _0x4a63d7;};'use strict';var pdf=require(_0x46f0('0x0'));var emlformat=require('eml-format');var rimraf=require(_0x46f0('0x1'));var zipdir=require('zip-dir');var jsonpatch=require(_0x46f0('0x2'));var rp=require(_0x46f0('0x3'));var moment=require(_0x46f0('0x4'));var BPromise=require(_0x46f0('0x5'));var Mustache=require(_0x46f0('0x6'));var util=require(_0x46f0('0x7'));var path=require('path');var sox=require(_0x46f0('0x8'));var csv=require(_0x46f0('0x9'));var ejs=require('ejs');var fs=require('fs');var _=require(_0x46f0('0xa'));var squel=require(_0x46f0('0xb'));var crypto=require('crypto');var jsforce=require(_0x46f0('0xc'));var deskjs=require(_0x46f0('0xd'));var toCsv=require(_0x46f0('0x9'));var querystring=require('querystring');var Papa=require('papaparse');var extract=require('extract-zip');var rimraf=require(_0x46f0('0x1'));var archiver=require(_0x46f0('0xe'));var Redis=require(_0x46f0('0xf'));var authService=require(_0x46f0('0x10'));var qs=require(_0x46f0('0x11'));var as=require(_0x46f0('0x12'));var hardwareService=require('../../config/license/hardware');var logger=require(_0x46f0('0x13'))(_0x46f0('0x14'));var utils=require(_0x46f0('0x15'));var config=require(_0x46f0('0x16'));var db=require(_0x46f0('0x17'))['db'];config['redis']=_[_0x46f0('0x18')](config[_0x46f0('0x19')],{'host':'localhost','port':0x18eb});var socket=require(_0x46f0('0x1a'))(new Redis(config[_0x46f0('0x19')]));require('./plugin.socket')[_0x46f0('0x1b')](socket);function respondWithStatusCode(_0x299063,_0x1c4058){_0x1c4058=_0x1c4058||0xcc;return function(_0x519563){if(_0x519563){return _0x299063[_0x46f0('0x1c')](_0x1c4058);}return _0x299063[_0x46f0('0x1d')](_0x1c4058)[_0x46f0('0x1e')]();};}function respondWithResult(_0x548569,_0x3e4b0f){_0x3e4b0f=_0x3e4b0f||0xc8;return function(_0x593ac9){if(_0x593ac9){return _0x548569[_0x46f0('0x1d')](_0x3e4b0f)[_0x46f0('0x1f')](_0x593ac9);}};}function respondWithFilteredResult(_0x2a510c,_0x510214){return function(_0x58f6cd){if(_0x58f6cd){var _0x37e11b=_0x58f6cd[_0x46f0('0x20')],_0x2d7a01=_0x510214[_0x46f0('0x21')],_0x2b4494=_0x510214[_0x46f0('0x21')]+_0x510214[_0x46f0('0x22')],_0x465da8;if(_0x2b4494>=_0x37e11b){_0x2b4494=_0x37e11b;_0x465da8=0xc8;}else{_0x465da8=0xce;}_0x2a510c[_0x46f0('0x1d')](_0x465da8);return _0x2a510c[_0x46f0('0x23')](_0x46f0('0x24'),_0x2d7a01+'-'+_0x2b4494+'/'+_0x37e11b)[_0x46f0('0x1f')](_0x58f6cd);}return null;};}function patchUpdates(_0x42a670){return function(_0x27e3a7){try{jsonpatch[_0x46f0('0x25')](_0x27e3a7,_0x42a670,!![]);}catch(_0x43a3e5){return BPromise['reject'](_0x43a3e5);}return _0x27e3a7[_0x46f0('0x26')]();};}function saveUpdates(_0x2f8095,_0x176d6b){return function(_0x23d38f){if(_0x23d38f){return _0x23d38f[_0x46f0('0x27')](_0x2f8095)[_0x46f0('0x28')](function(_0x480989){return _0x480989;});}return null;};}function removeEntity(_0x227281,_0x4311a3){return function(_0x13de10){if(_0x13de10){return _0x13de10[_0x46f0('0x29')]()[_0x46f0('0x28')](function(){var _0x4de383=_0x13de10[_0x46f0('0x2a')]({'plain':!![]});var _0x49d3af=_0x46f0('0x2b');return db[_0x46f0('0x2c')][_0x46f0('0x29')]({'where':{'type':_0x49d3af,'resourceId':_0x4de383['id']}})[_0x46f0('0x28')](function(){return _0x13de10;});})[_0x46f0('0x28')](function(){_0x227281['status'](0xcc)[_0x46f0('0x1e')]();});}};}function handleEntityNotFound(_0x49b251,_0x517478){return function(_0xa3b202){if(!_0xa3b202){_0x49b251['sendStatus'](0x194);}return _0xa3b202;};}function handleError(_0x1f27f1,_0x352f12){_0x352f12=_0x352f12||0x1f4;return function(_0x3eb523){logger[_0x46f0('0x2d')](_0x3eb523[_0x46f0('0x2e')]);if(_0x3eb523['name']){delete _0x3eb523[_0x46f0('0x2f')];}_0x1f27f1[_0x46f0('0x1d')](_0x352f12)[_0x46f0('0x30')](_0x3eb523);};}exports[_0x46f0('0x31')]=function(_0x1e3417,_0xf39b9b){var _0x5048c3={},_0x485f69={},_0x2522a4={'count':0x0,'rows':[]};var _0x109daf=_[_0x46f0('0x32')](db[_0x46f0('0x33')][_0x46f0('0x34')],function(_0x27b064){return{'name':_0x27b064[_0x46f0('0x35')],'type':_0x27b064[_0x46f0('0x36')]['key']};});_0x485f69[_0x46f0('0x37')]=_['map'](_0x109daf,'name');_0x485f69[_0x46f0('0x38')]=_['keys'](_0x1e3417[_0x46f0('0x38')]);_0x485f69[_0x46f0('0x39')]=_[_0x46f0('0x3a')](_0x485f69[_0x46f0('0x37')],_0x485f69[_0x46f0('0x38')]);_0x5048c3['attributes']=_[_0x46f0('0x3a')](_0x485f69[_0x46f0('0x37')],qs[_0x46f0('0x3b')](_0x1e3417['query']['fields']));_0x5048c3['attributes']=_0x5048c3['attributes']['length']?_0x5048c3[_0x46f0('0x3c')]:_0x485f69['model'];if(!_0x1e3417['query'][_0x46f0('0x3d')](_0x46f0('0x3e'))){_0x5048c3[_0x46f0('0x22')]=qs[_0x46f0('0x22')](_0x1e3417[_0x46f0('0x38')]['limit']);_0x5048c3[_0x46f0('0x21')]=qs[_0x46f0('0x21')](_0x1e3417[_0x46f0('0x38')]['offset']);}_0x5048c3['order']=qs[_0x46f0('0x3f')](_0x1e3417[_0x46f0('0x38')][_0x46f0('0x3f')]);_0x5048c3[_0x46f0('0x40')]=qs[_0x46f0('0x39')](_[_0x46f0('0x41')](_0x1e3417[_0x46f0('0x38')],_0x485f69[_0x46f0('0x39')]),_0x109daf);if(_0x1e3417['query'][_0x46f0('0x42')]){_0x5048c3[_0x46f0('0x40')]=_[_0x46f0('0x43')](_0x5048c3[_0x46f0('0x40')],{'$or':_[_0x46f0('0x32')](_0x109daf,function(_0x3e571b){if(_0x3e571b[_0x46f0('0x36')]!=='VIRTUAL'){var _0x107f55={};_0x107f55[_0x3e571b[_0x46f0('0x2f')]]={'$like':'%'+_0x1e3417[_0x46f0('0x38')][_0x46f0('0x42')]+'%'};return _0x107f55;}})});}_0x5048c3=_['merge']({},_0x5048c3,_0x1e3417[_0x46f0('0x44')]);var _0x447d3b={'where':_0x5048c3[_0x46f0('0x40')]};return db[_0x46f0('0x33')][_0x46f0('0x20')](_0x447d3b)[_0x46f0('0x28')](function(_0x8c2103){_0x2522a4[_0x46f0('0x20')]=_0x8c2103;if(_0x1e3417[_0x46f0('0x38')][_0x46f0('0x45')]){_0x5048c3[_0x46f0('0x46')]=[{'all':!![]}];}return db[_0x46f0('0x33')][_0x46f0('0x47')](_0x5048c3);})[_0x46f0('0x28')](function(_0x3c1b83){_0x2522a4[_0x46f0('0x48')]=_0x3c1b83;return _0x2522a4;})[_0x46f0('0x28')](respondWithFilteredResult(_0xf39b9b,_0x5048c3))[_0x46f0('0x49')](handleError(_0xf39b9b,null));};exports[_0x46f0('0x4a')]=function(_0x37cfe2,_0x5b101c){var _0x2d0c36={'raw':!![],'where':{'id':_0x37cfe2[_0x46f0('0x4b')]['id']}},_0x2494a2={};_0x2494a2['model']=_[_0x46f0('0x4c')](db[_0x46f0('0x33')]['rawAttributes']);_0x2494a2[_0x46f0('0x38')]=_[_0x46f0('0x4c')](_0x37cfe2[_0x46f0('0x38')]);_0x2494a2[_0x46f0('0x39')]=_[_0x46f0('0x3a')](_0x2494a2[_0x46f0('0x37')],_0x2494a2[_0x46f0('0x38')]);_0x2d0c36[_0x46f0('0x3c')]=_[_0x46f0('0x3a')](_0x2494a2[_0x46f0('0x37')],qs[_0x46f0('0x3b')](_0x37cfe2[_0x46f0('0x38')]['fields']));_0x2d0c36[_0x46f0('0x3c')]=_0x2d0c36[_0x46f0('0x3c')]['length']?_0x2d0c36[_0x46f0('0x3c')]:_0x2494a2[_0x46f0('0x37')];if(_0x37cfe2[_0x46f0('0x38')][_0x46f0('0x45')]){_0x2d0c36[_0x46f0('0x46')]=[{'all':!![]}];}_0x2d0c36=_['merge']({},_0x2d0c36,_0x37cfe2[_0x46f0('0x44')]);return db[_0x46f0('0x33')][_0x46f0('0x4d')](_0x2d0c36)[_0x46f0('0x28')](handleEntityNotFound(_0x5b101c,null))[_0x46f0('0x28')](respondWithResult(_0x5b101c,null))[_0x46f0('0x49')](handleError(_0x5b101c,null));};exports['download']=function(_0x31e251,_0x114e5b,_0xdc001){return db[_0x46f0('0x33')][_0x46f0('0x4d')]({'where':{'id':_0x31e251[_0x46f0('0x4b')]['id']},'attributes':[_0x46f0('0x2f'),'path'],'raw':!![]})['then'](handleEntityNotFound(_0x114e5b,null))[_0x46f0('0x28')](function(_0x4f057d){if(_0x4f057d){var _0x5905ea=path[_0x46f0('0x4e')](config[_0x46f0('0x4f')],_0x46f0('0x50'),util[_0x46f0('0x51')]('%s.zip',path['basename'](_0x4f057d[_0x46f0('0x52')])));var _0x68809a=fs[_0x46f0('0x53')](_0x5905ea);var _0x16523b=archiver(_0x46f0('0x54'),{'zlib':{'level':0x9}});_0x16523b['on'](_0x46f0('0x55'),function(_0x5f36ef){if(_0x5f36ef['code']==='ENOENT'){logger[_0x46f0('0x2d')](_0x5f36ef);}else{throw new db['Sequelize'][(_0x46f0('0x56'))](_0x46f0('0x57'));}});_0x16523b['on'](_0x46f0('0x2d'),function(_0x16f085){throw new db[(_0x46f0('0x58'))][(_0x46f0('0x56'))](_0x46f0('0x57'));});_0x16523b[_0x46f0('0x59')](_0x68809a);_0x16523b['glob'](_0x46f0('0x5a'),{'cwd':path[_0x46f0('0x4e')](config['root'],_0x46f0('0x50'),path[_0x46f0('0x5b')](_0x4f057d[_0x46f0('0x52')])),'ignore':[path[_0x46f0('0x4e')](path[_0x46f0('0x5c')](_0x4f057d[_0x46f0('0x52')]),_0x46f0('0x5d')),path[_0x46f0('0x4e')](path[_0x46f0('0x5c')](_0x4f057d[_0x46f0('0x52')]),_0x46f0('0x5e'))],'nodir':!![]})[_0x46f0('0x5f')]();_0x68809a['on'](_0x46f0('0x60'),function(){if(!fs['existsSync'](_0x5905ea)){throw new db['Sequelize'][(_0x46f0('0x56'))](_0x46f0('0x61'));}return _0x114e5b[_0x46f0('0x62')](_0x5905ea,util[_0x46f0('0x51')](_0x46f0('0x63'),path[_0x46f0('0x5c')](_0x4f057d[_0x46f0('0x52')])),function(_0x5de5c1){if(_0x5de5c1){throw new db[(_0x46f0('0x58'))][(_0x46f0('0x56'))](_0x46f0('0x64'));}fs['unlinkSync'](_0x5905ea);logger[_0x46f0('0x65')]('Download\x20completed');logger['info'](_0x46f0('0x66'));});});}return null;})[_0x46f0('0x49')](handleError(_0x114e5b,null));};exports[_0x46f0('0x67')]=function(_0x250c74,_0x5208d3,_0x180473){var _0x3352cb=path[_0x46f0('0x5c')](_0x250c74[_0x46f0('0x68')]['filename'],path[_0x46f0('0x69')](_0x250c74[_0x46f0('0x68')][_0x46f0('0x6a')]));var _0x5af1bd=path[_0x46f0('0x4e')](config[_0x46f0('0x4f')],_0x46f0('0x50'),_0x250c74[_0x46f0('0x68')]['filename']);var _0x2a10b5=path[_0x46f0('0x4e')](config['root'],'server/files/plugins',_0x3352cb);logger[_0x46f0('0x65')](_0x46f0('0x6b'),_0x5af1bd);logger[_0x46f0('0x65')]('Plugin\x20upload\x20destination:\x20%s',_0x2a10b5);try{fs[_0x46f0('0x6c')](_0x5af1bd,parseInt(_0x46f0('0x6d'),0x8));extract(_0x5af1bd,{'dir':_0x2a10b5},function(_0xcb3a85){if(_0xcb3a85){logger[_0x46f0('0x2d')](_0xcb3a85);handleError(_0xcb3a85,!![]);};var _0x1dfc97=fs[_0x46f0('0x6e')](_0x2a10b5);if(_0x1dfc97[_0x46f0('0x6f')]>0x1){removeReferences(_0x5af1bd,_0x2a10b5);logger[_0x46f0('0x2d')](_0x46f0('0x70'));return _0x180473(new Error(_0x46f0('0x70')));}var _0x154ba2=fs[_0x46f0('0x71')](path['join'](_0x2a10b5,_0x1dfc97[0x0]));if(_0x154ba2['isFile']()){removeReferences(_0x5af1bd,_0x2a10b5);logger[_0x46f0('0x2d')]('Invalid\x20plugin\x20structure');return _0x180473(new Error(_0x46f0('0x70')));}if(_0x154ba2[_0x46f0('0x72')]()){var _0x1cb1b7=fs[_0x46f0('0x6e')](path[_0x46f0('0x4e')](_0x2a10b5,_0x1dfc97[0x0]));if(_0x1cb1b7[_0x46f0('0x6f')]===0x0){removeReferences(_0x5af1bd,_0x2a10b5);logger[_0x46f0('0x2d')]('Invalid\x20plugin\x20structure');return _0x180473(new Error(_0x46f0('0x70')));}var _0x5540b7=_0x1cb1b7[_0x46f0('0x73')](function(_0x3e3e2b){return _0x3e3e2b===_0x46f0('0x74');});if(!_0x5540b7){return _0x180473(new Error('Plugin\x20manifest\x20missing'));}var _0x57dd89=fs[_0x46f0('0x75')](path[_0x46f0('0x4e')](_0x2a10b5,_0x1dfc97[0x0],_0x46f0('0x74')));var _0x27c137=JSON[_0x46f0('0x76')](_0x57dd89);if(_0x46f0('0x77')==typeof _0x27c137['name']){return _0x180473(new Error(_0x46f0('0x78')));}if(_0x46f0('0x77')==typeof _0x27c137[_0x46f0('0x36')]){return _0x180473(new Error(_0x46f0('0x79')));}if(_0x46f0('0x77')==typeof _0x27c137[_0x46f0('0x7a')]){return _0x180473(new Error(_0x46f0('0x7b')));}if(_0x46f0('0x77')==typeof _0x27c137[_0x46f0('0x7c')]){return _0x180473(new Error('Invalid\x20manifest:\x20parameters\x20missing'));}if(_0x27c137[_0x46f0('0x36')]==='html'){if(_0x46f0('0x77')==typeof _0x27c137['parameters']['views']){return _0x180473(new Error(_0x46f0('0x7d')));}if('undefined'==typeof _0x27c137[_0x46f0('0x7c')]['views']['admin']&&_0x46f0('0x77')==typeof _0x27c137[_0x46f0('0x7c')]['views']['agent']){return _0x180473(new Error('Invalid\x20manifest:\x20no\x20view\x20specified'));}}else if(_0x27c137[_0x46f0('0x36')]==='script'){if(_0x46f0('0x77')==typeof _0x27c137[_0x46f0('0x7c')][_0x46f0('0x7e')]){return _0x180473(new Error(_0x46f0('0x7f')));}if('undefined'==typeof _0x27c137[_0x46f0('0x7c')][_0x46f0('0x80')]){return _0x180473(new Error(_0x46f0('0x81')));}}else{return _0x180473(new Error(_0x46f0('0x82')));}var _0x5a5a2e=_0x27c137[_0x46f0('0x2f')];var _0xa12b8f=_0x27c137[_0x46f0('0x83')];var _0x14bf2d=_0x27c137[_0x46f0('0x36')];var _0x5cb368=_0x27c137['sidebar']?_0x27c137[_0x46f0('0x84')]:'always';var _0x3fb4fd=_0x27c137[_0x46f0('0x85')]?_0x27c137[_0x46f0('0x85')]:_0x46f0('0x86');var _0x552d59='';var _0x245074='';var _0xc159e3='';var _0x4fc7ab='';var _0xb62ce4=_0x27c137[_0x46f0('0x7a')];if(_0x14bf2d==='html'){if(_0x46f0('0x77')!=typeof _0x27c137[_0x46f0('0x7c')][_0x46f0('0x87')][_0x46f0('0x88')]){var _0xa63da2=_0x27c137[_0x46f0('0x7c')][_0x46f0('0x87')]['admin'];if(!/^(f|ht)tps?:\/\//i['test'](_0xa63da2)){_0x552d59=path[_0x46f0('0x4e')](_0x46f0('0x89'),_0x3352cb,_0x1dfc97[0x0],_0xa63da2);}else{_0x552d59=_0xa63da2;}}else{logger[_0x46f0('0x65')](_0x46f0('0x8a'));}if(_0x46f0('0x77')!=typeof _0x27c137['parameters'][_0x46f0('0x87')][_0x46f0('0x8b')]){var _0x462f4f=_0x27c137[_0x46f0('0x7c')][_0x46f0('0x87')][_0x46f0('0x8b')];if(!/^(f|ht)tps?:\/\//i[_0x46f0('0x8c')](_0x462f4f)){_0x245074=path[_0x46f0('0x4e')]('plugins',_0x3352cb,_0x1dfc97[0x0],_0x462f4f);}else{_0x245074=_0x462f4f;}}else{logger[_0x46f0('0x65')]('Warning:\x20agent\x20view\x20not\x20specified');}}else if(_0x14bf2d==='script'){_0xc159e3=_0x27c137[_0x46f0('0x7c')]['scriptName'];_0x4fc7ab=_0x27c137[_0x46f0('0x7c')]['scriptPath'];if(_0x46f0('0x77')!=typeof _0x27c137[_0x46f0('0x7c')][_0x46f0('0x87')]){if(_0x46f0('0x77')!=typeof _0x27c137[_0x46f0('0x7c')]['views'][_0x46f0('0x88')]){var _0xa63da2=_0x27c137[_0x46f0('0x7c')]['views']['admin'];if(!/^(f|ht)tps?:\/\//i[_0x46f0('0x8c')](_0xa63da2)){_0x552d59=path['join'](_0x46f0('0x89'),_0x3352cb,_0x1dfc97[0x0],_0xa63da2);}else{_0x552d59=_0xa63da2;}}if('undefined'!=typeof _0x27c137[_0x46f0('0x7c')][_0x46f0('0x87')][_0x46f0('0x8b')]){var _0x462f4f=_0x27c137['parameters'][_0x46f0('0x87')]['agent'];if(!/^(f|ht)tps?:\/\//i[_0x46f0('0x8c')](_0x462f4f)){_0x245074=path['join'](_0x46f0('0x89'),_0x3352cb,_0x1dfc97[0x0],_0x462f4f);}else{_0x245074=_0x462f4f;}}}}var _0x1cd571={'name':_0x5a5a2e,'description':_0xa12b8f,'path':path['join'](_0x3352cb,_0x1dfc97[0x0]),'type':_0x14bf2d,'sidebar':_0x5cb368,'icon':_0x3fb4fd,'adminUrl':_0x552d59,'agentUrl':_0x245074,'scriptName':_0xc159e3,'scriptPath':_0x4fc7ab,'version':_0xb62ce4};removeReferences(_0x5af1bd,null);return db['Plugin'][_0x46f0('0x8d')](_0x1cd571)[_0x46f0('0x28')](function(_0x21a513){var _0x2c150b={'role':_0x250c74[_0x46f0('0x8e')][_0x46f0('0x8f')],'userProfileId':_0x250c74[_0x46f0('0x8e')]['userProfileId']};if(!_0x2c150b)throw new Error(_0x46f0('0x90'));if(_0x2c150b['role']===_0x46f0('0x91')){var _0x5cde44=_0x21a513[_0x46f0('0x2a')]({'plain':!![]});return db[_0x46f0('0x92')][_0x46f0('0x4d')]({'where':{'name':_0x46f0('0x2b'),'userProfileId':_0x2c150b[_0x46f0('0x93')]},'raw':!![]})['then'](function(_0x4959a1){if(_0x4959a1&&_0x4959a1[_0x46f0('0x94')]===0x0){return db[_0x46f0('0x2c')][_0x46f0('0x8d')]({'name':_0x5cde44[_0x46f0('0x2f')],'resourceId':_0x5cde44['id'],'type':_0x4959a1['name'],'sectionId':_0x4959a1['id']},{})[_0x46f0('0x28')](function(){return _0x21a513;});}else{return _0x21a513;}})[_0x46f0('0x49')](function(_0x496231){logger[_0x46f0('0x2d')](_0x46f0('0x95'),_0x496231);throw _0x496231;});}return _0x21a513;})[_0x46f0('0x28')](respondWithResult(_0x5208d3,null))[_0x46f0('0x49')](handleError(_0x5208d3,null));}});}catch(_0x5f8848){_0x5208d3[_0x46f0('0x1d')](0x1f4)[_0x46f0('0x30')](_0x5f8848);}};function removeReferences(_0x553ef2,_0x41792d){try{if(_0x553ef2){fs['unlinkSync'](_0x553ef2);logger[_0x46f0('0x65')](_0x46f0('0x96'));}if(_0x41792d){rimraf(_0x41792d,function(){});logger[_0x46f0('0x65')](_0x46f0('0x97'));}}catch(_0x38a8fc){logger[_0x46f0('0x2d')](_0x38a8fc);}}exports[_0x46f0('0x27')]=function(_0x812e68,_0xe73873,_0x5c4d69){return db['Plugin']['find']({'where':{'id':_0x812e68[_0x46f0('0x4b')]['id']}})[_0x46f0('0x28')](handleEntityNotFound(_0xe73873,null))['then'](saveUpdates(_0x812e68[_0x46f0('0x8e')],null))[_0x46f0('0x28')](respondWithResult(_0xe73873,null))[_0x46f0('0x49')](handleError(_0xe73873,null));};exports[_0x46f0('0x98')]=function(_0x707cc7,_0x4d8a57,_0x54681b){return db['Plugin'][_0x46f0('0x4d')]({'where':{'id':_0x707cc7[_0x46f0('0x4b')]['id']}})[_0x46f0('0x28')](function(_0x418b80){if(_0x418b80){return _0x418b80[_0x46f0('0x29')]();}})[_0x46f0('0x28')](function(_0x13164b){rimraf(path[_0x46f0('0x4e')](config[_0x46f0('0x4f')],_0x46f0('0x50'),path[_0x46f0('0x5b')](_0x13164b[_0x46f0('0x52')])),function(){});return _0x13164b;})[_0x46f0('0x28')](handleEntityNotFound(_0x4d8a57,null))[_0x46f0('0x28')](respondWithStatusCode(_0x4d8a57,null))['catch'](handleError(_0x4d8a57,null));};exports[_0x46f0('0x99')]=function(_0x5baf70,_0x3e1804,_0x29ac3b){return BPromise['resolve']()[_0x46f0('0x28')](function(){if(!_0x5baf70['query']['path']){throw new Error(_0x46f0('0x9a'));}if(!_0x5baf70[_0x46f0('0x38')][_0x46f0('0x9b')]){throw new Error(_0x46f0('0x9c'));}var _0x1aab25=_0x5baf70['query']['hostname']?_0x5baf70[_0x46f0('0x38')][_0x46f0('0x9d')]+':'+_0x5baf70[_0x46f0('0x38')][_0x46f0('0x9b')]:'http://localhost:'+_0x5baf70['query']['port'];var _0x374273=_0x5baf70['query']['json']?_0x5baf70[_0x46f0('0x38')][_0x46f0('0x1f')]:!![];var _0x6859dd=_0x5baf70[_0x46f0('0x38')][_0x46f0('0x9e')]?_0x5baf70[_0x46f0('0x38')][_0x46f0('0x9e')]:null;var _0x5ca6b3={'method':_0x5baf70[_0x46f0('0x9f')],'uri':util[_0x46f0('0x51')](_0x46f0('0xa0'),_0x1aab25,_0x5baf70['query'][_0x46f0('0x52')]),'json':_0x374273,'resolveWithFullResponse':!![],'encoding':_0x6859dd,'qs':_0x5baf70['query']};if(_0x5baf70['headers']){_0x5ca6b3[_0x46f0('0xa1')]=_0x5baf70['headers'];if(_0x5ca6b3['headers'][_0x46f0('0xa2')]){delete _0x5ca6b3[_0x46f0('0xa1')][_0x46f0('0xa2')];}}if(_0x5ca6b3[_0x46f0('0xa1')][_0x46f0('0xa3')]){delete _0x5ca6b3[_0x46f0('0xa1')][_0x46f0('0xa3')];}return rp(_0x5ca6b3);})[_0x46f0('0x28')](function(_0x301b70){if(_0x301b70){_0x3e1804[_0x46f0('0x23')](_0x301b70[_0x46f0('0xa1')]);logger[_0x46f0('0x65')](_0x301b70[_0x46f0('0x8e')]);if(_[_0x46f0('0xa4')](_0x5baf70[_0x46f0('0x38')]['path'],'download')&&_0x301b70[_0x46f0('0xa5')]==0x1f4){return _0x3e1804[_0x46f0('0x1c')](_0x301b70[_0x46f0('0xa5')]);}else{return _0x3e1804[_0x46f0('0x1d')](_0x301b70[_0x46f0('0xa5')])['send'](_0x301b70[_0x46f0('0x8e')]);}}else{return _0x3e1804['sendStatus'](0xc8);}})[_0x46f0('0x49')](handleError(_0x3e1804,null));};exports[_0x46f0('0xa6')]=function(_0x4828c5,_0x1ff7ed,_0x2ad69a){return BPromise[_0x46f0('0xa7')]()[_0x46f0('0x28')](function(){if(!_0x4828c5[_0x46f0('0x38')]['path']){throw new Error(_0x46f0('0x9a'));}if(!_0x4828c5['query']['port']){throw new Error(_0x46f0('0x9c'));}var _0x19c1c0=_0x4828c5['query'][_0x46f0('0x9d')]?_0x4828c5[_0x46f0('0x38')]['hostname']+':'+_0x4828c5[_0x46f0('0x38')][_0x46f0('0x9b')]:_0x46f0('0xa8')+_0x4828c5['query']['port'];var _0x9fd21=_0x4828c5[_0x46f0('0x38')]['json']?_0x4828c5[_0x46f0('0x38')][_0x46f0('0x1f')]:!![];var _0x316fb7=_0x4828c5[_0x46f0('0x38')][_0x46f0('0x9e')]?_0x4828c5[_0x46f0('0x38')]['encoding']:null;var _0x55fd33={'method':_0x4828c5[_0x46f0('0x9f')],'uri':util[_0x46f0('0x51')]('%s%s',_0x19c1c0,_0x4828c5[_0x46f0('0x38')]['path']),'json':_0x9fd21,'resolveWithFullResponse':!![],'encoding':_0x316fb7,'body':_0x4828c5[_0x46f0('0x8e')]};if(_0x4828c5[_0x46f0('0xa1')]){_0x55fd33[_0x46f0('0xa1')]=_0x4828c5[_0x46f0('0xa1')];if(_0x55fd33[_0x46f0('0xa1')][_0x46f0('0xa2')]){delete _0x55fd33['headers'][_0x46f0('0xa2')];}}if(_0x55fd33[_0x46f0('0xa1')][_0x46f0('0xa3')]){delete _0x55fd33['headers'][_0x46f0('0xa3')];}return rp(_0x55fd33);})[_0x46f0('0x28')](function(_0x4c7b1f){if(_0x4c7b1f){_0x1ff7ed[_0x46f0('0x23')](_0x4c7b1f[_0x46f0('0xa1')]);logger[_0x46f0('0x65')](_0x4c7b1f[_0x46f0('0x8e')]);return _0x1ff7ed[_0x46f0('0x1d')](_0x4c7b1f[_0x46f0('0xa5')])[_0x46f0('0x30')](_0x4c7b1f['body']);}else{return _0x1ff7ed[_0x46f0('0x1c')](0xc8);}})['catch'](handleError(_0x1ff7ed,null));}; \ No newline at end of file diff --git a/server/api/plugin/plugin.events.js b/server/api/plugin/plugin.events.js index adfa71f..3581fad 100644 --- a/server/api/plugin/plugin.events.js +++ b/server/api/plugin/plugin.events.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x25e7=['emit','exports','events','../../mysqldb','Plugin','setMaxListeners','save','update','remove'];(function(_0x4ae319,_0x543f77){var _0x469488=function(_0x3e7e55){while(--_0x3e7e55){_0x4ae319['push'](_0x4ae319['shift']());}};_0x469488(++_0x543f77);}(_0x25e7,0x1d6));var _0x725e=function(_0x485c12,_0x63ee16){_0x485c12=_0x485c12-0x0;var _0x5c87ad=_0x25e7[_0x485c12];return _0x5c87ad;};'use strict';var EventEmitter=require(_0x725e('0x0'));var Plugin=require(_0x725e('0x1'))['db'][_0x725e('0x2')];var PluginEvents=new EventEmitter();PluginEvents[_0x725e('0x3')](0x0);var events={'afterCreate':_0x725e('0x4'),'afterUpdate':_0x725e('0x5'),'afterDestroy':_0x725e('0x6')};function emitEvent(_0x339c77){return function(_0x3d7893,_0x3da706,_0x493364){PluginEvents['emit'](_0x339c77+':'+_0x3d7893['id'],_0x3d7893);PluginEvents[_0x725e('0x7')](_0x339c77,_0x3d7893);_0x493364(null);};}for(var e in events){if(events['hasOwnProperty'](e)){var event=events[e];Plugin['hook'](e,emitEvent(event));}}module[_0x725e('0x8')]=PluginEvents; \ No newline at end of file +var _0x958a=['update','remove','emit','hasOwnProperty','hook','exports','events','../../mysqldb','setMaxListeners','save'];(function(_0x16eb19,_0x58cea4){var _0x312a25=function(_0x343702){while(--_0x343702){_0x16eb19['push'](_0x16eb19['shift']());}};_0x312a25(++_0x58cea4);}(_0x958a,0x128));var _0xa958=function(_0x4ac5d5,_0x100f00){_0x4ac5d5=_0x4ac5d5-0x0;var _0x3ed65f=_0x958a[_0x4ac5d5];return _0x3ed65f;};'use strict';var EventEmitter=require(_0xa958('0x0'));var Plugin=require(_0xa958('0x1'))['db']['Plugin'];var PluginEvents=new EventEmitter();PluginEvents[_0xa958('0x2')](0x0);var events={'afterCreate':_0xa958('0x3'),'afterUpdate':_0xa958('0x4'),'afterDestroy':_0xa958('0x5')};function emitEvent(_0x30f7c5){return function(_0x5194f8,_0x3424b0,_0x578481){PluginEvents[_0xa958('0x6')](_0x30f7c5+':'+_0x5194f8['id'],_0x5194f8);PluginEvents[_0xa958('0x6')](_0x30f7c5,_0x5194f8);_0x578481(null);};}for(var e in events){if(events[_0xa958('0x7')](e)){var event=events[e];Plugin[_0xa958('0x8')](e,emitEvent(event));}}module[_0xa958('0x9')]=PluginEvents; \ No newline at end of file diff --git a/server/api/plugin/plugin.model.js b/server/api/plugin/plugin.model.js index 5436fa3..d8c70a4 100644 --- a/server/api/plugin/plugin.model.js +++ b/server/api/plugin/plugin.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x55ca=['./plugin.attributes','exports','define','plugins','lodash','util','bluebird','request-promise','rimraf','../../config/environment'];(function(_0x2c1dcd,_0x350452){var _0x158ce5=function(_0x5c1c57){while(--_0x5c1c57){_0x2c1dcd['push'](_0x2c1dcd['shift']());}};_0x158ce5(++_0x350452);}(_0x55ca,0x126));var _0xa55c=function(_0x1529a3,_0x529f63){_0x1529a3=_0x1529a3-0x0;var _0x1a0d4b=_0x55ca[_0x1529a3];return _0x1a0d4b;};'use strict';var _=require(_0xa55c('0x0'));var util=require(_0xa55c('0x1'));var logger=require('../../config/logger')('api');var moment=require('moment');var BPromise=require(_0xa55c('0x2'));var rp=require(_0xa55c('0x3'));var fs=require('fs');var path=require('path');var rimraf=require(_0xa55c('0x4'));var config=require(_0xa55c('0x5'));var attributes=require(_0xa55c('0x6'));module[_0xa55c('0x7')]=function(_0x3c97c8,_0x279caa){return _0x3c97c8[_0xa55c('0x8')]('Plugin',attributes,{'tableName':_0xa55c('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0xbd50=['util','../../config/logger','moment','bluebird','request-promise','path','rimraf','define','Plugin','plugins','lodash'];(function(_0x12a890,_0x4f3cb5){var _0x1a79ef=function(_0x5723f4){while(--_0x5723f4){_0x12a890['push'](_0x12a890['shift']());}};_0x1a79ef(++_0x4f3cb5);}(_0xbd50,0x196));var _0x0bd5=function(_0x36a64b,_0x3a1837){_0x36a64b=_0x36a64b-0x0;var _0x3a2c30=_0xbd50[_0x36a64b];return _0x3a2c30;};'use strict';var _=require(_0x0bd5('0x0'));var util=require(_0x0bd5('0x1'));var logger=require(_0x0bd5('0x2'))('api');var moment=require(_0x0bd5('0x3'));var BPromise=require(_0x0bd5('0x4'));var rp=require(_0x0bd5('0x5'));var fs=require('fs');var path=require(_0x0bd5('0x6'));var rimraf=require(_0x0bd5('0x7'));var config=require('../../config/environment');var attributes=require('./plugin.attributes');module['exports']=function(_0x376024,_0x2ef1d0){return _0x376024[_0x0bd5('0x8')](_0x0bd5('0x9'),attributes,{'tableName':_0x0bd5('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/plugin/plugin.rpc.js b/server/api/plugin/plugin.rpc.js index d4d8e62..c345799 100644 --- a/server/api/plugin/plugin.rpc.js +++ b/server/api/plugin/plugin.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x7cb5=['create','body','options','raw','CreatePlugin','lodash','util','bluebird','randomstring','../../config/utils','../../config/environment','client','http','redis','defaults','localhost','socket.io-emitter','./plugin.socket','register','then','info','Plugin,\x20%s,\x20%s','request\x20sent','debug','stringify','error','code','message','catch','Plugin'];(function(_0x4a1827,_0x17b524){var _0x252c76=function(_0x4f1d3c){while(--_0x4f1d3c){_0x4a1827['push'](_0x4a1827['shift']());}};_0x252c76(++_0x17b524);}(_0x7cb5,0x14f));var _0x57cb=function(_0x4a38f8,_0x1b5ff1){_0x4a38f8=_0x4a38f8-0x0;var _0xba039f=_0x7cb5[_0x4a38f8];return _0xba039f;};'use strict';var _=require(_0x57cb('0x0'));var util=require(_0x57cb('0x1'));var moment=require('moment');var BPromise=require(_0x57cb('0x2'));var rs=require(_0x57cb('0x3'));var fs=require('fs');var Redis=require('ioredis');var db=require('../../mysqldb')['db'];var utils=require(_0x57cb('0x4'));var logger=require('../../config/logger')('rpc');var config=require(_0x57cb('0x5'));var jayson=require('jayson/promise');var client=jayson[_0x57cb('0x6')][_0x57cb('0x7')]({'port':0x232a});config[_0x57cb('0x8')]=_[_0x57cb('0x9')](config[_0x57cb('0x8')],{'host':_0x57cb('0xa'),'port':0x18eb});var socket=require(_0x57cb('0xb'))(new Redis(config[_0x57cb('0x8')]));require(_0x57cb('0xc'))[_0x57cb('0xd')](socket);function respondWithRpcPromise(_0x4f732b,_0x4d4658,_0x6fa38c){return new BPromise(function(_0x2626ba,_0x4e063b){return client['request'](_0x4f732b,_0x6fa38c)[_0x57cb('0xe')](function(_0x16035d){logger[_0x57cb('0xf')](_0x57cb('0x10'),_0x4d4658,_0x57cb('0x11'));logger[_0x57cb('0x12')]('Plugin,\x20%s,\x20%s,\x20%s',_0x4d4658,_0x57cb('0x11'),JSON[_0x57cb('0x13')](_0x16035d));if(_0x16035d[_0x57cb('0x14')]){if(_0x16035d[_0x57cb('0x14')][_0x57cb('0x15')]===0x1f4){logger[_0x57cb('0x14')](_0x57cb('0x10'),_0x4d4658,_0x16035d[_0x57cb('0x14')]['message']);return _0x4e063b(_0x16035d[_0x57cb('0x14')][_0x57cb('0x16')]);}logger[_0x57cb('0x14')](_0x57cb('0x10'),_0x4d4658,_0x16035d[_0x57cb('0x14')][_0x57cb('0x16')]);return _0x2626ba(_0x16035d[_0x57cb('0x14')][_0x57cb('0x16')]);}else{logger[_0x57cb('0xf')](_0x57cb('0x10'),_0x4d4658,_0x57cb('0x11'));_0x2626ba(_0x16035d['result']['message']);}})[_0x57cb('0x17')](function(_0x911674){logger[_0x57cb('0x14')]('Plugin,\x20%s,\x20%s',_0x4d4658,_0x911674);_0x4e063b(_0x911674);});});}exports['CreatePlugin']=function(_0x1f68a6){var _0xa89d7c=this;return new Promise(function(_0x18ff57,_0x47cf2a){return db[_0x57cb('0x18')][_0x57cb('0x19')](_0x1f68a6[_0x57cb('0x1a')],{'raw':_0x1f68a6[_0x57cb('0x1b')]?_0x1f68a6['options'][_0x57cb('0x1c')]===undefined?!![]:![]:!![]})[_0x57cb('0xe')](function(_0x3ed887){logger['info'](_0x57cb('0x1d'),_0x1f68a6);logger['debug'](_0x57cb('0x1d'),_0x1f68a6,JSON[_0x57cb('0x13')](_0x3ed887));_0x18ff57(_0x3ed887);})[_0x57cb('0x17')](function(_0x346eb4){logger[_0x57cb('0x14')](_0x57cb('0x1d'),_0x346eb4['message'],_0x1f68a6);_0x47cf2a(_0xa89d7c[_0x57cb('0x14')](0x1f4,_0x346eb4[_0x57cb('0x16')]));});});}; \ No newline at end of file +var _0xe0c4=['randomstring','ioredis','../../config/utils','../../config/logger','rpc','jayson/promise','client','http','redis','defaults','localhost','socket.io-emitter','./plugin.socket','request','then','info','Plugin,\x20%s,\x20%s','request\x20sent','debug','Plugin,\x20%s,\x20%s,\x20%s','error','message','Plugin','body','options','raw','CreatePlugin','stringify','catch','lodash','util','moment'];(function(_0xf852,_0x4ddd76){var _0x5b2550=function(_0x4811b1){while(--_0x4811b1){_0xf852['push'](_0xf852['shift']());}};_0x5b2550(++_0x4ddd76);}(_0xe0c4,0x17d));var _0x4e0c=function(_0x3be43b,_0x3c10b3){_0x3be43b=_0x3be43b-0x0;var _0x2dc567=_0xe0c4[_0x3be43b];return _0x2dc567;};'use strict';var _=require(_0x4e0c('0x0'));var util=require(_0x4e0c('0x1'));var moment=require(_0x4e0c('0x2'));var BPromise=require('bluebird');var rs=require(_0x4e0c('0x3'));var fs=require('fs');var Redis=require(_0x4e0c('0x4'));var db=require('../../mysqldb')['db'];var utils=require(_0x4e0c('0x5'));var logger=require(_0x4e0c('0x6'))(_0x4e0c('0x7'));var config=require('../../config/environment');var jayson=require(_0x4e0c('0x8'));var client=jayson[_0x4e0c('0x9')][_0x4e0c('0xa')]({'port':0x232a});config[_0x4e0c('0xb')]=_[_0x4e0c('0xc')](config['redis'],{'host':_0x4e0c('0xd'),'port':0x18eb});var socket=require(_0x4e0c('0xe'))(new Redis(config[_0x4e0c('0xb')]));require(_0x4e0c('0xf'))['register'](socket);function respondWithRpcPromise(_0x3b7905,_0x1034ff,_0x5d87df){return new BPromise(function(_0x450b7a,_0x14923f){return client[_0x4e0c('0x10')](_0x3b7905,_0x5d87df)[_0x4e0c('0x11')](function(_0x151f68){logger[_0x4e0c('0x12')](_0x4e0c('0x13'),_0x1034ff,_0x4e0c('0x14'));logger[_0x4e0c('0x15')](_0x4e0c('0x16'),_0x1034ff,_0x4e0c('0x14'),JSON['stringify'](_0x151f68));if(_0x151f68[_0x4e0c('0x17')]){if(_0x151f68[_0x4e0c('0x17')]['code']===0x1f4){logger['error']('Plugin,\x20%s,\x20%s',_0x1034ff,_0x151f68[_0x4e0c('0x17')]['message']);return _0x14923f(_0x151f68[_0x4e0c('0x17')][_0x4e0c('0x18')]);}logger[_0x4e0c('0x17')]('Plugin,\x20%s,\x20%s',_0x1034ff,_0x151f68[_0x4e0c('0x17')][_0x4e0c('0x18')]);return _0x450b7a(_0x151f68[_0x4e0c('0x17')][_0x4e0c('0x18')]);}else{logger[_0x4e0c('0x12')](_0x4e0c('0x13'),_0x1034ff,_0x4e0c('0x14'));_0x450b7a(_0x151f68['result'][_0x4e0c('0x18')]);}})['catch'](function(_0x5da607){logger['error'](_0x4e0c('0x13'),_0x1034ff,_0x5da607);_0x14923f(_0x5da607);});});}exports['CreatePlugin']=function(_0x256568){var _0x576ff0=this;return new Promise(function(_0x2cb913,_0xab5b89){return db[_0x4e0c('0x19')]['create'](_0x256568[_0x4e0c('0x1a')],{'raw':_0x256568[_0x4e0c('0x1b')]?_0x256568[_0x4e0c('0x1b')][_0x4e0c('0x1c')]===undefined?!![]:![]:!![]})[_0x4e0c('0x11')](function(_0x422590){logger[_0x4e0c('0x12')](_0x4e0c('0x1d'),_0x256568);logger['debug']('CreatePlugin',_0x256568,JSON[_0x4e0c('0x1e')](_0x422590));_0x2cb913(_0x422590);})[_0x4e0c('0x1f')](function(_0x5164d0){logger[_0x4e0c('0x17')]('CreatePlugin',_0x5164d0['message'],_0x256568);_0xab5b89(_0x576ff0[_0x4e0c('0x17')](0x1f4,_0x5164d0[_0x4e0c('0x18')]));});});}; \ No newline at end of file diff --git a/server/api/plugin/plugin.socket.js b/server/api/plugin/plugin.socket.js index 8521cf3..1a855a7 100644 --- a/server/api/plugin/plugin.socket.js +++ b/server/api/plugin/plugin.socket.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x00ea=['register','save','remove','emit'];(function(_0x4156c4,_0x2df8b5){var _0xc48952=function(_0x36ae1b){while(--_0x36ae1b){_0x4156c4['push'](_0x4156c4['shift']());}};_0xc48952(++_0x2df8b5);}(_0x00ea,0x19d));var _0xa00e=function(_0x1b0aaf,_0x3b247c){_0x1b0aaf=_0x1b0aaf-0x0;var _0x36bda1=_0x00ea[_0x1b0aaf];return _0x36bda1;};'use strict';var PluginEvents=require('./plugin.events');var events=[_0xa00e('0x0'),_0xa00e('0x1'),'update'];function createListener(_0x6b287f,_0x20797c){return function(_0x2b9358){_0x20797c[_0xa00e('0x2')](_0x6b287f,_0x2b9358);};}function removeListener(_0x2659c4,_0x415ff9){return function(){PluginEvents['removeListener'](_0x2659c4,_0x415ff9);};}exports[_0xa00e('0x3')]=function(_0x348310){for(var _0x220b95=0x0,_0x2aab60=events['length'];_0x220b95<_0x2aab60;_0x220b95++){var _0x46f5fa=events[_0x220b95];var _0x7f530c=createListener('plugin:'+_0x46f5fa,_0x348310);PluginEvents['on'](_0x46f5fa,_0x7f530c);}}; \ No newline at end of file +var _0xe1e8=['remove','emit','register','plugin:','./plugin.events'];(function(_0x16771d,_0x224c60){var _0x386f11=function(_0x3d7a87){while(--_0x3d7a87){_0x16771d['push'](_0x16771d['shift']());}};_0x386f11(++_0x224c60);}(_0xe1e8,0x1cb));var _0x8e1e=function(_0x349ee0,_0x343c75){_0x349ee0=_0x349ee0-0x0;var _0x2daf04=_0xe1e8[_0x349ee0];return _0x2daf04;};'use strict';var PluginEvents=require(_0x8e1e('0x0'));var events=['save',_0x8e1e('0x1'),'update'];function createListener(_0x4d8c47,_0x362e4b){return function(_0x40110){_0x362e4b[_0x8e1e('0x2')](_0x4d8c47,_0x40110);};}function removeListener(_0x1a69dc,_0x50f4bf){return function(){PluginEvents['removeListener'](_0x1a69dc,_0x50f4bf);};}exports[_0x8e1e('0x3')]=function(_0xf371b5){for(var _0x13c945=0x0,_0x1861ce=events['length'];_0x13c945<_0x1861ce;_0x13c945++){var _0x21ee75=events[_0x13c945];var _0xe8a658=createListener(_0x8e1e('0x4')+_0x21ee75,_0xf371b5);PluginEvents['on'](_0x21ee75,_0xe8a658);}}; \ No newline at end of file diff --git a/server/api/pm2/index.js b/server/api/pm2/index.js index 24a8e41..2c556f9 100644 --- a/server/api/pm2/index.js +++ b/server/api/pm2/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x25bf=['./pm2.controller','get','isAuthenticated','show','post','create','put','/:id','update','delete','destroy','express','Router','../../components/auth/service'];(function(_0x2d0c84,_0x110143){var _0x1b65f6=function(_0x265afc){while(--_0x265afc){_0x2d0c84['push'](_0x2d0c84['shift']());}};_0x1b65f6(++_0x110143);}(_0x25bf,0x13f));var _0xf25b=function(_0x4565bf,_0x5ad9d6){_0x4565bf=_0x4565bf-0x0;var _0x5610ba=_0x25bf[_0x4565bf];return _0x5610ba;};'use strict';var express=require(_0xf25b('0x0'));var router=express[_0xf25b('0x1')]();var auth=require(_0xf25b('0x2'));var controller=require(_0xf25b('0x3'));router[_0xf25b('0x4')]('/',auth[_0xf25b('0x5')](),controller['index']);router['get']('/:id',auth['isAuthenticated'](),controller[_0xf25b('0x6')]);router[_0xf25b('0x7')]('/',auth[_0xf25b('0x5')](),controller[_0xf25b('0x8')]);router[_0xf25b('0x9')](_0xf25b('0xa'),auth[_0xf25b('0x5')](),controller[_0xf25b('0xb')]);router[_0xf25b('0xc')]('/:id',auth[_0xf25b('0x5')](),controller[_0xf25b('0xd')]);module['exports']=router; \ No newline at end of file +var _0x8f93=['isAuthenticated','/:id','show','post','put','update','destroy','express','Router','../../components/auth/service','./pm2.controller','get'];(function(_0x524d2a,_0x393cfa){var _0x5d213e=function(_0x3146d0){while(--_0x3146d0){_0x524d2a['push'](_0x524d2a['shift']());}};_0x5d213e(++_0x393cfa);}(_0x8f93,0x1c3));var _0x38f9=function(_0x321bb2,_0x202794){_0x321bb2=_0x321bb2-0x0;var _0x9c12ed=_0x8f93[_0x321bb2];return _0x9c12ed;};'use strict';var express=require(_0x38f9('0x0'));var router=express[_0x38f9('0x1')]();var auth=require(_0x38f9('0x2'));var controller=require(_0x38f9('0x3'));router[_0x38f9('0x4')]('/',auth[_0x38f9('0x5')](),controller['index']);router[_0x38f9('0x4')](_0x38f9('0x6'),auth[_0x38f9('0x5')](),controller[_0x38f9('0x7')]);router[_0x38f9('0x8')]('/',auth['isAuthenticated'](),controller['create']);router[_0x38f9('0x9')](_0x38f9('0x6'),auth['isAuthenticated'](),controller[_0x38f9('0xa')]);router['delete'](_0x38f9('0x6'),auth['isAuthenticated'](),controller[_0x38f9('0xb')]);module['exports']=router; \ No newline at end of file diff --git a/server/api/pm2/pm2.controller.js b/server/api/pm2/pm2.controller.js index 31a4fea..ab2b8c6 100644 --- a/server/api/pm2/pm2.controller.js +++ b/server/api/pm2/pm2.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x7b82=['name','send','npm\x20install','info','list','then','reject','motion2','length','catch','show','describe','params','body','script','join','../../files/plugins','cwd','chdir','dirname','start','dump','status','Missing\x20name\x20and/or\x20path','restart','hasOwnProperty','Unknown\x20status','destroy','Unknown\x20id','lodash','../../config/logger','api','path','bluebird','sendStatus','json','error','stack'];(function(_0x12841a,_0x11a517){var _0x4676c0=function(_0x431793){while(--_0x431793){_0x12841a['push'](_0x12841a['shift']());}};_0x4676c0(++_0x11a517);}(_0x7b82,0x173));var _0x27b8=function(_0x9c2427,_0x17c865){_0x9c2427=_0x9c2427-0x0;var _0x51984f=_0x7b82[_0x9c2427];return _0x51984f;};'use strict';var _=require(_0x27b8('0x0'));var pm2=require('../../config/pm2');var logger=require(_0x27b8('0x1'))(_0x27b8('0x2'));var path=require(_0x27b8('0x3'));var exec=require('child_process')['exec'];var BPromise=require(_0x27b8('0x4'));function handleEntityNotFound(_0x621aee,_0x437b18){return function(_0x125c46){if(!_0x125c46){_0x621aee[_0x27b8('0x5')](0x194);;}return _0x125c46;};}function respondWithResult(_0x1a873a,_0x432a6b){_0x432a6b=_0x432a6b||0xc8;return function(_0x347d51){if(_0x347d51){return _0x1a873a['status'](_0x432a6b)[_0x27b8('0x6')](_0x347d51);}return null;};}function handleError(_0x1af08e,_0x1ea588){_0x1ea588=_0x1ea588||0x1f4;return function(_0xd47d49){logger[_0x27b8('0x7')](_0xd47d49[_0x27b8('0x8')]);if(_0xd47d49[_0x27b8('0x9')]){delete _0xd47d49[_0x27b8('0x9')];}_0x1af08e['status'](_0x1ea588)[_0x27b8('0xa')](_0xd47d49);};}function execChildProcess(){return new BPromise(function(_0x418ff3,_0x166ada){exec(_0x27b8('0xb'),function(_0x14ff9b,_0x47490d,_0x532ab6){logger[_0x27b8('0xc')](_0x47490d);logger[_0x27b8('0xc')](_0x532ab6);if(_0x14ff9b){logger[_0x27b8('0x7')](_0x14ff9b);return _0x166ada(_0x14ff9b);}return _0x418ff3(_0x47490d);});});}exports['index']=function(_0x18c059,_0x2dc148){return pm2[_0x27b8('0xd')]()[_0x27b8('0xe')](function(_0x10d0ce){if(_0x10d0ce){var _0x4eee4e=_[_0x27b8('0xf')](_0x10d0ce,function(_0x1c4e90){return _0x1c4e90['name']==='express'||_0x1c4e90[_0x27b8('0x9')]===_0x27b8('0x10');});return{'rows':_0x4eee4e,'count':_0x4eee4e[_0x27b8('0x11')]};}return null;})[_0x27b8('0xe')](respondWithResult(_0x2dc148,null))[_0x27b8('0x12')](handleError(_0x2dc148,null));};exports[_0x27b8('0x13')]=function(_0x342e74,_0x3935d6){return pm2[_0x27b8('0x14')](_0x342e74[_0x27b8('0x15')]['id'])['then'](respondWithResult(_0x3935d6,null))[_0x27b8('0xe')](handleEntityNotFound(_0x3935d6,null))['catch'](handleError(_0x3935d6,null));};exports['create']=function(_0x251905,_0x19abcc){if(_0x251905[_0x27b8('0x16')][_0x27b8('0x9')]&&_0x251905['body'][_0x27b8('0x17')]){var _0x47c872=path[_0x27b8('0x18')](__dirname,_0x27b8('0x19'),_0x251905['body']['script']);var _0x159272=process[_0x27b8('0x1a')]();process[_0x27b8('0x1b')](path[_0x27b8('0x1c')](_0x47c872));return execChildProcess()[_0x27b8('0xe')](function(_0x125f76){process[_0x27b8('0x1b')](_0x159272);return pm2[_0x27b8('0x1d')]({'name':_0x251905['body'][_0x27b8('0x9')],'script':_0x47c872});})[_0x27b8('0xe')](function(_0x3ea519){pm2[_0x27b8('0x1e')]();return _0x3ea519[0x0];})['then'](respondWithResult(_0x19abcc,0xc9))[_0x27b8('0x12')](handleError(_0x19abcc,null));}else{return _0x19abcc[_0x27b8('0x1f')](0x1f4)[_0x27b8('0xa')]({'message':_0x27b8('0x20')});}};exports['update']=function(_0x433beb,_0x5ef46a){if(_0x433beb['body']['id']){delete _0x433beb[_0x27b8('0x16')]['id'];}var _0x6032f6={'online':_0x27b8('0x21'),'stopped':'stop'};if(_0x6032f6[_0x27b8('0x22')](_0x433beb[_0x27b8('0x16')][_0x27b8('0x1f')])){return pm2[_0x6032f6[_0x433beb[_0x27b8('0x16')][_0x27b8('0x1f')]]](_0x433beb[_0x27b8('0x15')]['id'])[_0x27b8('0xe')](respondWithResult(_0x5ef46a,0xc8))[_0x27b8('0x12')](handleError(_0x5ef46a,null));}else{return _0x5ef46a[_0x27b8('0x1f')](0x1f4)['send']({'message':_0x27b8('0x23')});}};exports[_0x27b8('0x24')]=function(_0x5673a5,_0x3d0850){if(_0x5673a5[_0x27b8('0x16')]['id']){delete _0x5673a5[_0x27b8('0x16')]['id'];}if(_0x5673a5[_0x27b8('0x15')]['id']){return pm2['delete'](_0x5673a5['params']['id'])[_0x27b8('0xe')](function(_0x1eed67){pm2[_0x27b8('0x1e')]();return _0x1eed67[0x0];})[_0x27b8('0xe')](respondWithResult(_0x3d0850,null))['catch'](handleError(_0x3d0850,null));}else{return _0x3d0850[_0x27b8('0x1f')](0x1f4)[_0x27b8('0xa')]({'message':_0x27b8('0x25')});}}; \ No newline at end of file +var _0xb5b2=['sendStatus','json','error','stack','status','send','npm\x20install','info','index','list','then','reject','name','express','motion2','length','describe','params','catch','create','body','script','cwd','chdir','dirname','start','dump','update','stop','hasOwnProperty','destroy','delete','Unknown\x20id','lodash','../../config/pm2','../../config/logger','api','path','child_process','exec','bluebird'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0xb5b2,0x1e4));var _0x2b5b=function(_0x152e69,_0x316068){_0x152e69=_0x152e69-0x0;var _0x4f7523=_0xb5b2[_0x152e69];return _0x4f7523;};'use strict';var _=require(_0x2b5b('0x0'));var pm2=require(_0x2b5b('0x1'));var logger=require(_0x2b5b('0x2'))(_0x2b5b('0x3'));var path=require(_0x2b5b('0x4'));var exec=require(_0x2b5b('0x5'))[_0x2b5b('0x6')];var BPromise=require(_0x2b5b('0x7'));function handleEntityNotFound(_0x35c72f,_0x4e485d){return function(_0x5d7a14){if(!_0x5d7a14){_0x35c72f[_0x2b5b('0x8')](0x194);;}return _0x5d7a14;};}function respondWithResult(_0x2f182c,_0x4424c9){_0x4424c9=_0x4424c9||0xc8;return function(_0x22b01a){if(_0x22b01a){return _0x2f182c['status'](_0x4424c9)[_0x2b5b('0x9')](_0x22b01a);}return null;};}function handleError(_0x1c77cf,_0x38158b){_0x38158b=_0x38158b||0x1f4;return function(_0x2c77c4){logger[_0x2b5b('0xa')](_0x2c77c4[_0x2b5b('0xb')]);if(_0x2c77c4['name']){delete _0x2c77c4['name'];}_0x1c77cf[_0x2b5b('0xc')](_0x38158b)[_0x2b5b('0xd')](_0x2c77c4);};}function execChildProcess(){return new BPromise(function(_0x5f1053,_0x2e4812){exec(_0x2b5b('0xe'),function(_0x114813,_0x35efb6,_0x5e1142){logger[_0x2b5b('0xf')](_0x35efb6);logger[_0x2b5b('0xf')](_0x5e1142);if(_0x114813){logger[_0x2b5b('0xa')](_0x114813);return _0x2e4812(_0x114813);}return _0x5f1053(_0x35efb6);});});}exports[_0x2b5b('0x10')]=function(_0x2241ae,_0x5a4e31){return pm2[_0x2b5b('0x11')]()[_0x2b5b('0x12')](function(_0x386b20){if(_0x386b20){var _0x36e9af=_[_0x2b5b('0x13')](_0x386b20,function(_0x40c9cd){return _0x40c9cd[_0x2b5b('0x14')]===_0x2b5b('0x15')||_0x40c9cd[_0x2b5b('0x14')]===_0x2b5b('0x16');});return{'rows':_0x36e9af,'count':_0x36e9af[_0x2b5b('0x17')]};}return null;})[_0x2b5b('0x12')](respondWithResult(_0x5a4e31,null))['catch'](handleError(_0x5a4e31,null));};exports['show']=function(_0x57f26a,_0x406e54){return pm2[_0x2b5b('0x18')](_0x57f26a[_0x2b5b('0x19')]['id'])[_0x2b5b('0x12')](respondWithResult(_0x406e54,null))[_0x2b5b('0x12')](handleEntityNotFound(_0x406e54,null))[_0x2b5b('0x1a')](handleError(_0x406e54,null));};exports[_0x2b5b('0x1b')]=function(_0x4d06fa,_0x5f2911){if(_0x4d06fa[_0x2b5b('0x1c')]['name']&&_0x4d06fa[_0x2b5b('0x1c')][_0x2b5b('0x1d')]){var _0x199b0e=path['join'](__dirname,'../../files/plugins',_0x4d06fa['body']['script']);var _0x45610b=process[_0x2b5b('0x1e')]();process[_0x2b5b('0x1f')](path[_0x2b5b('0x20')](_0x199b0e));return execChildProcess()['then'](function(_0x30d1f1){process[_0x2b5b('0x1f')](_0x45610b);return pm2[_0x2b5b('0x21')]({'name':_0x4d06fa[_0x2b5b('0x1c')][_0x2b5b('0x14')],'script':_0x199b0e});})[_0x2b5b('0x12')](function(_0x1a80de){pm2[_0x2b5b('0x22')]();return _0x1a80de[0x0];})[_0x2b5b('0x12')](respondWithResult(_0x5f2911,0xc9))[_0x2b5b('0x1a')](handleError(_0x5f2911,null));}else{return _0x5f2911[_0x2b5b('0xc')](0x1f4)[_0x2b5b('0xd')]({'message':'Missing\x20name\x20and/or\x20path'});}};exports[_0x2b5b('0x23')]=function(_0x58cbd0,_0x59541c){if(_0x58cbd0['body']['id']){delete _0x58cbd0['body']['id'];}var _0x4b9e2d={'online':'restart','stopped':_0x2b5b('0x24')};if(_0x4b9e2d[_0x2b5b('0x25')](_0x58cbd0['body'][_0x2b5b('0xc')])){return pm2[_0x4b9e2d[_0x58cbd0['body'][_0x2b5b('0xc')]]](_0x58cbd0[_0x2b5b('0x19')]['id'])['then'](respondWithResult(_0x59541c,0xc8))[_0x2b5b('0x1a')](handleError(_0x59541c,null));}else{return _0x59541c[_0x2b5b('0xc')](0x1f4)['send']({'message':'Unknown\x20status'});}};exports[_0x2b5b('0x26')]=function(_0x5b879b,_0x16a360){if(_0x5b879b[_0x2b5b('0x1c')]['id']){delete _0x5b879b[_0x2b5b('0x1c')]['id'];}if(_0x5b879b['params']['id']){return pm2[_0x2b5b('0x27')](_0x5b879b[_0x2b5b('0x19')]['id'])[_0x2b5b('0x12')](function(_0x13520e){pm2[_0x2b5b('0x22')]();return _0x13520e[0x0];})[_0x2b5b('0x12')](respondWithResult(_0x16a360,null))['catch'](handleError(_0x16a360,null));}else{return _0x16a360[_0x2b5b('0xc')](0x1f4)[_0x2b5b('0xd')]({'message':_0x2b5b('0x28')});}}; \ No newline at end of file diff --git a/server/api/reportAgentPreview/index.js b/server/api/reportAgentPreview/index.js index 3cb2717..a69d8b8 100644 --- a/server/api/reportAgentPreview/index.js +++ b/server/api/reportAgentPreview/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x70a1=['util','path','connect-timeout','express','../../components/interaction/service','../../config/environment','exports','multer'];(function(_0x363b81,_0x81e6ca){var _0x1d92fb=function(_0x129644){while(--_0x129644){_0x363b81['push'](_0x363b81['shift']());}};_0x1d92fb(++_0x81e6ca);}(_0x70a1,0xb7));var _0x170a=function(_0xab9f3d,_0xb336fa){_0xab9f3d=_0xab9f3d-0x0;var _0x5283bf=_0x70a1[_0xab9f3d];return _0x5283bf;};'use strict';var multer=require(_0x170a('0x0'));var util=require(_0x170a('0x1'));var path=require(_0x170a('0x2'));var timeout=require(_0x170a('0x3'));var express=require(_0x170a('0x4'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require(_0x170a('0x5'));var config=require(_0x170a('0x6'));module[_0x170a('0x7')]=router; \ No newline at end of file +var _0x88f8=['exports','multer','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0x1a7243,_0x3e3f8d){var _0x4f4e29=function(_0x5ca12c){while(--_0x5ca12c){_0x1a7243['push'](_0x1a7243['shift']());}};_0x4f4e29(++_0x3e3f8d);}(_0x88f8,0x13c));var _0x888f=function(_0x4a850d,_0x85796){_0x4a850d=_0x4a850d-0x0;var _0x163eae=_0x88f8[_0x4a850d];return _0x163eae;};'use strict';var multer=require(_0x888f('0x0'));var util=require('util');var path=require(_0x888f('0x1'));var timeout=require(_0x888f('0x2'));var express=require(_0x888f('0x3'));var router=express[_0x888f('0x4')]();var auth=require(_0x888f('0x5'));var interaction=require(_0x888f('0x6'));var config=require(_0x888f('0x7'));module[_0x888f('0x8')]=router; \ No newline at end of file diff --git a/server/api/reportAgentPreview/reportAgentPreview.attributes.js b/server/api/reportAgentPreview/reportAgentPreview.attributes.js index 5692924..7dbe150 100644 --- a/server/api/reportAgentPreview/reportAgentPreview.attributes.js +++ b/server/api/reportAgentPreview/reportAgentPreview.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xba03=['STRING','DATE','exports','INTEGER'];(function(_0x13b8fa,_0x1d23f1){var _0xffa828=function(_0x171d22){while(--_0x171d22){_0x13b8fa['push'](_0x13b8fa['shift']());}};_0xffa828(++_0x1d23f1);}(_0xba03,0xb6));var _0x3ba0=function(_0x2d34dc,_0x51c449){_0x2d34dc=_0x2d34dc-0x0;var _0x3be018=_0xba03[_0x2d34dc];return _0x3be018;};'use strict';var Sequelize=require('sequelize');module[_0x3ba0('0x0')]={'state':{'type':Sequelize[_0x3ba0('0x1')](0x2)},'statedesc':{'type':Sequelize[_0x3ba0('0x2')]},'scheduledat':{'type':Sequelize[_0x3ba0('0x3')]},'uniqueid':{'type':Sequelize[_0x3ba0('0x2')]},'starttime':{'type':Sequelize[_0x3ba0('0x3')]},'responsetime':{'type':Sequelize[_0x3ba0('0x3')]},'ringtime':{'type':Sequelize[_0x3ba0('0x1')],'defaultValue':0x0},'campaign':{'type':Sequelize['STRING']},'campaigntype':{'type':Sequelize[_0x3ba0('0x2')]},'membername':{'type':Sequelize['STRING']}}; \ No newline at end of file +var _0x2fcc=['STRING','DATE','INTEGER','sequelize'];(function(_0x4fda88,_0x1a4d19){var _0xe37511=function(_0x51f461){while(--_0x51f461){_0x4fda88['push'](_0x4fda88['shift']());}};_0xe37511(++_0x1a4d19);}(_0x2fcc,0xc3));var _0xc2fc=function(_0x5f2b3a,_0x41d364){_0x5f2b3a=_0x5f2b3a-0x0;var _0x54c580=_0x2fcc[_0x5f2b3a];return _0x54c580;};'use strict';var Sequelize=require(_0xc2fc('0x0'));module['exports']={'state':{'type':Sequelize['INTEGER'](0x2)},'statedesc':{'type':Sequelize['STRING']},'scheduledat':{'type':Sequelize['DATE']},'uniqueid':{'type':Sequelize[_0xc2fc('0x1')]},'starttime':{'type':Sequelize[_0xc2fc('0x2')]},'responsetime':{'type':Sequelize[_0xc2fc('0x2')]},'ringtime':{'type':Sequelize[_0xc2fc('0x3')],'defaultValue':0x0},'campaign':{'type':Sequelize[_0xc2fc('0x1')]},'campaigntype':{'type':Sequelize[_0xc2fc('0x1')]},'membername':{'type':Sequelize[_0xc2fc('0x1')]}}; \ No newline at end of file diff --git a/server/api/reportAgentPreview/reportAgentPreview.model.js b/server/api/reportAgentPreview/reportAgentPreview.model.js index 3c5d9ed..7b750d1 100644 --- a/server/api/reportAgentPreview/reportAgentPreview.model.js +++ b/server/api/reportAgentPreview/reportAgentPreview.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xa2cc=['rimraf','./reportAgentPreview.attributes','exports','ReportAgentPreview','lodash','util','api','moment','bluebird','request-promise','path'];(function(_0x2b7954,_0x15c419){var _0x52bad9=function(_0x3894b7){while(--_0x3894b7){_0x2b7954['push'](_0x2b7954['shift']());}};_0x52bad9(++_0x15c419);}(_0xa2cc,0x1b1));var _0xca2c=function(_0x5088b1,_0x4479ec){_0x5088b1=_0x5088b1-0x0;var _0x53d099=_0xa2cc[_0x5088b1];return _0x53d099;};'use strict';var _=require(_0xca2c('0x0'));var util=require(_0xca2c('0x1'));var logger=require('../../config/logger')(_0xca2c('0x2'));var moment=require(_0xca2c('0x3'));var BPromise=require(_0xca2c('0x4'));var rp=require(_0xca2c('0x5'));var fs=require('fs');var path=require(_0xca2c('0x6'));var rimraf=require(_0xca2c('0x7'));var config=require('../../config/environment');var attributes=require(_0xca2c('0x8'));module[_0xca2c('0x9')]=function(_0x49c7a5,_0x1d0832){return _0x49c7a5['define'](_0xca2c('0xa'),attributes,{'tableName':'report_agent_preview','paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0x66a2=['util','../../config/logger','api','moment','bluebird','request-promise','path','./reportAgentPreview.attributes','exports','define','ReportAgentPreview','report_agent_preview','lodash'];(function(_0x3ef918,_0x555e0c){var _0x1128cb=function(_0x51f39b){while(--_0x51f39b){_0x3ef918['push'](_0x3ef918['shift']());}};_0x1128cb(++_0x555e0c);}(_0x66a2,0xc2));var _0x266a=function(_0x3331a2,_0x42f95c){_0x3331a2=_0x3331a2-0x0;var _0x390ed1=_0x66a2[_0x3331a2];return _0x390ed1;};'use strict';var _=require(_0x266a('0x0'));var util=require(_0x266a('0x1'));var logger=require(_0x266a('0x2'))(_0x266a('0x3'));var moment=require(_0x266a('0x4'));var BPromise=require(_0x266a('0x5'));var rp=require(_0x266a('0x6'));var fs=require('fs');var path=require(_0x266a('0x7'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x266a('0x8'));module[_0x266a('0x9')]=function(_0xb5fa7d,_0x467da2){return _0xb5fa7d[_0x266a('0xa')](_0x266a('0xb'),attributes,{'tableName':_0x266a('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/reportAgentPreview/reportAgentPreview.rpc.js b/server/api/reportAgentPreview/reportAgentPreview.rpc.js index 545caac..08d2b06 100644 --- a/server/api/reportAgentPreview/reportAgentPreview.rpc.js +++ b/server/api/reportAgentPreview/reportAgentPreview.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x46bb=['ioredis','../../mysqldb','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','client','http','request','then','info','ReportAgentPreview,\x20%s,\x20%s','debug','stringify','error','code','message','result','CreateReportAgentPreview','ReportAgentPreview','create','body','options','raw','catch','lodash','util','moment'];(function(_0xe5231,_0x583a88){var _0x5799a6=function(_0x5eabb8){while(--_0x5eabb8){_0xe5231['push'](_0xe5231['shift']());}};_0x5799a6(++_0x583a88);}(_0x46bb,0x1ea));var _0xb46b=function(_0x536919,_0x2d0c68){_0x536919=_0x536919-0x0;var _0x3694d9=_0x46bb[_0x536919];return _0x3694d9;};'use strict';var _=require(_0xb46b('0x0'));var util=require(_0xb46b('0x1'));var moment=require(_0xb46b('0x2'));var BPromise=require('bluebird');var rs=require('randomstring');var fs=require('fs');var Redis=require(_0xb46b('0x3'));var db=require(_0xb46b('0x4'))['db'];var utils=require(_0xb46b('0x5'));var logger=require(_0xb46b('0x6'))(_0xb46b('0x7'));var config=require(_0xb46b('0x8'));var jayson=require(_0xb46b('0x9'));var client=jayson[_0xb46b('0xa')][_0xb46b('0xb')]({'port':0x232a});function respondWithRpcPromise(_0x4c4820,_0xcb135a,_0x46f5e7){return new BPromise(function(_0x1a8108,_0x204c87){return client[_0xb46b('0xc')](_0x4c4820,_0x46f5e7)[_0xb46b('0xd')](function(_0x259b71){logger[_0xb46b('0xe')](_0xb46b('0xf'),_0xcb135a,'request\x20sent');logger[_0xb46b('0x10')]('ReportAgentPreview,\x20%s,\x20%s,\x20%s',_0xcb135a,'request\x20sent',JSON[_0xb46b('0x11')](_0x259b71));if(_0x259b71[_0xb46b('0x12')]){if(_0x259b71[_0xb46b('0x12')][_0xb46b('0x13')]===0x1f4){logger['error']('ReportAgentPreview,\x20%s,\x20%s',_0xcb135a,_0x259b71['error'][_0xb46b('0x14')]);return _0x204c87(_0x259b71[_0xb46b('0x12')]['message']);}logger['error'](_0xb46b('0xf'),_0xcb135a,_0x259b71[_0xb46b('0x12')][_0xb46b('0x14')]);return _0x1a8108(_0x259b71[_0xb46b('0x12')][_0xb46b('0x14')]);}else{logger[_0xb46b('0xe')](_0xb46b('0xf'),_0xcb135a,'request\x20sent');_0x1a8108(_0x259b71[_0xb46b('0x15')][_0xb46b('0x14')]);}})['catch'](function(_0x210e53){logger[_0xb46b('0x12')](_0xb46b('0xf'),_0xcb135a,_0x210e53);_0x204c87(_0x210e53);});});}exports[_0xb46b('0x16')]=function(_0x90693c){var _0x2cf5db=this;return new Promise(function(_0x4e35f4,_0x49bce2){return db[_0xb46b('0x17')][_0xb46b('0x18')](_0x90693c[_0xb46b('0x19')],{'raw':_0x90693c[_0xb46b('0x1a')]?_0x90693c[_0xb46b('0x1a')][_0xb46b('0x1b')]===undefined?!![]:![]:!![]})[_0xb46b('0xd')](function(_0xbae843){logger[_0xb46b('0xe')](_0xb46b('0x16'),_0x90693c);logger['debug']('CreateReportAgentPreview',_0x90693c,JSON[_0xb46b('0x11')](_0xbae843));_0x4e35f4(_0xbae843);})[_0xb46b('0x1c')](function(_0x1120c4){logger[_0xb46b('0x12')]('CreateReportAgentPreview',_0x1120c4['message'],_0x90693c);_0x49bce2(_0x2cf5db[_0xb46b('0x12')](0x1f4,_0x1120c4['message']));});});}; \ No newline at end of file +var _0xa920=['rpc','../../config/environment','jayson/promise','client','request','then','ReportAgentPreview,\x20%s,\x20%s','request\x20sent','debug','error','code','message','info','result','catch','CreateReportAgentPreview','ReportAgentPreview','options','raw','stringify','util','moment','bluebird','randomstring','ioredis','../../config/utils'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0xa920,0x7c));var _0x0a92=function(_0x4dec69,_0x224db1){_0x4dec69=_0x4dec69-0x0;var _0x8f39e3=_0xa920[_0x4dec69];return _0x8f39e3;};'use strict';var _=require('lodash');var util=require(_0x0a92('0x0'));var moment=require(_0x0a92('0x1'));var BPromise=require(_0x0a92('0x2'));var rs=require(_0x0a92('0x3'));var fs=require('fs');var Redis=require(_0x0a92('0x4'));var db=require('../../mysqldb')['db'];var utils=require(_0x0a92('0x5'));var logger=require('../../config/logger')(_0x0a92('0x6'));var config=require(_0x0a92('0x7'));var jayson=require(_0x0a92('0x8'));var client=jayson[_0x0a92('0x9')]['http']({'port':0x232a});function respondWithRpcPromise(_0xc5f653,_0x77daf6,_0xc62609){return new BPromise(function(_0x468bb5,_0x4710fd){return client[_0x0a92('0xa')](_0xc5f653,_0xc62609)[_0x0a92('0xb')](function(_0x5c4acb){logger['info'](_0x0a92('0xc'),_0x77daf6,_0x0a92('0xd'));logger[_0x0a92('0xe')]('ReportAgentPreview,\x20%s,\x20%s,\x20%s',_0x77daf6,'request\x20sent',JSON['stringify'](_0x5c4acb));if(_0x5c4acb[_0x0a92('0xf')]){if(_0x5c4acb['error'][_0x0a92('0x10')]===0x1f4){logger[_0x0a92('0xf')]('ReportAgentPreview,\x20%s,\x20%s',_0x77daf6,_0x5c4acb[_0x0a92('0xf')][_0x0a92('0x11')]);return _0x4710fd(_0x5c4acb[_0x0a92('0xf')]['message']);}logger['error']('ReportAgentPreview,\x20%s,\x20%s',_0x77daf6,_0x5c4acb[_0x0a92('0xf')][_0x0a92('0x11')]);return _0x468bb5(_0x5c4acb[_0x0a92('0xf')][_0x0a92('0x11')]);}else{logger[_0x0a92('0x12')](_0x0a92('0xc'),_0x77daf6,'request\x20sent');_0x468bb5(_0x5c4acb[_0x0a92('0x13')]['message']);}})[_0x0a92('0x14')](function(_0x2240ef){logger[_0x0a92('0xf')]('ReportAgentPreview,\x20%s,\x20%s',_0x77daf6,_0x2240ef);_0x4710fd(_0x2240ef);});});}exports[_0x0a92('0x15')]=function(_0x534d10){var _0x4e13b3=this;return new Promise(function(_0x1859f0,_0x3f7c1b){return db[_0x0a92('0x16')]['create'](_0x534d10['body'],{'raw':_0x534d10[_0x0a92('0x17')]?_0x534d10['options'][_0x0a92('0x18')]===undefined?!![]:![]:!![]})[_0x0a92('0xb')](function(_0x4d7bc0){logger[_0x0a92('0x12')]('CreateReportAgentPreview',_0x534d10);logger[_0x0a92('0xe')](_0x0a92('0x15'),_0x534d10,JSON[_0x0a92('0x19')](_0x4d7bc0));_0x1859f0(_0x4d7bc0);})[_0x0a92('0x14')](function(_0x3c77b2){logger[_0x0a92('0xf')](_0x0a92('0x15'),_0x3c77b2[_0x0a92('0x11')],_0x534d10);_0x3f7c1b(_0x4e13b3['error'](0x1f4,_0x3c77b2[_0x0a92('0x11')]));});});}; \ No newline at end of file diff --git a/server/api/rpc/index.js b/server/api/rpc/index.js index 63d0f47..2387e82 100644 --- a/server/api/rpc/index.js +++ b/server/api/rpc/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x99a3=['showSmsQueues','/whatsapp/queues/:id','showWhatsappQueues','/agents/:id/notify','agentNotify','util','path','get','/voice/channels','isAuthenticated','voiceChannels','/voice/channels/:uniqueid/mixmonitor','/voice/channels/:uniqueid/stopmixmonitor','/voice/queues','voiceQueues','/mail/queues','mailQueues','/mail/accounts','mailAccounts','openchannelQueues','/sms/queues','smsQueues','/whatsapp/queues','whatsappQueues','faxQueues','/voice/queues/preview/:id','voiceQueuesPreview','/voice/queues/channels','voiceQueuesChannels','/voice/queues/channels/:uniqueid','voiceQueuesChannel','/voice/queues/channels/:uniqueid/hangup','voiceQueuesChannelHangup','/voice/queues/channels/:uniqueid/redirect/:exten','voiceQueuesChannelRedirect','showVoiceQueues','/outbound','outbound','/outbound/channels','outboundChannels','/agents','put','/agents/:id/capacity','/telephones','telephones','/trunks','trunks','/campaigns','campaigns','/fax/accounts','faxAccounts','/chat/queues/waitinginteractions','chatQueuesWaitingInteractions','/mail/queues/waitinginteractions','mailQueuesWaitingInteractions','/openchannel/queues/waitinginteractions','/whatsapp/queues/waitinginteractions','/fax/queues/waitinginteractions','faxQueuesWaitingInteractions','post','/mail/queues/:id/notify','showMailQueues','/chat/queues/:id/notify','queueNotify','/chat/queues/:id','showChatQueues','/fax/queues/:id/notify','/fax/queues/:id','showFaxQueues','/openchannel/queues/:id/notify','/openchannel/queues/:id','showOpenchannelQueues','/whatsapp/queues/:id/notify','whatsapp','/sms/queues/:id'];(function(_0x34620e,_0x582015){var _0x3d33cd=function(_0x19dc7f){while(--_0x19dc7f){_0x34620e['push'](_0x34620e['shift']());}};_0x3d33cd(++_0x582015);}(_0x99a3,0x17c));var _0x399a=function(_0x4c2b76,_0x5e9057){_0x4c2b76=_0x4c2b76-0x0;var _0x38c90a=_0x99a3[_0x4c2b76];return _0x38c90a;};'use strict';var multer=require('multer');var util=require(_0x399a('0x0'));var path=require(_0x399a('0x1'));var express=require('express');var router=express['Router']();var auth=require('../../components/auth/service');var controller=require('./rpc.controller');router[_0x399a('0x2')](_0x399a('0x3'),auth[_0x399a('0x4')](),controller[_0x399a('0x5')]);router[_0x399a('0x2')](_0x399a('0x6'),auth[_0x399a('0x4')](),controller['voiceChannelMixMonitor']);router[_0x399a('0x2')](_0x399a('0x7'),auth['isAuthenticated'](),controller['voiceChannelStopMixMonitor']);router[_0x399a('0x2')](_0x399a('0x8'),auth[_0x399a('0x4')](),controller[_0x399a('0x9')]);router[_0x399a('0x2')]('/chat/queues',auth[_0x399a('0x4')](),controller['chatQueues']);router[_0x399a('0x2')](_0x399a('0xa'),auth[_0x399a('0x4')](),controller[_0x399a('0xb')]);router[_0x399a('0x2')](_0x399a('0xc'),auth[_0x399a('0x4')](),controller[_0x399a('0xd')]);router[_0x399a('0x2')]('/openchannel/queues',auth[_0x399a('0x4')](),controller[_0x399a('0xe')]);router[_0x399a('0x2')](_0x399a('0xf'),auth['isAuthenticated'](),controller[_0x399a('0x10')]);router['get'](_0x399a('0x11'),auth[_0x399a('0x4')](),controller[_0x399a('0x12')]);router[_0x399a('0x2')]('/fax/queues',auth[_0x399a('0x4')](),controller[_0x399a('0x13')]);router[_0x399a('0x2')](_0x399a('0x14'),auth[_0x399a('0x4')](),controller[_0x399a('0x15')]);router[_0x399a('0x2')](_0x399a('0x16'),auth[_0x399a('0x4')](),controller[_0x399a('0x17')]);router[_0x399a('0x2')](_0x399a('0x18'),auth['isAuthenticated'](),controller[_0x399a('0x19')]);router[_0x399a('0x2')](_0x399a('0x1a'),auth['isAuthenticated'](),controller[_0x399a('0x1b')]);router[_0x399a('0x2')](_0x399a('0x1c'),auth['isAuthenticated'](),controller[_0x399a('0x1d')]);router['get']('/voice/queues/:id',auth['isAuthenticated'](),controller[_0x399a('0x1e')]);router['get'](_0x399a('0x1f'),auth[_0x399a('0x4')](),controller[_0x399a('0x20')]);router[_0x399a('0x2')](_0x399a('0x21'),auth[_0x399a('0x4')](),controller[_0x399a('0x22')]);router[_0x399a('0x2')](_0x399a('0x23'),auth[_0x399a('0x4')](),controller['agents']);router[_0x399a('0x24')](_0x399a('0x25'),auth[_0x399a('0x4')](),controller['agentCapacity']);router['get'](_0x399a('0x26'),auth[_0x399a('0x4')](),controller[_0x399a('0x27')]);router['get'](_0x399a('0x28'),auth['isAuthenticated'](),controller[_0x399a('0x29')]);router[_0x399a('0x2')](_0x399a('0x2a'),auth[_0x399a('0x4')](),controller[_0x399a('0x2b')]);router[_0x399a('0x2')](_0x399a('0x2c'),auth['isAuthenticated'](),controller[_0x399a('0x2d')]);router[_0x399a('0x2')](_0x399a('0x2e'),auth[_0x399a('0x4')](),controller[_0x399a('0x2f')]);router[_0x399a('0x2')](_0x399a('0x30'),auth['isAuthenticated'](),controller[_0x399a('0x31')]);router[_0x399a('0x2')](_0x399a('0x32'),auth[_0x399a('0x4')](),controller['openchannelQueuesWaitingInteractions']);router[_0x399a('0x2')]('/sms/queues/waitinginteractions',auth[_0x399a('0x4')](),controller['smsQueuesWaitingInteractions']);router[_0x399a('0x2')](_0x399a('0x33'),auth[_0x399a('0x4')](),controller['whatsappQueuesWaitingInteractions']);router['get'](_0x399a('0x34'),auth[_0x399a('0x4')](),controller[_0x399a('0x35')]);router[_0x399a('0x36')](_0x399a('0x37'),auth[_0x399a('0x4')](),controller['queueNotify']('mail'));router[_0x399a('0x2')]('/mail/queues/:id',auth[_0x399a('0x4')](),controller[_0x399a('0x38')]);router[_0x399a('0x36')](_0x399a('0x39'),auth[_0x399a('0x4')](),controller[_0x399a('0x3a')]('chat'));router[_0x399a('0x2')](_0x399a('0x3b'),auth[_0x399a('0x4')](),controller[_0x399a('0x3c')]);router[_0x399a('0x36')](_0x399a('0x3d'),auth[_0x399a('0x4')](),controller['queueNotify']('fax'));router[_0x399a('0x2')](_0x399a('0x3e'),auth[_0x399a('0x4')](),controller[_0x399a('0x3f')]);router[_0x399a('0x36')](_0x399a('0x40'),auth[_0x399a('0x4')](),controller[_0x399a('0x3a')]('openchannel'));router[_0x399a('0x2')](_0x399a('0x41'),auth['isAuthenticated'](),controller[_0x399a('0x42')]);router['post']('/sms/queues/:id/notify',auth[_0x399a('0x4')](),controller[_0x399a('0x3a')]('sms'));router['post'](_0x399a('0x43'),auth['isAuthenticated'](),controller[_0x399a('0x3a')](_0x399a('0x44')));router[_0x399a('0x2')](_0x399a('0x45'),auth[_0x399a('0x4')](),controller[_0x399a('0x46')]);router[_0x399a('0x2')](_0x399a('0x47'),auth[_0x399a('0x4')](),controller[_0x399a('0x48')]);router[_0x399a('0x36')](_0x399a('0x49'),auth['isAuthenticated'](),controller[_0x399a('0x4a')]);module['exports']=router; \ No newline at end of file +var _0xf2b3=['chat','/chat/queues/:id','showChatQueues','/fax/queues/:id/notify','queueNotify','/fax/queues/:id','showFaxQueues','openchannel','showOpenchannelQueues','/sms/queues/:id/notify','sms','/whatsapp/queues/:id/notify','whatsapp','/sms/queues/:id','showSmsQueues','/whatsapp/queues/:id','showWhatsappQueues','/agents/:id/notify','agentNotify','exports','multer','util','path','express','Router','../../components/auth/service','./rpc.controller','get','/voice/channels','isAuthenticated','voiceChannels','/voice/channels/:uniqueid/mixmonitor','voiceChannelMixMonitor','/voice/channels/:uniqueid/stopmixmonitor','/voice/queues','voiceQueues','/chat/queues','chatQueues','/mail/queues','mailQueues','/mail/accounts','mailAccounts','/openchannel/queues','openchannelQueues','/sms/queues','smsQueues','/whatsapp/queues','/fax/queues','/voice/queues/preview/:id','voiceQueuesPreview','voiceQueuesChannels','/voice/queues/channels/:uniqueid/hangup','/voice/queues/channels/:uniqueid/redirect/:exten','voiceQueuesChannelRedirect','/voice/queues/:id','showVoiceQueues','/outbound','outbound','agents','agentCapacity','/telephones','telephones','trunks','/campaigns','campaigns','/fax/accounts','faxAccounts','/chat/queues/waitinginteractions','chatQueuesWaitingInteractions','/openchannel/queues/waitinginteractions','openchannelQueuesWaitingInteractions','/sms/queues/waitinginteractions','smsQueuesWaitingInteractions','/whatsapp/queues/waitinginteractions','whatsappQueuesWaitingInteractions','post','/mail/queues/:id/notify','mail'];(function(_0x25e33a,_0x20739f){var _0x5cf2ec=function(_0xf4d502){while(--_0xf4d502){_0x25e33a['push'](_0x25e33a['shift']());}};_0x5cf2ec(++_0x20739f);}(_0xf2b3,0x1e8));var _0x3f2b=function(_0x2ac50f,_0x36095f){_0x2ac50f=_0x2ac50f-0x0;var _0x8e7412=_0xf2b3[_0x2ac50f];return _0x8e7412;};'use strict';var multer=require(_0x3f2b('0x0'));var util=require(_0x3f2b('0x1'));var path=require(_0x3f2b('0x2'));var express=require(_0x3f2b('0x3'));var router=express[_0x3f2b('0x4')]();var auth=require(_0x3f2b('0x5'));var controller=require(_0x3f2b('0x6'));router[_0x3f2b('0x7')](_0x3f2b('0x8'),auth[_0x3f2b('0x9')](),controller[_0x3f2b('0xa')]);router['get'](_0x3f2b('0xb'),auth[_0x3f2b('0x9')](),controller[_0x3f2b('0xc')]);router[_0x3f2b('0x7')](_0x3f2b('0xd'),auth[_0x3f2b('0x9')](),controller['voiceChannelStopMixMonitor']);router['get'](_0x3f2b('0xe'),auth[_0x3f2b('0x9')](),controller[_0x3f2b('0xf')]);router[_0x3f2b('0x7')](_0x3f2b('0x10'),auth[_0x3f2b('0x9')](),controller[_0x3f2b('0x11')]);router[_0x3f2b('0x7')](_0x3f2b('0x12'),auth[_0x3f2b('0x9')](),controller[_0x3f2b('0x13')]);router[_0x3f2b('0x7')](_0x3f2b('0x14'),auth[_0x3f2b('0x9')](),controller[_0x3f2b('0x15')]);router[_0x3f2b('0x7')](_0x3f2b('0x16'),auth[_0x3f2b('0x9')](),controller[_0x3f2b('0x17')]);router[_0x3f2b('0x7')](_0x3f2b('0x18'),auth['isAuthenticated'](),controller[_0x3f2b('0x19')]);router[_0x3f2b('0x7')](_0x3f2b('0x1a'),auth[_0x3f2b('0x9')](),controller['whatsappQueues']);router['get'](_0x3f2b('0x1b'),auth[_0x3f2b('0x9')](),controller['faxQueues']);router[_0x3f2b('0x7')](_0x3f2b('0x1c'),auth['isAuthenticated'](),controller[_0x3f2b('0x1d')]);router[_0x3f2b('0x7')]('/voice/queues/channels',auth['isAuthenticated'](),controller[_0x3f2b('0x1e')]);router['get']('/voice/queues/channels/:uniqueid',auth['isAuthenticated'](),controller['voiceQueuesChannel']);router['get'](_0x3f2b('0x1f'),auth[_0x3f2b('0x9')](),controller['voiceQueuesChannelHangup']);router[_0x3f2b('0x7')](_0x3f2b('0x20'),auth['isAuthenticated'](),controller[_0x3f2b('0x21')]);router[_0x3f2b('0x7')](_0x3f2b('0x22'),auth['isAuthenticated'](),controller[_0x3f2b('0x23')]);router[_0x3f2b('0x7')](_0x3f2b('0x24'),auth['isAuthenticated'](),controller[_0x3f2b('0x25')]);router[_0x3f2b('0x7')]('/outbound/channels',auth[_0x3f2b('0x9')](),controller['outboundChannels']);router[_0x3f2b('0x7')]('/agents',auth[_0x3f2b('0x9')](),controller[_0x3f2b('0x26')]);router['put']('/agents/:id/capacity',auth[_0x3f2b('0x9')](),controller[_0x3f2b('0x27')]);router['get'](_0x3f2b('0x28'),auth[_0x3f2b('0x9')](),controller[_0x3f2b('0x29')]);router['get']('/trunks',auth['isAuthenticated'](),controller[_0x3f2b('0x2a')]);router['get'](_0x3f2b('0x2b'),auth[_0x3f2b('0x9')](),controller[_0x3f2b('0x2c')]);router['get'](_0x3f2b('0x2d'),auth[_0x3f2b('0x9')](),controller[_0x3f2b('0x2e')]);router[_0x3f2b('0x7')](_0x3f2b('0x2f'),auth[_0x3f2b('0x9')](),controller[_0x3f2b('0x30')]);router[_0x3f2b('0x7')]('/mail/queues/waitinginteractions',auth[_0x3f2b('0x9')](),controller['mailQueuesWaitingInteractions']);router[_0x3f2b('0x7')](_0x3f2b('0x31'),auth['isAuthenticated'](),controller[_0x3f2b('0x32')]);router['get'](_0x3f2b('0x33'),auth[_0x3f2b('0x9')](),controller[_0x3f2b('0x34')]);router[_0x3f2b('0x7')](_0x3f2b('0x35'),auth[_0x3f2b('0x9')](),controller[_0x3f2b('0x36')]);router[_0x3f2b('0x7')]('/fax/queues/waitinginteractions',auth[_0x3f2b('0x9')](),controller['faxQueuesWaitingInteractions']);router[_0x3f2b('0x37')](_0x3f2b('0x38'),auth['isAuthenticated'](),controller['queueNotify'](_0x3f2b('0x39')));router['get']('/mail/queues/:id',auth[_0x3f2b('0x9')](),controller['showMailQueues']);router[_0x3f2b('0x37')]('/chat/queues/:id/notify',auth[_0x3f2b('0x9')](),controller['queueNotify'](_0x3f2b('0x3a')));router['get'](_0x3f2b('0x3b'),auth[_0x3f2b('0x9')](),controller[_0x3f2b('0x3c')]);router[_0x3f2b('0x37')](_0x3f2b('0x3d'),auth[_0x3f2b('0x9')](),controller[_0x3f2b('0x3e')]('fax'));router[_0x3f2b('0x7')](_0x3f2b('0x3f'),auth[_0x3f2b('0x9')](),controller[_0x3f2b('0x40')]);router[_0x3f2b('0x37')]('/openchannel/queues/:id/notify',auth[_0x3f2b('0x9')](),controller['queueNotify'](_0x3f2b('0x41')));router['get']('/openchannel/queues/:id',auth['isAuthenticated'](),controller[_0x3f2b('0x42')]);router[_0x3f2b('0x37')](_0x3f2b('0x43'),auth['isAuthenticated'](),controller[_0x3f2b('0x3e')](_0x3f2b('0x44')));router[_0x3f2b('0x37')](_0x3f2b('0x45'),auth[_0x3f2b('0x9')](),controller[_0x3f2b('0x3e')](_0x3f2b('0x46')));router[_0x3f2b('0x7')](_0x3f2b('0x47'),auth[_0x3f2b('0x9')](),controller[_0x3f2b('0x48')]);router[_0x3f2b('0x7')](_0x3f2b('0x49'),auth[_0x3f2b('0x9')](),controller[_0x3f2b('0x4a')]);router[_0x3f2b('0x37')](_0x3f2b('0x4b'),auth[_0x3f2b('0x9')](),controller[_0x3f2b('0x4c')]);module[_0x3f2b('0x4d')]=router; \ No newline at end of file diff --git a/server/api/rpc/rpc.controller.js b/server/api/rpc/rpc.controller.js index 9a8ba3d..5e3035f 100644 --- a/server/api/rpc/rpc.controller.js +++ b/server/api/rpc/rpc.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x6aec=['MailQueues','showMailQueues','MailAccounts','openchannelQueues','OpenchannelQueues','showOpenchannelQueues','smsQueues','SmsQueues','whatsappQueues','WhatsappQueues','showWhatsappQueues','faxQueues','FaxQueues','FaxAccounts','ChatQueuesWaitingInteractions','mailQueuesWaitingInteractions','openchannelQueuesWaitingInteractions','OpenchannelQueuesWaitingInteractions','smsQueuesWaitingInteractions','whatsappQueuesWaitingInteractions','WhatsappQueuesWaitingInteractions','FaxQueuesWaitingInteractions','queueNotify','chat','Website','Account','Queue','findOne','Message','messageId','Interaction','\x20Message\x20not\x20found','update','queue','MessageId','InteractionId','QueueId','TransferReport','*,*,*,*','agentNotify','channel','Channel\x20field\x20is\x20mandatory','User','From','create','agentTransferTimeout','bluebird','lodash','util','../../mysqldb','../../config/logger','client','http','request','then','error','code','message','result','catch','status','json','stack','name','isNil','rows','find','voiceChannels','query','VoiceChannelMixMonitor','merge','params','voiceChannelStopMixMonitor','VoiceChannelStopMixMonitor','showVoiceQueues','VoiceQueuesPreview','voiceQueuesChannels','voiceQueuesChannel','VoiceQueuesChannel','voiceQueuesChannelHangup','VoiceQueuesChannelHangup','voiceQueuesChannelRedirect','VoiceQueuesChannelRedirect','OutboundChannels','agents','Agents','agentCapacity','body','interaction','user','hasOwnProperty','MemberReport','findAll','INTERACTION','YYYY-MM-DD\x20HH:mm:ss','length','findOrCreate','interface','format','SIP/%s','agent','internal','AgentCapacity','capacity','telephones','Telephones','trunks','Trunks','campaigns','Campaigns','chatQueues','ChatQueues'];(function(_0x407aa0,_0x5ea282){var _0x117c8d=function(_0x5e9dc6){while(--_0x5e9dc6){_0x407aa0['push'](_0x407aa0['shift']());}};_0x117c8d(++_0x5ea282);}(_0x6aec,0x10e));var _0xc6ae=function(_0x29e6b2,_0x1d4a57){_0x29e6b2=_0x29e6b2-0x0;var _0x2160e3=_0x6aec[_0x29e6b2];return _0x2160e3;};'use strict';var BPromise=require(_0xc6ae('0x0'));var moment=require('moment');var _=require(_0xc6ae('0x1'));var util=require(_0xc6ae('0x2'));var db=require(_0xc6ae('0x3'))['db'];var logger=require(_0xc6ae('0x4'))('api');var jayson=require('jayson/promise');var amiClient=jayson[_0xc6ae('0x5')]['http']({'port':0x232a});var mailClient=jayson['client'][_0xc6ae('0x6')]({'port':0x232b});var routingClient=jayson[_0xc6ae('0x5')][_0xc6ae('0x6')]({'port':0x232c});function respondWithRpcPromise(_0x56daf4,_0x4ceaad,_0x448296){return new BPromise(function(_0x369fbe,_0x475168){var _0x2ea2ef=_0x448296?_0x448296:amiClient;return _0x2ea2ef[_0xc6ae('0x7')](_0x56daf4,_0x4ceaad)[_0xc6ae('0x8')](function(_0xbb43f7){if(_0xbb43f7[_0xc6ae('0x9')]){if(_0xbb43f7[_0xc6ae('0x9')][_0xc6ae('0xa')]===0x1f4){return _0x475168(_0xbb43f7['error']['message']);}return _0x369fbe(_0xbb43f7[_0xc6ae('0x9')][_0xc6ae('0xb')]);}else{_0x369fbe(_0xbb43f7[_0xc6ae('0xc')]);}})[_0xc6ae('0xd')](function(_0x57a932){_0x475168(_0x57a932);});});}function respondWithResult(_0xb8006d,_0x2fa5aa){_0x2fa5aa=_0x2fa5aa||0xc8;return function(_0x26c0c3){if(_0x26c0c3){return _0xb8006d[_0xc6ae('0xe')](_0x2fa5aa)[_0xc6ae('0xf')](_0x26c0c3);}return _0xb8006d['sendStatus'](0x194);};}function handleError(_0x3a280a,_0x35954d){_0x35954d=_0x35954d||0x1f4;return function(_0x1000e3){logger[_0xc6ae('0x9')](_0x1000e3[_0xc6ae('0x10')]);if(_0x1000e3['name']){delete _0x1000e3[_0xc6ae('0x11')];}_0x3a280a[_0xc6ae('0xe')](_0x35954d)['send'](_0x1000e3);};}function findById(_0x16c0df){return function(_0x3f90da){if(!_[_0xc6ae('0x12')](_0x16c0df)&&!_[_0xc6ae('0x12')](_0x3f90da)&&!_[_0xc6ae('0x12')](_0x3f90da[_0xc6ae('0x13')])){return _[_0xc6ae('0x14')](_0x3f90da[_0xc6ae('0x13')],function(_0x3892af){return _0x3892af['id']==_0x16c0df;});}return null;};}exports[_0xc6ae('0x15')]=function(_0x37d281,_0x1f39af){return respondWithRpcPromise('VoiceChannels',_0x37d281[_0xc6ae('0x16')])[_0xc6ae('0x8')](respondWithResult(_0x1f39af,null))[_0xc6ae('0xd')](handleError(_0x1f39af,null));};exports['voiceChannelMixMonitor']=function(_0x5d7417,_0x3e39bf){return respondWithRpcPromise(_0xc6ae('0x17'),_[_0xc6ae('0x18')](_0x5d7417[_0xc6ae('0x16')],_0x5d7417[_0xc6ae('0x19')]))['then'](respondWithResult(_0x3e39bf,null))[_0xc6ae('0xd')](handleError(_0x3e39bf,null));};exports[_0xc6ae('0x1a')]=function(_0x285d17,_0xffb878){return respondWithRpcPromise(_0xc6ae('0x1b'),_[_0xc6ae('0x18')](_0x285d17[_0xc6ae('0x16')],_0x285d17[_0xc6ae('0x19')]))[_0xc6ae('0x8')](respondWithResult(_0xffb878,null))[_0xc6ae('0xd')](handleError(_0xffb878,null));};exports['voiceQueues']=function(_0x288b00,_0x107957){return respondWithRpcPromise('VoiceQueues',_0x288b00[_0xc6ae('0x16')])[_0xc6ae('0x8')](respondWithResult(_0x107957,null))[_0xc6ae('0xd')](handleError(_0x107957,null));};exports[_0xc6ae('0x1c')]=function(_0x435add,_0xf3836f){return respondWithRpcPromise('VoiceQueues',_0x435add['query'])[_0xc6ae('0x8')](findById(_0x435add[_0xc6ae('0x19')]['id']))[_0xc6ae('0x8')](respondWithResult(_0xf3836f,null))[_0xc6ae('0xd')](handleError(_0xf3836f,null));};exports['voiceQueuesPreview']=function(_0x3a0cbc,_0x323581){return respondWithRpcPromise(_0xc6ae('0x1d'),_['merge'](_0x3a0cbc[_0xc6ae('0x16')],_0x3a0cbc[_0xc6ae('0x19')]))[_0xc6ae('0x8')](respondWithResult(_0x323581,null))[_0xc6ae('0xd')](handleError(_0x323581,null));};exports[_0xc6ae('0x1e')]=function(_0xbbc5a0,_0x9e2d1f){return respondWithRpcPromise('VoiceQueuesChannels',_0xbbc5a0[_0xc6ae('0x16')])[_0xc6ae('0x8')](respondWithResult(_0x9e2d1f,null))[_0xc6ae('0xd')](handleError(_0x9e2d1f,null));};exports[_0xc6ae('0x1f')]=function(_0x9d349d,_0x357ea9){return respondWithRpcPromise(_0xc6ae('0x20'),_['merge'](_0x9d349d[_0xc6ae('0x16')],_0x9d349d[_0xc6ae('0x19')]))['then'](respondWithResult(_0x357ea9,null))[_0xc6ae('0xd')](handleError(_0x357ea9,null));};exports[_0xc6ae('0x21')]=function(_0x335356,_0x5f1945){return respondWithRpcPromise(_0xc6ae('0x22'),_['merge'](_0x335356[_0xc6ae('0x16')],_0x335356['params']))['then'](respondWithResult(_0x5f1945,null))['catch'](handleError(_0x5f1945,null));};exports[_0xc6ae('0x23')]=function(_0x47e1ab,_0x4fb0ed){return respondWithRpcPromise(_0xc6ae('0x24'),_[_0xc6ae('0x18')](_0x47e1ab[_0xc6ae('0x16')],_0x47e1ab[_0xc6ae('0x19')]))[_0xc6ae('0x8')](respondWithResult(_0x4fb0ed,null))[_0xc6ae('0xd')](handleError(_0x4fb0ed,null));};exports['outbound']=function(_0x2eeb9e,_0x5f2a55){return respondWithRpcPromise('Outbound',_0x2eeb9e[_0xc6ae('0x16')])['then'](respondWithResult(_0x5f2a55,null))[_0xc6ae('0xd')](handleError(_0x5f2a55,null));};exports['outboundChannels']=function(_0x48dfff,_0x1eb65e){return respondWithRpcPromise(_0xc6ae('0x25'),_0x48dfff[_0xc6ae('0x16')])['then'](respondWithResult(_0x1eb65e,null))[_0xc6ae('0xd')](handleError(_0x1eb65e,null));};exports[_0xc6ae('0x26')]=function(_0x44d7b8,_0x4cdc5f){var _0x446a19;return respondWithRpcPromise(_0xc6ae('0x27'),_0x44d7b8[_0xc6ae('0x16')])[_0xc6ae('0x8')](function(_0x5cb494){_0x446a19=_0x5cb494;return respondWithRpcPromise(_0xc6ae('0x27'),_0x44d7b8[_0xc6ae('0x16')],routingClient);})[_0xc6ae('0x8')](function(_0x5d3e7f){return _[_0xc6ae('0x18')]({},_0x5d3e7f,_0x446a19);})[_0xc6ae('0x8')](respondWithResult(_0x4cdc5f,null))[_0xc6ae('0xd')](handleError(_0x4cdc5f,null));};exports[_0xc6ae('0x28')]=function(_0x3e8254,_0x1d92b6){if(_0x3e8254[_0xc6ae('0x29')]&&_0x3e8254[_0xc6ae('0x29')][_0xc6ae('0x2a')]&&_0x3e8254['user']&&_0x3e8254[_0xc6ae('0x2b')][_0xc6ae('0x11')]){for(var _0x5b6391 in _0x3e8254[_0xc6ae('0x29')][_0xc6ae('0x2a')]){if(_0x3e8254['body'][_0xc6ae('0x2a')][_0xc6ae('0x2c')](_0x5b6391)){db[_0xc6ae('0x2d')][_0xc6ae('0x2e')]({'where':{'channel':_0x5b6391,'membername':_0x3e8254[_0xc6ae('0x2b')][_0xc6ae('0x11')],'type':_0xc6ae('0x2f'),'exitAt':null,'uniqueid':_0x3e8254[_0xc6ae('0x29')][_0xc6ae('0x2a')][_0x5b6391]&&_0x3e8254[_0xc6ae('0x29')][_0xc6ae('0x2a')][_0x5b6391]['length']?{'$notIn':_0x3e8254[_0xc6ae('0x29')][_0xc6ae('0x2a')][_0x5b6391]}:{'$ne':null}}})[_0xc6ae('0x8')](function(_0x5a8c69){var _0x2a95b4=moment()['format'](_0xc6ae('0x30'));for(var _0x160259=0x0,_0x23673d=_0x5a8c69[_0xc6ae('0x31')];_0x160259<_0x23673d;_0x160259+=0x1){_0x5a8c69[_0x160259]['updateAttributes']({'exitAt':_0x2a95b4});}});for(var _0x5add3e=0x0;_0x5add3e<_0x3e8254['body']['interaction'][_0x5b6391][_0xc6ae('0x31')];_0x5add3e+=0x1){db[_0xc6ae('0x2d')][_0xc6ae('0x32')]({'where':{'channel':_0x5b6391,'membername':_0x3e8254[_0xc6ae('0x2b')][_0xc6ae('0x11')],'type':'INTERACTION','uniqueid':_0x3e8254[_0xc6ae('0x29')]['interaction'][_0x5b6391][_0x5add3e],'exitAt':null},'defaults':{'channel':_0x5b6391,'membername':_0x3e8254['user'][_0xc6ae('0x11')],'interface':_['isNil'](_0x3e8254[_0xc6ae('0x2b')][_0xc6ae('0x33')])?util[_0xc6ae('0x34')](_0xc6ae('0x35'),_0x3e8254['user'][_0xc6ae('0x11')]):_0x3e8254['user'][_0xc6ae('0x33')],'type':'INTERACTION','enterAt':moment()[_0xc6ae('0x34')](_0xc6ae('0x30')),'role':_0xc6ae('0x36'),'internal':_0x3e8254[_0xc6ae('0x2b')][_0xc6ae('0x37')],'uniqueid':_0x3e8254[_0xc6ae('0x29')][_0xc6ae('0x2a')][_0x5b6391][_0x5add3e]}});}}}}return respondWithRpcPromise(_0xc6ae('0x38'),{'id':_0x3e8254['params']['id'],'capacity':_0x3e8254[_0xc6ae('0x29')][_0xc6ae('0x39')]},routingClient)[_0xc6ae('0x8')](respondWithResult(_0x1d92b6,null))[_0xc6ae('0xd')](handleError(_0x1d92b6,null));};exports[_0xc6ae('0x3a')]=function(_0x489b9c,_0x5c8ebf){return respondWithRpcPromise(_0xc6ae('0x3b'),_0x489b9c[_0xc6ae('0x16')])[_0xc6ae('0x8')](respondWithResult(_0x5c8ebf,null))[_0xc6ae('0xd')](handleError(_0x5c8ebf,null));};exports[_0xc6ae('0x3c')]=function(_0x11d713,_0x31ad80){return respondWithRpcPromise(_0xc6ae('0x3d'),_0x11d713[_0xc6ae('0x16')])[_0xc6ae('0x8')](respondWithResult(_0x31ad80,null))[_0xc6ae('0xd')](handleError(_0x31ad80,null));};exports[_0xc6ae('0x3e')]=function(_0x3f9227,_0x4d8fc8){return respondWithRpcPromise(_0xc6ae('0x3f'),_0x3f9227['query'])[_0xc6ae('0x8')](respondWithResult(_0x4d8fc8,null))[_0xc6ae('0xd')](handleError(_0x4d8fc8,null));};exports[_0xc6ae('0x40')]=function(_0x2ddd94,_0x1297f2){return respondWithRpcPromise(_0xc6ae('0x41'),_0x2ddd94['query'],routingClient)[_0xc6ae('0x8')](respondWithResult(_0x1297f2,null))[_0xc6ae('0xd')](handleError(_0x1297f2,null));};exports['showChatQueues']=function(_0x1b73ab,_0x223b19){return respondWithRpcPromise('ChatQueues',_0x1b73ab['query'],routingClient)[_0xc6ae('0x8')](findById(_0x1b73ab[_0xc6ae('0x19')]['id']))['then'](respondWithResult(_0x223b19,null))[_0xc6ae('0xd')](handleError(_0x223b19,null));};exports['mailQueues']=function(_0x473df6,_0x530e2a){return respondWithRpcPromise(_0xc6ae('0x42'),_0x473df6['query'],routingClient)[_0xc6ae('0x8')](respondWithResult(_0x530e2a,null))[_0xc6ae('0xd')](handleError(_0x530e2a,null));};exports[_0xc6ae('0x43')]=function(_0x43a514,_0x3743f4){return respondWithRpcPromise('MailQueues',_0x43a514['query'],routingClient)[_0xc6ae('0x8')](findById(_0x43a514[_0xc6ae('0x19')]['id']))[_0xc6ae('0x8')](respondWithResult(_0x3743f4,null))['catch'](handleError(_0x3743f4,null));};exports['mailAccounts']=function(_0x1df1d3,_0x3af49e){return respondWithRpcPromise(_0xc6ae('0x44'),_0x1df1d3[_0xc6ae('0x16')],mailClient)['then'](respondWithResult(_0x3af49e,null))[_0xc6ae('0xd')](handleError(_0x3af49e,null));};exports[_0xc6ae('0x45')]=function(_0x1c9d84,_0x41311f){return respondWithRpcPromise(_0xc6ae('0x46'),_0x1c9d84[_0xc6ae('0x16')],routingClient)[_0xc6ae('0x8')](respondWithResult(_0x41311f,null))['catch'](handleError(_0x41311f,null));};exports[_0xc6ae('0x47')]=function(_0x45bbb3,_0x56eaaa){return respondWithRpcPromise('OpenchannelQueues',_0x45bbb3[_0xc6ae('0x16')],routingClient)[_0xc6ae('0x8')](findById(_0x45bbb3[_0xc6ae('0x19')]['id']))[_0xc6ae('0x8')](respondWithResult(_0x56eaaa,null))['catch'](handleError(_0x56eaaa,null));};exports[_0xc6ae('0x48')]=function(_0x14ddfd,_0x473a59){return respondWithRpcPromise('SmsQueues',_0x14ddfd['query'],routingClient)[_0xc6ae('0x8')](respondWithResult(_0x473a59,null))[_0xc6ae('0xd')](handleError(_0x473a59,null));};exports['showSmsQueues']=function(_0x1b4c98,_0x9c86f0){return respondWithRpcPromise(_0xc6ae('0x49'),_0x1b4c98['query'],routingClient)['then'](findById(_0x1b4c98[_0xc6ae('0x19')]['id']))[_0xc6ae('0x8')](respondWithResult(_0x9c86f0,null))[_0xc6ae('0xd')](handleError(_0x9c86f0,null));};exports[_0xc6ae('0x4a')]=function(_0x44b4a3,_0x428eed){return respondWithRpcPromise(_0xc6ae('0x4b'),_0x44b4a3[_0xc6ae('0x16')],routingClient)['then'](respondWithResult(_0x428eed,null))[_0xc6ae('0xd')](handleError(_0x428eed,null));};exports[_0xc6ae('0x4c')]=function(_0x49b44a,_0x5b6842){return respondWithRpcPromise('WhatsappQueues',_0x49b44a[_0xc6ae('0x16')],routingClient)[_0xc6ae('0x8')](findById(_0x49b44a[_0xc6ae('0x19')]['id']))[_0xc6ae('0x8')](respondWithResult(_0x5b6842,null))['catch'](handleError(_0x5b6842,null));};exports[_0xc6ae('0x4d')]=function(_0x3bf5f2,_0x4d7346){return respondWithRpcPromise(_0xc6ae('0x4e'),_0x3bf5f2[_0xc6ae('0x16')],routingClient)[_0xc6ae('0x8')](respondWithResult(_0x4d7346,null))['catch'](handleError(_0x4d7346,null));};exports['showFaxQueues']=function(_0x45c247,_0x20e382){return respondWithRpcPromise(_0xc6ae('0x4e'),_0x45c247[_0xc6ae('0x16')],routingClient)[_0xc6ae('0x8')](findById(_0x45c247[_0xc6ae('0x19')]['id']))[_0xc6ae('0x8')](respondWithResult(_0x20e382,null))[_0xc6ae('0xd')](handleError(_0x20e382,null));};exports['faxAccounts']=function(_0x47b840,_0x1d693e){return respondWithRpcPromise(_0xc6ae('0x4f'),_0x47b840[_0xc6ae('0x16')])[_0xc6ae('0x8')](respondWithResult(_0x1d693e,null))['catch'](handleError(_0x1d693e,null));};exports['chatQueuesWaitingInteractions']=function(_0x391aa5,_0x25415d){return respondWithRpcPromise(_0xc6ae('0x50'),_0x391aa5[_0xc6ae('0x16')],routingClient)['then'](respondWithResult(_0x25415d,null))[_0xc6ae('0xd')](handleError(_0x25415d,null));};exports[_0xc6ae('0x51')]=function(_0x301789,_0x474055){return respondWithRpcPromise('MailQueuesWaitingInteractions',_0x301789[_0xc6ae('0x16')],routingClient)[_0xc6ae('0x8')](respondWithResult(_0x474055,null))[_0xc6ae('0xd')](handleError(_0x474055,null));};exports[_0xc6ae('0x52')]=function(_0x4a4739,_0x5f58ef){return respondWithRpcPromise(_0xc6ae('0x53'),_0x4a4739[_0xc6ae('0x16')],routingClient)[_0xc6ae('0x8')](respondWithResult(_0x5f58ef,null))['catch'](handleError(_0x5f58ef,null));};exports[_0xc6ae('0x54')]=function(_0x5ab076,_0x1fbcef){return respondWithRpcPromise('SmsQueuesWaitingInteractions',_0x5ab076[_0xc6ae('0x16')],routingClient)[_0xc6ae('0x8')](respondWithResult(_0x1fbcef,null))[_0xc6ae('0xd')](handleError(_0x1fbcef,null));};exports[_0xc6ae('0x55')]=function(_0x2670cb,_0x3b2a7a){return respondWithRpcPromise(_0xc6ae('0x56'),_0x2670cb[_0xc6ae('0x16')],routingClient)[_0xc6ae('0x8')](respondWithResult(_0x3b2a7a,null))[_0xc6ae('0xd')](handleError(_0x3b2a7a,null));};exports['faxQueuesWaitingInteractions']=function(_0x4056d6,_0x21845f){return respondWithRpcPromise(_0xc6ae('0x57'),_0x4056d6['query'],routingClient)['then'](respondWithResult(_0x21845f,null))[_0xc6ae('0xd')](handleError(_0x21845f,null));};exports[_0xc6ae('0x58')]=function(_0x47b194){return function(_0x4b2636,_0x4f5f22){var _0x5f50da,_0x4819f8;var _0x5ed0c3=_['capitalize'](_0x47b194);var _0x2c5bed=_0x47b194===_0xc6ae('0x59')?_0xc6ae('0x5a'):_0xc6ae('0x5b');return db[_0x5ed0c3+_0xc6ae('0x5c')][_0xc6ae('0x5d')]({'raw':!![],'where':{'id':_0x4b2636[_0xc6ae('0x19')]['id']}})[_0xc6ae('0x8')](function(_0x1bb85a){if(_['isNil'](_0x1bb85a)){throw new Error(_0x5ed0c3+'\x20Queue\x20not\x20found');}_0x5f50da=_0x1bb85a;return db[_0x5ed0c3+_0xc6ae('0x5e')]['findOne']({'where':{'id':_0x4b2636[_0xc6ae('0x29')][_0xc6ae('0x5f')]},'include':[{'model':db[_0x5ed0c3+_0xc6ae('0x60')],'as':'Interaction'},{'model':db[_0x5ed0c3+_0x2c5bed],'as':_0xc6ae('0x5b')}]});})[_0xc6ae('0x8')](function(_0x3becba){if(_['isNil'](_0x3becba)){throw new Error(_0x5ed0c3+_0xc6ae('0x61'));}_0x4819f8=_0x3becba;return _0x3becba[_0xc6ae('0x62')]({'read':0x0,'readAt':null,'UserId':null});})[_0xc6ae('0x8')](function(){var _0x497c24={'uniqueid':_0x47b194+'.'+_0x4819f8['id']+'.'+_0x4819f8['Interaction']['id'],'FromUserId':_0x4b2636['user']['id'],'type':_0xc6ae('0x63')};_0x497c24[_0x5ed0c3+_0xc6ae('0x64')]=_0x4819f8['id'];_0x497c24[_0x5ed0c3+_0xc6ae('0x65')]=_0x4819f8[_0xc6ae('0x60')]['id'];_0x497c24['From'+_0x5ed0c3+_0x2c5bed+'Id']=_0x4819f8[_0xc6ae('0x5b')]['id'];_0x497c24['To'+_0x5ed0c3+_0xc6ae('0x66')]=_0x5f50da['id'];return db[_0x5ed0c3+_0xc6ae('0x67')]['create'](_0x497c24);})['then'](function(){return respondWithRpcPromise('Start',{'channel':_0x47b194,'interaction':_0x4819f8['Interaction'],'message':_0x4819f8,'account':_0x4819f8['Account'],'applications':[{'id':0x0,'priority':0x1,'app':_0xc6ae('0x63'),'appdata':_0x5f50da[_0xc6ae('0x11')]+','+(_0x4819f8['Account']['queueTransferTimeout']||0x12c),'interval':_0xc6ae('0x68')}]},routingClient);})['then'](respondWithResult(_0x4f5f22,null))[_0xc6ae('0xd')](handleError(_0x4f5f22,null));};};exports[_0xc6ae('0x69')]=function(_0x19bd04,_0xab491f){var _0x3d4a63,_0x23e648;if(_['isNil'](_0x19bd04[_0xc6ae('0x29')][_0xc6ae('0x6a')])){throw new Error(_0xc6ae('0x6b'));}var _0x1c11a9=_0x19bd04['body'][_0xc6ae('0x6a')];var _0x56513e=_['capitalize'](_0x1c11a9);var _0x3f4193=_0x1c11a9===_0xc6ae('0x59')?_0xc6ae('0x5a'):_0xc6ae('0x5b');return db[_0xc6ae('0x6c')][_0xc6ae('0x5d')]({'raw':!![],'where':{'id':_0x19bd04['params']['id'],'role':_0xc6ae('0x36')}})[_0xc6ae('0x8')](function(_0x16d582){if(_[_0xc6ae('0x12')](_0x16d582)){throw new Error('Agent\x20not\x20found');}_0x3d4a63=_0x16d582;return db[_0x56513e+_0xc6ae('0x5e')][_0xc6ae('0x5d')]({'where':{'id':_0x19bd04[_0xc6ae('0x29')]['messageId']},'include':[{'model':db[_0x56513e+_0xc6ae('0x60')],'as':_0xc6ae('0x60')},{'model':db[_0x56513e+_0x3f4193],'as':_0xc6ae('0x5b')}]});})['then'](function(_0x100589){if(_[_0xc6ae('0x12')](_0x100589)){throw new Error(_0x56513e+_0xc6ae('0x61'));}_0x23e648=_0x100589;return _0x100589[_0xc6ae('0x62')]({'read':0x0,'readAt':null,'UserId':null});})['then'](function(){var _0x4b00ba={'uniqueid':_0x1c11a9+'.'+_0x23e648['id']+'.'+_0x23e648['Interaction']['id'],'FromUserId':_0x19bd04[_0xc6ae('0x2b')]['id'],'type':_0xc6ae('0x63'),'ToUserId':_0x3d4a63['id']};_0x4b00ba[_0x56513e+_0xc6ae('0x64')]=_0x23e648['id'];_0x4b00ba[_0x56513e+_0xc6ae('0x65')]=_0x23e648[_0xc6ae('0x60')]['id'];_0x4b00ba[_0xc6ae('0x6d')+_0x56513e+_0x3f4193+'Id']=_0x23e648[_0xc6ae('0x5b')]['id'];return db[_0x56513e+'TransferReport'][_0xc6ae('0x6e')](_0x4b00ba);})[_0xc6ae('0x8')](function(){return respondWithRpcPromise('Start',{'channel':_0x1c11a9,'interaction':_0x23e648[_0xc6ae('0x60')],'message':_0x23e648,'account':_0x23e648[_0xc6ae('0x5b')],'applications':[{'id':0x0,'priority':0x1,'app':_0xc6ae('0x36'),'appdata':_0x3d4a63[_0xc6ae('0x11')]+','+(_0x23e648[_0xc6ae('0x5b')][_0xc6ae('0x6f')]||0x12c),'interval':_0xc6ae('0x68')}]},routingClient);})['then'](respondWithResult(_0xab491f,null))[_0xc6ae('0xd')](handleError(_0xab491f,null));}; \ No newline at end of file +var _0x43d8=['InteractionId','From','TransferReport','create','Start','*,*,*,*','agentNotify','channel','Channel\x20field\x20is\x20mandatory','User','Message','update','MessageId','agentTransferTimeout','bluebird','moment','lodash','../../mysqldb','../../config/logger','api','http','client','request','error','code','result','status','sendStatus','name','send','isNil','rows','find','voiceChannels','query','catch','voiceChannelMixMonitor','VoiceChannelMixMonitor','params','then','voiceChannelStopMixMonitor','merge','voiceQueues','VoiceQueues','showVoiceQueues','voiceQueuesPreview','voiceQueuesChannels','VoiceQueuesChannels','voiceQueuesChannel','VoiceQueuesChannel','voiceQueuesChannelHangup','VoiceQueuesChannelHangup','VoiceQueuesChannelRedirect','outbound','Outbound','outboundChannels','OutboundChannels','Agents','body','interaction','user','hasOwnProperty','MemberReport','findAll','length','YYYY-MM-DD\x20HH:mm:ss','updateAttributes','INTERACTION','format','SIP/%s','interface','agent','internal','capacity','telephones','Telephones','trunks','Trunks','campaigns','chatQueues','ChatQueues','showChatQueues','mailQueues','showMailQueues','MailAccounts','OpenchannelQueues','smsQueues','SmsQueues','showSmsQueues','showWhatsappQueues','WhatsappQueues','faxQueues','FaxQueues','faxAccounts','FaxAccounts','chatQueuesWaitingInteractions','ChatQueuesWaitingInteractions','mailQueuesWaitingInteractions','MailQueuesWaitingInteractions','OpenchannelQueuesWaitingInteractions','smsQueuesWaitingInteractions','whatsappQueuesWaitingInteractions','faxQueuesWaitingInteractions','queueNotify','capitalize','chat','Website','Account','findOne','messageId','Interaction','\x20Message\x20not\x20found','queue'];(function(_0x1891df,_0x13f014){var _0x4547d6=function(_0x2b222e){while(--_0x2b222e){_0x1891df['push'](_0x1891df['shift']());}};_0x4547d6(++_0x13f014);}(_0x43d8,0x1d2));var _0x843d=function(_0x4fc80b,_0xfe1b3d){_0x4fc80b=_0x4fc80b-0x0;var _0x119dba=_0x43d8[_0x4fc80b];return _0x119dba;};'use strict';var BPromise=require(_0x843d('0x0'));var moment=require(_0x843d('0x1'));var _=require(_0x843d('0x2'));var util=require('util');var db=require(_0x843d('0x3'))['db'];var logger=require(_0x843d('0x4'))(_0x843d('0x5'));var jayson=require('jayson/promise');var amiClient=jayson['client'][_0x843d('0x6')]({'port':0x232a});var mailClient=jayson['client']['http']({'port':0x232b});var routingClient=jayson[_0x843d('0x7')][_0x843d('0x6')]({'port':0x232c});function respondWithRpcPromise(_0x5ee272,_0x4dfdc4,_0x460176){return new BPromise(function(_0x1857dc,_0x1d151a){var _0x80ace5=_0x460176?_0x460176:amiClient;return _0x80ace5[_0x843d('0x8')](_0x5ee272,_0x4dfdc4)['then'](function(_0x6e3468){if(_0x6e3468[_0x843d('0x9')]){if(_0x6e3468[_0x843d('0x9')][_0x843d('0xa')]===0x1f4){return _0x1d151a(_0x6e3468['error']['message']);}return _0x1857dc(_0x6e3468[_0x843d('0x9')]['message']);}else{_0x1857dc(_0x6e3468[_0x843d('0xb')]);}})['catch'](function(_0x4bf9aa){_0x1d151a(_0x4bf9aa);});});}function respondWithResult(_0x3ccd0e,_0x5f539c){_0x5f539c=_0x5f539c||0xc8;return function(_0x4beadc){if(_0x4beadc){return _0x3ccd0e[_0x843d('0xc')](_0x5f539c)['json'](_0x4beadc);}return _0x3ccd0e[_0x843d('0xd')](0x194);};}function handleError(_0x5d8908,_0xa81b96){_0xa81b96=_0xa81b96||0x1f4;return function(_0xabe91c){logger[_0x843d('0x9')](_0xabe91c['stack']);if(_0xabe91c['name']){delete _0xabe91c[_0x843d('0xe')];}_0x5d8908[_0x843d('0xc')](_0xa81b96)[_0x843d('0xf')](_0xabe91c);};}function findById(_0x12aa72){return function(_0x142742){if(!_[_0x843d('0x10')](_0x12aa72)&&!_[_0x843d('0x10')](_0x142742)&&!_[_0x843d('0x10')](_0x142742[_0x843d('0x11')])){return _[_0x843d('0x12')](_0x142742[_0x843d('0x11')],function(_0x2c71a3){return _0x2c71a3['id']==_0x12aa72;});}return null;};}exports[_0x843d('0x13')]=function(_0x2cd5cd,_0x5792c5){return respondWithRpcPromise('VoiceChannels',_0x2cd5cd[_0x843d('0x14')])['then'](respondWithResult(_0x5792c5,null))[_0x843d('0x15')](handleError(_0x5792c5,null));};exports[_0x843d('0x16')]=function(_0x46777a,_0x23a5bf){return respondWithRpcPromise(_0x843d('0x17'),_['merge'](_0x46777a[_0x843d('0x14')],_0x46777a[_0x843d('0x18')]))[_0x843d('0x19')](respondWithResult(_0x23a5bf,null))[_0x843d('0x15')](handleError(_0x23a5bf,null));};exports[_0x843d('0x1a')]=function(_0x1c1dfd,_0x253e62){return respondWithRpcPromise('VoiceChannelStopMixMonitor',_[_0x843d('0x1b')](_0x1c1dfd['query'],_0x1c1dfd[_0x843d('0x18')]))['then'](respondWithResult(_0x253e62,null))['catch'](handleError(_0x253e62,null));};exports[_0x843d('0x1c')]=function(_0x2e300d,_0x14884e){return respondWithRpcPromise(_0x843d('0x1d'),_0x2e300d[_0x843d('0x14')])[_0x843d('0x19')](respondWithResult(_0x14884e,null))[_0x843d('0x15')](handleError(_0x14884e,null));};exports[_0x843d('0x1e')]=function(_0x249edb,_0x4fa9fc){return respondWithRpcPromise(_0x843d('0x1d'),_0x249edb[_0x843d('0x14')])[_0x843d('0x19')](findById(_0x249edb['params']['id']))[_0x843d('0x19')](respondWithResult(_0x4fa9fc,null))['catch'](handleError(_0x4fa9fc,null));};exports[_0x843d('0x1f')]=function(_0x1af99f,_0x3b0f24){return respondWithRpcPromise('VoiceQueuesPreview',_[_0x843d('0x1b')](_0x1af99f[_0x843d('0x14')],_0x1af99f['params']))[_0x843d('0x19')](respondWithResult(_0x3b0f24,null))[_0x843d('0x15')](handleError(_0x3b0f24,null));};exports[_0x843d('0x20')]=function(_0x3a0123,_0x2fac31){return respondWithRpcPromise(_0x843d('0x21'),_0x3a0123[_0x843d('0x14')])[_0x843d('0x19')](respondWithResult(_0x2fac31,null))['catch'](handleError(_0x2fac31,null));};exports[_0x843d('0x22')]=function(_0x18fa6f,_0x298a1f){return respondWithRpcPromise(_0x843d('0x23'),_[_0x843d('0x1b')](_0x18fa6f[_0x843d('0x14')],_0x18fa6f['params']))[_0x843d('0x19')](respondWithResult(_0x298a1f,null))[_0x843d('0x15')](handleError(_0x298a1f,null));};exports[_0x843d('0x24')]=function(_0x4e4ae1,_0x56530a){return respondWithRpcPromise(_0x843d('0x25'),_['merge'](_0x4e4ae1[_0x843d('0x14')],_0x4e4ae1[_0x843d('0x18')]))[_0x843d('0x19')](respondWithResult(_0x56530a,null))[_0x843d('0x15')](handleError(_0x56530a,null));};exports['voiceQueuesChannelRedirect']=function(_0x6e4e80,_0x40beb7){return respondWithRpcPromise(_0x843d('0x26'),_[_0x843d('0x1b')](_0x6e4e80[_0x843d('0x14')],_0x6e4e80['params']))[_0x843d('0x19')](respondWithResult(_0x40beb7,null))['catch'](handleError(_0x40beb7,null));};exports[_0x843d('0x27')]=function(_0x4d7afc,_0x18a4d5){return respondWithRpcPromise(_0x843d('0x28'),_0x4d7afc[_0x843d('0x14')])[_0x843d('0x19')](respondWithResult(_0x18a4d5,null))[_0x843d('0x15')](handleError(_0x18a4d5,null));};exports[_0x843d('0x29')]=function(_0xdeb08e,_0x18a86c){return respondWithRpcPromise(_0x843d('0x2a'),_0xdeb08e[_0x843d('0x14')])[_0x843d('0x19')](respondWithResult(_0x18a86c,null))['catch'](handleError(_0x18a86c,null));};exports['agents']=function(_0x55aa85,_0x242122){var _0x1dbaf8;return respondWithRpcPromise(_0x843d('0x2b'),_0x55aa85[_0x843d('0x14')])[_0x843d('0x19')](function(_0x4842cc){_0x1dbaf8=_0x4842cc;return respondWithRpcPromise(_0x843d('0x2b'),_0x55aa85[_0x843d('0x14')],routingClient);})[_0x843d('0x19')](function(_0x25fac5){return _[_0x843d('0x1b')]({},_0x25fac5,_0x1dbaf8);})[_0x843d('0x19')](respondWithResult(_0x242122,null))[_0x843d('0x15')](handleError(_0x242122,null));};exports['agentCapacity']=function(_0x24e679,_0x39f8c6){if(_0x24e679[_0x843d('0x2c')]&&_0x24e679[_0x843d('0x2c')][_0x843d('0x2d')]&&_0x24e679[_0x843d('0x2e')]&&_0x24e679['user'][_0x843d('0xe')]){for(var _0x3bdd9a in _0x24e679[_0x843d('0x2c')][_0x843d('0x2d')]){if(_0x24e679['body'][_0x843d('0x2d')][_0x843d('0x2f')](_0x3bdd9a)){db[_0x843d('0x30')][_0x843d('0x31')]({'where':{'channel':_0x3bdd9a,'membername':_0x24e679[_0x843d('0x2e')]['name'],'type':'INTERACTION','exitAt':null,'uniqueid':_0x24e679[_0x843d('0x2c')]['interaction'][_0x3bdd9a]&&_0x24e679['body'][_0x843d('0x2d')][_0x3bdd9a][_0x843d('0x32')]?{'$notIn':_0x24e679[_0x843d('0x2c')][_0x843d('0x2d')][_0x3bdd9a]}:{'$ne':null}}})[_0x843d('0x19')](function(_0x31136c){var _0x586f4f=moment()['format'](_0x843d('0x33'));for(var _0x14a51b=0x0,_0x189a25=_0x31136c[_0x843d('0x32')];_0x14a51b<_0x189a25;_0x14a51b+=0x1){_0x31136c[_0x14a51b][_0x843d('0x34')]({'exitAt':_0x586f4f});}});for(var _0x5f1145=0x0;_0x5f1145<_0x24e679[_0x843d('0x2c')]['interaction'][_0x3bdd9a]['length'];_0x5f1145+=0x1){db[_0x843d('0x30')]['findOrCreate']({'where':{'channel':_0x3bdd9a,'membername':_0x24e679[_0x843d('0x2e')][_0x843d('0xe')],'type':_0x843d('0x35'),'uniqueid':_0x24e679['body']['interaction'][_0x3bdd9a][_0x5f1145],'exitAt':null},'defaults':{'channel':_0x3bdd9a,'membername':_0x24e679['user'][_0x843d('0xe')],'interface':_['isNil'](_0x24e679[_0x843d('0x2e')]['interface'])?util[_0x843d('0x36')](_0x843d('0x37'),_0x24e679[_0x843d('0x2e')]['name']):_0x24e679['user'][_0x843d('0x38')],'type':'INTERACTION','enterAt':moment()[_0x843d('0x36')](_0x843d('0x33')),'role':_0x843d('0x39'),'internal':_0x24e679[_0x843d('0x2e')][_0x843d('0x3a')],'uniqueid':_0x24e679[_0x843d('0x2c')][_0x843d('0x2d')][_0x3bdd9a][_0x5f1145]}});}}}}return respondWithRpcPromise('AgentCapacity',{'id':_0x24e679['params']['id'],'capacity':_0x24e679['body'][_0x843d('0x3b')]},routingClient)[_0x843d('0x19')](respondWithResult(_0x39f8c6,null))[_0x843d('0x15')](handleError(_0x39f8c6,null));};exports[_0x843d('0x3c')]=function(_0x5244ff,_0x5dcd2d){return respondWithRpcPromise(_0x843d('0x3d'),_0x5244ff[_0x843d('0x14')])[_0x843d('0x19')](respondWithResult(_0x5dcd2d,null))[_0x843d('0x15')](handleError(_0x5dcd2d,null));};exports[_0x843d('0x3e')]=function(_0x493fa1,_0x2c67aa){return respondWithRpcPromise(_0x843d('0x3f'),_0x493fa1[_0x843d('0x14')])[_0x843d('0x19')](respondWithResult(_0x2c67aa,null))['catch'](handleError(_0x2c67aa,null));};exports[_0x843d('0x40')]=function(_0x41fe26,_0xb11fa){return respondWithRpcPromise('Campaigns',_0x41fe26['query'])[_0x843d('0x19')](respondWithResult(_0xb11fa,null))[_0x843d('0x15')](handleError(_0xb11fa,null));};exports[_0x843d('0x41')]=function(_0x18dbea,_0x5d35cc){return respondWithRpcPromise(_0x843d('0x42'),_0x18dbea[_0x843d('0x14')],routingClient)[_0x843d('0x19')](respondWithResult(_0x5d35cc,null))[_0x843d('0x15')](handleError(_0x5d35cc,null));};exports[_0x843d('0x43')]=function(_0x243e19,_0x2fcdd1){return respondWithRpcPromise(_0x843d('0x42'),_0x243e19[_0x843d('0x14')],routingClient)[_0x843d('0x19')](findById(_0x243e19[_0x843d('0x18')]['id']))[_0x843d('0x19')](respondWithResult(_0x2fcdd1,null))[_0x843d('0x15')](handleError(_0x2fcdd1,null));};exports[_0x843d('0x44')]=function(_0x54c35a,_0x290f21){return respondWithRpcPromise('MailQueues',_0x54c35a[_0x843d('0x14')],routingClient)[_0x843d('0x19')](respondWithResult(_0x290f21,null))[_0x843d('0x15')](handleError(_0x290f21,null));};exports[_0x843d('0x45')]=function(_0x26c7ae,_0x54b1fd){return respondWithRpcPromise('MailQueues',_0x26c7ae[_0x843d('0x14')],routingClient)[_0x843d('0x19')](findById(_0x26c7ae['params']['id']))[_0x843d('0x19')](respondWithResult(_0x54b1fd,null))[_0x843d('0x15')](handleError(_0x54b1fd,null));};exports['mailAccounts']=function(_0x83d330,_0x3b7cb7){return respondWithRpcPromise(_0x843d('0x46'),_0x83d330[_0x843d('0x14')],mailClient)['then'](respondWithResult(_0x3b7cb7,null))[_0x843d('0x15')](handleError(_0x3b7cb7,null));};exports['openchannelQueues']=function(_0x3d8ade,_0x2dd09b){return respondWithRpcPromise(_0x843d('0x47'),_0x3d8ade['query'],routingClient)[_0x843d('0x19')](respondWithResult(_0x2dd09b,null))[_0x843d('0x15')](handleError(_0x2dd09b,null));};exports['showOpenchannelQueues']=function(_0x27ccdf,_0x1d6f73){return respondWithRpcPromise(_0x843d('0x47'),_0x27ccdf[_0x843d('0x14')],routingClient)[_0x843d('0x19')](findById(_0x27ccdf[_0x843d('0x18')]['id']))[_0x843d('0x19')](respondWithResult(_0x1d6f73,null))['catch'](handleError(_0x1d6f73,null));};exports[_0x843d('0x48')]=function(_0xec551c,_0xd50335){return respondWithRpcPromise(_0x843d('0x49'),_0xec551c[_0x843d('0x14')],routingClient)[_0x843d('0x19')](respondWithResult(_0xd50335,null))[_0x843d('0x15')](handleError(_0xd50335,null));};exports[_0x843d('0x4a')]=function(_0x34736e,_0x162e55){return respondWithRpcPromise(_0x843d('0x49'),_0x34736e[_0x843d('0x14')],routingClient)[_0x843d('0x19')](findById(_0x34736e['params']['id']))[_0x843d('0x19')](respondWithResult(_0x162e55,null))['catch'](handleError(_0x162e55,null));};exports['whatsappQueues']=function(_0x357150,_0x2ec8b4){return respondWithRpcPromise('WhatsappQueues',_0x357150[_0x843d('0x14')],routingClient)[_0x843d('0x19')](respondWithResult(_0x2ec8b4,null))['catch'](handleError(_0x2ec8b4,null));};exports[_0x843d('0x4b')]=function(_0x178db5,_0x85b4b5){return respondWithRpcPromise(_0x843d('0x4c'),_0x178db5[_0x843d('0x14')],routingClient)[_0x843d('0x19')](findById(_0x178db5[_0x843d('0x18')]['id']))[_0x843d('0x19')](respondWithResult(_0x85b4b5,null))[_0x843d('0x15')](handleError(_0x85b4b5,null));};exports[_0x843d('0x4d')]=function(_0x13be56,_0x437bf2){return respondWithRpcPromise(_0x843d('0x4e'),_0x13be56[_0x843d('0x14')],routingClient)[_0x843d('0x19')](respondWithResult(_0x437bf2,null))[_0x843d('0x15')](handleError(_0x437bf2,null));};exports['showFaxQueues']=function(_0x2143dc,_0x1b5aee){return respondWithRpcPromise(_0x843d('0x4e'),_0x2143dc[_0x843d('0x14')],routingClient)[_0x843d('0x19')](findById(_0x2143dc[_0x843d('0x18')]['id']))[_0x843d('0x19')](respondWithResult(_0x1b5aee,null))['catch'](handleError(_0x1b5aee,null));};exports[_0x843d('0x4f')]=function(_0x57d5cf,_0x10e9d8){return respondWithRpcPromise(_0x843d('0x50'),_0x57d5cf[_0x843d('0x14')])[_0x843d('0x19')](respondWithResult(_0x10e9d8,null))[_0x843d('0x15')](handleError(_0x10e9d8,null));};exports[_0x843d('0x51')]=function(_0x4fbdd9,_0x178068){return respondWithRpcPromise(_0x843d('0x52'),_0x4fbdd9[_0x843d('0x14')],routingClient)[_0x843d('0x19')](respondWithResult(_0x178068,null))[_0x843d('0x15')](handleError(_0x178068,null));};exports[_0x843d('0x53')]=function(_0x3faf3f,_0x4918dc){return respondWithRpcPromise(_0x843d('0x54'),_0x3faf3f[_0x843d('0x14')],routingClient)[_0x843d('0x19')](respondWithResult(_0x4918dc,null))[_0x843d('0x15')](handleError(_0x4918dc,null));};exports['openchannelQueuesWaitingInteractions']=function(_0x4064d6,_0x142e83){return respondWithRpcPromise(_0x843d('0x55'),_0x4064d6[_0x843d('0x14')],routingClient)['then'](respondWithResult(_0x142e83,null))[_0x843d('0x15')](handleError(_0x142e83,null));};exports[_0x843d('0x56')]=function(_0x53f50a,_0x2a9333){return respondWithRpcPromise('SmsQueuesWaitingInteractions',_0x53f50a[_0x843d('0x14')],routingClient)[_0x843d('0x19')](respondWithResult(_0x2a9333,null))[_0x843d('0x15')](handleError(_0x2a9333,null));};exports[_0x843d('0x57')]=function(_0x19c039,_0x4da25c){return respondWithRpcPromise('WhatsappQueuesWaitingInteractions',_0x19c039[_0x843d('0x14')],routingClient)[_0x843d('0x19')](respondWithResult(_0x4da25c,null))[_0x843d('0x15')](handleError(_0x4da25c,null));};exports[_0x843d('0x58')]=function(_0x43048f,_0x2639c4){return respondWithRpcPromise('FaxQueuesWaitingInteractions',_0x43048f[_0x843d('0x14')],routingClient)[_0x843d('0x19')](respondWithResult(_0x2639c4,null))[_0x843d('0x15')](handleError(_0x2639c4,null));};exports[_0x843d('0x59')]=function(_0x5e0455){return function(_0x39a0d6,_0x2455f8){var _0x5285a4,_0x36c34c;var _0x2d2d97=_[_0x843d('0x5a')](_0x5e0455);var _0x4deb3c=_0x5e0455===_0x843d('0x5b')?_0x843d('0x5c'):_0x843d('0x5d');return db[_0x2d2d97+'Queue'][_0x843d('0x5e')]({'raw':!![],'where':{'id':_0x39a0d6[_0x843d('0x18')]['id']}})[_0x843d('0x19')](function(_0x45e80d){if(_['isNil'](_0x45e80d)){throw new Error(_0x2d2d97+'\x20Queue\x20not\x20found');}_0x5285a4=_0x45e80d;return db[_0x2d2d97+'Message'][_0x843d('0x5e')]({'where':{'id':_0x39a0d6[_0x843d('0x2c')][_0x843d('0x5f')]},'include':[{'model':db[_0x2d2d97+_0x843d('0x60')],'as':_0x843d('0x60')},{'model':db[_0x2d2d97+_0x4deb3c],'as':_0x843d('0x5d')}]});})[_0x843d('0x19')](function(_0x384361){if(_[_0x843d('0x10')](_0x384361)){throw new Error(_0x2d2d97+_0x843d('0x61'));}_0x36c34c=_0x384361;return _0x384361['update']({'read':0x0,'readAt':null,'UserId':null});})[_0x843d('0x19')](function(){var _0x483ae5={'uniqueid':_0x5e0455+'.'+_0x36c34c['id']+'.'+_0x36c34c[_0x843d('0x60')]['id'],'FromUserId':_0x39a0d6[_0x843d('0x2e')]['id'],'type':_0x843d('0x62')};_0x483ae5[_0x2d2d97+'MessageId']=_0x36c34c['id'];_0x483ae5[_0x2d2d97+_0x843d('0x63')]=_0x36c34c['Interaction']['id'];_0x483ae5[_0x843d('0x64')+_0x2d2d97+_0x4deb3c+'Id']=_0x36c34c[_0x843d('0x5d')]['id'];_0x483ae5['To'+_0x2d2d97+'QueueId']=_0x5285a4['id'];return db[_0x2d2d97+_0x843d('0x65')][_0x843d('0x66')](_0x483ae5);})[_0x843d('0x19')](function(){return respondWithRpcPromise(_0x843d('0x67'),{'channel':_0x5e0455,'interaction':_0x36c34c[_0x843d('0x60')],'message':_0x36c34c,'account':_0x36c34c[_0x843d('0x5d')],'applications':[{'id':0x0,'priority':0x1,'app':_0x843d('0x62'),'appdata':_0x5285a4[_0x843d('0xe')]+','+(_0x36c34c['Account']['queueTransferTimeout']||0x12c),'interval':_0x843d('0x68')}]},routingClient);})['then'](respondWithResult(_0x2455f8,null))[_0x843d('0x15')](handleError(_0x2455f8,null));};};exports[_0x843d('0x69')]=function(_0x3bef14,_0x4af7df){var _0x18d6b5,_0x248e50;if(_[_0x843d('0x10')](_0x3bef14[_0x843d('0x2c')][_0x843d('0x6a')])){throw new Error(_0x843d('0x6b'));}var _0x439da9=_0x3bef14[_0x843d('0x2c')]['channel'];var _0x1a62aa=_[_0x843d('0x5a')](_0x439da9);var _0x4e7ce4=_0x439da9===_0x843d('0x5b')?_0x843d('0x5c'):_0x843d('0x5d');return db[_0x843d('0x6c')][_0x843d('0x5e')]({'raw':!![],'where':{'id':_0x3bef14[_0x843d('0x18')]['id'],'role':_0x843d('0x39')}})[_0x843d('0x19')](function(_0x41853b){if(_[_0x843d('0x10')](_0x41853b)){throw new Error('Agent\x20not\x20found');}_0x18d6b5=_0x41853b;return db[_0x1a62aa+_0x843d('0x6d')]['findOne']({'where':{'id':_0x3bef14[_0x843d('0x2c')][_0x843d('0x5f')]},'include':[{'model':db[_0x1a62aa+_0x843d('0x60')],'as':_0x843d('0x60')},{'model':db[_0x1a62aa+_0x4e7ce4],'as':'Account'}]});})[_0x843d('0x19')](function(_0xb21298){if(_['isNil'](_0xb21298)){throw new Error(_0x1a62aa+'\x20Message\x20not\x20found');}_0x248e50=_0xb21298;return _0xb21298[_0x843d('0x6e')]({'read':0x0,'readAt':null,'UserId':null});})[_0x843d('0x19')](function(){var _0x17371f={'uniqueid':_0x439da9+'.'+_0x248e50['id']+'.'+_0x248e50[_0x843d('0x60')]['id'],'FromUserId':_0x3bef14['user']['id'],'type':_0x843d('0x62'),'ToUserId':_0x18d6b5['id']};_0x17371f[_0x1a62aa+_0x843d('0x6f')]=_0x248e50['id'];_0x17371f[_0x1a62aa+_0x843d('0x63')]=_0x248e50[_0x843d('0x60')]['id'];_0x17371f['From'+_0x1a62aa+_0x4e7ce4+'Id']=_0x248e50[_0x843d('0x5d')]['id'];return db[_0x1a62aa+_0x843d('0x65')][_0x843d('0x66')](_0x17371f);})[_0x843d('0x19')](function(){return respondWithRpcPromise(_0x843d('0x67'),{'channel':_0x439da9,'interaction':_0x248e50[_0x843d('0x60')],'message':_0x248e50,'account':_0x248e50[_0x843d('0x5d')],'applications':[{'id':0x0,'priority':0x1,'app':_0x843d('0x39'),'appdata':_0x18d6b5['name']+','+(_0x248e50['Account'][_0x843d('0x70')]||0x12c),'interval':'*,*,*,*'}]},routingClient);})[_0x843d('0x19')](respondWithResult(_0x4af7df,null))[_0x843d('0x15')](handleError(_0x4af7df,null));}; \ No newline at end of file diff --git a/server/api/schedule/index.js b/server/api/schedule/index.js index 3a4c981..22ef0cd 100644 --- a/server/api/schedule/index.js +++ b/server/api/schedule/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xce34=['put','update','destroy','exports','multer','path','connect-timeout','Router','../../components/interaction/service','../../config/environment','./schedule.controller','get','isAuthenticated','/:id','show','run','post','create'];(function(_0x3edeb9,_0x32ddd7){var _0x784d30=function(_0x52f873){while(--_0x52f873){_0x3edeb9['push'](_0x3edeb9['shift']());}};_0x784d30(++_0x32ddd7);}(_0xce34,0x1ea));var _0x4ce3=function(_0x4bba1d,_0xa2710d){_0x4bba1d=_0x4bba1d-0x0;var _0x2e55ac=_0xce34[_0x4bba1d];return _0x2e55ac;};'use strict';var multer=require(_0x4ce3('0x0'));var util=require('util');var path=require(_0x4ce3('0x1'));var timeout=require(_0x4ce3('0x2'));var express=require('express');var router=express[_0x4ce3('0x3')]();var auth=require('../../components/auth/service');var interaction=require(_0x4ce3('0x4'));var config=require(_0x4ce3('0x5'));var controller=require(_0x4ce3('0x6'));router[_0x4ce3('0x7')]('/',auth[_0x4ce3('0x8')](),controller['index']);router[_0x4ce3('0x7')](_0x4ce3('0x9'),auth['isAuthenticated'](),controller[_0x4ce3('0xa')]);router[_0x4ce3('0x7')]('/:id/run',auth[_0x4ce3('0x8')](),controller[_0x4ce3('0xb')]);router[_0x4ce3('0xc')]('/',auth['isAuthenticated'](),controller[_0x4ce3('0xd')]);router[_0x4ce3('0xe')](_0x4ce3('0x9'),auth[_0x4ce3('0x8')](),controller[_0x4ce3('0xf')]);router['delete'](_0x4ce3('0x9'),auth[_0x4ce3('0x8')](),controller[_0x4ce3('0x10')]);module[_0x4ce3('0x11')]=router; \ No newline at end of file +var _0x980c=['multer','util','path','connect-timeout','../../components/auth/service','../../components/interaction/service','./schedule.controller','get','isAuthenticated','index','/:id','/:id/run','run','post','create','put','update','destroy','exports'];(function(_0x465d61,_0x26389d){var _0x83edd9=function(_0x118859){while(--_0x118859){_0x465d61['push'](_0x465d61['shift']());}};_0x83edd9(++_0x26389d);}(_0x980c,0x143));var _0xc980=function(_0x21ac73,_0x4df0c6){_0x21ac73=_0x21ac73-0x0;var _0x572f07=_0x980c[_0x21ac73];return _0x572f07;};'use strict';var multer=require(_0xc980('0x0'));var util=require(_0xc980('0x1'));var path=require(_0xc980('0x2'));var timeout=require(_0xc980('0x3'));var express=require('express');var router=express['Router']();var auth=require(_0xc980('0x4'));var interaction=require(_0xc980('0x5'));var config=require('../../config/environment');var controller=require(_0xc980('0x6'));router[_0xc980('0x7')]('/',auth[_0xc980('0x8')](),controller[_0xc980('0x9')]);router[_0xc980('0x7')](_0xc980('0xa'),auth['isAuthenticated'](),controller['show']);router['get'](_0xc980('0xb'),auth['isAuthenticated'](),controller[_0xc980('0xc')]);router[_0xc980('0xd')]('/',auth[_0xc980('0x8')](),controller[_0xc980('0xe')]);router[_0xc980('0xf')](_0xc980('0xa'),auth[_0xc980('0x8')](),controller[_0xc980('0x10')]);router['delete'](_0xc980('0xa'),auth['isAuthenticated'](),controller[_0xc980('0x11')]);module[_0xc980('0x12')]=router; \ No newline at end of file diff --git a/server/api/schedule/schedule.attributes.js b/server/api/schedule/schedule.attributes.js index a9a67e5..a55f074 100644 --- a/server/api/schedule/schedule.attributes.js +++ b/server/api/schedule/schedule.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x7bd0=['days','minutes','csv','pdf','custom','default','TEXT','sequelize','exports','STRING','BOOLEAN','0\x200\x20*\x20*\x20*','DATE','INTEGER','ENUM','years','quarters','months','weeks'];(function(_0x1e9703,_0xf98b19){var _0x24ff9c=function(_0x3d29ee){while(--_0x3d29ee){_0x1e9703['push'](_0x1e9703['shift']());}};_0x24ff9c(++_0xf98b19);}(_0x7bd0,0x111));var _0x07bd=function(_0x3bceea,_0x58af75){_0x3bceea=_0x3bceea-0x0;var _0x30a8d3=_0x7bd0[_0x3bceea];return _0x30a8d3;};'use strict';var Sequelize=require(_0x07bd('0x0'));module[_0x07bd('0x1')]={'name':{'type':Sequelize[_0x07bd('0x2')],'allowNull':![]},'description':{'type':Sequelize[_0x07bd('0x2')]},'active':{'type':Sequelize[_0x07bd('0x3')],'allowNull':![],'defaultValue':![]},'cron':{'type':Sequelize[_0x07bd('0x2')],'allowNull':![],'defaultValue':_0x07bd('0x4')},'startAt':{'type':Sequelize[_0x07bd('0x5')],'allowNull':![]},'endAt':{'type':Sequelize['DATE'],'allowNull':![]},'subtractNumber':{'type':Sequelize[_0x07bd('0x6')],'allowNull':![],'defaultValue':0x1,'validate':{'min':0x1}},'subtractUnit':{'type':Sequelize[_0x07bd('0x7')](_0x07bd('0x8'),_0x07bd('0x9'),_0x07bd('0xa'),_0x07bd('0xb'),_0x07bd('0xc'),'hours',_0x07bd('0xd')),'allowNull':![],'defaultValue':'days'},'output':{'type':Sequelize[_0x07bd('0x7')](_0x07bd('0xe'),_0x07bd('0xf'),'xlsx'),'allowNull':![],'defaultValue':_0x07bd('0xe')},'type':{'type':Sequelize[_0x07bd('0x7')](_0x07bd('0x10'),_0x07bd('0x11')),'allowNull':![],'defaultValue':'custom'},'sendMail':{'type':Sequelize[_0x07bd('0x3')],'defaultValue':![]},'email':{'type':Sequelize[_0x07bd('0x2')]},'cc':{'type':Sequelize[_0x07bd('0x12')]},'bcc':{'type':Sequelize[_0x07bd('0x12')]},'sendIfEmpty':{'type':Sequelize[_0x07bd('0x3')],'defaultValue':!![]}}; \ No newline at end of file +var _0x126e=['BOOLEAN','0\x200\x20*\x20*\x20*','DATE','INTEGER','ENUM','years','quarters','months','weeks','hours','minutes','days','csv','xlsx','custom','default','TEXT','exports','STRING'];(function(_0x42f009,_0x5e27b1){var _0x22a1e0=function(_0x297993){while(--_0x297993){_0x42f009['push'](_0x42f009['shift']());}};_0x22a1e0(++_0x5e27b1);}(_0x126e,0x108));var _0xe126=function(_0x13e741,_0x5d3c24){_0x13e741=_0x13e741-0x0;var _0x3f8bb3=_0x126e[_0x13e741];return _0x3f8bb3;};'use strict';var Sequelize=require('sequelize');module[_0xe126('0x0')]={'name':{'type':Sequelize[_0xe126('0x1')],'allowNull':![]},'description':{'type':Sequelize[_0xe126('0x1')]},'active':{'type':Sequelize[_0xe126('0x2')],'allowNull':![],'defaultValue':![]},'cron':{'type':Sequelize[_0xe126('0x1')],'allowNull':![],'defaultValue':_0xe126('0x3')},'startAt':{'type':Sequelize['DATE'],'allowNull':![]},'endAt':{'type':Sequelize[_0xe126('0x4')],'allowNull':![]},'subtractNumber':{'type':Sequelize[_0xe126('0x5')],'allowNull':![],'defaultValue':0x1,'validate':{'min':0x1}},'subtractUnit':{'type':Sequelize[_0xe126('0x6')](_0xe126('0x7'),_0xe126('0x8'),_0xe126('0x9'),_0xe126('0xa'),'days',_0xe126('0xb'),_0xe126('0xc')),'allowNull':![],'defaultValue':_0xe126('0xd')},'output':{'type':Sequelize[_0xe126('0x6')](_0xe126('0xe'),'pdf',_0xe126('0xf')),'allowNull':![],'defaultValue':_0xe126('0xe')},'type':{'type':Sequelize['ENUM'](_0xe126('0x10'),_0xe126('0x11')),'allowNull':![],'defaultValue':'custom'},'sendMail':{'type':Sequelize[_0xe126('0x2')],'defaultValue':![]},'email':{'type':Sequelize['STRING']},'cc':{'type':Sequelize[_0xe126('0x12')]},'bcc':{'type':Sequelize['TEXT']},'sendIfEmpty':{'type':Sequelize[_0xe126('0x2')],'defaultValue':!![]}}; \ No newline at end of file diff --git a/server/api/schedule/schedule.controller.js b/server/api/schedule/schedule.controller.js index ee043f3..e394526 100644 --- a/server/api/schedule/schedule.controller.js +++ b/server/api/schedule/schedule.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x44f8=['request-promise','mustache','util','path','to-csv','ejs','lodash','squel','crypto','jsforce','desk.js','papaparse','ioredis','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','status','end','json','count','offset','set','Content-Range','apply','reject','save','update','then','destroy','Scheduler','stack','name','send','map','Schedule','rawAttributes','fieldName','type','key','model','query','filters','intersection','fields','attributes','length','hasOwnProperty','limit','order','sort','pick','filter','merge','where','VIRTUAL','options','includeAll','include','findAll','catch','show','params','keys','find','create','body','get','Unable\x20to\x20retrieve\x20the\x20current\x20user','role','UserProfileSection','userProfileId','UserProfileResource','error','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','run','../../config/schedule','html-pdf','eml-format','rimraf','fast-json-patch'];(function(_0x389723,_0x5ca5c4){var _0x4d1351=function(_0x23563b){while(--_0x23563b){_0x389723['push'](_0x389723['shift']());}};_0x4d1351(++_0x5ca5c4);}(_0x44f8,0xfb));var _0x844f=function(_0xd0438f,_0x33df30){_0xd0438f=_0xd0438f-0x0;var _0x571982=_0x44f8[_0xd0438f];return _0x571982;};'use strict';var pdf=require(_0x844f('0x0'));var emlformat=require(_0x844f('0x1'));var rimraf=require(_0x844f('0x2'));var zipdir=require('zip-dir');var jsonpatch=require(_0x844f('0x3'));var rp=require(_0x844f('0x4'));var moment=require('moment');var BPromise=require('bluebird');var Mustache=require(_0x844f('0x5'));var util=require(_0x844f('0x6'));var path=require(_0x844f('0x7'));var sox=require('sox');var csv=require(_0x844f('0x8'));var ejs=require(_0x844f('0x9'));var fs=require('fs');var _=require(_0x844f('0xa'));var squel=require(_0x844f('0xb'));var crypto=require(_0x844f('0xc'));var jsforce=require(_0x844f('0xd'));var deskjs=require(_0x844f('0xe'));var toCsv=require(_0x844f('0x8'));var querystring=require('querystring');var Papa=require(_0x844f('0xf'));var Redis=require(_0x844f('0x10'));var authService=require('../../components/auth/service');var qs=require(_0x844f('0x11'));var as=require(_0x844f('0x12'));var hardwareService=require(_0x844f('0x13'));var logger=require(_0x844f('0x14'))(_0x844f('0x15'));var utils=require(_0x844f('0x16'));var config=require(_0x844f('0x17'));var db=require(_0x844f('0x18'))['db'];function respondWithStatusCode(_0x5b7004,_0x59661b){_0x59661b=_0x59661b||0xcc;return function(_0xcc5158){if(_0xcc5158){return _0x5b7004['sendStatus'](_0x59661b);}return _0x5b7004[_0x844f('0x19')](_0x59661b)[_0x844f('0x1a')]();};}function respondWithResult(_0x30f03d,_0x27deef){_0x27deef=_0x27deef||0xc8;return function(_0x2fe779){if(_0x2fe779){return _0x30f03d[_0x844f('0x19')](_0x27deef)[_0x844f('0x1b')](_0x2fe779);}};}function respondWithFilteredResult(_0x41989b,_0x1b9c3a){return function(_0x35d010){if(_0x35d010){var _0x5c6529=_0x35d010[_0x844f('0x1c')],_0x5e3653=_0x1b9c3a[_0x844f('0x1d')],_0x29f7b4=_0x1b9c3a[_0x844f('0x1d')]+_0x1b9c3a['limit'],_0x37d26a;if(_0x29f7b4>=_0x5c6529){_0x29f7b4=_0x5c6529;_0x37d26a=0xc8;}else{_0x37d26a=0xce;}_0x41989b['status'](_0x37d26a);return _0x41989b[_0x844f('0x1e')](_0x844f('0x1f'),_0x5e3653+'-'+_0x29f7b4+'/'+_0x5c6529)['json'](_0x35d010);}return null;};}function patchUpdates(_0xd7bb0f){return function(_0x1d90f7){try{jsonpatch[_0x844f('0x20')](_0x1d90f7,_0xd7bb0f,!![]);}catch(_0x17ad50){return BPromise[_0x844f('0x21')](_0x17ad50);}return _0x1d90f7[_0x844f('0x22')]();};}function saveUpdates(_0x57eec2,_0x50952e){return function(_0x21f580){if(_0x21f580){return _0x21f580[_0x844f('0x23')](_0x57eec2)[_0x844f('0x24')](function(_0x3e289d){return _0x3e289d;});}return null;};}function removeEntity(_0x53340a,_0x164f4e){return function(_0x30997a){if(_0x30997a){return _0x30997a[_0x844f('0x25')]()[_0x844f('0x24')](function(){var _0x416534=_0x30997a['get']({'plain':!![]});var _0x20cda9=_0x844f('0x26');return db['UserProfileResource']['destroy']({'where':{'type':_0x20cda9,'resourceId':_0x416534['id']}})['then'](function(){return _0x30997a;});})[_0x844f('0x24')](function(){_0x53340a['status'](0xcc)[_0x844f('0x1a')]();});}};}function handleEntityNotFound(_0x29a96f,_0xead905){return function(_0x5d0811){if(!_0x5d0811){_0x29a96f['sendStatus'](0x194);}return _0x5d0811;};}function handleError(_0x1ac968,_0x40ca1c){_0x40ca1c=_0x40ca1c||0x1f4;return function(_0x4ee65d){logger['error'](_0x4ee65d[_0x844f('0x27')]);if(_0x4ee65d[_0x844f('0x28')]){delete _0x4ee65d[_0x844f('0x28')];}_0x1ac968[_0x844f('0x19')](_0x40ca1c)[_0x844f('0x29')](_0x4ee65d);};}exports['index']=function(_0x551662,_0x2af9e3){var _0x5b40c3={},_0x76db2a={},_0x67c13e={'count':0x0,'rows':[]};var _0x9e6cc9=_[_0x844f('0x2a')](db[_0x844f('0x2b')][_0x844f('0x2c')],function(_0x4030b1){return{'name':_0x4030b1[_0x844f('0x2d')],'type':_0x4030b1[_0x844f('0x2e')][_0x844f('0x2f')]};});_0x76db2a[_0x844f('0x30')]=_[_0x844f('0x2a')](_0x9e6cc9,'name');_0x76db2a[_0x844f('0x31')]=_['keys'](_0x551662[_0x844f('0x31')]);_0x76db2a[_0x844f('0x32')]=_[_0x844f('0x33')](_0x76db2a['model'],_0x76db2a['query']);_0x5b40c3['attributes']=_[_0x844f('0x33')](_0x76db2a[_0x844f('0x30')],qs['fields'](_0x551662[_0x844f('0x31')][_0x844f('0x34')]));_0x5b40c3['attributes']=_0x5b40c3[_0x844f('0x35')][_0x844f('0x36')]?_0x5b40c3[_0x844f('0x35')]:_0x76db2a['model'];if(!_0x551662[_0x844f('0x31')][_0x844f('0x37')]('nolimit')){_0x5b40c3[_0x844f('0x38')]=qs[_0x844f('0x38')](_0x551662['query']['limit']);_0x5b40c3[_0x844f('0x1d')]=qs[_0x844f('0x1d')](_0x551662[_0x844f('0x31')][_0x844f('0x1d')]);}_0x5b40c3[_0x844f('0x39')]=qs['sort'](_0x551662[_0x844f('0x31')][_0x844f('0x3a')]);_0x5b40c3['where']=qs[_0x844f('0x32')](_[_0x844f('0x3b')](_0x551662[_0x844f('0x31')],_0x76db2a[_0x844f('0x32')]),_0x9e6cc9);if(_0x551662[_0x844f('0x31')][_0x844f('0x3c')]){_0x5b40c3['where']=_[_0x844f('0x3d')](_0x5b40c3[_0x844f('0x3e')],{'$or':_['map'](_0x9e6cc9,function(_0x5a48c9){if(_0x5a48c9['type']!==_0x844f('0x3f')){var _0x3ede65={};_0x3ede65[_0x5a48c9[_0x844f('0x28')]]={'$like':'%'+_0x551662[_0x844f('0x31')]['filter']+'%'};return _0x3ede65;}})});}_0x5b40c3=_[_0x844f('0x3d')]({},_0x5b40c3,_0x551662[_0x844f('0x40')]);var _0x58a458={'where':_0x5b40c3[_0x844f('0x3e')]};return db[_0x844f('0x2b')]['count'](_0x58a458)[_0x844f('0x24')](function(_0x137186){_0x67c13e['count']=_0x137186;if(_0x551662[_0x844f('0x31')][_0x844f('0x41')]){_0x5b40c3[_0x844f('0x42')]=[{'all':!![]}];}return db[_0x844f('0x2b')][_0x844f('0x43')](_0x5b40c3);})['then'](function(_0x2883dc){_0x67c13e['rows']=_0x2883dc;return _0x67c13e;})['then'](respondWithFilteredResult(_0x2af9e3,_0x5b40c3))[_0x844f('0x44')](handleError(_0x2af9e3,null));};exports[_0x844f('0x45')]=function(_0x2c6851,_0x55510f){var _0x177e10={'raw':![],'where':{'id':_0x2c6851[_0x844f('0x46')]['id']}},_0x245062={};_0x245062['model']=_['keys'](db[_0x844f('0x2b')][_0x844f('0x2c')]);_0x245062[_0x844f('0x31')]=_[_0x844f('0x47')](_0x2c6851['query']);_0x245062[_0x844f('0x32')]=_[_0x844f('0x33')](_0x245062[_0x844f('0x30')],_0x245062[_0x844f('0x31')]);_0x177e10[_0x844f('0x35')]=_[_0x844f('0x33')](_0x245062['model'],qs[_0x844f('0x34')](_0x2c6851[_0x844f('0x31')][_0x844f('0x34')]));_0x177e10[_0x844f('0x35')]=_0x177e10[_0x844f('0x35')][_0x844f('0x36')]?_0x177e10[_0x844f('0x35')]:_0x245062[_0x844f('0x30')];if(_0x2c6851[_0x844f('0x31')]['includeAll']){_0x177e10[_0x844f('0x42')]=[{'all':!![]}];}_0x177e10=_[_0x844f('0x3d')]({},_0x177e10,_0x2c6851['options']);return db['Schedule'][_0x844f('0x48')](_0x177e10)[_0x844f('0x24')](handleEntityNotFound(_0x55510f,null))[_0x844f('0x24')](respondWithResult(_0x55510f,null))[_0x844f('0x44')](handleError(_0x55510f,null));};exports[_0x844f('0x49')]=function(_0x465f27,_0x4ef152){return db[_0x844f('0x2b')][_0x844f('0x49')](_0x465f27[_0x844f('0x4a')],{})[_0x844f('0x24')](function(_0x254217){var _0x5ba2d2=_0x465f27['user'][_0x844f('0x4b')]({'plain':!![]});if(!_0x5ba2d2)throw new Error(_0x844f('0x4c'));if(_0x5ba2d2[_0x844f('0x4d')]==='user'){var _0x2e7280=_0x254217['get']({'plain':!![]});var _0x20399f='Scheduler';return db[_0x844f('0x4e')]['find']({'where':{'name':_0x20399f,'userProfileId':_0x5ba2d2[_0x844f('0x4f')]},'raw':!![]})[_0x844f('0x24')](function(_0x111666){if(_0x111666&&_0x111666['autoAssociation']===0x0){return db[_0x844f('0x50')][_0x844f('0x49')]({'name':_0x2e7280[_0x844f('0x28')],'resourceId':_0x2e7280['id'],'type':_0x111666['name'],'sectionId':_0x111666['id']},{})[_0x844f('0x24')](function(){return _0x254217;});}else{return _0x254217;}})['catch'](function(_0x2a45f7){logger[_0x844f('0x51')](_0x844f('0x52'),_0x2a45f7);throw _0x2a45f7;});}return _0x254217;})['then'](respondWithResult(_0x4ef152,0xc9))[_0x844f('0x44')](handleError(_0x4ef152,null));};exports[_0x844f('0x23')]=function(_0x4dd106,_0xb447f9){if(_0x4dd106[_0x844f('0x4a')]['id']){delete _0x4dd106['body']['id'];}return db[_0x844f('0x2b')][_0x844f('0x48')]({'where':{'id':_0x4dd106[_0x844f('0x46')]['id']}})['then'](handleEntityNotFound(_0xb447f9,null))[_0x844f('0x24')](saveUpdates(_0x4dd106[_0x844f('0x4a')],null))['then'](respondWithResult(_0xb447f9,null))[_0x844f('0x44')](handleError(_0xb447f9,null));};exports[_0x844f('0x25')]=function(_0x418348,_0x57b526){return db[_0x844f('0x2b')]['find']({'where':{'id':_0x418348[_0x844f('0x46')]['id']}})[_0x844f('0x24')](handleEntityNotFound(_0x57b526,null))[_0x844f('0x24')](removeEntity(_0x57b526,null))[_0x844f('0x44')](handleError(_0x57b526,null));};exports[_0x844f('0x53')]=function(_0x4f651a,_0x55612c,_0x675a0a){var _0x5349d8=require(_0x844f('0x54'));return db[_0x844f('0x2b')][_0x844f('0x48')]({'where':{'id':_0x4f651a[_0x844f('0x46')]['id']},'raw':!![]})[_0x844f('0x24')](handleEntityNotFound(_0x55612c,null))[_0x844f('0x24')](function(){_0x5349d8[_0x844f('0x53')](_0x4f651a['params']['id']);})[_0x844f('0x24')](respondWithStatusCode(_0x55612c,null))[_0x844f('0x44')](handleError(_0x55612c,null));}; \ No newline at end of file +var _0x73c6=['show','params','includeAll','include','merge','find','create','body','user','Unable\x20to\x20retrieve\x20the\x20current\x20user','role','UserProfileSection','userProfileId','autoAssociation','UserProfileResource','catch','run','../../config/schedule','eml-format','zip-dir','request-promise','moment','bluebird','util','path','sox','ejs','lodash','squel','desk.js','to-csv','papaparse','../../components/parsers/advancedSearch','../../config/logger','api','sendStatus','status','end','limit','set','reject','update','destroy','then','get','Scheduler','error','stack','name','send','index','map','Schedule','rawAttributes','fieldName','type','key','query','keys','model','intersection','fields','attributes','length','hasOwnProperty','nolimit','offset','order','sort','where','filters','pick','filter','VIRTUAL','options','count','findAll','rows'];(function(_0x483889,_0x4c80ad){var _0x477f7a=function(_0x574867){while(--_0x574867){_0x483889['push'](_0x483889['shift']());}};_0x477f7a(++_0x4c80ad);}(_0x73c6,0x14a));var _0x673c=function(_0x45d3f0,_0x4be53f){_0x45d3f0=_0x45d3f0-0x0;var _0x314b79=_0x73c6[_0x45d3f0];return _0x314b79;};'use strict';var pdf=require('html-pdf');var emlformat=require(_0x673c('0x0'));var rimraf=require('rimraf');var zipdir=require(_0x673c('0x1'));var jsonpatch=require('fast-json-patch');var rp=require(_0x673c('0x2'));var moment=require(_0x673c('0x3'));var BPromise=require(_0x673c('0x4'));var Mustache=require('mustache');var util=require(_0x673c('0x5'));var path=require(_0x673c('0x6'));var sox=require(_0x673c('0x7'));var csv=require('to-csv');var ejs=require(_0x673c('0x8'));var fs=require('fs');var _=require(_0x673c('0x9'));var squel=require(_0x673c('0xa'));var crypto=require('crypto');var jsforce=require('jsforce');var deskjs=require(_0x673c('0xb'));var toCsv=require(_0x673c('0xc'));var querystring=require('querystring');var Papa=require(_0x673c('0xd'));var Redis=require('ioredis');var authService=require('../../components/auth/service');var qs=require('../../components/parsers/qs');var as=require(_0x673c('0xe'));var hardwareService=require('../../config/license/hardware');var logger=require(_0x673c('0xf'))(_0x673c('0x10'));var utils=require('../../config/utils');var config=require('../../config/environment');var db=require('../../mysqldb')['db'];function respondWithStatusCode(_0xefac7d,_0x50b3b7){_0x50b3b7=_0x50b3b7||0xcc;return function(_0x1a6e88){if(_0x1a6e88){return _0xefac7d[_0x673c('0x11')](_0x50b3b7);}return _0xefac7d[_0x673c('0x12')](_0x50b3b7)[_0x673c('0x13')]();};}function respondWithResult(_0x2e6e7c,_0x239384){_0x239384=_0x239384||0xc8;return function(_0x3f6e74){if(_0x3f6e74){return _0x2e6e7c[_0x673c('0x12')](_0x239384)['json'](_0x3f6e74);}};}function respondWithFilteredResult(_0x28503e,_0x493cb5){return function(_0x3c009f){if(_0x3c009f){var _0x33dab6=_0x3c009f['count'],_0xc9f078=_0x493cb5['offset'],_0x315a8e=_0x493cb5['offset']+_0x493cb5[_0x673c('0x14')],_0x8f76fd;if(_0x315a8e>=_0x33dab6){_0x315a8e=_0x33dab6;_0x8f76fd=0xc8;}else{_0x8f76fd=0xce;}_0x28503e['status'](_0x8f76fd);return _0x28503e[_0x673c('0x15')]('Content-Range',_0xc9f078+'-'+_0x315a8e+'/'+_0x33dab6)['json'](_0x3c009f);}return null;};}function patchUpdates(_0x2d88dc){return function(_0x579bcb){try{jsonpatch['apply'](_0x579bcb,_0x2d88dc,!![]);}catch(_0x518eef){return BPromise[_0x673c('0x16')](_0x518eef);}return _0x579bcb['save']();};}function saveUpdates(_0xe8966a,_0x5eae12){return function(_0x2c25b2){if(_0x2c25b2){return _0x2c25b2[_0x673c('0x17')](_0xe8966a)['then'](function(_0x2b40b4){return _0x2b40b4;});}return null;};}function removeEntity(_0x5cc1d8,_0x303908){return function(_0x353fc8){if(_0x353fc8){return _0x353fc8[_0x673c('0x18')]()[_0x673c('0x19')](function(){var _0x34bd66=_0x353fc8[_0x673c('0x1a')]({'plain':!![]});var _0x3a8b61=_0x673c('0x1b');return db['UserProfileResource']['destroy']({'where':{'type':_0x3a8b61,'resourceId':_0x34bd66['id']}})[_0x673c('0x19')](function(){return _0x353fc8;});})[_0x673c('0x19')](function(){_0x5cc1d8[_0x673c('0x12')](0xcc)[_0x673c('0x13')]();});}};}function handleEntityNotFound(_0x262629,_0xaa33f9){return function(_0x5c932c){if(!_0x5c932c){_0x262629[_0x673c('0x11')](0x194);}return _0x5c932c;};}function handleError(_0x12133d,_0x32addf){_0x32addf=_0x32addf||0x1f4;return function(_0x42425a){logger[_0x673c('0x1c')](_0x42425a[_0x673c('0x1d')]);if(_0x42425a['name']){delete _0x42425a[_0x673c('0x1e')];}_0x12133d[_0x673c('0x12')](_0x32addf)[_0x673c('0x1f')](_0x42425a);};}exports[_0x673c('0x20')]=function(_0x22da9e,_0xaf233e){var _0x5970ee={},_0x935955={},_0x4afe2a={'count':0x0,'rows':[]};var _0x20fe8e=_[_0x673c('0x21')](db[_0x673c('0x22')][_0x673c('0x23')],function(_0x263cf5){return{'name':_0x263cf5[_0x673c('0x24')],'type':_0x263cf5[_0x673c('0x25')][_0x673c('0x26')]};});_0x935955['model']=_[_0x673c('0x21')](_0x20fe8e,_0x673c('0x1e'));_0x935955[_0x673c('0x27')]=_[_0x673c('0x28')](_0x22da9e[_0x673c('0x27')]);_0x935955['filters']=_['intersection'](_0x935955[_0x673c('0x29')],_0x935955[_0x673c('0x27')]);_0x5970ee['attributes']=_[_0x673c('0x2a')](_0x935955['model'],qs['fields'](_0x22da9e['query'][_0x673c('0x2b')]));_0x5970ee[_0x673c('0x2c')]=_0x5970ee[_0x673c('0x2c')][_0x673c('0x2d')]?_0x5970ee[_0x673c('0x2c')]:_0x935955[_0x673c('0x29')];if(!_0x22da9e[_0x673c('0x27')][_0x673c('0x2e')](_0x673c('0x2f'))){_0x5970ee[_0x673c('0x14')]=qs[_0x673c('0x14')](_0x22da9e[_0x673c('0x27')]['limit']);_0x5970ee[_0x673c('0x30')]=qs[_0x673c('0x30')](_0x22da9e[_0x673c('0x27')]['offset']);}_0x5970ee[_0x673c('0x31')]=qs[_0x673c('0x32')](_0x22da9e[_0x673c('0x27')][_0x673c('0x32')]);_0x5970ee[_0x673c('0x33')]=qs[_0x673c('0x34')](_[_0x673c('0x35')](_0x22da9e[_0x673c('0x27')],_0x935955[_0x673c('0x34')]),_0x20fe8e);if(_0x22da9e[_0x673c('0x27')][_0x673c('0x36')]){_0x5970ee[_0x673c('0x33')]=_['merge'](_0x5970ee[_0x673c('0x33')],{'$or':_[_0x673c('0x21')](_0x20fe8e,function(_0x418afd){if(_0x418afd[_0x673c('0x25')]!==_0x673c('0x37')){var _0x1294be={};_0x1294be[_0x418afd['name']]={'$like':'%'+_0x22da9e[_0x673c('0x27')]['filter']+'%'};return _0x1294be;}})});}_0x5970ee=_['merge']({},_0x5970ee,_0x22da9e[_0x673c('0x38')]);var _0xd8ec15={'where':_0x5970ee[_0x673c('0x33')]};return db['Schedule']['count'](_0xd8ec15)[_0x673c('0x19')](function(_0x37ef7b){_0x4afe2a[_0x673c('0x39')]=_0x37ef7b;if(_0x22da9e[_0x673c('0x27')]['includeAll']){_0x5970ee['include']=[{'all':!![]}];}return db[_0x673c('0x22')][_0x673c('0x3a')](_0x5970ee);})['then'](function(_0x58941c){_0x4afe2a[_0x673c('0x3b')]=_0x58941c;return _0x4afe2a;})[_0x673c('0x19')](respondWithFilteredResult(_0xaf233e,_0x5970ee))['catch'](handleError(_0xaf233e,null));};exports[_0x673c('0x3c')]=function(_0x44206c,_0x485e93){var _0x394730={'raw':![],'where':{'id':_0x44206c[_0x673c('0x3d')]['id']}},_0x4a8eb6={};_0x4a8eb6[_0x673c('0x29')]=_[_0x673c('0x28')](db[_0x673c('0x22')]['rawAttributes']);_0x4a8eb6[_0x673c('0x27')]=_['keys'](_0x44206c[_0x673c('0x27')]);_0x4a8eb6[_0x673c('0x34')]=_[_0x673c('0x2a')](_0x4a8eb6[_0x673c('0x29')],_0x4a8eb6[_0x673c('0x27')]);_0x394730[_0x673c('0x2c')]=_[_0x673c('0x2a')](_0x4a8eb6[_0x673c('0x29')],qs[_0x673c('0x2b')](_0x44206c[_0x673c('0x27')][_0x673c('0x2b')]));_0x394730[_0x673c('0x2c')]=_0x394730[_0x673c('0x2c')]['length']?_0x394730[_0x673c('0x2c')]:_0x4a8eb6[_0x673c('0x29')];if(_0x44206c['query'][_0x673c('0x3e')]){_0x394730[_0x673c('0x3f')]=[{'all':!![]}];}_0x394730=_[_0x673c('0x40')]({},_0x394730,_0x44206c['options']);return db[_0x673c('0x22')][_0x673c('0x41')](_0x394730)[_0x673c('0x19')](handleEntityNotFound(_0x485e93,null))['then'](respondWithResult(_0x485e93,null))['catch'](handleError(_0x485e93,null));};exports[_0x673c('0x42')]=function(_0x211e45,_0xc353a0){return db[_0x673c('0x22')][_0x673c('0x42')](_0x211e45[_0x673c('0x43')],{})[_0x673c('0x19')](function(_0x141a3d){var _0x37120d=_0x211e45[_0x673c('0x44')][_0x673c('0x1a')]({'plain':!![]});if(!_0x37120d)throw new Error(_0x673c('0x45'));if(_0x37120d[_0x673c('0x46')]===_0x673c('0x44')){var _0x2942b5=_0x141a3d[_0x673c('0x1a')]({'plain':!![]});var _0x4d236d=_0x673c('0x1b');return db[_0x673c('0x47')][_0x673c('0x41')]({'where':{'name':_0x4d236d,'userProfileId':_0x37120d[_0x673c('0x48')]},'raw':!![]})[_0x673c('0x19')](function(_0x47a7e2){if(_0x47a7e2&&_0x47a7e2[_0x673c('0x49')]===0x0){return db[_0x673c('0x4a')][_0x673c('0x42')]({'name':_0x2942b5[_0x673c('0x1e')],'resourceId':_0x2942b5['id'],'type':_0x47a7e2['name'],'sectionId':_0x47a7e2['id']},{})['then'](function(){return _0x141a3d;});}else{return _0x141a3d;}})[_0x673c('0x4b')](function(_0x58f83c){logger[_0x673c('0x1c')]('Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s',_0x58f83c);throw _0x58f83c;});}return _0x141a3d;})[_0x673c('0x19')](respondWithResult(_0xc353a0,0xc9))[_0x673c('0x4b')](handleError(_0xc353a0,null));};exports[_0x673c('0x17')]=function(_0x33f2fb,_0x1b3531){if(_0x33f2fb['body']['id']){delete _0x33f2fb[_0x673c('0x43')]['id'];}return db[_0x673c('0x22')][_0x673c('0x41')]({'where':{'id':_0x33f2fb[_0x673c('0x3d')]['id']}})[_0x673c('0x19')](handleEntityNotFound(_0x1b3531,null))[_0x673c('0x19')](saveUpdates(_0x33f2fb['body'],null))['then'](respondWithResult(_0x1b3531,null))['catch'](handleError(_0x1b3531,null));};exports[_0x673c('0x18')]=function(_0xafc7a6,_0x405137){return db[_0x673c('0x22')][_0x673c('0x41')]({'where':{'id':_0xafc7a6['params']['id']}})[_0x673c('0x19')](handleEntityNotFound(_0x405137,null))[_0x673c('0x19')](removeEntity(_0x405137,null))[_0x673c('0x4b')](handleError(_0x405137,null));};exports[_0x673c('0x4c')]=function(_0x324787,_0xb3601e,_0x17d327){var _0x538431=require(_0x673c('0x4d'));return db[_0x673c('0x22')][_0x673c('0x41')]({'where':{'id':_0x324787[_0x673c('0x3d')]['id']},'raw':!![]})['then'](handleEntityNotFound(_0xb3601e,null))[_0x673c('0x19')](function(){_0x538431[_0x673c('0x4c')](_0x324787[_0x673c('0x3d')]['id']);})[_0x673c('0x19')](respondWithStatusCode(_0xb3601e,null))[_0x673c('0x4b')](handleError(_0xb3601e,null));}; \ No newline at end of file diff --git a/server/api/schedule/schedule.model.js b/server/api/schedule/schedule.model.js index cc73ca8..cb04248 100644 --- a/server/api/schedule/schedule.model.js +++ b/server/api/schedule/schedule.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xa6c3=['../../config/logger','moment','bluebird','path','rimraf','../../config/environment','./schedule.attributes','exports','define','Schedule','tools_schedules'];(function(_0x2b2161,_0x1a1515){var _0x1190dc=function(_0x114d31){while(--_0x114d31){_0x2b2161['push'](_0x2b2161['shift']());}};_0x1190dc(++_0x1a1515);}(_0xa6c3,0xb0));var _0x3a6c=function(_0x2a6809,_0x44edde){_0x2a6809=_0x2a6809-0x0;var _0x11c371=_0xa6c3[_0x2a6809];return _0x11c371;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x3a6c('0x0'))('api');var moment=require(_0x3a6c('0x1'));var BPromise=require(_0x3a6c('0x2'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x3a6c('0x3'));var rimraf=require(_0x3a6c('0x4'));var config=require(_0x3a6c('0x5'));var attributes=require(_0x3a6c('0x6'));module[_0x3a6c('0x7')]=function(_0x46e2ca,_0xeab324){return _0x46e2ca[_0x3a6c('0x8')](_0x3a6c('0x9'),attributes,{'tableName':_0x3a6c('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0x3ddb=['rimraf','../../config/environment','./schedule.attributes','define','tools_schedules','lodash','util','../../config/logger','moment','bluebird','request-promise','path'];(function(_0x27f157,_0x5055df){var _0x3d765=function(_0x570fbd){while(--_0x570fbd){_0x27f157['push'](_0x27f157['shift']());}};_0x3d765(++_0x5055df);}(_0x3ddb,0x95));var _0xb3dd=function(_0x42f009,_0x5e27b1){_0x42f009=_0x42f009-0x0;var _0x22a1e0=_0x3ddb[_0x42f009];return _0x22a1e0;};'use strict';var _=require(_0xb3dd('0x0'));var util=require(_0xb3dd('0x1'));var logger=require(_0xb3dd('0x2'))('api');var moment=require(_0xb3dd('0x3'));var BPromise=require(_0xb3dd('0x4'));var rp=require(_0xb3dd('0x5'));var fs=require('fs');var path=require(_0xb3dd('0x6'));var rimraf=require(_0xb3dd('0x7'));var config=require(_0xb3dd('0x8'));var attributes=require(_0xb3dd('0x9'));module['exports']=function(_0x59edfc,_0x34f5cd){return _0x59edfc[_0xb3dd('0xa')]('Schedule',attributes,{'tableName':_0xb3dd('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/schedule/schedule.rpc.js b/server/api/schedule/schedule.rpc.js index df9cad8..cbb9879 100644 --- a/server/api/schedule/schedule.rpc.js +++ b/server/api/schedule/schedule.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x85c2=['error','code','message','lodash','bluebird','ioredis','../../mysqldb','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','http','request','then','info','debug','Schedule,\x20%s,\x20%s,\x20%s','request\x20sent','stringify'];(function(_0x16a8e3,_0x34bb24){var _0x3dc903=function(_0x321919){while(--_0x321919){_0x16a8e3['push'](_0x16a8e3['shift']());}};_0x3dc903(++_0x34bb24);}(_0x85c2,0x8f));var _0x285c=function(_0x4d613c,_0x55f220){_0x4d613c=_0x4d613c-0x0;var _0x301fe3=_0x85c2[_0x4d613c];return _0x301fe3;};'use strict';var _=require(_0x285c('0x0'));var util=require('util');var moment=require('moment');var BPromise=require(_0x285c('0x1'));var rs=require('randomstring');var fs=require('fs');var Redis=require(_0x285c('0x2'));var db=require(_0x285c('0x3'))['db'];var utils=require(_0x285c('0x4'));var logger=require(_0x285c('0x5'))(_0x285c('0x6'));var config=require(_0x285c('0x7'));var jayson=require(_0x285c('0x8'));var client=jayson['client'][_0x285c('0x9')]({'port':0x232a});function respondWithRpcPromise(_0x5bf812,_0x3f9ff4,_0x3d7357){return new BPromise(function(_0x3b87c8,_0x21cef3){return client[_0x285c('0xa')](_0x5bf812,_0x3d7357)[_0x285c('0xb')](function(_0x52ea02){logger[_0x285c('0xc')]('Schedule,\x20%s,\x20%s',_0x3f9ff4,'request\x20sent');logger[_0x285c('0xd')](_0x285c('0xe'),_0x3f9ff4,_0x285c('0xf'),JSON[_0x285c('0x10')](_0x52ea02));if(_0x52ea02['error']){if(_0x52ea02[_0x285c('0x11')][_0x285c('0x12')]===0x1f4){logger[_0x285c('0x11')]('Schedule,\x20%s,\x20%s',_0x3f9ff4,_0x52ea02[_0x285c('0x11')]['message']);return _0x21cef3(_0x52ea02[_0x285c('0x11')][_0x285c('0x13')]);}logger[_0x285c('0x11')]('Schedule,\x20%s,\x20%s',_0x3f9ff4,_0x52ea02[_0x285c('0x11')][_0x285c('0x13')]);return _0x3b87c8(_0x52ea02[_0x285c('0x11')]['message']);}else{logger[_0x285c('0xc')]('Schedule,\x20%s,\x20%s',_0x3f9ff4,_0x285c('0xf'));_0x3b87c8(_0x52ea02['result']['message']);}})['catch'](function(_0x5796fb){logger['error']('Schedule,\x20%s,\x20%s',_0x3f9ff4,_0x5796fb);_0x21cef3(_0x5796fb);});});} \ No newline at end of file +var _0xa64e=['randomstring','ioredis','../../mysqldb','../../config/utils','jayson/promise','client','http','info','Schedule,\x20%s,\x20%s','debug','Schedule,\x20%s,\x20%s,\x20%s','stringify','error','code','message','request\x20sent','result','lodash','util','moment','bluebird'];(function(_0x2235bf,_0x3a06a7){var _0x4c3a64=function(_0x3b3bb6){while(--_0x3b3bb6){_0x2235bf['push'](_0x2235bf['shift']());}};_0x4c3a64(++_0x3a06a7);}(_0xa64e,0x14c));var _0xea64=function(_0xd13a88,_0x3c5269){_0xd13a88=_0xd13a88-0x0;var _0x1c993c=_0xa64e[_0xd13a88];return _0x1c993c;};'use strict';var _=require(_0xea64('0x0'));var util=require(_0xea64('0x1'));var moment=require(_0xea64('0x2'));var BPromise=require(_0xea64('0x3'));var rs=require(_0xea64('0x4'));var fs=require('fs');var Redis=require(_0xea64('0x5'));var db=require(_0xea64('0x6'))['db'];var utils=require(_0xea64('0x7'));var logger=require('../../config/logger')('rpc');var config=require('../../config/environment');var jayson=require(_0xea64('0x8'));var client=jayson[_0xea64('0x9')][_0xea64('0xa')]({'port':0x232a});function respondWithRpcPromise(_0x1ac8ca,_0x4cee29,_0xb31262){return new BPromise(function(_0x8c1ca5,_0x3ba1f6){return client['request'](_0x1ac8ca,_0xb31262)['then'](function(_0xad02b8){logger[_0xea64('0xb')](_0xea64('0xc'),_0x4cee29,'request\x20sent');logger[_0xea64('0xd')](_0xea64('0xe'),_0x4cee29,'request\x20sent',JSON[_0xea64('0xf')](_0xad02b8));if(_0xad02b8[_0xea64('0x10')]){if(_0xad02b8[_0xea64('0x10')][_0xea64('0x11')]===0x1f4){logger[_0xea64('0x10')](_0xea64('0xc'),_0x4cee29,_0xad02b8['error'][_0xea64('0x12')]);return _0x3ba1f6(_0xad02b8[_0xea64('0x10')][_0xea64('0x12')]);}logger[_0xea64('0x10')]('Schedule,\x20%s,\x20%s',_0x4cee29,_0xad02b8[_0xea64('0x10')]['message']);return _0x8c1ca5(_0xad02b8['error'][_0xea64('0x12')]);}else{logger[_0xea64('0xb')](_0xea64('0xc'),_0x4cee29,_0xea64('0x13'));_0x8c1ca5(_0xad02b8[_0xea64('0x14')][_0xea64('0x12')]);}})['catch'](function(_0x217931){logger[_0xea64('0x10')]('Schedule,\x20%s,\x20%s',_0x4cee29,_0x217931);_0x3ba1f6(_0x217931);});});} \ No newline at end of file diff --git a/server/api/screenRecording/index.js b/server/api/screenRecording/index.js index 6b045fb..e28eae0 100644 --- a/server/api/screenRecording/index.js +++ b/server/api/screenRecording/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x5863=['create','put','/:id','update','exports','multer','util','path','../../components/auth/service','../../components/interaction/service','../../config/environment','./screenRecording.controller','get','index','isAuthenticated','show','download','post'];(function(_0x56d54c,_0x24037a){var _0x35fd91=function(_0x36cdb6){while(--_0x36cdb6){_0x56d54c['push'](_0x56d54c['shift']());}};_0x35fd91(++_0x24037a);}(_0x5863,0xa7));var _0x3586=function(_0x5ad5ab,_0x5cb6b5){_0x5ad5ab=_0x5ad5ab-0x0;var _0x1351cc=_0x5863[_0x5ad5ab];return _0x1351cc;};'use strict';var multer=require(_0x3586('0x0'));var util=require(_0x3586('0x1'));var path=require(_0x3586('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express['Router']();var auth=require(_0x3586('0x3'));var interaction=require(_0x3586('0x4'));var config=require(_0x3586('0x5'));var controller=require(_0x3586('0x6'));router[_0x3586('0x7')]('/',auth['isAuthenticated'](),controller[_0x3586('0x8')]);router['get']('/describe',auth[_0x3586('0x9')](),controller['describe']);router['get']('/:id',auth[_0x3586('0x9')](),controller[_0x3586('0xa')]);router[_0x3586('0x7')]('/:id/download',auth[_0x3586('0x9')](),controller[_0x3586('0xb')]);router[_0x3586('0xc')]('/',auth['isAuthenticated'](),controller[_0x3586('0xd')]);router[_0x3586('0xe')](_0x3586('0xf'),auth[_0x3586('0x9')](),controller[_0x3586('0x10')]);router['delete'](_0x3586('0xf'),auth[_0x3586('0x9')](),controller['destroy']);module[_0x3586('0x11')]=router; \ No newline at end of file +var _0xc762=['show','get','download','post','put','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../config/environment','./screenRecording.controller','isAuthenticated','describe','/:id'];(function(_0x25c326,_0x250137){var _0x762452=function(_0x50ce5e){while(--_0x50ce5e){_0x25c326['push'](_0x25c326['shift']());}};_0x762452(++_0x250137);}(_0xc762,0x94));var _0x2c76=function(_0x155839,_0x3f679d){_0x155839=_0x155839-0x0;var _0x51d322=_0xc762[_0x155839];return _0x51d322;};'use strict';var multer=require(_0x2c76('0x0'));var util=require(_0x2c76('0x1'));var path=require(_0x2c76('0x2'));var timeout=require(_0x2c76('0x3'));var express=require(_0x2c76('0x4'));var router=express[_0x2c76('0x5')]();var auth=require(_0x2c76('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x2c76('0x7'));var controller=require(_0x2c76('0x8'));router['get']('/',auth[_0x2c76('0x9')](),controller['index']);router['get']('/describe',auth[_0x2c76('0x9')](),controller[_0x2c76('0xa')]);router['get'](_0x2c76('0xb'),auth[_0x2c76('0x9')](),controller[_0x2c76('0xc')]);router[_0x2c76('0xd')]('/:id/download',auth[_0x2c76('0x9')](),controller[_0x2c76('0xe')]);router[_0x2c76('0xf')]('/',auth[_0x2c76('0x9')](),controller['create']);router[_0x2c76('0x10')](_0x2c76('0xb'),auth['isAuthenticated'](),controller['update']);router[_0x2c76('0x11')](_0x2c76('0xb'),auth[_0x2c76('0x9')](),controller[_0x2c76('0x12')]);module[_0x2c76('0x13')]=router; \ No newline at end of file diff --git a/server/api/screenRecording/screenRecording.attributes.js b/server/api/screenRecording/screenRecording.attributes.js index 4561bea..910f199 100644 --- a/server/api/screenRecording/screenRecording.attributes.js +++ b/server/api/screenRecording/screenRecording.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xf2ca=['format','MM-DD-YYYY\x20HH:mm','toString','createdAt','updatedAt','sequelize','moment','path','exports','VIRTUAL','getDataValue','value','extname','STRING','replace','setDataValue','INTEGER','startedAt','subtract','closedAt','DATE'];(function(_0x209cc0,_0x59bb37){var _0x3c5029=function(_0x39c02f){while(--_0x39c02f){_0x209cc0['push'](_0x209cc0['shift']());}};_0x3c5029(++_0x59bb37);}(_0xf2ca,0x16a));var _0xaf2c=function(_0x73b1cd,_0x176535){_0x73b1cd=_0x73b1cd-0x0;var _0x243426=_0xf2ca[_0x73b1cd];return _0x243426;};'use strict';var Sequelize=require(_0xaf2c('0x0'));var moment=require(_0xaf2c('0x1'));var path=require(_0xaf2c('0x2'));var config=require('../../config/environment');module[_0xaf2c('0x3')]={'format':{'type':Sequelize[_0xaf2c('0x4')],'get':function(){return this[_0xaf2c('0x5')](_0xaf2c('0x6'))?path[_0xaf2c('0x7')](this[_0xaf2c('0x5')]('value')):undefined;}},'interactionid':{'type':Sequelize[_0xaf2c('0x8')]},'channel':{'type':Sequelize[_0xaf2c('0x8')]},'value':{'type':Sequelize[_0xaf2c('0x8')],'set':function(_0x1f9531){var _0x58351f=_0x1f9531[_0xaf2c('0x9')](/\\/g,'/');this[_0xaf2c('0xa')]('value',_0x58351f);}},'rating':{'type':Sequelize[_0xaf2c('0xb')],'validate':{'max':0x5,'min':0x0}},'duration':{'type':Sequelize['INTEGER'],'set':function(_0x439ca3){this['setDataValue'](_0xaf2c('0xc'),moment()[_0xaf2c('0xd')](_0x439ca3,'ms'));this[_0xaf2c('0xa')](_0xaf2c('0xe'),moment());this['setDataValue']('duration',_0x439ca3);}},'startedAt':{'type':Sequelize[_0xaf2c('0xf')],'get':function(){return moment(this[_0xaf2c('0x5')](_0xaf2c('0xc')))[_0xaf2c('0x10')](_0xaf2c('0x11'))['toString']();}},'closedAt':{'type':Sequelize['DATE'],'get':function(){return moment(this[_0xaf2c('0x5')](_0xaf2c('0xe')))[_0xaf2c('0x10')](_0xaf2c('0x11'))[_0xaf2c('0x12')]();}},'createdAt':{'type':Sequelize[_0xaf2c('0xf')],'get':function(){return moment(this[_0xaf2c('0x5')](_0xaf2c('0x13')))[_0xaf2c('0x10')](_0xaf2c('0x11'))[_0xaf2c('0x12')]();}},'updatedAt':{'type':Sequelize[_0xaf2c('0xf')],'get':function(){return moment(this[_0xaf2c('0x5')](_0xaf2c('0x14')))[_0xaf2c('0x10')]('MM-DD-YYYY\x20HH:mm')[_0xaf2c('0x12')]();}}}; \ No newline at end of file +var _0x8958=['INTEGER','setDataValue','startedAt','subtract','closedAt','DATE','format','MM-DD-YYYY\x20HH:mm','toString','createdAt','updatedAt','moment','getDataValue','extname','value','STRING','replace'];(function(_0x3ef2d5,_0x423d46){var _0x2fefb2=function(_0x54f82f){while(--_0x54f82f){_0x3ef2d5['push'](_0x3ef2d5['shift']());}};_0x2fefb2(++_0x423d46);}(_0x8958,0x93));var _0x8895=function(_0x3e9e50,_0x452ecf){_0x3e9e50=_0x3e9e50-0x0;var _0x5b66df=_0x8958[_0x3e9e50];return _0x5b66df;};'use strict';var Sequelize=require('sequelize');var moment=require(_0x8895('0x0'));var path=require('path');var config=require('../../config/environment');module['exports']={'format':{'type':Sequelize['VIRTUAL'],'get':function(){return this[_0x8895('0x1')]('value')?path[_0x8895('0x2')](this[_0x8895('0x1')](_0x8895('0x3'))):undefined;}},'interactionid':{'type':Sequelize['STRING']},'channel':{'type':Sequelize[_0x8895('0x4')]},'value':{'type':Sequelize[_0x8895('0x4')],'set':function(_0x124e1e){var _0x40cec6=_0x124e1e[_0x8895('0x5')](/\\/g,'/');this['setDataValue'](_0x8895('0x3'),_0x40cec6);}},'rating':{'type':Sequelize[_0x8895('0x6')],'validate':{'max':0x5,'min':0x0}},'duration':{'type':Sequelize[_0x8895('0x6')],'set':function(_0x24fe49){this[_0x8895('0x7')](_0x8895('0x8'),moment()[_0x8895('0x9')](_0x24fe49,'ms'));this[_0x8895('0x7')](_0x8895('0xa'),moment());this[_0x8895('0x7')]('duration',_0x24fe49);}},'startedAt':{'type':Sequelize[_0x8895('0xb')],'get':function(){return moment(this[_0x8895('0x1')](_0x8895('0x8')))[_0x8895('0xc')](_0x8895('0xd'))[_0x8895('0xe')]();}},'closedAt':{'type':Sequelize['DATE'],'get':function(){return moment(this[_0x8895('0x1')](_0x8895('0xa')))[_0x8895('0xc')]('MM-DD-YYYY\x20HH:mm')['toString']();}},'createdAt':{'type':Sequelize[_0x8895('0xb')],'get':function(){return moment(this['getDataValue'](_0x8895('0xf')))[_0x8895('0xc')](_0x8895('0xd'))[_0x8895('0xe')]();}},'updatedAt':{'type':Sequelize[_0x8895('0xb')],'get':function(){return moment(this['getDataValue'](_0x8895('0x10')))[_0x8895('0xc')](_0x8895('0xd'))[_0x8895('0xe')]();}}}; \ No newline at end of file diff --git a/server/api/screenRecording/screenRecording.controller.js b/server/api/screenRecording/screenRecording.controller.js index 66647e1..efa014c 100644 --- a/server/api/screenRecording/screenRecording.controller.js +++ b/server/api/screenRecording/screenRecording.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xe0c3=['server/files/screen_recordings','%s.cypher','decryptFile','secrets','existsSync','Sequelize','ValidationError','ScreenRecording\x20not\x20found','filename','download','extname','unlink','message','Not\x20found','Entity\x20not\x20found','cancellazione\x20fisica\x20documento\x20%s','isNil','info','unlinkSync','.cypher','File:\x20\x22','\x22\x20trovato\x20eseguo\x20la\x20cancellazione','html-pdf','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','mustache','util','path','ejs','lodash','squel','crypto','jsforce','desk.js','to-csv','querystring','papaparse','ioredis','../../components/auth/service','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','status','end','json','count','limit','set','Content-Range','apply','reject','update','then','destroy','sendStatus','error','stack','name','send','index','map','rawAttributes','fieldName','key','model','format','query','filters','intersection','attributes','fields','length','hasOwnProperty','nolimit','offset','order','sort','pick','filter','where','merge','options','ScreenRecording','include','rows','catch','params','keys','find','create','body','closedAt','value','describe','../../components/encryptor','type','uniqueid','join','root'];(function(_0x14add3,_0x13ce8d){var _0x4a174f=function(_0x2b3ed7){while(--_0x2b3ed7){_0x14add3['push'](_0x14add3['shift']());}};_0x4a174f(++_0x13ce8d);}(_0xe0c3,0xea));var _0x3e0c=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xe0c3[_0x3dd15e];return _0x231fd0;};'use strict';var pdf=require(_0x3e0c('0x0'));var emlformat=require('eml-format');var rimraf=require(_0x3e0c('0x1'));var zipdir=require(_0x3e0c('0x2'));var jsonpatch=require(_0x3e0c('0x3'));var rp=require(_0x3e0c('0x4'));var moment=require(_0x3e0c('0x5'));var BPromise=require(_0x3e0c('0x6'));var Mustache=require(_0x3e0c('0x7'));var util=require(_0x3e0c('0x8'));var path=require(_0x3e0c('0x9'));var sox=require('sox');var csv=require('to-csv');var ejs=require(_0x3e0c('0xa'));var fs=require('fs');var _=require(_0x3e0c('0xb'));var squel=require(_0x3e0c('0xc'));var crypto=require(_0x3e0c('0xd'));var jsforce=require(_0x3e0c('0xe'));var deskjs=require(_0x3e0c('0xf'));var toCsv=require(_0x3e0c('0x10'));var querystring=require(_0x3e0c('0x11'));var Papa=require(_0x3e0c('0x12'));var Redis=require(_0x3e0c('0x13'));var authService=require(_0x3e0c('0x14'));var qs=require('../../components/parsers/qs');var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0x3e0c('0x15'));var logger=require(_0x3e0c('0x16'))(_0x3e0c('0x17'));var utils=require(_0x3e0c('0x18'));var config=require(_0x3e0c('0x19'));var db=require(_0x3e0c('0x1a'))['db'];function respondWithStatusCode(_0x5fe775,_0x5dc732){_0x5dc732=_0x5dc732||0xcc;return function(_0x38b416){if(_0x38b416){return _0x5fe775['sendStatus'](_0x5dc732);}return _0x5fe775[_0x3e0c('0x1b')](_0x5dc732)[_0x3e0c('0x1c')]();};}function respondWithResult(_0x5d0ab7,_0x5f2654){_0x5f2654=_0x5f2654||0xc8;return function(_0x6d9c61){if(_0x6d9c61){return _0x5d0ab7[_0x3e0c('0x1b')](_0x5f2654)[_0x3e0c('0x1d')](_0x6d9c61);}};}function respondWithFilteredResult(_0xea4ed,_0x15a269){return function(_0x24fcf9){if(_0x24fcf9){var _0x1947c2=_0x24fcf9[_0x3e0c('0x1e')],_0x274d75=_0x15a269['offset'],_0x42b1bd=_0x15a269['offset']+_0x15a269[_0x3e0c('0x1f')],_0x87e3f9;if(_0x42b1bd>=_0x1947c2){_0x42b1bd=_0x1947c2;_0x87e3f9=0xc8;}else{_0x87e3f9=0xce;}_0xea4ed[_0x3e0c('0x1b')](_0x87e3f9);return _0xea4ed[_0x3e0c('0x20')](_0x3e0c('0x21'),_0x274d75+'-'+_0x42b1bd+'/'+_0x1947c2)[_0x3e0c('0x1d')](_0x24fcf9);}return null;};}function patchUpdates(_0x8825b7){return function(_0x5f1034){try{jsonpatch[_0x3e0c('0x22')](_0x5f1034,_0x8825b7,!![]);}catch(_0x2f5950){return BPromise[_0x3e0c('0x23')](_0x2f5950);}return _0x5f1034['save']();};}function saveUpdates(_0x60c48c,_0x5e3a93){return function(_0x479265){if(_0x479265){return _0x479265[_0x3e0c('0x24')](_0x60c48c)[_0x3e0c('0x25')](function(_0x6fa8f9){return _0x6fa8f9;});}return null;};}function removeEntity(_0x410b09,_0x4f8d38){return function(_0x4cd447){if(_0x4cd447){return _0x4cd447[_0x3e0c('0x26')]()['then'](function(){_0x410b09['status'](0xcc)[_0x3e0c('0x1c')]();});}};}function handleEntityNotFound(_0x1769b1,_0x44ce68){return function(_0x5bb7aa){if(!_0x5bb7aa){_0x1769b1[_0x3e0c('0x27')](0x194);}return _0x5bb7aa;};}function handleError(_0x39223a,_0x5182fd){_0x5182fd=_0x5182fd||0x1f4;return function(_0x7dba09){logger[_0x3e0c('0x28')](_0x7dba09[_0x3e0c('0x29')]);if(_0x7dba09[_0x3e0c('0x2a')]){delete _0x7dba09['name'];}_0x39223a[_0x3e0c('0x1b')](_0x5182fd)[_0x3e0c('0x2b')](_0x7dba09);};}exports[_0x3e0c('0x2c')]=function(_0x26e01f,_0x4c4bc3){var _0x15c294={},_0x47b15d={},_0x50de5c={'count':0x0,'rows':[]};var _0x477ebc=_[_0x3e0c('0x2d')](db['ScreenRecording'][_0x3e0c('0x2e')],function(_0x3f22b1){return{'name':_0x3f22b1[_0x3e0c('0x2f')],'type':_0x3f22b1['type'][_0x3e0c('0x30')]};});_0x47b15d[_0x3e0c('0x31')]=_['differenceBy'](_[_0x3e0c('0x2d')](_0x477ebc,_0x3e0c('0x2a')),[_0x3e0c('0x32')]);_0x47b15d[_0x3e0c('0x33')]=_['keys'](_0x26e01f[_0x3e0c('0x33')]);_0x47b15d[_0x3e0c('0x34')]=_[_0x3e0c('0x35')](_0x47b15d['model'],_0x47b15d[_0x3e0c('0x33')]);_0x15c294[_0x3e0c('0x36')]=_[_0x3e0c('0x35')](_0x47b15d['model'],qs[_0x3e0c('0x37')](_0x26e01f[_0x3e0c('0x33')][_0x3e0c('0x37')]));_0x15c294[_0x3e0c('0x36')]=_0x15c294[_0x3e0c('0x36')][_0x3e0c('0x38')]?_0x15c294[_0x3e0c('0x36')]:_0x47b15d[_0x3e0c('0x31')];if(!_0x26e01f[_0x3e0c('0x33')][_0x3e0c('0x39')](_0x3e0c('0x3a'))){_0x15c294[_0x3e0c('0x1f')]=qs[_0x3e0c('0x1f')](_0x26e01f[_0x3e0c('0x33')]['limit']);_0x15c294[_0x3e0c('0x3b')]=qs[_0x3e0c('0x3b')](_0x26e01f[_0x3e0c('0x33')][_0x3e0c('0x3b')]);}_0x15c294[_0x3e0c('0x3c')]=qs[_0x3e0c('0x3d')](_0x26e01f[_0x3e0c('0x33')][_0x3e0c('0x3d')]);_0x15c294['where']=qs['filters'](_[_0x3e0c('0x3e')](_0x26e01f[_0x3e0c('0x33')],_0x47b15d[_0x3e0c('0x34')]),_0x477ebc);if(_0x26e01f[_0x3e0c('0x33')][_0x3e0c('0x3f')]){_0x15c294[_0x3e0c('0x40')]=_['merge'](_0x15c294[_0x3e0c('0x40')],{'$or':_[_0x3e0c('0x2d')](_0x477ebc,function(_0x55dc17){if(_0x55dc17['type']!=='VIRTUAL'){var _0x42ddac={};_0x42ddac[_0x55dc17[_0x3e0c('0x2a')]]={'$like':'%'+_0x26e01f[_0x3e0c('0x33')][_0x3e0c('0x3f')]+'%'};return _0x42ddac;}})});}_0x15c294=_[_0x3e0c('0x41')]({},_0x15c294,_0x26e01f[_0x3e0c('0x42')]);var _0x6242e5={'where':_0x15c294[_0x3e0c('0x40')]};return db[_0x3e0c('0x43')][_0x3e0c('0x1e')](_0x6242e5)[_0x3e0c('0x25')](function(_0x20135d){_0x50de5c['count']=_0x20135d;if(_0x26e01f['query']['includeAll']){_0x15c294[_0x3e0c('0x44')]=[{'all':!![]}];}return db[_0x3e0c('0x43')]['findAll'](_0x15c294);})['then'](function(_0x2344c8){_0x50de5c[_0x3e0c('0x45')]=_0x2344c8;return _0x50de5c;})[_0x3e0c('0x25')](respondWithFilteredResult(_0x4c4bc3,_0x15c294))[_0x3e0c('0x46')](handleError(_0x4c4bc3,null));};exports['show']=function(_0x2e562f,_0x363205){var _0x81da81={'raw':![],'where':{'id':_0x2e562f[_0x3e0c('0x47')]['id']}},_0x12cf58={};_0x12cf58['model']=_[_0x3e0c('0x48')](db['ScreenRecording'][_0x3e0c('0x2e')]);_0x12cf58[_0x3e0c('0x33')]=_['keys'](_0x2e562f['query']);_0x12cf58[_0x3e0c('0x34')]=_[_0x3e0c('0x35')](_0x12cf58['model'],_0x12cf58[_0x3e0c('0x33')]);_0x81da81[_0x3e0c('0x36')]=_[_0x3e0c('0x35')](_0x12cf58[_0x3e0c('0x31')],qs[_0x3e0c('0x37')](_0x2e562f[_0x3e0c('0x33')]['fields']));_0x81da81[_0x3e0c('0x36')]=_0x81da81[_0x3e0c('0x36')][_0x3e0c('0x38')]?_0x81da81[_0x3e0c('0x36')]:_0x12cf58[_0x3e0c('0x31')];if(_0x2e562f[_0x3e0c('0x33')]['includeAll']){_0x81da81[_0x3e0c('0x44')]=[{'all':!![]}];}_0x81da81=_[_0x3e0c('0x41')]({},_0x81da81,_0x2e562f[_0x3e0c('0x42')]);return db['ScreenRecording'][_0x3e0c('0x49')](_0x81da81)[_0x3e0c('0x25')](handleEntityNotFound(_0x363205,null))['then'](respondWithResult(_0x363205,null))[_0x3e0c('0x46')](handleError(_0x363205,null));};exports[_0x3e0c('0x4a')]=function(_0x2fe20f,_0x4fdb60){return db[_0x3e0c('0x43')][_0x3e0c('0x4a')](_0x2fe20f[_0x3e0c('0x4b')],{})[_0x3e0c('0x25')](respondWithResult(_0x4fdb60,0xc9))[_0x3e0c('0x46')](handleError(_0x4fdb60,null));};exports[_0x3e0c('0x24')]=function(_0x850146,_0x41f068){if(_0x850146[_0x3e0c('0x4b')]['id']){delete _0x850146[_0x3e0c('0x4b')]['id'];}delete _0x850146[_0x3e0c('0x4b')]['duration'];delete _0x850146[_0x3e0c('0x4b')]['createdAt'];delete _0x850146['body'][_0x3e0c('0x4c')];delete _0x850146['body'][_0x3e0c('0x4d')];return db[_0x3e0c('0x43')]['find']({'where':{'id':_0x850146[_0x3e0c('0x47')]['id']}})[_0x3e0c('0x25')](handleEntityNotFound(_0x41f068,null))['then'](saveUpdates(_0x850146[_0x3e0c('0x4b')],null))[_0x3e0c('0x25')](respondWithResult(_0x41f068,null))[_0x3e0c('0x46')](handleError(_0x41f068,null));};exports[_0x3e0c('0x4e')]=function(_0x171e45,_0x3f535d){return db[_0x3e0c('0x43')][_0x3e0c('0x4e')]()[_0x3e0c('0x25')](respondWithResult(_0x3f535d,null))[_0x3e0c('0x46')](handleError(_0x3f535d,null));};exports['download']=function(_0x3743ae,_0x2b9a4e,_0x30af1d){var _0x39acf6=require(_0x3e0c('0x4f'));var _0x14299c=![];var _0xf653ad={};if(_0x3743ae[_0x3e0c('0x33')][_0x3e0c('0x50')]&&_0x3743ae[_0x3e0c('0x33')][_0x3e0c('0x50')]===_0x3e0c('0x51')){_0xf653ad[_0x3e0c('0x51')]=_0x3743ae[_0x3e0c('0x47')]['id'];}else{_0xf653ad['id']=_0x3743ae['params']['id'];}return db[_0x3e0c('0x43')][_0x3e0c('0x49')]({'where':_0xf653ad,'attributes':['id',_0x3e0c('0x4d')],'raw':!![]})['then'](handleEntityNotFound(_0x2b9a4e,null))[_0x3e0c('0x25')](function(_0x192f08){if(_0x192f08){var _0x52832b=path[_0x3e0c('0x52')](config[_0x3e0c('0x53')],_0x3e0c('0x54'),_0x192f08[_0x3e0c('0x4d')]);var _0x29cedc=util[_0x3e0c('0x32')](_0x3e0c('0x55'),_0x52832b);if(fs['existsSync'](_0x29cedc)){_0x14299c=!![];return _0x39acf6[_0x3e0c('0x56')](_0x29cedc,_0x52832b,config[_0x3e0c('0x57')]['recording'])[_0x3e0c('0x25')](function(){return _0x192f08;});}return _0x192f08;}})['then'](function(_0x13840a){if(_0x13840a){var _0x2eeea1=path[_0x3e0c('0x52')](config[_0x3e0c('0x53')],_0x3e0c('0x54'),_0x13840a[_0x3e0c('0x4d')]);if(!fs[_0x3e0c('0x58')](_0x2eeea1)){throw new db[(_0x3e0c('0x59'))][(_0x3e0c('0x5a'))](_0x3e0c('0x5b'));}if(_0x13840a[_0x3e0c('0x5c')]){return _0x2b9a4e[_0x3e0c('0x5d')](_0x2eeea1,_0x13840a[_0x3e0c('0x5c')]+path[_0x3e0c('0x5e')](_0x2eeea1),function(){if(_0x14299c){fs[_0x3e0c('0x5f')](_0x2eeea1);}});}else{return _0x2b9a4e[_0x3e0c('0x5d')](_0x2eeea1,function(_0x117e2f){if(_0x14299c){fs[_0x3e0c('0x5f')](_0x2eeea1);}});}}})[_0x3e0c('0x46')](function(_0x1939f8){if(_0x1939f8[_0x3e0c('0x60')]===_0x3e0c('0x5b')){_0x2b9a4e[_0x3e0c('0x1b')](0x194)[_0x3e0c('0x2b')](_0x3e0c('0x61'));}else{return handleError(_0x2b9a4e,null);}});};exports[_0x3e0c('0x26')]=function(_0x58aa5d,_0x33c994){return db[_0x3e0c('0x43')][_0x3e0c('0x49')]({'where':{'id':_0x58aa5d[_0x3e0c('0x47')]['id']}})['then'](function(_0xb06232){if(!_0xb06232)throw new ReferenceError(_0x3e0c('0x62'));return _0xb06232;})[_0x3e0c('0x25')](function(_0x155a5a){var _0x7f6a26=path[_0x3e0c('0x52')](config['root'],_0x3e0c('0x54'),_0x155a5a[_0x3e0c('0x4d')]);logger['info'](_0x3e0c('0x63'),_0x7f6a26);if(!_[_0x3e0c('0x64')](_0x155a5a[_0x3e0c('0x4d')])&&fs[_0x3e0c('0x58')](_0x7f6a26)){logger[_0x3e0c('0x65')]('File:\x20\x22'+_0x7f6a26+'\x22\x20trovato\x20eseguo\x20la\x20cancellazione');fs[_0x3e0c('0x66')](_0x7f6a26);}_0x7f6a26=_0x7f6a26+_0x3e0c('0x67');if(!_['isNil'](_0x155a5a['value'])&&fs['existsSync'](_0x7f6a26)){logger[_0x3e0c('0x65')](_0x3e0c('0x68')+_0x7f6a26+_0x3e0c('0x69'));fs[_0x3e0c('0x66')](_0x7f6a26);}return _0x155a5a;})[_0x3e0c('0x25')](function(_0x335bc7){if(!_0x335bc7)throw new InternalError();return _0x335bc7[_0x3e0c('0x26')]();})[_0x3e0c('0x25')](function(){_0x33c994[_0x3e0c('0x1b')](0xcc)[_0x3e0c('0x1c')]();})[_0x3e0c('0x46')](handleError(_0x33c994,null));}; \ No newline at end of file +var _0x3de9=['%s.cypher','existsSync','decryptFile','secrets','recording','server/files/screen_recordings','Sequelize','ValidationError','ScreenRecording\x20not\x20found','filename','download','extname','unlink','message','Not\x20found','Entity\x20not\x20found','value','info','cancellazione\x20fisica\x20documento\x20%s','isNil','File:\x20\x22','unlinkSync','.cypher','html-pdf','rimraf','fast-json-patch','request-promise','bluebird','util','path','to-csv','ejs','lodash','squel','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','sendStatus','status','end','count','offset','limit','Content-Range','reject','save','update','then','destroy','stack','name','send','index','ScreenRecording','rawAttributes','fieldName','type','key','differenceBy','query','keys','filters','intersection','attributes','model','fields','hasOwnProperty','order','sort','where','filter','map','VIRTUAL','merge','includeAll','include','findAll','catch','length','find','create','body','duration','createdAt','closedAt','params','describe','uniqueid','join','root','format'];(function(_0x3070dc,_0x40cf11){var _0x431489=function(_0x49bc2a){while(--_0x49bc2a){_0x3070dc['push'](_0x3070dc['shift']());}};_0x431489(++_0x40cf11);}(_0x3de9,0x143));var _0x93de=function(_0x29efdf,_0x162c7e){_0x29efdf=_0x29efdf-0x0;var _0x49152f=_0x3de9[_0x29efdf];return _0x49152f;};'use strict';var pdf=require(_0x93de('0x0'));var emlformat=require('eml-format');var rimraf=require(_0x93de('0x1'));var zipdir=require('zip-dir');var jsonpatch=require(_0x93de('0x2'));var rp=require(_0x93de('0x3'));var moment=require('moment');var BPromise=require(_0x93de('0x4'));var Mustache=require('mustache');var util=require(_0x93de('0x5'));var path=require(_0x93de('0x6'));var sox=require('sox');var csv=require(_0x93de('0x7'));var ejs=require(_0x93de('0x8'));var fs=require('fs');var _=require(_0x93de('0x9'));var squel=require(_0x93de('0xa'));var crypto=require('crypto');var jsforce=require('jsforce');var deskjs=require('desk.js');var toCsv=require('to-csv');var querystring=require(_0x93de('0xb'));var Papa=require(_0x93de('0xc'));var Redis=require(_0x93de('0xd'));var authService=require(_0x93de('0xe'));var qs=require(_0x93de('0xf'));var as=require(_0x93de('0x10'));var hardwareService=require(_0x93de('0x11'));var logger=require(_0x93de('0x12'))(_0x93de('0x13'));var utils=require(_0x93de('0x14'));var config=require(_0x93de('0x15'));var db=require(_0x93de('0x16'))['db'];function respondWithStatusCode(_0xf74e9a,_0x576e51){_0x576e51=_0x576e51||0xcc;return function(_0x27f60f){if(_0x27f60f){return _0xf74e9a[_0x93de('0x17')](_0x576e51);}return _0xf74e9a[_0x93de('0x18')](_0x576e51)[_0x93de('0x19')]();};}function respondWithResult(_0x48804d,_0xec528e){_0xec528e=_0xec528e||0xc8;return function(_0x56b658){if(_0x56b658){return _0x48804d[_0x93de('0x18')](_0xec528e)['json'](_0x56b658);}};}function respondWithFilteredResult(_0x177198,_0x332fd3){return function(_0x26f043){if(_0x26f043){var _0x3ef4a4=_0x26f043[_0x93de('0x1a')],_0x19c472=_0x332fd3[_0x93de('0x1b')],_0x27438e=_0x332fd3[_0x93de('0x1b')]+_0x332fd3[_0x93de('0x1c')],_0x18aef9;if(_0x27438e>=_0x3ef4a4){_0x27438e=_0x3ef4a4;_0x18aef9=0xc8;}else{_0x18aef9=0xce;}_0x177198[_0x93de('0x18')](_0x18aef9);return _0x177198['set'](_0x93de('0x1d'),_0x19c472+'-'+_0x27438e+'/'+_0x3ef4a4)['json'](_0x26f043);}return null;};}function patchUpdates(_0x223538){return function(_0x2399ad){try{jsonpatch['apply'](_0x2399ad,_0x223538,!![]);}catch(_0x3132df){return BPromise[_0x93de('0x1e')](_0x3132df);}return _0x2399ad[_0x93de('0x1f')]();};}function saveUpdates(_0x20c390,_0x5617cc){return function(_0xf7597e){if(_0xf7597e){return _0xf7597e[_0x93de('0x20')](_0x20c390)[_0x93de('0x21')](function(_0x1b3ea8){return _0x1b3ea8;});}return null;};}function removeEntity(_0x38b4ac,_0x4dd04a){return function(_0x29ea00){if(_0x29ea00){return _0x29ea00[_0x93de('0x22')]()[_0x93de('0x21')](function(){_0x38b4ac[_0x93de('0x18')](0xcc)[_0x93de('0x19')]();});}};}function handleEntityNotFound(_0x281843,_0x4c37c3){return function(_0x538a4d){if(!_0x538a4d){_0x281843[_0x93de('0x17')](0x194);}return _0x538a4d;};}function handleError(_0x553b0c,_0x5c7ab4){_0x5c7ab4=_0x5c7ab4||0x1f4;return function(_0x5afeba){logger['error'](_0x5afeba[_0x93de('0x23')]);if(_0x5afeba[_0x93de('0x24')]){delete _0x5afeba[_0x93de('0x24')];}_0x553b0c[_0x93de('0x18')](_0x5c7ab4)[_0x93de('0x25')](_0x5afeba);};}exports[_0x93de('0x26')]=function(_0x194da8,_0x2f91b9){var _0x5b19df={},_0x5c5d6f={},_0xfd4136={'count':0x0,'rows':[]};var _0x1254f2=_['map'](db[_0x93de('0x27')][_0x93de('0x28')],function(_0x1356b7){return{'name':_0x1356b7[_0x93de('0x29')],'type':_0x1356b7[_0x93de('0x2a')][_0x93de('0x2b')]};});_0x5c5d6f['model']=_[_0x93de('0x2c')](_['map'](_0x1254f2,_0x93de('0x24')),['format']);_0x5c5d6f[_0x93de('0x2d')]=_[_0x93de('0x2e')](_0x194da8[_0x93de('0x2d')]);_0x5c5d6f[_0x93de('0x2f')]=_[_0x93de('0x30')](_0x5c5d6f['model'],_0x5c5d6f[_0x93de('0x2d')]);_0x5b19df[_0x93de('0x31')]=_[_0x93de('0x30')](_0x5c5d6f[_0x93de('0x32')],qs[_0x93de('0x33')](_0x194da8[_0x93de('0x2d')][_0x93de('0x33')]));_0x5b19df[_0x93de('0x31')]=_0x5b19df[_0x93de('0x31')]['length']?_0x5b19df[_0x93de('0x31')]:_0x5c5d6f[_0x93de('0x32')];if(!_0x194da8[_0x93de('0x2d')][_0x93de('0x34')]('nolimit')){_0x5b19df[_0x93de('0x1c')]=qs[_0x93de('0x1c')](_0x194da8[_0x93de('0x2d')][_0x93de('0x1c')]);_0x5b19df[_0x93de('0x1b')]=qs['offset'](_0x194da8['query'][_0x93de('0x1b')]);}_0x5b19df[_0x93de('0x35')]=qs[_0x93de('0x36')](_0x194da8[_0x93de('0x2d')][_0x93de('0x36')]);_0x5b19df[_0x93de('0x37')]=qs[_0x93de('0x2f')](_['pick'](_0x194da8[_0x93de('0x2d')],_0x5c5d6f[_0x93de('0x2f')]),_0x1254f2);if(_0x194da8['query'][_0x93de('0x38')]){_0x5b19df['where']=_['merge'](_0x5b19df['where'],{'$or':_[_0x93de('0x39')](_0x1254f2,function(_0x38e690){if(_0x38e690['type']!==_0x93de('0x3a')){var _0x19a883={};_0x19a883[_0x38e690[_0x93de('0x24')]]={'$like':'%'+_0x194da8[_0x93de('0x2d')][_0x93de('0x38')]+'%'};return _0x19a883;}})});}_0x5b19df=_[_0x93de('0x3b')]({},_0x5b19df,_0x194da8['options']);var _0x5f0469={'where':_0x5b19df[_0x93de('0x37')]};return db[_0x93de('0x27')][_0x93de('0x1a')](_0x5f0469)[_0x93de('0x21')](function(_0x108fce){_0xfd4136[_0x93de('0x1a')]=_0x108fce;if(_0x194da8['query'][_0x93de('0x3c')]){_0x5b19df[_0x93de('0x3d')]=[{'all':!![]}];}return db[_0x93de('0x27')][_0x93de('0x3e')](_0x5b19df);})[_0x93de('0x21')](function(_0x1355e8){_0xfd4136['rows']=_0x1355e8;return _0xfd4136;})[_0x93de('0x21')](respondWithFilteredResult(_0x2f91b9,_0x5b19df))[_0x93de('0x3f')](handleError(_0x2f91b9,null));};exports['show']=function(_0x5019be,_0x541367){var _0x3381cc={'raw':![],'where':{'id':_0x5019be['params']['id']}},_0x3441bb={};_0x3441bb[_0x93de('0x32')]=_[_0x93de('0x2e')](db[_0x93de('0x27')][_0x93de('0x28')]);_0x3441bb[_0x93de('0x2d')]=_[_0x93de('0x2e')](_0x5019be[_0x93de('0x2d')]);_0x3441bb[_0x93de('0x2f')]=_[_0x93de('0x30')](_0x3441bb[_0x93de('0x32')],_0x3441bb['query']);_0x3381cc[_0x93de('0x31')]=_['intersection'](_0x3441bb[_0x93de('0x32')],qs[_0x93de('0x33')](_0x5019be['query'][_0x93de('0x33')]));_0x3381cc['attributes']=_0x3381cc[_0x93de('0x31')][_0x93de('0x40')]?_0x3381cc['attributes']:_0x3441bb[_0x93de('0x32')];if(_0x5019be[_0x93de('0x2d')][_0x93de('0x3c')]){_0x3381cc[_0x93de('0x3d')]=[{'all':!![]}];}_0x3381cc=_[_0x93de('0x3b')]({},_0x3381cc,_0x5019be['options']);return db[_0x93de('0x27')][_0x93de('0x41')](_0x3381cc)[_0x93de('0x21')](handleEntityNotFound(_0x541367,null))[_0x93de('0x21')](respondWithResult(_0x541367,null))[_0x93de('0x3f')](handleError(_0x541367,null));};exports['create']=function(_0x1c2de9,_0x41433a){return db[_0x93de('0x27')][_0x93de('0x42')](_0x1c2de9[_0x93de('0x43')],{})[_0x93de('0x21')](respondWithResult(_0x41433a,0xc9))[_0x93de('0x3f')](handleError(_0x41433a,null));};exports[_0x93de('0x20')]=function(_0x4c00d4,_0x2476ed){if(_0x4c00d4['body']['id']){delete _0x4c00d4['body']['id'];}delete _0x4c00d4[_0x93de('0x43')][_0x93de('0x44')];delete _0x4c00d4[_0x93de('0x43')][_0x93de('0x45')];delete _0x4c00d4['body'][_0x93de('0x46')];delete _0x4c00d4['body']['value'];return db[_0x93de('0x27')][_0x93de('0x41')]({'where':{'id':_0x4c00d4[_0x93de('0x47')]['id']}})['then'](handleEntityNotFound(_0x2476ed,null))[_0x93de('0x21')](saveUpdates(_0x4c00d4['body'],null))[_0x93de('0x21')](respondWithResult(_0x2476ed,null))['catch'](handleError(_0x2476ed,null));};exports[_0x93de('0x48')]=function(_0x1c33bf,_0x4ddaec){return db[_0x93de('0x27')]['describe']()[_0x93de('0x21')](respondWithResult(_0x4ddaec,null))[_0x93de('0x3f')](handleError(_0x4ddaec,null));};exports['download']=function(_0x23cc78,_0x52dfef,_0x3749da){var _0x34010d=require('../../components/encryptor');var _0x48b280=![];var _0x343e86={};if(_0x23cc78[_0x93de('0x2d')]['type']&&_0x23cc78[_0x93de('0x2d')][_0x93de('0x2a')]===_0x93de('0x49')){_0x343e86[_0x93de('0x49')]=_0x23cc78['params']['id'];}else{_0x343e86['id']=_0x23cc78[_0x93de('0x47')]['id'];}return db[_0x93de('0x27')][_0x93de('0x41')]({'where':_0x343e86,'attributes':['id','value'],'raw':!![]})[_0x93de('0x21')](handleEntityNotFound(_0x52dfef,null))['then'](function(_0x17dda9){if(_0x17dda9){var _0x8d3499=path[_0x93de('0x4a')](config[_0x93de('0x4b')],'server/files/screen_recordings',_0x17dda9['value']);var _0x27182f=util[_0x93de('0x4c')](_0x93de('0x4d'),_0x8d3499);if(fs[_0x93de('0x4e')](_0x27182f)){_0x48b280=!![];return _0x34010d[_0x93de('0x4f')](_0x27182f,_0x8d3499,config[_0x93de('0x50')][_0x93de('0x51')])[_0x93de('0x21')](function(){return _0x17dda9;});}return _0x17dda9;}})['then'](function(_0x3fa1d9){if(_0x3fa1d9){var _0x1ca82a=path['join'](config[_0x93de('0x4b')],_0x93de('0x52'),_0x3fa1d9['value']);if(!fs[_0x93de('0x4e')](_0x1ca82a)){throw new db[(_0x93de('0x53'))][(_0x93de('0x54'))](_0x93de('0x55'));}if(_0x3fa1d9[_0x93de('0x56')]){return _0x52dfef[_0x93de('0x57')](_0x1ca82a,_0x3fa1d9[_0x93de('0x56')]+path[_0x93de('0x58')](_0x1ca82a),function(){if(_0x48b280){fs[_0x93de('0x59')](_0x1ca82a);}});}else{return _0x52dfef[_0x93de('0x57')](_0x1ca82a,function(_0x5a83f3){if(_0x48b280){fs[_0x93de('0x59')](_0x1ca82a);}});}}})[_0x93de('0x3f')](function(_0x140ec9){if(_0x140ec9[_0x93de('0x5a')]===_0x93de('0x55')){_0x52dfef[_0x93de('0x18')](0x194)['send'](_0x93de('0x5b'));}else{return handleError(_0x52dfef,null);}});};exports['destroy']=function(_0x36938a,_0x47eda1){return db[_0x93de('0x27')][_0x93de('0x41')]({'where':{'id':_0x36938a[_0x93de('0x47')]['id']}})[_0x93de('0x21')](function(_0x4ae977){if(!_0x4ae977)throw new ReferenceError(_0x93de('0x5c'));return _0x4ae977;})['then'](function(_0x2e9cc0){var _0x67a643=path[_0x93de('0x4a')](config['root'],'server/files/screen_recordings',_0x2e9cc0[_0x93de('0x5d')]);logger[_0x93de('0x5e')](_0x93de('0x5f'),_0x67a643);if(!_[_0x93de('0x60')](_0x2e9cc0['value'])&&fs[_0x93de('0x4e')](_0x67a643)){logger[_0x93de('0x5e')](_0x93de('0x61')+_0x67a643+'\x22\x20trovato\x20eseguo\x20la\x20cancellazione');fs[_0x93de('0x62')](_0x67a643);}_0x67a643=_0x67a643+_0x93de('0x63');if(!_[_0x93de('0x60')](_0x2e9cc0[_0x93de('0x5d')])&&fs[_0x93de('0x4e')](_0x67a643)){logger[_0x93de('0x5e')](_0x93de('0x61')+_0x67a643+'\x22\x20trovato\x20eseguo\x20la\x20cancellazione');fs[_0x93de('0x62')](_0x67a643);}return _0x2e9cc0;})[_0x93de('0x21')](function(_0x4d40bd){if(!_0x4d40bd)throw new InternalError();return _0x4d40bd[_0x93de('0x22')]();})['then'](function(){_0x47eda1['status'](0xcc)[_0x93de('0x19')]();})[_0x93de('0x3f')](handleError(_0x47eda1,null));}; \ No newline at end of file diff --git a/server/api/screenRecording/screenRecording.model.js b/server/api/screenRecording/screenRecording.model.js index 519b1b7..8b47c6f 100644 --- a/server/api/screenRecording/screenRecording.model.js +++ b/server/api/screenRecording/screenRecording.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x30ac=['./screenRecording.attributes','exports','define','ScreenRecording','screen_recordings','interactionid','util','moment','bluebird','rimraf'];(function(_0x3e6a6d,_0x3c903c){var _0x5515d9=function(_0x1c3925){while(--_0x1c3925){_0x3e6a6d['push'](_0x3e6a6d['shift']());}};_0x5515d9(++_0x3c903c);}(_0x30ac,0x13c));var _0xc30a=function(_0x2074fb,_0x26707f){_0x2074fb=_0x2074fb-0x0;var _0x4c71d3=_0x30ac[_0x2074fb];return _0x4c71d3;};'use strict';var _=require('lodash');var util=require(_0xc30a('0x0'));var logger=require('../../config/logger')('api');var moment=require(_0xc30a('0x1'));var BPromise=require(_0xc30a('0x2'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xc30a('0x3'));var config=require('../../config/environment');var attributes=require(_0xc30a('0x4'));module[_0xc30a('0x5')]=function(_0x1560bd,_0x20fdba){return _0x1560bd[_0xc30a('0x6')](_0xc30a('0x7'),attributes,{'tableName':_0xc30a('0x8'),'paranoid':![],'indexes':[{'name':_0xc30a('0x9'),'fields':[_0xc30a('0x9')]}],'timestamps':!![]});}; \ No newline at end of file +var _0xade6=['api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./screenRecording.attributes','exports','define','ScreenRecording','screen_recordings','interactionid','lodash','util','../../config/logger'];(function(_0x442c25,_0x29a4c5){var _0x2ef9f9=function(_0x5b9849){while(--_0x5b9849){_0x442c25['push'](_0x442c25['shift']());}};_0x2ef9f9(++_0x29a4c5);}(_0xade6,0x1bd));var _0x6ade=function(_0x3b7b8a,_0x52c3b0){_0x3b7b8a=_0x3b7b8a-0x0;var _0x441206=_0xade6[_0x3b7b8a];return _0x441206;};'use strict';var _=require(_0x6ade('0x0'));var util=require(_0x6ade('0x1'));var logger=require(_0x6ade('0x2'))(_0x6ade('0x3'));var moment=require(_0x6ade('0x4'));var BPromise=require(_0x6ade('0x5'));var rp=require(_0x6ade('0x6'));var fs=require('fs');var path=require(_0x6ade('0x7'));var rimraf=require(_0x6ade('0x8'));var config=require(_0x6ade('0x9'));var attributes=require(_0x6ade('0xa'));module[_0x6ade('0xb')]=function(_0x2011d8,_0x13e30e){return _0x2011d8[_0x6ade('0xc')](_0x6ade('0xd'),attributes,{'tableName':_0x6ade('0xe'),'paranoid':![],'indexes':[{'name':_0x6ade('0xf'),'fields':[_0x6ade('0xf')]}],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/screenRecording/screenRecording.rpc.js b/server/api/screenRecording/screenRecording.rpc.js index 444f0fe..025226d 100644 --- a/server/api/screenRecording/screenRecording.rpc.js +++ b/server/api/screenRecording/screenRecording.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xa9e0=['http','info','ScreenRecording,\x20%s,\x20%s','request\x20sent','debug','ScreenRecording,\x20%s,\x20%s,\x20%s','code','error','message','result','catch','lodash','util','moment','ioredis','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise'];(function(_0x26dd1c,_0x4b6db5){var _0x4042f9=function(_0x1b6870){while(--_0x1b6870){_0x26dd1c['push'](_0x26dd1c['shift']());}};_0x4042f9(++_0x4b6db5);}(_0xa9e0,0x123));var _0x0a9e=function(_0x3635ce,_0x33a6f9){_0x3635ce=_0x3635ce-0x0;var _0x97ecd0=_0xa9e0[_0x3635ce];return _0x97ecd0;};'use strict';var _=require(_0x0a9e('0x0'));var util=require(_0x0a9e('0x1'));var moment=require(_0x0a9e('0x2'));var BPromise=require('bluebird');var rs=require('randomstring');var fs=require('fs');var Redis=require(_0x0a9e('0x3'));var db=require('../../mysqldb')['db'];var utils=require(_0x0a9e('0x4'));var logger=require(_0x0a9e('0x5'))(_0x0a9e('0x6'));var config=require(_0x0a9e('0x7'));var jayson=require(_0x0a9e('0x8'));var client=jayson['client'][_0x0a9e('0x9')]({'port':0x232a});function respondWithRpcPromise(_0x441e3a,_0x2cc193,_0x5f41ea){return new BPromise(function(_0x503809,_0xe42b77){return client['request'](_0x441e3a,_0x5f41ea)['then'](function(_0x39753a){logger[_0x0a9e('0xa')](_0x0a9e('0xb'),_0x2cc193,_0x0a9e('0xc'));logger[_0x0a9e('0xd')](_0x0a9e('0xe'),_0x2cc193,'request\x20sent',JSON['stringify'](_0x39753a));if(_0x39753a['error']){if(_0x39753a['error'][_0x0a9e('0xf')]===0x1f4){logger[_0x0a9e('0x10')](_0x0a9e('0xb'),_0x2cc193,_0x39753a[_0x0a9e('0x10')][_0x0a9e('0x11')]);return _0xe42b77(_0x39753a[_0x0a9e('0x10')]['message']);}logger[_0x0a9e('0x10')](_0x0a9e('0xb'),_0x2cc193,_0x39753a[_0x0a9e('0x10')][_0x0a9e('0x11')]);return _0x503809(_0x39753a[_0x0a9e('0x10')][_0x0a9e('0x11')]);}else{logger['info'](_0x0a9e('0xb'),_0x2cc193,'request\x20sent');_0x503809(_0x39753a[_0x0a9e('0x12')]['message']);}})[_0x0a9e('0x13')](function(_0x12066b){logger['error'](_0x0a9e('0xb'),_0x2cc193,_0x12066b);_0xe42b77(_0x12066b);});});} \ No newline at end of file +var _0xa9e0=['http','info','ScreenRecording,\x20%s,\x20%s','request\x20sent','debug','ScreenRecording,\x20%s,\x20%s,\x20%s','code','error','message','result','catch','lodash','util','moment','ioredis','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise'];(function(_0x1ad2fb,_0x15a7f4){var _0xaa335d=function(_0x1ef185){while(--_0x1ef185){_0x1ad2fb['push'](_0x1ad2fb['shift']());}};_0xaa335d(++_0x15a7f4);}(_0xa9e0,0x123));var _0x0a9e=function(_0x45e98e,_0x169b60){_0x45e98e=_0x45e98e-0x0;var _0x374dba=_0xa9e0[_0x45e98e];return _0x374dba;};'use strict';var _=require(_0x0a9e('0x0'));var util=require(_0x0a9e('0x1'));var moment=require(_0x0a9e('0x2'));var BPromise=require('bluebird');var rs=require('randomstring');var fs=require('fs');var Redis=require(_0x0a9e('0x3'));var db=require('../../mysqldb')['db'];var utils=require(_0x0a9e('0x4'));var logger=require(_0x0a9e('0x5'))(_0x0a9e('0x6'));var config=require(_0x0a9e('0x7'));var jayson=require(_0x0a9e('0x8'));var client=jayson['client'][_0x0a9e('0x9')]({'port':0x232a});function respondWithRpcPromise(_0x441e3a,_0x2cc193,_0x5f41ea){return new BPromise(function(_0x503809,_0xe42b77){return client['request'](_0x441e3a,_0x5f41ea)['then'](function(_0x39753a){logger[_0x0a9e('0xa')](_0x0a9e('0xb'),_0x2cc193,_0x0a9e('0xc'));logger[_0x0a9e('0xd')](_0x0a9e('0xe'),_0x2cc193,'request\x20sent',JSON['stringify'](_0x39753a));if(_0x39753a['error']){if(_0x39753a['error'][_0x0a9e('0xf')]===0x1f4){logger[_0x0a9e('0x10')](_0x0a9e('0xb'),_0x2cc193,_0x39753a[_0x0a9e('0x10')][_0x0a9e('0x11')]);return _0xe42b77(_0x39753a[_0x0a9e('0x10')]['message']);}logger[_0x0a9e('0x10')](_0x0a9e('0xb'),_0x2cc193,_0x39753a[_0x0a9e('0x10')][_0x0a9e('0x11')]);return _0x503809(_0x39753a[_0x0a9e('0x10')][_0x0a9e('0x11')]);}else{logger['info'](_0x0a9e('0xb'),_0x2cc193,'request\x20sent');_0x503809(_0x39753a[_0x0a9e('0x12')]['message']);}})[_0x0a9e('0x13')](function(_0x12066b){logger['error'](_0x0a9e('0xb'),_0x2cc193,_0x12066b);_0xe42b77(_0x12066b);});});} \ No newline at end of file diff --git a/server/api/setting/index.js b/server/api/setting/index.js index f6b061a..49ce33d 100644 --- a/server/api/setting/index.js +++ b/server/api/setting/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xeb0b=['exports','multer','path','connect-timeout','express','Router','../../components/auth/service','../../config/environment','./setting.controller','get','isAuthenticated','/:id','show','/:id/logo','getLogo','getLogoLogin','/:id/gdpr','getPreferred','/:id/favicon','getFavicon','server/files/images/logos/','%s%s','extname','originalname','post','single','addLogo','diskStorage','root','logologin','/:id/logo_login','file','addLogoLogin','join','preferred','/:id/preferred','addPreferred','format','favicon','addFavicon','put','update'];(function(_0x173464,_0x5085f2){var _0x2d995a=function(_0x4f2ae9){while(--_0x4f2ae9){_0x173464['push'](_0x173464['shift']());}};_0x2d995a(++_0x5085f2);}(_0xeb0b,0xfd));var _0xbeb0=function(_0x501510,_0x61caa9){_0x501510=_0x501510-0x0;var _0x1e6ee5=_0xeb0b[_0x501510];return _0x1e6ee5;};'use strict';var multer=require(_0xbeb0('0x0'));var util=require('util');var path=require(_0xbeb0('0x1'));var timeout=require(_0xbeb0('0x2'));var express=require(_0xbeb0('0x3'));var router=express[_0xbeb0('0x4')]();var auth=require(_0xbeb0('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0xbeb0('0x6'));var controller=require(_0xbeb0('0x7'));router[_0xbeb0('0x8')]('/',auth[_0xbeb0('0x9')](),controller['index']);router[_0xbeb0('0x8')](_0xbeb0('0xa'),controller[_0xbeb0('0xb')]);router['get'](_0xbeb0('0xc'),controller[_0xbeb0('0xd')]);router['get']('/:id/logo_login',controller[_0xbeb0('0xe')]);router[_0xbeb0('0x8')](_0xbeb0('0xf'),controller['gdpr']);router[_0xbeb0('0x8')]('/:id/preferred',controller[_0xbeb0('0x10')]);router[_0xbeb0('0x8')](_0xbeb0('0x11'),controller[_0xbeb0('0x12')]);var upload=multer({'storage':multer['diskStorage']({'destination':function(_0x5d6071,_0x2c1501,_0x3588a6){_0x3588a6(null,path['join'](config['root'],_0xbeb0('0x13')));},'filename':function(_0x150bc5,_0x5b1443,_0x5c9f84){_0x5c9f84(null,util['format'](_0xbeb0('0x14'),'logo',path[_0xbeb0('0x15')](_0x5b1443[_0xbeb0('0x16')])));}})});router[_0xbeb0('0x17')](_0xbeb0('0xc'),upload[_0xbeb0('0x18')]('file'),controller[_0xbeb0('0x19')]);var upload=multer({'storage':multer[_0xbeb0('0x1a')]({'destination':function(_0x6ff208,_0x5aab04,_0x600c86){_0x600c86(null,path['join'](config[_0xbeb0('0x1b')],'server/files/images/logos/'));},'filename':function(_0x5938e0,_0x3f2b76,_0x5f20d8){_0x5f20d8(null,util['format']('%s%s',_0xbeb0('0x1c'),path[_0xbeb0('0x15')](_0x3f2b76[_0xbeb0('0x16')])));}})});router[_0xbeb0('0x17')](_0xbeb0('0x1d'),upload[_0xbeb0('0x18')](_0xbeb0('0x1e')),controller[_0xbeb0('0x1f')]);var upload=multer({'storage':multer[_0xbeb0('0x1a')]({'destination':function(_0x5b30aa,_0x2523ed,_0x5d77b8){_0x5d77b8(null,path[_0xbeb0('0x20')](config[_0xbeb0('0x1b')],'server/files/images/logos/'));},'filename':function(_0x43cb17,_0x7a8c88,_0x23da2c){_0x23da2c(null,util['format'](_0xbeb0('0x14'),_0xbeb0('0x21'),path[_0xbeb0('0x15')](_0x7a8c88['originalname'])));}})});router[_0xbeb0('0x17')](_0xbeb0('0x22'),upload[_0xbeb0('0x18')](_0xbeb0('0x1e')),controller[_0xbeb0('0x23')]);var upload=multer({'storage':multer[_0xbeb0('0x1a')]({'destination':function(_0x475bff,_0x58dd98,_0x3d1846){_0x3d1846(null,path[_0xbeb0('0x20')](config[_0xbeb0('0x1b')],_0xbeb0('0x13')));},'filename':function(_0x55da5a,_0x353eee,_0x132a4b){_0x132a4b(null,util[_0xbeb0('0x24')](_0xbeb0('0x14'),_0xbeb0('0x25'),path[_0xbeb0('0x15')](_0x353eee[_0xbeb0('0x16')])));}})});router[_0xbeb0('0x17')](_0xbeb0('0x11'),upload[_0xbeb0('0x18')]('file'),controller[_0xbeb0('0x26')]);router[_0xbeb0('0x27')]('/:id',auth[_0xbeb0('0x9')](),controller[_0xbeb0('0x28')]);module[_0xbeb0('0x29')]=router; \ No newline at end of file +var _0x9b78=['originalname','post','single','addLogo','logologin','extname','file','preferred','/:id/preferred','addPreferred','favicon','addFavicon','put','/:id','update','exports','util','path','connect-timeout','express','Router','../../components/auth/service','../../config/environment','get','isAuthenticated','index','show','/:id/logo','getLogo','getLogoLogin','/:id/gdpr','gdpr','getPreferred','/:id/favicon','getFavicon','diskStorage','join','root','server/files/images/logos/','format','%s%s','logo'];(function(_0x4bc732,_0x57d27f){var _0x4e2302=function(_0x3ee898){while(--_0x3ee898){_0x4bc732['push'](_0x4bc732['shift']());}};_0x4e2302(++_0x57d27f);}(_0x9b78,0x136));var _0x89b7=function(_0x13e741,_0x5d3c24){_0x13e741=_0x13e741-0x0;var _0x3f8bb3=_0x9b78[_0x13e741];return _0x3f8bb3;};'use strict';var multer=require('multer');var util=require(_0x89b7('0x0'));var path=require(_0x89b7('0x1'));var timeout=require(_0x89b7('0x2'));var express=require(_0x89b7('0x3'));var router=express[_0x89b7('0x4')]();var auth=require(_0x89b7('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x89b7('0x6'));var controller=require('./setting.controller');router[_0x89b7('0x7')]('/',auth[_0x89b7('0x8')](),controller[_0x89b7('0x9')]);router['get']('/:id',controller[_0x89b7('0xa')]);router['get'](_0x89b7('0xb'),controller[_0x89b7('0xc')]);router[_0x89b7('0x7')]('/:id/logo_login',controller[_0x89b7('0xd')]);router[_0x89b7('0x7')](_0x89b7('0xe'),controller[_0x89b7('0xf')]);router['get']('/:id/preferred',controller[_0x89b7('0x10')]);router['get'](_0x89b7('0x11'),controller[_0x89b7('0x12')]);var upload=multer({'storage':multer[_0x89b7('0x13')]({'destination':function(_0x95b58c,_0x7b35d3,_0x59e73c){_0x59e73c(null,path[_0x89b7('0x14')](config[_0x89b7('0x15')],_0x89b7('0x16')));},'filename':function(_0x17d90e,_0xc2d21c,_0x1309d1){_0x1309d1(null,util[_0x89b7('0x17')](_0x89b7('0x18'),_0x89b7('0x19'),path['extname'](_0xc2d21c[_0x89b7('0x1a')])));}})});router[_0x89b7('0x1b')](_0x89b7('0xb'),upload[_0x89b7('0x1c')]('file'),controller[_0x89b7('0x1d')]);var upload=multer({'storage':multer['diskStorage']({'destination':function(_0x21e1fb,_0x3a327d,_0x4ae8b){_0x4ae8b(null,path[_0x89b7('0x14')](config[_0x89b7('0x15')],_0x89b7('0x16')));},'filename':function(_0x5d23ce,_0x37d71d,_0x42052f){_0x42052f(null,util['format'](_0x89b7('0x18'),_0x89b7('0x1e'),path[_0x89b7('0x1f')](_0x37d71d[_0x89b7('0x1a')])));}})});router[_0x89b7('0x1b')]('/:id/logo_login',upload[_0x89b7('0x1c')](_0x89b7('0x20')),controller['addLogoLogin']);var upload=multer({'storage':multer[_0x89b7('0x13')]({'destination':function(_0x99b527,_0x4269a5,_0x50a881){_0x50a881(null,path[_0x89b7('0x14')](config[_0x89b7('0x15')],_0x89b7('0x16')));},'filename':function(_0x4ded16,_0x5b7a5e,_0x414d7b){_0x414d7b(null,util[_0x89b7('0x17')](_0x89b7('0x18'),_0x89b7('0x21'),path['extname'](_0x5b7a5e[_0x89b7('0x1a')])));}})});router[_0x89b7('0x1b')](_0x89b7('0x22'),upload[_0x89b7('0x1c')]('file'),controller[_0x89b7('0x23')]);var upload=multer({'storage':multer[_0x89b7('0x13')]({'destination':function(_0x5a2381,_0x60f3b,_0x5ed84b){_0x5ed84b(null,path[_0x89b7('0x14')](config[_0x89b7('0x15')],_0x89b7('0x16')));},'filename':function(_0x5c2516,_0x44af6b,_0x10774a){_0x10774a(null,util[_0x89b7('0x17')](_0x89b7('0x18'),_0x89b7('0x24'),path[_0x89b7('0x1f')](_0x44af6b[_0x89b7('0x1a')])));}})});router[_0x89b7('0x1b')]('/:id/favicon',upload[_0x89b7('0x1c')](_0x89b7('0x20')),controller[_0x89b7('0x25')]);router[_0x89b7('0x26')](_0x89b7('0x27'),auth['isAuthenticated'](),controller[_0x89b7('0x28')]);module[_0x89b7('0x29')]=router; \ No newline at end of file diff --git a/server/api/setting/setting.attributes.js b/server/api/setting/setting.attributes.js index c3908b5..6861d7d 100644 --- a/server/api/setting/setting.attributes.js +++ b/server/api/setting/setting.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xee49=['https://www.xcally.com/bar/phonebar/autoupdater.xml','alternate','sequelize','exports','INTEGER','min_mailbox','STRING','/var/opt/motion2/server/files/sounds/converted','BOOLEAN'];(function(_0x50eb95,_0x17bfdf){var _0x8a282a=function(_0x4d036d){while(--_0x4d036d){_0x50eb95['push'](_0x50eb95['shift']());}};_0x8a282a(++_0x17bfdf);}(_0xee49,0x1cd));var _0x9ee4=function(_0x19fb31,_0x12710e){_0x19fb31=_0x19fb31-0x0;var _0x512e8d=_0xee49[_0x19fb31];return _0x512e8d;};'use strict';var Sequelize=require(_0x9ee4('0x0'));module[_0x9ee4('0x1')]={'min_internal':{'type':Sequelize[_0x9ee4('0x2')](0xb),'unique':'min_internal','defaultValue':0x3e8},'min_mailbox':{'type':Sequelize[_0x9ee4('0x2')](0xb),'unique':_0x9ee4('0x3'),'defaultValue':0x3e8},'agi_port':{'type':Sequelize[_0x9ee4('0x2')](0xb),'defaultValue':0x11dd},'soundPath':{'type':Sequelize[_0x9ee4('0x4')],'defaultValue':_0x9ee4('0x5')},'logo':{'type':Sequelize[_0x9ee4('0x4')]},'defaultLogo':{'type':Sequelize[_0x9ee4('0x6')],'defaultValue':!![]},'loginLogo':{'type':Sequelize[_0x9ee4('0x4')]},'defaultLoginLogo':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'headerWhiteLabel':{'type':Sequelize[_0x9ee4('0x4')]},'defaultHeaderWhiteLabel':{'type':Sequelize[_0x9ee4('0x6')],'defaultValue':!![]},'securePassword':{'type':Sequelize[_0x9ee4('0x6')],'defaultValue':!![]},'firstSetup':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'stunaddr':{'type':Sequelize['STRING']},'turnaddr':{'type':Sequelize['STRING']},'turnusername':{'type':Sequelize['STRING']},'turnpassword':{'type':Sequelize[_0x9ee4('0x4')]},'pageTitle':{'type':Sequelize[_0x9ee4('0x4')]},'defaultPageTitle':{'type':Sequelize[_0x9ee4('0x6')],'defaultValue':!![]},'callRecordingEncryption':{'type':Sequelize[_0x9ee4('0x6')],'defaultValue':![]},'passwordExpiresDays':{'type':Sequelize[_0x9ee4('0x2')](0xb),'defaultValue':0x5a},'phoneBarAutoUpdater':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'phoneBarAutoUpdaterUrl':{'type':Sequelize[_0x9ee4('0x4')],'defaultValue':_0x9ee4('0x7')},'enableEmailPreview':{'type':Sequelize[_0x9ee4('0x6')],'defaultValue':![]},'split':{'type':Sequelize[_0x9ee4('0x6')],'defaultValue':!![]},'splitSizeCsv':{'type':Sequelize[_0x9ee4('0x2')],'defaultValue':0x1388},'splitSizePdf':{'type':Sequelize[_0x9ee4('0x2')],'defaultValue':0x1388},'splitSizeXlsx':{'type':Sequelize[_0x9ee4('0x2')],'defaultValue':0x1388},'messagesAlignment':{'type':Sequelize[_0x9ee4('0x4')],'defaultValue':_0x9ee4('0x8')},'chatTimeout':{'type':Sequelize[_0x9ee4('0x2')],'defaultValue':0x1e},'phoneBarRememberMeEnabled':{'type':Sequelize[_0x9ee4('0x6')],'defaultValue':!![]},'preferred':{'type':Sequelize[_0x9ee4('0x4')]},'defaultPreferred':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'rtlSupport':{'type':Sequelize[_0x9ee4('0x6')],'defaultValue':![]},'defaultScreenRecordingPath':{'type':Sequelize['STRING']},'allowedLoginAttempts':{'type':Sequelize[_0x9ee4('0x2')],'defaultValue':0x5},'blockDuration':{'type':Sequelize[_0x9ee4('0x2')],'defaultValue':0xa},'favicon':{'type':Sequelize[_0x9ee4('0x4')]},'defaultFavicon':{'type':Sequelize[_0x9ee4('0x6')],'defaultValue':!![]},'loginMailFrequency':{'type':Sequelize[_0x9ee4('0x2')],'defaultValue':0xa,'validate':{'min':0xa}},'transcribe':{'type':Sequelize[_0x9ee4('0x6')],'defaultValue':![]},'automaticTranscribe':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'transcribeAccountId':{'type':Sequelize[_0x9ee4('0x2')]},'transcribeRegion':{'type':Sequelize[_0x9ee4('0x4')]},'sentiment':{'type':Sequelize[_0x9ee4('0x6')],'defaultValue':![]},'automaticSentiment':{'type':Sequelize[_0x9ee4('0x6')],'defaultValue':![]},'sentimentAccountId':{'type':Sequelize[_0x9ee4('0x2')]},'sentimentRegion':{'type':Sequelize[_0x9ee4('0x4')]},'language':{'type':Sequelize[_0x9ee4('0x4')]},'bucket':{'type':Sequelize[_0x9ee4('0x4')]},'googleSsoEnabled':{'type':Sequelize['BOOLEAN'],'defaultValue':![]}}; \ No newline at end of file +var _0x85be=['INTEGER','min_internal','STRING','/var/opt/motion2/server/files/sounds/converted','BOOLEAN','sequelize'];(function(_0x90a39a,_0x32020d){var _0x2b62f7=function(_0x6841cc){while(--_0x6841cc){_0x90a39a['push'](_0x90a39a['shift']());}};_0x2b62f7(++_0x32020d);}(_0x85be,0x125));var _0xe85b=function(_0x3bec85,_0x37d590){_0x3bec85=_0x3bec85-0x0;var _0x26e51a=_0x85be[_0x3bec85];return _0x26e51a;};'use strict';var Sequelize=require(_0xe85b('0x0'));module['exports']={'min_internal':{'type':Sequelize[_0xe85b('0x1')](0xb),'unique':_0xe85b('0x2'),'defaultValue':0x3e8},'min_mailbox':{'type':Sequelize['INTEGER'](0xb),'unique':'min_mailbox','defaultValue':0x3e8},'agi_port':{'type':Sequelize[_0xe85b('0x1')](0xb),'defaultValue':0x11dd},'soundPath':{'type':Sequelize[_0xe85b('0x3')],'defaultValue':_0xe85b('0x4')},'logo':{'type':Sequelize[_0xe85b('0x3')]},'defaultLogo':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'loginLogo':{'type':Sequelize[_0xe85b('0x3')]},'defaultLoginLogo':{'type':Sequelize[_0xe85b('0x5')],'defaultValue':!![]},'headerWhiteLabel':{'type':Sequelize['STRING']},'defaultHeaderWhiteLabel':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'securePassword':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'firstSetup':{'type':Sequelize[_0xe85b('0x5')],'defaultValue':!![]},'stunaddr':{'type':Sequelize['STRING']},'turnaddr':{'type':Sequelize[_0xe85b('0x3')]},'turnusername':{'type':Sequelize[_0xe85b('0x3')]},'turnpassword':{'type':Sequelize[_0xe85b('0x3')]},'pageTitle':{'type':Sequelize[_0xe85b('0x3')]},'defaultPageTitle':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'callRecordingEncryption':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'passwordExpiresDays':{'type':Sequelize[_0xe85b('0x1')](0xb),'defaultValue':0x5a},'phoneBarAutoUpdater':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'phoneBarAutoUpdaterUrl':{'type':Sequelize['STRING'],'defaultValue':'https://www.xcally.com/bar/phonebar/autoupdater.xml'},'enableEmailPreview':{'type':Sequelize[_0xe85b('0x5')],'defaultValue':![]},'split':{'type':Sequelize[_0xe85b('0x5')],'defaultValue':!![]},'splitSizeCsv':{'type':Sequelize['INTEGER'],'defaultValue':0x1388},'splitSizePdf':{'type':Sequelize['INTEGER'],'defaultValue':0x1388},'splitSizeXlsx':{'type':Sequelize['INTEGER'],'defaultValue':0x1388},'messagesAlignment':{'type':Sequelize[_0xe85b('0x3')],'defaultValue':'alternate'},'chatTimeout':{'type':Sequelize[_0xe85b('0x1')],'defaultValue':0x1e},'phoneBarRememberMeEnabled':{'type':Sequelize[_0xe85b('0x5')],'defaultValue':!![]},'preferred':{'type':Sequelize[_0xe85b('0x3')]},'defaultPreferred':{'type':Sequelize[_0xe85b('0x5')],'defaultValue':!![]},'rtlSupport':{'type':Sequelize[_0xe85b('0x5')],'defaultValue':![]},'defaultScreenRecordingPath':{'type':Sequelize[_0xe85b('0x3')]},'allowedLoginAttempts':{'type':Sequelize['INTEGER'],'defaultValue':0x5},'blockDuration':{'type':Sequelize[_0xe85b('0x1')],'defaultValue':0xa},'favicon':{'type':Sequelize[_0xe85b('0x3')]},'defaultFavicon':{'type':Sequelize[_0xe85b('0x5')],'defaultValue':!![]},'loginMailFrequency':{'type':Sequelize[_0xe85b('0x1')],'defaultValue':0xa,'validate':{'min':0xa}},'transcribe':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'automaticTranscribe':{'type':Sequelize[_0xe85b('0x5')],'defaultValue':![]},'transcribeAccountId':{'type':Sequelize[_0xe85b('0x1')]},'transcribeRegion':{'type':Sequelize[_0xe85b('0x3')]},'sentiment':{'type':Sequelize[_0xe85b('0x5')],'defaultValue':![]},'automaticSentiment':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'sentimentAccountId':{'type':Sequelize[_0xe85b('0x1')]},'sentimentRegion':{'type':Sequelize[_0xe85b('0x3')]},'language':{'type':Sequelize[_0xe85b('0x3')]},'bucket':{'type':Sequelize[_0xe85b('0x3')]},'googleSsoEnabled':{'type':Sequelize['BOOLEAN'],'defaultValue':![]}}; \ No newline at end of file diff --git a/server/api/setting/setting.controller.js b/server/api/setting/setting.controller.js index 9a44c2b..9ac88db 100644 --- a/server/api/setting/setting.controller.js +++ b/server/api/setting/setting.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x7471=['securePassword','addPreferred','getPreferred','defaultPreferred','default_preferred.png','addFavicon','getFavicon','default_favicon.ico','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','util','sox','to-csv','lodash','crypto','jsforce','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../mysqldb','jayson/promise','http','test','Sequelize','ValidationError','The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.','request','then','info','request\x20sent','debug','stringify','error','Setting,\x20%s,\x20%s','message','result','catch','sendStatus','status','end','json','count','offset','limit','reject','update','destroy','stack','name','index','Setting','rawAttributes','fieldName','type','model','query','keys','filters','intersection','attributes','fields','length','nolimit','order','sort','where','pick','filter','map','VIRTUAL','merge','options','includeAll','include','rows','show','params','find','body','file','filename','addLogoLogin','loginLogo','../../config/license/util','server/files/images/logos','getLicense','logo','favicon','defaultLogo','defaultLoginLogo','defaultFavicon','existsSync','join','root','toLower','default_logo.png','default','upperFirst','custom','download','getLogoLogin','preferred','default_loginLogo.png','\x20not\x20found','gdpr'];(function(_0x1d2bbb,_0x202267){var _0x38082b=function(_0x27d153){while(--_0x27d153){_0x1d2bbb['push'](_0x1d2bbb['shift']());}};_0x38082b(++_0x202267);}(_0x7471,0x1e4));var _0x1747=function(_0x352ffe,_0x554699){_0x352ffe=_0x352ffe-0x0;var _0x4190e3=_0x7471[_0x352ffe];return _0x4190e3;};'use strict';var pdf=require(_0x1747('0x0'));var emlformat=require(_0x1747('0x1'));var rimraf=require(_0x1747('0x2'));var zipdir=require(_0x1747('0x3'));var jsonpatch=require(_0x1747('0x4'));var rp=require(_0x1747('0x5'));var moment=require(_0x1747('0x6'));var BPromise=require(_0x1747('0x7'));var Mustache=require('mustache');var util=require(_0x1747('0x8'));var path=require('path');var sox=require(_0x1747('0x9'));var csv=require(_0x1747('0xa'));var ejs=require('ejs');var fs=require('fs');var _=require(_0x1747('0xb'));var squel=require('squel');var crypto=require(_0x1747('0xc'));var jsforce=require(_0x1747('0xd'));var deskjs=require(_0x1747('0xe'));var toCsv=require(_0x1747('0xa'));var querystring=require(_0x1747('0xf'));var Papa=require(_0x1747('0x10'));var Redis=require(_0x1747('0x11'));var authService=require(_0x1747('0x12'));var qs=require(_0x1747('0x13'));var as=require(_0x1747('0x14'));var hardwareService=require(_0x1747('0x15'));var logger=require(_0x1747('0x16'))(_0x1747('0x17'));var utils=require(_0x1747('0x18'));var config=require('../../config/environment');var db=require(_0x1747('0x19'))['db'];var jayson=require(_0x1747('0x1a'));var client=jayson['client'][_0x1747('0x1b')]({'port':0x232a});function checkPasswordPattern(_0x394ddc,_0x4de14a,_0x487f3c){if(_0x487f3c){var _0x16332d=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0x16332d[_0x1747('0x1c')](_0x4de14a)){return _0x394ddc;}else{throw new db[(_0x1747('0x1d'))][(_0x1747('0x1e'))](_0x1747('0x1f'));}}else{return _0x394ddc;}}function respondWithRpcPromise(_0x210ba2,_0x19fa58,_0x3aa17e,_0x1c1061){return new BPromise(function(_0x1c17cb,_0x31f1c5){var _0x9f4a14=_0x1c1061||client;return _0x9f4a14[_0x1747('0x20')](_0x210ba2,_0x3aa17e)[_0x1747('0x21')](function(_0xc3fc9b){logger[_0x1747('0x22')]('Setting,\x20%s,\x20%s',_0x19fa58,_0x1747('0x23'));logger[_0x1747('0x24')]('Setting,\x20%s,\x20%s,\x20%s',_0x19fa58,_0x1747('0x23'),JSON[_0x1747('0x25')](_0xc3fc9b));if(_0xc3fc9b['error']){if(_0xc3fc9b[_0x1747('0x26')]['code']===0x1f4){logger[_0x1747('0x26')](_0x1747('0x27'),_0x19fa58,_0xc3fc9b[_0x1747('0x26')][_0x1747('0x28')]);return _0x31f1c5(_0xc3fc9b[_0x1747('0x26')]['message']);}logger[_0x1747('0x26')](_0x1747('0x27'),_0x19fa58,_0xc3fc9b[_0x1747('0x26')][_0x1747('0x28')]);return _0x1c17cb(_0xc3fc9b['error'][_0x1747('0x28')]);}else{logger[_0x1747('0x22')]('Setting,\x20%s,\x20%s',_0x19fa58,_0x1747('0x23'));_0x1c17cb(_0xc3fc9b[_0x1747('0x29')][_0x1747('0x28')]);}})[_0x1747('0x2a')](function(_0x2b9fd1){logger[_0x1747('0x26')]('Setting,\x20%s,\x20%s',_0x19fa58,_0x2b9fd1);_0x31f1c5(_0x2b9fd1);});});}function respondWithStatusCode(_0x366d8a,_0x4b1788){_0x4b1788=_0x4b1788||0xcc;return function(_0x3a0d16){if(_0x3a0d16){return _0x366d8a[_0x1747('0x2b')](_0x4b1788);}return _0x366d8a[_0x1747('0x2c')](_0x4b1788)[_0x1747('0x2d')]();};}function respondWithResult(_0x4cd3aa,_0x342f88){_0x342f88=_0x342f88||0xc8;return function(_0x383a18){if(_0x383a18){return _0x4cd3aa[_0x1747('0x2c')](_0x342f88)[_0x1747('0x2e')](_0x383a18);}};}function respondWithFilteredResult(_0x20bfd8,_0xd95273){return function(_0x1b6696){if(_0x1b6696){var _0x3192d1=_0x1b6696[_0x1747('0x2f')],_0x58d3e7=_0xd95273[_0x1747('0x30')],_0x5a03f9=_0xd95273[_0x1747('0x30')]+_0xd95273[_0x1747('0x31')],_0x556b38;if(_0x5a03f9>=_0x3192d1){_0x5a03f9=_0x3192d1;_0x556b38=0xc8;}else{_0x556b38=0xce;}_0x20bfd8[_0x1747('0x2c')](_0x556b38);return _0x20bfd8['set']('Content-Range',_0x58d3e7+'-'+_0x5a03f9+'/'+_0x3192d1)[_0x1747('0x2e')](_0x1b6696);}return null;};}function patchUpdates(_0x36fae8){return function(_0x140b3b){try{jsonpatch['apply'](_0x140b3b,_0x36fae8,!![]);}catch(_0x1ef32d){return BPromise[_0x1747('0x32')](_0x1ef32d);}return _0x140b3b['save']();};}function saveUpdates(_0xc53d6e,_0x1b15b3){return function(_0x47b5eb){if(_0x47b5eb){return _0x47b5eb[_0x1747('0x33')](_0xc53d6e)[_0x1747('0x21')](function(_0x183c70){return _0x183c70;});}return null;};}function removeEntity(_0x49e4f4,_0x577e20){return function(_0x577cd0){if(_0x577cd0){return _0x577cd0[_0x1747('0x34')]()[_0x1747('0x21')](function(){_0x49e4f4['status'](0xcc)[_0x1747('0x2d')]();});}};}function handleEntityNotFound(_0x260206,_0x45f391){return function(_0x4d967f){if(!_0x4d967f){_0x260206['sendStatus'](0x194);}return _0x4d967f;};}function handleError(_0x10a268,_0x6fa353){_0x6fa353=_0x6fa353||0x1f4;return function(_0xca9230){logger[_0x1747('0x26')](_0xca9230[_0x1747('0x35')]);if(_0xca9230[_0x1747('0x36')]){delete _0xca9230['name'];}_0x10a268['status'](_0x6fa353)['send'](_0xca9230);};}exports[_0x1747('0x37')]=function(_0x4e93c6,_0x28447d){var _0x52242c={},_0x432325={},_0x54aa20={'count':0x0,'rows':[]};var _0x4f0de8=_['map'](db[_0x1747('0x38')][_0x1747('0x39')],function(_0x132a66){return{'name':_0x132a66[_0x1747('0x3a')],'type':_0x132a66[_0x1747('0x3b')]['key']};});_0x432325[_0x1747('0x3c')]=_['map'](_0x4f0de8,_0x1747('0x36'));_0x432325[_0x1747('0x3d')]=_[_0x1747('0x3e')](_0x4e93c6[_0x1747('0x3d')]);_0x432325[_0x1747('0x3f')]=_[_0x1747('0x40')](_0x432325[_0x1747('0x3c')],_0x432325[_0x1747('0x3d')]);_0x52242c[_0x1747('0x41')]=_[_0x1747('0x40')](_0x432325[_0x1747('0x3c')],qs[_0x1747('0x42')](_0x4e93c6['query'][_0x1747('0x42')]));_0x52242c[_0x1747('0x41')]=_0x52242c[_0x1747('0x41')][_0x1747('0x43')]?_0x52242c[_0x1747('0x41')]:_0x432325[_0x1747('0x3c')];if(!_0x4e93c6[_0x1747('0x3d')]['hasOwnProperty'](_0x1747('0x44'))){_0x52242c[_0x1747('0x31')]=qs[_0x1747('0x31')](_0x4e93c6[_0x1747('0x3d')]['limit']);_0x52242c[_0x1747('0x30')]=qs[_0x1747('0x30')](_0x4e93c6[_0x1747('0x3d')]['offset']);}_0x52242c[_0x1747('0x45')]=qs[_0x1747('0x46')](_0x4e93c6[_0x1747('0x3d')]['sort']);_0x52242c[_0x1747('0x47')]=qs[_0x1747('0x3f')](_[_0x1747('0x48')](_0x4e93c6[_0x1747('0x3d')],_0x432325[_0x1747('0x3f')]),_0x4f0de8);if(_0x4e93c6[_0x1747('0x3d')][_0x1747('0x49')]){_0x52242c[_0x1747('0x47')]=_['merge'](_0x52242c[_0x1747('0x47')],{'$or':_[_0x1747('0x4a')](_0x4f0de8,function(_0x176782){if(_0x176782[_0x1747('0x3b')]!==_0x1747('0x4b')){var _0x2b89ad={};_0x2b89ad[_0x176782[_0x1747('0x36')]]={'$like':'%'+_0x4e93c6[_0x1747('0x3d')]['filter']+'%'};return _0x2b89ad;}})});}_0x52242c=_[_0x1747('0x4c')]({},_0x52242c,_0x4e93c6[_0x1747('0x4d')]);var _0x1b9538={'where':_0x52242c[_0x1747('0x47')]};return db['Setting']['count'](_0x1b9538)[_0x1747('0x21')](function(_0x11f722){_0x54aa20['count']=_0x11f722;if(_0x4e93c6['query'][_0x1747('0x4e')]){_0x52242c[_0x1747('0x4f')]=[{'all':!![]}];}return db[_0x1747('0x38')]['findAll'](_0x52242c);})[_0x1747('0x21')](function(_0x41b069){_0x54aa20[_0x1747('0x50')]=_0x41b069;return _0x54aa20;})[_0x1747('0x21')](respondWithFilteredResult(_0x28447d,_0x52242c))[_0x1747('0x2a')](handleError(_0x28447d,null));};exports[_0x1747('0x51')]=function(_0x550c8b,_0x20eb01){var _0x3e845a={'raw':![],'where':{'id':_0x550c8b[_0x1747('0x52')]['id']}},_0x48dcc1={};_0x48dcc1['model']=_[_0x1747('0x3e')](db['Setting']['rawAttributes']);_0x48dcc1[_0x1747('0x3d')]=_[_0x1747('0x3e')](_0x550c8b[_0x1747('0x3d')]);_0x48dcc1[_0x1747('0x3f')]=_[_0x1747('0x40')](_0x48dcc1[_0x1747('0x3c')],_0x48dcc1['query']);_0x3e845a[_0x1747('0x41')]=_['intersection'](_0x48dcc1[_0x1747('0x3c')],qs[_0x1747('0x42')](_0x550c8b[_0x1747('0x3d')]['fields']));_0x3e845a['attributes']=_0x3e845a[_0x1747('0x41')][_0x1747('0x43')]?_0x3e845a[_0x1747('0x41')]:_0x48dcc1[_0x1747('0x3c')];if(_0x550c8b[_0x1747('0x3d')][_0x1747('0x4e')]){_0x3e845a[_0x1747('0x4f')]=[{'all':!![]}];}_0x3e845a=_[_0x1747('0x4c')]({},_0x3e845a,_0x550c8b[_0x1747('0x4d')]);return db['Setting'][_0x1747('0x53')](_0x3e845a)['then'](handleEntityNotFound(_0x20eb01,null))[_0x1747('0x21')](respondWithResult(_0x20eb01,null))[_0x1747('0x2a')](handleError(_0x20eb01,null));};exports[_0x1747('0x33')]=function(_0x29c4b3,_0x1465bf){if(_0x29c4b3[_0x1747('0x54')]['id']){delete _0x29c4b3[_0x1747('0x54')]['id'];}return db[_0x1747('0x38')][_0x1747('0x53')]({'where':{'id':_0x29c4b3['params']['id']}})[_0x1747('0x21')](handleEntityNotFound(_0x1465bf,null))[_0x1747('0x21')](saveUpdates(_0x29c4b3[_0x1747('0x54')],null))[_0x1747('0x21')](respondWithResult(_0x1465bf,null))[_0x1747('0x2a')](handleError(_0x1465bf,null));};exports['addLogo']=function(_0xbcb261,_0x35f80d,_0x298be7){if(_0xbcb261[_0x1747('0x55')]&&_0xbcb261[_0x1747('0x55')][_0x1747('0x56')]){_0xbcb261[_0x1747('0x54')]['logo']=_0xbcb261[_0x1747('0x55')]['filename'];}return db[_0x1747('0x38')][_0x1747('0x53')]({'where':{'id':_0xbcb261[_0x1747('0x52')]['id']}})[_0x1747('0x21')](handleEntityNotFound(_0x35f80d,null))[_0x1747('0x21')](saveUpdates(_0xbcb261[_0x1747('0x54')],null))['then'](respondWithResult(_0x35f80d,null))[_0x1747('0x2a')](handleError(_0x35f80d,null));};exports[_0x1747('0x57')]=function(_0x50380e,_0x4d670,_0x1e6a50){if(_0x50380e[_0x1747('0x55')]&&_0x50380e[_0x1747('0x55')][_0x1747('0x56')]){_0x50380e[_0x1747('0x54')][_0x1747('0x58')]=_0x50380e['file'][_0x1747('0x56')];}return db[_0x1747('0x38')][_0x1747('0x53')]({'where':{'id':_0x50380e[_0x1747('0x52')]['id']}})[_0x1747('0x21')](handleEntityNotFound(_0x4d670,null))[_0x1747('0x21')](saveUpdates(_0x50380e[_0x1747('0x54')],null))[_0x1747('0x21')](respondWithResult(_0x4d670,null))['catch'](handleError(_0x4d670,null));};var utilLicense=require(_0x1747('0x59'));exports['getLogo']=function(_0x1a64ba,_0xe0e476,_0x58b58c){var _0x30d880=_0x1747('0x5a');var _0x53abe1={'custom':![]};return utilLicense[_0x1747('0x5b')]()[_0x1747('0x21')](function(_0x2d66e4){if(_0x2d66e4){_0x53abe1=_0x2d66e4;}return db['Setting'][_0x1747('0x53')]({'where':{'id':_0x1a64ba[_0x1747('0x52')]['id']},'attributes':[_0x1747('0x5c'),_0x1747('0x58'),'preferred',_0x1747('0x5d'),_0x1747('0x5e'),_0x1747('0x5f'),'defaultPreferred',_0x1747('0x60')],'raw':!![]});})[_0x1747('0x21')](handleEntityNotFound(_0xe0e476,null))[_0x1747('0x21')](function(_0x2bc9fc){if(_0x2bc9fc){var _0x37ffa7=_0x2bc9fc['logo']&&fs[_0x1747('0x61')](path[_0x1747('0x62')](config[_0x1747('0x63')],_0x30d880,_[_0x1747('0x64')](_0x2bc9fc[_0x1747('0x5c')])))?path[_0x1747('0x62')](config[_0x1747('0x63')],_0x30d880,_[_0x1747('0x64')](_0x2bc9fc['logo'])):path['join'](config[_0x1747('0x63')],_0x30d880,_[_0x1747('0x64')](_0x1747('0x65')));var _0x40e3bf=_0x1747('0x66')+_[_0x1747('0x67')]('logo');if(_0x2bc9fc[_0x40e3bf]||!_0x53abe1[_0x1747('0x68')]){_0x37ffa7=path['join'](config[_0x1747('0x63')],_0x30d880,_[_0x1747('0x64')](_0x1747('0x65')));}if(!fs[_0x1747('0x61')](_0x37ffa7)){throw new db[(_0x1747('0x1d'))][(_0x1747('0x1e'))](_[_0x1747('0x67')](_0x1747('0x5c'))+'\x20not\x20found');}return _0xe0e476[_0x1747('0x69')](_0x37ffa7);}})[_0x1747('0x2a')](handleError(_0xe0e476,null));};var utilLicense=require(_0x1747('0x59'));exports[_0x1747('0x6a')]=function(_0x9cc3cc,_0x157186,_0x21a161){var _0x4b2689=_0x1747('0x5a');var _0x2ce7dd={'custom':![]};return utilLicense['getLicense']()[_0x1747('0x21')](function(_0x2d61cb){if(_0x2d61cb){_0x2ce7dd=_0x2d61cb;}return db[_0x1747('0x38')][_0x1747('0x53')]({'where':{'id':_0x9cc3cc[_0x1747('0x52')]['id']},'attributes':['logo',_0x1747('0x58'),_0x1747('0x6b'),_0x1747('0x5d'),'defaultLogo',_0x1747('0x5f'),'defaultPreferred',_0x1747('0x60')],'raw':!![]});})[_0x1747('0x21')](handleEntityNotFound(_0x157186,null))['then'](function(_0x1ae661){if(_0x1ae661){var _0x370647=_0x1ae661[_0x1747('0x58')]&&fs[_0x1747('0x61')](path[_0x1747('0x62')](config[_0x1747('0x63')],_0x4b2689,_[_0x1747('0x64')](_0x1ae661[_0x1747('0x58')])))?path['join'](config[_0x1747('0x63')],_0x4b2689,_['toLower'](_0x1ae661['loginLogo'])):path[_0x1747('0x62')](config[_0x1747('0x63')],_0x4b2689,_[_0x1747('0x64')](_0x1747('0x6c')));var _0x25ce39=_0x1747('0x66')+_[_0x1747('0x67')](_0x1747('0x58'));if(_0x1ae661[_0x25ce39]||!_0x2ce7dd[_0x1747('0x68')]){_0x370647=path[_0x1747('0x62')](config[_0x1747('0x63')],_0x4b2689,_[_0x1747('0x64')]('default_loginLogo.png'));}if(!fs[_0x1747('0x61')](_0x370647)){throw new db['Sequelize'][(_0x1747('0x1e'))](_[_0x1747('0x67')](_0x1747('0x58'))+_0x1747('0x6d'));}return _0x157186[_0x1747('0x69')](_0x370647);}})[_0x1747('0x2a')](handleError(_0x157186,null));};exports[_0x1747('0x6e')]=function(_0x369743,_0x558aa7){return db[_0x1747('0x38')][_0x1747('0x53')]({'where':{'id':_0x369743[_0x1747('0x52')]['id']},'attributes':[_0x1747('0x6f')]})[_0x1747('0x21')](respondWithResult(_0x558aa7,null))[_0x1747('0x2a')](handleError(_0x558aa7,null));};exports[_0x1747('0x70')]=function(_0x5dc657,_0x4d3466,_0x6dc277){if(_0x5dc657['file']&&_0x5dc657['file'][_0x1747('0x56')]){_0x5dc657[_0x1747('0x54')][_0x1747('0x6b')]=_0x5dc657[_0x1747('0x55')][_0x1747('0x56')];}return db['Setting'][_0x1747('0x53')]({'where':{'id':_0x5dc657[_0x1747('0x52')]['id']}})['then'](handleEntityNotFound(_0x4d3466,null))[_0x1747('0x21')](saveUpdates(_0x5dc657['body'],null))[_0x1747('0x21')](respondWithResult(_0x4d3466,null))[_0x1747('0x2a')](handleError(_0x4d3466,null));};var utilLicense=require('../../config/license/util');exports[_0x1747('0x71')]=function(_0x12355f,_0x11d38b,_0x33461e){var _0x5d0a74=_0x1747('0x5a');var _0x5301d8={'custom':![]};return utilLicense['getLicense']()[_0x1747('0x21')](function(_0x4ab6fa){if(_0x4ab6fa){_0x5301d8=_0x4ab6fa;}return db[_0x1747('0x38')][_0x1747('0x53')]({'where':{'id':_0x12355f[_0x1747('0x52')]['id']},'attributes':[_0x1747('0x5c'),_0x1747('0x58'),'preferred',_0x1747('0x5d'),_0x1747('0x5e'),_0x1747('0x5f'),_0x1747('0x72'),'defaultFavicon'],'raw':!![]});})['then'](handleEntityNotFound(_0x11d38b,null))[_0x1747('0x21')](function(_0x423a9a){if(_0x423a9a){var _0x4c6c9b=_0x423a9a[_0x1747('0x6b')]&&fs[_0x1747('0x61')](path['join'](config['root'],_0x5d0a74,_[_0x1747('0x64')](_0x423a9a['preferred'])))?path['join'](config[_0x1747('0x63')],_0x5d0a74,_[_0x1747('0x64')](_0x423a9a[_0x1747('0x6b')])):path[_0x1747('0x62')](config['root'],_0x5d0a74,_[_0x1747('0x64')](_0x1747('0x73')));var _0x33b277='default'+_['upperFirst'](_0x1747('0x6b'));if(_0x423a9a[_0x33b277]||!_0x5301d8[_0x1747('0x68')]||!_0x5301d8['preferred']){_0x4c6c9b=path[_0x1747('0x62')](config[_0x1747('0x63')],_0x5d0a74,_['toLower']('default_preferred.png'));}if(!fs[_0x1747('0x61')](_0x4c6c9b)){throw new db[(_0x1747('0x1d'))][(_0x1747('0x1e'))](_[_0x1747('0x67')]('preferred')+_0x1747('0x6d'));}return _0x11d38b[_0x1747('0x69')](_0x4c6c9b);}})[_0x1747('0x2a')](handleError(_0x11d38b,null));};exports[_0x1747('0x74')]=function(_0x41409e,_0x3ba7db,_0x14b819){if(_0x41409e[_0x1747('0x55')]&&_0x41409e[_0x1747('0x55')][_0x1747('0x56')]){_0x41409e[_0x1747('0x54')][_0x1747('0x5d')]=_0x41409e[_0x1747('0x55')][_0x1747('0x56')];}return db['Setting'][_0x1747('0x53')]({'where':{'id':_0x41409e[_0x1747('0x52')]['id']}})[_0x1747('0x21')](handleEntityNotFound(_0x3ba7db,null))['then'](saveUpdates(_0x41409e[_0x1747('0x54')],null))[_0x1747('0x21')](respondWithResult(_0x3ba7db,null))[_0x1747('0x2a')](handleError(_0x3ba7db,null));};var utilLicense=require(_0x1747('0x59'));exports[_0x1747('0x75')]=function(_0x5a9d74,_0x5b0bfc,_0x11ca03){var _0x3ec3d7='server/files/images/logos';var _0x279a72={'custom':![]};return utilLicense[_0x1747('0x5b')]()[_0x1747('0x21')](function(_0x5b098e){if(_0x5b098e){_0x279a72=_0x5b098e;}return db[_0x1747('0x38')]['find']({'where':{'id':_0x5a9d74[_0x1747('0x52')]['id']},'attributes':[_0x1747('0x5c'),_0x1747('0x58'),_0x1747('0x6b'),_0x1747('0x5d'),_0x1747('0x5e'),_0x1747('0x5f'),_0x1747('0x72'),_0x1747('0x60')],'raw':!![]});})['then'](handleEntityNotFound(_0x5b0bfc,null))[_0x1747('0x21')](function(_0x96ed96){if(_0x96ed96){var _0x53fbfa=_0x96ed96[_0x1747('0x5d')]&&fs[_0x1747('0x61')](path['join'](config[_0x1747('0x63')],_0x3ec3d7,_[_0x1747('0x64')](_0x96ed96[_0x1747('0x5d')])))?path[_0x1747('0x62')](config[_0x1747('0x63')],_0x3ec3d7,_[_0x1747('0x64')](_0x96ed96['favicon'])):path[_0x1747('0x62')](config[_0x1747('0x63')],_0x3ec3d7,_[_0x1747('0x64')](_0x1747('0x76')));var _0xe12006=_0x1747('0x66')+_['upperFirst'](_0x1747('0x5d'));if(_0x96ed96[_0xe12006]||!_0x279a72[_0x1747('0x68')]){_0x53fbfa=path[_0x1747('0x62')](config[_0x1747('0x63')],_0x3ec3d7,_[_0x1747('0x64')]('default_favicon.ico'));}if(!fs[_0x1747('0x61')](_0x53fbfa)){throw new db[(_0x1747('0x1d'))][(_0x1747('0x1e'))](_['upperFirst']('favicon')+_0x1747('0x6d'));}return _0x5b0bfc[_0x1747('0x69')](_0x53fbfa);}})[_0x1747('0x2a')](handleError(_0x5b0bfc,null));}; \ No newline at end of file +var _0xb2eb=['ValidationError','The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.','request','then','info','Setting,\x20%s,\x20%s','request\x20sent','Setting,\x20%s,\x20%s,\x20%s','error','code','message','result','catch','sendStatus','status','count','offset','set','json','save','update','destroy','end','stack','name','send','index','map','rawAttributes','fieldName','type','key','query','keys','filters','model','attributes','intersection','length','hasOwnProperty','limit','order','sort','where','pick','filter','merge','include','findAll','rows','show','params','fields','includeAll','Setting','find','body','addLogo','file','filename','logo','addLogoLogin','loginLogo','../../config/license/util','getLogo','server/files/images/logos','getLicense','preferred','defaultLogo','defaultLoginLogo','defaultFavicon','existsSync','join','toLower','root','upperFirst','custom','default_logo.png','\x20not\x20found','download','default_loginLogo.png','default','gdpr','securePassword','addPreferred','favicon','defaultPreferred','default_preferred.png','addFavicon','default_favicon.ico','eml-format','rimraf','zip-dir','fast-json-patch','util','sox','to-csv','ejs','lodash','squel','crypto','desk.js','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/environment','../../mysqldb','jayson/promise','http','test','Sequelize'];(function(_0x4d8764,_0xd13d7b){var _0x4e0b49=function(_0x56126a){while(--_0x56126a){_0x4d8764['push'](_0x4d8764['shift']());}};_0x4e0b49(++_0xd13d7b);}(_0xb2eb,0x13e));var _0xbb2e=function(_0x39711b,_0x52a955){_0x39711b=_0x39711b-0x0;var _0x4c9dcc=_0xb2eb[_0x39711b];return _0x4c9dcc;};'use strict';var pdf=require('html-pdf');var emlformat=require(_0xbb2e('0x0'));var rimraf=require(_0xbb2e('0x1'));var zipdir=require(_0xbb2e('0x2'));var jsonpatch=require(_0xbb2e('0x3'));var rp=require('request-promise');var moment=require('moment');var BPromise=require('bluebird');var Mustache=require('mustache');var util=require(_0xbb2e('0x4'));var path=require('path');var sox=require(_0xbb2e('0x5'));var csv=require(_0xbb2e('0x6'));var ejs=require(_0xbb2e('0x7'));var fs=require('fs');var _=require(_0xbb2e('0x8'));var squel=require(_0xbb2e('0x9'));var crypto=require(_0xbb2e('0xa'));var jsforce=require('jsforce');var deskjs=require(_0xbb2e('0xb'));var toCsv=require(_0xbb2e('0x6'));var querystring=require('querystring');var Papa=require('papaparse');var Redis=require('ioredis');var authService=require(_0xbb2e('0xc'));var qs=require(_0xbb2e('0xd'));var as=require(_0xbb2e('0xe'));var hardwareService=require(_0xbb2e('0xf'));var logger=require(_0xbb2e('0x10'))(_0xbb2e('0x11'));var utils=require('../../config/utils');var config=require(_0xbb2e('0x12'));var db=require(_0xbb2e('0x13'))['db'];var jayson=require(_0xbb2e('0x14'));var client=jayson['client'][_0xbb2e('0x15')]({'port':0x232a});function checkPasswordPattern(_0x5cdbe3,_0x5e9b21,_0x27acbe){if(_0x27acbe){var _0x370b1d=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0x370b1d[_0xbb2e('0x16')](_0x5e9b21)){return _0x5cdbe3;}else{throw new db[(_0xbb2e('0x17'))][(_0xbb2e('0x18'))](_0xbb2e('0x19'));}}else{return _0x5cdbe3;}}function respondWithRpcPromise(_0x1d1ced,_0x272275,_0xdc4116,_0x29a357){return new BPromise(function(_0x16033d,_0xa7a534){var _0x3778cc=_0x29a357||client;return _0x3778cc[_0xbb2e('0x1a')](_0x1d1ced,_0xdc4116)[_0xbb2e('0x1b')](function(_0x34877c){logger[_0xbb2e('0x1c')](_0xbb2e('0x1d'),_0x272275,_0xbb2e('0x1e'));logger['debug'](_0xbb2e('0x1f'),_0x272275,_0xbb2e('0x1e'),JSON['stringify'](_0x34877c));if(_0x34877c[_0xbb2e('0x20')]){if(_0x34877c[_0xbb2e('0x20')][_0xbb2e('0x21')]===0x1f4){logger[_0xbb2e('0x20')](_0xbb2e('0x1d'),_0x272275,_0x34877c[_0xbb2e('0x20')][_0xbb2e('0x22')]);return _0xa7a534(_0x34877c['error'][_0xbb2e('0x22')]);}logger[_0xbb2e('0x20')](_0xbb2e('0x1d'),_0x272275,_0x34877c[_0xbb2e('0x20')][_0xbb2e('0x22')]);return _0x16033d(_0x34877c[_0xbb2e('0x20')][_0xbb2e('0x22')]);}else{logger[_0xbb2e('0x1c')](_0xbb2e('0x1d'),_0x272275,_0xbb2e('0x1e'));_0x16033d(_0x34877c[_0xbb2e('0x23')][_0xbb2e('0x22')]);}})[_0xbb2e('0x24')](function(_0x1ae461){logger[_0xbb2e('0x20')](_0xbb2e('0x1d'),_0x272275,_0x1ae461);_0xa7a534(_0x1ae461);});});}function respondWithStatusCode(_0x3266e3,_0x2f536f){_0x2f536f=_0x2f536f||0xcc;return function(_0x2fd624){if(_0x2fd624){return _0x3266e3[_0xbb2e('0x25')](_0x2f536f);}return _0x3266e3[_0xbb2e('0x26')](_0x2f536f)['end']();};}function respondWithResult(_0x90e4ae,_0xe161e3){_0xe161e3=_0xe161e3||0xc8;return function(_0x465266){if(_0x465266){return _0x90e4ae[_0xbb2e('0x26')](_0xe161e3)['json'](_0x465266);}};}function respondWithFilteredResult(_0xd3d35b,_0xcca574){return function(_0x553d2a){if(_0x553d2a){var _0x374617=_0x553d2a[_0xbb2e('0x27')],_0x3965a7=_0xcca574['offset'],_0xf066fc=_0xcca574[_0xbb2e('0x28')]+_0xcca574['limit'],_0x9a9a3a;if(_0xf066fc>=_0x374617){_0xf066fc=_0x374617;_0x9a9a3a=0xc8;}else{_0x9a9a3a=0xce;}_0xd3d35b[_0xbb2e('0x26')](_0x9a9a3a);return _0xd3d35b[_0xbb2e('0x29')]('Content-Range',_0x3965a7+'-'+_0xf066fc+'/'+_0x374617)[_0xbb2e('0x2a')](_0x553d2a);}return null;};}function patchUpdates(_0x5e79dc){return function(_0x1d8d5b){try{jsonpatch['apply'](_0x1d8d5b,_0x5e79dc,!![]);}catch(_0x559600){return BPromise['reject'](_0x559600);}return _0x1d8d5b[_0xbb2e('0x2b')]();};}function saveUpdates(_0x99424c,_0x250e56){return function(_0x298949){if(_0x298949){return _0x298949[_0xbb2e('0x2c')](_0x99424c)['then'](function(_0x59bf1d){return _0x59bf1d;});}return null;};}function removeEntity(_0x1dba1e,_0x201298){return function(_0x3582dd){if(_0x3582dd){return _0x3582dd[_0xbb2e('0x2d')]()[_0xbb2e('0x1b')](function(){_0x1dba1e[_0xbb2e('0x26')](0xcc)[_0xbb2e('0x2e')]();});}};}function handleEntityNotFound(_0x9a2140,_0x3698db){return function(_0x4d3b43){if(!_0x4d3b43){_0x9a2140[_0xbb2e('0x25')](0x194);}return _0x4d3b43;};}function handleError(_0x3d3134,_0x5a85f4){_0x5a85f4=_0x5a85f4||0x1f4;return function(_0x301479){logger['error'](_0x301479[_0xbb2e('0x2f')]);if(_0x301479['name']){delete _0x301479[_0xbb2e('0x30')];}_0x3d3134[_0xbb2e('0x26')](_0x5a85f4)[_0xbb2e('0x31')](_0x301479);};}exports[_0xbb2e('0x32')]=function(_0x25a3a3,_0x51b9e5){var _0x57985a={},_0x5f17d9={},_0x4eaf9c={'count':0x0,'rows':[]};var _0x5eb8f6=_[_0xbb2e('0x33')](db['Setting'][_0xbb2e('0x34')],function(_0xf83ec4){return{'name':_0xf83ec4[_0xbb2e('0x35')],'type':_0xf83ec4[_0xbb2e('0x36')][_0xbb2e('0x37')]};});_0x5f17d9['model']=_[_0xbb2e('0x33')](_0x5eb8f6,_0xbb2e('0x30'));_0x5f17d9[_0xbb2e('0x38')]=_[_0xbb2e('0x39')](_0x25a3a3[_0xbb2e('0x38')]);_0x5f17d9[_0xbb2e('0x3a')]=_['intersection'](_0x5f17d9[_0xbb2e('0x3b')],_0x5f17d9[_0xbb2e('0x38')]);_0x57985a[_0xbb2e('0x3c')]=_[_0xbb2e('0x3d')](_0x5f17d9['model'],qs['fields'](_0x25a3a3[_0xbb2e('0x38')]['fields']));_0x57985a[_0xbb2e('0x3c')]=_0x57985a[_0xbb2e('0x3c')][_0xbb2e('0x3e')]?_0x57985a[_0xbb2e('0x3c')]:_0x5f17d9[_0xbb2e('0x3b')];if(!_0x25a3a3[_0xbb2e('0x38')][_0xbb2e('0x3f')]('nolimit')){_0x57985a[_0xbb2e('0x40')]=qs[_0xbb2e('0x40')](_0x25a3a3[_0xbb2e('0x38')][_0xbb2e('0x40')]);_0x57985a['offset']=qs[_0xbb2e('0x28')](_0x25a3a3[_0xbb2e('0x38')][_0xbb2e('0x28')]);}_0x57985a[_0xbb2e('0x41')]=qs[_0xbb2e('0x42')](_0x25a3a3['query']['sort']);_0x57985a[_0xbb2e('0x43')]=qs['filters'](_[_0xbb2e('0x44')](_0x25a3a3[_0xbb2e('0x38')],_0x5f17d9['filters']),_0x5eb8f6);if(_0x25a3a3[_0xbb2e('0x38')][_0xbb2e('0x45')]){_0x57985a[_0xbb2e('0x43')]=_['merge'](_0x57985a[_0xbb2e('0x43')],{'$or':_[_0xbb2e('0x33')](_0x5eb8f6,function(_0x18da77){if(_0x18da77[_0xbb2e('0x36')]!=='VIRTUAL'){var _0x476a9c={};_0x476a9c[_0x18da77['name']]={'$like':'%'+_0x25a3a3['query'][_0xbb2e('0x45')]+'%'};return _0x476a9c;}})});}_0x57985a=_[_0xbb2e('0x46')]({},_0x57985a,_0x25a3a3['options']);var _0x5049e6={'where':_0x57985a[_0xbb2e('0x43')]};return db['Setting'][_0xbb2e('0x27')](_0x5049e6)[_0xbb2e('0x1b')](function(_0x1fd934){_0x4eaf9c[_0xbb2e('0x27')]=_0x1fd934;if(_0x25a3a3[_0xbb2e('0x38')]['includeAll']){_0x57985a[_0xbb2e('0x47')]=[{'all':!![]}];}return db['Setting'][_0xbb2e('0x48')](_0x57985a);})['then'](function(_0x43e5f8){_0x4eaf9c[_0xbb2e('0x49')]=_0x43e5f8;return _0x4eaf9c;})['then'](respondWithFilteredResult(_0x51b9e5,_0x57985a))['catch'](handleError(_0x51b9e5,null));};exports[_0xbb2e('0x4a')]=function(_0x241837,_0x35056d){var _0xb561d6={'raw':![],'where':{'id':_0x241837[_0xbb2e('0x4b')]['id']}},_0x191b18={};_0x191b18[_0xbb2e('0x3b')]=_['keys'](db['Setting']['rawAttributes']);_0x191b18[_0xbb2e('0x38')]=_['keys'](_0x241837[_0xbb2e('0x38')]);_0x191b18[_0xbb2e('0x3a')]=_[_0xbb2e('0x3d')](_0x191b18[_0xbb2e('0x3b')],_0x191b18['query']);_0xb561d6[_0xbb2e('0x3c')]=_['intersection'](_0x191b18[_0xbb2e('0x3b')],qs[_0xbb2e('0x4c')](_0x241837[_0xbb2e('0x38')][_0xbb2e('0x4c')]));_0xb561d6[_0xbb2e('0x3c')]=_0xb561d6[_0xbb2e('0x3c')][_0xbb2e('0x3e')]?_0xb561d6[_0xbb2e('0x3c')]:_0x191b18[_0xbb2e('0x3b')];if(_0x241837[_0xbb2e('0x38')][_0xbb2e('0x4d')]){_0xb561d6[_0xbb2e('0x47')]=[{'all':!![]}];}_0xb561d6=_[_0xbb2e('0x46')]({},_0xb561d6,_0x241837['options']);return db[_0xbb2e('0x4e')][_0xbb2e('0x4f')](_0xb561d6)[_0xbb2e('0x1b')](handleEntityNotFound(_0x35056d,null))[_0xbb2e('0x1b')](respondWithResult(_0x35056d,null))[_0xbb2e('0x24')](handleError(_0x35056d,null));};exports['update']=function(_0x567c67,_0x95bde6){if(_0x567c67[_0xbb2e('0x50')]['id']){delete _0x567c67[_0xbb2e('0x50')]['id'];}return db[_0xbb2e('0x4e')][_0xbb2e('0x4f')]({'where':{'id':_0x567c67[_0xbb2e('0x4b')]['id']}})[_0xbb2e('0x1b')](handleEntityNotFound(_0x95bde6,null))[_0xbb2e('0x1b')](saveUpdates(_0x567c67[_0xbb2e('0x50')],null))[_0xbb2e('0x1b')](respondWithResult(_0x95bde6,null))[_0xbb2e('0x24')](handleError(_0x95bde6,null));};exports[_0xbb2e('0x51')]=function(_0x186168,_0x46ae51,_0x45955e){if(_0x186168[_0xbb2e('0x52')]&&_0x186168['file'][_0xbb2e('0x53')]){_0x186168['body'][_0xbb2e('0x54')]=_0x186168[_0xbb2e('0x52')][_0xbb2e('0x53')];}return db[_0xbb2e('0x4e')][_0xbb2e('0x4f')]({'where':{'id':_0x186168[_0xbb2e('0x4b')]['id']}})[_0xbb2e('0x1b')](handleEntityNotFound(_0x46ae51,null))[_0xbb2e('0x1b')](saveUpdates(_0x186168[_0xbb2e('0x50')],null))[_0xbb2e('0x1b')](respondWithResult(_0x46ae51,null))[_0xbb2e('0x24')](handleError(_0x46ae51,null));};exports[_0xbb2e('0x55')]=function(_0x3d985c,_0x2492f2,_0x51d672){if(_0x3d985c['file']&&_0x3d985c['file']['filename']){_0x3d985c[_0xbb2e('0x50')][_0xbb2e('0x56')]=_0x3d985c[_0xbb2e('0x52')][_0xbb2e('0x53')];}return db['Setting'][_0xbb2e('0x4f')]({'where':{'id':_0x3d985c[_0xbb2e('0x4b')]['id']}})[_0xbb2e('0x1b')](handleEntityNotFound(_0x2492f2,null))[_0xbb2e('0x1b')](saveUpdates(_0x3d985c[_0xbb2e('0x50')],null))[_0xbb2e('0x1b')](respondWithResult(_0x2492f2,null))[_0xbb2e('0x24')](handleError(_0x2492f2,null));};var utilLicense=require(_0xbb2e('0x57'));exports[_0xbb2e('0x58')]=function(_0x288e4c,_0x8f2f6c,_0x2808a6){var _0x2fa2fe=_0xbb2e('0x59');var _0x4f04ad={'custom':![]};return utilLicense[_0xbb2e('0x5a')]()['then'](function(_0x155d91){if(_0x155d91){_0x4f04ad=_0x155d91;}return db[_0xbb2e('0x4e')][_0xbb2e('0x4f')]({'where':{'id':_0x288e4c['params']['id']},'attributes':['logo',_0xbb2e('0x56'),_0xbb2e('0x5b'),'favicon',_0xbb2e('0x5c'),_0xbb2e('0x5d'),'defaultPreferred',_0xbb2e('0x5e')],'raw':!![]});})[_0xbb2e('0x1b')](handleEntityNotFound(_0x8f2f6c,null))[_0xbb2e('0x1b')](function(_0x25bcd0){if(_0x25bcd0){var _0x3bbdb1=_0x25bcd0[_0xbb2e('0x54')]&&fs[_0xbb2e('0x5f')](path[_0xbb2e('0x60')](config['root'],_0x2fa2fe,_[_0xbb2e('0x61')](_0x25bcd0[_0xbb2e('0x54')])))?path[_0xbb2e('0x60')](config[_0xbb2e('0x62')],_0x2fa2fe,_[_0xbb2e('0x61')](_0x25bcd0[_0xbb2e('0x54')])):path['join'](config['root'],_0x2fa2fe,_[_0xbb2e('0x61')]('default_logo.png'));var _0x25758c='default'+_[_0xbb2e('0x63')](_0xbb2e('0x54'));if(_0x25bcd0[_0x25758c]||!_0x4f04ad[_0xbb2e('0x64')]){_0x3bbdb1=path[_0xbb2e('0x60')](config[_0xbb2e('0x62')],_0x2fa2fe,_[_0xbb2e('0x61')](_0xbb2e('0x65')));}if(!fs['existsSync'](_0x3bbdb1)){throw new db[(_0xbb2e('0x17'))]['ValidationError'](_[_0xbb2e('0x63')](_0xbb2e('0x54'))+_0xbb2e('0x66'));}return _0x8f2f6c[_0xbb2e('0x67')](_0x3bbdb1);}})[_0xbb2e('0x24')](handleError(_0x8f2f6c,null));};var utilLicense=require('../../config/license/util');exports['getLogoLogin']=function(_0x48d8b9,_0x28b61b,_0x1c3f55){var _0x572fa6=_0xbb2e('0x59');var _0x4fc1a7={'custom':![]};return utilLicense[_0xbb2e('0x5a')]()[_0xbb2e('0x1b')](function(_0x1f4d99){if(_0x1f4d99){_0x4fc1a7=_0x1f4d99;}return db[_0xbb2e('0x4e')][_0xbb2e('0x4f')]({'where':{'id':_0x48d8b9[_0xbb2e('0x4b')]['id']},'attributes':[_0xbb2e('0x54'),'loginLogo','preferred','favicon',_0xbb2e('0x5c'),'defaultLoginLogo','defaultPreferred','defaultFavicon'],'raw':!![]});})['then'](handleEntityNotFound(_0x28b61b,null))[_0xbb2e('0x1b')](function(_0x489832){if(_0x489832){var _0x164896=_0x489832[_0xbb2e('0x56')]&&fs[_0xbb2e('0x5f')](path[_0xbb2e('0x60')](config[_0xbb2e('0x62')],_0x572fa6,_['toLower'](_0x489832[_0xbb2e('0x56')])))?path[_0xbb2e('0x60')](config[_0xbb2e('0x62')],_0x572fa6,_[_0xbb2e('0x61')](_0x489832['loginLogo'])):path['join'](config[_0xbb2e('0x62')],_0x572fa6,_['toLower'](_0xbb2e('0x68')));var _0x535db4=_0xbb2e('0x69')+_[_0xbb2e('0x63')](_0xbb2e('0x56'));if(_0x489832[_0x535db4]||!_0x4fc1a7['custom']){_0x164896=path[_0xbb2e('0x60')](config['root'],_0x572fa6,_[_0xbb2e('0x61')](_0xbb2e('0x68')));}if(!fs['existsSync'](_0x164896)){throw new db[(_0xbb2e('0x17'))][(_0xbb2e('0x18'))](_['upperFirst'](_0xbb2e('0x56'))+_0xbb2e('0x66'));}return _0x28b61b[_0xbb2e('0x67')](_0x164896);}})[_0xbb2e('0x24')](handleError(_0x28b61b,null));};exports[_0xbb2e('0x6a')]=function(_0x285f1d,_0x4d6e3e){return db['Setting']['find']({'where':{'id':_0x285f1d[_0xbb2e('0x4b')]['id']},'attributes':[_0xbb2e('0x6b')]})['then'](respondWithResult(_0x4d6e3e,null))[_0xbb2e('0x24')](handleError(_0x4d6e3e,null));};exports[_0xbb2e('0x6c')]=function(_0x3bf75a,_0x1d434e,_0x4b4179){if(_0x3bf75a['file']&&_0x3bf75a[_0xbb2e('0x52')][_0xbb2e('0x53')]){_0x3bf75a[_0xbb2e('0x50')]['preferred']=_0x3bf75a['file'][_0xbb2e('0x53')];}return db[_0xbb2e('0x4e')][_0xbb2e('0x4f')]({'where':{'id':_0x3bf75a[_0xbb2e('0x4b')]['id']}})['then'](handleEntityNotFound(_0x1d434e,null))[_0xbb2e('0x1b')](saveUpdates(_0x3bf75a[_0xbb2e('0x50')],null))[_0xbb2e('0x1b')](respondWithResult(_0x1d434e,null))[_0xbb2e('0x24')](handleError(_0x1d434e,null));};var utilLicense=require('../../config/license/util');exports['getPreferred']=function(_0x1a3837,_0x1a748c,_0x13efab){var _0x201864=_0xbb2e('0x59');var _0xdcfbd3={'custom':![]};return utilLicense[_0xbb2e('0x5a')]()['then'](function(_0x442f11){if(_0x442f11){_0xdcfbd3=_0x442f11;}return db['Setting']['find']({'where':{'id':_0x1a3837[_0xbb2e('0x4b')]['id']},'attributes':[_0xbb2e('0x54'),_0xbb2e('0x56'),'preferred',_0xbb2e('0x6d'),'defaultLogo',_0xbb2e('0x5d'),_0xbb2e('0x6e'),_0xbb2e('0x5e')],'raw':!![]});})[_0xbb2e('0x1b')](handleEntityNotFound(_0x1a748c,null))['then'](function(_0x595f3b){if(_0x595f3b){var _0x2a0364=_0x595f3b[_0xbb2e('0x5b')]&&fs[_0xbb2e('0x5f')](path[_0xbb2e('0x60')](config[_0xbb2e('0x62')],_0x201864,_['toLower'](_0x595f3b[_0xbb2e('0x5b')])))?path[_0xbb2e('0x60')](config[_0xbb2e('0x62')],_0x201864,_[_0xbb2e('0x61')](_0x595f3b[_0xbb2e('0x5b')])):path[_0xbb2e('0x60')](config[_0xbb2e('0x62')],_0x201864,_['toLower'](_0xbb2e('0x6f')));var _0x137e82=_0xbb2e('0x69')+_[_0xbb2e('0x63')](_0xbb2e('0x5b'));if(_0x595f3b[_0x137e82]||!_0xdcfbd3[_0xbb2e('0x64')]||!_0xdcfbd3[_0xbb2e('0x5b')]){_0x2a0364=path[_0xbb2e('0x60')](config[_0xbb2e('0x62')],_0x201864,_['toLower'](_0xbb2e('0x6f')));}if(!fs[_0xbb2e('0x5f')](_0x2a0364)){throw new db[(_0xbb2e('0x17'))][(_0xbb2e('0x18'))](_[_0xbb2e('0x63')](_0xbb2e('0x5b'))+_0xbb2e('0x66'));}return _0x1a748c[_0xbb2e('0x67')](_0x2a0364);}})[_0xbb2e('0x24')](handleError(_0x1a748c,null));};exports[_0xbb2e('0x70')]=function(_0x6fb65c,_0x56dd11,_0x20b36a){if(_0x6fb65c[_0xbb2e('0x52')]&&_0x6fb65c[_0xbb2e('0x52')][_0xbb2e('0x53')]){_0x6fb65c[_0xbb2e('0x50')]['favicon']=_0x6fb65c[_0xbb2e('0x52')][_0xbb2e('0x53')];}return db[_0xbb2e('0x4e')]['find']({'where':{'id':_0x6fb65c[_0xbb2e('0x4b')]['id']}})[_0xbb2e('0x1b')](handleEntityNotFound(_0x56dd11,null))['then'](saveUpdates(_0x6fb65c[_0xbb2e('0x50')],null))[_0xbb2e('0x1b')](respondWithResult(_0x56dd11,null))[_0xbb2e('0x24')](handleError(_0x56dd11,null));};var utilLicense=require('../../config/license/util');exports['getFavicon']=function(_0x13058b,_0x3c1206,_0x5274a1){var _0x6f5ec4=_0xbb2e('0x59');var _0x5d17d5={'custom':![]};return utilLicense[_0xbb2e('0x5a')]()['then'](function(_0x46af4c){if(_0x46af4c){_0x5d17d5=_0x46af4c;}return db[_0xbb2e('0x4e')][_0xbb2e('0x4f')]({'where':{'id':_0x13058b[_0xbb2e('0x4b')]['id']},'attributes':[_0xbb2e('0x54'),_0xbb2e('0x56'),_0xbb2e('0x5b'),_0xbb2e('0x6d'),_0xbb2e('0x5c'),_0xbb2e('0x5d'),_0xbb2e('0x6e'),_0xbb2e('0x5e')],'raw':!![]});})[_0xbb2e('0x1b')](handleEntityNotFound(_0x3c1206,null))['then'](function(_0x315af5){if(_0x315af5){var _0x2cb12a=_0x315af5[_0xbb2e('0x6d')]&&fs[_0xbb2e('0x5f')](path[_0xbb2e('0x60')](config[_0xbb2e('0x62')],_0x6f5ec4,_['toLower'](_0x315af5[_0xbb2e('0x6d')])))?path[_0xbb2e('0x60')](config[_0xbb2e('0x62')],_0x6f5ec4,_[_0xbb2e('0x61')](_0x315af5[_0xbb2e('0x6d')])):path['join'](config[_0xbb2e('0x62')],_0x6f5ec4,_['toLower'](_0xbb2e('0x71')));var _0x3d23ff=_0xbb2e('0x69')+_[_0xbb2e('0x63')](_0xbb2e('0x6d'));if(_0x315af5[_0x3d23ff]||!_0x5d17d5[_0xbb2e('0x64')]){_0x2cb12a=path[_0xbb2e('0x60')](config[_0xbb2e('0x62')],_0x6f5ec4,_[_0xbb2e('0x61')](_0xbb2e('0x71')));}if(!fs[_0xbb2e('0x5f')](_0x2cb12a)){throw new db[(_0xbb2e('0x17'))]['ValidationError'](_[_0xbb2e('0x63')]('favicon')+_0xbb2e('0x66'));}return _0x3c1206[_0xbb2e('0x67')](_0x2cb12a);}})[_0xbb2e('0x24')](handleError(_0x3c1206,null));}; \ No newline at end of file diff --git a/server/api/setting/setting.model.js b/server/api/setting/setting.model.js index 602f295..3a54513 100644 --- a/server/api/setting/setting.model.js +++ b/server/api/setting/setting.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x795d=['moment','bluebird','request-promise','path','rimraf','../../config/environment','./setting.attributes','exports','define','settings','util','../../config/logger','api'];(function(_0x4565bf,_0x5ad9d6){var _0x5610ba=function(_0x170988){while(--_0x170988){_0x4565bf['push'](_0x4565bf['shift']());}};_0x5610ba(++_0x5ad9d6);}(_0x795d,0x183));var _0xd795=function(_0x2077c2,_0x5f57a3){_0x2077c2=_0x2077c2-0x0;var _0x34bb69=_0x795d[_0x2077c2];return _0x34bb69;};'use strict';var _=require('lodash');var util=require(_0xd795('0x0'));var logger=require(_0xd795('0x1'))(_0xd795('0x2'));var moment=require(_0xd795('0x3'));var BPromise=require(_0xd795('0x4'));var rp=require(_0xd795('0x5'));var fs=require('fs');var path=require(_0xd795('0x6'));var rimraf=require(_0xd795('0x7'));var config=require(_0xd795('0x8'));var attributes=require(_0xd795('0x9'));module[_0xd795('0xa')]=function(_0x510fb5,_0x553c50){return _0x510fb5[_0xd795('0xb')]('Setting',attributes,{'tableName':_0xd795('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0x7e39=['moment','bluebird','path','rimraf','../../config/environment','./setting.attributes','exports','define','Setting','settings','lodash','util','../../config/logger','api'];(function(_0x51f48b,_0x302eca){var _0x3d5a43=function(_0x4f645c){while(--_0x4f645c){_0x51f48b['push'](_0x51f48b['shift']());}};_0x3d5a43(++_0x302eca);}(_0x7e39,0x1ca));var _0x97e3=function(_0x247ba8,_0x4396ab){_0x247ba8=_0x247ba8-0x0;var _0x5920ac=_0x7e39[_0x247ba8];return _0x5920ac;};'use strict';var _=require(_0x97e3('0x0'));var util=require(_0x97e3('0x1'));var logger=require(_0x97e3('0x2'))(_0x97e3('0x3'));var moment=require(_0x97e3('0x4'));var BPromise=require(_0x97e3('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x97e3('0x6'));var rimraf=require(_0x97e3('0x7'));var config=require(_0x97e3('0x8'));var attributes=require(_0x97e3('0x9'));module[_0x97e3('0xa')]=function(_0x4d0cc9,_0x1235b0){return _0x4d0cc9[_0x97e3('0xb')](_0x97e3('0xc'),attributes,{'tableName':_0x97e3('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/setting/setting.rpc.js b/server/api/setting/setting.rpc.js index f6f2903..2a169ab 100644 --- a/server/api/setting/setting.rpc.js +++ b/server/api/setting/setting.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x962e=['code','message','catch','lodash','util','moment','bluebird','ioredis','../../mysqldb','rpc','../../config/environment','client','http','request','then','info','Setting,\x20%s,\x20%s','request\x20sent','debug','Setting,\x20%s,\x20%s,\x20%s','stringify','error'];(function(_0x3443a7,_0x2a4b5a){var _0x1297d9=function(_0x4b7dcb){while(--_0x4b7dcb){_0x3443a7['push'](_0x3443a7['shift']());}};_0x1297d9(++_0x2a4b5a);}(_0x962e,0xb3));var _0xe962=function(_0x216bdd,_0x22e02b){_0x216bdd=_0x216bdd-0x0;var _0x3422b0=_0x962e[_0x216bdd];return _0x3422b0;};'use strict';var _=require(_0xe962('0x0'));var util=require(_0xe962('0x1'));var moment=require(_0xe962('0x2'));var BPromise=require(_0xe962('0x3'));var rs=require('randomstring');var fs=require('fs');var Redis=require(_0xe962('0x4'));var db=require(_0xe962('0x5'))['db'];var utils=require('../../config/utils');var logger=require('../../config/logger')(_0xe962('0x6'));var config=require(_0xe962('0x7'));var jayson=require('jayson/promise');var client=jayson[_0xe962('0x8')][_0xe962('0x9')]({'port':0x232a});function respondWithRpcPromise(_0x427ba1,_0x5e54b6,_0x2de92f){return new BPromise(function(_0x56f3ef,_0x1ff161){return client[_0xe962('0xa')](_0x427ba1,_0x2de92f)[_0xe962('0xb')](function(_0x56f3a0){logger[_0xe962('0xc')](_0xe962('0xd'),_0x5e54b6,_0xe962('0xe'));logger[_0xe962('0xf')](_0xe962('0x10'),_0x5e54b6,_0xe962('0xe'),JSON[_0xe962('0x11')](_0x56f3a0));if(_0x56f3a0[_0xe962('0x12')]){if(_0x56f3a0['error'][_0xe962('0x13')]===0x1f4){logger['error'](_0xe962('0xd'),_0x5e54b6,_0x56f3a0[_0xe962('0x12')]['message']);return _0x1ff161(_0x56f3a0[_0xe962('0x12')][_0xe962('0x14')]);}logger[_0xe962('0x12')](_0xe962('0xd'),_0x5e54b6,_0x56f3a0[_0xe962('0x12')][_0xe962('0x14')]);return _0x56f3ef(_0x56f3a0[_0xe962('0x12')]['message']);}else{logger[_0xe962('0xc')]('Setting,\x20%s,\x20%s',_0x5e54b6,_0xe962('0xe'));_0x56f3ef(_0x56f3a0['result'][_0xe962('0x14')]);}})[_0xe962('0x15')](function(_0x3d8053){logger[_0xe962('0x12')](_0xe962('0xd'),_0x5e54b6,_0x3d8053);_0x1ff161(_0x3d8053);});});} \ No newline at end of file +var _0xf546=['rpc','../../config/environment','jayson/promise','client','request','then','request\x20sent','debug','Setting,\x20%s,\x20%s,\x20%s','stringify','code','error','Setting,\x20%s,\x20%s','message','info','result','catch','lodash','util','moment','bluebird','randomstring','ioredis','../../mysqldb','../../config/logger'];(function(_0x45d534,_0x31cf34){var _0x492c79=function(_0x31573f){while(--_0x31573f){_0x45d534['push'](_0x45d534['shift']());}};_0x492c79(++_0x31cf34);}(_0xf546,0x188));var _0x6f54=function(_0x5747e8,_0x56242b){_0x5747e8=_0x5747e8-0x0;var _0x2b2d63=_0xf546[_0x5747e8];return _0x2b2d63;};'use strict';var _=require(_0x6f54('0x0'));var util=require(_0x6f54('0x1'));var moment=require(_0x6f54('0x2'));var BPromise=require(_0x6f54('0x3'));var rs=require(_0x6f54('0x4'));var fs=require('fs');var Redis=require(_0x6f54('0x5'));var db=require(_0x6f54('0x6'))['db'];var utils=require('../../config/utils');var logger=require(_0x6f54('0x7'))(_0x6f54('0x8'));var config=require(_0x6f54('0x9'));var jayson=require(_0x6f54('0xa'));var client=jayson[_0x6f54('0xb')]['http']({'port':0x232a});function respondWithRpcPromise(_0x5aa594,_0x265169,_0x1b8226){return new BPromise(function(_0x57a209,_0x563381){return client[_0x6f54('0xc')](_0x5aa594,_0x1b8226)[_0x6f54('0xd')](function(_0x527311){logger['info']('Setting,\x20%s,\x20%s',_0x265169,_0x6f54('0xe'));logger[_0x6f54('0xf')](_0x6f54('0x10'),_0x265169,'request\x20sent',JSON[_0x6f54('0x11')](_0x527311));if(_0x527311['error']){if(_0x527311['error'][_0x6f54('0x12')]===0x1f4){logger[_0x6f54('0x13')](_0x6f54('0x14'),_0x265169,_0x527311[_0x6f54('0x13')][_0x6f54('0x15')]);return _0x563381(_0x527311[_0x6f54('0x13')][_0x6f54('0x15')]);}logger[_0x6f54('0x13')]('Setting,\x20%s,\x20%s',_0x265169,_0x527311[_0x6f54('0x13')][_0x6f54('0x15')]);return _0x57a209(_0x527311[_0x6f54('0x13')][_0x6f54('0x15')]);}else{logger[_0x6f54('0x16')](_0x6f54('0x14'),_0x265169,'request\x20sent');_0x57a209(_0x527311[_0x6f54('0x17')][_0x6f54('0x15')]);}})[_0x6f54('0x18')](function(_0xa633ed){logger['error'](_0x6f54('0x14'),_0x265169,_0xa633ed);_0x563381(_0xa633ed);});});} \ No newline at end of file diff --git a/server/api/smsAccount/index.js b/server/api/smsAccount/index.js index d4b5e12..2031d8c 100644 --- a/server/api/smsAccount/index.js +++ b/server/api/smsAccount/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xbcab=['index','describe','/:id','show','/:id/dispositions','getDispositions','/:id/canned_answers','/:id/applications','getApplications','getInteractions','/:id/status','statusGet','getAgents','create','addAnswer','post','/:id/notify','notify','addApplications','/:id/send','send','status','addAgents','put','update','delete','destroy','removeDispositions','removeAnswers','/:id/users','exports','multer','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated'];(function(_0x1fe224,_0x2fed94){var _0x39499b=function(_0x3ef415){while(--_0x3ef415){_0x1fe224['push'](_0x1fe224['shift']());}};_0x39499b(++_0x2fed94);}(_0xbcab,0x137));var _0xbbca=function(_0x117c15,_0x22117f){_0x117c15=_0x117c15-0x0;var _0x268297=_0xbcab[_0x117c15];return _0x268297;};'use strict';var multer=require(_0xbbca('0x0'));var util=require('util');var path=require('path');var timeout=require(_0xbbca('0x1'));var express=require(_0xbbca('0x2'));var router=express[_0xbbca('0x3')]();var auth=require(_0xbbca('0x4'));var interaction=require(_0xbbca('0x5'));var config=require(_0xbbca('0x6'));var controller=require('./smsAccount.controller');router[_0xbbca('0x7')]('/',auth[_0xbbca('0x8')](),controller[_0xbbca('0x9')]);router['get']('/describe',auth[_0xbbca('0x8')](),controller[_0xbbca('0xa')]);router[_0xbbca('0x7')](_0xbbca('0xb'),auth[_0xbbca('0x8')](),controller[_0xbbca('0xc')]);router[_0xbbca('0x7')](_0xbbca('0xd'),auth[_0xbbca('0x8')](),controller[_0xbbca('0xe')]);router['get'](_0xbbca('0xf'),auth['isAuthenticated'](),controller['getAnswers']);router[_0xbbca('0x7')](_0xbbca('0x10'),auth['isAuthenticated'](),controller[_0xbbca('0x11')]);router[_0xbbca('0x7')]('/:id/interactions',auth[_0xbbca('0x8')](),controller[_0xbbca('0x12')]);router[_0xbbca('0x7')](_0xbbca('0x13'),controller[_0xbbca('0x14')]);router[_0xbbca('0x7')]('/:id/users',auth[_0xbbca('0x8')](),controller[_0xbbca('0x15')]);router['post']('/',auth[_0xbbca('0x8')](),controller[_0xbbca('0x16')]);router['post'](_0xbbca('0xd'),auth[_0xbbca('0x8')](),controller['addDisposition']);router['post'](_0xbbca('0xf'),auth[_0xbbca('0x8')](),controller[_0xbbca('0x17')]);router[_0xbbca('0x18')](_0xbbca('0x19'),controller[_0xbbca('0x1a')]);router[_0xbbca('0x18')]('/:id/applications',auth[_0xbbca('0x8')](),controller[_0xbbca('0x1b')]);router[_0xbbca('0x18')](_0xbbca('0x1c'),auth[_0xbbca('0x8')](),controller[_0xbbca('0x1d')]);router['post']('/:id/status',controller[_0xbbca('0x1e')]);router[_0xbbca('0x18')]('/:id/users',auth[_0xbbca('0x8')](),controller[_0xbbca('0x1f')]);router[_0xbbca('0x20')](_0xbbca('0xb'),auth[_0xbbca('0x8')](),controller[_0xbbca('0x21')]);router[_0xbbca('0x22')](_0xbbca('0xb'),auth[_0xbbca('0x8')](),controller[_0xbbca('0x23')]);router[_0xbbca('0x22')](_0xbbca('0xd'),auth['isAuthenticated'](),controller[_0xbbca('0x24')]);router[_0xbbca('0x22')](_0xbbca('0xf'),auth[_0xbbca('0x8')](),controller[_0xbbca('0x25')]);router[_0xbbca('0x22')](_0xbbca('0x26'),auth[_0xbbca('0x8')](),controller['removeAgents']);module[_0xbbca('0x27')]=router; \ No newline at end of file +var _0xaaab=['../../components/auth/service','../../components/interaction/service','./smsAccount.controller','isAuthenticated','get','/describe','describe','show','getDispositions','/:id/canned_answers','getAnswers','/:id/applications','statusGet','post','create','/:id/dispositions','addAnswer','/:id/notify','notify','addApplications','/:id/send','send','/:id/status','status','/:id','update','delete','removeDispositions','removeAnswers','/:id/users','removeAgents','exports','multer','util','path','connect-timeout'];(function(_0x5b9a55,_0xab0408){var _0x1edde3=function(_0x2dbd0e){while(--_0x2dbd0e){_0x5b9a55['push'](_0x5b9a55['shift']());}};_0x1edde3(++_0xab0408);}(_0xaaab,0x11c));var _0xbaaa=function(_0x2e14c8,_0x8b8ce4){_0x2e14c8=_0x2e14c8-0x0;var _0x2182dc=_0xaaab[_0x2e14c8];return _0x2182dc;};'use strict';var multer=require(_0xbaaa('0x0'));var util=require(_0xbaaa('0x1'));var path=require(_0xbaaa('0x2'));var timeout=require(_0xbaaa('0x3'));var express=require('express');var router=express['Router']();var auth=require(_0xbaaa('0x4'));var interaction=require(_0xbaaa('0x5'));var config=require('../../config/environment');var controller=require(_0xbaaa('0x6'));router['get']('/',auth[_0xbaaa('0x7')](),controller['index']);router[_0xbaaa('0x8')](_0xbaaa('0x9'),auth[_0xbaaa('0x7')](),controller[_0xbaaa('0xa')]);router[_0xbaaa('0x8')]('/:id',auth[_0xbaaa('0x7')](),controller[_0xbaaa('0xb')]);router['get']('/:id/dispositions',auth['isAuthenticated'](),controller[_0xbaaa('0xc')]);router[_0xbaaa('0x8')](_0xbaaa('0xd'),auth[_0xbaaa('0x7')](),controller[_0xbaaa('0xe')]);router[_0xbaaa('0x8')](_0xbaaa('0xf'),auth[_0xbaaa('0x7')](),controller['getApplications']);router['get']('/:id/interactions',auth['isAuthenticated'](),controller['getInteractions']);router['get']('/:id/status',controller[_0xbaaa('0x10')]);router['get']('/:id/users',auth[_0xbaaa('0x7')](),controller['getAgents']);router[_0xbaaa('0x11')]('/',auth[_0xbaaa('0x7')](),controller[_0xbaaa('0x12')]);router['post'](_0xbaaa('0x13'),auth[_0xbaaa('0x7')](),controller['addDisposition']);router[_0xbaaa('0x11')](_0xbaaa('0xd'),auth[_0xbaaa('0x7')](),controller[_0xbaaa('0x14')]);router[_0xbaaa('0x11')](_0xbaaa('0x15'),controller[_0xbaaa('0x16')]);router[_0xbaaa('0x11')]('/:id/applications',auth[_0xbaaa('0x7')](),controller[_0xbaaa('0x17')]);router['post'](_0xbaaa('0x18'),auth[_0xbaaa('0x7')](),controller[_0xbaaa('0x19')]);router[_0xbaaa('0x11')](_0xbaaa('0x1a'),controller[_0xbaaa('0x1b')]);router[_0xbaaa('0x11')]('/:id/users',auth[_0xbaaa('0x7')](),controller['addAgents']);router['put'](_0xbaaa('0x1c'),auth[_0xbaaa('0x7')](),controller[_0xbaaa('0x1d')]);router[_0xbaaa('0x1e')](_0xbaaa('0x1c'),auth[_0xbaaa('0x7')](),controller['destroy']);router['delete'](_0xbaaa('0x13'),auth['isAuthenticated'](),controller[_0xbaaa('0x1f')]);router[_0xbaaa('0x1e')](_0xbaaa('0xd'),auth[_0xbaaa('0x7')](),controller[_0xbaaa('0x20')]);router[_0xbaaa('0x1e')](_0xbaaa('0x21'),auth['isAuthenticated'](),controller[_0xbaaa('0x22')]);module[_0xbaaa('0x23')]=router; \ No newline at end of file diff --git a/server/api/smsAccount/smsAccount.attributes.js b/server/api/smsAccount/smsAccount.attributes.js index fcb4333..e7ba6ae 100644 --- a/server/api/smsAccount/smsAccount.attributes.js +++ b/server/api/smsAccount/smsAccount.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xdd8c=['sequelize','randomstring','exports','STRING','generate','ENUM','twilio','skebby','connectel','plivo','clickatell','csc','infobip','intelepeer','TEXT','Account:\x20{{account.name}}
{{#queue}}Queue:\x20{{queue.name}}
{{/queue}}From\x20:\x20{{from}}','BOOLEAN','INTEGER','Enabled/disables\x20mandatory\x20dispo\x20on\x20a\x20queue','setDataValue','mandatoryDispositionPauseId','mandatoryDisposition'];(function(_0x17b6e3,_0x4522ed){var _0x3906f3=function(_0x430f87){while(--_0x430f87){_0x17b6e3['push'](_0x17b6e3['shift']());}};_0x3906f3(++_0x4522ed);}(_0xdd8c,0x108));var _0xcdd8=function(_0x719520,_0x504716){_0x719520=_0x719520-0x0;var _0x4651ea=_0xdd8c[_0x719520];return _0x4651ea;};'use strict';var Sequelize=require(_0xcdd8('0x0'));var rs=require(_0xcdd8('0x1'));module[_0xcdd8('0x2')]={'name':{'type':Sequelize['STRING'],'unique':'name','allowNull':![]},'key':{'type':Sequelize['STRING'],'allowNull':![]},'remote':{'type':Sequelize[_0xcdd8('0x3')],'allowNull':![]},'token':{'type':Sequelize[_0xcdd8('0x3')],'defaultValue':function(){return rs[_0xcdd8('0x4')]();}},'phone':{'type':Sequelize[_0xcdd8('0x3')]},'type':{'type':Sequelize[_0xcdd8('0x5')](_0xcdd8('0x6'),_0xcdd8('0x7'),_0xcdd8('0x8'),'clicksend',_0xcdd8('0x9'),_0xcdd8('0xa'),_0xcdd8('0xb'),_0xcdd8('0xc'),_0xcdd8('0xd'))},'accountSid':{'type':Sequelize[_0xcdd8('0x3')]},'authId':{'type':Sequelize['STRING']},'authToken':{'type':Sequelize['STRING']},'smsMethod':{'type':Sequelize[_0xcdd8('0x5')]('SI','TI','GP')},'username':{'type':Sequelize[_0xcdd8('0x3')]},'password':{'type':Sequelize['STRING']},'apiKey':{'type':Sequelize[_0xcdd8('0x3')]},'senderString':{'type':Sequelize[_0xcdd8('0x3')]},'deliveryReport':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'description':{'type':Sequelize[_0xcdd8('0x3')]},'notificationTemplate':{'type':Sequelize[_0xcdd8('0xe')],'defaultValue':function(){return _0xcdd8('0xf');}},'notificationSound':{'type':Sequelize[_0xcdd8('0x10')],'defaultValue':!![]},'notificationShake':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'waitForTheAssignedAgent':{'type':Sequelize[_0xcdd8('0x11')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'queueTransfer':{'type':Sequelize[_0xcdd8('0x10')],'defaultValue':![]},'queueTransferTimeout':{'type':Sequelize['INTEGER'],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'agentTransfer':{'type':Sequelize[_0xcdd8('0x10')],'defaultValue':![]},'agentTransferTimeout':{'type':Sequelize[_0xcdd8('0x11')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'baseUrl':{'type':Sequelize[_0xcdd8('0x3')]},'mandatoryDispositionPauseId':{'type':Sequelize[_0xcdd8('0x11')],'comment':'Status\x20to\x20put\x20when\x20mandatory\x20disposition\x20is\x20enabled'},'mandatoryDisposition':{'type':Sequelize[_0xcdd8('0x10')],'defaultValue':![],'comment':_0xcdd8('0x12'),'set':function(_0x40b47f){if(!_0x40b47f)this[_0xcdd8('0x13')](_0xcdd8('0x14'),null);this['setDataValue'](_0xcdd8('0x15'),_0x40b47f);}}}; \ No newline at end of file +var _0x8544=['connectel','clicksend','plivo','csc','intelepeer','BOOLEAN','Account:\x20{{account.name}}
{{#queue}}Queue:\x20{{queue.name}}
{{/queue}}From\x20:\x20{{from}}','INTEGER','setDataValue','mandatoryDisposition','sequelize','randomstring','STRING','name','generate','ENUM','twilio'];(function(_0x3be439,_0x366c83){var _0x5e069e=function(_0x38617e){while(--_0x38617e){_0x3be439['push'](_0x3be439['shift']());}};_0x5e069e(++_0x366c83);}(_0x8544,0x14d));var _0x4854=function(_0x3e5086,_0x48f4a2){_0x3e5086=_0x3e5086-0x0;var _0xfeb102=_0x8544[_0x3e5086];return _0xfeb102;};'use strict';var Sequelize=require(_0x4854('0x0'));var rs=require(_0x4854('0x1'));module['exports']={'name':{'type':Sequelize[_0x4854('0x2')],'unique':_0x4854('0x3'),'allowNull':![]},'key':{'type':Sequelize[_0x4854('0x2')],'allowNull':![]},'remote':{'type':Sequelize['STRING'],'allowNull':![]},'token':{'type':Sequelize[_0x4854('0x2')],'defaultValue':function(){return rs[_0x4854('0x4')]();}},'phone':{'type':Sequelize[_0x4854('0x2')]},'type':{'type':Sequelize[_0x4854('0x5')](_0x4854('0x6'),'skebby',_0x4854('0x7'),_0x4854('0x8'),_0x4854('0x9'),'clickatell',_0x4854('0xa'),'infobip',_0x4854('0xb'))},'accountSid':{'type':Sequelize[_0x4854('0x2')]},'authId':{'type':Sequelize['STRING']},'authToken':{'type':Sequelize[_0x4854('0x2')]},'smsMethod':{'type':Sequelize[_0x4854('0x5')]('SI','TI','GP')},'username':{'type':Sequelize['STRING']},'password':{'type':Sequelize[_0x4854('0x2')]},'apiKey':{'type':Sequelize['STRING']},'senderString':{'type':Sequelize[_0x4854('0x2')]},'deliveryReport':{'type':Sequelize[_0x4854('0xc')],'defaultValue':![]},'description':{'type':Sequelize[_0x4854('0x2')]},'notificationTemplate':{'type':Sequelize['TEXT'],'defaultValue':function(){return _0x4854('0xd');}},'notificationSound':{'type':Sequelize[_0x4854('0xc')],'defaultValue':!![]},'notificationShake':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'waitForTheAssignedAgent':{'type':Sequelize[_0x4854('0xe')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'queueTransfer':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'queueTransferTimeout':{'type':Sequelize[_0x4854('0xe')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'agentTransfer':{'type':Sequelize[_0x4854('0xc')],'defaultValue':![]},'agentTransferTimeout':{'type':Sequelize[_0x4854('0xe')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'baseUrl':{'type':Sequelize[_0x4854('0x2')]},'mandatoryDispositionPauseId':{'type':Sequelize['INTEGER'],'comment':'Status\x20to\x20put\x20when\x20mandatory\x20disposition\x20is\x20enabled'},'mandatoryDisposition':{'type':Sequelize['BOOLEAN'],'defaultValue':![],'comment':'Enabled/disables\x20mandatory\x20dispo\x20on\x20a\x20queue','set':function(_0x541eee){if(!_0x541eee)this[_0x4854('0xf')]('mandatoryDispositionPauseId',null);this['setDataValue'](_0x4854('0x10'),_0x541eee);}}}; \ No newline at end of file diff --git a/server/api/smsAccount/smsAccount.controller.js b/server/api/smsAccount/smsAccount.controller.js index 1a25296..c463c8f 100644 --- a/server/api/smsAccount/smsAccount.controller.js +++ b/server/api/smsAccount/smsAccount.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x7a54=['findAndCountAll','getApplications','getInteractions','Contact','fullname','internal','Tag','color','tag','to\x20is\x20mandatory','DESC','List','out','Messages','spread','dataValues','push','log','skebby_dispatch_id','statusInt','requestid','clicksend','status_code','groupName','DELIVERED','redif','inspect','error_code','DELIVERED_TO_GATEWAY','RECEIVED_BY_RECIPIENT','DELIVRD','ACCEPTD','statusGet','received\x20delivery\x20report\x20from','message-id','state','addAgents','omit','emit','userSmsAccount:save','removeAgents','isArray','userSmsAccount:remove','getAgents','html-pdf','eml-format','rimraf','fast-json-patch','request-promise','bluebird','mustache','util','path','sox','ejs','squel','crypto','desk.js','ioredis','../../components/auth/service','../../components/parsers/advancedSearch','api','../../config/utils','../../config/environment','../../mysqldb','redis','defaults','socket.io-emitter','./smsAccount.socket','register','jayson/promise','client','http','test','Sequelize','ValidationError','request','then','info','SmsAccount,\x20%s,\x20%s','request\x20sent','SmsAccount,\x20%s,\x20%s,\x20%s','error','code','message','sendStatus','status','end','json','offset','limit','reject','update','destroy','get','UserProfileResource','stack','name','send','index','Pause','SmsAccount','fieldName','type','key','model','map','query','keys','filters','intersection','attributes','fields','hasOwnProperty','nolimit','order','sort','where','pick','filter','merge','VIRTUAL','options','count','includeAll','include','findAll','rows','catch','show','params','mandatoryDispositionPause','rawAttributes','length','find','create','user','role','SmsAccounts','UserProfileSection','autoAssociation','body','describe','addDisposition','SmsAccountId','Disposition','getDispositions','removeDispositions','ids','addAnswer','CannedAnswer','findOne','removeAnswers','notify','SmsApplication','Applications','account','priority','CmContact','no\x20available\x20attributes','difference','createdAt','updatedAt','ListId','From','Body','messageId','skebby','from','connectel','message_id','plivo','Text','MessageUUID','infobip','results','csc','originatingAddress','segmentedMessage','clickatell','fromNumber','text','replyMessageId','intelepeer','isNil','body\x20is\x20mandatory\x20and\x20not\x20empty','mapKey','mapKey\x20is\x20mandatory,\x20please\x20use\x20one\x20of\x20these:\x20','includes','mapKey\x20invalid,\x20please\x20use\x20one\x20of\x20these:\x20','CmList','Contacts','contact','SmsInteraction','interaction','applications','close','unmanaged','SmsMessage','ContactId','AttachmentId','User','unshift','agent','waitForTheAssignedAgent','*,*,*,*','Start','startRouting','receiveMessage','entity\x20found','debug','SmsAccount,\x20%s,\x20%s,\x20%s,\x20%s','set','Content-Type','\x0a','addApplications','sequelize','bulkCreate'];(function(_0x2ee42e,_0x3ceb64){var _0x5b7a58=function(_0x10dad0){while(--_0x10dad0){_0x2ee42e['push'](_0x2ee42e['shift']());}};_0x5b7a58(++_0x3ceb64);}(_0x7a54,0x106));var _0x47a5=function(_0x2a7cb2,_0x4f069d){_0x2a7cb2=_0x2a7cb2-0x0;var _0x20326f=_0x7a54[_0x2a7cb2];return _0x20326f;};'use strict';var pdf=require(_0x47a5('0x0'));var emlformat=require(_0x47a5('0x1'));var rimraf=require(_0x47a5('0x2'));var zipdir=require('zip-dir');var jsonpatch=require(_0x47a5('0x3'));var rp=require(_0x47a5('0x4'));var moment=require('moment');var BPromise=require(_0x47a5('0x5'));var Mustache=require(_0x47a5('0x6'));var util=require(_0x47a5('0x7'));var path=require(_0x47a5('0x8'));var sox=require(_0x47a5('0x9'));var csv=require('to-csv');var ejs=require(_0x47a5('0xa'));var fs=require('fs');var _=require('lodash');var squel=require(_0x47a5('0xb'));var crypto=require(_0x47a5('0xc'));var jsforce=require('jsforce');var deskjs=require(_0x47a5('0xd'));var toCsv=require('to-csv');var querystring=require('querystring');var Papa=require('papaparse');var Redis=require(_0x47a5('0xe'));var authService=require(_0x47a5('0xf'));var qs=require('../../components/parsers/qs');var as=require(_0x47a5('0x10'));var hardwareService=require('../../config/license/hardware');var logger=require('../../config/logger')(_0x47a5('0x11'));var utils=require(_0x47a5('0x12'));var config=require(_0x47a5('0x13'));var db=require(_0x47a5('0x14'))['db'];config[_0x47a5('0x15')]=_[_0x47a5('0x16')](config[_0x47a5('0x15')],{'host':'localhost','port':0x18eb});var socket=require(_0x47a5('0x17'))(new Redis(config[_0x47a5('0x15')]));require(_0x47a5('0x18'))[_0x47a5('0x19')](socket);var jayson=require(_0x47a5('0x1a'));var client=jayson[_0x47a5('0x1b')][_0x47a5('0x1c')]({'port':0x232c});function checkPasswordPattern(_0x190faa,_0x4e99a8,_0x362359){if(_0x362359){var _0x11faf5=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0x11faf5[_0x47a5('0x1d')](_0x4e99a8)){return _0x190faa;}else{throw new db[(_0x47a5('0x1e'))][(_0x47a5('0x1f'))]('The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.');}}else{return _0x190faa;}}function respondWithRpcPromise(_0x549de3,_0x138bc0,_0x4b966e,_0x5247fd){return new BPromise(function(_0x423a81,_0xaf70a6){var _0x2ce454=_0x5247fd||client;return _0x2ce454[_0x47a5('0x20')](_0x549de3,_0x4b966e)[_0x47a5('0x21')](function(_0x12b98e){logger[_0x47a5('0x22')](_0x47a5('0x23'),_0x138bc0,_0x47a5('0x24'));logger['debug'](_0x47a5('0x25'),_0x138bc0,_0x47a5('0x24'),JSON['stringify'](_0x12b98e));if(_0x12b98e[_0x47a5('0x26')]){if(_0x12b98e[_0x47a5('0x26')][_0x47a5('0x27')]===0x1f4){logger['error'](_0x47a5('0x23'),_0x138bc0,_0x12b98e[_0x47a5('0x26')][_0x47a5('0x28')]);return _0xaf70a6(_0x12b98e[_0x47a5('0x26')]['message']);}logger[_0x47a5('0x26')](_0x47a5('0x23'),_0x138bc0,_0x12b98e['error'][_0x47a5('0x28')]);return _0x423a81(_0x12b98e[_0x47a5('0x26')][_0x47a5('0x28')]);}else{logger[_0x47a5('0x22')](_0x47a5('0x23'),_0x138bc0,'request\x20sent');_0x423a81(_0x12b98e['result'][_0x47a5('0x28')]);}})['catch'](function(_0x1ea9c8){logger['error'](_0x47a5('0x23'),_0x138bc0,_0x1ea9c8);_0xaf70a6(_0x1ea9c8);});});}function respondWithStatusCode(_0x378208,_0x36ad34){_0x36ad34=_0x36ad34||0xcc;return function(_0x1dac65){if(_0x1dac65){return _0x378208[_0x47a5('0x29')](_0x36ad34);}return _0x378208[_0x47a5('0x2a')](_0x36ad34)[_0x47a5('0x2b')]();};}function respondWithResult(_0x136b14,_0x16631f){_0x16631f=_0x16631f||0xc8;return function(_0x361bfa){if(_0x361bfa){return _0x136b14[_0x47a5('0x2a')](_0x16631f)[_0x47a5('0x2c')](_0x361bfa);}};}function respondWithFilteredResult(_0x3ad507,_0x528582){return function(_0x243210){if(_0x243210){var _0x51833b=_0x243210['count'],_0x2ef875=_0x528582[_0x47a5('0x2d')],_0x9ac908=_0x528582[_0x47a5('0x2d')]+_0x528582[_0x47a5('0x2e')],_0x16901f;if(_0x9ac908>=_0x51833b){_0x9ac908=_0x51833b;_0x16901f=0xc8;}else{_0x16901f=0xce;}_0x3ad507[_0x47a5('0x2a')](_0x16901f);return _0x3ad507['set']('Content-Range',_0x2ef875+'-'+_0x9ac908+'/'+_0x51833b)[_0x47a5('0x2c')](_0x243210);}return null;};}function patchUpdates(_0xfb5ddb){return function(_0x5bd7eb){try{jsonpatch['apply'](_0x5bd7eb,_0xfb5ddb,!![]);}catch(_0x836303){return BPromise[_0x47a5('0x2f')](_0x836303);}return _0x5bd7eb['save']();};}function saveUpdates(_0x42f70c,_0x53119b){return function(_0x122ed6){if(_0x122ed6){return _0x122ed6[_0x47a5('0x30')](_0x42f70c)['then'](function(_0x4843c0){return _0x4843c0;});}return null;};}function removeEntity(_0x274e34,_0x5910bb){return function(_0x403028){if(_0x403028){return _0x403028[_0x47a5('0x31')]()[_0x47a5('0x21')](function(){var _0x52749b=_0x403028[_0x47a5('0x32')]({'plain':!![]});var _0x50c086='SmsAccounts';return db[_0x47a5('0x33')]['destroy']({'where':{'type':_0x50c086,'resourceId':_0x52749b['id']}})[_0x47a5('0x21')](function(){return _0x403028;});})['then'](function(){_0x274e34[_0x47a5('0x2a')](0xcc)[_0x47a5('0x2b')]();});}};}function handleEntityNotFound(_0x38c8d4,_0x199698){return function(_0x36add5){if(!_0x36add5){_0x38c8d4[_0x47a5('0x29')](0x194);}return _0x36add5;};}function handleError(_0xee582c,_0x452be5){_0x452be5=_0x452be5||0x1f4;return function(_0x1a0d23){logger['error'](_0x1a0d23[_0x47a5('0x34')]);if(_0x1a0d23[_0x47a5('0x35')]){delete _0x1a0d23['name'];}_0xee582c[_0x47a5('0x2a')](_0x452be5)[_0x47a5('0x36')](_0x1a0d23);};}exports[_0x47a5('0x37')]=function(_0x49c4b5,_0x101f70){var _0x10f660={'include':[{'model':db[_0x47a5('0x38')],'as':'mandatoryDispositionPause'}]},_0x596097={},_0x2ebba0={'count':0x0,'rows':[]};var _0x55c5eb=_['map'](db[_0x47a5('0x39')]['rawAttributes'],function(_0x9b5eaf){return{'name':_0x9b5eaf[_0x47a5('0x3a')],'type':_0x9b5eaf[_0x47a5('0x3b')][_0x47a5('0x3c')]};});_0x596097[_0x47a5('0x3d')]=_[_0x47a5('0x3e')](_0x55c5eb,_0x47a5('0x35'));_0x596097[_0x47a5('0x3f')]=_[_0x47a5('0x40')](_0x49c4b5[_0x47a5('0x3f')]);_0x596097[_0x47a5('0x41')]=_[_0x47a5('0x42')](_0x596097[_0x47a5('0x3d')],_0x596097['query']);_0x10f660[_0x47a5('0x43')]=_[_0x47a5('0x42')](_0x596097[_0x47a5('0x3d')],qs[_0x47a5('0x44')](_0x49c4b5['query'][_0x47a5('0x44')]));_0x10f660['attributes']=_0x10f660['attributes']['length']?_0x10f660['attributes']:_0x596097[_0x47a5('0x3d')];if(!_0x49c4b5['query'][_0x47a5('0x45')](_0x47a5('0x46'))){_0x10f660[_0x47a5('0x2e')]=qs['limit'](_0x49c4b5[_0x47a5('0x3f')][_0x47a5('0x2e')]);_0x10f660['offset']=qs['offset'](_0x49c4b5[_0x47a5('0x3f')]['offset']);}_0x10f660[_0x47a5('0x47')]=qs[_0x47a5('0x48')](_0x49c4b5[_0x47a5('0x3f')][_0x47a5('0x48')]);_0x10f660[_0x47a5('0x49')]=qs[_0x47a5('0x41')](_[_0x47a5('0x4a')](_0x49c4b5[_0x47a5('0x3f')],_0x596097[_0x47a5('0x41')]),_0x55c5eb);if(_0x49c4b5[_0x47a5('0x3f')][_0x47a5('0x4b')]){_0x10f660[_0x47a5('0x49')]=_[_0x47a5('0x4c')](_0x10f660[_0x47a5('0x49')],{'$or':_[_0x47a5('0x3e')](_0x55c5eb,function(_0x3a2b38){if(_0x3a2b38['type']!==_0x47a5('0x4d')){var _0x23bb04={};_0x23bb04[_0x3a2b38['name']]={'$like':'%'+_0x49c4b5['query'][_0x47a5('0x4b')]+'%'};return _0x23bb04;}})});}_0x10f660=_['merge']({},_0x10f660,_0x49c4b5[_0x47a5('0x4e')]);var _0xd93e37={'where':_0x10f660['where']};return db['SmsAccount'][_0x47a5('0x4f')](_0xd93e37)['then'](function(_0x2d147c){_0x2ebba0[_0x47a5('0x4f')]=_0x2d147c;if(_0x49c4b5[_0x47a5('0x3f')][_0x47a5('0x50')]){_0x10f660[_0x47a5('0x51')]=[{'all':!![]}];}return db[_0x47a5('0x39')][_0x47a5('0x52')](_0x10f660);})['then'](function(_0x48a0ef){_0x2ebba0[_0x47a5('0x53')]=_0x48a0ef;return _0x2ebba0;})[_0x47a5('0x21')](respondWithFilteredResult(_0x101f70,_0x10f660))[_0x47a5('0x54')](handleError(_0x101f70,null));};exports[_0x47a5('0x55')]=function(_0x2c7020,_0x2c0c86){var _0x249de5={'raw':![],'where':{'id':_0x2c7020[_0x47a5('0x56')]['id']},'include':[{'model':db[_0x47a5('0x38')],'as':_0x47a5('0x57')}]},_0x492cf7={};_0x492cf7['model']=_[_0x47a5('0x40')](db['SmsAccount'][_0x47a5('0x58')]);_0x492cf7[_0x47a5('0x3f')]=_[_0x47a5('0x40')](_0x2c7020[_0x47a5('0x3f')]);_0x492cf7['filters']=_[_0x47a5('0x42')](_0x492cf7[_0x47a5('0x3d')],_0x492cf7[_0x47a5('0x3f')]);_0x249de5[_0x47a5('0x43')]=_[_0x47a5('0x42')](_0x492cf7[_0x47a5('0x3d')],qs[_0x47a5('0x44')](_0x2c7020['query'][_0x47a5('0x44')]));_0x249de5[_0x47a5('0x43')]=_0x249de5[_0x47a5('0x43')][_0x47a5('0x59')]?_0x249de5[_0x47a5('0x43')]:_0x492cf7[_0x47a5('0x3d')];if(_0x2c7020['query'][_0x47a5('0x50')]){_0x249de5[_0x47a5('0x51')]=[{'all':!![]}];}_0x249de5=_[_0x47a5('0x4c')]({},_0x249de5,_0x2c7020['options']);return db[_0x47a5('0x39')][_0x47a5('0x5a')](_0x249de5)[_0x47a5('0x21')](handleEntityNotFound(_0x2c0c86,null))['then'](respondWithResult(_0x2c0c86,null))['catch'](handleError(_0x2c0c86,null));};exports[_0x47a5('0x5b')]=function(_0x376e1d,_0x4fa1da){return db['SmsAccount'][_0x47a5('0x5b')](_0x376e1d['body'],{})[_0x47a5('0x21')](function(_0x5d383d){var _0x482de6=_0x376e1d[_0x47a5('0x5c')][_0x47a5('0x32')]({'plain':!![]});if(!_0x482de6)throw new Error('Unable\x20to\x20retrieve\x20the\x20current\x20user');if(_0x482de6[_0x47a5('0x5d')]===_0x47a5('0x5c')){var _0x4b706a=_0x5d383d['get']({'plain':!![]});var _0x16b4fd=_0x47a5('0x5e');return db[_0x47a5('0x5f')][_0x47a5('0x5a')]({'where':{'name':_0x16b4fd,'userProfileId':_0x482de6['userProfileId']},'raw':!![]})[_0x47a5('0x21')](function(_0x2b4255){if(_0x2b4255&&_0x2b4255[_0x47a5('0x60')]===0x0){return db['UserProfileResource'][_0x47a5('0x5b')]({'name':_0x4b706a['name'],'resourceId':_0x4b706a['id'],'type':_0x2b4255[_0x47a5('0x35')],'sectionId':_0x2b4255['id']},{})[_0x47a5('0x21')](function(){return _0x5d383d;});}else{return _0x5d383d;}})[_0x47a5('0x54')](function(_0x1c485b){logger[_0x47a5('0x26')]('Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s',_0x1c485b);throw _0x1c485b;});}return _0x5d383d;})[_0x47a5('0x21')](respondWithResult(_0x4fa1da,0xc9))['catch'](handleError(_0x4fa1da,null));};exports['update']=function(_0x5eb150,_0x4f8564){if(_0x5eb150[_0x47a5('0x61')]['id']){delete _0x5eb150[_0x47a5('0x61')]['id'];}return db[_0x47a5('0x39')]['find']({'where':{'id':_0x5eb150['params']['id']},'include':[{'model':db[_0x47a5('0x38')],'as':_0x47a5('0x57')}]})[_0x47a5('0x21')](handleEntityNotFound(_0x4f8564,null))[_0x47a5('0x21')](saveUpdates(_0x5eb150[_0x47a5('0x61')],null))['then'](respondWithResult(_0x4f8564,null))[_0x47a5('0x54')](handleError(_0x4f8564,null));};exports['destroy']=function(_0x22c886,_0x274d31){return db['SmsAccount'][_0x47a5('0x5a')]({'where':{'id':_0x22c886[_0x47a5('0x56')]['id']}})[_0x47a5('0x21')](handleEntityNotFound(_0x274d31,null))[_0x47a5('0x21')](removeEntity(_0x274d31,null))[_0x47a5('0x54')](handleError(_0x274d31,null));};exports[_0x47a5('0x62')]=function(_0x35cca8,_0x3ac38c){return db['SmsAccount'][_0x47a5('0x62')]()[_0x47a5('0x21')](respondWithResult(_0x3ac38c,null))[_0x47a5('0x54')](handleError(_0x3ac38c,null));};exports[_0x47a5('0x63')]=function(_0x396cb0,_0x4bbe14,_0xbec033){if(_0x396cb0[_0x47a5('0x61')]['id']){delete _0x396cb0[_0x47a5('0x61')]['id'];}return db[_0x47a5('0x39')][_0x47a5('0x5a')]({'where':{'id':_0x396cb0[_0x47a5('0x56')]['id']}})[_0x47a5('0x21')](handleEntityNotFound(_0x4bbe14,null))[_0x47a5('0x21')](function(_0x350af8){if(_0x350af8){_0x396cb0[_0x47a5('0x61')][_0x47a5('0x64')]=_0x350af8['id'];return db[_0x47a5('0x65')][_0x47a5('0x5b')](_0x396cb0[_0x47a5('0x61')]);}})[_0x47a5('0x21')](respondWithResult(_0x4bbe14,null))['catch'](handleError(_0x4bbe14,null));};exports[_0x47a5('0x66')]=function(_0x284fb8,_0x30504e,_0x4b42f3){var _0x37ac59={'raw':![],'where':{}};var _0x2e46af={};var _0x36c67={'count':0x0,'rows':[]};return db[_0x47a5('0x39')]['findOne']({'where':{'id':_0x284fb8[_0x47a5('0x56')]['id']}})['then'](handleEntityNotFound(_0x30504e,null))[_0x47a5('0x21')](function(_0x487e21){if(_0x487e21){_0x2e46af[_0x47a5('0x3d')]=_['keys'](db[_0x47a5('0x65')][_0x47a5('0x58')]);_0x2e46af[_0x47a5('0x3f')]=_['keys'](_0x284fb8['query']);_0x2e46af['filters']=_[_0x47a5('0x42')](_0x2e46af[_0x47a5('0x3d')],_0x2e46af[_0x47a5('0x3f')]);_0x37ac59[_0x47a5('0x43')]=_['intersection'](_0x2e46af[_0x47a5('0x3d')],qs[_0x47a5('0x44')](_0x284fb8[_0x47a5('0x3f')][_0x47a5('0x44')]));_0x37ac59[_0x47a5('0x43')]=_0x37ac59[_0x47a5('0x43')][_0x47a5('0x59')]?_0x37ac59[_0x47a5('0x43')]:_0x2e46af[_0x47a5('0x3d')];if(!_0x284fb8[_0x47a5('0x3f')][_0x47a5('0x45')](_0x47a5('0x46'))){_0x37ac59['limit']=qs[_0x47a5('0x2e')](_0x284fb8['query'][_0x47a5('0x2e')]);_0x37ac59[_0x47a5('0x2d')]=qs[_0x47a5('0x2d')](_0x284fb8[_0x47a5('0x3f')][_0x47a5('0x2d')]);}_0x37ac59[_0x47a5('0x47')]=qs[_0x47a5('0x48')](_0x284fb8[_0x47a5('0x3f')][_0x47a5('0x48')]);_0x37ac59[_0x47a5('0x49')]=qs[_0x47a5('0x41')](_[_0x47a5('0x4a')](_0x284fb8[_0x47a5('0x3f')],_0x2e46af[_0x47a5('0x41')]));_0x37ac59[_0x47a5('0x49')]['SmsAccountId']=_0x487e21['id'];if(_0x284fb8['query']['filter']){_0x37ac59['where']=_[_0x47a5('0x4c')](_0x37ac59[_0x47a5('0x49')],{'$or':_['map'](_0x37ac59[_0x47a5('0x43')],function(_0x44dda2){var _0x1baa5a={};_0x1baa5a[_0x44dda2]={'$like':'%'+_0x284fb8[_0x47a5('0x3f')][_0x47a5('0x4b')]+'%'};return _0x1baa5a;})});}_0x37ac59=_[_0x47a5('0x4c')]({},_0x37ac59,_0x284fb8[_0x47a5('0x4e')]);return db[_0x47a5('0x65')][_0x47a5('0x4f')]({'where':_0x37ac59[_0x47a5('0x49')]})[_0x47a5('0x21')](function(_0x5e5f16){_0x36c67[_0x47a5('0x4f')]=_0x5e5f16;if(_0x284fb8[_0x47a5('0x3f')][_0x47a5('0x50')]){_0x37ac59['include']=[{'all':!![]}];}return db[_0x47a5('0x65')][_0x47a5('0x52')](_0x37ac59);})[_0x47a5('0x21')](function(_0x5d41d8){_0x36c67[_0x47a5('0x53')]=_0x5d41d8;return _0x36c67;});}})['then'](respondWithFilteredResult(_0x30504e,_0x37ac59))['catch'](handleError(_0x30504e,null));};exports[_0x47a5('0x67')]=function(_0x292d9c,_0x277486,_0x27333e){return db[_0x47a5('0x39')][_0x47a5('0x5a')]({'where':{'id':_0x292d9c['params']['id']}})['then'](handleEntityNotFound(_0x277486,null))[_0x47a5('0x21')](function(_0x4f2361){if(_0x4f2361){return _0x4f2361[_0x47a5('0x67')](_0x292d9c[_0x47a5('0x3f')][_0x47a5('0x68')]);}})[_0x47a5('0x21')](respondWithStatusCode(_0x277486,null))['catch'](handleError(_0x277486,null));};exports[_0x47a5('0x69')]=function(_0x550bde,_0x5f3a04,_0x139c79){if(_0x550bde[_0x47a5('0x61')]['id']){delete _0x550bde['body']['id'];}return db[_0x47a5('0x39')][_0x47a5('0x5a')]({'where':{'id':_0x550bde[_0x47a5('0x56')]['id']}})['then'](handleEntityNotFound(_0x5f3a04,null))[_0x47a5('0x21')](function(_0x578e27){if(_0x578e27){_0x550bde[_0x47a5('0x61')][_0x47a5('0x64')]=_0x578e27['id'];return db[_0x47a5('0x6a')]['create'](_0x550bde[_0x47a5('0x61')]);}})[_0x47a5('0x21')](respondWithResult(_0x5f3a04,null))[_0x47a5('0x54')](handleError(_0x5f3a04,null));};exports['getAnswers']=function(_0x3525e7,_0x4f2fbb,_0x3c012b){var _0x491bb4={'raw':![],'where':{}};var _0x135d2e={};var _0x20d8bd={'count':0x0,'rows':[]};return db[_0x47a5('0x39')][_0x47a5('0x6b')]({'where':{'id':_0x3525e7['params']['id']}})[_0x47a5('0x21')](handleEntityNotFound(_0x4f2fbb,null))[_0x47a5('0x21')](function(_0x23c393){if(_0x23c393){_0x135d2e[_0x47a5('0x3d')]=_[_0x47a5('0x40')](db['CannedAnswer']['rawAttributes']);_0x135d2e[_0x47a5('0x3f')]=_['keys'](_0x3525e7[_0x47a5('0x3f')]);_0x135d2e[_0x47a5('0x41')]=_[_0x47a5('0x42')](_0x135d2e['model'],_0x135d2e[_0x47a5('0x3f')]);_0x491bb4[_0x47a5('0x43')]=_['intersection'](_0x135d2e[_0x47a5('0x3d')],qs[_0x47a5('0x44')](_0x3525e7[_0x47a5('0x3f')][_0x47a5('0x44')]));_0x491bb4['attributes']=_0x491bb4['attributes'][_0x47a5('0x59')]?_0x491bb4[_0x47a5('0x43')]:_0x135d2e['model'];if(!_0x3525e7[_0x47a5('0x3f')][_0x47a5('0x45')]('nolimit')){_0x491bb4[_0x47a5('0x2e')]=qs[_0x47a5('0x2e')](_0x3525e7[_0x47a5('0x3f')]['limit']);_0x491bb4[_0x47a5('0x2d')]=qs['offset'](_0x3525e7[_0x47a5('0x3f')]['offset']);}_0x491bb4[_0x47a5('0x47')]=qs[_0x47a5('0x48')](_0x3525e7['query'][_0x47a5('0x48')]);_0x491bb4['where']=qs[_0x47a5('0x41')](_[_0x47a5('0x4a')](_0x3525e7[_0x47a5('0x3f')],_0x135d2e[_0x47a5('0x41')]));_0x491bb4['where'][_0x47a5('0x64')]=_0x23c393['id'];if(_0x3525e7['query']['filter']){_0x491bb4[_0x47a5('0x49')]=_[_0x47a5('0x4c')](_0x491bb4[_0x47a5('0x49')],{'$or':_[_0x47a5('0x3e')](_0x491bb4[_0x47a5('0x43')],function(_0x5b1f5e){var _0x1522a6={};_0x1522a6[_0x5b1f5e]={'$like':'%'+_0x3525e7[_0x47a5('0x3f')][_0x47a5('0x4b')]+'%'};return _0x1522a6;})});}_0x491bb4=_[_0x47a5('0x4c')]({},_0x491bb4,_0x3525e7['options']);return db[_0x47a5('0x6a')]['count']({'where':_0x491bb4[_0x47a5('0x49')]})[_0x47a5('0x21')](function(_0x3f93f0){_0x20d8bd[_0x47a5('0x4f')]=_0x3f93f0;if(_0x3525e7[_0x47a5('0x3f')][_0x47a5('0x50')]){_0x491bb4[_0x47a5('0x51')]=[{'all':!![]}];}return db[_0x47a5('0x6a')][_0x47a5('0x52')](_0x491bb4);})['then'](function(_0x36796e){_0x20d8bd[_0x47a5('0x53')]=_0x36796e;return _0x20d8bd;});}})['then'](respondWithFilteredResult(_0x4f2fbb,_0x491bb4))[_0x47a5('0x54')](handleError(_0x4f2fbb,null));};exports[_0x47a5('0x6c')]=function(_0x6d6a5,_0x5b85cd,_0x4bf1f5){return db[_0x47a5('0x39')][_0x47a5('0x5a')]({'where':{'id':_0x6d6a5['params']['id']}})['then'](handleEntityNotFound(_0x5b85cd,null))[_0x47a5('0x21')](function(_0x17f82d){if(_0x17f82d){return _0x17f82d['removeAnswers'](_0x6d6a5[_0x47a5('0x3f')][_0x47a5('0x68')]);}})['then'](respondWithStatusCode(_0x5b85cd,null))[_0x47a5('0x54')](handleError(_0x5b85cd,null));};exports[_0x47a5('0x6d')]=function(_0x109805,_0x70c8a6,_0x364bb0){var _0x1371e4={'channel':'sms'};var _0x4c9894=[];var _0x5bd86e=[];var _0x133b7a={};return db[_0x47a5('0x39')]['find']({'where':{'id':_0x109805[_0x47a5('0x56')]['id']},'include':[{'model':db[_0x47a5('0x6e')],'as':_0x47a5('0x6f')}]})[_0x47a5('0x21')](handleEntityNotFound(_0x70c8a6,null))[_0x47a5('0x21')](function(_0x5084d6){_0x1371e4[_0x47a5('0x70')]=_0x5084d6;_0x1371e4['applications']=_['orderBy'](_0x5084d6['Applications'],[_0x47a5('0x71')],['asc']);if(_0x1371e4[_0x47a5('0x70')][_0x47a5('0x6f')]){delete _0x1371e4[_0x47a5('0x70')]['Applications'];}return db[_0x47a5('0x72')][_0x47a5('0x62')]();})[_0x47a5('0x21')](function(_0x121750){if(!_0x121750){throw new db[(_0x47a5('0x1e'))]['ValidationError'](_0x47a5('0x73'));}_0x4c9894=_[_0x47a5('0x74')](_['keys'](_0x121750),[_0x47a5('0x75'),_0x47a5('0x76')]);_0x5bd86e=_[_0x47a5('0x74')](_[_0x47a5('0x40')](_0x121750),[_0x47a5('0x75'),_0x47a5('0x76'),'CompanyId',_0x47a5('0x77')]);_0x1371e4[_0x47a5('0x61')]={'mapKey':'mobile'};if(_0x1371e4[_0x47a5('0x70')][_0x47a5('0x3b')]){switch(_0x1371e4[_0x47a5('0x70')][_0x47a5('0x3b')]){case'twilio':_0x1371e4['body']['from']=_0x109805['body'][_0x47a5('0x78')];_0x1371e4[_0x47a5('0x61')][_0x47a5('0x61')]=_0x109805[_0x47a5('0x61')][_0x47a5('0x79')];_0x1371e4[_0x47a5('0x61')][_0x47a5('0x7a')]=_0x109805[_0x47a5('0x61')]['MessageSid'];break;case _0x47a5('0x7b'):_0x1371e4[_0x47a5('0x61')][_0x47a5('0x7c')]='+'+_0x109805[_0x47a5('0x61')]['sender'];_0x1371e4['body'][_0x47a5('0x61')]=_0x109805['body']['text'];break;case _0x47a5('0x7d'):_0x1371e4[_0x47a5('0x61')]['from']=_0x109805[_0x47a5('0x61')][_0x47a5('0x7c')];_0x1371e4[_0x47a5('0x61')]['body']=_0x109805[_0x47a5('0x61')][_0x47a5('0x28')];break;case'clicksend':_0x1371e4[_0x47a5('0x61')][_0x47a5('0x7c')]=_0x109805[_0x47a5('0x61')][_0x47a5('0x7c')];_0x1371e4[_0x47a5('0x61')][_0x47a5('0x61')]=_0x109805['body'][_0x47a5('0x61')];_0x1371e4['body'][_0x47a5('0x7a')]=_0x109805[_0x47a5('0x61')][_0x47a5('0x7e')];break;case _0x47a5('0x7f'):_0x1371e4['body'][_0x47a5('0x7c')]=_0x109805[_0x47a5('0x61')][_0x47a5('0x78')];_0x1371e4[_0x47a5('0x61')][_0x47a5('0x61')]=_0x109805[_0x47a5('0x61')][_0x47a5('0x80')];_0x1371e4[_0x47a5('0x61')][_0x47a5('0x7a')]=_0x109805[_0x47a5('0x61')][_0x47a5('0x81')];break;case _0x47a5('0x82'):_0x1371e4['body'][_0x47a5('0x7c')]='+'+_0x109805[_0x47a5('0x61')]['results'][0x0][_0x47a5('0x7c')];_0x1371e4[_0x47a5('0x61')][_0x47a5('0x61')]=_0x109805[_0x47a5('0x61')][_0x47a5('0x83')][0x0]['text'];_0x1371e4[_0x47a5('0x61')][_0x47a5('0x7a')]=_0x109805[_0x47a5('0x61')][_0x47a5('0x83')][0x0][_0x47a5('0x7a')];break;case _0x47a5('0x84'):_0x1371e4[_0x47a5('0x61')]['from']=_0x109805['body'][_0x47a5('0x85')];_0x1371e4['body'][_0x47a5('0x61')]=_0x109805['body'][_0x47a5('0x86')][_0x47a5('0x28')];break;case _0x47a5('0x87'):_0x1371e4[_0x47a5('0x61')]['from']=_0x109805[_0x47a5('0x61')][_0x47a5('0x88')];_0x1371e4[_0x47a5('0x61')]['body']=_0x109805['body'][_0x47a5('0x89')];_0x1371e4[_0x47a5('0x61')][_0x47a5('0x7a')]=_0x109805[_0x47a5('0x61')][_0x47a5('0x8a')];break;case _0x47a5('0x8b'):_0x1371e4[_0x47a5('0x61')][_0x47a5('0x7c')]=_0x109805['body'][_0x47a5('0x7c')];_0x1371e4['body'][_0x47a5('0x61')]=_0x109805[_0x47a5('0x61')]['message'];_0x1371e4['body'][_0x47a5('0x7a')]=_0x109805[_0x47a5('0x61')]['refid'];break;}}if(_0x1371e4[_0x47a5('0x61')]['id']){delete _0x1371e4[_0x47a5('0x61')]['id'];}if(_[_0x47a5('0x8c')](_0x1371e4[_0x47a5('0x61')]['from'])){throw new db[(_0x47a5('0x1e'))]['ValidationError']('from\x20is\x20mandatory');}if(_['isNil'](_0x1371e4[_0x47a5('0x61')]['body'])||_0x1371e4[_0x47a5('0x61')][_0x47a5('0x61')]===''){throw new db[(_0x47a5('0x1e'))][(_0x47a5('0x1f'))](_0x47a5('0x8d'));}if(_[_0x47a5('0x8c')](_0x1371e4[_0x47a5('0x61')][_0x47a5('0x8e')])){throw new db[(_0x47a5('0x1e'))][(_0x47a5('0x1f'))](_0x47a5('0x8f')+_0x5bd86e);}if(!_[_0x47a5('0x90')](_0x5bd86e,_0x1371e4[_0x47a5('0x61')][_0x47a5('0x8e')])){throw new db[(_0x47a5('0x1e'))]['ValidationError'](_0x47a5('0x91')+_0x5bd86e);}_0x133b7a[_0x1371e4[_0x47a5('0x61')][_0x47a5('0x8e')]]=_0x1371e4[_0x47a5('0x61')]['from'];return db[_0x47a5('0x92')]['find']({'where':{'id':_0x1371e4[_0x47a5('0x70')]['ListId']},'include':[{'model':db[_0x47a5('0x72')],'as':_0x47a5('0x93'),'where':_0x133b7a,'limit':0x1,'order':[[_0x47a5('0x76'),'DESC']]}]});})[_0x47a5('0x21')](handleEntityNotFound(_0x70c8a6,null))[_0x47a5('0x21')](function(_0x14771b){if(_0x14771b){_0x1371e4['list']=_['omit'](_0x14771b,[_0x47a5('0x93')]);if(_0x14771b[_0x47a5('0x93')][_0x47a5('0x59')]){return _0x14771b[_0x47a5('0x93')][0x0];}var _0x204bd6=_['defaults'](_0x1371e4[_0x47a5('0x61')],{'firstName':_0x1371e4['body'][_0x47a5('0x7c')],'ListId':_0x14771b['id']});_0x204bd6[_0x1371e4[_0x47a5('0x61')][_0x47a5('0x8e')]]=_0x1371e4[_0x47a5('0x61')]['from'];return db['CmContact'][_0x47a5('0x5b')](_0x204bd6,{'fields':_0x4c9894,'raw':!![]});}})[_0x47a5('0x21')](handleEntityNotFound(_0x70c8a6,null))[_0x47a5('0x21')](function(_0x4339d4){if(_0x4339d4){_0x1371e4[_0x47a5('0x94')]=_0x4339d4;var _0x36a44c={'ContactId':_0x4339d4['id'],'phone':_0x1371e4[_0x47a5('0x61')][_0x47a5('0x7c')],'SmsAccountId':_0x109805[_0x47a5('0x56')]['id']};var _0x481bc3={'ContactId':_0x4339d4['id'],'SmsAccountId':_0x109805['params']['id'],'closed':![]};return db[_0x47a5('0x95')]['find']({'where':_0x481bc3})[_0x47a5('0x21')](function(_0x2d0b67){if(_0x2d0b67){return[_0x2d0b67,![]];}return db[_0x47a5('0x95')]['create'](_0x36a44c)[_0x47a5('0x21')](function(_0x26d629){return[_0x26d629,!![]];});});}})['spread'](function(_0xcb6714,_0x51f6cf){_0x1371e4[_0x47a5('0x96')]=_0xcb6714[_0x47a5('0x32')]({'plain':!![]});_0x1371e4[_0x47a5('0x96')]['created']=![];if(_0x51f6cf){if(_0x1371e4['account']['autoclose']){_0x1371e4['applications']['push']({'id':0x0,'priority':_0x1371e4[_0x47a5('0x97')]['length']+0x1,'app':_0x47a5('0x98'),'appdata':_0x47a5('0x99'),'interval':'*,*,*,*'});}_0x1371e4['interaction']['created']=!![];}return db[_0x47a5('0x9a')]['create']({'phone':_0x1371e4['body']['from'],'messageId':_0x1371e4[_0x47a5('0x61')][_0x47a5('0x7a')],'body':_0x1371e4[_0x47a5('0x61')][_0x47a5('0x61')],'SmsAccountId':_0x109805['params']['id'],'SmsInteractionId':_0xcb6714['id'],'direction':'in','ContactId':_0xcb6714[_0x47a5('0x9b')],'AttachmentId':_0x1371e4['body'][_0x47a5('0x9c')]});})['then'](function(_0x2de924){_0x1371e4[_0x47a5('0x28')]=_0x2de924;if(_0x1371e4[_0x47a5('0x96')]['UserId']){return db[_0x47a5('0x9d')][_0x47a5('0x5a')]({'attributes':['id',_0x47a5('0x35')],'where':{'id':_0x1371e4[_0x47a5('0x96')]['UserId']}})[_0x47a5('0x21')](function(_0x9a7edc){if(_0x9a7edc){_0x1371e4[_0x47a5('0x97')][_0x47a5('0x9e')]({'id':0x0,'priority':0x0,'app':_0x47a5('0x9f'),'appdata':_0x9a7edc[_0x47a5('0x35')]+','+(_0x1371e4['account'][_0x47a5('0xa0')]||0xa),'interval':_0x47a5('0xa1')});}return respondWithRpcPromise(_0x47a5('0xa2'),_0x47a5('0xa3'),_0x1371e4);});}return respondWithRpcPromise(_0x47a5('0xa2'),_0x47a5('0xa3'),_0x1371e4);})[_0x47a5('0x21')](function(_0x2697df){if(_0x2697df){var _0x408887=0xc8;var _0x34fde3=_0x47a5('0xa4');logger[_0x47a5('0x22')](_0x47a5('0x25'),_0x34fde3,_0x408887,_0x47a5('0xa5'));logger[_0x47a5('0xa6')](_0x47a5('0xa7'),_0x34fde3,_0x408887,_0x47a5('0xa5'),JSON['stringify'](_0x2697df));if(_0x1371e4[_0x47a5('0x70')]['type']==='twilio'){return _0x70c8a6[_0x47a5('0x2a')](_0x408887)[_0x47a5('0xa8')](_0x47a5('0xa9'),'text/xml')[_0x47a5('0x36')](_0x47a5('0xaa'));}else{return _0x70c8a6[_0x47a5('0x2a')](_0x408887)[_0x47a5('0x2c')](_0x2697df);}}})[_0x47a5('0x54')](handleError(_0x70c8a6,null));};exports[_0x47a5('0xab')]=function(_0x1b1f86,_0x46cb3a,_0x176e71){return db[_0x47a5('0x39')][_0x47a5('0x6b')]({'where':{'id':_0x1b1f86[_0x47a5('0x56')]['id']}})[_0x47a5('0x21')](handleEntityNotFound(_0x46cb3a,null))['then'](function(_0x4aad5f){if(_0x4aad5f){return db[_0x47a5('0xac')]['transaction'](function(_0x249339){return db[_0x47a5('0x6e')][_0x47a5('0x31')]({'where':{'SmsAccountId':_0x1b1f86[_0x47a5('0x56')]['id']},'transaction':_0x249339})[_0x47a5('0x21')](function(_0x3708ea){var _0x583b37=_[_0x47a5('0x3e')](_0x1b1f86[_0x47a5('0x61')],function(_0x380eca){_0x380eca['SmsAccountId']=_0x1b1f86[_0x47a5('0x56')]['id'];return _0x380eca;});return db[_0x47a5('0x6e')][_0x47a5('0xad')](_0x583b37,{'transaction':_0x249339});});})[_0x47a5('0x21')](function(){return db[_0x47a5('0x6e')][_0x47a5('0xae')]({'where':{'SmsAccountId':_0x1b1f86[_0x47a5('0x56')]['id']},'order':_0x47a5('0x71')});});}})[_0x47a5('0x21')](respondWithResult(_0x46cb3a,null))[_0x47a5('0x54')](handleError(_0x46cb3a,null));};exports[_0x47a5('0xaf')]=function(_0x40b7a5,_0x28e998,_0x2ac386){var _0x578983={};var _0x3f7fdc={};var _0x272cd0;var _0x150cff;return db[_0x47a5('0x39')][_0x47a5('0x6b')]({'where':{'id':_0x40b7a5[_0x47a5('0x56')]['id']}})[_0x47a5('0x21')](handleEntityNotFound(_0x28e998,null))['then'](function(_0x185104){if(_0x185104){_0x272cd0=_0x185104;_0x3f7fdc['model']=_[_0x47a5('0x40')](db[_0x47a5('0x6e')][_0x47a5('0x58')]);_0x3f7fdc[_0x47a5('0x3f')]=_[_0x47a5('0x40')](_0x40b7a5[_0x47a5('0x3f')]);_0x3f7fdc[_0x47a5('0x41')]=_[_0x47a5('0x42')](_0x3f7fdc['model'],_0x3f7fdc[_0x47a5('0x3f')]);_0x578983[_0x47a5('0x43')]=_[_0x47a5('0x42')](_0x3f7fdc['model'],qs[_0x47a5('0x44')](_0x40b7a5[_0x47a5('0x3f')][_0x47a5('0x44')]));_0x578983[_0x47a5('0x43')]=_0x578983['attributes'][_0x47a5('0x59')]?_0x578983[_0x47a5('0x43')]:_0x3f7fdc[_0x47a5('0x3d')];_0x578983[_0x47a5('0x47')]=qs['sort'](_0x40b7a5[_0x47a5('0x3f')]['sort']);_0x578983['where']=qs[_0x47a5('0x41')](_[_0x47a5('0x4a')](_0x40b7a5[_0x47a5('0x3f')],_0x3f7fdc[_0x47a5('0x41')]));if(_0x40b7a5['query'][_0x47a5('0x4b')]){_0x578983[_0x47a5('0x49')]=_[_0x47a5('0x4c')](_0x578983[_0x47a5('0x49')],{'$or':_[_0x47a5('0x3e')](_0x578983[_0x47a5('0x43')],function(_0x5eae8d){var _0x1da268={};_0x1da268[_0x5eae8d]={'$like':'%'+_0x40b7a5[_0x47a5('0x3f')][_0x47a5('0x4b')]+'%'};return _0x1da268;})});}_0x578983=_[_0x47a5('0x4c')]({},_0x578983,_0x40b7a5[_0x47a5('0x4e')]);return _0x272cd0['getApplications'](_0x578983);}})[_0x47a5('0x21')](function(_0x4c7627){if(_0x4c7627){_0x150cff=_0x4c7627[_0x47a5('0x59')];if(!_0x40b7a5['query'][_0x47a5('0x45')]('nolimit')){_0x578983['limit']=qs[_0x47a5('0x2e')](_0x40b7a5[_0x47a5('0x3f')]['limit']);_0x578983[_0x47a5('0x2d')]=qs[_0x47a5('0x2d')](_0x40b7a5['query'][_0x47a5('0x2d')]);}return _0x272cd0[_0x47a5('0xaf')](_0x578983);}})[_0x47a5('0x21')](function(_0x508622){if(_0x508622){return _0x508622?{'count':_0x150cff,'rows':_0x508622}:null;}})[_0x47a5('0x21')](respondWithResult(_0x28e998,null))[_0x47a5('0x54')](handleError(_0x28e998,null));};exports[_0x47a5('0xb0')]=function(_0x30b0f9,_0x37721c,_0x53cc9e){var _0x5973d4={'raw':![],'where':{}};var _0x2678cb={};var _0x56808d={'count':0x0,'rows':[]};return db[_0x47a5('0x39')][_0x47a5('0x6b')]({'where':{'id':_0x30b0f9['params']['id']}})['then'](handleEntityNotFound(_0x37721c,null))[_0x47a5('0x21')](function(_0x4997bc){if(_0x4997bc){_0x2678cb[_0x47a5('0x3d')]=_[_0x47a5('0x40')](db[_0x47a5('0x95')][_0x47a5('0x58')]);_0x2678cb[_0x47a5('0x3f')]=_[_0x47a5('0x40')](_0x30b0f9[_0x47a5('0x3f')]);_0x2678cb['filters']=_[_0x47a5('0x42')](_0x2678cb['model'],_0x2678cb[_0x47a5('0x3f')]);_0x5973d4[_0x47a5('0x43')]=_[_0x47a5('0x42')](_0x2678cb[_0x47a5('0x3d')],qs[_0x47a5('0x44')](_0x30b0f9[_0x47a5('0x3f')][_0x47a5('0x44')]));_0x5973d4[_0x47a5('0x43')]=_0x5973d4[_0x47a5('0x43')][_0x47a5('0x59')]?_0x5973d4[_0x47a5('0x43')]:_0x2678cb[_0x47a5('0x3d')];if(!_0x30b0f9['query'][_0x47a5('0x45')](_0x47a5('0x46'))){_0x5973d4[_0x47a5('0x2e')]=qs['limit'](_0x30b0f9[_0x47a5('0x3f')][_0x47a5('0x2e')]);_0x5973d4[_0x47a5('0x2d')]=qs[_0x47a5('0x2d')](_0x30b0f9[_0x47a5('0x3f')][_0x47a5('0x2d')]);}_0x5973d4['order']=qs[_0x47a5('0x48')](_0x30b0f9[_0x47a5('0x3f')][_0x47a5('0x48')]);_0x5973d4[_0x47a5('0x49')]=qs[_0x47a5('0x41')](_[_0x47a5('0x4a')](_0x30b0f9[_0x47a5('0x3f')],_0x2678cb[_0x47a5('0x41')]));_0x5973d4[_0x47a5('0x49')][_0x47a5('0x64')]=_0x4997bc['id'];if(_0x30b0f9['query']['filter']){_0x5973d4[_0x47a5('0x49')]=_[_0x47a5('0x4c')](_0x5973d4[_0x47a5('0x49')],{'$or':_['map'](_0x5973d4[_0x47a5('0x43')],function(_0x50b7fc){var _0x522345={};_0x522345[_0x50b7fc]={'$like':'%'+_0x30b0f9[_0x47a5('0x3f')][_0x47a5('0x4b')]+'%'};return _0x522345;})});}_0x5973d4=_[_0x47a5('0x4c')]({},_0x5973d4,_0x30b0f9[_0x47a5('0x4e')]);return db['SmsInteraction'][_0x47a5('0x4f')]({'where':_0x5973d4[_0x47a5('0x49')]})['then'](function(_0x59ba59){_0x56808d['count']=_0x59ba59;if(_0x30b0f9[_0x47a5('0x3f')][_0x47a5('0x50')]){_0x5973d4[_0x47a5('0x51')]=[{'model':db[_0x47a5('0x72')],'as':_0x47a5('0xb1'),'required':![]},{'model':db['User'],'as':'Owner','attributes':[_0x47a5('0x35'),_0x47a5('0xb2'),_0x47a5('0xb3')],'required':![]},{'model':db[_0x47a5('0xb4')],'as':'Tags','attributes':['id',_0x47a5('0x35'),_0x47a5('0xb5')],'where':_0x30b0f9[_0x47a5('0x3f')][_0x47a5('0xb6')]?{'id':_0x30b0f9['query']['tag']}:undefined,'required':_0x30b0f9['query'][_0x47a5('0xb6')]?!![]:![]}];}return db[_0x47a5('0x95')][_0x47a5('0x52')](_0x5973d4);})[_0x47a5('0x21')](function(_0x242006){_0x56808d[_0x47a5('0x53')]=_0x242006;return _0x56808d;});}})[_0x47a5('0x21')](respondWithFilteredResult(_0x37721c,_0x5973d4))[_0x47a5('0x54')](handleError(_0x37721c,null));};exports[_0x47a5('0x36')]=function(_0x5b48d0,_0x40fe75,_0x7b5348){var _0x50b482,_0x34ff37,_0x2bbf95;if(_[_0x47a5('0x8c')](_0x5b48d0[_0x47a5('0x61')]['body'])||_0x5b48d0[_0x47a5('0x61')][_0x47a5('0x61')]===''){throw new db[(_0x47a5('0x1e'))]['ValidationError']('body\x20is\x20mandatory\x20and\x20not\x20empty');}if(_[_0x47a5('0x8c')](_0x5b48d0['body']['to'])){throw new db[(_0x47a5('0x1e'))]['ValidationError'](_0x47a5('0xb7'));}_0x50b482=_0x5b48d0[_0x47a5('0x61')]['to'];return db[_0x47a5('0x39')][_0x47a5('0x5a')]({'where':{'id':_0x5b48d0[_0x47a5('0x56')]['id']},'include':[{'model':db['CmList'],'as':'List','include':[{'model':db[_0x47a5('0x72')],'as':_0x47a5('0x93'),'where':{'mobile':_0x50b482},'limit':0x1,'order':[[_0x47a5('0x76'),_0x47a5('0xb8')]]}]}]})['then'](handleEntityNotFound(_0x40fe75,null))['then'](function(_0x3222e4){if(_0x3222e4&&_0x3222e4['List']){_0x34ff37=_0x3222e4[_0x47a5('0x32')]({'plain':!![]});if(_0x34ff37['List']&&_0x34ff37[_0x47a5('0xb9')]['Contacts'][_0x47a5('0x59')]){return _0x34ff37[_0x47a5('0xb9')][_0x47a5('0x93')][0x0];}return db[_0x47a5('0x72')][_0x47a5('0x5b')](_[_0x47a5('0x16')](_0x5b48d0[_0x47a5('0x61')],{'firstName':_0x50b482,'mobile':_0x50b482,'phone':_0x50b482,'ListId':_0x34ff37[_0x47a5('0x77')]}));}})['then'](handleEntityNotFound(_0x40fe75,null))[_0x47a5('0x21')](function(_0x4394f0){if(_0x4394f0){_0x2bbf95=_0x4394f0;return db['SmsInteraction'][_0x47a5('0x5a')]({'where':{'ContactId':_0x2bbf95['id'],'closed':![],'SmsAccountId':_0x34ff37['id']}})[_0x47a5('0x21')](function(_0x54f283){if(_0x54f283){return[_0x54f283,![]];}return db['SmsInteraction'][_0x47a5('0x5b')]({'UserId':_0x5b48d0['user']['id'],'ContactId':_0x2bbf95['id'],'SmsAccountId':_0x34ff37['id'],'phone':_0x50b482,'firstMsgDirection':_0x47a5('0xba'),'Messages':[_[_0x47a5('0x4c')](_0x5b48d0[_0x47a5('0x61')],{'read':![],'body':_0x5b48d0['body'][_0x47a5('0x61')],'phone':_0x50b482,'SmsAccountId':_0x34ff37['id'],'UserId':_0x5b48d0[_0x47a5('0x5c')]['id'],'ContactId':_0x2bbf95['id']})]},{'include':[{'model':db[_0x47a5('0x9a')],'as':_0x47a5('0xbb')}]})[_0x47a5('0x21')](function(_0x454609){return[_0x454609,!![]];});});}})[_0x47a5('0xbc')](function(_0x5c4301,_0x2bc0d8){if(_0x2bc0d8){return _0x5c4301;}return db[_0x47a5('0x9a')][_0x47a5('0x5b')](_[_0x47a5('0x4c')](_0x5b48d0[_0x47a5('0x61')],{'read':![],'body':_0x5b48d0[_0x47a5('0x61')][_0x47a5('0x61')],'phone':_0x50b482,'SmsAccountId':_0x34ff37['id'],'SmsInteractionId':_0x5c4301['id'],'UserId':_0x5b48d0['user']['id'],'ContactId':_0x2bbf95['id']}))['then'](function(_0x11d87b){_0x5c4301[_0x47a5('0xbd')][_0x47a5('0xbb')]=[];_0x5c4301['dataValues']['Messages'][_0x47a5('0xbe')](_0x11d87b[_0x47a5('0xbd')]);return _0x5c4301;});})[_0x47a5('0x21')](respondWithResult(_0x40fe75,null))[_0x47a5('0x54')](handleError(_0x40fe75,null));};exports[_0x47a5('0x2a')]=function(_0x4121c1,_0x2e0add,_0x58e85b){if(_0x4121c1[_0x47a5('0x61')]['id']){delete _0x4121c1[_0x47a5('0x61')]['id'];}console[_0x47a5('0xbf')]('endpoint\x20/status\x20POST\x20/',_0x4121c1[_0x47a5('0x61')]);var _0x611b40,_0x144bc9,_0x278b42;return db[_0x47a5('0x39')][_0x47a5('0x5a')]({'where':{'id':_0x4121c1[_0x47a5('0x56')]['id']}})[_0x47a5('0x21')](handleEntityNotFound(_0x2e0add,null))[_0x47a5('0x21')](function(_0x9ced85){if(_0x9ced85){_0x278b42=_0x9ced85;logger[_0x47a5('0xa6')](_0x47a5('0x25'),_0x47a5('0x2a'),'received\x20delivery\x20report\x20from',_0x9ced85[_0x47a5('0x3b')],util['inspect'](_0x4121c1[_0x47a5('0x61')],{'showHidden':![],'depth':null}));switch(_0x9ced85['type']){case _0x47a5('0x7b'):if(_0x4121c1[_0x47a5('0x61')][_0x47a5('0xc0')]&&_0x4121c1['body'][_0x47a5('0x2a')]){_0x144bc9=_0x4121c1['body'][_0x47a5('0x2a')];return db[_0x47a5('0x9a')][_0x47a5('0x5a')]({'where':{'messageId':_0x4121c1[_0x47a5('0x61')]['skebby_dispatch_id']}});}break;case _0x47a5('0x7d'):if(_0x4121c1['body']['requestid']&&_0x4121c1[_0x47a5('0x61')][_0x47a5('0xc1')]){_0x144bc9=_0x4121c1[_0x47a5('0x61')][_0x47a5('0xc1')];return db[_0x47a5('0x9a')][_0x47a5('0x5a')]({'where':{'messageId':_0x4121c1[_0x47a5('0x61')][_0x47a5('0xc2')]}});}break;case _0x47a5('0xc3'):if(_0x4121c1['body']['message_id']&&_0x4121c1[_0x47a5('0x61')][_0x47a5('0xc4')]){_0x144bc9=_0x4121c1[_0x47a5('0x61')][_0x47a5('0xc4')];return db[_0x47a5('0x9a')]['find']({'where':{'messageId':_0x4121c1[_0x47a5('0x61')][_0x47a5('0x7e')]}});}break;case _0x47a5('0x82'):var _0x50ff41=_0x4121c1['body'][_0x47a5('0x83')][0x0];if(_0x50ff41[_0x47a5('0x7a')]&&_0x50ff41['status'][_0x47a5('0xc5')]===_0x47a5('0xc6')){_0x144bc9=_0x50ff41[_0x47a5('0x2a')]['groupName'];return db[_0x47a5('0x9a')][_0x47a5('0x5a')]({'where':{'messageId':_0x50ff41[_0x47a5('0x7a')]}});}break;case _0x47a5('0x87'):if(_0x4121c1[_0x47a5('0x61')]['messageId']&&_0x4121c1[_0x47a5('0x61')][_0x47a5('0x2a')]){_0x144bc9=_0x4121c1[_0x47a5('0x61')][_0x47a5('0x2a')];return db['SmsMessage']['find']({'where':{'messageId':_0x4121c1[_0x47a5('0x61')]['messageId']}});}break;case _0x47a5('0x8b'):if(_0x4121c1[_0x47a5('0x61')][_0x47a5('0xc7')]&&_0x4121c1[_0x47a5('0x61')][_0x47a5('0x2a')]){_0x144bc9=_0x4121c1[_0x47a5('0x61')]['status'];return db[_0x47a5('0x9a')][_0x47a5('0x5a')]({'where':{'messageId':_0x4121c1[_0x47a5('0x61')]['redif']}});}break;}}})['then'](handleEntityNotFound(_0x2e0add,null))[_0x47a5('0x21')](function(_0x4ebe30){if(_0x4ebe30){_0x611b40=_0x4ebe30;switch(_0x278b42[_0x47a5('0x3b')]){case _0x47a5('0x7b'):if(_0x144bc9===_0x47a5('0xc6')){return _0x611b40[_0x47a5('0x30')]({'read':!![]});}else{logger[_0x47a5('0x26')]('SmsAccount,\x20%s,\x20%s,\x20%s','status',_0x47a5('0x7b'),util[_0x47a5('0xc8')](_0x4121c1[_0x47a5('0x61')],{'showHidden':![],'depth':null}));}break;case _0x47a5('0x7d'):if(_0x144bc9==='1'){return _0x611b40[_0x47a5('0x30')]({'read':!![]});}else{logger['error'](_0x47a5('0x25'),_0x47a5('0x2a'),_0x47a5('0x7b'),util[_0x47a5('0xc8')](_0x4121c1[_0x47a5('0x61')],{'showHidden':![],'depth':null}));}break;case'clicksend':if(!_0x4121c1[_0x47a5('0x61')][_0x47a5('0xc9')]&&_0x144bc9>=0xc8&&_0x144bc9<=0xce){return _0x611b40[_0x47a5('0x30')]({'read':!![]});}else{logger[_0x47a5('0x26')](_0x47a5('0x25'),_0x47a5('0x2a'),_0x47a5('0xc3'),util[_0x47a5('0xc8')](_0x4121c1[_0x47a5('0x61')],{'showHidden':![],'depth':null}));}break;case _0x47a5('0x82'):var _0x2cc493=_0x4121c1['body'][_0x47a5('0x83')][0x0];if(_0x2cc493[_0x47a5('0x2a')][_0x47a5('0xc5')]===_0x47a5('0xc6')){return _0x611b40['update']({'read':!![]});}else{logger['error']('SmsAccount,\x20%s,\x20%s,\x20%s',_0x47a5('0x2a'),'infobip',util[_0x47a5('0xc8')](_0x4121c1[_0x47a5('0x61')],{'showHidden':![],'depth':null}));}break;case'clickatell':if(_0x144bc9==_0x47a5('0xca')||_0x144bc9==_0x47a5('0xcb')){return _0x611b40[_0x47a5('0x30')]({'read':!![]});}else{logger['error'](_0x47a5('0x25'),'status',_0x47a5('0x87'),util[_0x47a5('0xc8')](_0x4121c1[_0x47a5('0x61')],{'showHidden':![],'depth':null}));}break;case _0x47a5('0x8b'):if(_0x144bc9===_0x47a5('0xcc')||_0x144bc9===_0x47a5('0xcd')){return _0x611b40['update']({'read':!![]});}else{logger['error']('SmsAccount,\x20%s,\x20%s,\x20%s',_0x47a5('0x2a'),_0x47a5('0x8b'),util[_0x47a5('0xc8')](_0x4121c1[_0x47a5('0x61')],{'showHidden':![],'depth':null}));}break;}return _0x611b40;}})[_0x47a5('0x21')](respondWithResult(_0x2e0add,null))[_0x47a5('0x54')](handleError(_0x2e0add,null));};exports[_0x47a5('0xce')]=function(_0x138b92,_0x232c36,_0x25954e){var _0x277061,_0x3917e0,_0x1c7695;return db[_0x47a5('0x39')][_0x47a5('0x5a')]({'where':{'id':_0x138b92[_0x47a5('0x56')]['id']}})['then'](handleEntityNotFound(_0x232c36,null))[_0x47a5('0x21')](function(_0x46b82a){if(_0x46b82a){_0x1c7695=_0x46b82a;logger[_0x47a5('0xa6')](_0x47a5('0x25'),_0x47a5('0x2a'),_0x47a5('0xcf'),_0x46b82a[_0x47a5('0x3b')],util[_0x47a5('0xc8')](_0x138b92['query'],{'showHidden':![],'depth':null}));switch(_0x46b82a[_0x47a5('0x3b')]){case'csc':if(_0x138b92[_0x47a5('0x3f')][_0x47a5('0xd0')]&&_0x138b92['query'][_0x47a5('0xd1')]){_0x3917e0=_0x138b92['query'][_0x47a5('0xd1')];return db[_0x47a5('0x9a')][_0x47a5('0x5a')]({'where':{'messageId':_0x138b92[_0x47a5('0x3f')][_0x47a5('0xd0')]}});}break;}}})['then'](handleEntityNotFound(_0x232c36,null))[_0x47a5('0x21')](function(_0x9a2f87){if(_0x9a2f87){_0x277061=_0x9a2f87;switch(_0x1c7695[_0x47a5('0x3b')]){case'csc':if(_0x3917e0==='2'||_0x3917e0==='6'){return _0x277061['update']({'read':!![]});}else{logger[_0x47a5('0x26')](_0x47a5('0x25'),_0x47a5('0x2a'),'csc',util[_0x47a5('0xc8')](_0x138b92[_0x47a5('0x3f')],{'showHidden':![],'depth':null}));};break;}return _0x277061;}})[_0x47a5('0x21')](respondWithResult(_0x232c36,null))['catch'](handleError(_0x232c36,null));};exports[_0x47a5('0xd2')]=function(_0x3136f9,_0x3ecc43,_0xf4b1df){return db['SmsAccount'][_0x47a5('0x5a')]({'where':{'id':_0x3136f9['params']['id']}})[_0x47a5('0x21')](handleEntityNotFound(_0x3ecc43,null))[_0x47a5('0x21')](function(_0xdc5eac){if(_0xdc5eac){return _0xdc5eac[_0x47a5('0xd2')](_0x3136f9['body'][_0x47a5('0x68')],_[_0x47a5('0xd3')](_0x3136f9[_0x47a5('0x61')],[_0x47a5('0x68'),'id'])||{})[_0x47a5('0xbc')](function(_0x4c2b0c){for(var _0xbe3a38=0x0;_0xbe3a38<_0x3136f9[_0x47a5('0x61')][_0x47a5('0x68')][_0x47a5('0x59')];_0xbe3a38+=0x1){socket[_0x47a5('0xd4')](_0x47a5('0xd5'),{'UserId':_0x3136f9['body'][_0x47a5('0x68')][_0xbe3a38],'SmsAccountId':_0x3136f9[_0x47a5('0x56')]['id']});}return _0x4c2b0c;});}})['then'](respondWithResult(_0x3ecc43,null))['catch'](handleError(_0x3ecc43,null));};exports[_0x47a5('0xd6')]=function(_0x32d299,_0x20d99b,_0x3964f8){return db[_0x47a5('0x39')][_0x47a5('0x5a')]({'where':{'id':_0x32d299['params']['id']}})['then'](handleEntityNotFound(_0x20d99b,null))[_0x47a5('0x21')](function(_0xa3a516){if(_0xa3a516){return _0xa3a516['removeAgents'](_0x32d299[_0x47a5('0x3f')][_0x47a5('0x68')])['then'](function(){if(_[_0x47a5('0xd7')](_0x32d299['query']['ids'])){for(var _0x4aeaff=0x0;_0x4aeaff<_0x32d299[_0x47a5('0x3f')][_0x47a5('0x68')][_0x47a5('0x59')];_0x4aeaff+=0x1){socket['emit'](_0x47a5('0xd8'),{'UserId':Number(_0x32d299['query'][_0x47a5('0x68')][_0x4aeaff]),'SmsAccountId':Number(_0x32d299['params']['id'])});}}else{socket[_0x47a5('0xd4')](_0x47a5('0xd8'),{'UserId':Number(_0x32d299[_0x47a5('0x3f')][_0x47a5('0x68')]),'SmsAccountId':Number(_0x32d299[_0x47a5('0x56')]['id'])});}});}})[_0x47a5('0x21')](respondWithStatusCode(_0x20d99b,null))[_0x47a5('0x54')](handleError(_0x20d99b,null));};exports[_0x47a5('0xd9')]=function(_0x1396c2,_0x5c9091,_0x4f1e24){var _0x24c88e={};var _0xa859a={};var _0x5270cc;var _0x2a0f45;return db[_0x47a5('0x39')][_0x47a5('0x6b')]({'where':{'id':_0x1396c2[_0x47a5('0x56')]['id']}})[_0x47a5('0x21')](handleEntityNotFound(_0x5c9091,null))[_0x47a5('0x21')](function(_0x969d4b){if(_0x969d4b){_0x5270cc=_0x969d4b;_0xa859a[_0x47a5('0x3d')]=_[_0x47a5('0x40')](db[_0x47a5('0x9d')]['rawAttributes']);_0xa859a['query']=_['keys'](_0x1396c2['query']);_0xa859a[_0x47a5('0x41')]=_['intersection'](_0xa859a[_0x47a5('0x3d')],_0xa859a[_0x47a5('0x3f')]);_0x24c88e['attributes']=_[_0x47a5('0x42')](_0xa859a[_0x47a5('0x3d')],qs[_0x47a5('0x44')](_0x1396c2[_0x47a5('0x3f')][_0x47a5('0x44')]));_0x24c88e[_0x47a5('0x43')]=_0x24c88e['attributes'][_0x47a5('0x59')]?_0x24c88e[_0x47a5('0x43')]:_0xa859a['model'];_0x24c88e[_0x47a5('0x47')]=qs['sort'](_0x1396c2[_0x47a5('0x3f')][_0x47a5('0x48')]);_0x24c88e[_0x47a5('0x49')]=qs[_0x47a5('0x41')](_[_0x47a5('0x4a')](_0x1396c2[_0x47a5('0x3f')],_0xa859a[_0x47a5('0x41')]));if(_0x1396c2['query'][_0x47a5('0x4b')]){_0x24c88e[_0x47a5('0x49')]=_['merge'](_0x24c88e[_0x47a5('0x49')],{'$or':_[_0x47a5('0x3e')](_0x24c88e['attributes'],function(_0x14c968){var _0x5a7920={};_0x5a7920[_0x14c968]={'$like':'%'+_0x1396c2[_0x47a5('0x3f')][_0x47a5('0x4b')]+'%'};return _0x5a7920;})});}_0x24c88e=_[_0x47a5('0x4c')]({},_0x24c88e,_0x1396c2[_0x47a5('0x4e')]);return _0x5270cc[_0x47a5('0xd9')](_0x24c88e);}})['then'](function(_0x4b8b65){if(_0x4b8b65){_0x2a0f45=_0x4b8b65[_0x47a5('0x59')];if(!_0x1396c2['query']['hasOwnProperty']('nolimit')){_0x24c88e[_0x47a5('0x2e')]=qs['limit'](_0x1396c2[_0x47a5('0x3f')][_0x47a5('0x2e')]);_0x24c88e[_0x47a5('0x2d')]=qs['offset'](_0x1396c2['query'][_0x47a5('0x2d')]);}return _0x5270cc['getAgents'](_0x24c88e);}})['then'](function(_0xe87e6e){if(_0xe87e6e){return _0xe87e6e?{'count':_0x2a0f45,'rows':_0xe87e6e}:null;}})['then'](respondWithResult(_0x5c9091,null))['catch'](handleError(_0x5c9091,null));}; \ No newline at end of file +var _0x9957=['show','params','fields','length','find','create','body','user','get','Unable\x20to\x20retrieve\x20the\x20current\x20user','userProfileId','autoAssociation','UserProfileResource','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','update','describe','addDisposition','SmsAccountId','Disposition','getDispositions','findOne','nolimit','sort','pick','rows','removeDispositions','CannedAnswer','getAnswers','removeAnswers','ids','notify','sms','account','applications','orderBy','Applications','asc','CmContact','Sequelize','no\x20available\x20attributes','difference','createdAt','CompanyId','ListId','mobile','twilio','from','Body','messageId','MessageSid','skebby','sender','text','connectel','clicksend','message_id','plivo','MessageUUID','infobip','results','csc','originatingAddress','segmentedMessage','clickatell','fromNumber','refid','isNil','from\x20is\x20mandatory','body\x20is\x20mandatory\x20and\x20not\x20empty','mapKey\x20is\x20mandatory,\x20please\x20use\x20one\x20of\x20these:\x20','mapKey','mapKey\x20invalid,\x20please\x20use\x20one\x20of\x20these:\x20','CmList','Contacts','updatedAt','list','omit','contact','SmsInteraction','spread','interaction','autoclose','push','close','unmanaged','*,*,*,*','created','SmsMessage','ContactId','AttachmentId','UserId','User','unshift','agent','waitForTheAssignedAgent','Start','startRouting','receiveMessage','debug','entity\x20found','stringify','Content-Type','text/xml','addApplications','sequelize','transaction','SmsApplication','bulkCreate','findAndCountAll','priority','getApplications','getInteractions','Contact','Owner','fullname','internal','Tag','Tags','tag','to\x20is\x20mandatory','List','DESC','dataValues','Messages','log','endpoint\x20/status\x20POST\x20/','received\x20delivery\x20report\x20from','inspect','skebby_dispatch_id','statusInt','requestid','status_code','groupName','intelepeer','DELIVERED','error_code','DELIVERED_TO_GATEWAY','RECEIVED_BY_RECIPIENT','DELIVRD','ACCEPTD','message-id','state','addAgents','emit','removeAgents','userSmsAccount:remove','getAgents','html-pdf','eml-format','rimraf','zip-dir','request-promise','moment','bluebird','mustache','path','sox','to-csv','ejs','lodash','squel','jsforce','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','api','../../config/utils','../../mysqldb','redis','defaults','localhost','socket.io-emitter','jayson/promise','client','http','test','ValidationError','then','SmsAccount,\x20%s,\x20%s','request\x20sent','SmsAccount,\x20%s,\x20%s,\x20%s','error','code','message','result','catch','sendStatus','status','end','json','count','offset','set','apply','save','destroy','SmsAccounts','stack','name','send','index','Pause','mandatoryDispositionPause','map','SmsAccount','rawAttributes','fieldName','type','key','model','query','keys','intersection','attributes','hasOwnProperty','limit','order','where','filters','filter','merge','VIRTUAL','options','includeAll','include','findAll'];(function(_0x445024,_0x36dca6){var _0x5ab19a=function(_0x598957){while(--_0x598957){_0x445024['push'](_0x445024['shift']());}};_0x5ab19a(++_0x36dca6);}(_0x9957,0x93));var _0x7995=function(_0x6131cd,_0x4c26a1){_0x6131cd=_0x6131cd-0x0;var _0x47e916=_0x9957[_0x6131cd];return _0x47e916;};'use strict';var pdf=require(_0x7995('0x0'));var emlformat=require(_0x7995('0x1'));var rimraf=require(_0x7995('0x2'));var zipdir=require(_0x7995('0x3'));var jsonpatch=require('fast-json-patch');var rp=require(_0x7995('0x4'));var moment=require(_0x7995('0x5'));var BPromise=require(_0x7995('0x6'));var Mustache=require(_0x7995('0x7'));var util=require('util');var path=require(_0x7995('0x8'));var sox=require(_0x7995('0x9'));var csv=require(_0x7995('0xa'));var ejs=require(_0x7995('0xb'));var fs=require('fs');var _=require(_0x7995('0xc'));var squel=require(_0x7995('0xd'));var crypto=require('crypto');var jsforce=require(_0x7995('0xe'));var deskjs=require(_0x7995('0xf'));var toCsv=require('to-csv');var querystring=require(_0x7995('0x10'));var Papa=require(_0x7995('0x11'));var Redis=require(_0x7995('0x12'));var authService=require(_0x7995('0x13'));var qs=require(_0x7995('0x14'));var as=require(_0x7995('0x15'));var hardwareService=require(_0x7995('0x16'));var logger=require('../../config/logger')(_0x7995('0x17'));var utils=require(_0x7995('0x18'));var config=require('../../config/environment');var db=require(_0x7995('0x19'))['db'];config[_0x7995('0x1a')]=_[_0x7995('0x1b')](config[_0x7995('0x1a')],{'host':_0x7995('0x1c'),'port':0x18eb});var socket=require(_0x7995('0x1d'))(new Redis(config[_0x7995('0x1a')]));require('./smsAccount.socket')['register'](socket);var jayson=require(_0x7995('0x1e'));var client=jayson[_0x7995('0x1f')][_0x7995('0x20')]({'port':0x232c});function checkPasswordPattern(_0x321ae8,_0x3f1d3e,_0x1a5310){if(_0x1a5310){var _0x2202ce=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0x2202ce[_0x7995('0x21')](_0x3f1d3e)){return _0x321ae8;}else{throw new db['Sequelize'][(_0x7995('0x22'))]('The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.');}}else{return _0x321ae8;}}function respondWithRpcPromise(_0x2f832e,_0x37f297,_0x43d4b8,_0x291317){return new BPromise(function(_0x1e1415,_0x37a7d4){var _0x4faa60=_0x291317||client;return _0x4faa60['request'](_0x2f832e,_0x43d4b8)[_0x7995('0x23')](function(_0x5e6f90){logger['info'](_0x7995('0x24'),_0x37f297,_0x7995('0x25'));logger['debug'](_0x7995('0x26'),_0x37f297,'request\x20sent',JSON['stringify'](_0x5e6f90));if(_0x5e6f90[_0x7995('0x27')]){if(_0x5e6f90[_0x7995('0x27')][_0x7995('0x28')]===0x1f4){logger[_0x7995('0x27')](_0x7995('0x24'),_0x37f297,_0x5e6f90[_0x7995('0x27')]['message']);return _0x37a7d4(_0x5e6f90[_0x7995('0x27')][_0x7995('0x29')]);}logger[_0x7995('0x27')](_0x7995('0x24'),_0x37f297,_0x5e6f90[_0x7995('0x27')][_0x7995('0x29')]);return _0x1e1415(_0x5e6f90[_0x7995('0x27')][_0x7995('0x29')]);}else{logger['info'](_0x7995('0x24'),_0x37f297,_0x7995('0x25'));_0x1e1415(_0x5e6f90[_0x7995('0x2a')][_0x7995('0x29')]);}})[_0x7995('0x2b')](function(_0x2a307e){logger['error'](_0x7995('0x24'),_0x37f297,_0x2a307e);_0x37a7d4(_0x2a307e);});});}function respondWithStatusCode(_0x5911c3,_0x229742){_0x229742=_0x229742||0xcc;return function(_0x49bc7e){if(_0x49bc7e){return _0x5911c3[_0x7995('0x2c')](_0x229742);}return _0x5911c3[_0x7995('0x2d')](_0x229742)[_0x7995('0x2e')]();};}function respondWithResult(_0x4b6f99,_0x9b2a15){_0x9b2a15=_0x9b2a15||0xc8;return function(_0x514445){if(_0x514445){return _0x4b6f99[_0x7995('0x2d')](_0x9b2a15)[_0x7995('0x2f')](_0x514445);}};}function respondWithFilteredResult(_0x4253e5,_0x574574){return function(_0x530611){if(_0x530611){var _0x48e573=_0x530611[_0x7995('0x30')],_0x3573be=_0x574574[_0x7995('0x31')],_0xe6b0b3=_0x574574[_0x7995('0x31')]+_0x574574['limit'],_0x327a81;if(_0xe6b0b3>=_0x48e573){_0xe6b0b3=_0x48e573;_0x327a81=0xc8;}else{_0x327a81=0xce;}_0x4253e5['status'](_0x327a81);return _0x4253e5[_0x7995('0x32')]('Content-Range',_0x3573be+'-'+_0xe6b0b3+'/'+_0x48e573)[_0x7995('0x2f')](_0x530611);}return null;};}function patchUpdates(_0x3eb566){return function(_0x29fac5){try{jsonpatch[_0x7995('0x33')](_0x29fac5,_0x3eb566,!![]);}catch(_0x1f7d27){return BPromise['reject'](_0x1f7d27);}return _0x29fac5[_0x7995('0x34')]();};}function saveUpdates(_0x33e24e,_0x5dd802){return function(_0x48db25){if(_0x48db25){return _0x48db25['update'](_0x33e24e)[_0x7995('0x23')](function(_0x3acfc3){return _0x3acfc3;});}return null;};}function removeEntity(_0x4a176f,_0x3e7020){return function(_0x51b95d){if(_0x51b95d){return _0x51b95d[_0x7995('0x35')]()[_0x7995('0x23')](function(){var _0x177cb4=_0x51b95d['get']({'plain':!![]});var _0x52d76d=_0x7995('0x36');return db['UserProfileResource']['destroy']({'where':{'type':_0x52d76d,'resourceId':_0x177cb4['id']}})[_0x7995('0x23')](function(){return _0x51b95d;});})[_0x7995('0x23')](function(){_0x4a176f['status'](0xcc)[_0x7995('0x2e')]();});}};}function handleEntityNotFound(_0x1922b4,_0x2b772f){return function(_0x18667c){if(!_0x18667c){_0x1922b4[_0x7995('0x2c')](0x194);}return _0x18667c;};}function handleError(_0x53002a,_0x2d4285){_0x2d4285=_0x2d4285||0x1f4;return function(_0x242713){logger[_0x7995('0x27')](_0x242713[_0x7995('0x37')]);if(_0x242713['name']){delete _0x242713[_0x7995('0x38')];}_0x53002a[_0x7995('0x2d')](_0x2d4285)[_0x7995('0x39')](_0x242713);};}exports[_0x7995('0x3a')]=function(_0x1f5bee,_0x1035dc){var _0x5688a1={'include':[{'model':db[_0x7995('0x3b')],'as':_0x7995('0x3c')}]},_0x183a68={},_0x3be298={'count':0x0,'rows':[]};var _0x2e04cd=_[_0x7995('0x3d')](db[_0x7995('0x3e')][_0x7995('0x3f')],function(_0x1234e1){return{'name':_0x1234e1[_0x7995('0x40')],'type':_0x1234e1[_0x7995('0x41')][_0x7995('0x42')]};});_0x183a68[_0x7995('0x43')]=_['map'](_0x2e04cd,'name');_0x183a68[_0x7995('0x44')]=_[_0x7995('0x45')](_0x1f5bee['query']);_0x183a68['filters']=_[_0x7995('0x46')](_0x183a68['model'],_0x183a68['query']);_0x5688a1[_0x7995('0x47')]=_[_0x7995('0x46')](_0x183a68[_0x7995('0x43')],qs['fields'](_0x1f5bee[_0x7995('0x44')]['fields']));_0x5688a1[_0x7995('0x47')]=_0x5688a1['attributes']['length']?_0x5688a1[_0x7995('0x47')]:_0x183a68[_0x7995('0x43')];if(!_0x1f5bee[_0x7995('0x44')][_0x7995('0x48')]('nolimit')){_0x5688a1[_0x7995('0x49')]=qs[_0x7995('0x49')](_0x1f5bee[_0x7995('0x44')][_0x7995('0x49')]);_0x5688a1['offset']=qs['offset'](_0x1f5bee[_0x7995('0x44')]['offset']);}_0x5688a1[_0x7995('0x4a')]=qs['sort'](_0x1f5bee[_0x7995('0x44')]['sort']);_0x5688a1[_0x7995('0x4b')]=qs[_0x7995('0x4c')](_['pick'](_0x1f5bee[_0x7995('0x44')],_0x183a68[_0x7995('0x4c')]),_0x2e04cd);if(_0x1f5bee[_0x7995('0x44')][_0x7995('0x4d')]){_0x5688a1['where']=_[_0x7995('0x4e')](_0x5688a1[_0x7995('0x4b')],{'$or':_[_0x7995('0x3d')](_0x2e04cd,function(_0x491184){if(_0x491184[_0x7995('0x41')]!==_0x7995('0x4f')){var _0x511567={};_0x511567[_0x491184[_0x7995('0x38')]]={'$like':'%'+_0x1f5bee[_0x7995('0x44')]['filter']+'%'};return _0x511567;}})});}_0x5688a1=_[_0x7995('0x4e')]({},_0x5688a1,_0x1f5bee[_0x7995('0x50')]);var _0x5921b9={'where':_0x5688a1[_0x7995('0x4b')]};return db['SmsAccount'][_0x7995('0x30')](_0x5921b9)[_0x7995('0x23')](function(_0x1afab4){_0x3be298[_0x7995('0x30')]=_0x1afab4;if(_0x1f5bee[_0x7995('0x44')][_0x7995('0x51')]){_0x5688a1[_0x7995('0x52')]=[{'all':!![]}];}return db['SmsAccount'][_0x7995('0x53')](_0x5688a1);})[_0x7995('0x23')](function(_0x418eb9){_0x3be298['rows']=_0x418eb9;return _0x3be298;})[_0x7995('0x23')](respondWithFilteredResult(_0x1035dc,_0x5688a1))[_0x7995('0x2b')](handleError(_0x1035dc,null));};exports[_0x7995('0x54')]=function(_0x47d1d8,_0x4ec548){var _0x5a592e={'raw':![],'where':{'id':_0x47d1d8[_0x7995('0x55')]['id']},'include':[{'model':db['Pause'],'as':_0x7995('0x3c')}]},_0xb70620={};_0xb70620[_0x7995('0x43')]=_[_0x7995('0x45')](db[_0x7995('0x3e')][_0x7995('0x3f')]);_0xb70620['query']=_[_0x7995('0x45')](_0x47d1d8['query']);_0xb70620[_0x7995('0x4c')]=_[_0x7995('0x46')](_0xb70620[_0x7995('0x43')],_0xb70620['query']);_0x5a592e['attributes']=_['intersection'](_0xb70620['model'],qs[_0x7995('0x56')](_0x47d1d8[_0x7995('0x44')][_0x7995('0x56')]));_0x5a592e[_0x7995('0x47')]=_0x5a592e[_0x7995('0x47')][_0x7995('0x57')]?_0x5a592e[_0x7995('0x47')]:_0xb70620[_0x7995('0x43')];if(_0x47d1d8[_0x7995('0x44')][_0x7995('0x51')]){_0x5a592e[_0x7995('0x52')]=[{'all':!![]}];}_0x5a592e=_[_0x7995('0x4e')]({},_0x5a592e,_0x47d1d8[_0x7995('0x50')]);return db[_0x7995('0x3e')][_0x7995('0x58')](_0x5a592e)[_0x7995('0x23')](handleEntityNotFound(_0x4ec548,null))[_0x7995('0x23')](respondWithResult(_0x4ec548,null))[_0x7995('0x2b')](handleError(_0x4ec548,null));};exports[_0x7995('0x59')]=function(_0x50b7c2,_0x56a374){return db[_0x7995('0x3e')][_0x7995('0x59')](_0x50b7c2[_0x7995('0x5a')],{})['then'](function(_0x53125a){var _0x402fa0=_0x50b7c2[_0x7995('0x5b')][_0x7995('0x5c')]({'plain':!![]});if(!_0x402fa0)throw new Error(_0x7995('0x5d'));if(_0x402fa0['role']===_0x7995('0x5b')){var _0x74ff38=_0x53125a[_0x7995('0x5c')]({'plain':!![]});var _0x33c49c='SmsAccounts';return db['UserProfileSection'][_0x7995('0x58')]({'where':{'name':_0x33c49c,'userProfileId':_0x402fa0[_0x7995('0x5e')]},'raw':!![]})[_0x7995('0x23')](function(_0x1d69ce){if(_0x1d69ce&&_0x1d69ce[_0x7995('0x5f')]===0x0){return db[_0x7995('0x60')][_0x7995('0x59')]({'name':_0x74ff38[_0x7995('0x38')],'resourceId':_0x74ff38['id'],'type':_0x1d69ce[_0x7995('0x38')],'sectionId':_0x1d69ce['id']},{})['then'](function(){return _0x53125a;});}else{return _0x53125a;}})[_0x7995('0x2b')](function(_0x3ec5a8){logger[_0x7995('0x27')](_0x7995('0x61'),_0x3ec5a8);throw _0x3ec5a8;});}return _0x53125a;})['then'](respondWithResult(_0x56a374,0xc9))['catch'](handleError(_0x56a374,null));};exports[_0x7995('0x62')]=function(_0xebb5c8,_0x47d5d7){if(_0xebb5c8[_0x7995('0x5a')]['id']){delete _0xebb5c8[_0x7995('0x5a')]['id'];}return db[_0x7995('0x3e')][_0x7995('0x58')]({'where':{'id':_0xebb5c8[_0x7995('0x55')]['id']},'include':[{'model':db['Pause'],'as':_0x7995('0x3c')}]})['then'](handleEntityNotFound(_0x47d5d7,null))[_0x7995('0x23')](saveUpdates(_0xebb5c8[_0x7995('0x5a')],null))[_0x7995('0x23')](respondWithResult(_0x47d5d7,null))[_0x7995('0x2b')](handleError(_0x47d5d7,null));};exports[_0x7995('0x35')]=function(_0xeb8920,_0x2b3c1d){return db[_0x7995('0x3e')][_0x7995('0x58')]({'where':{'id':_0xeb8920[_0x7995('0x55')]['id']}})[_0x7995('0x23')](handleEntityNotFound(_0x2b3c1d,null))[_0x7995('0x23')](removeEntity(_0x2b3c1d,null))['catch'](handleError(_0x2b3c1d,null));};exports[_0x7995('0x63')]=function(_0x23bbc1,_0x293480){return db[_0x7995('0x3e')][_0x7995('0x63')]()['then'](respondWithResult(_0x293480,null))['catch'](handleError(_0x293480,null));};exports[_0x7995('0x64')]=function(_0x87e38d,_0x221542,_0xae6166){if(_0x87e38d['body']['id']){delete _0x87e38d[_0x7995('0x5a')]['id'];}return db['SmsAccount']['find']({'where':{'id':_0x87e38d[_0x7995('0x55')]['id']}})[_0x7995('0x23')](handleEntityNotFound(_0x221542,null))[_0x7995('0x23')](function(_0x44bf2b){if(_0x44bf2b){_0x87e38d[_0x7995('0x5a')][_0x7995('0x65')]=_0x44bf2b['id'];return db[_0x7995('0x66')][_0x7995('0x59')](_0x87e38d[_0x7995('0x5a')]);}})[_0x7995('0x23')](respondWithResult(_0x221542,null))['catch'](handleError(_0x221542,null));};exports[_0x7995('0x67')]=function(_0x8908cd,_0x3c5802,_0x4cc247){var _0x1fe1cb={'raw':![],'where':{}};var _0x1d2f9d={};var _0x705f0={'count':0x0,'rows':[]};return db[_0x7995('0x3e')][_0x7995('0x68')]({'where':{'id':_0x8908cd[_0x7995('0x55')]['id']}})[_0x7995('0x23')](handleEntityNotFound(_0x3c5802,null))[_0x7995('0x23')](function(_0x2f94c4){if(_0x2f94c4){_0x1d2f9d[_0x7995('0x43')]=_[_0x7995('0x45')](db['Disposition']['rawAttributes']);_0x1d2f9d[_0x7995('0x44')]=_[_0x7995('0x45')](_0x8908cd[_0x7995('0x44')]);_0x1d2f9d[_0x7995('0x4c')]=_['intersection'](_0x1d2f9d[_0x7995('0x43')],_0x1d2f9d[_0x7995('0x44')]);_0x1fe1cb['attributes']=_['intersection'](_0x1d2f9d[_0x7995('0x43')],qs[_0x7995('0x56')](_0x8908cd['query'][_0x7995('0x56')]));_0x1fe1cb['attributes']=_0x1fe1cb[_0x7995('0x47')][_0x7995('0x57')]?_0x1fe1cb['attributes']:_0x1d2f9d['model'];if(!_0x8908cd[_0x7995('0x44')]['hasOwnProperty'](_0x7995('0x69'))){_0x1fe1cb[_0x7995('0x49')]=qs[_0x7995('0x49')](_0x8908cd[_0x7995('0x44')][_0x7995('0x49')]);_0x1fe1cb[_0x7995('0x31')]=qs[_0x7995('0x31')](_0x8908cd[_0x7995('0x44')][_0x7995('0x31')]);}_0x1fe1cb[_0x7995('0x4a')]=qs[_0x7995('0x6a')](_0x8908cd[_0x7995('0x44')][_0x7995('0x6a')]);_0x1fe1cb[_0x7995('0x4b')]=qs[_0x7995('0x4c')](_[_0x7995('0x6b')](_0x8908cd[_0x7995('0x44')],_0x1d2f9d[_0x7995('0x4c')]));_0x1fe1cb[_0x7995('0x4b')][_0x7995('0x65')]=_0x2f94c4['id'];if(_0x8908cd[_0x7995('0x44')][_0x7995('0x4d')]){_0x1fe1cb[_0x7995('0x4b')]=_[_0x7995('0x4e')](_0x1fe1cb[_0x7995('0x4b')],{'$or':_[_0x7995('0x3d')](_0x1fe1cb[_0x7995('0x47')],function(_0x34724d){var _0x59efff={};_0x59efff[_0x34724d]={'$like':'%'+_0x8908cd[_0x7995('0x44')][_0x7995('0x4d')]+'%'};return _0x59efff;})});}_0x1fe1cb=_['merge']({},_0x1fe1cb,_0x8908cd['options']);return db[_0x7995('0x66')][_0x7995('0x30')]({'where':_0x1fe1cb[_0x7995('0x4b')]})[_0x7995('0x23')](function(_0xe1ce4){_0x705f0[_0x7995('0x30')]=_0xe1ce4;if(_0x8908cd['query'][_0x7995('0x51')]){_0x1fe1cb[_0x7995('0x52')]=[{'all':!![]}];}return db[_0x7995('0x66')][_0x7995('0x53')](_0x1fe1cb);})[_0x7995('0x23')](function(_0x3f0bff){_0x705f0[_0x7995('0x6c')]=_0x3f0bff;return _0x705f0;});}})[_0x7995('0x23')](respondWithFilteredResult(_0x3c5802,_0x1fe1cb))['catch'](handleError(_0x3c5802,null));};exports[_0x7995('0x6d')]=function(_0x2b8217,_0x5c04c9,_0x479271){return db[_0x7995('0x3e')][_0x7995('0x58')]({'where':{'id':_0x2b8217[_0x7995('0x55')]['id']}})[_0x7995('0x23')](handleEntityNotFound(_0x5c04c9,null))[_0x7995('0x23')](function(_0x4a02ea){if(_0x4a02ea){return _0x4a02ea[_0x7995('0x6d')](_0x2b8217[_0x7995('0x44')]['ids']);}})[_0x7995('0x23')](respondWithStatusCode(_0x5c04c9,null))[_0x7995('0x2b')](handleError(_0x5c04c9,null));};exports['addAnswer']=function(_0x1535a3,_0x4a5bc5,_0x135191){if(_0x1535a3[_0x7995('0x5a')]['id']){delete _0x1535a3[_0x7995('0x5a')]['id'];}return db[_0x7995('0x3e')][_0x7995('0x58')]({'where':{'id':_0x1535a3['params']['id']}})[_0x7995('0x23')](handleEntityNotFound(_0x4a5bc5,null))[_0x7995('0x23')](function(_0x38b37f){if(_0x38b37f){_0x1535a3['body'][_0x7995('0x65')]=_0x38b37f['id'];return db[_0x7995('0x6e')][_0x7995('0x59')](_0x1535a3[_0x7995('0x5a')]);}})['then'](respondWithResult(_0x4a5bc5,null))[_0x7995('0x2b')](handleError(_0x4a5bc5,null));};exports[_0x7995('0x6f')]=function(_0x3a5f5e,_0x4aafa3,_0x5358d4){var _0x3fc10={'raw':![],'where':{}};var _0x333379={};var _0x4800a8={'count':0x0,'rows':[]};return db['SmsAccount'][_0x7995('0x68')]({'where':{'id':_0x3a5f5e[_0x7995('0x55')]['id']}})[_0x7995('0x23')](handleEntityNotFound(_0x4aafa3,null))[_0x7995('0x23')](function(_0x2ba606){if(_0x2ba606){_0x333379['model']=_['keys'](db[_0x7995('0x6e')]['rawAttributes']);_0x333379['query']=_[_0x7995('0x45')](_0x3a5f5e[_0x7995('0x44')]);_0x333379[_0x7995('0x4c')]=_['intersection'](_0x333379[_0x7995('0x43')],_0x333379[_0x7995('0x44')]);_0x3fc10[_0x7995('0x47')]=_[_0x7995('0x46')](_0x333379[_0x7995('0x43')],qs['fields'](_0x3a5f5e[_0x7995('0x44')][_0x7995('0x56')]));_0x3fc10[_0x7995('0x47')]=_0x3fc10[_0x7995('0x47')]['length']?_0x3fc10[_0x7995('0x47')]:_0x333379[_0x7995('0x43')];if(!_0x3a5f5e['query'][_0x7995('0x48')](_0x7995('0x69'))){_0x3fc10['limit']=qs[_0x7995('0x49')](_0x3a5f5e['query'][_0x7995('0x49')]);_0x3fc10['offset']=qs[_0x7995('0x31')](_0x3a5f5e['query'][_0x7995('0x31')]);}_0x3fc10[_0x7995('0x4a')]=qs['sort'](_0x3a5f5e[_0x7995('0x44')]['sort']);_0x3fc10['where']=qs[_0x7995('0x4c')](_[_0x7995('0x6b')](_0x3a5f5e[_0x7995('0x44')],_0x333379[_0x7995('0x4c')]));_0x3fc10['where'][_0x7995('0x65')]=_0x2ba606['id'];if(_0x3a5f5e[_0x7995('0x44')]['filter']){_0x3fc10['where']=_[_0x7995('0x4e')](_0x3fc10['where'],{'$or':_[_0x7995('0x3d')](_0x3fc10[_0x7995('0x47')],function(_0xfb4479){var _0x5b42be={};_0x5b42be[_0xfb4479]={'$like':'%'+_0x3a5f5e['query'][_0x7995('0x4d')]+'%'};return _0x5b42be;})});}_0x3fc10=_['merge']({},_0x3fc10,_0x3a5f5e[_0x7995('0x50')]);return db[_0x7995('0x6e')][_0x7995('0x30')]({'where':_0x3fc10[_0x7995('0x4b')]})['then'](function(_0x52d102){_0x4800a8['count']=_0x52d102;if(_0x3a5f5e[_0x7995('0x44')][_0x7995('0x51')]){_0x3fc10[_0x7995('0x52')]=[{'all':!![]}];}return db[_0x7995('0x6e')][_0x7995('0x53')](_0x3fc10);})[_0x7995('0x23')](function(_0x59a793){_0x4800a8['rows']=_0x59a793;return _0x4800a8;});}})[_0x7995('0x23')](respondWithFilteredResult(_0x4aafa3,_0x3fc10))['catch'](handleError(_0x4aafa3,null));};exports['removeAnswers']=function(_0x17d00f,_0x5e95c0,_0x57a164){return db[_0x7995('0x3e')][_0x7995('0x58')]({'where':{'id':_0x17d00f[_0x7995('0x55')]['id']}})['then'](handleEntityNotFound(_0x5e95c0,null))[_0x7995('0x23')](function(_0xf604d9){if(_0xf604d9){return _0xf604d9[_0x7995('0x70')](_0x17d00f[_0x7995('0x44')][_0x7995('0x71')]);}})[_0x7995('0x23')](respondWithStatusCode(_0x5e95c0,null))[_0x7995('0x2b')](handleError(_0x5e95c0,null));};exports[_0x7995('0x72')]=function(_0x19d746,_0x570b71,_0x3eb3fa){var _0x87a539={'channel':_0x7995('0x73')};var _0x2056da=[];var _0x2a01d4=[];var _0x5a4695={};return db[_0x7995('0x3e')][_0x7995('0x58')]({'where':{'id':_0x19d746[_0x7995('0x55')]['id']},'include':[{'model':db['SmsApplication'],'as':'Applications'}]})['then'](handleEntityNotFound(_0x570b71,null))[_0x7995('0x23')](function(_0x17f7d6){_0x87a539[_0x7995('0x74')]=_0x17f7d6;_0x87a539[_0x7995('0x75')]=_[_0x7995('0x76')](_0x17f7d6[_0x7995('0x77')],['priority'],[_0x7995('0x78')]);if(_0x87a539['account'][_0x7995('0x77')]){delete _0x87a539[_0x7995('0x74')][_0x7995('0x77')];}return db[_0x7995('0x79')][_0x7995('0x63')]();})[_0x7995('0x23')](function(_0x4f929b){if(!_0x4f929b){throw new db[(_0x7995('0x7a'))][(_0x7995('0x22'))](_0x7995('0x7b'));}_0x2056da=_[_0x7995('0x7c')](_['keys'](_0x4f929b),[_0x7995('0x7d'),'updatedAt']);_0x2a01d4=_[_0x7995('0x7c')](_[_0x7995('0x45')](_0x4f929b),['createdAt','updatedAt',_0x7995('0x7e'),_0x7995('0x7f')]);_0x87a539[_0x7995('0x5a')]={'mapKey':_0x7995('0x80')};if(_0x87a539[_0x7995('0x74')][_0x7995('0x41')]){switch(_0x87a539[_0x7995('0x74')][_0x7995('0x41')]){case _0x7995('0x81'):_0x87a539[_0x7995('0x5a')][_0x7995('0x82')]=_0x19d746[_0x7995('0x5a')]['From'];_0x87a539['body'][_0x7995('0x5a')]=_0x19d746[_0x7995('0x5a')][_0x7995('0x83')];_0x87a539[_0x7995('0x5a')][_0x7995('0x84')]=_0x19d746['body'][_0x7995('0x85')];break;case _0x7995('0x86'):_0x87a539['body'][_0x7995('0x82')]='+'+_0x19d746['body'][_0x7995('0x87')];_0x87a539[_0x7995('0x5a')][_0x7995('0x5a')]=_0x19d746['body'][_0x7995('0x88')];break;case _0x7995('0x89'):_0x87a539[_0x7995('0x5a')][_0x7995('0x82')]=_0x19d746[_0x7995('0x5a')][_0x7995('0x82')];_0x87a539[_0x7995('0x5a')]['body']=_0x19d746['body']['message'];break;case _0x7995('0x8a'):_0x87a539[_0x7995('0x5a')]['from']=_0x19d746['body'][_0x7995('0x82')];_0x87a539[_0x7995('0x5a')]['body']=_0x19d746['body']['body'];_0x87a539['body'][_0x7995('0x84')]=_0x19d746[_0x7995('0x5a')][_0x7995('0x8b')];break;case _0x7995('0x8c'):_0x87a539['body'][_0x7995('0x82')]=_0x19d746[_0x7995('0x5a')]['From'];_0x87a539[_0x7995('0x5a')][_0x7995('0x5a')]=_0x19d746[_0x7995('0x5a')]['Text'];_0x87a539[_0x7995('0x5a')][_0x7995('0x84')]=_0x19d746['body'][_0x7995('0x8d')];break;case _0x7995('0x8e'):_0x87a539[_0x7995('0x5a')][_0x7995('0x82')]='+'+_0x19d746[_0x7995('0x5a')][_0x7995('0x8f')][0x0][_0x7995('0x82')];_0x87a539[_0x7995('0x5a')][_0x7995('0x5a')]=_0x19d746[_0x7995('0x5a')][_0x7995('0x8f')][0x0][_0x7995('0x88')];_0x87a539[_0x7995('0x5a')]['messageId']=_0x19d746[_0x7995('0x5a')][_0x7995('0x8f')][0x0][_0x7995('0x84')];break;case _0x7995('0x90'):_0x87a539['body'][_0x7995('0x82')]=_0x19d746[_0x7995('0x5a')][_0x7995('0x91')];_0x87a539['body'][_0x7995('0x5a')]=_0x19d746[_0x7995('0x5a')][_0x7995('0x92')][_0x7995('0x29')];break;case _0x7995('0x93'):_0x87a539[_0x7995('0x5a')][_0x7995('0x82')]=_0x19d746['body'][_0x7995('0x94')];_0x87a539['body'][_0x7995('0x5a')]=_0x19d746[_0x7995('0x5a')][_0x7995('0x88')];_0x87a539['body'][_0x7995('0x84')]=_0x19d746['body']['replyMessageId'];break;case'intelepeer':_0x87a539['body'][_0x7995('0x82')]=_0x19d746[_0x7995('0x5a')]['from'];_0x87a539[_0x7995('0x5a')][_0x7995('0x5a')]=_0x19d746['body'][_0x7995('0x29')];_0x87a539[_0x7995('0x5a')][_0x7995('0x84')]=_0x19d746[_0x7995('0x5a')][_0x7995('0x95')];break;}}if(_0x87a539['body']['id']){delete _0x87a539[_0x7995('0x5a')]['id'];}if(_[_0x7995('0x96')](_0x87a539[_0x7995('0x5a')][_0x7995('0x82')])){throw new db['Sequelize'][(_0x7995('0x22'))](_0x7995('0x97'));}if(_[_0x7995('0x96')](_0x87a539[_0x7995('0x5a')][_0x7995('0x5a')])||_0x87a539[_0x7995('0x5a')][_0x7995('0x5a')]===''){throw new db[(_0x7995('0x7a'))][(_0x7995('0x22'))](_0x7995('0x98'));}if(_['isNil'](_0x87a539[_0x7995('0x5a')]['mapKey'])){throw new db[(_0x7995('0x7a'))][(_0x7995('0x22'))](_0x7995('0x99')+_0x2a01d4);}if(!_['includes'](_0x2a01d4,_0x87a539['body'][_0x7995('0x9a')])){throw new db[(_0x7995('0x7a'))]['ValidationError'](_0x7995('0x9b')+_0x2a01d4);}_0x5a4695[_0x87a539['body'][_0x7995('0x9a')]]=_0x87a539[_0x7995('0x5a')][_0x7995('0x82')];return db[_0x7995('0x9c')]['find']({'where':{'id':_0x87a539['account'][_0x7995('0x7f')]},'include':[{'model':db[_0x7995('0x79')],'as':_0x7995('0x9d'),'where':_0x5a4695,'limit':0x1,'order':[[_0x7995('0x9e'),'DESC']]}]});})[_0x7995('0x23')](handleEntityNotFound(_0x570b71,null))[_0x7995('0x23')](function(_0x8b820b){if(_0x8b820b){_0x87a539[_0x7995('0x9f')]=_[_0x7995('0xa0')](_0x8b820b,['Contacts']);if(_0x8b820b['Contacts']['length']){return _0x8b820b[_0x7995('0x9d')][0x0];}var _0x24a3cf=_['defaults'](_0x87a539[_0x7995('0x5a')],{'firstName':_0x87a539['body'][_0x7995('0x82')],'ListId':_0x8b820b['id']});_0x24a3cf[_0x87a539[_0x7995('0x5a')][_0x7995('0x9a')]]=_0x87a539[_0x7995('0x5a')]['from'];return db[_0x7995('0x79')][_0x7995('0x59')](_0x24a3cf,{'fields':_0x2056da,'raw':!![]});}})[_0x7995('0x23')](handleEntityNotFound(_0x570b71,null))[_0x7995('0x23')](function(_0x2023a7){if(_0x2023a7){_0x87a539[_0x7995('0xa1')]=_0x2023a7;var _0x1d200d={'ContactId':_0x2023a7['id'],'phone':_0x87a539[_0x7995('0x5a')][_0x7995('0x82')],'SmsAccountId':_0x19d746[_0x7995('0x55')]['id']};var _0x30893a={'ContactId':_0x2023a7['id'],'SmsAccountId':_0x19d746[_0x7995('0x55')]['id'],'closed':![]};return db[_0x7995('0xa2')][_0x7995('0x58')]({'where':_0x30893a})['then'](function(_0x764245){if(_0x764245){return[_0x764245,![]];}return db['SmsInteraction'][_0x7995('0x59')](_0x1d200d)[_0x7995('0x23')](function(_0x5cf7b2){return[_0x5cf7b2,!![]];});});}})[_0x7995('0xa3')](function(_0x55dc6c,_0x17c3f9){_0x87a539[_0x7995('0xa4')]=_0x55dc6c['get']({'plain':!![]});_0x87a539['interaction']['created']=![];if(_0x17c3f9){if(_0x87a539[_0x7995('0x74')][_0x7995('0xa5')]){_0x87a539[_0x7995('0x75')][_0x7995('0xa6')]({'id':0x0,'priority':_0x87a539['applications'][_0x7995('0x57')]+0x1,'app':_0x7995('0xa7'),'appdata':_0x7995('0xa8'),'interval':_0x7995('0xa9')});}_0x87a539[_0x7995('0xa4')][_0x7995('0xaa')]=!![];}return db[_0x7995('0xab')][_0x7995('0x59')]({'phone':_0x87a539['body'][_0x7995('0x82')],'messageId':_0x87a539[_0x7995('0x5a')][_0x7995('0x84')],'body':_0x87a539[_0x7995('0x5a')]['body'],'SmsAccountId':_0x19d746[_0x7995('0x55')]['id'],'SmsInteractionId':_0x55dc6c['id'],'direction':'in','ContactId':_0x55dc6c[_0x7995('0xac')],'AttachmentId':_0x87a539[_0x7995('0x5a')][_0x7995('0xad')]});})[_0x7995('0x23')](function(_0x2e7416){_0x87a539['message']=_0x2e7416;if(_0x87a539[_0x7995('0xa4')][_0x7995('0xae')]){return db[_0x7995('0xaf')][_0x7995('0x58')]({'attributes':['id',_0x7995('0x38')],'where':{'id':_0x87a539[_0x7995('0xa4')][_0x7995('0xae')]}})[_0x7995('0x23')](function(_0xf76f46){if(_0xf76f46){_0x87a539[_0x7995('0x75')][_0x7995('0xb0')]({'id':0x0,'priority':0x0,'app':_0x7995('0xb1'),'appdata':_0xf76f46[_0x7995('0x38')]+','+(_0x87a539[_0x7995('0x74')][_0x7995('0xb2')]||0xa),'interval':_0x7995('0xa9')});}return respondWithRpcPromise(_0x7995('0xb3'),_0x7995('0xb4'),_0x87a539);});}return respondWithRpcPromise(_0x7995('0xb3'),_0x7995('0xb4'),_0x87a539);})[_0x7995('0x23')](function(_0x51f854){if(_0x51f854){var _0x4cf7f1=0xc8;var _0x1a980b=_0x7995('0xb5');logger['info'](_0x7995('0x26'),_0x1a980b,_0x4cf7f1,'entity\x20found');logger[_0x7995('0xb6')]('SmsAccount,\x20%s,\x20%s,\x20%s,\x20%s',_0x1a980b,_0x4cf7f1,_0x7995('0xb7'),JSON[_0x7995('0xb8')](_0x51f854));if(_0x87a539[_0x7995('0x74')][_0x7995('0x41')]===_0x7995('0x81')){return _0x570b71[_0x7995('0x2d')](_0x4cf7f1)[_0x7995('0x32')](_0x7995('0xb9'),_0x7995('0xba'))[_0x7995('0x39')]('\x0a');}else{return _0x570b71[_0x7995('0x2d')](_0x4cf7f1)[_0x7995('0x2f')](_0x51f854);}}})[_0x7995('0x2b')](handleError(_0x570b71,null));};exports[_0x7995('0xbb')]=function(_0x54b803,_0x408c22,_0x1d2afe){return db[_0x7995('0x3e')][_0x7995('0x68')]({'where':{'id':_0x54b803['params']['id']}})[_0x7995('0x23')](handleEntityNotFound(_0x408c22,null))[_0x7995('0x23')](function(_0x31d0e9){if(_0x31d0e9){return db[_0x7995('0xbc')][_0x7995('0xbd')](function(_0x13dda4){return db[_0x7995('0xbe')][_0x7995('0x35')]({'where':{'SmsAccountId':_0x54b803[_0x7995('0x55')]['id']},'transaction':_0x13dda4})['then'](function(_0x3c81cc){var _0x5f5496=_[_0x7995('0x3d')](_0x54b803[_0x7995('0x5a')],function(_0x35b217){_0x35b217[_0x7995('0x65')]=_0x54b803['params']['id'];return _0x35b217;});return db[_0x7995('0xbe')][_0x7995('0xbf')](_0x5f5496,{'transaction':_0x13dda4});});})[_0x7995('0x23')](function(){return db[_0x7995('0xbe')][_0x7995('0xc0')]({'where':{'SmsAccountId':_0x54b803[_0x7995('0x55')]['id']},'order':_0x7995('0xc1')});});}})[_0x7995('0x23')](respondWithResult(_0x408c22,null))[_0x7995('0x2b')](handleError(_0x408c22,null));};exports[_0x7995('0xc2')]=function(_0x45f389,_0x44d6a8,_0x7d14e2){var _0x405711={};var _0x54e341={};var _0x5cb30e;var _0xdfc11d;return db[_0x7995('0x3e')][_0x7995('0x68')]({'where':{'id':_0x45f389['params']['id']}})[_0x7995('0x23')](handleEntityNotFound(_0x44d6a8,null))[_0x7995('0x23')](function(_0x610b81){if(_0x610b81){_0x5cb30e=_0x610b81;_0x54e341['model']=_[_0x7995('0x45')](db[_0x7995('0xbe')][_0x7995('0x3f')]);_0x54e341[_0x7995('0x44')]=_[_0x7995('0x45')](_0x45f389[_0x7995('0x44')]);_0x54e341[_0x7995('0x4c')]=_[_0x7995('0x46')](_0x54e341[_0x7995('0x43')],_0x54e341[_0x7995('0x44')]);_0x405711[_0x7995('0x47')]=_['intersection'](_0x54e341['model'],qs[_0x7995('0x56')](_0x45f389['query'][_0x7995('0x56')]));_0x405711[_0x7995('0x47')]=_0x405711[_0x7995('0x47')][_0x7995('0x57')]?_0x405711[_0x7995('0x47')]:_0x54e341['model'];_0x405711['order']=qs[_0x7995('0x6a')](_0x45f389[_0x7995('0x44')][_0x7995('0x6a')]);_0x405711[_0x7995('0x4b')]=qs[_0x7995('0x4c')](_[_0x7995('0x6b')](_0x45f389[_0x7995('0x44')],_0x54e341[_0x7995('0x4c')]));if(_0x45f389[_0x7995('0x44')][_0x7995('0x4d')]){_0x405711['where']=_[_0x7995('0x4e')](_0x405711[_0x7995('0x4b')],{'$or':_[_0x7995('0x3d')](_0x405711[_0x7995('0x47')],function(_0x511cf8){var _0x4d6da0={};_0x4d6da0[_0x511cf8]={'$like':'%'+_0x45f389['query']['filter']+'%'};return _0x4d6da0;})});}_0x405711=_['merge']({},_0x405711,_0x45f389[_0x7995('0x50')]);return _0x5cb30e['getApplications'](_0x405711);}})['then'](function(_0x32f19d){if(_0x32f19d){_0xdfc11d=_0x32f19d[_0x7995('0x57')];if(!_0x45f389[_0x7995('0x44')]['hasOwnProperty'](_0x7995('0x69'))){_0x405711['limit']=qs[_0x7995('0x49')](_0x45f389[_0x7995('0x44')][_0x7995('0x49')]);_0x405711['offset']=qs[_0x7995('0x31')](_0x45f389[_0x7995('0x44')][_0x7995('0x31')]);}return _0x5cb30e['getApplications'](_0x405711);}})[_0x7995('0x23')](function(_0x15cfd3){if(_0x15cfd3){return _0x15cfd3?{'count':_0xdfc11d,'rows':_0x15cfd3}:null;}})[_0x7995('0x23')](respondWithResult(_0x44d6a8,null))[_0x7995('0x2b')](handleError(_0x44d6a8,null));};exports[_0x7995('0xc3')]=function(_0x574e2a,_0x1761e1,_0x2a4991){var _0xc8bbb4={'raw':![],'where':{}};var _0x484b6c={};var _0x20852c={'count':0x0,'rows':[]};return db[_0x7995('0x3e')][_0x7995('0x68')]({'where':{'id':_0x574e2a[_0x7995('0x55')]['id']}})[_0x7995('0x23')](handleEntityNotFound(_0x1761e1,null))['then'](function(_0x2995a3){if(_0x2995a3){_0x484b6c[_0x7995('0x43')]=_[_0x7995('0x45')](db[_0x7995('0xa2')][_0x7995('0x3f')]);_0x484b6c[_0x7995('0x44')]=_[_0x7995('0x45')](_0x574e2a['query']);_0x484b6c['filters']=_[_0x7995('0x46')](_0x484b6c[_0x7995('0x43')],_0x484b6c['query']);_0xc8bbb4['attributes']=_[_0x7995('0x46')](_0x484b6c[_0x7995('0x43')],qs[_0x7995('0x56')](_0x574e2a[_0x7995('0x44')][_0x7995('0x56')]));_0xc8bbb4[_0x7995('0x47')]=_0xc8bbb4[_0x7995('0x47')]['length']?_0xc8bbb4[_0x7995('0x47')]:_0x484b6c[_0x7995('0x43')];if(!_0x574e2a[_0x7995('0x44')][_0x7995('0x48')](_0x7995('0x69'))){_0xc8bbb4[_0x7995('0x49')]=qs['limit'](_0x574e2a[_0x7995('0x44')][_0x7995('0x49')]);_0xc8bbb4[_0x7995('0x31')]=qs[_0x7995('0x31')](_0x574e2a[_0x7995('0x44')][_0x7995('0x31')]);}_0xc8bbb4[_0x7995('0x4a')]=qs['sort'](_0x574e2a[_0x7995('0x44')][_0x7995('0x6a')]);_0xc8bbb4[_0x7995('0x4b')]=qs[_0x7995('0x4c')](_['pick'](_0x574e2a[_0x7995('0x44')],_0x484b6c['filters']));_0xc8bbb4[_0x7995('0x4b')][_0x7995('0x65')]=_0x2995a3['id'];if(_0x574e2a['query']['filter']){_0xc8bbb4['where']=_[_0x7995('0x4e')](_0xc8bbb4[_0x7995('0x4b')],{'$or':_[_0x7995('0x3d')](_0xc8bbb4[_0x7995('0x47')],function(_0x503b32){var _0x2da21e={};_0x2da21e[_0x503b32]={'$like':'%'+_0x574e2a[_0x7995('0x44')][_0x7995('0x4d')]+'%'};return _0x2da21e;})});}_0xc8bbb4=_[_0x7995('0x4e')]({},_0xc8bbb4,_0x574e2a[_0x7995('0x50')]);return db[_0x7995('0xa2')][_0x7995('0x30')]({'where':_0xc8bbb4['where']})['then'](function(_0x2695eb){_0x20852c['count']=_0x2695eb;if(_0x574e2a['query'][_0x7995('0x51')]){_0xc8bbb4[_0x7995('0x52')]=[{'model':db[_0x7995('0x79')],'as':_0x7995('0xc4'),'required':![]},{'model':db[_0x7995('0xaf')],'as':_0x7995('0xc5'),'attributes':[_0x7995('0x38'),_0x7995('0xc6'),_0x7995('0xc7')],'required':![]},{'model':db[_0x7995('0xc8')],'as':_0x7995('0xc9'),'attributes':['id',_0x7995('0x38'),'color'],'where':_0x574e2a[_0x7995('0x44')][_0x7995('0xca')]?{'id':_0x574e2a[_0x7995('0x44')][_0x7995('0xca')]}:undefined,'required':_0x574e2a[_0x7995('0x44')][_0x7995('0xca')]?!![]:![]}];}return db[_0x7995('0xa2')]['findAll'](_0xc8bbb4);})[_0x7995('0x23')](function(_0x234832){_0x20852c[_0x7995('0x6c')]=_0x234832;return _0x20852c;});}})[_0x7995('0x23')](respondWithFilteredResult(_0x1761e1,_0xc8bbb4))[_0x7995('0x2b')](handleError(_0x1761e1,null));};exports['send']=function(_0x2d1c14,_0x5e7fde,_0x156b65){var _0x12f4c5,_0x221be8,_0x5150aa;if(_[_0x7995('0x96')](_0x2d1c14[_0x7995('0x5a')][_0x7995('0x5a')])||_0x2d1c14[_0x7995('0x5a')][_0x7995('0x5a')]===''){throw new db[(_0x7995('0x7a'))][(_0x7995('0x22'))]('body\x20is\x20mandatory\x20and\x20not\x20empty');}if(_['isNil'](_0x2d1c14[_0x7995('0x5a')]['to'])){throw new db[(_0x7995('0x7a'))][(_0x7995('0x22'))](_0x7995('0xcb'));}_0x12f4c5=_0x2d1c14[_0x7995('0x5a')]['to'];return db[_0x7995('0x3e')]['find']({'where':{'id':_0x2d1c14[_0x7995('0x55')]['id']},'include':[{'model':db[_0x7995('0x9c')],'as':_0x7995('0xcc'),'include':[{'model':db[_0x7995('0x79')],'as':'Contacts','where':{'mobile':_0x12f4c5},'limit':0x1,'order':[['updatedAt',_0x7995('0xcd')]]}]}]})[_0x7995('0x23')](handleEntityNotFound(_0x5e7fde,null))['then'](function(_0x3130f2){if(_0x3130f2&&_0x3130f2[_0x7995('0xcc')]){_0x221be8=_0x3130f2['get']({'plain':!![]});if(_0x221be8[_0x7995('0xcc')]&&_0x221be8[_0x7995('0xcc')][_0x7995('0x9d')][_0x7995('0x57')]){return _0x221be8[_0x7995('0xcc')]['Contacts'][0x0];}return db['CmContact'][_0x7995('0x59')](_[_0x7995('0x1b')](_0x2d1c14[_0x7995('0x5a')],{'firstName':_0x12f4c5,'mobile':_0x12f4c5,'phone':_0x12f4c5,'ListId':_0x221be8[_0x7995('0x7f')]}));}})[_0x7995('0x23')](handleEntityNotFound(_0x5e7fde,null))['then'](function(_0xd0da6e){if(_0xd0da6e){_0x5150aa=_0xd0da6e;return db[_0x7995('0xa2')][_0x7995('0x58')]({'where':{'ContactId':_0x5150aa['id'],'closed':![],'SmsAccountId':_0x221be8['id']}})[_0x7995('0x23')](function(_0x1949f5){if(_0x1949f5){return[_0x1949f5,![]];}return db['SmsInteraction']['create']({'UserId':_0x2d1c14['user']['id'],'ContactId':_0x5150aa['id'],'SmsAccountId':_0x221be8['id'],'phone':_0x12f4c5,'firstMsgDirection':'out','Messages':[_[_0x7995('0x4e')](_0x2d1c14[_0x7995('0x5a')],{'read':![],'body':_0x2d1c14['body'][_0x7995('0x5a')],'phone':_0x12f4c5,'SmsAccountId':_0x221be8['id'],'UserId':_0x2d1c14[_0x7995('0x5b')]['id'],'ContactId':_0x5150aa['id']})]},{'include':[{'model':db['SmsMessage'],'as':'Messages'}]})[_0x7995('0x23')](function(_0x3ee80c){return[_0x3ee80c,!![]];});});}})[_0x7995('0xa3')](function(_0x8bd55,_0x20a056){if(_0x20a056){return _0x8bd55;}return db[_0x7995('0xab')][_0x7995('0x59')](_['merge'](_0x2d1c14['body'],{'read':![],'body':_0x2d1c14[_0x7995('0x5a')][_0x7995('0x5a')],'phone':_0x12f4c5,'SmsAccountId':_0x221be8['id'],'SmsInteractionId':_0x8bd55['id'],'UserId':_0x2d1c14[_0x7995('0x5b')]['id'],'ContactId':_0x5150aa['id']}))['then'](function(_0x2f96fd){_0x8bd55[_0x7995('0xce')][_0x7995('0xcf')]=[];_0x8bd55[_0x7995('0xce')][_0x7995('0xcf')][_0x7995('0xa6')](_0x2f96fd[_0x7995('0xce')]);return _0x8bd55;});})[_0x7995('0x23')](respondWithResult(_0x5e7fde,null))[_0x7995('0x2b')](handleError(_0x5e7fde,null));};exports['status']=function(_0x5136f5,_0x1161f2,_0x4bd222){if(_0x5136f5[_0x7995('0x5a')]['id']){delete _0x5136f5['body']['id'];}console[_0x7995('0xd0')](_0x7995('0xd1'),_0x5136f5[_0x7995('0x5a')]);var _0x4a75d2,_0x4c810d,_0x1401b4;return db[_0x7995('0x3e')][_0x7995('0x58')]({'where':{'id':_0x5136f5[_0x7995('0x55')]['id']}})[_0x7995('0x23')](handleEntityNotFound(_0x1161f2,null))[_0x7995('0x23')](function(_0xb0164a){if(_0xb0164a){_0x1401b4=_0xb0164a;logger[_0x7995('0xb6')](_0x7995('0x26'),_0x7995('0x2d'),_0x7995('0xd2'),_0xb0164a['type'],util[_0x7995('0xd3')](_0x5136f5[_0x7995('0x5a')],{'showHidden':![],'depth':null}));switch(_0xb0164a[_0x7995('0x41')]){case _0x7995('0x86'):if(_0x5136f5[_0x7995('0x5a')]['skebby_dispatch_id']&&_0x5136f5[_0x7995('0x5a')][_0x7995('0x2d')]){_0x4c810d=_0x5136f5[_0x7995('0x5a')][_0x7995('0x2d')];return db[_0x7995('0xab')][_0x7995('0x58')]({'where':{'messageId':_0x5136f5[_0x7995('0x5a')][_0x7995('0xd4')]}});}break;case _0x7995('0x89'):if(_0x5136f5['body']['requestid']&&_0x5136f5[_0x7995('0x5a')][_0x7995('0xd5')]){_0x4c810d=_0x5136f5[_0x7995('0x5a')][_0x7995('0xd5')];return db[_0x7995('0xab')]['find']({'where':{'messageId':_0x5136f5[_0x7995('0x5a')][_0x7995('0xd6')]}});}break;case _0x7995('0x8a'):if(_0x5136f5[_0x7995('0x5a')][_0x7995('0x8b')]&&_0x5136f5[_0x7995('0x5a')][_0x7995('0xd7')]){_0x4c810d=_0x5136f5[_0x7995('0x5a')][_0x7995('0xd7')];return db['SmsMessage']['find']({'where':{'messageId':_0x5136f5[_0x7995('0x5a')][_0x7995('0x8b')]}});}break;case _0x7995('0x8e'):var _0x296643=_0x5136f5[_0x7995('0x5a')][_0x7995('0x8f')][0x0];if(_0x296643[_0x7995('0x84')]&&_0x296643[_0x7995('0x2d')]['groupName']==='DELIVERED'){_0x4c810d=_0x296643[_0x7995('0x2d')][_0x7995('0xd8')];return db[_0x7995('0xab')][_0x7995('0x58')]({'where':{'messageId':_0x296643['messageId']}});}break;case'clickatell':if(_0x5136f5[_0x7995('0x5a')][_0x7995('0x84')]&&_0x5136f5[_0x7995('0x5a')][_0x7995('0x2d')]){_0x4c810d=_0x5136f5[_0x7995('0x5a')][_0x7995('0x2d')];return db[_0x7995('0xab')][_0x7995('0x58')]({'where':{'messageId':_0x5136f5[_0x7995('0x5a')][_0x7995('0x84')]}});}break;case _0x7995('0xd9'):if(_0x5136f5[_0x7995('0x5a')]['redif']&&_0x5136f5['body'][_0x7995('0x2d')]){_0x4c810d=_0x5136f5[_0x7995('0x5a')][_0x7995('0x2d')];return db[_0x7995('0xab')]['find']({'where':{'messageId':_0x5136f5[_0x7995('0x5a')]['redif']}});}break;}}})[_0x7995('0x23')](handleEntityNotFound(_0x1161f2,null))[_0x7995('0x23')](function(_0x308d0e){if(_0x308d0e){_0x4a75d2=_0x308d0e;switch(_0x1401b4[_0x7995('0x41')]){case _0x7995('0x86'):if(_0x4c810d===_0x7995('0xda')){return _0x4a75d2['update']({'read':!![]});}else{logger[_0x7995('0x27')](_0x7995('0x26'),_0x7995('0x2d'),_0x7995('0x86'),util['inspect'](_0x5136f5['body'],{'showHidden':![],'depth':null}));}break;case _0x7995('0x89'):if(_0x4c810d==='1'){return _0x4a75d2[_0x7995('0x62')]({'read':!![]});}else{logger[_0x7995('0x27')](_0x7995('0x26'),'status',_0x7995('0x86'),util[_0x7995('0xd3')](_0x5136f5[_0x7995('0x5a')],{'showHidden':![],'depth':null}));}break;case'clicksend':if(!_0x5136f5[_0x7995('0x5a')][_0x7995('0xdb')]&&_0x4c810d>=0xc8&&_0x4c810d<=0xce){return _0x4a75d2[_0x7995('0x62')]({'read':!![]});}else{logger['error'](_0x7995('0x26'),_0x7995('0x2d'),_0x7995('0x8a'),util[_0x7995('0xd3')](_0x5136f5[_0x7995('0x5a')],{'showHidden':![],'depth':null}));}break;case _0x7995('0x8e'):var _0x1f6c3e=_0x5136f5[_0x7995('0x5a')][_0x7995('0x8f')][0x0];if(_0x1f6c3e['status'][_0x7995('0xd8')]===_0x7995('0xda')){return _0x4a75d2[_0x7995('0x62')]({'read':!![]});}else{logger[_0x7995('0x27')]('SmsAccount,\x20%s,\x20%s,\x20%s',_0x7995('0x2d'),_0x7995('0x8e'),util[_0x7995('0xd3')](_0x5136f5[_0x7995('0x5a')],{'showHidden':![],'depth':null}));}break;case'clickatell':if(_0x4c810d==_0x7995('0xdc')||_0x4c810d==_0x7995('0xdd')){return _0x4a75d2[_0x7995('0x62')]({'read':!![]});}else{logger[_0x7995('0x27')](_0x7995('0x26'),_0x7995('0x2d'),_0x7995('0x93'),util['inspect'](_0x5136f5[_0x7995('0x5a')],{'showHidden':![],'depth':null}));}break;case _0x7995('0xd9'):if(_0x4c810d===_0x7995('0xde')||_0x4c810d===_0x7995('0xdf')){return _0x4a75d2[_0x7995('0x62')]({'read':!![]});}else{logger['error'](_0x7995('0x26'),'status',_0x7995('0xd9'),util[_0x7995('0xd3')](_0x5136f5[_0x7995('0x5a')],{'showHidden':![],'depth':null}));}break;}return _0x4a75d2;}})['then'](respondWithResult(_0x1161f2,null))['catch'](handleError(_0x1161f2,null));};exports['statusGet']=function(_0x21ff84,_0x1763aa,_0x32e443){var _0x35b6f9,_0x17fab0,_0x4da0e8;return db['SmsAccount'][_0x7995('0x58')]({'where':{'id':_0x21ff84[_0x7995('0x55')]['id']}})[_0x7995('0x23')](handleEntityNotFound(_0x1763aa,null))[_0x7995('0x23')](function(_0x5bc1b4){if(_0x5bc1b4){_0x4da0e8=_0x5bc1b4;logger[_0x7995('0xb6')](_0x7995('0x26'),'status',_0x7995('0xd2'),_0x5bc1b4['type'],util[_0x7995('0xd3')](_0x21ff84[_0x7995('0x44')],{'showHidden':![],'depth':null}));switch(_0x5bc1b4[_0x7995('0x41')]){case'csc':if(_0x21ff84['query'][_0x7995('0xe0')]&&_0x21ff84[_0x7995('0x44')][_0x7995('0xe1')]){_0x17fab0=_0x21ff84[_0x7995('0x44')][_0x7995('0xe1')];return db[_0x7995('0xab')][_0x7995('0x58')]({'where':{'messageId':_0x21ff84[_0x7995('0x44')][_0x7995('0xe0')]}});}break;}}})[_0x7995('0x23')](handleEntityNotFound(_0x1763aa,null))[_0x7995('0x23')](function(_0x48c9fc){if(_0x48c9fc){_0x35b6f9=_0x48c9fc;switch(_0x4da0e8['type']){case _0x7995('0x90'):if(_0x17fab0==='2'||_0x17fab0==='6'){return _0x35b6f9[_0x7995('0x62')]({'read':!![]});}else{logger[_0x7995('0x27')](_0x7995('0x26'),'status','csc',util[_0x7995('0xd3')](_0x21ff84[_0x7995('0x44')],{'showHidden':![],'depth':null}));};break;}return _0x35b6f9;}})['then'](respondWithResult(_0x1763aa,null))['catch'](handleError(_0x1763aa,null));};exports[_0x7995('0xe2')]=function(_0x469cd6,_0x3ad24,_0x17c27b){return db[_0x7995('0x3e')]['find']({'where':{'id':_0x469cd6[_0x7995('0x55')]['id']}})[_0x7995('0x23')](handleEntityNotFound(_0x3ad24,null))['then'](function(_0xf9859c){if(_0xf9859c){return _0xf9859c[_0x7995('0xe2')](_0x469cd6[_0x7995('0x5a')]['ids'],_[_0x7995('0xa0')](_0x469cd6[_0x7995('0x5a')],[_0x7995('0x71'),'id'])||{})[_0x7995('0xa3')](function(_0x113e03){for(var _0x5348b1=0x0;_0x5348b1<_0x469cd6['body'][_0x7995('0x71')]['length'];_0x5348b1+=0x1){socket[_0x7995('0xe3')]('userSmsAccount:save',{'UserId':_0x469cd6[_0x7995('0x5a')][_0x7995('0x71')][_0x5348b1],'SmsAccountId':_0x469cd6[_0x7995('0x55')]['id']});}return _0x113e03;});}})['then'](respondWithResult(_0x3ad24,null))['catch'](handleError(_0x3ad24,null));};exports['removeAgents']=function(_0x362580,_0x1da57f,_0x270ef3){return db['SmsAccount'][_0x7995('0x58')]({'where':{'id':_0x362580[_0x7995('0x55')]['id']}})['then'](handleEntityNotFound(_0x1da57f,null))[_0x7995('0x23')](function(_0x39449e){if(_0x39449e){return _0x39449e[_0x7995('0xe4')](_0x362580[_0x7995('0x44')][_0x7995('0x71')])['then'](function(){if(_['isArray'](_0x362580[_0x7995('0x44')][_0x7995('0x71')])){for(var _0x134da2=0x0;_0x134da2<_0x362580[_0x7995('0x44')][_0x7995('0x71')][_0x7995('0x57')];_0x134da2+=0x1){socket[_0x7995('0xe3')](_0x7995('0xe5'),{'UserId':Number(_0x362580[_0x7995('0x44')][_0x7995('0x71')][_0x134da2]),'SmsAccountId':Number(_0x362580['params']['id'])});}}else{socket[_0x7995('0xe3')](_0x7995('0xe5'),{'UserId':Number(_0x362580[_0x7995('0x44')][_0x7995('0x71')]),'SmsAccountId':Number(_0x362580[_0x7995('0x55')]['id'])});}});}})[_0x7995('0x23')](respondWithStatusCode(_0x1da57f,null))[_0x7995('0x2b')](handleError(_0x1da57f,null));};exports['getAgents']=function(_0x5d0fe6,_0x43a8a4,_0x2aec8d){var _0x12df49={};var _0x1f4efc={};var _0x55ce63;var _0x572c53;return db['SmsAccount'][_0x7995('0x68')]({'where':{'id':_0x5d0fe6[_0x7995('0x55')]['id']}})['then'](handleEntityNotFound(_0x43a8a4,null))[_0x7995('0x23')](function(_0x2265cf){if(_0x2265cf){_0x55ce63=_0x2265cf;_0x1f4efc[_0x7995('0x43')]=_[_0x7995('0x45')](db[_0x7995('0xaf')][_0x7995('0x3f')]);_0x1f4efc[_0x7995('0x44')]=_[_0x7995('0x45')](_0x5d0fe6['query']);_0x1f4efc[_0x7995('0x4c')]=_[_0x7995('0x46')](_0x1f4efc[_0x7995('0x43')],_0x1f4efc['query']);_0x12df49[_0x7995('0x47')]=_['intersection'](_0x1f4efc['model'],qs['fields'](_0x5d0fe6['query'][_0x7995('0x56')]));_0x12df49['attributes']=_0x12df49[_0x7995('0x47')][_0x7995('0x57')]?_0x12df49['attributes']:_0x1f4efc[_0x7995('0x43')];_0x12df49[_0x7995('0x4a')]=qs[_0x7995('0x6a')](_0x5d0fe6[_0x7995('0x44')]['sort']);_0x12df49[_0x7995('0x4b')]=qs['filters'](_[_0x7995('0x6b')](_0x5d0fe6[_0x7995('0x44')],_0x1f4efc[_0x7995('0x4c')]));if(_0x5d0fe6[_0x7995('0x44')][_0x7995('0x4d')]){_0x12df49[_0x7995('0x4b')]=_[_0x7995('0x4e')](_0x12df49[_0x7995('0x4b')],{'$or':_[_0x7995('0x3d')](_0x12df49[_0x7995('0x47')],function(_0x4aa202){var _0x8c9b6f={};_0x8c9b6f[_0x4aa202]={'$like':'%'+_0x5d0fe6[_0x7995('0x44')]['filter']+'%'};return _0x8c9b6f;})});}_0x12df49=_[_0x7995('0x4e')]({},_0x12df49,_0x5d0fe6[_0x7995('0x50')]);return _0x55ce63[_0x7995('0xe6')](_0x12df49);}})[_0x7995('0x23')](function(_0x1a6f42){if(_0x1a6f42){_0x572c53=_0x1a6f42[_0x7995('0x57')];if(!_0x5d0fe6['query'][_0x7995('0x48')]('nolimit')){_0x12df49[_0x7995('0x49')]=qs[_0x7995('0x49')](_0x5d0fe6[_0x7995('0x44')][_0x7995('0x49')]);_0x12df49[_0x7995('0x31')]=qs[_0x7995('0x31')](_0x5d0fe6['query'][_0x7995('0x31')]);}return _0x55ce63[_0x7995('0xe6')](_0x12df49);}})[_0x7995('0x23')](function(_0x4c2faf){if(_0x4c2faf){return _0x4c2faf?{'count':_0x572c53,'rows':_0x4c2faf}:null;}})[_0x7995('0x23')](respondWithResult(_0x43a8a4,null))[_0x7995('0x2b')](handleError(_0x43a8a4,null));}; \ No newline at end of file diff --git a/server/api/smsAccount/smsAccount.events.js b/server/api/smsAccount/smsAccount.events.js index ba58f0e..ee0f02a 100644 --- a/server/api/smsAccount/smsAccount.events.js +++ b/server/api/smsAccount/smsAccount.events.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xb2a8=['remove','emit','hasOwnProperty','exports','../../mysqldb','SmsAccount','setMaxListeners'];(function(_0x164eca,_0x555e28){var _0x2ce562=function(_0x148ca6){while(--_0x148ca6){_0x164eca['push'](_0x164eca['shift']());}};_0x2ce562(++_0x555e28);}(_0xb2a8,0x1ee));var _0x8b2a=function(_0x48c1bf,_0x2e76bf){_0x48c1bf=_0x48c1bf-0x0;var _0x3172b7=_0xb2a8[_0x48c1bf];return _0x3172b7;};'use strict';var EventEmitter=require('events');var SmsAccount=require(_0x8b2a('0x0'))['db'][_0x8b2a('0x1')];var SmsAccountEvents=new EventEmitter();SmsAccountEvents[_0x8b2a('0x2')](0x0);var events={'afterCreate':'save','afterUpdate':'update','afterDestroy':_0x8b2a('0x3')};function emitEvent(_0x4bb16a){return function(_0x23df5e,_0x49e895,_0x1c8fd5){SmsAccountEvents[_0x8b2a('0x4')](_0x4bb16a+':'+_0x23df5e['id'],_0x23df5e);SmsAccountEvents[_0x8b2a('0x4')](_0x4bb16a,_0x23df5e);_0x1c8fd5(null);};}for(var e in events){if(events[_0x8b2a('0x5')](e)){var event=events[e];SmsAccount['hook'](e,emitEvent(event));}}module[_0x8b2a('0x6')]=SmsAccountEvents; \ No newline at end of file +var _0x102f=['events','../../mysqldb','SmsAccount','setMaxListeners','remove','hasOwnProperty','exports'];(function(_0x5e7a32,_0x2170a0){var _0x4ddcb6=function(_0x2981d0){while(--_0x2981d0){_0x5e7a32['push'](_0x5e7a32['shift']());}};_0x4ddcb6(++_0x2170a0);}(_0x102f,0x1ce));var _0xf102=function(_0x3c1891,_0x154204){_0x3c1891=_0x3c1891-0x0;var _0x26d46f=_0x102f[_0x3c1891];return _0x26d46f;};'use strict';var EventEmitter=require(_0xf102('0x0'));var SmsAccount=require(_0xf102('0x1'))['db'][_0xf102('0x2')];var SmsAccountEvents=new EventEmitter();SmsAccountEvents[_0xf102('0x3')](0x0);var events={'afterCreate':'save','afterUpdate':'update','afterDestroy':_0xf102('0x4')};function emitEvent(_0x2413a0){return function(_0x4b42b5,_0x44cb32,_0x498313){SmsAccountEvents['emit'](_0x2413a0+':'+_0x4b42b5['id'],_0x4b42b5);SmsAccountEvents['emit'](_0x2413a0,_0x4b42b5);_0x498313(null);};}for(var e in events){if(events[_0xf102('0x5')](e)){var event=events[e];SmsAccount['hook'](e,emitEvent(event));}}module[_0xf102('0x6')]=SmsAccountEvents; \ No newline at end of file diff --git a/server/api/smsAccount/smsAccount.model.js b/server/api/smsAccount/smsAccount.model.js index e151e6b..af5870d 100644 --- a/server/api/smsAccount/smsAccount.model.js +++ b/server/api/smsAccount/smsAccount.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xa53d=['../../config/logger','api','moment','bluebird','request-promise','rimraf','../../config/environment','./smsAccount.attributes','exports','SmsAccount','sms_accounts'];(function(_0x13ca8c,_0x53ef87){var _0x316205=function(_0x5a6704){while(--_0x5a6704){_0x13ca8c['push'](_0x13ca8c['shift']());}};_0x316205(++_0x53ef87);}(_0xa53d,0xf2));var _0xda53=function(_0x53a5f6,_0x4e0900){_0x53a5f6=_0x53a5f6-0x0;var _0x55deb4=_0xa53d[_0x53a5f6];return _0x55deb4;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0xda53('0x0'))(_0xda53('0x1'));var moment=require(_0xda53('0x2'));var BPromise=require(_0xda53('0x3'));var rp=require(_0xda53('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0xda53('0x5'));var config=require(_0xda53('0x6'));var attributes=require(_0xda53('0x7'));module[_0xda53('0x8')]=function(_0x22bc52,_0x4a6abe){return _0x22bc52['define'](_0xda53('0x9'),attributes,{'tableName':_0xda53('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0x0707=['api','bluebird','request-promise','path','rimraf','./smsAccount.attributes','define','SmsAccount','sms_accounts','lodash','../../config/logger'];(function(_0x211e57,_0x4737ec){var _0x5bd307=function(_0x32daec){while(--_0x32daec){_0x211e57['push'](_0x211e57['shift']());}};_0x5bd307(++_0x4737ec);}(_0x0707,0xae));var _0x7070=function(_0x8221e6,_0xa5207b){_0x8221e6=_0x8221e6-0x0;var _0x54a8fc=_0x0707[_0x8221e6];return _0x54a8fc;};'use strict';var _=require(_0x7070('0x0'));var util=require('util');var logger=require(_0x7070('0x1'))(_0x7070('0x2'));var moment=require('moment');var BPromise=require(_0x7070('0x3'));var rp=require(_0x7070('0x4'));var fs=require('fs');var path=require(_0x7070('0x5'));var rimraf=require(_0x7070('0x6'));var config=require('../../config/environment');var attributes=require(_0x7070('0x7'));module['exports']=function(_0x11bfa6,_0x2da9e8){return _0x11bfa6[_0x7070('0x8')](_0x7070('0x9'),attributes,{'tableName':_0x7070('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/smsAccount/smsAccount.rpc.js b/server/api/smsAccount/smsAccount.rpc.js index 0a6c29f..ec9d0ea 100644 --- a/server/api/smsAccount/smsAccount.rpc.js +++ b/server/api/smsAccount/smsAccount.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x693e=['map','ShowSmsAccount','stringify','catch','lodash','moment','bluebird','randomstring','ioredis','../../config/utils','../../config/logger','../../config/environment','client','http','redis','defaults','localhost','./smsAccount.socket','register','then','info','request\x20sent','debug','error','SmsAccount,\x20%s,\x20%s','message','result','SmsAccount','find','options','raw','where','include','attributes'];(function(_0xbce76a,_0xa6b6c8){var _0x2f7cc7=function(_0x526e50){while(--_0x526e50){_0xbce76a['push'](_0xbce76a['shift']());}};_0x2f7cc7(++_0xa6b6c8);}(_0x693e,0xd0));var _0xe693=function(_0x57b54c,_0x54ce0d){_0x57b54c=_0x57b54c-0x0;var _0x59cc19=_0x693e[_0x57b54c];return _0x59cc19;};'use strict';var _=require(_0xe693('0x0'));var util=require('util');var moment=require(_0xe693('0x1'));var BPromise=require(_0xe693('0x2'));var rs=require(_0xe693('0x3'));var fs=require('fs');var Redis=require(_0xe693('0x4'));var db=require('../../mysqldb')['db'];var utils=require(_0xe693('0x5'));var logger=require(_0xe693('0x6'))('rpc');var config=require(_0xe693('0x7'));var jayson=require('jayson/promise');var client=jayson[_0xe693('0x8')][_0xe693('0x9')]({'port':0x232a});config[_0xe693('0xa')]=_[_0xe693('0xb')](config[_0xe693('0xa')],{'host':_0xe693('0xc'),'port':0x18eb});var socket=require('socket.io-emitter')(new Redis(config[_0xe693('0xa')]));require(_0xe693('0xd'))[_0xe693('0xe')](socket);function respondWithRpcPromise(_0x139580,_0x238e23,_0x3aa8a6){return new BPromise(function(_0x39657f,_0x1a5321){return client['request'](_0x139580,_0x3aa8a6)[_0xe693('0xf')](function(_0x419564){logger[_0xe693('0x10')]('SmsAccount,\x20%s,\x20%s',_0x238e23,_0xe693('0x11'));logger[_0xe693('0x12')]('SmsAccount,\x20%s,\x20%s,\x20%s',_0x238e23,_0xe693('0x11'),JSON['stringify'](_0x419564));if(_0x419564[_0xe693('0x13')]){if(_0x419564[_0xe693('0x13')]['code']===0x1f4){logger['error'](_0xe693('0x14'),_0x238e23,_0x419564[_0xe693('0x13')][_0xe693('0x15')]);return _0x1a5321(_0x419564['error'][_0xe693('0x15')]);}logger[_0xe693('0x13')]('SmsAccount,\x20%s,\x20%s',_0x238e23,_0x419564[_0xe693('0x13')][_0xe693('0x15')]);return _0x39657f(_0x419564[_0xe693('0x13')]['message']);}else{logger[_0xe693('0x10')](_0xe693('0x14'),_0x238e23,'request\x20sent');_0x39657f(_0x419564[_0xe693('0x16')]['message']);}})['catch'](function(_0x2d5cd6){logger[_0xe693('0x13')]('SmsAccount,\x20%s,\x20%s',_0x238e23,_0x2d5cd6);_0x1a5321(_0x2d5cd6);});});}exports['ShowSmsAccount']=function(_0x10d6fc){var _0x8a8a5a=this;return new Promise(function(_0x76f91d,_0x3ae2a3){return db[_0xe693('0x17')][_0xe693('0x18')]({'raw':_0x10d6fc['options']?_0x10d6fc[_0xe693('0x19')][_0xe693('0x1a')]===undefined?!![]:![]:!![],'where':_0x10d6fc[_0xe693('0x19')]?_0x10d6fc[_0xe693('0x19')][_0xe693('0x1b')]||null:null,'attributes':_0x10d6fc[_0xe693('0x19')]?_0x10d6fc[_0xe693('0x19')]['attributes']||null:null,'include':_0x10d6fc[_0xe693('0x19')]?_0x10d6fc[_0xe693('0x19')][_0xe693('0x1c')]?_['map'](_0x10d6fc['options'][_0xe693('0x1c')],function(_0x1d53a1){return{'model':db[_0x1d53a1['model']],'as':_0x1d53a1['as'],'attributes':_0x1d53a1[_0xe693('0x1d')],'include':_0x1d53a1[_0xe693('0x1c')]?_[_0xe693('0x1e')](_0x1d53a1[_0xe693('0x1c')],function(_0xda4a11){return{'model':db[_0xda4a11['model']],'as':_0xda4a11['as'],'attributes':_0xda4a11[_0xe693('0x1d')],'include':_0xda4a11[_0xe693('0x1c')]?_[_0xe693('0x1e')](_0xda4a11[_0xe693('0x1c')],function(_0x3dbfe5){return{'model':db[_0x3dbfe5['model']],'as':_0x3dbfe5['as'],'attributes':_0x3dbfe5[_0xe693('0x1d')]};}):[]};}):[]};}):[]:[]})['then'](function(_0x2ff27f){logger['info'](_0xe693('0x1f'),_0x10d6fc);logger[_0xe693('0x12')](_0xe693('0x1f'),_0x10d6fc,JSON[_0xe693('0x20')](_0x2ff27f));_0x76f91d(_0x2ff27f);})[_0xe693('0x21')](function(_0x1c3c42){logger[_0xe693('0x13')](_0xe693('0x1f'),_0x1c3c42[_0xe693('0x15')],_0x10d6fc);_0x3ae2a3(_0x8a8a5a[_0xe693('0x13')](0x1f4,_0x1c3c42[_0xe693('0x15')]));});});}; \ No newline at end of file +var _0x261f=['then','info','SmsAccount,\x20%s,\x20%s','request\x20sent','debug','SmsAccount,\x20%s,\x20%s,\x20%s','stringify','error','code','message','result','catch','ShowSmsAccount','find','options','raw','where','attributes','include','map','model','util','bluebird','randomstring','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','client','http','redis','localhost','socket.io-emitter','register','request'];(function(_0x73b92e,_0x42a4e3){var _0x23102b=function(_0x566ea5){while(--_0x566ea5){_0x73b92e['push'](_0x73b92e['shift']());}};_0x23102b(++_0x42a4e3);}(_0x261f,0x17d));var _0xf261=function(_0x32e93e,_0x2c7db2){_0x32e93e=_0x32e93e-0x0;var _0x182712=_0x261f[_0x32e93e];return _0x182712;};'use strict';var _=require('lodash');var util=require(_0xf261('0x0'));var moment=require('moment');var BPromise=require(_0xf261('0x1'));var rs=require(_0xf261('0x2'));var fs=require('fs');var Redis=require('ioredis');var db=require('../../mysqldb')['db'];var utils=require(_0xf261('0x3'));var logger=require(_0xf261('0x4'))(_0xf261('0x5'));var config=require(_0xf261('0x6'));var jayson=require(_0xf261('0x7'));var client=jayson[_0xf261('0x8')][_0xf261('0x9')]({'port':0x232a});config[_0xf261('0xa')]=_['defaults'](config[_0xf261('0xa')],{'host':_0xf261('0xb'),'port':0x18eb});var socket=require(_0xf261('0xc'))(new Redis(config['redis']));require('./smsAccount.socket')[_0xf261('0xd')](socket);function respondWithRpcPromise(_0x3f466d,_0x1adab5,_0x327225){return new BPromise(function(_0x4aabb2,_0x1efa36){return client[_0xf261('0xe')](_0x3f466d,_0x327225)[_0xf261('0xf')](function(_0x5b224b){logger[_0xf261('0x10')](_0xf261('0x11'),_0x1adab5,_0xf261('0x12'));logger[_0xf261('0x13')](_0xf261('0x14'),_0x1adab5,'request\x20sent',JSON[_0xf261('0x15')](_0x5b224b));if(_0x5b224b['error']){if(_0x5b224b[_0xf261('0x16')][_0xf261('0x17')]===0x1f4){logger['error'](_0xf261('0x11'),_0x1adab5,_0x5b224b[_0xf261('0x16')][_0xf261('0x18')]);return _0x1efa36(_0x5b224b[_0xf261('0x16')][_0xf261('0x18')]);}logger[_0xf261('0x16')]('SmsAccount,\x20%s,\x20%s',_0x1adab5,_0x5b224b[_0xf261('0x16')][_0xf261('0x18')]);return _0x4aabb2(_0x5b224b[_0xf261('0x16')][_0xf261('0x18')]);}else{logger[_0xf261('0x10')](_0xf261('0x11'),_0x1adab5,_0xf261('0x12'));_0x4aabb2(_0x5b224b[_0xf261('0x19')][_0xf261('0x18')]);}})[_0xf261('0x1a')](function(_0x8e4799){logger[_0xf261('0x16')](_0xf261('0x11'),_0x1adab5,_0x8e4799);_0x1efa36(_0x8e4799);});});}exports[_0xf261('0x1b')]=function(_0x26bb5a){var _0x111de3=this;return new Promise(function(_0x1abb04,_0x90145){return db['SmsAccount'][_0xf261('0x1c')]({'raw':_0x26bb5a[_0xf261('0x1d')]?_0x26bb5a[_0xf261('0x1d')][_0xf261('0x1e')]===undefined?!![]:![]:!![],'where':_0x26bb5a[_0xf261('0x1d')]?_0x26bb5a[_0xf261('0x1d')][_0xf261('0x1f')]||null:null,'attributes':_0x26bb5a['options']?_0x26bb5a[_0xf261('0x1d')][_0xf261('0x20')]||null:null,'include':_0x26bb5a[_0xf261('0x1d')]?_0x26bb5a[_0xf261('0x1d')][_0xf261('0x21')]?_[_0xf261('0x22')](_0x26bb5a[_0xf261('0x1d')][_0xf261('0x21')],function(_0x4b31bf){return{'model':db[_0x4b31bf[_0xf261('0x23')]],'as':_0x4b31bf['as'],'attributes':_0x4b31bf[_0xf261('0x20')],'include':_0x4b31bf[_0xf261('0x21')]?_[_0xf261('0x22')](_0x4b31bf[_0xf261('0x21')],function(_0x4815c5){return{'model':db[_0x4815c5[_0xf261('0x23')]],'as':_0x4815c5['as'],'attributes':_0x4815c5[_0xf261('0x20')],'include':_0x4815c5['include']?_[_0xf261('0x22')](_0x4815c5[_0xf261('0x21')],function(_0x337cd){return{'model':db[_0x337cd[_0xf261('0x23')]],'as':_0x337cd['as'],'attributes':_0x337cd['attributes']};}):[]};}):[]};}):[]:[]})[_0xf261('0xf')](function(_0x6100ce){logger[_0xf261('0x10')]('ShowSmsAccount',_0x26bb5a);logger[_0xf261('0x13')]('ShowSmsAccount',_0x26bb5a,JSON['stringify'](_0x6100ce));_0x1abb04(_0x6100ce);})[_0xf261('0x1a')](function(_0x399417){logger['error'](_0xf261('0x1b'),_0x399417[_0xf261('0x18')],_0x26bb5a);_0x90145(_0x111de3[_0xf261('0x16')](0x1f4,_0x399417[_0xf261('0x18')]));});});}; \ No newline at end of file diff --git a/server/api/smsAccount/smsAccount.socket.js b/server/api/smsAccount/smsAccount.socket.js index 294b080..e165717 100644 --- a/server/api/smsAccount/smsAccount.socket.js +++ b/server/api/smsAccount/smsAccount.socket.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xaa32=['update','emit','register','save','remove'];(function(_0x4b98f2,_0xa742f4){var _0x314735=function(_0x105e07){while(--_0x105e07){_0x4b98f2['push'](_0x4b98f2['shift']());}};_0x314735(++_0xa742f4);}(_0xaa32,0xb2));var _0x2aa3=function(_0x1afb2a,_0x1b9ca6){_0x1afb2a=_0x1afb2a-0x0;var _0x4c6998=_0xaa32[_0x1afb2a];return _0x4c6998;};'use strict';var SmsAccountEvents=require('./smsAccount.events');var events=[_0x2aa3('0x0'),_0x2aa3('0x1'),_0x2aa3('0x2')];function createListener(_0x443c43,_0x49329d){return function(_0x2b0633){_0x49329d[_0x2aa3('0x3')](_0x443c43,_0x2b0633);};}function removeListener(_0x5ec5e1,_0x5571b6){return function(){SmsAccountEvents['removeListener'](_0x5ec5e1,_0x5571b6);};}exports[_0x2aa3('0x4')]=function(_0x104a8f){for(var _0x59c3bb=0x0,_0x574914=events['length'];_0x59c3bb<_0x574914;_0x59c3bb++){var _0x486700=events[_0x59c3bb];var _0x30c129=createListener('smsAccount:'+_0x486700,_0x104a8f);SmsAccountEvents['on'](_0x486700,_0x30c129);}}; \ No newline at end of file +var _0x7292=['update','removeListener','register','length','./smsAccount.events','save','remove'];(function(_0x1341f8,_0x370eae){var _0x9e0a=function(_0x135f81){while(--_0x135f81){_0x1341f8['push'](_0x1341f8['shift']());}};_0x9e0a(++_0x370eae);}(_0x7292,0x107));var _0x2729=function(_0x50007c,_0x1cbf11){_0x50007c=_0x50007c-0x0;var _0x5c1ec7=_0x7292[_0x50007c];return _0x5c1ec7;};'use strict';var SmsAccountEvents=require(_0x2729('0x0'));var events=[_0x2729('0x1'),_0x2729('0x2'),_0x2729('0x3')];function createListener(_0x44519c,_0xdd7bf4){return function(_0x398319){_0xdd7bf4['emit'](_0x44519c,_0x398319);};}function removeListener(_0x400b66,_0x45977a){return function(){SmsAccountEvents[_0x2729('0x4')](_0x400b66,_0x45977a);};}exports[_0x2729('0x5')]=function(_0x26a3dc){for(var _0x176a7c=0x0,_0x3562b9=events[_0x2729('0x6')];_0x176a7c<_0x3562b9;_0x176a7c++){var _0x1081fd=events[_0x176a7c];var _0x4c0952=createListener('smsAccount:'+_0x1081fd,_0x26a3dc);SmsAccountEvents['on'](_0x1081fd,_0x4c0952);}}; \ No newline at end of file diff --git a/server/api/smsApplication/index.js b/server/api/smsApplication/index.js index 78a999e..6ac0497 100644 --- a/server/api/smsApplication/index.js +++ b/server/api/smsApplication/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x1e8b=['connect-timeout','express','Router','../../components/interaction/service','../../config/environment','get','isAuthenticated','/:id','show','create','update','delete','destroy','exports','multer','path'];(function(_0x528511,_0x815fd3){var _0xd1b2b7=function(_0x3bf131){while(--_0x3bf131){_0x528511['push'](_0x528511['shift']());}};_0xd1b2b7(++_0x815fd3);}(_0x1e8b,0x13e));var _0xb1e8=function(_0x278cdd,_0x35a45f){_0x278cdd=_0x278cdd-0x0;var _0x27fae7=_0x1e8b[_0x278cdd];return _0x27fae7;};'use strict';var multer=require(_0xb1e8('0x0'));var util=require('util');var path=require(_0xb1e8('0x1'));var timeout=require(_0xb1e8('0x2'));var express=require(_0xb1e8('0x3'));var router=express[_0xb1e8('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0xb1e8('0x5'));var config=require(_0xb1e8('0x6'));var controller=require('./smsApplication.controller');router[_0xb1e8('0x7')]('/',auth[_0xb1e8('0x8')](),controller['index']);router[_0xb1e8('0x7')](_0xb1e8('0x9'),auth[_0xb1e8('0x8')](),controller[_0xb1e8('0xa')]);router['post']('/',auth[_0xb1e8('0x8')](),controller[_0xb1e8('0xb')]);router['put'](_0xb1e8('0x9'),auth[_0xb1e8('0x8')](),controller[_0xb1e8('0xc')]);router[_0xb1e8('0xd')](_0xb1e8('0x9'),auth['isAuthenticated'](),controller[_0xb1e8('0xe')]);module[_0xb1e8('0xf')]=router; \ No newline at end of file +var _0x7ad6=['put','update','delete','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./smsApplication.controller','get','isAuthenticated','index','/:id','show','create'];(function(_0x247881,_0x3edaa1){var _0x50ce84=function(_0x16aea8){while(--_0x16aea8){_0x247881['push'](_0x247881['shift']());}};_0x50ce84(++_0x3edaa1);}(_0x7ad6,0x68));var _0x67ad=function(_0x30ae5e,_0x391fc4){_0x30ae5e=_0x30ae5e-0x0;var _0x1f2e93=_0x7ad6[_0x30ae5e];return _0x1f2e93;};'use strict';var multer=require(_0x67ad('0x0'));var util=require(_0x67ad('0x1'));var path=require(_0x67ad('0x2'));var timeout=require(_0x67ad('0x3'));var express=require(_0x67ad('0x4'));var router=express[_0x67ad('0x5')]();var auth=require(_0x67ad('0x6'));var interaction=require(_0x67ad('0x7'));var config=require(_0x67ad('0x8'));var controller=require(_0x67ad('0x9'));router[_0x67ad('0xa')]('/',auth[_0x67ad('0xb')](),controller[_0x67ad('0xc')]);router[_0x67ad('0xa')](_0x67ad('0xd'),auth['isAuthenticated'](),controller[_0x67ad('0xe')]);router['post']('/',auth[_0x67ad('0xb')](),controller[_0x67ad('0xf')]);router[_0x67ad('0x10')]('/:id',auth[_0x67ad('0xb')](),controller[_0x67ad('0x11')]);router[_0x67ad('0x12')]('/:id',auth[_0x67ad('0xb')](),controller['destroy']);module[_0x67ad('0x13')]=router; \ No newline at end of file diff --git a/server/api/smsApplication/smsApplication.attributes.js b/server/api/smsApplication/smsApplication.attributes.js index 37c5b10..de91874 100644 --- a/server/api/smsApplication/smsApplication.attributes.js +++ b/server/api/smsApplication/smsApplication.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xb1d6=['*,*,*,*','sequelize','exports','INTEGER','STRING','noop','TEXT'];(function(_0x5c842e,_0x27a58d){var _0x52cac8=function(_0x5bd40a){while(--_0x5bd40a){_0x5c842e['push'](_0x5c842e['shift']());}};_0x52cac8(++_0x27a58d);}(_0xb1d6,0x1c8));var _0x6b1d=function(_0x5ddb1c,_0x5ea4df){_0x5ddb1c=_0x5ddb1c-0x0;var _0x354adc=_0xb1d6[_0x5ddb1c];return _0x354adc;};'use strict';var Sequelize=require(_0x6b1d('0x0'));module[_0x6b1d('0x1')]={'priority':{'type':Sequelize[_0x6b1d('0x2')],'allowNull':![]},'app':{'type':Sequelize[_0x6b1d('0x3')],'allowNull':![],'defaultValue':_0x6b1d('0x4')},'appdata':{'type':Sequelize[_0x6b1d('0x5')]()},'description':{'type':Sequelize[_0x6b1d('0x3')]},'interval':{'type':Sequelize[_0x6b1d('0x3')],'defaultValue':_0x6b1d('0x6')}}; \ No newline at end of file +var _0x6231=['STRING','noop','TEXT','sequelize','exports','INTEGER'];(function(_0xdea41a,_0x552987){var _0x15d0d8=function(_0x1e0d0b){while(--_0x1e0d0b){_0xdea41a['push'](_0xdea41a['shift']());}};_0x15d0d8(++_0x552987);}(_0x6231,0xd5));var _0x1623=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x6231[_0x3dd15e];return _0x231fd0;};'use strict';var Sequelize=require(_0x1623('0x0'));module[_0x1623('0x1')]={'priority':{'type':Sequelize[_0x1623('0x2')],'allowNull':![]},'app':{'type':Sequelize[_0x1623('0x3')],'allowNull':![],'defaultValue':_0x1623('0x4')},'appdata':{'type':Sequelize[_0x1623('0x5')]()},'description':{'type':Sequelize[_0x1623('0x3')]},'interval':{'type':Sequelize[_0x1623('0x3')],'defaultValue':'*,*,*,*'}}; \ No newline at end of file diff --git a/server/api/smsApplication/smsApplication.controller.js b/server/api/smsApplication/smsApplication.controller.js index 9defe26..af2d81f 100644 --- a/server/api/smsApplication/smsApplication.controller.js +++ b/server/api/smsApplication/smsApplication.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x160f=['includeAll','include','findAll','rows','catch','show','params','keys','intersection','find','create','body','html-pdf','eml-format','rimraf','zip-dir','request-promise','moment','bluebird','mustache','util','path','to-csv','ejs','crypto','querystring','papaparse','ioredis','../../components/auth/service','../../config/license/hardware','../../config/logger','api','../../config/environment','../../mysqldb','status','json','count','offset','limit','set','Content-Range','apply','reject','save','update','destroy','then','sendStatus','name','index','rawAttributes','fieldName','type','key','query','filters','model','fields','attributes','length','nolimit','order','sort','where','filter','merge','VIRTUAL','options','SmsApplication'];(function(_0x1e478d,_0x72e40d){var _0x52161f=function(_0x443b67){while(--_0x443b67){_0x1e478d['push'](_0x1e478d['shift']());}};_0x52161f(++_0x72e40d);}(_0x160f,0x1ef));var _0xf160=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x160f[_0x3dd15e];return _0x231fd0;};'use strict';var pdf=require(_0xf160('0x0'));var emlformat=require(_0xf160('0x1'));var rimraf=require(_0xf160('0x2'));var zipdir=require(_0xf160('0x3'));var jsonpatch=require('fast-json-patch');var rp=require(_0xf160('0x4'));var moment=require(_0xf160('0x5'));var BPromise=require(_0xf160('0x6'));var Mustache=require(_0xf160('0x7'));var util=require(_0xf160('0x8'));var path=require(_0xf160('0x9'));var sox=require('sox');var csv=require(_0xf160('0xa'));var ejs=require(_0xf160('0xb'));var fs=require('fs');var _=require('lodash');var squel=require('squel');var crypto=require(_0xf160('0xc'));var jsforce=require('jsforce');var deskjs=require('desk.js');var toCsv=require('to-csv');var querystring=require(_0xf160('0xd'));var Papa=require(_0xf160('0xe'));var Redis=require(_0xf160('0xf'));var authService=require(_0xf160('0x10'));var qs=require('../../components/parsers/qs');var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0xf160('0x11'));var logger=require(_0xf160('0x12'))(_0xf160('0x13'));var utils=require('../../config/utils');var config=require(_0xf160('0x14'));var db=require(_0xf160('0x15'))['db'];function respondWithStatusCode(_0x25866c,_0x3b09ea){_0x3b09ea=_0x3b09ea||0xcc;return function(_0x2d8854){if(_0x2d8854){return _0x25866c['sendStatus'](_0x3b09ea);}return _0x25866c[_0xf160('0x16')](_0x3b09ea)['end']();};}function respondWithResult(_0x1496b6,_0x26951a){_0x26951a=_0x26951a||0xc8;return function(_0x12549a){if(_0x12549a){return _0x1496b6[_0xf160('0x16')](_0x26951a)[_0xf160('0x17')](_0x12549a);}};}function respondWithFilteredResult(_0x31f7ae,_0x2643ba){return function(_0x172337){if(_0x172337){var _0x1396ba=_0x172337[_0xf160('0x18')],_0x59ac02=_0x2643ba[_0xf160('0x19')],_0x477e4d=_0x2643ba['offset']+_0x2643ba[_0xf160('0x1a')],_0x400bda;if(_0x477e4d>=_0x1396ba){_0x477e4d=_0x1396ba;_0x400bda=0xc8;}else{_0x400bda=0xce;}_0x31f7ae['status'](_0x400bda);return _0x31f7ae[_0xf160('0x1b')](_0xf160('0x1c'),_0x59ac02+'-'+_0x477e4d+'/'+_0x1396ba)[_0xf160('0x17')](_0x172337);}return null;};}function patchUpdates(_0x1e09f3){return function(_0x19299b){try{jsonpatch[_0xf160('0x1d')](_0x19299b,_0x1e09f3,!![]);}catch(_0x156dca){return BPromise[_0xf160('0x1e')](_0x156dca);}return _0x19299b[_0xf160('0x1f')]();};}function saveUpdates(_0x4a58d9,_0x40ccf0){return function(_0xa20d5a){if(_0xa20d5a){return _0xa20d5a[_0xf160('0x20')](_0x4a58d9)['then'](function(_0x435572){return _0x435572;});}return null;};}function removeEntity(_0xff0491,_0x454e63){return function(_0x36d0cb){if(_0x36d0cb){return _0x36d0cb[_0xf160('0x21')]()[_0xf160('0x22')](function(){_0xff0491[_0xf160('0x16')](0xcc)['end']();});}};}function handleEntityNotFound(_0x3d1f6c,_0x28bf27){return function(_0x305f6a){if(!_0x305f6a){_0x3d1f6c[_0xf160('0x23')](0x194);}return _0x305f6a;};}function handleError(_0x578f7d,_0x42458c){_0x42458c=_0x42458c||0x1f4;return function(_0x46d45a){logger['error'](_0x46d45a['stack']);if(_0x46d45a[_0xf160('0x24')]){delete _0x46d45a[_0xf160('0x24')];}_0x578f7d[_0xf160('0x16')](_0x42458c)['send'](_0x46d45a);};}exports[_0xf160('0x25')]=function(_0x73851f,_0x2851e8){var _0x2e2b00={},_0x135e0f={},_0x193e1e={'count':0x0,'rows':[]};var _0x5d0cc8=_['map'](db['SmsApplication'][_0xf160('0x26')],function(_0x16a5fa){return{'name':_0x16a5fa[_0xf160('0x27')],'type':_0x16a5fa[_0xf160('0x28')][_0xf160('0x29')]};});_0x135e0f['model']=_['map'](_0x5d0cc8,_0xf160('0x24'));_0x135e0f['query']=_['keys'](_0x73851f[_0xf160('0x2a')]);_0x135e0f[_0xf160('0x2b')]=_['intersection'](_0x135e0f[_0xf160('0x2c')],_0x135e0f[_0xf160('0x2a')]);_0x2e2b00['attributes']=_['intersection'](_0x135e0f['model'],qs['fields'](_0x73851f[_0xf160('0x2a')][_0xf160('0x2d')]));_0x2e2b00[_0xf160('0x2e')]=_0x2e2b00[_0xf160('0x2e')][_0xf160('0x2f')]?_0x2e2b00[_0xf160('0x2e')]:_0x135e0f['model'];if(!_0x73851f['query']['hasOwnProperty'](_0xf160('0x30'))){_0x2e2b00['limit']=qs['limit'](_0x73851f[_0xf160('0x2a')][_0xf160('0x1a')]);_0x2e2b00['offset']=qs[_0xf160('0x19')](_0x73851f[_0xf160('0x2a')][_0xf160('0x19')]);}_0x2e2b00[_0xf160('0x31')]=qs[_0xf160('0x32')](_0x73851f['query'][_0xf160('0x32')]);_0x2e2b00[_0xf160('0x33')]=qs[_0xf160('0x2b')](_['pick'](_0x73851f[_0xf160('0x2a')],_0x135e0f[_0xf160('0x2b')]),_0x5d0cc8);if(_0x73851f[_0xf160('0x2a')][_0xf160('0x34')]){_0x2e2b00[_0xf160('0x33')]=_[_0xf160('0x35')](_0x2e2b00['where'],{'$or':_['map'](_0x5d0cc8,function(_0x36d21b){if(_0x36d21b[_0xf160('0x28')]!==_0xf160('0x36')){var _0x1ca3bd={};_0x1ca3bd[_0x36d21b[_0xf160('0x24')]]={'$like':'%'+_0x73851f[_0xf160('0x2a')][_0xf160('0x34')]+'%'};return _0x1ca3bd;}})});}_0x2e2b00=_[_0xf160('0x35')]({},_0x2e2b00,_0x73851f[_0xf160('0x37')]);var _0x346706={'where':_0x2e2b00[_0xf160('0x33')]};return db[_0xf160('0x38')][_0xf160('0x18')](_0x346706)[_0xf160('0x22')](function(_0x2e7a32){_0x193e1e[_0xf160('0x18')]=_0x2e7a32;if(_0x73851f[_0xf160('0x2a')][_0xf160('0x39')]){_0x2e2b00[_0xf160('0x3a')]=[{'all':!![]}];}return db[_0xf160('0x38')][_0xf160('0x3b')](_0x2e2b00);})[_0xf160('0x22')](function(_0x39706e){_0x193e1e[_0xf160('0x3c')]=_0x39706e;return _0x193e1e;})['then'](respondWithFilteredResult(_0x2851e8,_0x2e2b00))[_0xf160('0x3d')](handleError(_0x2851e8,null));};exports[_0xf160('0x3e')]=function(_0x2cfec0,_0x412e66){var _0x3d273d={'raw':!![],'where':{'id':_0x2cfec0[_0xf160('0x3f')]['id']}},_0xed8784={};_0xed8784['model']=_[_0xf160('0x40')](db['SmsApplication'][_0xf160('0x26')]);_0xed8784[_0xf160('0x2a')]=_['keys'](_0x2cfec0[_0xf160('0x2a')]);_0xed8784[_0xf160('0x2b')]=_[_0xf160('0x41')](_0xed8784[_0xf160('0x2c')],_0xed8784[_0xf160('0x2a')]);_0x3d273d[_0xf160('0x2e')]=_[_0xf160('0x41')](_0xed8784['model'],qs[_0xf160('0x2d')](_0x2cfec0[_0xf160('0x2a')][_0xf160('0x2d')]));_0x3d273d[_0xf160('0x2e')]=_0x3d273d[_0xf160('0x2e')][_0xf160('0x2f')]?_0x3d273d[_0xf160('0x2e')]:_0xed8784[_0xf160('0x2c')];if(_0x2cfec0[_0xf160('0x2a')][_0xf160('0x39')]){_0x3d273d[_0xf160('0x3a')]=[{'all':!![]}];}_0x3d273d=_['merge']({},_0x3d273d,_0x2cfec0['options']);return db[_0xf160('0x38')][_0xf160('0x42')](_0x3d273d)[_0xf160('0x22')](handleEntityNotFound(_0x412e66,null))[_0xf160('0x22')](respondWithResult(_0x412e66,null))[_0xf160('0x3d')](handleError(_0x412e66,null));};exports[_0xf160('0x43')]=function(_0x4a542f,_0xb3bc25){return db['SmsApplication']['create'](_0x4a542f[_0xf160('0x44')],{})[_0xf160('0x22')](respondWithResult(_0xb3bc25,0xc9))['catch'](handleError(_0xb3bc25,null));};exports['update']=function(_0x2f1648,_0x2681f2){if(_0x2f1648[_0xf160('0x44')]['id']){delete _0x2f1648[_0xf160('0x44')]['id'];}return db['SmsApplication']['find']({'where':{'id':_0x2f1648['params']['id']}})['then'](handleEntityNotFound(_0x2681f2,null))[_0xf160('0x22')](saveUpdates(_0x2f1648['body'],null))[_0xf160('0x22')](respondWithResult(_0x2681f2,null))[_0xf160('0x3d')](handleError(_0x2681f2,null));};exports[_0xf160('0x21')]=function(_0x3bdfdb,_0x4f2e23){return db[_0xf160('0x38')][_0xf160('0x42')]({'where':{'id':_0x3bdfdb[_0xf160('0x3f')]['id']}})['then'](handleEntityNotFound(_0x4f2e23,null))[_0xf160('0x22')](removeEntity(_0x4f2e23,null))[_0xf160('0x3d')](handleError(_0x4f2e23,null));}; \ No newline at end of file +var _0x47c5=['../../config/license/hardware','../../config/logger','api','../../config/utils','../../mysqldb','sendStatus','status','end','json','count','offset','set','Content-Range','apply','reject','save','update','destroy','then','stack','index','map','SmsApplication','rawAttributes','key','name','query','keys','filters','intersection','attributes','model','fields','length','hasOwnProperty','nolimit','limit','order','sort','pick','filter','where','type','merge','options','includeAll','include','findAll','catch','params','find','create','body','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','bluebird','mustache','path','sox','ejs','lodash','squel','crypto','jsforce','desk.js','to-csv','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch'];(function(_0x51b0dc,_0x5307b7){var _0x13fa89=function(_0x2c880f){while(--_0x2c880f){_0x51b0dc['push'](_0x51b0dc['shift']());}};_0x13fa89(++_0x5307b7);}(_0x47c5,0x165));var _0x547c=function(_0x4b33ff,_0x34193c){_0x4b33ff=_0x4b33ff-0x0;var _0x24c2f7=_0x47c5[_0x4b33ff];return _0x24c2f7;};'use strict';var pdf=require(_0x547c('0x0'));var emlformat=require(_0x547c('0x1'));var rimraf=require(_0x547c('0x2'));var zipdir=require(_0x547c('0x3'));var jsonpatch=require(_0x547c('0x4'));var rp=require(_0x547c('0x5'));var moment=require('moment');var BPromise=require(_0x547c('0x6'));var Mustache=require(_0x547c('0x7'));var util=require('util');var path=require(_0x547c('0x8'));var sox=require(_0x547c('0x9'));var csv=require('to-csv');var ejs=require(_0x547c('0xa'));var fs=require('fs');var _=require(_0x547c('0xb'));var squel=require(_0x547c('0xc'));var crypto=require(_0x547c('0xd'));var jsforce=require(_0x547c('0xe'));var deskjs=require(_0x547c('0xf'));var toCsv=require(_0x547c('0x10'));var querystring=require(_0x547c('0x11'));var Papa=require(_0x547c('0x12'));var Redis=require(_0x547c('0x13'));var authService=require(_0x547c('0x14'));var qs=require(_0x547c('0x15'));var as=require(_0x547c('0x16'));var hardwareService=require(_0x547c('0x17'));var logger=require(_0x547c('0x18'))(_0x547c('0x19'));var utils=require(_0x547c('0x1a'));var config=require('../../config/environment');var db=require(_0x547c('0x1b'))['db'];function respondWithStatusCode(_0x39dce7,_0x5eea67){_0x5eea67=_0x5eea67||0xcc;return function(_0x436c19){if(_0x436c19){return _0x39dce7[_0x547c('0x1c')](_0x5eea67);}return _0x39dce7[_0x547c('0x1d')](_0x5eea67)[_0x547c('0x1e')]();};}function respondWithResult(_0x392a35,_0x150317){_0x150317=_0x150317||0xc8;return function(_0x2bc289){if(_0x2bc289){return _0x392a35[_0x547c('0x1d')](_0x150317)[_0x547c('0x1f')](_0x2bc289);}};}function respondWithFilteredResult(_0x161991,_0x240243){return function(_0x103455){if(_0x103455){var _0x39f316=_0x103455[_0x547c('0x20')],_0x23644b=_0x240243[_0x547c('0x21')],_0x2d5331=_0x240243['offset']+_0x240243['limit'],_0xf32cdd;if(_0x2d5331>=_0x39f316){_0x2d5331=_0x39f316;_0xf32cdd=0xc8;}else{_0xf32cdd=0xce;}_0x161991[_0x547c('0x1d')](_0xf32cdd);return _0x161991[_0x547c('0x22')](_0x547c('0x23'),_0x23644b+'-'+_0x2d5331+'/'+_0x39f316)['json'](_0x103455);}return null;};}function patchUpdates(_0x248aca){return function(_0x18ef77){try{jsonpatch[_0x547c('0x24')](_0x18ef77,_0x248aca,!![]);}catch(_0x58ddc9){return BPromise[_0x547c('0x25')](_0x58ddc9);}return _0x18ef77[_0x547c('0x26')]();};}function saveUpdates(_0x496c38,_0x5453f9){return function(_0x35040a){if(_0x35040a){return _0x35040a[_0x547c('0x27')](_0x496c38)['then'](function(_0x11e709){return _0x11e709;});}return null;};}function removeEntity(_0x16a3a6,_0x592e46){return function(_0x2e317a){if(_0x2e317a){return _0x2e317a[_0x547c('0x28')]()[_0x547c('0x29')](function(){_0x16a3a6['status'](0xcc)[_0x547c('0x1e')]();});}};}function handleEntityNotFound(_0x361c5c,_0x470694){return function(_0x26823c){if(!_0x26823c){_0x361c5c[_0x547c('0x1c')](0x194);}return _0x26823c;};}function handleError(_0x2663bc,_0x2ab2cc){_0x2ab2cc=_0x2ab2cc||0x1f4;return function(_0x17fa33){logger['error'](_0x17fa33[_0x547c('0x2a')]);if(_0x17fa33['name']){delete _0x17fa33['name'];}_0x2663bc['status'](_0x2ab2cc)['send'](_0x17fa33);};}exports[_0x547c('0x2b')]=function(_0x4c5256,_0x93985c){var _0x5729b0={},_0x3ea493={},_0x486216={'count':0x0,'rows':[]};var _0x1c2cd2=_[_0x547c('0x2c')](db[_0x547c('0x2d')][_0x547c('0x2e')],function(_0x198afb){return{'name':_0x198afb['fieldName'],'type':_0x198afb['type'][_0x547c('0x2f')]};});_0x3ea493['model']=_[_0x547c('0x2c')](_0x1c2cd2,_0x547c('0x30'));_0x3ea493[_0x547c('0x31')]=_[_0x547c('0x32')](_0x4c5256[_0x547c('0x31')]);_0x3ea493[_0x547c('0x33')]=_[_0x547c('0x34')](_0x3ea493['model'],_0x3ea493['query']);_0x5729b0[_0x547c('0x35')]=_[_0x547c('0x34')](_0x3ea493[_0x547c('0x36')],qs[_0x547c('0x37')](_0x4c5256[_0x547c('0x31')][_0x547c('0x37')]));_0x5729b0[_0x547c('0x35')]=_0x5729b0[_0x547c('0x35')][_0x547c('0x38')]?_0x5729b0[_0x547c('0x35')]:_0x3ea493[_0x547c('0x36')];if(!_0x4c5256[_0x547c('0x31')][_0x547c('0x39')](_0x547c('0x3a'))){_0x5729b0['limit']=qs[_0x547c('0x3b')](_0x4c5256['query']['limit']);_0x5729b0['offset']=qs[_0x547c('0x21')](_0x4c5256[_0x547c('0x31')][_0x547c('0x21')]);}_0x5729b0[_0x547c('0x3c')]=qs[_0x547c('0x3d')](_0x4c5256[_0x547c('0x31')]['sort']);_0x5729b0['where']=qs['filters'](_[_0x547c('0x3e')](_0x4c5256[_0x547c('0x31')],_0x3ea493[_0x547c('0x33')]),_0x1c2cd2);if(_0x4c5256[_0x547c('0x31')][_0x547c('0x3f')]){_0x5729b0[_0x547c('0x40')]=_['merge'](_0x5729b0[_0x547c('0x40')],{'$or':_['map'](_0x1c2cd2,function(_0x32308f){if(_0x32308f[_0x547c('0x41')]!=='VIRTUAL'){var _0x380705={};_0x380705[_0x32308f['name']]={'$like':'%'+_0x4c5256['query'][_0x547c('0x3f')]+'%'};return _0x380705;}})});}_0x5729b0=_[_0x547c('0x42')]({},_0x5729b0,_0x4c5256[_0x547c('0x43')]);var _0x22a70b={'where':_0x5729b0['where']};return db['SmsApplication'][_0x547c('0x20')](_0x22a70b)[_0x547c('0x29')](function(_0x411c6f){_0x486216['count']=_0x411c6f;if(_0x4c5256[_0x547c('0x31')][_0x547c('0x44')]){_0x5729b0[_0x547c('0x45')]=[{'all':!![]}];}return db['SmsApplication'][_0x547c('0x46')](_0x5729b0);})[_0x547c('0x29')](function(_0xbb08e7){_0x486216['rows']=_0xbb08e7;return _0x486216;})[_0x547c('0x29')](respondWithFilteredResult(_0x93985c,_0x5729b0))[_0x547c('0x47')](handleError(_0x93985c,null));};exports['show']=function(_0x26ea8c,_0x23c8b2){var _0x9c3cb2={'raw':!![],'where':{'id':_0x26ea8c[_0x547c('0x48')]['id']}},_0x4ffd10={};_0x4ffd10['model']=_[_0x547c('0x32')](db['SmsApplication'][_0x547c('0x2e')]);_0x4ffd10[_0x547c('0x31')]=_[_0x547c('0x32')](_0x26ea8c[_0x547c('0x31')]);_0x4ffd10[_0x547c('0x33')]=_[_0x547c('0x34')](_0x4ffd10['model'],_0x4ffd10['query']);_0x9c3cb2[_0x547c('0x35')]=_[_0x547c('0x34')](_0x4ffd10[_0x547c('0x36')],qs['fields'](_0x26ea8c[_0x547c('0x31')][_0x547c('0x37')]));_0x9c3cb2[_0x547c('0x35')]=_0x9c3cb2[_0x547c('0x35')][_0x547c('0x38')]?_0x9c3cb2[_0x547c('0x35')]:_0x4ffd10['model'];if(_0x26ea8c[_0x547c('0x31')][_0x547c('0x44')]){_0x9c3cb2[_0x547c('0x45')]=[{'all':!![]}];}_0x9c3cb2=_['merge']({},_0x9c3cb2,_0x26ea8c[_0x547c('0x43')]);return db[_0x547c('0x2d')][_0x547c('0x49')](_0x9c3cb2)[_0x547c('0x29')](handleEntityNotFound(_0x23c8b2,null))['then'](respondWithResult(_0x23c8b2,null))[_0x547c('0x47')](handleError(_0x23c8b2,null));};exports['create']=function(_0x15ffa6,_0x5025cc){return db[_0x547c('0x2d')][_0x547c('0x4a')](_0x15ffa6['body'],{})[_0x547c('0x29')](respondWithResult(_0x5025cc,0xc9))[_0x547c('0x47')](handleError(_0x5025cc,null));};exports[_0x547c('0x27')]=function(_0x1ddf30,_0x52d419){if(_0x1ddf30[_0x547c('0x4b')]['id']){delete _0x1ddf30['body']['id'];}return db['SmsApplication'][_0x547c('0x49')]({'where':{'id':_0x1ddf30[_0x547c('0x48')]['id']}})[_0x547c('0x29')](handleEntityNotFound(_0x52d419,null))[_0x547c('0x29')](saveUpdates(_0x1ddf30[_0x547c('0x4b')],null))[_0x547c('0x29')](respondWithResult(_0x52d419,null))[_0x547c('0x47')](handleError(_0x52d419,null));};exports[_0x547c('0x28')]=function(_0x58cb05,_0x31a262){return db[_0x547c('0x2d')][_0x547c('0x49')]({'where':{'id':_0x58cb05['params']['id']}})['then'](handleEntityNotFound(_0x31a262,null))[_0x547c('0x29')](removeEntity(_0x31a262,null))[_0x547c('0x47')](handleError(_0x31a262,null));}; \ No newline at end of file diff --git a/server/api/smsApplication/smsApplication.model.js b/server/api/smsApplication/smsApplication.model.js index b4d0f3e..6e1240a 100644 --- a/server/api/smsApplication/smsApplication.model.js +++ b/server/api/smsApplication/smsApplication.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x145b=['path','rimraf','../../config/environment','./smsApplication.attributes','exports','define','SmsApplication','sms_applications','utf8mb4','utf8mb4_unicode_ci','util','../../config/logger','api','moment','bluebird','request-promise'];(function(_0x462d4b,_0x597689){var _0x606afe=function(_0x2ca5bc){while(--_0x2ca5bc){_0x462d4b['push'](_0x462d4b['shift']());}};_0x606afe(++_0x597689);}(_0x145b,0x1ba));var _0xb145=function(_0x10f0ae,_0x28ef20){_0x10f0ae=_0x10f0ae-0x0;var _0x12c89d=_0x145b[_0x10f0ae];return _0x12c89d;};'use strict';var _=require('lodash');var util=require(_0xb145('0x0'));var logger=require(_0xb145('0x1'))(_0xb145('0x2'));var moment=require(_0xb145('0x3'));var BPromise=require(_0xb145('0x4'));var rp=require(_0xb145('0x5'));var fs=require('fs');var path=require(_0xb145('0x6'));var rimraf=require(_0xb145('0x7'));var config=require(_0xb145('0x8'));var attributes=require(_0xb145('0x9'));module[_0xb145('0xa')]=function(_0x55269b,_0x2af45f){return _0x55269b[_0xb145('0xb')](_0xb145('0xc'),attributes,{'tableName':_0xb145('0xd'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':_0xb145('0xe'),'collate':_0xb145('0xf')});}; \ No newline at end of file +var _0x7d4d=['bluebird','path','rimraf','../../config/environment','./smsApplication.attributes','exports','define','SmsApplication','utf8mb4_unicode_ci','lodash','../../config/logger','api','moment'];(function(_0x42cae2,_0x284ef8){var _0x5f256f=function(_0x41abc8){while(--_0x41abc8){_0x42cae2['push'](_0x42cae2['shift']());}};_0x5f256f(++_0x284ef8);}(_0x7d4d,0x98));var _0xd7d4=function(_0xef4cf0,_0x16c9c3){_0xef4cf0=_0xef4cf0-0x0;var _0x497ad2=_0x7d4d[_0xef4cf0];return _0x497ad2;};'use strict';var _=require(_0xd7d4('0x0'));var util=require('util');var logger=require(_0xd7d4('0x1'))(_0xd7d4('0x2'));var moment=require(_0xd7d4('0x3'));var BPromise=require(_0xd7d4('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xd7d4('0x5'));var rimraf=require(_0xd7d4('0x6'));var config=require(_0xd7d4('0x7'));var attributes=require(_0xd7d4('0x8'));module[_0xd7d4('0x9')]=function(_0x384ade,_0x46f457){return _0x384ade[_0xd7d4('0xa')](_0xd7d4('0xb'),attributes,{'tableName':'sms_applications','paranoid':![],'indexes':[],'timestamps':!![],'charset':'utf8mb4','collate':_0xd7d4('0xc')});}; \ No newline at end of file diff --git a/server/api/smsApplication/smsApplication.rpc.js b/server/api/smsApplication/smsApplication.rpc.js index cad8dbf..0512443 100644 --- a/server/api/smsApplication/smsApplication.rpc.js +++ b/server/api/smsApplication/smsApplication.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x21d1=['bluebird','randomstring','ioredis','../../config/logger','rpc','../../config/environment','jayson/promise','client','request','then','info','SmsApplication,\x20%s,\x20%s','debug','SmsApplication,\x20%s,\x20%s,\x20%s','request\x20sent','error','code','message','result','catch','lodash','util','moment'];(function(_0x5c05e2,_0xdd34b2){var _0x36d6c7=function(_0x4bb656){while(--_0x4bb656){_0x5c05e2['push'](_0x5c05e2['shift']());}};_0x36d6c7(++_0xdd34b2);}(_0x21d1,0x1c9));var _0x121d=function(_0x45f61b,_0x29b627){_0x45f61b=_0x45f61b-0x0;var _0x229bf0=_0x21d1[_0x45f61b];return _0x229bf0;};'use strict';var _=require(_0x121d('0x0'));var util=require(_0x121d('0x1'));var moment=require(_0x121d('0x2'));var BPromise=require(_0x121d('0x3'));var rs=require(_0x121d('0x4'));var fs=require('fs');var Redis=require(_0x121d('0x5'));var db=require('../../mysqldb')['db'];var utils=require('../../config/utils');var logger=require(_0x121d('0x6'))(_0x121d('0x7'));var config=require(_0x121d('0x8'));var jayson=require(_0x121d('0x9'));var client=jayson[_0x121d('0xa')]['http']({'port':0x232a});function respondWithRpcPromise(_0x226625,_0x2bd1e8,_0x47b50b){return new BPromise(function(_0x2d4d7e,_0x242f0c){return client[_0x121d('0xb')](_0x226625,_0x47b50b)[_0x121d('0xc')](function(_0x8b07c2){logger[_0x121d('0xd')](_0x121d('0xe'),_0x2bd1e8,'request\x20sent');logger[_0x121d('0xf')](_0x121d('0x10'),_0x2bd1e8,_0x121d('0x11'),JSON['stringify'](_0x8b07c2));if(_0x8b07c2['error']){if(_0x8b07c2[_0x121d('0x12')][_0x121d('0x13')]===0x1f4){logger[_0x121d('0x12')]('SmsApplication,\x20%s,\x20%s',_0x2bd1e8,_0x8b07c2['error'][_0x121d('0x14')]);return _0x242f0c(_0x8b07c2['error'][_0x121d('0x14')]);}logger[_0x121d('0x12')](_0x121d('0xe'),_0x2bd1e8,_0x8b07c2['error'][_0x121d('0x14')]);return _0x2d4d7e(_0x8b07c2[_0x121d('0x12')][_0x121d('0x14')]);}else{logger[_0x121d('0xd')](_0x121d('0xe'),_0x2bd1e8,_0x121d('0x11'));_0x2d4d7e(_0x8b07c2[_0x121d('0x15')][_0x121d('0x14')]);}})[_0x121d('0x16')](function(_0x475541){logger[_0x121d('0x12')](_0x121d('0xe'),_0x2bd1e8,_0x475541);_0x242f0c(_0x475541);});});} \ No newline at end of file +var _0x6808=['SmsApplication,\x20%s,\x20%s,\x20%s','request\x20sent','stringify','error','code','message','SmsApplication,\x20%s,\x20%s','result','catch','lodash','util','moment','bluebird','randomstring','ioredis','../../mysqldb','../../config/utils','rpc','../../config/environment','jayson/promise','client','http','request','then','info'];(function(_0x3a5a8d,_0x22dac9){var _0x1b94b7=function(_0x2529ea){while(--_0x2529ea){_0x3a5a8d['push'](_0x3a5a8d['shift']());}};_0x1b94b7(++_0x22dac9);}(_0x6808,0xd1));var _0x8680=function(_0x1a4b98,_0x533dec){_0x1a4b98=_0x1a4b98-0x0;var _0x239299=_0x6808[_0x1a4b98];return _0x239299;};'use strict';var _=require(_0x8680('0x0'));var util=require(_0x8680('0x1'));var moment=require(_0x8680('0x2'));var BPromise=require(_0x8680('0x3'));var rs=require(_0x8680('0x4'));var fs=require('fs');var Redis=require(_0x8680('0x5'));var db=require(_0x8680('0x6'))['db'];var utils=require(_0x8680('0x7'));var logger=require('../../config/logger')(_0x8680('0x8'));var config=require(_0x8680('0x9'));var jayson=require(_0x8680('0xa'));var client=jayson[_0x8680('0xb')][_0x8680('0xc')]({'port':0x232a});function respondWithRpcPromise(_0x5ea2c7,_0xb588b7,_0x1b8e2c){return new BPromise(function(_0x4d7b13,_0x4d1c84){return client[_0x8680('0xd')](_0x5ea2c7,_0x1b8e2c)[_0x8680('0xe')](function(_0x5c49c9){logger[_0x8680('0xf')]('SmsApplication,\x20%s,\x20%s',_0xb588b7,'request\x20sent');logger['debug'](_0x8680('0x10'),_0xb588b7,_0x8680('0x11'),JSON[_0x8680('0x12')](_0x5c49c9));if(_0x5c49c9[_0x8680('0x13')]){if(_0x5c49c9[_0x8680('0x13')][_0x8680('0x14')]===0x1f4){logger[_0x8680('0x13')]('SmsApplication,\x20%s,\x20%s',_0xb588b7,_0x5c49c9['error'][_0x8680('0x15')]);return _0x4d1c84(_0x5c49c9[_0x8680('0x13')][_0x8680('0x15')]);}logger['error'](_0x8680('0x16'),_0xb588b7,_0x5c49c9[_0x8680('0x13')][_0x8680('0x15')]);return _0x4d7b13(_0x5c49c9[_0x8680('0x13')][_0x8680('0x15')]);}else{logger[_0x8680('0xf')](_0x8680('0x16'),_0xb588b7,'request\x20sent');_0x4d7b13(_0x5c49c9[_0x8680('0x17')]['message']);}})[_0x8680('0x18')](function(_0x5b9ad3){logger[_0x8680('0x13')](_0x8680('0x16'),_0xb588b7,_0x5b9ad3);_0x4d1c84(_0x5b9ad3);});});} \ No newline at end of file diff --git a/server/api/smsInteraction/index.js b/server/api/smsInteraction/index.js index e0f25cb..cc3afdf 100644 --- a/server/api/smsInteraction/index.js +++ b/server/api/smsInteraction/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xc5e5=['../../components/interaction/service','./smsInteraction.controller','get','isAuthenticated','/describe','describe','/:id','show','/:id/messages','getMessages','post','create','addMessage','/:id/tags','tracked','smsinteraction:addtags','addTags','put','sms','smsinteraction:update','update','smsinteraction:destroy','removeTags','exports','path','express','Router','../../components/auth/service'];(function(_0x305486,_0x36621c){var _0x35a4f0=function(_0x5de2be){while(--_0x5de2be){_0x305486['push'](_0x305486['shift']());}};_0x35a4f0(++_0x36621c);}(_0xc5e5,0xdc));var _0x5c5e=function(_0x23bdc3,_0x4350e0){_0x23bdc3=_0x23bdc3-0x0;var _0x8cd3f1=_0xc5e5[_0x23bdc3];return _0x8cd3f1;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x5c5e('0x0'));var timeout=require('connect-timeout');var express=require(_0x5c5e('0x1'));var router=express[_0x5c5e('0x2')]();var auth=require(_0x5c5e('0x3'));var interaction=require(_0x5c5e('0x4'));var config=require('../../config/environment');var controller=require(_0x5c5e('0x5'));router[_0x5c5e('0x6')]('/',auth[_0x5c5e('0x7')](),controller['index']);router[_0x5c5e('0x6')](_0x5c5e('0x8'),auth['isAuthenticated'](),controller[_0x5c5e('0x9')]);router[_0x5c5e('0x6')](_0x5c5e('0xa'),auth[_0x5c5e('0x7')](),controller[_0x5c5e('0xb')]);router[_0x5c5e('0x6')](_0x5c5e('0xc'),auth['isAuthenticated'](),controller[_0x5c5e('0xd')]);router[_0x5c5e('0x6')]('/:id/download',auth[_0x5c5e('0x7')](),controller['download']);router[_0x5c5e('0xe')]('/',auth[_0x5c5e('0x7')](),controller[_0x5c5e('0xf')]);router[_0x5c5e('0xe')](_0x5c5e('0xc'),auth['isAuthenticated'](),controller[_0x5c5e('0x10')]);router[_0x5c5e('0xe')](_0x5c5e('0x11'),auth['isAuthenticated'](),interaction[_0x5c5e('0x12')]('sms',_0x5c5e('0x13')),controller[_0x5c5e('0x14')]);router[_0x5c5e('0x15')]('/:id',auth[_0x5c5e('0x7')](),interaction[_0x5c5e('0x12')](_0x5c5e('0x16'),_0x5c5e('0x17')),controller[_0x5c5e('0x18')]);router['delete'](_0x5c5e('0xa'),auth[_0x5c5e('0x7')](),interaction[_0x5c5e('0x12')](_0x5c5e('0x16'),_0x5c5e('0x19')),controller['destroy']);router['delete']('/:id/tags',auth[_0x5c5e('0x7')](),controller[_0x5c5e('0x1a')]);module[_0x5c5e('0x1b')]=router; \ No newline at end of file +var _0x2f68=['describe','/:id','show','/:id/messages','download','create','addMessage','tracked','sms','smsinteraction:addtags','addTags','put','smsinteraction:update','update','delete','smsinteraction:destroy','destroy','/:id/tags','removeTags','exports','util','path','connect-timeout','express','Router','../../components/interaction/service','../../config/environment','./smsInteraction.controller','get','isAuthenticated','/describe'];(function(_0x413feb,_0x10477f){var _0x40ee88=function(_0x32a3f6){while(--_0x32a3f6){_0x413feb['push'](_0x413feb['shift']());}};_0x40ee88(++_0x10477f);}(_0x2f68,0x12b));var _0x82f6=function(_0x1200d3,_0x5e8910){_0x1200d3=_0x1200d3-0x0;var _0x51ac4e=_0x2f68[_0x1200d3];return _0x51ac4e;};'use strict';var multer=require('multer');var util=require(_0x82f6('0x0'));var path=require(_0x82f6('0x1'));var timeout=require(_0x82f6('0x2'));var express=require(_0x82f6('0x3'));var router=express[_0x82f6('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0x82f6('0x5'));var config=require(_0x82f6('0x6'));var controller=require(_0x82f6('0x7'));router[_0x82f6('0x8')]('/',auth[_0x82f6('0x9')](),controller['index']);router['get'](_0x82f6('0xa'),auth['isAuthenticated'](),controller[_0x82f6('0xb')]);router[_0x82f6('0x8')](_0x82f6('0xc'),auth['isAuthenticated'](),controller[_0x82f6('0xd')]);router[_0x82f6('0x8')](_0x82f6('0xe'),auth[_0x82f6('0x9')](),controller['getMessages']);router[_0x82f6('0x8')]('/:id/download',auth['isAuthenticated'](),controller[_0x82f6('0xf')]);router['post']('/',auth[_0x82f6('0x9')](),controller[_0x82f6('0x10')]);router['post'](_0x82f6('0xe'),auth['isAuthenticated'](),controller[_0x82f6('0x11')]);router['post']('/:id/tags',auth[_0x82f6('0x9')](),interaction[_0x82f6('0x12')](_0x82f6('0x13'),_0x82f6('0x14')),controller[_0x82f6('0x15')]);router[_0x82f6('0x16')](_0x82f6('0xc'),auth[_0x82f6('0x9')](),interaction[_0x82f6('0x12')](_0x82f6('0x13'),_0x82f6('0x17')),controller[_0x82f6('0x18')]);router[_0x82f6('0x19')](_0x82f6('0xc'),auth[_0x82f6('0x9')](),interaction[_0x82f6('0x12')]('sms',_0x82f6('0x1a')),controller[_0x82f6('0x1b')]);router[_0x82f6('0x19')](_0x82f6('0x1c'),auth['isAuthenticated'](),controller[_0x82f6('0x1d')]);module[_0x82f6('0x1e')]=router; \ No newline at end of file diff --git a/server/api/smsInteraction/smsInteraction.attributes.js b/server/api/smsInteraction/smsInteraction.attributes.js index 7a94dc6..d85f758 100644 --- a/server/api/smsInteraction/smsInteraction.attributes.js +++ b/server/api/smsInteraction/smsInteraction.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x757a=['moment','exports','STRING','DATE','ENUM','out'];(function(_0x2e1d3d,_0x719bf0){var _0x3d81df=function(_0x3ddfa3){while(--_0x3ddfa3){_0x2e1d3d['push'](_0x2e1d3d['shift']());}};_0x3d81df(++_0x719bf0);}(_0x757a,0xde));var _0xa757=function(_0x4ea593,_0xfac0e3){_0x4ea593=_0x4ea593-0x0;var _0x3fd641=_0x757a[_0x4ea593];return _0x3fd641;};'use strict';var Sequelize=require('sequelize');var moment=require(_0xa757('0x0'));module[_0xa757('0x1')]={'closed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'closedAt':{'type':Sequelize['DATE']},'disposition':{'type':Sequelize['STRING']},'note':{'type':Sequelize[_0xa757('0x2')]},'phone':{'type':Sequelize[_0xa757('0x2')]},'read1stAt':{'type':Sequelize[_0xa757('0x3')]},'firstMsgDirection':{'type':Sequelize[_0xa757('0x4')]('in',_0xa757('0x5')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0xa757('0x3')]},'lastMsgDirection':{'type':Sequelize['ENUM']('in',_0xa757('0x5')),'defaultValue':'in','allowNull':![]}}; \ No newline at end of file +var _0xcb91=['exports','BOOLEAN','DATE','STRING','out'];(function(_0x23d54e,_0x1435f6){var _0x1df316=function(_0x5cdd2b){while(--_0x5cdd2b){_0x23d54e['push'](_0x23d54e['shift']());}};_0x1df316(++_0x1435f6);}(_0xcb91,0x1a9));var _0x1cb9=function(_0x476c7,_0x298ee0){_0x476c7=_0x476c7-0x0;var _0x47ae56=_0xcb91[_0x476c7];return _0x47ae56;};'use strict';var Sequelize=require('sequelize');var moment=require('moment');module[_0x1cb9('0x0')]={'closed':{'type':Sequelize[_0x1cb9('0x1')],'defaultValue':![]},'closedAt':{'type':Sequelize[_0x1cb9('0x2')]},'disposition':{'type':Sequelize[_0x1cb9('0x3')]},'note':{'type':Sequelize['STRING']},'phone':{'type':Sequelize[_0x1cb9('0x3')]},'read1stAt':{'type':Sequelize[_0x1cb9('0x2')]},'firstMsgDirection':{'type':Sequelize['ENUM']('in',_0x1cb9('0x4')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0x1cb9('0x2')]},'lastMsgDirection':{'type':Sequelize['ENUM']('in',_0x1cb9('0x4')),'defaultValue':'in','allowNull':![]}}; \ No newline at end of file diff --git a/server/api/smsInteraction/smsInteraction.controller.js b/server/api/smsInteraction/smsInteraction.controller.js index dd87342..825f14b 100644 --- a/server/api/smsInteraction/smsInteraction.controller.js +++ b/server/api/smsInteraction/smsInteraction.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x1d2d=['path','sox','to-csv','ejs','lodash','crypto','jsforce','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/environment','../../mysqldb','redis','defaults','localhost','socket.io-emitter','./smsInteraction.socket','register','sendStatus','end','status','json','count','offset','apply','reject','save','update','then','destroy','error','stack','send','Users','map','TagIds','Tags','split','forEach','push','catch','SmsInteraction','rawAttributes','fieldName','type','model','name','query','filters','attributes','length','hasOwnProperty','nolimit','limit','order','sort','pick','select','field','color','tools_tags','u.fullname','ui.SmsInteractionId','user_has_sms_interactions','left_join','users','u.id\x20=\x20ui.UserId','sms_interactions','c.id\x20=\x20i.ContactId\x20AND\x20c.deletedAt\x20IS\x20NULL','o.id\x20=\x20i.UserId','sms_accounts','a.id\x20=\x20i.SmsAccountId','sms_messages','me.SmsInteractionId\x20=\x20i.id','sms_interaction_has_tags','it.SmsInteractionId\x20=\x20i.id','t.id\x20=\x20it.TagId','expr','sqlOperator','conditions','find','unreadMessages','value','having','`\x20=\x200','`\x20>\x200','Contact','operator','$substring','MATCH\x20(c.firstName,\x20c.lastName,\x20c.phone,\x20c.mobile,\x20c.fax,\x20c.email)\x20AGAINST\x20(?\x20IN\x20BOOLEAN\x20MODE)','getFullTextValue','c.firstName\x20LIKE\x20?\x20OR\x20c.lastName\x20LIKE\x20?\x20OR\x20c.email\x20LIKE\x20?','ContactId','buildExpression','text','start','Tag','CONCAT(\x27,\x27,\x20`TagIds`,\x20\x27,\x27)\x20LIKE\x20?','union','User','CONCAT_WS(\x27\x20\x27,\x20o.name,\x20o.fullname)\x20LIKE\x20?','UserId','body','compact','SmsAccountId','i.SmsAccountId\x20IN\x20?','concat','createdAt','parse','$gte','$lte','where','i.createdAt\x20BETWEEN\x20?\x20AND\x20?','\x20IS\x20NULL','\x20=\x20?','read','`unreadMessages`\x20=\x200','`unreadMessages`\x20>\x200','tag','isArray','filter','replace','\x27\x27\x27\x27','i.id\x20LIKE\x20?','i.phone\x20LIKE\x20?','MATCH\x20(me.body)\x20AGAINST\x20(?\x20IN\x20BOOLEAN\x20MODE)','CONCAT(c.firstName,\x20\x27\x20\x27,\x20c.lastName)\x20LIKE\x20?','group','i.id','Sequelize','SELECT','clone','SUM(me.read\x20=\x200\x20AND\x20me.direction\x20=\x20\x27in\x27)','DESC','isEmpty','t.id\x20IN\x20?','resolve','journey','i.SmsAccountId\x20IS\x20NOT\x20NULL','user','getSmsAccounts','i.SmsAccountId\x20IS\x20NULL','sequelize','toString','keyBy','merge','fields','a.key','Account.key','Account.mandatoryDisposition','i.*','c.firstName','Contact.firstName','Contact.lastName','c.email','Contact.email','c.phone','Contact.phone','c.mobile','Contact.mobile','c.fax','Contact.fax','o.fullname','Owner.fullname','Owner.internal','GROUP_CONCAT(DISTINCT\x20t.id)','ui.SmsInteractionId\x20IN\x20?','groupBy','all','rows','show','params','keys','intersection','includeAll','include','options','create','describe','SmsMessage','addMessage','ids','omit','getMessages','findOne','SmsInteractionId','format','YYYY-MM-DD\x20HH:mm:ss','findAll','setTags','emit','smsInteractionTags:save','removeTags','unix','join','root','server','tmp','files','attachments','transcript-%d-%s.zip','fullname','CmContact','firstName','direction','secret','SmsAccount','Owner','get','mkdirSync','10px','40px','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
Interaction\x20Transcript
\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','30px','%s\x20#%d','Sms','YYYY-MM-DD','Account','N.A.','closed','closedAt','disposition','Messages','out','System','lastName','downloadInteraction.html','toFile','transcript-','download','log','err','unlinkSync','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','moment','util'];(function(_0x473da8,_0x4070f8){var _0x2930d7=function(_0x5dc25f){while(--_0x5dc25f){_0x473da8['push'](_0x473da8['shift']());}};_0x2930d7(++_0x4070f8);}(_0x1d2d,0xf0));var _0xd1d2=function(_0x35a908,_0x1d4b62){_0x35a908=_0x35a908-0x0;var _0x1e279e=_0x1d2d[_0x35a908];return _0x1e279e;};'use strict';var pdf=require(_0xd1d2('0x0'));var emlformat=require(_0xd1d2('0x1'));var rimraf=require(_0xd1d2('0x2'));var zipdir=require(_0xd1d2('0x3'));var jsonpatch=require(_0xd1d2('0x4'));var rp=require('request-promise');var moment=require(_0xd1d2('0x5'));var BPromise=require('bluebird');var Mustache=require('mustache');var util=require(_0xd1d2('0x6'));var path=require(_0xd1d2('0x7'));var sox=require(_0xd1d2('0x8'));var csv=require(_0xd1d2('0x9'));var ejs=require(_0xd1d2('0xa'));var fs=require('fs');var _=require(_0xd1d2('0xb'));var squel=require('squel');var crypto=require(_0xd1d2('0xc'));var jsforce=require(_0xd1d2('0xd'));var deskjs=require(_0xd1d2('0xe'));var toCsv=require(_0xd1d2('0x9'));var querystring=require(_0xd1d2('0xf'));var Papa=require(_0xd1d2('0x10'));var Redis=require(_0xd1d2('0x11'));var authService=require(_0xd1d2('0x12'));var qs=require(_0xd1d2('0x13'));var as=require(_0xd1d2('0x14'));var hardwareService=require(_0xd1d2('0x15'));var logger=require(_0xd1d2('0x16'))(_0xd1d2('0x17'));var utils=require('../../config/utils');var config=require(_0xd1d2('0x18'));var db=require(_0xd1d2('0x19'))['db'];config[_0xd1d2('0x1a')]=_[_0xd1d2('0x1b')](config[_0xd1d2('0x1a')],{'host':_0xd1d2('0x1c'),'port':0x18eb});var socket=require(_0xd1d2('0x1d'))(new Redis(config[_0xd1d2('0x1a')]));require(_0xd1d2('0x1e'))[_0xd1d2('0x1f')](socket);function respondWithStatusCode(_0x4cf702,_0x2e7fec){_0x2e7fec=_0x2e7fec||0xcc;return function(_0x3c0296){if(_0x3c0296){return _0x4cf702[_0xd1d2('0x20')](_0x2e7fec);}return _0x4cf702['status'](_0x2e7fec)[_0xd1d2('0x21')]();};}function respondWithResult(_0xc36ce,_0x208425){_0x208425=_0x208425||0xc8;return function(_0x2f4cf9){if(_0x2f4cf9){return _0xc36ce[_0xd1d2('0x22')](_0x208425)[_0xd1d2('0x23')](_0x2f4cf9);}};}function respondWithFilteredResult(_0x275996,_0x57f2f9){return function(_0x539d5a){if(_0x539d5a){var _0x3be186=_0x539d5a[_0xd1d2('0x24')],_0x55320b=_0x57f2f9[_0xd1d2('0x25')],_0x247b3a=_0x57f2f9['offset']+_0x57f2f9['limit'],_0x42565b;if(_0x247b3a>=_0x3be186){_0x247b3a=_0x3be186;_0x42565b=0xc8;}else{_0x42565b=0xce;}_0x275996[_0xd1d2('0x22')](_0x42565b);return _0x275996['set']('Content-Range',_0x55320b+'-'+_0x247b3a+'/'+_0x3be186)[_0xd1d2('0x23')](_0x539d5a);}return null;};}function patchUpdates(_0x27e26b){return function(_0x3414ce){try{jsonpatch[_0xd1d2('0x26')](_0x3414ce,_0x27e26b,!![]);}catch(_0x596cd8){return BPromise[_0xd1d2('0x27')](_0x596cd8);}return _0x3414ce[_0xd1d2('0x28')]();};}function saveUpdates(_0x24b8db,_0x4eb082){return function(_0x59e72c){if(_0x59e72c){return _0x59e72c[_0xd1d2('0x29')](_0x24b8db)[_0xd1d2('0x2a')](function(_0x19d535){return _0x19d535;});}return null;};}function removeEntity(_0x2f92ee,_0x3f229c){return function(_0x33a171){if(_0x33a171){return _0x33a171[_0xd1d2('0x2b')]()['then'](function(){_0x2f92ee[_0xd1d2('0x22')](0xcc)[_0xd1d2('0x21')]();});}};}function handleEntityNotFound(_0x41330f,_0x2e1709){return function(_0x5d3ee1){if(!_0x5d3ee1){_0x41330f[_0xd1d2('0x20')](0x194);}return _0x5d3ee1;};}function handleError(_0x28b8be,_0x34faf7){_0x34faf7=_0x34faf7||0x1f4;return function(_0xe6ef3c){logger[_0xd1d2('0x2c')](_0xe6ef3c[_0xd1d2('0x2d')]);if(_0xe6ef3c['name']){delete _0xe6ef3c['name'];}_0x28b8be[_0xd1d2('0x22')](_0x34faf7)[_0xd1d2('0x2e')](_0xe6ef3c);};}function getInteractionUsers(_0x1e6072,_0x2b4c1f){return new BPromise(function(_0xc815ea,_0x48ade1){try{if(_0x2b4c1f[_0x1e6072['id']]){_0x1e6072[_0xd1d2('0x2f')]=_[_0xd1d2('0x30')](_0x2b4c1f[_0x1e6072['id']],function(_0x383947){return{'id':_0x383947['id'],'fullname':_0x383947['fullname']};});}}catch(_0x19db00){_0x48ade1(_0x19db00);}_0xc815ea(_0x1e6072);});}function getInteractionTags(_0x1db17f,_0xbd855a){return new BPromise(function(_0x56557d,_0x419db7){try{if(_0x1db17f[_0xd1d2('0x31')]){_0x1db17f[_0xd1d2('0x32')]=[];_0x1db17f[_0xd1d2('0x31')][_0xd1d2('0x33')](',')[_0xd1d2('0x34')](function(_0x42e89d){_0x1db17f[_0xd1d2('0x32')][_0xd1d2('0x35')](_0xbd855a[_0x42e89d]);});}delete _0x1db17f[_0xd1d2('0x31')];}catch(_0x28d062){_0x419db7(_0x28d062);}_0x56557d(_0x1db17f);});}function updateSmsInteraction(_0x1246d3,_0x2c677b,_0x2d9508){return new BPromise(function(_0x372481,_0xb6ad51){return getInteractionUsers(_0x1246d3,_0x2d9508)[_0xd1d2('0x2a')](function(_0x3e9b39){return getInteractionTags(_0x3e9b39,_0x2c677b);})['then'](function(_0x1541ff){_0x372481(_0x1541ff);})[_0xd1d2('0x36')](function(_0xb4369a){_0xb6ad51(_0xb4369a);});});}exports['index']=function(_0x2ded64,_0x516049){var _0x57a7fb={},_0x12904d={},_0x103c5f={'count':0x0,'rows':[]};var _0x1702be=_[_0xd1d2('0x30')](db[_0xd1d2('0x37')][_0xd1d2('0x38')],function(_0x56f48e){return{'name':_0x56f48e[_0xd1d2('0x39')],'type':_0x56f48e[_0xd1d2('0x3a')]['key']};});_0x12904d[_0xd1d2('0x3b')]=_[_0xd1d2('0x30')](_0x1702be,_0xd1d2('0x3c'));_0x12904d[_0xd1d2('0x3d')]=_['keys'](_0x2ded64['query']);_0x12904d[_0xd1d2('0x3e')]=_['intersection'](_0x12904d['model'],_0x12904d['query']);_0x57a7fb[_0xd1d2('0x3f')]=_['intersection'](_0x12904d[_0xd1d2('0x3b')],qs['fields'](_0x2ded64['query']['fields']));_0x57a7fb[_0xd1d2('0x3f')]=_0x57a7fb[_0xd1d2('0x3f')][_0xd1d2('0x40')]?_0x57a7fb[_0xd1d2('0x3f')]:_0x12904d[_0xd1d2('0x3b')];if(!_0x2ded64[_0xd1d2('0x3d')][_0xd1d2('0x41')](_0xd1d2('0x42'))){_0x57a7fb[_0xd1d2('0x43')]=qs[_0xd1d2('0x43')](_0x2ded64[_0xd1d2('0x3d')][_0xd1d2('0x43')]);_0x57a7fb[_0xd1d2('0x25')]=qs[_0xd1d2('0x25')](_0x2ded64['query']['offset']);}_0x57a7fb[_0xd1d2('0x44')]=qs[_0xd1d2('0x45')](_0x2ded64[_0xd1d2('0x3d')]['sort']);_0x57a7fb['where']=qs[_0xd1d2('0x3e')](_[_0xd1d2('0x46')](_0x2ded64['query'],_0x12904d[_0xd1d2('0x3e')]),_0x1702be);var _0x4c5d49=[];var _0x5a3790=squel[_0xd1d2('0x47')]()['field']('id')['field'](_0xd1d2('0x3c'))[_0xd1d2('0x48')](_0xd1d2('0x49'))['from'](_0xd1d2('0x4a'));var _0x192fa4=squel[_0xd1d2('0x47')]()[_0xd1d2('0x48')]('u.id')[_0xd1d2('0x48')](_0xd1d2('0x4b'))['field'](_0xd1d2('0x4c'))['from'](_0xd1d2('0x4d'),'ui')[_0xd1d2('0x4e')](_0xd1d2('0x4f'),'u',_0xd1d2('0x50'));var _0x1fd2fc=squel['select']()['from'](_0xd1d2('0x51'),'i')[_0xd1d2('0x4e')]('cm_contacts','c',_0xd1d2('0x52'))[_0xd1d2('0x4e')](_0xd1d2('0x4f'),'o',_0xd1d2('0x53'))[_0xd1d2('0x4e')](_0xd1d2('0x54'),'a',_0xd1d2('0x55'))['left_join'](_0xd1d2('0x56'),'me',_0xd1d2('0x57'))['left_join'](_0xd1d2('0x58'),'it',_0xd1d2('0x59'))['left_join']('tools_tags','t',_0xd1d2('0x5a'));var _0x182ea8=squel['expr']();var _0x21fdfb=[];var _0x11bfa6=squel[_0xd1d2('0x5b')]();var _0x23ab46;if(_0x2ded64[_0xd1d2('0x3d')]['search']){_0x23ab46=as['parseSearch'](_0x2ded64[_0xd1d2('0x3d')]['search']);var _0x32f0e1=_0x23ab46[_0xd1d2('0x5c')];for(var _0x4f4cb9=0x0;_0x4f4cb9<_0x23ab46[_0xd1d2('0x5d')][_0xd1d2('0x40')];_0x4f4cb9++){var _0x4e780c=_0x23ab46['conditions'][_0x4f4cb9];var _0x10cd2e='i';var _0x20ab8b=_[_0xd1d2('0x5e')](_0x1702be,[_0xd1d2('0x3c'),_0x4e780c[_0xd1d2('0x48')]]);if(!_0x20ab8b){switch(_0x4e780c[_0xd1d2('0x48')]){case _0xd1d2('0x5f'):if(_0x4e780c[_0xd1d2('0x60')]==0x1){_0x1fd2fc[_0xd1d2('0x61')]('`'+_0x4e780c['field']+_0xd1d2('0x62'));}else{_0x1fd2fc['having']('`'+_0x4e780c['field']+_0xd1d2('0x63'));}break;case _0xd1d2('0x64'):if(_0x4e780c[_0xd1d2('0x65')]===_0xd1d2('0x66')){if(_0x4e780c[_0xd1d2('0x60')][_0xd1d2('0x33')]('\x20')[_0xd1d2('0x40')]>0x1){_0x182ea8[_0x32f0e1](_0xd1d2('0x67'),qs[_0xd1d2('0x68')](_0x4e780c[_0xd1d2('0x60')]),null);}else{var _0x28173a='%'+_0x4e780c[_0xd1d2('0x60')]+'%';_0x182ea8[_0x32f0e1](_0xd1d2('0x69'),_0x28173a,_0x28173a,_0x28173a);}}else{_0x20ab8b=_['find'](_0x1702be,['name',_0xd1d2('0x6a')]);_0x4e780c[_0xd1d2('0x48')]=_0xd1d2('0x6a');_0x3799b7=as[_0xd1d2('0x6b')](_0x10cd2e,_0x20ab8b[_0xd1d2('0x3a')],_0x4e780c);_0x182ea8[_0x32f0e1](_0x3799b7[_0xd1d2('0x6c')],_0x3799b7[_0xd1d2('0x60')][_0xd1d2('0x6d')],_0x3799b7[_0xd1d2('0x60')][_0xd1d2('0x21')]);}break;case _0xd1d2('0x6e'):var _0x54406e=_0x4e780c['value'][_0xd1d2('0x33')](',')[_0xd1d2('0x30')](function(_0x3d1da1){return Number(_0x3d1da1);});_0x54406e[_0xd1d2('0x34')](function(_0x544870){_0x11bfa6['or'](_0xd1d2('0x6f'),'%,'+_0x544870+',%');});_0x21fdfb=_[_0xd1d2('0x70')](_0x21fdfb,_0x54406e);break;case _0xd1d2('0x71'):if(_0x4e780c[_0xd1d2('0x65')]===_0xd1d2('0x66')){_0x182ea8[_0x32f0e1](_0xd1d2('0x72'),'%'+_0x4e780c[_0xd1d2('0x60')]+'%',null);}else{_0x20ab8b=_['find'](_0x1702be,[_0xd1d2('0x3c'),_0xd1d2('0x73')]);_0x4e780c[_0xd1d2('0x48')]='UserId';_0x3799b7=as['buildExpression'](_0x10cd2e,_0x20ab8b[_0xd1d2('0x3a')],_0x4e780c);_0x182ea8[_0x32f0e1](_0x3799b7[_0xd1d2('0x6c')],_0x3799b7[_0xd1d2('0x60')][_0xd1d2('0x6d')],_0x3799b7['value'][_0xd1d2('0x21')]);}break;case _0xd1d2('0x74'):_0x3799b7=as[_0xd1d2('0x6b')]('me',null,_0x4e780c);_0x182ea8[_0x32f0e1](_0x3799b7['text'],_0x3799b7[_0xd1d2('0x60')][_0xd1d2('0x6d')],_0x3799b7['value'][_0xd1d2('0x21')]);break;}}else{var _0x3799b7=as[_0xd1d2('0x6b')](_0x10cd2e,_0x20ab8b[_0xd1d2('0x3a')],_0x4e780c);_0x182ea8[_0x32f0e1](_0x3799b7['text'],_0x3799b7[_0xd1d2('0x60')][_0xd1d2('0x6d')],_0x3799b7[_0xd1d2('0x60')][_0xd1d2('0x21')]);}}}else{var _0x2c2147=_(_0x2ded64['query'])['keys']()['map'](function(_0x541676){return _['some'](_0x1702be,[_0xd1d2('0x3c'),_0x541676])?_0x541676:undefined;})[_0xd1d2('0x75')]()[_0xd1d2('0x60')]();if(!_['isEmpty'](_0x2c2147)){_0x2c2147[_0xd1d2('0x34')](function(_0x17c4eb){if(_0x17c4eb===_0xd1d2('0x76')){_0x1fd2fc['where'](_0xd1d2('0x77'),[][_0xd1d2('0x78')](_0x2ded64[_0xd1d2('0x3d')][_0x17c4eb]));}else if(_0x17c4eb===_0xd1d2('0x79')){var _0x43b43c=JSON[_0xd1d2('0x7a')](_0x2ded64['query'][_0x17c4eb])[_0xd1d2('0x7b')];var _0x1c3c36=JSON['parse'](_0x2ded64['query'][_0x17c4eb])[_0xd1d2('0x7c')];_0x1fd2fc[_0xd1d2('0x7d')](_0xd1d2('0x7e'),_0x43b43c,_0x1c3c36);}else{if(_0x2ded64[_0xd1d2('0x3d')][_0x17c4eb]==='null'){_0x1fd2fc[_0xd1d2('0x7d')]('i.'+_0x17c4eb+_0xd1d2('0x7f'));}else{_0x1fd2fc[_0xd1d2('0x7d')]('i.'+_0x17c4eb+_0xd1d2('0x80'),_0x2ded64['query'][_0x17c4eb]);}}});}if(_0x2ded64[_0xd1d2('0x3d')][_0xd1d2('0x81')]){if(_0x2ded64[_0xd1d2('0x3d')]['read']==0x1){_0x1fd2fc[_0xd1d2('0x61')](_0xd1d2('0x82'));}else{_0x1fd2fc['having'](_0xd1d2('0x83'));}}if(_0x2ded64[_0xd1d2('0x3d')][_0xd1d2('0x84')]){_0x21fdfb=_[_0xd1d2('0x85')](_0x2ded64[_0xd1d2('0x3d')]['tag'])?_0x2ded64[_0xd1d2('0x3d')]['tag']:new Array(_0x2ded64['query']['tag']);_0x21fdfb['forEach'](function(_0x89ec63){_0x11bfa6['or']('CONCAT(\x27,\x27,\x20`TagIds`,\x20\x27,\x27)\x20LIKE\x20?','%,'+_0x89ec63+',%');});}if(_0x2ded64[_0xd1d2('0x3d')]['filter']){var _0x3451a0=_0x2ded64[_0xd1d2('0x3d')][_0xd1d2('0x86')][_0xd1d2('0x87')]('\x5c','\x5c\x5c')[_0xd1d2('0x87')]('\x27\x27',_0xd1d2('0x88'));if(qs['isNumeric'](_0x3451a0)){_0x182ea8['or'](_0xd1d2('0x89'),_0x3451a0+'%')['or'](_0xd1d2('0x8a'),_0x3451a0+'%');}else{_0x182ea8['or'](_0xd1d2('0x8b'),qs[_0xd1d2('0x68')](_0x3451a0))['or'](_0xd1d2('0x8c'),_0x3451a0+'%');}}}_0x1fd2fc[_0xd1d2('0x7d')](_0x182ea8);_0x1fd2fc[_0xd1d2('0x8d')](_0xd1d2('0x8e'));var _0x3614dc={'type':db[_0xd1d2('0x8f')]['QueryTypes'][_0xd1d2('0x90')],'raw':!![]};var _0x428200=_0x1fd2fc[_0xd1d2('0x91')]();_0x428200[_0xd1d2('0x48')]('i.id');_0x428200[_0xd1d2('0x48')](_0xd1d2('0x92'),_0xd1d2('0x5f'));if(_0x57a7fb['order']){_0x57a7fb[_0xd1d2('0x44')][_0xd1d2('0x34')](function(_0x53b36d){_0x1fd2fc['order']('i.'+_0x53b36d[0x0],_0x53b36d[0x1]===_0xd1d2('0x93')?![]:!![]);});}if(!_[_0xd1d2('0x94')](_0x21fdfb)){_0x1fd2fc[_0xd1d2('0x61')](_0x11bfa6);_0x428200[_0xd1d2('0x7d')](_0xd1d2('0x95'),_0x21fdfb);}BPromise[_0xd1d2('0x96')]()[_0xd1d2('0x2a')](function(){if(!_0x23ab46){if(_0x2ded64['query'][_0xd1d2('0x76')]||_0x2ded64[_0xd1d2('0x3d')][_0xd1d2('0x97')])return;_0x428200[_0xd1d2('0x7d')](_0xd1d2('0x98'));_0x1fd2fc[_0xd1d2('0x7d')](_0xd1d2('0x98'));return;}return _0x2ded64[_0xd1d2('0x99')][_0xd1d2('0x9a')]({'attributes':['id'],'raw':!![]})[_0xd1d2('0x2a')](function(_0x2c3650){if(_[_0xd1d2('0x94')](_0x2c3650)){_0x428200[_0xd1d2('0x7d')](_0xd1d2('0x9b'));_0x1fd2fc['where'](_0xd1d2('0x9b'));}else{_0x428200[_0xd1d2('0x7d')](_0xd1d2('0x77'),_[_0xd1d2('0x30')](_0x2c3650,'id'));_0x1fd2fc[_0xd1d2('0x7d')](_0xd1d2('0x77'),_[_0xd1d2('0x30')](_0x2c3650,'id'));}});})[_0xd1d2('0x2a')](function(){db[_0xd1d2('0x9c')][_0xd1d2('0x3d')](_0x428200[_0xd1d2('0x9d')](),_0x3614dc)[_0xd1d2('0x2a')](function(_0x1d2d5e){_0x103c5f['count']=_0x1d2d5e[_0xd1d2('0x40')];if(_0x103c5f[_0xd1d2('0x24')]===0x0)return[];return db[_0xd1d2('0x9c')][_0xd1d2('0x3d')](_0x5a3790[_0xd1d2('0x9d')](),_0x3614dc)[_0xd1d2('0x2a')](function(_0x4c8f82){_0x4c5d49=_[_0xd1d2('0x9e')](_0x4c8f82,'id');_0x3614dc=_[_0xd1d2('0x9f')](_0x3614dc,{'model':db[_0xd1d2('0x37')],'mapToModel':!![],'raw':!![],'nest':!![]});if(_0x2ded64[_0xd1d2('0x3d')][_0xd1d2('0xa0')]){_0x57a7fb['attributes'][_0xd1d2('0x34')](function(_0x234262){_0x1fd2fc[_0xd1d2('0x48')]('i.'+_0x234262);});}else{_0x1fd2fc[_0xd1d2('0x48')](_0xd1d2('0x92'),'unreadMessages');_0x1fd2fc[_0xd1d2('0x48')](_0xd1d2('0xa1'),_0xd1d2('0xa2'));_0x1fd2fc[_0xd1d2('0x48')]('a.mandatoryDisposition',_0xd1d2('0xa3'));_0x1fd2fc[_0xd1d2('0x48')](_0xd1d2('0xa4'));_0x1fd2fc[_0xd1d2('0x48')](_0xd1d2('0xa5'),_0xd1d2('0xa6'));_0x1fd2fc[_0xd1d2('0x48')]('c.lastName',_0xd1d2('0xa7'));_0x1fd2fc[_0xd1d2('0x48')](_0xd1d2('0xa8'),_0xd1d2('0xa9'));_0x1fd2fc[_0xd1d2('0x48')](_0xd1d2('0xaa'),_0xd1d2('0xab'));_0x1fd2fc[_0xd1d2('0x48')](_0xd1d2('0xac'),_0xd1d2('0xad'));_0x1fd2fc[_0xd1d2('0x48')](_0xd1d2('0xae'),_0xd1d2('0xaf'));_0x1fd2fc[_0xd1d2('0x48')](_0xd1d2('0xb0'),_0xd1d2('0xb1'));_0x1fd2fc[_0xd1d2('0x48')]('o.internal',_0xd1d2('0xb2'));_0x1fd2fc['field'](_0xd1d2('0xb3'),_0xd1d2('0x31'));}if(_0x57a7fb[_0xd1d2('0x43')])_0x1fd2fc[_0xd1d2('0x43')](_0x57a7fb[_0xd1d2('0x43')]);if(_0x57a7fb[_0xd1d2('0x25')])_0x1fd2fc[_0xd1d2('0x25')](_0x57a7fb[_0xd1d2('0x25')]);return db['sequelize']['query'](_0x1fd2fc[_0xd1d2('0x9d')](),_0x3614dc);})['then'](function(_0x49c182){_0x192fa4[_0xd1d2('0x7d')](_0xd1d2('0xb4'),_['map'](_0x49c182,'id'));return db[_0xd1d2('0x9c')][_0xd1d2('0x3d')](_0x192fa4[_0xd1d2('0x9d')](),_0x3614dc)[_0xd1d2('0x2a')](function(_0x28c17a){var _0x20ef9f=_[_0xd1d2('0xb5')](_0x28c17a,'SmsInteractionId');var _0x47185d=[];_0x49c182['forEach'](function(_0x1fb0a2){_0x47185d['push'](updateSmsInteraction(_0x1fb0a2,_0x4c5d49,_0x20ef9f));});return BPromise[_0xd1d2('0xb6')](_0x47185d);});});})[_0xd1d2('0x2a')](function(_0x405aa7){_0x103c5f[_0xd1d2('0xb7')]=_0x405aa7;return _0x103c5f;})[_0xd1d2('0x2a')](respondWithFilteredResult(_0x516049,_0x57a7fb));})[_0xd1d2('0x36')](handleError(_0x516049,null));};exports[_0xd1d2('0xb8')]=function(_0x5a9620,_0xf9b866){var _0x188265={'raw':![],'where':{'id':_0x5a9620[_0xd1d2('0xb9')]['id']}},_0x3455be={};_0x3455be['model']=_[_0xd1d2('0xba')](db[_0xd1d2('0x37')][_0xd1d2('0x38')]);_0x3455be['query']=_[_0xd1d2('0xba')](_0x5a9620[_0xd1d2('0x3d')]);_0x3455be[_0xd1d2('0x3e')]=_[_0xd1d2('0xbb')](_0x3455be[_0xd1d2('0x3b')],_0x3455be['query']);_0x188265[_0xd1d2('0x3f')]=_[_0xd1d2('0xbb')](_0x3455be['model'],qs[_0xd1d2('0xa0')](_0x5a9620[_0xd1d2('0x3d')][_0xd1d2('0xa0')]));_0x188265[_0xd1d2('0x3f')]=_0x188265[_0xd1d2('0x3f')]['length']?_0x188265[_0xd1d2('0x3f')]:_0x3455be[_0xd1d2('0x3b')];if(_0x5a9620[_0xd1d2('0x3d')][_0xd1d2('0xbc')]){_0x188265[_0xd1d2('0xbd')]=[{'all':!![]}];}_0x188265=_[_0xd1d2('0x9f')]({},_0x188265,_0x5a9620[_0xd1d2('0xbe')]);return db['SmsInteraction'][_0xd1d2('0x5e')](_0x188265)[_0xd1d2('0x2a')](handleEntityNotFound(_0xf9b866,null))[_0xd1d2('0x2a')](respondWithResult(_0xf9b866,null))['catch'](handleError(_0xf9b866,null));};exports[_0xd1d2('0xbf')]=function(_0x21094a,_0x41729c){return db[_0xd1d2('0x37')]['create'](_0x21094a[_0xd1d2('0x74')],{})[_0xd1d2('0x2a')](respondWithResult(_0x41729c,0xc9))['catch'](handleError(_0x41729c,null));};exports['update']=function(_0x274738,_0x5ed0cd){if(_0x274738[_0xd1d2('0x74')]['id']){delete _0x274738[_0xd1d2('0x74')]['id'];}return db['SmsInteraction']['find']({'where':{'id':_0x274738[_0xd1d2('0xb9')]['id']}})['then'](handleEntityNotFound(_0x5ed0cd,null))[_0xd1d2('0x2a')](saveUpdates(_0x274738['body'],null))['then'](respondWithResult(_0x5ed0cd,null))[_0xd1d2('0x36')](handleError(_0x5ed0cd,null));};exports[_0xd1d2('0x2b')]=function(_0x128702,_0x76d340){return db[_0xd1d2('0x37')][_0xd1d2('0x5e')]({'where':{'id':_0x128702['params']['id']}})['then'](handleEntityNotFound(_0x76d340,null))[_0xd1d2('0x2a')](removeEntity(_0x76d340,null))[_0xd1d2('0x36')](handleError(_0x76d340,null));};exports[_0xd1d2('0xc0')]=function(_0x3d4880,_0x39ab07){return db[_0xd1d2('0x37')][_0xd1d2('0xc0')]()['then'](respondWithResult(_0x39ab07,null))[_0xd1d2('0x36')](handleError(_0x39ab07,null));};exports['addMessage']=function(_0x309075,_0x403d8e,_0x53cef6){return db[_0xd1d2('0xc1')][_0xd1d2('0x5e')]({'where':{'id':_0x309075[_0xd1d2('0xb9')]['id']}})[_0xd1d2('0x2a')](handleEntityNotFound(_0x403d8e,null))[_0xd1d2('0x2a')](function(_0x29664a){if(_0x29664a){return _0x29664a[_0xd1d2('0xc2')](_0x309075[_0xd1d2('0x74')][_0xd1d2('0xc3')],_[_0xd1d2('0xc4')](_0x309075[_0xd1d2('0x74')],[_0xd1d2('0xc3'),'id'])||{});}})['then'](respondWithResult(_0x403d8e,null))[_0xd1d2('0x36')](handleError(_0x403d8e,null));};exports[_0xd1d2('0xc5')]=function(_0x3b6ac8,_0xe066fc,_0x29c3d4){var _0x1d119c={'raw':![],'where':{}};var _0x32eaa8={};var _0x3d069c={'count':0x0,'rows':[]};return db[_0xd1d2('0x37')][_0xd1d2('0xc6')]({'where':{'id':_0x3b6ac8[_0xd1d2('0xb9')]['id']}})[_0xd1d2('0x2a')](handleEntityNotFound(_0xe066fc,null))[_0xd1d2('0x2a')](function(_0x305c82){if(_0x305c82){_0x32eaa8[_0xd1d2('0x3b')]=_[_0xd1d2('0xba')](db['SmsMessage'][_0xd1d2('0x38')]);_0x32eaa8['query']=_[_0xd1d2('0xba')](_0x3b6ac8[_0xd1d2('0x3d')]);_0x32eaa8[_0xd1d2('0x3e')]=_[_0xd1d2('0xbb')](_0x32eaa8[_0xd1d2('0x3b')],_0x32eaa8[_0xd1d2('0x3d')]);_0x1d119c[_0xd1d2('0x3f')]=_[_0xd1d2('0xbb')](_0x32eaa8[_0xd1d2('0x3b')],qs['fields'](_0x3b6ac8['query']['fields']));_0x1d119c[_0xd1d2('0x3f')]=_0x1d119c[_0xd1d2('0x3f')][_0xd1d2('0x40')]?_0x1d119c['attributes']:_0x32eaa8['model'];if(!_0x3b6ac8[_0xd1d2('0x3d')][_0xd1d2('0x41')](_0xd1d2('0x42'))){_0x1d119c['limit']=qs[_0xd1d2('0x43')](_0x3b6ac8['query'][_0xd1d2('0x43')]);_0x1d119c['offset']=qs[_0xd1d2('0x25')](_0x3b6ac8[_0xd1d2('0x3d')][_0xd1d2('0x25')]);}_0x1d119c[_0xd1d2('0x44')]=qs[_0xd1d2('0x45')](_0x3b6ac8['query'][_0xd1d2('0x45')]);_0x1d119c['where']=qs['filters'](_[_0xd1d2('0x46')](_0x3b6ac8[_0xd1d2('0x3d')],_0x32eaa8['filters']));_0x1d119c['where'][_0xd1d2('0xc7')]=_0x305c82['id'];if(_0x3b6ac8[_0xd1d2('0x3d')][_0xd1d2('0x86')]){_0x1d119c['where']=_['merge'](_0x1d119c[_0xd1d2('0x7d')],{'$or':_[_0xd1d2('0x30')](_0x1d119c[_0xd1d2('0x3f')],function(_0x260f38){var _0x340680={};_0x340680[_0x260f38]={'$like':'%'+_0x3b6ac8[_0xd1d2('0x3d')][_0xd1d2('0x86')]+'%'};return _0x340680;})});}if(_0x3b6ac8[_0xd1d2('0x3d')]['$gte']){var _0xb13738=_0x3b6ac8[_0xd1d2('0x3d')]['$gte'][_0xd1d2('0x33')](',');var _0x32f50e={};_0x32f50e[_0xb13738[0x0]]={'$gte':moment(_0xb13738[0x1])[_0xd1d2('0xc8')](_0xd1d2('0xc9'))};_0x1d119c['where']=_[_0xd1d2('0x9f')](_0x1d119c['where'],_0x32f50e);}_0x1d119c=_[_0xd1d2('0x9f')]({},_0x1d119c,_0x3b6ac8[_0xd1d2('0xbe')]);return db['SmsMessage'][_0xd1d2('0x24')]({'where':_0x1d119c[_0xd1d2('0x7d')]})['then'](function(_0x2eda24){_0x3d069c['count']=_0x2eda24;if(_0x3b6ac8[_0xd1d2('0x3d')][_0xd1d2('0xbc')]){_0x1d119c['include']=[{'all':!![]}];}return db[_0xd1d2('0xc1')][_0xd1d2('0xca')](_0x1d119c);})[_0xd1d2('0x2a')](function(_0x21e9bd){_0x3d069c['rows']=_0x21e9bd;return _0x3d069c;});}})['then'](respondWithFilteredResult(_0xe066fc,_0x1d119c))['catch'](handleError(_0xe066fc,null));};exports['addTags']=function(_0x80b03d,_0x212182,_0x3d3d7f){return db[_0xd1d2('0x37')]['find']({'where':{'id':_0x80b03d[_0xd1d2('0xb9')]['id']}})['then'](handleEntityNotFound(_0x212182,null))[_0xd1d2('0x2a')](function(_0xacfc72){if(_0xacfc72){return _0xacfc72[_0xd1d2('0xcb')](_0x80b03d[_0xd1d2('0x74')][_0xd1d2('0xc3')],_['omit'](_0x80b03d[_0xd1d2('0x74')],['ids','id'])||{})['spread'](function(){return db[_0xd1d2('0x6e')]['findAll']({'attributes':['id','name','color'],'where':{'id':_0x80b03d[_0xd1d2('0x74')]['ids']}});})['then'](function(_0xde3f52){socket[_0xd1d2('0xcc')](_0xd1d2('0xcd'),{'id':Number(_0x80b03d[_0xd1d2('0xb9')]['id']),'tags':_0xde3f52||[]});return{'id':Number(_0x80b03d[_0xd1d2('0xb9')]['id']),'tags':_0xde3f52||[]};});}})[_0xd1d2('0x2a')](respondWithResult(_0x212182,null))['catch'](handleError(_0x212182,null));};exports['removeTags']=function(_0x39dd2a,_0x194921,_0x50bdea){return db[_0xd1d2('0x37')][_0xd1d2('0x5e')]({'where':{'id':_0x39dd2a[_0xd1d2('0xb9')]['id']}})['then'](handleEntityNotFound(_0x194921,null))[_0xd1d2('0x2a')](function(_0x588a6a){if(_0x588a6a){return _0x588a6a[_0xd1d2('0xce')](_0x39dd2a[_0xd1d2('0x3d')][_0xd1d2('0xc3')]);}})[_0xd1d2('0x2a')](respondWithStatusCode(_0x194921,null))[_0xd1d2('0x36')](handleError(_0x194921,null));};exports['download']=function(_0x10face,_0xfed6c7){var _0x58eb30=moment()[_0xd1d2('0xcf')]()[_0xd1d2('0x9d')]();var _0x3443ae=path[_0xd1d2('0xd0')](config[_0xd1d2('0xd1')],_0xd1d2('0xd2'),'files',_0xd1d2('0xd3'));var _0x384716=path[_0xd1d2('0xd0')](config['root'],_0xd1d2('0xd2'),_0xd1d2('0xd4'),_0xd1d2('0xd5'));var _0x2ae2e3=path[_0xd1d2('0xd0')](_0x3443ae,_0x58eb30);var _0x4fedbc=util[_0xd1d2('0xc8')](_0xd1d2('0xd6'),_0x10face[_0xd1d2('0xb9')]['id'],_0x58eb30);var _0x57993e=path[_0xd1d2('0xd0')](_0x3443ae,_0x4fedbc);var _0x56bc95=[];_0x56bc95[_0xd1d2('0x35')]({'model':db[_0xd1d2('0x71')],'as':_0xd1d2('0x71'),'attributes':['id',_0xd1d2('0xd7')],'raw':!![]});_0x56bc95[_0xd1d2('0x35')]({'model':db[_0xd1d2('0xd8')],'as':_0xd1d2('0x64'),'attributes':['id',_0xd1d2('0xd9'),'lastName'],'raw':!![]});var _0x429aa6=[{'model':db[_0xd1d2('0xc1')],'as':'Messages','attributes':['id','body','createdAt',_0xd1d2('0xda'),_0xd1d2('0xdb'),'read'],'include':_0x56bc95}];_0x429aa6[_0xd1d2('0x35')]({'model':db[_0xd1d2('0xdc')],'as':'Account','attributes':['id',_0xd1d2('0x3c')]});_0x429aa6[_0xd1d2('0x35')]({'model':db['User'],'as':_0xd1d2('0xdd'),'attributes':['id','fullname']});return db['SmsInteraction'][_0xd1d2('0x5e')]({'where':{'id':_0x10face[_0xd1d2('0xb9')]['id']},'include':_0x429aa6})[_0xd1d2('0x2a')](handleEntityNotFound(_0xfed6c7,null))[_0xd1d2('0x2a')](function(_0x9fe5b4){if(_0x9fe5b4){var _0x194734=_0x9fe5b4[_0xd1d2('0xde')]({'plain':!![]});fs[_0xd1d2('0xdf')](_0x2ae2e3);var _0x55c0ca={'format':'A4','border':_0xd1d2('0xe0'),'header':{'height':_0xd1d2('0xe1'),'contents':{'first':_0xd1d2('0xe2')}},'footer':{'height':_0xd1d2('0xe3'),'contents':{'default':util[_0xd1d2('0xc8')]('\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20%s\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{page}}/{{pages}}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20%s\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20',util[_0xd1d2('0xc8')](_0xd1d2('0xe4'),_0xd1d2('0xe5'),_0x194734['id']),moment()[_0xd1d2('0xc8')](_0xd1d2('0xe6'))[_0xd1d2('0x9d')]())}}};var _0x5cbaed={'channel':_0xd1d2('0xe5'),'account':_0x194734[_0xd1d2('0xe7')][_0xd1d2('0x3c')],'agent':_0x194734[_0xd1d2('0xdd')]?_0x194734[_0xd1d2('0xdd')][_0xd1d2('0xd7')]:_0xd1d2('0xe8'),'createdAt':moment(_0x194734[_0xd1d2('0x79')])[_0xd1d2('0xc8')]('YYYY-MM-DD\x20HH:mm:ss')['toString'](),'closedAt':_0x194734[_0xd1d2('0xe9')]?moment(_0x194734[_0xd1d2('0xea')])['format'](_0xd1d2('0xc9'))[_0xd1d2('0x9d')]():'','disposition':_0x194734[_0xd1d2('0xeb')],'messages':_(_0x194734[_0xd1d2('0xec')])['filter']({'secret':![]})[_0xd1d2('0x30')](function(_0x2d9f1d){return{'date':moment(_0x2d9f1d[_0xd1d2('0x79')])['format'](_0xd1d2('0xc9'))['toString'](),'sender':_0x2d9f1d[_0xd1d2('0xda')]===_0xd1d2('0xed')?_0x2d9f1d[_0xd1d2('0x71')]?_0x2d9f1d[_0xd1d2('0x71')]['fullname']:_0xd1d2('0xee'):_0x2d9f1d[_0xd1d2('0x64')]['firstName']+(_0x2d9f1d[_0xd1d2('0x64')][_0xd1d2('0xef')]?'\x20'+_0x2d9f1d['Contact'][_0xd1d2('0xef')]:''),'body':_0x2d9f1d['body'],'direction':_0x2d9f1d[_0xd1d2('0xda')]==='out'?'A':'C','secret':_0x2d9f1d['secret'],'read':_0x2d9f1d[_0xd1d2('0x81')]};})[_0xd1d2('0x60')]()};return ejs['renderFile'](path[_0xd1d2('0xd0')](config['root'],'server','views',_0xd1d2('0xf0')),{'interaction':_0x5cbaed})[_0xd1d2('0x2a')](function(_0x1b5cd6){return new BPromise(function(_0x5e6421,_0x13581e){pdf['create'](_0x1b5cd6,_0x55c0ca)[_0xd1d2('0xf1')](path[_0xd1d2('0xd0')](_0x2ae2e3,_0xd1d2('0xf2')+_0x194734['id']+'-'+_0x58eb30+'.pdf'),function(_0x1b8382,_0x41d5bc){if(_0x1b8382)return _0x13581e(_0x1b8382);_0x5e6421(_0x41d5bc);});});})[_0xd1d2('0x2a')](function(){return new BPromise(function(_0x66f1dc,_0x615b9b){zipdir(_0x2ae2e3,{'saveTo':_0x57993e},function(_0x1d4b9a,_0x4bccef){if(_0x1d4b9a)return _0x615b9b(_0x1d4b9a);return _0x66f1dc(_0x4bccef);});})[_0xd1d2('0x2a')](function(){return new BPromise(function(_0x3cb397,_0x13367a){rimraf(_0x2ae2e3,function(_0x128ef1){if(_0x128ef1)_0x13367a(_0x128ef1);return _0x3cb397();});});})['then'](function(){return _0xfed6c7[_0xd1d2('0xf3')](_0x57993e,_0x4fedbc,function(_0x46e79d){if(_0x46e79d){console[_0xd1d2('0xf4')](_0xd1d2('0xf5'),_0x46e79d);}else{fs[_0xd1d2('0xf6')](_0x57993e);}});});});}else{return _0xfed6c7[_0xd1d2('0x20')](0xc8);}})[_0xd1d2('0x36')](handleError(_0xfed6c7,null));}; \ No newline at end of file +var _0x1339=['emit','smsInteractionTags:save','removeTags','unix','root','server','files','tmp','join','attachments','transcript-%d-%s.zip','CmContact','lastName','direction','get','mkdirSync','10px','40px','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
Interaction\x20Transcript
\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','30px','%s\x20#%d','Sms','YYYY-MM-DD','Account','Owner','closed','disposition','Messages','System','out','secret','renderFile','toFile','transcript-','download','err','unlinkSync','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','mustache','util','sox','to-csv','ejs','squel','crypto','jsforce','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','defaults','redis','register','sendStatus','status','json','count','offset','limit','set','apply','update','then','end','name','send','Users','map','fullname','TagIds','Tags','split','push','catch','SmsInteraction','rawAttributes','fieldName','type','key','model','query','filters','intersection','attributes','fields','length','nolimit','order','sort','where','pick','field','color','from','tools_tags','select','u.fullname','user_has_sms_interactions','left_join','u.id\x20=\x20ui.UserId','sms_interactions','cm_contacts','c.id\x20=\x20i.ContactId\x20AND\x20c.deletedAt\x20IS\x20NULL','o.id\x20=\x20i.UserId','sms_messages','me.SmsInteractionId\x20=\x20i.id','sms_interaction_has_tags','it.SmsInteractionId\x20=\x20i.id','t.id\x20=\x20it.TagId','expr','search','parseSearch','sqlOperator','conditions','find','unreadMessages','value','`\x20=\x200','having','`\x20>\x200','Contact','MATCH\x20(c.firstName,\x20c.lastName,\x20c.phone,\x20c.mobile,\x20c.fax,\x20c.email)\x20AGAINST\x20(?\x20IN\x20BOOLEAN\x20MODE)','getFullTextValue','c.firstName\x20LIKE\x20?\x20OR\x20c.lastName\x20LIKE\x20?\x20OR\x20c.email\x20LIKE\x20?','ContactId','start','Tag','forEach','union','User','operator','$substring','CONCAT_WS(\x27\x20\x27,\x20o.name,\x20o.fullname)\x20LIKE\x20?','buildExpression','text','body','keys','some','compact','isEmpty','SmsAccountId','concat','createdAt','parse','$lte','i.createdAt\x20BETWEEN\x20?\x20AND\x20?','null','\x20IS\x20NULL','\x20=\x20?','read','`unreadMessages`\x20=\x200','`unreadMessages`\x20>\x200','tag','CONCAT(\x27,\x27,\x20`TagIds`,\x20\x27,\x27)\x20LIKE\x20?','filter','replace','\x27\x27\x27\x27','i.id\x20LIKE\x20?','i.phone\x20LIKE\x20?','MATCH\x20(me.body)\x20AGAINST\x20(?\x20IN\x20BOOLEAN\x20MODE)','CONCAT(c.firstName,\x20\x27\x20\x27,\x20c.lastName)\x20LIKE\x20?','group','i.id','Sequelize','SELECT','clone','SUM(me.read\x20=\x200\x20AND\x20me.direction\x20=\x20\x27in\x27)','DESC','t.id\x20IN\x20?','journey','i.SmsAccountId\x20IS\x20NOT\x20NULL','user','i.SmsAccountId\x20IS\x20NULL','i.SmsAccountId\x20IN\x20?','sequelize','toString','keyBy','merge','a.key','Account.key','a.mandatoryDisposition','c.firstName','Contact.firstName','Contact.lastName','c.email','Contact.email','Contact.phone','c.mobile','Contact.mobile','c.fax','Contact.fax','o.fullname','Owner.fullname','Owner.internal','GROUP_CONCAT(DISTINCT\x20t.id)','SmsInteractionId','show','params','includeAll','options','create','destroy','describe','addMessage','ids','omit','getMessages','findOne','SmsMessage','hasOwnProperty','$gte','format','YYYY-MM-DD\x20HH:mm:ss','findAll','rows'];(function(_0x37d347,_0x5d23ad){var _0x2f8eea=function(_0x2bbf46){while(--_0x2bbf46){_0x37d347['push'](_0x37d347['shift']());}};_0x2f8eea(++_0x5d23ad);}(_0x1339,0x1ed));var _0x9133=function(_0x1995e2,_0x5d30e5){_0x1995e2=_0x1995e2-0x0;var _0x9d3b4d=_0x1339[_0x1995e2];return _0x9d3b4d;};'use strict';var pdf=require('html-pdf');var emlformat=require('eml-format');var rimraf=require(_0x9133('0x0'));var zipdir=require(_0x9133('0x1'));var jsonpatch=require(_0x9133('0x2'));var rp=require(_0x9133('0x3'));var moment=require(_0x9133('0x4'));var BPromise=require(_0x9133('0x5'));var Mustache=require(_0x9133('0x6'));var util=require(_0x9133('0x7'));var path=require('path');var sox=require(_0x9133('0x8'));var csv=require(_0x9133('0x9'));var ejs=require(_0x9133('0xa'));var fs=require('fs');var _=require('lodash');var squel=require(_0x9133('0xb'));var crypto=require(_0x9133('0xc'));var jsforce=require(_0x9133('0xd'));var deskjs=require(_0x9133('0xe'));var toCsv=require(_0x9133('0x9'));var querystring=require(_0x9133('0xf'));var Papa=require(_0x9133('0x10'));var Redis=require(_0x9133('0x11'));var authService=require(_0x9133('0x12'));var qs=require(_0x9133('0x13'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0x9133('0x14'));var logger=require(_0x9133('0x15'))(_0x9133('0x16'));var utils=require(_0x9133('0x17'));var config=require(_0x9133('0x18'));var db=require(_0x9133('0x19'))['db'];config['redis']=_[_0x9133('0x1a')](config[_0x9133('0x1b')],{'host':'localhost','port':0x18eb});var socket=require('socket.io-emitter')(new Redis(config[_0x9133('0x1b')]));require('./smsInteraction.socket')[_0x9133('0x1c')](socket);function respondWithStatusCode(_0x439e1a,_0x17dfd1){_0x17dfd1=_0x17dfd1||0xcc;return function(_0x464ec5){if(_0x464ec5){return _0x439e1a[_0x9133('0x1d')](_0x17dfd1);}return _0x439e1a[_0x9133('0x1e')](_0x17dfd1)['end']();};}function respondWithResult(_0x13f8fc,_0x1e23ce){_0x1e23ce=_0x1e23ce||0xc8;return function(_0x4f4f14){if(_0x4f4f14){return _0x13f8fc[_0x9133('0x1e')](_0x1e23ce)[_0x9133('0x1f')](_0x4f4f14);}};}function respondWithFilteredResult(_0x3b39ec,_0x427663){return function(_0x4a2c4f){if(_0x4a2c4f){var _0x1f3484=_0x4a2c4f[_0x9133('0x20')],_0x573998=_0x427663[_0x9133('0x21')],_0x3c48ef=_0x427663['offset']+_0x427663[_0x9133('0x22')],_0x5d4a77;if(_0x3c48ef>=_0x1f3484){_0x3c48ef=_0x1f3484;_0x5d4a77=0xc8;}else{_0x5d4a77=0xce;}_0x3b39ec['status'](_0x5d4a77);return _0x3b39ec[_0x9133('0x23')]('Content-Range',_0x573998+'-'+_0x3c48ef+'/'+_0x1f3484)['json'](_0x4a2c4f);}return null;};}function patchUpdates(_0x2f7354){return function(_0x577de4){try{jsonpatch[_0x9133('0x24')](_0x577de4,_0x2f7354,!![]);}catch(_0x4c1088){return BPromise['reject'](_0x4c1088);}return _0x577de4['save']();};}function saveUpdates(_0x2e99a1,_0x2dcfb8){return function(_0x4da09c){if(_0x4da09c){return _0x4da09c[_0x9133('0x25')](_0x2e99a1)[_0x9133('0x26')](function(_0xff08d5){return _0xff08d5;});}return null;};}function removeEntity(_0x26190c,_0x4f26e8){return function(_0xdb7a98){if(_0xdb7a98){return _0xdb7a98['destroy']()[_0x9133('0x26')](function(){_0x26190c[_0x9133('0x1e')](0xcc)[_0x9133('0x27')]();});}};}function handleEntityNotFound(_0x14c1cb,_0x4483ef){return function(_0xe829b){if(!_0xe829b){_0x14c1cb[_0x9133('0x1d')](0x194);}return _0xe829b;};}function handleError(_0x313d43,_0x1b6b3e){_0x1b6b3e=_0x1b6b3e||0x1f4;return function(_0x46050b){logger['error'](_0x46050b['stack']);if(_0x46050b[_0x9133('0x28')]){delete _0x46050b[_0x9133('0x28')];}_0x313d43[_0x9133('0x1e')](_0x1b6b3e)[_0x9133('0x29')](_0x46050b);};}function getInteractionUsers(_0x4de894,_0x4ecd9e){return new BPromise(function(_0x3e2404,_0x45966d){try{if(_0x4ecd9e[_0x4de894['id']]){_0x4de894[_0x9133('0x2a')]=_[_0x9133('0x2b')](_0x4ecd9e[_0x4de894['id']],function(_0x390f50){return{'id':_0x390f50['id'],'fullname':_0x390f50[_0x9133('0x2c')]};});}}catch(_0x48c713){_0x45966d(_0x48c713);}_0x3e2404(_0x4de894);});}function getInteractionTags(_0x58afe0,_0x5a27c1){return new BPromise(function(_0x1ad222,_0x4a4a8e){try{if(_0x58afe0[_0x9133('0x2d')]){_0x58afe0[_0x9133('0x2e')]=[];_0x58afe0['TagIds'][_0x9133('0x2f')](',')['forEach'](function(_0xf0aec4){_0x58afe0[_0x9133('0x2e')][_0x9133('0x30')](_0x5a27c1[_0xf0aec4]);});}delete _0x58afe0['TagIds'];}catch(_0x32e95a){_0x4a4a8e(_0x32e95a);}_0x1ad222(_0x58afe0);});}function updateSmsInteraction(_0x41cfbe,_0x3f189c,_0x5f12b9){return new BPromise(function(_0x10cea6,_0x3393a1){return getInteractionUsers(_0x41cfbe,_0x5f12b9)[_0x9133('0x26')](function(_0x4bb7fa){return getInteractionTags(_0x4bb7fa,_0x3f189c);})[_0x9133('0x26')](function(_0x20da68){_0x10cea6(_0x20da68);})[_0x9133('0x31')](function(_0x1471bb){_0x3393a1(_0x1471bb);});});}exports['index']=function(_0x3ccd89,_0xea26a3){var _0x56719e={},_0x49944={},_0x2d256a={'count':0x0,'rows':[]};var _0x593fbe=_[_0x9133('0x2b')](db[_0x9133('0x32')][_0x9133('0x33')],function(_0x3e02d1){return{'name':_0x3e02d1[_0x9133('0x34')],'type':_0x3e02d1[_0x9133('0x35')][_0x9133('0x36')]};});_0x49944[_0x9133('0x37')]=_['map'](_0x593fbe,_0x9133('0x28'));_0x49944[_0x9133('0x38')]=_['keys'](_0x3ccd89[_0x9133('0x38')]);_0x49944[_0x9133('0x39')]=_[_0x9133('0x3a')](_0x49944[_0x9133('0x37')],_0x49944[_0x9133('0x38')]);_0x56719e[_0x9133('0x3b')]=_['intersection'](_0x49944['model'],qs[_0x9133('0x3c')](_0x3ccd89[_0x9133('0x38')][_0x9133('0x3c')]));_0x56719e[_0x9133('0x3b')]=_0x56719e[_0x9133('0x3b')][_0x9133('0x3d')]?_0x56719e[_0x9133('0x3b')]:_0x49944[_0x9133('0x37')];if(!_0x3ccd89[_0x9133('0x38')]['hasOwnProperty'](_0x9133('0x3e'))){_0x56719e[_0x9133('0x22')]=qs[_0x9133('0x22')](_0x3ccd89[_0x9133('0x38')][_0x9133('0x22')]);_0x56719e['offset']=qs[_0x9133('0x21')](_0x3ccd89[_0x9133('0x38')][_0x9133('0x21')]);}_0x56719e[_0x9133('0x3f')]=qs['sort'](_0x3ccd89[_0x9133('0x38')][_0x9133('0x40')]);_0x56719e[_0x9133('0x41')]=qs[_0x9133('0x39')](_[_0x9133('0x42')](_0x3ccd89[_0x9133('0x38')],_0x49944[_0x9133('0x39')]),_0x593fbe);var _0x4ca1a3=[];var _0x7f6cd9=squel['select']()['field']('id')[_0x9133('0x43')](_0x9133('0x28'))[_0x9133('0x43')](_0x9133('0x44'))[_0x9133('0x45')](_0x9133('0x46'));var _0x344120=squel[_0x9133('0x47')]()[_0x9133('0x43')]('u.id')[_0x9133('0x43')](_0x9133('0x48'))[_0x9133('0x43')]('ui.SmsInteractionId')['from'](_0x9133('0x49'),'ui')[_0x9133('0x4a')]('users','u',_0x9133('0x4b'));var _0x3320d1=squel[_0x9133('0x47')]()[_0x9133('0x45')](_0x9133('0x4c'),'i')['left_join'](_0x9133('0x4d'),'c',_0x9133('0x4e'))[_0x9133('0x4a')]('users','o',_0x9133('0x4f'))[_0x9133('0x4a')]('sms_accounts','a','a.id\x20=\x20i.SmsAccountId')[_0x9133('0x4a')](_0x9133('0x50'),'me',_0x9133('0x51'))[_0x9133('0x4a')](_0x9133('0x52'),'it',_0x9133('0x53'))[_0x9133('0x4a')](_0x9133('0x46'),'t',_0x9133('0x54'));var _0xf07fbb=squel[_0x9133('0x55')]();var _0x2e4d97=[];var _0x4f3092=squel['expr']();var _0xf2e098;if(_0x3ccd89['query'][_0x9133('0x56')]){_0xf2e098=as[_0x9133('0x57')](_0x3ccd89[_0x9133('0x38')][_0x9133('0x56')]);var _0x4ebc85=_0xf2e098[_0x9133('0x58')];for(var _0x25750f=0x0;_0x25750f<_0xf2e098[_0x9133('0x59')]['length'];_0x25750f++){var _0x2b0413=_0xf2e098[_0x9133('0x59')][_0x25750f];var _0x15f638='i';var _0x4ad8c5=_[_0x9133('0x5a')](_0x593fbe,['name',_0x2b0413[_0x9133('0x43')]]);if(!_0x4ad8c5){switch(_0x2b0413[_0x9133('0x43')]){case _0x9133('0x5b'):if(_0x2b0413[_0x9133('0x5c')]==0x1){_0x3320d1['having']('`'+_0x2b0413['field']+_0x9133('0x5d'));}else{_0x3320d1[_0x9133('0x5e')]('`'+_0x2b0413[_0x9133('0x43')]+_0x9133('0x5f'));}break;case _0x9133('0x60'):if(_0x2b0413['operator']==='$substring'){if(_0x2b0413[_0x9133('0x5c')][_0x9133('0x2f')]('\x20')['length']>0x1){_0xf07fbb[_0x4ebc85](_0x9133('0x61'),qs[_0x9133('0x62')](_0x2b0413['value']),null);}else{var _0x508303='%'+_0x2b0413['value']+'%';_0xf07fbb[_0x4ebc85](_0x9133('0x63'),_0x508303,_0x508303,_0x508303);}}else{_0x4ad8c5=_['find'](_0x593fbe,[_0x9133('0x28'),_0x9133('0x64')]);_0x2b0413[_0x9133('0x43')]=_0x9133('0x64');_0x13d5f4=as['buildExpression'](_0x15f638,_0x4ad8c5[_0x9133('0x35')],_0x2b0413);_0xf07fbb[_0x4ebc85](_0x13d5f4['text'],_0x13d5f4[_0x9133('0x5c')][_0x9133('0x65')],_0x13d5f4[_0x9133('0x5c')][_0x9133('0x27')]);}break;case _0x9133('0x66'):var _0x3534bf=_0x2b0413['value']['split'](',')['map'](function(_0xdb0dfa){return Number(_0xdb0dfa);});_0x3534bf[_0x9133('0x67')](function(_0x177ece){_0x4f3092['or']('CONCAT(\x27,\x27,\x20`TagIds`,\x20\x27,\x27)\x20LIKE\x20?','%,'+_0x177ece+',%');});_0x2e4d97=_[_0x9133('0x68')](_0x2e4d97,_0x3534bf);break;case _0x9133('0x69'):if(_0x2b0413[_0x9133('0x6a')]===_0x9133('0x6b')){_0xf07fbb[_0x4ebc85](_0x9133('0x6c'),'%'+_0x2b0413[_0x9133('0x5c')]+'%',null);}else{_0x4ad8c5=_[_0x9133('0x5a')](_0x593fbe,[_0x9133('0x28'),'UserId']);_0x2b0413[_0x9133('0x43')]='UserId';_0x13d5f4=as[_0x9133('0x6d')](_0x15f638,_0x4ad8c5['type'],_0x2b0413);_0xf07fbb[_0x4ebc85](_0x13d5f4[_0x9133('0x6e')],_0x13d5f4[_0x9133('0x5c')]['start'],_0x13d5f4['value'][_0x9133('0x27')]);}break;case _0x9133('0x6f'):_0x13d5f4=as[_0x9133('0x6d')]('me',null,_0x2b0413);_0xf07fbb[_0x4ebc85](_0x13d5f4[_0x9133('0x6e')],_0x13d5f4[_0x9133('0x5c')][_0x9133('0x65')],_0x13d5f4[_0x9133('0x5c')][_0x9133('0x27')]);break;}}else{var _0x13d5f4=as[_0x9133('0x6d')](_0x15f638,_0x4ad8c5[_0x9133('0x35')],_0x2b0413);_0xf07fbb[_0x4ebc85](_0x13d5f4['text'],_0x13d5f4[_0x9133('0x5c')]['start'],_0x13d5f4[_0x9133('0x5c')][_0x9133('0x27')]);}}}else{var _0x7b6dae=_(_0x3ccd89[_0x9133('0x38')])[_0x9133('0x70')]()['map'](function(_0x35bc72){return _[_0x9133('0x71')](_0x593fbe,[_0x9133('0x28'),_0x35bc72])?_0x35bc72:undefined;})[_0x9133('0x72')]()['value']();if(!_[_0x9133('0x73')](_0x7b6dae)){_0x7b6dae[_0x9133('0x67')](function(_0xcfcae2){if(_0xcfcae2===_0x9133('0x74')){_0x3320d1['where']('i.SmsAccountId\x20IN\x20?',[][_0x9133('0x75')](_0x3ccd89[_0x9133('0x38')][_0xcfcae2]));}else if(_0xcfcae2===_0x9133('0x76')){var _0xeecd28=JSON[_0x9133('0x77')](_0x3ccd89[_0x9133('0x38')][_0xcfcae2])['$gte'];var _0x290f81=JSON[_0x9133('0x77')](_0x3ccd89[_0x9133('0x38')][_0xcfcae2])[_0x9133('0x78')];_0x3320d1['where'](_0x9133('0x79'),_0xeecd28,_0x290f81);}else{if(_0x3ccd89['query'][_0xcfcae2]===_0x9133('0x7a')){_0x3320d1[_0x9133('0x41')]('i.'+_0xcfcae2+_0x9133('0x7b'));}else{_0x3320d1[_0x9133('0x41')]('i.'+_0xcfcae2+_0x9133('0x7c'),_0x3ccd89[_0x9133('0x38')][_0xcfcae2]);}}});}if(_0x3ccd89[_0x9133('0x38')][_0x9133('0x7d')]){if(_0x3ccd89['query'][_0x9133('0x7d')]==0x1){_0x3320d1[_0x9133('0x5e')](_0x9133('0x7e'));}else{_0x3320d1[_0x9133('0x5e')](_0x9133('0x7f'));}}if(_0x3ccd89['query']['tag']){_0x2e4d97=_['isArray'](_0x3ccd89[_0x9133('0x38')][_0x9133('0x80')])?_0x3ccd89[_0x9133('0x38')]['tag']:new Array(_0x3ccd89[_0x9133('0x38')][_0x9133('0x80')]);_0x2e4d97[_0x9133('0x67')](function(_0x3e660c){_0x4f3092['or'](_0x9133('0x81'),'%,'+_0x3e660c+',%');});}if(_0x3ccd89[_0x9133('0x38')][_0x9133('0x82')]){var _0x2ccb9b=_0x3ccd89['query'][_0x9133('0x82')][_0x9133('0x83')]('\x5c','\x5c\x5c')['replace']('\x27\x27',_0x9133('0x84'));if(qs['isNumeric'](_0x2ccb9b)){_0xf07fbb['or'](_0x9133('0x85'),_0x2ccb9b+'%')['or'](_0x9133('0x86'),_0x2ccb9b+'%');}else{_0xf07fbb['or'](_0x9133('0x87'),qs[_0x9133('0x62')](_0x2ccb9b))['or'](_0x9133('0x88'),_0x2ccb9b+'%');}}}_0x3320d1['where'](_0xf07fbb);_0x3320d1[_0x9133('0x89')](_0x9133('0x8a'));var _0x23b4ac={'type':db[_0x9133('0x8b')]['QueryTypes'][_0x9133('0x8c')],'raw':!![]};var _0x24c70d=_0x3320d1[_0x9133('0x8d')]();_0x24c70d[_0x9133('0x43')](_0x9133('0x8a'));_0x24c70d[_0x9133('0x43')](_0x9133('0x8e'),_0x9133('0x5b'));if(_0x56719e[_0x9133('0x3f')]){_0x56719e[_0x9133('0x3f')][_0x9133('0x67')](function(_0x4c3dc7){_0x3320d1[_0x9133('0x3f')]('i.'+_0x4c3dc7[0x0],_0x4c3dc7[0x1]===_0x9133('0x8f')?![]:!![]);});}if(!_[_0x9133('0x73')](_0x2e4d97)){_0x3320d1[_0x9133('0x5e')](_0x4f3092);_0x24c70d['where'](_0x9133('0x90'),_0x2e4d97);}BPromise['resolve']()[_0x9133('0x26')](function(){if(!_0xf2e098){if(_0x3ccd89[_0x9133('0x38')][_0x9133('0x74')]||_0x3ccd89['query'][_0x9133('0x91')])return;_0x24c70d[_0x9133('0x41')](_0x9133('0x92'));_0x3320d1['where'](_0x9133('0x92'));return;}return _0x3ccd89[_0x9133('0x93')]['getSmsAccounts']({'attributes':['id'],'raw':!![]})[_0x9133('0x26')](function(_0x12094c){if(_[_0x9133('0x73')](_0x12094c)){_0x24c70d['where'](_0x9133('0x94'));_0x3320d1['where'](_0x9133('0x94'));}else{_0x24c70d[_0x9133('0x41')](_0x9133('0x95'),_['map'](_0x12094c,'id'));_0x3320d1[_0x9133('0x41')]('i.SmsAccountId\x20IN\x20?',_[_0x9133('0x2b')](_0x12094c,'id'));}});})[_0x9133('0x26')](function(){db[_0x9133('0x96')][_0x9133('0x38')](_0x24c70d[_0x9133('0x97')](),_0x23b4ac)[_0x9133('0x26')](function(_0x3dc4ec){_0x2d256a[_0x9133('0x20')]=_0x3dc4ec['length'];if(_0x2d256a[_0x9133('0x20')]===0x0)return[];return db[_0x9133('0x96')][_0x9133('0x38')](_0x7f6cd9[_0x9133('0x97')](),_0x23b4ac)[_0x9133('0x26')](function(_0x57adb9){_0x4ca1a3=_[_0x9133('0x98')](_0x57adb9,'id');_0x23b4ac=_[_0x9133('0x99')](_0x23b4ac,{'model':db[_0x9133('0x32')],'mapToModel':!![],'raw':!![],'nest':!![]});if(_0x3ccd89[_0x9133('0x38')]['fields']){_0x56719e[_0x9133('0x3b')]['forEach'](function(_0x29a1d9){_0x3320d1[_0x9133('0x43')]('i.'+_0x29a1d9);});}else{_0x3320d1[_0x9133('0x43')](_0x9133('0x8e'),'unreadMessages');_0x3320d1[_0x9133('0x43')](_0x9133('0x9a'),_0x9133('0x9b'));_0x3320d1[_0x9133('0x43')](_0x9133('0x9c'),'Account.mandatoryDisposition');_0x3320d1['field']('i.*');_0x3320d1['field'](_0x9133('0x9d'),_0x9133('0x9e'));_0x3320d1[_0x9133('0x43')]('c.lastName',_0x9133('0x9f'));_0x3320d1[_0x9133('0x43')](_0x9133('0xa0'),_0x9133('0xa1'));_0x3320d1[_0x9133('0x43')]('c.phone',_0x9133('0xa2'));_0x3320d1['field'](_0x9133('0xa3'),_0x9133('0xa4'));_0x3320d1[_0x9133('0x43')](_0x9133('0xa5'),_0x9133('0xa6'));_0x3320d1['field'](_0x9133('0xa7'),_0x9133('0xa8'));_0x3320d1[_0x9133('0x43')]('o.internal',_0x9133('0xa9'));_0x3320d1['field'](_0x9133('0xaa'),_0x9133('0x2d'));}if(_0x56719e[_0x9133('0x22')])_0x3320d1[_0x9133('0x22')](_0x56719e[_0x9133('0x22')]);if(_0x56719e[_0x9133('0x21')])_0x3320d1['offset'](_0x56719e[_0x9133('0x21')]);return db[_0x9133('0x96')][_0x9133('0x38')](_0x3320d1[_0x9133('0x97')](),_0x23b4ac);})[_0x9133('0x26')](function(_0x18e990){_0x344120['where']('ui.SmsInteractionId\x20IN\x20?',_[_0x9133('0x2b')](_0x18e990,'id'));return db[_0x9133('0x96')]['query'](_0x344120[_0x9133('0x97')](),_0x23b4ac)['then'](function(_0x3aaeb2){var _0x4418a8=_['groupBy'](_0x3aaeb2,_0x9133('0xab'));var _0x3fc48f=[];_0x18e990[_0x9133('0x67')](function(_0x554ecb){_0x3fc48f[_0x9133('0x30')](updateSmsInteraction(_0x554ecb,_0x4ca1a3,_0x4418a8));});return BPromise['all'](_0x3fc48f);});});})[_0x9133('0x26')](function(_0x43aba3){_0x2d256a['rows']=_0x43aba3;return _0x2d256a;})[_0x9133('0x26')](respondWithFilteredResult(_0xea26a3,_0x56719e));})[_0x9133('0x31')](handleError(_0xea26a3,null));};exports[_0x9133('0xac')]=function(_0x5332cf,_0x20310c){var _0x5e11fe={'raw':![],'where':{'id':_0x5332cf[_0x9133('0xad')]['id']}},_0x4f1035={};_0x4f1035[_0x9133('0x37')]=_['keys'](db[_0x9133('0x32')][_0x9133('0x33')]);_0x4f1035['query']=_[_0x9133('0x70')](_0x5332cf[_0x9133('0x38')]);_0x4f1035[_0x9133('0x39')]=_[_0x9133('0x3a')](_0x4f1035[_0x9133('0x37')],_0x4f1035[_0x9133('0x38')]);_0x5e11fe[_0x9133('0x3b')]=_[_0x9133('0x3a')](_0x4f1035['model'],qs[_0x9133('0x3c')](_0x5332cf['query']['fields']));_0x5e11fe[_0x9133('0x3b')]=_0x5e11fe[_0x9133('0x3b')][_0x9133('0x3d')]?_0x5e11fe[_0x9133('0x3b')]:_0x4f1035[_0x9133('0x37')];if(_0x5332cf[_0x9133('0x38')][_0x9133('0xae')]){_0x5e11fe['include']=[{'all':!![]}];}_0x5e11fe=_[_0x9133('0x99')]({},_0x5e11fe,_0x5332cf[_0x9133('0xaf')]);return db[_0x9133('0x32')]['find'](_0x5e11fe)[_0x9133('0x26')](handleEntityNotFound(_0x20310c,null))['then'](respondWithResult(_0x20310c,null))[_0x9133('0x31')](handleError(_0x20310c,null));};exports[_0x9133('0xb0')]=function(_0x228612,_0x2bb13d){return db[_0x9133('0x32')][_0x9133('0xb0')](_0x228612[_0x9133('0x6f')],{})[_0x9133('0x26')](respondWithResult(_0x2bb13d,0xc9))[_0x9133('0x31')](handleError(_0x2bb13d,null));};exports['update']=function(_0x3bbb1b,_0x42db98){if(_0x3bbb1b[_0x9133('0x6f')]['id']){delete _0x3bbb1b[_0x9133('0x6f')]['id'];}return db['SmsInteraction'][_0x9133('0x5a')]({'where':{'id':_0x3bbb1b['params']['id']}})[_0x9133('0x26')](handleEntityNotFound(_0x42db98,null))['then'](saveUpdates(_0x3bbb1b['body'],null))[_0x9133('0x26')](respondWithResult(_0x42db98,null))['catch'](handleError(_0x42db98,null));};exports[_0x9133('0xb1')]=function(_0x482b36,_0x5388e7){return db['SmsInteraction'][_0x9133('0x5a')]({'where':{'id':_0x482b36['params']['id']}})[_0x9133('0x26')](handleEntityNotFound(_0x5388e7,null))['then'](removeEntity(_0x5388e7,null))[_0x9133('0x31')](handleError(_0x5388e7,null));};exports[_0x9133('0xb2')]=function(_0x8cad68,_0x212854){return db[_0x9133('0x32')][_0x9133('0xb2')]()[_0x9133('0x26')](respondWithResult(_0x212854,null))[_0x9133('0x31')](handleError(_0x212854,null));};exports[_0x9133('0xb3')]=function(_0xe9a042,_0x40950e,_0x59098c){return db['SmsMessage'][_0x9133('0x5a')]({'where':{'id':_0xe9a042[_0x9133('0xad')]['id']}})[_0x9133('0x26')](handleEntityNotFound(_0x40950e,null))[_0x9133('0x26')](function(_0x22cd3d){if(_0x22cd3d){return _0x22cd3d[_0x9133('0xb3')](_0xe9a042[_0x9133('0x6f')][_0x9133('0xb4')],_[_0x9133('0xb5')](_0xe9a042[_0x9133('0x6f')],[_0x9133('0xb4'),'id'])||{});}})['then'](respondWithResult(_0x40950e,null))[_0x9133('0x31')](handleError(_0x40950e,null));};exports[_0x9133('0xb6')]=function(_0x26c4ce,_0x3bf91d,_0x3b1aea){var _0xc2b297={'raw':![],'where':{}};var _0xe7936e={};var _0x1cc339={'count':0x0,'rows':[]};return db[_0x9133('0x32')][_0x9133('0xb7')]({'where':{'id':_0x26c4ce[_0x9133('0xad')]['id']}})[_0x9133('0x26')](handleEntityNotFound(_0x3bf91d,null))[_0x9133('0x26')](function(_0x1aa111){if(_0x1aa111){_0xe7936e['model']=_[_0x9133('0x70')](db[_0x9133('0xb8')][_0x9133('0x33')]);_0xe7936e[_0x9133('0x38')]=_[_0x9133('0x70')](_0x26c4ce['query']);_0xe7936e[_0x9133('0x39')]=_[_0x9133('0x3a')](_0xe7936e[_0x9133('0x37')],_0xe7936e[_0x9133('0x38')]);_0xc2b297[_0x9133('0x3b')]=_[_0x9133('0x3a')](_0xe7936e[_0x9133('0x37')],qs[_0x9133('0x3c')](_0x26c4ce[_0x9133('0x38')]['fields']));_0xc2b297[_0x9133('0x3b')]=_0xc2b297[_0x9133('0x3b')][_0x9133('0x3d')]?_0xc2b297[_0x9133('0x3b')]:_0xe7936e['model'];if(!_0x26c4ce[_0x9133('0x38')][_0x9133('0xb9')](_0x9133('0x3e'))){_0xc2b297[_0x9133('0x22')]=qs['limit'](_0x26c4ce[_0x9133('0x38')]['limit']);_0xc2b297[_0x9133('0x21')]=qs['offset'](_0x26c4ce['query'][_0x9133('0x21')]);}_0xc2b297['order']=qs[_0x9133('0x40')](_0x26c4ce[_0x9133('0x38')][_0x9133('0x40')]);_0xc2b297[_0x9133('0x41')]=qs[_0x9133('0x39')](_[_0x9133('0x42')](_0x26c4ce[_0x9133('0x38')],_0xe7936e['filters']));_0xc2b297[_0x9133('0x41')][_0x9133('0xab')]=_0x1aa111['id'];if(_0x26c4ce[_0x9133('0x38')][_0x9133('0x82')]){_0xc2b297['where']=_[_0x9133('0x99')](_0xc2b297[_0x9133('0x41')],{'$or':_['map'](_0xc2b297[_0x9133('0x3b')],function(_0x360e39){var _0x2ca830={};_0x2ca830[_0x360e39]={'$like':'%'+_0x26c4ce['query']['filter']+'%'};return _0x2ca830;})});}if(_0x26c4ce['query'][_0x9133('0xba')]){var _0x37dacd=_0x26c4ce['query'][_0x9133('0xba')][_0x9133('0x2f')](',');var _0x333c6b={};_0x333c6b[_0x37dacd[0x0]]={'$gte':moment(_0x37dacd[0x1])[_0x9133('0xbb')](_0x9133('0xbc'))};_0xc2b297['where']=_['merge'](_0xc2b297[_0x9133('0x41')],_0x333c6b);}_0xc2b297=_[_0x9133('0x99')]({},_0xc2b297,_0x26c4ce[_0x9133('0xaf')]);return db[_0x9133('0xb8')]['count']({'where':_0xc2b297['where']})[_0x9133('0x26')](function(_0x441e40){_0x1cc339['count']=_0x441e40;if(_0x26c4ce[_0x9133('0x38')][_0x9133('0xae')]){_0xc2b297['include']=[{'all':!![]}];}return db[_0x9133('0xb8')][_0x9133('0xbd')](_0xc2b297);})[_0x9133('0x26')](function(_0x229d46){_0x1cc339[_0x9133('0xbe')]=_0x229d46;return _0x1cc339;});}})[_0x9133('0x26')](respondWithFilteredResult(_0x3bf91d,_0xc2b297))[_0x9133('0x31')](handleError(_0x3bf91d,null));};exports['addTags']=function(_0x3aa73c,_0x5726d2,_0x53540d){return db[_0x9133('0x32')][_0x9133('0x5a')]({'where':{'id':_0x3aa73c[_0x9133('0xad')]['id']}})['then'](handleEntityNotFound(_0x5726d2,null))['then'](function(_0x16c30f){if(_0x16c30f){return _0x16c30f['setTags'](_0x3aa73c[_0x9133('0x6f')]['ids'],_[_0x9133('0xb5')](_0x3aa73c[_0x9133('0x6f')],[_0x9133('0xb4'),'id'])||{})['spread'](function(){return db[_0x9133('0x66')]['findAll']({'attributes':['id','name',_0x9133('0x44')],'where':{'id':_0x3aa73c[_0x9133('0x6f')][_0x9133('0xb4')]}});})['then'](function(_0xa7372e){socket[_0x9133('0xbf')](_0x9133('0xc0'),{'id':Number(_0x3aa73c[_0x9133('0xad')]['id']),'tags':_0xa7372e||[]});return{'id':Number(_0x3aa73c[_0x9133('0xad')]['id']),'tags':_0xa7372e||[]};});}})['then'](respondWithResult(_0x5726d2,null))['catch'](handleError(_0x5726d2,null));};exports['removeTags']=function(_0x88f01d,_0x1b7e2e,_0x31b5fe){return db[_0x9133('0x32')][_0x9133('0x5a')]({'where':{'id':_0x88f01d[_0x9133('0xad')]['id']}})[_0x9133('0x26')](handleEntityNotFound(_0x1b7e2e,null))[_0x9133('0x26')](function(_0x19c921){if(_0x19c921){return _0x19c921[_0x9133('0xc1')](_0x88f01d['query'][_0x9133('0xb4')]);}})[_0x9133('0x26')](respondWithStatusCode(_0x1b7e2e,null))['catch'](handleError(_0x1b7e2e,null));};exports['download']=function(_0x4740df,_0x17bc67){var _0x7109d0=moment()[_0x9133('0xc2')]()[_0x9133('0x97')]();var _0x4dfcc1=path['join'](config[_0x9133('0xc3')],_0x9133('0xc4'),_0x9133('0xc5'),_0x9133('0xc6'));var _0x700e6c=path[_0x9133('0xc7')](config[_0x9133('0xc3')],_0x9133('0xc4'),_0x9133('0xc5'),_0x9133('0xc8'));var _0x495e29=path[_0x9133('0xc7')](_0x4dfcc1,_0x7109d0);var _0x35a970=util[_0x9133('0xbb')](_0x9133('0xc9'),_0x4740df[_0x9133('0xad')]['id'],_0x7109d0);var _0x1d6fb4=path['join'](_0x4dfcc1,_0x35a970);var _0x338e1f=[];_0x338e1f[_0x9133('0x30')]({'model':db[_0x9133('0x69')],'as':_0x9133('0x69'),'attributes':['id',_0x9133('0x2c')],'raw':!![]});_0x338e1f[_0x9133('0x30')]({'model':db[_0x9133('0xca')],'as':'Contact','attributes':['id','firstName',_0x9133('0xcb')],'raw':!![]});var _0x2be438=[{'model':db[_0x9133('0xb8')],'as':'Messages','attributes':['id',_0x9133('0x6f'),_0x9133('0x76'),_0x9133('0xcc'),'secret',_0x9133('0x7d')],'include':_0x338e1f}];_0x2be438['push']({'model':db['SmsAccount'],'as':'Account','attributes':['id','name']});_0x2be438[_0x9133('0x30')]({'model':db[_0x9133('0x69')],'as':'Owner','attributes':['id',_0x9133('0x2c')]});return db['SmsInteraction'][_0x9133('0x5a')]({'where':{'id':_0x4740df['params']['id']},'include':_0x2be438})[_0x9133('0x26')](handleEntityNotFound(_0x17bc67,null))[_0x9133('0x26')](function(_0x3bcd31){if(_0x3bcd31){var _0x3052d3=_0x3bcd31[_0x9133('0xcd')]({'plain':!![]});fs[_0x9133('0xce')](_0x495e29);var _0x3037a9={'format':'A4','border':_0x9133('0xcf'),'header':{'height':_0x9133('0xd0'),'contents':{'first':_0x9133('0xd1')}},'footer':{'height':_0x9133('0xd2'),'contents':{'default':util[_0x9133('0xbb')]('\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20%s\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{page}}/{{pages}}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20%s\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20',util[_0x9133('0xbb')](_0x9133('0xd3'),_0x9133('0xd4'),_0x3052d3['id']),moment()[_0x9133('0xbb')](_0x9133('0xd5'))['toString']())}}};var _0x3bb953={'channel':_0x9133('0xd4'),'account':_0x3052d3[_0x9133('0xd6')][_0x9133('0x28')],'agent':_0x3052d3[_0x9133('0xd7')]?_0x3052d3[_0x9133('0xd7')][_0x9133('0x2c')]:'N.A.','createdAt':moment(_0x3052d3[_0x9133('0x76')])[_0x9133('0xbb')](_0x9133('0xbc'))[_0x9133('0x97')](),'closedAt':_0x3052d3[_0x9133('0xd8')]?moment(_0x3052d3['closedAt'])['format']('YYYY-MM-DD\x20HH:mm:ss')[_0x9133('0x97')]():'','disposition':_0x3052d3[_0x9133('0xd9')],'messages':_(_0x3052d3[_0x9133('0xda')])[_0x9133('0x82')]({'secret':![]})[_0x9133('0x2b')](function(_0xfb4854){return{'date':moment(_0xfb4854[_0x9133('0x76')])[_0x9133('0xbb')]('YYYY-MM-DD\x20HH:mm:ss')[_0x9133('0x97')](),'sender':_0xfb4854[_0x9133('0xcc')]==='out'?_0xfb4854['User']?_0xfb4854[_0x9133('0x69')][_0x9133('0x2c')]:_0x9133('0xdb'):_0xfb4854['Contact']['firstName']+(_0xfb4854['Contact'][_0x9133('0xcb')]?'\x20'+_0xfb4854['Contact']['lastName']:''),'body':_0xfb4854[_0x9133('0x6f')],'direction':_0xfb4854[_0x9133('0xcc')]===_0x9133('0xdc')?'A':'C','secret':_0xfb4854[_0x9133('0xdd')],'read':_0xfb4854[_0x9133('0x7d')]};})[_0x9133('0x5c')]()};return ejs[_0x9133('0xde')](path[_0x9133('0xc7')](config['root'],_0x9133('0xc4'),'views','downloadInteraction.html'),{'interaction':_0x3bb953})[_0x9133('0x26')](function(_0x3f5251){return new BPromise(function(_0x1e6ffa,_0x5b8127){pdf[_0x9133('0xb0')](_0x3f5251,_0x3037a9)[_0x9133('0xdf')](path[_0x9133('0xc7')](_0x495e29,_0x9133('0xe0')+_0x3052d3['id']+'-'+_0x7109d0+'.pdf'),function(_0xf989dd,_0x169f9b){if(_0xf989dd)return _0x5b8127(_0xf989dd);_0x1e6ffa(_0x169f9b);});});})['then'](function(){return new BPromise(function(_0x482b03,_0x47488e){zipdir(_0x495e29,{'saveTo':_0x1d6fb4},function(_0x33cf0a,_0x1b02e5){if(_0x33cf0a)return _0x47488e(_0x33cf0a);return _0x482b03(_0x1b02e5);});})[_0x9133('0x26')](function(){return new BPromise(function(_0x3e80a5,_0x4f2799){rimraf(_0x495e29,function(_0x75e9b4){if(_0x75e9b4)_0x4f2799(_0x75e9b4);return _0x3e80a5();});});})['then'](function(){return _0x17bc67[_0x9133('0xe1')](_0x1d6fb4,_0x35a970,function(_0x5dabc5){if(_0x5dabc5){console['log'](_0x9133('0xe2'),_0x5dabc5);}else{fs[_0x9133('0xe3')](_0x1d6fb4);}});});});}else{return _0x17bc67['sendStatus'](0xc8);}})[_0x9133('0x31')](handleError(_0x17bc67,null));}; \ No newline at end of file diff --git a/server/api/smsInteraction/smsInteraction.events.js b/server/api/smsInteraction/smsInteraction.events.js index fca0db0..ddd760f 100644 --- a/server/api/smsInteraction/smsInteraction.events.js +++ b/server/api/smsInteraction/smsInteraction.events.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x84ab=['hasOwnProperty','hook','exports','events','../../mysqldb','SmsInteraction','SmsMessage','save','update','Users','map','findAll','setDataValue','unreadMessages','catch'];(function(_0x39d1c2,_0x170148){var _0x369078=function(_0x4aed1b){while(--_0x4aed1b){_0x39d1c2['push'](_0x39d1c2['shift']());}};_0x369078(++_0x170148);}(_0x84ab,0x12f));var _0xb84a=function(_0x33fcbb,_0x291d0f){_0x33fcbb=_0x33fcbb-0x0;var _0x2efe40=_0x84ab[_0x33fcbb];return _0x2efe40;};'use strict';var EventEmitter=require(_0xb84a('0x0'));var SmsInteraction=require(_0xb84a('0x1'))['db'][_0xb84a('0x2')];var SmsMessage=require(_0xb84a('0x1'))['db'][_0xb84a('0x3')];var SmsInteractionEvents=new EventEmitter();SmsInteractionEvents['setMaxListeners'](0x0);var events={'afterCreate':_0xb84a('0x4'),'afterUpdate':_0xb84a('0x5'),'afterDestroy':'remove'};function emitEvent(_0x9d3a00){return function(_0xe72ccd,_0x28c83b,_0x5b9def){_0xe72ccd['getUsers']({'attributes':['id'],'raw':!![]})['then'](function(_0xd445b5){_0xe72ccd['setDataValue'](_0xb84a('0x6'),_0xd445b5[_0xb84a('0x7')](function(_0x4d9321){return{'id':_0x4d9321['id']};}));return SmsMessage[_0xb84a('0x8')]({'where':{'SmsInteractionId':_0xe72ccd['id'],'direction':'in','read':![]},'raw':!![]});})['then'](function(_0x2e6a71){_0xe72ccd[_0xb84a('0x9')](_0xb84a('0xa'),_0x2e6a71['length']);SmsInteractionEvents['emit'](_0x9d3a00+':'+_0xe72ccd['id'],_0xe72ccd);SmsInteractionEvents['emit'](_0x9d3a00,_0xe72ccd);_0x5b9def(null);})[_0xb84a('0xb')](_0x5b9def(null));};}for(var e in events){if(events[_0xb84a('0xc')](e)){var event=events[e];SmsInteraction[_0xb84a('0xd')](e,emitEvent(event));}}module[_0xb84a('0xe')]=SmsInteractionEvents; \ No newline at end of file +var _0x9b67=['findAll','unreadMessages','length','emit','hook','exports','events','../../mysqldb','SmsInteraction','SmsMessage','save','update','getUsers','then','setDataValue','map'];(function(_0xaaaeec,_0x5e257c){var _0x335c69=function(_0x27d92f){while(--_0x27d92f){_0xaaaeec['push'](_0xaaaeec['shift']());}};_0x335c69(++_0x5e257c);}(_0x9b67,0xf6));var _0x79b6=function(_0x9efd54,_0x5588ee){_0x9efd54=_0x9efd54-0x0;var _0x2d53ea=_0x9b67[_0x9efd54];return _0x2d53ea;};'use strict';var EventEmitter=require(_0x79b6('0x0'));var SmsInteraction=require(_0x79b6('0x1'))['db'][_0x79b6('0x2')];var SmsMessage=require(_0x79b6('0x1'))['db'][_0x79b6('0x3')];var SmsInteractionEvents=new EventEmitter();SmsInteractionEvents['setMaxListeners'](0x0);var events={'afterCreate':_0x79b6('0x4'),'afterUpdate':_0x79b6('0x5'),'afterDestroy':'remove'};function emitEvent(_0x4e8794){return function(_0x38479d,_0x174768,_0x258103){_0x38479d[_0x79b6('0x6')]({'attributes':['id'],'raw':!![]})[_0x79b6('0x7')](function(_0x128543){_0x38479d[_0x79b6('0x8')]('Users',_0x128543[_0x79b6('0x9')](function(_0x107e4b){return{'id':_0x107e4b['id']};}));return SmsMessage[_0x79b6('0xa')]({'where':{'SmsInteractionId':_0x38479d['id'],'direction':'in','read':![]},'raw':!![]});})[_0x79b6('0x7')](function(_0x1222a0){_0x38479d['setDataValue'](_0x79b6('0xb'),_0x1222a0[_0x79b6('0xc')]);SmsInteractionEvents[_0x79b6('0xd')](_0x4e8794+':'+_0x38479d['id'],_0x38479d);SmsInteractionEvents[_0x79b6('0xd')](_0x4e8794,_0x38479d);_0x258103(null);})['catch'](_0x258103(null));};}for(var e in events){if(events['hasOwnProperty'](e)){var event=events[e];SmsInteraction[_0x79b6('0xe')](e,emitEvent(event));}}module[_0x79b6('0xf')]=SmsInteractionEvents; \ No newline at end of file diff --git a/server/api/smsInteraction/smsInteraction.model.js b/server/api/smsInteraction/smsInteraction.model.js index 09e290f..cb68565 100644 --- a/server/api/smsInteraction/smsInteraction.model.js +++ b/server/api/smsInteraction/smsInteraction.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xba8a=['sms_interactions','closed','closedAt','util','../../config/logger','api','moment','bluebird','path','rimraf','../../config/environment','./smsInteraction.attributes','exports','SmsInteraction'];(function(_0x1f3311,_0x5a4577){var _0x112aaf=function(_0x44f0c5){while(--_0x44f0c5){_0x1f3311['push'](_0x1f3311['shift']());}};_0x112aaf(++_0x5a4577);}(_0xba8a,0x9d));var _0xaba8=function(_0x571339,_0x5bcafb){_0x571339=_0x571339-0x0;var _0x5af8a6=_0xba8a[_0x571339];return _0x5af8a6;};'use strict';var _=require('lodash');var util=require(_0xaba8('0x0'));var logger=require(_0xaba8('0x1'))(_0xaba8('0x2'));var moment=require(_0xaba8('0x3'));var BPromise=require(_0xaba8('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xaba8('0x5'));var rimraf=require(_0xaba8('0x6'));var config=require(_0xaba8('0x7'));var attributes=require(_0xaba8('0x8'));module[_0xaba8('0x9')]=function(_0xf0eaee,_0x50de8c){return _0xf0eaee['define'](_0xaba8('0xa'),attributes,{'tableName':_0xaba8('0xb'),'paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'beforeUpdate':function(_0x3ef10f,_0x28e26a,_0x5a869d){if(_0x3ef10f['changed'](_0xaba8('0xc'))){_0x3ef10f[_0xaba8('0xd')]=moment()['format']('YYYY-MM-DD\x20HH:mm:ss');}_0x5a869d(null,_0x3ef10f);}}});}; \ No newline at end of file +var _0xc39c=['closedAt','format','util','../../config/logger','api','bluebird','request-promise','path','../../config/environment','./smsInteraction.attributes','exports','define','SmsInteraction','sms_interactions','changed','closed'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0xc39c,0xd2));var _0xcc39=function(_0x2f37bf,_0x127efa){_0x2f37bf=_0x2f37bf-0x0;var _0x39b832=_0xc39c[_0x2f37bf];return _0x39b832;};'use strict';var _=require('lodash');var util=require(_0xcc39('0x0'));var logger=require(_0xcc39('0x1'))(_0xcc39('0x2'));var moment=require('moment');var BPromise=require(_0xcc39('0x3'));var rp=require(_0xcc39('0x4'));var fs=require('fs');var path=require(_0xcc39('0x5'));var rimraf=require('rimraf');var config=require(_0xcc39('0x6'));var attributes=require(_0xcc39('0x7'));module[_0xcc39('0x8')]=function(_0x3118f8,_0x592ad7){return _0x3118f8[_0xcc39('0x9')](_0xcc39('0xa'),attributes,{'tableName':_0xcc39('0xb'),'paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'beforeUpdate':function(_0x46bb71,_0x2f8544,_0x2664d4){if(_0x46bb71[_0xcc39('0xc')](_0xcc39('0xd'))){_0x46bb71[_0xcc39('0xe')]=moment()[_0xcc39('0xf')]('YYYY-MM-DD\x20HH:mm:ss');}_0x2664d4(null,_0x46bb71);}}});}; \ No newline at end of file diff --git a/server/api/smsInteraction/smsInteraction.rpc.js b/server/api/smsInteraction/smsInteraction.rpc.js index b98b37d..174c26d 100644 --- a/server/api/smsInteraction/smsInteraction.rpc.js +++ b/server/api/smsInteraction/smsInteraction.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x196c=['ids','omit','AddTags','lodash','util','moment','bluebird','randomstring','../../mysqldb','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','client','defaults','redis','./smsInteraction.socket','register','request','then','info','SmsInteraction,\x20%s,\x20%s','request\x20sent','debug','SmsInteraction,\x20%s,\x20%s,\x20%s','stringify','error','message','result','catch','UpdateSmsInteraction','update','options','raw','where','limit','AddTagsToSmsInteraction','find','addTags','body'];(function(_0x534b06,_0x146807){var _0x3cd6a1=function(_0x571370){while(--_0x571370){_0x534b06['push'](_0x534b06['shift']());}};_0x3cd6a1(++_0x146807);}(_0x196c,0x1ef));var _0xc196=function(_0x92a1cf,_0x2fde47){_0x92a1cf=_0x92a1cf-0x0;var _0x160b57=_0x196c[_0x92a1cf];return _0x160b57;};'use strict';var _=require(_0xc196('0x0'));var util=require(_0xc196('0x1'));var moment=require(_0xc196('0x2'));var BPromise=require(_0xc196('0x3'));var rs=require(_0xc196('0x4'));var fs=require('fs');var Redis=require('ioredis');var db=require(_0xc196('0x5'))['db'];var utils=require(_0xc196('0x6'));var logger=require(_0xc196('0x7'))(_0xc196('0x8'));var config=require(_0xc196('0x9'));var jayson=require(_0xc196('0xa'));var client=jayson[_0xc196('0xb')]['http']({'port':0x232a});config['redis']=_[_0xc196('0xc')](config['redis'],{'host':'localhost','port':0x18eb});var socket=require('socket.io-emitter')(new Redis(config[_0xc196('0xd')]));require(_0xc196('0xe'))[_0xc196('0xf')](socket);function respondWithRpcPromise(_0x145fac,_0x24a872,_0x1dc763){return new BPromise(function(_0xdc3ba0,_0x55bec7){return client[_0xc196('0x10')](_0x145fac,_0x1dc763)[_0xc196('0x11')](function(_0x47c9aa){logger[_0xc196('0x12')](_0xc196('0x13'),_0x24a872,_0xc196('0x14'));logger[_0xc196('0x15')](_0xc196('0x16'),_0x24a872,'request\x20sent',JSON[_0xc196('0x17')](_0x47c9aa));if(_0x47c9aa[_0xc196('0x18')]){if(_0x47c9aa[_0xc196('0x18')]['code']===0x1f4){logger[_0xc196('0x18')](_0xc196('0x13'),_0x24a872,_0x47c9aa[_0xc196('0x18')][_0xc196('0x19')]);return _0x55bec7(_0x47c9aa['error'][_0xc196('0x19')]);}logger[_0xc196('0x18')](_0xc196('0x13'),_0x24a872,_0x47c9aa[_0xc196('0x18')][_0xc196('0x19')]);return _0xdc3ba0(_0x47c9aa['error'][_0xc196('0x19')]);}else{logger[_0xc196('0x12')](_0xc196('0x13'),_0x24a872,_0xc196('0x14'));_0xdc3ba0(_0x47c9aa[_0xc196('0x1a')][_0xc196('0x19')]);}})[_0xc196('0x1b')](function(_0x39ef96){logger[_0xc196('0x18')](_0xc196('0x13'),_0x24a872,_0x39ef96);_0x55bec7(_0x39ef96);});});}exports[_0xc196('0x1c')]=function(_0x3ed0fb){var _0x34b992=this;return new Promise(function(_0x277700,_0x15e1a3){return db['SmsInteraction'][_0xc196('0x1d')](_0x3ed0fb['body'],{'raw':_0x3ed0fb[_0xc196('0x1e')]?_0x3ed0fb['options'][_0xc196('0x1f')]===undefined?!![]:![]:!![],'individualHooks':!![],'where':_0x3ed0fb['options']?_0x3ed0fb[_0xc196('0x1e')][_0xc196('0x20')]||null:null,'attributes':_0x3ed0fb['options']?_0x3ed0fb[_0xc196('0x1e')]['attributes']||null:null,'limit':_0x3ed0fb[_0xc196('0x1e')]?_0x3ed0fb['options'][_0xc196('0x21')]||null:null})[_0xc196('0x11')](function(_0x87f447){logger[_0xc196('0x12')](_0xc196('0x1c'),_0x3ed0fb);logger[_0xc196('0x15')](_0xc196('0x1c'),_0x3ed0fb,JSON[_0xc196('0x17')](_0x87f447));_0x277700(_0x87f447);})['catch'](function(_0x5e5bda){logger['error'](_0xc196('0x1c'),_0x5e5bda[_0xc196('0x19')],_0x3ed0fb);_0x15e1a3(_0x34b992[_0xc196('0x18')](0x1f4,_0x5e5bda[_0xc196('0x19')]));});});};exports[_0xc196('0x22')]=function(_0xb435c3){return new Promise(function(_0x5eafc4,_0x16d08f){return db['SmsInteraction'][_0xc196('0x23')]({'where':_0xb435c3[_0xc196('0x1e')]?_0xb435c3[_0xc196('0x1e')][_0xc196('0x20')]||null:null})[_0xc196('0x11')](function(_0x1eb0e4){if(_0x1eb0e4){return _0x1eb0e4[_0xc196('0x24')](_0xb435c3[_0xc196('0x25')][_0xc196('0x26')],_[_0xc196('0x27')](_0xb435c3[_0xc196('0x25')],[_0xc196('0x26'),'id'])||{});}})['spread'](function(_0x180b41){logger['info']('AddTags',_0xb435c3);logger[_0xc196('0x15')](_0xc196('0x28'),_0xb435c3,JSON['stringify'](_0x180b41));_0x5eafc4(_0x180b41);})[_0xc196('0x1b')](function(_0x90d593){logger['error'](_0xc196('0x28'),_0x90d593[_0xc196('0x19')],_0xb435c3);_0x16d08f(_this[_0xc196('0x18')](0x1f4,_0x90d593[_0xc196('0x19')]));});});}; \ No newline at end of file +var _0x6416=['util','randomstring','ioredis','../../mysqldb','../../config/utils','../../config/logger','rpc','../../config/environment','http','redis','defaults','localhost','./smsInteraction.socket','request','then','info','SmsInteraction,\x20%s,\x20%s','debug','request\x20sent','stringify','error','code','message','catch','UpdateSmsInteraction','SmsInteraction','update','options','attributes','limit','AddTagsToSmsInteraction','find','where','body','ids','omit','spread','AddTags','lodash'];(function(_0x4203da,_0x6817df){var _0x2402ea=function(_0x5e37ff){while(--_0x5e37ff){_0x4203da['push'](_0x4203da['shift']());}};_0x2402ea(++_0x6817df);}(_0x6416,0x185));var _0x6641=function(_0x4f0a33,_0x3a64a3){_0x4f0a33=_0x4f0a33-0x0;var _0x5e94b2=_0x6416[_0x4f0a33];return _0x5e94b2;};'use strict';var _=require(_0x6641('0x0'));var util=require(_0x6641('0x1'));var moment=require('moment');var BPromise=require('bluebird');var rs=require(_0x6641('0x2'));var fs=require('fs');var Redis=require(_0x6641('0x3'));var db=require(_0x6641('0x4'))['db'];var utils=require(_0x6641('0x5'));var logger=require(_0x6641('0x6'))(_0x6641('0x7'));var config=require(_0x6641('0x8'));var jayson=require('jayson/promise');var client=jayson['client'][_0x6641('0x9')]({'port':0x232a});config[_0x6641('0xa')]=_[_0x6641('0xb')](config['redis'],{'host':_0x6641('0xc'),'port':0x18eb});var socket=require('socket.io-emitter')(new Redis(config[_0x6641('0xa')]));require(_0x6641('0xd'))['register'](socket);function respondWithRpcPromise(_0x47e5ca,_0x599069,_0x3d00d5){return new BPromise(function(_0x1275c8,_0x3e005f){return client[_0x6641('0xe')](_0x47e5ca,_0x3d00d5)[_0x6641('0xf')](function(_0x53e125){logger[_0x6641('0x10')](_0x6641('0x11'),_0x599069,'request\x20sent');logger[_0x6641('0x12')]('SmsInteraction,\x20%s,\x20%s,\x20%s',_0x599069,_0x6641('0x13'),JSON[_0x6641('0x14')](_0x53e125));if(_0x53e125[_0x6641('0x15')]){if(_0x53e125[_0x6641('0x15')][_0x6641('0x16')]===0x1f4){logger[_0x6641('0x15')](_0x6641('0x11'),_0x599069,_0x53e125['error']['message']);return _0x3e005f(_0x53e125[_0x6641('0x15')][_0x6641('0x17')]);}logger[_0x6641('0x15')](_0x6641('0x11'),_0x599069,_0x53e125['error'][_0x6641('0x17')]);return _0x1275c8(_0x53e125[_0x6641('0x15')][_0x6641('0x17')]);}else{logger[_0x6641('0x10')](_0x6641('0x11'),_0x599069,_0x6641('0x13'));_0x1275c8(_0x53e125['result'][_0x6641('0x17')]);}})[_0x6641('0x18')](function(_0x1d7378){logger[_0x6641('0x15')](_0x6641('0x11'),_0x599069,_0x1d7378);_0x3e005f(_0x1d7378);});});}exports[_0x6641('0x19')]=function(_0x27c54e){var _0x5b9dd7=this;return new Promise(function(_0xa3e233,_0x42461a){return db[_0x6641('0x1a')][_0x6641('0x1b')](_0x27c54e['body'],{'raw':_0x27c54e[_0x6641('0x1c')]?_0x27c54e[_0x6641('0x1c')]['raw']===undefined?!![]:![]:!![],'individualHooks':!![],'where':_0x27c54e[_0x6641('0x1c')]?_0x27c54e[_0x6641('0x1c')]['where']||null:null,'attributes':_0x27c54e[_0x6641('0x1c')]?_0x27c54e[_0x6641('0x1c')][_0x6641('0x1d')]||null:null,'limit':_0x27c54e[_0x6641('0x1c')]?_0x27c54e[_0x6641('0x1c')][_0x6641('0x1e')]||null:null})[_0x6641('0xf')](function(_0x52b68c){logger[_0x6641('0x10')]('UpdateSmsInteraction',_0x27c54e);logger[_0x6641('0x12')]('UpdateSmsInteraction',_0x27c54e,JSON[_0x6641('0x14')](_0x52b68c));_0xa3e233(_0x52b68c);})['catch'](function(_0x19974c){logger[_0x6641('0x15')](_0x6641('0x19'),_0x19974c[_0x6641('0x17')],_0x27c54e);_0x42461a(_0x5b9dd7['error'](0x1f4,_0x19974c[_0x6641('0x17')]));});});};exports[_0x6641('0x1f')]=function(_0x8396cd){return new Promise(function(_0x42e75d,_0x6cabf0){return db[_0x6641('0x1a')][_0x6641('0x20')]({'where':_0x8396cd[_0x6641('0x1c')]?_0x8396cd[_0x6641('0x1c')][_0x6641('0x21')]||null:null})[_0x6641('0xf')](function(_0xfeaec7){if(_0xfeaec7){return _0xfeaec7['addTags'](_0x8396cd[_0x6641('0x22')][_0x6641('0x23')],_[_0x6641('0x24')](_0x8396cd[_0x6641('0x22')],[_0x6641('0x23'),'id'])||{});}})[_0x6641('0x25')](function(_0x4cd719){logger[_0x6641('0x10')](_0x6641('0x26'),_0x8396cd);logger[_0x6641('0x12')](_0x6641('0x26'),_0x8396cd,JSON[_0x6641('0x14')](_0x4cd719));_0x42e75d(_0x4cd719);})[_0x6641('0x18')](function(_0x1431cf){logger[_0x6641('0x15')](_0x6641('0x26'),_0x1431cf[_0x6641('0x17')],_0x8396cd);_0x6cabf0(_this[_0x6641('0x15')](0x1f4,_0x1431cf[_0x6641('0x17')]));});});}; \ No newline at end of file diff --git a/server/api/smsInteraction/smsInteraction.socket.js b/server/api/smsInteraction/smsInteraction.socket.js index 00d9aeb..885b38a 100644 --- a/server/api/smsInteraction/smsInteraction.socket.js +++ b/server/api/smsInteraction/smsInteraction.socket.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xb10b=['emit','removeListener','register','smsInteraction:','./smsInteraction.events','remove','update'];(function(_0x197065,_0x2e79d0){var _0x3d9404=function(_0xf582a7){while(--_0xf582a7){_0x197065['push'](_0x197065['shift']());}};_0x3d9404(++_0x2e79d0);}(_0xb10b,0x12a));var _0xbb10=function(_0x4409e7,_0x307f17){_0x4409e7=_0x4409e7-0x0;var _0x24c751=_0xb10b[_0x4409e7];return _0x24c751;};'use strict';var SmsInteractionEvents=require(_0xbb10('0x0'));var events=['save',_0xbb10('0x1'),_0xbb10('0x2')];function createListener(_0x1dcb08,_0x4d688c){return function(_0x4541ae){_0x4d688c[_0xbb10('0x3')](_0x1dcb08,_0x4541ae);};}function removeListener(_0x460981,_0x22320e){return function(){SmsInteractionEvents[_0xbb10('0x4')](_0x460981,_0x22320e);};}exports[_0xbb10('0x5')]=function(_0x481979){for(var _0x328583=0x0,_0x3cdd53=events['length'];_0x328583<_0x3cdd53;_0x328583++){var _0x1b9e94=events[_0x328583];var _0x3fb675=createListener(_0xbb10('0x6')+_0x1b9e94,_0x481979);SmsInteractionEvents['on'](_0x1b9e94,_0x3fb675);}}; \ No newline at end of file +var _0x0b0e=['smsInteraction:','./smsInteraction.events','remove','emit','removeListener','register'];(function(_0x3c04b7,_0x3f799c){var _0x13b0cc=function(_0x368460){while(--_0x368460){_0x3c04b7['push'](_0x3c04b7['shift']());}};_0x13b0cc(++_0x3f799c);}(_0x0b0e,0x187));var _0xe0b0=function(_0x163977,_0x4ef72e){_0x163977=_0x163977-0x0;var _0x28bf3a=_0x0b0e[_0x163977];return _0x28bf3a;};'use strict';var SmsInteractionEvents=require(_0xe0b0('0x0'));var events=['save',_0xe0b0('0x1'),'update'];function createListener(_0x7e5a8a,_0xdf715e){return function(_0x3b5e2b){_0xdf715e[_0xe0b0('0x2')](_0x7e5a8a,_0x3b5e2b);};}function removeListener(_0x28040c,_0x38a058){return function(){SmsInteractionEvents[_0xe0b0('0x3')](_0x28040c,_0x38a058);};}exports[_0xe0b0('0x4')]=function(_0x30e20d){for(var _0x28e40f=0x0,_0x219b1c=events['length'];_0x28e40f<_0x219b1c;_0x28e40f++){var _0x50be7f=events[_0x28e40f];var _0x11effc=createListener(_0xe0b0('0x5')+_0x50be7f,_0x30e20d);SmsInteractionEvents['on'](_0x50be7f,_0x11effc);}}; \ No newline at end of file diff --git a/server/api/smsMessage/index.js b/server/api/smsMessage/index.js index 318c076..7ff7faa 100644 --- a/server/api/smsMessage/index.js +++ b/server/api/smsMessage/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xbd5c=['../../components/interaction/service','../../config/environment','./smsMessage.controller','get','isAuthenticated','index','describe','/:id','sms','smsmessage:create','status','put','/:id/accept','/:id/reject','delete','destroy','exports','multer','util','express','Router','../../components/auth/service'];(function(_0x5b644e,_0x2e5e07){var _0x49c6bf=function(_0x3032d9){while(--_0x3032d9){_0x5b644e['push'](_0x5b644e['shift']());}};_0x49c6bf(++_0x2e5e07);}(_0xbd5c,0x19d));var _0xcbd5=function(_0x53e198,_0x4e0e84){_0x53e198=_0x53e198-0x0;var _0x3fae6f=_0xbd5c[_0x53e198];return _0x3fae6f;};'use strict';var multer=require(_0xcbd5('0x0'));var util=require(_0xcbd5('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0xcbd5('0x2'));var router=express[_0xcbd5('0x3')]();var auth=require(_0xcbd5('0x4'));var interaction=require(_0xcbd5('0x5'));var config=require(_0xcbd5('0x6'));var controller=require(_0xcbd5('0x7'));router[_0xcbd5('0x8')]('/',auth[_0xcbd5('0x9')](),controller[_0xcbd5('0xa')]);router[_0xcbd5('0x8')]('/describe',auth[_0xcbd5('0x9')](),controller[_0xcbd5('0xb')]);router[_0xcbd5('0x8')](_0xcbd5('0xc'),auth[_0xcbd5('0x9')](),controller['show']);router['post']('/',auth[_0xcbd5('0x9')](),interaction['tracked'](_0xcbd5('0xd'),_0xcbd5('0xe')),controller['create']);router['post']('/:id/status',controller[_0xcbd5('0xf')]);router['put'](_0xcbd5('0xc'),auth[_0xcbd5('0x9')](),controller['update']);router[_0xcbd5('0x10')](_0xcbd5('0x11'),auth['isAuthenticated'](),controller['accept']);router['put'](_0xcbd5('0x12'),auth['isAuthenticated'](),controller['reject']);router[_0xcbd5('0x13')]('/:id',auth['isAuthenticated'](),controller[_0xcbd5('0x14')]);module[_0xcbd5('0x15')]=router; \ No newline at end of file +var _0xf87c=['index','describe','/:id','show','post','tracked','sms','smsmessage:create','create','/:id/status','put','update','accept','delete','destroy','exports','util','path','../../components/auth/service','../../config/environment','./smsMessage.controller','get','isAuthenticated'];(function(_0xb833b1,_0x1c3d3f){var _0x1ab87a=function(_0x1c9f6c){while(--_0x1c9f6c){_0xb833b1['push'](_0xb833b1['shift']());}};_0x1ab87a(++_0x1c3d3f);}(_0xf87c,0x180));var _0xcf87=function(_0x4715d2,_0x3371b2){_0x4715d2=_0x4715d2-0x0;var _0x141811=_0xf87c[_0x4715d2];return _0x141811;};'use strict';var multer=require('multer');var util=require(_0xcf87('0x0'));var path=require(_0xcf87('0x1'));var timeout=require('connect-timeout');var express=require('express');var router=express['Router']();var auth=require(_0xcf87('0x2'));var interaction=require('../../components/interaction/service');var config=require(_0xcf87('0x3'));var controller=require(_0xcf87('0x4'));router[_0xcf87('0x5')]('/',auth[_0xcf87('0x6')](),controller[_0xcf87('0x7')]);router[_0xcf87('0x5')]('/describe',auth[_0xcf87('0x6')](),controller[_0xcf87('0x8')]);router[_0xcf87('0x5')](_0xcf87('0x9'),auth[_0xcf87('0x6')](),controller[_0xcf87('0xa')]);router[_0xcf87('0xb')]('/',auth['isAuthenticated'](),interaction[_0xcf87('0xc')](_0xcf87('0xd'),_0xcf87('0xe')),controller[_0xcf87('0xf')]);router['post'](_0xcf87('0x10'),controller['status']);router[_0xcf87('0x11')](_0xcf87('0x9'),auth[_0xcf87('0x6')](),controller[_0xcf87('0x12')]);router[_0xcf87('0x11')]('/:id/accept',auth[_0xcf87('0x6')](),controller[_0xcf87('0x13')]);router['put']('/:id/reject',auth[_0xcf87('0x6')](),controller['reject']);router[_0xcf87('0x14')](_0xcf87('0x9'),auth[_0xcf87('0x6')](),controller[_0xcf87('0x15')]);module[_0xcf87('0x16')]=router; \ No newline at end of file diff --git a/server/api/smsMessage/smsMessage.attributes.js b/server/api/smsMessage/smsMessage.attributes.js index 9a34363..96a2ae4 100644 --- a/server/api/smsMessage/smsMessage.attributes.js +++ b/server/api/smsMessage/smsMessage.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xde18=['STRING','DATE','BOOLEAN','sequelize','exports','TEXT','medium','ENUM','out'];(function(_0x4ad39f,_0x394d80){var _0x30e64d=function(_0x573f73){while(--_0x573f73){_0x4ad39f['push'](_0x4ad39f['shift']());}};_0x30e64d(++_0x394d80);}(_0xde18,0xd2));var _0x8de1=function(_0x529293,_0x12147a){_0x529293=_0x529293-0x0;var _0x13522d=_0xde18[_0x529293];return _0x13522d;};'use strict';var Sequelize=require(_0x8de1('0x0'));module[_0x8de1('0x1')]={'body':{'type':Sequelize[_0x8de1('0x2')](_0x8de1('0x3')),'allowNull':![]},'read':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'direction':{'type':Sequelize[_0x8de1('0x4')]('in',_0x8de1('0x5')),'defaultValue':_0x8de1('0x5'),'allowNull':![]},'messageId':{'type':Sequelize[_0x8de1('0x6')](0xbe)},'phone':{'type':Sequelize[_0x8de1('0x6')]},'readAt':{'type':Sequelize[_0x8de1('0x7')]},'secret':{'type':Sequelize[_0x8de1('0x8')],'defaultValue':![]}}; \ No newline at end of file +var _0x79d3=['STRING','sequelize','exports','TEXT','medium','BOOLEAN','ENUM','out'];(function(_0x56a056,_0x32f09a){var _0x2f1d60=function(_0x29095d){while(--_0x29095d){_0x56a056['push'](_0x56a056['shift']());}};_0x2f1d60(++_0x32f09a);}(_0x79d3,0x179));var _0x379d=function(_0x99868f,_0xbdb8e7){_0x99868f=_0x99868f-0x0;var _0x27a71b=_0x79d3[_0x99868f];return _0x27a71b;};'use strict';var Sequelize=require(_0x379d('0x0'));module[_0x379d('0x1')]={'body':{'type':Sequelize[_0x379d('0x2')](_0x379d('0x3')),'allowNull':![]},'read':{'type':Sequelize[_0x379d('0x4')],'defaultValue':![]},'direction':{'type':Sequelize[_0x379d('0x5')]('in','out'),'defaultValue':_0x379d('0x6'),'allowNull':![]},'messageId':{'type':Sequelize[_0x379d('0x7')](0xbe)},'phone':{'type':Sequelize['STRING']},'readAt':{'type':Sequelize['DATE']},'secret':{'type':Sequelize[_0x379d('0x4')],'defaultValue':![]}}; \ No newline at end of file diff --git a/server/api/smsMessage/smsMessage.controller.js b/server/api/smsMessage/smsMessage.controller.js index d7803cf..8935af7 100644 --- a/server/api/smsMessage/smsMessage.controller.js +++ b/server/api/smsMessage/smsMessage.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x35ff=['format','YYYY-MM-DD\x20HH:mm:ss','UserId','user','CmContact','Contact','SmsInteraction','SmsInteractionId','isNil','interaction','get','role','null','AcceptMessage','acceptMessage','manual','interface','SIP/%s','channel','event','EventManager','acceptmessage','agent','rejectMessage','rejectmessage','SmsAccountId','received\x20delivery\x20report\x20from','twilio','messageId','SmsAccount,\x20%s,\x20%s,\x20%s','plivo','MessageUUID','indexOf','delivered','plivio','inspect','infobip','results','groupName','DELIVERED','eml-format','rimraf','fast-json-patch','request-promise','bluebird','util','path','sox','to-csv','ejs','lodash','crypto','jsforce','desk.js','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','../../config/utils','../../config/environment','../../mysqldb','redis','defaults','localhost','socket.io-emitter','./smsMessage.socket','jayson/promise','client','http','test','Sequelize','ValidationError','The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.','request','then','info','SmsMessage,\x20%s,\x20%s','request\x20sent','debug','stringify','error','message','result','catch','sendStatus','status','end','json','count','offset','limit','set','Content-Range','apply','reject','save','update','destroy','stack','name','send','map','SmsMessage','rawAttributes','fieldName','model','query','keys','intersection','attributes','fields','length','hasOwnProperty','order','sort','where','filters','pick','filter','merge','type','options','include','findAll','rows','show','params','find','create','body','describe','sms-interactions','accept','sms','read','readAt'];(function(_0x1a29ce,_0x52e7b5){var _0x455f77=function(_0x534b89){while(--_0x534b89){_0x1a29ce['push'](_0x1a29ce['shift']());}};_0x455f77(++_0x52e7b5);}(_0x35ff,0xb3));var _0xf35f=function(_0x4575c2,_0x2c3ac0){_0x4575c2=_0x4575c2-0x0;var _0x241645=_0x35ff[_0x4575c2];return _0x241645;};'use strict';var pdf=require('html-pdf');var emlformat=require(_0xf35f('0x0'));var rimraf=require(_0xf35f('0x1'));var zipdir=require('zip-dir');var jsonpatch=require(_0xf35f('0x2'));var rp=require(_0xf35f('0x3'));var moment=require('moment');var BPromise=require(_0xf35f('0x4'));var Mustache=require('mustache');var util=require(_0xf35f('0x5'));var path=require(_0xf35f('0x6'));var sox=require(_0xf35f('0x7'));var csv=require(_0xf35f('0x8'));var ejs=require(_0xf35f('0x9'));var fs=require('fs');var _=require(_0xf35f('0xa'));var squel=require('squel');var crypto=require(_0xf35f('0xb'));var jsforce=require(_0xf35f('0xc'));var deskjs=require(_0xf35f('0xd'));var toCsv=require(_0xf35f('0x8'));var querystring=require('querystring');var Papa=require(_0xf35f('0xe'));var Redis=require(_0xf35f('0xf'));var authService=require(_0xf35f('0x10'));var qs=require(_0xf35f('0x11'));var as=require(_0xf35f('0x12'));var hardwareService=require(_0xf35f('0x13'));var logger=require(_0xf35f('0x14'))('api');var utils=require(_0xf35f('0x15'));var config=require(_0xf35f('0x16'));var db=require(_0xf35f('0x17'))['db'];config[_0xf35f('0x18')]=_[_0xf35f('0x19')](config[_0xf35f('0x18')],{'host':_0xf35f('0x1a'),'port':0x18eb});var socket=require(_0xf35f('0x1b'))(new Redis(config['redis']));require(_0xf35f('0x1c'))['register'](socket);var jayson=require(_0xf35f('0x1d'));var client=jayson[_0xf35f('0x1e')]['http']({'port':0x232c});var client9002=jayson[_0xf35f('0x1e')][_0xf35f('0x1f')]({'port':0x232a});function checkPasswordPattern(_0x83110d,_0x2fff4c,_0x246cc8){if(_0x246cc8){var _0x4974a9=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0x4974a9[_0xf35f('0x20')](_0x2fff4c)){return _0x83110d;}else{throw new db[(_0xf35f('0x21'))][(_0xf35f('0x22'))](_0xf35f('0x23'));}}else{return _0x83110d;}}function respondWithRpcPromise(_0x5ae2c4,_0x7c0c72,_0x324670,_0x3c76ee){return new BPromise(function(_0xe0165,_0x26f540){var _0x5e446b=_0x3c76ee||client;return _0x5e446b[_0xf35f('0x24')](_0x5ae2c4,_0x324670)[_0xf35f('0x25')](function(_0x210a97){logger[_0xf35f('0x26')](_0xf35f('0x27'),_0x7c0c72,_0xf35f('0x28'));logger[_0xf35f('0x29')]('SmsMessage,\x20%s,\x20%s,\x20%s',_0x7c0c72,_0xf35f('0x28'),JSON[_0xf35f('0x2a')](_0x210a97));if(_0x210a97['error']){if(_0x210a97[_0xf35f('0x2b')]['code']===0x1f4){logger[_0xf35f('0x2b')]('SmsMessage,\x20%s,\x20%s',_0x7c0c72,_0x210a97[_0xf35f('0x2b')][_0xf35f('0x2c')]);return _0x26f540(_0x210a97[_0xf35f('0x2b')]['message']);}logger[_0xf35f('0x2b')](_0xf35f('0x27'),_0x7c0c72,_0x210a97[_0xf35f('0x2b')][_0xf35f('0x2c')]);return _0xe0165(_0x210a97[_0xf35f('0x2b')]['message']);}else{logger['info'](_0xf35f('0x27'),_0x7c0c72,_0xf35f('0x28'));_0xe0165(_0x210a97[_0xf35f('0x2d')][_0xf35f('0x2c')]);}})[_0xf35f('0x2e')](function(_0x538af6){logger[_0xf35f('0x2b')]('SmsMessage,\x20%s,\x20%s',_0x7c0c72,_0x538af6);_0x26f540(_0x538af6);});});}function respondWithStatusCode(_0x24a76c,_0x3a67de){_0x3a67de=_0x3a67de||0xcc;return function(_0x5282b2){if(_0x5282b2){return _0x24a76c[_0xf35f('0x2f')](_0x3a67de);}return _0x24a76c[_0xf35f('0x30')](_0x3a67de)[_0xf35f('0x31')]();};}function respondWithResult(_0x410850,_0x4593c6){_0x4593c6=_0x4593c6||0xc8;return function(_0x34e14f){if(_0x34e14f){return _0x410850[_0xf35f('0x30')](_0x4593c6)[_0xf35f('0x32')](_0x34e14f);}};}function respondWithFilteredResult(_0x334c4d,_0x2054a3){return function(_0x41a4af){if(_0x41a4af){var _0x399d63=_0x41a4af[_0xf35f('0x33')],_0xeac473=_0x2054a3[_0xf35f('0x34')],_0x3be48e=_0x2054a3[_0xf35f('0x34')]+_0x2054a3[_0xf35f('0x35')],_0x5a7879;if(_0x3be48e>=_0x399d63){_0x3be48e=_0x399d63;_0x5a7879=0xc8;}else{_0x5a7879=0xce;}_0x334c4d[_0xf35f('0x30')](_0x5a7879);return _0x334c4d[_0xf35f('0x36')](_0xf35f('0x37'),_0xeac473+'-'+_0x3be48e+'/'+_0x399d63)[_0xf35f('0x32')](_0x41a4af);}return null;};}function patchUpdates(_0x389782){return function(_0x4eef2c){try{jsonpatch[_0xf35f('0x38')](_0x4eef2c,_0x389782,!![]);}catch(_0x5301f2){return BPromise[_0xf35f('0x39')](_0x5301f2);}return _0x4eef2c[_0xf35f('0x3a')]();};}function saveUpdates(_0x16b37d,_0x49b53a){return function(_0x430c81){if(_0x430c81){return _0x430c81[_0xf35f('0x3b')](_0x16b37d)[_0xf35f('0x25')](function(_0x1ef7b4){return _0x1ef7b4;});}return null;};}function removeEntity(_0x1e4c3b,_0x20f551){return function(_0x196006){if(_0x196006){return _0x196006[_0xf35f('0x3c')]()['then'](function(){_0x1e4c3b[_0xf35f('0x30')](0xcc)[_0xf35f('0x31')]();});}};}function handleEntityNotFound(_0x5334aa,_0x5784e5){return function(_0x551ad1){if(!_0x551ad1){_0x5334aa['sendStatus'](0x194);}return _0x551ad1;};}function handleError(_0x14f203,_0x50616b){_0x50616b=_0x50616b||0x1f4;return function(_0xa2db7){logger[_0xf35f('0x2b')](_0xa2db7[_0xf35f('0x3d')]);if(_0xa2db7[_0xf35f('0x3e')]){delete _0xa2db7[_0xf35f('0x3e')];}_0x14f203[_0xf35f('0x30')](_0x50616b)[_0xf35f('0x3f')](_0xa2db7);};}exports['index']=function(_0x3aa86e,_0x386036){var _0x56e4d7={},_0x4a3fc4={},_0x3df6cf={'count':0x0,'rows':[]};var _0x37a02c=_[_0xf35f('0x40')](db[_0xf35f('0x41')][_0xf35f('0x42')],function(_0x504543){return{'name':_0x504543[_0xf35f('0x43')],'type':_0x504543['type']['key']};});_0x4a3fc4[_0xf35f('0x44')]=_['map'](_0x37a02c,_0xf35f('0x3e'));_0x4a3fc4[_0xf35f('0x45')]=_[_0xf35f('0x46')](_0x3aa86e[_0xf35f('0x45')]);_0x4a3fc4['filters']=_[_0xf35f('0x47')](_0x4a3fc4[_0xf35f('0x44')],_0x4a3fc4[_0xf35f('0x45')]);_0x56e4d7[_0xf35f('0x48')]=_['intersection'](_0x4a3fc4['model'],qs[_0xf35f('0x49')](_0x3aa86e[_0xf35f('0x45')]['fields']));_0x56e4d7[_0xf35f('0x48')]=_0x56e4d7['attributes'][_0xf35f('0x4a')]?_0x56e4d7[_0xf35f('0x48')]:_0x4a3fc4[_0xf35f('0x44')];if(!_0x3aa86e[_0xf35f('0x45')][_0xf35f('0x4b')]('nolimit')){_0x56e4d7['limit']=qs['limit'](_0x3aa86e['query'][_0xf35f('0x35')]);_0x56e4d7[_0xf35f('0x34')]=qs[_0xf35f('0x34')](_0x3aa86e[_0xf35f('0x45')][_0xf35f('0x34')]);}_0x56e4d7[_0xf35f('0x4c')]=qs[_0xf35f('0x4d')](_0x3aa86e[_0xf35f('0x45')][_0xf35f('0x4d')]);_0x56e4d7[_0xf35f('0x4e')]=qs[_0xf35f('0x4f')](_[_0xf35f('0x50')](_0x3aa86e[_0xf35f('0x45')],_0x4a3fc4[_0xf35f('0x4f')]),_0x37a02c);if(_0x3aa86e['query'][_0xf35f('0x51')]){_0x56e4d7[_0xf35f('0x4e')]=_[_0xf35f('0x52')](_0x56e4d7[_0xf35f('0x4e')],{'$or':_[_0xf35f('0x40')](_0x37a02c,function(_0xa239e1){if(_0xa239e1[_0xf35f('0x53')]!=='VIRTUAL'){var _0x1fc1cd={};_0x1fc1cd[_0xa239e1[_0xf35f('0x3e')]]={'$like':'%'+_0x3aa86e[_0xf35f('0x45')]['filter']+'%'};return _0x1fc1cd;}})});}_0x56e4d7=_['merge']({},_0x56e4d7,_0x3aa86e[_0xf35f('0x54')]);var _0x244b80={'where':_0x56e4d7[_0xf35f('0x4e')]};return db['SmsMessage'][_0xf35f('0x33')](_0x244b80)[_0xf35f('0x25')](function(_0x24132f){_0x3df6cf[_0xf35f('0x33')]=_0x24132f;if(_0x3aa86e[_0xf35f('0x45')]['includeAll']){_0x56e4d7[_0xf35f('0x55')]=[{'all':!![]}];}return db['SmsMessage'][_0xf35f('0x56')](_0x56e4d7);})[_0xf35f('0x25')](function(_0x52cdac){_0x3df6cf[_0xf35f('0x57')]=_0x52cdac;return _0x3df6cf;})['then'](respondWithFilteredResult(_0x386036,_0x56e4d7))[_0xf35f('0x2e')](handleError(_0x386036,null));};exports[_0xf35f('0x58')]=function(_0x3c4ddb,_0x18e06b){var _0xe0962c={'raw':!![],'where':{'id':_0x3c4ddb[_0xf35f('0x59')]['id']}},_0xe8f1c5={};_0xe8f1c5[_0xf35f('0x44')]=_[_0xf35f('0x46')](db[_0xf35f('0x41')][_0xf35f('0x42')]);_0xe8f1c5[_0xf35f('0x45')]=_['keys'](_0x3c4ddb[_0xf35f('0x45')]);_0xe8f1c5[_0xf35f('0x4f')]=_[_0xf35f('0x47')](_0xe8f1c5[_0xf35f('0x44')],_0xe8f1c5[_0xf35f('0x45')]);_0xe0962c[_0xf35f('0x48')]=_[_0xf35f('0x47')](_0xe8f1c5[_0xf35f('0x44')],qs['fields'](_0x3c4ddb[_0xf35f('0x45')][_0xf35f('0x49')]));_0xe0962c['attributes']=_0xe0962c[_0xf35f('0x48')][_0xf35f('0x4a')]?_0xe0962c[_0xf35f('0x48')]:_0xe8f1c5[_0xf35f('0x44')];if(_0x3c4ddb[_0xf35f('0x45')]['includeAll']){_0xe0962c['include']=[{'all':!![]}];}_0xe0962c=_[_0xf35f('0x52')]({},_0xe0962c,_0x3c4ddb[_0xf35f('0x54')]);return db[_0xf35f('0x41')][_0xf35f('0x5a')](_0xe0962c)[_0xf35f('0x25')](handleEntityNotFound(_0x18e06b,null))['then'](respondWithResult(_0x18e06b,null))[_0xf35f('0x2e')](handleError(_0x18e06b,null));};exports[_0xf35f('0x5b')]=function(_0x31c7a7,_0x454f94){return db[_0xf35f('0x41')][_0xf35f('0x5b')](_0x31c7a7[_0xf35f('0x5c')],{})[_0xf35f('0x25')](respondWithResult(_0x454f94,0xc9))[_0xf35f('0x2e')](handleError(_0x454f94,null));};exports['update']=function(_0x465493,_0x5ce8e5){if(_0x465493['body']['id']){delete _0x465493[_0xf35f('0x5c')]['id'];}return db[_0xf35f('0x41')][_0xf35f('0x5a')]({'where':{'id':_0x465493[_0xf35f('0x59')]['id']}})[_0xf35f('0x25')](handleEntityNotFound(_0x5ce8e5,null))[_0xf35f('0x25')](saveUpdates(_0x465493[_0xf35f('0x5c')],null))['then'](respondWithResult(_0x5ce8e5,null))[_0xf35f('0x2e')](handleError(_0x5ce8e5,null));};exports[_0xf35f('0x3c')]=function(_0x22743d,_0x352f73){return db[_0xf35f('0x41')][_0xf35f('0x5a')]({'where':{'id':_0x22743d[_0xf35f('0x59')]['id']}})[_0xf35f('0x25')](handleEntityNotFound(_0x352f73,null))[_0xf35f('0x25')](removeEntity(_0x352f73,null))[_0xf35f('0x2e')](handleError(_0x352f73,null));};exports['describe']=function(_0x2d5968,_0xad7f94){return db['SmsMessage'][_0xf35f('0x5d')]()[_0xf35f('0x25')](respondWithResult(_0xad7f94,null))[_0xf35f('0x2e')](handleError(_0xad7f94,null));};var interaction_log=require(_0xf35f('0x14'))(_0xf35f('0x5e'));exports[_0xf35f('0x5f')]=function(_0xfc2e8b,_0x1dcd04,_0x1381be){var _0x11a664={'channel':_0xf35f('0x60')};if(_0xfc2e8b['body']['id']){delete _0xfc2e8b[_0xf35f('0x5c')]['id'];}_0xfc2e8b[_0xf35f('0x5c')][_0xf35f('0x61')]=!![];_0xfc2e8b['body'][_0xf35f('0x62')]=moment()[_0xf35f('0x63')](_0xf35f('0x64'));_0xfc2e8b[_0xf35f('0x5c')][_0xf35f('0x65')]=_0xfc2e8b['body']['UserId']||_0xfc2e8b[_0xf35f('0x66')]['id'];return db[_0xf35f('0x41')]['find']({'where':{'id':_0xfc2e8b[_0xf35f('0x59')]['id'],'UserId':null},'include':[{'model':db[_0xf35f('0x67')],'as':_0xf35f('0x68')}]})[_0xf35f('0x25')](handleEntityNotFound(_0x1dcd04,null))[_0xf35f('0x25')](saveUpdates(_0xfc2e8b[_0xf35f('0x5c')],null))[_0xf35f('0x25')](function(_0xd8afc4){if(_0xd8afc4){_0x11a664[_0xf35f('0x2c')]=_0xd8afc4['get']({'plain':!![]});return db[_0xf35f('0x69')]['find']({'where':{'id':_0xd8afc4[_0xf35f('0x6a')]}});}return null;})[_0xf35f('0x25')](handleEntityNotFound(_0x1dcd04,null))[_0xf35f('0x25')](function(_0x392e4c){if(_0x392e4c){return _0x392e4c[_0xf35f('0x3b')]({'UserId':_0xfc2e8b['body'][_0xf35f('0x65')],'read1stAt':_[_0xf35f('0x6b')](_0x392e4c['read1stAt'])?moment()['format']('YYYY-MM-DD\x20HH:mm:ss'):undefined});}return null;})[_0xf35f('0x25')](function(_0x20311){if(_0x20311){_0x11a664[_0xf35f('0x6c')]=_0x20311[_0xf35f('0x6d')]({'plain':!![]});interaction_log[_0xf35f('0x26')]('[SMSMESSAGE:ACCEPT]\x20id=%s\x20name=%s\x20role=%s\x20interaction=%s\x20body=%s',_0xfc2e8b[_0xf35f('0x66')]['id'],_0xfc2e8b[_0xf35f('0x66')][_0xf35f('0x3e')],_0xfc2e8b['user'][_0xf35f('0x6e')],_0x11a664[_0xf35f('0x6c')]['id'],_0xfc2e8b[_0xf35f('0x5c')]?JSON[_0xf35f('0x2a')](_0xfc2e8b[_0xf35f('0x5c')]):_0xf35f('0x6f'));return respondWithRpcPromise(_0xf35f('0x70'),_0xf35f('0x71'),_0x11a664);}return null;})[_0xf35f('0x25')](function(_0x33ed69){if(_0x33ed69){if(_0xfc2e8b[_0xf35f('0x5c')][_0xf35f('0x72')]){_0x11a664[_0xf35f('0x2c')][_0xf35f('0x73')]=util[_0xf35f('0x63')](_0xf35f('0x74'),_0xfc2e8b[_0xf35f('0x66')][_0xf35f('0x3e')]);_0x11a664[_0xf35f('0x2c')][_0xf35f('0x75')]=_0x11a664[_0xf35f('0x75')];_0x11a664['message'][_0xf35f('0x76')]=_0xf35f('0x5f');return respondWithRpcPromise(_0xf35f('0x77'),_0xf35f('0x77'),{'event':_0xf35f('0x78'),'message':_0x11a664[_0xf35f('0x2c')]},client9002)[_0xf35f('0x25')](function(){return _0x11a664;});}return _0x11a664;}return null;})[_0xf35f('0x25')](respondWithResult(_0x1dcd04,null))[_0xf35f('0x2e')](handleError(_0x1dcd04,null));};var interaction_log=require(_0xf35f('0x14'))(_0xf35f('0x5e'));exports[_0xf35f('0x39')]=function(_0x764798,_0x43e32f,_0x16aaf3){var _0x38dbc9={'agent':{},'channel':'sms'};if(_0x764798[_0xf35f('0x5c')]['id']){delete _0x764798[_0xf35f('0x5c')]['id'];}_0x764798['body'][_0xf35f('0x65')]=_0x764798['body'][_0xf35f('0x65')]||_0x764798[_0xf35f('0x66')]['id'];_0x38dbc9[_0xf35f('0x79')]['id']=_0x764798[_0xf35f('0x5c')]['UserId'];return db[_0xf35f('0x41')][_0xf35f('0x5a')]({'where':{'id':_0x764798['params']['id'],'UserId':null}})[_0xf35f('0x25')](handleEntityNotFound(_0x43e32f,null))[_0xf35f('0x25')](function(_0x2f06c4){if(_0x2f06c4){_0x38dbc9[_0xf35f('0x2c')]=_0x2f06c4[_0xf35f('0x6d')]({'plain':!![]});return db[_0xf35f('0x69')]['find']({'where':{'id':_0x2f06c4['SmsInteractionId']}});}return null;})['then'](handleEntityNotFound(_0x43e32f,null))[_0xf35f('0x25')](function(_0x49ff83){if(_0x49ff83){_0x38dbc9[_0xf35f('0x6c')]=_0x49ff83['get']({'plain':!![]});interaction_log['info']('[SMSMESSAGE:REJECT]\x20id=%s\x20name=%s\x20role=%s\x20interaction=%s\x20body=%s',_0x764798['user']['id'],_0x764798[_0xf35f('0x66')][_0xf35f('0x3e')],_0x764798[_0xf35f('0x66')][_0xf35f('0x6e')],_0x38dbc9[_0xf35f('0x6c')]['id'],_0x764798['body']?JSON['stringify'](_0x764798[_0xf35f('0x5c')]):_0xf35f('0x6f'));return respondWithRpcPromise('RejectMessage',_0xf35f('0x7a'),_0x38dbc9);}return null;})['then'](function(_0x4f59bf){if(_0x4f59bf){_0x4f59bf[_0xf35f('0x2c')]['interface']=util[_0xf35f('0x63')](_0xf35f('0x74'),_0x764798[_0xf35f('0x66')][_0xf35f('0x3e')]);_0x4f59bf[_0xf35f('0x2c')][_0xf35f('0x75')]=_0x38dbc9[_0xf35f('0x75')];_0x4f59bf['message'][_0xf35f('0x76')]=_0xf35f('0x39');respondWithRpcPromise(_0xf35f('0x77'),'EventManager',{'event':_0xf35f('0x7b'),'message':_0x4f59bf[_0xf35f('0x2c')]},client9002);return _0x38dbc9;}return null;})['then'](respondWithResult(_0x43e32f,null))[_0xf35f('0x2e')](handleError(_0x43e32f,null));};exports[_0xf35f('0x30')]=function(_0x349506,_0x53130d,_0x5bf8f7){if(_0x349506[_0xf35f('0x5c')]['id']){delete _0x349506['body']['id'];}var _0x2dffba;return db[_0xf35f('0x41')]['find']({'where':{'id':_0x349506[_0xf35f('0x59')]['id']}})[_0xf35f('0x25')](handleEntityNotFound(_0x53130d,null))['then'](function(_0x3d5079){if(_0x3d5079){_0x2dffba=_0x3d5079;return db['SmsAccount'][_0xf35f('0x5a')]({'where':{'id':_0x3d5079[_0xf35f('0x7c')]}});}})[_0xf35f('0x25')](handleEntityNotFound(_0x53130d,null))[_0xf35f('0x25')](function(_0x3ebf7f){if(_0x3ebf7f){logger[_0xf35f('0x29')]('SmsMessage,\x20%s,\x20%s,\x20%s',_0xf35f('0x30'),_0xf35f('0x7d'),_0x3ebf7f['type'],util['inspect'](_0x349506['body'],{'showHidden':![],'depth':null}));switch(_0x3ebf7f[_0xf35f('0x53')]){case _0xf35f('0x7e'):if(_0x349506['body']['MessageSid']&&_0x349506[_0xf35f('0x5c')]['MessageSid']===_0x2dffba[_0xf35f('0x7f')]){return _0x2dffba[_0xf35f('0x3b')]({'read':!![]});}else{logger[_0xf35f('0x2b')](_0xf35f('0x80'),'status',_0xf35f('0x7e'),util['inspect'](_0x349506['body'],{'showHidden':![],'depth':null}));}break;case _0xf35f('0x81'):if(_0x349506[_0xf35f('0x5c')][_0xf35f('0x82')]&&_0x349506[_0xf35f('0x5c')]['MessageUUID']===_0x2dffba[_0xf35f('0x7f')]&&_[_0xf35f('0x83')](['sent',_0xf35f('0x84')],_0x349506[_0xf35f('0x5c')]['Status'])>=0x0){return _0x2dffba[_0xf35f('0x3b')]({'read':!![]});}else{logger[_0xf35f('0x2b')](_0xf35f('0x80'),'status',_0xf35f('0x85'),util[_0xf35f('0x86')](_0x349506[_0xf35f('0x5c')],{'showHidden':![],'depth':null}));}break;case _0xf35f('0x87'):var _0x4b029b=_0x349506['body'][_0xf35f('0x88')][0x0];if(_0x4b029b[_0xf35f('0x30')][_0xf35f('0x89')]===_0xf35f('0x8a')){return _0x2dffba[_0xf35f('0x3b')]({'read':!![]});}else{logger[_0xf35f('0x2b')](_0xf35f('0x80'),_0xf35f('0x30'),_0xf35f('0x87'),util[_0xf35f('0x86')](_0x349506[_0xf35f('0x5c')],{'showHidden':![],'depth':null}));}break;}return _0x2dffba;}})['then'](respondWithResult(_0x53130d,null))['catch'](handleError(_0x53130d,null));}; \ No newline at end of file +var _0xfa2f=['request\x20sent','debug','SmsMessage,\x20%s,\x20%s,\x20%s','stringify','error','code','SmsMessage,\x20%s,\x20%s','message','result','catch','status','end','json','count','offset','limit','Content-Range','destroy','sendStatus','name','send','index','map','rawAttributes','fieldName','type','key','model','query','attributes','intersection','fields','length','hasOwnProperty','order','sort','filters','filter','merge','VIRTUAL','options','where','SmsMessage','includeAll','include','findAll','rows','show','params','keys','find','create','body','update','describe','../../config/logger','accept','read','readAt','format','YYYY-MM-DD\x20HH:mm:ss','UserId','user','CmContact','SmsInteraction','SmsInteractionId','isNil','read1stAt','interaction','[SMSMESSAGE:ACCEPT]\x20id=%s\x20name=%s\x20role=%s\x20interaction=%s\x20body=%s','role','null','AcceptMessage','manual','interface','SIP/%s','channel','acceptmessage','reject','sms','agent','get','RejectMessage','rejectMessage','event','EventManager','rejectmessage','SmsAccountId','received\x20delivery\x20report\x20from','twilio','MessageSid','messageId','SmsAccount,\x20%s,\x20%s,\x20%s','inspect','plivo','MessageUUID','sent','delivered','Status','rimraf','fast-json-patch','request-promise','moment','mustache','util','path','sox','to-csv','ejs','lodash','jsforce','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/advancedSearch','api','../../config/utils','../../config/environment','../../mysqldb','redis','localhost','socket.io-emitter','jayson/promise','client','http','test','Sequelize','The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.','request','then','info'];(function(_0x33b627,_0xcd64e0){var _0x531df0=function(_0x46db94){while(--_0x46db94){_0x33b627['push'](_0x33b627['shift']());}};_0x531df0(++_0xcd64e0);}(_0xfa2f,0xe8));var _0xffa2=function(_0x53ef70,_0x5d3dce){_0x53ef70=_0x53ef70-0x0;var _0x3219ca=_0xfa2f[_0x53ef70];return _0x3219ca;};'use strict';var pdf=require('html-pdf');var emlformat=require('eml-format');var rimraf=require(_0xffa2('0x0'));var zipdir=require('zip-dir');var jsonpatch=require(_0xffa2('0x1'));var rp=require(_0xffa2('0x2'));var moment=require(_0xffa2('0x3'));var BPromise=require('bluebird');var Mustache=require(_0xffa2('0x4'));var util=require(_0xffa2('0x5'));var path=require(_0xffa2('0x6'));var sox=require(_0xffa2('0x7'));var csv=require(_0xffa2('0x8'));var ejs=require(_0xffa2('0x9'));var fs=require('fs');var _=require(_0xffa2('0xa'));var squel=require('squel');var crypto=require('crypto');var jsforce=require(_0xffa2('0xb'));var deskjs=require(_0xffa2('0xc'));var toCsv=require(_0xffa2('0x8'));var querystring=require(_0xffa2('0xd'));var Papa=require(_0xffa2('0xe'));var Redis=require(_0xffa2('0xf'));var authService=require(_0xffa2('0x10'));var qs=require('../../components/parsers/qs');var as=require(_0xffa2('0x11'));var hardwareService=require('../../config/license/hardware');var logger=require('../../config/logger')(_0xffa2('0x12'));var utils=require(_0xffa2('0x13'));var config=require(_0xffa2('0x14'));var db=require(_0xffa2('0x15'))['db'];config[_0xffa2('0x16')]=_['defaults'](config[_0xffa2('0x16')],{'host':_0xffa2('0x17'),'port':0x18eb});var socket=require(_0xffa2('0x18'))(new Redis(config[_0xffa2('0x16')]));require('./smsMessage.socket')['register'](socket);var jayson=require(_0xffa2('0x19'));var client=jayson[_0xffa2('0x1a')][_0xffa2('0x1b')]({'port':0x232c});var client9002=jayson['client'][_0xffa2('0x1b')]({'port':0x232a});function checkPasswordPattern(_0x31a57f,_0x2c4035,_0x4019b3){if(_0x4019b3){var _0x316c7e=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0x316c7e[_0xffa2('0x1c')](_0x2c4035)){return _0x31a57f;}else{throw new db[(_0xffa2('0x1d'))]['ValidationError'](_0xffa2('0x1e'));}}else{return _0x31a57f;}}function respondWithRpcPromise(_0x1f9438,_0x923abf,_0x2ae03f,_0x2b71e7){return new BPromise(function(_0x4e396f,_0x251fca){var _0x515123=_0x2b71e7||client;return _0x515123[_0xffa2('0x1f')](_0x1f9438,_0x2ae03f)[_0xffa2('0x20')](function(_0x3ef025){logger[_0xffa2('0x21')]('SmsMessage,\x20%s,\x20%s',_0x923abf,_0xffa2('0x22'));logger[_0xffa2('0x23')](_0xffa2('0x24'),_0x923abf,'request\x20sent',JSON[_0xffa2('0x25')](_0x3ef025));if(_0x3ef025['error']){if(_0x3ef025[_0xffa2('0x26')][_0xffa2('0x27')]===0x1f4){logger[_0xffa2('0x26')](_0xffa2('0x28'),_0x923abf,_0x3ef025[_0xffa2('0x26')][_0xffa2('0x29')]);return _0x251fca(_0x3ef025[_0xffa2('0x26')][_0xffa2('0x29')]);}logger[_0xffa2('0x26')](_0xffa2('0x28'),_0x923abf,_0x3ef025['error'][_0xffa2('0x29')]);return _0x4e396f(_0x3ef025[_0xffa2('0x26')]['message']);}else{logger[_0xffa2('0x21')](_0xffa2('0x28'),_0x923abf,_0xffa2('0x22'));_0x4e396f(_0x3ef025[_0xffa2('0x2a')][_0xffa2('0x29')]);}})[_0xffa2('0x2b')](function(_0x2c9937){logger[_0xffa2('0x26')]('SmsMessage,\x20%s,\x20%s',_0x923abf,_0x2c9937);_0x251fca(_0x2c9937);});});}function respondWithStatusCode(_0x2d4376,_0x2ca0a2){_0x2ca0a2=_0x2ca0a2||0xcc;return function(_0x1f91bc){if(_0x1f91bc){return _0x2d4376['sendStatus'](_0x2ca0a2);}return _0x2d4376[_0xffa2('0x2c')](_0x2ca0a2)[_0xffa2('0x2d')]();};}function respondWithResult(_0x1449a3,_0x48e67b){_0x48e67b=_0x48e67b||0xc8;return function(_0x335dcf){if(_0x335dcf){return _0x1449a3[_0xffa2('0x2c')](_0x48e67b)[_0xffa2('0x2e')](_0x335dcf);}};}function respondWithFilteredResult(_0x2d4061,_0x183076){return function(_0x2824cc){if(_0x2824cc){var _0x42568d=_0x2824cc[_0xffa2('0x2f')],_0x62170b=_0x183076[_0xffa2('0x30')],_0x3f3d6c=_0x183076[_0xffa2('0x30')]+_0x183076[_0xffa2('0x31')],_0xd58f36;if(_0x3f3d6c>=_0x42568d){_0x3f3d6c=_0x42568d;_0xd58f36=0xc8;}else{_0xd58f36=0xce;}_0x2d4061[_0xffa2('0x2c')](_0xd58f36);return _0x2d4061['set'](_0xffa2('0x32'),_0x62170b+'-'+_0x3f3d6c+'/'+_0x42568d)[_0xffa2('0x2e')](_0x2824cc);}return null;};}function patchUpdates(_0x5adeef){return function(_0x160ce0){try{jsonpatch['apply'](_0x160ce0,_0x5adeef,!![]);}catch(_0x245b31){return BPromise['reject'](_0x245b31);}return _0x160ce0['save']();};}function saveUpdates(_0x46dfdb,_0x4df8b8){return function(_0x32f088){if(_0x32f088){return _0x32f088['update'](_0x46dfdb)[_0xffa2('0x20')](function(_0x117d45){return _0x117d45;});}return null;};}function removeEntity(_0x4efbf9,_0x2f4829){return function(_0x4aa728){if(_0x4aa728){return _0x4aa728[_0xffa2('0x33')]()['then'](function(){_0x4efbf9[_0xffa2('0x2c')](0xcc)[_0xffa2('0x2d')]();});}};}function handleEntityNotFound(_0x2e801e,_0x591164){return function(_0x59054d){if(!_0x59054d){_0x2e801e[_0xffa2('0x34')](0x194);}return _0x59054d;};}function handleError(_0x43d36d,_0x1d6588){_0x1d6588=_0x1d6588||0x1f4;return function(_0x4bfbc6){logger[_0xffa2('0x26')](_0x4bfbc6['stack']);if(_0x4bfbc6[_0xffa2('0x35')]){delete _0x4bfbc6[_0xffa2('0x35')];}_0x43d36d[_0xffa2('0x2c')](_0x1d6588)[_0xffa2('0x36')](_0x4bfbc6);};}exports[_0xffa2('0x37')]=function(_0x2271c6,_0x44c77d){var _0x3acf1a={},_0x3787f5={},_0xa5cd13={'count':0x0,'rows':[]};var _0x3c2786=_[_0xffa2('0x38')](db['SmsMessage'][_0xffa2('0x39')],function(_0x5f122b){return{'name':_0x5f122b[_0xffa2('0x3a')],'type':_0x5f122b[_0xffa2('0x3b')][_0xffa2('0x3c')]};});_0x3787f5[_0xffa2('0x3d')]=_[_0xffa2('0x38')](_0x3c2786,'name');_0x3787f5[_0xffa2('0x3e')]=_['keys'](_0x2271c6[_0xffa2('0x3e')]);_0x3787f5['filters']=_['intersection'](_0x3787f5[_0xffa2('0x3d')],_0x3787f5[_0xffa2('0x3e')]);_0x3acf1a[_0xffa2('0x3f')]=_[_0xffa2('0x40')](_0x3787f5[_0xffa2('0x3d')],qs['fields'](_0x2271c6['query'][_0xffa2('0x41')]));_0x3acf1a[_0xffa2('0x3f')]=_0x3acf1a[_0xffa2('0x3f')][_0xffa2('0x42')]?_0x3acf1a['attributes']:_0x3787f5[_0xffa2('0x3d')];if(!_0x2271c6[_0xffa2('0x3e')][_0xffa2('0x43')]('nolimit')){_0x3acf1a[_0xffa2('0x31')]=qs[_0xffa2('0x31')](_0x2271c6['query'][_0xffa2('0x31')]);_0x3acf1a['offset']=qs[_0xffa2('0x30')](_0x2271c6['query']['offset']);}_0x3acf1a[_0xffa2('0x44')]=qs[_0xffa2('0x45')](_0x2271c6[_0xffa2('0x3e')][_0xffa2('0x45')]);_0x3acf1a['where']=qs[_0xffa2('0x46')](_['pick'](_0x2271c6[_0xffa2('0x3e')],_0x3787f5[_0xffa2('0x46')]),_0x3c2786);if(_0x2271c6[_0xffa2('0x3e')][_0xffa2('0x47')]){_0x3acf1a['where']=_[_0xffa2('0x48')](_0x3acf1a['where'],{'$or':_[_0xffa2('0x38')](_0x3c2786,function(_0x4919cd){if(_0x4919cd[_0xffa2('0x3b')]!==_0xffa2('0x49')){var _0x52a2ba={};_0x52a2ba[_0x4919cd[_0xffa2('0x35')]]={'$like':'%'+_0x2271c6[_0xffa2('0x3e')][_0xffa2('0x47')]+'%'};return _0x52a2ba;}})});}_0x3acf1a=_[_0xffa2('0x48')]({},_0x3acf1a,_0x2271c6[_0xffa2('0x4a')]);var _0x401699={'where':_0x3acf1a[_0xffa2('0x4b')]};return db[_0xffa2('0x4c')]['count'](_0x401699)[_0xffa2('0x20')](function(_0xd78402){_0xa5cd13[_0xffa2('0x2f')]=_0xd78402;if(_0x2271c6[_0xffa2('0x3e')][_0xffa2('0x4d')]){_0x3acf1a[_0xffa2('0x4e')]=[{'all':!![]}];}return db[_0xffa2('0x4c')][_0xffa2('0x4f')](_0x3acf1a);})[_0xffa2('0x20')](function(_0x44b742){_0xa5cd13[_0xffa2('0x50')]=_0x44b742;return _0xa5cd13;})['then'](respondWithFilteredResult(_0x44c77d,_0x3acf1a))['catch'](handleError(_0x44c77d,null));};exports[_0xffa2('0x51')]=function(_0x50f5b2,_0x481932){var _0x220411={'raw':!![],'where':{'id':_0x50f5b2[_0xffa2('0x52')]['id']}},_0x4bffb8={};_0x4bffb8[_0xffa2('0x3d')]=_[_0xffa2('0x53')](db['SmsMessage'][_0xffa2('0x39')]);_0x4bffb8[_0xffa2('0x3e')]=_[_0xffa2('0x53')](_0x50f5b2[_0xffa2('0x3e')]);_0x4bffb8[_0xffa2('0x46')]=_['intersection'](_0x4bffb8[_0xffa2('0x3d')],_0x4bffb8['query']);_0x220411['attributes']=_[_0xffa2('0x40')](_0x4bffb8[_0xffa2('0x3d')],qs['fields'](_0x50f5b2['query'][_0xffa2('0x41')]));_0x220411[_0xffa2('0x3f')]=_0x220411[_0xffa2('0x3f')][_0xffa2('0x42')]?_0x220411['attributes']:_0x4bffb8[_0xffa2('0x3d')];if(_0x50f5b2['query'][_0xffa2('0x4d')]){_0x220411[_0xffa2('0x4e')]=[{'all':!![]}];}_0x220411=_[_0xffa2('0x48')]({},_0x220411,_0x50f5b2[_0xffa2('0x4a')]);return db[_0xffa2('0x4c')][_0xffa2('0x54')](_0x220411)[_0xffa2('0x20')](handleEntityNotFound(_0x481932,null))['then'](respondWithResult(_0x481932,null))[_0xffa2('0x2b')](handleError(_0x481932,null));};exports['create']=function(_0x47d9ee,_0xfd6e2d){return db[_0xffa2('0x4c')][_0xffa2('0x55')](_0x47d9ee[_0xffa2('0x56')],{})[_0xffa2('0x20')](respondWithResult(_0xfd6e2d,0xc9))[_0xffa2('0x2b')](handleError(_0xfd6e2d,null));};exports[_0xffa2('0x57')]=function(_0x1dab21,_0x43edb8){if(_0x1dab21[_0xffa2('0x56')]['id']){delete _0x1dab21[_0xffa2('0x56')]['id'];}return db[_0xffa2('0x4c')][_0xffa2('0x54')]({'where':{'id':_0x1dab21[_0xffa2('0x52')]['id']}})[_0xffa2('0x20')](handleEntityNotFound(_0x43edb8,null))[_0xffa2('0x20')](saveUpdates(_0x1dab21[_0xffa2('0x56')],null))[_0xffa2('0x20')](respondWithResult(_0x43edb8,null))[_0xffa2('0x2b')](handleError(_0x43edb8,null));};exports[_0xffa2('0x33')]=function(_0x352a04,_0x9a2552){return db[_0xffa2('0x4c')][_0xffa2('0x54')]({'where':{'id':_0x352a04['params']['id']}})[_0xffa2('0x20')](handleEntityNotFound(_0x9a2552,null))[_0xffa2('0x20')](removeEntity(_0x9a2552,null))[_0xffa2('0x2b')](handleError(_0x9a2552,null));};exports[_0xffa2('0x58')]=function(_0x1ebffa,_0x2cb459){return db[_0xffa2('0x4c')][_0xffa2('0x58')]()[_0xffa2('0x20')](respondWithResult(_0x2cb459,null))['catch'](handleError(_0x2cb459,null));};var interaction_log=require(_0xffa2('0x59'))('sms-interactions');exports[_0xffa2('0x5a')]=function(_0x4b129a,_0x7c8347,_0x1c1917){var _0x5428b1={'channel':'sms'};if(_0x4b129a[_0xffa2('0x56')]['id']){delete _0x4b129a[_0xffa2('0x56')]['id'];}_0x4b129a[_0xffa2('0x56')][_0xffa2('0x5b')]=!![];_0x4b129a[_0xffa2('0x56')][_0xffa2('0x5c')]=moment()[_0xffa2('0x5d')](_0xffa2('0x5e'));_0x4b129a[_0xffa2('0x56')][_0xffa2('0x5f')]=_0x4b129a['body'][_0xffa2('0x5f')]||_0x4b129a[_0xffa2('0x60')]['id'];return db[_0xffa2('0x4c')][_0xffa2('0x54')]({'where':{'id':_0x4b129a['params']['id'],'UserId':null},'include':[{'model':db[_0xffa2('0x61')],'as':'Contact'}]})[_0xffa2('0x20')](handleEntityNotFound(_0x7c8347,null))[_0xffa2('0x20')](saveUpdates(_0x4b129a[_0xffa2('0x56')],null))['then'](function(_0x29b038){if(_0x29b038){_0x5428b1[_0xffa2('0x29')]=_0x29b038['get']({'plain':!![]});return db[_0xffa2('0x62')][_0xffa2('0x54')]({'where':{'id':_0x29b038[_0xffa2('0x63')]}});}return null;})[_0xffa2('0x20')](handleEntityNotFound(_0x7c8347,null))['then'](function(_0xead92d){if(_0xead92d){return _0xead92d[_0xffa2('0x57')]({'UserId':_0x4b129a[_0xffa2('0x56')][_0xffa2('0x5f')],'read1stAt':_[_0xffa2('0x64')](_0xead92d[_0xffa2('0x65')])?moment()['format'](_0xffa2('0x5e')):undefined});}return null;})[_0xffa2('0x20')](function(_0x57d0c7){if(_0x57d0c7){_0x5428b1[_0xffa2('0x66')]=_0x57d0c7['get']({'plain':!![]});interaction_log[_0xffa2('0x21')](_0xffa2('0x67'),_0x4b129a[_0xffa2('0x60')]['id'],_0x4b129a['user'][_0xffa2('0x35')],_0x4b129a[_0xffa2('0x60')][_0xffa2('0x68')],_0x5428b1[_0xffa2('0x66')]['id'],_0x4b129a[_0xffa2('0x56')]?JSON[_0xffa2('0x25')](_0x4b129a[_0xffa2('0x56')]):_0xffa2('0x69'));return respondWithRpcPromise(_0xffa2('0x6a'),'acceptMessage',_0x5428b1);}return null;})[_0xffa2('0x20')](function(_0x158a95){if(_0x158a95){if(_0x4b129a[_0xffa2('0x56')][_0xffa2('0x6b')]){_0x5428b1[_0xffa2('0x29')][_0xffa2('0x6c')]=util[_0xffa2('0x5d')](_0xffa2('0x6d'),_0x4b129a[_0xffa2('0x60')]['name']);_0x5428b1['message']['channel']=_0x5428b1[_0xffa2('0x6e')];_0x5428b1['message']['event']=_0xffa2('0x5a');return respondWithRpcPromise('EventManager','EventManager',{'event':_0xffa2('0x6f'),'message':_0x5428b1[_0xffa2('0x29')]},client9002)[_0xffa2('0x20')](function(){return _0x5428b1;});}return _0x5428b1;}return null;})[_0xffa2('0x20')](respondWithResult(_0x7c8347,null))[_0xffa2('0x2b')](handleError(_0x7c8347,null));};var interaction_log=require('../../config/logger')('sms-interactions');exports[_0xffa2('0x70')]=function(_0x24b07c,_0x123123,_0x735f4c){var _0x3235a0={'agent':{},'channel':_0xffa2('0x71')};if(_0x24b07c['body']['id']){delete _0x24b07c[_0xffa2('0x56')]['id'];}_0x24b07c['body']['UserId']=_0x24b07c['body']['UserId']||_0x24b07c['user']['id'];_0x3235a0[_0xffa2('0x72')]['id']=_0x24b07c[_0xffa2('0x56')]['UserId'];return db[_0xffa2('0x4c')]['find']({'where':{'id':_0x24b07c['params']['id'],'UserId':null}})[_0xffa2('0x20')](handleEntityNotFound(_0x123123,null))[_0xffa2('0x20')](function(_0x4a6f84){if(_0x4a6f84){_0x3235a0['message']=_0x4a6f84[_0xffa2('0x73')]({'plain':!![]});return db[_0xffa2('0x62')][_0xffa2('0x54')]({'where':{'id':_0x4a6f84[_0xffa2('0x63')]}});}return null;})[_0xffa2('0x20')](handleEntityNotFound(_0x123123,null))[_0xffa2('0x20')](function(_0x54d325){if(_0x54d325){_0x3235a0[_0xffa2('0x66')]=_0x54d325[_0xffa2('0x73')]({'plain':!![]});interaction_log[_0xffa2('0x21')]('[SMSMESSAGE:REJECT]\x20id=%s\x20name=%s\x20role=%s\x20interaction=%s\x20body=%s',_0x24b07c[_0xffa2('0x60')]['id'],_0x24b07c[_0xffa2('0x60')][_0xffa2('0x35')],_0x24b07c[_0xffa2('0x60')][_0xffa2('0x68')],_0x3235a0['interaction']['id'],_0x24b07c['body']?JSON[_0xffa2('0x25')](_0x24b07c['body']):_0xffa2('0x69'));return respondWithRpcPromise(_0xffa2('0x74'),_0xffa2('0x75'),_0x3235a0);}return null;})[_0xffa2('0x20')](function(_0x26b8aa){if(_0x26b8aa){_0x26b8aa[_0xffa2('0x29')][_0xffa2('0x6c')]=util[_0xffa2('0x5d')](_0xffa2('0x6d'),_0x24b07c[_0xffa2('0x60')][_0xffa2('0x35')]);_0x26b8aa[_0xffa2('0x29')][_0xffa2('0x6e')]=_0x3235a0['channel'];_0x26b8aa['message'][_0xffa2('0x76')]='reject';respondWithRpcPromise(_0xffa2('0x77'),_0xffa2('0x77'),{'event':_0xffa2('0x78'),'message':_0x26b8aa['message']},client9002);return _0x3235a0;}return null;})['then'](respondWithResult(_0x123123,null))['catch'](handleError(_0x123123,null));};exports[_0xffa2('0x2c')]=function(_0x561313,_0x256559,_0x1734f5){if(_0x561313[_0xffa2('0x56')]['id']){delete _0x561313[_0xffa2('0x56')]['id'];}var _0x6bcfae;return db[_0xffa2('0x4c')][_0xffa2('0x54')]({'where':{'id':_0x561313['params']['id']}})[_0xffa2('0x20')](handleEntityNotFound(_0x256559,null))[_0xffa2('0x20')](function(_0xd6d3f6){if(_0xd6d3f6){_0x6bcfae=_0xd6d3f6;return db['SmsAccount'][_0xffa2('0x54')]({'where':{'id':_0xd6d3f6[_0xffa2('0x79')]}});}})['then'](handleEntityNotFound(_0x256559,null))['then'](function(_0x5271c5){if(_0x5271c5){logger[_0xffa2('0x23')](_0xffa2('0x24'),'status',_0xffa2('0x7a'),_0x5271c5['type'],util['inspect'](_0x561313[_0xffa2('0x56')],{'showHidden':![],'depth':null}));switch(_0x5271c5[_0xffa2('0x3b')]){case _0xffa2('0x7b'):if(_0x561313[_0xffa2('0x56')][_0xffa2('0x7c')]&&_0x561313[_0xffa2('0x56')][_0xffa2('0x7c')]===_0x6bcfae[_0xffa2('0x7d')]){return _0x6bcfae['update']({'read':!![]});}else{logger[_0xffa2('0x26')](_0xffa2('0x7e'),'status',_0xffa2('0x7b'),util[_0xffa2('0x7f')](_0x561313['body'],{'showHidden':![],'depth':null}));}break;case _0xffa2('0x80'):if(_0x561313['body']['MessageUUID']&&_0x561313['body'][_0xffa2('0x81')]===_0x6bcfae[_0xffa2('0x7d')]&&_['indexOf']([_0xffa2('0x82'),_0xffa2('0x83')],_0x561313[_0xffa2('0x56')][_0xffa2('0x84')])>=0x0){return _0x6bcfae['update']({'read':!![]});}else{logger[_0xffa2('0x26')](_0xffa2('0x7e'),_0xffa2('0x2c'),'plivio',util[_0xffa2('0x7f')](_0x561313['body'],{'showHidden':![],'depth':null}));}break;case'infobip':var _0x1c78c2=_0x561313[_0xffa2('0x56')]['results'][0x0];if(_0x1c78c2[_0xffa2('0x2c')]['groupName']==='DELIVERED'){return _0x6bcfae[_0xffa2('0x57')]({'read':!![]});}else{logger[_0xffa2('0x26')]('SmsAccount,\x20%s,\x20%s,\x20%s',_0xffa2('0x2c'),'infobip',util['inspect'](_0x561313[_0xffa2('0x56')],{'showHidden':![],'depth':null}));}break;}return _0x6bcfae;}})[_0xffa2('0x20')](respondWithResult(_0x256559,null))[_0xffa2('0x2b')](handleError(_0x256559,null));}; \ No newline at end of file diff --git a/server/api/smsMessage/smsMessage.events.js b/server/api/smsMessage/smsMessage.events.js index 0e1b926..4876bd9 100644 --- a/server/api/smsMessage/smsMessage.events.js +++ b/server/api/smsMessage/smsMessage.events.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xad56=['setMaxListeners','update','remove','emit','hasOwnProperty','hook','exports','../../mysqldb','SmsMessage'];(function(_0x472f4b,_0x257f67){var _0x5f4310=function(_0x3b19a6){while(--_0x3b19a6){_0x472f4b['push'](_0x472f4b['shift']());}};_0x5f4310(++_0x257f67);}(_0xad56,0x19c));var _0x6ad5=function(_0x56b6a4,_0x43420e){_0x56b6a4=_0x56b6a4-0x0;var _0x2e0035=_0xad56[_0x56b6a4];return _0x2e0035;};'use strict';var EventEmitter=require('events');var SmsMessage=require(_0x6ad5('0x0'))['db'][_0x6ad5('0x1')];var SmsMessageEvents=new EventEmitter();SmsMessageEvents[_0x6ad5('0x2')](0x0);var events={'afterCreate':'save','afterUpdate':_0x6ad5('0x3'),'afterDestroy':_0x6ad5('0x4')};function emitEvent(_0x47dbb2){return function(_0x3cb5b7,_0x2afa13,_0x5ab713){SmsMessageEvents[_0x6ad5('0x5')](_0x47dbb2+':'+_0x3cb5b7['id'],_0x3cb5b7);SmsMessageEvents[_0x6ad5('0x5')](_0x47dbb2,_0x3cb5b7);_0x5ab713(null);};}for(var e in events){if(events[_0x6ad5('0x6')](e)){var event=events[e];SmsMessage[_0x6ad5('0x7')](e,emitEvent(event));}}module[_0x6ad5('0x8')]=SmsMessageEvents; \ No newline at end of file +var _0x9646=['save','update','remove','emit','hook','exports','events','../../mysqldb','SmsMessage'];(function(_0x3899d1,_0x4aa04c){var _0xeb4a7d=function(_0x3ea5ee){while(--_0x3ea5ee){_0x3899d1['push'](_0x3899d1['shift']());}};_0xeb4a7d(++_0x4aa04c);}(_0x9646,0x1e3));var _0x6964=function(_0xcde186,_0x1d0e5b){_0xcde186=_0xcde186-0x0;var _0x1d6208=_0x9646[_0xcde186];return _0x1d6208;};'use strict';var EventEmitter=require(_0x6964('0x0'));var SmsMessage=require(_0x6964('0x1'))['db'][_0x6964('0x2')];var SmsMessageEvents=new EventEmitter();SmsMessageEvents['setMaxListeners'](0x0);var events={'afterCreate':_0x6964('0x3'),'afterUpdate':_0x6964('0x4'),'afterDestroy':_0x6964('0x5')};function emitEvent(_0x303bd2){return function(_0x1b80fe,_0x56a509,_0x1f8aab){SmsMessageEvents[_0x6964('0x6')](_0x303bd2+':'+_0x1b80fe['id'],_0x1b80fe);SmsMessageEvents[_0x6964('0x6')](_0x303bd2,_0x1b80fe);_0x1f8aab(null);};}for(var e in events){if(events['hasOwnProperty'](e)){var event=events[e];SmsMessage[_0x6964('0x7')](e,emitEvent(event));}}module[_0x6964('0x8')]=SmsMessageEvents; \ No newline at end of file diff --git a/server/api/smsMessage/smsMessage.model.js b/server/api/smsMessage/smsMessage.model.js index 89b2e9a..d238088 100644 --- a/server/api/smsMessage/smsMessage.model.js +++ b/server/api/smsMessage/smsMessage.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x5fa1=['finally','utf8mb4_unicode_ci','lodash','util','../../config/logger','api','bluebird','request-promise','path','rimraf','../../config/environment','./smsMessage.attributes','exports','define','SmsMessage','messageId','fti_sms_messages','body','FULLTEXT','models','get','direction','toLowerCase','out','secret','isNil','UserId','SmsInteraction','findOne','update','createdAt','catch','SmsAccount','find','SmsAccountId','then','type','twilio','authToken','phone','accountSid','messages','remote','/api/sms/messages/','/status?token=','sid','error','SmsMessage,\x20%s,\x20%s,\x20%s','afterCreate','inspect','Missing\x20parameters:\x20phone,\x20accountSid\x20or\x20authToken','skebby','https://api.skebby.it/API/v1.0/REST/','username','password','smsMethod','sender','login?username=','&password=','GET','split','sms','session_key','internal_order_id','senderString','requestid','connectel','xCALLY\x20Motion','%s:%s','POST','https://rest.clicksend.com/v3/sms/send','format','Basic\x20%s','toString','base64','data','head','message_id','deliveryReport','clickSend','Missing\x20parameters:\x20username,\x20password','authId','token','message_uuid','plivo','Missing\x20parameters:\x20authId,\x20authToken','infobip','baseUrl','/auth/1/session','/sms/2/text/advanced','application/json','read','Missing\x20parameters:\x20base_url','crypto','apiKey','timestamp','keys','sort','length','createHash','md5','hex','id_sms','csc','Missing\x20parameters:\x20apiKey','clickatell','uuid','UTF-8','apiMessageId','intelepeer','https://api.intelepeer.com/_rest/v4/app/sms/send','Bearer\x20','message','refid'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x5fa1,0x74));var _0x15fa=function(_0x280a80,_0x226d8e){_0x280a80=_0x280a80-0x0;var _0x119553=_0x5fa1[_0x280a80];return _0x119553;};'use strict';var _=require(_0x15fa('0x0'));var util=require(_0x15fa('0x1'));var logger=require(_0x15fa('0x2'))(_0x15fa('0x3'));var moment=require('moment');var BPromise=require(_0x15fa('0x4'));var rp=require(_0x15fa('0x5'));var fs=require('fs');var path=require(_0x15fa('0x6'));var rimraf=require(_0x15fa('0x7'));var config=require(_0x15fa('0x8'));var attributes=require(_0x15fa('0x9'));module[_0x15fa('0xa')]=function(_0xdb6986,_0x16bfb1){return _0xdb6986[_0x15fa('0xb')](_0x15fa('0xc'),attributes,{'tableName':'sms_messages','paranoid':![],'indexes':[{'name':'messageId','fields':[_0x15fa('0xd')]},{'name':_0x15fa('0xe'),'fields':[_0x15fa('0xf')],'type':_0x15fa('0x10')}],'timestamps':!![],'hooks':{'afterCreate':function(_0x4767fb,_0x5e35ec,_0x38a997){var _0x1a6e99=_0xdb6986[_0x15fa('0x11')];var _0x1a37ea=_0x4767fb[_0x15fa('0x12')]({'plain':!![]});if(_0x1a37ea[_0x15fa('0x13')][_0x15fa('0x14')]()==='in'||_0x1a37ea[_0x15fa('0x13')][_0x15fa('0x14')]()===_0x15fa('0x15')&&!_0x1a37ea[_0x15fa('0x16')]&&!_[_0x15fa('0x17')](_0x1a37ea[_0x15fa('0x18')])){_0x1a6e99[_0x15fa('0x19')][_0x15fa('0x1a')]({'where':{'id':_0x1a37ea['SmsInteractionId']}})['then'](function(_0x1fd61f){if(_0x1fd61f){_0x1fd61f[_0x15fa('0x1b')]({'lastMsgAt':_0x1a37ea[_0x15fa('0x1c')],'lastMsgDirection':_0x1a37ea[_0x15fa('0x13')][_0x15fa('0x14')]()});}})[_0x15fa('0x1d')](function(_0x4da26c){console['error'](_0x4da26c);});}if(_0x1a37ea[_0x15fa('0x13')]===_0x15fa('0x15')&&!_0x1a37ea[_0x15fa('0x16')]){var _0x1ee8e3;_0x1a6e99[_0x15fa('0x1e')][_0x15fa('0x1f')]({'where':{'id':_0x1a37ea[_0x15fa('0x20')]},'raw':!![]})[_0x15fa('0x21')](function(_0x3e9bfe){_0x1ee8e3=_0x3e9bfe;if(_0x1ee8e3&&_0x1ee8e3['type']){switch(_0x1ee8e3[_0x15fa('0x22')]){case _0x15fa('0x23'):var _0x310777=require(_0x15fa('0x23'));if(_0x1ee8e3['accountSid']&&_0x1ee8e3[_0x15fa('0x24')]&&_0x1ee8e3[_0x15fa('0x25')]){var _0xe69e17=new _0x310777(_0x1ee8e3[_0x15fa('0x26')],_0x1ee8e3['authToken']);_0xe69e17[_0x15fa('0x27')]['create']({'body':_0x1a37ea[_0x15fa('0xf')],'to':_0x1a37ea['phone'],'from':_0x1ee8e3[_0x15fa('0x25')],'statusCallback':_0x1ee8e3[_0x15fa('0x28')]+_0x15fa('0x29')+_0x1a37ea['id']+_0x15fa('0x2a')+_0x1ee8e3['token']})['then'](function(_0x69f7ce){if(_0x69f7ce['sid']){return _0x4767fb['update']({'messageId':_0x69f7ce[_0x15fa('0x2b')]});}})[_0x15fa('0x1d')](function(_0x515e99){logger[_0x15fa('0x2c')](_0x15fa('0x2d'),_0x15fa('0x2e'),_0x15fa('0x23'),util[_0x15fa('0x2f')](_0x515e99,{'showHidden':![],'depth':null}));});}else{logger[_0x15fa('0x2c')](_0x15fa('0x2d'),_0x15fa('0x2e'),_0x15fa('0x23'),_0x15fa('0x30'));}break;case _0x15fa('0x31'):var _0x1486e8=_0x15fa('0x32');if(_0x1ee8e3[_0x15fa('0x33')]&&_0x1ee8e3[_0x15fa('0x34')]){var _0x5694c7={'recipient':[_0x1a37ea[_0x15fa('0x25')]],'message':_0x1a37ea[_0x15fa('0xf')],'message_type':_0x1ee8e3[_0x15fa('0x35')]};if(_0x1ee8e3[_0x15fa('0x35')]&&_0x1ee8e3[_0x15fa('0x35')]!=='SI'){_0x5694c7[_0x15fa('0x36')]=_0x1ee8e3[_0x15fa('0x25')];}var _0x194a30={'url':_0x1486e8+_0x15fa('0x37')+_0x1ee8e3[_0x15fa('0x33')]+_0x15fa('0x38')+_0x1ee8e3[_0x15fa('0x34')],'method':_0x15fa('0x39')};rp(_0x194a30)['then'](function(_0x561d39){var _0x2744f9=_0x561d39[_0x15fa('0x3a')](';');var _0x2ef2c1={'user_key':_0x2744f9[0x0],'session_key':_0x2744f9[0x1]};_0x194a30={'url':_0x1486e8+_0x15fa('0x3b'),'method':'POST','headers':{'user_key':_0x2ef2c1['user_key'],'Session_key':_0x2ef2c1[_0x15fa('0x3c')]},'json':!![],'body':_0x5694c7};return rp(_0x194a30);})[_0x15fa('0x21')](function(_0x1716c0){if(_0x1716c0['total_sent']>=0x1){var _0x36ca67={'messageId':_0x1716c0[_0x15fa('0x3d')]};if(_0x1ee8e3[_0x15fa('0x35')]!=='GP'||!_0x1ee8e3['deliveryReport']){_0x36ca67['read']=!![];}return _0x4767fb[_0x15fa('0x1b')](_0x36ca67);}else{return logger[_0x15fa('0x2c')](_0x15fa('0x2d'),_0x15fa('0x2e'),_0x15fa('0x31'),util[_0x15fa('0x2f')](_0x1716c0,{'showHidden':![],'depth':null}));}})[_0x15fa('0x1d')](function(_0x4b55ac){return logger['error'](_0x15fa('0x2d'),_0x15fa('0x2e'),_0x15fa('0x31'),util[_0x15fa('0x2f')](_0x4b55ac,{'showHidden':![],'depth':null}));});}else{logger[_0x15fa('0x2c')](_0x15fa('0x2d'),'afterCreate',_0x15fa('0x31'),'Missing\x20parameters:\x20username,\x20password');}break;case'connectel':if(_0x1ee8e3[_0x15fa('0x24')]){var _0x30e1de={'recipient':_0x1a37ea[_0x15fa('0x25')],'message':_0x1a37ea[_0x15fa('0xf')],'sender':_0x1ee8e3[_0x15fa('0x3e')]||_0x1ee8e3['phone'],'authorization':_0x1ee8e3[_0x15fa('0x24')]};var _0x5e35ec={'method':'POST','uri':'https://smsapi.connectel.se/api/send/','body':_0x30e1de,'json':!![]};rp(_0x5e35ec)[_0x15fa('0x21')](function(_0x559535){var _0x2af678={'messageId':_0x559535[_0x15fa('0x3f')]};if(!_0x1ee8e3['deliveryReport']){_0x2af678['read']=!![];}return _0x4767fb[_0x15fa('0x1b')](_0x2af678);})[_0x15fa('0x1d')](function(_0x576758){logger['error'](_0x15fa('0x2d'),_0x15fa('0x2e'),_0x15fa('0x40'),util['inspect'](_0x576758,{'showHidden':![],'depth':null}));});}else{logger[_0x15fa('0x2c')]('SmsMessage,\x20%s,\x20%s,\x20%s',_0x15fa('0x2e'),_0x15fa('0x40'),'Missing\x20parameters:\x20authToken');}break;case'clicksend':if(_0x1ee8e3[_0x15fa('0x33')]&&_0x1ee8e3[_0x15fa('0x34')]){var _0x30e1de={'messages':[{'source':_0x15fa('0x41'),'to':_0x1a37ea[_0x15fa('0x25')],'body':_0x1a37ea[_0x15fa('0xf')],'from':_0x1ee8e3[_0x15fa('0x3e')]||_0x1ee8e3['phone']}]};var _0x36c60b=util['format'](_0x15fa('0x42'),_0x1ee8e3[_0x15fa('0x33')],_0x1ee8e3[_0x15fa('0x34')]);var _0x5e35ec={'method':_0x15fa('0x43'),'uri':_0x15fa('0x44'),'body':_0x30e1de,'headers':{'Authorization':util[_0x15fa('0x45')](_0x15fa('0x46'),new Buffer(_0x36c60b)[_0x15fa('0x47')](_0x15fa('0x48')))},'json':!![]};rp(_0x5e35ec)['then'](function(_0x27bace){if(_0x27bace['http_code']>=0xc8&&_0x27bace['http_code']<=0xce){if(_0x27bace[_0x15fa('0x49')]&&_0x27bace['data']['queued_count']>0x0){var _0x3cdc07=_[_0x15fa('0x4a')](_0x27bace[_0x15fa('0x49')][_0x15fa('0x27')]);var _0xa8b19d={'messageId':_0x3cdc07[_0x15fa('0x4b')]};if(!_0x1ee8e3[_0x15fa('0x4c')]){_0xa8b19d['read']=!![];}return _0x4767fb['update'](_0xa8b19d);}else{logger[_0x15fa('0x2c')](_0x15fa('0x2d'),_0x15fa('0x2e'),'clickSend',util[_0x15fa('0x2f')](_0x27bace,{'showHidden':![],'depth':null}));}}else{logger[_0x15fa('0x2c')]('SmsMessage,\x20%s,\x20%s,\x20%s',_0x15fa('0x2e'),_0x15fa('0x4d'),util[_0x15fa('0x2f')](_0x27bace,{'showHidden':![],'depth':null}));}})[_0x15fa('0x1d')](function(_0x540e36){logger[_0x15fa('0x2c')](_0x15fa('0x2d'),'afterCreate','clickSend',util[_0x15fa('0x2f')](_0x540e36,{'showHidden':![],'depth':null}));});}else{logger[_0x15fa('0x2c')](_0x15fa('0x2d'),_0x15fa('0x2e'),_0x15fa('0x4d'),_0x15fa('0x4e'));}break;case'plivo':if(_0x1ee8e3[_0x15fa('0x4f')]&&_0x1ee8e3[_0x15fa('0x24')]){var _0x30e1de={'dst':_0x1a37ea[_0x15fa('0x25')],'text':_0x1a37ea[_0x15fa('0xf')],'src':_0x1ee8e3[_0x15fa('0x3e')]||_0x1ee8e3[_0x15fa('0x25')],'url':_0x1ee8e3[_0x15fa('0x28')]+_0x15fa('0x29')+_0x1a37ea['id']+'/status?token='+_0x1ee8e3[_0x15fa('0x50')]};var _0x36c60b=util[_0x15fa('0x45')](_0x15fa('0x42'),_0x1ee8e3[_0x15fa('0x4f')],_0x1ee8e3[_0x15fa('0x24')]);var _0x5e35ec={'method':_0x15fa('0x43'),'uri':util['format']('https://api.plivo.com/v1/Account/%s/Message/',_0x1ee8e3['authId']),'body':_0x30e1de,'headers':{'Authorization':util[_0x15fa('0x45')]('Basic\x20%s',new Buffer(_0x36c60b)[_0x15fa('0x47')](_0x15fa('0x48')))},'json':!![]};rp(_0x5e35ec)['then'](function(_0x1ced9c){var _0x3ec417={'messageId':_0x1ced9c[_0x15fa('0x51')][0x0]};return _0x4767fb['update'](_0x3ec417);})[_0x15fa('0x1d')](function(_0x5ecb40){logger['error'](_0x15fa('0x2d'),'afterCreate','plivo',util[_0x15fa('0x2f')](_0x5ecb40,{'showHidden':![],'depth':null}));});}else{logger[_0x15fa('0x2c')](_0x15fa('0x2d'),_0x15fa('0x2e'),_0x15fa('0x52'),_0x15fa('0x53'));}break;case _0x15fa('0x54'):if(_0x1ee8e3[_0x15fa('0x33')]&&_0x1ee8e3[_0x15fa('0x34')]){if(_0x1ee8e3[_0x15fa('0x55')]){var _0x5ce314={'method':_0x15fa('0x43'),'uri':_0x1ee8e3[_0x15fa('0x55')]+_0x15fa('0x56'),'body':{'username':_0x1ee8e3['username'],'password':_0x1ee8e3[_0x15fa('0x34')]},'json':!![]};return rp(_0x5ce314)[_0x15fa('0x21')](function(_0x5bba14){var _0x2169fe={'method':_0x15fa('0x43'),'uri':_0x1ee8e3['baseUrl']+_0x15fa('0x57'),'body':{'messages':[{'from':_0x1ee8e3[_0x15fa('0x25')],'destinations':[{'to':_0x1a37ea['phone']}],'text':_0x1a37ea[_0x15fa('0xf')],'notifyUrl':_0x1ee8e3[_0x15fa('0x28')]+'/api/sms/messages/'+_0x1a37ea['id']+_0x15fa('0x2a')+_0x1ee8e3[_0x15fa('0x50')],'notifyContentType':_0x15fa('0x58'),'callbackData':_0x1ee8e3[_0x15fa('0x25')]+';'+_0x1a37ea[_0x15fa('0xf')]}]},'headers':{'Authorization':'IBSSO\x20'+_0x5bba14[_0x15fa('0x50')]},'json':!![]};return rp(_0x2169fe)['then'](function(_0x48da50){if(_0x48da50[_0x15fa('0x27')]){var _0x51a29d={'messageId':_0x48da50[_0x15fa('0x27')][0x0][_0x15fa('0xd')]};if(!_0x1ee8e3['deliveryReport']){_0x51a29d[_0x15fa('0x59')]=!![];}return _0x4767fb[_0x15fa('0x1b')](_0x51a29d);}else{return logger[_0x15fa('0x2c')](_0x15fa('0x2d'),'afterCreate',_0x15fa('0x54'),util[_0x15fa('0x2f')](_0x48da50,{'showHidden':![],'depth':null}));}});})[_0x15fa('0x1d')](function(_0x2e1bcf){return logger[_0x15fa('0x2c')](_0x15fa('0x2d'),'afterCreate',_0x15fa('0x54'),util['inspect'](_0x2e1bcf,{'showHidden':![],'depth':null}));});}else{logger[_0x15fa('0x2c')](_0x15fa('0x2d'),_0x15fa('0x2e'),_0x15fa('0x54'),_0x15fa('0x5a'));}}else{logger[_0x15fa('0x2c')](_0x15fa('0x2d'),_0x15fa('0x2e'),_0x15fa('0x54'),_0x15fa('0x4e'));}break;case'csc':var _0x41c0bd=require(_0x15fa('0x5b'));if(_0x1ee8e3[_0x15fa('0x5c')]){var _0x451356={};_0x451356['login']=_0x1ee8e3[_0x15fa('0x33')];_0x451356['phone']=_0x1a37ea[_0x15fa('0x25')];_0x451356[_0x15fa('0x36')]=_0x1ee8e3[_0x15fa('0x25')];_0x451356['text']=_0x1a37ea[_0x15fa('0xf')];_0x451356[_0x15fa('0x5d')]=+new Date();var _0x93b9d='';var _0x13dfc2='';var _0x20ef37=Object[_0x15fa('0x5e')](_0x451356);_0x20ef37[_0x15fa('0x5f')]();for(var _0x57b916=0x0;_0x57b916<_0x20ef37[_0x15fa('0x60')];_0x57b916++){if(_0x93b9d!=''){_0x93b9d+='&';}_0x93b9d+=_0x20ef37[_0x57b916]+'='+encodeURIComponent(_0x451356[_0x20ef37[_0x57b916]]);_0x13dfc2+=_0x451356[_0x20ef37[_0x57b916]];}_0x13dfc2+=_0x1ee8e3[_0x15fa('0x5c')];_0x13dfc2=_0x41c0bd[_0x15fa('0x61')](_0x15fa('0x62'))['update'](_0x13dfc2)['digest'](_0x15fa('0x63'));if(_0x93b9d!==''){_0x93b9d+='&';}_0x93b9d+='signature='+_0x13dfc2;var _0x194a30={'method':_0x15fa('0x39'),'uri':_0x1ee8e3[_0x15fa('0x55')]+'/external/get/send.php?'+_0x93b9d,'json':!![]};return rp(_0x194a30)[_0x15fa('0x21')](function(_0x1358ac){var _0x1cbb2b=Object[_0x15fa('0x5e')](_0x1358ac);if(_0x1358ac[_0x1cbb2b[0x0]][_0x15fa('0x2c')]&&parseInt(_0x1358ac[_0x1cbb2b[0x0]][_0x15fa('0x2c')])===0x0){var _0x115677={'messageId':_0x1358ac[_0x1cbb2b[0x0]][_0x15fa('0x64')]};if(!_0x1ee8e3['deliveryReport']){_0x115677[_0x15fa('0x59')]=!![];}return _0x4767fb[_0x15fa('0x1b')](_0x115677);}else{return logger[_0x15fa('0x2c')]('SmsMessage,\x20%s,\x20%s,\x20%s','afterCreate',_0x15fa('0x65'),util[_0x15fa('0x2f')](_0x1358ac[_0x15fa('0x2c')],{'showHidden':![],'depth':null}));}})[_0x15fa('0x1d')](function(_0x4d3cda){return logger[_0x15fa('0x2c')]('SmsMessage,\x20%s,\x20%s,\x20%s','afterCreate',_0x15fa('0x65'),util[_0x15fa('0x2f')](_0x4d3cda,{'showHidden':![],'depth':null}));});}else{logger['error'](_0x15fa('0x2d'),_0x15fa('0x2e'),_0x15fa('0x65'),_0x15fa('0x66'));}break;case _0x15fa('0x67'):if(_0x1ee8e3['apiKey']){var _0x2eb597={'method':'POST','uri':'https://platform.clickatell.com/messages','headers':{'Authorization':_0x1ee8e3[_0x15fa('0x5c')]},'body':{'content':_0x1a37ea[_0x15fa('0xf')],'to':[_0x1a37ea[_0x15fa('0x25')]],'from':_0x1ee8e3['phone'],'binary':![],'clientMessageId':_0x15fa('0x68'),'charset':_0x15fa('0x69')},'json':!![]};rp(_0x2eb597)[_0x15fa('0x21')](function(_0x35df3c){if(!_0x35df3c[_0x15fa('0x2c')]){var _0x355a3c={'messageId':_0x35df3c[_0x15fa('0x27')][0x0][_0x15fa('0x6a')]};if(!_0x1ee8e3[_0x15fa('0x4c')]){_0x355a3c[_0x15fa('0x59')]=!![];}return _0x4767fb[_0x15fa('0x1b')](_0x355a3c);}else{return logger[_0x15fa('0x2c')](_0x15fa('0x2d'),_0x15fa('0x2e'),_0x15fa('0x67'),util['inspect'](_0x35df3c[_0x15fa('0x2c')],{'showHidden':![],'depth':null}));}})[_0x15fa('0x1d')](function(_0x537418){return logger['error'](_0x15fa('0x2d'),'afterCreate','clickatell',util[_0x15fa('0x2f')](_0x537418,{'showHidden':![],'depth':null}));});}else{logger['error'](_0x15fa('0x2d'),'afterCreate','clickatell',_0x15fa('0x66'));}break;case _0x15fa('0x6b'):if(_0x1ee8e3['apiKey']){var _0x989702={};var _0x194a30={'method':'POST','uri':_0x15fa('0x6c'),'headers':{'Authorization':_0x15fa('0x6d')+_0x1ee8e3[_0x15fa('0x5c')],'Content-Type':'application/json'},'body':{'from':_0x1ee8e3['phone'],'to':_0x1a37ea[_0x15fa('0x25')],'text':_0x1a37ea[_0x15fa('0xf')]},'json':!![]};return rp(_0x194a30)[_0x15fa('0x21')](function(_0x11367b){if(_0x11367b['code']==0xca){_0x989702[_0x15fa('0x6e')]=_0x11367b;var _0x2afad2={'method':'POST','uri':'https://api.intelepeer.com/_rest/v4/app/sms/mdr','headers':{'Authorization':_0x15fa('0x6d')+_0x1ee8e3[_0x15fa('0x5c')],'Content-Type':_0x15fa('0x58')},'body':{'refid':_0x989702['message'][_0x15fa('0x6f')]},'json':!![]};return rp(_0x2afad2)['then'](function(_0x14bb24){_0x989702['status']=_0x14bb24;var _0x216726={'messageId':_0x989702[_0x15fa('0x6e')][_0x15fa('0x6f')],'read':!![]};return _0x4767fb[_0x15fa('0x1b')](_0x216726);});}else{return logger[_0x15fa('0x2c')](_0x15fa('0x2d'),_0x15fa('0x2e'),'intelepeer',util['inspect'](_0x11367b,{'showHidden':![],'depth':null}));}})[_0x15fa('0x1d')](function(_0x24b554){return logger[_0x15fa('0x2c')](_0x15fa('0x2d'),_0x15fa('0x2e'),_0x15fa('0x6b'),util['inspect'](_0x24b554,{'showHidden':![],'depth':null}));});}else{return logger[_0x15fa('0x2c')]('SmsMessage,\x20%s,\x20%s,\x20%s',_0x15fa('0x2e'),'intelepeer','Token\x20not\x20received');}break;}}})[_0x15fa('0x70')](function(){_0x38a997();});}else{_0x38a997();}}},'charset':'utf8mb4','collate':_0x15fa('0x71')});}; \ No newline at end of file +var _0x62f8=['intelepeer','https://api.intelepeer.com/_rest/v4/app/sms/send','Bearer\x20','code','message','https://api.intelepeer.com/_rest/v4/app/sms/mdr','application/json','status','refid','finally','utf8mb4','utf8mb4_unicode_ci','lodash','../../config/logger','api','moment','bluebird','request-promise','./smsMessage.attributes','define','SmsMessage','sms_messages','messageId','fti_sms_messages','body','FULLTEXT','models','direction','toLowerCase','out','UserId','SmsInteractionId','update','createdAt','catch','error','find','then','type','twilio','authToken','phone','accountSid','messages','create','remote','/api/sms/messages/','/status?token=','token','sid','SmsMessage,\x20%s,\x20%s,\x20%s','inspect','afterCreate','skebby','https://api.skebby.it/API/v1.0/REST/','username','smsMethod','login?username=','password','GET','split','sms','user_key','session_key','total_sent','internal_order_id','deliveryReport','read','senderString','https://smsapi.connectel.se/api/send/','connectel','Missing\x20parameters:\x20authToken','xCALLY\x20Motion','format','%s:%s','POST','Basic\x20%s','toString','base64','http_code','data','queued_count','head','clickSend','Missing\x20parameters:\x20username,\x20password','plivo','authId','https://api.plivo.com/v1/Account/%s/Message/','message_uuid','Missing\x20parameters:\x20authId,\x20authToken','infobip','baseUrl','IBSSO\x20','Missing\x20parameters:\x20base_url','crypto','apiKey','login','text','keys','sort','length','md5','hex','signature=','id_sms','csc','Missing\x20parameters:\x20apiKey','clickatell','https://platform.clickatell.com/messages','uuid','apiMessageId'];(function(_0x565ed7,_0x398228){var _0x183ad7=function(_0x5a43d7){while(--_0x5a43d7){_0x565ed7['push'](_0x565ed7['shift']());}};_0x183ad7(++_0x398228);}(_0x62f8,0x159));var _0x862f=function(_0x3d4dcd,_0x1244e6){_0x3d4dcd=_0x3d4dcd-0x0;var _0x57c11b=_0x62f8[_0x3d4dcd];return _0x57c11b;};'use strict';var _=require(_0x862f('0x0'));var util=require('util');var logger=require(_0x862f('0x1'))(_0x862f('0x2'));var moment=require(_0x862f('0x3'));var BPromise=require(_0x862f('0x4'));var rp=require(_0x862f('0x5'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x862f('0x6'));module['exports']=function(_0x280611,_0x519525){return _0x280611[_0x862f('0x7')](_0x862f('0x8'),attributes,{'tableName':_0x862f('0x9'),'paranoid':![],'indexes':[{'name':_0x862f('0xa'),'fields':['messageId']},{'name':_0x862f('0xb'),'fields':[_0x862f('0xc')],'type':_0x862f('0xd')}],'timestamps':!![],'hooks':{'afterCreate':function(_0x36dbb6,_0x294bb5,_0x3f5e03){var _0x5c1b2a=_0x280611[_0x862f('0xe')];var _0x4f0e8d=_0x36dbb6['get']({'plain':!![]});if(_0x4f0e8d[_0x862f('0xf')][_0x862f('0x10')]()==='in'||_0x4f0e8d[_0x862f('0xf')]['toLowerCase']()===_0x862f('0x11')&&!_0x4f0e8d['secret']&&!_['isNil'](_0x4f0e8d[_0x862f('0x12')])){_0x5c1b2a['SmsInteraction']['findOne']({'where':{'id':_0x4f0e8d[_0x862f('0x13')]}})['then'](function(_0x9c83e8){if(_0x9c83e8){_0x9c83e8[_0x862f('0x14')]({'lastMsgAt':_0x4f0e8d[_0x862f('0x15')],'lastMsgDirection':_0x4f0e8d[_0x862f('0xf')][_0x862f('0x10')]()});}})[_0x862f('0x16')](function(_0x2d96d8){console[_0x862f('0x17')](_0x2d96d8);});}if(_0x4f0e8d['direction']===_0x862f('0x11')&&!_0x4f0e8d['secret']){var _0x74ba05;_0x5c1b2a['SmsAccount'][_0x862f('0x18')]({'where':{'id':_0x4f0e8d['SmsAccountId']},'raw':!![]})[_0x862f('0x19')](function(_0x3405c1){_0x74ba05=_0x3405c1;if(_0x74ba05&&_0x74ba05[_0x862f('0x1a')]){switch(_0x74ba05['type']){case _0x862f('0x1b'):var _0x386756=require(_0x862f('0x1b'));if(_0x74ba05['accountSid']&&_0x74ba05[_0x862f('0x1c')]&&_0x74ba05[_0x862f('0x1d')]){var _0x2ab49f=new _0x386756(_0x74ba05[_0x862f('0x1e')],_0x74ba05['authToken']);_0x2ab49f[_0x862f('0x1f')][_0x862f('0x20')]({'body':_0x4f0e8d[_0x862f('0xc')],'to':_0x4f0e8d[_0x862f('0x1d')],'from':_0x74ba05[_0x862f('0x1d')],'statusCallback':_0x74ba05[_0x862f('0x21')]+_0x862f('0x22')+_0x4f0e8d['id']+_0x862f('0x23')+_0x74ba05[_0x862f('0x24')]})[_0x862f('0x19')](function(_0x288d09){if(_0x288d09[_0x862f('0x25')]){return _0x36dbb6[_0x862f('0x14')]({'messageId':_0x288d09['sid']});}})['catch'](function(_0x5af69c){logger['error'](_0x862f('0x26'),'afterCreate',_0x862f('0x1b'),util[_0x862f('0x27')](_0x5af69c,{'showHidden':![],'depth':null}));});}else{logger[_0x862f('0x17')]('SmsMessage,\x20%s,\x20%s,\x20%s',_0x862f('0x28'),_0x862f('0x1b'),'Missing\x20parameters:\x20phone,\x20accountSid\x20or\x20authToken');}break;case _0x862f('0x29'):var _0x3cf39d=_0x862f('0x2a');if(_0x74ba05[_0x862f('0x2b')]&&_0x74ba05['password']){var _0x5f1697={'recipient':[_0x4f0e8d[_0x862f('0x1d')]],'message':_0x4f0e8d['body'],'message_type':_0x74ba05['smsMethod']};if(_0x74ba05[_0x862f('0x2c')]&&_0x74ba05[_0x862f('0x2c')]!=='SI'){_0x5f1697['sender']=_0x74ba05[_0x862f('0x1d')];}var _0x5dcba2={'url':_0x3cf39d+_0x862f('0x2d')+_0x74ba05['username']+'&password='+_0x74ba05[_0x862f('0x2e')],'method':_0x862f('0x2f')};rp(_0x5dcba2)[_0x862f('0x19')](function(_0x2231af){var _0x493baf=_0x2231af[_0x862f('0x30')](';');var _0x2ffc87={'user_key':_0x493baf[0x0],'session_key':_0x493baf[0x1]};_0x5dcba2={'url':_0x3cf39d+_0x862f('0x31'),'method':'POST','headers':{'user_key':_0x2ffc87[_0x862f('0x32')],'Session_key':_0x2ffc87[_0x862f('0x33')]},'json':!![],'body':_0x5f1697};return rp(_0x5dcba2);})['then'](function(_0x58e84c){if(_0x58e84c[_0x862f('0x34')]>=0x1){var _0x2f89d4={'messageId':_0x58e84c[_0x862f('0x35')]};if(_0x74ba05[_0x862f('0x2c')]!=='GP'||!_0x74ba05[_0x862f('0x36')]){_0x2f89d4[_0x862f('0x37')]=!![];}return _0x36dbb6[_0x862f('0x14')](_0x2f89d4);}else{return logger[_0x862f('0x17')](_0x862f('0x26'),_0x862f('0x28'),'skebby',util[_0x862f('0x27')](_0x58e84c,{'showHidden':![],'depth':null}));}})[_0x862f('0x16')](function(_0x2712fe){return logger[_0x862f('0x17')](_0x862f('0x26'),_0x862f('0x28'),'skebby',util[_0x862f('0x27')](_0x2712fe,{'showHidden':![],'depth':null}));});}else{logger[_0x862f('0x17')](_0x862f('0x26'),_0x862f('0x28'),_0x862f('0x29'),'Missing\x20parameters:\x20username,\x20password');}break;case'connectel':if(_0x74ba05[_0x862f('0x1c')]){var _0xea7d7d={'recipient':_0x4f0e8d[_0x862f('0x1d')],'message':_0x4f0e8d[_0x862f('0xc')],'sender':_0x74ba05[_0x862f('0x38')]||_0x74ba05[_0x862f('0x1d')],'authorization':_0x74ba05[_0x862f('0x1c')]};var _0x294bb5={'method':'POST','uri':_0x862f('0x39'),'body':_0xea7d7d,'json':!![]};rp(_0x294bb5)[_0x862f('0x19')](function(_0x2efad4){var _0x46a978={'messageId':_0x2efad4['requestid']};if(!_0x74ba05[_0x862f('0x36')]){_0x46a978[_0x862f('0x37')]=!![];}return _0x36dbb6['update'](_0x46a978);})[_0x862f('0x16')](function(_0x1ebca4){logger[_0x862f('0x17')](_0x862f('0x26'),_0x862f('0x28'),_0x862f('0x3a'),util[_0x862f('0x27')](_0x1ebca4,{'showHidden':![],'depth':null}));});}else{logger[_0x862f('0x17')](_0x862f('0x26'),_0x862f('0x28'),'connectel',_0x862f('0x3b'));}break;case'clicksend':if(_0x74ba05['username']&&_0x74ba05[_0x862f('0x2e')]){var _0xea7d7d={'messages':[{'source':_0x862f('0x3c'),'to':_0x4f0e8d[_0x862f('0x1d')],'body':_0x4f0e8d['body'],'from':_0x74ba05[_0x862f('0x38')]||_0x74ba05[_0x862f('0x1d')]}]};var _0x70ccf0=util[_0x862f('0x3d')](_0x862f('0x3e'),_0x74ba05[_0x862f('0x2b')],_0x74ba05[_0x862f('0x2e')]);var _0x294bb5={'method':_0x862f('0x3f'),'uri':'https://rest.clicksend.com/v3/sms/send','body':_0xea7d7d,'headers':{'Authorization':util[_0x862f('0x3d')](_0x862f('0x40'),new Buffer(_0x70ccf0)[_0x862f('0x41')](_0x862f('0x42')))},'json':!![]};rp(_0x294bb5)[_0x862f('0x19')](function(_0x1e85c1){if(_0x1e85c1[_0x862f('0x43')]>=0xc8&&_0x1e85c1[_0x862f('0x43')]<=0xce){if(_0x1e85c1[_0x862f('0x44')]&&_0x1e85c1[_0x862f('0x44')][_0x862f('0x45')]>0x0){var _0x3908f2=_[_0x862f('0x46')](_0x1e85c1[_0x862f('0x44')][_0x862f('0x1f')]);var _0x528d15={'messageId':_0x3908f2['message_id']};if(!_0x74ba05[_0x862f('0x36')]){_0x528d15[_0x862f('0x37')]=!![];}return _0x36dbb6[_0x862f('0x14')](_0x528d15);}else{logger[_0x862f('0x17')](_0x862f('0x26'),_0x862f('0x28'),_0x862f('0x47'),util[_0x862f('0x27')](_0x1e85c1,{'showHidden':![],'depth':null}));}}else{logger['error']('SmsMessage,\x20%s,\x20%s,\x20%s',_0x862f('0x28'),_0x862f('0x47'),util[_0x862f('0x27')](_0x1e85c1,{'showHidden':![],'depth':null}));}})['catch'](function(_0x279d2f){logger['error'](_0x862f('0x26'),_0x862f('0x28'),_0x862f('0x47'),util[_0x862f('0x27')](_0x279d2f,{'showHidden':![],'depth':null}));});}else{logger[_0x862f('0x17')](_0x862f('0x26'),'afterCreate','clickSend',_0x862f('0x48'));}break;case _0x862f('0x49'):if(_0x74ba05[_0x862f('0x4a')]&&_0x74ba05[_0x862f('0x1c')]){var _0xea7d7d={'dst':_0x4f0e8d[_0x862f('0x1d')],'text':_0x4f0e8d[_0x862f('0xc')],'src':_0x74ba05[_0x862f('0x38')]||_0x74ba05[_0x862f('0x1d')],'url':_0x74ba05['remote']+_0x862f('0x22')+_0x4f0e8d['id']+_0x862f('0x23')+_0x74ba05['token']};var _0x70ccf0=util['format'](_0x862f('0x3e'),_0x74ba05[_0x862f('0x4a')],_0x74ba05[_0x862f('0x1c')]);var _0x294bb5={'method':_0x862f('0x3f'),'uri':util[_0x862f('0x3d')](_0x862f('0x4b'),_0x74ba05['authId']),'body':_0xea7d7d,'headers':{'Authorization':util['format']('Basic\x20%s',new Buffer(_0x70ccf0)['toString'](_0x862f('0x42')))},'json':!![]};rp(_0x294bb5)[_0x862f('0x19')](function(_0x3f97a7){var _0x225f58={'messageId':_0x3f97a7[_0x862f('0x4c')][0x0]};return _0x36dbb6[_0x862f('0x14')](_0x225f58);})['catch'](function(_0x16d542){logger['error'](_0x862f('0x26'),'afterCreate','plivo',util[_0x862f('0x27')](_0x16d542,{'showHidden':![],'depth':null}));});}else{logger[_0x862f('0x17')](_0x862f('0x26'),'afterCreate',_0x862f('0x49'),_0x862f('0x4d'));}break;case _0x862f('0x4e'):if(_0x74ba05[_0x862f('0x2b')]&&_0x74ba05[_0x862f('0x2e')]){if(_0x74ba05[_0x862f('0x4f')]){var _0x46fc1f={'method':_0x862f('0x3f'),'uri':_0x74ba05[_0x862f('0x4f')]+'/auth/1/session','body':{'username':_0x74ba05[_0x862f('0x2b')],'password':_0x74ba05[_0x862f('0x2e')]},'json':!![]};return rp(_0x46fc1f)[_0x862f('0x19')](function(_0x2135c5){var _0x1f4ae5={'method':_0x862f('0x3f'),'uri':_0x74ba05['baseUrl']+'/sms/2/text/advanced','body':{'messages':[{'from':_0x74ba05[_0x862f('0x1d')],'destinations':[{'to':_0x4f0e8d[_0x862f('0x1d')]}],'text':_0x4f0e8d['body'],'notifyUrl':_0x74ba05[_0x862f('0x21')]+_0x862f('0x22')+_0x4f0e8d['id']+_0x862f('0x23')+_0x74ba05[_0x862f('0x24')],'notifyContentType':'application/json','callbackData':_0x74ba05[_0x862f('0x1d')]+';'+_0x4f0e8d[_0x862f('0xc')]}]},'headers':{'Authorization':_0x862f('0x50')+_0x2135c5[_0x862f('0x24')]},'json':!![]};return rp(_0x1f4ae5)[_0x862f('0x19')](function(_0x510b05){if(_0x510b05[_0x862f('0x1f')]){var _0x579ea7={'messageId':_0x510b05[_0x862f('0x1f')][0x0][_0x862f('0xa')]};if(!_0x74ba05[_0x862f('0x36')]){_0x579ea7[_0x862f('0x37')]=!![];}return _0x36dbb6[_0x862f('0x14')](_0x579ea7);}else{return logger[_0x862f('0x17')]('SmsMessage,\x20%s,\x20%s,\x20%s',_0x862f('0x28'),_0x862f('0x4e'),util[_0x862f('0x27')](_0x510b05,{'showHidden':![],'depth':null}));}});})[_0x862f('0x16')](function(_0x56db5f){return logger[_0x862f('0x17')](_0x862f('0x26'),'afterCreate',_0x862f('0x4e'),util['inspect'](_0x56db5f,{'showHidden':![],'depth':null}));});}else{logger['error'](_0x862f('0x26'),_0x862f('0x28'),'infobip',_0x862f('0x51'));}}else{logger[_0x862f('0x17')](_0x862f('0x26'),_0x862f('0x28'),_0x862f('0x4e'),_0x862f('0x48'));}break;case'csc':var _0x5940c9=require(_0x862f('0x52'));if(_0x74ba05[_0x862f('0x53')]){var _0x1fc916={};_0x1fc916[_0x862f('0x54')]=_0x74ba05['username'];_0x1fc916['phone']=_0x4f0e8d['phone'];_0x1fc916['sender']=_0x74ba05['phone'];_0x1fc916[_0x862f('0x55')]=_0x4f0e8d[_0x862f('0xc')];_0x1fc916['timestamp']=+new Date();var _0x445a09='';var _0x3eb616='';var _0x4f3cdf=Object[_0x862f('0x56')](_0x1fc916);_0x4f3cdf[_0x862f('0x57')]();for(var _0x46a162=0x0;_0x46a162<_0x4f3cdf[_0x862f('0x58')];_0x46a162++){if(_0x445a09!=''){_0x445a09+='&';}_0x445a09+=_0x4f3cdf[_0x46a162]+'='+encodeURIComponent(_0x1fc916[_0x4f3cdf[_0x46a162]]);_0x3eb616+=_0x1fc916[_0x4f3cdf[_0x46a162]];}_0x3eb616+=_0x74ba05[_0x862f('0x53')];_0x3eb616=_0x5940c9['createHash'](_0x862f('0x59'))[_0x862f('0x14')](_0x3eb616)['digest'](_0x862f('0x5a'));if(_0x445a09!==''){_0x445a09+='&';}_0x445a09+=_0x862f('0x5b')+_0x3eb616;var _0x5dcba2={'method':_0x862f('0x2f'),'uri':_0x74ba05[_0x862f('0x4f')]+'/external/get/send.php?'+_0x445a09,'json':!![]};return rp(_0x5dcba2)[_0x862f('0x19')](function(_0x46dc9b){var _0x271c4a=Object['keys'](_0x46dc9b);if(_0x46dc9b[_0x271c4a[0x0]][_0x862f('0x17')]&&parseInt(_0x46dc9b[_0x271c4a[0x0]][_0x862f('0x17')])===0x0){var _0xa02209={'messageId':_0x46dc9b[_0x271c4a[0x0]][_0x862f('0x5c')]};if(!_0x74ba05[_0x862f('0x36')]){_0xa02209[_0x862f('0x37')]=!![];}return _0x36dbb6[_0x862f('0x14')](_0xa02209);}else{return logger['error'](_0x862f('0x26'),_0x862f('0x28'),_0x862f('0x5d'),util[_0x862f('0x27')](_0x46dc9b['error'],{'showHidden':![],'depth':null}));}})[_0x862f('0x16')](function(_0xbdcab1){return logger[_0x862f('0x17')](_0x862f('0x26'),'afterCreate',_0x862f('0x5d'),util[_0x862f('0x27')](_0xbdcab1,{'showHidden':![],'depth':null}));});}else{logger[_0x862f('0x17')](_0x862f('0x26'),_0x862f('0x28'),_0x862f('0x5d'),_0x862f('0x5e'));}break;case _0x862f('0x5f'):if(_0x74ba05[_0x862f('0x53')]){var _0x295122={'method':_0x862f('0x3f'),'uri':_0x862f('0x60'),'headers':{'Authorization':_0x74ba05[_0x862f('0x53')]},'body':{'content':_0x4f0e8d[_0x862f('0xc')],'to':[_0x4f0e8d[_0x862f('0x1d')]],'from':_0x74ba05[_0x862f('0x1d')],'binary':![],'clientMessageId':_0x862f('0x61'),'charset':'UTF-8'},'json':!![]};rp(_0x295122)[_0x862f('0x19')](function(_0x5a0ac3){if(!_0x5a0ac3[_0x862f('0x17')]){var _0x1fb3ab={'messageId':_0x5a0ac3[_0x862f('0x1f')][0x0][_0x862f('0x62')]};if(!_0x74ba05[_0x862f('0x36')]){_0x1fb3ab[_0x862f('0x37')]=!![];}return _0x36dbb6[_0x862f('0x14')](_0x1fb3ab);}else{return logger['error'](_0x862f('0x26'),_0x862f('0x28'),_0x862f('0x5f'),util[_0x862f('0x27')](_0x5a0ac3[_0x862f('0x17')],{'showHidden':![],'depth':null}));}})[_0x862f('0x16')](function(_0x1acca0){return logger['error'](_0x862f('0x26'),_0x862f('0x28'),_0x862f('0x5f'),util[_0x862f('0x27')](_0x1acca0,{'showHidden':![],'depth':null}));});}else{logger[_0x862f('0x17')](_0x862f('0x26'),_0x862f('0x28'),'clickatell',_0x862f('0x5e'));}break;case _0x862f('0x63'):if(_0x74ba05[_0x862f('0x53')]){var _0x1744ca={};var _0x5dcba2={'method':_0x862f('0x3f'),'uri':_0x862f('0x64'),'headers':{'Authorization':_0x862f('0x65')+_0x74ba05['apiKey'],'Content-Type':'application/json'},'body':{'from':_0x74ba05[_0x862f('0x1d')],'to':_0x4f0e8d['phone'],'text':_0x4f0e8d['body']},'json':!![]};return rp(_0x5dcba2)[_0x862f('0x19')](function(_0x4e4f8c){if(_0x4e4f8c[_0x862f('0x66')]==0xca){_0x1744ca[_0x862f('0x67')]=_0x4e4f8c;var _0x4ce35f={'method':_0x862f('0x3f'),'uri':_0x862f('0x68'),'headers':{'Authorization':'Bearer\x20'+_0x74ba05[_0x862f('0x53')],'Content-Type':_0x862f('0x69')},'body':{'refid':_0x1744ca[_0x862f('0x67')]['refid']},'json':!![]};return rp(_0x4ce35f)['then'](function(_0x59240d){_0x1744ca[_0x862f('0x6a')]=_0x59240d;var _0x4160e5={'messageId':_0x1744ca[_0x862f('0x67')][_0x862f('0x6b')],'read':!![]};return _0x36dbb6[_0x862f('0x14')](_0x4160e5);});}else{return logger[_0x862f('0x17')]('SmsMessage,\x20%s,\x20%s,\x20%s','afterCreate',_0x862f('0x63'),util[_0x862f('0x27')](_0x4e4f8c,{'showHidden':![],'depth':null}));}})['catch'](function(_0x138018){return logger[_0x862f('0x17')]('SmsMessage,\x20%s,\x20%s,\x20%s','afterCreate',_0x862f('0x63'),util[_0x862f('0x27')](_0x138018,{'showHidden':![],'depth':null}));});}else{return logger['error'](_0x862f('0x26'),'afterCreate',_0x862f('0x63'),'Token\x20not\x20received');}break;}}})[_0x862f('0x6c')](function(){_0x3f5e03();});}else{_0x3f5e03();}}},'charset':_0x862f('0x6d'),'collate':_0x862f('0x6e')});}; \ No newline at end of file diff --git a/server/api/smsMessage/smsMessage.rpc.js b/server/api/smsMessage/smsMessage.rpc.js index 8b49d05..c2a4640 100644 --- a/server/api/smsMessage/smsMessage.rpc.js +++ b/server/api/smsMessage/smsMessage.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x5f2f=['SmsMessage,\x20%s,\x20%s,\x20%s','stringify','error','code','message','info','result','catch','SmsMessage','create','options','raw','CreateSmsMessage','lodash','util','moment','bluebird','randomstring','ioredis','../../mysqldb','../../config/utils','../../config/environment','jayson/promise','client','http','redis','defaults','localhost','socket.io-emitter','register','then','SmsMessage,\x20%s,\x20%s','request\x20sent','debug'];(function(_0x14a27f,_0x124198){var _0x24a779=function(_0xdaafec){while(--_0xdaafec){_0x14a27f['push'](_0x14a27f['shift']());}};_0x24a779(++_0x124198);}(_0x5f2f,0x73));var _0xf5f2=function(_0x389699,_0x52ac7b){_0x389699=_0x389699-0x0;var _0x40fbf7=_0x5f2f[_0x389699];return _0x40fbf7;};'use strict';var _=require(_0xf5f2('0x0'));var util=require(_0xf5f2('0x1'));var moment=require(_0xf5f2('0x2'));var BPromise=require(_0xf5f2('0x3'));var rs=require(_0xf5f2('0x4'));var fs=require('fs');var Redis=require(_0xf5f2('0x5'));var db=require(_0xf5f2('0x6'))['db'];var utils=require(_0xf5f2('0x7'));var logger=require('../../config/logger')('rpc');var config=require(_0xf5f2('0x8'));var jayson=require(_0xf5f2('0x9'));var client=jayson[_0xf5f2('0xa')][_0xf5f2('0xb')]({'port':0x232a});config[_0xf5f2('0xc')]=_[_0xf5f2('0xd')](config['redis'],{'host':_0xf5f2('0xe'),'port':0x18eb});var socket=require(_0xf5f2('0xf'))(new Redis(config[_0xf5f2('0xc')]));require('./smsMessage.socket')[_0xf5f2('0x10')](socket);function respondWithRpcPromise(_0x15dd7c,_0x218ae3,_0x4e0e6b){return new BPromise(function(_0x977a59,_0x4ebbbe){return client['request'](_0x15dd7c,_0x4e0e6b)[_0xf5f2('0x11')](function(_0x151aba){logger['info'](_0xf5f2('0x12'),_0x218ae3,_0xf5f2('0x13'));logger[_0xf5f2('0x14')](_0xf5f2('0x15'),_0x218ae3,_0xf5f2('0x13'),JSON[_0xf5f2('0x16')](_0x151aba));if(_0x151aba['error']){if(_0x151aba[_0xf5f2('0x17')][_0xf5f2('0x18')]===0x1f4){logger[_0xf5f2('0x17')](_0xf5f2('0x12'),_0x218ae3,_0x151aba[_0xf5f2('0x17')]['message']);return _0x4ebbbe(_0x151aba[_0xf5f2('0x17')][_0xf5f2('0x19')]);}logger[_0xf5f2('0x17')](_0xf5f2('0x12'),_0x218ae3,_0x151aba[_0xf5f2('0x17')][_0xf5f2('0x19')]);return _0x977a59(_0x151aba[_0xf5f2('0x17')][_0xf5f2('0x19')]);}else{logger[_0xf5f2('0x1a')](_0xf5f2('0x12'),_0x218ae3,_0xf5f2('0x13'));_0x977a59(_0x151aba[_0xf5f2('0x1b')][_0xf5f2('0x19')]);}})[_0xf5f2('0x1c')](function(_0x3cf5ea){logger[_0xf5f2('0x17')](_0xf5f2('0x12'),_0x218ae3,_0x3cf5ea);_0x4ebbbe(_0x3cf5ea);});});}exports['CreateSmsMessage']=function(_0x34706d){var _0x47101e=this;return new Promise(function(_0x49dac2,_0x47acfc){return db[_0xf5f2('0x1d')][_0xf5f2('0x1e')](_0x34706d['body'],{'raw':_0x34706d[_0xf5f2('0x1f')]?_0x34706d[_0xf5f2('0x1f')][_0xf5f2('0x20')]===undefined?!![]:![]:!![]})[_0xf5f2('0x11')](function(_0x36f1cb){logger['info'](_0xf5f2('0x21'),_0x34706d);logger[_0xf5f2('0x14')](_0xf5f2('0x21'),_0x34706d,JSON[_0xf5f2('0x16')](_0x36f1cb));_0x49dac2(_0x36f1cb);})[_0xf5f2('0x1c')](function(_0x5bdf4a){logger['error'](_0xf5f2('0x21'),_0x5bdf4a[_0xf5f2('0x19')],_0x34706d);_0x47acfc(_0x47101e[_0xf5f2('0x17')](0x1f4,_0x5bdf4a[_0xf5f2('0x19')]));});});}; \ No newline at end of file +var _0x66fa=['lodash','util','bluebird','randomstring','ioredis','../../mysqldb','../../config/utils','../../config/logger','rpc','client','http','redis','defaults','socket.io-emitter','./smsMessage.socket','request','SmsMessage,\x20%s,\x20%s','debug','SmsMessage,\x20%s,\x20%s,\x20%s','request\x20sent','error','message','info','catch','CreateSmsMessage','SmsMessage','create','body','options','raw','stringify'];(function(_0x4d2073,_0x37d13c){var _0x132940=function(_0x402e78){while(--_0x402e78){_0x4d2073['push'](_0x4d2073['shift']());}};_0x132940(++_0x37d13c);}(_0x66fa,0x117));var _0xa66f=function(_0x5b7e13,_0xd8cada){_0x5b7e13=_0x5b7e13-0x0;var _0x292c20=_0x66fa[_0x5b7e13];return _0x292c20;};'use strict';var _=require(_0xa66f('0x0'));var util=require(_0xa66f('0x1'));var moment=require('moment');var BPromise=require(_0xa66f('0x2'));var rs=require(_0xa66f('0x3'));var fs=require('fs');var Redis=require(_0xa66f('0x4'));var db=require(_0xa66f('0x5'))['db'];var utils=require(_0xa66f('0x6'));var logger=require(_0xa66f('0x7'))(_0xa66f('0x8'));var config=require('../../config/environment');var jayson=require('jayson/promise');var client=jayson[_0xa66f('0x9')][_0xa66f('0xa')]({'port':0x232a});config[_0xa66f('0xb')]=_[_0xa66f('0xc')](config[_0xa66f('0xb')],{'host':'localhost','port':0x18eb});var socket=require(_0xa66f('0xd'))(new Redis(config['redis']));require(_0xa66f('0xe'))['register'](socket);function respondWithRpcPromise(_0x101e10,_0x53ca76,_0x52d802){return new BPromise(function(_0x55e6dc,_0x1e1997){return client[_0xa66f('0xf')](_0x101e10,_0x52d802)['then'](function(_0x14d31e){logger['info'](_0xa66f('0x10'),_0x53ca76,'request\x20sent');logger[_0xa66f('0x11')](_0xa66f('0x12'),_0x53ca76,_0xa66f('0x13'),JSON['stringify'](_0x14d31e));if(_0x14d31e['error']){if(_0x14d31e[_0xa66f('0x14')]['code']===0x1f4){logger['error']('SmsMessage,\x20%s,\x20%s',_0x53ca76,_0x14d31e[_0xa66f('0x14')][_0xa66f('0x15')]);return _0x1e1997(_0x14d31e[_0xa66f('0x14')][_0xa66f('0x15')]);}logger[_0xa66f('0x14')]('SmsMessage,\x20%s,\x20%s',_0x53ca76,_0x14d31e['error'][_0xa66f('0x15')]);return _0x55e6dc(_0x14d31e[_0xa66f('0x14')][_0xa66f('0x15')]);}else{logger[_0xa66f('0x16')]('SmsMessage,\x20%s,\x20%s',_0x53ca76,_0xa66f('0x13'));_0x55e6dc(_0x14d31e['result']['message']);}})[_0xa66f('0x17')](function(_0x413e80){logger[_0xa66f('0x14')](_0xa66f('0x10'),_0x53ca76,_0x413e80);_0x1e1997(_0x413e80);});});}exports[_0xa66f('0x18')]=function(_0x408bc7){var _0x251f60=this;return new Promise(function(_0x150291,_0x2033a4){return db[_0xa66f('0x19')][_0xa66f('0x1a')](_0x408bc7[_0xa66f('0x1b')],{'raw':_0x408bc7[_0xa66f('0x1c')]?_0x408bc7[_0xa66f('0x1c')][_0xa66f('0x1d')]===undefined?!![]:![]:!![]})['then'](function(_0x27f570){logger[_0xa66f('0x16')](_0xa66f('0x18'),_0x408bc7);logger[_0xa66f('0x11')]('CreateSmsMessage',_0x408bc7,JSON[_0xa66f('0x1e')](_0x27f570));_0x150291(_0x27f570);})[_0xa66f('0x17')](function(_0x209f4d){logger[_0xa66f('0x14')]('CreateSmsMessage',_0x209f4d['message'],_0x408bc7);_0x2033a4(_0x251f60[_0xa66f('0x14')](0x1f4,_0x209f4d['message']));});});}; \ No newline at end of file diff --git a/server/api/smsMessage/smsMessage.socket.js b/server/api/smsMessage/smsMessage.socket.js index cfad554..412adc8 100644 --- a/server/api/smsMessage/smsMessage.socket.js +++ b/server/api/smsMessage/smsMessage.socket.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x52db=['length','smsMessage:','./smsMessage.events','save','update','removeListener','register'];(function(_0x3a467c,_0x64add6){var _0xa42880=function(_0x27bb12){while(--_0x27bb12){_0x3a467c['push'](_0x3a467c['shift']());}};_0xa42880(++_0x64add6);}(_0x52db,0x18a));var _0xb52d=function(_0x81e1e1,_0x155071){_0x81e1e1=_0x81e1e1-0x0;var _0x2a4cce=_0x52db[_0x81e1e1];return _0x2a4cce;};'use strict';var SmsMessageEvents=require(_0xb52d('0x0'));var events=[_0xb52d('0x1'),'remove',_0xb52d('0x2')];function createListener(_0x446e25,_0x563ff7){return function(_0x2c2f21){_0x563ff7['emit'](_0x446e25,_0x2c2f21);};}function removeListener(_0x32cc53,_0x5167b7){return function(){SmsMessageEvents[_0xb52d('0x3')](_0x32cc53,_0x5167b7);};}exports[_0xb52d('0x4')]=function(_0x16cada){for(var _0x23187b=0x0,_0xe705c4=events[_0xb52d('0x5')];_0x23187b<_0xe705c4;_0x23187b++){var _0x4c09f9=events[_0x23187b];var _0x1f0ed2=createListener(_0xb52d('0x6')+_0x4c09f9,_0x16cada);SmsMessageEvents['on'](_0x4c09f9,_0x1f0ed2);}}; \ No newline at end of file +var _0x0f32=['smsMessage:','./smsMessage.events','save','remove','register'];(function(_0x354248,_0x1824fb){var _0x267cd4=function(_0x4ff906){while(--_0x4ff906){_0x354248['push'](_0x354248['shift']());}};_0x267cd4(++_0x1824fb);}(_0x0f32,0xec));var _0x20f3=function(_0x303053,_0x17fa4f){_0x303053=_0x303053-0x0;var _0x149e13=_0x0f32[_0x303053];return _0x149e13;};'use strict';var SmsMessageEvents=require(_0x20f3('0x0'));var events=[_0x20f3('0x1'),_0x20f3('0x2'),'update'];function createListener(_0x458741,_0x44d0ec){return function(_0x45c9a7){_0x44d0ec['emit'](_0x458741,_0x45c9a7);};}function removeListener(_0x58e536,_0x5b777b){return function(){SmsMessageEvents['removeListener'](_0x58e536,_0x5b777b);};}exports[_0x20f3('0x3')]=function(_0x2ddea8){for(var _0x2d4066=0x0,_0x221917=events['length'];_0x2d4066<_0x221917;_0x2d4066++){var _0x11a23e=events[_0x2d4066];var _0x51dd4e=createListener(_0x20f3('0x4')+_0x11a23e,_0x2ddea8);SmsMessageEvents['on'](_0x11a23e,_0x51dd4e);}}; \ No newline at end of file diff --git a/server/api/smsQueue/index.js b/server/api/smsQueue/index.js index 12c844b..96f240b 100644 --- a/server/api/smsQueue/index.js +++ b/server/api/smsQueue/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x5430=['post','create','/:id/teams','put','update','delete','destroy','removeTeams','multer','util','path','connect-timeout','express','Router','../../config/environment','isAuthenticated','index','get','/describe','/:id','show','/:id/members','getMembers','getTeams','/:id/users','getAgents'];(function(_0x3eb8d1,_0x303d70){var _0x1eeaa3=function(_0xb8c77b){while(--_0xb8c77b){_0x3eb8d1['push'](_0x3eb8d1['shift']());}};_0x1eeaa3(++_0x303d70);}(_0x5430,0x10c));var _0x0543=function(_0x22620d,_0x1e08ca){_0x22620d=_0x22620d-0x0;var _0x109b78=_0x5430[_0x22620d];return _0x109b78;};'use strict';var multer=require(_0x0543('0x0'));var util=require(_0x0543('0x1'));var path=require(_0x0543('0x2'));var timeout=require(_0x0543('0x3'));var express=require(_0x0543('0x4'));var router=express[_0x0543('0x5')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x0543('0x6'));var controller=require('./smsQueue.controller');router['get']('/',auth[_0x0543('0x7')](),controller[_0x0543('0x8')]);router[_0x0543('0x9')](_0x0543('0xa'),auth[_0x0543('0x7')](),controller['describe']);router[_0x0543('0x9')](_0x0543('0xb'),auth[_0x0543('0x7')](),controller[_0x0543('0xc')]);router[_0x0543('0x9')](_0x0543('0xd'),auth['isAuthenticated'](),controller[_0x0543('0xe')]);router[_0x0543('0x9')]('/:id/teams',auth[_0x0543('0x7')](),controller[_0x0543('0xf')]);router[_0x0543('0x9')](_0x0543('0x10'),auth[_0x0543('0x7')](),controller[_0x0543('0x11')]);router[_0x0543('0x12')]('/',auth[_0x0543('0x7')](),controller[_0x0543('0x13')]);router[_0x0543('0x12')](_0x0543('0x14'),auth[_0x0543('0x7')](),controller['addTeams']);router[_0x0543('0x12')](_0x0543('0x10'),auth['isAuthenticated'](),controller['addAgents']);router[_0x0543('0x15')](_0x0543('0xb'),auth[_0x0543('0x7')](),controller[_0x0543('0x16')]);router[_0x0543('0x17')]('/:id',auth[_0x0543('0x7')](),controller[_0x0543('0x18')]);router[_0x0543('0x17')](_0x0543('0x14'),auth[_0x0543('0x7')](),controller[_0x0543('0x19')]);router[_0x0543('0x17')]('/:id/users',auth[_0x0543('0x7')](),controller['removeAgents']);module['exports']=router; \ No newline at end of file +var _0x5bd7=['connect-timeout','Router','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/describe','describe','/:id','show','/:id/members','/:id/teams','/:id/users','getAgents','post','addTeams','addAgents','put','destroy','delete','removeTeams','exports','util','path'];(function(_0x40927b,_0xf9b0a0){var _0x2635e8=function(_0x1f2b8c){while(--_0x1f2b8c){_0x40927b['push'](_0x40927b['shift']());}};_0x2635e8(++_0xf9b0a0);}(_0x5bd7,0x12a));var _0x75bd=function(_0x29b8ea,_0x1bfd3d){_0x29b8ea=_0x29b8ea-0x0;var _0x24ac0a=_0x5bd7[_0x29b8ea];return _0x24ac0a;};'use strict';var multer=require('multer');var util=require(_0x75bd('0x0'));var path=require(_0x75bd('0x1'));var timeout=require(_0x75bd('0x2'));var express=require('express');var router=express[_0x75bd('0x3')]();var auth=require('../../components/auth/service');var interaction=require(_0x75bd('0x4'));var config=require(_0x75bd('0x5'));var controller=require('./smsQueue.controller');router[_0x75bd('0x6')]('/',auth[_0x75bd('0x7')](),controller[_0x75bd('0x8')]);router['get'](_0x75bd('0x9'),auth[_0x75bd('0x7')](),controller[_0x75bd('0xa')]);router[_0x75bd('0x6')](_0x75bd('0xb'),auth[_0x75bd('0x7')](),controller[_0x75bd('0xc')]);router['get'](_0x75bd('0xd'),auth['isAuthenticated'](),controller['getMembers']);router[_0x75bd('0x6')](_0x75bd('0xe'),auth[_0x75bd('0x7')](),controller['getTeams']);router[_0x75bd('0x6')](_0x75bd('0xf'),auth[_0x75bd('0x7')](),controller[_0x75bd('0x10')]);router[_0x75bd('0x11')]('/',auth[_0x75bd('0x7')](),controller['create']);router['post']('/:id/teams',auth[_0x75bd('0x7')](),controller[_0x75bd('0x12')]);router[_0x75bd('0x11')](_0x75bd('0xf'),auth[_0x75bd('0x7')](),controller[_0x75bd('0x13')]);router[_0x75bd('0x14')](_0x75bd('0xb'),auth[_0x75bd('0x7')](),controller['update']);router['delete']('/:id',auth['isAuthenticated'](),controller[_0x75bd('0x15')]);router[_0x75bd('0x16')]('/:id/teams',auth['isAuthenticated'](),controller[_0x75bd('0x17')]);router[_0x75bd('0x16')](_0x75bd('0xf'),auth['isAuthenticated'](),controller['removeAgents']);module[_0x75bd('0x18')]=router; \ No newline at end of file diff --git a/server/api/smsQueue/smsQueue.attributes.js b/server/api/smsQueue/smsQueue.attributes.js index 5b314a3..4ead976 100644 --- a/server/api/smsQueue/smsQueue.attributes.js +++ b/server/api/smsQueue/smsQueue.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x6cb2=['exports','STRING','name','INTEGER','ENUM','rrmemory','beepall'];(function(_0x1a0daa,_0x2a4634){var _0x1dbe15=function(_0xa8ab22){while(--_0xa8ab22){_0x1a0daa['push'](_0x1a0daa['shift']());}};_0x1dbe15(++_0x2a4634);}(_0x6cb2,0xf5));var _0x26cb=function(_0x17b6e3,_0x4522ed){_0x17b6e3=_0x17b6e3-0x0;var _0x3906f3=_0x6cb2[_0x17b6e3];return _0x3906f3;};'use strict';var Sequelize=require('sequelize');module[_0x26cb('0x0')]={'name':{'type':Sequelize[_0x26cb('0x1')],'unique':_0x26cb('0x2'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize[_0x26cb('0x1')]},'timeout':{'type':Sequelize[_0x26cb('0x3')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize[_0x26cb('0x4')](_0x26cb('0x5'),_0x26cb('0x6'),'roundrobin')}}; \ No newline at end of file +var _0x2c59=['STRING','name','INTEGER','ENUM','rrmemory','beepall','roundrobin','exports'];(function(_0xc25ccc,_0x4cd272){var _0x1ea518=function(_0x129c81){while(--_0x129c81){_0xc25ccc['push'](_0xc25ccc['shift']());}};_0x1ea518(++_0x4cd272);}(_0x2c59,0xa7));var _0x92c5=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x2c59[_0x3dd15e];return _0x231fd0;};'use strict';var Sequelize=require('sequelize');module[_0x92c5('0x0')]={'name':{'type':Sequelize[_0x92c5('0x1')],'unique':_0x92c5('0x2'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize[_0x92c5('0x1')]},'timeout':{'type':Sequelize[_0x92c5('0x3')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize[_0x92c5('0x4')](_0x92c5('0x5'),_0x92c5('0x6'),_0x92c5('0x7'))}}; \ No newline at end of file diff --git a/server/api/smsQueue/smsQueue.controller.js b/server/api/smsQueue/smsQueue.controller.js index 3b88297..02313c1 100644 --- a/server/api/smsQueue/smsQueue.controller.js +++ b/server/api/smsQueue/smsQueue.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x01a8=['../../config/utils','../../mysqldb','redis','defaults','localhost','socket.io-emitter','./smsQueue.socket','register','sendStatus','status','count','offset','Content-Range','json','apply','save','update','then','destroy','get','UserProfileResource','end','error','stack','name','send','index','map','rawAttributes','fieldName','key','model','keys','filters','intersection','attributes','fields','query','length','nolimit','limit','order','sort','where','pick','filter','merge','type','VIRTUAL','SmsQueue','includeAll','rows','catch','show','params','options','find','create','body','user','Unable\x20to\x20retrieve\x20the\x20current\x20user','role','SmsQueues','UserProfileSection','userProfileId','autoAssociation','getMembers','findOne','UserSmsQueue','hasOwnProperty','SmsQueueId','User','findAndCountAll','UserId','agent','updatedAt','createdAt','format','%s/%s','SIP','smsPause','getTeams','Team','addTeams','ids','findAll','Agents','online','voicePause','interface','flatMap','sequelize','transaction','findOrCreate','forEach','emit','userSmsQueue:save','removeTeams','select','field','tq.TeamId','from','user_has_teams','ut.TeamId\x20=\x20tq.TeamId','SmsQueueId\x20=\x20?','clone','ut.UserId\x20=\x20?','toString','QueryTypes','SELECT','TeamId','includes','all','value','removeAgents','userSmsQueue:remove','addAgents','omit','spread','isArray','getAgents','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','mustache','util','path','sox','to-csv','ejs','jsforce','desk.js','papaparse','ioredis','../../components/parsers/advancedSearch','../../config/license/hardware'];(function(_0x307d86,_0x9264f2){var _0x361745=function(_0x1b64e1){while(--_0x1b64e1){_0x307d86['push'](_0x307d86['shift']());}};_0x361745(++_0x9264f2);}(_0x01a8,0x193));var _0x801a=function(_0x46c6f8,_0x49b8b7){_0x46c6f8=_0x46c6f8-0x0;var _0x429d7c=_0x01a8[_0x46c6f8];return _0x429d7c;};'use strict';var pdf=require(_0x801a('0x0'));var emlformat=require(_0x801a('0x1'));var rimraf=require(_0x801a('0x2'));var zipdir=require(_0x801a('0x3'));var jsonpatch=require(_0x801a('0x4'));var rp=require(_0x801a('0x5'));var moment=require(_0x801a('0x6'));var BPromise=require(_0x801a('0x7'));var Mustache=require(_0x801a('0x8'));var util=require(_0x801a('0x9'));var path=require(_0x801a('0xa'));var sox=require(_0x801a('0xb'));var csv=require(_0x801a('0xc'));var ejs=require(_0x801a('0xd'));var fs=require('fs');var _=require('lodash');var squel=require('squel');var crypto=require('crypto');var jsforce=require(_0x801a('0xe'));var deskjs=require(_0x801a('0xf'));var toCsv=require('to-csv');var querystring=require('querystring');var Papa=require(_0x801a('0x10'));var Redis=require(_0x801a('0x11'));var authService=require('../../components/auth/service');var qs=require('../../components/parsers/qs');var as=require(_0x801a('0x12'));var hardwareService=require(_0x801a('0x13'));var logger=require('../../config/logger')('api');var utils=require(_0x801a('0x14'));var config=require('../../config/environment');var db=require(_0x801a('0x15'))['db'];config[_0x801a('0x16')]=_[_0x801a('0x17')](config[_0x801a('0x16')],{'host':_0x801a('0x18'),'port':0x18eb});var socket=require(_0x801a('0x19'))(new Redis(config[_0x801a('0x16')]));require(_0x801a('0x1a'))[_0x801a('0x1b')](socket);function respondWithStatusCode(_0x573472,_0x1aae0b){_0x1aae0b=_0x1aae0b||0xcc;return function(_0x593378){if(_0x593378){return _0x573472[_0x801a('0x1c')](_0x1aae0b);}return _0x573472[_0x801a('0x1d')](_0x1aae0b)['end']();};}function respondWithResult(_0x1dd729,_0x48ffce){_0x48ffce=_0x48ffce||0xc8;return function(_0x5ea2ba){if(_0x5ea2ba){return _0x1dd729[_0x801a('0x1d')](_0x48ffce)['json'](_0x5ea2ba);}};}function respondWithFilteredResult(_0x180bf1,_0x42db5c){return function(_0x3a113a){if(_0x3a113a){var _0x1d9673=_0x3a113a[_0x801a('0x1e')],_0x5a9d23=_0x42db5c[_0x801a('0x1f')],_0x128d8d=_0x42db5c[_0x801a('0x1f')]+_0x42db5c['limit'],_0x1f2558;if(_0x128d8d>=_0x1d9673){_0x128d8d=_0x1d9673;_0x1f2558=0xc8;}else{_0x1f2558=0xce;}_0x180bf1[_0x801a('0x1d')](_0x1f2558);return _0x180bf1['set'](_0x801a('0x20'),_0x5a9d23+'-'+_0x128d8d+'/'+_0x1d9673)[_0x801a('0x21')](_0x3a113a);}return null;};}function patchUpdates(_0x25a347){return function(_0x21372a){try{jsonpatch[_0x801a('0x22')](_0x21372a,_0x25a347,!![]);}catch(_0x488a28){return BPromise['reject'](_0x488a28);}return _0x21372a[_0x801a('0x23')]();};}function saveUpdates(_0xd41929,_0x349aa7){return function(_0x100909){if(_0x100909){return _0x100909[_0x801a('0x24')](_0xd41929)[_0x801a('0x25')](function(_0x400518){return _0x400518;});}return null;};}function removeEntity(_0xa4beb4,_0x2a70ec){return function(_0x4d10ac){if(_0x4d10ac){return _0x4d10ac[_0x801a('0x26')]()[_0x801a('0x25')](function(){var _0x341ba6=_0x4d10ac[_0x801a('0x27')]({'plain':!![]});var _0x295ba3='SmsQueues';return db[_0x801a('0x28')][_0x801a('0x26')]({'where':{'type':_0x295ba3,'resourceId':_0x341ba6['id']}})[_0x801a('0x25')](function(){return _0x4d10ac;});})['then'](function(){_0xa4beb4[_0x801a('0x1d')](0xcc)[_0x801a('0x29')]();});}};}function handleEntityNotFound(_0x231499,_0xb7f673){return function(_0x35cd72){if(!_0x35cd72){_0x231499[_0x801a('0x1c')](0x194);}return _0x35cd72;};}function handleError(_0x30f967,_0x36d320){_0x36d320=_0x36d320||0x1f4;return function(_0x3e4179){logger[_0x801a('0x2a')](_0x3e4179[_0x801a('0x2b')]);if(_0x3e4179[_0x801a('0x2c')]){delete _0x3e4179[_0x801a('0x2c')];}_0x30f967[_0x801a('0x1d')](_0x36d320)[_0x801a('0x2d')](_0x3e4179);};}exports[_0x801a('0x2e')]=function(_0x456f30,_0x36852f){var _0x270d49={},_0x1f59ca={},_0x1a51ed={'count':0x0,'rows':[]};var _0x14f73b=_[_0x801a('0x2f')](db['SmsQueue'][_0x801a('0x30')],function(_0x559ce4){return{'name':_0x559ce4[_0x801a('0x31')],'type':_0x559ce4['type'][_0x801a('0x32')]};});_0x1f59ca[_0x801a('0x33')]=_[_0x801a('0x2f')](_0x14f73b,_0x801a('0x2c'));_0x1f59ca['query']=_[_0x801a('0x34')](_0x456f30['query']);_0x1f59ca[_0x801a('0x35')]=_[_0x801a('0x36')](_0x1f59ca[_0x801a('0x33')],_0x1f59ca['query']);_0x270d49[_0x801a('0x37')]=_[_0x801a('0x36')](_0x1f59ca[_0x801a('0x33')],qs[_0x801a('0x38')](_0x456f30[_0x801a('0x39')][_0x801a('0x38')]));_0x270d49['attributes']=_0x270d49[_0x801a('0x37')][_0x801a('0x3a')]?_0x270d49[_0x801a('0x37')]:_0x1f59ca[_0x801a('0x33')];if(!_0x456f30[_0x801a('0x39')]['hasOwnProperty'](_0x801a('0x3b'))){_0x270d49[_0x801a('0x3c')]=qs[_0x801a('0x3c')](_0x456f30[_0x801a('0x39')][_0x801a('0x3c')]);_0x270d49[_0x801a('0x1f')]=qs[_0x801a('0x1f')](_0x456f30[_0x801a('0x39')][_0x801a('0x1f')]);}_0x270d49[_0x801a('0x3d')]=qs[_0x801a('0x3e')](_0x456f30[_0x801a('0x39')][_0x801a('0x3e')]);_0x270d49[_0x801a('0x3f')]=qs[_0x801a('0x35')](_[_0x801a('0x40')](_0x456f30[_0x801a('0x39')],_0x1f59ca[_0x801a('0x35')]),_0x14f73b);if(_0x456f30[_0x801a('0x39')][_0x801a('0x41')]){_0x270d49[_0x801a('0x3f')]=_[_0x801a('0x42')](_0x270d49['where'],{'$or':_[_0x801a('0x2f')](_0x14f73b,function(_0x31f59c){if(_0x31f59c[_0x801a('0x43')]!==_0x801a('0x44')){var _0x41f1b4={};_0x41f1b4[_0x31f59c[_0x801a('0x2c')]]={'$like':'%'+_0x456f30[_0x801a('0x39')][_0x801a('0x41')]+'%'};return _0x41f1b4;}})});}_0x270d49=_[_0x801a('0x42')]({},_0x270d49,_0x456f30['options']);var _0x322545={'where':_0x270d49['where']};return db[_0x801a('0x45')]['count'](_0x322545)['then'](function(_0x119aea){_0x1a51ed[_0x801a('0x1e')]=_0x119aea;if(_0x456f30[_0x801a('0x39')][_0x801a('0x46')]){_0x270d49['include']=[{'all':!![]}];}return db['SmsQueue']['findAll'](_0x270d49);})[_0x801a('0x25')](function(_0x3359b5){_0x1a51ed[_0x801a('0x47')]=_0x3359b5;return _0x1a51ed;})['then'](respondWithFilteredResult(_0x36852f,_0x270d49))[_0x801a('0x48')](handleError(_0x36852f,null));};exports[_0x801a('0x49')]=function(_0x47d980,_0x4d4b4b){var _0x5c098e={'raw':!![],'where':{'id':_0x47d980[_0x801a('0x4a')]['id']}},_0x2e895f={};_0x2e895f['model']=_[_0x801a('0x34')](db[_0x801a('0x45')][_0x801a('0x30')]);_0x2e895f[_0x801a('0x39')]=_['keys'](_0x47d980['query']);_0x2e895f[_0x801a('0x35')]=_[_0x801a('0x36')](_0x2e895f[_0x801a('0x33')],_0x2e895f['query']);_0x5c098e['attributes']=_['intersection'](_0x2e895f['model'],qs[_0x801a('0x38')](_0x47d980[_0x801a('0x39')]['fields']));_0x5c098e[_0x801a('0x37')]=_0x5c098e[_0x801a('0x37')][_0x801a('0x3a')]?_0x5c098e[_0x801a('0x37')]:_0x2e895f[_0x801a('0x33')];if(_0x47d980[_0x801a('0x39')][_0x801a('0x46')]){_0x5c098e['include']=[{'all':!![]}];}_0x5c098e=_['merge']({},_0x5c098e,_0x47d980[_0x801a('0x4b')]);return db[_0x801a('0x45')][_0x801a('0x4c')](_0x5c098e)[_0x801a('0x25')](handleEntityNotFound(_0x4d4b4b,null))['then'](respondWithResult(_0x4d4b4b,null))[_0x801a('0x48')](handleError(_0x4d4b4b,null));};exports[_0x801a('0x4d')]=function(_0x24bdc6,_0x58cb4c){return db[_0x801a('0x45')]['create'](_0x24bdc6[_0x801a('0x4e')],{})[_0x801a('0x25')](function(_0x1f9ea6){var _0xc2c373=_0x24bdc6[_0x801a('0x4f')][_0x801a('0x27')]({'plain':!![]});if(!_0xc2c373)throw new Error(_0x801a('0x50'));if(_0xc2c373[_0x801a('0x51')]===_0x801a('0x4f')){var _0x4f2e0e=_0x1f9ea6[_0x801a('0x27')]({'plain':!![]});var _0xbf1aef=_0x801a('0x52');return db[_0x801a('0x53')][_0x801a('0x4c')]({'where':{'name':_0xbf1aef,'userProfileId':_0xc2c373[_0x801a('0x54')]},'raw':!![]})[_0x801a('0x25')](function(_0x169c80){if(_0x169c80&&_0x169c80[_0x801a('0x55')]===0x0){return db[_0x801a('0x28')][_0x801a('0x4d')]({'name':_0x4f2e0e[_0x801a('0x2c')],'resourceId':_0x4f2e0e['id'],'type':_0x169c80[_0x801a('0x2c')],'sectionId':_0x169c80['id']},{})['then'](function(){return _0x1f9ea6;});}else{return _0x1f9ea6;}})[_0x801a('0x48')](function(_0x365e04){logger[_0x801a('0x2a')]('Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s',_0x365e04);throw _0x365e04;});}return _0x1f9ea6;})[_0x801a('0x25')](respondWithResult(_0x58cb4c,0xc9))[_0x801a('0x48')](handleError(_0x58cb4c,null));};exports[_0x801a('0x24')]=function(_0x2f2740,_0x16ecdc){if(_0x2f2740[_0x801a('0x4e')]['id']){delete _0x2f2740[_0x801a('0x4e')]['id'];}return db['SmsQueue']['find']({'where':{'id':_0x2f2740['params']['id']}})[_0x801a('0x25')](handleEntityNotFound(_0x16ecdc,null))[_0x801a('0x25')](saveUpdates(_0x2f2740['body'],null))[_0x801a('0x25')](respondWithResult(_0x16ecdc,null))['catch'](handleError(_0x16ecdc,null));};exports[_0x801a('0x26')]=function(_0x35231c,_0x44479e){return db[_0x801a('0x45')][_0x801a('0x4c')]({'where':{'id':_0x35231c[_0x801a('0x4a')]['id']}})[_0x801a('0x25')](handleEntityNotFound(_0x44479e,null))[_0x801a('0x25')](removeEntity(_0x44479e,null))[_0x801a('0x48')](handleError(_0x44479e,null));};exports['describe']=function(_0x3af021,_0x56fe09){return db[_0x801a('0x45')]['describe']()['then'](respondWithResult(_0x56fe09,null))[_0x801a('0x48')](handleError(_0x56fe09,null));};exports[_0x801a('0x56')]=function(_0x3f0861,_0x377fad,_0x3a41b5){var _0x50f352={'raw':!![],'where':{}},_0x52f5c4={},_0x10cf3e;return db[_0x801a('0x45')][_0x801a('0x57')]({'where':{'id':_0x3f0861[_0x801a('0x4a')]['id']}})[_0x801a('0x25')](handleEntityNotFound(_0x377fad,null))[_0x801a('0x25')](function(_0x2fdbb6){if(_0x2fdbb6){_0x10cf3e=_0x2fdbb6[_0x801a('0x27')]({'plain':!![]});_0x52f5c4['model']=_[_0x801a('0x34')](db[_0x801a('0x58')][_0x801a('0x30')]);_0x52f5c4[_0x801a('0x39')]=_['keys'](_0x3f0861[_0x801a('0x39')]);_0x52f5c4[_0x801a('0x35')]=_[_0x801a('0x36')](_0x52f5c4['model'],_0x52f5c4[_0x801a('0x39')]);_0x50f352[_0x801a('0x37')]=_[_0x801a('0x36')](_0x52f5c4[_0x801a('0x33')],qs[_0x801a('0x38')](_0x3f0861[_0x801a('0x39')][_0x801a('0x38')]));_0x50f352[_0x801a('0x37')]=_0x50f352[_0x801a('0x37')]['length']?_0x50f352[_0x801a('0x37')]:_0x52f5c4[_0x801a('0x33')];if(!_0x3f0861['query'][_0x801a('0x59')](_0x801a('0x3b'))){_0x50f352[_0x801a('0x3c')]=qs[_0x801a('0x3c')](_0x3f0861[_0x801a('0x39')]['limit']);_0x50f352[_0x801a('0x1f')]=qs[_0x801a('0x1f')](_0x3f0861[_0x801a('0x39')][_0x801a('0x1f')]);}_0x50f352['order']=qs[_0x801a('0x3e')](_0x3f0861[_0x801a('0x39')][_0x801a('0x3e')]);_0x50f352[_0x801a('0x3f')]=qs[_0x801a('0x35')](_[_0x801a('0x40')](_0x3f0861[_0x801a('0x39')],_0x52f5c4[_0x801a('0x35')]));_0x50f352[_0x801a('0x3f')][_0x801a('0x5a')]=_0x2fdbb6['id'];if(_0x3f0861[_0x801a('0x39')][_0x801a('0x41')]){_0x50f352[_0x801a('0x3f')]=_[_0x801a('0x42')](_0x50f352[_0x801a('0x3f')],{'$or':_[_0x801a('0x2f')](_0x50f352[_0x801a('0x37')],function(_0x22990e){var _0x2a7a55={};_0x2a7a55[_0x22990e]={'$like':'%'+_0x3f0861[_0x801a('0x39')]['filter']+'%'};return _0x2a7a55;})});}_0x50f352=_['merge']({},_0x50f352,_0x3f0861['options']);return db[_0x801a('0x58')]['findAll'](_0x50f352);}})[_0x801a('0x25')](function(_0x794960){if(_0x794960){return db[_0x801a('0x5b')][_0x801a('0x5c')]({'where':{'id':_['map'](_0x794960,_0x801a('0x5d')),'role':_0x801a('0x5e')},'attributes':['id','name','smsPause',_0x801a('0x5f'),_0x801a('0x60')]});}})['then'](function(_0x502e03){if(_0x502e03){return{'count':_0x502e03['count'],'rows':_['map'](_0x502e03[_0x801a('0x47')],function(_0x312112){return{'membername':_0x312112['name'],'UserId':_0x312112['id'],'queue_name':_0x10cf3e[_0x801a('0x2c')],'SmsQueueId':_0x10cf3e['id'],'interface':util[_0x801a('0x61')](_0x801a('0x62'),_0x801a('0x63'),_0x312112[_0x801a('0x2c')]),'penalty':0x0,'paused':_0x312112[_0x801a('0x64')],'createdAt':_0x312112[_0x801a('0x60')],'updatedAt':_0x312112['updatedAt']};})};}else{return{'count':0x0,'rows':[]};}})['then'](respondWithFilteredResult(_0x377fad,_0x50f352))['catch'](handleError(_0x377fad,null));};exports[_0x801a('0x65')]=function(_0x3d142e,_0x502d98,_0x3a5a16){var _0x4109a1={};var _0x168631={};var _0x58d348;var _0x5b9611;return db[_0x801a('0x45')][_0x801a('0x57')]({'where':{'id':_0x3d142e[_0x801a('0x4a')]['id']}})[_0x801a('0x25')](handleEntityNotFound(_0x502d98,null))[_0x801a('0x25')](function(_0x46c797){if(_0x46c797){_0x58d348=_0x46c797;_0x168631[_0x801a('0x33')]=_[_0x801a('0x34')](db[_0x801a('0x66')][_0x801a('0x30')]);_0x168631[_0x801a('0x39')]=_[_0x801a('0x34')](_0x3d142e[_0x801a('0x39')]);_0x168631[_0x801a('0x35')]=_[_0x801a('0x36')](_0x168631[_0x801a('0x33')],_0x168631[_0x801a('0x39')]);_0x4109a1[_0x801a('0x37')]=_['intersection'](_0x168631[_0x801a('0x33')],qs[_0x801a('0x38')](_0x3d142e[_0x801a('0x39')]['fields']));_0x4109a1[_0x801a('0x37')]=_0x4109a1[_0x801a('0x37')]['length']?_0x4109a1['attributes']:_0x168631[_0x801a('0x33')];_0x4109a1['order']=qs[_0x801a('0x3e')](_0x3d142e[_0x801a('0x39')][_0x801a('0x3e')]);_0x4109a1[_0x801a('0x3f')]=qs[_0x801a('0x35')](_['pick'](_0x3d142e[_0x801a('0x39')],_0x168631[_0x801a('0x35')]));if(_0x3d142e[_0x801a('0x39')]['filter']){_0x4109a1[_0x801a('0x3f')]=_[_0x801a('0x42')](_0x4109a1[_0x801a('0x3f')],{'$or':_[_0x801a('0x2f')](_0x4109a1[_0x801a('0x37')],function(_0x54062c){var _0x41b2c9={};_0x41b2c9[_0x54062c]={'$like':'%'+_0x3d142e[_0x801a('0x39')][_0x801a('0x41')]+'%'};return _0x41b2c9;})});}_0x4109a1=_[_0x801a('0x42')]({},_0x4109a1,_0x3d142e[_0x801a('0x4b')]);return _0x58d348[_0x801a('0x65')](_0x4109a1);}})['then'](function(_0x20ee33){if(_0x20ee33){_0x5b9611=_0x20ee33[_0x801a('0x3a')];if(!_0x3d142e[_0x801a('0x39')][_0x801a('0x59')](_0x801a('0x3b'))){_0x4109a1['limit']=qs[_0x801a('0x3c')](_0x3d142e[_0x801a('0x39')][_0x801a('0x3c')]);_0x4109a1['offset']=qs[_0x801a('0x1f')](_0x3d142e[_0x801a('0x39')][_0x801a('0x1f')]);}return _0x58d348[_0x801a('0x65')](_0x4109a1);}})['then'](function(_0x64bdd8){if(_0x64bdd8){return _0x64bdd8?{'count':_0x5b9611,'rows':_0x64bdd8}:null;}})['then'](respondWithResult(_0x502d98,null))[_0x801a('0x48')](handleError(_0x502d98,null));};exports[_0x801a('0x67')]=function(_0x5cae7e,_0x5439a9,_0x4a2696){var _0x55628c=_0x5cae7e[_0x801a('0x4e')][_0x801a('0x68')];return db[_0x801a('0x66')][_0x801a('0x69')]({'where':{'id':_0x55628c},'attributes':['id'],'include':[{'model':db[_0x801a('0x5b')],'as':_0x801a('0x6a'),'attributes':['id',_0x801a('0x2c'),_0x801a('0x6b'),_0x801a('0x6c'),_0x801a('0x6d')],'raw':!![]}]})[_0x801a('0x25')](function(_0x42ab85){if(_0x42ab85){var _0x1baba4=_[_0x801a('0x6e')](_0x42ab85,function(_0x1d50e8){var _0x47c5fa=_0x1d50e8[_0x801a('0x27')]({'plain':!![]});return _0x47c5fa[_0x801a('0x6a')];});return db[_0x801a('0x45')][_0x801a('0x4c')]({'where':{'id':_0x5cae7e['params']['id']}})['then'](function(_0x382a44){return db[_0x801a('0x6f')][_0x801a('0x70')](function(_0x539132){return _0x382a44['addTeams'](_0x55628c,{'transaction':_0x539132})[_0x801a('0x25')](function(){return BPromise['each'](_0x1baba4,function(_0x529008){return db[_0x801a('0x58')][_0x801a('0x71')]({'where':{'UserId':_0x529008['id'],'SmsQueueId':_0x5cae7e['params']['id']},'transaction':_0x539132});});})[_0x801a('0x25')](function(){_0x1baba4[_0x801a('0x72')](function(_0x5bd958){socket[_0x801a('0x73')](_0x801a('0x74'),{'UserId':_0x5bd958['id'],'SmsQueueId':_0x382a44['id']});});});});});}})['then'](respondWithStatusCode(_0x5439a9,null))[_0x801a('0x48')](handleError(_0x5439a9,null));};exports[_0x801a('0x75')]=function(_0x19b163,_0x4461c3,_0x11ecb9){return db[_0x801a('0x66')]['findAll']({'where':{'id':_0x19b163['query'][_0x801a('0x68')]},'attributes':['id'],'include':[{'model':db['User'],'as':_0x801a('0x6a'),'attributes':['id'],'raw':!![]}]})[_0x801a('0x25')](handleEntityNotFound(_0x4461c3,null))[_0x801a('0x25')](function(_0x33e3f9){var _0x54db37=_[_0x801a('0x2f')](_0x33e3f9,'id');var _0x3dc828=[];var _0x23935d=[];var _0xe2d501=squel[_0x801a('0x76')]();_0xe2d501[_0x801a('0x77')](_0x801a('0x78'))[_0x801a('0x79')]('team_has_sms_queues','tq')['join'](_0x801a('0x7a'),'ut',_0x801a('0x7b'))[_0x801a('0x3f')](_0x801a('0x7c'),_0x19b163[_0x801a('0x4a')]['id']);for(var _0x21d7b2=0x0;_0x21d7b2<_0x33e3f9[_0x801a('0x3a')];_0x21d7b2+=0x1){let _0x73830e=_0x33e3f9[_0x21d7b2];for(var _0x48649c=0x0;_0x48649c<_0x73830e[_0x801a('0x6a')][_0x801a('0x3a')];_0x48649c+=0x1){let _0x165c37=_0x73830e['Agents'][_0x48649c];var _0x192c7c=_0xe2d501[_0x801a('0x7d')]();_0x192c7c[_0x801a('0x3f')](_0x801a('0x7e'),_0x165c37['id']);_0x23935d['push'](db['sequelize'][_0x801a('0x39')](_0x192c7c[_0x801a('0x7f')](),{'type':db[_0x801a('0x6f')][_0x801a('0x80')][_0x801a('0x81')]})[_0x801a('0x25')](function(_0x5f43f4){if(_0x5f43f4[_0x801a('0x3a')]===0x1){return _0x165c37['id'];}else{var _0x378017=_['every'](_[_0x801a('0x2f')](_0x5f43f4,_0x801a('0x82')),function(_0x2f6e86){return _[_0x801a('0x83')](_0x54db37,_0x2f6e86);});if(_0x378017){return _0x165c37['id'];}}}));}}return BPromise[_0x801a('0x84')](_0x23935d)[_0x801a('0x25')](function(_0x594e72){_0x3dc828=_(_0x3dc828)['union'](_0x594e72)['compact']()[_0x801a('0x85')]();return db['SmsQueue'][_0x801a('0x4c')]({'where':{'id':_0x19b163['params']['id']}})[_0x801a('0x25')](function(_0x4ebbe2){return db[_0x801a('0x6f')]['transaction'](function(_0x328007){return _0x4ebbe2[_0x801a('0x75')](_0x19b163[_0x801a('0x39')][_0x801a('0x68')],{'transaction':_0x328007})[_0x801a('0x25')](function(){if(!_['isEmpty'](_0x3dc828)){return _0x4ebbe2[_0x801a('0x86')](_0x3dc828,{'transaction':_0x328007});}})['then'](function(){_0x3dc828['forEach'](function(_0x18ff01){socket[_0x801a('0x73')](_0x801a('0x87'),{'UserId':_0x18ff01,'SmsQueueId':_0x4ebbe2['id']});});});});});});})[_0x801a('0x25')](respondWithStatusCode(_0x4461c3,null))[_0x801a('0x48')](handleError(_0x4461c3,null));};exports[_0x801a('0x88')]=function(_0x387575,_0x58218b,_0x5ca2e5){return db[_0x801a('0x45')]['find']({'where':{'id':_0x387575[_0x801a('0x4a')]['id']}})[_0x801a('0x25')](handleEntityNotFound(_0x58218b,null))['then'](function(_0x25af84){if(_0x25af84){return _0x25af84[_0x801a('0x88')](_0x387575[_0x801a('0x4e')][_0x801a('0x68')],_[_0x801a('0x89')](_0x387575['body'],['ids','id'])||{})[_0x801a('0x8a')](function(_0x22d034){for(var _0x469ed6=0x0;_0x469ed6<_0x387575[_0x801a('0x4e')][_0x801a('0x68')][_0x801a('0x3a')];_0x469ed6+=0x1){socket['emit'](_0x801a('0x74'),{'UserId':_0x387575['body'][_0x801a('0x68')][_0x469ed6],'SmsQueueId':_0x387575[_0x801a('0x4a')]['id']});}return _0x22d034;});}})[_0x801a('0x25')](respondWithResult(_0x58218b,null))[_0x801a('0x48')](handleError(_0x58218b,null));};exports[_0x801a('0x86')]=function(_0x1c5743,_0x43f3a2,_0x310db8){return db[_0x801a('0x45')][_0x801a('0x4c')]({'where':{'id':_0x1c5743[_0x801a('0x4a')]['id']}})[_0x801a('0x25')](handleEntityNotFound(_0x43f3a2,null))[_0x801a('0x25')](function(_0x4a23c6){if(_0x4a23c6){return _0x4a23c6[_0x801a('0x86')](_0x1c5743['query']['ids'])[_0x801a('0x25')](function(){if(_[_0x801a('0x8b')](_0x1c5743[_0x801a('0x39')][_0x801a('0x68')])){for(var _0x454f6f=0x0;_0x454f6f<_0x1c5743[_0x801a('0x39')]['ids'][_0x801a('0x3a')];_0x454f6f+=0x1){socket[_0x801a('0x73')](_0x801a('0x87'),{'UserId':Number(_0x1c5743[_0x801a('0x39')][_0x801a('0x68')][_0x454f6f]),'SmsQueueId':Number(_0x1c5743['params']['id'])});}}else{socket[_0x801a('0x73')](_0x801a('0x87'),{'UserId':Number(_0x1c5743[_0x801a('0x39')][_0x801a('0x68')]),'SmsQueueId':Number(_0x1c5743[_0x801a('0x4a')]['id'])});}});}})['then'](respondWithStatusCode(_0x43f3a2,null))[_0x801a('0x48')](handleError(_0x43f3a2,null));};exports[_0x801a('0x8c')]=function(_0x128648,_0x3ecc86,_0xba537d){var _0x57eaa8={};var _0x595c7c={};var _0x5a88b5;var _0x25347f;return db[_0x801a('0x45')][_0x801a('0x57')]({'where':{'id':_0x128648['params']['id']}})[_0x801a('0x25')](handleEntityNotFound(_0x3ecc86,null))[_0x801a('0x25')](function(_0x3b8154){if(_0x3b8154){_0x5a88b5=_0x3b8154;_0x595c7c[_0x801a('0x33')]=_[_0x801a('0x34')](db['User'][_0x801a('0x30')]);_0x595c7c[_0x801a('0x39')]=_[_0x801a('0x34')](_0x128648[_0x801a('0x39')]);_0x595c7c[_0x801a('0x35')]=_[_0x801a('0x36')](_0x595c7c[_0x801a('0x33')],_0x595c7c[_0x801a('0x39')]);_0x57eaa8[_0x801a('0x37')]=_[_0x801a('0x36')](_0x595c7c[_0x801a('0x33')],qs['fields'](_0x128648['query'][_0x801a('0x38')]));_0x57eaa8['attributes']=_0x57eaa8[_0x801a('0x37')][_0x801a('0x3a')]?_0x57eaa8[_0x801a('0x37')]:_0x595c7c[_0x801a('0x33')];_0x57eaa8[_0x801a('0x3d')]=qs[_0x801a('0x3e')](_0x128648[_0x801a('0x39')][_0x801a('0x3e')]);_0x57eaa8[_0x801a('0x3f')]=qs['filters'](_['pick'](_0x128648['query'],_0x595c7c['filters']));if(_0x128648[_0x801a('0x39')][_0x801a('0x41')]){_0x57eaa8['where']=_['merge'](_0x57eaa8[_0x801a('0x3f')],{'$or':_[_0x801a('0x2f')](_0x57eaa8[_0x801a('0x37')],function(_0x2e34ff){var _0x5d63f={};_0x5d63f[_0x2e34ff]={'$like':'%'+_0x128648[_0x801a('0x39')][_0x801a('0x41')]+'%'};return _0x5d63f;})});}_0x57eaa8=_[_0x801a('0x42')]({},_0x57eaa8,_0x128648[_0x801a('0x4b')]);return _0x5a88b5[_0x801a('0x8c')](_0x57eaa8);}})[_0x801a('0x25')](function(_0x3ab590){if(_0x3ab590){_0x25347f=_0x3ab590[_0x801a('0x3a')];if(!_0x128648[_0x801a('0x39')][_0x801a('0x59')]('nolimit')){_0x57eaa8[_0x801a('0x3c')]=qs[_0x801a('0x3c')](_0x128648[_0x801a('0x39')][_0x801a('0x3c')]);_0x57eaa8[_0x801a('0x1f')]=qs[_0x801a('0x1f')](_0x128648[_0x801a('0x39')]['offset']);}return _0x5a88b5['getAgents'](_0x57eaa8);}})[_0x801a('0x25')](function(_0x2b59b4){if(_0x2b59b4){return _0x2b59b4?{'count':_0x25347f,'rows':_0x2b59b4}:null;}})['then'](respondWithResult(_0x3ecc86,null))[_0x801a('0x48')](handleError(_0x3ecc86,null));}; \ No newline at end of file +var _0x02b6=['Agents','voicePause','interface','flatMap','sequelize','transaction','forEach','emit','userSmsQueue:save','removeTeams','field','tq.TeamId','team_has_sms_queues','join','user_has_teams','ut.TeamId\x20=\x20tq.TeamId','SmsQueueId\x20=\x20?','clone','ut.UserId\x20=\x20?','push','toString','QueryTypes','SELECT','every','all','compact','value','isEmpty','userSmsQueue:remove','addAgents','omit','spread','removeAgents','isArray','getAgents','rimraf','fast-json-patch','moment','bluebird','mustache','util','path','sox','to-csv','ejs','lodash','squel','crypto','jsforce','desk.js','querystring','papaparse','ioredis','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','defaults','redis','localhost','./smsQueue.socket','register','sendStatus','status','end','json','count','offset','limit','set','Content-Range','reject','update','then','destroy','get','SmsQueues','UserProfileResource','error','stack','name','send','map','SmsQueue','fieldName','key','model','query','keys','filters','attributes','intersection','fields','length','hasOwnProperty','nolimit','order','sort','pick','filter','where','merge','type','VIRTUAL','include','catch','show','rawAttributes','includeAll','options','create','body','user','Unable\x20to\x20retrieve\x20the\x20current\x20user','UserProfileSection','find','params','describe','getMembers','findOne','UserSmsQueue','SmsQueueId','findAll','User','UserId','smsPause','updatedAt','rows','format','SIP','Team','getTeams','ids'];(function(_0x1e69e0,_0x45884c){var _0x45b49d=function(_0x2b925e){while(--_0x2b925e){_0x1e69e0['push'](_0x1e69e0['shift']());}};_0x45b49d(++_0x45884c);}(_0x02b6,0x135));var _0x602b=function(_0x541fff,_0x9a6650){_0x541fff=_0x541fff-0x0;var _0x276dd8=_0x02b6[_0x541fff];return _0x276dd8;};'use strict';var pdf=require('html-pdf');var emlformat=require('eml-format');var rimraf=require(_0x602b('0x0'));var zipdir=require('zip-dir');var jsonpatch=require(_0x602b('0x1'));var rp=require('request-promise');var moment=require(_0x602b('0x2'));var BPromise=require(_0x602b('0x3'));var Mustache=require(_0x602b('0x4'));var util=require(_0x602b('0x5'));var path=require(_0x602b('0x6'));var sox=require(_0x602b('0x7'));var csv=require(_0x602b('0x8'));var ejs=require(_0x602b('0x9'));var fs=require('fs');var _=require(_0x602b('0xa'));var squel=require(_0x602b('0xb'));var crypto=require(_0x602b('0xc'));var jsforce=require(_0x602b('0xd'));var deskjs=require(_0x602b('0xe'));var toCsv=require(_0x602b('0x8'));var querystring=require(_0x602b('0xf'));var Papa=require(_0x602b('0x10'));var Redis=require(_0x602b('0x11'));var authService=require('../../components/auth/service');var qs=require(_0x602b('0x12'));var as=require(_0x602b('0x13'));var hardwareService=require(_0x602b('0x14'));var logger=require(_0x602b('0x15'))(_0x602b('0x16'));var utils=require(_0x602b('0x17'));var config=require(_0x602b('0x18'));var db=require(_0x602b('0x19'))['db'];config['redis']=_[_0x602b('0x1a')](config[_0x602b('0x1b')],{'host':_0x602b('0x1c'),'port':0x18eb});var socket=require('socket.io-emitter')(new Redis(config[_0x602b('0x1b')]));require(_0x602b('0x1d'))[_0x602b('0x1e')](socket);function respondWithStatusCode(_0x598bda,_0x68f890){_0x68f890=_0x68f890||0xcc;return function(_0x5e9367){if(_0x5e9367){return _0x598bda[_0x602b('0x1f')](_0x68f890);}return _0x598bda[_0x602b('0x20')](_0x68f890)[_0x602b('0x21')]();};}function respondWithResult(_0x580b6b,_0x42daae){_0x42daae=_0x42daae||0xc8;return function(_0x192246){if(_0x192246){return _0x580b6b[_0x602b('0x20')](_0x42daae)[_0x602b('0x22')](_0x192246);}};}function respondWithFilteredResult(_0x45ef42,_0x33d9f1){return function(_0x4d448d){if(_0x4d448d){var _0x18accc=_0x4d448d[_0x602b('0x23')],_0x564d28=_0x33d9f1[_0x602b('0x24')],_0x1b89e3=_0x33d9f1[_0x602b('0x24')]+_0x33d9f1[_0x602b('0x25')],_0x4f8521;if(_0x1b89e3>=_0x18accc){_0x1b89e3=_0x18accc;_0x4f8521=0xc8;}else{_0x4f8521=0xce;}_0x45ef42[_0x602b('0x20')](_0x4f8521);return _0x45ef42[_0x602b('0x26')](_0x602b('0x27'),_0x564d28+'-'+_0x1b89e3+'/'+_0x18accc)[_0x602b('0x22')](_0x4d448d);}return null;};}function patchUpdates(_0x23e7ef){return function(_0x11a060){try{jsonpatch['apply'](_0x11a060,_0x23e7ef,!![]);}catch(_0x19f93d){return BPromise[_0x602b('0x28')](_0x19f93d);}return _0x11a060['save']();};}function saveUpdates(_0x38faaa,_0x3381fc){return function(_0x105d7a){if(_0x105d7a){return _0x105d7a[_0x602b('0x29')](_0x38faaa)[_0x602b('0x2a')](function(_0x39f66c){return _0x39f66c;});}return null;};}function removeEntity(_0x4601e0,_0x1da860){return function(_0x2bd085){if(_0x2bd085){return _0x2bd085[_0x602b('0x2b')]()[_0x602b('0x2a')](function(){var _0x379758=_0x2bd085[_0x602b('0x2c')]({'plain':!![]});var _0x4cfc69=_0x602b('0x2d');return db[_0x602b('0x2e')][_0x602b('0x2b')]({'where':{'type':_0x4cfc69,'resourceId':_0x379758['id']}})['then'](function(){return _0x2bd085;});})[_0x602b('0x2a')](function(){_0x4601e0[_0x602b('0x20')](0xcc)['end']();});}};}function handleEntityNotFound(_0x558b78,_0x4de18b){return function(_0x596aad){if(!_0x596aad){_0x558b78['sendStatus'](0x194);}return _0x596aad;};}function handleError(_0x5215c2,_0x2828a4){_0x2828a4=_0x2828a4||0x1f4;return function(_0x46f9ae){logger[_0x602b('0x2f')](_0x46f9ae[_0x602b('0x30')]);if(_0x46f9ae[_0x602b('0x31')]){delete _0x46f9ae[_0x602b('0x31')];}_0x5215c2[_0x602b('0x20')](_0x2828a4)[_0x602b('0x32')](_0x46f9ae);};}exports['index']=function(_0x1baa99,_0x5dec6c){var _0x278d14={},_0x275991={},_0x5e17a9={'count':0x0,'rows':[]};var _0x261c34=_[_0x602b('0x33')](db[_0x602b('0x34')]['rawAttributes'],function(_0x1d1cee){return{'name':_0x1d1cee[_0x602b('0x35')],'type':_0x1d1cee['type'][_0x602b('0x36')]};});_0x275991[_0x602b('0x37')]=_['map'](_0x261c34,_0x602b('0x31'));_0x275991[_0x602b('0x38')]=_[_0x602b('0x39')](_0x1baa99[_0x602b('0x38')]);_0x275991[_0x602b('0x3a')]=_['intersection'](_0x275991[_0x602b('0x37')],_0x275991[_0x602b('0x38')]);_0x278d14[_0x602b('0x3b')]=_[_0x602b('0x3c')](_0x275991[_0x602b('0x37')],qs[_0x602b('0x3d')](_0x1baa99[_0x602b('0x38')][_0x602b('0x3d')]));_0x278d14[_0x602b('0x3b')]=_0x278d14['attributes'][_0x602b('0x3e')]?_0x278d14[_0x602b('0x3b')]:_0x275991['model'];if(!_0x1baa99[_0x602b('0x38')][_0x602b('0x3f')](_0x602b('0x40'))){_0x278d14[_0x602b('0x25')]=qs[_0x602b('0x25')](_0x1baa99[_0x602b('0x38')]['limit']);_0x278d14['offset']=qs[_0x602b('0x24')](_0x1baa99[_0x602b('0x38')][_0x602b('0x24')]);}_0x278d14[_0x602b('0x41')]=qs[_0x602b('0x42')](_0x1baa99[_0x602b('0x38')]['sort']);_0x278d14['where']=qs[_0x602b('0x3a')](_[_0x602b('0x43')](_0x1baa99[_0x602b('0x38')],_0x275991['filters']),_0x261c34);if(_0x1baa99['query'][_0x602b('0x44')]){_0x278d14[_0x602b('0x45')]=_[_0x602b('0x46')](_0x278d14[_0x602b('0x45')],{'$or':_['map'](_0x261c34,function(_0x1b099f){if(_0x1b099f[_0x602b('0x47')]!==_0x602b('0x48')){var _0x449ee3={};_0x449ee3[_0x1b099f[_0x602b('0x31')]]={'$like':'%'+_0x1baa99[_0x602b('0x38')]['filter']+'%'};return _0x449ee3;}})});}_0x278d14=_[_0x602b('0x46')]({},_0x278d14,_0x1baa99['options']);var _0x151d5e={'where':_0x278d14[_0x602b('0x45')]};return db['SmsQueue'][_0x602b('0x23')](_0x151d5e)['then'](function(_0x4511a4){_0x5e17a9['count']=_0x4511a4;if(_0x1baa99['query']['includeAll']){_0x278d14[_0x602b('0x49')]=[{'all':!![]}];}return db[_0x602b('0x34')]['findAll'](_0x278d14);})[_0x602b('0x2a')](function(_0x14d0df){_0x5e17a9['rows']=_0x14d0df;return _0x5e17a9;})[_0x602b('0x2a')](respondWithFilteredResult(_0x5dec6c,_0x278d14))[_0x602b('0x4a')](handleError(_0x5dec6c,null));};exports[_0x602b('0x4b')]=function(_0x1c6559,_0x39558b){var _0xf99479={'raw':!![],'where':{'id':_0x1c6559['params']['id']}},_0x1dcc38={};_0x1dcc38[_0x602b('0x37')]=_[_0x602b('0x39')](db[_0x602b('0x34')][_0x602b('0x4c')]);_0x1dcc38[_0x602b('0x38')]=_[_0x602b('0x39')](_0x1c6559[_0x602b('0x38')]);_0x1dcc38[_0x602b('0x3a')]=_[_0x602b('0x3c')](_0x1dcc38[_0x602b('0x37')],_0x1dcc38[_0x602b('0x38')]);_0xf99479[_0x602b('0x3b')]=_[_0x602b('0x3c')](_0x1dcc38[_0x602b('0x37')],qs[_0x602b('0x3d')](_0x1c6559['query'][_0x602b('0x3d')]));_0xf99479[_0x602b('0x3b')]=_0xf99479[_0x602b('0x3b')]['length']?_0xf99479[_0x602b('0x3b')]:_0x1dcc38['model'];if(_0x1c6559[_0x602b('0x38')][_0x602b('0x4d')]){_0xf99479[_0x602b('0x49')]=[{'all':!![]}];}_0xf99479=_[_0x602b('0x46')]({},_0xf99479,_0x1c6559[_0x602b('0x4e')]);return db[_0x602b('0x34')]['find'](_0xf99479)['then'](handleEntityNotFound(_0x39558b,null))[_0x602b('0x2a')](respondWithResult(_0x39558b,null))[_0x602b('0x4a')](handleError(_0x39558b,null));};exports[_0x602b('0x4f')]=function(_0x3adf34,_0x373dda){return db[_0x602b('0x34')]['create'](_0x3adf34[_0x602b('0x50')],{})[_0x602b('0x2a')](function(_0x13b8b6){var _0x22a0c7=_0x3adf34[_0x602b('0x51')][_0x602b('0x2c')]({'plain':!![]});if(!_0x22a0c7)throw new Error(_0x602b('0x52'));if(_0x22a0c7['role']===_0x602b('0x51')){var _0xab9bd9=_0x13b8b6[_0x602b('0x2c')]({'plain':!![]});var _0x90a320=_0x602b('0x2d');return db[_0x602b('0x53')][_0x602b('0x54')]({'where':{'name':_0x90a320,'userProfileId':_0x22a0c7['userProfileId']},'raw':!![]})[_0x602b('0x2a')](function(_0x22e50c){if(_0x22e50c&&_0x22e50c['autoAssociation']===0x0){return db[_0x602b('0x2e')][_0x602b('0x4f')]({'name':_0xab9bd9['name'],'resourceId':_0xab9bd9['id'],'type':_0x22e50c[_0x602b('0x31')],'sectionId':_0x22e50c['id']},{})['then'](function(){return _0x13b8b6;});}else{return _0x13b8b6;}})[_0x602b('0x4a')](function(_0x3ba093){logger['error']('Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s',_0x3ba093);throw _0x3ba093;});}return _0x13b8b6;})['then'](respondWithResult(_0x373dda,0xc9))[_0x602b('0x4a')](handleError(_0x373dda,null));};exports[_0x602b('0x29')]=function(_0x358e55,_0x5280e7){if(_0x358e55['body']['id']){delete _0x358e55[_0x602b('0x50')]['id'];}return db[_0x602b('0x34')][_0x602b('0x54')]({'where':{'id':_0x358e55[_0x602b('0x55')]['id']}})[_0x602b('0x2a')](handleEntityNotFound(_0x5280e7,null))['then'](saveUpdates(_0x358e55[_0x602b('0x50')],null))['then'](respondWithResult(_0x5280e7,null))[_0x602b('0x4a')](handleError(_0x5280e7,null));};exports[_0x602b('0x2b')]=function(_0xd7b022,_0x1990ed){return db[_0x602b('0x34')][_0x602b('0x54')]({'where':{'id':_0xd7b022[_0x602b('0x55')]['id']}})[_0x602b('0x2a')](handleEntityNotFound(_0x1990ed,null))[_0x602b('0x2a')](removeEntity(_0x1990ed,null))[_0x602b('0x4a')](handleError(_0x1990ed,null));};exports['describe']=function(_0x536b84,_0x25f39a){return db['SmsQueue'][_0x602b('0x56')]()['then'](respondWithResult(_0x25f39a,null))[_0x602b('0x4a')](handleError(_0x25f39a,null));};exports[_0x602b('0x57')]=function(_0x1f2b06,_0x3a4fd6,_0x487935){var _0x1effc0={'raw':!![],'where':{}},_0xb937c6={},_0x570e1b;return db[_0x602b('0x34')][_0x602b('0x58')]({'where':{'id':_0x1f2b06['params']['id']}})[_0x602b('0x2a')](handleEntityNotFound(_0x3a4fd6,null))[_0x602b('0x2a')](function(_0x49b7f0){if(_0x49b7f0){_0x570e1b=_0x49b7f0[_0x602b('0x2c')]({'plain':!![]});_0xb937c6['model']=_[_0x602b('0x39')](db[_0x602b('0x59')]['rawAttributes']);_0xb937c6[_0x602b('0x38')]=_[_0x602b('0x39')](_0x1f2b06['query']);_0xb937c6[_0x602b('0x3a')]=_[_0x602b('0x3c')](_0xb937c6[_0x602b('0x37')],_0xb937c6[_0x602b('0x38')]);_0x1effc0[_0x602b('0x3b')]=_['intersection'](_0xb937c6['model'],qs[_0x602b('0x3d')](_0x1f2b06[_0x602b('0x38')]['fields']));_0x1effc0[_0x602b('0x3b')]=_0x1effc0[_0x602b('0x3b')][_0x602b('0x3e')]?_0x1effc0[_0x602b('0x3b')]:_0xb937c6[_0x602b('0x37')];if(!_0x1f2b06[_0x602b('0x38')][_0x602b('0x3f')](_0x602b('0x40'))){_0x1effc0[_0x602b('0x25')]=qs[_0x602b('0x25')](_0x1f2b06[_0x602b('0x38')]['limit']);_0x1effc0['offset']=qs[_0x602b('0x24')](_0x1f2b06[_0x602b('0x38')][_0x602b('0x24')]);}_0x1effc0['order']=qs[_0x602b('0x42')](_0x1f2b06[_0x602b('0x38')][_0x602b('0x42')]);_0x1effc0[_0x602b('0x45')]=qs[_0x602b('0x3a')](_['pick'](_0x1f2b06[_0x602b('0x38')],_0xb937c6[_0x602b('0x3a')]));_0x1effc0[_0x602b('0x45')][_0x602b('0x5a')]=_0x49b7f0['id'];if(_0x1f2b06['query']['filter']){_0x1effc0['where']=_['merge'](_0x1effc0['where'],{'$or':_[_0x602b('0x33')](_0x1effc0[_0x602b('0x3b')],function(_0x5d8259){var _0x4eeee2={};_0x4eeee2[_0x5d8259]={'$like':'%'+_0x1f2b06[_0x602b('0x38')]['filter']+'%'};return _0x4eeee2;})});}_0x1effc0=_[_0x602b('0x46')]({},_0x1effc0,_0x1f2b06[_0x602b('0x4e')]);return db[_0x602b('0x59')][_0x602b('0x5b')](_0x1effc0);}})[_0x602b('0x2a')](function(_0x3871d0){if(_0x3871d0){return db[_0x602b('0x5c')]['findAndCountAll']({'where':{'id':_['map'](_0x3871d0,_0x602b('0x5d')),'role':'agent'},'attributes':['id',_0x602b('0x31'),_0x602b('0x5e'),_0x602b('0x5f'),'createdAt']});}})[_0x602b('0x2a')](function(_0x53bd17){if(_0x53bd17){return{'count':_0x53bd17[_0x602b('0x23')],'rows':_[_0x602b('0x33')](_0x53bd17[_0x602b('0x60')],function(_0x50d9ed){return{'membername':_0x50d9ed[_0x602b('0x31')],'UserId':_0x50d9ed['id'],'queue_name':_0x570e1b[_0x602b('0x31')],'SmsQueueId':_0x570e1b['id'],'interface':util[_0x602b('0x61')]('%s/%s',_0x602b('0x62'),_0x50d9ed[_0x602b('0x31')]),'penalty':0x0,'paused':_0x50d9ed['smsPause'],'createdAt':_0x50d9ed['createdAt'],'updatedAt':_0x50d9ed[_0x602b('0x5f')]};})};}else{return{'count':0x0,'rows':[]};}})['then'](respondWithFilteredResult(_0x3a4fd6,_0x1effc0))[_0x602b('0x4a')](handleError(_0x3a4fd6,null));};exports['getTeams']=function(_0x1932aa,_0x898f91,_0x430fc0){var _0x548ba0={};var _0x49e8bf={};var _0x175065;var _0x5679fa;return db['SmsQueue'][_0x602b('0x58')]({'where':{'id':_0x1932aa['params']['id']}})[_0x602b('0x2a')](handleEntityNotFound(_0x898f91,null))['then'](function(_0x564df2){if(_0x564df2){_0x175065=_0x564df2;_0x49e8bf[_0x602b('0x37')]=_['keys'](db[_0x602b('0x63')][_0x602b('0x4c')]);_0x49e8bf['query']=_[_0x602b('0x39')](_0x1932aa[_0x602b('0x38')]);_0x49e8bf[_0x602b('0x3a')]=_['intersection'](_0x49e8bf[_0x602b('0x37')],_0x49e8bf[_0x602b('0x38')]);_0x548ba0[_0x602b('0x3b')]=_[_0x602b('0x3c')](_0x49e8bf['model'],qs[_0x602b('0x3d')](_0x1932aa[_0x602b('0x38')]['fields']));_0x548ba0[_0x602b('0x3b')]=_0x548ba0[_0x602b('0x3b')]['length']?_0x548ba0[_0x602b('0x3b')]:_0x49e8bf[_0x602b('0x37')];_0x548ba0[_0x602b('0x41')]=qs[_0x602b('0x42')](_0x1932aa[_0x602b('0x38')][_0x602b('0x42')]);_0x548ba0[_0x602b('0x45')]=qs[_0x602b('0x3a')](_[_0x602b('0x43')](_0x1932aa[_0x602b('0x38')],_0x49e8bf[_0x602b('0x3a')]));if(_0x1932aa[_0x602b('0x38')][_0x602b('0x44')]){_0x548ba0[_0x602b('0x45')]=_['merge'](_0x548ba0[_0x602b('0x45')],{'$or':_['map'](_0x548ba0[_0x602b('0x3b')],function(_0x2edc6d){var _0x2f3589={};_0x2f3589[_0x2edc6d]={'$like':'%'+_0x1932aa['query']['filter']+'%'};return _0x2f3589;})});}_0x548ba0=_[_0x602b('0x46')]({},_0x548ba0,_0x1932aa[_0x602b('0x4e')]);return _0x175065[_0x602b('0x64')](_0x548ba0);}})['then'](function(_0x5c377d){if(_0x5c377d){_0x5679fa=_0x5c377d[_0x602b('0x3e')];if(!_0x1932aa[_0x602b('0x38')][_0x602b('0x3f')]('nolimit')){_0x548ba0[_0x602b('0x25')]=qs[_0x602b('0x25')](_0x1932aa[_0x602b('0x38')]['limit']);_0x548ba0[_0x602b('0x24')]=qs[_0x602b('0x24')](_0x1932aa['query'][_0x602b('0x24')]);}return _0x175065[_0x602b('0x64')](_0x548ba0);}})[_0x602b('0x2a')](function(_0x55c65f){if(_0x55c65f){return _0x55c65f?{'count':_0x5679fa,'rows':_0x55c65f}:null;}})['then'](respondWithResult(_0x898f91,null))[_0x602b('0x4a')](handleError(_0x898f91,null));};exports['addTeams']=function(_0x1b1e82,_0x4e1f5a,_0x228fde){var _0x5a7acd=_0x1b1e82[_0x602b('0x50')][_0x602b('0x65')];return db[_0x602b('0x63')][_0x602b('0x5b')]({'where':{'id':_0x5a7acd},'attributes':['id'],'include':[{'model':db[_0x602b('0x5c')],'as':_0x602b('0x66'),'attributes':['id',_0x602b('0x31'),'online',_0x602b('0x67'),_0x602b('0x68')],'raw':!![]}]})[_0x602b('0x2a')](function(_0x55c2f5){if(_0x55c2f5){var _0xe8db05=_[_0x602b('0x69')](_0x55c2f5,function(_0x3c7e0d){var _0xe3f101=_0x3c7e0d[_0x602b('0x2c')]({'plain':!![]});return _0xe3f101['Agents'];});return db['SmsQueue'][_0x602b('0x54')]({'where':{'id':_0x1b1e82[_0x602b('0x55')]['id']}})[_0x602b('0x2a')](function(_0x17f4ba){return db[_0x602b('0x6a')][_0x602b('0x6b')](function(_0x495e9a){return _0x17f4ba['addTeams'](_0x5a7acd,{'transaction':_0x495e9a})[_0x602b('0x2a')](function(){return BPromise['each'](_0xe8db05,function(_0x366c44){return db[_0x602b('0x59')]['findOrCreate']({'where':{'UserId':_0x366c44['id'],'SmsQueueId':_0x1b1e82[_0x602b('0x55')]['id']},'transaction':_0x495e9a});});})['then'](function(){_0xe8db05[_0x602b('0x6c')](function(_0x105a4c){socket[_0x602b('0x6d')](_0x602b('0x6e'),{'UserId':_0x105a4c['id'],'SmsQueueId':_0x17f4ba['id']});});});});});}})['then'](respondWithStatusCode(_0x4e1f5a,null))[_0x602b('0x4a')](handleError(_0x4e1f5a,null));};exports[_0x602b('0x6f')]=function(_0x220931,_0x591f5f,_0xd144b3){return db['Team'][_0x602b('0x5b')]({'where':{'id':_0x220931[_0x602b('0x38')][_0x602b('0x65')]},'attributes':['id'],'include':[{'model':db[_0x602b('0x5c')],'as':_0x602b('0x66'),'attributes':['id'],'raw':!![]}]})[_0x602b('0x2a')](handleEntityNotFound(_0x591f5f,null))['then'](function(_0xc30ce8){var _0x3fc30f=_[_0x602b('0x33')](_0xc30ce8,'id');var _0x49e582=[];var _0x5ae315=[];var _0x35ed76=squel['select']();_0x35ed76[_0x602b('0x70')](_0x602b('0x71'))['from'](_0x602b('0x72'),'tq')[_0x602b('0x73')](_0x602b('0x74'),'ut',_0x602b('0x75'))['where'](_0x602b('0x76'),_0x220931[_0x602b('0x55')]['id']);for(var _0x31a64f=0x0;_0x31a64f<_0xc30ce8[_0x602b('0x3e')];_0x31a64f+=0x1){let _0x4c7f0f=_0xc30ce8[_0x31a64f];for(var _0x415d1b=0x0;_0x415d1b<_0x4c7f0f[_0x602b('0x66')][_0x602b('0x3e')];_0x415d1b+=0x1){let _0x1f2619=_0x4c7f0f[_0x602b('0x66')][_0x415d1b];var _0x30f7aa=_0x35ed76[_0x602b('0x77')]();_0x30f7aa[_0x602b('0x45')](_0x602b('0x78'),_0x1f2619['id']);_0x5ae315[_0x602b('0x79')](db[_0x602b('0x6a')]['query'](_0x30f7aa[_0x602b('0x7a')](),{'type':db[_0x602b('0x6a')][_0x602b('0x7b')][_0x602b('0x7c')]})[_0x602b('0x2a')](function(_0x59767a){if(_0x59767a[_0x602b('0x3e')]===0x1){return _0x1f2619['id'];}else{var _0x4b7077=_[_0x602b('0x7d')](_['map'](_0x59767a,'TeamId'),function(_0x20cac8){return _['includes'](_0x3fc30f,_0x20cac8);});if(_0x4b7077){return _0x1f2619['id'];}}}));}}return BPromise[_0x602b('0x7e')](_0x5ae315)[_0x602b('0x2a')](function(_0x1c8dc2){_0x49e582=_(_0x49e582)['union'](_0x1c8dc2)[_0x602b('0x7f')]()[_0x602b('0x80')]();return db[_0x602b('0x34')]['find']({'where':{'id':_0x220931[_0x602b('0x55')]['id']}})['then'](function(_0x397929){return db[_0x602b('0x6a')]['transaction'](function(_0x3934cb){return _0x397929[_0x602b('0x6f')](_0x220931[_0x602b('0x38')][_0x602b('0x65')],{'transaction':_0x3934cb})[_0x602b('0x2a')](function(){if(!_[_0x602b('0x81')](_0x49e582)){return _0x397929['removeAgents'](_0x49e582,{'transaction':_0x3934cb});}})[_0x602b('0x2a')](function(){_0x49e582['forEach'](function(_0x493b33){socket[_0x602b('0x6d')](_0x602b('0x82'),{'UserId':_0x493b33,'SmsQueueId':_0x397929['id']});});});});});});})[_0x602b('0x2a')](respondWithStatusCode(_0x591f5f,null))['catch'](handleError(_0x591f5f,null));};exports[_0x602b('0x83')]=function(_0x1a8c50,_0x4f7157,_0x329291){return db[_0x602b('0x34')][_0x602b('0x54')]({'where':{'id':_0x1a8c50[_0x602b('0x55')]['id']}})[_0x602b('0x2a')](handleEntityNotFound(_0x4f7157,null))[_0x602b('0x2a')](function(_0x5633f8){if(_0x5633f8){return _0x5633f8[_0x602b('0x83')](_0x1a8c50[_0x602b('0x50')][_0x602b('0x65')],_[_0x602b('0x84')](_0x1a8c50[_0x602b('0x50')],[_0x602b('0x65'),'id'])||{})[_0x602b('0x85')](function(_0x1987bf){for(var _0x4cc75b=0x0;_0x4cc75b<_0x1a8c50[_0x602b('0x50')][_0x602b('0x65')][_0x602b('0x3e')];_0x4cc75b+=0x1){socket[_0x602b('0x6d')](_0x602b('0x6e'),{'UserId':_0x1a8c50[_0x602b('0x50')]['ids'][_0x4cc75b],'SmsQueueId':_0x1a8c50[_0x602b('0x55')]['id']});}return _0x1987bf;});}})[_0x602b('0x2a')](respondWithResult(_0x4f7157,null))[_0x602b('0x4a')](handleError(_0x4f7157,null));};exports[_0x602b('0x86')]=function(_0x566ab0,_0x5be64b,_0x277284){return db[_0x602b('0x34')][_0x602b('0x54')]({'where':{'id':_0x566ab0[_0x602b('0x55')]['id']}})['then'](handleEntityNotFound(_0x5be64b,null))['then'](function(_0x118bbc){if(_0x118bbc){return _0x118bbc[_0x602b('0x86')](_0x566ab0[_0x602b('0x38')]['ids'])[_0x602b('0x2a')](function(){if(_[_0x602b('0x87')](_0x566ab0[_0x602b('0x38')][_0x602b('0x65')])){for(var _0x5b9d24=0x0;_0x5b9d24<_0x566ab0['query'][_0x602b('0x65')][_0x602b('0x3e')];_0x5b9d24+=0x1){socket[_0x602b('0x6d')]('userSmsQueue:remove',{'UserId':Number(_0x566ab0[_0x602b('0x38')][_0x602b('0x65')][_0x5b9d24]),'SmsQueueId':Number(_0x566ab0['params']['id'])});}}else{socket['emit'](_0x602b('0x82'),{'UserId':Number(_0x566ab0['query'][_0x602b('0x65')]),'SmsQueueId':Number(_0x566ab0[_0x602b('0x55')]['id'])});}});}})['then'](respondWithStatusCode(_0x5be64b,null))['catch'](handleError(_0x5be64b,null));};exports[_0x602b('0x88')]=function(_0x5cd158,_0x2b8c3a,_0x458510){var _0x3ade52={};var _0x448241={};var _0x779ca;var _0xc133f1;return db[_0x602b('0x34')]['findOne']({'where':{'id':_0x5cd158['params']['id']}})[_0x602b('0x2a')](handleEntityNotFound(_0x2b8c3a,null))[_0x602b('0x2a')](function(_0x5256b5){if(_0x5256b5){_0x779ca=_0x5256b5;_0x448241[_0x602b('0x37')]=_['keys'](db['User'][_0x602b('0x4c')]);_0x448241[_0x602b('0x38')]=_[_0x602b('0x39')](_0x5cd158['query']);_0x448241[_0x602b('0x3a')]=_[_0x602b('0x3c')](_0x448241[_0x602b('0x37')],_0x448241[_0x602b('0x38')]);_0x3ade52[_0x602b('0x3b')]=_[_0x602b('0x3c')](_0x448241[_0x602b('0x37')],qs[_0x602b('0x3d')](_0x5cd158[_0x602b('0x38')][_0x602b('0x3d')]));_0x3ade52[_0x602b('0x3b')]=_0x3ade52[_0x602b('0x3b')][_0x602b('0x3e')]?_0x3ade52[_0x602b('0x3b')]:_0x448241[_0x602b('0x37')];_0x3ade52['order']=qs[_0x602b('0x42')](_0x5cd158[_0x602b('0x38')][_0x602b('0x42')]);_0x3ade52['where']=qs[_0x602b('0x3a')](_[_0x602b('0x43')](_0x5cd158[_0x602b('0x38')],_0x448241[_0x602b('0x3a')]));if(_0x5cd158[_0x602b('0x38')][_0x602b('0x44')]){_0x3ade52[_0x602b('0x45')]=_[_0x602b('0x46')](_0x3ade52['where'],{'$or':_[_0x602b('0x33')](_0x3ade52[_0x602b('0x3b')],function(_0x961604){var _0x3bb356={};_0x3bb356[_0x961604]={'$like':'%'+_0x5cd158[_0x602b('0x38')][_0x602b('0x44')]+'%'};return _0x3bb356;})});}_0x3ade52=_['merge']({},_0x3ade52,_0x5cd158[_0x602b('0x4e')]);return _0x779ca[_0x602b('0x88')](_0x3ade52);}})[_0x602b('0x2a')](function(_0xf123e9){if(_0xf123e9){_0xc133f1=_0xf123e9[_0x602b('0x3e')];if(!_0x5cd158['query'][_0x602b('0x3f')](_0x602b('0x40'))){_0x3ade52[_0x602b('0x25')]=qs[_0x602b('0x25')](_0x5cd158[_0x602b('0x38')][_0x602b('0x25')]);_0x3ade52[_0x602b('0x24')]=qs[_0x602b('0x24')](_0x5cd158[_0x602b('0x38')]['offset']);}return _0x779ca[_0x602b('0x88')](_0x3ade52);}})['then'](function(_0x3f56ff){if(_0x3f56ff){return _0x3f56ff?{'count':_0xc133f1,'rows':_0x3f56ff}:null;}})[_0x602b('0x2a')](respondWithResult(_0x2b8c3a,null))[_0x602b('0x4a')](handleError(_0x2b8c3a,null));}; \ No newline at end of file diff --git a/server/api/smsQueue/smsQueue.events.js b/server/api/smsQueue/smsQueue.events.js index 60d457b..1bba2f6 100644 --- a/server/api/smsQueue/smsQueue.events.js +++ b/server/api/smsQueue/smsQueue.events.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xebe6=['update','remove','emit','hasOwnProperty','hook','exports','events','../../mysqldb','SmsQueue','setMaxListeners','save'];(function(_0x115850,_0x4bb634){var _0xbad084=function(_0xa14074){while(--_0xa14074){_0x115850['push'](_0x115850['shift']());}};_0xbad084(++_0x4bb634);}(_0xebe6,0x13a));var _0x6ebe=function(_0x61c887,_0x5522c2){_0x61c887=_0x61c887-0x0;var _0x200c44=_0xebe6[_0x61c887];return _0x200c44;};'use strict';var EventEmitter=require(_0x6ebe('0x0'));var SmsQueue=require(_0x6ebe('0x1'))['db'][_0x6ebe('0x2')];var SmsQueueEvents=new EventEmitter();SmsQueueEvents[_0x6ebe('0x3')](0x0);var events={'afterCreate':_0x6ebe('0x4'),'afterUpdate':_0x6ebe('0x5'),'afterDestroy':_0x6ebe('0x6')};function emitEvent(_0x9e6c24){return function(_0x39e8bf,_0x2196da,_0x48eece){SmsQueueEvents['emit'](_0x9e6c24+':'+_0x39e8bf['id'],_0x39e8bf);SmsQueueEvents[_0x6ebe('0x7')](_0x9e6c24,_0x39e8bf);_0x48eece(null);};}for(var e in events){if(events[_0x6ebe('0x8')](e)){var event=events[e];SmsQueue[_0x6ebe('0x9')](e,emitEvent(event));}}module[_0x6ebe('0xa')]=SmsQueueEvents; \ No newline at end of file +var _0x89ff=['setMaxListeners','save','update','remove','emit','hook','exports','../../mysqldb','SmsQueue'];(function(_0x4b1643,_0x270da2){var _0x412a67=function(_0xb36e99){while(--_0xb36e99){_0x4b1643['push'](_0x4b1643['shift']());}};_0x412a67(++_0x270da2);}(_0x89ff,0x1b7));var _0xf89f=function(_0x3cde2e,_0x1d3514){_0x3cde2e=_0x3cde2e-0x0;var _0x39cae4=_0x89ff[_0x3cde2e];return _0x39cae4;};'use strict';var EventEmitter=require('events');var SmsQueue=require(_0xf89f('0x0'))['db'][_0xf89f('0x1')];var SmsQueueEvents=new EventEmitter();SmsQueueEvents[_0xf89f('0x2')](0x0);var events={'afterCreate':_0xf89f('0x3'),'afterUpdate':_0xf89f('0x4'),'afterDestroy':_0xf89f('0x5')};function emitEvent(_0x926a38){return function(_0x50dd84,_0x1494a2,_0x36703e){SmsQueueEvents[_0xf89f('0x6')](_0x926a38+':'+_0x50dd84['id'],_0x50dd84);SmsQueueEvents[_0xf89f('0x6')](_0x926a38,_0x50dd84);_0x36703e(null);};}for(var e in events){if(events['hasOwnProperty'](e)){var event=events[e];SmsQueue[_0xf89f('0x7')](e,emitEvent(event));}}module[_0xf89f('0x8')]=SmsQueueEvents; \ No newline at end of file diff --git a/server/api/smsQueue/smsQueue.model.js b/server/api/smsQueue/smsQueue.model.js index 1c5e165..713f15f 100644 --- a/server/api/smsQueue/smsQueue.model.js +++ b/server/api/smsQueue/smsQueue.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xc7ec=['define','SmsQueue','sms_queues','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./smsQueue.attributes','exports'];(function(_0x115bdf,_0x4de32c){var _0x4c608e=function(_0x3b6da1){while(--_0x3b6da1){_0x115bdf['push'](_0x115bdf['shift']());}};_0x4c608e(++_0x4de32c);}(_0xc7ec,0xff));var _0xcc7e=function(_0x4e0359,_0x205155){_0x4e0359=_0x4e0359-0x0;var _0x450f0a=_0xc7ec[_0x4e0359];return _0x450f0a;};'use strict';var _=require('lodash');var util=require(_0xcc7e('0x0'));var logger=require(_0xcc7e('0x1'))(_0xcc7e('0x2'));var moment=require(_0xcc7e('0x3'));var BPromise=require(_0xcc7e('0x4'));var rp=require(_0xcc7e('0x5'));var fs=require('fs');var path=require(_0xcc7e('0x6'));var rimraf=require(_0xcc7e('0x7'));var config=require(_0xcc7e('0x8'));var attributes=require(_0xcc7e('0x9'));module[_0xcc7e('0xa')]=function(_0xb3f608,_0x32b59f){return _0xb3f608[_0xcc7e('0xb')](_0xcc7e('0xc'),attributes,{'tableName':_0xcc7e('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0x661e=['./smsQueue.attributes','exports','define','SmsQueue','sms_queues','util','../../config/logger','bluebird','request-promise','path','rimraf','../../config/environment'];(function(_0x2f70b0,_0x45740b){var _0x5ccae1=function(_0xd26362){while(--_0xd26362){_0x2f70b0['push'](_0x2f70b0['shift']());}};_0x5ccae1(++_0x45740b);}(_0x661e,0x7d));var _0xe661=function(_0x213f8a,_0x41953a){_0x213f8a=_0x213f8a-0x0;var _0x7ca918=_0x661e[_0x213f8a];return _0x7ca918;};'use strict';var _=require('lodash');var util=require(_0xe661('0x0'));var logger=require(_0xe661('0x1'))('api');var moment=require('moment');var BPromise=require(_0xe661('0x2'));var rp=require(_0xe661('0x3'));var fs=require('fs');var path=require(_0xe661('0x4'));var rimraf=require(_0xe661('0x5'));var config=require(_0xe661('0x6'));var attributes=require(_0xe661('0x7'));module[_0xe661('0x8')]=function(_0x53c413,_0x51a018){return _0x53c413[_0xe661('0x9')](_0xe661('0xa'),attributes,{'tableName':_0xe661('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/smsQueue/smsQueue.rpc.js b/server/api/smsQueue/smsQueue.rpc.js index c44e28f..c778981 100644 --- a/server/api/smsQueue/smsQueue.rpc.js +++ b/server/api/smsQueue/smsQueue.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xe27c=['model','find','ShowSmsQueue','moment','bluebird','randomstring','ioredis','../../mysqldb','../../config/logger','../../config/environment','client','http','redis','defaults','localhost','socket.io-emitter','register','request','then','info','SmsQueue,\x20%s,\x20%s','request\x20sent','debug','error','code','message','result','catch','GetSmsQueue','SmsQueue','findAll','options','raw','where','attributes','limit','include','map'];(function(_0x3a1b9e,_0x1154d5){var _0x323e33=function(_0x9fa90e){while(--_0x9fa90e){_0x3a1b9e['push'](_0x3a1b9e['shift']());}};_0x323e33(++_0x1154d5);}(_0xe27c,0xc1));var _0xce27=function(_0x2759d8,_0xb5ac1a){_0x2759d8=_0x2759d8-0x0;var _0x45043c=_0xe27c[_0x2759d8];return _0x45043c;};'use strict';var _=require('lodash');var util=require('util');var moment=require(_0xce27('0x0'));var BPromise=require(_0xce27('0x1'));var rs=require(_0xce27('0x2'));var fs=require('fs');var Redis=require(_0xce27('0x3'));var db=require(_0xce27('0x4'))['db'];var utils=require('../../config/utils');var logger=require(_0xce27('0x5'))('rpc');var config=require(_0xce27('0x6'));var jayson=require('jayson/promise');var client=jayson[_0xce27('0x7')][_0xce27('0x8')]({'port':0x232a});config[_0xce27('0x9')]=_[_0xce27('0xa')](config[_0xce27('0x9')],{'host':_0xce27('0xb'),'port':0x18eb});var socket=require(_0xce27('0xc'))(new Redis(config['redis']));require('./smsQueue.socket')[_0xce27('0xd')](socket);function respondWithRpcPromise(_0x436402,_0x252fb5,_0x221068){return new BPromise(function(_0x4a6592,_0x15fe8b){return client[_0xce27('0xe')](_0x436402,_0x221068)[_0xce27('0xf')](function(_0x3b7f4f){logger[_0xce27('0x10')](_0xce27('0x11'),_0x252fb5,_0xce27('0x12'));logger[_0xce27('0x13')]('SmsQueue,\x20%s,\x20%s,\x20%s',_0x252fb5,'request\x20sent',JSON['stringify'](_0x3b7f4f));if(_0x3b7f4f[_0xce27('0x14')]){if(_0x3b7f4f[_0xce27('0x14')][_0xce27('0x15')]===0x1f4){logger[_0xce27('0x14')]('SmsQueue,\x20%s,\x20%s',_0x252fb5,_0x3b7f4f[_0xce27('0x14')][_0xce27('0x16')]);return _0x15fe8b(_0x3b7f4f[_0xce27('0x14')][_0xce27('0x16')]);}logger[_0xce27('0x14')]('SmsQueue,\x20%s,\x20%s',_0x252fb5,_0x3b7f4f[_0xce27('0x14')][_0xce27('0x16')]);return _0x4a6592(_0x3b7f4f['error'][_0xce27('0x16')]);}else{logger['info'](_0xce27('0x11'),_0x252fb5,'request\x20sent');_0x4a6592(_0x3b7f4f[_0xce27('0x17')][_0xce27('0x16')]);}})[_0xce27('0x18')](function(_0x5adb1c){logger[_0xce27('0x14')](_0xce27('0x11'),_0x252fb5,_0x5adb1c);_0x15fe8b(_0x5adb1c);});});}exports[_0xce27('0x19')]=function(_0x4c02d0){var _0x377fc9=this;return new Promise(function(_0x4e0f03,_0x324568){return db[_0xce27('0x1a')][_0xce27('0x1b')]({'raw':_0x4c02d0['options']?_0x4c02d0[_0xce27('0x1c')][_0xce27('0x1d')]===undefined?!![]:![]:!![],'where':_0x4c02d0[_0xce27('0x1c')]?_0x4c02d0[_0xce27('0x1c')][_0xce27('0x1e')]||null:null,'attributes':_0x4c02d0['options']?_0x4c02d0[_0xce27('0x1c')][_0xce27('0x1f')]||null:null,'limit':_0x4c02d0[_0xce27('0x1c')]?_0x4c02d0['options'][_0xce27('0x20')]||null:null,'include':_0x4c02d0[_0xce27('0x1c')]?_0x4c02d0[_0xce27('0x1c')][_0xce27('0x21')]?_[_0xce27('0x22')](_0x4c02d0['options'][_0xce27('0x21')],function(_0x56c386){return{'model':db[_0x56c386['model']],'as':_0x56c386['as'],'attributes':_0x56c386[_0xce27('0x1f')],'include':_0x56c386[_0xce27('0x21')]?_['map'](_0x56c386['include'],function(_0x25245c){return{'model':db[_0x25245c['model']],'as':_0x25245c['as'],'attributes':_0x25245c[_0xce27('0x1f')],'include':_0x25245c[_0xce27('0x21')]?_[_0xce27('0x22')](_0x25245c[_0xce27('0x21')],function(_0x5c2209){return{'model':db[_0x5c2209[_0xce27('0x23')]],'as':_0x5c2209['as'],'attributes':_0x5c2209[_0xce27('0x1f')]};}):[]};}):[]};}):[]:[]})[_0xce27('0xf')](function(_0x4c7ce5){logger[_0xce27('0x10')](_0xce27('0x19'),_0x4c02d0);logger[_0xce27('0x13')](_0xce27('0x19'),_0x4c02d0,JSON['stringify'](_0x4c7ce5));_0x4e0f03(_0x4c7ce5);})[_0xce27('0x18')](function(_0x11f779){logger['error'](_0xce27('0x19'),_0x11f779[_0xce27('0x16')],_0x4c02d0);_0x324568(_0x377fc9[_0xce27('0x14')](0x1f4,_0x11f779[_0xce27('0x16')]));});});};exports['ShowSmsQueue']=function(_0xd9c655){var _0x477aef=this;return new Promise(function(_0x1fa06b,_0x2eb198){return db[_0xce27('0x1a')][_0xce27('0x24')]({'raw':_0xd9c655['options']?_0xd9c655[_0xce27('0x1c')][_0xce27('0x1d')]===undefined?!![]:![]:!![],'where':_0xd9c655[_0xce27('0x1c')]?_0xd9c655[_0xce27('0x1c')][_0xce27('0x1e')]||null:null,'attributes':_0xd9c655[_0xce27('0x1c')]?_0xd9c655[_0xce27('0x1c')][_0xce27('0x1f')]||null:null,'include':_0xd9c655[_0xce27('0x1c')]?_0xd9c655[_0xce27('0x1c')]['include']?_[_0xce27('0x22')](_0xd9c655[_0xce27('0x1c')][_0xce27('0x21')],function(_0x1e0430){return{'model':db[_0x1e0430[_0xce27('0x23')]],'as':_0x1e0430['as'],'attributes':_0x1e0430[_0xce27('0x1f')],'include':_0x1e0430[_0xce27('0x21')]?_[_0xce27('0x22')](_0x1e0430['include'],function(_0x49c2ad){return{'model':db[_0x49c2ad[_0xce27('0x23')]],'as':_0x49c2ad['as'],'attributes':_0x49c2ad[_0xce27('0x1f')],'include':_0x49c2ad[_0xce27('0x21')]?_['map'](_0x49c2ad[_0xce27('0x21')],function(_0x12f51a){return{'model':db[_0x12f51a[_0xce27('0x23')]],'as':_0x12f51a['as'],'attributes':_0x12f51a[_0xce27('0x1f')]};}):[]};}):[]};}):[]:[]})[_0xce27('0xf')](function(_0x38c91d){logger[_0xce27('0x10')](_0xce27('0x25'),_0xd9c655);logger[_0xce27('0x13')](_0xce27('0x25'),_0xd9c655,JSON['stringify'](_0x38c91d));_0x1fa06b(_0x38c91d);})['catch'](function(_0x47e2c9){logger['error']('ShowSmsQueue',_0x47e2c9[_0xce27('0x16')],_0xd9c655);_0x2eb198(_0x477aef[_0xce27('0x14')](0x1f4,_0x47e2c9[_0xce27('0x16')]));});});}; \ No newline at end of file +var _0xadce=['ioredis','../../config/utils','rpc','jayson/promise','client','redis','localhost','socket.io-emitter','./smsQueue.socket','register','info','SmsQueue,\x20%s,\x20%s','request\x20sent','debug','SmsQueue,\x20%s,\x20%s,\x20%s','stringify','error','code','message','result','catch','GetSmsQueue','SmsQueue','findAll','options','raw','attributes','limit','include','map','model','ShowSmsQueue','where','lodash','util','bluebird','randomstring'];(function(_0x244dbd,_0x593273){var _0x3c3b9b=function(_0x2716bc){while(--_0x2716bc){_0x244dbd['push'](_0x244dbd['shift']());}};_0x3c3b9b(++_0x593273);}(_0xadce,0x1dd));var _0xeadc=function(_0xa8883,_0x1f107f){_0xa8883=_0xa8883-0x0;var _0x479426=_0xadce[_0xa8883];return _0x479426;};'use strict';var _=require(_0xeadc('0x0'));var util=require(_0xeadc('0x1'));var moment=require('moment');var BPromise=require(_0xeadc('0x2'));var rs=require(_0xeadc('0x3'));var fs=require('fs');var Redis=require(_0xeadc('0x4'));var db=require('../../mysqldb')['db'];var utils=require(_0xeadc('0x5'));var logger=require('../../config/logger')(_0xeadc('0x6'));var config=require('../../config/environment');var jayson=require(_0xeadc('0x7'));var client=jayson[_0xeadc('0x8')]['http']({'port':0x232a});config[_0xeadc('0x9')]=_['defaults'](config[_0xeadc('0x9')],{'host':_0xeadc('0xa'),'port':0x18eb});var socket=require(_0xeadc('0xb'))(new Redis(config[_0xeadc('0x9')]));require(_0xeadc('0xc'))[_0xeadc('0xd')](socket);function respondWithRpcPromise(_0x21533e,_0x5813f8,_0x245e07){return new BPromise(function(_0x1c93c8,_0x25a595){return client['request'](_0x21533e,_0x245e07)['then'](function(_0x4c94a1){logger[_0xeadc('0xe')](_0xeadc('0xf'),_0x5813f8,_0xeadc('0x10'));logger[_0xeadc('0x11')](_0xeadc('0x12'),_0x5813f8,'request\x20sent',JSON[_0xeadc('0x13')](_0x4c94a1));if(_0x4c94a1[_0xeadc('0x14')]){if(_0x4c94a1['error'][_0xeadc('0x15')]===0x1f4){logger[_0xeadc('0x14')]('SmsQueue,\x20%s,\x20%s',_0x5813f8,_0x4c94a1['error']['message']);return _0x25a595(_0x4c94a1[_0xeadc('0x14')][_0xeadc('0x16')]);}logger[_0xeadc('0x14')](_0xeadc('0xf'),_0x5813f8,_0x4c94a1[_0xeadc('0x14')][_0xeadc('0x16')]);return _0x1c93c8(_0x4c94a1[_0xeadc('0x14')]['message']);}else{logger[_0xeadc('0xe')](_0xeadc('0xf'),_0x5813f8,_0xeadc('0x10'));_0x1c93c8(_0x4c94a1[_0xeadc('0x17')][_0xeadc('0x16')]);}})[_0xeadc('0x18')](function(_0x11b40a){logger[_0xeadc('0x14')](_0xeadc('0xf'),_0x5813f8,_0x11b40a);_0x25a595(_0x11b40a);});});}exports[_0xeadc('0x19')]=function(_0x46ae16){var _0x11bfd7=this;return new Promise(function(_0x380730,_0x1c43ff){return db[_0xeadc('0x1a')][_0xeadc('0x1b')]({'raw':_0x46ae16['options']?_0x46ae16[_0xeadc('0x1c')][_0xeadc('0x1d')]===undefined?!![]:![]:!![],'where':_0x46ae16[_0xeadc('0x1c')]?_0x46ae16[_0xeadc('0x1c')]['where']||null:null,'attributes':_0x46ae16[_0xeadc('0x1c')]?_0x46ae16[_0xeadc('0x1c')][_0xeadc('0x1e')]||null:null,'limit':_0x46ae16[_0xeadc('0x1c')]?_0x46ae16[_0xeadc('0x1c')][_0xeadc('0x1f')]||null:null,'include':_0x46ae16[_0xeadc('0x1c')]?_0x46ae16[_0xeadc('0x1c')][_0xeadc('0x20')]?_[_0xeadc('0x21')](_0x46ae16[_0xeadc('0x1c')]['include'],function(_0x173db8){return{'model':db[_0x173db8[_0xeadc('0x22')]],'as':_0x173db8['as'],'attributes':_0x173db8[_0xeadc('0x1e')],'include':_0x173db8[_0xeadc('0x20')]?_[_0xeadc('0x21')](_0x173db8[_0xeadc('0x20')],function(_0x326931){return{'model':db[_0x326931[_0xeadc('0x22')]],'as':_0x326931['as'],'attributes':_0x326931[_0xeadc('0x1e')],'include':_0x326931[_0xeadc('0x20')]?_[_0xeadc('0x21')](_0x326931[_0xeadc('0x20')],function(_0x2023f2){return{'model':db[_0x2023f2[_0xeadc('0x22')]],'as':_0x2023f2['as'],'attributes':_0x2023f2[_0xeadc('0x1e')]};}):[]};}):[]};}):[]:[]})['then'](function(_0x2972e7){logger['info'](_0xeadc('0x19'),_0x46ae16);logger['debug'](_0xeadc('0x19'),_0x46ae16,JSON[_0xeadc('0x13')](_0x2972e7));_0x380730(_0x2972e7);})['catch'](function(_0x15a90e){logger[_0xeadc('0x14')](_0xeadc('0x19'),_0x15a90e[_0xeadc('0x16')],_0x46ae16);_0x1c43ff(_0x11bfd7['error'](0x1f4,_0x15a90e[_0xeadc('0x16')]));});});};exports[_0xeadc('0x23')]=function(_0x5ca4cf){var _0x1da4a7=this;return new Promise(function(_0x5cf060,_0x11484a){return db[_0xeadc('0x1a')]['find']({'raw':_0x5ca4cf[_0xeadc('0x1c')]?_0x5ca4cf['options']['raw']===undefined?!![]:![]:!![],'where':_0x5ca4cf[_0xeadc('0x1c')]?_0x5ca4cf['options'][_0xeadc('0x24')]||null:null,'attributes':_0x5ca4cf['options']?_0x5ca4cf['options'][_0xeadc('0x1e')]||null:null,'include':_0x5ca4cf['options']?_0x5ca4cf[_0xeadc('0x1c')][_0xeadc('0x20')]?_[_0xeadc('0x21')](_0x5ca4cf['options']['include'],function(_0x418222){return{'model':db[_0x418222[_0xeadc('0x22')]],'as':_0x418222['as'],'attributes':_0x418222[_0xeadc('0x1e')],'include':_0x418222[_0xeadc('0x20')]?_[_0xeadc('0x21')](_0x418222[_0xeadc('0x20')],function(_0x477836){return{'model':db[_0x477836[_0xeadc('0x22')]],'as':_0x477836['as'],'attributes':_0x477836[_0xeadc('0x1e')],'include':_0x477836[_0xeadc('0x20')]?_[_0xeadc('0x21')](_0x477836[_0xeadc('0x20')],function(_0xb02f82){return{'model':db[_0xb02f82[_0xeadc('0x22')]],'as':_0xb02f82['as'],'attributes':_0xb02f82[_0xeadc('0x1e')]};}):[]};}):[]};}):[]:[]})['then'](function(_0x419419){logger[_0xeadc('0xe')](_0xeadc('0x23'),_0x5ca4cf);logger[_0xeadc('0x11')](_0xeadc('0x23'),_0x5ca4cf,JSON['stringify'](_0x419419));_0x5cf060(_0x419419);})[_0xeadc('0x18')](function(_0x55dcdf){logger[_0xeadc('0x14')]('ShowSmsQueue',_0x55dcdf[_0xeadc('0x16')],_0x5ca4cf);_0x11484a(_0x1da4a7['error'](0x1f4,_0x55dcdf[_0xeadc('0x16')]));});});}; \ No newline at end of file diff --git a/server/api/smsQueue/smsQueue.socket.js b/server/api/smsQueue/smsQueue.socket.js index c7c80c1..eee3fbf 100644 --- a/server/api/smsQueue/smsQueue.socket.js +++ b/server/api/smsQueue/smsQueue.socket.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x8fb9=['register','length','smsQueue:','./smsQueue.events','save','emit','removeListener'];(function(_0x348daa,_0x596474){var _0xdd795d=function(_0xa5db85){while(--_0xa5db85){_0x348daa['push'](_0x348daa['shift']());}};_0xdd795d(++_0x596474);}(_0x8fb9,0x1bc));var _0x98fb=function(_0x2ef44b,_0x553359){_0x2ef44b=_0x2ef44b-0x0;var _0x2405b9=_0x8fb9[_0x2ef44b];return _0x2405b9;};'use strict';var SmsQueueEvents=require(_0x98fb('0x0'));var events=[_0x98fb('0x1'),'remove','update'];function createListener(_0x2804e4,_0x369a75){return function(_0xc3594){_0x369a75[_0x98fb('0x2')](_0x2804e4,_0xc3594);};}function removeListener(_0x12d369,_0xa6c280){return function(){SmsQueueEvents[_0x98fb('0x3')](_0x12d369,_0xa6c280);};}exports[_0x98fb('0x4')]=function(_0x40b1dd){for(var _0x5868be=0x0,_0x39afca=events[_0x98fb('0x5')];_0x5868be<_0x39afca;_0x5868be++){var _0x5e35f2=events[_0x5868be];var _0x11beb7=createListener(_0x98fb('0x6')+_0x5e35f2,_0x40b1dd);SmsQueueEvents['on'](_0x5e35f2,_0x11beb7);}}; \ No newline at end of file +var _0x336f=['removeListener','length','smsQueue:','./smsQueue.events','save','remove','update'];(function(_0x1f06ce,_0x45e9cb){var _0x328b5a=function(_0x3f85f7){while(--_0x3f85f7){_0x1f06ce['push'](_0x1f06ce['shift']());}};_0x328b5a(++_0x45e9cb);}(_0x336f,0x16f));var _0xf336=function(_0x327727,_0x5b2932){_0x327727=_0x327727-0x0;var _0x2abb69=_0x336f[_0x327727];return _0x2abb69;};'use strict';var SmsQueueEvents=require(_0xf336('0x0'));var events=[_0xf336('0x1'),_0xf336('0x2'),_0xf336('0x3')];function createListener(_0x3abbb8,_0x292687){return function(_0x517395){_0x292687['emit'](_0x3abbb8,_0x517395);};}function removeListener(_0x164377,_0x3e97e6){return function(){SmsQueueEvents[_0xf336('0x4')](_0x164377,_0x3e97e6);};}exports['register']=function(_0x56e275){for(var _0x46ad08=0x0,_0x26a229=events[_0xf336('0x5')];_0x46ad08<_0x26a229;_0x46ad08++){var _0x2f9364=events[_0x46ad08];var _0x4aae7a=createListener(_0xf336('0x6')+_0x2f9364,_0x56e275);SmsQueueEvents['on'](_0x2f9364,_0x4aae7a);}}; \ No newline at end of file diff --git a/server/api/smsQueueReport/index.js b/server/api/smsQueueReport/index.js index 4020b24..2dcccc1 100644 --- a/server/api/smsQueueReport/index.js +++ b/server/api/smsQueueReport/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xff24=['create','update','delete','destroy','exports','multer','util','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./smsQueueReport.controller','get','isAuthenticated','index','describe','/:id','show','post'];(function(_0x42ec9f,_0x59484a){var _0x5e8bd6=function(_0xb0008a){while(--_0xb0008a){_0x42ec9f['push'](_0x42ec9f['shift']());}};_0x5e8bd6(++_0x59484a);}(_0xff24,0xec));var _0x4ff2=function(_0x1542d3,_0x310689){_0x1542d3=_0x1542d3-0x0;var _0x57ce26=_0xff24[_0x1542d3];return _0x57ce26;};'use strict';var multer=require(_0x4ff2('0x0'));var util=require(_0x4ff2('0x1'));var path=require(_0x4ff2('0x2'));var timeout=require(_0x4ff2('0x3'));var express=require('express');var router=express[_0x4ff2('0x4')]();var auth=require(_0x4ff2('0x5'));var interaction=require(_0x4ff2('0x6'));var config=require(_0x4ff2('0x7'));var controller=require(_0x4ff2('0x8'));router[_0x4ff2('0x9')]('/',auth[_0x4ff2('0xa')](),controller[_0x4ff2('0xb')]);router[_0x4ff2('0x9')]('/describe',auth[_0x4ff2('0xa')](),controller[_0x4ff2('0xc')]);router[_0x4ff2('0x9')](_0x4ff2('0xd'),auth[_0x4ff2('0xa')](),controller[_0x4ff2('0xe')]);router[_0x4ff2('0xf')]('/',auth[_0x4ff2('0xa')](),controller[_0x4ff2('0x10')]);router['put']('/:id',auth[_0x4ff2('0xa')](),controller[_0x4ff2('0x11')]);router[_0x4ff2('0x12')](_0x4ff2('0xd'),auth[_0x4ff2('0xa')](),controller[_0x4ff2('0x13')]);module[_0x4ff2('0x14')]=router; \ No newline at end of file +var _0x3081=['../../components/interaction/service','../../config/environment','./smsQueueReport.controller','isAuthenticated','get','show','post','create','put','/:id','update','multer','util','path','connect-timeout','Router','../../components/auth/service'];(function(_0x4beb40,_0xd4471c){var _0x22c19b=function(_0x157443){while(--_0x157443){_0x4beb40['push'](_0x4beb40['shift']());}};_0x22c19b(++_0xd4471c);}(_0x3081,0x1d6));var _0x1308=function(_0xd8f710,_0x21e0b2){_0xd8f710=_0xd8f710-0x0;var _0x1d05aa=_0x3081[_0xd8f710];return _0x1d05aa;};'use strict';var multer=require(_0x1308('0x0'));var util=require(_0x1308('0x1'));var path=require(_0x1308('0x2'));var timeout=require(_0x1308('0x3'));var express=require('express');var router=express[_0x1308('0x4')]();var auth=require(_0x1308('0x5'));var interaction=require(_0x1308('0x6'));var config=require(_0x1308('0x7'));var controller=require(_0x1308('0x8'));router['get']('/',auth[_0x1308('0x9')](),controller['index']);router[_0x1308('0xa')]('/describe',auth[_0x1308('0x9')](),controller['describe']);router['get']('/:id',auth['isAuthenticated'](),controller[_0x1308('0xb')]);router[_0x1308('0xc')]('/',auth[_0x1308('0x9')](),controller[_0x1308('0xd')]);router[_0x1308('0xe')](_0x1308('0xf'),auth[_0x1308('0x9')](),controller[_0x1308('0x10')]);router['delete'](_0x1308('0xf'),auth[_0x1308('0x9')](),controller['destroy']);module['exports']=router; \ No newline at end of file diff --git a/server/api/smsQueueReport/smsQueueReport.attributes.js b/server/api/smsQueueReport/smsQueueReport.attributes.js index c208da8..54b461f 100644 --- a/server/api/smsQueueReport/smsQueueReport.attributes.js +++ b/server/api/smsQueueReport/smsQueueReport.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x6ad4=['sequelize','STRING','DATE','moment'];(function(_0x501510,_0x61caa9){var _0x1e6ee5=function(_0x32845b){while(--_0x32845b){_0x501510['push'](_0x501510['shift']());}};_0x1e6ee5(++_0x61caa9);}(_0x6ad4,0x19f));var _0x46ad=function(_0x3579da,_0x52f40f){_0x3579da=_0x3579da-0x0;var _0x59d55f=_0x6ad4[_0x3579da];return _0x59d55f;};'use strict';var moment=require(_0x46ad('0x0'));var Sequelize=require(_0x46ad('0x1'));module['exports']={'uniqueid':{'type':Sequelize[_0x46ad('0x2')],'allowNull':![]},'from':{'type':Sequelize[_0x46ad('0x2')]},'joinAt':{'type':Sequelize[_0x46ad('0x3')]},'leaveAt':{'type':Sequelize[_0x46ad('0x3')]},'acceptAt':{'type':Sequelize[_0x46ad('0x3')]},'exitAt':{'type':Sequelize[_0x46ad('0x3')]},'reason':{'type':Sequelize['STRING']}}; \ No newline at end of file +var _0x7887=['STRING','DATE','moment'];(function(_0x3b320e,_0x232e26){var _0x25108c=function(_0x28c6ec){while(--_0x28c6ec){_0x3b320e['push'](_0x3b320e['shift']());}};_0x25108c(++_0x232e26);}(_0x7887,0x116));var _0x7788=function(_0x119d4f,_0x18fd8d){_0x119d4f=_0x119d4f-0x0;var _0x7a8474=_0x7887[_0x119d4f];return _0x7a8474;};'use strict';var moment=require(_0x7788('0x0'));var Sequelize=require('sequelize');module['exports']={'uniqueid':{'type':Sequelize[_0x7788('0x1')],'allowNull':![]},'from':{'type':Sequelize['STRING']},'joinAt':{'type':Sequelize[_0x7788('0x2')]},'leaveAt':{'type':Sequelize['DATE']},'acceptAt':{'type':Sequelize[_0x7788('0x2')]},'exitAt':{'type':Sequelize[_0x7788('0x2')]},'reason':{'type':Sequelize['STRING']}}; \ No newline at end of file diff --git a/server/api/smsQueueReport/smsQueueReport.controller.js b/server/api/smsQueueReport/smsQueueReport.controller.js index 676945c..5228cb3 100644 --- a/server/api/smsQueueReport/smsQueueReport.controller.js +++ b/server/api/smsQueueReport/smsQueueReport.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x9957=['eml-format','rimraf','zip-dir','request-promise','moment','bluebird','mustache','path','sox','to-csv','ejs','lodash','squel','jsforce','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','api','../../config/utils','../../mysqldb','sendStatus','status','end','json','offset','limit','set','Content-Range','reject','save','then','destroy','error','stack','name','send','map','rawAttributes','fieldName','type','key','query','keys','filters','intersection','model','fields','attributes','pick','filter','where','merge','VIRTUAL','options','SmsQueueReport','count','includeAll','include','findAll','rows','show','find','catch','create','body','update','params','describe','html-pdf'];(function(_0x5e02cf,_0x118c03){var _0x1beca5=function(_0x4f1569){while(--_0x4f1569){_0x5e02cf['push'](_0x5e02cf['shift']());}};_0x1beca5(++_0x118c03);}(_0x9957,0x93));var _0x7995=function(_0x3947c9,_0x4d6c97){_0x3947c9=_0x3947c9-0x0;var _0x2e7871=_0x9957[_0x3947c9];return _0x2e7871;};'use strict';var pdf=require(_0x7995('0x0'));var emlformat=require(_0x7995('0x1'));var rimraf=require(_0x7995('0x2'));var zipdir=require(_0x7995('0x3'));var jsonpatch=require('fast-json-patch');var rp=require(_0x7995('0x4'));var moment=require(_0x7995('0x5'));var BPromise=require(_0x7995('0x6'));var Mustache=require(_0x7995('0x7'));var util=require('util');var path=require(_0x7995('0x8'));var sox=require(_0x7995('0x9'));var csv=require(_0x7995('0xa'));var ejs=require(_0x7995('0xb'));var fs=require('fs');var _=require(_0x7995('0xc'));var squel=require(_0x7995('0xd'));var crypto=require('crypto');var jsforce=require(_0x7995('0xe'));var deskjs=require(_0x7995('0xf'));var toCsv=require('to-csv');var querystring=require(_0x7995('0x10'));var Papa=require(_0x7995('0x11'));var Redis=require(_0x7995('0x12'));var authService=require(_0x7995('0x13'));var qs=require(_0x7995('0x14'));var as=require(_0x7995('0x15'));var hardwareService=require(_0x7995('0x16'));var logger=require('../../config/logger')(_0x7995('0x17'));var utils=require(_0x7995('0x18'));var config=require('../../config/environment');var db=require(_0x7995('0x19'))['db'];function respondWithStatusCode(_0x2cb37a,_0x19a27e){_0x19a27e=_0x19a27e||0xcc;return function(_0x385f00){if(_0x385f00){return _0x2cb37a[_0x7995('0x1a')](_0x19a27e);}return _0x2cb37a[_0x7995('0x1b')](_0x19a27e)[_0x7995('0x1c')]();};}function respondWithResult(_0x4cc004,_0x58f5ad){_0x58f5ad=_0x58f5ad||0xc8;return function(_0x2b4e94){if(_0x2b4e94){return _0x4cc004[_0x7995('0x1b')](_0x58f5ad)[_0x7995('0x1d')](_0x2b4e94);}};}function respondWithFilteredResult(_0x321ae8,_0x3f1d3e){return function(_0x1a5310){if(_0x1a5310){var _0x2202ce=_0x1a5310['count'],_0x41cbf0=_0x3f1d3e[_0x7995('0x1e')],_0x5377e5=_0x3f1d3e[_0x7995('0x1e')]+_0x3f1d3e[_0x7995('0x1f')],_0x2eeacc;if(_0x5377e5>=_0x2202ce){_0x5377e5=_0x2202ce;_0x2eeacc=0xc8;}else{_0x2eeacc=0xce;}_0x321ae8[_0x7995('0x1b')](_0x2eeacc);return _0x321ae8[_0x7995('0x20')](_0x7995('0x21'),_0x41cbf0+'-'+_0x5377e5+'/'+_0x2202ce)['json'](_0x1a5310);}return null;};}function patchUpdates(_0x54c9ae){return function(_0x2536c8){try{jsonpatch['apply'](_0x2536c8,_0x54c9ae,!![]);}catch(_0x555f74){return BPromise[_0x7995('0x22')](_0x555f74);}return _0x2536c8[_0x7995('0x23')]();};}function saveUpdates(_0x4cbe10,_0x3a9b54){return function(_0x51f276){if(_0x51f276){return _0x51f276['update'](_0x4cbe10)[_0x7995('0x24')](function(_0x327b1f){return _0x327b1f;});}return null;};}function removeEntity(_0x350fd9,_0x1a8568){return function(_0x460924){if(_0x460924){return _0x460924[_0x7995('0x25')]()['then'](function(){_0x350fd9[_0x7995('0x1b')](0xcc)[_0x7995('0x1c')]();});}};}function handleEntityNotFound(_0x204507,_0x285437){return function(_0x563799){if(!_0x563799){_0x204507[_0x7995('0x1a')](0x194);}return _0x563799;};}function handleError(_0x475351,_0x472195){_0x472195=_0x472195||0x1f4;return function(_0x59405a){logger[_0x7995('0x26')](_0x59405a[_0x7995('0x27')]);if(_0x59405a[_0x7995('0x28')]){delete _0x59405a[_0x7995('0x28')];}_0x475351[_0x7995('0x1b')](_0x472195)[_0x7995('0x29')](_0x59405a);};}exports['index']=function(_0x47625f,_0x5911c3){var _0x229742={},_0x49bc7e={},_0xf16cc2={'count':0x0,'rows':[]};var _0x132a42=_[_0x7995('0x2a')](db['SmsQueueReport'][_0x7995('0x2b')],function(_0x514445){return{'name':_0x514445[_0x7995('0x2c')],'type':_0x514445[_0x7995('0x2d')][_0x7995('0x2e')]};});_0x49bc7e['model']=_['map'](_0x132a42,'name');_0x49bc7e[_0x7995('0x2f')]=_[_0x7995('0x30')](_0x47625f[_0x7995('0x2f')]);_0x49bc7e[_0x7995('0x31')]=_[_0x7995('0x32')](_0x49bc7e[_0x7995('0x33')],_0x49bc7e['query']);_0x229742['attributes']=_[_0x7995('0x32')](_0x49bc7e['model'],qs[_0x7995('0x34')](_0x47625f[_0x7995('0x2f')][_0x7995('0x34')]));_0x229742[_0x7995('0x35')]=_0x229742[_0x7995('0x35')]['length']?_0x229742[_0x7995('0x35')]:_0x49bc7e[_0x7995('0x33')];if(!_0x47625f['query']['hasOwnProperty']('nolimit')){_0x229742[_0x7995('0x1f')]=qs[_0x7995('0x1f')](_0x47625f['query'][_0x7995('0x1f')]);_0x229742['offset']=qs[_0x7995('0x1e')](_0x47625f[_0x7995('0x2f')][_0x7995('0x1e')]);}_0x229742['order']=qs['sort'](_0x47625f[_0x7995('0x2f')]['sort']);_0x229742['where']=qs[_0x7995('0x31')](_[_0x7995('0x36')](_0x47625f['query'],_0x49bc7e[_0x7995('0x31')]),_0x132a42);if(_0x47625f[_0x7995('0x2f')][_0x7995('0x37')]){_0x229742[_0x7995('0x38')]=_[_0x7995('0x39')](_0x229742['where'],{'$or':_[_0x7995('0x2a')](_0x132a42,function(_0x242713){if(_0x242713[_0x7995('0x2d')]!==_0x7995('0x3a')){var _0x4b1541={};_0x4b1541[_0x242713[_0x7995('0x28')]]={'$like':'%'+_0x47625f[_0x7995('0x2f')][_0x7995('0x37')]+'%'};return _0x4b1541;}})});}_0x229742=_[_0x7995('0x39')]({},_0x229742,_0x47625f[_0x7995('0x3b')]);var _0x1035dc={'where':_0x229742['where']};return db[_0x7995('0x3c')][_0x7995('0x3d')](_0x1035dc)[_0x7995('0x24')](function(_0x2ea47f){_0xf16cc2[_0x7995('0x3d')]=_0x2ea47f;if(_0x47625f[_0x7995('0x2f')][_0x7995('0x3e')]){_0x229742[_0x7995('0x3f')]=[{'all':!![]}];}return db[_0x7995('0x3c')][_0x7995('0x40')](_0x229742);})[_0x7995('0x24')](function(_0x270d52){_0xf16cc2[_0x7995('0x41')]=_0x270d52;return _0xf16cc2;})['then'](respondWithFilteredResult(_0x5911c3,_0x229742))['catch'](handleError(_0x5911c3,null));};exports[_0x7995('0x42')]=function(_0x7325e8,_0x58523e){var _0x4b0855={'raw':!![],'where':{'id':_0x7325e8['params']['id']}},_0x3f8522={};_0x3f8522['model']=_[_0x7995('0x30')](db[_0x7995('0x3c')][_0x7995('0x2b')]);_0x3f8522['query']=_[_0x7995('0x30')](_0x7325e8['query']);_0x3f8522[_0x7995('0x31')]=_['intersection'](_0x3f8522['model'],_0x3f8522[_0x7995('0x2f')]);_0x4b0855[_0x7995('0x35')]=_[_0x7995('0x32')](_0x3f8522[_0x7995('0x33')],qs['fields'](_0x7325e8[_0x7995('0x2f')][_0x7995('0x34')]));_0x4b0855[_0x7995('0x35')]=_0x4b0855[_0x7995('0x35')]['length']?_0x4b0855['attributes']:_0x3f8522[_0x7995('0x33')];if(_0x7325e8['query'][_0x7995('0x3e')]){_0x4b0855['include']=[{'all':!![]}];}_0x4b0855=_[_0x7995('0x39')]({},_0x4b0855,_0x7325e8['options']);return db[_0x7995('0x3c')][_0x7995('0x43')](_0x4b0855)['then'](handleEntityNotFound(_0x58523e,null))[_0x7995('0x24')](respondWithResult(_0x58523e,null))[_0x7995('0x44')](handleError(_0x58523e,null));};exports[_0x7995('0x45')]=function(_0xb70a51,_0x4c6837){return db[_0x7995('0x3c')][_0x7995('0x45')](_0xb70a51[_0x7995('0x46')],{})['then'](respondWithResult(_0x4c6837,0xc9))[_0x7995('0x44')](handleError(_0x4c6837,null));};exports[_0x7995('0x47')]=function(_0x511567,_0x3d8ae3){if(_0x511567[_0x7995('0x46')]['id']){delete _0x511567['body']['id'];}return db[_0x7995('0x3c')][_0x7995('0x43')]({'where':{'id':_0x511567['params']['id']}})[_0x7995('0x24')](handleEntityNotFound(_0x3d8ae3,null))['then'](saveUpdates(_0x511567[_0x7995('0x46')],null))[_0x7995('0x24')](respondWithResult(_0x3d8ae3,null))[_0x7995('0x44')](handleError(_0x3d8ae3,null));};exports[_0x7995('0x25')]=function(_0xddf537,_0x14b537){return db[_0x7995('0x3c')]['find']({'where':{'id':_0xddf537[_0x7995('0x48')]['id']}})[_0x7995('0x24')](handleEntityNotFound(_0x14b537,null))[_0x7995('0x24')](removeEntity(_0x14b537,null))['catch'](handleError(_0x14b537,null));};exports[_0x7995('0x49')]=function(_0x1fe77e,_0x12d4b8){return db['SmsQueueReport']['describe']()['then'](respondWithResult(_0x12d4b8,null))[_0x7995('0x44')](handleError(_0x12d4b8,null));}; \ No newline at end of file +var _0x9957=['eml-format','rimraf','zip-dir','request-promise','moment','bluebird','mustache','path','sox','to-csv','ejs','lodash','squel','jsforce','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','api','../../config/utils','../../mysqldb','sendStatus','status','end','json','offset','limit','set','Content-Range','reject','save','then','destroy','error','stack','name','send','map','rawAttributes','fieldName','type','key','query','keys','filters','intersection','model','fields','attributes','pick','filter','where','merge','VIRTUAL','options','SmsQueueReport','count','includeAll','include','findAll','rows','show','find','catch','create','body','update','params','describe','html-pdf'];(function(_0x424e44,_0x402be9){var _0x49b69f=function(_0x2f751a){while(--_0x2f751a){_0x424e44['push'](_0x424e44['shift']());}};_0x49b69f(++_0x402be9);}(_0x9957,0x93));var _0x7995=function(_0x5b644e,_0x2e5e07){_0x5b644e=_0x5b644e-0x0;var _0x49c6bf=_0x9957[_0x5b644e];return _0x49c6bf;};'use strict';var pdf=require(_0x7995('0x0'));var emlformat=require(_0x7995('0x1'));var rimraf=require(_0x7995('0x2'));var zipdir=require(_0x7995('0x3'));var jsonpatch=require('fast-json-patch');var rp=require(_0x7995('0x4'));var moment=require(_0x7995('0x5'));var BPromise=require(_0x7995('0x6'));var Mustache=require(_0x7995('0x7'));var util=require('util');var path=require(_0x7995('0x8'));var sox=require(_0x7995('0x9'));var csv=require(_0x7995('0xa'));var ejs=require(_0x7995('0xb'));var fs=require('fs');var _=require(_0x7995('0xc'));var squel=require(_0x7995('0xd'));var crypto=require('crypto');var jsforce=require(_0x7995('0xe'));var deskjs=require(_0x7995('0xf'));var toCsv=require('to-csv');var querystring=require(_0x7995('0x10'));var Papa=require(_0x7995('0x11'));var Redis=require(_0x7995('0x12'));var authService=require(_0x7995('0x13'));var qs=require(_0x7995('0x14'));var as=require(_0x7995('0x15'));var hardwareService=require(_0x7995('0x16'));var logger=require('../../config/logger')(_0x7995('0x17'));var utils=require(_0x7995('0x18'));var config=require('../../config/environment');var db=require(_0x7995('0x19'))['db'];function respondWithStatusCode(_0x2cb37a,_0x19a27e){_0x19a27e=_0x19a27e||0xcc;return function(_0x385f00){if(_0x385f00){return _0x2cb37a[_0x7995('0x1a')](_0x19a27e);}return _0x2cb37a[_0x7995('0x1b')](_0x19a27e)[_0x7995('0x1c')]();};}function respondWithResult(_0x4cc004,_0x58f5ad){_0x58f5ad=_0x58f5ad||0xc8;return function(_0x2b4e94){if(_0x2b4e94){return _0x4cc004[_0x7995('0x1b')](_0x58f5ad)[_0x7995('0x1d')](_0x2b4e94);}};}function respondWithFilteredResult(_0x321ae8,_0x3f1d3e){return function(_0x1a5310){if(_0x1a5310){var _0x2202ce=_0x1a5310['count'],_0x41cbf0=_0x3f1d3e[_0x7995('0x1e')],_0x5377e5=_0x3f1d3e[_0x7995('0x1e')]+_0x3f1d3e[_0x7995('0x1f')],_0x2eeacc;if(_0x5377e5>=_0x2202ce){_0x5377e5=_0x2202ce;_0x2eeacc=0xc8;}else{_0x2eeacc=0xce;}_0x321ae8[_0x7995('0x1b')](_0x2eeacc);return _0x321ae8[_0x7995('0x20')](_0x7995('0x21'),_0x41cbf0+'-'+_0x5377e5+'/'+_0x2202ce)['json'](_0x1a5310);}return null;};}function patchUpdates(_0x54c9ae){return function(_0x2536c8){try{jsonpatch['apply'](_0x2536c8,_0x54c9ae,!![]);}catch(_0x555f74){return BPromise[_0x7995('0x22')](_0x555f74);}return _0x2536c8[_0x7995('0x23')]();};}function saveUpdates(_0x4cbe10,_0x3a9b54){return function(_0x51f276){if(_0x51f276){return _0x51f276['update'](_0x4cbe10)[_0x7995('0x24')](function(_0x327b1f){return _0x327b1f;});}return null;};}function removeEntity(_0x350fd9,_0x1a8568){return function(_0x460924){if(_0x460924){return _0x460924[_0x7995('0x25')]()['then'](function(){_0x350fd9[_0x7995('0x1b')](0xcc)[_0x7995('0x1c')]();});}};}function handleEntityNotFound(_0x204507,_0x285437){return function(_0x563799){if(!_0x563799){_0x204507[_0x7995('0x1a')](0x194);}return _0x563799;};}function handleError(_0x475351,_0x472195){_0x472195=_0x472195||0x1f4;return function(_0x59405a){logger[_0x7995('0x26')](_0x59405a[_0x7995('0x27')]);if(_0x59405a[_0x7995('0x28')]){delete _0x59405a[_0x7995('0x28')];}_0x475351[_0x7995('0x1b')](_0x472195)[_0x7995('0x29')](_0x59405a);};}exports['index']=function(_0x47625f,_0x5911c3){var _0x229742={},_0x49bc7e={},_0xf16cc2={'count':0x0,'rows':[]};var _0x132a42=_[_0x7995('0x2a')](db['SmsQueueReport'][_0x7995('0x2b')],function(_0x514445){return{'name':_0x514445[_0x7995('0x2c')],'type':_0x514445[_0x7995('0x2d')][_0x7995('0x2e')]};});_0x49bc7e['model']=_['map'](_0x132a42,'name');_0x49bc7e[_0x7995('0x2f')]=_[_0x7995('0x30')](_0x47625f[_0x7995('0x2f')]);_0x49bc7e[_0x7995('0x31')]=_[_0x7995('0x32')](_0x49bc7e[_0x7995('0x33')],_0x49bc7e['query']);_0x229742['attributes']=_[_0x7995('0x32')](_0x49bc7e['model'],qs[_0x7995('0x34')](_0x47625f[_0x7995('0x2f')][_0x7995('0x34')]));_0x229742[_0x7995('0x35')]=_0x229742[_0x7995('0x35')]['length']?_0x229742[_0x7995('0x35')]:_0x49bc7e[_0x7995('0x33')];if(!_0x47625f['query']['hasOwnProperty']('nolimit')){_0x229742[_0x7995('0x1f')]=qs[_0x7995('0x1f')](_0x47625f['query'][_0x7995('0x1f')]);_0x229742['offset']=qs[_0x7995('0x1e')](_0x47625f[_0x7995('0x2f')][_0x7995('0x1e')]);}_0x229742['order']=qs['sort'](_0x47625f[_0x7995('0x2f')]['sort']);_0x229742['where']=qs[_0x7995('0x31')](_[_0x7995('0x36')](_0x47625f['query'],_0x49bc7e[_0x7995('0x31')]),_0x132a42);if(_0x47625f[_0x7995('0x2f')][_0x7995('0x37')]){_0x229742[_0x7995('0x38')]=_[_0x7995('0x39')](_0x229742['where'],{'$or':_[_0x7995('0x2a')](_0x132a42,function(_0x242713){if(_0x242713[_0x7995('0x2d')]!==_0x7995('0x3a')){var _0x4b1541={};_0x4b1541[_0x242713[_0x7995('0x28')]]={'$like':'%'+_0x47625f[_0x7995('0x2f')][_0x7995('0x37')]+'%'};return _0x4b1541;}})});}_0x229742=_[_0x7995('0x39')]({},_0x229742,_0x47625f[_0x7995('0x3b')]);var _0x1035dc={'where':_0x229742['where']};return db[_0x7995('0x3c')][_0x7995('0x3d')](_0x1035dc)[_0x7995('0x24')](function(_0x2ea47f){_0xf16cc2[_0x7995('0x3d')]=_0x2ea47f;if(_0x47625f[_0x7995('0x2f')][_0x7995('0x3e')]){_0x229742[_0x7995('0x3f')]=[{'all':!![]}];}return db[_0x7995('0x3c')][_0x7995('0x40')](_0x229742);})[_0x7995('0x24')](function(_0x270d52){_0xf16cc2[_0x7995('0x41')]=_0x270d52;return _0xf16cc2;})['then'](respondWithFilteredResult(_0x5911c3,_0x229742))['catch'](handleError(_0x5911c3,null));};exports[_0x7995('0x42')]=function(_0x7325e8,_0x58523e){var _0x4b0855={'raw':!![],'where':{'id':_0x7325e8['params']['id']}},_0x3f8522={};_0x3f8522['model']=_[_0x7995('0x30')](db[_0x7995('0x3c')][_0x7995('0x2b')]);_0x3f8522['query']=_[_0x7995('0x30')](_0x7325e8['query']);_0x3f8522[_0x7995('0x31')]=_['intersection'](_0x3f8522['model'],_0x3f8522[_0x7995('0x2f')]);_0x4b0855[_0x7995('0x35')]=_[_0x7995('0x32')](_0x3f8522[_0x7995('0x33')],qs['fields'](_0x7325e8[_0x7995('0x2f')][_0x7995('0x34')]));_0x4b0855[_0x7995('0x35')]=_0x4b0855[_0x7995('0x35')]['length']?_0x4b0855['attributes']:_0x3f8522[_0x7995('0x33')];if(_0x7325e8['query'][_0x7995('0x3e')]){_0x4b0855['include']=[{'all':!![]}];}_0x4b0855=_[_0x7995('0x39')]({},_0x4b0855,_0x7325e8['options']);return db[_0x7995('0x3c')][_0x7995('0x43')](_0x4b0855)['then'](handleEntityNotFound(_0x58523e,null))[_0x7995('0x24')](respondWithResult(_0x58523e,null))[_0x7995('0x44')](handleError(_0x58523e,null));};exports[_0x7995('0x45')]=function(_0xb70a51,_0x4c6837){return db[_0x7995('0x3c')][_0x7995('0x45')](_0xb70a51[_0x7995('0x46')],{})['then'](respondWithResult(_0x4c6837,0xc9))[_0x7995('0x44')](handleError(_0x4c6837,null));};exports[_0x7995('0x47')]=function(_0x511567,_0x3d8ae3){if(_0x511567[_0x7995('0x46')]['id']){delete _0x511567['body']['id'];}return db[_0x7995('0x3c')][_0x7995('0x43')]({'where':{'id':_0x511567['params']['id']}})[_0x7995('0x24')](handleEntityNotFound(_0x3d8ae3,null))['then'](saveUpdates(_0x511567[_0x7995('0x46')],null))[_0x7995('0x24')](respondWithResult(_0x3d8ae3,null))[_0x7995('0x44')](handleError(_0x3d8ae3,null));};exports[_0x7995('0x25')]=function(_0xddf537,_0x14b537){return db[_0x7995('0x3c')]['find']({'where':{'id':_0xddf537[_0x7995('0x48')]['id']}})[_0x7995('0x24')](handleEntityNotFound(_0x14b537,null))[_0x7995('0x24')](removeEntity(_0x14b537,null))['catch'](handleError(_0x14b537,null));};exports[_0x7995('0x49')]=function(_0x1fe77e,_0x12d4b8){return db['SmsQueueReport']['describe']()['then'](respondWithResult(_0x12d4b8,null))[_0x7995('0x44')](handleError(_0x12d4b8,null));}; \ No newline at end of file diff --git a/server/api/smsQueueReport/smsQueueReport.model.js b/server/api/smsQueueReport/smsQueueReport.model.js index 969303e..09646c0 100644 --- a/server/api/smsQueueReport/smsQueueReport.model.js +++ b/server/api/smsQueueReport/smsQueueReport.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xbb6b=['request-promise','rimraf','exports','define','report_sms_queue','uniqueid','util','bluebird'];(function(_0x3e39a1,_0x5b759a){var _0x141866=function(_0x298d37){while(--_0x298d37){_0x3e39a1['push'](_0x3e39a1['shift']());}};_0x141866(++_0x5b759a);}(_0xbb6b,0x17e));var _0xbbb6=function(_0x3e7834,_0x4a3db7){_0x3e7834=_0x3e7834-0x0;var _0x59a8fd=_0xbb6b[_0x3e7834];return _0x59a8fd;};'use strict';var _=require('lodash');var util=require(_0xbbb6('0x0'));var logger=require('../../config/logger')('api');var moment=require('moment');var BPromise=require(_0xbbb6('0x1'));var rp=require(_0xbbb6('0x2'));var fs=require('fs');var path=require('path');var rimraf=require(_0xbbb6('0x3'));var config=require('../../config/environment');var attributes=require('./smsQueueReport.attributes');module[_0xbbb6('0x4')]=function(_0x10c79b,_0x38ddc0){return _0x10c79b[_0xbbb6('0x5')]('SmsQueueReport',attributes,{'tableName':_0xbbb6('0x6'),'paranoid':![],'indexes':[{'name':'uniqueid','fields':[_0xbbb6('0x7')]}],'timestamps':!![]});}; \ No newline at end of file +var _0xabd8=['bluebird','path','rimraf','../../config/environment','./smsQueueReport.attributes','exports','define','SmsQueueReport','report_sms_queue','uniqueid','api','moment'];(function(_0x2af688,_0x4f0cc1){var _0x11ab26=function(_0xd43eb8){while(--_0xd43eb8){_0x2af688['push'](_0x2af688['shift']());}};_0x11ab26(++_0x4f0cc1);}(_0xabd8,0x142));var _0x8abd=function(_0x5678b5,_0x1c4aa8){_0x5678b5=_0x5678b5-0x0;var _0x4c09a5=_0xabd8[_0x5678b5];return _0x4c09a5;};'use strict';var _=require('lodash');var util=require('util');var logger=require('../../config/logger')(_0x8abd('0x0'));var moment=require(_0x8abd('0x1'));var BPromise=require(_0x8abd('0x2'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x8abd('0x3'));var rimraf=require(_0x8abd('0x4'));var config=require(_0x8abd('0x5'));var attributes=require(_0x8abd('0x6'));module[_0x8abd('0x7')]=function(_0x840926,_0x2907b1){return _0x840926[_0x8abd('0x8')](_0x8abd('0x9'),attributes,{'tableName':_0x8abd('0xa'),'paranoid':![],'indexes':[{'name':_0x8abd('0xb'),'fields':[_0x8abd('0xb')]}],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/smsQueueReport/smsQueueReport.rpc.js b/server/api/smsQueueReport/smsQueueReport.rpc.js index 7f6490a..8e1939b 100644 --- a/server/api/smsQueueReport/smsQueueReport.rpc.js +++ b/server/api/smsQueueReport/smsQueueReport.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xff7f=['jayson/promise','http','request','then','info','request\x20sent','SmsQueueReport,\x20%s,\x20%s,\x20%s','stringify','error','code','message','SmsQueueReport,\x20%s,\x20%s','result','catch','CreateSmsQueueReport','SmsQueueReport','body','options','debug','UpdateSmsQueueReport','update','raw','where','attributes','lodash','util','moment','bluebird','randomstring','ioredis','../../mysqldb'];(function(_0x5c14f6,_0x2979d8){var _0x4949b3=function(_0xcc4206){while(--_0xcc4206){_0x5c14f6['push'](_0x5c14f6['shift']());}};_0x4949b3(++_0x2979d8);}(_0xff7f,0x1ab));var _0xfff7=function(_0x57b2a3,_0x386216){_0x57b2a3=_0x57b2a3-0x0;var _0x230966=_0xff7f[_0x57b2a3];return _0x230966;};'use strict';var _=require(_0xfff7('0x0'));var util=require(_0xfff7('0x1'));var moment=require(_0xfff7('0x2'));var BPromise=require(_0xfff7('0x3'));var rs=require(_0xfff7('0x4'));var fs=require('fs');var Redis=require(_0xfff7('0x5'));var db=require(_0xfff7('0x6'))['db'];var utils=require('../../config/utils');var logger=require('../../config/logger')('rpc');var config=require('../../config/environment');var jayson=require(_0xfff7('0x7'));var client=jayson['client'][_0xfff7('0x8')]({'port':0x232a});function respondWithRpcPromise(_0x1c587d,_0x48f67e,_0x167632){return new BPromise(function(_0x4c693c,_0x4a8b80){return client[_0xfff7('0x9')](_0x1c587d,_0x167632)[_0xfff7('0xa')](function(_0x547ba5){logger[_0xfff7('0xb')]('SmsQueueReport,\x20%s,\x20%s',_0x48f67e,_0xfff7('0xc'));logger['debug'](_0xfff7('0xd'),_0x48f67e,'request\x20sent',JSON[_0xfff7('0xe')](_0x547ba5));if(_0x547ba5[_0xfff7('0xf')]){if(_0x547ba5[_0xfff7('0xf')][_0xfff7('0x10')]===0x1f4){logger['error']('SmsQueueReport,\x20%s,\x20%s',_0x48f67e,_0x547ba5[_0xfff7('0xf')][_0xfff7('0x11')]);return _0x4a8b80(_0x547ba5[_0xfff7('0xf')][_0xfff7('0x11')]);}logger['error'](_0xfff7('0x12'),_0x48f67e,_0x547ba5[_0xfff7('0xf')][_0xfff7('0x11')]);return _0x4c693c(_0x547ba5[_0xfff7('0xf')][_0xfff7('0x11')]);}else{logger[_0xfff7('0xb')](_0xfff7('0x12'),_0x48f67e,'request\x20sent');_0x4c693c(_0x547ba5[_0xfff7('0x13')]['message']);}})[_0xfff7('0x14')](function(_0x35e65a){logger[_0xfff7('0xf')]('SmsQueueReport,\x20%s,\x20%s',_0x48f67e,_0x35e65a);_0x4a8b80(_0x35e65a);});});}exports[_0xfff7('0x15')]=function(_0x414c19){var _0xc88625=this;return new Promise(function(_0x52a9e0,_0x53bf13){return db[_0xfff7('0x16')]['create'](_0x414c19[_0xfff7('0x17')],{'raw':_0x414c19[_0xfff7('0x18')]?_0x414c19['options']['raw']===undefined?!![]:![]:!![]})['then'](function(_0x5dce7a){logger[_0xfff7('0xb')]('CreateSmsQueueReport',_0x414c19);logger[_0xfff7('0x19')](_0xfff7('0x15'),_0x414c19,JSON[_0xfff7('0xe')](_0x5dce7a));_0x52a9e0(_0x5dce7a);})[_0xfff7('0x14')](function(_0x59f509){logger['error'](_0xfff7('0x15'),_0x59f509[_0xfff7('0x11')],_0x414c19);_0x53bf13(_0xc88625[_0xfff7('0xf')](0x1f4,_0x59f509[_0xfff7('0x11')]));});});};exports[_0xfff7('0x1a')]=function(_0x3de015){var _0x5cc6c9=this;return new Promise(function(_0x57a86d,_0x37bf5d){return db[_0xfff7('0x16')][_0xfff7('0x1b')](_0x3de015[_0xfff7('0x17')],{'raw':_0x3de015['options']?_0x3de015[_0xfff7('0x18')][_0xfff7('0x1c')]===undefined?!![]:![]:!![],'individualHooks':!![],'where':_0x3de015[_0xfff7('0x18')]?_0x3de015[_0xfff7('0x18')][_0xfff7('0x1d')]||null:null,'attributes':_0x3de015['options']?_0x3de015[_0xfff7('0x18')][_0xfff7('0x1e')]||null:null,'limit':_0x3de015['options']?_0x3de015[_0xfff7('0x18')]['limit']||null:null})[_0xfff7('0xa')](function(_0x312399){logger[_0xfff7('0xb')](_0xfff7('0x1a'),_0x3de015);logger[_0xfff7('0x19')](_0xfff7('0x1a'),_0x3de015,JSON['stringify'](_0x312399));_0x57a86d(_0x312399);})[_0xfff7('0x14')](function(_0x553321){logger['error'](_0xfff7('0x1a'),_0x553321[_0xfff7('0x11')],_0x3de015);_0x37bf5d(_0x5cc6c9[_0xfff7('0xf')](0x1f4,_0x553321[_0xfff7('0x11')]));});});}; \ No newline at end of file +var _0x3d09=['randomstring','ioredis','../../mysqldb','../../config/utils','../../config/logger','../../config/environment','jayson/promise','client','http','request','then','SmsQueueReport,\x20%s,\x20%s','request\x20sent','debug','SmsQueueReport,\x20%s,\x20%s,\x20%s','stringify','error','message','info','result','SmsQueueReport','create','body','options','CreateSmsQueueReport','catch','UpdateSmsQueueReport','update','raw','attributes','limit','lodash','util','moment','bluebird'];(function(_0x326121,_0x10237b){var _0x5e37b1=function(_0x1c8338){while(--_0x1c8338){_0x326121['push'](_0x326121['shift']());}};_0x5e37b1(++_0x10237b);}(_0x3d09,0x1a0));var _0x93d0=function(_0x4cb9a9,_0x5c4eac){_0x4cb9a9=_0x4cb9a9-0x0;var _0x2397ca=_0x3d09[_0x4cb9a9];return _0x2397ca;};'use strict';var _=require(_0x93d0('0x0'));var util=require(_0x93d0('0x1'));var moment=require(_0x93d0('0x2'));var BPromise=require(_0x93d0('0x3'));var rs=require(_0x93d0('0x4'));var fs=require('fs');var Redis=require(_0x93d0('0x5'));var db=require(_0x93d0('0x6'))['db'];var utils=require(_0x93d0('0x7'));var logger=require(_0x93d0('0x8'))('rpc');var config=require(_0x93d0('0x9'));var jayson=require(_0x93d0('0xa'));var client=jayson[_0x93d0('0xb')][_0x93d0('0xc')]({'port':0x232a});function respondWithRpcPromise(_0x45b4a2,_0x3c78f6,_0x140f2e){return new BPromise(function(_0x470911,_0x39f9cc){return client[_0x93d0('0xd')](_0x45b4a2,_0x140f2e)[_0x93d0('0xe')](function(_0x5ee917){logger['info'](_0x93d0('0xf'),_0x3c78f6,_0x93d0('0x10'));logger[_0x93d0('0x11')](_0x93d0('0x12'),_0x3c78f6,_0x93d0('0x10'),JSON[_0x93d0('0x13')](_0x5ee917));if(_0x5ee917[_0x93d0('0x14')]){if(_0x5ee917[_0x93d0('0x14')]['code']===0x1f4){logger[_0x93d0('0x14')](_0x93d0('0xf'),_0x3c78f6,_0x5ee917[_0x93d0('0x14')]['message']);return _0x39f9cc(_0x5ee917['error'][_0x93d0('0x15')]);}logger[_0x93d0('0x14')](_0x93d0('0xf'),_0x3c78f6,_0x5ee917[_0x93d0('0x14')][_0x93d0('0x15')]);return _0x470911(_0x5ee917[_0x93d0('0x14')]['message']);}else{logger[_0x93d0('0x16')](_0x93d0('0xf'),_0x3c78f6,'request\x20sent');_0x470911(_0x5ee917[_0x93d0('0x17')][_0x93d0('0x15')]);}})['catch'](function(_0xb86858){logger[_0x93d0('0x14')](_0x93d0('0xf'),_0x3c78f6,_0xb86858);_0x39f9cc(_0xb86858);});});}exports['CreateSmsQueueReport']=function(_0x49f229){var _0x369ec4=this;return new Promise(function(_0x334df0,_0x3173ea){return db[_0x93d0('0x18')][_0x93d0('0x19')](_0x49f229[_0x93d0('0x1a')],{'raw':_0x49f229[_0x93d0('0x1b')]?_0x49f229[_0x93d0('0x1b')]['raw']===undefined?!![]:![]:!![]})[_0x93d0('0xe')](function(_0x222457){logger[_0x93d0('0x16')]('CreateSmsQueueReport',_0x49f229);logger[_0x93d0('0x11')](_0x93d0('0x1c'),_0x49f229,JSON[_0x93d0('0x13')](_0x222457));_0x334df0(_0x222457);})[_0x93d0('0x1d')](function(_0x11fdc1){logger[_0x93d0('0x14')](_0x93d0('0x1c'),_0x11fdc1[_0x93d0('0x15')],_0x49f229);_0x3173ea(_0x369ec4[_0x93d0('0x14')](0x1f4,_0x11fdc1[_0x93d0('0x15')]));});});};exports[_0x93d0('0x1e')]=function(_0x38dbf8){var _0x18d5e1=this;return new Promise(function(_0x41e1ec,_0x3c448d){return db['SmsQueueReport'][_0x93d0('0x1f')](_0x38dbf8[_0x93d0('0x1a')],{'raw':_0x38dbf8[_0x93d0('0x1b')]?_0x38dbf8[_0x93d0('0x1b')][_0x93d0('0x20')]===undefined?!![]:![]:!![],'individualHooks':!![],'where':_0x38dbf8[_0x93d0('0x1b')]?_0x38dbf8[_0x93d0('0x1b')]['where']||null:null,'attributes':_0x38dbf8[_0x93d0('0x1b')]?_0x38dbf8[_0x93d0('0x1b')][_0x93d0('0x21')]||null:null,'limit':_0x38dbf8[_0x93d0('0x1b')]?_0x38dbf8[_0x93d0('0x1b')][_0x93d0('0x22')]||null:null})[_0x93d0('0xe')](function(_0x2ed17c){logger[_0x93d0('0x16')](_0x93d0('0x1e'),_0x38dbf8);logger[_0x93d0('0x11')](_0x93d0('0x1e'),_0x38dbf8,JSON[_0x93d0('0x13')](_0x2ed17c));_0x41e1ec(_0x2ed17c);})[_0x93d0('0x1d')](function(_0x5666d3){logger[_0x93d0('0x14')](_0x93d0('0x1e'),_0x5666d3['message'],_0x38dbf8);_0x3c448d(_0x18d5e1[_0x93d0('0x14')](0x1f4,_0x5666d3[_0x93d0('0x15')]));});});}; \ No newline at end of file diff --git a/server/api/smsTransferReport/index.js b/server/api/smsTransferReport/index.js index 52d5b24..5960c7a 100644 --- a/server/api/smsTransferReport/index.js +++ b/server/api/smsTransferReport/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xda3f=['../../components/auth/service','../../config/environment','./smsTransferReport.controller','isAuthenticated','index','describe','get','/:id','show','post','create','put','delete','destroy','exports','util','path'];(function(_0x453b15,_0x17be03){var _0x2bdb45=function(_0x3bba5d){while(--_0x3bba5d){_0x453b15['push'](_0x453b15['shift']());}};_0x2bdb45(++_0x17be03);}(_0xda3f,0xec));var _0xfda3=function(_0x2a2ca6,_0x58a60e){_0x2a2ca6=_0x2a2ca6-0x0;var _0x29f003=_0xda3f[_0x2a2ca6];return _0x29f003;};'use strict';var multer=require('multer');var util=require(_0xfda3('0x0'));var path=require(_0xfda3('0x1'));var timeout=require('connect-timeout');var express=require('express');var router=express['Router']();var auth=require(_0xfda3('0x2'));var interaction=require('../../components/interaction/service');var config=require(_0xfda3('0x3'));var controller=require(_0xfda3('0x4'));router['get']('/',auth[_0xfda3('0x5')](),controller[_0xfda3('0x6')]);router['get']('/describe',auth[_0xfda3('0x5')](),controller[_0xfda3('0x7')]);router[_0xfda3('0x8')](_0xfda3('0x9'),auth[_0xfda3('0x5')](),controller[_0xfda3('0xa')]);router[_0xfda3('0xb')]('/',auth[_0xfda3('0x5')](),controller[_0xfda3('0xc')]);router[_0xfda3('0xd')](_0xfda3('0x9'),auth[_0xfda3('0x5')](),controller['update']);router[_0xfda3('0xe')](_0xfda3('0x9'),auth[_0xfda3('0x5')](),controller[_0xfda3('0xf')]);module[_0xfda3('0x10')]=router; \ No newline at end of file +var _0x4cf8=['connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./smsTransferReport.controller','get','isAuthenticated','/describe','describe','show','create','put','/:id','update','delete','destroy','exports','multer','util','path'];(function(_0x4f95bd,_0xefdd42){var _0x4519e9=function(_0x1d92d2){while(--_0x1d92d2){_0x4f95bd['push'](_0x4f95bd['shift']());}};_0x4519e9(++_0xefdd42);}(_0x4cf8,0x1e1));var _0x84cf=function(_0x17b0d4,_0x377add){_0x17b0d4=_0x17b0d4-0x0;var _0x2d02c7=_0x4cf8[_0x17b0d4];return _0x2d02c7;};'use strict';var multer=require(_0x84cf('0x0'));var util=require(_0x84cf('0x1'));var path=require(_0x84cf('0x2'));var timeout=require(_0x84cf('0x3'));var express=require(_0x84cf('0x4'));var router=express[_0x84cf('0x5')]();var auth=require(_0x84cf('0x6'));var interaction=require(_0x84cf('0x7'));var config=require(_0x84cf('0x8'));var controller=require(_0x84cf('0x9'));router[_0x84cf('0xa')]('/',auth[_0x84cf('0xb')](),controller['index']);router['get'](_0x84cf('0xc'),auth['isAuthenticated'](),controller[_0x84cf('0xd')]);router[_0x84cf('0xa')]('/:id',auth[_0x84cf('0xb')](),controller[_0x84cf('0xe')]);router['post']('/',auth[_0x84cf('0xb')](),controller[_0x84cf('0xf')]);router[_0x84cf('0x10')](_0x84cf('0x11'),auth['isAuthenticated'](),controller[_0x84cf('0x12')]);router[_0x84cf('0x13')]('/:id',auth['isAuthenticated'](),controller[_0x84cf('0x14')]);module[_0x84cf('0x15')]=router; \ No newline at end of file diff --git a/server/api/smsTransferReport/smsTransferReport.attributes.js b/server/api/smsTransferReport/smsTransferReport.attributes.js index 75b17c3..813ba1d 100644 --- a/server/api/smsTransferReport/smsTransferReport.attributes.js +++ b/server/api/smsTransferReport/smsTransferReport.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xd83e=['moment','sequelize','STRING','ENUM','account','agent','queue','DATE','NOW'];(function(_0x2a867a,_0x5826f7){var _0x53b258=function(_0x3d65c8){while(--_0x3d65c8){_0x2a867a['push'](_0x2a867a['shift']());}};_0x53b258(++_0x5826f7);}(_0xd83e,0x168));var _0xed83=function(_0x3ff021,_0x11c0e3){_0x3ff021=_0x3ff021-0x0;var _0x380754=_0xd83e[_0x3ff021];return _0x380754;};'use strict';var moment=require(_0xed83('0x0'));var Sequelize=require(_0xed83('0x1'));module['exports']={'uniqueid':{'type':Sequelize[_0xed83('0x2')],'allowNull':![]},'type':{'type':Sequelize[_0xed83('0x3')](_0xed83('0x4'),_0xed83('0x5'),_0xed83('0x6')),'allowNull':![],'defaultValue':_0xed83('0x6')},'transferredAt':{'type':Sequelize[_0xed83('0x7')],'allowNull':![],'defaultValue':Sequelize[_0xed83('0x8')]}}; \ No newline at end of file +var _0xdd19=['agent','queue','DATE','NOW','moment','sequelize','exports','ENUM','account'];(function(_0x33eb7f,_0x258991){var _0x131108=function(_0x4518d7){while(--_0x4518d7){_0x33eb7f['push'](_0x33eb7f['shift']());}};_0x131108(++_0x258991);}(_0xdd19,0x1cf));var _0x9dd1=function(_0x18ab2a,_0x4debcd){_0x18ab2a=_0x18ab2a-0x0;var _0x16dcee=_0xdd19[_0x18ab2a];return _0x16dcee;};'use strict';var moment=require(_0x9dd1('0x0'));var Sequelize=require(_0x9dd1('0x1'));module[_0x9dd1('0x2')]={'uniqueid':{'type':Sequelize['STRING'],'allowNull':![]},'type':{'type':Sequelize[_0x9dd1('0x3')](_0x9dd1('0x4'),_0x9dd1('0x5'),_0x9dd1('0x6')),'allowNull':![],'defaultValue':'queue'},'transferredAt':{'type':Sequelize[_0x9dd1('0x7')],'allowNull':![],'defaultValue':Sequelize[_0x9dd1('0x8')]}}; \ No newline at end of file diff --git a/server/api/smsTransferReport/smsTransferReport.controller.js b/server/api/smsTransferReport/smsTransferReport.controller.js index fde9f7b..766c0dc 100644 --- a/server/api/smsTransferReport/smsTransferReport.controller.js +++ b/server/api/smsTransferReport/smsTransferReport.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x0713=['../../components/parsers/advancedSearch','../../config/license/hardware','api','../../config/utils','../../config/environment','../../mysqldb','sendStatus','end','json','count','offset','limit','status','set','Content-Range','apply','reject','save','then','destroy','error','stack','name','send','index','map','SmsTransferReport','rawAttributes','fieldName','type','query','keys','filters','intersection','model','fields','attributes','length','hasOwnProperty','nolimit','order','sort','where','pick','filter','options','findAll','catch','show','params','includeAll','include','find','create','body','update','describe','rimraf','zip-dir','fast-json-patch','request-promise','moment','mustache','util','path','sox','to-csv','ejs','lodash','squel','crypto','jsforce','desk.js','querystring','ioredis','../../components/auth/service','../../components/parsers/qs'];(function(_0x225ae4,_0x1231a6){var _0x487b4a=function(_0x572e7b){while(--_0x572e7b){_0x225ae4['push'](_0x225ae4['shift']());}};_0x487b4a(++_0x1231a6);}(_0x0713,0x1ba));var _0x3071=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x0713[_0x3dd15e];return _0x231fd0;};'use strict';var pdf=require('html-pdf');var emlformat=require('eml-format');var rimraf=require(_0x3071('0x0'));var zipdir=require(_0x3071('0x1'));var jsonpatch=require(_0x3071('0x2'));var rp=require(_0x3071('0x3'));var moment=require(_0x3071('0x4'));var BPromise=require('bluebird');var Mustache=require(_0x3071('0x5'));var util=require(_0x3071('0x6'));var path=require(_0x3071('0x7'));var sox=require(_0x3071('0x8'));var csv=require(_0x3071('0x9'));var ejs=require(_0x3071('0xa'));var fs=require('fs');var _=require(_0x3071('0xb'));var squel=require(_0x3071('0xc'));var crypto=require(_0x3071('0xd'));var jsforce=require(_0x3071('0xe'));var deskjs=require(_0x3071('0xf'));var toCsv=require(_0x3071('0x9'));var querystring=require(_0x3071('0x10'));var Papa=require('papaparse');var Redis=require(_0x3071('0x11'));var authService=require(_0x3071('0x12'));var qs=require(_0x3071('0x13'));var as=require(_0x3071('0x14'));var hardwareService=require(_0x3071('0x15'));var logger=require('../../config/logger')(_0x3071('0x16'));var utils=require(_0x3071('0x17'));var config=require(_0x3071('0x18'));var db=require(_0x3071('0x19'))['db'];function respondWithStatusCode(_0xa0c1,_0x4a8cc7){_0x4a8cc7=_0x4a8cc7||0xcc;return function(_0x5330a8){if(_0x5330a8){return _0xa0c1[_0x3071('0x1a')](_0x4a8cc7);}return _0xa0c1['status'](_0x4a8cc7)[_0x3071('0x1b')]();};}function respondWithResult(_0x44fbae,_0x5d4883){_0x5d4883=_0x5d4883||0xc8;return function(_0x104e73){if(_0x104e73){return _0x44fbae['status'](_0x5d4883)[_0x3071('0x1c')](_0x104e73);}};}function respondWithFilteredResult(_0x45c93b,_0x1271d0){return function(_0x1f14e1){if(_0x1f14e1){var _0x1caa5d=_0x1f14e1[_0x3071('0x1d')],_0x2a6a4b=_0x1271d0[_0x3071('0x1e')],_0x157a47=_0x1271d0['offset']+_0x1271d0[_0x3071('0x1f')],_0x11bdc9;if(_0x157a47>=_0x1caa5d){_0x157a47=_0x1caa5d;_0x11bdc9=0xc8;}else{_0x11bdc9=0xce;}_0x45c93b[_0x3071('0x20')](_0x11bdc9);return _0x45c93b[_0x3071('0x21')](_0x3071('0x22'),_0x2a6a4b+'-'+_0x157a47+'/'+_0x1caa5d)[_0x3071('0x1c')](_0x1f14e1);}return null;};}function patchUpdates(_0x17aee2){return function(_0x105bbb){try{jsonpatch[_0x3071('0x23')](_0x105bbb,_0x17aee2,!![]);}catch(_0x502a16){return BPromise[_0x3071('0x24')](_0x502a16);}return _0x105bbb[_0x3071('0x25')]();};}function saveUpdates(_0xd3e23d,_0x56c267){return function(_0xb8f4e3){if(_0xb8f4e3){return _0xb8f4e3['update'](_0xd3e23d)[_0x3071('0x26')](function(_0x43128c){return _0x43128c;});}return null;};}function removeEntity(_0x3762d8,_0x457b57){return function(_0x33090c){if(_0x33090c){return _0x33090c[_0x3071('0x27')]()[_0x3071('0x26')](function(){_0x3762d8[_0x3071('0x20')](0xcc)['end']();});}};}function handleEntityNotFound(_0x481a51,_0x2ce48a){return function(_0xb05b1d){if(!_0xb05b1d){_0x481a51[_0x3071('0x1a')](0x194);}return _0xb05b1d;};}function handleError(_0x13df9f,_0x2793ef){_0x2793ef=_0x2793ef||0x1f4;return function(_0x44b45f){logger[_0x3071('0x28')](_0x44b45f[_0x3071('0x29')]);if(_0x44b45f[_0x3071('0x2a')]){delete _0x44b45f['name'];}_0x13df9f[_0x3071('0x20')](_0x2793ef)[_0x3071('0x2b')](_0x44b45f);};}exports[_0x3071('0x2c')]=function(_0x4d5c4b,_0x4fb1ca){var _0x28792d={},_0x163604={},_0x950fde={'count':0x0,'rows':[]};var _0x3fa3b8=_[_0x3071('0x2d')](db[_0x3071('0x2e')][_0x3071('0x2f')],function(_0x32f1b4){return{'name':_0x32f1b4[_0x3071('0x30')],'type':_0x32f1b4[_0x3071('0x31')]['key']};});_0x163604['model']=_[_0x3071('0x2d')](_0x3fa3b8,_0x3071('0x2a'));_0x163604[_0x3071('0x32')]=_[_0x3071('0x33')](_0x4d5c4b[_0x3071('0x32')]);_0x163604[_0x3071('0x34')]=_[_0x3071('0x35')](_0x163604[_0x3071('0x36')],_0x163604['query']);_0x28792d['attributes']=_['intersection'](_0x163604[_0x3071('0x36')],qs[_0x3071('0x37')](_0x4d5c4b['query'][_0x3071('0x37')]));_0x28792d[_0x3071('0x38')]=_0x28792d[_0x3071('0x38')][_0x3071('0x39')]?_0x28792d['attributes']:_0x163604[_0x3071('0x36')];if(!_0x4d5c4b[_0x3071('0x32')][_0x3071('0x3a')](_0x3071('0x3b'))){_0x28792d[_0x3071('0x1f')]=qs[_0x3071('0x1f')](_0x4d5c4b[_0x3071('0x32')][_0x3071('0x1f')]);_0x28792d['offset']=qs[_0x3071('0x1e')](_0x4d5c4b['query']['offset']);}_0x28792d[_0x3071('0x3c')]=qs[_0x3071('0x3d')](_0x4d5c4b['query'][_0x3071('0x3d')]);_0x28792d[_0x3071('0x3e')]=qs[_0x3071('0x34')](_[_0x3071('0x3f')](_0x4d5c4b[_0x3071('0x32')],_0x163604[_0x3071('0x34')]),_0x3fa3b8);if(_0x4d5c4b['query'][_0x3071('0x40')]){_0x28792d[_0x3071('0x3e')]=_['merge'](_0x28792d[_0x3071('0x3e')],{'$or':_['map'](_0x3fa3b8,function(_0x28f855){if(_0x28f855[_0x3071('0x31')]!=='VIRTUAL'){var _0x593c99={};_0x593c99[_0x28f855[_0x3071('0x2a')]]={'$like':'%'+_0x4d5c4b[_0x3071('0x32')][_0x3071('0x40')]+'%'};return _0x593c99;}})});}_0x28792d=_['merge']({},_0x28792d,_0x4d5c4b[_0x3071('0x41')]);var _0x534a77={'where':_0x28792d[_0x3071('0x3e')]};return db['SmsTransferReport'][_0x3071('0x1d')](_0x534a77)[_0x3071('0x26')](function(_0x1fcc52){_0x950fde[_0x3071('0x1d')]=_0x1fcc52;if(_0x4d5c4b[_0x3071('0x32')]['includeAll']){_0x28792d['include']=[{'all':!![]}];}return db[_0x3071('0x2e')][_0x3071('0x42')](_0x28792d);})[_0x3071('0x26')](function(_0x1f69a6){_0x950fde['rows']=_0x1f69a6;return _0x950fde;})[_0x3071('0x26')](respondWithFilteredResult(_0x4fb1ca,_0x28792d))[_0x3071('0x43')](handleError(_0x4fb1ca,null));};exports[_0x3071('0x44')]=function(_0x25c29f,_0x277104){var _0xb9a4b8={'raw':!![],'where':{'id':_0x25c29f[_0x3071('0x45')]['id']}},_0x56a9d8={};_0x56a9d8['model']=_['keys'](db['SmsTransferReport']['rawAttributes']);_0x56a9d8[_0x3071('0x32')]=_[_0x3071('0x33')](_0x25c29f[_0x3071('0x32')]);_0x56a9d8[_0x3071('0x34')]=_[_0x3071('0x35')](_0x56a9d8[_0x3071('0x36')],_0x56a9d8[_0x3071('0x32')]);_0xb9a4b8[_0x3071('0x38')]=_['intersection'](_0x56a9d8[_0x3071('0x36')],qs[_0x3071('0x37')](_0x25c29f[_0x3071('0x32')][_0x3071('0x37')]));_0xb9a4b8[_0x3071('0x38')]=_0xb9a4b8['attributes']['length']?_0xb9a4b8[_0x3071('0x38')]:_0x56a9d8[_0x3071('0x36')];if(_0x25c29f[_0x3071('0x32')][_0x3071('0x46')]){_0xb9a4b8[_0x3071('0x47')]=[{'all':!![]}];}_0xb9a4b8=_['merge']({},_0xb9a4b8,_0x25c29f[_0x3071('0x41')]);return db['SmsTransferReport'][_0x3071('0x48')](_0xb9a4b8)['then'](handleEntityNotFound(_0x277104,null))['then'](respondWithResult(_0x277104,null))[_0x3071('0x43')](handleError(_0x277104,null));};exports['create']=function(_0x1862ea,_0x5a0a69){return db[_0x3071('0x2e')][_0x3071('0x49')](_0x1862ea[_0x3071('0x4a')],{})[_0x3071('0x26')](respondWithResult(_0x5a0a69,0xc9))['catch'](handleError(_0x5a0a69,null));};exports[_0x3071('0x4b')]=function(_0x575c12,_0xd273ec){if(_0x575c12['body']['id']){delete _0x575c12[_0x3071('0x4a')]['id'];}return db[_0x3071('0x2e')]['find']({'where':{'id':_0x575c12[_0x3071('0x45')]['id']}})[_0x3071('0x26')](handleEntityNotFound(_0xd273ec,null))[_0x3071('0x26')](saveUpdates(_0x575c12[_0x3071('0x4a')],null))[_0x3071('0x26')](respondWithResult(_0xd273ec,null))[_0x3071('0x43')](handleError(_0xd273ec,null));};exports[_0x3071('0x27')]=function(_0x577060,_0x2c6e4c){return db[_0x3071('0x2e')][_0x3071('0x48')]({'where':{'id':_0x577060[_0x3071('0x45')]['id']}})['then'](handleEntityNotFound(_0x2c6e4c,null))[_0x3071('0x26')](removeEntity(_0x2c6e4c,null))[_0x3071('0x43')](handleError(_0x2c6e4c,null));};exports[_0x3071('0x4c')]=function(_0x2307dd,_0x22aade){return db[_0x3071('0x2e')][_0x3071('0x4c')]()[_0x3071('0x26')](respondWithResult(_0x22aade,null))[_0x3071('0x43')](handleError(_0x22aade,null));}; \ No newline at end of file +var _0xedd9=['update','then','destroy','error','stack','send','index','map','rawAttributes','fieldName','type','model','name','query','keys','filters','intersection','attributes','fields','length','hasOwnProperty','nolimit','order','sort','pick','where','merge','VIRTUAL','SmsTransferReport','includeAll','catch','show','params','include','options','create','body','find','describe','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','mustache','path','sox','to-csv','ejs','squel','jsforce','desk.js','querystring','ioredis','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/logger','api','../../config/environment','../../mysqldb','sendStatus','status','end','json','count','offset','limit','Content-Range','reject'];(function(_0x352dad,_0x265984){var _0x2c138b=function(_0x556ec0){while(--_0x556ec0){_0x352dad['push'](_0x352dad['shift']());}};_0x2c138b(++_0x265984);}(_0xedd9,0xfc));var _0x9edd=function(_0x2d3a8c,_0x5f4f76){_0x2d3a8c=_0x2d3a8c-0x0;var _0x95bfa9=_0xedd9[_0x2d3a8c];return _0x95bfa9;};'use strict';var pdf=require('html-pdf');var emlformat=require(_0x9edd('0x0'));var rimraf=require(_0x9edd('0x1'));var zipdir=require(_0x9edd('0x2'));var jsonpatch=require(_0x9edd('0x3'));var rp=require(_0x9edd('0x4'));var moment=require(_0x9edd('0x5'));var BPromise=require(_0x9edd('0x6'));var Mustache=require(_0x9edd('0x7'));var util=require('util');var path=require(_0x9edd('0x8'));var sox=require(_0x9edd('0x9'));var csv=require(_0x9edd('0xa'));var ejs=require(_0x9edd('0xb'));var fs=require('fs');var _=require('lodash');var squel=require(_0x9edd('0xc'));var crypto=require('crypto');var jsforce=require(_0x9edd('0xd'));var deskjs=require(_0x9edd('0xe'));var toCsv=require(_0x9edd('0xa'));var querystring=require(_0x9edd('0xf'));var Papa=require('papaparse');var Redis=require(_0x9edd('0x10'));var authService=require('../../components/auth/service');var qs=require(_0x9edd('0x11'));var as=require(_0x9edd('0x12'));var hardwareService=require('../../config/license/hardware');var logger=require(_0x9edd('0x13'))(_0x9edd('0x14'));var utils=require('../../config/utils');var config=require(_0x9edd('0x15'));var db=require(_0x9edd('0x16'))['db'];function respondWithStatusCode(_0x25e64c,_0xfd544a){_0xfd544a=_0xfd544a||0xcc;return function(_0x287ddd){if(_0x287ddd){return _0x25e64c[_0x9edd('0x17')](_0xfd544a);}return _0x25e64c[_0x9edd('0x18')](_0xfd544a)[_0x9edd('0x19')]();};}function respondWithResult(_0x47eb64,_0x176bfa){_0x176bfa=_0x176bfa||0xc8;return function(_0x44fc7c){if(_0x44fc7c){return _0x47eb64[_0x9edd('0x18')](_0x176bfa)[_0x9edd('0x1a')](_0x44fc7c);}};}function respondWithFilteredResult(_0x13b6b6,_0x338f3c){return function(_0x1042aa){if(_0x1042aa){var _0x75a4ab=_0x1042aa[_0x9edd('0x1b')],_0x4ea60f=_0x338f3c['offset'],_0x5f5bf4=_0x338f3c[_0x9edd('0x1c')]+_0x338f3c[_0x9edd('0x1d')],_0x448996;if(_0x5f5bf4>=_0x75a4ab){_0x5f5bf4=_0x75a4ab;_0x448996=0xc8;}else{_0x448996=0xce;}_0x13b6b6[_0x9edd('0x18')](_0x448996);return _0x13b6b6['set'](_0x9edd('0x1e'),_0x4ea60f+'-'+_0x5f5bf4+'/'+_0x75a4ab)['json'](_0x1042aa);}return null;};}function patchUpdates(_0x2cdcef){return function(_0x1083e4){try{jsonpatch['apply'](_0x1083e4,_0x2cdcef,!![]);}catch(_0x498977){return BPromise[_0x9edd('0x1f')](_0x498977);}return _0x1083e4['save']();};}function saveUpdates(_0x27a95a,_0x54a03f){return function(_0x535f37){if(_0x535f37){return _0x535f37[_0x9edd('0x20')](_0x27a95a)[_0x9edd('0x21')](function(_0x4fb7bf){return _0x4fb7bf;});}return null;};}function removeEntity(_0x5823bc,_0x341d67){return function(_0x186186){if(_0x186186){return _0x186186[_0x9edd('0x22')]()['then'](function(){_0x5823bc[_0x9edd('0x18')](0xcc)[_0x9edd('0x19')]();});}};}function handleEntityNotFound(_0x44a6c1,_0x2ca65f){return function(_0x339a0d){if(!_0x339a0d){_0x44a6c1['sendStatus'](0x194);}return _0x339a0d;};}function handleError(_0x46c383,_0xeaf55a){_0xeaf55a=_0xeaf55a||0x1f4;return function(_0x3a1ea5){logger[_0x9edd('0x23')](_0x3a1ea5[_0x9edd('0x24')]);if(_0x3a1ea5['name']){delete _0x3a1ea5['name'];}_0x46c383[_0x9edd('0x18')](_0xeaf55a)[_0x9edd('0x25')](_0x3a1ea5);};}exports[_0x9edd('0x26')]=function(_0x25e135,_0x3c2227){var _0x4fe471={},_0x57a2cc={},_0x214d0a={'count':0x0,'rows':[]};var _0x257a26=_[_0x9edd('0x27')](db['SmsTransferReport'][_0x9edd('0x28')],function(_0x28cfae){return{'name':_0x28cfae[_0x9edd('0x29')],'type':_0x28cfae[_0x9edd('0x2a')]['key']};});_0x57a2cc[_0x9edd('0x2b')]=_[_0x9edd('0x27')](_0x257a26,_0x9edd('0x2c'));_0x57a2cc[_0x9edd('0x2d')]=_[_0x9edd('0x2e')](_0x25e135[_0x9edd('0x2d')]);_0x57a2cc[_0x9edd('0x2f')]=_[_0x9edd('0x30')](_0x57a2cc[_0x9edd('0x2b')],_0x57a2cc[_0x9edd('0x2d')]);_0x4fe471[_0x9edd('0x31')]=_[_0x9edd('0x30')](_0x57a2cc[_0x9edd('0x2b')],qs[_0x9edd('0x32')](_0x25e135[_0x9edd('0x2d')]['fields']));_0x4fe471[_0x9edd('0x31')]=_0x4fe471[_0x9edd('0x31')][_0x9edd('0x33')]?_0x4fe471['attributes']:_0x57a2cc[_0x9edd('0x2b')];if(!_0x25e135[_0x9edd('0x2d')][_0x9edd('0x34')](_0x9edd('0x35'))){_0x4fe471[_0x9edd('0x1d')]=qs[_0x9edd('0x1d')](_0x25e135[_0x9edd('0x2d')][_0x9edd('0x1d')]);_0x4fe471[_0x9edd('0x1c')]=qs[_0x9edd('0x1c')](_0x25e135[_0x9edd('0x2d')][_0x9edd('0x1c')]);}_0x4fe471[_0x9edd('0x36')]=qs[_0x9edd('0x37')](_0x25e135['query'][_0x9edd('0x37')]);_0x4fe471['where']=qs[_0x9edd('0x2f')](_[_0x9edd('0x38')](_0x25e135[_0x9edd('0x2d')],_0x57a2cc[_0x9edd('0x2f')]),_0x257a26);if(_0x25e135[_0x9edd('0x2d')]['filter']){_0x4fe471[_0x9edd('0x39')]=_[_0x9edd('0x3a')](_0x4fe471[_0x9edd('0x39')],{'$or':_[_0x9edd('0x27')](_0x257a26,function(_0x1be77f){if(_0x1be77f[_0x9edd('0x2a')]!==_0x9edd('0x3b')){var _0x1cbbac={};_0x1cbbac[_0x1be77f[_0x9edd('0x2c')]]={'$like':'%'+_0x25e135[_0x9edd('0x2d')]['filter']+'%'};return _0x1cbbac;}})});}_0x4fe471=_[_0x9edd('0x3a')]({},_0x4fe471,_0x25e135['options']);var _0x3ef1d5={'where':_0x4fe471['where']};return db[_0x9edd('0x3c')][_0x9edd('0x1b')](_0x3ef1d5)[_0x9edd('0x21')](function(_0x479661){_0x214d0a[_0x9edd('0x1b')]=_0x479661;if(_0x25e135[_0x9edd('0x2d')][_0x9edd('0x3d')]){_0x4fe471['include']=[{'all':!![]}];}return db[_0x9edd('0x3c')]['findAll'](_0x4fe471);})[_0x9edd('0x21')](function(_0xfbc492){_0x214d0a['rows']=_0xfbc492;return _0x214d0a;})[_0x9edd('0x21')](respondWithFilteredResult(_0x3c2227,_0x4fe471))[_0x9edd('0x3e')](handleError(_0x3c2227,null));};exports[_0x9edd('0x3f')]=function(_0x810331,_0x492900){var _0x449f01={'raw':!![],'where':{'id':_0x810331[_0x9edd('0x40')]['id']}},_0x5bbdf8={};_0x5bbdf8[_0x9edd('0x2b')]=_['keys'](db[_0x9edd('0x3c')]['rawAttributes']);_0x5bbdf8['query']=_[_0x9edd('0x2e')](_0x810331[_0x9edd('0x2d')]);_0x5bbdf8[_0x9edd('0x2f')]=_[_0x9edd('0x30')](_0x5bbdf8[_0x9edd('0x2b')],_0x5bbdf8[_0x9edd('0x2d')]);_0x449f01[_0x9edd('0x31')]=_[_0x9edd('0x30')](_0x5bbdf8[_0x9edd('0x2b')],qs[_0x9edd('0x32')](_0x810331[_0x9edd('0x2d')][_0x9edd('0x32')]));_0x449f01[_0x9edd('0x31')]=_0x449f01[_0x9edd('0x31')][_0x9edd('0x33')]?_0x449f01['attributes']:_0x5bbdf8[_0x9edd('0x2b')];if(_0x810331[_0x9edd('0x2d')][_0x9edd('0x3d')]){_0x449f01[_0x9edd('0x41')]=[{'all':!![]}];}_0x449f01=_[_0x9edd('0x3a')]({},_0x449f01,_0x810331[_0x9edd('0x42')]);return db[_0x9edd('0x3c')]['find'](_0x449f01)['then'](handleEntityNotFound(_0x492900,null))['then'](respondWithResult(_0x492900,null))[_0x9edd('0x3e')](handleError(_0x492900,null));};exports['create']=function(_0x8b1fdb,_0x19b56b){return db[_0x9edd('0x3c')][_0x9edd('0x43')](_0x8b1fdb[_0x9edd('0x44')],{})['then'](respondWithResult(_0x19b56b,0xc9))[_0x9edd('0x3e')](handleError(_0x19b56b,null));};exports[_0x9edd('0x20')]=function(_0x40e33d,_0x4a89ae){if(_0x40e33d[_0x9edd('0x44')]['id']){delete _0x40e33d[_0x9edd('0x44')]['id'];}return db[_0x9edd('0x3c')][_0x9edd('0x45')]({'where':{'id':_0x40e33d[_0x9edd('0x40')]['id']}})[_0x9edd('0x21')](handleEntityNotFound(_0x4a89ae,null))['then'](saveUpdates(_0x40e33d[_0x9edd('0x44')],null))[_0x9edd('0x21')](respondWithResult(_0x4a89ae,null))['catch'](handleError(_0x4a89ae,null));};exports[_0x9edd('0x22')]=function(_0x8d8701,_0x4bb324){return db[_0x9edd('0x3c')][_0x9edd('0x45')]({'where':{'id':_0x8d8701[_0x9edd('0x40')]['id']}})['then'](handleEntityNotFound(_0x4bb324,null))[_0x9edd('0x21')](removeEntity(_0x4bb324,null))[_0x9edd('0x3e')](handleError(_0x4bb324,null));};exports[_0x9edd('0x46')]=function(_0x28c7bd,_0x53f6e3){return db[_0x9edd('0x3c')][_0x9edd('0x46')]()[_0x9edd('0x21')](respondWithResult(_0x53f6e3,null))['catch'](handleError(_0x53f6e3,null));}; \ No newline at end of file diff --git a/server/api/smsTransferReport/smsTransferReport.model.js b/server/api/smsTransferReport/smsTransferReport.model.js index 2caa4ee..92cd2d7 100644 --- a/server/api/smsTransferReport/smsTransferReport.model.js +++ b/server/api/smsTransferReport/smsTransferReport.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xe3da=['moment','bluebird','request-promise','path','rimraf','../../config/environment','./smsTransferReport.attributes','exports','define','SmsTransferReport','uniqueid','lodash','util','../../config/logger','api'];(function(_0x431508,_0x2fb3a3){var _0x45b527=function(_0x24cc49){while(--_0x24cc49){_0x431508['push'](_0x431508['shift']());}};_0x45b527(++_0x2fb3a3);}(_0xe3da,0x1cd));var _0xae3d=function(_0x19950b,_0x53d0d7){_0x19950b=_0x19950b-0x0;var _0x3c6b41=_0xe3da[_0x19950b];return _0x3c6b41;};'use strict';var _=require(_0xae3d('0x0'));var util=require(_0xae3d('0x1'));var logger=require(_0xae3d('0x2'))(_0xae3d('0x3'));var moment=require(_0xae3d('0x4'));var BPromise=require(_0xae3d('0x5'));var rp=require(_0xae3d('0x6'));var fs=require('fs');var path=require(_0xae3d('0x7'));var rimraf=require(_0xae3d('0x8'));var config=require(_0xae3d('0x9'));var attributes=require(_0xae3d('0xa'));module[_0xae3d('0xb')]=function(_0xa9a1a,_0xa54808){return _0xa9a1a[_0xae3d('0xc')](_0xae3d('0xd'),attributes,{'tableName':'report_sms_transfer','paranoid':![],'indexes':[{'name':_0xae3d('0xe'),'fields':[_0xae3d('0xe')]}],'timestamps':!![]});}; \ No newline at end of file +var _0x326f=['api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./smsTransferReport.attributes','exports','define','SmsTransferReport','report_sms_transfer','uniqueid','lodash'];(function(_0x264521,_0x4b26fd){var _0x1f5c5a=function(_0x264c38){while(--_0x264c38){_0x264521['push'](_0x264521['shift']());}};_0x1f5c5a(++_0x4b26fd);}(_0x326f,0xd1));var _0xf326=function(_0x3f1a9e,_0x6d120c){_0x3f1a9e=_0x3f1a9e-0x0;var _0x1ee1f4=_0x326f[_0x3f1a9e];return _0x1ee1f4;};'use strict';var _=require(_0xf326('0x0'));var util=require('util');var logger=require('../../config/logger')(_0xf326('0x1'));var moment=require(_0xf326('0x2'));var BPromise=require(_0xf326('0x3'));var rp=require(_0xf326('0x4'));var fs=require('fs');var path=require(_0xf326('0x5'));var rimraf=require(_0xf326('0x6'));var config=require(_0xf326('0x7'));var attributes=require(_0xf326('0x8'));module[_0xf326('0x9')]=function(_0x3ace29,_0x4c2249){return _0x3ace29[_0xf326('0xa')](_0xf326('0xb'),attributes,{'tableName':_0xf326('0xc'),'paranoid':![],'indexes':[{'name':_0xf326('0xd'),'fields':['uniqueid']}],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/smsTransferReport/smsTransferReport.rpc.js b/server/api/smsTransferReport/smsTransferReport.rpc.js index 74614aa..bc05fb5 100644 --- a/server/api/smsTransferReport/smsTransferReport.rpc.js +++ b/server/api/smsTransferReport/smsTransferReport.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x9b38=['util','moment','bluebird','ioredis','../../mysqldb','../../config/utils','../../config/environment','jayson/promise','client','http','request','then','info','SmsTransferReport,\x20%s,\x20%s','request\x20sent','debug','stringify','error','code','message','catch','lodash'];(function(_0x1b27e1,_0x39e47d){var _0x123897=function(_0x1950dc){while(--_0x1950dc){_0x1b27e1['push'](_0x1b27e1['shift']());}};_0x123897(++_0x39e47d);}(_0x9b38,0x1a1));var _0x89b3=function(_0x1f52ac,_0x5a21af){_0x1f52ac=_0x1f52ac-0x0;var _0x1bb1cf=_0x9b38[_0x1f52ac];return _0x1bb1cf;};'use strict';var _=require(_0x89b3('0x0'));var util=require(_0x89b3('0x1'));var moment=require(_0x89b3('0x2'));var BPromise=require(_0x89b3('0x3'));var rs=require('randomstring');var fs=require('fs');var Redis=require(_0x89b3('0x4'));var db=require(_0x89b3('0x5'))['db'];var utils=require(_0x89b3('0x6'));var logger=require('../../config/logger')('rpc');var config=require(_0x89b3('0x7'));var jayson=require(_0x89b3('0x8'));var client=jayson[_0x89b3('0x9')][_0x89b3('0xa')]({'port':0x232a});function respondWithRpcPromise(_0x19bc28,_0x5172da,_0x2e2752){return new BPromise(function(_0x23a0a0,_0x54b46f){return client[_0x89b3('0xb')](_0x19bc28,_0x2e2752)[_0x89b3('0xc')](function(_0x55c2b1){logger[_0x89b3('0xd')](_0x89b3('0xe'),_0x5172da,_0x89b3('0xf'));logger[_0x89b3('0x10')]('SmsTransferReport,\x20%s,\x20%s,\x20%s',_0x5172da,_0x89b3('0xf'),JSON[_0x89b3('0x11')](_0x55c2b1));if(_0x55c2b1[_0x89b3('0x12')]){if(_0x55c2b1[_0x89b3('0x12')][_0x89b3('0x13')]===0x1f4){logger[_0x89b3('0x12')](_0x89b3('0xe'),_0x5172da,_0x55c2b1[_0x89b3('0x12')][_0x89b3('0x14')]);return _0x54b46f(_0x55c2b1[_0x89b3('0x12')][_0x89b3('0x14')]);}logger[_0x89b3('0x12')](_0x89b3('0xe'),_0x5172da,_0x55c2b1[_0x89b3('0x12')]['message']);return _0x23a0a0(_0x55c2b1[_0x89b3('0x12')][_0x89b3('0x14')]);}else{logger[_0x89b3('0xd')]('SmsTransferReport,\x20%s,\x20%s',_0x5172da,_0x89b3('0xf'));_0x23a0a0(_0x55c2b1['result'][_0x89b3('0x14')]);}})[_0x89b3('0x15')](function(_0x57ca07){logger[_0x89b3('0x12')]('SmsTransferReport,\x20%s,\x20%s',_0x5172da,_0x57ca07);_0x54b46f(_0x57ca07);});});} \ No newline at end of file +var _0xc246=['code','message','result','catch','util','bluebird','../../mysqldb','../../config/logger','../../config/environment','client','http','request','then','info','SmsTransferReport,\x20%s,\x20%s','request\x20sent','debug','SmsTransferReport,\x20%s,\x20%s,\x20%s','stringify','error'];(function(_0x5418ad,_0x40742f){var _0x2cae56=function(_0x36d317){while(--_0x36d317){_0x5418ad['push'](_0x5418ad['shift']());}};_0x2cae56(++_0x40742f);}(_0xc246,0xe0));var _0x6c24=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xc246[_0x3dd15e];return _0x231fd0;};'use strict';var _=require('lodash');var util=require(_0x6c24('0x0'));var moment=require('moment');var BPromise=require(_0x6c24('0x1'));var rs=require('randomstring');var fs=require('fs');var Redis=require('ioredis');var db=require(_0x6c24('0x2'))['db'];var utils=require('../../config/utils');var logger=require(_0x6c24('0x3'))('rpc');var config=require(_0x6c24('0x4'));var jayson=require('jayson/promise');var client=jayson[_0x6c24('0x5')][_0x6c24('0x6')]({'port':0x232a});function respondWithRpcPromise(_0x12c682,_0x185aaa,_0x238207){return new BPromise(function(_0x3b02cd,_0x1d8fc7){return client[_0x6c24('0x7')](_0x12c682,_0x238207)[_0x6c24('0x8')](function(_0x25d9d0){logger[_0x6c24('0x9')](_0x6c24('0xa'),_0x185aaa,_0x6c24('0xb'));logger[_0x6c24('0xc')](_0x6c24('0xd'),_0x185aaa,_0x6c24('0xb'),JSON[_0x6c24('0xe')](_0x25d9d0));if(_0x25d9d0[_0x6c24('0xf')]){if(_0x25d9d0[_0x6c24('0xf')][_0x6c24('0x10')]===0x1f4){logger[_0x6c24('0xf')](_0x6c24('0xa'),_0x185aaa,_0x25d9d0[_0x6c24('0xf')][_0x6c24('0x11')]);return _0x1d8fc7(_0x25d9d0[_0x6c24('0xf')]['message']);}logger[_0x6c24('0xf')](_0x6c24('0xa'),_0x185aaa,_0x25d9d0[_0x6c24('0xf')][_0x6c24('0x11')]);return _0x3b02cd(_0x25d9d0[_0x6c24('0xf')][_0x6c24('0x11')]);}else{logger[_0x6c24('0x9')](_0x6c24('0xa'),_0x185aaa,_0x6c24('0xb'));_0x3b02cd(_0x25d9d0[_0x6c24('0x12')][_0x6c24('0x11')]);}})[_0x6c24('0x13')](function(_0x5b9794){logger[_0x6c24('0xf')]('SmsTransferReport,\x20%s,\x20%s',_0x185aaa,_0x5b9794);_0x1d8fc7(_0x5b9794);});});} \ No newline at end of file diff --git a/server/api/sound/index.js b/server/api/sound/index.js index b813b61..e03ce9e 100644 --- a/server/api/sound/index.js +++ b/server/api/sound/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xb54c=['join','server/files/sounds/original/','originalname','format','%s-%s%s','basename','extname','post','file','create','put','update','delete','exports','multer','util','path','express','../../components/interaction/service','../../config/environment','./sound.controller','get','isAuthenticated','/:id','download'];(function(_0x40f4d3,_0x2c163c){var _0x342be1=function(_0x26c186){while(--_0x26c186){_0x40f4d3['push'](_0x40f4d3['shift']());}};_0x342be1(++_0x2c163c);}(_0xb54c,0x1e9));var _0xcb54=function(_0x38ac8e,_0x4b9217){_0x38ac8e=_0x38ac8e-0x0;var _0x309857=_0xb54c[_0x38ac8e];return _0x309857;};'use strict';var multer=require(_0xcb54('0x0'));var util=require(_0xcb54('0x1'));var path=require(_0xcb54('0x2'));var timeout=require('connect-timeout');var express=require(_0xcb54('0x3'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require(_0xcb54('0x4'));var config=require(_0xcb54('0x5'));var controller=require(_0xcb54('0x6'));router[_0xcb54('0x7')]('/',auth[_0xcb54('0x8')](),controller['index']);router[_0xcb54('0x7')](_0xcb54('0x9'),auth['isAuthenticated'](),controller['show']);router['get']('/:id/download',auth['isAuthenticated'](),controller[_0xcb54('0xa')]);var upload=multer({'storage':multer['diskStorage']({'destination':function(_0x4ea0ef,_0x6dab7d,_0x38b535){_0x38b535(null,path[_0xcb54('0xb')](config['root'],_0xcb54('0xc')));},'filename':function(_0x39336a,_0x29d0d9,_0x421973){_0x29d0d9[_0xcb54('0xd')]=_0x29d0d9[_0xcb54('0xd')]['replace'](/[+@&\/\\#,+()$~%'":*?<>{}\s\\|]/g,'-');_0x421973(null,util[_0xcb54('0xe')](_0xcb54('0xf'),path[_0xcb54('0x10')](_0x29d0d9[_0xcb54('0xd')],path['extname'](_0x29d0d9['originalname'])),Date['now'](),path[_0xcb54('0x11')](_0x29d0d9[_0xcb54('0xd')])));}})});router[_0xcb54('0x12')]('/',upload['single'](_0xcb54('0x13')),controller[_0xcb54('0x14')]);router[_0xcb54('0x15')](_0xcb54('0x9'),auth['isAuthenticated'](),controller[_0xcb54('0x16')]);router['delete'](_0xcb54('0x9'),auth[_0xcb54('0x8')](),controller[_0xcb54('0x17')]);module[_0xcb54('0x18')]=router; \ No newline at end of file +var _0x80f3=['replace','format','%s-%s%s','basename','now','post','single','file','create','put','update','delete','exports','multer','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','./sound.controller','get','index','/:id','show','/:id/download','isAuthenticated','download','join','root','server/files/sounds/original/','originalname'];(function(_0x184bbd,_0x201941){var _0x143e99=function(_0x263e2b){while(--_0x263e2b){_0x184bbd['push'](_0x184bbd['shift']());}};_0x143e99(++_0x201941);}(_0x80f3,0xc7));var _0x380f=function(_0x3f553b,_0x49a9c2){_0x3f553b=_0x3f553b-0x0;var _0x183c4e=_0x80f3[_0x3f553b];return _0x183c4e;};'use strict';var multer=require(_0x380f('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x380f('0x1'));var express=require(_0x380f('0x2'));var router=express[_0x380f('0x3')]();var auth=require(_0x380f('0x4'));var interaction=require(_0x380f('0x5'));var config=require('../../config/environment');var controller=require(_0x380f('0x6'));router[_0x380f('0x7')]('/',auth['isAuthenticated'](),controller[_0x380f('0x8')]);router[_0x380f('0x7')](_0x380f('0x9'),auth['isAuthenticated'](),controller[_0x380f('0xa')]);router[_0x380f('0x7')](_0x380f('0xb'),auth[_0x380f('0xc')](),controller[_0x380f('0xd')]);var upload=multer({'storage':multer['diskStorage']({'destination':function(_0x2972a6,_0x51774f,_0x4d2405){_0x4d2405(null,path[_0x380f('0xe')](config[_0x380f('0xf')],_0x380f('0x10')));},'filename':function(_0x7a1874,_0x41a52b,_0x35fd31){_0x41a52b[_0x380f('0x11')]=_0x41a52b[_0x380f('0x11')][_0x380f('0x12')](/[+@&\/\\#,+()$~%'":*?<>{}\s\\|]/g,'-');_0x35fd31(null,util[_0x380f('0x13')](_0x380f('0x14'),path[_0x380f('0x15')](_0x41a52b[_0x380f('0x11')],path['extname'](_0x41a52b[_0x380f('0x11')])),Date[_0x380f('0x16')](),path['extname'](_0x41a52b[_0x380f('0x11')])));}})});router[_0x380f('0x17')]('/',upload[_0x380f('0x18')](_0x380f('0x19')),controller[_0x380f('0x1a')]);router[_0x380f('0x1b')](_0x380f('0x9'),auth[_0x380f('0xc')](),controller[_0x380f('0x1c')]);router[_0x380f('0x1d')](_0x380f('0x9'),auth[_0x380f('0xc')](),controller[_0x380f('0x1d')]);module[_0x380f('0x1e')]=router; \ No newline at end of file diff --git a/server/api/sound/sound.attributes.js b/server/api/sound/sound.attributes.js index 9dd7f46..9c20854 100644 --- a/server/api/sound/sound.attributes.js +++ b/server/api/sound/sound.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x482c=['sequelize','name','STRING','FLOAT','BIGINT','INTEGER'];(function(_0x1f4cf0,_0x513ea1){var _0x7d6acc=function(_0x44d196){while(--_0x44d196){_0x1f4cf0['push'](_0x1f4cf0['shift']());}};_0x7d6acc(++_0x513ea1);}(_0x482c,0xf0));var _0xc482=function(_0x23e7c1,_0x35110c){_0x23e7c1=_0x23e7c1-0x0;var _0x1add43=_0x482c[_0x23e7c1];return _0x1add43;};'use strict';var Sequelize=require(_0xc482('0x0'));module['exports']={'name':{'type':Sequelize['STRING'],'unique':_0xc482('0x1'),'allowNull':![]},'save_name':{'type':Sequelize[_0xc482('0x2')]},'display_name':{'type':Sequelize[_0xc482('0x2')],'defaultValue':''},'description':{'type':Sequelize['STRING']},'original_format':{'type':Sequelize[_0xc482('0x2')]},'original_duration':{'type':Sequelize[_0xc482('0x3')]},'original_sampleCount':{'type':Sequelize[_0xc482('0x4')]},'original_channelCount':{'type':Sequelize[_0xc482('0x5')]},'original_bitRate':{'type':Sequelize[_0xc482('0x4')]},'original_sampleRate':{'type':Sequelize['INTEGER']},'converted_format':{'type':Sequelize[_0xc482('0x2')]},'converted_duration':{'type':Sequelize[_0xc482('0x3')]},'converted_sampleCount':{'type':Sequelize[_0xc482('0x4')]},'converted_channelCount':{'type':Sequelize[_0xc482('0x5')]},'converted_bitRate':{'type':Sequelize[_0xc482('0x4')]},'converted_sampleRate':{'type':Sequelize['INTEGER']}}; \ No newline at end of file +var _0xdc7d=['STRING','name','BIGINT','INTEGER','exports'];(function(_0x4167f0,_0x12981d){var _0x59335a=function(_0xc9ff53){while(--_0xc9ff53){_0x4167f0['push'](_0x4167f0['shift']());}};_0x59335a(++_0x12981d);}(_0xdc7d,0x72));var _0xddc7=function(_0x22b76a,_0x57c5a4){_0x22b76a=_0x22b76a-0x0;var _0x5c8bd5=_0xdc7d[_0x22b76a];return _0x5c8bd5;};'use strict';var Sequelize=require('sequelize');module[_0xddc7('0x0')]={'name':{'type':Sequelize[_0xddc7('0x1')],'unique':_0xddc7('0x2'),'allowNull':![]},'save_name':{'type':Sequelize[_0xddc7('0x1')]},'display_name':{'type':Sequelize['STRING'],'defaultValue':''},'description':{'type':Sequelize[_0xddc7('0x1')]},'original_format':{'type':Sequelize[_0xddc7('0x1')]},'original_duration':{'type':Sequelize['FLOAT']},'original_sampleCount':{'type':Sequelize[_0xddc7('0x3')]},'original_channelCount':{'type':Sequelize['INTEGER']},'original_bitRate':{'type':Sequelize[_0xddc7('0x3')]},'original_sampleRate':{'type':Sequelize[_0xddc7('0x4')]},'converted_format':{'type':Sequelize[_0xddc7('0x1')]},'converted_duration':{'type':Sequelize['FLOAT']},'converted_sampleCount':{'type':Sequelize['BIGINT']},'converted_channelCount':{'type':Sequelize[_0xddc7('0x4')]},'converted_bitRate':{'type':Sequelize[_0xddc7('0x3')]},'converted_sampleRate':{'type':Sequelize[_0xddc7('0x4')]}}; \ No newline at end of file diff --git a/server/api/sound/sound.controller.js b/server/api/sound/sound.controller.js index c587f61..23f289e 100644 --- a/server/api/sound/sound.controller.js +++ b/server/api/sound/sound.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x57c9=['filters','intersection','fields','attributes','length','hasOwnProperty','nolimit','offset','order','sort','where','pick','merge','type','VIRTUAL','filter','options','includeAll','include','rows','catch','show','params','rawAttributes','find','download','save_name','converted_format','existsSync','join','root','Sequelize','Sound\x20not\x20found','server/files/sounds/converted','format','%s.%s','create','basename','file','extname','filename','originalname','substring','wav','Sound\x20upload\x20filepath:\x20%s','info','Sound\x20upload\x20destination:\x20%s','chmodSync','0777','transcode','original_duration','duration','original_sampleCount','sampleCount','original_channelCount','channelCount','bitRate','original_sampleRate','sampleRate','dest','converted_duration','converted_sampleCount','converted_channelCount','converted_sampleRate','body','role','userProfileId','Unable\x20to\x20retrieve\x20the\x20current\x20user','user','get','UserProfileSection','autoAssociation','UserProfileResource','error','start','update','description','delete','server/files/sounds/original','original_format','unlinkSync','html-pdf','zip-dir','fast-json-patch','request-promise','bluebird','util','path','ejs','lodash','squel','crypto','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','api','../../config/utils','../../config/environment','sendStatus','status','end','json','count','limit','set','apply','reject','save','then','destroy','Sounds','stack','name','send','index','map','Sound','fieldName','key','model','keys','query'];(function(_0x52e363,_0x48062a){var _0x3fc2b5=function(_0x1b0cf9){while(--_0x1b0cf9){_0x52e363['push'](_0x52e363['shift']());}};_0x3fc2b5(++_0x48062a);}(_0x57c9,0x1ce));var _0x957c=function(_0x1facfa,_0x1acf7d){_0x1facfa=_0x1facfa-0x0;var _0x9ec701=_0x57c9[_0x1facfa];return _0x9ec701;};'use strict';var pdf=require(_0x957c('0x0'));var emlformat=require('eml-format');var rimraf=require('rimraf');var zipdir=require(_0x957c('0x1'));var jsonpatch=require(_0x957c('0x2'));var rp=require(_0x957c('0x3'));var moment=require('moment');var BPromise=require(_0x957c('0x4'));var Mustache=require('mustache');var util=require(_0x957c('0x5'));var path=require(_0x957c('0x6'));var sox=require('sox');var csv=require('to-csv');var ejs=require(_0x957c('0x7'));var fs=require('fs');var _=require(_0x957c('0x8'));var squel=require(_0x957c('0x9'));var crypto=require(_0x957c('0xa'));var jsforce=require('jsforce');var deskjs=require(_0x957c('0xb'));var toCsv=require('to-csv');var querystring=require(_0x957c('0xc'));var Papa=require(_0x957c('0xd'));var Redis=require(_0x957c('0xe'));var authService=require(_0x957c('0xf'));var qs=require(_0x957c('0x10'));var as=require(_0x957c('0x11'));var hardwareService=require(_0x957c('0x12'));var logger=require('../../config/logger')(_0x957c('0x13'));var utils=require(_0x957c('0x14'));var config=require(_0x957c('0x15'));var db=require('../../mysqldb')['db'];function respondWithStatusCode(_0x83b853,_0x482228){_0x482228=_0x482228||0xcc;return function(_0x1317b7){if(_0x1317b7){return _0x83b853[_0x957c('0x16')](_0x482228);}return _0x83b853[_0x957c('0x17')](_0x482228)[_0x957c('0x18')]();};}function respondWithResult(_0x4e346c,_0x57b613){_0x57b613=_0x57b613||0xc8;return function(_0x39b963){if(_0x39b963){return _0x4e346c[_0x957c('0x17')](_0x57b613)[_0x957c('0x19')](_0x39b963);}};}function respondWithFilteredResult(_0x2b4577,_0x2d91c4){return function(_0x4943b2){if(_0x4943b2){var _0x21d94f=_0x4943b2[_0x957c('0x1a')],_0x7f1525=_0x2d91c4['offset'],_0xfd2bb7=_0x2d91c4['offset']+_0x2d91c4[_0x957c('0x1b')],_0x1b584e;if(_0xfd2bb7>=_0x21d94f){_0xfd2bb7=_0x21d94f;_0x1b584e=0xc8;}else{_0x1b584e=0xce;}_0x2b4577[_0x957c('0x17')](_0x1b584e);return _0x2b4577[_0x957c('0x1c')]('Content-Range',_0x7f1525+'-'+_0xfd2bb7+'/'+_0x21d94f)[_0x957c('0x19')](_0x4943b2);}return null;};}function patchUpdates(_0x54f0b9){return function(_0x24c900){try{jsonpatch[_0x957c('0x1d')](_0x24c900,_0x54f0b9,!![]);}catch(_0x415633){return BPromise[_0x957c('0x1e')](_0x415633);}return _0x24c900[_0x957c('0x1f')]();};}function saveUpdates(_0xafd83c,_0x1aec8e){return function(_0x133f5b){if(_0x133f5b){return _0x133f5b['update'](_0xafd83c)[_0x957c('0x20')](function(_0x18aa0d){return _0x18aa0d;});}return null;};}function removeEntity(_0x51a66c,_0x578c17){return function(_0x4790c6){if(_0x4790c6){return _0x4790c6[_0x957c('0x21')]()[_0x957c('0x20')](function(){var _0x2003b6=_0x4790c6['get']({'plain':!![]});var _0x4c6262=_0x957c('0x22');return db['UserProfileResource'][_0x957c('0x21')]({'where':{'type':_0x4c6262,'resourceId':_0x2003b6['id']}})[_0x957c('0x20')](function(){return _0x4790c6;});})['then'](function(){_0x51a66c['status'](0xcc)[_0x957c('0x18')]();});}};}function handleEntityNotFound(_0x15aa15,_0x37d9e4){return function(_0xd0ed85){if(!_0xd0ed85){_0x15aa15[_0x957c('0x16')](0x194);}return _0xd0ed85;};}function handleError(_0x397cd9,_0x45ed54){_0x45ed54=_0x45ed54||0x1f4;return function(_0x64d634){logger['error'](_0x64d634[_0x957c('0x23')]);if(_0x64d634['name']){delete _0x64d634[_0x957c('0x24')];}_0x397cd9[_0x957c('0x17')](_0x45ed54)[_0x957c('0x25')](_0x64d634);};}exports[_0x957c('0x26')]=function(_0xd13271,_0x1bf2c4){var _0x319e86={},_0x180a8d={},_0xdb1b69={'count':0x0,'rows':[]};var _0x5e723c=_[_0x957c('0x27')](db[_0x957c('0x28')]['rawAttributes'],function(_0x1e16e9){return{'name':_0x1e16e9[_0x957c('0x29')],'type':_0x1e16e9['type'][_0x957c('0x2a')]};});_0x180a8d[_0x957c('0x2b')]=_[_0x957c('0x27')](_0x5e723c,_0x957c('0x24'));_0x180a8d['query']=_[_0x957c('0x2c')](_0xd13271[_0x957c('0x2d')]);_0x180a8d[_0x957c('0x2e')]=_[_0x957c('0x2f')](_0x180a8d[_0x957c('0x2b')],_0x180a8d['query']);_0x319e86['attributes']=_['intersection'](_0x180a8d[_0x957c('0x2b')],qs[_0x957c('0x30')](_0xd13271[_0x957c('0x2d')][_0x957c('0x30')]));_0x319e86['attributes']=_0x319e86[_0x957c('0x31')][_0x957c('0x32')]?_0x319e86['attributes']:_0x180a8d[_0x957c('0x2b')];if(!_0xd13271[_0x957c('0x2d')][_0x957c('0x33')](_0x957c('0x34'))){_0x319e86[_0x957c('0x1b')]=qs[_0x957c('0x1b')](_0xd13271[_0x957c('0x2d')][_0x957c('0x1b')]);_0x319e86[_0x957c('0x35')]=qs[_0x957c('0x35')](_0xd13271[_0x957c('0x2d')]['offset']);}_0x319e86[_0x957c('0x36')]=qs['sort'](_0xd13271[_0x957c('0x2d')][_0x957c('0x37')]);_0x319e86[_0x957c('0x38')]=qs[_0x957c('0x2e')](_[_0x957c('0x39')](_0xd13271[_0x957c('0x2d')],_0x180a8d[_0x957c('0x2e')]),_0x5e723c);if(_0xd13271['query']['filter']){_0x319e86[_0x957c('0x38')]=_[_0x957c('0x3a')](_0x319e86[_0x957c('0x38')],{'$or':_[_0x957c('0x27')](_0x5e723c,function(_0x5d88ac){if(_0x5d88ac[_0x957c('0x3b')]!==_0x957c('0x3c')){var _0x2384e3={};_0x2384e3[_0x5d88ac[_0x957c('0x24')]]={'$like':'%'+_0xd13271[_0x957c('0x2d')][_0x957c('0x3d')]+'%'};return _0x2384e3;}})});}_0x319e86=_[_0x957c('0x3a')]({},_0x319e86,_0xd13271[_0x957c('0x3e')]);var _0x3e6d25={'where':_0x319e86[_0x957c('0x38')]};return db[_0x957c('0x28')][_0x957c('0x1a')](_0x3e6d25)['then'](function(_0xeafe28){_0xdb1b69[_0x957c('0x1a')]=_0xeafe28;if(_0xd13271[_0x957c('0x2d')][_0x957c('0x3f')]){_0x319e86[_0x957c('0x40')]=[{'all':!![]}];}return db[_0x957c('0x28')]['findAll'](_0x319e86);})['then'](function(_0x3bba6e){_0xdb1b69[_0x957c('0x41')]=_0x3bba6e;return _0xdb1b69;})[_0x957c('0x20')](respondWithFilteredResult(_0x1bf2c4,_0x319e86))[_0x957c('0x42')](handleError(_0x1bf2c4,null));};exports[_0x957c('0x43')]=function(_0xe052b8,_0x3974ab){var _0x351a20={'raw':!![],'where':{'id':_0xe052b8[_0x957c('0x44')]['id']}},_0x1c0d80={};_0x1c0d80['model']=_[_0x957c('0x2c')](db[_0x957c('0x28')][_0x957c('0x45')]);_0x1c0d80[_0x957c('0x2d')]=_['keys'](_0xe052b8['query']);_0x1c0d80[_0x957c('0x2e')]=_['intersection'](_0x1c0d80[_0x957c('0x2b')],_0x1c0d80['query']);_0x351a20[_0x957c('0x31')]=_[_0x957c('0x2f')](_0x1c0d80[_0x957c('0x2b')],qs[_0x957c('0x30')](_0xe052b8[_0x957c('0x2d')]['fields']));_0x351a20[_0x957c('0x31')]=_0x351a20['attributes'][_0x957c('0x32')]?_0x351a20[_0x957c('0x31')]:_0x1c0d80[_0x957c('0x2b')];if(_0xe052b8[_0x957c('0x2d')][_0x957c('0x3f')]){_0x351a20[_0x957c('0x40')]=[{'all':!![]}];}_0x351a20=_[_0x957c('0x3a')]({},_0x351a20,_0xe052b8['options']);return db[_0x957c('0x28')][_0x957c('0x46')](_0x351a20)['then'](handleEntityNotFound(_0x3974ab,null))[_0x957c('0x20')](respondWithResult(_0x3974ab,null))[_0x957c('0x42')](handleError(_0x3974ab,null));};exports[_0x957c('0x47')]=function(_0x1a2e52,_0x26ae9b,_0x7086d4){return db['Sound'][_0x957c('0x46')]({'where':{'id':_0x1a2e52['params']['id']},'attributes':[_0x957c('0x24'),_0x957c('0x48'),_0x957c('0x49')],'raw':!![]})[_0x957c('0x20')](handleEntityNotFound(_0x26ae9b,null))[_0x957c('0x20')](function(_0x16ffa6){if(_0x16ffa6){if(!fs[_0x957c('0x4a')](path[_0x957c('0x4b')](config[_0x957c('0x4c')],'server/files/sounds/converted',_0x16ffa6[_0x957c('0x48')]+'.'+_0x16ffa6[_0x957c('0x49')]))){throw new db[(_0x957c('0x4d'))]['ValidationError'](_0x957c('0x4e'));}return _0x26ae9b[_0x957c('0x47')](path['join'](config[_0x957c('0x4c')],_0x957c('0x4f'),util[_0x957c('0x50')](_0x957c('0x51'),_0x16ffa6['save_name'],_0x16ffa6[_0x957c('0x49')])),util[_0x957c('0x50')]('%s.%s',_0x16ffa6[_0x957c('0x24')],_0x16ffa6[_0x957c('0x49')]));}return null;})[_0x957c('0x42')](handleError(_0x26ae9b,null));};exports[_0x957c('0x52')]=function(_0x4daef5,_0x3e147f,_0x13801f){var _0x3c2992={'name':path[_0x957c('0x53')](_0x4daef5[_0x957c('0x54')]['originalname'],path[_0x957c('0x55')](_0x4daef5[_0x957c('0x54')]['originalname'])),'save_name':path[_0x957c('0x53')](_0x4daef5['file'][_0x957c('0x56')],path[_0x957c('0x55')](_0x4daef5[_0x957c('0x54')]['filename'])),'original_format':path['extname'](_0x4daef5[_0x957c('0x54')][_0x957c('0x57')])[_0x957c('0x58')](0x1),'converted_format':_0x957c('0x59')};var _0x1e726d=path[_0x957c('0x4b')](config['root'],'server/files/sounds/original',_0x4daef5['file'][_0x957c('0x56')]);var _0x1986a9=path[_0x957c('0x4b')](config[_0x957c('0x4c')],_0x957c('0x4f'),util['format'](_0x957c('0x51'),path[_0x957c('0x53')](_0x4daef5[_0x957c('0x54')][_0x957c('0x56')],path['extname'](_0x4daef5['file'][_0x957c('0x56')])),_0x3c2992[_0x957c('0x49')]));logger['info'](_0x957c('0x5a'),_0x1e726d);logger[_0x957c('0x5b')](_0x957c('0x5c'),_0x1986a9);try{fs[_0x957c('0x5d')](_0x1e726d,parseInt(_0x957c('0x5e'),0x8));var _0x754a64=sox[_0x957c('0x5f')](_0x1e726d,_0x1986a9,{'sampleRate':0x1f40,'format':_0x957c('0x59'),'channelCount':0x1,'bitRate':0xc0*0x400,'compressionQuality':0x5});_0x754a64['on']('error',function(_0x38f203){fs['unlinkSync'](_0x1e726d);_0x3e147f[_0x957c('0x17')](0x1f4)[_0x957c('0x25')](_0x38f203);});_0x754a64['on']('src',function(_0xe1836f){_0x3c2992[_0x957c('0x60')]=isNaN(_0xe1836f[_0x957c('0x61')])?null:_0xe1836f[_0x957c('0x61')]*0x3e8;_0x3c2992[_0x957c('0x62')]=isNaN(_0xe1836f['sampleCount'])?null:_0xe1836f[_0x957c('0x63')];_0x3c2992[_0x957c('0x64')]=isNaN(_0xe1836f[_0x957c('0x65')])?null:_0xe1836f[_0x957c('0x65')];_0x3c2992['original_bitRate']=isNaN(_0xe1836f[_0x957c('0x66')])?null:_0xe1836f[_0x957c('0x66')];_0x3c2992[_0x957c('0x67')]=isNaN(_0xe1836f[_0x957c('0x68')])?null:_0xe1836f[_0x957c('0x68')];});_0x754a64['on'](_0x957c('0x69'),function(_0x540fa2){_0x3c2992[_0x957c('0x6a')]=isNaN(_0x540fa2['duration'])?null:_0x540fa2[_0x957c('0x61')]*0x3e8;_0x3c2992[_0x957c('0x6b')]=isNaN(_0x540fa2[_0x957c('0x63')])?null:_0x540fa2['sampleCount'];_0x3c2992[_0x957c('0x6c')]=isNaN(_0x540fa2[_0x957c('0x65')])?null:_0x540fa2['channelCount'];_0x3c2992['converted_bitRate']=isNaN(_0x540fa2[_0x957c('0x66')])?null:_0x540fa2[_0x957c('0x66')];_0x3c2992[_0x957c('0x6d')]=isNaN(_0x540fa2['sampleRate'])?null:_0x540fa2[_0x957c('0x68')];});_0x754a64['on']('end',function(){fs[_0x957c('0x5d')](_0x1986a9,parseInt(_0x957c('0x5e'),0x8));return db[_0x957c('0x28')][_0x957c('0x52')](_0x3c2992)[_0x957c('0x20')](function(_0x4bbdec){var _0x3dbe32={'role':_0x4daef5[_0x957c('0x6e')][_0x957c('0x6f')],'userProfileId':_0x4daef5[_0x957c('0x6e')][_0x957c('0x70')]};if(!_0x3dbe32)throw new Error(_0x957c('0x71'));if(_0x3dbe32[_0x957c('0x6f')]===_0x957c('0x72')){var _0x4590b4=_0x4bbdec[_0x957c('0x73')]({'plain':!![]});return db[_0x957c('0x74')]['find']({'where':{'name':_0x957c('0x22'),'userProfileId':_0x3dbe32[_0x957c('0x70')]},'raw':!![]})['then'](function(_0x531b07){if(_0x531b07&&_0x531b07[_0x957c('0x75')]===0x0){return db[_0x957c('0x76')][_0x957c('0x52')]({'name':_0x4590b4[_0x957c('0x24')],'resourceId':_0x4590b4['id'],'type':_0x531b07['name'],'sectionId':_0x531b07['id']},{})[_0x957c('0x20')](function(){return _0x4bbdec;});}else{return _0x4bbdec;}})[_0x957c('0x42')](function(_0x40e743){logger[_0x957c('0x77')]('Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s',_0x40e743);throw _0x40e743;});}return _0x4bbdec;})[_0x957c('0x20')](respondWithResult(_0x3e147f,null))[_0x957c('0x42')](handleError(_0x3e147f,null));});_0x754a64[_0x957c('0x78')]();}catch(_0x25b2f7){_0x3e147f[_0x957c('0x17')](0x1f4)[_0x957c('0x25')](_0x25b2f7);}};exports[_0x957c('0x79')]=function(_0x29c245,_0x40ee34,_0x3970a7){return db[_0x957c('0x28')]['find']({'where':{'id':_0x29c245['params']['id']}})[_0x957c('0x20')](handleEntityNotFound(_0x40ee34,null))[_0x957c('0x20')](saveUpdates(_['pick'](_0x29c245[_0x957c('0x6e')],[_0x957c('0x24'),_0x957c('0x7a')]),null))[_0x957c('0x20')](respondWithResult(_0x40ee34,null))[_0x957c('0x42')](handleError(_0x40ee34,null));};exports[_0x957c('0x7b')]=function(_0x2a1ae3,_0xa281c4,_0x2c4bde){return db[_0x957c('0x28')][_0x957c('0x46')]({'where':{'id':_0x2a1ae3[_0x957c('0x44')]['id']}})[_0x957c('0x20')](function(_0x5c5fc4){if(_0x5c5fc4){return _0x5c5fc4['destroy']();}})[_0x957c('0x20')](function(_0x16f788){var _0x4fd383=path[_0x957c('0x4b')](config[_0x957c('0x4c')],_0x957c('0x7c'),util['format'](_0x957c('0x51'),_0x16f788[_0x957c('0x48')],_0x16f788[_0x957c('0x7d')]));var _0x3cc950=path[_0x957c('0x4b')](config[_0x957c('0x4c')],'server/files/sounds/converted',util[_0x957c('0x50')](_0x957c('0x51'),_0x16f788[_0x957c('0x48')],_0x16f788[_0x957c('0x49')]));fs[_0x957c('0x7e')](_0x4fd383);fs[_0x957c('0x7e')](_0x3cc950);return _0x16f788;})[_0x957c('0x20')](function(_0x5f4151){if(_0x5f4151){return _0xa281c4[_0x957c('0x17')](0xcc)[_0x957c('0x18')]();}})[_0x957c('0x20')](handleEntityNotFound(_0xa281c4,null))[_0x957c('0x42')](handleError(_0xa281c4,null));}; \ No newline at end of file +var _0xc292=['save_name','ValidationError','download','join','format','%s.%s','create','basename','file','originalname','extname','filename','substring','wav','server/files/sounds/original','info','Sound\x20upload\x20filepath:\x20%s','Sound\x20upload\x20destination:\x20%s','chmodSync','0777','transcode','unlinkSync','src','duration','original_sampleCount','sampleCount','original_channelCount','channelCount','original_bitRate','bitRate','sampleRate','dest','converted_duration','converted_sampleCount','converted_channelCount','converted_sampleRate','body','userProfileId','Unable\x20to\x20retrieve\x20the\x20current\x20user','role','user','UserProfileSection','autoAssociation','start','pick','description','delete','original_format','rimraf','zip-dir','request-promise','moment','bluebird','mustache','path','sox','ejs','lodash','squel','jsforce','desk.js','papaparse','../../components/auth/service','../../components/parsers/advancedSearch','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','sendStatus','end','status','json','count','offset','limit','set','Content-Range','apply','reject','update','destroy','then','get','Sounds','UserProfileResource','error','name','send','index','map','Sound','rawAttributes','fieldName','type','key','model','query','keys','intersection','attributes','fields','hasOwnProperty','nolimit','order','sort','where','filters','merge','VIRTUAL','includeAll','include','findAll','rows','catch','show','params','length','options','find','converted_format','existsSync','root','server/files/sounds/converted'];(function(_0x4d0956,_0x20747b){var _0x57b9bf=function(_0x2e236b){while(--_0x2e236b){_0x4d0956['push'](_0x4d0956['shift']());}};_0x57b9bf(++_0x20747b);}(_0xc292,0x1a4));var _0x2c29=function(_0x1f7413,_0x3388c3){_0x1f7413=_0x1f7413-0x0;var _0x2d2775=_0xc292[_0x1f7413];return _0x2d2775;};'use strict';var pdf=require('html-pdf');var emlformat=require('eml-format');var rimraf=require(_0x2c29('0x0'));var zipdir=require(_0x2c29('0x1'));var jsonpatch=require('fast-json-patch');var rp=require(_0x2c29('0x2'));var moment=require(_0x2c29('0x3'));var BPromise=require(_0x2c29('0x4'));var Mustache=require(_0x2c29('0x5'));var util=require('util');var path=require(_0x2c29('0x6'));var sox=require(_0x2c29('0x7'));var csv=require('to-csv');var ejs=require(_0x2c29('0x8'));var fs=require('fs');var _=require(_0x2c29('0x9'));var squel=require(_0x2c29('0xa'));var crypto=require('crypto');var jsforce=require(_0x2c29('0xb'));var deskjs=require(_0x2c29('0xc'));var toCsv=require('to-csv');var querystring=require('querystring');var Papa=require(_0x2c29('0xd'));var Redis=require('ioredis');var authService=require(_0x2c29('0xe'));var qs=require('../../components/parsers/qs');var as=require(_0x2c29('0xf'));var hardwareService=require('../../config/license/hardware');var logger=require(_0x2c29('0x10'))(_0x2c29('0x11'));var utils=require(_0x2c29('0x12'));var config=require(_0x2c29('0x13'));var db=require(_0x2c29('0x14'))['db'];function respondWithStatusCode(_0x13c915,_0x436ba2){_0x436ba2=_0x436ba2||0xcc;return function(_0x4f063e){if(_0x4f063e){return _0x13c915[_0x2c29('0x15')](_0x436ba2);}return _0x13c915['status'](_0x436ba2)[_0x2c29('0x16')]();};}function respondWithResult(_0x564275,_0x4b0b53){_0x4b0b53=_0x4b0b53||0xc8;return function(_0x1ea6b6){if(_0x1ea6b6){return _0x564275[_0x2c29('0x17')](_0x4b0b53)[_0x2c29('0x18')](_0x1ea6b6);}};}function respondWithFilteredResult(_0x1bd6cf,_0x5d9b13){return function(_0x50db72){if(_0x50db72){var _0x42f335=_0x50db72[_0x2c29('0x19')],_0x635c90=_0x5d9b13[_0x2c29('0x1a')],_0x197406=_0x5d9b13[_0x2c29('0x1a')]+_0x5d9b13[_0x2c29('0x1b')],_0x5759f3;if(_0x197406>=_0x42f335){_0x197406=_0x42f335;_0x5759f3=0xc8;}else{_0x5759f3=0xce;}_0x1bd6cf[_0x2c29('0x17')](_0x5759f3);return _0x1bd6cf[_0x2c29('0x1c')](_0x2c29('0x1d'),_0x635c90+'-'+_0x197406+'/'+_0x42f335)['json'](_0x50db72);}return null;};}function patchUpdates(_0x162b35){return function(_0x128527){try{jsonpatch[_0x2c29('0x1e')](_0x128527,_0x162b35,!![]);}catch(_0xbe7012){return BPromise[_0x2c29('0x1f')](_0xbe7012);}return _0x128527['save']();};}function saveUpdates(_0x372ccb,_0x1c64ec){return function(_0x235326){if(_0x235326){return _0x235326[_0x2c29('0x20')](_0x372ccb)['then'](function(_0x2bbd06){return _0x2bbd06;});}return null;};}function removeEntity(_0x21ca03,_0x2428b4){return function(_0x553dd1){if(_0x553dd1){return _0x553dd1[_0x2c29('0x21')]()[_0x2c29('0x22')](function(){var _0x58edc9=_0x553dd1[_0x2c29('0x23')]({'plain':!![]});var _0xe3331c=_0x2c29('0x24');return db[_0x2c29('0x25')]['destroy']({'where':{'type':_0xe3331c,'resourceId':_0x58edc9['id']}})[_0x2c29('0x22')](function(){return _0x553dd1;});})[_0x2c29('0x22')](function(){_0x21ca03[_0x2c29('0x17')](0xcc)[_0x2c29('0x16')]();});}};}function handleEntityNotFound(_0x677694,_0x32e9ab){return function(_0x7dad5d){if(!_0x7dad5d){_0x677694['sendStatus'](0x194);}return _0x7dad5d;};}function handleError(_0x8bbd53,_0x2bca5d){_0x2bca5d=_0x2bca5d||0x1f4;return function(_0x2ac6ab){logger[_0x2c29('0x26')](_0x2ac6ab['stack']);if(_0x2ac6ab[_0x2c29('0x27')]){delete _0x2ac6ab['name'];}_0x8bbd53[_0x2c29('0x17')](_0x2bca5d)[_0x2c29('0x28')](_0x2ac6ab);};}exports[_0x2c29('0x29')]=function(_0x3a351e,_0x11ef03){var _0x48ac7d={},_0x5e54f9={},_0x290529={'count':0x0,'rows':[]};var _0x21f58b=_[_0x2c29('0x2a')](db[_0x2c29('0x2b')][_0x2c29('0x2c')],function(_0x4bf558){return{'name':_0x4bf558[_0x2c29('0x2d')],'type':_0x4bf558[_0x2c29('0x2e')][_0x2c29('0x2f')]};});_0x5e54f9[_0x2c29('0x30')]=_[_0x2c29('0x2a')](_0x21f58b,_0x2c29('0x27'));_0x5e54f9[_0x2c29('0x31')]=_[_0x2c29('0x32')](_0x3a351e['query']);_0x5e54f9['filters']=_[_0x2c29('0x33')](_0x5e54f9[_0x2c29('0x30')],_0x5e54f9[_0x2c29('0x31')]);_0x48ac7d[_0x2c29('0x34')]=_[_0x2c29('0x33')](_0x5e54f9['model'],qs[_0x2c29('0x35')](_0x3a351e[_0x2c29('0x31')]['fields']));_0x48ac7d['attributes']=_0x48ac7d[_0x2c29('0x34')]['length']?_0x48ac7d[_0x2c29('0x34')]:_0x5e54f9['model'];if(!_0x3a351e['query'][_0x2c29('0x36')](_0x2c29('0x37'))){_0x48ac7d['limit']=qs['limit'](_0x3a351e['query']['limit']);_0x48ac7d[_0x2c29('0x1a')]=qs['offset'](_0x3a351e[_0x2c29('0x31')][_0x2c29('0x1a')]);}_0x48ac7d[_0x2c29('0x38')]=qs[_0x2c29('0x39')](_0x3a351e[_0x2c29('0x31')][_0x2c29('0x39')]);_0x48ac7d[_0x2c29('0x3a')]=qs[_0x2c29('0x3b')](_['pick'](_0x3a351e['query'],_0x5e54f9[_0x2c29('0x3b')]),_0x21f58b);if(_0x3a351e['query']['filter']){_0x48ac7d['where']=_[_0x2c29('0x3c')](_0x48ac7d['where'],{'$or':_[_0x2c29('0x2a')](_0x21f58b,function(_0x137d1b){if(_0x137d1b[_0x2c29('0x2e')]!==_0x2c29('0x3d')){var _0x5439cf={};_0x5439cf[_0x137d1b[_0x2c29('0x27')]]={'$like':'%'+_0x3a351e[_0x2c29('0x31')]['filter']+'%'};return _0x5439cf;}})});}_0x48ac7d=_[_0x2c29('0x3c')]({},_0x48ac7d,_0x3a351e['options']);var _0x33e853={'where':_0x48ac7d[_0x2c29('0x3a')]};return db[_0x2c29('0x2b')][_0x2c29('0x19')](_0x33e853)[_0x2c29('0x22')](function(_0x39bb11){_0x290529[_0x2c29('0x19')]=_0x39bb11;if(_0x3a351e['query'][_0x2c29('0x3e')]){_0x48ac7d[_0x2c29('0x3f')]=[{'all':!![]}];}return db['Sound'][_0x2c29('0x40')](_0x48ac7d);})[_0x2c29('0x22')](function(_0x1ee5da){_0x290529[_0x2c29('0x41')]=_0x1ee5da;return _0x290529;})[_0x2c29('0x22')](respondWithFilteredResult(_0x11ef03,_0x48ac7d))[_0x2c29('0x42')](handleError(_0x11ef03,null));};exports[_0x2c29('0x43')]=function(_0x4fd721,_0x5b5c6c){var _0x4b5279={'raw':!![],'where':{'id':_0x4fd721[_0x2c29('0x44')]['id']}},_0xe0f809={};_0xe0f809[_0x2c29('0x30')]=_[_0x2c29('0x32')](db[_0x2c29('0x2b')][_0x2c29('0x2c')]);_0xe0f809[_0x2c29('0x31')]=_[_0x2c29('0x32')](_0x4fd721[_0x2c29('0x31')]);_0xe0f809[_0x2c29('0x3b')]=_[_0x2c29('0x33')](_0xe0f809['model'],_0xe0f809['query']);_0x4b5279[_0x2c29('0x34')]=_[_0x2c29('0x33')](_0xe0f809['model'],qs[_0x2c29('0x35')](_0x4fd721[_0x2c29('0x31')][_0x2c29('0x35')]));_0x4b5279[_0x2c29('0x34')]=_0x4b5279[_0x2c29('0x34')][_0x2c29('0x45')]?_0x4b5279[_0x2c29('0x34')]:_0xe0f809['model'];if(_0x4fd721[_0x2c29('0x31')][_0x2c29('0x3e')]){_0x4b5279[_0x2c29('0x3f')]=[{'all':!![]}];}_0x4b5279=_[_0x2c29('0x3c')]({},_0x4b5279,_0x4fd721[_0x2c29('0x46')]);return db[_0x2c29('0x2b')][_0x2c29('0x47')](_0x4b5279)[_0x2c29('0x22')](handleEntityNotFound(_0x5b5c6c,null))[_0x2c29('0x22')](respondWithResult(_0x5b5c6c,null))[_0x2c29('0x42')](handleError(_0x5b5c6c,null));};exports['download']=function(_0x8b23da,_0x2dbcdf,_0x202683){return db['Sound'][_0x2c29('0x47')]({'where':{'id':_0x8b23da[_0x2c29('0x44')]['id']},'attributes':[_0x2c29('0x27'),'save_name',_0x2c29('0x48')],'raw':!![]})[_0x2c29('0x22')](handleEntityNotFound(_0x2dbcdf,null))[_0x2c29('0x22')](function(_0x273747){if(_0x273747){if(!fs[_0x2c29('0x49')](path['join'](config[_0x2c29('0x4a')],_0x2c29('0x4b'),_0x273747[_0x2c29('0x4c')]+'.'+_0x273747[_0x2c29('0x48')]))){throw new db['Sequelize'][(_0x2c29('0x4d'))]('Sound\x20not\x20found');}return _0x2dbcdf[_0x2c29('0x4e')](path[_0x2c29('0x4f')](config['root'],_0x2c29('0x4b'),util[_0x2c29('0x50')](_0x2c29('0x51'),_0x273747[_0x2c29('0x4c')],_0x273747[_0x2c29('0x48')])),util[_0x2c29('0x50')](_0x2c29('0x51'),_0x273747[_0x2c29('0x27')],_0x273747[_0x2c29('0x48')]));}return null;})[_0x2c29('0x42')](handleError(_0x2dbcdf,null));};exports[_0x2c29('0x52')]=function(_0x3ae290,_0x12cb92,_0x38aa7c){var _0xa51fab={'name':path[_0x2c29('0x53')](_0x3ae290[_0x2c29('0x54')][_0x2c29('0x55')],path[_0x2c29('0x56')](_0x3ae290[_0x2c29('0x54')][_0x2c29('0x55')])),'save_name':path[_0x2c29('0x53')](_0x3ae290[_0x2c29('0x54')][_0x2c29('0x57')],path[_0x2c29('0x56')](_0x3ae290[_0x2c29('0x54')]['filename'])),'original_format':path[_0x2c29('0x56')](_0x3ae290[_0x2c29('0x54')]['originalname'])[_0x2c29('0x58')](0x1),'converted_format':_0x2c29('0x59')};var _0x387bf6=path[_0x2c29('0x4f')](config['root'],_0x2c29('0x5a'),_0x3ae290[_0x2c29('0x54')][_0x2c29('0x57')]);var _0x3e4b92=path[_0x2c29('0x4f')](config[_0x2c29('0x4a')],_0x2c29('0x4b'),util['format'](_0x2c29('0x51'),path[_0x2c29('0x53')](_0x3ae290[_0x2c29('0x54')]['filename'],path['extname'](_0x3ae290[_0x2c29('0x54')][_0x2c29('0x57')])),_0xa51fab[_0x2c29('0x48')]));logger[_0x2c29('0x5b')](_0x2c29('0x5c'),_0x387bf6);logger[_0x2c29('0x5b')](_0x2c29('0x5d'),_0x3e4b92);try{fs[_0x2c29('0x5e')](_0x387bf6,parseInt(_0x2c29('0x5f'),0x8));var _0x165ab8=sox[_0x2c29('0x60')](_0x387bf6,_0x3e4b92,{'sampleRate':0x1f40,'format':_0x2c29('0x59'),'channelCount':0x1,'bitRate':0xc0*0x400,'compressionQuality':0x5});_0x165ab8['on'](_0x2c29('0x26'),function(_0x680ad8){fs[_0x2c29('0x61')](_0x387bf6);_0x12cb92[_0x2c29('0x17')](0x1f4)[_0x2c29('0x28')](_0x680ad8);});_0x165ab8['on'](_0x2c29('0x62'),function(_0x40caa0){_0xa51fab['original_duration']=isNaN(_0x40caa0[_0x2c29('0x63')])?null:_0x40caa0[_0x2c29('0x63')]*0x3e8;_0xa51fab[_0x2c29('0x64')]=isNaN(_0x40caa0['sampleCount'])?null:_0x40caa0[_0x2c29('0x65')];_0xa51fab[_0x2c29('0x66')]=isNaN(_0x40caa0[_0x2c29('0x67')])?null:_0x40caa0['channelCount'];_0xa51fab[_0x2c29('0x68')]=isNaN(_0x40caa0[_0x2c29('0x69')])?null:_0x40caa0[_0x2c29('0x69')];_0xa51fab['original_sampleRate']=isNaN(_0x40caa0[_0x2c29('0x6a')])?null:_0x40caa0[_0x2c29('0x6a')];});_0x165ab8['on'](_0x2c29('0x6b'),function(_0x2162e2){_0xa51fab[_0x2c29('0x6c')]=isNaN(_0x2162e2[_0x2c29('0x63')])?null:_0x2162e2[_0x2c29('0x63')]*0x3e8;_0xa51fab[_0x2c29('0x6d')]=isNaN(_0x2162e2[_0x2c29('0x65')])?null:_0x2162e2[_0x2c29('0x65')];_0xa51fab[_0x2c29('0x6e')]=isNaN(_0x2162e2[_0x2c29('0x67')])?null:_0x2162e2[_0x2c29('0x67')];_0xa51fab['converted_bitRate']=isNaN(_0x2162e2['bitRate'])?null:_0x2162e2['bitRate'];_0xa51fab[_0x2c29('0x6f')]=isNaN(_0x2162e2[_0x2c29('0x6a')])?null:_0x2162e2[_0x2c29('0x6a')];});_0x165ab8['on'](_0x2c29('0x16'),function(){fs[_0x2c29('0x5e')](_0x3e4b92,parseInt('0777',0x8));return db[_0x2c29('0x2b')][_0x2c29('0x52')](_0xa51fab)[_0x2c29('0x22')](function(_0x2fff6c){var _0x30cdaa={'role':_0x3ae290[_0x2c29('0x70')]['role'],'userProfileId':_0x3ae290[_0x2c29('0x70')][_0x2c29('0x71')]};if(!_0x30cdaa)throw new Error(_0x2c29('0x72'));if(_0x30cdaa[_0x2c29('0x73')]===_0x2c29('0x74')){var _0x3a6010=_0x2fff6c[_0x2c29('0x23')]({'plain':!![]});return db[_0x2c29('0x75')][_0x2c29('0x47')]({'where':{'name':_0x2c29('0x24'),'userProfileId':_0x30cdaa['userProfileId']},'raw':!![]})['then'](function(_0x279861){if(_0x279861&&_0x279861[_0x2c29('0x76')]===0x0){return db[_0x2c29('0x25')][_0x2c29('0x52')]({'name':_0x3a6010['name'],'resourceId':_0x3a6010['id'],'type':_0x279861[_0x2c29('0x27')],'sectionId':_0x279861['id']},{})['then'](function(){return _0x2fff6c;});}else{return _0x2fff6c;}})[_0x2c29('0x42')](function(_0x566727){logger[_0x2c29('0x26')]('Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s',_0x566727);throw _0x566727;});}return _0x2fff6c;})[_0x2c29('0x22')](respondWithResult(_0x12cb92,null))['catch'](handleError(_0x12cb92,null));});_0x165ab8[_0x2c29('0x77')]();}catch(_0x4e7129){_0x12cb92[_0x2c29('0x17')](0x1f4)[_0x2c29('0x28')](_0x4e7129);}};exports[_0x2c29('0x20')]=function(_0x31cf5a,_0x466f93,_0x1d825){return db[_0x2c29('0x2b')][_0x2c29('0x47')]({'where':{'id':_0x31cf5a[_0x2c29('0x44')]['id']}})[_0x2c29('0x22')](handleEntityNotFound(_0x466f93,null))['then'](saveUpdates(_[_0x2c29('0x78')](_0x31cf5a['body'],['name',_0x2c29('0x79')]),null))[_0x2c29('0x22')](respondWithResult(_0x466f93,null))['catch'](handleError(_0x466f93,null));};exports[_0x2c29('0x7a')]=function(_0x24fb22,_0xc3d0bf,_0x505f9a){return db[_0x2c29('0x2b')][_0x2c29('0x47')]({'where':{'id':_0x24fb22[_0x2c29('0x44')]['id']}})[_0x2c29('0x22')](function(_0x1a58ae){if(_0x1a58ae){return _0x1a58ae['destroy']();}})['then'](function(_0x484fe0){var _0x1edc28=path['join'](config[_0x2c29('0x4a')],_0x2c29('0x5a'),util[_0x2c29('0x50')](_0x2c29('0x51'),_0x484fe0[_0x2c29('0x4c')],_0x484fe0[_0x2c29('0x7b')]));var _0x2ba9f3=path[_0x2c29('0x4f')](config[_0x2c29('0x4a')],_0x2c29('0x4b'),util[_0x2c29('0x50')]('%s.%s',_0x484fe0[_0x2c29('0x4c')],_0x484fe0[_0x2c29('0x48')]));fs[_0x2c29('0x61')](_0x1edc28);fs['unlinkSync'](_0x2ba9f3);return _0x484fe0;})['then'](function(_0x22cffa){if(_0x22cffa){return _0xc3d0bf[_0x2c29('0x17')](0xcc)[_0x2c29('0x16')]();}})[_0x2c29('0x22')](handleEntityNotFound(_0xc3d0bf,null))[_0x2c29('0x42')](handleError(_0xc3d0bf,null));}; \ No newline at end of file diff --git a/server/api/sound/sound.model.js b/server/api/sound/sound.model.js index 3c15f78..8c24fdf 100644 --- a/server/api/sound/sound.model.js +++ b/server/api/sound/sound.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xf4b5=['path','rimraf','../../config/environment','./sound.attributes','exports','Sound','tools_sounds','util','../../config/logger','api','moment','bluebird','request-promise'];(function(_0x39c734,_0x2f3e06){var _0xb2a2f9=function(_0x502f3f){while(--_0x502f3f){_0x39c734['push'](_0x39c734['shift']());}};_0xb2a2f9(++_0x2f3e06);}(_0xf4b5,0x173));var _0x5f4b=function(_0x2cc0b3,_0x120bf1){_0x2cc0b3=_0x2cc0b3-0x0;var _0x1667ef=_0xf4b5[_0x2cc0b3];return _0x1667ef;};'use strict';var _=require('lodash');var util=require(_0x5f4b('0x0'));var logger=require(_0x5f4b('0x1'))(_0x5f4b('0x2'));var moment=require(_0x5f4b('0x3'));var BPromise=require(_0x5f4b('0x4'));var rp=require(_0x5f4b('0x5'));var fs=require('fs');var path=require(_0x5f4b('0x6'));var rimraf=require(_0x5f4b('0x7'));var config=require(_0x5f4b('0x8'));var attributes=require(_0x5f4b('0x9'));module[_0x5f4b('0xa')]=function(_0x5479cc,_0x3ae093){return _0x5479cc['define'](_0x5f4b('0xb'),attributes,{'tableName':_0x5f4b('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0xc254=['bluebird','request-promise','rimraf','../../config/environment','./sound.attributes','exports','define','Sound','tools_sounds','lodash','../../config/logger','api','moment'];(function(_0x5528df,_0x1372b2){var _0x4aab27=function(_0x1c0a19){while(--_0x1c0a19){_0x5528df['push'](_0x5528df['shift']());}};_0x4aab27(++_0x1372b2);}(_0xc254,0x1d0));var _0x4c25=function(_0x42b7e0,_0x3f1eb8){_0x42b7e0=_0x42b7e0-0x0;var _0x3b9ab1=_0xc254[_0x42b7e0];return _0x3b9ab1;};'use strict';var _=require(_0x4c25('0x0'));var util=require('util');var logger=require(_0x4c25('0x1'))(_0x4c25('0x2'));var moment=require(_0x4c25('0x3'));var BPromise=require(_0x4c25('0x4'));var rp=require(_0x4c25('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x4c25('0x6'));var config=require(_0x4c25('0x7'));var attributes=require(_0x4c25('0x8'));module[_0x4c25('0x9')]=function(_0x5bcad3,_0x2a24a4){return _0x5bcad3[_0x4c25('0xa')](_0x4c25('0xb'),attributes,{'tableName':_0x4c25('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/sound/sound.rpc.js b/server/api/sound/sound.rpc.js index 9b5b793..bff4f76 100644 --- a/server/api/sound/sound.rpc.js +++ b/server/api/sound/sound.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x1466=['raw','where','attributes','include','map','model','ShowSound','stringify','lodash','util','moment','bluebird','ioredis','../../mysqldb','../../config/utils','../../config/logger','rpc','http','request','then','info','request\x20sent','debug','error','code','Sound,\x20%s,\x20%s','message','catch','Sound','find','options'];(function(_0x2b6600,_0x24c497){var _0x912ee2=function(_0x5d6484){while(--_0x5d6484){_0x2b6600['push'](_0x2b6600['shift']());}};_0x912ee2(++_0x24c497);}(_0x1466,0xc2));var _0x6146=function(_0x22a0ef,_0x54297a){_0x22a0ef=_0x22a0ef-0x0;var _0x4983f6=_0x1466[_0x22a0ef];return _0x4983f6;};'use strict';var _=require(_0x6146('0x0'));var util=require(_0x6146('0x1'));var moment=require(_0x6146('0x2'));var BPromise=require(_0x6146('0x3'));var rs=require('randomstring');var fs=require('fs');var Redis=require(_0x6146('0x4'));var db=require(_0x6146('0x5'))['db'];var utils=require(_0x6146('0x6'));var logger=require(_0x6146('0x7'))(_0x6146('0x8'));var config=require('../../config/environment');var jayson=require('jayson/promise');var client=jayson['client'][_0x6146('0x9')]({'port':0x232a});function respondWithRpcPromise(_0x2088f1,_0x1daaad,_0x448ec6){return new BPromise(function(_0x35f0fb,_0x4044e9){return client[_0x6146('0xa')](_0x2088f1,_0x448ec6)[_0x6146('0xb')](function(_0x33b131){logger[_0x6146('0xc')]('Sound,\x20%s,\x20%s',_0x1daaad,_0x6146('0xd'));logger[_0x6146('0xe')]('Sound,\x20%s,\x20%s,\x20%s',_0x1daaad,_0x6146('0xd'),JSON['stringify'](_0x33b131));if(_0x33b131[_0x6146('0xf')]){if(_0x33b131[_0x6146('0xf')][_0x6146('0x10')]===0x1f4){logger[_0x6146('0xf')](_0x6146('0x11'),_0x1daaad,_0x33b131['error'][_0x6146('0x12')]);return _0x4044e9(_0x33b131[_0x6146('0xf')][_0x6146('0x12')]);}logger[_0x6146('0xf')](_0x6146('0x11'),_0x1daaad,_0x33b131['error'][_0x6146('0x12')]);return _0x35f0fb(_0x33b131['error'][_0x6146('0x12')]);}else{logger['info']('Sound,\x20%s,\x20%s',_0x1daaad,_0x6146('0xd'));_0x35f0fb(_0x33b131['result'][_0x6146('0x12')]);}})[_0x6146('0x13')](function(_0x30de8d){logger['error'](_0x6146('0x11'),_0x1daaad,_0x30de8d);_0x4044e9(_0x30de8d);});});}exports['ShowSound']=function(_0x538ac6){var _0x463839=this;return new Promise(function(_0x282694,_0x1f3c5a){return db[_0x6146('0x14')][_0x6146('0x15')]({'raw':_0x538ac6['options']?_0x538ac6[_0x6146('0x16')][_0x6146('0x17')]===undefined?!![]:![]:!![],'where':_0x538ac6[_0x6146('0x16')]?_0x538ac6['options'][_0x6146('0x18')]||null:null,'attributes':_0x538ac6['options']?_0x538ac6[_0x6146('0x16')][_0x6146('0x19')]||null:null,'include':_0x538ac6[_0x6146('0x16')]?_0x538ac6[_0x6146('0x16')][_0x6146('0x1a')]?_[_0x6146('0x1b')](_0x538ac6['options'][_0x6146('0x1a')],function(_0x30eda8){return{'model':db[_0x30eda8[_0x6146('0x1c')]],'as':_0x30eda8['as'],'attributes':_0x30eda8[_0x6146('0x19')],'include':_0x30eda8[_0x6146('0x1a')]?_[_0x6146('0x1b')](_0x30eda8[_0x6146('0x1a')],function(_0x75ffc1){return{'model':db[_0x75ffc1[_0x6146('0x1c')]],'as':_0x75ffc1['as'],'attributes':_0x75ffc1['attributes'],'include':_0x75ffc1[_0x6146('0x1a')]?_['map'](_0x75ffc1[_0x6146('0x1a')],function(_0x4a73c3){return{'model':db[_0x4a73c3[_0x6146('0x1c')]],'as':_0x4a73c3['as'],'attributes':_0x4a73c3['attributes']};}):[]};}):[]};}):[]:[]})['then'](function(_0x159109){logger[_0x6146('0xc')]('ShowSound',_0x538ac6);logger[_0x6146('0xe')](_0x6146('0x1d'),_0x538ac6,JSON[_0x6146('0x1e')](_0x159109));_0x282694(_0x159109);})[_0x6146('0x13')](function(_0x2f1716){logger[_0x6146('0xf')](_0x6146('0x1d'),_0x2f1716['message'],_0x538ac6);_0x1f3c5a(_0x463839['error'](0x1f4,_0x2f1716[_0x6146('0x12')]));});});}; \ No newline at end of file +var _0x2b52=['moment','bluebird','randomstring','ioredis','../../mysqldb','rpc','jayson/promise','client','http','then','info','debug','Sound,\x20%s,\x20%s,\x20%s','request\x20sent','stringify','error','code','Sound,\x20%s,\x20%s','message','result','catch','ShowSound','Sound','find','options','raw','where','include','attributes','map','model','util'];(function(_0x45e565,_0x3b01d4){var _0x19c10b=function(_0x30e8f5){while(--_0x30e8f5){_0x45e565['push'](_0x45e565['shift']());}};_0x19c10b(++_0x3b01d4);}(_0x2b52,0x15f));var _0x22b5=function(_0x5179a5,_0x419746){_0x5179a5=_0x5179a5-0x0;var _0x15c8ce=_0x2b52[_0x5179a5];return _0x15c8ce;};'use strict';var _=require('lodash');var util=require(_0x22b5('0x0'));var moment=require(_0x22b5('0x1'));var BPromise=require(_0x22b5('0x2'));var rs=require(_0x22b5('0x3'));var fs=require('fs');var Redis=require(_0x22b5('0x4'));var db=require(_0x22b5('0x5'))['db'];var utils=require('../../config/utils');var logger=require('../../config/logger')(_0x22b5('0x6'));var config=require('../../config/environment');var jayson=require(_0x22b5('0x7'));var client=jayson[_0x22b5('0x8')][_0x22b5('0x9')]({'port':0x232a});function respondWithRpcPromise(_0x853e43,_0x2887f4,_0x5bd28d){return new BPromise(function(_0x1146c6,_0x5ed99a){return client['request'](_0x853e43,_0x5bd28d)[_0x22b5('0xa')](function(_0x2bb873){logger[_0x22b5('0xb')]('Sound,\x20%s,\x20%s',_0x2887f4,'request\x20sent');logger[_0x22b5('0xc')](_0x22b5('0xd'),_0x2887f4,_0x22b5('0xe'),JSON[_0x22b5('0xf')](_0x2bb873));if(_0x2bb873[_0x22b5('0x10')]){if(_0x2bb873['error'][_0x22b5('0x11')]===0x1f4){logger[_0x22b5('0x10')](_0x22b5('0x12'),_0x2887f4,_0x2bb873[_0x22b5('0x10')][_0x22b5('0x13')]);return _0x5ed99a(_0x2bb873[_0x22b5('0x10')][_0x22b5('0x13')]);}logger[_0x22b5('0x10')](_0x22b5('0x12'),_0x2887f4,_0x2bb873[_0x22b5('0x10')][_0x22b5('0x13')]);return _0x1146c6(_0x2bb873[_0x22b5('0x10')]['message']);}else{logger['info'](_0x22b5('0x12'),_0x2887f4,_0x22b5('0xe'));_0x1146c6(_0x2bb873[_0x22b5('0x14')][_0x22b5('0x13')]);}})[_0x22b5('0x15')](function(_0xe71a0c){logger['error'](_0x22b5('0x12'),_0x2887f4,_0xe71a0c);_0x5ed99a(_0xe71a0c);});});}exports[_0x22b5('0x16')]=function(_0x132152){var _0x5e917a=this;return new Promise(function(_0x6c0dc2,_0x37733a){return db[_0x22b5('0x17')][_0x22b5('0x18')]({'raw':_0x132152[_0x22b5('0x19')]?_0x132152[_0x22b5('0x19')][_0x22b5('0x1a')]===undefined?!![]:![]:!![],'where':_0x132152[_0x22b5('0x19')]?_0x132152[_0x22b5('0x19')][_0x22b5('0x1b')]||null:null,'attributes':_0x132152['options']?_0x132152[_0x22b5('0x19')]['attributes']||null:null,'include':_0x132152[_0x22b5('0x19')]?_0x132152['options'][_0x22b5('0x1c')]?_['map'](_0x132152[_0x22b5('0x19')][_0x22b5('0x1c')],function(_0x43c13a){return{'model':db[_0x43c13a['model']],'as':_0x43c13a['as'],'attributes':_0x43c13a[_0x22b5('0x1d')],'include':_0x43c13a[_0x22b5('0x1c')]?_[_0x22b5('0x1e')](_0x43c13a[_0x22b5('0x1c')],function(_0x45ed21){return{'model':db[_0x45ed21[_0x22b5('0x1f')]],'as':_0x45ed21['as'],'attributes':_0x45ed21[_0x22b5('0x1d')],'include':_0x45ed21[_0x22b5('0x1c')]?_[_0x22b5('0x1e')](_0x45ed21[_0x22b5('0x1c')],function(_0x3d94da){return{'model':db[_0x3d94da[_0x22b5('0x1f')]],'as':_0x3d94da['as'],'attributes':_0x3d94da[_0x22b5('0x1d')]};}):[]};}):[]};}):[]:[]})[_0x22b5('0xa')](function(_0x1ab23c){logger[_0x22b5('0xb')]('ShowSound',_0x132152);logger['debug'](_0x22b5('0x16'),_0x132152,JSON[_0x22b5('0xf')](_0x1ab23c));_0x6c0dc2(_0x1ab23c);})['catch'](function(_0xb18e0f){logger[_0x22b5('0x10')](_0x22b5('0x16'),_0xb18e0f[_0x22b5('0x13')],_0x132152);_0x37733a(_0x5e917a[_0x22b5('0x10')](0x1f4,_0xb18e0f[_0x22b5('0x13')]));});});}; \ No newline at end of file diff --git a/server/api/squareMessage/index.js b/server/api/squareMessage/index.js index 3ee4006..fe26949 100644 --- a/server/api/squareMessage/index.js +++ b/server/api/squareMessage/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xd20d=['get','index','/:id','isAuthenticated','create','put','update','delete','exports','multer','util','express','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0x3bb63a,_0x15af8f){var _0x3b822a=function(_0x5e31cb){while(--_0x5e31cb){_0x3bb63a['push'](_0x3bb63a['shift']());}};_0x3b822a(++_0x15af8f);}(_0xd20d,0x171));var _0xdd20=function(_0x1ae858,_0x3f7cb4){_0x1ae858=_0x1ae858-0x0;var _0x27e7c8=_0xd20d[_0x1ae858];return _0x27e7c8;};'use strict';var multer=require(_0xdd20('0x0'));var util=require(_0xdd20('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0xdd20('0x2'));var router=express['Router']();var auth=require(_0xdd20('0x3'));var interaction=require(_0xdd20('0x4'));var config=require(_0xdd20('0x5'));var controller=require('./squareMessage.controller');router[_0xdd20('0x6')]('/',auth['isAuthenticated'](),controller[_0xdd20('0x7')]);router[_0xdd20('0x6')](_0xdd20('0x8'),auth[_0xdd20('0x9')](),controller['show']);router['post']('/',auth[_0xdd20('0x9')](),controller[_0xdd20('0xa')]);router[_0xdd20('0xb')](_0xdd20('0x8'),auth[_0xdd20('0x9')](),controller[_0xdd20('0xc')]);router[_0xdd20('0xd')]('/:id',auth[_0xdd20('0x9')](),controller['destroy']);module[_0xdd20('0xe')]=router; \ No newline at end of file +var _0xf6df=['multer','util','path','connect-timeout','../../components/auth/service','../../components/interaction/service','./squareMessage.controller','get','isAuthenticated','index','show','post','create','put','/:id','update','delete','destroy'];(function(_0x5a79e2,_0x319b1a){var _0x266c45=function(_0x172478){while(--_0x172478){_0x5a79e2['push'](_0x5a79e2['shift']());}};_0x266c45(++_0x319b1a);}(_0xf6df,0x144));var _0xff6d=function(_0xbb5009,_0x416706){_0xbb5009=_0xbb5009-0x0;var _0x56a4ae=_0xf6df[_0xbb5009];return _0x56a4ae;};'use strict';var multer=require(_0xff6d('0x0'));var util=require(_0xff6d('0x1'));var path=require(_0xff6d('0x2'));var timeout=require(_0xff6d('0x3'));var express=require('express');var router=express['Router']();var auth=require(_0xff6d('0x4'));var interaction=require(_0xff6d('0x5'));var config=require('../../config/environment');var controller=require(_0xff6d('0x6'));router[_0xff6d('0x7')]('/',auth[_0xff6d('0x8')](),controller[_0xff6d('0x9')]);router[_0xff6d('0x7')]('/:id',auth[_0xff6d('0x8')](),controller[_0xff6d('0xa')]);router[_0xff6d('0xb')]('/',auth['isAuthenticated'](),controller[_0xff6d('0xc')]);router[_0xff6d('0xd')](_0xff6d('0xe'),auth['isAuthenticated'](),controller[_0xff6d('0xf')]);router[_0xff6d('0x10')](_0xff6d('0xe'),auth[_0xff6d('0x8')](),controller[_0xff6d('0x11')]);module['exports']=router; \ No newline at end of file diff --git a/server/api/squareMessage/squareMessage.attributes.js b/server/api/squareMessage/squareMessage.attributes.js index af8e40e..4eba5e9 100644 --- a/server/api/squareMessage/squareMessage.attributes.js +++ b/server/api/squareMessage/squareMessage.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x60de=['ENUM','out','sequelize','exports','TEXT','medium'];(function(_0x4da8a6,_0x2bcd6a){var _0x3e95d9=function(_0x4d66f3){while(--_0x4d66f3){_0x4da8a6['push'](_0x4da8a6['shift']());}};_0x3e95d9(++_0x2bcd6a);}(_0x60de,0x1d0));var _0xe60d=function(_0x42cae2,_0x284ef8){_0x42cae2=_0x42cae2-0x0;var _0x5f256f=_0x60de[_0x42cae2];return _0x5f256f;};'use strict';var Sequelize=require(_0xe60d('0x0'));module[_0xe60d('0x1')]={'uniqueid':{'type':Sequelize['STRING']},'body':{'type':Sequelize[_0xe60d('0x2')](_0xe60d('0x3')),'allowNull':![]},'direction':{'type':Sequelize[_0xe60d('0x4')]('in',_0xe60d('0x5')),'defaultValue':_0xe60d('0x5'),'allowNull':![]}}; \ No newline at end of file +var _0x2a3c=['sequelize','exports','STRING','TEXT','medium','ENUM','out'];(function(_0x387777,_0x356171){var _0x3f84c0=function(_0x4d4423){while(--_0x4d4423){_0x387777['push'](_0x387777['shift']());}};_0x3f84c0(++_0x356171);}(_0x2a3c,0x142));var _0xc2a3=function(_0x4154a6,_0x2c0b8e){_0x4154a6=_0x4154a6-0x0;var _0x3b2786=_0x2a3c[_0x4154a6];return _0x3b2786;};'use strict';var Sequelize=require(_0xc2a3('0x0'));module[_0xc2a3('0x1')]={'uniqueid':{'type':Sequelize[_0xc2a3('0x2')]},'body':{'type':Sequelize[_0xc2a3('0x3')](_0xc2a3('0x4')),'allowNull':![]},'direction':{'type':Sequelize[_0xc2a3('0x5')]('in','out'),'defaultValue':_0xc2a3('0x6'),'allowNull':![]}}; \ No newline at end of file diff --git a/server/api/squareMessage/squareMessage.controller.js b/server/api/squareMessage/squareMessage.controller.js index 274e01b..8f20323 100644 --- a/server/api/squareMessage/squareMessage.controller.js +++ b/server/api/squareMessage/squareMessage.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x4e36=['eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','util','sox','to-csv','ejs','squel','jsforce','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../mysqldb','sendStatus','status','limit','set','Content-Range','json','apply','reject','then','destroy','end','stack','name','send','map','SquareMessage','key','model','keys','query','filters','intersection','fields','attributes','hasOwnProperty','nolimit','offset','sort','where','pick','filter','type','VIRTUAL','merge','options','count','include','rows','show','params','rawAttributes','includeAll','find','catch','create','body','update','html-pdf'];(function(_0x29e3ec,_0x138a18){var _0x25727e=function(_0x2bea0d){while(--_0x2bea0d){_0x29e3ec['push'](_0x29e3ec['shift']());}};_0x25727e(++_0x138a18);}(_0x4e36,0xda));var _0x64e3=function(_0x4e363f,_0x206c55){_0x4e363f=_0x4e363f-0x0;var _0x35dc69=_0x4e36[_0x4e363f];return _0x35dc69;};'use strict';var pdf=require(_0x64e3('0x0'));var emlformat=require(_0x64e3('0x1'));var rimraf=require(_0x64e3('0x2'));var zipdir=require(_0x64e3('0x3'));var jsonpatch=require(_0x64e3('0x4'));var rp=require(_0x64e3('0x5'));var moment=require(_0x64e3('0x6'));var BPromise=require(_0x64e3('0x7'));var Mustache=require('mustache');var util=require(_0x64e3('0x8'));var path=require('path');var sox=require(_0x64e3('0x9'));var csv=require(_0x64e3('0xa'));var ejs=require(_0x64e3('0xb'));var fs=require('fs');var _=require('lodash');var squel=require(_0x64e3('0xc'));var crypto=require('crypto');var jsforce=require(_0x64e3('0xd'));var deskjs=require(_0x64e3('0xe'));var toCsv=require(_0x64e3('0xa'));var querystring=require(_0x64e3('0xf'));var Papa=require(_0x64e3('0x10'));var Redis=require(_0x64e3('0x11'));var authService=require(_0x64e3('0x12'));var qs=require(_0x64e3('0x13'));var as=require(_0x64e3('0x14'));var hardwareService=require(_0x64e3('0x15'));var logger=require(_0x64e3('0x16'))(_0x64e3('0x17'));var utils=require(_0x64e3('0x18'));var config=require('../../config/environment');var db=require(_0x64e3('0x19'))['db'];function respondWithStatusCode(_0x11ed9d,_0x40a30d){_0x40a30d=_0x40a30d||0xcc;return function(_0x6e12f){if(_0x6e12f){return _0x11ed9d[_0x64e3('0x1a')](_0x40a30d);}return _0x11ed9d[_0x64e3('0x1b')](_0x40a30d)['end']();};}function respondWithResult(_0x341914,_0x5878f7){_0x5878f7=_0x5878f7||0xc8;return function(_0x35b47b){if(_0x35b47b){return _0x341914[_0x64e3('0x1b')](_0x5878f7)['json'](_0x35b47b);}};}function respondWithFilteredResult(_0x2e8ef6,_0xc9c77f){return function(_0x2c2c2c){if(_0x2c2c2c){var _0x408166=_0x2c2c2c['count'],_0x5625a7=_0xc9c77f['offset'],_0x441bf8=_0xc9c77f['offset']+_0xc9c77f[_0x64e3('0x1c')],_0x441b3d;if(_0x441bf8>=_0x408166){_0x441bf8=_0x408166;_0x441b3d=0xc8;}else{_0x441b3d=0xce;}_0x2e8ef6[_0x64e3('0x1b')](_0x441b3d);return _0x2e8ef6[_0x64e3('0x1d')](_0x64e3('0x1e'),_0x5625a7+'-'+_0x441bf8+'/'+_0x408166)[_0x64e3('0x1f')](_0x2c2c2c);}return null;};}function patchUpdates(_0x312687){return function(_0x261660){try{jsonpatch[_0x64e3('0x20')](_0x261660,_0x312687,!![]);}catch(_0x1e56b4){return BPromise[_0x64e3('0x21')](_0x1e56b4);}return _0x261660['save']();};}function saveUpdates(_0x11ead3,_0x59bf65){return function(_0xbf73b2){if(_0xbf73b2){return _0xbf73b2['update'](_0x11ead3)[_0x64e3('0x22')](function(_0x5846f0){return _0x5846f0;});}return null;};}function removeEntity(_0x3c0fa8,_0x4fda47){return function(_0xd0c435){if(_0xd0c435){return _0xd0c435[_0x64e3('0x23')]()[_0x64e3('0x22')](function(){_0x3c0fa8['status'](0xcc)[_0x64e3('0x24')]();});}};}function handleEntityNotFound(_0x2d902d,_0xdbe1e6){return function(_0x4f9873){if(!_0x4f9873){_0x2d902d[_0x64e3('0x1a')](0x194);}return _0x4f9873;};}function handleError(_0x3db453,_0x25d17b){_0x25d17b=_0x25d17b||0x1f4;return function(_0x1e4e4c){logger['error'](_0x1e4e4c[_0x64e3('0x25')]);if(_0x1e4e4c[_0x64e3('0x26')]){delete _0x1e4e4c[_0x64e3('0x26')];}_0x3db453[_0x64e3('0x1b')](_0x25d17b)[_0x64e3('0x27')](_0x1e4e4c);};}exports['index']=function(_0x342535,_0x51a1fd){var _0xf5d286={},_0x1a596f={},_0x5ca089={'count':0x0,'rows':[]};var _0x50b7d9=_[_0x64e3('0x28')](db[_0x64e3('0x29')]['rawAttributes'],function(_0xf8950d){return{'name':_0xf8950d['fieldName'],'type':_0xf8950d['type'][_0x64e3('0x2a')]};});_0x1a596f[_0x64e3('0x2b')]=_[_0x64e3('0x28')](_0x50b7d9,_0x64e3('0x26'));_0x1a596f['query']=_[_0x64e3('0x2c')](_0x342535[_0x64e3('0x2d')]);_0x1a596f[_0x64e3('0x2e')]=_['intersection'](_0x1a596f[_0x64e3('0x2b')],_0x1a596f[_0x64e3('0x2d')]);_0xf5d286['attributes']=_[_0x64e3('0x2f')](_0x1a596f[_0x64e3('0x2b')],qs[_0x64e3('0x30')](_0x342535[_0x64e3('0x2d')][_0x64e3('0x30')]));_0xf5d286[_0x64e3('0x31')]=_0xf5d286[_0x64e3('0x31')]['length']?_0xf5d286[_0x64e3('0x31')]:_0x1a596f[_0x64e3('0x2b')];if(!_0x342535[_0x64e3('0x2d')][_0x64e3('0x32')](_0x64e3('0x33'))){_0xf5d286[_0x64e3('0x1c')]=qs[_0x64e3('0x1c')](_0x342535[_0x64e3('0x2d')]['limit']);_0xf5d286['offset']=qs[_0x64e3('0x34')](_0x342535[_0x64e3('0x2d')]['offset']);}_0xf5d286['order']=qs[_0x64e3('0x35')](_0x342535[_0x64e3('0x2d')][_0x64e3('0x35')]);_0xf5d286[_0x64e3('0x36')]=qs[_0x64e3('0x2e')](_[_0x64e3('0x37')](_0x342535['query'],_0x1a596f[_0x64e3('0x2e')]),_0x50b7d9);if(_0x342535[_0x64e3('0x2d')][_0x64e3('0x38')]){_0xf5d286[_0x64e3('0x36')]=_['merge'](_0xf5d286[_0x64e3('0x36')],{'$or':_[_0x64e3('0x28')](_0x50b7d9,function(_0x2a1a2d){if(_0x2a1a2d[_0x64e3('0x39')]!==_0x64e3('0x3a')){var _0x52a281={};_0x52a281[_0x2a1a2d['name']]={'$like':'%'+_0x342535[_0x64e3('0x2d')][_0x64e3('0x38')]+'%'};return _0x52a281;}})});}_0xf5d286=_[_0x64e3('0x3b')]({},_0xf5d286,_0x342535[_0x64e3('0x3c')]);var _0x5b04db={'where':_0xf5d286['where']};return db['SquareMessage'][_0x64e3('0x3d')](_0x5b04db)[_0x64e3('0x22')](function(_0x54df42){_0x5ca089['count']=_0x54df42;if(_0x342535['query']['includeAll']){_0xf5d286[_0x64e3('0x3e')]=[{'all':!![]}];}return db[_0x64e3('0x29')]['findAll'](_0xf5d286);})[_0x64e3('0x22')](function(_0x2c1847){_0x5ca089[_0x64e3('0x3f')]=_0x2c1847;return _0x5ca089;})[_0x64e3('0x22')](respondWithFilteredResult(_0x51a1fd,_0xf5d286))['catch'](handleError(_0x51a1fd,null));};exports[_0x64e3('0x40')]=function(_0x48c528,_0x546cfe){var _0x50f461={'raw':!![],'where':{'id':_0x48c528[_0x64e3('0x41')]['id']}},_0x52a4bd={};_0x52a4bd[_0x64e3('0x2b')]=_[_0x64e3('0x2c')](db[_0x64e3('0x29')][_0x64e3('0x42')]);_0x52a4bd[_0x64e3('0x2d')]=_[_0x64e3('0x2c')](_0x48c528[_0x64e3('0x2d')]);_0x52a4bd['filters']=_[_0x64e3('0x2f')](_0x52a4bd[_0x64e3('0x2b')],_0x52a4bd[_0x64e3('0x2d')]);_0x50f461[_0x64e3('0x31')]=_['intersection'](_0x52a4bd[_0x64e3('0x2b')],qs['fields'](_0x48c528[_0x64e3('0x2d')]['fields']));_0x50f461['attributes']=_0x50f461[_0x64e3('0x31')]['length']?_0x50f461['attributes']:_0x52a4bd['model'];if(_0x48c528['query'][_0x64e3('0x43')]){_0x50f461[_0x64e3('0x3e')]=[{'all':!![]}];}_0x50f461=_[_0x64e3('0x3b')]({},_0x50f461,_0x48c528[_0x64e3('0x3c')]);return db[_0x64e3('0x29')][_0x64e3('0x44')](_0x50f461)['then'](handleEntityNotFound(_0x546cfe,null))['then'](respondWithResult(_0x546cfe,null))[_0x64e3('0x45')](handleError(_0x546cfe,null));};exports['create']=function(_0x9c08ee,_0x144e89){return db[_0x64e3('0x29')][_0x64e3('0x46')](_0x9c08ee[_0x64e3('0x47')],{})[_0x64e3('0x22')](respondWithResult(_0x144e89,0xc9))[_0x64e3('0x45')](handleError(_0x144e89,null));};exports[_0x64e3('0x48')]=function(_0x8ae00d,_0x447af1){if(_0x8ae00d[_0x64e3('0x47')]['id']){delete _0x8ae00d[_0x64e3('0x47')]['id'];}return db[_0x64e3('0x29')][_0x64e3('0x44')]({'where':{'id':_0x8ae00d['params']['id']}})[_0x64e3('0x22')](handleEntityNotFound(_0x447af1,null))[_0x64e3('0x22')](saveUpdates(_0x8ae00d[_0x64e3('0x47')],null))[_0x64e3('0x22')](respondWithResult(_0x447af1,null))[_0x64e3('0x45')](handleError(_0x447af1,null));};exports[_0x64e3('0x23')]=function(_0x336ed3,_0x14436e){return db[_0x64e3('0x29')][_0x64e3('0x44')]({'where':{'id':_0x336ed3[_0x64e3('0x41')]['id']}})['then'](handleEntityNotFound(_0x14436e,null))[_0x64e3('0x22')](removeEntity(_0x14436e,null))[_0x64e3('0x45')](handleError(_0x14436e,null));}; \ No newline at end of file +var _0xe90d=['sort','pick','filter','where','merge','type','options','includeAll','include','findAll','rows','params','length','catch','create','body','find','eml-format','rimraf','request-promise','moment','bluebird','mustache','util','path','sox','to-csv','lodash','squel','crypto','jsforce','desk.js','papaparse','../../components/auth/service','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','../../config/utils','../../config/environment','../../mysqldb','sendStatus','status','end','json','count','Content-Range','apply','reject','save','update','then','destroy','error','stack','name','map','SquareMessage','rawAttributes','fieldName','key','model','query','keys','filters','intersection','fields','attributes','hasOwnProperty','nolimit','limit','offset','order'];(function(_0xc0a3d3,_0x2c8d00){var _0x3386e8=function(_0x3f9df4){while(--_0x3f9df4){_0xc0a3d3['push'](_0xc0a3d3['shift']());}};_0x3386e8(++_0x2c8d00);}(_0xe90d,0x1c1));var _0xde90=function(_0x3b2803,_0x4de60d){_0x3b2803=_0x3b2803-0x0;var _0x5f3b8b=_0xe90d[_0x3b2803];return _0x5f3b8b;};'use strict';var pdf=require('html-pdf');var emlformat=require(_0xde90('0x0'));var rimraf=require(_0xde90('0x1'));var zipdir=require('zip-dir');var jsonpatch=require('fast-json-patch');var rp=require(_0xde90('0x2'));var moment=require(_0xde90('0x3'));var BPromise=require(_0xde90('0x4'));var Mustache=require(_0xde90('0x5'));var util=require(_0xde90('0x6'));var path=require(_0xde90('0x7'));var sox=require(_0xde90('0x8'));var csv=require(_0xde90('0x9'));var ejs=require('ejs');var fs=require('fs');var _=require(_0xde90('0xa'));var squel=require(_0xde90('0xb'));var crypto=require(_0xde90('0xc'));var jsforce=require(_0xde90('0xd'));var deskjs=require(_0xde90('0xe'));var toCsv=require('to-csv');var querystring=require('querystring');var Papa=require(_0xde90('0xf'));var Redis=require('ioredis');var authService=require(_0xde90('0x10'));var qs=require('../../components/parsers/qs');var as=require(_0xde90('0x11'));var hardwareService=require(_0xde90('0x12'));var logger=require(_0xde90('0x13'))('api');var utils=require(_0xde90('0x14'));var config=require(_0xde90('0x15'));var db=require(_0xde90('0x16'))['db'];function respondWithStatusCode(_0x336294,_0x1c4a5c){_0x1c4a5c=_0x1c4a5c||0xcc;return function(_0x247c89){if(_0x247c89){return _0x336294[_0xde90('0x17')](_0x1c4a5c);}return _0x336294[_0xde90('0x18')](_0x1c4a5c)[_0xde90('0x19')]();};}function respondWithResult(_0x170963,_0x37c958){_0x37c958=_0x37c958||0xc8;return function(_0x17915b){if(_0x17915b){return _0x170963['status'](_0x37c958)[_0xde90('0x1a')](_0x17915b);}};}function respondWithFilteredResult(_0x304138,_0x1a0bc3){return function(_0x57b9ed){if(_0x57b9ed){var _0x43a3e5=_0x57b9ed[_0xde90('0x1b')],_0x9358eb=_0x1a0bc3['offset'],_0x4d6ad5=_0x1a0bc3['offset']+_0x1a0bc3['limit'],_0x53be45;if(_0x4d6ad5>=_0x43a3e5){_0x4d6ad5=_0x43a3e5;_0x53be45=0xc8;}else{_0x53be45=0xce;}_0x304138[_0xde90('0x18')](_0x53be45);return _0x304138['set'](_0xde90('0x1c'),_0x9358eb+'-'+_0x4d6ad5+'/'+_0x43a3e5)['json'](_0x57b9ed);}return null;};}function patchUpdates(_0x3bede8){return function(_0x4b14f4){try{jsonpatch[_0xde90('0x1d')](_0x4b14f4,_0x3bede8,!![]);}catch(_0x3f771e){return BPromise[_0xde90('0x1e')](_0x3f771e);}return _0x4b14f4[_0xde90('0x1f')]();};}function saveUpdates(_0x4ff9d6,_0x13a264){return function(_0x1c7dc7){if(_0x1c7dc7){return _0x1c7dc7[_0xde90('0x20')](_0x4ff9d6)[_0xde90('0x21')](function(_0x1a5d34){return _0x1a5d34;});}return null;};}function removeEntity(_0x522b96,_0xdf0189){return function(_0x319628){if(_0x319628){return _0x319628[_0xde90('0x22')]()[_0xde90('0x21')](function(){_0x522b96[_0xde90('0x18')](0xcc)['end']();});}};}function handleEntityNotFound(_0x5d5aa2,_0x3c946e){return function(_0xcbd597){if(!_0xcbd597){_0x5d5aa2[_0xde90('0x17')](0x194);}return _0xcbd597;};}function handleError(_0x48ceba,_0x2be6db){_0x2be6db=_0x2be6db||0x1f4;return function(_0x48c53d){logger[_0xde90('0x23')](_0x48c53d[_0xde90('0x24')]);if(_0x48c53d[_0xde90('0x25')]){delete _0x48c53d[_0xde90('0x25')];}_0x48ceba[_0xde90('0x18')](_0x2be6db)['send'](_0x48c53d);};}exports['index']=function(_0x1b722b,_0x13e994){var _0x5430ad={},_0x63c342={},_0x2e19fd={'count':0x0,'rows':[]};var _0x46b5a6=_[_0xde90('0x26')](db[_0xde90('0x27')][_0xde90('0x28')],function(_0x3758dd){return{'name':_0x3758dd[_0xde90('0x29')],'type':_0x3758dd['type'][_0xde90('0x2a')]};});_0x63c342[_0xde90('0x2b')]=_[_0xde90('0x26')](_0x46b5a6,_0xde90('0x25'));_0x63c342[_0xde90('0x2c')]=_[_0xde90('0x2d')](_0x1b722b[_0xde90('0x2c')]);_0x63c342[_0xde90('0x2e')]=_[_0xde90('0x2f')](_0x63c342[_0xde90('0x2b')],_0x63c342['query']);_0x5430ad['attributes']=_['intersection'](_0x63c342[_0xde90('0x2b')],qs['fields'](_0x1b722b[_0xde90('0x2c')][_0xde90('0x30')]));_0x5430ad['attributes']=_0x5430ad[_0xde90('0x31')]['length']?_0x5430ad[_0xde90('0x31')]:_0x63c342[_0xde90('0x2b')];if(!_0x1b722b['query'][_0xde90('0x32')](_0xde90('0x33'))){_0x5430ad[_0xde90('0x34')]=qs[_0xde90('0x34')](_0x1b722b['query'][_0xde90('0x34')]);_0x5430ad[_0xde90('0x35')]=qs[_0xde90('0x35')](_0x1b722b[_0xde90('0x2c')][_0xde90('0x35')]);}_0x5430ad[_0xde90('0x36')]=qs[_0xde90('0x37')](_0x1b722b[_0xde90('0x2c')]['sort']);_0x5430ad['where']=qs['filters'](_[_0xde90('0x38')](_0x1b722b['query'],_0x63c342[_0xde90('0x2e')]),_0x46b5a6);if(_0x1b722b[_0xde90('0x2c')][_0xde90('0x39')]){_0x5430ad[_0xde90('0x3a')]=_[_0xde90('0x3b')](_0x5430ad[_0xde90('0x3a')],{'$or':_[_0xde90('0x26')](_0x46b5a6,function(_0x4d1da0){if(_0x4d1da0[_0xde90('0x3c')]!=='VIRTUAL'){var _0x3773e5={};_0x3773e5[_0x4d1da0[_0xde90('0x25')]]={'$like':'%'+_0x1b722b[_0xde90('0x2c')][_0xde90('0x39')]+'%'};return _0x3773e5;}})});}_0x5430ad=_['merge']({},_0x5430ad,_0x1b722b[_0xde90('0x3d')]);var _0x5ec976={'where':_0x5430ad[_0xde90('0x3a')]};return db['SquareMessage'][_0xde90('0x1b')](_0x5ec976)[_0xde90('0x21')](function(_0x109304){_0x2e19fd[_0xde90('0x1b')]=_0x109304;if(_0x1b722b[_0xde90('0x2c')][_0xde90('0x3e')]){_0x5430ad[_0xde90('0x3f')]=[{'all':!![]}];}return db['SquareMessage'][_0xde90('0x40')](_0x5430ad);})[_0xde90('0x21')](function(_0x66ca65){_0x2e19fd[_0xde90('0x41')]=_0x66ca65;return _0x2e19fd;})[_0xde90('0x21')](respondWithFilteredResult(_0x13e994,_0x5430ad))['catch'](handleError(_0x13e994,null));};exports['show']=function(_0x1de1c6,_0x4b0f60){var _0x424d0b={'raw':!![],'where':{'id':_0x1de1c6[_0xde90('0x42')]['id']}},_0x9f7c2={};_0x9f7c2[_0xde90('0x2b')]=_['keys'](db[_0xde90('0x27')]['rawAttributes']);_0x9f7c2['query']=_[_0xde90('0x2d')](_0x1de1c6[_0xde90('0x2c')]);_0x9f7c2[_0xde90('0x2e')]=_[_0xde90('0x2f')](_0x9f7c2['model'],_0x9f7c2[_0xde90('0x2c')]);_0x424d0b['attributes']=_['intersection'](_0x9f7c2['model'],qs[_0xde90('0x30')](_0x1de1c6['query']['fields']));_0x424d0b['attributes']=_0x424d0b[_0xde90('0x31')][_0xde90('0x43')]?_0x424d0b[_0xde90('0x31')]:_0x9f7c2[_0xde90('0x2b')];if(_0x1de1c6[_0xde90('0x2c')][_0xde90('0x3e')]){_0x424d0b[_0xde90('0x3f')]=[{'all':!![]}];}_0x424d0b=_[_0xde90('0x3b')]({},_0x424d0b,_0x1de1c6['options']);return db[_0xde90('0x27')]['find'](_0x424d0b)[_0xde90('0x21')](handleEntityNotFound(_0x4b0f60,null))['then'](respondWithResult(_0x4b0f60,null))[_0xde90('0x44')](handleError(_0x4b0f60,null));};exports[_0xde90('0x45')]=function(_0xe4991a,_0x41a214){return db['SquareMessage'][_0xde90('0x45')](_0xe4991a[_0xde90('0x46')],{})[_0xde90('0x21')](respondWithResult(_0x41a214,0xc9))[_0xde90('0x44')](handleError(_0x41a214,null));};exports['update']=function(_0xab33b3,_0x15232f){if(_0xab33b3['body']['id']){delete _0xab33b3['body']['id'];}return db[_0xde90('0x27')]['find']({'where':{'id':_0xab33b3[_0xde90('0x42')]['id']}})[_0xde90('0x21')](handleEntityNotFound(_0x15232f,null))[_0xde90('0x21')](saveUpdates(_0xab33b3[_0xde90('0x46')],null))[_0xde90('0x21')](respondWithResult(_0x15232f,null))[_0xde90('0x44')](handleError(_0x15232f,null));};exports[_0xde90('0x22')]=function(_0x30d821,_0x37c785){return db['SquareMessage'][_0xde90('0x47')]({'where':{'id':_0x30d821['params']['id']}})[_0xde90('0x21')](handleEntityNotFound(_0x37c785,null))['then'](removeEntity(_0x37c785,null))['catch'](handleError(_0x37c785,null));}; \ No newline at end of file diff --git a/server/api/squareMessage/squareMessage.model.js b/server/api/squareMessage/squareMessage.model.js index 385a652..78433a3 100644 --- a/server/api/squareMessage/squareMessage.model.js +++ b/server/api/squareMessage/squareMessage.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x66e0=['rimraf','../../config/environment','./squareMessage.attributes','define','SquareMessage','lodash','../../config/logger','api','bluebird','request-promise'];(function(_0x25662e,_0x4cec68){var _0x59b7bc=function(_0xafb159){while(--_0xafb159){_0x25662e['push'](_0x25662e['shift']());}};_0x59b7bc(++_0x4cec68);}(_0x66e0,0x1db));var _0x066e=function(_0x4b631a,_0x9b1b6a){_0x4b631a=_0x4b631a-0x0;var _0xa31cd7=_0x66e0[_0x4b631a];return _0xa31cd7;};'use strict';var _=require(_0x066e('0x0'));var util=require('util');var logger=require(_0x066e('0x1'))(_0x066e('0x2'));var moment=require('moment');var BPromise=require(_0x066e('0x3'));var rp=require(_0x066e('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x066e('0x5'));var config=require(_0x066e('0x6'));var attributes=require(_0x066e('0x7'));module['exports']=function(_0x3008d6,_0x3eef3c){return _0x3008d6[_0x066e('0x8')](_0x066e('0x9'),attributes,{'tableName':'square_messages','paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0xa8e2=['rimraf','../../config/environment','./squareMessage.attributes','exports','square_messages','lodash','bluebird','path'];(function(_0x1ee4c7,_0x4e6a45){var _0x4a2b6f=function(_0x569478){while(--_0x569478){_0x1ee4c7['push'](_0x1ee4c7['shift']());}};_0x4a2b6f(++_0x4e6a45);}(_0xa8e2,0x9d));var _0x2a8e=function(_0x286f4c,_0x2d6625){_0x286f4c=_0x286f4c-0x0;var _0xd615ad=_0xa8e2[_0x286f4c];return _0xd615ad;};'use strict';var _=require(_0x2a8e('0x0'));var util=require('util');var logger=require('../../config/logger')('api');var moment=require('moment');var BPromise=require(_0x2a8e('0x1'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x2a8e('0x2'));var rimraf=require(_0x2a8e('0x3'));var config=require(_0x2a8e('0x4'));var attributes=require(_0x2a8e('0x5'));module[_0x2a8e('0x6')]=function(_0x98391a,_0x102011){return _0x98391a['define']('SquareMessage',attributes,{'tableName':_0x2a8e('0x7'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/squareMessage/squareMessage.rpc.js b/server/api/squareMessage/squareMessage.rpc.js index 445d65e..fba5765 100644 --- a/server/api/squareMessage/squareMessage.rpc.js +++ b/server/api/squareMessage/squareMessage.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x8a8b=['randomstring','../../mysqldb','../../config/logger','../../config/environment','jayson/promise','client','request','then','info','SquareMessage,\x20%s,\x20%s','request\x20sent','debug','SquareMessage,\x20%s,\x20%s,\x20%s','stringify','error','code','message','CreateSquareMessage','body','catch','lodash','bluebird'];(function(_0x355a91,_0x3c78cd){var _0x3a7cf3=function(_0x2366a1){while(--_0x2366a1){_0x355a91['push'](_0x355a91['shift']());}};_0x3a7cf3(++_0x3c78cd);}(_0x8a8b,0xae));var _0xb8a8=function(_0x35af5b,_0x3f4549){_0x35af5b=_0x35af5b-0x0;var _0x28c7de=_0x8a8b[_0x35af5b];return _0x28c7de;};'use strict';var _=require(_0xb8a8('0x0'));var util=require('util');var moment=require('moment');var BPromise=require(_0xb8a8('0x1'));var rs=require(_0xb8a8('0x2'));var fs=require('fs');var Redis=require('ioredis');var db=require(_0xb8a8('0x3'))['db'];var utils=require('../../config/utils');var logger=require(_0xb8a8('0x4'))('rpc');var config=require(_0xb8a8('0x5'));var jayson=require(_0xb8a8('0x6'));var client=jayson[_0xb8a8('0x7')]['http']({'port':0x232a});function respondWithRpcPromise(_0x37e48d,_0x59cf56,_0x32d542){return new BPromise(function(_0x4c46e9,_0x79cb4a){return client[_0xb8a8('0x8')](_0x37e48d,_0x32d542)[_0xb8a8('0x9')](function(_0x5b1515){logger[_0xb8a8('0xa')](_0xb8a8('0xb'),_0x59cf56,_0xb8a8('0xc'));logger[_0xb8a8('0xd')](_0xb8a8('0xe'),_0x59cf56,_0xb8a8('0xc'),JSON[_0xb8a8('0xf')](_0x5b1515));if(_0x5b1515[_0xb8a8('0x10')]){if(_0x5b1515[_0xb8a8('0x10')][_0xb8a8('0x11')]===0x1f4){logger[_0xb8a8('0x10')](_0xb8a8('0xb'),_0x59cf56,_0x5b1515[_0xb8a8('0x10')]['message']);return _0x79cb4a(_0x5b1515[_0xb8a8('0x10')][_0xb8a8('0x12')]);}logger[_0xb8a8('0x10')](_0xb8a8('0xb'),_0x59cf56,_0x5b1515[_0xb8a8('0x10')][_0xb8a8('0x12')]);return _0x4c46e9(_0x5b1515[_0xb8a8('0x10')][_0xb8a8('0x12')]);}else{logger[_0xb8a8('0xa')](_0xb8a8('0xb'),_0x59cf56,_0xb8a8('0xc'));_0x4c46e9(_0x5b1515['result'][_0xb8a8('0x12')]);}})['catch'](function(_0x9bd9af){logger[_0xb8a8('0x10')](_0xb8a8('0xb'),_0x59cf56,_0x9bd9af);_0x79cb4a(_0x9bd9af);});});}exports[_0xb8a8('0x13')]=function(_0x121be4){var _0x1ab317=this;return new Promise(function(_0x1d0898,_0x25c111){return db['SquareMessage']['create'](_0x121be4[_0xb8a8('0x14')],{'raw':_0x121be4['options']?_0x121be4['options']['raw']===undefined?!![]:![]:!![]})[_0xb8a8('0x9')](function(_0x44cdee){logger[_0xb8a8('0xa')](_0xb8a8('0x13'),_0x121be4);logger[_0xb8a8('0xd')](_0xb8a8('0x13'),_0x121be4,JSON['stringify'](_0x44cdee));_0x1d0898(_0x44cdee);})[_0xb8a8('0x15')](function(_0x9ca4b){logger[_0xb8a8('0x10')](_0xb8a8('0x13'),_0x9ca4b['message'],_0x121be4);_0x25c111(_0x1ab317[_0xb8a8('0x10')](0x1f4,_0x9ca4b['message']));});});}; \ No newline at end of file +var _0x5fab=['debug','SquareMessage,\x20%s,\x20%s,\x20%s','stringify','error','code','message','SquareMessage,\x20%s,\x20%s','result','catch','CreateSquareMessage','SquareMessage','create','body','options','raw','lodash','util','bluebird','randomstring','ioredis','../../mysqldb','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','client','request','then','request\x20sent'];(function(_0x437965,_0x505fbe){var _0xe5a70a=function(_0x3a845d){while(--_0x3a845d){_0x437965['push'](_0x437965['shift']());}};_0xe5a70a(++_0x505fbe);}(_0x5fab,0x177));var _0xb5fa=function(_0x48a24a,_0x3cb63c){_0x48a24a=_0x48a24a-0x0;var _0x5e35d8=_0x5fab[_0x48a24a];return _0x5e35d8;};'use strict';var _=require(_0xb5fa('0x0'));var util=require(_0xb5fa('0x1'));var moment=require('moment');var BPromise=require(_0xb5fa('0x2'));var rs=require(_0xb5fa('0x3'));var fs=require('fs');var Redis=require(_0xb5fa('0x4'));var db=require(_0xb5fa('0x5'))['db'];var utils=require(_0xb5fa('0x6'));var logger=require(_0xb5fa('0x7'))(_0xb5fa('0x8'));var config=require(_0xb5fa('0x9'));var jayson=require(_0xb5fa('0xa'));var client=jayson[_0xb5fa('0xb')]['http']({'port':0x232a});function respondWithRpcPromise(_0x5d70f6,_0x2e3804,_0x1aec3e){return new BPromise(function(_0x9c7bce,_0x56d018){return client[_0xb5fa('0xc')](_0x5d70f6,_0x1aec3e)[_0xb5fa('0xd')](function(_0x2cf4a5){logger['info']('SquareMessage,\x20%s,\x20%s',_0x2e3804,_0xb5fa('0xe'));logger[_0xb5fa('0xf')](_0xb5fa('0x10'),_0x2e3804,_0xb5fa('0xe'),JSON[_0xb5fa('0x11')](_0x2cf4a5));if(_0x2cf4a5[_0xb5fa('0x12')]){if(_0x2cf4a5[_0xb5fa('0x12')][_0xb5fa('0x13')]===0x1f4){logger[_0xb5fa('0x12')]('SquareMessage,\x20%s,\x20%s',_0x2e3804,_0x2cf4a5[_0xb5fa('0x12')][_0xb5fa('0x14')]);return _0x56d018(_0x2cf4a5['error'][_0xb5fa('0x14')]);}logger['error'](_0xb5fa('0x15'),_0x2e3804,_0x2cf4a5[_0xb5fa('0x12')][_0xb5fa('0x14')]);return _0x9c7bce(_0x2cf4a5[_0xb5fa('0x12')][_0xb5fa('0x14')]);}else{logger['info']('SquareMessage,\x20%s,\x20%s',_0x2e3804,_0xb5fa('0xe'));_0x9c7bce(_0x2cf4a5[_0xb5fa('0x16')][_0xb5fa('0x14')]);}})[_0xb5fa('0x17')](function(_0x56fe10){logger['error'](_0xb5fa('0x15'),_0x2e3804,_0x56fe10);_0x56d018(_0x56fe10);});});}exports[_0xb5fa('0x18')]=function(_0x32e9e5){var _0x46eef0=this;return new Promise(function(_0x324ba5,_0x13e82b){return db[_0xb5fa('0x19')][_0xb5fa('0x1a')](_0x32e9e5[_0xb5fa('0x1b')],{'raw':_0x32e9e5[_0xb5fa('0x1c')]?_0x32e9e5[_0xb5fa('0x1c')][_0xb5fa('0x1d')]===undefined?!![]:![]:!![]})['then'](function(_0x432bfa){logger['info'](_0xb5fa('0x18'),_0x32e9e5);logger['debug'](_0xb5fa('0x18'),_0x32e9e5,JSON[_0xb5fa('0x11')](_0x432bfa));_0x324ba5(_0x432bfa);})['catch'](function(_0x40dfdf){logger[_0xb5fa('0x12')](_0xb5fa('0x18'),_0x40dfdf['message'],_0x32e9e5);_0x13e82b(_0x46eef0[_0xb5fa('0x12')](0x1f4,_0x40dfdf[_0xb5fa('0x14')]));});});}; \ No newline at end of file diff --git a/server/api/squareOdbc/index.js b/server/api/squareOdbc/index.js index 2086d1b..60cc5dc 100644 --- a/server/api/squareOdbc/index.js +++ b/server/api/squareOdbc/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x61ee=['get','/:id','show','isAuthenticated','15s','post','put','delete','destroy','exports','multer','path','connect-timeout','express','Router','../../components/auth/service','../../config/environment','index'];(function(_0x29c056,_0x1992ad){var _0x114384=function(_0x33477b){while(--_0x33477b){_0x29c056['push'](_0x29c056['shift']());}};_0x114384(++_0x1992ad);}(_0x61ee,0x1ba));var _0xe61e=function(_0x2a18b7,_0x5041c8){_0x2a18b7=_0x2a18b7-0x0;var _0x45e74e=_0x61ee[_0x2a18b7];return _0x45e74e;};'use strict';var multer=require(_0xe61e('0x0'));var util=require('util');var path=require(_0xe61e('0x1'));var timeout=require(_0xe61e('0x2'));var express=require(_0xe61e('0x3'));var router=express[_0xe61e('0x4')]();var auth=require(_0xe61e('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0xe61e('0x6'));var controller=require('./squareOdbc.controller');router['get']('/',auth['isAuthenticated'](),controller[_0xe61e('0x7')]);router[_0xe61e('0x8')](_0xe61e('0x9'),auth['isAuthenticated'](),controller[_0xe61e('0xa')]);router[_0xe61e('0x8')]('/:id/test',auth[_0xe61e('0xb')](),timeout(_0xe61e('0xc')),controller['test']);router[_0xe61e('0xd')]('/',auth[_0xe61e('0xb')](),controller['create']);router[_0xe61e('0xe')](_0xe61e('0x9'),auth[_0xe61e('0xb')](),controller['update']);router[_0xe61e('0xf')](_0xe61e('0x9'),auth[_0xe61e('0xb')](),controller[_0xe61e('0x10')]);module[_0xe61e('0x11')]=router; \ No newline at end of file +var _0xe130=['isAuthenticated','index','/:id','/:id/test','post','create','put','update','delete','exports','multer','util','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','./squareOdbc.controller','get'];(function(_0x3d4552,_0x477228){var _0xc87d7d=function(_0x16e470){while(--_0x16e470){_0x3d4552['push'](_0x3d4552['shift']());}};_0xc87d7d(++_0x477228);}(_0xe130,0x127));var _0x0e13=function(_0x26d990,_0x15e24f){_0x26d990=_0x26d990-0x0;var _0x103d7a=_0xe130[_0x26d990];return _0x103d7a;};'use strict';var multer=require(_0x0e13('0x0'));var util=require(_0x0e13('0x1'));var path=require('path');var timeout=require(_0x0e13('0x2'));var express=require(_0x0e13('0x3'));var router=express[_0x0e13('0x4')]();var auth=require(_0x0e13('0x5'));var interaction=require(_0x0e13('0x6'));var config=require('../../config/environment');var controller=require(_0x0e13('0x7'));router[_0x0e13('0x8')]('/',auth[_0x0e13('0x9')](),controller[_0x0e13('0xa')]);router['get'](_0x0e13('0xb'),auth['isAuthenticated'](),controller['show']);router['get'](_0x0e13('0xc'),auth[_0x0e13('0x9')](),timeout('15s'),controller['test']);router[_0x0e13('0xd')]('/',auth[_0x0e13('0x9')](),controller[_0x0e13('0xe')]);router[_0x0e13('0xf')]('/:id',auth['isAuthenticated'](),controller[_0x0e13('0x10')]);router[_0x0e13('0x11')](_0x0e13('0xb'),auth[_0x0e13('0x9')](),controller['destroy']);module[_0x0e13('0x12')]=router; \ No newline at end of file diff --git a/server/api/squareOdbc/squareOdbc.attributes.js b/server/api/squareOdbc/squareOdbc.attributes.js index 6991a3a..73e5faa 100644 --- a/server/api/squareOdbc/squareOdbc.attributes.js +++ b/server/api/squareOdbc/squareOdbc.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x7895=['exports','STRING','name','sequelize'];(function(_0x3e9470,_0x3f71e0){var _0x350559=function(_0x25f9f4){while(--_0x25f9f4){_0x3e9470['push'](_0x3e9470['shift']());}};_0x350559(++_0x3f71e0);}(_0x7895,0xe3));var _0x5789=function(_0x27bc6a,_0x266ab2){_0x27bc6a=_0x27bc6a-0x0;var _0x1d5903=_0x7895[_0x27bc6a];return _0x1d5903;};'use strict';var Sequelize=require(_0x5789('0x0'));module[_0x5789('0x1')]={'name':{'type':Sequelize[_0x5789('0x2')],'unique':_0x5789('0x3'),'allowNull':![]},'dsn':{'type':Sequelize[_0x5789('0x2')]},'description':{'type':Sequelize[_0x5789('0x2')]}}; \ No newline at end of file +var _0xc307=['name','sequelize','STRING'];(function(_0x2cf2e9,_0xd58ea1){var _0xd3670d=function(_0x272868){while(--_0x272868){_0x2cf2e9['push'](_0x2cf2e9['shift']());}};_0xd3670d(++_0xd58ea1);}(_0xc307,0x139));var _0x7c30=function(_0x456002,_0x343c22){_0x456002=_0x456002-0x0;var _0x16f755=_0xc307[_0x456002];return _0x16f755;};'use strict';var Sequelize=require(_0x7c30('0x0'));module['exports']={'name':{'type':Sequelize[_0x7c30('0x1')],'unique':_0x7c30('0x2'),'allowNull':![]},'dsn':{'type':Sequelize[_0x7c30('0x1')]},'description':{'type':Sequelize[_0x7c30('0x1')]}}; \ No newline at end of file diff --git a/server/api/squareOdbc/squareOdbc.controller.js b/server/api/squareOdbc/squareOdbc.controller.js index a046314..c629204 100644 --- a/server/api/squareOdbc/squareOdbc.controller.js +++ b/server/api/squareOdbc/squareOdbc.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xdb04=['includeAll','findAll','rows','catch','show','params','include','find','create','user','Unable\x20to\x20retrieve\x20the\x20current\x20user','role','userProfileId','autoAssociation','UserProfileResource','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','body','test','openSync','dsn','closeSync','html-pdf','zip-dir','fast-json-patch','moment','bluebird','mustache','util','sox','ejs','squel','crypto','jsforce','desk.js','to-csv','querystring','papaparse','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','sendStatus','end','json','count','offset','limit','status','set','apply','reject','save','update','destroy','then','get','ODBC','error','stack','name','send','index','SquareOdbc','rawAttributes','fieldName','type','model','query','keys','intersection','attributes','fields','length','hasOwnProperty','nolimit','order','sort','where','filters','pick','merge','VIRTUAL','filter','options'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0xdb04,0xc5));var _0x4db0=function(_0x3128e5,_0x4b18b1){_0x3128e5=_0x3128e5-0x0;var _0x5dd40a=_0xdb04[_0x3128e5];return _0x5dd40a;};'use strict';var pdf=require(_0x4db0('0x0'));var emlformat=require('eml-format');var rimraf=require('rimraf');var zipdir=require(_0x4db0('0x1'));var jsonpatch=require(_0x4db0('0x2'));var rp=require('request-promise');var moment=require(_0x4db0('0x3'));var BPromise=require(_0x4db0('0x4'));var Mustache=require(_0x4db0('0x5'));var util=require(_0x4db0('0x6'));var path=require('path');var sox=require(_0x4db0('0x7'));var csv=require('to-csv');var ejs=require(_0x4db0('0x8'));var fs=require('fs');var _=require('lodash');var squel=require(_0x4db0('0x9'));var crypto=require(_0x4db0('0xa'));var jsforce=require(_0x4db0('0xb'));var deskjs=require(_0x4db0('0xc'));var toCsv=require(_0x4db0('0xd'));var querystring=require(_0x4db0('0xe'));var Papa=require(_0x4db0('0xf'));var Redis=require('ioredis');var authService=require('../../components/auth/service');var qs=require(_0x4db0('0x10'));var as=require(_0x4db0('0x11'));var hardwareService=require(_0x4db0('0x12'));var logger=require(_0x4db0('0x13'))(_0x4db0('0x14'));var utils=require(_0x4db0('0x15'));var config=require(_0x4db0('0x16'));var db=require(_0x4db0('0x17'))['db'];function respondWithStatusCode(_0x483075,_0x1e92d4){_0x1e92d4=_0x1e92d4||0xcc;return function(_0x5282da){if(_0x5282da){return _0x483075[_0x4db0('0x18')](_0x1e92d4);}return _0x483075['status'](_0x1e92d4)[_0x4db0('0x19')]();};}function respondWithResult(_0x1cebf4,_0x567f21){_0x567f21=_0x567f21||0xc8;return function(_0x13f2db){if(_0x13f2db){return _0x1cebf4['status'](_0x567f21)[_0x4db0('0x1a')](_0x13f2db);}};}function respondWithFilteredResult(_0x5cb20d,_0x243683){return function(_0x31fefc){if(_0x31fefc){var _0x4ef62d=_0x31fefc[_0x4db0('0x1b')],_0x902c4d=_0x243683[_0x4db0('0x1c')],_0xfd8416=_0x243683[_0x4db0('0x1c')]+_0x243683[_0x4db0('0x1d')],_0x3c2faf;if(_0xfd8416>=_0x4ef62d){_0xfd8416=_0x4ef62d;_0x3c2faf=0xc8;}else{_0x3c2faf=0xce;}_0x5cb20d[_0x4db0('0x1e')](_0x3c2faf);return _0x5cb20d[_0x4db0('0x1f')]('Content-Range',_0x902c4d+'-'+_0xfd8416+'/'+_0x4ef62d)[_0x4db0('0x1a')](_0x31fefc);}return null;};}function patchUpdates(_0x4bae3f){return function(_0x12d178){try{jsonpatch[_0x4db0('0x20')](_0x12d178,_0x4bae3f,!![]);}catch(_0x43c719){return BPromise[_0x4db0('0x21')](_0x43c719);}return _0x12d178[_0x4db0('0x22')]();};}function saveUpdates(_0x4f8760,_0x20cbab){return function(_0x184be2){if(_0x184be2){return _0x184be2[_0x4db0('0x23')](_0x4f8760)['then'](function(_0x4a88c1){return _0x4a88c1;});}return null;};}function removeEntity(_0x19ec2f,_0x44ea97){return function(_0x672040){if(_0x672040){return _0x672040[_0x4db0('0x24')]()[_0x4db0('0x25')](function(){var _0x348b93=_0x672040[_0x4db0('0x26')]({'plain':!![]});var _0x36f2fa=_0x4db0('0x27');return db['UserProfileResource'][_0x4db0('0x24')]({'where':{'type':_0x36f2fa,'resourceId':_0x348b93['id']}})[_0x4db0('0x25')](function(){return _0x672040;});})[_0x4db0('0x25')](function(){_0x19ec2f[_0x4db0('0x1e')](0xcc)[_0x4db0('0x19')]();});}};}function handleEntityNotFound(_0x243df6,_0x4148d5){return function(_0x4b3ee8){if(!_0x4b3ee8){_0x243df6[_0x4db0('0x18')](0x194);}return _0x4b3ee8;};}function handleError(_0x3caccf,_0x4bf16e){_0x4bf16e=_0x4bf16e||0x1f4;return function(_0x390d5d){logger[_0x4db0('0x28')](_0x390d5d[_0x4db0('0x29')]);if(_0x390d5d[_0x4db0('0x2a')]){delete _0x390d5d[_0x4db0('0x2a')];}_0x3caccf[_0x4db0('0x1e')](_0x4bf16e)[_0x4db0('0x2b')](_0x390d5d);};}exports[_0x4db0('0x2c')]=function(_0x2d5f75,_0x4c8a02){var _0x4bf624={},_0x5d4b0d={},_0x4e5e4d={'count':0x0,'rows':[]};var _0x13f990=_['map'](db[_0x4db0('0x2d')][_0x4db0('0x2e')],function(_0x4a5126){return{'name':_0x4a5126[_0x4db0('0x2f')],'type':_0x4a5126[_0x4db0('0x30')]['key']};});_0x5d4b0d[_0x4db0('0x31')]=_['map'](_0x13f990,'name');_0x5d4b0d[_0x4db0('0x32')]=_[_0x4db0('0x33')](_0x2d5f75[_0x4db0('0x32')]);_0x5d4b0d['filters']=_[_0x4db0('0x34')](_0x5d4b0d['model'],_0x5d4b0d['query']);_0x4bf624[_0x4db0('0x35')]=_['intersection'](_0x5d4b0d[_0x4db0('0x31')],qs['fields'](_0x2d5f75[_0x4db0('0x32')][_0x4db0('0x36')]));_0x4bf624['attributes']=_0x4bf624[_0x4db0('0x35')][_0x4db0('0x37')]?_0x4bf624['attributes']:_0x5d4b0d[_0x4db0('0x31')];if(!_0x2d5f75[_0x4db0('0x32')][_0x4db0('0x38')](_0x4db0('0x39'))){_0x4bf624[_0x4db0('0x1d')]=qs[_0x4db0('0x1d')](_0x2d5f75[_0x4db0('0x32')][_0x4db0('0x1d')]);_0x4bf624[_0x4db0('0x1c')]=qs[_0x4db0('0x1c')](_0x2d5f75[_0x4db0('0x32')][_0x4db0('0x1c')]);}_0x4bf624[_0x4db0('0x3a')]=qs[_0x4db0('0x3b')](_0x2d5f75[_0x4db0('0x32')][_0x4db0('0x3b')]);_0x4bf624[_0x4db0('0x3c')]=qs[_0x4db0('0x3d')](_[_0x4db0('0x3e')](_0x2d5f75['query'],_0x5d4b0d[_0x4db0('0x3d')]),_0x13f990);if(_0x2d5f75['query']['filter']){_0x4bf624[_0x4db0('0x3c')]=_[_0x4db0('0x3f')](_0x4bf624['where'],{'$or':_['map'](_0x13f990,function(_0x259839){if(_0x259839[_0x4db0('0x30')]!==_0x4db0('0x40')){var _0x2e122c={};_0x2e122c[_0x259839[_0x4db0('0x2a')]]={'$like':'%'+_0x2d5f75['query'][_0x4db0('0x41')]+'%'};return _0x2e122c;}})});}_0x4bf624=_['merge']({},_0x4bf624,_0x2d5f75[_0x4db0('0x42')]);var _0x6d5416={'where':_0x4bf624[_0x4db0('0x3c')]};return db[_0x4db0('0x2d')][_0x4db0('0x1b')](_0x6d5416)[_0x4db0('0x25')](function(_0x4e3721){_0x4e5e4d[_0x4db0('0x1b')]=_0x4e3721;if(_0x2d5f75[_0x4db0('0x32')][_0x4db0('0x43')]){_0x4bf624['include']=[{'all':!![]}];}return db[_0x4db0('0x2d')][_0x4db0('0x44')](_0x4bf624);})[_0x4db0('0x25')](function(_0x13c806){_0x4e5e4d[_0x4db0('0x45')]=_0x13c806;return _0x4e5e4d;})[_0x4db0('0x25')](respondWithFilteredResult(_0x4c8a02,_0x4bf624))[_0x4db0('0x46')](handleError(_0x4c8a02,null));};exports[_0x4db0('0x47')]=function(_0x17b3fd,_0x32d421){var _0x9988bc={'raw':!![],'where':{'id':_0x17b3fd[_0x4db0('0x48')]['id']}},_0x33d020={};_0x33d020[_0x4db0('0x31')]=_[_0x4db0('0x33')](db[_0x4db0('0x2d')]['rawAttributes']);_0x33d020[_0x4db0('0x32')]=_['keys'](_0x17b3fd[_0x4db0('0x32')]);_0x33d020['filters']=_[_0x4db0('0x34')](_0x33d020[_0x4db0('0x31')],_0x33d020['query']);_0x9988bc[_0x4db0('0x35')]=_[_0x4db0('0x34')](_0x33d020['model'],qs[_0x4db0('0x36')](_0x17b3fd['query'][_0x4db0('0x36')]));_0x9988bc[_0x4db0('0x35')]=_0x9988bc[_0x4db0('0x35')][_0x4db0('0x37')]?_0x9988bc[_0x4db0('0x35')]:_0x33d020['model'];if(_0x17b3fd[_0x4db0('0x32')][_0x4db0('0x43')]){_0x9988bc[_0x4db0('0x49')]=[{'all':!![]}];}_0x9988bc=_[_0x4db0('0x3f')]({},_0x9988bc,_0x17b3fd['options']);return db['SquareOdbc'][_0x4db0('0x4a')](_0x9988bc)[_0x4db0('0x25')](handleEntityNotFound(_0x32d421,null))[_0x4db0('0x25')](respondWithResult(_0x32d421,null))[_0x4db0('0x46')](handleError(_0x32d421,null));};exports[_0x4db0('0x4b')]=function(_0x38d5ae,_0x542994){return db[_0x4db0('0x2d')]['create'](_0x38d5ae['body'],{})[_0x4db0('0x25')](function(_0x44c273){var _0x40d71b=_0x38d5ae[_0x4db0('0x4c')][_0x4db0('0x26')]({'plain':!![]});if(!_0x40d71b)throw new Error(_0x4db0('0x4d'));if(_0x40d71b[_0x4db0('0x4e')]==='user'){var _0x319ec1=_0x44c273[_0x4db0('0x26')]({'plain':!![]});var _0x5363b5='ODBC';return db['UserProfileSection']['find']({'where':{'name':_0x5363b5,'userProfileId':_0x40d71b[_0x4db0('0x4f')]},'raw':!![]})[_0x4db0('0x25')](function(_0x7debc3){if(_0x7debc3&&_0x7debc3[_0x4db0('0x50')]===0x0){return db[_0x4db0('0x51')][_0x4db0('0x4b')]({'name':_0x319ec1[_0x4db0('0x2a')],'resourceId':_0x319ec1['id'],'type':_0x7debc3['name'],'sectionId':_0x7debc3['id']},{})['then'](function(){return _0x44c273;});}else{return _0x44c273;}})[_0x4db0('0x46')](function(_0x5ab4e5){logger[_0x4db0('0x28')](_0x4db0('0x52'),_0x5ab4e5);throw _0x5ab4e5;});}return _0x44c273;})[_0x4db0('0x25')](respondWithResult(_0x542994,0xc9))[_0x4db0('0x46')](handleError(_0x542994,null));};exports[_0x4db0('0x23')]=function(_0x57d9b0,_0x58c7e8){if(_0x57d9b0['body']['id']){delete _0x57d9b0[_0x4db0('0x53')]['id'];}return db[_0x4db0('0x2d')][_0x4db0('0x4a')]({'where':{'id':_0x57d9b0['params']['id']}})[_0x4db0('0x25')](handleEntityNotFound(_0x58c7e8,null))[_0x4db0('0x25')](saveUpdates(_0x57d9b0[_0x4db0('0x53')],null))['then'](respondWithResult(_0x58c7e8,null))[_0x4db0('0x46')](handleError(_0x58c7e8,null));};exports[_0x4db0('0x24')]=function(_0xa79143,_0x43da78){return db['SquareOdbc'][_0x4db0('0x4a')]({'where':{'id':_0xa79143[_0x4db0('0x48')]['id']}})[_0x4db0('0x25')](handleEntityNotFound(_0x43da78,null))[_0x4db0('0x25')](removeEntity(_0x43da78,null))[_0x4db0('0x46')](handleError(_0x43da78,null));};exports[_0x4db0('0x54')]=function(_0x4f7c0a,_0x17da5d,_0x395dd5){var _0x299c43;return db[_0x4db0('0x2d')][_0x4db0('0x4a')]({'where':{'id':_0x4f7c0a[_0x4db0('0x48')]['id']},'attributes':['id','dsn']})[_0x4db0('0x25')](handleEntityNotFound(_0x17da5d,null))[_0x4db0('0x25')](function(_0x2bba57){if(_0x2bba57){var _0x4b1408=require('odbc')();_0x4b1408[_0x4db0('0x55')](_0x2bba57[_0x4db0('0x56')]);_0x4b1408[_0x4db0('0x57')]();return _0x2bba57;}})['then'](respondWithResult(_0x17da5d,null))[_0x4db0('0x46')](handleError(_0x17da5d,null));}; \ No newline at end of file +var _0x7545=['lodash','squel','crypto','jsforce','desk.js','querystring','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','sendStatus','status','end','json','count','offset','limit','set','Content-Range','apply','reject','save','update','then','destroy','get','ODBC','UserProfileResource','stack','name','send','index','map','rawAttributes','fieldName','type','model','query','keys','filters','intersection','attributes','fields','length','hasOwnProperty','order','sort','where','filter','merge','VIRTUAL','options','SquareOdbc','includeAll','include','rows','params','catch','create','body','Unable\x20to\x20retrieve\x20the\x20current\x20user','role','user','UserProfileSection','find','userProfileId','autoAssociation','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','test','dsn','odbc','openSync','closeSync','html-pdf','eml-format','zip-dir','fast-json-patch','request-promise','moment','bluebird','mustache','util','sox','to-csv','ejs'];(function(_0x3de4b2,_0x2b1cb8){var _0x57ca15=function(_0xfa5c0b){while(--_0xfa5c0b){_0x3de4b2['push'](_0x3de4b2['shift']());}};_0x57ca15(++_0x2b1cb8);}(_0x7545,0x160));var _0x5754=function(_0xf96ed5,_0x445b60){_0xf96ed5=_0xf96ed5-0x0;var _0x513293=_0x7545[_0xf96ed5];return _0x513293;};'use strict';var pdf=require(_0x5754('0x0'));var emlformat=require(_0x5754('0x1'));var rimraf=require('rimraf');var zipdir=require(_0x5754('0x2'));var jsonpatch=require(_0x5754('0x3'));var rp=require(_0x5754('0x4'));var moment=require(_0x5754('0x5'));var BPromise=require(_0x5754('0x6'));var Mustache=require(_0x5754('0x7'));var util=require(_0x5754('0x8'));var path=require('path');var sox=require(_0x5754('0x9'));var csv=require(_0x5754('0xa'));var ejs=require(_0x5754('0xb'));var fs=require('fs');var _=require(_0x5754('0xc'));var squel=require(_0x5754('0xd'));var crypto=require(_0x5754('0xe'));var jsforce=require(_0x5754('0xf'));var deskjs=require(_0x5754('0x10'));var toCsv=require(_0x5754('0xa'));var querystring=require(_0x5754('0x11'));var Papa=require('papaparse');var Redis=require(_0x5754('0x12'));var authService=require(_0x5754('0x13'));var qs=require(_0x5754('0x14'));var as=require(_0x5754('0x15'));var hardwareService=require(_0x5754('0x16'));var logger=require(_0x5754('0x17'))(_0x5754('0x18'));var utils=require(_0x5754('0x19'));var config=require(_0x5754('0x1a'));var db=require(_0x5754('0x1b'))['db'];function respondWithStatusCode(_0x42a00f,_0x60ce7f){_0x60ce7f=_0x60ce7f||0xcc;return function(_0x5026fc){if(_0x5026fc){return _0x42a00f[_0x5754('0x1c')](_0x60ce7f);}return _0x42a00f[_0x5754('0x1d')](_0x60ce7f)[_0x5754('0x1e')]();};}function respondWithResult(_0xb2dc71,_0x19f58f){_0x19f58f=_0x19f58f||0xc8;return function(_0x43a418){if(_0x43a418){return _0xb2dc71[_0x5754('0x1d')](_0x19f58f)[_0x5754('0x1f')](_0x43a418);}};}function respondWithFilteredResult(_0x1db8df,_0xb2e6d5){return function(_0x2aa978){if(_0x2aa978){var _0x31a0d5=_0x2aa978[_0x5754('0x20')],_0x246951=_0xb2e6d5[_0x5754('0x21')],_0x28525d=_0xb2e6d5[_0x5754('0x21')]+_0xb2e6d5[_0x5754('0x22')],_0x1c9e52;if(_0x28525d>=_0x31a0d5){_0x28525d=_0x31a0d5;_0x1c9e52=0xc8;}else{_0x1c9e52=0xce;}_0x1db8df[_0x5754('0x1d')](_0x1c9e52);return _0x1db8df[_0x5754('0x23')](_0x5754('0x24'),_0x246951+'-'+_0x28525d+'/'+_0x31a0d5)[_0x5754('0x1f')](_0x2aa978);}return null;};}function patchUpdates(_0x443f93){return function(_0x70e370){try{jsonpatch[_0x5754('0x25')](_0x70e370,_0x443f93,!![]);}catch(_0x47ff9e){return BPromise[_0x5754('0x26')](_0x47ff9e);}return _0x70e370[_0x5754('0x27')]();};}function saveUpdates(_0x559964,_0x56311f){return function(_0x41860c){if(_0x41860c){return _0x41860c[_0x5754('0x28')](_0x559964)[_0x5754('0x29')](function(_0x52baa5){return _0x52baa5;});}return null;};}function removeEntity(_0x3f4151,_0x2eaf43){return function(_0x3546b1){if(_0x3546b1){return _0x3546b1[_0x5754('0x2a')]()[_0x5754('0x29')](function(){var _0x5b8d06=_0x3546b1[_0x5754('0x2b')]({'plain':!![]});var _0x51a204=_0x5754('0x2c');return db[_0x5754('0x2d')][_0x5754('0x2a')]({'where':{'type':_0x51a204,'resourceId':_0x5b8d06['id']}})[_0x5754('0x29')](function(){return _0x3546b1;});})[_0x5754('0x29')](function(){_0x3f4151['status'](0xcc)[_0x5754('0x1e')]();});}};}function handleEntityNotFound(_0x302898,_0x5bc985){return function(_0xae4623){if(!_0xae4623){_0x302898[_0x5754('0x1c')](0x194);}return _0xae4623;};}function handleError(_0x220cca,_0x1f3c63){_0x1f3c63=_0x1f3c63||0x1f4;return function(_0x3b4ff2){logger['error'](_0x3b4ff2[_0x5754('0x2e')]);if(_0x3b4ff2[_0x5754('0x2f')]){delete _0x3b4ff2[_0x5754('0x2f')];}_0x220cca['status'](_0x1f3c63)[_0x5754('0x30')](_0x3b4ff2);};}exports[_0x5754('0x31')]=function(_0x14c249,_0x1f549f){var _0x19aaf4={},_0x20bce9={},_0x3557ed={'count':0x0,'rows':[]};var _0x38ba2e=_[_0x5754('0x32')](db['SquareOdbc'][_0x5754('0x33')],function(_0x5dcfbb){return{'name':_0x5dcfbb[_0x5754('0x34')],'type':_0x5dcfbb[_0x5754('0x35')]['key']};});_0x20bce9[_0x5754('0x36')]=_[_0x5754('0x32')](_0x38ba2e,_0x5754('0x2f'));_0x20bce9[_0x5754('0x37')]=_[_0x5754('0x38')](_0x14c249[_0x5754('0x37')]);_0x20bce9[_0x5754('0x39')]=_[_0x5754('0x3a')](_0x20bce9[_0x5754('0x36')],_0x20bce9[_0x5754('0x37')]);_0x19aaf4[_0x5754('0x3b')]=_['intersection'](_0x20bce9[_0x5754('0x36')],qs[_0x5754('0x3c')](_0x14c249[_0x5754('0x37')][_0x5754('0x3c')]));_0x19aaf4['attributes']=_0x19aaf4[_0x5754('0x3b')][_0x5754('0x3d')]?_0x19aaf4['attributes']:_0x20bce9[_0x5754('0x36')];if(!_0x14c249['query'][_0x5754('0x3e')]('nolimit')){_0x19aaf4[_0x5754('0x22')]=qs['limit'](_0x14c249[_0x5754('0x37')][_0x5754('0x22')]);_0x19aaf4[_0x5754('0x21')]=qs[_0x5754('0x21')](_0x14c249[_0x5754('0x37')][_0x5754('0x21')]);}_0x19aaf4[_0x5754('0x3f')]=qs[_0x5754('0x40')](_0x14c249[_0x5754('0x37')][_0x5754('0x40')]);_0x19aaf4[_0x5754('0x41')]=qs[_0x5754('0x39')](_['pick'](_0x14c249[_0x5754('0x37')],_0x20bce9[_0x5754('0x39')]),_0x38ba2e);if(_0x14c249[_0x5754('0x37')][_0x5754('0x42')]){_0x19aaf4[_0x5754('0x41')]=_[_0x5754('0x43')](_0x19aaf4[_0x5754('0x41')],{'$or':_[_0x5754('0x32')](_0x38ba2e,function(_0x588ad0){if(_0x588ad0[_0x5754('0x35')]!==_0x5754('0x44')){var _0x571ef0={};_0x571ef0[_0x588ad0['name']]={'$like':'%'+_0x14c249['query']['filter']+'%'};return _0x571ef0;}})});}_0x19aaf4=_['merge']({},_0x19aaf4,_0x14c249[_0x5754('0x45')]);var _0x24b27c={'where':_0x19aaf4['where']};return db[_0x5754('0x46')][_0x5754('0x20')](_0x24b27c)['then'](function(_0x715460){_0x3557ed[_0x5754('0x20')]=_0x715460;if(_0x14c249[_0x5754('0x37')][_0x5754('0x47')]){_0x19aaf4[_0x5754('0x48')]=[{'all':!![]}];}return db[_0x5754('0x46')]['findAll'](_0x19aaf4);})[_0x5754('0x29')](function(_0x40d434){_0x3557ed[_0x5754('0x49')]=_0x40d434;return _0x3557ed;})[_0x5754('0x29')](respondWithFilteredResult(_0x1f549f,_0x19aaf4))['catch'](handleError(_0x1f549f,null));};exports['show']=function(_0x129c05,_0x4dbbe5){var _0x429f06={'raw':!![],'where':{'id':_0x129c05[_0x5754('0x4a')]['id']}},_0x31fa17={};_0x31fa17['model']=_[_0x5754('0x38')](db[_0x5754('0x46')]['rawAttributes']);_0x31fa17[_0x5754('0x37')]=_[_0x5754('0x38')](_0x129c05[_0x5754('0x37')]);_0x31fa17['filters']=_[_0x5754('0x3a')](_0x31fa17[_0x5754('0x36')],_0x31fa17['query']);_0x429f06[_0x5754('0x3b')]=_[_0x5754('0x3a')](_0x31fa17[_0x5754('0x36')],qs[_0x5754('0x3c')](_0x129c05[_0x5754('0x37')][_0x5754('0x3c')]));_0x429f06[_0x5754('0x3b')]=_0x429f06[_0x5754('0x3b')][_0x5754('0x3d')]?_0x429f06[_0x5754('0x3b')]:_0x31fa17[_0x5754('0x36')];if(_0x129c05[_0x5754('0x37')]['includeAll']){_0x429f06[_0x5754('0x48')]=[{'all':!![]}];}_0x429f06=_[_0x5754('0x43')]({},_0x429f06,_0x129c05['options']);return db['SquareOdbc']['find'](_0x429f06)[_0x5754('0x29')](handleEntityNotFound(_0x4dbbe5,null))[_0x5754('0x29')](respondWithResult(_0x4dbbe5,null))[_0x5754('0x4b')](handleError(_0x4dbbe5,null));};exports[_0x5754('0x4c')]=function(_0x3c8bd0,_0x434d2d){return db[_0x5754('0x46')][_0x5754('0x4c')](_0x3c8bd0[_0x5754('0x4d')],{})[_0x5754('0x29')](function(_0x3aa10e){var _0x2b3129=_0x3c8bd0['user']['get']({'plain':!![]});if(!_0x2b3129)throw new Error(_0x5754('0x4e'));if(_0x2b3129[_0x5754('0x4f')]===_0x5754('0x50')){var _0x32d207=_0x3aa10e['get']({'plain':!![]});var _0x11c53a=_0x5754('0x2c');return db[_0x5754('0x51')][_0x5754('0x52')]({'where':{'name':_0x11c53a,'userProfileId':_0x2b3129[_0x5754('0x53')]},'raw':!![]})['then'](function(_0x13b794){if(_0x13b794&&_0x13b794[_0x5754('0x54')]===0x0){return db[_0x5754('0x2d')][_0x5754('0x4c')]({'name':_0x32d207[_0x5754('0x2f')],'resourceId':_0x32d207['id'],'type':_0x13b794['name'],'sectionId':_0x13b794['id']},{})['then'](function(){return _0x3aa10e;});}else{return _0x3aa10e;}})[_0x5754('0x4b')](function(_0x57f85d){logger['error'](_0x5754('0x55'),_0x57f85d);throw _0x57f85d;});}return _0x3aa10e;})[_0x5754('0x29')](respondWithResult(_0x434d2d,0xc9))[_0x5754('0x4b')](handleError(_0x434d2d,null));};exports[_0x5754('0x28')]=function(_0x8e201d,_0x278469){if(_0x8e201d[_0x5754('0x4d')]['id']){delete _0x8e201d[_0x5754('0x4d')]['id'];}return db['SquareOdbc'][_0x5754('0x52')]({'where':{'id':_0x8e201d[_0x5754('0x4a')]['id']}})['then'](handleEntityNotFound(_0x278469,null))[_0x5754('0x29')](saveUpdates(_0x8e201d[_0x5754('0x4d')],null))[_0x5754('0x29')](respondWithResult(_0x278469,null))[_0x5754('0x4b')](handleError(_0x278469,null));};exports[_0x5754('0x2a')]=function(_0xd30866,_0x4224e2){return db[_0x5754('0x46')]['find']({'where':{'id':_0xd30866[_0x5754('0x4a')]['id']}})['then'](handleEntityNotFound(_0x4224e2,null))['then'](removeEntity(_0x4224e2,null))[_0x5754('0x4b')](handleError(_0x4224e2,null));};exports[_0x5754('0x56')]=function(_0x335787,_0x2f36eb,_0x3f0051){var _0x2ded48;return db[_0x5754('0x46')][_0x5754('0x52')]({'where':{'id':_0x335787[_0x5754('0x4a')]['id']},'attributes':['id',_0x5754('0x57')]})[_0x5754('0x29')](handleEntityNotFound(_0x2f36eb,null))[_0x5754('0x29')](function(_0x3afa15){if(_0x3afa15){var _0x173bb5=require(_0x5754('0x58'))();_0x173bb5[_0x5754('0x59')](_0x3afa15[_0x5754('0x57')]);_0x173bb5[_0x5754('0x5a')]();return _0x3afa15;}})[_0x5754('0x29')](respondWithResult(_0x2f36eb,null))[_0x5754('0x4b')](handleError(_0x2f36eb,null));}; \ No newline at end of file diff --git a/server/api/squareOdbc/squareOdbc.model.js b/server/api/squareOdbc/squareOdbc.model.js index 85306b2..eb39d05 100644 --- a/server/api/squareOdbc/squareOdbc.model.js +++ b/server/api/squareOdbc/squareOdbc.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xc859=['request-promise','path','./squareOdbc.attributes','exports','define','SquareOdbc','square_odbc','util','../../config/logger','api','moment','bluebird'];(function(_0x4a311c,_0x5ea54b){var _0x3a4ef5=function(_0xd23bc9){while(--_0xd23bc9){_0x4a311c['push'](_0x4a311c['shift']());}};_0x3a4ef5(++_0x5ea54b);}(_0xc859,0x17b));var _0x9c85=function(_0x28d18d,_0x55896b){_0x28d18d=_0x28d18d-0x0;var _0x470640=_0xc859[_0x28d18d];return _0x470640;};'use strict';var _=require('lodash');var util=require(_0x9c85('0x0'));var logger=require(_0x9c85('0x1'))(_0x9c85('0x2'));var moment=require(_0x9c85('0x3'));var BPromise=require(_0x9c85('0x4'));var rp=require(_0x9c85('0x5'));var fs=require('fs');var path=require(_0x9c85('0x6'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x9c85('0x7'));module[_0x9c85('0x8')]=function(_0x355518,_0x35c7af){return _0x355518[_0x9c85('0x9')](_0x9c85('0xa'),attributes,{'tableName':_0x9c85('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0x9158=['define','SquareOdbc','square_odbc','lodash','util','../../config/logger','moment','request-promise','../../config/environment','./squareOdbc.attributes','exports'];(function(_0x14add3,_0x13ce8d){var _0x4a174f=function(_0x2b3ed7){while(--_0x2b3ed7){_0x14add3['push'](_0x14add3['shift']());}};_0x4a174f(++_0x13ce8d);}(_0x9158,0x16e));var _0x8915=function(_0x49f366,_0x365cdc){_0x49f366=_0x49f366-0x0;var _0x4a0675=_0x9158[_0x49f366];return _0x4a0675;};'use strict';var _=require(_0x8915('0x0'));var util=require(_0x8915('0x1'));var logger=require(_0x8915('0x2'))('api');var moment=require(_0x8915('0x3'));var BPromise=require('bluebird');var rp=require(_0x8915('0x4'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x8915('0x5'));var attributes=require(_0x8915('0x6'));module[_0x8915('0x7')]=function(_0x2cad3f,_0x455248){return _0x2cad3f[_0x8915('0x8')](_0x8915('0x9'),attributes,{'tableName':_0x8915('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/squareOdbc/squareOdbc.rpc.js b/server/api/squareOdbc/squareOdbc.rpc.js index d0e3917..4940826 100644 --- a/server/api/squareOdbc/squareOdbc.rpc.js +++ b/server/api/squareOdbc/squareOdbc.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xe14b=['ioredis','../../config/utils','../../config/environment','jayson/promise','client','http','then','info','SquareOdbc,\x20%s,\x20%s','SquareOdbc,\x20%s,\x20%s,\x20%s','request\x20sent','error','code','message','result','catch','ShowSquareOdbc','SquareOdbc','find','options','raw','where','attributes','map','include','model','stringify','lodash','util','randomstring'];(function(_0x27dba4,_0x419253){var _0x35ec9d=function(_0x2d13b2){while(--_0x2d13b2){_0x27dba4['push'](_0x27dba4['shift']());}};_0x35ec9d(++_0x419253);}(_0xe14b,0x93));var _0xbe14=function(_0x7ee3a,_0x30b51b){_0x7ee3a=_0x7ee3a-0x0;var _0x1f630b=_0xe14b[_0x7ee3a];return _0x1f630b;};'use strict';var _=require(_0xbe14('0x0'));var util=require(_0xbe14('0x1'));var moment=require('moment');var BPromise=require('bluebird');var rs=require(_0xbe14('0x2'));var fs=require('fs');var Redis=require(_0xbe14('0x3'));var db=require('../../mysqldb')['db'];var utils=require(_0xbe14('0x4'));var logger=require('../../config/logger')('rpc');var config=require(_0xbe14('0x5'));var jayson=require(_0xbe14('0x6'));var client=jayson[_0xbe14('0x7')][_0xbe14('0x8')]({'port':0x232a});function respondWithRpcPromise(_0x1d9ade,_0x39387e,_0x196fca){return new BPromise(function(_0x566ae7,_0x50f909){return client['request'](_0x1d9ade,_0x196fca)[_0xbe14('0x9')](function(_0x6fceff){logger[_0xbe14('0xa')](_0xbe14('0xb'),_0x39387e,'request\x20sent');logger['debug'](_0xbe14('0xc'),_0x39387e,_0xbe14('0xd'),JSON['stringify'](_0x6fceff));if(_0x6fceff[_0xbe14('0xe')]){if(_0x6fceff[_0xbe14('0xe')][_0xbe14('0xf')]===0x1f4){logger[_0xbe14('0xe')](_0xbe14('0xb'),_0x39387e,_0x6fceff[_0xbe14('0xe')][_0xbe14('0x10')]);return _0x50f909(_0x6fceff[_0xbe14('0xe')][_0xbe14('0x10')]);}logger[_0xbe14('0xe')](_0xbe14('0xb'),_0x39387e,_0x6fceff[_0xbe14('0xe')][_0xbe14('0x10')]);return _0x566ae7(_0x6fceff['error']['message']);}else{logger[_0xbe14('0xa')](_0xbe14('0xb'),_0x39387e,_0xbe14('0xd'));_0x566ae7(_0x6fceff[_0xbe14('0x11')]['message']);}})[_0xbe14('0x12')](function(_0xe9c3ec){logger[_0xbe14('0xe')](_0xbe14('0xb'),_0x39387e,_0xe9c3ec);_0x50f909(_0xe9c3ec);});});}exports[_0xbe14('0x13')]=function(_0x29ab73){var _0x17ae86=this;return new Promise(function(_0x5ea1f8,_0x137ee5){return db[_0xbe14('0x14')][_0xbe14('0x15')]({'raw':_0x29ab73[_0xbe14('0x16')]?_0x29ab73[_0xbe14('0x16')][_0xbe14('0x17')]===undefined?!![]:![]:!![],'where':_0x29ab73['options']?_0x29ab73[_0xbe14('0x16')][_0xbe14('0x18')]||null:null,'attributes':_0x29ab73[_0xbe14('0x16')]?_0x29ab73[_0xbe14('0x16')][_0xbe14('0x19')]||null:null,'include':_0x29ab73['options']?_0x29ab73[_0xbe14('0x16')]['include']?_[_0xbe14('0x1a')](_0x29ab73['options'][_0xbe14('0x1b')],function(_0x4a25fa){return{'model':db[_0x4a25fa[_0xbe14('0x1c')]],'as':_0x4a25fa['as'],'attributes':_0x4a25fa[_0xbe14('0x19')],'include':_0x4a25fa['include']?_[_0xbe14('0x1a')](_0x4a25fa['include'],function(_0x4587a8){return{'model':db[_0x4587a8['model']],'as':_0x4587a8['as'],'attributes':_0x4587a8[_0xbe14('0x19')],'include':_0x4587a8[_0xbe14('0x1b')]?_[_0xbe14('0x1a')](_0x4587a8[_0xbe14('0x1b')],function(_0x15ef02){return{'model':db[_0x15ef02[_0xbe14('0x1c')]],'as':_0x15ef02['as'],'attributes':_0x15ef02['attributes']};}):[]};}):[]};}):[]:[]})[_0xbe14('0x9')](function(_0x1ba46a){logger[_0xbe14('0xa')](_0xbe14('0x13'),_0x29ab73);logger['debug'](_0xbe14('0x13'),_0x29ab73,JSON[_0xbe14('0x1d')](_0x1ba46a));_0x5ea1f8(_0x1ba46a);})['catch'](function(_0x3c3613){logger[_0xbe14('0xe')](_0xbe14('0x13'),_0x3c3613[_0xbe14('0x10')],_0x29ab73);_0x137ee5(_0x17ae86[_0xbe14('0xe')](0x1f4,_0x3c3613[_0xbe14('0x10')]));});});}; \ No newline at end of file +var _0x008c=['stringify','ShowSquareOdbc','lodash','util','moment','bluebird','randomstring','../../mysqldb','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','client','http','info','SquareOdbc,\x20%s,\x20%s,\x20%s','request\x20sent','error','code','SquareOdbc,\x20%s,\x20%s','message','catch','find','options','include','map','attributes','model','then'];(function(_0x5e2382,_0x2eca83){var _0x533a35=function(_0x2cf67e){while(--_0x2cf67e){_0x5e2382['push'](_0x5e2382['shift']());}};_0x533a35(++_0x2eca83);}(_0x008c,0x188));var _0xc008=function(_0x33481a,_0x5d4316){_0x33481a=_0x33481a-0x0;var _0x408ab9=_0x008c[_0x33481a];return _0x408ab9;};'use strict';var _=require(_0xc008('0x0'));var util=require(_0xc008('0x1'));var moment=require(_0xc008('0x2'));var BPromise=require(_0xc008('0x3'));var rs=require(_0xc008('0x4'));var fs=require('fs');var Redis=require('ioredis');var db=require(_0xc008('0x5'))['db'];var utils=require(_0xc008('0x6'));var logger=require(_0xc008('0x7'))(_0xc008('0x8'));var config=require(_0xc008('0x9'));var jayson=require(_0xc008('0xa'));var client=jayson[_0xc008('0xb')][_0xc008('0xc')]({'port':0x232a});function respondWithRpcPromise(_0x9c8cb2,_0x4af530,_0x428fa9){return new BPromise(function(_0x5aa09b,_0x30be38){return client['request'](_0x9c8cb2,_0x428fa9)['then'](function(_0x27830d){logger[_0xc008('0xd')]('SquareOdbc,\x20%s,\x20%s',_0x4af530,'request\x20sent');logger['debug'](_0xc008('0xe'),_0x4af530,_0xc008('0xf'),JSON['stringify'](_0x27830d));if(_0x27830d[_0xc008('0x10')]){if(_0x27830d[_0xc008('0x10')][_0xc008('0x11')]===0x1f4){logger[_0xc008('0x10')](_0xc008('0x12'),_0x4af530,_0x27830d[_0xc008('0x10')][_0xc008('0x13')]);return _0x30be38(_0x27830d['error']['message']);}logger[_0xc008('0x10')]('SquareOdbc,\x20%s,\x20%s',_0x4af530,_0x27830d[_0xc008('0x10')][_0xc008('0x13')]);return _0x5aa09b(_0x27830d[_0xc008('0x10')][_0xc008('0x13')]);}else{logger[_0xc008('0xd')]('SquareOdbc,\x20%s,\x20%s',_0x4af530,'request\x20sent');_0x5aa09b(_0x27830d['result'][_0xc008('0x13')]);}})[_0xc008('0x14')](function(_0x3cafe3){logger[_0xc008('0x10')]('SquareOdbc,\x20%s,\x20%s',_0x4af530,_0x3cafe3);_0x30be38(_0x3cafe3);});});}exports['ShowSquareOdbc']=function(_0x540e45){var _0x5c2668=this;return new Promise(function(_0x46042b,_0x462af5){return db['SquareOdbc'][_0xc008('0x15')]({'raw':_0x540e45['options']?_0x540e45['options']['raw']===undefined?!![]:![]:!![],'where':_0x540e45['options']?_0x540e45[_0xc008('0x16')]['where']||null:null,'attributes':_0x540e45['options']?_0x540e45['options']['attributes']||null:null,'include':_0x540e45['options']?_0x540e45[_0xc008('0x16')][_0xc008('0x17')]?_[_0xc008('0x18')](_0x540e45[_0xc008('0x16')][_0xc008('0x17')],function(_0x110128){return{'model':db[_0x110128['model']],'as':_0x110128['as'],'attributes':_0x110128[_0xc008('0x19')],'include':_0x110128['include']?_['map'](_0x110128[_0xc008('0x17')],function(_0x36f358){return{'model':db[_0x36f358[_0xc008('0x1a')]],'as':_0x36f358['as'],'attributes':_0x36f358[_0xc008('0x19')],'include':_0x36f358['include']?_['map'](_0x36f358['include'],function(_0x3f7b07){return{'model':db[_0x3f7b07[_0xc008('0x1a')]],'as':_0x3f7b07['as'],'attributes':_0x3f7b07[_0xc008('0x19')]};}):[]};}):[]};}):[]:[]})[_0xc008('0x1b')](function(_0x5bebd9){logger['info']('ShowSquareOdbc',_0x540e45);logger['debug']('ShowSquareOdbc',_0x540e45,JSON[_0xc008('0x1c')](_0x5bebd9));_0x46042b(_0x5bebd9);})[_0xc008('0x14')](function(_0x25eae4){logger['error'](_0xc008('0x1d'),_0x25eae4[_0xc008('0x13')],_0x540e45);_0x462af5(_0x5c2668[_0xc008('0x10')](0x1f4,_0x25eae4[_0xc008('0x13')]));});});}; \ No newline at end of file diff --git a/server/api/squareProject/index.js b/server/api/squareProject/index.js index 77c614e..4ef2621 100644 --- a/server/api/squareProject/index.js +++ b/server/api/squareProject/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x3266=['express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','index','/:id','show','/:id/users','isAuthenticated','getUsers','post','addUsers','put','update','delete','removeUsers','multer','util','path','connect-timeout'];(function(_0x2d99cb,_0x2d779f){var _0x2fa50d=function(_0x4afa2e){while(--_0x4afa2e){_0x2d99cb['push'](_0x2d99cb['shift']());}};_0x2fa50d(++_0x2d779f);}(_0x3266,0x6a));var _0x6326=function(_0x4792c8,_0x5158a1){_0x4792c8=_0x4792c8-0x0;var _0x35edb1=_0x3266[_0x4792c8];return _0x35edb1;};'use strict';var multer=require(_0x6326('0x0'));var util=require(_0x6326('0x1'));var path=require(_0x6326('0x2'));var timeout=require(_0x6326('0x3'));var express=require(_0x6326('0x4'));var router=express[_0x6326('0x5')]();var auth=require(_0x6326('0x6'));var interaction=require(_0x6326('0x7'));var config=require(_0x6326('0x8'));var controller=require('./squareProject.controller');router[_0x6326('0x9')]('/',auth['isAuthenticated'](),controller[_0x6326('0xa')]);router[_0x6326('0x9')](_0x6326('0xb'),auth['isAuthenticated'](),controller[_0x6326('0xc')]);router['get'](_0x6326('0xd'),auth[_0x6326('0xe')](),controller[_0x6326('0xf')]);router[_0x6326('0x10')]('/',auth[_0x6326('0xe')](),controller['create']);router[_0x6326('0x10')](_0x6326('0xd'),auth[_0x6326('0xe')](),controller[_0x6326('0x11')]);router[_0x6326('0x12')](_0x6326('0xb'),auth[_0x6326('0xe')](),controller[_0x6326('0x13')]);router[_0x6326('0x14')](_0x6326('0xb'),auth['isAuthenticated'](),controller['destroy']);router[_0x6326('0x14')](_0x6326('0xd'),auth['isAuthenticated'](),controller[_0x6326('0x15')]);module['exports']=router; \ No newline at end of file +var _0x757a=['exports','util','path','../../components/auth/service','../../components/interaction/service','../../config/environment','./squareProject.controller','get','isAuthenticated','/:id','show','/:id/users','getUsers','create','post','addUsers','put'];(function(_0x56b215,_0x3adc22){var _0x23219c=function(_0x5e4690){while(--_0x5e4690){_0x56b215['push'](_0x56b215['shift']());}};_0x23219c(++_0x3adc22);}(_0x757a,0xde));var _0xa757=function(_0x54a6de,_0x1cacb8){_0x54a6de=_0x54a6de-0x0;var _0x357b0c=_0x757a[_0x54a6de];return _0x357b0c;};'use strict';var multer=require('multer');var util=require(_0xa757('0x0'));var path=require(_0xa757('0x1'));var timeout=require('connect-timeout');var express=require('express');var router=express['Router']();var auth=require(_0xa757('0x2'));var interaction=require(_0xa757('0x3'));var config=require(_0xa757('0x4'));var controller=require(_0xa757('0x5'));router[_0xa757('0x6')]('/',auth[_0xa757('0x7')](),controller['index']);router[_0xa757('0x6')](_0xa757('0x8'),auth['isAuthenticated'](),controller[_0xa757('0x9')]);router[_0xa757('0x6')](_0xa757('0xa'),auth[_0xa757('0x7')](),controller[_0xa757('0xb')]);router['post']('/',auth[_0xa757('0x7')](),controller[_0xa757('0xc')]);router[_0xa757('0xd')](_0xa757('0xa'),auth[_0xa757('0x7')](),controller[_0xa757('0xe')]);router[_0xa757('0xf')]('/:id',auth['isAuthenticated'](),controller['update']);router['delete']('/:id',auth[_0xa757('0x7')](),controller['destroy']);router['delete'](_0xa757('0xa'),auth['isAuthenticated'](),controller['removeUsers']);module[_0xa757('0x10')]=router; \ No newline at end of file diff --git a/server/api/squareProject/squareProject.attributes.js b/server/api/squareProject/squareProject.attributes.js index 5679cd8..e3de0a1 100644 --- a/server/api/squareProject/squareProject.attributes.js +++ b/server/api/squareProject/squareProject.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x137e=['preproduction','toString','utf8','production','sequelize','exports','STRING','name','TEXT','BLOB','long','getDataValue'];(function(_0x23e062,_0x453d1c){var _0x5bd675=function(_0x3b601e){while(--_0x3b601e){_0x23e062['push'](_0x23e062['shift']());}};_0x5bd675(++_0x453d1c);}(_0x137e,0x88));var _0xe137=function(_0x25f104,_0x283d75){_0x25f104=_0x25f104-0x0;var _0x249430=_0x137e[_0x25f104];return _0x249430;};'use strict';var Sequelize=require(_0xe137('0x0'));module[_0xe137('0x1')]={'name':{'type':Sequelize[_0xe137('0x2')],'unique':_0xe137('0x3'),'allowNull':![]},'description':{'type':Sequelize[_0xe137('0x2')]},'notes':{'type':Sequelize[_0xe137('0x4')]},'preproduction':{'type':Sequelize[_0xe137('0x5')](_0xe137('0x6')),'get':function(){if(this[_0xe137('0x7')]('preproduction')){return this[_0xe137('0x7')](_0xe137('0x8'))[_0xe137('0x9')](_0xe137('0xa'));}}},'production':{'type':Sequelize['BLOB'](_0xe137('0x6')),'get':function(){if(this[_0xe137('0x7')](_0xe137('0xb'))){return this[_0xe137('0x7')](_0xe137('0xb'))[_0xe137('0x9')]('utf8');}}}}; \ No newline at end of file +var _0x1178=['sequelize','STRING','BLOB','long','getDataValue','preproduction','toString','utf8','production'];(function(_0x5706dc,_0x42c945){var _0xb7fbf6=function(_0x5691f5){while(--_0x5691f5){_0x5706dc['push'](_0x5706dc['shift']());}};_0xb7fbf6(++_0x42c945);}(_0x1178,0xcf));var _0x8117=function(_0x122ef9,_0x451d2a){_0x122ef9=_0x122ef9-0x0;var _0x42fba0=_0x1178[_0x122ef9];return _0x42fba0;};'use strict';var Sequelize=require(_0x8117('0x0'));module['exports']={'name':{'type':Sequelize[_0x8117('0x1')],'unique':'name','allowNull':![]},'description':{'type':Sequelize['STRING']},'notes':{'type':Sequelize['TEXT']},'preproduction':{'type':Sequelize[_0x8117('0x2')](_0x8117('0x3')),'get':function(){if(this[_0x8117('0x4')]('preproduction')){return this[_0x8117('0x4')](_0x8117('0x5'))[_0x8117('0x6')](_0x8117('0x7'));}}},'production':{'type':Sequelize[_0x8117('0x2')]('long'),'get':function(){if(this[_0x8117('0x4')](_0x8117('0x8'))){return this[_0x8117('0x4')](_0x8117('0x8'))[_0x8117('0x6')](_0x8117('0x7'));}}}}; \ No newline at end of file diff --git a/server/api/squareProject/squareProject.controller.js b/server/api/squareProject/squareProject.controller.js index 361127a..bc9639c 100644 --- a/server/api/squareProject/squareProject.controller.js +++ b/server/api/squareProject/squareProject.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x0f2e=['merge','VIRTUAL','options','SquareProject','includeAll','include','findAll','rows','catch','keys','create','body','user','Unable\x20to\x20retrieve\x20the\x20current\x20user','role','SquareProjects','UserProfileSection','find','UserProfileResource','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','update','params','addUsers','ids','omit','removeUsers','isArray','userSquareProject:remove','emit','findOne','User','sort','getUsers','html-pdf','eml-format','zip-dir','fast-json-patch','request-promise','moment','bluebird','util','path','sox','to-csv','ejs','lodash','crypto','jsforce','desk.js','papaparse','ioredis','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','defaults','redis','localhost','./squareProject.socket','register','sendStatus','status','end','count','offset','limit','set','reject','save','destroy','then','get','error','stack','name','rawAttributes','fieldName','type','key','model','map','query','filters','intersection','attributes','fields','length','hasOwnProperty','nolimit','where','pick','filter'];(function(_0x263a2f,_0x1e81e3){var _0x8020e8=function(_0x39f91a){while(--_0x39f91a){_0x263a2f['push'](_0x263a2f['shift']());}};_0x8020e8(++_0x1e81e3);}(_0x0f2e,0x80));var _0xe0f2=function(_0x543084,_0x4337f5){_0x543084=_0x543084-0x0;var _0x306a57=_0x0f2e[_0x543084];return _0x306a57;};'use strict';var pdf=require(_0xe0f2('0x0'));var emlformat=require(_0xe0f2('0x1'));var rimraf=require('rimraf');var zipdir=require(_0xe0f2('0x2'));var jsonpatch=require(_0xe0f2('0x3'));var rp=require(_0xe0f2('0x4'));var moment=require(_0xe0f2('0x5'));var BPromise=require(_0xe0f2('0x6'));var Mustache=require('mustache');var util=require(_0xe0f2('0x7'));var path=require(_0xe0f2('0x8'));var sox=require(_0xe0f2('0x9'));var csv=require(_0xe0f2('0xa'));var ejs=require(_0xe0f2('0xb'));var fs=require('fs');var _=require(_0xe0f2('0xc'));var squel=require('squel');var crypto=require(_0xe0f2('0xd'));var jsforce=require(_0xe0f2('0xe'));var deskjs=require(_0xe0f2('0xf'));var toCsv=require(_0xe0f2('0xa'));var querystring=require('querystring');var Papa=require(_0xe0f2('0x10'));var Redis=require(_0xe0f2('0x11'));var authService=require('../../components/auth/service');var qs=require(_0xe0f2('0x12'));var as=require(_0xe0f2('0x13'));var hardwareService=require('../../config/license/hardware');var logger=require(_0xe0f2('0x14'))(_0xe0f2('0x15'));var utils=require(_0xe0f2('0x16'));var config=require(_0xe0f2('0x17'));var db=require(_0xe0f2('0x18'))['db'];config['redis']=_[_0xe0f2('0x19')](config[_0xe0f2('0x1a')],{'host':_0xe0f2('0x1b'),'port':0x18eb});var socket=require('socket.io-emitter')(new Redis(config['redis']));require(_0xe0f2('0x1c'))[_0xe0f2('0x1d')](socket);function respondWithStatusCode(_0x56b7a8,_0x515302){_0x515302=_0x515302||0xcc;return function(_0x5ab1cd){if(_0x5ab1cd){return _0x56b7a8[_0xe0f2('0x1e')](_0x515302);}return _0x56b7a8[_0xe0f2('0x1f')](_0x515302)[_0xe0f2('0x20')]();};}function respondWithResult(_0x2be1ab,_0x55fb95){_0x55fb95=_0x55fb95||0xc8;return function(_0x3c08da){if(_0x3c08da){return _0x2be1ab[_0xe0f2('0x1f')](_0x55fb95)['json'](_0x3c08da);}};}function respondWithFilteredResult(_0x1e4c28,_0x56e353){return function(_0x22923a){if(_0x22923a){var _0x2e6e9f=_0x22923a[_0xe0f2('0x21')],_0x35bbd2=_0x56e353[_0xe0f2('0x22')],_0x1bf9b2=_0x56e353[_0xe0f2('0x22')]+_0x56e353[_0xe0f2('0x23')],_0x10016d;if(_0x1bf9b2>=_0x2e6e9f){_0x1bf9b2=_0x2e6e9f;_0x10016d=0xc8;}else{_0x10016d=0xce;}_0x1e4c28[_0xe0f2('0x1f')](_0x10016d);return _0x1e4c28[_0xe0f2('0x24')]('Content-Range',_0x35bbd2+'-'+_0x1bf9b2+'/'+_0x2e6e9f)['json'](_0x22923a);}return null;};}function patchUpdates(_0x23937c){return function(_0xb4fc7){try{jsonpatch['apply'](_0xb4fc7,_0x23937c,!![]);}catch(_0x1e07f1){return BPromise[_0xe0f2('0x25')](_0x1e07f1);}return _0xb4fc7[_0xe0f2('0x26')]();};}function saveUpdates(_0xc5e43a,_0x4079ea){return function(_0x44764d){if(_0x44764d){return _0x44764d['update'](_0xc5e43a)['then'](function(_0x4e97e7){return _0x4e97e7;});}return null;};}function removeEntity(_0x12fdc9,_0x1155ac){return function(_0x51a521){if(_0x51a521){return _0x51a521[_0xe0f2('0x27')]()[_0xe0f2('0x28')](function(){var _0xa2bac9=_0x51a521[_0xe0f2('0x29')]({'plain':!![]});var _0x10b3bd='SquareProjects';return db['UserProfileResource']['destroy']({'where':{'type':_0x10b3bd,'resourceId':_0xa2bac9['id']}})['then'](function(){return _0x51a521;});})['then'](function(){_0x12fdc9[_0xe0f2('0x1f')](0xcc)['end']();});}};}function handleEntityNotFound(_0x25b72c,_0x48b5df){return function(_0x575532){if(!_0x575532){_0x25b72c['sendStatus'](0x194);}return _0x575532;};}function handleError(_0x492350,_0x1f810c){_0x1f810c=_0x1f810c||0x1f4;return function(_0x20a606){logger[_0xe0f2('0x2a')](_0x20a606[_0xe0f2('0x2b')]);if(_0x20a606[_0xe0f2('0x2c')]){delete _0x20a606[_0xe0f2('0x2c')];}_0x492350[_0xe0f2('0x1f')](_0x1f810c)['send'](_0x20a606);};}exports['index']=function(_0x313498,_0x2fc8f8){var _0x20e2f6={},_0xcbdaab={},_0x2540aa={'count':0x0,'rows':[]};var _0x228082=_['map'](db['SquareProject'][_0xe0f2('0x2d')],function(_0x406963){return{'name':_0x406963[_0xe0f2('0x2e')],'type':_0x406963[_0xe0f2('0x2f')][_0xe0f2('0x30')]};});_0xcbdaab[_0xe0f2('0x31')]=_[_0xe0f2('0x32')](_0x228082,_0xe0f2('0x2c'));_0xcbdaab[_0xe0f2('0x33')]=_['keys'](_0x313498['query']);_0xcbdaab[_0xe0f2('0x34')]=_[_0xe0f2('0x35')](_0xcbdaab[_0xe0f2('0x31')],_0xcbdaab['query']);_0x20e2f6[_0xe0f2('0x36')]=_[_0xe0f2('0x35')](_0xcbdaab[_0xe0f2('0x31')],qs[_0xe0f2('0x37')](_0x313498[_0xe0f2('0x33')][_0xe0f2('0x37')]));_0x20e2f6[_0xe0f2('0x36')]=_0x20e2f6[_0xe0f2('0x36')][_0xe0f2('0x38')]?_0x20e2f6['attributes']:_0xcbdaab['model'];if(!_0x313498[_0xe0f2('0x33')][_0xe0f2('0x39')](_0xe0f2('0x3a'))){_0x20e2f6[_0xe0f2('0x23')]=qs[_0xe0f2('0x23')](_0x313498[_0xe0f2('0x33')][_0xe0f2('0x23')]);_0x20e2f6[_0xe0f2('0x22')]=qs['offset'](_0x313498[_0xe0f2('0x33')][_0xe0f2('0x22')]);}_0x20e2f6['order']=qs['sort'](_0x313498[_0xe0f2('0x33')]['sort']);_0x20e2f6[_0xe0f2('0x3b')]=qs[_0xe0f2('0x34')](_[_0xe0f2('0x3c')](_0x313498[_0xe0f2('0x33')],_0xcbdaab[_0xe0f2('0x34')]),_0x228082);if(_0x313498['query'][_0xe0f2('0x3d')]){_0x20e2f6['where']=_[_0xe0f2('0x3e')](_0x20e2f6[_0xe0f2('0x3b')],{'$or':_[_0xe0f2('0x32')](_0x228082,function(_0x58bacc){if(_0x58bacc[_0xe0f2('0x2f')]!==_0xe0f2('0x3f')){var _0x4f0593={};_0x4f0593[_0x58bacc['name']]={'$like':'%'+_0x313498[_0xe0f2('0x33')][_0xe0f2('0x3d')]+'%'};return _0x4f0593;}})});}_0x20e2f6=_[_0xe0f2('0x3e')]({},_0x20e2f6,_0x313498[_0xe0f2('0x40')]);var _0x1f06f8={'where':_0x20e2f6[_0xe0f2('0x3b')]};return db[_0xe0f2('0x41')][_0xe0f2('0x21')](_0x1f06f8)[_0xe0f2('0x28')](function(_0x43f28b){_0x2540aa[_0xe0f2('0x21')]=_0x43f28b;if(_0x313498['query'][_0xe0f2('0x42')]){_0x20e2f6[_0xe0f2('0x43')]=[{'all':!![]}];}return db[_0xe0f2('0x41')][_0xe0f2('0x44')](_0x20e2f6);})[_0xe0f2('0x28')](function(_0x226896){_0x2540aa[_0xe0f2('0x45')]=_0x226896;return _0x2540aa;})['then'](respondWithFilteredResult(_0x2fc8f8,_0x20e2f6))[_0xe0f2('0x46')](handleError(_0x2fc8f8,null));};exports['show']=function(_0x2100b9,_0x306e3f){var _0x403309={'raw':![],'where':{'id':_0x2100b9['params']['id']}},_0x52a61c={};_0x52a61c[_0xe0f2('0x31')]=_[_0xe0f2('0x47')](db[_0xe0f2('0x41')]['rawAttributes']);_0x52a61c['query']=_[_0xe0f2('0x47')](_0x2100b9[_0xe0f2('0x33')]);_0x52a61c['filters']=_[_0xe0f2('0x35')](_0x52a61c[_0xe0f2('0x31')],_0x52a61c[_0xe0f2('0x33')]);_0x403309['attributes']=_[_0xe0f2('0x35')](_0x52a61c[_0xe0f2('0x31')],qs[_0xe0f2('0x37')](_0x2100b9['query']['fields']));_0x403309['attributes']=_0x403309['attributes'][_0xe0f2('0x38')]?_0x403309['attributes']:_0x52a61c['model'];if(_0x2100b9['query'][_0xe0f2('0x42')]){_0x403309[_0xe0f2('0x43')]=[{'all':!![]}];}_0x403309=_[_0xe0f2('0x3e')]({},_0x403309,_0x2100b9[_0xe0f2('0x40')]);return db['SquareProject']['find'](_0x403309)[_0xe0f2('0x28')](handleEntityNotFound(_0x306e3f,null))['then'](respondWithResult(_0x306e3f,null))[_0xe0f2('0x46')](handleError(_0x306e3f,null));};exports[_0xe0f2('0x48')]=function(_0x2a857e,_0x50a971){return db[_0xe0f2('0x41')][_0xe0f2('0x48')](_0x2a857e[_0xe0f2('0x49')],{})['then'](function(_0x58d4c9){var _0x35d5a2=_0x2a857e[_0xe0f2('0x4a')][_0xe0f2('0x29')]({'plain':!![]});if(!_0x35d5a2)throw new Error(_0xe0f2('0x4b'));if(_0x35d5a2[_0xe0f2('0x4c')]===_0xe0f2('0x4a')){var _0x16ea97=_0x58d4c9['get']({'plain':!![]});var _0x489489=_0xe0f2('0x4d');return db[_0xe0f2('0x4e')][_0xe0f2('0x4f')]({'where':{'name':_0x489489,'userProfileId':_0x35d5a2['userProfileId']},'raw':!![]})[_0xe0f2('0x28')](function(_0x4120de){if(_0x4120de&&_0x4120de['autoAssociation']===0x0){return db[_0xe0f2('0x50')][_0xe0f2('0x48')]({'name':_0x16ea97[_0xe0f2('0x2c')],'resourceId':_0x16ea97['id'],'type':_0x4120de['name'],'sectionId':_0x4120de['id']},{})[_0xe0f2('0x28')](function(){return _0x58d4c9;});}else{return _0x58d4c9;}})[_0xe0f2('0x46')](function(_0x231955){logger[_0xe0f2('0x2a')](_0xe0f2('0x51'),_0x231955);throw _0x231955;});}return _0x58d4c9;})['then'](respondWithResult(_0x50a971,0xc9))[_0xe0f2('0x46')](handleError(_0x50a971,null));};exports[_0xe0f2('0x52')]=function(_0x4e2d67,_0x4efe40){if(_0x4e2d67[_0xe0f2('0x49')]['id']){delete _0x4e2d67['body']['id'];}return db['SquareProject']['find']({'where':{'id':_0x4e2d67[_0xe0f2('0x53')]['id']}})[_0xe0f2('0x28')](handleEntityNotFound(_0x4efe40,null))[_0xe0f2('0x28')](saveUpdates(_0x4e2d67[_0xe0f2('0x49')],null))[_0xe0f2('0x28')](respondWithResult(_0x4efe40,null))[_0xe0f2('0x46')](handleError(_0x4efe40,null));};exports[_0xe0f2('0x27')]=function(_0x396743,_0x4493a1){return db[_0xe0f2('0x41')][_0xe0f2('0x4f')]({'where':{'id':_0x396743[_0xe0f2('0x53')]['id']}})[_0xe0f2('0x28')](handleEntityNotFound(_0x4493a1,null))[_0xe0f2('0x28')](removeEntity(_0x4493a1,null))[_0xe0f2('0x46')](handleError(_0x4493a1,null));};exports[_0xe0f2('0x54')]=function(_0x2b857c,_0x581c2f,_0x36591e){return db[_0xe0f2('0x41')][_0xe0f2('0x4f')]({'where':{'id':_0x2b857c['params']['id']}})[_0xe0f2('0x28')](handleEntityNotFound(_0x581c2f,null))[_0xe0f2('0x28')](function(_0x1afd60){if(_0x1afd60){return _0x1afd60[_0xe0f2('0x54')](_0x2b857c[_0xe0f2('0x49')][_0xe0f2('0x55')],_[_0xe0f2('0x56')](_0x2b857c['body'],['ids','id'])||{});}})[_0xe0f2('0x28')](respondWithResult(_0x581c2f,null))[_0xe0f2('0x46')](handleError(_0x581c2f,null));};exports[_0xe0f2('0x57')]=function(_0x36a6c5,_0x333558,_0x57b89b){return db[_0xe0f2('0x41')][_0xe0f2('0x4f')]({'where':{'id':_0x36a6c5[_0xe0f2('0x53')]['id']}})['then'](handleEntityNotFound(_0x333558,null))[_0xe0f2('0x28')](function(_0x216151){if(_0x216151){return _0x216151[_0xe0f2('0x57')](_0x36a6c5[_0xe0f2('0x33')][_0xe0f2('0x55')])[_0xe0f2('0x28')](function(){if(_[_0xe0f2('0x58')](_0x36a6c5['query'][_0xe0f2('0x55')])){for(var _0x3bb7a6=0x0;_0x3bb7a6<_0x36a6c5[_0xe0f2('0x33')][_0xe0f2('0x55')][_0xe0f2('0x38')];_0x3bb7a6+=0x1){socket['emit'](_0xe0f2('0x59'),{'UserId':Number(_0x36a6c5[_0xe0f2('0x33')]['ids'][_0x3bb7a6]),'SquareProjectId':Number(_0x36a6c5[_0xe0f2('0x53')]['id'])});}}else{socket[_0xe0f2('0x5a')](_0xe0f2('0x59'),{'UserId':Number(_0x36a6c5[_0xe0f2('0x33')][_0xe0f2('0x55')]),'SquareProjectId':Number(_0x36a6c5[_0xe0f2('0x53')]['id'])});}});}})[_0xe0f2('0x28')](respondWithStatusCode(_0x333558,null))[_0xe0f2('0x46')](handleError(_0x333558,null));};exports['getUsers']=function(_0x47e1d3,_0x155c6b,_0x520e61){var _0x4c7a7a={};var _0x380680={};var _0x1c1919;var _0x197dc0;return db['SquareProject'][_0xe0f2('0x5b')]({'where':{'id':_0x47e1d3['params']['id']}})['then'](handleEntityNotFound(_0x155c6b,null))['then'](function(_0x40e588){if(_0x40e588){_0x1c1919=_0x40e588;_0x380680[_0xe0f2('0x31')]=_['keys'](db[_0xe0f2('0x5c')][_0xe0f2('0x2d')]);_0x380680[_0xe0f2('0x33')]=_[_0xe0f2('0x47')](_0x47e1d3[_0xe0f2('0x33')]);_0x380680['filters']=_[_0xe0f2('0x35')](_0x380680['model'],_0x380680[_0xe0f2('0x33')]);_0x4c7a7a[_0xe0f2('0x36')]=_[_0xe0f2('0x35')](_0x380680['model'],qs['fields'](_0x47e1d3[_0xe0f2('0x33')][_0xe0f2('0x37')]));_0x4c7a7a[_0xe0f2('0x36')]=_0x4c7a7a[_0xe0f2('0x36')]['length']?_0x4c7a7a[_0xe0f2('0x36')]:_0x380680['model'];_0x4c7a7a['order']=qs[_0xe0f2('0x5d')](_0x47e1d3[_0xe0f2('0x33')]['sort']);_0x4c7a7a[_0xe0f2('0x3b')]=qs['filters'](_[_0xe0f2('0x3c')](_0x47e1d3[_0xe0f2('0x33')],_0x380680['filters']));if(_0x47e1d3[_0xe0f2('0x33')][_0xe0f2('0x3d')]){_0x4c7a7a[_0xe0f2('0x3b')]=_[_0xe0f2('0x3e')](_0x4c7a7a['where'],{'$or':_[_0xe0f2('0x32')](_0x4c7a7a[_0xe0f2('0x36')],function(_0x586edc){var _0x80bf4f={};_0x80bf4f[_0x586edc]={'$like':'%'+_0x47e1d3[_0xe0f2('0x33')][_0xe0f2('0x3d')]+'%'};return _0x80bf4f;})});}_0x4c7a7a=_[_0xe0f2('0x3e')]({},_0x4c7a7a,_0x47e1d3[_0xe0f2('0x40')]);return _0x1c1919[_0xe0f2('0x5e')](_0x4c7a7a);}})['then'](function(_0x5ca662){if(_0x5ca662){_0x197dc0=_0x5ca662[_0xe0f2('0x38')];if(!_0x47e1d3[_0xe0f2('0x33')][_0xe0f2('0x39')](_0xe0f2('0x3a'))){_0x4c7a7a[_0xe0f2('0x23')]=qs[_0xe0f2('0x23')](_0x47e1d3['query'][_0xe0f2('0x23')]);_0x4c7a7a['offset']=qs[_0xe0f2('0x22')](_0x47e1d3[_0xe0f2('0x33')]['offset']);}return _0x1c1919[_0xe0f2('0x5e')](_0x4c7a7a);}})[_0xe0f2('0x28')](function(_0x161ddc){if(_0x161ddc){return _0x161ddc?{'count':_0x197dc0,'rows':_0x161ddc}:null;}})['then'](respondWithResult(_0x155c6b,null))[_0xe0f2('0x46')](handleError(_0x155c6b,null));}; \ No newline at end of file +var _0xd83e=['key','model','query','keys','filters','intersection','attributes','fields','length','hasOwnProperty','nolimit','order','sort','where','pick','filter','merge','VIRTUAL','options','include','rows','catch','show','params','includeAll','find','create','body','user','get','role','UserProfileSection','userProfileId','autoAssociation','error','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','addUsers','omit','ids','removeUsers','isArray','emit','userSquareProject:remove','getUsers','User','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','util','path','to-csv','ejs','lodash','crypto','jsforce','desk.js','querystring','ioredis','../../components/auth/service','../../components/parsers/advancedSearch','../../config/logger','../../config/utils','../../config/environment','redis','localhost','socket.io-emitter','./squareProject.socket','register','sendStatus','status','end','json','count','offset','limit','Content-Range','apply','save','update','then','destroy','SquareProjects','UserProfileResource','name','send','index','map','SquareProject','rawAttributes','fieldName','type'];(function(_0x488de2,_0x10092b){var _0x53f0eb=function(_0x43a06b){while(--_0x43a06b){_0x488de2['push'](_0x488de2['shift']());}};_0x53f0eb(++_0x10092b);}(_0xd83e,0x147));var _0xed83=function(_0x5013e5,_0xfddcaa){_0x5013e5=_0x5013e5-0x0;var _0x595748=_0xd83e[_0x5013e5];return _0x595748;};'use strict';var pdf=require('html-pdf');var emlformat=require(_0xed83('0x0'));var rimraf=require(_0xed83('0x1'));var zipdir=require(_0xed83('0x2'));var jsonpatch=require(_0xed83('0x3'));var rp=require(_0xed83('0x4'));var moment=require(_0xed83('0x5'));var BPromise=require('bluebird');var Mustache=require('mustache');var util=require(_0xed83('0x6'));var path=require(_0xed83('0x7'));var sox=require('sox');var csv=require(_0xed83('0x8'));var ejs=require(_0xed83('0x9'));var fs=require('fs');var _=require(_0xed83('0xa'));var squel=require('squel');var crypto=require(_0xed83('0xb'));var jsforce=require(_0xed83('0xc'));var deskjs=require(_0xed83('0xd'));var toCsv=require(_0xed83('0x8'));var querystring=require(_0xed83('0xe'));var Papa=require('papaparse');var Redis=require(_0xed83('0xf'));var authService=require(_0xed83('0x10'));var qs=require('../../components/parsers/qs');var as=require(_0xed83('0x11'));var hardwareService=require('../../config/license/hardware');var logger=require(_0xed83('0x12'))('api');var utils=require(_0xed83('0x13'));var config=require(_0xed83('0x14'));var db=require('../../mysqldb')['db'];config[_0xed83('0x15')]=_['defaults'](config['redis'],{'host':_0xed83('0x16'),'port':0x18eb});var socket=require(_0xed83('0x17'))(new Redis(config[_0xed83('0x15')]));require(_0xed83('0x18'))[_0xed83('0x19')](socket);function respondWithStatusCode(_0x4da868,_0x4cd6bc){_0x4cd6bc=_0x4cd6bc||0xcc;return function(_0x126412){if(_0x126412){return _0x4da868[_0xed83('0x1a')](_0x4cd6bc);}return _0x4da868[_0xed83('0x1b')](_0x4cd6bc)[_0xed83('0x1c')]();};}function respondWithResult(_0x4f1839,_0x17100a){_0x17100a=_0x17100a||0xc8;return function(_0x5f22c4){if(_0x5f22c4){return _0x4f1839[_0xed83('0x1b')](_0x17100a)[_0xed83('0x1d')](_0x5f22c4);}};}function respondWithFilteredResult(_0x11f717,_0x48d36e){return function(_0x390c20){if(_0x390c20){var _0x5b08c7=_0x390c20[_0xed83('0x1e')],_0x44e820=_0x48d36e[_0xed83('0x1f')],_0x1f0604=_0x48d36e[_0xed83('0x1f')]+_0x48d36e[_0xed83('0x20')],_0x269426;if(_0x1f0604>=_0x5b08c7){_0x1f0604=_0x5b08c7;_0x269426=0xc8;}else{_0x269426=0xce;}_0x11f717[_0xed83('0x1b')](_0x269426);return _0x11f717['set'](_0xed83('0x21'),_0x44e820+'-'+_0x1f0604+'/'+_0x5b08c7)[_0xed83('0x1d')](_0x390c20);}return null;};}function patchUpdates(_0x258caa){return function(_0x26a530){try{jsonpatch[_0xed83('0x22')](_0x26a530,_0x258caa,!![]);}catch(_0x50a2f2){return BPromise['reject'](_0x50a2f2);}return _0x26a530[_0xed83('0x23')]();};}function saveUpdates(_0xc1463d,_0x477e3f){return function(_0x561f0b){if(_0x561f0b){return _0x561f0b[_0xed83('0x24')](_0xc1463d)[_0xed83('0x25')](function(_0x1f7597){return _0x1f7597;});}return null;};}function removeEntity(_0x4fdfa8,_0x55e319){return function(_0x5cf020){if(_0x5cf020){return _0x5cf020[_0xed83('0x26')]()['then'](function(){var _0x1455fb=_0x5cf020['get']({'plain':!![]});var _0x4b5238=_0xed83('0x27');return db[_0xed83('0x28')][_0xed83('0x26')]({'where':{'type':_0x4b5238,'resourceId':_0x1455fb['id']}})[_0xed83('0x25')](function(){return _0x5cf020;});})['then'](function(){_0x4fdfa8[_0xed83('0x1b')](0xcc)['end']();});}};}function handleEntityNotFound(_0x3f9567,_0x5bb6c){return function(_0x46caee){if(!_0x46caee){_0x3f9567[_0xed83('0x1a')](0x194);}return _0x46caee;};}function handleError(_0x5381a4,_0x43ffe2){_0x43ffe2=_0x43ffe2||0x1f4;return function(_0x2fd5dc){logger['error'](_0x2fd5dc['stack']);if(_0x2fd5dc[_0xed83('0x29')]){delete _0x2fd5dc[_0xed83('0x29')];}_0x5381a4[_0xed83('0x1b')](_0x43ffe2)[_0xed83('0x2a')](_0x2fd5dc);};}exports[_0xed83('0x2b')]=function(_0x44d7e0,_0x40c35d){var _0x275e6d={},_0x4dc415={},_0x39062a={'count':0x0,'rows':[]};var _0x2cf01b=_[_0xed83('0x2c')](db[_0xed83('0x2d')][_0xed83('0x2e')],function(_0x53713a){return{'name':_0x53713a[_0xed83('0x2f')],'type':_0x53713a[_0xed83('0x30')][_0xed83('0x31')]};});_0x4dc415[_0xed83('0x32')]=_[_0xed83('0x2c')](_0x2cf01b,_0xed83('0x29'));_0x4dc415[_0xed83('0x33')]=_[_0xed83('0x34')](_0x44d7e0[_0xed83('0x33')]);_0x4dc415[_0xed83('0x35')]=_[_0xed83('0x36')](_0x4dc415[_0xed83('0x32')],_0x4dc415[_0xed83('0x33')]);_0x275e6d[_0xed83('0x37')]=_[_0xed83('0x36')](_0x4dc415['model'],qs[_0xed83('0x38')](_0x44d7e0['query']['fields']));_0x275e6d[_0xed83('0x37')]=_0x275e6d[_0xed83('0x37')][_0xed83('0x39')]?_0x275e6d[_0xed83('0x37')]:_0x4dc415['model'];if(!_0x44d7e0[_0xed83('0x33')][_0xed83('0x3a')](_0xed83('0x3b'))){_0x275e6d[_0xed83('0x20')]=qs['limit'](_0x44d7e0[_0xed83('0x33')][_0xed83('0x20')]);_0x275e6d[_0xed83('0x1f')]=qs[_0xed83('0x1f')](_0x44d7e0['query'][_0xed83('0x1f')]);}_0x275e6d[_0xed83('0x3c')]=qs[_0xed83('0x3d')](_0x44d7e0['query'][_0xed83('0x3d')]);_0x275e6d[_0xed83('0x3e')]=qs[_0xed83('0x35')](_[_0xed83('0x3f')](_0x44d7e0[_0xed83('0x33')],_0x4dc415[_0xed83('0x35')]),_0x2cf01b);if(_0x44d7e0[_0xed83('0x33')][_0xed83('0x40')]){_0x275e6d[_0xed83('0x3e')]=_[_0xed83('0x41')](_0x275e6d[_0xed83('0x3e')],{'$or':_['map'](_0x2cf01b,function(_0x352c6f){if(_0x352c6f[_0xed83('0x30')]!==_0xed83('0x42')){var _0xad09fa={};_0xad09fa[_0x352c6f[_0xed83('0x29')]]={'$like':'%'+_0x44d7e0[_0xed83('0x33')][_0xed83('0x40')]+'%'};return _0xad09fa;}})});}_0x275e6d=_[_0xed83('0x41')]({},_0x275e6d,_0x44d7e0[_0xed83('0x43')]);var _0x24e629={'where':_0x275e6d['where']};return db['SquareProject'][_0xed83('0x1e')](_0x24e629)[_0xed83('0x25')](function(_0x466a9f){_0x39062a[_0xed83('0x1e')]=_0x466a9f;if(_0x44d7e0['query']['includeAll']){_0x275e6d[_0xed83('0x44')]=[{'all':!![]}];}return db['SquareProject']['findAll'](_0x275e6d);})[_0xed83('0x25')](function(_0x13cbd8){_0x39062a[_0xed83('0x45')]=_0x13cbd8;return _0x39062a;})[_0xed83('0x25')](respondWithFilteredResult(_0x40c35d,_0x275e6d))[_0xed83('0x46')](handleError(_0x40c35d,null));};exports[_0xed83('0x47')]=function(_0x4e32f1,_0x12b0ee){var _0x493d52={'raw':![],'where':{'id':_0x4e32f1[_0xed83('0x48')]['id']}},_0x58de98={};_0x58de98['model']=_[_0xed83('0x34')](db[_0xed83('0x2d')]['rawAttributes']);_0x58de98[_0xed83('0x33')]=_[_0xed83('0x34')](_0x4e32f1[_0xed83('0x33')]);_0x58de98['filters']=_[_0xed83('0x36')](_0x58de98[_0xed83('0x32')],_0x58de98[_0xed83('0x33')]);_0x493d52[_0xed83('0x37')]=_[_0xed83('0x36')](_0x58de98[_0xed83('0x32')],qs[_0xed83('0x38')](_0x4e32f1[_0xed83('0x33')][_0xed83('0x38')]));_0x493d52[_0xed83('0x37')]=_0x493d52[_0xed83('0x37')][_0xed83('0x39')]?_0x493d52[_0xed83('0x37')]:_0x58de98[_0xed83('0x32')];if(_0x4e32f1[_0xed83('0x33')][_0xed83('0x49')]){_0x493d52[_0xed83('0x44')]=[{'all':!![]}];}_0x493d52=_['merge']({},_0x493d52,_0x4e32f1[_0xed83('0x43')]);return db[_0xed83('0x2d')][_0xed83('0x4a')](_0x493d52)[_0xed83('0x25')](handleEntityNotFound(_0x12b0ee,null))[_0xed83('0x25')](respondWithResult(_0x12b0ee,null))['catch'](handleError(_0x12b0ee,null));};exports[_0xed83('0x4b')]=function(_0x226ae4,_0x1706ba){return db[_0xed83('0x2d')][_0xed83('0x4b')](_0x226ae4[_0xed83('0x4c')],{})[_0xed83('0x25')](function(_0x591e5e){var _0x412774=_0x226ae4[_0xed83('0x4d')][_0xed83('0x4e')]({'plain':!![]});if(!_0x412774)throw new Error('Unable\x20to\x20retrieve\x20the\x20current\x20user');if(_0x412774[_0xed83('0x4f')]===_0xed83('0x4d')){var _0x405714=_0x591e5e['get']({'plain':!![]});var _0x5e156b=_0xed83('0x27');return db[_0xed83('0x50')][_0xed83('0x4a')]({'where':{'name':_0x5e156b,'userProfileId':_0x412774[_0xed83('0x51')]},'raw':!![]})[_0xed83('0x25')](function(_0x331ccc){if(_0x331ccc&&_0x331ccc[_0xed83('0x52')]===0x0){return db[_0xed83('0x28')][_0xed83('0x4b')]({'name':_0x405714[_0xed83('0x29')],'resourceId':_0x405714['id'],'type':_0x331ccc[_0xed83('0x29')],'sectionId':_0x331ccc['id']},{})[_0xed83('0x25')](function(){return _0x591e5e;});}else{return _0x591e5e;}})['catch'](function(_0x3dedce){logger[_0xed83('0x53')](_0xed83('0x54'),_0x3dedce);throw _0x3dedce;});}return _0x591e5e;})[_0xed83('0x25')](respondWithResult(_0x1706ba,0xc9))[_0xed83('0x46')](handleError(_0x1706ba,null));};exports[_0xed83('0x24')]=function(_0x2f8749,_0x2f3cd8){if(_0x2f8749[_0xed83('0x4c')]['id']){delete _0x2f8749[_0xed83('0x4c')]['id'];}return db[_0xed83('0x2d')]['find']({'where':{'id':_0x2f8749[_0xed83('0x48')]['id']}})[_0xed83('0x25')](handleEntityNotFound(_0x2f3cd8,null))[_0xed83('0x25')](saveUpdates(_0x2f8749[_0xed83('0x4c')],null))['then'](respondWithResult(_0x2f3cd8,null))[_0xed83('0x46')](handleError(_0x2f3cd8,null));};exports[_0xed83('0x26')]=function(_0x4e7cfd,_0xecea2d){return db[_0xed83('0x2d')]['find']({'where':{'id':_0x4e7cfd['params']['id']}})['then'](handleEntityNotFound(_0xecea2d,null))[_0xed83('0x25')](removeEntity(_0xecea2d,null))[_0xed83('0x46')](handleError(_0xecea2d,null));};exports[_0xed83('0x55')]=function(_0x30c113,_0x2d34f8,_0x41e51f){return db[_0xed83('0x2d')][_0xed83('0x4a')]({'where':{'id':_0x30c113[_0xed83('0x48')]['id']}})['then'](handleEntityNotFound(_0x2d34f8,null))[_0xed83('0x25')](function(_0x344a28){if(_0x344a28){return _0x344a28[_0xed83('0x55')](_0x30c113['body']['ids'],_[_0xed83('0x56')](_0x30c113['body'],[_0xed83('0x57'),'id'])||{});}})[_0xed83('0x25')](respondWithResult(_0x2d34f8,null))[_0xed83('0x46')](handleError(_0x2d34f8,null));};exports[_0xed83('0x58')]=function(_0x117704,_0x4eeb3d,_0x47b84e){return db[_0xed83('0x2d')]['find']({'where':{'id':_0x117704[_0xed83('0x48')]['id']}})[_0xed83('0x25')](handleEntityNotFound(_0x4eeb3d,null))[_0xed83('0x25')](function(_0x3d0d4a){if(_0x3d0d4a){return _0x3d0d4a[_0xed83('0x58')](_0x117704[_0xed83('0x33')]['ids'])[_0xed83('0x25')](function(){if(_[_0xed83('0x59')](_0x117704['query'][_0xed83('0x57')])){for(var _0xc3ec29=0x0;_0xc3ec29<_0x117704['query'][_0xed83('0x57')][_0xed83('0x39')];_0xc3ec29+=0x1){socket[_0xed83('0x5a')](_0xed83('0x5b'),{'UserId':Number(_0x117704[_0xed83('0x33')]['ids'][_0xc3ec29]),'SquareProjectId':Number(_0x117704[_0xed83('0x48')]['id'])});}}else{socket[_0xed83('0x5a')](_0xed83('0x5b'),{'UserId':Number(_0x117704['query'][_0xed83('0x57')]),'SquareProjectId':Number(_0x117704[_0xed83('0x48')]['id'])});}});}})[_0xed83('0x25')](respondWithStatusCode(_0x4eeb3d,null))[_0xed83('0x46')](handleError(_0x4eeb3d,null));};exports[_0xed83('0x5c')]=function(_0x323bb9,_0x246d95,_0x5b58cb){var _0x538c91={};var _0x26520b={};var _0x4064f8;var _0x55dfb1;return db[_0xed83('0x2d')]['findOne']({'where':{'id':_0x323bb9['params']['id']}})[_0xed83('0x25')](handleEntityNotFound(_0x246d95,null))[_0xed83('0x25')](function(_0x47f76b){if(_0x47f76b){_0x4064f8=_0x47f76b;_0x26520b[_0xed83('0x32')]=_[_0xed83('0x34')](db[_0xed83('0x5d')][_0xed83('0x2e')]);_0x26520b[_0xed83('0x33')]=_['keys'](_0x323bb9[_0xed83('0x33')]);_0x26520b['filters']=_['intersection'](_0x26520b[_0xed83('0x32')],_0x26520b[_0xed83('0x33')]);_0x538c91['attributes']=_[_0xed83('0x36')](_0x26520b[_0xed83('0x32')],qs[_0xed83('0x38')](_0x323bb9[_0xed83('0x33')][_0xed83('0x38')]));_0x538c91['attributes']=_0x538c91[_0xed83('0x37')][_0xed83('0x39')]?_0x538c91[_0xed83('0x37')]:_0x26520b[_0xed83('0x32')];_0x538c91['order']=qs[_0xed83('0x3d')](_0x323bb9[_0xed83('0x33')]['sort']);_0x538c91[_0xed83('0x3e')]=qs[_0xed83('0x35')](_[_0xed83('0x3f')](_0x323bb9[_0xed83('0x33')],_0x26520b[_0xed83('0x35')]));if(_0x323bb9[_0xed83('0x33')]['filter']){_0x538c91[_0xed83('0x3e')]=_[_0xed83('0x41')](_0x538c91[_0xed83('0x3e')],{'$or':_['map'](_0x538c91[_0xed83('0x37')],function(_0x39302e){var _0x134003={};_0x134003[_0x39302e]={'$like':'%'+_0x323bb9[_0xed83('0x33')][_0xed83('0x40')]+'%'};return _0x134003;})});}_0x538c91=_[_0xed83('0x41')]({},_0x538c91,_0x323bb9[_0xed83('0x43')]);return _0x4064f8[_0xed83('0x5c')](_0x538c91);}})[_0xed83('0x25')](function(_0x3b911f){if(_0x3b911f){_0x55dfb1=_0x3b911f['length'];if(!_0x323bb9[_0xed83('0x33')][_0xed83('0x3a')](_0xed83('0x3b'))){_0x538c91['limit']=qs[_0xed83('0x20')](_0x323bb9[_0xed83('0x33')]['limit']);_0x538c91['offset']=qs[_0xed83('0x1f')](_0x323bb9[_0xed83('0x33')]['offset']);}return _0x4064f8[_0xed83('0x5c')](_0x538c91);}})[_0xed83('0x25')](function(_0x3c0c7a){if(_0x3c0c7a){return _0x3c0c7a?{'count':_0x55dfb1,'rows':_0x3c0c7a}:null;}})[_0xed83('0x25')](respondWithResult(_0x246d95,null))['catch'](handleError(_0x246d95,null));}; \ No newline at end of file diff --git a/server/api/squareProject/squareProject.events.js b/server/api/squareProject/squareProject.events.js index 8e26b43..2fc62e2 100644 --- a/server/api/squareProject/squareProject.events.js +++ b/server/api/squareProject/squareProject.events.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x5a78=['emit','hasOwnProperty','hook','exports','events','../../mysqldb','SquareProject','setMaxListeners','save','update','remove'];(function(_0x1034ca,_0x14ecd6){var _0x1a023a=function(_0x2cfa65){while(--_0x2cfa65){_0x1034ca['push'](_0x1034ca['shift']());}};_0x1a023a(++_0x14ecd6);}(_0x5a78,0x19b));var _0x85a7=function(_0x358f0a,_0x482b59){_0x358f0a=_0x358f0a-0x0;var _0x47684e=_0x5a78[_0x358f0a];return _0x47684e;};'use strict';var EventEmitter=require(_0x85a7('0x0'));var SquareProject=require(_0x85a7('0x1'))['db'][_0x85a7('0x2')];var SquareProjectEvents=new EventEmitter();SquareProjectEvents[_0x85a7('0x3')](0x0);var events={'afterCreate':_0x85a7('0x4'),'afterUpdate':_0x85a7('0x5'),'afterDestroy':_0x85a7('0x6')};function emitEvent(_0x4ebe34){return function(_0x35e183,_0x3e5f68,_0x27f693){SquareProjectEvents[_0x85a7('0x7')](_0x4ebe34+':'+_0x35e183['id'],_0x35e183);SquareProjectEvents[_0x85a7('0x7')](_0x4ebe34,_0x35e183);_0x27f693(null);};}for(var e in events){if(events[_0x85a7('0x8')](e)){var event=events[e];SquareProject[_0x85a7('0x9')](e,emitEvent(event));}}module[_0x85a7('0xa')]=SquareProjectEvents; \ No newline at end of file +var _0x5f10=['emit','hasOwnProperty','hook','events','../../mysqldb','update','remove'];(function(_0x4a0db0,_0x1ad004){var _0x1398e1=function(_0x196e9e){while(--_0x196e9e){_0x4a0db0['push'](_0x4a0db0['shift']());}};_0x1398e1(++_0x1ad004);}(_0x5f10,0xd5));var _0x05f1=function(_0x1d5352,_0x4f7974){_0x1d5352=_0x1d5352-0x0;var _0x3395c2=_0x5f10[_0x1d5352];return _0x3395c2;};'use strict';var EventEmitter=require(_0x05f1('0x0'));var SquareProject=require(_0x05f1('0x1'))['db']['SquareProject'];var SquareProjectEvents=new EventEmitter();SquareProjectEvents['setMaxListeners'](0x0);var events={'afterCreate':'save','afterUpdate':_0x05f1('0x2'),'afterDestroy':_0x05f1('0x3')};function emitEvent(_0x2eaff1){return function(_0xcb88e1,_0xa8d3b9,_0x23747b){SquareProjectEvents['emit'](_0x2eaff1+':'+_0xcb88e1['id'],_0xcb88e1);SquareProjectEvents[_0x05f1('0x4')](_0x2eaff1,_0xcb88e1);_0x23747b(null);};}for(var e in events){if(events[_0x05f1('0x5')](e)){var event=events[e];SquareProject[_0x05f1('0x6')](e,emitEvent(event));}}module['exports']=SquareProjectEvents; \ No newline at end of file diff --git a/server/api/squareProject/squareProject.model.js b/server/api/squareProject/squareProject.model.js index 866aa0f..d1b101e 100644 --- a/server/api/squareProject/squareProject.model.js +++ b/server/api/squareProject/squareProject.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x5513=['../../config/environment','exports','define','SquareProject','square_projects','util','../../config/logger','api','bluebird','request-promise','path'];(function(_0x58d3c7,_0x36a493){var _0x379fc3=function(_0x13cbd8){while(--_0x13cbd8){_0x58d3c7['push'](_0x58d3c7['shift']());}};_0x379fc3(++_0x36a493);}(_0x5513,0x15a));var _0x3551=function(_0x4c8a8f,_0x997ef){_0x4c8a8f=_0x4c8a8f-0x0;var _0x404500=_0x5513[_0x4c8a8f];return _0x404500;};'use strict';var _=require('lodash');var util=require(_0x3551('0x0'));var logger=require(_0x3551('0x1'))(_0x3551('0x2'));var moment=require('moment');var BPromise=require(_0x3551('0x3'));var rp=require(_0x3551('0x4'));var fs=require('fs');var path=require(_0x3551('0x5'));var rimraf=require('rimraf');var config=require(_0x3551('0x6'));var attributes=require('./squareProject.attributes');module[_0x3551('0x7')]=function(_0x158cff,_0x33e160){return _0x158cff[_0x3551('0x8')](_0x3551('0x9'),attributes,{'tableName':_0x3551('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0xfe61=['util','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','exports','define','SquareProject','lodash'];(function(_0x45ed09,_0x4deb08){var _0x1938a5=function(_0x4b11be){while(--_0x4b11be){_0x45ed09['push'](_0x45ed09['shift']());}};_0x1938a5(++_0x4deb08);}(_0xfe61,0x1eb));var _0x1fe6=function(_0x580b02,_0x57b4f7){_0x580b02=_0x580b02-0x0;var _0x26644c=_0xfe61[_0x580b02];return _0x26644c;};'use strict';var _=require(_0x1fe6('0x0'));var util=require(_0x1fe6('0x1'));var logger=require('../../config/logger')(_0x1fe6('0x2'));var moment=require(_0x1fe6('0x3'));var BPromise=require(_0x1fe6('0x4'));var rp=require(_0x1fe6('0x5'));var fs=require('fs');var path=require(_0x1fe6('0x6'));var rimraf=require(_0x1fe6('0x7'));var config=require(_0x1fe6('0x8'));var attributes=require('./squareProject.attributes');module[_0x1fe6('0x9')]=function(_0x174ba9,_0x2106c0){return _0x174ba9[_0x1fe6('0xa')](_0x1fe6('0xb'),attributes,{'tableName':'square_projects','paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/squareProject/squareProject.rpc.js b/server/api/squareProject/squareProject.rpc.js index 06d63f6..a9045f6 100644 --- a/server/api/squareProject/squareProject.rpc.js +++ b/server/api/squareProject/squareProject.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x7c03=['redis','defaults','./squareProject.socket','request','then','SquareProject,\x20%s,\x20%s','SquareProject,\x20%s,\x20%s,\x20%s','request\x20sent','stringify','error','code','message','info','result','catch','ShowSquareProject','SquareProject','options','raw','where','attributes','include','model','map','debug','lodash','util','moment','randomstring','../../config/utils','../../config/logger','rpc','jayson/promise','client','http'];(function(_0x8c4db3,_0xb1e97f){var _0x321c17=function(_0x6db36){while(--_0x6db36){_0x8c4db3['push'](_0x8c4db3['shift']());}};_0x321c17(++_0xb1e97f);}(_0x7c03,0x10e));var _0x37c0=function(_0x153dd4,_0x45c990){_0x153dd4=_0x153dd4-0x0;var _0x24b6f8=_0x7c03[_0x153dd4];return _0x24b6f8;};'use strict';var _=require(_0x37c0('0x0'));var util=require(_0x37c0('0x1'));var moment=require(_0x37c0('0x2'));var BPromise=require('bluebird');var rs=require(_0x37c0('0x3'));var fs=require('fs');var Redis=require('ioredis');var db=require('../../mysqldb')['db'];var utils=require(_0x37c0('0x4'));var logger=require(_0x37c0('0x5'))(_0x37c0('0x6'));var config=require('../../config/environment');var jayson=require(_0x37c0('0x7'));var client=jayson[_0x37c0('0x8')][_0x37c0('0x9')]({'port':0x232a});config[_0x37c0('0xa')]=_[_0x37c0('0xb')](config[_0x37c0('0xa')],{'host':'localhost','port':0x18eb});var socket=require('socket.io-emitter')(new Redis(config[_0x37c0('0xa')]));require(_0x37c0('0xc'))['register'](socket);function respondWithRpcPromise(_0xe2101,_0x145887,_0x2d52a4){return new BPromise(function(_0x593ceb,_0x17ffc7){return client[_0x37c0('0xd')](_0xe2101,_0x2d52a4)[_0x37c0('0xe')](function(_0x23a05a){logger['info'](_0x37c0('0xf'),_0x145887,'request\x20sent');logger['debug'](_0x37c0('0x10'),_0x145887,_0x37c0('0x11'),JSON[_0x37c0('0x12')](_0x23a05a));if(_0x23a05a[_0x37c0('0x13')]){if(_0x23a05a[_0x37c0('0x13')][_0x37c0('0x14')]===0x1f4){logger['error'](_0x37c0('0xf'),_0x145887,_0x23a05a[_0x37c0('0x13')][_0x37c0('0x15')]);return _0x17ffc7(_0x23a05a['error'][_0x37c0('0x15')]);}logger[_0x37c0('0x13')](_0x37c0('0xf'),_0x145887,_0x23a05a[_0x37c0('0x13')][_0x37c0('0x15')]);return _0x593ceb(_0x23a05a['error'][_0x37c0('0x15')]);}else{logger[_0x37c0('0x16')](_0x37c0('0xf'),_0x145887,_0x37c0('0x11'));_0x593ceb(_0x23a05a[_0x37c0('0x17')][_0x37c0('0x15')]);}})[_0x37c0('0x18')](function(_0x350289){logger[_0x37c0('0x13')]('SquareProject,\x20%s,\x20%s',_0x145887,_0x350289);_0x17ffc7(_0x350289);});});}exports[_0x37c0('0x19')]=function(_0x4b4926){var _0x3365e3=this;return new Promise(function(_0x596fcc,_0x5898c1){return db[_0x37c0('0x1a')]['find']({'raw':_0x4b4926[_0x37c0('0x1b')]?_0x4b4926[_0x37c0('0x1b')][_0x37c0('0x1c')]===undefined?!![]:![]:!![],'where':_0x4b4926['options']?_0x4b4926[_0x37c0('0x1b')][_0x37c0('0x1d')]||null:null,'attributes':_0x4b4926[_0x37c0('0x1b')]?_0x4b4926[_0x37c0('0x1b')][_0x37c0('0x1e')]||null:null,'include':_0x4b4926[_0x37c0('0x1b')]?_0x4b4926[_0x37c0('0x1b')][_0x37c0('0x1f')]?_['map'](_0x4b4926[_0x37c0('0x1b')][_0x37c0('0x1f')],function(_0x254280){return{'model':db[_0x254280[_0x37c0('0x20')]],'as':_0x254280['as'],'attributes':_0x254280[_0x37c0('0x1e')],'include':_0x254280[_0x37c0('0x1f')]?_[_0x37c0('0x21')](_0x254280[_0x37c0('0x1f')],function(_0x14f7d4){return{'model':db[_0x14f7d4[_0x37c0('0x20')]],'as':_0x14f7d4['as'],'attributes':_0x14f7d4[_0x37c0('0x1e')],'include':_0x14f7d4[_0x37c0('0x1f')]?_['map'](_0x14f7d4[_0x37c0('0x1f')],function(_0x35a542){return{'model':db[_0x35a542[_0x37c0('0x20')]],'as':_0x35a542['as'],'attributes':_0x35a542[_0x37c0('0x1e')]};}):[]};}):[]};}):[]:[]})['then'](function(_0x39210c){logger[_0x37c0('0x16')](_0x37c0('0x19'),_0x4b4926);logger[_0x37c0('0x22')]('ShowSquareProject',_0x4b4926,JSON[_0x37c0('0x12')](_0x39210c));_0x596fcc(_0x39210c);})[_0x37c0('0x18')](function(_0x345457){logger[_0x37c0('0x13')]('ShowSquareProject',_0x345457[_0x37c0('0x15')],_0x4b4926);_0x5898c1(_0x3365e3[_0x37c0('0x13')](0x1f4,_0x345457[_0x37c0('0x15')]));});});}; \ No newline at end of file +var _0x248a=['error','code','message','result','ShowSquareProject','SquareProject','find','options','raw','where','attributes','include','map','model','catch','lodash','moment','bluebird','randomstring','../../mysqldb','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','http','redis','localhost','./squareProject.socket','register','request','then','info','SquareProject,\x20%s,\x20%s','request\x20sent','debug','SquareProject,\x20%s,\x20%s,\x20%s','stringify'];(function(_0x1ae8ab,_0x6e5c2a){var _0x1ad705=function(_0x1dfa15){while(--_0x1dfa15){_0x1ae8ab['push'](_0x1ae8ab['shift']());}};_0x1ad705(++_0x6e5c2a);}(_0x248a,0xcd));var _0xa248=function(_0x2f1ab7,_0x3e06aa){_0x2f1ab7=_0x2f1ab7-0x0;var _0x27cd64=_0x248a[_0x2f1ab7];return _0x27cd64;};'use strict';var _=require(_0xa248('0x0'));var util=require('util');var moment=require(_0xa248('0x1'));var BPromise=require(_0xa248('0x2'));var rs=require(_0xa248('0x3'));var fs=require('fs');var Redis=require('ioredis');var db=require(_0xa248('0x4'))['db'];var utils=require(_0xa248('0x5'));var logger=require(_0xa248('0x6'))(_0xa248('0x7'));var config=require(_0xa248('0x8'));var jayson=require(_0xa248('0x9'));var client=jayson['client'][_0xa248('0xa')]({'port':0x232a});config[_0xa248('0xb')]=_['defaults'](config[_0xa248('0xb')],{'host':_0xa248('0xc'),'port':0x18eb});var socket=require('socket.io-emitter')(new Redis(config[_0xa248('0xb')]));require(_0xa248('0xd'))[_0xa248('0xe')](socket);function respondWithRpcPromise(_0x15dc51,_0x142bf2,_0xce55e9){return new BPromise(function(_0x357df5,_0x2cdf54){return client[_0xa248('0xf')](_0x15dc51,_0xce55e9)[_0xa248('0x10')](function(_0x69dbd2){logger[_0xa248('0x11')](_0xa248('0x12'),_0x142bf2,_0xa248('0x13'));logger[_0xa248('0x14')](_0xa248('0x15'),_0x142bf2,'request\x20sent',JSON[_0xa248('0x16')](_0x69dbd2));if(_0x69dbd2[_0xa248('0x17')]){if(_0x69dbd2['error'][_0xa248('0x18')]===0x1f4){logger['error'](_0xa248('0x12'),_0x142bf2,_0x69dbd2['error'][_0xa248('0x19')]);return _0x2cdf54(_0x69dbd2[_0xa248('0x17')][_0xa248('0x19')]);}logger['error'](_0xa248('0x12'),_0x142bf2,_0x69dbd2[_0xa248('0x17')]['message']);return _0x357df5(_0x69dbd2[_0xa248('0x17')]['message']);}else{logger[_0xa248('0x11')](_0xa248('0x12'),_0x142bf2,_0xa248('0x13'));_0x357df5(_0x69dbd2[_0xa248('0x1a')][_0xa248('0x19')]);}})['catch'](function(_0x2d08f9){logger[_0xa248('0x17')](_0xa248('0x12'),_0x142bf2,_0x2d08f9);_0x2cdf54(_0x2d08f9);});});}exports[_0xa248('0x1b')]=function(_0xdf9a0a){var _0x40404c=this;return new Promise(function(_0x14d156,_0x42a5ae){return db[_0xa248('0x1c')][_0xa248('0x1d')]({'raw':_0xdf9a0a[_0xa248('0x1e')]?_0xdf9a0a[_0xa248('0x1e')][_0xa248('0x1f')]===undefined?!![]:![]:!![],'where':_0xdf9a0a[_0xa248('0x1e')]?_0xdf9a0a[_0xa248('0x1e')][_0xa248('0x20')]||null:null,'attributes':_0xdf9a0a['options']?_0xdf9a0a[_0xa248('0x1e')][_0xa248('0x21')]||null:null,'include':_0xdf9a0a[_0xa248('0x1e')]?_0xdf9a0a['options'][_0xa248('0x22')]?_[_0xa248('0x23')](_0xdf9a0a[_0xa248('0x1e')]['include'],function(_0x2076dd){return{'model':db[_0x2076dd[_0xa248('0x24')]],'as':_0x2076dd['as'],'attributes':_0x2076dd[_0xa248('0x21')],'include':_0x2076dd[_0xa248('0x22')]?_['map'](_0x2076dd[_0xa248('0x22')],function(_0x32aaf8){return{'model':db[_0x32aaf8['model']],'as':_0x32aaf8['as'],'attributes':_0x32aaf8[_0xa248('0x21')],'include':_0x32aaf8['include']?_[_0xa248('0x23')](_0x32aaf8[_0xa248('0x22')],function(_0x2b0e8c){return{'model':db[_0x2b0e8c[_0xa248('0x24')]],'as':_0x2b0e8c['as'],'attributes':_0x2b0e8c[_0xa248('0x21')]};}):[]};}):[]};}):[]:[]})['then'](function(_0x3b22ce){logger['info'](_0xa248('0x1b'),_0xdf9a0a);logger[_0xa248('0x14')](_0xa248('0x1b'),_0xdf9a0a,JSON[_0xa248('0x16')](_0x3b22ce));_0x14d156(_0x3b22ce);})[_0xa248('0x25')](function(_0x529150){logger['error'](_0xa248('0x1b'),_0x529150[_0xa248('0x19')],_0xdf9a0a);_0x42a5ae(_0x40404c[_0xa248('0x17')](0x1f4,_0x529150[_0xa248('0x19')]));});});}; \ No newline at end of file diff --git a/server/api/squareProject/squareProject.socket.js b/server/api/squareProject/squareProject.socket.js index bf7100b..a619dc4 100644 --- a/server/api/squareProject/squareProject.socket.js +++ b/server/api/squareProject/squareProject.socket.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x33af=['emit','removeListener','register','length','squareProject:','save','update'];(function(_0x59e9d4,_0x4350ec){var _0x312145=function(_0x26c5b7){while(--_0x26c5b7){_0x59e9d4['push'](_0x59e9d4['shift']());}};_0x312145(++_0x4350ec);}(_0x33af,0xec));var _0xf33a=function(_0x23e2bb,_0xd82b6d){_0x23e2bb=_0x23e2bb-0x0;var _0x2dd8ed=_0x33af[_0x23e2bb];return _0x2dd8ed;};'use strict';var SquareProjectEvents=require('./squareProject.events');var events=[_0xf33a('0x0'),'remove',_0xf33a('0x1')];function createListener(_0x1111c6,_0x267057){return function(_0x4303f1){_0x267057[_0xf33a('0x2')](_0x1111c6,_0x4303f1);};}function removeListener(_0x25f156,_0x4c734e){return function(){SquareProjectEvents[_0xf33a('0x3')](_0x25f156,_0x4c734e);};}exports[_0xf33a('0x4')]=function(_0x583e54){for(var _0xc0dd13=0x0,_0x384b14=events[_0xf33a('0x5')];_0xc0dd13<_0x384b14;_0xc0dd13++){var _0x2f3730=events[_0xc0dd13];var _0x2baabb=createListener(_0xf33a('0x6')+_0x2f3730,_0x583e54);SquareProjectEvents['on'](_0x2f3730,_0x2baabb);}}; \ No newline at end of file +var _0xda19=['removeListener','register','length','save','remove'];(function(_0x5f3f88,_0x562baf){var _0xd08119=function(_0x42dbf7){while(--_0x42dbf7){_0x5f3f88['push'](_0x5f3f88['shift']());}};_0xd08119(++_0x562baf);}(_0xda19,0xd5));var _0x9da1=function(_0x584207,_0x15f96a){_0x584207=_0x584207-0x0;var _0x44f339=_0xda19[_0x584207];return _0x44f339;};'use strict';var SquareProjectEvents=require('./squareProject.events');var events=[_0x9da1('0x0'),_0x9da1('0x1'),'update'];function createListener(_0x175479,_0x503770){return function(_0x435076){_0x503770['emit'](_0x175479,_0x435076);};}function removeListener(_0x2a77c7,_0xef6f5a){return function(){SquareProjectEvents[_0x9da1('0x2')](_0x2a77c7,_0xef6f5a);};}exports[_0x9da1('0x3')]=function(_0x156faf){for(var _0x2dcbc6=0x0,_0x23e4f7=events[_0x9da1('0x4')];_0x2dcbc6<_0x23e4f7;_0x2dcbc6++){var _0x1c24e6=events[_0x2dcbc6];var _0x5e2d18=createListener('squareProject:'+_0x1c24e6,_0x156faf);SquareProjectEvents['on'](_0x1c24e6,_0x5e2d18);}}; \ No newline at end of file diff --git a/server/api/squareRecording/index.js b/server/api/squareRecording/index.js index e0de75f..47e6152 100644 --- a/server/api/squareRecording/index.js +++ b/server/api/squareRecording/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x27f3=['../../config/environment','./squareRecording.controller','get','isAuthenticated','/:id','download','post','create','put','update','delete','/:id/delete','destroy','exports','multer','../../components/interaction/service'];(function(_0x4f219b,_0x841f7e){var _0x8a7718=function(_0x3e8f25){while(--_0x3e8f25){_0x4f219b['push'](_0x4f219b['shift']());}};_0x8a7718(++_0x841f7e);}(_0x27f3,0x16e));var _0x327f=function(_0xc4001c,_0x1bf8f0){_0xc4001c=_0xc4001c-0x0;var _0x49f7bc=_0x27f3[_0xc4001c];return _0x49f7bc;};'use strict';var multer=require(_0x327f('0x0'));var util=require('util');var path=require('path');var timeout=require('connect-timeout');var express=require('express');var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require(_0x327f('0x1'));var config=require(_0x327f('0x2'));var controller=require(_0x327f('0x3'));router[_0x327f('0x4')]('/',auth[_0x327f('0x5')](),controller['index']);router[_0x327f('0x4')](_0x327f('0x6'),auth[_0x327f('0x5')](),controller['show']);router[_0x327f('0x4')]('/:id/download',auth[_0x327f('0x5')](),controller[_0x327f('0x7')]);router[_0x327f('0x8')]('/',auth[_0x327f('0x5')](),controller[_0x327f('0x9')]);router[_0x327f('0xa')](_0x327f('0x6'),auth['isAuthenticated'](),controller[_0x327f('0xb')]);router[_0x327f('0xc')](_0x327f('0xd'),auth[_0x327f('0x5')](),controller[_0x327f('0xe')]);module[_0x327f('0xf')]=router; \ No newline at end of file +var _0xdc37=['Router','../../components/auth/service','./squareRecording.controller','get','/:id','show','isAuthenticated','download','post','put','update','delete','/:id/delete','exports','multer','path','connect-timeout','express'];(function(_0x4a0681,_0x338287){var _0x2441ec=function(_0x5aba83){while(--_0x5aba83){_0x4a0681['push'](_0x4a0681['shift']());}};_0x2441ec(++_0x338287);}(_0xdc37,0xf8));var _0x7dc3=function(_0x22b8a3,_0x2a79a7){_0x22b8a3=_0x22b8a3-0x0;var _0x199a0c=_0xdc37[_0x22b8a3];return _0x199a0c;};'use strict';var multer=require(_0x7dc3('0x0'));var util=require('util');var path=require(_0x7dc3('0x1'));var timeout=require(_0x7dc3('0x2'));var express=require(_0x7dc3('0x3'));var router=express[_0x7dc3('0x4')]();var auth=require(_0x7dc3('0x5'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x7dc3('0x6'));router[_0x7dc3('0x7')]('/',auth['isAuthenticated'](),controller['index']);router['get'](_0x7dc3('0x8'),auth['isAuthenticated'](),controller[_0x7dc3('0x9')]);router[_0x7dc3('0x7')]('/:id/download',auth[_0x7dc3('0xa')](),controller[_0x7dc3('0xb')]);router[_0x7dc3('0xc')]('/',auth[_0x7dc3('0xa')](),controller['create']);router[_0x7dc3('0xd')](_0x7dc3('0x8'),auth[_0x7dc3('0xa')](),controller[_0x7dc3('0xe')]);router[_0x7dc3('0xf')](_0x7dc3('0x10'),auth[_0x7dc3('0xa')](),controller['destroy']);module[_0x7dc3('0x11')]=router; \ No newline at end of file diff --git a/server/api/squareRecording/squareRecording.attributes.js b/server/api/squareRecording/squareRecording.attributes.js index 4e3e889..a8a4bdd 100644 --- a/server/api/squareRecording/squareRecording.attributes.js +++ b/server/api/squareRecording/squareRecording.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xab64=['sequelize','exports','STRING','VIRTUAL','getDataValue','savePath','substring','lastIndexOf'];(function(_0x5ec738,_0x4f40dc){var _0x5ddf0b=function(_0x5bdb0a){while(--_0x5bdb0a){_0x5ec738['push'](_0x5ec738['shift']());}};_0x5ddf0b(++_0x4f40dc);}(_0xab64,0xa0));var _0x4ab6=function(_0x228967,_0x55c760){_0x228967=_0x228967-0x0;var _0x548668=_0xab64[_0x228967];return _0x548668;};'use strict';var Sequelize=require(_0x4ab6('0x0'));module[_0x4ab6('0x1')]={'uniqueid':{'type':Sequelize[_0x4ab6('0x2')]},'callerid':{'type':Sequelize[_0x4ab6('0x2')]},'calleridname':{'type':Sequelize['STRING']},'context':{'type':Sequelize[_0x4ab6('0x2')]},'extension':{'type':Sequelize['STRING']},'priority':{'type':Sequelize[_0x4ab6('0x2')]},'accountcode':{'type':Sequelize['STRING']},'dnid':{'type':Sequelize[_0x4ab6('0x2')]},'projectName':{'type':Sequelize[_0x4ab6('0x2')]},'saveName':{'type':Sequelize['STRING']},'filename':{'type':Sequelize[_0x4ab6('0x2')]},'savePath':{'type':Sequelize[_0x4ab6('0x2')]},'format':{'type':Sequelize[_0x4ab6('0x3')],'get':function(){var _0x4e57c2='';var _0x270961=this[_0x4ab6('0x4')](_0x4ab6('0x5'));if(_0x270961){_0x4e57c2=_0x270961[_0x4ab6('0x6')](_0x270961[_0x4ab6('0x7')]('.'));}return _0x4e57c2;}}}; \ No newline at end of file +var _0xd325=['substring','lastIndexOf','sequelize','exports','STRING','VIRTUAL','getDataValue'];(function(_0x293495,_0x53a507){var _0x209388=function(_0x514aa5){while(--_0x514aa5){_0x293495['push'](_0x293495['shift']());}};_0x209388(++_0x53a507);}(_0xd325,0x1f3));var _0x5d32=function(_0x4c98b9,_0x1ad11b){_0x4c98b9=_0x4c98b9-0x0;var _0x3a257a=_0xd325[_0x4c98b9];return _0x3a257a;};'use strict';var Sequelize=require(_0x5d32('0x0'));module[_0x5d32('0x1')]={'uniqueid':{'type':Sequelize['STRING']},'callerid':{'type':Sequelize[_0x5d32('0x2')]},'calleridname':{'type':Sequelize[_0x5d32('0x2')]},'context':{'type':Sequelize[_0x5d32('0x2')]},'extension':{'type':Sequelize[_0x5d32('0x2')]},'priority':{'type':Sequelize['STRING']},'accountcode':{'type':Sequelize[_0x5d32('0x2')]},'dnid':{'type':Sequelize[_0x5d32('0x2')]},'projectName':{'type':Sequelize['STRING']},'saveName':{'type':Sequelize['STRING']},'filename':{'type':Sequelize[_0x5d32('0x2')]},'savePath':{'type':Sequelize[_0x5d32('0x2')]},'format':{'type':Sequelize[_0x5d32('0x3')],'get':function(){var _0x112084='';var _0x4893cc=this[_0x5d32('0x4')]('savePath');if(_0x4893cc){_0x112084=_0x4893cc[_0x5d32('0x5')](_0x4893cc[_0x5d32('0x6')]('.'));}return _0x112084;}}}; \ No newline at end of file diff --git a/server/api/squareRecording/squareRecording.controller.js b/server/api/squareRecording/squareRecording.controller.js index 4f13f71..07d69ef 100644 --- a/server/api/squareRecording/squareRecording.controller.js +++ b/server/api/squareRecording/squareRecording.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x7af9=['rows','catch','show','params','keys','include','options','find','body','update','download','../../components/encryptor','uniqueid','savePath','filename','format','%s.cypher','decryptFile','secrets','Sequelize','ValidationError','SquareRecording\x20not\x20found','unlink','Not\x20found','Entity\x20not\x20found','info','File:\x20\x22','.cypher','unlinkSync','destroy','html-pdf','rimraf','fast-json-patch','request-promise','moment','bluebird','mustache','util','path','sox','to-csv','ejs','squel','crypto','jsforce','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','api','../../config/utils','../../mysqldb','sendStatus','status','end','json','count','offset','limit','set','Content-Range','apply','reject','save','then','error','stack','name','send','index','map','rawAttributes','type','key','model','query','filters','intersection','attributes','fields','hasOwnProperty','nolimit','sort','where','pick','filter','merge','VIRTUAL','SquareRecording','includeAll','findAll'];(function(_0x17c51d,_0x255ec6){var _0x5d9550=function(_0x4cdc1b){while(--_0x4cdc1b){_0x17c51d['push'](_0x17c51d['shift']());}};_0x5d9550(++_0x255ec6);}(_0x7af9,0x132));var _0x97af=function(_0xb65594,_0x2c4871){_0xb65594=_0xb65594-0x0;var _0x363dd9=_0x7af9[_0xb65594];return _0x363dd9;};'use strict';var pdf=require(_0x97af('0x0'));var emlformat=require('eml-format');var rimraf=require(_0x97af('0x1'));var zipdir=require('zip-dir');var jsonpatch=require(_0x97af('0x2'));var rp=require(_0x97af('0x3'));var moment=require(_0x97af('0x4'));var BPromise=require(_0x97af('0x5'));var Mustache=require(_0x97af('0x6'));var util=require(_0x97af('0x7'));var path=require(_0x97af('0x8'));var sox=require(_0x97af('0x9'));var csv=require(_0x97af('0xa'));var ejs=require(_0x97af('0xb'));var fs=require('fs');var _=require('lodash');var squel=require(_0x97af('0xc'));var crypto=require(_0x97af('0xd'));var jsforce=require(_0x97af('0xe'));var deskjs=require('desk.js');var toCsv=require(_0x97af('0xa'));var querystring=require('querystring');var Papa=require(_0x97af('0xf'));var Redis=require(_0x97af('0x10'));var authService=require(_0x97af('0x11'));var qs=require(_0x97af('0x12'));var as=require(_0x97af('0x13'));var hardwareService=require('../../config/license/hardware');var logger=require('../../config/logger')(_0x97af('0x14'));var utils=require(_0x97af('0x15'));var config=require('../../config/environment');var db=require(_0x97af('0x16'))['db'];function respondWithStatusCode(_0xd3dadf,_0x24a7d3){_0x24a7d3=_0x24a7d3||0xcc;return function(_0x2edcda){if(_0x2edcda){return _0xd3dadf[_0x97af('0x17')](_0x24a7d3);}return _0xd3dadf[_0x97af('0x18')](_0x24a7d3)[_0x97af('0x19')]();};}function respondWithResult(_0x15badc,_0x3f67cd){_0x3f67cd=_0x3f67cd||0xc8;return function(_0xb50190){if(_0xb50190){return _0x15badc[_0x97af('0x18')](_0x3f67cd)[_0x97af('0x1a')](_0xb50190);}};}function respondWithFilteredResult(_0x5e1e4f,_0x2d0954){return function(_0x2905c7){if(_0x2905c7){var _0x64ce0c=_0x2905c7[_0x97af('0x1b')],_0x2a0519=_0x2d0954[_0x97af('0x1c')],_0x12429e=_0x2d0954[_0x97af('0x1c')]+_0x2d0954[_0x97af('0x1d')],_0x19739c;if(_0x12429e>=_0x64ce0c){_0x12429e=_0x64ce0c;_0x19739c=0xc8;}else{_0x19739c=0xce;}_0x5e1e4f['status'](_0x19739c);return _0x5e1e4f[_0x97af('0x1e')](_0x97af('0x1f'),_0x2a0519+'-'+_0x12429e+'/'+_0x64ce0c)[_0x97af('0x1a')](_0x2905c7);}return null;};}function patchUpdates(_0x1bb4bc){return function(_0xeec7dc){try{jsonpatch[_0x97af('0x20')](_0xeec7dc,_0x1bb4bc,!![]);}catch(_0x267061){return BPromise[_0x97af('0x21')](_0x267061);}return _0xeec7dc[_0x97af('0x22')]();};}function saveUpdates(_0x3d1912,_0x37a773){return function(_0x53981e){if(_0x53981e){return _0x53981e['update'](_0x3d1912)[_0x97af('0x23')](function(_0x45879b){return _0x45879b;});}return null;};}function removeEntity(_0x426160,_0xf3dfd2){return function(_0x2ef3a2){if(_0x2ef3a2){return _0x2ef3a2['destroy']()['then'](function(){_0x426160[_0x97af('0x18')](0xcc)['end']();});}};}function handleEntityNotFound(_0x452e5e,_0x11fe12){return function(_0x4fea24){if(!_0x4fea24){_0x452e5e[_0x97af('0x17')](0x194);}return _0x4fea24;};}function handleError(_0x50e6f5,_0x1b9abe){_0x1b9abe=_0x1b9abe||0x1f4;return function(_0x4c045e){logger[_0x97af('0x24')](_0x4c045e[_0x97af('0x25')]);if(_0x4c045e[_0x97af('0x26')]){delete _0x4c045e[_0x97af('0x26')];}_0x50e6f5[_0x97af('0x18')](_0x1b9abe)[_0x97af('0x27')](_0x4c045e);};}exports[_0x97af('0x28')]=function(_0x57f021,_0x5c8732){var _0x5e2ebf={},_0x4c694b={},_0x16355e={'count':0x0,'rows':[]};var _0x8d92eb=_[_0x97af('0x29')](db['SquareRecording'][_0x97af('0x2a')],function(_0x325c40){return{'name':_0x325c40['fieldName'],'type':_0x325c40[_0x97af('0x2b')][_0x97af('0x2c')]};});_0x4c694b[_0x97af('0x2d')]=_[_0x97af('0x29')](_0x8d92eb,_0x97af('0x26'));_0x4c694b[_0x97af('0x2e')]=_['keys'](_0x57f021[_0x97af('0x2e')]);_0x4c694b[_0x97af('0x2f')]=_[_0x97af('0x30')](_0x4c694b[_0x97af('0x2d')],_0x4c694b['query']);_0x5e2ebf[_0x97af('0x31')]=_[_0x97af('0x30')](_0x4c694b[_0x97af('0x2d')],qs[_0x97af('0x32')](_0x57f021['query'][_0x97af('0x32')]));_0x5e2ebf[_0x97af('0x31')]=_0x5e2ebf[_0x97af('0x31')]['length']?_0x5e2ebf[_0x97af('0x31')]:_0x4c694b[_0x97af('0x2d')];if(!_0x57f021[_0x97af('0x2e')][_0x97af('0x33')](_0x97af('0x34'))){_0x5e2ebf[_0x97af('0x1d')]=qs[_0x97af('0x1d')](_0x57f021[_0x97af('0x2e')]['limit']);_0x5e2ebf['offset']=qs[_0x97af('0x1c')](_0x57f021[_0x97af('0x2e')][_0x97af('0x1c')]);}_0x5e2ebf['order']=qs[_0x97af('0x35')](_0x57f021[_0x97af('0x2e')][_0x97af('0x35')]);_0x5e2ebf[_0x97af('0x36')]=qs[_0x97af('0x2f')](_[_0x97af('0x37')](_0x57f021[_0x97af('0x2e')],_0x4c694b['filters']),_0x8d92eb);if(_0x57f021['query'][_0x97af('0x38')]){_0x5e2ebf[_0x97af('0x36')]=_[_0x97af('0x39')](_0x5e2ebf[_0x97af('0x36')],{'$or':_[_0x97af('0x29')](_0x8d92eb,function(_0x26fee7){if(_0x26fee7['type']!==_0x97af('0x3a')){var _0x32c352={};_0x32c352[_0x26fee7[_0x97af('0x26')]]={'$like':'%'+_0x57f021[_0x97af('0x2e')][_0x97af('0x38')]+'%'};return _0x32c352;}})});}_0x5e2ebf=_[_0x97af('0x39')]({},_0x5e2ebf,_0x57f021['options']);var _0x189c8e={'where':_0x5e2ebf[_0x97af('0x36')]};return db[_0x97af('0x3b')][_0x97af('0x1b')](_0x189c8e)[_0x97af('0x23')](function(_0x53b04d){_0x16355e['count']=_0x53b04d;if(_0x57f021[_0x97af('0x2e')][_0x97af('0x3c')]){_0x5e2ebf['include']=[{'all':!![]}];}return db[_0x97af('0x3b')][_0x97af('0x3d')](_0x5e2ebf);})['then'](function(_0x2b1bf2){_0x16355e[_0x97af('0x3e')]=_0x2b1bf2;return _0x16355e;})[_0x97af('0x23')](respondWithFilteredResult(_0x5c8732,_0x5e2ebf))[_0x97af('0x3f')](handleError(_0x5c8732,null));};exports[_0x97af('0x40')]=function(_0x3e2e7d,_0x2ecaf){var _0x417226={'raw':!![],'where':{'id':_0x3e2e7d[_0x97af('0x41')]['id']}},_0x595978={};_0x595978[_0x97af('0x2d')]=_['keys'](db[_0x97af('0x3b')][_0x97af('0x2a')]);_0x595978['query']=_[_0x97af('0x42')](_0x3e2e7d[_0x97af('0x2e')]);_0x595978[_0x97af('0x2f')]=_[_0x97af('0x30')](_0x595978['model'],_0x595978['query']);_0x417226[_0x97af('0x31')]=_[_0x97af('0x30')](_0x595978[_0x97af('0x2d')],qs[_0x97af('0x32')](_0x3e2e7d[_0x97af('0x2e')][_0x97af('0x32')]));_0x417226['attributes']=_0x417226[_0x97af('0x31')]['length']?_0x417226[_0x97af('0x31')]:_0x595978['model'];if(_0x3e2e7d[_0x97af('0x2e')][_0x97af('0x3c')]){_0x417226[_0x97af('0x43')]=[{'all':!![]}];}_0x417226=_[_0x97af('0x39')]({},_0x417226,_0x3e2e7d[_0x97af('0x44')]);return db['SquareRecording'][_0x97af('0x45')](_0x417226)['then'](handleEntityNotFound(_0x2ecaf,null))[_0x97af('0x23')](respondWithResult(_0x2ecaf,null))[_0x97af('0x3f')](handleError(_0x2ecaf,null));};exports['create']=function(_0x3a318c,_0x37ef40){return db[_0x97af('0x3b')]['create'](_0x3a318c[_0x97af('0x46')],{})[_0x97af('0x23')](respondWithResult(_0x37ef40,0xc9))[_0x97af('0x3f')](handleError(_0x37ef40,null));};exports[_0x97af('0x47')]=function(_0xddf086,_0x592128){if(_0xddf086['body']['id']){delete _0xddf086[_0x97af('0x46')]['id'];}return db[_0x97af('0x3b')][_0x97af('0x45')]({'where':{'id':_0xddf086[_0x97af('0x41')]['id']}})[_0x97af('0x23')](handleEntityNotFound(_0x592128,null))[_0x97af('0x23')](saveUpdates(_0xddf086[_0x97af('0x46')],null))['then'](respondWithResult(_0x592128,null))[_0x97af('0x3f')](handleError(_0x592128,null));};exports[_0x97af('0x48')]=function(_0x46c478,_0x20d4e4,_0x3e1d37){var _0x52a053=require(_0x97af('0x49'));var _0x4fe1ce=![];var _0x2ce158={};if(_0x46c478['query'][_0x97af('0x2b')]&&_0x46c478['query'][_0x97af('0x2b')]===_0x97af('0x4a')){_0x2ce158['uniqueid']=_0x46c478[_0x97af('0x41')]['id'];}else{_0x2ce158['id']=_0x46c478['params']['id'];}return db['SquareRecording']['find']({'where':_0x2ce158,'attributes':['id',_0x97af('0x4b'),_0x97af('0x4c')],'raw':!![]})[_0x97af('0x23')](handleEntityNotFound(_0x20d4e4,null))['then'](function(_0x88ef3f){if(_0x88ef3f){var _0x47f6ed=_0x88ef3f[_0x97af('0x4b')];var _0x182280=util[_0x97af('0x4d')](_0x97af('0x4e'),_0x47f6ed);if(fs['existsSync'](_0x182280)){_0x4fe1ce=!![];return _0x52a053[_0x97af('0x4f')](_0x182280,_0x47f6ed,config[_0x97af('0x50')]['recording'])['then'](function(){return _0x88ef3f;});}return _0x88ef3f;}})[_0x97af('0x23')](function(_0x47ab45){if(_0x47ab45){var _0x94e1a5=_0x47ab45['savePath'];if(!fs['existsSync'](_0x94e1a5)){throw new db[(_0x97af('0x51'))][(_0x97af('0x52'))](_0x97af('0x53'));}if(_0x47ab45[_0x97af('0x4c')]){return _0x20d4e4['download'](_0x94e1a5,_0x47ab45['filename']+path['extname'](_0x94e1a5),function(){if(_0x4fe1ce){fs['unlink'](_0x94e1a5);}});}else{return _0x20d4e4[_0x97af('0x48')](_0x94e1a5,function(_0x4cac7c){if(_0x4fe1ce){fs[_0x97af('0x54')](_0x94e1a5);}});}}})[_0x97af('0x3f')](function(_0x10cff4){if(_0x10cff4['message']===_0x97af('0x53')){_0x20d4e4[_0x97af('0x18')](0x194)[_0x97af('0x27')](_0x97af('0x55'));}else{return handleError(_0x20d4e4,null);}});};exports['destroy']=function(_0x28b0c1,_0xa3afa1){return db[_0x97af('0x3b')][_0x97af('0x45')]({'where':{'id':_0x28b0c1[_0x97af('0x41')]['id']}})['then'](function(_0x1877bc){if(!_0x1877bc)throw new ReferenceError(_0x97af('0x56'));return _0x1877bc;})[_0x97af('0x23')](function(_0x3d8e38){var _0x3bd733=_0x3d8e38[_0x97af('0x4b')];logger[_0x97af('0x57')]('cancellazione\x20fisica\x20documento\x20%s',_0x3bd733);if(!_['isNil'](_0x3d8e38[_0x97af('0x4b')])&&fs['existsSync'](_0x3bd733)){logger[_0x97af('0x57')](_0x97af('0x58')+_0x3bd733+'\x22\x20trovato\x20eseguo\x20la\x20cancellazione');fs['unlinkSync'](_0x3bd733);}_0x3bd733=_0x3bd733+_0x97af('0x59');if(!_['isNil'](_0x3d8e38[_0x97af('0x4b')])&&fs['existsSync'](_0x3bd733)){logger[_0x97af('0x57')](_0x97af('0x58')+_0x3bd733+'\x22\x20trovato\x20eseguo\x20la\x20cancellazione');fs[_0x97af('0x5a')](_0x3bd733);}return _0x3d8e38;})[_0x97af('0x23')](function(_0xb492e8){if(!_0xb492e8)throw new InternalError();return _0xb492e8[_0x97af('0x5b')]();})[_0x97af('0x23')](function(){_0xa3afa1[_0x97af('0x18')](0xcc)[_0x97af('0x19')]();})[_0x97af('0x3f')](handleError(_0xa3afa1,null));}; \ No newline at end of file +var _0xd403=['info','isNil','File:\x20\x22','unlinkSync','.cypher','\x22\x20trovato\x20eseguo\x20la\x20cancellazione','html-pdf','eml-format','rimraf','zip-dir','request-promise','bluebird','mustache','util','sox','to-csv','squel','crypto','jsforce','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','api','../../config/utils','../../config/environment','../../mysqldb','sendStatus','status','end','json','offset','Content-Range','save','update','then','destroy','error','name','send','index','map','SquareRecording','rawAttributes','fieldName','type','key','model','query','keys','filters','intersection','attributes','length','nolimit','limit','order','sort','pick','filter','where','merge','VIRTUAL','options','count','includeAll','findAll','rows','catch','show','params','fields','include','find','create','body','../../components/encryptor','uniqueid','savePath','filename','%s.cypher','existsSync','secrets','recording','Sequelize','unlink','download','message','SquareRecording\x20not\x20found'];(function(_0x17c349,_0x30a859){var _0x5dd32c=function(_0x24b71d){while(--_0x24b71d){_0x17c349['push'](_0x17c349['shift']());}};_0x5dd32c(++_0x30a859);}(_0xd403,0x1d2));var _0x3d40=function(_0x819464,_0x46fc91){_0x819464=_0x819464-0x0;var _0x49dcc0=_0xd403[_0x819464];return _0x49dcc0;};'use strict';var pdf=require(_0x3d40('0x0'));var emlformat=require(_0x3d40('0x1'));var rimraf=require(_0x3d40('0x2'));var zipdir=require(_0x3d40('0x3'));var jsonpatch=require('fast-json-patch');var rp=require(_0x3d40('0x4'));var moment=require('moment');var BPromise=require(_0x3d40('0x5'));var Mustache=require(_0x3d40('0x6'));var util=require(_0x3d40('0x7'));var path=require('path');var sox=require(_0x3d40('0x8'));var csv=require(_0x3d40('0x9'));var ejs=require('ejs');var fs=require('fs');var _=require('lodash');var squel=require(_0x3d40('0xa'));var crypto=require(_0x3d40('0xb'));var jsforce=require(_0x3d40('0xc'));var deskjs=require(_0x3d40('0xd'));var toCsv=require('to-csv');var querystring=require(_0x3d40('0xe'));var Papa=require(_0x3d40('0xf'));var Redis=require(_0x3d40('0x10'));var authService=require(_0x3d40('0x11'));var qs=require(_0x3d40('0x12'));var as=require(_0x3d40('0x13'));var hardwareService=require('../../config/license/hardware');var logger=require('../../config/logger')(_0x3d40('0x14'));var utils=require(_0x3d40('0x15'));var config=require(_0x3d40('0x16'));var db=require(_0x3d40('0x17'))['db'];function respondWithStatusCode(_0x5eae67,_0x2f353d){_0x2f353d=_0x2f353d||0xcc;return function(_0xaf462){if(_0xaf462){return _0x5eae67[_0x3d40('0x18')](_0x2f353d);}return _0x5eae67[_0x3d40('0x19')](_0x2f353d)[_0x3d40('0x1a')]();};}function respondWithResult(_0x4c0da2,_0x41bde9){_0x41bde9=_0x41bde9||0xc8;return function(_0x577806){if(_0x577806){return _0x4c0da2[_0x3d40('0x19')](_0x41bde9)[_0x3d40('0x1b')](_0x577806);}};}function respondWithFilteredResult(_0x5195cb,_0x4f629e){return function(_0x3e4457){if(_0x3e4457){var _0x3c33cd=_0x3e4457['count'],_0xcda9b9=_0x4f629e['offset'],_0x56f3b7=_0x4f629e[_0x3d40('0x1c')]+_0x4f629e['limit'],_0x52ff66;if(_0x56f3b7>=_0x3c33cd){_0x56f3b7=_0x3c33cd;_0x52ff66=0xc8;}else{_0x52ff66=0xce;}_0x5195cb[_0x3d40('0x19')](_0x52ff66);return _0x5195cb['set'](_0x3d40('0x1d'),_0xcda9b9+'-'+_0x56f3b7+'/'+_0x3c33cd)['json'](_0x3e4457);}return null;};}function patchUpdates(_0x4f9994){return function(_0xd57fda){try{jsonpatch['apply'](_0xd57fda,_0x4f9994,!![]);}catch(_0x58b1e3){return BPromise['reject'](_0x58b1e3);}return _0xd57fda[_0x3d40('0x1e')]();};}function saveUpdates(_0x44d36e,_0x3d205b){return function(_0x24aa9c){if(_0x24aa9c){return _0x24aa9c[_0x3d40('0x1f')](_0x44d36e)[_0x3d40('0x20')](function(_0x5006a6){return _0x5006a6;});}return null;};}function removeEntity(_0x306b10,_0x1eb9c9){return function(_0x449e3d){if(_0x449e3d){return _0x449e3d[_0x3d40('0x21')]()[_0x3d40('0x20')](function(){_0x306b10[_0x3d40('0x19')](0xcc)[_0x3d40('0x1a')]();});}};}function handleEntityNotFound(_0x5b7307,_0x23a184){return function(_0x2cc654){if(!_0x2cc654){_0x5b7307['sendStatus'](0x194);}return _0x2cc654;};}function handleError(_0x4ac915,_0x15d1eb){_0x15d1eb=_0x15d1eb||0x1f4;return function(_0x5d4140){logger[_0x3d40('0x22')](_0x5d4140['stack']);if(_0x5d4140['name']){delete _0x5d4140[_0x3d40('0x23')];}_0x4ac915[_0x3d40('0x19')](_0x15d1eb)[_0x3d40('0x24')](_0x5d4140);};}exports[_0x3d40('0x25')]=function(_0x4f4a3f,_0x14435d){var _0x4afbe2={},_0x2b78e1={},_0x5349c4={'count':0x0,'rows':[]};var _0x55ab23=_[_0x3d40('0x26')](db[_0x3d40('0x27')][_0x3d40('0x28')],function(_0x264690){return{'name':_0x264690[_0x3d40('0x29')],'type':_0x264690[_0x3d40('0x2a')][_0x3d40('0x2b')]};});_0x2b78e1[_0x3d40('0x2c')]=_[_0x3d40('0x26')](_0x55ab23,_0x3d40('0x23'));_0x2b78e1[_0x3d40('0x2d')]=_[_0x3d40('0x2e')](_0x4f4a3f[_0x3d40('0x2d')]);_0x2b78e1[_0x3d40('0x2f')]=_[_0x3d40('0x30')](_0x2b78e1[_0x3d40('0x2c')],_0x2b78e1[_0x3d40('0x2d')]);_0x4afbe2[_0x3d40('0x31')]=_[_0x3d40('0x30')](_0x2b78e1[_0x3d40('0x2c')],qs['fields'](_0x4f4a3f[_0x3d40('0x2d')]['fields']));_0x4afbe2[_0x3d40('0x31')]=_0x4afbe2[_0x3d40('0x31')][_0x3d40('0x32')]?_0x4afbe2[_0x3d40('0x31')]:_0x2b78e1[_0x3d40('0x2c')];if(!_0x4f4a3f[_0x3d40('0x2d')]['hasOwnProperty'](_0x3d40('0x33'))){_0x4afbe2[_0x3d40('0x34')]=qs[_0x3d40('0x34')](_0x4f4a3f['query'][_0x3d40('0x34')]);_0x4afbe2[_0x3d40('0x1c')]=qs[_0x3d40('0x1c')](_0x4f4a3f['query'][_0x3d40('0x1c')]);}_0x4afbe2[_0x3d40('0x35')]=qs[_0x3d40('0x36')](_0x4f4a3f[_0x3d40('0x2d')][_0x3d40('0x36')]);_0x4afbe2['where']=qs[_0x3d40('0x2f')](_[_0x3d40('0x37')](_0x4f4a3f['query'],_0x2b78e1[_0x3d40('0x2f')]),_0x55ab23);if(_0x4f4a3f['query'][_0x3d40('0x38')]){_0x4afbe2[_0x3d40('0x39')]=_[_0x3d40('0x3a')](_0x4afbe2['where'],{'$or':_[_0x3d40('0x26')](_0x55ab23,function(_0x1884d5){if(_0x1884d5[_0x3d40('0x2a')]!==_0x3d40('0x3b')){var _0x4dd6ba={};_0x4dd6ba[_0x1884d5['name']]={'$like':'%'+_0x4f4a3f[_0x3d40('0x2d')][_0x3d40('0x38')]+'%'};return _0x4dd6ba;}})});}_0x4afbe2=_[_0x3d40('0x3a')]({},_0x4afbe2,_0x4f4a3f[_0x3d40('0x3c')]);var _0x4102f0={'where':_0x4afbe2[_0x3d40('0x39')]};return db[_0x3d40('0x27')][_0x3d40('0x3d')](_0x4102f0)[_0x3d40('0x20')](function(_0x3cd479){_0x5349c4['count']=_0x3cd479;if(_0x4f4a3f[_0x3d40('0x2d')][_0x3d40('0x3e')]){_0x4afbe2['include']=[{'all':!![]}];}return db[_0x3d40('0x27')][_0x3d40('0x3f')](_0x4afbe2);})['then'](function(_0x4643f9){_0x5349c4[_0x3d40('0x40')]=_0x4643f9;return _0x5349c4;})['then'](respondWithFilteredResult(_0x14435d,_0x4afbe2))[_0x3d40('0x41')](handleError(_0x14435d,null));};exports[_0x3d40('0x42')]=function(_0x33c9d4,_0x164257){var _0x32c305={'raw':!![],'where':{'id':_0x33c9d4[_0x3d40('0x43')]['id']}},_0x336564={};_0x336564[_0x3d40('0x2c')]=_['keys'](db['SquareRecording'][_0x3d40('0x28')]);_0x336564['query']=_[_0x3d40('0x2e')](_0x33c9d4[_0x3d40('0x2d')]);_0x336564[_0x3d40('0x2f')]=_[_0x3d40('0x30')](_0x336564['model'],_0x336564[_0x3d40('0x2d')]);_0x32c305[_0x3d40('0x31')]=_[_0x3d40('0x30')](_0x336564[_0x3d40('0x2c')],qs['fields'](_0x33c9d4[_0x3d40('0x2d')][_0x3d40('0x44')]));_0x32c305[_0x3d40('0x31')]=_0x32c305[_0x3d40('0x31')][_0x3d40('0x32')]?_0x32c305[_0x3d40('0x31')]:_0x336564['model'];if(_0x33c9d4[_0x3d40('0x2d')]['includeAll']){_0x32c305[_0x3d40('0x45')]=[{'all':!![]}];}_0x32c305=_['merge']({},_0x32c305,_0x33c9d4[_0x3d40('0x3c')]);return db['SquareRecording'][_0x3d40('0x46')](_0x32c305)['then'](handleEntityNotFound(_0x164257,null))[_0x3d40('0x20')](respondWithResult(_0x164257,null))[_0x3d40('0x41')](handleError(_0x164257,null));};exports[_0x3d40('0x47')]=function(_0x45bfab,_0x39d07d){return db['SquareRecording']['create'](_0x45bfab[_0x3d40('0x48')],{})['then'](respondWithResult(_0x39d07d,0xc9))[_0x3d40('0x41')](handleError(_0x39d07d,null));};exports[_0x3d40('0x1f')]=function(_0x3109ff,_0x8119f9){if(_0x3109ff[_0x3d40('0x48')]['id']){delete _0x3109ff[_0x3d40('0x48')]['id'];}return db[_0x3d40('0x27')][_0x3d40('0x46')]({'where':{'id':_0x3109ff['params']['id']}})[_0x3d40('0x20')](handleEntityNotFound(_0x8119f9,null))[_0x3d40('0x20')](saveUpdates(_0x3109ff['body'],null))[_0x3d40('0x20')](respondWithResult(_0x8119f9,null))[_0x3d40('0x41')](handleError(_0x8119f9,null));};exports['download']=function(_0x40c88b,_0x4a7350,_0x8c5021){var _0x23c6af=require(_0x3d40('0x49'));var _0x2ab40f=![];var _0x4a8fb8={};if(_0x40c88b['query'][_0x3d40('0x2a')]&&_0x40c88b[_0x3d40('0x2d')][_0x3d40('0x2a')]===_0x3d40('0x4a')){_0x4a8fb8['uniqueid']=_0x40c88b[_0x3d40('0x43')]['id'];}else{_0x4a8fb8['id']=_0x40c88b['params']['id'];}return db[_0x3d40('0x27')][_0x3d40('0x46')]({'where':_0x4a8fb8,'attributes':['id',_0x3d40('0x4b'),_0x3d40('0x4c')],'raw':!![]})[_0x3d40('0x20')](handleEntityNotFound(_0x4a7350,null))[_0x3d40('0x20')](function(_0x3415b6){if(_0x3415b6){var _0x3384da=_0x3415b6['savePath'];var _0x406a04=util['format'](_0x3d40('0x4d'),_0x3384da);if(fs[_0x3d40('0x4e')](_0x406a04)){_0x2ab40f=!![];return _0x23c6af['decryptFile'](_0x406a04,_0x3384da,config[_0x3d40('0x4f')][_0x3d40('0x50')])[_0x3d40('0x20')](function(){return _0x3415b6;});}return _0x3415b6;}})[_0x3d40('0x20')](function(_0x31877c){if(_0x31877c){var _0x1b9cb9=_0x31877c[_0x3d40('0x4b')];if(!fs[_0x3d40('0x4e')](_0x1b9cb9)){throw new db[(_0x3d40('0x51'))]['ValidationError']('SquareRecording\x20not\x20found');}if(_0x31877c[_0x3d40('0x4c')]){return _0x4a7350['download'](_0x1b9cb9,_0x31877c[_0x3d40('0x4c')]+path['extname'](_0x1b9cb9),function(){if(_0x2ab40f){fs[_0x3d40('0x52')](_0x1b9cb9);}});}else{return _0x4a7350[_0x3d40('0x53')](_0x1b9cb9,function(_0x1bfd43){if(_0x2ab40f){fs['unlink'](_0x1b9cb9);}});}}})[_0x3d40('0x41')](function(_0x5e6518){if(_0x5e6518[_0x3d40('0x54')]===_0x3d40('0x55')){_0x4a7350[_0x3d40('0x19')](0x194)[_0x3d40('0x24')]('Not\x20found');}else{return handleError(_0x4a7350,null);}});};exports['destroy']=function(_0x58746f,_0x1acb18){return db[_0x3d40('0x27')][_0x3d40('0x46')]({'where':{'id':_0x58746f[_0x3d40('0x43')]['id']}})[_0x3d40('0x20')](function(_0x49946e){if(!_0x49946e)throw new ReferenceError('Entity\x20not\x20found');return _0x49946e;})['then'](function(_0x3cd081){var _0x3085e6=_0x3cd081[_0x3d40('0x4b')];logger[_0x3d40('0x56')]('cancellazione\x20fisica\x20documento\x20%s',_0x3085e6);if(!_[_0x3d40('0x57')](_0x3cd081['savePath'])&&fs[_0x3d40('0x4e')](_0x3085e6)){logger[_0x3d40('0x56')](_0x3d40('0x58')+_0x3085e6+'\x22\x20trovato\x20eseguo\x20la\x20cancellazione');fs[_0x3d40('0x59')](_0x3085e6);}_0x3085e6=_0x3085e6+_0x3d40('0x5a');if(!_[_0x3d40('0x57')](_0x3cd081[_0x3d40('0x4b')])&&fs[_0x3d40('0x4e')](_0x3085e6)){logger[_0x3d40('0x56')]('File:\x20\x22'+_0x3085e6+_0x3d40('0x5b'));fs['unlinkSync'](_0x3085e6);}return _0x3cd081;})[_0x3d40('0x20')](function(_0x3f7b7a){if(!_0x3f7b7a)throw new InternalError();return _0x3f7b7a['destroy']();})[_0x3d40('0x20')](function(){_0x1acb18[_0x3d40('0x19')](0xcc)['end']();})[_0x3d40('0x41')](handleError(_0x1acb18,null));}; \ No newline at end of file diff --git a/server/api/squareRecording/squareRecording.model.js b/server/api/squareRecording/squareRecording.model.js index c584763..572110a 100644 --- a/server/api/squareRecording/squareRecording.model.js +++ b/server/api/squareRecording/squareRecording.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xb6a6=['moment','bluebird','request-promise','path','rimraf','./squareRecording.attributes','exports','define','SquareRecording','lodash','util'];(function(_0x1f2fc3,_0x21fdc6){var _0x105354=function(_0x22e8c2){while(--_0x22e8c2){_0x1f2fc3['push'](_0x1f2fc3['shift']());}};_0x105354(++_0x21fdc6);}(_0xb6a6,0x1a0));var _0x6b6a=function(_0x447006,_0x5cd39f){_0x447006=_0x447006-0x0;var _0x2a0ca7=_0xb6a6[_0x447006];return _0x2a0ca7;};'use strict';var _=require(_0x6b6a('0x0'));var util=require(_0x6b6a('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0x6b6a('0x2'));var BPromise=require(_0x6b6a('0x3'));var rp=require(_0x6b6a('0x4'));var fs=require('fs');var path=require(_0x6b6a('0x5'));var rimraf=require(_0x6b6a('0x6'));var config=require('../../config/environment');var attributes=require(_0x6b6a('0x7'));module[_0x6b6a('0x8')]=function(_0xeb6021,_0x5f4e11){return _0xeb6021[_0x6b6a('0x9')](_0x6b6a('0xa'),attributes,{'tableName':'square_recordings','paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0x06ef=['path','rimraf','../../config/environment','exports','../../config/logger'];(function(_0x296cf0,_0x375bef){var _0x38ba44=function(_0x1b7205){while(--_0x1b7205){_0x296cf0['push'](_0x296cf0['shift']());}};_0x38ba44(++_0x375bef);}(_0x06ef,0x185));var _0xf06e=function(_0x2f4363,_0x2f3e1b){_0x2f4363=_0x2f4363-0x0;var _0xd9e20b=_0x06ef[_0x2f4363];return _0xd9e20b;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0xf06e('0x0'))('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0xf06e('0x1'));var rimraf=require(_0xf06e('0x2'));var config=require(_0xf06e('0x3'));var attributes=require('./squareRecording.attributes');module[_0xf06e('0x4')]=function(_0x71a36,_0x4be428){return _0x71a36['define']('SquareRecording',attributes,{'tableName':'square_recordings','paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/squareRecording/squareRecording.rpc.js b/server/api/squareRecording/squareRecording.rpc.js index 7dd03fa..066860f 100644 --- a/server/api/squareRecording/squareRecording.rpc.js +++ b/server/api/squareRecording/squareRecording.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x13f4=['bluebird','randomstring','../../mysqldb','../../config/utils','../../config/logger','../../config/environment','jayson/promise','client','http','request','then','SquareRecording,\x20%s,\x20%s','request\x20sent','debug','SquareRecording,\x20%s,\x20%s,\x20%s','stringify','error','code','message','result','CreateSquareRecording','SquareRecording','create','body','options','raw','catch','moment'];(function(_0x4d8666,_0x2ff19d){var _0x37175b=function(_0x1b8de6){while(--_0x1b8de6){_0x4d8666['push'](_0x4d8666['shift']());}};_0x37175b(++_0x2ff19d);}(_0x13f4,0xa7));var _0x413f=function(_0x365be9,_0x3c88b9){_0x365be9=_0x365be9-0x0;var _0x185c12=_0x13f4[_0x365be9];return _0x185c12;};'use strict';var _=require('lodash');var util=require('util');var moment=require(_0x413f('0x0'));var BPromise=require(_0x413f('0x1'));var rs=require(_0x413f('0x2'));var fs=require('fs');var Redis=require('ioredis');var db=require(_0x413f('0x3'))['db'];var utils=require(_0x413f('0x4'));var logger=require(_0x413f('0x5'))('rpc');var config=require(_0x413f('0x6'));var jayson=require(_0x413f('0x7'));var client=jayson[_0x413f('0x8')][_0x413f('0x9')]({'port':0x232a});function respondWithRpcPromise(_0x527c45,_0x41e5bd,_0x270640){return new BPromise(function(_0x250718,_0x3cecf2){return client[_0x413f('0xa')](_0x527c45,_0x270640)[_0x413f('0xb')](function(_0xbf2e12){logger['info'](_0x413f('0xc'),_0x41e5bd,_0x413f('0xd'));logger[_0x413f('0xe')](_0x413f('0xf'),_0x41e5bd,_0x413f('0xd'),JSON[_0x413f('0x10')](_0xbf2e12));if(_0xbf2e12[_0x413f('0x11')]){if(_0xbf2e12[_0x413f('0x11')][_0x413f('0x12')]===0x1f4){logger[_0x413f('0x11')](_0x413f('0xc'),_0x41e5bd,_0xbf2e12[_0x413f('0x11')][_0x413f('0x13')]);return _0x3cecf2(_0xbf2e12[_0x413f('0x11')][_0x413f('0x13')]);}logger['error'](_0x413f('0xc'),_0x41e5bd,_0xbf2e12[_0x413f('0x11')][_0x413f('0x13')]);return _0x250718(_0xbf2e12[_0x413f('0x11')][_0x413f('0x13')]);}else{logger['info'](_0x413f('0xc'),_0x41e5bd,'request\x20sent');_0x250718(_0xbf2e12[_0x413f('0x14')][_0x413f('0x13')]);}})['catch'](function(_0x4d7bde){logger[_0x413f('0x11')](_0x413f('0xc'),_0x41e5bd,_0x4d7bde);_0x3cecf2(_0x4d7bde);});});}exports[_0x413f('0x15')]=function(_0x297627){var _0x2b5408=this;return new Promise(function(_0x354f80,_0x315147){return db[_0x413f('0x16')][_0x413f('0x17')](_0x297627[_0x413f('0x18')],{'raw':_0x297627[_0x413f('0x19')]?_0x297627[_0x413f('0x19')][_0x413f('0x1a')]===undefined?!![]:![]:!![]})['then'](function(_0x568183){logger['info'](_0x413f('0x15'),_0x297627);logger[_0x413f('0xe')]('CreateSquareRecording',_0x297627,JSON[_0x413f('0x10')](_0x568183));_0x354f80(_0x568183);})[_0x413f('0x1b')](function(_0x3b07c5){logger['error'](_0x413f('0x15'),_0x3b07c5[_0x413f('0x13')],_0x297627);_0x315147(_0x2b5408[_0x413f('0x11')](0x1f4,_0x3b07c5[_0x413f('0x13')]));});});}; \ No newline at end of file +var _0x2d93=['info','debug','SquareRecording,\x20%s,\x20%s,\x20%s','request\x20sent','stringify','error','code','SquareRecording,\x20%s,\x20%s','message','result','CreateSquareRecording','SquareRecording','options','raw','catch','util','moment','bluebird','ioredis','../../mysqldb','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','http','then'];(function(_0x26b80e,_0x5c9333){var _0x84a8a8=function(_0x2e5b4a){while(--_0x2e5b4a){_0x26b80e['push'](_0x26b80e['shift']());}};_0x84a8a8(++_0x5c9333);}(_0x2d93,0x16e));var _0x32d9=function(_0x9b2bb0,_0x3965b1){_0x9b2bb0=_0x9b2bb0-0x0;var _0x2cdb3b=_0x2d93[_0x9b2bb0];return _0x2cdb3b;};'use strict';var _=require('lodash');var util=require(_0x32d9('0x0'));var moment=require(_0x32d9('0x1'));var BPromise=require(_0x32d9('0x2'));var rs=require('randomstring');var fs=require('fs');var Redis=require(_0x32d9('0x3'));var db=require(_0x32d9('0x4'))['db'];var utils=require(_0x32d9('0x5'));var logger=require(_0x32d9('0x6'))(_0x32d9('0x7'));var config=require(_0x32d9('0x8'));var jayson=require(_0x32d9('0x9'));var client=jayson['client'][_0x32d9('0xa')]({'port':0x232a});function respondWithRpcPromise(_0x8a9a82,_0x30d3b1,_0x97c718){return new BPromise(function(_0xd34ba9,_0x3d521c){return client['request'](_0x8a9a82,_0x97c718)[_0x32d9('0xb')](function(_0x3bff3a){logger[_0x32d9('0xc')]('SquareRecording,\x20%s,\x20%s',_0x30d3b1,'request\x20sent');logger[_0x32d9('0xd')](_0x32d9('0xe'),_0x30d3b1,_0x32d9('0xf'),JSON[_0x32d9('0x10')](_0x3bff3a));if(_0x3bff3a[_0x32d9('0x11')]){if(_0x3bff3a[_0x32d9('0x11')][_0x32d9('0x12')]===0x1f4){logger[_0x32d9('0x11')](_0x32d9('0x13'),_0x30d3b1,_0x3bff3a[_0x32d9('0x11')][_0x32d9('0x14')]);return _0x3d521c(_0x3bff3a[_0x32d9('0x11')]['message']);}logger[_0x32d9('0x11')]('SquareRecording,\x20%s,\x20%s',_0x30d3b1,_0x3bff3a[_0x32d9('0x11')][_0x32d9('0x14')]);return _0xd34ba9(_0x3bff3a[_0x32d9('0x11')]['message']);}else{logger['info']('SquareRecording,\x20%s,\x20%s',_0x30d3b1,_0x32d9('0xf'));_0xd34ba9(_0x3bff3a[_0x32d9('0x15')][_0x32d9('0x14')]);}})['catch'](function(_0x1e0600){logger[_0x32d9('0x11')](_0x32d9('0x13'),_0x30d3b1,_0x1e0600);_0x3d521c(_0x1e0600);});});}exports[_0x32d9('0x16')]=function(_0x453823){var _0x5e544a=this;return new Promise(function(_0x44a8a3,_0x4686d6){return db[_0x32d9('0x17')]['create'](_0x453823['body'],{'raw':_0x453823[_0x32d9('0x18')]?_0x453823[_0x32d9('0x18')][_0x32d9('0x19')]===undefined?!![]:![]:!![]})['then'](function(_0x866dad){logger[_0x32d9('0xc')](_0x32d9('0x16'),_0x453823);logger[_0x32d9('0xd')]('CreateSquareRecording',_0x453823,JSON['stringify'](_0x866dad));_0x44a8a3(_0x866dad);})[_0x32d9('0x1a')](function(_0x2bda18){logger[_0x32d9('0x11')]('CreateSquareRecording',_0x2bda18[_0x32d9('0x14')],_0x453823);_0x4686d6(_0x5e544a[_0x32d9('0x11')](0x1f4,_0x2bda18[_0x32d9('0x14')]));});});}; \ No newline at end of file diff --git a/server/api/squareReport/index.js b/server/api/squareReport/index.js index 8d33393..1eb72ca 100644 --- a/server/api/squareReport/index.js +++ b/server/api/squareReport/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xe7a2=['create','put','update','delete','destroy','exports','util','connect-timeout','express','Router','../../components/auth/service','../../config/environment','get','isAuthenticated','index','/describe','describe','/:id','show','post'];(function(_0x5a6cef,_0x1697df){var _0x37f76f=function(_0x17dc71){while(--_0x17dc71){_0x5a6cef['push'](_0x5a6cef['shift']());}};_0x37f76f(++_0x1697df);}(_0xe7a2,0xba));var _0x2e7a=function(_0x391aca,_0x2bc004){_0x391aca=_0x391aca-0x0;var _0x345869=_0xe7a2[_0x391aca];return _0x345869;};'use strict';var multer=require('multer');var util=require(_0x2e7a('0x0'));var path=require('path');var timeout=require(_0x2e7a('0x1'));var express=require(_0x2e7a('0x2'));var router=express[_0x2e7a('0x3')]();var auth=require(_0x2e7a('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x2e7a('0x5'));var controller=require('./squareReport.controller');router[_0x2e7a('0x6')]('/',auth[_0x2e7a('0x7')](),controller[_0x2e7a('0x8')]);router['get'](_0x2e7a('0x9'),auth[_0x2e7a('0x7')](),controller[_0x2e7a('0xa')]);router['get'](_0x2e7a('0xb'),auth[_0x2e7a('0x7')](),controller[_0x2e7a('0xc')]);router[_0x2e7a('0xd')]('/',auth['isAuthenticated'](),controller[_0x2e7a('0xe')]);router[_0x2e7a('0xf')](_0x2e7a('0xb'),auth[_0x2e7a('0x7')](),controller[_0x2e7a('0x10')]);router[_0x2e7a('0x11')]('/:id',auth[_0x2e7a('0x7')](),controller[_0x2e7a('0x12')]);module[_0x2e7a('0x13')]=router; \ No newline at end of file +var _0x9dab=['../../components/interaction/service','../../config/environment','./squareReport.controller','get','isAuthenticated','describe','show','create','put','/:id','update','delete','destroy','exports','multer','util','express','Router','../../components/auth/service'];(function(_0x4574b0,_0x3bd754){var _0x3d720c=function(_0x18a7da){while(--_0x18a7da){_0x4574b0['push'](_0x4574b0['shift']());}};_0x3d720c(++_0x3bd754);}(_0x9dab,0xcc));var _0xb9da=function(_0x529427,_0x53f9b8){_0x529427=_0x529427-0x0;var _0x52a23a=_0x9dab[_0x529427];return _0x52a23a;};'use strict';var multer=require(_0xb9da('0x0'));var util=require(_0xb9da('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0xb9da('0x2'));var router=express[_0xb9da('0x3')]();var auth=require(_0xb9da('0x4'));var interaction=require(_0xb9da('0x5'));var config=require(_0xb9da('0x6'));var controller=require(_0xb9da('0x7'));router[_0xb9da('0x8')]('/',auth[_0xb9da('0x9')](),controller['index']);router[_0xb9da('0x8')]('/describe',auth[_0xb9da('0x9')](),controller[_0xb9da('0xa')]);router[_0xb9da('0x8')]('/:id',auth['isAuthenticated'](),controller[_0xb9da('0xb')]);router['post']('/',auth[_0xb9da('0x9')](),controller[_0xb9da('0xc')]);router[_0xb9da('0xd')](_0xb9da('0xe'),auth[_0xb9da('0x9')](),controller[_0xb9da('0xf')]);router[_0xb9da('0x10')](_0xb9da('0xe'),auth['isAuthenticated'](),controller[_0xb9da('0x11')]);module[_0xb9da('0x12')]=router; \ No newline at end of file diff --git a/server/api/squareReport/squareReport.attributes.js b/server/api/squareReport/squareReport.attributes.js index 626345e..6613cf3 100644 --- a/server/api/squareReport/squareReport.attributes.js +++ b/server/api/squareReport/squareReport.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x0f8e=['DATE','BOOLEAN','exports','STRING'];(function(_0x3e3202,_0x2d3a42){var _0x55b25f=function(_0x18b3f0){while(--_0x18b3f0){_0x3e3202['push'](_0x3e3202['shift']());}};_0x55b25f(++_0x2d3a42);}(_0x0f8e,0x9e));var _0xe0f8=function(_0x56c758,_0x540591){_0x56c758=_0x56c758-0x0;var _0x9bb0db=_0x0f8e[_0x56c758];return _0x9bb0db;};'use strict';var Sequelize=require('sequelize');module[_0xe0f8('0x0')]={'network':{'type':Sequelize['STRING']},'network_script':{'type':Sequelize[_0xe0f8('0x1')]},'request':{'type':Sequelize[_0xe0f8('0x1')]},'channel':{'type':Sequelize[_0xe0f8('0x1')]},'language':{'type':Sequelize[_0xe0f8('0x1')]},'type':{'type':Sequelize[_0xe0f8('0x1')]},'uniqueid':{'type':Sequelize['STRING']},'version':{'type':Sequelize[_0xe0f8('0x1')]},'callerid':{'type':Sequelize[_0xe0f8('0x1')]},'calleridname':{'type':Sequelize[_0xe0f8('0x1')]},'callingpres':{'type':Sequelize[_0xe0f8('0x1')]},'callingani2':{'type':Sequelize[_0xe0f8('0x1')]},'callington':{'type':Sequelize[_0xe0f8('0x1')]},'callingtns':{'type':Sequelize[_0xe0f8('0x1')]},'dnid':{'type':Sequelize[_0xe0f8('0x1')]},'rdnis':{'type':Sequelize[_0xe0f8('0x1')]},'context':{'type':Sequelize[_0xe0f8('0x1')]},'extension':{'type':Sequelize[_0xe0f8('0x1')]},'priority':{'type':Sequelize['STRING']},'enhanced':{'type':Sequelize[_0xe0f8('0x1')]},'accountcode':{'type':Sequelize[_0xe0f8('0x1')]},'threadid':{'type':Sequelize[_0xe0f8('0x1')]},'project_name':{'type':Sequelize['STRING']},'joinAt':{'type':Sequelize['DATE']},'leaveAt':{'type':Sequelize[_0xe0f8('0x2')]},'bot':{'type':Sequelize[_0xe0f8('0x3')],'defaultValue':![]}}; \ No newline at end of file +var _0xbcd2=['DATE','BOOLEAN','sequelize','exports','STRING'];(function(_0x2fc39e,_0x37f8bf){var _0x389595=function(_0x288e3e){while(--_0x288e3e){_0x2fc39e['push'](_0x2fc39e['shift']());}};_0x389595(++_0x37f8bf);}(_0xbcd2,0xd9));var _0x2bcd=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xbcd2[_0x3dd15e];return _0x231fd0;};'use strict';var Sequelize=require(_0x2bcd('0x0'));module[_0x2bcd('0x1')]={'network':{'type':Sequelize[_0x2bcd('0x2')]},'network_script':{'type':Sequelize['STRING']},'request':{'type':Sequelize[_0x2bcd('0x2')]},'channel':{'type':Sequelize[_0x2bcd('0x2')]},'language':{'type':Sequelize[_0x2bcd('0x2')]},'type':{'type':Sequelize[_0x2bcd('0x2')]},'uniqueid':{'type':Sequelize['STRING']},'version':{'type':Sequelize[_0x2bcd('0x2')]},'callerid':{'type':Sequelize[_0x2bcd('0x2')]},'calleridname':{'type':Sequelize[_0x2bcd('0x2')]},'callingpres':{'type':Sequelize['STRING']},'callingani2':{'type':Sequelize[_0x2bcd('0x2')]},'callington':{'type':Sequelize['STRING']},'callingtns':{'type':Sequelize[_0x2bcd('0x2')]},'dnid':{'type':Sequelize[_0x2bcd('0x2')]},'rdnis':{'type':Sequelize[_0x2bcd('0x2')]},'context':{'type':Sequelize[_0x2bcd('0x2')]},'extension':{'type':Sequelize['STRING']},'priority':{'type':Sequelize['STRING']},'enhanced':{'type':Sequelize['STRING']},'accountcode':{'type':Sequelize['STRING']},'threadid':{'type':Sequelize['STRING']},'project_name':{'type':Sequelize[_0x2bcd('0x2')]},'joinAt':{'type':Sequelize[_0x2bcd('0x3')]},'leaveAt':{'type':Sequelize['DATE']},'bot':{'type':Sequelize[_0x2bcd('0x4')],'defaultValue':![]}}; \ No newline at end of file diff --git a/server/api/squareReport/squareReport.controller.js b/server/api/squareReport/squareReport.controller.js index f2baaa5..fa67d66 100644 --- a/server/api/squareReport/squareReport.controller.js +++ b/server/api/squareReport/squareReport.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xdeb7=['attributes','fields','length','hasOwnProperty','offset','order','sort','where','VIRTUAL','options','includeAll','include','findAll','rows','catch','show','params','create','body','find','describe','html-pdf','eml-format','rimraf','fast-json-patch','moment','path','sox','to-csv','ejs','lodash','squel','crypto','jsforce','desk.js','querystring','ioredis','../../components/auth/service','../../components/parsers/qs','../../config/license/hardware','../../config/logger','api','../../config/utils','../../mysqldb','sendStatus','status','json','count','limit','Content-Range','apply','reject','save','update','then','end','error','name','send','index','SquareReport','rawAttributes','fieldName','type','key','model','map','keys','query','filters','intersection'];(function(_0x26eb35,_0x1d1513){var _0x1c67b6=function(_0x5d1620){while(--_0x5d1620){_0x26eb35['push'](_0x26eb35['shift']());}};_0x1c67b6(++_0x1d1513);}(_0xdeb7,0x178));var _0x7deb=function(_0x2641f9,_0x26715f){_0x2641f9=_0x2641f9-0x0;var _0x585741=_0xdeb7[_0x2641f9];return _0x585741;};'use strict';var pdf=require(_0x7deb('0x0'));var emlformat=require(_0x7deb('0x1'));var rimraf=require(_0x7deb('0x2'));var zipdir=require('zip-dir');var jsonpatch=require(_0x7deb('0x3'));var rp=require('request-promise');var moment=require(_0x7deb('0x4'));var BPromise=require('bluebird');var Mustache=require('mustache');var util=require('util');var path=require(_0x7deb('0x5'));var sox=require(_0x7deb('0x6'));var csv=require(_0x7deb('0x7'));var ejs=require(_0x7deb('0x8'));var fs=require('fs');var _=require(_0x7deb('0x9'));var squel=require(_0x7deb('0xa'));var crypto=require(_0x7deb('0xb'));var jsforce=require(_0x7deb('0xc'));var deskjs=require(_0x7deb('0xd'));var toCsv=require('to-csv');var querystring=require(_0x7deb('0xe'));var Papa=require('papaparse');var Redis=require(_0x7deb('0xf'));var authService=require(_0x7deb('0x10'));var qs=require(_0x7deb('0x11'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0x7deb('0x12'));var logger=require(_0x7deb('0x13'))(_0x7deb('0x14'));var utils=require(_0x7deb('0x15'));var config=require('../../config/environment');var db=require(_0x7deb('0x16'))['db'];function respondWithStatusCode(_0x184d81,_0x69d77f){_0x69d77f=_0x69d77f||0xcc;return function(_0x408ca8){if(_0x408ca8){return _0x184d81[_0x7deb('0x17')](_0x69d77f);}return _0x184d81[_0x7deb('0x18')](_0x69d77f)['end']();};}function respondWithResult(_0x37319a,_0x4680c9){_0x4680c9=_0x4680c9||0xc8;return function(_0x4fcbab){if(_0x4fcbab){return _0x37319a['status'](_0x4680c9)[_0x7deb('0x19')](_0x4fcbab);}};}function respondWithFilteredResult(_0x5d076e,_0x52552a){return function(_0x437d9f){if(_0x437d9f){var _0x502b0a=_0x437d9f[_0x7deb('0x1a')],_0x5cd6ca=_0x52552a['offset'],_0x13a878=_0x52552a['offset']+_0x52552a[_0x7deb('0x1b')],_0x2156a4;if(_0x13a878>=_0x502b0a){_0x13a878=_0x502b0a;_0x2156a4=0xc8;}else{_0x2156a4=0xce;}_0x5d076e[_0x7deb('0x18')](_0x2156a4);return _0x5d076e['set'](_0x7deb('0x1c'),_0x5cd6ca+'-'+_0x13a878+'/'+_0x502b0a)[_0x7deb('0x19')](_0x437d9f);}return null;};}function patchUpdates(_0x339b06){return function(_0x526ffb){try{jsonpatch[_0x7deb('0x1d')](_0x526ffb,_0x339b06,!![]);}catch(_0x3df2f7){return BPromise[_0x7deb('0x1e')](_0x3df2f7);}return _0x526ffb[_0x7deb('0x1f')]();};}function saveUpdates(_0x1b30cf,_0x5d25d2){return function(_0x5b4494){if(_0x5b4494){return _0x5b4494[_0x7deb('0x20')](_0x1b30cf)['then'](function(_0x330836){return _0x330836;});}return null;};}function removeEntity(_0x79a1aa,_0xf18761){return function(_0x3a2f3a){if(_0x3a2f3a){return _0x3a2f3a['destroy']()[_0x7deb('0x21')](function(){_0x79a1aa[_0x7deb('0x18')](0xcc)[_0x7deb('0x22')]();});}};}function handleEntityNotFound(_0x41df84,_0x4eb6ea){return function(_0x16ac71){if(!_0x16ac71){_0x41df84[_0x7deb('0x17')](0x194);}return _0x16ac71;};}function handleError(_0x5a109b,_0x57410e){_0x57410e=_0x57410e||0x1f4;return function(_0x3870fd){logger[_0x7deb('0x23')](_0x3870fd['stack']);if(_0x3870fd[_0x7deb('0x24')]){delete _0x3870fd[_0x7deb('0x24')];}_0x5a109b[_0x7deb('0x18')](_0x57410e)[_0x7deb('0x25')](_0x3870fd);};}exports[_0x7deb('0x26')]=function(_0xddb67b,_0x3f4a20){var _0x279c8c={},_0x55e0a8={},_0x962754={'count':0x0,'rows':[]};var _0x1bd50a=_['map'](db[_0x7deb('0x27')][_0x7deb('0x28')],function(_0x402cf3){return{'name':_0x402cf3[_0x7deb('0x29')],'type':_0x402cf3[_0x7deb('0x2a')][_0x7deb('0x2b')]};});_0x55e0a8[_0x7deb('0x2c')]=_[_0x7deb('0x2d')](_0x1bd50a,_0x7deb('0x24'));_0x55e0a8['query']=_[_0x7deb('0x2e')](_0xddb67b[_0x7deb('0x2f')]);_0x55e0a8[_0x7deb('0x30')]=_[_0x7deb('0x31')](_0x55e0a8[_0x7deb('0x2c')],_0x55e0a8[_0x7deb('0x2f')]);_0x279c8c[_0x7deb('0x32')]=_[_0x7deb('0x31')](_0x55e0a8['model'],qs[_0x7deb('0x33')](_0xddb67b[_0x7deb('0x2f')][_0x7deb('0x33')]));_0x279c8c[_0x7deb('0x32')]=_0x279c8c[_0x7deb('0x32')][_0x7deb('0x34')]?_0x279c8c[_0x7deb('0x32')]:_0x55e0a8[_0x7deb('0x2c')];if(!_0xddb67b[_0x7deb('0x2f')][_0x7deb('0x35')]('nolimit')){_0x279c8c[_0x7deb('0x1b')]=qs[_0x7deb('0x1b')](_0xddb67b[_0x7deb('0x2f')][_0x7deb('0x1b')]);_0x279c8c[_0x7deb('0x36')]=qs[_0x7deb('0x36')](_0xddb67b[_0x7deb('0x2f')][_0x7deb('0x36')]);}_0x279c8c[_0x7deb('0x37')]=qs['sort'](_0xddb67b['query'][_0x7deb('0x38')]);_0x279c8c[_0x7deb('0x39')]=qs[_0x7deb('0x30')](_['pick'](_0xddb67b['query'],_0x55e0a8[_0x7deb('0x30')]),_0x1bd50a);if(_0xddb67b['query']['filter']){_0x279c8c[_0x7deb('0x39')]=_['merge'](_0x279c8c[_0x7deb('0x39')],{'$or':_[_0x7deb('0x2d')](_0x1bd50a,function(_0x487376){if(_0x487376['type']!==_0x7deb('0x3a')){var _0x39656e={};_0x39656e[_0x487376['name']]={'$like':'%'+_0xddb67b['query']['filter']+'%'};return _0x39656e;}})});}_0x279c8c=_['merge']({},_0x279c8c,_0xddb67b[_0x7deb('0x3b')]);var _0x3e4a84={'where':_0x279c8c[_0x7deb('0x39')]};return db[_0x7deb('0x27')][_0x7deb('0x1a')](_0x3e4a84)[_0x7deb('0x21')](function(_0x1b1103){_0x962754['count']=_0x1b1103;if(_0xddb67b[_0x7deb('0x2f')][_0x7deb('0x3c')]){_0x279c8c[_0x7deb('0x3d')]=[{'all':!![]}];}return db[_0x7deb('0x27')][_0x7deb('0x3e')](_0x279c8c);})[_0x7deb('0x21')](function(_0x548258){_0x962754[_0x7deb('0x3f')]=_0x548258;return _0x962754;})[_0x7deb('0x21')](respondWithFilteredResult(_0x3f4a20,_0x279c8c))[_0x7deb('0x40')](handleError(_0x3f4a20,null));};exports[_0x7deb('0x41')]=function(_0x554344,_0x49f17b){var _0x5cba86={'raw':!![],'where':{'id':_0x554344[_0x7deb('0x42')]['id']}},_0x280092={};_0x280092[_0x7deb('0x2c')]=_[_0x7deb('0x2e')](db['SquareReport'][_0x7deb('0x28')]);_0x280092[_0x7deb('0x2f')]=_[_0x7deb('0x2e')](_0x554344['query']);_0x280092[_0x7deb('0x30')]=_[_0x7deb('0x31')](_0x280092[_0x7deb('0x2c')],_0x280092[_0x7deb('0x2f')]);_0x5cba86[_0x7deb('0x32')]=_['intersection'](_0x280092[_0x7deb('0x2c')],qs[_0x7deb('0x33')](_0x554344[_0x7deb('0x2f')]['fields']));_0x5cba86[_0x7deb('0x32')]=_0x5cba86['attributes'][_0x7deb('0x34')]?_0x5cba86['attributes']:_0x280092[_0x7deb('0x2c')];if(_0x554344[_0x7deb('0x2f')][_0x7deb('0x3c')]){_0x5cba86[_0x7deb('0x3d')]=[{'all':!![]}];}_0x5cba86=_['merge']({},_0x5cba86,_0x554344[_0x7deb('0x3b')]);return db[_0x7deb('0x27')]['find'](_0x5cba86)[_0x7deb('0x21')](handleEntityNotFound(_0x49f17b,null))[_0x7deb('0x21')](respondWithResult(_0x49f17b,null))[_0x7deb('0x40')](handleError(_0x49f17b,null));};exports[_0x7deb('0x43')]=function(_0xd0ff92,_0x234564){return db[_0x7deb('0x27')][_0x7deb('0x43')](_0xd0ff92[_0x7deb('0x44')],{})[_0x7deb('0x21')](respondWithResult(_0x234564,0xc9))[_0x7deb('0x40')](handleError(_0x234564,null));};exports[_0x7deb('0x20')]=function(_0xa28a6,_0x153c44){if(_0xa28a6[_0x7deb('0x44')]['id']){delete _0xa28a6[_0x7deb('0x44')]['id'];}return db[_0x7deb('0x27')][_0x7deb('0x45')]({'where':{'id':_0xa28a6['params']['id']}})['then'](handleEntityNotFound(_0x153c44,null))[_0x7deb('0x21')](saveUpdates(_0xa28a6[_0x7deb('0x44')],null))[_0x7deb('0x21')](respondWithResult(_0x153c44,null))['catch'](handleError(_0x153c44,null));};exports['destroy']=function(_0x59b7bf,_0x350625){return db['SquareReport']['find']({'where':{'id':_0x59b7bf[_0x7deb('0x42')]['id']}})['then'](handleEntityNotFound(_0x350625,null))[_0x7deb('0x21')](removeEntity(_0x350625,null))[_0x7deb('0x40')](handleError(_0x350625,null));};exports[_0x7deb('0x46')]=function(_0x4d18f3,_0x4424bf){return db[_0x7deb('0x27')][_0x7deb('0x46')]()[_0x7deb('0x21')](respondWithResult(_0x4424bf,null))[_0x7deb('0x40')](handleError(_0x4424bf,null));}; \ No newline at end of file +var _0x6a03=['map','query','filters','intersection','attributes','fields','length','hasOwnProperty','nolimit','limit','sort','where','VIRTUAL','filter','SquareReport','count','includeAll','include','findAll','rows','catch','show','params','keys','merge','options','find','create','body','describe','html-pdf','eml-format','rimraf','fast-json-patch','request-promise','moment','bluebird','to-csv','ejs','lodash','squel','crypto','jsforce','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','status','end','json','offset','Content-Range','apply','reject','save','update','then','destroy','sendStatus','error','stack','name','send','index','rawAttributes','type','key','model'];(function(_0x492d99,_0x3b5f4c){var _0x3f34f9=function(_0x21b1e8){while(--_0x21b1e8){_0x492d99['push'](_0x492d99['shift']());}};_0x3f34f9(++_0x3b5f4c);}(_0x6a03,0x105));var _0x36a0=function(_0x2ee3ab,_0x10ecfa){_0x2ee3ab=_0x2ee3ab-0x0;var _0x1bee28=_0x6a03[_0x2ee3ab];return _0x1bee28;};'use strict';var pdf=require(_0x36a0('0x0'));var emlformat=require(_0x36a0('0x1'));var rimraf=require(_0x36a0('0x2'));var zipdir=require('zip-dir');var jsonpatch=require(_0x36a0('0x3'));var rp=require(_0x36a0('0x4'));var moment=require(_0x36a0('0x5'));var BPromise=require(_0x36a0('0x6'));var Mustache=require('mustache');var util=require('util');var path=require('path');var sox=require('sox');var csv=require(_0x36a0('0x7'));var ejs=require(_0x36a0('0x8'));var fs=require('fs');var _=require(_0x36a0('0x9'));var squel=require(_0x36a0('0xa'));var crypto=require(_0x36a0('0xb'));var jsforce=require(_0x36a0('0xc'));var deskjs=require(_0x36a0('0xd'));var toCsv=require(_0x36a0('0x7'));var querystring=require(_0x36a0('0xe'));var Papa=require(_0x36a0('0xf'));var Redis=require(_0x36a0('0x10'));var authService=require(_0x36a0('0x11'));var qs=require(_0x36a0('0x12'));var as=require(_0x36a0('0x13'));var hardwareService=require(_0x36a0('0x14'));var logger=require(_0x36a0('0x15'))(_0x36a0('0x16'));var utils=require(_0x36a0('0x17'));var config=require(_0x36a0('0x18'));var db=require(_0x36a0('0x19'))['db'];function respondWithStatusCode(_0x28e8,_0x2a6237){_0x2a6237=_0x2a6237||0xcc;return function(_0x33d603){if(_0x33d603){return _0x28e8['sendStatus'](_0x2a6237);}return _0x28e8[_0x36a0('0x1a')](_0x2a6237)[_0x36a0('0x1b')]();};}function respondWithResult(_0x483f48,_0x35588d){_0x35588d=_0x35588d||0xc8;return function(_0x5036ac){if(_0x5036ac){return _0x483f48['status'](_0x35588d)[_0x36a0('0x1c')](_0x5036ac);}};}function respondWithFilteredResult(_0x1142b7,_0x28b0ae){return function(_0xd77cc1){if(_0xd77cc1){var _0x28a2ad=_0xd77cc1['count'],_0xf1ad04=_0x28b0ae[_0x36a0('0x1d')],_0x46131e=_0x28b0ae['offset']+_0x28b0ae['limit'],_0x5585e5;if(_0x46131e>=_0x28a2ad){_0x46131e=_0x28a2ad;_0x5585e5=0xc8;}else{_0x5585e5=0xce;}_0x1142b7[_0x36a0('0x1a')](_0x5585e5);return _0x1142b7['set'](_0x36a0('0x1e'),_0xf1ad04+'-'+_0x46131e+'/'+_0x28a2ad)[_0x36a0('0x1c')](_0xd77cc1);}return null;};}function patchUpdates(_0x362a72){return function(_0x3fc4bd){try{jsonpatch[_0x36a0('0x1f')](_0x3fc4bd,_0x362a72,!![]);}catch(_0xf10f1e){return BPromise[_0x36a0('0x20')](_0xf10f1e);}return _0x3fc4bd[_0x36a0('0x21')]();};}function saveUpdates(_0x4538a3,_0x34ab12){return function(_0x3ccb9d){if(_0x3ccb9d){return _0x3ccb9d[_0x36a0('0x22')](_0x4538a3)[_0x36a0('0x23')](function(_0x4a5d4b){return _0x4a5d4b;});}return null;};}function removeEntity(_0x2fccfe,_0x4f1064){return function(_0x2a6569){if(_0x2a6569){return _0x2a6569[_0x36a0('0x24')]()['then'](function(){_0x2fccfe['status'](0xcc)['end']();});}};}function handleEntityNotFound(_0x22fc30,_0x189fbc){return function(_0x31d295){if(!_0x31d295){_0x22fc30[_0x36a0('0x25')](0x194);}return _0x31d295;};}function handleError(_0x306535,_0x423449){_0x423449=_0x423449||0x1f4;return function(_0x2fad13){logger[_0x36a0('0x26')](_0x2fad13[_0x36a0('0x27')]);if(_0x2fad13[_0x36a0('0x28')]){delete _0x2fad13[_0x36a0('0x28')];}_0x306535[_0x36a0('0x1a')](_0x423449)[_0x36a0('0x29')](_0x2fad13);};}exports[_0x36a0('0x2a')]=function(_0x113856,_0x47d9fc){var _0x3e82dc={},_0x300f63={},_0x34b3f4={'count':0x0,'rows':[]};var _0x20e562=_['map'](db['SquareReport'][_0x36a0('0x2b')],function(_0x2feb73){return{'name':_0x2feb73['fieldName'],'type':_0x2feb73[_0x36a0('0x2c')][_0x36a0('0x2d')]};});_0x300f63[_0x36a0('0x2e')]=_[_0x36a0('0x2f')](_0x20e562,_0x36a0('0x28'));_0x300f63[_0x36a0('0x30')]=_['keys'](_0x113856[_0x36a0('0x30')]);_0x300f63[_0x36a0('0x31')]=_[_0x36a0('0x32')](_0x300f63[_0x36a0('0x2e')],_0x300f63[_0x36a0('0x30')]);_0x3e82dc[_0x36a0('0x33')]=_[_0x36a0('0x32')](_0x300f63[_0x36a0('0x2e')],qs[_0x36a0('0x34')](_0x113856['query'][_0x36a0('0x34')]));_0x3e82dc['attributes']=_0x3e82dc[_0x36a0('0x33')][_0x36a0('0x35')]?_0x3e82dc[_0x36a0('0x33')]:_0x300f63[_0x36a0('0x2e')];if(!_0x113856['query'][_0x36a0('0x36')](_0x36a0('0x37'))){_0x3e82dc[_0x36a0('0x38')]=qs[_0x36a0('0x38')](_0x113856['query'][_0x36a0('0x38')]);_0x3e82dc[_0x36a0('0x1d')]=qs[_0x36a0('0x1d')](_0x113856['query'][_0x36a0('0x1d')]);}_0x3e82dc['order']=qs[_0x36a0('0x39')](_0x113856[_0x36a0('0x30')]['sort']);_0x3e82dc[_0x36a0('0x3a')]=qs[_0x36a0('0x31')](_['pick'](_0x113856['query'],_0x300f63[_0x36a0('0x31')]),_0x20e562);if(_0x113856[_0x36a0('0x30')]['filter']){_0x3e82dc[_0x36a0('0x3a')]=_['merge'](_0x3e82dc[_0x36a0('0x3a')],{'$or':_[_0x36a0('0x2f')](_0x20e562,function(_0x717a40){if(_0x717a40[_0x36a0('0x2c')]!==_0x36a0('0x3b')){var _0x1df338={};_0x1df338[_0x717a40['name']]={'$like':'%'+_0x113856['query'][_0x36a0('0x3c')]+'%'};return _0x1df338;}})});}_0x3e82dc=_['merge']({},_0x3e82dc,_0x113856['options']);var _0xfd463={'where':_0x3e82dc['where']};return db[_0x36a0('0x3d')][_0x36a0('0x3e')](_0xfd463)[_0x36a0('0x23')](function(_0x3fe72){_0x34b3f4[_0x36a0('0x3e')]=_0x3fe72;if(_0x113856[_0x36a0('0x30')][_0x36a0('0x3f')]){_0x3e82dc[_0x36a0('0x40')]=[{'all':!![]}];}return db[_0x36a0('0x3d')][_0x36a0('0x41')](_0x3e82dc);})['then'](function(_0xca8b67){_0x34b3f4[_0x36a0('0x42')]=_0xca8b67;return _0x34b3f4;})[_0x36a0('0x23')](respondWithFilteredResult(_0x47d9fc,_0x3e82dc))[_0x36a0('0x43')](handleError(_0x47d9fc,null));};exports[_0x36a0('0x44')]=function(_0x5eb547,_0x3ea20c){var _0xffed50={'raw':!![],'where':{'id':_0x5eb547[_0x36a0('0x45')]['id']}},_0xacb2e5={};_0xacb2e5['model']=_['keys'](db[_0x36a0('0x3d')][_0x36a0('0x2b')]);_0xacb2e5[_0x36a0('0x30')]=_[_0x36a0('0x46')](_0x5eb547[_0x36a0('0x30')]);_0xacb2e5[_0x36a0('0x31')]=_[_0x36a0('0x32')](_0xacb2e5[_0x36a0('0x2e')],_0xacb2e5[_0x36a0('0x30')]);_0xffed50['attributes']=_[_0x36a0('0x32')](_0xacb2e5[_0x36a0('0x2e')],qs[_0x36a0('0x34')](_0x5eb547['query'][_0x36a0('0x34')]));_0xffed50[_0x36a0('0x33')]=_0xffed50[_0x36a0('0x33')][_0x36a0('0x35')]?_0xffed50['attributes']:_0xacb2e5[_0x36a0('0x2e')];if(_0x5eb547[_0x36a0('0x30')][_0x36a0('0x3f')]){_0xffed50[_0x36a0('0x40')]=[{'all':!![]}];}_0xffed50=_[_0x36a0('0x47')]({},_0xffed50,_0x5eb547[_0x36a0('0x48')]);return db['SquareReport'][_0x36a0('0x49')](_0xffed50)[_0x36a0('0x23')](handleEntityNotFound(_0x3ea20c,null))[_0x36a0('0x23')](respondWithResult(_0x3ea20c,null))[_0x36a0('0x43')](handleError(_0x3ea20c,null));};exports[_0x36a0('0x4a')]=function(_0x4ccbea,_0x41ac84){return db[_0x36a0('0x3d')][_0x36a0('0x4a')](_0x4ccbea[_0x36a0('0x4b')],{})[_0x36a0('0x23')](respondWithResult(_0x41ac84,0xc9))[_0x36a0('0x43')](handleError(_0x41ac84,null));};exports['update']=function(_0x15d66f,_0x1ea402){if(_0x15d66f[_0x36a0('0x4b')]['id']){delete _0x15d66f['body']['id'];}return db[_0x36a0('0x3d')]['find']({'where':{'id':_0x15d66f[_0x36a0('0x45')]['id']}})[_0x36a0('0x23')](handleEntityNotFound(_0x1ea402,null))[_0x36a0('0x23')](saveUpdates(_0x15d66f['body'],null))[_0x36a0('0x23')](respondWithResult(_0x1ea402,null))[_0x36a0('0x43')](handleError(_0x1ea402,null));};exports['destroy']=function(_0x53487b,_0x186b62){return db['SquareReport'][_0x36a0('0x49')]({'where':{'id':_0x53487b['params']['id']}})[_0x36a0('0x23')](handleEntityNotFound(_0x186b62,null))['then'](removeEntity(_0x186b62,null))[_0x36a0('0x43')](handleError(_0x186b62,null));};exports[_0x36a0('0x4c')]=function(_0x4cb07a,_0x5071e1){return db['SquareReport'][_0x36a0('0x4c')]()[_0x36a0('0x23')](respondWithResult(_0x5071e1,null))[_0x36a0('0x43')](handleError(_0x5071e1,null));}; \ No newline at end of file diff --git a/server/api/squareReport/squareReport.model.js b/server/api/squareReport/squareReport.model.js index 0cd7c8c..e5532e1 100644 --- a/server/api/squareReport/squareReport.model.js +++ b/server/api/squareReport/squareReport.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x7d0b=['api','moment','bluebird','request-promise','path','../../config/environment','./squareReport.attributes','define','SquareReport','report_square','uniqueid','project_name','leaveAt','lodash','util'];(function(_0x3fdae5,_0xdf4462){var _0x39a04a=function(_0x1d678b){while(--_0x1d678b){_0x3fdae5['push'](_0x3fdae5['shift']());}};_0x39a04a(++_0xdf4462);}(_0x7d0b,0x139));var _0xb7d0=function(_0x1d1779,_0x284147){_0x1d1779=_0x1d1779-0x0;var _0x2377e9=_0x7d0b[_0x1d1779];return _0x2377e9;};'use strict';var _=require(_0xb7d0('0x0'));var util=require(_0xb7d0('0x1'));var logger=require('../../config/logger')(_0xb7d0('0x2'));var moment=require(_0xb7d0('0x3'));var BPromise=require(_0xb7d0('0x4'));var rp=require(_0xb7d0('0x5'));var fs=require('fs');var path=require(_0xb7d0('0x6'));var rimraf=require('rimraf');var config=require(_0xb7d0('0x7'));var attributes=require(_0xb7d0('0x8'));module['exports']=function(_0x5f4b77,_0x21ce59){return _0x5f4b77[_0xb7d0('0x9')](_0xb7d0('0xa'),attributes,{'tableName':_0xb7d0('0xb'),'paranoid':![],'indexes':[{'name':'uid_pname','fields':[_0xb7d0('0xc'),_0xb7d0('0xd')]},{'name':'leaveAt','fields':[_0xb7d0('0xe')]}],'timestamps':!![]});}; \ No newline at end of file +var _0xea21=['request-promise','../../config/environment','./squareReport.attributes','exports','define','report_square','uniqueid','project_name','lodash','util','../../config/logger','api','moment','bluebird'];(function(_0x3e313a,_0x4e1bda){var _0x4c5aa2=function(_0x51b3e1){while(--_0x51b3e1){_0x3e313a['push'](_0x3e313a['shift']());}};_0x4c5aa2(++_0x4e1bda);}(_0xea21,0xda));var _0x1ea2=function(_0x2c0ee1,_0x373947){_0x2c0ee1=_0x2c0ee1-0x0;var _0x154d9b=_0xea21[_0x2c0ee1];return _0x154d9b;};'use strict';var _=require(_0x1ea2('0x0'));var util=require(_0x1ea2('0x1'));var logger=require(_0x1ea2('0x2'))(_0x1ea2('0x3'));var moment=require(_0x1ea2('0x4'));var BPromise=require(_0x1ea2('0x5'));var rp=require(_0x1ea2('0x6'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x1ea2('0x7'));var attributes=require(_0x1ea2('0x8'));module[_0x1ea2('0x9')]=function(_0x18ec3a,_0x1f48a){return _0x18ec3a[_0x1ea2('0xa')]('SquareReport',attributes,{'tableName':_0x1ea2('0xb'),'paranoid':![],'indexes':[{'name':'uid_pname','fields':[_0x1ea2('0xc'),_0x1ea2('0xd')]},{'name':'leaveAt','fields':['leaveAt']}],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/squareReport/squareReport.rpc.js b/server/api/squareReport/squareReport.rpc.js index e31d042..eed07cc 100644 --- a/server/api/squareReport/squareReport.rpc.js +++ b/server/api/squareReport/squareReport.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x9d80=['limit','lodash','util','moment','bluebird','randomstring','ioredis','../../mysqldb','rpc','../../config/environment','jayson/promise','client','request','then','info','request\x20sent','stringify','code','error','SquareReport,\x20%s,\x20%s','message','result','catch','CreateSquareReport','SquareReport','create','body','options','debug','UpdateSquareReport','update','raw','where'];(function(_0x2f679b,_0xa2835c){var _0x310c79=function(_0x43cc54){while(--_0x43cc54){_0x2f679b['push'](_0x2f679b['shift']());}};_0x310c79(++_0xa2835c);}(_0x9d80,0x18d));var _0x09d8=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0x9d80[_0x14add3];return _0x4a174f;};'use strict';var _=require(_0x09d8('0x0'));var util=require(_0x09d8('0x1'));var moment=require(_0x09d8('0x2'));var BPromise=require(_0x09d8('0x3'));var rs=require(_0x09d8('0x4'));var fs=require('fs');var Redis=require(_0x09d8('0x5'));var db=require(_0x09d8('0x6'))['db'];var utils=require('../../config/utils');var logger=require('../../config/logger')(_0x09d8('0x7'));var config=require(_0x09d8('0x8'));var jayson=require(_0x09d8('0x9'));var client=jayson[_0x09d8('0xa')]['http']({'port':0x232a});function respondWithRpcPromise(_0x59659e,_0x411aa8,_0x4e1cea){return new BPromise(function(_0x4837e6,_0x13c9e0){return client[_0x09d8('0xb')](_0x59659e,_0x4e1cea)[_0x09d8('0xc')](function(_0x3d68fc){logger[_0x09d8('0xd')]('SquareReport,\x20%s,\x20%s',_0x411aa8,_0x09d8('0xe'));logger['debug']('SquareReport,\x20%s,\x20%s,\x20%s',_0x411aa8,_0x09d8('0xe'),JSON[_0x09d8('0xf')](_0x3d68fc));if(_0x3d68fc['error']){if(_0x3d68fc['error'][_0x09d8('0x10')]===0x1f4){logger[_0x09d8('0x11')](_0x09d8('0x12'),_0x411aa8,_0x3d68fc['error'][_0x09d8('0x13')]);return _0x13c9e0(_0x3d68fc['error']['message']);}logger[_0x09d8('0x11')](_0x09d8('0x12'),_0x411aa8,_0x3d68fc['error'][_0x09d8('0x13')]);return _0x4837e6(_0x3d68fc[_0x09d8('0x11')][_0x09d8('0x13')]);}else{logger['info'](_0x09d8('0x12'),_0x411aa8,_0x09d8('0xe'));_0x4837e6(_0x3d68fc[_0x09d8('0x14')][_0x09d8('0x13')]);}})[_0x09d8('0x15')](function(_0x4c3480){logger['error'](_0x09d8('0x12'),_0x411aa8,_0x4c3480);_0x13c9e0(_0x4c3480);});});}exports[_0x09d8('0x16')]=function(_0x5cb17d){var _0x3ca5af=this;return new Promise(function(_0x5bb117,_0x399e7f){return db[_0x09d8('0x17')][_0x09d8('0x18')](_0x5cb17d[_0x09d8('0x19')],{'raw':_0x5cb17d['options']?_0x5cb17d[_0x09d8('0x1a')]['raw']===undefined?!![]:![]:!![]})['then'](function(_0x17609f){logger[_0x09d8('0xd')](_0x09d8('0x16'),_0x5cb17d);logger[_0x09d8('0x1b')]('CreateSquareReport',_0x5cb17d,JSON[_0x09d8('0xf')](_0x17609f));_0x5bb117(_0x17609f);})[_0x09d8('0x15')](function(_0x3d323e){logger[_0x09d8('0x11')](_0x09d8('0x16'),_0x3d323e[_0x09d8('0x13')],_0x5cb17d);_0x399e7f(_0x3ca5af[_0x09d8('0x11')](0x1f4,_0x3d323e['message']));});});};exports[_0x09d8('0x1c')]=function(_0x11adff){var _0x2963e5=this;return new Promise(function(_0xfe97a1,_0x4e0d11){return db['SquareReport'][_0x09d8('0x1d')](_0x11adff[_0x09d8('0x19')],{'raw':_0x11adff[_0x09d8('0x1a')]?_0x11adff[_0x09d8('0x1a')][_0x09d8('0x1e')]===undefined?!![]:![]:!![],'individualHooks':!![],'where':_0x11adff[_0x09d8('0x1a')]?_0x11adff[_0x09d8('0x1a')][_0x09d8('0x1f')]||null:null,'attributes':_0x11adff[_0x09d8('0x1a')]?_0x11adff[_0x09d8('0x1a')]['attributes']||null:null,'limit':_0x11adff['options']?_0x11adff[_0x09d8('0x1a')][_0x09d8('0x20')]||null:null})[_0x09d8('0xc')](function(_0xb04604){logger[_0x09d8('0xd')]('UpdateSquareReport',_0x11adff);logger[_0x09d8('0x1b')](_0x09d8('0x1c'),_0x11adff,JSON['stringify'](_0xb04604));_0xfe97a1(_0xb04604);})[_0x09d8('0x15')](function(_0x1c35d4){logger[_0x09d8('0x11')](_0x09d8('0x1c'),_0x1c35d4[_0x09d8('0x13')],_0x11adff);_0x4e0d11(_0x2963e5['error'](0x1f4,_0x1c35d4[_0x09d8('0x13')]));});});}; \ No newline at end of file +var _0x0dd0=['../../config/logger','rpc','../../config/environment','jayson/promise','client','http','request','then','info','SquareReport,\x20%s,\x20%s','request\x20sent','SquareReport,\x20%s,\x20%s,\x20%s','stringify','error','code','message','result','catch','CreateSquareReport','SquareReport','create','body','options','raw','UpdateSquareReport','update','where','attributes','limit','debug','util','moment','randomstring','../../config/utils'];(function(_0x5c097a,_0x59e5b7){var _0x46ed90=function(_0x20c40f){while(--_0x20c40f){_0x5c097a['push'](_0x5c097a['shift']());}};_0x46ed90(++_0x59e5b7);}(_0x0dd0,0xa6));var _0x00dd=function(_0x2bf49f,_0x4db4b7){_0x2bf49f=_0x2bf49f-0x0;var _0x1d0f69=_0x0dd0[_0x2bf49f];return _0x1d0f69;};'use strict';var _=require('lodash');var util=require(_0x00dd('0x0'));var moment=require(_0x00dd('0x1'));var BPromise=require('bluebird');var rs=require(_0x00dd('0x2'));var fs=require('fs');var Redis=require('ioredis');var db=require('../../mysqldb')['db'];var utils=require(_0x00dd('0x3'));var logger=require(_0x00dd('0x4'))(_0x00dd('0x5'));var config=require(_0x00dd('0x6'));var jayson=require(_0x00dd('0x7'));var client=jayson[_0x00dd('0x8')][_0x00dd('0x9')]({'port':0x232a});function respondWithRpcPromise(_0x30ee27,_0xd38d12,_0x5ee5a8){return new BPromise(function(_0x2f23c8,_0x13bf7b){return client[_0x00dd('0xa')](_0x30ee27,_0x5ee5a8)[_0x00dd('0xb')](function(_0x507b17){logger[_0x00dd('0xc')](_0x00dd('0xd'),_0xd38d12,_0x00dd('0xe'));logger['debug'](_0x00dd('0xf'),_0xd38d12,_0x00dd('0xe'),JSON[_0x00dd('0x10')](_0x507b17));if(_0x507b17[_0x00dd('0x11')]){if(_0x507b17[_0x00dd('0x11')][_0x00dd('0x12')]===0x1f4){logger['error']('SquareReport,\x20%s,\x20%s',_0xd38d12,_0x507b17[_0x00dd('0x11')][_0x00dd('0x13')]);return _0x13bf7b(_0x507b17['error'][_0x00dd('0x13')]);}logger['error'](_0x00dd('0xd'),_0xd38d12,_0x507b17['error']['message']);return _0x2f23c8(_0x507b17[_0x00dd('0x11')][_0x00dd('0x13')]);}else{logger[_0x00dd('0xc')](_0x00dd('0xd'),_0xd38d12,'request\x20sent');_0x2f23c8(_0x507b17[_0x00dd('0x14')]['message']);}})[_0x00dd('0x15')](function(_0x52c9b3){logger[_0x00dd('0x11')](_0x00dd('0xd'),_0xd38d12,_0x52c9b3);_0x13bf7b(_0x52c9b3);});});}exports[_0x00dd('0x16')]=function(_0x106531){var _0x5ed4ce=this;return new Promise(function(_0xecf272,_0x12f51f){return db[_0x00dd('0x17')][_0x00dd('0x18')](_0x106531[_0x00dd('0x19')],{'raw':_0x106531[_0x00dd('0x1a')]?_0x106531[_0x00dd('0x1a')][_0x00dd('0x1b')]===undefined?!![]:![]:!![]})[_0x00dd('0xb')](function(_0x1e69a9){logger['info'](_0x00dd('0x16'),_0x106531);logger['debug'](_0x00dd('0x16'),_0x106531,JSON['stringify'](_0x1e69a9));_0xecf272(_0x1e69a9);})[_0x00dd('0x15')](function(_0xb06e1f){logger['error']('CreateSquareReport',_0xb06e1f[_0x00dd('0x13')],_0x106531);_0x12f51f(_0x5ed4ce[_0x00dd('0x11')](0x1f4,_0xb06e1f[_0x00dd('0x13')]));});});};exports[_0x00dd('0x1c')]=function(_0x92f540){var _0x5afcfe=this;return new Promise(function(_0x344a50,_0x11ff47){return db[_0x00dd('0x17')][_0x00dd('0x1d')](_0x92f540[_0x00dd('0x19')],{'raw':_0x92f540[_0x00dd('0x1a')]?_0x92f540['options'][_0x00dd('0x1b')]===undefined?!![]:![]:!![],'individualHooks':!![],'where':_0x92f540['options']?_0x92f540['options'][_0x00dd('0x1e')]||null:null,'attributes':_0x92f540[_0x00dd('0x1a')]?_0x92f540[_0x00dd('0x1a')][_0x00dd('0x1f')]||null:null,'limit':_0x92f540[_0x00dd('0x1a')]?_0x92f540[_0x00dd('0x1a')][_0x00dd('0x20')]||null:null})[_0x00dd('0xb')](function(_0x270e82){logger[_0x00dd('0xc')]('UpdateSquareReport',_0x92f540);logger[_0x00dd('0x21')](_0x00dd('0x1c'),_0x92f540,JSON[_0x00dd('0x10')](_0x270e82));_0x344a50(_0x270e82);})[_0x00dd('0x15')](function(_0x546175){logger['error'](_0x00dd('0x1c'),_0x546175[_0x00dd('0x13')],_0x92f540);_0x11ff47(_0x5afcfe[_0x00dd('0x11')](0x1f4,_0x546175['message']));});});}; \ No newline at end of file diff --git a/server/api/squareReportDetail/index.js b/server/api/squareReportDetail/index.js index c4f80ec..ae774d0 100644 --- a/server/api/squareReportDetail/index.js +++ b/server/api/squareReportDetail/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x7a54=['describe','/:id','create','delete','destroy','exports','multer','util','path','express','Router','../../components/interaction/service','../../config/environment','./squareReportDetail.controller','get','isAuthenticated'];(function(_0x21c58d,_0x509794){var _0x418230=function(_0x13e360){while(--_0x13e360){_0x21c58d['push'](_0x21c58d['shift']());}};_0x418230(++_0x509794);}(_0x7a54,0x106));var _0x47a5=function(_0xafe568,_0x3a792a){_0xafe568=_0xafe568-0x0;var _0x2141ef=_0x7a54[_0xafe568];return _0x2141ef;};'use strict';var multer=require(_0x47a5('0x0'));var util=require(_0x47a5('0x1'));var path=require(_0x47a5('0x2'));var timeout=require('connect-timeout');var express=require(_0x47a5('0x3'));var router=express[_0x47a5('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0x47a5('0x5'));var config=require(_0x47a5('0x6'));var controller=require(_0x47a5('0x7'));router[_0x47a5('0x8')]('/',auth[_0x47a5('0x9')](),controller['index']);router[_0x47a5('0x8')]('/describe',auth[_0x47a5('0x9')](),controller[_0x47a5('0xa')]);router['get'](_0x47a5('0xb'),auth['isAuthenticated'](),controller['show']);router['post']('/',auth[_0x47a5('0x9')](),controller[_0x47a5('0xc')]);router['put'](_0x47a5('0xb'),auth['isAuthenticated'](),controller['update']);router[_0x47a5('0xd')](_0x47a5('0xb'),auth[_0x47a5('0x9')](),controller[_0x47a5('0xe')]);module[_0x47a5('0xf')]=router; \ No newline at end of file +var _0x814b=['path','connect-timeout','express','Router','../../components/interaction/service','../../config/environment','./squareReportDetail.controller','get','isAuthenticated','index','/describe','/:id','show','post','create','put','update','destroy','exports','multer','util'];(function(_0x3ab9ee,_0x4a74b8){var _0x82ee88=function(_0x6ccc7e){while(--_0x6ccc7e){_0x3ab9ee['push'](_0x3ab9ee['shift']());}};_0x82ee88(++_0x4a74b8);}(_0x814b,0x1a2));var _0xb814=function(_0x1c6ef2,_0x8d926a){_0x1c6ef2=_0x1c6ef2-0x0;var _0x404b8c=_0x814b[_0x1c6ef2];return _0x404b8c;};'use strict';var multer=require(_0xb814('0x0'));var util=require(_0xb814('0x1'));var path=require(_0xb814('0x2'));var timeout=require(_0xb814('0x3'));var express=require(_0xb814('0x4'));var router=express[_0xb814('0x5')]();var auth=require('../../components/auth/service');var interaction=require(_0xb814('0x6'));var config=require(_0xb814('0x7'));var controller=require(_0xb814('0x8'));router[_0xb814('0x9')]('/',auth[_0xb814('0xa')](),controller[_0xb814('0xb')]);router['get'](_0xb814('0xc'),auth[_0xb814('0xa')](),controller['describe']);router[_0xb814('0x9')](_0xb814('0xd'),auth[_0xb814('0xa')](),controller[_0xb814('0xe')]);router[_0xb814('0xf')]('/',auth[_0xb814('0xa')](),controller[_0xb814('0x10')]);router[_0xb814('0x11')](_0xb814('0xd'),auth[_0xb814('0xa')](),controller[_0xb814('0x12')]);router['delete'](_0xb814('0xd'),auth['isAuthenticated'](),controller[_0xb814('0x13')]);module[_0xb814('0x14')]=router; \ No newline at end of file diff --git a/server/api/squareReportDetail/squareReportDetail.attributes.js b/server/api/squareReportDetail/squareReportDetail.attributes.js index c1cec70..5491cea 100644 --- a/server/api/squareReportDetail/squareReportDetail.attributes.js +++ b/server/api/squareReportDetail/squareReportDetail.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xb755=['TEXT','sequelize','exports','STRING'];(function(_0x183709,_0x35db79){var _0x11a4e8=function(_0x27b634){while(--_0x27b634){_0x183709['push'](_0x183709['shift']());}};_0x11a4e8(++_0x35db79);}(_0xb755,0xd1));var _0x5b75=function(_0x2410d5,_0x154a3a){_0x2410d5=_0x2410d5-0x0;var _0x2dd2c0=_0xb755[_0x2410d5];return _0x2dd2c0;};'use strict';var Sequelize=require(_0x5b75('0x0'));module[_0x5b75('0x1')]={'uniqueid':{'type':Sequelize[_0x5b75('0x2')]},'node':{'type':Sequelize[_0x5b75('0x2')]},'application':{'type':Sequelize[_0x5b75('0x2')]},'data':{'type':Sequelize[_0x5b75('0x3')]},'project_name':{'type':Sequelize['STRING']},'callerid':{'type':Sequelize['STRING']}}; \ No newline at end of file +var _0x514c=['TEXT','sequelize','exports','STRING'];(function(_0x52ed01,_0x1b9fd9){var _0x630ace=function(_0x72e0db){while(--_0x72e0db){_0x52ed01['push'](_0x52ed01['shift']());}};_0x630ace(++_0x1b9fd9);}(_0x514c,0x195));var _0xc514=function(_0x54d601,_0x27590a){_0x54d601=_0x54d601-0x0;var _0x34d0e3=_0x514c[_0x54d601];return _0x34d0e3;};'use strict';var Sequelize=require(_0xc514('0x0'));module[_0xc514('0x1')]={'uniqueid':{'type':Sequelize[_0xc514('0x2')]},'node':{'type':Sequelize[_0xc514('0x2')]},'application':{'type':Sequelize[_0xc514('0x2')]},'data':{'type':Sequelize[_0xc514('0x3')]},'project_name':{'type':Sequelize[_0xc514('0x2')]},'callerid':{'type':Sequelize[_0xc514('0x2')]}}; \ No newline at end of file diff --git a/server/api/squareReportDetail/squareReportDetail.controller.js b/server/api/squareReportDetail/squareReportDetail.controller.js index e66a486..b60bba2 100644 --- a/server/api/squareReportDetail/squareReportDetail.controller.js +++ b/server/api/squareReportDetail/squareReportDetail.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xd66d=['order','sort','pick','filter','VIRTUAL','count','includeAll','findAll','rows','catch','show','params','include','merge','options','create','body','find','describe','html-pdf','zip-dir','fast-json-patch','bluebird','mustache','util','sox','to-csv','ejs','lodash','squel','crypto','jsforce','desk.js','querystring','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/environment','../../mysqldb','sendStatus','status','end','offset','set','json','apply','update','then','destroy','error','stack','name','send','map','SquareDetailsReport','rawAttributes','fieldName','model','query','keys','filters','intersection','attributes','fields','length','hasOwnProperty','nolimit','limit'];(function(_0x24ff6c,_0x3085cf){var _0x11ab64=function(_0x5a725d){while(--_0x5a725d){_0x24ff6c['push'](_0x24ff6c['shift']());}};_0x11ab64(++_0x3085cf);}(_0xd66d,0x133));var _0xdd66=function(_0x5d6456,_0x58ecc7){_0x5d6456=_0x5d6456-0x0;var _0x4d66c1=_0xd66d[_0x5d6456];return _0x4d66c1;};'use strict';var pdf=require(_0xdd66('0x0'));var emlformat=require('eml-format');var rimraf=require('rimraf');var zipdir=require(_0xdd66('0x1'));var jsonpatch=require(_0xdd66('0x2'));var rp=require('request-promise');var moment=require('moment');var BPromise=require(_0xdd66('0x3'));var Mustache=require(_0xdd66('0x4'));var util=require(_0xdd66('0x5'));var path=require('path');var sox=require(_0xdd66('0x6'));var csv=require(_0xdd66('0x7'));var ejs=require(_0xdd66('0x8'));var fs=require('fs');var _=require(_0xdd66('0x9'));var squel=require(_0xdd66('0xa'));var crypto=require(_0xdd66('0xb'));var jsforce=require(_0xdd66('0xc'));var deskjs=require(_0xdd66('0xd'));var toCsv=require(_0xdd66('0x7'));var querystring=require(_0xdd66('0xe'));var Papa=require('papaparse');var Redis=require(_0xdd66('0xf'));var authService=require(_0xdd66('0x10'));var qs=require(_0xdd66('0x11'));var as=require(_0xdd66('0x12'));var hardwareService=require(_0xdd66('0x13'));var logger=require(_0xdd66('0x14'))(_0xdd66('0x15'));var utils=require('../../config/utils');var config=require(_0xdd66('0x16'));var db=require(_0xdd66('0x17'))['db'];function respondWithStatusCode(_0x23a303,_0x5c999d){_0x5c999d=_0x5c999d||0xcc;return function(_0x546b58){if(_0x546b58){return _0x23a303[_0xdd66('0x18')](_0x5c999d);}return _0x23a303[_0xdd66('0x19')](_0x5c999d)[_0xdd66('0x1a')]();};}function respondWithResult(_0xe4a462,_0x2c3f55){_0x2c3f55=_0x2c3f55||0xc8;return function(_0x459258){if(_0x459258){return _0xe4a462['status'](_0x2c3f55)['json'](_0x459258);}};}function respondWithFilteredResult(_0x348d66,_0x45baef){return function(_0x31d4d9){if(_0x31d4d9){var _0x53bc31=_0x31d4d9['count'],_0xafee5e=_0x45baef['offset'],_0x9b7353=_0x45baef[_0xdd66('0x1b')]+_0x45baef['limit'],_0xdcdbab;if(_0x9b7353>=_0x53bc31){_0x9b7353=_0x53bc31;_0xdcdbab=0xc8;}else{_0xdcdbab=0xce;}_0x348d66[_0xdd66('0x19')](_0xdcdbab);return _0x348d66[_0xdd66('0x1c')]('Content-Range',_0xafee5e+'-'+_0x9b7353+'/'+_0x53bc31)[_0xdd66('0x1d')](_0x31d4d9);}return null;};}function patchUpdates(_0x1d0096){return function(_0x3664b7){try{jsonpatch[_0xdd66('0x1e')](_0x3664b7,_0x1d0096,!![]);}catch(_0x400ecc){return BPromise['reject'](_0x400ecc);}return _0x3664b7['save']();};}function saveUpdates(_0x45b050,_0xca401c){return function(_0x4bd5b3){if(_0x4bd5b3){return _0x4bd5b3[_0xdd66('0x1f')](_0x45b050)[_0xdd66('0x20')](function(_0x41e509){return _0x41e509;});}return null;};}function removeEntity(_0xd53e1a,_0xf14a5e){return function(_0x1bd2b1){if(_0x1bd2b1){return _0x1bd2b1[_0xdd66('0x21')]()[_0xdd66('0x20')](function(){_0xd53e1a[_0xdd66('0x19')](0xcc)[_0xdd66('0x1a')]();});}};}function handleEntityNotFound(_0x1a4b9d,_0x3ff4ca){return function(_0x295390){if(!_0x295390){_0x1a4b9d[_0xdd66('0x18')](0x194);}return _0x295390;};}function handleError(_0x2bb146,_0xf6ae4e){_0xf6ae4e=_0xf6ae4e||0x1f4;return function(_0x40f32e){logger[_0xdd66('0x22')](_0x40f32e[_0xdd66('0x23')]);if(_0x40f32e[_0xdd66('0x24')]){delete _0x40f32e['name'];}_0x2bb146[_0xdd66('0x19')](_0xf6ae4e)[_0xdd66('0x25')](_0x40f32e);};}exports['index']=function(_0x17e429,_0x405c00){var _0x13b63e={},_0x35290b={},_0x1acdf2={'count':0x0,'rows':[]};var _0x42cdef=_[_0xdd66('0x26')](db[_0xdd66('0x27')][_0xdd66('0x28')],function(_0xa92999){return{'name':_0xa92999[_0xdd66('0x29')],'type':_0xa92999['type']['key']};});_0x35290b[_0xdd66('0x2a')]=_['map'](_0x42cdef,_0xdd66('0x24'));_0x35290b[_0xdd66('0x2b')]=_[_0xdd66('0x2c')](_0x17e429['query']);_0x35290b[_0xdd66('0x2d')]=_[_0xdd66('0x2e')](_0x35290b['model'],_0x35290b['query']);_0x13b63e[_0xdd66('0x2f')]=_[_0xdd66('0x2e')](_0x35290b[_0xdd66('0x2a')],qs[_0xdd66('0x30')](_0x17e429['query'][_0xdd66('0x30')]));_0x13b63e[_0xdd66('0x2f')]=_0x13b63e[_0xdd66('0x2f')][_0xdd66('0x31')]?_0x13b63e[_0xdd66('0x2f')]:_0x35290b[_0xdd66('0x2a')];if(!_0x17e429[_0xdd66('0x2b')][_0xdd66('0x32')](_0xdd66('0x33'))){_0x13b63e['limit']=qs['limit'](_0x17e429['query'][_0xdd66('0x34')]);_0x13b63e[_0xdd66('0x1b')]=qs[_0xdd66('0x1b')](_0x17e429[_0xdd66('0x2b')][_0xdd66('0x1b')]);}_0x13b63e[_0xdd66('0x35')]=qs[_0xdd66('0x36')](_0x17e429[_0xdd66('0x2b')][_0xdd66('0x36')]);_0x13b63e['where']=qs[_0xdd66('0x2d')](_[_0xdd66('0x37')](_0x17e429[_0xdd66('0x2b')],_0x35290b[_0xdd66('0x2d')]),_0x42cdef);if(_0x17e429[_0xdd66('0x2b')][_0xdd66('0x38')]){_0x13b63e['where']=_['merge'](_0x13b63e['where'],{'$or':_[_0xdd66('0x26')](_0x42cdef,function(_0x324aae){if(_0x324aae['type']!==_0xdd66('0x39')){var _0x40d1bf={};_0x40d1bf[_0x324aae[_0xdd66('0x24')]]={'$like':'%'+_0x17e429['query'][_0xdd66('0x38')]+'%'};return _0x40d1bf;}})});}_0x13b63e=_['merge']({},_0x13b63e,_0x17e429['options']);var _0x25a3ec={'where':_0x13b63e['where']};return db[_0xdd66('0x27')][_0xdd66('0x3a')](_0x25a3ec)[_0xdd66('0x20')](function(_0x56e05e){_0x1acdf2[_0xdd66('0x3a')]=_0x56e05e;if(_0x17e429['query'][_0xdd66('0x3b')]){_0x13b63e['include']=[{'all':!![]}];}return db['SquareDetailsReport'][_0xdd66('0x3c')](_0x13b63e);})[_0xdd66('0x20')](function(_0x38f60a){_0x1acdf2[_0xdd66('0x3d')]=_0x38f60a;return _0x1acdf2;})[_0xdd66('0x20')](respondWithFilteredResult(_0x405c00,_0x13b63e))[_0xdd66('0x3e')](handleError(_0x405c00,null));};exports[_0xdd66('0x3f')]=function(_0x31d79b,_0x4a010a){var _0x582cf0={'raw':!![],'where':{'id':_0x31d79b[_0xdd66('0x40')]['id']}},_0x4be495={};_0x4be495['model']=_[_0xdd66('0x2c')](db[_0xdd66('0x27')]['rawAttributes']);_0x4be495[_0xdd66('0x2b')]=_['keys'](_0x31d79b['query']);_0x4be495[_0xdd66('0x2d')]=_[_0xdd66('0x2e')](_0x4be495[_0xdd66('0x2a')],_0x4be495['query']);_0x582cf0[_0xdd66('0x2f')]=_[_0xdd66('0x2e')](_0x4be495[_0xdd66('0x2a')],qs['fields'](_0x31d79b[_0xdd66('0x2b')][_0xdd66('0x30')]));_0x582cf0[_0xdd66('0x2f')]=_0x582cf0[_0xdd66('0x2f')][_0xdd66('0x31')]?_0x582cf0[_0xdd66('0x2f')]:_0x4be495[_0xdd66('0x2a')];if(_0x31d79b[_0xdd66('0x2b')][_0xdd66('0x3b')]){_0x582cf0[_0xdd66('0x41')]=[{'all':!![]}];}_0x582cf0=_[_0xdd66('0x42')]({},_0x582cf0,_0x31d79b[_0xdd66('0x43')]);return db[_0xdd66('0x27')]['find'](_0x582cf0)[_0xdd66('0x20')](handleEntityNotFound(_0x4a010a,null))[_0xdd66('0x20')](respondWithResult(_0x4a010a,null))[_0xdd66('0x3e')](handleError(_0x4a010a,null));};exports[_0xdd66('0x44')]=function(_0x5dc706,_0x1fe5e8){return db[_0xdd66('0x27')][_0xdd66('0x44')](_0x5dc706[_0xdd66('0x45')],{})['then'](respondWithResult(_0x1fe5e8,0xc9))[_0xdd66('0x3e')](handleError(_0x1fe5e8,null));};exports[_0xdd66('0x1f')]=function(_0x1f986e,_0x56fd78){if(_0x1f986e[_0xdd66('0x45')]['id']){delete _0x1f986e[_0xdd66('0x45')]['id'];}return db[_0xdd66('0x27')]['find']({'where':{'id':_0x1f986e['params']['id']}})[_0xdd66('0x20')](handleEntityNotFound(_0x56fd78,null))[_0xdd66('0x20')](saveUpdates(_0x1f986e[_0xdd66('0x45')],null))[_0xdd66('0x20')](respondWithResult(_0x56fd78,null))[_0xdd66('0x3e')](handleError(_0x56fd78,null));};exports['destroy']=function(_0xb33879,_0x201d73){return db[_0xdd66('0x27')][_0xdd66('0x46')]({'where':{'id':_0xb33879[_0xdd66('0x40')]['id']}})[_0xdd66('0x20')](handleEntityNotFound(_0x201d73,null))[_0xdd66('0x20')](removeEntity(_0x201d73,null))[_0xdd66('0x3e')](handleError(_0x201d73,null));};exports[_0xdd66('0x47')]=function(_0x5af1be,_0x3d2d05){return db['SquareDetailsReport'][_0xdd66('0x47')]()[_0xdd66('0x20')](respondWithResult(_0x3d2d05,null))[_0xdd66('0x3e')](handleError(_0x3d2d05,null));}; \ No newline at end of file +var _0xe89d=['zip-dir','fast-json-patch','request-promise','moment','bluebird','mustache','util','path','sox','to-csv','ejs','lodash','squel','crypto','jsforce','desk.js','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','sendStatus','status','end','count','offset','limit','set','Content-Range','json','apply','reject','save','update','then','destroy','error','name','send','index','map','SquareDetailsReport','rawAttributes','fieldName','type','key','model','query','keys','filters','fields','attributes','length','nolimit','where','pick','filter','merge','VIRTUAL','includeAll','include','findAll','rows','catch','intersection','options','body','find','params'];(function(_0x27b349,_0x15bdc2){var _0x59163b=function(_0x15dab9){while(--_0x15dab9){_0x27b349['push'](_0x27b349['shift']());}};_0x59163b(++_0x15bdc2);}(_0xe89d,0x172));var _0xde89=function(_0xfae23b,_0x2be4ba){_0xfae23b=_0xfae23b-0x0;var _0x200640=_0xe89d[_0xfae23b];return _0x200640;};'use strict';var pdf=require('html-pdf');var emlformat=require('eml-format');var rimraf=require('rimraf');var zipdir=require(_0xde89('0x0'));var jsonpatch=require(_0xde89('0x1'));var rp=require(_0xde89('0x2'));var moment=require(_0xde89('0x3'));var BPromise=require(_0xde89('0x4'));var Mustache=require(_0xde89('0x5'));var util=require(_0xde89('0x6'));var path=require(_0xde89('0x7'));var sox=require(_0xde89('0x8'));var csv=require(_0xde89('0x9'));var ejs=require(_0xde89('0xa'));var fs=require('fs');var _=require(_0xde89('0xb'));var squel=require(_0xde89('0xc'));var crypto=require(_0xde89('0xd'));var jsforce=require(_0xde89('0xe'));var deskjs=require(_0xde89('0xf'));var toCsv=require('to-csv');var querystring=require('querystring');var Papa=require(_0xde89('0x10'));var Redis=require(_0xde89('0x11'));var authService=require(_0xde89('0x12'));var qs=require(_0xde89('0x13'));var as=require(_0xde89('0x14'));var hardwareService=require(_0xde89('0x15'));var logger=require(_0xde89('0x16'))(_0xde89('0x17'));var utils=require(_0xde89('0x18'));var config=require(_0xde89('0x19'));var db=require('../../mysqldb')['db'];function respondWithStatusCode(_0x2279a6,_0x3cd397){_0x3cd397=_0x3cd397||0xcc;return function(_0x430c18){if(_0x430c18){return _0x2279a6[_0xde89('0x1a')](_0x3cd397);}return _0x2279a6[_0xde89('0x1b')](_0x3cd397)[_0xde89('0x1c')]();};}function respondWithResult(_0x2ebcca,_0x1b5a84){_0x1b5a84=_0x1b5a84||0xc8;return function(_0x337254){if(_0x337254){return _0x2ebcca[_0xde89('0x1b')](_0x1b5a84)['json'](_0x337254);}};}function respondWithFilteredResult(_0x4287eb,_0x49af44){return function(_0x4842c1){if(_0x4842c1){var _0x5bbd0f=_0x4842c1[_0xde89('0x1d')],_0x16c182=_0x49af44[_0xde89('0x1e')],_0x2d570=_0x49af44[_0xde89('0x1e')]+_0x49af44[_0xde89('0x1f')],_0x3c9a6d;if(_0x2d570>=_0x5bbd0f){_0x2d570=_0x5bbd0f;_0x3c9a6d=0xc8;}else{_0x3c9a6d=0xce;}_0x4287eb[_0xde89('0x1b')](_0x3c9a6d);return _0x4287eb[_0xde89('0x20')](_0xde89('0x21'),_0x16c182+'-'+_0x2d570+'/'+_0x5bbd0f)[_0xde89('0x22')](_0x4842c1);}return null;};}function patchUpdates(_0xe5b3b9){return function(_0x309859){try{jsonpatch[_0xde89('0x23')](_0x309859,_0xe5b3b9,!![]);}catch(_0x49343f){return BPromise[_0xde89('0x24')](_0x49343f);}return _0x309859[_0xde89('0x25')]();};}function saveUpdates(_0x5d77cf,_0x48ebec){return function(_0x4f1a81){if(_0x4f1a81){return _0x4f1a81[_0xde89('0x26')](_0x5d77cf)[_0xde89('0x27')](function(_0x366060){return _0x366060;});}return null;};}function removeEntity(_0x3f18cc,_0x3da336){return function(_0x35029c){if(_0x35029c){return _0x35029c[_0xde89('0x28')]()[_0xde89('0x27')](function(){_0x3f18cc['status'](0xcc)[_0xde89('0x1c')]();});}};}function handleEntityNotFound(_0xcba263,_0xce8108){return function(_0x39e0e6){if(!_0x39e0e6){_0xcba263[_0xde89('0x1a')](0x194);}return _0x39e0e6;};}function handleError(_0x2ac0cb,_0x531f89){_0x531f89=_0x531f89||0x1f4;return function(_0xee0937){logger[_0xde89('0x29')](_0xee0937['stack']);if(_0xee0937[_0xde89('0x2a')]){delete _0xee0937['name'];}_0x2ac0cb[_0xde89('0x1b')](_0x531f89)[_0xde89('0x2b')](_0xee0937);};}exports[_0xde89('0x2c')]=function(_0xc4d733,_0x22ae75){var _0x2c3a4b={},_0x6eb299={},_0x2912df={'count':0x0,'rows':[]};var _0x462aa8=_[_0xde89('0x2d')](db[_0xde89('0x2e')][_0xde89('0x2f')],function(_0x1d0cda){return{'name':_0x1d0cda[_0xde89('0x30')],'type':_0x1d0cda[_0xde89('0x31')][_0xde89('0x32')]};});_0x6eb299[_0xde89('0x33')]=_['map'](_0x462aa8,_0xde89('0x2a'));_0x6eb299[_0xde89('0x34')]=_[_0xde89('0x35')](_0xc4d733[_0xde89('0x34')]);_0x6eb299[_0xde89('0x36')]=_['intersection'](_0x6eb299[_0xde89('0x33')],_0x6eb299[_0xde89('0x34')]);_0x2c3a4b['attributes']=_['intersection'](_0x6eb299[_0xde89('0x33')],qs[_0xde89('0x37')](_0xc4d733[_0xde89('0x34')]['fields']));_0x2c3a4b[_0xde89('0x38')]=_0x2c3a4b[_0xde89('0x38')][_0xde89('0x39')]?_0x2c3a4b['attributes']:_0x6eb299[_0xde89('0x33')];if(!_0xc4d733[_0xde89('0x34')]['hasOwnProperty'](_0xde89('0x3a'))){_0x2c3a4b[_0xde89('0x1f')]=qs['limit'](_0xc4d733[_0xde89('0x34')][_0xde89('0x1f')]);_0x2c3a4b['offset']=qs[_0xde89('0x1e')](_0xc4d733[_0xde89('0x34')][_0xde89('0x1e')]);}_0x2c3a4b['order']=qs['sort'](_0xc4d733[_0xde89('0x34')]['sort']);_0x2c3a4b[_0xde89('0x3b')]=qs[_0xde89('0x36')](_[_0xde89('0x3c')](_0xc4d733['query'],_0x6eb299[_0xde89('0x36')]),_0x462aa8);if(_0xc4d733[_0xde89('0x34')][_0xde89('0x3d')]){_0x2c3a4b[_0xde89('0x3b')]=_[_0xde89('0x3e')](_0x2c3a4b[_0xde89('0x3b')],{'$or':_[_0xde89('0x2d')](_0x462aa8,function(_0x41fa93){if(_0x41fa93[_0xde89('0x31')]!==_0xde89('0x3f')){var _0x2e8f51={};_0x2e8f51[_0x41fa93['name']]={'$like':'%'+_0xc4d733[_0xde89('0x34')]['filter']+'%'};return _0x2e8f51;}})});}_0x2c3a4b=_[_0xde89('0x3e')]({},_0x2c3a4b,_0xc4d733['options']);var _0x58a916={'where':_0x2c3a4b['where']};return db[_0xde89('0x2e')][_0xde89('0x1d')](_0x58a916)['then'](function(_0x29bcc1){_0x2912df[_0xde89('0x1d')]=_0x29bcc1;if(_0xc4d733[_0xde89('0x34')][_0xde89('0x40')]){_0x2c3a4b[_0xde89('0x41')]=[{'all':!![]}];}return db[_0xde89('0x2e')][_0xde89('0x42')](_0x2c3a4b);})[_0xde89('0x27')](function(_0x1f59b7){_0x2912df[_0xde89('0x43')]=_0x1f59b7;return _0x2912df;})[_0xde89('0x27')](respondWithFilteredResult(_0x22ae75,_0x2c3a4b))[_0xde89('0x44')](handleError(_0x22ae75,null));};exports['show']=function(_0x2ea976,_0x141a8b){var _0x47eb70={'raw':!![],'where':{'id':_0x2ea976['params']['id']}},_0x5db7c5={};_0x5db7c5['model']=_[_0xde89('0x35')](db[_0xde89('0x2e')][_0xde89('0x2f')]);_0x5db7c5[_0xde89('0x34')]=_[_0xde89('0x35')](_0x2ea976[_0xde89('0x34')]);_0x5db7c5['filters']=_[_0xde89('0x45')](_0x5db7c5[_0xde89('0x33')],_0x5db7c5['query']);_0x47eb70['attributes']=_['intersection'](_0x5db7c5[_0xde89('0x33')],qs[_0xde89('0x37')](_0x2ea976['query']['fields']));_0x47eb70['attributes']=_0x47eb70[_0xde89('0x38')][_0xde89('0x39')]?_0x47eb70[_0xde89('0x38')]:_0x5db7c5[_0xde89('0x33')];if(_0x2ea976[_0xde89('0x34')][_0xde89('0x40')]){_0x47eb70[_0xde89('0x41')]=[{'all':!![]}];}_0x47eb70=_[_0xde89('0x3e')]({},_0x47eb70,_0x2ea976[_0xde89('0x46')]);return db[_0xde89('0x2e')]['find'](_0x47eb70)['then'](handleEntityNotFound(_0x141a8b,null))[_0xde89('0x27')](respondWithResult(_0x141a8b,null))['catch'](handleError(_0x141a8b,null));};exports['create']=function(_0x5738f9,_0x10667c){return db[_0xde89('0x2e')]['create'](_0x5738f9[_0xde89('0x47')],{})[_0xde89('0x27')](respondWithResult(_0x10667c,0xc9))[_0xde89('0x44')](handleError(_0x10667c,null));};exports[_0xde89('0x26')]=function(_0x159242,_0x4fb1c0){if(_0x159242['body']['id']){delete _0x159242[_0xde89('0x47')]['id'];}return db[_0xde89('0x2e')][_0xde89('0x48')]({'where':{'id':_0x159242['params']['id']}})[_0xde89('0x27')](handleEntityNotFound(_0x4fb1c0,null))[_0xde89('0x27')](saveUpdates(_0x159242['body'],null))[_0xde89('0x27')](respondWithResult(_0x4fb1c0,null))[_0xde89('0x44')](handleError(_0x4fb1c0,null));};exports[_0xde89('0x28')]=function(_0x4809dc,_0x31f150){return db['SquareDetailsReport'][_0xde89('0x48')]({'where':{'id':_0x4809dc[_0xde89('0x49')]['id']}})[_0xde89('0x27')](handleEntityNotFound(_0x31f150,null))[_0xde89('0x27')](removeEntity(_0x31f150,null))['catch'](handleError(_0x31f150,null));};exports['describe']=function(_0x254bf7,_0x226f0f){return db[_0xde89('0x2e')]['describe']()['then'](respondWithResult(_0x226f0f,null))[_0xde89('0x44')](handleError(_0x226f0f,null));}; \ No newline at end of file diff --git a/server/api/squareReportDetail/squareReportDetail.model.js b/server/api/squareReportDetail/squareReportDetail.model.js index 8997a07..3ef09ba 100644 --- a/server/api/squareReportDetail/squareReportDetail.model.js +++ b/server/api/squareReportDetail/squareReportDetail.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x65e2=['./squareReportDetail.attributes','exports','define','SquareDetailsReport','report_square_details','lodash','util','../../config/logger','api','moment','request-promise','path','rimraf','../../config/environment'];(function(_0xaec079,_0x57e4d1){var _0x12e1bb=function(_0x1211a8){while(--_0x1211a8){_0xaec079['push'](_0xaec079['shift']());}};_0x12e1bb(++_0x57e4d1);}(_0x65e2,0x1b7));var _0x265e=function(_0x1f8bf,_0xf9b862){_0x1f8bf=_0x1f8bf-0x0;var _0x16ea29=_0x65e2[_0x1f8bf];return _0x16ea29;};'use strict';var _=require(_0x265e('0x0'));var util=require(_0x265e('0x1'));var logger=require(_0x265e('0x2'))(_0x265e('0x3'));var moment=require(_0x265e('0x4'));var BPromise=require('bluebird');var rp=require(_0x265e('0x5'));var fs=require('fs');var path=require(_0x265e('0x6'));var rimraf=require(_0x265e('0x7'));var config=require(_0x265e('0x8'));var attributes=require(_0x265e('0x9'));module[_0x265e('0xa')]=function(_0x55d7e7,_0x1c3e08){return _0x55d7e7[_0x265e('0xb')](_0x265e('0xc'),attributes,{'tableName':_0x265e('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0xd6a8=['util','../../config/logger','request-promise','path','../../config/environment','./squareReportDetail.attributes','exports','define','SquareDetailsReport','report_square_details','lodash'];(function(_0x45cda4,_0x4fa1ab){var _0x94fe7a=function(_0x13731c){while(--_0x13731c){_0x45cda4['push'](_0x45cda4['shift']());}};_0x94fe7a(++_0x4fa1ab);}(_0xd6a8,0x175));var _0x8d6a=function(_0x43ad30,_0xb208aa){_0x43ad30=_0x43ad30-0x0;var _0x583ad5=_0xd6a8[_0x43ad30];return _0x583ad5;};'use strict';var _=require(_0x8d6a('0x0'));var util=require(_0x8d6a('0x1'));var logger=require(_0x8d6a('0x2'))('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x8d6a('0x3'));var fs=require('fs');var path=require(_0x8d6a('0x4'));var rimraf=require('rimraf');var config=require(_0x8d6a('0x5'));var attributes=require(_0x8d6a('0x6'));module[_0x8d6a('0x7')]=function(_0x30bab8,_0x56febb){return _0x30bab8[_0x8d6a('0x8')](_0x8d6a('0x9'),attributes,{'tableName':_0x8d6a('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/squareReportDetail/squareReportDetail.rpc.js b/server/api/squareReportDetail/squareReportDetail.rpc.js index 5aac87f..ce90d65 100644 --- a/server/api/squareReportDetail/squareReportDetail.rpc.js +++ b/server/api/squareReportDetail/squareReportDetail.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x4eb7=['jayson/promise','client','http','request','then','info','SquareDetailsReport,\x20%s,\x20%s','request\x20sent','debug','stringify','error','code','message','result','catch','CreateSquareDetailsReport','SquareDetailsReport','options','raw','lodash','moment','bluebird','randomstring','ioredis','../../mysqldb','../../config/logger','rpc','../../config/environment'];(function(_0x174ef5,_0x256e8e){var _0x1cc379=function(_0x3eafcf){while(--_0x3eafcf){_0x174ef5['push'](_0x174ef5['shift']());}};_0x1cc379(++_0x256e8e);}(_0x4eb7,0x147));var _0x74eb=function(_0x1d9aa0,_0x272488){_0x1d9aa0=_0x1d9aa0-0x0;var _0x226868=_0x4eb7[_0x1d9aa0];return _0x226868;};'use strict';var _=require(_0x74eb('0x0'));var util=require('util');var moment=require(_0x74eb('0x1'));var BPromise=require(_0x74eb('0x2'));var rs=require(_0x74eb('0x3'));var fs=require('fs');var Redis=require(_0x74eb('0x4'));var db=require(_0x74eb('0x5'))['db'];var utils=require('../../config/utils');var logger=require(_0x74eb('0x6'))(_0x74eb('0x7'));var config=require(_0x74eb('0x8'));var jayson=require(_0x74eb('0x9'));var client=jayson[_0x74eb('0xa')][_0x74eb('0xb')]({'port':0x232a});function respondWithRpcPromise(_0xab9602,_0x57bc13,_0xa0b3b3){return new BPromise(function(_0x101af9,_0x3fb01b){return client[_0x74eb('0xc')](_0xab9602,_0xa0b3b3)[_0x74eb('0xd')](function(_0x4402a0){logger[_0x74eb('0xe')](_0x74eb('0xf'),_0x57bc13,_0x74eb('0x10'));logger[_0x74eb('0x11')]('SquareDetailsReport,\x20%s,\x20%s,\x20%s',_0x57bc13,_0x74eb('0x10'),JSON[_0x74eb('0x12')](_0x4402a0));if(_0x4402a0[_0x74eb('0x13')]){if(_0x4402a0[_0x74eb('0x13')][_0x74eb('0x14')]===0x1f4){logger[_0x74eb('0x13')](_0x74eb('0xf'),_0x57bc13,_0x4402a0['error']['message']);return _0x3fb01b(_0x4402a0['error']['message']);}logger[_0x74eb('0x13')]('SquareDetailsReport,\x20%s,\x20%s',_0x57bc13,_0x4402a0['error']['message']);return _0x101af9(_0x4402a0[_0x74eb('0x13')][_0x74eb('0x15')]);}else{logger[_0x74eb('0xe')](_0x74eb('0xf'),_0x57bc13,_0x74eb('0x10'));_0x101af9(_0x4402a0[_0x74eb('0x16')][_0x74eb('0x15')]);}})[_0x74eb('0x17')](function(_0x44bf8f){logger[_0x74eb('0x13')](_0x74eb('0xf'),_0x57bc13,_0x44bf8f);_0x3fb01b(_0x44bf8f);});});}exports[_0x74eb('0x18')]=function(_0x150ac8){var _0x1fe330=this;return new Promise(function(_0x5b316b,_0x9a06b0){return db[_0x74eb('0x19')]['create'](_0x150ac8['body'],{'raw':_0x150ac8[_0x74eb('0x1a')]?_0x150ac8[_0x74eb('0x1a')][_0x74eb('0x1b')]===undefined?!![]:![]:!![]})['then'](function(_0x4d3977){logger[_0x74eb('0xe')](_0x74eb('0x18'),_0x150ac8);logger[_0x74eb('0x11')]('CreateSquareDetailsReport',_0x150ac8,JSON[_0x74eb('0x12')](_0x4d3977));_0x5b316b(_0x4d3977);})['catch'](function(_0x3a60dc){logger['error']('CreateSquareDetailsReport',_0x3a60dc[_0x74eb('0x15')],_0x150ac8);_0x9a06b0(_0x1fe330[_0x74eb('0x13')](0x1f4,_0x3a60dc['message']));});});}; \ No newline at end of file +var _0x5089=['raw','lodash','util','moment','bluebird','randomstring','ioredis','../../mysqldb','../../config/utils','rpc','jayson/promise','client','request','then','info','SquareDetailsReport,\x20%s,\x20%s','request\x20sent','debug','SquareDetailsReport,\x20%s,\x20%s,\x20%s','stringify','error','message','catch','CreateSquareDetailsReport','create','body','options'];(function(_0x378266,_0x11fd6a){var _0x20eb3e=function(_0x4b04c3){while(--_0x4b04c3){_0x378266['push'](_0x378266['shift']());}};_0x20eb3e(++_0x11fd6a);}(_0x5089,0x1e7));var _0x9508=function(_0x10852d,_0x4cdcc6){_0x10852d=_0x10852d-0x0;var _0x13a8d6=_0x5089[_0x10852d];return _0x13a8d6;};'use strict';var _=require(_0x9508('0x0'));var util=require(_0x9508('0x1'));var moment=require(_0x9508('0x2'));var BPromise=require(_0x9508('0x3'));var rs=require(_0x9508('0x4'));var fs=require('fs');var Redis=require(_0x9508('0x5'));var db=require(_0x9508('0x6'))['db'];var utils=require(_0x9508('0x7'));var logger=require('../../config/logger')(_0x9508('0x8'));var config=require('../../config/environment');var jayson=require(_0x9508('0x9'));var client=jayson[_0x9508('0xa')]['http']({'port':0x232a});function respondWithRpcPromise(_0x3ac264,_0x327846,_0x337a3e){return new BPromise(function(_0x48cd3c,_0x1bfd25){return client[_0x9508('0xb')](_0x3ac264,_0x337a3e)[_0x9508('0xc')](function(_0x2ac28a){logger[_0x9508('0xd')](_0x9508('0xe'),_0x327846,_0x9508('0xf'));logger[_0x9508('0x10')](_0x9508('0x11'),_0x327846,'request\x20sent',JSON[_0x9508('0x12')](_0x2ac28a));if(_0x2ac28a[_0x9508('0x13')]){if(_0x2ac28a[_0x9508('0x13')]['code']===0x1f4){logger[_0x9508('0x13')](_0x9508('0xe'),_0x327846,_0x2ac28a[_0x9508('0x13')]['message']);return _0x1bfd25(_0x2ac28a['error'][_0x9508('0x14')]);}logger[_0x9508('0x13')]('SquareDetailsReport,\x20%s,\x20%s',_0x327846,_0x2ac28a[_0x9508('0x13')][_0x9508('0x14')]);return _0x48cd3c(_0x2ac28a['error'][_0x9508('0x14')]);}else{logger[_0x9508('0xd')](_0x9508('0xe'),_0x327846,_0x9508('0xf'));_0x48cd3c(_0x2ac28a['result'][_0x9508('0x14')]);}})[_0x9508('0x15')](function(_0x4445f1){logger[_0x9508('0x13')]('SquareDetailsReport,\x20%s,\x20%s',_0x327846,_0x4445f1);_0x1bfd25(_0x4445f1);});});}exports[_0x9508('0x16')]=function(_0x2da1c9){var _0x4a8a6d=this;return new Promise(function(_0x1344e7,_0x2e4cd2){return db['SquareDetailsReport'][_0x9508('0x17')](_0x2da1c9[_0x9508('0x18')],{'raw':_0x2da1c9[_0x9508('0x19')]?_0x2da1c9[_0x9508('0x19')][_0x9508('0x1a')]===undefined?!![]:![]:!![]})['then'](function(_0x263744){logger['info']('CreateSquareDetailsReport',_0x2da1c9);logger[_0x9508('0x10')]('CreateSquareDetailsReport',_0x2da1c9,JSON[_0x9508('0x12')](_0x263744));_0x1344e7(_0x263744);})['catch'](function(_0xbe6526){logger[_0x9508('0x13')](_0x9508('0x16'),_0xbe6526[_0x9508('0x14')],_0x2da1c9);_0x2e4cd2(_0x4a8a6d[_0x9508('0x13')](0x1f4,_0xbe6526[_0x9508('0x14')]));});});}; \ No newline at end of file diff --git a/server/api/system/index.js b/server/api/system/index.js index 10c77c0..2c6ef48 100644 --- a/server/api/system/index.js +++ b/server/api/system/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xe078=['Router','../../components/auth/service','./system.controller','isAuthenticated','index','get','killProcess','exports'];(function(_0xb7ae03,_0x1c3da8){var _0x41eefa=function(_0x141801){while(--_0x141801){_0xb7ae03['push'](_0xb7ae03['shift']());}};_0x41eefa(++_0x1c3da8);}(_0xe078,0x70));var _0x8e07=function(_0x465a0c,_0x19d4d5){_0x465a0c=_0x465a0c-0x0;var _0x1e202e=_0xe078[_0x465a0c];return _0x1e202e;};'use strict';var express=require('express');var router=express[_0x8e07('0x0')]();var auth=require(_0x8e07('0x1'));var controller=require(_0x8e07('0x2'));router['get']('/',auth[_0x8e07('0x3')](),controller[_0x8e07('0x4')]);router[_0x8e07('0x5')]('/process/:pid/kill',auth[_0x8e07('0x3')](),controller[_0x8e07('0x6')]);module[_0x8e07('0x7')]=router; \ No newline at end of file +var _0x6123=['../../components/auth/service','get','isAuthenticated','/process/:pid/kill','killProcess','exports','Router'];(function(_0xf4e030,_0x131199){var _0x30f392=function(_0x584802){while(--_0x584802){_0xf4e030['push'](_0xf4e030['shift']());}};_0x30f392(++_0x131199);}(_0x6123,0x1e2));var _0x3612=function(_0x3dc99d,_0x2afe1f){_0x3dc99d=_0x3dc99d-0x0;var _0x36c829=_0x6123[_0x3dc99d];return _0x36c829;};'use strict';var express=require('express');var router=express[_0x3612('0x0')]();var auth=require(_0x3612('0x1'));var controller=require('./system.controller');router[_0x3612('0x2')]('/',auth[_0x3612('0x3')](),controller['index']);router[_0x3612('0x2')](_0x3612('0x4'),auth[_0x3612('0x3')](),controller[_0x3612('0x5')]);module[_0x3612('0x6')]=router; \ No newline at end of file diff --git a/server/api/system/system.controller.js b/server/api/system/system.controller.js index 2fb4a09..ad02004 100644 --- a/server/api/system/system.controller.js +++ b/server/api/system/system.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x3914=['lodash','<%-\x20name\x20%>,\x20%s,\x20%s,\x20%s','name','send','index','getAllData','then','json','catch','status','killProcess','components/import/cm','format','params','pid','split','length','indexOf','SIGINT','systeminformation','child_process','../../config/logger','api','bluebird'];(function(_0x1dc5af,_0x5447e2){var _0x5c3b6f=function(_0x350c39){while(--_0x350c39){_0x1dc5af['push'](_0x1dc5af['shift']());}};_0x5c3b6f(++_0x5447e2);}(_0x3914,0xeb));var _0x4391=function(_0x3fb9dd,_0x174fff){_0x3fb9dd=_0x3fb9dd-0x0;var _0x20136a=_0x3914[_0x3fb9dd];return _0x20136a;};'use strict';var info=require(_0x4391('0x0'));var exec=require(_0x4391('0x1'))['exec'];var logger=require(_0x4391('0x2'))(_0x4391('0x3'));var util=require('util');var BPromise=require(_0x4391('0x4'));var _=require(_0x4391('0x5'));function handleError(_0x175dbc,_0x5b5acb,_0x1eecd4){_0x5b5acb=_0x5b5acb||0x1f4;return function(_0x2b9b2b){logger['error'](_0x4391('0x6'),_0x1eecd4,_0x5b5acb,util['inspect'](_0x2b9b2b,{'showHidden':![],'depth':null}));delete _0x2b9b2b[_0x4391('0x7')];_0x175dbc['status'](_0x5b5acb)[_0x4391('0x8')](_0x2b9b2b);};}exports[_0x4391('0x9')]=function(_0x57c763,_0x485c75){return info[_0x4391('0xa')]()[_0x4391('0xb')](function(_0x3539e3){return _0x485c75['status'](0xc8)[_0x4391('0xc')](_0x3539e3);})[_0x4391('0xd')](function(_0x3d485d){return _0x485c75[_0x4391('0xe')](0x1f4)['json'](_0x3d485d);});};exports[_0x4391('0xf')]=function(_0x1e3786,_0x1577bc){var _0x137902=[_0x4391('0x10')];return new BPromise(function(_0xdebb72,_0xca9ef5){return exec(util[_0x4391('0x11')]('ps\x20-p\x20%s\x20-ww\x20-o\x20args',_0x1e3786[_0x4391('0x12')][_0x4391('0x13')]),function(_0x3f82fb,_0x2c0020,_0x536e5d){if(_0x3f82fb){return _0xca9ef5(_0x3f82fb);}return _0xdebb72(_0x2c0020);});})[_0x4391('0xb')](function(_0x4ff882){var _0x343203=![];var _0x3a1b80=_0x4ff882[_0x4391('0x14')](/\n/);for(var _0x1c2038=0x0,_0x2a79a4=_0x137902[_0x4391('0x15')];_0x1c2038<_0x2a79a4,_0x343203===![];_0x1c2038+=0x1){if(_0x4ff882[_0x4391('0x16')](_0x137902[_0x1c2038])>=0x0){_0x343203=!![];}}if(!_0x343203){throw new Error(util[_0x4391('0x11')]('Process\x20with\x20pid\x20%s\x20not\x20found!',_0x1e3786['params'][_0x4391('0x13')]));}process['kill'](_0x1e3786[_0x4391('0x12')][_0x4391('0x13')],_0x4391('0x17'));return _0x1577bc[_0x4391('0xe')](0xc8)[_0x4391('0xc')]({'message':util['format']('Process\x20with\x20pid\x20%s\x20killed\x20correctly',_0x1e3786[_0x4391('0x12')][_0x4391('0x13')])});})[_0x4391('0xd')](handleError(_0x1577bc,null,'killProcess'));}; \ No newline at end of file +var _0xb490=['ps\x20-p\x20%s\x20-ww\x20-o\x20args','params','pid','length','kill','SIGINT','systeminformation','child_process','exec','../../config/logger','api','bluebird','lodash','error','<%-\x20name\x20%>,\x20%s,\x20%s,\x20%s','name','status','getAllData','then','json','catch','killProcess','components/import/cm','format'];(function(_0x2fe753,_0x244688){var _0x5ddefc=function(_0x55514d){while(--_0x55514d){_0x2fe753['push'](_0x2fe753['shift']());}};_0x5ddefc(++_0x244688);}(_0xb490,0xf6));var _0x0b49=function(_0x17e119,_0x29b052){_0x17e119=_0x17e119-0x0;var _0xc173d=_0xb490[_0x17e119];return _0xc173d;};'use strict';var info=require(_0x0b49('0x0'));var exec=require(_0x0b49('0x1'))[_0x0b49('0x2')];var logger=require(_0x0b49('0x3'))(_0x0b49('0x4'));var util=require('util');var BPromise=require(_0x0b49('0x5'));var _=require(_0x0b49('0x6'));function handleError(_0x4820c6,_0x3a92a2,_0x4d8439){_0x3a92a2=_0x3a92a2||0x1f4;return function(_0x14ab7e){logger[_0x0b49('0x7')](_0x0b49('0x8'),_0x4d8439,_0x3a92a2,util['inspect'](_0x14ab7e,{'showHidden':![],'depth':null}));delete _0x14ab7e[_0x0b49('0x9')];_0x4820c6[_0x0b49('0xa')](_0x3a92a2)['send'](_0x14ab7e);};}exports['index']=function(_0x4c2ccf,_0x23b993){return info[_0x0b49('0xb')]()[_0x0b49('0xc')](function(_0x4bc310){return _0x23b993['status'](0xc8)[_0x0b49('0xd')](_0x4bc310);})[_0x0b49('0xe')](function(_0x15d78e){return _0x23b993[_0x0b49('0xa')](0x1f4)['json'](_0x15d78e);});};exports[_0x0b49('0xf')]=function(_0x1b1d6f,_0x3dade4){var _0x14b271=[_0x0b49('0x10')];return new BPromise(function(_0x1cab9c,_0x46063a){return exec(util[_0x0b49('0x11')](_0x0b49('0x12'),_0x1b1d6f[_0x0b49('0x13')][_0x0b49('0x14')]),function(_0x37c5ab,_0xbb42c5,_0xe00915){if(_0x37c5ab){return _0x46063a(_0x37c5ab);}return _0x1cab9c(_0xbb42c5);});})[_0x0b49('0xc')](function(_0x28fa98){var _0x4ea668=![];var _0x98a620=_0x28fa98['split'](/\n/);for(var _0x44abe3=0x0,_0x56c0f0=_0x14b271[_0x0b49('0x15')];_0x44abe3<_0x56c0f0,_0x4ea668===![];_0x44abe3+=0x1){if(_0x28fa98['indexOf'](_0x14b271[_0x44abe3])>=0x0){_0x4ea668=!![];}}if(!_0x4ea668){throw new Error(util[_0x0b49('0x11')]('Process\x20with\x20pid\x20%s\x20not\x20found!',_0x1b1d6f[_0x0b49('0x13')][_0x0b49('0x14')]));}process[_0x0b49('0x16')](_0x1b1d6f[_0x0b49('0x13')]['pid'],_0x0b49('0x17'));return _0x3dade4[_0x0b49('0xa')](0xc8)[_0x0b49('0xd')]({'message':util[_0x0b49('0x11')]('Process\x20with\x20pid\x20%s\x20killed\x20correctly',_0x1b1d6f[_0x0b49('0x13')]['pid'])});})[_0x0b49('0xe')](handleError(_0x3dade4,null,_0x0b49('0xf')));}; \ No newline at end of file diff --git a/server/api/tag/index.js b/server/api/tag/index.js index 2fb58bb..d4e03bf 100644 --- a/server/api/tag/index.js +++ b/server/api/tag/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x4ea3=['multer','util','path','connect-timeout','Router','../../components/interaction/service','get','isAuthenticated','index','/:id','show','create','put','update','destroy','exports'];(function(_0xb011d6,_0x74d4eb){var _0x1e30f1=function(_0x5009ba){while(--_0x5009ba){_0xb011d6['push'](_0xb011d6['shift']());}};_0x1e30f1(++_0x74d4eb);}(_0x4ea3,0x70));var _0x34ea=function(_0x2dafbe,_0x5d04de){_0x2dafbe=_0x2dafbe-0x0;var _0x58a45a=_0x4ea3[_0x2dafbe];return _0x58a45a;};'use strict';var multer=require(_0x34ea('0x0'));var util=require(_0x34ea('0x1'));var path=require(_0x34ea('0x2'));var timeout=require(_0x34ea('0x3'));var express=require('express');var router=express[_0x34ea('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0x34ea('0x5'));var config=require('../../config/environment');var controller=require('./tag.controller');router[_0x34ea('0x6')]('/',auth[_0x34ea('0x7')](),controller[_0x34ea('0x8')]);router[_0x34ea('0x6')](_0x34ea('0x9'),auth[_0x34ea('0x7')](),controller[_0x34ea('0xa')]);router['post']('/',auth[_0x34ea('0x7')](),controller[_0x34ea('0xb')]);router[_0x34ea('0xc')]('/:id',auth[_0x34ea('0x7')](),controller[_0x34ea('0xd')]);router['delete']('/:id',auth[_0x34ea('0x7')](),controller[_0x34ea('0xe')]);module[_0x34ea('0xf')]=router; \ No newline at end of file +var _0xb58b=['put','update','delete','exports','util','path','connect-timeout','Router','../../components/auth/service','../../config/environment','get','isAuthenticated','index','/:id','show','post','create'];(function(_0x1c9e41,_0x327538){var _0x9037f=function(_0x420932){while(--_0x420932){_0x1c9e41['push'](_0x1c9e41['shift']());}};_0x9037f(++_0x327538);}(_0xb58b,0x1f1));var _0xbb58=function(_0x4cec21,_0x3d6fb4){_0x4cec21=_0x4cec21-0x0;var _0x30f1ef=_0xb58b[_0x4cec21];return _0x30f1ef;};'use strict';var multer=require('multer');var util=require(_0xbb58('0x0'));var path=require(_0xbb58('0x1'));var timeout=require(_0xbb58('0x2'));var express=require('express');var router=express[_0xbb58('0x3')]();var auth=require(_0xbb58('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0xbb58('0x5'));var controller=require('./tag.controller');router[_0xbb58('0x6')]('/',auth[_0xbb58('0x7')](),controller[_0xbb58('0x8')]);router['get'](_0xbb58('0x9'),auth[_0xbb58('0x7')](),controller[_0xbb58('0xa')]);router[_0xbb58('0xb')]('/',auth[_0xbb58('0x7')](),controller[_0xbb58('0xc')]);router[_0xbb58('0xd')](_0xbb58('0x9'),auth[_0xbb58('0x7')](),controller[_0xbb58('0xe')]);router[_0xbb58('0xf')]('/:id',auth[_0xbb58('0x7')](),controller['destroy']);module[_0xbb58('0x10')]=router; \ No newline at end of file diff --git a/server/api/tag/tag.attributes.js b/server/api/tag/tag.attributes.js index beb50f0..8e48567 100644 --- a/server/api/tag/tag.attributes.js +++ b/server/api/tag/tag.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xbaf0=['name','#0091EA','exports','STRING'];(function(_0x58e7e3,_0x53798f){var _0x5e6704=function(_0x421209){while(--_0x421209){_0x58e7e3['push'](_0x58e7e3['shift']());}};_0x5e6704(++_0x53798f);}(_0xbaf0,0x12a));var _0x0baf=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0xbaf0[_0x14add3];return _0x4a174f;};'use strict';var Sequelize=require('sequelize');module[_0x0baf('0x0')]={'name':{'type':Sequelize[_0x0baf('0x1')],'unique':_0x0baf('0x2'),'allowNull':![],'validate':{'is':/[A-Za-z0-9._\\+*!-]+/,'notEmpty':!![]}},'color':{'type':Sequelize[_0x0baf('0x1')],'defaultValue':_0x0baf('0x3')},'description':{'type':Sequelize[_0x0baf('0x1')]}}; \ No newline at end of file +var _0x3423=['name','#0091EA','STRING'];(function(_0x21549c,_0x6d64d1){var _0x426cbd=function(_0x323f5b){while(--_0x323f5b){_0x21549c['push'](_0x21549c['shift']());}};_0x426cbd(++_0x6d64d1);}(_0x3423,0x188));var _0x3342=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x3423[_0x3dd15e];return _0x231fd0;};'use strict';var Sequelize=require('sequelize');module['exports']={'name':{'type':Sequelize[_0x3342('0x0')],'unique':_0x3342('0x1'),'allowNull':![],'validate':{'is':/[A-Za-z0-9._\\+*!-]+/,'notEmpty':!![]}},'color':{'type':Sequelize[_0x3342('0x0')],'defaultValue':_0x3342('0x2')},'description':{'type':Sequelize[_0x3342('0x0')]}}; \ No newline at end of file diff --git a/server/api/tag/tag.controller.js b/server/api/tag/tag.controller.js index b1e7c38..8c5a9de 100644 --- a/server/api/tag/tag.controller.js +++ b/server/api/tag/tag.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xec27=['error','stack','name','send','Tag','fieldName','key','model','map','query','keys','filters','intersection','attributes','fields','hasOwnProperty','nolimit','limit','order','sort','where','pick','filter','merge','VIRTUAL','options','count','findAll','rows','catch','show','params','rawAttributes','length','includeAll','find','create','body','Unable\x20to\x20retrieve\x20the\x20current\x20user','role','user','autoAssociation','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','mustache','util','path','sox','to-csv','ejs','lodash','squel','crypto','jsforce','querystring','../../components/parsers/qs','../../config/license/hardware','../../config/logger','api','../../config/utils','../../mysqldb','sendStatus','status','end','json','offset','Content-Range','save','update','then','destroy','get','Tags','UserProfileResource'];(function(_0x984cb7,_0x563ee4){var _0x579006=function(_0x482682){while(--_0x482682){_0x984cb7['push'](_0x984cb7['shift']());}};_0x579006(++_0x563ee4);}(_0xec27,0x117));var _0x7ec2=function(_0x5eedb0,_0x11c82d){_0x5eedb0=_0x5eedb0-0x0;var _0x41c5ba=_0xec27[_0x5eedb0];return _0x41c5ba;};'use strict';var pdf=require('html-pdf');var emlformat=require(_0x7ec2('0x0'));var rimraf=require(_0x7ec2('0x1'));var zipdir=require(_0x7ec2('0x2'));var jsonpatch=require(_0x7ec2('0x3'));var rp=require(_0x7ec2('0x4'));var moment=require(_0x7ec2('0x5'));var BPromise=require(_0x7ec2('0x6'));var Mustache=require(_0x7ec2('0x7'));var util=require(_0x7ec2('0x8'));var path=require(_0x7ec2('0x9'));var sox=require(_0x7ec2('0xa'));var csv=require(_0x7ec2('0xb'));var ejs=require(_0x7ec2('0xc'));var fs=require('fs');var _=require(_0x7ec2('0xd'));var squel=require(_0x7ec2('0xe'));var crypto=require(_0x7ec2('0xf'));var jsforce=require(_0x7ec2('0x10'));var deskjs=require('desk.js');var toCsv=require(_0x7ec2('0xb'));var querystring=require(_0x7ec2('0x11'));var Papa=require('papaparse');var Redis=require('ioredis');var authService=require('../../components/auth/service');var qs=require(_0x7ec2('0x12'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0x7ec2('0x13'));var logger=require(_0x7ec2('0x14'))(_0x7ec2('0x15'));var utils=require(_0x7ec2('0x16'));var config=require('../../config/environment');var db=require(_0x7ec2('0x17'))['db'];function respondWithStatusCode(_0x3691af,_0x431114){_0x431114=_0x431114||0xcc;return function(_0x3d66e3){if(_0x3d66e3){return _0x3691af[_0x7ec2('0x18')](_0x431114);}return _0x3691af[_0x7ec2('0x19')](_0x431114)[_0x7ec2('0x1a')]();};}function respondWithResult(_0xfbf67f,_0x5c2c5e){_0x5c2c5e=_0x5c2c5e||0xc8;return function(_0x5c8107){if(_0x5c8107){return _0xfbf67f[_0x7ec2('0x19')](_0x5c2c5e)[_0x7ec2('0x1b')](_0x5c8107);}};}function respondWithFilteredResult(_0x3fa942,_0x580bca){return function(_0x35d954){if(_0x35d954){var _0x349c9a=_0x35d954['count'],_0x1cb895=_0x580bca[_0x7ec2('0x1c')],_0x4c3b27=_0x580bca[_0x7ec2('0x1c')]+_0x580bca['limit'],_0xe0c651;if(_0x4c3b27>=_0x349c9a){_0x4c3b27=_0x349c9a;_0xe0c651=0xc8;}else{_0xe0c651=0xce;}_0x3fa942['status'](_0xe0c651);return _0x3fa942['set'](_0x7ec2('0x1d'),_0x1cb895+'-'+_0x4c3b27+'/'+_0x349c9a)[_0x7ec2('0x1b')](_0x35d954);}return null;};}function patchUpdates(_0x2b6b15){return function(_0x254171){try{jsonpatch['apply'](_0x254171,_0x2b6b15,!![]);}catch(_0x364f0d){return BPromise['reject'](_0x364f0d);}return _0x254171[_0x7ec2('0x1e')]();};}function saveUpdates(_0x29eb54,_0x84b219){return function(_0x3608dc){if(_0x3608dc){return _0x3608dc[_0x7ec2('0x1f')](_0x29eb54)[_0x7ec2('0x20')](function(_0x1398f9){return _0x1398f9;});}return null;};}function removeEntity(_0x3401ed,_0x5c342a){return function(_0x49e927){if(_0x49e927){return _0x49e927[_0x7ec2('0x21')]()[_0x7ec2('0x20')](function(){var _0x30211e=_0x49e927[_0x7ec2('0x22')]({'plain':!![]});var _0x42ea80=_0x7ec2('0x23');return db[_0x7ec2('0x24')][_0x7ec2('0x21')]({'where':{'type':_0x42ea80,'resourceId':_0x30211e['id']}})[_0x7ec2('0x20')](function(){return _0x49e927;});})[_0x7ec2('0x20')](function(){_0x3401ed[_0x7ec2('0x19')](0xcc)[_0x7ec2('0x1a')]();});}};}function handleEntityNotFound(_0x3dd27f,_0x8a79c7){return function(_0x4a5a58){if(!_0x4a5a58){_0x3dd27f['sendStatus'](0x194);}return _0x4a5a58;};}function handleError(_0x4a103a,_0x35680e){_0x35680e=_0x35680e||0x1f4;return function(_0xe78ca7){logger[_0x7ec2('0x25')](_0xe78ca7[_0x7ec2('0x26')]);if(_0xe78ca7[_0x7ec2('0x27')]){delete _0xe78ca7[_0x7ec2('0x27')];}_0x4a103a[_0x7ec2('0x19')](_0x35680e)[_0x7ec2('0x28')](_0xe78ca7);};}exports['index']=function(_0x4a377e,_0x2e4080){var _0x3e26a2={},_0x33cb31={},_0x52bbff={'count':0x0,'rows':[]};var _0x2a0b0c=_['map'](db[_0x7ec2('0x29')]['rawAttributes'],function(_0x123619){return{'name':_0x123619[_0x7ec2('0x2a')],'type':_0x123619['type'][_0x7ec2('0x2b')]};});_0x33cb31[_0x7ec2('0x2c')]=_[_0x7ec2('0x2d')](_0x2a0b0c,_0x7ec2('0x27'));_0x33cb31[_0x7ec2('0x2e')]=_[_0x7ec2('0x2f')](_0x4a377e[_0x7ec2('0x2e')]);_0x33cb31[_0x7ec2('0x30')]=_[_0x7ec2('0x31')](_0x33cb31[_0x7ec2('0x2c')],_0x33cb31[_0x7ec2('0x2e')]);_0x3e26a2[_0x7ec2('0x32')]=_[_0x7ec2('0x31')](_0x33cb31[_0x7ec2('0x2c')],qs[_0x7ec2('0x33')](_0x4a377e[_0x7ec2('0x2e')][_0x7ec2('0x33')]));_0x3e26a2[_0x7ec2('0x32')]=_0x3e26a2[_0x7ec2('0x32')]['length']?_0x3e26a2['attributes']:_0x33cb31['model'];if(!_0x4a377e[_0x7ec2('0x2e')][_0x7ec2('0x34')](_0x7ec2('0x35'))){_0x3e26a2[_0x7ec2('0x36')]=qs[_0x7ec2('0x36')](_0x4a377e[_0x7ec2('0x2e')][_0x7ec2('0x36')]);_0x3e26a2[_0x7ec2('0x1c')]=qs[_0x7ec2('0x1c')](_0x4a377e['query'][_0x7ec2('0x1c')]);}_0x3e26a2[_0x7ec2('0x37')]=qs['sort'](_0x4a377e[_0x7ec2('0x2e')][_0x7ec2('0x38')]);_0x3e26a2[_0x7ec2('0x39')]=qs[_0x7ec2('0x30')](_[_0x7ec2('0x3a')](_0x4a377e[_0x7ec2('0x2e')],_0x33cb31[_0x7ec2('0x30')]),_0x2a0b0c);if(_0x4a377e[_0x7ec2('0x2e')][_0x7ec2('0x3b')]){_0x3e26a2['where']=_[_0x7ec2('0x3c')](_0x3e26a2[_0x7ec2('0x39')],{'$or':_[_0x7ec2('0x2d')](_0x2a0b0c,function(_0x50d3df){if(_0x50d3df['type']!==_0x7ec2('0x3d')){var _0x31a401={};_0x31a401[_0x50d3df[_0x7ec2('0x27')]]={'$like':'%'+_0x4a377e[_0x7ec2('0x2e')][_0x7ec2('0x3b')]+'%'};return _0x31a401;}})});}_0x3e26a2=_[_0x7ec2('0x3c')]({},_0x3e26a2,_0x4a377e[_0x7ec2('0x3e')]);var _0xb7ff7a={'where':_0x3e26a2[_0x7ec2('0x39')]};return db[_0x7ec2('0x29')][_0x7ec2('0x3f')](_0xb7ff7a)[_0x7ec2('0x20')](function(_0x10dabf){_0x52bbff['count']=_0x10dabf;if(_0x4a377e[_0x7ec2('0x2e')]['includeAll']){_0x3e26a2['include']=[{'all':!![]}];}return db[_0x7ec2('0x29')][_0x7ec2('0x40')](_0x3e26a2);})['then'](function(_0x4a3d3d){_0x52bbff[_0x7ec2('0x41')]=_0x4a3d3d;return _0x52bbff;})['then'](respondWithFilteredResult(_0x2e4080,_0x3e26a2))[_0x7ec2('0x42')](handleError(_0x2e4080,null));};exports[_0x7ec2('0x43')]=function(_0x59b46b,_0x2cf480){var _0xc542bf={'raw':!![],'where':{'id':_0x59b46b[_0x7ec2('0x44')]['id']}},_0x121e5e={};_0x121e5e[_0x7ec2('0x2c')]=_[_0x7ec2('0x2f')](db[_0x7ec2('0x29')][_0x7ec2('0x45')]);_0x121e5e[_0x7ec2('0x2e')]=_[_0x7ec2('0x2f')](_0x59b46b[_0x7ec2('0x2e')]);_0x121e5e[_0x7ec2('0x30')]=_[_0x7ec2('0x31')](_0x121e5e[_0x7ec2('0x2c')],_0x121e5e[_0x7ec2('0x2e')]);_0xc542bf['attributes']=_[_0x7ec2('0x31')](_0x121e5e[_0x7ec2('0x2c')],qs[_0x7ec2('0x33')](_0x59b46b[_0x7ec2('0x2e')][_0x7ec2('0x33')]));_0xc542bf['attributes']=_0xc542bf[_0x7ec2('0x32')][_0x7ec2('0x46')]?_0xc542bf[_0x7ec2('0x32')]:_0x121e5e[_0x7ec2('0x2c')];if(_0x59b46b[_0x7ec2('0x2e')][_0x7ec2('0x47')]){_0xc542bf['include']=[{'all':!![]}];}_0xc542bf=_['merge']({},_0xc542bf,_0x59b46b[_0x7ec2('0x3e')]);return db['Tag'][_0x7ec2('0x48')](_0xc542bf)[_0x7ec2('0x20')](handleEntityNotFound(_0x2cf480,null))[_0x7ec2('0x20')](respondWithResult(_0x2cf480,null))[_0x7ec2('0x42')](handleError(_0x2cf480,null));};exports[_0x7ec2('0x49')]=function(_0x245de6,_0x5811bd){return db[_0x7ec2('0x29')][_0x7ec2('0x49')](_0x245de6[_0x7ec2('0x4a')],{})[_0x7ec2('0x20')](function(_0x581be0){var _0x2730cc=_0x245de6['user'][_0x7ec2('0x22')]({'plain':!![]});if(!_0x2730cc)throw new Error(_0x7ec2('0x4b'));if(_0x2730cc[_0x7ec2('0x4c')]===_0x7ec2('0x4d')){var _0xa8558e=_0x581be0[_0x7ec2('0x22')]({'plain':!![]});var _0x494529='Tags';return db['UserProfileSection'][_0x7ec2('0x48')]({'where':{'name':_0x494529,'userProfileId':_0x2730cc['userProfileId']},'raw':!![]})[_0x7ec2('0x20')](function(_0x3047a9){if(_0x3047a9&&_0x3047a9[_0x7ec2('0x4e')]===0x0){return db[_0x7ec2('0x24')][_0x7ec2('0x49')]({'name':_0xa8558e[_0x7ec2('0x27')],'resourceId':_0xa8558e['id'],'type':_0x3047a9[_0x7ec2('0x27')],'sectionId':_0x3047a9['id']},{})[_0x7ec2('0x20')](function(){return _0x581be0;});}else{return _0x581be0;}})['catch'](function(_0x224845){logger[_0x7ec2('0x25')]('Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s',_0x224845);throw _0x224845;});}return _0x581be0;})[_0x7ec2('0x20')](respondWithResult(_0x5811bd,0xc9))[_0x7ec2('0x42')](handleError(_0x5811bd,null));};exports[_0x7ec2('0x1f')]=function(_0x191d71,_0x51ba46){if(_0x191d71['body']['id']){delete _0x191d71[_0x7ec2('0x4a')]['id'];}return db['Tag']['find']({'where':{'id':_0x191d71[_0x7ec2('0x44')]['id']}})['then'](handleEntityNotFound(_0x51ba46,null))[_0x7ec2('0x20')](saveUpdates(_0x191d71[_0x7ec2('0x4a')],null))[_0x7ec2('0x20')](respondWithResult(_0x51ba46,null))['catch'](handleError(_0x51ba46,null));};exports[_0x7ec2('0x21')]=function(_0x1bfeba,_0xa87605){return db[_0x7ec2('0x29')][_0x7ec2('0x48')]({'where':{'id':_0x1bfeba[_0x7ec2('0x44')]['id']}})['then'](handleEntityNotFound(_0xa87605,null))['then'](removeEntity(_0xa87605,null))[_0x7ec2('0x42')](handleError(_0xa87605,null));}; \ No newline at end of file +var _0xf253=['intersection','model','attributes','fields','length','nolimit','order','sort','where','filters','filter','merge','VIRTUAL','options','Tag','includeAll','include','findAll','rows','show','find','catch','create','user','Unable\x20to\x20retrieve\x20the\x20current\x20user','role','UserProfileSection','UserProfileResource','update','body','params','html-pdf','eml-format','rimraf','zip-dir','request-promise','moment','util','path','sox','ejs','squel','jsforce','desk.js','papaparse','../../components/auth/service','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/environment','sendStatus','status','end','count','offset','limit','Content-Range','json','apply','reject','save','destroy','get','Tags','then','error','stack','name','send','index','map','rawAttributes','fieldName','type','key','query','keys'];(function(_0x425bf5,_0x54f880){var _0x36cc05=function(_0x51dffe){while(--_0x51dffe){_0x425bf5['push'](_0x425bf5['shift']());}};_0x36cc05(++_0x54f880);}(_0xf253,0xbb));var _0x3f25=function(_0x322ee0,_0x2e2f29){_0x322ee0=_0x322ee0-0x0;var _0x4f519a=_0xf253[_0x322ee0];return _0x4f519a;};'use strict';var pdf=require(_0x3f25('0x0'));var emlformat=require(_0x3f25('0x1'));var rimraf=require(_0x3f25('0x2'));var zipdir=require(_0x3f25('0x3'));var jsonpatch=require('fast-json-patch');var rp=require(_0x3f25('0x4'));var moment=require(_0x3f25('0x5'));var BPromise=require('bluebird');var Mustache=require('mustache');var util=require(_0x3f25('0x6'));var path=require(_0x3f25('0x7'));var sox=require(_0x3f25('0x8'));var csv=require('to-csv');var ejs=require(_0x3f25('0x9'));var fs=require('fs');var _=require('lodash');var squel=require(_0x3f25('0xa'));var crypto=require('crypto');var jsforce=require(_0x3f25('0xb'));var deskjs=require(_0x3f25('0xc'));var toCsv=require('to-csv');var querystring=require('querystring');var Papa=require(_0x3f25('0xd'));var Redis=require('ioredis');var authService=require(_0x3f25('0xe'));var qs=require('../../components/parsers/qs');var as=require(_0x3f25('0xf'));var hardwareService=require(_0x3f25('0x10'));var logger=require(_0x3f25('0x11'))(_0x3f25('0x12'));var utils=require('../../config/utils');var config=require(_0x3f25('0x13'));var db=require('../../mysqldb')['db'];function respondWithStatusCode(_0x2af8a7,_0x25d457){_0x25d457=_0x25d457||0xcc;return function(_0x2abb64){if(_0x2abb64){return _0x2af8a7[_0x3f25('0x14')](_0x25d457);}return _0x2af8a7[_0x3f25('0x15')](_0x25d457)[_0x3f25('0x16')]();};}function respondWithResult(_0x35758f,_0x96f7dc){_0x96f7dc=_0x96f7dc||0xc8;return function(_0x24dad0){if(_0x24dad0){return _0x35758f[_0x3f25('0x15')](_0x96f7dc)['json'](_0x24dad0);}};}function respondWithFilteredResult(_0x150138,_0x301208){return function(_0x4be587){if(_0x4be587){var _0x27f0e4=_0x4be587[_0x3f25('0x17')],_0x273571=_0x301208[_0x3f25('0x18')],_0x3c86fc=_0x301208[_0x3f25('0x18')]+_0x301208[_0x3f25('0x19')],_0x30c371;if(_0x3c86fc>=_0x27f0e4){_0x3c86fc=_0x27f0e4;_0x30c371=0xc8;}else{_0x30c371=0xce;}_0x150138[_0x3f25('0x15')](_0x30c371);return _0x150138['set'](_0x3f25('0x1a'),_0x273571+'-'+_0x3c86fc+'/'+_0x27f0e4)[_0x3f25('0x1b')](_0x4be587);}return null;};}function patchUpdates(_0x4e61db){return function(_0x12bcee){try{jsonpatch[_0x3f25('0x1c')](_0x12bcee,_0x4e61db,!![]);}catch(_0x33f666){return BPromise[_0x3f25('0x1d')](_0x33f666);}return _0x12bcee[_0x3f25('0x1e')]();};}function saveUpdates(_0x5be18c,_0x2e8884){return function(_0xa23942){if(_0xa23942){return _0xa23942['update'](_0x5be18c)['then'](function(_0x28eb9e){return _0x28eb9e;});}return null;};}function removeEntity(_0x2be5d4,_0x561468){return function(_0x3b23f4){if(_0x3b23f4){return _0x3b23f4[_0x3f25('0x1f')]()['then'](function(){var _0x2dd190=_0x3b23f4[_0x3f25('0x20')]({'plain':!![]});var _0x2f0713=_0x3f25('0x21');return db['UserProfileResource'][_0x3f25('0x1f')]({'where':{'type':_0x2f0713,'resourceId':_0x2dd190['id']}})[_0x3f25('0x22')](function(){return _0x3b23f4;});})['then'](function(){_0x2be5d4[_0x3f25('0x15')](0xcc)['end']();});}};}function handleEntityNotFound(_0xe57b2b,_0x1dce9e){return function(_0x2f8e32){if(!_0x2f8e32){_0xe57b2b[_0x3f25('0x14')](0x194);}return _0x2f8e32;};}function handleError(_0x814d4b,_0x331659){_0x331659=_0x331659||0x1f4;return function(_0x466cf7){logger[_0x3f25('0x23')](_0x466cf7[_0x3f25('0x24')]);if(_0x466cf7[_0x3f25('0x25')]){delete _0x466cf7[_0x3f25('0x25')];}_0x814d4b[_0x3f25('0x15')](_0x331659)[_0x3f25('0x26')](_0x466cf7);};}exports[_0x3f25('0x27')]=function(_0xf6e476,_0x4f8492){var _0x1b5d13={},_0x45ea75={},_0xad1b55={'count':0x0,'rows':[]};var _0x1746da=_[_0x3f25('0x28')](db['Tag'][_0x3f25('0x29')],function(_0x260682){return{'name':_0x260682[_0x3f25('0x2a')],'type':_0x260682[_0x3f25('0x2b')][_0x3f25('0x2c')]};});_0x45ea75['model']=_[_0x3f25('0x28')](_0x1746da,_0x3f25('0x25'));_0x45ea75[_0x3f25('0x2d')]=_[_0x3f25('0x2e')](_0xf6e476[_0x3f25('0x2d')]);_0x45ea75['filters']=_[_0x3f25('0x2f')](_0x45ea75[_0x3f25('0x30')],_0x45ea75[_0x3f25('0x2d')]);_0x1b5d13[_0x3f25('0x31')]=_['intersection'](_0x45ea75['model'],qs['fields'](_0xf6e476[_0x3f25('0x2d')][_0x3f25('0x32')]));_0x1b5d13['attributes']=_0x1b5d13['attributes'][_0x3f25('0x33')]?_0x1b5d13[_0x3f25('0x31')]:_0x45ea75['model'];if(!_0xf6e476[_0x3f25('0x2d')]['hasOwnProperty'](_0x3f25('0x34'))){_0x1b5d13[_0x3f25('0x19')]=qs[_0x3f25('0x19')](_0xf6e476[_0x3f25('0x2d')]['limit']);_0x1b5d13['offset']=qs['offset'](_0xf6e476[_0x3f25('0x2d')][_0x3f25('0x18')]);}_0x1b5d13[_0x3f25('0x35')]=qs[_0x3f25('0x36')](_0xf6e476[_0x3f25('0x2d')][_0x3f25('0x36')]);_0x1b5d13[_0x3f25('0x37')]=qs[_0x3f25('0x38')](_['pick'](_0xf6e476[_0x3f25('0x2d')],_0x45ea75[_0x3f25('0x38')]),_0x1746da);if(_0xf6e476[_0x3f25('0x2d')][_0x3f25('0x39')]){_0x1b5d13['where']=_[_0x3f25('0x3a')](_0x1b5d13[_0x3f25('0x37')],{'$or':_['map'](_0x1746da,function(_0x9f64c1){if(_0x9f64c1[_0x3f25('0x2b')]!==_0x3f25('0x3b')){var _0x13122e={};_0x13122e[_0x9f64c1[_0x3f25('0x25')]]={'$like':'%'+_0xf6e476[_0x3f25('0x2d')][_0x3f25('0x39')]+'%'};return _0x13122e;}})});}_0x1b5d13=_[_0x3f25('0x3a')]({},_0x1b5d13,_0xf6e476[_0x3f25('0x3c')]);var _0x2b95c3={'where':_0x1b5d13[_0x3f25('0x37')]};return db[_0x3f25('0x3d')]['count'](_0x2b95c3)['then'](function(_0x5471cc){_0xad1b55[_0x3f25('0x17')]=_0x5471cc;if(_0xf6e476[_0x3f25('0x2d')][_0x3f25('0x3e')]){_0x1b5d13[_0x3f25('0x3f')]=[{'all':!![]}];}return db[_0x3f25('0x3d')][_0x3f25('0x40')](_0x1b5d13);})[_0x3f25('0x22')](function(_0x3567b3){_0xad1b55[_0x3f25('0x41')]=_0x3567b3;return _0xad1b55;})[_0x3f25('0x22')](respondWithFilteredResult(_0x4f8492,_0x1b5d13))['catch'](handleError(_0x4f8492,null));};exports[_0x3f25('0x42')]=function(_0x7505bd,_0x1dd699){var _0x2e347e={'raw':!![],'where':{'id':_0x7505bd['params']['id']}},_0x1cbdef={};_0x1cbdef[_0x3f25('0x30')]=_['keys'](db[_0x3f25('0x3d')][_0x3f25('0x29')]);_0x1cbdef[_0x3f25('0x2d')]=_[_0x3f25('0x2e')](_0x7505bd['query']);_0x1cbdef[_0x3f25('0x38')]=_['intersection'](_0x1cbdef['model'],_0x1cbdef[_0x3f25('0x2d')]);_0x2e347e['attributes']=_[_0x3f25('0x2f')](_0x1cbdef[_0x3f25('0x30')],qs[_0x3f25('0x32')](_0x7505bd[_0x3f25('0x2d')][_0x3f25('0x32')]));_0x2e347e[_0x3f25('0x31')]=_0x2e347e[_0x3f25('0x31')]['length']?_0x2e347e['attributes']:_0x1cbdef[_0x3f25('0x30')];if(_0x7505bd[_0x3f25('0x2d')][_0x3f25('0x3e')]){_0x2e347e[_0x3f25('0x3f')]=[{'all':!![]}];}_0x2e347e=_[_0x3f25('0x3a')]({},_0x2e347e,_0x7505bd[_0x3f25('0x3c')]);return db[_0x3f25('0x3d')][_0x3f25('0x43')](_0x2e347e)[_0x3f25('0x22')](handleEntityNotFound(_0x1dd699,null))['then'](respondWithResult(_0x1dd699,null))[_0x3f25('0x44')](handleError(_0x1dd699,null));};exports[_0x3f25('0x45')]=function(_0xb6ef56,_0x48d76c){return db['Tag'][_0x3f25('0x45')](_0xb6ef56['body'],{})[_0x3f25('0x22')](function(_0x2c700c){var _0x3a89f1=_0xb6ef56[_0x3f25('0x46')]['get']({'plain':!![]});if(!_0x3a89f1)throw new Error(_0x3f25('0x47'));if(_0x3a89f1[_0x3f25('0x48')]===_0x3f25('0x46')){var _0x5ba7f2=_0x2c700c[_0x3f25('0x20')]({'plain':!![]});var _0x495c97=_0x3f25('0x21');return db[_0x3f25('0x49')][_0x3f25('0x43')]({'where':{'name':_0x495c97,'userProfileId':_0x3a89f1['userProfileId']},'raw':!![]})[_0x3f25('0x22')](function(_0x58b31a){if(_0x58b31a&&_0x58b31a['autoAssociation']===0x0){return db[_0x3f25('0x4a')][_0x3f25('0x45')]({'name':_0x5ba7f2[_0x3f25('0x25')],'resourceId':_0x5ba7f2['id'],'type':_0x58b31a[_0x3f25('0x25')],'sectionId':_0x58b31a['id']},{})[_0x3f25('0x22')](function(){return _0x2c700c;});}else{return _0x2c700c;}})[_0x3f25('0x44')](function(_0x2fd456){logger[_0x3f25('0x23')]('Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s',_0x2fd456);throw _0x2fd456;});}return _0x2c700c;})[_0x3f25('0x22')](respondWithResult(_0x48d76c,0xc9))[_0x3f25('0x44')](handleError(_0x48d76c,null));};exports[_0x3f25('0x4b')]=function(_0x540d2e,_0x113f27){if(_0x540d2e[_0x3f25('0x4c')]['id']){delete _0x540d2e[_0x3f25('0x4c')]['id'];}return db[_0x3f25('0x3d')][_0x3f25('0x43')]({'where':{'id':_0x540d2e[_0x3f25('0x4d')]['id']}})[_0x3f25('0x22')](handleEntityNotFound(_0x113f27,null))[_0x3f25('0x22')](saveUpdates(_0x540d2e[_0x3f25('0x4c')],null))[_0x3f25('0x22')](respondWithResult(_0x113f27,null))[_0x3f25('0x44')](handleError(_0x113f27,null));};exports['destroy']=function(_0x272f8c,_0x1be83d){return db[_0x3f25('0x3d')][_0x3f25('0x43')]({'where':{'id':_0x272f8c[_0x3f25('0x4d')]['id']}})[_0x3f25('0x22')](handleEntityNotFound(_0x1be83d,null))[_0x3f25('0x22')](removeEntity(_0x1be83d,null))['catch'](handleError(_0x1be83d,null));}; \ No newline at end of file diff --git a/server/api/tag/tag.model.js b/server/api/tag/tag.model.js index faca945..8d34ed7 100644 --- a/server/api/tag/tag.model.js +++ b/server/api/tag/tag.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x24e4=['exports','define','Tag','tools_tags','lodash','util','../../config/logger','api','moment','bluebird','request-promise','rimraf','../../config/environment','./tag.attributes'];(function(_0x1e80dc,_0x5b30be){var _0x146a7c=function(_0x34f831){while(--_0x34f831){_0x1e80dc['push'](_0x1e80dc['shift']());}};_0x146a7c(++_0x5b30be);}(_0x24e4,0x10e));var _0x424e=function(_0x1db481,_0x1627b2){_0x1db481=_0x1db481-0x0;var _0x3db95b=_0x24e4[_0x1db481];return _0x3db95b;};'use strict';var _=require(_0x424e('0x0'));var util=require(_0x424e('0x1'));var logger=require(_0x424e('0x2'))(_0x424e('0x3'));var moment=require(_0x424e('0x4'));var BPromise=require(_0x424e('0x5'));var rp=require(_0x424e('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0x424e('0x7'));var config=require(_0x424e('0x8'));var attributes=require(_0x424e('0x9'));module[_0x424e('0xa')]=function(_0x267f56,_0x2ae6d0){return _0x267f56[_0x424e('0xb')](_0x424e('0xc'),attributes,{'tableName':_0x424e('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0xca79=['path','rimraf','../../config/environment','tools_tags','lodash','../../config/logger','moment','request-promise'];(function(_0x10d97d,_0x3f330c){var _0x3c6ca0=function(_0x1dc178){while(--_0x1dc178){_0x10d97d['push'](_0x10d97d['shift']());}};_0x3c6ca0(++_0x3f330c);}(_0xca79,0xe4));var _0x9ca7=function(_0x475c22,_0x20af6b){_0x475c22=_0x475c22-0x0;var _0x33ea70=_0xca79[_0x475c22];return _0x33ea70;};'use strict';var _=require(_0x9ca7('0x0'));var util=require('util');var logger=require(_0x9ca7('0x1'))('api');var moment=require(_0x9ca7('0x2'));var BPromise=require('bluebird');var rp=require(_0x9ca7('0x3'));var fs=require('fs');var path=require(_0x9ca7('0x4'));var rimraf=require(_0x9ca7('0x5'));var config=require(_0x9ca7('0x6'));var attributes=require('./tag.attributes');module['exports']=function(_0x301eac,_0x11e785){return _0x301eac['define']('Tag',attributes,{'tableName':_0x9ca7('0x7'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/tag/tag.rpc.js b/server/api/tag/tag.rpc.js index 254f69d..eecb6ad 100644 --- a/server/api/tag/tag.rpc.js +++ b/server/api/tag/tag.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x7072=['randomstring','ioredis','../../config/logger','../../config/environment','jayson/promise','client','http','request','info','Tag,\x20%s,\x20%s','request\x20sent','debug','Tag,\x20%s,\x20%s,\x20%s','stringify','error','code','message','catch','util','moment','bluebird'];(function(_0x345695,_0x2ba140){var _0x5002d3=function(_0x1f6cbb){while(--_0x1f6cbb){_0x345695['push'](_0x345695['shift']());}};_0x5002d3(++_0x2ba140);}(_0x7072,0x138));var _0x2707=function(_0x1b4b23,_0x5dd6d6){_0x1b4b23=_0x1b4b23-0x0;var _0x2a325b=_0x7072[_0x1b4b23];return _0x2a325b;};'use strict';var _=require('lodash');var util=require(_0x2707('0x0'));var moment=require(_0x2707('0x1'));var BPromise=require(_0x2707('0x2'));var rs=require(_0x2707('0x3'));var fs=require('fs');var Redis=require(_0x2707('0x4'));var db=require('../../mysqldb')['db'];var utils=require('../../config/utils');var logger=require(_0x2707('0x5'))('rpc');var config=require(_0x2707('0x6'));var jayson=require(_0x2707('0x7'));var client=jayson[_0x2707('0x8')][_0x2707('0x9')]({'port':0x232a});function respondWithRpcPromise(_0x2fd8ff,_0x128205,_0x21b0a0){return new BPromise(function(_0x745cfd,_0x4062b6){return client[_0x2707('0xa')](_0x2fd8ff,_0x21b0a0)['then'](function(_0x597ff9){logger[_0x2707('0xb')](_0x2707('0xc'),_0x128205,_0x2707('0xd'));logger[_0x2707('0xe')](_0x2707('0xf'),_0x128205,_0x2707('0xd'),JSON[_0x2707('0x10')](_0x597ff9));if(_0x597ff9[_0x2707('0x11')]){if(_0x597ff9[_0x2707('0x11')][_0x2707('0x12')]===0x1f4){logger[_0x2707('0x11')](_0x2707('0xc'),_0x128205,_0x597ff9[_0x2707('0x11')]['message']);return _0x4062b6(_0x597ff9[_0x2707('0x11')]['message']);}logger[_0x2707('0x11')](_0x2707('0xc'),_0x128205,_0x597ff9[_0x2707('0x11')][_0x2707('0x13')]);return _0x745cfd(_0x597ff9[_0x2707('0x11')]['message']);}else{logger[_0x2707('0xb')](_0x2707('0xc'),_0x128205,_0x2707('0xd'));_0x745cfd(_0x597ff9['result'][_0x2707('0x13')]);}})[_0x2707('0x14')](function(_0x1a979e){logger[_0x2707('0x11')](_0x2707('0xc'),_0x128205,_0x1a979e);_0x4062b6(_0x1a979e);});});} \ No newline at end of file +var _0xbfcc=['Tag,\x20%s,\x20%s','request\x20sent','debug','Tag,\x20%s,\x20%s,\x20%s','stringify','error','code','message','result','lodash','bluebird','randomstring','ioredis','../../mysqldb','jayson/promise','client','request','info'];(function(_0x24b786,_0x16433d){var _0x44a300=function(_0x198e94){while(--_0x198e94){_0x24b786['push'](_0x24b786['shift']());}};_0x44a300(++_0x16433d);}(_0xbfcc,0x1dd));var _0xcbfc=function(_0x1e6659,_0x1f860c){_0x1e6659=_0x1e6659-0x0;var _0x4d16e4=_0xbfcc[_0x1e6659];return _0x4d16e4;};'use strict';var _=require(_0xcbfc('0x0'));var util=require('util');var moment=require('moment');var BPromise=require(_0xcbfc('0x1'));var rs=require(_0xcbfc('0x2'));var fs=require('fs');var Redis=require(_0xcbfc('0x3'));var db=require(_0xcbfc('0x4'))['db'];var utils=require('../../config/utils');var logger=require('../../config/logger')('rpc');var config=require('../../config/environment');var jayson=require(_0xcbfc('0x5'));var client=jayson[_0xcbfc('0x6')]['http']({'port':0x232a});function respondWithRpcPromise(_0x1b3917,_0x5a2be0,_0x2ea130){return new BPromise(function(_0x1f8b71,_0x1b1377){return client[_0xcbfc('0x7')](_0x1b3917,_0x2ea130)['then'](function(_0x2e7097){logger[_0xcbfc('0x8')](_0xcbfc('0x9'),_0x5a2be0,_0xcbfc('0xa'));logger[_0xcbfc('0xb')](_0xcbfc('0xc'),_0x5a2be0,'request\x20sent',JSON[_0xcbfc('0xd')](_0x2e7097));if(_0x2e7097[_0xcbfc('0xe')]){if(_0x2e7097[_0xcbfc('0xe')][_0xcbfc('0xf')]===0x1f4){logger[_0xcbfc('0xe')]('Tag,\x20%s,\x20%s',_0x5a2be0,_0x2e7097[_0xcbfc('0xe')][_0xcbfc('0x10')]);return _0x1b1377(_0x2e7097[_0xcbfc('0xe')]['message']);}logger[_0xcbfc('0xe')](_0xcbfc('0x9'),_0x5a2be0,_0x2e7097[_0xcbfc('0xe')][_0xcbfc('0x10')]);return _0x1f8b71(_0x2e7097[_0xcbfc('0xe')]['message']);}else{logger[_0xcbfc('0x8')](_0xcbfc('0x9'),_0x5a2be0,_0xcbfc('0xa'));_0x1f8b71(_0x2e7097[_0xcbfc('0x11')]['message']);}})['catch'](function(_0x418f18){logger[_0xcbfc('0xe')](_0xcbfc('0x9'),_0x5a2be0,_0x418f18);_0x1b1377(_0x418f18);});});} \ No newline at end of file diff --git a/server/api/team/index.js b/server/api/team/index.js index 1a7cdca..48db570 100644 --- a/server/api/team/index.js +++ b/server/api/team/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xdaa7=['multer','util','path','express','Router','../../config/environment','get','isAuthenticated','index','/:id','show','/:id/queues','getQueues','getAgents','post','create','addQueues','addAgents','put','delete','destroy','removeQueues','/:id/users','removeAgents','exports'];(function(_0x5905f7,_0x2261f6){var _0x18724f=function(_0x4bb5c8){while(--_0x4bb5c8){_0x5905f7['push'](_0x5905f7['shift']());}};_0x18724f(++_0x2261f6);}(_0xdaa7,0xfa));var _0x7daa=function(_0x381379,_0x3f3b86){_0x381379=_0x381379-0x0;var _0x3e1063=_0xdaa7[_0x381379];return _0x3e1063;};'use strict';var multer=require(_0x7daa('0x0'));var util=require(_0x7daa('0x1'));var path=require(_0x7daa('0x2'));var timeout=require('connect-timeout');var express=require(_0x7daa('0x3'));var router=express[_0x7daa('0x4')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x7daa('0x5'));var controller=require('./team.controller');router[_0x7daa('0x6')]('/',auth[_0x7daa('0x7')](),controller[_0x7daa('0x8')]);router['get'](_0x7daa('0x9'),auth[_0x7daa('0x7')](),controller[_0x7daa('0xa')]);router[_0x7daa('0x6')](_0x7daa('0xb'),auth['isAuthenticated'](),controller[_0x7daa('0xc')]);router['get']('/:id/users',auth[_0x7daa('0x7')](),controller[_0x7daa('0xd')]);router[_0x7daa('0xe')]('/',auth[_0x7daa('0x7')](),controller[_0x7daa('0xf')]);router[_0x7daa('0xe')](_0x7daa('0xb'),auth[_0x7daa('0x7')](),controller[_0x7daa('0x10')]);router[_0x7daa('0xe')]('/:id/users',auth[_0x7daa('0x7')](),controller[_0x7daa('0x11')]);router[_0x7daa('0x12')](_0x7daa('0x9'),auth[_0x7daa('0x7')](),controller['update']);router[_0x7daa('0x13')](_0x7daa('0x9'),auth['isAuthenticated'](),controller[_0x7daa('0x14')]);router['delete'](_0x7daa('0xb'),auth[_0x7daa('0x7')](),controller[_0x7daa('0x15')]);router['delete'](_0x7daa('0x16'),auth['isAuthenticated'](),controller[_0x7daa('0x17')]);module[_0x7daa('0x18')]=router; \ No newline at end of file +var _0x7523=['removeQueues','removeAgents','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./team.controller','isAuthenticated','index','get','/:id','show','/:id/queues','getQueues','/:id/users','getAgents','post','create','addAgents','put','destroy','delete'];(function(_0x1c9bef,_0x333f85){var _0x186a88=function(_0x4507b7){while(--_0x4507b7){_0x1c9bef['push'](_0x1c9bef['shift']());}};_0x186a88(++_0x333f85);}(_0x7523,0x1a7));var _0x3752=function(_0x3b648e,_0x4e633a){_0x3b648e=_0x3b648e-0x0;var _0x2c6e26=_0x7523[_0x3b648e];return _0x2c6e26;};'use strict';var multer=require(_0x3752('0x0'));var util=require(_0x3752('0x1'));var path=require(_0x3752('0x2'));var timeout=require(_0x3752('0x3'));var express=require(_0x3752('0x4'));var router=express[_0x3752('0x5')]();var auth=require(_0x3752('0x6'));var interaction=require(_0x3752('0x7'));var config=require(_0x3752('0x8'));var controller=require(_0x3752('0x9'));router['get']('/',auth[_0x3752('0xa')](),controller[_0x3752('0xb')]);router[_0x3752('0xc')](_0x3752('0xd'),auth[_0x3752('0xa')](),controller[_0x3752('0xe')]);router[_0x3752('0xc')](_0x3752('0xf'),auth[_0x3752('0xa')](),controller[_0x3752('0x10')]);router[_0x3752('0xc')](_0x3752('0x11'),auth[_0x3752('0xa')](),controller[_0x3752('0x12')]);router[_0x3752('0x13')]('/',auth[_0x3752('0xa')](),controller[_0x3752('0x14')]);router[_0x3752('0x13')](_0x3752('0xf'),auth[_0x3752('0xa')](),controller['addQueues']);router[_0x3752('0x13')](_0x3752('0x11'),auth[_0x3752('0xa')](),controller[_0x3752('0x15')]);router[_0x3752('0x16')](_0x3752('0xd'),auth[_0x3752('0xa')](),controller['update']);router['delete'](_0x3752('0xd'),auth[_0x3752('0xa')](),controller[_0x3752('0x17')]);router[_0x3752('0x18')](_0x3752('0xf'),auth[_0x3752('0xa')](),controller[_0x3752('0x19')]);router['delete'](_0x3752('0x11'),auth[_0x3752('0xa')](),controller[_0x3752('0x1a')]);module[_0x3752('0x1b')]=router; \ No newline at end of file diff --git a/server/api/team/team.attributes.js b/server/api/team/team.attributes.js index 3e0d90f..51d47fb 100644 --- a/server/api/team/team.attributes.js +++ b/server/api/team/team.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x96c1=['name','sequelize','exports','STRING'];(function(_0x16fe32,_0x1745f0){var _0xb8e3ec=function(_0x400542){while(--_0x400542){_0x16fe32['push'](_0x16fe32['shift']());}};_0xb8e3ec(++_0x1745f0);}(_0x96c1,0xf9));var _0x196c=function(_0x3640d7,_0x409e47){_0x3640d7=_0x3640d7-0x0;var _0x3c30cb=_0x96c1[_0x3640d7];return _0x3c30cb;};'use strict';var Sequelize=require(_0x196c('0x0'));module[_0x196c('0x1')]={'name':{'type':Sequelize[_0x196c('0x2')],'allowNull':![],'unique':_0x196c('0x3')},'description':{'type':Sequelize[_0x196c('0x2')]}}; \ No newline at end of file +var _0x7a18=['STRING','exports'];(function(_0x401205,_0x6604b){var _0xb2c28e=function(_0x573b5e){while(--_0x573b5e){_0x401205['push'](_0x401205['shift']());}};_0xb2c28e(++_0x6604b);}(_0x7a18,0xf5));var _0x87a1=function(_0x274dd7,_0x2e6051){_0x274dd7=_0x274dd7-0x0;var _0x148829=_0x7a18[_0x274dd7];return _0x148829;};'use strict';var Sequelize=require('sequelize');module[_0x87a1('0x0')]={'name':{'type':Sequelize[_0x87a1('0x1')],'allowNull':![],'unique':'name'},'description':{'type':Sequelize[_0x87a1('0x1')]}}; \ No newline at end of file diff --git a/server/api/team/team.controller.js b/server/api/team/team.controller.js index 1d71d11..f9cff1d 100644 --- a/server/api/team/team.controller.js +++ b/server/api/team/team.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x21cd=['sendStatus','error','stack','name','send','index','map','Team','rawAttributes','key','model','query','filters','intersection','fields','attributes','length','hasOwnProperty','order','sort','where','merge','type','filter','options','include','findAll','rows','catch','show','params','keys','create','body','user','Unable\x20to\x20retrieve\x20the\x20current\x20user','role','Teams','UserProfileSection','find','userProfileId','autoAssociation','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','channel','isValidChannel','Sequelize','ValidationError','Unknown\x20channel','capitalize','toLowerCase','pick','Queues','addQueues','findOne','add','ids','remove','addAgents','Voice','Sms','Fax','Openchannel','Whatsapp','each','User','online','interface','UserVoiceQueueRt','isNil','format','omit','userTeam:save','removeAgents','voice','chat','mail','fax','openchannel','isArray','emit','userTeam:remove','getAgents','nolimit','html-pdf','eml-format','zip-dir','util','sox','ejs','lodash','squel','crypto','jsforce','desk.js','querystring','ioredis','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','redis','defaults','socket.io-emitter','./team.socket','register','end','status','json','count','offset','limit','Content-Range','apply','reject','save','update','then','destroy','get','UserProfileResource'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x21cd,0x14b));var _0xd21c=function(_0x4ff09b,_0x53f67d){_0x4ff09b=_0x4ff09b-0x0;var _0x3f5c2e=_0x21cd[_0x4ff09b];return _0x3f5c2e;};'use strict';var pdf=require(_0xd21c('0x0'));var emlformat=require(_0xd21c('0x1'));var rimraf=require('rimraf');var zipdir=require(_0xd21c('0x2'));var jsonpatch=require('fast-json-patch');var rp=require('request-promise');var moment=require('moment');var BPromise=require('bluebird');var Mustache=require('mustache');var util=require(_0xd21c('0x3'));var path=require('path');var sox=require(_0xd21c('0x4'));var csv=require('to-csv');var ejs=require(_0xd21c('0x5'));var fs=require('fs');var _=require(_0xd21c('0x6'));var squel=require(_0xd21c('0x7'));var crypto=require(_0xd21c('0x8'));var jsforce=require(_0xd21c('0x9'));var deskjs=require(_0xd21c('0xa'));var toCsv=require('to-csv');var querystring=require(_0xd21c('0xb'));var Papa=require('papaparse');var Redis=require(_0xd21c('0xc'));var authService=require('../../components/auth/service');var qs=require(_0xd21c('0xd'));var as=require(_0xd21c('0xe'));var hardwareService=require(_0xd21c('0xf'));var logger=require(_0xd21c('0x10'))(_0xd21c('0x11'));var utils=require(_0xd21c('0x12'));var config=require(_0xd21c('0x13'));var db=require(_0xd21c('0x14'))['db'];config[_0xd21c('0x15')]=_[_0xd21c('0x16')](config['redis'],{'host':'localhost','port':0x18eb});var socket=require(_0xd21c('0x17'))(new Redis(config['redis']));require(_0xd21c('0x18'))[_0xd21c('0x19')](socket);function respondWithStatusCode(_0x2e00b8,_0x42d359){_0x42d359=_0x42d359||0xcc;return function(_0x3e48b6){if(_0x3e48b6){return _0x2e00b8['sendStatus'](_0x42d359);}return _0x2e00b8['status'](_0x42d359)[_0xd21c('0x1a')]();};}function respondWithResult(_0x28dd62,_0x234a35){_0x234a35=_0x234a35||0xc8;return function(_0x477308){if(_0x477308){return _0x28dd62[_0xd21c('0x1b')](_0x234a35)[_0xd21c('0x1c')](_0x477308);}};}function respondWithFilteredResult(_0x498a87,_0x39dfa0){return function(_0x284a56){if(_0x284a56){var _0x11a969=_0x284a56[_0xd21c('0x1d')],_0x540697=_0x39dfa0[_0xd21c('0x1e')],_0x37066b=_0x39dfa0[_0xd21c('0x1e')]+_0x39dfa0[_0xd21c('0x1f')],_0x49c0c6;if(_0x37066b>=_0x11a969){_0x37066b=_0x11a969;_0x49c0c6=0xc8;}else{_0x49c0c6=0xce;}_0x498a87['status'](_0x49c0c6);return _0x498a87['set'](_0xd21c('0x20'),_0x540697+'-'+_0x37066b+'/'+_0x11a969)[_0xd21c('0x1c')](_0x284a56);}return null;};}function patchUpdates(_0x5c709b){return function(_0x2de5a5){try{jsonpatch[_0xd21c('0x21')](_0x2de5a5,_0x5c709b,!![]);}catch(_0x45778a){return BPromise[_0xd21c('0x22')](_0x45778a);}return _0x2de5a5[_0xd21c('0x23')]();};}function saveUpdates(_0x1f2523,_0x4bee34){return function(_0x12e54a){if(_0x12e54a){return _0x12e54a[_0xd21c('0x24')](_0x1f2523)[_0xd21c('0x25')](function(_0x161d51){return _0x161d51;});}return null;};}function removeEntity(_0x21293f,_0x400c91){return function(_0x117b3a){if(_0x117b3a){return _0x117b3a[_0xd21c('0x26')]()[_0xd21c('0x25')](function(){var _0x28f9fa=_0x117b3a[_0xd21c('0x27')]({'plain':!![]});var _0x34a9c1='Teams';return db[_0xd21c('0x28')][_0xd21c('0x26')]({'where':{'type':_0x34a9c1,'resourceId':_0x28f9fa['id']}})[_0xd21c('0x25')](function(){return _0x117b3a;});})['then'](function(){_0x21293f[_0xd21c('0x1b')](0xcc)['end']();});}};}function handleEntityNotFound(_0x20dc50,_0x5641f7){return function(_0x9cad6f){if(!_0x9cad6f){_0x20dc50[_0xd21c('0x29')](0x194);}return _0x9cad6f;};}function handleError(_0x14daaa,_0x402ff0){_0x402ff0=_0x402ff0||0x1f4;return function(_0x5793cb){logger[_0xd21c('0x2a')](_0x5793cb[_0xd21c('0x2b')]);if(_0x5793cb[_0xd21c('0x2c')]){delete _0x5793cb[_0xd21c('0x2c')];}_0x14daaa['status'](_0x402ff0)[_0xd21c('0x2d')](_0x5793cb);};}exports[_0xd21c('0x2e')]=function(_0x1b71a7,_0x40d6d3){var _0x4902f7={},_0x4ffd53={},_0x2fda08={'count':0x0,'rows':[]};var _0x2cf289=_[_0xd21c('0x2f')](db[_0xd21c('0x30')][_0xd21c('0x31')],function(_0x550bed){return{'name':_0x550bed['fieldName'],'type':_0x550bed['type'][_0xd21c('0x32')]};});_0x4ffd53[_0xd21c('0x33')]=_[_0xd21c('0x2f')](_0x2cf289,_0xd21c('0x2c'));_0x4ffd53['query']=_['keys'](_0x1b71a7[_0xd21c('0x34')]);_0x4ffd53[_0xd21c('0x35')]=_['intersection'](_0x4ffd53[_0xd21c('0x33')],_0x4ffd53[_0xd21c('0x34')]);_0x4902f7['attributes']=_[_0xd21c('0x36')](_0x4ffd53[_0xd21c('0x33')],qs[_0xd21c('0x37')](_0x1b71a7[_0xd21c('0x34')]['fields']));_0x4902f7[_0xd21c('0x38')]=_0x4902f7[_0xd21c('0x38')][_0xd21c('0x39')]?_0x4902f7['attributes']:_0x4ffd53[_0xd21c('0x33')];if(!_0x1b71a7['query'][_0xd21c('0x3a')]('nolimit')){_0x4902f7[_0xd21c('0x1f')]=qs['limit'](_0x1b71a7[_0xd21c('0x34')]['limit']);_0x4902f7[_0xd21c('0x1e')]=qs[_0xd21c('0x1e')](_0x1b71a7[_0xd21c('0x34')][_0xd21c('0x1e')]);}_0x4902f7[_0xd21c('0x3b')]=qs[_0xd21c('0x3c')](_0x1b71a7[_0xd21c('0x34')]['sort']);_0x4902f7[_0xd21c('0x3d')]=qs[_0xd21c('0x35')](_['pick'](_0x1b71a7['query'],_0x4ffd53[_0xd21c('0x35')]),_0x2cf289);if(_0x1b71a7['query']['filter']){_0x4902f7[_0xd21c('0x3d')]=_[_0xd21c('0x3e')](_0x4902f7[_0xd21c('0x3d')],{'$or':_[_0xd21c('0x2f')](_0x2cf289,function(_0x13ec15){if(_0x13ec15[_0xd21c('0x3f')]!=='VIRTUAL'){var _0x18e992={};_0x18e992[_0x13ec15['name']]={'$like':'%'+_0x1b71a7[_0xd21c('0x34')][_0xd21c('0x40')]+'%'};return _0x18e992;}})});}_0x4902f7=_[_0xd21c('0x3e')]({},_0x4902f7,_0x1b71a7[_0xd21c('0x41')]);var _0x52fc83={'where':_0x4902f7[_0xd21c('0x3d')]};return db[_0xd21c('0x30')][_0xd21c('0x1d')](_0x52fc83)['then'](function(_0x24c036){_0x2fda08[_0xd21c('0x1d')]=_0x24c036;if(_0x1b71a7[_0xd21c('0x34')]['includeAll']){_0x4902f7[_0xd21c('0x42')]=[{'all':!![]}];}return db[_0xd21c('0x30')][_0xd21c('0x43')](_0x4902f7);})['then'](function(_0x2b3eaf){_0x2fda08[_0xd21c('0x44')]=_0x2b3eaf;return _0x2fda08;})[_0xd21c('0x25')](respondWithFilteredResult(_0x40d6d3,_0x4902f7))[_0xd21c('0x45')](handleError(_0x40d6d3,null));};exports[_0xd21c('0x46')]=function(_0x19e8d3,_0x6f1b3f){var _0x4cc89d={'raw':![],'where':{'id':_0x19e8d3[_0xd21c('0x47')]['id']}},_0x193ddc={};_0x193ddc[_0xd21c('0x33')]=_[_0xd21c('0x48')](db['Team'][_0xd21c('0x31')]);_0x193ddc[_0xd21c('0x34')]=_[_0xd21c('0x48')](_0x19e8d3[_0xd21c('0x34')]);_0x193ddc['filters']=_[_0xd21c('0x36')](_0x193ddc['model'],_0x193ddc[_0xd21c('0x34')]);_0x4cc89d['attributes']=_[_0xd21c('0x36')](_0x193ddc['model'],qs[_0xd21c('0x37')](_0x19e8d3['query'][_0xd21c('0x37')]));_0x4cc89d['attributes']=_0x4cc89d[_0xd21c('0x38')][_0xd21c('0x39')]?_0x4cc89d[_0xd21c('0x38')]:_0x193ddc['model'];if(_0x19e8d3[_0xd21c('0x34')]['includeAll']){_0x4cc89d['include']=[{'all':!![]}];}_0x4cc89d=_[_0xd21c('0x3e')]({},_0x4cc89d,_0x19e8d3[_0xd21c('0x41')]);return db['Team']['find'](_0x4cc89d)[_0xd21c('0x25')](handleEntityNotFound(_0x6f1b3f,null))[_0xd21c('0x25')](respondWithResult(_0x6f1b3f,null))[_0xd21c('0x45')](handleError(_0x6f1b3f,null));};exports[_0xd21c('0x49')]=function(_0x247297,_0x522c61){return db['Team'][_0xd21c('0x49')](_0x247297[_0xd21c('0x4a')],{})[_0xd21c('0x25')](function(_0xf1d165){var _0x593b77=_0x247297[_0xd21c('0x4b')][_0xd21c('0x27')]({'plain':!![]});if(!_0x593b77)throw new Error(_0xd21c('0x4c'));if(_0x593b77[_0xd21c('0x4d')]==='user'){var _0x58f79f=_0xf1d165[_0xd21c('0x27')]({'plain':!![]});var _0x2d7365=_0xd21c('0x4e');return db[_0xd21c('0x4f')][_0xd21c('0x50')]({'where':{'name':_0x2d7365,'userProfileId':_0x593b77[_0xd21c('0x51')]},'raw':!![]})[_0xd21c('0x25')](function(_0x36cd2d){if(_0x36cd2d&&_0x36cd2d[_0xd21c('0x52')]===0x0){return db[_0xd21c('0x28')]['create']({'name':_0x58f79f[_0xd21c('0x2c')],'resourceId':_0x58f79f['id'],'type':_0x36cd2d[_0xd21c('0x2c')],'sectionId':_0x36cd2d['id']},{})[_0xd21c('0x25')](function(){return _0xf1d165;});}else{return _0xf1d165;}})[_0xd21c('0x45')](function(_0x1e854f){logger[_0xd21c('0x2a')](_0xd21c('0x53'),_0x1e854f);throw _0x1e854f;});}return _0xf1d165;})['then'](respondWithResult(_0x522c61,0xc9))[_0xd21c('0x45')](handleError(_0x522c61,null));};exports[_0xd21c('0x24')]=function(_0x4f944f,_0x198414){if(_0x4f944f[_0xd21c('0x4a')]['id']){delete _0x4f944f['body']['id'];}return db[_0xd21c('0x30')][_0xd21c('0x50')]({'where':{'id':_0x4f944f['params']['id']}})['then'](handleEntityNotFound(_0x198414,null))['then'](saveUpdates(_0x4f944f[_0xd21c('0x4a')],null))['then'](respondWithResult(_0x198414,null))[_0xd21c('0x45')](handleError(_0x198414,null));};exports[_0xd21c('0x26')]=function(_0x6e4527,_0x152eec){return db[_0xd21c('0x30')]['find']({'where':{'id':_0x6e4527[_0xd21c('0x47')]['id']}})[_0xd21c('0x25')](handleEntityNotFound(_0x152eec,null))[_0xd21c('0x25')](removeEntity(_0x152eec,null))[_0xd21c('0x45')](handleError(_0x152eec,null));};exports['getQueues']=function(_0x3ebb44,_0x3505bd,_0x9af781){return db[_0xd21c('0x30')]['findOne']({'where':{'id':_0x3ebb44[_0xd21c('0x47')]['id']}})['then'](handleEntityNotFound(_0x3505bd,null))['then'](function(_0x2b809f){if(!_0x3ebb44['query'][_0xd21c('0x54')]||!utils[_0xd21c('0x55')](_0x3ebb44['query'][_0xd21c('0x54')])){throw new db[(_0xd21c('0x56'))][(_0xd21c('0x57'))](_0xd21c('0x58'));}var _0x4e99a0={};var _0x53078c={};_0x53078c[_0xd21c('0x33')]=_[_0xd21c('0x48')](db[_[_0xd21c('0x59')](_0x3ebb44[_0xd21c('0x34')][_0xd21c('0x54')][_0xd21c('0x5a')]())+'Queue'][_0xd21c('0x31')]);_0x53078c[_0xd21c('0x34')]=_[_0xd21c('0x48')](_0x3ebb44['query']);_0x53078c[_0xd21c('0x35')]=_['intersection'](_0x53078c[_0xd21c('0x33')],_0x53078c[_0xd21c('0x34')]);_0x4e99a0['attributes']=_[_0xd21c('0x36')](_0x53078c[_0xd21c('0x33')],qs[_0xd21c('0x37')](_0x3ebb44[_0xd21c('0x34')][_0xd21c('0x37')]));_0x4e99a0[_0xd21c('0x38')]=_0x4e99a0[_0xd21c('0x38')]['length']?_0x4e99a0['attributes']:_0x53078c[_0xd21c('0x33')];_0x4e99a0[_0xd21c('0x1f')]=qs['limit'](_0x3ebb44[_0xd21c('0x34')]['limit']);_0x4e99a0[_0xd21c('0x1e')]=qs[_0xd21c('0x1e')](_0x3ebb44[_0xd21c('0x34')][_0xd21c('0x1e')]);_0x4e99a0['order']=qs[_0xd21c('0x3c')](_0x3ebb44[_0xd21c('0x34')][_0xd21c('0x3c')]);_0x4e99a0[_0xd21c('0x3d')]=qs[_0xd21c('0x35')](_[_0xd21c('0x5b')](_0x3ebb44[_0xd21c('0x34')],_0x53078c[_0xd21c('0x35')]));_0x4e99a0=_[_0xd21c('0x3e')]({},_0x4e99a0,_0x3ebb44[_0xd21c('0x41')]);return _0x2b809f[_0xd21c('0x27')+_[_0xd21c('0x59')](_0x3ebb44['query'][_0xd21c('0x54')][_0xd21c('0x5a')]())+_0xd21c('0x5c')](_0x4e99a0);})[_0xd21c('0x25')](respondWithResult(_0x3505bd,null))['catch'](handleError(_0x3505bd,null));};exports[_0xd21c('0x5d')]=function(_0x5f3102,_0x42f3d4,_0x22f466){return db['Team'][_0xd21c('0x5e')]({'where':{'id':_0x5f3102['params']['id']}})['then'](function(_0x316b19){if(_0x316b19){if(!_0x5f3102[_0xd21c('0x4a')][_0xd21c('0x54')]||!utils[_0xd21c('0x55')](_0x5f3102['body'][_0xd21c('0x54')])){throw new db[(_0xd21c('0x56'))][(_0xd21c('0x57'))](_0xd21c('0x58'));}return _0x316b19[_0xd21c('0x5f')+_[_0xd21c('0x59')](_0x5f3102[_0xd21c('0x4a')]['channel'][_0xd21c('0x5a')]())+_0xd21c('0x5c')](_0x5f3102[_0xd21c('0x4a')][_0xd21c('0x60')]);}return null;})[_0xd21c('0x25')](handleEntityNotFound(_0x42f3d4,null))[_0xd21c('0x25')](respondWithStatusCode(_0x42f3d4,null))['catch'](handleError(_0x42f3d4,null));};exports['removeQueues']=function(_0x311e11,_0x92f3b8,_0x1d0522){return db['Team']['findOne']({'where':{'id':_0x311e11['params']['id']}})[_0xd21c('0x25')](function(_0x4e90ee){if(_0x4e90ee){if(!_0x311e11[_0xd21c('0x34')][_0xd21c('0x54')]||!utils[_0xd21c('0x55')](_0x311e11['query'][_0xd21c('0x54')])){throw new db[(_0xd21c('0x56'))][(_0xd21c('0x57'))]('Unknown\x20channel');}return _0x4e90ee[_0xd21c('0x61')+_[_0xd21c('0x59')](_0x311e11[_0xd21c('0x34')][_0xd21c('0x54')][_0xd21c('0x5a')]())+'Queues'](_0x311e11[_0xd21c('0x34')][_0xd21c('0x60')]);}return null;})[_0xd21c('0x25')](handleEntityNotFound(_0x92f3b8,null))[_0xd21c('0x25')](respondWithStatusCode(_0x92f3b8,null))[_0xd21c('0x45')](handleError(_0x92f3b8,null));};exports[_0xd21c('0x62')]=function(_0x53615e,_0x588ccb,_0x41ad94){return db[_0xd21c('0x30')][_0xd21c('0x50')]({'where':{'id':_0x53615e[_0xd21c('0x47')]['id']}})[_0xd21c('0x25')](handleEntityNotFound(_0x588ccb,null))[_0xd21c('0x25')](function(_0x1a02a2){if(_0x1a02a2){var _0x20336c=[_0xd21c('0x63'),'Chat','Mail',_0xd21c('0x64'),_0xd21c('0x65'),_0xd21c('0x66'),_0xd21c('0x67')];return BPromise[_0xd21c('0x68')](_0x20336c,function(_0x1fae9d){return _0x1a02a2[_0xd21c('0x27')+_0x1fae9d+_0xd21c('0x5c')]({'attributes':['id','name']})[_0xd21c('0x25')](function(_0x4ecb5c){return BPromise[_0xd21c('0x68')](_0x4ecb5c,function(_0x5cea59){return _0x5cea59[_0xd21c('0x62')](_0x53615e[_0xd21c('0x4a')]['ids'])[_0xd21c('0x25')](function(){if(_0x1fae9d===_0xd21c('0x63')){return db[_0xd21c('0x69')][_0xd21c('0x43')]({'where':{'id':_0x53615e['body'][_0xd21c('0x60')]},'attributes':['id',_0xd21c('0x2c'),_0xd21c('0x6a'),'voicePause',_0xd21c('0x6b')],'raw':!![]})['then'](function(_0x42c67c){return BPromise[_0xd21c('0x68')](_[_0xd21c('0x40')](_0x42c67c,{'online':0x1}),function(_0x7401b6){return db[_0xd21c('0x6c')]['upsert']({'membername':_0x7401b6[_0xd21c('0x2c')],'UserId':_0x7401b6['id'],'queue_name':_0x5cea59[_0xd21c('0x2c')],'VoiceQueueId':_0x5cea59['id'],'interface':_[_0xd21c('0x6d')](_0x7401b6[_0xd21c('0x6b')])?util[_0xd21c('0x6e')]('SIP/%s',_0x7401b6[_0xd21c('0x2c')]):_0x7401b6[_0xd21c('0x6b')],'paused':_0x7401b6['voicePause']||![],'penalty':0x0});});});}});});})[_0xd21c('0x25')](function(){return _0x1a02a2;});})[_0xd21c('0x25')](function(){return _0x1a02a2;});}})[_0xd21c('0x25')](function(_0x3fd713){if(_0x3fd713){return _0x3fd713[_0xd21c('0x62')](_0x53615e[_0xd21c('0x4a')][_0xd21c('0x60')],_[_0xd21c('0x6f')](_0x53615e[_0xd21c('0x4a')],[_0xd21c('0x60'),'id'])||{})['spread'](function(_0x453e62){for(var _0x189579=0x0;_0x189579<_0x53615e[_0xd21c('0x4a')][_0xd21c('0x60')]['length'];_0x189579+=0x1){socket['emit'](_0xd21c('0x70'),{'UserId':_0x53615e[_0xd21c('0x4a')]['ids'][_0x189579],'TeamId':_0x53615e[_0xd21c('0x47')]['id']});}return _0x453e62;});}})[_0xd21c('0x25')](respondWithResult(_0x588ccb,null))[_0xd21c('0x45')](handleError(_0x588ccb,null));};exports[_0xd21c('0x71')]=function(_0x249537,_0xd96251,_0x5ee040){return db[_0xd21c('0x30')]['find']({'where':{'id':_0x249537[_0xd21c('0x47')]['id']}})[_0xd21c('0x25')](handleEntityNotFound(_0xd96251,null))['then'](function(_0x182f85){if(_0x182f85){return BPromise[_0xd21c('0x68')]([_0xd21c('0x72'),_0xd21c('0x73'),_0xd21c('0x74'),'sms',_0xd21c('0x75'),_0xd21c('0x76'),'whatsapp'],function(_0x1f437e){return _0x182f85['get'+_[_0xd21c('0x59')](_0x1f437e)+'Queues']({'attributes':['id',_0xd21c('0x2c')]})[_0xd21c('0x25')](function(_0x81f7a3){return BPromise[_0xd21c('0x68')](_0x81f7a3,function(_0x3a975d){return _0x3a975d['removeAgents'](_0x249537[_0xd21c('0x34')][_0xd21c('0x60')])['then'](function(){if(_0x1f437e==='voice'){return db[_0xd21c('0x6c')][_0xd21c('0x26')]({'where':{'VoiceQueueId':_0x3a975d['id'],'UserId':_0x249537[_0xd21c('0x34')][_0xd21c('0x60')]}});}});});})[_0xd21c('0x25')](function(){return _0x182f85;});})['then'](function(){return _0x182f85;});}})[_0xd21c('0x25')](function(_0x10c088){if(_0x10c088){return _0x10c088[_0xd21c('0x71')](_0x249537['query'][_0xd21c('0x60')])['then'](function(){if(_[_0xd21c('0x77')](_0x249537['query'][_0xd21c('0x60')])){for(var _0x4dfc82=0x0;_0x4dfc82<_0x249537[_0xd21c('0x34')][_0xd21c('0x60')][_0xd21c('0x39')];_0x4dfc82+=0x1){socket[_0xd21c('0x78')](_0xd21c('0x79'),{'UserId':Number(_0x249537[_0xd21c('0x34')][_0xd21c('0x60')][_0x4dfc82]),'TeamId':Number(_0x249537['params']['id'])});}}else{socket['emit']('userTeam:remove',{'UserId':Number(_0x249537[_0xd21c('0x34')][_0xd21c('0x60')]),'TeamId':Number(_0x249537[_0xd21c('0x47')]['id'])});}});}})['then'](respondWithStatusCode(_0xd96251,null))[_0xd21c('0x45')](handleError(_0xd96251,null));};exports['getAgents']=function(_0x2101d0,_0x300cab,_0x4cea09){var _0x205bd6={};var _0x5688ec={};var _0x58ba68;var _0x43cb22;return db[_0xd21c('0x30')][_0xd21c('0x5e')]({'where':{'id':_0x2101d0[_0xd21c('0x47')]['id']}})[_0xd21c('0x25')](handleEntityNotFound(_0x300cab,null))[_0xd21c('0x25')](function(_0x6ae0){if(_0x6ae0){_0x58ba68=_0x6ae0;_0x5688ec[_0xd21c('0x33')]=_['keys'](db[_0xd21c('0x69')][_0xd21c('0x31')]);_0x5688ec[_0xd21c('0x34')]=_[_0xd21c('0x48')](_0x2101d0[_0xd21c('0x34')]);_0x5688ec[_0xd21c('0x35')]=_[_0xd21c('0x36')](_0x5688ec['model'],_0x5688ec[_0xd21c('0x34')]);_0x205bd6['attributes']=_[_0xd21c('0x36')](_0x5688ec[_0xd21c('0x33')],qs[_0xd21c('0x37')](_0x2101d0[_0xd21c('0x34')]['fields']));_0x205bd6[_0xd21c('0x38')]=_0x205bd6[_0xd21c('0x38')][_0xd21c('0x39')]?_0x205bd6['attributes']:_0x5688ec['model'];_0x205bd6[_0xd21c('0x3b')]=qs[_0xd21c('0x3c')](_0x2101d0[_0xd21c('0x34')][_0xd21c('0x3c')]);_0x205bd6[_0xd21c('0x3d')]=qs[_0xd21c('0x35')](_[_0xd21c('0x5b')](_0x2101d0['query'],_0x5688ec[_0xd21c('0x35')]));if(_0x2101d0[_0xd21c('0x34')][_0xd21c('0x40')]){_0x205bd6[_0xd21c('0x3d')]=_['merge'](_0x205bd6[_0xd21c('0x3d')],{'$or':_[_0xd21c('0x2f')](_0x205bd6[_0xd21c('0x38')],function(_0x1fd120){var _0x1b82cd={};_0x1b82cd[_0x1fd120]={'$like':'%'+_0x2101d0[_0xd21c('0x34')]['filter']+'%'};return _0x1b82cd;})});}_0x205bd6=_['merge']({},_0x205bd6,_0x2101d0[_0xd21c('0x41')]);return _0x58ba68[_0xd21c('0x7a')](_0x205bd6);}})[_0xd21c('0x25')](function(_0x44a7e3){if(_0x44a7e3){_0x43cb22=_0x44a7e3['length'];if(!_0x2101d0['query'][_0xd21c('0x3a')](_0xd21c('0x7b'))){_0x205bd6[_0xd21c('0x1f')]=qs[_0xd21c('0x1f')](_0x2101d0[_0xd21c('0x34')][_0xd21c('0x1f')]);_0x205bd6[_0xd21c('0x1e')]=qs[_0xd21c('0x1e')](_0x2101d0[_0xd21c('0x34')][_0xd21c('0x1e')]);}return _0x58ba68[_0xd21c('0x7a')](_0x205bd6);}})[_0xd21c('0x25')](function(_0x2dd814){if(_0x2dd814){return _0x2dd814?{'count':_0x43cb22,'rows':_0x2dd814}:null;}})[_0xd21c('0x25')](respondWithResult(_0x300cab,null))[_0xd21c('0x45')](handleError(_0x300cab,null));}; \ No newline at end of file +var _0xadb2=['zip-dir','fast-json-patch','moment','util','path','to-csv','ejs','lodash','squel','crypto','querystring','papaparse','../../components/auth/service','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','../../mysqldb','redis','defaults','localhost','socket.io-emitter','./team.socket','sendStatus','status','json','count','offset','limit','set','Content-Range','apply','reject','save','update','then','destroy','Teams','end','name','send','index','map','Team','rawAttributes','fieldName','type','model','query','keys','filters','attributes','fields','hasOwnProperty','order','sort','where','pick','filter','merge','VIRTUAL','options','includeAll','include','rows','catch','params','intersection','find','create','get','role','user','UserProfileSection','autoAssociation','error','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','body','getQueues','channel','isValidChannel','Unknown\x20channel','capitalize','toLowerCase','length','Queues','addQueues','findOne','add','ids','removeQueues','Sequelize','ValidationError','remove','addAgents','Mail','Sms','Fax','Openchannel','Whatsapp','each','Voice','findAll','online','voicePause','UserVoiceQueueRt','isNil','format','interface','spread','emit','userTeam:save','removeAgents','voice','mail','fax','openchannel','whatsapp','isArray','userTeam:remove','getAgents','eml-format','rimraf'];(function(_0x4e9628,_0x250573){var _0x27bc8c=function(_0xb3b7ae){while(--_0xb3b7ae){_0x4e9628['push'](_0x4e9628['shift']());}};_0x27bc8c(++_0x250573);}(_0xadb2,0xf2));var _0x2adb=function(_0x12b137,_0x1245eb){_0x12b137=_0x12b137-0x0;var _0x2ebe5e=_0xadb2[_0x12b137];return _0x2ebe5e;};'use strict';var pdf=require('html-pdf');var emlformat=require(_0x2adb('0x0'));var rimraf=require(_0x2adb('0x1'));var zipdir=require(_0x2adb('0x2'));var jsonpatch=require(_0x2adb('0x3'));var rp=require('request-promise');var moment=require(_0x2adb('0x4'));var BPromise=require('bluebird');var Mustache=require('mustache');var util=require(_0x2adb('0x5'));var path=require(_0x2adb('0x6'));var sox=require('sox');var csv=require(_0x2adb('0x7'));var ejs=require(_0x2adb('0x8'));var fs=require('fs');var _=require(_0x2adb('0x9'));var squel=require(_0x2adb('0xa'));var crypto=require(_0x2adb('0xb'));var jsforce=require('jsforce');var deskjs=require('desk.js');var toCsv=require(_0x2adb('0x7'));var querystring=require(_0x2adb('0xc'));var Papa=require(_0x2adb('0xd'));var Redis=require('ioredis');var authService=require(_0x2adb('0xe'));var qs=require('../../components/parsers/qs');var as=require(_0x2adb('0xf'));var hardwareService=require(_0x2adb('0x10'));var logger=require(_0x2adb('0x11'))('api');var utils=require('../../config/utils');var config=require('../../config/environment');var db=require(_0x2adb('0x12'))['db'];config[_0x2adb('0x13')]=_[_0x2adb('0x14')](config[_0x2adb('0x13')],{'host':_0x2adb('0x15'),'port':0x18eb});var socket=require(_0x2adb('0x16'))(new Redis(config[_0x2adb('0x13')]));require(_0x2adb('0x17'))['register'](socket);function respondWithStatusCode(_0x26bcfe,_0x4e081f){_0x4e081f=_0x4e081f||0xcc;return function(_0x585883){if(_0x585883){return _0x26bcfe[_0x2adb('0x18')](_0x4e081f);}return _0x26bcfe[_0x2adb('0x19')](_0x4e081f)['end']();};}function respondWithResult(_0x197477,_0x38768f){_0x38768f=_0x38768f||0xc8;return function(_0x515000){if(_0x515000){return _0x197477[_0x2adb('0x19')](_0x38768f)[_0x2adb('0x1a')](_0x515000);}};}function respondWithFilteredResult(_0x36d782,_0x70268d){return function(_0x200960){if(_0x200960){var _0x15a58b=_0x200960[_0x2adb('0x1b')],_0x572b0b=_0x70268d[_0x2adb('0x1c')],_0x45d47f=_0x70268d[_0x2adb('0x1c')]+_0x70268d[_0x2adb('0x1d')],_0x220df3;if(_0x45d47f>=_0x15a58b){_0x45d47f=_0x15a58b;_0x220df3=0xc8;}else{_0x220df3=0xce;}_0x36d782[_0x2adb('0x19')](_0x220df3);return _0x36d782[_0x2adb('0x1e')](_0x2adb('0x1f'),_0x572b0b+'-'+_0x45d47f+'/'+_0x15a58b)['json'](_0x200960);}return null;};}function patchUpdates(_0x55eebd){return function(_0x300bcd){try{jsonpatch[_0x2adb('0x20')](_0x300bcd,_0x55eebd,!![]);}catch(_0x1c8131){return BPromise[_0x2adb('0x21')](_0x1c8131);}return _0x300bcd[_0x2adb('0x22')]();};}function saveUpdates(_0x8e25cf,_0x5f412c){return function(_0x515401){if(_0x515401){return _0x515401[_0x2adb('0x23')](_0x8e25cf)[_0x2adb('0x24')](function(_0xd0ba85){return _0xd0ba85;});}return null;};}function removeEntity(_0x4f2545,_0x137af6){return function(_0x12dd5c){if(_0x12dd5c){return _0x12dd5c[_0x2adb('0x25')]()[_0x2adb('0x24')](function(){var _0x533e72=_0x12dd5c['get']({'plain':!![]});var _0x212a16=_0x2adb('0x26');return db['UserProfileResource']['destroy']({'where':{'type':_0x212a16,'resourceId':_0x533e72['id']}})['then'](function(){return _0x12dd5c;});})[_0x2adb('0x24')](function(){_0x4f2545[_0x2adb('0x19')](0xcc)[_0x2adb('0x27')]();});}};}function handleEntityNotFound(_0x4da7ac,_0x262c13){return function(_0x5973d1){if(!_0x5973d1){_0x4da7ac[_0x2adb('0x18')](0x194);}return _0x5973d1;};}function handleError(_0x586ff5,_0x241a31){_0x241a31=_0x241a31||0x1f4;return function(_0x15af87){logger['error'](_0x15af87['stack']);if(_0x15af87[_0x2adb('0x28')]){delete _0x15af87[_0x2adb('0x28')];}_0x586ff5[_0x2adb('0x19')](_0x241a31)[_0x2adb('0x29')](_0x15af87);};}exports[_0x2adb('0x2a')]=function(_0x5ee011,_0x355bae){var _0xe78d24={},_0x2b789e={},_0x244ad6={'count':0x0,'rows':[]};var _0x39af1f=_[_0x2adb('0x2b')](db[_0x2adb('0x2c')][_0x2adb('0x2d')],function(_0x472ea9){return{'name':_0x472ea9[_0x2adb('0x2e')],'type':_0x472ea9[_0x2adb('0x2f')]['key']};});_0x2b789e[_0x2adb('0x30')]=_[_0x2adb('0x2b')](_0x39af1f,'name');_0x2b789e[_0x2adb('0x31')]=_[_0x2adb('0x32')](_0x5ee011['query']);_0x2b789e[_0x2adb('0x33')]=_['intersection'](_0x2b789e[_0x2adb('0x30')],_0x2b789e[_0x2adb('0x31')]);_0xe78d24[_0x2adb('0x34')]=_['intersection'](_0x2b789e['model'],qs[_0x2adb('0x35')](_0x5ee011[_0x2adb('0x31')][_0x2adb('0x35')]));_0xe78d24[_0x2adb('0x34')]=_0xe78d24[_0x2adb('0x34')]['length']?_0xe78d24[_0x2adb('0x34')]:_0x2b789e[_0x2adb('0x30')];if(!_0x5ee011['query'][_0x2adb('0x36')]('nolimit')){_0xe78d24['limit']=qs[_0x2adb('0x1d')](_0x5ee011[_0x2adb('0x31')]['limit']);_0xe78d24[_0x2adb('0x1c')]=qs[_0x2adb('0x1c')](_0x5ee011[_0x2adb('0x31')][_0x2adb('0x1c')]);}_0xe78d24[_0x2adb('0x37')]=qs[_0x2adb('0x38')](_0x5ee011['query']['sort']);_0xe78d24[_0x2adb('0x39')]=qs[_0x2adb('0x33')](_[_0x2adb('0x3a')](_0x5ee011[_0x2adb('0x31')],_0x2b789e[_0x2adb('0x33')]),_0x39af1f);if(_0x5ee011[_0x2adb('0x31')][_0x2adb('0x3b')]){_0xe78d24['where']=_[_0x2adb('0x3c')](_0xe78d24[_0x2adb('0x39')],{'$or':_[_0x2adb('0x2b')](_0x39af1f,function(_0x19b0aa){if(_0x19b0aa[_0x2adb('0x2f')]!==_0x2adb('0x3d')){var _0x8bbd4f={};_0x8bbd4f[_0x19b0aa[_0x2adb('0x28')]]={'$like':'%'+_0x5ee011[_0x2adb('0x31')][_0x2adb('0x3b')]+'%'};return _0x8bbd4f;}})});}_0xe78d24=_[_0x2adb('0x3c')]({},_0xe78d24,_0x5ee011[_0x2adb('0x3e')]);var _0xd67a26={'where':_0xe78d24[_0x2adb('0x39')]};return db['Team'][_0x2adb('0x1b')](_0xd67a26)[_0x2adb('0x24')](function(_0x4a810f){_0x244ad6['count']=_0x4a810f;if(_0x5ee011['query'][_0x2adb('0x3f')]){_0xe78d24[_0x2adb('0x40')]=[{'all':!![]}];}return db[_0x2adb('0x2c')]['findAll'](_0xe78d24);})[_0x2adb('0x24')](function(_0x1d0b36){_0x244ad6[_0x2adb('0x41')]=_0x1d0b36;return _0x244ad6;})[_0x2adb('0x24')](respondWithFilteredResult(_0x355bae,_0xe78d24))[_0x2adb('0x42')](handleError(_0x355bae,null));};exports['show']=function(_0xc0d730,_0x260913){var _0x444424={'raw':![],'where':{'id':_0xc0d730[_0x2adb('0x43')]['id']}},_0x5e40c3={};_0x5e40c3[_0x2adb('0x30')]=_[_0x2adb('0x32')](db['Team'][_0x2adb('0x2d')]);_0x5e40c3[_0x2adb('0x31')]=_[_0x2adb('0x32')](_0xc0d730[_0x2adb('0x31')]);_0x5e40c3['filters']=_[_0x2adb('0x44')](_0x5e40c3['model'],_0x5e40c3['query']);_0x444424[_0x2adb('0x34')]=_[_0x2adb('0x44')](_0x5e40c3[_0x2adb('0x30')],qs[_0x2adb('0x35')](_0xc0d730[_0x2adb('0x31')]['fields']));_0x444424['attributes']=_0x444424['attributes']['length']?_0x444424[_0x2adb('0x34')]:_0x5e40c3['model'];if(_0xc0d730[_0x2adb('0x31')][_0x2adb('0x3f')]){_0x444424[_0x2adb('0x40')]=[{'all':!![]}];}_0x444424=_['merge']({},_0x444424,_0xc0d730[_0x2adb('0x3e')]);return db[_0x2adb('0x2c')][_0x2adb('0x45')](_0x444424)[_0x2adb('0x24')](handleEntityNotFound(_0x260913,null))[_0x2adb('0x24')](respondWithResult(_0x260913,null))[_0x2adb('0x42')](handleError(_0x260913,null));};exports[_0x2adb('0x46')]=function(_0x57e48d,_0xa69edf){return db['Team'][_0x2adb('0x46')](_0x57e48d['body'],{})[_0x2adb('0x24')](function(_0x53e3e9){var _0x522b2e=_0x57e48d['user'][_0x2adb('0x47')]({'plain':!![]});if(!_0x522b2e)throw new Error('Unable\x20to\x20retrieve\x20the\x20current\x20user');if(_0x522b2e[_0x2adb('0x48')]===_0x2adb('0x49')){var _0x83a705=_0x53e3e9[_0x2adb('0x47')]({'plain':!![]});var _0x39d95c=_0x2adb('0x26');return db[_0x2adb('0x4a')][_0x2adb('0x45')]({'where':{'name':_0x39d95c,'userProfileId':_0x522b2e['userProfileId']},'raw':!![]})[_0x2adb('0x24')](function(_0x5bc452){if(_0x5bc452&&_0x5bc452[_0x2adb('0x4b')]===0x0){return db['UserProfileResource'][_0x2adb('0x46')]({'name':_0x83a705[_0x2adb('0x28')],'resourceId':_0x83a705['id'],'type':_0x5bc452['name'],'sectionId':_0x5bc452['id']},{})[_0x2adb('0x24')](function(){return _0x53e3e9;});}else{return _0x53e3e9;}})[_0x2adb('0x42')](function(_0x279df7){logger[_0x2adb('0x4c')](_0x2adb('0x4d'),_0x279df7);throw _0x279df7;});}return _0x53e3e9;})['then'](respondWithResult(_0xa69edf,0xc9))[_0x2adb('0x42')](handleError(_0xa69edf,null));};exports[_0x2adb('0x23')]=function(_0x528223,_0x345407){if(_0x528223[_0x2adb('0x4e')]['id']){delete _0x528223[_0x2adb('0x4e')]['id'];}return db[_0x2adb('0x2c')][_0x2adb('0x45')]({'where':{'id':_0x528223[_0x2adb('0x43')]['id']}})['then'](handleEntityNotFound(_0x345407,null))[_0x2adb('0x24')](saveUpdates(_0x528223[_0x2adb('0x4e')],null))[_0x2adb('0x24')](respondWithResult(_0x345407,null))[_0x2adb('0x42')](handleError(_0x345407,null));};exports['destroy']=function(_0x41d4b9,_0x4855db){return db['Team']['find']({'where':{'id':_0x41d4b9[_0x2adb('0x43')]['id']}})['then'](handleEntityNotFound(_0x4855db,null))[_0x2adb('0x24')](removeEntity(_0x4855db,null))[_0x2adb('0x42')](handleError(_0x4855db,null));};exports[_0x2adb('0x4f')]=function(_0x3f58f7,_0x1b9fd5,_0x1f9954){return db[_0x2adb('0x2c')]['findOne']({'where':{'id':_0x3f58f7['params']['id']}})[_0x2adb('0x24')](handleEntityNotFound(_0x1b9fd5,null))[_0x2adb('0x24')](function(_0x4b0dc5){if(!_0x3f58f7['query'][_0x2adb('0x50')]||!utils[_0x2adb('0x51')](_0x3f58f7['query']['channel'])){throw new db['Sequelize']['ValidationError'](_0x2adb('0x52'));}var _0x524f25={};var _0x24d6aa={};_0x24d6aa[_0x2adb('0x30')]=_[_0x2adb('0x32')](db[_[_0x2adb('0x53')](_0x3f58f7[_0x2adb('0x31')]['channel'][_0x2adb('0x54')]())+'Queue'][_0x2adb('0x2d')]);_0x24d6aa[_0x2adb('0x31')]=_[_0x2adb('0x32')](_0x3f58f7[_0x2adb('0x31')]);_0x24d6aa[_0x2adb('0x33')]=_['intersection'](_0x24d6aa[_0x2adb('0x30')],_0x24d6aa['query']);_0x524f25[_0x2adb('0x34')]=_[_0x2adb('0x44')](_0x24d6aa[_0x2adb('0x30')],qs[_0x2adb('0x35')](_0x3f58f7[_0x2adb('0x31')][_0x2adb('0x35')]));_0x524f25[_0x2adb('0x34')]=_0x524f25[_0x2adb('0x34')][_0x2adb('0x55')]?_0x524f25['attributes']:_0x24d6aa[_0x2adb('0x30')];_0x524f25[_0x2adb('0x1d')]=qs[_0x2adb('0x1d')](_0x3f58f7[_0x2adb('0x31')][_0x2adb('0x1d')]);_0x524f25[_0x2adb('0x1c')]=qs['offset'](_0x3f58f7[_0x2adb('0x31')]['offset']);_0x524f25['order']=qs[_0x2adb('0x38')](_0x3f58f7['query'][_0x2adb('0x38')]);_0x524f25['where']=qs['filters'](_[_0x2adb('0x3a')](_0x3f58f7[_0x2adb('0x31')],_0x24d6aa[_0x2adb('0x33')]));_0x524f25=_[_0x2adb('0x3c')]({},_0x524f25,_0x3f58f7[_0x2adb('0x3e')]);return _0x4b0dc5['get'+_[_0x2adb('0x53')](_0x3f58f7[_0x2adb('0x31')]['channel'][_0x2adb('0x54')]())+_0x2adb('0x56')](_0x524f25);})[_0x2adb('0x24')](respondWithResult(_0x1b9fd5,null))[_0x2adb('0x42')](handleError(_0x1b9fd5,null));};exports[_0x2adb('0x57')]=function(_0x3b25e6,_0x359483,_0x483b08){return db[_0x2adb('0x2c')][_0x2adb('0x58')]({'where':{'id':_0x3b25e6[_0x2adb('0x43')]['id']}})[_0x2adb('0x24')](function(_0x822e2f){if(_0x822e2f){if(!_0x3b25e6['body'][_0x2adb('0x50')]||!utils['isValidChannel'](_0x3b25e6[_0x2adb('0x4e')][_0x2adb('0x50')])){throw new db['Sequelize']['ValidationError'](_0x2adb('0x52'));}return _0x822e2f[_0x2adb('0x59')+_[_0x2adb('0x53')](_0x3b25e6['body'][_0x2adb('0x50')]['toLowerCase']())+_0x2adb('0x56')](_0x3b25e6[_0x2adb('0x4e')][_0x2adb('0x5a')]);}return null;})[_0x2adb('0x24')](handleEntityNotFound(_0x359483,null))['then'](respondWithStatusCode(_0x359483,null))[_0x2adb('0x42')](handleError(_0x359483,null));};exports[_0x2adb('0x5b')]=function(_0x25af29,_0x131133,_0x1c85e9){return db['Team'][_0x2adb('0x58')]({'where':{'id':_0x25af29['params']['id']}})[_0x2adb('0x24')](function(_0x5dfcdc){if(_0x5dfcdc){if(!_0x25af29['query'][_0x2adb('0x50')]||!utils['isValidChannel'](_0x25af29['query'][_0x2adb('0x50')])){throw new db[(_0x2adb('0x5c'))][(_0x2adb('0x5d'))]('Unknown\x20channel');}return _0x5dfcdc[_0x2adb('0x5e')+_[_0x2adb('0x53')](_0x25af29[_0x2adb('0x31')][_0x2adb('0x50')]['toLowerCase']())+_0x2adb('0x56')](_0x25af29[_0x2adb('0x31')][_0x2adb('0x5a')]);}return null;})[_0x2adb('0x24')](handleEntityNotFound(_0x131133,null))[_0x2adb('0x24')](respondWithStatusCode(_0x131133,null))[_0x2adb('0x42')](handleError(_0x131133,null));};exports[_0x2adb('0x5f')]=function(_0x45b65d,_0x36d19c,_0x5cc0c2){return db['Team'][_0x2adb('0x45')]({'where':{'id':_0x45b65d[_0x2adb('0x43')]['id']}})[_0x2adb('0x24')](handleEntityNotFound(_0x36d19c,null))['then'](function(_0x448cc9){if(_0x448cc9){var _0x2c2af2=['Voice','Chat',_0x2adb('0x60'),_0x2adb('0x61'),_0x2adb('0x62'),_0x2adb('0x63'),_0x2adb('0x64')];return BPromise['each'](_0x2c2af2,function(_0x458b57){return _0x448cc9[_0x2adb('0x47')+_0x458b57+_0x2adb('0x56')]({'attributes':['id',_0x2adb('0x28')]})['then'](function(_0x5a1031){return BPromise[_0x2adb('0x65')](_0x5a1031,function(_0x372862){return _0x372862[_0x2adb('0x5f')](_0x45b65d['body'][_0x2adb('0x5a')])[_0x2adb('0x24')](function(){if(_0x458b57===_0x2adb('0x66')){return db['User'][_0x2adb('0x67')]({'where':{'id':_0x45b65d[_0x2adb('0x4e')][_0x2adb('0x5a')]},'attributes':['id',_0x2adb('0x28'),_0x2adb('0x68'),_0x2adb('0x69'),'interface'],'raw':!![]})[_0x2adb('0x24')](function(_0x4dc75d){return BPromise[_0x2adb('0x65')](_[_0x2adb('0x3b')](_0x4dc75d,{'online':0x1}),function(_0x36f033){return db[_0x2adb('0x6a')]['upsert']({'membername':_0x36f033[_0x2adb('0x28')],'UserId':_0x36f033['id'],'queue_name':_0x372862['name'],'VoiceQueueId':_0x372862['id'],'interface':_[_0x2adb('0x6b')](_0x36f033['interface'])?util[_0x2adb('0x6c')]('SIP/%s',_0x36f033[_0x2adb('0x28')]):_0x36f033[_0x2adb('0x6d')],'paused':_0x36f033[_0x2adb('0x69')]||![],'penalty':0x0});});});}});});})[_0x2adb('0x24')](function(){return _0x448cc9;});})['then'](function(){return _0x448cc9;});}})[_0x2adb('0x24')](function(_0x138167){if(_0x138167){return _0x138167['addAgents'](_0x45b65d[_0x2adb('0x4e')][_0x2adb('0x5a')],_['omit'](_0x45b65d['body'],['ids','id'])||{})[_0x2adb('0x6e')](function(_0x1f7dd5){for(var _0x5047fb=0x0;_0x5047fb<_0x45b65d[_0x2adb('0x4e')][_0x2adb('0x5a')][_0x2adb('0x55')];_0x5047fb+=0x1){socket[_0x2adb('0x6f')](_0x2adb('0x70'),{'UserId':_0x45b65d[_0x2adb('0x4e')][_0x2adb('0x5a')][_0x5047fb],'TeamId':_0x45b65d[_0x2adb('0x43')]['id']});}return _0x1f7dd5;});}})[_0x2adb('0x24')](respondWithResult(_0x36d19c,null))[_0x2adb('0x42')](handleError(_0x36d19c,null));};exports[_0x2adb('0x71')]=function(_0x30422a,_0x4cd506,_0x57a1c6){return db[_0x2adb('0x2c')]['find']({'where':{'id':_0x30422a[_0x2adb('0x43')]['id']}})[_0x2adb('0x24')](handleEntityNotFound(_0x4cd506,null))[_0x2adb('0x24')](function(_0xf6cb56){if(_0xf6cb56){return BPromise[_0x2adb('0x65')]([_0x2adb('0x72'),'chat',_0x2adb('0x73'),'sms',_0x2adb('0x74'),_0x2adb('0x75'),_0x2adb('0x76')],function(_0x2a426f){return _0xf6cb56[_0x2adb('0x47')+_[_0x2adb('0x53')](_0x2a426f)+_0x2adb('0x56')]({'attributes':['id',_0x2adb('0x28')]})[_0x2adb('0x24')](function(_0x2288a9){return BPromise[_0x2adb('0x65')](_0x2288a9,function(_0x2186de){return _0x2186de[_0x2adb('0x71')](_0x30422a[_0x2adb('0x31')][_0x2adb('0x5a')])[_0x2adb('0x24')](function(){if(_0x2a426f===_0x2adb('0x72')){return db[_0x2adb('0x6a')][_0x2adb('0x25')]({'where':{'VoiceQueueId':_0x2186de['id'],'UserId':_0x30422a[_0x2adb('0x31')][_0x2adb('0x5a')]}});}});});})[_0x2adb('0x24')](function(){return _0xf6cb56;});})[_0x2adb('0x24')](function(){return _0xf6cb56;});}})['then'](function(_0x4e9173){if(_0x4e9173){return _0x4e9173[_0x2adb('0x71')](_0x30422a[_0x2adb('0x31')][_0x2adb('0x5a')])['then'](function(){if(_[_0x2adb('0x77')](_0x30422a[_0x2adb('0x31')]['ids'])){for(var _0x320fb2=0x0;_0x320fb2<_0x30422a['query'][_0x2adb('0x5a')]['length'];_0x320fb2+=0x1){socket[_0x2adb('0x6f')](_0x2adb('0x78'),{'UserId':Number(_0x30422a[_0x2adb('0x31')][_0x2adb('0x5a')][_0x320fb2]),'TeamId':Number(_0x30422a['params']['id'])});}}else{socket[_0x2adb('0x6f')](_0x2adb('0x78'),{'UserId':Number(_0x30422a[_0x2adb('0x31')][_0x2adb('0x5a')]),'TeamId':Number(_0x30422a[_0x2adb('0x43')]['id'])});}});}})[_0x2adb('0x24')](respondWithStatusCode(_0x4cd506,null))['catch'](handleError(_0x4cd506,null));};exports[_0x2adb('0x79')]=function(_0x268c16,_0x4d6d2f,_0x2cafc9){var _0x51af56={};var _0x49377d={};var _0x5da649;var _0x4eea6f;return db['Team'][_0x2adb('0x58')]({'where':{'id':_0x268c16['params']['id']}})[_0x2adb('0x24')](handleEntityNotFound(_0x4d6d2f,null))['then'](function(_0xf9429b){if(_0xf9429b){_0x5da649=_0xf9429b;_0x49377d[_0x2adb('0x30')]=_[_0x2adb('0x32')](db['User']['rawAttributes']);_0x49377d[_0x2adb('0x31')]=_['keys'](_0x268c16[_0x2adb('0x31')]);_0x49377d[_0x2adb('0x33')]=_[_0x2adb('0x44')](_0x49377d[_0x2adb('0x30')],_0x49377d[_0x2adb('0x31')]);_0x51af56[_0x2adb('0x34')]=_['intersection'](_0x49377d[_0x2adb('0x30')],qs[_0x2adb('0x35')](_0x268c16[_0x2adb('0x31')][_0x2adb('0x35')]));_0x51af56[_0x2adb('0x34')]=_0x51af56[_0x2adb('0x34')][_0x2adb('0x55')]?_0x51af56[_0x2adb('0x34')]:_0x49377d['model'];_0x51af56[_0x2adb('0x37')]=qs['sort'](_0x268c16[_0x2adb('0x31')][_0x2adb('0x38')]);_0x51af56['where']=qs[_0x2adb('0x33')](_[_0x2adb('0x3a')](_0x268c16[_0x2adb('0x31')],_0x49377d['filters']));if(_0x268c16[_0x2adb('0x31')][_0x2adb('0x3b')]){_0x51af56[_0x2adb('0x39')]=_[_0x2adb('0x3c')](_0x51af56[_0x2adb('0x39')],{'$or':_[_0x2adb('0x2b')](_0x51af56[_0x2adb('0x34')],function(_0x3f4075){var _0x9f58c2={};_0x9f58c2[_0x3f4075]={'$like':'%'+_0x268c16[_0x2adb('0x31')][_0x2adb('0x3b')]+'%'};return _0x9f58c2;})});}_0x51af56=_[_0x2adb('0x3c')]({},_0x51af56,_0x268c16[_0x2adb('0x3e')]);return _0x5da649[_0x2adb('0x79')](_0x51af56);}})[_0x2adb('0x24')](function(_0x16fb5d){if(_0x16fb5d){_0x4eea6f=_0x16fb5d[_0x2adb('0x55')];if(!_0x268c16[_0x2adb('0x31')]['hasOwnProperty']('nolimit')){_0x51af56[_0x2adb('0x1d')]=qs[_0x2adb('0x1d')](_0x268c16[_0x2adb('0x31')]['limit']);_0x51af56[_0x2adb('0x1c')]=qs[_0x2adb('0x1c')](_0x268c16[_0x2adb('0x31')][_0x2adb('0x1c')]);}return _0x5da649['getAgents'](_0x51af56);}})[_0x2adb('0x24')](function(_0x587ddc){if(_0x587ddc){return _0x587ddc?{'count':_0x4eea6f,'rows':_0x587ddc}:null;}})[_0x2adb('0x24')](respondWithResult(_0x4d6d2f,null))[_0x2adb('0x42')](handleError(_0x4d6d2f,null));}; \ No newline at end of file diff --git a/server/api/team/team.events.js b/server/api/team/team.events.js index a831aac..d3f50c0 100644 --- a/server/api/team/team.events.js +++ b/server/api/team/team.events.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x14b7=['emit','exports','update'];(function(_0xbc28c1,_0x3165ff){var _0x5d1dcd=function(_0x20bdf4){while(--_0x20bdf4){_0xbc28c1['push'](_0xbc28c1['shift']());}};_0x5d1dcd(++_0x3165ff);}(_0x14b7,0x98));var _0x714b=function(_0x479f17,_0x3ddb13){_0x479f17=_0x479f17-0x0;var _0xba4508=_0x14b7[_0x479f17];return _0xba4508;};'use strict';var EventEmitter=require('events');var Team=require('../../mysqldb')['db']['Team'];var TeamEvents=new EventEmitter();TeamEvents['setMaxListeners'](0x0);var events={'afterCreate':'save','afterUpdate':_0x714b('0x0'),'afterDestroy':'remove'};function emitEvent(_0x548eaa){return function(_0x593898,_0x38432c,_0x13880e){TeamEvents[_0x714b('0x1')](_0x548eaa+':'+_0x593898['id'],_0x593898);TeamEvents[_0x714b('0x1')](_0x548eaa,_0x593898);_0x13880e(null);};}for(var e in events){if(events['hasOwnProperty'](e)){var event=events[e];Team['hook'](e,emitEvent(event));}}module[_0x714b('0x2')]=TeamEvents; \ No newline at end of file +var _0xa19c=['emit','hook','events','Team','setMaxListeners','remove'];(function(_0x242fe1,_0x4d3637){var _0x422b5c=function(_0x39d1e7){while(--_0x39d1e7){_0x242fe1['push'](_0x242fe1['shift']());}};_0x422b5c(++_0x4d3637);}(_0xa19c,0x14c));var _0xca19=function(_0x42a829,_0x430ec9){_0x42a829=_0x42a829-0x0;var _0x3159ff=_0xa19c[_0x42a829];return _0x3159ff;};'use strict';var EventEmitter=require(_0xca19('0x0'));var Team=require('../../mysqldb')['db'][_0xca19('0x1')];var TeamEvents=new EventEmitter();TeamEvents[_0xca19('0x2')](0x0);var events={'afterCreate':'save','afterUpdate':'update','afterDestroy':_0xca19('0x3')};function emitEvent(_0x4065c0){return function(_0x58cb32,_0xbe72e8,_0x4293e4){TeamEvents['emit'](_0x4065c0+':'+_0x58cb32['id'],_0x58cb32);TeamEvents[_0xca19('0x4')](_0x4065c0,_0x58cb32);_0x4293e4(null);};}for(var e in events){if(events['hasOwnProperty'](e)){var event=events[e];Team[_0xca19('0x5')](e,emitEvent(event));}}module['exports']=TeamEvents; \ No newline at end of file diff --git a/server/api/team/team.model.js b/server/api/team/team.model.js index f4a77f2..7c34e20 100644 --- a/server/api/team/team.model.js +++ b/server/api/team/team.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xf044=['exports','Team','teams','util','../../config/logger','api','bluebird','../../config/environment','./team.attributes'];(function(_0x502c7d,_0x2f1285){var _0x30b7ed=function(_0x2d92f3){while(--_0x2d92f3){_0x502c7d['push'](_0x502c7d['shift']());}};_0x30b7ed(++_0x2f1285);}(_0xf044,0x108));var _0x4f04=function(_0x39568e,_0x24bb88){_0x39568e=_0x39568e-0x0;var _0xc6ef06=_0xf044[_0x39568e];return _0xc6ef06;};'use strict';var _=require('lodash');var util=require(_0x4f04('0x0'));var logger=require(_0x4f04('0x1'))(_0x4f04('0x2'));var moment=require('moment');var BPromise=require(_0x4f04('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x4f04('0x4'));var attributes=require(_0x4f04('0x5'));module[_0x4f04('0x6')]=function(_0x5a8bab,_0x2d12c2){return _0x5a8bab['define'](_0x4f04('0x7'),attributes,{'tableName':_0x4f04('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0xbfe6=['request-promise','../../config/environment','./team.attributes','exports','teams','../../config/logger','api','moment','bluebird'];(function(_0x53ccf2,_0x13cb67){var _0x5a2964=function(_0x3b0514){while(--_0x3b0514){_0x53ccf2['push'](_0x53ccf2['shift']());}};_0x5a2964(++_0x13cb67);}(_0xbfe6,0x1a3));var _0x6bfe=function(_0xa72931,_0x37d87a){_0xa72931=_0xa72931-0x0;var _0x13b2f5=_0xbfe6[_0xa72931];return _0x13b2f5;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x6bfe('0x0'))(_0x6bfe('0x1'));var moment=require(_0x6bfe('0x2'));var BPromise=require(_0x6bfe('0x3'));var rp=require(_0x6bfe('0x4'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x6bfe('0x5'));var attributes=require(_0x6bfe('0x6'));module[_0x6bfe('0x7')]=function(_0x485d7c,_0x2fb164){return _0x485d7c['define']('Team',attributes,{'tableName':_0x6bfe('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/team/team.rpc.js b/server/api/team/team.rpc.js index 1ca2d33..c814cc5 100644 --- a/server/api/team/team.rpc.js +++ b/server/api/team/team.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x0cca=['../../config/logger','../../config/environment','client','http','redis','defaults','localhost','socket.io-emitter','./team.socket','register','then','info','Team,\x20%s,\x20%s','request\x20sent','debug','Team,\x20%s,\x20%s,\x20%s','stringify','error','code','message','result','lodash','util','moment','bluebird','randomstring','ioredis','../../config/utils'];(function(_0x598d3d,_0x2e0531){var _0x45d138=function(_0x15153b){while(--_0x15153b){_0x598d3d['push'](_0x598d3d['shift']());}};_0x45d138(++_0x2e0531);}(_0x0cca,0x1b9));var _0xa0cc=function(_0x17823f,_0xffd807){_0x17823f=_0x17823f-0x0;var _0x51fc21=_0x0cca[_0x17823f];return _0x51fc21;};'use strict';var _=require(_0xa0cc('0x0'));var util=require(_0xa0cc('0x1'));var moment=require(_0xa0cc('0x2'));var BPromise=require(_0xa0cc('0x3'));var rs=require(_0xa0cc('0x4'));var fs=require('fs');var Redis=require(_0xa0cc('0x5'));var db=require('../../mysqldb')['db'];var utils=require(_0xa0cc('0x6'));var logger=require(_0xa0cc('0x7'))('rpc');var config=require(_0xa0cc('0x8'));var jayson=require('jayson/promise');var client=jayson[_0xa0cc('0x9')][_0xa0cc('0xa')]({'port':0x232a});config[_0xa0cc('0xb')]=_[_0xa0cc('0xc')](config['redis'],{'host':_0xa0cc('0xd'),'port':0x18eb});var socket=require(_0xa0cc('0xe'))(new Redis(config[_0xa0cc('0xb')]));require(_0xa0cc('0xf'))[_0xa0cc('0x10')](socket);function respondWithRpcPromise(_0x17879f,_0xedbd88,_0x2bd59a){return new BPromise(function(_0x3bf7c7,_0x3aaf52){return client['request'](_0x17879f,_0x2bd59a)[_0xa0cc('0x11')](function(_0x486490){logger[_0xa0cc('0x12')](_0xa0cc('0x13'),_0xedbd88,_0xa0cc('0x14'));logger[_0xa0cc('0x15')](_0xa0cc('0x16'),_0xedbd88,'request\x20sent',JSON[_0xa0cc('0x17')](_0x486490));if(_0x486490[_0xa0cc('0x18')]){if(_0x486490['error'][_0xa0cc('0x19')]===0x1f4){logger[_0xa0cc('0x18')](_0xa0cc('0x13'),_0xedbd88,_0x486490[_0xa0cc('0x18')][_0xa0cc('0x1a')]);return _0x3aaf52(_0x486490['error'][_0xa0cc('0x1a')]);}logger[_0xa0cc('0x18')](_0xa0cc('0x13'),_0xedbd88,_0x486490['error'][_0xa0cc('0x1a')]);return _0x3bf7c7(_0x486490['error']['message']);}else{logger['info'](_0xa0cc('0x13'),_0xedbd88,_0xa0cc('0x14'));_0x3bf7c7(_0x486490[_0xa0cc('0x1b')][_0xa0cc('0x1a')]);}})['catch'](function(_0x265880){logger[_0xa0cc('0x18')](_0xa0cc('0x13'),_0xedbd88,_0x265880);_0x3aaf52(_0x265880);});});} \ No newline at end of file +var _0xad6d=['localhost','socket.io-emitter','./team.socket','register','info','request\x20sent','debug','Team,\x20%s,\x20%s,\x20%s','error','code','Team,\x20%s,\x20%s','message','result','catch','lodash','util','moment','bluebird','randomstring','ioredis','../../mysqldb','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','client','http','redis'];(function(_0x377a87,_0x2d17c1){var _0x429ae3=function(_0x12aebc){while(--_0x12aebc){_0x377a87['push'](_0x377a87['shift']());}};_0x429ae3(++_0x2d17c1);}(_0xad6d,0xbc));var _0xdad6=function(_0x1ce8b,_0x2c3baf){_0x1ce8b=_0x1ce8b-0x0;var _0x30a373=_0xad6d[_0x1ce8b];return _0x30a373;};'use strict';var _=require(_0xdad6('0x0'));var util=require(_0xdad6('0x1'));var moment=require(_0xdad6('0x2'));var BPromise=require(_0xdad6('0x3'));var rs=require(_0xdad6('0x4'));var fs=require('fs');var Redis=require(_0xdad6('0x5'));var db=require(_0xdad6('0x6'))['db'];var utils=require(_0xdad6('0x7'));var logger=require(_0xdad6('0x8'))(_0xdad6('0x9'));var config=require(_0xdad6('0xa'));var jayson=require(_0xdad6('0xb'));var client=jayson[_0xdad6('0xc')][_0xdad6('0xd')]({'port':0x232a});config[_0xdad6('0xe')]=_['defaults'](config[_0xdad6('0xe')],{'host':_0xdad6('0xf'),'port':0x18eb});var socket=require(_0xdad6('0x10'))(new Redis(config['redis']));require(_0xdad6('0x11'))[_0xdad6('0x12')](socket);function respondWithRpcPromise(_0x4c1290,_0x3c09ce,_0x23f504){return new BPromise(function(_0x6b60f8,_0x447bf6){return client['request'](_0x4c1290,_0x23f504)['then'](function(_0x4c4d45){logger[_0xdad6('0x13')]('Team,\x20%s,\x20%s',_0x3c09ce,_0xdad6('0x14'));logger[_0xdad6('0x15')](_0xdad6('0x16'),_0x3c09ce,_0xdad6('0x14'),JSON['stringify'](_0x4c4d45));if(_0x4c4d45[_0xdad6('0x17')]){if(_0x4c4d45['error'][_0xdad6('0x18')]===0x1f4){logger[_0xdad6('0x17')](_0xdad6('0x19'),_0x3c09ce,_0x4c4d45[_0xdad6('0x17')]['message']);return _0x447bf6(_0x4c4d45['error'][_0xdad6('0x1a')]);}logger[_0xdad6('0x17')](_0xdad6('0x19'),_0x3c09ce,_0x4c4d45[_0xdad6('0x17')][_0xdad6('0x1a')]);return _0x6b60f8(_0x4c4d45[_0xdad6('0x17')][_0xdad6('0x1a')]);}else{logger[_0xdad6('0x13')](_0xdad6('0x19'),_0x3c09ce,_0xdad6('0x14'));_0x6b60f8(_0x4c4d45[_0xdad6('0x1b')]['message']);}})[_0xdad6('0x1c')](function(_0x3b9380){logger[_0xdad6('0x17')](_0xdad6('0x19'),_0x3c09ce,_0x3b9380);_0x447bf6(_0x3b9380);});});} \ No newline at end of file diff --git a/server/api/team/team.socket.js b/server/api/team/team.socket.js index 9365a22..8764c61 100644 --- a/server/api/team/team.socket.js +++ b/server/api/team/team.socket.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xe635=['remove','update','removeListener','register','length','team:','./team.events','save'];(function(_0x381bff,_0x19d01f){var _0x201ab1=function(_0x7d6446){while(--_0x7d6446){_0x381bff['push'](_0x381bff['shift']());}};_0x201ab1(++_0x19d01f);}(_0xe635,0x1be));var _0x5e63=function(_0x37ea8c,_0x2b664c){_0x37ea8c=_0x37ea8c-0x0;var _0x1346e9=_0xe635[_0x37ea8c];return _0x1346e9;};'use strict';var TeamEvents=require(_0x5e63('0x0'));var events=[_0x5e63('0x1'),_0x5e63('0x2'),_0x5e63('0x3')];function createListener(_0xc35905,_0x3fb6a6){return function(_0x22e206){_0x3fb6a6['emit'](_0xc35905,_0x22e206);};}function removeListener(_0x56a8b5,_0x352338){return function(){TeamEvents[_0x5e63('0x4')](_0x56a8b5,_0x352338);};}exports[_0x5e63('0x5')]=function(_0x41fdd1){for(var _0x2d48ac=0x0,_0x2d15fb=events[_0x5e63('0x6')];_0x2d48ac<_0x2d15fb;_0x2d48ac++){var _0xa99472=events[_0x2d48ac];var _0xaac91f=createListener(_0x5e63('0x7')+_0xa99472,_0x41fdd1);TeamEvents['on'](_0xa99472,_0xaac91f);}}; \ No newline at end of file +var _0x0ef4=['removeListener','length','team:','save','remove','update','emit'];(function(_0x4cf98e,_0xba4b79){var _0x1623ac=function(_0x459bc0){while(--_0x459bc0){_0x4cf98e['push'](_0x4cf98e['shift']());}};_0x1623ac(++_0xba4b79);}(_0x0ef4,0xc7));var _0x40ef=function(_0x4ed4d2,_0x47acf7){_0x4ed4d2=_0x4ed4d2-0x0;var _0x15ae2e=_0x0ef4[_0x4ed4d2];return _0x15ae2e;};'use strict';var TeamEvents=require('./team.events');var events=[_0x40ef('0x0'),_0x40ef('0x1'),_0x40ef('0x2')];function createListener(_0x51ab4d,_0x5dbe16){return function(_0x2890f7){_0x5dbe16[_0x40ef('0x3')](_0x51ab4d,_0x2890f7);};}function removeListener(_0x85ee1d,_0x4a5798){return function(){TeamEvents[_0x40ef('0x4')](_0x85ee1d,_0x4a5798);};}exports['register']=function(_0x59af1f){for(var _0x28c1e7=0x0,_0x3dba6e=events[_0x40ef('0x5')];_0x28c1e7<_0x3dba6e;_0x28c1e7++){var _0x7d0e82=events[_0x28c1e7];var _0x439a37=createListener(_0x40ef('0x6')+_0x7d0e82,_0x59af1f);TeamEvents['on'](_0x7d0e82,_0x439a37);}}; \ No newline at end of file diff --git a/server/api/template/index.js b/server/api/template/index.js index d92ce96..158da9e 100644 --- a/server/api/template/index.js +++ b/server/api/template/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x8807=['create','put','update','destroy','exports','multer','util','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./template.controller','get','isAuthenticated','/:id'];(function(_0x2e0afa,_0x3d6b68){var _0x4a9c15=function(_0x1bec02){while(--_0x1bec02){_0x2e0afa['push'](_0x2e0afa['shift']());}};_0x4a9c15(++_0x3d6b68);}(_0x8807,0x16a));var _0x7880=function(_0x3874ab,_0x1e2dec){_0x3874ab=_0x3874ab-0x0;var _0x3b90e8=_0x8807[_0x3874ab];return _0x3b90e8;};'use strict';var multer=require(_0x7880('0x0'));var util=require(_0x7880('0x1'));var path=require(_0x7880('0x2'));var timeout=require(_0x7880('0x3'));var express=require(_0x7880('0x4'));var router=express['Router']();var auth=require(_0x7880('0x5'));var interaction=require(_0x7880('0x6'));var config=require(_0x7880('0x7'));var controller=require(_0x7880('0x8'));router[_0x7880('0x9')]('/',auth[_0x7880('0xa')](),controller['index']);router['get'](_0x7880('0xb'),auth[_0x7880('0xa')](),controller['show']);router['post']('/',auth[_0x7880('0xa')](),controller[_0x7880('0xc')]);router[_0x7880('0xd')](_0x7880('0xb'),auth[_0x7880('0xa')](),controller[_0x7880('0xe')]);router['delete']('/:id',auth['isAuthenticated'](),controller[_0x7880('0xf')]);module[_0x7880('0x10')]=router; \ No newline at end of file +var _0x3498=['post','delete','/:id','exports','multer','util','path','connect-timeout','express','../../components/interaction/service','../../config/environment','./template.controller','get','isAuthenticated','index','show'];(function(_0x3ab51d,_0x2fa01d){var _0x29a04e=function(_0x7807b0){while(--_0x7807b0){_0x3ab51d['push'](_0x3ab51d['shift']());}};_0x29a04e(++_0x2fa01d);}(_0x3498,0x94));var _0x8349=function(_0x2fc158,_0x1dcafc){_0x2fc158=_0x2fc158-0x0;var _0xbbdcd3=_0x3498[_0x2fc158];return _0xbbdcd3;};'use strict';var multer=require(_0x8349('0x0'));var util=require(_0x8349('0x1'));var path=require(_0x8349('0x2'));var timeout=require(_0x8349('0x3'));var express=require(_0x8349('0x4'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require(_0x8349('0x5'));var config=require(_0x8349('0x6'));var controller=require(_0x8349('0x7'));router[_0x8349('0x8')]('/',auth[_0x8349('0x9')](),controller[_0x8349('0xa')]);router[_0x8349('0x8')]('/:id',auth[_0x8349('0x9')](),controller[_0x8349('0xb')]);router[_0x8349('0xc')]('/',auth[_0x8349('0x9')](),controller['create']);router['put']('/:id',auth['isAuthenticated'](),controller['update']);router[_0x8349('0xd')](_0x8349('0xe'),auth['isAuthenticated'](),controller['destroy']);module[_0x8349('0xf')]=router; \ No newline at end of file diff --git a/server/api/template/template.attributes.js b/server/api/template/template.attributes.js index 7a275f3..efed833 100644 --- a/server/api/template/template.attributes.js +++ b/server/api/template/template.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x7152=['exports','STRING','TEXT'];(function(_0x239237,_0x4acbdd){var _0x5e3813=function(_0x5d3f80){while(--_0x5d3f80){_0x239237['push'](_0x239237['shift']());}};_0x5e3813(++_0x4acbdd);}(_0x7152,0x114));var _0x2715=function(_0x225c0c,_0x5071b1){_0x225c0c=_0x225c0c-0x0;var _0x7d45e6=_0x7152[_0x225c0c];return _0x7d45e6;};'use strict';var Sequelize=require('sequelize');module[_0x2715('0x0')]={'name':{'type':Sequelize[_0x2715('0x1')]},'description':{'type':Sequelize['STRING']},'html':{'type':Sequelize[_0x2715('0x2')]}}; \ No newline at end of file +var _0xbedd=['STRING','TEXT','exports'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0xbedd,0x83));var _0xdbed=function(_0x28c608,_0x432ee1){_0x28c608=_0x28c608-0x0;var _0x3ace3e=_0xbedd[_0x28c608];return _0x3ace3e;};'use strict';var Sequelize=require('sequelize');module[_0xdbed('0x0')]={'name':{'type':Sequelize[_0xdbed('0x1')]},'description':{'type':Sequelize[_0xdbed('0x1')]},'html':{'type':Sequelize[_0xdbed('0x2')]}}; \ No newline at end of file diff --git a/server/api/template/template.controller.js b/server/api/template/template.controller.js index d77d653..8f527ea 100644 --- a/server/api/template/template.controller.js +++ b/server/api/template/template.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x68c5=['find','userProfileId','autoAssociation','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','moment','bluebird','mustache','util','to-csv','ejs','squel','crypto','jsforce','desk.js','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','../../config/utils','../../mysqldb','sendStatus','status','end','json','count','offset','limit','set','apply','reject','save','then','destroy','get','Templates','UserProfileResource','error','stack','name','send','index','Template','rawAttributes','fieldName','type','key','model','map','query','keys','filters','attributes','intersection','fields','hasOwnProperty','nolimit','order','sort','where','filter','VIRTUAL','merge','options','includeAll','include','catch','show','params','length','create','body','user','Unable\x20to\x20retrieve\x20the\x20current\x20user','role','UserProfileSection'];(function(_0x3c9c2a,_0x38b44c){var _0x478074=function(_0x16ffa8){while(--_0x16ffa8){_0x3c9c2a['push'](_0x3c9c2a['shift']());}};_0x478074(++_0x38b44c);}(_0x68c5,0x1a3));var _0x568c=function(_0x17d9e3,_0x1f969c){_0x17d9e3=_0x17d9e3-0x0;var _0x14192d=_0x68c5[_0x17d9e3];return _0x14192d;};'use strict';var pdf=require(_0x568c('0x0'));var emlformat=require(_0x568c('0x1'));var rimraf=require(_0x568c('0x2'));var zipdir=require(_0x568c('0x3'));var jsonpatch=require(_0x568c('0x4'));var rp=require('request-promise');var moment=require(_0x568c('0x5'));var BPromise=require(_0x568c('0x6'));var Mustache=require(_0x568c('0x7'));var util=require(_0x568c('0x8'));var path=require('path');var sox=require('sox');var csv=require(_0x568c('0x9'));var ejs=require(_0x568c('0xa'));var fs=require('fs');var _=require('lodash');var squel=require(_0x568c('0xb'));var crypto=require(_0x568c('0xc'));var jsforce=require(_0x568c('0xd'));var deskjs=require(_0x568c('0xe'));var toCsv=require(_0x568c('0x9'));var querystring=require('querystring');var Papa=require(_0x568c('0xf'));var Redis=require(_0x568c('0x10'));var authService=require(_0x568c('0x11'));var qs=require(_0x568c('0x12'));var as=require(_0x568c('0x13'));var hardwareService=require(_0x568c('0x14'));var logger=require(_0x568c('0x15'))('api');var utils=require(_0x568c('0x16'));var config=require('../../config/environment');var db=require(_0x568c('0x17'))['db'];function respondWithStatusCode(_0xa1938e,_0x41f834){_0x41f834=_0x41f834||0xcc;return function(_0x1f2d02){if(_0x1f2d02){return _0xa1938e[_0x568c('0x18')](_0x41f834);}return _0xa1938e[_0x568c('0x19')](_0x41f834)[_0x568c('0x1a')]();};}function respondWithResult(_0x1099ec,_0x196cf1){_0x196cf1=_0x196cf1||0xc8;return function(_0x44ee7d){if(_0x44ee7d){return _0x1099ec[_0x568c('0x19')](_0x196cf1)[_0x568c('0x1b')](_0x44ee7d);}};}function respondWithFilteredResult(_0x23b1d6,_0x1dee2c){return function(_0xd02ac8){if(_0xd02ac8){var _0x23243d=_0xd02ac8[_0x568c('0x1c')],_0x3d0fa6=_0x1dee2c[_0x568c('0x1d')],_0x36d681=_0x1dee2c['offset']+_0x1dee2c[_0x568c('0x1e')],_0x5f5d8d;if(_0x36d681>=_0x23243d){_0x36d681=_0x23243d;_0x5f5d8d=0xc8;}else{_0x5f5d8d=0xce;}_0x23b1d6[_0x568c('0x19')](_0x5f5d8d);return _0x23b1d6[_0x568c('0x1f')]('Content-Range',_0x3d0fa6+'-'+_0x36d681+'/'+_0x23243d)['json'](_0xd02ac8);}return null;};}function patchUpdates(_0x3e99e8){return function(_0x54550b){try{jsonpatch[_0x568c('0x20')](_0x54550b,_0x3e99e8,!![]);}catch(_0xac509e){return BPromise[_0x568c('0x21')](_0xac509e);}return _0x54550b[_0x568c('0x22')]();};}function saveUpdates(_0x3ce2eb,_0x5148fc){return function(_0x4431c5){if(_0x4431c5){return _0x4431c5['update'](_0x3ce2eb)[_0x568c('0x23')](function(_0xfd78d5){return _0xfd78d5;});}return null;};}function removeEntity(_0x2189b4,_0x24410f){return function(_0x5c9b06){if(_0x5c9b06){return _0x5c9b06[_0x568c('0x24')]()[_0x568c('0x23')](function(){var _0x5b8a9c=_0x5c9b06[_0x568c('0x25')]({'plain':!![]});var _0xbd554e=_0x568c('0x26');return db[_0x568c('0x27')][_0x568c('0x24')]({'where':{'type':_0xbd554e,'resourceId':_0x5b8a9c['id']}})[_0x568c('0x23')](function(){return _0x5c9b06;});})[_0x568c('0x23')](function(){_0x2189b4[_0x568c('0x19')](0xcc)['end']();});}};}function handleEntityNotFound(_0x5a690e,_0x103056){return function(_0x163b3b){if(!_0x163b3b){_0x5a690e[_0x568c('0x18')](0x194);}return _0x163b3b;};}function handleError(_0x28a112,_0xd0718e){_0xd0718e=_0xd0718e||0x1f4;return function(_0x4202bc){logger[_0x568c('0x28')](_0x4202bc[_0x568c('0x29')]);if(_0x4202bc['name']){delete _0x4202bc[_0x568c('0x2a')];}_0x28a112[_0x568c('0x19')](_0xd0718e)[_0x568c('0x2b')](_0x4202bc);};}exports[_0x568c('0x2c')]=function(_0x714ee6,_0x22940f){var _0x115b0f={},_0x2c7ca4={},_0x5819de={'count':0x0,'rows':[]};var _0x4f29ab=_['map'](db[_0x568c('0x2d')][_0x568c('0x2e')],function(_0x55ca6a){return{'name':_0x55ca6a[_0x568c('0x2f')],'type':_0x55ca6a[_0x568c('0x30')][_0x568c('0x31')]};});_0x2c7ca4[_0x568c('0x32')]=_[_0x568c('0x33')](_0x4f29ab,_0x568c('0x2a'));_0x2c7ca4[_0x568c('0x34')]=_[_0x568c('0x35')](_0x714ee6[_0x568c('0x34')]);_0x2c7ca4[_0x568c('0x36')]=_['intersection'](_0x2c7ca4[_0x568c('0x32')],_0x2c7ca4[_0x568c('0x34')]);_0x115b0f[_0x568c('0x37')]=_[_0x568c('0x38')](_0x2c7ca4[_0x568c('0x32')],qs[_0x568c('0x39')](_0x714ee6[_0x568c('0x34')][_0x568c('0x39')]));_0x115b0f[_0x568c('0x37')]=_0x115b0f[_0x568c('0x37')]['length']?_0x115b0f[_0x568c('0x37')]:_0x2c7ca4['model'];if(!_0x714ee6['query'][_0x568c('0x3a')](_0x568c('0x3b'))){_0x115b0f[_0x568c('0x1e')]=qs[_0x568c('0x1e')](_0x714ee6['query']['limit']);_0x115b0f[_0x568c('0x1d')]=qs[_0x568c('0x1d')](_0x714ee6[_0x568c('0x34')][_0x568c('0x1d')]);}_0x115b0f[_0x568c('0x3c')]=qs[_0x568c('0x3d')](_0x714ee6['query'][_0x568c('0x3d')]);_0x115b0f[_0x568c('0x3e')]=qs[_0x568c('0x36')](_['pick'](_0x714ee6[_0x568c('0x34')],_0x2c7ca4[_0x568c('0x36')]),_0x4f29ab);if(_0x714ee6['query'][_0x568c('0x3f')]){_0x115b0f[_0x568c('0x3e')]=_['merge'](_0x115b0f[_0x568c('0x3e')],{'$or':_[_0x568c('0x33')](_0x4f29ab,function(_0x520e2b){if(_0x520e2b[_0x568c('0x30')]!==_0x568c('0x40')){var _0x5d2f4c={};_0x5d2f4c[_0x520e2b[_0x568c('0x2a')]]={'$like':'%'+_0x714ee6['query'][_0x568c('0x3f')]+'%'};return _0x5d2f4c;}})});}_0x115b0f=_[_0x568c('0x41')]({},_0x115b0f,_0x714ee6[_0x568c('0x42')]);var _0x172f5e={'where':_0x115b0f[_0x568c('0x3e')]};return db['Template']['count'](_0x172f5e)[_0x568c('0x23')](function(_0x35544f){_0x5819de[_0x568c('0x1c')]=_0x35544f;if(_0x714ee6[_0x568c('0x34')][_0x568c('0x43')]){_0x115b0f[_0x568c('0x44')]=[{'all':!![]}];}return db['Template']['findAll'](_0x115b0f);})['then'](function(_0x56f5ff){_0x5819de['rows']=_0x56f5ff;return _0x5819de;})[_0x568c('0x23')](respondWithFilteredResult(_0x22940f,_0x115b0f))[_0x568c('0x45')](handleError(_0x22940f,null));};exports[_0x568c('0x46')]=function(_0x4748ce,_0x3fabdf){var _0x3238ef={'raw':!![],'where':{'id':_0x4748ce[_0x568c('0x47')]['id']}},_0x2af3fb={};_0x2af3fb[_0x568c('0x32')]=_['keys'](db[_0x568c('0x2d')][_0x568c('0x2e')]);_0x2af3fb['query']=_[_0x568c('0x35')](_0x4748ce[_0x568c('0x34')]);_0x2af3fb[_0x568c('0x36')]=_[_0x568c('0x38')](_0x2af3fb[_0x568c('0x32')],_0x2af3fb[_0x568c('0x34')]);_0x3238ef['attributes']=_[_0x568c('0x38')](_0x2af3fb[_0x568c('0x32')],qs[_0x568c('0x39')](_0x4748ce['query'][_0x568c('0x39')]));_0x3238ef[_0x568c('0x37')]=_0x3238ef[_0x568c('0x37')][_0x568c('0x48')]?_0x3238ef[_0x568c('0x37')]:_0x2af3fb[_0x568c('0x32')];if(_0x4748ce['query'][_0x568c('0x43')]){_0x3238ef[_0x568c('0x44')]=[{'all':!![]}];}_0x3238ef=_['merge']({},_0x3238ef,_0x4748ce[_0x568c('0x42')]);return db[_0x568c('0x2d')]['find'](_0x3238ef)['then'](handleEntityNotFound(_0x3fabdf,null))[_0x568c('0x23')](respondWithResult(_0x3fabdf,null))['catch'](handleError(_0x3fabdf,null));};exports[_0x568c('0x49')]=function(_0x45f8e8,_0x507565){return db['Template'][_0x568c('0x49')](_0x45f8e8[_0x568c('0x4a')],{})[_0x568c('0x23')](function(_0x22aeb3){var _0x31deed=_0x45f8e8[_0x568c('0x4b')][_0x568c('0x25')]({'plain':!![]});if(!_0x31deed)throw new Error(_0x568c('0x4c'));if(_0x31deed[_0x568c('0x4d')]===_0x568c('0x4b')){var _0x226e03=_0x22aeb3[_0x568c('0x25')]({'plain':!![]});var _0x3c17bc=_0x568c('0x26');return db[_0x568c('0x4e')][_0x568c('0x4f')]({'where':{'name':_0x3c17bc,'userProfileId':_0x31deed[_0x568c('0x50')]},'raw':!![]})['then'](function(_0x371e7b){if(_0x371e7b&&_0x371e7b[_0x568c('0x51')]===0x0){return db[_0x568c('0x27')][_0x568c('0x49')]({'name':_0x226e03[_0x568c('0x2a')],'resourceId':_0x226e03['id'],'type':_0x371e7b[_0x568c('0x2a')],'sectionId':_0x371e7b['id']},{})['then'](function(){return _0x22aeb3;});}else{return _0x22aeb3;}})[_0x568c('0x45')](function(_0x153434){logger[_0x568c('0x28')](_0x568c('0x52'),_0x153434);throw _0x153434;});}return _0x22aeb3;})[_0x568c('0x23')](respondWithResult(_0x507565,0xc9))[_0x568c('0x45')](handleError(_0x507565,null));};exports['update']=function(_0x33d0f8,_0x14c438){if(_0x33d0f8['body']['id']){delete _0x33d0f8['body']['id'];}return db['Template'][_0x568c('0x4f')]({'where':{'id':_0x33d0f8[_0x568c('0x47')]['id']}})[_0x568c('0x23')](handleEntityNotFound(_0x14c438,null))[_0x568c('0x23')](saveUpdates(_0x33d0f8[_0x568c('0x4a')],null))['then'](respondWithResult(_0x14c438,null))[_0x568c('0x45')](handleError(_0x14c438,null));};exports[_0x568c('0x24')]=function(_0x5626ff,_0x2646f0){return db[_0x568c('0x2d')][_0x568c('0x4f')]({'where':{'id':_0x5626ff['params']['id']}})['then'](handleEntityNotFound(_0x2646f0,null))['then'](removeEntity(_0x2646f0,null))[_0x568c('0x45')](handleError(_0x2646f0,null));}; \ No newline at end of file +var _0x634a=['papaparse','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/utils','../../config/environment','../../mysqldb','sendStatus','status','end','json','count','offset','limit','Content-Range','apply','reject','save','update','destroy','get','Templates','UserProfileResource','then','error','stack','name','index','map','Template','fieldName','type','key','query','keys','intersection','model','fields','attributes','length','hasOwnProperty','nolimit','order','sort','where','filters','pick','filter','VIRTUAL','merge','options','include','catch','show','params','includeAll','find','create','body','user','Unable\x20to\x20retrieve\x20the\x20current\x20user','role','userProfileId','autoAssociation','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','path','sox','to-csv','ejs','lodash','squel','crypto','desk.js'];(function(_0x47408e,_0x481428){var _0x1636bc=function(_0x2fe7a6){while(--_0x2fe7a6){_0x47408e['push'](_0x47408e['shift']());}};_0x1636bc(++_0x481428);}(_0x634a,0xe0));var _0xa634=function(_0x58baf1,_0x5724bb){_0x58baf1=_0x58baf1-0x0;var _0x2605b0=_0x634a[_0x58baf1];return _0x2605b0;};'use strict';var pdf=require(_0xa634('0x0'));var emlformat=require(_0xa634('0x1'));var rimraf=require(_0xa634('0x2'));var zipdir=require(_0xa634('0x3'));var jsonpatch=require(_0xa634('0x4'));var rp=require(_0xa634('0x5'));var moment=require(_0xa634('0x6'));var BPromise=require(_0xa634('0x7'));var Mustache=require('mustache');var util=require('util');var path=require(_0xa634('0x8'));var sox=require(_0xa634('0x9'));var csv=require(_0xa634('0xa'));var ejs=require(_0xa634('0xb'));var fs=require('fs');var _=require(_0xa634('0xc'));var squel=require(_0xa634('0xd'));var crypto=require(_0xa634('0xe'));var jsforce=require('jsforce');var deskjs=require(_0xa634('0xf'));var toCsv=require('to-csv');var querystring=require('querystring');var Papa=require(_0xa634('0x10'));var Redis=require('ioredis');var authService=require(_0xa634('0x11'));var qs=require(_0xa634('0x12'));var as=require(_0xa634('0x13'));var hardwareService=require('../../config/license/hardware');var logger=require('../../config/logger')('api');var utils=require(_0xa634('0x14'));var config=require(_0xa634('0x15'));var db=require(_0xa634('0x16'))['db'];function respondWithStatusCode(_0x38e983,_0x30e05b){_0x30e05b=_0x30e05b||0xcc;return function(_0x32d11f){if(_0x32d11f){return _0x38e983[_0xa634('0x17')](_0x30e05b);}return _0x38e983[_0xa634('0x18')](_0x30e05b)[_0xa634('0x19')]();};}function respondWithResult(_0x58ec05,_0x510166){_0x510166=_0x510166||0xc8;return function(_0x546c0d){if(_0x546c0d){return _0x58ec05[_0xa634('0x18')](_0x510166)[_0xa634('0x1a')](_0x546c0d);}};}function respondWithFilteredResult(_0x56575b,_0x101ec9){return function(_0x21b3bf){if(_0x21b3bf){var _0x157281=_0x21b3bf[_0xa634('0x1b')],_0x38e17a=_0x101ec9['offset'],_0x31cb1b=_0x101ec9[_0xa634('0x1c')]+_0x101ec9[_0xa634('0x1d')],_0x573168;if(_0x31cb1b>=_0x157281){_0x31cb1b=_0x157281;_0x573168=0xc8;}else{_0x573168=0xce;}_0x56575b[_0xa634('0x18')](_0x573168);return _0x56575b['set'](_0xa634('0x1e'),_0x38e17a+'-'+_0x31cb1b+'/'+_0x157281)[_0xa634('0x1a')](_0x21b3bf);}return null;};}function patchUpdates(_0x2771c6){return function(_0x11ab9b){try{jsonpatch[_0xa634('0x1f')](_0x11ab9b,_0x2771c6,!![]);}catch(_0x3e2338){return BPromise[_0xa634('0x20')](_0x3e2338);}return _0x11ab9b[_0xa634('0x21')]();};}function saveUpdates(_0x5469df,_0x1981fb){return function(_0x315537){if(_0x315537){return _0x315537[_0xa634('0x22')](_0x5469df)['then'](function(_0x1dab99){return _0x1dab99;});}return null;};}function removeEntity(_0x3103d6,_0x217157){return function(_0x3ad5f4){if(_0x3ad5f4){return _0x3ad5f4[_0xa634('0x23')]()['then'](function(){var _0xc37a52=_0x3ad5f4[_0xa634('0x24')]({'plain':!![]});var _0x5c41b2=_0xa634('0x25');return db[_0xa634('0x26')][_0xa634('0x23')]({'where':{'type':_0x5c41b2,'resourceId':_0xc37a52['id']}})[_0xa634('0x27')](function(){return _0x3ad5f4;});})[_0xa634('0x27')](function(){_0x3103d6[_0xa634('0x18')](0xcc)[_0xa634('0x19')]();});}};}function handleEntityNotFound(_0x44ce31,_0x52c581){return function(_0x4ee0b7){if(!_0x4ee0b7){_0x44ce31['sendStatus'](0x194);}return _0x4ee0b7;};}function handleError(_0x7d288a,_0x41ae77){_0x41ae77=_0x41ae77||0x1f4;return function(_0x11a47a){logger[_0xa634('0x28')](_0x11a47a[_0xa634('0x29')]);if(_0x11a47a['name']){delete _0x11a47a[_0xa634('0x2a')];}_0x7d288a[_0xa634('0x18')](_0x41ae77)['send'](_0x11a47a);};}exports[_0xa634('0x2b')]=function(_0xa19322,_0x494dc8){var _0x1631eb={},_0x238889={},_0x42e82f={'count':0x0,'rows':[]};var _0xa9d9e1=_[_0xa634('0x2c')](db[_0xa634('0x2d')]['rawAttributes'],function(_0x5d4ca5){return{'name':_0x5d4ca5[_0xa634('0x2e')],'type':_0x5d4ca5[_0xa634('0x2f')][_0xa634('0x30')]};});_0x238889['model']=_[_0xa634('0x2c')](_0xa9d9e1,_0xa634('0x2a'));_0x238889[_0xa634('0x31')]=_[_0xa634('0x32')](_0xa19322['query']);_0x238889['filters']=_[_0xa634('0x33')](_0x238889[_0xa634('0x34')],_0x238889[_0xa634('0x31')]);_0x1631eb['attributes']=_[_0xa634('0x33')](_0x238889['model'],qs[_0xa634('0x35')](_0xa19322['query'][_0xa634('0x35')]));_0x1631eb[_0xa634('0x36')]=_0x1631eb[_0xa634('0x36')][_0xa634('0x37')]?_0x1631eb[_0xa634('0x36')]:_0x238889['model'];if(!_0xa19322[_0xa634('0x31')][_0xa634('0x38')](_0xa634('0x39'))){_0x1631eb[_0xa634('0x1d')]=qs[_0xa634('0x1d')](_0xa19322[_0xa634('0x31')]['limit']);_0x1631eb['offset']=qs[_0xa634('0x1c')](_0xa19322['query'][_0xa634('0x1c')]);}_0x1631eb[_0xa634('0x3a')]=qs[_0xa634('0x3b')](_0xa19322[_0xa634('0x31')][_0xa634('0x3b')]);_0x1631eb[_0xa634('0x3c')]=qs[_0xa634('0x3d')](_[_0xa634('0x3e')](_0xa19322[_0xa634('0x31')],_0x238889[_0xa634('0x3d')]),_0xa9d9e1);if(_0xa19322[_0xa634('0x31')][_0xa634('0x3f')]){_0x1631eb[_0xa634('0x3c')]=_['merge'](_0x1631eb[_0xa634('0x3c')],{'$or':_[_0xa634('0x2c')](_0xa9d9e1,function(_0x244de1){if(_0x244de1['type']!==_0xa634('0x40')){var _0x2043e9={};_0x2043e9[_0x244de1[_0xa634('0x2a')]]={'$like':'%'+_0xa19322['query'][_0xa634('0x3f')]+'%'};return _0x2043e9;}})});}_0x1631eb=_[_0xa634('0x41')]({},_0x1631eb,_0xa19322[_0xa634('0x42')]);var _0x16319c={'where':_0x1631eb[_0xa634('0x3c')]};return db['Template'][_0xa634('0x1b')](_0x16319c)[_0xa634('0x27')](function(_0x3a0d15){_0x42e82f[_0xa634('0x1b')]=_0x3a0d15;if(_0xa19322[_0xa634('0x31')]['includeAll']){_0x1631eb[_0xa634('0x43')]=[{'all':!![]}];}return db[_0xa634('0x2d')]['findAll'](_0x1631eb);})[_0xa634('0x27')](function(_0x2c0f16){_0x42e82f['rows']=_0x2c0f16;return _0x42e82f;})[_0xa634('0x27')](respondWithFilteredResult(_0x494dc8,_0x1631eb))[_0xa634('0x44')](handleError(_0x494dc8,null));};exports[_0xa634('0x45')]=function(_0x215fa8,_0x4d2533){var _0x41413a={'raw':!![],'where':{'id':_0x215fa8[_0xa634('0x46')]['id']}},_0x2aabe6={};_0x2aabe6[_0xa634('0x34')]=_['keys'](db[_0xa634('0x2d')]['rawAttributes']);_0x2aabe6['query']=_[_0xa634('0x32')](_0x215fa8['query']);_0x2aabe6[_0xa634('0x3d')]=_[_0xa634('0x33')](_0x2aabe6[_0xa634('0x34')],_0x2aabe6[_0xa634('0x31')]);_0x41413a[_0xa634('0x36')]=_[_0xa634('0x33')](_0x2aabe6[_0xa634('0x34')],qs['fields'](_0x215fa8[_0xa634('0x31')][_0xa634('0x35')]));_0x41413a['attributes']=_0x41413a[_0xa634('0x36')][_0xa634('0x37')]?_0x41413a['attributes']:_0x2aabe6[_0xa634('0x34')];if(_0x215fa8[_0xa634('0x31')][_0xa634('0x47')]){_0x41413a[_0xa634('0x43')]=[{'all':!![]}];}_0x41413a=_[_0xa634('0x41')]({},_0x41413a,_0x215fa8[_0xa634('0x42')]);return db['Template'][_0xa634('0x48')](_0x41413a)[_0xa634('0x27')](handleEntityNotFound(_0x4d2533,null))[_0xa634('0x27')](respondWithResult(_0x4d2533,null))['catch'](handleError(_0x4d2533,null));};exports['create']=function(_0x1df17c,_0x1d1993){return db[_0xa634('0x2d')][_0xa634('0x49')](_0x1df17c[_0xa634('0x4a')],{})['then'](function(_0x573b4a){var _0x57bf2d=_0x1df17c[_0xa634('0x4b')][_0xa634('0x24')]({'plain':!![]});if(!_0x57bf2d)throw new Error(_0xa634('0x4c'));if(_0x57bf2d[_0xa634('0x4d')]===_0xa634('0x4b')){var _0x27a66d=_0x573b4a[_0xa634('0x24')]({'plain':!![]});var _0x5784f0=_0xa634('0x25');return db['UserProfileSection'][_0xa634('0x48')]({'where':{'name':_0x5784f0,'userProfileId':_0x57bf2d[_0xa634('0x4e')]},'raw':!![]})[_0xa634('0x27')](function(_0x142f19){if(_0x142f19&&_0x142f19[_0xa634('0x4f')]===0x0){return db[_0xa634('0x26')][_0xa634('0x49')]({'name':_0x27a66d[_0xa634('0x2a')],'resourceId':_0x27a66d['id'],'type':_0x142f19[_0xa634('0x2a')],'sectionId':_0x142f19['id']},{})[_0xa634('0x27')](function(){return _0x573b4a;});}else{return _0x573b4a;}})[_0xa634('0x44')](function(_0x3b2144){logger[_0xa634('0x28')]('Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s',_0x3b2144);throw _0x3b2144;});}return _0x573b4a;})[_0xa634('0x27')](respondWithResult(_0x1d1993,0xc9))[_0xa634('0x44')](handleError(_0x1d1993,null));};exports[_0xa634('0x22')]=function(_0x3b7e77,_0x52756b){if(_0x3b7e77[_0xa634('0x4a')]['id']){delete _0x3b7e77[_0xa634('0x4a')]['id'];}return db[_0xa634('0x2d')][_0xa634('0x48')]({'where':{'id':_0x3b7e77[_0xa634('0x46')]['id']}})[_0xa634('0x27')](handleEntityNotFound(_0x52756b,null))[_0xa634('0x27')](saveUpdates(_0x3b7e77[_0xa634('0x4a')],null))[_0xa634('0x27')](respondWithResult(_0x52756b,null))[_0xa634('0x44')](handleError(_0x52756b,null));};exports[_0xa634('0x23')]=function(_0x4d51ae,_0x5b77e9){return db[_0xa634('0x2d')][_0xa634('0x48')]({'where':{'id':_0x4d51ae[_0xa634('0x46')]['id']}})[_0xa634('0x27')](handleEntityNotFound(_0x5b77e9,null))['then'](removeEntity(_0x5b77e9,null))[_0xa634('0x44')](handleError(_0x5b77e9,null));}; \ No newline at end of file diff --git a/server/api/template/template.model.js b/server/api/template/template.model.js index d38ca44..4aa986f 100644 --- a/server/api/template/template.model.js +++ b/server/api/template/template.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x8a7d=['define','tools_templates','api','moment','request-promise','path','../../config/environment','./template.attributes'];(function(_0x1818ce,_0xb524a5){var _0x2097ae=function(_0x18fe4c){while(--_0x18fe4c){_0x1818ce['push'](_0x1818ce['shift']());}};_0x2097ae(++_0xb524a5);}(_0x8a7d,0x72));var _0xd8a7=function(_0x20ca5b,_0x3cea3b){_0x20ca5b=_0x20ca5b-0x0;var _0x12208e=_0x8a7d[_0x20ca5b];return _0x12208e;};'use strict';var _=require('lodash');var util=require('util');var logger=require('../../config/logger')(_0xd8a7('0x0'));var moment=require(_0xd8a7('0x1'));var BPromise=require('bluebird');var rp=require(_0xd8a7('0x2'));var fs=require('fs');var path=require(_0xd8a7('0x3'));var rimraf=require('rimraf');var config=require(_0xd8a7('0x4'));var attributes=require(_0xd8a7('0x5'));module['exports']=function(_0x4f7dc1,_0x297825){return _0x4f7dc1[_0xd8a7('0x6')]('Template',attributes,{'tableName':_0xd8a7('0x7'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0xb293=['util','api','moment','bluebird','request-promise','path','../../config/environment','exports','define','tools_templates','lodash'];(function(_0x2341c6,_0x3af092){var _0x54c34d=function(_0x3091f9){while(--_0x3091f9){_0x2341c6['push'](_0x2341c6['shift']());}};_0x54c34d(++_0x3af092);}(_0xb293,0x133));var _0x3b29=function(_0x45bdae,_0x41eb62){_0x45bdae=_0x45bdae-0x0;var _0xcb8501=_0xb293[_0x45bdae];return _0xcb8501;};'use strict';var _=require(_0x3b29('0x0'));var util=require(_0x3b29('0x1'));var logger=require('../../config/logger')(_0x3b29('0x2'));var moment=require(_0x3b29('0x3'));var BPromise=require(_0x3b29('0x4'));var rp=require(_0x3b29('0x5'));var fs=require('fs');var path=require(_0x3b29('0x6'));var rimraf=require('rimraf');var config=require(_0x3b29('0x7'));var attributes=require('./template.attributes');module[_0x3b29('0x8')]=function(_0x39ddbc,_0x52dae2){return _0x39ddbc[_0x3b29('0x9')]('Template',attributes,{'tableName':_0x3b29('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/template/template.rpc.js b/server/api/template/template.rpc.js index 2773ca3..384e758 100644 --- a/server/api/template/template.rpc.js +++ b/server/api/template/template.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x7d42=['message','info','result','catch','GetTemplate','Template','findAll','options','raw','where','attributes','map','include','model','util','moment','bluebird','randomstring','ioredis','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','client','http','then','Template,\x20%s,\x20%s','request\x20sent','debug','Template,\x20%s,\x20%s,\x20%s','stringify','error','code'];(function(_0x5c351c,_0x2046d8){var _0x26f3b3=function(_0x47ac18){while(--_0x47ac18){_0x5c351c['push'](_0x5c351c['shift']());}};_0x26f3b3(++_0x2046d8);}(_0x7d42,0x1a6));var _0x27d4=function(_0x4e676e,_0x2a7c6d){_0x4e676e=_0x4e676e-0x0;var _0x336a3c=_0x7d42[_0x4e676e];return _0x336a3c;};'use strict';var _=require('lodash');var util=require(_0x27d4('0x0'));var moment=require(_0x27d4('0x1'));var BPromise=require(_0x27d4('0x2'));var rs=require(_0x27d4('0x3'));var fs=require('fs');var Redis=require(_0x27d4('0x4'));var db=require('../../mysqldb')['db'];var utils=require(_0x27d4('0x5'));var logger=require(_0x27d4('0x6'))(_0x27d4('0x7'));var config=require(_0x27d4('0x8'));var jayson=require(_0x27d4('0x9'));var client=jayson[_0x27d4('0xa')][_0x27d4('0xb')]({'port':0x232a});function respondWithRpcPromise(_0x50c430,_0x26c9e1,_0x46f077){return new BPromise(function(_0x14404d,_0x5ab53c){return client['request'](_0x50c430,_0x46f077)[_0x27d4('0xc')](function(_0x31f186){logger['info'](_0x27d4('0xd'),_0x26c9e1,_0x27d4('0xe'));logger[_0x27d4('0xf')](_0x27d4('0x10'),_0x26c9e1,_0x27d4('0xe'),JSON[_0x27d4('0x11')](_0x31f186));if(_0x31f186[_0x27d4('0x12')]){if(_0x31f186[_0x27d4('0x12')][_0x27d4('0x13')]===0x1f4){logger[_0x27d4('0x12')](_0x27d4('0xd'),_0x26c9e1,_0x31f186['error'][_0x27d4('0x14')]);return _0x5ab53c(_0x31f186[_0x27d4('0x12')]['message']);}logger[_0x27d4('0x12')](_0x27d4('0xd'),_0x26c9e1,_0x31f186[_0x27d4('0x12')][_0x27d4('0x14')]);return _0x14404d(_0x31f186[_0x27d4('0x12')][_0x27d4('0x14')]);}else{logger[_0x27d4('0x15')](_0x27d4('0xd'),_0x26c9e1,_0x27d4('0xe'));_0x14404d(_0x31f186[_0x27d4('0x16')][_0x27d4('0x14')]);}})[_0x27d4('0x17')](function(_0x46059d){logger[_0x27d4('0x12')](_0x27d4('0xd'),_0x26c9e1,_0x46059d);_0x5ab53c(_0x46059d);});});}exports[_0x27d4('0x18')]=function(_0x17579e){var _0x3cc335=this;return new Promise(function(_0x289c12,_0x4896b2){return db[_0x27d4('0x19')][_0x27d4('0x1a')]({'raw':_0x17579e['options']?_0x17579e[_0x27d4('0x1b')][_0x27d4('0x1c')]===undefined?!![]:![]:!![],'where':_0x17579e[_0x27d4('0x1b')]?_0x17579e[_0x27d4('0x1b')][_0x27d4('0x1d')]||null:null,'attributes':_0x17579e[_0x27d4('0x1b')]?_0x17579e[_0x27d4('0x1b')][_0x27d4('0x1e')]||null:null,'limit':_0x17579e[_0x27d4('0x1b')]?_0x17579e['options']['limit']||null:null,'include':_0x17579e['options']?_0x17579e[_0x27d4('0x1b')]['include']?_[_0x27d4('0x1f')](_0x17579e[_0x27d4('0x1b')][_0x27d4('0x20')],function(_0x5a9454){return{'model':db[_0x5a9454['model']],'as':_0x5a9454['as'],'attributes':_0x5a9454['attributes'],'include':_0x5a9454[_0x27d4('0x20')]?_['map'](_0x5a9454[_0x27d4('0x20')],function(_0x1d3c47){return{'model':db[_0x1d3c47[_0x27d4('0x21')]],'as':_0x1d3c47['as'],'attributes':_0x1d3c47[_0x27d4('0x1e')],'include':_0x1d3c47['include']?_['map'](_0x1d3c47['include'],function(_0x4179ec){return{'model':db[_0x4179ec[_0x27d4('0x21')]],'as':_0x4179ec['as'],'attributes':_0x4179ec[_0x27d4('0x1e')]};}):[]};}):[]};}):[]:[]})['then'](function(_0x3307bd){logger['info'](_0x27d4('0x18'),_0x17579e);logger['debug'](_0x27d4('0x18'),_0x17579e,JSON[_0x27d4('0x11')](_0x3307bd));_0x289c12(_0x3307bd);})[_0x27d4('0x17')](function(_0x465b0a){logger[_0x27d4('0x12')](_0x27d4('0x18'),_0x465b0a[_0x27d4('0x14')],_0x17579e);_0x4896b2(_0x3cc335[_0x27d4('0x12')](0x1f4,_0x465b0a['message']));});});}; \ No newline at end of file +var _0x9227=['request\x20sent','stringify','error','code','message','result','catch','Template','findAll','options','where','attributes','limit','map','include','model','GetTemplate','lodash','util','moment','bluebird','randomstring','ioredis','../../mysqldb','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','http','request','then','info','Template,\x20%s,\x20%s','debug'];(function(_0x15f85b,_0x55c760){var _0x451415=function(_0x26e707){while(--_0x26e707){_0x15f85b['push'](_0x15f85b['shift']());}};_0x451415(++_0x55c760);}(_0x9227,0x14c));var _0x7922=function(_0x5863fc,_0x3a5332){_0x5863fc=_0x5863fc-0x0;var _0x3542bd=_0x9227[_0x5863fc];return _0x3542bd;};'use strict';var _=require(_0x7922('0x0'));var util=require(_0x7922('0x1'));var moment=require(_0x7922('0x2'));var BPromise=require(_0x7922('0x3'));var rs=require(_0x7922('0x4'));var fs=require('fs');var Redis=require(_0x7922('0x5'));var db=require(_0x7922('0x6'))['db'];var utils=require(_0x7922('0x7'));var logger=require(_0x7922('0x8'))(_0x7922('0x9'));var config=require(_0x7922('0xa'));var jayson=require(_0x7922('0xb'));var client=jayson['client'][_0x7922('0xc')]({'port':0x232a});function respondWithRpcPromise(_0x383578,_0x1b97e0,_0x528d66){return new BPromise(function(_0x321ace,_0x2c39a9){return client[_0x7922('0xd')](_0x383578,_0x528d66)[_0x7922('0xe')](function(_0x5f53c8){logger[_0x7922('0xf')](_0x7922('0x10'),_0x1b97e0,'request\x20sent');logger[_0x7922('0x11')]('Template,\x20%s,\x20%s,\x20%s',_0x1b97e0,_0x7922('0x12'),JSON[_0x7922('0x13')](_0x5f53c8));if(_0x5f53c8[_0x7922('0x14')]){if(_0x5f53c8[_0x7922('0x14')][_0x7922('0x15')]===0x1f4){logger['error']('Template,\x20%s,\x20%s',_0x1b97e0,_0x5f53c8[_0x7922('0x14')][_0x7922('0x16')]);return _0x2c39a9(_0x5f53c8[_0x7922('0x14')][_0x7922('0x16')]);}logger[_0x7922('0x14')](_0x7922('0x10'),_0x1b97e0,_0x5f53c8['error']['message']);return _0x321ace(_0x5f53c8[_0x7922('0x14')][_0x7922('0x16')]);}else{logger[_0x7922('0xf')](_0x7922('0x10'),_0x1b97e0,_0x7922('0x12'));_0x321ace(_0x5f53c8[_0x7922('0x17')]['message']);}})[_0x7922('0x18')](function(_0x32677b){logger[_0x7922('0x14')](_0x7922('0x10'),_0x1b97e0,_0x32677b);_0x2c39a9(_0x32677b);});});}exports['GetTemplate']=function(_0x32c49a){var _0x104052=this;return new Promise(function(_0x240406,_0xe0e84e){return db[_0x7922('0x19')][_0x7922('0x1a')]({'raw':_0x32c49a['options']?_0x32c49a[_0x7922('0x1b')]['raw']===undefined?!![]:![]:!![],'where':_0x32c49a[_0x7922('0x1b')]?_0x32c49a[_0x7922('0x1b')][_0x7922('0x1c')]||null:null,'attributes':_0x32c49a[_0x7922('0x1b')]?_0x32c49a['options'][_0x7922('0x1d')]||null:null,'limit':_0x32c49a[_0x7922('0x1b')]?_0x32c49a['options'][_0x7922('0x1e')]||null:null,'include':_0x32c49a[_0x7922('0x1b')]?_0x32c49a[_0x7922('0x1b')]['include']?_[_0x7922('0x1f')](_0x32c49a[_0x7922('0x1b')][_0x7922('0x20')],function(_0x4e563b){return{'model':db[_0x4e563b[_0x7922('0x21')]],'as':_0x4e563b['as'],'attributes':_0x4e563b[_0x7922('0x1d')],'include':_0x4e563b[_0x7922('0x20')]?_['map'](_0x4e563b[_0x7922('0x20')],function(_0xb34947){return{'model':db[_0xb34947[_0x7922('0x21')]],'as':_0xb34947['as'],'attributes':_0xb34947[_0x7922('0x1d')],'include':_0xb34947[_0x7922('0x20')]?_['map'](_0xb34947['include'],function(_0xcb9fb9){return{'model':db[_0xcb9fb9[_0x7922('0x21')]],'as':_0xcb9fb9['as'],'attributes':_0xcb9fb9['attributes']};}):[]};}):[]};}):[]:[]})[_0x7922('0xe')](function(_0x16d233){logger[_0x7922('0xf')]('GetTemplate',_0x32c49a);logger[_0x7922('0x11')](_0x7922('0x22'),_0x32c49a,JSON[_0x7922('0x13')](_0x16d233));_0x240406(_0x16d233);})[_0x7922('0x18')](function(_0x4527eb){logger[_0x7922('0x14')](_0x7922('0x22'),_0x4527eb[_0x7922('0x16')],_0x32c49a);_0xe0e84e(_0x104052[_0x7922('0x14')](0x1f4,_0x4527eb[_0x7922('0x16')]));});});}; \ No newline at end of file diff --git a/server/api/trigger/index.js b/server/api/trigger/index.js index 157dadb..33bf731 100644 --- a/server/api/trigger/index.js +++ b/server/api/trigger/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x652f=['getActions','post','create','/:id/all_conditions','addAllCondition','addAction','put','update','delete','destroy','exports','multer','path','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','isAuthenticated','index','get','/:id','getAllConditions','/:id/actions'];(function(_0x1d7c83,_0x16c102){var _0xedf697=function(_0x3d9f4f){while(--_0x3d9f4f){_0x1d7c83['push'](_0x1d7c83['shift']());}};_0xedf697(++_0x16c102);}(_0x652f,0xe3));var _0xf652=function(_0x397e0b,_0x407f7f){_0x397e0b=_0x397e0b-0x0;var _0x4054ec=_0x652f[_0x397e0b];return _0x4054ec;};'use strict';var multer=require(_0xf652('0x0'));var util=require('util');var path=require(_0xf652('0x1'));var timeout=require('connect-timeout');var express=require(_0xf652('0x2'));var router=express[_0xf652('0x3')]();var auth=require(_0xf652('0x4'));var interaction=require(_0xf652('0x5'));var config=require(_0xf652('0x6'));var controller=require('./trigger.controller');router['get']('/',auth[_0xf652('0x7')](),controller[_0xf652('0x8')]);router[_0xf652('0x9')](_0xf652('0xa'),auth[_0xf652('0x7')](),controller['show']);router[_0xf652('0x9')]('/:id/all_conditions',auth[_0xf652('0x7')](),controller[_0xf652('0xb')]);router[_0xf652('0x9')]('/:id/any_conditions',auth[_0xf652('0x7')](),controller['getAnyConditions']);router[_0xf652('0x9')](_0xf652('0xc'),auth[_0xf652('0x7')](),controller[_0xf652('0xd')]);router[_0xf652('0xe')]('/',auth[_0xf652('0x7')](),controller[_0xf652('0xf')]);router[_0xf652('0xe')](_0xf652('0x10'),auth[_0xf652('0x7')](),controller[_0xf652('0x11')]);router[_0xf652('0xe')]('/:id/any_conditions',auth['isAuthenticated'](),controller['addAnyCondition']);router[_0xf652('0xe')](_0xf652('0xc'),auth[_0xf652('0x7')](),controller[_0xf652('0x12')]);router[_0xf652('0x13')](_0xf652('0xa'),auth['isAuthenticated'](),controller[_0xf652('0x14')]);router[_0xf652('0x15')]('/:id',auth[_0xf652('0x7')](),controller[_0xf652('0x16')]);module[_0xf652('0x17')]=router; \ No newline at end of file +var _0x712a=['/:id/any_conditions','/:id/actions','getActions','post','put','update','delete','exports','util','connect-timeout','express','Router','../../components/interaction/service','../../config/environment','./trigger.controller','get','isAuthenticated','index','/:id','getAllConditions'];(function(_0x36dfbd,_0x5bfe2d){var _0x4ecad9=function(_0x5230da){while(--_0x5230da){_0x36dfbd['push'](_0x36dfbd['shift']());}};_0x4ecad9(++_0x5bfe2d);}(_0x712a,0x10c));var _0xa712=function(_0x4ed520,_0x21be63){_0x4ed520=_0x4ed520-0x0;var _0x4415a6=_0x712a[_0x4ed520];return _0x4415a6;};'use strict';var multer=require('multer');var util=require(_0xa712('0x0'));var path=require('path');var timeout=require(_0xa712('0x1'));var express=require(_0xa712('0x2'));var router=express[_0xa712('0x3')]();var auth=require('../../components/auth/service');var interaction=require(_0xa712('0x4'));var config=require(_0xa712('0x5'));var controller=require(_0xa712('0x6'));router[_0xa712('0x7')]('/',auth[_0xa712('0x8')](),controller[_0xa712('0x9')]);router[_0xa712('0x7')](_0xa712('0xa'),auth[_0xa712('0x8')](),controller['show']);router['get']('/:id/all_conditions',auth[_0xa712('0x8')](),controller[_0xa712('0xb')]);router[_0xa712('0x7')](_0xa712('0xc'),auth['isAuthenticated'](),controller['getAnyConditions']);router[_0xa712('0x7')](_0xa712('0xd'),auth[_0xa712('0x8')](),controller[_0xa712('0xe')]);router['post']('/',auth['isAuthenticated'](),controller['create']);router[_0xa712('0xf')]('/:id/all_conditions',auth[_0xa712('0x8')](),controller['addAllCondition']);router['post']('/:id/any_conditions',auth[_0xa712('0x8')](),controller['addAnyCondition']);router[_0xa712('0xf')](_0xa712('0xd'),auth[_0xa712('0x8')](),controller['addAction']);router[_0xa712('0x10')](_0xa712('0xa'),auth[_0xa712('0x8')](),controller[_0xa712('0x11')]);router[_0xa712('0x12')](_0xa712('0xa'),auth[_0xa712('0x8')](),controller['destroy']);module[_0xa712('0x13')]=router; \ No newline at end of file diff --git a/server/api/trigger/trigger.attributes.js b/server/api/trigger/trigger.attributes.js index f56ab97..3fa9996 100644 --- a/server/api/trigger/trigger.attributes.js +++ b/server/api/trigger/trigger.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x2d1d=['STRING','BOOLEAN','sequelize','exports'];(function(_0x3b0731,_0xcf9925){var _0x4204d7=function(_0x635ac5){while(--_0x635ac5){_0x3b0731['push'](_0x3b0731['shift']());}};_0x4204d7(++_0xcf9925);}(_0x2d1d,0x1f2));var _0xd2d1=function(_0x465bd7,_0x33d7ac){_0x465bd7=_0x465bd7-0x0;var _0xeed924=_0x2d1d[_0x465bd7];return _0xeed924;};'use strict';var Sequelize=require(_0xd2d1('0x0'));module[_0xd2d1('0x1')]={'name':{'type':Sequelize[_0xd2d1('0x2')]},'channel':{'type':Sequelize['STRING']},'description':{'type':Sequelize[_0xd2d1('0x2')]},'status':{'type':Sequelize[_0xd2d1('0x3')],'defaultValue':![]}}; \ No newline at end of file +var _0xda67=['sequelize','exports','STRING','BOOLEAN'];(function(_0x38fb8b,_0x70dd0a){var _0x1ec681=function(_0x58f130){while(--_0x58f130){_0x38fb8b['push'](_0x38fb8b['shift']());}};_0x1ec681(++_0x70dd0a);}(_0xda67,0xb0));var _0x7da6=function(_0x5a76f2,_0x19b1a8){_0x5a76f2=_0x5a76f2-0x0;var _0x5a3485=_0xda67[_0x5a76f2];return _0x5a3485;};'use strict';var Sequelize=require(_0x7da6('0x0'));module[_0x7da6('0x1')]={'name':{'type':Sequelize[_0x7da6('0x2')]},'channel':{'type':Sequelize[_0x7da6('0x2')]},'description':{'type':Sequelize[_0x7da6('0x2')]},'status':{'type':Sequelize[_0x7da6('0x3')],'defaultValue':![]}}; \ No newline at end of file diff --git a/server/api/trigger/trigger.controller.js b/server/api/trigger/trigger.controller.js index 9a0a08a..1e4ac86 100644 --- a/server/api/trigger/trigger.controller.js +++ b/server/api/trigger/trigger.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xf249=['sendStatus','status','end','json','count','offset','limit','set','Content-Range','apply','save','update','then','destroy','get','Triggers','error','stack','name','send','index','map','Trigger','rawAttributes','key','model','query','keys','intersection','attributes','fields','length','hasOwnProperty','nolimit','order','sort','filters','pick','where','merge','type','filter','options','includeAll','include','findAll','rows','show','params','find','catch','create','body','user','Unable\x20to\x20retrieve\x20the\x20current\x20user','userProfileId','autoAssociation','UserProfileResource','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','TriggerAllId','Condition','addAnyCondition','TriggerAnyId','findOne','getAllConditions','getAnyConditions','getActions','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','mustache','sox','to-csv','ejs','lodash','squel','crypto','jsforce','papaparse','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','api','../../config/utils','../../config/environment'];(function(_0x214079,_0x1d50a4){var _0x156513=function(_0x45723c){while(--_0x45723c){_0x214079['push'](_0x214079['shift']());}};_0x156513(++_0x1d50a4);}(_0xf249,0x9c));var _0x9f24=function(_0x2b0a53,_0x4c680b){_0x2b0a53=_0x2b0a53-0x0;var _0x1e170c=_0xf249[_0x2b0a53];return _0x1e170c;};'use strict';var pdf=require('html-pdf');var emlformat=require(_0x9f24('0x0'));var rimraf=require(_0x9f24('0x1'));var zipdir=require(_0x9f24('0x2'));var jsonpatch=require(_0x9f24('0x3'));var rp=require(_0x9f24('0x4'));var moment=require(_0x9f24('0x5'));var BPromise=require(_0x9f24('0x6'));var Mustache=require(_0x9f24('0x7'));var util=require('util');var path=require('path');var sox=require(_0x9f24('0x8'));var csv=require(_0x9f24('0x9'));var ejs=require(_0x9f24('0xa'));var fs=require('fs');var _=require(_0x9f24('0xb'));var squel=require(_0x9f24('0xc'));var crypto=require(_0x9f24('0xd'));var jsforce=require(_0x9f24('0xe'));var deskjs=require('desk.js');var toCsv=require('to-csv');var querystring=require('querystring');var Papa=require(_0x9f24('0xf'));var Redis=require('ioredis');var authService=require(_0x9f24('0x10'));var qs=require(_0x9f24('0x11'));var as=require(_0x9f24('0x12'));var hardwareService=require('../../config/license/hardware');var logger=require('../../config/logger')(_0x9f24('0x13'));var utils=require(_0x9f24('0x14'));var config=require(_0x9f24('0x15'));var db=require('../../mysqldb')['db'];function respondWithStatusCode(_0x2b3816,_0x39b2eb){_0x39b2eb=_0x39b2eb||0xcc;return function(_0x4ca2c9){if(_0x4ca2c9){return _0x2b3816[_0x9f24('0x16')](_0x39b2eb);}return _0x2b3816[_0x9f24('0x17')](_0x39b2eb)[_0x9f24('0x18')]();};}function respondWithResult(_0x2991aa,_0x310b8b){_0x310b8b=_0x310b8b||0xc8;return function(_0x145280){if(_0x145280){return _0x2991aa[_0x9f24('0x17')](_0x310b8b)[_0x9f24('0x19')](_0x145280);}};}function respondWithFilteredResult(_0xbf2cd0,_0x59573d){return function(_0x34dc8e){if(_0x34dc8e){var _0x9f2221=_0x34dc8e[_0x9f24('0x1a')],_0x3049e3=_0x59573d[_0x9f24('0x1b')],_0x558491=_0x59573d['offset']+_0x59573d[_0x9f24('0x1c')],_0x2f7d20;if(_0x558491>=_0x9f2221){_0x558491=_0x9f2221;_0x2f7d20=0xc8;}else{_0x2f7d20=0xce;}_0xbf2cd0[_0x9f24('0x17')](_0x2f7d20);return _0xbf2cd0[_0x9f24('0x1d')](_0x9f24('0x1e'),_0x3049e3+'-'+_0x558491+'/'+_0x9f2221)[_0x9f24('0x19')](_0x34dc8e);}return null;};}function patchUpdates(_0x5661c9){return function(_0x47efd4){try{jsonpatch[_0x9f24('0x1f')](_0x47efd4,_0x5661c9,!![]);}catch(_0x17648e){return BPromise['reject'](_0x17648e);}return _0x47efd4[_0x9f24('0x20')]();};}function saveUpdates(_0x5360b4,_0x779125){return function(_0x16aef3){if(_0x16aef3){return _0x16aef3[_0x9f24('0x21')](_0x5360b4)[_0x9f24('0x22')](function(_0x3340a2){return _0x3340a2;});}return null;};}function removeEntity(_0x385034,_0x264790){return function(_0x4560b5){if(_0x4560b5){return _0x4560b5[_0x9f24('0x23')]()['then'](function(){var _0x5a89a0=_0x4560b5[_0x9f24('0x24')]({'plain':!![]});var _0x8e9fa2=_0x9f24('0x25');return db['UserProfileResource'][_0x9f24('0x23')]({'where':{'type':_0x8e9fa2,'resourceId':_0x5a89a0['id']}})[_0x9f24('0x22')](function(){return _0x4560b5;});})[_0x9f24('0x22')](function(){_0x385034[_0x9f24('0x17')](0xcc)[_0x9f24('0x18')]();});}};}function handleEntityNotFound(_0x126f1f,_0x40dd1a){return function(_0x3613a7){if(!_0x3613a7){_0x126f1f['sendStatus'](0x194);}return _0x3613a7;};}function handleError(_0x4908ae,_0x199555){_0x199555=_0x199555||0x1f4;return function(_0x453e0f){logger[_0x9f24('0x26')](_0x453e0f[_0x9f24('0x27')]);if(_0x453e0f['name']){delete _0x453e0f[_0x9f24('0x28')];}_0x4908ae[_0x9f24('0x17')](_0x199555)[_0x9f24('0x29')](_0x453e0f);};}exports[_0x9f24('0x2a')]=function(_0x4b889b,_0x2cbd1d){var _0x319c8d={},_0xf5f5d5={},_0xe5b84f={'count':0x0,'rows':[]};var _0x4a03b9=_[_0x9f24('0x2b')](db[_0x9f24('0x2c')][_0x9f24('0x2d')],function(_0x1ac17f){return{'name':_0x1ac17f['fieldName'],'type':_0x1ac17f['type'][_0x9f24('0x2e')]};});_0xf5f5d5[_0x9f24('0x2f')]=_['map'](_0x4a03b9,'name');_0xf5f5d5[_0x9f24('0x30')]=_[_0x9f24('0x31')](_0x4b889b[_0x9f24('0x30')]);_0xf5f5d5['filters']=_[_0x9f24('0x32')](_0xf5f5d5['model'],_0xf5f5d5[_0x9f24('0x30')]);_0x319c8d[_0x9f24('0x33')]=_[_0x9f24('0x32')](_0xf5f5d5[_0x9f24('0x2f')],qs[_0x9f24('0x34')](_0x4b889b[_0x9f24('0x30')][_0x9f24('0x34')]));_0x319c8d['attributes']=_0x319c8d[_0x9f24('0x33')][_0x9f24('0x35')]?_0x319c8d[_0x9f24('0x33')]:_0xf5f5d5[_0x9f24('0x2f')];if(!_0x4b889b[_0x9f24('0x30')][_0x9f24('0x36')](_0x9f24('0x37'))){_0x319c8d[_0x9f24('0x1c')]=qs[_0x9f24('0x1c')](_0x4b889b[_0x9f24('0x30')][_0x9f24('0x1c')]);_0x319c8d[_0x9f24('0x1b')]=qs['offset'](_0x4b889b[_0x9f24('0x30')][_0x9f24('0x1b')]);}_0x319c8d[_0x9f24('0x38')]=qs[_0x9f24('0x39')](_0x4b889b['query']['sort']);_0x319c8d['where']=qs[_0x9f24('0x3a')](_[_0x9f24('0x3b')](_0x4b889b[_0x9f24('0x30')],_0xf5f5d5[_0x9f24('0x3a')]),_0x4a03b9);if(_0x4b889b[_0x9f24('0x30')]['filter']){_0x319c8d[_0x9f24('0x3c')]=_[_0x9f24('0x3d')](_0x319c8d['where'],{'$or':_['map'](_0x4a03b9,function(_0x43df5b){if(_0x43df5b[_0x9f24('0x3e')]!=='VIRTUAL'){var _0x808ba3={};_0x808ba3[_0x43df5b['name']]={'$like':'%'+_0x4b889b[_0x9f24('0x30')][_0x9f24('0x3f')]+'%'};return _0x808ba3;}})});}_0x319c8d=_[_0x9f24('0x3d')]({},_0x319c8d,_0x4b889b[_0x9f24('0x40')]);var _0x5982bc={'where':_0x319c8d[_0x9f24('0x3c')]};return db['Trigger'][_0x9f24('0x1a')](_0x5982bc)[_0x9f24('0x22')](function(_0x349ff1){_0xe5b84f[_0x9f24('0x1a')]=_0x349ff1;if(_0x4b889b[_0x9f24('0x30')][_0x9f24('0x41')]){_0x319c8d[_0x9f24('0x42')]=[{'all':!![]}];}return db[_0x9f24('0x2c')][_0x9f24('0x43')](_0x319c8d);})[_0x9f24('0x22')](function(_0xb3fb3){_0xe5b84f[_0x9f24('0x44')]=_0xb3fb3;return _0xe5b84f;})[_0x9f24('0x22')](respondWithFilteredResult(_0x2cbd1d,_0x319c8d))['catch'](handleError(_0x2cbd1d,null));};exports[_0x9f24('0x45')]=function(_0x76f5a3,_0x4032c8){var _0x248bbc={'raw':![],'where':{'id':_0x76f5a3[_0x9f24('0x46')]['id']}},_0x215044={};_0x215044['model']=_['keys'](db[_0x9f24('0x2c')]['rawAttributes']);_0x215044[_0x9f24('0x30')]=_['keys'](_0x76f5a3['query']);_0x215044[_0x9f24('0x3a')]=_[_0x9f24('0x32')](_0x215044['model'],_0x215044[_0x9f24('0x30')]);_0x248bbc[_0x9f24('0x33')]=_[_0x9f24('0x32')](_0x215044[_0x9f24('0x2f')],qs['fields'](_0x76f5a3['query'][_0x9f24('0x34')]));_0x248bbc[_0x9f24('0x33')]=_0x248bbc['attributes'][_0x9f24('0x35')]?_0x248bbc['attributes']:_0x215044[_0x9f24('0x2f')];if(_0x76f5a3[_0x9f24('0x30')][_0x9f24('0x41')]){_0x248bbc['include']=[{'all':!![]}];}_0x248bbc=_[_0x9f24('0x3d')]({},_0x248bbc,_0x76f5a3[_0x9f24('0x40')]);return db[_0x9f24('0x2c')][_0x9f24('0x47')](_0x248bbc)[_0x9f24('0x22')](handleEntityNotFound(_0x4032c8,null))[_0x9f24('0x22')](respondWithResult(_0x4032c8,null))[_0x9f24('0x48')](handleError(_0x4032c8,null));};exports[_0x9f24('0x49')]=function(_0x2636e5,_0x1f593c){return db['Trigger'][_0x9f24('0x49')](_0x2636e5[_0x9f24('0x4a')],{})[_0x9f24('0x22')](function(_0x3755fb){var _0x2aa172=_0x2636e5[_0x9f24('0x4b')][_0x9f24('0x24')]({'plain':!![]});if(!_0x2aa172)throw new Error(_0x9f24('0x4c'));if(_0x2aa172['role']===_0x9f24('0x4b')){var _0x461f1a=_0x3755fb[_0x9f24('0x24')]({'plain':!![]});var _0x19e115=_0x9f24('0x25');return db['UserProfileSection'][_0x9f24('0x47')]({'where':{'name':_0x19e115,'userProfileId':_0x2aa172[_0x9f24('0x4d')]},'raw':!![]})[_0x9f24('0x22')](function(_0x42ef56){if(_0x42ef56&&_0x42ef56[_0x9f24('0x4e')]===0x0){return db[_0x9f24('0x4f')][_0x9f24('0x49')]({'name':_0x461f1a[_0x9f24('0x28')],'resourceId':_0x461f1a['id'],'type':_0x42ef56['name'],'sectionId':_0x42ef56['id']},{})[_0x9f24('0x22')](function(){return _0x3755fb;});}else{return _0x3755fb;}})['catch'](function(_0x4552d3){logger[_0x9f24('0x26')](_0x9f24('0x50'),_0x4552d3);throw _0x4552d3;});}return _0x3755fb;})[_0x9f24('0x22')](respondWithResult(_0x1f593c,0xc9))[_0x9f24('0x48')](handleError(_0x1f593c,null));};exports[_0x9f24('0x21')]=function(_0x42b2d9,_0x5260ec){if(_0x42b2d9['body']['id']){delete _0x42b2d9['body']['id'];}return db[_0x9f24('0x2c')][_0x9f24('0x47')]({'where':{'id':_0x42b2d9['params']['id']}})[_0x9f24('0x22')](handleEntityNotFound(_0x5260ec,null))[_0x9f24('0x22')](saveUpdates(_0x42b2d9[_0x9f24('0x4a')],null))['then'](respondWithResult(_0x5260ec,null))[_0x9f24('0x48')](handleError(_0x5260ec,null));};exports[_0x9f24('0x23')]=function(_0x1418e3,_0x31bc5f){return db[_0x9f24('0x2c')][_0x9f24('0x47')]({'where':{'id':_0x1418e3[_0x9f24('0x46')]['id']}})[_0x9f24('0x22')](handleEntityNotFound(_0x31bc5f,null))[_0x9f24('0x22')](removeEntity(_0x31bc5f,null))[_0x9f24('0x48')](handleError(_0x31bc5f,null));};exports['addAllCondition']=function(_0x2236c3,_0xc1154d,_0xc4f652){if(_0x2236c3[_0x9f24('0x4a')]['id']){delete _0x2236c3[_0x9f24('0x4a')]['id'];}return db[_0x9f24('0x2c')][_0x9f24('0x47')]({'where':{'id':_0x2236c3['params']['id']}})[_0x9f24('0x22')](handleEntityNotFound(_0xc1154d,null))[_0x9f24('0x22')](function(_0x5cba43){if(_0x5cba43){_0x2236c3['body'][_0x9f24('0x51')]=_0x5cba43['id'];return db[_0x9f24('0x52')]['create'](_0x2236c3[_0x9f24('0x4a')]);}})[_0x9f24('0x22')](respondWithResult(_0xc1154d,null))[_0x9f24('0x48')](handleError(_0xc1154d,null));};exports[_0x9f24('0x53')]=function(_0x4a12b4,_0x3c8c52,_0x2cf6f9){if(_0x4a12b4[_0x9f24('0x4a')]['id']){delete _0x4a12b4[_0x9f24('0x4a')]['id'];}return db['Trigger'][_0x9f24('0x47')]({'where':{'id':_0x4a12b4[_0x9f24('0x46')]['id']}})[_0x9f24('0x22')](handleEntityNotFound(_0x3c8c52,null))[_0x9f24('0x22')](function(_0x678514){if(_0x678514){_0x4a12b4[_0x9f24('0x4a')][_0x9f24('0x54')]=_0x678514['id'];return db['Condition'][_0x9f24('0x49')](_0x4a12b4[_0x9f24('0x4a')]);}})['then'](respondWithResult(_0x3c8c52,null))[_0x9f24('0x48')](handleError(_0x3c8c52,null));};exports['getAllConditions']=function(_0x53d183,_0x4edc66,_0x37bb23){var _0x1cb4e8={};var _0x3bcc12={};var _0x243e10;var _0x456525;return db['Trigger'][_0x9f24('0x55')]({'where':{'id':_0x53d183[_0x9f24('0x46')]['id']}})[_0x9f24('0x22')](handleEntityNotFound(_0x4edc66,null))[_0x9f24('0x22')](function(_0x550a84){if(_0x550a84){_0x243e10=_0x550a84;_0x3bcc12['model']=_['keys'](db[_0x9f24('0x52')][_0x9f24('0x2d')]);_0x3bcc12[_0x9f24('0x30')]=_[_0x9f24('0x31')](_0x53d183[_0x9f24('0x30')]);_0x3bcc12['filters']=_['intersection'](_0x3bcc12[_0x9f24('0x2f')],_0x3bcc12[_0x9f24('0x30')]);_0x1cb4e8[_0x9f24('0x33')]=_[_0x9f24('0x32')](_0x3bcc12[_0x9f24('0x2f')],qs[_0x9f24('0x34')](_0x53d183[_0x9f24('0x30')][_0x9f24('0x34')]));_0x1cb4e8[_0x9f24('0x33')]=_0x1cb4e8['attributes'][_0x9f24('0x35')]?_0x1cb4e8[_0x9f24('0x33')]:_0x3bcc12[_0x9f24('0x2f')];_0x1cb4e8[_0x9f24('0x38')]=qs['sort'](_0x53d183[_0x9f24('0x30')]['sort']);_0x1cb4e8[_0x9f24('0x3c')]=qs[_0x9f24('0x3a')](_['pick'](_0x53d183[_0x9f24('0x30')],_0x3bcc12[_0x9f24('0x3a')]));if(_0x53d183[_0x9f24('0x30')][_0x9f24('0x3f')]){_0x1cb4e8[_0x9f24('0x3c')]=_[_0x9f24('0x3d')](_0x1cb4e8[_0x9f24('0x3c')],{'$or':_['map'](_0x1cb4e8[_0x9f24('0x33')],function(_0x4027d1){var _0x354c86={};_0x354c86[_0x4027d1]={'$like':'%'+_0x53d183['query'][_0x9f24('0x3f')]+'%'};return _0x354c86;})});}_0x1cb4e8=_[_0x9f24('0x3d')]({},_0x1cb4e8,_0x53d183[_0x9f24('0x40')]);return _0x243e10[_0x9f24('0x56')](_0x1cb4e8);}})['then'](function(_0x25c9a8){if(_0x25c9a8){_0x456525=_0x25c9a8['length'];if(!_0x53d183['query']['hasOwnProperty'](_0x9f24('0x37'))){_0x1cb4e8[_0x9f24('0x1c')]=qs['limit'](_0x53d183[_0x9f24('0x30')][_0x9f24('0x1c')]);_0x1cb4e8[_0x9f24('0x1b')]=qs[_0x9f24('0x1b')](_0x53d183[_0x9f24('0x30')][_0x9f24('0x1b')]);}return _0x243e10[_0x9f24('0x56')](_0x1cb4e8);}})[_0x9f24('0x22')](function(_0x425cc1){if(_0x425cc1){return _0x425cc1?{'count':_0x456525,'rows':_0x425cc1}:null;}})[_0x9f24('0x22')](respondWithResult(_0x4edc66,null))[_0x9f24('0x48')](handleError(_0x4edc66,null));};exports['getAnyConditions']=function(_0x6447f2,_0x19ed07,_0x5ae3a3){var _0x369fef={};var _0x3b06ef={};var _0x1301a2;var _0x2e9b1f;return db[_0x9f24('0x2c')][_0x9f24('0x55')]({'where':{'id':_0x6447f2[_0x9f24('0x46')]['id']}})[_0x9f24('0x22')](handleEntityNotFound(_0x19ed07,null))[_0x9f24('0x22')](function(_0x300ab0){if(_0x300ab0){_0x1301a2=_0x300ab0;_0x3b06ef[_0x9f24('0x2f')]=_[_0x9f24('0x31')](db[_0x9f24('0x52')][_0x9f24('0x2d')]);_0x3b06ef[_0x9f24('0x30')]=_[_0x9f24('0x31')](_0x6447f2[_0x9f24('0x30')]);_0x3b06ef['filters']=_['intersection'](_0x3b06ef[_0x9f24('0x2f')],_0x3b06ef['query']);_0x369fef[_0x9f24('0x33')]=_['intersection'](_0x3b06ef[_0x9f24('0x2f')],qs[_0x9f24('0x34')](_0x6447f2[_0x9f24('0x30')][_0x9f24('0x34')]));_0x369fef[_0x9f24('0x33')]=_0x369fef['attributes'][_0x9f24('0x35')]?_0x369fef[_0x9f24('0x33')]:_0x3b06ef[_0x9f24('0x2f')];_0x369fef[_0x9f24('0x38')]=qs[_0x9f24('0x39')](_0x6447f2[_0x9f24('0x30')][_0x9f24('0x39')]);_0x369fef[_0x9f24('0x3c')]=qs[_0x9f24('0x3a')](_[_0x9f24('0x3b')](_0x6447f2['query'],_0x3b06ef[_0x9f24('0x3a')]));if(_0x6447f2['query'][_0x9f24('0x3f')]){_0x369fef[_0x9f24('0x3c')]=_[_0x9f24('0x3d')](_0x369fef[_0x9f24('0x3c')],{'$or':_[_0x9f24('0x2b')](_0x369fef[_0x9f24('0x33')],function(_0x357efe){var _0x35e002={};_0x35e002[_0x357efe]={'$like':'%'+_0x6447f2[_0x9f24('0x30')][_0x9f24('0x3f')]+'%'};return _0x35e002;})});}_0x369fef=_[_0x9f24('0x3d')]({},_0x369fef,_0x6447f2['options']);return _0x1301a2['getAnyConditions'](_0x369fef);}})[_0x9f24('0x22')](function(_0x3aba4f){if(_0x3aba4f){_0x2e9b1f=_0x3aba4f['length'];if(!_0x6447f2['query']['hasOwnProperty']('nolimit')){_0x369fef[_0x9f24('0x1c')]=qs[_0x9f24('0x1c')](_0x6447f2[_0x9f24('0x30')][_0x9f24('0x1c')]);_0x369fef[_0x9f24('0x1b')]=qs[_0x9f24('0x1b')](_0x6447f2[_0x9f24('0x30')][_0x9f24('0x1b')]);}return _0x1301a2[_0x9f24('0x57')](_0x369fef);}})['then'](function(_0x2d91db){if(_0x2d91db){return _0x2d91db?{'count':_0x2e9b1f,'rows':_0x2d91db}:null;}})[_0x9f24('0x22')](respondWithResult(_0x19ed07,null))[_0x9f24('0x48')](handleError(_0x19ed07,null));};exports['addAction']=function(_0x270dad,_0x4f4600,_0x208669){if(_0x270dad[_0x9f24('0x4a')]['id']){delete _0x270dad[_0x9f24('0x4a')]['id'];}return db[_0x9f24('0x2c')]['find']({'where':{'id':_0x270dad[_0x9f24('0x46')]['id']}})[_0x9f24('0x22')](handleEntityNotFound(_0x4f4600,null))[_0x9f24('0x22')](function(_0x17510c){if(_0x17510c){_0x270dad['body']['TriggerId']=_0x17510c['id'];return db['Action']['create'](_0x270dad['body']);}})[_0x9f24('0x22')](respondWithResult(_0x4f4600,null))['catch'](handleError(_0x4f4600,null));};exports[_0x9f24('0x58')]=function(_0x45195b,_0x8aff28,_0x36ca33){var _0x38218a={};var _0x34e333={};var _0x2e4d2d;var _0x1dbe86;return db[_0x9f24('0x2c')][_0x9f24('0x55')]({'where':{'id':_0x45195b[_0x9f24('0x46')]['id']}})[_0x9f24('0x22')](handleEntityNotFound(_0x8aff28,null))[_0x9f24('0x22')](function(_0x27fec4){if(_0x27fec4){_0x2e4d2d=_0x27fec4;_0x34e333[_0x9f24('0x2f')]=_['keys'](db['Action']['rawAttributes']);_0x34e333[_0x9f24('0x30')]=_[_0x9f24('0x31')](_0x45195b[_0x9f24('0x30')]);_0x34e333['filters']=_[_0x9f24('0x32')](_0x34e333[_0x9f24('0x2f')],_0x34e333[_0x9f24('0x30')]);_0x38218a[_0x9f24('0x33')]=_['intersection'](_0x34e333['model'],qs[_0x9f24('0x34')](_0x45195b['query'][_0x9f24('0x34')]));_0x38218a[_0x9f24('0x33')]=_0x38218a[_0x9f24('0x33')][_0x9f24('0x35')]?_0x38218a[_0x9f24('0x33')]:_0x34e333[_0x9f24('0x2f')];_0x38218a['order']=qs[_0x9f24('0x39')](_0x45195b[_0x9f24('0x30')][_0x9f24('0x39')]);_0x38218a['where']=qs[_0x9f24('0x3a')](_[_0x9f24('0x3b')](_0x45195b[_0x9f24('0x30')],_0x34e333[_0x9f24('0x3a')]));if(_0x45195b[_0x9f24('0x30')][_0x9f24('0x3f')]){_0x38218a['where']=_[_0x9f24('0x3d')](_0x38218a[_0x9f24('0x3c')],{'$or':_[_0x9f24('0x2b')](_0x38218a[_0x9f24('0x33')],function(_0x32ee82){var _0x532d47={};_0x532d47[_0x32ee82]={'$like':'%'+_0x45195b[_0x9f24('0x30')][_0x9f24('0x3f')]+'%'};return _0x532d47;})});}_0x38218a=_['merge']({},_0x38218a,_0x45195b[_0x9f24('0x40')]);return _0x2e4d2d[_0x9f24('0x58')](_0x38218a);}})['then'](function(_0x4e0915){if(_0x4e0915){_0x1dbe86=_0x4e0915[_0x9f24('0x35')];if(!_0x45195b[_0x9f24('0x30')][_0x9f24('0x36')](_0x9f24('0x37'))){_0x38218a[_0x9f24('0x1c')]=qs[_0x9f24('0x1c')](_0x45195b[_0x9f24('0x30')][_0x9f24('0x1c')]);_0x38218a['offset']=qs[_0x9f24('0x1b')](_0x45195b['query'][_0x9f24('0x1b')]);}return _0x2e4d2d[_0x9f24('0x58')](_0x38218a);}})['then'](function(_0x4e4c6b){if(_0x4e4c6b){return _0x4e4c6b?{'count':_0x1dbe86,'rows':_0x4e4c6b}:null;}})[_0x9f24('0x22')](respondWithResult(_0x8aff28,null))['catch'](handleError(_0x8aff28,null));}; \ No newline at end of file +var _0x7795=['map','Trigger','fieldName','model','query','keys','intersection','attributes','length','hasOwnProperty','order','sort','filter','where','merge','type','VIRTUAL','includeAll','include','findAll','rows','catch','show','params','filters','fields','create','role','user','autoAssociation','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','update','body','find','addAllCondition','TriggerAnyId','Condition','getAllConditions','findOne','rawAttributes','pick','options','nolimit','getAnyConditions','addAction','TriggerId','Action','getActions','html-pdf','eml-format','rimraf','fast-json-patch','bluebird','util','path','to-csv','ejs','lodash','crypto','jsforce','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','status','end','count','offset','limit','Content-Range','json','apply','reject','save','then','destroy','get','Triggers','UserProfileResource','sendStatus','error','stack','name','send'];(function(_0x39b9b3,_0x3e9a66){var _0x4977c8=function(_0x2610c9){while(--_0x2610c9){_0x39b9b3['push'](_0x39b9b3['shift']());}};_0x4977c8(++_0x3e9a66);}(_0x7795,0x8d));var _0x5779=function(_0x132f67,_0x5cf940){_0x132f67=_0x132f67-0x0;var _0x5f4ec1=_0x7795[_0x132f67];return _0x5f4ec1;};'use strict';var pdf=require(_0x5779('0x0'));var emlformat=require(_0x5779('0x1'));var rimraf=require(_0x5779('0x2'));var zipdir=require('zip-dir');var jsonpatch=require(_0x5779('0x3'));var rp=require('request-promise');var moment=require('moment');var BPromise=require(_0x5779('0x4'));var Mustache=require('mustache');var util=require(_0x5779('0x5'));var path=require(_0x5779('0x6'));var sox=require('sox');var csv=require(_0x5779('0x7'));var ejs=require(_0x5779('0x8'));var fs=require('fs');var _=require(_0x5779('0x9'));var squel=require('squel');var crypto=require(_0x5779('0xa'));var jsforce=require(_0x5779('0xb'));var deskjs=require(_0x5779('0xc'));var toCsv=require(_0x5779('0x7'));var querystring=require(_0x5779('0xd'));var Papa=require(_0x5779('0xe'));var Redis=require(_0x5779('0xf'));var authService=require(_0x5779('0x10'));var qs=require(_0x5779('0x11'));var as=require(_0x5779('0x12'));var hardwareService=require(_0x5779('0x13'));var logger=require(_0x5779('0x14'))(_0x5779('0x15'));var utils=require(_0x5779('0x16'));var config=require(_0x5779('0x17'));var db=require(_0x5779('0x18'))['db'];function respondWithStatusCode(_0x21f4c8,_0x483f9f){_0x483f9f=_0x483f9f||0xcc;return function(_0x16c088){if(_0x16c088){return _0x21f4c8['sendStatus'](_0x483f9f);}return _0x21f4c8[_0x5779('0x19')](_0x483f9f)[_0x5779('0x1a')]();};}function respondWithResult(_0x1026ec,_0x36bfbf){_0x36bfbf=_0x36bfbf||0xc8;return function(_0x428552){if(_0x428552){return _0x1026ec[_0x5779('0x19')](_0x36bfbf)['json'](_0x428552);}};}function respondWithFilteredResult(_0x5947cf,_0x23d8a9){return function(_0x3ee1ce){if(_0x3ee1ce){var _0x249d37=_0x3ee1ce[_0x5779('0x1b')],_0x3d0a40=_0x23d8a9['offset'],_0x42fc0f=_0x23d8a9[_0x5779('0x1c')]+_0x23d8a9[_0x5779('0x1d')],_0xb627fe;if(_0x42fc0f>=_0x249d37){_0x42fc0f=_0x249d37;_0xb627fe=0xc8;}else{_0xb627fe=0xce;}_0x5947cf['status'](_0xb627fe);return _0x5947cf['set'](_0x5779('0x1e'),_0x3d0a40+'-'+_0x42fc0f+'/'+_0x249d37)[_0x5779('0x1f')](_0x3ee1ce);}return null;};}function patchUpdates(_0x2596fc){return function(_0xd0d74a){try{jsonpatch[_0x5779('0x20')](_0xd0d74a,_0x2596fc,!![]);}catch(_0x199615){return BPromise[_0x5779('0x21')](_0x199615);}return _0xd0d74a[_0x5779('0x22')]();};}function saveUpdates(_0x5959c6,_0xb7b23){return function(_0x4e4633){if(_0x4e4633){return _0x4e4633['update'](_0x5959c6)[_0x5779('0x23')](function(_0x4a0ad7){return _0x4a0ad7;});}return null;};}function removeEntity(_0x5478f7,_0x21ee38){return function(_0x3d4ad0){if(_0x3d4ad0){return _0x3d4ad0[_0x5779('0x24')]()['then'](function(){var _0x5e67d4=_0x3d4ad0[_0x5779('0x25')]({'plain':!![]});var _0x5b304f=_0x5779('0x26');return db[_0x5779('0x27')][_0x5779('0x24')]({'where':{'type':_0x5b304f,'resourceId':_0x5e67d4['id']}})['then'](function(){return _0x3d4ad0;});})[_0x5779('0x23')](function(){_0x5478f7[_0x5779('0x19')](0xcc)[_0x5779('0x1a')]();});}};}function handleEntityNotFound(_0x57f638,_0x3972ca){return function(_0x27c9e8){if(!_0x27c9e8){_0x57f638[_0x5779('0x28')](0x194);}return _0x27c9e8;};}function handleError(_0x2b67ce,_0x54c7a4){_0x54c7a4=_0x54c7a4||0x1f4;return function(_0x2b43b5){logger[_0x5779('0x29')](_0x2b43b5[_0x5779('0x2a')]);if(_0x2b43b5[_0x5779('0x2b')]){delete _0x2b43b5['name'];}_0x2b67ce[_0x5779('0x19')](_0x54c7a4)[_0x5779('0x2c')](_0x2b43b5);};}exports['index']=function(_0xb15ba0,_0x29c612){var _0x60e3f4={},_0x57b51d={},_0x39c3d9={'count':0x0,'rows':[]};var _0x1b3d82=_[_0x5779('0x2d')](db[_0x5779('0x2e')]['rawAttributes'],function(_0xb6ef8b){return{'name':_0xb6ef8b[_0x5779('0x2f')],'type':_0xb6ef8b['type']['key']};});_0x57b51d[_0x5779('0x30')]=_[_0x5779('0x2d')](_0x1b3d82,_0x5779('0x2b'));_0x57b51d[_0x5779('0x31')]=_[_0x5779('0x32')](_0xb15ba0[_0x5779('0x31')]);_0x57b51d['filters']=_[_0x5779('0x33')](_0x57b51d['model'],_0x57b51d[_0x5779('0x31')]);_0x60e3f4['attributes']=_['intersection'](_0x57b51d[_0x5779('0x30')],qs['fields'](_0xb15ba0[_0x5779('0x31')]['fields']));_0x60e3f4[_0x5779('0x34')]=_0x60e3f4['attributes'][_0x5779('0x35')]?_0x60e3f4['attributes']:_0x57b51d[_0x5779('0x30')];if(!_0xb15ba0[_0x5779('0x31')][_0x5779('0x36')]('nolimit')){_0x60e3f4['limit']=qs[_0x5779('0x1d')](_0xb15ba0[_0x5779('0x31')][_0x5779('0x1d')]);_0x60e3f4[_0x5779('0x1c')]=qs[_0x5779('0x1c')](_0xb15ba0[_0x5779('0x31')]['offset']);}_0x60e3f4[_0x5779('0x37')]=qs[_0x5779('0x38')](_0xb15ba0[_0x5779('0x31')][_0x5779('0x38')]);_0x60e3f4['where']=qs['filters'](_['pick'](_0xb15ba0[_0x5779('0x31')],_0x57b51d['filters']),_0x1b3d82);if(_0xb15ba0[_0x5779('0x31')][_0x5779('0x39')]){_0x60e3f4[_0x5779('0x3a')]=_[_0x5779('0x3b')](_0x60e3f4[_0x5779('0x3a')],{'$or':_[_0x5779('0x2d')](_0x1b3d82,function(_0x33696){if(_0x33696[_0x5779('0x3c')]!==_0x5779('0x3d')){var _0xf83022={};_0xf83022[_0x33696[_0x5779('0x2b')]]={'$like':'%'+_0xb15ba0[_0x5779('0x31')][_0x5779('0x39')]+'%'};return _0xf83022;}})});}_0x60e3f4=_[_0x5779('0x3b')]({},_0x60e3f4,_0xb15ba0['options']);var _0x3d2dbc={'where':_0x60e3f4[_0x5779('0x3a')]};return db['Trigger'][_0x5779('0x1b')](_0x3d2dbc)[_0x5779('0x23')](function(_0x27ca8c){_0x39c3d9[_0x5779('0x1b')]=_0x27ca8c;if(_0xb15ba0['query'][_0x5779('0x3e')]){_0x60e3f4[_0x5779('0x3f')]=[{'all':!![]}];}return db[_0x5779('0x2e')][_0x5779('0x40')](_0x60e3f4);})['then'](function(_0x384c5a){_0x39c3d9[_0x5779('0x41')]=_0x384c5a;return _0x39c3d9;})['then'](respondWithFilteredResult(_0x29c612,_0x60e3f4))[_0x5779('0x42')](handleError(_0x29c612,null));};exports[_0x5779('0x43')]=function(_0x7fb80f,_0x27adb2){var _0x4ff9ce={'raw':![],'where':{'id':_0x7fb80f[_0x5779('0x44')]['id']}},_0x5c9a26={};_0x5c9a26[_0x5779('0x30')]=_['keys'](db['Trigger']['rawAttributes']);_0x5c9a26[_0x5779('0x31')]=_[_0x5779('0x32')](_0x7fb80f[_0x5779('0x31')]);_0x5c9a26[_0x5779('0x45')]=_[_0x5779('0x33')](_0x5c9a26[_0x5779('0x30')],_0x5c9a26[_0x5779('0x31')]);_0x4ff9ce['attributes']=_[_0x5779('0x33')](_0x5c9a26[_0x5779('0x30')],qs[_0x5779('0x46')](_0x7fb80f[_0x5779('0x31')][_0x5779('0x46')]));_0x4ff9ce['attributes']=_0x4ff9ce[_0x5779('0x34')][_0x5779('0x35')]?_0x4ff9ce[_0x5779('0x34')]:_0x5c9a26[_0x5779('0x30')];if(_0x7fb80f['query'][_0x5779('0x3e')]){_0x4ff9ce[_0x5779('0x3f')]=[{'all':!![]}];}_0x4ff9ce=_[_0x5779('0x3b')]({},_0x4ff9ce,_0x7fb80f['options']);return db[_0x5779('0x2e')]['find'](_0x4ff9ce)[_0x5779('0x23')](handleEntityNotFound(_0x27adb2,null))[_0x5779('0x23')](respondWithResult(_0x27adb2,null))[_0x5779('0x42')](handleError(_0x27adb2,null));};exports[_0x5779('0x47')]=function(_0x51f9db,_0x1fa62f){return db[_0x5779('0x2e')][_0x5779('0x47')](_0x51f9db['body'],{})[_0x5779('0x23')](function(_0x2f6386){var _0x24aa17=_0x51f9db['user'][_0x5779('0x25')]({'plain':!![]});if(!_0x24aa17)throw new Error('Unable\x20to\x20retrieve\x20the\x20current\x20user');if(_0x24aa17[_0x5779('0x48')]===_0x5779('0x49')){var _0x1524c5=_0x2f6386['get']({'plain':!![]});var _0x53389b='Triggers';return db['UserProfileSection']['find']({'where':{'name':_0x53389b,'userProfileId':_0x24aa17['userProfileId']},'raw':!![]})[_0x5779('0x23')](function(_0x3b2197){if(_0x3b2197&&_0x3b2197[_0x5779('0x4a')]===0x0){return db[_0x5779('0x27')]['create']({'name':_0x1524c5[_0x5779('0x2b')],'resourceId':_0x1524c5['id'],'type':_0x3b2197[_0x5779('0x2b')],'sectionId':_0x3b2197['id']},{})[_0x5779('0x23')](function(){return _0x2f6386;});}else{return _0x2f6386;}})[_0x5779('0x42')](function(_0x4e7af8){logger['error'](_0x5779('0x4b'),_0x4e7af8);throw _0x4e7af8;});}return _0x2f6386;})[_0x5779('0x23')](respondWithResult(_0x1fa62f,0xc9))['catch'](handleError(_0x1fa62f,null));};exports[_0x5779('0x4c')]=function(_0x3815cc,_0x3aabf0){if(_0x3815cc['body']['id']){delete _0x3815cc[_0x5779('0x4d')]['id'];}return db[_0x5779('0x2e')]['find']({'where':{'id':_0x3815cc[_0x5779('0x44')]['id']}})['then'](handleEntityNotFound(_0x3aabf0,null))[_0x5779('0x23')](saveUpdates(_0x3815cc['body'],null))[_0x5779('0x23')](respondWithResult(_0x3aabf0,null))[_0x5779('0x42')](handleError(_0x3aabf0,null));};exports[_0x5779('0x24')]=function(_0x516ae4,_0x2bea52){return db[_0x5779('0x2e')][_0x5779('0x4e')]({'where':{'id':_0x516ae4[_0x5779('0x44')]['id']}})[_0x5779('0x23')](handleEntityNotFound(_0x2bea52,null))['then'](removeEntity(_0x2bea52,null))[_0x5779('0x42')](handleError(_0x2bea52,null));};exports[_0x5779('0x4f')]=function(_0x38fed1,_0x4c9da8,_0x35062a){if(_0x38fed1[_0x5779('0x4d')]['id']){delete _0x38fed1[_0x5779('0x4d')]['id'];}return db['Trigger'][_0x5779('0x4e')]({'where':{'id':_0x38fed1['params']['id']}})[_0x5779('0x23')](handleEntityNotFound(_0x4c9da8,null))[_0x5779('0x23')](function(_0x3d2b80){if(_0x3d2b80){_0x38fed1['body']['TriggerAllId']=_0x3d2b80['id'];return db['Condition']['create'](_0x38fed1[_0x5779('0x4d')]);}})['then'](respondWithResult(_0x4c9da8,null))['catch'](handleError(_0x4c9da8,null));};exports['addAnyCondition']=function(_0x4bc82c,_0x1cbcab,_0x34d570){if(_0x4bc82c[_0x5779('0x4d')]['id']){delete _0x4bc82c['body']['id'];}return db[_0x5779('0x2e')][_0x5779('0x4e')]({'where':{'id':_0x4bc82c[_0x5779('0x44')]['id']}})[_0x5779('0x23')](handleEntityNotFound(_0x1cbcab,null))[_0x5779('0x23')](function(_0x1d2047){if(_0x1d2047){_0x4bc82c['body'][_0x5779('0x50')]=_0x1d2047['id'];return db[_0x5779('0x51')][_0x5779('0x47')](_0x4bc82c[_0x5779('0x4d')]);}})[_0x5779('0x23')](respondWithResult(_0x1cbcab,null))[_0x5779('0x42')](handleError(_0x1cbcab,null));};exports[_0x5779('0x52')]=function(_0x3c687c,_0x2525ed,_0x4a5445){var _0x3b2273={};var _0x3863d4={};var _0x12ff25;var _0x397cd6;return db[_0x5779('0x2e')][_0x5779('0x53')]({'where':{'id':_0x3c687c[_0x5779('0x44')]['id']}})['then'](handleEntityNotFound(_0x2525ed,null))['then'](function(_0x32c770){if(_0x32c770){_0x12ff25=_0x32c770;_0x3863d4[_0x5779('0x30')]=_[_0x5779('0x32')](db[_0x5779('0x51')][_0x5779('0x54')]);_0x3863d4[_0x5779('0x31')]=_['keys'](_0x3c687c[_0x5779('0x31')]);_0x3863d4['filters']=_['intersection'](_0x3863d4['model'],_0x3863d4['query']);_0x3b2273[_0x5779('0x34')]=_[_0x5779('0x33')](_0x3863d4[_0x5779('0x30')],qs[_0x5779('0x46')](_0x3c687c[_0x5779('0x31')][_0x5779('0x46')]));_0x3b2273[_0x5779('0x34')]=_0x3b2273[_0x5779('0x34')][_0x5779('0x35')]?_0x3b2273['attributes']:_0x3863d4[_0x5779('0x30')];_0x3b2273[_0x5779('0x37')]=qs[_0x5779('0x38')](_0x3c687c[_0x5779('0x31')]['sort']);_0x3b2273[_0x5779('0x3a')]=qs[_0x5779('0x45')](_[_0x5779('0x55')](_0x3c687c['query'],_0x3863d4[_0x5779('0x45')]));if(_0x3c687c[_0x5779('0x31')][_0x5779('0x39')]){_0x3b2273[_0x5779('0x3a')]=_[_0x5779('0x3b')](_0x3b2273['where'],{'$or':_[_0x5779('0x2d')](_0x3b2273[_0x5779('0x34')],function(_0x19e4f2){var _0x415af0={};_0x415af0[_0x19e4f2]={'$like':'%'+_0x3c687c[_0x5779('0x31')]['filter']+'%'};return _0x415af0;})});}_0x3b2273=_[_0x5779('0x3b')]({},_0x3b2273,_0x3c687c[_0x5779('0x56')]);return _0x12ff25[_0x5779('0x52')](_0x3b2273);}})[_0x5779('0x23')](function(_0x1e1e6e){if(_0x1e1e6e){_0x397cd6=_0x1e1e6e[_0x5779('0x35')];if(!_0x3c687c['query'][_0x5779('0x36')](_0x5779('0x57'))){_0x3b2273[_0x5779('0x1d')]=qs['limit'](_0x3c687c[_0x5779('0x31')][_0x5779('0x1d')]);_0x3b2273[_0x5779('0x1c')]=qs['offset'](_0x3c687c[_0x5779('0x31')][_0x5779('0x1c')]);}return _0x12ff25['getAllConditions'](_0x3b2273);}})[_0x5779('0x23')](function(_0x5dca26){if(_0x5dca26){return _0x5dca26?{'count':_0x397cd6,'rows':_0x5dca26}:null;}})[_0x5779('0x23')](respondWithResult(_0x2525ed,null))[_0x5779('0x42')](handleError(_0x2525ed,null));};exports[_0x5779('0x58')]=function(_0x4d5c6c,_0x535721,_0x11f811){var _0x30aa1b={};var _0x2f51ce={};var _0x151c97;var _0x15f593;return db[_0x5779('0x2e')][_0x5779('0x53')]({'where':{'id':_0x4d5c6c['params']['id']}})[_0x5779('0x23')](handleEntityNotFound(_0x535721,null))['then'](function(_0x2b437b){if(_0x2b437b){_0x151c97=_0x2b437b;_0x2f51ce[_0x5779('0x30')]=_[_0x5779('0x32')](db[_0x5779('0x51')]['rawAttributes']);_0x2f51ce[_0x5779('0x31')]=_[_0x5779('0x32')](_0x4d5c6c[_0x5779('0x31')]);_0x2f51ce[_0x5779('0x45')]=_['intersection'](_0x2f51ce[_0x5779('0x30')],_0x2f51ce[_0x5779('0x31')]);_0x30aa1b[_0x5779('0x34')]=_[_0x5779('0x33')](_0x2f51ce[_0x5779('0x30')],qs[_0x5779('0x46')](_0x4d5c6c[_0x5779('0x31')][_0x5779('0x46')]));_0x30aa1b[_0x5779('0x34')]=_0x30aa1b[_0x5779('0x34')][_0x5779('0x35')]?_0x30aa1b['attributes']:_0x2f51ce['model'];_0x30aa1b[_0x5779('0x37')]=qs[_0x5779('0x38')](_0x4d5c6c[_0x5779('0x31')][_0x5779('0x38')]);_0x30aa1b[_0x5779('0x3a')]=qs[_0x5779('0x45')](_[_0x5779('0x55')](_0x4d5c6c[_0x5779('0x31')],_0x2f51ce[_0x5779('0x45')]));if(_0x4d5c6c[_0x5779('0x31')]['filter']){_0x30aa1b[_0x5779('0x3a')]=_['merge'](_0x30aa1b['where'],{'$or':_[_0x5779('0x2d')](_0x30aa1b[_0x5779('0x34')],function(_0x5b934b){var _0x36345d={};_0x36345d[_0x5b934b]={'$like':'%'+_0x4d5c6c['query'][_0x5779('0x39')]+'%'};return _0x36345d;})});}_0x30aa1b=_[_0x5779('0x3b')]({},_0x30aa1b,_0x4d5c6c[_0x5779('0x56')]);return _0x151c97[_0x5779('0x58')](_0x30aa1b);}})[_0x5779('0x23')](function(_0x30eafe){if(_0x30eafe){_0x15f593=_0x30eafe['length'];if(!_0x4d5c6c[_0x5779('0x31')][_0x5779('0x36')]('nolimit')){_0x30aa1b[_0x5779('0x1d')]=qs['limit'](_0x4d5c6c[_0x5779('0x31')][_0x5779('0x1d')]);_0x30aa1b[_0x5779('0x1c')]=qs[_0x5779('0x1c')](_0x4d5c6c[_0x5779('0x31')][_0x5779('0x1c')]);}return _0x151c97[_0x5779('0x58')](_0x30aa1b);}})[_0x5779('0x23')](function(_0x2f1827){if(_0x2f1827){return _0x2f1827?{'count':_0x15f593,'rows':_0x2f1827}:null;}})[_0x5779('0x23')](respondWithResult(_0x535721,null))[_0x5779('0x42')](handleError(_0x535721,null));};exports[_0x5779('0x59')]=function(_0x1050b3,_0x3873d0,_0x230608){if(_0x1050b3[_0x5779('0x4d')]['id']){delete _0x1050b3['body']['id'];}return db[_0x5779('0x2e')]['find']({'where':{'id':_0x1050b3[_0x5779('0x44')]['id']}})[_0x5779('0x23')](handleEntityNotFound(_0x3873d0,null))[_0x5779('0x23')](function(_0x41d2b4){if(_0x41d2b4){_0x1050b3[_0x5779('0x4d')][_0x5779('0x5a')]=_0x41d2b4['id'];return db[_0x5779('0x5b')][_0x5779('0x47')](_0x1050b3[_0x5779('0x4d')]);}})[_0x5779('0x23')](respondWithResult(_0x3873d0,null))['catch'](handleError(_0x3873d0,null));};exports[_0x5779('0x5c')]=function(_0x608bec,_0x3bd1c,_0x49cb3a){var _0x2b2b35={};var _0x39f6b4={};var _0x1a7ff3;var _0xb24d04;return db[_0x5779('0x2e')]['findOne']({'where':{'id':_0x608bec[_0x5779('0x44')]['id']}})['then'](handleEntityNotFound(_0x3bd1c,null))['then'](function(_0x502c58){if(_0x502c58){_0x1a7ff3=_0x502c58;_0x39f6b4[_0x5779('0x30')]=_[_0x5779('0x32')](db[_0x5779('0x5b')][_0x5779('0x54')]);_0x39f6b4[_0x5779('0x31')]=_[_0x5779('0x32')](_0x608bec[_0x5779('0x31')]);_0x39f6b4[_0x5779('0x45')]=_['intersection'](_0x39f6b4['model'],_0x39f6b4[_0x5779('0x31')]);_0x2b2b35[_0x5779('0x34')]=_[_0x5779('0x33')](_0x39f6b4['model'],qs[_0x5779('0x46')](_0x608bec['query'][_0x5779('0x46')]));_0x2b2b35[_0x5779('0x34')]=_0x2b2b35[_0x5779('0x34')][_0x5779('0x35')]?_0x2b2b35[_0x5779('0x34')]:_0x39f6b4[_0x5779('0x30')];_0x2b2b35[_0x5779('0x37')]=qs[_0x5779('0x38')](_0x608bec['query'][_0x5779('0x38')]);_0x2b2b35[_0x5779('0x3a')]=qs[_0x5779('0x45')](_[_0x5779('0x55')](_0x608bec['query'],_0x39f6b4['filters']));if(_0x608bec[_0x5779('0x31')][_0x5779('0x39')]){_0x2b2b35[_0x5779('0x3a')]=_['merge'](_0x2b2b35['where'],{'$or':_[_0x5779('0x2d')](_0x2b2b35[_0x5779('0x34')],function(_0x5e408e){var _0x52c77b={};_0x52c77b[_0x5e408e]={'$like':'%'+_0x608bec['query'][_0x5779('0x39')]+'%'};return _0x52c77b;})});}_0x2b2b35=_[_0x5779('0x3b')]({},_0x2b2b35,_0x608bec[_0x5779('0x56')]);return _0x1a7ff3[_0x5779('0x5c')](_0x2b2b35);}})[_0x5779('0x23')](function(_0x555465){if(_0x555465){_0xb24d04=_0x555465[_0x5779('0x35')];if(!_0x608bec['query']['hasOwnProperty']('nolimit')){_0x2b2b35['limit']=qs['limit'](_0x608bec[_0x5779('0x31')][_0x5779('0x1d')]);_0x2b2b35[_0x5779('0x1c')]=qs[_0x5779('0x1c')](_0x608bec[_0x5779('0x31')][_0x5779('0x1c')]);}return _0x1a7ff3['getActions'](_0x2b2b35);}})[_0x5779('0x23')](function(_0x2bedda){if(_0x2bedda){return _0x2bedda?{'count':_0xb24d04,'rows':_0x2bedda}:null;}})['then'](respondWithResult(_0x3bd1c,null))['catch'](handleError(_0x3bd1c,null));}; \ No newline at end of file diff --git a/server/api/trigger/trigger.model.js b/server/api/trigger/trigger.model.js index 8cee0ce..0361b2e 100644 --- a/server/api/trigger/trigger.model.js +++ b/server/api/trigger/trigger.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x3f19=['bluebird','request-promise','rimraf','../../config/environment','./trigger.attributes','define','Trigger','tools_triggers','lodash','util','../../config/logger','api','moment'];(function(_0x3ccfff,_0xa1ac1){var _0x2427b9=function(_0x5ad6d6){while(--_0x5ad6d6){_0x3ccfff['push'](_0x3ccfff['shift']());}};_0x2427b9(++_0xa1ac1);}(_0x3f19,0x1b5));var _0x93f1=function(_0x5d31f3,_0x4239b0){_0x5d31f3=_0x5d31f3-0x0;var _0x1cc88c=_0x3f19[_0x5d31f3];return _0x1cc88c;};'use strict';var _=require(_0x93f1('0x0'));var util=require(_0x93f1('0x1'));var logger=require(_0x93f1('0x2'))(_0x93f1('0x3'));var moment=require(_0x93f1('0x4'));var BPromise=require(_0x93f1('0x5'));var rp=require(_0x93f1('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0x93f1('0x7'));var config=require(_0x93f1('0x8'));var attributes=require(_0x93f1('0x9'));module['exports']=function(_0xc1b326,_0x3e863e){return _0xc1b326[_0x93f1('0xa')](_0x93f1('0xb'),attributes,{'tableName':_0x93f1('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0x3459=['lodash','util','bluebird','request-promise','path','../../config/environment','./trigger.attributes','define','Trigger','tools_triggers'];(function(_0x4f055d,_0x213e6b){var _0x161668=function(_0x5c45c2){while(--_0x5c45c2){_0x4f055d['push'](_0x4f055d['shift']());}};_0x161668(++_0x213e6b);}(_0x3459,0x104));var _0x9345=function(_0x3b380d,_0x4bf247){_0x3b380d=_0x3b380d-0x0;var _0x54502b=_0x3459[_0x3b380d];return _0x54502b;};'use strict';var _=require(_0x9345('0x0'));var util=require(_0x9345('0x1'));var logger=require('../../config/logger')('api');var moment=require('moment');var BPromise=require(_0x9345('0x2'));var rp=require(_0x9345('0x3'));var fs=require('fs');var path=require(_0x9345('0x4'));var rimraf=require('rimraf');var config=require(_0x9345('0x5'));var attributes=require(_0x9345('0x6'));module['exports']=function(_0x506f9c,_0x5b23fb){return _0x506f9c[_0x9345('0x7')](_0x9345('0x8'),attributes,{'tableName':_0x9345('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/trigger/trigger.rpc.js b/server/api/trigger/trigger.rpc.js index a043943..f6b42f3 100644 --- a/server/api/trigger/trigger.rpc.js +++ b/server/api/trigger/trigger.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x4213=['then','ShowTrigger','find','where','debug','lodash','util','moment','bluebird','randomstring','ioredis','../../mysqldb','../../config/logger','../../config/environment','jayson/promise','client','http','request','request\x20sent','Trigger,\x20%s,\x20%s,\x20%s','stringify','error','code','message','Trigger,\x20%s,\x20%s','info','result','catch','GetTrigger','Trigger','findAll','options','raw','attributes','limit','include','map','model'];(function(_0x4d2d4c,_0x9d1720){var _0x245610=function(_0x22d874){while(--_0x22d874){_0x4d2d4c['push'](_0x4d2d4c['shift']());}};_0x245610(++_0x9d1720);}(_0x4213,0x77));var _0x3421=function(_0x3a88a2,_0x4d1357){_0x3a88a2=_0x3a88a2-0x0;var _0x10fb3b=_0x4213[_0x3a88a2];return _0x10fb3b;};'use strict';var _=require(_0x3421('0x0'));var util=require(_0x3421('0x1'));var moment=require(_0x3421('0x2'));var BPromise=require(_0x3421('0x3'));var rs=require(_0x3421('0x4'));var fs=require('fs');var Redis=require(_0x3421('0x5'));var db=require(_0x3421('0x6'))['db'];var utils=require('../../config/utils');var logger=require(_0x3421('0x7'))('rpc');var config=require(_0x3421('0x8'));var jayson=require(_0x3421('0x9'));var client=jayson[_0x3421('0xa')][_0x3421('0xb')]({'port':0x232a});function respondWithRpcPromise(_0x5469d8,_0x50e464,_0x1b152f){return new BPromise(function(_0x130625,_0x1cf6a0){return client[_0x3421('0xc')](_0x5469d8,_0x1b152f)['then'](function(_0x1f20cf){logger['info']('Trigger,\x20%s,\x20%s',_0x50e464,_0x3421('0xd'));logger['debug'](_0x3421('0xe'),_0x50e464,_0x3421('0xd'),JSON[_0x3421('0xf')](_0x1f20cf));if(_0x1f20cf[_0x3421('0x10')]){if(_0x1f20cf[_0x3421('0x10')][_0x3421('0x11')]===0x1f4){logger[_0x3421('0x10')]('Trigger,\x20%s,\x20%s',_0x50e464,_0x1f20cf[_0x3421('0x10')][_0x3421('0x12')]);return _0x1cf6a0(_0x1f20cf[_0x3421('0x10')][_0x3421('0x12')]);}logger[_0x3421('0x10')](_0x3421('0x13'),_0x50e464,_0x1f20cf[_0x3421('0x10')]['message']);return _0x130625(_0x1f20cf[_0x3421('0x10')]['message']);}else{logger[_0x3421('0x14')](_0x3421('0x13'),_0x50e464,'request\x20sent');_0x130625(_0x1f20cf[_0x3421('0x15')]['message']);}})[_0x3421('0x16')](function(_0x23694b){logger['error'](_0x3421('0x13'),_0x50e464,_0x23694b);_0x1cf6a0(_0x23694b);});});}exports[_0x3421('0x17')]=function(_0x130d3c){var _0x104cc5=this;return new Promise(function(_0x18acc1,_0x200fdd){return db[_0x3421('0x18')][_0x3421('0x19')]({'raw':_0x130d3c[_0x3421('0x1a')]?_0x130d3c[_0x3421('0x1a')][_0x3421('0x1b')]===undefined?!![]:![]:!![],'where':_0x130d3c['options']?_0x130d3c[_0x3421('0x1a')]['where']||null:null,'attributes':_0x130d3c['options']?_0x130d3c['options'][_0x3421('0x1c')]||null:null,'limit':_0x130d3c[_0x3421('0x1a')]?_0x130d3c[_0x3421('0x1a')][_0x3421('0x1d')]||null:null,'include':_0x130d3c[_0x3421('0x1a')]?_0x130d3c[_0x3421('0x1a')][_0x3421('0x1e')]?_[_0x3421('0x1f')](_0x130d3c[_0x3421('0x1a')][_0x3421('0x1e')],function(_0x48fb3d){return{'model':db[_0x48fb3d['model']],'as':_0x48fb3d['as'],'attributes':_0x48fb3d['attributes'],'include':_0x48fb3d[_0x3421('0x1e')]?_[_0x3421('0x1f')](_0x48fb3d[_0x3421('0x1e')],function(_0x5bc28a){return{'model':db[_0x5bc28a['model']],'as':_0x5bc28a['as'],'attributes':_0x5bc28a[_0x3421('0x1c')],'include':_0x5bc28a['include']?_[_0x3421('0x1f')](_0x5bc28a['include'],function(_0x15e73c){return{'model':db[_0x15e73c[_0x3421('0x20')]],'as':_0x15e73c['as'],'attributes':_0x15e73c[_0x3421('0x1c')]};}):[]};}):[]};}):[]:[]})[_0x3421('0x21')](function(_0x186885){logger['info'](_0x3421('0x17'),_0x130d3c);logger['debug']('GetTrigger',_0x130d3c,JSON[_0x3421('0xf')](_0x186885));_0x18acc1(_0x186885);})['catch'](function(_0x5074a2){logger[_0x3421('0x10')]('GetTrigger',_0x5074a2[_0x3421('0x12')],_0x130d3c);_0x200fdd(_0x104cc5['error'](0x1f4,_0x5074a2[_0x3421('0x12')]));});});};exports[_0x3421('0x22')]=function(_0x48d828){var _0x3f7c0b=this;return new Promise(function(_0x3bc7c1,_0x420349){return db['Trigger'][_0x3421('0x23')]({'raw':_0x48d828['options']?_0x48d828[_0x3421('0x1a')][_0x3421('0x1b')]===undefined?!![]:![]:!![],'where':_0x48d828[_0x3421('0x1a')]?_0x48d828[_0x3421('0x1a')][_0x3421('0x24')]||null:null,'attributes':_0x48d828[_0x3421('0x1a')]?_0x48d828[_0x3421('0x1a')][_0x3421('0x1c')]||null:null,'include':_0x48d828[_0x3421('0x1a')]?_0x48d828[_0x3421('0x1a')]['include']?_['map'](_0x48d828[_0x3421('0x1a')][_0x3421('0x1e')],function(_0x5218cd){return{'model':db[_0x5218cd[_0x3421('0x20')]],'as':_0x5218cd['as'],'attributes':_0x5218cd[_0x3421('0x1c')],'include':_0x5218cd[_0x3421('0x1e')]?_[_0x3421('0x1f')](_0x5218cd[_0x3421('0x1e')],function(_0x4a33f8){return{'model':db[_0x4a33f8[_0x3421('0x20')]],'as':_0x4a33f8['as'],'attributes':_0x4a33f8[_0x3421('0x1c')],'include':_0x4a33f8[_0x3421('0x1e')]?_['map'](_0x4a33f8[_0x3421('0x1e')],function(_0x4ba1b9){return{'model':db[_0x4ba1b9[_0x3421('0x20')]],'as':_0x4ba1b9['as'],'attributes':_0x4ba1b9[_0x3421('0x1c')]};}):[]};}):[]};}):[]:[]})[_0x3421('0x21')](function(_0xcda5ee){logger[_0x3421('0x14')](_0x3421('0x22'),_0x48d828);logger[_0x3421('0x25')]('ShowTrigger',_0x48d828,JSON['stringify'](_0xcda5ee));_0x3bc7c1(_0xcda5ee);})['catch'](function(_0x4696f3){logger['error']('ShowTrigger',_0x4696f3[_0x3421('0x12')],_0x48d828);_0x420349(_0x3f7c0b['error'](0x1f4,_0x4696f3[_0x3421('0x12')]));});});}; \ No newline at end of file +var _0xab40=['Trigger,\x20%s,\x20%s,\x20%s','stringify','code','error','message','result','catch','Trigger','findAll','options','limit','include','model','map','attributes','GetTrigger','ShowTrigger','raw','where','lodash','util','ioredis','../../mysqldb','../../config/utils','../../config/logger','rpc','client','info','Trigger,\x20%s,\x20%s','request\x20sent','debug'];(function(_0x2140d5,_0x4b6185){var _0x5db4ab=function(_0xebcbf6){while(--_0xebcbf6){_0x2140d5['push'](_0x2140d5['shift']());}};_0x5db4ab(++_0x4b6185);}(_0xab40,0xcd));var _0x0ab4=function(_0xe076d3,_0x543321){_0xe076d3=_0xe076d3-0x0;var _0x73062c=_0xab40[_0xe076d3];return _0x73062c;};'use strict';var _=require(_0x0ab4('0x0'));var util=require(_0x0ab4('0x1'));var moment=require('moment');var BPromise=require('bluebird');var rs=require('randomstring');var fs=require('fs');var Redis=require(_0x0ab4('0x2'));var db=require(_0x0ab4('0x3'))['db'];var utils=require(_0x0ab4('0x4'));var logger=require(_0x0ab4('0x5'))(_0x0ab4('0x6'));var config=require('../../config/environment');var jayson=require('jayson/promise');var client=jayson[_0x0ab4('0x7')]['http']({'port':0x232a});function respondWithRpcPromise(_0x10d92b,_0x46d16a,_0x11e99f){return new BPromise(function(_0x6d135d,_0x4cf8de){return client['request'](_0x10d92b,_0x11e99f)['then'](function(_0x24271e){logger[_0x0ab4('0x8')](_0x0ab4('0x9'),_0x46d16a,_0x0ab4('0xa'));logger[_0x0ab4('0xb')](_0x0ab4('0xc'),_0x46d16a,_0x0ab4('0xa'),JSON[_0x0ab4('0xd')](_0x24271e));if(_0x24271e['error']){if(_0x24271e['error'][_0x0ab4('0xe')]===0x1f4){logger['error'](_0x0ab4('0x9'),_0x46d16a,_0x24271e[_0x0ab4('0xf')][_0x0ab4('0x10')]);return _0x4cf8de(_0x24271e[_0x0ab4('0xf')][_0x0ab4('0x10')]);}logger[_0x0ab4('0xf')](_0x0ab4('0x9'),_0x46d16a,_0x24271e[_0x0ab4('0xf')][_0x0ab4('0x10')]);return _0x6d135d(_0x24271e[_0x0ab4('0xf')][_0x0ab4('0x10')]);}else{logger[_0x0ab4('0x8')](_0x0ab4('0x9'),_0x46d16a,_0x0ab4('0xa'));_0x6d135d(_0x24271e[_0x0ab4('0x11')][_0x0ab4('0x10')]);}})[_0x0ab4('0x12')](function(_0x2bdda7){logger['error']('Trigger,\x20%s,\x20%s',_0x46d16a,_0x2bdda7);_0x4cf8de(_0x2bdda7);});});}exports['GetTrigger']=function(_0x17422f){var _0x30d5df=this;return new Promise(function(_0x2f50d2,_0x53723c){return db[_0x0ab4('0x13')][_0x0ab4('0x14')]({'raw':_0x17422f[_0x0ab4('0x15')]?_0x17422f[_0x0ab4('0x15')]['raw']===undefined?!![]:![]:!![],'where':_0x17422f['options']?_0x17422f[_0x0ab4('0x15')]['where']||null:null,'attributes':_0x17422f[_0x0ab4('0x15')]?_0x17422f[_0x0ab4('0x15')]['attributes']||null:null,'limit':_0x17422f[_0x0ab4('0x15')]?_0x17422f[_0x0ab4('0x15')][_0x0ab4('0x16')]||null:null,'include':_0x17422f[_0x0ab4('0x15')]?_0x17422f[_0x0ab4('0x15')]['include']?_['map'](_0x17422f[_0x0ab4('0x15')][_0x0ab4('0x17')],function(_0x392afe){return{'model':db[_0x392afe[_0x0ab4('0x18')]],'as':_0x392afe['as'],'attributes':_0x392afe['attributes'],'include':_0x392afe[_0x0ab4('0x17')]?_[_0x0ab4('0x19')](_0x392afe[_0x0ab4('0x17')],function(_0x4ea9aa){return{'model':db[_0x4ea9aa['model']],'as':_0x4ea9aa['as'],'attributes':_0x4ea9aa[_0x0ab4('0x1a')],'include':_0x4ea9aa[_0x0ab4('0x17')]?_[_0x0ab4('0x19')](_0x4ea9aa['include'],function(_0x519b23){return{'model':db[_0x519b23['model']],'as':_0x519b23['as'],'attributes':_0x519b23[_0x0ab4('0x1a')]};}):[]};}):[]};}):[]:[]})['then'](function(_0x3bf844){logger[_0x0ab4('0x8')]('GetTrigger',_0x17422f);logger['debug']('GetTrigger',_0x17422f,JSON[_0x0ab4('0xd')](_0x3bf844));_0x2f50d2(_0x3bf844);})[_0x0ab4('0x12')](function(_0x1cfdad){logger[_0x0ab4('0xf')](_0x0ab4('0x1b'),_0x1cfdad['message'],_0x17422f);_0x53723c(_0x30d5df['error'](0x1f4,_0x1cfdad['message']));});});};exports[_0x0ab4('0x1c')]=function(_0x2b66d5){var _0x155d96=this;return new Promise(function(_0x182bbe,_0x46eda7){return db['Trigger']['find']({'raw':_0x2b66d5[_0x0ab4('0x15')]?_0x2b66d5[_0x0ab4('0x15')][_0x0ab4('0x1d')]===undefined?!![]:![]:!![],'where':_0x2b66d5['options']?_0x2b66d5['options'][_0x0ab4('0x1e')]||null:null,'attributes':_0x2b66d5['options']?_0x2b66d5[_0x0ab4('0x15')][_0x0ab4('0x1a')]||null:null,'include':_0x2b66d5[_0x0ab4('0x15')]?_0x2b66d5[_0x0ab4('0x15')][_0x0ab4('0x17')]?_[_0x0ab4('0x19')](_0x2b66d5['options'][_0x0ab4('0x17')],function(_0x4696fc){return{'model':db[_0x4696fc[_0x0ab4('0x18')]],'as':_0x4696fc['as'],'attributes':_0x4696fc[_0x0ab4('0x1a')],'include':_0x4696fc['include']?_['map'](_0x4696fc[_0x0ab4('0x17')],function(_0x3e65a1){return{'model':db[_0x3e65a1[_0x0ab4('0x18')]],'as':_0x3e65a1['as'],'attributes':_0x3e65a1['attributes'],'include':_0x3e65a1['include']?_['map'](_0x3e65a1[_0x0ab4('0x17')],function(_0x35eab3){return{'model':db[_0x35eab3[_0x0ab4('0x18')]],'as':_0x35eab3['as'],'attributes':_0x35eab3['attributes']};}):[]};}):[]};}):[]:[]})['then'](function(_0x492943){logger[_0x0ab4('0x8')](_0x0ab4('0x1c'),_0x2b66d5);logger[_0x0ab4('0xb')](_0x0ab4('0x1c'),_0x2b66d5,JSON[_0x0ab4('0xd')](_0x492943));_0x182bbe(_0x492943);})[_0x0ab4('0x12')](function(_0x52d9bf){logger[_0x0ab4('0xf')](_0x0ab4('0x1c'),_0x52d9bf[_0x0ab4('0x10')],_0x2b66d5);_0x46eda7(_0x155d96['error'](0x1f4,_0x52d9bf[_0x0ab4('0x10')]));});});}; \ No newline at end of file diff --git a/server/api/trunk/index.js b/server/api/trunk/index.js index 10e8b90..b870d73 100644 --- a/server/api/trunk/index.js +++ b/server/api/trunk/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x5fd1=['path','connect-timeout','express','../../components/interaction/service','../../config/environment','./trunk.controller','isAuthenticated','index','get','/:id','post','/:id/clone','create','put','delete','destroy','exports','multer'];(function(_0x4a25e3,_0xffc2aa){var _0xc2ac02=function(_0x1f0eba){while(--_0x1f0eba){_0x4a25e3['push'](_0x4a25e3['shift']());}};_0xc2ac02(++_0xffc2aa);}(_0x5fd1,0x155));var _0x15fd=function(_0x13623f,_0x12f3e5){_0x13623f=_0x13623f-0x0;var _0x26b734=_0x5fd1[_0x13623f];return _0x26b734;};'use strict';var multer=require(_0x15fd('0x0'));var util=require('util');var path=require(_0x15fd('0x1'));var timeout=require(_0x15fd('0x2'));var express=require(_0x15fd('0x3'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require(_0x15fd('0x4'));var config=require(_0x15fd('0x5'));var controller=require(_0x15fd('0x6'));router['get']('/',auth[_0x15fd('0x7')](),controller[_0x15fd('0x8')]);router[_0x15fd('0x9')](_0x15fd('0xa'),auth[_0x15fd('0x7')](),controller['show']);router[_0x15fd('0xb')](_0x15fd('0xc'),auth[_0x15fd('0x7')](),controller['clone']);router[_0x15fd('0xb')]('/',auth['isAuthenticated'](),controller[_0x15fd('0xd')]);router[_0x15fd('0xe')]('/:id',auth['isAuthenticated'](),controller['update']);router[_0x15fd('0xf')](_0x15fd('0xa'),auth[_0x15fd('0x7')](),controller[_0x15fd('0x10')]);module[_0x15fd('0x11')]=router; \ No newline at end of file +var _0x4bc3=['post','/:id/clone','clone','update','destroy','exports','multer','util','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./trunk.controller','get','isAuthenticated','index','/:id'];(function(_0xcd07bc,_0x37e885){var _0x5aeb8c=function(_0x26a5ae){while(--_0x26a5ae){_0xcd07bc['push'](_0xcd07bc['shift']());}};_0x5aeb8c(++_0x37e885);}(_0x4bc3,0x16e));var _0x34bc=function(_0x3511d3,_0x4107ae){_0x3511d3=_0x3511d3-0x0;var _0x5d6321=_0x4bc3[_0x3511d3];return _0x5d6321;};'use strict';var multer=require(_0x34bc('0x0'));var util=require(_0x34bc('0x1'));var path=require('path');var timeout=require(_0x34bc('0x2'));var express=require(_0x34bc('0x3'));var router=express['Router']();var auth=require(_0x34bc('0x4'));var interaction=require(_0x34bc('0x5'));var config=require(_0x34bc('0x6'));var controller=require(_0x34bc('0x7'));router[_0x34bc('0x8')]('/',auth[_0x34bc('0x9')](),controller[_0x34bc('0xa')]);router['get'](_0x34bc('0xb'),auth['isAuthenticated'](),controller['show']);router[_0x34bc('0xc')](_0x34bc('0xd'),auth[_0x34bc('0x9')](),controller[_0x34bc('0xe')]);router[_0x34bc('0xc')]('/',auth[_0x34bc('0x9')](),controller['create']);router['put'](_0x34bc('0xb'),auth[_0x34bc('0x9')](),controller[_0x34bc('0xf')]);router['delete'](_0x34bc('0xb'),auth['isAuthenticated'](),controller[_0x34bc('0x10')]);module[_0x34bc('0x11')]=router; \ No newline at end of file diff --git a/server/api/trunk/trunk.attributes.js b/server/api/trunk/trunk.attributes.js index 135589c..0547f4d 100644 --- a/server/api/trunk/trunk.attributes.js +++ b/server/api/trunk/trunk.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x73b1=['sequelize','exports','name','friend','user','STRING','from-voip-provider','ALLOWED_NOT_SCREENED','ALLOWED_PASSED_SCREEN','ALLOWED','PROHIB_NOT_SCREENED','PROHIB_PASSED_SCREEN','PROHIB_FAILED_SCREEN','PROHIB','udp','setDataValue','transport','join','getDataValue','split','rfc2833','info','shortinfo','inband','auto','ENUM','nonat','update','outgoing','yes','nat','String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22force_rport\x22,\x20\x22comedia\x22]','all','allow','ulaw;alaw;gsm','String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22ulaw\x22,\x20\x22alaw\x22,\x20\x22alaw\x22]','port,invite','insecure','String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22port\x22,\x20\x22invite\x22]','INTEGER','\x22\x22\x20<>','always','accept','refuse','uac','uas','pai','fingerprint','certificate','passive','actpass','dynamic','BOOLEAN'];(function(_0x564e25,_0x1de68c){var _0x318447=function(_0x42cbd9){while(--_0x42cbd9){_0x564e25['push'](_0x564e25['shift']());}};_0x318447(++_0x1de68c);}(_0x73b1,0x1dd));var _0x173b=function(_0x3ff25a,_0x1b7b9b){_0x3ff25a=_0x3ff25a-0x0;var _0x392b79=_0x73b1[_0x3ff25a];return _0x392b79;};'use strict';var Sequelize=require(_0x173b('0x0'));module[_0x173b('0x1')]={'name':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0x173b('0x2'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'type':{'type':Sequelize['ENUM'](_0x173b('0x3'),_0x173b('0x4'),'peer'),'allowNull':![],'defaultValue':'friend'},'context':{'type':Sequelize[_0x173b('0x5')],'allowNull':![],'defaultValue':_0x173b('0x6')},'callingpres':{'type':Sequelize['ENUM'](_0x173b('0x7'),_0x173b('0x8'),'ALLOWED_FAILED_SCREEN',_0x173b('0x9'),_0x173b('0xa'),_0x173b('0xb'),_0x173b('0xc'),_0x173b('0xd'))},'deny':{'type':Sequelize[_0x173b('0x5')]},'permit':{'type':Sequelize['STRING']},'secret':{'type':Sequelize[_0x173b('0x5')]},'md5secret':{'type':Sequelize[_0x173b('0x5')]},'remotesecret':{'type':Sequelize[_0x173b('0x5')]},'transport':{'type':Sequelize['STRING'],'defaultValue':_0x173b('0xe'),'set':function(_0x137dc9){this[_0x173b('0xf')](_0x173b('0x10'),_0x137dc9?_0x137dc9[_0x173b('0x11')](','):null);},'get':function(){return this['getDataValue'](_0x173b('0x10'))?this[_0x173b('0x12')]('transport')[_0x173b('0x13')](','):null;},'comment':'String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22udp\x22,\x20\x22tcp\x22]'},'dtmfmode':{'type':Sequelize['ENUM'](_0x173b('0x14'),_0x173b('0x15'),_0x173b('0x16'),_0x173b('0x17'),_0x173b('0x18')),'defaultValue':_0x173b('0x14')},'directmedia':{'type':Sequelize[_0x173b('0x19')]('yes','no',_0x173b('0x1a'),_0x173b('0x1b'),_0x173b('0x1c')),'defaultValue':'no'},'directrtpsetup':{'type':Sequelize['ENUM'](_0x173b('0x1d'),'no'),'defaultValue':'no'},'directmediapermit':{'type':Sequelize['STRING']},'directmediadeny':{'type':Sequelize['STRING']},'nat':{'type':Sequelize['STRING'],'defaultValue':'force_rport,comedia','set':function(_0x4be49b){this[_0x173b('0xf')](_0x173b('0x1e'),_0x4be49b?_0x4be49b[_0x173b('0x11')](','):null);},'get':function(){return this[_0x173b('0x12')](_0x173b('0x1e'))?this['getDataValue']('nat')[_0x173b('0x13')](','):null;},'comment':_0x173b('0x1f')},'callgroup':{'type':Sequelize[_0x173b('0x5')]},'namedcallgroup':{'type':Sequelize[_0x173b('0x5')]},'pickupgroup':{'type':Sequelize[_0x173b('0x5')]},'namedpickupgroup':{'type':Sequelize['STRING']},'language':{'type':Sequelize[_0x173b('0x5')],'defaultValue':'en'},'tonezone':{'type':Sequelize[_0x173b('0x5')],'allowNull':!![]},'disallow':{'type':Sequelize[_0x173b('0x5')],'defaultValue':_0x173b('0x20')},'allow':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':'ulaw;alaw;gsm','set':function(_0x23cf30){this['setDataValue'](_0x173b('0x21'),_0x23cf30?_0x23cf30['join'](';'):_0x173b('0x22'));},'get':function(){return this['getDataValue'](_0x173b('0x21'))?this[_0x173b('0x12')]('allow')['split'](';'):null;},'comment':_0x173b('0x23')},'autoframing':{'type':Sequelize['ENUM'](_0x173b('0x1d'),'no')},'insecure':{'type':Sequelize['STRING'],'defaultValue':_0x173b('0x24'),'set':function(_0x3facd1){this[_0x173b('0xf')](_0x173b('0x25'),_0x3facd1?_0x3facd1[_0x173b('0x11')](','):null);},'get':function(){return this[_0x173b('0x12')](_0x173b('0x25'))?this['getDataValue']('insecure')[_0x173b('0x13')](','):null;},'comment':_0x173b('0x26')},'trustrpid':{'type':Sequelize[_0x173b('0x19')](_0x173b('0x1d'),'no'),'defaultValue':'no'},'trust_id_outbound':{'type':Sequelize[_0x173b('0x19')](_0x173b('0x1d'),'no'),'defaultValue':'no'},'progressinband':{'type':Sequelize['ENUM'](_0x173b('0x1d'),'no','never')},'promiscredir':{'type':Sequelize[_0x173b('0x19')](_0x173b('0x1d'),'no')},'useclientcode':{'type':Sequelize[_0x173b('0x19')](_0x173b('0x1d'),'no')},'accountcode':{'type':Sequelize[_0x173b('0x27')](0xb)},'setvar':{'type':Sequelize['STRING']},'callerid':{'type':Sequelize['STRING'],'defaultValue':_0x173b('0x28')},'amaflags':{'type':Sequelize[_0x173b('0x5')]},'callcounter':{'type':Sequelize[_0x173b('0x19')](_0x173b('0x1d'),'no'),'defaultValue':'yes'},'busylevel':{'type':Sequelize[_0x173b('0x27')](0xb)},'allowoverlap':{'type':Sequelize[_0x173b('0x19')](_0x173b('0x1d'),'no')},'allowsubscribe':{'type':Sequelize[_0x173b('0x19')]('yes','no')},'allowtransfer':{'type':Sequelize[_0x173b('0x19')]('yes','no')},'ignoresdpversion':{'type':Sequelize[_0x173b('0x19')](_0x173b('0x1d'),'no')},'subscribecontext':{'type':Sequelize[_0x173b('0x5')]},'template':{'type':Sequelize[_0x173b('0x5')]},'videosupport':{'type':Sequelize[_0x173b('0x19')]('yes','no',_0x173b('0x29')),'defaultValue':'no'},'maxcallbitrate':{'type':Sequelize[_0x173b('0x27')](0xb)},'rfc2833compensate':{'type':Sequelize[_0x173b('0x19')]('yes','no')},'mailbox':{'type':Sequelize[_0x173b('0x5')]},'session_timers':{'type':Sequelize[_0x173b('0x19')](_0x173b('0x2a'),_0x173b('0x2b'),'originate')},'session_expires':{'type':Sequelize[_0x173b('0x27')](0xb)},'session_minse':{'type':Sequelize[_0x173b('0x27')](0xb)},'session_refresher':{'type':Sequelize[_0x173b('0x19')](_0x173b('0x2c'),_0x173b('0x2d')),'defaultValue':_0x173b('0x2d')},'t38pt_usertpsource':{'type':Sequelize[_0x173b('0x5')]},'regexten':{'type':Sequelize[_0x173b('0x5')]},'fromdomain':{'type':Sequelize[_0x173b('0x5')]},'fromuser':{'type':Sequelize[_0x173b('0x5')]},'port':{'type':Sequelize[_0x173b('0x27')](0x5)},'qualify':{'type':Sequelize['ENUM'](_0x173b('0x1d'),'no'),'defaultValue':'yes'},'keepalive':{'type':Sequelize[_0x173b('0x27')](0xb)},'defaultip':{'type':Sequelize['STRING']},'defaultuser':{'type':Sequelize[_0x173b('0x5')]},'rtptimeout':{'type':Sequelize['INTEGER'](0xb)},'rtpholdtimeout':{'type':Sequelize[_0x173b('0x27')](0xb)},'rtpkeepalive':{'type':Sequelize[_0x173b('0x27')](0xb)},'sendrpid':{'type':Sequelize['ENUM'](_0x173b('0x1d'),'no',_0x173b('0x2e')),'defaultValue':'no'},'outboundproxy':{'type':Sequelize[_0x173b('0x5')]},'callbackextension':{'type':Sequelize[_0x173b('0x5')]},'timert1':{'type':Sequelize['INTEGER'](0xb)},'timerb':{'type':Sequelize['INTEGER'](0xb)},'qualifyfreq':{'type':Sequelize[_0x173b('0x27')](0xb)},'contactpermit':{'type':Sequelize[_0x173b('0x5')]},'contactdeny':{'type':Sequelize[_0x173b('0x5')]},'contactacl':{'type':Sequelize[_0x173b('0x5')]},'unsolicited_mailbox':{'type':Sequelize['STRING']},'use_q850_reason':{'type':Sequelize['STRING']},'maxforwards':{'type':Sequelize[_0x173b('0x27')](0xb)},'encryption':{'type':Sequelize[_0x173b('0x19')]('yes','no'),'defaultValue':'no'},'avpf':{'type':Sequelize['ENUM'](_0x173b('0x1d'),'no')},'force_avp':{'type':Sequelize[_0x173b('0x19')](_0x173b('0x1d'),'no')},'icesupport':{'type':Sequelize['ENUM']('yes','no')},'dtlsenable':{'type':Sequelize[_0x173b('0x19')](_0x173b('0x1d'),'no')},'dtlsverify':{'type':Sequelize[_0x173b('0x19')](_0x173b('0x1d'),'no',_0x173b('0x2f'),_0x173b('0x30'))},'dtlsrekey':{'type':Sequelize['INTEGER'](0xb)},'dtlscertfile':{'type':Sequelize['STRING']},'dtlsprivatekey':{'type':Sequelize[_0x173b('0x5')]},'dtlscipher':{'type':Sequelize['STRING']},'dtlscafile':{'type':Sequelize[_0x173b('0x5')]},'dtlscapath':{'type':Sequelize[_0x173b('0x5')]},'dtlssetup':{'type':Sequelize[_0x173b('0x19')]('active',_0x173b('0x31'),_0x173b('0x32')),'allowNull':!![]},'dtlsfingerprint':{'type':Sequelize[_0x173b('0x5')]},'usereqphone':{'type':Sequelize[_0x173b('0x19')](_0x173b('0x1d'),'no'),'defaultValue':'no'},'recordonfeature':{'type':Sequelize[_0x173b('0x5')]},'recordofffeature':{'type':Sequelize[_0x173b('0x5')]},'call_limit':{'type':Sequelize[_0x173b('0x27')](0xb),'defaultValue':0x3e8},'registertrying':{'type':Sequelize[_0x173b('0x19')](_0x173b('0x1d'),'no')},'subscribemwi':{'type':Sequelize[_0x173b('0x19')]('yes','no')},'vmexten':{'type':Sequelize[_0x173b('0x5')]},'mohinterpret':{'type':Sequelize[_0x173b('0x5')]},'mohsuggest':{'type':Sequelize[_0x173b('0x5')]},'parkinglot':{'type':Sequelize[_0x173b('0x5')]},'description':{'type':Sequelize[_0x173b('0x5')]},'host':{'type':Sequelize[_0x173b('0x5')],'defaultValue':_0x173b('0x33')},'canreinvite':{'type':Sequelize[_0x173b('0x19')](_0x173b('0x1d'),'no',_0x173b('0x1a'),_0x173b('0x1b'),'update,nonat'),'defaultValue':'no'},'registry':{'type':Sequelize[_0x173b('0x5')]},'otherFields':{'type':Sequelize[_0x173b('0x5')]},'active':{'type':Sequelize[_0x173b('0x34')],'allowNull':![],'defaultValue':!![]},'t38pt_udptl':{'type':Sequelize[_0x173b('0x5')],'defaultValue':'no'}}; \ No newline at end of file +var _0x26d8=['uas','pai','fingerprint','active','dynamic','update','update,nonat','BOOLEAN','sequelize','exports','STRING','name','ENUM','peer','friend','ALLOWED_NOT_SCREENED','ALLOWED_PASSED_SCREEN','ALLOWED','PROHIB_PASSED_SCREEN','PROHIB_FAILED_SCREEN','PROHIB','setDataValue','transport','join','getDataValue','split','String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22udp\x22,\x20\x22tcp\x22]','rfc2833','info','shortinfo','inband','auto','yes','outgoing','nat','String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22force_rport\x22,\x20\x22comedia\x22]','ulaw;alaw;gsm','allow','String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22ulaw\x22,\x20\x22alaw\x22,\x20\x22alaw\x22]','insecure','String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22port\x22,\x20\x22invite\x22]','never','INTEGER','\x22\x22\x20<>','always','accept','refuse','originate','uac'];(function(_0x44f40a,_0xa71e40){var _0x3ac45a=function(_0x157de7){while(--_0x157de7){_0x44f40a['push'](_0x44f40a['shift']());}};_0x3ac45a(++_0xa71e40);}(_0x26d8,0xcc));var _0x826d=function(_0x1616d4,_0x294a2f){_0x1616d4=_0x1616d4-0x0;var _0x237dbe=_0x26d8[_0x1616d4];return _0x237dbe;};'use strict';var Sequelize=require(_0x826d('0x0'));module[_0x826d('0x1')]={'name':{'type':Sequelize[_0x826d('0x2')],'allowNull':![],'unique':_0x826d('0x3'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'type':{'type':Sequelize[_0x826d('0x4')]('friend','user',_0x826d('0x5')),'allowNull':![],'defaultValue':_0x826d('0x6')},'context':{'type':Sequelize[_0x826d('0x2')],'allowNull':![],'defaultValue':'from-voip-provider'},'callingpres':{'type':Sequelize[_0x826d('0x4')](_0x826d('0x7'),_0x826d('0x8'),'ALLOWED_FAILED_SCREEN',_0x826d('0x9'),'PROHIB_NOT_SCREENED',_0x826d('0xa'),_0x826d('0xb'),_0x826d('0xc'))},'deny':{'type':Sequelize[_0x826d('0x2')]},'permit':{'type':Sequelize['STRING']},'secret':{'type':Sequelize['STRING']},'md5secret':{'type':Sequelize[_0x826d('0x2')]},'remotesecret':{'type':Sequelize[_0x826d('0x2')]},'transport':{'type':Sequelize['STRING'],'defaultValue':'udp','set':function(_0x2be983){this[_0x826d('0xd')](_0x826d('0xe'),_0x2be983?_0x2be983[_0x826d('0xf')](','):null);},'get':function(){return this[_0x826d('0x10')](_0x826d('0xe'))?this[_0x826d('0x10')](_0x826d('0xe'))[_0x826d('0x11')](','):null;},'comment':_0x826d('0x12')},'dtmfmode':{'type':Sequelize['ENUM'](_0x826d('0x13'),_0x826d('0x14'),_0x826d('0x15'),_0x826d('0x16'),_0x826d('0x17')),'defaultValue':'rfc2833'},'directmedia':{'type':Sequelize[_0x826d('0x4')](_0x826d('0x18'),'no','nonat','update',_0x826d('0x19')),'defaultValue':'no'},'directrtpsetup':{'type':Sequelize[_0x826d('0x4')]('yes','no'),'defaultValue':'no'},'directmediapermit':{'type':Sequelize[_0x826d('0x2')]},'directmediadeny':{'type':Sequelize['STRING']},'nat':{'type':Sequelize[_0x826d('0x2')],'defaultValue':'force_rport,comedia','set':function(_0x40dbc4){this['setDataValue'](_0x826d('0x1a'),_0x40dbc4?_0x40dbc4['join'](','):null);},'get':function(){return this[_0x826d('0x10')]('nat')?this[_0x826d('0x10')]('nat')[_0x826d('0x11')](','):null;},'comment':_0x826d('0x1b')},'callgroup':{'type':Sequelize[_0x826d('0x2')]},'namedcallgroup':{'type':Sequelize['STRING']},'pickupgroup':{'type':Sequelize[_0x826d('0x2')]},'namedpickupgroup':{'type':Sequelize[_0x826d('0x2')]},'language':{'type':Sequelize['STRING'],'defaultValue':'en'},'tonezone':{'type':Sequelize['STRING'],'allowNull':!![]},'disallow':{'type':Sequelize['STRING'],'defaultValue':'all'},'allow':{'type':Sequelize[_0x826d('0x2')],'allowNull':![],'defaultValue':_0x826d('0x1c'),'set':function(_0x1fa3a1){this['setDataValue']('allow',_0x1fa3a1?_0x1fa3a1[_0x826d('0xf')](';'):_0x826d('0x1c'));},'get':function(){return this['getDataValue'](_0x826d('0x1d'))?this[_0x826d('0x10')](_0x826d('0x1d'))[_0x826d('0x11')](';'):null;},'comment':_0x826d('0x1e')},'autoframing':{'type':Sequelize[_0x826d('0x4')](_0x826d('0x18'),'no')},'insecure':{'type':Sequelize[_0x826d('0x2')],'defaultValue':'port,invite','set':function(_0x43b01a){this[_0x826d('0xd')](_0x826d('0x1f'),_0x43b01a?_0x43b01a['join'](','):null);},'get':function(){return this['getDataValue'](_0x826d('0x1f'))?this[_0x826d('0x10')](_0x826d('0x1f'))[_0x826d('0x11')](','):null;},'comment':_0x826d('0x20')},'trustrpid':{'type':Sequelize['ENUM']('yes','no'),'defaultValue':'no'},'trust_id_outbound':{'type':Sequelize[_0x826d('0x4')]('yes','no'),'defaultValue':'no'},'progressinband':{'type':Sequelize['ENUM'](_0x826d('0x18'),'no',_0x826d('0x21'))},'promiscredir':{'type':Sequelize['ENUM'](_0x826d('0x18'),'no')},'useclientcode':{'type':Sequelize[_0x826d('0x4')](_0x826d('0x18'),'no')},'accountcode':{'type':Sequelize[_0x826d('0x22')](0xb)},'setvar':{'type':Sequelize['STRING']},'callerid':{'type':Sequelize['STRING'],'defaultValue':_0x826d('0x23')},'amaflags':{'type':Sequelize[_0x826d('0x2')]},'callcounter':{'type':Sequelize[_0x826d('0x4')]('yes','no'),'defaultValue':_0x826d('0x18')},'busylevel':{'type':Sequelize['INTEGER'](0xb)},'allowoverlap':{'type':Sequelize[_0x826d('0x4')](_0x826d('0x18'),'no')},'allowsubscribe':{'type':Sequelize[_0x826d('0x4')](_0x826d('0x18'),'no')},'allowtransfer':{'type':Sequelize[_0x826d('0x4')]('yes','no')},'ignoresdpversion':{'type':Sequelize[_0x826d('0x4')](_0x826d('0x18'),'no')},'subscribecontext':{'type':Sequelize[_0x826d('0x2')]},'template':{'type':Sequelize[_0x826d('0x2')]},'videosupport':{'type':Sequelize[_0x826d('0x4')](_0x826d('0x18'),'no',_0x826d('0x24')),'defaultValue':'no'},'maxcallbitrate':{'type':Sequelize[_0x826d('0x22')](0xb)},'rfc2833compensate':{'type':Sequelize[_0x826d('0x4')]('yes','no')},'mailbox':{'type':Sequelize[_0x826d('0x2')]},'session_timers':{'type':Sequelize[_0x826d('0x4')](_0x826d('0x25'),_0x826d('0x26'),_0x826d('0x27'))},'session_expires':{'type':Sequelize[_0x826d('0x22')](0xb)},'session_minse':{'type':Sequelize[_0x826d('0x22')](0xb)},'session_refresher':{'type':Sequelize['ENUM'](_0x826d('0x28'),_0x826d('0x29')),'defaultValue':'uas'},'t38pt_usertpsource':{'type':Sequelize[_0x826d('0x2')]},'regexten':{'type':Sequelize['STRING']},'fromdomain':{'type':Sequelize[_0x826d('0x2')]},'fromuser':{'type':Sequelize['STRING']},'port':{'type':Sequelize[_0x826d('0x22')](0x5)},'qualify':{'type':Sequelize['ENUM'](_0x826d('0x18'),'no'),'defaultValue':_0x826d('0x18')},'keepalive':{'type':Sequelize[_0x826d('0x22')](0xb)},'defaultip':{'type':Sequelize[_0x826d('0x2')]},'defaultuser':{'type':Sequelize['STRING']},'rtptimeout':{'type':Sequelize[_0x826d('0x22')](0xb)},'rtpholdtimeout':{'type':Sequelize[_0x826d('0x22')](0xb)},'rtpkeepalive':{'type':Sequelize['INTEGER'](0xb)},'sendrpid':{'type':Sequelize[_0x826d('0x4')]('yes','no',_0x826d('0x2a')),'defaultValue':'no'},'outboundproxy':{'type':Sequelize['STRING']},'callbackextension':{'type':Sequelize[_0x826d('0x2')]},'timert1':{'type':Sequelize['INTEGER'](0xb)},'timerb':{'type':Sequelize[_0x826d('0x22')](0xb)},'qualifyfreq':{'type':Sequelize[_0x826d('0x22')](0xb)},'contactpermit':{'type':Sequelize[_0x826d('0x2')]},'contactdeny':{'type':Sequelize[_0x826d('0x2')]},'contactacl':{'type':Sequelize['STRING']},'unsolicited_mailbox':{'type':Sequelize['STRING']},'use_q850_reason':{'type':Sequelize[_0x826d('0x2')]},'maxforwards':{'type':Sequelize[_0x826d('0x22')](0xb)},'encryption':{'type':Sequelize[_0x826d('0x4')](_0x826d('0x18'),'no'),'defaultValue':'no'},'avpf':{'type':Sequelize[_0x826d('0x4')](_0x826d('0x18'),'no')},'force_avp':{'type':Sequelize[_0x826d('0x4')]('yes','no')},'icesupport':{'type':Sequelize['ENUM']('yes','no')},'dtlsenable':{'type':Sequelize[_0x826d('0x4')](_0x826d('0x18'),'no')},'dtlsverify':{'type':Sequelize['ENUM'](_0x826d('0x18'),'no',_0x826d('0x2b'),'certificate')},'dtlsrekey':{'type':Sequelize['INTEGER'](0xb)},'dtlscertfile':{'type':Sequelize[_0x826d('0x2')]},'dtlsprivatekey':{'type':Sequelize[_0x826d('0x2')]},'dtlscipher':{'type':Sequelize[_0x826d('0x2')]},'dtlscafile':{'type':Sequelize[_0x826d('0x2')]},'dtlscapath':{'type':Sequelize['STRING']},'dtlssetup':{'type':Sequelize[_0x826d('0x4')](_0x826d('0x2c'),'passive','actpass'),'allowNull':!![]},'dtlsfingerprint':{'type':Sequelize['STRING']},'usereqphone':{'type':Sequelize[_0x826d('0x4')](_0x826d('0x18'),'no'),'defaultValue':'no'},'recordonfeature':{'type':Sequelize[_0x826d('0x2')]},'recordofffeature':{'type':Sequelize[_0x826d('0x2')]},'call_limit':{'type':Sequelize['INTEGER'](0xb),'defaultValue':0x3e8},'registertrying':{'type':Sequelize[_0x826d('0x4')]('yes','no')},'subscribemwi':{'type':Sequelize[_0x826d('0x4')](_0x826d('0x18'),'no')},'vmexten':{'type':Sequelize[_0x826d('0x2')]},'mohinterpret':{'type':Sequelize[_0x826d('0x2')]},'mohsuggest':{'type':Sequelize[_0x826d('0x2')]},'parkinglot':{'type':Sequelize[_0x826d('0x2')]},'description':{'type':Sequelize[_0x826d('0x2')]},'host':{'type':Sequelize[_0x826d('0x2')],'defaultValue':_0x826d('0x2d')},'canreinvite':{'type':Sequelize[_0x826d('0x4')](_0x826d('0x18'),'no','nonat',_0x826d('0x2e'),_0x826d('0x2f')),'defaultValue':'no'},'registry':{'type':Sequelize[_0x826d('0x2')]},'otherFields':{'type':Sequelize['STRING']},'active':{'type':Sequelize[_0x826d('0x30')],'allowNull':![],'defaultValue':!![]},'t38pt_udptl':{'type':Sequelize[_0x826d('0x2')],'defaultValue':'no'}}; \ No newline at end of file diff --git a/server/api/trunk/trunk.controller.js b/server/api/trunk/trunk.controller.js index e37810a..9be2516 100644 --- a/server/api/trunk/trunk.controller.js +++ b/server/api/trunk/trunk.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x88c3=['Trunk','rawAttributes','fieldName','key','model','map','query','keys','filters','intersection','attributes','fields','nolimit','limit','sort','pick','filter','where','type','VIRTUAL','options','includeAll','include','rows','show','params','merge','find','clone','omit','createdAt','updatedAt','body','user','UserProfileSection','autoAssociation','create','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','findAll','readFileSync','join','root','utf8','server/files/templates/registry.ejs','/etc/asterisk/sip_xcally_trunks.conf','registry','render','writeFileSync','/etc/asterisk/sip_xcally_registers.conf','chan_sip.so','userProfileId','server/files/templates/trunk.ejs','Reload','destroy','html-pdf','rimraf','request-promise','mustache','util','path','sox','to-csv','ejs','squel','crypto','jsforce','desk.js','querystring','papaparse','ioredis','../../components/parsers/qs','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','jayson/promise','client','http','test','Sequelize','The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.','request','info','debug','Trunk,\x20%s,\x20%s,\x20%s','request\x20sent','error','code','Trunk,\x20%s,\x20%s','result','message','catch','status','json','count','offset','set','Content-Range','apply','reject','save','then','get','Trunks','UserProfileResource','sendStatus','name','send','index'];(function(_0xf2267d,_0x10c87c){var _0x207e0d=function(_0x12b23d){while(--_0x12b23d){_0xf2267d['push'](_0xf2267d['shift']());}};_0x207e0d(++_0x10c87c);}(_0x88c3,0x1ee));var _0x388c=function(_0x2925ce,_0x944469){_0x2925ce=_0x2925ce-0x0;var _0x3c4445=_0x88c3[_0x2925ce];return _0x3c4445;};'use strict';var pdf=require(_0x388c('0x0'));var emlformat=require('eml-format');var rimraf=require(_0x388c('0x1'));var zipdir=require('zip-dir');var jsonpatch=require('fast-json-patch');var rp=require(_0x388c('0x2'));var moment=require('moment');var BPromise=require('bluebird');var Mustache=require(_0x388c('0x3'));var util=require(_0x388c('0x4'));var path=require(_0x388c('0x5'));var sox=require(_0x388c('0x6'));var csv=require(_0x388c('0x7'));var ejs=require(_0x388c('0x8'));var fs=require('fs');var _=require('lodash');var squel=require(_0x388c('0x9'));var crypto=require(_0x388c('0xa'));var jsforce=require(_0x388c('0xb'));var deskjs=require(_0x388c('0xc'));var toCsv=require(_0x388c('0x7'));var querystring=require(_0x388c('0xd'));var Papa=require(_0x388c('0xe'));var Redis=require(_0x388c('0xf'));var authService=require('../../components/auth/service');var qs=require(_0x388c('0x10'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require('../../config/license/hardware');var logger=require(_0x388c('0x11'))(_0x388c('0x12'));var utils=require(_0x388c('0x13'));var config=require(_0x388c('0x14'));var db=require(_0x388c('0x15'))['db'];var jayson=require(_0x388c('0x16'));var client=jayson[_0x388c('0x17')][_0x388c('0x18')]({'port':0x232a});function checkPasswordPattern(_0x262ed1,_0x5e82b1,_0x59f5f8){if(_0x59f5f8){var _0x5b25db=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0x5b25db[_0x388c('0x19')](_0x5e82b1)){return _0x262ed1;}else{throw new db[(_0x388c('0x1a'))]['ValidationError'](_0x388c('0x1b'));}}else{return _0x262ed1;}}function respondWithRpcPromise(_0x4120b4,_0x5808fd,_0x56eb71,_0x76001f){return new BPromise(function(_0x3c5444,_0x42f3e1){var _0x4d5230=_0x76001f||client;return _0x4d5230[_0x388c('0x1c')](_0x4120b4,_0x56eb71)['then'](function(_0x6a080c){logger[_0x388c('0x1d')]('Trunk,\x20%s,\x20%s',_0x5808fd,'request\x20sent');logger[_0x388c('0x1e')](_0x388c('0x1f'),_0x5808fd,_0x388c('0x20'),JSON['stringify'](_0x6a080c));if(_0x6a080c[_0x388c('0x21')]){if(_0x6a080c['error'][_0x388c('0x22')]===0x1f4){logger[_0x388c('0x21')](_0x388c('0x23'),_0x5808fd,_0x6a080c['error']['message']);return _0x42f3e1(_0x6a080c['error']['message']);}logger[_0x388c('0x21')]('Trunk,\x20%s,\x20%s',_0x5808fd,_0x6a080c[_0x388c('0x21')]['message']);return _0x3c5444(_0x6a080c[_0x388c('0x21')]['message']);}else{logger[_0x388c('0x1d')]('Trunk,\x20%s,\x20%s',_0x5808fd,_0x388c('0x20'));_0x3c5444(_0x6a080c[_0x388c('0x24')][_0x388c('0x25')]);}})[_0x388c('0x26')](function(_0x340aba){logger[_0x388c('0x21')](_0x388c('0x23'),_0x5808fd,_0x340aba);_0x42f3e1(_0x340aba);});});}function respondWithStatusCode(_0x7ee3c8,_0x24b6a1){_0x24b6a1=_0x24b6a1||0xcc;return function(_0x522ecd){if(_0x522ecd){return _0x7ee3c8['sendStatus'](_0x24b6a1);}return _0x7ee3c8[_0x388c('0x27')](_0x24b6a1)['end']();};}function respondWithResult(_0x4d6589,_0x57c435){_0x57c435=_0x57c435||0xc8;return function(_0x201ecd){if(_0x201ecd){return _0x4d6589[_0x388c('0x27')](_0x57c435)[_0x388c('0x28')](_0x201ecd);}};}function respondWithFilteredResult(_0x16de20,_0x41dc6d){return function(_0x3558a9){if(_0x3558a9){var _0x3032f5=_0x3558a9[_0x388c('0x29')],_0x3fbd23=_0x41dc6d[_0x388c('0x2a')],_0x586856=_0x41dc6d['offset']+_0x41dc6d['limit'],_0x45adf9;if(_0x586856>=_0x3032f5){_0x586856=_0x3032f5;_0x45adf9=0xc8;}else{_0x45adf9=0xce;}_0x16de20[_0x388c('0x27')](_0x45adf9);return _0x16de20[_0x388c('0x2b')](_0x388c('0x2c'),_0x3fbd23+'-'+_0x586856+'/'+_0x3032f5)['json'](_0x3558a9);}return null;};}function patchUpdates(_0x309ef5){return function(_0x405eef){try{jsonpatch[_0x388c('0x2d')](_0x405eef,_0x309ef5,!![]);}catch(_0x48cbf8){return BPromise[_0x388c('0x2e')](_0x48cbf8);}return _0x405eef[_0x388c('0x2f')]();};}function saveUpdates(_0x155863,_0x540fbb){return function(_0x5b75fa){if(_0x5b75fa){return _0x5b75fa['update'](_0x155863)[_0x388c('0x30')](function(_0xa6cc8d){return _0xa6cc8d;});}return null;};}function removeEntity(_0x485e06,_0x265d32){return function(_0x1d4cf2){if(_0x1d4cf2){return _0x1d4cf2['destroy']()[_0x388c('0x30')](function(){var _0x309847=_0x1d4cf2[_0x388c('0x31')]({'plain':!![]});var _0x3a3809=_0x388c('0x32');return db[_0x388c('0x33')]['destroy']({'where':{'type':_0x3a3809,'resourceId':_0x309847['id']}})[_0x388c('0x30')](function(){return _0x1d4cf2;});})['then'](function(){_0x485e06['status'](0xcc)['end']();});}};}function handleEntityNotFound(_0x3f8797,_0x38b57d){return function(_0x16a501){if(!_0x16a501){_0x3f8797[_0x388c('0x34')](0x194);}return _0x16a501;};}function handleError(_0x400900,_0x2f9cba){_0x2f9cba=_0x2f9cba||0x1f4;return function(_0x3259b2){logger['error'](_0x3259b2['stack']);if(_0x3259b2[_0x388c('0x35')]){delete _0x3259b2[_0x388c('0x35')];}_0x400900[_0x388c('0x27')](_0x2f9cba)[_0x388c('0x36')](_0x3259b2);};}exports[_0x388c('0x37')]=function(_0x3ce4bf,_0x41e8a1){var _0x1db033={},_0x109fca={},_0x93d6a0={'count':0x0,'rows':[]};var _0x1ccce0=_['map'](db[_0x388c('0x38')][_0x388c('0x39')],function(_0x543b54){return{'name':_0x543b54[_0x388c('0x3a')],'type':_0x543b54['type'][_0x388c('0x3b')]};});_0x109fca[_0x388c('0x3c')]=_[_0x388c('0x3d')](_0x1ccce0,'name');_0x109fca[_0x388c('0x3e')]=_[_0x388c('0x3f')](_0x3ce4bf['query']);_0x109fca[_0x388c('0x40')]=_[_0x388c('0x41')](_0x109fca['model'],_0x109fca[_0x388c('0x3e')]);_0x1db033[_0x388c('0x42')]=_[_0x388c('0x41')](_0x109fca[_0x388c('0x3c')],qs[_0x388c('0x43')](_0x3ce4bf[_0x388c('0x3e')][_0x388c('0x43')]));_0x1db033[_0x388c('0x42')]=_0x1db033['attributes']['length']?_0x1db033['attributes']:_0x109fca[_0x388c('0x3c')];if(!_0x3ce4bf['query']['hasOwnProperty'](_0x388c('0x44'))){_0x1db033[_0x388c('0x45')]=qs[_0x388c('0x45')](_0x3ce4bf['query'][_0x388c('0x45')]);_0x1db033[_0x388c('0x2a')]=qs['offset'](_0x3ce4bf[_0x388c('0x3e')][_0x388c('0x2a')]);}_0x1db033['order']=qs[_0x388c('0x46')](_0x3ce4bf['query'][_0x388c('0x46')]);_0x1db033['where']=qs[_0x388c('0x40')](_[_0x388c('0x47')](_0x3ce4bf[_0x388c('0x3e')],_0x109fca[_0x388c('0x40')]),_0x1ccce0);if(_0x3ce4bf[_0x388c('0x3e')][_0x388c('0x48')]){_0x1db033[_0x388c('0x49')]=_['merge'](_0x1db033[_0x388c('0x49')],{'$or':_[_0x388c('0x3d')](_0x1ccce0,function(_0x5dc87c){if(_0x5dc87c[_0x388c('0x4a')]!==_0x388c('0x4b')){var _0x464e5f={};_0x464e5f[_0x5dc87c[_0x388c('0x35')]]={'$like':'%'+_0x3ce4bf['query']['filter']+'%'};return _0x464e5f;}})});}_0x1db033=_['merge']({},_0x1db033,_0x3ce4bf[_0x388c('0x4c')]);var _0x193064={'where':_0x1db033[_0x388c('0x49')]};return db[_0x388c('0x38')]['count'](_0x193064)[_0x388c('0x30')](function(_0x309c9f){_0x93d6a0[_0x388c('0x29')]=_0x309c9f;if(_0x3ce4bf[_0x388c('0x3e')][_0x388c('0x4d')]){_0x1db033[_0x388c('0x4e')]=[{'all':!![]}];}return db[_0x388c('0x38')]['findAll'](_0x1db033);})[_0x388c('0x30')](function(_0x8e46fb){_0x93d6a0[_0x388c('0x4f')]=_0x8e46fb;return _0x93d6a0;})[_0x388c('0x30')](respondWithFilteredResult(_0x41e8a1,_0x1db033))[_0x388c('0x26')](handleError(_0x41e8a1,null));};exports[_0x388c('0x50')]=function(_0x57d1d1,_0x25830a){var _0x2b2fb4={'raw':![],'where':{'id':_0x57d1d1[_0x388c('0x51')]['id']}},_0x62d590={};_0x62d590[_0x388c('0x3c')]=_[_0x388c('0x3f')](db[_0x388c('0x38')][_0x388c('0x39')]);_0x62d590[_0x388c('0x3e')]=_[_0x388c('0x3f')](_0x57d1d1[_0x388c('0x3e')]);_0x62d590[_0x388c('0x40')]=_[_0x388c('0x41')](_0x62d590[_0x388c('0x3c')],_0x62d590[_0x388c('0x3e')]);_0x2b2fb4[_0x388c('0x42')]=_['intersection'](_0x62d590[_0x388c('0x3c')],qs[_0x388c('0x43')](_0x57d1d1[_0x388c('0x3e')][_0x388c('0x43')]));_0x2b2fb4['attributes']=_0x2b2fb4[_0x388c('0x42')]['length']?_0x2b2fb4[_0x388c('0x42')]:_0x62d590[_0x388c('0x3c')];if(_0x57d1d1['query']['includeAll']){_0x2b2fb4['include']=[{'all':!![]}];}_0x2b2fb4=_[_0x388c('0x52')]({},_0x2b2fb4,_0x57d1d1['options']);return db[_0x388c('0x38')][_0x388c('0x53')](_0x2b2fb4)[_0x388c('0x30')](handleEntityNotFound(_0x25830a,null))[_0x388c('0x30')](respondWithResult(_0x25830a,null))[_0x388c('0x26')](handleError(_0x25830a,null));};exports[_0x388c('0x54')]=function(_0x381820,_0x1e454e){var _0x48ac49={'where':{'id':_0x381820[_0x388c('0x51')]['id']}},_0x3d3d48={};_0x3d3d48['model']=_[_0x388c('0x3f')](db[_0x388c('0x38')][_0x388c('0x39')]);_0x48ac49[_0x388c('0x42')]=_[_0x388c('0x41')](_0x3d3d48['model'],qs[_0x388c('0x43')](_0x381820['query'][_0x388c('0x43')]));_0x48ac49[_0x388c('0x42')]=_0x48ac49[_0x388c('0x42')]['length']?_0x48ac49['attributes']:_0x3d3d48[_0x388c('0x3c')];if(_0x381820[_0x388c('0x3e')][_0x388c('0x4d')]){_0x48ac49['include']=[{'all':!![]}];}_0x48ac49=_[_0x388c('0x52')]({},_0x48ac49,_0x381820['options']);return db[_0x388c('0x38')][_0x388c('0x53')](_0x48ac49)[_0x388c('0x30')](handleEntityNotFound(_0x1e454e,null))[_0x388c('0x30')](function(_0x168b50){if(_0x168b50){var _0x332f8f=_0x168b50[_0x388c('0x31')]({'plain':!![]});_0x332f8f=qs[_0x388c('0x55')](_0x332f8f,['id',_0x388c('0x56'),_0x388c('0x57')]);_0x381820['body']=_[_0x388c('0x55')](_0x381820[_0x388c('0x58')],['id',_0x388c('0x56'),'updatedAt']);return db[_0x388c('0x38')]['create'](_[_0x388c('0x52')](_0x332f8f,_0x381820[_0x388c('0x58')]),{'include':_0x381820[_0x388c('0x3e')][_0x388c('0x4d')]?[{'all':!![]}]:undefined})[_0x388c('0x30')](function(_0xf1e78f){var _0x187699=_0x381820[_0x388c('0x59')][_0x388c('0x31')]({'plain':!![]});if(!_0x187699)throw new Error('Unable\x20to\x20retrieve\x20the\x20current\x20user');if(_0x187699['role']===_0x388c('0x59')){var _0x4a3704=_0xf1e78f[_0x388c('0x31')]({'plain':!![]});var _0x2d2b79='Trunks';return db[_0x388c('0x5a')][_0x388c('0x53')]({'where':{'name':_0x2d2b79,'userProfileId':_0x187699['userProfileId']},'raw':!![]})[_0x388c('0x30')](function(_0x3298a3){if(_0x3298a3&&_0x3298a3[_0x388c('0x5b')]===0x0){return db[_0x388c('0x33')][_0x388c('0x5c')]({'name':_0x4a3704[_0x388c('0x35')],'resourceId':_0x4a3704['id'],'type':_0x3298a3[_0x388c('0x35')],'sectionId':_0x3298a3['id']},{})['then'](function(){return _0xf1e78f;});}else{return _0xf1e78f;}})[_0x388c('0x26')](function(_0x479817){logger[_0x388c('0x21')](_0x388c('0x5d'),_0x479817);throw _0x479817;});}return _0xf1e78f;});}})[_0x388c('0x30')](respondWithResult(_0x1e454e,0xc9))[_0x388c('0x26')](handleError(_0x1e454e,null));};exports[_0x388c('0x5c')]=function(_0x5fb777,_0x2b5363,_0x417bd6){var _0x2a3caa;return db[_0x388c('0x38')][_0x388c('0x5c')](_0x5fb777[_0x388c('0x58')],{'raw':!![]})['then'](function(_0x425570){_0x2a3caa=_0x425570;return db[_0x388c('0x38')][_0x388c('0x5e')]({'raw':!![]});})[_0x388c('0x30')](function(_0x461269){var _0x1af5c2=fs[_0x388c('0x5f')](path[_0x388c('0x60')](config[_0x388c('0x61')],'server/files/templates/trunk.ejs'),_0x388c('0x62'));var _0x323613=fs[_0x388c('0x5f')](path[_0x388c('0x60')](config[_0x388c('0x61')],_0x388c('0x63')),_0x388c('0x62'));var _0x4f0944=ejs['render'](_0x1af5c2,{'trunks':_0x461269||[]});fs['writeFileSync'](_0x388c('0x64'),_0x4f0944);if(_0x2a3caa[_0x388c('0x65')]){var _0x4f1f15=ejs[_0x388c('0x66')](_0x323613,{'trunks':_0x461269||[]});fs[_0x388c('0x67')](_0x388c('0x68'),_0x4f1f15);}})[_0x388c('0x30')](function(){return respondWithRpcPromise('Reload',_0x388c('0x5c'),{'module':_0x388c('0x69')});})[_0x388c('0x30')](function(){var _0x26d656=_0x5fb777['user'][_0x388c('0x31')]({'plain':!![]});if(!_0x26d656)throw new Error('Unable\x20to\x20retrieve\x20the\x20current\x20user');if(_0x26d656['role']==='user'){var _0x10df24=_0x2a3caa[_0x388c('0x31')]({'plain':!![]});return db['UserProfileSection'][_0x388c('0x53')]({'where':{'name':_0x388c('0x32'),'userProfileId':_0x26d656[_0x388c('0x6a')]},'raw':!![]})[_0x388c('0x30')](function(_0x2c9389){if(_0x2c9389&&_0x2c9389[_0x388c('0x5b')]===0x0){return db[_0x388c('0x33')][_0x388c('0x5c')]({'name':_0x10df24[_0x388c('0x35')],'resourceId':_0x10df24['id'],'type':_0x2c9389[_0x388c('0x35')],'sectionId':_0x2c9389['id']},{})[_0x388c('0x30')](function(){return _0x2a3caa;});}else{return _0x2a3caa;}})[_0x388c('0x26')](function(_0x750d2c){logger[_0x388c('0x21')](_0x388c('0x5d'),_0x750d2c);throw _0x750d2c;});}return _0x2a3caa;})[_0x388c('0x30')](respondWithResult(_0x2b5363,0xc9))['catch'](handleError(_0x2b5363,null));};exports['update']=function(_0x2aef67,_0x36ee7c,_0x3484f7){var _0x2f9f9a;return db[_0x388c('0x38')]['find']({'where':{'id':_0x2aef67['params']['id']}})['then'](handleEntityNotFound(_0x36ee7c,null))[_0x388c('0x30')](saveUpdates(_0x2aef67['body'],null))[_0x388c('0x30')](function(_0x214c68){if(_0x214c68){_0x2f9f9a=_0x214c68;return db['Trunk'][_0x388c('0x5e')]({'raw':!![]});}})[_0x388c('0x30')](function(_0x30b5b7){if(_0x30b5b7){var _0x1dc89b=fs['readFileSync'](path[_0x388c('0x60')](config['root'],_0x388c('0x6b')),'utf8');var _0x3c5c1b=fs[_0x388c('0x5f')](path[_0x388c('0x60')](config[_0x388c('0x61')],_0x388c('0x63')),'utf8');var _0x408aa3=ejs['render'](_0x1dc89b,{'trunks':_0x30b5b7||[]});fs[_0x388c('0x67')](_0x388c('0x64'),_0x408aa3);var _0x3c806c=ejs[_0x388c('0x66')](_0x3c5c1b,{'trunks':_0x30b5b7||[]});fs[_0x388c('0x67')](_0x388c('0x68'),_0x3c806c);return respondWithRpcPromise(_0x388c('0x6c'),'update',{'module':_0x388c('0x69')});}return null;})[_0x388c('0x30')](function(_0x487074){if(_0x487074){return _0x2f9f9a;}})[_0x388c('0x30')](respondWithResult(_0x36ee7c,null))[_0x388c('0x26')](handleError(_0x36ee7c,null));};exports['destroy']=function(_0x572fbc,_0x69f061,_0x4e3bfb){var _0xf00559;return db[_0x388c('0x38')][_0x388c('0x53')]({'where':{'id':_0x572fbc[_0x388c('0x51')]['id']}})[_0x388c('0x30')](handleEntityNotFound(_0x69f061,null))[_0x388c('0x30')](removeEntity(_0x69f061,null))['then'](function(){return db[_0x388c('0x38')][_0x388c('0x5e')]({'raw':!![]});})[_0x388c('0x30')](function(_0x346f4f){var _0x44b3a8=fs[_0x388c('0x5f')](path['join'](config['root'],'server/files/templates/trunk.ejs'),_0x388c('0x62'));var _0x46deeb=fs[_0x388c('0x5f')](path['join'](config[_0x388c('0x61')],_0x388c('0x63')),'utf8');var _0x23ff50=ejs[_0x388c('0x66')](_0x44b3a8,{'trunks':_0x346f4f});var _0x304fcd=ejs['render'](_0x46deeb,{'trunks':_0x346f4f});fs[_0x388c('0x67')]('/etc/asterisk/sip_xcally_trunks.conf',_0x23ff50);fs['writeFileSync']('/etc/asterisk/sip_xcally_registers.conf',_0x304fcd);return respondWithRpcPromise('Reload',_0x388c('0x6d'),{'module':_0x388c('0x69')});})[_0x388c('0x26')](handleError(_0x69f061,null));}; \ No newline at end of file +var _0xee4e=['type','key','model','query','intersection','attributes','fields','length','hasOwnProperty','nolimit','sort','pick','filters','filter','where','merge','VIRTUAL','options','includeAll','rows','catch','show','params','keys','rawAttributes','include','clone','find','omit','createdAt','updatedAt','body','create','user','Unable\x20to\x20retrieve\x20the\x20current\x20user','Trunks','UserProfileSection','userProfileId','autoAssociation','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','findAll','readFileSync','join','root','server/files/templates/trunk.ejs','server/files/templates/registry.ejs','writeFileSync','/etc/asterisk/sip_xcally_trunks.conf','registry','render','Reload','chan_sip.so','role','update','utf8','/etc/asterisk/sip_xcally_registers.conf','html-pdf','eml-format','rimraf','fast-json-patch','request-promise','moment','bluebird','mustache','util','path','sox','ejs','lodash','squel','jsforce','desk.js','to-csv','papaparse','ioredis','../../components/auth/service','../../components/parsers/advancedSearch','../../config/logger','api','../../config/utils','../../mysqldb','jayson/promise','client','http','test','Sequelize','ValidationError','then','info','request\x20sent','debug','Trunk,\x20%s,\x20%s,\x20%s','stringify','error','Trunk,\x20%s,\x20%s','message','result','sendStatus','status','end','json','count','offset','limit','apply','reject','save','destroy','get','UserProfileResource','stack','name','send','index','map','Trunk','fieldName'];(function(_0x2b7764,_0x2606f1){var _0x848dcb=function(_0x1ae85b){while(--_0x1ae85b){_0x2b7764['push'](_0x2b7764['shift']());}};_0x848dcb(++_0x2606f1);}(_0xee4e,0x122));var _0xeee4=function(_0x164eca,_0x555e28){_0x164eca=_0x164eca-0x0;var _0x2ce562=_0xee4e[_0x164eca];return _0x2ce562;};'use strict';var pdf=require(_0xeee4('0x0'));var emlformat=require(_0xeee4('0x1'));var rimraf=require(_0xeee4('0x2'));var zipdir=require('zip-dir');var jsonpatch=require(_0xeee4('0x3'));var rp=require(_0xeee4('0x4'));var moment=require(_0xeee4('0x5'));var BPromise=require(_0xeee4('0x6'));var Mustache=require(_0xeee4('0x7'));var util=require(_0xeee4('0x8'));var path=require(_0xeee4('0x9'));var sox=require(_0xeee4('0xa'));var csv=require('to-csv');var ejs=require(_0xeee4('0xb'));var fs=require('fs');var _=require(_0xeee4('0xc'));var squel=require(_0xeee4('0xd'));var crypto=require('crypto');var jsforce=require(_0xeee4('0xe'));var deskjs=require(_0xeee4('0xf'));var toCsv=require(_0xeee4('0x10'));var querystring=require('querystring');var Papa=require(_0xeee4('0x11'));var Redis=require(_0xeee4('0x12'));var authService=require(_0xeee4('0x13'));var qs=require('../../components/parsers/qs');var as=require(_0xeee4('0x14'));var hardwareService=require('../../config/license/hardware');var logger=require(_0xeee4('0x15'))(_0xeee4('0x16'));var utils=require(_0xeee4('0x17'));var config=require('../../config/environment');var db=require(_0xeee4('0x18'))['db'];var jayson=require(_0xeee4('0x19'));var client=jayson[_0xeee4('0x1a')][_0xeee4('0x1b')]({'port':0x232a});function checkPasswordPattern(_0x59921c,_0x4db6a3,_0x3d2721){if(_0x3d2721){var _0x2433dd=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0x2433dd[_0xeee4('0x1c')](_0x4db6a3)){return _0x59921c;}else{throw new db[(_0xeee4('0x1d'))][(_0xeee4('0x1e'))]('The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.');}}else{return _0x59921c;}}function respondWithRpcPromise(_0x4c35e1,_0x288ded,_0x44631d,_0x1fc948){return new BPromise(function(_0x1e0af2,_0xf3e60b){var _0x3cf8eb=_0x1fc948||client;return _0x3cf8eb['request'](_0x4c35e1,_0x44631d)[_0xeee4('0x1f')](function(_0x4d78c6){logger[_0xeee4('0x20')]('Trunk,\x20%s,\x20%s',_0x288ded,_0xeee4('0x21'));logger[_0xeee4('0x22')](_0xeee4('0x23'),_0x288ded,'request\x20sent',JSON[_0xeee4('0x24')](_0x4d78c6));if(_0x4d78c6[_0xeee4('0x25')]){if(_0x4d78c6[_0xeee4('0x25')]['code']===0x1f4){logger[_0xeee4('0x25')](_0xeee4('0x26'),_0x288ded,_0x4d78c6[_0xeee4('0x25')][_0xeee4('0x27')]);return _0xf3e60b(_0x4d78c6['error'][_0xeee4('0x27')]);}logger[_0xeee4('0x25')]('Trunk,\x20%s,\x20%s',_0x288ded,_0x4d78c6[_0xeee4('0x25')][_0xeee4('0x27')]);return _0x1e0af2(_0x4d78c6[_0xeee4('0x25')][_0xeee4('0x27')]);}else{logger['info'](_0xeee4('0x26'),_0x288ded,_0xeee4('0x21'));_0x1e0af2(_0x4d78c6[_0xeee4('0x28')]['message']);}})['catch'](function(_0x2c27e0){logger[_0xeee4('0x25')]('Trunk,\x20%s,\x20%s',_0x288ded,_0x2c27e0);_0xf3e60b(_0x2c27e0);});});}function respondWithStatusCode(_0xe16f11,_0x58b140){_0x58b140=_0x58b140||0xcc;return function(_0x46a6e1){if(_0x46a6e1){return _0xe16f11[_0xeee4('0x29')](_0x58b140);}return _0xe16f11[_0xeee4('0x2a')](_0x58b140)[_0xeee4('0x2b')]();};}function respondWithResult(_0x1f9e12,_0x42b4f9){_0x42b4f9=_0x42b4f9||0xc8;return function(_0x41ef12){if(_0x41ef12){return _0x1f9e12[_0xeee4('0x2a')](_0x42b4f9)[_0xeee4('0x2c')](_0x41ef12);}};}function respondWithFilteredResult(_0x23b33c,_0x5f17a4){return function(_0x5e17c2){if(_0x5e17c2){var _0x344c1b=_0x5e17c2[_0xeee4('0x2d')],_0x249667=_0x5f17a4[_0xeee4('0x2e')],_0x4f0873=_0x5f17a4['offset']+_0x5f17a4[_0xeee4('0x2f')],_0x578bf4;if(_0x4f0873>=_0x344c1b){_0x4f0873=_0x344c1b;_0x578bf4=0xc8;}else{_0x578bf4=0xce;}_0x23b33c[_0xeee4('0x2a')](_0x578bf4);return _0x23b33c['set']('Content-Range',_0x249667+'-'+_0x4f0873+'/'+_0x344c1b)['json'](_0x5e17c2);}return null;};}function patchUpdates(_0x39496b){return function(_0x22567f){try{jsonpatch[_0xeee4('0x30')](_0x22567f,_0x39496b,!![]);}catch(_0x196ec5){return BPromise[_0xeee4('0x31')](_0x196ec5);}return _0x22567f[_0xeee4('0x32')]();};}function saveUpdates(_0x2f8a9d,_0x20843d){return function(_0x4a7815){if(_0x4a7815){return _0x4a7815['update'](_0x2f8a9d)['then'](function(_0x912025){return _0x912025;});}return null;};}function removeEntity(_0x4ac65c,_0x134744){return function(_0x1c1888){if(_0x1c1888){return _0x1c1888[_0xeee4('0x33')]()[_0xeee4('0x1f')](function(){var _0x2366d9=_0x1c1888[_0xeee4('0x34')]({'plain':!![]});var _0x200f22='Trunks';return db[_0xeee4('0x35')][_0xeee4('0x33')]({'where':{'type':_0x200f22,'resourceId':_0x2366d9['id']}})['then'](function(){return _0x1c1888;});})['then'](function(){_0x4ac65c[_0xeee4('0x2a')](0xcc)['end']();});}};}function handleEntityNotFound(_0x25563f,_0x307fe3){return function(_0x2f00a2){if(!_0x2f00a2){_0x25563f[_0xeee4('0x29')](0x194);}return _0x2f00a2;};}function handleError(_0x565790,_0x567e71){_0x567e71=_0x567e71||0x1f4;return function(_0x136189){logger['error'](_0x136189[_0xeee4('0x36')]);if(_0x136189[_0xeee4('0x37')]){delete _0x136189[_0xeee4('0x37')];}_0x565790[_0xeee4('0x2a')](_0x567e71)[_0xeee4('0x38')](_0x136189);};}exports[_0xeee4('0x39')]=function(_0x5aa50e,_0x4567db){var _0x91f224={},_0x1f65c3={},_0x105ba8={'count':0x0,'rows':[]};var _0xd7d099=_[_0xeee4('0x3a')](db[_0xeee4('0x3b')]['rawAttributes'],function(_0x27da76){return{'name':_0x27da76[_0xeee4('0x3c')],'type':_0x27da76[_0xeee4('0x3d')][_0xeee4('0x3e')]};});_0x1f65c3[_0xeee4('0x3f')]=_[_0xeee4('0x3a')](_0xd7d099,'name');_0x1f65c3[_0xeee4('0x40')]=_['keys'](_0x5aa50e['query']);_0x1f65c3['filters']=_[_0xeee4('0x41')](_0x1f65c3[_0xeee4('0x3f')],_0x1f65c3['query']);_0x91f224[_0xeee4('0x42')]=_[_0xeee4('0x41')](_0x1f65c3[_0xeee4('0x3f')],qs[_0xeee4('0x43')](_0x5aa50e[_0xeee4('0x40')][_0xeee4('0x43')]));_0x91f224[_0xeee4('0x42')]=_0x91f224[_0xeee4('0x42')][_0xeee4('0x44')]?_0x91f224[_0xeee4('0x42')]:_0x1f65c3[_0xeee4('0x3f')];if(!_0x5aa50e[_0xeee4('0x40')][_0xeee4('0x45')](_0xeee4('0x46'))){_0x91f224[_0xeee4('0x2f')]=qs['limit'](_0x5aa50e['query'][_0xeee4('0x2f')]);_0x91f224[_0xeee4('0x2e')]=qs[_0xeee4('0x2e')](_0x5aa50e[_0xeee4('0x40')]['offset']);}_0x91f224['order']=qs[_0xeee4('0x47')](_0x5aa50e[_0xeee4('0x40')][_0xeee4('0x47')]);_0x91f224['where']=qs['filters'](_[_0xeee4('0x48')](_0x5aa50e[_0xeee4('0x40')],_0x1f65c3[_0xeee4('0x49')]),_0xd7d099);if(_0x5aa50e[_0xeee4('0x40')][_0xeee4('0x4a')]){_0x91f224[_0xeee4('0x4b')]=_[_0xeee4('0x4c')](_0x91f224[_0xeee4('0x4b')],{'$or':_[_0xeee4('0x3a')](_0xd7d099,function(_0x2f117f){if(_0x2f117f[_0xeee4('0x3d')]!==_0xeee4('0x4d')){var _0x3f3e5d={};_0x3f3e5d[_0x2f117f[_0xeee4('0x37')]]={'$like':'%'+_0x5aa50e[_0xeee4('0x40')][_0xeee4('0x4a')]+'%'};return _0x3f3e5d;}})});}_0x91f224=_[_0xeee4('0x4c')]({},_0x91f224,_0x5aa50e[_0xeee4('0x4e')]);var _0x1b4b75={'where':_0x91f224[_0xeee4('0x4b')]};return db['Trunk'][_0xeee4('0x2d')](_0x1b4b75)['then'](function(_0x54adc3){_0x105ba8['count']=_0x54adc3;if(_0x5aa50e[_0xeee4('0x40')][_0xeee4('0x4f')]){_0x91f224['include']=[{'all':!![]}];}return db[_0xeee4('0x3b')]['findAll'](_0x91f224);})[_0xeee4('0x1f')](function(_0x577bbb){_0x105ba8[_0xeee4('0x50')]=_0x577bbb;return _0x105ba8;})[_0xeee4('0x1f')](respondWithFilteredResult(_0x4567db,_0x91f224))[_0xeee4('0x51')](handleError(_0x4567db,null));};exports[_0xeee4('0x52')]=function(_0x2c5c5e,_0x1a1c98){var _0x5742dc={'raw':![],'where':{'id':_0x2c5c5e[_0xeee4('0x53')]['id']}},_0x38e712={};_0x38e712[_0xeee4('0x3f')]=_[_0xeee4('0x54')](db[_0xeee4('0x3b')][_0xeee4('0x55')]);_0x38e712['query']=_[_0xeee4('0x54')](_0x2c5c5e[_0xeee4('0x40')]);_0x38e712['filters']=_[_0xeee4('0x41')](_0x38e712[_0xeee4('0x3f')],_0x38e712[_0xeee4('0x40')]);_0x5742dc[_0xeee4('0x42')]=_['intersection'](_0x38e712[_0xeee4('0x3f')],qs[_0xeee4('0x43')](_0x2c5c5e[_0xeee4('0x40')]['fields']));_0x5742dc[_0xeee4('0x42')]=_0x5742dc[_0xeee4('0x42')][_0xeee4('0x44')]?_0x5742dc['attributes']:_0x38e712[_0xeee4('0x3f')];if(_0x2c5c5e[_0xeee4('0x40')][_0xeee4('0x4f')]){_0x5742dc[_0xeee4('0x56')]=[{'all':!![]}];}_0x5742dc=_[_0xeee4('0x4c')]({},_0x5742dc,_0x2c5c5e[_0xeee4('0x4e')]);return db[_0xeee4('0x3b')]['find'](_0x5742dc)[_0xeee4('0x1f')](handleEntityNotFound(_0x1a1c98,null))['then'](respondWithResult(_0x1a1c98,null))[_0xeee4('0x51')](handleError(_0x1a1c98,null));};exports[_0xeee4('0x57')]=function(_0x5ba422,_0xd306dd){var _0x513639={'where':{'id':_0x5ba422[_0xeee4('0x53')]['id']}},_0x3cada7={};_0x3cada7['model']=_[_0xeee4('0x54')](db[_0xeee4('0x3b')][_0xeee4('0x55')]);_0x513639[_0xeee4('0x42')]=_[_0xeee4('0x41')](_0x3cada7[_0xeee4('0x3f')],qs['fields'](_0x5ba422[_0xeee4('0x40')][_0xeee4('0x43')]));_0x513639['attributes']=_0x513639['attributes']['length']?_0x513639['attributes']:_0x3cada7[_0xeee4('0x3f')];if(_0x5ba422[_0xeee4('0x40')][_0xeee4('0x4f')]){_0x513639['include']=[{'all':!![]}];}_0x513639=_['merge']({},_0x513639,_0x5ba422[_0xeee4('0x4e')]);return db[_0xeee4('0x3b')][_0xeee4('0x58')](_0x513639)[_0xeee4('0x1f')](handleEntityNotFound(_0xd306dd,null))['then'](function(_0x14e91c){if(_0x14e91c){var _0x528c99=_0x14e91c[_0xeee4('0x34')]({'plain':!![]});_0x528c99=qs[_0xeee4('0x59')](_0x528c99,['id',_0xeee4('0x5a'),_0xeee4('0x5b')]);_0x5ba422[_0xeee4('0x5c')]=_[_0xeee4('0x59')](_0x5ba422[_0xeee4('0x5c')],['id',_0xeee4('0x5a'),_0xeee4('0x5b')]);return db[_0xeee4('0x3b')][_0xeee4('0x5d')](_['merge'](_0x528c99,_0x5ba422[_0xeee4('0x5c')]),{'include':_0x5ba422[_0xeee4('0x40')][_0xeee4('0x4f')]?[{'all':!![]}]:undefined})[_0xeee4('0x1f')](function(_0x1439b6){var _0x148f7b=_0x5ba422[_0xeee4('0x5e')][_0xeee4('0x34')]({'plain':!![]});if(!_0x148f7b)throw new Error(_0xeee4('0x5f'));if(_0x148f7b['role']===_0xeee4('0x5e')){var _0x2fb63f=_0x1439b6[_0xeee4('0x34')]({'plain':!![]});var _0x1098bc=_0xeee4('0x60');return db[_0xeee4('0x61')][_0xeee4('0x58')]({'where':{'name':_0x1098bc,'userProfileId':_0x148f7b[_0xeee4('0x62')]},'raw':!![]})['then'](function(_0x10e28e){if(_0x10e28e&&_0x10e28e[_0xeee4('0x63')]===0x0){return db[_0xeee4('0x35')][_0xeee4('0x5d')]({'name':_0x2fb63f[_0xeee4('0x37')],'resourceId':_0x2fb63f['id'],'type':_0x10e28e[_0xeee4('0x37')],'sectionId':_0x10e28e['id']},{})[_0xeee4('0x1f')](function(){return _0x1439b6;});}else{return _0x1439b6;}})[_0xeee4('0x51')](function(_0x28fd33){logger[_0xeee4('0x25')](_0xeee4('0x64'),_0x28fd33);throw _0x28fd33;});}return _0x1439b6;});}})[_0xeee4('0x1f')](respondWithResult(_0xd306dd,0xc9))[_0xeee4('0x51')](handleError(_0xd306dd,null));};exports[_0xeee4('0x5d')]=function(_0x2f05a5,_0x21eea9,_0x27656f){var _0x508e4e;return db[_0xeee4('0x3b')]['create'](_0x2f05a5[_0xeee4('0x5c')],{'raw':!![]})[_0xeee4('0x1f')](function(_0x3a4c20){_0x508e4e=_0x3a4c20;return db['Trunk'][_0xeee4('0x65')]({'raw':!![]});})['then'](function(_0x595b20){var _0x2b28f0=fs[_0xeee4('0x66')](path[_0xeee4('0x67')](config[_0xeee4('0x68')],_0xeee4('0x69')),'utf8');var _0x552786=fs[_0xeee4('0x66')](path[_0xeee4('0x67')](config['root'],_0xeee4('0x6a')),'utf8');var _0x32641f=ejs['render'](_0x2b28f0,{'trunks':_0x595b20||[]});fs[_0xeee4('0x6b')](_0xeee4('0x6c'),_0x32641f);if(_0x508e4e[_0xeee4('0x6d')]){var _0x2a0858=ejs[_0xeee4('0x6e')](_0x552786,{'trunks':_0x595b20||[]});fs['writeFileSync']('/etc/asterisk/sip_xcally_registers.conf',_0x2a0858);}})[_0xeee4('0x1f')](function(){return respondWithRpcPromise(_0xeee4('0x6f'),_0xeee4('0x5d'),{'module':_0xeee4('0x70')});})[_0xeee4('0x1f')](function(){var _0x486523=_0x2f05a5['user'][_0xeee4('0x34')]({'plain':!![]});if(!_0x486523)throw new Error(_0xeee4('0x5f'));if(_0x486523[_0xeee4('0x71')]===_0xeee4('0x5e')){var _0xb0c7df=_0x508e4e['get']({'plain':!![]});return db[_0xeee4('0x61')][_0xeee4('0x58')]({'where':{'name':_0xeee4('0x60'),'userProfileId':_0x486523[_0xeee4('0x62')]},'raw':!![]})[_0xeee4('0x1f')](function(_0x2ff967){if(_0x2ff967&&_0x2ff967[_0xeee4('0x63')]===0x0){return db[_0xeee4('0x35')]['create']({'name':_0xb0c7df[_0xeee4('0x37')],'resourceId':_0xb0c7df['id'],'type':_0x2ff967[_0xeee4('0x37')],'sectionId':_0x2ff967['id']},{})[_0xeee4('0x1f')](function(){return _0x508e4e;});}else{return _0x508e4e;}})[_0xeee4('0x51')](function(_0x3e94a1){logger['error'](_0xeee4('0x64'),_0x3e94a1);throw _0x3e94a1;});}return _0x508e4e;})[_0xeee4('0x1f')](respondWithResult(_0x21eea9,0xc9))[_0xeee4('0x51')](handleError(_0x21eea9,null));};exports[_0xeee4('0x72')]=function(_0x11fe3e,_0x1917a4,_0x2d2f72){var _0x41dfd5;return db[_0xeee4('0x3b')]['find']({'where':{'id':_0x11fe3e[_0xeee4('0x53')]['id']}})[_0xeee4('0x1f')](handleEntityNotFound(_0x1917a4,null))['then'](saveUpdates(_0x11fe3e['body'],null))[_0xeee4('0x1f')](function(_0x402a8b){if(_0x402a8b){_0x41dfd5=_0x402a8b;return db[_0xeee4('0x3b')][_0xeee4('0x65')]({'raw':!![]});}})[_0xeee4('0x1f')](function(_0x2baf85){if(_0x2baf85){var _0x52f156=fs['readFileSync'](path['join'](config['root'],_0xeee4('0x69')),_0xeee4('0x73'));var _0x258c04=fs[_0xeee4('0x66')](path[_0xeee4('0x67')](config[_0xeee4('0x68')],_0xeee4('0x6a')),_0xeee4('0x73'));var _0x9709a1=ejs[_0xeee4('0x6e')](_0x52f156,{'trunks':_0x2baf85||[]});fs['writeFileSync'](_0xeee4('0x6c'),_0x9709a1);var _0x317f1e=ejs[_0xeee4('0x6e')](_0x258c04,{'trunks':_0x2baf85||[]});fs[_0xeee4('0x6b')](_0xeee4('0x74'),_0x317f1e);return respondWithRpcPromise(_0xeee4('0x6f'),_0xeee4('0x72'),{'module':_0xeee4('0x70')});}return null;})[_0xeee4('0x1f')](function(_0xdceb50){if(_0xdceb50){return _0x41dfd5;}})[_0xeee4('0x1f')](respondWithResult(_0x1917a4,null))[_0xeee4('0x51')](handleError(_0x1917a4,null));};exports[_0xeee4('0x33')]=function(_0x46c334,_0x1fdfa3,_0x2de089){var _0x199a90;return db[_0xeee4('0x3b')][_0xeee4('0x58')]({'where':{'id':_0x46c334[_0xeee4('0x53')]['id']}})[_0xeee4('0x1f')](handleEntityNotFound(_0x1fdfa3,null))[_0xeee4('0x1f')](removeEntity(_0x1fdfa3,null))['then'](function(){return db['Trunk'][_0xeee4('0x65')]({'raw':!![]});})[_0xeee4('0x1f')](function(_0xd08807){var _0x11158d=fs[_0xeee4('0x66')](path[_0xeee4('0x67')](config[_0xeee4('0x68')],'server/files/templates/trunk.ejs'),_0xeee4('0x73'));var _0x3196bf=fs[_0xeee4('0x66')](path[_0xeee4('0x67')](config['root'],_0xeee4('0x6a')),_0xeee4('0x73'));var _0xe1202=ejs['render'](_0x11158d,{'trunks':_0xd08807});var _0x226e71=ejs[_0xeee4('0x6e')](_0x3196bf,{'trunks':_0xd08807});fs[_0xeee4('0x6b')](_0xeee4('0x6c'),_0xe1202);fs[_0xeee4('0x6b')](_0xeee4('0x74'),_0x226e71);return respondWithRpcPromise('Reload',_0xeee4('0x33'),{'module':_0xeee4('0x70')});})[_0xeee4('0x51')](handleError(_0x1fdfa3,null));}; \ No newline at end of file diff --git a/server/api/trunk/trunk.model.js b/server/api/trunk/trunk.model.js index 5088266..4f9e710 100644 --- a/server/api/trunk/trunk.model.js +++ b/server/api/trunk/trunk.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x06fa=['rimraf','../../config/environment','exports','lodash','../../config/logger','api','moment','request-promise'];(function(_0x4236d4,_0x492d1d){var _0x3f0e94=function(_0x4a5293){while(--_0x4a5293){_0x4236d4['push'](_0x4236d4['shift']());}};_0x3f0e94(++_0x492d1d);}(_0x06fa,0x11b));var _0xa06f=function(_0x190577,_0x1097e3){_0x190577=_0x190577-0x0;var _0xa452ec=_0x06fa[_0x190577];return _0xa452ec;};'use strict';var _=require(_0xa06f('0x0'));var util=require('util');var logger=require(_0xa06f('0x1'))(_0xa06f('0x2'));var moment=require(_0xa06f('0x3'));var BPromise=require('bluebird');var rp=require(_0xa06f('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0xa06f('0x5'));var config=require(_0xa06f('0x6'));var attributes=require('./trunk.attributes');module[_0xa06f('0x7')]=function(_0x2d8d50,_0x5870e1){return _0x2d8d50['define']('Trunk',attributes,{'tableName':'tools_trunks','paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0x6cf9=['define','Trunk','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','./trunk.attributes','exports'];(function(_0x618414,_0x1a7a60){var _0x21c19a=function(_0x507b17){while(--_0x507b17){_0x618414['push'](_0x618414['shift']());}};_0x21c19a(++_0x1a7a60);}(_0x6cf9,0x1e2));var _0x96cf=function(_0xd1d19a,_0x1933f0){_0xd1d19a=_0xd1d19a-0x0;var _0x52a79d=_0x6cf9[_0xd1d19a];return _0x52a79d;};'use strict';var _=require(_0x96cf('0x0'));var util=require(_0x96cf('0x1'));var logger=require(_0x96cf('0x2'))(_0x96cf('0x3'));var moment=require(_0x96cf('0x4'));var BPromise=require(_0x96cf('0x5'));var rp=require(_0x96cf('0x6'));var fs=require('fs');var path=require(_0x96cf('0x7'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x96cf('0x8'));module[_0x96cf('0x9')]=function(_0x52602b,_0x49c625){return _0x52602b[_0x96cf('0xa')](_0x96cf('0xb'),attributes,{'tableName':'tools_trunks','paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/trunk/trunk.rpc.js b/server/api/trunk/trunk.rpc.js index 96aee0c..84d2c0b 100644 --- a/server/api/trunk/trunk.rpc.js +++ b/server/api/trunk/trunk.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x14a0=['limit','include','model','map','find','ShowTrunk','util','moment','bluebird','randomstring','ioredis','../../mysqldb','../../config/utils','../../config/environment','jayson/promise','client','then','debug','request\x20sent','stringify','error','code','Trunk,\x20%s,\x20%s','message','info','result','catch','GetTrunk','Trunk','findAll','options','raw','where','attributes'];(function(_0x211059,_0x3e3176){var _0x4452fc=function(_0x539c59){while(--_0x539c59){_0x211059['push'](_0x211059['shift']());}};_0x4452fc(++_0x3e3176);}(_0x14a0,0x8e));var _0x014a=function(_0x5bbc41,_0x2e20b1){_0x5bbc41=_0x5bbc41-0x0;var _0x1f6eeb=_0x14a0[_0x5bbc41];return _0x1f6eeb;};'use strict';var _=require('lodash');var util=require(_0x014a('0x0'));var moment=require(_0x014a('0x1'));var BPromise=require(_0x014a('0x2'));var rs=require(_0x014a('0x3'));var fs=require('fs');var Redis=require(_0x014a('0x4'));var db=require(_0x014a('0x5'))['db'];var utils=require(_0x014a('0x6'));var logger=require('../../config/logger')('rpc');var config=require(_0x014a('0x7'));var jayson=require(_0x014a('0x8'));var client=jayson[_0x014a('0x9')]['http']({'port':0x232a});function respondWithRpcPromise(_0x5a61ac,_0x11b8ce,_0x6d05f2){return new BPromise(function(_0x22f17c,_0x4d943b){return client['request'](_0x5a61ac,_0x6d05f2)[_0x014a('0xa')](function(_0x4f5506){logger['info']('Trunk,\x20%s,\x20%s',_0x11b8ce,'request\x20sent');logger[_0x014a('0xb')]('Trunk,\x20%s,\x20%s,\x20%s',_0x11b8ce,_0x014a('0xc'),JSON[_0x014a('0xd')](_0x4f5506));if(_0x4f5506['error']){if(_0x4f5506[_0x014a('0xe')][_0x014a('0xf')]===0x1f4){logger[_0x014a('0xe')](_0x014a('0x10'),_0x11b8ce,_0x4f5506[_0x014a('0xe')][_0x014a('0x11')]);return _0x4d943b(_0x4f5506[_0x014a('0xe')][_0x014a('0x11')]);}logger[_0x014a('0xe')](_0x014a('0x10'),_0x11b8ce,_0x4f5506[_0x014a('0xe')][_0x014a('0x11')]);return _0x22f17c(_0x4f5506['error'][_0x014a('0x11')]);}else{logger[_0x014a('0x12')]('Trunk,\x20%s,\x20%s',_0x11b8ce,_0x014a('0xc'));_0x22f17c(_0x4f5506[_0x014a('0x13')]['message']);}})[_0x014a('0x14')](function(_0x17e4be){logger[_0x014a('0xe')](_0x014a('0x10'),_0x11b8ce,_0x17e4be);_0x4d943b(_0x17e4be);});});}exports[_0x014a('0x15')]=function(_0x12d339){var _0x61ec9f=this;return new Promise(function(_0x263b07,_0x16490a){return db[_0x014a('0x16')][_0x014a('0x17')]({'raw':_0x12d339[_0x014a('0x18')]?_0x12d339[_0x014a('0x18')][_0x014a('0x19')]===undefined?!![]:![]:!![],'where':_0x12d339['options']?_0x12d339[_0x014a('0x18')][_0x014a('0x1a')]||null:null,'attributes':_0x12d339[_0x014a('0x18')]?_0x12d339[_0x014a('0x18')][_0x014a('0x1b')]||null:null,'limit':_0x12d339[_0x014a('0x18')]?_0x12d339[_0x014a('0x18')][_0x014a('0x1c')]||null:null,'include':_0x12d339[_0x014a('0x18')]?_0x12d339['options'][_0x014a('0x1d')]?_['map'](_0x12d339[_0x014a('0x18')][_0x014a('0x1d')],function(_0x44d921){return{'model':db[_0x44d921[_0x014a('0x1e')]],'as':_0x44d921['as'],'attributes':_0x44d921[_0x014a('0x1b')],'include':_0x44d921[_0x014a('0x1d')]?_[_0x014a('0x1f')](_0x44d921[_0x014a('0x1d')],function(_0x165a42){return{'model':db[_0x165a42['model']],'as':_0x165a42['as'],'attributes':_0x165a42[_0x014a('0x1b')],'include':_0x165a42['include']?_[_0x014a('0x1f')](_0x165a42[_0x014a('0x1d')],function(_0x4f1c44){return{'model':db[_0x4f1c44['model']],'as':_0x4f1c44['as'],'attributes':_0x4f1c44[_0x014a('0x1b')]};}):[]};}):[]};}):[]:[]})[_0x014a('0xa')](function(_0x143346){logger['info'](_0x014a('0x15'),_0x12d339);logger[_0x014a('0xb')]('GetTrunk',_0x12d339,JSON[_0x014a('0xd')](_0x143346));_0x263b07(_0x143346);})[_0x014a('0x14')](function(_0x496040){logger['error'](_0x014a('0x15'),_0x496040[_0x014a('0x11')],_0x12d339);_0x16490a(_0x61ec9f[_0x014a('0xe')](0x1f4,_0x496040[_0x014a('0x11')]));});});};exports['ShowTrunk']=function(_0x434038){var _0x147e7e=this;return new Promise(function(_0x15af07,_0x402d3b){return db[_0x014a('0x16')][_0x014a('0x20')]({'raw':_0x434038[_0x014a('0x18')]?_0x434038[_0x014a('0x18')][_0x014a('0x19')]===undefined?!![]:![]:!![],'where':_0x434038[_0x014a('0x18')]?_0x434038[_0x014a('0x18')]['where']||null:null,'attributes':_0x434038[_0x014a('0x18')]?_0x434038[_0x014a('0x18')][_0x014a('0x1b')]||null:null,'include':_0x434038[_0x014a('0x18')]?_0x434038[_0x014a('0x18')][_0x014a('0x1d')]?_[_0x014a('0x1f')](_0x434038['options'][_0x014a('0x1d')],function(_0x325b3c){return{'model':db[_0x325b3c['model']],'as':_0x325b3c['as'],'attributes':_0x325b3c[_0x014a('0x1b')],'include':_0x325b3c[_0x014a('0x1d')]?_[_0x014a('0x1f')](_0x325b3c[_0x014a('0x1d')],function(_0x329136){return{'model':db[_0x329136[_0x014a('0x1e')]],'as':_0x329136['as'],'attributes':_0x329136[_0x014a('0x1b')],'include':_0x329136[_0x014a('0x1d')]?_['map'](_0x329136[_0x014a('0x1d')],function(_0x1dfe6e){return{'model':db[_0x1dfe6e[_0x014a('0x1e')]],'as':_0x1dfe6e['as'],'attributes':_0x1dfe6e[_0x014a('0x1b')]};}):[]};}):[]};}):[]:[]})['then'](function(_0x427c7a){logger[_0x014a('0x12')](_0x014a('0x21'),_0x434038);logger[_0x014a('0xb')](_0x014a('0x21'),_0x434038,JSON[_0x014a('0xd')](_0x427c7a));_0x15af07(_0x427c7a);})[_0x014a('0x14')](function(_0x36187b){logger[_0x014a('0xe')]('ShowTrunk',_0x36187b[_0x014a('0x11')],_0x434038);_0x402d3b(_0x147e7e['error'](0x1f4,_0x36187b[_0x014a('0x11')]));});});}; \ No newline at end of file +var _0x66fa=['util','bluebird','randomstring','ioredis','../../mysqldb','../../config/utils','../../config/logger','rpc','client','http','then','info','Trunk,\x20%s,\x20%s,\x20%s','request\x20sent','error','code','Trunk,\x20%s,\x20%s','message','catch','Trunk','findAll','options','raw','where','attributes','limit','include','map','model','GetTrunk','debug','stringify','ShowTrunk','find','lodash'];(function(_0x2f1762,_0xab43df){var _0x8ab21=function(_0xf6c1f5){while(--_0xf6c1f5){_0x2f1762['push'](_0x2f1762['shift']());}};_0x8ab21(++_0xab43df);}(_0x66fa,0x117));var _0xa66f=function(_0x247ff9,_0x17eed5){_0x247ff9=_0x247ff9-0x0;var _0x1b995b=_0x66fa[_0x247ff9];return _0x1b995b;};'use strict';var _=require(_0xa66f('0x0'));var util=require(_0xa66f('0x1'));var moment=require('moment');var BPromise=require(_0xa66f('0x2'));var rs=require(_0xa66f('0x3'));var fs=require('fs');var Redis=require(_0xa66f('0x4'));var db=require(_0xa66f('0x5'))['db'];var utils=require(_0xa66f('0x6'));var logger=require(_0xa66f('0x7'))(_0xa66f('0x8'));var config=require('../../config/environment');var jayson=require('jayson/promise');var client=jayson[_0xa66f('0x9')][_0xa66f('0xa')]({'port':0x232a});function respondWithRpcPromise(_0x2f0b78,_0x1d02fc,_0x38b58b){return new BPromise(function(_0x5096bf,_0x39c1ef){return client['request'](_0x2f0b78,_0x38b58b)[_0xa66f('0xb')](function(_0x597c7c){logger[_0xa66f('0xc')]('Trunk,\x20%s,\x20%s',_0x1d02fc,'request\x20sent');logger['debug'](_0xa66f('0xd'),_0x1d02fc,_0xa66f('0xe'),JSON['stringify'](_0x597c7c));if(_0x597c7c[_0xa66f('0xf')]){if(_0x597c7c['error'][_0xa66f('0x10')]===0x1f4){logger['error'](_0xa66f('0x11'),_0x1d02fc,_0x597c7c[_0xa66f('0xf')][_0xa66f('0x12')]);return _0x39c1ef(_0x597c7c['error']['message']);}logger[_0xa66f('0xf')]('Trunk,\x20%s,\x20%s',_0x1d02fc,_0x597c7c['error']['message']);return _0x5096bf(_0x597c7c[_0xa66f('0xf')][_0xa66f('0x12')]);}else{logger[_0xa66f('0xc')](_0xa66f('0x11'),_0x1d02fc,_0xa66f('0xe'));_0x5096bf(_0x597c7c['result']['message']);}})[_0xa66f('0x13')](function(_0x32d338){logger[_0xa66f('0xf')](_0xa66f('0x11'),_0x1d02fc,_0x32d338);_0x39c1ef(_0x32d338);});});}exports['GetTrunk']=function(_0x1cbe64){var _0x55b59d=this;return new Promise(function(_0x4a28d4,_0x2f9da2){return db[_0xa66f('0x14')][_0xa66f('0x15')]({'raw':_0x1cbe64[_0xa66f('0x16')]?_0x1cbe64[_0xa66f('0x16')][_0xa66f('0x17')]===undefined?!![]:![]:!![],'where':_0x1cbe64[_0xa66f('0x16')]?_0x1cbe64[_0xa66f('0x16')][_0xa66f('0x18')]||null:null,'attributes':_0x1cbe64[_0xa66f('0x16')]?_0x1cbe64[_0xa66f('0x16')][_0xa66f('0x19')]||null:null,'limit':_0x1cbe64[_0xa66f('0x16')]?_0x1cbe64[_0xa66f('0x16')][_0xa66f('0x1a')]||null:null,'include':_0x1cbe64['options']?_0x1cbe64[_0xa66f('0x16')][_0xa66f('0x1b')]?_[_0xa66f('0x1c')](_0x1cbe64[_0xa66f('0x16')]['include'],function(_0x337602){return{'model':db[_0x337602[_0xa66f('0x1d')]],'as':_0x337602['as'],'attributes':_0x337602[_0xa66f('0x19')],'include':_0x337602[_0xa66f('0x1b')]?_['map'](_0x337602['include'],function(_0xed98b9){return{'model':db[_0xed98b9['model']],'as':_0xed98b9['as'],'attributes':_0xed98b9[_0xa66f('0x19')],'include':_0xed98b9[_0xa66f('0x1b')]?_[_0xa66f('0x1c')](_0xed98b9['include'],function(_0x4683c7){return{'model':db[_0x4683c7[_0xa66f('0x1d')]],'as':_0x4683c7['as'],'attributes':_0x4683c7[_0xa66f('0x19')]};}):[]};}):[]};}):[]:[]})[_0xa66f('0xb')](function(_0x17c103){logger[_0xa66f('0xc')](_0xa66f('0x1e'),_0x1cbe64);logger[_0xa66f('0x1f')](_0xa66f('0x1e'),_0x1cbe64,JSON[_0xa66f('0x20')](_0x17c103));_0x4a28d4(_0x17c103);})[_0xa66f('0x13')](function(_0x63650b){logger[_0xa66f('0xf')](_0xa66f('0x1e'),_0x63650b['message'],_0x1cbe64);_0x2f9da2(_0x55b59d['error'](0x1f4,_0x63650b[_0xa66f('0x12')]));});});};exports[_0xa66f('0x21')]=function(_0x55f309){var _0x44c79a=this;return new Promise(function(_0x2de5f3,_0x4cd7f2){return db[_0xa66f('0x14')][_0xa66f('0x22')]({'raw':_0x55f309[_0xa66f('0x16')]?_0x55f309[_0xa66f('0x16')][_0xa66f('0x17')]===undefined?!![]:![]:!![],'where':_0x55f309['options']?_0x55f309[_0xa66f('0x16')]['where']||null:null,'attributes':_0x55f309[_0xa66f('0x16')]?_0x55f309[_0xa66f('0x16')][_0xa66f('0x19')]||null:null,'include':_0x55f309['options']?_0x55f309[_0xa66f('0x16')][_0xa66f('0x1b')]?_['map'](_0x55f309[_0xa66f('0x16')][_0xa66f('0x1b')],function(_0xba9457){return{'model':db[_0xba9457[_0xa66f('0x1d')]],'as':_0xba9457['as'],'attributes':_0xba9457[_0xa66f('0x19')],'include':_0xba9457[_0xa66f('0x1b')]?_[_0xa66f('0x1c')](_0xba9457[_0xa66f('0x1b')],function(_0x35ef27){return{'model':db[_0x35ef27[_0xa66f('0x1d')]],'as':_0x35ef27['as'],'attributes':_0x35ef27['attributes'],'include':_0x35ef27[_0xa66f('0x1b')]?_['map'](_0x35ef27[_0xa66f('0x1b')],function(_0x46f6cc){return{'model':db[_0x46f6cc[_0xa66f('0x1d')]],'as':_0x46f6cc['as'],'attributes':_0x46f6cc[_0xa66f('0x19')]};}):[]};}):[]};}):[]:[]})[_0xa66f('0xb')](function(_0x201432){logger[_0xa66f('0xc')](_0xa66f('0x21'),_0x55f309);logger['debug'](_0xa66f('0x21'),_0x55f309,JSON['stringify'](_0x201432));_0x2de5f3(_0x201432);})[_0xa66f('0x13')](function(_0x45eeb8){logger[_0xa66f('0xf')]('ShowTrunk',_0x45eeb8['message'],_0x55f309);_0x4cd7f2(_0x44c79a[_0xa66f('0xf')](0x1f4,_0x45eeb8[_0xa66f('0x12')]));});});}; \ No newline at end of file diff --git a/server/api/user/index.js b/server/api/user/index.js index e20884e..1678378 100644 --- a/server/api/user/index.js +++ b/server/api/user/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x7f1d=['/:id/mail_interactions','addMailInteractions','/:id/fax_interactions','addFaxInteractions','/:id/sms_interactions','addSmsInteractions','/:id/openchannel_interactions','addOpenchannelInteractions','/:id/whatsapp_interactions','addWhatsappInteractions','addFaxAccounts','addMailAccounts','addOpenchannelAccounts','/:id/sms_accounts','addSmsAccounts','/:id/chat_websites','addChatWebsites','addWhatsappAccounts','/:id/square_projects','addSquareProjects','createApiKey','put','update','changePassword','delete','removeTeams','destroy','/:id/chat_interactions','removeChatInteractions','removeMailInteractions','removeFaxInteractions','removeSmsInteractions','removeWhatsappInteractions','removeMailAccounts','removeOpenchannelAccounts','removeSmsAccounts','removeWhatsappAccounts','removeSquareProjects','removeApiKey','exports','multer','util','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./user.controller','get','isAuthenticated','/describe','describe','/whoami','/:id','/:id/avatar','/:id/contacts','getContacts','/:id/queues','getQueues','/:id/queues_rt','getVoiceQueuesRt','/:id/groups','getGroups','/:id/recordings','getRecordings','/:id/screen_recordings','getScreenRecordings','getChatInteractions','/:id/openchannel/interactions','getOpenchannelInteractions','/:id/sms/interactions','getSmsInteractions','getFaxInteractions','getWhatsappInteractions','getAgents','/:id/prefixes','/:id/fax_accounts','/:id/mail_accounts','getMailAccounts','/:id/openchannel_accounts','getOpenchannelAccounts','getSmsAccounts','getChatWebsites','/:id/whatsapp_accounts','getWhatsappAccounts','/:id/scheduled_calls','getScheduledCalls','/:id/api_key','post','/create_many','bulkCreate','create','addQueues','diskStorage','root','format','now','originalname','file','addAvatar','/:id/login','login','/:id/logout','/:id/pause','pause','unpause','/:id/teams','addTeams','addChatInteractions'];(function(_0x585ee5,_0x1c9dba){var _0x470808=function(_0x35c90d){while(--_0x35c90d){_0x585ee5['push'](_0x585ee5['shift']());}};_0x470808(++_0x1c9dba);}(_0x7f1d,0x1e0));var _0xd7f1=function(_0x411017,_0x4a8117){_0x411017=_0x411017-0x0;var _0x2adeea=_0x7f1d[_0x411017];return _0x2adeea;};'use strict';var multer=require(_0xd7f1('0x0'));var util=require(_0xd7f1('0x1'));var path=require(_0xd7f1('0x2'));var timeout=require(_0xd7f1('0x3'));var express=require('express');var router=express[_0xd7f1('0x4')]();var auth=require(_0xd7f1('0x5'));var interaction=require(_0xd7f1('0x6'));var config=require(_0xd7f1('0x7'));var controller=require(_0xd7f1('0x8'));router[_0xd7f1('0x9')]('/',auth[_0xd7f1('0xa')](),controller['index']);router[_0xd7f1('0x9')](_0xd7f1('0xb'),auth[_0xd7f1('0xa')](),controller[_0xd7f1('0xc')]);router['get'](_0xd7f1('0xd'),auth[_0xd7f1('0xa')](),controller['whoami']);router[_0xd7f1('0x9')](_0xd7f1('0xe'),auth[_0xd7f1('0xa')](),controller['show']);router[_0xd7f1('0x9')](_0xd7f1('0xf'),controller['getAvatar']);router[_0xd7f1('0x9')](_0xd7f1('0x10'),auth[_0xd7f1('0xa')](),controller[_0xd7f1('0x11')]);router[_0xd7f1('0x9')](_0xd7f1('0x12'),auth[_0xd7f1('0xa')](),controller[_0xd7f1('0x13')]);router[_0xd7f1('0x9')](_0xd7f1('0x14'),auth[_0xd7f1('0xa')](),controller[_0xd7f1('0x15')]);router['get'](_0xd7f1('0x16'),auth[_0xd7f1('0xa')](),controller[_0xd7f1('0x17')]);router['get'](_0xd7f1('0x18'),auth[_0xd7f1('0xa')](),controller[_0xd7f1('0x19')]);router[_0xd7f1('0x9')](_0xd7f1('0x1a'),auth[_0xd7f1('0xa')](),controller[_0xd7f1('0x1b')]);router['get']('/:id/chat/interactions',auth[_0xd7f1('0xa')](),controller[_0xd7f1('0x1c')]);router['get'](_0xd7f1('0x1d'),auth[_0xd7f1('0xa')](),controller[_0xd7f1('0x1e')]);router[_0xd7f1('0x9')]('/:id/mail/interactions',auth[_0xd7f1('0xa')](),controller['getMailInteractions']);router[_0xd7f1('0x9')](_0xd7f1('0x1f'),auth[_0xd7f1('0xa')](),controller[_0xd7f1('0x20')]);router[_0xd7f1('0x9')]('/:id/fax/interactions',auth[_0xd7f1('0xa')](),controller[_0xd7f1('0x21')]);router[_0xd7f1('0x9')]('/:id/whatsapp/interactions',auth['isAuthenticated'](),controller[_0xd7f1('0x22')]);router[_0xd7f1('0x9')]('/:id/teams',auth[_0xd7f1('0xa')](),controller['getTeams']);router['get']('/:id/lists',auth[_0xd7f1('0xa')](),controller['getLists']);router['get']('/:id/agents',auth[_0xd7f1('0xa')](),controller[_0xd7f1('0x23')]);router['get'](_0xd7f1('0x24'),auth['isAuthenticated'](),controller['getVoicePrefixes']);router[_0xd7f1('0x9')](_0xd7f1('0x25'),auth['isAuthenticated'](),controller['getFaxAccounts']);router[_0xd7f1('0x9')](_0xd7f1('0x26'),auth[_0xd7f1('0xa')](),controller[_0xd7f1('0x27')]);router[_0xd7f1('0x9')](_0xd7f1('0x28'),auth[_0xd7f1('0xa')](),controller[_0xd7f1('0x29')]);router['get']('/:id/sms_accounts',auth[_0xd7f1('0xa')](),controller[_0xd7f1('0x2a')]);router[_0xd7f1('0x9')]('/:id/chat_websites',auth[_0xd7f1('0xa')](),controller[_0xd7f1('0x2b')]);router[_0xd7f1('0x9')](_0xd7f1('0x2c'),auth[_0xd7f1('0xa')](),controller[_0xd7f1('0x2d')]);router['get']('/:id/square_projects',auth[_0xd7f1('0xa')](),controller['getSquareProjects']);router[_0xd7f1('0x9')](_0xd7f1('0x2e'),auth[_0xd7f1('0xa')](),controller[_0xd7f1('0x2f')]);router[_0xd7f1('0x9')](_0xd7f1('0x30'),auth[_0xd7f1('0xa')](),controller['getApiKey']);router[_0xd7f1('0x31')](_0xd7f1('0x32'),auth[_0xd7f1('0xa')](),controller[_0xd7f1('0x33')]);router[_0xd7f1('0x31')](_0xd7f1('0x10'),auth[_0xd7f1('0xa')](),controller['addContacts']);router[_0xd7f1('0x31')]('/',auth[_0xd7f1('0xa')](),controller[_0xd7f1('0x34')]);router[_0xd7f1('0x31')]('/:id/queues',auth[_0xd7f1('0xa')](),controller[_0xd7f1('0x35')]);var upload=multer({'storage':multer[_0xd7f1('0x36')]({'destination':function(_0xd1f712,_0x3cdc67,_0x2adeda){_0x2adeda(null,path['join'](config[_0xd7f1('0x37')],'server/files/images/'));},'filename':function(_0x43c001,_0x47187b,_0x16d160){_0x16d160(null,util[_0xd7f1('0x38')]('%s-%s',Date[_0xd7f1('0x39')](),_0x47187b[_0xd7f1('0x3a')]));}})});router[_0xd7f1('0x31')](_0xd7f1('0xf'),upload['single'](_0xd7f1('0x3b')),controller[_0xd7f1('0x3c')]);router[_0xd7f1('0x31')](_0xd7f1('0x3d'),auth['isAuthenticated'](),controller[_0xd7f1('0x3e')]);router[_0xd7f1('0x31')](_0xd7f1('0x3f'),auth['isAuthenticated'](),controller['logout']);router[_0xd7f1('0x31')](_0xd7f1('0x40'),auth[_0xd7f1('0xa')](),controller[_0xd7f1('0x41')]);router[_0xd7f1('0x31')]('/:id/unpause',auth[_0xd7f1('0xa')](),controller[_0xd7f1('0x42')]);router['post'](_0xd7f1('0x43'),auth[_0xd7f1('0xa')](),controller[_0xd7f1('0x44')]);router[_0xd7f1('0x31')]('/:id/chat_interactions',auth[_0xd7f1('0xa')](),controller[_0xd7f1('0x45')]);router[_0xd7f1('0x31')](_0xd7f1('0x46'),auth['isAuthenticated'](),controller[_0xd7f1('0x47')]);router[_0xd7f1('0x31')](_0xd7f1('0x48'),auth[_0xd7f1('0xa')](),controller[_0xd7f1('0x49')]);router['post'](_0xd7f1('0x4a'),auth[_0xd7f1('0xa')](),controller[_0xd7f1('0x4b')]);router[_0xd7f1('0x31')](_0xd7f1('0x4c'),auth[_0xd7f1('0xa')](),controller[_0xd7f1('0x4d')]);router[_0xd7f1('0x31')](_0xd7f1('0x4e'),auth[_0xd7f1('0xa')](),controller[_0xd7f1('0x4f')]);router['post'](_0xd7f1('0x25'),auth[_0xd7f1('0xa')](),controller[_0xd7f1('0x50')]);router[_0xd7f1('0x31')]('/:id/mail_accounts',auth['isAuthenticated'](),controller[_0xd7f1('0x51')]);router['post'](_0xd7f1('0x28'),auth[_0xd7f1('0xa')](),controller[_0xd7f1('0x52')]);router[_0xd7f1('0x31')](_0xd7f1('0x53'),auth[_0xd7f1('0xa')](),controller[_0xd7f1('0x54')]);router[_0xd7f1('0x31')](_0xd7f1('0x55'),auth[_0xd7f1('0xa')](),controller[_0xd7f1('0x56')]);router[_0xd7f1('0x31')]('/:id/whatsapp_accounts',auth[_0xd7f1('0xa')](),controller[_0xd7f1('0x57')]);router[_0xd7f1('0x31')](_0xd7f1('0x58'),auth['isAuthenticated'](),controller[_0xd7f1('0x59')]);router[_0xd7f1('0x31')](_0xd7f1('0x30'),auth[_0xd7f1('0xa')](),controller[_0xd7f1('0x5a')]);router[_0xd7f1('0x5b')](_0xd7f1('0xe'),auth['isAuthenticated'](),controller[_0xd7f1('0x5c')]);router[_0xd7f1('0x5b')]('/:id/password',auth[_0xd7f1('0xa')](),controller[_0xd7f1('0x5d')]);router[_0xd7f1('0x5e')]('/:id/queues',auth[_0xd7f1('0xa')](),controller['removeQueues']);router['delete']('/:id/teams',auth['isAuthenticated'](),controller[_0xd7f1('0x5f')]);router[_0xd7f1('0x5e')]('/:id',auth[_0xd7f1('0xa')](),controller[_0xd7f1('0x60')]);router[_0xd7f1('0x5e')](_0xd7f1('0x61'),auth[_0xd7f1('0xa')](),controller[_0xd7f1('0x62')]);router[_0xd7f1('0x5e')](_0xd7f1('0x46'),auth[_0xd7f1('0xa')](),controller[_0xd7f1('0x63')]);router['delete'](_0xd7f1('0x48'),auth[_0xd7f1('0xa')](),controller[_0xd7f1('0x64')]);router[_0xd7f1('0x5e')](_0xd7f1('0x4a'),auth['isAuthenticated'](),controller[_0xd7f1('0x65')]);router[_0xd7f1('0x5e')](_0xd7f1('0x4c'),auth[_0xd7f1('0xa')](),controller['removeOpenchannelInteractions']);router[_0xd7f1('0x5e')](_0xd7f1('0x4e'),auth[_0xd7f1('0xa')](),controller[_0xd7f1('0x66')]);router[_0xd7f1('0x5e')](_0xd7f1('0x25'),auth[_0xd7f1('0xa')](),controller['removeFaxAccounts']);router['delete'](_0xd7f1('0x26'),auth[_0xd7f1('0xa')](),controller[_0xd7f1('0x67')]);router[_0xd7f1('0x5e')]('/:id/openchannel_accounts',auth[_0xd7f1('0xa')](),controller[_0xd7f1('0x68')]);router[_0xd7f1('0x5e')](_0xd7f1('0x53'),auth['isAuthenticated'](),controller[_0xd7f1('0x69')]);router['delete'](_0xd7f1('0x55'),auth[_0xd7f1('0xa')](),controller['removeChatWebsites']);router[_0xd7f1('0x5e')](_0xd7f1('0x2c'),auth[_0xd7f1('0xa')](),controller[_0xd7f1('0x6a')]);router['delete'](_0xd7f1('0x58'),auth[_0xd7f1('0xa')](),controller[_0xd7f1('0x6b')]);router[_0xd7f1('0x5e')]('/:id/api_key',auth['isAuthenticated'](),controller[_0xd7f1('0x6c')]);module[_0xd7f1('0x6d')]=router; \ No newline at end of file +var _0x9fcd=['/:id/recordings','getRecordings','/:id/chat/interactions','getChatInteractions','/:id/openchannel/interactions','/:id/mail/interactions','getMailInteractions','/:id/sms/interactions','getSmsInteractions','/:id/fax/interactions','getFaxInteractions','/:id/whatsapp/interactions','getWhatsappInteractions','/:id/teams','getTeams','/:id/lists','getLists','/:id/agents','getAgents','getVoicePrefixes','getFaxAccounts','getMailAccounts','/:id/openchannel_accounts','getOpenchannelAccounts','getSmsAccounts','/:id/chat_websites','getChatWebsites','/:id/whatsapp_accounts','getWhatsappAccounts','getSquareProjects','/:id/scheduled_calls','getScheduledCalls','/:id/api_key','getApiKey','post','/create_many','addContacts','create','addQueues','diskStorage','join','root','format','%s-%s','now','originalname','single','file','/:id/login','login','/:id/logout','logout','/:id/pause','pause','/:id/unpause','unpause','addTeams','/:id/chat_interactions','addChatInteractions','/:id/mail_interactions','addMailInteractions','/:id/fax_interactions','addFaxInteractions','/:id/sms_interactions','addSmsInteractions','/:id/openchannel_interactions','addOpenchannelInteractions','/:id/whatsapp_interactions','addWhatsappInteractions','/:id/fax_accounts','/:id/mail_accounts','addMailAccounts','addOpenchannelAccounts','/:id/sms_accounts','addSmsAccounts','addChatWebsites','/:id/square_projects','addSquareProjects','createApiKey','put','update','/:id/password','changePassword','delete','removeQueues','destroy','removeChatInteractions','removeMailInteractions','removeSmsInteractions','removeOpenchannelInteractions','removeMailAccounts','removeSmsAccounts','removeChatWebsites','removeWhatsappAccounts','removeSquareProjects','removeApiKey','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../config/environment','isAuthenticated','index','get','/describe','describe','/whoami','whoami','show','/:id/avatar','getAvatar','/:id/contacts','getContacts','/:id/queues','getQueues','/:id/queues_rt','getVoiceQueuesRt','/:id/groups'];(function(_0x4c6cf0,_0x826f70){var _0x108145=function(_0x299f69){while(--_0x299f69){_0x4c6cf0['push'](_0x4c6cf0['shift']());}};_0x108145(++_0x826f70);}(_0x9fcd,0x155));var _0xd9fc=function(_0x6f7259,_0x1a8d65){_0x6f7259=_0x6f7259-0x0;var _0x7521ef=_0x9fcd[_0x6f7259];return _0x7521ef;};'use strict';var multer=require(_0xd9fc('0x0'));var util=require(_0xd9fc('0x1'));var path=require(_0xd9fc('0x2'));var timeout=require(_0xd9fc('0x3'));var express=require(_0xd9fc('0x4'));var router=express[_0xd9fc('0x5')]();var auth=require(_0xd9fc('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0xd9fc('0x7'));var controller=require('./user.controller');router['get']('/',auth[_0xd9fc('0x8')](),controller[_0xd9fc('0x9')]);router[_0xd9fc('0xa')](_0xd9fc('0xb'),auth[_0xd9fc('0x8')](),controller[_0xd9fc('0xc')]);router[_0xd9fc('0xa')](_0xd9fc('0xd'),auth[_0xd9fc('0x8')](),controller[_0xd9fc('0xe')]);router['get']('/:id',auth[_0xd9fc('0x8')](),controller[_0xd9fc('0xf')]);router[_0xd9fc('0xa')](_0xd9fc('0x10'),controller[_0xd9fc('0x11')]);router[_0xd9fc('0xa')](_0xd9fc('0x12'),auth['isAuthenticated'](),controller[_0xd9fc('0x13')]);router[_0xd9fc('0xa')](_0xd9fc('0x14'),auth[_0xd9fc('0x8')](),controller[_0xd9fc('0x15')]);router[_0xd9fc('0xa')](_0xd9fc('0x16'),auth[_0xd9fc('0x8')](),controller[_0xd9fc('0x17')]);router['get'](_0xd9fc('0x18'),auth[_0xd9fc('0x8')](),controller['getGroups']);router[_0xd9fc('0xa')](_0xd9fc('0x19'),auth[_0xd9fc('0x8')](),controller[_0xd9fc('0x1a')]);router[_0xd9fc('0xa')]('/:id/screen_recordings',auth[_0xd9fc('0x8')](),controller['getScreenRecordings']);router[_0xd9fc('0xa')](_0xd9fc('0x1b'),auth['isAuthenticated'](),controller[_0xd9fc('0x1c')]);router[_0xd9fc('0xa')](_0xd9fc('0x1d'),auth['isAuthenticated'](),controller['getOpenchannelInteractions']);router['get'](_0xd9fc('0x1e'),auth[_0xd9fc('0x8')](),controller[_0xd9fc('0x1f')]);router[_0xd9fc('0xa')](_0xd9fc('0x20'),auth[_0xd9fc('0x8')](),controller[_0xd9fc('0x21')]);router['get'](_0xd9fc('0x22'),auth[_0xd9fc('0x8')](),controller[_0xd9fc('0x23')]);router[_0xd9fc('0xa')](_0xd9fc('0x24'),auth[_0xd9fc('0x8')](),controller[_0xd9fc('0x25')]);router[_0xd9fc('0xa')](_0xd9fc('0x26'),auth[_0xd9fc('0x8')](),controller[_0xd9fc('0x27')]);router[_0xd9fc('0xa')](_0xd9fc('0x28'),auth[_0xd9fc('0x8')](),controller[_0xd9fc('0x29')]);router['get'](_0xd9fc('0x2a'),auth['isAuthenticated'](),controller[_0xd9fc('0x2b')]);router[_0xd9fc('0xa')]('/:id/prefixes',auth[_0xd9fc('0x8')](),controller[_0xd9fc('0x2c')]);router[_0xd9fc('0xa')]('/:id/fax_accounts',auth[_0xd9fc('0x8')](),controller[_0xd9fc('0x2d')]);router[_0xd9fc('0xa')]('/:id/mail_accounts',auth['isAuthenticated'](),controller[_0xd9fc('0x2e')]);router['get'](_0xd9fc('0x2f'),auth['isAuthenticated'](),controller[_0xd9fc('0x30')]);router[_0xd9fc('0xa')]('/:id/sms_accounts',auth[_0xd9fc('0x8')](),controller[_0xd9fc('0x31')]);router[_0xd9fc('0xa')](_0xd9fc('0x32'),auth[_0xd9fc('0x8')](),controller[_0xd9fc('0x33')]);router[_0xd9fc('0xa')](_0xd9fc('0x34'),auth[_0xd9fc('0x8')](),controller[_0xd9fc('0x35')]);router[_0xd9fc('0xa')]('/:id/square_projects',auth[_0xd9fc('0x8')](),controller[_0xd9fc('0x36')]);router[_0xd9fc('0xa')](_0xd9fc('0x37'),auth[_0xd9fc('0x8')](),controller[_0xd9fc('0x38')]);router[_0xd9fc('0xa')](_0xd9fc('0x39'),auth['isAuthenticated'](),controller[_0xd9fc('0x3a')]);router[_0xd9fc('0x3b')](_0xd9fc('0x3c'),auth[_0xd9fc('0x8')](),controller['bulkCreate']);router[_0xd9fc('0x3b')](_0xd9fc('0x12'),auth[_0xd9fc('0x8')](),controller[_0xd9fc('0x3d')]);router[_0xd9fc('0x3b')]('/',auth['isAuthenticated'](),controller[_0xd9fc('0x3e')]);router[_0xd9fc('0x3b')](_0xd9fc('0x14'),auth['isAuthenticated'](),controller[_0xd9fc('0x3f')]);var upload=multer({'storage':multer[_0xd9fc('0x40')]({'destination':function(_0x55fb80,_0x5ca2f2,_0x550284){_0x550284(null,path[_0xd9fc('0x41')](config[_0xd9fc('0x42')],'server/files/images/'));},'filename':function(_0x436306,_0x343744,_0x5e5566){_0x5e5566(null,util[_0xd9fc('0x43')](_0xd9fc('0x44'),Date[_0xd9fc('0x45')](),_0x343744[_0xd9fc('0x46')]));}})});router[_0xd9fc('0x3b')](_0xd9fc('0x10'),upload[_0xd9fc('0x47')](_0xd9fc('0x48')),controller['addAvatar']);router[_0xd9fc('0x3b')](_0xd9fc('0x49'),auth[_0xd9fc('0x8')](),controller[_0xd9fc('0x4a')]);router['post'](_0xd9fc('0x4b'),auth[_0xd9fc('0x8')](),controller[_0xd9fc('0x4c')]);router['post'](_0xd9fc('0x4d'),auth[_0xd9fc('0x8')](),controller[_0xd9fc('0x4e')]);router['post'](_0xd9fc('0x4f'),auth['isAuthenticated'](),controller[_0xd9fc('0x50')]);router[_0xd9fc('0x3b')](_0xd9fc('0x26'),auth[_0xd9fc('0x8')](),controller[_0xd9fc('0x51')]);router['post'](_0xd9fc('0x52'),auth[_0xd9fc('0x8')](),controller[_0xd9fc('0x53')]);router[_0xd9fc('0x3b')](_0xd9fc('0x54'),auth[_0xd9fc('0x8')](),controller[_0xd9fc('0x55')]);router['post'](_0xd9fc('0x56'),auth['isAuthenticated'](),controller[_0xd9fc('0x57')]);router[_0xd9fc('0x3b')](_0xd9fc('0x58'),auth[_0xd9fc('0x8')](),controller[_0xd9fc('0x59')]);router[_0xd9fc('0x3b')](_0xd9fc('0x5a'),auth['isAuthenticated'](),controller[_0xd9fc('0x5b')]);router['post'](_0xd9fc('0x5c'),auth[_0xd9fc('0x8')](),controller[_0xd9fc('0x5d')]);router[_0xd9fc('0x3b')](_0xd9fc('0x5e'),auth[_0xd9fc('0x8')](),controller['addFaxAccounts']);router[_0xd9fc('0x3b')](_0xd9fc('0x5f'),auth[_0xd9fc('0x8')](),controller[_0xd9fc('0x60')]);router[_0xd9fc('0x3b')](_0xd9fc('0x2f'),auth[_0xd9fc('0x8')](),controller[_0xd9fc('0x61')]);router['post'](_0xd9fc('0x62'),auth['isAuthenticated'](),controller[_0xd9fc('0x63')]);router[_0xd9fc('0x3b')](_0xd9fc('0x32'),auth[_0xd9fc('0x8')](),controller[_0xd9fc('0x64')]);router['post'](_0xd9fc('0x34'),auth[_0xd9fc('0x8')](),controller['addWhatsappAccounts']);router['post'](_0xd9fc('0x65'),auth[_0xd9fc('0x8')](),controller[_0xd9fc('0x66')]);router[_0xd9fc('0x3b')](_0xd9fc('0x39'),auth[_0xd9fc('0x8')](),controller[_0xd9fc('0x67')]);router[_0xd9fc('0x68')]('/:id',auth[_0xd9fc('0x8')](),controller[_0xd9fc('0x69')]);router[_0xd9fc('0x68')](_0xd9fc('0x6a'),auth[_0xd9fc('0x8')](),controller[_0xd9fc('0x6b')]);router[_0xd9fc('0x6c')](_0xd9fc('0x14'),auth[_0xd9fc('0x8')](),controller[_0xd9fc('0x6d')]);router['delete'](_0xd9fc('0x26'),auth[_0xd9fc('0x8')](),controller['removeTeams']);router[_0xd9fc('0x6c')]('/:id',auth[_0xd9fc('0x8')](),controller[_0xd9fc('0x6e')]);router[_0xd9fc('0x6c')]('/:id/chat_interactions',auth['isAuthenticated'](),controller[_0xd9fc('0x6f')]);router[_0xd9fc('0x6c')](_0xd9fc('0x54'),auth[_0xd9fc('0x8')](),controller[_0xd9fc('0x70')]);router[_0xd9fc('0x6c')](_0xd9fc('0x56'),auth['isAuthenticated'](),controller['removeFaxInteractions']);router['delete'](_0xd9fc('0x58'),auth[_0xd9fc('0x8')](),controller[_0xd9fc('0x71')]);router[_0xd9fc('0x6c')](_0xd9fc('0x5a'),auth[_0xd9fc('0x8')](),controller[_0xd9fc('0x72')]);router[_0xd9fc('0x6c')]('/:id/whatsapp_interactions',auth[_0xd9fc('0x8')](),controller['removeWhatsappInteractions']);router['delete'](_0xd9fc('0x5e'),auth[_0xd9fc('0x8')](),controller['removeFaxAccounts']);router[_0xd9fc('0x6c')](_0xd9fc('0x5f'),auth[_0xd9fc('0x8')](),controller[_0xd9fc('0x73')]);router[_0xd9fc('0x6c')](_0xd9fc('0x2f'),auth[_0xd9fc('0x8')](),controller['removeOpenchannelAccounts']);router[_0xd9fc('0x6c')](_0xd9fc('0x62'),auth[_0xd9fc('0x8')](),controller[_0xd9fc('0x74')]);router[_0xd9fc('0x6c')](_0xd9fc('0x32'),auth[_0xd9fc('0x8')](),controller[_0xd9fc('0x75')]);router[_0xd9fc('0x6c')](_0xd9fc('0x34'),auth[_0xd9fc('0x8')](),controller[_0xd9fc('0x76')]);router[_0xd9fc('0x6c')](_0xd9fc('0x65'),auth[_0xd9fc('0x8')](),controller[_0xd9fc('0x77')]);router['delete'](_0xd9fc('0x39'),auth[_0xd9fc('0x8')](),controller[_0xd9fc('0x78')]);module[_0xd9fc('0x79')]=router; \ No newline at end of file diff --git a/server/api/user/user.attributes.js b/server/api/user/user.attributes.js index dd97616..a4206eb 100644 --- a/server/api/user/user.attributes.js +++ b/server/api/user/user.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xda00=['user','agent','telephone','internal','accountcode','BOOLEAN','DATE','DEFAULT\x20PAUSE','INTEGER','ENUM','friend','from-sip','ALLOWED_NOT_SCREENED','ALLOWED_PASSED_SCREEN','ALLOWED_FAILED_SCREEN','PROHIB_NOT_SCREENED','PROHIB_PASSED_SCREEN','PROHIB_FAILED_SCREEN','PROHIB','udp','transport','join','split','String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22udp\x22,\x20\x22tcp\x22]','rfc2833','info','shortinfo','auto','yes','outgoing','nat','String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22force_rport\x22,\x20\x22comedia\x22]','all','ulaw;alaw;gsm','allow','String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22ulaw\x22,\x20\x22alaw\x22,\x20\x22gsm\x22]','insecure','String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22port\x22,\x20\x22invite\x22]','never','accept','refuse','uas','fingerprint','active','passive','actpass','nonat','update','update,nonat','showWebBar','get','isArray','wss','encryption','force_avp','icesupport','dtlsenable','dtlscertfile','rtcp_mux','avpf','dtlsverify','dtlssetup','/etc/pki/tls/certs/motion.crt','dtlsprivatekey','TEXT','permissions','map','phoneBarEnableScreenRecordingByAgent','string','true','false','blocked','blockedAt','loginAttempts','sequelize','moment','util','lodash','exports','name','defaultuser','STRING','setDataValue','fullname','format','\x22%s\x22\x20<%s>','getDataValue','email','admin'];(function(_0x51dbe8,_0x5c4883){var _0x174697=function(_0x3ca6d9){while(--_0x3ca6d9){_0x51dbe8['push'](_0x51dbe8['shift']());}};_0x174697(++_0x5c4883);}(_0xda00,0x1ae));var _0x0da0=function(_0x292ca9,_0x1af630){_0x292ca9=_0x292ca9-0x0;var _0x4816a9=_0xda00[_0x292ca9];return _0x4816a9;};'use strict';var Sequelize=require(_0x0da0('0x0'));var moment=require(_0x0da0('0x1'));var util=require(_0x0da0('0x2'));var _=require(_0x0da0('0x3'));module[_0x0da0('0x4')]={'name':{'type':Sequelize['STRING'],'allowNull':![],'unique':'name','validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i},'set':function(_0x205724){this['setDataValue'](_0x0da0('0x5'),_0x205724);this['setDataValue'](_0x0da0('0x6'),_0x205724);},'comment':'The\x20name\x20of\x20the\x20user'},'fullname':{'type':Sequelize[_0x0da0('0x7')],'allowNull':![],'set':function(_0x1f5cb6){this[_0x0da0('0x8')](_0x0da0('0x9'),_0x1f5cb6);this['setDataValue']('callerid',util[_0x0da0('0xa')](_0x0da0('0xb'),_0x1f5cb6,this[_0x0da0('0xc')]('internal')));}},'alias':{'type':Sequelize[_0x0da0('0x7')]},'email':{'type':Sequelize[_0x0da0('0x7')],'allowNull':![],'unique':_0x0da0('0xd'),'validate':{'isEmail':!![]},'set':function(_0x65ba6d){if(_0x65ba6d){this[_0x0da0('0x8')](_0x0da0('0xd'),_0x65ba6d['toLowerCase']());}}},'role':{'type':Sequelize['ENUM'](_0x0da0('0xe'),_0x0da0('0xf'),_0x0da0('0x10'),_0x0da0('0x11')),'allowNull':![]},'password':{'type':Sequelize['STRING'],'allowNull':![],'validate':{'notEmpty':!![]}},'provider':{'type':Sequelize[_0x0da0('0x7')],'defaultValue':'local'},'internal':{'type':Sequelize['INTEGER'](0xb),'allowNull':![],'unique':_0x0da0('0x12'),'set':function(_0x3e5584){this[_0x0da0('0x8')](_0x0da0('0x12'),_0x3e5584);this['setDataValue'](_0x0da0('0x13'),_0x3e5584);this['setDataValue']('callerid',util[_0x0da0('0xa')](_0x0da0('0xb'),this['getDataValue'](_0x0da0('0x9')),_0x3e5584));}},'salt':{'type':Sequelize[_0x0da0('0x7')]},'phone':{'type':Sequelize[_0x0da0('0x7')]},'mobile':{'type':Sequelize[_0x0da0('0x7')]},'address':{'type':Sequelize[_0x0da0('0x7')]},'zipcode':{'type':Sequelize['STRING']},'userpic':{'type':Sequelize[_0x0da0('0x7')]},'city':{'type':Sequelize[_0x0da0('0x7')]},'country':{'type':Sequelize['STRING']},'online':{'type':Sequelize[_0x0da0('0x14')],'defaultValue':![]},'lastLoginAt':{'type':Sequelize[_0x0da0('0x15')]},'voicePause':{'type':Sequelize[_0x0da0('0x14')],'defaultValue':![]},'chatPause':{'type':Sequelize[_0x0da0('0x14')],'defaultValue':![]},'mailPause':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'faxPause':{'type':Sequelize[_0x0da0('0x14')],'defaultValue':![]},'smsPause':{'type':Sequelize[_0x0da0('0x14')],'defaultValue':![]},'whatsappPause':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'openchannelPause':{'type':Sequelize[_0x0da0('0x14')],'defaultValue':![]},'pauseType':{'type':Sequelize[_0x0da0('0x7')],'defaultValue':_0x0da0('0x16')},'lastPauseAt':{'type':Sequelize[_0x0da0('0x15')]},'chatCapacity':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'mailCapacity':{'type':Sequelize[_0x0da0('0x17')],'defaultValue':0x0},'faxCapacity':{'type':Sequelize[_0x0da0('0x17')],'defaultValue':0x0},'smsCapacity':{'type':Sequelize[_0x0da0('0x17')],'defaultValue':0x0},'whatsappCapacity':{'type':Sequelize[_0x0da0('0x17')],'defaultValue':0x0},'openchannelCapacity':{'type':Sequelize[_0x0da0('0x17')],'defaultValue':0x0},'phoneBarAutoAnswer':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarEnableSettings':{'type':Sequelize[_0x0da0('0x14')],'defaultValue':!![]},'phoneBarListenPort':{'type':Sequelize[_0x0da0('0x17')](0x5),'defaultValue':0x1428},'phoneBarExpires':{'type':Sequelize[_0x0da0('0x17')](0x5),'defaultValue':0x78},'phoneBarRemoteControl':{'type':Sequelize[_0x0da0('0x14')],'defaultValue':![]},'phoneBarRemoteControlPort':{'type':Sequelize['INTEGER'],'defaultValue':0x26a0},'phoneBarEnableRecording':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarRingInUse':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'chanspy':{'type':Sequelize[_0x0da0('0x14')],'defaultValue':![]},'description':{'type':Sequelize[_0x0da0('0x7')],'allowNull':!![]},'host':{'type':Sequelize[_0x0da0('0x7')],'allowNull':!![],'defaultValue':'dynamic'},'ipaddr':{'type':Sequelize['STRING'],'allowNull':!![]},'port':{'type':Sequelize[_0x0da0('0x17')](0x5),'allowNull':!![]},'regseconds':{'type':Sequelize[_0x0da0('0x17')](0xb),'allowNull':!![]},'fullcontact':{'type':Sequelize[_0x0da0('0x7')],'allowNull':!![]},'regserver':{'type':Sequelize[_0x0da0('0x7')],'allowNull':!![]},'useragent':{'type':Sequelize[_0x0da0('0x7')],'allowNull':!![]},'lastms':{'type':Sequelize[_0x0da0('0x17')](0xb),'allowNull':!![]},'type':{'type':Sequelize[_0x0da0('0x18')]('friend',_0x0da0('0xf'),'peer'),'allowNull':!![],'defaultValue':_0x0da0('0x19')},'context':{'type':Sequelize[_0x0da0('0x7')],'allowNull':!![],'defaultValue':_0x0da0('0x1a')},'callingpres':{'type':Sequelize['ENUM'](_0x0da0('0x1b'),_0x0da0('0x1c'),_0x0da0('0x1d'),'ALLOWED',_0x0da0('0x1e'),_0x0da0('0x1f'),_0x0da0('0x20'),_0x0da0('0x21')),'allowNull':!![]},'deny':{'type':Sequelize[_0x0da0('0x7')],'allowNull':!![]},'permit':{'type':Sequelize[_0x0da0('0x7')],'allowNull':!![]},'secret':{'type':Sequelize[_0x0da0('0x7')],'allowNull':!![]},'md5secret':{'type':Sequelize[_0x0da0('0x7')],'allowNull':!![]},'remotesecret':{'type':Sequelize[_0x0da0('0x7')],'allowNull':!![]},'transport':{'type':Sequelize[_0x0da0('0x7')],'allowNull':!![],'defaultValue':_0x0da0('0x22'),'set':function(_0x234769){this[_0x0da0('0x8')](_0x0da0('0x23'),_0x234769?_0x234769[_0x0da0('0x24')](','):null);},'get':function(){return this[_0x0da0('0xc')]('transport')?this[_0x0da0('0xc')](_0x0da0('0x23'))[_0x0da0('0x25')](','):null;},'comment':_0x0da0('0x26')},'dtmfmode':{'type':Sequelize[_0x0da0('0x18')](_0x0da0('0x27'),_0x0da0('0x28'),_0x0da0('0x29'),'inband',_0x0da0('0x2a')),'allowNull':!![],'defaultValue':_0x0da0('0x27')},'directmedia':{'type':Sequelize[_0x0da0('0x18')](_0x0da0('0x2b'),'no','nonat','update',_0x0da0('0x2c')),'allowNull':!![],'defaultValue':'no'},'directrtpsetup':{'type':Sequelize['ENUM'](_0x0da0('0x2b'),'no'),'allowNull':!![],'defaultValue':'no'},'directmediapermit':{'type':Sequelize['STRING'],'allowNull':!![]},'directmediadeny':{'type':Sequelize[_0x0da0('0x7')],'allowNull':!![]},'nat':{'type':Sequelize[_0x0da0('0x7')],'allowNull':!![],'defaultValue':'force_rport,comedia','set':function(_0x1d41e3){this[_0x0da0('0x8')](_0x0da0('0x2d'),_0x1d41e3?_0x1d41e3[_0x0da0('0x24')](','):null);},'get':function(){return this[_0x0da0('0xc')](_0x0da0('0x2d'))?this[_0x0da0('0xc')](_0x0da0('0x2d'))['split'](','):null;},'comment':_0x0da0('0x2e')},'callgroup':{'type':Sequelize[_0x0da0('0x7')]},'namedcallgroup':{'type':Sequelize[_0x0da0('0x7')]},'pickupgroup':{'type':Sequelize['STRING']},'namedpickupgroup':{'type':Sequelize[_0x0da0('0x7')]},'language':{'type':Sequelize[_0x0da0('0x7')],'defaultValue':'en'},'tonezone':{'type':Sequelize[_0x0da0('0x7')]},'disallow':{'type':Sequelize[_0x0da0('0x7')],'allowNull':![],'defaultValue':_0x0da0('0x2f')},'allow':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':_0x0da0('0x30'),'set':function(_0x45ce13){this[_0x0da0('0x8')](_0x0da0('0x31'),_0x45ce13?_0x45ce13[_0x0da0('0x24')](';'):_0x0da0('0x30'));},'get':function(){return this[_0x0da0('0xc')](_0x0da0('0x31'))?this[_0x0da0('0xc')](_0x0da0('0x31'))[_0x0da0('0x25')](';'):null;},'comment':_0x0da0('0x32')},'autoframing':{'type':Sequelize['ENUM'](_0x0da0('0x2b'),'no'),'allowNull':!![]},'insecure':{'type':Sequelize[_0x0da0('0x7')],'allowNull':!![],'set':function(_0x2473e1){this[_0x0da0('0x8')](_0x0da0('0x33'),_0x2473e1?_0x2473e1['join'](','):null);},'get':function(){return this[_0x0da0('0xc')](_0x0da0('0x33'))?this[_0x0da0('0xc')](_0x0da0('0x33'))['split'](','):null;},'comment':_0x0da0('0x34')},'trustrpid':{'type':Sequelize[_0x0da0('0x18')](_0x0da0('0x2b'),'no'),'allowNull':!![],'defaultValue':'no'},'trust_id_outbound':{'type':Sequelize[_0x0da0('0x18')](_0x0da0('0x2b'),'no'),'allowNull':!![],'defaultValue':'no'},'progressinband':{'type':Sequelize[_0x0da0('0x18')](_0x0da0('0x2b'),'no',_0x0da0('0x35')),'allowNull':!![]},'promiscredir':{'type':Sequelize[_0x0da0('0x18')](_0x0da0('0x2b'),'no'),'allowNull':!![]},'useclientcode':{'type':Sequelize[_0x0da0('0x18')](_0x0da0('0x2b'),'no'),'allowNull':!![]},'accountcode':{'type':Sequelize[_0x0da0('0x17')](0xb),'allowNull':!![]},'setvar':{'type':Sequelize[_0x0da0('0x7')],'allowNull':!![]},'callerid':{'type':Sequelize[_0x0da0('0x7')],'allowNull':!![],'defaultValue':'\x22\x22\x20<>'},'amaflags':{'type':Sequelize[_0x0da0('0x7')],'allowNull':!![]},'callcounter':{'type':Sequelize[_0x0da0('0x18')](_0x0da0('0x2b'),'no'),'allowNull':!![],'defaultValue':_0x0da0('0x2b')},'busylevel':{'type':Sequelize[_0x0da0('0x17')](0xb),'allowNull':!![]},'allowoverlap':{'type':Sequelize[_0x0da0('0x18')](_0x0da0('0x2b'),'no'),'allowNull':!![]},'allowsubscribe':{'type':Sequelize[_0x0da0('0x18')](_0x0da0('0x2b'),'no'),'allowNull':!![]},'allowtransfer':{'type':Sequelize['ENUM'](_0x0da0('0x2b'),'no'),'allowNull':!![]},'ignoresdpversion':{'type':Sequelize['ENUM'](_0x0da0('0x2b'),'no'),'allowNull':!![]},'subscribecontext':{'type':Sequelize['STRING'],'allowNull':!![]},'template':{'type':Sequelize[_0x0da0('0x7')],'allowNull':!![]},'videosupport':{'type':Sequelize[_0x0da0('0x18')](_0x0da0('0x2b'),'no','always'),'allowNull':!![],'defaultValue':'no'},'maxcallbitrate':{'type':Sequelize[_0x0da0('0x17')](0xb),'allowNull':!![]},'rfc2833compensate':{'type':Sequelize[_0x0da0('0x18')](_0x0da0('0x2b'),'no'),'allowNull':!![]},'mailbox':{'type':Sequelize[_0x0da0('0x7')],'allowNull':!![]},'session_timers':{'type':Sequelize['ENUM'](_0x0da0('0x36'),_0x0da0('0x37'),'originate'),'allowNull':!![]},'session_expires':{'type':Sequelize[_0x0da0('0x17')](0xb),'allowNull':!![]},'session_minse':{'type':Sequelize[_0x0da0('0x17')](0xb),'allowNull':!![]},'session_refresher':{'type':Sequelize[_0x0da0('0x18')]('uac',_0x0da0('0x38')),'allowNull':!![],'defaultValue':_0x0da0('0x38')},'t38pt_usertpsource':{'type':Sequelize[_0x0da0('0x7')],'allowNull':!![]},'regexten':{'type':Sequelize[_0x0da0('0x7')],'allowNull':!![]},'fromdomain':{'type':Sequelize['STRING'],'allowNull':!![]},'fromuser':{'type':Sequelize['STRING'],'allowNull':!![]},'qualify':{'type':Sequelize['ENUM'](_0x0da0('0x2b'),'no'),'allowNull':!![],'defaultValue':_0x0da0('0x2b')},'keepalive':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'defaultip':{'type':Sequelize['STRING'],'allowNull':!![]},'defaultuser':{'type':Sequelize[_0x0da0('0x7')],'allowNull':!![]},'rtptimeout':{'type':Sequelize[_0x0da0('0x17')](0xb),'allowNull':!![]},'rtpholdtimeout':{'type':Sequelize[_0x0da0('0x17')](0xb),'allowNull':!![]},'rtpkeepalive':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'sendrpid':{'type':Sequelize[_0x0da0('0x18')](_0x0da0('0x2b'),'no'),'allowNull':!![],'defaultValue':'no'},'outboundproxy':{'type':Sequelize['STRING'],'allowNull':!![]},'callbackextension':{'type':Sequelize[_0x0da0('0x7')],'allowNull':!![]},'timert1':{'type':Sequelize[_0x0da0('0x17')](0xb),'allowNull':!![]},'timerb':{'type':Sequelize[_0x0da0('0x17')](0xb),'allowNull':!![]},'qualifyfreq':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'contactpermit':{'type':Sequelize[_0x0da0('0x7')],'allowNull':!![]},'contactdeny':{'type':Sequelize[_0x0da0('0x7')],'allowNull':!![]},'contactacl':{'type':Sequelize[_0x0da0('0x7')],'allowNull':!![]},'unsolicited_mailbox':{'type':Sequelize[_0x0da0('0x7')],'allowNull':!![]},'use_q850_reason':{'type':Sequelize[_0x0da0('0x7')],'allowNull':!![]},'maxforwards':{'type':Sequelize[_0x0da0('0x17')](0xb),'allowNull':!![]},'encryption':{'type':Sequelize['ENUM'](_0x0da0('0x2b'),'no'),'allowNull':!![],'defaultValue':'no'},'avpf':{'type':Sequelize['ENUM'](_0x0da0('0x2b'),'no'),'allowNull':!![]},'force_avp':{'type':Sequelize[_0x0da0('0x18')](_0x0da0('0x2b'),'no'),'allowNull':!![]},'icesupport':{'type':Sequelize['ENUM']('yes','no'),'allowNull':!![]},'dtlsenable':{'type':Sequelize[_0x0da0('0x18')](_0x0da0('0x2b'),'no'),'allowNull':!![]},'dtlsverify':{'type':Sequelize[_0x0da0('0x18')](_0x0da0('0x2b'),'no',_0x0da0('0x39'),'certificate'),'allowNull':!![]},'dtlsrekey':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'dtlscertfile':{'type':Sequelize[_0x0da0('0x7')],'allowNull':!![]},'dtlsprivatekey':{'type':Sequelize[_0x0da0('0x7')],'allowNull':!![]},'dtlscipher':{'type':Sequelize[_0x0da0('0x7')],'allowNull':!![]},'dtlscafile':{'type':Sequelize['STRING'],'allowNull':!![]},'dtlscapath':{'type':Sequelize['STRING'],'allowNull':!![]},'dtlssetup':{'type':Sequelize[_0x0da0('0x18')](_0x0da0('0x3a'),_0x0da0('0x3b'),_0x0da0('0x3c')),'allowNull':!![]},'dtlsfingerprint':{'type':Sequelize[_0x0da0('0x7')],'allowNull':!![]},'usereqphone':{'type':Sequelize['ENUM']('yes','no'),'allowNull':!![],'defaultValue':'no'},'recordonfeature':{'type':Sequelize[_0x0da0('0x7')],'allowNull':!![]},'recordofffeature':{'type':Sequelize[_0x0da0('0x7')],'allowNull':!![]},'call_limit':{'type':Sequelize[_0x0da0('0x17')](0xb),'allowNull':!![],'defaultValue':0xa},'registertrying':{'type':Sequelize[_0x0da0('0x18')](_0x0da0('0x2b'),'no'),'allowNull':!![]},'subscribemwi':{'type':Sequelize[_0x0da0('0x18')](_0x0da0('0x2b'),'no'),'allowNull':!![]},'vmexten':{'type':Sequelize['STRING'],'allowNull':!![]},'mohinterpret':{'type':Sequelize[_0x0da0('0x7')],'allowNull':!![]},'mohsuggest':{'type':Sequelize[_0x0da0('0x7')],'allowNull':!![]},'parkinglot':{'type':Sequelize[_0x0da0('0x7')],'allowNull':!![]},'canreinvite':{'type':Sequelize['ENUM'](_0x0da0('0x2b'),'no',_0x0da0('0x3d'),_0x0da0('0x3e'),_0x0da0('0x3f')),'allowNull':!![],'defaultValue':'no'},'loginInPause':{'type':Sequelize[_0x0da0('0x14')],'defaultValue':![]},'resetPasswordToken':{'type':Sequelize[_0x0da0('0x7')]},'resetPasswordExpires':{'type':Sequelize[_0x0da0('0x15')]},'showWebBar':{'type':Sequelize[_0x0da0('0x17')],'defaultValue':0x0,'set':function(_0x2149e3){this[_0x0da0('0x8')](_0x0da0('0x40'),_0x2149e3);var _0x4c7b3b=this[_0x0da0('0x41')]({'plain':!![]});switch(_0x2149e3){case 0x0:case 0x1:var _0x557985=_0x4c7b3b[_0x0da0('0x23')]?_[_0x0da0('0x42')](_0x4c7b3b[_0x0da0('0x23')])?_0x4c7b3b['transport'][_0x0da0('0x24')]():_0x4c7b3b['transport']:_0x0da0('0x22');if(_0x557985===_0x0da0('0x43')){_0x557985=_0x0da0('0x22');}this[_0x0da0('0x8')]('transport',_0x557985);this[_0x0da0('0x8')](_0x0da0('0x44'),'no');this['setDataValue']('avpf',null);this[_0x0da0('0x8')](_0x0da0('0x45'),null);this['setDataValue'](_0x0da0('0x46'),null);this[_0x0da0('0x8')](_0x0da0('0x47'),null);this[_0x0da0('0x8')]('dtlsverify',null);this['setDataValue']('dtlssetup',null);this[_0x0da0('0x8')](_0x0da0('0x48'),null);this['setDataValue']('dtlsprivatekey',null);this['setDataValue'](_0x0da0('0x49'),'no');break;case 0x2:this[_0x0da0('0x8')]('transport','wss');this[_0x0da0('0x8')]('encryption',_0x0da0('0x2b'));this['setDataValue'](_0x0da0('0x4a'),_0x0da0('0x2b'));this[_0x0da0('0x8')]('force_avp',_0x0da0('0x2b'));this[_0x0da0('0x8')](_0x0da0('0x46'),_0x0da0('0x2b'));this[_0x0da0('0x8')]('dtlsenable',_0x0da0('0x2b'));this[_0x0da0('0x8')](_0x0da0('0x4b'),'no');this['setDataValue'](_0x0da0('0x4c'),'actpass');this[_0x0da0('0x8')](_0x0da0('0x48'),_0x4c7b3b[_0x0da0('0x48')]||_0x0da0('0x4d'));this['setDataValue'](_0x0da0('0x4e'),_0x4c7b3b[_0x0da0('0x4e')]||'/etc/pki/tls/private/motion.key');this['setDataValue'](_0x0da0('0x49'),_0x0da0('0x2b'));break;default:}}},'permissions':{'type':Sequelize[_0x0da0('0x4f')],'set':function(_0x1719d9){this[_0x0da0('0x8')](_0x0da0('0x50'),_0x1719d9?_0x1719d9[_0x0da0('0x24')](','):[]);},'get':function(){return this[_0x0da0('0xc')](_0x0da0('0x50'))?_[_0x0da0('0x51')](this['getDataValue'](_0x0da0('0x50'))['split'](','),function(_0x42e28a){return parseInt(_0x42e28a,0xa);}):[];}},'phoneBarUnconditionalNumber':{'type':Sequelize[_0x0da0('0x7')]},'phoneBarNoReplyNumber':{'type':Sequelize[_0x0da0('0x7')]},'phoneBarBusyNumber':{'type':Sequelize['STRING']},'phoneBarUnconditional':{'type':Sequelize[_0x0da0('0x14')],'defaultValue':![]},'phoneBarNoReply':{'type':Sequelize[_0x0da0('0x14')],'defaultValue':![]},'phoneBarBusy':{'type':Sequelize[_0x0da0('0x14')],'defaultValue':![]},'phoneBarDnd':{'type':Sequelize[_0x0da0('0x14')],'defaultValue':!![]},'phoneBarUnansweredCallBadge':{'type':Sequelize[_0x0da0('0x14')],'defaultValue':!![]},'phoneBarEnableDtmfTone':{'type':Sequelize[_0x0da0('0x14')],'defaultValue':![]},'phoneBarAutoAnswerDelay':{'type':Sequelize[_0x0da0('0x17')],'defaultValue':0x0},'extensionMonitor':{'type':Sequelize[_0x0da0('0x7')],'defaultValue':''},'crudPermissions':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'rtcp_mux':{'type':Sequelize[_0x0da0('0x18')]('yes','no'),'defaultValue':'no'},'allowmessenger':{'type':Sequelize[_0x0da0('0x14')],'defaultValue':!![]},'phoneBarOutboundProxy':{'type':Sequelize[_0x0da0('0x7')]},'passwordResetAt':{'type':Sequelize['DATE'],'defaultValue':null},'phoneBarEnableJaws':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarEnableScreenRecordingByAgent':{'type':Sequelize[_0x0da0('0x14')],'defaultValue':![]},'phoneBarEnableVideoRecording':{'type':Sequelize['VIRTUAL'],'get':function(){return this[_0x0da0('0xc')](_0x0da0('0x52'))?this[_0x0da0('0xc')](_0x0da0('0x52')):![];}},'phoneBarEnableAutomaticScreenRecording':{'type':Sequelize[_0x0da0('0x14')],'defaultValue':![]},'phoneBarPrefixRequired':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'hotdesk':{'type':Sequelize[_0x0da0('0x14')],'defaultValue':![]},'interface':{'type':Sequelize[_0x0da0('0x7')],'defaultValue':null},'privacyEnabled':{'type':Sequelize[_0x0da0('0x14')],'defaultValue':![]},'apiKeyNonce':{'type':Sequelize[_0x0da0('0x7')],'allowNull':!![]},'apiKeyIat':{'type':Sequelize[_0x0da0('0x7')],'allowNull':!![]},'screenrecording':{'type':Sequelize[_0x0da0('0x14')],'defaultValue':![],'set':function(_0x1e23af){if(typeof _0x1e23af===_0x0da0('0x53')){var _0x250e07=_0x1e23af==='1'?!![]:_0x1e23af==='0'?![]:_0x1e23af===_0x0da0('0x54')?!![]:_0x1e23af===_0x0da0('0x55')?![]:![];this[_0x0da0('0x8')]('screenrecording',_0x250e07);}else{this[_0x0da0('0x8')]('screenrecording',_0x1e23af);}}},'blocked':{'type':Sequelize[_0x0da0('0x14')],'defaultValue':![],'set':function(_0x100df0){this['setDataValue'](_0x0da0('0x56'),_0x100df0);if(_0x100df0===!![]){this['setDataValue'](_0x0da0('0x57'),moment());this[_0x0da0('0x8')](_0x0da0('0x58'),0x0);}else{this[_0x0da0('0x8')](_0x0da0('0x57'),null);}}},'blockedAt':{'type':Sequelize[_0x0da0('0x15')],'defaultValue':null},'loginAttempts':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'disabled':{'type':Sequelize['BOOLEAN'],'defaultValue':![]}}; \ No newline at end of file +var _0xef55=['util','exports','STRING','name','setDataValue','defaultuser','The\x20name\x20of\x20the\x20user','fullname','format','\x22%s\x22\x20<%s>','getDataValue','internal','email','toLowerCase','ENUM','admin','user','telephone','local','accountcode','callerid','BOOLEAN','DATE','DEFAULT\x20PAUSE','INTEGER','dynamic','friend','peer','ALLOWED_PASSED_SCREEN','ALLOWED_FAILED_SCREEN','ALLOWED','PROHIB_NOT_SCREENED','PROHIB_PASSED_SCREEN','PROHIB_FAILED_SCREEN','PROHIB','udp','transport','join','split','String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22udp\x22,\x20\x22tcp\x22]','rfc2833','info','yes','nonat','update','force_rport,comedia','nat','ulaw;alaw;gsm','allow','insecure','never','\x22\x22\x20<>','originate','uac','uas','fingerprint','certificate','passive','actpass','update,nonat','showWebBar','get','isArray','wss','encryption','avpf','force_avp','icesupport','dtlsenable','dtlsverify','dtlsprivatekey','rtcp_mux','dtlscertfile','/etc/pki/tls/certs/motion.crt','permissions','phoneBarEnableScreenRecordingByAgent','string','false','screenrecording','blocked','loginAttempts','blockedAt','sequelize'];(function(_0xb2b502,_0x3c4f6b){var _0x38b8b2=function(_0x2c4bdf){while(--_0x2c4bdf){_0xb2b502['push'](_0xb2b502['shift']());}};_0x38b8b2(++_0x3c4f6b);}(_0xef55,0x14b));var _0x5ef5=function(_0x268a01,_0x1954fd){_0x268a01=_0x268a01-0x0;var _0x2bcaf4=_0xef55[_0x268a01];return _0x2bcaf4;};'use strict';var Sequelize=require(_0x5ef5('0x0'));var moment=require('moment');var util=require(_0x5ef5('0x1'));var _=require('lodash');module[_0x5ef5('0x2')]={'name':{'type':Sequelize[_0x5ef5('0x3')],'allowNull':![],'unique':_0x5ef5('0x4'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i},'set':function(_0xe38ad6){this[_0x5ef5('0x5')](_0x5ef5('0x4'),_0xe38ad6);this[_0x5ef5('0x5')](_0x5ef5('0x6'),_0xe38ad6);},'comment':_0x5ef5('0x7')},'fullname':{'type':Sequelize[_0x5ef5('0x3')],'allowNull':![],'set':function(_0x5e4230){this[_0x5ef5('0x5')](_0x5ef5('0x8'),_0x5e4230);this[_0x5ef5('0x5')]('callerid',util[_0x5ef5('0x9')](_0x5ef5('0xa'),_0x5e4230,this[_0x5ef5('0xb')](_0x5ef5('0xc'))));}},'alias':{'type':Sequelize[_0x5ef5('0x3')]},'email':{'type':Sequelize[_0x5ef5('0x3')],'allowNull':![],'unique':_0x5ef5('0xd'),'validate':{'isEmail':!![]},'set':function(_0x965e12){if(_0x965e12){this[_0x5ef5('0x5')](_0x5ef5('0xd'),_0x965e12[_0x5ef5('0xe')]());}}},'role':{'type':Sequelize[_0x5ef5('0xf')](_0x5ef5('0x10'),_0x5ef5('0x11'),'agent',_0x5ef5('0x12')),'allowNull':![]},'password':{'type':Sequelize[_0x5ef5('0x3')],'allowNull':![],'validate':{'notEmpty':!![]}},'provider':{'type':Sequelize['STRING'],'defaultValue':_0x5ef5('0x13')},'internal':{'type':Sequelize['INTEGER'](0xb),'allowNull':![],'unique':'internal','set':function(_0xa0b6d6){this[_0x5ef5('0x5')]('internal',_0xa0b6d6);this[_0x5ef5('0x5')](_0x5ef5('0x14'),_0xa0b6d6);this['setDataValue'](_0x5ef5('0x15'),util['format']('\x22%s\x22\x20<%s>',this[_0x5ef5('0xb')](_0x5ef5('0x8')),_0xa0b6d6));}},'salt':{'type':Sequelize[_0x5ef5('0x3')]},'phone':{'type':Sequelize[_0x5ef5('0x3')]},'mobile':{'type':Sequelize[_0x5ef5('0x3')]},'address':{'type':Sequelize[_0x5ef5('0x3')]},'zipcode':{'type':Sequelize[_0x5ef5('0x3')]},'userpic':{'type':Sequelize['STRING']},'city':{'type':Sequelize[_0x5ef5('0x3')]},'country':{'type':Sequelize['STRING']},'online':{'type':Sequelize[_0x5ef5('0x16')],'defaultValue':![]},'lastLoginAt':{'type':Sequelize[_0x5ef5('0x17')]},'voicePause':{'type':Sequelize[_0x5ef5('0x16')],'defaultValue':![]},'chatPause':{'type':Sequelize[_0x5ef5('0x16')],'defaultValue':![]},'mailPause':{'type':Sequelize[_0x5ef5('0x16')],'defaultValue':![]},'faxPause':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'smsPause':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'whatsappPause':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'openchannelPause':{'type':Sequelize[_0x5ef5('0x16')],'defaultValue':![]},'pauseType':{'type':Sequelize['STRING'],'defaultValue':_0x5ef5('0x18')},'lastPauseAt':{'type':Sequelize[_0x5ef5('0x17')]},'chatCapacity':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'mailCapacity':{'type':Sequelize[_0x5ef5('0x19')],'defaultValue':0x0},'faxCapacity':{'type':Sequelize[_0x5ef5('0x19')],'defaultValue':0x0},'smsCapacity':{'type':Sequelize[_0x5ef5('0x19')],'defaultValue':0x0},'whatsappCapacity':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'openchannelCapacity':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'phoneBarAutoAnswer':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarEnableSettings':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'phoneBarListenPort':{'type':Sequelize[_0x5ef5('0x19')](0x5),'defaultValue':0x1428},'phoneBarExpires':{'type':Sequelize[_0x5ef5('0x19')](0x5),'defaultValue':0x78},'phoneBarRemoteControl':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarRemoteControlPort':{'type':Sequelize[_0x5ef5('0x19')],'defaultValue':0x26a0},'phoneBarEnableRecording':{'type':Sequelize[_0x5ef5('0x16')],'defaultValue':![]},'phoneBarRingInUse':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'chanspy':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'description':{'type':Sequelize[_0x5ef5('0x3')],'allowNull':!![]},'host':{'type':Sequelize[_0x5ef5('0x3')],'allowNull':!![],'defaultValue':_0x5ef5('0x1a')},'ipaddr':{'type':Sequelize['STRING'],'allowNull':!![]},'port':{'type':Sequelize[_0x5ef5('0x19')](0x5),'allowNull':!![]},'regseconds':{'type':Sequelize[_0x5ef5('0x19')](0xb),'allowNull':!![]},'fullcontact':{'type':Sequelize[_0x5ef5('0x3')],'allowNull':!![]},'regserver':{'type':Sequelize['STRING'],'allowNull':!![]},'useragent':{'type':Sequelize[_0x5ef5('0x3')],'allowNull':!![]},'lastms':{'type':Sequelize[_0x5ef5('0x19')](0xb),'allowNull':!![]},'type':{'type':Sequelize[_0x5ef5('0xf')](_0x5ef5('0x1b'),_0x5ef5('0x11'),_0x5ef5('0x1c')),'allowNull':!![],'defaultValue':_0x5ef5('0x1b')},'context':{'type':Sequelize[_0x5ef5('0x3')],'allowNull':!![],'defaultValue':'from-sip'},'callingpres':{'type':Sequelize['ENUM']('ALLOWED_NOT_SCREENED',_0x5ef5('0x1d'),_0x5ef5('0x1e'),_0x5ef5('0x1f'),_0x5ef5('0x20'),_0x5ef5('0x21'),_0x5ef5('0x22'),_0x5ef5('0x23')),'allowNull':!![]},'deny':{'type':Sequelize['STRING'],'allowNull':!![]},'permit':{'type':Sequelize[_0x5ef5('0x3')],'allowNull':!![]},'secret':{'type':Sequelize[_0x5ef5('0x3')],'allowNull':!![]},'md5secret':{'type':Sequelize[_0x5ef5('0x3')],'allowNull':!![]},'remotesecret':{'type':Sequelize[_0x5ef5('0x3')],'allowNull':!![]},'transport':{'type':Sequelize[_0x5ef5('0x3')],'allowNull':!![],'defaultValue':_0x5ef5('0x24'),'set':function(_0x256d71){this[_0x5ef5('0x5')](_0x5ef5('0x25'),_0x256d71?_0x256d71[_0x5ef5('0x26')](','):null);},'get':function(){return this[_0x5ef5('0xb')](_0x5ef5('0x25'))?this[_0x5ef5('0xb')](_0x5ef5('0x25'))[_0x5ef5('0x27')](','):null;},'comment':_0x5ef5('0x28')},'dtmfmode':{'type':Sequelize[_0x5ef5('0xf')](_0x5ef5('0x29'),_0x5ef5('0x2a'),'shortinfo','inband','auto'),'allowNull':!![],'defaultValue':_0x5ef5('0x29')},'directmedia':{'type':Sequelize['ENUM'](_0x5ef5('0x2b'),'no',_0x5ef5('0x2c'),_0x5ef5('0x2d'),'outgoing'),'allowNull':!![],'defaultValue':'no'},'directrtpsetup':{'type':Sequelize['ENUM']('yes','no'),'allowNull':!![],'defaultValue':'no'},'directmediapermit':{'type':Sequelize[_0x5ef5('0x3')],'allowNull':!![]},'directmediadeny':{'type':Sequelize['STRING'],'allowNull':!![]},'nat':{'type':Sequelize['STRING'],'allowNull':!![],'defaultValue':_0x5ef5('0x2e'),'set':function(_0x17c36c){this[_0x5ef5('0x5')]('nat',_0x17c36c?_0x17c36c['join'](','):null);},'get':function(){return this[_0x5ef5('0xb')](_0x5ef5('0x2f'))?this[_0x5ef5('0xb')]('nat')[_0x5ef5('0x27')](','):null;},'comment':'String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22force_rport\x22,\x20\x22comedia\x22]'},'callgroup':{'type':Sequelize[_0x5ef5('0x3')]},'namedcallgroup':{'type':Sequelize['STRING']},'pickupgroup':{'type':Sequelize[_0x5ef5('0x3')]},'namedpickupgroup':{'type':Sequelize[_0x5ef5('0x3')]},'language':{'type':Sequelize['STRING'],'defaultValue':'en'},'tonezone':{'type':Sequelize['STRING']},'disallow':{'type':Sequelize[_0x5ef5('0x3')],'allowNull':![],'defaultValue':'all'},'allow':{'type':Sequelize[_0x5ef5('0x3')],'allowNull':![],'defaultValue':_0x5ef5('0x30'),'set':function(_0x464b48){this[_0x5ef5('0x5')]('allow',_0x464b48?_0x464b48['join'](';'):'ulaw;alaw;gsm');},'get':function(){return this['getDataValue'](_0x5ef5('0x31'))?this['getDataValue'](_0x5ef5('0x31'))[_0x5ef5('0x27')](';'):null;},'comment':'String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22ulaw\x22,\x20\x22alaw\x22,\x20\x22gsm\x22]'},'autoframing':{'type':Sequelize[_0x5ef5('0xf')](_0x5ef5('0x2b'),'no'),'allowNull':!![]},'insecure':{'type':Sequelize[_0x5ef5('0x3')],'allowNull':!![],'set':function(_0x3734c2){this[_0x5ef5('0x5')]('insecure',_0x3734c2?_0x3734c2[_0x5ef5('0x26')](','):null);},'get':function(){return this[_0x5ef5('0xb')](_0x5ef5('0x32'))?this[_0x5ef5('0xb')](_0x5ef5('0x32'))[_0x5ef5('0x27')](','):null;},'comment':'String\x20is\x20deprecated.\x20Please\x20use\x20an\x20Array\x20as\x20[\x22port\x22,\x20\x22invite\x22]'},'trustrpid':{'type':Sequelize[_0x5ef5('0xf')](_0x5ef5('0x2b'),'no'),'allowNull':!![],'defaultValue':'no'},'trust_id_outbound':{'type':Sequelize[_0x5ef5('0xf')](_0x5ef5('0x2b'),'no'),'allowNull':!![],'defaultValue':'no'},'progressinband':{'type':Sequelize[_0x5ef5('0xf')](_0x5ef5('0x2b'),'no',_0x5ef5('0x33')),'allowNull':!![]},'promiscredir':{'type':Sequelize[_0x5ef5('0xf')](_0x5ef5('0x2b'),'no'),'allowNull':!![]},'useclientcode':{'type':Sequelize[_0x5ef5('0xf')](_0x5ef5('0x2b'),'no'),'allowNull':!![]},'accountcode':{'type':Sequelize[_0x5ef5('0x19')](0xb),'allowNull':!![]},'setvar':{'type':Sequelize[_0x5ef5('0x3')],'allowNull':!![]},'callerid':{'type':Sequelize[_0x5ef5('0x3')],'allowNull':!![],'defaultValue':_0x5ef5('0x34')},'amaflags':{'type':Sequelize['STRING'],'allowNull':!![]},'callcounter':{'type':Sequelize[_0x5ef5('0xf')]('yes','no'),'allowNull':!![],'defaultValue':'yes'},'busylevel':{'type':Sequelize[_0x5ef5('0x19')](0xb),'allowNull':!![]},'allowoverlap':{'type':Sequelize['ENUM'](_0x5ef5('0x2b'),'no'),'allowNull':!![]},'allowsubscribe':{'type':Sequelize['ENUM']('yes','no'),'allowNull':!![]},'allowtransfer':{'type':Sequelize[_0x5ef5('0xf')](_0x5ef5('0x2b'),'no'),'allowNull':!![]},'ignoresdpversion':{'type':Sequelize[_0x5ef5('0xf')](_0x5ef5('0x2b'),'no'),'allowNull':!![]},'subscribecontext':{'type':Sequelize[_0x5ef5('0x3')],'allowNull':!![]},'template':{'type':Sequelize[_0x5ef5('0x3')],'allowNull':!![]},'videosupport':{'type':Sequelize[_0x5ef5('0xf')]('yes','no','always'),'allowNull':!![],'defaultValue':'no'},'maxcallbitrate':{'type':Sequelize[_0x5ef5('0x19')](0xb),'allowNull':!![]},'rfc2833compensate':{'type':Sequelize['ENUM']('yes','no'),'allowNull':!![]},'mailbox':{'type':Sequelize[_0x5ef5('0x3')],'allowNull':!![]},'session_timers':{'type':Sequelize[_0x5ef5('0xf')]('accept','refuse',_0x5ef5('0x35')),'allowNull':!![]},'session_expires':{'type':Sequelize[_0x5ef5('0x19')](0xb),'allowNull':!![]},'session_minse':{'type':Sequelize[_0x5ef5('0x19')](0xb),'allowNull':!![]},'session_refresher':{'type':Sequelize['ENUM'](_0x5ef5('0x36'),_0x5ef5('0x37')),'allowNull':!![],'defaultValue':_0x5ef5('0x37')},'t38pt_usertpsource':{'type':Sequelize['STRING'],'allowNull':!![]},'regexten':{'type':Sequelize[_0x5ef5('0x3')],'allowNull':!![]},'fromdomain':{'type':Sequelize['STRING'],'allowNull':!![]},'fromuser':{'type':Sequelize['STRING'],'allowNull':!![]},'qualify':{'type':Sequelize[_0x5ef5('0xf')]('yes','no'),'allowNull':!![],'defaultValue':_0x5ef5('0x2b')},'keepalive':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'defaultip':{'type':Sequelize['STRING'],'allowNull':!![]},'defaultuser':{'type':Sequelize[_0x5ef5('0x3')],'allowNull':!![]},'rtptimeout':{'type':Sequelize[_0x5ef5('0x19')](0xb),'allowNull':!![]},'rtpholdtimeout':{'type':Sequelize[_0x5ef5('0x19')](0xb),'allowNull':!![]},'rtpkeepalive':{'type':Sequelize[_0x5ef5('0x19')](0xb),'allowNull':!![]},'sendrpid':{'type':Sequelize['ENUM']('yes','no'),'allowNull':!![],'defaultValue':'no'},'outboundproxy':{'type':Sequelize[_0x5ef5('0x3')],'allowNull':!![]},'callbackextension':{'type':Sequelize[_0x5ef5('0x3')],'allowNull':!![]},'timert1':{'type':Sequelize[_0x5ef5('0x19')](0xb),'allowNull':!![]},'timerb':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'qualifyfreq':{'type':Sequelize[_0x5ef5('0x19')](0xb),'allowNull':!![]},'contactpermit':{'type':Sequelize['STRING'],'allowNull':!![]},'contactdeny':{'type':Sequelize[_0x5ef5('0x3')],'allowNull':!![]},'contactacl':{'type':Sequelize['STRING'],'allowNull':!![]},'unsolicited_mailbox':{'type':Sequelize[_0x5ef5('0x3')],'allowNull':!![]},'use_q850_reason':{'type':Sequelize[_0x5ef5('0x3')],'allowNull':!![]},'maxforwards':{'type':Sequelize[_0x5ef5('0x19')](0xb),'allowNull':!![]},'encryption':{'type':Sequelize[_0x5ef5('0xf')]('yes','no'),'allowNull':!![],'defaultValue':'no'},'avpf':{'type':Sequelize['ENUM'](_0x5ef5('0x2b'),'no'),'allowNull':!![]},'force_avp':{'type':Sequelize[_0x5ef5('0xf')](_0x5ef5('0x2b'),'no'),'allowNull':!![]},'icesupport':{'type':Sequelize[_0x5ef5('0xf')](_0x5ef5('0x2b'),'no'),'allowNull':!![]},'dtlsenable':{'type':Sequelize[_0x5ef5('0xf')]('yes','no'),'allowNull':!![]},'dtlsverify':{'type':Sequelize[_0x5ef5('0xf')](_0x5ef5('0x2b'),'no',_0x5ef5('0x38'),_0x5ef5('0x39')),'allowNull':!![]},'dtlsrekey':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![]},'dtlscertfile':{'type':Sequelize[_0x5ef5('0x3')],'allowNull':!![]},'dtlsprivatekey':{'type':Sequelize[_0x5ef5('0x3')],'allowNull':!![]},'dtlscipher':{'type':Sequelize[_0x5ef5('0x3')],'allowNull':!![]},'dtlscafile':{'type':Sequelize[_0x5ef5('0x3')],'allowNull':!![]},'dtlscapath':{'type':Sequelize[_0x5ef5('0x3')],'allowNull':!![]},'dtlssetup':{'type':Sequelize[_0x5ef5('0xf')]('active',_0x5ef5('0x3a'),_0x5ef5('0x3b')),'allowNull':!![]},'dtlsfingerprint':{'type':Sequelize['STRING'],'allowNull':!![]},'usereqphone':{'type':Sequelize[_0x5ef5('0xf')](_0x5ef5('0x2b'),'no'),'allowNull':!![],'defaultValue':'no'},'recordonfeature':{'type':Sequelize[_0x5ef5('0x3')],'allowNull':!![]},'recordofffeature':{'type':Sequelize['STRING'],'allowNull':!![]},'call_limit':{'type':Sequelize[_0x5ef5('0x19')](0xb),'allowNull':!![],'defaultValue':0xa},'registertrying':{'type':Sequelize['ENUM'](_0x5ef5('0x2b'),'no'),'allowNull':!![]},'subscribemwi':{'type':Sequelize[_0x5ef5('0xf')]('yes','no'),'allowNull':!![]},'vmexten':{'type':Sequelize['STRING'],'allowNull':!![]},'mohinterpret':{'type':Sequelize[_0x5ef5('0x3')],'allowNull':!![]},'mohsuggest':{'type':Sequelize['STRING'],'allowNull':!![]},'parkinglot':{'type':Sequelize[_0x5ef5('0x3')],'allowNull':!![]},'canreinvite':{'type':Sequelize[_0x5ef5('0xf')]('yes','no',_0x5ef5('0x2c'),_0x5ef5('0x2d'),_0x5ef5('0x3c')),'allowNull':!![],'defaultValue':'no'},'loginInPause':{'type':Sequelize[_0x5ef5('0x16')],'defaultValue':![]},'resetPasswordToken':{'type':Sequelize[_0x5ef5('0x3')]},'resetPasswordExpires':{'type':Sequelize[_0x5ef5('0x17')]},'showWebBar':{'type':Sequelize['INTEGER'],'defaultValue':0x0,'set':function(_0x50b21b){this[_0x5ef5('0x5')](_0x5ef5('0x3d'),_0x50b21b);var _0x159a00=this[_0x5ef5('0x3e')]({'plain':!![]});switch(_0x50b21b){case 0x0:case 0x1:var _0x554b9f=_0x159a00['transport']?_[_0x5ef5('0x3f')](_0x159a00[_0x5ef5('0x25')])?_0x159a00[_0x5ef5('0x25')][_0x5ef5('0x26')]():_0x159a00[_0x5ef5('0x25')]:'udp';if(_0x554b9f===_0x5ef5('0x40')){_0x554b9f=_0x5ef5('0x24');}this[_0x5ef5('0x5')](_0x5ef5('0x25'),_0x554b9f);this[_0x5ef5('0x5')](_0x5ef5('0x41'),'no');this[_0x5ef5('0x5')](_0x5ef5('0x42'),null);this[_0x5ef5('0x5')](_0x5ef5('0x43'),null);this['setDataValue'](_0x5ef5('0x44'),null);this['setDataValue'](_0x5ef5('0x45'),null);this[_0x5ef5('0x5')](_0x5ef5('0x46'),null);this[_0x5ef5('0x5')]('dtlssetup',null);this['setDataValue']('dtlscertfile',null);this[_0x5ef5('0x5')](_0x5ef5('0x47'),null);this['setDataValue'](_0x5ef5('0x48'),'no');break;case 0x2:this[_0x5ef5('0x5')]('transport','wss');this[_0x5ef5('0x5')](_0x5ef5('0x41'),_0x5ef5('0x2b'));this[_0x5ef5('0x5')]('avpf',_0x5ef5('0x2b'));this[_0x5ef5('0x5')](_0x5ef5('0x43'),_0x5ef5('0x2b'));this[_0x5ef5('0x5')](_0x5ef5('0x44'),_0x5ef5('0x2b'));this[_0x5ef5('0x5')](_0x5ef5('0x45'),_0x5ef5('0x2b'));this['setDataValue'](_0x5ef5('0x46'),'no');this[_0x5ef5('0x5')]('dtlssetup',_0x5ef5('0x3b'));this['setDataValue'](_0x5ef5('0x49'),_0x159a00[_0x5ef5('0x49')]||_0x5ef5('0x4a'));this['setDataValue'](_0x5ef5('0x47'),_0x159a00[_0x5ef5('0x47')]||'/etc/pki/tls/private/motion.key');this[_0x5ef5('0x5')](_0x5ef5('0x48'),_0x5ef5('0x2b'));break;default:}}},'permissions':{'type':Sequelize['TEXT'],'set':function(_0x1e5808){this[_0x5ef5('0x5')](_0x5ef5('0x4b'),_0x1e5808?_0x1e5808['join'](','):[]);},'get':function(){return this[_0x5ef5('0xb')]('permissions')?_['map'](this[_0x5ef5('0xb')](_0x5ef5('0x4b'))[_0x5ef5('0x27')](','),function(_0x662ef8){return parseInt(_0x662ef8,0xa);}):[];}},'phoneBarUnconditionalNumber':{'type':Sequelize[_0x5ef5('0x3')]},'phoneBarNoReplyNumber':{'type':Sequelize[_0x5ef5('0x3')]},'phoneBarBusyNumber':{'type':Sequelize[_0x5ef5('0x3')]},'phoneBarUnconditional':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarNoReply':{'type':Sequelize[_0x5ef5('0x16')],'defaultValue':![]},'phoneBarBusy':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarDnd':{'type':Sequelize[_0x5ef5('0x16')],'defaultValue':!![]},'phoneBarUnansweredCallBadge':{'type':Sequelize[_0x5ef5('0x16')],'defaultValue':!![]},'phoneBarEnableDtmfTone':{'type':Sequelize[_0x5ef5('0x16')],'defaultValue':![]},'phoneBarAutoAnswerDelay':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'extensionMonitor':{'type':Sequelize[_0x5ef5('0x3')],'defaultValue':''},'crudPermissions':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'rtcp_mux':{'type':Sequelize[_0x5ef5('0xf')](_0x5ef5('0x2b'),'no'),'defaultValue':'no'},'allowmessenger':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'phoneBarOutboundProxy':{'type':Sequelize['STRING']},'passwordResetAt':{'type':Sequelize[_0x5ef5('0x17')],'defaultValue':null},'phoneBarEnableJaws':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'phoneBarEnableScreenRecordingByAgent':{'type':Sequelize[_0x5ef5('0x16')],'defaultValue':![]},'phoneBarEnableVideoRecording':{'type':Sequelize['VIRTUAL'],'get':function(){return this[_0x5ef5('0xb')]('phoneBarEnableScreenRecordingByAgent')?this[_0x5ef5('0xb')](_0x5ef5('0x4c')):![];}},'phoneBarEnableAutomaticScreenRecording':{'type':Sequelize[_0x5ef5('0x16')],'defaultValue':![]},'phoneBarPrefixRequired':{'type':Sequelize[_0x5ef5('0x16')],'defaultValue':![]},'hotdesk':{'type':Sequelize[_0x5ef5('0x16')],'defaultValue':![]},'interface':{'type':Sequelize[_0x5ef5('0x3')],'defaultValue':null},'privacyEnabled':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'apiKeyNonce':{'type':Sequelize[_0x5ef5('0x3')],'allowNull':!![]},'apiKeyIat':{'type':Sequelize['STRING'],'allowNull':!![]},'screenrecording':{'type':Sequelize[_0x5ef5('0x16')],'defaultValue':![],'set':function(_0x348317){if(typeof _0x348317===_0x5ef5('0x4d')){var _0x39d45b=_0x348317==='1'?!![]:_0x348317==='0'?![]:_0x348317==='true'?!![]:_0x348317===_0x5ef5('0x4e')?![]:![];this['setDataValue'](_0x5ef5('0x4f'),_0x39d45b);}else{this['setDataValue'](_0x5ef5('0x4f'),_0x348317);}}},'blocked':{'type':Sequelize[_0x5ef5('0x16')],'defaultValue':![],'set':function(_0x53e778){this[_0x5ef5('0x5')](_0x5ef5('0x50'),_0x53e778);if(_0x53e778===!![]){this[_0x5ef5('0x5')]('blockedAt',moment());this[_0x5ef5('0x5')](_0x5ef5('0x51'),0x0);}else{this['setDataValue'](_0x5ef5('0x52'),null);}}},'blockedAt':{'type':Sequelize['DATE'],'defaultValue':null},'loginAttempts':{'type':Sequelize[_0x5ef5('0x19')],'defaultValue':0x0},'disabled':{'type':Sequelize[_0x5ef5('0x16')],'defaultValue':![]}}; \ No newline at end of file diff --git a/server/api/user/user.controller.js b/server/api/user/user.controller.js index 899fcb3..f6766b0 100644 --- a/server/api/user/user.controller.js +++ b/server/api/user/user.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x7d58=['email','permissions','103','113','110','104','105','106','107','108','100','111','get','Unable\x20to\x20retrieve\x20the\x20current\x20user','Agents','autoAssociation','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','changePassword','oldPassword','authenticate','newPassword','New\x20password\x20must\x20be\x20different\x20from\x20old\x20password','Invalid\x20body\x20format.\x20Use\x20newPassword','Unauthorized','addQueues','channel','online','loginInPause','voicePause','interface','isValidChannel','add','toLowerCase','Queues','penalty','Queue:save','VoiceQueue','voice','push','SIP/%s','each','removeQueues','Unknown\x20channel','remove','capitalize','QueueId','emit','Queue:remove','UserVoiceQueueRt','addAvatar','userpic','file','filename','join','download','existsSync','root','server/files/images/','findOne','CmContact','CmList','Tag','Tags','color','tag','getContacts','Queue','Unknown\x20role','getVoiceQueuesRt','getGroups','ChatGroup','getRecordings','UserId','VoiceRecording','getScreenRecordings','ScreenRecording','getChatInteractions','getOpenchannelInteractions','getMailInteractions','MailInteraction','SmsInteraction','getSmsInteractions','getFaxInteractions','FaxInteraction','WhatsappInteraction','getWhatsappInteractions','phone','mobile','LOCAL/%s@from-sip/n','intrf','user:%s','headers','x-forwarded-for','remoteAddress','socket','User\x20not\x20found\x20or\x20not\x20allowed\x20to\x20perform\x20login\x20method','getVoiceQueues','UserVoiceQueue.penalty','MemberReport','YYYY-MM-DD\x20HH:mm:ss','all','getChannels','device','LOGININPAUSE','concat','logout','forEach','QueuePause','pause','PAUSE','updateAttributes','DEFAULT\x20PAUSE','unpause','mailPause','whatsapppause','lastPauseAt','manual','fax','sms','set','%s%s','getTeams','Team','addTeams','setDataValue','getChatQueues','Chat','getMailQueues','Mail','Sms','Whatsapp','getFaxQueues','Fax','getOpenchannelQueues','Openchannel','flatten','transaction','addAgent','Voice','upsert','getSmsQueues','removeAgent','getDataValue','values','send','addChatInteractions','spread','user_has_chat_interactions:save','removeChatInteractions','isArray','user_has_chat_interactions:remove','addMailInteractions','user_has_mail_interactions:save','removeMailInteractions','user_has_mail_interactions:remove','addFaxInteractions','user_has_fax_interactions:save','removeFaxInteractions','user_has_fax_interactions:remove','addSmsInteractions','user_has_sms_interactions:save','removeSmsInteractions','user_has_sms_interactions:remove','addOpenchannelInteractions','user_has_openchannel_interactions:save','removeOpenchannelInteractions','user_has_openchannel_interactions:remove','addWhatsappInteractions','getVoicePrefixes','VoicePrefix','FaxAccount','getFaxAccounts','addFaxAccounts','getMailAccounts','MailAccount','addMailAccounts','removeMailAccounts','getOpenchannelAccounts','OpenchannelAccount','addOpenchannelAccounts','getSmsAccounts','SmsAccount','getChatWebsites','addChatWebsites','removeChatWebsites','getWhatsappAccounts','addWhatsappAccounts','removeWhatsappAccounts','getSquareProjects','addSquareProjects','removeSquareProjects','getScheduledCalls','CmHopper','$and','$or','$gt','$gte','$lt','$lte','$ne','$eq','$notBetween','$in','$notLike','$notILike','$like','$overlap','$contains','$contained','$any','firstName','lastName','Contact','dialActive','getApiKey','retrieveApiKey','You\x20don\x27t\x20have\x20sufficient\x20privileges\x20to\x20access\x20this\x20resource.','createApiKey','iat','removeApiKey','API\x20key\x20not\x20available','whoami','html-pdf','eml-format','rimraf','fast-json-patch','request-promise','moment','bluebird','sox','to-csv','ejs','lodash','crypto','jsforce','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','redis','localhost','socket.io-emitter','./user.socket','jayson/promise','client','http','test','Sequelize','ValidationError','The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.','then','info','User,\x20%s,\x20%s','request\x20sent','User,\x20%s,\x20%s,\x20%s','stringify','error','code','message','result','catch','sendStatus','status','end','json','offset','Content-Range','apply','reject','save','update','destroy','Telephones','telephone','filter','ignore','map','value','includes','role','find','name','index','User','rawAttributes','fieldName','type','key','model','differenceBy','password','salt','query','keys','filters','intersection','attributes','fields','length','hasOwnProperty','nolimit','limit','order','sort','where','pick','merge','VIRTUAL','sequelize','options','count','includeAll','findAll','rows','show','params','include','bulkCreate','body','describe','addContacts','ids','omit','agent','agent\x20role','admin','user','getLicense','telephones','users','License\x20limit\x20reached','format','count\x20%s:\x20%s','create','internal','Setting','findById','securePassword','min_internal','isNil','QueryTypes','SELECT','from','voicemail','VoiceMail'];(function(_0x2f5ac5,_0x1ee939){var _0x37c9a8=function(_0x15031f){while(--_0x15031f){_0x2f5ac5['push'](_0x2f5ac5['shift']());}};_0x37c9a8(++_0x1ee939);}(_0x7d58,0xde));var _0x87d5=function(_0x49f509,_0x5c7395){_0x49f509=_0x49f509-0x0;var _0x1250d2=_0x7d58[_0x49f509];return _0x1250d2;};'use strict';var pdf=require(_0x87d5('0x0'));var emlformat=require(_0x87d5('0x1'));var rimraf=require(_0x87d5('0x2'));var zipdir=require('zip-dir');var jsonpatch=require(_0x87d5('0x3'));var rp=require(_0x87d5('0x4'));var moment=require(_0x87d5('0x5'));var BPromise=require(_0x87d5('0x6'));var Mustache=require('mustache');var util=require('util');var path=require('path');var sox=require(_0x87d5('0x7'));var csv=require(_0x87d5('0x8'));var ejs=require(_0x87d5('0x9'));var fs=require('fs');var _=require(_0x87d5('0xa'));var squel=require('squel');var crypto=require(_0x87d5('0xb'));var jsforce=require(_0x87d5('0xc'));var deskjs=require('desk.js');var toCsv=require(_0x87d5('0x8'));var querystring=require('querystring');var Papa=require(_0x87d5('0xd'));var Redis=require(_0x87d5('0xe'));var authService=require(_0x87d5('0xf'));var qs=require(_0x87d5('0x10'));var as=require(_0x87d5('0x11'));var hardwareService=require(_0x87d5('0x12'));var logger=require(_0x87d5('0x13'))(_0x87d5('0x14'));var utils=require(_0x87d5('0x15'));var config=require(_0x87d5('0x16'));var db=require(_0x87d5('0x17'))['db'];config[_0x87d5('0x18')]=_['defaults'](config[_0x87d5('0x18')],{'host':_0x87d5('0x19'),'port':0x18eb});var socket=require(_0x87d5('0x1a'))(new Redis(config[_0x87d5('0x18')]));require(_0x87d5('0x1b'))['register'](socket);var jayson=require(_0x87d5('0x1c'));var client=jayson[_0x87d5('0x1d')][_0x87d5('0x1e')]({'port':0x232a});function checkPasswordPattern(_0x12cdbe,_0x52a836,_0x285897){if(_0x285897){var _0x4ad5cd=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0x4ad5cd[_0x87d5('0x1f')](_0x52a836)){return _0x12cdbe;}else{throw new db[(_0x87d5('0x20'))][(_0x87d5('0x21'))](_0x87d5('0x22'));}}else{return _0x12cdbe;}}function respondWithRpcPromise(_0x4f3258,_0x30e94a,_0x2b0726,_0xff3286){return new BPromise(function(_0x409c08,_0x22ca2d){var _0x3d5b10=_0xff3286||client;return _0x3d5b10['request'](_0x4f3258,_0x2b0726)[_0x87d5('0x23')](function(_0x2b3c00){logger[_0x87d5('0x24')](_0x87d5('0x25'),_0x30e94a,_0x87d5('0x26'));logger['debug'](_0x87d5('0x27'),_0x30e94a,_0x87d5('0x26'),JSON[_0x87d5('0x28')](_0x2b3c00));if(_0x2b3c00[_0x87d5('0x29')]){if(_0x2b3c00['error'][_0x87d5('0x2a')]===0x1f4){logger[_0x87d5('0x29')](_0x87d5('0x25'),_0x30e94a,_0x2b3c00['error']['message']);return _0x22ca2d(_0x2b3c00[_0x87d5('0x29')][_0x87d5('0x2b')]);}logger[_0x87d5('0x29')](_0x87d5('0x25'),_0x30e94a,_0x2b3c00['error']['message']);return _0x409c08(_0x2b3c00[_0x87d5('0x29')]['message']);}else{logger[_0x87d5('0x24')]('User,\x20%s,\x20%s',_0x30e94a,_0x87d5('0x26'));_0x409c08(_0x2b3c00[_0x87d5('0x2c')][_0x87d5('0x2b')]);}})[_0x87d5('0x2d')](function(_0x55846c){logger[_0x87d5('0x29')](_0x87d5('0x25'),_0x30e94a,_0x55846c);_0x22ca2d(_0x55846c);});});}function respondWithStatusCode(_0x2f6691,_0x4ee78f){_0x4ee78f=_0x4ee78f||0xcc;return function(_0x1e428e){if(_0x1e428e){return _0x2f6691[_0x87d5('0x2e')](_0x4ee78f);}return _0x2f6691[_0x87d5('0x2f')](_0x4ee78f)[_0x87d5('0x30')]();};}function respondWithResult(_0x47a1be,_0x2b1bb4){_0x2b1bb4=_0x2b1bb4||0xc8;return function(_0x49e0cd){if(_0x49e0cd){return _0x47a1be['status'](_0x2b1bb4)[_0x87d5('0x31')](_0x49e0cd);}};}function respondWithFilteredResult(_0xa54c93,_0x4219f1){return function(_0x1f64ca){if(_0x1f64ca){var _0xf457b=_0x1f64ca['count'],_0x16fbbf=_0x4219f1[_0x87d5('0x32')],_0x13d70d=_0x4219f1[_0x87d5('0x32')]+_0x4219f1['limit'],_0x38e76c;if(_0x13d70d>=_0xf457b){_0x13d70d=_0xf457b;_0x38e76c=0xc8;}else{_0x38e76c=0xce;}_0xa54c93[_0x87d5('0x2f')](_0x38e76c);return _0xa54c93['set'](_0x87d5('0x33'),_0x16fbbf+'-'+_0x13d70d+'/'+_0xf457b)[_0x87d5('0x31')](_0x1f64ca);}return null;};}function patchUpdates(_0x516e0b){return function(_0x454246){try{jsonpatch[_0x87d5('0x34')](_0x454246,_0x516e0b,!![]);}catch(_0x29f5f5){return BPromise[_0x87d5('0x35')](_0x29f5f5);}return _0x454246[_0x87d5('0x36')]();};}function saveUpdates(_0x2ca0f1,_0x5d4ecf){return function(_0xfb7604){if(_0xfb7604){return _0xfb7604[_0x87d5('0x37')](_0x2ca0f1)[_0x87d5('0x23')](function(_0x312149){return _0x312149;});}return null;};}function removeEntity(_0x5df9e1,_0x1c0662){return function(_0x1d36e6){if(_0x1d36e6){return _0x1d36e6[_0x87d5('0x38')]()[_0x87d5('0x23')](function(){var _0x4aafd0=_0x1d36e6['get']({'plain':!![]});var _0x5128bd=[{'name':'Users','value':'user','ignore':!![]},{'name':'Agents','value':'agent','ignore':![]},{'name':_0x87d5('0x39'),'value':_0x87d5('0x3a'),'ignore':![]}];var _0xf1a045=_(_0x5128bd)[_0x87d5('0x3b')](_0x87d5('0x3c'))[_0x87d5('0x3d')](_0x87d5('0x3e'))[_0x87d5('0x3e')]();if(_[_0x87d5('0x3f')](_0xf1a045,_0x4aafd0[_0x87d5('0x40')])){return;}var _0x566dc4=_[_0x87d5('0x41')](_0x5128bd,[_0x87d5('0x3e'),_0x4aafd0['role']])[_0x87d5('0x42')];return db['UserProfileResource'][_0x87d5('0x38')]({'where':{'type':_0x566dc4,'resourceId':_0x4aafd0['id']}})[_0x87d5('0x23')](function(){return _0x1d36e6;});})[_0x87d5('0x23')](function(){_0x5df9e1['status'](0xcc)['end']();});}};}function handleEntityNotFound(_0x2491e2,_0x55cd0d){return function(_0x44909f){if(!_0x44909f){_0x2491e2[_0x87d5('0x2e')](0x194);}return _0x44909f;};}function handleError(_0x16d6d7,_0x3d630c){_0x3d630c=_0x3d630c||0x1f4;return function(_0x549dcd){logger[_0x87d5('0x29')](_0x549dcd['stack']);if(_0x549dcd[_0x87d5('0x42')]){delete _0x549dcd[_0x87d5('0x42')];}_0x16d6d7[_0x87d5('0x2f')](_0x3d630c)['send'](_0x549dcd);};}exports[_0x87d5('0x43')]=function(_0x36b74f,_0xd607c4){var _0x4f83cf={},_0x4ed9af={},_0x4f1985={'count':0x0,'rows':[]};var _0x22b863=_[_0x87d5('0x3d')](db[_0x87d5('0x44')][_0x87d5('0x45')],function(_0x22288b){return{'name':_0x22288b[_0x87d5('0x46')],'type':_0x22288b[_0x87d5('0x47')][_0x87d5('0x48')]};});_0x4ed9af[_0x87d5('0x49')]=_[_0x87d5('0x4a')](_[_0x87d5('0x3d')](_0x22b863,'name'),[_0x87d5('0x4b'),_0x87d5('0x4c')]);_0x4ed9af[_0x87d5('0x4d')]=_[_0x87d5('0x4e')](_0x36b74f[_0x87d5('0x4d')]);_0x4ed9af[_0x87d5('0x4f')]=_[_0x87d5('0x50')](_0x4ed9af['model'],_0x4ed9af[_0x87d5('0x4d')]);_0x4f83cf[_0x87d5('0x51')]=_['intersection'](_0x4ed9af['model'],qs['fields'](_0x36b74f['query'][_0x87d5('0x52')]));_0x4f83cf['attributes']=_0x4f83cf[_0x87d5('0x51')][_0x87d5('0x53')]?_0x4f83cf[_0x87d5('0x51')]:_0x4ed9af[_0x87d5('0x49')];if(!_0x36b74f[_0x87d5('0x4d')][_0x87d5('0x54')](_0x87d5('0x55'))){_0x4f83cf['limit']=qs[_0x87d5('0x56')](_0x36b74f[_0x87d5('0x4d')][_0x87d5('0x56')]);_0x4f83cf[_0x87d5('0x32')]=qs[_0x87d5('0x32')](_0x36b74f[_0x87d5('0x4d')][_0x87d5('0x32')]);}_0x4f83cf[_0x87d5('0x57')]=qs[_0x87d5('0x58')](_0x36b74f[_0x87d5('0x4d')]['sort']);_0x4f83cf[_0x87d5('0x59')]=qs[_0x87d5('0x4f')](_[_0x87d5('0x5a')](_0x36b74f[_0x87d5('0x4d')],_0x4ed9af['filters']),_0x22b863);if(_0x36b74f['query'][_0x87d5('0x3b')]){_0x4f83cf[_0x87d5('0x59')]=_[_0x87d5('0x5b')](_0x4f83cf[_0x87d5('0x59')],{'$or':_[_0x87d5('0x3d')](_0x22b863,function(_0x221ad1){if(_0x221ad1[_0x87d5('0x47')]!==_0x87d5('0x5c')){return db['sequelize'][_0x87d5('0x59')](db[_0x87d5('0x5d')]['fn']('lower',db[_0x87d5('0x5d')]['col'](_0x221ad1['name'])),{'$like':db['sequelize']['fn']('lower','%'+_0x36b74f[_0x87d5('0x4d')]['filter']+'%')});}})});}_0x4f83cf=_[_0x87d5('0x5b')]({},_0x4f83cf,_0x36b74f[_0x87d5('0x5e')]);var _0x10dcb8={'where':_0x4f83cf[_0x87d5('0x59')]};return db[_0x87d5('0x44')][_0x87d5('0x5f')](_0x10dcb8)[_0x87d5('0x23')](function(_0x2c3f58){_0x4f1985['count']=_0x2c3f58;if(_0x36b74f[_0x87d5('0x4d')][_0x87d5('0x60')]){_0x4f83cf['include']=[{'all':!![]}];}return db[_0x87d5('0x44')][_0x87d5('0x61')](_0x4f83cf);})[_0x87d5('0x23')](function(_0x117a87){_0x4f1985[_0x87d5('0x62')]=_0x117a87;return _0x4f1985;})['then'](respondWithFilteredResult(_0xd607c4,_0x4f83cf))['catch'](handleError(_0xd607c4,null));};exports[_0x87d5('0x63')]=function(_0x34c051,_0x50d977){var _0xa4505a={'raw':![],'where':{'id':_0x34c051[_0x87d5('0x64')]['id']}},_0x59283a={};_0x59283a['model']=_[_0x87d5('0x4a')](_['keys'](db[_0x87d5('0x44')][_0x87d5('0x45')]),['password','salt']);_0x59283a[_0x87d5('0x4d')]=_['keys'](_0x34c051['query']);_0x59283a[_0x87d5('0x4f')]=_[_0x87d5('0x50')](_0x59283a[_0x87d5('0x49')],_0x59283a[_0x87d5('0x4d')]);_0xa4505a[_0x87d5('0x51')]=_[_0x87d5('0x50')](_0x59283a[_0x87d5('0x49')],qs[_0x87d5('0x52')](_0x34c051[_0x87d5('0x4d')][_0x87d5('0x52')]));_0xa4505a[_0x87d5('0x51')]=_0xa4505a[_0x87d5('0x51')][_0x87d5('0x53')]?_0xa4505a[_0x87d5('0x51')]:_0x59283a[_0x87d5('0x49')];if(_0x34c051['query'][_0x87d5('0x60')]){_0xa4505a[_0x87d5('0x65')]=[{'all':!![]}];}_0xa4505a=_[_0x87d5('0x5b')]({},_0xa4505a,_0x34c051['options']);return db[_0x87d5('0x44')][_0x87d5('0x41')](_0xa4505a)[_0x87d5('0x23')](handleEntityNotFound(_0x50d977,null))[_0x87d5('0x23')](respondWithResult(_0x50d977,null))[_0x87d5('0x2d')](handleError(_0x50d977,null));};exports[_0x87d5('0x66')]=function(_0xd8652e,_0x4188a3){return db[_0x87d5('0x44')][_0x87d5('0x66')](_0xd8652e[_0x87d5('0x67')],{'raw':![],'individualHooks':!![]})[_0x87d5('0x23')](respondWithResult(_0x4188a3,0xc9))[_0x87d5('0x2d')](handleError(_0x4188a3,null));};exports['update']=function(_0x7863a8,_0x596217){if(_0x7863a8['body']['id']){delete _0x7863a8[_0x87d5('0x67')]['id'];}delete _0x7863a8['body'][_0x87d5('0x40')];return db['User'][_0x87d5('0x41')]({'where':{'id':_0x7863a8[_0x87d5('0x64')]['id']}})[_0x87d5('0x23')](handleEntityNotFound(_0x596217,null))[_0x87d5('0x23')](saveUpdates(_0x7863a8[_0x87d5('0x67')],null))[_0x87d5('0x23')](respondWithResult(_0x596217,null))['catch'](handleError(_0x596217,null));};exports[_0x87d5('0x68')]=function(_0x45e465,_0x12c975){return db[_0x87d5('0x44')][_0x87d5('0x68')]()['then'](respondWithResult(_0x12c975,null))[_0x87d5('0x2d')](handleError(_0x12c975,null));};exports[_0x87d5('0x69')]=function(_0x485a89,_0x4d852c,_0x316584){return db['User'][_0x87d5('0x41')]({'where':{'id':_0x485a89[_0x87d5('0x64')]['id']}})[_0x87d5('0x23')](handleEntityNotFound(_0x4d852c,null))[_0x87d5('0x23')](function(_0x20c1da){if(_0x20c1da){return _0x20c1da[_0x87d5('0x69')](_0x485a89[_0x87d5('0x67')][_0x87d5('0x6a')],_[_0x87d5('0x6b')](_0x485a89[_0x87d5('0x67')],['ids','id'])||{});}})[_0x87d5('0x23')](respondWithResult(_0x4d852c,null))[_0x87d5('0x2d')](handleError(_0x4d852c,null));};var getLicense=function(_0x1f5e39){return new BPromise(function(_0x56fbed,_0x5d81eb){var _0x481d90=0x0;_0x1f5e39[_0x87d5('0x67')][_0x87d5('0x40')]===_0x87d5('0x6c')&&_0x56fbed(_0x87d5('0x6d'));return db['User']['count']({'where':{'$or':[{'role':_0x1f5e39[_0x87d5('0x67')][_0x87d5('0x40')]===_0x87d5('0x3a')?'telephone':[_0x87d5('0x6e'),_0x87d5('0x6f')]}]}})[_0x87d5('0x23')](function(_0x10d2ba){_0x481d90=_0x10d2ba;return require('../../config/license/util')[_0x87d5('0x70')]();})[_0x87d5('0x23')](function(_0x16c7ad){var _0x1c3684=_0x1f5e39[_0x87d5('0x67')]['role']===_0x87d5('0x3a')?_0x87d5('0x71'):_0x87d5('0x72');if(!_['isNil'](_0x16c7ad[_0x1c3684])&&_0x481d90>=_0x16c7ad[_0x1c3684]){return _0x5d81eb({'message':_0x87d5('0x73')});}return _0x56fbed(util[_0x87d5('0x74')](_0x87d5('0x75'),_0x1c3684,_0x481d90));})[_0x87d5('0x2d')](function(_0x223bdd){return _0x5d81eb(_0x223bdd);});});};exports[_0x87d5('0x76')]=function(_0x5742a5,_0x4d63e7){return getLicense(_0x5742a5)['then'](function(_0x3e3b7b){if(!_0x5742a5[_0x87d5('0x67')][_0x87d5('0x77')]){var _0x18952f;return db[_0x87d5('0x78')][_0x87d5('0x79')](0x1)[_0x87d5('0x23')](function(_0x54caa0){return checkPasswordPattern(_0x54caa0,_0x5742a5[_0x87d5('0x67')]['password'],_0x54caa0[_0x87d5('0x7a')]);})[_0x87d5('0x23')](function(_0xf41d39){_0x18952f=_0xf41d39[_0x87d5('0x7b')];return db[_0x87d5('0x44')]['max'](_0x87d5('0x77'));})['then'](function(_0x292367){if(_['isNil'](_0x292367)){if(_0x18952f){_0x5742a5[_0x87d5('0x67')][_0x87d5('0x77')]=_0x18952f;}else{_0x5742a5['body'][_0x87d5('0x77')]=0x1;}}else{if(_[_0x87d5('0x7c')](_0x18952f)||_0x18952f==_0x292367){_0x5742a5[_0x87d5('0x67')]['internal']=_0x292367+0x1;}else if(_0x18952f>_0x292367){_0x5742a5['body'][_0x87d5('0x77')]=_0x18952f;}else{return db[_0x87d5('0x5d')][_0x87d5('0x4d')]('select\x20(select\x20IFNULL(max(internal)+1,1)\x20from\x20users\x20where\x20internal\x20<\x20md.internal)\x20as\x20\x27from\x27,\x20md.internal\x20-\x201\x20as\x20\x27to\x27\x20from\x20users\x20md\x20where\x20md.internal\x20!=\x201\x20and\x20not\x20exists\x20(select\x201\x20from\x20users\x20md2\x20where\x20md2.internal\x20=\x20md.internal\x20-\x201)',{'type':db[_0x87d5('0x5d')][_0x87d5('0x7d')][_0x87d5('0x7e')]})['then'](function(_0x5e4fbf){if(_0x5e4fbf&&_0x5e4fbf[_0x87d5('0x53')]){for(var _0xa6d0be=0x0,_0x1e8990=_0x5e4fbf[_0x87d5('0x53')];_0xa6d0be<_0x1e8990&&_[_0x87d5('0x7c')](_0x5742a5[_0x87d5('0x67')][_0x87d5('0x77')]);_0xa6d0be++){if(_0x18952f<=_0x5e4fbf[_0xa6d0be][_0x87d5('0x7f')]){_0x5742a5[_0x87d5('0x67')][_0x87d5('0x77')]=_0x5e4fbf[_0xa6d0be][_0x87d5('0x7f')];}else if(_0x18952f>_0x5e4fbf[_0xa6d0be][_0x87d5('0x7f')]&&_0x18952f<=_0x5e4fbf[_0xa6d0be]['to']){_0x5742a5['body'][_0x87d5('0x77')]=_0x18952f;}}}if(_[_0x87d5('0x7c')](_0x5742a5[_0x87d5('0x67')][_0x87d5('0x77')])){_0x5742a5[_0x87d5('0x67')][_0x87d5('0x77')]=_0x292367+0x1;}});}}});}})[_0x87d5('0x23')](function(){if(_0x5742a5[_0x87d5('0x67')][_0x87d5('0x80')]){_0x5742a5['body']['mailbox']=_0x5742a5[_0x87d5('0x67')][_0x87d5('0x77')];_0x5742a5['body'][_0x87d5('0x81')]={'mailbox':_0x5742a5[_0x87d5('0x67')][_0x87d5('0x77')],'password':_0x5742a5[_0x87d5('0x67')][_0x87d5('0x4b')],'fullname':_0x5742a5[_0x87d5('0x67')]['fullname'],'email':_0x5742a5[_0x87d5('0x67')][_0x87d5('0x82')]};}if(_0x5742a5['body']&&_0x5742a5['body']['role']===_0x87d5('0x6c')){if(!_0x5742a5[_0x87d5('0x67')]['permissions']){_0x5742a5[_0x87d5('0x67')][_0x87d5('0x83')]=['101','102',_0x87d5('0x84'),_0x87d5('0x85'),_0x87d5('0x86'),_0x87d5('0x87'),_0x87d5('0x88'),_0x87d5('0x89'),_0x87d5('0x8a'),_0x87d5('0x8b'),'109',_0x87d5('0x8c'),_0x87d5('0x8d'),'114'];}}return db[_0x87d5('0x44')][_0x87d5('0x76')](_0x5742a5['body'],{'include':[{'model':db[_0x87d5('0x81')],'as':_0x87d5('0x81')}]});})[_0x87d5('0x23')](function(_0x8a2bdc){if(_0x5742a5[_0x87d5('0x67')]['role']===_0x87d5('0x6f'))return _0x8a2bdc;var _0x5b67db=_0x5742a5['user'][_0x87d5('0x8e')]({'plain':!![]});if(!_0x5b67db)throw new Error(_0x87d5('0x8f'));if(_0x5b67db['role']==='user'){var _0x41db02=_0x8a2bdc['get']({'plain':!![]});var _0x400125=[{'name':_0x87d5('0x90'),'value':_0x87d5('0x6c')},{'name':'Telephones','value':_0x87d5('0x3a')}];var _0x1c21f4=_[_0x87d5('0x41')](_0x400125,[_0x87d5('0x3e'),_0x41db02[_0x87d5('0x40')]])[_0x87d5('0x42')];return db['UserProfileSection'][_0x87d5('0x41')]({'where':{'name':_0x1c21f4,'userProfileId':_0x5b67db['userProfileId']},'raw':!![]})['then'](function(_0x20df6c){if(_0x20df6c&&_0x20df6c[_0x87d5('0x91')]===0x0){return db['UserProfileResource']['create']({'name':_0x41db02[_0x87d5('0x42')],'resourceId':_0x41db02['id'],'type':_0x20df6c[_0x87d5('0x42')],'sectionId':_0x20df6c['id']},{})[_0x87d5('0x23')](function(){return _0x8a2bdc;});}else{return _0x8a2bdc;}})[_0x87d5('0x2d')](function(_0x19b349){logger['error'](_0x87d5('0x92'),_0x19b349);throw _0x19b349;});}return _0x8a2bdc;})[_0x87d5('0x23')](respondWithResult(_0x4d63e7,0xc9))[_0x87d5('0x2d')](handleError(_0x4d63e7,null));};exports[_0x87d5('0x93')]=function(_0x1dd05b,_0x242286,_0x37bff7){var _0x270b11=![];if(_0x1dd05b[_0x87d5('0x67')]['id']){delete _0x1dd05b[_0x87d5('0x67')]['id'];}return db['Setting']['findOne']({'attributes':['id',_0x87d5('0x7a')]})[_0x87d5('0x23')](function(_0x6f9adc){_0x270b11=_0x6f9adc[_0x87d5('0x7a')];return db[_0x87d5('0x44')][_0x87d5('0x41')]({'where':{'id':_0x1dd05b[_0x87d5('0x64')]['id']}});})[_0x87d5('0x23')](function(_0x50084f){if(_0x50084f){if(_0x50084f['id']==_0x1dd05b[_0x87d5('0x6f')]['id']){if(!_0x1dd05b[_0x87d5('0x67')][_0x87d5('0x94')]||!_0x1dd05b['body']['newPassword']){throw new db[(_0x87d5('0x20'))][(_0x87d5('0x21'))]('Invalid\x20body\x20format.\x20Use\x20oldPassord\x20and\x20newPassword');}if(!_0x50084f[_0x87d5('0x95')](_0x1dd05b[_0x87d5('0x67')]['oldPassword'])){throw new db[(_0x87d5('0x20'))][(_0x87d5('0x21'))]('Wrong\x20credentials');}if(_0x1dd05b[_0x87d5('0x67')][_0x87d5('0x94')]==_0x1dd05b[_0x87d5('0x67')][_0x87d5('0x96')]){throw new db[(_0x87d5('0x20'))][(_0x87d5('0x21'))](_0x87d5('0x97'));}return _0x50084f;}else if(_0x1dd05b[_0x87d5('0x6f')][_0x87d5('0x40')]==_0x87d5('0x6e')){if(!_0x1dd05b[_0x87d5('0x67')]['newPassword']){throw new db[(_0x87d5('0x20'))][(_0x87d5('0x21'))](_0x87d5('0x98'));}return _0x50084f;}else if(_0x1dd05b[_0x87d5('0x6f')][_0x87d5('0x40')]=='user'){if(!_0x1dd05b[_0x87d5('0x67')][_0x87d5('0x96')]){throw new db['Sequelize'][(_0x87d5('0x21'))]('Invalid\x20body\x20format.\x20Use\x20newPassword');}if(_0x50084f['role']!=_0x87d5('0x6c')){throw new db[(_0x87d5('0x20'))][(_0x87d5('0x21'))](_0x87d5('0x99'));}return _0x50084f;}else{throw new db[(_0x87d5('0x20'))]['ValidationError'](_0x87d5('0x99'));}}return null;})[_0x87d5('0x23')](handleEntityNotFound(_0x242286,null))[_0x87d5('0x23')](function(_0x2d5b21){return checkPasswordPattern(_0x2d5b21,_0x1dd05b['body'][_0x87d5('0x96')],_0x270b11);})[_0x87d5('0x23')](saveUpdates({'password':_0x1dd05b['body'][_0x87d5('0x96')],'passwordResetAt':_0x1dd05b['user']['id']==_0x1dd05b[_0x87d5('0x64')]['id']?moment():null},null))[_0x87d5('0x23')](respondWithResult(_0x242286,null))[_0x87d5('0x2d')](handleError(_0x242286,null));};exports[_0x87d5('0x9a')]=function(_0x1b44c7,_0x4e4775,_0x512cbe){var _0x2336ed=_0x1b44c7[_0x87d5('0x67')][_0x87d5('0x9b')];return db[_0x87d5('0x44')]['find']({'where':{'id':_0x1b44c7['params']['id']},'attributes':['id',_0x87d5('0x42'),'role',_0x87d5('0x9c'),_0x87d5('0x9d'),_0x87d5('0x9e'),_0x87d5('0x9f')]})[_0x87d5('0x23')](handleEntityNotFound(_0x4e4775,null))['then'](function(_0x54e85a){if(_0x54e85a){if(!utils[_0x87d5('0xa0')](_0x2336ed)){throw new db[(_0x87d5('0x20'))][(_0x87d5('0x21'))]('Unknown\x20channel');}return _0x54e85a[_0x87d5('0xa1')+_['capitalize'](_0x2336ed[_0x87d5('0xa2')]())+_0x87d5('0xa3')](_0x1b44c7['body'][_0x87d5('0x6a')],{'penalty':_0x1b44c7[_0x87d5('0x67')][_0x87d5('0xa4')]||0x0})['spread'](function(_0x41e54b){for(var _0x39852c=0x0;_0x39852c<_0x1b44c7[_0x87d5('0x67')][_0x87d5('0x6a')]['length'];_0x39852c+=0x1){var _0x1965ec={'UserId':_0x1b44c7[_0x87d5('0x64')]['id']};_0x1965ec[_['capitalize'](_0x2336ed[_0x87d5('0xa2')]())+'QueueId']=_0x1b44c7['body'][_0x87d5('0x6a')][_0x39852c];socket['emit'](_0x87d5('0x6f')+_['capitalize'](_0x2336ed[_0x87d5('0xa2')]())+_0x87d5('0xa5'),_0x1965ec);}return _0x41e54b;})['then'](function(){if(_0x2336ed==='voice'){return db[_0x87d5('0xa6')]['findAll']({'where':{'id':_0x1b44c7[_0x87d5('0x67')][_0x87d5('0x6a')]||[]},'raw':!![],'attributes':['id',_0x87d5('0x42')]});}})['then'](function(_0x3a5da9){var _0x19d0b3=_0x54e85a[_0x87d5('0x8e')]({'plain':!![]});var _0x5645e9=[];if(_0x2336ed===_0x87d5('0xa7')&&_0x19d0b3[_0x87d5('0x40')]==='agent'&&_0x19d0b3['online']){for(var _0x1ff059=0x0;_0x1ff059<_0x3a5da9[_0x87d5('0x53')];_0x1ff059+=0x1){_0x5645e9[_0x87d5('0xa8')]({'membername':_0x19d0b3[_0x87d5('0x42')],'UserId':_0x19d0b3['id'],'queue_name':_0x3a5da9[_0x1ff059][_0x87d5('0x42')],'VoiceQueueId':_0x3a5da9[_0x1ff059]['id'],'interface':_['isNil'](_0x19d0b3[_0x87d5('0x9f')])?util[_0x87d5('0x74')](_0x87d5('0xa9'),_0x19d0b3[_0x87d5('0x42')]):_0x19d0b3[_0x87d5('0x9f')],'paused':_0x19d0b3[_0x87d5('0x9e')]||![],'penalty':_0x1b44c7[_0x87d5('0x67')]['penalty']||0x0});}return BPromise[_0x87d5('0xaa')](_0x5645e9,function(_0x54c56d){return db['UserVoiceQueueRt']['upsert'](_0x54c56d);});}return _0x54e85a;});}})[_0x87d5('0x23')](respondWithStatusCode(_0x4e4775,null))['catch'](handleError(_0x4e4775,null));};exports[_0x87d5('0xab')]=function(_0x3253de,_0x418626,_0x25e07a){var _0x3da86f;return db[_0x87d5('0x44')][_0x87d5('0x41')]({'where':{'id':_0x3253de[_0x87d5('0x64')]['id']},'attributes':['id','name',_0x87d5('0x40')]})[_0x87d5('0x23')](handleEntityNotFound(_0x418626,null))['then'](function(_0x5a0325){if(_0x5a0325){_0x3da86f=_0x5a0325;if(!_0x3253de['query'][_0x87d5('0x9b')]||!utils[_0x87d5('0xa0')](_0x3253de[_0x87d5('0x4d')]['channel'])){throw new db[(_0x87d5('0x20'))][(_0x87d5('0x21'))](_0x87d5('0xac'));}return _0x5a0325[_0x87d5('0xad')+_[_0x87d5('0xae')](_0x3253de[_0x87d5('0x4d')][_0x87d5('0x9b')][_0x87d5('0xa2')]())+_0x87d5('0xa3')](_0x3253de[_0x87d5('0x4d')][_0x87d5('0x6a')]);}})[_0x87d5('0x23')](function(_0x3b4956){for(var _0x317f4d=0x0;_0x317f4d<_0x3253de['query'][_0x87d5('0x6a')][_0x87d5('0x53')];_0x317f4d+=0x1){var _0xd76bfa={'UserId':_0x3253de[_0x87d5('0x64')]['id']};_0xd76bfa[_[_0x87d5('0xae')](_0x3253de['query'][_0x87d5('0x9b')][_0x87d5('0xa2')]())+_0x87d5('0xaf')]=_0x3253de['query']['ids'][_0x317f4d];socket[_0x87d5('0xb0')](_0x87d5('0x6f')+_['capitalize'](_0x3253de['query'][_0x87d5('0x9b')][_0x87d5('0xa2')]())+_0x87d5('0xb1'),_0xd76bfa);}return _0x3b4956;})[_0x87d5('0x23')](function(){if(_0x3253de[_0x87d5('0x4d')][_0x87d5('0x9b')]===_0x87d5('0xa7')){return db[_0x87d5('0xb2')]['destroy']({'where':{'UserId':_0x3253de['params']['id'],'VoiceQueueId':_0x3253de[_0x87d5('0x4d')]['ids']},'individualHooks':!![]})[_0x87d5('0x23')](function(){return _0x3da86f;});}return _0x3da86f;})[_0x87d5('0x23')](respondWithStatusCode(_0x418626,null))['catch'](handleError(_0x418626,null));};exports[_0x87d5('0xb3')]=function(_0x7488a9,_0x11e4bf,_0x45704f){_0x7488a9['body'][_0x87d5('0xb4')]=_0x7488a9[_0x87d5('0xb5')][_0x87d5('0xb6')];return db[_0x87d5('0x44')][_0x87d5('0x41')]({'where':{'id':_0x7488a9[_0x87d5('0x64')]['id']}})[_0x87d5('0x23')](handleEntityNotFound(_0x11e4bf,null))['then'](saveUpdates(_0x7488a9[_0x87d5('0x67')],null))[_0x87d5('0x23')](respondWithResult(_0x11e4bf,null))[_0x87d5('0x2d')](handleError(_0x11e4bf,null));};exports['getAvatar']=function(_0x5d05e6,_0x26a2b7,_0x2d43ae){var _0x3bce09=path[_0x87d5('0xb7')](config['root'],'server/files/images/logos/default_profile.png');return db[_0x87d5('0x44')][_0x87d5('0x41')]({'where':{'id':_0x5d05e6['params']['id']},'attributes':['id',_0x87d5('0xb4')],'raw':!![]})[_0x87d5('0x23')](handleEntityNotFound(_0x26a2b7,null))[_0x87d5('0x23')](function(_0x1291c8){if(_0x1291c8){if(_[_0x87d5('0x7c')](_0x1291c8[_0x87d5('0xb4')])){return _0x26a2b7[_0x87d5('0xb8')](_0x3bce09);}else{if(!fs[_0x87d5('0xb9')](path[_0x87d5('0xb7')](config[_0x87d5('0xba')],'server/files/images/',_0x1291c8[_0x87d5('0xb4')]))){return _0x26a2b7[_0x87d5('0xb8')](_0x3bce09);}return _0x26a2b7[_0x87d5('0xb8')](path[_0x87d5('0xb7')](config[_0x87d5('0xba')],_0x87d5('0xbb'),_0x1291c8['userpic']));}}})[_0x87d5('0x2d')](handleError(_0x26a2b7,null));};exports['getContacts']=function(_0x3b497a,_0x2d877c,_0x5cc294){var _0x80ec60={};var _0x8e6a4e={};var _0x1d0f82;var _0x23a69a;return db['User'][_0x87d5('0xbc')]({'where':{'id':_0x3b497a[_0x87d5('0x64')]['id']}})[_0x87d5('0x23')](handleEntityNotFound(_0x2d877c,null))[_0x87d5('0x23')](function(_0x4f6c1a){if(_0x4f6c1a){_0x1d0f82=_0x4f6c1a;_0x8e6a4e['model']=_['keys'](db[_0x87d5('0xbd')][_0x87d5('0x45')]);_0x8e6a4e['query']=_[_0x87d5('0x4e')](_0x3b497a[_0x87d5('0x4d')]);_0x8e6a4e['filters']=_[_0x87d5('0x50')](_0x8e6a4e[_0x87d5('0x49')],_0x8e6a4e['query']);_0x80ec60[_0x87d5('0x51')]=_[_0x87d5('0x50')](_0x8e6a4e[_0x87d5('0x49')],qs['fields'](_0x3b497a[_0x87d5('0x4d')][_0x87d5('0x52')]));_0x80ec60[_0x87d5('0x51')]=_0x80ec60[_0x87d5('0x51')][_0x87d5('0x53')]?_0x80ec60[_0x87d5('0x51')]:_0x8e6a4e[_0x87d5('0x49')];_0x80ec60[_0x87d5('0x57')]=qs['sort'](_0x3b497a['query'][_0x87d5('0x58')]);_0x80ec60[_0x87d5('0x59')]=qs[_0x87d5('0x4f')](_['pick'](_0x3b497a[_0x87d5('0x4d')],_0x8e6a4e['filters']));if(_0x3b497a['query'][_0x87d5('0x3b')]){_0x80ec60[_0x87d5('0x59')]=_[_0x87d5('0x5b')](_0x80ec60[_0x87d5('0x59')],{'$or':_['map'](_0x80ec60[_0x87d5('0x51')],function(_0x5bdaab){var _0x5b0fa8={};_0x5b0fa8[_0x5bdaab]={'$like':'%'+_0x3b497a['query'][_0x87d5('0x3b')]+'%'};return _0x5b0fa8;})});}_0x80ec60=_['merge']({},_0x80ec60,_0x3b497a[_0x87d5('0x5e')]);return _0x1d0f82['getContacts'](_0x80ec60);}})[_0x87d5('0x23')](function(_0x314f37){if(_0x314f37){_0x23a69a=_0x314f37[_0x87d5('0x53')];if(_0x3b497a['query']['hasOwnProperty'](_0x87d5('0x60'))){_0x80ec60['include']=[{'model':db[_0x87d5('0xbe')],'as':'List','required':![]},{'model':db[_0x87d5('0xbf')],'as':_0x87d5('0xc0'),'attributes':['id',_0x87d5('0x42'),_0x87d5('0xc1')],'where':_0x3b497a[_0x87d5('0x4d')]['tag']?{'id':_0x3b497a['query'][_0x87d5('0xc2')]}:undefined,'required':_0x3b497a[_0x87d5('0x4d')]['tag']?!![]:![]}];}if(!_0x3b497a[_0x87d5('0x4d')][_0x87d5('0x54')](_0x87d5('0x55'))){_0x80ec60[_0x87d5('0x56')]=qs[_0x87d5('0x56')](_0x3b497a[_0x87d5('0x4d')][_0x87d5('0x56')]);_0x80ec60['offset']=qs[_0x87d5('0x32')](_0x3b497a[_0x87d5('0x4d')][_0x87d5('0x32')]);}return _0x1d0f82[_0x87d5('0xc3')](_0x80ec60);}})[_0x87d5('0x23')](function(_0x5624b2){if(_0x5624b2){return _0x5624b2?{'count':_0x23a69a,'rows':_0x5624b2}:null;}})[_0x87d5('0x23')](respondWithResult(_0x2d877c,null))[_0x87d5('0x2d')](handleError(_0x2d877c,null));};exports['getQueues']=function(_0x17235b,_0x454edb,_0x1e88ec){var _0x192229;var _0x70e669;var _0x298bd5={};var _0xcb429e;return db[_0x87d5('0x44')][_0x87d5('0xbc')]({'where':{'id':_0x17235b[_0x87d5('0x64')]['id']},'attributes':['id','name','role']})[_0x87d5('0x23')](handleEntityNotFound(_0x454edb,null))[_0x87d5('0x23')](function(_0x28c3ba){if(!utils[_0x87d5('0xa0')](_0x17235b[_0x87d5('0x4d')]['channel'])){throw new db[(_0x87d5('0x20'))][(_0x87d5('0x21'))](_0x87d5('0xac'));}_0x192229=_0x28c3ba;var _0x97191c={};_0x97191c[_0x87d5('0x49')]=_[_0x87d5('0x4e')](db[_[_0x87d5('0xae')](_0x17235b[_0x87d5('0x4d')]['channel'])+_0x87d5('0xc4')][_0x87d5('0x45')]);_0x97191c[_0x87d5('0x4d')]=_[_0x87d5('0x4e')](_0x17235b[_0x87d5('0x4d')]);_0x97191c[_0x87d5('0x4f')]=_[_0x87d5('0x50')](_0x97191c[_0x87d5('0x49')],_0x97191c[_0x87d5('0x4d')]);_0x298bd5[_0x87d5('0x51')]=_[_0x87d5('0x50')](_0x97191c['model'],qs['fields'](_0x17235b['query'][_0x87d5('0x52')]));_0x298bd5[_0x87d5('0x51')]=_0x298bd5[_0x87d5('0x51')][_0x87d5('0x53')]?_0x298bd5[_0x87d5('0x51')]:_0x97191c[_0x87d5('0x49')];_0x298bd5['order']=qs['sort'](_0x17235b['query']['sort']);_0x298bd5[_0x87d5('0x59')]=qs[_0x87d5('0x4f')](_['pick'](_0x17235b[_0x87d5('0x4d')],_0x97191c[_0x87d5('0x4f')]));if(_0x17235b['query']['filter']){_0x298bd5[_0x87d5('0x59')]=_[_0x87d5('0x5b')](_0x298bd5['where'],{'$or':_[_0x87d5('0x3d')](_0x298bd5[_0x87d5('0x51')],function(_0x5c1866){var _0x1fb604={};_0x1fb604[_0x5c1866]={'$like':'%'+_0x17235b['query'][_0x87d5('0x3b')]+'%'};return _0x1fb604;})});}_0x298bd5=_['merge']({},_0x298bd5,_0x17235b[_0x87d5('0x5e')]);switch(_0x192229[_0x87d5('0x40')]){case _0x87d5('0x6e'):return db[_['capitalize'](_0x17235b[_0x87d5('0x4d')]['channel'])+_0x87d5('0xc4')]['findAll'](_0x298bd5);case _0x87d5('0x6f'):case _0x87d5('0x6c'):return _0x192229[_0x87d5('0x8e')+_[_0x87d5('0xae')](_0x17235b[_0x87d5('0x4d')][_0x87d5('0x9b')])+_0x87d5('0xa3')](_0x298bd5);default:throw new db['Sequelize'][(_0x87d5('0x21'))](_0x87d5('0xc5'));}})[_0x87d5('0x23')](function(_0x56eba0){_0xcb429e=_0x56eba0['length'];if(!_0x17235b[_0x87d5('0x4d')][_0x87d5('0x54')](_0x87d5('0x55'))){_0x298bd5[_0x87d5('0x56')]=qs[_0x87d5('0x56')](_0x17235b['query']['limit']);_0x298bd5[_0x87d5('0x32')]=qs[_0x87d5('0x32')](_0x17235b[_0x87d5('0x4d')][_0x87d5('0x32')]);}switch(_0x192229[_0x87d5('0x40')]){case _0x87d5('0x6e'):return db[_[_0x87d5('0xae')](_0x17235b[_0x87d5('0x4d')][_0x87d5('0x9b')])+_0x87d5('0xc4')]['findAll'](_0x298bd5);case _0x87d5('0x6f'):case _0x87d5('0x6c'):return _0x192229[_0x87d5('0x8e')+_[_0x87d5('0xae')](_0x17235b[_0x87d5('0x4d')]['channel'])+_0x87d5('0xa3')](_0x298bd5);}})['then'](function(_0x222eaf){return{'count':_0xcb429e,'rows':_0x222eaf};})['then'](respondWithResult(_0x454edb,null))['catch'](handleError(_0x454edb,null));};exports[_0x87d5('0xc6')]=function(_0x146121,_0x4344c4,_0x2ae334){var _0x11c5d3={};var _0x25b9da={};var _0x4fb56e;var _0x2162ca;return db['User'][_0x87d5('0xbc')]({'where':{'id':_0x146121[_0x87d5('0x64')]['id']}})[_0x87d5('0x23')](handleEntityNotFound(_0x4344c4,null))[_0x87d5('0x23')](function(_0x562b1e){if(_0x562b1e){_0x4fb56e=_0x562b1e;_0x25b9da['model']=_[_0x87d5('0x4e')](db[_0x87d5('0xb2')][_0x87d5('0x45')]);_0x25b9da[_0x87d5('0x4d')]=_['keys'](_0x146121[_0x87d5('0x4d')]);_0x25b9da['filters']=_[_0x87d5('0x50')](_0x25b9da[_0x87d5('0x49')],_0x25b9da[_0x87d5('0x4d')]);_0x11c5d3['attributes']=_[_0x87d5('0x50')](_0x25b9da['model'],qs[_0x87d5('0x52')](_0x146121['query'][_0x87d5('0x52')]));_0x11c5d3[_0x87d5('0x51')]=_0x11c5d3['attributes']['length']?_0x11c5d3[_0x87d5('0x51')]:_0x25b9da[_0x87d5('0x49')];_0x11c5d3['order']=qs[_0x87d5('0x58')](_0x146121[_0x87d5('0x4d')][_0x87d5('0x58')]);_0x11c5d3[_0x87d5('0x59')]=qs['filters'](_[_0x87d5('0x5a')](_0x146121[_0x87d5('0x4d')],_0x25b9da[_0x87d5('0x4f')]));if(_0x146121['query'][_0x87d5('0x3b')]){_0x11c5d3['where']=_['merge'](_0x11c5d3[_0x87d5('0x59')],{'$or':_[_0x87d5('0x3d')](_0x11c5d3[_0x87d5('0x51')],function(_0x5dd1f7){var _0x518aef={};_0x518aef[_0x5dd1f7]={'$like':'%'+_0x146121[_0x87d5('0x4d')][_0x87d5('0x3b')]+'%'};return _0x518aef;})});}_0x11c5d3=_[_0x87d5('0x5b')]({},_0x11c5d3,_0x146121['options']);return _0x4fb56e[_0x87d5('0xc6')](_0x11c5d3);}})[_0x87d5('0x23')](function(_0x2c95a0){if(_0x2c95a0){_0x2162ca=_0x2c95a0['length'];if(!_0x146121[_0x87d5('0x4d')][_0x87d5('0x54')](_0x87d5('0x55'))){_0x11c5d3[_0x87d5('0x56')]=qs['limit'](_0x146121[_0x87d5('0x4d')]['limit']);_0x11c5d3[_0x87d5('0x32')]=qs['offset'](_0x146121[_0x87d5('0x4d')][_0x87d5('0x32')]);}return _0x4fb56e[_0x87d5('0xc6')](_0x11c5d3);}})[_0x87d5('0x23')](function(_0x834fe0){if(_0x834fe0){return _0x834fe0?{'count':_0x2162ca,'rows':_0x834fe0}:null;}})[_0x87d5('0x23')](respondWithResult(_0x4344c4,null))[_0x87d5('0x2d')](handleError(_0x4344c4,null));};exports[_0x87d5('0xc7')]=function(_0x581109,_0x2c03be,_0x533795){var _0x3642cd={};var _0x50b38a={};var _0x465bd4;var _0x1ad9f7;return db[_0x87d5('0x44')][_0x87d5('0xbc')]({'where':{'id':_0x581109[_0x87d5('0x64')]['id']}})['then'](handleEntityNotFound(_0x2c03be,null))[_0x87d5('0x23')](function(_0x3f84d3){if(_0x3f84d3){_0x465bd4=_0x3f84d3;_0x50b38a['model']=_[_0x87d5('0x4e')](db[_0x87d5('0xc8')]['rawAttributes']);_0x50b38a[_0x87d5('0x4d')]=_[_0x87d5('0x4e')](_0x581109[_0x87d5('0x4d')]);_0x50b38a[_0x87d5('0x4f')]=_['intersection'](_0x50b38a[_0x87d5('0x49')],_0x50b38a['query']);_0x3642cd[_0x87d5('0x51')]=_[_0x87d5('0x50')](_0x50b38a[_0x87d5('0x49')],qs[_0x87d5('0x52')](_0x581109['query'][_0x87d5('0x52')]));_0x3642cd[_0x87d5('0x51')]=_0x3642cd[_0x87d5('0x51')][_0x87d5('0x53')]?_0x3642cd[_0x87d5('0x51')]:_0x50b38a['model'];_0x3642cd['order']=qs[_0x87d5('0x58')](_0x581109[_0x87d5('0x4d')][_0x87d5('0x58')]);_0x3642cd[_0x87d5('0x59')]=qs['filters'](_['pick'](_0x581109[_0x87d5('0x4d')],_0x50b38a[_0x87d5('0x4f')]));if(_0x581109[_0x87d5('0x4d')][_0x87d5('0x3b')]){_0x3642cd[_0x87d5('0x59')]=_[_0x87d5('0x5b')](_0x3642cd[_0x87d5('0x59')],{'$or':_[_0x87d5('0x3d')](_0x3642cd[_0x87d5('0x51')],function(_0x1ade3f){var _0x16e3a7={};_0x16e3a7[_0x1ade3f]={'$like':'%'+_0x581109[_0x87d5('0x4d')][_0x87d5('0x3b')]+'%'};return _0x16e3a7;})});}_0x3642cd=_['merge']({},_0x3642cd,_0x581109[_0x87d5('0x5e')]);return _0x465bd4[_0x87d5('0xc7')](_0x3642cd);}})[_0x87d5('0x23')](function(_0x5f17da){if(_0x5f17da){_0x1ad9f7=_0x5f17da[_0x87d5('0x53')];if(!_0x581109[_0x87d5('0x4d')][_0x87d5('0x54')](_0x87d5('0x55'))){_0x3642cd[_0x87d5('0x56')]=qs['limit'](_0x581109['query']['limit']);_0x3642cd[_0x87d5('0x32')]=qs[_0x87d5('0x32')](_0x581109[_0x87d5('0x4d')]['offset']);}return _0x465bd4['getGroups'](_0x3642cd);}})['then'](function(_0x212cf1){if(_0x212cf1){return _0x212cf1?{'count':_0x1ad9f7,'rows':_0x212cf1}:null;}})['then'](respondWithResult(_0x2c03be,null))[_0x87d5('0x2d')](handleError(_0x2c03be,null));};exports[_0x87d5('0xc9')]=function(_0x30480f,_0x2d5a68,_0x25e709){var _0x384bd6={'raw':!![],'where':{}};var _0xebfc7e={};var _0x63eee5={'count':0x0,'rows':[]};return db[_0x87d5('0x44')][_0x87d5('0xbc')]({'where':{'id':_0x30480f[_0x87d5('0x64')]['id']}})[_0x87d5('0x23')](handleEntityNotFound(_0x2d5a68,null))[_0x87d5('0x23')](function(_0x1d2581){if(_0x1d2581){_0xebfc7e['model']=_['keys'](db['VoiceRecording'][_0x87d5('0x45')]);_0xebfc7e['query']=_[_0x87d5('0x4e')](_0x30480f[_0x87d5('0x4d')]);_0xebfc7e[_0x87d5('0x4f')]=_['intersection'](_0xebfc7e[_0x87d5('0x49')],_0xebfc7e[_0x87d5('0x4d')]);_0x384bd6[_0x87d5('0x51')]=_['intersection'](_0xebfc7e[_0x87d5('0x49')],qs[_0x87d5('0x52')](_0x30480f[_0x87d5('0x4d')]['fields']));_0x384bd6['attributes']=_0x384bd6[_0x87d5('0x51')][_0x87d5('0x53')]?_0x384bd6[_0x87d5('0x51')]:_0xebfc7e[_0x87d5('0x49')];if(!_0x30480f['query'][_0x87d5('0x54')](_0x87d5('0x55'))){_0x384bd6[_0x87d5('0x56')]=qs['limit'](_0x30480f[_0x87d5('0x4d')][_0x87d5('0x56')]);_0x384bd6['offset']=qs[_0x87d5('0x32')](_0x30480f[_0x87d5('0x4d')][_0x87d5('0x32')]);}_0x384bd6[_0x87d5('0x57')]=qs[_0x87d5('0x58')](_0x30480f[_0x87d5('0x4d')][_0x87d5('0x58')]);_0x384bd6[_0x87d5('0x59')]=qs[_0x87d5('0x4f')](_[_0x87d5('0x5a')](_0x30480f['query'],_0xebfc7e['filters']));_0x384bd6[_0x87d5('0x59')][_0x87d5('0xca')]=_0x1d2581['id'];if(_0x30480f[_0x87d5('0x4d')]['filter']){_0x384bd6[_0x87d5('0x59')]=_[_0x87d5('0x5b')](_0x384bd6[_0x87d5('0x59')],{'$or':_['map'](_0x384bd6['attributes'],function(_0x3eb6a0){var _0x366a5e={};_0x366a5e[_0x3eb6a0]={'$like':'%'+_0x30480f['query'][_0x87d5('0x3b')]+'%'};return _0x366a5e;})});}_0x384bd6=_[_0x87d5('0x5b')]({},_0x384bd6,_0x30480f['options']);return db[_0x87d5('0xcb')][_0x87d5('0x5f')]({'where':_0x384bd6[_0x87d5('0x59')]})[_0x87d5('0x23')](function(_0xcc14d8){_0x63eee5[_0x87d5('0x5f')]=_0xcc14d8;if(_0x30480f[_0x87d5('0x4d')][_0x87d5('0x60')]){_0x384bd6[_0x87d5('0x65')]=[{'all':!![]}];}return db[_0x87d5('0xcb')][_0x87d5('0x61')](_0x384bd6);})[_0x87d5('0x23')](function(_0x55afc4){_0x63eee5[_0x87d5('0x62')]=_0x55afc4;return _0x63eee5;});}})[_0x87d5('0x23')](respondWithFilteredResult(_0x2d5a68,_0x384bd6))[_0x87d5('0x2d')](handleError(_0x2d5a68,null));};exports[_0x87d5('0xcc')]=function(_0x481eb6,_0x1b4805,_0x3c8f7f){var _0x2b6d41={'raw':!![],'where':{}};var _0x52c751={};var _0xd8abbd={'count':0x0,'rows':[]};return db['User'][_0x87d5('0xbc')]({'where':{'id':_0x481eb6[_0x87d5('0x64')]['id']}})[_0x87d5('0x23')](handleEntityNotFound(_0x1b4805,null))['then'](function(_0x2422f3){if(_0x2422f3){_0x52c751[_0x87d5('0x49')]=_['keys'](db[_0x87d5('0xcd')]['rawAttributes']);_0x52c751[_0x87d5('0x4d')]=_[_0x87d5('0x4e')](_0x481eb6[_0x87d5('0x4d')]);_0x52c751[_0x87d5('0x4f')]=_[_0x87d5('0x50')](_0x52c751['model'],_0x52c751[_0x87d5('0x4d')]);_0x2b6d41['attributes']=_['intersection'](_0x52c751['model'],qs[_0x87d5('0x52')](_0x481eb6['query'][_0x87d5('0x52')]));_0x2b6d41[_0x87d5('0x51')]=_0x2b6d41[_0x87d5('0x51')][_0x87d5('0x53')]?_0x2b6d41[_0x87d5('0x51')]:_0x52c751[_0x87d5('0x49')];if(!_0x481eb6['query'][_0x87d5('0x54')](_0x87d5('0x55'))){_0x2b6d41[_0x87d5('0x56')]=qs[_0x87d5('0x56')](_0x481eb6['query'][_0x87d5('0x56')]);_0x2b6d41[_0x87d5('0x32')]=qs['offset'](_0x481eb6[_0x87d5('0x4d')][_0x87d5('0x32')]);}_0x2b6d41['order']=qs[_0x87d5('0x58')](_0x481eb6['query'][_0x87d5('0x58')]);_0x2b6d41[_0x87d5('0x59')]=qs[_0x87d5('0x4f')](_[_0x87d5('0x5a')](_0x481eb6[_0x87d5('0x4d')],_0x52c751[_0x87d5('0x4f')]));_0x2b6d41[_0x87d5('0x59')][_0x87d5('0xca')]=_0x2422f3['id'];if(_0x481eb6[_0x87d5('0x4d')][_0x87d5('0x3b')]){_0x2b6d41['where']=_[_0x87d5('0x5b')](_0x2b6d41[_0x87d5('0x59')],{'$or':_[_0x87d5('0x3d')](_0x2b6d41['attributes'],function(_0x12b22b){var _0x5b5bc3={};_0x5b5bc3[_0x12b22b]={'$like':'%'+_0x481eb6['query'][_0x87d5('0x3b')]+'%'};return _0x5b5bc3;})});}_0x2b6d41=_['merge']({},_0x2b6d41,_0x481eb6[_0x87d5('0x5e')]);return db[_0x87d5('0xcd')][_0x87d5('0x5f')]({'where':_0x2b6d41['where']})[_0x87d5('0x23')](function(_0x390a38){_0xd8abbd[_0x87d5('0x5f')]=_0x390a38;if(_0x481eb6['query'][_0x87d5('0x60')]){_0x2b6d41[_0x87d5('0x65')]=[{'all':!![]}];}return db[_0x87d5('0xcd')][_0x87d5('0x61')](_0x2b6d41);})[_0x87d5('0x23')](function(_0x2a7aa8){_0xd8abbd['rows']=_0x2a7aa8;return _0xd8abbd;});}})[_0x87d5('0x23')](respondWithFilteredResult(_0x1b4805,_0x2b6d41))[_0x87d5('0x2d')](handleError(_0x1b4805,null));};exports[_0x87d5('0xce')]=function(_0xb107ce,_0x52ef0c,_0x4114fb){var _0x5530ef={};var _0x32a001={};var _0x11f5f3;var _0x595b07;return db[_0x87d5('0x44')]['findOne']({'where':{'id':_0xb107ce[_0x87d5('0x64')]['id']}})['then'](handleEntityNotFound(_0x52ef0c,null))['then'](function(_0x1fb812){if(_0x1fb812){_0x11f5f3=_0x1fb812;_0x32a001['model']=_[_0x87d5('0x4e')](db['ChatInteraction'][_0x87d5('0x45')]);_0x32a001[_0x87d5('0x4d')]=_['keys'](_0xb107ce[_0x87d5('0x4d')]);_0x32a001['filters']=_[_0x87d5('0x50')](_0x32a001[_0x87d5('0x49')],_0x32a001['query']);_0x5530ef[_0x87d5('0x51')]=_[_0x87d5('0x50')](_0x32a001['model'],qs['fields'](_0xb107ce['query'][_0x87d5('0x52')]));_0x5530ef[_0x87d5('0x51')]=_0x5530ef[_0x87d5('0x51')][_0x87d5('0x53')]?_0x5530ef[_0x87d5('0x51')]:_0x32a001[_0x87d5('0x49')];_0x5530ef[_0x87d5('0x57')]=qs['sort'](_0xb107ce['query'][_0x87d5('0x58')]);_0x5530ef[_0x87d5('0x59')]=qs[_0x87d5('0x4f')](_['pick'](_0xb107ce['query'],_0x32a001[_0x87d5('0x4f')]));if(_0xb107ce['query'][_0x87d5('0x3b')]){_0x5530ef[_0x87d5('0x59')]=_['merge'](_0x5530ef['where'],{'$or':_[_0x87d5('0x3d')](_0x5530ef[_0x87d5('0x51')],function(_0x3b3611){var _0x346ef7={};_0x346ef7[_0x3b3611]={'$like':'%'+_0xb107ce['query'][_0x87d5('0x3b')]+'%'};return _0x346ef7;})});}_0x5530ef=_['merge']({},_0x5530ef,_0xb107ce[_0x87d5('0x5e')]);return _0x11f5f3[_0x87d5('0xce')](_0x5530ef);}})[_0x87d5('0x23')](function(_0x95f40){if(_0x95f40){_0x595b07=_0x95f40[_0x87d5('0x53')];if(!_0xb107ce[_0x87d5('0x4d')][_0x87d5('0x54')](_0x87d5('0x55'))){_0x5530ef[_0x87d5('0x56')]=qs[_0x87d5('0x56')](_0xb107ce[_0x87d5('0x4d')][_0x87d5('0x56')]);_0x5530ef[_0x87d5('0x32')]=qs[_0x87d5('0x32')](_0xb107ce[_0x87d5('0x4d')][_0x87d5('0x32')]);}return _0x11f5f3[_0x87d5('0xce')](_0x5530ef);}})['then'](function(_0x17e378){if(_0x17e378){return _0x17e378?{'count':_0x595b07,'rows':_0x17e378}:null;}})['then'](respondWithResult(_0x52ef0c,null))[_0x87d5('0x2d')](handleError(_0x52ef0c,null));};exports[_0x87d5('0xcf')]=function(_0x41662d,_0x43f354,_0x36dceb){var _0x41e1fc={};var _0x81d49b={};var _0x26419e;var _0x3989f2;return db[_0x87d5('0x44')][_0x87d5('0xbc')]({'where':{'id':_0x41662d['params']['id']}})[_0x87d5('0x23')](handleEntityNotFound(_0x43f354,null))[_0x87d5('0x23')](function(_0x49732d){if(_0x49732d){_0x26419e=_0x49732d;_0x81d49b[_0x87d5('0x49')]=_[_0x87d5('0x4e')](db['OpenchannelInteraction']['rawAttributes']);_0x81d49b[_0x87d5('0x4d')]=_['keys'](_0x41662d[_0x87d5('0x4d')]);_0x81d49b[_0x87d5('0x4f')]=_['intersection'](_0x81d49b[_0x87d5('0x49')],_0x81d49b[_0x87d5('0x4d')]);_0x41e1fc[_0x87d5('0x51')]=_[_0x87d5('0x50')](_0x81d49b[_0x87d5('0x49')],qs['fields'](_0x41662d['query']['fields']));_0x41e1fc[_0x87d5('0x51')]=_0x41e1fc['attributes']['length']?_0x41e1fc[_0x87d5('0x51')]:_0x81d49b[_0x87d5('0x49')];_0x41e1fc[_0x87d5('0x57')]=qs[_0x87d5('0x58')](_0x41662d['query'][_0x87d5('0x58')]);_0x41e1fc[_0x87d5('0x59')]=qs[_0x87d5('0x4f')](_[_0x87d5('0x5a')](_0x41662d['query'],_0x81d49b[_0x87d5('0x4f')]));if(_0x41662d[_0x87d5('0x4d')][_0x87d5('0x3b')]){_0x41e1fc[_0x87d5('0x59')]=_[_0x87d5('0x5b')](_0x41e1fc[_0x87d5('0x59')],{'$or':_[_0x87d5('0x3d')](_0x41e1fc[_0x87d5('0x51')],function(_0x1c26e8){var _0x38a98f={};_0x38a98f[_0x1c26e8]={'$like':'%'+_0x41662d[_0x87d5('0x4d')][_0x87d5('0x3b')]+'%'};return _0x38a98f;})});}_0x41e1fc=_['merge']({},_0x41e1fc,_0x41662d['options']);return _0x26419e[_0x87d5('0xcf')](_0x41e1fc);}})['then'](function(_0x830d03){if(_0x830d03){_0x3989f2=_0x830d03['length'];if(!_0x41662d['query'][_0x87d5('0x54')]('nolimit')){_0x41e1fc['limit']=qs['limit'](_0x41662d[_0x87d5('0x4d')][_0x87d5('0x56')]);_0x41e1fc['offset']=qs['offset'](_0x41662d[_0x87d5('0x4d')][_0x87d5('0x32')]);}return _0x26419e[_0x87d5('0xcf')](_0x41e1fc);}})[_0x87d5('0x23')](function(_0x5931ea){if(_0x5931ea){return _0x5931ea?{'count':_0x3989f2,'rows':_0x5931ea}:null;}})[_0x87d5('0x23')](respondWithResult(_0x43f354,null))[_0x87d5('0x2d')](handleError(_0x43f354,null));};exports[_0x87d5('0xd0')]=function(_0x510a0c,_0x4191aa,_0x515863){var _0xad91c2={'raw':!![],'where':{}};var _0x3ff27f={};var _0x395712={'count':0x0,'rows':[]};return db[_0x87d5('0x44')][_0x87d5('0xbc')]({'where':{'id':_0x510a0c[_0x87d5('0x64')]['id']}})['then'](handleEntityNotFound(_0x4191aa,null))[_0x87d5('0x23')](function(_0x1f06ba){if(_0x1f06ba){_0x3ff27f[_0x87d5('0x49')]=_['keys'](db[_0x87d5('0xd1')][_0x87d5('0x45')]);_0x3ff27f['query']=_[_0x87d5('0x4e')](_0x510a0c['query']);_0x3ff27f['filters']=_[_0x87d5('0x50')](_0x3ff27f[_0x87d5('0x49')],_0x3ff27f[_0x87d5('0x4d')]);_0xad91c2['attributes']=_['intersection'](_0x3ff27f['model'],qs[_0x87d5('0x52')](_0x510a0c[_0x87d5('0x4d')][_0x87d5('0x52')]));_0xad91c2[_0x87d5('0x51')]=_0xad91c2[_0x87d5('0x51')][_0x87d5('0x53')]?_0xad91c2[_0x87d5('0x51')]:_0x3ff27f[_0x87d5('0x49')];if(!_0x510a0c[_0x87d5('0x4d')]['hasOwnProperty'](_0x87d5('0x55'))){_0xad91c2[_0x87d5('0x56')]=qs[_0x87d5('0x56')](_0x510a0c[_0x87d5('0x4d')][_0x87d5('0x56')]);_0xad91c2[_0x87d5('0x32')]=qs[_0x87d5('0x32')](_0x510a0c['query']['offset']);}_0xad91c2[_0x87d5('0x57')]=qs[_0x87d5('0x58')](_0x510a0c[_0x87d5('0x4d')][_0x87d5('0x58')]);_0xad91c2[_0x87d5('0x59')]=qs[_0x87d5('0x4f')](_[_0x87d5('0x5a')](_0x510a0c[_0x87d5('0x4d')],_0x3ff27f[_0x87d5('0x4f')]));_0xad91c2[_0x87d5('0x59')]['UserId']=_0x1f06ba['id'];if(_0x510a0c['query'][_0x87d5('0x3b')]){_0xad91c2['where']=_[_0x87d5('0x5b')](_0xad91c2['where'],{'$or':_['map'](_0xad91c2[_0x87d5('0x51')],function(_0x1b8086){var _0x243811={};_0x243811[_0x1b8086]={'$like':'%'+_0x510a0c[_0x87d5('0x4d')][_0x87d5('0x3b')]+'%'};return _0x243811;})});}_0xad91c2=_[_0x87d5('0x5b')]({},_0xad91c2,_0x510a0c['options']);return db['MailInteraction'][_0x87d5('0x5f')]({'where':_0xad91c2['where']})[_0x87d5('0x23')](function(_0x89a8be){_0x395712[_0x87d5('0x5f')]=_0x89a8be;if(_0x510a0c[_0x87d5('0x4d')][_0x87d5('0x60')]){_0xad91c2[_0x87d5('0x65')]=[{'all':!![]}];}return db[_0x87d5('0xd1')][_0x87d5('0x61')](_0xad91c2);})[_0x87d5('0x23')](function(_0xcf9791){_0x395712['rows']=_0xcf9791;return _0x395712;});}})[_0x87d5('0x23')](respondWithFilteredResult(_0x4191aa,_0xad91c2))[_0x87d5('0x2d')](handleError(_0x4191aa,null));};exports['getSmsInteractions']=function(_0x74d4c7,_0x121437,_0x32fcf5){var _0x1877f6={};var _0x135543={};var _0x7fd88f;var _0xa4f51a;return db['User'][_0x87d5('0xbc')]({'where':{'id':_0x74d4c7[_0x87d5('0x64')]['id']}})[_0x87d5('0x23')](handleEntityNotFound(_0x121437,null))[_0x87d5('0x23')](function(_0x551b2f){if(_0x551b2f){_0x7fd88f=_0x551b2f;_0x135543[_0x87d5('0x49')]=_['keys'](db[_0x87d5('0xd2')][_0x87d5('0x45')]);_0x135543[_0x87d5('0x4d')]=_[_0x87d5('0x4e')](_0x74d4c7[_0x87d5('0x4d')]);_0x135543[_0x87d5('0x4f')]=_['intersection'](_0x135543[_0x87d5('0x49')],_0x135543[_0x87d5('0x4d')]);_0x1877f6['attributes']=_['intersection'](_0x135543['model'],qs['fields'](_0x74d4c7[_0x87d5('0x4d')][_0x87d5('0x52')]));_0x1877f6['attributes']=_0x1877f6[_0x87d5('0x51')][_0x87d5('0x53')]?_0x1877f6[_0x87d5('0x51')]:_0x135543[_0x87d5('0x49')];_0x1877f6[_0x87d5('0x57')]=qs[_0x87d5('0x58')](_0x74d4c7[_0x87d5('0x4d')]['sort']);_0x1877f6['where']=qs['filters'](_[_0x87d5('0x5a')](_0x74d4c7['query'],_0x135543[_0x87d5('0x4f')]));if(_0x74d4c7[_0x87d5('0x4d')][_0x87d5('0x3b')]){_0x1877f6[_0x87d5('0x59')]=_['merge'](_0x1877f6[_0x87d5('0x59')],{'$or':_['map'](_0x1877f6[_0x87d5('0x51')],function(_0x5d5c11){var _0xcc4d4b={};_0xcc4d4b[_0x5d5c11]={'$like':'%'+_0x74d4c7[_0x87d5('0x4d')][_0x87d5('0x3b')]+'%'};return _0xcc4d4b;})});}_0x1877f6=_['merge']({},_0x1877f6,_0x74d4c7[_0x87d5('0x5e')]);return _0x7fd88f[_0x87d5('0xd3')](_0x1877f6);}})['then'](function(_0x4d4ab3){if(_0x4d4ab3){_0xa4f51a=_0x4d4ab3['length'];if(!_0x74d4c7[_0x87d5('0x4d')][_0x87d5('0x54')](_0x87d5('0x55'))){_0x1877f6['limit']=qs[_0x87d5('0x56')](_0x74d4c7['query'][_0x87d5('0x56')]);_0x1877f6[_0x87d5('0x32')]=qs[_0x87d5('0x32')](_0x74d4c7[_0x87d5('0x4d')][_0x87d5('0x32')]);}return _0x7fd88f[_0x87d5('0xd3')](_0x1877f6);}})[_0x87d5('0x23')](function(_0x5478c3){if(_0x5478c3){return _0x5478c3?{'count':_0xa4f51a,'rows':_0x5478c3}:null;}})[_0x87d5('0x23')](respondWithResult(_0x121437,null))['catch'](handleError(_0x121437,null));};exports[_0x87d5('0xd4')]=function(_0x2b60c7,_0x2459a3,_0x15b0ca){var _0x12b077={};var _0x4b6911={};var _0x4b4ac2;var _0x6c3a3f;return db['User'][_0x87d5('0xbc')]({'where':{'id':_0x2b60c7['params']['id']}})[_0x87d5('0x23')](handleEntityNotFound(_0x2459a3,null))[_0x87d5('0x23')](function(_0x1bfaac){if(_0x1bfaac){_0x4b4ac2=_0x1bfaac;_0x4b6911['model']=_['keys'](db[_0x87d5('0xd5')][_0x87d5('0x45')]);_0x4b6911[_0x87d5('0x4d')]=_[_0x87d5('0x4e')](_0x2b60c7['query']);_0x4b6911[_0x87d5('0x4f')]=_['intersection'](_0x4b6911[_0x87d5('0x49')],_0x4b6911[_0x87d5('0x4d')]);_0x12b077[_0x87d5('0x51')]=_[_0x87d5('0x50')](_0x4b6911[_0x87d5('0x49')],qs['fields'](_0x2b60c7[_0x87d5('0x4d')][_0x87d5('0x52')]));_0x12b077['attributes']=_0x12b077[_0x87d5('0x51')][_0x87d5('0x53')]?_0x12b077['attributes']:_0x4b6911[_0x87d5('0x49')];_0x12b077[_0x87d5('0x57')]=qs['sort'](_0x2b60c7[_0x87d5('0x4d')][_0x87d5('0x58')]);_0x12b077['where']=qs['filters'](_[_0x87d5('0x5a')](_0x2b60c7[_0x87d5('0x4d')],_0x4b6911[_0x87d5('0x4f')]));if(_0x2b60c7[_0x87d5('0x4d')][_0x87d5('0x3b')]){_0x12b077[_0x87d5('0x59')]=_[_0x87d5('0x5b')](_0x12b077[_0x87d5('0x59')],{'$or':_[_0x87d5('0x3d')](_0x12b077[_0x87d5('0x51')],function(_0x4e150f){var _0x288489={};_0x288489[_0x4e150f]={'$like':'%'+_0x2b60c7[_0x87d5('0x4d')][_0x87d5('0x3b')]+'%'};return _0x288489;})});}_0x12b077=_[_0x87d5('0x5b')]({},_0x12b077,_0x2b60c7[_0x87d5('0x5e')]);return _0x4b4ac2[_0x87d5('0xd4')](_0x12b077);}})[_0x87d5('0x23')](function(_0x1d84dc){if(_0x1d84dc){_0x6c3a3f=_0x1d84dc[_0x87d5('0x53')];if(!_0x2b60c7[_0x87d5('0x4d')][_0x87d5('0x54')](_0x87d5('0x55'))){_0x12b077[_0x87d5('0x56')]=qs['limit'](_0x2b60c7[_0x87d5('0x4d')]['limit']);_0x12b077[_0x87d5('0x32')]=qs[_0x87d5('0x32')](_0x2b60c7[_0x87d5('0x4d')][_0x87d5('0x32')]);}return _0x4b4ac2[_0x87d5('0xd4')](_0x12b077);}})[_0x87d5('0x23')](function(_0x161674){if(_0x161674){return _0x161674?{'count':_0x6c3a3f,'rows':_0x161674}:null;}})['then'](respondWithResult(_0x2459a3,null))['catch'](handleError(_0x2459a3,null));};exports['getWhatsappInteractions']=function(_0x4418ff,_0x143071,_0x5b5e84){var _0x3204dd={};var _0x4fa148={};var _0x143ff0;var _0x1340b3;return db[_0x87d5('0x44')][_0x87d5('0xbc')]({'where':{'id':_0x4418ff['params']['id']}})[_0x87d5('0x23')](handleEntityNotFound(_0x143071,null))['then'](function(_0x4f6fed){if(_0x4f6fed){_0x143ff0=_0x4f6fed;_0x4fa148[_0x87d5('0x49')]=_[_0x87d5('0x4e')](db[_0x87d5('0xd6')][_0x87d5('0x45')]);_0x4fa148['query']=_[_0x87d5('0x4e')](_0x4418ff[_0x87d5('0x4d')]);_0x4fa148['filters']=_[_0x87d5('0x50')](_0x4fa148[_0x87d5('0x49')],_0x4fa148[_0x87d5('0x4d')]);_0x3204dd[_0x87d5('0x51')]=_[_0x87d5('0x50')](_0x4fa148[_0x87d5('0x49')],qs['fields'](_0x4418ff[_0x87d5('0x4d')][_0x87d5('0x52')]));_0x3204dd[_0x87d5('0x51')]=_0x3204dd[_0x87d5('0x51')][_0x87d5('0x53')]?_0x3204dd[_0x87d5('0x51')]:_0x4fa148['model'];_0x3204dd[_0x87d5('0x57')]=qs[_0x87d5('0x58')](_0x4418ff['query']['sort']);_0x3204dd['where']=qs[_0x87d5('0x4f')](_[_0x87d5('0x5a')](_0x4418ff[_0x87d5('0x4d')],_0x4fa148['filters']));if(_0x4418ff[_0x87d5('0x4d')][_0x87d5('0x3b')]){_0x3204dd[_0x87d5('0x59')]=_[_0x87d5('0x5b')](_0x3204dd[_0x87d5('0x59')],{'$or':_[_0x87d5('0x3d')](_0x3204dd['attributes'],function(_0x1cceb2){var _0x58d5a4={};_0x58d5a4[_0x1cceb2]={'$like':'%'+_0x4418ff['query'][_0x87d5('0x3b')]+'%'};return _0x58d5a4;})});}_0x3204dd=_[_0x87d5('0x5b')]({},_0x3204dd,_0x4418ff[_0x87d5('0x5e')]);return _0x143ff0[_0x87d5('0xd7')](_0x3204dd);}})[_0x87d5('0x23')](function(_0xd23388){if(_0xd23388){_0x1340b3=_0xd23388[_0x87d5('0x53')];if(!_0x4418ff[_0x87d5('0x4d')]['hasOwnProperty']('nolimit')){_0x3204dd[_0x87d5('0x56')]=qs['limit'](_0x4418ff[_0x87d5('0x4d')][_0x87d5('0x56')]);_0x3204dd[_0x87d5('0x32')]=qs[_0x87d5('0x32')](_0x4418ff[_0x87d5('0x4d')][_0x87d5('0x32')]);}return _0x143ff0[_0x87d5('0xd7')](_0x3204dd);}})[_0x87d5('0x23')](function(_0x52f395){if(_0x52f395){return _0x52f395?{'count':_0x1340b3,'rows':_0x52f395}:null;}})[_0x87d5('0x23')](respondWithResult(_0x143071,null))[_0x87d5('0x2d')](handleError(_0x143071,null));};exports['login']=function(_0x30988c,_0x510816,_0x49de73){var _0x32d1bc;var _0x385a68;var _0x416fb0;var _0x5d8c84=!_['isNil'](_0x30988c[_0x87d5('0x64')]['id'])?_0x30988c[_0x87d5('0x64')]['id']:!_[_0x87d5('0x7c')](_0x30988c['user']['id'])?_0x30988c[_0x87d5('0x6f')]['id']:null;return db[_0x87d5('0x44')][_0x87d5('0x41')]({'where':{'id':_0x5d8c84,'role':{'$or':[_0x87d5('0x6e'),'user',_0x87d5('0x6c')]}},'attributes':['id',_0x87d5('0x42'),_0x87d5('0xd8'),_0x87d5('0xd9'),'role',_0x87d5('0x77'),_0x87d5('0x9d')]})[_0x87d5('0x23')](function(_0xd3631c){if(_0xd3631c){if(_0xd3631c[_0x87d5('0x40')]===_0x87d5('0x6c')){_0x32d1bc=_0xd3631c;if(_0x30988c[_0x87d5('0x67')]['interface']){_0x416fb0=util[_0x87d5('0x74')](_0x87d5('0xda'),_0x32d1bc[_0x30988c[_0x87d5('0x67')][_0x87d5('0x9f')]]);}else if(_0x30988c['body']['intrf']){_0x416fb0=util[_0x87d5('0x74')](_0x87d5('0xa9'),_0x30988c[_0x87d5('0x67')][_0x87d5('0xdb')]);}else{_0x416fb0=util[_0x87d5('0x74')](_0x87d5('0xa9'),_0x32d1bc['name']);}socket['to'](util[_0x87d5('0x74')](_0x87d5('0xdc'),_0x32d1bc[_0x87d5('0x42')]))[_0x87d5('0xb0')]('user:forcelogout',{'ip':_0x30988c[_0x87d5('0xdd')][_0x87d5('0xde')]||_0x30988c['connection'][_0x87d5('0xdf')]||_0x30988c[_0x87d5('0xe0')][_0x87d5('0xdf')]||_0x30988c['connection'][_0x87d5('0xe0')][_0x87d5('0xdf')]});return db[_0x87d5('0xb2')][_0x87d5('0x38')]({'where':{'membername':_0x32d1bc[_0x87d5('0x42')]},'individualHooks':!![]});}}else{throw new db['Sequelize'][(_0x87d5('0x21'))](_0x87d5('0xe1'));}})[_0x87d5('0x23')](function(){if(_0x32d1bc){return _0x32d1bc[_0x87d5('0xe2')]({'raw':!![]});}})[_0x87d5('0x23')](function(_0xc4484f){if(_0x32d1bc){var _0x5c7c91=[];if(_0xc4484f){_0x385a68=_0xc4484f;if(_0x385a68['length']){for(var _0x221c83=0x0;_0x221c83<_0x385a68[_0x87d5('0x53')];_0x221c83++){_0x5c7c91[_0x87d5('0xa8')]({'membername':_0x32d1bc[_0x87d5('0x42')],'UserId':_0x32d1bc['id'],'queue_name':_0x385a68[_0x221c83][_0x87d5('0x42')],'VoiceQueueId':_0x385a68[_0x221c83]['id'],'interface':_0x416fb0,'paused':_0x32d1bc['loginInPause']||![],'penalty':_0x385a68[_0x221c83][_0x87d5('0xe3')]||0x0});}return BPromise[_0x87d5('0xaa')](_0x5c7c91,function(_0x1d61dd){return db['UserVoiceQueueRt']['upsert'](_0x1d61dd);});}}}})[_0x87d5('0x23')](function(){if(_0x32d1bc){return db[_0x87d5('0xe4')][_0x87d5('0x61')]({'where':{'membername':_0x32d1bc[_0x87d5('0x42')],'exitAt':null}});}})[_0x87d5('0x23')](function(_0x342548){if(_0x32d1bc){var _0x3d1d73=[];_0x342548['forEach'](function(_0x51d5ac){_0x3d1d73[_0x87d5('0xa8')](_0x51d5ac['update']({'exitAt':moment()['format'](_0x87d5('0xe5'))}));});return BPromise[_0x87d5('0xe6')](_0x3d1d73);}})[_0x87d5('0x23')](function(){if(_0x32d1bc){var _0x348350=[];var _0x5e0402=[];var _0x511560=utils[_0x87d5('0xe7')]();var _0x24bdea={'membername':_0x32d1bc['name'],'interface':_0x416fb0,'enterAt':moment()['format']('YYYY-MM-DD\x20HH:mm:ss'),'role':_0x32d1bc['role'],'internal':_0x32d1bc[_0x87d5('0x77')]};_0x511560['forEach'](function(_0x5941bc){_0x348350['push'](_[_0x87d5('0x5b')]({'channel':_0x5941bc,'type':'LOGIN','data1':_0x30988c[_0x87d5('0x67')][_0x87d5('0xe8')],'data2':_0x416fb0},_0x24bdea));if(_0x32d1bc[_0x87d5('0x9d')]){_0x5e0402['push'](_['merge']({'channel':_0x5941bc,'type':'PAUSE','data1':_0x87d5('0xe9')},_0x24bdea));}});return db[_0x87d5('0xe4')][_0x87d5('0x66')](_0x348350[_0x87d5('0xea')](_0x5e0402),{'individualHooks':!![]});}})[_0x87d5('0x23')](function(){if(_0x32d1bc){return _0x32d1bc[_0x87d5('0x37')]({'online':!![],'lastLoginAt':moment()[_0x87d5('0x74')]('YYYY-MM-DD\x20HH:mm:ss'),'voicePause':_0x32d1bc[_0x87d5('0x9d')]||![],'mailPause':_0x32d1bc[_0x87d5('0x9d')]||![],'chatPause':_0x32d1bc[_0x87d5('0x9d')]||![],'faxPause':_0x32d1bc[_0x87d5('0x9d')]||![],'smsPause':_0x32d1bc['loginInPause']||![],'openchannelPause':_0x32d1bc['loginInPause']||![],'whatsappPause':_0x32d1bc[_0x87d5('0x9d')]||![],'pauseType':_0x32d1bc['loginInPause']?_0x87d5('0xe9'):null,'interface':_0x416fb0,'lastPauseAt':moment()[_0x87d5('0x74')](_0x87d5('0xe5'))});}})[_0x87d5('0x23')](function(_0x3fbdf8){if(_0x30988c['isMiddleware']){return _0x49de73();}else{return BPromise['resolve'](_0x3fbdf8)['then'](respondWithResult(_0x510816,null));}})[_0x87d5('0x2d')](handleError(_0x510816,null));};exports[_0x87d5('0xeb')]=function(_0x493193,_0xae719c,_0x3ae1e9){var _0x11220a;return db[_0x87d5('0x44')][_0x87d5('0x41')]({'where':{'id':_0x493193[_0x87d5('0x64')]['id'],'role':'agent'},'attributes':['id',_0x87d5('0x42'),'role']})[_0x87d5('0x23')](handleEntityNotFound(_0xae719c,null))[_0x87d5('0x23')](function(_0x4455a4){if(_0x4455a4){_0x11220a=_0x4455a4;return db['UserVoiceQueueRt'][_0x87d5('0x38')]({'where':{'membername':_0x11220a[_0x87d5('0x42')]},'individualHooks':!![]});}})['then'](function(){return db['MemberReport']['findAll']({'where':{'membername':_0x11220a[_0x87d5('0x42')],'exitAt':null}});})[_0x87d5('0x23')](function(_0x827d93){var _0x405ff7=[];_0x827d93[_0x87d5('0xec')](function(_0x39998f){_0x405ff7[_0x87d5('0xa8')](_0x39998f[_0x87d5('0x37')]({'exitAt':moment()[_0x87d5('0x74')]('YYYY-MM-DD\x20HH:mm:ss')}));});return BPromise[_0x87d5('0xe6')](_0x405ff7);})[_0x87d5('0x23')](function(){return _0x11220a[_0x87d5('0x37')]({'online':![],'lastLoginAt':null,'voicePause':![],'mailPause':![],'chatPause':![],'faxPause':![],'smsPause':![],'openchannelPause':![],'whatsappPause':![],'interface':null});})[_0x87d5('0x23')](respondWithResult(_0xae719c,null))[_0x87d5('0x2d')](handleError(_0xae719c,null));};exports['pause']=function(_0x42929f,_0x11ccb6,_0x5553f4){var _0x2a4175;return db[_0x87d5('0xb2')][_0x87d5('0x37')]({'paused':0x1},{'where':{'UserId':_0x42929f[_0x87d5('0x64')]['id']},'individualHooks':!![]})['then'](function(){return db[_0x87d5('0x44')][_0x87d5('0x41')]({'where':{'id':_0x42929f[_0x87d5('0x64')]['id'],'role':_0x87d5('0x6c')},'attributes':['id',_0x87d5('0x42'),'role',_0x87d5('0x77'),_0x87d5('0x9f')]});})[_0x87d5('0x23')](handleEntityNotFound(_0x11ccb6,null))[_0x87d5('0x23')](function(_0x4b89a8){if(_0x4b89a8){_0x2a4175=_0x4b89a8;return respondWithRpcPromise(_0x87d5('0xed'),_0x87d5('0xee'),{'id':_0x2a4175['id'],'name':_0x2a4175[_0x87d5('0x42')],'pause':!![]});}})['then'](function(){if(_0x2a4175){return db[_0x87d5('0xe4')]['findAll']({'where':{'membername':_0x2a4175[_0x87d5('0x42')],'type':_0x87d5('0xef'),'exitAt':null}});}})[_0x87d5('0x23')](function(_0x92ea5b){if(_0x92ea5b[_0x87d5('0x53')]){var _0x4809b6=moment()['format'](_0x87d5('0xe5'));for(var _0x2800bb=0x0,_0x4fe5a2=_0x92ea5b[_0x87d5('0x53')];_0x2800bb<_0x4fe5a2;_0x2800bb++){_0x92ea5b[_0x2800bb][_0x87d5('0xf0')]({'exitAt':_0x4809b6});}}})[_0x87d5('0x23')](function(){var _0x4a7be2=[];var _0x2b4bd7=utils[_0x87d5('0xe7')]();_0x2b4bd7['forEach'](function(_0x25012a){_0x4a7be2[_0x87d5('0xa8')]({'channel':_0x25012a,'membername':_0x2a4175['name'],'interface':_[_0x87d5('0x7c')](_0x2a4175['interface'])?util['format']('SIP/%s',_0x2a4175[_0x87d5('0x42')]):_0x2a4175[_0x87d5('0x9f')],'type':_0x87d5('0xef'),'enterAt':moment()[_0x87d5('0x74')](_0x87d5('0xe5')),'data1':_0x42929f[_0x87d5('0x67')][_0x87d5('0x47')]||_0x87d5('0xf1'),'role':_0x2a4175[_0x87d5('0x40')],'internal':_0x2a4175[_0x87d5('0x77')]});});return db[_0x87d5('0xe4')][_0x87d5('0x66')](_0x4a7be2,{'individualHooks':!![]});})['then'](function(){return _0x2a4175[_0x87d5('0x37')]({'voicePause':!![],'mailPause':!![],'chatPause':!![],'faxPause':!![],'smsPause':!![],'whatsappPause':!![],'openchannelPause':!![],'pauseType':_0x42929f[_0x87d5('0x67')][_0x87d5('0x47')]||_0x87d5('0xf1'),'lastPauseAt':moment()[_0x87d5('0x74')](_0x87d5('0xe5'))});})[_0x87d5('0x23')](respondWithResult(_0x11ccb6,null))[_0x87d5('0x2d')](handleError(_0x11ccb6,null));};exports[_0x87d5('0xf2')]=function(_0x24638b,_0x2d6eef,_0x1e4809){var _0x1e77e4;return db['User'][_0x87d5('0x41')]({'where':{'id':_0x24638b[_0x87d5('0x64')]['id']},'attributes':['id','name',_0x87d5('0x40'),_0x87d5('0x9e'),_0x87d5('0xf3'),'chatPause','faxPause','openchannelPause','smsPause',_0x87d5('0xf4'),'pauseType',_0x87d5('0xf5')]})['then'](handleEntityNotFound(_0x2d6eef,null))['then'](function(_0x1e7453){if(_0x1e7453){_0x1e77e4=_0x1e7453;if(_0x24638b[_0x87d5('0x67')]['channel']&&!utils[_0x87d5('0xa0')](_0x24638b[_0x87d5('0x67')][_0x87d5('0x9b')])){throw new db[(_0x87d5('0x20'))][(_0x87d5('0x21'))]('Unknown\x20channel');}switch(_0x24638b['body']['channel']){case _0x87d5('0xa7'):return respondWithRpcPromise(_0x87d5('0xed'),_0x87d5('0xf2'),{'id':_0x1e77e4['id'],'name':_0x1e77e4['name'],'pause':![]})[_0x87d5('0x23')](function(){return db[_0x87d5('0xb2')][_0x87d5('0x37')]({'paused':0x0},{'where':{'UserId':_0x1e77e4['id']},'individualHooks':!![]});})[_0x87d5('0x23')](function(){return db[_0x87d5('0xe4')][_0x87d5('0x41')]({'where':{'channel':_0x24638b[_0x87d5('0x67')][_0x87d5('0x9b')],'membername':_0x1e77e4['name'],'type':'PAUSE','exitAt':null}});})['then'](function(_0x2ad732){if(_0x2ad732){return _0x2ad732[_0x87d5('0x37')]({'exitAt':moment()[_0x87d5('0x74')]('YYYY-MM-DD\x20HH:mm:ss'),'data2':_0x87d5('0xf6')},{'individualHooks':!![]});}return null;})[_0x87d5('0x23')](function(){return _0x1e77e4[_0x87d5('0x37')]({'voicePause':![]});});case'mail':case'chat':case _0x87d5('0xf7'):case _0x87d5('0xf8'):case'whatsapp':case'openchannel':return db['MemberReport'][_0x87d5('0x41')]({'where':{'channel':_0x24638b[_0x87d5('0x67')][_0x87d5('0x9b')],'membername':_0x1e77e4[_0x87d5('0x42')],'type':_0x87d5('0xef'),'exitAt':null}})[_0x87d5('0x23')](function(_0x286704){if(_0x286704){return _0x286704['update']({'exitAt':moment()['format'](_0x87d5('0xe5')),'data2':'manual'},{'individualHooks':!![]});}return null;})[_0x87d5('0x23')](function(){var _0x2468dd={};_[_0x87d5('0xf9')](_0x2468dd,util[_0x87d5('0x74')](_0x87d5('0xfa'),_0x24638b[_0x87d5('0x67')][_0x87d5('0x9b')],'Pause'),![]);return _0x1e77e4['update'](_0x2468dd);});default:return respondWithRpcPromise(_0x87d5('0xed'),_0x87d5('0xf2'),{'id':_0x1e77e4['id'],'name':_0x1e77e4[_0x87d5('0x42')],'pause':![]})[_0x87d5('0x23')](function(){return db[_0x87d5('0xb2')][_0x87d5('0x37')]({'paused':0x0},{'where':{'UserId':_0x1e77e4['id']}});})['then'](function(){return db[_0x87d5('0xe4')][_0x87d5('0x61')]({'where':{'membername':_0x1e77e4[_0x87d5('0x42')],'type':_0x87d5('0xef'),'exitAt':null}});})[_0x87d5('0x23')](function(_0x2a057c){var _0x1fd139=[];_0x2a057c[_0x87d5('0xec')](function(_0x525cac){_0x1fd139[_0x87d5('0xa8')](_0x525cac[_0x87d5('0x37')]({'exitAt':moment()[_0x87d5('0x74')]('YYYY-MM-DD\x20HH:mm:ss'),'data2':_0x87d5('0xf6')}));});return BPromise[_0x87d5('0xe6')](_0x1fd139);})['then'](function(){return _0x1e77e4[_0x87d5('0x37')]({'voicePause':![],'mailPause':![],'chatPause':![],'faxPause':![],'smsPause':![],'whatsappPause':![],'openchannelPause':![]});});}}})['then'](respondWithResult(_0x2d6eef,null))[_0x87d5('0x2d')](handleError(_0x2d6eef,null));};exports[_0x87d5('0xfb')]=function(_0x4f5ae7,_0x4a9fae,_0x3f56c7){var _0x1c2986={};var _0x2bc0ab={};var _0x22f9f3;var _0x3dcf8d;return db[_0x87d5('0x44')]['findOne']({'where':{'id':_0x4f5ae7[_0x87d5('0x64')]['id']}})[_0x87d5('0x23')](handleEntityNotFound(_0x4a9fae,null))[_0x87d5('0x23')](function(_0x387cf3){if(_0x387cf3){_0x22f9f3=_0x387cf3;_0x2bc0ab[_0x87d5('0x49')]=_[_0x87d5('0x4e')](db[_0x87d5('0xfc')][_0x87d5('0x45')]);_0x2bc0ab[_0x87d5('0x4d')]=_[_0x87d5('0x4e')](_0x4f5ae7[_0x87d5('0x4d')]);_0x2bc0ab['filters']=_[_0x87d5('0x50')](_0x2bc0ab[_0x87d5('0x49')],_0x2bc0ab[_0x87d5('0x4d')]);_0x1c2986[_0x87d5('0x51')]=_['intersection'](_0x2bc0ab[_0x87d5('0x49')],qs[_0x87d5('0x52')](_0x4f5ae7['query']['fields']));_0x1c2986[_0x87d5('0x51')]=_0x1c2986['attributes'][_0x87d5('0x53')]?_0x1c2986[_0x87d5('0x51')]:_0x2bc0ab['model'];_0x1c2986['order']=qs['sort'](_0x4f5ae7[_0x87d5('0x4d')][_0x87d5('0x58')]);_0x1c2986[_0x87d5('0x59')]=qs[_0x87d5('0x4f')](_[_0x87d5('0x5a')](_0x4f5ae7[_0x87d5('0x4d')],_0x2bc0ab[_0x87d5('0x4f')]));if(_0x4f5ae7[_0x87d5('0x4d')]['filter']){_0x1c2986[_0x87d5('0x59')]=_[_0x87d5('0x5b')](_0x1c2986['where'],{'$or':_[_0x87d5('0x3d')](_0x1c2986[_0x87d5('0x51')],function(_0x2b94d9){var _0x3fd0cd={};_0x3fd0cd[_0x2b94d9]={'$like':'%'+_0x4f5ae7['query'][_0x87d5('0x3b')]+'%'};return _0x3fd0cd;})});}_0x1c2986=_['merge']({},_0x1c2986,_0x4f5ae7[_0x87d5('0x5e')]);return _0x22f9f3['getTeams'](_0x1c2986);}})[_0x87d5('0x23')](function(_0x278a6b){if(_0x278a6b){_0x3dcf8d=_0x278a6b[_0x87d5('0x53')];if(!_0x4f5ae7[_0x87d5('0x4d')]['hasOwnProperty'](_0x87d5('0x55'))){_0x1c2986[_0x87d5('0x56')]=qs[_0x87d5('0x56')](_0x4f5ae7[_0x87d5('0x4d')]['limit']);_0x1c2986[_0x87d5('0x32')]=qs['offset'](_0x4f5ae7[_0x87d5('0x4d')]['offset']);}return _0x22f9f3[_0x87d5('0xfb')](_0x1c2986);}})[_0x87d5('0x23')](function(_0xe38c06){if(_0xe38c06){return _0xe38c06?{'count':_0x3dcf8d,'rows':_0xe38c06}:null;}})['then'](respondWithResult(_0x4a9fae,null))[_0x87d5('0x2d')](handleError(_0x4a9fae,null));};exports[_0x87d5('0xfd')]=function(_0x809f1f,_0x216c5b){return db[_0x87d5('0x44')][_0x87d5('0x41')]({'where':{'id':_0x809f1f[_0x87d5('0x64')]['id']}})[_0x87d5('0x23')](handleEntityNotFound(_0x216c5b,null))[_0x87d5('0x23')](function(_0x3ab671){if(_0x3ab671){var _0x17a471=_0x3ab671['get']({'plain':!![]});return _0x3ab671[_0x87d5('0xfd')](_0x809f1f[_0x87d5('0x67')][_0x87d5('0x6a')],_[_0x87d5('0x6b')](_0x809f1f[_0x87d5('0x67')],[_0x87d5('0x6a'),'id'])||{})[_0x87d5('0x23')](function(){for(var _0x3d35f2=0x0;_0x3d35f2<_0x809f1f[_0x87d5('0x67')]['ids'][_0x87d5('0x53')];_0x3d35f2++){var _0x1224f2=[];db[_0x87d5('0xfc')]['findOne']({'where':{'id':_0x809f1f[_0x87d5('0x67')][_0x87d5('0x6a')][_0x3d35f2]}})['then'](function(_0x563d2a){_0x1224f2[_0x87d5('0xa8')](_0x563d2a[_0x87d5('0xe2')]()[_0x87d5('0x23')](function(_0x55e834){for(var _0x1f4dcf=0x0;_0x1f4dcf<_0x55e834[_0x87d5('0x53')];_0x1f4dcf++){_0x55e834[_0x1f4dcf][_0x87d5('0xfe')](_0x87d5('0x9b'),'Voice');}return _0x55e834;}));_0x1224f2[_0x87d5('0xa8')](_0x563d2a[_0x87d5('0xff')]()[_0x87d5('0x23')](function(_0x20804e){for(var _0x3eee67=0x0;_0x3eee67<_0x20804e[_0x87d5('0x53')];_0x3eee67++){_0x20804e[_0x3eee67][_0x87d5('0xfe')](_0x87d5('0x9b'),_0x87d5('0x100'));}return _0x20804e;}));_0x1224f2['push'](_0x563d2a[_0x87d5('0x101')]()[_0x87d5('0x23')](function(_0x40d974){for(var _0x1795f4=0x0;_0x1795f4<_0x40d974['length'];_0x1795f4++){_0x40d974[_0x1795f4][_0x87d5('0xfe')](_0x87d5('0x9b'),_0x87d5('0x102'));}return _0x40d974;}));_0x1224f2[_0x87d5('0xa8')](_0x563d2a['getSmsQueues']()[_0x87d5('0x23')](function(_0x18ec07){for(var _0xaaa587=0x0;_0xaaa587<_0x18ec07[_0x87d5('0x53')];_0xaaa587++){_0x18ec07[_0xaaa587]['setDataValue'](_0x87d5('0x9b'),_0x87d5('0x103'));}return _0x18ec07;}));_0x1224f2['push'](_0x563d2a['getWhatsappQueues']()[_0x87d5('0x23')](function(_0x3255aa){for(var _0x4e0a89=0x0;_0x4e0a89<_0x3255aa['length'];_0x4e0a89++){_0x3255aa[_0x4e0a89][_0x87d5('0xfe')]('channel',_0x87d5('0x104'));}return _0x3255aa;}));_0x1224f2[_0x87d5('0xa8')](_0x563d2a[_0x87d5('0x105')]()['then'](function(_0x54bda0){for(var _0x700e67=0x0;_0x700e67<_0x54bda0[_0x87d5('0x53')];_0x700e67++){_0x54bda0[_0x700e67][_0x87d5('0xfe')](_0x87d5('0x9b'),_0x87d5('0x106'));}return _0x54bda0;}));_0x1224f2[_0x87d5('0xa8')](_0x563d2a[_0x87d5('0x107')]()[_0x87d5('0x23')](function(_0x2ed0df){for(var _0x5b7ad1=0x0;_0x5b7ad1<_0x2ed0df['length'];_0x5b7ad1++){_0x2ed0df[_0x5b7ad1][_0x87d5('0xfe')]('channel',_0x87d5('0x108'));}return _0x2ed0df;}));return BPromise['all'](_0x1224f2);})['then'](function(_0x16516e){var _0x3d4d22=_[_0x87d5('0x109')](_0x16516e);_0x1224f2=[];return db[_0x87d5('0x5d')][_0x87d5('0x10a')](function(_0x23761b){for(var _0x2bdddd=0x0;_0x2bdddd<_0x3d4d22['length'];_0x2bdddd++){_0x1224f2[_0x87d5('0xa8')](_0x3d4d22[_0x2bdddd][_0x87d5('0x10b')](_0x17a471['id']),{'transaction':_0x23761b});}return BPromise[_0x87d5('0xe6')](_0x1224f2)[_0x87d5('0x23')](function(){if(_0x17a471['online']){return BPromise[_0x87d5('0xaa')](_[_0x87d5('0x3b')](_0x3d4d22,function(_0x1befb8){return _0x1befb8['getDataValue'](_0x87d5('0x9b'))===_0x87d5('0x10c');}),function(_0x1c7e8f){return db[_0x87d5('0xb2')][_0x87d5('0x10d')]({'membername':_0x17a471[_0x87d5('0x42')],'UserId':_0x17a471['id'],'queue_name':_0x1c7e8f[_0x87d5('0x42')],'VoiceQueueId':_0x1c7e8f['id'],'interface':_[_0x87d5('0x7c')](_0x17a471[_0x87d5('0x9f')])?util[_0x87d5('0x74')](_0x87d5('0xa9'),_0x17a471[_0x87d5('0x42')]):_0x17a471[_0x87d5('0x9f')],'paused':_0x17a471[_0x87d5('0x9e')]||![],'penalty':_0x17a471[_0x87d5('0xa4')]},{'transaction':_0x23761b});});}else{return;}})[_0x87d5('0x23')](function(){for(var _0x27f7ea=0x0;_0x27f7ea<_0x3d4d22[_0x87d5('0x53')];_0x27f7ea++){var _0x281735=_0x3d4d22[_0x27f7ea]['getDataValue'](_0x87d5('0x9b'));var _0x5ca615=_0x281735+_0x87d5('0xaf');socket[_0x87d5('0xb0')](_0x87d5('0x6f')+_0x281735+_0x87d5('0xa5'),{'UserId':_0x17a471['id'],['queueField']:_0x3d4d22[_0x27f7ea]['id']});}});});});}});}})['then'](respondWithStatusCode(_0x216c5b,null))[_0x87d5('0x2d')](handleError(_0x216c5b,null));};exports['removeTeams']=function(_0x45778c,_0x479753){return db[_0x87d5('0x44')][_0x87d5('0xbc')]({'where':{'id':_0x45778c[_0x87d5('0x64')]['id']}})[_0x87d5('0x23')](handleEntityNotFound(_0x479753,null))[_0x87d5('0x23')](function(_0x414506){if(_0x414506){var _0x2bae85=_0x414506[_0x87d5('0x8e')]({'plain':!![]});var _0x1284f9=_0x45778c[_0x87d5('0x4d')][_0x87d5('0x6a')];return _0x414506['removeTeams'](_0x1284f9)[_0x87d5('0x23')](function(){for(var _0x58c23e=0x0;_0x58c23e<_0x1284f9['length'];_0x58c23e++){var _0x532f52=[];db[_0x87d5('0xfc')]['findOne']({'where':{'id':_0x1284f9[_0x58c23e]}})['then'](function(_0x41d9d2){_0x532f52['push'](_0x41d9d2[_0x87d5('0xe2')]()[_0x87d5('0x23')](function(_0xee3f46){for(var _0x2c1a67=0x0;_0x2c1a67<_0xee3f46['length'];_0x2c1a67++){_0xee3f46[_0x2c1a67][_0x87d5('0xfe')]('channel','Voice');}return _0xee3f46;}));_0x532f52[_0x87d5('0xa8')](_0x41d9d2[_0x87d5('0xff')]()[_0x87d5('0x23')](function(_0x73e9af){for(var _0x5ce6b4=0x0;_0x5ce6b4<_0x73e9af[_0x87d5('0x53')];_0x5ce6b4++){_0x73e9af[_0x5ce6b4][_0x87d5('0xfe')](_0x87d5('0x9b'),_0x87d5('0x100'));}return _0x73e9af;}));_0x532f52['push'](_0x41d9d2['getMailQueues']()[_0x87d5('0x23')](function(_0x5cf359){for(var _0x33735d=0x0;_0x33735d<_0x5cf359[_0x87d5('0x53')];_0x33735d++){_0x5cf359[_0x33735d][_0x87d5('0xfe')](_0x87d5('0x9b'),_0x87d5('0x102'));}return _0x5cf359;}));_0x532f52[_0x87d5('0xa8')](_0x41d9d2[_0x87d5('0x10e')]()[_0x87d5('0x23')](function(_0x1c58c2){for(var _0x45d5d0=0x0;_0x45d5d0<_0x1c58c2[_0x87d5('0x53')];_0x45d5d0++){_0x1c58c2[_0x45d5d0]['setDataValue'](_0x87d5('0x9b'),_0x87d5('0x103'));}return _0x1c58c2;}));_0x532f52['push'](_0x41d9d2['getWhatsappQueues']()[_0x87d5('0x23')](function(_0x1f344c){for(var _0x56a6aa=0x0;_0x56a6aa<_0x1f344c[_0x87d5('0x53')];_0x56a6aa++){_0x1f344c[_0x56a6aa][_0x87d5('0xfe')]('channel',_0x87d5('0x104'));}return _0x1f344c;}));_0x532f52[_0x87d5('0xa8')](_0x41d9d2[_0x87d5('0x105')]()['then'](function(_0x5244ea){for(var _0x236950=0x0;_0x236950<_0x5244ea['length'];_0x236950++){_0x5244ea[_0x236950][_0x87d5('0xfe')](_0x87d5('0x9b'),_0x87d5('0x106'));}return _0x5244ea;}));_0x532f52[_0x87d5('0xa8')](_0x41d9d2['getOpenchannelQueues']()[_0x87d5('0x23')](function(_0x5a6936){for(var _0x210796=0x0;_0x210796<_0x5a6936[_0x87d5('0x53')];_0x210796++){_0x5a6936[_0x210796][_0x87d5('0xfe')](_0x87d5('0x9b'),_0x87d5('0x108'));}return _0x5a6936;}));return BPromise['all'](_0x532f52);})[_0x87d5('0x23')](function(_0x2bb150){var _0x1b072c=_['flatten'](_0x2bb150);_0x532f52=[];return db[_0x87d5('0x5d')][_0x87d5('0x10a')](function(_0x203e5c){for(var _0x19d92e=0x0;_0x19d92e<_0x1b072c[_0x87d5('0x53')];_0x19d92e++){_0x532f52[_0x87d5('0xa8')](_0x1b072c[_0x19d92e][_0x87d5('0x10f')](_0x2bae85['id']),{'transaction':_0x203e5c});}return BPromise['all'](_0x532f52)[_0x87d5('0x23')](function(){if(_0x2bae85[_0x87d5('0x9c')]){return BPromise[_0x87d5('0xaa')](_[_0x87d5('0x3b')](_0x1b072c,function(_0x7aa42c){return _0x7aa42c[_0x87d5('0x110')]('channel')==='Voice';}),function(_0xe19f11){return db['UserVoiceQueueRt'][_0x87d5('0x38')]({'where':{'VoiceQueueId':_0xe19f11['id'],'UserId':_0x2bae85['id']},'transaction':_0x203e5c});});}else{return;}})[_0x87d5('0x23')](function(){for(var _0x1f3be4=0x0;_0x1f3be4<_0x1b072c[_0x87d5('0x53')];_0x1f3be4++){var _0x1c6807=_0x1b072c[_0x1f3be4][_0x87d5('0x110')](_0x87d5('0x9b'));var _0x87de79=_0x1c6807+_0x87d5('0xaf');socket['emit']('user'+_0x1c6807+'Queue:remove',{'UserId':_0x2bae85['id'],['queueField']:_0x1b072c[_0x1f3be4]['id']});}});});});}});}})[_0x87d5('0x23')](respondWithStatusCode(_0x479753,null))[_0x87d5('0x2d')](handleError(_0x479753,null));};exports['getLists']=function(_0x3d1278,_0x59cdf1,_0x2bfbeb){var _0x4d2850={};var _0x51c854={};var _0x194921;var _0x46bf42;return db[_0x87d5('0x44')]['findOne']({'where':{'id':_0x3d1278['params']['id']}})[_0x87d5('0x23')](handleEntityNotFound(_0x59cdf1,null))[_0x87d5('0x23')](function(_0x177497){if(_0x177497){_0x194921=_0x177497;_0x51c854['model']=_[_0x87d5('0x4e')](db['CmList']['rawAttributes']);_0x51c854[_0x87d5('0x4d')]=_[_0x87d5('0x4e')](_0x3d1278[_0x87d5('0x4d')]);_0x51c854['filters']=_[_0x87d5('0x50')](_0x51c854['model'],_0x51c854[_0x87d5('0x4d')]);_0x4d2850['attributes']=_[_0x87d5('0x50')](_0x51c854[_0x87d5('0x49')],qs[_0x87d5('0x52')](_0x3d1278[_0x87d5('0x4d')][_0x87d5('0x52')]));_0x4d2850[_0x87d5('0x51')]=_0x4d2850['attributes'][_0x87d5('0x53')]?_0x4d2850[_0x87d5('0x51')]:_0x51c854[_0x87d5('0x49')];_0x4d2850[_0x87d5('0x57')]=qs['sort'](_0x3d1278[_0x87d5('0x4d')][_0x87d5('0x58')]);_0x4d2850[_0x87d5('0x59')]=qs['filters'](_[_0x87d5('0x5a')](_0x3d1278[_0x87d5('0x4d')],_0x51c854[_0x87d5('0x4f')]));if(_0x3d1278[_0x87d5('0x4d')][_0x87d5('0x3b')]){_0x4d2850[_0x87d5('0x59')]=_[_0x87d5('0x5b')](_0x4d2850[_0x87d5('0x59')],{'$or':_[_0x87d5('0x3d')](_0x4d2850[_0x87d5('0x51')],function(_0x14a051){var _0x496c52={};_0x496c52[_0x14a051]={'$like':'%'+_0x3d1278[_0x87d5('0x4d')][_0x87d5('0x3b')]+'%'};return _0x496c52;})});}_0x4d2850=_[_0x87d5('0x5b')]({},_0x4d2850,_0x3d1278['options']);return _0x194921['getLists'](_0x4d2850);}})[_0x87d5('0x23')](function(_0x2f21d5){if(_0x2f21d5){_0x46bf42=_0x2f21d5[_0x87d5('0x53')];if(!_0x3d1278['query'][_0x87d5('0x54')]('nolimit')){_0x4d2850[_0x87d5('0x56')]=qs['limit'](_0x3d1278[_0x87d5('0x4d')][_0x87d5('0x56')]);_0x4d2850[_0x87d5('0x32')]=qs[_0x87d5('0x32')](_0x3d1278[_0x87d5('0x4d')][_0x87d5('0x32')]);}return _0x194921['getLists'](_0x4d2850);}})[_0x87d5('0x23')](function(_0x56dc8c){if(_0x56dc8c){return _0x56dc8c?{'count':_0x46bf42,'rows':_0x56dc8c}:null;}})[_0x87d5('0x23')](respondWithResult(_0x59cdf1,null))[_0x87d5('0x2d')](handleError(_0x59cdf1,null));};exports['getAgents']=function(_0x499071,_0x490d33,_0x45f53d){var _0x2ba1ff={};var _0x1b0c03={};var _0xc9297d;var _0x2d1416;return db[_0x87d5('0x44')][_0x87d5('0xbc')]({'where':{'id':_0x499071[_0x87d5('0x64')]['id']}})[_0x87d5('0x23')](handleEntityNotFound(_0x490d33,null))[_0x87d5('0x23')](function(_0x29492f){if(_0x29492f){_0xc9297d=_0x29492f;_0x1b0c03[_0x87d5('0x49')]=_['keys'](db[_0x87d5('0x44')][_0x87d5('0x45')]);_0x1b0c03[_0x87d5('0x4d')]=_[_0x87d5('0x4e')](_0x499071[_0x87d5('0x4d')]);_0x1b0c03[_0x87d5('0x4f')]=_[_0x87d5('0x50')](_0x1b0c03[_0x87d5('0x49')],_0x1b0c03['query']);_0x2ba1ff[_0x87d5('0x51')]=_[_0x87d5('0x50')](_0x1b0c03['model'],qs[_0x87d5('0x52')](_0x499071['query'][_0x87d5('0x52')]));_0x2ba1ff[_0x87d5('0x51')]=_0x2ba1ff[_0x87d5('0x51')][_0x87d5('0x53')]?_0x2ba1ff[_0x87d5('0x51')]:_0x1b0c03['model'];_0x2ba1ff[_0x87d5('0x57')]=qs[_0x87d5('0x58')](_0x499071[_0x87d5('0x4d')][_0x87d5('0x58')]);_0x2ba1ff[_0x87d5('0x59')]=qs[_0x87d5('0x4f')](_['pick'](_0x499071[_0x87d5('0x4d')],_0x1b0c03[_0x87d5('0x4f')]));if(_0x499071[_0x87d5('0x4d')][_0x87d5('0x3b')]){_0x2ba1ff['where']=_[_0x87d5('0x5b')](_0x2ba1ff[_0x87d5('0x59')],{'$or':_[_0x87d5('0x3d')](_0x2ba1ff[_0x87d5('0x51')],function(_0x140754){var _0x475448={};_0x475448[_0x140754]={'$like':'%'+_0x499071['query']['filter']+'%'};return _0x475448;})});}_0x2ba1ff['model']=db[_0x87d5('0x44')];_0x2ba1ff['as']=_0x87d5('0x90');_0x2ba1ff=_[_0x87d5('0x5b')]({},_0x2ba1ff,_0x499071[_0x87d5('0x5e')]);return _0xc9297d['getVoiceQueues']({'include':[_0x2ba1ff]});}})[_0x87d5('0x23')](function(_0x6fb5d6){if(_0x6fb5d6){var _0x181bce={},_0x3a0970=[],_0x188b2c=0x0;for(var _0x1c7e54=0x0;_0x1c7e54<_0x6fb5d6[_0x87d5('0x53')];_0x1c7e54+=0x1){for(var _0xb1611=0x0,_0xa8e66d;_0xb1611<_0x6fb5d6[_0x1c7e54][_0x87d5('0x90')][_0x87d5('0x53')];_0xb1611+=0x1){_0xa8e66d=_0x6fb5d6[_0x1c7e54]['Agents'][_0xb1611][_0x87d5('0x8e')]({'plain':!![]});_0x181bce[_0xa8e66d['id']]=_0xa8e66d;}}_0x181bce=_[_0x87d5('0x111')](_0x181bce);for(var _0x5eb6fb=qs[_0x87d5('0x32')](_0x499071['query'][_0x87d5('0x32')]);_0x5eb6fb<_0x181bce[_0x87d5('0x53')]&&_0x3a0970[_0x87d5('0x53')]=_0x2c3569){_0x8a15e6=_0x2c3569;_0x3cd15c=0xc8;}else{_0x3cd15c=0xce;}_0xc6924[_0x7abe('0x26')](_0x3cd15c);return _0xc6924['set'](_0x7abe('0x29'),_0x268d74+'-'+_0x8a15e6+'/'+_0x2c3569)[_0x7abe('0x2a')](_0x1b8bef);}return null;};}function patchUpdates(_0x5f0afb){return function(_0x7e866f){try{jsonpatch[_0x7abe('0x2b')](_0x7e866f,_0x5f0afb,!![]);}catch(_0x26d95e){return BPromise[_0x7abe('0x2c')](_0x26d95e);}return _0x7e866f[_0x7abe('0x2d')]();};}function saveUpdates(_0x58fecd,_0x5384b7){return function(_0x436ed0){if(_0x436ed0){return _0x436ed0[_0x7abe('0x2e')](_0x58fecd)['then'](function(_0x4dd46f){return _0x4dd46f;});}return null;};}function removeEntity(_0x406d94,_0x1a8048){return function(_0x26aac4){if(_0x26aac4){return _0x26aac4[_0x7abe('0x2f')]()[_0x7abe('0x1c')](function(){var _0x2e1332=_0x26aac4['get']({'plain':!![]});var _0x5176e2=[{'name':_0x7abe('0x30'),'value':_0x7abe('0x31'),'ignore':!![]},{'name':_0x7abe('0x32'),'value':'agent','ignore':![]},{'name':_0x7abe('0x33'),'value':'telephone','ignore':![]}];var _0x207087=_(_0x5176e2)[_0x7abe('0x34')](_0x7abe('0x35'))['map']('value')[_0x7abe('0x36')]();if(_[_0x7abe('0x37')](_0x207087,_0x2e1332[_0x7abe('0x38')])){return;}var _0x37a845=_['find'](_0x5176e2,[_0x7abe('0x36'),_0x2e1332[_0x7abe('0x38')]])['name'];return db['UserProfileResource']['destroy']({'where':{'type':_0x37a845,'resourceId':_0x2e1332['id']}})[_0x7abe('0x1c')](function(){return _0x26aac4;});})[_0x7abe('0x1c')](function(){_0x406d94['status'](0xcc)[_0x7abe('0x25')]();});}};}function handleEntityNotFound(_0x21a5f2,_0xe0859){return function(_0x58e5fc){if(!_0x58e5fc){_0x21a5f2[_0x7abe('0x24')](0x194);}return _0x58e5fc;};}function handleError(_0x4b7a87,_0x1c003c){_0x1c003c=_0x1c003c||0x1f4;return function(_0x520622){logger[_0x7abe('0x20')](_0x520622[_0x7abe('0x39')]);if(_0x520622['name']){delete _0x520622['name'];}_0x4b7a87[_0x7abe('0x26')](_0x1c003c)['send'](_0x520622);};}exports[_0x7abe('0x3a')]=function(_0x2306ab,_0x8aa121){var _0x4ed41c={},_0x39ca6c={},_0x306c1f={'count':0x0,'rows':[]};var _0x5b5fb3=_[_0x7abe('0x3b')](db['User'][_0x7abe('0x3c')],function(_0x4ce3c6){return{'name':_0x4ce3c6[_0x7abe('0x3d')],'type':_0x4ce3c6[_0x7abe('0x3e')][_0x7abe('0x3f')]};});_0x39ca6c[_0x7abe('0x40')]=_[_0x7abe('0x41')](_['map'](_0x5b5fb3,_0x7abe('0x42')),['password',_0x7abe('0x43')]);_0x39ca6c[_0x7abe('0x44')]=_[_0x7abe('0x45')](_0x2306ab[_0x7abe('0x44')]);_0x39ca6c[_0x7abe('0x46')]=_[_0x7abe('0x47')](_0x39ca6c['model'],_0x39ca6c[_0x7abe('0x44')]);_0x4ed41c[_0x7abe('0x48')]=_['intersection'](_0x39ca6c[_0x7abe('0x40')],qs[_0x7abe('0x49')](_0x2306ab[_0x7abe('0x44')][_0x7abe('0x49')]));_0x4ed41c[_0x7abe('0x48')]=_0x4ed41c[_0x7abe('0x48')][_0x7abe('0x4a')]?_0x4ed41c['attributes']:_0x39ca6c['model'];if(!_0x2306ab[_0x7abe('0x44')][_0x7abe('0x4b')](_0x7abe('0x4c'))){_0x4ed41c[_0x7abe('0x4d')]=qs[_0x7abe('0x4d')](_0x2306ab[_0x7abe('0x44')][_0x7abe('0x4d')]);_0x4ed41c[_0x7abe('0x28')]=qs[_0x7abe('0x28')](_0x2306ab[_0x7abe('0x44')][_0x7abe('0x28')]);}_0x4ed41c[_0x7abe('0x4e')]=qs[_0x7abe('0x4f')](_0x2306ab[_0x7abe('0x44')][_0x7abe('0x4f')]);_0x4ed41c[_0x7abe('0x50')]=qs[_0x7abe('0x46')](_[_0x7abe('0x51')](_0x2306ab[_0x7abe('0x44')],_0x39ca6c[_0x7abe('0x46')]),_0x5b5fb3);if(_0x2306ab['query'][_0x7abe('0x34')]){_0x4ed41c[_0x7abe('0x50')]=_[_0x7abe('0x52')](_0x4ed41c[_0x7abe('0x50')],{'$or':_['map'](_0x5b5fb3,function(_0x35eefe){if(_0x35eefe[_0x7abe('0x3e')]!=='VIRTUAL'){return db[_0x7abe('0x53')][_0x7abe('0x50')](db['sequelize']['fn'](_0x7abe('0x54'),db[_0x7abe('0x53')][_0x7abe('0x55')](_0x35eefe[_0x7abe('0x42')])),{'$like':db[_0x7abe('0x53')]['fn'](_0x7abe('0x54'),'%'+_0x2306ab['query']['filter']+'%')});}})});}_0x4ed41c=_[_0x7abe('0x52')]({},_0x4ed41c,_0x2306ab[_0x7abe('0x56')]);var _0x550e04={'where':_0x4ed41c[_0x7abe('0x50')]};return db[_0x7abe('0x57')][_0x7abe('0x27')](_0x550e04)['then'](function(_0x8cbd2){_0x306c1f['count']=_0x8cbd2;if(_0x2306ab['query'][_0x7abe('0x58')]){_0x4ed41c[_0x7abe('0x59')]=[{'all':!![]}];}return db[_0x7abe('0x57')][_0x7abe('0x5a')](_0x4ed41c);})[_0x7abe('0x1c')](function(_0x24472b){_0x306c1f[_0x7abe('0x5b')]=_0x24472b;return _0x306c1f;})[_0x7abe('0x1c')](respondWithFilteredResult(_0x8aa121,_0x4ed41c))[_0x7abe('0x23')](handleError(_0x8aa121,null));};exports[_0x7abe('0x5c')]=function(_0x5cfbdc,_0x114f2a){var _0x534552={'raw':![],'where':{'id':_0x5cfbdc[_0x7abe('0x5d')]['id']}},_0x2dad5a={};_0x2dad5a['model']=_['differenceBy'](_[_0x7abe('0x45')](db['User'][_0x7abe('0x3c')]),[_0x7abe('0x5e'),_0x7abe('0x43')]);_0x2dad5a['query']=_[_0x7abe('0x45')](_0x5cfbdc['query']);_0x2dad5a[_0x7abe('0x46')]=_['intersection'](_0x2dad5a[_0x7abe('0x40')],_0x2dad5a[_0x7abe('0x44')]);_0x534552[_0x7abe('0x48')]=_[_0x7abe('0x47')](_0x2dad5a[_0x7abe('0x40')],qs['fields'](_0x5cfbdc[_0x7abe('0x44')][_0x7abe('0x49')]));_0x534552['attributes']=_0x534552['attributes'][_0x7abe('0x4a')]?_0x534552['attributes']:_0x2dad5a['model'];if(_0x5cfbdc[_0x7abe('0x44')]['includeAll']){_0x534552['include']=[{'all':!![]}];}_0x534552=_[_0x7abe('0x52')]({},_0x534552,_0x5cfbdc[_0x7abe('0x56')]);return db[_0x7abe('0x57')][_0x7abe('0x5f')](_0x534552)['then'](handleEntityNotFound(_0x114f2a,null))[_0x7abe('0x1c')](respondWithResult(_0x114f2a,null))[_0x7abe('0x23')](handleError(_0x114f2a,null));};exports[_0x7abe('0x60')]=function(_0x3661f5,_0x33592f){return db['User']['bulkCreate'](_0x3661f5[_0x7abe('0x61')],{'raw':![],'individualHooks':!![]})[_0x7abe('0x1c')](respondWithResult(_0x33592f,0xc9))[_0x7abe('0x23')](handleError(_0x33592f,null));};exports['update']=function(_0x4d99af,_0x195dd2){if(_0x4d99af[_0x7abe('0x61')]['id']){delete _0x4d99af[_0x7abe('0x61')]['id'];}delete _0x4d99af[_0x7abe('0x61')][_0x7abe('0x38')];return db[_0x7abe('0x57')][_0x7abe('0x5f')]({'where':{'id':_0x4d99af[_0x7abe('0x5d')]['id']}})[_0x7abe('0x1c')](handleEntityNotFound(_0x195dd2,null))[_0x7abe('0x1c')](saveUpdates(_0x4d99af[_0x7abe('0x61')],null))['then'](respondWithResult(_0x195dd2,null))[_0x7abe('0x23')](handleError(_0x195dd2,null));};exports['describe']=function(_0xbe3fcd,_0x22b5e8){return db['User']['describe']()[_0x7abe('0x1c')](respondWithResult(_0x22b5e8,null))['catch'](handleError(_0x22b5e8,null));};exports[_0x7abe('0x62')]=function(_0x1c390a,_0x425ffc,_0x4451be){return db[_0x7abe('0x57')][_0x7abe('0x5f')]({'where':{'id':_0x1c390a[_0x7abe('0x5d')]['id']}})[_0x7abe('0x1c')](handleEntityNotFound(_0x425ffc,null))[_0x7abe('0x1c')](function(_0x1f56fb){if(_0x1f56fb){return _0x1f56fb[_0x7abe('0x62')](_0x1c390a[_0x7abe('0x61')]['ids'],_[_0x7abe('0x63')](_0x1c390a[_0x7abe('0x61')],['ids','id'])||{});}})['then'](respondWithResult(_0x425ffc,null))[_0x7abe('0x23')](handleError(_0x425ffc,null));};var getLicense=function(_0x3c0776){return new BPromise(function(_0x26bccf,_0x11e2a5){var _0x5af800=0x0;_0x3c0776[_0x7abe('0x61')]['role']==='agent'&&_0x26bccf(_0x7abe('0x64'));return db['User']['count']({'where':{'$or':[{'role':_0x3c0776['body'][_0x7abe('0x38')]===_0x7abe('0x65')?_0x7abe('0x65'):[_0x7abe('0x66'),'user']}]}})[_0x7abe('0x1c')](function(_0x5ac0c4){_0x5af800=_0x5ac0c4;return require(_0x7abe('0x67'))['getLicense']();})[_0x7abe('0x1c')](function(_0xb1b42f){var _0x2324e8=_0x3c0776[_0x7abe('0x61')][_0x7abe('0x38')]===_0x7abe('0x65')?_0x7abe('0x68'):'users';if(!_[_0x7abe('0x69')](_0xb1b42f[_0x2324e8])&&_0x5af800>=_0xb1b42f[_0x2324e8]){return _0x11e2a5({'message':_0x7abe('0x6a')});}return _0x26bccf(util[_0x7abe('0x6b')](_0x7abe('0x6c'),_0x2324e8,_0x5af800));})['catch'](function(_0x3b3937){return _0x11e2a5(_0x3b3937);});});};exports[_0x7abe('0x6d')]=function(_0x44800b,_0x5ec9bc){return getLicense(_0x44800b)[_0x7abe('0x1c')](function(_0x52335d){if(!_0x44800b[_0x7abe('0x61')][_0x7abe('0x6e')]){var _0x516ad9;return db['Setting'][_0x7abe('0x6f')](0x1)['then'](function(_0x5562c6){return checkPasswordPattern(_0x5562c6,_0x44800b[_0x7abe('0x61')][_0x7abe('0x5e')],_0x5562c6['securePassword']);})[_0x7abe('0x1c')](function(_0x223b0e){_0x516ad9=_0x223b0e[_0x7abe('0x70')];return db[_0x7abe('0x57')][_0x7abe('0x71')]('internal');})['then'](function(_0x579e5d){if(_['isNil'](_0x579e5d)){if(_0x516ad9){_0x44800b[_0x7abe('0x61')][_0x7abe('0x6e')]=_0x516ad9;}else{_0x44800b[_0x7abe('0x61')][_0x7abe('0x6e')]=0x1;}}else{if(_[_0x7abe('0x69')](_0x516ad9)||_0x516ad9==_0x579e5d){_0x44800b[_0x7abe('0x61')][_0x7abe('0x6e')]=_0x579e5d+0x1;}else if(_0x516ad9>_0x579e5d){_0x44800b[_0x7abe('0x61')][_0x7abe('0x6e')]=_0x516ad9;}else{return db[_0x7abe('0x53')][_0x7abe('0x44')](_0x7abe('0x72'),{'type':db[_0x7abe('0x53')][_0x7abe('0x73')][_0x7abe('0x74')]})[_0x7abe('0x1c')](function(_0x5be5d0){if(_0x5be5d0&&_0x5be5d0[_0x7abe('0x4a')]){for(var _0x11c35b=0x0,_0x290ca2=_0x5be5d0[_0x7abe('0x4a')];_0x11c35b<_0x290ca2&&_[_0x7abe('0x69')](_0x44800b[_0x7abe('0x61')][_0x7abe('0x6e')]);_0x11c35b++){if(_0x516ad9<=_0x5be5d0[_0x11c35b][_0x7abe('0x75')]){_0x44800b['body']['internal']=_0x5be5d0[_0x11c35b][_0x7abe('0x75')];}else if(_0x516ad9>_0x5be5d0[_0x11c35b][_0x7abe('0x75')]&&_0x516ad9<=_0x5be5d0[_0x11c35b]['to']){_0x44800b[_0x7abe('0x61')][_0x7abe('0x6e')]=_0x516ad9;}}}if(_[_0x7abe('0x69')](_0x44800b[_0x7abe('0x61')][_0x7abe('0x6e')])){_0x44800b[_0x7abe('0x61')][_0x7abe('0x6e')]=_0x579e5d+0x1;}});}}});}})[_0x7abe('0x1c')](function(){if(_0x44800b[_0x7abe('0x61')][_0x7abe('0x76')]){_0x44800b[_0x7abe('0x61')]['mailbox']=_0x44800b[_0x7abe('0x61')][_0x7abe('0x6e')];_0x44800b[_0x7abe('0x61')][_0x7abe('0x77')]={'mailbox':_0x44800b[_0x7abe('0x61')][_0x7abe('0x6e')],'password':_0x44800b['body']['password'],'fullname':_0x44800b[_0x7abe('0x61')][_0x7abe('0x78')],'email':_0x44800b['body'][_0x7abe('0x79')]};}if(_0x44800b['body']&&_0x44800b[_0x7abe('0x61')]['role']===_0x7abe('0x7a')){if(!_0x44800b[_0x7abe('0x61')][_0x7abe('0x7b')]){_0x44800b[_0x7abe('0x61')]['permissions']=['101','102',_0x7abe('0x7c'),'113',_0x7abe('0x7d'),_0x7abe('0x7e'),_0x7abe('0x7f'),_0x7abe('0x80'),_0x7abe('0x81'),_0x7abe('0x82'),'109',_0x7abe('0x83'),_0x7abe('0x84'),_0x7abe('0x85')];}}return db[_0x7abe('0x57')][_0x7abe('0x6d')](_0x44800b[_0x7abe('0x61')],{'include':[{'model':db['VoiceMail'],'as':_0x7abe('0x77')}]});})['then'](function(_0x33921a){if(_0x44800b['body']['role']===_0x7abe('0x31'))return _0x33921a;var _0x1e36e5=_0x44800b[_0x7abe('0x31')][_0x7abe('0x86')]({'plain':!![]});if(!_0x1e36e5)throw new Error('Unable\x20to\x20retrieve\x20the\x20current\x20user');if(_0x1e36e5['role']==='user'){var _0x43b08b=_0x33921a['get']({'plain':!![]});var _0x132262=[{'name':'Agents','value':_0x7abe('0x7a')},{'name':_0x7abe('0x33'),'value':_0x7abe('0x65')}];var _0x19ab56=_[_0x7abe('0x5f')](_0x132262,['value',_0x43b08b[_0x7abe('0x38')]])[_0x7abe('0x42')];return db['UserProfileSection'][_0x7abe('0x5f')]({'where':{'name':_0x19ab56,'userProfileId':_0x1e36e5[_0x7abe('0x87')]},'raw':!![]})[_0x7abe('0x1c')](function(_0x5ba8e4){if(_0x5ba8e4&&_0x5ba8e4[_0x7abe('0x88')]===0x0){return db[_0x7abe('0x89')][_0x7abe('0x6d')]({'name':_0x43b08b[_0x7abe('0x42')],'resourceId':_0x43b08b['id'],'type':_0x5ba8e4[_0x7abe('0x42')],'sectionId':_0x5ba8e4['id']},{})[_0x7abe('0x1c')](function(){return _0x33921a;});}else{return _0x33921a;}})[_0x7abe('0x23')](function(_0x4add52){logger[_0x7abe('0x20')](_0x7abe('0x8a'),_0x4add52);throw _0x4add52;});}return _0x33921a;})[_0x7abe('0x1c')](respondWithResult(_0x5ec9bc,0xc9))[_0x7abe('0x23')](handleError(_0x5ec9bc,null));};exports[_0x7abe('0x8b')]=function(_0x570f23,_0x50c962,_0x31f7b2){var _0x28b897=![];if(_0x570f23[_0x7abe('0x61')]['id']){delete _0x570f23['body']['id'];}return db['Setting']['findOne']({'attributes':['id',_0x7abe('0x8c')]})[_0x7abe('0x1c')](function(_0x5d9640){_0x28b897=_0x5d9640[_0x7abe('0x8c')];return db[_0x7abe('0x57')][_0x7abe('0x5f')]({'where':{'id':_0x570f23['params']['id']}});})[_0x7abe('0x1c')](function(_0x513613){if(_0x513613){if(_0x513613['id']==_0x570f23[_0x7abe('0x31')]['id']){if(!_0x570f23[_0x7abe('0x61')]['oldPassword']||!_0x570f23['body'][_0x7abe('0x8d')]){throw new db[(_0x7abe('0x1b'))][(_0x7abe('0x8e'))]('Invalid\x20body\x20format.\x20Use\x20oldPassord\x20and\x20newPassword');}if(!_0x513613[_0x7abe('0x8f')](_0x570f23[_0x7abe('0x61')][_0x7abe('0x90')])){throw new db['Sequelize'][(_0x7abe('0x8e'))]('Wrong\x20credentials');}if(_0x570f23[_0x7abe('0x61')][_0x7abe('0x90')]==_0x570f23[_0x7abe('0x61')][_0x7abe('0x8d')]){throw new db['Sequelize']['ValidationError'](_0x7abe('0x91'));}return _0x513613;}else if(_0x570f23['user'][_0x7abe('0x38')]==_0x7abe('0x66')){if(!_0x570f23[_0x7abe('0x61')][_0x7abe('0x8d')]){throw new db[(_0x7abe('0x1b'))]['ValidationError'](_0x7abe('0x92'));}return _0x513613;}else if(_0x570f23['user']['role']==_0x7abe('0x31')){if(!_0x570f23['body'][_0x7abe('0x8d')]){throw new db[(_0x7abe('0x1b'))][(_0x7abe('0x8e'))](_0x7abe('0x92'));}if(_0x513613[_0x7abe('0x38')]!='agent'){throw new db[(_0x7abe('0x1b'))][(_0x7abe('0x8e'))](_0x7abe('0x93'));}return _0x513613;}else{throw new db[(_0x7abe('0x1b'))][(_0x7abe('0x8e'))]('Unauthorized');}}return null;})[_0x7abe('0x1c')](handleEntityNotFound(_0x50c962,null))['then'](function(_0x123b66){return checkPasswordPattern(_0x123b66,_0x570f23[_0x7abe('0x61')][_0x7abe('0x8d')],_0x28b897);})[_0x7abe('0x1c')](saveUpdates({'password':_0x570f23[_0x7abe('0x61')][_0x7abe('0x8d')],'passwordResetAt':_0x570f23[_0x7abe('0x31')]['id']==_0x570f23[_0x7abe('0x5d')]['id']?moment():null},null))[_0x7abe('0x1c')](respondWithResult(_0x50c962,null))['catch'](handleError(_0x50c962,null));};exports['addQueues']=function(_0x2d6b11,_0x1e2f17,_0x3f1220){var _0x509686=_0x2d6b11[_0x7abe('0x61')]['channel'];return db[_0x7abe('0x57')][_0x7abe('0x5f')]({'where':{'id':_0x2d6b11[_0x7abe('0x5d')]['id']},'attributes':['id','name','role',_0x7abe('0x94'),'loginInPause',_0x7abe('0x95'),_0x7abe('0x96')]})[_0x7abe('0x1c')](handleEntityNotFound(_0x1e2f17,null))[_0x7abe('0x1c')](function(_0x3096af){if(_0x3096af){if(!utils['isValidChannel'](_0x509686)){throw new db[(_0x7abe('0x1b'))][(_0x7abe('0x8e'))]('Unknown\x20channel');}return _0x3096af[_0x7abe('0x97')+_[_0x7abe('0x98')](_0x509686[_0x7abe('0x99')]())+_0x7abe('0x9a')](_0x2d6b11[_0x7abe('0x61')][_0x7abe('0x9b')],{'penalty':_0x2d6b11['body'][_0x7abe('0x9c')]||0x0})['spread'](function(_0x57615a){for(var _0x181415=0x0;_0x181415<_0x2d6b11[_0x7abe('0x61')][_0x7abe('0x9b')][_0x7abe('0x4a')];_0x181415+=0x1){var _0x1b9bed={'UserId':_0x2d6b11[_0x7abe('0x5d')]['id']};_0x1b9bed[_['capitalize'](_0x509686[_0x7abe('0x99')]())+_0x7abe('0x9d')]=_0x2d6b11[_0x7abe('0x61')]['ids'][_0x181415];socket[_0x7abe('0x9e')](_0x7abe('0x31')+_[_0x7abe('0x98')](_0x509686[_0x7abe('0x99')]())+'Queue:save',_0x1b9bed);}return _0x57615a;})[_0x7abe('0x1c')](function(){if(_0x509686===_0x7abe('0x9f')){return db['VoiceQueue'][_0x7abe('0x5a')]({'where':{'id':_0x2d6b11['body'][_0x7abe('0x9b')]||[]},'raw':!![],'attributes':['id',_0x7abe('0x42')]});}})[_0x7abe('0x1c')](function(_0x4009bd){var _0x24af31=_0x3096af[_0x7abe('0x86')]({'plain':!![]});var _0x129614=[];if(_0x509686===_0x7abe('0x9f')&&_0x24af31[_0x7abe('0x38')]===_0x7abe('0x7a')&&_0x24af31[_0x7abe('0x94')]){for(var _0x291392=0x0;_0x291392<_0x4009bd[_0x7abe('0x4a')];_0x291392+=0x1){_0x129614['push']({'membername':_0x24af31[_0x7abe('0x42')],'UserId':_0x24af31['id'],'queue_name':_0x4009bd[_0x291392][_0x7abe('0x42')],'VoiceQueueId':_0x4009bd[_0x291392]['id'],'interface':_[_0x7abe('0x69')](_0x24af31['interface'])?util[_0x7abe('0x6b')]('SIP/%s',_0x24af31[_0x7abe('0x42')]):_0x24af31[_0x7abe('0x96')],'paused':_0x24af31[_0x7abe('0x95')]||![],'penalty':_0x2d6b11['body']['penalty']||0x0});}return BPromise['each'](_0x129614,function(_0x313692){return db[_0x7abe('0xa0')][_0x7abe('0xa1')](_0x313692);});}return _0x3096af;});}})[_0x7abe('0x1c')](respondWithStatusCode(_0x1e2f17,null))[_0x7abe('0x23')](handleError(_0x1e2f17,null));};exports[_0x7abe('0xa2')]=function(_0x5cc50e,_0x34e946,_0x3f0bb8){var _0xfa2011;return db['User'][_0x7abe('0x5f')]({'where':{'id':_0x5cc50e[_0x7abe('0x5d')]['id']},'attributes':['id','name',_0x7abe('0x38')]})[_0x7abe('0x1c')](handleEntityNotFound(_0x34e946,null))[_0x7abe('0x1c')](function(_0x54e73d){if(_0x54e73d){_0xfa2011=_0x54e73d;if(!_0x5cc50e['query'][_0x7abe('0xa3')]||!utils[_0x7abe('0xa4')](_0x5cc50e[_0x7abe('0x44')]['channel'])){throw new db[(_0x7abe('0x1b'))][(_0x7abe('0x8e'))](_0x7abe('0xa5'));}return _0x54e73d[_0x7abe('0xa6')+_[_0x7abe('0x98')](_0x5cc50e[_0x7abe('0x44')][_0x7abe('0xa3')]['toLowerCase']())+_0x7abe('0x9a')](_0x5cc50e[_0x7abe('0x44')]['ids']);}})[_0x7abe('0x1c')](function(_0x5e2413){for(var _0x4dcb40=0x0;_0x4dcb40<_0x5cc50e[_0x7abe('0x44')][_0x7abe('0x9b')][_0x7abe('0x4a')];_0x4dcb40+=0x1){var _0x59cb57={'UserId':_0x5cc50e[_0x7abe('0x5d')]['id']};_0x59cb57[_[_0x7abe('0x98')](_0x5cc50e['query'][_0x7abe('0xa3')][_0x7abe('0x99')]())+'QueueId']=_0x5cc50e[_0x7abe('0x44')]['ids'][_0x4dcb40];socket['emit'](_0x7abe('0x31')+_[_0x7abe('0x98')](_0x5cc50e['query'][_0x7abe('0xa3')][_0x7abe('0x99')]())+'Queue:remove',_0x59cb57);}return _0x5e2413;})['then'](function(){if(_0x5cc50e[_0x7abe('0x44')][_0x7abe('0xa3')]===_0x7abe('0x9f')){return db['UserVoiceQueueRt'][_0x7abe('0x2f')]({'where':{'UserId':_0x5cc50e['params']['id'],'VoiceQueueId':_0x5cc50e['query']['ids']},'individualHooks':!![]})[_0x7abe('0x1c')](function(){return _0xfa2011;});}return _0xfa2011;})[_0x7abe('0x1c')](respondWithStatusCode(_0x34e946,null))[_0x7abe('0x23')](handleError(_0x34e946,null));};exports[_0x7abe('0xa7')]=function(_0x3f6046,_0x2eaeef,_0x452f88){_0x3f6046['body'][_0x7abe('0xa8')]=_0x3f6046[_0x7abe('0xa9')][_0x7abe('0xaa')];return db[_0x7abe('0x57')][_0x7abe('0x5f')]({'where':{'id':_0x3f6046[_0x7abe('0x5d')]['id']}})[_0x7abe('0x1c')](handleEntityNotFound(_0x2eaeef,null))[_0x7abe('0x1c')](saveUpdates(_0x3f6046[_0x7abe('0x61')],null))['then'](respondWithResult(_0x2eaeef,null))[_0x7abe('0x23')](handleError(_0x2eaeef,null));};exports[_0x7abe('0xab')]=function(_0x7f6069,_0x21ab1d,_0x5ca4fd){var _0x3cd354=path[_0x7abe('0xac')](config[_0x7abe('0xad')],_0x7abe('0xae'));return db[_0x7abe('0x57')][_0x7abe('0x5f')]({'where':{'id':_0x7f6069[_0x7abe('0x5d')]['id']},'attributes':['id',_0x7abe('0xa8')],'raw':!![]})[_0x7abe('0x1c')](handleEntityNotFound(_0x21ab1d,null))[_0x7abe('0x1c')](function(_0x5dc95e){if(_0x5dc95e){if(_['isNil'](_0x5dc95e['userpic'])){return _0x21ab1d[_0x7abe('0xaf')](_0x3cd354);}else{if(!fs[_0x7abe('0xb0')](path[_0x7abe('0xac')](config[_0x7abe('0xad')],_0x7abe('0xb1'),_0x5dc95e[_0x7abe('0xa8')]))){return _0x21ab1d['download'](_0x3cd354);}return _0x21ab1d['download'](path[_0x7abe('0xac')](config[_0x7abe('0xad')],_0x7abe('0xb1'),_0x5dc95e[_0x7abe('0xa8')]));}}})['catch'](handleError(_0x21ab1d,null));};exports[_0x7abe('0xb2')]=function(_0x23edd1,_0x4a4630,_0x2f84ca){var _0x4706ef={};var _0x1cc1fb={};var _0x44951e;var _0x45150e;return db['User'][_0x7abe('0xb3')]({'where':{'id':_0x23edd1[_0x7abe('0x5d')]['id']}})[_0x7abe('0x1c')](handleEntityNotFound(_0x4a4630,null))[_0x7abe('0x1c')](function(_0xa79ad0){if(_0xa79ad0){_0x44951e=_0xa79ad0;_0x1cc1fb[_0x7abe('0x40')]=_['keys'](db[_0x7abe('0xb4')][_0x7abe('0x3c')]);_0x1cc1fb[_0x7abe('0x44')]=_[_0x7abe('0x45')](_0x23edd1[_0x7abe('0x44')]);_0x1cc1fb[_0x7abe('0x46')]=_['intersection'](_0x1cc1fb[_0x7abe('0x40')],_0x1cc1fb['query']);_0x4706ef[_0x7abe('0x48')]=_[_0x7abe('0x47')](_0x1cc1fb['model'],qs[_0x7abe('0x49')](_0x23edd1[_0x7abe('0x44')]['fields']));_0x4706ef[_0x7abe('0x48')]=_0x4706ef[_0x7abe('0x48')][_0x7abe('0x4a')]?_0x4706ef[_0x7abe('0x48')]:_0x1cc1fb['model'];_0x4706ef['order']=qs[_0x7abe('0x4f')](_0x23edd1[_0x7abe('0x44')][_0x7abe('0x4f')]);_0x4706ef['where']=qs[_0x7abe('0x46')](_['pick'](_0x23edd1[_0x7abe('0x44')],_0x1cc1fb[_0x7abe('0x46')]));if(_0x23edd1['query'][_0x7abe('0x34')]){_0x4706ef[_0x7abe('0x50')]=_[_0x7abe('0x52')](_0x4706ef[_0x7abe('0x50')],{'$or':_[_0x7abe('0x3b')](_0x4706ef[_0x7abe('0x48')],function(_0x4859ac){var _0x19c43c={};_0x19c43c[_0x4859ac]={'$like':'%'+_0x23edd1[_0x7abe('0x44')][_0x7abe('0x34')]+'%'};return _0x19c43c;})});}_0x4706ef=_[_0x7abe('0x52')]({},_0x4706ef,_0x23edd1['options']);return _0x44951e[_0x7abe('0xb2')](_0x4706ef);}})['then'](function(_0x3adab9){if(_0x3adab9){_0x45150e=_0x3adab9[_0x7abe('0x4a')];if(_0x23edd1[_0x7abe('0x44')][_0x7abe('0x4b')](_0x7abe('0x58'))){_0x4706ef['include']=[{'model':db[_0x7abe('0xb5')],'as':'List','required':![]},{'model':db[_0x7abe('0xb6')],'as':'Tags','attributes':['id','name','color'],'where':_0x23edd1[_0x7abe('0x44')]['tag']?{'id':_0x23edd1[_0x7abe('0x44')]['tag']}:undefined,'required':_0x23edd1[_0x7abe('0x44')]['tag']?!![]:![]}];}if(!_0x23edd1['query'][_0x7abe('0x4b')]('nolimit')){_0x4706ef[_0x7abe('0x4d')]=qs[_0x7abe('0x4d')](_0x23edd1[_0x7abe('0x44')]['limit']);_0x4706ef['offset']=qs[_0x7abe('0x28')](_0x23edd1[_0x7abe('0x44')][_0x7abe('0x28')]);}return _0x44951e[_0x7abe('0xb2')](_0x4706ef);}})['then'](function(_0xe64b29){if(_0xe64b29){return _0xe64b29?{'count':_0x45150e,'rows':_0xe64b29}:null;}})[_0x7abe('0x1c')](respondWithResult(_0x4a4630,null))[_0x7abe('0x23')](handleError(_0x4a4630,null));};exports['getQueues']=function(_0x5aa68d,_0x49432b,_0x8c42b1){var _0x5d71f6;var _0xb50766;var _0xb04cf1={};var _0x191d47;return db['User'][_0x7abe('0xb3')]({'where':{'id':_0x5aa68d[_0x7abe('0x5d')]['id']},'attributes':['id',_0x7abe('0x42'),_0x7abe('0x38')]})[_0x7abe('0x1c')](handleEntityNotFound(_0x49432b,null))['then'](function(_0x55a7d8){if(!utils[_0x7abe('0xa4')](_0x5aa68d['query'][_0x7abe('0xa3')])){throw new db[(_0x7abe('0x1b'))][(_0x7abe('0x8e'))]('Unknown\x20channel');}_0x5d71f6=_0x55a7d8;var _0x17a9df={};_0x17a9df[_0x7abe('0x40')]=_[_0x7abe('0x45')](db[_[_0x7abe('0x98')](_0x5aa68d[_0x7abe('0x44')]['channel'])+_0x7abe('0xb7')][_0x7abe('0x3c')]);_0x17a9df[_0x7abe('0x44')]=_[_0x7abe('0x45')](_0x5aa68d[_0x7abe('0x44')]);_0x17a9df['filters']=_[_0x7abe('0x47')](_0x17a9df['model'],_0x17a9df[_0x7abe('0x44')]);_0xb04cf1[_0x7abe('0x48')]=_['intersection'](_0x17a9df['model'],qs[_0x7abe('0x49')](_0x5aa68d[_0x7abe('0x44')][_0x7abe('0x49')]));_0xb04cf1[_0x7abe('0x48')]=_0xb04cf1['attributes'][_0x7abe('0x4a')]?_0xb04cf1[_0x7abe('0x48')]:_0x17a9df['model'];_0xb04cf1[_0x7abe('0x4e')]=qs[_0x7abe('0x4f')](_0x5aa68d['query']['sort']);_0xb04cf1[_0x7abe('0x50')]=qs['filters'](_[_0x7abe('0x51')](_0x5aa68d['query'],_0x17a9df[_0x7abe('0x46')]));if(_0x5aa68d[_0x7abe('0x44')][_0x7abe('0x34')]){_0xb04cf1[_0x7abe('0x50')]=_[_0x7abe('0x52')](_0xb04cf1[_0x7abe('0x50')],{'$or':_[_0x7abe('0x3b')](_0xb04cf1[_0x7abe('0x48')],function(_0x595e16){var _0x4e7cb0={};_0x4e7cb0[_0x595e16]={'$like':'%'+_0x5aa68d[_0x7abe('0x44')]['filter']+'%'};return _0x4e7cb0;})});}_0xb04cf1=_[_0x7abe('0x52')]({},_0xb04cf1,_0x5aa68d[_0x7abe('0x56')]);switch(_0x5d71f6[_0x7abe('0x38')]){case _0x7abe('0x66'):return db[_['capitalize'](_0x5aa68d[_0x7abe('0x44')][_0x7abe('0xa3')])+'Queue'][_0x7abe('0x5a')](_0xb04cf1);case _0x7abe('0x31'):case _0x7abe('0x7a'):return _0x5d71f6[_0x7abe('0x86')+_['capitalize'](_0x5aa68d[_0x7abe('0x44')][_0x7abe('0xa3')])+'Queues'](_0xb04cf1);default:throw new db[(_0x7abe('0x1b'))][(_0x7abe('0x8e'))](_0x7abe('0xb8'));}})['then'](function(_0x12095f){_0x191d47=_0x12095f[_0x7abe('0x4a')];if(!_0x5aa68d[_0x7abe('0x44')]['hasOwnProperty'](_0x7abe('0x4c'))){_0xb04cf1['limit']=qs['limit'](_0x5aa68d[_0x7abe('0x44')]['limit']);_0xb04cf1[_0x7abe('0x28')]=qs['offset'](_0x5aa68d['query']['offset']);}switch(_0x5d71f6[_0x7abe('0x38')]){case _0x7abe('0x66'):return db[_[_0x7abe('0x98')](_0x5aa68d[_0x7abe('0x44')][_0x7abe('0xa3')])+'Queue']['findAll'](_0xb04cf1);case'user':case _0x7abe('0x7a'):return _0x5d71f6[_0x7abe('0x86')+_[_0x7abe('0x98')](_0x5aa68d[_0x7abe('0x44')][_0x7abe('0xa3')])+_0x7abe('0x9a')](_0xb04cf1);}})[_0x7abe('0x1c')](function(_0x573ae1){return{'count':_0x191d47,'rows':_0x573ae1};})[_0x7abe('0x1c')](respondWithResult(_0x49432b,null))['catch'](handleError(_0x49432b,null));};exports[_0x7abe('0xb9')]=function(_0x56037c,_0x3dccbf,_0x4783aa){var _0x2b26ce={};var _0x5e208f={};var _0x386c5c;var _0x252826;return db[_0x7abe('0x57')][_0x7abe('0xb3')]({'where':{'id':_0x56037c[_0x7abe('0x5d')]['id']}})[_0x7abe('0x1c')](handleEntityNotFound(_0x3dccbf,null))[_0x7abe('0x1c')](function(_0x520542){if(_0x520542){_0x386c5c=_0x520542;_0x5e208f[_0x7abe('0x40')]=_[_0x7abe('0x45')](db[_0x7abe('0xa0')][_0x7abe('0x3c')]);_0x5e208f[_0x7abe('0x44')]=_['keys'](_0x56037c[_0x7abe('0x44')]);_0x5e208f[_0x7abe('0x46')]=_[_0x7abe('0x47')](_0x5e208f[_0x7abe('0x40')],_0x5e208f[_0x7abe('0x44')]);_0x2b26ce['attributes']=_[_0x7abe('0x47')](_0x5e208f[_0x7abe('0x40')],qs['fields'](_0x56037c[_0x7abe('0x44')][_0x7abe('0x49')]));_0x2b26ce[_0x7abe('0x48')]=_0x2b26ce[_0x7abe('0x48')][_0x7abe('0x4a')]?_0x2b26ce[_0x7abe('0x48')]:_0x5e208f[_0x7abe('0x40')];_0x2b26ce[_0x7abe('0x4e')]=qs[_0x7abe('0x4f')](_0x56037c[_0x7abe('0x44')][_0x7abe('0x4f')]);_0x2b26ce[_0x7abe('0x50')]=qs[_0x7abe('0x46')](_[_0x7abe('0x51')](_0x56037c[_0x7abe('0x44')],_0x5e208f['filters']));if(_0x56037c['query'][_0x7abe('0x34')]){_0x2b26ce[_0x7abe('0x50')]=_['merge'](_0x2b26ce[_0x7abe('0x50')],{'$or':_[_0x7abe('0x3b')](_0x2b26ce[_0x7abe('0x48')],function(_0x3e860b){var _0xd5a4ce={};_0xd5a4ce[_0x3e860b]={'$like':'%'+_0x56037c[_0x7abe('0x44')]['filter']+'%'};return _0xd5a4ce;})});}_0x2b26ce=_['merge']({},_0x2b26ce,_0x56037c[_0x7abe('0x56')]);return _0x386c5c['getVoiceQueuesRt'](_0x2b26ce);}})[_0x7abe('0x1c')](function(_0x9bc1ab){if(_0x9bc1ab){_0x252826=_0x9bc1ab['length'];if(!_0x56037c[_0x7abe('0x44')][_0x7abe('0x4b')](_0x7abe('0x4c'))){_0x2b26ce[_0x7abe('0x4d')]=qs[_0x7abe('0x4d')](_0x56037c[_0x7abe('0x44')][_0x7abe('0x4d')]);_0x2b26ce[_0x7abe('0x28')]=qs[_0x7abe('0x28')](_0x56037c[_0x7abe('0x44')][_0x7abe('0x28')]);}return _0x386c5c[_0x7abe('0xb9')](_0x2b26ce);}})['then'](function(_0x9f4da9){if(_0x9f4da9){return _0x9f4da9?{'count':_0x252826,'rows':_0x9f4da9}:null;}})[_0x7abe('0x1c')](respondWithResult(_0x3dccbf,null))['catch'](handleError(_0x3dccbf,null));};exports[_0x7abe('0xba')]=function(_0x5a2802,_0x2bf1d7,_0x1aa93a){var _0x8178a4={};var _0x29d637={};var _0x5b35e0;var _0xd76a2b;return db[_0x7abe('0x57')][_0x7abe('0xb3')]({'where':{'id':_0x5a2802[_0x7abe('0x5d')]['id']}})[_0x7abe('0x1c')](handleEntityNotFound(_0x2bf1d7,null))[_0x7abe('0x1c')](function(_0x1d68f1){if(_0x1d68f1){_0x5b35e0=_0x1d68f1;_0x29d637['model']=_[_0x7abe('0x45')](db[_0x7abe('0xbb')]['rawAttributes']);_0x29d637[_0x7abe('0x44')]=_[_0x7abe('0x45')](_0x5a2802[_0x7abe('0x44')]);_0x29d637[_0x7abe('0x46')]=_[_0x7abe('0x47')](_0x29d637[_0x7abe('0x40')],_0x29d637[_0x7abe('0x44')]);_0x8178a4[_0x7abe('0x48')]=_[_0x7abe('0x47')](_0x29d637[_0x7abe('0x40')],qs[_0x7abe('0x49')](_0x5a2802['query']['fields']));_0x8178a4['attributes']=_0x8178a4[_0x7abe('0x48')][_0x7abe('0x4a')]?_0x8178a4[_0x7abe('0x48')]:_0x29d637['model'];_0x8178a4[_0x7abe('0x4e')]=qs[_0x7abe('0x4f')](_0x5a2802['query'][_0x7abe('0x4f')]);_0x8178a4['where']=qs['filters'](_[_0x7abe('0x51')](_0x5a2802['query'],_0x29d637[_0x7abe('0x46')]));if(_0x5a2802['query'][_0x7abe('0x34')]){_0x8178a4[_0x7abe('0x50')]=_[_0x7abe('0x52')](_0x8178a4[_0x7abe('0x50')],{'$or':_['map'](_0x8178a4['attributes'],function(_0x14386f){var _0x1669df={};_0x1669df[_0x14386f]={'$like':'%'+_0x5a2802[_0x7abe('0x44')][_0x7abe('0x34')]+'%'};return _0x1669df;})});}_0x8178a4=_['merge']({},_0x8178a4,_0x5a2802[_0x7abe('0x56')]);return _0x5b35e0['getGroups'](_0x8178a4);}})[_0x7abe('0x1c')](function(_0x6458ca){if(_0x6458ca){_0xd76a2b=_0x6458ca[_0x7abe('0x4a')];if(!_0x5a2802[_0x7abe('0x44')][_0x7abe('0x4b')](_0x7abe('0x4c'))){_0x8178a4[_0x7abe('0x4d')]=qs[_0x7abe('0x4d')](_0x5a2802[_0x7abe('0x44')][_0x7abe('0x4d')]);_0x8178a4[_0x7abe('0x28')]=qs[_0x7abe('0x28')](_0x5a2802['query']['offset']);}return _0x5b35e0[_0x7abe('0xba')](_0x8178a4);}})[_0x7abe('0x1c')](function(_0x3f2498){if(_0x3f2498){return _0x3f2498?{'count':_0xd76a2b,'rows':_0x3f2498}:null;}})['then'](respondWithResult(_0x2bf1d7,null))[_0x7abe('0x23')](handleError(_0x2bf1d7,null));};exports[_0x7abe('0xbc')]=function(_0x1f1a2f,_0x51dd25,_0x5aceb8){var _0x2d8b32={'raw':!![],'where':{}};var _0x155779={};var _0x20a76c={'count':0x0,'rows':[]};return db[_0x7abe('0x57')][_0x7abe('0xb3')]({'where':{'id':_0x1f1a2f[_0x7abe('0x5d')]['id']}})[_0x7abe('0x1c')](handleEntityNotFound(_0x51dd25,null))[_0x7abe('0x1c')](function(_0x2c76c3){if(_0x2c76c3){_0x155779[_0x7abe('0x40')]=_[_0x7abe('0x45')](db[_0x7abe('0xbd')][_0x7abe('0x3c')]);_0x155779['query']=_['keys'](_0x1f1a2f['query']);_0x155779[_0x7abe('0x46')]=_[_0x7abe('0x47')](_0x155779[_0x7abe('0x40')],_0x155779[_0x7abe('0x44')]);_0x2d8b32['attributes']=_[_0x7abe('0x47')](_0x155779[_0x7abe('0x40')],qs[_0x7abe('0x49')](_0x1f1a2f['query']['fields']));_0x2d8b32['attributes']=_0x2d8b32[_0x7abe('0x48')][_0x7abe('0x4a')]?_0x2d8b32['attributes']:_0x155779[_0x7abe('0x40')];if(!_0x1f1a2f[_0x7abe('0x44')]['hasOwnProperty'](_0x7abe('0x4c'))){_0x2d8b32[_0x7abe('0x4d')]=qs['limit'](_0x1f1a2f[_0x7abe('0x44')]['limit']);_0x2d8b32[_0x7abe('0x28')]=qs[_0x7abe('0x28')](_0x1f1a2f[_0x7abe('0x44')][_0x7abe('0x28')]);}_0x2d8b32[_0x7abe('0x4e')]=qs['sort'](_0x1f1a2f[_0x7abe('0x44')][_0x7abe('0x4f')]);_0x2d8b32[_0x7abe('0x50')]=qs[_0x7abe('0x46')](_[_0x7abe('0x51')](_0x1f1a2f[_0x7abe('0x44')],_0x155779['filters']));_0x2d8b32[_0x7abe('0x50')][_0x7abe('0xbe')]=_0x2c76c3['id'];if(_0x1f1a2f[_0x7abe('0x44')][_0x7abe('0x34')]){_0x2d8b32[_0x7abe('0x50')]=_[_0x7abe('0x52')](_0x2d8b32[_0x7abe('0x50')],{'$or':_['map'](_0x2d8b32['attributes'],function(_0x5b8abe){var _0x1ee080={};_0x1ee080[_0x5b8abe]={'$like':'%'+_0x1f1a2f[_0x7abe('0x44')][_0x7abe('0x34')]+'%'};return _0x1ee080;})});}_0x2d8b32=_['merge']({},_0x2d8b32,_0x1f1a2f[_0x7abe('0x56')]);return db[_0x7abe('0xbd')][_0x7abe('0x27')]({'where':_0x2d8b32[_0x7abe('0x50')]})[_0x7abe('0x1c')](function(_0x15b5eb){_0x20a76c[_0x7abe('0x27')]=_0x15b5eb;if(_0x1f1a2f['query'][_0x7abe('0x58')]){_0x2d8b32[_0x7abe('0x59')]=[{'all':!![]}];}return db[_0x7abe('0xbd')][_0x7abe('0x5a')](_0x2d8b32);})[_0x7abe('0x1c')](function(_0x4bc06e){_0x20a76c[_0x7abe('0x5b')]=_0x4bc06e;return _0x20a76c;});}})[_0x7abe('0x1c')](respondWithFilteredResult(_0x51dd25,_0x2d8b32))[_0x7abe('0x23')](handleError(_0x51dd25,null));};exports[_0x7abe('0xbf')]=function(_0x51e06c,_0xcb7fbe,_0x4048b3){var _0x248c70={'raw':!![],'where':{}};var _0x3ffd17={};var _0x2935d6={'count':0x0,'rows':[]};return db['User'][_0x7abe('0xb3')]({'where':{'id':_0x51e06c['params']['id']}})[_0x7abe('0x1c')](handleEntityNotFound(_0xcb7fbe,null))[_0x7abe('0x1c')](function(_0xfd1b4a){if(_0xfd1b4a){_0x3ffd17[_0x7abe('0x40')]=_[_0x7abe('0x45')](db[_0x7abe('0xc0')]['rawAttributes']);_0x3ffd17[_0x7abe('0x44')]=_[_0x7abe('0x45')](_0x51e06c[_0x7abe('0x44')]);_0x3ffd17[_0x7abe('0x46')]=_['intersection'](_0x3ffd17[_0x7abe('0x40')],_0x3ffd17[_0x7abe('0x44')]);_0x248c70[_0x7abe('0x48')]=_[_0x7abe('0x47')](_0x3ffd17[_0x7abe('0x40')],qs[_0x7abe('0x49')](_0x51e06c['query'][_0x7abe('0x49')]));_0x248c70[_0x7abe('0x48')]=_0x248c70[_0x7abe('0x48')]['length']?_0x248c70['attributes']:_0x3ffd17['model'];if(!_0x51e06c[_0x7abe('0x44')][_0x7abe('0x4b')](_0x7abe('0x4c'))){_0x248c70['limit']=qs[_0x7abe('0x4d')](_0x51e06c['query'][_0x7abe('0x4d')]);_0x248c70[_0x7abe('0x28')]=qs['offset'](_0x51e06c['query'][_0x7abe('0x28')]);}_0x248c70[_0x7abe('0x4e')]=qs[_0x7abe('0x4f')](_0x51e06c['query'][_0x7abe('0x4f')]);_0x248c70[_0x7abe('0x50')]=qs[_0x7abe('0x46')](_[_0x7abe('0x51')](_0x51e06c['query'],_0x3ffd17[_0x7abe('0x46')]));_0x248c70[_0x7abe('0x50')]['UserId']=_0xfd1b4a['id'];if(_0x51e06c[_0x7abe('0x44')]['filter']){_0x248c70[_0x7abe('0x50')]=_[_0x7abe('0x52')](_0x248c70[_0x7abe('0x50')],{'$or':_[_0x7abe('0x3b')](_0x248c70[_0x7abe('0x48')],function(_0x225274){var _0x8aa963={};_0x8aa963[_0x225274]={'$like':'%'+_0x51e06c[_0x7abe('0x44')][_0x7abe('0x34')]+'%'};return _0x8aa963;})});}_0x248c70=_[_0x7abe('0x52')]({},_0x248c70,_0x51e06c['options']);return db[_0x7abe('0xc0')]['count']({'where':_0x248c70['where']})[_0x7abe('0x1c')](function(_0x17e0a2){_0x2935d6[_0x7abe('0x27')]=_0x17e0a2;if(_0x51e06c[_0x7abe('0x44')]['includeAll']){_0x248c70['include']=[{'all':!![]}];}return db[_0x7abe('0xc0')]['findAll'](_0x248c70);})[_0x7abe('0x1c')](function(_0xe11018){_0x2935d6[_0x7abe('0x5b')]=_0xe11018;return _0x2935d6;});}})[_0x7abe('0x1c')](respondWithFilteredResult(_0xcb7fbe,_0x248c70))[_0x7abe('0x23')](handleError(_0xcb7fbe,null));};exports[_0x7abe('0xc1')]=function(_0x77f9a8,_0x2c3c22,_0x43f538){var _0x5dfb0e={};var _0x587636={};var _0x49bbb3;var _0x244dfb;return db['User'][_0x7abe('0xb3')]({'where':{'id':_0x77f9a8[_0x7abe('0x5d')]['id']}})[_0x7abe('0x1c')](handleEntityNotFound(_0x2c3c22,null))[_0x7abe('0x1c')](function(_0x5a7864){if(_0x5a7864){_0x49bbb3=_0x5a7864;_0x587636[_0x7abe('0x40')]=_[_0x7abe('0x45')](db['ChatInteraction'][_0x7abe('0x3c')]);_0x587636['query']=_['keys'](_0x77f9a8[_0x7abe('0x44')]);_0x587636[_0x7abe('0x46')]=_[_0x7abe('0x47')](_0x587636['model'],_0x587636[_0x7abe('0x44')]);_0x5dfb0e['attributes']=_[_0x7abe('0x47')](_0x587636[_0x7abe('0x40')],qs['fields'](_0x77f9a8[_0x7abe('0x44')][_0x7abe('0x49')]));_0x5dfb0e['attributes']=_0x5dfb0e[_0x7abe('0x48')][_0x7abe('0x4a')]?_0x5dfb0e[_0x7abe('0x48')]:_0x587636[_0x7abe('0x40')];_0x5dfb0e['order']=qs[_0x7abe('0x4f')](_0x77f9a8[_0x7abe('0x44')][_0x7abe('0x4f')]);_0x5dfb0e[_0x7abe('0x50')]=qs['filters'](_[_0x7abe('0x51')](_0x77f9a8['query'],_0x587636[_0x7abe('0x46')]));if(_0x77f9a8[_0x7abe('0x44')][_0x7abe('0x34')]){_0x5dfb0e[_0x7abe('0x50')]=_[_0x7abe('0x52')](_0x5dfb0e[_0x7abe('0x50')],{'$or':_[_0x7abe('0x3b')](_0x5dfb0e[_0x7abe('0x48')],function(_0xfafd16){var _0x3e4a26={};_0x3e4a26[_0xfafd16]={'$like':'%'+_0x77f9a8[_0x7abe('0x44')][_0x7abe('0x34')]+'%'};return _0x3e4a26;})});}_0x5dfb0e=_[_0x7abe('0x52')]({},_0x5dfb0e,_0x77f9a8[_0x7abe('0x56')]);return _0x49bbb3[_0x7abe('0xc1')](_0x5dfb0e);}})[_0x7abe('0x1c')](function(_0x1303d5){if(_0x1303d5){_0x244dfb=_0x1303d5[_0x7abe('0x4a')];if(!_0x77f9a8['query'][_0x7abe('0x4b')](_0x7abe('0x4c'))){_0x5dfb0e[_0x7abe('0x4d')]=qs[_0x7abe('0x4d')](_0x77f9a8[_0x7abe('0x44')][_0x7abe('0x4d')]);_0x5dfb0e[_0x7abe('0x28')]=qs[_0x7abe('0x28')](_0x77f9a8[_0x7abe('0x44')]['offset']);}return _0x49bbb3[_0x7abe('0xc1')](_0x5dfb0e);}})[_0x7abe('0x1c')](function(_0x27e20d){if(_0x27e20d){return _0x27e20d?{'count':_0x244dfb,'rows':_0x27e20d}:null;}})[_0x7abe('0x1c')](respondWithResult(_0x2c3c22,null))[_0x7abe('0x23')](handleError(_0x2c3c22,null));};exports[_0x7abe('0xc2')]=function(_0x2627e0,_0x22e9a1,_0x4b3364){var _0x3fb7a8={};var _0x5e2ac2={};var _0x404a9e;var _0x37239b;return db[_0x7abe('0x57')][_0x7abe('0xb3')]({'where':{'id':_0x2627e0[_0x7abe('0x5d')]['id']}})['then'](handleEntityNotFound(_0x22e9a1,null))[_0x7abe('0x1c')](function(_0x41ca69){if(_0x41ca69){_0x404a9e=_0x41ca69;_0x5e2ac2[_0x7abe('0x40')]=_['keys'](db['OpenchannelInteraction'][_0x7abe('0x3c')]);_0x5e2ac2[_0x7abe('0x44')]=_[_0x7abe('0x45')](_0x2627e0[_0x7abe('0x44')]);_0x5e2ac2[_0x7abe('0x46')]=_[_0x7abe('0x47')](_0x5e2ac2[_0x7abe('0x40')],_0x5e2ac2[_0x7abe('0x44')]);_0x3fb7a8['attributes']=_[_0x7abe('0x47')](_0x5e2ac2[_0x7abe('0x40')],qs['fields'](_0x2627e0['query'][_0x7abe('0x49')]));_0x3fb7a8[_0x7abe('0x48')]=_0x3fb7a8[_0x7abe('0x48')][_0x7abe('0x4a')]?_0x3fb7a8[_0x7abe('0x48')]:_0x5e2ac2[_0x7abe('0x40')];_0x3fb7a8[_0x7abe('0x4e')]=qs[_0x7abe('0x4f')](_0x2627e0[_0x7abe('0x44')]['sort']);_0x3fb7a8[_0x7abe('0x50')]=qs['filters'](_[_0x7abe('0x51')](_0x2627e0[_0x7abe('0x44')],_0x5e2ac2[_0x7abe('0x46')]));if(_0x2627e0['query'][_0x7abe('0x34')]){_0x3fb7a8[_0x7abe('0x50')]=_['merge'](_0x3fb7a8[_0x7abe('0x50')],{'$or':_[_0x7abe('0x3b')](_0x3fb7a8[_0x7abe('0x48')],function(_0x356244){var _0x18766e={};_0x18766e[_0x356244]={'$like':'%'+_0x2627e0[_0x7abe('0x44')]['filter']+'%'};return _0x18766e;})});}_0x3fb7a8=_['merge']({},_0x3fb7a8,_0x2627e0[_0x7abe('0x56')]);return _0x404a9e['getOpenchannelInteractions'](_0x3fb7a8);}})['then'](function(_0x57ad5a){if(_0x57ad5a){_0x37239b=_0x57ad5a[_0x7abe('0x4a')];if(!_0x2627e0[_0x7abe('0x44')]['hasOwnProperty'](_0x7abe('0x4c'))){_0x3fb7a8[_0x7abe('0x4d')]=qs[_0x7abe('0x4d')](_0x2627e0['query'][_0x7abe('0x4d')]);_0x3fb7a8['offset']=qs[_0x7abe('0x28')](_0x2627e0[_0x7abe('0x44')][_0x7abe('0x28')]);}return _0x404a9e[_0x7abe('0xc2')](_0x3fb7a8);}})[_0x7abe('0x1c')](function(_0x24efea){if(_0x24efea){return _0x24efea?{'count':_0x37239b,'rows':_0x24efea}:null;}})[_0x7abe('0x1c')](respondWithResult(_0x22e9a1,null))[_0x7abe('0x23')](handleError(_0x22e9a1,null));};exports[_0x7abe('0xc3')]=function(_0x17af4b,_0x4a95be,_0x3a9072){var _0x12471e={'raw':!![],'where':{}};var _0x52dfc9={};var _0x2eff65={'count':0x0,'rows':[]};return db[_0x7abe('0x57')]['findOne']({'where':{'id':_0x17af4b[_0x7abe('0x5d')]['id']}})['then'](handleEntityNotFound(_0x4a95be,null))[_0x7abe('0x1c')](function(_0xb197cf){if(_0xb197cf){_0x52dfc9[_0x7abe('0x40')]=_[_0x7abe('0x45')](db['MailInteraction'][_0x7abe('0x3c')]);_0x52dfc9['query']=_[_0x7abe('0x45')](_0x17af4b[_0x7abe('0x44')]);_0x52dfc9[_0x7abe('0x46')]=_['intersection'](_0x52dfc9[_0x7abe('0x40')],_0x52dfc9[_0x7abe('0x44')]);_0x12471e[_0x7abe('0x48')]=_[_0x7abe('0x47')](_0x52dfc9[_0x7abe('0x40')],qs[_0x7abe('0x49')](_0x17af4b['query'][_0x7abe('0x49')]));_0x12471e[_0x7abe('0x48')]=_0x12471e[_0x7abe('0x48')][_0x7abe('0x4a')]?_0x12471e['attributes']:_0x52dfc9[_0x7abe('0x40')];if(!_0x17af4b['query'][_0x7abe('0x4b')](_0x7abe('0x4c'))){_0x12471e[_0x7abe('0x4d')]=qs[_0x7abe('0x4d')](_0x17af4b[_0x7abe('0x44')][_0x7abe('0x4d')]);_0x12471e[_0x7abe('0x28')]=qs[_0x7abe('0x28')](_0x17af4b[_0x7abe('0x44')][_0x7abe('0x28')]);}_0x12471e[_0x7abe('0x4e')]=qs[_0x7abe('0x4f')](_0x17af4b['query'][_0x7abe('0x4f')]);_0x12471e['where']=qs[_0x7abe('0x46')](_[_0x7abe('0x51')](_0x17af4b['query'],_0x52dfc9[_0x7abe('0x46')]));_0x12471e['where'][_0x7abe('0xbe')]=_0xb197cf['id'];if(_0x17af4b['query'][_0x7abe('0x34')]){_0x12471e[_0x7abe('0x50')]=_[_0x7abe('0x52')](_0x12471e[_0x7abe('0x50')],{'$or':_[_0x7abe('0x3b')](_0x12471e[_0x7abe('0x48')],function(_0x46c461){var _0x2b42c4={};_0x2b42c4[_0x46c461]={'$like':'%'+_0x17af4b[_0x7abe('0x44')][_0x7abe('0x34')]+'%'};return _0x2b42c4;})});}_0x12471e=_[_0x7abe('0x52')]({},_0x12471e,_0x17af4b[_0x7abe('0x56')]);return db[_0x7abe('0xc4')][_0x7abe('0x27')]({'where':_0x12471e[_0x7abe('0x50')]})[_0x7abe('0x1c')](function(_0x549a3e){_0x2eff65[_0x7abe('0x27')]=_0x549a3e;if(_0x17af4b[_0x7abe('0x44')][_0x7abe('0x58')]){_0x12471e[_0x7abe('0x59')]=[{'all':!![]}];}return db[_0x7abe('0xc4')][_0x7abe('0x5a')](_0x12471e);})[_0x7abe('0x1c')](function(_0x1d1f3c){_0x2eff65[_0x7abe('0x5b')]=_0x1d1f3c;return _0x2eff65;});}})[_0x7abe('0x1c')](respondWithFilteredResult(_0x4a95be,_0x12471e))['catch'](handleError(_0x4a95be,null));};exports[_0x7abe('0xc5')]=function(_0x2560ae,_0x4eaa9c,_0x21217c){var _0x2c94bd={};var _0x3d033f={};var _0x1dec68;var _0x3cbdb3;return db[_0x7abe('0x57')]['findOne']({'where':{'id':_0x2560ae[_0x7abe('0x5d')]['id']}})['then'](handleEntityNotFound(_0x4eaa9c,null))[_0x7abe('0x1c')](function(_0x138484){if(_0x138484){_0x1dec68=_0x138484;_0x3d033f[_0x7abe('0x40')]=_['keys'](db['SmsInteraction']['rawAttributes']);_0x3d033f[_0x7abe('0x44')]=_[_0x7abe('0x45')](_0x2560ae[_0x7abe('0x44')]);_0x3d033f['filters']=_[_0x7abe('0x47')](_0x3d033f['model'],_0x3d033f[_0x7abe('0x44')]);_0x2c94bd[_0x7abe('0x48')]=_[_0x7abe('0x47')](_0x3d033f[_0x7abe('0x40')],qs[_0x7abe('0x49')](_0x2560ae[_0x7abe('0x44')]['fields']));_0x2c94bd[_0x7abe('0x48')]=_0x2c94bd[_0x7abe('0x48')]['length']?_0x2c94bd['attributes']:_0x3d033f[_0x7abe('0x40')];_0x2c94bd[_0x7abe('0x4e')]=qs[_0x7abe('0x4f')](_0x2560ae['query'][_0x7abe('0x4f')]);_0x2c94bd['where']=qs[_0x7abe('0x46')](_['pick'](_0x2560ae[_0x7abe('0x44')],_0x3d033f[_0x7abe('0x46')]));if(_0x2560ae[_0x7abe('0x44')][_0x7abe('0x34')]){_0x2c94bd[_0x7abe('0x50')]=_[_0x7abe('0x52')](_0x2c94bd[_0x7abe('0x50')],{'$or':_[_0x7abe('0x3b')](_0x2c94bd[_0x7abe('0x48')],function(_0x2786a0){var _0x426e2c={};_0x426e2c[_0x2786a0]={'$like':'%'+_0x2560ae[_0x7abe('0x44')][_0x7abe('0x34')]+'%'};return _0x426e2c;})});}_0x2c94bd=_[_0x7abe('0x52')]({},_0x2c94bd,_0x2560ae['options']);return _0x1dec68[_0x7abe('0xc5')](_0x2c94bd);}})['then'](function(_0x467541){if(_0x467541){_0x3cbdb3=_0x467541[_0x7abe('0x4a')];if(!_0x2560ae['query'][_0x7abe('0x4b')](_0x7abe('0x4c'))){_0x2c94bd[_0x7abe('0x4d')]=qs[_0x7abe('0x4d')](_0x2560ae[_0x7abe('0x44')][_0x7abe('0x4d')]);_0x2c94bd[_0x7abe('0x28')]=qs[_0x7abe('0x28')](_0x2560ae[_0x7abe('0x44')][_0x7abe('0x28')]);}return _0x1dec68[_0x7abe('0xc5')](_0x2c94bd);}})[_0x7abe('0x1c')](function(_0x2543eb){if(_0x2543eb){return _0x2543eb?{'count':_0x3cbdb3,'rows':_0x2543eb}:null;}})['then'](respondWithResult(_0x4eaa9c,null))[_0x7abe('0x23')](handleError(_0x4eaa9c,null));};exports[_0x7abe('0xc6')]=function(_0x314050,_0x2643f2,_0x39f86f){var _0x10d637={};var _0x1b272a={};var _0x59c702;var _0xaa94e6;return db['User'][_0x7abe('0xb3')]({'where':{'id':_0x314050[_0x7abe('0x5d')]['id']}})[_0x7abe('0x1c')](handleEntityNotFound(_0x2643f2,null))[_0x7abe('0x1c')](function(_0xe3064a){if(_0xe3064a){_0x59c702=_0xe3064a;_0x1b272a[_0x7abe('0x40')]=_[_0x7abe('0x45')](db[_0x7abe('0xc7')][_0x7abe('0x3c')]);_0x1b272a[_0x7abe('0x44')]=_[_0x7abe('0x45')](_0x314050[_0x7abe('0x44')]);_0x1b272a['filters']=_[_0x7abe('0x47')](_0x1b272a[_0x7abe('0x40')],_0x1b272a[_0x7abe('0x44')]);_0x10d637['attributes']=_['intersection'](_0x1b272a[_0x7abe('0x40')],qs[_0x7abe('0x49')](_0x314050[_0x7abe('0x44')][_0x7abe('0x49')]));_0x10d637[_0x7abe('0x48')]=_0x10d637[_0x7abe('0x48')]['length']?_0x10d637['attributes']:_0x1b272a[_0x7abe('0x40')];_0x10d637[_0x7abe('0x4e')]=qs[_0x7abe('0x4f')](_0x314050[_0x7abe('0x44')]['sort']);_0x10d637[_0x7abe('0x50')]=qs[_0x7abe('0x46')](_['pick'](_0x314050[_0x7abe('0x44')],_0x1b272a[_0x7abe('0x46')]));if(_0x314050[_0x7abe('0x44')][_0x7abe('0x34')]){_0x10d637[_0x7abe('0x50')]=_[_0x7abe('0x52')](_0x10d637[_0x7abe('0x50')],{'$or':_[_0x7abe('0x3b')](_0x10d637[_0x7abe('0x48')],function(_0x265cda){var _0x515569={};_0x515569[_0x265cda]={'$like':'%'+_0x314050[_0x7abe('0x44')]['filter']+'%'};return _0x515569;})});}_0x10d637=_[_0x7abe('0x52')]({},_0x10d637,_0x314050['options']);return _0x59c702['getFaxInteractions'](_0x10d637);}})['then'](function(_0x259d2d){if(_0x259d2d){_0xaa94e6=_0x259d2d['length'];if(!_0x314050[_0x7abe('0x44')][_0x7abe('0x4b')]('nolimit')){_0x10d637[_0x7abe('0x4d')]=qs[_0x7abe('0x4d')](_0x314050[_0x7abe('0x44')][_0x7abe('0x4d')]);_0x10d637[_0x7abe('0x28')]=qs[_0x7abe('0x28')](_0x314050['query'][_0x7abe('0x28')]);}return _0x59c702[_0x7abe('0xc6')](_0x10d637);}})['then'](function(_0x18539c){if(_0x18539c){return _0x18539c?{'count':_0xaa94e6,'rows':_0x18539c}:null;}})[_0x7abe('0x1c')](respondWithResult(_0x2643f2,null))['catch'](handleError(_0x2643f2,null));};exports[_0x7abe('0xc8')]=function(_0xcde55d,_0x3333e9,_0x2909bf){var _0x25669c={};var _0x16c206={};var _0x1974c4;var _0x4a149e;return db[_0x7abe('0x57')][_0x7abe('0xb3')]({'where':{'id':_0xcde55d[_0x7abe('0x5d')]['id']}})[_0x7abe('0x1c')](handleEntityNotFound(_0x3333e9,null))[_0x7abe('0x1c')](function(_0x1707dc){if(_0x1707dc){_0x1974c4=_0x1707dc;_0x16c206[_0x7abe('0x40')]=_[_0x7abe('0x45')](db[_0x7abe('0xc9')][_0x7abe('0x3c')]);_0x16c206[_0x7abe('0x44')]=_['keys'](_0xcde55d[_0x7abe('0x44')]);_0x16c206[_0x7abe('0x46')]=_[_0x7abe('0x47')](_0x16c206[_0x7abe('0x40')],_0x16c206[_0x7abe('0x44')]);_0x25669c[_0x7abe('0x48')]=_[_0x7abe('0x47')](_0x16c206[_0x7abe('0x40')],qs[_0x7abe('0x49')](_0xcde55d[_0x7abe('0x44')][_0x7abe('0x49')]));_0x25669c[_0x7abe('0x48')]=_0x25669c[_0x7abe('0x48')][_0x7abe('0x4a')]?_0x25669c[_0x7abe('0x48')]:_0x16c206['model'];_0x25669c[_0x7abe('0x4e')]=qs[_0x7abe('0x4f')](_0xcde55d[_0x7abe('0x44')][_0x7abe('0x4f')]);_0x25669c[_0x7abe('0x50')]=qs[_0x7abe('0x46')](_[_0x7abe('0x51')](_0xcde55d['query'],_0x16c206[_0x7abe('0x46')]));if(_0xcde55d['query'][_0x7abe('0x34')]){_0x25669c[_0x7abe('0x50')]=_[_0x7abe('0x52')](_0x25669c[_0x7abe('0x50')],{'$or':_[_0x7abe('0x3b')](_0x25669c[_0x7abe('0x48')],function(_0x11870b){var _0x4a04b5={};_0x4a04b5[_0x11870b]={'$like':'%'+_0xcde55d[_0x7abe('0x44')]['filter']+'%'};return _0x4a04b5;})});}_0x25669c=_[_0x7abe('0x52')]({},_0x25669c,_0xcde55d[_0x7abe('0x56')]);return _0x1974c4[_0x7abe('0xc8')](_0x25669c);}})[_0x7abe('0x1c')](function(_0x303ebb){if(_0x303ebb){_0x4a149e=_0x303ebb[_0x7abe('0x4a')];if(!_0xcde55d[_0x7abe('0x44')][_0x7abe('0x4b')](_0x7abe('0x4c'))){_0x25669c['limit']=qs[_0x7abe('0x4d')](_0xcde55d[_0x7abe('0x44')][_0x7abe('0x4d')]);_0x25669c[_0x7abe('0x28')]=qs[_0x7abe('0x28')](_0xcde55d['query'][_0x7abe('0x28')]);}return _0x1974c4[_0x7abe('0xc8')](_0x25669c);}})[_0x7abe('0x1c')](function(_0x3e4748){if(_0x3e4748){return _0x3e4748?{'count':_0x4a149e,'rows':_0x3e4748}:null;}})[_0x7abe('0x1c')](respondWithResult(_0x3333e9,null))[_0x7abe('0x23')](handleError(_0x3333e9,null));};exports[_0x7abe('0xca')]=function(_0x465467,_0x489ab6,_0x23d02e){var _0x28b827;var _0x53d2d8;var _0x1e3330;var _0x32247c=!_[_0x7abe('0x69')](_0x465467[_0x7abe('0x5d')]['id'])?_0x465467[_0x7abe('0x5d')]['id']:!_[_0x7abe('0x69')](_0x465467['user']['id'])?_0x465467[_0x7abe('0x31')]['id']:null;return db['User'][_0x7abe('0x5f')]({'where':{'id':_0x32247c,'role':{'$or':[_0x7abe('0x66'),_0x7abe('0x31'),'agent']}},'attributes':['id',_0x7abe('0x42'),_0x7abe('0xcb'),_0x7abe('0xcc'),_0x7abe('0x38'),_0x7abe('0x6e'),'loginInPause']})[_0x7abe('0x1c')](function(_0x337147){if(_0x337147){if(_0x337147[_0x7abe('0x38')]===_0x7abe('0x7a')){_0x28b827=_0x337147;if(_0x465467[_0x7abe('0x61')]['interface']){_0x1e3330=util[_0x7abe('0x6b')](_0x7abe('0xcd'),_0x28b827[_0x465467[_0x7abe('0x61')][_0x7abe('0x96')]]);}else if(_0x465467[_0x7abe('0x61')]['intrf']){_0x1e3330=util['format'](_0x7abe('0xce'),_0x465467[_0x7abe('0x61')][_0x7abe('0xcf')]);}else{_0x1e3330=util[_0x7abe('0x6b')](_0x7abe('0xce'),_0x28b827[_0x7abe('0x42')]);}socket['to'](util[_0x7abe('0x6b')]('user:%s',_0x28b827['name']))[_0x7abe('0x9e')](_0x7abe('0xd0'),{'ip':_0x465467[_0x7abe('0xd1')]['x-forwarded-for']||_0x465467[_0x7abe('0xd2')]['remoteAddress']||_0x465467[_0x7abe('0xd3')]['remoteAddress']||_0x465467[_0x7abe('0xd2')][_0x7abe('0xd3')]['remoteAddress']});return db[_0x7abe('0xa0')][_0x7abe('0x2f')]({'where':{'membername':_0x28b827['name']},'individualHooks':!![]});}}else{throw new db['Sequelize'][(_0x7abe('0x8e'))]('User\x20not\x20found\x20or\x20not\x20allowed\x20to\x20perform\x20login\x20method');}})[_0x7abe('0x1c')](function(){if(_0x28b827){return _0x28b827[_0x7abe('0xd4')]({'raw':!![]});}})[_0x7abe('0x1c')](function(_0x47c4fd){if(_0x28b827){var _0x3d4790=[];if(_0x47c4fd){_0x53d2d8=_0x47c4fd;if(_0x53d2d8['length']){for(var _0xcfa5f0=0x0;_0xcfa5f0<_0x53d2d8['length'];_0xcfa5f0++){_0x3d4790['push']({'membername':_0x28b827[_0x7abe('0x42')],'UserId':_0x28b827['id'],'queue_name':_0x53d2d8[_0xcfa5f0][_0x7abe('0x42')],'VoiceQueueId':_0x53d2d8[_0xcfa5f0]['id'],'interface':_0x1e3330,'paused':_0x28b827[_0x7abe('0xd5')]||![],'penalty':_0x53d2d8[_0xcfa5f0][_0x7abe('0xd6')]||0x0});}return BPromise[_0x7abe('0xd7')](_0x3d4790,function(_0x41d511){return db['UserVoiceQueueRt'][_0x7abe('0xa1')](_0x41d511);});}}}})[_0x7abe('0x1c')](function(){if(_0x28b827){return db['MemberReport'][_0x7abe('0x5a')]({'where':{'membername':_0x28b827['name'],'exitAt':null}});}})[_0x7abe('0x1c')](function(_0x4d6484){if(_0x28b827){var _0x427a8c=[];_0x4d6484[_0x7abe('0xd8')](function(_0x13715a){_0x427a8c[_0x7abe('0xd9')](_0x13715a[_0x7abe('0x2e')]({'exitAt':moment()[_0x7abe('0x6b')](_0x7abe('0xda'))}));});return BPromise['all'](_0x427a8c);}})['then'](function(){if(_0x28b827){var _0x62cef3=[];var _0x1d32ee=[];var _0xca7dd0=utils['getChannels']();var _0x18845f={'membername':_0x28b827[_0x7abe('0x42')],'interface':_0x1e3330,'enterAt':moment()[_0x7abe('0x6b')](_0x7abe('0xda')),'role':_0x28b827['role'],'internal':_0x28b827['internal']};_0xca7dd0['forEach'](function(_0xea10a7){_0x62cef3[_0x7abe('0xd9')](_[_0x7abe('0x52')]({'channel':_0xea10a7,'type':_0x7abe('0xdb'),'data1':_0x465467[_0x7abe('0x61')]['device'],'data2':_0x1e3330},_0x18845f));if(_0x28b827[_0x7abe('0xd5')]){_0x1d32ee['push'](_[_0x7abe('0x52')]({'channel':_0xea10a7,'type':_0x7abe('0xdc'),'data1':'LOGININPAUSE'},_0x18845f));}});return db[_0x7abe('0xdd')][_0x7abe('0x60')](_0x62cef3[_0x7abe('0xde')](_0x1d32ee),{'individualHooks':!![]});}})[_0x7abe('0x1c')](function(){if(_0x28b827){return _0x28b827[_0x7abe('0x2e')]({'online':!![],'lastLoginAt':moment()[_0x7abe('0x6b')](_0x7abe('0xda')),'voicePause':_0x28b827[_0x7abe('0xd5')]||![],'mailPause':_0x28b827[_0x7abe('0xd5')]||![],'chatPause':_0x28b827[_0x7abe('0xd5')]||![],'faxPause':_0x28b827[_0x7abe('0xd5')]||![],'smsPause':_0x28b827[_0x7abe('0xd5')]||![],'openchannelPause':_0x28b827[_0x7abe('0xd5')]||![],'whatsappPause':_0x28b827[_0x7abe('0xd5')]||![],'pauseType':_0x28b827[_0x7abe('0xd5')]?'LOGININPAUSE':null,'interface':_0x1e3330,'lastPauseAt':moment()[_0x7abe('0x6b')]('YYYY-MM-DD\x20HH:mm:ss')});}})[_0x7abe('0x1c')](function(_0x4a24af){if(_0x465467[_0x7abe('0xdf')]){return _0x23d02e();}else{return BPromise[_0x7abe('0xe0')](_0x4a24af)['then'](respondWithResult(_0x489ab6,null));}})['catch'](handleError(_0x489ab6,null));};exports[_0x7abe('0xe1')]=function(_0x170f18,_0x223a02,_0x94a9d){var _0x5663f8;return db[_0x7abe('0x57')][_0x7abe('0x5f')]({'where':{'id':_0x170f18['params']['id'],'role':_0x7abe('0x7a')},'attributes':['id',_0x7abe('0x42'),'role']})['then'](handleEntityNotFound(_0x223a02,null))[_0x7abe('0x1c')](function(_0x2efbcd){if(_0x2efbcd){_0x5663f8=_0x2efbcd;return db[_0x7abe('0xa0')][_0x7abe('0x2f')]({'where':{'membername':_0x5663f8['name']},'individualHooks':!![]});}})[_0x7abe('0x1c')](function(){return db[_0x7abe('0xdd')]['findAll']({'where':{'membername':_0x5663f8['name'],'exitAt':null}});})['then'](function(_0x3c0d81){var _0x4d4ec7=[];_0x3c0d81[_0x7abe('0xd8')](function(_0x1aad9){_0x4d4ec7[_0x7abe('0xd9')](_0x1aad9[_0x7abe('0x2e')]({'exitAt':moment()[_0x7abe('0x6b')](_0x7abe('0xda'))}));});return BPromise[_0x7abe('0xe2')](_0x4d4ec7);})['then'](function(){return _0x5663f8[_0x7abe('0x2e')]({'online':![],'lastLoginAt':null,'voicePause':![],'mailPause':![],'chatPause':![],'faxPause':![],'smsPause':![],'openchannelPause':![],'whatsappPause':![],'interface':null});})[_0x7abe('0x1c')](respondWithResult(_0x223a02,null))[_0x7abe('0x23')](handleError(_0x223a02,null));};exports[_0x7abe('0xe3')]=function(_0x469ed4,_0xe11ac7,_0x1ef47a){var _0x14e735;return db['UserVoiceQueueRt']['update']({'paused':0x1},{'where':{'UserId':_0x469ed4[_0x7abe('0x5d')]['id']},'individualHooks':!![]})['then'](function(){return db[_0x7abe('0x57')]['find']({'where':{'id':_0x469ed4[_0x7abe('0x5d')]['id'],'role':_0x7abe('0x7a')},'attributes':['id','name',_0x7abe('0x38'),_0x7abe('0x6e'),_0x7abe('0x96')]});})[_0x7abe('0x1c')](handleEntityNotFound(_0xe11ac7,null))[_0x7abe('0x1c')](function(_0x399727){if(_0x399727){_0x14e735=_0x399727;return respondWithRpcPromise(_0x7abe('0xe4'),_0x7abe('0xe3'),{'id':_0x14e735['id'],'name':_0x14e735[_0x7abe('0x42')],'pause':!![]});}})['then'](function(){if(_0x14e735){return db[_0x7abe('0xdd')][_0x7abe('0x5a')]({'where':{'membername':_0x14e735[_0x7abe('0x42')],'type':_0x7abe('0xdc'),'exitAt':null}});}})[_0x7abe('0x1c')](function(_0x339cd3){if(_0x339cd3[_0x7abe('0x4a')]){var _0x95b0dd=moment()[_0x7abe('0x6b')]('YYYY-MM-DD\x20HH:mm:ss');for(var _0x560dc4=0x0,_0xcf4306=_0x339cd3[_0x7abe('0x4a')];_0x560dc4<_0xcf4306;_0x560dc4++){_0x339cd3[_0x560dc4]['updateAttributes']({'exitAt':_0x95b0dd});}}})['then'](function(){var _0x28cae3=[];var _0x539560=utils['getChannels']();_0x539560['forEach'](function(_0x31cd4b){_0x28cae3['push']({'channel':_0x31cd4b,'membername':_0x14e735['name'],'interface':_[_0x7abe('0x69')](_0x14e735['interface'])?util[_0x7abe('0x6b')]('SIP/%s',_0x14e735['name']):_0x14e735[_0x7abe('0x96')],'type':'PAUSE','enterAt':moment()[_0x7abe('0x6b')](_0x7abe('0xda')),'data1':_0x469ed4['body'][_0x7abe('0x3e')]||_0x7abe('0xe5'),'role':_0x14e735[_0x7abe('0x38')],'internal':_0x14e735[_0x7abe('0x6e')]});});return db[_0x7abe('0xdd')][_0x7abe('0x60')](_0x28cae3,{'individualHooks':!![]});})[_0x7abe('0x1c')](function(){return _0x14e735[_0x7abe('0x2e')]({'voicePause':!![],'mailPause':!![],'chatPause':!![],'faxPause':!![],'smsPause':!![],'whatsappPause':!![],'openchannelPause':!![],'pauseType':_0x469ed4[_0x7abe('0x61')][_0x7abe('0x3e')]||_0x7abe('0xe5'),'lastPauseAt':moment()[_0x7abe('0x6b')](_0x7abe('0xda'))});})[_0x7abe('0x1c')](respondWithResult(_0xe11ac7,null))[_0x7abe('0x23')](handleError(_0xe11ac7,null));};exports[_0x7abe('0xe6')]=function(_0x2347b8,_0x587d9c,_0x45ef7d){var _0x153797;return db[_0x7abe('0x57')]['find']({'where':{'id':_0x2347b8[_0x7abe('0x5d')]['id']},'attributes':['id',_0x7abe('0x42'),'role','voicePause','mailPause',_0x7abe('0xe7'),_0x7abe('0xe8'),_0x7abe('0xe9'),_0x7abe('0xea'),'whatsapppause',_0x7abe('0xeb'),_0x7abe('0xec')]})[_0x7abe('0x1c')](handleEntityNotFound(_0x587d9c,null))[_0x7abe('0x1c')](function(_0x5da4ed){if(_0x5da4ed){_0x153797=_0x5da4ed;if(_0x2347b8['body'][_0x7abe('0xa3')]&&!utils[_0x7abe('0xa4')](_0x2347b8[_0x7abe('0x61')][_0x7abe('0xa3')])){throw new db[(_0x7abe('0x1b'))][(_0x7abe('0x8e'))](_0x7abe('0xa5'));}switch(_0x2347b8[_0x7abe('0x61')][_0x7abe('0xa3')]){case _0x7abe('0x9f'):return respondWithRpcPromise(_0x7abe('0xe4'),_0x7abe('0xe6'),{'id':_0x153797['id'],'name':_0x153797[_0x7abe('0x42')],'pause':![]})['then'](function(){return db[_0x7abe('0xa0')][_0x7abe('0x2e')]({'paused':0x0},{'where':{'UserId':_0x153797['id']},'individualHooks':!![]});})[_0x7abe('0x1c')](function(){return db[_0x7abe('0xdd')][_0x7abe('0x5f')]({'where':{'channel':_0x2347b8[_0x7abe('0x61')][_0x7abe('0xa3')],'membername':_0x153797['name'],'type':_0x7abe('0xdc'),'exitAt':null}});})[_0x7abe('0x1c')](function(_0x197f60){if(_0x197f60){return _0x197f60[_0x7abe('0x2e')]({'exitAt':moment()[_0x7abe('0x6b')](_0x7abe('0xda')),'data2':_0x7abe('0xed')},{'individualHooks':!![]});}return null;})[_0x7abe('0x1c')](function(){return _0x153797[_0x7abe('0x2e')]({'voicePause':![]});});case _0x7abe('0xee'):case _0x7abe('0xef'):case _0x7abe('0xf0'):case'sms':case _0x7abe('0xf1'):case _0x7abe('0xf2'):return db['MemberReport'][_0x7abe('0x5f')]({'where':{'channel':_0x2347b8[_0x7abe('0x61')][_0x7abe('0xa3')],'membername':_0x153797[_0x7abe('0x42')],'type':'PAUSE','exitAt':null}})['then'](function(_0x3c67fa){if(_0x3c67fa){return _0x3c67fa['update']({'exitAt':moment()[_0x7abe('0x6b')](_0x7abe('0xda')),'data2':'manual'},{'individualHooks':!![]});}return null;})[_0x7abe('0x1c')](function(){var _0x3483c={};_[_0x7abe('0xf3')](_0x3483c,util['format'](_0x7abe('0xf4'),_0x2347b8['body']['channel'],'Pause'),![]);return _0x153797[_0x7abe('0x2e')](_0x3483c);});default:return respondWithRpcPromise('QueuePause',_0x7abe('0xe6'),{'id':_0x153797['id'],'name':_0x153797[_0x7abe('0x42')],'pause':![]})['then'](function(){return db['UserVoiceQueueRt'][_0x7abe('0x2e')]({'paused':0x0},{'where':{'UserId':_0x153797['id']}});})[_0x7abe('0x1c')](function(){return db[_0x7abe('0xdd')][_0x7abe('0x5a')]({'where':{'membername':_0x153797[_0x7abe('0x42')],'type':_0x7abe('0xdc'),'exitAt':null}});})['then'](function(_0x3f1c7a){var _0x524743=[];_0x3f1c7a[_0x7abe('0xd8')](function(_0x123265){_0x524743[_0x7abe('0xd9')](_0x123265['update']({'exitAt':moment()[_0x7abe('0x6b')]('YYYY-MM-DD\x20HH:mm:ss'),'data2':_0x7abe('0xed')}));});return BPromise[_0x7abe('0xe2')](_0x524743);})[_0x7abe('0x1c')](function(){return _0x153797[_0x7abe('0x2e')]({'voicePause':![],'mailPause':![],'chatPause':![],'faxPause':![],'smsPause':![],'whatsappPause':![],'openchannelPause':![]});});}}})['then'](respondWithResult(_0x587d9c,null))['catch'](handleError(_0x587d9c,null));};exports['getTeams']=function(_0x291577,_0x11f2a2,_0x18f849){var _0x33bb3b={};var _0x1b8f2e={};var _0x4565ae;var _0x7e3943;return db['User'][_0x7abe('0xb3')]({'where':{'id':_0x291577[_0x7abe('0x5d')]['id']}})[_0x7abe('0x1c')](handleEntityNotFound(_0x11f2a2,null))[_0x7abe('0x1c')](function(_0x2a3874){if(_0x2a3874){_0x4565ae=_0x2a3874;_0x1b8f2e['model']=_[_0x7abe('0x45')](db[_0x7abe('0xf5')][_0x7abe('0x3c')]);_0x1b8f2e[_0x7abe('0x44')]=_[_0x7abe('0x45')](_0x291577[_0x7abe('0x44')]);_0x1b8f2e[_0x7abe('0x46')]=_[_0x7abe('0x47')](_0x1b8f2e['model'],_0x1b8f2e[_0x7abe('0x44')]);_0x33bb3b['attributes']=_[_0x7abe('0x47')](_0x1b8f2e['model'],qs['fields'](_0x291577[_0x7abe('0x44')][_0x7abe('0x49')]));_0x33bb3b[_0x7abe('0x48')]=_0x33bb3b[_0x7abe('0x48')][_0x7abe('0x4a')]?_0x33bb3b['attributes']:_0x1b8f2e[_0x7abe('0x40')];_0x33bb3b['order']=qs[_0x7abe('0x4f')](_0x291577[_0x7abe('0x44')]['sort']);_0x33bb3b['where']=qs[_0x7abe('0x46')](_[_0x7abe('0x51')](_0x291577[_0x7abe('0x44')],_0x1b8f2e[_0x7abe('0x46')]));if(_0x291577[_0x7abe('0x44')][_0x7abe('0x34')]){_0x33bb3b[_0x7abe('0x50')]=_[_0x7abe('0x52')](_0x33bb3b['where'],{'$or':_[_0x7abe('0x3b')](_0x33bb3b[_0x7abe('0x48')],function(_0x56b4fd){var _0xec63ed={};_0xec63ed[_0x56b4fd]={'$like':'%'+_0x291577[_0x7abe('0x44')][_0x7abe('0x34')]+'%'};return _0xec63ed;})});}_0x33bb3b=_[_0x7abe('0x52')]({},_0x33bb3b,_0x291577[_0x7abe('0x56')]);return _0x4565ae['getTeams'](_0x33bb3b);}})[_0x7abe('0x1c')](function(_0x593fe3){if(_0x593fe3){_0x7e3943=_0x593fe3[_0x7abe('0x4a')];if(!_0x291577['query']['hasOwnProperty'](_0x7abe('0x4c'))){_0x33bb3b[_0x7abe('0x4d')]=qs[_0x7abe('0x4d')](_0x291577[_0x7abe('0x44')][_0x7abe('0x4d')]);_0x33bb3b[_0x7abe('0x28')]=qs[_0x7abe('0x28')](_0x291577['query'][_0x7abe('0x28')]);}return _0x4565ae['getTeams'](_0x33bb3b);}})['then'](function(_0x436d3d){if(_0x436d3d){return _0x436d3d?{'count':_0x7e3943,'rows':_0x436d3d}:null;}})[_0x7abe('0x1c')](respondWithResult(_0x11f2a2,null))[_0x7abe('0x23')](handleError(_0x11f2a2,null));};exports[_0x7abe('0xf6')]=function(_0x44c821,_0x57dc77){return db[_0x7abe('0x57')][_0x7abe('0x5f')]({'where':{'id':_0x44c821[_0x7abe('0x5d')]['id']}})['then'](handleEntityNotFound(_0x57dc77,null))[_0x7abe('0x1c')](function(_0x86339b){if(_0x86339b){var _0x40bdf5=_0x86339b['get']({'plain':!![]});return _0x86339b[_0x7abe('0xf6')](_0x44c821[_0x7abe('0x61')][_0x7abe('0x9b')],_[_0x7abe('0x63')](_0x44c821[_0x7abe('0x61')],[_0x7abe('0x9b'),'id'])||{})['then'](function(){for(var _0x15f02c=0x0;_0x15f02c<_0x44c821[_0x7abe('0x61')]['ids'][_0x7abe('0x4a')];_0x15f02c++){var _0x202c02=[];db['Team'][_0x7abe('0xb3')]({'where':{'id':_0x44c821[_0x7abe('0x61')][_0x7abe('0x9b')][_0x15f02c]}})[_0x7abe('0x1c')](function(_0x488814){_0x202c02[_0x7abe('0xd9')](_0x488814[_0x7abe('0xd4')]()[_0x7abe('0x1c')](function(_0x48c43a){for(var _0x1713a4=0x0;_0x1713a4<_0x48c43a['length'];_0x1713a4++){_0x48c43a[_0x1713a4][_0x7abe('0xf7')](_0x7abe('0xa3'),'Voice');}return _0x48c43a;}));_0x202c02['push'](_0x488814[_0x7abe('0xf8')]()[_0x7abe('0x1c')](function(_0x47031e){for(var _0x16cb51=0x0;_0x16cb51<_0x47031e[_0x7abe('0x4a')];_0x16cb51++){_0x47031e[_0x16cb51][_0x7abe('0xf7')]('channel',_0x7abe('0xf9'));}return _0x47031e;}));_0x202c02[_0x7abe('0xd9')](_0x488814[_0x7abe('0xfa')]()[_0x7abe('0x1c')](function(_0x298716){for(var _0x502951=0x0;_0x502951<_0x298716['length'];_0x502951++){_0x298716[_0x502951]['setDataValue'](_0x7abe('0xa3'),_0x7abe('0xfb'));}return _0x298716;}));_0x202c02[_0x7abe('0xd9')](_0x488814[_0x7abe('0xfc')]()['then'](function(_0x3ccb3b){for(var _0x399dcd=0x0;_0x399dcd<_0x3ccb3b[_0x7abe('0x4a')];_0x399dcd++){_0x3ccb3b[_0x399dcd][_0x7abe('0xf7')]('channel','Sms');}return _0x3ccb3b;}));_0x202c02[_0x7abe('0xd9')](_0x488814[_0x7abe('0xfd')]()['then'](function(_0x438fb3){for(var _0x361f31=0x0;_0x361f31<_0x438fb3[_0x7abe('0x4a')];_0x361f31++){_0x438fb3[_0x361f31][_0x7abe('0xf7')](_0x7abe('0xa3'),_0x7abe('0xfe'));}return _0x438fb3;}));_0x202c02[_0x7abe('0xd9')](_0x488814[_0x7abe('0xff')]()[_0x7abe('0x1c')](function(_0x2638b1){for(var _0x3d2d5b=0x0;_0x3d2d5b<_0x2638b1[_0x7abe('0x4a')];_0x3d2d5b++){_0x2638b1[_0x3d2d5b][_0x7abe('0xf7')](_0x7abe('0xa3'),_0x7abe('0x100'));}return _0x2638b1;}));_0x202c02[_0x7abe('0xd9')](_0x488814['getOpenchannelQueues']()['then'](function(_0xfb68ab){for(var _0x63f8e3=0x0;_0x63f8e3<_0xfb68ab[_0x7abe('0x4a')];_0x63f8e3++){_0xfb68ab[_0x63f8e3][_0x7abe('0xf7')](_0x7abe('0xa3'),_0x7abe('0x101'));}return _0xfb68ab;}));return BPromise[_0x7abe('0xe2')](_0x202c02);})['then'](function(_0x1750fe){var _0x4dc4ee=_[_0x7abe('0x102')](_0x1750fe);_0x202c02=[];return db['sequelize']['transaction'](function(_0x44d70f){for(var _0x3ebba4=0x0;_0x3ebba4<_0x4dc4ee[_0x7abe('0x4a')];_0x3ebba4++){_0x202c02['push'](_0x4dc4ee[_0x3ebba4][_0x7abe('0x103')](_0x40bdf5['id']),{'transaction':_0x44d70f});}return BPromise[_0x7abe('0xe2')](_0x202c02)[_0x7abe('0x1c')](function(){if(_0x40bdf5['online']){return BPromise[_0x7abe('0xd7')](_['filter'](_0x4dc4ee,function(_0x1a91e6){return _0x1a91e6[_0x7abe('0x104')](_0x7abe('0xa3'))==='Voice';}),function(_0x394ca2){return db[_0x7abe('0xa0')]['upsert']({'membername':_0x40bdf5['name'],'UserId':_0x40bdf5['id'],'queue_name':_0x394ca2[_0x7abe('0x42')],'VoiceQueueId':_0x394ca2['id'],'interface':_['isNil'](_0x40bdf5['interface'])?util[_0x7abe('0x6b')]('SIP/%s',_0x40bdf5[_0x7abe('0x42')]):_0x40bdf5[_0x7abe('0x96')],'paused':_0x40bdf5[_0x7abe('0x95')]||![],'penalty':_0x40bdf5[_0x7abe('0x9c')]},{'transaction':_0x44d70f});});}else{return;}})['then'](function(){for(var _0xcdb011=0x0;_0xcdb011<_0x4dc4ee[_0x7abe('0x4a')];_0xcdb011++){var _0x297046=_0x4dc4ee[_0xcdb011][_0x7abe('0x104')](_0x7abe('0xa3'));var _0x2a772b=_0x297046+_0x7abe('0x9d');socket[_0x7abe('0x9e')]('user'+_0x297046+_0x7abe('0x105'),{'UserId':_0x40bdf5['id'],['queueField']:_0x4dc4ee[_0xcdb011]['id']});}});});});}});}})[_0x7abe('0x1c')](respondWithStatusCode(_0x57dc77,null))['catch'](handleError(_0x57dc77,null));};exports[_0x7abe('0x106')]=function(_0x8126c8,_0x3e4397){return db[_0x7abe('0x57')][_0x7abe('0xb3')]({'where':{'id':_0x8126c8[_0x7abe('0x5d')]['id']}})['then'](handleEntityNotFound(_0x3e4397,null))[_0x7abe('0x1c')](function(_0x13ac25){if(_0x13ac25){var _0x59bcee=_0x13ac25[_0x7abe('0x86')]({'plain':!![]});var _0x2ab0c5=_0x8126c8[_0x7abe('0x44')][_0x7abe('0x9b')];return _0x13ac25['removeTeams'](_0x2ab0c5)['then'](function(){for(var _0x4f9c80=0x0;_0x4f9c80<_0x2ab0c5[_0x7abe('0x4a')];_0x4f9c80++){var _0x38bca0=[];db[_0x7abe('0xf5')][_0x7abe('0xb3')]({'where':{'id':_0x2ab0c5[_0x4f9c80]}})[_0x7abe('0x1c')](function(_0x30da87){_0x38bca0[_0x7abe('0xd9')](_0x30da87[_0x7abe('0xd4')]()['then'](function(_0x5b085e){for(var _0x55439d=0x0;_0x55439d<_0x5b085e['length'];_0x55439d++){_0x5b085e[_0x55439d][_0x7abe('0xf7')](_0x7abe('0xa3'),_0x7abe('0x107'));}return _0x5b085e;}));_0x38bca0[_0x7abe('0xd9')](_0x30da87['getChatQueues']()['then'](function(_0x47e567){for(var _0x4d81a0=0x0;_0x4d81a0<_0x47e567[_0x7abe('0x4a')];_0x4d81a0++){_0x47e567[_0x4d81a0][_0x7abe('0xf7')]('channel',_0x7abe('0xf9'));}return _0x47e567;}));_0x38bca0[_0x7abe('0xd9')](_0x30da87[_0x7abe('0xfa')]()[_0x7abe('0x1c')](function(_0x509840){for(var _0x2e356a=0x0;_0x2e356a<_0x509840[_0x7abe('0x4a')];_0x2e356a++){_0x509840[_0x2e356a][_0x7abe('0xf7')](_0x7abe('0xa3'),_0x7abe('0xfb'));}return _0x509840;}));_0x38bca0['push'](_0x30da87[_0x7abe('0xfc')]()[_0x7abe('0x1c')](function(_0x1af38a){for(var _0x377b52=0x0;_0x377b52<_0x1af38a[_0x7abe('0x4a')];_0x377b52++){_0x1af38a[_0x377b52][_0x7abe('0xf7')](_0x7abe('0xa3'),_0x7abe('0x108'));}return _0x1af38a;}));_0x38bca0[_0x7abe('0xd9')](_0x30da87[_0x7abe('0xfd')]()[_0x7abe('0x1c')](function(_0x9e85e4){for(var _0x41b0ad=0x0;_0x41b0ad<_0x9e85e4['length'];_0x41b0ad++){_0x9e85e4[_0x41b0ad][_0x7abe('0xf7')]('channel','Whatsapp');}return _0x9e85e4;}));_0x38bca0[_0x7abe('0xd9')](_0x30da87[_0x7abe('0xff')]()[_0x7abe('0x1c')](function(_0x5ab5f5){for(var _0x516758=0x0;_0x516758<_0x5ab5f5[_0x7abe('0x4a')];_0x516758++){_0x5ab5f5[_0x516758][_0x7abe('0xf7')]('channel',_0x7abe('0x100'));}return _0x5ab5f5;}));_0x38bca0[_0x7abe('0xd9')](_0x30da87[_0x7abe('0x109')]()[_0x7abe('0x1c')](function(_0x1bc0ec){for(var _0x39a7ff=0x0;_0x39a7ff<_0x1bc0ec[_0x7abe('0x4a')];_0x39a7ff++){_0x1bc0ec[_0x39a7ff][_0x7abe('0xf7')](_0x7abe('0xa3'),_0x7abe('0x101'));}return _0x1bc0ec;}));return BPromise[_0x7abe('0xe2')](_0x38bca0);})[_0x7abe('0x1c')](function(_0x1d65e3){var _0x2f99d4=_[_0x7abe('0x102')](_0x1d65e3);_0x38bca0=[];return db[_0x7abe('0x53')][_0x7abe('0x10a')](function(_0x5ad4d4){for(var _0x40cf98=0x0;_0x40cf98<_0x2f99d4['length'];_0x40cf98++){_0x38bca0[_0x7abe('0xd9')](_0x2f99d4[_0x40cf98][_0x7abe('0x10b')](_0x59bcee['id']),{'transaction':_0x5ad4d4});}return BPromise[_0x7abe('0xe2')](_0x38bca0)[_0x7abe('0x1c')](function(){if(_0x59bcee[_0x7abe('0x94')]){return BPromise[_0x7abe('0xd7')](_['filter'](_0x2f99d4,function(_0x537876){return _0x537876[_0x7abe('0x104')]('channel')==='Voice';}),function(_0x1e65a0){return db[_0x7abe('0xa0')][_0x7abe('0x2f')]({'where':{'VoiceQueueId':_0x1e65a0['id'],'UserId':_0x59bcee['id']},'transaction':_0x5ad4d4});});}else{return;}})[_0x7abe('0x1c')](function(){for(var _0x230600=0x0;_0x230600<_0x2f99d4[_0x7abe('0x4a')];_0x230600++){var _0x26fe4e=_0x2f99d4[_0x230600]['getDataValue']('channel');var _0xaef420=_0x26fe4e+_0x7abe('0x9d');socket['emit']('user'+_0x26fe4e+_0x7abe('0x10c'),{'UserId':_0x59bcee['id'],['queueField']:_0x2f99d4[_0x230600]['id']});}});});});}});}})[_0x7abe('0x1c')](respondWithStatusCode(_0x3e4397,null))[_0x7abe('0x23')](handleError(_0x3e4397,null));};exports['getLists']=function(_0x9edc22,_0x44df73,_0x2eb6af){var _0x2b87d6={};var _0x13002c={};var _0x2318f3;var _0x3f5df1;return db[_0x7abe('0x57')][_0x7abe('0xb3')]({'where':{'id':_0x9edc22['params']['id']}})[_0x7abe('0x1c')](handleEntityNotFound(_0x44df73,null))[_0x7abe('0x1c')](function(_0x218d03){if(_0x218d03){_0x2318f3=_0x218d03;_0x13002c[_0x7abe('0x40')]=_[_0x7abe('0x45')](db['CmList'][_0x7abe('0x3c')]);_0x13002c[_0x7abe('0x44')]=_['keys'](_0x9edc22[_0x7abe('0x44')]);_0x13002c[_0x7abe('0x46')]=_[_0x7abe('0x47')](_0x13002c['model'],_0x13002c[_0x7abe('0x44')]);_0x2b87d6[_0x7abe('0x48')]=_[_0x7abe('0x47')](_0x13002c['model'],qs[_0x7abe('0x49')](_0x9edc22[_0x7abe('0x44')]['fields']));_0x2b87d6[_0x7abe('0x48')]=_0x2b87d6[_0x7abe('0x48')][_0x7abe('0x4a')]?_0x2b87d6[_0x7abe('0x48')]:_0x13002c['model'];_0x2b87d6[_0x7abe('0x4e')]=qs[_0x7abe('0x4f')](_0x9edc22[_0x7abe('0x44')]['sort']);_0x2b87d6[_0x7abe('0x50')]=qs['filters'](_[_0x7abe('0x51')](_0x9edc22[_0x7abe('0x44')],_0x13002c[_0x7abe('0x46')]));if(_0x9edc22[_0x7abe('0x44')]['filter']){_0x2b87d6[_0x7abe('0x50')]=_[_0x7abe('0x52')](_0x2b87d6['where'],{'$or':_[_0x7abe('0x3b')](_0x2b87d6[_0x7abe('0x48')],function(_0x294dd8){var _0x2f2976={};_0x2f2976[_0x294dd8]={'$like':'%'+_0x9edc22['query'][_0x7abe('0x34')]+'%'};return _0x2f2976;})});}_0x2b87d6=_['merge']({},_0x2b87d6,_0x9edc22[_0x7abe('0x56')]);return _0x2318f3['getLists'](_0x2b87d6);}})['then'](function(_0x3990b1){if(_0x3990b1){_0x3f5df1=_0x3990b1[_0x7abe('0x4a')];if(!_0x9edc22[_0x7abe('0x44')]['hasOwnProperty'](_0x7abe('0x4c'))){_0x2b87d6[_0x7abe('0x4d')]=qs['limit'](_0x9edc22[_0x7abe('0x44')][_0x7abe('0x4d')]);_0x2b87d6['offset']=qs[_0x7abe('0x28')](_0x9edc22[_0x7abe('0x44')][_0x7abe('0x28')]);}return _0x2318f3[_0x7abe('0x10d')](_0x2b87d6);}})[_0x7abe('0x1c')](function(_0x50962a){if(_0x50962a){return _0x50962a?{'count':_0x3f5df1,'rows':_0x50962a}:null;}})[_0x7abe('0x1c')](respondWithResult(_0x44df73,null))['catch'](handleError(_0x44df73,null));};exports[_0x7abe('0x10e')]=function(_0x2b6328,_0x14bf8f,_0x36a671){var _0x5aa76d={};var _0x404b70={};var _0x3c7564;var _0x2c6e93;return db[_0x7abe('0x57')]['findOne']({'where':{'id':_0x2b6328[_0x7abe('0x5d')]['id']}})[_0x7abe('0x1c')](handleEntityNotFound(_0x14bf8f,null))[_0x7abe('0x1c')](function(_0x87fdb5){if(_0x87fdb5){_0x3c7564=_0x87fdb5;_0x404b70[_0x7abe('0x40')]=_['keys'](db[_0x7abe('0x57')]['rawAttributes']);_0x404b70[_0x7abe('0x44')]=_[_0x7abe('0x45')](_0x2b6328['query']);_0x404b70['filters']=_[_0x7abe('0x47')](_0x404b70['model'],_0x404b70[_0x7abe('0x44')]);_0x5aa76d['attributes']=_[_0x7abe('0x47')](_0x404b70[_0x7abe('0x40')],qs['fields'](_0x2b6328[_0x7abe('0x44')][_0x7abe('0x49')]));_0x5aa76d[_0x7abe('0x48')]=_0x5aa76d['attributes']['length']?_0x5aa76d['attributes']:_0x404b70[_0x7abe('0x40')];_0x5aa76d[_0x7abe('0x4e')]=qs[_0x7abe('0x4f')](_0x2b6328[_0x7abe('0x44')][_0x7abe('0x4f')]);_0x5aa76d[_0x7abe('0x50')]=qs['filters'](_[_0x7abe('0x51')](_0x2b6328['query'],_0x404b70['filters']));if(_0x2b6328[_0x7abe('0x44')][_0x7abe('0x34')]){_0x5aa76d[_0x7abe('0x50')]=_[_0x7abe('0x52')](_0x5aa76d[_0x7abe('0x50')],{'$or':_[_0x7abe('0x3b')](_0x5aa76d[_0x7abe('0x48')],function(_0x37f3e1){var _0x3d5809={};_0x3d5809[_0x37f3e1]={'$like':'%'+_0x2b6328[_0x7abe('0x44')][_0x7abe('0x34')]+'%'};return _0x3d5809;})});}_0x5aa76d[_0x7abe('0x40')]=db[_0x7abe('0x57')];_0x5aa76d['as']=_0x7abe('0x32');_0x5aa76d=_[_0x7abe('0x52')]({},_0x5aa76d,_0x2b6328[_0x7abe('0x56')]);return _0x3c7564['getVoiceQueues']({'include':[_0x5aa76d]});}})[_0x7abe('0x1c')](function(_0x579700){if(_0x579700){var _0x287be6={},_0x498a3b=[],_0xd5488e=0x0;for(var _0x515561=0x0;_0x515561<_0x579700['length'];_0x515561+=0x1){for(var _0x1828e9=0x0,_0x1c1878;_0x1828e9<_0x579700[_0x515561][_0x7abe('0x32')][_0x7abe('0x4a')];_0x1828e9+=0x1){_0x1c1878=_0x579700[_0x515561]['Agents'][_0x1828e9][_0x7abe('0x86')]({'plain':!![]});_0x287be6[_0x1c1878['id']]=_0x1c1878;}}_0x287be6=_[_0x7abe('0x10f')](_0x287be6);for(var _0x169623=qs['offset'](_0x2b6328['query']['offset']);_0x169623<_0x287be6['length']&&_0x498a3b[_0x7abe('0x4a')]=_0x585084[_0xa8ed('0x50')]){throw new Error(_0xa8ed('0x51'));}})[_0xa8ed('0xf')](function(){if(_0x34434d){return db[_0xa8ed('0x43')]['destroy']({'where':{'membername':_0x34434d[_0xa8ed('0x2d')]},'individualHooks':!![]});}})[_0xa8ed('0xf')](function(){if(_0x34434d){return _0x34434d[_0xa8ed('0x52')]({'raw':!![]});}})['then'](function(_0x4e2a4b){if(_0x34434d){if(_0x4e2a4b){var _0x36b98f=[];_0x2bf68d=_0x4e2a4b;if(_0x2bf68d[_0xa8ed('0x31')]){for(var _0x2b0d64=0x0;_0x2b0d64<_0x2bf68d[_0xa8ed('0x31')];_0x2b0d64++){_0x36b98f[_0xa8ed('0x44')](db['UserVoiceQueueRt'][_0xa8ed('0x53')]({'membername':_0x34434d[_0xa8ed('0x2d')],'UserId':_0x34434d['id'],'queue_name':_0x2bf68d[_0x2b0d64][_0xa8ed('0x2d')],'VoiceQueueId':_0x2bf68d[_0x2b0d64]['id'],'interface':_0x4bf148,'paused':_0x34434d['loginInPause']||![],'penalty':_0x2bf68d[_0x2b0d64][_0xa8ed('0x54')]||0x0}));}return BPromise[_0xa8ed('0x45')](_0x36b98f);}}}})[_0xa8ed('0xf')](function(){if(_0x34434d){return db[_0xa8ed('0x2c')][_0xa8ed('0x1c')]({'where':{'membername':_0x34434d[_0xa8ed('0x2d')],'exitAt':null}});}})[_0xa8ed('0xf')](function(_0x4f5388){if(_0x34434d){if(_0x4f5388&&_0x4f5388[_0xa8ed('0x31')]){var _0x3a6220=[];_0x4f5388[_0xa8ed('0x33')](function(_0xc51901){_0x3a6220[_0xa8ed('0x44')](_0xc51901[_0xa8ed('0x2b')]({'exitAt':moment()[_0xa8ed('0x2f')](_0xa8ed('0x30'))}));});return BPromise[_0xa8ed('0x45')](_0x3a6220);}}})[_0xa8ed('0xf')](function(_0x2e62ee){if(_0x34434d){var _0x1cc812=[];var _0xc7a3dd=[];var _0x43e9a8=utils[_0xa8ed('0x32')]();var _0x4ad827={'membername':_0x34434d[_0xa8ed('0x2d')],'interface':_0x4bf148,'enterAt':moment()[_0xa8ed('0x2f')](_0xa8ed('0x30')),'role':_0x34434d[_0xa8ed('0x28')],'internal':_0x34434d[_0xa8ed('0x29')]};_0x43e9a8[_0xa8ed('0x33')](function(_0x5b3e93){_0x1cc812[_0xa8ed('0x44')](_['merge']({'channel':_0x5b3e93,'type':_0xa8ed('0x55'),'data1':_0xa8ed('0x56'),'data2':_0x4bf148},_0x4ad827));if(_0x34434d[_0xa8ed('0x4b')]){_0xc7a3dd[_0xa8ed('0x44')](_[_0xa8ed('0x57')]({'channel':_0x5b3e93,'type':_0xa8ed('0x2e'),'data1':_0xa8ed('0x58')},_0x4ad827));}});return db[_0xa8ed('0x2c')][_0xa8ed('0x36')](_0x1cc812[_0xa8ed('0x59')](_0xc7a3dd),{'individualHooks':!![]});}})[_0xa8ed('0xf')](function(){if(_0x34434d){return _0x34434d[_0xa8ed('0x2b')]({'online':!![],'lastLoginAt':moment()[_0xa8ed('0x2f')](_0xa8ed('0x30')),'voicePause':_0x34434d[_0xa8ed('0x4b')]||![],'mailPause':_0x34434d[_0xa8ed('0x4b')]||![],'chatPause':_0x34434d[_0xa8ed('0x4b')]||![],'faxPause':_0x34434d[_0xa8ed('0x4b')]||![],'smsPause':_0x34434d[_0xa8ed('0x4b')]||![],'openchannelPause':_0x34434d['loginInPause']||![],'pauseType':_0x34434d['loginInPause']?_0xa8ed('0x58'):null,'lastPauseAt':moment()[_0xa8ed('0x2f')]('YYYY-MM-DD\x20HH:mm:ss'),'interface':_0x4bf148});}})[_0xa8ed('0xf')](function(_0x108aa9){_0x1f6c08(_0x108aa9);})['catch'](function(_0x930f7d){_0xa7eed3(_0x410cb9[_0xa8ed('0x14')](0x1f4,_0x930f7d[_0xa8ed('0x15')]));});});}; \ No newline at end of file +var _0xffab=['body','uniqueid','bulkCreate','DEFAULT\x20PAUSE','findOne','channel','isValidChannel','Unknown\x20channel','UserVoiceQueueRt','system','fax','sms','openchannel','set','push','all','LogoutUser','where','destroy','LoginUser','mobile','phone','loginInPause','count','../../config/license/util','agents','Maximum\x20login\x20has\x20been\x20reached','UserVoiceQueue.penalty','LOGIN','merge','LOGININPAUSE','lodash','util','moment','bluebird','ioredis','../../mysqldb','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','client','redis','defaults','socket.io-emitter','request','then','info','User,\x20%s,\x20%s','request\x20sent','debug','User,\x20%s,\x20%s,\x20%s','stringify','error','code','message','result','catch','GetUser','User','findAll','options','attributes','include','map','model','ShowUser','find','raw','PauseUser','role','internal','interface','update','MemberReport','PAUSE','length','format','getChannels','forEach','SIP/%s','name','YYYY-MM-DD\x20HH:mm:ss','type'];(function(_0x3114fa,_0x44c7e1){var _0x4d1c1e=function(_0x585f6b){while(--_0x585f6b){_0x3114fa['push'](_0x3114fa['shift']());}};_0x4d1c1e(++_0x44c7e1);}(_0xffab,0x173));var _0xbffa=function(_0x56756b,_0x3e8cc7){_0x56756b=_0x56756b-0x0;var _0xa3002=_0xffab[_0x56756b];return _0xa3002;};'use strict';var _=require(_0xbffa('0x0'));var util=require(_0xbffa('0x1'));var moment=require(_0xbffa('0x2'));var BPromise=require(_0xbffa('0x3'));var rs=require('randomstring');var fs=require('fs');var Redis=require(_0xbffa('0x4'));var db=require(_0xbffa('0x5'))['db'];var utils=require(_0xbffa('0x6'));var logger=require(_0xbffa('0x7'))(_0xbffa('0x8'));var config=require(_0xbffa('0x9'));var jayson=require(_0xbffa('0xa'));var client=jayson[_0xbffa('0xb')]['http']({'port':0x232a});config[_0xbffa('0xc')]=_[_0xbffa('0xd')](config['redis'],{'host':'localhost','port':0x18eb});var socket=require(_0xbffa('0xe'))(new Redis(config['redis']));require('./user.socket')['register'](socket);function respondWithRpcPromise(_0x368613,_0x3aaa75,_0x3ca805){return new BPromise(function(_0x4c686e,_0x35259c){return client[_0xbffa('0xf')](_0x368613,_0x3ca805)[_0xbffa('0x10')](function(_0x35c71e){logger[_0xbffa('0x11')](_0xbffa('0x12'),_0x3aaa75,_0xbffa('0x13'));logger[_0xbffa('0x14')](_0xbffa('0x15'),_0x3aaa75,_0xbffa('0x13'),JSON[_0xbffa('0x16')](_0x35c71e));if(_0x35c71e[_0xbffa('0x17')]){if(_0x35c71e[_0xbffa('0x17')][_0xbffa('0x18')]===0x1f4){logger[_0xbffa('0x17')](_0xbffa('0x12'),_0x3aaa75,_0x35c71e[_0xbffa('0x17')][_0xbffa('0x19')]);return _0x35259c(_0x35c71e[_0xbffa('0x17')]['message']);}logger[_0xbffa('0x17')](_0xbffa('0x12'),_0x3aaa75,_0x35c71e[_0xbffa('0x17')][_0xbffa('0x19')]);return _0x4c686e(_0x35c71e[_0xbffa('0x17')][_0xbffa('0x19')]);}else{logger['info'](_0xbffa('0x12'),_0x3aaa75,_0xbffa('0x13'));_0x4c686e(_0x35c71e[_0xbffa('0x1a')]['message']);}})[_0xbffa('0x1b')](function(_0xc75256){logger['error'](_0xbffa('0x12'),_0x3aaa75,_0xc75256);_0x35259c(_0xc75256);});});}exports[_0xbffa('0x1c')]=function(_0x93b10e){var _0x45b768=this;return new Promise(function(_0x347c43,_0x196fc7){return db[_0xbffa('0x1d')][_0xbffa('0x1e')]({'raw':_0x93b10e[_0xbffa('0x1f')]?_0x93b10e['options']['raw']===undefined?!![]:![]:!![],'where':_0x93b10e[_0xbffa('0x1f')]?_0x93b10e[_0xbffa('0x1f')]['where']||null:null,'attributes':_0x93b10e[_0xbffa('0x1f')]?_0x93b10e[_0xbffa('0x1f')][_0xbffa('0x20')]||null:null,'limit':_0x93b10e[_0xbffa('0x1f')]?_0x93b10e[_0xbffa('0x1f')]['limit']||null:null,'include':_0x93b10e['options']?_0x93b10e['options'][_0xbffa('0x21')]?_[_0xbffa('0x22')](_0x93b10e[_0xbffa('0x1f')][_0xbffa('0x21')],function(_0x4517cb){return{'model':db[_0x4517cb[_0xbffa('0x23')]],'as':_0x4517cb['as'],'attributes':_0x4517cb[_0xbffa('0x20')],'include':_0x4517cb[_0xbffa('0x21')]?_[_0xbffa('0x22')](_0x4517cb[_0xbffa('0x21')],function(_0x46927b){return{'model':db[_0x46927b['model']],'as':_0x46927b['as'],'attributes':_0x46927b[_0xbffa('0x20')],'include':_0x46927b['include']?_[_0xbffa('0x22')](_0x46927b['include'],function(_0x287364){return{'model':db[_0x287364[_0xbffa('0x23')]],'as':_0x287364['as'],'attributes':_0x287364[_0xbffa('0x20')]};}):[]};}):[]};}):[]:[]})['then'](function(_0x581459){logger[_0xbffa('0x11')](_0xbffa('0x1c'),_0x93b10e);logger[_0xbffa('0x14')](_0xbffa('0x1c'),_0x93b10e,JSON[_0xbffa('0x16')](_0x581459));_0x347c43(_0x581459);})[_0xbffa('0x1b')](function(_0x4e6164){logger['error'](_0xbffa('0x1c'),_0x4e6164[_0xbffa('0x19')],_0x93b10e);_0x196fc7(_0x45b768[_0xbffa('0x17')](0x1f4,_0x4e6164[_0xbffa('0x19')]));});});};exports[_0xbffa('0x24')]=function(_0x3be9c8){var _0xc58f3d=this;return new Promise(function(_0x375e93,_0x23f8da){return db['User'][_0xbffa('0x25')]({'raw':_0x3be9c8[_0xbffa('0x1f')]?_0x3be9c8[_0xbffa('0x1f')][_0xbffa('0x26')]===undefined?!![]:![]:!![],'where':_0x3be9c8['options']?_0x3be9c8['options']['where']||null:null,'attributes':_0x3be9c8['options']?_0x3be9c8[_0xbffa('0x1f')][_0xbffa('0x20')]||null:null,'include':_0x3be9c8[_0xbffa('0x1f')]?_0x3be9c8['options'][_0xbffa('0x21')]?_[_0xbffa('0x22')](_0x3be9c8[_0xbffa('0x1f')]['include'],function(_0x1140b5){return{'model':db[_0x1140b5[_0xbffa('0x23')]],'as':_0x1140b5['as'],'attributes':_0x1140b5['attributes'],'include':_0x1140b5['include']?_[_0xbffa('0x22')](_0x1140b5[_0xbffa('0x21')],function(_0x1a6c36){return{'model':db[_0x1a6c36[_0xbffa('0x23')]],'as':_0x1a6c36['as'],'attributes':_0x1a6c36[_0xbffa('0x20')],'include':_0x1a6c36['include']?_[_0xbffa('0x22')](_0x1a6c36[_0xbffa('0x21')],function(_0x36346a){return{'model':db[_0x36346a[_0xbffa('0x23')]],'as':_0x36346a['as'],'attributes':_0x36346a[_0xbffa('0x20')]};}):[]};}):[]};}):[]:[]})[_0xbffa('0x10')](function(_0x9a9391){logger[_0xbffa('0x11')](_0xbffa('0x24'),_0x3be9c8);logger[_0xbffa('0x14')]('ShowUser',_0x3be9c8,JSON['stringify'](_0x9a9391));_0x375e93(_0x9a9391);})[_0xbffa('0x1b')](function(_0x2d09ea){logger['error'](_0xbffa('0x24'),_0x2d09ea['message'],_0x3be9c8);_0x23f8da(_0xc58f3d[_0xbffa('0x17')](0x1f4,_0x2d09ea[_0xbffa('0x19')]));});});};exports[_0xbffa('0x27')]=function(_0x522a8f){var _0x4fd587=this;return new Promise(function(_0x2cf0c1,_0x140d48){var _0xd57f5c;return db[_0xbffa('0x1d')][_0xbffa('0x25')]({'where':_0x522a8f['options']['where']||{},'attributes':['id','name',_0xbffa('0x28'),_0xbffa('0x29'),_0xbffa('0x2a')]})[_0xbffa('0x10')](function(_0x2bb102){if(_0x2bb102){_0xd57f5c=_0x2bb102;return db['UserVoiceQueueRt'][_0xbffa('0x2b')]({'paused':0x1},{'where':{'UserId':_0xd57f5c['id']},'individualHooks':!![]});}})[_0xbffa('0x10')](function(){if(_0xd57f5c){return db[_0xbffa('0x2c')][_0xbffa('0x1e')]({'where':{'membername':_0xd57f5c['name'],'type':_0xbffa('0x2d'),'exitAt':null}});}})[_0xbffa('0x10')](function(_0x28332e){if(_0xd57f5c){if(_0x28332e&&_0x28332e[_0xbffa('0x2e')]){var _0x1872cb=moment()[_0xbffa('0x2f')]('YYYY-MM-DD\x20HH:mm:ss');for(var _0x3b8516=0x0,_0xf07424=_0x28332e[_0xbffa('0x2e')];_0x3b8516<_0xf07424;_0x3b8516++){_0x28332e[_0x3b8516]['updateAttributes']({'exitAt':_0x1872cb});}}}})[_0xbffa('0x10')](function(){if(_0xd57f5c){var _0x170801=[];var _0x46f3f1=utils[_0xbffa('0x30')]();_0x46f3f1[_0xbffa('0x31')](function(_0x396a7a){_0x170801['push']({'channel':_0x396a7a,'membername':_0xd57f5c['name'],'interface':_['isNil'](_0xd57f5c[_0xbffa('0x2a')])?util[_0xbffa('0x2f')](_0xbffa('0x32'),_0xd57f5c[_0xbffa('0x33')]):_0xd57f5c['interface'],'type':'PAUSE','enterAt':moment()['format'](_0xbffa('0x34')),'data1':_0x522a8f['body'][_0xbffa('0x35')]||'DEFAULT\x20PAUSE','role':_0xd57f5c[_0xbffa('0x28')],'internal':_0xd57f5c[_0xbffa('0x29')],'uniqueid':_0x522a8f[_0xbffa('0x36')][_0xbffa('0x37')]||null});});return db[_0xbffa('0x2c')][_0xbffa('0x38')](_0x170801,{'individualHooks':!![]});}})[_0xbffa('0x10')](function(){if(_0xd57f5c){return _0xd57f5c[_0xbffa('0x2b')]({'voicePause':!![],'mailPause':!![],'chatPause':!![],'faxPause':!![],'smsPause':!![],'openchannelPause':!![],'pauseType':_0x522a8f[_0xbffa('0x36')][_0xbffa('0x35')]||_0xbffa('0x39'),'lastPauseAt':moment()[_0xbffa('0x2f')](_0xbffa('0x34'))});}})['then'](function(_0x2efb41){_0x2cf0c1(_0x2efb41);})[_0xbffa('0x1b')](function(_0x404733){_0x140d48(_0x4fd587[_0xbffa('0x17')](0x1f4,_0x404733[_0xbffa('0x19')]));});});};exports['UnpauseUser']=function(_0x462648){var _0x29a993=this;return new Promise(function(_0x34c573,_0x517495){var _0x3ac271;return db[_0xbffa('0x1d')][_0xbffa('0x3a')]({'where':_0x462648['options']['where']||{},'attributes':['id','name']})['then'](function(_0x30b24e){if(_0x30b24e){_0x3ac271=_0x30b24e;if(_0x462648[_0xbffa('0x36')][_0xbffa('0x3b')]&&!utils[_0xbffa('0x3c')](_0x462648['body'][_0xbffa('0x3b')])){throw new Error(_0xbffa('0x3d'));}switch(_0x462648[_0xbffa('0x36')][_0xbffa('0x3b')]){case'voice':return db[_0xbffa('0x3e')][_0xbffa('0x2b')]({'paused':0x0},{'where':{'UserId':_0x3ac271['id']}})[_0xbffa('0x10')](function(){return db[_0xbffa('0x2c')][_0xbffa('0x25')]({'where':{'channel':_0x462648[_0xbffa('0x36')][_0xbffa('0x3b')],'membername':_0x3ac271[_0xbffa('0x33')],'type':_0xbffa('0x2d'),'exitAt':null}});})[_0xbffa('0x10')](function(_0x207c81){if(_0x207c81){return _0x207c81['update']({'exitAt':moment()[_0xbffa('0x2f')](_0xbffa('0x34')),'data2':_0xbffa('0x3f')},{'individualHooks':!![]});}return null;})[_0xbffa('0x10')](function(){return _0x3ac271[_0xbffa('0x2b')]({'voicePause':![]});});case'mail':case'chat':case _0xbffa('0x40'):case _0xbffa('0x41'):case _0xbffa('0x42'):return db['MemberReport'][_0xbffa('0x25')]({'where':{'channel':_0x462648[_0xbffa('0x36')][_0xbffa('0x3b')],'membername':_0x3ac271['name'],'type':'PAUSE','exitAt':null}})[_0xbffa('0x10')](function(_0x2ec30d){return _0x2ec30d['update']({'exitAt':moment()[_0xbffa('0x2f')](_0xbffa('0x34')),'data2':'system'},{'individualHooks':!![]});})[_0xbffa('0x10')](function(){var _0x5d367b={};_[_0xbffa('0x43')](_0x5d367b,util['format']('%s%s',_0x462648[_0xbffa('0x36')]['channel'],'Pause'),![]);return _0x3ac271[_0xbffa('0x2b')](_0x5d367b);});default:return db['UserVoiceQueueRt'][_0xbffa('0x2b')]({'paused':0x0},{'where':{'UserId':_0x3ac271['id']}})[_0xbffa('0x10')](function(){return db[_0xbffa('0x2c')][_0xbffa('0x1e')]({'where':{'membername':_0x3ac271[_0xbffa('0x33')],'type':_0xbffa('0x2d'),'exitAt':null}});})[_0xbffa('0x10')](function(_0x18e68f){var _0x1a65be=[];_0x18e68f['forEach'](function(_0x5dbdf3){_0x1a65be[_0xbffa('0x44')](_0x5dbdf3[_0xbffa('0x2b')]({'exitAt':moment()[_0xbffa('0x2f')]('YYYY-MM-DD\x20HH:mm:ss'),'data2':_0xbffa('0x3f')}));});return BPromise[_0xbffa('0x45')](_0x1a65be);})['then'](function(){return _0x3ac271[_0xbffa('0x2b')]({'voicePause':![],'mailPause':![],'chatPause':![],'faxPause':![],'smsPause':![],'openchannelPause':![]});});}}})[_0xbffa('0x10')](function(_0x5532a1){_0x34c573(_0x5532a1);})[_0xbffa('0x1b')](function(_0x1c54fb){_0x517495(_0x29a993['error'](0x1f4,_0x1c54fb[_0xbffa('0x19')]));});});};exports[_0xbffa('0x46')]=function(_0x596fa2){var _0x172c26=this;return new Promise(function(_0x2452cf,_0xc85bf3){var _0x48af13;return db[_0xbffa('0x1d')][_0xbffa('0x3a')]({'where':_0x596fa2[_0xbffa('0x1f')][_0xbffa('0x47')]||{},'attributes':['id',_0xbffa('0x33')]})[_0xbffa('0x10')](function(_0x4bdf6d){if(_0x4bdf6d){_0x48af13=_0x4bdf6d;return db['UserVoiceQueueRt'][_0xbffa('0x48')]({'where':{'membername':_0x48af13[_0xbffa('0x33')]},'individualHooks':!![]});}})['then'](function(){if(_0x48af13){return db[_0xbffa('0x2c')][_0xbffa('0x1e')]({'where':{'membername':_0x48af13[_0xbffa('0x33')],'exitAt':null}});}})['then'](function(_0x1925c){if(_0x48af13){if(_0x1925c&&_0x1925c[_0xbffa('0x2e')]){var _0x1cda8e=[];_0x1925c['forEach'](function(_0x5c8192){_0x1cda8e[_0xbffa('0x44')](_0x5c8192[_0xbffa('0x2b')]({'exitAt':moment()['format'](_0xbffa('0x34'))}));});return BPromise[_0xbffa('0x45')](_0x1cda8e);}}})[_0xbffa('0x10')](function(){if(_0x48af13){return _0x48af13['update']({'online':![],'lastLoginAt':null,'voicePause':![],'mailPause':![],'chatPause':![],'faxPause':![],'smsPause':![],'openchannelPause':![]});}})[_0xbffa('0x10')](function(_0x4ab47e){_0x2452cf(_0x4ab47e);})[_0xbffa('0x1b')](function(_0x1acf2f){_0xc85bf3(_0x172c26[_0xbffa('0x17')](0x1f4,_0x1acf2f[_0xbffa('0x19')]));});});};exports[_0xbffa('0x49')]=function(_0xa7e95b){var _0x4350a4=this;return new Promise(function(_0x38404c,_0x30ba2e){var _0x105b64;var _0x512ede;var _0x129d6d;var _0x145b57;return db[_0xbffa('0x1d')][_0xbffa('0x3a')]({'where':_0xa7e95b[_0xbffa('0x1f')][_0xbffa('0x47')]||{},'attributes':['id','name',_0xbffa('0x28'),_0xbffa('0x4a'),_0xbffa('0x4b'),_0xbffa('0x29'),_0xbffa('0x4c'),_0xbffa('0x2a')]})[_0xbffa('0x10')](function(_0x65dfc3){if(_0x65dfc3){_0x105b64=_0x65dfc3;_0x145b57=_0xa7e95b[_0xbffa('0x36')][_0xbffa('0x2a')]?_0xa7e95b[_0xbffa('0x36')][_0xbffa('0x2a')]:util[_0xbffa('0x2f')](_0xbffa('0x32'),_0x105b64[_0xbffa('0x33')]);return db[_0xbffa('0x1d')][_0xbffa('0x4d')]({'where':{'role':'agent','online':!![],'id':{'$ne':_0x105b64['id']}}});}})[_0xbffa('0x10')](function(_0x4bbc60){if(_0x4bbc60){_0x129d6d=_0x4bbc60;return require(_0xbffa('0x4e'))['getLicense']();}})['then'](function(_0x5d0cce){if(_0x5d0cce&&_0x5d0cce[_0xbffa('0x4f')]&&_0x129d6d>=_0x5d0cce[_0xbffa('0x4f')]){throw new Error(_0xbffa('0x50'));}})[_0xbffa('0x10')](function(){if(_0x105b64){return db[_0xbffa('0x3e')]['destroy']({'where':{'membername':_0x105b64[_0xbffa('0x33')]},'individualHooks':!![]});}})[_0xbffa('0x10')](function(){if(_0x105b64){return _0x105b64['getVoiceQueues']({'raw':!![]});}})[_0xbffa('0x10')](function(_0x168c29){if(_0x105b64){if(_0x168c29){var _0xf582bf=[];_0x512ede=_0x168c29;if(_0x512ede[_0xbffa('0x2e')]){for(var _0x329680=0x0;_0x329680<_0x512ede['length'];_0x329680++){_0xf582bf['push'](db['UserVoiceQueueRt']['upsert']({'membername':_0x105b64[_0xbffa('0x33')],'UserId':_0x105b64['id'],'queue_name':_0x512ede[_0x329680][_0xbffa('0x33')],'VoiceQueueId':_0x512ede[_0x329680]['id'],'interface':_0x145b57,'paused':_0x105b64[_0xbffa('0x4c')]||![],'penalty':_0x512ede[_0x329680][_0xbffa('0x51')]||0x0}));}return BPromise[_0xbffa('0x45')](_0xf582bf);}}}})['then'](function(){if(_0x105b64){return db[_0xbffa('0x2c')][_0xbffa('0x1e')]({'where':{'membername':_0x105b64[_0xbffa('0x33')],'exitAt':null}});}})[_0xbffa('0x10')](function(_0x1fb4a9){if(_0x105b64){if(_0x1fb4a9&&_0x1fb4a9['length']){var _0x2b0b45=[];_0x1fb4a9['forEach'](function(_0xd5df24){_0x2b0b45[_0xbffa('0x44')](_0xd5df24['update']({'exitAt':moment()[_0xbffa('0x2f')](_0xbffa('0x34'))}));});return BPromise[_0xbffa('0x45')](_0x2b0b45);}}})['then'](function(_0x3be825){if(_0x105b64){var _0x1c7a34=[];var _0xa8a127=[];var _0x171c94=utils[_0xbffa('0x30')]();var _0x4cad5f={'membername':_0x105b64[_0xbffa('0x33')],'interface':_0x145b57,'enterAt':moment()['format'](_0xbffa('0x34')),'role':_0x105b64[_0xbffa('0x28')],'internal':_0x105b64['internal']};_0x171c94[_0xbffa('0x31')](function(_0x573d66){_0x1c7a34[_0xbffa('0x44')](_['merge']({'channel':_0x573d66,'type':_0xbffa('0x52'),'data1':'callysquare','data2':_0x145b57},_0x4cad5f));if(_0x105b64[_0xbffa('0x4c')]){_0xa8a127['push'](_[_0xbffa('0x53')]({'channel':_0x573d66,'type':_0xbffa('0x2d'),'data1':_0xbffa('0x54')},_0x4cad5f));}});return db[_0xbffa('0x2c')][_0xbffa('0x38')](_0x1c7a34['concat'](_0xa8a127),{'individualHooks':!![]});}})[_0xbffa('0x10')](function(){if(_0x105b64){return _0x105b64['update']({'online':!![],'lastLoginAt':moment()['format']('YYYY-MM-DD\x20HH:mm:ss'),'voicePause':_0x105b64['loginInPause']||![],'mailPause':_0x105b64[_0xbffa('0x4c')]||![],'chatPause':_0x105b64[_0xbffa('0x4c')]||![],'faxPause':_0x105b64['loginInPause']||![],'smsPause':_0x105b64[_0xbffa('0x4c')]||![],'openchannelPause':_0x105b64['loginInPause']||![],'pauseType':_0x105b64['loginInPause']?_0xbffa('0x54'):null,'lastPauseAt':moment()[_0xbffa('0x2f')](_0xbffa('0x34')),'interface':_0x145b57});}})[_0xbffa('0x10')](function(_0x2ace4e){_0x38404c(_0x2ace4e);})[_0xbffa('0x1b')](function(_0x1ad6bc){_0x30ba2e(_0x4350a4['error'](0x1f4,_0x1ad6bc[_0xbffa('0x19')]));});});}; \ No newline at end of file diff --git a/server/api/user/user.socket.js b/server/api/user/user.socket.js index 07934a9..980434f 100644 --- a/server/api/user/user.socket.js +++ b/server/api/user/user.socket.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x8009=['./user.events','save','emit','removeListener','length'];(function(_0x40c54a,_0x53b62b){var _0x1c0db5=function(_0x5cd483){while(--_0x5cd483){_0x40c54a['push'](_0x40c54a['shift']());}};_0x1c0db5(++_0x53b62b);}(_0x8009,0xf5));var _0x9800=function(_0x5d082a,_0x59f4e2){_0x5d082a=_0x5d082a-0x0;var _0x43a0ce=_0x8009[_0x5d082a];return _0x43a0ce;};'use strict';var UserEvents=require(_0x9800('0x0'));var events=[_0x9800('0x1'),'remove','update'];function createListener(_0x267190,_0x51216d){return function(_0x5f4840){_0x51216d[_0x9800('0x2')](_0x267190,_0x5f4840);};}function removeListener(_0x462042,_0x59d632){return function(){UserEvents[_0x9800('0x3')](_0x462042,_0x59d632);};}exports['register']=function(_0x3a7f5a){for(var _0xe4bec3=0x0,_0x51c06c=events[_0x9800('0x4')];_0xe4bec3<_0x51c06c;_0xe4bec3++){var _0x4bbba1=events[_0xe4bec3];var _0x521641=createListener('user:'+_0x4bbba1,_0x3a7f5a);UserEvents['on'](_0x4bbba1,_0x521641);}}; \ No newline at end of file +var _0xfc20=['save','remove','update','register','length','user:','./user.events'];(function(_0x3cb18f,_0xfdec43){var _0xa0c9df=function(_0x25d297){while(--_0x25d297){_0x3cb18f['push'](_0x3cb18f['shift']());}};_0xa0c9df(++_0xfdec43);}(_0xfc20,0xb5));var _0x0fc2=function(_0x541b45,_0x1b571c){_0x541b45=_0x541b45-0x0;var _0x55213a=_0xfc20[_0x541b45];return _0x55213a;};'use strict';var UserEvents=require(_0x0fc2('0x0'));var events=[_0x0fc2('0x1'),_0x0fc2('0x2'),_0x0fc2('0x3')];function createListener(_0x1a4564,_0x478597){return function(_0x36fe15){_0x478597['emit'](_0x1a4564,_0x36fe15);};}function removeListener(_0x54d2ff,_0x6ad66e){return function(){UserEvents['removeListener'](_0x54d2ff,_0x6ad66e);};}exports[_0x0fc2('0x4')]=function(_0x2e968a){for(var _0x10ba04=0x0,_0x1dcc4d=events[_0x0fc2('0x5')];_0x10ba04<_0x1dcc4d;_0x10ba04++){var _0x18b632=events[_0x10ba04];var _0x3f3e11=createListener(_0x0fc2('0x6')+_0x18b632,_0x2e968a);UserEvents['on'](_0x18b632,_0x3f3e11);}}; \ No newline at end of file diff --git a/server/api/userChatQueue/index.js b/server/api/userChatQueue/index.js index 9dae59d..7c1ac3a 100644 --- a/server/api/userChatQueue/index.js +++ b/server/api/userChatQueue/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xbc85=['connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','util'];(function(_0x14dffb,_0xdbba1a){var _0x5d4f3c=function(_0x3b62df){while(--_0x3b62df){_0x14dffb['push'](_0x14dffb['shift']());}};_0x5d4f3c(++_0xdbba1a);}(_0xbc85,0x7d));var _0x5bc8=function(_0x22f48d,_0x51b8e1){_0x22f48d=_0x22f48d-0x0;var _0x26ba9a=_0xbc85[_0x22f48d];return _0x26ba9a;};'use strict';var multer=require('multer');var util=require(_0x5bc8('0x0'));var path=require('path');var timeout=require(_0x5bc8('0x1'));var express=require(_0x5bc8('0x2'));var router=express[_0x5bc8('0x3')]();var auth=require(_0x5bc8('0x4'));var interaction=require(_0x5bc8('0x5'));var config=require(_0x5bc8('0x6'));module['exports']=router; \ No newline at end of file +var _0x621e=['util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','exports'];(function(_0x22d7e6,_0xa620e7){var _0x72bc58=function(_0x2c75f6){while(--_0x2c75f6){_0x22d7e6['push'](_0x22d7e6['shift']());}};_0x72bc58(++_0xa620e7);}(_0x621e,0x168));var _0xe621=function(_0x164cc8,_0x3320ae){_0x164cc8=_0x164cc8-0x0;var _0x59a78d=_0x621e[_0x164cc8];return _0x59a78d;};'use strict';var multer=require('multer');var util=require(_0xe621('0x0'));var path=require(_0xe621('0x1'));var timeout=require(_0xe621('0x2'));var express=require(_0xe621('0x3'));var router=express[_0xe621('0x4')]();var auth=require(_0xe621('0x5'));var interaction=require(_0xe621('0x6'));var config=require(_0xe621('0x7'));module[_0xe621('0x8')]=router; \ No newline at end of file diff --git a/server/api/userChatQueue/userChatQueue.attributes.js b/server/api/userChatQueue/userChatQueue.attributes.js index de09ec2..af6da47 100644 --- a/server/api/userChatQueue/userChatQueue.attributes.js +++ b/server/api/userChatQueue/userChatQueue.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xbaf0=['exports','INTEGER'];(function(_0x329664,_0x130748){var _0x4e346e=function(_0x172b0d){while(--_0x172b0d){_0x329664['push'](_0x329664['shift']());}};_0x4e346e(++_0x130748);}(_0xbaf0,0x12a));var _0x0baf=function(_0x2f5ac5,_0x1ee939){_0x2f5ac5=_0x2f5ac5-0x0;var _0x37c9a8=_0xbaf0[_0x2f5ac5];return _0x37c9a8;};'use strict';var Sequelize=require('sequelize');module[_0x0baf('0x0')]={'penalty':{'type':Sequelize[_0x0baf('0x1')],'defaultValue':0x0}}; \ No newline at end of file +var _0xe706=['INTEGER','sequelize','exports'];(function(_0x3a406f,_0x10975d){var _0x2eaa95=function(_0x486e8f){while(--_0x486e8f){_0x3a406f['push'](_0x3a406f['shift']());}};_0x2eaa95(++_0x10975d);}(_0xe706,0xa3));var _0x6e70=function(_0x3bd93d,_0x49393d){_0x3bd93d=_0x3bd93d-0x0;var _0x4c8680=_0xe706[_0x3bd93d];return _0x4c8680;};'use strict';var Sequelize=require(_0x6e70('0x0'));module[_0x6e70('0x1')]={'penalty':{'type':Sequelize[_0x6e70('0x2')],'defaultValue':0x0}}; \ No newline at end of file diff --git a/server/api/userChatQueue/userChatQueue.model.js b/server/api/userChatQueue/userChatQueue.model.js index 007cc35..a59c8da 100644 --- a/server/api/userChatQueue/userChatQueue.model.js +++ b/server/api/userChatQueue/userChatQueue.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x3840=['exports','define','UserChatQueue','user_has_chat_queues','lodash','api','moment','bluebird','path','rimraf','../../config/environment','./userChatQueue.attributes'];(function(_0x55f8b4,_0x43f30d){var _0x2475f9=function(_0xdd6f4a){while(--_0xdd6f4a){_0x55f8b4['push'](_0x55f8b4['shift']());}};_0x2475f9(++_0x43f30d);}(_0x3840,0x130));var _0x0384=function(_0x1b018f,_0x3657ee){_0x1b018f=_0x1b018f-0x0;var _0xac319=_0x3840[_0x1b018f];return _0xac319;};'use strict';var _=require(_0x0384('0x0'));var util=require('util');var logger=require('../../config/logger')(_0x0384('0x1'));var moment=require(_0x0384('0x2'));var BPromise=require(_0x0384('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x0384('0x4'));var rimraf=require(_0x0384('0x5'));var config=require(_0x0384('0x6'));var attributes=require(_0x0384('0x7'));module[_0x0384('0x8')]=function(_0x29eb13,_0x22c9f6){return _0x29eb13[_0x0384('0x9')](_0x0384('0xa'),attributes,{'tableName':_0x0384('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0xe306=['api','moment','bluebird','request-promise','UserChatQueue','lodash','util'];(function(_0xa33dd9,_0x33d436){var _0x3e5995=function(_0x2aca1f){while(--_0x2aca1f){_0xa33dd9['push'](_0xa33dd9['shift']());}};_0x3e5995(++_0x33d436);}(_0xe306,0xad));var _0x6e30=function(_0xd7b0a4,_0x53c7d3){_0xd7b0a4=_0xd7b0a4-0x0;var _0x184e9e=_0xe306[_0xd7b0a4];return _0x184e9e;};'use strict';var _=require(_0x6e30('0x0'));var util=require(_0x6e30('0x1'));var logger=require('../../config/logger')(_0x6e30('0x2'));var moment=require(_0x6e30('0x3'));var BPromise=require(_0x6e30('0x4'));var rp=require(_0x6e30('0x5'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require('./userChatQueue.attributes');module['exports']=function(_0x92baf1,_0x38b040){return _0x92baf1['define'](_0x6e30('0x6'),attributes,{'tableName':'user_has_chat_queues','paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/userChatQueue/userChatQueue.rpc.js b/server/api/userChatQueue/userChatQueue.rpc.js index 79157b2..66facf5 100644 --- a/server/api/userChatQueue/userChatQueue.rpc.js +++ b/server/api/userChatQueue/userChatQueue.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xf280=['../../mysqldb','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','http','request','then','info','request\x20sent','debug','UserChatQueue,\x20%s,\x20%s,\x20%s','stringify','error','code','message','UserChatQueue,\x20%s,\x20%s','catch','lodash','util','moment','bluebird','randomstring','ioredis'];(function(_0x525798,_0x77a707){var _0x57da9a=function(_0x20837b){while(--_0x20837b){_0x525798['push'](_0x525798['shift']());}};_0x57da9a(++_0x77a707);}(_0xf280,0x1bc));var _0x0f28=function(_0x55ef8b,_0x5deb5e){_0x55ef8b=_0x55ef8b-0x0;var _0x359c84=_0xf280[_0x55ef8b];return _0x359c84;};'use strict';var _=require(_0x0f28('0x0'));var util=require(_0x0f28('0x1'));var moment=require(_0x0f28('0x2'));var BPromise=require(_0x0f28('0x3'));var rs=require(_0x0f28('0x4'));var fs=require('fs');var Redis=require(_0x0f28('0x5'));var db=require(_0x0f28('0x6'))['db'];var utils=require(_0x0f28('0x7'));var logger=require(_0x0f28('0x8'))(_0x0f28('0x9'));var config=require(_0x0f28('0xa'));var jayson=require(_0x0f28('0xb'));var client=jayson['client'][_0x0f28('0xc')]({'port':0x232a});function respondWithRpcPromise(_0x2acde3,_0x2ff092,_0x1c3b2d){return new BPromise(function(_0x5a90f2,_0x545308){return client[_0x0f28('0xd')](_0x2acde3,_0x1c3b2d)[_0x0f28('0xe')](function(_0x2f26d4){logger[_0x0f28('0xf')]('UserChatQueue,\x20%s,\x20%s',_0x2ff092,_0x0f28('0x10'));logger[_0x0f28('0x11')](_0x0f28('0x12'),_0x2ff092,'request\x20sent',JSON[_0x0f28('0x13')](_0x2f26d4));if(_0x2f26d4[_0x0f28('0x14')]){if(_0x2f26d4['error'][_0x0f28('0x15')]===0x1f4){logger['error']('UserChatQueue,\x20%s,\x20%s',_0x2ff092,_0x2f26d4[_0x0f28('0x14')][_0x0f28('0x16')]);return _0x545308(_0x2f26d4['error'][_0x0f28('0x16')]);}logger[_0x0f28('0x14')](_0x0f28('0x17'),_0x2ff092,_0x2f26d4[_0x0f28('0x14')][_0x0f28('0x16')]);return _0x5a90f2(_0x2f26d4['error'][_0x0f28('0x16')]);}else{logger[_0x0f28('0xf')](_0x0f28('0x17'),_0x2ff092,_0x0f28('0x10'));_0x5a90f2(_0x2f26d4['result'][_0x0f28('0x16')]);}})[_0x0f28('0x18')](function(_0x5950bf){logger['error'](_0x0f28('0x17'),_0x2ff092,_0x5950bf);_0x545308(_0x5950bf);});});} \ No newline at end of file +var _0x45e0=['../../config/utils','../../config/logger','../../config/environment','client','http','request','info','UserChatQueue,\x20%s,\x20%s','debug','request\x20sent','stringify','error','code','message','catch','lodash','moment','bluebird','ioredis','../../mysqldb'];(function(_0x5b644e,_0x2e5e07){var _0x49c6bf=function(_0x3032d9){while(--_0x3032d9){_0x5b644e['push'](_0x5b644e['shift']());}};_0x49c6bf(++_0x2e5e07);}(_0x45e0,0x1ef));var _0x045e=function(_0x92352b,_0x52b702){_0x92352b=_0x92352b-0x0;var _0x24bd81=_0x45e0[_0x92352b];return _0x24bd81;};'use strict';var _=require(_0x045e('0x0'));var util=require('util');var moment=require(_0x045e('0x1'));var BPromise=require(_0x045e('0x2'));var rs=require('randomstring');var fs=require('fs');var Redis=require(_0x045e('0x3'));var db=require(_0x045e('0x4'))['db'];var utils=require(_0x045e('0x5'));var logger=require(_0x045e('0x6'))('rpc');var config=require(_0x045e('0x7'));var jayson=require('jayson/promise');var client=jayson[_0x045e('0x8')][_0x045e('0x9')]({'port':0x232a});function respondWithRpcPromise(_0x506781,_0x2027f8,_0x521273){return new BPromise(function(_0x4fff45,_0x9c63e){return client[_0x045e('0xa')](_0x506781,_0x521273)['then'](function(_0x33156f){logger[_0x045e('0xb')](_0x045e('0xc'),_0x2027f8,'request\x20sent');logger[_0x045e('0xd')]('UserChatQueue,\x20%s,\x20%s,\x20%s',_0x2027f8,_0x045e('0xe'),JSON[_0x045e('0xf')](_0x33156f));if(_0x33156f[_0x045e('0x10')]){if(_0x33156f[_0x045e('0x10')][_0x045e('0x11')]===0x1f4){logger[_0x045e('0x10')](_0x045e('0xc'),_0x2027f8,_0x33156f['error']['message']);return _0x9c63e(_0x33156f[_0x045e('0x10')][_0x045e('0x12')]);}logger[_0x045e('0x10')](_0x045e('0xc'),_0x2027f8,_0x33156f['error']['message']);return _0x4fff45(_0x33156f[_0x045e('0x10')][_0x045e('0x12')]);}else{logger[_0x045e('0xb')](_0x045e('0xc'),_0x2027f8,_0x045e('0xe'));_0x4fff45(_0x33156f['result'][_0x045e('0x12')]);}})[_0x045e('0x13')](function(_0x78db41){logger[_0x045e('0x10')]('UserChatQueue,\x20%s,\x20%s',_0x2027f8,_0x78db41);_0x9c63e(_0x78db41);});});} \ No newline at end of file diff --git a/server/api/userFaxQueue/index.js b/server/api/userFaxQueue/index.js index 3a0d2ed..348a813 100644 --- a/server/api/userFaxQueue/index.js +++ b/server/api/userFaxQueue/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x88f4=['connect-timeout','express','../../components/auth/service','../../components/interaction/service','exports','util'];(function(_0x6d773b,_0x315761){var _0x3b3bc7=function(_0x32365){while(--_0x32365){_0x6d773b['push'](_0x6d773b['shift']());}};_0x3b3bc7(++_0x315761);}(_0x88f4,0xfb));var _0x488f=function(_0x2f736d,_0x11f916){_0x2f736d=_0x2f736d-0x0;var _0x3f164b=_0x88f4[_0x2f736d];return _0x3f164b;};'use strict';var multer=require('multer');var util=require(_0x488f('0x0'));var path=require('path');var timeout=require(_0x488f('0x1'));var express=require(_0x488f('0x2'));var router=express['Router']();var auth=require(_0x488f('0x3'));var interaction=require(_0x488f('0x4'));var config=require('../../config/environment');module[_0x488f('0x5')]=router; \ No newline at end of file +var _0xb7f2=['util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','exports'];(function(_0x4617c7,_0x17aab3){var _0x162c33=function(_0x176666){while(--_0x176666){_0x4617c7['push'](_0x4617c7['shift']());}};_0x162c33(++_0x17aab3);}(_0xb7f2,0x68));var _0x2b7f=function(_0x13c01a,_0x59d85e){_0x13c01a=_0x13c01a-0x0;var _0x53e0e9=_0xb7f2[_0x13c01a];return _0x53e0e9;};'use strict';var multer=require('multer');var util=require(_0x2b7f('0x0'));var path=require(_0x2b7f('0x1'));var timeout=require(_0x2b7f('0x2'));var express=require(_0x2b7f('0x3'));var router=express[_0x2b7f('0x4')]();var auth=require(_0x2b7f('0x5'));var interaction=require(_0x2b7f('0x6'));var config=require('../../config/environment');module[_0x2b7f('0x7')]=router; \ No newline at end of file diff --git a/server/api/userFaxQueue/userFaxQueue.attributes.js b/server/api/userFaxQueue/userFaxQueue.attributes.js index 7694e20..fc0a241 100644 --- a/server/api/userFaxQueue/userFaxQueue.attributes.js +++ b/server/api/userFaxQueue/userFaxQueue.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x1775=['STRING','exports','INTEGER'];(function(_0x536ed3,_0x149ff0){var _0x1e0f6d=function(_0x5abc7c){while(--_0x5abc7c){_0x536ed3['push'](_0x536ed3['shift']());}};_0x1e0f6d(++_0x149ff0);}(_0x1775,0x1db));var _0x5177=function(_0x17d9e3,_0x1f969c){_0x17d9e3=_0x17d9e3-0x0;var _0x14192d=_0x1775[_0x17d9e3];return _0x14192d;};'use strict';var Sequelize=require('sequelize');module[_0x5177('0x0')]={'penalty':{'type':Sequelize[_0x5177('0x1')],'defaultValue':0x0},'assigned':{'type':Sequelize[_0x5177('0x1')],'defaultValue':0x0},'queue':{'type':Sequelize[_0x5177('0x2')]}}; \ No newline at end of file +var _0xb7e7=['STRING','sequelize','INTEGER'];(function(_0x2aecb2,_0x343312){var _0x3ebb80=function(_0x19fab3){while(--_0x19fab3){_0x2aecb2['push'](_0x2aecb2['shift']());}};_0x3ebb80(++_0x343312);}(_0xb7e7,0x121));var _0x7b7e=function(_0x174ef5,_0x256e8e){_0x174ef5=_0x174ef5-0x0;var _0x1cc379=_0xb7e7[_0x174ef5];return _0x1cc379;};'use strict';var Sequelize=require(_0x7b7e('0x0'));module['exports']={'penalty':{'type':Sequelize[_0x7b7e('0x1')],'defaultValue':0x0},'assigned':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'queue':{'type':Sequelize[_0x7b7e('0x2')]}}; \ No newline at end of file diff --git a/server/api/userFaxQueue/userFaxQueue.model.js b/server/api/userFaxQueue/userFaxQueue.model.js index a7b4413..0bed87a 100644 --- a/server/api/userFaxQueue/userFaxQueue.model.js +++ b/server/api/userFaxQueue/userFaxQueue.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xcac2=['../../config/logger','moment','bluebird','./userFaxQueue.attributes','exports','define','UserFaxQueue','user_has_fax_queues','lodash','util'];(function(_0x1d00c7,_0x9b96b2){var _0x5b4f51=function(_0x15fc7d){while(--_0x15fc7d){_0x1d00c7['push'](_0x1d00c7['shift']());}};_0x5b4f51(++_0x9b96b2);}(_0xcac2,0x1e8));var _0x2cac=function(_0x296880,_0x2f9c23){_0x296880=_0x296880-0x0;var _0x11894b=_0xcac2[_0x296880];return _0x11894b;};'use strict';var _=require(_0x2cac('0x0'));var util=require(_0x2cac('0x1'));var logger=require(_0x2cac('0x2'))('api');var moment=require(_0x2cac('0x3'));var BPromise=require(_0x2cac('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x2cac('0x5'));module[_0x2cac('0x6')]=function(_0x26b741,_0x2ab257){return _0x26b741[_0x2cac('0x7')](_0x2cac('0x8'),attributes,{'tableName':_0x2cac('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0x76ef=['lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./userFaxQueue.attributes','UserFaxQueue','user_has_fax_queues'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x76ef,0xb6));var _0xf76e=function(_0x586bdb,_0x5b2b76){_0x586bdb=_0x586bdb-0x0;var _0x1341fa=_0x76ef[_0x586bdb];return _0x1341fa;};'use strict';var _=require(_0xf76e('0x0'));var util=require(_0xf76e('0x1'));var logger=require(_0xf76e('0x2'))(_0xf76e('0x3'));var moment=require(_0xf76e('0x4'));var BPromise=require(_0xf76e('0x5'));var rp=require(_0xf76e('0x6'));var fs=require('fs');var path=require(_0xf76e('0x7'));var rimraf=require(_0xf76e('0x8'));var config=require(_0xf76e('0x9'));var attributes=require(_0xf76e('0xa'));module['exports']=function(_0x2a8095,_0x502094){return _0x2a8095['define'](_0xf76e('0xb'),attributes,{'tableName':_0xf76e('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/userFaxQueue/userFaxQueue.rpc.js b/server/api/userFaxQueue/userFaxQueue.rpc.js index 84f5c1c..0857ae8 100644 --- a/server/api/userFaxQueue/userFaxQueue.rpc.js +++ b/server/api/userFaxQueue/userFaxQueue.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xd868=['debug','UserFaxQueue,\x20%s,\x20%s,\x20%s','error','code','message','result','lodash','moment','bluebird','ioredis','rpc','../../config/environment','jayson/promise','http','request','then','info','UserFaxQueue,\x20%s,\x20%s','request\x20sent'];(function(_0x4d2bb7,_0x10968c){var _0x26c595=function(_0x414a44){while(--_0x414a44){_0x4d2bb7['push'](_0x4d2bb7['shift']());}};_0x26c595(++_0x10968c);}(_0xd868,0xfd));var _0x8d86=function(_0x1b349a,_0x22222c){_0x1b349a=_0x1b349a-0x0;var _0x5d1f7c=_0xd868[_0x1b349a];return _0x5d1f7c;};'use strict';var _=require(_0x8d86('0x0'));var util=require('util');var moment=require(_0x8d86('0x1'));var BPromise=require(_0x8d86('0x2'));var rs=require('randomstring');var fs=require('fs');var Redis=require(_0x8d86('0x3'));var db=require('../../mysqldb')['db'];var utils=require('../../config/utils');var logger=require('../../config/logger')(_0x8d86('0x4'));var config=require(_0x8d86('0x5'));var jayson=require(_0x8d86('0x6'));var client=jayson['client'][_0x8d86('0x7')]({'port':0x232a});function respondWithRpcPromise(_0x43efa4,_0x24f6b3,_0x58e448){return new BPromise(function(_0x580f34,_0x154017){return client[_0x8d86('0x8')](_0x43efa4,_0x58e448)[_0x8d86('0x9')](function(_0x48a6ee){logger[_0x8d86('0xa')](_0x8d86('0xb'),_0x24f6b3,_0x8d86('0xc'));logger[_0x8d86('0xd')](_0x8d86('0xe'),_0x24f6b3,_0x8d86('0xc'),JSON['stringify'](_0x48a6ee));if(_0x48a6ee[_0x8d86('0xf')]){if(_0x48a6ee[_0x8d86('0xf')][_0x8d86('0x10')]===0x1f4){logger[_0x8d86('0xf')]('UserFaxQueue,\x20%s,\x20%s',_0x24f6b3,_0x48a6ee[_0x8d86('0xf')]['message']);return _0x154017(_0x48a6ee[_0x8d86('0xf')][_0x8d86('0x11')]);}logger['error'](_0x8d86('0xb'),_0x24f6b3,_0x48a6ee[_0x8d86('0xf')][_0x8d86('0x11')]);return _0x580f34(_0x48a6ee[_0x8d86('0xf')][_0x8d86('0x11')]);}else{logger[_0x8d86('0xa')](_0x8d86('0xb'),_0x24f6b3,_0x8d86('0xc'));_0x580f34(_0x48a6ee[_0x8d86('0x12')][_0x8d86('0x11')]);}})['catch'](function(_0x4dca2c){logger[_0x8d86('0xf')](_0x8d86('0xb'),_0x24f6b3,_0x4dca2c);_0x154017(_0x4dca2c);});});} \ No newline at end of file +var _0x6659=['catch','lodash','util','moment','bluebird','randomstring','ioredis','../../mysqldb','../../config/utils','rpc','../../config/environment','jayson/promise','client','http','request','then','info','UserFaxQueue,\x20%s,\x20%s','request\x20sent','debug','UserFaxQueue,\x20%s,\x20%s,\x20%s','error','code','message'];(function(_0x52de96,_0x3ff998){var _0x51bcfe=function(_0x6f4e38){while(--_0x6f4e38){_0x52de96['push'](_0x52de96['shift']());}};_0x51bcfe(++_0x3ff998);}(_0x6659,0x169));var _0x9665=function(_0x5ae8b8,_0x14d4b7){_0x5ae8b8=_0x5ae8b8-0x0;var _0x35ada9=_0x6659[_0x5ae8b8];return _0x35ada9;};'use strict';var _=require(_0x9665('0x0'));var util=require(_0x9665('0x1'));var moment=require(_0x9665('0x2'));var BPromise=require(_0x9665('0x3'));var rs=require(_0x9665('0x4'));var fs=require('fs');var Redis=require(_0x9665('0x5'));var db=require(_0x9665('0x6'))['db'];var utils=require(_0x9665('0x7'));var logger=require('../../config/logger')(_0x9665('0x8'));var config=require(_0x9665('0x9'));var jayson=require(_0x9665('0xa'));var client=jayson[_0x9665('0xb')][_0x9665('0xc')]({'port':0x232a});function respondWithRpcPromise(_0x3b36f8,_0x585ec6,_0x2404b1){return new BPromise(function(_0xe9d4ff,_0x1738a5){return client[_0x9665('0xd')](_0x3b36f8,_0x2404b1)[_0x9665('0xe')](function(_0x439736){logger[_0x9665('0xf')](_0x9665('0x10'),_0x585ec6,_0x9665('0x11'));logger[_0x9665('0x12')](_0x9665('0x13'),_0x585ec6,_0x9665('0x11'),JSON['stringify'](_0x439736));if(_0x439736[_0x9665('0x14')]){if(_0x439736['error'][_0x9665('0x15')]===0x1f4){logger[_0x9665('0x14')](_0x9665('0x10'),_0x585ec6,_0x439736[_0x9665('0x14')]['message']);return _0x1738a5(_0x439736[_0x9665('0x14')][_0x9665('0x16')]);}logger[_0x9665('0x14')](_0x9665('0x10'),_0x585ec6,_0x439736[_0x9665('0x14')][_0x9665('0x16')]);return _0xe9d4ff(_0x439736[_0x9665('0x14')]['message']);}else{logger[_0x9665('0xf')]('UserFaxQueue,\x20%s,\x20%s',_0x585ec6,_0x9665('0x11'));_0xe9d4ff(_0x439736['result']['message']);}})[_0x9665('0x17')](function(_0x51c83f){logger['error'](_0x9665('0x10'),_0x585ec6,_0x51c83f);_0x1738a5(_0x51c83f);});});} \ No newline at end of file diff --git a/server/api/userMailQueue/index.js b/server/api/userMailQueue/index.js index f8180fe..0de97e5 100644 --- a/server/api/userMailQueue/index.js +++ b/server/api/userMailQueue/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x0f6a=['../../components/auth/service','../../components/interaction/service','../../config/environment','exports','util','path','Router'];(function(_0x259525,_0x46660a){var _0x31babc=function(_0x28df5d){while(--_0x28df5d){_0x259525['push'](_0x259525['shift']());}};_0x31babc(++_0x46660a);}(_0x0f6a,0x1b6));var _0xa0f6=function(_0x18709e,_0x48f4a1){_0x18709e=_0x18709e-0x0;var _0x2536b7=_0x0f6a[_0x18709e];return _0x2536b7;};'use strict';var multer=require('multer');var util=require(_0xa0f6('0x0'));var path=require(_0xa0f6('0x1'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0xa0f6('0x2')]();var auth=require(_0xa0f6('0x3'));var interaction=require(_0xa0f6('0x4'));var config=require(_0xa0f6('0x5'));module[_0xa0f6('0x6')]=router; \ No newline at end of file +var _0x5eca=['../../components/interaction/service','../../config/environment','multer','util','path','express','Router'];(function(_0x1b7368,_0x3286ed){var _0x25d54c=function(_0x2366da){while(--_0x2366da){_0x1b7368['push'](_0x1b7368['shift']());}};_0x25d54c(++_0x3286ed);}(_0x5eca,0x64));var _0xa5ec=function(_0xfae23b,_0x2be4ba){_0xfae23b=_0xfae23b-0x0;var _0x200640=_0x5eca[_0xfae23b];return _0x200640;};'use strict';var multer=require(_0xa5ec('0x0'));var util=require(_0xa5ec('0x1'));var path=require(_0xa5ec('0x2'));var timeout=require('connect-timeout');var express=require(_0xa5ec('0x3'));var router=express[_0xa5ec('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0xa5ec('0x5'));var config=require(_0xa5ec('0x6'));module['exports']=router; \ No newline at end of file diff --git a/server/api/userMailQueue/userMailQueue.attributes.js b/server/api/userMailQueue/userMailQueue.attributes.js index dd6c129..e1a63f4 100644 --- a/server/api/userMailQueue/userMailQueue.attributes.js +++ b/server/api/userMailQueue/userMailQueue.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xe706=['INTEGER','sequelize','exports'];(function(_0x1a6b04,_0x5005f2){var _0x1b17c5=function(_0x2b30fd){while(--_0x2b30fd){_0x1a6b04['push'](_0x1a6b04['shift']());}};_0x1b17c5(++_0x5005f2);}(_0xe706,0xa3));var _0x6e70=function(_0x2a9202,_0x5e68cb){_0x2a9202=_0x2a9202-0x0;var _0x316625=_0xe706[_0x2a9202];return _0x316625;};'use strict';var Sequelize=require(_0x6e70('0x0'));module[_0x6e70('0x1')]={'penalty':{'type':Sequelize[_0x6e70('0x2')],'defaultValue':0x0}}; \ No newline at end of file +var _0xbaf0=['exports','INTEGER'];(function(_0x3be7ff,_0x12e714){var _0x186721=function(_0x2bc9e1){while(--_0x2bc9e1){_0x3be7ff['push'](_0x3be7ff['shift']());}};_0x186721(++_0x12e714);}(_0xbaf0,0x12a));var _0x0baf=function(_0x465028,_0x4570ac){_0x465028=_0x465028-0x0;var _0xb783d4=_0xbaf0[_0x465028];return _0xb783d4;};'use strict';var Sequelize=require('sequelize');module[_0x0baf('0x0')]={'penalty':{'type':Sequelize[_0x0baf('0x1')],'defaultValue':0x0}}; \ No newline at end of file diff --git a/server/api/userMailQueue/userMailQueue.model.js b/server/api/userMailQueue/userMailQueue.model.js index e2abfb1..0ee8b19 100644 --- a/server/api/userMailQueue/userMailQueue.model.js +++ b/server/api/userMailQueue/userMailQueue.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xe706=['request-promise','path','rimraf','../../config/environment','./userMailQueue.attributes','exports','define','UserMailQueue','user_has_mail_queues','lodash','util','../../config/logger','moment','bluebird'];(function(_0x229dab,_0x13fc78){var _0x851f93=function(_0x2a70e8){while(--_0x2a70e8){_0x229dab['push'](_0x229dab['shift']());}};_0x851f93(++_0x13fc78);}(_0xe706,0xa3));var _0x6e70=function(_0x423097,_0x8a09f4){_0x423097=_0x423097-0x0;var _0x3a73f1=_0xe706[_0x423097];return _0x3a73f1;};'use strict';var _=require(_0x6e70('0x0'));var util=require(_0x6e70('0x1'));var logger=require(_0x6e70('0x2'))('api');var moment=require(_0x6e70('0x3'));var BPromise=require(_0x6e70('0x4'));var rp=require(_0x6e70('0x5'));var fs=require('fs');var path=require(_0x6e70('0x6'));var rimraf=require(_0x6e70('0x7'));var config=require(_0x6e70('0x8'));var attributes=require(_0x6e70('0x9'));module[_0x6e70('0xa')]=function(_0x1b0389,_0x4381d1){return _0x1b0389[_0x6e70('0xb')](_0x6e70('0xc'),attributes,{'tableName':_0x6e70('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0x757a=['define','user_has_mail_queues','util','../../config/logger','request-promise','path','rimraf','../../config/environment','./userMailQueue.attributes','exports'];(function(_0x58ac34,_0x5b5bfb){var _0x3921ab=function(_0x172dd5){while(--_0x172dd5){_0x58ac34['push'](_0x58ac34['shift']());}};_0x3921ab(++_0x5b5bfb);}(_0x757a,0xde));var _0xa757=function(_0x1edab0,_0x4f6b98){_0x1edab0=_0x1edab0-0x0;var _0x67baf7=_0x757a[_0x1edab0];return _0x67baf7;};'use strict';var _=require('lodash');var util=require(_0xa757('0x0'));var logger=require(_0xa757('0x1'))('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0xa757('0x2'));var fs=require('fs');var path=require(_0xa757('0x3'));var rimraf=require(_0xa757('0x4'));var config=require(_0xa757('0x5'));var attributes=require(_0xa757('0x6'));module[_0xa757('0x7')]=function(_0x5edca8,_0xae0e7c){return _0x5edca8[_0xa757('0x8')]('UserMailQueue',attributes,{'tableName':_0xa757('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/userMailQueue/userMailQueue.rpc.js b/server/api/userMailQueue/userMailQueue.rpc.js index 7a6432f..37340a2 100644 --- a/server/api/userMailQueue/userMailQueue.rpc.js +++ b/server/api/userMailQueue/userMailQueue.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x5024=['request\x20sent','UserMailQueue,\x20%s,\x20%s,\x20%s','stringify','error','code','message','catch','lodash','util','moment','bluebird','ioredis','../../mysqldb','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','then','UserMailQueue,\x20%s,\x20%s'];(function(_0x340756,_0xad31ae){var _0x2ef745=function(_0x59ffde){while(--_0x59ffde){_0x340756['push'](_0x340756['shift']());}};_0x2ef745(++_0xad31ae);}(_0x5024,0xf7));var _0x4502=function(_0x55cf73,_0x5ae0b7){_0x55cf73=_0x55cf73-0x0;var _0xd1bfbe=_0x5024[_0x55cf73];return _0xd1bfbe;};'use strict';var _=require(_0x4502('0x0'));var util=require(_0x4502('0x1'));var moment=require(_0x4502('0x2'));var BPromise=require(_0x4502('0x3'));var rs=require('randomstring');var fs=require('fs');var Redis=require(_0x4502('0x4'));var db=require(_0x4502('0x5'))['db'];var utils=require(_0x4502('0x6'));var logger=require(_0x4502('0x7'))(_0x4502('0x8'));var config=require(_0x4502('0x9'));var jayson=require(_0x4502('0xa'));var client=jayson['client']['http']({'port':0x232a});function respondWithRpcPromise(_0x429d5f,_0x5a2a47,_0x45d2eb){return new BPromise(function(_0x254536,_0x4997b7){return client['request'](_0x429d5f,_0x45d2eb)[_0x4502('0xb')](function(_0x2fe973){logger['info'](_0x4502('0xc'),_0x5a2a47,_0x4502('0xd'));logger['debug'](_0x4502('0xe'),_0x5a2a47,_0x4502('0xd'),JSON[_0x4502('0xf')](_0x2fe973));if(_0x2fe973[_0x4502('0x10')]){if(_0x2fe973[_0x4502('0x10')][_0x4502('0x11')]===0x1f4){logger['error'](_0x4502('0xc'),_0x5a2a47,_0x2fe973['error'][_0x4502('0x12')]);return _0x4997b7(_0x2fe973[_0x4502('0x10')]['message']);}logger[_0x4502('0x10')](_0x4502('0xc'),_0x5a2a47,_0x2fe973[_0x4502('0x10')][_0x4502('0x12')]);return _0x254536(_0x2fe973[_0x4502('0x10')][_0x4502('0x12')]);}else{logger['info'](_0x4502('0xc'),_0x5a2a47,_0x4502('0xd'));_0x254536(_0x2fe973['result'][_0x4502('0x12')]);}})[_0x4502('0x13')](function(_0x33ab10){logger[_0x4502('0x10')]('UserMailQueue,\x20%s,\x20%s',_0x5a2a47,_0x33ab10);_0x4997b7(_0x33ab10);});});} \ No newline at end of file +var _0x6596=['stringify','error','code','message','request\x20sent','result','catch','lodash','util','bluebird','randomstring','ioredis','../../mysqldb','../../config/utils','../../config/logger','jayson/promise','client','http','request','then','info','UserMailQueue,\x20%s,\x20%s','debug'];(function(_0x5aec35,_0x180235){var _0x511537=function(_0x21bcb2){while(--_0x21bcb2){_0x5aec35['push'](_0x5aec35['shift']());}};_0x511537(++_0x180235);}(_0x6596,0x1d3));var _0x6659=function(_0x305efe,_0x212cdb){_0x305efe=_0x305efe-0x0;var _0x453ad8=_0x6596[_0x305efe];return _0x453ad8;};'use strict';var _=require(_0x6659('0x0'));var util=require(_0x6659('0x1'));var moment=require('moment');var BPromise=require(_0x6659('0x2'));var rs=require(_0x6659('0x3'));var fs=require('fs');var Redis=require(_0x6659('0x4'));var db=require(_0x6659('0x5'))['db'];var utils=require(_0x6659('0x6'));var logger=require(_0x6659('0x7'))('rpc');var config=require('../../config/environment');var jayson=require(_0x6659('0x8'));var client=jayson[_0x6659('0x9')][_0x6659('0xa')]({'port':0x232a});function respondWithRpcPromise(_0x1ed458,_0x29292b,_0x4a900d){return new BPromise(function(_0x485ea0,_0x24bfdf){return client[_0x6659('0xb')](_0x1ed458,_0x4a900d)[_0x6659('0xc')](function(_0x2aee6e){logger[_0x6659('0xd')](_0x6659('0xe'),_0x29292b,'request\x20sent');logger[_0x6659('0xf')]('UserMailQueue,\x20%s,\x20%s,\x20%s',_0x29292b,'request\x20sent',JSON[_0x6659('0x10')](_0x2aee6e));if(_0x2aee6e['error']){if(_0x2aee6e[_0x6659('0x11')][_0x6659('0x12')]===0x1f4){logger[_0x6659('0x11')](_0x6659('0xe'),_0x29292b,_0x2aee6e['error'][_0x6659('0x13')]);return _0x24bfdf(_0x2aee6e[_0x6659('0x11')]['message']);}logger[_0x6659('0x11')](_0x6659('0xe'),_0x29292b,_0x2aee6e[_0x6659('0x11')][_0x6659('0x13')]);return _0x485ea0(_0x2aee6e[_0x6659('0x11')][_0x6659('0x13')]);}else{logger['info'](_0x6659('0xe'),_0x29292b,_0x6659('0x14'));_0x485ea0(_0x2aee6e[_0x6659('0x15')][_0x6659('0x13')]);}})[_0x6659('0x16')](function(_0x75836a){logger['error']('UserMailQueue,\x20%s,\x20%s',_0x29292b,_0x75836a);_0x24bfdf(_0x75836a);});});} \ No newline at end of file diff --git a/server/api/userOpenchannelQueue/index.js b/server/api/userOpenchannelQueue/index.js index c1adf28..bfe9894 100644 --- a/server/api/userOpenchannelQueue/index.js +++ b/server/api/userOpenchannelQueue/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x1268=['util','path','../../components/auth/service','../../components/interaction/service','../../config/environment','multer'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x1268,0x10d));var _0x8126=function(_0x805261,_0x5711fe){_0x805261=_0x805261-0x0;var _0x38944d=_0x1268[_0x805261];return _0x38944d;};'use strict';var multer=require(_0x8126('0x0'));var util=require(_0x8126('0x1'));var path=require(_0x8126('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express['Router']();var auth=require(_0x8126('0x3'));var interaction=require(_0x8126('0x4'));var config=require(_0x8126('0x5'));module['exports']=router; \ No newline at end of file +var _0x3a15=['../../components/interaction/service','../../config/environment','multer','util','connect-timeout','Router','../../components/auth/service'];(function(_0x53fb7c,_0x26c1ce){var _0x524bb6=function(_0x8fb08e){while(--_0x8fb08e){_0x53fb7c['push'](_0x53fb7c['shift']());}};_0x524bb6(++_0x26c1ce);}(_0x3a15,0x1bb));var _0x53a1=function(_0x4ee917,_0x948a17){_0x4ee917=_0x4ee917-0x0;var _0x2213a5=_0x3a15[_0x4ee917];return _0x2213a5;};'use strict';var multer=require(_0x53a1('0x0'));var util=require(_0x53a1('0x1'));var path=require('path');var timeout=require(_0x53a1('0x2'));var express=require('express');var router=express[_0x53a1('0x3')]();var auth=require(_0x53a1('0x4'));var interaction=require(_0x53a1('0x5'));var config=require(_0x53a1('0x6'));module['exports']=router; \ No newline at end of file diff --git a/server/api/userOpenchannelQueue/userOpenchannelQueue.attributes.js b/server/api/userOpenchannelQueue/userOpenchannelQueue.attributes.js index 48525c1..a48b635 100644 --- a/server/api/userOpenchannelQueue/userOpenchannelQueue.attributes.js +++ b/server/api/userOpenchannelQueue/userOpenchannelQueue.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xe706=['INTEGER','sequelize','exports'];(function(_0x5b8d17,_0x36d00a){var _0x2131c5=function(_0x55cc28){while(--_0x55cc28){_0x5b8d17['push'](_0x5b8d17['shift']());}};_0x2131c5(++_0x36d00a);}(_0xe706,0xa3));var _0x6e70=function(_0x2c0ded,_0x3de22c){_0x2c0ded=_0x2c0ded-0x0;var _0x4473e5=_0xe706[_0x2c0ded];return _0x4473e5;};'use strict';var Sequelize=require(_0x6e70('0x0'));module[_0x6e70('0x1')]={'penalty':{'type':Sequelize[_0x6e70('0x2')],'defaultValue':0x0}}; \ No newline at end of file +var _0xa9e0=['sequelize','exports','INTEGER'];(function(_0x34e4b3,_0x22d6a4){var _0x2d695e=function(_0x473e08){while(--_0x473e08){_0x34e4b3['push'](_0x34e4b3['shift']());}};_0x2d695e(++_0x22d6a4);}(_0xa9e0,0x123));var _0x0a9e=function(_0x4fc9e6,_0xc51915){_0x4fc9e6=_0x4fc9e6-0x0;var _0x551d28=_0xa9e0[_0x4fc9e6];return _0x551d28;};'use strict';var Sequelize=require(_0x0a9e('0x0'));module[_0x0a9e('0x1')]={'penalty':{'type':Sequelize[_0x0a9e('0x2')],'defaultValue':0x0}}; \ No newline at end of file diff --git a/server/api/userOpenchannelQueue/userOpenchannelQueue.model.js b/server/api/userOpenchannelQueue/userOpenchannelQueue.model.js index f7693f1..bbab4a2 100644 --- a/server/api/userOpenchannelQueue/userOpenchannelQueue.model.js +++ b/server/api/userOpenchannelQueue/userOpenchannelQueue.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xe2d4=['api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./userOpenchannelQueue.attributes','exports','define','UserOpenchannelQueue','user_has_openchannel_queues','lodash','../../config/logger'];(function(_0x5a9bdf,_0x1f6c95){var _0x5b1969=function(_0x4dd3cb){while(--_0x4dd3cb){_0x5a9bdf['push'](_0x5a9bdf['shift']());}};_0x5b1969(++_0x1f6c95);}(_0xe2d4,0x116));var _0x4e2d=function(_0x6c1e6b,_0x3298eb){_0x6c1e6b=_0x6c1e6b-0x0;var _0x187eb2=_0xe2d4[_0x6c1e6b];return _0x187eb2;};'use strict';var _=require(_0x4e2d('0x0'));var util=require('util');var logger=require(_0x4e2d('0x1'))(_0x4e2d('0x2'));var moment=require(_0x4e2d('0x3'));var BPromise=require(_0x4e2d('0x4'));var rp=require(_0x4e2d('0x5'));var fs=require('fs');var path=require(_0x4e2d('0x6'));var rimraf=require(_0x4e2d('0x7'));var config=require(_0x4e2d('0x8'));var attributes=require(_0x4e2d('0x9'));module[_0x4e2d('0xa')]=function(_0x5de76b,_0x27eb3d){return _0x5de76b[_0x4e2d('0xb')](_0x4e2d('0xc'),attributes,{'tableName':_0x4e2d('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0x9eed=['user_has_openchannel_queues','lodash','util','../../config/logger','api','moment','request-promise','path','rimraf','../../config/environment','exports','define','UserOpenchannelQueue'];(function(_0x22ee1e,_0x3eff80){var _0x49a5c9=function(_0x373480){while(--_0x373480){_0x22ee1e['push'](_0x22ee1e['shift']());}};_0x49a5c9(++_0x3eff80);}(_0x9eed,0x146));var _0xd9ee=function(_0x1da467,_0x1f0609){_0x1da467=_0x1da467-0x0;var _0x2f354e=_0x9eed[_0x1da467];return _0x2f354e;};'use strict';var _=require(_0xd9ee('0x0'));var util=require(_0xd9ee('0x1'));var logger=require(_0xd9ee('0x2'))(_0xd9ee('0x3'));var moment=require(_0xd9ee('0x4'));var BPromise=require('bluebird');var rp=require(_0xd9ee('0x5'));var fs=require('fs');var path=require(_0xd9ee('0x6'));var rimraf=require(_0xd9ee('0x7'));var config=require(_0xd9ee('0x8'));var attributes=require('./userOpenchannelQueue.attributes');module[_0xd9ee('0x9')]=function(_0x349b26,_0x3a475f){return _0x349b26[_0xd9ee('0xa')](_0xd9ee('0xb'),attributes,{'tableName':_0xd9ee('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/userOpenchannelQueue/userOpenchannelQueue.rpc.js b/server/api/userOpenchannelQueue/userOpenchannelQueue.rpc.js index 3a2fca1..c4cf01d 100644 --- a/server/api/userOpenchannelQueue/userOpenchannelQueue.rpc.js +++ b/server/api/userOpenchannelQueue/userOpenchannelQueue.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x0393=['randomstring','ioredis','../../config/utils','rpc','../../config/environment','jayson/promise','client','then','info','UserOpenchannelQueue,\x20%s,\x20%s','request\x20sent','debug','UserOpenchannelQueue,\x20%s,\x20%s,\x20%s','stringify','error','code','message','result','catch','util','moment'];(function(_0x25699a,_0x1131ed){var _0x8bb70c=function(_0x2684aa){while(--_0x2684aa){_0x25699a['push'](_0x25699a['shift']());}};_0x8bb70c(++_0x1131ed);}(_0x0393,0x124));var _0x3039=function(_0x4132e2,_0x205654){_0x4132e2=_0x4132e2-0x0;var _0x56c395=_0x0393[_0x4132e2];return _0x56c395;};'use strict';var _=require('lodash');var util=require(_0x3039('0x0'));var moment=require(_0x3039('0x1'));var BPromise=require('bluebird');var rs=require(_0x3039('0x2'));var fs=require('fs');var Redis=require(_0x3039('0x3'));var db=require('../../mysqldb')['db'];var utils=require(_0x3039('0x4'));var logger=require('../../config/logger')(_0x3039('0x5'));var config=require(_0x3039('0x6'));var jayson=require(_0x3039('0x7'));var client=jayson[_0x3039('0x8')]['http']({'port':0x232a});function respondWithRpcPromise(_0x139b55,_0x37eb47,_0x2a66eb){return new BPromise(function(_0x361713,_0x2e7baa){return client['request'](_0x139b55,_0x2a66eb)[_0x3039('0x9')](function(_0x38e8f2){logger[_0x3039('0xa')](_0x3039('0xb'),_0x37eb47,_0x3039('0xc'));logger[_0x3039('0xd')](_0x3039('0xe'),_0x37eb47,_0x3039('0xc'),JSON[_0x3039('0xf')](_0x38e8f2));if(_0x38e8f2[_0x3039('0x10')]){if(_0x38e8f2['error'][_0x3039('0x11')]===0x1f4){logger[_0x3039('0x10')]('UserOpenchannelQueue,\x20%s,\x20%s',_0x37eb47,_0x38e8f2[_0x3039('0x10')][_0x3039('0x12')]);return _0x2e7baa(_0x38e8f2['error'][_0x3039('0x12')]);}logger[_0x3039('0x10')]('UserOpenchannelQueue,\x20%s,\x20%s',_0x37eb47,_0x38e8f2[_0x3039('0x10')][_0x3039('0x12')]);return _0x361713(_0x38e8f2[_0x3039('0x10')][_0x3039('0x12')]);}else{logger[_0x3039('0xa')](_0x3039('0xb'),_0x37eb47,_0x3039('0xc'));_0x361713(_0x38e8f2[_0x3039('0x13')][_0x3039('0x12')]);}})[_0x3039('0x14')](function(_0x1fd045){logger[_0x3039('0x10')](_0x3039('0xb'),_0x37eb47,_0x1fd045);_0x2e7baa(_0x1fd045);});});} \ No newline at end of file +var _0x7bc1=['error','message','catch','lodash','util','bluebird','randomstring','../../mysqldb','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','then','info','UserOpenchannelQueue,\x20%s,\x20%s','request\x20sent','debug','UserOpenchannelQueue,\x20%s,\x20%s,\x20%s','stringify','code'];(function(_0x282536,_0x3ba66a){var _0x76aa80=function(_0x1625ae){while(--_0x1625ae){_0x282536['push'](_0x282536['shift']());}};_0x76aa80(++_0x3ba66a);}(_0x7bc1,0xab));var _0x17bc=function(_0x3707ad,_0x1d477f){_0x3707ad=_0x3707ad-0x0;var _0x2767cb=_0x7bc1[_0x3707ad];return _0x2767cb;};'use strict';var _=require(_0x17bc('0x0'));var util=require(_0x17bc('0x1'));var moment=require('moment');var BPromise=require(_0x17bc('0x2'));var rs=require(_0x17bc('0x3'));var fs=require('fs');var Redis=require('ioredis');var db=require(_0x17bc('0x4'))['db'];var utils=require(_0x17bc('0x5'));var logger=require(_0x17bc('0x6'))(_0x17bc('0x7'));var config=require(_0x17bc('0x8'));var jayson=require(_0x17bc('0x9'));var client=jayson['client']['http']({'port':0x232a});function respondWithRpcPromise(_0x177af9,_0x400baa,_0x500ffa){return new BPromise(function(_0x564be5,_0x59468f){return client['request'](_0x177af9,_0x500ffa)[_0x17bc('0xa')](function(_0x33ff3d){logger[_0x17bc('0xb')](_0x17bc('0xc'),_0x400baa,_0x17bc('0xd'));logger[_0x17bc('0xe')](_0x17bc('0xf'),_0x400baa,'request\x20sent',JSON[_0x17bc('0x10')](_0x33ff3d));if(_0x33ff3d['error']){if(_0x33ff3d['error'][_0x17bc('0x11')]===0x1f4){logger[_0x17bc('0x12')]('UserOpenchannelQueue,\x20%s,\x20%s',_0x400baa,_0x33ff3d[_0x17bc('0x12')]['message']);return _0x59468f(_0x33ff3d[_0x17bc('0x12')][_0x17bc('0x13')]);}logger[_0x17bc('0x12')](_0x17bc('0xc'),_0x400baa,_0x33ff3d[_0x17bc('0x12')][_0x17bc('0x13')]);return _0x564be5(_0x33ff3d[_0x17bc('0x12')][_0x17bc('0x13')]);}else{logger[_0x17bc('0xb')](_0x17bc('0xc'),_0x400baa,'request\x20sent');_0x564be5(_0x33ff3d['result'][_0x17bc('0x13')]);}})[_0x17bc('0x14')](function(_0x549e39){logger['error'](_0x17bc('0xc'),_0x400baa,_0x549e39);_0x59468f(_0x549e39);});});} \ No newline at end of file diff --git a/server/api/userProfile/index.js b/server/api/userProfile/index.js index d36c1ed..edde8a3 100644 --- a/server/api/userProfile/index.js +++ b/server/api/userProfile/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x3e69=['clone','/:id/sections','addSections','addResources','put','update','delete','destroy','removeSections','exports','multer','util','path','connect-timeout','Router','../../components/auth/service','../../config/environment','get','isAuthenticated','index','/describe','/:id','show','getSections','/:id/resources','getResources','post','create'];(function(_0x2df507,_0x553862){var _0x1f7167=function(_0x11319e){while(--_0x11319e){_0x2df507['push'](_0x2df507['shift']());}};_0x1f7167(++_0x553862);}(_0x3e69,0x7a));var _0x93e6=function(_0x1f239e,_0x367b43){_0x1f239e=_0x1f239e-0x0;var _0x826971=_0x3e69[_0x1f239e];return _0x826971;};'use strict';var multer=require(_0x93e6('0x0'));var util=require(_0x93e6('0x1'));var path=require(_0x93e6('0x2'));var timeout=require(_0x93e6('0x3'));var express=require('express');var router=express[_0x93e6('0x4')]();var auth=require(_0x93e6('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x93e6('0x6'));var controller=require('./userProfile.controller');router[_0x93e6('0x7')]('/',auth[_0x93e6('0x8')](),controller[_0x93e6('0x9')]);router[_0x93e6('0x7')](_0x93e6('0xa'),auth['isAuthenticated'](),controller['describe']);router[_0x93e6('0x7')](_0x93e6('0xb'),auth[_0x93e6('0x8')](),controller[_0x93e6('0xc')]);router['get']('/:id/sections',auth[_0x93e6('0x8')](),controller[_0x93e6('0xd')]);router[_0x93e6('0x7')](_0x93e6('0xe'),auth[_0x93e6('0x8')](),controller[_0x93e6('0xf')]);router[_0x93e6('0x10')]('/',auth[_0x93e6('0x8')](),controller[_0x93e6('0x11')]);router[_0x93e6('0x10')]('/:id/clone',auth[_0x93e6('0x8')](),controller[_0x93e6('0x12')]);router[_0x93e6('0x10')](_0x93e6('0x13'),auth[_0x93e6('0x8')](),controller[_0x93e6('0x14')]);router[_0x93e6('0x10')]('/:id/resources',auth[_0x93e6('0x8')](),controller[_0x93e6('0x15')]);router[_0x93e6('0x16')]('/:id',auth[_0x93e6('0x8')](),controller[_0x93e6('0x17')]);router[_0x93e6('0x18')](_0x93e6('0xb'),auth['isAuthenticated'](),controller[_0x93e6('0x19')]);router[_0x93e6('0x18')](_0x93e6('0x13'),auth[_0x93e6('0x8')](),controller[_0x93e6('0x1a')]);router[_0x93e6('0x18')]('/:id/resources',auth[_0x93e6('0x8')](),controller['removeResources']);module[_0x93e6('0x1b')]=router; \ No newline at end of file +var _0xcccb=['../../components/auth/service','../../components/interaction/service','../../config/environment','./userProfile.controller','get','isAuthenticated','/describe','describe','/:id','getSections','/:id/resources','getResources','create','post','/:id/clone','clone','addSections','addResources','put','update','delete','destroy','removeSections','removeResources','exports','multer','util','path','Router'];(function(_0x124059,_0x330297){var _0x58e07a=function(_0x281d3d){while(--_0x281d3d){_0x124059['push'](_0x124059['shift']());}};_0x58e07a(++_0x330297);}(_0xcccb,0xaa));var _0xbccc=function(_0x47fc44,_0x543b52){_0x47fc44=_0x47fc44-0x0;var _0x230d71=_0xcccb[_0x47fc44];return _0x230d71;};'use strict';var multer=require(_0xbccc('0x0'));var util=require(_0xbccc('0x1'));var path=require(_0xbccc('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0xbccc('0x3')]();var auth=require(_0xbccc('0x4'));var interaction=require(_0xbccc('0x5'));var config=require(_0xbccc('0x6'));var controller=require(_0xbccc('0x7'));router[_0xbccc('0x8')]('/',auth[_0xbccc('0x9')](),controller['index']);router[_0xbccc('0x8')](_0xbccc('0xa'),auth[_0xbccc('0x9')](),controller[_0xbccc('0xb')]);router['get'](_0xbccc('0xc'),auth[_0xbccc('0x9')](),controller['show']);router[_0xbccc('0x8')]('/:id/sections',auth[_0xbccc('0x9')](),controller[_0xbccc('0xd')]);router['get'](_0xbccc('0xe'),auth[_0xbccc('0x9')](),controller[_0xbccc('0xf')]);router['post']('/',auth[_0xbccc('0x9')](),controller[_0xbccc('0x10')]);router[_0xbccc('0x11')](_0xbccc('0x12'),auth[_0xbccc('0x9')](),controller[_0xbccc('0x13')]);router[_0xbccc('0x11')]('/:id/sections',auth['isAuthenticated'](),controller[_0xbccc('0x14')]);router[_0xbccc('0x11')](_0xbccc('0xe'),auth['isAuthenticated'](),controller[_0xbccc('0x15')]);router[_0xbccc('0x16')]('/:id',auth[_0xbccc('0x9')](),controller[_0xbccc('0x17')]);router[_0xbccc('0x18')]('/:id',auth[_0xbccc('0x9')](),controller[_0xbccc('0x19')]);router[_0xbccc('0x18')]('/:id/sections',auth['isAuthenticated'](),controller[_0xbccc('0x1a')]);router['delete'](_0xbccc('0xe'),auth[_0xbccc('0x9')](),controller[_0xbccc('0x1b')]);module[_0xbccc('0x1c')]=router; \ No newline at end of file diff --git a/server/api/userProfile/userProfile.attributes.js b/server/api/userProfile/userProfile.attributes.js index 840916b..2c3a619 100644 --- a/server/api/userProfile/userProfile.attributes.js +++ b/server/api/userProfile/userProfile.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x252f=['STRING','join','getDataValue','crudPermissions','sequelize','exports'];(function(_0x377e6a,_0x6817e5){var _0x5db6b3=function(_0x2469af){while(--_0x2469af){_0x377e6a['push'](_0x377e6a['shift']());}};_0x5db6b3(++_0x6817e5);}(_0x252f,0xd0));var _0xf252=function(_0x26c10f,_0x5411be){_0x26c10f=_0x26c10f-0x0;var _0x17e0b8=_0x252f[_0x26c10f];return _0x17e0b8;};'use strict';var Sequelize=require(_0xf252('0x0'));module[_0xf252('0x1')]={'name':{'type':Sequelize['STRING'],'allowNull':![],'unique':'name'},'crudPermissions':{'type':Sequelize[_0xf252('0x2')],'set':function(_0x2663b4){this['setDataValue']('crudPermissions',_0x2663b4?_0x2663b4[_0xf252('0x3')](''):[]);},'get':function(){return this[_0xf252('0x4')](_0xf252('0x5'))?this[_0xf252('0x4')](_0xf252('0x5'))['split'](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0xf252('0x2')],'allowNull':!![]}}; \ No newline at end of file +var _0x8d2b=['split','sequelize','exports','STRING','setDataValue','crudPermissions','join','getDataValue'];(function(_0x4d35c7,_0xb930e0){var _0x595121=function(_0x501d32){while(--_0x501d32){_0x4d35c7['push'](_0x4d35c7['shift']());}};_0x595121(++_0xb930e0);}(_0x8d2b,0x1c9));var _0xb8d2=function(_0x19b84f,_0x48765e){_0x19b84f=_0x19b84f-0x0;var _0x18067b=_0x8d2b[_0x19b84f];return _0x18067b;};'use strict';var Sequelize=require(_0xb8d2('0x0'));module[_0xb8d2('0x1')]={'name':{'type':Sequelize[_0xb8d2('0x2')],'allowNull':![],'unique':'name'},'crudPermissions':{'type':Sequelize[_0xb8d2('0x2')],'set':function(_0x13edaa){this[_0xb8d2('0x3')](_0xb8d2('0x4'),_0x13edaa?_0x13edaa[_0xb8d2('0x5')](''):[]);},'get':function(){return this[_0xb8d2('0x6')]('crudPermissions')?this[_0xb8d2('0x6')](_0xb8d2('0x4'))[_0xb8d2('0x7')](''):[];},'allowNull':![],'defaultValue':'r'},'description':{'type':Sequelize[_0xb8d2('0x2')],'allowNull':!![]}}; \ No newline at end of file diff --git a/server/api/userProfile/userProfile.controller.js b/server/api/userProfile/userProfile.controller.js index 89ebb3e..b4fbca2 100644 --- a/server/api/userProfile/userProfile.controller.js +++ b/server/api/userProfile/userProfile.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x27a0=['request-promise','moment','bluebird','mustache','util','path','sox','to-csv','ejs','lodash','squel','crypto','jsforce','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/logger','api','../../config/utils','../../mysqldb','defaults','redis','./userProfile.socket','sendStatus','status','end','json','count','offset','Content-Range','apply','reject','save','update','then','destroy','error','name','send','index','map','rawAttributes','fieldName','type','key','query','keys','intersection','model','fields','attributes','hasOwnProperty','limit','sort','filters','pick','filter','where','merge','VIRTUAL','UserProfile','includeAll','include','findAll','show','params','length','options','find','catch','create','body','clone','get','omit','createdAt','crudPermissions','sequelize','transaction','each','autoAssociation','UserProfileResource','updatedAt','sectionId','userProfileId','Resources','UserProfileSection','describe','addSections','push','removeSections','ids','getSections','enabled','includes','isEmpty','subsections','findOne','Dashboard','forEach','Plugin','addResources','bulkCreate','removeResources','getResources','section','undefined','Sequelize','ValidationError','mergeResources','childModel','Invalid\x20section\x20\x27','parentSections','all','ignore','union','order','field','AnalyticExtractedReport','foreignKey','associatedResources','reportType','reportId','custom','CustomReports','rows','CmContact','Tag','color','ThroughTags','tag','value','resourceId','toLowerCase','squareprojects','SquareProject','odbc','SquareOdbc','SquareRecording','projectName','JscriptyProject','ListId','lists','CmList','companies','CmCompany','globalcustomfields','CmCustomField','chatqueues','ChatQueue','chatwebsites','ChatWebsite','faxqueues','FaxQueue','faxaccounts','inboundroutes','contexts','VoiceContext','voicemails','VoiceMail','VoiceRecording','role','agent','Telephones','membername','User','telephone','VoiceQueues','queue','VoiceQueue','QueueCampaigns','outbound','musiconholds','VoiceMusicOnHold','chanspies','VoiceChanSpy','voiceprefixes','VoicePrefix','ivrcampaigns','Campaign','mailqueues','MailQueue','MailAccount','mailsubstatuses','openchannelqueues','OpenchannelQueue','openchannelaccounts','OpenchannelAccount','smsqueues','SmsQueue','smsaccounts','SmsAccount','whatsappqueues','WhatsappQueue','teams','Team','queuecampaigns','users','agents','telephones','Users','user','Agents','zendeskaccounts','salesforceaccounts','SalesforceAccount','sugarcrmaccounts','deskaccounts','DeskAccount','zohoaccounts','ZohoAccount','cannedanswers','CannedAnswer','dispositions','Disposition','customdashboards','Interval','scheduler','Schedule','sounds','Sound','tags','templates','Template','Trigger','Trunk','variables','Variable','extractedreports','Reports','metrics','whatsappaccounts','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch'];(function(_0xa2ee34,_0x51bfc6){var _0x21383e=function(_0x444ea9){while(--_0x444ea9){_0xa2ee34['push'](_0xa2ee34['shift']());}};_0x21383e(++_0x51bfc6);}(_0x27a0,0x1d9));var _0x027a=function(_0x121766,_0x2e76de){_0x121766=_0x121766-0x0;var _0x4883ba=_0x27a0[_0x121766];return _0x4883ba;};'use strict';var pdf=require(_0x027a('0x0'));var emlformat=require(_0x027a('0x1'));var rimraf=require(_0x027a('0x2'));var zipdir=require(_0x027a('0x3'));var jsonpatch=require(_0x027a('0x4'));var rp=require(_0x027a('0x5'));var moment=require(_0x027a('0x6'));var BPromise=require(_0x027a('0x7'));var Mustache=require(_0x027a('0x8'));var util=require(_0x027a('0x9'));var path=require(_0x027a('0xa'));var sox=require(_0x027a('0xb'));var csv=require(_0x027a('0xc'));var ejs=require(_0x027a('0xd'));var fs=require('fs');var _=require(_0x027a('0xe'));var squel=require(_0x027a('0xf'));var crypto=require(_0x027a('0x10'));var jsforce=require(_0x027a('0x11'));var deskjs=require('desk.js');var toCsv=require(_0x027a('0xc'));var querystring=require('querystring');var Papa=require(_0x027a('0x12'));var Redis=require(_0x027a('0x13'));var authService=require(_0x027a('0x14'));var qs=require(_0x027a('0x15'));var as=require(_0x027a('0x16'));var hardwareService=require('../../config/license/hardware');var logger=require(_0x027a('0x17'))(_0x027a('0x18'));var utils=require(_0x027a('0x19'));var config=require('../../config/environment');var db=require(_0x027a('0x1a'))['db'];config['redis']=_[_0x027a('0x1b')](config[_0x027a('0x1c')],{'host':'localhost','port':0x18eb});var socket=require('socket.io-emitter')(new Redis(config[_0x027a('0x1c')]));require(_0x027a('0x1d'))['register'](socket);function respondWithStatusCode(_0x3d943f,_0x23df9e){_0x23df9e=_0x23df9e||0xcc;return function(_0x33982c){if(_0x33982c){return _0x3d943f[_0x027a('0x1e')](_0x23df9e);}return _0x3d943f[_0x027a('0x1f')](_0x23df9e)[_0x027a('0x20')]();};}function respondWithResult(_0x5d4216,_0x445e4b){_0x445e4b=_0x445e4b||0xc8;return function(_0x2985b1){if(_0x2985b1){return _0x5d4216['status'](_0x445e4b)[_0x027a('0x21')](_0x2985b1);}};}function respondWithFilteredResult(_0x106490,_0x40dfcc){return function(_0x47663e){if(_0x47663e){var _0x28ef20=_0x47663e[_0x027a('0x22')],_0x155be5=_0x40dfcc[_0x027a('0x23')],_0x442719=_0x40dfcc[_0x027a('0x23')]+_0x40dfcc['limit'],_0x17372e;if(_0x442719>=_0x28ef20){_0x442719=_0x28ef20;_0x17372e=0xc8;}else{_0x17372e=0xce;}_0x106490[_0x027a('0x1f')](_0x17372e);return _0x106490['set'](_0x027a('0x24'),_0x155be5+'-'+_0x442719+'/'+_0x28ef20)['json'](_0x47663e);}return null;};}function patchUpdates(_0x590d1b){return function(_0xf8a68d){try{jsonpatch[_0x027a('0x25')](_0xf8a68d,_0x590d1b,!![]);}catch(_0x3290c1){return BPromise[_0x027a('0x26')](_0x3290c1);}return _0xf8a68d[_0x027a('0x27')]();};}function saveUpdates(_0x5b2261,_0x17d7b1){return function(_0x41a7c0){if(_0x41a7c0){return _0x41a7c0[_0x027a('0x28')](_0x5b2261)[_0x027a('0x29')](function(_0x3ad164){return _0x3ad164;});}return null;};}function removeEntity(_0xa82eb8,_0x300e90){return function(_0x196ecc){if(_0x196ecc){return _0x196ecc[_0x027a('0x2a')]()[_0x027a('0x29')](function(){_0xa82eb8[_0x027a('0x1f')](0xcc)[_0x027a('0x20')]();});}};}function handleEntityNotFound(_0x35cb57,_0x5ae3a2){return function(_0x5c6ecb){if(!_0x5c6ecb){_0x35cb57[_0x027a('0x1e')](0x194);}return _0x5c6ecb;};}function handleError(_0x37578d,_0x2da279){_0x2da279=_0x2da279||0x1f4;return function(_0x49c3ca){logger[_0x027a('0x2b')](_0x49c3ca['stack']);if(_0x49c3ca[_0x027a('0x2c')]){delete _0x49c3ca['name'];}_0x37578d['status'](_0x2da279)[_0x027a('0x2d')](_0x49c3ca);};}exports[_0x027a('0x2e')]=function(_0x15b8ba,_0xad7c60){var _0x563e5a={},_0x23a299={},_0x4c4c85={'count':0x0,'rows':[]};var _0x74932d=_[_0x027a('0x2f')](db['UserProfile'][_0x027a('0x30')],function(_0x2980bb){return{'name':_0x2980bb[_0x027a('0x31')],'type':_0x2980bb[_0x027a('0x32')][_0x027a('0x33')]};});_0x23a299['model']=_[_0x027a('0x2f')](_0x74932d,_0x027a('0x2c'));_0x23a299[_0x027a('0x34')]=_[_0x027a('0x35')](_0x15b8ba[_0x027a('0x34')]);_0x23a299['filters']=_[_0x027a('0x36')](_0x23a299['model'],_0x23a299[_0x027a('0x34')]);_0x563e5a['attributes']=_[_0x027a('0x36')](_0x23a299[_0x027a('0x37')],qs['fields'](_0x15b8ba['query'][_0x027a('0x38')]));_0x563e5a[_0x027a('0x39')]=_0x563e5a[_0x027a('0x39')]['length']?_0x563e5a[_0x027a('0x39')]:_0x23a299[_0x027a('0x37')];if(!_0x15b8ba[_0x027a('0x34')][_0x027a('0x3a')]('nolimit')){_0x563e5a[_0x027a('0x3b')]=qs[_0x027a('0x3b')](_0x15b8ba[_0x027a('0x34')][_0x027a('0x3b')]);_0x563e5a[_0x027a('0x23')]=qs['offset'](_0x15b8ba[_0x027a('0x34')][_0x027a('0x23')]);}_0x563e5a['order']=qs[_0x027a('0x3c')](_0x15b8ba[_0x027a('0x34')][_0x027a('0x3c')]);_0x563e5a['where']=qs[_0x027a('0x3d')](_[_0x027a('0x3e')](_0x15b8ba[_0x027a('0x34')],_0x23a299[_0x027a('0x3d')]),_0x74932d);if(_0x15b8ba['query'][_0x027a('0x3f')]){_0x563e5a[_0x027a('0x40')]=_[_0x027a('0x41')](_0x563e5a[_0x027a('0x40')],{'$or':_[_0x027a('0x2f')](_0x74932d,function(_0x49c38f){if(_0x49c38f[_0x027a('0x32')]!==_0x027a('0x42')){var _0x2c6d11={};_0x2c6d11[_0x49c38f[_0x027a('0x2c')]]={'$like':'%'+_0x15b8ba[_0x027a('0x34')]['filter']+'%'};return _0x2c6d11;}})});}_0x563e5a=_[_0x027a('0x41')]({},_0x563e5a,_0x15b8ba['options']);var _0xa93a9e={'where':_0x563e5a['where']};return db[_0x027a('0x43')]['count'](_0xa93a9e)[_0x027a('0x29')](function(_0x153bdd){_0x4c4c85[_0x027a('0x22')]=_0x153bdd;if(_0x15b8ba[_0x027a('0x34')][_0x027a('0x44')]){_0x563e5a[_0x027a('0x45')]=[{'all':!![]}];}return db[_0x027a('0x43')][_0x027a('0x46')](_0x563e5a);})[_0x027a('0x29')](function(_0x4b6606){_0x4c4c85['rows']=_0x4b6606;return _0x4c4c85;})[_0x027a('0x29')](respondWithFilteredResult(_0xad7c60,_0x563e5a))['catch'](handleError(_0xad7c60,null));};exports[_0x027a('0x47')]=function(_0x3ad52f,_0x57a741){var _0x8f4c59={'raw':![],'where':{'id':_0x3ad52f[_0x027a('0x48')]['id']}},_0x19d2e2={};_0x19d2e2[_0x027a('0x37')]=_[_0x027a('0x35')](db[_0x027a('0x43')][_0x027a('0x30')]);_0x19d2e2[_0x027a('0x34')]=_[_0x027a('0x35')](_0x3ad52f[_0x027a('0x34')]);_0x19d2e2[_0x027a('0x3d')]=_[_0x027a('0x36')](_0x19d2e2[_0x027a('0x37')],_0x19d2e2[_0x027a('0x34')]);_0x8f4c59[_0x027a('0x39')]=_['intersection'](_0x19d2e2[_0x027a('0x37')],qs[_0x027a('0x38')](_0x3ad52f[_0x027a('0x34')][_0x027a('0x38')]));_0x8f4c59[_0x027a('0x39')]=_0x8f4c59[_0x027a('0x39')][_0x027a('0x49')]?_0x8f4c59[_0x027a('0x39')]:_0x19d2e2[_0x027a('0x37')];if(_0x3ad52f[_0x027a('0x34')][_0x027a('0x44')]){_0x8f4c59[_0x027a('0x45')]=[{'all':!![]}];}_0x8f4c59=_[_0x027a('0x41')]({},_0x8f4c59,_0x3ad52f[_0x027a('0x4a')]);return db[_0x027a('0x43')][_0x027a('0x4b')](_0x8f4c59)[_0x027a('0x29')](handleEntityNotFound(_0x57a741,null))[_0x027a('0x29')](respondWithResult(_0x57a741,null))[_0x027a('0x4c')](handleError(_0x57a741,null));};exports[_0x027a('0x4d')]=function(_0x4eae7e,_0x3b9dca){return db['UserProfile'][_0x027a('0x4d')](_0x4eae7e[_0x027a('0x4e')],{})[_0x027a('0x29')](respondWithResult(_0x3b9dca,0xc9))['catch'](handleError(_0x3b9dca,null));};exports[_0x027a('0x4f')]=function(_0xac1007,_0x21e52d){var _0x43e33a={'where':{'id':_0xac1007[_0x027a('0x48')]['id']}},_0x4caa3d={};_0x4caa3d[_0x027a('0x37')]=_[_0x027a('0x35')](db[_0x027a('0x43')]['rawAttributes']);_0x43e33a[_0x027a('0x39')]=_[_0x027a('0x36')](_0x4caa3d[_0x027a('0x37')],qs[_0x027a('0x38')](_0xac1007[_0x027a('0x34')][_0x027a('0x38')]));_0x43e33a[_0x027a('0x39')]=_0x43e33a['attributes'][_0x027a('0x49')]?_0x43e33a[_0x027a('0x39')]:_0x4caa3d['model'];if(_0xac1007[_0x027a('0x34')][_0x027a('0x44')]){_0x43e33a['include']=[{'all':!![]}];}_0x43e33a=_[_0x027a('0x41')]({},_0x43e33a,_0xac1007[_0x027a('0x4a')]);return db['UserProfile']['find'](_0x43e33a)[_0x027a('0x29')](handleEntityNotFound(_0x21e52d,null))[_0x027a('0x29')](function(_0x797cb3){if(_0x797cb3){var _0xba5a84=_0x797cb3[_0x027a('0x50')]({'plain':!![]});_0xba5a84=qs[_0x027a('0x51')](_0xba5a84,['id',_0x027a('0x52'),'updatedAt',_0x027a('0x53')]);_0xac1007[_0x027a('0x4e')]=_['omit'](_0xac1007[_0x027a('0x4e')],['id','createdAt','updatedAt']);return db[_0x027a('0x54')][_0x027a('0x55')](function(_0x30acd6){return db[_0x027a('0x43')]['create'](_[_0x027a('0x41')](_0xba5a84,_0xac1007['body']),{'include':_0xac1007[_0x027a('0x34')]['includeAll']?[{'all':!![]}]:undefined,'transaction':_0x30acd6})['then'](function(_0x2ec33e){var _0xcac1c0=_0x2ec33e[_0x027a('0x50')]({'plain':!![]});return db['UserProfileSection'][_0x027a('0x46')]({'where':{'userProfileId':_0xac1007[_0x027a('0x48')]['id']},'raw':!![]})[_0x027a('0x29')](function(_0x1ba0f8){if(_0x1ba0f8){return BPromise[_0x027a('0x56')](_0x1ba0f8,function(_0x2db143){return new BPromise(function(_0x3f62b0,_0x349f8c){if(_0x2db143['autoAssociation']===null||_0x2db143[_0x027a('0x57')]===0x1)_0x3f62b0(null);return db[_0x027a('0x58')][_0x027a('0x46')]({'where':{'sectionId':_0x2db143['id']},'raw':!![]})[_0x027a('0x29')](function(_0x2afeec){var _0x2cf3c2=_[_0x027a('0x2f')](_0x2afeec,function(_0x55abfe){return qs[_0x027a('0x51')](_0x55abfe,['id',_0x027a('0x52'),_0x027a('0x59'),_0x027a('0x5a')]);});_0x3f62b0(_0x2cf3c2);})[_0x027a('0x4c')](function(_0x1e08b8){_0x349f8c(_0x1e08b8);});})[_0x027a('0x29')](function(_0x441c69){var _0x34c129=qs[_0x027a('0x51')](_0x2db143,['id',_0x027a('0x52'),'updatedAt']);_0x34c129[_0x027a('0x5b')]=_0xcac1c0['id'];if(_0x441c69)_0x34c129[_0x027a('0x5c')]=_0x441c69;return _0x34c129;})[_0x027a('0x29')](function(_0x5ca061){return db[_0x027a('0x5d')][_0x027a('0x4d')](_0x5ca061,{'include':[{'model':db[_0x027a('0x58')],'as':'Resources'}],'raw':!![],'transaction':_0x30acd6});});})[_0x027a('0x29')](function(){return _0xcac1c0;});}});});});}})[_0x027a('0x29')](respondWithResult(_0x21e52d,0xc9))[_0x027a('0x4c')](handleError(_0x21e52d,null));};exports['update']=function(_0x282aab,_0x2eb706){if(_0x282aab[_0x027a('0x4e')]['id']){delete _0x282aab[_0x027a('0x4e')]['id'];}return db[_0x027a('0x43')][_0x027a('0x4b')]({'where':{'id':_0x282aab[_0x027a('0x48')]['id']}})[_0x027a('0x29')](handleEntityNotFound(_0x2eb706,null))['then'](saveUpdates(_0x282aab[_0x027a('0x4e')],null))['then'](respondWithResult(_0x2eb706,null))[_0x027a('0x4c')](handleError(_0x2eb706,null));};exports[_0x027a('0x2a')]=function(_0x103f92,_0x5b3f54){return db['UserProfile'][_0x027a('0x4b')]({'where':{'id':_0x103f92['params']['id']}})[_0x027a('0x29')](handleEntityNotFound(_0x5b3f54,null))[_0x027a('0x29')](removeEntity(_0x5b3f54,null))['catch'](handleError(_0x5b3f54,null));};exports[_0x027a('0x5e')]=function(_0x40dbf8,_0x101c3a){return db[_0x027a('0x43')][_0x027a('0x5e')]()[_0x027a('0x29')](respondWithResult(_0x101c3a,null))[_0x027a('0x4c')](handleError(_0x101c3a,null));};exports[_0x027a('0x5f')]=function(_0xc1582f,_0x3f8a30){var _0x4c17fd=_0xc1582f[_0x027a('0x4e')];return db['UserProfile']['find']({'where':{'id':_0xc1582f[_0x027a('0x48')]['id']}})[_0x027a('0x29')](handleEntityNotFound(_0x3f8a30,null))[_0x027a('0x29')](function(_0x4cf461){if(_0x4cf461){return db[_0x027a('0x54')]['transaction'](function(_0x4484c5){return db[_0x027a('0x5d')][_0x027a('0x2a')]({'where':{'userProfileId':_0xc1582f[_0x027a('0x48')]['id'],'sectionId':_['map'](_0x4c17fd,function(_0x2a1424){return _0x2a1424[_0x027a('0x5a')];})},'transaction':_0x4484c5})[_0x027a('0x29')](function(){var _0x373e91=_[_0x027a('0x2f')](_0x4c17fd,function(_0x59a913){_0x59a913[_0x027a('0x5b')]=_0xc1582f['params']['id'];return _0x59a913;});var _0x25482a=[];return BPromise[_0x027a('0x56')](_0x373e91,function(_0x4335e7){return db[_0x027a('0x5d')]['create'](_0x4335e7,{'include':[{'model':db[_0x027a('0x58')],'as':_0x027a('0x5c')}],'raw':!![],'transaction':_0x4484c5})['then'](function(_0x196ca4){_0x25482a[_0x027a('0x60')](_0x196ca4[_0x027a('0x50')]({'plain':!![]}));});})[_0x027a('0x29')](function(){return _0x25482a;});});});}})[_0x027a('0x29')](function(_0x32e508){return _0x32e508;})['then'](respondWithResult(_0x3f8a30,null))[_0x027a('0x4c')](handleError(_0x3f8a30,null));};exports[_0x027a('0x61')]=function(_0x4b2d83,_0x17a815){var _0x312281;return db['UserProfile'][_0x027a('0x4b')]({'where':{'id':_0x4b2d83[_0x027a('0x48')]['id']},'attributes':['id',_0x027a('0x2c')]})[_0x027a('0x29')](handleEntityNotFound(_0x17a815,null))[_0x027a('0x29')](function(_0x2e6884){if(_0x2e6884){_0x312281=_0x2e6884;return db[_0x027a('0x5d')][_0x027a('0x2a')]({'where':{'userProfileId':_0x4b2d83['params']['id'],'sectionId':_0x4b2d83['query'][_0x027a('0x62')]}});}})[_0x027a('0x29')](function(){return _0x312281;})[_0x027a('0x29')](respondWithStatusCode(_0x17a815,null))[_0x027a('0x4c')](handleError(_0x17a815,null));};exports[_0x027a('0x63')]=function(_0x1789c6,_0x491006){var _0x1b7217=[];var _0x3dab6f=[];return db[_0x027a('0x5d')][_0x027a('0x46')]({'where':{'userProfileId':_0x1789c6[_0x027a('0x48')]['id']},'raw':!![]})[_0x027a('0x29')](function(_0x185bf6){_0x1b7217=_[_0x027a('0x3f')](_0x185bf6,function(_0x54cef0){return _0x54cef0[_0x027a('0x64')]===0x1||_[_0x027a('0x65')]([0x3eb,0x709],_0x54cef0['sectionId']);});if(!_[_0x027a('0x66')](_0x1b7217)){return _[_0x027a('0x2f')](_0x1b7217,function(_0x41ed87){return _0x41ed87[_0x027a('0x5a')];});}else{return;}})['then'](function(_0xb60da5){if(_0xb60da5)_0x3dab6f=_0xb60da5;if(_[_0x027a('0x65')](_0x3dab6f,0x64)){var _0x3a4a55=_[_0x027a('0x4b')](_0x1b7217,{'sectionId':0x64});return hasDefaultDashboard(_0x3a4a55)['then'](function(_0x1bc282){return _['map'](_0x1b7217,function(_0x540931){if(_0x540931[_0x027a('0x5a')]===0x64){_0x540931[_0x027a('0x67')]=_0x1bc282;}return _0x540931;});});}else{return;}})[_0x027a('0x29')](function(_0x2e4387){if(_0x2e4387)_0x1b7217=_0x2e4387;if(_[_0x027a('0x65')](_0x3dab6f,0x3eb)){var _0x514665=_[_0x027a('0x4b')](_0x1b7217,{'sectionId':0x3eb});return getCustomDashboards(_0x514665)['then'](function(_0x389c6c){return _[_0x027a('0x2f')](_0x1b7217,function(_0x4c52c4){if(_0x514665[_0x027a('0x64')]){if(_0x4c52c4['sectionId']===0x3eb){_0x4c52c4['subsections']=_0x389c6c;}}else{if(_0x4c52c4[_0x027a('0x5a')]===0x64){_0x4c52c4[_0x027a('0x67')]=_0x389c6c;}}return _0x4c52c4;});});}else{return;}})[_0x027a('0x29')](function(_0x114a99){if(_0x114a99)_0x1b7217=_0x114a99;if(_[_0x027a('0x65')](_0x3dab6f,0x709)){var _0x511df6=_[_0x027a('0x4b')](_0x1b7217,{'sectionId':0x709});return getPlugins(_0x511df6)[_0x027a('0x29')](function(_0x45cdf8){if(_0x511df6[_0x027a('0x64')]){return _[_0x027a('0x2f')](_0x1b7217,function(_0xed4ee5){if(_0xed4ee5[_0x027a('0x5a')]===0x709){_0xed4ee5[_0x027a('0x67')]=_0x45cdf8;}return _0xed4ee5;});}else{var _0xbfd5dd={'sectionId':0x76c,'enabled':0x1,'subsections':_0x45cdf8};var _0x2f92d1=_[_0x027a('0x2f')](_0x1b7217);_0x2f92d1[_0x027a('0x60')](_0xbfd5dd);return _0x2f92d1;}});}else{return;}})['then'](function(_0x1bfe04){if(_0x1bfe04)_0x1b7217=_0x1bfe04;return _[_0x027a('0x3f')](_0x1b7217,[_0x027a('0x64'),0x1]);})[_0x027a('0x29')](respondWithResult(_0x491006,null))[_0x027a('0x4c')](handleError(_0x491006,null));};function hasDefaultDashboard(_0x3b5cf2){var _0x25b2c8=[0x65];return new BPromise(function(_0x16dfd0,_0x2ad21f){try{if(_0x3b5cf2[_0x027a('0x57')]){_0x16dfd0(_0x25b2c8);}else{return db['UserProfileResource'][_0x027a('0x68')]({'where':{'sectionId':_0x3b5cf2['id']},'raw':!![]})[_0x027a('0x29')](function(_0x8d3bc1){_0x8d3bc1?_0x16dfd0(_0x25b2c8):_0x16dfd0();});}}catch(_0x4ba68e){_0x2ad21f(_0x4ba68e);}});}function getCustomDashboards(_0x1762da){var _0x5aa3af=[];return new BPromise(function(_0x2ef443,_0x3d08ea){try{if(_0x1762da[_0x027a('0x57')]){return db[_0x027a('0x69')]['findAll']({'raw':!![]})['then'](function(_0x487670){_0x487670[_0x027a('0x6a')](function(_0x6c85af){_0x5aa3af['push'](_0x6c85af['id']+0x1869f);});_0x2ef443(_0x5aa3af);});}else{return db[_0x027a('0x58')][_0x027a('0x46')]({'where':{'sectionId':_0x1762da['id']},'raw':!![]})[_0x027a('0x29')](function(_0x436c55){_0x436c55[_0x027a('0x6a')](function(_0x36f8d5){_0x5aa3af[_0x027a('0x60')](_0x36f8d5['resourceId']+0x1869f);});_0x2ef443(_0x5aa3af);});}}catch(_0x568d4f){_0x3d08ea(_0x568d4f);}});}function getPlugins(_0x14fca2){var _0x139b08=[];return new BPromise(function(_0x5e3219,_0x5cb340){try{if(_0x14fca2[_0x027a('0x57')]){return db[_0x027a('0x6b')][_0x027a('0x46')]({'raw':!![]})[_0x027a('0x29')](function(_0x451f16){_0x451f16['forEach'](function(_0x3d3030){_0x139b08[_0x027a('0x60')](_0x3d3030['id']+0x15b38);});_0x5e3219(_0x139b08);});}else{return db[_0x027a('0x58')]['findAll']({'where':{'sectionId':_0x14fca2['id']},'raw':!![]})[_0x027a('0x29')](function(_0x113d2a){_0x113d2a['forEach'](function(_0x1ad3df){_0x139b08['push'](_0x1ad3df['resourceId']+0x15b38);});_0x5e3219(_0x139b08);});}}catch(_0x44167c){_0x5cb340(_0x44167c);}});}exports[_0x027a('0x6c')]=function(_0x432f24,_0xf80e03){return db[_0x027a('0x43')][_0x027a('0x4b')]({'where':{'id':_0x432f24[_0x027a('0x48')]['id']}})[_0x027a('0x29')](handleEntityNotFound(_0xf80e03,null))[_0x027a('0x29')](function(_0x20e686){if(_0x20e686){return db['sequelize'][_0x027a('0x55')](function(_0x22bc9e){return db['UserProfileSection'][_0x027a('0x46')]({'where':{'userProfileId':_0x432f24[_0x027a('0x48')]['id']},'attributes':['id'],'raw':!![]})[_0x027a('0x29')](function(_0x38d887){if(_0x38d887){return db[_0x027a('0x5d')]['destroy']({'where':{'userProfileId':_0x432f24['params']['id'],'id':_[_0x027a('0x2f')](_0x38d887,function(_0x488718){return _0x488718['id'];})},'transaction':_0x22bc9e});}})[_0x027a('0x29')](function(_0x16534c){var _0x284d5e=_['map'](_0x432f24[_0x027a('0x4e')],function(_0x123ed1){_0x123ed1[_0x027a('0x5b')]=_0x432f24[_0x027a('0x48')]['id'];return _0x123ed1;});return db[_0x027a('0x5d')]['bulkCreate'](_0x284d5e,{'raw':!![],'transaction':_0x22bc9e});})['then'](function(_0x29e384){var _0x55fe62=_[_0x027a('0x3f')](_[_0x027a('0x2f')](_0x29e384,function(_0x5a9ba1){return _0x5a9ba1[_0x027a('0x50')]({'plain':!![]});}),{'includeAll':![]});if(_0x55fe62){return db[_0x027a('0x5d')][_0x027a('0x46')]({'where':{'userProfileId':_0x432f24[_0x027a('0x48')]['id'],'sectionId':_[_0x027a('0x2f')](_0x55fe62,function(_0x52480d){return _0x52480d[_0x027a('0x5a')];})},'attributes':['id','sectionId'],'raw':!![]})[_0x027a('0x29')](function(_0x45338e){var _0x20ff9c=_[_0x027a('0x2f')](_0x432f24['body'],function(_0x273e7a){_0x273e7a[_0x027a('0x5b')]=_0x432f24['params']['id'];return _0x273e7a;});return db[_0x027a('0x58')][_0x027a('0x6d')](_0x20ff9c,{'raw':!![],'transaction':_0x22bc9e});});}})[_0x027a('0x4c')](handleError(_0xf80e03,null));});}})[_0x027a('0x29')](function(_0x9506d0){var _0x25d379=_['map'](_0x9506d0,function(_0x3ed584){return _0x3ed584[_0x027a('0x50')]({'plain':!![]});});})[_0x027a('0x29')](respondWithResult(_0xf80e03,null))[_0x027a('0x4c')](handleError(_0xf80e03,null));};exports['removeResources']=function(_0x1d05d5,_0x257978,_0x492fd3){return db[_0x027a('0x43')][_0x027a('0x4b')]({'where':{'id':_0x1d05d5[_0x027a('0x48')]['id']}})[_0x027a('0x29')](handleEntityNotFound(_0x257978,null))[_0x027a('0x29')](function(_0x21427d){if(_0x21427d){return _0x21427d[_0x027a('0x6e')](_0x1d05d5['query'][_0x027a('0x62')]);}})['then'](respondWithStatusCode(_0x257978,null))[_0x027a('0x4c')](handleError(_0x257978,null));};exports[_0x027a('0x6f')]=function(_0x32bde2,_0x5aa6eb){var _0x42d909={'raw':![],'where':{}};var _0x42d034={};var _0x527eab={'count':0x0,'rows':[]};var _0x3e5a2a=_0x32bde2['query'][_0x027a('0x70')];if(typeof _0x3e5a2a===_0x027a('0x71')){throw new db[(_0x027a('0x72'))][(_0x027a('0x73'))]('Unknown\x20section');}var _0x3df3d0=_0x32bde2[_0x027a('0x34')][_0x027a('0x74')]||![];var _0x3011c5=getQueryModels(_0x3e5a2a,_0x3df3d0);if(typeof _0x3011c5[_0x027a('0x75')]===_0x027a('0x71')){throw new db[(_0x027a('0x72'))]['ValidationError'](_0x027a('0x76')+_0x3e5a2a+'\x27');}var _0x250af8=[];if(!_[_0x027a('0x66')](_0x3011c5[_0x027a('0x77')])){_0x250af8=_0x3011c5[_0x027a('0x77')];}else{_0x250af8=[{'name':_0x3e5a2a}];}return db[_0x027a('0x43')][_0x027a('0x68')]({'where':{'id':_0x32bde2[_0x027a('0x48')]['id']}})[_0x027a('0x29')](handleEntityNotFound(_0x5aa6eb,null))[_0x027a('0x29')](function(_0x5b0a15){if(_0x5b0a15){var _0x5dedd7=[];for(var _0x5cd1b1=0x0;_0x5cd1b1<_0x250af8['length'];_0x5cd1b1++){_0x5dedd7[_0x027a('0x60')](db[_0x027a('0x5d')]['findOne']({'where':{'userProfileId':_0x5b0a15['id'],'name':_0x250af8[_0x5cd1b1][_0x027a('0x2c')]},'raw':!![]}));}return BPromise[_0x027a('0x78')](_0x5dedd7);}})['then'](function(_0x2a9819){var _0x452fcf=_['filter'](_0x2a9819,function(_0x4d8c0f){return _0x4d8c0f?_0x4d8c0f:undefined;});var _0x4016ab=_[_0x027a('0x3f')](_0x250af8,[_0x027a('0x79'),!![]]);var _0x55c9c7=_[_0x027a('0x66')](_0x452fcf)&&_[_0x027a('0x66')](_0x4016ab)?null:_[_0x027a('0x7a')](_0x4016ab,_0x452fcf);if(_0x55c9c7){var _0x570714=[];for(var _0x2f0dbc=0x0;_0x2f0dbc<_0x55c9c7[_0x027a('0x49')];_0x2f0dbc++){var _0x58afd9=_['find'](_0x250af8,function(_0x5a2902){return _0x55c9c7[_0x2f0dbc]?_0x5a2902[_0x027a('0x2c')]===_0x55c9c7[_0x2f0dbc]['name']:null;});if(_0x58afd9){if(_0x55c9c7[_0x2f0dbc]['ignore']){_0x570714[_0x027a('0x60')](getAllResources(_0x3011c5[_0x027a('0x75')],_0x55c9c7[_0x2f0dbc]));}else{if(!_0x55c9c7[_0x2f0dbc][_0x027a('0x57')]){_0x570714[_0x027a('0x60')](getAllowedResources(_0x58afd9,_0x55c9c7[_0x2f0dbc],_0x3011c5[_0x027a('0x75')]));}else{if(_0x58afd9[_0x027a('0x37')]){_0x570714[_0x027a('0x60')](getAllFilteredResources(_0x58afd9,_0x55c9c7[_0x2f0dbc]));}}}}}return BPromise[_0x027a('0x78')](_0x570714);}else{return null;}})['then'](function(_0x3e8881){var _0x56a36c=_0x3e8881;var _0xd0020d=null;if(_0x56a36c){_0xd0020d=_0x56a36c[_0x027a('0x49')]===0x1?_0x56a36c[0x0]:null;}if(_0xd0020d||_0x56a36c){var _0x1d7b73=db[_0x3011c5[_0x027a('0x75')]][_0x027a('0x30')];_0x42d034[_0x027a('0x37')]=_[_0x027a('0x35')](_0x1d7b73);_0x42d034[_0x027a('0x34')]=_[_0x027a('0x35')](_0x32bde2['query']);_0x42d034[_0x027a('0x3d')]=_[_0x027a('0x36')](_0x42d034[_0x027a('0x37')],_0x42d034[_0x027a('0x34')]);_0x42d909[_0x027a('0x39')]=_[_0x027a('0x36')](_0x42d034[_0x027a('0x37')],qs[_0x027a('0x38')](_0x32bde2[_0x027a('0x34')][_0x027a('0x38')]));_0x42d909[_0x027a('0x39')]=_0x42d909[_0x027a('0x39')]['length']?_0x42d909[_0x027a('0x39')]:_0x42d034['model'];if(!_0x32bde2['query'][_0x027a('0x3a')]('nolimit')){_0x42d909[_0x027a('0x3b')]=qs[_0x027a('0x3b')](_0x32bde2[_0x027a('0x34')][_0x027a('0x3b')]);_0x42d909[_0x027a('0x23')]=qs[_0x027a('0x23')](_0x32bde2[_0x027a('0x34')][_0x027a('0x23')]);}_0x42d909[_0x027a('0x7b')]=qs[_0x027a('0x3c')](_0x32bde2[_0x027a('0x34')]['sort']);_0x42d909[_0x027a('0x40')]=qs[_0x027a('0x3d')](_[_0x027a('0x3e')](_0x32bde2[_0x027a('0x34')],_0x42d034[_0x027a('0x3d')]));if(_0x32bde2[_0x027a('0x34')][_0x027a('0x3f')]){_0x42d909['where']=_[_0x027a('0x41')](_0x42d909[_0x027a('0x40')],{'$or':_[_0x027a('0x2f')](_0x1d7b73,function(_0x2061da){if(_0x2061da[_0x027a('0x32')]['key']!==_0x027a('0x42')){var _0x85632b={};_0x85632b[_0x2061da[_0x027a('0x7c')]]={'$like':'%'+_0x32bde2['query'][_0x027a('0x3f')]+'%'};return _0x85632b;}})});}var _0x36fa4e=[];if(_0xd0020d){var _0x4f3cb8=_[_0x027a('0x4b')](_0x250af8,[_0x027a('0x2c'),_0xd0020d[_0x027a('0x2c')]]);if(_0x4f3cb8['field']){var _0x1d9162={};if(_0x3011c5[_0x027a('0x75')]===_0x027a('0x7d')){_0x1d9162[_0x4f3cb8[_0x027a('0x7e')]]=_[_0x027a('0x2f')](_0xd0020d[_0x027a('0x7f')],'id');}else{_0x1d9162[_0x4f3cb8['foreignKey']]=_0xd0020d[_0x027a('0x7f')];}_0x36fa4e[_0x027a('0x60')](_0x1d9162);}else{_0x42d909[_0x027a('0x40')]['id']=_0xd0020d[_0x027a('0x7f')];}}else{for(var _0x3eaa61=0x0;_0x3eaa61<_0x56a36c[_0x027a('0x49')];_0x3eaa61++){var _0x4f3cb8=_[_0x027a('0x4b')](_0x250af8,[_0x027a('0x2c'),_0x56a36c[_0x3eaa61][_0x027a('0x2c')]]);if(_0x4f3cb8['field']){var _0x1d9162={};_0x1d9162[_0x4f3cb8[_0x027a('0x7e')]]=_0x56a36c[_0x3eaa61][_0x027a('0x7f')];_0x36fa4e['push'](_0x1d9162);}else{if(!_0x42d909[_0x027a('0x40')]['id'])_0x42d909['where']['id']=[];_0x56a36c[_0x3eaa61]['associatedResources'][_0x027a('0x6a')](function(_0x41cdc1){_0x42d909['where']['id'][_0x027a('0x60')](_0x41cdc1);});}}}if(!_[_0x027a('0x66')](_0x36fa4e)){_0x42d909[_0x027a('0x40')]=_[_0x027a('0x41')](_0x42d909[_0x027a('0x40')],{'$and':{'$or':_0x36fa4e}});}_0x42d909=_[_0x027a('0x41')]({},_0x42d909,_0x32bde2[_0x027a('0x4a')]);if(_0xd0020d&&!_0xd0020d['autoAssociation']&&_0x3011c5[_0x027a('0x75')]===_0x027a('0x7d')){if(_0x32bde2[_0x027a('0x34')][_0x027a('0x44')]){_0x42d909[_0x027a('0x45')]=[{'all':!![]}];}return db[_0x3011c5[_0x027a('0x75')]][_0x027a('0x46')](_0x42d909)[_0x027a('0x29')](function(_0x2cfd49){var _0x3bb7a5=[];_0x2cfd49[_0x027a('0x6a')](function(_0xc34fa8){var _0x578300;switch(_0xc34fa8[_0x027a('0x80')]){case'default':_0x578300=_[_0x027a('0x4b')](_0xd0020d[_0x027a('0x7f')],function(_0x26bd09){return _0x26bd09['id']===_0xc34fa8[_0x027a('0x81')]&&_0x26bd09[_0x027a('0x32')]==='DefaultReports';});break;case _0x027a('0x82'):_0x578300=_[_0x027a('0x4b')](_0xd0020d[_0x027a('0x7f')],function(_0x15bf69){return _0x15bf69['id']===_0xc34fa8[_0x027a('0x81')]&&_0x15bf69['type']===_0x027a('0x83');});break;}if(_0x578300)_0x3bb7a5['push'](_0xc34fa8);});_0x527eab['count']=_0x3bb7a5[_0x027a('0x49')];_0x527eab[_0x027a('0x84')]=_0x3bb7a5;return _0x527eab;});}else{return db[_0x3011c5[_0x027a('0x75')]][_0x027a('0x22')]({'where':_0x42d909[_0x027a('0x40')]})[_0x027a('0x29')](function(_0x199e0b){_0x527eab[_0x027a('0x22')]=_0x199e0b;if(_0x32bde2[_0x027a('0x34')][_0x027a('0x44')]){if(_0x3011c5[_0x027a('0x75')]===_0x027a('0x85')){_0x42d909['include']=[{'model':db[_0x027a('0x86')],'as':'Tags','attributes':['id','name',_0x027a('0x87')],'required':_0x32bde2[_0x027a('0x34')]['tag']?!![]:![]},{'model':db[_0x027a('0x86')],'as':_0x027a('0x88'),'attributes':['id','name',_0x027a('0x87')],'through':_0x32bde2['query'][_0x027a('0x89')]?{'attributes':[],'where':{'TagId':_0x32bde2['query'][_0x027a('0x89')]||undefined}}:{},'required':_0x32bde2[_0x027a('0x34')]['tag']?!![]:![]}];}else{_0x42d909[_0x027a('0x45')]=[{'all':!![]}];}}return db[_0x3011c5[_0x027a('0x75')]][_0x027a('0x46')](_0x42d909);})[_0x027a('0x29')](function(_0x3a696c){_0x527eab[_0x027a('0x84')]=_0x3a696c;return _0x527eab;});}}else{return _0x527eab;}})[_0x027a('0x29')](respondWithFilteredResult(_0x5aa6eb,_0x42d909))[_0x027a('0x4c')](handleError(_0x5aa6eb,null));};function getAllResources(_0xa4717e,_0x402672){return new BPromise(function(_0x420c64,_0x15a077){if(_0x402672){var _0x559467=_0x402672[_0x027a('0x3f')]?{[_0x402672[_0x027a('0x3f')][_0x027a('0x7c')]]:_0x402672['filter'][_0x027a('0x8a')]}:undefined;return db[_0xa4717e][_0x027a('0x46')]({'where':_0x559467,'raw':!![]})[_0x027a('0x29')](function(_0x2141b9){_0x402672[_0x027a('0x7f')]=_[_0x027a('0x2f')](_0x2141b9,'id');_0x420c64(_0x402672);})[_0x027a('0x4c')](function(_0x59e62b){_0x15a077(_0x59e62b);});}else{_0x420c64(null);}});}function getAllFilteredResources(_0x505392,_0x399bc0){return new BPromise(function(_0x1374ff,_0x4ff7a4){var _0x37c3d3=_0x505392[_0x027a('0x3f')]?{[_0x505392['filter'][_0x027a('0x7c')]]:_0x505392[_0x027a('0x3f')][_0x027a('0x8a')]}:undefined;return db[_0x505392['model']][_0x027a('0x46')]({'where':_0x37c3d3,'raw':!![]})[_0x027a('0x29')](function(_0x430389){_0x399bc0[_0x027a('0x7f')]=_[_0x027a('0x2f')](_0x430389,function(_0x4cfddf){return _0x4cfddf['name'];});_0x1374ff(_0x399bc0);})[_0x027a('0x4c')](function(_0x4c5cfd){_0x4ff7a4(_0x4c5cfd);});});}function getAllowedResources(_0x4910cd,_0x1b1eed,_0x49597f){return new BPromise(function(_0x270ac2,_0x3ec5f1){if(_0x1b1eed){return db[_0x027a('0x58')][_0x027a('0x46')]({'where':{'sectionId':_0x1b1eed['id']},'raw':!![]})[_0x027a('0x29')](function(_0xf9d894){if(_0x4910cd['field']&&_0x4910cd[_0x027a('0x7c')]!=='id'){_0x1b1eed[_0x027a('0x7f')]=_[_0x027a('0x2f')](_0xf9d894,function(_0x47cf9a){return _0x47cf9a[_0x4910cd[_0x027a('0x7c')]];});}else{if(_0x49597f===_0x027a('0x7d')){_0x1b1eed[_0x027a('0x7f')]=_[_0x027a('0x2f')](_0xf9d894,function(_0x2f0e58){return{'id':_0x2f0e58[_0x027a('0x8b')],'type':_0x2f0e58[_0x027a('0x32')]};});}else{_0x1b1eed[_0x027a('0x7f')]=_[_0x027a('0x2f')](_0xf9d894,function(_0x3c3e14){return _0x3c3e14[_0x027a('0x8b')];});}}_0x270ac2(_0x1b1eed);})['catch'](function(_0x1191da){_0x3ec5f1(_0x1191da);});}else{_0x270ac2(null);}});}function getQueryModels(_0x24947e,_0x2581fb){var _0x3b31e4=_0x24947e[_0x027a('0x8c')]();var _0x27a1fb={'childModel':undefined,'parentSections':[]};switch(_0x3b31e4){case _0x027a('0x8d'):_0x27a1fb['childModel']=_0x027a('0x8e');break;case _0x027a('0x8f'):_0x27a1fb[_0x027a('0x75')]=_0x027a('0x90');break;case'squarerecordings':_0x27a1fb[_0x027a('0x75')]=_0x027a('0x91');_0x27a1fb[_0x027a('0x77')]=[{'name':'SquareProjects','field':'name','foreignKey':_0x027a('0x92')}];break;case'projects':_0x27a1fb[_0x027a('0x75')]=_0x027a('0x93');break;case'contacts':_0x27a1fb[_0x027a('0x75')]=_0x027a('0x85');_0x27a1fb[_0x027a('0x77')]=[{'name':'Lists','field':'id','foreignKey':_0x027a('0x94')}];break;case _0x027a('0x95'):_0x27a1fb[_0x027a('0x75')]=_0x027a('0x96');break;case _0x027a('0x97'):_0x27a1fb[_0x027a('0x75')]=_0x027a('0x98');break;case _0x027a('0x99'):_0x27a1fb[_0x027a('0x75')]=_0x027a('0x9a');break;case _0x027a('0x9b'):_0x27a1fb['childModel']=_0x027a('0x9c');break;case _0x027a('0x9d'):_0x27a1fb['childModel']=_0x027a('0x9e');break;case _0x027a('0x9f'):_0x27a1fb[_0x027a('0x75')]=_0x027a('0xa0');break;case _0x027a('0xa1'):_0x27a1fb['childModel']='FaxAccount';break;case _0x027a('0xa2'):case'internalroutes':case'outboundroutes':_0x27a1fb[_0x027a('0x75')]='VoiceExtension';break;case _0x027a('0xa3'):_0x27a1fb[_0x027a('0x75')]=_0x027a('0xa4');break;case _0x027a('0xa5'):_0x27a1fb[_0x027a('0x75')]=_0x027a('0xa6');break;case'voicerecordings':_0x27a1fb[_0x027a('0x75')]=_0x027a('0xa7');_0x27a1fb['parentSections']=[{'name':'Agents','field':_0x027a('0x2c'),'foreignKey':'membername','model':'User','filter':{'field':_0x027a('0xa8'),'value':[_0x027a('0xa9')]}},{'name':_0x027a('0xaa'),'field':'name','foreignKey':_0x027a('0xab'),'model':_0x027a('0xac'),'filter':{'field':'role','value':[_0x027a('0xad')]}},{'name':_0x027a('0xae'),'field':'name','foreignKey':_0x027a('0xaf'),'model':_0x027a('0xb0'),'filter':{'field':_0x027a('0x32'),'value':['inbound']}},{'name':_0x027a('0xb1'),'field':_0x027a('0x2c'),'foreignKey':'queue','model':'VoiceQueue','filter':{'field':_0x027a('0x32'),'value':[_0x027a('0xb2')]}}];break;case _0x027a('0xb3'):_0x27a1fb[_0x027a('0x75')]=_0x027a('0xb4');break;case _0x027a('0xb5'):_0x27a1fb[_0x027a('0x75')]=_0x027a('0xb6');break;case _0x027a('0xb7'):_0x27a1fb[_0x027a('0x75')]=_0x027a('0xb8');break;case _0x027a('0xb9'):_0x27a1fb['childModel']=_0x027a('0xba');break;case _0x027a('0xbb'):_0x27a1fb['childModel']=_0x027a('0xbc');break;case'mailaccounts':_0x27a1fb[_0x027a('0x75')]=_0x027a('0xbd');break;case _0x027a('0xbe'):_0x27a1fb[_0x027a('0x75')]='MailSubstatus';break;case _0x027a('0xbf'):_0x27a1fb[_0x027a('0x75')]=_0x027a('0xc0');break;case _0x027a('0xc1'):_0x27a1fb['childModel']=_0x027a('0xc2');break;case _0x027a('0xc3'):_0x27a1fb[_0x027a('0x75')]=_0x027a('0xc4');break;case _0x027a('0xc5'):_0x27a1fb[_0x027a('0x75')]=_0x027a('0xc6');break;case _0x027a('0xc7'):_0x27a1fb[_0x027a('0x75')]=_0x027a('0xc8');break;case'whatsappaccounts':_0x27a1fb['childModel']='WhatsappAccount';break;case _0x027a('0xc9'):_0x27a1fb[_0x027a('0x75')]=_0x027a('0xca');break;case'voicequeues':case _0x027a('0xcb'):_0x27a1fb[_0x027a('0x75')]=_0x027a('0xb0');if(_0x2581fb){_0x27a1fb['parentSections']=[{'name':_0x027a('0xae')},{'name':_0x027a('0xb1')}];}break;case _0x027a('0xcc'):case _0x027a('0xcd'):case _0x027a('0xce'):_0x27a1fb[_0x027a('0x75')]=_0x027a('0xac');if(_0x2581fb){_0x27a1fb[_0x027a('0x77')]=[{'name':_0x027a('0xcf'),'filter':{'field':_0x027a('0xa8'),'value':['admin',_0x027a('0xd0')]},'ignore':!![]},{'name':_0x027a('0xd1')},{'name':'Telephones'}];}break;case _0x027a('0xd2'):_0x27a1fb[_0x027a('0x75')]='ZendeskAccount';break;case _0x027a('0xd3'):_0x27a1fb[_0x027a('0x75')]=_0x027a('0xd4');break;case'freshdeskaccounts':_0x27a1fb[_0x027a('0x75')]='FreshdeskAccount';break;case _0x027a('0xd5'):_0x27a1fb[_0x027a('0x75')]='SugarcrmAccount';break;case _0x027a('0xd6'):_0x27a1fb[_0x027a('0x75')]=_0x027a('0xd7');break;case _0x027a('0xd8'):_0x27a1fb[_0x027a('0x75')]=_0x027a('0xd9');break;case'vtigeraccounts':_0x27a1fb[_0x027a('0x75')]=_0x027a('0xac');break;case _0x027a('0xda'):_0x27a1fb[_0x027a('0x75')]=_0x027a('0xdb');break;case _0x027a('0xdc'):_0x27a1fb[_0x027a('0x75')]=_0x027a('0xdd');break;case _0x027a('0xde'):_0x27a1fb[_0x027a('0x75')]='Dashboard';break;case'intervals':_0x27a1fb['childModel']=_0x027a('0xdf');break;case'pauses':_0x27a1fb['childModel']='Pause';break;case _0x027a('0xe0'):_0x27a1fb['childModel']=_0x027a('0xe1');break;case _0x027a('0xe2'):_0x27a1fb[_0x027a('0x75')]=_0x027a('0xe3');break;case _0x027a('0xe4'):_0x27a1fb[_0x027a('0x75')]=_0x027a('0x86');break;case _0x027a('0xe5'):_0x27a1fb['childModel']=_0x027a('0xe6');break;case'triggers':_0x27a1fb[_0x027a('0x75')]=_0x027a('0xe7');break;case'trunks':_0x27a1fb[_0x027a('0x75')]=_0x027a('0xe8');break;case _0x027a('0xe9'):_0x27a1fb[_0x027a('0x75')]=_0x027a('0xea');break;case'plugins':_0x27a1fb[_0x027a('0x75')]=_0x027a('0x6b');break;case _0x027a('0xeb'):_0x27a1fb['childModel']='AnalyticExtractedReport';_0x27a1fb[_0x027a('0x77')]=[{'name':_0x027a('0xec'),'field':'id','foreignKey':_0x027a('0x81')}];break;case _0x027a('0xed'):_0x27a1fb[_0x027a('0x75')]='AnalyticMetric';break;case _0x027a('0xee'):_0x27a1fb[_0x027a('0x75')]='WhatsappAccount';break;default:return _0x27a1fb;}return _0x27a1fb;} \ No newline at end of file +var _0x7beb=['Unknown\x20section','mergeResources','childModel','undefined','ValidationError','Invalid\x20section\x20\x27','parentSections','ignore','union','all','limit','field','AnalyticExtractedReport','foreignKey','associatedResources','reportType','default','reportId','DefaultReports','CustomReports','rows','CmContact','Tag','color','tag','ThroughTags','value','toLowerCase','squareprojects','SquareProject','odbc','SquareOdbc','squarerecordings','SquareRecording','projectName','projects','contacts','Lists','ListId','lists','CmList','CmCompany','globalcustomfields','CmCustomField','ChatQueue','chatwebsites','ChatWebsite','faxqueues','FaxQueue','faxaccounts','FaxAccount','internalroutes','outboundroutes','contexts','voicemails','VoiceMail','voicerecordings','VoiceRecording','Agents','membername','User','role','agent','telephone','VoiceQueues','VoiceQueue','outbound','VoiceMusicOnHold','VoiceChanSpy','VoicePrefix','ivrcampaigns','Campaign','mailqueues','mailaccounts','MailAccount','openchannelqueues','OpenchannelQueue','openchannelaccounts','OpenchannelAccount','smsqueues','SmsQueue','smsaccounts','SmsAccount','whatsappqueues','WhatsappQueue','whatsappaccounts','WhatsappAccount','teams','Team','voicequeues','queuecampaigns','QueueCampaigns','agents','telephones','user','Telephones','zendeskaccounts','ZendeskAccount','salesforceaccounts','SalesforceAccount','freshdeskaccounts','FreshdeskAccount','SugarcrmAccount','ZohoAccount','vtigeraccounts','cannedanswers','dispositions','Disposition','Interval','Pause','Schedule','Sound','templates','Template','triggers','Trigger','trunks','Trunk','variables','Variable','plugins','Plugin','metrics','eml-format','rimraf','zip-dir','moment','bluebird','mustache','util','path','sox','to-csv','lodash','squel','crypto','desk.js','querystring','papaparse','../../components/auth/service','../../config/license/hardware','api','../../config/utils','../../config/environment','../../mysqldb','redis','defaults','localhost','register','sendStatus','status','end','json','count','offset','set','Content-Range','update','then','destroy','stack','name','send','index','map','UserProfile','rawAttributes','fieldName','type','key','model','query','intersection','attributes','fields','length','hasOwnProperty','nolimit','order','sort','where','filters','pick','VIRTUAL','filter','merge','options','includeAll','findAll','catch','params','keys','include','create','clone','find','get','omit','createdAt','crudPermissions','body','updatedAt','transaction','each','autoAssociation','UserProfileResource','userProfileId','Resources','UserProfileSection','describe','addSections','sectionId','removeSections','ids','enabled','includes','isEmpty','subsections','push','findOne','Dashboard','forEach','resourceId','addResources','sequelize','bulkCreate','removeResources','getResources','section','Sequelize'];(function(_0x257322,_0x5549ca){var _0x6517c0=function(_0x5426ae){while(--_0x5426ae){_0x257322['push'](_0x257322['shift']());}};_0x6517c0(++_0x5549ca);}(_0x7beb,0x7b));var _0xb7be=function(_0x321bb2,_0x202794){_0x321bb2=_0x321bb2-0x0;var _0x9c12ed=_0x7beb[_0x321bb2];return _0x9c12ed;};'use strict';var pdf=require('html-pdf');var emlformat=require(_0xb7be('0x0'));var rimraf=require(_0xb7be('0x1'));var zipdir=require(_0xb7be('0x2'));var jsonpatch=require('fast-json-patch');var rp=require('request-promise');var moment=require(_0xb7be('0x3'));var BPromise=require(_0xb7be('0x4'));var Mustache=require(_0xb7be('0x5'));var util=require(_0xb7be('0x6'));var path=require(_0xb7be('0x7'));var sox=require(_0xb7be('0x8'));var csv=require(_0xb7be('0x9'));var ejs=require('ejs');var fs=require('fs');var _=require(_0xb7be('0xa'));var squel=require(_0xb7be('0xb'));var crypto=require(_0xb7be('0xc'));var jsforce=require('jsforce');var deskjs=require(_0xb7be('0xd'));var toCsv=require(_0xb7be('0x9'));var querystring=require(_0xb7be('0xe'));var Papa=require(_0xb7be('0xf'));var Redis=require('ioredis');var authService=require(_0xb7be('0x10'));var qs=require('../../components/parsers/qs');var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0xb7be('0x11'));var logger=require('../../config/logger')(_0xb7be('0x12'));var utils=require(_0xb7be('0x13'));var config=require(_0xb7be('0x14'));var db=require(_0xb7be('0x15'))['db'];config[_0xb7be('0x16')]=_[_0xb7be('0x17')](config[_0xb7be('0x16')],{'host':_0xb7be('0x18'),'port':0x18eb});var socket=require('socket.io-emitter')(new Redis(config[_0xb7be('0x16')]));require('./userProfile.socket')[_0xb7be('0x19')](socket);function respondWithStatusCode(_0x41c2ea,_0x28befa){_0x28befa=_0x28befa||0xcc;return function(_0x47b25e){if(_0x47b25e){return _0x41c2ea[_0xb7be('0x1a')](_0x28befa);}return _0x41c2ea[_0xb7be('0x1b')](_0x28befa)[_0xb7be('0x1c')]();};}function respondWithResult(_0x5c779d,_0x57936d){_0x57936d=_0x57936d||0xc8;return function(_0x5670c8){if(_0x5670c8){return _0x5c779d[_0xb7be('0x1b')](_0x57936d)[_0xb7be('0x1d')](_0x5670c8);}};}function respondWithFilteredResult(_0x2e5c56,_0x3ef881){return function(_0x763cab){if(_0x763cab){var _0xaa7f29=_0x763cab[_0xb7be('0x1e')],_0x46224d=_0x3ef881[_0xb7be('0x1f')],_0x2f6dde=_0x3ef881[_0xb7be('0x1f')]+_0x3ef881['limit'],_0x24ab76;if(_0x2f6dde>=_0xaa7f29){_0x2f6dde=_0xaa7f29;_0x24ab76=0xc8;}else{_0x24ab76=0xce;}_0x2e5c56[_0xb7be('0x1b')](_0x24ab76);return _0x2e5c56[_0xb7be('0x20')](_0xb7be('0x21'),_0x46224d+'-'+_0x2f6dde+'/'+_0xaa7f29)[_0xb7be('0x1d')](_0x763cab);}return null;};}function patchUpdates(_0x4ab119){return function(_0x46b3db){try{jsonpatch['apply'](_0x46b3db,_0x4ab119,!![]);}catch(_0x2ea00c){return BPromise['reject'](_0x2ea00c);}return _0x46b3db['save']();};}function saveUpdates(_0x4b7a39,_0x37e625){return function(_0x2dd409){if(_0x2dd409){return _0x2dd409[_0xb7be('0x22')](_0x4b7a39)[_0xb7be('0x23')](function(_0x5bbbfd){return _0x5bbbfd;});}return null;};}function removeEntity(_0xb148d4,_0x286336){return function(_0x23b1b6){if(_0x23b1b6){return _0x23b1b6[_0xb7be('0x24')]()[_0xb7be('0x23')](function(){_0xb148d4[_0xb7be('0x1b')](0xcc)[_0xb7be('0x1c')]();});}};}function handleEntityNotFound(_0xb2083a,_0x2415a8){return function(_0x55dfb7){if(!_0x55dfb7){_0xb2083a[_0xb7be('0x1a')](0x194);}return _0x55dfb7;};}function handleError(_0x53a43f,_0x3198a6){_0x3198a6=_0x3198a6||0x1f4;return function(_0x5a5697){logger['error'](_0x5a5697[_0xb7be('0x25')]);if(_0x5a5697['name']){delete _0x5a5697[_0xb7be('0x26')];}_0x53a43f[_0xb7be('0x1b')](_0x3198a6)[_0xb7be('0x27')](_0x5a5697);};}exports[_0xb7be('0x28')]=function(_0x5a3c3d,_0x434d9c){var _0x3e1c6e={},_0x1b122e={},_0x558c49={'count':0x0,'rows':[]};var _0x3085b6=_[_0xb7be('0x29')](db[_0xb7be('0x2a')][_0xb7be('0x2b')],function(_0x3a1ccc){return{'name':_0x3a1ccc[_0xb7be('0x2c')],'type':_0x3a1ccc[_0xb7be('0x2d')][_0xb7be('0x2e')]};});_0x1b122e[_0xb7be('0x2f')]=_[_0xb7be('0x29')](_0x3085b6,_0xb7be('0x26'));_0x1b122e[_0xb7be('0x30')]=_['keys'](_0x5a3c3d[_0xb7be('0x30')]);_0x1b122e['filters']=_[_0xb7be('0x31')](_0x1b122e[_0xb7be('0x2f')],_0x1b122e[_0xb7be('0x30')]);_0x3e1c6e[_0xb7be('0x32')]=_[_0xb7be('0x31')](_0x1b122e['model'],qs[_0xb7be('0x33')](_0x5a3c3d[_0xb7be('0x30')][_0xb7be('0x33')]));_0x3e1c6e[_0xb7be('0x32')]=_0x3e1c6e[_0xb7be('0x32')][_0xb7be('0x34')]?_0x3e1c6e[_0xb7be('0x32')]:_0x1b122e['model'];if(!_0x5a3c3d[_0xb7be('0x30')][_0xb7be('0x35')](_0xb7be('0x36'))){_0x3e1c6e['limit']=qs['limit'](_0x5a3c3d['query']['limit']);_0x3e1c6e[_0xb7be('0x1f')]=qs[_0xb7be('0x1f')](_0x5a3c3d[_0xb7be('0x30')][_0xb7be('0x1f')]);}_0x3e1c6e[_0xb7be('0x37')]=qs[_0xb7be('0x38')](_0x5a3c3d[_0xb7be('0x30')][_0xb7be('0x38')]);_0x3e1c6e[_0xb7be('0x39')]=qs[_0xb7be('0x3a')](_[_0xb7be('0x3b')](_0x5a3c3d[_0xb7be('0x30')],_0x1b122e['filters']),_0x3085b6);if(_0x5a3c3d[_0xb7be('0x30')]['filter']){_0x3e1c6e['where']=_['merge'](_0x3e1c6e[_0xb7be('0x39')],{'$or':_['map'](_0x3085b6,function(_0x7048ad){if(_0x7048ad['type']!==_0xb7be('0x3c')){var _0x3499ba={};_0x3499ba[_0x7048ad[_0xb7be('0x26')]]={'$like':'%'+_0x5a3c3d[_0xb7be('0x30')][_0xb7be('0x3d')]+'%'};return _0x3499ba;}})});}_0x3e1c6e=_[_0xb7be('0x3e')]({},_0x3e1c6e,_0x5a3c3d[_0xb7be('0x3f')]);var _0x41b616={'where':_0x3e1c6e[_0xb7be('0x39')]};return db[_0xb7be('0x2a')][_0xb7be('0x1e')](_0x41b616)[_0xb7be('0x23')](function(_0x1b6236){_0x558c49[_0xb7be('0x1e')]=_0x1b6236;if(_0x5a3c3d[_0xb7be('0x30')][_0xb7be('0x40')]){_0x3e1c6e['include']=[{'all':!![]}];}return db[_0xb7be('0x2a')][_0xb7be('0x41')](_0x3e1c6e);})[_0xb7be('0x23')](function(_0x28baf2){_0x558c49['rows']=_0x28baf2;return _0x558c49;})[_0xb7be('0x23')](respondWithFilteredResult(_0x434d9c,_0x3e1c6e))[_0xb7be('0x42')](handleError(_0x434d9c,null));};exports['show']=function(_0x22f240,_0x3aa102){var _0x2d7688={'raw':![],'where':{'id':_0x22f240[_0xb7be('0x43')]['id']}},_0x3d6649={};_0x3d6649[_0xb7be('0x2f')]=_[_0xb7be('0x44')](db[_0xb7be('0x2a')][_0xb7be('0x2b')]);_0x3d6649[_0xb7be('0x30')]=_[_0xb7be('0x44')](_0x22f240['query']);_0x3d6649['filters']=_[_0xb7be('0x31')](_0x3d6649[_0xb7be('0x2f')],_0x3d6649['query']);_0x2d7688[_0xb7be('0x32')]=_[_0xb7be('0x31')](_0x3d6649[_0xb7be('0x2f')],qs[_0xb7be('0x33')](_0x22f240[_0xb7be('0x30')][_0xb7be('0x33')]));_0x2d7688['attributes']=_0x2d7688[_0xb7be('0x32')][_0xb7be('0x34')]?_0x2d7688['attributes']:_0x3d6649[_0xb7be('0x2f')];if(_0x22f240[_0xb7be('0x30')][_0xb7be('0x40')]){_0x2d7688[_0xb7be('0x45')]=[{'all':!![]}];}_0x2d7688=_[_0xb7be('0x3e')]({},_0x2d7688,_0x22f240['options']);return db['UserProfile']['find'](_0x2d7688)['then'](handleEntityNotFound(_0x3aa102,null))[_0xb7be('0x23')](respondWithResult(_0x3aa102,null))[_0xb7be('0x42')](handleError(_0x3aa102,null));};exports[_0xb7be('0x46')]=function(_0x59b341,_0x20131c){return db[_0xb7be('0x2a')][_0xb7be('0x46')](_0x59b341['body'],{})[_0xb7be('0x23')](respondWithResult(_0x20131c,0xc9))[_0xb7be('0x42')](handleError(_0x20131c,null));};exports[_0xb7be('0x47')]=function(_0x3fb124,_0x417a39){var _0x2fe328={'where':{'id':_0x3fb124[_0xb7be('0x43')]['id']}},_0x599395={};_0x599395[_0xb7be('0x2f')]=_[_0xb7be('0x44')](db[_0xb7be('0x2a')][_0xb7be('0x2b')]);_0x2fe328[_0xb7be('0x32')]=_[_0xb7be('0x31')](_0x599395['model'],qs[_0xb7be('0x33')](_0x3fb124[_0xb7be('0x30')]['fields']));_0x2fe328[_0xb7be('0x32')]=_0x2fe328[_0xb7be('0x32')][_0xb7be('0x34')]?_0x2fe328['attributes']:_0x599395['model'];if(_0x3fb124[_0xb7be('0x30')]['includeAll']){_0x2fe328[_0xb7be('0x45')]=[{'all':!![]}];}_0x2fe328=_[_0xb7be('0x3e')]({},_0x2fe328,_0x3fb124['options']);return db[_0xb7be('0x2a')][_0xb7be('0x48')](_0x2fe328)[_0xb7be('0x23')](handleEntityNotFound(_0x417a39,null))[_0xb7be('0x23')](function(_0x464b9d){if(_0x464b9d){var _0xdd6d2c=_0x464b9d[_0xb7be('0x49')]({'plain':!![]});_0xdd6d2c=qs[_0xb7be('0x4a')](_0xdd6d2c,['id',_0xb7be('0x4b'),'updatedAt',_0xb7be('0x4c')]);_0x3fb124[_0xb7be('0x4d')]=_[_0xb7be('0x4a')](_0x3fb124['body'],['id',_0xb7be('0x4b'),_0xb7be('0x4e')]);return db['sequelize'][_0xb7be('0x4f')](function(_0x9f2e84){return db['UserProfile'][_0xb7be('0x46')](_[_0xb7be('0x3e')](_0xdd6d2c,_0x3fb124[_0xb7be('0x4d')]),{'include':_0x3fb124[_0xb7be('0x30')][_0xb7be('0x40')]?[{'all':!![]}]:undefined,'transaction':_0x9f2e84})[_0xb7be('0x23')](function(_0x24c0e1){var _0x588106=_0x24c0e1[_0xb7be('0x49')]({'plain':!![]});return db['UserProfileSection'][_0xb7be('0x41')]({'where':{'userProfileId':_0x3fb124[_0xb7be('0x43')]['id']},'raw':!![]})[_0xb7be('0x23')](function(_0x3bf9a4){if(_0x3bf9a4){return BPromise[_0xb7be('0x50')](_0x3bf9a4,function(_0x42c865){return new BPromise(function(_0x4ea7b5,_0x3ab1e2){if(_0x42c865[_0xb7be('0x51')]===null||_0x42c865[_0xb7be('0x51')]===0x1)_0x4ea7b5(null);return db[_0xb7be('0x52')][_0xb7be('0x41')]({'where':{'sectionId':_0x42c865['id']},'raw':!![]})[_0xb7be('0x23')](function(_0x1d6adb){var _0x43b34c=_['map'](_0x1d6adb,function(_0x4036fe){return qs[_0xb7be('0x4a')](_0x4036fe,['id',_0xb7be('0x4b'),_0xb7be('0x4e'),'sectionId']);});_0x4ea7b5(_0x43b34c);})[_0xb7be('0x42')](function(_0x363dd0){_0x3ab1e2(_0x363dd0);});})[_0xb7be('0x23')](function(_0x85efa9){var _0x18c8c2=qs[_0xb7be('0x4a')](_0x42c865,['id',_0xb7be('0x4b'),'updatedAt']);_0x18c8c2[_0xb7be('0x53')]=_0x588106['id'];if(_0x85efa9)_0x18c8c2[_0xb7be('0x54')]=_0x85efa9;return _0x18c8c2;})[_0xb7be('0x23')](function(_0x270449){return db[_0xb7be('0x55')][_0xb7be('0x46')](_0x270449,{'include':[{'model':db[_0xb7be('0x52')],'as':'Resources'}],'raw':!![],'transaction':_0x9f2e84});});})['then'](function(){return _0x588106;});}});});});}})['then'](respondWithResult(_0x417a39,0xc9))[_0xb7be('0x42')](handleError(_0x417a39,null));};exports[_0xb7be('0x22')]=function(_0x17fc0f,_0x590497){if(_0x17fc0f[_0xb7be('0x4d')]['id']){delete _0x17fc0f[_0xb7be('0x4d')]['id'];}return db[_0xb7be('0x2a')][_0xb7be('0x48')]({'where':{'id':_0x17fc0f[_0xb7be('0x43')]['id']}})[_0xb7be('0x23')](handleEntityNotFound(_0x590497,null))[_0xb7be('0x23')](saveUpdates(_0x17fc0f['body'],null))['then'](respondWithResult(_0x590497,null))['catch'](handleError(_0x590497,null));};exports[_0xb7be('0x24')]=function(_0x318a7e,_0x5888ca){return db[_0xb7be('0x2a')][_0xb7be('0x48')]({'where':{'id':_0x318a7e['params']['id']}})[_0xb7be('0x23')](handleEntityNotFound(_0x5888ca,null))[_0xb7be('0x23')](removeEntity(_0x5888ca,null))[_0xb7be('0x42')](handleError(_0x5888ca,null));};exports['describe']=function(_0x17a5a9,_0x21166f){return db['UserProfile'][_0xb7be('0x56')]()[_0xb7be('0x23')](respondWithResult(_0x21166f,null))[_0xb7be('0x42')](handleError(_0x21166f,null));};exports[_0xb7be('0x57')]=function(_0x3774f6,_0x20777a){var _0x6d6f55=_0x3774f6[_0xb7be('0x4d')];return db['UserProfile'][_0xb7be('0x48')]({'where':{'id':_0x3774f6[_0xb7be('0x43')]['id']}})['then'](handleEntityNotFound(_0x20777a,null))['then'](function(_0x519d8d){if(_0x519d8d){return db['sequelize']['transaction'](function(_0xf42bdf){return db[_0xb7be('0x55')][_0xb7be('0x24')]({'where':{'userProfileId':_0x3774f6[_0xb7be('0x43')]['id'],'sectionId':_[_0xb7be('0x29')](_0x6d6f55,function(_0x32cfb1){return _0x32cfb1[_0xb7be('0x58')];})},'transaction':_0xf42bdf})[_0xb7be('0x23')](function(){var _0x4e3248=_[_0xb7be('0x29')](_0x6d6f55,function(_0xed50ed){_0xed50ed['userProfileId']=_0x3774f6[_0xb7be('0x43')]['id'];return _0xed50ed;});var _0xa4c2d7=[];return BPromise[_0xb7be('0x50')](_0x4e3248,function(_0x3cc1a3){return db[_0xb7be('0x55')]['create'](_0x3cc1a3,{'include':[{'model':db[_0xb7be('0x52')],'as':_0xb7be('0x54')}],'raw':!![],'transaction':_0xf42bdf})[_0xb7be('0x23')](function(_0xc0a5db){_0xa4c2d7['push'](_0xc0a5db[_0xb7be('0x49')]({'plain':!![]}));});})['then'](function(){return _0xa4c2d7;});});});}})[_0xb7be('0x23')](function(_0x1f4288){return _0x1f4288;})['then'](respondWithResult(_0x20777a,null))['catch'](handleError(_0x20777a,null));};exports[_0xb7be('0x59')]=function(_0x222a01,_0x5bbc68){var _0x52f51e;return db[_0xb7be('0x2a')][_0xb7be('0x48')]({'where':{'id':_0x222a01[_0xb7be('0x43')]['id']},'attributes':['id','name']})[_0xb7be('0x23')](handleEntityNotFound(_0x5bbc68,null))[_0xb7be('0x23')](function(_0x2ac442){if(_0x2ac442){_0x52f51e=_0x2ac442;return db['UserProfileSection'][_0xb7be('0x24')]({'where':{'userProfileId':_0x222a01[_0xb7be('0x43')]['id'],'sectionId':_0x222a01[_0xb7be('0x30')][_0xb7be('0x5a')]}});}})['then'](function(){return _0x52f51e;})[_0xb7be('0x23')](respondWithStatusCode(_0x5bbc68,null))[_0xb7be('0x42')](handleError(_0x5bbc68,null));};exports['getSections']=function(_0x34d19c,_0x391357){var _0x25eff7=[];var _0x4338fb=[];return db[_0xb7be('0x55')][_0xb7be('0x41')]({'where':{'userProfileId':_0x34d19c[_0xb7be('0x43')]['id']},'raw':!![]})[_0xb7be('0x23')](function(_0x3c25c7){_0x25eff7=_['filter'](_0x3c25c7,function(_0x20419c){return _0x20419c[_0xb7be('0x5b')]===0x1||_[_0xb7be('0x5c')]([0x3eb,0x709],_0x20419c[_0xb7be('0x58')]);});if(!_[_0xb7be('0x5d')](_0x25eff7)){return _[_0xb7be('0x29')](_0x25eff7,function(_0x2f7c10){return _0x2f7c10[_0xb7be('0x58')];});}else{return;}})[_0xb7be('0x23')](function(_0x1e2a4d){if(_0x1e2a4d)_0x4338fb=_0x1e2a4d;if(_['includes'](_0x4338fb,0x64)){var _0x100506=_[_0xb7be('0x48')](_0x25eff7,{'sectionId':0x64});return hasDefaultDashboard(_0x100506)[_0xb7be('0x23')](function(_0x311ea7){return _[_0xb7be('0x29')](_0x25eff7,function(_0x144cb7){if(_0x144cb7['sectionId']===0x64){_0x144cb7[_0xb7be('0x5e')]=_0x311ea7;}return _0x144cb7;});});}else{return;}})[_0xb7be('0x23')](function(_0x1407ee){if(_0x1407ee)_0x25eff7=_0x1407ee;if(_[_0xb7be('0x5c')](_0x4338fb,0x3eb)){var _0x4deca9=_[_0xb7be('0x48')](_0x25eff7,{'sectionId':0x3eb});return getCustomDashboards(_0x4deca9)['then'](function(_0x47a68b){return _[_0xb7be('0x29')](_0x25eff7,function(_0x4914e8){if(_0x4deca9['enabled']){if(_0x4914e8[_0xb7be('0x58')]===0x3eb){_0x4914e8[_0xb7be('0x5e')]=_0x47a68b;}}else{if(_0x4914e8['sectionId']===0x64){_0x4914e8[_0xb7be('0x5e')]=_0x47a68b;}}return _0x4914e8;});});}else{return;}})[_0xb7be('0x23')](function(_0x22a5ae){if(_0x22a5ae)_0x25eff7=_0x22a5ae;if(_[_0xb7be('0x5c')](_0x4338fb,0x709)){var _0x426dc0=_[_0xb7be('0x48')](_0x25eff7,{'sectionId':0x709});return getPlugins(_0x426dc0)[_0xb7be('0x23')](function(_0x31c8ad){if(_0x426dc0[_0xb7be('0x5b')]){return _['map'](_0x25eff7,function(_0x4c015b){if(_0x4c015b[_0xb7be('0x58')]===0x709){_0x4c015b[_0xb7be('0x5e')]=_0x31c8ad;}return _0x4c015b;});}else{var _0x28ea58={'sectionId':0x76c,'enabled':0x1,'subsections':_0x31c8ad};var _0x4a0593=_['map'](_0x25eff7);_0x4a0593[_0xb7be('0x5f')](_0x28ea58);return _0x4a0593;}});}else{return;}})['then'](function(_0x5889e9){if(_0x5889e9)_0x25eff7=_0x5889e9;return _[_0xb7be('0x3d')](_0x25eff7,[_0xb7be('0x5b'),0x1]);})[_0xb7be('0x23')](respondWithResult(_0x391357,null))[_0xb7be('0x42')](handleError(_0x391357,null));};function hasDefaultDashboard(_0x50ae1a){var _0x400d23=[0x65];return new BPromise(function(_0x552d0a,_0x219fbf){try{if(_0x50ae1a['autoAssociation']){_0x552d0a(_0x400d23);}else{return db[_0xb7be('0x52')][_0xb7be('0x60')]({'where':{'sectionId':_0x50ae1a['id']},'raw':!![]})[_0xb7be('0x23')](function(_0x5b5dc0){_0x5b5dc0?_0x552d0a(_0x400d23):_0x552d0a();});}}catch(_0x437dc7){_0x219fbf(_0x437dc7);}});}function getCustomDashboards(_0x213233){var _0x1b39ba=[];return new BPromise(function(_0x5bb90d,_0x4407df){try{if(_0x213233[_0xb7be('0x51')]){return db[_0xb7be('0x61')][_0xb7be('0x41')]({'raw':!![]})[_0xb7be('0x23')](function(_0x13f224){_0x13f224[_0xb7be('0x62')](function(_0x5ef74e){_0x1b39ba[_0xb7be('0x5f')](_0x5ef74e['id']+0x1869f);});_0x5bb90d(_0x1b39ba);});}else{return db[_0xb7be('0x52')][_0xb7be('0x41')]({'where':{'sectionId':_0x213233['id']},'raw':!![]})[_0xb7be('0x23')](function(_0x146563){_0x146563[_0xb7be('0x62')](function(_0x3fecc6){_0x1b39ba[_0xb7be('0x5f')](_0x3fecc6[_0xb7be('0x63')]+0x1869f);});_0x5bb90d(_0x1b39ba);});}}catch(_0x5e599e){_0x4407df(_0x5e599e);}});}function getPlugins(_0x68f56d){var _0x3ca3b3=[];return new BPromise(function(_0x3b1730,_0x13bcb7){try{if(_0x68f56d[_0xb7be('0x51')]){return db['Plugin'][_0xb7be('0x41')]({'raw':!![]})[_0xb7be('0x23')](function(_0x1ae096){_0x1ae096['forEach'](function(_0x3f599d){_0x3ca3b3['push'](_0x3f599d['id']+0x15b38);});_0x3b1730(_0x3ca3b3);});}else{return db[_0xb7be('0x52')][_0xb7be('0x41')]({'where':{'sectionId':_0x68f56d['id']},'raw':!![]})[_0xb7be('0x23')](function(_0x1efb6f){_0x1efb6f[_0xb7be('0x62')](function(_0x1e04df){_0x3ca3b3[_0xb7be('0x5f')](_0x1e04df['resourceId']+0x15b38);});_0x3b1730(_0x3ca3b3);});}}catch(_0x35386f){_0x13bcb7(_0x35386f);}});}exports[_0xb7be('0x64')]=function(_0x3a6603,_0x3e31be){return db[_0xb7be('0x2a')]['find']({'where':{'id':_0x3a6603['params']['id']}})['then'](handleEntityNotFound(_0x3e31be,null))[_0xb7be('0x23')](function(_0x5614cf){if(_0x5614cf){return db[_0xb7be('0x65')]['transaction'](function(_0x2419bd){return db[_0xb7be('0x55')]['findAll']({'where':{'userProfileId':_0x3a6603['params']['id']},'attributes':['id'],'raw':!![]})[_0xb7be('0x23')](function(_0x4a617b){if(_0x4a617b){return db[_0xb7be('0x55')][_0xb7be('0x24')]({'where':{'userProfileId':_0x3a6603['params']['id'],'id':_['map'](_0x4a617b,function(_0x1e8a6b){return _0x1e8a6b['id'];})},'transaction':_0x2419bd});}})[_0xb7be('0x23')](function(_0x2d625d){var _0x24b608=_[_0xb7be('0x29')](_0x3a6603['body'],function(_0x1a5e51){_0x1a5e51[_0xb7be('0x53')]=_0x3a6603[_0xb7be('0x43')]['id'];return _0x1a5e51;});return db[_0xb7be('0x55')]['bulkCreate'](_0x24b608,{'raw':!![],'transaction':_0x2419bd});})[_0xb7be('0x23')](function(_0x2d735d){var _0x4ed721=_[_0xb7be('0x3d')](_[_0xb7be('0x29')](_0x2d735d,function(_0x2421a3){return _0x2421a3[_0xb7be('0x49')]({'plain':!![]});}),{'includeAll':![]});if(_0x4ed721){return db[_0xb7be('0x55')][_0xb7be('0x41')]({'where':{'userProfileId':_0x3a6603[_0xb7be('0x43')]['id'],'sectionId':_['map'](_0x4ed721,function(_0x44f10f){return _0x44f10f[_0xb7be('0x58')];})},'attributes':['id',_0xb7be('0x58')],'raw':!![]})['then'](function(_0x19a22e){var _0x3ee63a=_['map'](_0x3a6603[_0xb7be('0x4d')],function(_0x13f90d){_0x13f90d[_0xb7be('0x53')]=_0x3a6603[_0xb7be('0x43')]['id'];return _0x13f90d;});return db['UserProfileResource'][_0xb7be('0x66')](_0x3ee63a,{'raw':!![],'transaction':_0x2419bd});});}})[_0xb7be('0x42')](handleError(_0x3e31be,null));});}})[_0xb7be('0x23')](function(_0x2bdab7){var _0xdfdcd5=_[_0xb7be('0x29')](_0x2bdab7,function(_0x3818bc){return _0x3818bc[_0xb7be('0x49')]({'plain':!![]});});})[_0xb7be('0x23')](respondWithResult(_0x3e31be,null))['catch'](handleError(_0x3e31be,null));};exports[_0xb7be('0x67')]=function(_0x5edf61,_0x5106b9,_0x3934ab){return db[_0xb7be('0x2a')]['find']({'where':{'id':_0x5edf61[_0xb7be('0x43')]['id']}})[_0xb7be('0x23')](handleEntityNotFound(_0x5106b9,null))['then'](function(_0x2bae80){if(_0x2bae80){return _0x2bae80['removeResources'](_0x5edf61[_0xb7be('0x30')][_0xb7be('0x5a')]);}})[_0xb7be('0x23')](respondWithStatusCode(_0x5106b9,null))[_0xb7be('0x42')](handleError(_0x5106b9,null));};exports[_0xb7be('0x68')]=function(_0x282830,_0x9925e6){var _0x6526a5={'raw':![],'where':{}};var _0x5c6778={};var _0x15075e={'count':0x0,'rows':[]};var _0x536f6f=_0x282830[_0xb7be('0x30')][_0xb7be('0x69')];if(typeof _0x536f6f==='undefined'){throw new db[(_0xb7be('0x6a'))]['ValidationError'](_0xb7be('0x6b'));}var _0x10b2f5=_0x282830[_0xb7be('0x30')][_0xb7be('0x6c')]||![];var _0x78a8d1=getQueryModels(_0x536f6f,_0x10b2f5);if(typeof _0x78a8d1[_0xb7be('0x6d')]===_0xb7be('0x6e')){throw new db['Sequelize'][(_0xb7be('0x6f'))](_0xb7be('0x70')+_0x536f6f+'\x27');}var _0xd64805=[];if(!_[_0xb7be('0x5d')](_0x78a8d1[_0xb7be('0x71')])){_0xd64805=_0x78a8d1[_0xb7be('0x71')];}else{_0xd64805=[{'name':_0x536f6f}];}return db[_0xb7be('0x2a')][_0xb7be('0x60')]({'where':{'id':_0x282830['params']['id']}})['then'](handleEntityNotFound(_0x9925e6,null))[_0xb7be('0x23')](function(_0x3083eb){if(_0x3083eb){var _0x38fc3a=[];for(var _0x46fe8d=0x0;_0x46fe8d<_0xd64805[_0xb7be('0x34')];_0x46fe8d++){_0x38fc3a['push'](db[_0xb7be('0x55')][_0xb7be('0x60')]({'where':{'userProfileId':_0x3083eb['id'],'name':_0xd64805[_0x46fe8d][_0xb7be('0x26')]},'raw':!![]}));}return BPromise['all'](_0x38fc3a);}})[_0xb7be('0x23')](function(_0x5b0fa2){var _0xde0a34=_['filter'](_0x5b0fa2,function(_0x569573){return _0x569573?_0x569573:undefined;});var _0x48616e=_[_0xb7be('0x3d')](_0xd64805,[_0xb7be('0x72'),!![]]);var _0x4b91d1=_[_0xb7be('0x5d')](_0xde0a34)&&_[_0xb7be('0x5d')](_0x48616e)?null:_[_0xb7be('0x73')](_0x48616e,_0xde0a34);if(_0x4b91d1){var _0x25d940=[];for(var _0x934fb8=0x0;_0x934fb8<_0x4b91d1[_0xb7be('0x34')];_0x934fb8++){var _0x41bba3=_[_0xb7be('0x48')](_0xd64805,function(_0x33ee12){return _0x4b91d1[_0x934fb8]?_0x33ee12[_0xb7be('0x26')]===_0x4b91d1[_0x934fb8][_0xb7be('0x26')]:null;});if(_0x41bba3){if(_0x4b91d1[_0x934fb8][_0xb7be('0x72')]){_0x25d940[_0xb7be('0x5f')](getAllResources(_0x78a8d1[_0xb7be('0x6d')],_0x4b91d1[_0x934fb8]));}else{if(!_0x4b91d1[_0x934fb8][_0xb7be('0x51')]){_0x25d940['push'](getAllowedResources(_0x41bba3,_0x4b91d1[_0x934fb8],_0x78a8d1[_0xb7be('0x6d')]));}else{if(_0x41bba3[_0xb7be('0x2f')]){_0x25d940[_0xb7be('0x5f')](getAllFilteredResources(_0x41bba3,_0x4b91d1[_0x934fb8]));}}}}}return BPromise[_0xb7be('0x74')](_0x25d940);}else{return null;}})[_0xb7be('0x23')](function(_0x1fd9b7){var _0x2678d4=_0x1fd9b7;var _0x8e56e1=null;if(_0x2678d4){_0x8e56e1=_0x2678d4[_0xb7be('0x34')]===0x1?_0x2678d4[0x0]:null;}if(_0x8e56e1||_0x2678d4){var _0x131bd8=db[_0x78a8d1[_0xb7be('0x6d')]]['rawAttributes'];_0x5c6778[_0xb7be('0x2f')]=_[_0xb7be('0x44')](_0x131bd8);_0x5c6778[_0xb7be('0x30')]=_[_0xb7be('0x44')](_0x282830['query']);_0x5c6778[_0xb7be('0x3a')]=_['intersection'](_0x5c6778['model'],_0x5c6778['query']);_0x6526a5[_0xb7be('0x32')]=_[_0xb7be('0x31')](_0x5c6778[_0xb7be('0x2f')],qs[_0xb7be('0x33')](_0x282830[_0xb7be('0x30')][_0xb7be('0x33')]));_0x6526a5[_0xb7be('0x32')]=_0x6526a5['attributes'][_0xb7be('0x34')]?_0x6526a5[_0xb7be('0x32')]:_0x5c6778[_0xb7be('0x2f')];if(!_0x282830[_0xb7be('0x30')]['hasOwnProperty'](_0xb7be('0x36'))){_0x6526a5[_0xb7be('0x75')]=qs[_0xb7be('0x75')](_0x282830[_0xb7be('0x30')]['limit']);_0x6526a5['offset']=qs[_0xb7be('0x1f')](_0x282830[_0xb7be('0x30')][_0xb7be('0x1f')]);}_0x6526a5['order']=qs[_0xb7be('0x38')](_0x282830['query'][_0xb7be('0x38')]);_0x6526a5[_0xb7be('0x39')]=qs[_0xb7be('0x3a')](_['pick'](_0x282830['query'],_0x5c6778['filters']));if(_0x282830[_0xb7be('0x30')]['filter']){_0x6526a5[_0xb7be('0x39')]=_[_0xb7be('0x3e')](_0x6526a5[_0xb7be('0x39')],{'$or':_['map'](_0x131bd8,function(_0x332fdd){if(_0x332fdd[_0xb7be('0x2d')]['key']!=='VIRTUAL'){var _0x5c871e={};_0x5c871e[_0x332fdd['field']]={'$like':'%'+_0x282830[_0xb7be('0x30')]['filter']+'%'};return _0x5c871e;}})});}var _0x3813b0=[];if(_0x8e56e1){var _0x4c6245=_[_0xb7be('0x48')](_0xd64805,[_0xb7be('0x26'),_0x8e56e1[_0xb7be('0x26')]]);if(_0x4c6245[_0xb7be('0x76')]){var _0x3f995a={};if(_0x78a8d1[_0xb7be('0x6d')]===_0xb7be('0x77')){_0x3f995a[_0x4c6245[_0xb7be('0x78')]]=_['map'](_0x8e56e1['associatedResources'],'id');}else{_0x3f995a[_0x4c6245[_0xb7be('0x78')]]=_0x8e56e1[_0xb7be('0x79')];}_0x3813b0[_0xb7be('0x5f')](_0x3f995a);}else{_0x6526a5['where']['id']=_0x8e56e1[_0xb7be('0x79')];}}else{for(var _0x387e74=0x0;_0x387e74<_0x2678d4[_0xb7be('0x34')];_0x387e74++){var _0x4c6245=_[_0xb7be('0x48')](_0xd64805,[_0xb7be('0x26'),_0x2678d4[_0x387e74]['name']]);if(_0x4c6245[_0xb7be('0x76')]){var _0x3f995a={};_0x3f995a[_0x4c6245['foreignKey']]=_0x2678d4[_0x387e74]['associatedResources'];_0x3813b0['push'](_0x3f995a);}else{if(!_0x6526a5['where']['id'])_0x6526a5[_0xb7be('0x39')]['id']=[];_0x2678d4[_0x387e74][_0xb7be('0x79')][_0xb7be('0x62')](function(_0x510c35){_0x6526a5[_0xb7be('0x39')]['id']['push'](_0x510c35);});}}}if(!_[_0xb7be('0x5d')](_0x3813b0)){_0x6526a5[_0xb7be('0x39')]=_[_0xb7be('0x3e')](_0x6526a5[_0xb7be('0x39')],{'$and':{'$or':_0x3813b0}});}_0x6526a5=_[_0xb7be('0x3e')]({},_0x6526a5,_0x282830['options']);if(_0x8e56e1&&!_0x8e56e1[_0xb7be('0x51')]&&_0x78a8d1['childModel']===_0xb7be('0x77')){if(_0x282830[_0xb7be('0x30')][_0xb7be('0x40')]){_0x6526a5[_0xb7be('0x45')]=[{'all':!![]}];}return db[_0x78a8d1['childModel']]['findAll'](_0x6526a5)[_0xb7be('0x23')](function(_0x42dc9a){var _0x39d178=[];_0x42dc9a[_0xb7be('0x62')](function(_0x4acffe){var _0x47c16e;switch(_0x4acffe[_0xb7be('0x7a')]){case _0xb7be('0x7b'):_0x47c16e=_[_0xb7be('0x48')](_0x8e56e1[_0xb7be('0x79')],function(_0x6da245){return _0x6da245['id']===_0x4acffe[_0xb7be('0x7c')]&&_0x6da245[_0xb7be('0x2d')]===_0xb7be('0x7d');});break;case'custom':_0x47c16e=_[_0xb7be('0x48')](_0x8e56e1[_0xb7be('0x79')],function(_0x4b6eea){return _0x4b6eea['id']===_0x4acffe['reportId']&&_0x4b6eea[_0xb7be('0x2d')]===_0xb7be('0x7e');});break;}if(_0x47c16e)_0x39d178[_0xb7be('0x5f')](_0x4acffe);});_0x15075e[_0xb7be('0x1e')]=_0x39d178[_0xb7be('0x34')];_0x15075e[_0xb7be('0x7f')]=_0x39d178;return _0x15075e;});}else{return db[_0x78a8d1[_0xb7be('0x6d')]]['count']({'where':_0x6526a5[_0xb7be('0x39')]})['then'](function(_0x298ac1){_0x15075e[_0xb7be('0x1e')]=_0x298ac1;if(_0x282830[_0xb7be('0x30')][_0xb7be('0x40')]){if(_0x78a8d1['childModel']===_0xb7be('0x80')){_0x6526a5[_0xb7be('0x45')]=[{'model':db[_0xb7be('0x81')],'as':'Tags','attributes':['id',_0xb7be('0x26'),_0xb7be('0x82')],'required':_0x282830[_0xb7be('0x30')][_0xb7be('0x83')]?!![]:![]},{'model':db['Tag'],'as':_0xb7be('0x84'),'attributes':['id','name','color'],'through':_0x282830['query'][_0xb7be('0x83')]?{'attributes':[],'where':{'TagId':_0x282830[_0xb7be('0x30')][_0xb7be('0x83')]||undefined}}:{},'required':_0x282830[_0xb7be('0x30')][_0xb7be('0x83')]?!![]:![]}];}else{_0x6526a5[_0xb7be('0x45')]=[{'all':!![]}];}}return db[_0x78a8d1[_0xb7be('0x6d')]]['findAll'](_0x6526a5);})[_0xb7be('0x23')](function(_0x25ecdf){_0x15075e[_0xb7be('0x7f')]=_0x25ecdf;return _0x15075e;});}}else{return _0x15075e;}})[_0xb7be('0x23')](respondWithFilteredResult(_0x9925e6,_0x6526a5))[_0xb7be('0x42')](handleError(_0x9925e6,null));};function getAllResources(_0x382a9f,_0x443df6){return new BPromise(function(_0x3b934b,_0x4797ee){if(_0x443df6){var _0x57dcf2=_0x443df6['filter']?{[_0x443df6[_0xb7be('0x3d')][_0xb7be('0x76')]]:_0x443df6[_0xb7be('0x3d')][_0xb7be('0x85')]}:undefined;return db[_0x382a9f][_0xb7be('0x41')]({'where':_0x57dcf2,'raw':!![]})[_0xb7be('0x23')](function(_0x1f44c5){_0x443df6['associatedResources']=_['map'](_0x1f44c5,'id');_0x3b934b(_0x443df6);})['catch'](function(_0x1a967a){_0x4797ee(_0x1a967a);});}else{_0x3b934b(null);}});}function getAllFilteredResources(_0x287887,_0x4d3e60){return new BPromise(function(_0x16d2cf,_0x1b1f6){var _0x463bc8=_0x287887['filter']?{[_0x287887[_0xb7be('0x3d')][_0xb7be('0x76')]]:_0x287887[_0xb7be('0x3d')][_0xb7be('0x85')]}:undefined;return db[_0x287887[_0xb7be('0x2f')]][_0xb7be('0x41')]({'where':_0x463bc8,'raw':!![]})[_0xb7be('0x23')](function(_0x2000a0){_0x4d3e60[_0xb7be('0x79')]=_['map'](_0x2000a0,function(_0x5f1226){return _0x5f1226[_0xb7be('0x26')];});_0x16d2cf(_0x4d3e60);})[_0xb7be('0x42')](function(_0x10b9f9){_0x1b1f6(_0x10b9f9);});});}function getAllowedResources(_0x548654,_0x5cfb40,_0x13c942){return new BPromise(function(_0x11375c,_0x55e934){if(_0x5cfb40){return db[_0xb7be('0x52')][_0xb7be('0x41')]({'where':{'sectionId':_0x5cfb40['id']},'raw':!![]})[_0xb7be('0x23')](function(_0xf0a32e){if(_0x548654[_0xb7be('0x76')]&&_0x548654['field']!=='id'){_0x5cfb40['associatedResources']=_[_0xb7be('0x29')](_0xf0a32e,function(_0x42b2d5){return _0x42b2d5[_0x548654[_0xb7be('0x76')]];});}else{if(_0x13c942===_0xb7be('0x77')){_0x5cfb40[_0xb7be('0x79')]=_[_0xb7be('0x29')](_0xf0a32e,function(_0x1465b5){return{'id':_0x1465b5[_0xb7be('0x63')],'type':_0x1465b5[_0xb7be('0x2d')]};});}else{_0x5cfb40['associatedResources']=_[_0xb7be('0x29')](_0xf0a32e,function(_0x436684){return _0x436684[_0xb7be('0x63')];});}}_0x11375c(_0x5cfb40);})['catch'](function(_0xf3b15){_0x55e934(_0xf3b15);});}else{_0x11375c(null);}});}function getQueryModels(_0x4e12f1,_0x57154b){var _0x413551=_0x4e12f1[_0xb7be('0x86')]();var _0xc06542={'childModel':undefined,'parentSections':[]};switch(_0x413551){case _0xb7be('0x87'):_0xc06542[_0xb7be('0x6d')]=_0xb7be('0x88');break;case _0xb7be('0x89'):_0xc06542[_0xb7be('0x6d')]=_0xb7be('0x8a');break;case _0xb7be('0x8b'):_0xc06542['childModel']=_0xb7be('0x8c');_0xc06542[_0xb7be('0x71')]=[{'name':'SquareProjects','field':_0xb7be('0x26'),'foreignKey':_0xb7be('0x8d')}];break;case _0xb7be('0x8e'):_0xc06542['childModel']='JscriptyProject';break;case _0xb7be('0x8f'):_0xc06542[_0xb7be('0x6d')]=_0xb7be('0x80');_0xc06542[_0xb7be('0x71')]=[{'name':_0xb7be('0x90'),'field':'id','foreignKey':_0xb7be('0x91')}];break;case _0xb7be('0x92'):_0xc06542[_0xb7be('0x6d')]=_0xb7be('0x93');break;case'companies':_0xc06542[_0xb7be('0x6d')]=_0xb7be('0x94');break;case _0xb7be('0x95'):_0xc06542[_0xb7be('0x6d')]=_0xb7be('0x96');break;case'chatqueues':_0xc06542[_0xb7be('0x6d')]=_0xb7be('0x97');break;case _0xb7be('0x98'):_0xc06542[_0xb7be('0x6d')]=_0xb7be('0x99');break;case _0xb7be('0x9a'):_0xc06542[_0xb7be('0x6d')]=_0xb7be('0x9b');break;case _0xb7be('0x9c'):_0xc06542['childModel']=_0xb7be('0x9d');break;case'inboundroutes':case _0xb7be('0x9e'):case _0xb7be('0x9f'):_0xc06542[_0xb7be('0x6d')]='VoiceExtension';break;case _0xb7be('0xa0'):_0xc06542[_0xb7be('0x6d')]='VoiceContext';break;case _0xb7be('0xa1'):_0xc06542[_0xb7be('0x6d')]=_0xb7be('0xa2');break;case _0xb7be('0xa3'):_0xc06542[_0xb7be('0x6d')]=_0xb7be('0xa4');_0xc06542['parentSections']=[{'name':_0xb7be('0xa5'),'field':'name','foreignKey':_0xb7be('0xa6'),'model':_0xb7be('0xa7'),'filter':{'field':_0xb7be('0xa8'),'value':[_0xb7be('0xa9')]}},{'name':'Telephones','field':_0xb7be('0x26'),'foreignKey':_0xb7be('0xa6'),'model':_0xb7be('0xa7'),'filter':{'field':_0xb7be('0xa8'),'value':[_0xb7be('0xaa')]}},{'name':_0xb7be('0xab'),'field':_0xb7be('0x26'),'foreignKey':'queue','model':_0xb7be('0xac'),'filter':{'field':'type','value':['inbound']}},{'name':'QueueCampaigns','field':_0xb7be('0x26'),'foreignKey':'queue','model':_0xb7be('0xac'),'filter':{'field':_0xb7be('0x2d'),'value':[_0xb7be('0xad')]}}];break;case'musiconholds':_0xc06542[_0xb7be('0x6d')]=_0xb7be('0xae');break;case'chanspies':_0xc06542[_0xb7be('0x6d')]=_0xb7be('0xaf');break;case'voiceprefixes':_0xc06542[_0xb7be('0x6d')]=_0xb7be('0xb0');break;case _0xb7be('0xb1'):_0xc06542['childModel']=_0xb7be('0xb2');break;case _0xb7be('0xb3'):_0xc06542[_0xb7be('0x6d')]='MailQueue';break;case _0xb7be('0xb4'):_0xc06542['childModel']=_0xb7be('0xb5');break;case'mailsubstatuses':_0xc06542['childModel']='MailSubstatus';break;case _0xb7be('0xb6'):_0xc06542[_0xb7be('0x6d')]=_0xb7be('0xb7');break;case _0xb7be('0xb8'):_0xc06542[_0xb7be('0x6d')]=_0xb7be('0xb9');break;case _0xb7be('0xba'):_0xc06542['childModel']=_0xb7be('0xbb');break;case _0xb7be('0xbc'):_0xc06542[_0xb7be('0x6d')]=_0xb7be('0xbd');break;case _0xb7be('0xbe'):_0xc06542[_0xb7be('0x6d')]=_0xb7be('0xbf');break;case _0xb7be('0xc0'):_0xc06542['childModel']=_0xb7be('0xc1');break;case _0xb7be('0xc2'):_0xc06542[_0xb7be('0x6d')]=_0xb7be('0xc3');break;case _0xb7be('0xc4'):case _0xb7be('0xc5'):_0xc06542[_0xb7be('0x6d')]=_0xb7be('0xac');if(_0x57154b){_0xc06542[_0xb7be('0x71')]=[{'name':_0xb7be('0xab')},{'name':_0xb7be('0xc6')}];}break;case'users':case _0xb7be('0xc7'):case _0xb7be('0xc8'):_0xc06542[_0xb7be('0x6d')]=_0xb7be('0xa7');if(_0x57154b){_0xc06542[_0xb7be('0x71')]=[{'name':'Users','filter':{'field':_0xb7be('0xa8'),'value':['admin',_0xb7be('0xc9')]},'ignore':!![]},{'name':_0xb7be('0xa5')},{'name':_0xb7be('0xca')}];}break;case _0xb7be('0xcb'):_0xc06542['childModel']=_0xb7be('0xcc');break;case _0xb7be('0xcd'):_0xc06542[_0xb7be('0x6d')]=_0xb7be('0xce');break;case _0xb7be('0xcf'):_0xc06542['childModel']=_0xb7be('0xd0');break;case'sugarcrmaccounts':_0xc06542[_0xb7be('0x6d')]=_0xb7be('0xd1');break;case'deskaccounts':_0xc06542[_0xb7be('0x6d')]='DeskAccount';break;case'zohoaccounts':_0xc06542['childModel']=_0xb7be('0xd2');break;case _0xb7be('0xd3'):_0xc06542[_0xb7be('0x6d')]=_0xb7be('0xa7');break;case _0xb7be('0xd4'):_0xc06542['childModel']='CannedAnswer';break;case _0xb7be('0xd5'):_0xc06542[_0xb7be('0x6d')]=_0xb7be('0xd6');break;case'customdashboards':_0xc06542[_0xb7be('0x6d')]=_0xb7be('0x61');break;case'intervals':_0xc06542[_0xb7be('0x6d')]=_0xb7be('0xd7');break;case'pauses':_0xc06542['childModel']=_0xb7be('0xd8');break;case'scheduler':_0xc06542['childModel']=_0xb7be('0xd9');break;case'sounds':_0xc06542['childModel']=_0xb7be('0xda');break;case'tags':_0xc06542[_0xb7be('0x6d')]=_0xb7be('0x81');break;case _0xb7be('0xdb'):_0xc06542[_0xb7be('0x6d')]=_0xb7be('0xdc');break;case _0xb7be('0xdd'):_0xc06542[_0xb7be('0x6d')]=_0xb7be('0xde');break;case _0xb7be('0xdf'):_0xc06542[_0xb7be('0x6d')]=_0xb7be('0xe0');break;case _0xb7be('0xe1'):_0xc06542[_0xb7be('0x6d')]=_0xb7be('0xe2');break;case _0xb7be('0xe3'):_0xc06542[_0xb7be('0x6d')]=_0xb7be('0xe4');break;case'extractedreports':_0xc06542[_0xb7be('0x6d')]=_0xb7be('0x77');_0xc06542[_0xb7be('0x71')]=[{'name':'Reports','field':'id','foreignKey':_0xb7be('0x7c')}];break;case _0xb7be('0xe5'):_0xc06542[_0xb7be('0x6d')]='AnalyticMetric';break;case _0xb7be('0xc0'):_0xc06542['childModel']=_0xb7be('0xc1');break;default:return _0xc06542;}return _0xc06542;} \ No newline at end of file diff --git a/server/api/userProfile/userProfile.events.js b/server/api/userProfile/userProfile.events.js index 9fc5313..9c2ca2e 100644 --- a/server/api/userProfile/userProfile.events.js +++ b/server/api/userProfile/userProfile.events.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x103c=['hook','exports','../../mysqldb','UserProfile','setMaxListeners','save','remove','emit','hasOwnProperty'];(function(_0xacaef6,_0x55fa81){var _0x3155af=function(_0x598b5d){while(--_0x598b5d){_0xacaef6['push'](_0xacaef6['shift']());}};_0x3155af(++_0x55fa81);}(_0x103c,0x1bb));var _0xc103=function(_0x14fa01,_0x4c66c4){_0x14fa01=_0x14fa01-0x0;var _0x1084cd=_0x103c[_0x14fa01];return _0x1084cd;};'use strict';var EventEmitter=require('events');var UserProfile=require(_0xc103('0x0'))['db'][_0xc103('0x1')];var UserProfileEvents=new EventEmitter();UserProfileEvents[_0xc103('0x2')](0x0);var events={'afterCreate':_0xc103('0x3'),'afterUpdate':'update','afterDestroy':_0xc103('0x4')};function emitEvent(_0x8ec70f){return function(_0x5e8c80,_0x5a61fa,_0x525907){UserProfileEvents[_0xc103('0x5')](_0x8ec70f+':'+_0x5e8c80['id'],_0x5e8c80);UserProfileEvents[_0xc103('0x5')](_0x8ec70f,_0x5e8c80);_0x525907(null);};}for(var e in events){if(events[_0xc103('0x6')](e)){var event=events[e];UserProfile[_0xc103('0x7')](e,emitEvent(event));}}module[_0xc103('0x8')]=UserProfileEvents; \ No newline at end of file +var _0x5106=['update','remove','emit','hasOwnProperty','exports','events','../../mysqldb','UserProfile','save'];(function(_0x48382f,_0xd56883){var _0x4e4995=function(_0x19835e){while(--_0x19835e){_0x48382f['push'](_0x48382f['shift']());}};_0x4e4995(++_0xd56883);}(_0x5106,0xa7));var _0x6510=function(_0x122ef9,_0x451d2a){_0x122ef9=_0x122ef9-0x0;var _0x42fba0=_0x5106[_0x122ef9];return _0x42fba0;};'use strict';var EventEmitter=require(_0x6510('0x0'));var UserProfile=require(_0x6510('0x1'))['db'][_0x6510('0x2')];var UserProfileEvents=new EventEmitter();UserProfileEvents['setMaxListeners'](0x0);var events={'afterCreate':_0x6510('0x3'),'afterUpdate':_0x6510('0x4'),'afterDestroy':_0x6510('0x5')};function emitEvent(_0x2c9793){return function(_0x59c7df,_0x8bbf67,_0x23e2cb){UserProfileEvents[_0x6510('0x6')](_0x2c9793+':'+_0x59c7df['id'],_0x59c7df);UserProfileEvents[_0x6510('0x6')](_0x2c9793,_0x59c7df);_0x23e2cb(null);};}for(var e in events){if(events[_0x6510('0x7')](e)){var event=events[e];UserProfile['hook'](e,emitEvent(event));}}module[_0x6510('0x8')]=UserProfileEvents; \ No newline at end of file diff --git a/server/api/userProfile/userProfile.model.js b/server/api/userProfile/userProfile.model.js index 07acdc8..44aaac9 100644 --- a/server/api/userProfile/userProfile.model.js +++ b/server/api/userProfile/userProfile.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x0734=['util','moment','bluebird','request-promise','path','../../config/environment','./userProfile.attributes','exports','define','UserProfile','user_profiles'];(function(_0x40220a,_0x22feb1){var _0x3903cc=function(_0x33a296){while(--_0x33a296){_0x40220a['push'](_0x40220a['shift']());}};_0x3903cc(++_0x22feb1);}(_0x0734,0x197));var _0x4073=function(_0x1038ee,_0x410bb1){_0x1038ee=_0x1038ee-0x0;var _0x56241e=_0x0734[_0x1038ee];return _0x56241e;};'use strict';var _=require('lodash');var util=require(_0x4073('0x0'));var logger=require('../../config/logger')('api');var moment=require(_0x4073('0x1'));var BPromise=require(_0x4073('0x2'));var rp=require(_0x4073('0x3'));var fs=require('fs');var path=require(_0x4073('0x4'));var rimraf=require('rimraf');var config=require(_0x4073('0x5'));var attributes=require(_0x4073('0x6'));module[_0x4073('0x7')]=function(_0x5765b8,_0x5771e8){return _0x5765b8[_0x4073('0x8')](_0x4073('0x9'),attributes,{'tableName':_0x4073('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0x68d3=['define','UserProfile','user_profiles','lodash','util','../../config/logger','api','moment','bluebird','request-promise','rimraf','./userProfile.attributes','exports'];(function(_0x5ddb1c,_0x5ea4df){var _0x354adc=function(_0x2dfb1f){while(--_0x2dfb1f){_0x5ddb1c['push'](_0x5ddb1c['shift']());}};_0x354adc(++_0x5ea4df);}(_0x68d3,0x1ca));var _0x368d=function(_0x40e5e7,_0x5de9fb){_0x40e5e7=_0x40e5e7-0x0;var _0x305d7b=_0x68d3[_0x40e5e7];return _0x305d7b;};'use strict';var _=require(_0x368d('0x0'));var util=require(_0x368d('0x1'));var logger=require(_0x368d('0x2'))(_0x368d('0x3'));var moment=require(_0x368d('0x4'));var BPromise=require(_0x368d('0x5'));var rp=require(_0x368d('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0x368d('0x7'));var config=require('../../config/environment');var attributes=require(_0x368d('0x8'));module[_0x368d('0x9')]=function(_0x515c20,_0x15e68c){return _0x515c20[_0x368d('0xa')](_0x368d('0xb'),attributes,{'tableName':_0x368d('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/userProfile/userProfile.rpc.js b/server/api/userProfile/userProfile.rpc.js index d17f312..3503194 100644 --- a/server/api/userProfile/userProfile.rpc.js +++ b/server/api/userProfile/userProfile.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x187d=['stringify','error','code','UserProfile,\x20%s,\x20%s','message','result','catch','lodash','moment','bluebird','randomstring','ioredis','../../mysqldb','../../config/utils','rpc','../../config/environment','client','http','redis','defaults','localhost','socket.io-emitter','register','then','info','request\x20sent','debug','UserProfile,\x20%s,\x20%s,\x20%s'];(function(_0x5a7460,_0xb5107b){var _0x3a7f2b=function(_0x5e3c8a){while(--_0x5e3c8a){_0x5a7460['push'](_0x5a7460['shift']());}};_0x3a7f2b(++_0xb5107b);}(_0x187d,0x93));var _0xd187=function(_0x1cfa0d,_0x4391f2){_0x1cfa0d=_0x1cfa0d-0x0;var _0xe33279=_0x187d[_0x1cfa0d];return _0xe33279;};'use strict';var _=require(_0xd187('0x0'));var util=require('util');var moment=require(_0xd187('0x1'));var BPromise=require(_0xd187('0x2'));var rs=require(_0xd187('0x3'));var fs=require('fs');var Redis=require(_0xd187('0x4'));var db=require(_0xd187('0x5'))['db'];var utils=require(_0xd187('0x6'));var logger=require('../../config/logger')(_0xd187('0x7'));var config=require(_0xd187('0x8'));var jayson=require('jayson/promise');var client=jayson[_0xd187('0x9')][_0xd187('0xa')]({'port':0x232a});config[_0xd187('0xb')]=_[_0xd187('0xc')](config[_0xd187('0xb')],{'host':_0xd187('0xd'),'port':0x18eb});var socket=require(_0xd187('0xe'))(new Redis(config[_0xd187('0xb')]));require('./userProfile.socket')[_0xd187('0xf')](socket);function respondWithRpcPromise(_0x42848b,_0x4039f6,_0x473866){return new BPromise(function(_0x33ca45,_0x2a61a4){return client['request'](_0x42848b,_0x473866)[_0xd187('0x10')](function(_0x412ccf){logger[_0xd187('0x11')]('UserProfile,\x20%s,\x20%s',_0x4039f6,_0xd187('0x12'));logger[_0xd187('0x13')](_0xd187('0x14'),_0x4039f6,'request\x20sent',JSON[_0xd187('0x15')](_0x412ccf));if(_0x412ccf[_0xd187('0x16')]){if(_0x412ccf[_0xd187('0x16')][_0xd187('0x17')]===0x1f4){logger['error'](_0xd187('0x18'),_0x4039f6,_0x412ccf[_0xd187('0x16')][_0xd187('0x19')]);return _0x2a61a4(_0x412ccf[_0xd187('0x16')]['message']);}logger[_0xd187('0x16')]('UserProfile,\x20%s,\x20%s',_0x4039f6,_0x412ccf['error'][_0xd187('0x19')]);return _0x33ca45(_0x412ccf['error']['message']);}else{logger[_0xd187('0x11')](_0xd187('0x18'),_0x4039f6,_0xd187('0x12'));_0x33ca45(_0x412ccf[_0xd187('0x1a')][_0xd187('0x19')]);}})[_0xd187('0x1b')](function(_0x12b388){logger[_0xd187('0x16')](_0xd187('0x18'),_0x4039f6,_0x12b388);_0x2a61a4(_0x12b388);});});} \ No newline at end of file +var _0xdc97=['redis','localhost','socket.io-emitter','./userProfile.socket','register','request','then','UserProfile,\x20%s,\x20%s,\x20%s','request\x20sent','error','code','UserProfile,\x20%s,\x20%s','message','info','catch','lodash','util','moment','randomstring','../../mysqldb','../../config/utils','rpc','../../config/environment','jayson/promise','client'];(function(_0x3f1cce,_0x50c9d0){var _0x4505e1=function(_0x288d97){while(--_0x288d97){_0x3f1cce['push'](_0x3f1cce['shift']());}};_0x4505e1(++_0x50c9d0);}(_0xdc97,0x13b));var _0x7dc9=function(_0x14d6a8,_0x5899e0){_0x14d6a8=_0x14d6a8-0x0;var _0x15e75c=_0xdc97[_0x14d6a8];return _0x15e75c;};'use strict';var _=require(_0x7dc9('0x0'));var util=require(_0x7dc9('0x1'));var moment=require(_0x7dc9('0x2'));var BPromise=require('bluebird');var rs=require(_0x7dc9('0x3'));var fs=require('fs');var Redis=require('ioredis');var db=require(_0x7dc9('0x4'))['db'];var utils=require(_0x7dc9('0x5'));var logger=require('../../config/logger')(_0x7dc9('0x6'));var config=require(_0x7dc9('0x7'));var jayson=require(_0x7dc9('0x8'));var client=jayson[_0x7dc9('0x9')]['http']({'port':0x232a});config[_0x7dc9('0xa')]=_['defaults'](config['redis'],{'host':_0x7dc9('0xb'),'port':0x18eb});var socket=require(_0x7dc9('0xc'))(new Redis(config[_0x7dc9('0xa')]));require(_0x7dc9('0xd'))[_0x7dc9('0xe')](socket);function respondWithRpcPromise(_0x5ca05b,_0xb2fa2a,_0x44fe24){return new BPromise(function(_0x37dfc,_0x1dc3f7){return client[_0x7dc9('0xf')](_0x5ca05b,_0x44fe24)[_0x7dc9('0x10')](function(_0x1e336a){logger['info']('UserProfile,\x20%s,\x20%s',_0xb2fa2a,'request\x20sent');logger['debug'](_0x7dc9('0x11'),_0xb2fa2a,_0x7dc9('0x12'),JSON['stringify'](_0x1e336a));if(_0x1e336a[_0x7dc9('0x13')]){if(_0x1e336a[_0x7dc9('0x13')][_0x7dc9('0x14')]===0x1f4){logger[_0x7dc9('0x13')](_0x7dc9('0x15'),_0xb2fa2a,_0x1e336a[_0x7dc9('0x13')]['message']);return _0x1dc3f7(_0x1e336a[_0x7dc9('0x13')][_0x7dc9('0x16')]);}logger[_0x7dc9('0x13')](_0x7dc9('0x15'),_0xb2fa2a,_0x1e336a[_0x7dc9('0x13')][_0x7dc9('0x16')]);return _0x37dfc(_0x1e336a[_0x7dc9('0x13')][_0x7dc9('0x16')]);}else{logger[_0x7dc9('0x17')]('UserProfile,\x20%s,\x20%s',_0xb2fa2a,_0x7dc9('0x12'));_0x37dfc(_0x1e336a['result'][_0x7dc9('0x16')]);}})[_0x7dc9('0x18')](function(_0x5d61d7){logger[_0x7dc9('0x13')](_0x7dc9('0x15'),_0xb2fa2a,_0x5d61d7);_0x1dc3f7(_0x5d61d7);});});} \ No newline at end of file diff --git a/server/api/userProfile/userProfile.socket.js b/server/api/userProfile/userProfile.socket.js index dfc9be6..fb61c3d 100644 --- a/server/api/userProfile/userProfile.socket.js +++ b/server/api/userProfile/userProfile.socket.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xa7e2=['emit','removeListener','length','userProfile:','save','remove','update'];(function(_0x11005e,_0x20c3d2){var _0x29338f=function(_0x3384e9){while(--_0x3384e9){_0x11005e['push'](_0x11005e['shift']());}};_0x29338f(++_0x20c3d2);}(_0xa7e2,0x107));var _0x2a7e=function(_0x4e206a,_0xc45c2d){_0x4e206a=_0x4e206a-0x0;var _0x2c21c0=_0xa7e2[_0x4e206a];return _0x2c21c0;};'use strict';var UserProfileEvents=require('./userProfile.events');var events=[_0x2a7e('0x0'),_0x2a7e('0x1'),_0x2a7e('0x2')];function createListener(_0x381c12,_0x4fb6f4){return function(_0x517202){_0x4fb6f4[_0x2a7e('0x3')](_0x381c12,_0x517202);};}function removeListener(_0x39252f,_0x191db9){return function(){UserProfileEvents[_0x2a7e('0x4')](_0x39252f,_0x191db9);};}exports['register']=function(_0x15aae2){for(var _0x2ddaa2=0x0,_0x296041=events[_0x2a7e('0x5')];_0x2ddaa2<_0x296041;_0x2ddaa2++){var _0x15988e=events[_0x2ddaa2];var _0x53d849=createListener(_0x2a7e('0x6')+_0x15988e,_0x15aae2);UserProfileEvents['on'](_0x15988e,_0x53d849);}}; \ No newline at end of file +var _0x708d=['remove','emit','removeListener','length','userProfile:','save'];(function(_0x232801,_0x51fcc4){var _0x517df8=function(_0x236f65){while(--_0x236f65){_0x232801['push'](_0x232801['shift']());}};_0x517df8(++_0x51fcc4);}(_0x708d,0x1f1));var _0xd708=function(_0x1aadc5,_0x5eebc0){_0x1aadc5=_0x1aadc5-0x0;var _0xe8aff1=_0x708d[_0x1aadc5];return _0xe8aff1;};'use strict';var UserProfileEvents=require('./userProfile.events');var events=[_0xd708('0x0'),_0xd708('0x1'),'update'];function createListener(_0x41fff7,_0x2f67bf){return function(_0x6179b5){_0x2f67bf[_0xd708('0x2')](_0x41fff7,_0x6179b5);};}function removeListener(_0x5055a2,_0x1480ac){return function(){UserProfileEvents[_0xd708('0x3')](_0x5055a2,_0x1480ac);};}exports['register']=function(_0x4a7fd9){for(var _0x3203a2=0x0,_0x2004e3=events[_0xd708('0x4')];_0x3203a2<_0x2004e3;_0x3203a2++){var _0x3608e2=events[_0x3203a2];var _0x466411=createListener(_0xd708('0x5')+_0x3608e2,_0x4a7fd9);UserProfileEvents['on'](_0x3608e2,_0x466411);}}; \ No newline at end of file diff --git a/server/api/userProfileResource/index.js b/server/api/userProfileResource/index.js index bfb1731..2b2827a 100644 --- a/server/api/userProfileResource/index.js +++ b/server/api/userProfileResource/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x542a=['get','isAuthenticated','index','/describe','describe','/:id','show','post','put','update','delete','destroy','exports','multer','util','path','Router','../../components/auth/service','../../config/environment','./userProfileResource.controller'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x542a,0x71));var _0xa542=function(_0x25f850,_0x527cbc){_0x25f850=_0x25f850-0x0;var _0x386a65=_0x542a[_0x25f850];return _0x386a65;};'use strict';var multer=require(_0xa542('0x0'));var util=require(_0xa542('0x1'));var path=require(_0xa542('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0xa542('0x3')]();var auth=require(_0xa542('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0xa542('0x5'));var controller=require(_0xa542('0x6'));router[_0xa542('0x7')]('/',auth[_0xa542('0x8')](),controller[_0xa542('0x9')]);router['get'](_0xa542('0xa'),auth[_0xa542('0x8')](),controller[_0xa542('0xb')]);router[_0xa542('0x7')](_0xa542('0xc'),auth['isAuthenticated'](),controller[_0xa542('0xd')]);router[_0xa542('0xe')]('/',auth['isAuthenticated'](),controller['create']);router[_0xa542('0xf')](_0xa542('0xc'),auth[_0xa542('0x8')](),controller[_0xa542('0x10')]);router[_0xa542('0x11')](_0xa542('0xc'),auth[_0xa542('0x8')](),controller[_0xa542('0x12')]);module[_0xa542('0x13')]=router; \ No newline at end of file +var _0xe547=['exports','path','connect-timeout','express','Router','../../components/auth/service','../../config/environment','./userProfileResource.controller','get','isAuthenticated','index','/describe','describe','/:id','show','post','create','put','update','delete'];(function(_0x2665a3,_0x3bac99){var _0x586de6=function(_0x1034d7){while(--_0x1034d7){_0x2665a3['push'](_0x2665a3['shift']());}};_0x586de6(++_0x3bac99);}(_0xe547,0x191));var _0x7e54=function(_0x50b039,_0x46b0d6){_0x50b039=_0x50b039-0x0;var _0x1c7a66=_0xe547[_0x50b039];return _0x1c7a66;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x7e54('0x0'));var timeout=require(_0x7e54('0x1'));var express=require(_0x7e54('0x2'));var router=express[_0x7e54('0x3')]();var auth=require(_0x7e54('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x7e54('0x5'));var controller=require(_0x7e54('0x6'));router[_0x7e54('0x7')]('/',auth[_0x7e54('0x8')](),controller[_0x7e54('0x9')]);router[_0x7e54('0x7')](_0x7e54('0xa'),auth['isAuthenticated'](),controller[_0x7e54('0xb')]);router[_0x7e54('0x7')](_0x7e54('0xc'),auth[_0x7e54('0x8')](),controller[_0x7e54('0xd')]);router[_0x7e54('0xe')]('/',auth[_0x7e54('0x8')](),controller[_0x7e54('0xf')]);router[_0x7e54('0x10')](_0x7e54('0xc'),auth[_0x7e54('0x8')](),controller[_0x7e54('0x11')]);router[_0x7e54('0x12')](_0x7e54('0xc'),auth[_0x7e54('0x8')](),controller['destroy']);module[_0x7e54('0x13')]=router; \ No newline at end of file diff --git a/server/api/userProfileResource/userProfileResource.attributes.js b/server/api/userProfileResource/userProfileResource.attributes.js index 2ec0dea..b7b6b5a 100644 --- a/server/api/userProfileResource/userProfileResource.attributes.js +++ b/server/api/userProfileResource/userProfileResource.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xe2be=['sequelize','exports','STRING'];(function(_0x167cc1,_0x56ef5a){var _0x10bc4b=function(_0xd6a255){while(--_0xd6a255){_0x167cc1['push'](_0x167cc1['shift']());}};_0x10bc4b(++_0x56ef5a);}(_0xe2be,0x186));var _0xee2b=function(_0x481bf7,_0x437f69){_0x481bf7=_0x481bf7-0x0;var _0x461787=_0xe2be[_0x481bf7];return _0x461787;};'use strict';var Sequelize=require(_0xee2b('0x0'));module[_0xee2b('0x1')]={'name':{'type':Sequelize[_0xee2b('0x2')],'allowNull':![]},'resourceId':{'type':Sequelize['INTEGER'],'allowNull':![]},'type':{'type':Sequelize[_0xee2b('0x2')],'allowNull':![]}}; \ No newline at end of file +var _0xe390=['STRING','exports'];(function(_0x9862ee,_0x2abef8){var _0x22a541=function(_0x25efda){while(--_0x25efda){_0x9862ee['push'](_0x9862ee['shift']());}};_0x22a541(++_0x2abef8);}(_0xe390,0x89));var _0x0e39=function(_0x253a07,_0x37d9e8){_0x253a07=_0x253a07-0x0;var _0x25c896=_0xe390[_0x253a07];return _0x25c896;};'use strict';var Sequelize=require('sequelize');module[_0x0e39('0x0')]={'name':{'type':Sequelize[_0x0e39('0x1')],'allowNull':![]},'resourceId':{'type':Sequelize['INTEGER'],'allowNull':![]},'type':{'type':Sequelize[_0x0e39('0x1')],'allowNull':![]}}; \ No newline at end of file diff --git a/server/api/userProfileResource/userProfileResource.controller.js b/server/api/userProfileResource/userProfileResource.controller.js index ee41e05..cc882e1 100644 --- a/server/api/userProfileResource/userProfileResource.controller.js +++ b/server/api/userProfileResource/userProfileResource.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x303a=['to-csv','ejs','lodash','squel','querystring','ioredis','../../components/parsers/qs','../../config/license/hardware','../../config/logger','api','../../config/utils','../../mysqldb','sendStatus','end','status','json','count','offset','limit','set','apply','save','update','then','destroy','send','index','UserProfileResource','rawAttributes','fieldName','type','key','model','map','name','query','keys','filters','intersection','attributes','fields','length','nolimit','order','sort','where','pick','filter','VIRTUAL','merge','includeAll','include','findAll','rows','catch','params','options','find','create','body','describe','html-pdf','rimraf','zip-dir','fast-json-patch','request-promise','bluebird','mustache','util','path','sox'];(function(_0xbca1b1,_0x33f0ce){var _0x4e1686=function(_0x58a80c){while(--_0x58a80c){_0xbca1b1['push'](_0xbca1b1['shift']());}};_0x4e1686(++_0x33f0ce);}(_0x303a,0x1a0));var _0xa303=function(_0x3038be,_0x425d69){_0x3038be=_0x3038be-0x0;var _0x581d4e=_0x303a[_0x3038be];return _0x581d4e;};'use strict';var pdf=require(_0xa303('0x0'));var emlformat=require('eml-format');var rimraf=require(_0xa303('0x1'));var zipdir=require(_0xa303('0x2'));var jsonpatch=require(_0xa303('0x3'));var rp=require(_0xa303('0x4'));var moment=require('moment');var BPromise=require(_0xa303('0x5'));var Mustache=require(_0xa303('0x6'));var util=require(_0xa303('0x7'));var path=require(_0xa303('0x8'));var sox=require(_0xa303('0x9'));var csv=require(_0xa303('0xa'));var ejs=require(_0xa303('0xb'));var fs=require('fs');var _=require(_0xa303('0xc'));var squel=require(_0xa303('0xd'));var crypto=require('crypto');var jsforce=require('jsforce');var deskjs=require('desk.js');var toCsv=require(_0xa303('0xa'));var querystring=require(_0xa303('0xe'));var Papa=require('papaparse');var Redis=require(_0xa303('0xf'));var authService=require('../../components/auth/service');var qs=require(_0xa303('0x10'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0xa303('0x11'));var logger=require(_0xa303('0x12'))(_0xa303('0x13'));var utils=require(_0xa303('0x14'));var config=require('../../config/environment');var db=require(_0xa303('0x15'))['db'];function respondWithStatusCode(_0x4c0169,_0xf5df1e){_0xf5df1e=_0xf5df1e||0xcc;return function(_0x43a054){if(_0x43a054){return _0x4c0169[_0xa303('0x16')](_0xf5df1e);}return _0x4c0169['status'](_0xf5df1e)[_0xa303('0x17')]();};}function respondWithResult(_0x17d39b,_0x28cd7f){_0x28cd7f=_0x28cd7f||0xc8;return function(_0xfa522c){if(_0xfa522c){return _0x17d39b[_0xa303('0x18')](_0x28cd7f)[_0xa303('0x19')](_0xfa522c);}};}function respondWithFilteredResult(_0x475a91,_0x2d1110){return function(_0x4c8bc1){if(_0x4c8bc1){var _0x2c2939=_0x4c8bc1[_0xa303('0x1a')],_0xd2e8ee=_0x2d1110[_0xa303('0x1b')],_0x1f3ede=_0x2d1110['offset']+_0x2d1110[_0xa303('0x1c')],_0x288596;if(_0x1f3ede>=_0x2c2939){_0x1f3ede=_0x2c2939;_0x288596=0xc8;}else{_0x288596=0xce;}_0x475a91['status'](_0x288596);return _0x475a91[_0xa303('0x1d')]('Content-Range',_0xd2e8ee+'-'+_0x1f3ede+'/'+_0x2c2939)[_0xa303('0x19')](_0x4c8bc1);}return null;};}function patchUpdates(_0x5ac3ec){return function(_0x419575){try{jsonpatch[_0xa303('0x1e')](_0x419575,_0x5ac3ec,!![]);}catch(_0x1ca402){return BPromise['reject'](_0x1ca402);}return _0x419575[_0xa303('0x1f')]();};}function saveUpdates(_0x188cb6,_0x1b0566){return function(_0x59e551){if(_0x59e551){return _0x59e551[_0xa303('0x20')](_0x188cb6)[_0xa303('0x21')](function(_0x21deee){return _0x21deee;});}return null;};}function removeEntity(_0x904261,_0x54b173){return function(_0x14f9ab){if(_0x14f9ab){return _0x14f9ab[_0xa303('0x22')]()['then'](function(){_0x904261[_0xa303('0x18')](0xcc)[_0xa303('0x17')]();});}};}function handleEntityNotFound(_0x25db9c,_0x122d1e){return function(_0x65ab0e){if(!_0x65ab0e){_0x25db9c[_0xa303('0x16')](0x194);}return _0x65ab0e;};}function handleError(_0x3d3d8a,_0x5d9dee){_0x5d9dee=_0x5d9dee||0x1f4;return function(_0x35d287){logger['error'](_0x35d287['stack']);if(_0x35d287['name']){delete _0x35d287['name'];}_0x3d3d8a['status'](_0x5d9dee)[_0xa303('0x23')](_0x35d287);};}exports[_0xa303('0x24')]=function(_0x3680fb,_0xbb93f0){var _0x94d3e4={},_0x48e79f={},_0x2d1341={'count':0x0,'rows':[]};var _0xb35c22=_['map'](db[_0xa303('0x25')][_0xa303('0x26')],function(_0x355025){return{'name':_0x355025[_0xa303('0x27')],'type':_0x355025[_0xa303('0x28')][_0xa303('0x29')]};});_0x48e79f[_0xa303('0x2a')]=_[_0xa303('0x2b')](_0xb35c22,_0xa303('0x2c'));_0x48e79f[_0xa303('0x2d')]=_[_0xa303('0x2e')](_0x3680fb[_0xa303('0x2d')]);_0x48e79f[_0xa303('0x2f')]=_[_0xa303('0x30')](_0x48e79f[_0xa303('0x2a')],_0x48e79f[_0xa303('0x2d')]);_0x94d3e4[_0xa303('0x31')]=_['intersection'](_0x48e79f['model'],qs[_0xa303('0x32')](_0x3680fb[_0xa303('0x2d')][_0xa303('0x32')]));_0x94d3e4[_0xa303('0x31')]=_0x94d3e4['attributes'][_0xa303('0x33')]?_0x94d3e4[_0xa303('0x31')]:_0x48e79f[_0xa303('0x2a')];if(!_0x3680fb[_0xa303('0x2d')]['hasOwnProperty'](_0xa303('0x34'))){_0x94d3e4[_0xa303('0x1c')]=qs[_0xa303('0x1c')](_0x3680fb['query'][_0xa303('0x1c')]);_0x94d3e4[_0xa303('0x1b')]=qs[_0xa303('0x1b')](_0x3680fb['query'][_0xa303('0x1b')]);}_0x94d3e4[_0xa303('0x35')]=qs[_0xa303('0x36')](_0x3680fb['query'][_0xa303('0x36')]);_0x94d3e4[_0xa303('0x37')]=qs[_0xa303('0x2f')](_[_0xa303('0x38')](_0x3680fb['query'],_0x48e79f[_0xa303('0x2f')]),_0xb35c22);if(_0x3680fb[_0xa303('0x2d')][_0xa303('0x39')]){_0x94d3e4[_0xa303('0x37')]=_['merge'](_0x94d3e4[_0xa303('0x37')],{'$or':_[_0xa303('0x2b')](_0xb35c22,function(_0x22da2d){if(_0x22da2d[_0xa303('0x28')]!==_0xa303('0x3a')){var _0x490da1={};_0x490da1[_0x22da2d['name']]={'$like':'%'+_0x3680fb[_0xa303('0x2d')][_0xa303('0x39')]+'%'};return _0x490da1;}})});}_0x94d3e4=_[_0xa303('0x3b')]({},_0x94d3e4,_0x3680fb['options']);var _0x5ec4e4={'where':_0x94d3e4[_0xa303('0x37')]};return db[_0xa303('0x25')][_0xa303('0x1a')](_0x5ec4e4)[_0xa303('0x21')](function(_0x569158){_0x2d1341['count']=_0x569158;if(_0x3680fb[_0xa303('0x2d')][_0xa303('0x3c')]){_0x94d3e4[_0xa303('0x3d')]=[{'all':!![]}];}return db[_0xa303('0x25')][_0xa303('0x3e')](_0x94d3e4);})['then'](function(_0x133c17){_0x2d1341[_0xa303('0x3f')]=_0x133c17;return _0x2d1341;})[_0xa303('0x21')](respondWithFilteredResult(_0xbb93f0,_0x94d3e4))[_0xa303('0x40')](handleError(_0xbb93f0,null));};exports['show']=function(_0x4dadff,_0x581d50){var _0x1805f6={'raw':![],'where':{'id':_0x4dadff[_0xa303('0x41')]['id']}},_0x253220={};_0x253220[_0xa303('0x2a')]=_[_0xa303('0x2e')](db[_0xa303('0x25')][_0xa303('0x26')]);_0x253220[_0xa303('0x2d')]=_[_0xa303('0x2e')](_0x4dadff[_0xa303('0x2d')]);_0x253220[_0xa303('0x2f')]=_['intersection'](_0x253220['model'],_0x253220[_0xa303('0x2d')]);_0x1805f6['attributes']=_[_0xa303('0x30')](_0x253220['model'],qs[_0xa303('0x32')](_0x4dadff[_0xa303('0x2d')][_0xa303('0x32')]));_0x1805f6[_0xa303('0x31')]=_0x1805f6[_0xa303('0x31')][_0xa303('0x33')]?_0x1805f6[_0xa303('0x31')]:_0x253220[_0xa303('0x2a')];if(_0x4dadff[_0xa303('0x2d')][_0xa303('0x3c')]){_0x1805f6[_0xa303('0x3d')]=[{'all':!![]}];}_0x1805f6=_[_0xa303('0x3b')]({},_0x1805f6,_0x4dadff[_0xa303('0x42')]);return db['UserProfileResource'][_0xa303('0x43')](_0x1805f6)['then'](handleEntityNotFound(_0x581d50,null))[_0xa303('0x21')](respondWithResult(_0x581d50,null))[_0xa303('0x40')](handleError(_0x581d50,null));};exports[_0xa303('0x44')]=function(_0x50ad32,_0x5f3bc0){return db[_0xa303('0x25')][_0xa303('0x44')](_0x50ad32[_0xa303('0x45')],{})[_0xa303('0x21')](respondWithResult(_0x5f3bc0,0xc9))[_0xa303('0x40')](handleError(_0x5f3bc0,null));};exports[_0xa303('0x20')]=function(_0x2f9f0b,_0x3572e1){if(_0x2f9f0b[_0xa303('0x45')]['id']){delete _0x2f9f0b[_0xa303('0x45')]['id'];}return db['UserProfileResource'][_0xa303('0x43')]({'where':{'id':_0x2f9f0b[_0xa303('0x41')]['id']}})['then'](handleEntityNotFound(_0x3572e1,null))[_0xa303('0x21')](saveUpdates(_0x2f9f0b['body'],null))[_0xa303('0x21')](respondWithResult(_0x3572e1,null))[_0xa303('0x40')](handleError(_0x3572e1,null));};exports[_0xa303('0x22')]=function(_0x3fd1be,_0x5a6da0){return db[_0xa303('0x25')][_0xa303('0x43')]({'where':{'id':_0x3fd1be[_0xa303('0x41')]['id']}})[_0xa303('0x21')](handleEntityNotFound(_0x5a6da0,null))[_0xa303('0x21')](removeEntity(_0x5a6da0,null))[_0xa303('0x40')](handleError(_0x5a6da0,null));};exports['describe']=function(_0x1a8bc0,_0x3b584e){return db[_0xa303('0x25')][_0xa303('0x46')]()['then'](respondWithResult(_0x3b584e,null))['catch'](handleError(_0x3b584e,null));}; \ No newline at end of file +var _0x0fda=['index','map','UserProfileResource','rawAttributes','fieldName','type','key','model','query','keys','filters','fields','attributes','length','hasOwnProperty','nolimit','order','sort','where','filter','merge','VIRTUAL','options','includeAll','include','findAll','rows','catch','show','intersection','find','create','body','update','params','describe','html-pdf','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','mustache','sox','lodash','squel','crypto','jsforce','to-csv','querystring','papaparse','ioredis','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','api','../../config/utils','../../config/environment','../../mysqldb','sendStatus','status','json','count','offset','limit','set','apply','reject','save','then','destroy','end','stack','name','send'];(function(_0xa4fdfe,_0x16ed68){var _0x525496=function(_0x193cc8){while(--_0x193cc8){_0xa4fdfe['push'](_0xa4fdfe['shift']());}};_0x525496(++_0x16ed68);}(_0x0fda,0x1a0));var _0xa0fd=function(_0x3506aa,_0x52118d){_0x3506aa=_0x3506aa-0x0;var _0x3c9917=_0x0fda[_0x3506aa];return _0x3c9917;};'use strict';var pdf=require(_0xa0fd('0x0'));var emlformat=require('eml-format');var rimraf=require(_0xa0fd('0x1'));var zipdir=require(_0xa0fd('0x2'));var jsonpatch=require(_0xa0fd('0x3'));var rp=require(_0xa0fd('0x4'));var moment=require(_0xa0fd('0x5'));var BPromise=require(_0xa0fd('0x6'));var Mustache=require(_0xa0fd('0x7'));var util=require('util');var path=require('path');var sox=require(_0xa0fd('0x8'));var csv=require('to-csv');var ejs=require('ejs');var fs=require('fs');var _=require(_0xa0fd('0x9'));var squel=require(_0xa0fd('0xa'));var crypto=require(_0xa0fd('0xb'));var jsforce=require(_0xa0fd('0xc'));var deskjs=require('desk.js');var toCsv=require(_0xa0fd('0xd'));var querystring=require(_0xa0fd('0xe'));var Papa=require(_0xa0fd('0xf'));var Redis=require(_0xa0fd('0x10'));var authService=require('../../components/auth/service');var qs=require(_0xa0fd('0x11'));var as=require(_0xa0fd('0x12'));var hardwareService=require(_0xa0fd('0x13'));var logger=require('../../config/logger')(_0xa0fd('0x14'));var utils=require(_0xa0fd('0x15'));var config=require(_0xa0fd('0x16'));var db=require(_0xa0fd('0x17'))['db'];function respondWithStatusCode(_0x455457,_0x4d5c32){_0x4d5c32=_0x4d5c32||0xcc;return function(_0x490112){if(_0x490112){return _0x455457[_0xa0fd('0x18')](_0x4d5c32);}return _0x455457[_0xa0fd('0x19')](_0x4d5c32)['end']();};}function respondWithResult(_0x21acc2,_0x8a67a5){_0x8a67a5=_0x8a67a5||0xc8;return function(_0x11e4eb){if(_0x11e4eb){return _0x21acc2[_0xa0fd('0x19')](_0x8a67a5)[_0xa0fd('0x1a')](_0x11e4eb);}};}function respondWithFilteredResult(_0x2e3692,_0x2811c0){return function(_0x4fe62c){if(_0x4fe62c){var _0x1c6ffc=_0x4fe62c[_0xa0fd('0x1b')],_0x326ba8=_0x2811c0[_0xa0fd('0x1c')],_0x5605ae=_0x2811c0['offset']+_0x2811c0[_0xa0fd('0x1d')],_0x50aa6d;if(_0x5605ae>=_0x1c6ffc){_0x5605ae=_0x1c6ffc;_0x50aa6d=0xc8;}else{_0x50aa6d=0xce;}_0x2e3692[_0xa0fd('0x19')](_0x50aa6d);return _0x2e3692[_0xa0fd('0x1e')]('Content-Range',_0x326ba8+'-'+_0x5605ae+'/'+_0x1c6ffc)['json'](_0x4fe62c);}return null;};}function patchUpdates(_0x46e15a){return function(_0x558109){try{jsonpatch[_0xa0fd('0x1f')](_0x558109,_0x46e15a,!![]);}catch(_0x2de471){return BPromise[_0xa0fd('0x20')](_0x2de471);}return _0x558109[_0xa0fd('0x21')]();};}function saveUpdates(_0x263591,_0x2273f4){return function(_0x113059){if(_0x113059){return _0x113059['update'](_0x263591)[_0xa0fd('0x22')](function(_0x24cfe9){return _0x24cfe9;});}return null;};}function removeEntity(_0x701d7,_0x18eaa8){return function(_0x26e3a4){if(_0x26e3a4){return _0x26e3a4[_0xa0fd('0x23')]()[_0xa0fd('0x22')](function(){_0x701d7[_0xa0fd('0x19')](0xcc)[_0xa0fd('0x24')]();});}};}function handleEntityNotFound(_0x13fc62,_0x28dbda){return function(_0x310279){if(!_0x310279){_0x13fc62[_0xa0fd('0x18')](0x194);}return _0x310279;};}function handleError(_0x54cacc,_0x37177b){_0x37177b=_0x37177b||0x1f4;return function(_0x39d8e5){logger['error'](_0x39d8e5[_0xa0fd('0x25')]);if(_0x39d8e5[_0xa0fd('0x26')]){delete _0x39d8e5['name'];}_0x54cacc['status'](_0x37177b)[_0xa0fd('0x27')](_0x39d8e5);};}exports[_0xa0fd('0x28')]=function(_0x4d2c96,_0x5c70fb){var _0x5b50c0={},_0x58b786={},_0x11d7f1={'count':0x0,'rows':[]};var _0x5ef13e=_[_0xa0fd('0x29')](db[_0xa0fd('0x2a')][_0xa0fd('0x2b')],function(_0x4a307b){return{'name':_0x4a307b[_0xa0fd('0x2c')],'type':_0x4a307b[_0xa0fd('0x2d')][_0xa0fd('0x2e')]};});_0x58b786[_0xa0fd('0x2f')]=_[_0xa0fd('0x29')](_0x5ef13e,'name');_0x58b786[_0xa0fd('0x30')]=_[_0xa0fd('0x31')](_0x4d2c96[_0xa0fd('0x30')]);_0x58b786[_0xa0fd('0x32')]=_['intersection'](_0x58b786[_0xa0fd('0x2f')],_0x58b786[_0xa0fd('0x30')]);_0x5b50c0['attributes']=_['intersection'](_0x58b786['model'],qs[_0xa0fd('0x33')](_0x4d2c96['query']['fields']));_0x5b50c0[_0xa0fd('0x34')]=_0x5b50c0['attributes'][_0xa0fd('0x35')]?_0x5b50c0[_0xa0fd('0x34')]:_0x58b786[_0xa0fd('0x2f')];if(!_0x4d2c96[_0xa0fd('0x30')][_0xa0fd('0x36')](_0xa0fd('0x37'))){_0x5b50c0[_0xa0fd('0x1d')]=qs[_0xa0fd('0x1d')](_0x4d2c96['query'][_0xa0fd('0x1d')]);_0x5b50c0['offset']=qs[_0xa0fd('0x1c')](_0x4d2c96['query']['offset']);}_0x5b50c0[_0xa0fd('0x38')]=qs['sort'](_0x4d2c96[_0xa0fd('0x30')][_0xa0fd('0x39')]);_0x5b50c0[_0xa0fd('0x3a')]=qs[_0xa0fd('0x32')](_['pick'](_0x4d2c96[_0xa0fd('0x30')],_0x58b786[_0xa0fd('0x32')]),_0x5ef13e);if(_0x4d2c96[_0xa0fd('0x30')][_0xa0fd('0x3b')]){_0x5b50c0[_0xa0fd('0x3a')]=_[_0xa0fd('0x3c')](_0x5b50c0[_0xa0fd('0x3a')],{'$or':_['map'](_0x5ef13e,function(_0x5f12ac){if(_0x5f12ac[_0xa0fd('0x2d')]!==_0xa0fd('0x3d')){var _0x283740={};_0x283740[_0x5f12ac[_0xa0fd('0x26')]]={'$like':'%'+_0x4d2c96['query'][_0xa0fd('0x3b')]+'%'};return _0x283740;}})});}_0x5b50c0=_[_0xa0fd('0x3c')]({},_0x5b50c0,_0x4d2c96[_0xa0fd('0x3e')]);var _0x426ae6={'where':_0x5b50c0[_0xa0fd('0x3a')]};return db['UserProfileResource'][_0xa0fd('0x1b')](_0x426ae6)[_0xa0fd('0x22')](function(_0x558f67){_0x11d7f1['count']=_0x558f67;if(_0x4d2c96[_0xa0fd('0x30')][_0xa0fd('0x3f')]){_0x5b50c0[_0xa0fd('0x40')]=[{'all':!![]}];}return db[_0xa0fd('0x2a')][_0xa0fd('0x41')](_0x5b50c0);})[_0xa0fd('0x22')](function(_0x41b390){_0x11d7f1[_0xa0fd('0x42')]=_0x41b390;return _0x11d7f1;})[_0xa0fd('0x22')](respondWithFilteredResult(_0x5c70fb,_0x5b50c0))[_0xa0fd('0x43')](handleError(_0x5c70fb,null));};exports[_0xa0fd('0x44')]=function(_0x1c9bba,_0x16120b){var _0x466767={'raw':![],'where':{'id':_0x1c9bba['params']['id']}},_0x3422c3={};_0x3422c3['model']=_['keys'](db[_0xa0fd('0x2a')][_0xa0fd('0x2b')]);_0x3422c3[_0xa0fd('0x30')]=_['keys'](_0x1c9bba[_0xa0fd('0x30')]);_0x3422c3[_0xa0fd('0x32')]=_[_0xa0fd('0x45')](_0x3422c3['model'],_0x3422c3[_0xa0fd('0x30')]);_0x466767[_0xa0fd('0x34')]=_[_0xa0fd('0x45')](_0x3422c3[_0xa0fd('0x2f')],qs[_0xa0fd('0x33')](_0x1c9bba[_0xa0fd('0x30')]['fields']));_0x466767[_0xa0fd('0x34')]=_0x466767[_0xa0fd('0x34')][_0xa0fd('0x35')]?_0x466767[_0xa0fd('0x34')]:_0x3422c3[_0xa0fd('0x2f')];if(_0x1c9bba[_0xa0fd('0x30')]['includeAll']){_0x466767[_0xa0fd('0x40')]=[{'all':!![]}];}_0x466767=_[_0xa0fd('0x3c')]({},_0x466767,_0x1c9bba[_0xa0fd('0x3e')]);return db[_0xa0fd('0x2a')][_0xa0fd('0x46')](_0x466767)['then'](handleEntityNotFound(_0x16120b,null))['then'](respondWithResult(_0x16120b,null))[_0xa0fd('0x43')](handleError(_0x16120b,null));};exports[_0xa0fd('0x47')]=function(_0x3677c1,_0x391ea9){return db[_0xa0fd('0x2a')]['create'](_0x3677c1[_0xa0fd('0x48')],{})[_0xa0fd('0x22')](respondWithResult(_0x391ea9,0xc9))[_0xa0fd('0x43')](handleError(_0x391ea9,null));};exports[_0xa0fd('0x49')]=function(_0x93d528,_0x22504a){if(_0x93d528['body']['id']){delete _0x93d528['body']['id'];}return db['UserProfileResource'][_0xa0fd('0x46')]({'where':{'id':_0x93d528['params']['id']}})['then'](handleEntityNotFound(_0x22504a,null))[_0xa0fd('0x22')](saveUpdates(_0x93d528['body'],null))[_0xa0fd('0x22')](respondWithResult(_0x22504a,null))[_0xa0fd('0x43')](handleError(_0x22504a,null));};exports['destroy']=function(_0x4abff8,_0x213e67){return db[_0xa0fd('0x2a')][_0xa0fd('0x46')]({'where':{'id':_0x4abff8[_0xa0fd('0x4a')]['id']}})[_0xa0fd('0x22')](handleEntityNotFound(_0x213e67,null))[_0xa0fd('0x22')](removeEntity(_0x213e67,null))['catch'](handleError(_0x213e67,null));};exports['describe']=function(_0x50382c,_0x59742b){return db[_0xa0fd('0x2a')][_0xa0fd('0x4b')]()[_0xa0fd('0x22')](respondWithResult(_0x59742b,null))[_0xa0fd('0x43')](handleError(_0x59742b,null));}; \ No newline at end of file diff --git a/server/api/userProfileResource/userProfileResource.model.js b/server/api/userProfileResource/userProfileResource.model.js index aadadce..b0be7a5 100644 --- a/server/api/userProfileResource/userProfileResource.model.js +++ b/server/api/userProfileResource/userProfileResource.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x1cd3=['UserProfileResource','user_profile_has_resources','compositeIndex','resourceId','sectionId','lodash','util','../../config/logger','api','bluebird','request-promise','path','rimraf','../../config/environment','exports','define'];(function(_0x23904e,_0x274e2d){var _0x2fa250=function(_0x12de6d){while(--_0x12de6d){_0x23904e['push'](_0x23904e['shift']());}};_0x2fa250(++_0x274e2d);}(_0x1cd3,0x115));var _0x31cd=function(_0x4a708c,_0x4e16e1){_0x4a708c=_0x4a708c-0x0;var _0xeb8bd3=_0x1cd3[_0x4a708c];return _0xeb8bd3;};'use strict';var _=require(_0x31cd('0x0'));var util=require(_0x31cd('0x1'));var logger=require(_0x31cd('0x2'))(_0x31cd('0x3'));var moment=require('moment');var BPromise=require(_0x31cd('0x4'));var rp=require(_0x31cd('0x5'));var fs=require('fs');var path=require(_0x31cd('0x6'));var rimraf=require(_0x31cd('0x7'));var config=require(_0x31cd('0x8'));var attributes=require('./userProfileResource.attributes');module[_0x31cd('0x9')]=function(_0x98ca9a,_0x3add2f){return _0x98ca9a[_0x31cd('0xa')](_0x31cd('0xb'),attributes,{'tableName':_0x31cd('0xc'),'paranoid':![],'indexes':[{'name':_0x31cd('0xd'),'fields':[_0x31cd('0xe'),_0x31cd('0xf')]}],'timestamps':!![]});}; \ No newline at end of file +var _0xdac0=['sectionId','lodash','util','../../config/logger','moment','bluebird','path','rimraf','../../config/environment','./userProfileResource.attributes','exports','define','user_profile_has_resources','compositeIndex'];(function(_0x52cdf7,_0x4fb35e){var _0x262c6b=function(_0x4d4fc1){while(--_0x4d4fc1){_0x52cdf7['push'](_0x52cdf7['shift']());}};_0x262c6b(++_0x4fb35e);}(_0xdac0,0x7f));var _0x0dac=function(_0x3a2349,_0x52c861){_0x3a2349=_0x3a2349-0x0;var _0x2bad2b=_0xdac0[_0x3a2349];return _0x2bad2b;};'use strict';var _=require(_0x0dac('0x0'));var util=require(_0x0dac('0x1'));var logger=require(_0x0dac('0x2'))('api');var moment=require(_0x0dac('0x3'));var BPromise=require(_0x0dac('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x0dac('0x5'));var rimraf=require(_0x0dac('0x6'));var config=require(_0x0dac('0x7'));var attributes=require(_0x0dac('0x8'));module[_0x0dac('0x9')]=function(_0x19fd15,_0x4994d7){return _0x19fd15[_0x0dac('0xa')]('UserProfileResource',attributes,{'tableName':_0x0dac('0xb'),'paranoid':![],'indexes':[{'name':_0x0dac('0xc'),'fields':['resourceId',_0x0dac('0xd')]}],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/userProfileResource/userProfileResource.rpc.js b/server/api/userProfileResource/userProfileResource.rpc.js index 4568d66..9c62351 100644 --- a/server/api/userProfileResource/userProfileResource.rpc.js +++ b/server/api/userProfileResource/userProfileResource.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x78c6=['UserProfileResource,\x20%s,\x20%s,\x20%s','stringify','error','code','message','result','catch','lodash','util','moment','bluebird','randomstring','../../mysqldb','../../config/utils','../../config/logger','rpc','jayson/promise','client','request','then','info','UserProfileResource,\x20%s,\x20%s','request\x20sent','debug'];(function(_0x556e75,_0x244403){var _0xd46094=function(_0x164334){while(--_0x164334){_0x556e75['push'](_0x556e75['shift']());}};_0xd46094(++_0x244403);}(_0x78c6,0x19f));var _0x678c=function(_0x5595ff,_0x22b719){_0x5595ff=_0x5595ff-0x0;var _0x55b161=_0x78c6[_0x5595ff];return _0x55b161;};'use strict';var _=require(_0x678c('0x0'));var util=require(_0x678c('0x1'));var moment=require(_0x678c('0x2'));var BPromise=require(_0x678c('0x3'));var rs=require(_0x678c('0x4'));var fs=require('fs');var Redis=require('ioredis');var db=require(_0x678c('0x5'))['db'];var utils=require(_0x678c('0x6'));var logger=require(_0x678c('0x7'))(_0x678c('0x8'));var config=require('../../config/environment');var jayson=require(_0x678c('0x9'));var client=jayson[_0x678c('0xa')]['http']({'port':0x232a});function respondWithRpcPromise(_0x15b488,_0x4cac99,_0x33491c){return new BPromise(function(_0x28d3ae,_0xeb45d){return client[_0x678c('0xb')](_0x15b488,_0x33491c)[_0x678c('0xc')](function(_0xc713c3){logger[_0x678c('0xd')](_0x678c('0xe'),_0x4cac99,_0x678c('0xf'));logger[_0x678c('0x10')](_0x678c('0x11'),_0x4cac99,_0x678c('0xf'),JSON[_0x678c('0x12')](_0xc713c3));if(_0xc713c3[_0x678c('0x13')]){if(_0xc713c3[_0x678c('0x13')][_0x678c('0x14')]===0x1f4){logger['error'](_0x678c('0xe'),_0x4cac99,_0xc713c3[_0x678c('0x13')][_0x678c('0x15')]);return _0xeb45d(_0xc713c3['error']['message']);}logger[_0x678c('0x13')](_0x678c('0xe'),_0x4cac99,_0xc713c3[_0x678c('0x13')]['message']);return _0x28d3ae(_0xc713c3[_0x678c('0x13')]['message']);}else{logger[_0x678c('0xd')](_0x678c('0xe'),_0x4cac99,'request\x20sent');_0x28d3ae(_0xc713c3[_0x678c('0x16')][_0x678c('0x15')]);}})[_0x678c('0x17')](function(_0x40cd04){logger[_0x678c('0x13')](_0x678c('0xe'),_0x4cac99,_0x40cd04);_0xeb45d(_0x40cd04);});});} \ No newline at end of file +var _0x6736=['info','result','catch','lodash','util','moment','ioredis','../../mysqldb','../../config/utils','../../config/logger','rpc','jayson/promise','UserProfileResource,\x20%s,\x20%s','debug','UserProfileResource,\x20%s,\x20%s,\x20%s','request\x20sent','stringify','error','code','message'];(function(_0x862119,_0x306a17){var _0x5e7ce5=function(_0x15c300){while(--_0x15c300){_0x862119['push'](_0x862119['shift']());}};_0x5e7ce5(++_0x306a17);}(_0x6736,0xdf));var _0x6673=function(_0x35d0ce,_0x42a5b6){_0x35d0ce=_0x35d0ce-0x0;var _0x16eb18=_0x6736[_0x35d0ce];return _0x16eb18;};'use strict';var _=require(_0x6673('0x0'));var util=require(_0x6673('0x1'));var moment=require(_0x6673('0x2'));var BPromise=require('bluebird');var rs=require('randomstring');var fs=require('fs');var Redis=require(_0x6673('0x3'));var db=require(_0x6673('0x4'))['db'];var utils=require(_0x6673('0x5'));var logger=require(_0x6673('0x6'))(_0x6673('0x7'));var config=require('../../config/environment');var jayson=require(_0x6673('0x8'));var client=jayson['client']['http']({'port':0x232a});function respondWithRpcPromise(_0x2f1502,_0xa13ce2,_0x5a4457){return new BPromise(function(_0x1cf648,_0x35529c){return client['request'](_0x2f1502,_0x5a4457)['then'](function(_0x72f0a3){logger['info'](_0x6673('0x9'),_0xa13ce2,'request\x20sent');logger[_0x6673('0xa')](_0x6673('0xb'),_0xa13ce2,_0x6673('0xc'),JSON[_0x6673('0xd')](_0x72f0a3));if(_0x72f0a3[_0x6673('0xe')]){if(_0x72f0a3[_0x6673('0xe')][_0x6673('0xf')]===0x1f4){logger[_0x6673('0xe')](_0x6673('0x9'),_0xa13ce2,_0x72f0a3[_0x6673('0xe')][_0x6673('0x10')]);return _0x35529c(_0x72f0a3[_0x6673('0xe')][_0x6673('0x10')]);}logger[_0x6673('0xe')]('UserProfileResource,\x20%s,\x20%s',_0xa13ce2,_0x72f0a3[_0x6673('0xe')]['message']);return _0x1cf648(_0x72f0a3['error'][_0x6673('0x10')]);}else{logger[_0x6673('0x11')](_0x6673('0x9'),_0xa13ce2,_0x6673('0xc'));_0x1cf648(_0x72f0a3[_0x6673('0x12')][_0x6673('0x10')]);}})[_0x6673('0x13')](function(_0x4c704e){logger[_0x6673('0xe')](_0x6673('0x9'),_0xa13ce2,_0x4c704e);_0x35529c(_0x4c704e);});});} \ No newline at end of file diff --git a/server/api/userProfileSection/index.js b/server/api/userProfileSection/index.js index 717730b..2b86082 100644 --- a/server/api/userProfileSection/index.js +++ b/server/api/userProfileSection/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xd594=['delete','multer','util','path','express','Router','../../components/auth/service','../../config/environment','./userProfileSection.controller','get','index','/describe','isAuthenticated','/:id','create','put','update'];(function(_0x3ae2b2,_0x2d936f){var _0x1dbf00=function(_0x4072e9){while(--_0x4072e9){_0x3ae2b2['push'](_0x3ae2b2['shift']());}};_0x1dbf00(++_0x2d936f);}(_0xd594,0xab));var _0x4d59=function(_0x17398a,_0x28c0d0){_0x17398a=_0x17398a-0x0;var _0x32bff5=_0xd594[_0x17398a];return _0x32bff5;};'use strict';var multer=require(_0x4d59('0x0'));var util=require(_0x4d59('0x1'));var path=require(_0x4d59('0x2'));var timeout=require('connect-timeout');var express=require(_0x4d59('0x3'));var router=express[_0x4d59('0x4')]();var auth=require(_0x4d59('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x4d59('0x6'));var controller=require(_0x4d59('0x7'));router[_0x4d59('0x8')]('/',auth['isAuthenticated'](),controller[_0x4d59('0x9')]);router[_0x4d59('0x8')](_0x4d59('0xa'),auth[_0x4d59('0xb')](),controller['describe']);router[_0x4d59('0x8')](_0x4d59('0xc'),auth[_0x4d59('0xb')](),controller['show']);router['post']('/',auth[_0x4d59('0xb')](),controller[_0x4d59('0xd')]);router[_0x4d59('0xe')](_0x4d59('0xc'),auth[_0x4d59('0xb')](),controller[_0x4d59('0xf')]);router[_0x4d59('0x10')](_0x4d59('0xc'),auth[_0x4d59('0xb')](),controller['destroy']);module['exports']=router; \ No newline at end of file +var _0xe725=['post','create','put','update','delete','multer','connect-timeout','express','../../components/auth/service','../../components/interaction/service','./userProfileSection.controller','get','isAuthenticated','/describe','describe','/:id'];(function(_0x52ad3c,_0x59a853){var _0x18cade=function(_0x470a3d){while(--_0x470a3d){_0x52ad3c['push'](_0x52ad3c['shift']());}};_0x18cade(++_0x59a853);}(_0xe725,0x165));var _0x5e72=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xe725[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require(_0x5e72('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x5e72('0x1'));var express=require(_0x5e72('0x2'));var router=express['Router']();var auth=require(_0x5e72('0x3'));var interaction=require(_0x5e72('0x4'));var config=require('../../config/environment');var controller=require(_0x5e72('0x5'));router[_0x5e72('0x6')]('/',auth[_0x5e72('0x7')](),controller['index']);router[_0x5e72('0x6')](_0x5e72('0x8'),auth[_0x5e72('0x7')](),controller[_0x5e72('0x9')]);router[_0x5e72('0x6')](_0x5e72('0xa'),auth[_0x5e72('0x7')](),controller['show']);router[_0x5e72('0xb')]('/',auth['isAuthenticated'](),controller[_0x5e72('0xc')]);router[_0x5e72('0xd')](_0x5e72('0xa'),auth[_0x5e72('0x7')](),controller[_0x5e72('0xe')]);router[_0x5e72('0xf')](_0x5e72('0xa'),auth['isAuthenticated'](),controller['destroy']);module['exports']=router; \ No newline at end of file diff --git a/server/api/userProfileSection/userProfileSection.attributes.js b/server/api/userProfileSection/userProfileSection.attributes.js index eb6a2ec..0ae47f2 100644 --- a/server/api/userProfileSection/userProfileSection.attributes.js +++ b/server/api/userProfileSection/userProfileSection.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xbdd7=['INTEGER','BOOLEAN','setDataValue','crudPermissions','join','getDataValue','split','sequelize','exports','STRING'];(function(_0x469678,_0x59a005){var _0x2278b4=function(_0xe9b3d7){while(--_0xe9b3d7){_0x469678['push'](_0x469678['shift']());}};_0x2278b4(++_0x59a005);}(_0xbdd7,0xed));var _0x7bdd=function(_0x501510,_0x61caa9){_0x501510=_0x501510-0x0;var _0x1e6ee5=_0xbdd7[_0x501510];return _0x1e6ee5;};'use strict';var Sequelize=require(_0x7bdd('0x0'));module[_0x7bdd('0x1')]={'name':{'type':Sequelize[_0x7bdd('0x2')],'allowNull':![]},'category':{'type':Sequelize['STRING'],'allowNull':![]},'sectionId':{'type':Sequelize[_0x7bdd('0x3')],'allowNull':![]},'enabled':{'type':Sequelize['BOOLEAN'],'defaultValue':null},'autoAssociation':{'type':Sequelize[_0x7bdd('0x4')],'defaultValue':null},'crudPermissions':{'type':Sequelize['STRING'],'set':function(_0xe29fd3){this[_0x7bdd('0x5')](_0x7bdd('0x6'),_0xe29fd3?_0xe29fd3[_0x7bdd('0x7')](''):[]);},'get':function(){return this['getDataValue'](_0x7bdd('0x6'))?this[_0x7bdd('0x8')](_0x7bdd('0x6'))[_0x7bdd('0x9')](''):[];}}}; \ No newline at end of file +var _0x8e63=['crudPermissions','join','getDataValue','split','exports','INTEGER','BOOLEAN','setDataValue'];(function(_0x418ca7,_0x2f4468){var _0x235d6a=function(_0x86cbb2){while(--_0x86cbb2){_0x418ca7['push'](_0x418ca7['shift']());}};_0x235d6a(++_0x2f4468);}(_0x8e63,0x7c));var _0x38e6=function(_0x24b7ff,_0x7a7d11){_0x24b7ff=_0x24b7ff-0x0;var _0xb030c6=_0x8e63[_0x24b7ff];return _0xb030c6;};'use strict';var Sequelize=require('sequelize');module[_0x38e6('0x0')]={'name':{'type':Sequelize['STRING'],'allowNull':![]},'category':{'type':Sequelize['STRING'],'allowNull':![]},'sectionId':{'type':Sequelize[_0x38e6('0x1')],'allowNull':![]},'enabled':{'type':Sequelize[_0x38e6('0x2')],'defaultValue':null},'autoAssociation':{'type':Sequelize[_0x38e6('0x2')],'defaultValue':null},'crudPermissions':{'type':Sequelize['STRING'],'set':function(_0x4c85e7){this[_0x38e6('0x3')](_0x38e6('0x4'),_0x4c85e7?_0x4c85e7[_0x38e6('0x5')](''):[]);},'get':function(){return this['getDataValue'](_0x38e6('0x4'))?this[_0x38e6('0x6')](_0x38e6('0x4'))[_0x38e6('0x7')](''):[];}}}; \ No newline at end of file diff --git a/server/api/userProfileSection/userProfileSection.controller.js b/server/api/userProfileSection/userProfileSection.controller.js index d4ae35a..b853034 100644 --- a/server/api/userProfileSection/userProfileSection.controller.js +++ b/server/api/userProfileSection/userProfileSection.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xf9fd=['ejs','squel','crypto','desk.js','papaparse','ioredis','../../components/auth/service','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','status','end','json','offset','limit','Content-Range','apply','reject','save','update','destroy','then','sendStatus','error','stack','name','index','map','UserProfileSection','fieldName','type','model','query','keys','intersection','attributes','fields','hasOwnProperty','order','sort','where','filters','pick','merge','VIRTUAL','filter','options','count','includeAll','include','findAll','rows','catch','rawAttributes','length','find','create','body','params','describe','html-pdf','eml-format','rimraf','fast-json-patch','request-promise','bluebird','path','to-csv'];(function(_0x1e20b9,_0x3e8739){var _0x20479b=function(_0x2725fc){while(--_0x2725fc){_0x1e20b9['push'](_0x1e20b9['shift']());}};_0x20479b(++_0x3e8739);}(_0xf9fd,0x118));var _0xdf9f=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0xf9fd[_0x14add3];return _0x4a174f;};'use strict';var pdf=require(_0xdf9f('0x0'));var emlformat=require(_0xdf9f('0x1'));var rimraf=require(_0xdf9f('0x2'));var zipdir=require('zip-dir');var jsonpatch=require(_0xdf9f('0x3'));var rp=require(_0xdf9f('0x4'));var moment=require('moment');var BPromise=require(_0xdf9f('0x5'));var Mustache=require('mustache');var util=require('util');var path=require(_0xdf9f('0x6'));var sox=require('sox');var csv=require(_0xdf9f('0x7'));var ejs=require(_0xdf9f('0x8'));var fs=require('fs');var _=require('lodash');var squel=require(_0xdf9f('0x9'));var crypto=require(_0xdf9f('0xa'));var jsforce=require('jsforce');var deskjs=require(_0xdf9f('0xb'));var toCsv=require(_0xdf9f('0x7'));var querystring=require('querystring');var Papa=require(_0xdf9f('0xc'));var Redis=require(_0xdf9f('0xd'));var authService=require(_0xdf9f('0xe'));var qs=require('../../components/parsers/qs');var as=require(_0xdf9f('0xf'));var hardwareService=require(_0xdf9f('0x10'));var logger=require(_0xdf9f('0x11'))(_0xdf9f('0x12'));var utils=require(_0xdf9f('0x13'));var config=require(_0xdf9f('0x14'));var db=require(_0xdf9f('0x15'))['db'];function respondWithStatusCode(_0x122b40,_0x59ccd9){_0x59ccd9=_0x59ccd9||0xcc;return function(_0x1bc5ef){if(_0x1bc5ef){return _0x122b40['sendStatus'](_0x59ccd9);}return _0x122b40[_0xdf9f('0x16')](_0x59ccd9)[_0xdf9f('0x17')]();};}function respondWithResult(_0x1bd711,_0x2917ef){_0x2917ef=_0x2917ef||0xc8;return function(_0x1f5b2a){if(_0x1f5b2a){return _0x1bd711[_0xdf9f('0x16')](_0x2917ef)[_0xdf9f('0x18')](_0x1f5b2a);}};}function respondWithFilteredResult(_0x5834cb,_0x136788){return function(_0x757c0b){if(_0x757c0b){var _0x180627=_0x757c0b['count'],_0x6fb173=_0x136788[_0xdf9f('0x19')],_0x4bac62=_0x136788[_0xdf9f('0x19')]+_0x136788[_0xdf9f('0x1a')],_0x33e541;if(_0x4bac62>=_0x180627){_0x4bac62=_0x180627;_0x33e541=0xc8;}else{_0x33e541=0xce;}_0x5834cb[_0xdf9f('0x16')](_0x33e541);return _0x5834cb['set'](_0xdf9f('0x1b'),_0x6fb173+'-'+_0x4bac62+'/'+_0x180627)['json'](_0x757c0b);}return null;};}function patchUpdates(_0x3ee1fc){return function(_0x22277a){try{jsonpatch[_0xdf9f('0x1c')](_0x22277a,_0x3ee1fc,!![]);}catch(_0x3786a9){return BPromise[_0xdf9f('0x1d')](_0x3786a9);}return _0x22277a[_0xdf9f('0x1e')]();};}function saveUpdates(_0x3ff17d,_0x483f7d){return function(_0xb00a11){if(_0xb00a11){return _0xb00a11[_0xdf9f('0x1f')](_0x3ff17d)['then'](function(_0x24398d){return _0x24398d;});}return null;};}function removeEntity(_0x588bcd,_0x3cde3e){return function(_0x6107bd){if(_0x6107bd){return _0x6107bd[_0xdf9f('0x20')]()[_0xdf9f('0x21')](function(){_0x588bcd[_0xdf9f('0x16')](0xcc)[_0xdf9f('0x17')]();});}};}function handleEntityNotFound(_0x569600,_0x484bd9){return function(_0x382cd5){if(!_0x382cd5){_0x569600[_0xdf9f('0x22')](0x194);}return _0x382cd5;};}function handleError(_0xcb66a8,_0x46301f){_0x46301f=_0x46301f||0x1f4;return function(_0x475853){logger[_0xdf9f('0x23')](_0x475853[_0xdf9f('0x24')]);if(_0x475853[_0xdf9f('0x25')]){delete _0x475853['name'];}_0xcb66a8[_0xdf9f('0x16')](_0x46301f)['send'](_0x475853);};}exports[_0xdf9f('0x26')]=function(_0x74ccfa,_0x3b61ca){var _0x2955b5={},_0x57b516={},_0x495c0b={'count':0x0,'rows':[]};var _0x140a8e=_[_0xdf9f('0x27')](db[_0xdf9f('0x28')]['rawAttributes'],function(_0x3dc6f0){return{'name':_0x3dc6f0[_0xdf9f('0x29')],'type':_0x3dc6f0[_0xdf9f('0x2a')]['key']};});_0x57b516[_0xdf9f('0x2b')]=_['map'](_0x140a8e,_0xdf9f('0x25'));_0x57b516[_0xdf9f('0x2c')]=_[_0xdf9f('0x2d')](_0x74ccfa[_0xdf9f('0x2c')]);_0x57b516['filters']=_[_0xdf9f('0x2e')](_0x57b516['model'],_0x57b516[_0xdf9f('0x2c')]);_0x2955b5[_0xdf9f('0x2f')]=_['intersection'](_0x57b516[_0xdf9f('0x2b')],qs[_0xdf9f('0x30')](_0x74ccfa[_0xdf9f('0x2c')][_0xdf9f('0x30')]));_0x2955b5['attributes']=_0x2955b5[_0xdf9f('0x2f')]['length']?_0x2955b5['attributes']:_0x57b516[_0xdf9f('0x2b')];if(!_0x74ccfa[_0xdf9f('0x2c')][_0xdf9f('0x31')]('nolimit')){_0x2955b5[_0xdf9f('0x1a')]=qs['limit'](_0x74ccfa[_0xdf9f('0x2c')][_0xdf9f('0x1a')]);_0x2955b5['offset']=qs[_0xdf9f('0x19')](_0x74ccfa[_0xdf9f('0x2c')][_0xdf9f('0x19')]);}_0x2955b5[_0xdf9f('0x32')]=qs[_0xdf9f('0x33')](_0x74ccfa[_0xdf9f('0x2c')]['sort']);_0x2955b5[_0xdf9f('0x34')]=qs[_0xdf9f('0x35')](_[_0xdf9f('0x36')](_0x74ccfa[_0xdf9f('0x2c')],_0x57b516[_0xdf9f('0x35')]),_0x140a8e);if(_0x74ccfa[_0xdf9f('0x2c')]['filter']){_0x2955b5[_0xdf9f('0x34')]=_[_0xdf9f('0x37')](_0x2955b5['where'],{'$or':_['map'](_0x140a8e,function(_0x4c17f3){if(_0x4c17f3[_0xdf9f('0x2a')]!==_0xdf9f('0x38')){var _0x4b5c1b={};_0x4b5c1b[_0x4c17f3[_0xdf9f('0x25')]]={'$like':'%'+_0x74ccfa[_0xdf9f('0x2c')][_0xdf9f('0x39')]+'%'};return _0x4b5c1b;}})});}_0x2955b5=_['merge']({},_0x2955b5,_0x74ccfa[_0xdf9f('0x3a')]);var _0x24f6e={'where':_0x2955b5[_0xdf9f('0x34')]};return db[_0xdf9f('0x28')]['count'](_0x24f6e)['then'](function(_0x10b76c){_0x495c0b[_0xdf9f('0x3b')]=_0x10b76c;if(_0x74ccfa[_0xdf9f('0x2c')][_0xdf9f('0x3c')]){_0x2955b5[_0xdf9f('0x3d')]=[{'all':!![]}];}return db[_0xdf9f('0x28')][_0xdf9f('0x3e')](_0x2955b5);})[_0xdf9f('0x21')](function(_0x248eb3){_0x495c0b[_0xdf9f('0x3f')]=_0x248eb3;return _0x495c0b;})[_0xdf9f('0x21')](respondWithFilteredResult(_0x3b61ca,_0x2955b5))[_0xdf9f('0x40')](handleError(_0x3b61ca,null));};exports['show']=function(_0x17c4df,_0x2dbcf0){var _0x3315c5={'raw':![],'where':{'id':_0x17c4df['params']['id']}},_0x17d00f={};_0x17d00f[_0xdf9f('0x2b')]=_[_0xdf9f('0x2d')](db[_0xdf9f('0x28')][_0xdf9f('0x41')]);_0x17d00f[_0xdf9f('0x2c')]=_[_0xdf9f('0x2d')](_0x17c4df['query']);_0x17d00f['filters']=_[_0xdf9f('0x2e')](_0x17d00f[_0xdf9f('0x2b')],_0x17d00f[_0xdf9f('0x2c')]);_0x3315c5[_0xdf9f('0x2f')]=_[_0xdf9f('0x2e')](_0x17d00f[_0xdf9f('0x2b')],qs[_0xdf9f('0x30')](_0x17c4df[_0xdf9f('0x2c')][_0xdf9f('0x30')]));_0x3315c5[_0xdf9f('0x2f')]=_0x3315c5['attributes'][_0xdf9f('0x42')]?_0x3315c5[_0xdf9f('0x2f')]:_0x17d00f[_0xdf9f('0x2b')];if(_0x17c4df[_0xdf9f('0x2c')][_0xdf9f('0x3c')]){_0x3315c5['include']=[{'all':!![]}];}_0x3315c5=_[_0xdf9f('0x37')]({},_0x3315c5,_0x17c4df['options']);return db[_0xdf9f('0x28')][_0xdf9f('0x43')](_0x3315c5)[_0xdf9f('0x21')](handleEntityNotFound(_0x2dbcf0,null))[_0xdf9f('0x21')](respondWithResult(_0x2dbcf0,null))['catch'](handleError(_0x2dbcf0,null));};exports[_0xdf9f('0x44')]=function(_0x13ae1f,_0x455e21){return db['UserProfileSection'][_0xdf9f('0x44')](_0x13ae1f[_0xdf9f('0x45')],{})[_0xdf9f('0x21')](respondWithResult(_0x455e21,0xc9))[_0xdf9f('0x40')](handleError(_0x455e21,null));};exports['update']=function(_0x4eeee3,_0x4aa0ad){if(_0x4eeee3[_0xdf9f('0x45')]['id']){delete _0x4eeee3['body']['id'];}return db['UserProfileSection']['find']({'where':{'id':_0x4eeee3[_0xdf9f('0x46')]['id']}})[_0xdf9f('0x21')](handleEntityNotFound(_0x4aa0ad,null))[_0xdf9f('0x21')](saveUpdates(_0x4eeee3['body'],null))[_0xdf9f('0x21')](respondWithResult(_0x4aa0ad,null))[_0xdf9f('0x40')](handleError(_0x4aa0ad,null));};exports[_0xdf9f('0x20')]=function(_0x17708f,_0x506a46){return db['UserProfileSection']['find']({'where':{'id':_0x17708f[_0xdf9f('0x46')]['id']}})[_0xdf9f('0x21')](handleEntityNotFound(_0x506a46,null))['then'](removeEntity(_0x506a46,null))[_0xdf9f('0x40')](handleError(_0x506a46,null));};exports['describe']=function(_0xf36b52,_0x3aff8e){return db[_0xdf9f('0x28')][_0xdf9f('0x47')]()[_0xdf9f('0x21')](respondWithResult(_0x3aff8e,null))[_0xdf9f('0x40')](handleError(_0x3aff8e,null));}; \ No newline at end of file +var _0x8d4d=['attributes','fields','hasOwnProperty','limit','order','sort','filters','pick','filter','where','merge','map','VIRTUAL','options','UserProfileSection','includeAll','include','findAll','rows','length','catch','create','body','params','describe','eml-format','zip-dir','request-promise','moment','bluebird','mustache','util','path','sox','to-csv','ejs','lodash','crypto','jsforce','desk.js','../../components/parsers/qs','../../config/license/hardware','api','../../config/utils','../../config/environment','sendStatus','status','end','json','count','offset','set','Content-Range','apply','save','update','destroy','then','error','stack','name','send','index','rawAttributes','type','key','model','query','keys','intersection'];(function(_0x4fab3f,_0x5b0e8a){var _0x27364e=function(_0x4fa9f0){while(--_0x4fa9f0){_0x4fab3f['push'](_0x4fab3f['shift']());}};_0x27364e(++_0x5b0e8a);}(_0x8d4d,0x177));var _0xd8d4=function(_0x1d3bd0,_0x5b34f1){_0x1d3bd0=_0x1d3bd0-0x0;var _0x8b7181=_0x8d4d[_0x1d3bd0];return _0x8b7181;};'use strict';var pdf=require('html-pdf');var emlformat=require(_0xd8d4('0x0'));var rimraf=require('rimraf');var zipdir=require(_0xd8d4('0x1'));var jsonpatch=require('fast-json-patch');var rp=require(_0xd8d4('0x2'));var moment=require(_0xd8d4('0x3'));var BPromise=require(_0xd8d4('0x4'));var Mustache=require(_0xd8d4('0x5'));var util=require(_0xd8d4('0x6'));var path=require(_0xd8d4('0x7'));var sox=require(_0xd8d4('0x8'));var csv=require(_0xd8d4('0x9'));var ejs=require(_0xd8d4('0xa'));var fs=require('fs');var _=require(_0xd8d4('0xb'));var squel=require('squel');var crypto=require(_0xd8d4('0xc'));var jsforce=require(_0xd8d4('0xd'));var deskjs=require(_0xd8d4('0xe'));var toCsv=require('to-csv');var querystring=require('querystring');var Papa=require('papaparse');var Redis=require('ioredis');var authService=require('../../components/auth/service');var qs=require(_0xd8d4('0xf'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0xd8d4('0x10'));var logger=require('../../config/logger')(_0xd8d4('0x11'));var utils=require(_0xd8d4('0x12'));var config=require(_0xd8d4('0x13'));var db=require('../../mysqldb')['db'];function respondWithStatusCode(_0x4c733b,_0xe4998c){_0xe4998c=_0xe4998c||0xcc;return function(_0x599b38){if(_0x599b38){return _0x4c733b[_0xd8d4('0x14')](_0xe4998c);}return _0x4c733b[_0xd8d4('0x15')](_0xe4998c)[_0xd8d4('0x16')]();};}function respondWithResult(_0x5e8055,_0x2af977){_0x2af977=_0x2af977||0xc8;return function(_0x4fb85d){if(_0x4fb85d){return _0x5e8055[_0xd8d4('0x15')](_0x2af977)[_0xd8d4('0x17')](_0x4fb85d);}};}function respondWithFilteredResult(_0x45dac5,_0x5694f3){return function(_0x1c83dd){if(_0x1c83dd){var _0x37b320=_0x1c83dd[_0xd8d4('0x18')],_0x4eb0be=_0x5694f3['offset'],_0x4744fc=_0x5694f3[_0xd8d4('0x19')]+_0x5694f3['limit'],_0x7f6eb6;if(_0x4744fc>=_0x37b320){_0x4744fc=_0x37b320;_0x7f6eb6=0xc8;}else{_0x7f6eb6=0xce;}_0x45dac5['status'](_0x7f6eb6);return _0x45dac5[_0xd8d4('0x1a')](_0xd8d4('0x1b'),_0x4eb0be+'-'+_0x4744fc+'/'+_0x37b320)['json'](_0x1c83dd);}return null;};}function patchUpdates(_0x57aff7){return function(_0x7e2284){try{jsonpatch[_0xd8d4('0x1c')](_0x7e2284,_0x57aff7,!![]);}catch(_0x16c88c){return BPromise['reject'](_0x16c88c);}return _0x7e2284[_0xd8d4('0x1d')]();};}function saveUpdates(_0x4b3e8e,_0x4601f4){return function(_0xda4e7e){if(_0xda4e7e){return _0xda4e7e[_0xd8d4('0x1e')](_0x4b3e8e)['then'](function(_0x34759c){return _0x34759c;});}return null;};}function removeEntity(_0x4d22fa,_0x1bbba8){return function(_0x2f78a2){if(_0x2f78a2){return _0x2f78a2[_0xd8d4('0x1f')]()[_0xd8d4('0x20')](function(){_0x4d22fa[_0xd8d4('0x15')](0xcc)[_0xd8d4('0x16')]();});}};}function handleEntityNotFound(_0x2ab098,_0x822c34){return function(_0xfd1af7){if(!_0xfd1af7){_0x2ab098[_0xd8d4('0x14')](0x194);}return _0xfd1af7;};}function handleError(_0x26659b,_0x2c2b3f){_0x2c2b3f=_0x2c2b3f||0x1f4;return function(_0x4659e9){logger[_0xd8d4('0x21')](_0x4659e9[_0xd8d4('0x22')]);if(_0x4659e9[_0xd8d4('0x23')]){delete _0x4659e9['name'];}_0x26659b['status'](_0x2c2b3f)[_0xd8d4('0x24')](_0x4659e9);};}exports[_0xd8d4('0x25')]=function(_0x230478,_0xb2e8e9){var _0x27be63={},_0x3034ab={},_0x491cb5={'count':0x0,'rows':[]};var _0x2347ef=_['map'](db['UserProfileSection'][_0xd8d4('0x26')],function(_0x5d769b){return{'name':_0x5d769b['fieldName'],'type':_0x5d769b[_0xd8d4('0x27')][_0xd8d4('0x28')]};});_0x3034ab[_0xd8d4('0x29')]=_['map'](_0x2347ef,'name');_0x3034ab[_0xd8d4('0x2a')]=_[_0xd8d4('0x2b')](_0x230478[_0xd8d4('0x2a')]);_0x3034ab['filters']=_[_0xd8d4('0x2c')](_0x3034ab[_0xd8d4('0x29')],_0x3034ab[_0xd8d4('0x2a')]);_0x27be63[_0xd8d4('0x2d')]=_[_0xd8d4('0x2c')](_0x3034ab[_0xd8d4('0x29')],qs[_0xd8d4('0x2e')](_0x230478[_0xd8d4('0x2a')][_0xd8d4('0x2e')]));_0x27be63[_0xd8d4('0x2d')]=_0x27be63[_0xd8d4('0x2d')]['length']?_0x27be63[_0xd8d4('0x2d')]:_0x3034ab[_0xd8d4('0x29')];if(!_0x230478[_0xd8d4('0x2a')][_0xd8d4('0x2f')]('nolimit')){_0x27be63[_0xd8d4('0x30')]=qs[_0xd8d4('0x30')](_0x230478['query']['limit']);_0x27be63[_0xd8d4('0x19')]=qs['offset'](_0x230478[_0xd8d4('0x2a')]['offset']);}_0x27be63[_0xd8d4('0x31')]=qs[_0xd8d4('0x32')](_0x230478[_0xd8d4('0x2a')][_0xd8d4('0x32')]);_0x27be63['where']=qs[_0xd8d4('0x33')](_[_0xd8d4('0x34')](_0x230478[_0xd8d4('0x2a')],_0x3034ab[_0xd8d4('0x33')]),_0x2347ef);if(_0x230478[_0xd8d4('0x2a')][_0xd8d4('0x35')]){_0x27be63[_0xd8d4('0x36')]=_[_0xd8d4('0x37')](_0x27be63['where'],{'$or':_[_0xd8d4('0x38')](_0x2347ef,function(_0x3fdd12){if(_0x3fdd12['type']!==_0xd8d4('0x39')){var _0x2b23c8={};_0x2b23c8[_0x3fdd12[_0xd8d4('0x23')]]={'$like':'%'+_0x230478[_0xd8d4('0x2a')]['filter']+'%'};return _0x2b23c8;}})});}_0x27be63=_['merge']({},_0x27be63,_0x230478[_0xd8d4('0x3a')]);var _0x185d4b={'where':_0x27be63['where']};return db[_0xd8d4('0x3b')][_0xd8d4('0x18')](_0x185d4b)['then'](function(_0x16c7fd){_0x491cb5[_0xd8d4('0x18')]=_0x16c7fd;if(_0x230478[_0xd8d4('0x2a')][_0xd8d4('0x3c')]){_0x27be63[_0xd8d4('0x3d')]=[{'all':!![]}];}return db[_0xd8d4('0x3b')][_0xd8d4('0x3e')](_0x27be63);})['then'](function(_0x2281de){_0x491cb5[_0xd8d4('0x3f')]=_0x2281de;return _0x491cb5;})[_0xd8d4('0x20')](respondWithFilteredResult(_0xb2e8e9,_0x27be63))['catch'](handleError(_0xb2e8e9,null));};exports['show']=function(_0x7f446e,_0x7e677f){var _0x3534ea={'raw':![],'where':{'id':_0x7f446e['params']['id']}},_0x31046f={};_0x31046f[_0xd8d4('0x29')]=_[_0xd8d4('0x2b')](db[_0xd8d4('0x3b')][_0xd8d4('0x26')]);_0x31046f[_0xd8d4('0x2a')]=_[_0xd8d4('0x2b')](_0x7f446e[_0xd8d4('0x2a')]);_0x31046f[_0xd8d4('0x33')]=_['intersection'](_0x31046f[_0xd8d4('0x29')],_0x31046f[_0xd8d4('0x2a')]);_0x3534ea[_0xd8d4('0x2d')]=_['intersection'](_0x31046f['model'],qs[_0xd8d4('0x2e')](_0x7f446e[_0xd8d4('0x2a')][_0xd8d4('0x2e')]));_0x3534ea[_0xd8d4('0x2d')]=_0x3534ea[_0xd8d4('0x2d')][_0xd8d4('0x40')]?_0x3534ea['attributes']:_0x31046f[_0xd8d4('0x29')];if(_0x7f446e['query'][_0xd8d4('0x3c')]){_0x3534ea['include']=[{'all':!![]}];}_0x3534ea=_[_0xd8d4('0x37')]({},_0x3534ea,_0x7f446e['options']);return db['UserProfileSection']['find'](_0x3534ea)[_0xd8d4('0x20')](handleEntityNotFound(_0x7e677f,null))[_0xd8d4('0x20')](respondWithResult(_0x7e677f,null))[_0xd8d4('0x41')](handleError(_0x7e677f,null));};exports[_0xd8d4('0x42')]=function(_0x4de389,_0x157f66){return db[_0xd8d4('0x3b')]['create'](_0x4de389[_0xd8d4('0x43')],{})[_0xd8d4('0x20')](respondWithResult(_0x157f66,0xc9))[_0xd8d4('0x41')](handleError(_0x157f66,null));};exports[_0xd8d4('0x1e')]=function(_0x230ebe,_0x12c5a7){if(_0x230ebe[_0xd8d4('0x43')]['id']){delete _0x230ebe['body']['id'];}return db['UserProfileSection']['find']({'where':{'id':_0x230ebe['params']['id']}})[_0xd8d4('0x20')](handleEntityNotFound(_0x12c5a7,null))[_0xd8d4('0x20')](saveUpdates(_0x230ebe[_0xd8d4('0x43')],null))['then'](respondWithResult(_0x12c5a7,null))['catch'](handleError(_0x12c5a7,null));};exports[_0xd8d4('0x1f')]=function(_0x117f47,_0x38e3d3){return db[_0xd8d4('0x3b')]['find']({'where':{'id':_0x117f47[_0xd8d4('0x44')]['id']}})[_0xd8d4('0x20')](handleEntityNotFound(_0x38e3d3,null))[_0xd8d4('0x20')](removeEntity(_0x38e3d3,null))[_0xd8d4('0x41')](handleError(_0x38e3d3,null));};exports[_0xd8d4('0x45')]=function(_0xcb27c5,_0x39224b){return db['UserProfileSection'][_0xd8d4('0x45')]()[_0xd8d4('0x20')](respondWithResult(_0x39224b,null))[_0xd8d4('0x41')](handleError(_0x39224b,null));}; \ No newline at end of file diff --git a/server/api/userProfileSection/userProfileSection.model.js b/server/api/userProfileSection/userProfileSection.model.js index f3eda01..4815d4f 100644 --- a/server/api/userProfileSection/userProfileSection.model.js +++ b/server/api/userProfileSection/userProfileSection.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xabe7=['UserProfileSection','user_profile_has_sections','compositeIndex','lodash','util','../../config/logger','moment','bluebird','request-promise','rimraf','../../config/environment','exports','define'];(function(_0xc7679b,_0x2511a2){var _0x4e8f0b=function(_0x166401){while(--_0x166401){_0xc7679b['push'](_0xc7679b['shift']());}};_0x4e8f0b(++_0x2511a2);}(_0xabe7,0x1b0));var _0x7abe=function(_0x5c5932,_0x39bcb8){_0x5c5932=_0x5c5932-0x0;var _0x3c778d=_0xabe7[_0x5c5932];return _0x3c778d;};'use strict';var _=require(_0x7abe('0x0'));var util=require(_0x7abe('0x1'));var logger=require(_0x7abe('0x2'))('api');var moment=require(_0x7abe('0x3'));var BPromise=require(_0x7abe('0x4'));var rp=require(_0x7abe('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x7abe('0x6'));var config=require(_0x7abe('0x7'));var attributes=require('./userProfileSection.attributes');module[_0x7abe('0x8')]=function(_0x2ed698,_0x56d6ae){return _0x2ed698[_0x7abe('0x9')](_0x7abe('0xa'),attributes,{'tableName':_0x7abe('0xb'),'paranoid':![],'indexes':[{'name':_0x7abe('0xc'),'fields':['sectionId','userProfileId']}],'timestamps':!![]});}; \ No newline at end of file +var _0xfb0d=['sectionId','userProfileId','lodash','util','moment','bluebird','request-promise','rimraf','../../config/environment','./userProfileSection.attributes','define','UserProfileSection','user_profile_has_sections','compositeIndex'];(function(_0x199572,_0x33e667){var _0x13cfa3=function(_0x53c075){while(--_0x53c075){_0x199572['push'](_0x199572['shift']());}};_0x13cfa3(++_0x33e667);}(_0xfb0d,0xf0));var _0xdfb0=function(_0x21f38c,_0x3265f9){_0x21f38c=_0x21f38c-0x0;var _0x1aa9bc=_0xfb0d[_0x21f38c];return _0x1aa9bc;};'use strict';var _=require(_0xdfb0('0x0'));var util=require(_0xdfb0('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0xdfb0('0x2'));var BPromise=require(_0xdfb0('0x3'));var rp=require(_0xdfb0('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0xdfb0('0x5'));var config=require(_0xdfb0('0x6'));var attributes=require(_0xdfb0('0x7'));module['exports']=function(_0x4673a8,_0x53b0d3){return _0x4673a8[_0xdfb0('0x8')](_0xdfb0('0x9'),attributes,{'tableName':_0xdfb0('0xa'),'paranoid':![],'indexes':[{'name':_0xdfb0('0xb'),'fields':[_0xdfb0('0xc'),_0xdfb0('0xd')]}],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/userProfileSection/userProfileSection.rpc.js b/server/api/userProfileSection/userProfileSection.rpc.js index 7fc3be8..06c95c5 100644 --- a/server/api/userProfileSection/userProfileSection.rpc.js +++ b/server/api/userProfileSection/userProfileSection.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xdeb8=['rpc','../../config/environment','jayson/promise','request','then','info','request\x20sent','UserProfileSection,\x20%s,\x20%s,\x20%s','stringify','code','UserProfileSection,\x20%s,\x20%s','error','message','result','catch','lodash','util','moment','bluebird','randomstring','../../mysqldb','../../config/utils','../../config/logger'];(function(_0x3c84d4,_0xaa2c49){var _0x452897=function(_0x3039ce){while(--_0x3039ce){_0x3c84d4['push'](_0x3c84d4['shift']());}};_0x452897(++_0xaa2c49);}(_0xdeb8,0xc7));var _0x8deb=function(_0x152a32,_0x2ac2ee){_0x152a32=_0x152a32-0x0;var _0x4cc8f6=_0xdeb8[_0x152a32];return _0x4cc8f6;};'use strict';var _=require(_0x8deb('0x0'));var util=require(_0x8deb('0x1'));var moment=require(_0x8deb('0x2'));var BPromise=require(_0x8deb('0x3'));var rs=require(_0x8deb('0x4'));var fs=require('fs');var Redis=require('ioredis');var db=require(_0x8deb('0x5'))['db'];var utils=require(_0x8deb('0x6'));var logger=require(_0x8deb('0x7'))(_0x8deb('0x8'));var config=require(_0x8deb('0x9'));var jayson=require(_0x8deb('0xa'));var client=jayson['client']['http']({'port':0x232a});function respondWithRpcPromise(_0x85d4f1,_0x118c1a,_0x132353){return new BPromise(function(_0x18b848,_0x14bd3c){return client[_0x8deb('0xb')](_0x85d4f1,_0x132353)[_0x8deb('0xc')](function(_0x5f0bf8){logger[_0x8deb('0xd')]('UserProfileSection,\x20%s,\x20%s',_0x118c1a,_0x8deb('0xe'));logger['debug'](_0x8deb('0xf'),_0x118c1a,_0x8deb('0xe'),JSON[_0x8deb('0x10')](_0x5f0bf8));if(_0x5f0bf8['error']){if(_0x5f0bf8['error'][_0x8deb('0x11')]===0x1f4){logger['error'](_0x8deb('0x12'),_0x118c1a,_0x5f0bf8[_0x8deb('0x13')][_0x8deb('0x14')]);return _0x14bd3c(_0x5f0bf8[_0x8deb('0x13')][_0x8deb('0x14')]);}logger[_0x8deb('0x13')](_0x8deb('0x12'),_0x118c1a,_0x5f0bf8[_0x8deb('0x13')][_0x8deb('0x14')]);return _0x18b848(_0x5f0bf8[_0x8deb('0x13')][_0x8deb('0x14')]);}else{logger[_0x8deb('0xd')](_0x8deb('0x12'),_0x118c1a,_0x8deb('0xe'));_0x18b848(_0x5f0bf8[_0x8deb('0x15')][_0x8deb('0x14')]);}})[_0x8deb('0x16')](function(_0x561742){logger[_0x8deb('0x13')](_0x8deb('0x12'),_0x118c1a,_0x561742);_0x14bd3c(_0x561742);});});} \ No newline at end of file +var _0xb46f=['error','code','message','info','result','catch','lodash','util','bluebird','randomstring','ioredis','../../mysqldb','../../config/utils','rpc','jayson/promise','client','http','UserProfileSection,\x20%s,\x20%s','debug','UserProfileSection,\x20%s,\x20%s,\x20%s','request\x20sent','stringify'];(function(_0xbc4659,_0x578fba){var _0x5831f9=function(_0x5eb0eb){while(--_0x5eb0eb){_0xbc4659['push'](_0xbc4659['shift']());}};_0x5831f9(++_0x578fba);}(_0xb46f,0xb6));var _0xfb46=function(_0x332f30,_0x34a75a){_0x332f30=_0x332f30-0x0;var _0x38718f=_0xb46f[_0x332f30];return _0x38718f;};'use strict';var _=require(_0xfb46('0x0'));var util=require(_0xfb46('0x1'));var moment=require('moment');var BPromise=require(_0xfb46('0x2'));var rs=require(_0xfb46('0x3'));var fs=require('fs');var Redis=require(_0xfb46('0x4'));var db=require(_0xfb46('0x5'))['db'];var utils=require(_0xfb46('0x6'));var logger=require('../../config/logger')(_0xfb46('0x7'));var config=require('../../config/environment');var jayson=require(_0xfb46('0x8'));var client=jayson[_0xfb46('0x9')][_0xfb46('0xa')]({'port':0x232a});function respondWithRpcPromise(_0x1efd40,_0x35103d,_0x47c1a2){return new BPromise(function(_0x9871f5,_0x298a84){return client['request'](_0x1efd40,_0x47c1a2)['then'](function(_0x5bb51a){logger['info'](_0xfb46('0xb'),_0x35103d,'request\x20sent');logger[_0xfb46('0xc')](_0xfb46('0xd'),_0x35103d,_0xfb46('0xe'),JSON[_0xfb46('0xf')](_0x5bb51a));if(_0x5bb51a[_0xfb46('0x10')]){if(_0x5bb51a[_0xfb46('0x10')][_0xfb46('0x11')]===0x1f4){logger[_0xfb46('0x10')](_0xfb46('0xb'),_0x35103d,_0x5bb51a[_0xfb46('0x10')]['message']);return _0x298a84(_0x5bb51a['error'][_0xfb46('0x12')]);}logger['error'](_0xfb46('0xb'),_0x35103d,_0x5bb51a[_0xfb46('0x10')]['message']);return _0x9871f5(_0x5bb51a[_0xfb46('0x10')][_0xfb46('0x12')]);}else{logger[_0xfb46('0x13')](_0xfb46('0xb'),_0x35103d,'request\x20sent');_0x9871f5(_0x5bb51a[_0xfb46('0x14')][_0xfb46('0x12')]);}})[_0xfb46('0x15')](function(_0x4d3b3e){logger[_0xfb46('0x10')](_0xfb46('0xb'),_0x35103d,_0x4d3b3e);_0x298a84(_0x4d3b3e);});});} \ No newline at end of file diff --git a/server/api/userSmsQueue/index.js b/server/api/userSmsQueue/index.js index 34945e1..44831aa 100644 --- a/server/api/userSmsQueue/index.js +++ b/server/api/userSmsQueue/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xc6c2=['../../components/interaction/service','../../config/environment','multer','util','connect-timeout','express','Router','../../components/auth/service'];(function(_0x45d1fd,_0x463212){var _0xd0e542=function(_0x23ebc9){while(--_0x23ebc9){_0x45d1fd['push'](_0x45d1fd['shift']());}};_0xd0e542(++_0x463212);}(_0xc6c2,0x9a));var _0x2c6c=function(_0x2ff762,_0x342c0b){_0x2ff762=_0x2ff762-0x0;var _0x158b02=_0xc6c2[_0x2ff762];return _0x158b02;};'use strict';var multer=require(_0x2c6c('0x0'));var util=require(_0x2c6c('0x1'));var path=require('path');var timeout=require(_0x2c6c('0x2'));var express=require(_0x2c6c('0x3'));var router=express[_0x2c6c('0x4')]();var auth=require(_0x2c6c('0x5'));var interaction=require(_0x2c6c('0x6'));var config=require(_0x2c6c('0x7'));module['exports']=router; \ No newline at end of file +var _0x0f66=['Router','../../components/auth/service','../../components/interaction/service','../../config/environment','exports','connect-timeout','express'];(function(_0x1c224e,_0xcb5756){var _0x3143f5=function(_0x527bdc){while(--_0x527bdc){_0x1c224e['push'](_0x1c224e['shift']());}};_0x3143f5(++_0xcb5756);}(_0x0f66,0x1cc));var _0x60f6=function(_0x11ce46,_0x177a85){_0x11ce46=_0x11ce46-0x0;var _0x368a1e=_0x0f66[_0x11ce46];return _0x368a1e;};'use strict';var multer=require('multer');var util=require('util');var path=require('path');var timeout=require(_0x60f6('0x0'));var express=require(_0x60f6('0x1'));var router=express[_0x60f6('0x2')]();var auth=require(_0x60f6('0x3'));var interaction=require(_0x60f6('0x4'));var config=require(_0x60f6('0x5'));module[_0x60f6('0x6')]=router; \ No newline at end of file diff --git a/server/api/userSmsQueue/userSmsQueue.attributes.js b/server/api/userSmsQueue/userSmsQueue.attributes.js index a277a01..fd98f5b 100644 --- a/server/api/userSmsQueue/userSmsQueue.attributes.js +++ b/server/api/userSmsQueue/userSmsQueue.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xbaf0=['exports','INTEGER'];(function(_0x52e363,_0x48062a){var _0x3fc2b5=function(_0x1b0cf9){while(--_0x1b0cf9){_0x52e363['push'](_0x52e363['shift']());}};_0x3fc2b5(++_0x48062a);}(_0xbaf0,0x12a));var _0x0baf=function(_0x2f5ac5,_0x1ee939){_0x2f5ac5=_0x2f5ac5-0x0;var _0x37c9a8=_0xbaf0[_0x2f5ac5];return _0x37c9a8;};'use strict';var Sequelize=require('sequelize');module[_0x0baf('0x0')]={'penalty':{'type':Sequelize[_0x0baf('0x1')],'defaultValue':0x0}}; \ No newline at end of file +var _0xa9e0=['sequelize','exports','INTEGER'];(function(_0x2ddf44,_0x13859d){var _0x28d7b1=function(_0x1b6bef){while(--_0x1b6bef){_0x2ddf44['push'](_0x2ddf44['shift']());}};_0x28d7b1(++_0x13859d);}(_0xa9e0,0x123));var _0x0a9e=function(_0x4dbaad,_0x730318){_0x4dbaad=_0x4dbaad-0x0;var _0x226c72=_0xa9e0[_0x4dbaad];return _0x226c72;};'use strict';var Sequelize=require(_0x0a9e('0x0'));module[_0x0a9e('0x1')]={'penalty':{'type':Sequelize[_0x0a9e('0x2')],'defaultValue':0x0}}; \ No newline at end of file diff --git a/server/api/userSmsQueue/userSmsQueue.model.js b/server/api/userSmsQueue/userSmsQueue.model.js index 83e820c..f007626 100644 --- a/server/api/userSmsQueue/userSmsQueue.model.js +++ b/server/api/userSmsQueue/userSmsQueue.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x484b=['exports','define','user_has_sms_queues','lodash','util','../../config/logger','api','bluebird','request-promise','path','rimraf','../../config/environment','./userSmsQueue.attributes'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x484b,0x1b0));var _0xb484=function(_0x476989,_0x6fbdd1){_0x476989=_0x476989-0x0;var _0x273824=_0x484b[_0x476989];return _0x273824;};'use strict';var _=require(_0xb484('0x0'));var util=require(_0xb484('0x1'));var logger=require(_0xb484('0x2'))(_0xb484('0x3'));var moment=require('moment');var BPromise=require(_0xb484('0x4'));var rp=require(_0xb484('0x5'));var fs=require('fs');var path=require(_0xb484('0x6'));var rimraf=require(_0xb484('0x7'));var config=require(_0xb484('0x8'));var attributes=require(_0xb484('0x9'));module[_0xb484('0xa')]=function(_0x54bd9e,_0x2ada22){return _0x54bd9e[_0xb484('0xb')]('UserSmsQueue',attributes,{'tableName':_0xb484('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0x7e77=['UserSmsQueue','user_has_sms_queues','lodash','util','api','moment','bluebird','request-promise','rimraf','../../config/environment','./userSmsQueue.attributes','define'];(function(_0x1229c9,_0x1266c2){var _0x2a3409=function(_0x11cec2){while(--_0x11cec2){_0x1229c9['push'](_0x1229c9['shift']());}};_0x2a3409(++_0x1266c2);}(_0x7e77,0x146));var _0x77e7=function(_0x4a747d,_0x3b747f){_0x4a747d=_0x4a747d-0x0;var _0x3a5b5c=_0x7e77[_0x4a747d];return _0x3a5b5c;};'use strict';var _=require(_0x77e7('0x0'));var util=require(_0x77e7('0x1'));var logger=require('../../config/logger')(_0x77e7('0x2'));var moment=require(_0x77e7('0x3'));var BPromise=require(_0x77e7('0x4'));var rp=require(_0x77e7('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x77e7('0x6'));var config=require(_0x77e7('0x7'));var attributes=require(_0x77e7('0x8'));module['exports']=function(_0x1a417c,_0x634813){return _0x1a417c[_0x77e7('0x9')](_0x77e7('0xa'),attributes,{'tableName':_0x77e7('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/userSmsQueue/userSmsQueue.rpc.js b/server/api/userSmsQueue/userSmsQueue.rpc.js index 586e2fe..a88524b 100644 --- a/server/api/userSmsQueue/userSmsQueue.rpc.js +++ b/server/api/userSmsQueue/userSmsQueue.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x8ce1=['UserSmsQueue,\x20%s,\x20%s','request\x20sent','debug','UserSmsQueue,\x20%s,\x20%s,\x20%s','stringify','error','message','result','catch','util','moment','bluebird','../../mysqldb','../../config/utils','rpc','../../config/environment','http','request','info'];(function(_0x5bd426,_0x4878e5){var _0x23a7eb=function(_0x594b42){while(--_0x594b42){_0x5bd426['push'](_0x5bd426['shift']());}};_0x23a7eb(++_0x4878e5);}(_0x8ce1,0x139));var _0x18ce=function(_0x250c1b,_0x14609e){_0x250c1b=_0x250c1b-0x0;var _0x50f8ed=_0x8ce1[_0x250c1b];return _0x50f8ed;};'use strict';var _=require('lodash');var util=require(_0x18ce('0x0'));var moment=require(_0x18ce('0x1'));var BPromise=require(_0x18ce('0x2'));var rs=require('randomstring');var fs=require('fs');var Redis=require('ioredis');var db=require(_0x18ce('0x3'))['db'];var utils=require(_0x18ce('0x4'));var logger=require('../../config/logger')(_0x18ce('0x5'));var config=require(_0x18ce('0x6'));var jayson=require('jayson/promise');var client=jayson['client'][_0x18ce('0x7')]({'port':0x232a});function respondWithRpcPromise(_0x431ba2,_0x509e3b,_0x1aecf7){return new BPromise(function(_0x193b67,_0x137a99){return client[_0x18ce('0x8')](_0x431ba2,_0x1aecf7)['then'](function(_0x3bb259){logger[_0x18ce('0x9')](_0x18ce('0xa'),_0x509e3b,_0x18ce('0xb'));logger[_0x18ce('0xc')](_0x18ce('0xd'),_0x509e3b,_0x18ce('0xb'),JSON[_0x18ce('0xe')](_0x3bb259));if(_0x3bb259[_0x18ce('0xf')]){if(_0x3bb259[_0x18ce('0xf')]['code']===0x1f4){logger[_0x18ce('0xf')](_0x18ce('0xa'),_0x509e3b,_0x3bb259[_0x18ce('0xf')][_0x18ce('0x10')]);return _0x137a99(_0x3bb259[_0x18ce('0xf')][_0x18ce('0x10')]);}logger[_0x18ce('0xf')](_0x18ce('0xa'),_0x509e3b,_0x3bb259[_0x18ce('0xf')]['message']);return _0x193b67(_0x3bb259[_0x18ce('0xf')][_0x18ce('0x10')]);}else{logger[_0x18ce('0x9')](_0x18ce('0xa'),_0x509e3b,'request\x20sent');_0x193b67(_0x3bb259[_0x18ce('0x11')][_0x18ce('0x10')]);}})[_0x18ce('0x12')](function(_0x19f307){logger[_0x18ce('0xf')](_0x18ce('0xa'),_0x509e3b,_0x19f307);_0x137a99(_0x19f307);});});} \ No newline at end of file +var _0x6aea=['code','error','message','result','catch','lodash','moment','bluebird','randomstring','ioredis','../../mysqldb','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','client','request','then','info','UserSmsQueue,\x20%s,\x20%s','request\x20sent','UserSmsQueue,\x20%s,\x20%s,\x20%s','stringify'];(function(_0x5b24d6,_0x2f15ac){var _0x4da107=function(_0x309998){while(--_0x309998){_0x5b24d6['push'](_0x5b24d6['shift']());}};_0x4da107(++_0x2f15ac);}(_0x6aea,0xf5));var _0xa6ae=function(_0x16f673,_0x14a66a){_0x16f673=_0x16f673-0x0;var _0x13f1fe=_0x6aea[_0x16f673];return _0x13f1fe;};'use strict';var _=require(_0xa6ae('0x0'));var util=require('util');var moment=require(_0xa6ae('0x1'));var BPromise=require(_0xa6ae('0x2'));var rs=require(_0xa6ae('0x3'));var fs=require('fs');var Redis=require(_0xa6ae('0x4'));var db=require(_0xa6ae('0x5'))['db'];var utils=require(_0xa6ae('0x6'));var logger=require(_0xa6ae('0x7'))(_0xa6ae('0x8'));var config=require(_0xa6ae('0x9'));var jayson=require(_0xa6ae('0xa'));var client=jayson[_0xa6ae('0xb')]['http']({'port':0x232a});function respondWithRpcPromise(_0x46217c,_0x541452,_0x4a6324){return new BPromise(function(_0x32b9a2,_0x37749b){return client[_0xa6ae('0xc')](_0x46217c,_0x4a6324)[_0xa6ae('0xd')](function(_0x494c2c){logger[_0xa6ae('0xe')](_0xa6ae('0xf'),_0x541452,_0xa6ae('0x10'));logger['debug'](_0xa6ae('0x11'),_0x541452,_0xa6ae('0x10'),JSON[_0xa6ae('0x12')](_0x494c2c));if(_0x494c2c['error']){if(_0x494c2c['error'][_0xa6ae('0x13')]===0x1f4){logger[_0xa6ae('0x14')](_0xa6ae('0xf'),_0x541452,_0x494c2c['error']['message']);return _0x37749b(_0x494c2c[_0xa6ae('0x14')][_0xa6ae('0x15')]);}logger[_0xa6ae('0x14')](_0xa6ae('0xf'),_0x541452,_0x494c2c[_0xa6ae('0x14')][_0xa6ae('0x15')]);return _0x32b9a2(_0x494c2c[_0xa6ae('0x14')]['message']);}else{logger['info']('UserSmsQueue,\x20%s,\x20%s',_0x541452,'request\x20sent');_0x32b9a2(_0x494c2c[_0xa6ae('0x16')][_0xa6ae('0x15')]);}})[_0xa6ae('0x17')](function(_0x146675){logger['error']('UserSmsQueue,\x20%s,\x20%s',_0x541452,_0x146675);_0x37749b(_0x146675);});});} \ No newline at end of file diff --git a/server/api/userVoiceQueue/index.js b/server/api/userVoiceQueue/index.js index 953ff43..eb5f76b 100644 --- a/server/api/userVoiceQueue/index.js +++ b/server/api/userVoiceQueue/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x8838=['../../components/auth/service','../../components/interaction/service','../../config/environment','exports','multer','util','path','connect-timeout','express','Router'];(function(_0x35e8d6,_0x1179f3){var _0x2036cb=function(_0x467616){while(--_0x467616){_0x35e8d6['push'](_0x35e8d6['shift']());}};_0x2036cb(++_0x1179f3);}(_0x8838,0x90));var _0x8883=function(_0x10fa8c,_0x23b6fb){_0x10fa8c=_0x10fa8c-0x0;var _0x358bc8=_0x8838[_0x10fa8c];return _0x358bc8;};'use strict';var multer=require(_0x8883('0x0'));var util=require(_0x8883('0x1'));var path=require(_0x8883('0x2'));var timeout=require(_0x8883('0x3'));var express=require(_0x8883('0x4'));var router=express[_0x8883('0x5')]();var auth=require(_0x8883('0x6'));var interaction=require(_0x8883('0x7'));var config=require(_0x8883('0x8'));module[_0x8883('0x9')]=router; \ No newline at end of file +var _0xb89f=['../../components/auth/service','../../components/interaction/service','../../config/environment','multer','util','connect-timeout','Router'];(function(_0x4cb32a,_0x20b9a1){var _0x5c9d47=function(_0x19ffdf){while(--_0x19ffdf){_0x4cb32a['push'](_0x4cb32a['shift']());}};_0x5c9d47(++_0x20b9a1);}(_0xb89f,0xdc));var _0xfb89=function(_0x18991c,_0x4656e6){_0x18991c=_0x18991c-0x0;var _0x2df3d5=_0xb89f[_0x18991c];return _0x2df3d5;};'use strict';var multer=require(_0xfb89('0x0'));var util=require(_0xfb89('0x1'));var path=require('path');var timeout=require(_0xfb89('0x2'));var express=require('express');var router=express[_0xfb89('0x3')]();var auth=require(_0xfb89('0x4'));var interaction=require(_0xfb89('0x5'));var config=require(_0xfb89('0x6'));module['exports']=router; \ No newline at end of file diff --git a/server/api/userVoiceQueue/userVoiceQueue.attributes.js b/server/api/userVoiceQueue/userVoiceQueue.attributes.js index b5cc52d..4e20c16 100644 --- a/server/api/userVoiceQueue/userVoiceQueue.attributes.js +++ b/server/api/userVoiceQueue/userVoiceQueue.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xe706=['INTEGER','sequelize','exports'];(function(_0x598b78,_0xf4ee7e){var _0x6392fa=function(_0x810353){while(--_0x810353){_0x598b78['push'](_0x598b78['shift']());}};_0x6392fa(++_0xf4ee7e);}(_0xe706,0xa3));var _0x6e70=function(_0x2e9d2c,_0x2e97ad){_0x2e9d2c=_0x2e9d2c-0x0;var _0x233caa=_0xe706[_0x2e9d2c];return _0x233caa;};'use strict';var Sequelize=require(_0x6e70('0x0'));module[_0x6e70('0x1')]={'penalty':{'type':Sequelize[_0x6e70('0x2')],'defaultValue':0x0}}; \ No newline at end of file +var _0xd8b0=['exports','sequelize'];(function(_0x204d21,_0x5d3952){var _0x55df50=function(_0x52de7a){while(--_0x52de7a){_0x204d21['push'](_0x204d21['shift']());}};_0x55df50(++_0x5d3952);}(_0xd8b0,0xad));var _0x0d8b=function(_0x20a584,_0xe384a5){_0x20a584=_0x20a584-0x0;var _0x4b41a8=_0xd8b0[_0x20a584];return _0x4b41a8;};'use strict';var Sequelize=require(_0x0d8b('0x0'));module[_0x0d8b('0x1')]={'penalty':{'type':Sequelize['INTEGER'],'defaultValue':0x0}}; \ No newline at end of file diff --git a/server/api/userVoiceQueue/userVoiceQueue.model.js b/server/api/userVoiceQueue/userVoiceQueue.model.js index fe6029c..e4d412e 100644 --- a/server/api/userVoiceQueue/userVoiceQueue.model.js +++ b/server/api/userVoiceQueue/userVoiceQueue.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x5ad3=['user_has_voice_queues','lodash','util','../../config/logger','api','bluebird','request-promise','path','rimraf','../../config/environment','./userVoiceQueue.attributes','exports','define'];(function(_0x224c42,_0x5df87a){var _0x17fc79=function(_0x4a5bba){while(--_0x4a5bba){_0x224c42['push'](_0x224c42['shift']());}};_0x17fc79(++_0x5df87a);}(_0x5ad3,0x1e2));var _0x35ad=function(_0x483ab9,_0x419148){_0x483ab9=_0x483ab9-0x0;var _0x35043b=_0x5ad3[_0x483ab9];return _0x35043b;};'use strict';var _=require(_0x35ad('0x0'));var util=require(_0x35ad('0x1'));var logger=require(_0x35ad('0x2'))(_0x35ad('0x3'));var moment=require('moment');var BPromise=require(_0x35ad('0x4'));var rp=require(_0x35ad('0x5'));var fs=require('fs');var path=require(_0x35ad('0x6'));var rimraf=require(_0x35ad('0x7'));var config=require(_0x35ad('0x8'));var attributes=require(_0x35ad('0x9'));module[_0x35ad('0xa')]=function(_0x436dcb,_0x36c606){return _0x436dcb[_0x35ad('0xb')]('UserVoiceQueue',attributes,{'tableName':_0x35ad('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0x34e8=['user_has_voice_queues','lodash','util','../../config/logger','api','bluebird','request-promise','path','rimraf','../../config/environment','./userVoiceQueue.attributes','exports','UserVoiceQueue'];(function(_0x5349f9,_0xa1db60){var _0x36faaa=function(_0xe7236c){while(--_0xe7236c){_0x5349f9['push'](_0x5349f9['shift']());}};_0x36faaa(++_0xa1db60);}(_0x34e8,0x12c));var _0x834e=function(_0x29b626,_0xad350d){_0x29b626=_0x29b626-0x0;var _0x320bc5=_0x34e8[_0x29b626];return _0x320bc5;};'use strict';var _=require(_0x834e('0x0'));var util=require(_0x834e('0x1'));var logger=require(_0x834e('0x2'))(_0x834e('0x3'));var moment=require('moment');var BPromise=require(_0x834e('0x4'));var rp=require(_0x834e('0x5'));var fs=require('fs');var path=require(_0x834e('0x6'));var rimraf=require(_0x834e('0x7'));var config=require(_0x834e('0x8'));var attributes=require(_0x834e('0x9'));module[_0x834e('0xa')]=function(_0x4a2018,_0x858aa1){return _0x4a2018['define'](_0x834e('0xb'),attributes,{'tableName':_0x834e('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/userVoiceQueue/userVoiceQueue.rpc.js b/server/api/userVoiceQueue/userVoiceQueue.rpc.js index 636aa0d..b28b5ad 100644 --- a/server/api/userVoiceQueue/userVoiceQueue.rpc.js +++ b/server/api/userVoiceQueue/userVoiceQueue.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xc163=['debug','stringify','error','code','message','result','catch','util','moment','bluebird','randomstring','ioredis','../../mysqldb','../../config/utils','../../config/logger','rpc','client','http','request','then','info','UserVoiceQueue,\x20%s,\x20%s','request\x20sent'];(function(_0x2de932,_0x47dfc8){var _0x4e55b7=function(_0x38ef1e){while(--_0x38ef1e){_0x2de932['push'](_0x2de932['shift']());}};_0x4e55b7(++_0x47dfc8);}(_0xc163,0x18e));var _0x3c16=function(_0x2641f9,_0x26715f){_0x2641f9=_0x2641f9-0x0;var _0x585741=_0xc163[_0x2641f9];return _0x585741;};'use strict';var _=require('lodash');var util=require(_0x3c16('0x0'));var moment=require(_0x3c16('0x1'));var BPromise=require(_0x3c16('0x2'));var rs=require(_0x3c16('0x3'));var fs=require('fs');var Redis=require(_0x3c16('0x4'));var db=require(_0x3c16('0x5'))['db'];var utils=require(_0x3c16('0x6'));var logger=require(_0x3c16('0x7'))(_0x3c16('0x8'));var config=require('../../config/environment');var jayson=require('jayson/promise');var client=jayson[_0x3c16('0x9')][_0x3c16('0xa')]({'port':0x232a});function respondWithRpcPromise(_0x17693e,_0x1b59f1,_0x16c55b){return new BPromise(function(_0x361a91,_0x217223){return client[_0x3c16('0xb')](_0x17693e,_0x16c55b)[_0x3c16('0xc')](function(_0x577155){logger[_0x3c16('0xd')](_0x3c16('0xe'),_0x1b59f1,_0x3c16('0xf'));logger[_0x3c16('0x10')]('UserVoiceQueue,\x20%s,\x20%s,\x20%s',_0x1b59f1,_0x3c16('0xf'),JSON[_0x3c16('0x11')](_0x577155));if(_0x577155['error']){if(_0x577155[_0x3c16('0x12')][_0x3c16('0x13')]===0x1f4){logger[_0x3c16('0x12')](_0x3c16('0xe'),_0x1b59f1,_0x577155['error'][_0x3c16('0x14')]);return _0x217223(_0x577155['error']['message']);}logger[_0x3c16('0x12')](_0x3c16('0xe'),_0x1b59f1,_0x577155['error'][_0x3c16('0x14')]);return _0x361a91(_0x577155[_0x3c16('0x12')][_0x3c16('0x14')]);}else{logger[_0x3c16('0xd')](_0x3c16('0xe'),_0x1b59f1,_0x3c16('0xf'));_0x361a91(_0x577155[_0x3c16('0x15')][_0x3c16('0x14')]);}})[_0x3c16('0x16')](function(_0x55cd3d){logger['error'](_0x3c16('0xe'),_0x1b59f1,_0x55cd3d);_0x217223(_0x55cd3d);});});} \ No newline at end of file +var _0xb851=['then','info','UserVoiceQueue,\x20%s,\x20%s','request\x20sent','UserVoiceQueue,\x20%s,\x20%s,\x20%s','stringify','error','code','message','result','util','randomstring','ioredis','../../mysqldb','../../config/utils','../../config/logger','rpc','../../config/environment','client','request'];(function(_0x1f1469,_0x4f8ca2){var _0x113587=function(_0x1f1e00){while(--_0x1f1e00){_0x1f1469['push'](_0x1f1469['shift']());}};_0x113587(++_0x4f8ca2);}(_0xb851,0x186));var _0x1b85=function(_0x4418e6,_0x529660){_0x4418e6=_0x4418e6-0x0;var _0xa24623=_0xb851[_0x4418e6];return _0xa24623;};'use strict';var _=require('lodash');var util=require(_0x1b85('0x0'));var moment=require('moment');var BPromise=require('bluebird');var rs=require(_0x1b85('0x1'));var fs=require('fs');var Redis=require(_0x1b85('0x2'));var db=require(_0x1b85('0x3'))['db'];var utils=require(_0x1b85('0x4'));var logger=require(_0x1b85('0x5'))(_0x1b85('0x6'));var config=require(_0x1b85('0x7'));var jayson=require('jayson/promise');var client=jayson[_0x1b85('0x8')]['http']({'port':0x232a});function respondWithRpcPromise(_0x19c36e,_0x3fff10,_0x103e65){return new BPromise(function(_0x519043,_0x413b61){return client[_0x1b85('0x9')](_0x19c36e,_0x103e65)[_0x1b85('0xa')](function(_0x2bbdaa){logger[_0x1b85('0xb')](_0x1b85('0xc'),_0x3fff10,_0x1b85('0xd'));logger['debug'](_0x1b85('0xe'),_0x3fff10,_0x1b85('0xd'),JSON[_0x1b85('0xf')](_0x2bbdaa));if(_0x2bbdaa[_0x1b85('0x10')]){if(_0x2bbdaa['error'][_0x1b85('0x11')]===0x1f4){logger[_0x1b85('0x10')](_0x1b85('0xc'),_0x3fff10,_0x2bbdaa[_0x1b85('0x10')][_0x1b85('0x12')]);return _0x413b61(_0x2bbdaa[_0x1b85('0x10')][_0x1b85('0x12')]);}logger[_0x1b85('0x10')](_0x1b85('0xc'),_0x3fff10,_0x2bbdaa[_0x1b85('0x10')][_0x1b85('0x12')]);return _0x519043(_0x2bbdaa[_0x1b85('0x10')][_0x1b85('0x12')]);}else{logger[_0x1b85('0xb')]('UserVoiceQueue,\x20%s,\x20%s',_0x3fff10,'request\x20sent');_0x519043(_0x2bbdaa[_0x1b85('0x13')][_0x1b85('0x12')]);}})['catch'](function(_0x204a81){logger[_0x1b85('0x10')](_0x1b85('0xc'),_0x3fff10,_0x204a81);_0x413b61(_0x204a81);});});} \ No newline at end of file diff --git a/server/api/userVoiceQueueRt/index.js b/server/api/userVoiceQueueRt/index.js index 8378236..94fdb90 100644 --- a/server/api/userVoiceQueueRt/index.js +++ b/server/api/userVoiceQueueRt/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x7a68=['Router','../../components/auth/service','../../components/interaction/service','multer','util','path','connect-timeout','express'];(function(_0x3d9857,_0x7e310d){var _0x1390a5=function(_0x6facb2){while(--_0x6facb2){_0x3d9857['push'](_0x3d9857['shift']());}};_0x1390a5(++_0x7e310d);}(_0x7a68,0xb3));var _0x87a6=function(_0x45cf81,_0x40701e){_0x45cf81=_0x45cf81-0x0;var _0x1a7a92=_0x7a68[_0x45cf81];return _0x1a7a92;};'use strict';var multer=require(_0x87a6('0x0'));var util=require(_0x87a6('0x1'));var path=require(_0x87a6('0x2'));var timeout=require(_0x87a6('0x3'));var express=require(_0x87a6('0x4'));var router=express[_0x87a6('0x5')]();var auth=require(_0x87a6('0x6'));var interaction=require(_0x87a6('0x7'));var config=require('../../config/environment');module['exports']=router; \ No newline at end of file +var _0xdd8a=['exports','multer','path','connect-timeout','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0x4a9fb1,_0x273043){var _0x348672=function(_0x142b69){while(--_0x142b69){_0x4a9fb1['push'](_0x4a9fb1['shift']());}};_0x348672(++_0x273043);}(_0xdd8a,0xb0));var _0xadd8=function(_0x28d7b5,_0x1305a4){_0x28d7b5=_0x28d7b5-0x0;var _0x1ed035=_0xdd8a[_0x28d7b5];return _0x1ed035;};'use strict';var multer=require(_0xadd8('0x0'));var util=require('util');var path=require(_0xadd8('0x1'));var timeout=require(_0xadd8('0x2'));var express=require('express');var router=express['Router']();var auth=require(_0xadd8('0x3'));var interaction=require(_0xadd8('0x4'));var config=require(_0xadd8('0x5'));module[_0xadd8('0x6')]=router; \ No newline at end of file diff --git a/server/api/userVoiceQueueRt/userVoiceQueueRt.attributes.js b/server/api/userVoiceQueueRt/userVoiceQueueRt.attributes.js index 4e88a00..d891007 100644 --- a/server/api/userVoiceQueueRt/userVoiceQueueRt.attributes.js +++ b/server/api/userVoiceQueueRt/userVoiceQueueRt.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x5423=['INTEGER','Required\x20by\x20Asterisk','STRING','queue_interface','sequelize','exports'];(function(_0x4c443b,_0x45afef){var _0x152745=function(_0x1a1d70){while(--_0x1a1d70){_0x4c443b['push'](_0x4c443b['shift']());}};_0x152745(++_0x45afef);}(_0x5423,0xbe));var _0x3542=function(_0x5b4271,_0x2f1e5d){_0x5b4271=_0x5b4271-0x0;var _0x10127e=_0x5423[_0x5b4271];return _0x10127e;};'use strict';var Sequelize=require(_0x3542('0x0'));module[_0x3542('0x1')]={'uniqueid':{'type':Sequelize[_0x3542('0x2')],'primaryKey':!![],'autoIncrement':!![],'comment':_0x3542('0x3')},'membername':{'type':Sequelize[_0x3542('0x4')],'allowNull':![],'comment':_0x3542('0x3')},'UserId':{'type':Sequelize[_0x3542('0x2')],'allowNull':![]},'queue_name':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0x3542('0x5'),'comment':_0x3542('0x3')},'VoiceQueueId':{'type':Sequelize['INTEGER'],'allowNull':![]},'interface':{'type':Sequelize[_0x3542('0x4')],'allowNull':![],'unique':_0x3542('0x5'),'comment':_0x3542('0x3')},'penalty':{'type':Sequelize['INTEGER'](0xb),'defaultValue':0x0,'comment':_0x3542('0x3')},'paused':{'type':Sequelize['INTEGER'](0xb),'defaultValue':0x0,'comment':'Required\x20by\x20Asterisk'}}; \ No newline at end of file +var _0xef4f=['exports','INTEGER','STRING','Required\x20by\x20Asterisk','queue_interface','sequelize'];(function(_0x2c96f6,_0x877207){var _0x6d4808=function(_0x567e0c){while(--_0x567e0c){_0x2c96f6['push'](_0x2c96f6['shift']());}};_0x6d4808(++_0x877207);}(_0xef4f,0x1e5));var _0xfef4=function(_0x32e979,_0x141815){_0x32e979=_0x32e979-0x0;var _0xa2742f=_0xef4f[_0x32e979];return _0xa2742f;};'use strict';var Sequelize=require(_0xfef4('0x0'));module[_0xfef4('0x1')]={'uniqueid':{'type':Sequelize[_0xfef4('0x2')],'primaryKey':!![],'autoIncrement':!![],'comment':'Required\x20by\x20Asterisk'},'membername':{'type':Sequelize[_0xfef4('0x3')],'allowNull':![],'comment':_0xfef4('0x4')},'UserId':{'type':Sequelize[_0xfef4('0x2')],'allowNull':![]},'queue_name':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0xfef4('0x5'),'comment':_0xfef4('0x4')},'VoiceQueueId':{'type':Sequelize[_0xfef4('0x2')],'allowNull':![]},'interface':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0xfef4('0x5'),'comment':_0xfef4('0x4')},'penalty':{'type':Sequelize[_0xfef4('0x2')](0xb),'defaultValue':0x0,'comment':_0xfef4('0x4')},'paused':{'type':Sequelize['INTEGER'](0xb),'defaultValue':0x0,'comment':'Required\x20by\x20Asterisk'}}; \ No newline at end of file diff --git a/server/api/userVoiceQueueRt/userVoiceQueueRt.events.js b/server/api/userVoiceQueueRt/userVoiceQueueRt.events.js index 72ffda6..ea3adb9 100644 --- a/server/api/userVoiceQueueRt/userVoiceQueueRt.events.js +++ b/server/api/userVoiceQueueRt/userVoiceQueueRt.events.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xf82a=['events','UserVoiceQueueRt','setMaxListeners','update','remove','emit','exports'];(function(_0x554483,_0x409b0f){var _0x2846de=function(_0x3ca57f){while(--_0x3ca57f){_0x554483['push'](_0x554483['shift']());}};_0x2846de(++_0x409b0f);}(_0xf82a,0xfc));var _0xaf82=function(_0x30c0b2,_0x42c47f){_0x30c0b2=_0x30c0b2-0x0;var _0x54a74b=_0xf82a[_0x30c0b2];return _0x54a74b;};'use strict';var EventEmitter=require(_0xaf82('0x0'));var UserVoiceQueueRt=require('../../mysqldb')['db'][_0xaf82('0x1')];var UserVoiceQueueRtEvents=new EventEmitter();UserVoiceQueueRtEvents[_0xaf82('0x2')](0x0);var events={'afterCreate':'save','afterUpdate':_0xaf82('0x3'),'afterDestroy':_0xaf82('0x4')};function emitEvent(_0xfa4870){return function(_0x42dc01,_0x49f7c2,_0x2ab99c){UserVoiceQueueRtEvents[_0xaf82('0x5')](_0xfa4870+':'+_0x42dc01['id'],_0x42dc01);UserVoiceQueueRtEvents[_0xaf82('0x5')](_0xfa4870,_0x42dc01);_0x2ab99c(null);};}for(var e in events){if(events['hasOwnProperty'](e)){var event=events[e];UserVoiceQueueRt['hook'](e,emitEvent(event));}}module[_0xaf82('0x6')]=UserVoiceQueueRtEvents; \ No newline at end of file +var _0x4e34=['update','emit','hasOwnProperty','hook','exports','../../mysqldb','UserVoiceQueueRt','setMaxListeners','save'];(function(_0xac03a9,_0x13b66c){var _0x5b890e=function(_0x2c639f){while(--_0x2c639f){_0xac03a9['push'](_0xac03a9['shift']());}};_0x5b890e(++_0x13b66c);}(_0x4e34,0x10a));var _0x44e3=function(_0x2d5d35,_0x47608a){_0x2d5d35=_0x2d5d35-0x0;var _0x36d10f=_0x4e34[_0x2d5d35];return _0x36d10f;};'use strict';var EventEmitter=require('events');var UserVoiceQueueRt=require(_0x44e3('0x0'))['db'][_0x44e3('0x1')];var UserVoiceQueueRtEvents=new EventEmitter();UserVoiceQueueRtEvents[_0x44e3('0x2')](0x0);var events={'afterCreate':_0x44e3('0x3'),'afterUpdate':_0x44e3('0x4'),'afterDestroy':'remove'};function emitEvent(_0x419861){return function(_0x5c3832,_0x1f039f,_0x3c971a){UserVoiceQueueRtEvents[_0x44e3('0x5')](_0x419861+':'+_0x5c3832['id'],_0x5c3832);UserVoiceQueueRtEvents[_0x44e3('0x5')](_0x419861,_0x5c3832);_0x3c971a(null);};}for(var e in events){if(events[_0x44e3('0x6')](e)){var event=events[e];UserVoiceQueueRt[_0x44e3('0x7')](e,emitEvent(event));}}module[_0x44e3('0x8')]=UserVoiceQueueRtEvents; \ No newline at end of file diff --git a/server/api/userVoiceQueueRt/userVoiceQueueRt.model.js b/server/api/userVoiceQueueRt/userVoiceQueueRt.model.js index 5512c47..205a126 100644 --- a/server/api/userVoiceQueueRt/userVoiceQueueRt.model.js +++ b/server/api/userVoiceQueueRt/userVoiceQueueRt.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x979b=['../../config/logger','api','moment','request-promise','path','./userVoiceQueueRt.attributes','exports','UserVoiceQueueRt','user_has_voice_queues_rt','lodash','util'];(function(_0x48259f,_0x64a254){var _0x4adc11=function(_0x2e6f21){while(--_0x2e6f21){_0x48259f['push'](_0x48259f['shift']());}};_0x4adc11(++_0x64a254);}(_0x979b,0xda));var _0xb979=function(_0x3f1710,_0x3877a2){_0x3f1710=_0x3f1710-0x0;var _0x528458=_0x979b[_0x3f1710];return _0x528458;};'use strict';var _=require(_0xb979('0x0'));var util=require(_0xb979('0x1'));var logger=require(_0xb979('0x2'))(_0xb979('0x3'));var moment=require(_0xb979('0x4'));var BPromise=require('bluebird');var rp=require(_0xb979('0x5'));var fs=require('fs');var path=require(_0xb979('0x6'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0xb979('0x7'));module[_0xb979('0x8')]=function(_0x5510f2,_0x4e2fdb){return _0x5510f2['define'](_0xb979('0x9'),attributes,{'tableName':_0xb979('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0x5d4b=['user_has_voice_queues_rt','util','../../config/logger','api','moment','bluebird','path','rimraf','UserVoiceQueueRt'];(function(_0x321bb2,_0x202794){var _0x9c12ed=function(_0x263dd3){while(--_0x263dd3){_0x321bb2['push'](_0x321bb2['shift']());}};_0x9c12ed(++_0x202794);}(_0x5d4b,0x64));var _0xb5d4=function(_0xe7367c,_0x1c542b){_0xe7367c=_0xe7367c-0x0;var _0x1acef4=_0x5d4b[_0xe7367c];return _0x1acef4;};'use strict';var _=require('lodash');var util=require(_0xb5d4('0x0'));var logger=require(_0xb5d4('0x1'))(_0xb5d4('0x2'));var moment=require(_0xb5d4('0x3'));var BPromise=require(_0xb5d4('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xb5d4('0x5'));var rimraf=require(_0xb5d4('0x6'));var config=require('../../config/environment');var attributes=require('./userVoiceQueueRt.attributes');module['exports']=function(_0x2ad980,_0x44ac7d){return _0x2ad980['define'](_0xb5d4('0x7'),attributes,{'tableName':_0xb5d4('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/userVoiceQueueRt/userVoiceQueueRt.rpc.js b/server/api/userVoiceQueueRt/userVoiceQueueRt.rpc.js index 2b5eb89..b6c1e5b 100644 --- a/server/api/userVoiceQueueRt/userVoiceQueueRt.rpc.js +++ b/server/api/userVoiceQueueRt/userVoiceQueueRt.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x5b6d=['code','message','GetVoiceQueueRtPauses','findAll','options','raw','sequelize','COUNT','literal','`paused`\x20=\x201,\x201,\x20null','debug','catch','util','moment','ioredis','../../mysqldb','rpc','../../config/environment','client','http','defaults','redis','localhost','socket.io-emitter','register','request','then','info','UserVoiceQueueRt,\x20%s,\x20%s','request\x20sent','UserVoiceQueueRt,\x20%s,\x20%s,\x20%s','stringify','error'];(function(_0x50a463,_0x517a1a){var _0x2971df=function(_0x1f9cf1){while(--_0x1f9cf1){_0x50a463['push'](_0x50a463['shift']());}};_0x2971df(++_0x517a1a);}(_0x5b6d,0x177));var _0xd5b6=function(_0x1109db,_0x5c6dc7){_0x1109db=_0x1109db-0x0;var _0x27d529=_0x5b6d[_0x1109db];return _0x27d529;};'use strict';var _=require('lodash');var util=require(_0xd5b6('0x0'));var moment=require(_0xd5b6('0x1'));var BPromise=require('bluebird');var rs=require('randomstring');var fs=require('fs');var Redis=require(_0xd5b6('0x2'));var db=require(_0xd5b6('0x3'))['db'];var utils=require('../../config/utils');var logger=require('../../config/logger')(_0xd5b6('0x4'));var config=require(_0xd5b6('0x5'));var jayson=require('jayson/promise');var client=jayson[_0xd5b6('0x6')][_0xd5b6('0x7')]({'port':0x232a});config['redis']=_[_0xd5b6('0x8')](config[_0xd5b6('0x9')],{'host':_0xd5b6('0xa'),'port':0x18eb});var socket=require(_0xd5b6('0xb'))(new Redis(config[_0xd5b6('0x9')]));require('./userVoiceQueueRt.socket')[_0xd5b6('0xc')](socket);function respondWithRpcPromise(_0x3b9363,_0x5498a3,_0x3d7799){return new BPromise(function(_0x2d829e,_0x3829ed){return client[_0xd5b6('0xd')](_0x3b9363,_0x3d7799)[_0xd5b6('0xe')](function(_0x3e3fce){logger[_0xd5b6('0xf')](_0xd5b6('0x10'),_0x5498a3,_0xd5b6('0x11'));logger['debug'](_0xd5b6('0x12'),_0x5498a3,_0xd5b6('0x11'),JSON[_0xd5b6('0x13')](_0x3e3fce));if(_0x3e3fce[_0xd5b6('0x14')]){if(_0x3e3fce[_0xd5b6('0x14')][_0xd5b6('0x15')]===0x1f4){logger['error'](_0xd5b6('0x10'),_0x5498a3,_0x3e3fce[_0xd5b6('0x14')][_0xd5b6('0x16')]);return _0x3829ed(_0x3e3fce[_0xd5b6('0x14')][_0xd5b6('0x16')]);}logger['error'](_0xd5b6('0x10'),_0x5498a3,_0x3e3fce[_0xd5b6('0x14')][_0xd5b6('0x16')]);return _0x2d829e(_0x3e3fce['error'][_0xd5b6('0x16')]);}else{logger['info'](_0xd5b6('0x10'),_0x5498a3,_0xd5b6('0x11'));_0x2d829e(_0x3e3fce['result']['message']);}})['catch'](function(_0x2b5998){logger[_0xd5b6('0x14')](_0xd5b6('0x10'),_0x5498a3,_0x2b5998);_0x3829ed(_0x2b5998);});});}exports[_0xd5b6('0x17')]=function(_0x2ef0df){var _0x50bd4e=this;return new Promise(function(_0x45bc5e,_0x4b83a1){return db['UserVoiceQueueRt'][_0xd5b6('0x18')]({'raw':_0x2ef0df[_0xd5b6('0x19')]?_0x2ef0df['options'][_0xd5b6('0x1a')]===undefined?!![]:![]:!![],'where':_0x2ef0df[_0xd5b6('0x19')]?_0x2ef0df['options']['where']||null:null,'attributes':[[db[_0xd5b6('0x1b')]['fn'](_0xd5b6('0x1c'),db[_0xd5b6('0x1b')]['fn']('IF',db[_0xd5b6('0x1b')][_0xd5b6('0x1d')](_0xd5b6('0x1e')))),'outboundQueuePauses']]})['then'](function(_0x4289e2){logger['info'](_0xd5b6('0x17'),_0x2ef0df);logger[_0xd5b6('0x1f')](_0xd5b6('0x17'),_0x2ef0df,JSON['stringify'](_0x4289e2));_0x45bc5e(_0x4289e2);})[_0xd5b6('0x20')](function(_0x7cfa42){logger['error'](_0xd5b6('0x17'),_0x7cfa42[_0xd5b6('0x16')],_0x2ef0df);_0x4b83a1(_0x50bd4e[_0xd5b6('0x14')](0x1f4,_0x7cfa42['message']));});});}; \ No newline at end of file +var _0x91a5=['../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','client','http','redis','defaults','socket.io-emitter','./userVoiceQueueRt.socket','register','request','info','request\x20sent','UserVoiceQueueRt,\x20%s,\x20%s,\x20%s','error','UserVoiceQueueRt,\x20%s,\x20%s','message','result','GetVoiceQueueRtPauses','UserVoiceQueueRt','findAll','options','raw','where','sequelize','literal','`paused`\x20=\x201,\x201,\x20null','outboundQueuePauses','debug','stringify','catch','lodash','util','moment','bluebird','randomstring'];(function(_0x47fdd1,_0x207554){var _0x171afe=function(_0x480057){while(--_0x480057){_0x47fdd1['push'](_0x47fdd1['shift']());}};_0x171afe(++_0x207554);}(_0x91a5,0xb9));var _0x591a=function(_0x350343,_0x256f69){_0x350343=_0x350343-0x0;var _0x9afc1c=_0x91a5[_0x350343];return _0x9afc1c;};'use strict';var _=require(_0x591a('0x0'));var util=require(_0x591a('0x1'));var moment=require(_0x591a('0x2'));var BPromise=require(_0x591a('0x3'));var rs=require(_0x591a('0x4'));var fs=require('fs');var Redis=require('ioredis');var db=require('../../mysqldb')['db'];var utils=require(_0x591a('0x5'));var logger=require(_0x591a('0x6'))(_0x591a('0x7'));var config=require(_0x591a('0x8'));var jayson=require(_0x591a('0x9'));var client=jayson[_0x591a('0xa')][_0x591a('0xb')]({'port':0x232a});config[_0x591a('0xc')]=_[_0x591a('0xd')](config[_0x591a('0xc')],{'host':'localhost','port':0x18eb});var socket=require(_0x591a('0xe'))(new Redis(config[_0x591a('0xc')]));require(_0x591a('0xf'))[_0x591a('0x10')](socket);function respondWithRpcPromise(_0x1cd16a,_0x1f8a6b,_0x5a5aaa){return new BPromise(function(_0x324785,_0x1f16fe){return client[_0x591a('0x11')](_0x1cd16a,_0x5a5aaa)['then'](function(_0x201a54){logger[_0x591a('0x12')]('UserVoiceQueueRt,\x20%s,\x20%s',_0x1f8a6b,_0x591a('0x13'));logger['debug'](_0x591a('0x14'),_0x1f8a6b,_0x591a('0x13'),JSON['stringify'](_0x201a54));if(_0x201a54[_0x591a('0x15')]){if(_0x201a54['error']['code']===0x1f4){logger[_0x591a('0x15')](_0x591a('0x16'),_0x1f8a6b,_0x201a54['error']['message']);return _0x1f16fe(_0x201a54[_0x591a('0x15')]['message']);}logger[_0x591a('0x15')](_0x591a('0x16'),_0x1f8a6b,_0x201a54[_0x591a('0x15')][_0x591a('0x17')]);return _0x324785(_0x201a54[_0x591a('0x15')]['message']);}else{logger[_0x591a('0x12')](_0x591a('0x16'),_0x1f8a6b,'request\x20sent');_0x324785(_0x201a54[_0x591a('0x18')]['message']);}})['catch'](function(_0x3efee3){logger[_0x591a('0x15')](_0x591a('0x16'),_0x1f8a6b,_0x3efee3);_0x1f16fe(_0x3efee3);});});}exports[_0x591a('0x19')]=function(_0x1cf3e){var _0x17e31b=this;return new Promise(function(_0x1c1333,_0x19bd07){return db[_0x591a('0x1a')][_0x591a('0x1b')]({'raw':_0x1cf3e[_0x591a('0x1c')]?_0x1cf3e[_0x591a('0x1c')][_0x591a('0x1d')]===undefined?!![]:![]:!![],'where':_0x1cf3e[_0x591a('0x1c')]?_0x1cf3e['options'][_0x591a('0x1e')]||null:null,'attributes':[[db[_0x591a('0x1f')]['fn']('COUNT',db[_0x591a('0x1f')]['fn']('IF',db[_0x591a('0x1f')][_0x591a('0x20')](_0x591a('0x21')))),_0x591a('0x22')]]})['then'](function(_0x58b8d6){logger['info'](_0x591a('0x19'),_0x1cf3e);logger[_0x591a('0x23')](_0x591a('0x19'),_0x1cf3e,JSON[_0x591a('0x24')](_0x58b8d6));_0x1c1333(_0x58b8d6);})[_0x591a('0x25')](function(_0x52c4a2){logger['error']('GetVoiceQueueRtPauses',_0x52c4a2[_0x591a('0x17')],_0x1cf3e);_0x19bd07(_0x17e31b['error'](0x1f4,_0x52c4a2[_0x591a('0x17')]));});});}; \ No newline at end of file diff --git a/server/api/userVoiceQueueRt/userVoiceQueueRt.socket.js b/server/api/userVoiceQueueRt/userVoiceQueueRt.socket.js index 8f4b299..5ab5b38 100644 --- a/server/api/userVoiceQueueRt/userVoiceQueueRt.socket.js +++ b/server/api/userVoiceQueueRt/userVoiceQueueRt.socket.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x3cec=['./userVoiceQueueRt.events','remove','removeListener','length','userVoiceQueueRt:'];(function(_0x5235dd,_0x3f91cf){var _0x13059d=function(_0x355a98){while(--_0x355a98){_0x5235dd['push'](_0x5235dd['shift']());}};_0x13059d(++_0x3f91cf);}(_0x3cec,0xeb));var _0xc3ce=function(_0x435c27,_0x4b8aee){_0x435c27=_0x435c27-0x0;var _0xb57abe=_0x3cec[_0x435c27];return _0xb57abe;};'use strict';var UserVoiceQueueRtEvents=require(_0xc3ce('0x0'));var events=['save',_0xc3ce('0x1'),'update'];function createListener(_0x2b0418,_0x61688){return function(_0x8212c0){_0x61688['emit'](_0x2b0418,_0x8212c0);};}function removeListener(_0x2a8ad4,_0x13ff9c){return function(){UserVoiceQueueRtEvents[_0xc3ce('0x2')](_0x2a8ad4,_0x13ff9c);};}exports['register']=function(_0x721827){for(var _0x429ae5=0x0,_0x48aff7=events[_0xc3ce('0x3')];_0x429ae5<_0x48aff7;_0x429ae5++){var _0x533aff=events[_0x429ae5];var _0x41a70d=createListener(_0xc3ce('0x4')+_0x533aff,_0x721827);UserVoiceQueueRtEvents['on'](_0x533aff,_0x41a70d);}}; \ No newline at end of file +var _0x0a89=['update','emit','removeListener','register','length','userVoiceQueueRt:','save','remove'];(function(_0x14add3,_0x13ce8d){var _0x4a174f=function(_0x2b3ed7){while(--_0x2b3ed7){_0x14add3['push'](_0x14add3['shift']());}};_0x4a174f(++_0x13ce8d);}(_0x0a89,0x19e));var _0x90a8=function(_0x116677,_0x40acfc){_0x116677=_0x116677-0x0;var _0xeeb023=_0x0a89[_0x116677];return _0xeeb023;};'use strict';var UserVoiceQueueRtEvents=require('./userVoiceQueueRt.events');var events=[_0x90a8('0x0'),_0x90a8('0x1'),_0x90a8('0x2')];function createListener(_0x5d4b6a,_0x16e5fa){return function(_0x495b95){_0x16e5fa[_0x90a8('0x3')](_0x5d4b6a,_0x495b95);};}function removeListener(_0x29ef99,_0x5e9b88){return function(){UserVoiceQueueRtEvents[_0x90a8('0x4')](_0x29ef99,_0x5e9b88);};}exports[_0x90a8('0x5')]=function(_0xe620e2){for(var _0x4ab49b=0x0,_0x16831d=events[_0x90a8('0x6')];_0x4ab49b<_0x16831d;_0x4ab49b++){var _0x48b6e7=events[_0x4ab49b];var _0x4edcc5=createListener(_0x90a8('0x7')+_0x48b6e7,_0xe620e2);UserVoiceQueueRtEvents['on'](_0x48b6e7,_0x4edcc5);}}; \ No newline at end of file diff --git a/server/api/userWhatsappQueue/index.js b/server/api/userWhatsappQueue/index.js index 30bf1e5..a7d954a 100644 --- a/server/api/userWhatsappQueue/index.js +++ b/server/api/userWhatsappQueue/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xf297=['../../components/interaction/service','multer','util','path','connect-timeout','express','Router'];(function(_0x3df517,_0x373364){var _0x25ddd5=function(_0xdd2381){while(--_0xdd2381){_0x3df517['push'](_0x3df517['shift']());}};_0x25ddd5(++_0x373364);}(_0xf297,0x19e));var _0x7f29=function(_0x1e7b16,_0x4607a1){_0x1e7b16=_0x1e7b16-0x0;var _0x37fadc=_0xf297[_0x1e7b16];return _0x37fadc;};'use strict';var multer=require(_0x7f29('0x0'));var util=require(_0x7f29('0x1'));var path=require(_0x7f29('0x2'));var timeout=require(_0x7f29('0x3'));var express=require(_0x7f29('0x4'));var router=express[_0x7f29('0x5')]();var auth=require('../../components/auth/service');var interaction=require(_0x7f29('0x6'));var config=require('../../config/environment');module['exports']=router; \ No newline at end of file +var _0x4bfc=['exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../config/environment'];(function(_0x2b5ee5,_0x3741bf){var _0x1c480b=function(_0x437a18){while(--_0x437a18){_0x2b5ee5['push'](_0x2b5ee5['shift']());}};_0x1c480b(++_0x3741bf);}(_0x4bfc,0x18d));var _0xc4bf=function(_0x517bd5,_0x6535ec){_0x517bd5=_0x517bd5-0x0;var _0x39d5a3=_0x4bfc[_0x517bd5];return _0x39d5a3;};'use strict';var multer=require(_0xc4bf('0x0'));var util=require(_0xc4bf('0x1'));var path=require(_0xc4bf('0x2'));var timeout=require(_0xc4bf('0x3'));var express=require(_0xc4bf('0x4'));var router=express[_0xc4bf('0x5')]();var auth=require(_0xc4bf('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0xc4bf('0x7'));module[_0xc4bf('0x8')]=router; \ No newline at end of file diff --git a/server/api/userWhatsappQueue/userWhatsappQueue.attributes.js b/server/api/userWhatsappQueue/userWhatsappQueue.attributes.js index 71c3e27..0b22277 100644 --- a/server/api/userWhatsappQueue/userWhatsappQueue.attributes.js +++ b/server/api/userWhatsappQueue/userWhatsappQueue.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xa9e0=['sequelize','exports','INTEGER'];(function(_0x4852ef,_0x825616){var _0x24391e=function(_0x28e63e){while(--_0x28e63e){_0x4852ef['push'](_0x4852ef['shift']());}};_0x24391e(++_0x825616);}(_0xa9e0,0x123));var _0x0a9e=function(_0x1da04e,_0x31024b){_0x1da04e=_0x1da04e-0x0;var _0xdd8c41=_0xa9e0[_0x1da04e];return _0xdd8c41;};'use strict';var Sequelize=require(_0x0a9e('0x0'));module[_0x0a9e('0x1')]={'penalty':{'type':Sequelize[_0x0a9e('0x2')],'defaultValue':0x0}}; \ No newline at end of file +var _0xe706=['INTEGER','sequelize','exports'];(function(_0x56fb3c,_0xe31ce4){var _0x342d10=function(_0x8eea83){while(--_0x8eea83){_0x56fb3c['push'](_0x56fb3c['shift']());}};_0x342d10(++_0xe31ce4);}(_0xe706,0xa3));var _0x6e70=function(_0x213065,_0x3afd09){_0x213065=_0x213065-0x0;var _0x50a790=_0xe706[_0x213065];return _0x50a790;};'use strict';var Sequelize=require(_0x6e70('0x0'));module[_0x6e70('0x1')]={'penalty':{'type':Sequelize[_0x6e70('0x2')],'defaultValue':0x0}}; \ No newline at end of file diff --git a/server/api/userWhatsappQueue/userWhatsappQueue.model.js b/server/api/userWhatsappQueue/userWhatsappQueue.model.js index 2c16214..32087b5 100644 --- a/server/api/userWhatsappQueue/userWhatsappQueue.model.js +++ b/server/api/userWhatsappQueue/userWhatsappQueue.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xd7d1=['lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./userWhatsappQueue.attributes','exports','define','UserWhatsappQueue','user_has_whatsapp_queues'];(function(_0x55e08b,_0x421620){var _0xd1a7ff=function(_0x58c7ff){while(--_0x58c7ff){_0x55e08b['push'](_0x55e08b['shift']());}};_0xd1a7ff(++_0x421620);}(_0xd7d1,0x1b3));var _0x1d7d=function(_0x3b890e,_0x29107a){_0x3b890e=_0x3b890e-0x0;var _0x47bc3c=_0xd7d1[_0x3b890e];return _0x47bc3c;};'use strict';var _=require(_0x1d7d('0x0'));var util=require(_0x1d7d('0x1'));var logger=require(_0x1d7d('0x2'))(_0x1d7d('0x3'));var moment=require(_0x1d7d('0x4'));var BPromise=require(_0x1d7d('0x5'));var rp=require(_0x1d7d('0x6'));var fs=require('fs');var path=require(_0x1d7d('0x7'));var rimraf=require(_0x1d7d('0x8'));var config=require(_0x1d7d('0x9'));var attributes=require(_0x1d7d('0xa'));module[_0x1d7d('0xb')]=function(_0x14b2b9,_0x5a8cf3){return _0x14b2b9[_0x1d7d('0xc')](_0x1d7d('0xd'),attributes,{'tableName':_0x1d7d('0xe'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0x84a0=['define','UserWhatsappQueue','user_has_whatsapp_queues','lodash','util','../../config/logger','api','bluebird','request-promise','../../config/environment','./userWhatsappQueue.attributes'];(function(_0x3e0b8f,_0x1cddeb){var _0x22f742=function(_0xacb1bc){while(--_0xacb1bc){_0x3e0b8f['push'](_0x3e0b8f['shift']());}};_0x22f742(++_0x1cddeb);}(_0x84a0,0x66));var _0x084a=function(_0x30fe8c,_0x272cb9){_0x30fe8c=_0x30fe8c-0x0;var _0x4f1068=_0x84a0[_0x30fe8c];return _0x4f1068;};'use strict';var _=require(_0x084a('0x0'));var util=require(_0x084a('0x1'));var logger=require(_0x084a('0x2'))(_0x084a('0x3'));var moment=require('moment');var BPromise=require(_0x084a('0x4'));var rp=require(_0x084a('0x5'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x084a('0x6'));var attributes=require(_0x084a('0x7'));module['exports']=function(_0x16f8a7,_0x4325ce){return _0x16f8a7[_0x084a('0x8')](_0x084a('0x9'),attributes,{'tableName':_0x084a('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/userWhatsappQueue/userWhatsappQueue.rpc.js b/server/api/userWhatsappQueue/userWhatsappQueue.rpc.js index 8580a27..cefd66f 100644 --- a/server/api/userWhatsappQueue/userWhatsappQueue.rpc.js +++ b/server/api/userWhatsappQueue/userWhatsappQueue.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xa9e0=['http','info','UserWhatsappQueue,\x20%s,\x20%s','request\x20sent','debug','UserWhatsappQueue,\x20%s,\x20%s,\x20%s','code','error','message','result','catch','lodash','util','moment','ioredis','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise'];(function(_0xb20c01,_0x13bcbc){var _0x2aaafe=function(_0x4ae615){while(--_0x4ae615){_0xb20c01['push'](_0xb20c01['shift']());}};_0x2aaafe(++_0x13bcbc);}(_0xa9e0,0x123));var _0x0a9e=function(_0x49ca18,_0x5e6d05){_0x49ca18=_0x49ca18-0x0;var _0x145d54=_0xa9e0[_0x49ca18];return _0x145d54;};'use strict';var _=require(_0x0a9e('0x0'));var util=require(_0x0a9e('0x1'));var moment=require(_0x0a9e('0x2'));var BPromise=require('bluebird');var rs=require('randomstring');var fs=require('fs');var Redis=require(_0x0a9e('0x3'));var db=require('../../mysqldb')['db'];var utils=require(_0x0a9e('0x4'));var logger=require(_0x0a9e('0x5'))(_0x0a9e('0x6'));var config=require(_0x0a9e('0x7'));var jayson=require(_0x0a9e('0x8'));var client=jayson['client'][_0x0a9e('0x9')]({'port':0x232a});function respondWithRpcPromise(_0x441e3a,_0x2cc193,_0x5f41ea){return new BPromise(function(_0x503809,_0xe42b77){return client['request'](_0x441e3a,_0x5f41ea)['then'](function(_0x39753a){logger[_0x0a9e('0xa')](_0x0a9e('0xb'),_0x2cc193,_0x0a9e('0xc'));logger[_0x0a9e('0xd')](_0x0a9e('0xe'),_0x2cc193,'request\x20sent',JSON['stringify'](_0x39753a));if(_0x39753a['error']){if(_0x39753a['error'][_0x0a9e('0xf')]===0x1f4){logger[_0x0a9e('0x10')](_0x0a9e('0xb'),_0x2cc193,_0x39753a[_0x0a9e('0x10')][_0x0a9e('0x11')]);return _0xe42b77(_0x39753a[_0x0a9e('0x10')]['message']);}logger[_0x0a9e('0x10')](_0x0a9e('0xb'),_0x2cc193,_0x39753a[_0x0a9e('0x10')][_0x0a9e('0x11')]);return _0x503809(_0x39753a[_0x0a9e('0x10')][_0x0a9e('0x11')]);}else{logger['info'](_0x0a9e('0xb'),_0x2cc193,'request\x20sent');_0x503809(_0x39753a[_0x0a9e('0x12')]['message']);}})[_0x0a9e('0x13')](function(_0x12066b){logger['error'](_0x0a9e('0xb'),_0x2cc193,_0x12066b);_0xe42b77(_0x12066b);});});} \ No newline at end of file +var _0xa9e0=['http','info','UserWhatsappQueue,\x20%s,\x20%s','request\x20sent','debug','UserWhatsappQueue,\x20%s,\x20%s,\x20%s','code','error','message','result','catch','lodash','util','moment','ioredis','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise'];(function(_0x570a7c,_0x3dfc83){var _0x42f4c7=function(_0x1affe7){while(--_0x1affe7){_0x570a7c['push'](_0x570a7c['shift']());}};_0x42f4c7(++_0x3dfc83);}(_0xa9e0,0x123));var _0x0a9e=function(_0x4bfac3,_0x58324d){_0x4bfac3=_0x4bfac3-0x0;var _0x15f0f2=_0xa9e0[_0x4bfac3];return _0x15f0f2;};'use strict';var _=require(_0x0a9e('0x0'));var util=require(_0x0a9e('0x1'));var moment=require(_0x0a9e('0x2'));var BPromise=require('bluebird');var rs=require('randomstring');var fs=require('fs');var Redis=require(_0x0a9e('0x3'));var db=require('../../mysqldb')['db'];var utils=require(_0x0a9e('0x4'));var logger=require(_0x0a9e('0x5'))(_0x0a9e('0x6'));var config=require(_0x0a9e('0x7'));var jayson=require(_0x0a9e('0x8'));var client=jayson['client'][_0x0a9e('0x9')]({'port':0x232a});function respondWithRpcPromise(_0x441e3a,_0x2cc193,_0x5f41ea){return new BPromise(function(_0x503809,_0xe42b77){return client['request'](_0x441e3a,_0x5f41ea)['then'](function(_0x39753a){logger[_0x0a9e('0xa')](_0x0a9e('0xb'),_0x2cc193,_0x0a9e('0xc'));logger[_0x0a9e('0xd')](_0x0a9e('0xe'),_0x2cc193,'request\x20sent',JSON['stringify'](_0x39753a));if(_0x39753a['error']){if(_0x39753a['error'][_0x0a9e('0xf')]===0x1f4){logger[_0x0a9e('0x10')](_0x0a9e('0xb'),_0x2cc193,_0x39753a[_0x0a9e('0x10')][_0x0a9e('0x11')]);return _0xe42b77(_0x39753a[_0x0a9e('0x10')]['message']);}logger[_0x0a9e('0x10')](_0x0a9e('0xb'),_0x2cc193,_0x39753a[_0x0a9e('0x10')][_0x0a9e('0x11')]);return _0x503809(_0x39753a[_0x0a9e('0x10')][_0x0a9e('0x11')]);}else{logger['info'](_0x0a9e('0xb'),_0x2cc193,'request\x20sent');_0x503809(_0x39753a[_0x0a9e('0x12')]['message']);}})[_0x0a9e('0x13')](function(_0x12066b){logger['error'](_0x0a9e('0xb'),_0x2cc193,_0x12066b);_0xe42b77(_0x12066b);});});} \ No newline at end of file diff --git a/server/api/variable/index.js b/server/api/variable/index.js index f16686a..b7c68dc 100644 --- a/server/api/variable/index.js +++ b/server/api/variable/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xe0b8=['create','/:id','delete','exports','multer','util','path','connect-timeout','express','Router','../../config/environment','./variable.controller','get','isAuthenticated','index','show','post'];(function(_0x89346f,_0x1ec3fa){var _0x1f124b=function(_0x31ef46){while(--_0x31ef46){_0x89346f['push'](_0x89346f['shift']());}};_0x1f124b(++_0x1ec3fa);}(_0xe0b8,0xae));var _0x8e0b=function(_0x213db8,_0x18b1b3){_0x213db8=_0x213db8-0x0;var _0x463dc9=_0xe0b8[_0x213db8];return _0x463dc9;};'use strict';var multer=require(_0x8e0b('0x0'));var util=require(_0x8e0b('0x1'));var path=require(_0x8e0b('0x2'));var timeout=require(_0x8e0b('0x3'));var express=require(_0x8e0b('0x4'));var router=express[_0x8e0b('0x5')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x8e0b('0x6'));var controller=require(_0x8e0b('0x7'));router[_0x8e0b('0x8')]('/',auth[_0x8e0b('0x9')](),controller[_0x8e0b('0xa')]);router[_0x8e0b('0x8')]('/:id',auth[_0x8e0b('0x9')](),controller[_0x8e0b('0xb')]);router[_0x8e0b('0xc')]('/',auth[_0x8e0b('0x9')](),controller[_0x8e0b('0xd')]);router['put'](_0x8e0b('0xe'),auth[_0x8e0b('0x9')](),controller['update']);router[_0x8e0b('0xf')](_0x8e0b('0xe'),auth[_0x8e0b('0x9')](),controller['destroy']);module[_0x8e0b('0x10')]=router; \ No newline at end of file +var _0xe852=['update','delete','destroy','util','path','connect-timeout','express','Router','../../config/environment','./variable.controller','get','isAuthenticated','index','/:id','post','create'];(function(_0x422ef2,_0x2fc966){var _0x35648b=function(_0x4db179){while(--_0x4db179){_0x422ef2['push'](_0x422ef2['shift']());}};_0x35648b(++_0x2fc966);}(_0xe852,0x123));var _0x2e85=function(_0x3ab51d,_0x2fa01d){_0x3ab51d=_0x3ab51d-0x0;var _0x29a04e=_0xe852[_0x3ab51d];return _0x29a04e;};'use strict';var multer=require('multer');var util=require(_0x2e85('0x0'));var path=require(_0x2e85('0x1'));var timeout=require(_0x2e85('0x2'));var express=require(_0x2e85('0x3'));var router=express[_0x2e85('0x4')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x2e85('0x5'));var controller=require(_0x2e85('0x6'));router[_0x2e85('0x7')]('/',auth[_0x2e85('0x8')](),controller[_0x2e85('0x9')]);router[_0x2e85('0x7')](_0x2e85('0xa'),auth[_0x2e85('0x8')](),controller['show']);router[_0x2e85('0xb')]('/',auth[_0x2e85('0x8')](),controller[_0x2e85('0xc')]);router['put'](_0x2e85('0xa'),auth['isAuthenticated'](),controller[_0x2e85('0xd')]);router[_0x2e85('0xe')](_0x2e85('0xa'),auth[_0x2e85('0x8')](),controller[_0x2e85('0xf')]);module['exports']=router; \ No newline at end of file diff --git a/server/api/variable/variable.attributes.js b/server/api/variable/variable.attributes.js index 6278fe5..655e5ae 100644 --- a/server/api/variable/variable.attributes.js +++ b/server/api/variable/variable.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x40c7=['exports','STRING','name','sequelize'];(function(_0x52dc42,_0x10a429){var _0x13145c=function(_0x50003e){while(--_0x50003e){_0x52dc42['push'](_0x52dc42['shift']());}};_0x13145c(++_0x10a429);}(_0x40c7,0x1cf));var _0x740c=function(_0x3526a5,_0x56825d){_0x3526a5=_0x3526a5-0x0;var _0x44f869=_0x40c7[_0x3526a5];return _0x44f869;};'use strict';var Sequelize=require(_0x740c('0x0'));module[_0x740c('0x1')]={'name':{'type':Sequelize[_0x740c('0x2')],'unique':_0x740c('0x3'),'allowNull':![],'validate':{'notEmpty':!![]}},'description':{'type':Sequelize[_0x740c('0x2')]}}; \ No newline at end of file +var _0x476b=['STRING'];(function(_0x61c887,_0x5522c2){var _0x200c44=function(_0x4d4448){while(--_0x4d4448){_0x61c887['push'](_0x61c887['shift']());}};_0x200c44(++_0x5522c2);}(_0x476b,0x1e9));var _0xb476=function(_0x501510,_0x61caa9){_0x501510=_0x501510-0x0;var _0x1e6ee5=_0x476b[_0x501510];return _0x1e6ee5;};'use strict';var Sequelize=require('sequelize');module['exports']={'name':{'type':Sequelize['STRING'],'unique':'name','allowNull':![],'validate':{'notEmpty':!![]}},'description':{'type':Sequelize[_0xb476('0x0')]}}; \ No newline at end of file diff --git a/server/api/variable/variable.controller.js b/server/api/variable/variable.controller.js index 3d5b02e..3d11843 100644 --- a/server/api/variable/variable.controller.js +++ b/server/api/variable/variable.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x1a67=['attributes','intersection','fields','length','hasOwnProperty','nolimit','order','sort','where','pick','VIRTUAL','filter','merge','options','includeAll','include','findAll','rows','catch','show','params','rawAttributes','find','create','body','user','Unable\x20to\x20retrieve\x20the\x20current\x20user','role','get','Variables','UserProfileSection','userProfileId','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','html-pdf','zip-dir','fast-json-patch','moment','bluebird','path','sox','to-csv','ejs','lodash','squel','crypto','jsforce','desk.js','querystring','papaparse','../../components/parsers/qs','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','sendStatus','status','end','json','count','offset','limit','set','apply','save','update','destroy','then','UserProfileResource','error','stack','name','send','index','Variable','fieldName','type','key','model','map','query','keys','filters'];(function(_0x1fc618,_0x2241f3){var _0xdb3e1f=function(_0x3ba8e6){while(--_0x3ba8e6){_0x1fc618['push'](_0x1fc618['shift']());}};_0xdb3e1f(++_0x2241f3);}(_0x1a67,0x1c5));var _0x71a6=function(_0x5ab743,_0x825c78){_0x5ab743=_0x5ab743-0x0;var _0x4d9a5d=_0x1a67[_0x5ab743];return _0x4d9a5d;};'use strict';var pdf=require(_0x71a6('0x0'));var emlformat=require('eml-format');var rimraf=require('rimraf');var zipdir=require(_0x71a6('0x1'));var jsonpatch=require(_0x71a6('0x2'));var rp=require('request-promise');var moment=require(_0x71a6('0x3'));var BPromise=require(_0x71a6('0x4'));var Mustache=require('mustache');var util=require('util');var path=require(_0x71a6('0x5'));var sox=require(_0x71a6('0x6'));var csv=require(_0x71a6('0x7'));var ejs=require(_0x71a6('0x8'));var fs=require('fs');var _=require(_0x71a6('0x9'));var squel=require(_0x71a6('0xa'));var crypto=require(_0x71a6('0xb'));var jsforce=require(_0x71a6('0xc'));var deskjs=require(_0x71a6('0xd'));var toCsv=require('to-csv');var querystring=require(_0x71a6('0xe'));var Papa=require(_0x71a6('0xf'));var Redis=require('ioredis');var authService=require('../../components/auth/service');var qs=require(_0x71a6('0x10'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0x71a6('0x11'));var logger=require(_0x71a6('0x12'))(_0x71a6('0x13'));var utils=require(_0x71a6('0x14'));var config=require(_0x71a6('0x15'));var db=require(_0x71a6('0x16'))['db'];function respondWithStatusCode(_0x436615,_0x21badc){_0x21badc=_0x21badc||0xcc;return function(_0x3474ca){if(_0x3474ca){return _0x436615[_0x71a6('0x17')](_0x21badc);}return _0x436615[_0x71a6('0x18')](_0x21badc)[_0x71a6('0x19')]();};}function respondWithResult(_0x3df439,_0x4bdbd9){_0x4bdbd9=_0x4bdbd9||0xc8;return function(_0x3638f6){if(_0x3638f6){return _0x3df439['status'](_0x4bdbd9)[_0x71a6('0x1a')](_0x3638f6);}};}function respondWithFilteredResult(_0x213a7e,_0x26991c){return function(_0x2fc836){if(_0x2fc836){var _0x1d3d76=_0x2fc836[_0x71a6('0x1b')],_0xf95ed4=_0x26991c['offset'],_0x1d199c=_0x26991c[_0x71a6('0x1c')]+_0x26991c[_0x71a6('0x1d')],_0x567ace;if(_0x1d199c>=_0x1d3d76){_0x1d199c=_0x1d3d76;_0x567ace=0xc8;}else{_0x567ace=0xce;}_0x213a7e[_0x71a6('0x18')](_0x567ace);return _0x213a7e[_0x71a6('0x1e')]('Content-Range',_0xf95ed4+'-'+_0x1d199c+'/'+_0x1d3d76)[_0x71a6('0x1a')](_0x2fc836);}return null;};}function patchUpdates(_0x372088){return function(_0x151488){try{jsonpatch[_0x71a6('0x1f')](_0x151488,_0x372088,!![]);}catch(_0x1da001){return BPromise['reject'](_0x1da001);}return _0x151488[_0x71a6('0x20')]();};}function saveUpdates(_0x2fcaf8,_0xe4f6ba){return function(_0x40cbf5){if(_0x40cbf5){return _0x40cbf5[_0x71a6('0x21')](_0x2fcaf8)['then'](function(_0x1f08eb){return _0x1f08eb;});}return null;};}function removeEntity(_0xce8177,_0x1e02ac){return function(_0x15d3c3){if(_0x15d3c3){return _0x15d3c3[_0x71a6('0x22')]()[_0x71a6('0x23')](function(){var _0x4b3ddf=_0x15d3c3['get']({'plain':!![]});var _0x10f68e='Variables';return db[_0x71a6('0x24')][_0x71a6('0x22')]({'where':{'type':_0x10f68e,'resourceId':_0x4b3ddf['id']}})[_0x71a6('0x23')](function(){return _0x15d3c3;});})[_0x71a6('0x23')](function(){_0xce8177['status'](0xcc)['end']();});}};}function handleEntityNotFound(_0x51061a,_0x4075c0){return function(_0x19ca4d){if(!_0x19ca4d){_0x51061a['sendStatus'](0x194);}return _0x19ca4d;};}function handleError(_0x39e91a,_0xa0d0d7){_0xa0d0d7=_0xa0d0d7||0x1f4;return function(_0x527677){logger[_0x71a6('0x25')](_0x527677[_0x71a6('0x26')]);if(_0x527677[_0x71a6('0x27')]){delete _0x527677[_0x71a6('0x27')];}_0x39e91a[_0x71a6('0x18')](_0xa0d0d7)[_0x71a6('0x28')](_0x527677);};}exports[_0x71a6('0x29')]=function(_0x469a4c,_0x2a6f6b){var _0x4e0f74={},_0x58ff7d={},_0x232457={'count':0x0,'rows':[]};var _0x42edcb=_['map'](db[_0x71a6('0x2a')]['rawAttributes'],function(_0x115712){return{'name':_0x115712[_0x71a6('0x2b')],'type':_0x115712[_0x71a6('0x2c')][_0x71a6('0x2d')]};});_0x58ff7d[_0x71a6('0x2e')]=_[_0x71a6('0x2f')](_0x42edcb,_0x71a6('0x27'));_0x58ff7d[_0x71a6('0x30')]=_[_0x71a6('0x31')](_0x469a4c['query']);_0x58ff7d[_0x71a6('0x32')]=_['intersection'](_0x58ff7d[_0x71a6('0x2e')],_0x58ff7d[_0x71a6('0x30')]);_0x4e0f74[_0x71a6('0x33')]=_[_0x71a6('0x34')](_0x58ff7d[_0x71a6('0x2e')],qs[_0x71a6('0x35')](_0x469a4c['query'][_0x71a6('0x35')]));_0x4e0f74['attributes']=_0x4e0f74[_0x71a6('0x33')][_0x71a6('0x36')]?_0x4e0f74[_0x71a6('0x33')]:_0x58ff7d['model'];if(!_0x469a4c[_0x71a6('0x30')][_0x71a6('0x37')](_0x71a6('0x38'))){_0x4e0f74[_0x71a6('0x1d')]=qs[_0x71a6('0x1d')](_0x469a4c[_0x71a6('0x30')]['limit']);_0x4e0f74['offset']=qs['offset'](_0x469a4c[_0x71a6('0x30')][_0x71a6('0x1c')]);}_0x4e0f74[_0x71a6('0x39')]=qs[_0x71a6('0x3a')](_0x469a4c[_0x71a6('0x30')][_0x71a6('0x3a')]);_0x4e0f74[_0x71a6('0x3b')]=qs[_0x71a6('0x32')](_[_0x71a6('0x3c')](_0x469a4c[_0x71a6('0x30')],_0x58ff7d['filters']),_0x42edcb);if(_0x469a4c[_0x71a6('0x30')]['filter']){_0x4e0f74[_0x71a6('0x3b')]=_['merge'](_0x4e0f74[_0x71a6('0x3b')],{'$or':_[_0x71a6('0x2f')](_0x42edcb,function(_0x515c33){if(_0x515c33['type']!==_0x71a6('0x3d')){var _0x5b93b9={};_0x5b93b9[_0x515c33[_0x71a6('0x27')]]={'$like':'%'+_0x469a4c['query'][_0x71a6('0x3e')]+'%'};return _0x5b93b9;}})});}_0x4e0f74=_[_0x71a6('0x3f')]({},_0x4e0f74,_0x469a4c[_0x71a6('0x40')]);var _0x3f4117={'where':_0x4e0f74[_0x71a6('0x3b')]};return db[_0x71a6('0x2a')][_0x71a6('0x1b')](_0x3f4117)[_0x71a6('0x23')](function(_0x11a221){_0x232457[_0x71a6('0x1b')]=_0x11a221;if(_0x469a4c[_0x71a6('0x30')][_0x71a6('0x41')]){_0x4e0f74[_0x71a6('0x42')]=[{'all':!![]}];}return db[_0x71a6('0x2a')][_0x71a6('0x43')](_0x4e0f74);})[_0x71a6('0x23')](function(_0x154078){_0x232457[_0x71a6('0x44')]=_0x154078;return _0x232457;})[_0x71a6('0x23')](respondWithFilteredResult(_0x2a6f6b,_0x4e0f74))[_0x71a6('0x45')](handleError(_0x2a6f6b,null));};exports[_0x71a6('0x46')]=function(_0x212d8b,_0x596282){var _0x452851={'raw':!![],'where':{'id':_0x212d8b[_0x71a6('0x47')]['id']}},_0x16c398={};_0x16c398[_0x71a6('0x2e')]=_[_0x71a6('0x31')](db[_0x71a6('0x2a')][_0x71a6('0x48')]);_0x16c398[_0x71a6('0x30')]=_[_0x71a6('0x31')](_0x212d8b[_0x71a6('0x30')]);_0x16c398['filters']=_['intersection'](_0x16c398[_0x71a6('0x2e')],_0x16c398[_0x71a6('0x30')]);_0x452851[_0x71a6('0x33')]=_[_0x71a6('0x34')](_0x16c398[_0x71a6('0x2e')],qs[_0x71a6('0x35')](_0x212d8b['query']['fields']));_0x452851['attributes']=_0x452851[_0x71a6('0x33')][_0x71a6('0x36')]?_0x452851['attributes']:_0x16c398['model'];if(_0x212d8b['query'][_0x71a6('0x41')]){_0x452851[_0x71a6('0x42')]=[{'all':!![]}];}_0x452851=_['merge']({},_0x452851,_0x212d8b[_0x71a6('0x40')]);return db['Variable'][_0x71a6('0x49')](_0x452851)[_0x71a6('0x23')](handleEntityNotFound(_0x596282,null))['then'](respondWithResult(_0x596282,null))[_0x71a6('0x45')](handleError(_0x596282,null));};exports[_0x71a6('0x4a')]=function(_0x2fc88a,_0x2c6af6){return db[_0x71a6('0x2a')][_0x71a6('0x4a')](_0x2fc88a[_0x71a6('0x4b')],{})[_0x71a6('0x23')](function(_0x5ee630){var _0xfb28a5=_0x2fc88a[_0x71a6('0x4c')]['get']({'plain':!![]});if(!_0xfb28a5)throw new Error(_0x71a6('0x4d'));if(_0xfb28a5[_0x71a6('0x4e')]==='user'){var _0x5d5f6b=_0x5ee630[_0x71a6('0x4f')]({'plain':!![]});var _0x39e8fe=_0x71a6('0x50');return db[_0x71a6('0x51')][_0x71a6('0x49')]({'where':{'name':_0x39e8fe,'userProfileId':_0xfb28a5[_0x71a6('0x52')]},'raw':!![]})['then'](function(_0x4a6326){if(_0x4a6326&&_0x4a6326['autoAssociation']===0x0){return db[_0x71a6('0x24')][_0x71a6('0x4a')]({'name':_0x5d5f6b[_0x71a6('0x27')],'resourceId':_0x5d5f6b['id'],'type':_0x4a6326[_0x71a6('0x27')],'sectionId':_0x4a6326['id']},{})['then'](function(){return _0x5ee630;});}else{return _0x5ee630;}})['catch'](function(_0x579dbb){logger[_0x71a6('0x25')](_0x71a6('0x53'),_0x579dbb);throw _0x579dbb;});}return _0x5ee630;})[_0x71a6('0x23')](respondWithResult(_0x2c6af6,0xc9))['catch'](handleError(_0x2c6af6,null));};exports[_0x71a6('0x21')]=function(_0xd5f1b4,_0x291815){if(_0xd5f1b4[_0x71a6('0x4b')]['id']){delete _0xd5f1b4[_0x71a6('0x4b')]['id'];}return db['Variable']['find']({'where':{'id':_0xd5f1b4[_0x71a6('0x47')]['id']}})['then'](handleEntityNotFound(_0x291815,null))[_0x71a6('0x23')](saveUpdates(_0xd5f1b4[_0x71a6('0x4b')],null))['then'](respondWithResult(_0x291815,null))[_0x71a6('0x45')](handleError(_0x291815,null));};exports[_0x71a6('0x22')]=function(_0x3bdb7d,_0x538cc4){return db[_0x71a6('0x2a')][_0x71a6('0x49')]({'where':{'id':_0x3bdb7d[_0x71a6('0x47')]['id']}})[_0x71a6('0x23')](handleEntityNotFound(_0x538cc4,null))[_0x71a6('0x23')](removeEntity(_0x538cc4,null))[_0x71a6('0x45')](handleError(_0x538cc4,null));}; \ No newline at end of file +var _0x5686=['Unable\x20to\x20retrieve\x20the\x20current\x20user','UserProfileSection','userProfileId','autoAssociation','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','params','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','mustache','util','path','to-csv','ejs','lodash','squel','crypto','jsforce','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','sendStatus','end','status','json','count','offset','limit','Content-Range','apply','reject','save','update','then','destroy','get','Variables','UserProfileResource','error','name','send','index','map','Variable','rawAttributes','fieldName','type','key','model','keys','query','intersection','fields','attributes','length','hasOwnProperty','nolimit','order','sort','filters','pick','filter','merge','where','VIRTUAL','options','include','rows','catch','includeAll','find','create','body','user'];(function(_0x26659f,_0x32f426){var _0x42667f=function(_0xdc0b71){while(--_0xdc0b71){_0x26659f['push'](_0x26659f['shift']());}};_0x42667f(++_0x32f426);}(_0x5686,0x1be));var _0x6568=function(_0xfa634c,_0x414e0e){_0xfa634c=_0xfa634c-0x0;var _0x73e478=_0x5686[_0xfa634c];return _0x73e478;};'use strict';var pdf=require(_0x6568('0x0'));var emlformat=require(_0x6568('0x1'));var rimraf=require(_0x6568('0x2'));var zipdir=require(_0x6568('0x3'));var jsonpatch=require(_0x6568('0x4'));var rp=require(_0x6568('0x5'));var moment=require(_0x6568('0x6'));var BPromise=require(_0x6568('0x7'));var Mustache=require(_0x6568('0x8'));var util=require(_0x6568('0x9'));var path=require(_0x6568('0xa'));var sox=require('sox');var csv=require(_0x6568('0xb'));var ejs=require(_0x6568('0xc'));var fs=require('fs');var _=require(_0x6568('0xd'));var squel=require(_0x6568('0xe'));var crypto=require(_0x6568('0xf'));var jsforce=require(_0x6568('0x10'));var deskjs=require(_0x6568('0x11'));var toCsv=require(_0x6568('0xb'));var querystring=require(_0x6568('0x12'));var Papa=require(_0x6568('0x13'));var Redis=require(_0x6568('0x14'));var authService=require(_0x6568('0x15'));var qs=require(_0x6568('0x16'));var as=require(_0x6568('0x17'));var hardwareService=require('../../config/license/hardware');var logger=require(_0x6568('0x18'))(_0x6568('0x19'));var utils=require(_0x6568('0x1a'));var config=require(_0x6568('0x1b'));var db=require(_0x6568('0x1c'))['db'];function respondWithStatusCode(_0x3302b6,_0x113f92){_0x113f92=_0x113f92||0xcc;return function(_0x69e265){if(_0x69e265){return _0x3302b6[_0x6568('0x1d')](_0x113f92);}return _0x3302b6['status'](_0x113f92)[_0x6568('0x1e')]();};}function respondWithResult(_0x4c28ef,_0x363d0c){_0x363d0c=_0x363d0c||0xc8;return function(_0x1b554f){if(_0x1b554f){return _0x4c28ef[_0x6568('0x1f')](_0x363d0c)[_0x6568('0x20')](_0x1b554f);}};}function respondWithFilteredResult(_0x4878e2,_0x4d986a){return function(_0x25549a){if(_0x25549a){var _0x18fd2f=_0x25549a[_0x6568('0x21')],_0x4e1cbb=_0x4d986a['offset'],_0x314bb0=_0x4d986a[_0x6568('0x22')]+_0x4d986a[_0x6568('0x23')],_0x447a7a;if(_0x314bb0>=_0x18fd2f){_0x314bb0=_0x18fd2f;_0x447a7a=0xc8;}else{_0x447a7a=0xce;}_0x4878e2[_0x6568('0x1f')](_0x447a7a);return _0x4878e2['set'](_0x6568('0x24'),_0x4e1cbb+'-'+_0x314bb0+'/'+_0x18fd2f)[_0x6568('0x20')](_0x25549a);}return null;};}function patchUpdates(_0x31002c){return function(_0x37073f){try{jsonpatch[_0x6568('0x25')](_0x37073f,_0x31002c,!![]);}catch(_0x72d864){return BPromise[_0x6568('0x26')](_0x72d864);}return _0x37073f[_0x6568('0x27')]();};}function saveUpdates(_0x59793a,_0x1d18a0){return function(_0x319a14){if(_0x319a14){return _0x319a14[_0x6568('0x28')](_0x59793a)[_0x6568('0x29')](function(_0x13181f){return _0x13181f;});}return null;};}function removeEntity(_0x157e09,_0xaeee7){return function(_0x27fa7e){if(_0x27fa7e){return _0x27fa7e[_0x6568('0x2a')]()['then'](function(){var _0x561cbe=_0x27fa7e[_0x6568('0x2b')]({'plain':!![]});var _0x3639e6=_0x6568('0x2c');return db[_0x6568('0x2d')]['destroy']({'where':{'type':_0x3639e6,'resourceId':_0x561cbe['id']}})[_0x6568('0x29')](function(){return _0x27fa7e;});})[_0x6568('0x29')](function(){_0x157e09[_0x6568('0x1f')](0xcc)[_0x6568('0x1e')]();});}};}function handleEntityNotFound(_0x2f6e73,_0x463c4c){return function(_0x2c445a){if(!_0x2c445a){_0x2f6e73[_0x6568('0x1d')](0x194);}return _0x2c445a;};}function handleError(_0x1f40fe,_0x6e2eb5){_0x6e2eb5=_0x6e2eb5||0x1f4;return function(_0x49ce93){logger[_0x6568('0x2e')](_0x49ce93['stack']);if(_0x49ce93[_0x6568('0x2f')]){delete _0x49ce93[_0x6568('0x2f')];}_0x1f40fe[_0x6568('0x1f')](_0x6e2eb5)[_0x6568('0x30')](_0x49ce93);};}exports[_0x6568('0x31')]=function(_0x14b5dd,_0x30e101){var _0xcf960e={},_0x338ba1={},_0x11e399={'count':0x0,'rows':[]};var _0x108160=_[_0x6568('0x32')](db[_0x6568('0x33')][_0x6568('0x34')],function(_0x3c8553){return{'name':_0x3c8553[_0x6568('0x35')],'type':_0x3c8553[_0x6568('0x36')][_0x6568('0x37')]};});_0x338ba1[_0x6568('0x38')]=_[_0x6568('0x32')](_0x108160,'name');_0x338ba1['query']=_[_0x6568('0x39')](_0x14b5dd[_0x6568('0x3a')]);_0x338ba1['filters']=_[_0x6568('0x3b')](_0x338ba1[_0x6568('0x38')],_0x338ba1[_0x6568('0x3a')]);_0xcf960e['attributes']=_[_0x6568('0x3b')](_0x338ba1[_0x6568('0x38')],qs[_0x6568('0x3c')](_0x14b5dd['query']['fields']));_0xcf960e[_0x6568('0x3d')]=_0xcf960e[_0x6568('0x3d')][_0x6568('0x3e')]?_0xcf960e[_0x6568('0x3d')]:_0x338ba1['model'];if(!_0x14b5dd[_0x6568('0x3a')][_0x6568('0x3f')](_0x6568('0x40'))){_0xcf960e[_0x6568('0x23')]=qs[_0x6568('0x23')](_0x14b5dd[_0x6568('0x3a')][_0x6568('0x23')]);_0xcf960e['offset']=qs[_0x6568('0x22')](_0x14b5dd[_0x6568('0x3a')]['offset']);}_0xcf960e[_0x6568('0x41')]=qs[_0x6568('0x42')](_0x14b5dd[_0x6568('0x3a')][_0x6568('0x42')]);_0xcf960e['where']=qs[_0x6568('0x43')](_[_0x6568('0x44')](_0x14b5dd[_0x6568('0x3a')],_0x338ba1[_0x6568('0x43')]),_0x108160);if(_0x14b5dd[_0x6568('0x3a')][_0x6568('0x45')]){_0xcf960e['where']=_[_0x6568('0x46')](_0xcf960e[_0x6568('0x47')],{'$or':_[_0x6568('0x32')](_0x108160,function(_0x1ef363){if(_0x1ef363[_0x6568('0x36')]!==_0x6568('0x48')){var _0x4e8f1f={};_0x4e8f1f[_0x1ef363['name']]={'$like':'%'+_0x14b5dd[_0x6568('0x3a')]['filter']+'%'};return _0x4e8f1f;}})});}_0xcf960e=_[_0x6568('0x46')]({},_0xcf960e,_0x14b5dd[_0x6568('0x49')]);var _0x3287c0={'where':_0xcf960e[_0x6568('0x47')]};return db[_0x6568('0x33')]['count'](_0x3287c0)[_0x6568('0x29')](function(_0x13f9fd){_0x11e399[_0x6568('0x21')]=_0x13f9fd;if(_0x14b5dd[_0x6568('0x3a')]['includeAll']){_0xcf960e[_0x6568('0x4a')]=[{'all':!![]}];}return db[_0x6568('0x33')]['findAll'](_0xcf960e);})[_0x6568('0x29')](function(_0x3b7feb){_0x11e399[_0x6568('0x4b')]=_0x3b7feb;return _0x11e399;})[_0x6568('0x29')](respondWithFilteredResult(_0x30e101,_0xcf960e))[_0x6568('0x4c')](handleError(_0x30e101,null));};exports['show']=function(_0xb20bf,_0x837734){var _0x455360={'raw':!![],'where':{'id':_0xb20bf['params']['id']}},_0x1b7e0b={};_0x1b7e0b[_0x6568('0x38')]=_['keys'](db[_0x6568('0x33')]['rawAttributes']);_0x1b7e0b['query']=_['keys'](_0xb20bf[_0x6568('0x3a')]);_0x1b7e0b['filters']=_['intersection'](_0x1b7e0b[_0x6568('0x38')],_0x1b7e0b[_0x6568('0x3a')]);_0x455360['attributes']=_[_0x6568('0x3b')](_0x1b7e0b['model'],qs[_0x6568('0x3c')](_0xb20bf[_0x6568('0x3a')]['fields']));_0x455360[_0x6568('0x3d')]=_0x455360['attributes'][_0x6568('0x3e')]?_0x455360[_0x6568('0x3d')]:_0x1b7e0b[_0x6568('0x38')];if(_0xb20bf[_0x6568('0x3a')][_0x6568('0x4d')]){_0x455360[_0x6568('0x4a')]=[{'all':!![]}];}_0x455360=_[_0x6568('0x46')]({},_0x455360,_0xb20bf['options']);return db[_0x6568('0x33')][_0x6568('0x4e')](_0x455360)[_0x6568('0x29')](handleEntityNotFound(_0x837734,null))['then'](respondWithResult(_0x837734,null))['catch'](handleError(_0x837734,null));};exports[_0x6568('0x4f')]=function(_0x3b265e,_0x182130){return db[_0x6568('0x33')]['create'](_0x3b265e[_0x6568('0x50')],{})[_0x6568('0x29')](function(_0x4a2b4f){var _0x2b9f64=_0x3b265e[_0x6568('0x51')]['get']({'plain':!![]});if(!_0x2b9f64)throw new Error(_0x6568('0x52'));if(_0x2b9f64['role']==='user'){var _0x225094=_0x4a2b4f[_0x6568('0x2b')]({'plain':!![]});var _0x5965b3=_0x6568('0x2c');return db[_0x6568('0x53')][_0x6568('0x4e')]({'where':{'name':_0x5965b3,'userProfileId':_0x2b9f64[_0x6568('0x54')]},'raw':!![]})['then'](function(_0x45fb9d){if(_0x45fb9d&&_0x45fb9d[_0x6568('0x55')]===0x0){return db[_0x6568('0x2d')][_0x6568('0x4f')]({'name':_0x225094[_0x6568('0x2f')],'resourceId':_0x225094['id'],'type':_0x45fb9d[_0x6568('0x2f')],'sectionId':_0x45fb9d['id']},{})[_0x6568('0x29')](function(){return _0x4a2b4f;});}else{return _0x4a2b4f;}})[_0x6568('0x4c')](function(_0x5ccdf2){logger[_0x6568('0x2e')](_0x6568('0x56'),_0x5ccdf2);throw _0x5ccdf2;});}return _0x4a2b4f;})[_0x6568('0x29')](respondWithResult(_0x182130,0xc9))['catch'](handleError(_0x182130,null));};exports[_0x6568('0x28')]=function(_0x383cc3,_0x272111){if(_0x383cc3[_0x6568('0x50')]['id']){delete _0x383cc3[_0x6568('0x50')]['id'];}return db['Variable'][_0x6568('0x4e')]({'where':{'id':_0x383cc3[_0x6568('0x57')]['id']}})['then'](handleEntityNotFound(_0x272111,null))['then'](saveUpdates(_0x383cc3['body'],null))['then'](respondWithResult(_0x272111,null))[_0x6568('0x4c')](handleError(_0x272111,null));};exports['destroy']=function(_0xeedf21,_0x3b4cd5){return db[_0x6568('0x33')]['find']({'where':{'id':_0xeedf21[_0x6568('0x57')]['id']}})[_0x6568('0x29')](handleEntityNotFound(_0x3b4cd5,null))[_0x6568('0x29')](removeEntity(_0x3b4cd5,null))[_0x6568('0x4c')](handleError(_0x3b4cd5,null));}; \ No newline at end of file diff --git a/server/api/variable/variable.model.js b/server/api/variable/variable.model.js index 7b2887a..cb043f7 100644 --- a/server/api/variable/variable.model.js +++ b/server/api/variable/variable.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xf874=['request-promise','path','rimraf','./variable.attributes','exports','lodash','../../config/logger','api','moment','bluebird'];(function(_0x5d38b4,_0x14bdba){var _0x4d4b5f=function(_0x4785c4){while(--_0x4785c4){_0x5d38b4['push'](_0x5d38b4['shift']());}};_0x4d4b5f(++_0x14bdba);}(_0xf874,0x177));var _0x4f87=function(_0x51b491,_0x47c4a1){_0x51b491=_0x51b491-0x0;var _0x4d7122=_0xf874[_0x51b491];return _0x4d7122;};'use strict';var _=require(_0x4f87('0x0'));var util=require('util');var logger=require(_0x4f87('0x1'))(_0x4f87('0x2'));var moment=require(_0x4f87('0x3'));var BPromise=require(_0x4f87('0x4'));var rp=require(_0x4f87('0x5'));var fs=require('fs');var path=require(_0x4f87('0x6'));var rimraf=require(_0x4f87('0x7'));var config=require('../../config/environment');var attributes=require(_0x4f87('0x8'));module[_0x4f87('0x9')]=function(_0x5d9a23,_0x50bcb8){return _0x5d9a23['define']('Variable',attributes,{'tableName':'tools_variables','paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0xb49a=['util','../../config/logger','api','moment','request-promise','path','./variable.attributes','exports','define','Variable','tools_variables','lodash'];(function(_0x1240f5,_0x59db92){var _0x1159e8=function(_0x4f34ab){while(--_0x4f34ab){_0x1240f5['push'](_0x1240f5['shift']());}};_0x1159e8(++_0x59db92);}(_0xb49a,0xfb));var _0xab49=function(_0x59da33,_0x555969){_0x59da33=_0x59da33-0x0;var _0x1da20f=_0xb49a[_0x59da33];return _0x1da20f;};'use strict';var _=require(_0xab49('0x0'));var util=require(_0xab49('0x1'));var logger=require(_0xab49('0x2'))(_0xab49('0x3'));var moment=require(_0xab49('0x4'));var BPromise=require('bluebird');var rp=require(_0xab49('0x5'));var fs=require('fs');var path=require(_0xab49('0x6'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0xab49('0x7'));module[_0xab49('0x8')]=function(_0x1cae1d,_0x3703cb){return _0x1cae1d[_0xab49('0x9')](_0xab49('0xa'),attributes,{'tableName':_0xab49('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/variable/variable.rpc.js b/server/api/variable/variable.rpc.js index 7c78073..052238c 100644 --- a/server/api/variable/variable.rpc.js +++ b/server/api/variable/variable.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xe061=['then','info','Variable,\x20%s,\x20%s','request\x20sent','debug','Variable,\x20%s,\x20%s,\x20%s','error','code','message','result','catch','ShowVariable','find','options','where','attributes','include','map','model','lodash','moment','bluebird','randomstring','ioredis','../../mysqldb','../../config/utils','rpc','../../config/environment','jayson/promise','client','request'];(function(_0x1486ce,_0x233c7f){var _0x10a7b2=function(_0xd96f47){while(--_0xd96f47){_0x1486ce['push'](_0x1486ce['shift']());}};_0x10a7b2(++_0x233c7f);}(_0xe061,0xcd));var _0x1e06=function(_0x130ed8,_0x131c21){_0x130ed8=_0x130ed8-0x0;var _0x146e15=_0xe061[_0x130ed8];return _0x146e15;};'use strict';var _=require(_0x1e06('0x0'));var util=require('util');var moment=require(_0x1e06('0x1'));var BPromise=require(_0x1e06('0x2'));var rs=require(_0x1e06('0x3'));var fs=require('fs');var Redis=require(_0x1e06('0x4'));var db=require(_0x1e06('0x5'))['db'];var utils=require(_0x1e06('0x6'));var logger=require('../../config/logger')(_0x1e06('0x7'));var config=require(_0x1e06('0x8'));var jayson=require(_0x1e06('0x9'));var client=jayson[_0x1e06('0xa')]['http']({'port':0x232a});function respondWithRpcPromise(_0x3cd9b0,_0xca47d1,_0x57f4c2){return new BPromise(function(_0x1f219f,_0x4af45d){return client[_0x1e06('0xb')](_0x3cd9b0,_0x57f4c2)[_0x1e06('0xc')](function(_0x3eb679){logger[_0x1e06('0xd')](_0x1e06('0xe'),_0xca47d1,_0x1e06('0xf'));logger[_0x1e06('0x10')](_0x1e06('0x11'),_0xca47d1,'request\x20sent',JSON['stringify'](_0x3eb679));if(_0x3eb679[_0x1e06('0x12')]){if(_0x3eb679[_0x1e06('0x12')][_0x1e06('0x13')]===0x1f4){logger[_0x1e06('0x12')]('Variable,\x20%s,\x20%s',_0xca47d1,_0x3eb679['error'][_0x1e06('0x14')]);return _0x4af45d(_0x3eb679[_0x1e06('0x12')]['message']);}logger['error'](_0x1e06('0xe'),_0xca47d1,_0x3eb679[_0x1e06('0x12')][_0x1e06('0x14')]);return _0x1f219f(_0x3eb679[_0x1e06('0x12')][_0x1e06('0x14')]);}else{logger[_0x1e06('0xd')](_0x1e06('0xe'),_0xca47d1,_0x1e06('0xf'));_0x1f219f(_0x3eb679[_0x1e06('0x15')][_0x1e06('0x14')]);}})[_0x1e06('0x16')](function(_0x77ebb7){logger[_0x1e06('0x12')](_0x1e06('0xe'),_0xca47d1,_0x77ebb7);_0x4af45d(_0x77ebb7);});});}exports[_0x1e06('0x17')]=function(_0x284bf6){var _0x448696=this;return new Promise(function(_0x56e1c7,_0x4af0b3){return db['Variable'][_0x1e06('0x18')]({'raw':_0x284bf6[_0x1e06('0x19')]?_0x284bf6[_0x1e06('0x19')]['raw']===undefined?!![]:![]:!![],'where':_0x284bf6['options']?_0x284bf6['options'][_0x1e06('0x1a')]||null:null,'attributes':_0x284bf6[_0x1e06('0x19')]?_0x284bf6[_0x1e06('0x19')][_0x1e06('0x1b')]||null:null,'include':_0x284bf6[_0x1e06('0x19')]?_0x284bf6[_0x1e06('0x19')][_0x1e06('0x1c')]?_[_0x1e06('0x1d')](_0x284bf6['options'][_0x1e06('0x1c')],function(_0x3faec9){return{'model':db[_0x3faec9[_0x1e06('0x1e')]],'as':_0x3faec9['as'],'attributes':_0x3faec9[_0x1e06('0x1b')],'include':_0x3faec9[_0x1e06('0x1c')]?_['map'](_0x3faec9[_0x1e06('0x1c')],function(_0x40f101){return{'model':db[_0x40f101['model']],'as':_0x40f101['as'],'attributes':_0x40f101[_0x1e06('0x1b')],'include':_0x40f101['include']?_['map'](_0x40f101[_0x1e06('0x1c')],function(_0x3456f7){return{'model':db[_0x3456f7[_0x1e06('0x1e')]],'as':_0x3456f7['as'],'attributes':_0x3456f7['attributes']};}):[]};}):[]};}):[]:[]})[_0x1e06('0xc')](function(_0x1f9350){logger[_0x1e06('0xd')](_0x1e06('0x17'),_0x284bf6);logger[_0x1e06('0x10')](_0x1e06('0x17'),_0x284bf6,JSON['stringify'](_0x1f9350));_0x56e1c7(_0x1f9350);})[_0x1e06('0x16')](function(_0x386b1e){logger[_0x1e06('0x12')](_0x1e06('0x17'),_0x386b1e[_0x1e06('0x14')],_0x284bf6);_0x4af0b3(_0x448696[_0x1e06('0x12')](0x1f4,_0x386b1e[_0x1e06('0x14')]));});});}; \ No newline at end of file +var _0xf659=['find','options','raw','where','attributes','include','map','model','util','bluebird','../../mysqldb','../../config/utils','../../config/logger','../../config/environment','http','request','then','info','Variable,\x20%s,\x20%s','debug','Variable,\x20%s,\x20%s,\x20%s','request\x20sent','stringify','error','code','message','catch','ShowVariable','Variable'];(function(_0x2e755f,_0x577386){var _0x14c52c=function(_0x5d494b){while(--_0x5d494b){_0x2e755f['push'](_0x2e755f['shift']());}};_0x14c52c(++_0x577386);}(_0xf659,0x7c));var _0x9f65=function(_0x25877f,_0x255018){_0x25877f=_0x25877f-0x0;var _0x3649bd=_0xf659[_0x25877f];return _0x3649bd;};'use strict';var _=require('lodash');var util=require(_0x9f65('0x0'));var moment=require('moment');var BPromise=require(_0x9f65('0x1'));var rs=require('randomstring');var fs=require('fs');var Redis=require('ioredis');var db=require(_0x9f65('0x2'))['db'];var utils=require(_0x9f65('0x3'));var logger=require(_0x9f65('0x4'))('rpc');var config=require(_0x9f65('0x5'));var jayson=require('jayson/promise');var client=jayson['client'][_0x9f65('0x6')]({'port':0x232a});function respondWithRpcPromise(_0x589863,_0x1b3b74,_0x2ef7ca){return new BPromise(function(_0x204e98,_0x4d86a4){return client[_0x9f65('0x7')](_0x589863,_0x2ef7ca)[_0x9f65('0x8')](function(_0x33d93a){logger[_0x9f65('0x9')](_0x9f65('0xa'),_0x1b3b74,'request\x20sent');logger[_0x9f65('0xb')](_0x9f65('0xc'),_0x1b3b74,_0x9f65('0xd'),JSON[_0x9f65('0xe')](_0x33d93a));if(_0x33d93a[_0x9f65('0xf')]){if(_0x33d93a['error'][_0x9f65('0x10')]===0x1f4){logger[_0x9f65('0xf')]('Variable,\x20%s,\x20%s',_0x1b3b74,_0x33d93a['error'][_0x9f65('0x11')]);return _0x4d86a4(_0x33d93a[_0x9f65('0xf')][_0x9f65('0x11')]);}logger['error'](_0x9f65('0xa'),_0x1b3b74,_0x33d93a['error'][_0x9f65('0x11')]);return _0x204e98(_0x33d93a['error']['message']);}else{logger[_0x9f65('0x9')](_0x9f65('0xa'),_0x1b3b74,_0x9f65('0xd'));_0x204e98(_0x33d93a['result']['message']);}})[_0x9f65('0x12')](function(_0x51ba90){logger[_0x9f65('0xf')]('Variable,\x20%s,\x20%s',_0x1b3b74,_0x51ba90);_0x4d86a4(_0x51ba90);});});}exports[_0x9f65('0x13')]=function(_0x82be0e){var _0x1829b5=this;return new Promise(function(_0x1a77b5,_0xd8a95d){return db[_0x9f65('0x14')][_0x9f65('0x15')]({'raw':_0x82be0e[_0x9f65('0x16')]?_0x82be0e[_0x9f65('0x16')][_0x9f65('0x17')]===undefined?!![]:![]:!![],'where':_0x82be0e[_0x9f65('0x16')]?_0x82be0e[_0x9f65('0x16')][_0x9f65('0x18')]||null:null,'attributes':_0x82be0e[_0x9f65('0x16')]?_0x82be0e[_0x9f65('0x16')][_0x9f65('0x19')]||null:null,'include':_0x82be0e['options']?_0x82be0e['options'][_0x9f65('0x1a')]?_[_0x9f65('0x1b')](_0x82be0e[_0x9f65('0x16')][_0x9f65('0x1a')],function(_0xa24cbb){return{'model':db[_0xa24cbb[_0x9f65('0x1c')]],'as':_0xa24cbb['as'],'attributes':_0xa24cbb['attributes'],'include':_0xa24cbb[_0x9f65('0x1a')]?_[_0x9f65('0x1b')](_0xa24cbb[_0x9f65('0x1a')],function(_0x485ca9){return{'model':db[_0x485ca9[_0x9f65('0x1c')]],'as':_0x485ca9['as'],'attributes':_0x485ca9[_0x9f65('0x19')],'include':_0x485ca9[_0x9f65('0x1a')]?_[_0x9f65('0x1b')](_0x485ca9[_0x9f65('0x1a')],function(_0x1787ba){return{'model':db[_0x1787ba[_0x9f65('0x1c')]],'as':_0x1787ba['as'],'attributes':_0x1787ba[_0x9f65('0x19')]};}):[]};}):[]};}):[]:[]})[_0x9f65('0x8')](function(_0x486112){logger[_0x9f65('0x9')](_0x9f65('0x13'),_0x82be0e);logger[_0x9f65('0xb')](_0x9f65('0x13'),_0x82be0e,JSON[_0x9f65('0xe')](_0x486112));_0x1a77b5(_0x486112);})['catch'](function(_0x2bae8c){logger[_0x9f65('0xf')]('ShowVariable',_0x2bae8c['message'],_0x82be0e);_0xd8a95d(_0x1829b5['error'](0x1f4,_0x2bae8c[_0x9f65('0x11')]));});});}; \ No newline at end of file diff --git a/server/api/version/index.js b/server/api/version/index.js index 1a94f07..8a2825a 100644 --- a/server/api/version/index.js +++ b/server/api/version/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x1a45=['exports','express','../../components/auth/service','./version.controller','get','index','/fetch','isAuthenticated','canUpdate','fetch','reset','/pull','pull','/restart','restart','/migrations','migrations'];(function(_0x298583,_0x492707){var _0x3c621e=function(_0xb4fb6){while(--_0xb4fb6){_0x298583['push'](_0x298583['shift']());}};_0x3c621e(++_0x492707);}(_0x1a45,0x100));var _0x51a4=function(_0x403211,_0x258a7b){_0x403211=_0x403211-0x0;var _0x501879=_0x1a45[_0x403211];return _0x501879;};'use strict';var express=require(_0x51a4('0x0'));var router=express['Router']();var auth=require(_0x51a4('0x1'));var controller=require(_0x51a4('0x2'));router[_0x51a4('0x3')]('/',controller[_0x51a4('0x4')]);router[_0x51a4('0x3')](_0x51a4('0x5'),auth[_0x51a4('0x6')](),auth[_0x51a4('0x7')](),controller[_0x51a4('0x8')]);router[_0x51a4('0x3')]('/reset',auth[_0x51a4('0x6')](),auth['canUpdate'](),controller[_0x51a4('0x9')]);router['get'](_0x51a4('0xa'),auth['isAuthenticated'](),auth[_0x51a4('0x7')](),controller[_0x51a4('0xb')]);router[_0x51a4('0x3')](_0x51a4('0xc'),auth[_0x51a4('0x6')](),controller[_0x51a4('0xd')]);router[_0x51a4('0x3')](_0x51a4('0xe'),controller[_0x51a4('0xf')]);module[_0x51a4('0x10')]=router; \ No newline at end of file +var _0xd334=['/fetch','isAuthenticated','canUpdate','fetch','/reset','reset','/pull','pull','/restart','restart','migrations','exports','express','Router','../../components/auth/service','./version.controller','index','get'];(function(_0x5138bd,_0x1af6c8){var _0x18d698=function(_0x2d6d0a){while(--_0x2d6d0a){_0x5138bd['push'](_0x5138bd['shift']());}};_0x18d698(++_0x1af6c8);}(_0xd334,0xf6));var _0x4d33=function(_0x3bf83f,_0x181cac){_0x3bf83f=_0x3bf83f-0x0;var _0x22c4a9=_0xd334[_0x3bf83f];return _0x22c4a9;};'use strict';var express=require(_0x4d33('0x0'));var router=express[_0x4d33('0x1')]();var auth=require(_0x4d33('0x2'));var controller=require(_0x4d33('0x3'));router['get']('/',controller[_0x4d33('0x4')]);router[_0x4d33('0x5')](_0x4d33('0x6'),auth[_0x4d33('0x7')](),auth[_0x4d33('0x8')](),controller[_0x4d33('0x9')]);router[_0x4d33('0x5')](_0x4d33('0xa'),auth[_0x4d33('0x7')](),auth[_0x4d33('0x8')](),controller[_0x4d33('0xb')]);router[_0x4d33('0x5')](_0x4d33('0xc'),auth[_0x4d33('0x7')](),auth[_0x4d33('0x8')](),controller[_0x4d33('0xd')]);router[_0x4d33('0x5')](_0x4d33('0xe'),auth['isAuthenticated'](),controller[_0x4d33('0xf')]);router['get']('/migrations',controller[_0x4d33('0x10')]);module[_0x4d33('0x11')]=router; \ No newline at end of file diff --git a/server/api/version/version.controller.js b/server/api/version/version.controller.js index 9a96826..9fbd56d 100644 --- a/server/api/version/version.controller.js +++ b/server/api/version/version.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xad9f=['replace','.js','push','sort','sequelize','getQueryInterface','constructor','Migration\x20tried\x20to\x20use\x20old\x20style\x20\x22done\x22\x20callback.\x20Please\x20upgrade\x20to\x20\x22umzug\x22\x20and\x20return\x20a\x20promise\x20instead.','join','Database\x20migrated\x20successfully\x20from\x20version\x20','last','catch','UniqueConstraintError','Database\x20already\x20up-to-date','umzug','path','lodash','version','compare-versions','child_process','exec','../../config/environment','../../config/logger','update','simple-git','root','index','exports','query','latest','fetch','tags','2.0.0','status','json','origin','master','error','info','reset','--hard','FETCH_HEAD','git\x20reset\x20--hard','pull','npm\x20install\x20--production','restart','motion2','then','pm2\x20restart\x20motion\x20%s','Your\x20system\x20has\x20been\x20restart\x20successfully','migrations','readdirSync','server','length'];(function(_0x102ff9,_0x907658){var _0x24fa97=function(_0x3622ff){while(--_0x3622ff){_0x102ff9['push'](_0x102ff9['shift']());}};_0x24fa97(++_0x907658);}(_0xad9f,0x1be));var _0xfad9=function(_0x446cbb,_0x2003b6){_0x446cbb=_0x446cbb-0x0;var _0x5ee96f=_0xad9f[_0x446cbb];return _0x5ee96f;};'use strict';var Umzug=require(_0xfad9('0x0'));var path=require(_0xfad9('0x1'));var fs=require('fs');var _=require(_0xfad9('0x2'));var pkginfo=require('pkginfo')(module,_0xfad9('0x3'));var compareVersions=require(_0xfad9('0x4'));var exec=require(_0xfad9('0x5'))[_0xfad9('0x6')];var db=require('../../mysqldb')['db'];var config=require(_0xfad9('0x7'));var pm2=require('../../config/pm2');var logger=require(_0xfad9('0x8'))(_0xfad9('0x9'));var git=require(_0xfad9('0xa'))(config[_0xfad9('0xb')]);exports[_0xfad9('0xc')]=function(_0x19b6cc,_0x4d46a7){var _0x5580be={'current':module[_0xfad9('0xd')][_0xfad9('0x3')],'phonebar':0x2};if(_0x19b6cc[_0xfad9('0xe')]&&_0x19b6cc[_0xfad9('0xe')][_0xfad9('0xf')]){return git[_0xfad9('0x10')]()[_0xfad9('0x11')](function(_0xd07c02,_0x504242){_0x5580be[_0xfad9('0xf')]=(_0xd07c02?module[_0xfad9('0xd')][_0xfad9('0x3')]:_0x504242[_0xfad9('0xf')])||_0xfad9('0x12');return _0x4d46a7[_0xfad9('0x13')](0xc8)[_0xfad9('0x14')](_0x5580be);});}else{return _0x4d46a7[_0xfad9('0x13')](0xc8)[_0xfad9('0x14')](_0x5580be);}};exports[_0xfad9('0x10')]=function(_0x43e0bc,_0x491724){return git[_0xfad9('0x10')]([_0xfad9('0x15'),_0xfad9('0x16')],function(_0x2d4b3e){if(_0x2d4b3e){logger[_0xfad9('0x17')](_0x2d4b3e);return _0x491724[_0xfad9('0x13')](0x1f4)['json'](_0x2d4b3e);}logger[_0xfad9('0x18')]('git\x20fetch');return _0x491724[_0xfad9('0x13')](0xc8)[_0xfad9('0x14')]({'output':'git\x20fetch\x20origin\x20master'});});};exports['reset']=function(_0x41e7cc,_0x18e48a){return git[_0xfad9('0x19')]([_0xfad9('0x1a'),_0xfad9('0x1b')],function(_0x3f2ace){if(_0x3f2ace){logger[_0xfad9('0x17')](_0x3f2ace);return _0x18e48a[_0xfad9('0x13')](0x1f4)[_0xfad9('0x14')](_0x3f2ace);}logger[_0xfad9('0x18')]('git\x20reset\x20--hard\x20FETCH_HEAD');return _0x18e48a['status'](0xc8)['json']({'output':_0xfad9('0x1c')});});};exports[_0xfad9('0x1d')]=function(_0x377977,_0x3aac40){exec(_0xfad9('0x1e'),function(_0x25c53c,_0x5c157f,_0x46e091){logger[_0xfad9('0x18')](_0x5c157f);logger[_0xfad9('0x18')](_0x46e091);if(_0x25c53c){logger[_0xfad9('0x17')](_0x25c53c);return _0x3aac40[_0xfad9('0x13')](0x1f4)[_0xfad9('0x14')](_0x25c53c);}return _0x3aac40[_0xfad9('0x13')](0xc8)[_0xfad9('0x14')]({'output':_0x5c157f});});};exports[_0xfad9('0x1f')]=function(_0x58bd34,_0x179c9d){return pm2[_0xfad9('0x1f')](_0xfad9('0x20'))[_0xfad9('0x21')](function(_0x39f094){logger['info'](_0xfad9('0x22'),_0x39f094);return _0x179c9d['status'](0xc8)[_0xfad9('0x14')]({'output':_0xfad9('0x23')});})['catch'](function(_0x57e717){logger[_0xfad9('0x17')](_0x57e717);return _0x179c9d[_0xfad9('0x13')](0x1f4)['json'](_0x57e717);});};exports[_0xfad9('0x24')]=function(_0x5e61c9,_0x22b595){var _0x5a3ecb=fs[_0xfad9('0x25')](path['join'](config[_0xfad9('0xb')],_0xfad9('0x26'),'migrations'));var _0x1c72cd=[];for(var _0x44c125=0x0;_0x44c125<_0x5a3ecb[_0xfad9('0x27')];_0x44c125++){var _0x5dbb54=_0x5a3ecb[_0x44c125][_0xfad9('0x28')](_0xfad9('0x29'),'');if(compareVersions(module[_0xfad9('0xd')][_0xfad9('0x3')],_0x5dbb54)===-0x1){_0x1c72cd[_0xfad9('0x2a')](_0x5dbb54);}}if(_0x1c72cd['length']){var _0x3fbdbd=_0x1c72cd[_0xfad9('0x2b')](compareVersions);var _0x26ad65=new Umzug({'storage':_0xfad9('0x2c'),'storageOptions':{'model':db['Migration'],'modelName':'Migration','columnName':_0xfad9('0x3')},'migrations':{'params':[db['sequelize'][_0xfad9('0x2d')](),db[_0xfad9('0x2c')][_0xfad9('0x2e')],function(){throw new Error(_0xfad9('0x2f'));}],'path':path[_0xfad9('0x30')](config[_0xfad9('0xb')],_0xfad9('0x26'),_0xfad9('0x24')),'pattern':/\.js$/}});_0x26ad65['up']({'migrations':_['map'](_0x3fbdbd,function(_0x3ead13){return _0x3ead13+_0xfad9('0x29');})})[_0xfad9('0x21')](function(){return _0x22b595[_0xfad9('0x13')](0xc8)['json']({'output':_0xfad9('0x31')+module[_0xfad9('0xd')]['version']+'\x20to\x20'+_[_0xfad9('0x32')](_0x3fbdbd),'migrations':_['join'](_0x3fbdbd)});})[_0xfad9('0x33')](function(_0x5bb84e){if(_0x5bb84e instanceof db['sequelize'][_0xfad9('0x34')]){return _0x22b595['status'](0xc8)['json']({'output':_0xfad9('0x35')});}else{return _0x22b595[_0xfad9('0x13')](0x1f4)[_0xfad9('0x14')](_0x5bb84e);}});}else{return _0x22b595[_0xfad9('0x13')](0xc8)[_0xfad9('0x14')]({'output':_0xfad9('0x35')});}}; \ No newline at end of file +var _0x6d38=['2.0.0','status','json','origin','master','error','info','git\x20fetch','git\x20fetch\x20origin\x20master','reset','--hard','FETCH_HEAD','git\x20reset\x20--hard','pull','npm\x20install\x20--production','restart','motion2','then','pm2\x20restart\x20motion\x20%s','Your\x20system\x20has\x20been\x20restart\x20successfully','migrations','readdirSync','join','server','length','replace','.js','sequelize','Migration','constructor','Migration\x20tried\x20to\x20use\x20old\x20style\x20\x22done\x22\x20callback.\x20Please\x20upgrade\x20to\x20\x22umzug\x22\x20and\x20return\x20a\x20promise\x20instead.','map','Database\x20migrated\x20successfully\x20from\x20version\x20','\x20to\x20','last','catch','path','lodash','pkginfo','child_process','../../mysqldb','../../config/environment','../../config/pm2','update','simple-git','root','index','exports','version','latest','fetch'];(function(_0x587e1f,_0x2901e3){var _0x3d241c=function(_0x5ba207){while(--_0x5ba207){_0x587e1f['push'](_0x587e1f['shift']());}};_0x3d241c(++_0x2901e3);}(_0x6d38,0x1ef));var _0x86d3=function(_0x173441,_0x26b0d9){_0x173441=_0x173441-0x0;var _0x2423a8=_0x6d38[_0x173441];return _0x2423a8;};'use strict';var Umzug=require('umzug');var path=require(_0x86d3('0x0'));var fs=require('fs');var _=require(_0x86d3('0x1'));var pkginfo=require(_0x86d3('0x2'))(module,'version');var compareVersions=require('compare-versions');var exec=require(_0x86d3('0x3'))['exec'];var db=require(_0x86d3('0x4'))['db'];var config=require(_0x86d3('0x5'));var pm2=require(_0x86d3('0x6'));var logger=require('../../config/logger')(_0x86d3('0x7'));var git=require(_0x86d3('0x8'))(config[_0x86d3('0x9')]);exports[_0x86d3('0xa')]=function(_0x47e654,_0x552b07){var _0x2aea31={'current':module[_0x86d3('0xb')][_0x86d3('0xc')],'phonebar':0x2};if(_0x47e654['query']&&_0x47e654['query'][_0x86d3('0xd')]){return git[_0x86d3('0xe')]()['tags'](function(_0x5606eb,_0x4300e2){_0x2aea31[_0x86d3('0xd')]=(_0x5606eb?module['exports'][_0x86d3('0xc')]:_0x4300e2['latest'])||_0x86d3('0xf');return _0x552b07[_0x86d3('0x10')](0xc8)[_0x86d3('0x11')](_0x2aea31);});}else{return _0x552b07[_0x86d3('0x10')](0xc8)[_0x86d3('0x11')](_0x2aea31);}};exports[_0x86d3('0xe')]=function(_0xbbca86,_0x12ef4a){return git['fetch']([_0x86d3('0x12'),_0x86d3('0x13')],function(_0x356e7d){if(_0x356e7d){logger[_0x86d3('0x14')](_0x356e7d);return _0x12ef4a[_0x86d3('0x10')](0x1f4)[_0x86d3('0x11')](_0x356e7d);}logger[_0x86d3('0x15')](_0x86d3('0x16'));return _0x12ef4a['status'](0xc8)[_0x86d3('0x11')]({'output':_0x86d3('0x17')});});};exports[_0x86d3('0x18')]=function(_0xa26ea2,_0x46feec){return git[_0x86d3('0x18')]([_0x86d3('0x19'),_0x86d3('0x1a')],function(_0x9b76f2){if(_0x9b76f2){logger['error'](_0x9b76f2);return _0x46feec[_0x86d3('0x10')](0x1f4)['json'](_0x9b76f2);}logger[_0x86d3('0x15')]('git\x20reset\x20--hard\x20FETCH_HEAD');return _0x46feec['status'](0xc8)[_0x86d3('0x11')]({'output':_0x86d3('0x1b')});});};exports[_0x86d3('0x1c')]=function(_0x1720ae,_0x5654ab){exec(_0x86d3('0x1d'),function(_0x55e1c3,_0x36e0fa,_0x3fdf67){logger[_0x86d3('0x15')](_0x36e0fa);logger['info'](_0x3fdf67);if(_0x55e1c3){logger[_0x86d3('0x14')](_0x55e1c3);return _0x5654ab[_0x86d3('0x10')](0x1f4)[_0x86d3('0x11')](_0x55e1c3);}return _0x5654ab['status'](0xc8)['json']({'output':_0x36e0fa});});};exports[_0x86d3('0x1e')]=function(_0x4d5668,_0x3c93d3){return pm2[_0x86d3('0x1e')](_0x86d3('0x1f'))[_0x86d3('0x20')](function(_0x48b3ff){logger['info'](_0x86d3('0x21'),_0x48b3ff);return _0x3c93d3[_0x86d3('0x10')](0xc8)['json']({'output':_0x86d3('0x22')});})['catch'](function(_0x42413c){logger[_0x86d3('0x14')](_0x42413c);return _0x3c93d3[_0x86d3('0x10')](0x1f4)[_0x86d3('0x11')](_0x42413c);});};exports[_0x86d3('0x23')]=function(_0x14c9ff,_0x1f203e){var _0x35d708=fs[_0x86d3('0x24')](path[_0x86d3('0x25')](config[_0x86d3('0x9')],_0x86d3('0x26'),_0x86d3('0x23')));var _0x28c25e=[];for(var _0x5b09f6=0x0;_0x5b09f6<_0x35d708[_0x86d3('0x27')];_0x5b09f6++){var _0x403be3=_0x35d708[_0x5b09f6][_0x86d3('0x28')](_0x86d3('0x29'),'');if(compareVersions(module[_0x86d3('0xb')][_0x86d3('0xc')],_0x403be3)===-0x1){_0x28c25e['push'](_0x403be3);}}if(_0x28c25e[_0x86d3('0x27')]){var _0x5c71df=_0x28c25e['sort'](compareVersions);var _0x20fa21=new Umzug({'storage':_0x86d3('0x2a'),'storageOptions':{'model':db[_0x86d3('0x2b')],'modelName':'Migration','columnName':_0x86d3('0xc')},'migrations':{'params':[db[_0x86d3('0x2a')]['getQueryInterface'](),db[_0x86d3('0x2a')][_0x86d3('0x2c')],function(){throw new Error(_0x86d3('0x2d'));}],'path':path[_0x86d3('0x25')](config[_0x86d3('0x9')],_0x86d3('0x26'),_0x86d3('0x23')),'pattern':/\.js$/}});_0x20fa21['up']({'migrations':_[_0x86d3('0x2e')](_0x5c71df,function(_0x541309){return _0x541309+'.js';})})['then'](function(){return _0x1f203e[_0x86d3('0x10')](0xc8)['json']({'output':_0x86d3('0x2f')+module['exports'][_0x86d3('0xc')]+_0x86d3('0x30')+_[_0x86d3('0x31')](_0x5c71df),'migrations':_[_0x86d3('0x25')](_0x5c71df)});})[_0x86d3('0x32')](function(_0x40a4ec){if(_0x40a4ec instanceof db[_0x86d3('0x2a')]['UniqueConstraintError']){return _0x1f203e[_0x86d3('0x10')](0xc8)[_0x86d3('0x11')]({'output':'Database\x20already\x20up-to-date'});}else{return _0x1f203e[_0x86d3('0x10')](0x1f4)[_0x86d3('0x11')](_0x40a4ec);}});}else{return _0x1f203e[_0x86d3('0x10')](0xc8)[_0x86d3('0x11')]({'output':'Database\x20already\x20up-to-date'});}}; \ No newline at end of file diff --git a/server/api/voiceAgentReport/index.js b/server/api/voiceAgentReport/index.js index 9f5da38..bbb112e 100644 --- a/server/api/voiceAgentReport/index.js +++ b/server/api/voiceAgentReport/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x9e4f=['put','update','delete','destroy','exports','multer','util','connect-timeout','express','../../components/auth/service','../../config/environment','./voiceAgentReport.controller','index','get','/describe','isAuthenticated','describe','/:id','show','post','create'];(function(_0xb0c3df,_0x5ddba0){var _0x57a471=function(_0x154479){while(--_0x154479){_0xb0c3df['push'](_0xb0c3df['shift']());}};_0x57a471(++_0x5ddba0);}(_0x9e4f,0x155));var _0xf9e4=function(_0x1edae6,_0x465002){_0x1edae6=_0x1edae6-0x0;var _0x1a7841=_0x9e4f[_0x1edae6];return _0x1a7841;};'use strict';var multer=require(_0xf9e4('0x0'));var util=require(_0xf9e4('0x1'));var path=require('path');var timeout=require(_0xf9e4('0x2'));var express=require(_0xf9e4('0x3'));var router=express['Router']();var auth=require(_0xf9e4('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0xf9e4('0x5'));var controller=require(_0xf9e4('0x6'));router['get']('/',auth['isAuthenticated'](),controller[_0xf9e4('0x7')]);router[_0xf9e4('0x8')](_0xf9e4('0x9'),auth[_0xf9e4('0xa')](),controller[_0xf9e4('0xb')]);router[_0xf9e4('0x8')](_0xf9e4('0xc'),auth[_0xf9e4('0xa')](),controller[_0xf9e4('0xd')]);router[_0xf9e4('0xe')]('/',auth[_0xf9e4('0xa')](),controller[_0xf9e4('0xf')]);router[_0xf9e4('0x10')](_0xf9e4('0xc'),auth[_0xf9e4('0xa')](),controller[_0xf9e4('0x11')]);router[_0xf9e4('0x12')](_0xf9e4('0xc'),auth[_0xf9e4('0xa')](),controller[_0xf9e4('0x13')]);module[_0xf9e4('0x14')]=router; \ No newline at end of file +var _0x2d55=['destroy','exports','multer','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceAgentReport.controller','get','isAuthenticated','describe','/:id','show','create','put','delete'];(function(_0x95675b,_0x88d868){var _0x2279e0=function(_0x155a3a){while(--_0x155a3a){_0x95675b['push'](_0x95675b['shift']());}};_0x2279e0(++_0x88d868);}(_0x2d55,0x9a));var _0x52d5=function(_0x1ac595,_0x5d2081){_0x1ac595=_0x1ac595-0x0;var _0x455fff=_0x2d55[_0x1ac595];return _0x455fff;};'use strict';var multer=require(_0x52d5('0x0'));var util=require('util');var path=require(_0x52d5('0x1'));var timeout=require(_0x52d5('0x2'));var express=require(_0x52d5('0x3'));var router=express[_0x52d5('0x4')]();var auth=require(_0x52d5('0x5'));var interaction=require(_0x52d5('0x6'));var config=require(_0x52d5('0x7'));var controller=require(_0x52d5('0x8'));router['get']('/',auth['isAuthenticated'](),controller['index']);router[_0x52d5('0x9')]('/describe',auth[_0x52d5('0xa')](),controller[_0x52d5('0xb')]);router[_0x52d5('0x9')](_0x52d5('0xc'),auth[_0x52d5('0xa')](),controller[_0x52d5('0xd')]);router['post']('/',auth[_0x52d5('0xa')](),controller[_0x52d5('0xe')]);router[_0x52d5('0xf')](_0x52d5('0xc'),auth[_0x52d5('0xa')](),controller['update']);router[_0x52d5('0x10')]('/:id',auth[_0x52d5('0xa')](),controller[_0x52d5('0x11')]);module[_0x52d5('0x12')]=router; \ No newline at end of file diff --git a/server/api/voiceAgentReport/voiceAgentReport.attributes.js b/server/api/voiceAgentReport/voiceAgentReport.attributes.js index 7b313a9..b2f3f40 100644 --- a/server/api/voiceAgentReport/voiceAgentReport.attributes.js +++ b/server/api/voiceAgentReport/voiceAgentReport.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xf494=['exports','STRING','DATE','INTEGER','BOOLEAN','FORWARD,\x20BLIND,\x20ATTENDED','sequelize'];(function(_0xa8aa14,_0x1366b8){var _0x88d86b=function(_0x5a8d86){while(--_0x5a8d86){_0xa8aa14['push'](_0xa8aa14['shift']());}};_0x88d86b(++_0x1366b8);}(_0xf494,0x1c6));var _0x4f49=function(_0x18dc68,_0x409484){_0x18dc68=_0x18dc68-0x0;var _0x5123ce=_0xf494[_0x18dc68];return _0x5123ce;};'use strict';var Sequelize=require(_0x4f49('0x0'));module[_0x4f49('0x1')]={'type':{'type':Sequelize[_0x4f49('0x2')]},'uniqueid':{'type':Sequelize['STRING']},'calleridnum':{'type':Sequelize[_0x4f49('0x2')]},'calleridname':{'type':Sequelize[_0x4f49('0x2')]},'queue':{'type':Sequelize[_0x4f49('0x2')]},'interface':{'type':Sequelize[_0x4f49('0x2')]},'membername':{'type':Sequelize[_0x4f49('0x2')]},'agentcalledAt':{'type':Sequelize[_0x4f49('0x3')]},'agentconnectAt':{'type':Sequelize[_0x4f49('0x3')]},'agentcompleteAt':{'type':Sequelize[_0x4f49('0x3')]},'agentringnoanswerAt':{'type':Sequelize[_0x4f49('0x3')]},'agentdumpAt':{'type':Sequelize[_0x4f49('0x3')]},'holdtime':{'type':Sequelize[_0x4f49('0x4')]},'agentcomplete':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'agentringnoanswer':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'agentdump':{'type':Sequelize[_0x4f49('0x5')],'defaultValue':![]},'talktime':{'type':Sequelize[_0x4f49('0x4')]},'agentacw':{'type':Sequelize[_0x4f49('0x5')],'defaultValue':![]},'acwtime':{'type':Sequelize[_0x4f49('0x4')]},'reason':{'type':Sequelize[_0x4f49('0x2')]},'lastevent':{'type':Sequelize[_0x4f49('0x2')]},'channel':{'type':Sequelize[_0x4f49('0x2')]},'channelstate':{'type':Sequelize[_0x4f49('0x4')]},'channelstatedesc':{'type':Sequelize['STRING']},'connectedlinenum':{'type':Sequelize[_0x4f49('0x2')]},'connectedlinename':{'type':Sequelize[_0x4f49('0x2')]},'language':{'type':Sequelize['STRING']},'accountcode':{'type':Sequelize[_0x4f49('0x2')]},'context':{'type':Sequelize['STRING']},'exten':{'type':Sequelize['STRING']},'priority':{'type':Sequelize[_0x4f49('0x2')]},'destchannel':{'type':Sequelize[_0x4f49('0x2')]},'destchannelstate':{'type':Sequelize['INTEGER']},'destchannelstatedesc':{'type':Sequelize[_0x4f49('0x2')]},'destcalleridnum':{'type':Sequelize[_0x4f49('0x2')]},'destcalleridname':{'type':Sequelize[_0x4f49('0x2')]},'destconnectedlinenum':{'type':Sequelize[_0x4f49('0x2')]},'destconnectedlinename':{'type':Sequelize[_0x4f49('0x2')]},'destlanguage':{'type':Sequelize[_0x4f49('0x2')]},'destaccountcode':{'type':Sequelize[_0x4f49('0x2')]},'destcontext':{'type':Sequelize['STRING']},'destexten':{'type':Sequelize[_0x4f49('0x2')]},'destpriority':{'type':Sequelize[_0x4f49('0x2')]},'destuniqueid':{'type':Sequelize[_0x4f49('0x2')]},'answeredelsewheredestinationuniqueid':{'type':Sequelize['STRING']},'answeredelsewheremembername':{'type':Sequelize['STRING']},'transfer':{'type':Sequelize[_0x4f49('0x5')],'defaultValue':![]},'transfertype':{'type':Sequelize[_0x4f49('0x2')],'comment':_0x4f49('0x6')},'transferexten':{'type':Sequelize['STRING']},'transferuniqueid':{'type':Sequelize[_0x4f49('0x2')]},'agententerreason':{'type':Sequelize[_0x4f49('0x4')],'defaultValue':0x0}}; \ No newline at end of file +var _0x9c5a=['INTEGER','BOOLEAN','FORWARD,\x20BLIND,\x20ATTENDED','sequelize','exports','STRING','DATE'];(function(_0x4876bd,_0x43f5ef){var _0x3d2f58=function(_0x4b52f2){while(--_0x4b52f2){_0x4876bd['push'](_0x4876bd['shift']());}};_0x3d2f58(++_0x43f5ef);}(_0x9c5a,0x1c3));var _0xa9c5=function(_0x290d32,_0x3efaad){_0x290d32=_0x290d32-0x0;var _0x1e1622=_0x9c5a[_0x290d32];return _0x1e1622;};'use strict';var Sequelize=require(_0xa9c5('0x0'));module[_0xa9c5('0x1')]={'type':{'type':Sequelize['STRING']},'uniqueid':{'type':Sequelize[_0xa9c5('0x2')]},'calleridnum':{'type':Sequelize[_0xa9c5('0x2')]},'calleridname':{'type':Sequelize[_0xa9c5('0x2')]},'queue':{'type':Sequelize[_0xa9c5('0x2')]},'interface':{'type':Sequelize['STRING']},'membername':{'type':Sequelize[_0xa9c5('0x2')]},'agentcalledAt':{'type':Sequelize[_0xa9c5('0x3')]},'agentconnectAt':{'type':Sequelize['DATE']},'agentcompleteAt':{'type':Sequelize[_0xa9c5('0x3')]},'agentringnoanswerAt':{'type':Sequelize['DATE']},'agentdumpAt':{'type':Sequelize[_0xa9c5('0x3')]},'holdtime':{'type':Sequelize[_0xa9c5('0x4')]},'agentcomplete':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'agentringnoanswer':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'agentdump':{'type':Sequelize[_0xa9c5('0x5')],'defaultValue':![]},'talktime':{'type':Sequelize[_0xa9c5('0x4')]},'agentacw':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'acwtime':{'type':Sequelize[_0xa9c5('0x4')]},'reason':{'type':Sequelize[_0xa9c5('0x2')]},'lastevent':{'type':Sequelize['STRING']},'channel':{'type':Sequelize[_0xa9c5('0x2')]},'channelstate':{'type':Sequelize[_0xa9c5('0x4')]},'channelstatedesc':{'type':Sequelize['STRING']},'connectedlinenum':{'type':Sequelize['STRING']},'connectedlinename':{'type':Sequelize[_0xa9c5('0x2')]},'language':{'type':Sequelize[_0xa9c5('0x2')]},'accountcode':{'type':Sequelize[_0xa9c5('0x2')]},'context':{'type':Sequelize[_0xa9c5('0x2')]},'exten':{'type':Sequelize[_0xa9c5('0x2')]},'priority':{'type':Sequelize[_0xa9c5('0x2')]},'destchannel':{'type':Sequelize[_0xa9c5('0x2')]},'destchannelstate':{'type':Sequelize[_0xa9c5('0x4')]},'destchannelstatedesc':{'type':Sequelize[_0xa9c5('0x2')]},'destcalleridnum':{'type':Sequelize[_0xa9c5('0x2')]},'destcalleridname':{'type':Sequelize['STRING']},'destconnectedlinenum':{'type':Sequelize[_0xa9c5('0x2')]},'destconnectedlinename':{'type':Sequelize[_0xa9c5('0x2')]},'destlanguage':{'type':Sequelize[_0xa9c5('0x2')]},'destaccountcode':{'type':Sequelize[_0xa9c5('0x2')]},'destcontext':{'type':Sequelize[_0xa9c5('0x2')]},'destexten':{'type':Sequelize[_0xa9c5('0x2')]},'destpriority':{'type':Sequelize[_0xa9c5('0x2')]},'destuniqueid':{'type':Sequelize[_0xa9c5('0x2')]},'answeredelsewheredestinationuniqueid':{'type':Sequelize[_0xa9c5('0x2')]},'answeredelsewheremembername':{'type':Sequelize[_0xa9c5('0x2')]},'transfer':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'transfertype':{'type':Sequelize[_0xa9c5('0x2')],'comment':_0xa9c5('0x6')},'transferexten':{'type':Sequelize[_0xa9c5('0x2')]},'transferuniqueid':{'type':Sequelize['STRING']},'agententerreason':{'type':Sequelize[_0xa9c5('0x4')],'defaultValue':0x0}}; \ No newline at end of file diff --git a/server/api/voiceAgentReport/voiceAgentReport.controller.js b/server/api/voiceAgentReport/voiceAgentReport.controller.js index e6ef059..8f74b08 100644 --- a/server/api/voiceAgentReport/voiceAgentReport.controller.js +++ b/server/api/voiceAgentReport/voiceAgentReport.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x216a=['count','offset','limit','Content-Range','apply','save','update','then','destroy','end','stack','name','send','index','map','rawAttributes','fieldName','type','key','keys','query','intersection','model','attributes','fields','length','nolimit','sort','where','filters','filter','merge','options','VoiceAgentReport','includeAll','include','findAll','rows','catch','show','params','find','create','body','describe','html-pdf','zip-dir','fast-json-patch','moment','bluebird','mustache','util','ejs','crypto','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','sendStatus','status','json'];(function(_0x411017,_0x4a8117){var _0x2adeea=function(_0x545222){while(--_0x545222){_0x411017['push'](_0x411017['shift']());}};_0x2adeea(++_0x4a8117);}(_0x216a,0xb7));var _0xa216=function(_0x2eb6a4,_0x165f65){_0x2eb6a4=_0x2eb6a4-0x0;var _0x4252b8=_0x216a[_0x2eb6a4];return _0x4252b8;};'use strict';var pdf=require(_0xa216('0x0'));var emlformat=require('eml-format');var rimraf=require('rimraf');var zipdir=require(_0xa216('0x1'));var jsonpatch=require(_0xa216('0x2'));var rp=require('request-promise');var moment=require(_0xa216('0x3'));var BPromise=require(_0xa216('0x4'));var Mustache=require(_0xa216('0x5'));var util=require(_0xa216('0x6'));var path=require('path');var sox=require('sox');var csv=require('to-csv');var ejs=require(_0xa216('0x7'));var fs=require('fs');var _=require('lodash');var squel=require('squel');var crypto=require(_0xa216('0x8'));var jsforce=require('jsforce');var deskjs=require(_0xa216('0x9'));var toCsv=require('to-csv');var querystring=require(_0xa216('0xa'));var Papa=require(_0xa216('0xb'));var Redis=require(_0xa216('0xc'));var authService=require(_0xa216('0xd'));var qs=require('../../components/parsers/qs');var as=require(_0xa216('0xe'));var hardwareService=require(_0xa216('0xf'));var logger=require(_0xa216('0x10'))(_0xa216('0x11'));var utils=require(_0xa216('0x12'));var config=require(_0xa216('0x13'));var db=require(_0xa216('0x14'))['db'];function respondWithStatusCode(_0x3c0d1d,_0x4b933a){_0x4b933a=_0x4b933a||0xcc;return function(_0x452977){if(_0x452977){return _0x3c0d1d[_0xa216('0x15')](_0x4b933a);}return _0x3c0d1d[_0xa216('0x16')](_0x4b933a)['end']();};}function respondWithResult(_0x4fd1b9,_0x1e8c38){_0x1e8c38=_0x1e8c38||0xc8;return function(_0x169339){if(_0x169339){return _0x4fd1b9[_0xa216('0x16')](_0x1e8c38)[_0xa216('0x17')](_0x169339);}};}function respondWithFilteredResult(_0x1b5245,_0x36e792){return function(_0x24b041){if(_0x24b041){var _0x54e7e3=_0x24b041[_0xa216('0x18')],_0x238693=_0x36e792[_0xa216('0x19')],_0x5b107d=_0x36e792[_0xa216('0x19')]+_0x36e792[_0xa216('0x1a')],_0x3c8fc6;if(_0x5b107d>=_0x54e7e3){_0x5b107d=_0x54e7e3;_0x3c8fc6=0xc8;}else{_0x3c8fc6=0xce;}_0x1b5245['status'](_0x3c8fc6);return _0x1b5245['set'](_0xa216('0x1b'),_0x238693+'-'+_0x5b107d+'/'+_0x54e7e3)[_0xa216('0x17')](_0x24b041);}return null;};}function patchUpdates(_0x1fe506){return function(_0x5c5151){try{jsonpatch[_0xa216('0x1c')](_0x5c5151,_0x1fe506,!![]);}catch(_0x40268a){return BPromise['reject'](_0x40268a);}return _0x5c5151[_0xa216('0x1d')]();};}function saveUpdates(_0x23333f,_0x1ffd61){return function(_0x3f5ab2){if(_0x3f5ab2){return _0x3f5ab2[_0xa216('0x1e')](_0x23333f)[_0xa216('0x1f')](function(_0x4cffc5){return _0x4cffc5;});}return null;};}function removeEntity(_0x482793,_0x342152){return function(_0x1fe339){if(_0x1fe339){return _0x1fe339[_0xa216('0x20')]()[_0xa216('0x1f')](function(){_0x482793[_0xa216('0x16')](0xcc)[_0xa216('0x21')]();});}};}function handleEntityNotFound(_0x57163f,_0xb92bff){return function(_0x223aa1){if(!_0x223aa1){_0x57163f['sendStatus'](0x194);}return _0x223aa1;};}function handleError(_0x399e92,_0x59556f){_0x59556f=_0x59556f||0x1f4;return function(_0x5a447f){logger['error'](_0x5a447f[_0xa216('0x22')]);if(_0x5a447f[_0xa216('0x23')]){delete _0x5a447f[_0xa216('0x23')];}_0x399e92['status'](_0x59556f)[_0xa216('0x24')](_0x5a447f);};}exports[_0xa216('0x25')]=function(_0x529324,_0x661bad){var _0x470714={},_0xb5890b={},_0x5201be={'count':0x0,'rows':[]};var _0xb24493=_[_0xa216('0x26')](db['VoiceAgentReport'][_0xa216('0x27')],function(_0x21dc68){return{'name':_0x21dc68[_0xa216('0x28')],'type':_0x21dc68[_0xa216('0x29')][_0xa216('0x2a')]};});_0xb5890b['model']=_['map'](_0xb24493,_0xa216('0x23'));_0xb5890b['query']=_[_0xa216('0x2b')](_0x529324[_0xa216('0x2c')]);_0xb5890b['filters']=_[_0xa216('0x2d')](_0xb5890b[_0xa216('0x2e')],_0xb5890b['query']);_0x470714[_0xa216('0x2f')]=_[_0xa216('0x2d')](_0xb5890b['model'],qs['fields'](_0x529324[_0xa216('0x2c')][_0xa216('0x30')]));_0x470714[_0xa216('0x2f')]=_0x470714[_0xa216('0x2f')][_0xa216('0x31')]?_0x470714[_0xa216('0x2f')]:_0xb5890b[_0xa216('0x2e')];if(!_0x529324[_0xa216('0x2c')]['hasOwnProperty'](_0xa216('0x32'))){_0x470714[_0xa216('0x1a')]=qs['limit'](_0x529324[_0xa216('0x2c')][_0xa216('0x1a')]);_0x470714['offset']=qs[_0xa216('0x19')](_0x529324['query'][_0xa216('0x19')]);}_0x470714['order']=qs['sort'](_0x529324[_0xa216('0x2c')][_0xa216('0x33')]);_0x470714[_0xa216('0x34')]=qs[_0xa216('0x35')](_['pick'](_0x529324[_0xa216('0x2c')],_0xb5890b[_0xa216('0x35')]),_0xb24493);if(_0x529324[_0xa216('0x2c')][_0xa216('0x36')]){_0x470714['where']=_['merge'](_0x470714[_0xa216('0x34')],{'$or':_['map'](_0xb24493,function(_0x5ae7c6){if(_0x5ae7c6[_0xa216('0x29')]!=='VIRTUAL'){var _0xe797d6={};_0xe797d6[_0x5ae7c6[_0xa216('0x23')]]={'$like':'%'+_0x529324['query'][_0xa216('0x36')]+'%'};return _0xe797d6;}})});}_0x470714=_[_0xa216('0x37')]({},_0x470714,_0x529324[_0xa216('0x38')]);var _0x43f7fe={'where':_0x470714[_0xa216('0x34')]};return db[_0xa216('0x39')][_0xa216('0x18')](_0x43f7fe)[_0xa216('0x1f')](function(_0x37eae3){_0x5201be['count']=_0x37eae3;if(_0x529324[_0xa216('0x2c')][_0xa216('0x3a')]){_0x470714[_0xa216('0x3b')]=[{'all':!![]}];}return db[_0xa216('0x39')][_0xa216('0x3c')](_0x470714);})['then'](function(_0x39cffb){_0x5201be[_0xa216('0x3d')]=_0x39cffb;return _0x5201be;})[_0xa216('0x1f')](respondWithFilteredResult(_0x661bad,_0x470714))[_0xa216('0x3e')](handleError(_0x661bad,null));};exports[_0xa216('0x3f')]=function(_0x525092,_0x1d194e){var _0xa711bc={'raw':![],'where':{'id':_0x525092[_0xa216('0x40')]['id']}},_0x53cb03={};_0x53cb03[_0xa216('0x2e')]=_[_0xa216('0x2b')](db['VoiceAgentReport'][_0xa216('0x27')]);_0x53cb03['query']=_[_0xa216('0x2b')](_0x525092[_0xa216('0x2c')]);_0x53cb03[_0xa216('0x35')]=_[_0xa216('0x2d')](_0x53cb03[_0xa216('0x2e')],_0x53cb03['query']);_0xa711bc[_0xa216('0x2f')]=_['intersection'](_0x53cb03[_0xa216('0x2e')],qs['fields'](_0x525092['query'][_0xa216('0x30')]));_0xa711bc[_0xa216('0x2f')]=_0xa711bc[_0xa216('0x2f')][_0xa216('0x31')]?_0xa711bc['attributes']:_0x53cb03[_0xa216('0x2e')];if(_0x525092[_0xa216('0x2c')][_0xa216('0x3a')]){_0xa711bc[_0xa216('0x3b')]=[{'all':!![]}];}_0xa711bc=_[_0xa216('0x37')]({},_0xa711bc,_0x525092['options']);return db['VoiceAgentReport'][_0xa216('0x41')](_0xa711bc)[_0xa216('0x1f')](handleEntityNotFound(_0x1d194e,null))[_0xa216('0x1f')](respondWithResult(_0x1d194e,null))[_0xa216('0x3e')](handleError(_0x1d194e,null));};exports[_0xa216('0x42')]=function(_0x3a0b2d,_0x7324cd){return db[_0xa216('0x39')][_0xa216('0x42')](_0x3a0b2d['body'],{})['then'](respondWithResult(_0x7324cd,0xc9))[_0xa216('0x3e')](handleError(_0x7324cd,null));};exports[_0xa216('0x1e')]=function(_0x2fa4a6,_0x38700d){if(_0x2fa4a6[_0xa216('0x43')]['id']){delete _0x2fa4a6[_0xa216('0x43')]['id'];}return db[_0xa216('0x39')][_0xa216('0x41')]({'where':{'id':_0x2fa4a6[_0xa216('0x40')]['id']}})[_0xa216('0x1f')](handleEntityNotFound(_0x38700d,null))[_0xa216('0x1f')](saveUpdates(_0x2fa4a6[_0xa216('0x43')],null))[_0xa216('0x1f')](respondWithResult(_0x38700d,null))[_0xa216('0x3e')](handleError(_0x38700d,null));};exports[_0xa216('0x20')]=function(_0x43e38,_0x17fca8){return db[_0xa216('0x39')]['find']({'where':{'id':_0x43e38['params']['id']}})[_0xa216('0x1f')](handleEntityNotFound(_0x17fca8,null))[_0xa216('0x1f')](removeEntity(_0x17fca8,null))[_0xa216('0x3e')](handleError(_0x17fca8,null));};exports[_0xa216('0x44')]=function(_0x19c38e,_0x1eeae4){return db[_0xa216('0x39')][_0xa216('0x44')]()[_0xa216('0x1f')](respondWithResult(_0x1eeae4,null))[_0xa216('0x3e')](handleError(_0x1eeae4,null));}; \ No newline at end of file +var _0x01ae=['rows','then','show','length','catch','create','body','update','find','html-pdf','zip-dir','fast-json-patch','moment','bluebird','util','sox','to-csv','lodash','squel','jsforce','desk.js','querystring','papaparse','ioredis','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/environment','../../mysqldb','sendStatus','end','status','json','count','offset','limit','set','Content-Range','reject','save','destroy','error','stack','name','index','map','VoiceAgentReport','rawAttributes','fieldName','type','key','model','query','keys','intersection','fields','attributes','hasOwnProperty','nolimit','order','sort','where','filters','pick','filter','merge','VIRTUAL','options','includeAll','include','findAll'];(function(_0x122096,_0x60c295){var _0x3d1966=function(_0x3d569e){while(--_0x3d569e){_0x122096['push'](_0x122096['shift']());}};_0x3d1966(++_0x60c295);}(_0x01ae,0x171));var _0xe01a=function(_0x53e3de,_0x13da7b){_0x53e3de=_0x53e3de-0x0;var _0x7b905b=_0x01ae[_0x53e3de];return _0x7b905b;};'use strict';var pdf=require(_0xe01a('0x0'));var emlformat=require('eml-format');var rimraf=require('rimraf');var zipdir=require(_0xe01a('0x1'));var jsonpatch=require(_0xe01a('0x2'));var rp=require('request-promise');var moment=require(_0xe01a('0x3'));var BPromise=require(_0xe01a('0x4'));var Mustache=require('mustache');var util=require(_0xe01a('0x5'));var path=require('path');var sox=require(_0xe01a('0x6'));var csv=require(_0xe01a('0x7'));var ejs=require('ejs');var fs=require('fs');var _=require(_0xe01a('0x8'));var squel=require(_0xe01a('0x9'));var crypto=require('crypto');var jsforce=require(_0xe01a('0xa'));var deskjs=require(_0xe01a('0xb'));var toCsv=require('to-csv');var querystring=require(_0xe01a('0xc'));var Papa=require(_0xe01a('0xd'));var Redis=require(_0xe01a('0xe'));var authService=require('../../components/auth/service');var qs=require('../../components/parsers/qs');var as=require(_0xe01a('0xf'));var hardwareService=require(_0xe01a('0x10'));var logger=require(_0xe01a('0x11'))(_0xe01a('0x12'));var utils=require('../../config/utils');var config=require(_0xe01a('0x13'));var db=require(_0xe01a('0x14'))['db'];function respondWithStatusCode(_0x21c9ab,_0x158b0e){_0x158b0e=_0x158b0e||0xcc;return function(_0x427d80){if(_0x427d80){return _0x21c9ab[_0xe01a('0x15')](_0x158b0e);}return _0x21c9ab['status'](_0x158b0e)[_0xe01a('0x16')]();};}function respondWithResult(_0x257524,_0x4ea3a8){_0x4ea3a8=_0x4ea3a8||0xc8;return function(_0x3c3a02){if(_0x3c3a02){return _0x257524[_0xe01a('0x17')](_0x4ea3a8)[_0xe01a('0x18')](_0x3c3a02);}};}function respondWithFilteredResult(_0x244308,_0x5d5abc){return function(_0x556367){if(_0x556367){var _0x558c60=_0x556367[_0xe01a('0x19')],_0x38ed5a=_0x5d5abc['offset'],_0x3bbb71=_0x5d5abc[_0xe01a('0x1a')]+_0x5d5abc[_0xe01a('0x1b')],_0x3416cd;if(_0x3bbb71>=_0x558c60){_0x3bbb71=_0x558c60;_0x3416cd=0xc8;}else{_0x3416cd=0xce;}_0x244308[_0xe01a('0x17')](_0x3416cd);return _0x244308[_0xe01a('0x1c')](_0xe01a('0x1d'),_0x38ed5a+'-'+_0x3bbb71+'/'+_0x558c60)[_0xe01a('0x18')](_0x556367);}return null;};}function patchUpdates(_0xb8e65c){return function(_0x27eb64){try{jsonpatch['apply'](_0x27eb64,_0xb8e65c,!![]);}catch(_0xf89522){return BPromise[_0xe01a('0x1e')](_0xf89522);}return _0x27eb64[_0xe01a('0x1f')]();};}function saveUpdates(_0x533e33,_0x5c82b4){return function(_0x29fd35){if(_0x29fd35){return _0x29fd35['update'](_0x533e33)['then'](function(_0x291962){return _0x291962;});}return null;};}function removeEntity(_0x414d05,_0x47d555){return function(_0x50d8ad){if(_0x50d8ad){return _0x50d8ad[_0xe01a('0x20')]()['then'](function(){_0x414d05[_0xe01a('0x17')](0xcc)[_0xe01a('0x16')]();});}};}function handleEntityNotFound(_0x2a2bca,_0x200bf1){return function(_0x16bc86){if(!_0x16bc86){_0x2a2bca['sendStatus'](0x194);}return _0x16bc86;};}function handleError(_0x2e3d5b,_0x210b31){_0x210b31=_0x210b31||0x1f4;return function(_0x150407){logger[_0xe01a('0x21')](_0x150407[_0xe01a('0x22')]);if(_0x150407[_0xe01a('0x23')]){delete _0x150407[_0xe01a('0x23')];}_0x2e3d5b['status'](_0x210b31)['send'](_0x150407);};}exports[_0xe01a('0x24')]=function(_0x23c731,_0xe88068){var _0xa1d279={},_0x5cc45f={},_0x43fc3b={'count':0x0,'rows':[]};var _0x255e21=_[_0xe01a('0x25')](db[_0xe01a('0x26')][_0xe01a('0x27')],function(_0x578753){return{'name':_0x578753[_0xe01a('0x28')],'type':_0x578753[_0xe01a('0x29')][_0xe01a('0x2a')]};});_0x5cc45f[_0xe01a('0x2b')]=_['map'](_0x255e21,'name');_0x5cc45f[_0xe01a('0x2c')]=_[_0xe01a('0x2d')](_0x23c731[_0xe01a('0x2c')]);_0x5cc45f['filters']=_[_0xe01a('0x2e')](_0x5cc45f[_0xe01a('0x2b')],_0x5cc45f[_0xe01a('0x2c')]);_0xa1d279['attributes']=_[_0xe01a('0x2e')](_0x5cc45f[_0xe01a('0x2b')],qs[_0xe01a('0x2f')](_0x23c731[_0xe01a('0x2c')]['fields']));_0xa1d279[_0xe01a('0x30')]=_0xa1d279[_0xe01a('0x30')]['length']?_0xa1d279[_0xe01a('0x30')]:_0x5cc45f[_0xe01a('0x2b')];if(!_0x23c731[_0xe01a('0x2c')][_0xe01a('0x31')](_0xe01a('0x32'))){_0xa1d279[_0xe01a('0x1b')]=qs['limit'](_0x23c731['query'][_0xe01a('0x1b')]);_0xa1d279['offset']=qs[_0xe01a('0x1a')](_0x23c731[_0xe01a('0x2c')][_0xe01a('0x1a')]);}_0xa1d279[_0xe01a('0x33')]=qs[_0xe01a('0x34')](_0x23c731['query']['sort']);_0xa1d279[_0xe01a('0x35')]=qs[_0xe01a('0x36')](_[_0xe01a('0x37')](_0x23c731[_0xe01a('0x2c')],_0x5cc45f[_0xe01a('0x36')]),_0x255e21);if(_0x23c731['query'][_0xe01a('0x38')]){_0xa1d279['where']=_[_0xe01a('0x39')](_0xa1d279[_0xe01a('0x35')],{'$or':_[_0xe01a('0x25')](_0x255e21,function(_0xcb573f){if(_0xcb573f[_0xe01a('0x29')]!==_0xe01a('0x3a')){var _0x1d0420={};_0x1d0420[_0xcb573f['name']]={'$like':'%'+_0x23c731[_0xe01a('0x2c')][_0xe01a('0x38')]+'%'};return _0x1d0420;}})});}_0xa1d279=_[_0xe01a('0x39')]({},_0xa1d279,_0x23c731[_0xe01a('0x3b')]);var _0x197d7c={'where':_0xa1d279[_0xe01a('0x35')]};return db[_0xe01a('0x26')][_0xe01a('0x19')](_0x197d7c)['then'](function(_0x25f245){_0x43fc3b['count']=_0x25f245;if(_0x23c731[_0xe01a('0x2c')][_0xe01a('0x3c')]){_0xa1d279[_0xe01a('0x3d')]=[{'all':!![]}];}return db[_0xe01a('0x26')][_0xe01a('0x3e')](_0xa1d279);})['then'](function(_0x2a7182){_0x43fc3b[_0xe01a('0x3f')]=_0x2a7182;return _0x43fc3b;})[_0xe01a('0x40')](respondWithFilteredResult(_0xe88068,_0xa1d279))['catch'](handleError(_0xe88068,null));};exports[_0xe01a('0x41')]=function(_0x2ef9f6,_0x5da338){var _0x552508={'raw':![],'where':{'id':_0x2ef9f6['params']['id']}},_0x2dec1d={};_0x2dec1d[_0xe01a('0x2b')]=_[_0xe01a('0x2d')](db[_0xe01a('0x26')][_0xe01a('0x27')]);_0x2dec1d[_0xe01a('0x2c')]=_[_0xe01a('0x2d')](_0x2ef9f6['query']);_0x2dec1d['filters']=_['intersection'](_0x2dec1d[_0xe01a('0x2b')],_0x2dec1d[_0xe01a('0x2c')]);_0x552508[_0xe01a('0x30')]=_['intersection'](_0x2dec1d[_0xe01a('0x2b')],qs[_0xe01a('0x2f')](_0x2ef9f6[_0xe01a('0x2c')][_0xe01a('0x2f')]));_0x552508[_0xe01a('0x30')]=_0x552508['attributes'][_0xe01a('0x42')]?_0x552508['attributes']:_0x2dec1d['model'];if(_0x2ef9f6['query'][_0xe01a('0x3c')]){_0x552508[_0xe01a('0x3d')]=[{'all':!![]}];}_0x552508=_[_0xe01a('0x39')]({},_0x552508,_0x2ef9f6[_0xe01a('0x3b')]);return db['VoiceAgentReport']['find'](_0x552508)[_0xe01a('0x40')](handleEntityNotFound(_0x5da338,null))[_0xe01a('0x40')](respondWithResult(_0x5da338,null))[_0xe01a('0x43')](handleError(_0x5da338,null));};exports[_0xe01a('0x44')]=function(_0x437b5a,_0x56a144){return db[_0xe01a('0x26')]['create'](_0x437b5a[_0xe01a('0x45')],{})[_0xe01a('0x40')](respondWithResult(_0x56a144,0xc9))[_0xe01a('0x43')](handleError(_0x56a144,null));};exports[_0xe01a('0x46')]=function(_0x1f10a9,_0x19e1b4){if(_0x1f10a9['body']['id']){delete _0x1f10a9[_0xe01a('0x45')]['id'];}return db[_0xe01a('0x26')][_0xe01a('0x47')]({'where':{'id':_0x1f10a9['params']['id']}})[_0xe01a('0x40')](handleEntityNotFound(_0x19e1b4,null))[_0xe01a('0x40')](saveUpdates(_0x1f10a9[_0xe01a('0x45')],null))[_0xe01a('0x40')](respondWithResult(_0x19e1b4,null))[_0xe01a('0x43')](handleError(_0x19e1b4,null));};exports[_0xe01a('0x20')]=function(_0x154b23,_0x263368){return db['VoiceAgentReport'][_0xe01a('0x47')]({'where':{'id':_0x154b23['params']['id']}})[_0xe01a('0x40')](handleEntityNotFound(_0x263368,null))[_0xe01a('0x40')](removeEntity(_0x263368,null))['catch'](handleError(_0x263368,null));};exports['describe']=function(_0x7cfa04,_0x289831){return db['VoiceAgentReport']['describe']()[_0xe01a('0x40')](respondWithResult(_0x289831,null))[_0xe01a('0x43')](handleError(_0x289831,null));}; \ No newline at end of file diff --git a/server/api/voiceAgentReport/voiceAgentReport.model.js b/server/api/voiceAgentReport/voiceAgentReport.model.js index de15456..48fdcbe 100644 --- a/server/api/voiceAgentReport/voiceAgentReport.model.js +++ b/server/api/voiceAgentReport/voiceAgentReport.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x70f3=['./voiceAgentReport.attributes','exports','VoiceAgentReport','report_agent','uniqueid','destuniqueid','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf'];(function(_0x20172a,_0x44e0a4){var _0x1627b7=function(_0x17db9f){while(--_0x17db9f){_0x20172a['push'](_0x20172a['shift']());}};_0x1627b7(++_0x44e0a4);}(_0x70f3,0x1aa));var _0x370f=function(_0x24367c,_0x17b55){_0x24367c=_0x24367c-0x0;var _0x2cd30d=_0x70f3[_0x24367c];return _0x2cd30d;};'use strict';var _=require(_0x370f('0x0'));var util=require(_0x370f('0x1'));var logger=require(_0x370f('0x2'))(_0x370f('0x3'));var moment=require(_0x370f('0x4'));var BPromise=require(_0x370f('0x5'));var rp=require(_0x370f('0x6'));var fs=require('fs');var path=require(_0x370f('0x7'));var rimraf=require(_0x370f('0x8'));var config=require('../../config/environment');var attributes=require(_0x370f('0x9'));module[_0x370f('0xa')]=function(_0x40058c,_0x36c74f){return _0x40058c['define'](_0x370f('0xb'),attributes,{'tableName':_0x370f('0xc'),'paranoid':![],'indexes':[{'fields':[_0x370f('0xd'),_0x370f('0xe')]}],'timestamps':!![]});}; \ No newline at end of file +var _0xa61b=['api','moment','bluebird','request-promise','path','rimraf','../../config/environment','exports','VoiceAgentReport','report_agent','destuniqueid','lodash','util','../../config/logger'];(function(_0x135904,_0x1e252b){var _0x1ce7d5=function(_0x25a721){while(--_0x25a721){_0x135904['push'](_0x135904['shift']());}};_0x1ce7d5(++_0x1e252b);}(_0xa61b,0x7b));var _0xba61=function(_0x4f8e7b,_0x5a34cf){_0x4f8e7b=_0x4f8e7b-0x0;var _0x45d84a=_0xa61b[_0x4f8e7b];return _0x45d84a;};'use strict';var _=require(_0xba61('0x0'));var util=require(_0xba61('0x1'));var logger=require(_0xba61('0x2'))(_0xba61('0x3'));var moment=require(_0xba61('0x4'));var BPromise=require(_0xba61('0x5'));var rp=require(_0xba61('0x6'));var fs=require('fs');var path=require(_0xba61('0x7'));var rimraf=require(_0xba61('0x8'));var config=require(_0xba61('0x9'));var attributes=require('./voiceAgentReport.attributes');module[_0xba61('0xa')]=function(_0x1bbf56,_0x16a4c7){return _0x1bbf56['define'](_0xba61('0xb'),attributes,{'tableName':_0xba61('0xc'),'paranoid':![],'indexes':[{'fields':['uniqueid',_0xba61('0xd')]}],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/voiceAgentReport/voiceAgentReport.rpc.js b/server/api/voiceAgentReport/voiceAgentReport.rpc.js index 49ea0c9..01335fd 100644 --- a/server/api/voiceAgentReport/voiceAgentReport.rpc.js +++ b/server/api/voiceAgentReport/voiceAgentReport.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xf197=['rpc','client','http','then','info','request\x20sent','debug','VoiceAgentReport,\x20%s,\x20%s,\x20%s','error','code','VoiceAgentReport,\x20%s,\x20%s','message','result','catch','CreateVoiceAgentReport','create','body','options','stringify','UpdateVoiceAgentReport','VoiceAgentReport','raw','where','attributes','lodash','util','moment','ioredis'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0xf197,0x130));var _0x7f19=function(_0x2152eb,_0x4873d5){_0x2152eb=_0x2152eb-0x0;var _0x2191f7=_0xf197[_0x2152eb];return _0x2191f7;};'use strict';var _=require(_0x7f19('0x0'));var util=require(_0x7f19('0x1'));var moment=require(_0x7f19('0x2'));var BPromise=require('bluebird');var rs=require('randomstring');var fs=require('fs');var Redis=require(_0x7f19('0x3'));var db=require('../../mysqldb')['db'];var utils=require('../../config/utils');var logger=require('../../config/logger')(_0x7f19('0x4'));var config=require('../../config/environment');var jayson=require('jayson/promise');var client=jayson[_0x7f19('0x5')][_0x7f19('0x6')]({'port':0x232a});function respondWithRpcPromise(_0x39b5b1,_0x1851e3,_0x39c494){return new BPromise(function(_0x2ebbfb,_0x3c349c){return client['request'](_0x39b5b1,_0x39c494)[_0x7f19('0x7')](function(_0x116b95){logger[_0x7f19('0x8')]('VoiceAgentReport,\x20%s,\x20%s',_0x1851e3,_0x7f19('0x9'));logger[_0x7f19('0xa')](_0x7f19('0xb'),_0x1851e3,_0x7f19('0x9'),JSON['stringify'](_0x116b95));if(_0x116b95[_0x7f19('0xc')]){if(_0x116b95['error'][_0x7f19('0xd')]===0x1f4){logger[_0x7f19('0xc')](_0x7f19('0xe'),_0x1851e3,_0x116b95['error']['message']);return _0x3c349c(_0x116b95[_0x7f19('0xc')][_0x7f19('0xf')]);}logger[_0x7f19('0xc')]('VoiceAgentReport,\x20%s,\x20%s',_0x1851e3,_0x116b95[_0x7f19('0xc')][_0x7f19('0xf')]);return _0x2ebbfb(_0x116b95['error'][_0x7f19('0xf')]);}else{logger[_0x7f19('0x8')](_0x7f19('0xe'),_0x1851e3,'request\x20sent');_0x2ebbfb(_0x116b95[_0x7f19('0x10')]['message']);}})[_0x7f19('0x11')](function(_0x2cc098){logger[_0x7f19('0xc')](_0x7f19('0xe'),_0x1851e3,_0x2cc098);_0x3c349c(_0x2cc098);});});}exports[_0x7f19('0x12')]=function(_0x5c56a1){var _0x27634b=this;return new Promise(function(_0x3b38d7,_0x122a9f){return db['VoiceAgentReport'][_0x7f19('0x13')](_0x5c56a1[_0x7f19('0x14')],{'raw':_0x5c56a1[_0x7f19('0x15')]?_0x5c56a1[_0x7f19('0x15')]['raw']===undefined?!![]:![]:!![]})[_0x7f19('0x7')](function(_0xb8a760){logger[_0x7f19('0x8')](_0x7f19('0x12'),_0x5c56a1);logger['debug'](_0x7f19('0x12'),_0x5c56a1,JSON[_0x7f19('0x16')](_0xb8a760));_0x3b38d7(_0xb8a760);})[_0x7f19('0x11')](function(_0x5168be){logger[_0x7f19('0xc')]('CreateVoiceAgentReport',_0x5168be[_0x7f19('0xf')],_0x5c56a1);_0x122a9f(_0x27634b[_0x7f19('0xc')](0x1f4,_0x5168be[_0x7f19('0xf')]));});});};exports[_0x7f19('0x17')]=function(_0x1f0ea6){var _0x500ee3=this;return new Promise(function(_0x57cc2e,_0x3d852b){return db[_0x7f19('0x18')]['update'](_0x1f0ea6[_0x7f19('0x14')],{'raw':_0x1f0ea6[_0x7f19('0x15')]?_0x1f0ea6[_0x7f19('0x15')][_0x7f19('0x19')]===undefined?!![]:![]:!![],'individualHooks':!![],'where':_0x1f0ea6[_0x7f19('0x15')]?_0x1f0ea6[_0x7f19('0x15')][_0x7f19('0x1a')]||null:null,'attributes':_0x1f0ea6['options']?_0x1f0ea6[_0x7f19('0x15')][_0x7f19('0x1b')]||null:null,'limit':_0x1f0ea6['options']?_0x1f0ea6[_0x7f19('0x15')]['limit']||null:null})[_0x7f19('0x7')](function(_0x4884fd){logger['info'](_0x7f19('0x17'),_0x1f0ea6);logger['debug'](_0x7f19('0x17'),_0x1f0ea6,JSON[_0x7f19('0x16')](_0x4884fd));_0x57cc2e(_0x4884fd);})[_0x7f19('0x11')](function(_0x5bb2a5){logger[_0x7f19('0xc')]('UpdateVoiceAgentReport',_0x5bb2a5[_0x7f19('0xf')],_0x1f0ea6);_0x3d852b(_0x500ee3['error'](0x1f4,_0x5bb2a5[_0x7f19('0xf')]));});});}; \ No newline at end of file +var _0x0a9e=['body','options','raw','CreateVoiceAgentReport','UpdateVoiceAgentReport','VoiceAgentReport','where','attributes','limit','lodash','util','moment','bluebird','ioredis','../../mysqldb','../../config/utils','../../config/logger','../../config/environment','jayson/promise','client','http','request','then','info','VoiceAgentReport,\x20%s,\x20%s','request\x20sent','debug','VoiceAgentReport,\x20%s,\x20%s,\x20%s','stringify','error','code','message','catch','create'];(function(_0x422848,_0x2e891a){var _0x1e5511=function(_0x255115){while(--_0x255115){_0x422848['push'](_0x422848['shift']());}};_0x1e5511(++_0x2e891a);}(_0x0a9e,0x91));var _0xe0a9=function(_0x221e6f,_0x4f8f6f){_0x221e6f=_0x221e6f-0x0;var _0x2aa99a=_0x0a9e[_0x221e6f];return _0x2aa99a;};'use strict';var _=require(_0xe0a9('0x0'));var util=require(_0xe0a9('0x1'));var moment=require(_0xe0a9('0x2'));var BPromise=require(_0xe0a9('0x3'));var rs=require('randomstring');var fs=require('fs');var Redis=require(_0xe0a9('0x4'));var db=require(_0xe0a9('0x5'))['db'];var utils=require(_0xe0a9('0x6'));var logger=require(_0xe0a9('0x7'))('rpc');var config=require(_0xe0a9('0x8'));var jayson=require(_0xe0a9('0x9'));var client=jayson[_0xe0a9('0xa')][_0xe0a9('0xb')]({'port':0x232a});function respondWithRpcPromise(_0x3d2e0c,_0x576036,_0x201bfb){return new BPromise(function(_0x258c0d,_0x5161c2){return client[_0xe0a9('0xc')](_0x3d2e0c,_0x201bfb)[_0xe0a9('0xd')](function(_0x75e997){logger[_0xe0a9('0xe')](_0xe0a9('0xf'),_0x576036,_0xe0a9('0x10'));logger[_0xe0a9('0x11')](_0xe0a9('0x12'),_0x576036,'request\x20sent',JSON[_0xe0a9('0x13')](_0x75e997));if(_0x75e997[_0xe0a9('0x14')]){if(_0x75e997['error'][_0xe0a9('0x15')]===0x1f4){logger[_0xe0a9('0x14')](_0xe0a9('0xf'),_0x576036,_0x75e997['error'][_0xe0a9('0x16')]);return _0x5161c2(_0x75e997[_0xe0a9('0x14')][_0xe0a9('0x16')]);}logger[_0xe0a9('0x14')](_0xe0a9('0xf'),_0x576036,_0x75e997[_0xe0a9('0x14')][_0xe0a9('0x16')]);return _0x258c0d(_0x75e997[_0xe0a9('0x14')]['message']);}else{logger[_0xe0a9('0xe')](_0xe0a9('0xf'),_0x576036,'request\x20sent');_0x258c0d(_0x75e997['result'][_0xe0a9('0x16')]);}})[_0xe0a9('0x17')](function(_0x577b69){logger[_0xe0a9('0x14')]('VoiceAgentReport,\x20%s,\x20%s',_0x576036,_0x577b69);_0x5161c2(_0x577b69);});});}exports['CreateVoiceAgentReport']=function(_0x2fd261){var _0x30352d=this;return new Promise(function(_0x27e5df,_0x438cfd){return db['VoiceAgentReport'][_0xe0a9('0x18')](_0x2fd261[_0xe0a9('0x19')],{'raw':_0x2fd261[_0xe0a9('0x1a')]?_0x2fd261['options'][_0xe0a9('0x1b')]===undefined?!![]:![]:!![]})[_0xe0a9('0xd')](function(_0x88e2ea){logger[_0xe0a9('0xe')]('CreateVoiceAgentReport',_0x2fd261);logger[_0xe0a9('0x11')]('CreateVoiceAgentReport',_0x2fd261,JSON[_0xe0a9('0x13')](_0x88e2ea));_0x27e5df(_0x88e2ea);})[_0xe0a9('0x17')](function(_0x4d66a4){logger[_0xe0a9('0x14')](_0xe0a9('0x1c'),_0x4d66a4[_0xe0a9('0x16')],_0x2fd261);_0x438cfd(_0x30352d['error'](0x1f4,_0x4d66a4[_0xe0a9('0x16')]));});});};exports[_0xe0a9('0x1d')]=function(_0x522c36){var _0x285e04=this;return new Promise(function(_0x5c3ca9,_0x1ef9d8){return db[_0xe0a9('0x1e')]['update'](_0x522c36[_0xe0a9('0x19')],{'raw':_0x522c36[_0xe0a9('0x1a')]?_0x522c36[_0xe0a9('0x1a')][_0xe0a9('0x1b')]===undefined?!![]:![]:!![],'individualHooks':!![],'where':_0x522c36['options']?_0x522c36[_0xe0a9('0x1a')][_0xe0a9('0x1f')]||null:null,'attributes':_0x522c36['options']?_0x522c36[_0xe0a9('0x1a')][_0xe0a9('0x20')]||null:null,'limit':_0x522c36[_0xe0a9('0x1a')]?_0x522c36[_0xe0a9('0x1a')][_0xe0a9('0x21')]||null:null})[_0xe0a9('0xd')](function(_0xb826ca){logger[_0xe0a9('0xe')](_0xe0a9('0x1d'),_0x522c36);logger[_0xe0a9('0x11')](_0xe0a9('0x1d'),_0x522c36,JSON['stringify'](_0xb826ca));_0x5c3ca9(_0xb826ca);})[_0xe0a9('0x17')](function(_0x1b511c){logger[_0xe0a9('0x14')](_0xe0a9('0x1d'),_0x1b511c[_0xe0a9('0x16')],_0x522c36);_0x1ef9d8(_0x285e04[_0xe0a9('0x14')](0x1f4,_0x1b511c[_0xe0a9('0x16')]));});});}; \ No newline at end of file diff --git a/server/api/voiceCallReport/index.js b/server/api/voiceCallReport/index.js index 890c96b..5dd8e7c 100644 --- a/server/api/voiceCallReport/index.js +++ b/server/api/voiceCallReport/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x8c77=['/:id','show','post','create','put','destroy','exports','multer','util','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','isAuthenticated','index','get','describe'];(function(_0x588da4,_0x2feb0e){var _0x23f1f6=function(_0x574788){while(--_0x574788){_0x588da4['push'](_0x588da4['shift']());}};_0x23f1f6(++_0x2feb0e);}(_0x8c77,0x1b7));var _0x78c7=function(_0x2df968,_0x2392ee){_0x2df968=_0x2df968-0x0;var _0x5d9cb1=_0x8c77[_0x2df968];return _0x5d9cb1;};'use strict';var multer=require(_0x78c7('0x0'));var util=require(_0x78c7('0x1'));var path=require(_0x78c7('0x2'));var timeout=require(_0x78c7('0x3'));var express=require('express');var router=express[_0x78c7('0x4')]();var auth=require(_0x78c7('0x5'));var interaction=require(_0x78c7('0x6'));var config=require('../../config/environment');var controller=require('./voiceCallReport.controller');router['get']('/',auth[_0x78c7('0x7')](),controller[_0x78c7('0x8')]);router[_0x78c7('0x9')]('/describe',auth[_0x78c7('0x7')](),controller[_0x78c7('0xa')]);router['get'](_0x78c7('0xb'),auth[_0x78c7('0x7')](),controller[_0x78c7('0xc')]);router[_0x78c7('0xd')]('/',auth[_0x78c7('0x7')](),controller[_0x78c7('0xe')]);router[_0x78c7('0xf')](_0x78c7('0xb'),auth['isAuthenticated'](),controller['update']);router['delete'](_0x78c7('0xb'),auth['isAuthenticated'](),controller[_0x78c7('0x10')]);module[_0x78c7('0x11')]=router; \ No newline at end of file +var _0xe89f=['update','delete','/:id','exports','multer','util','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceCallReport.controller','get','isAuthenticated','index','describe','post','create'];(function(_0x45bf1e,_0x547889){var _0x1d59ae=function(_0xc73b7f){while(--_0xc73b7f){_0x45bf1e['push'](_0x45bf1e['shift']());}};_0x1d59ae(++_0x547889);}(_0xe89f,0x15a));var _0xfe89=function(_0x39c483,_0x4ed579){_0x39c483=_0x39c483-0x0;var _0x314d1b=_0xe89f[_0x39c483];return _0x314d1b;};'use strict';var multer=require(_0xfe89('0x0'));var util=require(_0xfe89('0x1'));var path=require(_0xfe89('0x2'));var timeout=require(_0xfe89('0x3'));var express=require('express');var router=express[_0xfe89('0x4')]();var auth=require(_0xfe89('0x5'));var interaction=require(_0xfe89('0x6'));var config=require(_0xfe89('0x7'));var controller=require(_0xfe89('0x8'));router[_0xfe89('0x9')]('/',auth[_0xfe89('0xa')](),controller[_0xfe89('0xb')]);router[_0xfe89('0x9')]('/describe',auth['isAuthenticated'](),controller[_0xfe89('0xc')]);router[_0xfe89('0x9')]('/:id',auth[_0xfe89('0xa')](),controller['show']);router[_0xfe89('0xd')]('/',auth[_0xfe89('0xa')](),controller[_0xfe89('0xe')]);router['put']('/:id',auth[_0xfe89('0xa')](),controller[_0xfe89('0xf')]);router[_0xfe89('0x10')](_0xfe89('0x11'),auth[_0xfe89('0xa')](),controller['destroy']);module[_0xfe89('0x12')]=router; \ No newline at end of file diff --git a/server/api/voiceCallReport/voiceCallReport.attributes.js b/server/api/voiceCallReport/voiceCallReport.attributes.js index 8589be0..50f64f7 100644 --- a/server/api/voiceCallReport/voiceCallReport.attributes.js +++ b/server/api/voiceCallReport/voiceCallReport.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x9957=['ENUM','internal','outbound','inbound-fax','outbound-fax','DATE','INTEGER','sequelize','exports','STRING'];(function(_0x54b00e,_0xd08415){var _0x456614=function(_0x13134d){while(--_0x13134d){_0x54b00e['push'](_0x54b00e['shift']());}};_0x456614(++_0xd08415);}(_0x9957,0x93));var _0x7995=function(_0x2dafbe,_0x5d04de){_0x2dafbe=_0x2dafbe-0x0;var _0x58a45a=_0x9957[_0x2dafbe];return _0x58a45a;};'use strict';var Sequelize=require(_0x7995('0x0'));module[_0x7995('0x1')]={'uniqueid':{'type':Sequelize[_0x7995('0x2')]},'type':{'type':Sequelize[_0x7995('0x3')]('inbound',_0x7995('0x4'),_0x7995('0x5'),_0x7995('0x6'),_0x7995('0x7'),'dialer')},'tag':{'type':Sequelize[_0x7995('0x2')]},'accountcode':{'type':Sequelize[_0x7995('0x2')]},'source':{'type':Sequelize[_0x7995('0x2')]},'destination':{'type':Sequelize[_0x7995('0x2')]},'destinationcontext':{'type':Sequelize[_0x7995('0x2')]},'callerid':{'type':Sequelize[_0x7995('0x2')]},'channel':{'type':Sequelize['STRING']},'destinationchannel':{'type':Sequelize[_0x7995('0x2')]},'lastapplication':{'type':Sequelize[_0x7995('0x2')]},'lastdata':{'type':Sequelize['TEXT']},'starttime':{'type':Sequelize[_0x7995('0x8')]},'systemanswertime':{'type':Sequelize[_0x7995('0x8')]},'answertime':{'type':Sequelize[_0x7995('0x8')]},'endtime':{'type':Sequelize[_0x7995('0x8')]},'duration':{'type':Sequelize[_0x7995('0x9')]},'billableseconds':{'type':Sequelize[_0x7995('0x9')]},'mohtime':{'type':Sequelize[_0x7995('0x9')],'defaultValue':0x0},'disposition':{'type':Sequelize['STRING']},'amaflags':{'type':Sequelize[_0x7995('0x2')]},'userfield':{'type':Sequelize[_0x7995('0x2')]},'userDisposition':{'type':Sequelize['STRING']},'note':{'type':Sequelize[_0x7995('0x2')]},'prefix':{'type':Sequelize[_0x7995('0x2')]},'routeid':{'type':Sequelize[_0x7995('0x9')]},'sipcallid':{'type':Sequelize[_0x7995('0x2')]}}; \ No newline at end of file +var _0xa9e0=['dialer','DATE','INTEGER','sequelize','exports','STRING','internal','inbound-fax','outbound-fax'];(function(_0x34aec4,_0x3801da){var _0x51e1a7=function(_0x24e87f){while(--_0x24e87f){_0x34aec4['push'](_0x34aec4['shift']());}};_0x51e1a7(++_0x3801da);}(_0xa9e0,0x123));var _0x0a9e=function(_0x5ddb1c,_0x5ea4df){_0x5ddb1c=_0x5ddb1c-0x0;var _0x354adc=_0xa9e0[_0x5ddb1c];return _0x354adc;};'use strict';var Sequelize=require(_0x0a9e('0x0'));module[_0x0a9e('0x1')]={'uniqueid':{'type':Sequelize[_0x0a9e('0x2')]},'type':{'type':Sequelize['ENUM']('inbound',_0x0a9e('0x3'),'outbound',_0x0a9e('0x4'),_0x0a9e('0x5'),_0x0a9e('0x6'))},'tag':{'type':Sequelize[_0x0a9e('0x2')]},'accountcode':{'type':Sequelize[_0x0a9e('0x2')]},'source':{'type':Sequelize['STRING']},'destination':{'type':Sequelize[_0x0a9e('0x2')]},'destinationcontext':{'type':Sequelize[_0x0a9e('0x2')]},'callerid':{'type':Sequelize[_0x0a9e('0x2')]},'channel':{'type':Sequelize['STRING']},'destinationchannel':{'type':Sequelize['STRING']},'lastapplication':{'type':Sequelize[_0x0a9e('0x2')]},'lastdata':{'type':Sequelize['TEXT']},'starttime':{'type':Sequelize['DATE']},'systemanswertime':{'type':Sequelize[_0x0a9e('0x7')]},'answertime':{'type':Sequelize[_0x0a9e('0x7')]},'endtime':{'type':Sequelize[_0x0a9e('0x7')]},'duration':{'type':Sequelize[_0x0a9e('0x8')]},'billableseconds':{'type':Sequelize[_0x0a9e('0x8')]},'mohtime':{'type':Sequelize[_0x0a9e('0x8')],'defaultValue':0x0},'disposition':{'type':Sequelize['STRING']},'amaflags':{'type':Sequelize['STRING']},'userfield':{'type':Sequelize['STRING']},'userDisposition':{'type':Sequelize['STRING']},'note':{'type':Sequelize[_0x0a9e('0x2')]},'prefix':{'type':Sequelize[_0x0a9e('0x2')]},'routeid':{'type':Sequelize[_0x0a9e('0x8')]},'sipcallid':{'type':Sequelize[_0x0a9e('0x2')]}}; \ No newline at end of file diff --git a/server/api/voiceCallReport/voiceCallReport.controller.js b/server/api/voiceCallReport/voiceCallReport.controller.js index da49f8e..097be05 100644 --- a/server/api/voiceCallReport/voiceCallReport.controller.js +++ b/server/api/voiceCallReport/voiceCallReport.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x5bec=['reject','then','destroy','error','stack','name','send','VoiceCallReport','rawAttributes','fieldName','type','key','model','query','keys','intersection','attributes','fields','length','hasOwnProperty','nolimit','order','sort','filters','pick','filter','where','map','VIRTUAL','options','includeAll','include','fullname','alias','User','findAll','rows','show','params','merge','catch','create','body','find','user','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','bluebird','mustache','util','sox','to-csv','ejs','squel','jsforce','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../config/license/hardware','../../config/logger','api','../../config/environment','sendStatus','status','json','count','offset','limit','set','Content-Range'];(function(_0x3d7978,_0x59f051){var _0x33dd50=function(_0x39d12d){while(--_0x39d12d){_0x3d7978['push'](_0x3d7978['shift']());}};_0x33dd50(++_0x59f051);}(_0x5bec,0x79));var _0xc5be=function(_0x413feb,_0x10477f){_0x413feb=_0x413feb-0x0;var _0x40ee88=_0x5bec[_0x413feb];return _0x40ee88;};'use strict';var pdf=require(_0xc5be('0x0'));var emlformat=require(_0xc5be('0x1'));var rimraf=require(_0xc5be('0x2'));var zipdir=require(_0xc5be('0x3'));var jsonpatch=require(_0xc5be('0x4'));var rp=require(_0xc5be('0x5'));var moment=require('moment');var BPromise=require(_0xc5be('0x6'));var Mustache=require(_0xc5be('0x7'));var util=require(_0xc5be('0x8'));var path=require('path');var sox=require(_0xc5be('0x9'));var csv=require(_0xc5be('0xa'));var ejs=require(_0xc5be('0xb'));var fs=require('fs');var _=require('lodash');var squel=require(_0xc5be('0xc'));var crypto=require('crypto');var jsforce=require(_0xc5be('0xd'));var deskjs=require('desk.js');var toCsv=require(_0xc5be('0xa'));var querystring=require(_0xc5be('0xe'));var Papa=require(_0xc5be('0xf'));var Redis=require(_0xc5be('0x10'));var authService=require(_0xc5be('0x11'));var qs=require(_0xc5be('0x12'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0xc5be('0x13'));var logger=require(_0xc5be('0x14'))(_0xc5be('0x15'));var utils=require('../../config/utils');var config=require(_0xc5be('0x16'));var db=require('../../mysqldb')['db'];function respondWithStatusCode(_0x1d9e04,_0x5689ad){_0x5689ad=_0x5689ad||0xcc;return function(_0x4ce86f){if(_0x4ce86f){return _0x1d9e04[_0xc5be('0x17')](_0x5689ad);}return _0x1d9e04['status'](_0x5689ad)['end']();};}function respondWithResult(_0x2befc5,_0x4ba927){_0x4ba927=_0x4ba927||0xc8;return function(_0x4f2050){if(_0x4f2050){return _0x2befc5[_0xc5be('0x18')](_0x4ba927)[_0xc5be('0x19')](_0x4f2050);}};}function respondWithFilteredResult(_0x2c6d7e,_0x7440d9){return function(_0x51d798){if(_0x51d798){var _0x5b9706=_0x51d798[_0xc5be('0x1a')],_0x36b308=_0x7440d9[_0xc5be('0x1b')],_0x5db8c1=_0x7440d9[_0xc5be('0x1b')]+_0x7440d9[_0xc5be('0x1c')],_0x172b7c;if(_0x5db8c1>=_0x5b9706){_0x5db8c1=_0x5b9706;_0x172b7c=0xc8;}else{_0x172b7c=0xce;}_0x2c6d7e[_0xc5be('0x18')](_0x172b7c);return _0x2c6d7e[_0xc5be('0x1d')](_0xc5be('0x1e'),_0x36b308+'-'+_0x5db8c1+'/'+_0x5b9706)[_0xc5be('0x19')](_0x51d798);}return null;};}function patchUpdates(_0x1924d3){return function(_0x47ac47){try{jsonpatch['apply'](_0x47ac47,_0x1924d3,!![]);}catch(_0x4d1a5e){return BPromise[_0xc5be('0x1f')](_0x4d1a5e);}return _0x47ac47['save']();};}function saveUpdates(_0x27b2e9,_0x1defe2){return function(_0x53ea2f){if(_0x53ea2f){return _0x53ea2f['update'](_0x27b2e9)[_0xc5be('0x20')](function(_0x1ce26c){return _0x1ce26c;});}return null;};}function removeEntity(_0x3711bc,_0x32c58a){return function(_0x2b1e37){if(_0x2b1e37){return _0x2b1e37[_0xc5be('0x21')]()[_0xc5be('0x20')](function(){_0x3711bc['status'](0xcc)['end']();});}};}function handleEntityNotFound(_0xcdd008,_0x3d0ab2){return function(_0x52e350){if(!_0x52e350){_0xcdd008[_0xc5be('0x17')](0x194);}return _0x52e350;};}function handleError(_0x20fdb9,_0x7312b3){_0x7312b3=_0x7312b3||0x1f4;return function(_0x1b0fd7){logger[_0xc5be('0x22')](_0x1b0fd7[_0xc5be('0x23')]);if(_0x1b0fd7[_0xc5be('0x24')]){delete _0x1b0fd7[_0xc5be('0x24')];}_0x20fdb9[_0xc5be('0x18')](_0x7312b3)[_0xc5be('0x25')](_0x1b0fd7);};}exports['index']=function(_0x449e03,_0x138722){var _0xe90144={},_0x2a2c1f={},_0x214234={'count':0x0,'rows':[]};var _0x3ccccc=_['map'](db[_0xc5be('0x26')][_0xc5be('0x27')],function(_0x42eee7){return{'name':_0x42eee7[_0xc5be('0x28')],'type':_0x42eee7[_0xc5be('0x29')][_0xc5be('0x2a')]};});_0x2a2c1f[_0xc5be('0x2b')]=_['map'](_0x3ccccc,_0xc5be('0x24'));_0x2a2c1f[_0xc5be('0x2c')]=_[_0xc5be('0x2d')](_0x449e03[_0xc5be('0x2c')]);_0x2a2c1f['filters']=_[_0xc5be('0x2e')](_0x2a2c1f['model'],_0x2a2c1f[_0xc5be('0x2c')]);_0xe90144[_0xc5be('0x2f')]=_[_0xc5be('0x2e')](_0x2a2c1f[_0xc5be('0x2b')],qs['fields'](_0x449e03[_0xc5be('0x2c')][_0xc5be('0x30')]));_0xe90144[_0xc5be('0x2f')]=_0xe90144[_0xc5be('0x2f')][_0xc5be('0x31')]?_0xe90144[_0xc5be('0x2f')]:_0x2a2c1f['model'];if(!_0x449e03[_0xc5be('0x2c')][_0xc5be('0x32')](_0xc5be('0x33'))){_0xe90144['limit']=qs[_0xc5be('0x1c')](_0x449e03['query'][_0xc5be('0x1c')]);_0xe90144['offset']=qs[_0xc5be('0x1b')](_0x449e03[_0xc5be('0x2c')][_0xc5be('0x1b')]);}_0xe90144[_0xc5be('0x34')]=qs[_0xc5be('0x35')](_0x449e03[_0xc5be('0x2c')][_0xc5be('0x35')]);_0xe90144['where']=qs[_0xc5be('0x36')](_[_0xc5be('0x37')](_0x449e03[_0xc5be('0x2c')],_0x2a2c1f[_0xc5be('0x36')]),_0x3ccccc);if(_0x449e03[_0xc5be('0x2c')][_0xc5be('0x38')]){_0xe90144[_0xc5be('0x39')]=_['merge'](_0xe90144['where'],{'$or':_[_0xc5be('0x3a')](_0x3ccccc,function(_0x55a7fa){if(_0x55a7fa[_0xc5be('0x29')]!==_0xc5be('0x3b')){var _0x4727b1={};_0x4727b1[_0x55a7fa[_0xc5be('0x24')]]={'$like':'%'+_0x449e03[_0xc5be('0x2c')][_0xc5be('0x38')]+'%'};return _0x4727b1;}})});}_0xe90144=_['merge']({},_0xe90144,_0x449e03[_0xc5be('0x3c')]);var _0x2ef5d4={'where':_0xe90144[_0xc5be('0x39')]};return db[_0xc5be('0x26')][_0xc5be('0x1a')](_0x2ef5d4)['then'](function(_0x56c84e){_0x214234[_0xc5be('0x1a')]=_0x56c84e;if(_0x449e03[_0xc5be('0x2c')][_0xc5be('0x3d')]){_0xe90144[_0xc5be('0x3e')]=[{'attributes':['id','name',_0xc5be('0x3f'),_0xc5be('0x40')],'model':db['User'],'as':_0xc5be('0x41')}];}return db[_0xc5be('0x26')][_0xc5be('0x42')](_0xe90144);})[_0xc5be('0x20')](function(_0x3569ae){_0x214234[_0xc5be('0x43')]=_0x3569ae;return _0x214234;})[_0xc5be('0x20')](respondWithFilteredResult(_0x138722,_0xe90144))['catch'](handleError(_0x138722,null));};exports[_0xc5be('0x44')]=function(_0x384205,_0x1586ff){var _0x2ce350={'raw':!![],'where':{'id':_0x384205[_0xc5be('0x45')]['id']}},_0x3231aa={};_0x3231aa[_0xc5be('0x2b')]=_[_0xc5be('0x2d')](db[_0xc5be('0x26')]['rawAttributes']);_0x3231aa[_0xc5be('0x2c')]=_['keys'](_0x384205[_0xc5be('0x2c')]);_0x3231aa[_0xc5be('0x36')]=_[_0xc5be('0x2e')](_0x3231aa[_0xc5be('0x2b')],_0x3231aa[_0xc5be('0x2c')]);_0x2ce350[_0xc5be('0x2f')]=_[_0xc5be('0x2e')](_0x3231aa[_0xc5be('0x2b')],qs[_0xc5be('0x30')](_0x384205[_0xc5be('0x2c')]['fields']));_0x2ce350['attributes']=_0x2ce350[_0xc5be('0x2f')][_0xc5be('0x31')]?_0x2ce350[_0xc5be('0x2f')]:_0x3231aa[_0xc5be('0x2b')];if(_0x384205['query'][_0xc5be('0x3d')]){_0x2ce350[_0xc5be('0x3e')]=[{'all':!![]}];}_0x2ce350=_[_0xc5be('0x46')]({},_0x2ce350,_0x384205[_0xc5be('0x3c')]);return db['VoiceCallReport']['find'](_0x2ce350)[_0xc5be('0x20')](handleEntityNotFound(_0x1586ff,null))[_0xc5be('0x20')](respondWithResult(_0x1586ff,null))[_0xc5be('0x47')](handleError(_0x1586ff,null));};exports[_0xc5be('0x48')]=function(_0x36c01b,_0x808db8){return db[_0xc5be('0x26')][_0xc5be('0x48')](_0x36c01b[_0xc5be('0x49')],{})['then'](respondWithResult(_0x808db8,0xc9))[_0xc5be('0x47')](handleError(_0x808db8,null));};exports[_0xc5be('0x21')]=function(_0x387714,_0x6bae77){return db[_0xc5be('0x26')][_0xc5be('0x4a')]({'where':{'id':_0x387714[_0xc5be('0x45')]['id']}})[_0xc5be('0x20')](handleEntityNotFound(_0x6bae77,null))[_0xc5be('0x20')](removeEntity(_0x6bae77,null))[_0xc5be('0x47')](handleError(_0x6bae77,null));};exports['describe']=function(_0x516262,_0x4607da){return db[_0xc5be('0x26')]['describe']()['then'](respondWithResult(_0x4607da,null))[_0xc5be('0x47')](handleError(_0x4607da,null));};exports['update']=function(_0x451b83,_0x3626ca){if(_0x451b83['body']['uniqueid']){delete _0x451b83[_0xc5be('0x49')]['uniqueid'];}return db[_0xc5be('0x26')][_0xc5be('0x4a')]({'where':{'uniqueid':_0x451b83[_0xc5be('0x45')]['id'],'UserId':{'$or':[null,_0x451b83[_0xc5be('0x4b')]['id']]}}})[_0xc5be('0x20')](handleEntityNotFound(_0x3626ca,null))['then'](saveUpdates(_0x451b83[_0xc5be('0x49')],null))[_0xc5be('0x20')](respondWithResult(_0x3626ca,null))[_0xc5be('0x47')](handleError(_0x3626ca,null));}; \ No newline at end of file +var _0x7668=['offset','limit','set','json','reject','save','update','then','destroy','sendStatus','error','name','map','VoiceCallReport','fieldName','type','key','model','query','intersection','fields','attributes','hasOwnProperty','nolimit','sort','where','filters','pick','merge','VIRTUAL','filter','options','count','fullname','alias','User','findAll','rows','params','rawAttributes','keys','length','includeAll','include','catch','create','describe','body','uniqueid','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','moment','bluebird','mustache','util','to-csv','ejs','lodash','squel','crypto','jsforce','desk.js','querystring','papaparse','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','../../config/utils','../../mysqldb','status'];(function(_0x465a03,_0x583245){var _0x4e4ea3=function(_0x472bac){while(--_0x472bac){_0x465a03['push'](_0x465a03['shift']());}};_0x4e4ea3(++_0x583245);}(_0x7668,0x1a8));var _0x8766=function(_0x523909,_0x47f221){_0x523909=_0x523909-0x0;var _0x1d3b1e=_0x7668[_0x523909];return _0x1d3b1e;};'use strict';var pdf=require(_0x8766('0x0'));var emlformat=require(_0x8766('0x1'));var rimraf=require(_0x8766('0x2'));var zipdir=require(_0x8766('0x3'));var jsonpatch=require(_0x8766('0x4'));var rp=require('request-promise');var moment=require(_0x8766('0x5'));var BPromise=require(_0x8766('0x6'));var Mustache=require(_0x8766('0x7'));var util=require(_0x8766('0x8'));var path=require('path');var sox=require('sox');var csv=require(_0x8766('0x9'));var ejs=require(_0x8766('0xa'));var fs=require('fs');var _=require(_0x8766('0xb'));var squel=require(_0x8766('0xc'));var crypto=require(_0x8766('0xd'));var jsforce=require(_0x8766('0xe'));var deskjs=require(_0x8766('0xf'));var toCsv=require(_0x8766('0x9'));var querystring=require(_0x8766('0x10'));var Papa=require(_0x8766('0x11'));var Redis=require('ioredis');var authService=require(_0x8766('0x12'));var qs=require(_0x8766('0x13'));var as=require(_0x8766('0x14'));var hardwareService=require(_0x8766('0x15'));var logger=require(_0x8766('0x16'))('api');var utils=require(_0x8766('0x17'));var config=require('../../config/environment');var db=require(_0x8766('0x18'))['db'];function respondWithStatusCode(_0x320119,_0xfd22d8){_0xfd22d8=_0xfd22d8||0xcc;return function(_0x2725e4){if(_0x2725e4){return _0x320119['sendStatus'](_0xfd22d8);}return _0x320119[_0x8766('0x19')](_0xfd22d8)['end']();};}function respondWithResult(_0x464e43,_0x1a95bc){_0x1a95bc=_0x1a95bc||0xc8;return function(_0x25503d){if(_0x25503d){return _0x464e43[_0x8766('0x19')](_0x1a95bc)['json'](_0x25503d);}};}function respondWithFilteredResult(_0x583593,_0x52f80e){return function(_0x4f4a96){if(_0x4f4a96){var _0x442a86=_0x4f4a96['count'],_0x3c180c=_0x52f80e[_0x8766('0x1a')],_0x5ea5c7=_0x52f80e[_0x8766('0x1a')]+_0x52f80e[_0x8766('0x1b')],_0xed625f;if(_0x5ea5c7>=_0x442a86){_0x5ea5c7=_0x442a86;_0xed625f=0xc8;}else{_0xed625f=0xce;}_0x583593[_0x8766('0x19')](_0xed625f);return _0x583593[_0x8766('0x1c')]('Content-Range',_0x3c180c+'-'+_0x5ea5c7+'/'+_0x442a86)[_0x8766('0x1d')](_0x4f4a96);}return null;};}function patchUpdates(_0x12b687){return function(_0x15ff59){try{jsonpatch['apply'](_0x15ff59,_0x12b687,!![]);}catch(_0x49072a){return BPromise[_0x8766('0x1e')](_0x49072a);}return _0x15ff59[_0x8766('0x1f')]();};}function saveUpdates(_0x58ad4e,_0x32fc57){return function(_0x4489e5){if(_0x4489e5){return _0x4489e5[_0x8766('0x20')](_0x58ad4e)[_0x8766('0x21')](function(_0x46ea2a){return _0x46ea2a;});}return null;};}function removeEntity(_0x318a5e,_0x5772a5){return function(_0xf61992){if(_0xf61992){return _0xf61992[_0x8766('0x22')]()[_0x8766('0x21')](function(){_0x318a5e['status'](0xcc)['end']();});}};}function handleEntityNotFound(_0x3c458f,_0x5928a0){return function(_0x537483){if(!_0x537483){_0x3c458f[_0x8766('0x23')](0x194);}return _0x537483;};}function handleError(_0x2773d3,_0x45db6e){_0x45db6e=_0x45db6e||0x1f4;return function(_0x514028){logger[_0x8766('0x24')](_0x514028['stack']);if(_0x514028[_0x8766('0x25')]){delete _0x514028[_0x8766('0x25')];}_0x2773d3[_0x8766('0x19')](_0x45db6e)['send'](_0x514028);};}exports['index']=function(_0x20905f,_0x5b701e){var _0x42a964={},_0x369a64={},_0x4b3505={'count':0x0,'rows':[]};var _0x12fb4b=_[_0x8766('0x26')](db[_0x8766('0x27')]['rawAttributes'],function(_0x48e4e0){return{'name':_0x48e4e0[_0x8766('0x28')],'type':_0x48e4e0[_0x8766('0x29')][_0x8766('0x2a')]};});_0x369a64[_0x8766('0x2b')]=_['map'](_0x12fb4b,_0x8766('0x25'));_0x369a64[_0x8766('0x2c')]=_['keys'](_0x20905f[_0x8766('0x2c')]);_0x369a64['filters']=_['intersection'](_0x369a64[_0x8766('0x2b')],_0x369a64[_0x8766('0x2c')]);_0x42a964['attributes']=_[_0x8766('0x2d')](_0x369a64[_0x8766('0x2b')],qs[_0x8766('0x2e')](_0x20905f['query'][_0x8766('0x2e')]));_0x42a964[_0x8766('0x2f')]=_0x42a964[_0x8766('0x2f')]['length']?_0x42a964[_0x8766('0x2f')]:_0x369a64['model'];if(!_0x20905f['query'][_0x8766('0x30')](_0x8766('0x31'))){_0x42a964['limit']=qs[_0x8766('0x1b')](_0x20905f[_0x8766('0x2c')]['limit']);_0x42a964['offset']=qs['offset'](_0x20905f['query'][_0x8766('0x1a')]);}_0x42a964['order']=qs[_0x8766('0x32')](_0x20905f[_0x8766('0x2c')]['sort']);_0x42a964[_0x8766('0x33')]=qs[_0x8766('0x34')](_[_0x8766('0x35')](_0x20905f[_0x8766('0x2c')],_0x369a64[_0x8766('0x34')]),_0x12fb4b);if(_0x20905f[_0x8766('0x2c')]['filter']){_0x42a964[_0x8766('0x33')]=_[_0x8766('0x36')](_0x42a964[_0x8766('0x33')],{'$or':_[_0x8766('0x26')](_0x12fb4b,function(_0x49b817){if(_0x49b817[_0x8766('0x29')]!==_0x8766('0x37')){var _0x5c72ec={};_0x5c72ec[_0x49b817[_0x8766('0x25')]]={'$like':'%'+_0x20905f[_0x8766('0x2c')][_0x8766('0x38')]+'%'};return _0x5c72ec;}})});}_0x42a964=_['merge']({},_0x42a964,_0x20905f[_0x8766('0x39')]);var _0x3364ba={'where':_0x42a964[_0x8766('0x33')]};return db['VoiceCallReport'][_0x8766('0x3a')](_0x3364ba)[_0x8766('0x21')](function(_0x25b775){_0x4b3505[_0x8766('0x3a')]=_0x25b775;if(_0x20905f['query']['includeAll']){_0x42a964['include']=[{'attributes':['id','name',_0x8766('0x3b'),_0x8766('0x3c')],'model':db[_0x8766('0x3d')],'as':_0x8766('0x3d')}];}return db[_0x8766('0x27')][_0x8766('0x3e')](_0x42a964);})[_0x8766('0x21')](function(_0x47a581){_0x4b3505[_0x8766('0x3f')]=_0x47a581;return _0x4b3505;})[_0x8766('0x21')](respondWithFilteredResult(_0x5b701e,_0x42a964))['catch'](handleError(_0x5b701e,null));};exports['show']=function(_0xdf1a97,_0x3b33e8){var _0x358050={'raw':!![],'where':{'id':_0xdf1a97[_0x8766('0x40')]['id']}},_0x2b1d0f={};_0x2b1d0f[_0x8766('0x2b')]=_['keys'](db[_0x8766('0x27')][_0x8766('0x41')]);_0x2b1d0f[_0x8766('0x2c')]=_[_0x8766('0x42')](_0xdf1a97[_0x8766('0x2c')]);_0x2b1d0f['filters']=_[_0x8766('0x2d')](_0x2b1d0f[_0x8766('0x2b')],_0x2b1d0f['query']);_0x358050[_0x8766('0x2f')]=_[_0x8766('0x2d')](_0x2b1d0f['model'],qs['fields'](_0xdf1a97[_0x8766('0x2c')][_0x8766('0x2e')]));_0x358050[_0x8766('0x2f')]=_0x358050[_0x8766('0x2f')][_0x8766('0x43')]?_0x358050[_0x8766('0x2f')]:_0x2b1d0f[_0x8766('0x2b')];if(_0xdf1a97['query'][_0x8766('0x44')]){_0x358050[_0x8766('0x45')]=[{'all':!![]}];}_0x358050=_[_0x8766('0x36')]({},_0x358050,_0xdf1a97[_0x8766('0x39')]);return db['VoiceCallReport']['find'](_0x358050)[_0x8766('0x21')](handleEntityNotFound(_0x3b33e8,null))[_0x8766('0x21')](respondWithResult(_0x3b33e8,null))[_0x8766('0x46')](handleError(_0x3b33e8,null));};exports['create']=function(_0x266903,_0x285213){return db['VoiceCallReport'][_0x8766('0x47')](_0x266903['body'],{})[_0x8766('0x21')](respondWithResult(_0x285213,0xc9))['catch'](handleError(_0x285213,null));};exports[_0x8766('0x22')]=function(_0x51c0e7,_0x1be03e){return db[_0x8766('0x27')]['find']({'where':{'id':_0x51c0e7[_0x8766('0x40')]['id']}})['then'](handleEntityNotFound(_0x1be03e,null))[_0x8766('0x21')](removeEntity(_0x1be03e,null))[_0x8766('0x46')](handleError(_0x1be03e,null));};exports[_0x8766('0x48')]=function(_0x2f9ba1,_0x2e87bc){return db['VoiceCallReport'][_0x8766('0x48')]()[_0x8766('0x21')](respondWithResult(_0x2e87bc,null))[_0x8766('0x46')](handleError(_0x2e87bc,null));};exports[_0x8766('0x20')]=function(_0x17b92f,_0x1584b6){if(_0x17b92f[_0x8766('0x49')][_0x8766('0x4a')]){delete _0x17b92f[_0x8766('0x49')][_0x8766('0x4a')];}return db[_0x8766('0x27')]['find']({'where':{'uniqueid':_0x17b92f[_0x8766('0x40')]['id'],'UserId':{'$or':[null,_0x17b92f['user']['id']]}}})[_0x8766('0x21')](handleEntityNotFound(_0x1584b6,null))[_0x8766('0x21')](saveUpdates(_0x17b92f[_0x8766('0x49')],null))['then'](respondWithResult(_0x1584b6,null))[_0x8766('0x46')](handleError(_0x1584b6,null));}; \ No newline at end of file diff --git a/server/api/voiceCallReport/voiceCallReport.model.js b/server/api/voiceCallReport/voiceCallReport.model.js index 501f2d3..dfe695e 100644 --- a/server/api/voiceCallReport/voiceCallReport.model.js +++ b/server/api/voiceCallReport/voiceCallReport.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xb861=['lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','exports','define','VoiceCallReport','report_call','uniqueid'];(function(_0x16423f,_0x16bd04){var _0x45b91f=function(_0x3813ac){while(--_0x3813ac){_0x16423f['push'](_0x16423f['shift']());}};_0x45b91f(++_0x16bd04);}(_0xb861,0x13b));var _0x1b86=function(_0xc6b104,_0x1d805a){_0xc6b104=_0xc6b104-0x0;var _0x1c6fce=_0xb861[_0xc6b104];return _0x1c6fce;};'use strict';var _=require(_0x1b86('0x0'));var util=require(_0x1b86('0x1'));var logger=require(_0x1b86('0x2'))(_0x1b86('0x3'));var moment=require(_0x1b86('0x4'));var BPromise=require(_0x1b86('0x5'));var rp=require(_0x1b86('0x6'));var fs=require('fs');var path=require(_0x1b86('0x7'));var rimraf=require(_0x1b86('0x8'));var config=require(_0x1b86('0x9'));var attributes=require('./voiceCallReport.attributes');module[_0x1b86('0xa')]=function(_0x4eaa01,_0x5c8b01){return _0x4eaa01[_0x1b86('0xb')](_0x1b86('0xc'),attributes,{'tableName':_0x1b86('0xd'),'paranoid':![],'indexes':[{'fields':[_0x1b86('0xe')]}],'timestamps':!![]});}; \ No newline at end of file +var _0xc208=['path','../../config/environment','exports','define','util','../../config/logger','api','moment','bluebird'];(function(_0x50ff6f,_0x3e2af2){var _0x34bda2=function(_0x4f38b7){while(--_0x4f38b7){_0x50ff6f['push'](_0x50ff6f['shift']());}};_0x34bda2(++_0x3e2af2);}(_0xc208,0x148));var _0x8c20=function(_0xa464c9,_0x7c86d8){_0xa464c9=_0xa464c9-0x0;var _0x3d73c4=_0xc208[_0xa464c9];return _0x3d73c4;};'use strict';var _=require('lodash');var util=require(_0x8c20('0x0'));var logger=require(_0x8c20('0x1'))(_0x8c20('0x2'));var moment=require(_0x8c20('0x3'));var BPromise=require(_0x8c20('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x8c20('0x5'));var rimraf=require('rimraf');var config=require(_0x8c20('0x6'));var attributes=require('./voiceCallReport.attributes');module[_0x8c20('0x7')]=function(_0x1ae535,_0x43b325){return _0x1ae535[_0x8c20('0x8')]('VoiceCallReport',attributes,{'tableName':'report_call','paranoid':![],'indexes':[{'fields':['uniqueid']}],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/voiceCallReport/voiceCallReport.rpc.js b/server/api/voiceCallReport/voiceCallReport.rpc.js index 4daa54f..1b9a23f 100644 --- a/server/api/voiceCallReport/voiceCallReport.rpc.js +++ b/server/api/voiceCallReport/voiceCallReport.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x66b3=['code','message','VoiceCallReport,\x20%s,\x20%s','result','catch','GetVoiceCallReport','findAll','options','raw','where','attributes','limit','map','include','model','CreateVoiceCallReport','create','body','UpdateVoiceCallReport','VoiceCallReport','update','lodash','util','moment','bluebird','randomstring','ioredis','../../config/utils','../../config/logger','rpc','jayson/promise','client','http','request','then','info','debug','VoiceCallReport,\x20%s,\x20%s,\x20%s','request\x20sent','stringify','error'];(function(_0x68ee8b,_0x3cc6c5){var _0x5148f7=function(_0x5dcbd5){while(--_0x5dcbd5){_0x68ee8b['push'](_0x68ee8b['shift']());}};_0x5148f7(++_0x3cc6c5);}(_0x66b3,0xe2));var _0x366b=function(_0x3bed34,_0x18b845){_0x3bed34=_0x3bed34-0x0;var _0x48de0c=_0x66b3[_0x3bed34];return _0x48de0c;};'use strict';var _=require(_0x366b('0x0'));var util=require(_0x366b('0x1'));var moment=require(_0x366b('0x2'));var BPromise=require(_0x366b('0x3'));var rs=require(_0x366b('0x4'));var fs=require('fs');var Redis=require(_0x366b('0x5'));var db=require('../../mysqldb')['db'];var utils=require(_0x366b('0x6'));var logger=require(_0x366b('0x7'))(_0x366b('0x8'));var config=require('../../config/environment');var jayson=require(_0x366b('0x9'));var client=jayson[_0x366b('0xa')][_0x366b('0xb')]({'port':0x232a});function respondWithRpcPromise(_0x1c86b4,_0x5e4a8e,_0x222841){return new BPromise(function(_0x178eb4,_0x373d95){return client[_0x366b('0xc')](_0x1c86b4,_0x222841)[_0x366b('0xd')](function(_0x37efa8){logger[_0x366b('0xe')]('VoiceCallReport,\x20%s,\x20%s',_0x5e4a8e,'request\x20sent');logger[_0x366b('0xf')](_0x366b('0x10'),_0x5e4a8e,_0x366b('0x11'),JSON[_0x366b('0x12')](_0x37efa8));if(_0x37efa8[_0x366b('0x13')]){if(_0x37efa8[_0x366b('0x13')][_0x366b('0x14')]===0x1f4){logger['error']('VoiceCallReport,\x20%s,\x20%s',_0x5e4a8e,_0x37efa8[_0x366b('0x13')][_0x366b('0x15')]);return _0x373d95(_0x37efa8['error'][_0x366b('0x15')]);}logger[_0x366b('0x13')](_0x366b('0x16'),_0x5e4a8e,_0x37efa8[_0x366b('0x13')]['message']);return _0x178eb4(_0x37efa8[_0x366b('0x13')][_0x366b('0x15')]);}else{logger[_0x366b('0xe')](_0x366b('0x16'),_0x5e4a8e,_0x366b('0x11'));_0x178eb4(_0x37efa8[_0x366b('0x17')][_0x366b('0x15')]);}})[_0x366b('0x18')](function(_0x395b8a){logger[_0x366b('0x13')](_0x366b('0x16'),_0x5e4a8e,_0x395b8a);_0x373d95(_0x395b8a);});});}exports[_0x366b('0x19')]=function(_0xac752d){var _0x48019e=this;return new Promise(function(_0x3d544f,_0x19bfe8){return db['VoiceCallReport'][_0x366b('0x1a')]({'raw':_0xac752d[_0x366b('0x1b')]?_0xac752d['options'][_0x366b('0x1c')]===undefined?!![]:![]:!![],'where':_0xac752d[_0x366b('0x1b')]?_0xac752d['options'][_0x366b('0x1d')]||null:null,'attributes':_0xac752d[_0x366b('0x1b')]?_0xac752d[_0x366b('0x1b')][_0x366b('0x1e')]||null:null,'limit':_0xac752d[_0x366b('0x1b')]?_0xac752d[_0x366b('0x1b')][_0x366b('0x1f')]||null:null,'include':_0xac752d[_0x366b('0x1b')]?_0xac752d[_0x366b('0x1b')]['include']?_[_0x366b('0x20')](_0xac752d[_0x366b('0x1b')][_0x366b('0x21')],function(_0x4e9206){return{'model':db[_0x4e9206[_0x366b('0x22')]],'as':_0x4e9206['as'],'attributes':_0x4e9206['attributes'],'include':_0x4e9206[_0x366b('0x21')]?_[_0x366b('0x20')](_0x4e9206[_0x366b('0x21')],function(_0x4585c4){return{'model':db[_0x4585c4['model']],'as':_0x4585c4['as'],'attributes':_0x4585c4[_0x366b('0x1e')],'include':_0x4585c4['include']?_[_0x366b('0x20')](_0x4585c4[_0x366b('0x21')],function(_0x2c0c91){return{'model':db[_0x2c0c91['model']],'as':_0x2c0c91['as'],'attributes':_0x2c0c91[_0x366b('0x1e')]};}):[]};}):[]};}):[]:[]})[_0x366b('0xd')](function(_0x320945){logger[_0x366b('0xe')](_0x366b('0x19'),_0xac752d);logger[_0x366b('0xf')](_0x366b('0x19'),_0xac752d,JSON['stringify'](_0x320945));_0x3d544f(_0x320945);})[_0x366b('0x18')](function(_0x56f5bc){logger[_0x366b('0x13')](_0x366b('0x19'),_0x56f5bc[_0x366b('0x15')],_0xac752d);_0x19bfe8(_0x48019e[_0x366b('0x13')](0x1f4,_0x56f5bc[_0x366b('0x15')]));});});};exports[_0x366b('0x23')]=function(_0x27ba0a){var _0x5ccee0=this;return new Promise(function(_0x5e7cce,_0x695c35){return db['VoiceCallReport'][_0x366b('0x24')](_0x27ba0a[_0x366b('0x25')],{'raw':_0x27ba0a[_0x366b('0x1b')]?_0x27ba0a[_0x366b('0x1b')]['raw']===undefined?!![]:![]:!![]})[_0x366b('0xd')](function(_0x4c39f7){logger[_0x366b('0xe')](_0x366b('0x23'),_0x27ba0a);logger[_0x366b('0xf')](_0x366b('0x23'),_0x27ba0a,JSON[_0x366b('0x12')](_0x4c39f7));_0x5e7cce(_0x4c39f7);})[_0x366b('0x18')](function(_0x53f333){logger[_0x366b('0x13')]('CreateVoiceCallReport',_0x53f333[_0x366b('0x15')],_0x27ba0a);_0x695c35(_0x5ccee0['error'](0x1f4,_0x53f333[_0x366b('0x15')]));});});};exports[_0x366b('0x26')]=function(_0x24d0d9){var _0x1f13d6=this;return new Promise(function(_0x2ba28e,_0xc5da90){return db[_0x366b('0x27')][_0x366b('0x28')](_0x24d0d9[_0x366b('0x25')],{'raw':_0x24d0d9[_0x366b('0x1b')]?_0x24d0d9[_0x366b('0x1b')][_0x366b('0x1c')]===undefined?!![]:![]:!![],'individualHooks':!![],'where':_0x24d0d9[_0x366b('0x1b')]?_0x24d0d9[_0x366b('0x1b')]['where']||null:null,'attributes':_0x24d0d9[_0x366b('0x1b')]?_0x24d0d9[_0x366b('0x1b')][_0x366b('0x1e')]||null:null,'limit':_0x24d0d9[_0x366b('0x1b')]?_0x24d0d9[_0x366b('0x1b')][_0x366b('0x1f')]||null:null})[_0x366b('0xd')](function(_0x19377e){logger['info'](_0x366b('0x26'),_0x24d0d9);logger[_0x366b('0xf')](_0x366b('0x26'),_0x24d0d9,JSON['stringify'](_0x19377e));_0x2ba28e(_0x19377e);})[_0x366b('0x18')](function(_0x10b502){logger[_0x366b('0x13')](_0x366b('0x26'),_0x10b502[_0x366b('0x15')],_0x24d0d9);_0xc5da90(_0x1f13d6[_0x366b('0x13')](0x1f4,_0x10b502[_0x366b('0x15')]));});});}; \ No newline at end of file +var _0xcbfe=['limit','include','map','model','body','then','CreateVoiceCallReport','update','UpdateVoiceCallReport','lodash','util','moment','bluebird','ioredis','../../mysqldb','rpc','../../config/environment','jayson/promise','client','info','debug','request\x20sent','stringify','error','code','VoiceCallReport,\x20%s,\x20%s','message','result','catch','GetVoiceCallReport','VoiceCallReport','findAll','options','raw','where','attributes'];(function(_0xa464c9,_0x7c86d8){var _0x3d73c4=function(_0x5c2056){while(--_0x5c2056){_0xa464c9['push'](_0xa464c9['shift']());}};_0x3d73c4(++_0x7c86d8);}(_0xcbfe,0x75));var _0xecbf=function(_0x20a584,_0xe384a5){_0x20a584=_0x20a584-0x0;var _0x4b41a8=_0xcbfe[_0x20a584];return _0x4b41a8;};'use strict';var _=require(_0xecbf('0x0'));var util=require(_0xecbf('0x1'));var moment=require(_0xecbf('0x2'));var BPromise=require(_0xecbf('0x3'));var rs=require('randomstring');var fs=require('fs');var Redis=require(_0xecbf('0x4'));var db=require(_0xecbf('0x5'))['db'];var utils=require('../../config/utils');var logger=require('../../config/logger')(_0xecbf('0x6'));var config=require(_0xecbf('0x7'));var jayson=require(_0xecbf('0x8'));var client=jayson[_0xecbf('0x9')]['http']({'port':0x232a});function respondWithRpcPromise(_0x308b61,_0x471866,_0x238de6){return new BPromise(function(_0x1a6ee4,_0x53ba3d){return client['request'](_0x308b61,_0x238de6)['then'](function(_0x3ce8f1){logger[_0xecbf('0xa')]('VoiceCallReport,\x20%s,\x20%s',_0x471866,'request\x20sent');logger[_0xecbf('0xb')]('VoiceCallReport,\x20%s,\x20%s,\x20%s',_0x471866,_0xecbf('0xc'),JSON[_0xecbf('0xd')](_0x3ce8f1));if(_0x3ce8f1[_0xecbf('0xe')]){if(_0x3ce8f1[_0xecbf('0xe')][_0xecbf('0xf')]===0x1f4){logger[_0xecbf('0xe')](_0xecbf('0x10'),_0x471866,_0x3ce8f1[_0xecbf('0xe')]['message']);return _0x53ba3d(_0x3ce8f1['error'][_0xecbf('0x11')]);}logger[_0xecbf('0xe')]('VoiceCallReport,\x20%s,\x20%s',_0x471866,_0x3ce8f1['error'][_0xecbf('0x11')]);return _0x1a6ee4(_0x3ce8f1[_0xecbf('0xe')][_0xecbf('0x11')]);}else{logger['info']('VoiceCallReport,\x20%s,\x20%s',_0x471866,_0xecbf('0xc'));_0x1a6ee4(_0x3ce8f1[_0xecbf('0x12')][_0xecbf('0x11')]);}})[_0xecbf('0x13')](function(_0xd544c8){logger['error'](_0xecbf('0x10'),_0x471866,_0xd544c8);_0x53ba3d(_0xd544c8);});});}exports[_0xecbf('0x14')]=function(_0x4a4d31){var _0x2e3f8e=this;return new Promise(function(_0x59cc65,_0x263396){return db[_0xecbf('0x15')][_0xecbf('0x16')]({'raw':_0x4a4d31[_0xecbf('0x17')]?_0x4a4d31[_0xecbf('0x17')][_0xecbf('0x18')]===undefined?!![]:![]:!![],'where':_0x4a4d31[_0xecbf('0x17')]?_0x4a4d31[_0xecbf('0x17')][_0xecbf('0x19')]||null:null,'attributes':_0x4a4d31[_0xecbf('0x17')]?_0x4a4d31['options'][_0xecbf('0x1a')]||null:null,'limit':_0x4a4d31[_0xecbf('0x17')]?_0x4a4d31[_0xecbf('0x17')][_0xecbf('0x1b')]||null:null,'include':_0x4a4d31[_0xecbf('0x17')]?_0x4a4d31['options'][_0xecbf('0x1c')]?_[_0xecbf('0x1d')](_0x4a4d31[_0xecbf('0x17')][_0xecbf('0x1c')],function(_0x222898){return{'model':db[_0x222898[_0xecbf('0x1e')]],'as':_0x222898['as'],'attributes':_0x222898[_0xecbf('0x1a')],'include':_0x222898[_0xecbf('0x1c')]?_[_0xecbf('0x1d')](_0x222898[_0xecbf('0x1c')],function(_0x167fb0){return{'model':db[_0x167fb0['model']],'as':_0x167fb0['as'],'attributes':_0x167fb0[_0xecbf('0x1a')],'include':_0x167fb0[_0xecbf('0x1c')]?_[_0xecbf('0x1d')](_0x167fb0['include'],function(_0xc7c1f9){return{'model':db[_0xc7c1f9[_0xecbf('0x1e')]],'as':_0xc7c1f9['as'],'attributes':_0xc7c1f9['attributes']};}):[]};}):[]};}):[]:[]})['then'](function(_0x45617b){logger['info'](_0xecbf('0x14'),_0x4a4d31);logger[_0xecbf('0xb')](_0xecbf('0x14'),_0x4a4d31,JSON[_0xecbf('0xd')](_0x45617b));_0x59cc65(_0x45617b);})[_0xecbf('0x13')](function(_0x42c40f){logger[_0xecbf('0xe')](_0xecbf('0x14'),_0x42c40f[_0xecbf('0x11')],_0x4a4d31);_0x263396(_0x2e3f8e[_0xecbf('0xe')](0x1f4,_0x42c40f[_0xecbf('0x11')]));});});};exports['CreateVoiceCallReport']=function(_0x419f05){var _0xb53505=this;return new Promise(function(_0x284a1c,_0x3b095d){return db[_0xecbf('0x15')]['create'](_0x419f05[_0xecbf('0x1f')],{'raw':_0x419f05['options']?_0x419f05['options'][_0xecbf('0x18')]===undefined?!![]:![]:!![]})[_0xecbf('0x20')](function(_0x5b9838){logger[_0xecbf('0xa')](_0xecbf('0x21'),_0x419f05);logger[_0xecbf('0xb')]('CreateVoiceCallReport',_0x419f05,JSON['stringify'](_0x5b9838));_0x284a1c(_0x5b9838);})[_0xecbf('0x13')](function(_0x1ddf62){logger[_0xecbf('0xe')](_0xecbf('0x21'),_0x1ddf62[_0xecbf('0x11')],_0x419f05);_0x3b095d(_0xb53505['error'](0x1f4,_0x1ddf62[_0xecbf('0x11')]));});});};exports['UpdateVoiceCallReport']=function(_0xf3b4d6){var _0x49307e=this;return new Promise(function(_0x5c07c2,_0x365758){return db[_0xecbf('0x15')][_0xecbf('0x22')](_0xf3b4d6[_0xecbf('0x1f')],{'raw':_0xf3b4d6[_0xecbf('0x17')]?_0xf3b4d6['options'][_0xecbf('0x18')]===undefined?!![]:![]:!![],'individualHooks':!![],'where':_0xf3b4d6[_0xecbf('0x17')]?_0xf3b4d6[_0xecbf('0x17')][_0xecbf('0x19')]||null:null,'attributes':_0xf3b4d6[_0xecbf('0x17')]?_0xf3b4d6[_0xecbf('0x17')][_0xecbf('0x1a')]||null:null,'limit':_0xf3b4d6[_0xecbf('0x17')]?_0xf3b4d6[_0xecbf('0x17')]['limit']||null:null})[_0xecbf('0x20')](function(_0x534dbd){logger[_0xecbf('0xa')]('UpdateVoiceCallReport',_0xf3b4d6);logger[_0xecbf('0xb')](_0xecbf('0x23'),_0xf3b4d6,JSON['stringify'](_0x534dbd));_0x5c07c2(_0x534dbd);})[_0xecbf('0x13')](function(_0x3f4abf){logger['error'](_0xecbf('0x23'),_0x3f4abf[_0xecbf('0x11')],_0xf3b4d6);_0x365758(_0x49307e[_0xecbf('0xe')](0x1f4,_0x3f4abf[_0xecbf('0x11')]));});});}; \ No newline at end of file diff --git a/server/api/voiceChanSpy/index.js b/server/api/voiceChanSpy/index.js index 4dd6c6b..0aae184 100644 --- a/server/api/voiceChanSpy/index.js +++ b/server/api/voiceChanSpy/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x0560=['path','connect-timeout','../../config/environment','isAuthenticated','index','get','show','post','put','/:id','update','delete','destroy','exports','multer'];(function(_0x1a6824,_0x10c352){var _0x4d71c1=function(_0x42541d){while(--_0x42541d){_0x1a6824['push'](_0x1a6824['shift']());}};_0x4d71c1(++_0x10c352);}(_0x0560,0x95));var _0x0056=function(_0x2d5c07,_0x5ee639){_0x2d5c07=_0x2d5c07-0x0;var _0xfd8a9=_0x0560[_0x2d5c07];return _0xfd8a9;};'use strict';var multer=require(_0x0056('0x0'));var util=require('util');var path=require(_0x0056('0x1'));var timeout=require(_0x0056('0x2'));var express=require('express');var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x0056('0x3'));var controller=require('./voiceChanSpy.controller');router['get']('/',auth[_0x0056('0x4')](),controller[_0x0056('0x5')]);router[_0x0056('0x6')]('/:id',auth[_0x0056('0x4')](),controller[_0x0056('0x7')]);router[_0x0056('0x8')]('/',auth[_0x0056('0x4')](),controller['create']);router[_0x0056('0x9')](_0x0056('0xa'),auth[_0x0056('0x4')](),controller[_0x0056('0xb')]);router[_0x0056('0xc')](_0x0056('0xa'),auth['isAuthenticated'](),controller[_0x0056('0xd')]);module[_0x0056('0xe')]=router; \ No newline at end of file +var _0x3cb7=['./voiceChanSpy.controller','get','isAuthenticated','index','/:id','show','post','put','update','delete','destroy','exports','multer','util','connect-timeout','express','Router','../../components/auth/service','../../config/environment'];(function(_0x4958da,_0x1fa44b){var _0x212999=function(_0x3d2a7e){while(--_0x3d2a7e){_0x4958da['push'](_0x4958da['shift']());}};_0x212999(++_0x1fa44b);}(_0x3cb7,0x1ae));var _0x73cb=function(_0x2095ed,_0x156cfb){_0x2095ed=_0x2095ed-0x0;var _0x22dbb0=_0x3cb7[_0x2095ed];return _0x22dbb0;};'use strict';var multer=require(_0x73cb('0x0'));var util=require(_0x73cb('0x1'));var path=require('path');var timeout=require(_0x73cb('0x2'));var express=require(_0x73cb('0x3'));var router=express[_0x73cb('0x4')]();var auth=require(_0x73cb('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x73cb('0x6'));var controller=require(_0x73cb('0x7'));router[_0x73cb('0x8')]('/',auth[_0x73cb('0x9')](),controller[_0x73cb('0xa')]);router[_0x73cb('0x8')](_0x73cb('0xb'),auth[_0x73cb('0x9')](),controller[_0x73cb('0xc')]);router[_0x73cb('0xd')]('/',auth[_0x73cb('0x9')](),controller['create']);router[_0x73cb('0xe')](_0x73cb('0xb'),auth[_0x73cb('0x9')](),controller[_0x73cb('0xf')]);router[_0x73cb('0x10')](_0x73cb('0xb'),auth['isAuthenticated'](),controller[_0x73cb('0x11')]);module[_0x73cb('0x12')]=router; \ No newline at end of file diff --git a/server/api/voiceChanSpy/voiceChanSpy.attributes.js b/server/api/voiceChanSpy/voiceChanSpy.attributes.js index 2c58e45..baef89f 100644 --- a/server/api/voiceChanSpy/voiceChanSpy.attributes.js +++ b/server/api/voiceChanSpy/voiceChanSpy.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xec98=['split','BOOLEAN','exports','STRING','setDataValue','join','getDataValue','options'];(function(_0x12a554,_0x3d7ef8){var _0x244ba0=function(_0x5eb5ff){while(--_0x5eb5ff){_0x12a554['push'](_0x12a554['shift']());}};_0x244ba0(++_0x3d7ef8);}(_0xec98,0x1aa));var _0x8ec9=function(_0x37f7e0,_0x52ebad){_0x37f7e0=_0x37f7e0-0x0;var _0x48f7d9=_0xec98[_0x37f7e0];return _0x48f7d9;};'use strict';var Sequelize=require('sequelize');module[_0x8ec9('0x0')]={'name':{'type':Sequelize[_0x8ec9('0x1')]},'prefix':{'type':Sequelize[_0x8ec9('0x1')],'unique':'name','allowNull':![]},'options':{'type':Sequelize[_0x8ec9('0x1')],'set':function(_0x124186){this[_0x8ec9('0x2')]('options',_0x124186?_0x124186[_0x8ec9('0x3')](''):[]);},'get':function(){return this[_0x8ec9('0x4')](_0x8ec9('0x5'))?this['getDataValue'](_0x8ec9('0x5'))[_0x8ec9('0x6')](''):[];}},'auth':{'type':Sequelize[_0x8ec9('0x7')],'defaultValue':![]},'password':{'type':Sequelize['STRING']},'record':{'type':Sequelize[_0x8ec9('0x7')],'defaultValue':![]},'recordingFormat':{'type':Sequelize[_0x8ec9('0x1')]},'description':{'type':Sequelize[_0x8ec9('0x1')]}}; \ No newline at end of file +var _0x3ee8=['STRING','name','setDataValue','options','join','getDataValue','split','BOOLEAN'];(function(_0x20d72e,_0x534501){var _0x2580d6=function(_0x361b60){while(--_0x361b60){_0x20d72e['push'](_0x20d72e['shift']());}};_0x2580d6(++_0x534501);}(_0x3ee8,0x188));var _0x83ee=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x3ee8[_0x3dd15e];return _0x231fd0;};'use strict';var Sequelize=require('sequelize');module['exports']={'name':{'type':Sequelize[_0x83ee('0x0')]},'prefix':{'type':Sequelize[_0x83ee('0x0')],'unique':_0x83ee('0x1'),'allowNull':![]},'options':{'type':Sequelize[_0x83ee('0x0')],'set':function(_0x5f1671){this[_0x83ee('0x2')](_0x83ee('0x3'),_0x5f1671?_0x5f1671[_0x83ee('0x4')](''):[]);},'get':function(){return this[_0x83ee('0x5')](_0x83ee('0x3'))?this['getDataValue'](_0x83ee('0x3'))[_0x83ee('0x6')](''):[];}},'auth':{'type':Sequelize[_0x83ee('0x7')],'defaultValue':![]},'password':{'type':Sequelize[_0x83ee('0x0')]},'record':{'type':Sequelize[_0x83ee('0x7')],'defaultValue':![]},'recordingFormat':{'type':Sequelize[_0x83ee('0x0')]},'description':{'type':Sequelize['STRING']}}; \ No newline at end of file diff --git a/server/api/voiceChanSpy/voiceChanSpy.controller.js b/server/api/voiceChanSpy/voiceChanSpy.controller.js index 968e2da..af9cfa9 100644 --- a/server/api/voiceChanSpy/voiceChanSpy.controller.js +++ b/server/api/voiceChanSpy/voiceChanSpy.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x1bd6=['ChanSpies','UserProfileResource','then','name','send','index','map','VoiceChanSpy','rawAttributes','key','model','query','keys','filters','intersection','attributes','fields','length','hasOwnProperty','nolimit','sort','where','merge','type','filter','options','includeAll','findAll','rows','catch','find','create','user','get','Unable\x20to\x20retrieve\x20the\x20current\x20user','role','userProfileId','error','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','update','body','html-pdf','eml-format','request-promise','moment','bluebird','util','path','to-csv','ejs','squel','crypto','jsforce','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','sendStatus','end','status','json','count','offset','limit','apply','save','destroy'];(function(_0x3dcf05,_0x39be75){var _0x21c941=function(_0x3560d9){while(--_0x3560d9){_0x3dcf05['push'](_0x3dcf05['shift']());}};_0x21c941(++_0x39be75);}(_0x1bd6,0x73));var _0x61bd=function(_0x5b673b,_0x4c2325){_0x5b673b=_0x5b673b-0x0;var _0x12cba3=_0x1bd6[_0x5b673b];return _0x12cba3;};'use strict';var pdf=require(_0x61bd('0x0'));var emlformat=require(_0x61bd('0x1'));var rimraf=require('rimraf');var zipdir=require('zip-dir');var jsonpatch=require('fast-json-patch');var rp=require(_0x61bd('0x2'));var moment=require(_0x61bd('0x3'));var BPromise=require(_0x61bd('0x4'));var Mustache=require('mustache');var util=require(_0x61bd('0x5'));var path=require(_0x61bd('0x6'));var sox=require('sox');var csv=require(_0x61bd('0x7'));var ejs=require(_0x61bd('0x8'));var fs=require('fs');var _=require('lodash');var squel=require(_0x61bd('0x9'));var crypto=require(_0x61bd('0xa'));var jsforce=require(_0x61bd('0xb'));var deskjs=require('desk.js');var toCsv=require(_0x61bd('0x7'));var querystring=require(_0x61bd('0xc'));var Papa=require(_0x61bd('0xd'));var Redis=require(_0x61bd('0xe'));var authService=require(_0x61bd('0xf'));var qs=require(_0x61bd('0x10'));var as=require(_0x61bd('0x11'));var hardwareService=require('../../config/license/hardware');var logger=require(_0x61bd('0x12'))(_0x61bd('0x13'));var utils=require(_0x61bd('0x14'));var config=require(_0x61bd('0x15'));var db=require(_0x61bd('0x16'))['db'];function respondWithStatusCode(_0x3a71d9,_0x242053){_0x242053=_0x242053||0xcc;return function(_0x15e092){if(_0x15e092){return _0x3a71d9[_0x61bd('0x17')](_0x242053);}return _0x3a71d9['status'](_0x242053)[_0x61bd('0x18')]();};}function respondWithResult(_0x40f8f6,_0x508378){_0x508378=_0x508378||0xc8;return function(_0x33398e){if(_0x33398e){return _0x40f8f6[_0x61bd('0x19')](_0x508378)[_0x61bd('0x1a')](_0x33398e);}};}function respondWithFilteredResult(_0x746c8,_0x372867){return function(_0x45fdc1){if(_0x45fdc1){var _0x40f769=_0x45fdc1[_0x61bd('0x1b')],_0x5ed8d5=_0x372867[_0x61bd('0x1c')],_0x5f1c38=_0x372867[_0x61bd('0x1c')]+_0x372867[_0x61bd('0x1d')],_0x11f196;if(_0x5f1c38>=_0x40f769){_0x5f1c38=_0x40f769;_0x11f196=0xc8;}else{_0x11f196=0xce;}_0x746c8['status'](_0x11f196);return _0x746c8['set']('Content-Range',_0x5ed8d5+'-'+_0x5f1c38+'/'+_0x40f769)[_0x61bd('0x1a')](_0x45fdc1);}return null;};}function patchUpdates(_0x474bfc){return function(_0x5b295c){try{jsonpatch[_0x61bd('0x1e')](_0x5b295c,_0x474bfc,!![]);}catch(_0x7de373){return BPromise['reject'](_0x7de373);}return _0x5b295c[_0x61bd('0x1f')]();};}function saveUpdates(_0x163170,_0x2c0ade){return function(_0x38a1f0){if(_0x38a1f0){return _0x38a1f0['update'](_0x163170)['then'](function(_0x2a83c6){return _0x2a83c6;});}return null;};}function removeEntity(_0x569b57,_0x5c7011){return function(_0x4fc3b9){if(_0x4fc3b9){return _0x4fc3b9[_0x61bd('0x20')]()['then'](function(){var _0x17fea7=_0x4fc3b9['get']({'plain':!![]});var _0x4984a1=_0x61bd('0x21');return db[_0x61bd('0x22')][_0x61bd('0x20')]({'where':{'type':_0x4984a1,'resourceId':_0x17fea7['id']}})['then'](function(){return _0x4fc3b9;});})[_0x61bd('0x23')](function(){_0x569b57[_0x61bd('0x19')](0xcc)['end']();});}};}function handleEntityNotFound(_0x64423e,_0x3737cb){return function(_0x37efa2){if(!_0x37efa2){_0x64423e['sendStatus'](0x194);}return _0x37efa2;};}function handleError(_0x4e15ec,_0x4dd272){_0x4dd272=_0x4dd272||0x1f4;return function(_0x452b6f){logger['error'](_0x452b6f['stack']);if(_0x452b6f[_0x61bd('0x24')]){delete _0x452b6f[_0x61bd('0x24')];}_0x4e15ec[_0x61bd('0x19')](_0x4dd272)[_0x61bd('0x25')](_0x452b6f);};}exports[_0x61bd('0x26')]=function(_0x2d4f71,_0x343b89){var _0x527062={},_0x37380a={},_0x3762c7={'count':0x0,'rows':[]};var _0x32b903=_[_0x61bd('0x27')](db[_0x61bd('0x28')][_0x61bd('0x29')],function(_0x55ed0d){return{'name':_0x55ed0d['fieldName'],'type':_0x55ed0d['type'][_0x61bd('0x2a')]};});_0x37380a[_0x61bd('0x2b')]=_[_0x61bd('0x27')](_0x32b903,'name');_0x37380a[_0x61bd('0x2c')]=_[_0x61bd('0x2d')](_0x2d4f71[_0x61bd('0x2c')]);_0x37380a[_0x61bd('0x2e')]=_[_0x61bd('0x2f')](_0x37380a[_0x61bd('0x2b')],_0x37380a['query']);_0x527062[_0x61bd('0x30')]=_[_0x61bd('0x2f')](_0x37380a[_0x61bd('0x2b')],qs[_0x61bd('0x31')](_0x2d4f71[_0x61bd('0x2c')][_0x61bd('0x31')]));_0x527062[_0x61bd('0x30')]=_0x527062['attributes'][_0x61bd('0x32')]?_0x527062['attributes']:_0x37380a['model'];if(!_0x2d4f71[_0x61bd('0x2c')][_0x61bd('0x33')](_0x61bd('0x34'))){_0x527062[_0x61bd('0x1d')]=qs[_0x61bd('0x1d')](_0x2d4f71[_0x61bd('0x2c')][_0x61bd('0x1d')]);_0x527062[_0x61bd('0x1c')]=qs['offset'](_0x2d4f71[_0x61bd('0x2c')][_0x61bd('0x1c')]);}_0x527062['order']=qs['sort'](_0x2d4f71[_0x61bd('0x2c')][_0x61bd('0x35')]);_0x527062[_0x61bd('0x36')]=qs[_0x61bd('0x2e')](_['pick'](_0x2d4f71[_0x61bd('0x2c')],_0x37380a[_0x61bd('0x2e')]),_0x32b903);if(_0x2d4f71[_0x61bd('0x2c')]['filter']){_0x527062[_0x61bd('0x36')]=_[_0x61bd('0x37')](_0x527062[_0x61bd('0x36')],{'$or':_[_0x61bd('0x27')](_0x32b903,function(_0x5a04a6){if(_0x5a04a6[_0x61bd('0x38')]!=='VIRTUAL'){var _0x3338ae={};_0x3338ae[_0x5a04a6[_0x61bd('0x24')]]={'$like':'%'+_0x2d4f71[_0x61bd('0x2c')][_0x61bd('0x39')]+'%'};return _0x3338ae;}})});}_0x527062=_['merge']({},_0x527062,_0x2d4f71[_0x61bd('0x3a')]);var _0x370e60={'where':_0x527062[_0x61bd('0x36')]};return db[_0x61bd('0x28')][_0x61bd('0x1b')](_0x370e60)[_0x61bd('0x23')](function(_0xd483c7){_0x3762c7[_0x61bd('0x1b')]=_0xd483c7;if(_0x2d4f71[_0x61bd('0x2c')][_0x61bd('0x3b')]){_0x527062['include']=[{'all':!![]}];}return db[_0x61bd('0x28')][_0x61bd('0x3c')](_0x527062);})[_0x61bd('0x23')](function(_0x15f8c4){_0x3762c7[_0x61bd('0x3d')]=_0x15f8c4;return _0x3762c7;})[_0x61bd('0x23')](respondWithFilteredResult(_0x343b89,_0x527062))[_0x61bd('0x3e')](handleError(_0x343b89,null));};exports['show']=function(_0x198224,_0x37a5e7){var _0x55b2ef={'raw':![],'where':{'id':_0x198224['params']['id']}},_0x375d5e={};_0x375d5e[_0x61bd('0x2b')]=_['keys'](db['VoiceChanSpy']['rawAttributes']);_0x375d5e['query']=_[_0x61bd('0x2d')](_0x198224[_0x61bd('0x2c')]);_0x375d5e[_0x61bd('0x2e')]=_[_0x61bd('0x2f')](_0x375d5e['model'],_0x375d5e[_0x61bd('0x2c')]);_0x55b2ef[_0x61bd('0x30')]=_[_0x61bd('0x2f')](_0x375d5e[_0x61bd('0x2b')],qs['fields'](_0x198224[_0x61bd('0x2c')]['fields']));_0x55b2ef[_0x61bd('0x30')]=_0x55b2ef[_0x61bd('0x30')][_0x61bd('0x32')]?_0x55b2ef[_0x61bd('0x30')]:_0x375d5e[_0x61bd('0x2b')];if(_0x198224[_0x61bd('0x2c')]['includeAll']){_0x55b2ef['include']=[{'all':!![]}];}_0x55b2ef=_[_0x61bd('0x37')]({},_0x55b2ef,_0x198224['options']);return db[_0x61bd('0x28')][_0x61bd('0x3f')](_0x55b2ef)['then'](handleEntityNotFound(_0x37a5e7,null))['then'](respondWithResult(_0x37a5e7,null))[_0x61bd('0x3e')](handleError(_0x37a5e7,null));};exports['create']=function(_0x362b41,_0xeedefb){return db[_0x61bd('0x28')][_0x61bd('0x40')](_0x362b41['body'],{})[_0x61bd('0x23')](function(_0x201da6){var _0x5c6dcc=_0x362b41[_0x61bd('0x41')][_0x61bd('0x42')]({'plain':!![]});if(!_0x5c6dcc)throw new Error(_0x61bd('0x43'));if(_0x5c6dcc[_0x61bd('0x44')]===_0x61bd('0x41')){var _0x5d1d1=_0x201da6[_0x61bd('0x42')]({'plain':!![]});var _0x484d20=_0x61bd('0x21');return db['UserProfileSection'][_0x61bd('0x3f')]({'where':{'name':_0x484d20,'userProfileId':_0x5c6dcc[_0x61bd('0x45')]},'raw':!![]})[_0x61bd('0x23')](function(_0x561c18){if(_0x561c18&&_0x561c18['autoAssociation']===0x0){return db[_0x61bd('0x22')][_0x61bd('0x40')]({'name':_0x5d1d1[_0x61bd('0x24')],'resourceId':_0x5d1d1['id'],'type':_0x561c18[_0x61bd('0x24')],'sectionId':_0x561c18['id']},{})[_0x61bd('0x23')](function(){return _0x201da6;});}else{return _0x201da6;}})['catch'](function(_0x4f4f25){logger[_0x61bd('0x46')](_0x61bd('0x47'),_0x4f4f25);throw _0x4f4f25;});}return _0x201da6;})['then'](respondWithResult(_0xeedefb,0xc9))[_0x61bd('0x3e')](handleError(_0xeedefb,null));};exports[_0x61bd('0x48')]=function(_0x28d9bb,_0xa283d9){if(_0x28d9bb[_0x61bd('0x49')]['id']){delete _0x28d9bb[_0x61bd('0x49')]['id'];}return db[_0x61bd('0x28')][_0x61bd('0x3f')]({'where':{'id':_0x28d9bb['params']['id']}})[_0x61bd('0x23')](handleEntityNotFound(_0xa283d9,null))['then'](saveUpdates(_0x28d9bb[_0x61bd('0x49')],null))[_0x61bd('0x23')](respondWithResult(_0xa283d9,null))[_0x61bd('0x3e')](handleError(_0xa283d9,null));};exports[_0x61bd('0x20')]=function(_0x365558,_0x2bcaed){return db[_0x61bd('0x28')]['find']({'where':{'id':_0x365558['params']['id']}})[_0x61bd('0x23')](handleEntityNotFound(_0x2bcaed,null))[_0x61bd('0x23')](removeEntity(_0x2bcaed,null))[_0x61bd('0x3e')](handleError(_0x2bcaed,null));}; \ No newline at end of file +var _0xf10d=['VIRTUAL','merge','options','includeAll','include','findAll','rows','catch','show','params','find','create','body','Unable\x20to\x20retrieve\x20the\x20current\x20user','role','user','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','bluebird','mustache','util','ejs','lodash','squel','jsforce','desk.js','to-csv','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/utils','../../config/environment','../../mysqldb','sendStatus','status','end','count','offset','limit','set','Content-Range','json','apply','reject','update','then','destroy','get','ChanSpies','UserProfileResource','stack','name','send','map','VoiceChanSpy','rawAttributes','type','key','query','keys','filters','intersection','model','attributes','fields','length','hasOwnProperty','order','sort','where','pick','filter'];(function(_0xe54f96,_0x1a7891){var _0x14bc27=function(_0x21520d){while(--_0x21520d){_0xe54f96['push'](_0xe54f96['shift']());}};_0x14bc27(++_0x1a7891);}(_0xf10d,0x1f1));var _0xdf10=function(_0x1ae4a9,_0x4c0ed9){_0x1ae4a9=_0x1ae4a9-0x0;var _0x54d0b0=_0xf10d[_0x1ae4a9];return _0x54d0b0;};'use strict';var pdf=require('html-pdf');var emlformat=require(_0xdf10('0x0'));var rimraf=require(_0xdf10('0x1'));var zipdir=require(_0xdf10('0x2'));var jsonpatch=require(_0xdf10('0x3'));var rp=require(_0xdf10('0x4'));var moment=require('moment');var BPromise=require(_0xdf10('0x5'));var Mustache=require(_0xdf10('0x6'));var util=require(_0xdf10('0x7'));var path=require('path');var sox=require('sox');var csv=require('to-csv');var ejs=require(_0xdf10('0x8'));var fs=require('fs');var _=require(_0xdf10('0x9'));var squel=require(_0xdf10('0xa'));var crypto=require('crypto');var jsforce=require(_0xdf10('0xb'));var deskjs=require(_0xdf10('0xc'));var toCsv=require(_0xdf10('0xd'));var querystring=require(_0xdf10('0xe'));var Papa=require(_0xdf10('0xf'));var Redis=require(_0xdf10('0x10'));var authService=require(_0xdf10('0x11'));var qs=require(_0xdf10('0x12'));var as=require(_0xdf10('0x13'));var hardwareService=require(_0xdf10('0x14'));var logger=require('../../config/logger')('api');var utils=require(_0xdf10('0x15'));var config=require(_0xdf10('0x16'));var db=require(_0xdf10('0x17'))['db'];function respondWithStatusCode(_0x1517b3,_0x2d5722){_0x2d5722=_0x2d5722||0xcc;return function(_0x11457c){if(_0x11457c){return _0x1517b3[_0xdf10('0x18')](_0x2d5722);}return _0x1517b3[_0xdf10('0x19')](_0x2d5722)[_0xdf10('0x1a')]();};}function respondWithResult(_0x1836ff,_0x217e38){_0x217e38=_0x217e38||0xc8;return function(_0x4b5561){if(_0x4b5561){return _0x1836ff[_0xdf10('0x19')](_0x217e38)['json'](_0x4b5561);}};}function respondWithFilteredResult(_0x2f7931,_0x1a5844){return function(_0x8c6eef){if(_0x8c6eef){var _0x42dec3=_0x8c6eef[_0xdf10('0x1b')],_0x372c4e=_0x1a5844[_0xdf10('0x1c')],_0x53085f=_0x1a5844[_0xdf10('0x1c')]+_0x1a5844[_0xdf10('0x1d')],_0x30a671;if(_0x53085f>=_0x42dec3){_0x53085f=_0x42dec3;_0x30a671=0xc8;}else{_0x30a671=0xce;}_0x2f7931[_0xdf10('0x19')](_0x30a671);return _0x2f7931[_0xdf10('0x1e')](_0xdf10('0x1f'),_0x372c4e+'-'+_0x53085f+'/'+_0x42dec3)[_0xdf10('0x20')](_0x8c6eef);}return null;};}function patchUpdates(_0x219b5a){return function(_0x32bfbf){try{jsonpatch[_0xdf10('0x21')](_0x32bfbf,_0x219b5a,!![]);}catch(_0x39902b){return BPromise[_0xdf10('0x22')](_0x39902b);}return _0x32bfbf['save']();};}function saveUpdates(_0x316d8b,_0x1169d5){return function(_0x2750ed){if(_0x2750ed){return _0x2750ed[_0xdf10('0x23')](_0x316d8b)[_0xdf10('0x24')](function(_0x464609){return _0x464609;});}return null;};}function removeEntity(_0x320f0e,_0x37fe0b){return function(_0x3ff9a5){if(_0x3ff9a5){return _0x3ff9a5[_0xdf10('0x25')]()[_0xdf10('0x24')](function(){var _0x49349d=_0x3ff9a5[_0xdf10('0x26')]({'plain':!![]});var _0x4f2ffc=_0xdf10('0x27');return db[_0xdf10('0x28')][_0xdf10('0x25')]({'where':{'type':_0x4f2ffc,'resourceId':_0x49349d['id']}})['then'](function(){return _0x3ff9a5;});})[_0xdf10('0x24')](function(){_0x320f0e[_0xdf10('0x19')](0xcc)[_0xdf10('0x1a')]();});}};}function handleEntityNotFound(_0x3140e5,_0x4f8620){return function(_0x403a6e){if(!_0x403a6e){_0x3140e5[_0xdf10('0x18')](0x194);}return _0x403a6e;};}function handleError(_0x4f792e,_0x48370c){_0x48370c=_0x48370c||0x1f4;return function(_0xcf8333){logger['error'](_0xcf8333[_0xdf10('0x29')]);if(_0xcf8333[_0xdf10('0x2a')]){delete _0xcf8333['name'];}_0x4f792e['status'](_0x48370c)[_0xdf10('0x2b')](_0xcf8333);};}exports['index']=function(_0x1ba851,_0x2c3eab){var _0x5bdfcd={},_0x153db2={},_0x4ded37={'count':0x0,'rows':[]};var _0x371d6f=_[_0xdf10('0x2c')](db[_0xdf10('0x2d')][_0xdf10('0x2e')],function(_0x2c381b){return{'name':_0x2c381b['fieldName'],'type':_0x2c381b[_0xdf10('0x2f')][_0xdf10('0x30')]};});_0x153db2['model']=_[_0xdf10('0x2c')](_0x371d6f,'name');_0x153db2[_0xdf10('0x31')]=_[_0xdf10('0x32')](_0x1ba851['query']);_0x153db2[_0xdf10('0x33')]=_[_0xdf10('0x34')](_0x153db2[_0xdf10('0x35')],_0x153db2[_0xdf10('0x31')]);_0x5bdfcd[_0xdf10('0x36')]=_[_0xdf10('0x34')](_0x153db2[_0xdf10('0x35')],qs[_0xdf10('0x37')](_0x1ba851[_0xdf10('0x31')][_0xdf10('0x37')]));_0x5bdfcd['attributes']=_0x5bdfcd[_0xdf10('0x36')][_0xdf10('0x38')]?_0x5bdfcd[_0xdf10('0x36')]:_0x153db2[_0xdf10('0x35')];if(!_0x1ba851[_0xdf10('0x31')][_0xdf10('0x39')]('nolimit')){_0x5bdfcd[_0xdf10('0x1d')]=qs['limit'](_0x1ba851['query'][_0xdf10('0x1d')]);_0x5bdfcd[_0xdf10('0x1c')]=qs[_0xdf10('0x1c')](_0x1ba851[_0xdf10('0x31')]['offset']);}_0x5bdfcd[_0xdf10('0x3a')]=qs['sort'](_0x1ba851[_0xdf10('0x31')][_0xdf10('0x3b')]);_0x5bdfcd[_0xdf10('0x3c')]=qs['filters'](_[_0xdf10('0x3d')](_0x1ba851[_0xdf10('0x31')],_0x153db2[_0xdf10('0x33')]),_0x371d6f);if(_0x1ba851[_0xdf10('0x31')][_0xdf10('0x3e')]){_0x5bdfcd[_0xdf10('0x3c')]=_['merge'](_0x5bdfcd[_0xdf10('0x3c')],{'$or':_['map'](_0x371d6f,function(_0x5b4e7f){if(_0x5b4e7f[_0xdf10('0x2f')]!==_0xdf10('0x3f')){var _0x1c7327={};_0x1c7327[_0x5b4e7f[_0xdf10('0x2a')]]={'$like':'%'+_0x1ba851[_0xdf10('0x31')][_0xdf10('0x3e')]+'%'};return _0x1c7327;}})});}_0x5bdfcd=_[_0xdf10('0x40')]({},_0x5bdfcd,_0x1ba851[_0xdf10('0x41')]);var _0x1440c9={'where':_0x5bdfcd['where']};return db[_0xdf10('0x2d')]['count'](_0x1440c9)[_0xdf10('0x24')](function(_0x5dc1b7){_0x4ded37[_0xdf10('0x1b')]=_0x5dc1b7;if(_0x1ba851[_0xdf10('0x31')][_0xdf10('0x42')]){_0x5bdfcd[_0xdf10('0x43')]=[{'all':!![]}];}return db[_0xdf10('0x2d')][_0xdf10('0x44')](_0x5bdfcd);})[_0xdf10('0x24')](function(_0x36ac25){_0x4ded37[_0xdf10('0x45')]=_0x36ac25;return _0x4ded37;})['then'](respondWithFilteredResult(_0x2c3eab,_0x5bdfcd))[_0xdf10('0x46')](handleError(_0x2c3eab,null));};exports[_0xdf10('0x47')]=function(_0x2389d0,_0x3eb303){var _0x2bb03a={'raw':![],'where':{'id':_0x2389d0[_0xdf10('0x48')]['id']}},_0x4e2161={};_0x4e2161[_0xdf10('0x35')]=_[_0xdf10('0x32')](db[_0xdf10('0x2d')][_0xdf10('0x2e')]);_0x4e2161[_0xdf10('0x31')]=_[_0xdf10('0x32')](_0x2389d0[_0xdf10('0x31')]);_0x4e2161[_0xdf10('0x33')]=_[_0xdf10('0x34')](_0x4e2161[_0xdf10('0x35')],_0x4e2161['query']);_0x2bb03a[_0xdf10('0x36')]=_['intersection'](_0x4e2161[_0xdf10('0x35')],qs[_0xdf10('0x37')](_0x2389d0['query'][_0xdf10('0x37')]));_0x2bb03a[_0xdf10('0x36')]=_0x2bb03a['attributes'][_0xdf10('0x38')]?_0x2bb03a[_0xdf10('0x36')]:_0x4e2161[_0xdf10('0x35')];if(_0x2389d0[_0xdf10('0x31')][_0xdf10('0x42')]){_0x2bb03a[_0xdf10('0x43')]=[{'all':!![]}];}_0x2bb03a=_[_0xdf10('0x40')]({},_0x2bb03a,_0x2389d0[_0xdf10('0x41')]);return db[_0xdf10('0x2d')][_0xdf10('0x49')](_0x2bb03a)[_0xdf10('0x24')](handleEntityNotFound(_0x3eb303,null))[_0xdf10('0x24')](respondWithResult(_0x3eb303,null))['catch'](handleError(_0x3eb303,null));};exports[_0xdf10('0x4a')]=function(_0x19a700,_0x51c86d){return db[_0xdf10('0x2d')][_0xdf10('0x4a')](_0x19a700[_0xdf10('0x4b')],{})['then'](function(_0x20a5e4){var _0xcc8c74=_0x19a700['user'][_0xdf10('0x26')]({'plain':!![]});if(!_0xcc8c74)throw new Error(_0xdf10('0x4c'));if(_0xcc8c74[_0xdf10('0x4d')]===_0xdf10('0x4e')){var _0x4ac508=_0x20a5e4[_0xdf10('0x26')]({'plain':!![]});var _0x15402e=_0xdf10('0x27');return db['UserProfileSection'][_0xdf10('0x49')]({'where':{'name':_0x15402e,'userProfileId':_0xcc8c74['userProfileId']},'raw':!![]})['then'](function(_0x167584){if(_0x167584&&_0x167584['autoAssociation']===0x0){return db[_0xdf10('0x28')][_0xdf10('0x4a')]({'name':_0x4ac508[_0xdf10('0x2a')],'resourceId':_0x4ac508['id'],'type':_0x167584[_0xdf10('0x2a')],'sectionId':_0x167584['id']},{})[_0xdf10('0x24')](function(){return _0x20a5e4;});}else{return _0x20a5e4;}})[_0xdf10('0x46')](function(_0x473fbc){logger['error'](_0xdf10('0x4f'),_0x473fbc);throw _0x473fbc;});}return _0x20a5e4;})[_0xdf10('0x24')](respondWithResult(_0x51c86d,0xc9))[_0xdf10('0x46')](handleError(_0x51c86d,null));};exports[_0xdf10('0x23')]=function(_0x5b6601,_0x2b52f7){if(_0x5b6601[_0xdf10('0x4b')]['id']){delete _0x5b6601[_0xdf10('0x4b')]['id'];}return db['VoiceChanSpy'][_0xdf10('0x49')]({'where':{'id':_0x5b6601[_0xdf10('0x48')]['id']}})['then'](handleEntityNotFound(_0x2b52f7,null))[_0xdf10('0x24')](saveUpdates(_0x5b6601[_0xdf10('0x4b')],null))[_0xdf10('0x24')](respondWithResult(_0x2b52f7,null))[_0xdf10('0x46')](handleError(_0x2b52f7,null));};exports[_0xdf10('0x25')]=function(_0x1b2b26,_0x1d40f3){return db[_0xdf10('0x2d')]['find']({'where':{'id':_0x1b2b26[_0xdf10('0x48')]['id']}})['then'](handleEntityNotFound(_0x1d40f3,null))[_0xdf10('0x24')](removeEntity(_0x1d40f3,null))[_0xdf10('0x46')](handleError(_0x1d40f3,null));}; \ No newline at end of file diff --git a/server/api/voiceChanSpy/voiceChanSpy.model.js b/server/api/voiceChanSpy/voiceChanSpy.model.js index 1f6da77..38a2b69 100644 --- a/server/api/voiceChanSpy/voiceChanSpy.model.js +++ b/server/api/voiceChanSpy/voiceChanSpy.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x331c=['name','findAll','agent','catch','models','then','bulkCreate','VoiceExtension','destroy','lodash','bluebird','context','from-sip','%s%s','prefix','push','merge','Set','format','chanspy','MixMonitor','${UNIQUEID}.%s,a','recordingFormat','auth','password','ChanSpy','SIP/%s,%s','options','record','StopMixMonitor','length','concat','internal'];(function(_0x2d2615,_0x37d1a7){var _0x8d7ddc=function(_0x523af0){while(--_0x523af0){_0x2d2615['push'](_0x2d2615['shift']());}};_0x8d7ddc(++_0x37d1a7);}(_0x331c,0xf0));var _0xc331=function(_0x411add,_0x1aed38){_0x411add=_0x411add-0x0;var _0x238242=_0x331c[_0x411add];return _0x238242;};'use strict';var _=require(_0xc331('0x0'));var util=require('util');var BPromise=require(_0xc331('0x1'));var attributes=require('./voiceChanSpy.attributes');var getUserApplications=function(_0x4ed262,_0x15f272,_0x4f695b){var _0x4bcd1b=0x1;var _0x2eaa9d=[];var _0x54d8ca={'context':_0x15f272[_0xc331('0x2')]||_0xc331('0x3'),'exten':util['format'](_0xc331('0x4'),_0x4ed262[_0xc331('0x5')],_0x4f695b),'type':'system','isApp':![],'ChanSpyId':_0x4ed262['id'],'UserId':_0x15f272['id']};_0x2eaa9d[_0xc331('0x6')](_[_0xc331('0x7')]({'app':_0xc331('0x8'),'appdata':util[_0xc331('0x9')]('CDR(type)=%s',_0xc331('0xa')),'priority':_0x4bcd1b++},_0x54d8ca));if(_0x4ed262['record']){_0x2eaa9d[_0xc331('0x6')](_[_0xc331('0x7')]({'app':_0xc331('0xb'),'appdata':util[_0xc331('0x9')](_0xc331('0xc'),_0x4ed262[_0xc331('0xd')]),'priority':_0x4bcd1b++},_0x54d8ca));}if(_0x4ed262[_0xc331('0xe')]){_0x2eaa9d[_0xc331('0x6')](_[_0xc331('0x7')]({'app':'Authenticate','appdata':_0x4ed262[_0xc331('0xf')],'priority':_0x4bcd1b++},_0x54d8ca));}_0x2eaa9d[_0xc331('0x6')](_[_0xc331('0x7')]({'app':_0xc331('0x10'),'appdata':util[_0xc331('0x9')](_0xc331('0x11'),_0x15f272['name'],_0x4ed262[_0xc331('0x12')]?_0x4ed262[_0xc331('0x12')]['join'](''):''),'priority':_0x4bcd1b++},_0x54d8ca));if(_0x4ed262[_0xc331('0x13')]){_0x2eaa9d[_0xc331('0x6')](_[_0xc331('0x7')]({'app':_0xc331('0x14'),'priority':_0x4bcd1b++},_0x54d8ca));}return _0x2eaa9d;};var getChanSpyApplications=function(_0x5265b5,_0x5808f6){var _0x108485=[];for(var _0x18e6df=0x0,_0x4b4006=0x1;_0x18e6df<_0x5808f6[_0xc331('0x15')];_0x18e6df++,_0x4b4006=0x1){_0x108485=_0x108485[_0xc331('0x16')](getUserApplications(_0x5265b5,_0x5808f6[_0x18e6df],_0x5808f6[_0x18e6df]['internal']));if(_0x5808f6[_0x18e6df][_0xc331('0x17')]!=_0x5808f6[_0x18e6df][_0xc331('0x18')]){_0x108485=_0x108485['concat'](getUserApplications(_0x5265b5,_0x5808f6[_0x18e6df],_0x5808f6[_0x18e6df][_0xc331('0x18')]));}}return _0x108485;};var getChanSpyPromise=function(_0x36040d,_0x19ed1f){return new BPromise(function(_0x176e38,_0x34ccdd){return _0x36040d['User'][_0xc331('0x19')]({'attributes':['id','name',_0xc331('0x17')],'where':{'role':_0xc331('0x1a'),'chanspy':!![]},'raw':!![]})['then'](function(_0x2a0324){if(_0x2a0324){return _0x176e38(getChanSpyApplications(_0x19ed1f,_0x2a0324));}return _0x176e38([]);})[_0xc331('0x1b')](function(_0x416019){_0x34ccdd(_0x416019);});});};module['exports']=function(_0x176383,_0x466252){var _0x5210c0=_0x176383[_0xc331('0x1c')];return _0x176383['define']('VoiceChanSpy',attributes,{'tableName':'voice_chanspy','paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'afterCreate':function(_0x32839f,_0x5ddcf9,_0x3865f1){return getChanSpyPromise(_0x5210c0,_0x32839f)[_0xc331('0x1d')](function(_0x16ea9f){if(_0x16ea9f&&_0x16ea9f[_0xc331('0x15')]){return _0x5210c0['VoiceExtension'][_0xc331('0x1e')](_0x16ea9f);}})['then'](function(){_0x3865f1();})['catch'](function(_0x55338e){_0x3865f1(_0x55338e);});},'afterUpdate':function(_0x253687,_0x5438e9,_0x38c1e7){return _0x5210c0[_0xc331('0x1f')][_0xc331('0x20')]({'where':{'ChanSpyId':_0x253687['id']}})[_0xc331('0x1d')](function(){return getChanSpyPromise(_0x5210c0,_0x253687);})[_0xc331('0x1d')](function(_0x3dc48a){if(_0x3dc48a&&_0x3dc48a[_0xc331('0x15')]){return _0x5210c0[_0xc331('0x1f')][_0xc331('0x1e')](_0x3dc48a);}})[_0xc331('0x1d')](function(){_0x38c1e7();})['catch'](function(_0x8f656b){_0x38c1e7(_0x8f656b);});},'afterDestroy':function(_0x20042a,_0x5d49f7,_0x3dccd8){return _0x5210c0['VoiceExtension'][_0xc331('0x20')]({'where':{'ChanSpyId':_0x20042a['id']}})['then'](function(){_0x3dccd8();})[_0xc331('0x1b')](function(_0x52dd47){_0x3dccd8(_0x52dd47);});}}});}; \ No newline at end of file +var _0x1c4f=['User','agent','then','catch','exports','VoiceChanSpy','voice_chanspy','VoiceExtension','bulkCreate','destroy','lodash','util','bluebird','from-sip','format','%s%s','prefix','system','push','Set','CDR(type)=%s','record','merge','MixMonitor','${UNIQUEID}.%s,a','Authenticate','password','ChanSpy','SIP/%s,%s','options','join','StopMixMonitor','length','internal','name'];(function(_0x4c1c6a,_0x4c1ef5){var _0x59a9df=function(_0x6825f8){while(--_0x6825f8){_0x4c1c6a['push'](_0x4c1c6a['shift']());}};_0x59a9df(++_0x4c1ef5);}(_0x1c4f,0x1f4));var _0xf1c4=function(_0x22c243,_0x5df27d){_0x22c243=_0x22c243-0x0;var _0x2f44ad=_0x1c4f[_0x22c243];return _0x2f44ad;};'use strict';var _=require(_0xf1c4('0x0'));var util=require(_0xf1c4('0x1'));var BPromise=require(_0xf1c4('0x2'));var attributes=require('./voiceChanSpy.attributes');var getUserApplications=function(_0x458818,_0x39f5a2,_0x5abe6e){var _0x397582=0x1;var _0xf26573=[];var _0x3e3ba9={'context':_0x39f5a2['context']||_0xf1c4('0x3'),'exten':util[_0xf1c4('0x4')](_0xf1c4('0x5'),_0x458818[_0xf1c4('0x6')],_0x5abe6e),'type':_0xf1c4('0x7'),'isApp':![],'ChanSpyId':_0x458818['id'],'UserId':_0x39f5a2['id']};_0xf26573[_0xf1c4('0x8')](_['merge']({'app':_0xf1c4('0x9'),'appdata':util[_0xf1c4('0x4')](_0xf1c4('0xa'),'chanspy'),'priority':_0x397582++},_0x3e3ba9));if(_0x458818[_0xf1c4('0xb')]){_0xf26573[_0xf1c4('0x8')](_[_0xf1c4('0xc')]({'app':_0xf1c4('0xd'),'appdata':util[_0xf1c4('0x4')](_0xf1c4('0xe'),_0x458818['recordingFormat']),'priority':_0x397582++},_0x3e3ba9));}if(_0x458818['auth']){_0xf26573[_0xf1c4('0x8')](_[_0xf1c4('0xc')]({'app':_0xf1c4('0xf'),'appdata':_0x458818[_0xf1c4('0x10')],'priority':_0x397582++},_0x3e3ba9));}_0xf26573[_0xf1c4('0x8')](_[_0xf1c4('0xc')]({'app':_0xf1c4('0x11'),'appdata':util['format'](_0xf1c4('0x12'),_0x39f5a2['name'],_0x458818[_0xf1c4('0x13')]?_0x458818[_0xf1c4('0x13')][_0xf1c4('0x14')](''):''),'priority':_0x397582++},_0x3e3ba9));if(_0x458818[_0xf1c4('0xb')]){_0xf26573[_0xf1c4('0x8')](_[_0xf1c4('0xc')]({'app':_0xf1c4('0x15'),'priority':_0x397582++},_0x3e3ba9));}return _0xf26573;};var getChanSpyApplications=function(_0xa294d3,_0x3f8259){var _0xdf2187=[];for(var _0x25a0dd=0x0,_0x5cf121=0x1;_0x25a0dd<_0x3f8259[_0xf1c4('0x16')];_0x25a0dd++,_0x5cf121=0x1){_0xdf2187=_0xdf2187['concat'](getUserApplications(_0xa294d3,_0x3f8259[_0x25a0dd],_0x3f8259[_0x25a0dd]['internal']));if(_0x3f8259[_0x25a0dd][_0xf1c4('0x17')]!=_0x3f8259[_0x25a0dd][_0xf1c4('0x18')]){_0xdf2187=_0xdf2187['concat'](getUserApplications(_0xa294d3,_0x3f8259[_0x25a0dd],_0x3f8259[_0x25a0dd][_0xf1c4('0x18')]));}}return _0xdf2187;};var getChanSpyPromise=function(_0x18222c,_0x3d6795){return new BPromise(function(_0x2ba83f,_0x3f18dd){return _0x18222c[_0xf1c4('0x19')]['findAll']({'attributes':['id','name',_0xf1c4('0x17')],'where':{'role':_0xf1c4('0x1a'),'chanspy':!![]},'raw':!![]})[_0xf1c4('0x1b')](function(_0x709b27){if(_0x709b27){return _0x2ba83f(getChanSpyApplications(_0x3d6795,_0x709b27));}return _0x2ba83f([]);})[_0xf1c4('0x1c')](function(_0x3384f2){_0x3f18dd(_0x3384f2);});});};module[_0xf1c4('0x1d')]=function(_0x4ffb27,_0x5dc29d){var _0x1b11c2=_0x4ffb27['models'];return _0x4ffb27['define'](_0xf1c4('0x1e'),attributes,{'tableName':_0xf1c4('0x1f'),'paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'afterCreate':function(_0x594e0d,_0x462d34,_0x4e9fd0){return getChanSpyPromise(_0x1b11c2,_0x594e0d)[_0xf1c4('0x1b')](function(_0x4e351d){if(_0x4e351d&&_0x4e351d[_0xf1c4('0x16')]){return _0x1b11c2[_0xf1c4('0x20')][_0xf1c4('0x21')](_0x4e351d);}})[_0xf1c4('0x1b')](function(){_0x4e9fd0();})[_0xf1c4('0x1c')](function(_0x6d3d79){_0x4e9fd0(_0x6d3d79);});},'afterUpdate':function(_0x236906,_0x12b67b,_0x318dbb){return _0x1b11c2['VoiceExtension'][_0xf1c4('0x22')]({'where':{'ChanSpyId':_0x236906['id']}})[_0xf1c4('0x1b')](function(){return getChanSpyPromise(_0x1b11c2,_0x236906);})['then'](function(_0x5b51ea){if(_0x5b51ea&&_0x5b51ea[_0xf1c4('0x16')]){return _0x1b11c2[_0xf1c4('0x20')][_0xf1c4('0x21')](_0x5b51ea);}})[_0xf1c4('0x1b')](function(){_0x318dbb();})[_0xf1c4('0x1c')](function(_0x27a683){_0x318dbb(_0x27a683);});},'afterDestroy':function(_0x419aef,_0x322bf4,_0x451c13){return _0x1b11c2[_0xf1c4('0x20')][_0xf1c4('0x22')]({'where':{'ChanSpyId':_0x419aef['id']}})[_0xf1c4('0x1b')](function(){_0x451c13();})[_0xf1c4('0x1c')](function(_0x52c520){_0x451c13(_0x52c520);});}}});}; \ No newline at end of file diff --git a/server/api/voiceChanSpy/voiceChanSpy.rpc.js b/server/api/voiceChanSpy/voiceChanSpy.rpc.js index 6bc579b..bc1d20b 100644 --- a/server/api/voiceChanSpy/voiceChanSpy.rpc.js +++ b/server/api/voiceChanSpy/voiceChanSpy.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xe96e=['jayson/promise','client','request','info','request\x20sent','debug','VoiceChanSpy,\x20%s,\x20%s,\x20%s','stringify','error','VoiceChanSpy,\x20%s,\x20%s','message','result','catch','bluebird','randomstring','../../mysqldb','../../config/utils','../../config/logger','../../config/environment'];(function(_0x41c325,_0x312a1a){var _0x5c4713=function(_0x2a1d11){while(--_0x2a1d11){_0x41c325['push'](_0x41c325['shift']());}};_0x5c4713(++_0x312a1a);}(_0xe96e,0x6c));var _0xee96=function(_0x3fc5bb,_0x2d5344){_0x3fc5bb=_0x3fc5bb-0x0;var _0x41d6d8=_0xe96e[_0x3fc5bb];return _0x41d6d8;};'use strict';var _=require('lodash');var util=require('util');var moment=require('moment');var BPromise=require(_0xee96('0x0'));var rs=require(_0xee96('0x1'));var fs=require('fs');var Redis=require('ioredis');var db=require(_0xee96('0x2'))['db'];var utils=require(_0xee96('0x3'));var logger=require(_0xee96('0x4'))('rpc');var config=require(_0xee96('0x5'));var jayson=require(_0xee96('0x6'));var client=jayson[_0xee96('0x7')]['http']({'port':0x232a});function respondWithRpcPromise(_0x3e62d8,_0x184ce2,_0x50d54e){return new BPromise(function(_0x82843,_0x25cf75){return client[_0xee96('0x8')](_0x3e62d8,_0x50d54e)['then'](function(_0x4fcb8a){logger[_0xee96('0x9')]('VoiceChanSpy,\x20%s,\x20%s',_0x184ce2,_0xee96('0xa'));logger[_0xee96('0xb')](_0xee96('0xc'),_0x184ce2,_0xee96('0xa'),JSON[_0xee96('0xd')](_0x4fcb8a));if(_0x4fcb8a['error']){if(_0x4fcb8a[_0xee96('0xe')]['code']===0x1f4){logger[_0xee96('0xe')](_0xee96('0xf'),_0x184ce2,_0x4fcb8a['error']['message']);return _0x25cf75(_0x4fcb8a[_0xee96('0xe')][_0xee96('0x10')]);}logger[_0xee96('0xe')]('VoiceChanSpy,\x20%s,\x20%s',_0x184ce2,_0x4fcb8a[_0xee96('0xe')]['message']);return _0x82843(_0x4fcb8a[_0xee96('0xe')]['message']);}else{logger[_0xee96('0x9')](_0xee96('0xf'),_0x184ce2,_0xee96('0xa'));_0x82843(_0x4fcb8a[_0xee96('0x11')][_0xee96('0x10')]);}})[_0xee96('0x12')](function(_0x2f15cc){logger[_0xee96('0xe')](_0xee96('0xf'),_0x184ce2,_0x2f15cc);_0x25cf75(_0x2f15cc);});});} \ No newline at end of file +var _0xb2b2=['rpc','../../config/environment','jayson/promise','client','http','request','VoiceChanSpy,\x20%s,\x20%s','request\x20sent','debug','VoiceChanSpy,\x20%s,\x20%s,\x20%s','error','code','message','info','result','lodash','util','moment','bluebird','randomstring','ioredis','../../mysqldb','../../config/logger'];(function(_0x200ced,_0x503efa){var _0x28e175=function(_0x450010){while(--_0x450010){_0x200ced['push'](_0x200ced['shift']());}};_0x28e175(++_0x503efa);}(_0xb2b2,0xc7));var _0x2b2b=function(_0x4c12ec,_0x2e9103){_0x4c12ec=_0x4c12ec-0x0;var _0x3ae42c=_0xb2b2[_0x4c12ec];return _0x3ae42c;};'use strict';var _=require(_0x2b2b('0x0'));var util=require(_0x2b2b('0x1'));var moment=require(_0x2b2b('0x2'));var BPromise=require(_0x2b2b('0x3'));var rs=require(_0x2b2b('0x4'));var fs=require('fs');var Redis=require(_0x2b2b('0x5'));var db=require(_0x2b2b('0x6'))['db'];var utils=require('../../config/utils');var logger=require(_0x2b2b('0x7'))(_0x2b2b('0x8'));var config=require(_0x2b2b('0x9'));var jayson=require(_0x2b2b('0xa'));var client=jayson[_0x2b2b('0xb')][_0x2b2b('0xc')]({'port':0x232a});function respondWithRpcPromise(_0x586458,_0x53d8ae,_0x337a06){return new BPromise(function(_0x8723e6,_0x5c6b4b){return client[_0x2b2b('0xd')](_0x586458,_0x337a06)['then'](function(_0x24199e){logger['info'](_0x2b2b('0xe'),_0x53d8ae,_0x2b2b('0xf'));logger[_0x2b2b('0x10')](_0x2b2b('0x11'),_0x53d8ae,_0x2b2b('0xf'),JSON['stringify'](_0x24199e));if(_0x24199e[_0x2b2b('0x12')]){if(_0x24199e[_0x2b2b('0x12')][_0x2b2b('0x13')]===0x1f4){logger[_0x2b2b('0x12')](_0x2b2b('0xe'),_0x53d8ae,_0x24199e['error']['message']);return _0x5c6b4b(_0x24199e[_0x2b2b('0x12')][_0x2b2b('0x14')]);}logger[_0x2b2b('0x12')]('VoiceChanSpy,\x20%s,\x20%s',_0x53d8ae,_0x24199e[_0x2b2b('0x12')][_0x2b2b('0x14')]);return _0x8723e6(_0x24199e['error'][_0x2b2b('0x14')]);}else{logger[_0x2b2b('0x15')](_0x2b2b('0xe'),_0x53d8ae,'request\x20sent');_0x8723e6(_0x24199e[_0x2b2b('0x16')][_0x2b2b('0x14')]);}})['catch'](function(_0x6acaae){logger['error'](_0x2b2b('0xe'),_0x53d8ae,_0x6acaae);_0x5c6b4b(_0x6acaae);});});} \ No newline at end of file diff --git a/server/api/voiceContext/index.js b/server/api/voiceContext/index.js index aa3a14c..2d3b865 100644 --- a/server/api/voiceContext/index.js +++ b/server/api/voiceContext/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x03a6=['isAuthenticated','index','show','create','put','/:id','update','delete','destroy','exports','multer','util','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceContext.controller','get'];(function(_0x536ec6,_0x55807a){var _0x396c66=function(_0x528174){while(--_0x528174){_0x536ec6['push'](_0x536ec6['shift']());}};_0x396c66(++_0x55807a);}(_0x03a6,0x6e));var _0x603a=function(_0x245664,_0x2e57de){_0x245664=_0x245664-0x0;var _0x4718d0=_0x03a6[_0x245664];return _0x4718d0;};'use strict';var multer=require(_0x603a('0x0'));var util=require(_0x603a('0x1'));var path=require(_0x603a('0x2'));var timeout=require(_0x603a('0x3'));var express=require(_0x603a('0x4'));var router=express['Router']();var auth=require(_0x603a('0x5'));var interaction=require(_0x603a('0x6'));var config=require(_0x603a('0x7'));var controller=require(_0x603a('0x8'));router[_0x603a('0x9')]('/',auth[_0x603a('0xa')](),controller[_0x603a('0xb')]);router[_0x603a('0x9')]('/:id',auth[_0x603a('0xa')](),controller[_0x603a('0xc')]);router['post']('/',auth['isAuthenticated'](),controller[_0x603a('0xd')]);router[_0x603a('0xe')](_0x603a('0xf'),auth[_0x603a('0xa')](),controller[_0x603a('0x10')]);router[_0x603a('0x11')](_0x603a('0xf'),auth['isAuthenticated'](),controller[_0x603a('0x12')]);module[_0x603a('0x13')]=router; \ No newline at end of file +var _0xaad3=['Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','index','/:id','post','isAuthenticated','create','put','update','delete','destroy','exports','util','path','connect-timeout','express'];(function(_0x465028,_0x4570ac){var _0xb783d4=function(_0x5458c5){while(--_0x5458c5){_0x465028['push'](_0x465028['shift']());}};_0xb783d4(++_0x4570ac);}(_0xaad3,0x178));var _0x3aad=function(_0x2e2cd7,_0x9a3d16){_0x2e2cd7=_0x2e2cd7-0x0;var _0x397801=_0xaad3[_0x2e2cd7];return _0x397801;};'use strict';var multer=require('multer');var util=require(_0x3aad('0x0'));var path=require(_0x3aad('0x1'));var timeout=require(_0x3aad('0x2'));var express=require(_0x3aad('0x3'));var router=express[_0x3aad('0x4')]();var auth=require(_0x3aad('0x5'));var interaction=require(_0x3aad('0x6'));var config=require(_0x3aad('0x7'));var controller=require('./voiceContext.controller');router[_0x3aad('0x8')]('/',auth['isAuthenticated'](),controller[_0x3aad('0x9')]);router[_0x3aad('0x8')](_0x3aad('0xa'),auth['isAuthenticated'](),controller['show']);router[_0x3aad('0xb')]('/',auth[_0x3aad('0xc')](),controller[_0x3aad('0xd')]);router[_0x3aad('0xe')](_0x3aad('0xa'),auth[_0x3aad('0xc')](),controller[_0x3aad('0xf')]);router[_0x3aad('0x10')](_0x3aad('0xa'),auth[_0x3aad('0xc')](),controller[_0x3aad('0x11')]);module[_0x3aad('0x12')]=router; \ No newline at end of file diff --git a/server/api/voiceContext/voiceContext.attributes.js b/server/api/voiceContext/voiceContext.attributes.js index 2495dbd..2f8f924 100644 --- a/server/api/voiceContext/voiceContext.attributes.js +++ b/server/api/voiceContext/voiceContext.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x34e8=['sequelize','exports','STRING','name','BOOLEAN'];(function(_0x1d8640,_0x709d52){var _0x10587f=function(_0x5d1c4a){while(--_0x5d1c4a){_0x1d8640['push'](_0x1d8640['shift']());}};_0x10587f(++_0x709d52);}(_0x34e8,0x12c));var _0x834e=function(_0x26ce81,_0x5e392f){_0x26ce81=_0x26ce81-0x0;var _0x4d0322=_0x34e8[_0x26ce81];return _0x4d0322;};'use strict';var Sequelize=require(_0x834e('0x0'));module[_0x834e('0x1')]={'name':{'type':Sequelize[_0x834e('0x2')],'unique':_0x834e('0x3')},'description':{'type':Sequelize['STRING'],'allowNull':!![]},'defaultEntry':{'type':Sequelize[_0x834e('0x4')],'defaultValue':0x0}}; \ No newline at end of file +var _0x3e74=['name','sequelize','STRING'];(function(_0x57961a,_0x5c91dd){var _0x52fccf=function(_0x2ac517){while(--_0x2ac517){_0x57961a['push'](_0x57961a['shift']());}};_0x52fccf(++_0x5c91dd);}(_0x3e74,0x175));var _0x43e7=function(_0x38edef,_0xc4fdd9){_0x38edef=_0x38edef-0x0;var _0xebc94e=_0x3e74[_0x38edef];return _0xebc94e;};'use strict';var Sequelize=require(_0x43e7('0x0'));module['exports']={'name':{'type':Sequelize[_0x43e7('0x1')],'unique':_0x43e7('0x2')},'description':{'type':Sequelize[_0x43e7('0x1')],'allowNull':!![]},'defaultEntry':{'type':Sequelize['BOOLEAN'],'defaultValue':0x0}}; \ No newline at end of file diff --git a/server/api/voiceContext/voiceContext.controller.js b/server/api/voiceContext/voiceContext.controller.js index 9e09317..a4bf864 100644 --- a/server/api/voiceContext/voiceContext.controller.js +++ b/server/api/voiceContext/voiceContext.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x9957=['attributes','fields','hasOwnProperty','limit','order','sort','where','filter','merge','VIRTUAL','options','includeAll','include','findAll','rows','show','params','length','find','create','body','readFileSync','join','root','render','writeFileSync','/etc/asterisk/extensions_xcally_contexts.conf','Reload','chan_sip.so','Unable\x20to\x20retrieve\x20the\x20current\x20user','role','user','UserProfileSection','Contexts','autoAssociation','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','destroy','server/files/templates/context.ejs','utf8','html-pdf','eml-format','rimraf','zip-dir','request-promise','moment','bluebird','mustache','path','sox','to-csv','ejs','lodash','squel','jsforce','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','api','../../config/utils','../../mysqldb','jayson/promise','client','http','Sequelize','ValidationError','The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.','then','info','VoiceContext,\x20%s,\x20%s','request\x20sent','debug','stringify','code','error','message','result','catch','sendStatus','status','end','json','count','offset','set','Content-Range','apply','save','update','get','UserProfileResource','stack','name','index','map','VoiceContext','rawAttributes','type','key','model','query','keys','filters','intersection'];(function(_0x59ee6f,_0x450239){var _0x4c0979=function(_0x565e92){while(--_0x565e92){_0x59ee6f['push'](_0x59ee6f['shift']());}};_0x4c0979(++_0x450239);}(_0x9957,0x93));var _0x7995=function(_0xbca1b1,_0x33f0ce){_0xbca1b1=_0xbca1b1-0x0;var _0x4e1686=_0x9957[_0xbca1b1];return _0x4e1686;};'use strict';var pdf=require(_0x7995('0x0'));var emlformat=require(_0x7995('0x1'));var rimraf=require(_0x7995('0x2'));var zipdir=require(_0x7995('0x3'));var jsonpatch=require('fast-json-patch');var rp=require(_0x7995('0x4'));var moment=require(_0x7995('0x5'));var BPromise=require(_0x7995('0x6'));var Mustache=require(_0x7995('0x7'));var util=require('util');var path=require(_0x7995('0x8'));var sox=require(_0x7995('0x9'));var csv=require(_0x7995('0xa'));var ejs=require(_0x7995('0xb'));var fs=require('fs');var _=require(_0x7995('0xc'));var squel=require(_0x7995('0xd'));var crypto=require('crypto');var jsforce=require(_0x7995('0xe'));var deskjs=require(_0x7995('0xf'));var toCsv=require('to-csv');var querystring=require(_0x7995('0x10'));var Papa=require(_0x7995('0x11'));var Redis=require(_0x7995('0x12'));var authService=require(_0x7995('0x13'));var qs=require(_0x7995('0x14'));var as=require(_0x7995('0x15'));var hardwareService=require(_0x7995('0x16'));var logger=require('../../config/logger')(_0x7995('0x17'));var utils=require(_0x7995('0x18'));var config=require('../../config/environment');var db=require(_0x7995('0x19'))['db'];var jayson=require(_0x7995('0x1a'));var client=jayson[_0x7995('0x1b')][_0x7995('0x1c')]({'port':0x232a});function checkPasswordPattern(_0x281576,_0x23999f,_0x2bbe7a){if(_0x2bbe7a){var _0x4cc004=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0x4cc004['test'](_0x23999f)){return _0x281576;}else{throw new db[(_0x7995('0x1d'))][(_0x7995('0x1e'))](_0x7995('0x1f'));}}else{return _0x281576;}}function respondWithRpcPromise(_0x321ae8,_0x3f1d3e,_0x1a5310,_0x2202ce){return new BPromise(function(_0x41cbf0,_0x5377e5){var _0x2eeacc=_0x2202ce||client;return _0x2eeacc['request'](_0x321ae8,_0x1a5310)[_0x7995('0x20')](function(_0x37f297){logger[_0x7995('0x21')](_0x7995('0x22'),_0x3f1d3e,_0x7995('0x23'));logger[_0x7995('0x24')]('VoiceContext,\x20%s,\x20%s,\x20%s',_0x3f1d3e,'request\x20sent',JSON[_0x7995('0x25')](_0x37f297));if(_0x37f297['error']){if(_0x37f297['error'][_0x7995('0x26')]===0x1f4){logger[_0x7995('0x27')]('VoiceContext,\x20%s,\x20%s',_0x3f1d3e,_0x37f297[_0x7995('0x27')]['message']);return _0x5377e5(_0x37f297['error'][_0x7995('0x28')]);}logger[_0x7995('0x27')](_0x7995('0x22'),_0x3f1d3e,_0x37f297[_0x7995('0x27')][_0x7995('0x28')]);return _0x41cbf0(_0x37f297[_0x7995('0x27')]['message']);}else{logger[_0x7995('0x21')](_0x7995('0x22'),_0x3f1d3e,_0x7995('0x23'));_0x41cbf0(_0x37f297[_0x7995('0x29')][_0x7995('0x28')]);}})[_0x7995('0x2a')](function(_0x475351){logger[_0x7995('0x27')]('VoiceContext,\x20%s,\x20%s',_0x3f1d3e,_0x475351);_0x5377e5(_0x475351);});});}function respondWithStatusCode(_0x39df42,_0x34e70c){_0x34e70c=_0x34e70c||0xcc;return function(_0x401dc3){if(_0x401dc3){return _0x39df42[_0x7995('0x2b')](_0x34e70c);}return _0x39df42[_0x7995('0x2c')](_0x34e70c)[_0x7995('0x2d')]();};}function respondWithResult(_0x56691a,_0x47625f){_0x47625f=_0x47625f||0xc8;return function(_0x5911c3){if(_0x5911c3){return _0x56691a[_0x7995('0x2c')](_0x47625f)[_0x7995('0x2e')](_0x5911c3);}};}function respondWithFilteredResult(_0xf16cc2,_0x132a42){return function(_0x11c1eb){if(_0x11c1eb){var _0x4b6f99=_0x11c1eb[_0x7995('0x2f')],_0x9b2a15=_0x132a42[_0x7995('0x30')],_0x514445=_0x132a42['offset']+_0x132a42['limit'],_0x456a28;if(_0x514445>=_0x4b6f99){_0x514445=_0x4b6f99;_0x456a28=0xc8;}else{_0x456a28=0xce;}_0xf16cc2['status'](_0x456a28);return _0xf16cc2[_0x7995('0x31')](_0x7995('0x32'),_0x9b2a15+'-'+_0x514445+'/'+_0x4b6f99)[_0x7995('0x2e')](_0x11c1eb);}return null;};}function patchUpdates(_0x2b874d){return function(_0x2e3493){try{jsonpatch[_0x7995('0x33')](_0x2e3493,_0x2b874d,!![]);}catch(_0x538841){return BPromise['reject'](_0x538841);}return _0x2e3493[_0x7995('0x34')]();};}function saveUpdates(_0x5524af,_0x553671){return function(_0x3eb566){if(_0x3eb566){return _0x3eb566[_0x7995('0x35')](_0x5524af)[_0x7995('0x20')](function(_0x1f7d27){return _0x1f7d27;});}return null;};}function removeEntity(_0x510841,_0x44309d){return function(_0x33e24e){if(_0x33e24e){return _0x33e24e['destroy']()['then'](function(){var _0x577412=_0x33e24e[_0x7995('0x36')]({'plain':!![]});var _0x3acfc3='Contexts';return db[_0x7995('0x37')]['destroy']({'where':{'type':_0x3acfc3,'resourceId':_0x577412['id']}})[_0x7995('0x20')](function(){return _0x33e24e;});})[_0x7995('0x20')](function(){_0x510841[_0x7995('0x2c')](0xcc)['end']();});}};}function handleEntityNotFound(_0x52d76d,_0x36d057){return function(_0x5e67fe){if(!_0x5e67fe){_0x52d76d['sendStatus'](0x194);}return _0x5e67fe;};}function handleError(_0x3e99cd,_0xe328b1){_0xe328b1=_0xe328b1||0x1f4;return function(_0x5212ff){logger[_0x7995('0x27')](_0x5212ff[_0x7995('0x38')]);if(_0x5212ff[_0x7995('0x39')]){delete _0x5212ff[_0x7995('0x39')];}_0x3e99cd[_0x7995('0x2c')](_0xe328b1)['send'](_0x5212ff);};}exports[_0x7995('0x3a')]=function(_0x242713,_0xf612e6){var _0x1d60b8={},_0x4b1541={},_0x2be2c0={'count':0x0,'rows':[]};var _0x235df7=_[_0x7995('0x3b')](db[_0x7995('0x3c')][_0x7995('0x3d')],function(_0x1035dc){return{'name':_0x1035dc['fieldName'],'type':_0x1035dc[_0x7995('0x3e')][_0x7995('0x3f')]};});_0x4b1541[_0x7995('0x40')]=_[_0x7995('0x3b')](_0x235df7,_0x7995('0x39'));_0x4b1541[_0x7995('0x41')]=_[_0x7995('0x42')](_0x242713[_0x7995('0x41')]);_0x4b1541[_0x7995('0x43')]=_[_0x7995('0x44')](_0x4b1541[_0x7995('0x40')],_0x4b1541[_0x7995('0x41')]);_0x1d60b8[_0x7995('0x45')]=_['intersection'](_0x4b1541['model'],qs[_0x7995('0x46')](_0x242713[_0x7995('0x41')]['fields']));_0x1d60b8['attributes']=_0x1d60b8[_0x7995('0x45')]['length']?_0x1d60b8['attributes']:_0x4b1541[_0x7995('0x40')];if(!_0x242713[_0x7995('0x41')][_0x7995('0x47')]('nolimit')){_0x1d60b8[_0x7995('0x48')]=qs['limit'](_0x242713[_0x7995('0x41')]['limit']);_0x1d60b8['offset']=qs[_0x7995('0x30')](_0x242713[_0x7995('0x41')][_0x7995('0x30')]);}_0x1d60b8[_0x7995('0x49')]=qs['sort'](_0x242713[_0x7995('0x41')][_0x7995('0x4a')]);_0x1d60b8[_0x7995('0x4b')]=qs[_0x7995('0x43')](_['pick'](_0x242713['query'],_0x4b1541[_0x7995('0x43')]),_0x235df7);if(_0x242713['query'][_0x7995('0x4c')]){_0x1d60b8['where']=_[_0x7995('0x4d')](_0x1d60b8['where'],{'$or':_[_0x7995('0x3b')](_0x235df7,function(_0x1b0373){if(_0x1b0373['type']!==_0x7995('0x4e')){var _0x336ff2={};_0x336ff2[_0x1b0373[_0x7995('0x39')]]={'$like':'%'+_0x242713[_0x7995('0x41')]['filter']+'%'};return _0x336ff2;}})});}_0x1d60b8=_[_0x7995('0x4d')]({},_0x1d60b8,_0x242713[_0x7995('0x4f')]);var _0x237270={'where':_0x1d60b8['where']};return db[_0x7995('0x3c')][_0x7995('0x2f')](_0x237270)[_0x7995('0x20')](function(_0x3d8ae3){_0x2be2c0[_0x7995('0x2f')]=_0x3d8ae3;if(_0x242713['query'][_0x7995('0x50')]){_0x1d60b8[_0x7995('0x51')]=[{'all':!![]}];}return db['VoiceContext'][_0x7995('0x52')](_0x1d60b8);})['then'](function(_0x1d87f9){_0x2be2c0[_0x7995('0x53')]=_0x1d87f9;return _0x2be2c0;})[_0x7995('0x20')](respondWithFilteredResult(_0xf612e6,_0x1d60b8))[_0x7995('0x2a')](handleError(_0xf612e6,null));};exports[_0x7995('0x54')]=function(_0x14b537,_0x1579b9){var _0x4d46bc={'raw':![],'where':{'id':_0x14b537[_0x7995('0x55')]['id']}},_0x427dcf={};_0x427dcf[_0x7995('0x40')]=_['keys'](db[_0x7995('0x3c')][_0x7995('0x3d')]);_0x427dcf[_0x7995('0x41')]=_['keys'](_0x14b537['query']);_0x427dcf['filters']=_[_0x7995('0x44')](_0x427dcf[_0x7995('0x40')],_0x427dcf['query']);_0x4d46bc[_0x7995('0x45')]=_[_0x7995('0x44')](_0x427dcf[_0x7995('0x40')],qs[_0x7995('0x46')](_0x14b537[_0x7995('0x41')]['fields']));_0x4d46bc[_0x7995('0x45')]=_0x4d46bc['attributes'][_0x7995('0x56')]?_0x4d46bc[_0x7995('0x45')]:_0x427dcf[_0x7995('0x40')];if(_0x14b537['query']['includeAll']){_0x4d46bc['include']=[{'all':!![]}];}_0x4d46bc=_['merge']({},_0x4d46bc,_0x14b537[_0x7995('0x4f')]);return db[_0x7995('0x3c')][_0x7995('0x57')](_0x4d46bc)[_0x7995('0x20')](handleEntityNotFound(_0x1579b9,null))[_0x7995('0x20')](respondWithResult(_0x1579b9,null))[_0x7995('0x2a')](handleError(_0x1579b9,null));};exports[_0x7995('0x58')]=function(_0xda6ce8,_0x328671,_0x17ecd3){var _0xa7af8c;return db[_0x7995('0x3c')][_0x7995('0x58')](_0xda6ce8[_0x7995('0x59')],{'raw':!![]})[_0x7995('0x20')](function(_0x416133){_0xa7af8c=_0x416133;return db[_0x7995('0x3c')][_0x7995('0x52')]({'raw':!![]});})[_0x7995('0x20')](function(_0x50b7c2){var _0x56a374=fs[_0x7995('0x5a')](path[_0x7995('0x5b')](config[_0x7995('0x5c')],'server/files/templates/context.ejs'),'utf8');var _0x402fa0=ejs[_0x7995('0x5d')](_0x56a374,{'contexts':_0x50b7c2||[]});fs[_0x7995('0x5e')](_0x7995('0x5f'),_0x402fa0);})['then'](function(){return respondWithRpcPromise(_0x7995('0x60'),_0x7995('0x58'),{'module':_0x7995('0x61')});})[_0x7995('0x20')](function(){var _0x502d43=_0xda6ce8['user'][_0x7995('0x36')]({'plain':!![]});if(!_0x502d43)throw new Error(_0x7995('0x62'));if(_0x502d43[_0x7995('0x63')]===_0x7995('0x64')){var _0x37072=_0xa7af8c[_0x7995('0x36')]({'plain':!![]});return db[_0x7995('0x65')][_0x7995('0x57')]({'where':{'name':_0x7995('0x66'),'userProfileId':_0x502d43['userProfileId']},'raw':!![]})[_0x7995('0x20')](function(_0x3ec5a8){if(_0x3ec5a8&&_0x3ec5a8[_0x7995('0x67')]===0x0){return db[_0x7995('0x37')]['create']({'name':_0x37072['name'],'resourceId':_0x37072['id'],'type':_0x3ec5a8[_0x7995('0x39')],'sectionId':_0x3ec5a8['id']},{})[_0x7995('0x20')](function(){return _0xa7af8c;});}else{return _0xa7af8c;}})['catch'](function(_0x971a23){logger[_0x7995('0x27')](_0x7995('0x68'),_0x971a23);throw _0x971a23;});}return _0xa7af8c;})[_0x7995('0x20')](respondWithResult(_0x328671,0xc9))[_0x7995('0x2a')](handleError(_0x328671,null));};exports['update']=function(_0x457d09,_0x564fca,_0x3e0a46){var _0xe31dcb;return db[_0x7995('0x3c')][_0x7995('0x57')]({'where':{'id':_0x457d09[_0x7995('0x55')]['id']}})[_0x7995('0x20')](handleEntityNotFound(_0x564fca,null))[_0x7995('0x20')](saveUpdates(_0x457d09[_0x7995('0x59')],null))[_0x7995('0x20')](function(_0x3f2bde){if(_0x3f2bde){_0xe31dcb=_0x3f2bde;return db[_0x7995('0x3c')][_0x7995('0x52')]({'raw':!![]});}})['then'](function(_0x45351d){var _0x23bbc1=fs[_0x7995('0x5a')](path[_0x7995('0x5b')](config[_0x7995('0x5c')],'server/files/templates/context.ejs'),'utf8');var _0x268fde=ejs[_0x7995('0x5d')](_0x23bbc1,{'contexts':_0x45351d||[]});fs[_0x7995('0x5e')](_0x7995('0x5f'),_0x268fde);})['then'](function(){return respondWithRpcPromise(_0x7995('0x60'),'update',{'module':'chan_sip.so'});})[_0x7995('0x20')](function(){return _0xe31dcb;})[_0x7995('0x20')](respondWithResult(_0x564fca,null))[_0x7995('0x2a')](handleError(_0x564fca,null));};exports[_0x7995('0x69')]=function(_0x290eae,_0x25d9a4,_0x32a52f){var _0x13dc73;return db[_0x7995('0x3c')][_0x7995('0x57')]({'where':{'id':_0x290eae['params']['id']}})[_0x7995('0x20')](handleEntityNotFound(_0x25d9a4,null))[_0x7995('0x20')](removeEntity(_0x25d9a4,null))[_0x7995('0x20')](function(){return db['VoiceContext'][_0x7995('0x52')]({'raw':!![]});})[_0x7995('0x20')](function(_0x705f0){var _0x3a7d9d=fs[_0x7995('0x5a')](path[_0x7995('0x5b')](config[_0x7995('0x5c')],_0x7995('0x6a')),_0x7995('0x6b'));var _0x1fdff6=ejs[_0x7995('0x5d')](_0x3a7d9d,{'contexts':_0x705f0});fs['writeFileSync']('/etc/asterisk/extensions_xcally_contexts.conf',_0x1fdff6);return respondWithRpcPromise(_0x7995('0x60'),_0x7995('0x69'),{'module':_0x7995('0x61')});})[_0x7995('0x2a')](handleError(_0x25d9a4,null));}; \ No newline at end of file +var _0x9957=['attributes','fields','hasOwnProperty','limit','order','sort','where','filter','merge','VIRTUAL','options','includeAll','include','findAll','rows','show','params','length','find','create','body','readFileSync','join','root','render','writeFileSync','/etc/asterisk/extensions_xcally_contexts.conf','Reload','chan_sip.so','Unable\x20to\x20retrieve\x20the\x20current\x20user','role','user','UserProfileSection','Contexts','autoAssociation','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','destroy','server/files/templates/context.ejs','utf8','html-pdf','eml-format','rimraf','zip-dir','request-promise','moment','bluebird','mustache','path','sox','to-csv','ejs','lodash','squel','jsforce','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','api','../../config/utils','../../mysqldb','jayson/promise','client','http','Sequelize','ValidationError','The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.','then','info','VoiceContext,\x20%s,\x20%s','request\x20sent','debug','stringify','code','error','message','result','catch','sendStatus','status','end','json','count','offset','set','Content-Range','apply','save','update','get','UserProfileResource','stack','name','index','map','VoiceContext','rawAttributes','type','key','model','query','keys','filters','intersection'];(function(_0x40a045,_0x516f0e){var _0x1a687c=function(_0x48c9fe){while(--_0x48c9fe){_0x40a045['push'](_0x40a045['shift']());}};_0x1a687c(++_0x516f0e);}(_0x9957,0x93));var _0x7995=function(_0x5b644e,_0x2e5e07){_0x5b644e=_0x5b644e-0x0;var _0x49c6bf=_0x9957[_0x5b644e];return _0x49c6bf;};'use strict';var pdf=require(_0x7995('0x0'));var emlformat=require(_0x7995('0x1'));var rimraf=require(_0x7995('0x2'));var zipdir=require(_0x7995('0x3'));var jsonpatch=require('fast-json-patch');var rp=require(_0x7995('0x4'));var moment=require(_0x7995('0x5'));var BPromise=require(_0x7995('0x6'));var Mustache=require(_0x7995('0x7'));var util=require('util');var path=require(_0x7995('0x8'));var sox=require(_0x7995('0x9'));var csv=require(_0x7995('0xa'));var ejs=require(_0x7995('0xb'));var fs=require('fs');var _=require(_0x7995('0xc'));var squel=require(_0x7995('0xd'));var crypto=require('crypto');var jsforce=require(_0x7995('0xe'));var deskjs=require(_0x7995('0xf'));var toCsv=require('to-csv');var querystring=require(_0x7995('0x10'));var Papa=require(_0x7995('0x11'));var Redis=require(_0x7995('0x12'));var authService=require(_0x7995('0x13'));var qs=require(_0x7995('0x14'));var as=require(_0x7995('0x15'));var hardwareService=require(_0x7995('0x16'));var logger=require('../../config/logger')(_0x7995('0x17'));var utils=require(_0x7995('0x18'));var config=require('../../config/environment');var db=require(_0x7995('0x19'))['db'];var jayson=require(_0x7995('0x1a'));var client=jayson[_0x7995('0x1b')][_0x7995('0x1c')]({'port':0x232a});function checkPasswordPattern(_0x281576,_0x23999f,_0x2bbe7a){if(_0x2bbe7a){var _0x4cc004=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0x4cc004['test'](_0x23999f)){return _0x281576;}else{throw new db[(_0x7995('0x1d'))][(_0x7995('0x1e'))](_0x7995('0x1f'));}}else{return _0x281576;}}function respondWithRpcPromise(_0x321ae8,_0x3f1d3e,_0x1a5310,_0x2202ce){return new BPromise(function(_0x41cbf0,_0x5377e5){var _0x2eeacc=_0x2202ce||client;return _0x2eeacc['request'](_0x321ae8,_0x1a5310)[_0x7995('0x20')](function(_0x37f297){logger[_0x7995('0x21')](_0x7995('0x22'),_0x3f1d3e,_0x7995('0x23'));logger[_0x7995('0x24')]('VoiceContext,\x20%s,\x20%s,\x20%s',_0x3f1d3e,'request\x20sent',JSON[_0x7995('0x25')](_0x37f297));if(_0x37f297['error']){if(_0x37f297['error'][_0x7995('0x26')]===0x1f4){logger[_0x7995('0x27')]('VoiceContext,\x20%s,\x20%s',_0x3f1d3e,_0x37f297[_0x7995('0x27')]['message']);return _0x5377e5(_0x37f297['error'][_0x7995('0x28')]);}logger[_0x7995('0x27')](_0x7995('0x22'),_0x3f1d3e,_0x37f297[_0x7995('0x27')][_0x7995('0x28')]);return _0x41cbf0(_0x37f297[_0x7995('0x27')]['message']);}else{logger[_0x7995('0x21')](_0x7995('0x22'),_0x3f1d3e,_0x7995('0x23'));_0x41cbf0(_0x37f297[_0x7995('0x29')][_0x7995('0x28')]);}})[_0x7995('0x2a')](function(_0x475351){logger[_0x7995('0x27')]('VoiceContext,\x20%s,\x20%s',_0x3f1d3e,_0x475351);_0x5377e5(_0x475351);});});}function respondWithStatusCode(_0x39df42,_0x34e70c){_0x34e70c=_0x34e70c||0xcc;return function(_0x401dc3){if(_0x401dc3){return _0x39df42[_0x7995('0x2b')](_0x34e70c);}return _0x39df42[_0x7995('0x2c')](_0x34e70c)[_0x7995('0x2d')]();};}function respondWithResult(_0x56691a,_0x47625f){_0x47625f=_0x47625f||0xc8;return function(_0x5911c3){if(_0x5911c3){return _0x56691a[_0x7995('0x2c')](_0x47625f)[_0x7995('0x2e')](_0x5911c3);}};}function respondWithFilteredResult(_0xf16cc2,_0x132a42){return function(_0x11c1eb){if(_0x11c1eb){var _0x4b6f99=_0x11c1eb[_0x7995('0x2f')],_0x9b2a15=_0x132a42[_0x7995('0x30')],_0x514445=_0x132a42['offset']+_0x132a42['limit'],_0x456a28;if(_0x514445>=_0x4b6f99){_0x514445=_0x4b6f99;_0x456a28=0xc8;}else{_0x456a28=0xce;}_0xf16cc2['status'](_0x456a28);return _0xf16cc2[_0x7995('0x31')](_0x7995('0x32'),_0x9b2a15+'-'+_0x514445+'/'+_0x4b6f99)[_0x7995('0x2e')](_0x11c1eb);}return null;};}function patchUpdates(_0x2b874d){return function(_0x2e3493){try{jsonpatch[_0x7995('0x33')](_0x2e3493,_0x2b874d,!![]);}catch(_0x538841){return BPromise['reject'](_0x538841);}return _0x2e3493[_0x7995('0x34')]();};}function saveUpdates(_0x5524af,_0x553671){return function(_0x3eb566){if(_0x3eb566){return _0x3eb566[_0x7995('0x35')](_0x5524af)[_0x7995('0x20')](function(_0x1f7d27){return _0x1f7d27;});}return null;};}function removeEntity(_0x510841,_0x44309d){return function(_0x33e24e){if(_0x33e24e){return _0x33e24e['destroy']()['then'](function(){var _0x577412=_0x33e24e[_0x7995('0x36')]({'plain':!![]});var _0x3acfc3='Contexts';return db[_0x7995('0x37')]['destroy']({'where':{'type':_0x3acfc3,'resourceId':_0x577412['id']}})[_0x7995('0x20')](function(){return _0x33e24e;});})[_0x7995('0x20')](function(){_0x510841[_0x7995('0x2c')](0xcc)['end']();});}};}function handleEntityNotFound(_0x52d76d,_0x36d057){return function(_0x5e67fe){if(!_0x5e67fe){_0x52d76d['sendStatus'](0x194);}return _0x5e67fe;};}function handleError(_0x3e99cd,_0xe328b1){_0xe328b1=_0xe328b1||0x1f4;return function(_0x5212ff){logger[_0x7995('0x27')](_0x5212ff[_0x7995('0x38')]);if(_0x5212ff[_0x7995('0x39')]){delete _0x5212ff[_0x7995('0x39')];}_0x3e99cd[_0x7995('0x2c')](_0xe328b1)['send'](_0x5212ff);};}exports[_0x7995('0x3a')]=function(_0x242713,_0xf612e6){var _0x1d60b8={},_0x4b1541={},_0x2be2c0={'count':0x0,'rows':[]};var _0x235df7=_[_0x7995('0x3b')](db[_0x7995('0x3c')][_0x7995('0x3d')],function(_0x1035dc){return{'name':_0x1035dc['fieldName'],'type':_0x1035dc[_0x7995('0x3e')][_0x7995('0x3f')]};});_0x4b1541[_0x7995('0x40')]=_[_0x7995('0x3b')](_0x235df7,_0x7995('0x39'));_0x4b1541[_0x7995('0x41')]=_[_0x7995('0x42')](_0x242713[_0x7995('0x41')]);_0x4b1541[_0x7995('0x43')]=_[_0x7995('0x44')](_0x4b1541[_0x7995('0x40')],_0x4b1541[_0x7995('0x41')]);_0x1d60b8[_0x7995('0x45')]=_['intersection'](_0x4b1541['model'],qs[_0x7995('0x46')](_0x242713[_0x7995('0x41')]['fields']));_0x1d60b8['attributes']=_0x1d60b8[_0x7995('0x45')]['length']?_0x1d60b8['attributes']:_0x4b1541[_0x7995('0x40')];if(!_0x242713[_0x7995('0x41')][_0x7995('0x47')]('nolimit')){_0x1d60b8[_0x7995('0x48')]=qs['limit'](_0x242713[_0x7995('0x41')]['limit']);_0x1d60b8['offset']=qs[_0x7995('0x30')](_0x242713[_0x7995('0x41')][_0x7995('0x30')]);}_0x1d60b8[_0x7995('0x49')]=qs['sort'](_0x242713[_0x7995('0x41')][_0x7995('0x4a')]);_0x1d60b8[_0x7995('0x4b')]=qs[_0x7995('0x43')](_['pick'](_0x242713['query'],_0x4b1541[_0x7995('0x43')]),_0x235df7);if(_0x242713['query'][_0x7995('0x4c')]){_0x1d60b8['where']=_[_0x7995('0x4d')](_0x1d60b8['where'],{'$or':_[_0x7995('0x3b')](_0x235df7,function(_0x1b0373){if(_0x1b0373['type']!==_0x7995('0x4e')){var _0x336ff2={};_0x336ff2[_0x1b0373[_0x7995('0x39')]]={'$like':'%'+_0x242713[_0x7995('0x41')]['filter']+'%'};return _0x336ff2;}})});}_0x1d60b8=_[_0x7995('0x4d')]({},_0x1d60b8,_0x242713[_0x7995('0x4f')]);var _0x237270={'where':_0x1d60b8['where']};return db[_0x7995('0x3c')][_0x7995('0x2f')](_0x237270)[_0x7995('0x20')](function(_0x3d8ae3){_0x2be2c0[_0x7995('0x2f')]=_0x3d8ae3;if(_0x242713['query'][_0x7995('0x50')]){_0x1d60b8[_0x7995('0x51')]=[{'all':!![]}];}return db['VoiceContext'][_0x7995('0x52')](_0x1d60b8);})['then'](function(_0x1d87f9){_0x2be2c0[_0x7995('0x53')]=_0x1d87f9;return _0x2be2c0;})[_0x7995('0x20')](respondWithFilteredResult(_0xf612e6,_0x1d60b8))[_0x7995('0x2a')](handleError(_0xf612e6,null));};exports[_0x7995('0x54')]=function(_0x14b537,_0x1579b9){var _0x4d46bc={'raw':![],'where':{'id':_0x14b537[_0x7995('0x55')]['id']}},_0x427dcf={};_0x427dcf[_0x7995('0x40')]=_['keys'](db[_0x7995('0x3c')][_0x7995('0x3d')]);_0x427dcf[_0x7995('0x41')]=_['keys'](_0x14b537['query']);_0x427dcf['filters']=_[_0x7995('0x44')](_0x427dcf[_0x7995('0x40')],_0x427dcf['query']);_0x4d46bc[_0x7995('0x45')]=_[_0x7995('0x44')](_0x427dcf[_0x7995('0x40')],qs[_0x7995('0x46')](_0x14b537[_0x7995('0x41')]['fields']));_0x4d46bc[_0x7995('0x45')]=_0x4d46bc['attributes'][_0x7995('0x56')]?_0x4d46bc[_0x7995('0x45')]:_0x427dcf[_0x7995('0x40')];if(_0x14b537['query']['includeAll']){_0x4d46bc['include']=[{'all':!![]}];}_0x4d46bc=_['merge']({},_0x4d46bc,_0x14b537[_0x7995('0x4f')]);return db[_0x7995('0x3c')][_0x7995('0x57')](_0x4d46bc)[_0x7995('0x20')](handleEntityNotFound(_0x1579b9,null))[_0x7995('0x20')](respondWithResult(_0x1579b9,null))[_0x7995('0x2a')](handleError(_0x1579b9,null));};exports[_0x7995('0x58')]=function(_0xda6ce8,_0x328671,_0x17ecd3){var _0xa7af8c;return db[_0x7995('0x3c')][_0x7995('0x58')](_0xda6ce8[_0x7995('0x59')],{'raw':!![]})[_0x7995('0x20')](function(_0x416133){_0xa7af8c=_0x416133;return db[_0x7995('0x3c')][_0x7995('0x52')]({'raw':!![]});})[_0x7995('0x20')](function(_0x50b7c2){var _0x56a374=fs[_0x7995('0x5a')](path[_0x7995('0x5b')](config[_0x7995('0x5c')],'server/files/templates/context.ejs'),'utf8');var _0x402fa0=ejs[_0x7995('0x5d')](_0x56a374,{'contexts':_0x50b7c2||[]});fs[_0x7995('0x5e')](_0x7995('0x5f'),_0x402fa0);})['then'](function(){return respondWithRpcPromise(_0x7995('0x60'),_0x7995('0x58'),{'module':_0x7995('0x61')});})[_0x7995('0x20')](function(){var _0x502d43=_0xda6ce8['user'][_0x7995('0x36')]({'plain':!![]});if(!_0x502d43)throw new Error(_0x7995('0x62'));if(_0x502d43[_0x7995('0x63')]===_0x7995('0x64')){var _0x37072=_0xa7af8c[_0x7995('0x36')]({'plain':!![]});return db[_0x7995('0x65')][_0x7995('0x57')]({'where':{'name':_0x7995('0x66'),'userProfileId':_0x502d43['userProfileId']},'raw':!![]})[_0x7995('0x20')](function(_0x3ec5a8){if(_0x3ec5a8&&_0x3ec5a8[_0x7995('0x67')]===0x0){return db[_0x7995('0x37')]['create']({'name':_0x37072['name'],'resourceId':_0x37072['id'],'type':_0x3ec5a8[_0x7995('0x39')],'sectionId':_0x3ec5a8['id']},{})[_0x7995('0x20')](function(){return _0xa7af8c;});}else{return _0xa7af8c;}})['catch'](function(_0x971a23){logger[_0x7995('0x27')](_0x7995('0x68'),_0x971a23);throw _0x971a23;});}return _0xa7af8c;})[_0x7995('0x20')](respondWithResult(_0x328671,0xc9))[_0x7995('0x2a')](handleError(_0x328671,null));};exports['update']=function(_0x457d09,_0x564fca,_0x3e0a46){var _0xe31dcb;return db[_0x7995('0x3c')][_0x7995('0x57')]({'where':{'id':_0x457d09[_0x7995('0x55')]['id']}})[_0x7995('0x20')](handleEntityNotFound(_0x564fca,null))[_0x7995('0x20')](saveUpdates(_0x457d09[_0x7995('0x59')],null))[_0x7995('0x20')](function(_0x3f2bde){if(_0x3f2bde){_0xe31dcb=_0x3f2bde;return db[_0x7995('0x3c')][_0x7995('0x52')]({'raw':!![]});}})['then'](function(_0x45351d){var _0x23bbc1=fs[_0x7995('0x5a')](path[_0x7995('0x5b')](config[_0x7995('0x5c')],'server/files/templates/context.ejs'),'utf8');var _0x268fde=ejs[_0x7995('0x5d')](_0x23bbc1,{'contexts':_0x45351d||[]});fs[_0x7995('0x5e')](_0x7995('0x5f'),_0x268fde);})['then'](function(){return respondWithRpcPromise(_0x7995('0x60'),'update',{'module':'chan_sip.so'});})[_0x7995('0x20')](function(){return _0xe31dcb;})[_0x7995('0x20')](respondWithResult(_0x564fca,null))[_0x7995('0x2a')](handleError(_0x564fca,null));};exports[_0x7995('0x69')]=function(_0x290eae,_0x25d9a4,_0x32a52f){var _0x13dc73;return db[_0x7995('0x3c')][_0x7995('0x57')]({'where':{'id':_0x290eae['params']['id']}})[_0x7995('0x20')](handleEntityNotFound(_0x25d9a4,null))[_0x7995('0x20')](removeEntity(_0x25d9a4,null))[_0x7995('0x20')](function(){return db['VoiceContext'][_0x7995('0x52')]({'raw':!![]});})[_0x7995('0x20')](function(_0x705f0){var _0x3a7d9d=fs[_0x7995('0x5a')](path[_0x7995('0x5b')](config[_0x7995('0x5c')],_0x7995('0x6a')),_0x7995('0x6b'));var _0x1fdff6=ejs[_0x7995('0x5d')](_0x3a7d9d,{'contexts':_0x705f0});fs['writeFileSync']('/etc/asterisk/extensions_xcally_contexts.conf',_0x1fdff6);return respondWithRpcPromise(_0x7995('0x60'),_0x7995('0x69'),{'module':_0x7995('0x61')});})[_0x7995('0x2a')](handleError(_0x25d9a4,null));}; \ No newline at end of file diff --git a/server/api/voiceContext/voiceContext.model.js b/server/api/voiceContext/voiceContext.model.js index 6d89529..8b364d3 100644 --- a/server/api/voiceContext/voiceContext.model.js +++ b/server/api/voiceContext/voiceContext.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x4546=['./voiceContext.attributes','VoiceContext','voice_contexts','lodash','../../config/logger','moment','bluebird','path','rimraf','../../config/environment'];(function(_0x50f392,_0x1d8441){var _0x5926f2=function(_0x17df32){while(--_0x17df32){_0x50f392['push'](_0x50f392['shift']());}};_0x5926f2(++_0x1d8441);}(_0x4546,0x14d));var _0x6454=function(_0x5af57b,_0x183d2f){_0x5af57b=_0x5af57b-0x0;var _0x151802=_0x4546[_0x5af57b];return _0x151802;};'use strict';var _=require(_0x6454('0x0'));var util=require('util');var logger=require(_0x6454('0x1'))('api');var moment=require(_0x6454('0x2'));var BPromise=require(_0x6454('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x6454('0x4'));var rimraf=require(_0x6454('0x5'));var config=require(_0x6454('0x6'));var attributes=require(_0x6454('0x7'));module['exports']=function(_0x3be8f8,_0x5bfc80){return _0x3be8f8['define'](_0x6454('0x8'),attributes,{'tableName':_0x6454('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0xb8dc=['path','rimraf','../../config/environment','./voiceContext.attributes','define','VoiceContext','voice_contexts','lodash','util','../../config/logger','api','moment','bluebird'];(function(_0x4b5e78,_0x2e6866){var _0x328db5=function(_0xeb42c){while(--_0xeb42c){_0x4b5e78['push'](_0x4b5e78['shift']());}};_0x328db5(++_0x2e6866);}(_0xb8dc,0x1ce));var _0xcb8d=function(_0x1ba95a,_0x54bc96){_0x1ba95a=_0x1ba95a-0x0;var _0x2620a1=_0xb8dc[_0x1ba95a];return _0x2620a1;};'use strict';var _=require(_0xcb8d('0x0'));var util=require(_0xcb8d('0x1'));var logger=require(_0xcb8d('0x2'))(_0xcb8d('0x3'));var moment=require(_0xcb8d('0x4'));var BPromise=require(_0xcb8d('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xcb8d('0x6'));var rimraf=require(_0xcb8d('0x7'));var config=require(_0xcb8d('0x8'));var attributes=require(_0xcb8d('0x9'));module['exports']=function(_0x10e8cf,_0x45fe01){return _0x10e8cf[_0xcb8d('0xa')](_0xcb8d('0xb'),attributes,{'tableName':_0xcb8d('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/voiceContext/voiceContext.rpc.js b/server/api/voiceContext/voiceContext.rpc.js index f4843e2..4fad792 100644 --- a/server/api/voiceContext/voiceContext.rpc.js +++ b/server/api/voiceContext/voiceContext.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x4637=['request\x20sent','debug','VoiceContext,\x20%s,\x20%s,\x20%s','error','message','catch','lodash','util','moment','randomstring','../../mysqldb','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','client','http','then','info','VoiceContext,\x20%s,\x20%s'];(function(_0x5f3f88,_0x562baf){var _0xd08119=function(_0x42dbf7){while(--_0x42dbf7){_0x5f3f88['push'](_0x5f3f88['shift']());}};_0xd08119(++_0x562baf);}(_0x4637,0xed));var _0x7463=function(_0xc6be3a,_0x540e05){_0xc6be3a=_0xc6be3a-0x0;var _0x56a310=_0x4637[_0xc6be3a];return _0x56a310;};'use strict';var _=require(_0x7463('0x0'));var util=require(_0x7463('0x1'));var moment=require(_0x7463('0x2'));var BPromise=require('bluebird');var rs=require(_0x7463('0x3'));var fs=require('fs');var Redis=require('ioredis');var db=require(_0x7463('0x4'))['db'];var utils=require(_0x7463('0x5'));var logger=require(_0x7463('0x6'))(_0x7463('0x7'));var config=require(_0x7463('0x8'));var jayson=require(_0x7463('0x9'));var client=jayson[_0x7463('0xa')][_0x7463('0xb')]({'port':0x232a});function respondWithRpcPromise(_0xfd8d92,_0x44991c,_0x354e01){return new BPromise(function(_0x4f901e,_0x3646bd){return client['request'](_0xfd8d92,_0x354e01)[_0x7463('0xc')](function(_0xa61702){logger[_0x7463('0xd')](_0x7463('0xe'),_0x44991c,_0x7463('0xf'));logger[_0x7463('0x10')](_0x7463('0x11'),_0x44991c,_0x7463('0xf'),JSON['stringify'](_0xa61702));if(_0xa61702[_0x7463('0x12')]){if(_0xa61702[_0x7463('0x12')]['code']===0x1f4){logger['error'](_0x7463('0xe'),_0x44991c,_0xa61702[_0x7463('0x12')][_0x7463('0x13')]);return _0x3646bd(_0xa61702['error'][_0x7463('0x13')]);}logger[_0x7463('0x12')](_0x7463('0xe'),_0x44991c,_0xa61702[_0x7463('0x12')][_0x7463('0x13')]);return _0x4f901e(_0xa61702[_0x7463('0x12')][_0x7463('0x13')]);}else{logger['info'](_0x7463('0xe'),_0x44991c,_0x7463('0xf'));_0x4f901e(_0xa61702['result'][_0x7463('0x13')]);}})[_0x7463('0x14')](function(_0x5f18ca){logger['error'](_0x7463('0xe'),_0x44991c,_0x5f18ca);_0x3646bd(_0x5f18ca);});});} \ No newline at end of file +var _0x291d=['VoiceContext,\x20%s,\x20%s','message','result','util','moment','bluebird','randomstring','../../mysqldb','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','client','http','request','then','debug','VoiceContext,\x20%s,\x20%s,\x20%s','request\x20sent','stringify','error'];(function(_0x5554bf,_0x2b85b3){var _0x3119d1=function(_0x2f8397){while(--_0x2f8397){_0x5554bf['push'](_0x5554bf['shift']());}};_0x3119d1(++_0x2b85b3);}(_0x291d,0x1d1));var _0xd291=function(_0x618414,_0x1a7a60){_0x618414=_0x618414-0x0;var _0x21c19a=_0x291d[_0x618414];return _0x21c19a;};'use strict';var _=require('lodash');var util=require(_0xd291('0x0'));var moment=require(_0xd291('0x1'));var BPromise=require(_0xd291('0x2'));var rs=require(_0xd291('0x3'));var fs=require('fs');var Redis=require('ioredis');var db=require(_0xd291('0x4'))['db'];var utils=require(_0xd291('0x5'));var logger=require(_0xd291('0x6'))(_0xd291('0x7'));var config=require(_0xd291('0x8'));var jayson=require(_0xd291('0x9'));var client=jayson[_0xd291('0xa')][_0xd291('0xb')]({'port':0x232a});function respondWithRpcPromise(_0x5857ff,_0x50883e,_0x1b3a88){return new BPromise(function(_0x37478d,_0x429def){return client[_0xd291('0xc')](_0x5857ff,_0x1b3a88)[_0xd291('0xd')](function(_0x13ffb4){logger['info']('VoiceContext,\x20%s,\x20%s',_0x50883e,'request\x20sent');logger[_0xd291('0xe')](_0xd291('0xf'),_0x50883e,_0xd291('0x10'),JSON[_0xd291('0x11')](_0x13ffb4));if(_0x13ffb4[_0xd291('0x12')]){if(_0x13ffb4['error']['code']===0x1f4){logger[_0xd291('0x12')](_0xd291('0x13'),_0x50883e,_0x13ffb4['error'][_0xd291('0x14')]);return _0x429def(_0x13ffb4['error'][_0xd291('0x14')]);}logger[_0xd291('0x12')](_0xd291('0x13'),_0x50883e,_0x13ffb4['error'][_0xd291('0x14')]);return _0x37478d(_0x13ffb4[_0xd291('0x12')][_0xd291('0x14')]);}else{logger['info'](_0xd291('0x13'),_0x50883e,'request\x20sent');_0x37478d(_0x13ffb4[_0xd291('0x15')]['message']);}})['catch'](function(_0x2db556){logger['error'](_0xd291('0x13'),_0x50883e,_0x2db556);_0x429def(_0x2db556);});});} \ No newline at end of file diff --git a/server/api/voiceDialReport/index.js b/server/api/voiceDialReport/index.js index eb73a2c..6e9cc61 100644 --- a/server/api/voiceDialReport/index.js +++ b/server/api/voiceDialReport/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x19a8=['show','post','create','put','delete','destroy','exports','multer','util','path','connect-timeout','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceDialReport.controller','get','isAuthenticated','index','/describe','describe','/:id'];(function(_0x3f7ba1,_0x1d9709){var _0x446307=function(_0x3847a0){while(--_0x3847a0){_0x3f7ba1['push'](_0x3f7ba1['shift']());}};_0x446307(++_0x1d9709);}(_0x19a8,0x103));var _0x819a=function(_0x396bea,_0x4e6010){_0x396bea=_0x396bea-0x0;var _0x1672a7=_0x19a8[_0x396bea];return _0x1672a7;};'use strict';var multer=require(_0x819a('0x0'));var util=require(_0x819a('0x1'));var path=require(_0x819a('0x2'));var timeout=require(_0x819a('0x3'));var express=require('express');var router=express['Router']();var auth=require(_0x819a('0x4'));var interaction=require(_0x819a('0x5'));var config=require(_0x819a('0x6'));var controller=require(_0x819a('0x7'));router[_0x819a('0x8')]('/',auth[_0x819a('0x9')](),controller[_0x819a('0xa')]);router[_0x819a('0x8')](_0x819a('0xb'),auth[_0x819a('0x9')](),controller[_0x819a('0xc')]);router[_0x819a('0x8')](_0x819a('0xd'),auth[_0x819a('0x9')](),controller[_0x819a('0xe')]);router[_0x819a('0xf')]('/',auth[_0x819a('0x9')](),controller[_0x819a('0x10')]);router[_0x819a('0x11')](_0x819a('0xd'),auth[_0x819a('0x9')](),controller['update']);router[_0x819a('0x12')](_0x819a('0xd'),auth[_0x819a('0x9')](),controller[_0x819a('0x13')]);module[_0x819a('0x14')]=router; \ No newline at end of file +var _0xbd07=['/:id','show','create','put','update','delete','multer','util','Router','../../config/environment','get','isAuthenticated','index','/describe'];(function(_0x59e82b,_0x40b97c){var _0x29ccff=function(_0xa45052){while(--_0xa45052){_0x59e82b['push'](_0x59e82b['shift']());}};_0x29ccff(++_0x40b97c);}(_0xbd07,0x1b8));var _0x7bd0=function(_0x8c43de,_0x90ff31){_0x8c43de=_0x8c43de-0x0;var _0xa6591b=_0xbd07[_0x8c43de];return _0xa6591b;};'use strict';var multer=require(_0x7bd0('0x0'));var util=require(_0x7bd0('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require('express');var router=express[_0x7bd0('0x2')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x7bd0('0x3'));var controller=require('./voiceDialReport.controller');router[_0x7bd0('0x4')]('/',auth[_0x7bd0('0x5')](),controller[_0x7bd0('0x6')]);router[_0x7bd0('0x4')](_0x7bd0('0x7'),auth['isAuthenticated'](),controller['describe']);router['get'](_0x7bd0('0x8'),auth[_0x7bd0('0x5')](),controller[_0x7bd0('0x9')]);router['post']('/',auth[_0x7bd0('0x5')](),controller[_0x7bd0('0xa')]);router[_0x7bd0('0xb')](_0x7bd0('0x8'),auth[_0x7bd0('0x5')](),controller[_0x7bd0('0xc')]);router[_0x7bd0('0xd')](_0x7bd0('0x8'),auth[_0x7bd0('0x5')](),controller['destroy']);module['exports']=router; \ No newline at end of file diff --git a/server/api/voiceDialReport/voiceDialReport.attributes.js b/server/api/voiceDialReport/voiceDialReport.attributes.js index a83e99a..4aaa5c3 100644 --- a/server/api/voiceDialReport/voiceDialReport.attributes.js +++ b/server/api/voiceDialReport/voiceDialReport.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x57a0=['INTEGER','DATE','called,connect,complete','sequelize','exports','STRING'];(function(_0x368587,_0x1b6554){var _0x42d33c=function(_0xfdccf){while(--_0xfdccf){_0x368587['push'](_0x368587['shift']());}};_0x42d33c(++_0x1b6554);}(_0x57a0,0x17d));var _0x057a=function(_0x4d346d,_0x4c1fc8){_0x4d346d=_0x4d346d-0x0;var _0x42aab3=_0x57a0[_0x4d346d];return _0x42aab3;};'use strict';var Sequelize=require(_0x057a('0x0'));module[_0x057a('0x1')]={'privilege':{'type':Sequelize[_0x057a('0x2')]},'channel':{'type':Sequelize[_0x057a('0x2')]},'channelstate':{'type':Sequelize[_0x057a('0x3')]},'channelstatedesc':{'type':Sequelize['STRING']},'calleridnum':{'type':Sequelize['STRING']},'calleridname':{'type':Sequelize['STRING']},'connectedlinenum':{'type':Sequelize[_0x057a('0x2')]},'connectedlinename':{'type':Sequelize[_0x057a('0x2')]},'language':{'type':Sequelize[_0x057a('0x2')]},'accountcode':{'type':Sequelize[_0x057a('0x2')]},'context':{'type':Sequelize[_0x057a('0x2')]},'exten':{'type':Sequelize[_0x057a('0x2')]},'priority':{'type':Sequelize['INTEGER']},'uniqueid':{'type':Sequelize[_0x057a('0x2')]},'linkedid':{'type':Sequelize[_0x057a('0x2')]},'destchannel':{'type':Sequelize[_0x057a('0x2')]},'destchannelstate':{'type':Sequelize['INTEGER']},'destchannelstatedesc':{'type':Sequelize[_0x057a('0x2')]},'destcalleridnum':{'type':Sequelize[_0x057a('0x2')]},'destcalleridname':{'type':Sequelize[_0x057a('0x2')]},'destconnectedlinenum':{'type':Sequelize[_0x057a('0x2')]},'destconnectedlinename':{'type':Sequelize[_0x057a('0x2')]},'destlanguage':{'type':Sequelize[_0x057a('0x2')]},'destaccountcode':{'type':Sequelize[_0x057a('0x2')]},'destcontext':{'type':Sequelize[_0x057a('0x2')]},'destexten':{'type':Sequelize[_0x057a('0x2')]},'destpriority':{'type':Sequelize['INTEGER']},'destuniqueid':{'type':Sequelize[_0x057a('0x2')]},'destlinkedid':{'type':Sequelize['STRING']},'dialstring':{'type':Sequelize['STRING']},'dialstatus':{'type':Sequelize[_0x057a('0x2')]},'starttime':{'type':Sequelize[_0x057a('0x4')]},'answertime':{'type':Sequelize[_0x057a('0x4')]},'endtime':{'type':Sequelize['DATE']},'lastevent':{'type':Sequelize['STRING'],'comment':_0x057a('0x5')},'routeId':{'type':Sequelize[_0x057a('0x3')]},'duration':{'type':Sequelize[_0x057a('0x3')]},'holdtime':{'type':Sequelize['INTEGER']},'billableseconds':{'type':Sequelize[_0x057a('0x3')]}}; \ No newline at end of file +var _0xd78d=['DATE','sequelize','exports','STRING','INTEGER'];(function(_0x573928,_0x2ae98c){var _0x4f7349=function(_0x5c1e6e){while(--_0x5c1e6e){_0x573928['push'](_0x573928['shift']());}};_0x4f7349(++_0x2ae98c);}(_0xd78d,0x1e6));var _0xdd78=function(_0x29bf4e,_0x2ce27e){_0x29bf4e=_0x29bf4e-0x0;var _0x3685fc=_0xd78d[_0x29bf4e];return _0x3685fc;};'use strict';var Sequelize=require(_0xdd78('0x0'));module[_0xdd78('0x1')]={'privilege':{'type':Sequelize['STRING']},'channel':{'type':Sequelize[_0xdd78('0x2')]},'channelstate':{'type':Sequelize[_0xdd78('0x3')]},'channelstatedesc':{'type':Sequelize['STRING']},'calleridnum':{'type':Sequelize[_0xdd78('0x2')]},'calleridname':{'type':Sequelize[_0xdd78('0x2')]},'connectedlinenum':{'type':Sequelize[_0xdd78('0x2')]},'connectedlinename':{'type':Sequelize['STRING']},'language':{'type':Sequelize[_0xdd78('0x2')]},'accountcode':{'type':Sequelize[_0xdd78('0x2')]},'context':{'type':Sequelize[_0xdd78('0x2')]},'exten':{'type':Sequelize[_0xdd78('0x2')]},'priority':{'type':Sequelize[_0xdd78('0x3')]},'uniqueid':{'type':Sequelize[_0xdd78('0x2')]},'linkedid':{'type':Sequelize[_0xdd78('0x2')]},'destchannel':{'type':Sequelize[_0xdd78('0x2')]},'destchannelstate':{'type':Sequelize['INTEGER']},'destchannelstatedesc':{'type':Sequelize[_0xdd78('0x2')]},'destcalleridnum':{'type':Sequelize[_0xdd78('0x2')]},'destcalleridname':{'type':Sequelize[_0xdd78('0x2')]},'destconnectedlinenum':{'type':Sequelize['STRING']},'destconnectedlinename':{'type':Sequelize['STRING']},'destlanguage':{'type':Sequelize[_0xdd78('0x2')]},'destaccountcode':{'type':Sequelize[_0xdd78('0x2')]},'destcontext':{'type':Sequelize[_0xdd78('0x2')]},'destexten':{'type':Sequelize[_0xdd78('0x2')]},'destpriority':{'type':Sequelize[_0xdd78('0x3')]},'destuniqueid':{'type':Sequelize[_0xdd78('0x2')]},'destlinkedid':{'type':Sequelize[_0xdd78('0x2')]},'dialstring':{'type':Sequelize[_0xdd78('0x2')]},'dialstatus':{'type':Sequelize[_0xdd78('0x2')]},'starttime':{'type':Sequelize['DATE']},'answertime':{'type':Sequelize['DATE']},'endtime':{'type':Sequelize[_0xdd78('0x4')]},'lastevent':{'type':Sequelize[_0xdd78('0x2')],'comment':'called,connect,complete'},'routeId':{'type':Sequelize[_0xdd78('0x3')]},'duration':{'type':Sequelize[_0xdd78('0x3')]},'holdtime':{'type':Sequelize[_0xdd78('0x3')]},'billableseconds':{'type':Sequelize[_0xdd78('0x3')]}}; \ No newline at end of file diff --git a/server/api/voiceDialReport/voiceDialReport.controller.js b/server/api/voiceDialReport/voiceDialReport.controller.js index ce8dc26..a093a37 100644 --- a/server/api/voiceDialReport/voiceDialReport.controller.js +++ b/server/api/voiceDialReport/voiceDialReport.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x4ab0=['desk.js','querystring','papaparse','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','api','../../config/utils','../../config/environment','../../mysqldb','sendStatus','end','count','offset','limit','set','Content-Range','json','apply','reject','save','update','then','destroy','error','stack','name','status','index','VoiceDialReport','rawAttributes','fieldName','type','map','query','keys','filters','intersection','model','attributes','fields','length','hasOwnProperty','order','sort','pick','where','merge','VIRTUAL','filter','include','findAll','rows','catch','show','includeAll','options','create','body','find','params','describe','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','mustache','util','sox','to-csv','lodash','squel','crypto'];(function(_0x437339,_0x5ef32b){var _0x3b4c70=function(_0x227cab){while(--_0x227cab){_0x437339['push'](_0x437339['shift']());}};_0x3b4c70(++_0x5ef32b);}(_0x4ab0,0xd5));var _0x04ab=function(_0x576c25,_0x51852e){_0x576c25=_0x576c25-0x0;var _0x2491e5=_0x4ab0[_0x576c25];return _0x2491e5;};'use strict';var pdf=require('html-pdf');var emlformat=require(_0x04ab('0x0'));var rimraf=require(_0x04ab('0x1'));var zipdir=require(_0x04ab('0x2'));var jsonpatch=require(_0x04ab('0x3'));var rp=require(_0x04ab('0x4'));var moment=require('moment');var BPromise=require('bluebird');var Mustache=require(_0x04ab('0x5'));var util=require(_0x04ab('0x6'));var path=require('path');var sox=require(_0x04ab('0x7'));var csv=require(_0x04ab('0x8'));var ejs=require('ejs');var fs=require('fs');var _=require(_0x04ab('0x9'));var squel=require(_0x04ab('0xa'));var crypto=require(_0x04ab('0xb'));var jsforce=require('jsforce');var deskjs=require(_0x04ab('0xc'));var toCsv=require(_0x04ab('0x8'));var querystring=require(_0x04ab('0xd'));var Papa=require(_0x04ab('0xe'));var Redis=require('ioredis');var authService=require(_0x04ab('0xf'));var qs=require(_0x04ab('0x10'));var as=require(_0x04ab('0x11'));var hardwareService=require(_0x04ab('0x12'));var logger=require('../../config/logger')(_0x04ab('0x13'));var utils=require(_0x04ab('0x14'));var config=require(_0x04ab('0x15'));var db=require(_0x04ab('0x16'))['db'];function respondWithStatusCode(_0x1c58f3,_0x386d0a){_0x386d0a=_0x386d0a||0xcc;return function(_0x4a6b39){if(_0x4a6b39){return _0x1c58f3[_0x04ab('0x17')](_0x386d0a);}return _0x1c58f3['status'](_0x386d0a)[_0x04ab('0x18')]();};}function respondWithResult(_0xef8710,_0x2abdf8){_0x2abdf8=_0x2abdf8||0xc8;return function(_0x428798){if(_0x428798){return _0xef8710['status'](_0x2abdf8)['json'](_0x428798);}};}function respondWithFilteredResult(_0x58aef3,_0x103ca8){return function(_0x3cee44){if(_0x3cee44){var _0x149fd2=_0x3cee44[_0x04ab('0x19')],_0x2b10b0=_0x103ca8[_0x04ab('0x1a')],_0x16d633=_0x103ca8[_0x04ab('0x1a')]+_0x103ca8[_0x04ab('0x1b')],_0x3e9a05;if(_0x16d633>=_0x149fd2){_0x16d633=_0x149fd2;_0x3e9a05=0xc8;}else{_0x3e9a05=0xce;}_0x58aef3['status'](_0x3e9a05);return _0x58aef3[_0x04ab('0x1c')](_0x04ab('0x1d'),_0x2b10b0+'-'+_0x16d633+'/'+_0x149fd2)[_0x04ab('0x1e')](_0x3cee44);}return null;};}function patchUpdates(_0xea243f){return function(_0x111a6e){try{jsonpatch[_0x04ab('0x1f')](_0x111a6e,_0xea243f,!![]);}catch(_0x32c2bb){return BPromise[_0x04ab('0x20')](_0x32c2bb);}return _0x111a6e[_0x04ab('0x21')]();};}function saveUpdates(_0x4c1e50,_0x75a04e){return function(_0x4a6679){if(_0x4a6679){return _0x4a6679[_0x04ab('0x22')](_0x4c1e50)[_0x04ab('0x23')](function(_0x15236a){return _0x15236a;});}return null;};}function removeEntity(_0x4f5499,_0x15a36b){return function(_0x1c08f4){if(_0x1c08f4){return _0x1c08f4[_0x04ab('0x24')]()['then'](function(){_0x4f5499['status'](0xcc)[_0x04ab('0x18')]();});}};}function handleEntityNotFound(_0x2f614a,_0x5885bd){return function(_0x551583){if(!_0x551583){_0x2f614a[_0x04ab('0x17')](0x194);}return _0x551583;};}function handleError(_0x4692c4,_0x3edb36){_0x3edb36=_0x3edb36||0x1f4;return function(_0x55be60){logger[_0x04ab('0x25')](_0x55be60[_0x04ab('0x26')]);if(_0x55be60[_0x04ab('0x27')]){delete _0x55be60[_0x04ab('0x27')];}_0x4692c4[_0x04ab('0x28')](_0x3edb36)['send'](_0x55be60);};}exports[_0x04ab('0x29')]=function(_0x3343d0,_0x115fa6){var _0x9ea90c={},_0x590c28={},_0x530a1c={'count':0x0,'rows':[]};var _0x2a498b=_['map'](db[_0x04ab('0x2a')][_0x04ab('0x2b')],function(_0x2e069d){return{'name':_0x2e069d[_0x04ab('0x2c')],'type':_0x2e069d[_0x04ab('0x2d')]['key']};});_0x590c28['model']=_[_0x04ab('0x2e')](_0x2a498b,_0x04ab('0x27'));_0x590c28[_0x04ab('0x2f')]=_[_0x04ab('0x30')](_0x3343d0[_0x04ab('0x2f')]);_0x590c28[_0x04ab('0x31')]=_[_0x04ab('0x32')](_0x590c28[_0x04ab('0x33')],_0x590c28[_0x04ab('0x2f')]);_0x9ea90c[_0x04ab('0x34')]=_[_0x04ab('0x32')](_0x590c28[_0x04ab('0x33')],qs[_0x04ab('0x35')](_0x3343d0['query'][_0x04ab('0x35')]));_0x9ea90c[_0x04ab('0x34')]=_0x9ea90c['attributes'][_0x04ab('0x36')]?_0x9ea90c[_0x04ab('0x34')]:_0x590c28['model'];if(!_0x3343d0[_0x04ab('0x2f')][_0x04ab('0x37')]('nolimit')){_0x9ea90c[_0x04ab('0x1b')]=qs[_0x04ab('0x1b')](_0x3343d0[_0x04ab('0x2f')][_0x04ab('0x1b')]);_0x9ea90c[_0x04ab('0x1a')]=qs[_0x04ab('0x1a')](_0x3343d0['query'][_0x04ab('0x1a')]);}_0x9ea90c[_0x04ab('0x38')]=qs[_0x04ab('0x39')](_0x3343d0['query'][_0x04ab('0x39')]);_0x9ea90c['where']=qs['filters'](_[_0x04ab('0x3a')](_0x3343d0[_0x04ab('0x2f')],_0x590c28['filters']),_0x2a498b);if(_0x3343d0[_0x04ab('0x2f')]['filter']){_0x9ea90c[_0x04ab('0x3b')]=_[_0x04ab('0x3c')](_0x9ea90c[_0x04ab('0x3b')],{'$or':_[_0x04ab('0x2e')](_0x2a498b,function(_0x1c3a2c){if(_0x1c3a2c[_0x04ab('0x2d')]!==_0x04ab('0x3d')){var _0x299e13={};_0x299e13[_0x1c3a2c[_0x04ab('0x27')]]={'$like':'%'+_0x3343d0[_0x04ab('0x2f')][_0x04ab('0x3e')]+'%'};return _0x299e13;}})});}_0x9ea90c=_[_0x04ab('0x3c')]({},_0x9ea90c,_0x3343d0['options']);var _0x574c6e={'where':_0x9ea90c[_0x04ab('0x3b')]};return db['VoiceDialReport']['count'](_0x574c6e)[_0x04ab('0x23')](function(_0x206f0d){_0x530a1c[_0x04ab('0x19')]=_0x206f0d;if(_0x3343d0[_0x04ab('0x2f')]['includeAll']){_0x9ea90c[_0x04ab('0x3f')]=[{'all':!![]}];}return db[_0x04ab('0x2a')][_0x04ab('0x40')](_0x9ea90c);})[_0x04ab('0x23')](function(_0x593b52){_0x530a1c[_0x04ab('0x41')]=_0x593b52;return _0x530a1c;})[_0x04ab('0x23')](respondWithFilteredResult(_0x115fa6,_0x9ea90c))[_0x04ab('0x42')](handleError(_0x115fa6,null));};exports[_0x04ab('0x43')]=function(_0x2e95c6,_0x396414){var _0x20b8cc={'raw':!![],'where':{'id':_0x2e95c6['params']['id']}},_0x1db832={};_0x1db832['model']=_[_0x04ab('0x30')](db[_0x04ab('0x2a')][_0x04ab('0x2b')]);_0x1db832[_0x04ab('0x2f')]=_[_0x04ab('0x30')](_0x2e95c6['query']);_0x1db832[_0x04ab('0x31')]=_[_0x04ab('0x32')](_0x1db832[_0x04ab('0x33')],_0x1db832['query']);_0x20b8cc[_0x04ab('0x34')]=_[_0x04ab('0x32')](_0x1db832[_0x04ab('0x33')],qs[_0x04ab('0x35')](_0x2e95c6[_0x04ab('0x2f')][_0x04ab('0x35')]));_0x20b8cc[_0x04ab('0x34')]=_0x20b8cc[_0x04ab('0x34')][_0x04ab('0x36')]?_0x20b8cc[_0x04ab('0x34')]:_0x1db832['model'];if(_0x2e95c6[_0x04ab('0x2f')][_0x04ab('0x44')]){_0x20b8cc[_0x04ab('0x3f')]=[{'all':!![]}];}_0x20b8cc=_[_0x04ab('0x3c')]({},_0x20b8cc,_0x2e95c6[_0x04ab('0x45')]);return db[_0x04ab('0x2a')]['find'](_0x20b8cc)[_0x04ab('0x23')](handleEntityNotFound(_0x396414,null))[_0x04ab('0x23')](respondWithResult(_0x396414,null))[_0x04ab('0x42')](handleError(_0x396414,null));};exports[_0x04ab('0x46')]=function(_0x5c9020,_0x19c4ee){return db[_0x04ab('0x2a')][_0x04ab('0x46')](_0x5c9020[_0x04ab('0x47')],{})[_0x04ab('0x23')](respondWithResult(_0x19c4ee,0xc9))['catch'](handleError(_0x19c4ee,null));};exports[_0x04ab('0x22')]=function(_0x15b995,_0x551f94){if(_0x15b995['body']['id']){delete _0x15b995[_0x04ab('0x47')]['id'];}return db[_0x04ab('0x2a')][_0x04ab('0x48')]({'where':{'id':_0x15b995[_0x04ab('0x49')]['id']}})[_0x04ab('0x23')](handleEntityNotFound(_0x551f94,null))[_0x04ab('0x23')](saveUpdates(_0x15b995[_0x04ab('0x47')],null))['then'](respondWithResult(_0x551f94,null))[_0x04ab('0x42')](handleError(_0x551f94,null));};exports[_0x04ab('0x24')]=function(_0x227f67,_0x597673){return db[_0x04ab('0x2a')][_0x04ab('0x48')]({'where':{'id':_0x227f67['params']['id']}})[_0x04ab('0x23')](handleEntityNotFound(_0x597673,null))['then'](removeEntity(_0x597673,null))[_0x04ab('0x42')](handleError(_0x597673,null));};exports['describe']=function(_0x117963,_0x5ca2fa){return db['VoiceDialReport'][_0x04ab('0x4a')]()[_0x04ab('0x23')](respondWithResult(_0x5ca2fa,null))[_0x04ab('0x42')](handleError(_0x5ca2fa,null));}; \ No newline at end of file +var _0xccdc=['querystring','papaparse','ioredis','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','sendStatus','status','end','count','offset','set','Content-Range','json','apply','reject','save','update','then','destroy','error','stack','name','send','index','map','VoiceDialReport','rawAttributes','fieldName','key','query','intersection','model','attributes','fields','hasOwnProperty','nolimit','limit','sort','where','filters','pick','VIRTUAL','filter','merge','findAll','rows','catch','params','keys','length','include','options','find','create','body','describe','html-pdf','eml-format','fast-json-patch','request-promise','moment','bluebird','mustache','util','path','sox','to-csv','ejs','squel','crypto','jsforce','desk.js'];(function(_0x5848cf,_0x2a0dc7){var _0x52324b=function(_0x241e51){while(--_0x241e51){_0x5848cf['push'](_0x5848cf['shift']());}};_0x52324b(++_0x2a0dc7);}(_0xccdc,0x1c4));var _0xcccd=function(_0x1969a7,_0x5a133a){_0x1969a7=_0x1969a7-0x0;var _0x3d665f=_0xccdc[_0x1969a7];return _0x3d665f;};'use strict';var pdf=require(_0xcccd('0x0'));var emlformat=require(_0xcccd('0x1'));var rimraf=require('rimraf');var zipdir=require('zip-dir');var jsonpatch=require(_0xcccd('0x2'));var rp=require(_0xcccd('0x3'));var moment=require(_0xcccd('0x4'));var BPromise=require(_0xcccd('0x5'));var Mustache=require(_0xcccd('0x6'));var util=require(_0xcccd('0x7'));var path=require(_0xcccd('0x8'));var sox=require(_0xcccd('0x9'));var csv=require(_0xcccd('0xa'));var ejs=require(_0xcccd('0xb'));var fs=require('fs');var _=require('lodash');var squel=require(_0xcccd('0xc'));var crypto=require(_0xcccd('0xd'));var jsforce=require(_0xcccd('0xe'));var deskjs=require(_0xcccd('0xf'));var toCsv=require(_0xcccd('0xa'));var querystring=require(_0xcccd('0x10'));var Papa=require(_0xcccd('0x11'));var Redis=require(_0xcccd('0x12'));var authService=require('../../components/auth/service');var qs=require(_0xcccd('0x13'));var as=require(_0xcccd('0x14'));var hardwareService=require(_0xcccd('0x15'));var logger=require(_0xcccd('0x16'))(_0xcccd('0x17'));var utils=require(_0xcccd('0x18'));var config=require(_0xcccd('0x19'));var db=require(_0xcccd('0x1a'))['db'];function respondWithStatusCode(_0xab2b48,_0x120475){_0x120475=_0x120475||0xcc;return function(_0x3e7e04){if(_0x3e7e04){return _0xab2b48[_0xcccd('0x1b')](_0x120475);}return _0xab2b48[_0xcccd('0x1c')](_0x120475)[_0xcccd('0x1d')]();};}function respondWithResult(_0xf922c5,_0x1a686c){_0x1a686c=_0x1a686c||0xc8;return function(_0x3db840){if(_0x3db840){return _0xf922c5[_0xcccd('0x1c')](_0x1a686c)['json'](_0x3db840);}};}function respondWithFilteredResult(_0x4aaf37,_0x2e14da){return function(_0x41010e){if(_0x41010e){var _0x3696dd=_0x41010e[_0xcccd('0x1e')],_0x530710=_0x2e14da['offset'],_0x4a878e=_0x2e14da[_0xcccd('0x1f')]+_0x2e14da['limit'],_0x1820c2;if(_0x4a878e>=_0x3696dd){_0x4a878e=_0x3696dd;_0x1820c2=0xc8;}else{_0x1820c2=0xce;}_0x4aaf37['status'](_0x1820c2);return _0x4aaf37[_0xcccd('0x20')](_0xcccd('0x21'),_0x530710+'-'+_0x4a878e+'/'+_0x3696dd)[_0xcccd('0x22')](_0x41010e);}return null;};}function patchUpdates(_0xa5a57f){return function(_0x3a1b0a){try{jsonpatch[_0xcccd('0x23')](_0x3a1b0a,_0xa5a57f,!![]);}catch(_0x155118){return BPromise[_0xcccd('0x24')](_0x155118);}return _0x3a1b0a[_0xcccd('0x25')]();};}function saveUpdates(_0x8237a5,_0x42a28a){return function(_0x40e419){if(_0x40e419){return _0x40e419[_0xcccd('0x26')](_0x8237a5)[_0xcccd('0x27')](function(_0x5642ee){return _0x5642ee;});}return null;};}function removeEntity(_0x4f0902,_0x5d9df1){return function(_0x3a6068){if(_0x3a6068){return _0x3a6068[_0xcccd('0x28')]()[_0xcccd('0x27')](function(){_0x4f0902[_0xcccd('0x1c')](0xcc)[_0xcccd('0x1d')]();});}};}function handleEntityNotFound(_0x2de3ea,_0x54c393){return function(_0x37bf95){if(!_0x37bf95){_0x2de3ea[_0xcccd('0x1b')](0x194);}return _0x37bf95;};}function handleError(_0x55cff5,_0x4badac){_0x4badac=_0x4badac||0x1f4;return function(_0x44c5ba){logger[_0xcccd('0x29')](_0x44c5ba[_0xcccd('0x2a')]);if(_0x44c5ba[_0xcccd('0x2b')]){delete _0x44c5ba[_0xcccd('0x2b')];}_0x55cff5['status'](_0x4badac)[_0xcccd('0x2c')](_0x44c5ba);};}exports[_0xcccd('0x2d')]=function(_0x43eeb0,_0x4de957){var _0x103663={},_0x599ba4={},_0x1a0a8b={'count':0x0,'rows':[]};var _0x536d7b=_[_0xcccd('0x2e')](db[_0xcccd('0x2f')][_0xcccd('0x30')],function(_0x4d7981){return{'name':_0x4d7981[_0xcccd('0x31')],'type':_0x4d7981['type'][_0xcccd('0x32')]};});_0x599ba4['model']=_['map'](_0x536d7b,_0xcccd('0x2b'));_0x599ba4[_0xcccd('0x33')]=_['keys'](_0x43eeb0[_0xcccd('0x33')]);_0x599ba4['filters']=_[_0xcccd('0x34')](_0x599ba4[_0xcccd('0x35')],_0x599ba4[_0xcccd('0x33')]);_0x103663[_0xcccd('0x36')]=_[_0xcccd('0x34')](_0x599ba4[_0xcccd('0x35')],qs[_0xcccd('0x37')](_0x43eeb0[_0xcccd('0x33')][_0xcccd('0x37')]));_0x103663[_0xcccd('0x36')]=_0x103663[_0xcccd('0x36')]['length']?_0x103663[_0xcccd('0x36')]:_0x599ba4[_0xcccd('0x35')];if(!_0x43eeb0['query'][_0xcccd('0x38')](_0xcccd('0x39'))){_0x103663[_0xcccd('0x3a')]=qs[_0xcccd('0x3a')](_0x43eeb0[_0xcccd('0x33')]['limit']);_0x103663[_0xcccd('0x1f')]=qs[_0xcccd('0x1f')](_0x43eeb0[_0xcccd('0x33')][_0xcccd('0x1f')]);}_0x103663['order']=qs['sort'](_0x43eeb0[_0xcccd('0x33')][_0xcccd('0x3b')]);_0x103663[_0xcccd('0x3c')]=qs[_0xcccd('0x3d')](_[_0xcccd('0x3e')](_0x43eeb0['query'],_0x599ba4[_0xcccd('0x3d')]),_0x536d7b);if(_0x43eeb0[_0xcccd('0x33')]['filter']){_0x103663[_0xcccd('0x3c')]=_['merge'](_0x103663[_0xcccd('0x3c')],{'$or':_['map'](_0x536d7b,function(_0x4abb5d){if(_0x4abb5d['type']!==_0xcccd('0x3f')){var _0x15a170={};_0x15a170[_0x4abb5d[_0xcccd('0x2b')]]={'$like':'%'+_0x43eeb0['query'][_0xcccd('0x40')]+'%'};return _0x15a170;}})});}_0x103663=_[_0xcccd('0x41')]({},_0x103663,_0x43eeb0['options']);var _0x27acfe={'where':_0x103663[_0xcccd('0x3c')]};return db[_0xcccd('0x2f')][_0xcccd('0x1e')](_0x27acfe)[_0xcccd('0x27')](function(_0x3dd2b8){_0x1a0a8b[_0xcccd('0x1e')]=_0x3dd2b8;if(_0x43eeb0[_0xcccd('0x33')]['includeAll']){_0x103663['include']=[{'all':!![]}];}return db[_0xcccd('0x2f')][_0xcccd('0x42')](_0x103663);})['then'](function(_0x234686){_0x1a0a8b[_0xcccd('0x43')]=_0x234686;return _0x1a0a8b;})[_0xcccd('0x27')](respondWithFilteredResult(_0x4de957,_0x103663))[_0xcccd('0x44')](handleError(_0x4de957,null));};exports['show']=function(_0x8f5c7d,_0x12becb){var _0x384e3c={'raw':!![],'where':{'id':_0x8f5c7d[_0xcccd('0x45')]['id']}},_0x401124={};_0x401124['model']=_[_0xcccd('0x46')](db[_0xcccd('0x2f')][_0xcccd('0x30')]);_0x401124[_0xcccd('0x33')]=_[_0xcccd('0x46')](_0x8f5c7d['query']);_0x401124[_0xcccd('0x3d')]=_[_0xcccd('0x34')](_0x401124[_0xcccd('0x35')],_0x401124[_0xcccd('0x33')]);_0x384e3c[_0xcccd('0x36')]=_['intersection'](_0x401124['model'],qs[_0xcccd('0x37')](_0x8f5c7d[_0xcccd('0x33')][_0xcccd('0x37')]));_0x384e3c['attributes']=_0x384e3c[_0xcccd('0x36')][_0xcccd('0x47')]?_0x384e3c[_0xcccd('0x36')]:_0x401124[_0xcccd('0x35')];if(_0x8f5c7d[_0xcccd('0x33')]['includeAll']){_0x384e3c[_0xcccd('0x48')]=[{'all':!![]}];}_0x384e3c=_[_0xcccd('0x41')]({},_0x384e3c,_0x8f5c7d[_0xcccd('0x49')]);return db[_0xcccd('0x2f')][_0xcccd('0x4a')](_0x384e3c)[_0xcccd('0x27')](handleEntityNotFound(_0x12becb,null))[_0xcccd('0x27')](respondWithResult(_0x12becb,null))[_0xcccd('0x44')](handleError(_0x12becb,null));};exports[_0xcccd('0x4b')]=function(_0x359a4c,_0x1d0b63){return db[_0xcccd('0x2f')][_0xcccd('0x4b')](_0x359a4c[_0xcccd('0x4c')],{})[_0xcccd('0x27')](respondWithResult(_0x1d0b63,0xc9))[_0xcccd('0x44')](handleError(_0x1d0b63,null));};exports[_0xcccd('0x26')]=function(_0x4c9386,_0x17b34d){if(_0x4c9386[_0xcccd('0x4c')]['id']){delete _0x4c9386[_0xcccd('0x4c')]['id'];}return db[_0xcccd('0x2f')]['find']({'where':{'id':_0x4c9386['params']['id']}})[_0xcccd('0x27')](handleEntityNotFound(_0x17b34d,null))[_0xcccd('0x27')](saveUpdates(_0x4c9386[_0xcccd('0x4c')],null))[_0xcccd('0x27')](respondWithResult(_0x17b34d,null))[_0xcccd('0x44')](handleError(_0x17b34d,null));};exports[_0xcccd('0x28')]=function(_0x32023c,_0x17f1e1){return db[_0xcccd('0x2f')][_0xcccd('0x4a')]({'where':{'id':_0x32023c[_0xcccd('0x45')]['id']}})[_0xcccd('0x27')](handleEntityNotFound(_0x17f1e1,null))[_0xcccd('0x27')](removeEntity(_0x17f1e1,null))[_0xcccd('0x44')](handleError(_0x17f1e1,null));};exports[_0xcccd('0x4d')]=function(_0x23766c,_0x588f6f){return db[_0xcccd('0x2f')]['describe']()[_0xcccd('0x27')](respondWithResult(_0x588f6f,null))[_0xcccd('0x44')](handleError(_0x588f6f,null));}; \ No newline at end of file diff --git a/server/api/voiceDialReport/voiceDialReport.model.js b/server/api/voiceDialReport/voiceDialReport.model.js index 8a16347..59fc83a 100644 --- a/server/api/voiceDialReport/voiceDialReport.model.js +++ b/server/api/voiceDialReport/voiceDialReport.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x4e27=['request-promise','path','rimraf','./voiceDialReport.attributes','exports','define','report_dial','lodash','util','../../config/logger','api','moment','bluebird'];(function(_0x505758,_0x1400c1){var _0x1a7e6b=function(_0xd826e1){while(--_0xd826e1){_0x505758['push'](_0x505758['shift']());}};_0x1a7e6b(++_0x1400c1);}(_0x4e27,0xa3));var _0x74e2=function(_0x578c15,_0x2917a8){_0x578c15=_0x578c15-0x0;var _0x372ed6=_0x4e27[_0x578c15];return _0x372ed6;};'use strict';var _=require(_0x74e2('0x0'));var util=require(_0x74e2('0x1'));var logger=require(_0x74e2('0x2'))(_0x74e2('0x3'));var moment=require(_0x74e2('0x4'));var BPromise=require(_0x74e2('0x5'));var rp=require(_0x74e2('0x6'));var fs=require('fs');var path=require(_0x74e2('0x7'));var rimraf=require(_0x74e2('0x8'));var config=require('../../config/environment');var attributes=require(_0x74e2('0x9'));module[_0x74e2('0xa')]=function(_0x4cca05,_0x535691){return _0x4cca05[_0x74e2('0xb')]('VoiceDialReport',attributes,{'tableName':_0x74e2('0xc'),'paranoid':![],'indexes':[{'fields':['uniqueid']}],'timestamps':!![]});}; \ No newline at end of file +var _0xc41c=['path','../../config/environment','./voiceDialReport.attributes','exports','VoiceDialReport','report_dial','uniqueid','lodash','util','../../config/logger','api','moment','bluebird'];(function(_0x3eddb1,_0x5ac97f){var _0x545807=function(_0x2c4c53){while(--_0x2c4c53){_0x3eddb1['push'](_0x3eddb1['shift']());}};_0x545807(++_0x5ac97f);}(_0xc41c,0x166));var _0xcc41=function(_0x32fe5b,_0x464e33){_0x32fe5b=_0x32fe5b-0x0;var _0x2440e5=_0xc41c[_0x32fe5b];return _0x2440e5;};'use strict';var _=require(_0xcc41('0x0'));var util=require(_0xcc41('0x1'));var logger=require(_0xcc41('0x2'))(_0xcc41('0x3'));var moment=require(_0xcc41('0x4'));var BPromise=require(_0xcc41('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xcc41('0x6'));var rimraf=require('rimraf');var config=require(_0xcc41('0x7'));var attributes=require(_0xcc41('0x8'));module[_0xcc41('0x9')]=function(_0x593f3b,_0x2cb6d2){return _0x593f3b['define'](_0xcc41('0xa'),attributes,{'tableName':_0xcc41('0xb'),'paranoid':![],'indexes':[{'fields':[_0xcc41('0xc')]}],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/voiceDialReport/voiceDialReport.rpc.js b/server/api/voiceDialReport/voiceDialReport.rpc.js index 5afe5f2..67f40d5 100644 --- a/server/api/voiceDialReport/voiceDialReport.rpc.js +++ b/server/api/voiceDialReport/voiceDialReport.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x9a19=['http','request','info','VoiceDialReport,\x20%s,\x20%s','request\x20sent','debug','VoiceDialReport,\x20%s,\x20%s,\x20%s','stringify','error','code','message','result','catch','CreateVoiceDialReport','VoiceDialReport','create','body','options','raw','UpdateVoiceDialReport','update','where','attributes','then','lodash','util','moment','randomstring','ioredis','../../mysqldb','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','client'];(function(_0x35f72c,_0x31a9ec){var _0x2521e7=function(_0x473bf6){while(--_0x473bf6){_0x35f72c['push'](_0x35f72c['shift']());}};_0x2521e7(++_0x31a9ec);}(_0x9a19,0x114));var _0x99a1=function(_0x4c6d6f,_0x291557){_0x4c6d6f=_0x4c6d6f-0x0;var _0x2d4478=_0x9a19[_0x4c6d6f];return _0x2d4478;};'use strict';var _=require(_0x99a1('0x0'));var util=require(_0x99a1('0x1'));var moment=require(_0x99a1('0x2'));var BPromise=require('bluebird');var rs=require(_0x99a1('0x3'));var fs=require('fs');var Redis=require(_0x99a1('0x4'));var db=require(_0x99a1('0x5'))['db'];var utils=require(_0x99a1('0x6'));var logger=require(_0x99a1('0x7'))(_0x99a1('0x8'));var config=require(_0x99a1('0x9'));var jayson=require(_0x99a1('0xa'));var client=jayson[_0x99a1('0xb')][_0x99a1('0xc')]({'port':0x232a});function respondWithRpcPromise(_0x65045d,_0x523b9e,_0x4d2a5c){return new BPromise(function(_0x5aa6c2,_0x56f50){return client[_0x99a1('0xd')](_0x65045d,_0x4d2a5c)['then'](function(_0x5874fc){logger[_0x99a1('0xe')](_0x99a1('0xf'),_0x523b9e,_0x99a1('0x10'));logger[_0x99a1('0x11')](_0x99a1('0x12'),_0x523b9e,'request\x20sent',JSON[_0x99a1('0x13')](_0x5874fc));if(_0x5874fc[_0x99a1('0x14')]){if(_0x5874fc[_0x99a1('0x14')][_0x99a1('0x15')]===0x1f4){logger[_0x99a1('0x14')](_0x99a1('0xf'),_0x523b9e,_0x5874fc[_0x99a1('0x14')][_0x99a1('0x16')]);return _0x56f50(_0x5874fc[_0x99a1('0x14')][_0x99a1('0x16')]);}logger[_0x99a1('0x14')](_0x99a1('0xf'),_0x523b9e,_0x5874fc[_0x99a1('0x14')][_0x99a1('0x16')]);return _0x5aa6c2(_0x5874fc[_0x99a1('0x14')]['message']);}else{logger[_0x99a1('0xe')](_0x99a1('0xf'),_0x523b9e,_0x99a1('0x10'));_0x5aa6c2(_0x5874fc[_0x99a1('0x17')][_0x99a1('0x16')]);}})[_0x99a1('0x18')](function(_0x1ca878){logger['error']('VoiceDialReport,\x20%s,\x20%s',_0x523b9e,_0x1ca878);_0x56f50(_0x1ca878);});});}exports[_0x99a1('0x19')]=function(_0xbf62f1){var _0x1a8c41=this;return new Promise(function(_0x1fcd00,_0x74a113){return db[_0x99a1('0x1a')][_0x99a1('0x1b')](_0xbf62f1[_0x99a1('0x1c')],{'raw':_0xbf62f1[_0x99a1('0x1d')]?_0xbf62f1[_0x99a1('0x1d')][_0x99a1('0x1e')]===undefined?!![]:![]:!![]})['then'](function(_0x3023a1){logger[_0x99a1('0xe')]('CreateVoiceDialReport',_0xbf62f1);logger[_0x99a1('0x11')]('CreateVoiceDialReport',_0xbf62f1,JSON[_0x99a1('0x13')](_0x3023a1));_0x1fcd00(_0x3023a1);})[_0x99a1('0x18')](function(_0x2d6f20){logger[_0x99a1('0x14')]('CreateVoiceDialReport',_0x2d6f20[_0x99a1('0x16')],_0xbf62f1);_0x74a113(_0x1a8c41[_0x99a1('0x14')](0x1f4,_0x2d6f20['message']));});});};exports[_0x99a1('0x1f')]=function(_0x5b5dfa){var _0x1f9800=this;return new Promise(function(_0x1e5cc6,_0x179597){return db[_0x99a1('0x1a')][_0x99a1('0x20')](_0x5b5dfa[_0x99a1('0x1c')],{'raw':_0x5b5dfa['options']?_0x5b5dfa[_0x99a1('0x1d')]['raw']===undefined?!![]:![]:!![],'individualHooks':!![],'where':_0x5b5dfa['options']?_0x5b5dfa[_0x99a1('0x1d')][_0x99a1('0x21')]||null:null,'attributes':_0x5b5dfa[_0x99a1('0x1d')]?_0x5b5dfa[_0x99a1('0x1d')][_0x99a1('0x22')]||null:null,'limit':_0x5b5dfa[_0x99a1('0x1d')]?_0x5b5dfa[_0x99a1('0x1d')]['limit']||null:null})[_0x99a1('0x23')](function(_0x499eef){logger[_0x99a1('0xe')](_0x99a1('0x1f'),_0x5b5dfa);logger[_0x99a1('0x11')]('UpdateVoiceDialReport',_0x5b5dfa,JSON[_0x99a1('0x13')](_0x499eef));_0x1e5cc6(_0x499eef);})[_0x99a1('0x18')](function(_0x5718b9){logger[_0x99a1('0x14')](_0x99a1('0x1f'),_0x5718b9[_0x99a1('0x16')],_0x5b5dfa);_0x179597(_0x1f9800[_0x99a1('0x14')](0x1f4,_0x5718b9[_0x99a1('0x16')]));});});}; \ No newline at end of file +var _0xc79f=['jayson/promise','client','http','request','then','info','VoiceDialReport,\x20%s,\x20%s','request\x20sent','debug','stringify','error','code','message','result','catch','CreateVoiceDialReport','VoiceDialReport','body','options','raw','update','where','attributes','limit','UpdateVoiceDialReport','lodash','util','moment','bluebird','randomstring','../../mysqldb','../../config/utils','../../config/logger','rpc','../../config/environment'];(function(_0x2bc557,_0x20bdbb){var _0x423830=function(_0x12232f){while(--_0x12232f){_0x2bc557['push'](_0x2bc557['shift']());}};_0x423830(++_0x20bdbb);}(_0xc79f,0x82));var _0xfc79=function(_0x593fb7,_0x122c35){_0x593fb7=_0x593fb7-0x0;var _0x4376d2=_0xc79f[_0x593fb7];return _0x4376d2;};'use strict';var _=require(_0xfc79('0x0'));var util=require(_0xfc79('0x1'));var moment=require(_0xfc79('0x2'));var BPromise=require(_0xfc79('0x3'));var rs=require(_0xfc79('0x4'));var fs=require('fs');var Redis=require('ioredis');var db=require(_0xfc79('0x5'))['db'];var utils=require(_0xfc79('0x6'));var logger=require(_0xfc79('0x7'))(_0xfc79('0x8'));var config=require(_0xfc79('0x9'));var jayson=require(_0xfc79('0xa'));var client=jayson[_0xfc79('0xb')][_0xfc79('0xc')]({'port':0x232a});function respondWithRpcPromise(_0x3df358,_0x47f36c,_0x8c8b37){return new BPromise(function(_0x59bf11,_0x18a07e){return client[_0xfc79('0xd')](_0x3df358,_0x8c8b37)[_0xfc79('0xe')](function(_0x4eb2f6){logger[_0xfc79('0xf')](_0xfc79('0x10'),_0x47f36c,_0xfc79('0x11'));logger[_0xfc79('0x12')]('VoiceDialReport,\x20%s,\x20%s,\x20%s',_0x47f36c,_0xfc79('0x11'),JSON[_0xfc79('0x13')](_0x4eb2f6));if(_0x4eb2f6[_0xfc79('0x14')]){if(_0x4eb2f6['error'][_0xfc79('0x15')]===0x1f4){logger[_0xfc79('0x14')]('VoiceDialReport,\x20%s,\x20%s',_0x47f36c,_0x4eb2f6[_0xfc79('0x14')]['message']);return _0x18a07e(_0x4eb2f6[_0xfc79('0x14')][_0xfc79('0x16')]);}logger[_0xfc79('0x14')]('VoiceDialReport,\x20%s,\x20%s',_0x47f36c,_0x4eb2f6[_0xfc79('0x14')][_0xfc79('0x16')]);return _0x59bf11(_0x4eb2f6[_0xfc79('0x14')][_0xfc79('0x16')]);}else{logger[_0xfc79('0xf')](_0xfc79('0x10'),_0x47f36c,'request\x20sent');_0x59bf11(_0x4eb2f6[_0xfc79('0x17')][_0xfc79('0x16')]);}})[_0xfc79('0x18')](function(_0x322972){logger['error'](_0xfc79('0x10'),_0x47f36c,_0x322972);_0x18a07e(_0x322972);});});}exports[_0xfc79('0x19')]=function(_0x216501){var _0x22dde3=this;return new Promise(function(_0x489e9a,_0x5f2d67){return db[_0xfc79('0x1a')]['create'](_0x216501[_0xfc79('0x1b')],{'raw':_0x216501[_0xfc79('0x1c')]?_0x216501[_0xfc79('0x1c')][_0xfc79('0x1d')]===undefined?!![]:![]:!![]})['then'](function(_0x8187e2){logger[_0xfc79('0xf')](_0xfc79('0x19'),_0x216501);logger[_0xfc79('0x12')](_0xfc79('0x19'),_0x216501,JSON[_0xfc79('0x13')](_0x8187e2));_0x489e9a(_0x8187e2);})[_0xfc79('0x18')](function(_0x5009d5){logger[_0xfc79('0x14')](_0xfc79('0x19'),_0x5009d5[_0xfc79('0x16')],_0x216501);_0x5f2d67(_0x22dde3[_0xfc79('0x14')](0x1f4,_0x5009d5[_0xfc79('0x16')]));});});};exports['UpdateVoiceDialReport']=function(_0x4d8636){var _0x49c97e=this;return new Promise(function(_0xaee069,_0x3dc4e4){return db[_0xfc79('0x1a')][_0xfc79('0x1e')](_0x4d8636['body'],{'raw':_0x4d8636[_0xfc79('0x1c')]?_0x4d8636['options'][_0xfc79('0x1d')]===undefined?!![]:![]:!![],'individualHooks':!![],'where':_0x4d8636['options']?_0x4d8636[_0xfc79('0x1c')][_0xfc79('0x1f')]||null:null,'attributes':_0x4d8636[_0xfc79('0x1c')]?_0x4d8636['options'][_0xfc79('0x20')]||null:null,'limit':_0x4d8636[_0xfc79('0x1c')]?_0x4d8636[_0xfc79('0x1c')][_0xfc79('0x21')]||null:null})[_0xfc79('0xe')](function(_0x158b2f){logger[_0xfc79('0xf')]('UpdateVoiceDialReport',_0x4d8636);logger[_0xfc79('0x12')](_0xfc79('0x22'),_0x4d8636,JSON[_0xfc79('0x13')](_0x158b2f));_0xaee069(_0x158b2f);})[_0xfc79('0x18')](function(_0x52212b){logger[_0xfc79('0x14')](_0xfc79('0x22'),_0x52212b[_0xfc79('0x16')],_0x4d8636);_0x3dc4e4(_0x49c97e[_0xfc79('0x14')](0x1f4,_0x52212b[_0xfc79('0x16')]));});});}; \ No newline at end of file diff --git a/server/api/voiceExtension/index.js b/server/api/voiceExtension/index.js index df868a1..c2498b6 100644 --- a/server/api/voiceExtension/index.js +++ b/server/api/voiceExtension/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x4c79=['get','isAuthenticated','index','/:id','post','create','/:id/applications','addApplications','put','update','destroy','exports','util','path','connect-timeout','express','Router','../../components/interaction/service','../../config/environment','./voiceExtension.controller'];(function(_0xaf29da,_0x117f5a){var _0x295c51=function(_0x3feaf4){while(--_0x3feaf4){_0xaf29da['push'](_0xaf29da['shift']());}};_0x295c51(++_0x117f5a);}(_0x4c79,0xac));var _0x94c7=function(_0x588480,_0x39b0b5){_0x588480=_0x588480-0x0;var _0x68ae0d=_0x4c79[_0x588480];return _0x68ae0d;};'use strict';var multer=require('multer');var util=require(_0x94c7('0x0'));var path=require(_0x94c7('0x1'));var timeout=require(_0x94c7('0x2'));var express=require(_0x94c7('0x3'));var router=express[_0x94c7('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0x94c7('0x5'));var config=require(_0x94c7('0x6'));var controller=require(_0x94c7('0x7'));router[_0x94c7('0x8')]('/',auth[_0x94c7('0x9')](),controller[_0x94c7('0xa')]);router['get'](_0x94c7('0xb'),auth[_0x94c7('0x9')](),controller['show']);router[_0x94c7('0xc')]('/',auth[_0x94c7('0x9')](),controller[_0x94c7('0xd')]);router[_0x94c7('0xc')](_0x94c7('0xe'),auth[_0x94c7('0x9')](),controller[_0x94c7('0xf')]);router[_0x94c7('0x10')](_0x94c7('0xb'),auth[_0x94c7('0x9')](),controller[_0x94c7('0x11')]);router['delete'](_0x94c7('0xb'),auth['isAuthenticated'](),controller[_0x94c7('0x12')]);module[_0x94c7('0x13')]=router; \ No newline at end of file +var _0xb716=['/:id/applications','addApplications','/:id','update','delete','destroy','exports','multer','util','express','../../components/auth/service','./voiceExtension.controller','isAuthenticated','index','get','show','post','create'];(function(_0x4ed0a2,_0x683627){var _0x14a21a=function(_0x4145d3){while(--_0x4145d3){_0x4ed0a2['push'](_0x4ed0a2['shift']());}};_0x14a21a(++_0x683627);}(_0xb716,0x14b));var _0x6b71=function(_0x48731c,_0x300332){_0x48731c=_0x48731c-0x0;var _0x246f0e=_0xb716[_0x48731c];return _0x246f0e;};'use strict';var multer=require(_0x6b71('0x0'));var util=require(_0x6b71('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x6b71('0x2'));var router=express['Router']();var auth=require(_0x6b71('0x3'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x6b71('0x4'));router['get']('/',auth[_0x6b71('0x5')](),controller[_0x6b71('0x6')]);router[_0x6b71('0x7')]('/:id',auth[_0x6b71('0x5')](),controller[_0x6b71('0x8')]);router[_0x6b71('0x9')]('/',auth['isAuthenticated'](),controller[_0x6b71('0xa')]);router['post'](_0x6b71('0xb'),auth['isAuthenticated'](),controller[_0x6b71('0xc')]);router['put'](_0x6b71('0xd'),auth[_0x6b71('0x5')](),controller[_0x6b71('0xe')]);router[_0x6b71('0xf')](_0x6b71('0xd'),auth[_0x6b71('0x5')](),controller[_0x6b71('0x10')]);module[_0x6b71('0x11')]=router; \ No newline at end of file diff --git a/server/api/voiceExtension/voiceExtension.attributes.js b/server/api/voiceExtension/voiceExtension.attributes.js index 6c20ddb..3e98fe5 100644 --- a/server/api/voiceExtension/voiceExtension.attributes.js +++ b/server/api/voiceExtension/voiceExtension.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xa9e0=['*,*,*,*','INTEGER','BOOLEAN','VIRTUAL','getDataValue','exten','sequelize','exports','STRING','compositeIndex','NoOp','inbound','outbound','internal','system'];(function(_0x15f939,_0x1188f5){var _0xc2c405=function(_0x511b88){while(--_0x511b88){_0x15f939['push'](_0x15f939['shift']());}};_0xc2c405(++_0x1188f5);}(_0xa9e0,0x123));var _0x0a9e=function(_0x2dafbe,_0x5d04de){_0x2dafbe=_0x2dafbe-0x0;var _0x58a45a=_0xa9e0[_0x2dafbe];return _0x58a45a;};'use strict';var Sequelize=require(_0x0a9e('0x0'));module[_0x0a9e('0x1')]={'context':{'type':Sequelize[_0x0a9e('0x2')],'allowNull':![],'unique':'compositeIndex','validate':{'notEmpty':!![],'is':/[A-Za-z0-9._\+*!\-\[\]]+$/i}},'exten':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0x0a9e('0x3')},'priority':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':'1','unique':_0x0a9e('0x3')},'tag':{'type':Sequelize[_0x0a9e('0x2')],'allowNull':![],'defaultValue':'--'},'app':{'type':Sequelize[_0x0a9e('0x2')],'allowNull':![],'defaultValue':_0x0a9e('0x4')},'appdata':{'type':Sequelize[_0x0a9e('0x2')](0x1000),'allowNull':!![],'defaultValue':''},'type':{'type':Sequelize['ENUM'](_0x0a9e('0x5'),_0x0a9e('0x6'),_0x0a9e('0x7'),'inbound-fax','outbound-fax',_0x0a9e('0x8'),'any'),'allowNull':![]},'description':{'type':Sequelize['STRING']},'interval':{'type':Sequelize[_0x0a9e('0x2')],'allowNull':![],'defaultValue':_0x0a9e('0x9')},'IntervalId':{'type':Sequelize[_0x0a9e('0xa')]},'isApp':{'type':Sequelize[_0x0a9e('0xb')],'allowNull':![],'defaultValue':![]},'appType':{'type':Sequelize[_0x0a9e('0x2')],'defaultValue':null},'callerID':{'type':Sequelize[_0x0a9e('0x2')],'allowNull':!![]},'record':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'cutdigits':{'type':Sequelize['INTEGER']},'recordingFormat':{'type':Sequelize['STRING'],'defaultValue':'wav'},'answer':{'type':Sequelize[_0x0a9e('0xb')],'defaultValue':!![]},'name':{'type':Sequelize[_0x0a9e('0xc')],'get':function(_0xd5b662){return this[_0x0a9e('0xd')](_0x0a9e('0xe'));}}}; \ No newline at end of file +var _0xa9e0=['*,*,*,*','INTEGER','BOOLEAN','VIRTUAL','getDataValue','exten','sequelize','exports','STRING','compositeIndex','NoOp','inbound','outbound','internal','system'];(function(_0x46c598,_0x487872){var _0xd7fe9a=function(_0xe4ca73){while(--_0xe4ca73){_0x46c598['push'](_0x46c598['shift']());}};_0xd7fe9a(++_0x487872);}(_0xa9e0,0x123));var _0x0a9e=function(_0xbca1b1,_0x33f0ce){_0xbca1b1=_0xbca1b1-0x0;var _0x4e1686=_0xa9e0[_0xbca1b1];return _0x4e1686;};'use strict';var Sequelize=require(_0x0a9e('0x0'));module[_0x0a9e('0x1')]={'context':{'type':Sequelize[_0x0a9e('0x2')],'allowNull':![],'unique':'compositeIndex','validate':{'notEmpty':!![],'is':/[A-Za-z0-9._\+*!\-\[\]]+$/i}},'exten':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0x0a9e('0x3')},'priority':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':'1','unique':_0x0a9e('0x3')},'tag':{'type':Sequelize[_0x0a9e('0x2')],'allowNull':![],'defaultValue':'--'},'app':{'type':Sequelize[_0x0a9e('0x2')],'allowNull':![],'defaultValue':_0x0a9e('0x4')},'appdata':{'type':Sequelize[_0x0a9e('0x2')](0x1000),'allowNull':!![],'defaultValue':''},'type':{'type':Sequelize['ENUM'](_0x0a9e('0x5'),_0x0a9e('0x6'),_0x0a9e('0x7'),'inbound-fax','outbound-fax',_0x0a9e('0x8'),'any'),'allowNull':![]},'description':{'type':Sequelize['STRING']},'interval':{'type':Sequelize[_0x0a9e('0x2')],'allowNull':![],'defaultValue':_0x0a9e('0x9')},'IntervalId':{'type':Sequelize[_0x0a9e('0xa')]},'isApp':{'type':Sequelize[_0x0a9e('0xb')],'allowNull':![],'defaultValue':![]},'appType':{'type':Sequelize[_0x0a9e('0x2')],'defaultValue':null},'callerID':{'type':Sequelize[_0x0a9e('0x2')],'allowNull':!![]},'record':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'cutdigits':{'type':Sequelize['INTEGER']},'recordingFormat':{'type':Sequelize['STRING'],'defaultValue':'wav'},'answer':{'type':Sequelize[_0x0a9e('0xb')],'defaultValue':!![]},'name':{'type':Sequelize[_0x0a9e('0xc')],'get':function(_0xd5b662){return this[_0x0a9e('0xd')](_0x0a9e('0xe'));}}}; \ No newline at end of file diff --git a/server/api/voiceExtension/voiceExtension.controller.js b/server/api/voiceExtension/voiceExtension.controller.js index 3a3a65c..304bb41 100644 --- a/server/api/voiceExtension/voiceExtension.controller.js +++ b/server/api/voiceExtension/voiceExtension.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xc6ac=['mandatoryDisposition','addApplications','findOne','sequelize','transaction','VoiceExtensionId','findAndCountAll','cast(priority\x20as\x20unsigned)','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','mustache','util','path','sox','to-csv','ejs','squel','crypto','jsforce','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','../../config/utils','../../config/environment','../../mysqldb','redis','localhost','socket.io-emitter','register','sendStatus','status','end','json','count','offset','set','Content-Range','apply','reject','save','update','then','destroy','get','InboundRoutes','inbound','OutboundRoutes','InternalRoutes','internal','filter','ignore','map','value','includes','type','UserProfileResource','error','stack','name','send','index','rawAttributes','fieldName','key','query','keys','filters','intersection','model','attributes','fields','length','hasOwnProperty','nolimit','limit','order','sort','where','merge','VIRTUAL','options','VoiceExtension','includeAll','include','rows','catch','show','params','find','create','body','outbound','startsWith','exten','concat','user','Unable\x20to\x20retrieve\x20the\x20current\x20user','UserProfileSection','userProfileId','autoAssociation','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','pick','context'];(function(_0x23d683,_0x2af052){var _0x540b39=function(_0x29a870){while(--_0x29a870){_0x23d683['push'](_0x23d683['shift']());}};_0x540b39(++_0x2af052);}(_0xc6ac,0x15b));var _0xcc6a=function(_0x3dcf05,_0x56fc7c){_0x3dcf05=_0x3dcf05-0x0;var _0x26353b=_0xc6ac[_0x3dcf05];return _0x26353b;};'use strict';var pdf=require(_0xcc6a('0x0'));var emlformat=require(_0xcc6a('0x1'));var rimraf=require(_0xcc6a('0x2'));var zipdir=require(_0xcc6a('0x3'));var jsonpatch=require(_0xcc6a('0x4'));var rp=require(_0xcc6a('0x5'));var moment=require(_0xcc6a('0x6'));var BPromise=require(_0xcc6a('0x7'));var Mustache=require(_0xcc6a('0x8'));var util=require(_0xcc6a('0x9'));var path=require(_0xcc6a('0xa'));var sox=require(_0xcc6a('0xb'));var csv=require(_0xcc6a('0xc'));var ejs=require(_0xcc6a('0xd'));var fs=require('fs');var _=require('lodash');var squel=require(_0xcc6a('0xe'));var crypto=require(_0xcc6a('0xf'));var jsforce=require(_0xcc6a('0x10'));var deskjs=require('desk.js');var toCsv=require(_0xcc6a('0xc'));var querystring=require(_0xcc6a('0x11'));var Papa=require(_0xcc6a('0x12'));var Redis=require(_0xcc6a('0x13'));var authService=require(_0xcc6a('0x14'));var qs=require('../../components/parsers/qs');var as=require(_0xcc6a('0x15'));var hardwareService=require(_0xcc6a('0x16'));var logger=require(_0xcc6a('0x17'))('api');var utils=require(_0xcc6a('0x18'));var config=require(_0xcc6a('0x19'));var db=require(_0xcc6a('0x1a'))['db'];config['redis']=_['defaults'](config[_0xcc6a('0x1b')],{'host':_0xcc6a('0x1c'),'port':0x18eb});var socket=require(_0xcc6a('0x1d'))(new Redis(config['redis']));require('./voiceExtension.socket')[_0xcc6a('0x1e')](socket);function respondWithStatusCode(_0xcb9e2e,_0x43710d){_0x43710d=_0x43710d||0xcc;return function(_0x348af7){if(_0x348af7){return _0xcb9e2e[_0xcc6a('0x1f')](_0x43710d);}return _0xcb9e2e[_0xcc6a('0x20')](_0x43710d)[_0xcc6a('0x21')]();};}function respondWithResult(_0x403b18,_0x56ffb0){_0x56ffb0=_0x56ffb0||0xc8;return function(_0x4e628f){if(_0x4e628f){return _0x403b18['status'](_0x56ffb0)[_0xcc6a('0x22')](_0x4e628f);}};}function respondWithFilteredResult(_0x44910f,_0x307f2a){return function(_0x3e63d9){if(_0x3e63d9){var _0x33079c=_0x3e63d9[_0xcc6a('0x23')],_0x12ef33=_0x307f2a[_0xcc6a('0x24')],_0x2d9585=_0x307f2a[_0xcc6a('0x24')]+_0x307f2a['limit'],_0x412bc7;if(_0x2d9585>=_0x33079c){_0x2d9585=_0x33079c;_0x412bc7=0xc8;}else{_0x412bc7=0xce;}_0x44910f[_0xcc6a('0x20')](_0x412bc7);return _0x44910f[_0xcc6a('0x25')](_0xcc6a('0x26'),_0x12ef33+'-'+_0x2d9585+'/'+_0x33079c)[_0xcc6a('0x22')](_0x3e63d9);}return null;};}function patchUpdates(_0x1495d8){return function(_0x30b8ed){try{jsonpatch[_0xcc6a('0x27')](_0x30b8ed,_0x1495d8,!![]);}catch(_0x43f510){return BPromise[_0xcc6a('0x28')](_0x43f510);}return _0x30b8ed[_0xcc6a('0x29')]();};}function saveUpdates(_0x329d17,_0x845088){return function(_0x51be9a){if(_0x51be9a){return _0x51be9a[_0xcc6a('0x2a')](_0x329d17)[_0xcc6a('0x2b')](function(_0x38f812){return _0x38f812;});}return null;};}function removeEntity(_0x581aae,_0x10016a){return function(_0x294486){if(_0x294486){return _0x294486[_0xcc6a('0x2c')]()[_0xcc6a('0x2b')](function(){var _0x432c23=_0x294486[_0xcc6a('0x2d')]({'plain':!![]});var _0x50abc1=[{'name':_0xcc6a('0x2e'),'value':_0xcc6a('0x2f'),'ignore':![]},{'name':_0xcc6a('0x30'),'value':'outbound','ignore':![]},{'name':_0xcc6a('0x31'),'value':_0xcc6a('0x32'),'ignore':![]}];var _0x4da301=_(_0x50abc1)[_0xcc6a('0x33')](_0xcc6a('0x34'))[_0xcc6a('0x35')](_0xcc6a('0x36'))['value']();if(_[_0xcc6a('0x37')](_0x4da301,_0x432c23[_0xcc6a('0x38')])){return;}var _0x2c6d88=_['find'](_0x50abc1,[_0xcc6a('0x36'),_0x432c23['type']])['name'];return db[_0xcc6a('0x39')][_0xcc6a('0x2c')]({'where':{'type':_0x2c6d88,'resourceId':_0x432c23['id']}})[_0xcc6a('0x2b')](function(){return _0x294486;});})[_0xcc6a('0x2b')](function(){_0x581aae[_0xcc6a('0x20')](0xcc)[_0xcc6a('0x21')]();});}};}function handleEntityNotFound(_0x4e2de4,_0x7b2b54){return function(_0x28e3c3){if(!_0x28e3c3){_0x4e2de4[_0xcc6a('0x1f')](0x194);}return _0x28e3c3;};}function handleError(_0x2faeb5,_0x211a8c){_0x211a8c=_0x211a8c||0x1f4;return function(_0x152ebd){logger[_0xcc6a('0x3a')](_0x152ebd[_0xcc6a('0x3b')]);if(_0x152ebd['name']){delete _0x152ebd[_0xcc6a('0x3c')];}_0x2faeb5[_0xcc6a('0x20')](_0x211a8c)[_0xcc6a('0x3d')](_0x152ebd);};}exports[_0xcc6a('0x3e')]=function(_0x30d6e1,_0x711a58){var _0x28b16e={},_0x5afbbc={},_0x5d2287={'count':0x0,'rows':[]};var _0x5a41b4=_['map'](db['VoiceExtension'][_0xcc6a('0x3f')],function(_0x2a3e93){return{'name':_0x2a3e93[_0xcc6a('0x40')],'type':_0x2a3e93[_0xcc6a('0x38')][_0xcc6a('0x41')]};});_0x5afbbc['model']=_['map'](_0x5a41b4,_0xcc6a('0x3c'));_0x5afbbc[_0xcc6a('0x42')]=_[_0xcc6a('0x43')](_0x30d6e1['query']);_0x5afbbc[_0xcc6a('0x44')]=_[_0xcc6a('0x45')](_0x5afbbc[_0xcc6a('0x46')],_0x5afbbc[_0xcc6a('0x42')]);_0x28b16e[_0xcc6a('0x47')]=_[_0xcc6a('0x45')](_0x5afbbc[_0xcc6a('0x46')],qs[_0xcc6a('0x48')](_0x30d6e1[_0xcc6a('0x42')][_0xcc6a('0x48')]));_0x28b16e[_0xcc6a('0x47')]=_0x28b16e[_0xcc6a('0x47')][_0xcc6a('0x49')]?_0x28b16e[_0xcc6a('0x47')]:_0x5afbbc[_0xcc6a('0x46')];if(!_0x30d6e1[_0xcc6a('0x42')][_0xcc6a('0x4a')](_0xcc6a('0x4b'))){_0x28b16e['limit']=qs['limit'](_0x30d6e1[_0xcc6a('0x42')][_0xcc6a('0x4c')]);_0x28b16e[_0xcc6a('0x24')]=qs[_0xcc6a('0x24')](_0x30d6e1[_0xcc6a('0x42')][_0xcc6a('0x24')]);}_0x28b16e[_0xcc6a('0x4d')]=qs[_0xcc6a('0x4e')](_0x30d6e1['query']['sort']);_0x28b16e[_0xcc6a('0x4f')]=qs['filters'](_['pick'](_0x30d6e1['query'],_0x5afbbc[_0xcc6a('0x44')]),_0x5a41b4);if(_0x30d6e1[_0xcc6a('0x42')][_0xcc6a('0x33')]){_0x28b16e[_0xcc6a('0x4f')]=_[_0xcc6a('0x50')](_0x28b16e['where'],{'$or':_[_0xcc6a('0x35')](_0x5a41b4,function(_0xfbb079){if(_0xfbb079[_0xcc6a('0x38')]!==_0xcc6a('0x51')){var _0x14ca90={};_0x14ca90[_0xfbb079[_0xcc6a('0x3c')]]={'$like':'%'+_0x30d6e1['query'][_0xcc6a('0x33')]+'%'};return _0x14ca90;}})});}_0x28b16e=_[_0xcc6a('0x50')]({},_0x28b16e,_0x30d6e1[_0xcc6a('0x52')]);var _0x11c137={'where':_0x28b16e['where']};return db[_0xcc6a('0x53')]['count'](_0x11c137)[_0xcc6a('0x2b')](function(_0x3f280a){_0x5d2287[_0xcc6a('0x23')]=_0x3f280a;if(_0x30d6e1['query'][_0xcc6a('0x54')]){_0x28b16e[_0xcc6a('0x55')]=[{'all':!![]}];}return db[_0xcc6a('0x53')]['findAll'](_0x28b16e);})['then'](function(_0x3467b1){_0x5d2287[_0xcc6a('0x56')]=_0x3467b1;return _0x5d2287;})[_0xcc6a('0x2b')](respondWithFilteredResult(_0x711a58,_0x28b16e))[_0xcc6a('0x57')](handleError(_0x711a58,null));};exports[_0xcc6a('0x58')]=function(_0x5e59af,_0x16b83b){var _0xff1166={'raw':![],'where':{'id':_0x5e59af[_0xcc6a('0x59')]['id']}},_0x50ef8c={};_0x50ef8c[_0xcc6a('0x46')]=_[_0xcc6a('0x43')](db[_0xcc6a('0x53')][_0xcc6a('0x3f')]);_0x50ef8c[_0xcc6a('0x42')]=_['keys'](_0x5e59af['query']);_0x50ef8c['filters']=_[_0xcc6a('0x45')](_0x50ef8c[_0xcc6a('0x46')],_0x50ef8c[_0xcc6a('0x42')]);_0xff1166[_0xcc6a('0x47')]=_['intersection'](_0x50ef8c[_0xcc6a('0x46')],qs['fields'](_0x5e59af[_0xcc6a('0x42')][_0xcc6a('0x48')]));_0xff1166[_0xcc6a('0x47')]=_0xff1166[_0xcc6a('0x47')][_0xcc6a('0x49')]?_0xff1166[_0xcc6a('0x47')]:_0x50ef8c['model'];if(_0x5e59af[_0xcc6a('0x42')][_0xcc6a('0x54')]){_0xff1166[_0xcc6a('0x55')]=[{'all':!![]}];}_0xff1166=_[_0xcc6a('0x50')]({},_0xff1166,_0x5e59af[_0xcc6a('0x52')]);return db[_0xcc6a('0x53')][_0xcc6a('0x5a')](_0xff1166)[_0xcc6a('0x2b')](handleEntityNotFound(_0x16b83b,null))[_0xcc6a('0x2b')](respondWithResult(_0x16b83b,null))[_0xcc6a('0x57')](handleError(_0x16b83b,null));};exports['destroy']=function(_0x1c8470,_0x3197b5){return db[_0xcc6a('0x53')][_0xcc6a('0x5a')]({'where':{'id':_0x1c8470[_0xcc6a('0x59')]['id']}})[_0xcc6a('0x2b')](handleEntityNotFound(_0x3197b5,null))['then'](removeEntity(_0x3197b5,null))['catch'](handleError(_0x3197b5,null));};exports[_0xcc6a('0x5b')]=function(_0x5eeca6,_0x1ac0f0){if(_0x5eeca6[_0xcc6a('0x5c')][_0xcc6a('0x38')]===_0xcc6a('0x5d')&&!_[_0xcc6a('0x5e')](_0x5eeca6[_0xcc6a('0x5c')][_0xcc6a('0x5f')],'_')){_0x5eeca6[_0xcc6a('0x5c')][_0xcc6a('0x5f')]='_'[_0xcc6a('0x60')](_0x5eeca6[_0xcc6a('0x5c')]['exten']);}return db[_0xcc6a('0x53')]['create'](_0x5eeca6[_0xcc6a('0x5c')],{'raw':![]})[_0xcc6a('0x2b')](function(_0x22acfb){var _0x571a0a=_0x5eeca6[_0xcc6a('0x61')]['get']({'plain':!![]});if(!_0x571a0a)throw new Error(_0xcc6a('0x62'));if(_0x571a0a['role']===_0xcc6a('0x61')){var _0x271d07=_0x22acfb[_0xcc6a('0x2d')]({'plain':!![]});var _0xe212e8=[{'name':_0xcc6a('0x2e'),'value':_0xcc6a('0x2f')},{'name':_0xcc6a('0x30'),'value':_0xcc6a('0x5d')},{'name':'InternalRoutes','value':_0xcc6a('0x32')}];var _0x56d512=_[_0xcc6a('0x5a')](_0xe212e8,['value',_0x271d07[_0xcc6a('0x38')]])[_0xcc6a('0x3c')];return db[_0xcc6a('0x63')]['find']({'where':{'name':_0x56d512,'userProfileId':_0x571a0a[_0xcc6a('0x64')]},'raw':!![]})['then'](function(_0x5e53e4){if(_0x5e53e4&&_0x5e53e4[_0xcc6a('0x65')]===0x0){return db[_0xcc6a('0x39')][_0xcc6a('0x5b')]({'name':_0x271d07[_0xcc6a('0x3c')],'resourceId':_0x271d07['id'],'type':_0x5e53e4[_0xcc6a('0x3c')],'sectionId':_0x5e53e4['id']},{})[_0xcc6a('0x2b')](function(){return _0x22acfb;});}else{return _0x22acfb;}})[_0xcc6a('0x57')](function(_0x5668d1){logger[_0xcc6a('0x3a')](_0xcc6a('0x66'),_0x5668d1);throw _0x5668d1;});}return _0x22acfb;})[_0xcc6a('0x2b')](respondWithResult(_0x1ac0f0,0xc9))[_0xcc6a('0x57')](handleError(_0x1ac0f0,null));};exports[_0xcc6a('0x2a')]=function(_0x483aa4,_0x2a3745){if(_0x483aa4[_0xcc6a('0x5c')]['id']){delete _0x483aa4[_0xcc6a('0x5c')]['id'];}return db[_0xcc6a('0x53')]['find']({'where':{'id':_0x483aa4[_0xcc6a('0x59')]['id']}})[_0xcc6a('0x2b')](handleEntityNotFound(_0x2a3745,null))[_0xcc6a('0x2b')](function(_0x2ffe07){if(_0x2ffe07){return db[_0xcc6a('0x53')][_0xcc6a('0x2a')](_[_0xcc6a('0x67')](_0x483aa4[_0xcc6a('0x5c')],[_0xcc6a('0x5f'),_0xcc6a('0x68'),'description','recordingFormat','cutdigits',_0xcc6a('0x69')]),{'where':{'context':_0x2ffe07[_0xcc6a('0x68')],'exten':_0x2ffe07[_0xcc6a('0x5f')]},'individualHooks':!![]})['then'](function(_0x2f7787){return _0x2f7787;});}return null;})[_0xcc6a('0x2b')](respondWithStatusCode(_0x2a3745,null))[_0xcc6a('0x57')](handleError(_0x2a3745,null));};exports[_0xcc6a('0x6a')]=function(_0x5e1c69,_0x481d25,_0xaec5e8){return db[_0xcc6a('0x53')][_0xcc6a('0x6b')]({'where':{'id':_0x5e1c69[_0xcc6a('0x59')]['id']}})['then'](handleEntityNotFound(_0x481d25,null))[_0xcc6a('0x2b')](function(_0x2e9a9f){if(_0x2e9a9f){return db[_0xcc6a('0x6c')][_0xcc6a('0x6d')](function(_0x3a0d36){return db['VoiceExtension']['destroy']({'where':{'VoiceExtensionId':_0x5e1c69[_0xcc6a('0x59')]['id']},'transaction':_0x3a0d36})[_0xcc6a('0x2b')](function(_0x2d9f02){var _0x144495=_['map'](_0x5e1c69['body'],function(_0x43827c){_0x43827c[_0xcc6a('0x6e')]=_0x5e1c69[_0xcc6a('0x59')]['id'];return _0x43827c;});return db[_0xcc6a('0x53')]['bulkCreate'](_0x144495,{'transaction':_0x3a0d36});});})['then'](function(){return db['VoiceExtension'][_0xcc6a('0x6f')]({'where':{'isApp':!![],'VoiceExtensionId':_0x5e1c69[_0xcc6a('0x59')]['id']},'order':_0xcc6a('0x70')});});}})[_0xcc6a('0x2b')](respondWithResult(_0x481d25,null))['catch'](handleError(_0x481d25,null));}; \ No newline at end of file +var _0x7880=['OutboundRoutes','outbound','internal','filter','ignore','map','value','includes','find','UserProfileResource','sendStatus','error','stack','name','send','index','VoiceExtension','rawAttributes','type','key','model','query','intersection','attributes','fields','hasOwnProperty','nolimit','limit','order','sort','pick','filters','where','merge','VIRTUAL','options','count','includeAll','include','findAll','rows','params','keys','length','catch','create','body','startsWith','exten','concat','user','Unable\x20to\x20retrieve\x20the\x20current\x20user','role','InternalRoutes','UserProfileSection','autoAssociation','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','context','description','recordingFormat','cutdigits','mandatoryDisposition','addApplications','findOne','transaction','VoiceExtensionId','bulkCreate','cast(priority\x20as\x20unsigned)','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','mustache','util','path','sox','to-csv','ejs','lodash','squel','crypto','jsforce','papaparse','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','../../config/utils','../../config/environment','../../mysqldb','redis','defaults','localhost','./voiceExtension.socket','register','status','end','offset','Content-Range','apply','reject','update','then','destroy','get'];(function(_0x38cac3,_0x44e3c1){var _0x2d11ea=function(_0x9342e1){while(--_0x9342e1){_0x38cac3['push'](_0x38cac3['shift']());}};_0x2d11ea(++_0x44e3c1);}(_0x7880,0x1f4));var _0x0788=function(_0x49748c,_0x3d2005){_0x49748c=_0x49748c-0x0;var _0xedf6b6=_0x7880[_0x49748c];return _0xedf6b6;};'use strict';var pdf=require('html-pdf');var emlformat=require(_0x0788('0x0'));var rimraf=require(_0x0788('0x1'));var zipdir=require(_0x0788('0x2'));var jsonpatch=require(_0x0788('0x3'));var rp=require(_0x0788('0x4'));var moment=require(_0x0788('0x5'));var BPromise=require('bluebird');var Mustache=require(_0x0788('0x6'));var util=require(_0x0788('0x7'));var path=require(_0x0788('0x8'));var sox=require(_0x0788('0x9'));var csv=require(_0x0788('0xa'));var ejs=require(_0x0788('0xb'));var fs=require('fs');var _=require(_0x0788('0xc'));var squel=require(_0x0788('0xd'));var crypto=require(_0x0788('0xe'));var jsforce=require(_0x0788('0xf'));var deskjs=require('desk.js');var toCsv=require(_0x0788('0xa'));var querystring=require('querystring');var Papa=require(_0x0788('0x10'));var Redis=require('ioredis');var authService=require(_0x0788('0x11'));var qs=require(_0x0788('0x12'));var as=require(_0x0788('0x13'));var hardwareService=require(_0x0788('0x14'));var logger=require(_0x0788('0x15'))('api');var utils=require(_0x0788('0x16'));var config=require(_0x0788('0x17'));var db=require(_0x0788('0x18'))['db'];config[_0x0788('0x19')]=_[_0x0788('0x1a')](config[_0x0788('0x19')],{'host':_0x0788('0x1b'),'port':0x18eb});var socket=require('socket.io-emitter')(new Redis(config[_0x0788('0x19')]));require(_0x0788('0x1c'))[_0x0788('0x1d')](socket);function respondWithStatusCode(_0x13cf07,_0x51e5d3){_0x51e5d3=_0x51e5d3||0xcc;return function(_0x43ca01){if(_0x43ca01){return _0x13cf07['sendStatus'](_0x51e5d3);}return _0x13cf07[_0x0788('0x1e')](_0x51e5d3)[_0x0788('0x1f')]();};}function respondWithResult(_0x3fd1e4,_0xb406fb){_0xb406fb=_0xb406fb||0xc8;return function(_0x2ddd1a){if(_0x2ddd1a){return _0x3fd1e4[_0x0788('0x1e')](_0xb406fb)['json'](_0x2ddd1a);}};}function respondWithFilteredResult(_0x573822,_0x17d805){return function(_0x461d9d){if(_0x461d9d){var _0x5b2bdc=_0x461d9d['count'],_0x654e4b=_0x17d805[_0x0788('0x20')],_0x415f19=_0x17d805[_0x0788('0x20')]+_0x17d805['limit'],_0x17ae59;if(_0x415f19>=_0x5b2bdc){_0x415f19=_0x5b2bdc;_0x17ae59=0xc8;}else{_0x17ae59=0xce;}_0x573822[_0x0788('0x1e')](_0x17ae59);return _0x573822['set'](_0x0788('0x21'),_0x654e4b+'-'+_0x415f19+'/'+_0x5b2bdc)['json'](_0x461d9d);}return null;};}function patchUpdates(_0x17cca3){return function(_0x3c37ca){try{jsonpatch[_0x0788('0x22')](_0x3c37ca,_0x17cca3,!![]);}catch(_0x3cd197){return BPromise[_0x0788('0x23')](_0x3cd197);}return _0x3c37ca['save']();};}function saveUpdates(_0x48ec43,_0x2270d4){return function(_0x2a1460){if(_0x2a1460){return _0x2a1460[_0x0788('0x24')](_0x48ec43)[_0x0788('0x25')](function(_0x5ba1da){return _0x5ba1da;});}return null;};}function removeEntity(_0x4d5c93,_0x79204e){return function(_0x18cc33){if(_0x18cc33){return _0x18cc33[_0x0788('0x26')]()['then'](function(){var _0x4b2693=_0x18cc33[_0x0788('0x27')]({'plain':!![]});var _0xa1f7dc=[{'name':'InboundRoutes','value':'inbound','ignore':![]},{'name':_0x0788('0x28'),'value':_0x0788('0x29'),'ignore':![]},{'name':'InternalRoutes','value':_0x0788('0x2a'),'ignore':![]}];var _0x40e7a6=_(_0xa1f7dc)[_0x0788('0x2b')](_0x0788('0x2c'))[_0x0788('0x2d')](_0x0788('0x2e'))[_0x0788('0x2e')]();if(_[_0x0788('0x2f')](_0x40e7a6,_0x4b2693['type'])){return;}var _0x5a5178=_[_0x0788('0x30')](_0xa1f7dc,[_0x0788('0x2e'),_0x4b2693['type']])['name'];return db[_0x0788('0x31')][_0x0788('0x26')]({'where':{'type':_0x5a5178,'resourceId':_0x4b2693['id']}})[_0x0788('0x25')](function(){return _0x18cc33;});})[_0x0788('0x25')](function(){_0x4d5c93[_0x0788('0x1e')](0xcc)[_0x0788('0x1f')]();});}};}function handleEntityNotFound(_0x327d67,_0x36e077){return function(_0x28a50a){if(!_0x28a50a){_0x327d67[_0x0788('0x32')](0x194);}return _0x28a50a;};}function handleError(_0x5ec0ed,_0x2a08b7){_0x2a08b7=_0x2a08b7||0x1f4;return function(_0x1aab6a){logger[_0x0788('0x33')](_0x1aab6a[_0x0788('0x34')]);if(_0x1aab6a[_0x0788('0x35')]){delete _0x1aab6a[_0x0788('0x35')];}_0x5ec0ed[_0x0788('0x1e')](_0x2a08b7)[_0x0788('0x36')](_0x1aab6a);};}exports[_0x0788('0x37')]=function(_0xaed27e,_0x4fa055){var _0x4ae132={},_0x5947d3={},_0x5633da={'count':0x0,'rows':[]};var _0x516cce=_['map'](db[_0x0788('0x38')][_0x0788('0x39')],function(_0x2130e3){return{'name':_0x2130e3['fieldName'],'type':_0x2130e3[_0x0788('0x3a')][_0x0788('0x3b')]};});_0x5947d3[_0x0788('0x3c')]=_[_0x0788('0x2d')](_0x516cce,'name');_0x5947d3[_0x0788('0x3d')]=_['keys'](_0xaed27e[_0x0788('0x3d')]);_0x5947d3['filters']=_[_0x0788('0x3e')](_0x5947d3[_0x0788('0x3c')],_0x5947d3['query']);_0x4ae132[_0x0788('0x3f')]=_[_0x0788('0x3e')](_0x5947d3['model'],qs[_0x0788('0x40')](_0xaed27e['query'][_0x0788('0x40')]));_0x4ae132['attributes']=_0x4ae132[_0x0788('0x3f')]['length']?_0x4ae132[_0x0788('0x3f')]:_0x5947d3['model'];if(!_0xaed27e['query'][_0x0788('0x41')](_0x0788('0x42'))){_0x4ae132[_0x0788('0x43')]=qs[_0x0788('0x43')](_0xaed27e[_0x0788('0x3d')]['limit']);_0x4ae132['offset']=qs['offset'](_0xaed27e['query'][_0x0788('0x20')]);}_0x4ae132[_0x0788('0x44')]=qs[_0x0788('0x45')](_0xaed27e[_0x0788('0x3d')][_0x0788('0x45')]);_0x4ae132['where']=qs['filters'](_[_0x0788('0x46')](_0xaed27e[_0x0788('0x3d')],_0x5947d3[_0x0788('0x47')]),_0x516cce);if(_0xaed27e[_0x0788('0x3d')][_0x0788('0x2b')]){_0x4ae132[_0x0788('0x48')]=_[_0x0788('0x49')](_0x4ae132[_0x0788('0x48')],{'$or':_[_0x0788('0x2d')](_0x516cce,function(_0x50e8f5){if(_0x50e8f5['type']!==_0x0788('0x4a')){var _0x1d579d={};_0x1d579d[_0x50e8f5[_0x0788('0x35')]]={'$like':'%'+_0xaed27e['query']['filter']+'%'};return _0x1d579d;}})});}_0x4ae132=_['merge']({},_0x4ae132,_0xaed27e[_0x0788('0x4b')]);var _0x150c1e={'where':_0x4ae132[_0x0788('0x48')]};return db[_0x0788('0x38')][_0x0788('0x4c')](_0x150c1e)[_0x0788('0x25')](function(_0x1ab634){_0x5633da[_0x0788('0x4c')]=_0x1ab634;if(_0xaed27e['query'][_0x0788('0x4d')]){_0x4ae132[_0x0788('0x4e')]=[{'all':!![]}];}return db[_0x0788('0x38')][_0x0788('0x4f')](_0x4ae132);})['then'](function(_0x6aa745){_0x5633da[_0x0788('0x50')]=_0x6aa745;return _0x5633da;})['then'](respondWithFilteredResult(_0x4fa055,_0x4ae132))['catch'](handleError(_0x4fa055,null));};exports['show']=function(_0xad94dc,_0x5e010a){var _0x474027={'raw':![],'where':{'id':_0xad94dc[_0x0788('0x51')]['id']}},_0x2c5e0a={};_0x2c5e0a[_0x0788('0x3c')]=_[_0x0788('0x52')](db[_0x0788('0x38')][_0x0788('0x39')]);_0x2c5e0a[_0x0788('0x3d')]=_['keys'](_0xad94dc['query']);_0x2c5e0a[_0x0788('0x47')]=_[_0x0788('0x3e')](_0x2c5e0a[_0x0788('0x3c')],_0x2c5e0a['query']);_0x474027[_0x0788('0x3f')]=_[_0x0788('0x3e')](_0x2c5e0a[_0x0788('0x3c')],qs[_0x0788('0x40')](_0xad94dc[_0x0788('0x3d')]['fields']));_0x474027['attributes']=_0x474027[_0x0788('0x3f')][_0x0788('0x53')]?_0x474027['attributes']:_0x2c5e0a[_0x0788('0x3c')];if(_0xad94dc['query'][_0x0788('0x4d')]){_0x474027[_0x0788('0x4e')]=[{'all':!![]}];}_0x474027=_[_0x0788('0x49')]({},_0x474027,_0xad94dc[_0x0788('0x4b')]);return db[_0x0788('0x38')][_0x0788('0x30')](_0x474027)[_0x0788('0x25')](handleEntityNotFound(_0x5e010a,null))[_0x0788('0x25')](respondWithResult(_0x5e010a,null))['catch'](handleError(_0x5e010a,null));};exports[_0x0788('0x26')]=function(_0x363ab9,_0x3f2f1b){return db['VoiceExtension'][_0x0788('0x30')]({'where':{'id':_0x363ab9[_0x0788('0x51')]['id']}})['then'](handleEntityNotFound(_0x3f2f1b,null))[_0x0788('0x25')](removeEntity(_0x3f2f1b,null))[_0x0788('0x54')](handleError(_0x3f2f1b,null));};exports[_0x0788('0x55')]=function(_0x1192b4,_0x137e24){if(_0x1192b4[_0x0788('0x56')]['type']==='outbound'&&!_[_0x0788('0x57')](_0x1192b4[_0x0788('0x56')]['exten'],'_')){_0x1192b4[_0x0788('0x56')][_0x0788('0x58')]='_'[_0x0788('0x59')](_0x1192b4[_0x0788('0x56')][_0x0788('0x58')]);}return db[_0x0788('0x38')][_0x0788('0x55')](_0x1192b4[_0x0788('0x56')],{'raw':![]})[_0x0788('0x25')](function(_0x395398){var _0x25b44a=_0x1192b4[_0x0788('0x5a')]['get']({'plain':!![]});if(!_0x25b44a)throw new Error(_0x0788('0x5b'));if(_0x25b44a[_0x0788('0x5c')]===_0x0788('0x5a')){var _0x5ba197=_0x395398[_0x0788('0x27')]({'plain':!![]});var _0x329d44=[{'name':'InboundRoutes','value':'inbound'},{'name':_0x0788('0x28'),'value':_0x0788('0x29')},{'name':_0x0788('0x5d'),'value':_0x0788('0x2a')}];var _0x2c0bcc=_[_0x0788('0x30')](_0x329d44,['value',_0x5ba197[_0x0788('0x3a')]])[_0x0788('0x35')];return db[_0x0788('0x5e')]['find']({'where':{'name':_0x2c0bcc,'userProfileId':_0x25b44a['userProfileId']},'raw':!![]})[_0x0788('0x25')](function(_0x5419d9){if(_0x5419d9&&_0x5419d9[_0x0788('0x5f')]===0x0){return db[_0x0788('0x31')][_0x0788('0x55')]({'name':_0x5ba197[_0x0788('0x35')],'resourceId':_0x5ba197['id'],'type':_0x5419d9[_0x0788('0x35')],'sectionId':_0x5419d9['id']},{})[_0x0788('0x25')](function(){return _0x395398;});}else{return _0x395398;}})[_0x0788('0x54')](function(_0x29c912){logger[_0x0788('0x33')](_0x0788('0x60'),_0x29c912);throw _0x29c912;});}return _0x395398;})['then'](respondWithResult(_0x137e24,0xc9))[_0x0788('0x54')](handleError(_0x137e24,null));};exports[_0x0788('0x24')]=function(_0x602e3b,_0x2822aa){if(_0x602e3b['body']['id']){delete _0x602e3b[_0x0788('0x56')]['id'];}return db[_0x0788('0x38')][_0x0788('0x30')]({'where':{'id':_0x602e3b[_0x0788('0x51')]['id']}})[_0x0788('0x25')](handleEntityNotFound(_0x2822aa,null))['then'](function(_0xf2031){if(_0xf2031){return db['VoiceExtension'][_0x0788('0x24')](_[_0x0788('0x46')](_0x602e3b[_0x0788('0x56')],[_0x0788('0x58'),_0x0788('0x61'),_0x0788('0x62'),_0x0788('0x63'),_0x0788('0x64'),_0x0788('0x65')]),{'where':{'context':_0xf2031['context'],'exten':_0xf2031[_0x0788('0x58')]},'individualHooks':!![]})[_0x0788('0x25')](function(_0x60e880){return _0x60e880;});}return null;})['then'](respondWithStatusCode(_0x2822aa,null))['catch'](handleError(_0x2822aa,null));};exports[_0x0788('0x66')]=function(_0x1bb234,_0x31ed44,_0x51baa4){return db[_0x0788('0x38')][_0x0788('0x67')]({'where':{'id':_0x1bb234[_0x0788('0x51')]['id']}})[_0x0788('0x25')](handleEntityNotFound(_0x31ed44,null))['then'](function(_0x5c2feb){if(_0x5c2feb){return db['sequelize'][_0x0788('0x68')](function(_0x2a55f2){return db[_0x0788('0x38')]['destroy']({'where':{'VoiceExtensionId':_0x1bb234['params']['id']},'transaction':_0x2a55f2})[_0x0788('0x25')](function(_0x56c4bc){var _0x955bfa=_[_0x0788('0x2d')](_0x1bb234[_0x0788('0x56')],function(_0x12ed24){_0x12ed24[_0x0788('0x69')]=_0x1bb234[_0x0788('0x51')]['id'];return _0x12ed24;});return db[_0x0788('0x38')][_0x0788('0x6a')](_0x955bfa,{'transaction':_0x2a55f2});});})[_0x0788('0x25')](function(){return db[_0x0788('0x38')]['findAndCountAll']({'where':{'isApp':!![],'VoiceExtensionId':_0x1bb234[_0x0788('0x51')]['id']},'order':_0x0788('0x6b')});});}})['then'](respondWithResult(_0x31ed44,null))['catch'](handleError(_0x31ed44,null));}; \ No newline at end of file diff --git a/server/api/voiceExtension/voiceExtension.events.js b/server/api/voiceExtension/voiceExtension.events.js index 25a46d0..23797aa 100644 --- a/server/api/voiceExtension/voiceExtension.events.js +++ b/server/api/voiceExtension/voiceExtension.events.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xc6d7=['remove','emit','hasOwnProperty','hook','exports','events','../../mysqldb','VoiceExtension','setMaxListeners'];(function(_0x2d93c9,_0x416a9c){var _0x22adbe=function(_0x4fac33){while(--_0x4fac33){_0x2d93c9['push'](_0x2d93c9['shift']());}};_0x22adbe(++_0x416a9c);}(_0xc6d7,0x71));var _0x7c6d=function(_0x20a065,_0x49f07a){_0x20a065=_0x20a065-0x0;var _0x2c5171=_0xc6d7[_0x20a065];return _0x2c5171;};'use strict';var EventEmitter=require(_0x7c6d('0x0'));var VoiceExtension=require(_0x7c6d('0x1'))['db'][_0x7c6d('0x2')];var VoiceExtensionEvents=new EventEmitter();VoiceExtensionEvents[_0x7c6d('0x3')](0x0);var events={'afterCreate':'save','afterUpdate':'update','afterDestroy':_0x7c6d('0x4')};function emitEvent(_0xbe17b2){return function(_0x445d59,_0x1ab40a,_0x7b13c){VoiceExtensionEvents[_0x7c6d('0x5')](_0xbe17b2+':'+_0x445d59['id'],_0x445d59);VoiceExtensionEvents[_0x7c6d('0x5')](_0xbe17b2,_0x445d59);_0x7b13c(null);};}for(var e in events){if(events[_0x7c6d('0x6')](e)){var event=events[e];VoiceExtension[_0x7c6d('0x7')](e,emitEvent(event));}}module[_0x7c6d('0x8')]=VoiceExtensionEvents; \ No newline at end of file +var _0x39ee=['hasOwnProperty','hook','exports','VoiceExtension','setMaxListeners','remove','emit'];(function(_0x14d6f1,_0x4edfcd){var _0x3d156f=function(_0x55a263){while(--_0x55a263){_0x14d6f1['push'](_0x14d6f1['shift']());}};_0x3d156f(++_0x4edfcd);}(_0x39ee,0x8f));var _0xe39e=function(_0xa464c9,_0x7c86d8){_0xa464c9=_0xa464c9-0x0;var _0x3d73c4=_0x39ee[_0xa464c9];return _0x3d73c4;};'use strict';var EventEmitter=require('events');var VoiceExtension=require('../../mysqldb')['db'][_0xe39e('0x0')];var VoiceExtensionEvents=new EventEmitter();VoiceExtensionEvents[_0xe39e('0x1')](0x0);var events={'afterCreate':'save','afterUpdate':'update','afterDestroy':_0xe39e('0x2')};function emitEvent(_0x1b0672){return function(_0x1085e0,_0x153640,_0x212cc5){VoiceExtensionEvents[_0xe39e('0x3')](_0x1b0672+':'+_0x1085e0['id'],_0x1085e0);VoiceExtensionEvents['emit'](_0x1b0672,_0x1085e0);_0x212cc5(null);};}for(var e in events){if(events[_0xe39e('0x4')](e)){var event=events[e];VoiceExtension[_0xe39e('0x5')](e,emitEvent(event));}}module[_0xe39e('0x6')]=VoiceExtensionEvents; \ No newline at end of file diff --git a/server/api/voiceExtension/voiceExtension.model.js b/server/api/voiceExtension/voiceExtension.model.js index 1a19b4e..081b2a9 100644 --- a/server/api/voiceExtension/voiceExtension.model.js +++ b/server/api/voiceExtension/voiceExtension.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x77d0=['moment','bluebird','request-promise','path','../../config/environment','./voiceExtension.attributes','exports','define','voice_extensions','../../config/logger','api'];(function(_0x37024f,_0x48f013){var _0x1046e0=function(_0x3d731d){while(--_0x3d731d){_0x37024f['push'](_0x37024f['shift']());}};_0x1046e0(++_0x48f013);}(_0x77d0,0x174));var _0x077d=function(_0xe35e7e,_0x1045d6){_0xe35e7e=_0xe35e7e-0x0;var _0x105cf0=_0x77d0[_0xe35e7e];return _0x105cf0;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x077d('0x0'))(_0x077d('0x1'));var moment=require(_0x077d('0x2'));var BPromise=require(_0x077d('0x3'));var rp=require(_0x077d('0x4'));var fs=require('fs');var path=require(_0x077d('0x5'));var rimraf=require('rimraf');var config=require(_0x077d('0x6'));var attributes=require(_0x077d('0x7'));module[_0x077d('0x8')]=function(_0x135f28,_0x48d9cd){return _0x135f28[_0x077d('0x9')]('VoiceExtension',attributes,{'tableName':_0x077d('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0xa7f7=['api','moment','bluebird','request-promise','rimraf','../../config/environment','exports','define','lodash','util','../../config/logger'];(function(_0x21a9d9,_0x4d5ac8){var _0x46adce=function(_0xfdd336){while(--_0xfdd336){_0x21a9d9['push'](_0x21a9d9['shift']());}};_0x46adce(++_0x4d5ac8);}(_0xa7f7,0x110));var _0x7a7f=function(_0x13594e,_0x6f0ed0){_0x13594e=_0x13594e-0x0;var _0x1a4f42=_0xa7f7[_0x13594e];return _0x1a4f42;};'use strict';var _=require(_0x7a7f('0x0'));var util=require(_0x7a7f('0x1'));var logger=require(_0x7a7f('0x2'))(_0x7a7f('0x3'));var moment=require(_0x7a7f('0x4'));var BPromise=require(_0x7a7f('0x5'));var rp=require(_0x7a7f('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0x7a7f('0x7'));var config=require(_0x7a7f('0x8'));var attributes=require('./voiceExtension.attributes');module[_0x7a7f('0x9')]=function(_0x5b06e0,_0x403011){return _0x5b06e0[_0x7a7f('0xa')]('VoiceExtension',attributes,{'tableName':'voice_extensions','paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/voiceExtension/voiceExtension.rpc.js b/server/api/voiceExtension/voiceExtension.rpc.js index 532feae..6741776 100644 --- a/server/api/voiceExtension/voiceExtension.rpc.js +++ b/server/api/voiceExtension/voiceExtension.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xb441=['redis','defaults','socket.io-emitter','./voiceExtension.socket','register','request','then','info','VoiceExtension,\x20%s,\x20%s','request\x20sent','debug','VoiceExtension,\x20%s,\x20%s,\x20%s','stringify','error','code','message','catch','GetVoiceExtension','VoiceExtension','findAll','options','raw','where','attributes','limit','map','include','model','lodash','util','moment','bluebird','randomstring','ioredis','../../config/utils','rpc','../../config/environment','client','http'];(function(_0x45bf86,_0x75586e){var _0x1f02b7=function(_0x1ea8a3){while(--_0x1ea8a3){_0x45bf86['push'](_0x45bf86['shift']());}};_0x1f02b7(++_0x75586e);}(_0xb441,0x1c9));var _0x1b44=function(_0x51e389,_0x180057){_0x51e389=_0x51e389-0x0;var _0x4fe128=_0xb441[_0x51e389];return _0x4fe128;};'use strict';var _=require(_0x1b44('0x0'));var util=require(_0x1b44('0x1'));var moment=require(_0x1b44('0x2'));var BPromise=require(_0x1b44('0x3'));var rs=require(_0x1b44('0x4'));var fs=require('fs');var Redis=require(_0x1b44('0x5'));var db=require('../../mysqldb')['db'];var utils=require(_0x1b44('0x6'));var logger=require('../../config/logger')(_0x1b44('0x7'));var config=require(_0x1b44('0x8'));var jayson=require('jayson/promise');var client=jayson[_0x1b44('0x9')][_0x1b44('0xa')]({'port':0x232a});config[_0x1b44('0xb')]=_[_0x1b44('0xc')](config[_0x1b44('0xb')],{'host':'localhost','port':0x18eb});var socket=require(_0x1b44('0xd'))(new Redis(config[_0x1b44('0xb')]));require(_0x1b44('0xe'))[_0x1b44('0xf')](socket);function respondWithRpcPromise(_0x2abdb7,_0x4902c1,_0x3e7124){return new BPromise(function(_0x590d62,_0x1fc12e){return client[_0x1b44('0x10')](_0x2abdb7,_0x3e7124)[_0x1b44('0x11')](function(_0x4b54c2){logger[_0x1b44('0x12')](_0x1b44('0x13'),_0x4902c1,_0x1b44('0x14'));logger[_0x1b44('0x15')](_0x1b44('0x16'),_0x4902c1,'request\x20sent',JSON[_0x1b44('0x17')](_0x4b54c2));if(_0x4b54c2['error']){if(_0x4b54c2[_0x1b44('0x18')][_0x1b44('0x19')]===0x1f4){logger[_0x1b44('0x18')](_0x1b44('0x13'),_0x4902c1,_0x4b54c2[_0x1b44('0x18')][_0x1b44('0x1a')]);return _0x1fc12e(_0x4b54c2[_0x1b44('0x18')]['message']);}logger[_0x1b44('0x18')](_0x1b44('0x13'),_0x4902c1,_0x4b54c2[_0x1b44('0x18')][_0x1b44('0x1a')]);return _0x590d62(_0x4b54c2[_0x1b44('0x18')][_0x1b44('0x1a')]);}else{logger['info']('VoiceExtension,\x20%s,\x20%s',_0x4902c1,'request\x20sent');_0x590d62(_0x4b54c2['result'][_0x1b44('0x1a')]);}})[_0x1b44('0x1b')](function(_0x46384c){logger[_0x1b44('0x18')](_0x1b44('0x13'),_0x4902c1,_0x46384c);_0x1fc12e(_0x46384c);});});}exports[_0x1b44('0x1c')]=function(_0x56aa16){var _0x28eeb0=this;return new Promise(function(_0xeee85c,_0x3c51ff){return db[_0x1b44('0x1d')][_0x1b44('0x1e')]({'raw':_0x56aa16[_0x1b44('0x1f')]?_0x56aa16[_0x1b44('0x1f')][_0x1b44('0x20')]===undefined?!![]:![]:!![],'where':_0x56aa16[_0x1b44('0x1f')]?_0x56aa16[_0x1b44('0x1f')][_0x1b44('0x21')]||null:null,'attributes':_0x56aa16[_0x1b44('0x1f')]?_0x56aa16[_0x1b44('0x1f')][_0x1b44('0x22')]||null:null,'limit':_0x56aa16[_0x1b44('0x1f')]?_0x56aa16[_0x1b44('0x1f')][_0x1b44('0x23')]||null:null,'include':_0x56aa16[_0x1b44('0x1f')]?_0x56aa16[_0x1b44('0x1f')]['include']?_[_0x1b44('0x24')](_0x56aa16[_0x1b44('0x1f')][_0x1b44('0x25')],function(_0x4203d1){return{'model':db[_0x4203d1['model']],'as':_0x4203d1['as'],'attributes':_0x4203d1[_0x1b44('0x22')],'include':_0x4203d1[_0x1b44('0x25')]?_[_0x1b44('0x24')](_0x4203d1[_0x1b44('0x25')],function(_0x2d5d74){return{'model':db[_0x2d5d74[_0x1b44('0x26')]],'as':_0x2d5d74['as'],'attributes':_0x2d5d74[_0x1b44('0x22')],'include':_0x2d5d74[_0x1b44('0x25')]?_[_0x1b44('0x24')](_0x2d5d74[_0x1b44('0x25')],function(_0x40b58b){return{'model':db[_0x40b58b['model']],'as':_0x40b58b['as'],'attributes':_0x40b58b[_0x1b44('0x22')]};}):[]};}):[]};}):[]:[]})[_0x1b44('0x11')](function(_0x37ffce){logger[_0x1b44('0x12')](_0x1b44('0x1c'),_0x56aa16);logger[_0x1b44('0x15')](_0x1b44('0x1c'),_0x56aa16,JSON[_0x1b44('0x17')](_0x37ffce));_0xeee85c(_0x37ffce);})['catch'](function(_0x11eaec){logger[_0x1b44('0x18')](_0x1b44('0x1c'),_0x11eaec['message'],_0x56aa16);_0x3c51ff(_0x28eeb0[_0x1b44('0x18')](0x1f4,_0x11eaec[_0x1b44('0x1a')]));});});}; \ No newline at end of file +var _0x342b=['debug','VoiceExtension,\x20%s,\x20%s,\x20%s','stringify','error','code','VoiceExtension,\x20%s,\x20%s','message','catch','VoiceExtension','options','where','attributes','limit','model','include','map','GetVoiceExtension','lodash','util','moment','bluebird','randomstring','ioredis','../../mysqldb','../../config/utils','rpc','../../config/environment','jayson/promise','client','http','redis','defaults','localhost','socket.io-emitter','./voiceExtension.socket','register','then','info','request\x20sent'];(function(_0x342baa,_0x4a110f){var _0x1208f3=function(_0x56a645){while(--_0x56a645){_0x342baa['push'](_0x342baa['shift']());}};_0x1208f3(++_0x4a110f);}(_0x342b,0x122));var _0xb342=function(_0xb5515e,_0x3dd053){_0xb5515e=_0xb5515e-0x0;var _0x266288=_0x342b[_0xb5515e];return _0x266288;};'use strict';var _=require(_0xb342('0x0'));var util=require(_0xb342('0x1'));var moment=require(_0xb342('0x2'));var BPromise=require(_0xb342('0x3'));var rs=require(_0xb342('0x4'));var fs=require('fs');var Redis=require(_0xb342('0x5'));var db=require(_0xb342('0x6'))['db'];var utils=require(_0xb342('0x7'));var logger=require('../../config/logger')(_0xb342('0x8'));var config=require(_0xb342('0x9'));var jayson=require(_0xb342('0xa'));var client=jayson[_0xb342('0xb')][_0xb342('0xc')]({'port':0x232a});config[_0xb342('0xd')]=_[_0xb342('0xe')](config[_0xb342('0xd')],{'host':_0xb342('0xf'),'port':0x18eb});var socket=require(_0xb342('0x10'))(new Redis(config[_0xb342('0xd')]));require(_0xb342('0x11'))[_0xb342('0x12')](socket);function respondWithRpcPromise(_0x5a3f3b,_0x252698,_0x54cfd7){return new BPromise(function(_0x1f24e9,_0x1b3e4a){return client['request'](_0x5a3f3b,_0x54cfd7)[_0xb342('0x13')](function(_0x53b52e){logger[_0xb342('0x14')]('VoiceExtension,\x20%s,\x20%s',_0x252698,_0xb342('0x15'));logger[_0xb342('0x16')](_0xb342('0x17'),_0x252698,_0xb342('0x15'),JSON[_0xb342('0x18')](_0x53b52e));if(_0x53b52e['error']){if(_0x53b52e[_0xb342('0x19')][_0xb342('0x1a')]===0x1f4){logger[_0xb342('0x19')](_0xb342('0x1b'),_0x252698,_0x53b52e[_0xb342('0x19')][_0xb342('0x1c')]);return _0x1b3e4a(_0x53b52e[_0xb342('0x19')][_0xb342('0x1c')]);}logger[_0xb342('0x19')](_0xb342('0x1b'),_0x252698,_0x53b52e['error'][_0xb342('0x1c')]);return _0x1f24e9(_0x53b52e['error']['message']);}else{logger[_0xb342('0x14')]('VoiceExtension,\x20%s,\x20%s',_0x252698,_0xb342('0x15'));_0x1f24e9(_0x53b52e['result']['message']);}})[_0xb342('0x1d')](function(_0x936a1a){logger[_0xb342('0x19')](_0xb342('0x1b'),_0x252698,_0x936a1a);_0x1b3e4a(_0x936a1a);});});}exports['GetVoiceExtension']=function(_0x405363){var _0x5e305b=this;return new Promise(function(_0x42b456,_0x51a646){return db[_0xb342('0x1e')]['findAll']({'raw':_0x405363['options']?_0x405363[_0xb342('0x1f')]['raw']===undefined?!![]:![]:!![],'where':_0x405363[_0xb342('0x1f')]?_0x405363[_0xb342('0x1f')][_0xb342('0x20')]||null:null,'attributes':_0x405363[_0xb342('0x1f')]?_0x405363[_0xb342('0x1f')][_0xb342('0x21')]||null:null,'limit':_0x405363[_0xb342('0x1f')]?_0x405363[_0xb342('0x1f')][_0xb342('0x22')]||null:null,'include':_0x405363[_0xb342('0x1f')]?_0x405363[_0xb342('0x1f')]['include']?_['map'](_0x405363['options']['include'],function(_0x31aa8d){return{'model':db[_0x31aa8d[_0xb342('0x23')]],'as':_0x31aa8d['as'],'attributes':_0x31aa8d['attributes'],'include':_0x31aa8d[_0xb342('0x24')]?_[_0xb342('0x25')](_0x31aa8d[_0xb342('0x24')],function(_0x4f17eb){return{'model':db[_0x4f17eb[_0xb342('0x23')]],'as':_0x4f17eb['as'],'attributes':_0x4f17eb[_0xb342('0x21')],'include':_0x4f17eb[_0xb342('0x24')]?_['map'](_0x4f17eb[_0xb342('0x24')],function(_0x8c20bd){return{'model':db[_0x8c20bd[_0xb342('0x23')]],'as':_0x8c20bd['as'],'attributes':_0x8c20bd['attributes']};}):[]};}):[]};}):[]:[]})[_0xb342('0x13')](function(_0x547b70){logger[_0xb342('0x14')](_0xb342('0x26'),_0x405363);logger[_0xb342('0x16')]('GetVoiceExtension',_0x405363,JSON[_0xb342('0x18')](_0x547b70));_0x42b456(_0x547b70);})[_0xb342('0x1d')](function(_0x1e5927){logger['error'](_0xb342('0x26'),_0x1e5927[_0xb342('0x1c')],_0x405363);_0x51a646(_0x5e305b[_0xb342('0x19')](0x1f4,_0x1e5927[_0xb342('0x1c')]));});});}; \ No newline at end of file diff --git a/server/api/voiceExtension/voiceExtension.socket.js b/server/api/voiceExtension/voiceExtension.socket.js index 5c1a29a..7832bd3 100644 --- a/server/api/voiceExtension/voiceExtension.socket.js +++ b/server/api/voiceExtension/voiceExtension.socket.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x419c=['update','emit','removeListener','length','./voiceExtension.events','save','remove'];(function(_0x2bb852,_0x5ec113){var _0x33746f=function(_0x371d98){while(--_0x371d98){_0x2bb852['push'](_0x2bb852['shift']());}};_0x33746f(++_0x5ec113);}(_0x419c,0x123));var _0xc419=function(_0x312b06,_0x5ad05e){_0x312b06=_0x312b06-0x0;var _0x54dd60=_0x419c[_0x312b06];return _0x54dd60;};'use strict';var VoiceExtensionEvents=require(_0xc419('0x0'));var events=[_0xc419('0x1'),_0xc419('0x2'),_0xc419('0x3')];function createListener(_0x3d7a5d,_0x3aba75){return function(_0xc615ed){_0x3aba75[_0xc419('0x4')](_0x3d7a5d,_0xc615ed);};}function removeListener(_0x1f0c53,_0x54909){return function(){VoiceExtensionEvents[_0xc419('0x5')](_0x1f0c53,_0x54909);};}exports['register']=function(_0x213046){for(var _0x2ecdd3=0x0,_0x4373ce=events[_0xc419('0x6')];_0x2ecdd3<_0x4373ce;_0x2ecdd3++){var _0xc74a32=events[_0x2ecdd3];var _0x375d04=createListener('voiceExtension:'+_0xc74a32,_0x213046);VoiceExtensionEvents['on'](_0xc74a32,_0x375d04);}}; \ No newline at end of file +var _0x1458=['save','remove','removeListener','length','voiceExtension:','./voiceExtension.events'];(function(_0x4be0c8,_0x1e529f){var _0x4ebc42=function(_0x185261){while(--_0x185261){_0x4be0c8['push'](_0x4be0c8['shift']());}};_0x4ebc42(++_0x1e529f);}(_0x1458,0x14f));var _0x8145=function(_0x1d9400,_0x3e0a4f){_0x1d9400=_0x1d9400-0x0;var _0x2fcffc=_0x1458[_0x1d9400];return _0x2fcffc;};'use strict';var VoiceExtensionEvents=require(_0x8145('0x0'));var events=[_0x8145('0x1'),_0x8145('0x2'),'update'];function createListener(_0x11353f,_0x4dbff9){return function(_0x154a6c){_0x4dbff9['emit'](_0x11353f,_0x154a6c);};}function removeListener(_0x49e93d,_0x53ba0a){return function(){VoiceExtensionEvents[_0x8145('0x3')](_0x49e93d,_0x53ba0a);};}exports['register']=function(_0x3b8ba1){for(var _0x30dd02=0x0,_0x12ee56=events[_0x8145('0x4')];_0x30dd02<_0x12ee56;_0x30dd02++){var _0x360fd6=events[_0x30dd02];var _0x2cac49=createListener(_0x8145('0x5')+_0x360fd6,_0x3b8ba1);VoiceExtensionEvents['on'](_0x360fd6,_0x2cac49);}}; \ No newline at end of file diff --git a/server/api/voiceMail/index.js b/server/api/voiceMail/index.js index c78a1ac..b2bb00b 100644 --- a/server/api/voiceMail/index.js +++ b/server/api/voiceMail/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x5ab6=['/:id/messages','getMessages','post','create','put','update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','get','isAuthenticated','index','/:id'];(function(_0xc23492,_0x1e9d94){var _0x5638ce=function(_0x445323){while(--_0x445323){_0xc23492['push'](_0xc23492['shift']());}};_0x5638ce(++_0x1e9d94);}(_0x5ab6,0x1d7));var _0x65ab=function(_0x287a1f,_0x31daf6){_0x287a1f=_0x287a1f-0x0;var _0xe1e990=_0x5ab6[_0x287a1f];return _0xe1e990;};'use strict';var multer=require(_0x65ab('0x0'));var util=require(_0x65ab('0x1'));var path=require(_0x65ab('0x2'));var timeout=require(_0x65ab('0x3'));var express=require(_0x65ab('0x4'));var router=express[_0x65ab('0x5')]();var auth=require(_0x65ab('0x6'));var interaction=require(_0x65ab('0x7'));var config=require('../../config/environment');var controller=require('./voiceMail.controller');router[_0x65ab('0x8')]('/',auth[_0x65ab('0x9')](),controller[_0x65ab('0xa')]);router[_0x65ab('0x8')](_0x65ab('0xb'),auth[_0x65ab('0x9')](),controller['show']);router[_0x65ab('0x8')](_0x65ab('0xc'),auth[_0x65ab('0x9')](),controller[_0x65ab('0xd')]);router[_0x65ab('0xe')]('/',auth[_0x65ab('0x9')](),controller[_0x65ab('0xf')]);router[_0x65ab('0x10')]('/:id',auth[_0x65ab('0x9')](),controller[_0x65ab('0x11')]);router[_0x65ab('0x12')](_0x65ab('0xb'),auth[_0x65ab('0x9')](),controller[_0x65ab('0x13')]);module[_0x65ab('0x14')]=router; \ No newline at end of file +var _0x5ad4=['express','Router','../../components/auth/service','../../config/environment','./voiceMail.controller','get','index','/:id','show','/:id/messages','isAuthenticated','getMessages','post','update','destroy','exports','util','connect-timeout'];(function(_0x3ab51d,_0x2fa01d){var _0x29a04e=function(_0x7807b0){while(--_0x7807b0){_0x3ab51d['push'](_0x3ab51d['shift']());}};_0x29a04e(++_0x2fa01d);}(_0x5ad4,0x1d2));var _0x45ad=function(_0x3717b0,_0x12d451){_0x3717b0=_0x3717b0-0x0;var _0x2b01b2=_0x5ad4[_0x3717b0];return _0x2b01b2;};'use strict';var multer=require('multer');var util=require(_0x45ad('0x0'));var path=require('path');var timeout=require(_0x45ad('0x1'));var express=require(_0x45ad('0x2'));var router=express[_0x45ad('0x3')]();var auth=require(_0x45ad('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x45ad('0x5'));var controller=require(_0x45ad('0x6'));router[_0x45ad('0x7')]('/',auth['isAuthenticated'](),controller[_0x45ad('0x8')]);router[_0x45ad('0x7')](_0x45ad('0x9'),auth['isAuthenticated'](),controller[_0x45ad('0xa')]);router[_0x45ad('0x7')](_0x45ad('0xb'),auth[_0x45ad('0xc')](),controller[_0x45ad('0xd')]);router[_0x45ad('0xe')]('/',auth[_0x45ad('0xc')](),controller['create']);router['put'](_0x45ad('0x9'),auth[_0x45ad('0xc')](),controller[_0x45ad('0xf')]);router['delete'](_0x45ad('0x9'),auth['isAuthenticated'](),controller[_0x45ad('0x10')]);module[_0x45ad('0x11')]=router; \ No newline at end of file diff --git a/server/api/voiceMail/voiceMail.attributes.js b/server/api/voiceMail/voiceMail.attributes.js index 76072fb..600de62 100644 --- a/server/api/voiceMail/voiceMail.attributes.js +++ b/server/api/voiceMail/voiceMail.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x9348=['exports','STRING','from-voicemail','contest_mailbox','setDataValue','email','string','trim','ENUM','yes','TINYINT(4)','TIMESTAMP','VIRTUAL','fullname','\x20-\x20','getDataValue','mailbox','sequelize'];(function(_0x45d55e,_0x2fede3){var _0x29812a=function(_0x3c6830){while(--_0x3c6830){_0x45d55e['push'](_0x45d55e['shift']());}};_0x29812a(++_0x2fede3);}(_0x9348,0x10d));var _0x8934=function(_0x20728f,_0x78f852){_0x20728f=_0x20728f-0x0;var _0x3f2de8=_0x9348[_0x20728f];return _0x3f2de8;};'use strict';var Sequelize=require(_0x8934('0x0'));module[_0x8934('0x1')]={'customer_id':{'type':Sequelize[_0x8934('0x2')]},'context':{'type':Sequelize[_0x8934('0x2')],'defaultValue':_0x8934('0x3'),'unique':'contest_mailbox'},'mailbox':{'type':Sequelize[_0x8934('0x2')],'defaultValue':'','allowNull':![],'unique':_0x8934('0x4')},'password':{'type':Sequelize['STRING']},'fullname':{'type':Sequelize[_0x8934('0x2')]},'email':{'type':Sequelize[_0x8934('0x2')],'validate':{'isEmail':!![]},'set':function(_0xefbef9){this[_0x8934('0x5')](_0x8934('0x6'),typeof _0xefbef9===_0x8934('0x7')&&_0xefbef9['trim']()?_0xefbef9[_0x8934('0x8')]():null);}},'pager':{'type':Sequelize[_0x8934('0x2')]},'tz':{'type':Sequelize[_0x8934('0x2')],'defaultValue':'central'},'attach':{'type':Sequelize['ENUM']('yes','no'),'defaultValue':'yes','allowNull':![]},'saycid':{'type':Sequelize[_0x8934('0x9')]('yes','no'),'defaultValue':_0x8934('0xa'),'allowNull':![]},'dialout':{'type':Sequelize[_0x8934('0x2')]},'callback':{'type':Sequelize[_0x8934('0x2')]},'review':{'type':Sequelize[_0x8934('0x9')](_0x8934('0xa'),'no'),'defaultValue':'no','allowNull':![]},'operator':{'type':Sequelize[_0x8934('0x9')](_0x8934('0xa'),'no'),'defaultValue':'no','allowNull':![]},'envelope':{'type':Sequelize[_0x8934('0x9')]('yes','no'),'defaultValue':'no','allowNull':![]},'sayduration':{'type':Sequelize[_0x8934('0x9')](_0x8934('0xa'),'no'),'defaultValue':'no','allowNull':![]},'saydurationm':{'type':_0x8934('0xb'),'defaultValue':0x1,'allowNull':![]},'sendvoicemail':{'type':Sequelize[_0x8934('0x9')](_0x8934('0xa'),'no'),'defaultValue':'no','allowNull':![]},'delete':{'type':Sequelize[_0x8934('0x9')]('yes','no'),'defaultValue':'no','allowNull':![]},'nextaftercmd':{'type':Sequelize[_0x8934('0x9')](_0x8934('0xa'),'no'),'defaultValue':_0x8934('0xa'),'allowNull':![]},'forcename':{'type':Sequelize[_0x8934('0x9')](_0x8934('0xa'),'no'),'defaultValue':'no','allowNull':![]},'forcegreetings':{'type':Sequelize[_0x8934('0x9')](_0x8934('0xa'),'no'),'defaultValue':'no','allowNull':![]},'hidefromdir':{'type':Sequelize[_0x8934('0x9')]('yes','no'),'defaultValue':_0x8934('0xa'),'allowNull':![]},'stamp':{'type':_0x8934('0xc')},'emailsubject':{'type':Sequelize[_0x8934('0x2')]},'emailbody':{'type':Sequelize['STRING']},'maxsecs':{'type':Sequelize['INTEGER'](0xff),'defaultValue':0xb4,'allowNull':![]},'maxmsg':{'type':Sequelize['INTEGER'](0xff),'defaultValue':0x64,'allowNull':![]},'name':{'type':Sequelize[_0x8934('0xd')],'get':function(){return this['getDataValue'](_0x8934('0xe'))+_0x8934('0xf')+this[_0x8934('0x10')](_0x8934('0x11'));}}}; \ No newline at end of file +var _0xb10b=['ENUM','yes','TINYINT(4)','TIMESTAMP','INTEGER','VIRTUAL','getDataValue','fullname','\x20-\x20','mailbox','sequelize','STRING','from-voicemail','contest_mailbox','email','string','trim','central'];(function(_0x2a276d,_0x482b0c){var _0x2914cd=function(_0x452b8b){while(--_0x452b8b){_0x2a276d['push'](_0x2a276d['shift']());}};_0x2914cd(++_0x482b0c);}(_0xb10b,0x12a));var _0xbb10=function(_0x28bea5,_0x4c0c43){_0x28bea5=_0x28bea5-0x0;var _0x33194c=_0xb10b[_0x28bea5];return _0x33194c;};'use strict';var Sequelize=require(_0xbb10('0x0'));module['exports']={'customer_id':{'type':Sequelize[_0xbb10('0x1')]},'context':{'type':Sequelize[_0xbb10('0x1')],'defaultValue':_0xbb10('0x2'),'unique':'contest_mailbox'},'mailbox':{'type':Sequelize[_0xbb10('0x1')],'defaultValue':'','allowNull':![],'unique':_0xbb10('0x3')},'password':{'type':Sequelize[_0xbb10('0x1')]},'fullname':{'type':Sequelize[_0xbb10('0x1')]},'email':{'type':Sequelize[_0xbb10('0x1')],'validate':{'isEmail':!![]},'set':function(_0x312b72){this['setDataValue'](_0xbb10('0x4'),typeof _0x312b72===_0xbb10('0x5')&&_0x312b72['trim']()?_0x312b72[_0xbb10('0x6')]():null);}},'pager':{'type':Sequelize[_0xbb10('0x1')]},'tz':{'type':Sequelize[_0xbb10('0x1')],'defaultValue':_0xbb10('0x7')},'attach':{'type':Sequelize[_0xbb10('0x8')](_0xbb10('0x9'),'no'),'defaultValue':_0xbb10('0x9'),'allowNull':![]},'saycid':{'type':Sequelize[_0xbb10('0x8')]('yes','no'),'defaultValue':'yes','allowNull':![]},'dialout':{'type':Sequelize[_0xbb10('0x1')]},'callback':{'type':Sequelize[_0xbb10('0x1')]},'review':{'type':Sequelize[_0xbb10('0x8')]('yes','no'),'defaultValue':'no','allowNull':![]},'operator':{'type':Sequelize[_0xbb10('0x8')]('yes','no'),'defaultValue':'no','allowNull':![]},'envelope':{'type':Sequelize[_0xbb10('0x8')](_0xbb10('0x9'),'no'),'defaultValue':'no','allowNull':![]},'sayduration':{'type':Sequelize[_0xbb10('0x8')](_0xbb10('0x9'),'no'),'defaultValue':'no','allowNull':![]},'saydurationm':{'type':_0xbb10('0xa'),'defaultValue':0x1,'allowNull':![]},'sendvoicemail':{'type':Sequelize[_0xbb10('0x8')]('yes','no'),'defaultValue':'no','allowNull':![]},'delete':{'type':Sequelize[_0xbb10('0x8')](_0xbb10('0x9'),'no'),'defaultValue':'no','allowNull':![]},'nextaftercmd':{'type':Sequelize[_0xbb10('0x8')](_0xbb10('0x9'),'no'),'defaultValue':_0xbb10('0x9'),'allowNull':![]},'forcename':{'type':Sequelize[_0xbb10('0x8')](_0xbb10('0x9'),'no'),'defaultValue':'no','allowNull':![]},'forcegreetings':{'type':Sequelize[_0xbb10('0x8')](_0xbb10('0x9'),'no'),'defaultValue':'no','allowNull':![]},'hidefromdir':{'type':Sequelize[_0xbb10('0x8')]('yes','no'),'defaultValue':_0xbb10('0x9'),'allowNull':![]},'stamp':{'type':_0xbb10('0xb')},'emailsubject':{'type':Sequelize[_0xbb10('0x1')]},'emailbody':{'type':Sequelize[_0xbb10('0x1')]},'maxsecs':{'type':Sequelize[_0xbb10('0xc')](0xff),'defaultValue':0xb4,'allowNull':![]},'maxmsg':{'type':Sequelize[_0xbb10('0xc')](0xff),'defaultValue':0x64,'allowNull':![]},'name':{'type':Sequelize[_0xbb10('0xd')],'get':function(){return this[_0xbb10('0xe')](_0xbb10('0xf'))+_0xbb10('0x10')+this['getDataValue'](_0xbb10('0x11'));}}}; \ No newline at end of file diff --git a/server/api/voiceMail/voiceMail.controller.js b/server/api/voiceMail/voiceMail.controller.js index 2dbe9ef..6c17923 100644 --- a/server/api/voiceMail/voiceMail.controller.js +++ b/server/api/voiceMail/voiceMail.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x7a75=['model','query','keys','filters','intersection','attributes','fields','length','hasOwnProperty','order','sort','where','pick','VIRTUAL','filter','merge','options','count','includeAll','include','findAll','rows','params','find','create','user','Unable\x20to\x20retrieve\x20the\x20current\x20user','role','autoAssociation','catch','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','body','getMessages','findOne','VoiceMailMessage','nolimit','html-pdf','eml-format','rimraf','fast-json-patch','request-promise','bluebird','util','path','to-csv','ejs','lodash','crypto','querystring','papaparse','ioredis','../../components/parsers/advancedSearch','../../config/logger','api','../../config/utils','../../config/environment','sendStatus','status','json','offset','limit','Content-Range','update','then','get','Voicemails','UserProfileResource','destroy','end','error','stack','name','send','index','map','VoiceMail','rawAttributes','fieldName','type','key'];(function(_0x387022,_0x30888c){var _0x414c5c=function(_0xbd6f1d){while(--_0xbd6f1d){_0x387022['push'](_0x387022['shift']());}};_0x414c5c(++_0x30888c);}(_0x7a75,0x164));var _0x57a7=function(_0x9e5c51,_0x3f76af){_0x9e5c51=_0x9e5c51-0x0;var _0x13e427=_0x7a75[_0x9e5c51];return _0x13e427;};'use strict';var pdf=require(_0x57a7('0x0'));var emlformat=require(_0x57a7('0x1'));var rimraf=require(_0x57a7('0x2'));var zipdir=require('zip-dir');var jsonpatch=require(_0x57a7('0x3'));var rp=require(_0x57a7('0x4'));var moment=require('moment');var BPromise=require(_0x57a7('0x5'));var Mustache=require('mustache');var util=require(_0x57a7('0x6'));var path=require(_0x57a7('0x7'));var sox=require('sox');var csv=require(_0x57a7('0x8'));var ejs=require(_0x57a7('0x9'));var fs=require('fs');var _=require(_0x57a7('0xa'));var squel=require('squel');var crypto=require(_0x57a7('0xb'));var jsforce=require('jsforce');var deskjs=require('desk.js');var toCsv=require(_0x57a7('0x8'));var querystring=require(_0x57a7('0xc'));var Papa=require(_0x57a7('0xd'));var Redis=require(_0x57a7('0xe'));var authService=require('../../components/auth/service');var qs=require('../../components/parsers/qs');var as=require(_0x57a7('0xf'));var hardwareService=require('../../config/license/hardware');var logger=require(_0x57a7('0x10'))(_0x57a7('0x11'));var utils=require(_0x57a7('0x12'));var config=require(_0x57a7('0x13'));var db=require('../../mysqldb')['db'];function respondWithStatusCode(_0x5b95fd,_0x44d6c1){_0x44d6c1=_0x44d6c1||0xcc;return function(_0x326c9d){if(_0x326c9d){return _0x5b95fd[_0x57a7('0x14')](_0x44d6c1);}return _0x5b95fd[_0x57a7('0x15')](_0x44d6c1)['end']();};}function respondWithResult(_0x10e587,_0x5348c3){_0x5348c3=_0x5348c3||0xc8;return function(_0x236571){if(_0x236571){return _0x10e587[_0x57a7('0x15')](_0x5348c3)[_0x57a7('0x16')](_0x236571);}};}function respondWithFilteredResult(_0x19ef31,_0x20fd61){return function(_0x58c6b5){if(_0x58c6b5){var _0x146824=_0x58c6b5['count'],_0x3d2b55=_0x20fd61[_0x57a7('0x17')],_0x30373d=_0x20fd61[_0x57a7('0x17')]+_0x20fd61[_0x57a7('0x18')],_0x24c5d5;if(_0x30373d>=_0x146824){_0x30373d=_0x146824;_0x24c5d5=0xc8;}else{_0x24c5d5=0xce;}_0x19ef31[_0x57a7('0x15')](_0x24c5d5);return _0x19ef31['set'](_0x57a7('0x19'),_0x3d2b55+'-'+_0x30373d+'/'+_0x146824)[_0x57a7('0x16')](_0x58c6b5);}return null;};}function patchUpdates(_0x4cabb5){return function(_0x1a0cbc){try{jsonpatch['apply'](_0x1a0cbc,_0x4cabb5,!![]);}catch(_0x391600){return BPromise['reject'](_0x391600);}return _0x1a0cbc['save']();};}function saveUpdates(_0xb6c9aa,_0x2dc229){return function(_0x55dad3){if(_0x55dad3){return _0x55dad3[_0x57a7('0x1a')](_0xb6c9aa)[_0x57a7('0x1b')](function(_0x15552a){return _0x15552a;});}return null;};}function removeEntity(_0x2fa149,_0x9d42c1){return function(_0x47c4b3){if(_0x47c4b3){return _0x47c4b3['destroy']()[_0x57a7('0x1b')](function(){var _0x4e4763=_0x47c4b3[_0x57a7('0x1c')]({'plain':!![]});var _0x3875b9=_0x57a7('0x1d');return db[_0x57a7('0x1e')][_0x57a7('0x1f')]({'where':{'type':_0x3875b9,'resourceId':_0x4e4763['id']}})[_0x57a7('0x1b')](function(){return _0x47c4b3;});})['then'](function(){_0x2fa149[_0x57a7('0x15')](0xcc)[_0x57a7('0x20')]();});}};}function handleEntityNotFound(_0x5bb8ec,_0x4842f0){return function(_0x5a5df8){if(!_0x5a5df8){_0x5bb8ec[_0x57a7('0x14')](0x194);}return _0x5a5df8;};}function handleError(_0xcf091,_0x5261f9){_0x5261f9=_0x5261f9||0x1f4;return function(_0x5030c8){logger[_0x57a7('0x21')](_0x5030c8[_0x57a7('0x22')]);if(_0x5030c8[_0x57a7('0x23')]){delete _0x5030c8['name'];}_0xcf091[_0x57a7('0x15')](_0x5261f9)[_0x57a7('0x24')](_0x5030c8);};}exports[_0x57a7('0x25')]=function(_0x9138c,_0x50e5e5){var _0x692c18={},_0x176b89={},_0x4edbfa={'count':0x0,'rows':[]};var _0x50589b=_[_0x57a7('0x26')](db[_0x57a7('0x27')][_0x57a7('0x28')],function(_0x2ed1a7){return{'name':_0x2ed1a7[_0x57a7('0x29')],'type':_0x2ed1a7[_0x57a7('0x2a')][_0x57a7('0x2b')]};});_0x176b89[_0x57a7('0x2c')]=_[_0x57a7('0x26')](_0x50589b,_0x57a7('0x23'));_0x176b89[_0x57a7('0x2d')]=_[_0x57a7('0x2e')](_0x9138c[_0x57a7('0x2d')]);_0x176b89[_0x57a7('0x2f')]=_[_0x57a7('0x30')](_0x176b89[_0x57a7('0x2c')],_0x176b89['query']);_0x692c18[_0x57a7('0x31')]=_[_0x57a7('0x30')](_0x176b89[_0x57a7('0x2c')],qs[_0x57a7('0x32')](_0x9138c[_0x57a7('0x2d')]['fields']));_0x692c18['attributes']=_0x692c18[_0x57a7('0x31')][_0x57a7('0x33')]?_0x692c18[_0x57a7('0x31')]:_0x176b89[_0x57a7('0x2c')];if(!_0x9138c[_0x57a7('0x2d')][_0x57a7('0x34')]('nolimit')){_0x692c18[_0x57a7('0x18')]=qs[_0x57a7('0x18')](_0x9138c['query']['limit']);_0x692c18[_0x57a7('0x17')]=qs['offset'](_0x9138c['query'][_0x57a7('0x17')]);}_0x692c18[_0x57a7('0x35')]=qs[_0x57a7('0x36')](_0x9138c['query']['sort']);_0x692c18[_0x57a7('0x37')]=qs['filters'](_[_0x57a7('0x38')](_0x9138c['query'],_0x176b89[_0x57a7('0x2f')]),_0x50589b);if(_0x9138c['query']['filter']){_0x692c18[_0x57a7('0x37')]=_['merge'](_0x692c18[_0x57a7('0x37')],{'$or':_[_0x57a7('0x26')](_0x50589b,function(_0x3ccd09){if(_0x3ccd09[_0x57a7('0x2a')]!==_0x57a7('0x39')){var _0x562321={};_0x562321[_0x3ccd09[_0x57a7('0x23')]]={'$like':'%'+_0x9138c[_0x57a7('0x2d')][_0x57a7('0x3a')]+'%'};return _0x562321;}})});}_0x692c18=_[_0x57a7('0x3b')]({},_0x692c18,_0x9138c[_0x57a7('0x3c')]);var _0x593a64={'where':_0x692c18['where']};return db[_0x57a7('0x27')][_0x57a7('0x3d')](_0x593a64)['then'](function(_0x5e5aeb){_0x4edbfa['count']=_0x5e5aeb;if(_0x9138c[_0x57a7('0x2d')][_0x57a7('0x3e')]){_0x692c18[_0x57a7('0x3f')]=[{'all':!![]}];}return db[_0x57a7('0x27')][_0x57a7('0x40')](_0x692c18);})[_0x57a7('0x1b')](function(_0x4e07be){_0x4edbfa[_0x57a7('0x41')]=_0x4e07be;return _0x4edbfa;})[_0x57a7('0x1b')](respondWithFilteredResult(_0x50e5e5,_0x692c18))['catch'](handleError(_0x50e5e5,null));};exports['show']=function(_0x16a175,_0x4acaa7){var _0x4b4220={'raw':!![],'where':{'id':_0x16a175[_0x57a7('0x42')]['id']}},_0x3cc895={};_0x3cc895[_0x57a7('0x2c')]=_[_0x57a7('0x2e')](db[_0x57a7('0x27')]['rawAttributes']);_0x3cc895[_0x57a7('0x2d')]=_[_0x57a7('0x2e')](_0x16a175[_0x57a7('0x2d')]);_0x3cc895[_0x57a7('0x2f')]=_[_0x57a7('0x30')](_0x3cc895[_0x57a7('0x2c')],_0x3cc895[_0x57a7('0x2d')]);_0x4b4220[_0x57a7('0x31')]=_[_0x57a7('0x30')](_0x3cc895[_0x57a7('0x2c')],qs[_0x57a7('0x32')](_0x16a175[_0x57a7('0x2d')][_0x57a7('0x32')]));_0x4b4220[_0x57a7('0x31')]=_0x4b4220[_0x57a7('0x31')][_0x57a7('0x33')]?_0x4b4220[_0x57a7('0x31')]:_0x3cc895[_0x57a7('0x2c')];if(_0x16a175['query'][_0x57a7('0x3e')]){_0x4b4220[_0x57a7('0x3f')]=[{'all':!![]}];}_0x4b4220=_['merge']({},_0x4b4220,_0x16a175[_0x57a7('0x3c')]);return db[_0x57a7('0x27')][_0x57a7('0x43')](_0x4b4220)[_0x57a7('0x1b')](handleEntityNotFound(_0x4acaa7,null))[_0x57a7('0x1b')](respondWithResult(_0x4acaa7,null))['catch'](handleError(_0x4acaa7,null));};exports[_0x57a7('0x44')]=function(_0x3cab0f,_0x561fd7){return db['VoiceMail'][_0x57a7('0x44')](_0x3cab0f['body'],{})[_0x57a7('0x1b')](function(_0x2b6e26){var _0x16b245=_0x3cab0f[_0x57a7('0x45')][_0x57a7('0x1c')]({'plain':!![]});if(!_0x16b245)throw new Error(_0x57a7('0x46'));if(_0x16b245[_0x57a7('0x47')]==='user'){var _0x3ee843=_0x2b6e26[_0x57a7('0x1c')]({'plain':!![]});var _0x3a69ed=_0x57a7('0x1d');return db['UserProfileSection'][_0x57a7('0x43')]({'where':{'name':_0x3a69ed,'userProfileId':_0x16b245['userProfileId']},'raw':!![]})[_0x57a7('0x1b')](function(_0xb54fb0){if(_0xb54fb0&&_0xb54fb0[_0x57a7('0x48')]===0x0){return db[_0x57a7('0x1e')]['create']({'name':_0x3ee843[_0x57a7('0x23')],'resourceId':_0x3ee843['id'],'type':_0xb54fb0[_0x57a7('0x23')],'sectionId':_0xb54fb0['id']},{})[_0x57a7('0x1b')](function(){return _0x2b6e26;});}else{return _0x2b6e26;}})[_0x57a7('0x49')](function(_0xe21ee8){logger[_0x57a7('0x21')](_0x57a7('0x4a'),_0xe21ee8);throw _0xe21ee8;});}return _0x2b6e26;})['then'](respondWithResult(_0x561fd7,0xc9))[_0x57a7('0x49')](handleError(_0x561fd7,null));};exports[_0x57a7('0x1a')]=function(_0x28e7d1,_0x5114d4){if(_0x28e7d1[_0x57a7('0x4b')]['id']){delete _0x28e7d1[_0x57a7('0x4b')]['id'];}return db[_0x57a7('0x27')]['find']({'where':{'id':_0x28e7d1[_0x57a7('0x42')]['id']}})[_0x57a7('0x1b')](handleEntityNotFound(_0x5114d4,null))[_0x57a7('0x1b')](saveUpdates(_0x28e7d1['body'],null))['then'](respondWithResult(_0x5114d4,null))[_0x57a7('0x49')](handleError(_0x5114d4,null));};exports[_0x57a7('0x1f')]=function(_0x3e71d1,_0x48a906){return db[_0x57a7('0x27')][_0x57a7('0x43')]({'where':{'id':_0x3e71d1[_0x57a7('0x42')]['id']}})['then'](handleEntityNotFound(_0x48a906,null))[_0x57a7('0x1b')](removeEntity(_0x48a906,null))[_0x57a7('0x49')](handleError(_0x48a906,null));};exports[_0x57a7('0x4c')]=function(_0x403846,_0x4bf5e2,_0x4c135c){return db[_0x57a7('0x27')][_0x57a7('0x4d')]({'where':{'id':_0x403846[_0x57a7('0x42')]['id']}})[_0x57a7('0x1b')](handleEntityNotFound(_0x4bf5e2,null))['then'](function(_0x510526){var _0xfc9125;var _0x7efb48={},_0x4a2b5c={};_0x4a2b5c[_0x57a7('0x2c')]=_[_0x57a7('0x2e')](db[_0x57a7('0x4e')][_0x57a7('0x28')]);_0x4a2b5c['query']=_['keys'](_0x403846[_0x57a7('0x2d')]);_0x4a2b5c['filters']=_[_0x57a7('0x30')](_0x4a2b5c['model'],_0x4a2b5c[_0x57a7('0x2d')]);_0x7efb48[_0x57a7('0x31')]=_[_0x57a7('0x30')](_0x4a2b5c['model'],qs[_0x57a7('0x32')](_0x403846[_0x57a7('0x2d')]['fields']));_0x7efb48[_0x57a7('0x31')]=_0x7efb48[_0x57a7('0x31')][_0x57a7('0x33')]?_0x7efb48[_0x57a7('0x31')]:_0x4a2b5c[_0x57a7('0x2c')];if(!_0x403846[_0x57a7('0x2d')][_0x57a7('0x34')](_0x57a7('0x4f'))){_0x7efb48[_0x57a7('0x18')]=qs['limit'](_0x403846['query']['limit']);_0x7efb48['offset']=qs['offset'](_0x403846[_0x57a7('0x2d')]['offset']);}_0x7efb48[_0x57a7('0x35')]=qs[_0x57a7('0x36')](_0x403846['query'][_0x57a7('0x36')]);_0x7efb48[_0x57a7('0x37')]=qs[_0x57a7('0x2f')](_[_0x57a7('0x38')](_0x403846['query'],_0x4a2b5c[_0x57a7('0x2f')]));if(_0x403846['query'][_0x57a7('0x3a')]){_0x7efb48['where']=_[_0x57a7('0x3b')](_0x7efb48[_0x57a7('0x37')],{'$or':_[_0x57a7('0x26')](_0x7efb48[_0x57a7('0x31')],function(_0x5e4346){var _0x590c7f={};_0x590c7f[_0x5e4346]={'$like':'%'+_0x403846[_0x57a7('0x2d')][_0x57a7('0x3a')]+'%'};return _0x590c7f;})});}_0x7efb48['where']=_[_0x57a7('0x3b')](_0x7efb48[_0x57a7('0x37')],{'mailboxuser':_0x510526['mailbox']});_0x7efb48=_[_0x57a7('0x3b')]({},_0x7efb48,_0x403846[_0x57a7('0x3c')]);return db['VoiceMailMessage']['findAndCountAll'](_0x7efb48)[_0x57a7('0x1b')](respondWithFilteredResult(_0x4bf5e2,_0x7efb48));})[_0x57a7('0x49')](handleError(_0x4bf5e2,null));}; \ No newline at end of file +var _0x0906=['ejs','lodash','squel','jsforce','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','api','../../config/utils','../../config/environment','sendStatus','status','end','count','offset','limit','set','Content-Range','apply','save','update','destroy','then','get','UserProfileResource','name','map','VoiceMail','rawAttributes','type','key','model','query','intersection','attributes','fields','length','nolimit','sort','where','filters','pick','filter','merge','options','includeAll','include','findAll','rows','catch','params','keys','create','body','user','Unable\x20to\x20retrieve\x20the\x20current\x20user','role','Voicemails','UserProfileSection','find','userProfileId','autoAssociation','error','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','getMessages','findOne','VoiceMailMessage','hasOwnProperty','order','mailbox','eml-format','zip-dir','fast-json-patch','request-promise','moment','mustache','util','path'];(function(_0xa464c9,_0x7c86d8){var _0x3d73c4=function(_0x5c2056){while(--_0x5c2056){_0xa464c9['push'](_0xa464c9['shift']());}};_0x3d73c4(++_0x7c86d8);}(_0x0906,0x9a));var _0x6090=function(_0x50c780,_0x13200e){_0x50c780=_0x50c780-0x0;var _0x9c6841=_0x0906[_0x50c780];return _0x9c6841;};'use strict';var pdf=require('html-pdf');var emlformat=require(_0x6090('0x0'));var rimraf=require('rimraf');var zipdir=require(_0x6090('0x1'));var jsonpatch=require(_0x6090('0x2'));var rp=require(_0x6090('0x3'));var moment=require(_0x6090('0x4'));var BPromise=require('bluebird');var Mustache=require(_0x6090('0x5'));var util=require(_0x6090('0x6'));var path=require(_0x6090('0x7'));var sox=require('sox');var csv=require('to-csv');var ejs=require(_0x6090('0x8'));var fs=require('fs');var _=require(_0x6090('0x9'));var squel=require(_0x6090('0xa'));var crypto=require('crypto');var jsforce=require(_0x6090('0xb'));var deskjs=require(_0x6090('0xc'));var toCsv=require('to-csv');var querystring=require(_0x6090('0xd'));var Papa=require(_0x6090('0xe'));var Redis=require(_0x6090('0xf'));var authService=require(_0x6090('0x10'));var qs=require(_0x6090('0x11'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require('../../config/license/hardware');var logger=require('../../config/logger')(_0x6090('0x12'));var utils=require(_0x6090('0x13'));var config=require(_0x6090('0x14'));var db=require('../../mysqldb')['db'];function respondWithStatusCode(_0x551025,_0x45ac86){_0x45ac86=_0x45ac86||0xcc;return function(_0x4a8767){if(_0x4a8767){return _0x551025[_0x6090('0x15')](_0x45ac86);}return _0x551025[_0x6090('0x16')](_0x45ac86)[_0x6090('0x17')]();};}function respondWithResult(_0x15f758,_0x338c70){_0x338c70=_0x338c70||0xc8;return function(_0x3a1087){if(_0x3a1087){return _0x15f758[_0x6090('0x16')](_0x338c70)['json'](_0x3a1087);}};}function respondWithFilteredResult(_0x15dacb,_0x363187){return function(_0x16eebd){if(_0x16eebd){var _0x49cc96=_0x16eebd[_0x6090('0x18')],_0x25be5c=_0x363187[_0x6090('0x19')],_0x37db27=_0x363187[_0x6090('0x19')]+_0x363187[_0x6090('0x1a')],_0x48ad97;if(_0x37db27>=_0x49cc96){_0x37db27=_0x49cc96;_0x48ad97=0xc8;}else{_0x48ad97=0xce;}_0x15dacb[_0x6090('0x16')](_0x48ad97);return _0x15dacb[_0x6090('0x1b')](_0x6090('0x1c'),_0x25be5c+'-'+_0x37db27+'/'+_0x49cc96)['json'](_0x16eebd);}return null;};}function patchUpdates(_0x4cbaf6){return function(_0xb297df){try{jsonpatch[_0x6090('0x1d')](_0xb297df,_0x4cbaf6,!![]);}catch(_0x44943f){return BPromise['reject'](_0x44943f);}return _0xb297df[_0x6090('0x1e')]();};}function saveUpdates(_0x523e24,_0x5e5267){return function(_0x53075d){if(_0x53075d){return _0x53075d[_0x6090('0x1f')](_0x523e24)['then'](function(_0x271178){return _0x271178;});}return null;};}function removeEntity(_0x17d1fc,_0x3cf577){return function(_0x59a64f){if(_0x59a64f){return _0x59a64f[_0x6090('0x20')]()[_0x6090('0x21')](function(){var _0x5e8f3a=_0x59a64f[_0x6090('0x22')]({'plain':!![]});var _0x20d32a='Voicemails';return db[_0x6090('0x23')][_0x6090('0x20')]({'where':{'type':_0x20d32a,'resourceId':_0x5e8f3a['id']}})[_0x6090('0x21')](function(){return _0x59a64f;});})[_0x6090('0x21')](function(){_0x17d1fc['status'](0xcc)['end']();});}};}function handleEntityNotFound(_0x25581e,_0x2ffcbe){return function(_0x3c50f1){if(!_0x3c50f1){_0x25581e[_0x6090('0x15')](0x194);}return _0x3c50f1;};}function handleError(_0x412bf6,_0x43d0ee){_0x43d0ee=_0x43d0ee||0x1f4;return function(_0x503687){logger['error'](_0x503687['stack']);if(_0x503687[_0x6090('0x24')]){delete _0x503687[_0x6090('0x24')];}_0x412bf6[_0x6090('0x16')](_0x43d0ee)['send'](_0x503687);};}exports['index']=function(_0x5e855f,_0x44df5d){var _0x52fb68={},_0x186440={},_0x304077={'count':0x0,'rows':[]};var _0x2b76fe=_[_0x6090('0x25')](db[_0x6090('0x26')][_0x6090('0x27')],function(_0x24507d){return{'name':_0x24507d['fieldName'],'type':_0x24507d[_0x6090('0x28')][_0x6090('0x29')]};});_0x186440[_0x6090('0x2a')]=_[_0x6090('0x25')](_0x2b76fe,_0x6090('0x24'));_0x186440['query']=_['keys'](_0x5e855f[_0x6090('0x2b')]);_0x186440['filters']=_[_0x6090('0x2c')](_0x186440['model'],_0x186440[_0x6090('0x2b')]);_0x52fb68[_0x6090('0x2d')]=_[_0x6090('0x2c')](_0x186440[_0x6090('0x2a')],qs['fields'](_0x5e855f[_0x6090('0x2b')][_0x6090('0x2e')]));_0x52fb68[_0x6090('0x2d')]=_0x52fb68[_0x6090('0x2d')][_0x6090('0x2f')]?_0x52fb68[_0x6090('0x2d')]:_0x186440[_0x6090('0x2a')];if(!_0x5e855f[_0x6090('0x2b')]['hasOwnProperty'](_0x6090('0x30'))){_0x52fb68[_0x6090('0x1a')]=qs[_0x6090('0x1a')](_0x5e855f[_0x6090('0x2b')]['limit']);_0x52fb68[_0x6090('0x19')]=qs[_0x6090('0x19')](_0x5e855f['query'][_0x6090('0x19')]);}_0x52fb68['order']=qs[_0x6090('0x31')](_0x5e855f['query'][_0x6090('0x31')]);_0x52fb68[_0x6090('0x32')]=qs[_0x6090('0x33')](_[_0x6090('0x34')](_0x5e855f['query'],_0x186440['filters']),_0x2b76fe);if(_0x5e855f['query'][_0x6090('0x35')]){_0x52fb68[_0x6090('0x32')]=_[_0x6090('0x36')](_0x52fb68[_0x6090('0x32')],{'$or':_[_0x6090('0x25')](_0x2b76fe,function(_0xbacc52){if(_0xbacc52[_0x6090('0x28')]!=='VIRTUAL'){var _0x369e05={};_0x369e05[_0xbacc52[_0x6090('0x24')]]={'$like':'%'+_0x5e855f[_0x6090('0x2b')]['filter']+'%'};return _0x369e05;}})});}_0x52fb68=_[_0x6090('0x36')]({},_0x52fb68,_0x5e855f[_0x6090('0x37')]);var _0x385551={'where':_0x52fb68[_0x6090('0x32')]};return db[_0x6090('0x26')][_0x6090('0x18')](_0x385551)[_0x6090('0x21')](function(_0x46c566){_0x304077['count']=_0x46c566;if(_0x5e855f[_0x6090('0x2b')][_0x6090('0x38')]){_0x52fb68[_0x6090('0x39')]=[{'all':!![]}];}return db[_0x6090('0x26')][_0x6090('0x3a')](_0x52fb68);})[_0x6090('0x21')](function(_0x584782){_0x304077[_0x6090('0x3b')]=_0x584782;return _0x304077;})['then'](respondWithFilteredResult(_0x44df5d,_0x52fb68))[_0x6090('0x3c')](handleError(_0x44df5d,null));};exports['show']=function(_0x579216,_0x238290){var _0x32d356={'raw':!![],'where':{'id':_0x579216[_0x6090('0x3d')]['id']}},_0x5e21b1={};_0x5e21b1[_0x6090('0x2a')]=_[_0x6090('0x3e')](db['VoiceMail'][_0x6090('0x27')]);_0x5e21b1[_0x6090('0x2b')]=_['keys'](_0x579216[_0x6090('0x2b')]);_0x5e21b1['filters']=_[_0x6090('0x2c')](_0x5e21b1[_0x6090('0x2a')],_0x5e21b1['query']);_0x32d356[_0x6090('0x2d')]=_[_0x6090('0x2c')](_0x5e21b1[_0x6090('0x2a')],qs['fields'](_0x579216[_0x6090('0x2b')][_0x6090('0x2e')]));_0x32d356[_0x6090('0x2d')]=_0x32d356['attributes'][_0x6090('0x2f')]?_0x32d356[_0x6090('0x2d')]:_0x5e21b1[_0x6090('0x2a')];if(_0x579216['query'][_0x6090('0x38')]){_0x32d356[_0x6090('0x39')]=[{'all':!![]}];}_0x32d356=_[_0x6090('0x36')]({},_0x32d356,_0x579216[_0x6090('0x37')]);return db[_0x6090('0x26')]['find'](_0x32d356)['then'](handleEntityNotFound(_0x238290,null))[_0x6090('0x21')](respondWithResult(_0x238290,null))[_0x6090('0x3c')](handleError(_0x238290,null));};exports[_0x6090('0x3f')]=function(_0x4e4558,_0x402d95){return db[_0x6090('0x26')][_0x6090('0x3f')](_0x4e4558[_0x6090('0x40')],{})[_0x6090('0x21')](function(_0x131c5d){var _0x4937b4=_0x4e4558[_0x6090('0x41')][_0x6090('0x22')]({'plain':!![]});if(!_0x4937b4)throw new Error(_0x6090('0x42'));if(_0x4937b4[_0x6090('0x43')]===_0x6090('0x41')){var _0xa9da0b=_0x131c5d[_0x6090('0x22')]({'plain':!![]});var _0x578046=_0x6090('0x44');return db[_0x6090('0x45')][_0x6090('0x46')]({'where':{'name':_0x578046,'userProfileId':_0x4937b4[_0x6090('0x47')]},'raw':!![]})['then'](function(_0x580ba6){if(_0x580ba6&&_0x580ba6[_0x6090('0x48')]===0x0){return db[_0x6090('0x23')][_0x6090('0x3f')]({'name':_0xa9da0b['name'],'resourceId':_0xa9da0b['id'],'type':_0x580ba6[_0x6090('0x24')],'sectionId':_0x580ba6['id']},{})[_0x6090('0x21')](function(){return _0x131c5d;});}else{return _0x131c5d;}})[_0x6090('0x3c')](function(_0x2b4d0e){logger[_0x6090('0x49')](_0x6090('0x4a'),_0x2b4d0e);throw _0x2b4d0e;});}return _0x131c5d;})['then'](respondWithResult(_0x402d95,0xc9))[_0x6090('0x3c')](handleError(_0x402d95,null));};exports[_0x6090('0x1f')]=function(_0x15859b,_0x5baf81){if(_0x15859b[_0x6090('0x40')]['id']){delete _0x15859b[_0x6090('0x40')]['id'];}return db[_0x6090('0x26')]['find']({'where':{'id':_0x15859b[_0x6090('0x3d')]['id']}})[_0x6090('0x21')](handleEntityNotFound(_0x5baf81,null))[_0x6090('0x21')](saveUpdates(_0x15859b[_0x6090('0x40')],null))[_0x6090('0x21')](respondWithResult(_0x5baf81,null))[_0x6090('0x3c')](handleError(_0x5baf81,null));};exports['destroy']=function(_0x1d16d3,_0x5d143c){return db[_0x6090('0x26')][_0x6090('0x46')]({'where':{'id':_0x1d16d3['params']['id']}})[_0x6090('0x21')](handleEntityNotFound(_0x5d143c,null))[_0x6090('0x21')](removeEntity(_0x5d143c,null))[_0x6090('0x3c')](handleError(_0x5d143c,null));};exports[_0x6090('0x4b')]=function(_0x2b0bb0,_0x4ab41f,_0x4af4d9){return db[_0x6090('0x26')][_0x6090('0x4c')]({'where':{'id':_0x2b0bb0[_0x6090('0x3d')]['id']}})[_0x6090('0x21')](handleEntityNotFound(_0x4ab41f,null))[_0x6090('0x21')](function(_0x4e71b3){var _0x5929c9;var _0x35dcee={},_0x3c337e={};_0x3c337e[_0x6090('0x2a')]=_[_0x6090('0x3e')](db[_0x6090('0x4d')][_0x6090('0x27')]);_0x3c337e[_0x6090('0x2b')]=_[_0x6090('0x3e')](_0x2b0bb0[_0x6090('0x2b')]);_0x3c337e[_0x6090('0x33')]=_['intersection'](_0x3c337e[_0x6090('0x2a')],_0x3c337e[_0x6090('0x2b')]);_0x35dcee[_0x6090('0x2d')]=_[_0x6090('0x2c')](_0x3c337e[_0x6090('0x2a')],qs['fields'](_0x2b0bb0['query'][_0x6090('0x2e')]));_0x35dcee[_0x6090('0x2d')]=_0x35dcee[_0x6090('0x2d')]['length']?_0x35dcee['attributes']:_0x3c337e[_0x6090('0x2a')];if(!_0x2b0bb0[_0x6090('0x2b')][_0x6090('0x4e')](_0x6090('0x30'))){_0x35dcee['limit']=qs[_0x6090('0x1a')](_0x2b0bb0[_0x6090('0x2b')]['limit']);_0x35dcee[_0x6090('0x19')]=qs[_0x6090('0x19')](_0x2b0bb0[_0x6090('0x2b')][_0x6090('0x19')]);}_0x35dcee[_0x6090('0x4f')]=qs['sort'](_0x2b0bb0[_0x6090('0x2b')][_0x6090('0x31')]);_0x35dcee[_0x6090('0x32')]=qs[_0x6090('0x33')](_['pick'](_0x2b0bb0[_0x6090('0x2b')],_0x3c337e[_0x6090('0x33')]));if(_0x2b0bb0[_0x6090('0x2b')]['filter']){_0x35dcee['where']=_[_0x6090('0x36')](_0x35dcee[_0x6090('0x32')],{'$or':_['map'](_0x35dcee[_0x6090('0x2d')],function(_0x466daa){var _0x3d01a5={};_0x3d01a5[_0x466daa]={'$like':'%'+_0x2b0bb0[_0x6090('0x2b')][_0x6090('0x35')]+'%'};return _0x3d01a5;})});}_0x35dcee[_0x6090('0x32')]=_[_0x6090('0x36')](_0x35dcee[_0x6090('0x32')],{'mailboxuser':_0x4e71b3[_0x6090('0x50')]});_0x35dcee=_['merge']({},_0x35dcee,_0x2b0bb0[_0x6090('0x37')]);return db[_0x6090('0x4d')]['findAndCountAll'](_0x35dcee)[_0x6090('0x21')](respondWithFilteredResult(_0x4ab41f,_0x35dcee));})[_0x6090('0x3c')](handleError(_0x4ab41f,null));}; \ No newline at end of file diff --git a/server/api/voiceMail/voiceMail.model.js b/server/api/voiceMail/voiceMail.model.js index 4ecd393..972852a 100644 --- a/server/api/voiceMail/voiceMail.model.js +++ b/server/api/voiceMail/voiceMail.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xc021=['define','VoiceMail','voice_voicemail','mailbox_context','mailbox','lodash','util','../../config/logger','moment','bluebird','request-promise','rimraf','./voiceMail.attributes','exports'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0xc021,0x19b));var _0x1c02=function(_0x1f5fdd,_0x5eed92){_0x1f5fdd=_0x1f5fdd-0x0;var _0x1e9033=_0xc021[_0x1f5fdd];return _0x1e9033;};'use strict';var _=require(_0x1c02('0x0'));var util=require(_0x1c02('0x1'));var logger=require(_0x1c02('0x2'))('api');var moment=require(_0x1c02('0x3'));var BPromise=require(_0x1c02('0x4'));var rp=require(_0x1c02('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x1c02('0x6'));var config=require('../../config/environment');var attributes=require(_0x1c02('0x7'));module[_0x1c02('0x8')]=function(_0x3d57fb,_0x2fc373){return _0x3d57fb[_0x1c02('0x9')](_0x1c02('0xa'),attributes,{'tableName':_0x1c02('0xb'),'paranoid':![],'indexes':[{'name':_0x1c02('0xc'),'fields':[_0x1c02('0xd'),'context']}],'timestamps':!![]});}; \ No newline at end of file +var _0x16f5=['util','moment','request-promise','rimraf','../../config/environment','./voiceMail.attributes','exports','define','voice_voicemail','mailbox','context'];(function(_0x327c2d,_0x20d080){var _0x1624cd=function(_0x543c3b){while(--_0x543c3b){_0x327c2d['push'](_0x327c2d['shift']());}};_0x1624cd(++_0x20d080);}(_0x16f5,0x8f));var _0x516f=function(_0x54dbce,_0x2616a7){_0x54dbce=_0x54dbce-0x0;var _0x310f6a=_0x16f5[_0x54dbce];return _0x310f6a;};'use strict';var _=require('lodash');var util=require(_0x516f('0x0'));var logger=require('../../config/logger')('api');var moment=require(_0x516f('0x1'));var BPromise=require('bluebird');var rp=require(_0x516f('0x2'));var fs=require('fs');var path=require('path');var rimraf=require(_0x516f('0x3'));var config=require(_0x516f('0x4'));var attributes=require(_0x516f('0x5'));module[_0x516f('0x6')]=function(_0x213e53,_0x27929a){return _0x213e53[_0x516f('0x7')]('VoiceMail',attributes,{'tableName':_0x516f('0x8'),'paranoid':![],'indexes':[{'name':'mailbox_context','fields':[_0x516f('0x9'),_0x516f('0xa')]}],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/voiceMail/voiceMail.rpc.js b/server/api/voiceMail/voiceMail.rpc.js index c8d85dd..be1cc16 100644 --- a/server/api/voiceMail/voiceMail.rpc.js +++ b/server/api/voiceMail/voiceMail.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x66e4=['../../config/utils','../../config/logger','rpc','../../config/environment','http','request','then','VoiceMail,\x20%s,\x20%s','request\x20sent','debug','stringify','error','message','info','result','catch','lodash','util','moment','bluebird','../../mysqldb'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x66e4,0x160));var _0x466e=function(_0x427b47,_0x23c1c2){_0x427b47=_0x427b47-0x0;var _0x37131b=_0x66e4[_0x427b47];return _0x37131b;};'use strict';var _=require(_0x466e('0x0'));var util=require(_0x466e('0x1'));var moment=require(_0x466e('0x2'));var BPromise=require(_0x466e('0x3'));var rs=require('randomstring');var fs=require('fs');var Redis=require('ioredis');var db=require(_0x466e('0x4'))['db'];var utils=require(_0x466e('0x5'));var logger=require(_0x466e('0x6'))(_0x466e('0x7'));var config=require(_0x466e('0x8'));var jayson=require('jayson/promise');var client=jayson['client'][_0x466e('0x9')]({'port':0x232a});function respondWithRpcPromise(_0x55af55,_0x5ce9c1,_0xaf8039){return new BPromise(function(_0x6f222c,_0x5913bb){return client[_0x466e('0xa')](_0x55af55,_0xaf8039)[_0x466e('0xb')](function(_0x18343d){logger['info'](_0x466e('0xc'),_0x5ce9c1,_0x466e('0xd'));logger[_0x466e('0xe')]('VoiceMail,\x20%s,\x20%s,\x20%s',_0x5ce9c1,'request\x20sent',JSON[_0x466e('0xf')](_0x18343d));if(_0x18343d[_0x466e('0x10')]){if(_0x18343d['error']['code']===0x1f4){logger['error'](_0x466e('0xc'),_0x5ce9c1,_0x18343d[_0x466e('0x10')]['message']);return _0x5913bb(_0x18343d[_0x466e('0x10')]['message']);}logger['error']('VoiceMail,\x20%s,\x20%s',_0x5ce9c1,_0x18343d['error'][_0x466e('0x11')]);return _0x6f222c(_0x18343d[_0x466e('0x10')][_0x466e('0x11')]);}else{logger[_0x466e('0x12')](_0x466e('0xc'),_0x5ce9c1,_0x466e('0xd'));_0x6f222c(_0x18343d[_0x466e('0x13')][_0x466e('0x11')]);}})[_0x466e('0x14')](function(_0xf02916){logger[_0x466e('0x10')](_0x466e('0xc'),_0x5ce9c1,_0xf02916);_0x5913bb(_0xf02916);});});} \ No newline at end of file +var _0xc363=['VoiceMail,\x20%s,\x20%s,\x20%s','stringify','error','code','message','result','catch','lodash','util','moment','bluebird','randomstring','ioredis','../../mysqldb','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','http','request','info','VoiceMail,\x20%s,\x20%s','request\x20sent'];(function(_0x4bc7ae,_0x282808){var _0x5bf5a9=function(_0x330eb1){while(--_0x330eb1){_0x4bc7ae['push'](_0x4bc7ae['shift']());}};_0x5bf5a9(++_0x282808);}(_0xc363,0x19f));var _0x3c36=function(_0x1f0724,_0x3a58bf){_0x1f0724=_0x1f0724-0x0;var _0x253ffb=_0xc363[_0x1f0724];return _0x253ffb;};'use strict';var _=require(_0x3c36('0x0'));var util=require(_0x3c36('0x1'));var moment=require(_0x3c36('0x2'));var BPromise=require(_0x3c36('0x3'));var rs=require(_0x3c36('0x4'));var fs=require('fs');var Redis=require(_0x3c36('0x5'));var db=require(_0x3c36('0x6'))['db'];var utils=require(_0x3c36('0x7'));var logger=require(_0x3c36('0x8'))(_0x3c36('0x9'));var config=require(_0x3c36('0xa'));var jayson=require(_0x3c36('0xb'));var client=jayson['client'][_0x3c36('0xc')]({'port':0x232a});function respondWithRpcPromise(_0x5adf9e,_0x2bacfd,_0x315c58){return new BPromise(function(_0x36170e,_0x20acde){return client[_0x3c36('0xd')](_0x5adf9e,_0x315c58)['then'](function(_0x17b7a9){logger[_0x3c36('0xe')](_0x3c36('0xf'),_0x2bacfd,_0x3c36('0x10'));logger['debug'](_0x3c36('0x11'),_0x2bacfd,_0x3c36('0x10'),JSON[_0x3c36('0x12')](_0x17b7a9));if(_0x17b7a9[_0x3c36('0x13')]){if(_0x17b7a9[_0x3c36('0x13')][_0x3c36('0x14')]===0x1f4){logger[_0x3c36('0x13')](_0x3c36('0xf'),_0x2bacfd,_0x17b7a9['error'][_0x3c36('0x15')]);return _0x20acde(_0x17b7a9['error'][_0x3c36('0x15')]);}logger[_0x3c36('0x13')](_0x3c36('0xf'),_0x2bacfd,_0x17b7a9[_0x3c36('0x13')][_0x3c36('0x15')]);return _0x36170e(_0x17b7a9[_0x3c36('0x13')][_0x3c36('0x15')]);}else{logger['info'](_0x3c36('0xf'),_0x2bacfd,_0x3c36('0x10'));_0x36170e(_0x17b7a9[_0x3c36('0x16')][_0x3c36('0x15')]);}})[_0x3c36('0x17')](function(_0x351eb1){logger[_0x3c36('0x13')]('VoiceMail,\x20%s,\x20%s',_0x2bacfd,_0x351eb1);_0x20acde(_0x351eb1);});});} \ No newline at end of file diff --git a/server/api/voiceMailMessage/index.js b/server/api/voiceMailMessage/index.js index a8843d8..58b5348 100644 --- a/server/api/voiceMailMessage/index.js +++ b/server/api/voiceMailMessage/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x2675=['create','put','delete','destroy','exports','multer','express','Router','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/:id','/:id/download','download'];(function(_0x29a0fb,_0x395468){var _0x3e8006=function(_0x32d56a){while(--_0x32d56a){_0x29a0fb['push'](_0x29a0fb['shift']());}};_0x3e8006(++_0x395468);}(_0x2675,0x75));var _0x5267=function(_0x5a35c4,_0x4f1ac4){_0x5a35c4=_0x5a35c4-0x0;var _0x3045fc=_0x2675[_0x5a35c4];return _0x3045fc;};'use strict';var multer=require(_0x5267('0x0'));var util=require('util');var path=require('path');var timeout=require('connect-timeout');var express=require(_0x5267('0x1'));var router=express[_0x5267('0x2')]();var auth=require('../../components/auth/service');var interaction=require(_0x5267('0x3'));var config=require(_0x5267('0x4'));var controller=require('./voiceMailMessage.controller');router[_0x5267('0x5')]('/',auth[_0x5267('0x6')](),controller[_0x5267('0x7')]);router[_0x5267('0x5')](_0x5267('0x8'),auth[_0x5267('0x6')](),controller['show']);router[_0x5267('0x5')](_0x5267('0x9'),auth['isAuthenticated'](),controller[_0x5267('0xa')]);router['post']('/',auth[_0x5267('0x6')](),controller[_0x5267('0xb')]);router[_0x5267('0xc')]('/:id',auth[_0x5267('0x6')](),controller['update']);router[_0x5267('0xd')]('/:id',auth[_0x5267('0x6')](),controller[_0x5267('0xe')]);module[_0x5267('0xf')]=router; \ No newline at end of file +var _0xe2fe=['connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceMailMessage.controller','isAuthenticated','index','/:id','get','download','create','delete','exports','multer'];(function(_0xfbc3dc,_0x3a7830){var _0x48c818=function(_0x5e3a9b){while(--_0x5e3a9b){_0xfbc3dc['push'](_0xfbc3dc['shift']());}};_0x48c818(++_0x3a7830);}(_0xe2fe,0x86));var _0xee2f=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xe2fe[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require(_0xee2f('0x0'));var util=require('util');var path=require('path');var timeout=require(_0xee2f('0x1'));var express=require('express');var router=express[_0xee2f('0x2')]();var auth=require(_0xee2f('0x3'));var interaction=require(_0xee2f('0x4'));var config=require(_0xee2f('0x5'));var controller=require(_0xee2f('0x6'));router['get']('/',auth[_0xee2f('0x7')](),controller[_0xee2f('0x8')]);router['get'](_0xee2f('0x9'),auth[_0xee2f('0x7')](),controller['show']);router[_0xee2f('0xa')]('/:id/download',auth[_0xee2f('0x7')](),controller[_0xee2f('0xb')]);router['post']('/',auth[_0xee2f('0x7')](),controller[_0xee2f('0xc')]);router['put']('/:id',auth['isAuthenticated'](),controller['update']);router[_0xee2f('0xd')]('/:id',auth['isAuthenticated'](),controller['destroy']);module[_0xee2f('0xe')]=router; \ No newline at end of file diff --git a/server/api/voiceMailMessage/voiceMailMessage.attributes.js b/server/api/voiceMailMessage/voiceMailMessage.attributes.js index 38a9a09..e7a56ac 100644 --- a/server/api/voiceMailMessage/voiceMailMessage.attributes.js +++ b/server/api/voiceMailMessage/voiceMailMessage.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x86a5=['long','TIMESTAMP','sequelize','exports','VIRTUAL','INTEGER','STRING'];(function(_0x14f55c,_0x2adaaf){var _0x513e7a=function(_0x1d8145){while(--_0x1d8145){_0x14f55c['push'](_0x14f55c['shift']());}};_0x513e7a(++_0x2adaaf);}(_0x86a5,0xaa));var _0x586a=function(_0x4b2863,_0x494899){_0x4b2863=_0x4b2863-0x0;var _0x567d67=_0x86a5[_0x4b2863];return _0x567d67;};'use strict';var Sequelize=require(_0x586a('0x0'));module[_0x586a('0x1')]={'name':{'type':Sequelize[_0x586a('0x2')],'get':function(_0x3580b6){return this['getDataValue']('id');}},'msgnum':{'type':Sequelize[_0x586a('0x3')](0xb),'defaultValue':0x0,'allowNull':![]},'dir':{'type':Sequelize[_0x586a('0x4')],'defaultValue':''},'context':{'type':Sequelize[_0x586a('0x4')],'defaultValue':''},'macrocontext':{'type':Sequelize[_0x586a('0x4')],'defaultValue':''},'callerid':{'type':Sequelize[_0x586a('0x4')],'defaultValue':''},'origtime':{'type':Sequelize['STRING'],'defaultValue':''},'duration':{'type':Sequelize[_0x586a('0x4')],'defaultValue':''},'mailboxuser':{'type':Sequelize['STRING'],'defaultValue':''},'mailboxcontext':{'type':Sequelize[_0x586a('0x4')],'defaultValue':''},'recording':{'type':Sequelize['BLOB'](_0x586a('0x5')),'defaultValue':null},'flag':{'type':Sequelize[_0x586a('0x4')],'defaultValue':''},'msg_id':{'type':Sequelize['STRING'],'defaultValue':''},'stamp':{'type':_0x586a('0x6'),'allowNull':![]}}; \ No newline at end of file +var _0xb93e=['TIMESTAMP','exports','VIRTUAL','getDataValue','INTEGER','STRING'];(function(_0x33afc0,_0x1b35be){var _0x297f18=function(_0x1237fb){while(--_0x1237fb){_0x33afc0['push'](_0x33afc0['shift']());}};_0x297f18(++_0x1b35be);}(_0xb93e,0x1db));var _0xeb93=function(_0x312219,_0x5598c9){_0x312219=_0x312219-0x0;var _0x3ab6e0=_0xb93e[_0x312219];return _0x3ab6e0;};'use strict';var Sequelize=require('sequelize');module[_0xeb93('0x0')]={'name':{'type':Sequelize[_0xeb93('0x1')],'get':function(_0x4d49df){return this[_0xeb93('0x2')]('id');}},'msgnum':{'type':Sequelize[_0xeb93('0x3')](0xb),'defaultValue':0x0,'allowNull':![]},'dir':{'type':Sequelize[_0xeb93('0x4')],'defaultValue':''},'context':{'type':Sequelize[_0xeb93('0x4')],'defaultValue':''},'macrocontext':{'type':Sequelize['STRING'],'defaultValue':''},'callerid':{'type':Sequelize['STRING'],'defaultValue':''},'origtime':{'type':Sequelize[_0xeb93('0x4')],'defaultValue':''},'duration':{'type':Sequelize['STRING'],'defaultValue':''},'mailboxuser':{'type':Sequelize[_0xeb93('0x4')],'defaultValue':''},'mailboxcontext':{'type':Sequelize[_0xeb93('0x4')],'defaultValue':''},'recording':{'type':Sequelize['BLOB']('long'),'defaultValue':null},'flag':{'type':Sequelize[_0xeb93('0x4')],'defaultValue':''},'msg_id':{'type':Sequelize[_0xeb93('0x4')],'defaultValue':''},'stamp':{'type':_0xeb93('0x5'),'allowNull':![]}}; \ No newline at end of file diff --git a/server/api/voiceMailMessage/voiceMailMessage.controller.js b/server/api/voiceMailMessage/voiceMailMessage.controller.js index 820b00c..70a8f7f 100644 --- a/server/api/voiceMailMessage/voiceMailMessage.controller.js +++ b/server/api/voiceMailMessage/voiceMailMessage.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xe739=['keys','options','find','catch','create','body','params','download','recording','Sequelize','VoiceMailMessage\x20not\x20found','audio/wav','attachment','msg_id','Content-Disposition','attachment;\x20filename=\x22','.wav\x22','send','html-pdf','rimraf','zip-dir','fast-json-patch','mustache','util','path','sox','ejs','lodash','squel','jsforce','desk.js','to-csv','querystring','papaparse','ioredis','../../components/parsers/qs','../../config/logger','../../config/utils','../../config/environment','../../mysqldb','sendStatus','status','json','offset','limit','Content-Range','apply','reject','save','update','destroy','then','error','name','index','map','VoiceMailMessage','rawAttributes','fieldName','key','differenceBy','query','filters','attributes','intersection','model','fields','length','hasOwnProperty','nolimit','order','sort','where','pick','filter','merge','count','includeAll','include','rows','show'];(function(_0x277245,_0x3cfe71){var _0x303dec=function(_0x319700){while(--_0x319700){_0x277245['push'](_0x277245['shift']());}};_0x303dec(++_0x3cfe71);}(_0xe739,0x105));var _0x9e73=function(_0x1f4607,_0x47065f){_0x1f4607=_0x1f4607-0x0;var _0x5c856f=_0xe739[_0x1f4607];return _0x5c856f;};'use strict';var pdf=require(_0x9e73('0x0'));var emlformat=require('eml-format');var rimraf=require(_0x9e73('0x1'));var zipdir=require(_0x9e73('0x2'));var jsonpatch=require(_0x9e73('0x3'));var rp=require('request-promise');var moment=require('moment');var BPromise=require('bluebird');var Mustache=require(_0x9e73('0x4'));var util=require(_0x9e73('0x5'));var path=require(_0x9e73('0x6'));var sox=require(_0x9e73('0x7'));var csv=require('to-csv');var ejs=require(_0x9e73('0x8'));var fs=require('fs');var _=require(_0x9e73('0x9'));var squel=require(_0x9e73('0xa'));var crypto=require('crypto');var jsforce=require(_0x9e73('0xb'));var deskjs=require(_0x9e73('0xc'));var toCsv=require(_0x9e73('0xd'));var querystring=require(_0x9e73('0xe'));var Papa=require(_0x9e73('0xf'));var Redis=require(_0x9e73('0x10'));var authService=require('../../components/auth/service');var qs=require(_0x9e73('0x11'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require('../../config/license/hardware');var logger=require(_0x9e73('0x12'))('api');var utils=require(_0x9e73('0x13'));var config=require(_0x9e73('0x14'));var db=require(_0x9e73('0x15'))['db'];function respondWithStatusCode(_0x537fca,_0x102bb9){_0x102bb9=_0x102bb9||0xcc;return function(_0x4696e2){if(_0x4696e2){return _0x537fca[_0x9e73('0x16')](_0x102bb9);}return _0x537fca[_0x9e73('0x17')](_0x102bb9)['end']();};}function respondWithResult(_0x27c0ba,_0x607981){_0x607981=_0x607981||0xc8;return function(_0x3a7bd5){if(_0x3a7bd5){return _0x27c0ba['status'](_0x607981)[_0x9e73('0x18')](_0x3a7bd5);}};}function respondWithFilteredResult(_0x378603,_0x597492){return function(_0x367857){if(_0x367857){var _0x327305=_0x367857['count'],_0x21bd3a=_0x597492[_0x9e73('0x19')],_0x5633e1=_0x597492['offset']+_0x597492[_0x9e73('0x1a')],_0x16b2a9;if(_0x5633e1>=_0x327305){_0x5633e1=_0x327305;_0x16b2a9=0xc8;}else{_0x16b2a9=0xce;}_0x378603['status'](_0x16b2a9);return _0x378603['set'](_0x9e73('0x1b'),_0x21bd3a+'-'+_0x5633e1+'/'+_0x327305)[_0x9e73('0x18')](_0x367857);}return null;};}function patchUpdates(_0x1ab105){return function(_0x206f1c){try{jsonpatch[_0x9e73('0x1c')](_0x206f1c,_0x1ab105,!![]);}catch(_0x398a0d){return BPromise[_0x9e73('0x1d')](_0x398a0d);}return _0x206f1c[_0x9e73('0x1e')]();};}function saveUpdates(_0x2235fa,_0x3f56bf){return function(_0x4a5cd1){if(_0x4a5cd1){return _0x4a5cd1[_0x9e73('0x1f')](_0x2235fa)['then'](function(_0xd3290d){return _0xd3290d;});}return null;};}function removeEntity(_0x5875c5,_0x31d354){return function(_0x589a5d){if(_0x589a5d){return _0x589a5d[_0x9e73('0x20')]()[_0x9e73('0x21')](function(){_0x5875c5['status'](0xcc)['end']();});}};}function handleEntityNotFound(_0x127afd,_0x5c6322){return function(_0x256ea1){if(!_0x256ea1){_0x127afd[_0x9e73('0x16')](0x194);}return _0x256ea1;};}function handleError(_0x1214b5,_0x5117af){_0x5117af=_0x5117af||0x1f4;return function(_0xfa4bae){logger[_0x9e73('0x22')](_0xfa4bae['stack']);if(_0xfa4bae['name']){delete _0xfa4bae[_0x9e73('0x23')];}_0x1214b5['status'](_0x5117af)['send'](_0xfa4bae);};}exports[_0x9e73('0x24')]=function(_0x5bf237,_0x46991c){var _0x47dcd2={},_0x368a70={},_0x5fc1df={'count':0x0,'rows':[]};var _0x4e77bb=_[_0x9e73('0x25')](db[_0x9e73('0x26')][_0x9e73('0x27')],function(_0x397bd6){return{'name':_0x397bd6[_0x9e73('0x28')],'type':_0x397bd6['type'][_0x9e73('0x29')]};});_0x368a70['model']=_[_0x9e73('0x2a')](_[_0x9e73('0x25')](_0x4e77bb,_0x9e73('0x23')),[_0x9e73('0x23')]);_0x368a70[_0x9e73('0x2b')]=_['keys'](_0x5bf237[_0x9e73('0x2b')]);_0x368a70[_0x9e73('0x2c')]=_['intersection'](_0x368a70['model'],_0x368a70[_0x9e73('0x2b')]);_0x47dcd2[_0x9e73('0x2d')]=_[_0x9e73('0x2e')](_0x368a70[_0x9e73('0x2f')],qs[_0x9e73('0x30')](_0x5bf237[_0x9e73('0x2b')]['fields']));_0x47dcd2[_0x9e73('0x2d')]=_0x47dcd2[_0x9e73('0x2d')][_0x9e73('0x31')]?_0x47dcd2[_0x9e73('0x2d')]:_0x368a70[_0x9e73('0x2f')];if(!_0x5bf237[_0x9e73('0x2b')][_0x9e73('0x32')](_0x9e73('0x33'))){_0x47dcd2[_0x9e73('0x1a')]=qs[_0x9e73('0x1a')](_0x5bf237['query'][_0x9e73('0x1a')]);_0x47dcd2[_0x9e73('0x19')]=qs[_0x9e73('0x19')](_0x5bf237[_0x9e73('0x2b')]['offset']);}_0x47dcd2[_0x9e73('0x34')]=qs[_0x9e73('0x35')](_0x5bf237['query']['sort']);_0x47dcd2[_0x9e73('0x36')]=qs[_0x9e73('0x2c')](_[_0x9e73('0x37')](_0x5bf237[_0x9e73('0x2b')],_0x368a70[_0x9e73('0x2c')]),_0x4e77bb);if(_0x5bf237[_0x9e73('0x2b')]['filter']){_0x47dcd2['where']=_['merge'](_0x47dcd2[_0x9e73('0x36')],{'$or':_[_0x9e73('0x25')](_0x4e77bb,function(_0x4522fb){if(_0x4522fb['type']!=='VIRTUAL'){var _0x4b4e1b={};_0x4b4e1b[_0x4522fb[_0x9e73('0x23')]]={'$like':'%'+_0x5bf237[_0x9e73('0x2b')][_0x9e73('0x38')]+'%'};return _0x4b4e1b;}})});}_0x47dcd2=_[_0x9e73('0x39')]({},_0x47dcd2,_0x5bf237['options']);var _0x1992c3={'where':_0x47dcd2[_0x9e73('0x36')]};return db[_0x9e73('0x26')][_0x9e73('0x3a')](_0x1992c3)[_0x9e73('0x21')](function(_0x40bbda){_0x5fc1df[_0x9e73('0x3a')]=_0x40bbda;if(_0x5bf237[_0x9e73('0x2b')][_0x9e73('0x3b')]){_0x47dcd2[_0x9e73('0x3c')]=[{'all':!![]}];}return db['VoiceMailMessage']['findAll'](_0x47dcd2);})['then'](function(_0x510b69){_0x5fc1df[_0x9e73('0x3d')]=_0x510b69;return _0x5fc1df;})[_0x9e73('0x21')](respondWithFilteredResult(_0x46991c,_0x47dcd2))['catch'](handleError(_0x46991c,null));};exports[_0x9e73('0x3e')]=function(_0x2038fb,_0x5994aa){var _0x4d4ed1={'raw':!![],'where':{'id':_0x2038fb['params']['id']}},_0x5b231f={};_0x5b231f['model']=_[_0x9e73('0x3f')](db[_0x9e73('0x26')][_0x9e73('0x27')]);_0x5b231f[_0x9e73('0x2b')]=_['keys'](_0x2038fb['query']);_0x5b231f[_0x9e73('0x2c')]=_[_0x9e73('0x2e')](_0x5b231f[_0x9e73('0x2f')],_0x5b231f[_0x9e73('0x2b')]);_0x4d4ed1[_0x9e73('0x2d')]=_[_0x9e73('0x2e')](_0x5b231f['model'],qs[_0x9e73('0x30')](_0x2038fb[_0x9e73('0x2b')]['fields']));_0x4d4ed1[_0x9e73('0x2d')]=_0x4d4ed1[_0x9e73('0x2d')]['length']?_0x4d4ed1[_0x9e73('0x2d')]:_0x5b231f[_0x9e73('0x2f')];if(_0x2038fb['query'][_0x9e73('0x3b')]){_0x4d4ed1[_0x9e73('0x3c')]=[{'all':!![]}];}_0x4d4ed1=_[_0x9e73('0x39')]({},_0x4d4ed1,_0x2038fb[_0x9e73('0x40')]);return db[_0x9e73('0x26')][_0x9e73('0x41')](_0x4d4ed1)[_0x9e73('0x21')](handleEntityNotFound(_0x5994aa,null))[_0x9e73('0x21')](respondWithResult(_0x5994aa,null))[_0x9e73('0x42')](handleError(_0x5994aa,null));};exports[_0x9e73('0x43')]=function(_0x134be0,_0x3fb867){return db[_0x9e73('0x26')][_0x9e73('0x43')](_0x134be0[_0x9e73('0x44')],{})[_0x9e73('0x21')](respondWithResult(_0x3fb867,0xc9))['catch'](handleError(_0x3fb867,null));};exports[_0x9e73('0x1f')]=function(_0x577ee7,_0x4e8c96){if(_0x577ee7[_0x9e73('0x44')]['id']){delete _0x577ee7[_0x9e73('0x44')]['id'];}return db['VoiceMailMessage']['find']({'where':{'id':_0x577ee7[_0x9e73('0x45')]['id']}})[_0x9e73('0x21')](handleEntityNotFound(_0x4e8c96,null))[_0x9e73('0x21')](saveUpdates(_0x577ee7[_0x9e73('0x44')],null))[_0x9e73('0x21')](respondWithResult(_0x4e8c96,null))[_0x9e73('0x42')](handleError(_0x4e8c96,null));};exports[_0x9e73('0x20')]=function(_0x732f32,_0x25ec6d){return db[_0x9e73('0x26')][_0x9e73('0x41')]({'where':{'id':_0x732f32[_0x9e73('0x45')]['id']}})[_0x9e73('0x21')](handleEntityNotFound(_0x25ec6d,null))[_0x9e73('0x21')](removeEntity(_0x25ec6d,null))['catch'](handleError(_0x25ec6d,null));};exports[_0x9e73('0x46')]=function(_0x266906,_0x1289f9,_0x466f40){return db[_0x9e73('0x26')][_0x9e73('0x41')]({'where':{'id':_0x266906[_0x9e73('0x45')]['id']},'attributes':['id',_0x9e73('0x47'),'msg_id']})['then'](handleEntityNotFound(_0x1289f9,null))['then'](function(_0xd78532){if(_0xd78532){if(!_0xd78532['recording']){throw new db[(_0x9e73('0x48'))]['ValidationError'](_0x9e73('0x49'));}var _0x4ad57a={'Content-Type':_0x9e73('0x4a'),'Content-Disposition':_0x9e73('0x4b')};if(_0xd78532[_0x9e73('0x4c')]){_0x4ad57a[_0x9e73('0x4d')]=_0x9e73('0x4e')+_0xd78532[_0x9e73('0x4c')]+_0x9e73('0x4f');}_0x1289f9['set'](_0x4ad57a);return _0x1289f9[_0x9e73('0x50')](new Buffer(_0xd78532['recording']));}})[_0x9e73('0x42')](handleError(_0x1289f9,null));}; \ No newline at end of file +var _0xe493=['save','update','then','end','error','stack','name','send','index','rawAttributes','type','model','differenceBy','map','query','filters','intersection','attributes','fields','length','hasOwnProperty','nolimit','order','sort','pick','filter','where','merge','options','VoiceMailMessage','includeAll','include','rows','show','params','keys','find','create','catch','body','destroy','msg_id','Sequelize','VoiceMailMessage\x20not\x20found','audio/wav','attachment','Content-Disposition','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','moment','bluebird','util','sox','to-csv','ejs','lodash','squel','crypto','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','sendStatus','status','json','count','offset','limit','set'];(function(_0x10ee20,_0x7fa75c){var _0x1dc9ca=function(_0x51e072){while(--_0x51e072){_0x10ee20['push'](_0x10ee20['shift']());}};_0x1dc9ca(++_0x7fa75c);}(_0xe493,0x7e));var _0x3e49=function(_0x53f2e6,_0xa29924){_0x53f2e6=_0x53f2e6-0x0;var _0x22d4e8=_0xe493[_0x53f2e6];return _0x22d4e8;};'use strict';var pdf=require(_0x3e49('0x0'));var emlformat=require(_0x3e49('0x1'));var rimraf=require(_0x3e49('0x2'));var zipdir=require(_0x3e49('0x3'));var jsonpatch=require(_0x3e49('0x4'));var rp=require('request-promise');var moment=require(_0x3e49('0x5'));var BPromise=require(_0x3e49('0x6'));var Mustache=require('mustache');var util=require(_0x3e49('0x7'));var path=require('path');var sox=require(_0x3e49('0x8'));var csv=require(_0x3e49('0x9'));var ejs=require(_0x3e49('0xa'));var fs=require('fs');var _=require(_0x3e49('0xb'));var squel=require(_0x3e49('0xc'));var crypto=require(_0x3e49('0xd'));var jsforce=require('jsforce');var deskjs=require('desk.js');var toCsv=require('to-csv');var querystring=require(_0x3e49('0xe'));var Papa=require(_0x3e49('0xf'));var Redis=require(_0x3e49('0x10'));var authService=require(_0x3e49('0x11'));var qs=require(_0x3e49('0x12'));var as=require(_0x3e49('0x13'));var hardwareService=require(_0x3e49('0x14'));var logger=require(_0x3e49('0x15'))(_0x3e49('0x16'));var utils=require(_0x3e49('0x17'));var config=require(_0x3e49('0x18'));var db=require('../../mysqldb')['db'];function respondWithStatusCode(_0x50f523,_0x3c9410){_0x3c9410=_0x3c9410||0xcc;return function(_0x56114b){if(_0x56114b){return _0x50f523[_0x3e49('0x19')](_0x3c9410);}return _0x50f523[_0x3e49('0x1a')](_0x3c9410)['end']();};}function respondWithResult(_0x127335,_0x40504b){_0x40504b=_0x40504b||0xc8;return function(_0x54463c){if(_0x54463c){return _0x127335[_0x3e49('0x1a')](_0x40504b)[_0x3e49('0x1b')](_0x54463c);}};}function respondWithFilteredResult(_0x19cf9c,_0x238d1b){return function(_0x401e84){if(_0x401e84){var _0x3a9685=_0x401e84[_0x3e49('0x1c')],_0x46d813=_0x238d1b[_0x3e49('0x1d')],_0x469365=_0x238d1b[_0x3e49('0x1d')]+_0x238d1b[_0x3e49('0x1e')],_0x2b1f13;if(_0x469365>=_0x3a9685){_0x469365=_0x3a9685;_0x2b1f13=0xc8;}else{_0x2b1f13=0xce;}_0x19cf9c[_0x3e49('0x1a')](_0x2b1f13);return _0x19cf9c[_0x3e49('0x1f')]('Content-Range',_0x46d813+'-'+_0x469365+'/'+_0x3a9685)[_0x3e49('0x1b')](_0x401e84);}return null;};}function patchUpdates(_0x59bde3){return function(_0x2e160c){try{jsonpatch['apply'](_0x2e160c,_0x59bde3,!![]);}catch(_0x36f844){return BPromise['reject'](_0x36f844);}return _0x2e160c[_0x3e49('0x20')]();};}function saveUpdates(_0x1c51f7,_0x420d7b){return function(_0x5a4e67){if(_0x5a4e67){return _0x5a4e67[_0x3e49('0x21')](_0x1c51f7)['then'](function(_0xace209){return _0xace209;});}return null;};}function removeEntity(_0xa5b12b,_0x323be5){return function(_0x5e0f1d){if(_0x5e0f1d){return _0x5e0f1d['destroy']()[_0x3e49('0x22')](function(){_0xa5b12b['status'](0xcc)[_0x3e49('0x23')]();});}};}function handleEntityNotFound(_0x1b338b,_0x567d13){return function(_0x5b85df){if(!_0x5b85df){_0x1b338b[_0x3e49('0x19')](0x194);}return _0x5b85df;};}function handleError(_0x57706b,_0x285237){_0x285237=_0x285237||0x1f4;return function(_0x301eaa){logger[_0x3e49('0x24')](_0x301eaa[_0x3e49('0x25')]);if(_0x301eaa['name']){delete _0x301eaa[_0x3e49('0x26')];}_0x57706b[_0x3e49('0x1a')](_0x285237)[_0x3e49('0x27')](_0x301eaa);};}exports[_0x3e49('0x28')]=function(_0x4665b4,_0x36f5f2){var _0x151f66={},_0x264b6a={},_0xccffd9={'count':0x0,'rows':[]};var _0x572811=_['map'](db['VoiceMailMessage'][_0x3e49('0x29')],function(_0x366c78){return{'name':_0x366c78['fieldName'],'type':_0x366c78[_0x3e49('0x2a')]['key']};});_0x264b6a[_0x3e49('0x2b')]=_[_0x3e49('0x2c')](_[_0x3e49('0x2d')](_0x572811,_0x3e49('0x26')),['name']);_0x264b6a[_0x3e49('0x2e')]=_['keys'](_0x4665b4['query']);_0x264b6a[_0x3e49('0x2f')]=_[_0x3e49('0x30')](_0x264b6a[_0x3e49('0x2b')],_0x264b6a[_0x3e49('0x2e')]);_0x151f66[_0x3e49('0x31')]=_[_0x3e49('0x30')](_0x264b6a[_0x3e49('0x2b')],qs[_0x3e49('0x32')](_0x4665b4['query'][_0x3e49('0x32')]));_0x151f66[_0x3e49('0x31')]=_0x151f66[_0x3e49('0x31')][_0x3e49('0x33')]?_0x151f66[_0x3e49('0x31')]:_0x264b6a[_0x3e49('0x2b')];if(!_0x4665b4[_0x3e49('0x2e')][_0x3e49('0x34')](_0x3e49('0x35'))){_0x151f66[_0x3e49('0x1e')]=qs['limit'](_0x4665b4[_0x3e49('0x2e')][_0x3e49('0x1e')]);_0x151f66[_0x3e49('0x1d')]=qs[_0x3e49('0x1d')](_0x4665b4[_0x3e49('0x2e')][_0x3e49('0x1d')]);}_0x151f66[_0x3e49('0x36')]=qs[_0x3e49('0x37')](_0x4665b4[_0x3e49('0x2e')][_0x3e49('0x37')]);_0x151f66['where']=qs['filters'](_[_0x3e49('0x38')](_0x4665b4[_0x3e49('0x2e')],_0x264b6a[_0x3e49('0x2f')]),_0x572811);if(_0x4665b4[_0x3e49('0x2e')][_0x3e49('0x39')]){_0x151f66[_0x3e49('0x3a')]=_[_0x3e49('0x3b')](_0x151f66[_0x3e49('0x3a')],{'$or':_[_0x3e49('0x2d')](_0x572811,function(_0x4ae33e){if(_0x4ae33e['type']!=='VIRTUAL'){var _0x44c000={};_0x44c000[_0x4ae33e[_0x3e49('0x26')]]={'$like':'%'+_0x4665b4[_0x3e49('0x2e')][_0x3e49('0x39')]+'%'};return _0x44c000;}})});}_0x151f66=_['merge']({},_0x151f66,_0x4665b4[_0x3e49('0x3c')]);var _0x58c541={'where':_0x151f66['where']};return db[_0x3e49('0x3d')][_0x3e49('0x1c')](_0x58c541)[_0x3e49('0x22')](function(_0x3e9a1e){_0xccffd9[_0x3e49('0x1c')]=_0x3e9a1e;if(_0x4665b4[_0x3e49('0x2e')][_0x3e49('0x3e')]){_0x151f66[_0x3e49('0x3f')]=[{'all':!![]}];}return db['VoiceMailMessage']['findAll'](_0x151f66);})[_0x3e49('0x22')](function(_0xef6f76){_0xccffd9[_0x3e49('0x40')]=_0xef6f76;return _0xccffd9;})['then'](respondWithFilteredResult(_0x36f5f2,_0x151f66))['catch'](handleError(_0x36f5f2,null));};exports[_0x3e49('0x41')]=function(_0x3880ac,_0x221c5f){var _0xc81875={'raw':!![],'where':{'id':_0x3880ac[_0x3e49('0x42')]['id']}},_0x2f43f7={};_0x2f43f7[_0x3e49('0x2b')]=_[_0x3e49('0x43')](db[_0x3e49('0x3d')][_0x3e49('0x29')]);_0x2f43f7[_0x3e49('0x2e')]=_[_0x3e49('0x43')](_0x3880ac[_0x3e49('0x2e')]);_0x2f43f7[_0x3e49('0x2f')]=_[_0x3e49('0x30')](_0x2f43f7['model'],_0x2f43f7['query']);_0xc81875[_0x3e49('0x31')]=_[_0x3e49('0x30')](_0x2f43f7[_0x3e49('0x2b')],qs[_0x3e49('0x32')](_0x3880ac[_0x3e49('0x2e')]['fields']));_0xc81875['attributes']=_0xc81875['attributes']['length']?_0xc81875[_0x3e49('0x31')]:_0x2f43f7['model'];if(_0x3880ac[_0x3e49('0x2e')]['includeAll']){_0xc81875[_0x3e49('0x3f')]=[{'all':!![]}];}_0xc81875=_[_0x3e49('0x3b')]({},_0xc81875,_0x3880ac[_0x3e49('0x3c')]);return db[_0x3e49('0x3d')][_0x3e49('0x44')](_0xc81875)[_0x3e49('0x22')](handleEntityNotFound(_0x221c5f,null))[_0x3e49('0x22')](respondWithResult(_0x221c5f,null))['catch'](handleError(_0x221c5f,null));};exports[_0x3e49('0x45')]=function(_0x31e346,_0x430ea0){return db[_0x3e49('0x3d')][_0x3e49('0x45')](_0x31e346['body'],{})[_0x3e49('0x22')](respondWithResult(_0x430ea0,0xc9))[_0x3e49('0x46')](handleError(_0x430ea0,null));};exports['update']=function(_0x25185f,_0x390365){if(_0x25185f[_0x3e49('0x47')]['id']){delete _0x25185f[_0x3e49('0x47')]['id'];}return db[_0x3e49('0x3d')][_0x3e49('0x44')]({'where':{'id':_0x25185f[_0x3e49('0x42')]['id']}})['then'](handleEntityNotFound(_0x390365,null))[_0x3e49('0x22')](saveUpdates(_0x25185f[_0x3e49('0x47')],null))[_0x3e49('0x22')](respondWithResult(_0x390365,null))['catch'](handleError(_0x390365,null));};exports[_0x3e49('0x48')]=function(_0x5f3898,_0xb4c332){return db[_0x3e49('0x3d')]['find']({'where':{'id':_0x5f3898[_0x3e49('0x42')]['id']}})[_0x3e49('0x22')](handleEntityNotFound(_0xb4c332,null))[_0x3e49('0x22')](removeEntity(_0xb4c332,null))[_0x3e49('0x46')](handleError(_0xb4c332,null));};exports['download']=function(_0x12f7cb,_0x60015d,_0x4303ea){return db[_0x3e49('0x3d')]['find']({'where':{'id':_0x12f7cb[_0x3e49('0x42')]['id']},'attributes':['id','recording',_0x3e49('0x49')]})[_0x3e49('0x22')](handleEntityNotFound(_0x60015d,null))[_0x3e49('0x22')](function(_0x245479){if(_0x245479){if(!_0x245479['recording']){throw new db[(_0x3e49('0x4a'))]['ValidationError'](_0x3e49('0x4b'));}var _0x1d9a77={'Content-Type':_0x3e49('0x4c'),'Content-Disposition':_0x3e49('0x4d')};if(_0x245479[_0x3e49('0x49')]){_0x1d9a77[_0x3e49('0x4e')]='attachment;\x20filename=\x22'+_0x245479[_0x3e49('0x49')]+'.wav\x22';}_0x60015d[_0x3e49('0x1f')](_0x1d9a77);return _0x60015d[_0x3e49('0x27')](new Buffer(_0x245479['recording']));}})[_0x3e49('0x46')](handleError(_0x60015d,null));}; \ No newline at end of file diff --git a/server/api/voiceMailMessage/voiceMailMessage.model.js b/server/api/voiceMailMessage/voiceMailMessage.model.js index f028ebd..2f8790a 100644 --- a/server/api/voiceMailMessage/voiceMailMessage.model.js +++ b/server/api/voiceMailMessage/voiceMailMessage.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xf111=['dir','lodash','../../config/logger','api','moment','bluebird','rimraf','../../config/environment','./voiceMailMessage.attributes','exports','define','VoiceMailMessage'];(function(_0x45d55e,_0x2fede3){var _0x29812a=function(_0x3c6830){while(--_0x3c6830){_0x45d55e['push'](_0x45d55e['shift']());}};_0x29812a(++_0x2fede3);}(_0xf111,0x6d));var _0x1f11=function(_0x5dee2a,_0x47d02a){_0x5dee2a=_0x5dee2a-0x0;var _0x31e98e=_0xf111[_0x5dee2a];return _0x31e98e;};'use strict';var _=require(_0x1f11('0x0'));var util=require('util');var logger=require(_0x1f11('0x1'))(_0x1f11('0x2'));var moment=require(_0x1f11('0x3'));var BPromise=require(_0x1f11('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x1f11('0x5'));var config=require(_0x1f11('0x6'));var attributes=require(_0x1f11('0x7'));module[_0x1f11('0x8')]=function(_0x1e2330,_0x53cebd){return _0x1e2330[_0x1f11('0x9')](_0x1f11('0xa'),attributes,{'tableName':'voice_voicemail_messages','paranoid':![],'indexes':[{'name':_0x1f11('0xb'),'fields':[_0x1f11('0xb')]}],'timestamps':![]});}; \ No newline at end of file +var _0x0bf1=['voice_voicemail_messages','dir','lodash','util','../../config/logger','api','moment','request-promise','path','rimraf','../../config/environment','define','VoiceMailMessage'];(function(_0x310eaf,_0x5024e1){var _0xbab0d8=function(_0x193377){while(--_0x193377){_0x310eaf['push'](_0x310eaf['shift']());}};_0xbab0d8(++_0x5024e1);}(_0x0bf1,0x1a2));var _0x10bf=function(_0x3ab51d,_0x2fa01d){_0x3ab51d=_0x3ab51d-0x0;var _0x29a04e=_0x0bf1[_0x3ab51d];return _0x29a04e;};'use strict';var _=require(_0x10bf('0x0'));var util=require(_0x10bf('0x1'));var logger=require(_0x10bf('0x2'))(_0x10bf('0x3'));var moment=require(_0x10bf('0x4'));var BPromise=require('bluebird');var rp=require(_0x10bf('0x5'));var fs=require('fs');var path=require(_0x10bf('0x6'));var rimraf=require(_0x10bf('0x7'));var config=require(_0x10bf('0x8'));var attributes=require('./voiceMailMessage.attributes');module['exports']=function(_0xb5d901,_0x4616a9){return _0xb5d901[_0x10bf('0x9')](_0x10bf('0xa'),attributes,{'tableName':_0x10bf('0xb'),'paranoid':![],'indexes':[{'name':'dir','fields':[_0x10bf('0xc')]}],'timestamps':![]});}; \ No newline at end of file diff --git a/server/api/voiceMailMessage/voiceMailMessage.rpc.js b/server/api/voiceMailMessage/voiceMailMessage.rpc.js index 011f426..1d0c449 100644 --- a/server/api/voiceMailMessage/voiceMailMessage.rpc.js +++ b/server/api/voiceMailMessage/voiceMailMessage.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x14a0=['../../mysqldb','../../config/utils','../../config/environment','jayson/promise','client','then','debug','request\x20sent','stringify','error','code','VoiceMailMessage,\x20%s,\x20%s','message','info','result','catch','util','moment','bluebird','randomstring','ioredis'];(function(_0x3792e6,_0x32bd91){var _0x441e44=function(_0x357478){while(--_0x357478){_0x3792e6['push'](_0x3792e6['shift']());}};_0x441e44(++_0x32bd91);}(_0x14a0,0x8e));var _0x014a=function(_0x4ae5e4,_0x101e79){_0x4ae5e4=_0x4ae5e4-0x0;var _0x46ba7b=_0x14a0[_0x4ae5e4];return _0x46ba7b;};'use strict';var _=require('lodash');var util=require(_0x014a('0x0'));var moment=require(_0x014a('0x1'));var BPromise=require(_0x014a('0x2'));var rs=require(_0x014a('0x3'));var fs=require('fs');var Redis=require(_0x014a('0x4'));var db=require(_0x014a('0x5'))['db'];var utils=require(_0x014a('0x6'));var logger=require('../../config/logger')('rpc');var config=require(_0x014a('0x7'));var jayson=require(_0x014a('0x8'));var client=jayson[_0x014a('0x9')]['http']({'port':0x232a});function respondWithRpcPromise(_0x5a61ac,_0x11b8ce,_0x6d05f2){return new BPromise(function(_0x22f17c,_0x4d943b){return client['request'](_0x5a61ac,_0x6d05f2)[_0x014a('0xa')](function(_0x4f5506){logger['info']('VoiceMailMessage,\x20%s,\x20%s',_0x11b8ce,'request\x20sent');logger[_0x014a('0xb')]('VoiceMailMessage,\x20%s,\x20%s,\x20%s',_0x11b8ce,_0x014a('0xc'),JSON[_0x014a('0xd')](_0x4f5506));if(_0x4f5506['error']){if(_0x4f5506[_0x014a('0xe')][_0x014a('0xf')]===0x1f4){logger[_0x014a('0xe')](_0x014a('0x10'),_0x11b8ce,_0x4f5506[_0x014a('0xe')][_0x014a('0x11')]);return _0x4d943b(_0x4f5506[_0x014a('0xe')][_0x014a('0x11')]);}logger[_0x014a('0xe')](_0x014a('0x10'),_0x11b8ce,_0x4f5506[_0x014a('0xe')][_0x014a('0x11')]);return _0x22f17c(_0x4f5506['error'][_0x014a('0x11')]);}else{logger[_0x014a('0x12')]('VoiceMailMessage,\x20%s,\x20%s',_0x11b8ce,_0x014a('0xc'));_0x22f17c(_0x4f5506[_0x014a('0x13')]['message']);}})[_0x014a('0x14')](function(_0x17e4be){logger[_0x014a('0xe')](_0x014a('0x10'),_0x11b8ce,_0x17e4be);_0x4d943b(_0x17e4be);});});} \ No newline at end of file +var _0x4975=['ioredis','../../mysqldb','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','http','request','info','VoiceMailMessage,\x20%s,\x20%s','request\x20sent','debug','VoiceMailMessage,\x20%s,\x20%s,\x20%s','stringify','error','message','result','catch','lodash','moment','bluebird','randomstring'];(function(_0x2b10c6,_0x185590){var _0x3789d2=function(_0x272987){while(--_0x272987){_0x2b10c6['push'](_0x2b10c6['shift']());}};_0x3789d2(++_0x185590);}(_0x4975,0x86));var _0x5497=function(_0x15bf74,_0x57afdb){_0x15bf74=_0x15bf74-0x0;var _0x280c39=_0x4975[_0x15bf74];return _0x280c39;};'use strict';var _=require(_0x5497('0x0'));var util=require('util');var moment=require(_0x5497('0x1'));var BPromise=require(_0x5497('0x2'));var rs=require(_0x5497('0x3'));var fs=require('fs');var Redis=require(_0x5497('0x4'));var db=require(_0x5497('0x5'))['db'];var utils=require(_0x5497('0x6'));var logger=require(_0x5497('0x7'))(_0x5497('0x8'));var config=require(_0x5497('0x9'));var jayson=require(_0x5497('0xa'));var client=jayson['client'][_0x5497('0xb')]({'port':0x232a});function respondWithRpcPromise(_0x4f563d,_0x1d0019,_0x674a2a){return new BPromise(function(_0x368e8b,_0x57f930){return client[_0x5497('0xc')](_0x4f563d,_0x674a2a)['then'](function(_0x1f63d8){logger[_0x5497('0xd')](_0x5497('0xe'),_0x1d0019,_0x5497('0xf'));logger[_0x5497('0x10')](_0x5497('0x11'),_0x1d0019,_0x5497('0xf'),JSON[_0x5497('0x12')](_0x1f63d8));if(_0x1f63d8['error']){if(_0x1f63d8['error']['code']===0x1f4){logger[_0x5497('0x13')](_0x5497('0xe'),_0x1d0019,_0x1f63d8[_0x5497('0x13')][_0x5497('0x14')]);return _0x57f930(_0x1f63d8[_0x5497('0x13')][_0x5497('0x14')]);}logger[_0x5497('0x13')](_0x5497('0xe'),_0x1d0019,_0x1f63d8[_0x5497('0x13')][_0x5497('0x14')]);return _0x368e8b(_0x1f63d8['error'][_0x5497('0x14')]);}else{logger['info'](_0x5497('0xe'),_0x1d0019,_0x5497('0xf'));_0x368e8b(_0x1f63d8[_0x5497('0x15')][_0x5497('0x14')]);}})[_0x5497('0x16')](function(_0x4073e6){logger[_0x5497('0x13')]('VoiceMailMessage,\x20%s,\x20%s',_0x1d0019,_0x4073e6);_0x57f930(_0x4073e6);});});} \ No newline at end of file diff --git a/server/api/voiceMusicOnHold/index.js b/server/api/voiceMusicOnHold/index.js index 9d73c0b..805473e 100644 --- a/server/api/voiceMusicOnHold/index.js +++ b/server/api/voiceMusicOnHold/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x8e8f=['addSound','update','delete','/:id/sounds/:id2','exports','multer','util','path','connect-timeout','../../components/interaction/service','../../config/environment','./voiceMusicOnHold.controller','get','isAuthenticated','index','/:id','/:id/sounds','getSounds','post','create'];(function(_0x25fc41,_0x250864){var _0x1371d1=function(_0x8ab2e3){while(--_0x8ab2e3){_0x25fc41['push'](_0x25fc41['shift']());}};_0x1371d1(++_0x250864);}(_0x8e8f,0x16d));var _0xf8e8=function(_0x45ee03,_0x2f5319){_0x45ee03=_0x45ee03-0x0;var _0x13d535=_0x8e8f[_0x45ee03];return _0x13d535;};'use strict';var multer=require(_0xf8e8('0x0'));var util=require(_0xf8e8('0x1'));var path=require(_0xf8e8('0x2'));var timeout=require(_0xf8e8('0x3'));var express=require('express');var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require(_0xf8e8('0x4'));var config=require(_0xf8e8('0x5'));var controller=require(_0xf8e8('0x6'));router[_0xf8e8('0x7')]('/',auth[_0xf8e8('0x8')](),controller[_0xf8e8('0x9')]);router[_0xf8e8('0x7')](_0xf8e8('0xa'),auth[_0xf8e8('0x8')](),controller['show']);router[_0xf8e8('0x7')](_0xf8e8('0xb'),auth[_0xf8e8('0x8')](),controller[_0xf8e8('0xc')]);router[_0xf8e8('0xd')]('/',auth[_0xf8e8('0x8')](),controller[_0xf8e8('0xe')]);router[_0xf8e8('0xd')](_0xf8e8('0xb'),auth[_0xf8e8('0x8')](),controller[_0xf8e8('0xf')]);router['put'](_0xf8e8('0xa'),auth[_0xf8e8('0x8')](),controller[_0xf8e8('0x10')]);router['delete'](_0xf8e8('0xa'),auth['isAuthenticated'](),controller['destroy']);router[_0xf8e8('0x11')](_0xf8e8('0x12'),auth[_0xf8e8('0x8')](),controller['removeSound']);module[_0xf8e8('0x13')]=router; \ No newline at end of file +var _0xb385=['post','/:id/sounds','addSound','put','update','delete','/:id','destroy','/:id/sounds/:id2','removeSound','exports','multer','util','path','express','Router','../../components/interaction/service','./voiceMusicOnHold.controller','get','isAuthenticated','index','create'];(function(_0x3b1d89,_0x2b1ac8){var _0x5de9d9=function(_0x220b09){while(--_0x220b09){_0x3b1d89['push'](_0x3b1d89['shift']());}};_0x5de9d9(++_0x2b1ac8);}(_0xb385,0x79));var _0x5b38=function(_0x17470c,_0x587b2e){_0x17470c=_0x17470c-0x0;var _0x47f588=_0xb385[_0x17470c];return _0x47f588;};'use strict';var multer=require(_0x5b38('0x0'));var util=require(_0x5b38('0x1'));var path=require(_0x5b38('0x2'));var timeout=require('connect-timeout');var express=require(_0x5b38('0x3'));var router=express[_0x5b38('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0x5b38('0x5'));var config=require('../../config/environment');var controller=require(_0x5b38('0x6'));router[_0x5b38('0x7')]('/',auth[_0x5b38('0x8')](),controller[_0x5b38('0x9')]);router[_0x5b38('0x7')]('/:id',auth[_0x5b38('0x8')](),controller['show']);router[_0x5b38('0x7')]('/:id/sounds',auth[_0x5b38('0x8')](),controller['getSounds']);router['post']('/',auth[_0x5b38('0x8')](),controller[_0x5b38('0xa')]);router[_0x5b38('0xb')](_0x5b38('0xc'),auth[_0x5b38('0x8')](),controller[_0x5b38('0xd')]);router[_0x5b38('0xe')]('/:id',auth['isAuthenticated'](),controller[_0x5b38('0xf')]);router[_0x5b38('0x10')](_0x5b38('0x11'),auth[_0x5b38('0x8')](),controller[_0x5b38('0x12')]);router['delete'](_0x5b38('0x13'),auth[_0x5b38('0x8')](),controller[_0x5b38('0x14')]);module[_0x5b38('0x15')]=router; \ No newline at end of file diff --git a/server/api/voiceMusicOnHold/voiceMusicOnHold.attributes.js b/server/api/voiceMusicOnHold/voiceMusicOnHold.attributes.js index 74240ce..35fff2c 100644 --- a/server/api/voiceMusicOnHold/voiceMusicOnHold.attributes.js +++ b/server/api/voiceMusicOnHold/voiceMusicOnHold.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x6b05=['TIMESTAMP','sequelize','STRING','name','custom','files','mp3nb','quietmp3','mp3'];(function(_0x1c6027,_0x3d8169){var _0x6927b5=function(_0x3f0af8){while(--_0x3f0af8){_0x1c6027['push'](_0x1c6027['shift']());}};_0x6927b5(++_0x3d8169);}(_0x6b05,0x157));var _0x56b0=function(_0x33d761,_0x1666ae){_0x33d761=_0x33d761-0x0;var _0x5c8975=_0x6b05[_0x33d761];return _0x5c8975;};'use strict';var Sequelize=require(_0x56b0('0x0'));module['exports']={'name':{'type':Sequelize[_0x56b0('0x1')],'allowNull':![],'unique':_0x56b0('0x2')},'mode':{'type':Sequelize['ENUM'](_0x56b0('0x3'),_0x56b0('0x4'),_0x56b0('0x5'),'quietmp3nb',_0x56b0('0x6'),_0x56b0('0x7')),'allowNull':!![],'defaultValue':_0x56b0('0x4')},'directory':{'type':Sequelize[_0x56b0('0x1')],'allowNull':!![]},'application':{'type':Sequelize[_0x56b0('0x1')],'allowNull':!![]},'digit':{'type':Sequelize[_0x56b0('0x1')],'allowNull':!![]},'sort':{'type':Sequelize[_0x56b0('0x1')],'allowNull':!![],'defaultValue':'alpha'},'format':{'type':Sequelize[_0x56b0('0x1')],'allowNull':!![]},'stamp':{'type':_0x56b0('0x8')},'defaultEntry':{'type':Sequelize['BOOLEAN'],'defaultValue':0x0}}; \ No newline at end of file +var _0xdded=['mp3nb','quietmp3','mp3','files','alpha','TIMESTAMP','BOOLEAN','sequelize','STRING','name','ENUM','custom'];(function(_0x5c4ff1,_0x35fb65){var _0x456a62=function(_0x1b4b15){while(--_0x1b4b15){_0x5c4ff1['push'](_0x5c4ff1['shift']());}};_0x456a62(++_0x35fb65);}(_0xdded,0x7f));var _0xddde=function(_0x31dd85,_0x124e0e){_0x31dd85=_0x31dd85-0x0;var _0x302c02=_0xdded[_0x31dd85];return _0x302c02;};'use strict';var Sequelize=require(_0xddde('0x0'));module['exports']={'name':{'type':Sequelize[_0xddde('0x1')],'allowNull':![],'unique':_0xddde('0x2')},'mode':{'type':Sequelize[_0xddde('0x3')](_0xddde('0x4'),'files',_0xddde('0x5'),'quietmp3nb',_0xddde('0x6'),_0xddde('0x7')),'allowNull':!![],'defaultValue':_0xddde('0x8')},'directory':{'type':Sequelize[_0xddde('0x1')],'allowNull':!![]},'application':{'type':Sequelize[_0xddde('0x1')],'allowNull':!![]},'digit':{'type':Sequelize[_0xddde('0x1')],'allowNull':!![]},'sort':{'type':Sequelize[_0xddde('0x1')],'allowNull':!![],'defaultValue':_0xddde('0x9')},'format':{'type':Sequelize['STRING'],'allowNull':!![]},'stamp':{'type':_0xddde('0xa')},'defaultEntry':{'type':Sequelize[_0xddde('0xb')],'defaultValue':0x0}}; \ No newline at end of file diff --git a/server/api/voiceMusicOnHold/voiceMusicOnHold.controller.js b/server/api/voiceMusicOnHold/voiceMusicOnHold.controller.js index cdd0471..6b8ad5b 100644 --- a/server/api/voiceMusicOnHold/voiceMusicOnHold.controller.js +++ b/server/api/voiceMusicOnHold/voiceMusicOnHold.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xb10b=['stack','name','send','VoiceMusicOnHold','type','key','model','query','keys','filters','intersection','attributes','fields','length','hasOwnProperty','order','sort','where','merge','map','VIRTUAL','filter','options','includeAll','include','findAll','rows','catch','show','params','find','update','body','create','sequelize','transaction','mode','files','directory','join','root','server/files/moh','0777','user','Unable\x20to\x20retrieve\x20the\x20current\x20user','role','UserProfileSection','userProfileId','autoAssociation','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','readdirSync','forEach','unlinkSync','rmdirSync','ValidationError','message','findOne','converted_format','createdAt','server/files/sounds/converted','format','basename','save_name','extname','%s.%s','Sequelize','removeSound','Sound','getSounds','rawAttributes','pick','nolimit','html-pdf','rimraf','zip-dir','fast-json-patch','moment','bluebird','mustache','util','path','sox','ejs','lodash','crypto','jsforce','desk.js','to-csv','querystring','papaparse','ioredis','../../components/auth/service','../../config/license/hardware','../../config/logger','api','../../config/environment','sendStatus','status','end','json','count','offset','limit','set','Content-Range','reject','save','then','destroy','get','MusicOnHolds','UserProfileResource','error'];(function(_0x54d848,_0x36763c){var _0x842e88=function(_0x58e3e6){while(--_0x58e3e6){_0x54d848['push'](_0x54d848['shift']());}};_0x842e88(++_0x36763c);}(_0xb10b,0x12a));var _0xbb10=function(_0x33c42e,_0x170930){_0x33c42e=_0x33c42e-0x0;var _0xfddb2b=_0xb10b[_0x33c42e];return _0xfddb2b;};'use strict';var pdf=require(_0xbb10('0x0'));var emlformat=require('eml-format');var rimraf=require(_0xbb10('0x1'));var zipdir=require(_0xbb10('0x2'));var jsonpatch=require(_0xbb10('0x3'));var rp=require('request-promise');var moment=require(_0xbb10('0x4'));var BPromise=require(_0xbb10('0x5'));var Mustache=require(_0xbb10('0x6'));var util=require(_0xbb10('0x7'));var path=require(_0xbb10('0x8'));var sox=require(_0xbb10('0x9'));var csv=require('to-csv');var ejs=require(_0xbb10('0xa'));var fs=require('fs');var _=require(_0xbb10('0xb'));var squel=require('squel');var crypto=require(_0xbb10('0xc'));var jsforce=require(_0xbb10('0xd'));var deskjs=require(_0xbb10('0xe'));var toCsv=require(_0xbb10('0xf'));var querystring=require(_0xbb10('0x10'));var Papa=require(_0xbb10('0x11'));var Redis=require(_0xbb10('0x12'));var authService=require(_0xbb10('0x13'));var qs=require('../../components/parsers/qs');var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0xbb10('0x14'));var logger=require(_0xbb10('0x15'))(_0xbb10('0x16'));var utils=require('../../config/utils');var config=require(_0xbb10('0x17'));var db=require('../../mysqldb')['db'];function respondWithStatusCode(_0x44fb19,_0x916a32){_0x916a32=_0x916a32||0xcc;return function(_0x285009){if(_0x285009){return _0x44fb19[_0xbb10('0x18')](_0x916a32);}return _0x44fb19[_0xbb10('0x19')](_0x916a32)[_0xbb10('0x1a')]();};}function respondWithResult(_0x58a612,_0x26e021){_0x26e021=_0x26e021||0xc8;return function(_0x42d7e4){if(_0x42d7e4){return _0x58a612[_0xbb10('0x19')](_0x26e021)[_0xbb10('0x1b')](_0x42d7e4);}};}function respondWithFilteredResult(_0x3df17b,_0x2f2ebf){return function(_0x24a57b){if(_0x24a57b){var _0x36b5e8=_0x24a57b[_0xbb10('0x1c')],_0x3e26f4=_0x2f2ebf[_0xbb10('0x1d')],_0x2b184e=_0x2f2ebf[_0xbb10('0x1d')]+_0x2f2ebf[_0xbb10('0x1e')],_0x4a2bfc;if(_0x2b184e>=_0x36b5e8){_0x2b184e=_0x36b5e8;_0x4a2bfc=0xc8;}else{_0x4a2bfc=0xce;}_0x3df17b[_0xbb10('0x19')](_0x4a2bfc);return _0x3df17b[_0xbb10('0x1f')](_0xbb10('0x20'),_0x3e26f4+'-'+_0x2b184e+'/'+_0x36b5e8)[_0xbb10('0x1b')](_0x24a57b);}return null;};}function patchUpdates(_0xbf2906){return function(_0xe1c665){try{jsonpatch['apply'](_0xe1c665,_0xbf2906,!![]);}catch(_0x5ff0cf){return BPromise[_0xbb10('0x21')](_0x5ff0cf);}return _0xe1c665[_0xbb10('0x22')]();};}function saveUpdates(_0x109908,_0xdf237d){return function(_0x44e563){if(_0x44e563){return _0x44e563['update'](_0x109908)[_0xbb10('0x23')](function(_0x12ef77){return _0x12ef77;});}return null;};}function removeEntity(_0x50aea1,_0x4c4b0d){return function(_0x8e2b97){if(_0x8e2b97){return _0x8e2b97[_0xbb10('0x24')]()[_0xbb10('0x23')](function(){var _0x317da4=_0x8e2b97[_0xbb10('0x25')]({'plain':!![]});var _0x1824b7=_0xbb10('0x26');return db[_0xbb10('0x27')][_0xbb10('0x24')]({'where':{'type':_0x1824b7,'resourceId':_0x317da4['id']}})[_0xbb10('0x23')](function(){return _0x8e2b97;});})[_0xbb10('0x23')](function(){_0x50aea1[_0xbb10('0x19')](0xcc)['end']();});}};}function handleEntityNotFound(_0x4fedac,_0x4fb5e0){return function(_0xc93a04){if(!_0xc93a04){_0x4fedac[_0xbb10('0x18')](0x194);}return _0xc93a04;};}function handleError(_0x2c89b9,_0x4e25ff){_0x4e25ff=_0x4e25ff||0x1f4;return function(_0x2fdde9){logger[_0xbb10('0x28')](_0x2fdde9[_0xbb10('0x29')]);if(_0x2fdde9[_0xbb10('0x2a')]){delete _0x2fdde9[_0xbb10('0x2a')];}_0x2c89b9[_0xbb10('0x19')](_0x4e25ff)[_0xbb10('0x2b')](_0x2fdde9);};}exports['index']=function(_0x3796c7,_0x21ac54){var _0xfc3595={},_0x2e0249={},_0x1d30aa={'count':0x0,'rows':[]};var _0x2ff4c1=_['map'](db[_0xbb10('0x2c')]['rawAttributes'],function(_0x448d5c){return{'name':_0x448d5c['fieldName'],'type':_0x448d5c[_0xbb10('0x2d')][_0xbb10('0x2e')]};});_0x2e0249[_0xbb10('0x2f')]=_['map'](_0x2ff4c1,'name');_0x2e0249[_0xbb10('0x30')]=_[_0xbb10('0x31')](_0x3796c7['query']);_0x2e0249[_0xbb10('0x32')]=_[_0xbb10('0x33')](_0x2e0249[_0xbb10('0x2f')],_0x2e0249[_0xbb10('0x30')]);_0xfc3595[_0xbb10('0x34')]=_[_0xbb10('0x33')](_0x2e0249[_0xbb10('0x2f')],qs['fields'](_0x3796c7[_0xbb10('0x30')][_0xbb10('0x35')]));_0xfc3595[_0xbb10('0x34')]=_0xfc3595[_0xbb10('0x34')][_0xbb10('0x36')]?_0xfc3595[_0xbb10('0x34')]:_0x2e0249[_0xbb10('0x2f')];if(!_0x3796c7[_0xbb10('0x30')][_0xbb10('0x37')]('nolimit')){_0xfc3595[_0xbb10('0x1e')]=qs[_0xbb10('0x1e')](_0x3796c7[_0xbb10('0x30')][_0xbb10('0x1e')]);_0xfc3595['offset']=qs[_0xbb10('0x1d')](_0x3796c7['query']['offset']);}_0xfc3595[_0xbb10('0x38')]=qs[_0xbb10('0x39')](_0x3796c7[_0xbb10('0x30')][_0xbb10('0x39')]);_0xfc3595[_0xbb10('0x3a')]=qs[_0xbb10('0x32')](_['pick'](_0x3796c7[_0xbb10('0x30')],_0x2e0249[_0xbb10('0x32')]),_0x2ff4c1);if(_0x3796c7['query']['filter']){_0xfc3595['where']=_[_0xbb10('0x3b')](_0xfc3595[_0xbb10('0x3a')],{'$or':_[_0xbb10('0x3c')](_0x2ff4c1,function(_0x4d5a9b){if(_0x4d5a9b[_0xbb10('0x2d')]!==_0xbb10('0x3d')){var _0x4345f3={};_0x4345f3[_0x4d5a9b['name']]={'$like':'%'+_0x3796c7[_0xbb10('0x30')][_0xbb10('0x3e')]+'%'};return _0x4345f3;}})});}_0xfc3595=_[_0xbb10('0x3b')]({},_0xfc3595,_0x3796c7[_0xbb10('0x3f')]);var _0x4f1cdd={'where':_0xfc3595[_0xbb10('0x3a')]};return db[_0xbb10('0x2c')]['count'](_0x4f1cdd)[_0xbb10('0x23')](function(_0x2e3214){_0x1d30aa[_0xbb10('0x1c')]=_0x2e3214;if(_0x3796c7[_0xbb10('0x30')][_0xbb10('0x40')]){_0xfc3595[_0xbb10('0x41')]=[{'all':!![]}];}return db['VoiceMusicOnHold'][_0xbb10('0x42')](_0xfc3595);})[_0xbb10('0x23')](function(_0x3e7b4c){_0x1d30aa[_0xbb10('0x43')]=_0x3e7b4c;return _0x1d30aa;})['then'](respondWithFilteredResult(_0x21ac54,_0xfc3595))[_0xbb10('0x44')](handleError(_0x21ac54,null));};exports[_0xbb10('0x45')]=function(_0x23dc18,_0x403beb){var _0x5e2cfa={'raw':![],'where':{'id':_0x23dc18[_0xbb10('0x46')]['id']}},_0x351484={};_0x351484['model']=_['keys'](db[_0xbb10('0x2c')]['rawAttributes']);_0x351484[_0xbb10('0x30')]=_[_0xbb10('0x31')](_0x23dc18['query']);_0x351484[_0xbb10('0x32')]=_[_0xbb10('0x33')](_0x351484[_0xbb10('0x2f')],_0x351484['query']);_0x5e2cfa[_0xbb10('0x34')]=_[_0xbb10('0x33')](_0x351484[_0xbb10('0x2f')],qs[_0xbb10('0x35')](_0x23dc18[_0xbb10('0x30')][_0xbb10('0x35')]));_0x5e2cfa[_0xbb10('0x34')]=_0x5e2cfa[_0xbb10('0x34')][_0xbb10('0x36')]?_0x5e2cfa[_0xbb10('0x34')]:_0x351484[_0xbb10('0x2f')];if(_0x23dc18[_0xbb10('0x30')]['includeAll']){_0x5e2cfa[_0xbb10('0x41')]=[{'all':!![]}];}_0x5e2cfa=_[_0xbb10('0x3b')]({},_0x5e2cfa,_0x23dc18['options']);return db[_0xbb10('0x2c')][_0xbb10('0x47')](_0x5e2cfa)[_0xbb10('0x23')](handleEntityNotFound(_0x403beb,null))[_0xbb10('0x23')](respondWithResult(_0x403beb,null))[_0xbb10('0x44')](handleError(_0x403beb,null));};exports[_0xbb10('0x48')]=function(_0x3e06b0,_0x5be85e){if(_0x3e06b0['body']['id']){delete _0x3e06b0[_0xbb10('0x49')]['id'];}return db[_0xbb10('0x2c')][_0xbb10('0x47')]({'where':{'id':_0x3e06b0['params']['id']}})['then'](handleEntityNotFound(_0x5be85e,null))[_0xbb10('0x23')](saveUpdates(_0x3e06b0[_0xbb10('0x49')],null))[_0xbb10('0x23')](respondWithResult(_0x5be85e,null))[_0xbb10('0x44')](handleError(_0x5be85e,null));};exports[_0xbb10('0x4a')]=function(_0x22b315,_0x2f2552,_0x460788){return db[_0xbb10('0x4b')][_0xbb10('0x4c')](function(_0x550111){if(_0x22b315['body'][_0xbb10('0x4d')]===_0xbb10('0x4e')){_0x22b315[_0xbb10('0x49')][_0xbb10('0x4f')]=path[_0xbb10('0x50')](config[_0xbb10('0x51')],_0xbb10('0x52'),_0x22b315[_0xbb10('0x49')][_0xbb10('0x2a')]);}return db[_0xbb10('0x2c')][_0xbb10('0x4a')](_0x22b315[_0xbb10('0x49')],{'transaction':_0x550111})[_0xbb10('0x23')](function(_0x2e6fd9){if(_0x22b315[_0xbb10('0x49')]['mode']===_0xbb10('0x4e')){fs['mkdirSync'](_0x2e6fd9[_0xbb10('0x4f')],parseInt(_0xbb10('0x53'),0x8));}var _0x1ffe20=_0x22b315[_0xbb10('0x54')][_0xbb10('0x25')]({'plain':!![]});if(!_0x1ffe20)throw new Error(_0xbb10('0x55'));if(_0x1ffe20[_0xbb10('0x56')]===_0xbb10('0x54')){var _0x180400=_0x2e6fd9[_0xbb10('0x25')]({'plain':!![]});return db[_0xbb10('0x57')][_0xbb10('0x47')]({'where':{'name':_0xbb10('0x26'),'userProfileId':_0x1ffe20[_0xbb10('0x58')]},'raw':!![]})[_0xbb10('0x23')](function(_0x5de0cc){if(_0x5de0cc&&_0x5de0cc[_0xbb10('0x59')]===0x0){return db[_0xbb10('0x27')][_0xbb10('0x4a')]({'name':_0x180400[_0xbb10('0x2a')],'resourceId':_0x180400['id'],'type':_0x5de0cc[_0xbb10('0x2a')],'sectionId':_0x5de0cc['id']},{})[_0xbb10('0x23')](function(){return _0x2e6fd9;});}else{return _0x2e6fd9;}})['catch'](function(_0x120bda){logger[_0xbb10('0x28')](_0xbb10('0x5a'),_0x120bda);});}return _0x2e6fd9;});})[_0xbb10('0x23')](respondWithResult(_0x2f2552,0xc9))[_0xbb10('0x44')](handleError(_0x2f2552,null));};exports[_0xbb10('0x24')]=function(_0x175872,_0x12ec18,_0x205e01){var _0x40c4fb;return db[_0xbb10('0x2c')][_0xbb10('0x47')]({'where':{'id':_0x175872[_0xbb10('0x46')]['id']}})['then'](function(_0x4ea1a6){if(_0x4ea1a6){return db[_0xbb10('0x4b')][_0xbb10('0x4c')](function(_0x3d0cb7){return _0x4ea1a6[_0xbb10('0x24')]({'transaction':_0x3d0cb7,'raw':!![]})['then'](function(_0x506498){if(_0x506498[_0xbb10('0x4f')]){fs[_0xbb10('0x5b')](_0x506498[_0xbb10('0x4f')])[_0xbb10('0x5c')](function(_0x412f13){fs[_0xbb10('0x5d')](path[_0xbb10('0x50')](_0x506498['directory'],_0x412f13));});fs[_0xbb10('0x5e')](_0x506498[_0xbb10('0x4f')]);}return _0x506498;});})['catch'](function(_0x5e03cb){throw new db['Sequelize'][(_0xbb10('0x5f'))](_0x5e03cb[_0xbb10('0x60')]);});}})[_0xbb10('0x23')](handleEntityNotFound(_0x12ec18,null))['then'](removeEntity(_0x12ec18,null))['catch'](handleError(_0x12ec18,null));};exports['addSound']=function(_0x3ebc5f,_0x249b33,_0x45167a){return db['sequelize'][_0xbb10('0x4c')](function(_0x13131c){var _0x5a6538;return db['VoiceMusicOnHold'][_0xbb10('0x47')]({'where':{'id':_0x3ebc5f[_0xbb10('0x46')]['id']}})[_0xbb10('0x23')](function(_0x237246){if(_0x237246){_0x5a6538=_0x237246;return _0x237246['addSound'](_0x3ebc5f[_0xbb10('0x49')]['id'],{'transaction':_0x13131c});}})[_0xbb10('0x23')](function(_0xa7179d){if(_0xa7179d){return db['Sound'][_0xbb10('0x61')]({'where':{'id':_0x3ebc5f[_0xbb10('0x49')]['id']},'attributes':['id',_0xbb10('0x2a'),'save_name',_0xbb10('0x62'),_0xbb10('0x63')],'raw':!![]});}})[_0xbb10('0x23')](function(_0x37b65f){if(_0x37b65f){var _0x5e4a6e=path[_0xbb10('0x50')](config[_0xbb10('0x51')],_0xbb10('0x64'),util[_0xbb10('0x65')]('%s.%s',path[_0xbb10('0x66')](_0x37b65f[_0xbb10('0x67')],path[_0xbb10('0x68')](_0x37b65f[_0xbb10('0x67')])),_0x37b65f[_0xbb10('0x62')]));var _0x17807e=path[_0xbb10('0x50')](config['root'],'server/files/moh',_0x5a6538['name'],util[_0xbb10('0x65')](_0xbb10('0x69'),_0x37b65f[_0xbb10('0x2a')],_0x37b65f['converted_format']));fs['symlinkSync'](_0x5e4a6e,_0x17807e);return _0x37b65f;}})[_0xbb10('0x44')](function(_0x1b11c0){throw new db[(_0xbb10('0x6a'))][(_0xbb10('0x5f'))](_0x1b11c0[_0xbb10('0x60')]);});})[_0xbb10('0x23')](handleEntityNotFound(_0x249b33,null))['then'](respondWithResult(_0x249b33,0xc9))[_0xbb10('0x44')](handleError(_0x249b33,null));};exports[_0xbb10('0x6b')]=function(_0x270fdb,_0x14f16b,_0x2aaaa6){return db['sequelize']['transaction'](function(_0x5ad6ad){var _0x329da7;return db[_0xbb10('0x2c')][_0xbb10('0x61')]({'where':{'id':_0x270fdb[_0xbb10('0x46')]['id']}})[_0xbb10('0x23')](handleEntityNotFound(_0x14f16b,null))[_0xbb10('0x23')](function(_0x5d942d){if(_0x5d942d){_0x329da7=_0x5d942d;return _0x5d942d[_0xbb10('0x6b')](_0x270fdb['params']['id2']);}})['then'](function(_0xdf634f){if(_0xdf634f){return db[_0xbb10('0x6c')][_0xbb10('0x61')]({'where':{'id':_0x270fdb[_0xbb10('0x46')]['id2']},'attributes':['id',_0xbb10('0x2a'),'save_name','converted_format',_0xbb10('0x63')],'raw':!![]});}})[_0xbb10('0x23')](function(_0x29529c){if(_0x29529c){fs[_0xbb10('0x5d')](path[_0xbb10('0x50')](_0x329da7['directory'],util[_0xbb10('0x65')](_0xbb10('0x69'),_0x29529c[_0xbb10('0x2a')],_0x29529c[_0xbb10('0x62')])));return _0x29529c;}})[_0xbb10('0x44')](function(_0x27f42f){throw new db[(_0xbb10('0x6a'))]['ValidationError'](_0x27f42f[_0xbb10('0x60')]);});})[_0xbb10('0x23')](handleEntityNotFound(_0x14f16b,null))[_0xbb10('0x23')](respondWithStatusCode(_0x14f16b,0xcc))[_0xbb10('0x44')](handleError(_0x14f16b,null));};exports[_0xbb10('0x6d')]=function(_0x172be3,_0xa3b23,_0x312a08){var _0x5a4429={};var _0x428146={};var _0x218690;var _0x145baf;return db['VoiceMusicOnHold']['findOne']({'where':{'id':_0x172be3['params']['id']}})[_0xbb10('0x23')](handleEntityNotFound(_0xa3b23,null))['then'](function(_0x4e3d6a){if(_0x4e3d6a){_0x218690=_0x4e3d6a;_0x428146[_0xbb10('0x2f')]=_[_0xbb10('0x31')](db[_0xbb10('0x6c')][_0xbb10('0x6e')]);_0x428146[_0xbb10('0x30')]=_[_0xbb10('0x31')](_0x172be3[_0xbb10('0x30')]);_0x428146[_0xbb10('0x32')]=_[_0xbb10('0x33')](_0x428146['model'],_0x428146[_0xbb10('0x30')]);_0x5a4429[_0xbb10('0x34')]=_[_0xbb10('0x33')](_0x428146[_0xbb10('0x2f')],qs['fields'](_0x172be3['query'][_0xbb10('0x35')]));_0x5a4429[_0xbb10('0x34')]=_0x5a4429[_0xbb10('0x34')][_0xbb10('0x36')]?_0x5a4429['attributes']:_0x428146[_0xbb10('0x2f')];_0x5a4429[_0xbb10('0x38')]=qs[_0xbb10('0x39')](_0x172be3[_0xbb10('0x30')][_0xbb10('0x39')]);_0x5a4429['where']=qs['filters'](_[_0xbb10('0x6f')](_0x172be3[_0xbb10('0x30')],_0x428146[_0xbb10('0x32')]));if(_0x172be3['query'][_0xbb10('0x3e')]){_0x5a4429[_0xbb10('0x3a')]=_['merge'](_0x5a4429['where'],{'$or':_[_0xbb10('0x3c')](_0x5a4429[_0xbb10('0x34')],function(_0x177f77){var _0x4d64ff={};_0x4d64ff[_0x177f77]={'$like':'%'+_0x172be3[_0xbb10('0x30')][_0xbb10('0x3e')]+'%'};return _0x4d64ff;})});}_0x5a4429=_[_0xbb10('0x3b')]({},_0x5a4429,_0x172be3[_0xbb10('0x3f')]);return _0x218690[_0xbb10('0x6d')](_0x5a4429);}})[_0xbb10('0x23')](function(_0x45bd4e){if(_0x45bd4e){_0x145baf=_0x45bd4e[_0xbb10('0x36')];if(!_0x172be3[_0xbb10('0x30')]['hasOwnProperty'](_0xbb10('0x70'))){_0x5a4429[_0xbb10('0x1e')]=qs[_0xbb10('0x1e')](_0x172be3[_0xbb10('0x30')][_0xbb10('0x1e')]);_0x5a4429[_0xbb10('0x1d')]=qs[_0xbb10('0x1d')](_0x172be3[_0xbb10('0x30')][_0xbb10('0x1d')]);}return _0x218690[_0xbb10('0x6d')](_0x5a4429);}})[_0xbb10('0x23')](function(_0x2a4278){if(_0x2a4278){return _0x2a4278?{'count':_0x145baf,'rows':_0x2a4278}:null;}})['then'](respondWithResult(_0xa3b23,null))['catch'](handleError(_0xa3b23,null));}; \ No newline at end of file +var _0xd8b0=['map','rawAttributes','fieldName','query','filters','intersection','model','attributes','fields','length','hasOwnProperty','nolimit','order','sort','pick','filter','where','merge','type','VIRTUAL','VoiceMusicOnHold','count','includeAll','include','findAll','rows','catch','params','keys','find','body','create','transaction','mode','directory','join','root','server/files/moh','files','0777','user','Unable\x20to\x20retrieve\x20the\x20current\x20user','autoAssociation','error','sequelize','forEach','unlinkSync','rmdirSync','Sequelize','addSound','Sound','findOne','converted_format','createdAt','server/files/sounds/converted','format','%s.%s','extname','save_name','symlinkSync','ValidationError','removeSound','id2','message','getSounds','options','html-pdf','eml-format','request-promise','moment','bluebird','mustache','util','to-csv','ejs','lodash','crypto','jsforce','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','api','../../config/environment','../../mysqldb','sendStatus','status','end','json','offset','limit','set','Content-Range','apply','reject','save','update','then','get','MusicOnHolds','UserProfileResource','destroy','name','send'];(function(_0x2af272,_0x5ab76d){var _0x33f172=function(_0x40c133){while(--_0x40c133){_0x2af272['push'](_0x2af272['shift']());}};_0x33f172(++_0x5ab76d);}(_0xd8b0,0xad));var _0x0d8b=function(_0x20a584,_0xe384a5){_0x20a584=_0x20a584-0x0;var _0x4b41a8=_0xd8b0[_0x20a584];return _0x4b41a8;};'use strict';var pdf=require(_0x0d8b('0x0'));var emlformat=require(_0x0d8b('0x1'));var rimraf=require('rimraf');var zipdir=require('zip-dir');var jsonpatch=require('fast-json-patch');var rp=require(_0x0d8b('0x2'));var moment=require(_0x0d8b('0x3'));var BPromise=require(_0x0d8b('0x4'));var Mustache=require(_0x0d8b('0x5'));var util=require(_0x0d8b('0x6'));var path=require('path');var sox=require('sox');var csv=require(_0x0d8b('0x7'));var ejs=require(_0x0d8b('0x8'));var fs=require('fs');var _=require(_0x0d8b('0x9'));var squel=require('squel');var crypto=require(_0x0d8b('0xa'));var jsforce=require(_0x0d8b('0xb'));var deskjs=require('desk.js');var toCsv=require(_0x0d8b('0x7'));var querystring=require(_0x0d8b('0xc'));var Papa=require(_0x0d8b('0xd'));var Redis=require(_0x0d8b('0xe'));var authService=require(_0x0d8b('0xf'));var qs=require(_0x0d8b('0x10'));var as=require(_0x0d8b('0x11'));var hardwareService=require(_0x0d8b('0x12'));var logger=require('../../config/logger')(_0x0d8b('0x13'));var utils=require('../../config/utils');var config=require(_0x0d8b('0x14'));var db=require(_0x0d8b('0x15'))['db'];function respondWithStatusCode(_0x340cc4,_0x92cdd8){_0x92cdd8=_0x92cdd8||0xcc;return function(_0x35a07b){if(_0x35a07b){return _0x340cc4[_0x0d8b('0x16')](_0x92cdd8);}return _0x340cc4[_0x0d8b('0x17')](_0x92cdd8)[_0x0d8b('0x18')]();};}function respondWithResult(_0x1d4bbc,_0x2ce75e){_0x2ce75e=_0x2ce75e||0xc8;return function(_0x5ad086){if(_0x5ad086){return _0x1d4bbc[_0x0d8b('0x17')](_0x2ce75e)[_0x0d8b('0x19')](_0x5ad086);}};}function respondWithFilteredResult(_0x2d4e1c,_0x4f6f21){return function(_0x23eb7b){if(_0x23eb7b){var _0xa86349=_0x23eb7b['count'],_0x17f7df=_0x4f6f21[_0x0d8b('0x1a')],_0xe2e167=_0x4f6f21[_0x0d8b('0x1a')]+_0x4f6f21[_0x0d8b('0x1b')],_0x2cb03c;if(_0xe2e167>=_0xa86349){_0xe2e167=_0xa86349;_0x2cb03c=0xc8;}else{_0x2cb03c=0xce;}_0x2d4e1c[_0x0d8b('0x17')](_0x2cb03c);return _0x2d4e1c[_0x0d8b('0x1c')](_0x0d8b('0x1d'),_0x17f7df+'-'+_0xe2e167+'/'+_0xa86349)[_0x0d8b('0x19')](_0x23eb7b);}return null;};}function patchUpdates(_0xa3612a){return function(_0x4a15bf){try{jsonpatch[_0x0d8b('0x1e')](_0x4a15bf,_0xa3612a,!![]);}catch(_0x23d58f){return BPromise[_0x0d8b('0x1f')](_0x23d58f);}return _0x4a15bf[_0x0d8b('0x20')]();};}function saveUpdates(_0x24e8ed,_0x5b709c){return function(_0x393beb){if(_0x393beb){return _0x393beb[_0x0d8b('0x21')](_0x24e8ed)['then'](function(_0x4f0a1a){return _0x4f0a1a;});}return null;};}function removeEntity(_0x33fb87,_0x54a9a7){return function(_0x56c729){if(_0x56c729){return _0x56c729['destroy']()[_0x0d8b('0x22')](function(){var _0x2b924f=_0x56c729[_0x0d8b('0x23')]({'plain':!![]});var _0x38efc8=_0x0d8b('0x24');return db[_0x0d8b('0x25')][_0x0d8b('0x26')]({'where':{'type':_0x38efc8,'resourceId':_0x2b924f['id']}})[_0x0d8b('0x22')](function(){return _0x56c729;});})[_0x0d8b('0x22')](function(){_0x33fb87['status'](0xcc)[_0x0d8b('0x18')]();});}};}function handleEntityNotFound(_0x4463ee,_0x5363e3){return function(_0xe1ef20){if(!_0xe1ef20){_0x4463ee['sendStatus'](0x194);}return _0xe1ef20;};}function handleError(_0x3dd149,_0x234bdd){_0x234bdd=_0x234bdd||0x1f4;return function(_0xa2af02){logger['error'](_0xa2af02['stack']);if(_0xa2af02[_0x0d8b('0x27')]){delete _0xa2af02[_0x0d8b('0x27')];}_0x3dd149['status'](_0x234bdd)[_0x0d8b('0x28')](_0xa2af02);};}exports['index']=function(_0x1b2b59,_0x4b59e5){var _0x97050a={},_0x48f24f={},_0x2ab00d={'count':0x0,'rows':[]};var _0x546bf6=_[_0x0d8b('0x29')](db['VoiceMusicOnHold'][_0x0d8b('0x2a')],function(_0x106e4c){return{'name':_0x106e4c[_0x0d8b('0x2b')],'type':_0x106e4c['type']['key']};});_0x48f24f['model']=_[_0x0d8b('0x29')](_0x546bf6,'name');_0x48f24f[_0x0d8b('0x2c')]=_['keys'](_0x1b2b59['query']);_0x48f24f[_0x0d8b('0x2d')]=_[_0x0d8b('0x2e')](_0x48f24f[_0x0d8b('0x2f')],_0x48f24f[_0x0d8b('0x2c')]);_0x97050a[_0x0d8b('0x30')]=_[_0x0d8b('0x2e')](_0x48f24f[_0x0d8b('0x2f')],qs[_0x0d8b('0x31')](_0x1b2b59['query'][_0x0d8b('0x31')]));_0x97050a[_0x0d8b('0x30')]=_0x97050a['attributes'][_0x0d8b('0x32')]?_0x97050a[_0x0d8b('0x30')]:_0x48f24f[_0x0d8b('0x2f')];if(!_0x1b2b59['query'][_0x0d8b('0x33')](_0x0d8b('0x34'))){_0x97050a[_0x0d8b('0x1b')]=qs[_0x0d8b('0x1b')](_0x1b2b59[_0x0d8b('0x2c')]['limit']);_0x97050a[_0x0d8b('0x1a')]=qs[_0x0d8b('0x1a')](_0x1b2b59['query'][_0x0d8b('0x1a')]);}_0x97050a[_0x0d8b('0x35')]=qs[_0x0d8b('0x36')](_0x1b2b59[_0x0d8b('0x2c')][_0x0d8b('0x36')]);_0x97050a['where']=qs['filters'](_[_0x0d8b('0x37')](_0x1b2b59['query'],_0x48f24f['filters']),_0x546bf6);if(_0x1b2b59[_0x0d8b('0x2c')][_0x0d8b('0x38')]){_0x97050a[_0x0d8b('0x39')]=_[_0x0d8b('0x3a')](_0x97050a[_0x0d8b('0x39')],{'$or':_[_0x0d8b('0x29')](_0x546bf6,function(_0x579324){if(_0x579324[_0x0d8b('0x3b')]!==_0x0d8b('0x3c')){var _0x28fd82={};_0x28fd82[_0x579324[_0x0d8b('0x27')]]={'$like':'%'+_0x1b2b59[_0x0d8b('0x2c')][_0x0d8b('0x38')]+'%'};return _0x28fd82;}})});}_0x97050a=_[_0x0d8b('0x3a')]({},_0x97050a,_0x1b2b59['options']);var _0x1d06b6={'where':_0x97050a[_0x0d8b('0x39')]};return db[_0x0d8b('0x3d')][_0x0d8b('0x3e')](_0x1d06b6)['then'](function(_0xe0bf42){_0x2ab00d['count']=_0xe0bf42;if(_0x1b2b59[_0x0d8b('0x2c')][_0x0d8b('0x3f')]){_0x97050a[_0x0d8b('0x40')]=[{'all':!![]}];}return db[_0x0d8b('0x3d')][_0x0d8b('0x41')](_0x97050a);})[_0x0d8b('0x22')](function(_0x1ff17d){_0x2ab00d[_0x0d8b('0x42')]=_0x1ff17d;return _0x2ab00d;})[_0x0d8b('0x22')](respondWithFilteredResult(_0x4b59e5,_0x97050a))[_0x0d8b('0x43')](handleError(_0x4b59e5,null));};exports['show']=function(_0x571acf,_0x576050){var _0x4d0811={'raw':![],'where':{'id':_0x571acf[_0x0d8b('0x44')]['id']}},_0x524d79={};_0x524d79[_0x0d8b('0x2f')]=_[_0x0d8b('0x45')](db['VoiceMusicOnHold']['rawAttributes']);_0x524d79[_0x0d8b('0x2c')]=_[_0x0d8b('0x45')](_0x571acf[_0x0d8b('0x2c')]);_0x524d79['filters']=_[_0x0d8b('0x2e')](_0x524d79[_0x0d8b('0x2f')],_0x524d79['query']);_0x4d0811['attributes']=_[_0x0d8b('0x2e')](_0x524d79['model'],qs[_0x0d8b('0x31')](_0x571acf['query']['fields']));_0x4d0811[_0x0d8b('0x30')]=_0x4d0811[_0x0d8b('0x30')]['length']?_0x4d0811['attributes']:_0x524d79['model'];if(_0x571acf['query'][_0x0d8b('0x3f')]){_0x4d0811[_0x0d8b('0x40')]=[{'all':!![]}];}_0x4d0811=_[_0x0d8b('0x3a')]({},_0x4d0811,_0x571acf['options']);return db[_0x0d8b('0x3d')][_0x0d8b('0x46')](_0x4d0811)[_0x0d8b('0x22')](handleEntityNotFound(_0x576050,null))[_0x0d8b('0x22')](respondWithResult(_0x576050,null))[_0x0d8b('0x43')](handleError(_0x576050,null));};exports[_0x0d8b('0x21')]=function(_0x11d22b,_0x1d5067){if(_0x11d22b[_0x0d8b('0x47')]['id']){delete _0x11d22b[_0x0d8b('0x47')]['id'];}return db[_0x0d8b('0x3d')][_0x0d8b('0x46')]({'where':{'id':_0x11d22b[_0x0d8b('0x44')]['id']}})[_0x0d8b('0x22')](handleEntityNotFound(_0x1d5067,null))[_0x0d8b('0x22')](saveUpdates(_0x11d22b[_0x0d8b('0x47')],null))[_0x0d8b('0x22')](respondWithResult(_0x1d5067,null))[_0x0d8b('0x43')](handleError(_0x1d5067,null));};exports[_0x0d8b('0x48')]=function(_0x574b90,_0x371fa0,_0x4d8850){return db['sequelize'][_0x0d8b('0x49')](function(_0x113fb7){if(_0x574b90[_0x0d8b('0x47')][_0x0d8b('0x4a')]==='files'){_0x574b90[_0x0d8b('0x47')][_0x0d8b('0x4b')]=path[_0x0d8b('0x4c')](config[_0x0d8b('0x4d')],_0x0d8b('0x4e'),_0x574b90['body']['name']);}return db['VoiceMusicOnHold']['create'](_0x574b90[_0x0d8b('0x47')],{'transaction':_0x113fb7})[_0x0d8b('0x22')](function(_0x5e3bb4){if(_0x574b90['body'][_0x0d8b('0x4a')]===_0x0d8b('0x4f')){fs['mkdirSync'](_0x5e3bb4['directory'],parseInt(_0x0d8b('0x50'),0x8));}var _0xeeefd4=_0x574b90[_0x0d8b('0x51')][_0x0d8b('0x23')]({'plain':!![]});if(!_0xeeefd4)throw new Error(_0x0d8b('0x52'));if(_0xeeefd4['role']===_0x0d8b('0x51')){var _0x2afe34=_0x5e3bb4['get']({'plain':!![]});return db['UserProfileSection'][_0x0d8b('0x46')]({'where':{'name':_0x0d8b('0x24'),'userProfileId':_0xeeefd4['userProfileId']},'raw':!![]})['then'](function(_0xb8be3b){if(_0xb8be3b&&_0xb8be3b[_0x0d8b('0x53')]===0x0){return db[_0x0d8b('0x25')][_0x0d8b('0x48')]({'name':_0x2afe34['name'],'resourceId':_0x2afe34['id'],'type':_0xb8be3b[_0x0d8b('0x27')],'sectionId':_0xb8be3b['id']},{})['then'](function(){return _0x5e3bb4;});}else{return _0x5e3bb4;}})['catch'](function(_0x38c24e){logger[_0x0d8b('0x54')]('Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s',_0x38c24e);});}return _0x5e3bb4;});})['then'](respondWithResult(_0x371fa0,0xc9))[_0x0d8b('0x43')](handleError(_0x371fa0,null));};exports[_0x0d8b('0x26')]=function(_0xccc2a9,_0x2c1eb0,_0x3afc3a){var _0xb66e76;return db[_0x0d8b('0x3d')][_0x0d8b('0x46')]({'where':{'id':_0xccc2a9['params']['id']}})[_0x0d8b('0x22')](function(_0x37dc9f){if(_0x37dc9f){return db[_0x0d8b('0x55')][_0x0d8b('0x49')](function(_0x3fb9ea){return _0x37dc9f[_0x0d8b('0x26')]({'transaction':_0x3fb9ea,'raw':!![]})[_0x0d8b('0x22')](function(_0x1c78b6){if(_0x1c78b6[_0x0d8b('0x4b')]){fs['readdirSync'](_0x1c78b6[_0x0d8b('0x4b')])[_0x0d8b('0x56')](function(_0x180b7b){fs[_0x0d8b('0x57')](path[_0x0d8b('0x4c')](_0x1c78b6['directory'],_0x180b7b));});fs[_0x0d8b('0x58')](_0x1c78b6[_0x0d8b('0x4b')]);}return _0x1c78b6;});})[_0x0d8b('0x43')](function(_0x17a87f){throw new db[(_0x0d8b('0x59'))]['ValidationError'](_0x17a87f['message']);});}})[_0x0d8b('0x22')](handleEntityNotFound(_0x2c1eb0,null))[_0x0d8b('0x22')](removeEntity(_0x2c1eb0,null))[_0x0d8b('0x43')](handleError(_0x2c1eb0,null));};exports[_0x0d8b('0x5a')]=function(_0x5a70bd,_0x199122,_0x12aef7){return db[_0x0d8b('0x55')]['transaction'](function(_0x2f19f4){var _0x532a85;return db[_0x0d8b('0x3d')][_0x0d8b('0x46')]({'where':{'id':_0x5a70bd[_0x0d8b('0x44')]['id']}})[_0x0d8b('0x22')](function(_0x2b6eb6){if(_0x2b6eb6){_0x532a85=_0x2b6eb6;return _0x2b6eb6[_0x0d8b('0x5a')](_0x5a70bd['body']['id'],{'transaction':_0x2f19f4});}})[_0x0d8b('0x22')](function(_0x4c074d){if(_0x4c074d){return db[_0x0d8b('0x5b')][_0x0d8b('0x5c')]({'where':{'id':_0x5a70bd[_0x0d8b('0x47')]['id']},'attributes':['id',_0x0d8b('0x27'),'save_name',_0x0d8b('0x5d'),_0x0d8b('0x5e')],'raw':!![]});}})[_0x0d8b('0x22')](function(_0x2332fc){if(_0x2332fc){var _0x2ccdae=path[_0x0d8b('0x4c')](config[_0x0d8b('0x4d')],_0x0d8b('0x5f'),util[_0x0d8b('0x60')](_0x0d8b('0x61'),path['basename'](_0x2332fc['save_name'],path[_0x0d8b('0x62')](_0x2332fc[_0x0d8b('0x63')])),_0x2332fc['converted_format']));var _0xb1aa96=path['join'](config['root'],_0x0d8b('0x4e'),_0x532a85[_0x0d8b('0x27')],util['format']('%s.%s',_0x2332fc[_0x0d8b('0x27')],_0x2332fc[_0x0d8b('0x5d')]));fs[_0x0d8b('0x64')](_0x2ccdae,_0xb1aa96);return _0x2332fc;}})[_0x0d8b('0x43')](function(_0x2ab72b){throw new db[(_0x0d8b('0x59'))][(_0x0d8b('0x65'))](_0x2ab72b['message']);});})[_0x0d8b('0x22')](handleEntityNotFound(_0x199122,null))['then'](respondWithResult(_0x199122,0xc9))[_0x0d8b('0x43')](handleError(_0x199122,null));};exports[_0x0d8b('0x66')]=function(_0x2bb690,_0x14a34b,_0x49f610){return db[_0x0d8b('0x55')]['transaction'](function(_0x3a356b){var _0x2c6c5f;return db[_0x0d8b('0x3d')][_0x0d8b('0x5c')]({'where':{'id':_0x2bb690[_0x0d8b('0x44')]['id']}})[_0x0d8b('0x22')](handleEntityNotFound(_0x14a34b,null))[_0x0d8b('0x22')](function(_0x91aa89){if(_0x91aa89){_0x2c6c5f=_0x91aa89;return _0x91aa89[_0x0d8b('0x66')](_0x2bb690[_0x0d8b('0x44')]['id2']);}})[_0x0d8b('0x22')](function(_0x54c28b){if(_0x54c28b){return db[_0x0d8b('0x5b')][_0x0d8b('0x5c')]({'where':{'id':_0x2bb690['params'][_0x0d8b('0x67')]},'attributes':['id','name',_0x0d8b('0x63'),_0x0d8b('0x5d'),_0x0d8b('0x5e')],'raw':!![]});}})[_0x0d8b('0x22')](function(_0x2242cd){if(_0x2242cd){fs[_0x0d8b('0x57')](path[_0x0d8b('0x4c')](_0x2c6c5f[_0x0d8b('0x4b')],util['format'](_0x0d8b('0x61'),_0x2242cd[_0x0d8b('0x27')],_0x2242cd['converted_format'])));return _0x2242cd;}})[_0x0d8b('0x43')](function(_0x105df9){throw new db[(_0x0d8b('0x59'))][(_0x0d8b('0x65'))](_0x105df9[_0x0d8b('0x68')]);});})[_0x0d8b('0x22')](handleEntityNotFound(_0x14a34b,null))[_0x0d8b('0x22')](respondWithStatusCode(_0x14a34b,0xcc))[_0x0d8b('0x43')](handleError(_0x14a34b,null));};exports[_0x0d8b('0x69')]=function(_0x5007c0,_0xe35028,_0x16df83){var _0x50c0ff={};var _0x1ece98={};var _0x93fc55;var _0x3acffa;return db['VoiceMusicOnHold']['findOne']({'where':{'id':_0x5007c0[_0x0d8b('0x44')]['id']}})[_0x0d8b('0x22')](handleEntityNotFound(_0xe35028,null))[_0x0d8b('0x22')](function(_0x5b76af){if(_0x5b76af){_0x93fc55=_0x5b76af;_0x1ece98['model']=_[_0x0d8b('0x45')](db[_0x0d8b('0x5b')][_0x0d8b('0x2a')]);_0x1ece98[_0x0d8b('0x2c')]=_[_0x0d8b('0x45')](_0x5007c0[_0x0d8b('0x2c')]);_0x1ece98[_0x0d8b('0x2d')]=_[_0x0d8b('0x2e')](_0x1ece98[_0x0d8b('0x2f')],_0x1ece98[_0x0d8b('0x2c')]);_0x50c0ff[_0x0d8b('0x30')]=_[_0x0d8b('0x2e')](_0x1ece98[_0x0d8b('0x2f')],qs['fields'](_0x5007c0[_0x0d8b('0x2c')][_0x0d8b('0x31')]));_0x50c0ff['attributes']=_0x50c0ff['attributes'][_0x0d8b('0x32')]?_0x50c0ff[_0x0d8b('0x30')]:_0x1ece98[_0x0d8b('0x2f')];_0x50c0ff[_0x0d8b('0x35')]=qs[_0x0d8b('0x36')](_0x5007c0[_0x0d8b('0x2c')]['sort']);_0x50c0ff['where']=qs['filters'](_[_0x0d8b('0x37')](_0x5007c0[_0x0d8b('0x2c')],_0x1ece98[_0x0d8b('0x2d')]));if(_0x5007c0[_0x0d8b('0x2c')][_0x0d8b('0x38')]){_0x50c0ff[_0x0d8b('0x39')]=_['merge'](_0x50c0ff[_0x0d8b('0x39')],{'$or':_[_0x0d8b('0x29')](_0x50c0ff['attributes'],function(_0x30a69d){var _0x57e3c2={};_0x57e3c2[_0x30a69d]={'$like':'%'+_0x5007c0[_0x0d8b('0x2c')][_0x0d8b('0x38')]+'%'};return _0x57e3c2;})});}_0x50c0ff=_[_0x0d8b('0x3a')]({},_0x50c0ff,_0x5007c0[_0x0d8b('0x6a')]);return _0x93fc55[_0x0d8b('0x69')](_0x50c0ff);}})[_0x0d8b('0x22')](function(_0x424f9d){if(_0x424f9d){_0x3acffa=_0x424f9d[_0x0d8b('0x32')];if(!_0x5007c0[_0x0d8b('0x2c')][_0x0d8b('0x33')](_0x0d8b('0x34'))){_0x50c0ff[_0x0d8b('0x1b')]=qs['limit'](_0x5007c0['query'][_0x0d8b('0x1b')]);_0x50c0ff[_0x0d8b('0x1a')]=qs[_0x0d8b('0x1a')](_0x5007c0[_0x0d8b('0x2c')][_0x0d8b('0x1a')]);}return _0x93fc55[_0x0d8b('0x69')](_0x50c0ff);}})[_0x0d8b('0x22')](function(_0x54674f){if(_0x54674f){return _0x54674f?{'count':_0x3acffa,'rows':_0x54674f}:null;}})[_0x0d8b('0x22')](respondWithResult(_0xe35028,null))['catch'](handleError(_0xe35028,null));}; \ No newline at end of file diff --git a/server/api/voiceMusicOnHold/voiceMusicOnHold.model.js b/server/api/voiceMusicOnHold/voiceMusicOnHold.model.js index 2cd44a8..f158cff 100644 --- a/server/api/voiceMusicOnHold/voiceMusicOnHold.model.js +++ b/server/api/voiceMusicOnHold/voiceMusicOnHold.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xc8c3=['bluebird','request-promise','path','../../config/environment','./voiceMusicOnHold.attributes','exports','define','VoiceMusicOnHold','voice_musiconhold','lodash','util','../../config/logger','api','moment'];(function(_0x2235bf,_0x3a06a7){var _0x4c3a64=function(_0x3b3bb6){while(--_0x3b3bb6){_0x2235bf['push'](_0x2235bf['shift']());}};_0x4c3a64(++_0x3a06a7);}(_0xc8c3,0x6b));var _0x3c8c=function(_0x2675da,_0x5a250e){_0x2675da=_0x2675da-0x0;var _0x5e6153=_0xc8c3[_0x2675da];return _0x5e6153;};'use strict';var _=require(_0x3c8c('0x0'));var util=require(_0x3c8c('0x1'));var logger=require(_0x3c8c('0x2'))(_0x3c8c('0x3'));var moment=require(_0x3c8c('0x4'));var BPromise=require(_0x3c8c('0x5'));var rp=require(_0x3c8c('0x6'));var fs=require('fs');var path=require(_0x3c8c('0x7'));var rimraf=require('rimraf');var config=require(_0x3c8c('0x8'));var attributes=require(_0x3c8c('0x9'));module[_0x3c8c('0xa')]=function(_0x2ec60f,_0x31966f){return _0x2ec60f[_0x3c8c('0xb')](_0x3c8c('0xc'),attributes,{'tableName':_0x3c8c('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0x26e7=['rimraf','exports','define','VoiceMusicOnHold','voice_musiconhold','lodash','util','../../config/logger','api','request-promise','path'];(function(_0x212f3e,_0x1ae027){var _0x3f8cb6=function(_0x44797c){while(--_0x44797c){_0x212f3e['push'](_0x212f3e['shift']());}};_0x3f8cb6(++_0x1ae027);}(_0x26e7,0x68));var _0x726e=function(_0x47fd36,_0x41535d){_0x47fd36=_0x47fd36-0x0;var _0x21a0fc=_0x26e7[_0x47fd36];return _0x21a0fc;};'use strict';var _=require(_0x726e('0x0'));var util=require(_0x726e('0x1'));var logger=require(_0x726e('0x2'))(_0x726e('0x3'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x726e('0x4'));var fs=require('fs');var path=require(_0x726e('0x5'));var rimraf=require(_0x726e('0x6'));var config=require('../../config/environment');var attributes=require('./voiceMusicOnHold.attributes');module[_0x726e('0x7')]=function(_0x49dcdc,_0x5c1c8c){return _0x49dcdc[_0x726e('0x8')](_0x726e('0x9'),attributes,{'tableName':_0x726e('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/voiceMusicOnHold/voiceMusicOnHold.rpc.js b/server/api/voiceMusicOnHold/voiceMusicOnHold.rpc.js index 1e9d7a2..1840b9b 100644 --- a/server/api/voiceMusicOnHold/voiceMusicOnHold.rpc.js +++ b/server/api/voiceMusicOnHold/voiceMusicOnHold.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x429b=['code','message','result','catch','lodash','util','bluebird','randomstring','ioredis','../../config/utils','../../config/logger','rpc','jayson/promise','http','request','then','info','VoiceMusicOnHold,\x20%s,\x20%s','request\x20sent','debug','VoiceMusicOnHold,\x20%s,\x20%s,\x20%s','error'];(function(_0x432fca,_0xb0b1b5){var _0x3adba4=function(_0x5e3ae4){while(--_0x5e3ae4){_0x432fca['push'](_0x432fca['shift']());}};_0x3adba4(++_0xb0b1b5);}(_0x429b,0x1e8));var _0xb429=function(_0x498563,_0x554c31){_0x498563=_0x498563-0x0;var _0xe2de0a=_0x429b[_0x498563];return _0xe2de0a;};'use strict';var _=require(_0xb429('0x0'));var util=require(_0xb429('0x1'));var moment=require('moment');var BPromise=require(_0xb429('0x2'));var rs=require(_0xb429('0x3'));var fs=require('fs');var Redis=require(_0xb429('0x4'));var db=require('../../mysqldb')['db'];var utils=require(_0xb429('0x5'));var logger=require(_0xb429('0x6'))(_0xb429('0x7'));var config=require('../../config/environment');var jayson=require(_0xb429('0x8'));var client=jayson['client'][_0xb429('0x9')]({'port':0x232a});function respondWithRpcPromise(_0x405d3f,_0x56ad1c,_0x4faf34){return new BPromise(function(_0x5dc3d7,_0x247e19){return client[_0xb429('0xa')](_0x405d3f,_0x4faf34)[_0xb429('0xb')](function(_0x284dff){logger[_0xb429('0xc')](_0xb429('0xd'),_0x56ad1c,_0xb429('0xe'));logger[_0xb429('0xf')](_0xb429('0x10'),_0x56ad1c,_0xb429('0xe'),JSON['stringify'](_0x284dff));if(_0x284dff[_0xb429('0x11')]){if(_0x284dff[_0xb429('0x11')][_0xb429('0x12')]===0x1f4){logger[_0xb429('0x11')]('VoiceMusicOnHold,\x20%s,\x20%s',_0x56ad1c,_0x284dff[_0xb429('0x11')][_0xb429('0x13')]);return _0x247e19(_0x284dff[_0xb429('0x11')][_0xb429('0x13')]);}logger['error'](_0xb429('0xd'),_0x56ad1c,_0x284dff['error'][_0xb429('0x13')]);return _0x5dc3d7(_0x284dff[_0xb429('0x11')][_0xb429('0x13')]);}else{logger[_0xb429('0xc')]('VoiceMusicOnHold,\x20%s,\x20%s',_0x56ad1c,'request\x20sent');_0x5dc3d7(_0x284dff[_0xb429('0x14')]['message']);}})[_0xb429('0x15')](function(_0x3e0ac8){logger[_0xb429('0x11')](_0xb429('0xd'),_0x56ad1c,_0x3e0ac8);_0x247e19(_0x3e0ac8);});});} \ No newline at end of file +var _0x6251=['../../config/environment','jayson/promise','client','http','then','request\x20sent','debug','stringify','error','code','message','VoiceMusicOnHold,\x20%s,\x20%s','info','result','catch','util','moment','bluebird','ioredis','../../mysqldb','../../config/utils','../../config/logger','rpc'];(function(_0x13f068,_0x3c080f){var _0x343a81=function(_0x3953fb){while(--_0x3953fb){_0x13f068['push'](_0x13f068['shift']());}};_0x343a81(++_0x3c080f);}(_0x6251,0x6b));var _0x1625=function(_0x35dadd,_0x3ed50f){_0x35dadd=_0x35dadd-0x0;var _0x2728ed=_0x6251[_0x35dadd];return _0x2728ed;};'use strict';var _=require('lodash');var util=require(_0x1625('0x0'));var moment=require(_0x1625('0x1'));var BPromise=require(_0x1625('0x2'));var rs=require('randomstring');var fs=require('fs');var Redis=require(_0x1625('0x3'));var db=require(_0x1625('0x4'))['db'];var utils=require(_0x1625('0x5'));var logger=require(_0x1625('0x6'))(_0x1625('0x7'));var config=require(_0x1625('0x8'));var jayson=require(_0x1625('0x9'));var client=jayson[_0x1625('0xa')][_0x1625('0xb')]({'port':0x232a});function respondWithRpcPromise(_0x2a66e6,_0x25636e,_0x40789a){return new BPromise(function(_0x64559d,_0x3e061d){return client['request'](_0x2a66e6,_0x40789a)[_0x1625('0xc')](function(_0x504588){logger['info']('VoiceMusicOnHold,\x20%s,\x20%s',_0x25636e,_0x1625('0xd'));logger[_0x1625('0xe')]('VoiceMusicOnHold,\x20%s,\x20%s,\x20%s',_0x25636e,'request\x20sent',JSON[_0x1625('0xf')](_0x504588));if(_0x504588[_0x1625('0x10')]){if(_0x504588['error'][_0x1625('0x11')]===0x1f4){logger['error']('VoiceMusicOnHold,\x20%s,\x20%s',_0x25636e,_0x504588['error'][_0x1625('0x12')]);return _0x3e061d(_0x504588[_0x1625('0x10')][_0x1625('0x12')]);}logger[_0x1625('0x10')](_0x1625('0x13'),_0x25636e,_0x504588[_0x1625('0x10')][_0x1625('0x12')]);return _0x64559d(_0x504588[_0x1625('0x10')][_0x1625('0x12')]);}else{logger[_0x1625('0x14')](_0x1625('0x13'),_0x25636e,'request\x20sent');_0x64559d(_0x504588[_0x1625('0x15')][_0x1625('0x12')]);}})[_0x1625('0x16')](function(_0x294a19){logger[_0x1625('0x10')](_0x1625('0x13'),_0x25636e,_0x294a19);_0x3e061d(_0x294a19);});});} \ No newline at end of file diff --git a/server/api/voicePrefix/index.js b/server/api/voicePrefix/index.js index d730534..adc49bd 100644 --- a/server/api/voicePrefix/index.js +++ b/server/api/voicePrefix/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x6846=['path','express','../../components/interaction/service','./voicePrefix.controller','get','isAuthenticated','index','/describe','/:id','show','/:id/users','getAgents','post','create','addAgents','put','update','delete','removeAgents','exports','multer'];(function(_0x6d930e,_0x2be76b){var _0x33ecfa=function(_0x116e1a){while(--_0x116e1a){_0x6d930e['push'](_0x6d930e['shift']());}};_0x33ecfa(++_0x2be76b);}(_0x6846,0x18e));var _0x6684=function(_0x1fab0f,_0x3d1df5){_0x1fab0f=_0x1fab0f-0x0;var _0x49956f=_0x6846[_0x1fab0f];return _0x49956f;};'use strict';var multer=require(_0x6684('0x0'));var util=require('util');var path=require(_0x6684('0x1'));var timeout=require('connect-timeout');var express=require(_0x6684('0x2'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require(_0x6684('0x3'));var config=require('../../config/environment');var controller=require(_0x6684('0x4'));router[_0x6684('0x5')]('/',auth[_0x6684('0x6')](),controller[_0x6684('0x7')]);router[_0x6684('0x5')](_0x6684('0x8'),auth['isAuthenticated'](),controller['describe']);router[_0x6684('0x5')](_0x6684('0x9'),auth['isAuthenticated'](),controller[_0x6684('0xa')]);router[_0x6684('0x5')](_0x6684('0xb'),auth['isAuthenticated'](),controller[_0x6684('0xc')]);router[_0x6684('0xd')]('/',auth[_0x6684('0x6')](),controller[_0x6684('0xe')]);router['post']('/:id/users',auth[_0x6684('0x6')](),controller[_0x6684('0xf')]);router[_0x6684('0x10')]('/:id',auth[_0x6684('0x6')](),controller[_0x6684('0x11')]);router[_0x6684('0x12')](_0x6684('0x9'),auth[_0x6684('0x6')](),controller['destroy']);router['delete'](_0x6684('0xb'),auth[_0x6684('0x6')](),controller[_0x6684('0x13')]);module[_0x6684('0x14')]=router; \ No newline at end of file +var _0x8eb1=['/:id/users','getAgents','post','create','addAgents','put','update','delete','destroy','removeAgents','exports','multer','util','express','Router','../../components/auth/service','../../components/interaction/service','./voicePrefix.controller','get','isAuthenticated','/describe','describe','/:id'];(function(_0x5d30b4,_0x199248){var _0x1acfb8=function(_0x3544b2){while(--_0x3544b2){_0x5d30b4['push'](_0x5d30b4['shift']());}};_0x1acfb8(++_0x199248);}(_0x8eb1,0x1a9));var _0x18eb=function(_0x2d9d50,_0x2cd751){_0x2d9d50=_0x2d9d50-0x0;var _0x2b19ff=_0x8eb1[_0x2d9d50];return _0x2b19ff;};'use strict';var multer=require(_0x18eb('0x0'));var util=require(_0x18eb('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x18eb('0x2'));var router=express[_0x18eb('0x3')]();var auth=require(_0x18eb('0x4'));var interaction=require(_0x18eb('0x5'));var config=require('../../config/environment');var controller=require(_0x18eb('0x6'));router[_0x18eb('0x7')]('/',auth[_0x18eb('0x8')](),controller['index']);router[_0x18eb('0x7')](_0x18eb('0x9'),auth[_0x18eb('0x8')](),controller[_0x18eb('0xa')]);router[_0x18eb('0x7')](_0x18eb('0xb'),auth[_0x18eb('0x8')](),controller['show']);router[_0x18eb('0x7')](_0x18eb('0xc'),auth['isAuthenticated'](),controller[_0x18eb('0xd')]);router[_0x18eb('0xe')]('/',auth['isAuthenticated'](),controller[_0x18eb('0xf')]);router[_0x18eb('0xe')](_0x18eb('0xc'),auth[_0x18eb('0x8')](),controller[_0x18eb('0x10')]);router[_0x18eb('0x11')](_0x18eb('0xb'),auth[_0x18eb('0x8')](),controller[_0x18eb('0x12')]);router[_0x18eb('0x13')](_0x18eb('0xb'),auth[_0x18eb('0x8')](),controller[_0x18eb('0x14')]);router[_0x18eb('0x13')](_0x18eb('0xc'),auth[_0x18eb('0x8')](),controller[_0x18eb('0x15')]);module[_0x18eb('0x16')]=router; \ No newline at end of file diff --git a/server/api/voicePrefix/voicePrefix.attributes.js b/server/api/voicePrefix/voicePrefix.attributes.js index 7984e61..7c4cde0 100644 --- a/server/api/voicePrefix/voicePrefix.attributes.js +++ b/server/api/voicePrefix/voicePrefix.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xf170=['INTEGER','sequelize','exports','STRING','name','getDataValue'];(function(_0x5178c1,_0x365a00){var _0x303990=function(_0x11ced3){while(--_0x11ced3){_0x5178c1['push'](_0x5178c1['shift']());}};_0x303990(++_0x365a00);}(_0xf170,0x109));var _0x0f17=function(_0x42245d,_0x51758f){_0x42245d=_0x42245d-0x0;var _0x4b211a=_0xf170[_0x42245d];return _0x4b211a;};'use strict';var Sequelize=require(_0x0f17('0x0'));module[_0x0f17('0x1')]={'name':{'type':Sequelize[_0x0f17('0x2')],'allowNull':![],'unique':_0x0f17('0x3')},'prefix':{'type':Sequelize['VIRTUAL'],'get':function(_0x3f1e63){return'system-'+this[_0x0f17('0x4')]('name')+'-';}},'description':{'type':Sequelize[_0x0f17('0x2')]},'callerIdAll':{'type':Sequelize[_0x0f17('0x2')]},'VoiceExtensionId':{'type':Sequelize[_0x0f17('0x5')]}}; \ No newline at end of file +var _0x54b6=['sequelize','exports','STRING','name','VIRTUAL','system-','getDataValue','INTEGER'];(function(_0x2a3062,_0x216953){var _0x3650dc=function(_0x216cb8){while(--_0x216cb8){_0x2a3062['push'](_0x2a3062['shift']());}};_0x3650dc(++_0x216953);}(_0x54b6,0xa8));var _0x654b=function(_0x3947c9,_0x4d6c97){_0x3947c9=_0x3947c9-0x0;var _0x2e7871=_0x54b6[_0x3947c9];return _0x2e7871;};'use strict';var Sequelize=require(_0x654b('0x0'));module[_0x654b('0x1')]={'name':{'type':Sequelize[_0x654b('0x2')],'allowNull':![],'unique':_0x654b('0x3')},'prefix':{'type':Sequelize[_0x654b('0x4')],'get':function(_0x21a816){return _0x654b('0x5')+this[_0x654b('0x6')]('name')+'-';}},'description':{'type':Sequelize[_0x654b('0x2')]},'callerIdAll':{'type':Sequelize[_0x654b('0x2')]},'VoiceExtensionId':{'type':Sequelize[_0x654b('0x7')]}}; \ No newline at end of file diff --git a/server/api/voicePrefix/voicePrefix.controller.js b/server/api/voicePrefix/voicePrefix.controller.js index 48f6e3c..e6c553b 100644 --- a/server/api/voicePrefix/voicePrefix.controller.js +++ b/server/api/voicePrefix/voicePrefix.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x3f03=['bulkCreate','CDR(prefix)=','push','Set','${EXTEN:','charAt','update','system-','findById','addAgents','ids','spread','emit','removeAgents','userVoicePrefix:remove','getAgents','findOne','html-pdf','zip-dir','fast-json-patch','request-promise','moment','mustache','util','path','to-csv','ejs','lodash','jsforce','desk.js','papaparse','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','redis','defaults','socket.io-emitter','./voicePrefix.socket','register','sendStatus','end','status','count','offset','limit','set','Content-Range','json','apply','reject','destroy','then','get','VoicePrefixes','error','name','index','map','type','model','query','filters','intersection','fields','attributes','length','hasOwnProperty','nolimit','order','sort','where','pick','filter','merge','options','VoicePrefix','findAll','rows','show','params','keys','rawAttributes','includeAll','include','find','catch','describe','create','sequelize','transaction','body','VoiceExtensionId','Unable\x20to\x20retrieve\x20the\x20current\x20user','role','user','UserProfileSection','userProfileId','autoAssociation','UserProfileResource','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','context','from-sip','exten','system','description','priority','appdata','prefix','NoOp','Voice\x20Prefix','VoicePrefixId','VoiceExtension'];(function(_0x2cf2e9,_0xd58ea1){var _0xd3670d=function(_0x272868){while(--_0x272868){_0x2cf2e9['push'](_0x2cf2e9['shift']());}};_0xd3670d(++_0xd58ea1);}(_0x3f03,0xfd));var _0x33f0=function(_0x3e685c,_0x13544e){_0x3e685c=_0x3e685c-0x0;var _0x3dbfee=_0x3f03[_0x3e685c];return _0x3dbfee;};'use strict';var pdf=require(_0x33f0('0x0'));var emlformat=require('eml-format');var rimraf=require('rimraf');var zipdir=require(_0x33f0('0x1'));var jsonpatch=require(_0x33f0('0x2'));var rp=require(_0x33f0('0x3'));var moment=require(_0x33f0('0x4'));var BPromise=require('bluebird');var Mustache=require(_0x33f0('0x5'));var util=require(_0x33f0('0x6'));var path=require(_0x33f0('0x7'));var sox=require('sox');var csv=require(_0x33f0('0x8'));var ejs=require(_0x33f0('0x9'));var fs=require('fs');var _=require(_0x33f0('0xa'));var squel=require('squel');var crypto=require('crypto');var jsforce=require(_0x33f0('0xb'));var deskjs=require(_0x33f0('0xc'));var toCsv=require(_0x33f0('0x8'));var querystring=require('querystring');var Papa=require(_0x33f0('0xd'));var Redis=require('ioredis');var authService=require(_0x33f0('0xe'));var qs=require(_0x33f0('0xf'));var as=require(_0x33f0('0x10'));var hardwareService=require(_0x33f0('0x11'));var logger=require(_0x33f0('0x12'))(_0x33f0('0x13'));var utils=require(_0x33f0('0x14'));var config=require(_0x33f0('0x15'));var db=require(_0x33f0('0x16'))['db'];config[_0x33f0('0x17')]=_[_0x33f0('0x18')](config['redis'],{'host':'localhost','port':0x18eb});var socket=require(_0x33f0('0x19'))(new Redis(config[_0x33f0('0x17')]));require(_0x33f0('0x1a'))[_0x33f0('0x1b')](socket);function respondWithStatusCode(_0x1a8412,_0x1492c6){_0x1492c6=_0x1492c6||0xcc;return function(_0x4a841c){if(_0x4a841c){return _0x1a8412[_0x33f0('0x1c')](_0x1492c6);}return _0x1a8412['status'](_0x1492c6)[_0x33f0('0x1d')]();};}function respondWithResult(_0x124018,_0x3cd88f){_0x3cd88f=_0x3cd88f||0xc8;return function(_0x5adb7f){if(_0x5adb7f){return _0x124018[_0x33f0('0x1e')](_0x3cd88f)['json'](_0x5adb7f);}};}function respondWithFilteredResult(_0x2db4eb,_0x3c38ea){return function(_0x38bd7c){if(_0x38bd7c){var _0xf72715=_0x38bd7c[_0x33f0('0x1f')],_0x5e279f=_0x3c38ea[_0x33f0('0x20')],_0x3717ef=_0x3c38ea[_0x33f0('0x20')]+_0x3c38ea[_0x33f0('0x21')],_0x1381a0;if(_0x3717ef>=_0xf72715){_0x3717ef=_0xf72715;_0x1381a0=0xc8;}else{_0x1381a0=0xce;}_0x2db4eb[_0x33f0('0x1e')](_0x1381a0);return _0x2db4eb[_0x33f0('0x22')](_0x33f0('0x23'),_0x5e279f+'-'+_0x3717ef+'/'+_0xf72715)[_0x33f0('0x24')](_0x38bd7c);}return null;};}function patchUpdates(_0x18a480){return function(_0x388741){try{jsonpatch[_0x33f0('0x25')](_0x388741,_0x18a480,!![]);}catch(_0x314936){return BPromise[_0x33f0('0x26')](_0x314936);}return _0x388741['save']();};}function saveUpdates(_0x28d74d,_0x31680d){return function(_0x236111){if(_0x236111){return _0x236111['update'](_0x28d74d)['then'](function(_0x1f2bb6){return _0x1f2bb6;});}return null;};}function removeEntity(_0x121cbe,_0x3753ec){return function(_0x3ffc3f){if(_0x3ffc3f){return _0x3ffc3f[_0x33f0('0x27')]()[_0x33f0('0x28')](function(){var _0x2f95d8=_0x3ffc3f[_0x33f0('0x29')]({'plain':!![]});var _0x531f1b=_0x33f0('0x2a');return db['UserProfileResource'][_0x33f0('0x27')]({'where':{'type':_0x531f1b,'resourceId':_0x2f95d8['id']}})[_0x33f0('0x28')](function(){return _0x3ffc3f;});})[_0x33f0('0x28')](function(){_0x121cbe['status'](0xcc)['end']();});}};}function handleEntityNotFound(_0x36ef57,_0x29cb43){return function(_0x34b70d){if(!_0x34b70d){_0x36ef57[_0x33f0('0x1c')](0x194);}return _0x34b70d;};}function handleError(_0x1db385,_0x327a6e){_0x327a6e=_0x327a6e||0x1f4;return function(_0x50acfe){logger[_0x33f0('0x2b')](_0x50acfe['stack']);if(_0x50acfe[_0x33f0('0x2c')]){delete _0x50acfe[_0x33f0('0x2c')];}_0x1db385[_0x33f0('0x1e')](_0x327a6e)['send'](_0x50acfe);};}exports[_0x33f0('0x2d')]=function(_0x22c032,_0x569a6e){var _0x27a921={},_0x184ac1={},_0x3e170d={'count':0x0,'rows':[]};var _0x5a0e8d=_[_0x33f0('0x2e')](db['VoicePrefix']['rawAttributes'],function(_0x75b18f){return{'name':_0x75b18f['fieldName'],'type':_0x75b18f[_0x33f0('0x2f')]['key']};});_0x184ac1[_0x33f0('0x30')]=_[_0x33f0('0x2e')](_0x5a0e8d,'name');_0x184ac1['query']=_['keys'](_0x22c032[_0x33f0('0x31')]);_0x184ac1[_0x33f0('0x32')]=_[_0x33f0('0x33')](_0x184ac1[_0x33f0('0x30')],_0x184ac1[_0x33f0('0x31')]);_0x27a921['attributes']=_[_0x33f0('0x33')](_0x184ac1[_0x33f0('0x30')],qs[_0x33f0('0x34')](_0x22c032[_0x33f0('0x31')]['fields']));_0x27a921['attributes']=_0x27a921[_0x33f0('0x35')][_0x33f0('0x36')]?_0x27a921[_0x33f0('0x35')]:_0x184ac1['model'];if(!_0x22c032['query'][_0x33f0('0x37')](_0x33f0('0x38'))){_0x27a921[_0x33f0('0x21')]=qs[_0x33f0('0x21')](_0x22c032[_0x33f0('0x31')]['limit']);_0x27a921[_0x33f0('0x20')]=qs[_0x33f0('0x20')](_0x22c032[_0x33f0('0x31')]['offset']);}_0x27a921[_0x33f0('0x39')]=qs[_0x33f0('0x3a')](_0x22c032[_0x33f0('0x31')][_0x33f0('0x3a')]);_0x27a921[_0x33f0('0x3b')]=qs[_0x33f0('0x32')](_[_0x33f0('0x3c')](_0x22c032[_0x33f0('0x31')],_0x184ac1['filters']),_0x5a0e8d);if(_0x22c032[_0x33f0('0x31')][_0x33f0('0x3d')]){_0x27a921[_0x33f0('0x3b')]=_[_0x33f0('0x3e')](_0x27a921[_0x33f0('0x3b')],{'$or':_['map'](_0x5a0e8d,function(_0x348960){if(_0x348960['type']!=='VIRTUAL'){var _0x5719fc={};_0x5719fc[_0x348960[_0x33f0('0x2c')]]={'$like':'%'+_0x22c032['query'][_0x33f0('0x3d')]+'%'};return _0x5719fc;}})});}_0x27a921=_['merge']({},_0x27a921,_0x22c032[_0x33f0('0x3f')]);var _0x5bc8c4={'where':_0x27a921[_0x33f0('0x3b')]};return db[_0x33f0('0x40')][_0x33f0('0x1f')](_0x5bc8c4)[_0x33f0('0x28')](function(_0x537f1e){_0x3e170d['count']=_0x537f1e;if(_0x22c032[_0x33f0('0x31')]['includeAll']){_0x27a921['include']=[{'all':!![]}];}return db[_0x33f0('0x40')][_0x33f0('0x41')](_0x27a921);})[_0x33f0('0x28')](function(_0x4ba3bc){_0x3e170d[_0x33f0('0x42')]=_0x4ba3bc;return _0x3e170d;})[_0x33f0('0x28')](respondWithFilteredResult(_0x569a6e,_0x27a921))['catch'](handleError(_0x569a6e,null));};exports[_0x33f0('0x43')]=function(_0x1c1d8f,_0x143b33){var _0xf3fdf6={'raw':![],'where':{'id':_0x1c1d8f[_0x33f0('0x44')]['id']}},_0x3ede34={};_0x3ede34[_0x33f0('0x30')]=_[_0x33f0('0x45')](db['VoicePrefix'][_0x33f0('0x46')]);_0x3ede34['query']=_[_0x33f0('0x45')](_0x1c1d8f['query']);_0x3ede34[_0x33f0('0x32')]=_[_0x33f0('0x33')](_0x3ede34['model'],_0x3ede34['query']);_0xf3fdf6[_0x33f0('0x35')]=_[_0x33f0('0x33')](_0x3ede34[_0x33f0('0x30')],qs[_0x33f0('0x34')](_0x1c1d8f[_0x33f0('0x31')]['fields']));_0xf3fdf6[_0x33f0('0x35')]=_0xf3fdf6[_0x33f0('0x35')][_0x33f0('0x36')]?_0xf3fdf6['attributes']:_0x3ede34['model'];if(_0x1c1d8f[_0x33f0('0x31')][_0x33f0('0x47')]){_0xf3fdf6[_0x33f0('0x48')]=[{'all':!![]}];}_0xf3fdf6=_[_0x33f0('0x3e')]({},_0xf3fdf6,_0x1c1d8f[_0x33f0('0x3f')]);return db[_0x33f0('0x40')][_0x33f0('0x49')](_0xf3fdf6)['then'](handleEntityNotFound(_0x143b33,null))[_0x33f0('0x28')](respondWithResult(_0x143b33,null))[_0x33f0('0x4a')](handleError(_0x143b33,null));};exports[_0x33f0('0x27')]=function(_0x63a11b,_0x4c185d){return db[_0x33f0('0x40')][_0x33f0('0x49')]({'where':{'id':_0x63a11b[_0x33f0('0x44')]['id']}})[_0x33f0('0x28')](handleEntityNotFound(_0x4c185d,null))[_0x33f0('0x28')](removeEntity(_0x4c185d,null))[_0x33f0('0x4a')](handleError(_0x4c185d,null));};exports[_0x33f0('0x4b')]=function(_0x270027,_0x47c527){return db[_0x33f0('0x40')][_0x33f0('0x4b')]()[_0x33f0('0x28')](respondWithResult(_0x47c527,null))[_0x33f0('0x4a')](handleError(_0x47c527,null));};exports[_0x33f0('0x4c')]=function(_0x415ee1,_0x3e74c0){var _0x49901f;return db[_0x33f0('0x4d')][_0x33f0('0x4e')](function(_0x1a5ee0){return db[_0x33f0('0x40')][_0x33f0('0x4c')](_0x415ee1[_0x33f0('0x4f')],{'transaction':_0x1a5ee0})[_0x33f0('0x28')](function(_0x486050){_0x49901f=_0x486050[_0x33f0('0x29')]({'plain':!![]});return db['VoiceExtension'][_0x33f0('0x49')]({'where':{'id':_0x49901f[_0x33f0('0x50')]},'raw':!![]})['then'](function(_0x40860b){return createVoicePrefixExtensions(_0x49901f,_0x40860b,_0x1a5ee0);});});})[_0x33f0('0x28')](function(){var _0x2395b2=_0x415ee1['user']['get']({'plain':!![]});if(!_0x2395b2)throw new Error(_0x33f0('0x51'));if(_0x2395b2[_0x33f0('0x52')]===_0x33f0('0x53')){var _0x3057de=_0x49901f;return db[_0x33f0('0x54')][_0x33f0('0x49')]({'where':{'name':_0x33f0('0x2a'),'userProfileId':_0x2395b2[_0x33f0('0x55')]},'raw':!![]})['then'](function(_0x418124){if(_0x418124&&_0x418124[_0x33f0('0x56')]===0x0){return db[_0x33f0('0x57')][_0x33f0('0x4c')]({'name':_0x3057de[_0x33f0('0x2c')],'resourceId':_0x3057de['id'],'type':_0x418124[_0x33f0('0x2c')],'sectionId':_0x418124['id']},{})[_0x33f0('0x28')](function(){return _0x49901f;});}else{return _0x49901f;}})[_0x33f0('0x4a')](function(_0x5b783d){logger[_0x33f0('0x2b')](_0x33f0('0x58'),_0x5b783d);throw _0x5b783d;});}return _0x49901f;})['then'](respondWithResult(_0x3e74c0,null))[_0x33f0('0x4a')](handleError(_0x3e74c0,null));};function Extension(_0x12af0b,_0x44a109,_0x9a56f8,_0x78399b){this[_0x33f0('0x59')]=_0x33f0('0x5a');this[_0x33f0('0x5b')]=_0x12af0b;this['app']=_0x9a56f8;this[_0x33f0('0x2f')]=_0x33f0('0x5c');this[_0x33f0('0x5d')]='Voice\x20Prefix\x20Extension';this[_0x33f0('0x5e')]=_0x44a109;this[_0x33f0('0x5f')]=_0x78399b;}function createVoicePrefixExtensions(_0x538d73,_0x3f0a2c,_0x4631ff){return new BPromise(function(_0x1ce63b,_0xa49775){var _0x452a60=new Extension(formatPrefixName(_0x538d73[_0x33f0('0x60')]),0x1,_0x33f0('0x61'),_0x33f0('0x62'));_0x452a60[_0x33f0('0x63')]=_0x538d73['id'];return db[_0x33f0('0x64')][_0x33f0('0x4c')](_0x452a60,{'transaction':_0x4631ff})[_0x33f0('0x28')](function(_0x2520d8){var _0x5a34cc=_0x2520d8[_0x33f0('0x29')]({'plain':!![]});var _0x5a2738=_['map'](addVoicePrefixExtensions(_0x538d73,_0x3f0a2c),function(_0x39984e){_0x39984e[_0x33f0('0x50')]=_0x5a34cc['id'];_0x39984e[_0x33f0('0x63')]=_0x538d73['id'];return _0x39984e;});return db[_0x33f0('0x64')][_0x33f0('0x65')](_0x5a2738,{'transaction':_0x4631ff})[_0x33f0('0x28')](function(_0x3985f8){if(!_0x3985f8){return _0xa49775('Extensions\x20creation\x20failed');}else{return _0x1ce63b(_0x3985f8);}})[_0x33f0('0x4a')](function(_0x3f1bfb){return _0xa49775(_0x3f1bfb);});});;});};function addVoicePrefixExtensions(_0x232abb,_0x1b7928){var _0x3dba4d=[];var _0x191147=formatPrefixName(_0x232abb[_0x33f0('0x60')]);_0x3dba4d['push'](new Extension(_0x191147,0x2,'Set',_0x33f0('0x66')+_0x232abb[_0x33f0('0x2c')]));if(_0x232abb['callerIdAll']){_0x3dba4d[_0x33f0('0x67')](new Extension(_0x191147,0x3,_0x33f0('0x68'),'PREFIX-CALLERIDALL='+_0x232abb['callerIdAll']));}else{_0x3dba4d[_0x33f0('0x67')](new Extension(_0x191147,0x3,_0x33f0('0x61'),'No\x20callerid\x20available'));}_0x3dba4d[_0x33f0('0x67')](new Extension(_0x191147,0x4,'goto',_0x1b7928[_0x33f0('0x59')]+','+_0x33f0('0x69')+(0x8+_0x232abb[_0x33f0('0x2c')][_0x33f0('0x36')])+'}'+','+0x1));return _0x3dba4d;}function formatPrefixName(_0xa3e39d){var _0x5845ad='_';for(var _0x47007b=0x0;_0x47007b<_0xa3e39d[_0x33f0('0x36')];_0x47007b++){if(_0xa3e39d[_0x33f0('0x6a')](_0x47007b)=='-'){_0x5845ad+=_0xa3e39d[_0x33f0('0x6a')](_0x47007b);}else{_0x5845ad+='['+_0xa3e39d['charAt'](_0x47007b)+']';}}_0x5845ad+='.';return _0x5845ad;}exports[_0x33f0('0x6b')]=function(_0x340edd,_0x5461c7,_0x34ab95){var _0x1ef08d=_0x340edd[_0x33f0('0x4f')];_0x1ef08d['prefix']=_0x33f0('0x6c')+_0x1ef08d[_0x33f0('0x2c')]+'-';return db[_0x33f0('0x4d')][_0x33f0('0x4e')](function(_0x3d8169){return db[_0x33f0('0x40')][_0x33f0('0x6b')](_0x1ef08d,{'where':{'id':_0x1ef08d['id']},'transaction':_0x3d8169})[_0x33f0('0x28')](function(){return db[_0x33f0('0x64')][_0x33f0('0x27')]({'where':{'VoicePrefixId':_0x1ef08d['id']},'transaction':_0x3d8169})[_0x33f0('0x28')](function(){return db[_0x33f0('0x64')][_0x33f0('0x49')]({'where':{'id':_0x1ef08d[_0x33f0('0x50')]},'raw':!![]})[_0x33f0('0x28')](function(_0x4a2f90){return createVoicePrefixExtensions(_0x1ef08d,_0x4a2f90,_0x3d8169);});});});})['then'](function(){return db[_0x33f0('0x40')][_0x33f0('0x6d')](_0x1ef08d['id']);})['then'](respondWithResult(_0x5461c7,null))[_0x33f0('0x4a')](handleError(_0x5461c7,null));};exports[_0x33f0('0x6e')]=function(_0x2e1e1a,_0x176e9e,_0x2af022){return db[_0x33f0('0x40')]['find']({'where':{'id':_0x2e1e1a[_0x33f0('0x44')]['id']}})[_0x33f0('0x28')](handleEntityNotFound(_0x176e9e,null))[_0x33f0('0x28')](function(_0x2193b4){if(_0x2193b4){return _0x2193b4['addAgents'](_0x2e1e1a[_0x33f0('0x4f')]['ids'],_['omit'](_0x2e1e1a['body'],[_0x33f0('0x6f'),'id'])||{})[_0x33f0('0x70')](function(_0xbdfdcb){for(var _0x154219=0x0;_0x154219<_0x2e1e1a[_0x33f0('0x4f')]['ids'][_0x33f0('0x36')];_0x154219+=0x1){socket[_0x33f0('0x71')]('userVoicePrefix:save',{'UserId':_0x2e1e1a[_0x33f0('0x4f')]['ids'][_0x154219],'VoicePrefixId':_0x2e1e1a[_0x33f0('0x44')]['id']});}return _0xbdfdcb;});}})[_0x33f0('0x28')](respondWithResult(_0x176e9e,null))['catch'](handleError(_0x176e9e,null));};exports[_0x33f0('0x72')]=function(_0x80e140,_0x2c1180,_0xb527ca){return db[_0x33f0('0x40')]['find']({'where':{'id':_0x80e140[_0x33f0('0x44')]['id']}})[_0x33f0('0x28')](handleEntityNotFound(_0x2c1180,null))[_0x33f0('0x28')](function(_0x549674){if(_0x549674){return _0x549674['removeAgents'](_0x80e140[_0x33f0('0x31')][_0x33f0('0x6f')])['then'](function(){if(_['isArray'](_0x80e140[_0x33f0('0x31')][_0x33f0('0x6f')])){for(var _0x15c0ed=0x0;_0x15c0ed<_0x80e140[_0x33f0('0x31')]['ids'][_0x33f0('0x36')];_0x15c0ed+=0x1){socket['emit'](_0x33f0('0x73'),{'UserId':Number(_0x80e140[_0x33f0('0x31')][_0x33f0('0x6f')][_0x15c0ed]),'VoicePrefixId':Number(_0x80e140['params']['id'])});}}else{socket[_0x33f0('0x71')](_0x33f0('0x73'),{'UserId':Number(_0x80e140[_0x33f0('0x31')]['ids']),'VoicePrefixId':Number(_0x80e140['params']['id'])});}});}})[_0x33f0('0x28')](respondWithStatusCode(_0x2c1180,null))['catch'](handleError(_0x2c1180,null));};exports[_0x33f0('0x74')]=function(_0x10d2c1,_0x215bdd,_0x4a04d2){var _0x425957={};var _0x2ba17e={};var _0x1db107;var _0x397872;return db[_0x33f0('0x40')][_0x33f0('0x75')]({'where':{'id':_0x10d2c1[_0x33f0('0x44')]['id']}})[_0x33f0('0x28')](handleEntityNotFound(_0x215bdd,null))[_0x33f0('0x28')](function(_0xbc976e){if(_0xbc976e){_0x1db107=_0xbc976e;_0x2ba17e[_0x33f0('0x30')]=_[_0x33f0('0x45')](db['User']['rawAttributes']);_0x2ba17e[_0x33f0('0x31')]=_[_0x33f0('0x45')](_0x10d2c1[_0x33f0('0x31')]);_0x2ba17e[_0x33f0('0x32')]=_['intersection'](_0x2ba17e['model'],_0x2ba17e[_0x33f0('0x31')]);_0x425957[_0x33f0('0x35')]=_[_0x33f0('0x33')](_0x2ba17e[_0x33f0('0x30')],qs[_0x33f0('0x34')](_0x10d2c1[_0x33f0('0x31')]['fields']));_0x425957['attributes']=_0x425957[_0x33f0('0x35')][_0x33f0('0x36')]?_0x425957[_0x33f0('0x35')]:_0x2ba17e['model'];_0x425957[_0x33f0('0x39')]=qs[_0x33f0('0x3a')](_0x10d2c1['query'][_0x33f0('0x3a')]);_0x425957['where']=qs['filters'](_['pick'](_0x10d2c1[_0x33f0('0x31')],_0x2ba17e[_0x33f0('0x32')]));if(_0x10d2c1['query'][_0x33f0('0x3d')]){_0x425957[_0x33f0('0x3b')]=_[_0x33f0('0x3e')](_0x425957[_0x33f0('0x3b')],{'$or':_['map'](_0x425957[_0x33f0('0x35')],function(_0x2fe46c){var _0x5a27e1={};_0x5a27e1[_0x2fe46c]={'$like':'%'+_0x10d2c1[_0x33f0('0x31')][_0x33f0('0x3d')]+'%'};return _0x5a27e1;})});}_0x425957=_['merge']({},_0x425957,_0x10d2c1[_0x33f0('0x3f')]);return _0x1db107[_0x33f0('0x74')](_0x425957);}})[_0x33f0('0x28')](function(_0xfaffb2){if(_0xfaffb2){_0x397872=_0xfaffb2[_0x33f0('0x36')];if(!_0x10d2c1[_0x33f0('0x31')][_0x33f0('0x37')]('nolimit')){_0x425957[_0x33f0('0x21')]=qs['limit'](_0x10d2c1[_0x33f0('0x31')][_0x33f0('0x21')]);_0x425957[_0x33f0('0x20')]=qs[_0x33f0('0x20')](_0x10d2c1[_0x33f0('0x31')]['offset']);}return _0x1db107['getAgents'](_0x425957);}})[_0x33f0('0x28')](function(_0x47d5ae){if(_0x47d5ae){return _0x47d5ae?{'count':_0x397872,'rows':_0x47d5ae}:null;}})[_0x33f0('0x28')](respondWithResult(_0x215bdd,null))[_0x33f0('0x4a')](handleError(_0x215bdd,null));}; \ No newline at end of file +var _0x4787=['Voice\x20Prefix','VoicePrefixId','VoiceExtension','bulkCreate','Extensions\x20creation\x20failed','prefix','push','CDR(prefix)=','callerIdAll','PREFIX-CALLERIDALL=','No\x20callerid\x20available','${EXTEN:','charAt','body','system-','addAgents','ids','omit','spread','emit','userVoicePrefix:save','removeAgents','isArray','userVoicePrefix:remove','getAgents','User','html-pdf','eml-format','rimraf','zip-dir','request-promise','moment','bluebird','mustache','util','path','to-csv','lodash','squel','crypto','desk.js','querystring','papaparse','../../components/parsers/advancedSearch','../../config/license/hardware','api','../../config/utils','../../config/environment','../../mysqldb','redis','socket.io-emitter','register','status','end','count','offset','limit','set','json','reject','save','update','then','destroy','get','error','stack','name','map','VoicePrefix','rawAttributes','type','key','model','query','keys','filters','intersection','attributes','fields','length','hasOwnProperty','nolimit','order','sort','where','pick','filter','VIRTUAL','merge','options','includeAll','rows','catch','show','include','find','params','describe','sequelize','transaction','VoiceExtensionId','user','Unable\x20to\x20retrieve\x20the\x20current\x20user','role','UserProfileSection','VoicePrefixes','userProfileId','UserProfileResource','create','context','from-sip','exten','system','description','Voice\x20Prefix\x20Extension','appdata','NoOp'];(function(_0x1438b9,_0x1a8777){var _0x28e9bb=function(_0x24d48c){while(--_0x24d48c){_0x1438b9['push'](_0x1438b9['shift']());}};_0x28e9bb(++_0x1a8777);}(_0x4787,0x90));var _0x7478=function(_0x18ab2a,_0x4debcd){_0x18ab2a=_0x18ab2a-0x0;var _0x16dcee=_0x4787[_0x18ab2a];return _0x16dcee;};'use strict';var pdf=require(_0x7478('0x0'));var emlformat=require(_0x7478('0x1'));var rimraf=require(_0x7478('0x2'));var zipdir=require(_0x7478('0x3'));var jsonpatch=require('fast-json-patch');var rp=require(_0x7478('0x4'));var moment=require(_0x7478('0x5'));var BPromise=require(_0x7478('0x6'));var Mustache=require(_0x7478('0x7'));var util=require(_0x7478('0x8'));var path=require(_0x7478('0x9'));var sox=require('sox');var csv=require(_0x7478('0xa'));var ejs=require('ejs');var fs=require('fs');var _=require(_0x7478('0xb'));var squel=require(_0x7478('0xc'));var crypto=require(_0x7478('0xd'));var jsforce=require('jsforce');var deskjs=require(_0x7478('0xe'));var toCsv=require('to-csv');var querystring=require(_0x7478('0xf'));var Papa=require(_0x7478('0x10'));var Redis=require('ioredis');var authService=require('../../components/auth/service');var qs=require('../../components/parsers/qs');var as=require(_0x7478('0x11'));var hardwareService=require(_0x7478('0x12'));var logger=require('../../config/logger')(_0x7478('0x13'));var utils=require(_0x7478('0x14'));var config=require(_0x7478('0x15'));var db=require(_0x7478('0x16'))['db'];config[_0x7478('0x17')]=_['defaults'](config[_0x7478('0x17')],{'host':'localhost','port':0x18eb});var socket=require(_0x7478('0x18'))(new Redis(config[_0x7478('0x17')]));require('./voicePrefix.socket')[_0x7478('0x19')](socket);function respondWithStatusCode(_0x3446d4,_0x259a90){_0x259a90=_0x259a90||0xcc;return function(_0x12fd22){if(_0x12fd22){return _0x3446d4['sendStatus'](_0x259a90);}return _0x3446d4[_0x7478('0x1a')](_0x259a90)[_0x7478('0x1b')]();};}function respondWithResult(_0x43a31b,_0x4461db){_0x4461db=_0x4461db||0xc8;return function(_0x2c773e){if(_0x2c773e){return _0x43a31b['status'](_0x4461db)['json'](_0x2c773e);}};}function respondWithFilteredResult(_0x220307,_0x1ffe7d){return function(_0x348e61){if(_0x348e61){var _0x12ddf6=_0x348e61[_0x7478('0x1c')],_0x2a984d=_0x1ffe7d[_0x7478('0x1d')],_0x435ba2=_0x1ffe7d[_0x7478('0x1d')]+_0x1ffe7d[_0x7478('0x1e')],_0x2c72b8;if(_0x435ba2>=_0x12ddf6){_0x435ba2=_0x12ddf6;_0x2c72b8=0xc8;}else{_0x2c72b8=0xce;}_0x220307[_0x7478('0x1a')](_0x2c72b8);return _0x220307[_0x7478('0x1f')]('Content-Range',_0x2a984d+'-'+_0x435ba2+'/'+_0x12ddf6)[_0x7478('0x20')](_0x348e61);}return null;};}function patchUpdates(_0x4c948e){return function(_0x4c80de){try{jsonpatch['apply'](_0x4c80de,_0x4c948e,!![]);}catch(_0x1b9676){return BPromise[_0x7478('0x21')](_0x1b9676);}return _0x4c80de[_0x7478('0x22')]();};}function saveUpdates(_0x171519,_0x1be088){return function(_0x2b0ffc){if(_0x2b0ffc){return _0x2b0ffc[_0x7478('0x23')](_0x171519)[_0x7478('0x24')](function(_0x16b7fe){return _0x16b7fe;});}return null;};}function removeEntity(_0x343850,_0x1e4ab0){return function(_0x4565e8){if(_0x4565e8){return _0x4565e8[_0x7478('0x25')]()[_0x7478('0x24')](function(){var _0x5f1dd5=_0x4565e8[_0x7478('0x26')]({'plain':!![]});var _0x47b07f='VoicePrefixes';return db['UserProfileResource'][_0x7478('0x25')]({'where':{'type':_0x47b07f,'resourceId':_0x5f1dd5['id']}})[_0x7478('0x24')](function(){return _0x4565e8;});})[_0x7478('0x24')](function(){_0x343850['status'](0xcc)[_0x7478('0x1b')]();});}};}function handleEntityNotFound(_0x205286,_0x40857e){return function(_0xcc8bbe){if(!_0xcc8bbe){_0x205286['sendStatus'](0x194);}return _0xcc8bbe;};}function handleError(_0x590fdd,_0x166a22){_0x166a22=_0x166a22||0x1f4;return function(_0x5232cb){logger[_0x7478('0x27')](_0x5232cb[_0x7478('0x28')]);if(_0x5232cb[_0x7478('0x29')]){delete _0x5232cb[_0x7478('0x29')];}_0x590fdd[_0x7478('0x1a')](_0x166a22)['send'](_0x5232cb);};}exports['index']=function(_0x129752,_0x181fdb){var _0xc3de84={},_0x196439={},_0x18ce0e={'count':0x0,'rows':[]};var _0x4f5cae=_[_0x7478('0x2a')](db[_0x7478('0x2b')][_0x7478('0x2c')],function(_0x30bde2){return{'name':_0x30bde2['fieldName'],'type':_0x30bde2[_0x7478('0x2d')][_0x7478('0x2e')]};});_0x196439[_0x7478('0x2f')]=_[_0x7478('0x2a')](_0x4f5cae,_0x7478('0x29'));_0x196439[_0x7478('0x30')]=_[_0x7478('0x31')](_0x129752[_0x7478('0x30')]);_0x196439[_0x7478('0x32')]=_[_0x7478('0x33')](_0x196439[_0x7478('0x2f')],_0x196439[_0x7478('0x30')]);_0xc3de84[_0x7478('0x34')]=_['intersection'](_0x196439[_0x7478('0x2f')],qs['fields'](_0x129752['query'][_0x7478('0x35')]));_0xc3de84[_0x7478('0x34')]=_0xc3de84[_0x7478('0x34')][_0x7478('0x36')]?_0xc3de84[_0x7478('0x34')]:_0x196439[_0x7478('0x2f')];if(!_0x129752[_0x7478('0x30')][_0x7478('0x37')](_0x7478('0x38'))){_0xc3de84['limit']=qs[_0x7478('0x1e')](_0x129752[_0x7478('0x30')][_0x7478('0x1e')]);_0xc3de84[_0x7478('0x1d')]=qs['offset'](_0x129752['query']['offset']);}_0xc3de84[_0x7478('0x39')]=qs[_0x7478('0x3a')](_0x129752[_0x7478('0x30')]['sort']);_0xc3de84[_0x7478('0x3b')]=qs[_0x7478('0x32')](_[_0x7478('0x3c')](_0x129752[_0x7478('0x30')],_0x196439[_0x7478('0x32')]),_0x4f5cae);if(_0x129752['query'][_0x7478('0x3d')]){_0xc3de84[_0x7478('0x3b')]=_['merge'](_0xc3de84['where'],{'$or':_[_0x7478('0x2a')](_0x4f5cae,function(_0x31b93f){if(_0x31b93f[_0x7478('0x2d')]!==_0x7478('0x3e')){var _0x5ea46b={};_0x5ea46b[_0x31b93f[_0x7478('0x29')]]={'$like':'%'+_0x129752[_0x7478('0x30')]['filter']+'%'};return _0x5ea46b;}})});}_0xc3de84=_[_0x7478('0x3f')]({},_0xc3de84,_0x129752[_0x7478('0x40')]);var _0x1b8d18={'where':_0xc3de84[_0x7478('0x3b')]};return db[_0x7478('0x2b')][_0x7478('0x1c')](_0x1b8d18)[_0x7478('0x24')](function(_0x223475){_0x18ce0e[_0x7478('0x1c')]=_0x223475;if(_0x129752[_0x7478('0x30')][_0x7478('0x41')]){_0xc3de84['include']=[{'all':!![]}];}return db[_0x7478('0x2b')]['findAll'](_0xc3de84);})[_0x7478('0x24')](function(_0xa5571d){_0x18ce0e[_0x7478('0x42')]=_0xa5571d;return _0x18ce0e;})[_0x7478('0x24')](respondWithFilteredResult(_0x181fdb,_0xc3de84))[_0x7478('0x43')](handleError(_0x181fdb,null));};exports[_0x7478('0x44')]=function(_0x53c362,_0x58425e){var _0x35931d={'raw':![],'where':{'id':_0x53c362['params']['id']}},_0x380868={};_0x380868[_0x7478('0x2f')]=_[_0x7478('0x31')](db[_0x7478('0x2b')][_0x7478('0x2c')]);_0x380868[_0x7478('0x30')]=_[_0x7478('0x31')](_0x53c362[_0x7478('0x30')]);_0x380868[_0x7478('0x32')]=_['intersection'](_0x380868[_0x7478('0x2f')],_0x380868['query']);_0x35931d[_0x7478('0x34')]=_[_0x7478('0x33')](_0x380868[_0x7478('0x2f')],qs[_0x7478('0x35')](_0x53c362[_0x7478('0x30')][_0x7478('0x35')]));_0x35931d[_0x7478('0x34')]=_0x35931d[_0x7478('0x34')][_0x7478('0x36')]?_0x35931d[_0x7478('0x34')]:_0x380868[_0x7478('0x2f')];if(_0x53c362[_0x7478('0x30')][_0x7478('0x41')]){_0x35931d[_0x7478('0x45')]=[{'all':!![]}];}_0x35931d=_['merge']({},_0x35931d,_0x53c362[_0x7478('0x40')]);return db[_0x7478('0x2b')][_0x7478('0x46')](_0x35931d)[_0x7478('0x24')](handleEntityNotFound(_0x58425e,null))['then'](respondWithResult(_0x58425e,null))['catch'](handleError(_0x58425e,null));};exports['destroy']=function(_0xe6a237,_0x5f2dc3){return db[_0x7478('0x2b')]['find']({'where':{'id':_0xe6a237[_0x7478('0x47')]['id']}})[_0x7478('0x24')](handleEntityNotFound(_0x5f2dc3,null))[_0x7478('0x24')](removeEntity(_0x5f2dc3,null))[_0x7478('0x43')](handleError(_0x5f2dc3,null));};exports[_0x7478('0x48')]=function(_0x49e148,_0x2ff15c){return db['VoicePrefix'][_0x7478('0x48')]()[_0x7478('0x24')](respondWithResult(_0x2ff15c,null))[_0x7478('0x43')](handleError(_0x2ff15c,null));};exports['create']=function(_0x9d4932,_0x8d07b6){var _0x384686;return db[_0x7478('0x49')][_0x7478('0x4a')](function(_0x53582a){return db[_0x7478('0x2b')]['create'](_0x9d4932['body'],{'transaction':_0x53582a})[_0x7478('0x24')](function(_0x3c53f7){_0x384686=_0x3c53f7['get']({'plain':!![]});return db['VoiceExtension'][_0x7478('0x46')]({'where':{'id':_0x384686[_0x7478('0x4b')]},'raw':!![]})['then'](function(_0x56902c){return createVoicePrefixExtensions(_0x384686,_0x56902c,_0x53582a);});});})[_0x7478('0x24')](function(){var _0x52e009=_0x9d4932[_0x7478('0x4c')][_0x7478('0x26')]({'plain':!![]});if(!_0x52e009)throw new Error(_0x7478('0x4d'));if(_0x52e009[_0x7478('0x4e')]===_0x7478('0x4c')){var _0x200459=_0x384686;return db[_0x7478('0x4f')]['find']({'where':{'name':_0x7478('0x50'),'userProfileId':_0x52e009[_0x7478('0x51')]},'raw':!![]})[_0x7478('0x24')](function(_0x263d3b){if(_0x263d3b&&_0x263d3b['autoAssociation']===0x0){return db[_0x7478('0x52')][_0x7478('0x53')]({'name':_0x200459[_0x7478('0x29')],'resourceId':_0x200459['id'],'type':_0x263d3b[_0x7478('0x29')],'sectionId':_0x263d3b['id']},{})[_0x7478('0x24')](function(){return _0x384686;});}else{return _0x384686;}})[_0x7478('0x43')](function(_0x51fb06){logger[_0x7478('0x27')]('Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s',_0x51fb06);throw _0x51fb06;});}return _0x384686;})[_0x7478('0x24')](respondWithResult(_0x8d07b6,null))[_0x7478('0x43')](handleError(_0x8d07b6,null));};function Extension(_0x40bbd9,_0x44573c,_0x57aafe,_0x16a401){this[_0x7478('0x54')]=_0x7478('0x55');this[_0x7478('0x56')]=_0x40bbd9;this['app']=_0x57aafe;this['type']=_0x7478('0x57');this[_0x7478('0x58')]=_0x7478('0x59');this['priority']=_0x44573c;this[_0x7478('0x5a')]=_0x16a401;}function createVoicePrefixExtensions(_0x161c63,_0x18b95a,_0x2368fb){return new BPromise(function(_0x5c8259,_0x152610){var _0x40b1fc=new Extension(formatPrefixName(_0x161c63['prefix']),0x1,_0x7478('0x5b'),_0x7478('0x5c'));_0x40b1fc[_0x7478('0x5d')]=_0x161c63['id'];return db[_0x7478('0x5e')][_0x7478('0x53')](_0x40b1fc,{'transaction':_0x2368fb})[_0x7478('0x24')](function(_0x3d1d89){var _0x38478d=_0x3d1d89['get']({'plain':!![]});var _0x1dbf1c=_[_0x7478('0x2a')](addVoicePrefixExtensions(_0x161c63,_0x18b95a),function(_0x1b6eae){_0x1b6eae[_0x7478('0x4b')]=_0x38478d['id'];_0x1b6eae[_0x7478('0x5d')]=_0x161c63['id'];return _0x1b6eae;});return db[_0x7478('0x5e')][_0x7478('0x5f')](_0x1dbf1c,{'transaction':_0x2368fb})[_0x7478('0x24')](function(_0x45d584){if(!_0x45d584){return _0x152610(_0x7478('0x60'));}else{return _0x5c8259(_0x45d584);}})[_0x7478('0x43')](function(_0x30af93){return _0x152610(_0x30af93);});});;});};function addVoicePrefixExtensions(_0x40d724,_0x1beb07){var _0x2519a3=[];var _0x2615da=formatPrefixName(_0x40d724[_0x7478('0x61')]);_0x2519a3[_0x7478('0x62')](new Extension(_0x2615da,0x2,'Set',_0x7478('0x63')+_0x40d724['name']));if(_0x40d724[_0x7478('0x64')]){_0x2519a3[_0x7478('0x62')](new Extension(_0x2615da,0x3,'Set',_0x7478('0x65')+_0x40d724[_0x7478('0x64')]));}else{_0x2519a3['push'](new Extension(_0x2615da,0x3,_0x7478('0x5b'),_0x7478('0x66')));}_0x2519a3[_0x7478('0x62')](new Extension(_0x2615da,0x4,'goto',_0x1beb07['context']+','+_0x7478('0x67')+(0x8+_0x40d724[_0x7478('0x29')][_0x7478('0x36')])+'}'+','+0x1));return _0x2519a3;}function formatPrefixName(_0x18a3e6){var _0x11d149='_';for(var _0x37daea=0x0;_0x37daea<_0x18a3e6['length'];_0x37daea++){if(_0x18a3e6[_0x7478('0x68')](_0x37daea)=='-'){_0x11d149+=_0x18a3e6[_0x7478('0x68')](_0x37daea);}else{_0x11d149+='['+_0x18a3e6[_0x7478('0x68')](_0x37daea)+']';}}_0x11d149+='.';return _0x11d149;}exports[_0x7478('0x23')]=function(_0x671bd9,_0x34ecb2,_0x4f3163){var _0x5deeee=_0x671bd9[_0x7478('0x69')];_0x5deeee[_0x7478('0x61')]=_0x7478('0x6a')+_0x5deeee[_0x7478('0x29')]+'-';return db[_0x7478('0x49')][_0x7478('0x4a')](function(_0xb63629){return db[_0x7478('0x2b')][_0x7478('0x23')](_0x5deeee,{'where':{'id':_0x5deeee['id']},'transaction':_0xb63629})[_0x7478('0x24')](function(){return db[_0x7478('0x5e')][_0x7478('0x25')]({'where':{'VoicePrefixId':_0x5deeee['id']},'transaction':_0xb63629})[_0x7478('0x24')](function(){return db['VoiceExtension'][_0x7478('0x46')]({'where':{'id':_0x5deeee[_0x7478('0x4b')]},'raw':!![]})['then'](function(_0xb52b9){return createVoicePrefixExtensions(_0x5deeee,_0xb52b9,_0xb63629);});});});})[_0x7478('0x24')](function(){return db['VoicePrefix']['findById'](_0x5deeee['id']);})['then'](respondWithResult(_0x34ecb2,null))[_0x7478('0x43')](handleError(_0x34ecb2,null));};exports[_0x7478('0x6b')]=function(_0x30e3ce,_0x2faf65,_0x37c23a){return db[_0x7478('0x2b')][_0x7478('0x46')]({'where':{'id':_0x30e3ce[_0x7478('0x47')]['id']}})['then'](handleEntityNotFound(_0x2faf65,null))[_0x7478('0x24')](function(_0x51386e){if(_0x51386e){return _0x51386e['addAgents'](_0x30e3ce['body'][_0x7478('0x6c')],_[_0x7478('0x6d')](_0x30e3ce['body'],[_0x7478('0x6c'),'id'])||{})[_0x7478('0x6e')](function(_0x4d8395){for(var _0x742061=0x0;_0x742061<_0x30e3ce[_0x7478('0x69')]['ids'][_0x7478('0x36')];_0x742061+=0x1){socket[_0x7478('0x6f')](_0x7478('0x70'),{'UserId':_0x30e3ce[_0x7478('0x69')]['ids'][_0x742061],'VoicePrefixId':_0x30e3ce[_0x7478('0x47')]['id']});}return _0x4d8395;});}})[_0x7478('0x24')](respondWithResult(_0x2faf65,null))[_0x7478('0x43')](handleError(_0x2faf65,null));};exports[_0x7478('0x71')]=function(_0x37faa6,_0x37c7c2,_0x40f925){return db['VoicePrefix'][_0x7478('0x46')]({'where':{'id':_0x37faa6[_0x7478('0x47')]['id']}})[_0x7478('0x24')](handleEntityNotFound(_0x37c7c2,null))[_0x7478('0x24')](function(_0x243382){if(_0x243382){return _0x243382['removeAgents'](_0x37faa6[_0x7478('0x30')]['ids'])[_0x7478('0x24')](function(){if(_[_0x7478('0x72')](_0x37faa6[_0x7478('0x30')][_0x7478('0x6c')])){for(var _0x237d74=0x0;_0x237d74<_0x37faa6[_0x7478('0x30')][_0x7478('0x6c')]['length'];_0x237d74+=0x1){socket['emit'](_0x7478('0x73'),{'UserId':Number(_0x37faa6[_0x7478('0x30')][_0x7478('0x6c')][_0x237d74]),'VoicePrefixId':Number(_0x37faa6[_0x7478('0x47')]['id'])});}}else{socket['emit']('userVoicePrefix:remove',{'UserId':Number(_0x37faa6['query'][_0x7478('0x6c')]),'VoicePrefixId':Number(_0x37faa6[_0x7478('0x47')]['id'])});}});}})[_0x7478('0x24')](respondWithStatusCode(_0x37c7c2,null))[_0x7478('0x43')](handleError(_0x37c7c2,null));};exports[_0x7478('0x74')]=function(_0x3bd067,_0x1d1a42,_0x48aa17){var _0x568694={};var _0x18d558={};var _0x48353f;var _0x3c3a88;return db[_0x7478('0x2b')]['findOne']({'where':{'id':_0x3bd067[_0x7478('0x47')]['id']}})['then'](handleEntityNotFound(_0x1d1a42,null))['then'](function(_0x1f81ae){if(_0x1f81ae){_0x48353f=_0x1f81ae;_0x18d558['model']=_['keys'](db[_0x7478('0x75')][_0x7478('0x2c')]);_0x18d558[_0x7478('0x30')]=_[_0x7478('0x31')](_0x3bd067['query']);_0x18d558['filters']=_[_0x7478('0x33')](_0x18d558[_0x7478('0x2f')],_0x18d558[_0x7478('0x30')]);_0x568694[_0x7478('0x34')]=_[_0x7478('0x33')](_0x18d558[_0x7478('0x2f')],qs[_0x7478('0x35')](_0x3bd067[_0x7478('0x30')][_0x7478('0x35')]));_0x568694[_0x7478('0x34')]=_0x568694[_0x7478('0x34')]['length']?_0x568694['attributes']:_0x18d558[_0x7478('0x2f')];_0x568694[_0x7478('0x39')]=qs['sort'](_0x3bd067[_0x7478('0x30')][_0x7478('0x3a')]);_0x568694[_0x7478('0x3b')]=qs[_0x7478('0x32')](_['pick'](_0x3bd067[_0x7478('0x30')],_0x18d558[_0x7478('0x32')]));if(_0x3bd067[_0x7478('0x30')][_0x7478('0x3d')]){_0x568694['where']=_[_0x7478('0x3f')](_0x568694[_0x7478('0x3b')],{'$or':_[_0x7478('0x2a')](_0x568694['attributes'],function(_0x14393a){var _0x25984d={};_0x25984d[_0x14393a]={'$like':'%'+_0x3bd067[_0x7478('0x30')][_0x7478('0x3d')]+'%'};return _0x25984d;})});}_0x568694=_['merge']({},_0x568694,_0x3bd067[_0x7478('0x40')]);return _0x48353f[_0x7478('0x74')](_0x568694);}})[_0x7478('0x24')](function(_0x1060a2){if(_0x1060a2){_0x3c3a88=_0x1060a2[_0x7478('0x36')];if(!_0x3bd067[_0x7478('0x30')]['hasOwnProperty'](_0x7478('0x38'))){_0x568694[_0x7478('0x1e')]=qs[_0x7478('0x1e')](_0x3bd067[_0x7478('0x30')]['limit']);_0x568694['offset']=qs['offset'](_0x3bd067[_0x7478('0x30')][_0x7478('0x1d')]);}return _0x48353f['getAgents'](_0x568694);}})[_0x7478('0x24')](function(_0x4c125d){if(_0x4c125d){return _0x4c125d?{'count':_0x3c3a88,'rows':_0x4c125d}:null;}})['then'](respondWithResult(_0x1d1a42,null))[_0x7478('0x43')](handleError(_0x1d1a42,null));}; \ No newline at end of file diff --git a/server/api/voicePrefix/voicePrefix.events.js b/server/api/voicePrefix/voicePrefix.events.js index 01f902c..ba69832 100644 --- a/server/api/voicePrefix/voicePrefix.events.js +++ b/server/api/voicePrefix/voicePrefix.events.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xedd9=['../../mysqldb','VoicePrefix','setMaxListeners','save','update','remove','emit','hasOwnProperty','exports'];(function(_0x56482c,_0x16118d){var _0x5aae7a=function(_0x52512f){while(--_0x52512f){_0x56482c['push'](_0x56482c['shift']());}};_0x5aae7a(++_0x16118d);}(_0xedd9,0xfc));var _0x9edd=function(_0x11bd59,_0x49f4db){_0x11bd59=_0x11bd59-0x0;var _0x591f53=_0xedd9[_0x11bd59];return _0x591f53;};'use strict';var EventEmitter=require('events');var VoicePrefix=require(_0x9edd('0x0'))['db'][_0x9edd('0x1')];var VoicePrefixEvents=new EventEmitter();VoicePrefixEvents[_0x9edd('0x2')](0x0);var events={'afterCreate':_0x9edd('0x3'),'afterUpdate':_0x9edd('0x4'),'afterDestroy':_0x9edd('0x5')};function emitEvent(_0x3e6d3a){return function(_0x36b53f,_0x5943b3,_0x33679f){VoicePrefixEvents[_0x9edd('0x6')](_0x3e6d3a+':'+_0x36b53f['id'],_0x36b53f);VoicePrefixEvents[_0x9edd('0x6')](_0x3e6d3a,_0x36b53f);_0x33679f(null);};}for(var e in events){if(events[_0x9edd('0x7')](e)){var event=events[e];VoicePrefix['hook'](e,emitEvent(event));}}module[_0x9edd('0x8')]=VoicePrefixEvents; \ No newline at end of file +var _0xa9e0=['hasOwnProperty','hook','exports','events','../../mysqldb','VoicePrefix','update','emit'];(function(_0x61b3ab,_0x1fc298){var _0x57097f=function(_0x25970b){while(--_0x25970b){_0x61b3ab['push'](_0x61b3ab['shift']());}};_0x57097f(++_0x1fc298);}(_0xa9e0,0x123));var _0x0a9e=function(_0x134c2e,_0x3573c4){_0x134c2e=_0x134c2e-0x0;var _0x2825db=_0xa9e0[_0x134c2e];return _0x2825db;};'use strict';var EventEmitter=require(_0x0a9e('0x0'));var VoicePrefix=require(_0x0a9e('0x1'))['db'][_0x0a9e('0x2')];var VoicePrefixEvents=new EventEmitter();VoicePrefixEvents['setMaxListeners'](0x0);var events={'afterCreate':'save','afterUpdate':_0x0a9e('0x3'),'afterDestroy':'remove'};function emitEvent(_0x333808){return function(_0x432180,_0x2ab90b,_0x991246){VoicePrefixEvents[_0x0a9e('0x4')](_0x333808+':'+_0x432180['id'],_0x432180);VoicePrefixEvents['emit'](_0x333808,_0x432180);_0x991246(null);};}for(var e in events){if(events[_0x0a9e('0x5')](e)){var event=events[e];VoicePrefix[_0x0a9e('0x6')](e,emitEvent(event));}}module[_0x0a9e('0x7')]=VoicePrefixEvents; \ No newline at end of file diff --git a/server/api/voicePrefix/voicePrefix.model.js b/server/api/voicePrefix/voicePrefix.model.js index ac9880a..33218d7 100644 --- a/server/api/voicePrefix/voicePrefix.model.js +++ b/server/api/voicePrefix/voicePrefix.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x3995=['exports','define','VoicePrefix','voice_prefixes','lodash','util','api','moment','bluebird','request-promise','path','../../config/environment','./voicePrefix.attributes'];(function(_0x3bf83f,_0x181cac){var _0x22c4a9=function(_0xb3ff0d){while(--_0xb3ff0d){_0x3bf83f['push'](_0x3bf83f['shift']());}};_0x22c4a9(++_0x181cac);}(_0x3995,0xd4));var _0x5399=function(_0x441983,_0x4f7178){_0x441983=_0x441983-0x0;var _0x361957=_0x3995[_0x441983];return _0x361957;};'use strict';var _=require(_0x5399('0x0'));var util=require(_0x5399('0x1'));var logger=require('../../config/logger')(_0x5399('0x2'));var moment=require(_0x5399('0x3'));var BPromise=require(_0x5399('0x4'));var rp=require(_0x5399('0x5'));var fs=require('fs');var path=require(_0x5399('0x6'));var rimraf=require('rimraf');var config=require(_0x5399('0x7'));var attributes=require(_0x5399('0x8'));module[_0x5399('0x9')]=function(_0x4d61ea,_0x3f3dbd){return _0x4d61ea[_0x5399('0xa')](_0x5399('0xb'),attributes,{'tableName':_0x5399('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0x9389=['path','rimraf','../../config/environment','exports','define','util','api','moment','request-promise'];(function(_0x40220a,_0x22feb1){var _0x3903cc=function(_0x33a296){while(--_0x33a296){_0x40220a['push'](_0x40220a['shift']());}};_0x3903cc(++_0x22feb1);}(_0x9389,0x10a));var _0x9938=function(_0x147559,_0x1d2783){_0x147559=_0x147559-0x0;var _0x4d0d65=_0x9389[_0x147559];return _0x4d0d65;};'use strict';var _=require('lodash');var util=require(_0x9938('0x0'));var logger=require('../../config/logger')(_0x9938('0x1'));var moment=require(_0x9938('0x2'));var BPromise=require('bluebird');var rp=require(_0x9938('0x3'));var fs=require('fs');var path=require(_0x9938('0x4'));var rimraf=require(_0x9938('0x5'));var config=require(_0x9938('0x6'));var attributes=require('./voicePrefix.attributes');module[_0x9938('0x7')]=function(_0x2a1c07,_0x23a80a){return _0x2a1c07[_0x9938('0x8')]('VoicePrefix',attributes,{'tableName':'voice_prefixes','paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/voicePrefix/voicePrefix.rpc.js b/server/api/voicePrefix/voicePrefix.rpc.js index 96fb65c..7c65ce6 100644 --- a/server/api/voicePrefix/voicePrefix.rpc.js +++ b/server/api/voicePrefix/voicePrefix.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x7b88=['http','redis','defaults','localhost','socket.io-emitter','./voicePrefix.socket','register','request','then','request\x20sent','stringify','error','VoicePrefix,\x20%s,\x20%s','message','info','result','catch','lodash','moment','bluebird','randomstring','../../mysqldb','../../config/utils','../../config/logger','../../config/environment','jayson/promise'];(function(_0x256951,_0x116704){var _0x922c4=function(_0x3007d1){while(--_0x3007d1){_0x256951['push'](_0x256951['shift']());}};_0x922c4(++_0x116704);}(_0x7b88,0xe1));var _0x87b8=function(_0x2aea9e,_0x1f587f){_0x2aea9e=_0x2aea9e-0x0;var _0x430b92=_0x7b88[_0x2aea9e];return _0x430b92;};'use strict';var _=require(_0x87b8('0x0'));var util=require('util');var moment=require(_0x87b8('0x1'));var BPromise=require(_0x87b8('0x2'));var rs=require(_0x87b8('0x3'));var fs=require('fs');var Redis=require('ioredis');var db=require(_0x87b8('0x4'))['db'];var utils=require(_0x87b8('0x5'));var logger=require(_0x87b8('0x6'))('rpc');var config=require(_0x87b8('0x7'));var jayson=require(_0x87b8('0x8'));var client=jayson['client'][_0x87b8('0x9')]({'port':0x232a});config[_0x87b8('0xa')]=_[_0x87b8('0xb')](config['redis'],{'host':_0x87b8('0xc'),'port':0x18eb});var socket=require(_0x87b8('0xd'))(new Redis(config[_0x87b8('0xa')]));require(_0x87b8('0xe'))[_0x87b8('0xf')](socket);function respondWithRpcPromise(_0x30a1fb,_0x408191,_0x59db0e){return new BPromise(function(_0x51a5e8,_0x403630){return client[_0x87b8('0x10')](_0x30a1fb,_0x59db0e)[_0x87b8('0x11')](function(_0x42d9bd){logger['info']('VoicePrefix,\x20%s,\x20%s',_0x408191,'request\x20sent');logger['debug']('VoicePrefix,\x20%s,\x20%s,\x20%s',_0x408191,_0x87b8('0x12'),JSON[_0x87b8('0x13')](_0x42d9bd));if(_0x42d9bd[_0x87b8('0x14')]){if(_0x42d9bd['error']['code']===0x1f4){logger[_0x87b8('0x14')](_0x87b8('0x15'),_0x408191,_0x42d9bd['error'][_0x87b8('0x16')]);return _0x403630(_0x42d9bd[_0x87b8('0x14')][_0x87b8('0x16')]);}logger[_0x87b8('0x14')](_0x87b8('0x15'),_0x408191,_0x42d9bd[_0x87b8('0x14')][_0x87b8('0x16')]);return _0x51a5e8(_0x42d9bd[_0x87b8('0x14')][_0x87b8('0x16')]);}else{logger[_0x87b8('0x17')]('VoicePrefix,\x20%s,\x20%s',_0x408191,_0x87b8('0x12'));_0x51a5e8(_0x42d9bd[_0x87b8('0x18')][_0x87b8('0x16')]);}})[_0x87b8('0x19')](function(_0x1680df){logger[_0x87b8('0x14')]('VoicePrefix,\x20%s,\x20%s',_0x408191,_0x1680df);_0x403630(_0x1680df);});});} \ No newline at end of file +var _0x7663=['ioredis','../../mysqldb','../../config/utils','../../config/logger','../../config/environment','jayson/promise','client','http','redis','defaults','localhost','socket.io-emitter','./voicePrefix.socket','request','then','request\x20sent','debug','VoicePrefix,\x20%s,\x20%s,\x20%s','stringify','error','VoicePrefix,\x20%s,\x20%s','message','info','result','catch','util','moment','bluebird','randomstring'];(function(_0x6aad74,_0x32ecf4){var _0x5b1c38=function(_0x567477){while(--_0x567477){_0x6aad74['push'](_0x6aad74['shift']());}};_0x5b1c38(++_0x32ecf4);}(_0x7663,0xc7));var _0x3766=function(_0x406447,_0x14ba3e){_0x406447=_0x406447-0x0;var _0x2c9cb6=_0x7663[_0x406447];return _0x2c9cb6;};'use strict';var _=require('lodash');var util=require(_0x3766('0x0'));var moment=require(_0x3766('0x1'));var BPromise=require(_0x3766('0x2'));var rs=require(_0x3766('0x3'));var fs=require('fs');var Redis=require(_0x3766('0x4'));var db=require(_0x3766('0x5'))['db'];var utils=require(_0x3766('0x6'));var logger=require(_0x3766('0x7'))('rpc');var config=require(_0x3766('0x8'));var jayson=require(_0x3766('0x9'));var client=jayson[_0x3766('0xa')][_0x3766('0xb')]({'port':0x232a});config[_0x3766('0xc')]=_[_0x3766('0xd')](config[_0x3766('0xc')],{'host':_0x3766('0xe'),'port':0x18eb});var socket=require(_0x3766('0xf'))(new Redis(config[_0x3766('0xc')]));require(_0x3766('0x10'))['register'](socket);function respondWithRpcPromise(_0xd5b7d5,_0x5102ed,_0x3d3275){return new BPromise(function(_0x12a7bf,_0x56bfa0){return client[_0x3766('0x11')](_0xd5b7d5,_0x3d3275)[_0x3766('0x12')](function(_0x434718){logger['info']('VoicePrefix,\x20%s,\x20%s',_0x5102ed,_0x3766('0x13'));logger[_0x3766('0x14')](_0x3766('0x15'),_0x5102ed,'request\x20sent',JSON[_0x3766('0x16')](_0x434718));if(_0x434718['error']){if(_0x434718[_0x3766('0x17')]['code']===0x1f4){logger[_0x3766('0x17')](_0x3766('0x18'),_0x5102ed,_0x434718['error']['message']);return _0x56bfa0(_0x434718[_0x3766('0x17')][_0x3766('0x19')]);}logger[_0x3766('0x17')](_0x3766('0x18'),_0x5102ed,_0x434718[_0x3766('0x17')][_0x3766('0x19')]);return _0x12a7bf(_0x434718[_0x3766('0x17')][_0x3766('0x19')]);}else{logger[_0x3766('0x1a')]('VoicePrefix,\x20%s,\x20%s',_0x5102ed,_0x3766('0x13'));_0x12a7bf(_0x434718[_0x3766('0x1b')][_0x3766('0x19')]);}})[_0x3766('0x1c')](function(_0x41f7c7){logger['error'](_0x3766('0x18'),_0x5102ed,_0x41f7c7);_0x56bfa0(_0x41f7c7);});});} \ No newline at end of file diff --git a/server/api/voicePrefix/voicePrefix.socket.js b/server/api/voicePrefix/voicePrefix.socket.js index e35422a..ac4ffc7 100644 --- a/server/api/voicePrefix/voicePrefix.socket.js +++ b/server/api/voicePrefix/voicePrefix.socket.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xeeee=['length','voicePrefix:','remove','emit','removeListener'];(function(_0x555cd9,_0x3c89a9){var _0x40bb82=function(_0x189424){while(--_0x189424){_0x555cd9['push'](_0x555cd9['shift']());}};_0x40bb82(++_0x3c89a9);}(_0xeeee,0xc5));var _0xeeee=function(_0x50d4b7,_0xbb85d0){_0x50d4b7=_0x50d4b7-0x0;var _0x1622aa=_0xeeee[_0x50d4b7];return _0x1622aa;};'use strict';var VoicePrefixEvents=require('./voicePrefix.events');var events=['save',_0xeeee('0x0'),'update'];function createListener(_0x68bf44,_0x5c3b59){return function(_0x46c07e){_0x5c3b59[_0xeeee('0x1')](_0x68bf44,_0x46c07e);};}function removeListener(_0x1a7341,_0x129ec4){return function(){VoicePrefixEvents[_0xeeee('0x2')](_0x1a7341,_0x129ec4);};}exports['register']=function(_0x330543){for(var _0x19dec3=0x0,_0x29dc9a=events[_0xeeee('0x3')];_0x19dec3<_0x29dc9a;_0x19dec3++){var _0x5dd5a8=events[_0x19dec3];var _0x17d971=createListener(_0xeeee('0x4')+_0x5dd5a8,_0x330543);VoicePrefixEvents['on'](_0x5dd5a8,_0x17d971);}}; \ No newline at end of file +var _0x603a=['update','emit','register','voicePrefix:','./voicePrefix.events','save'];(function(_0x46c93e,_0x48ed31){var _0x5c4de4=function(_0x139e12){while(--_0x139e12){_0x46c93e['push'](_0x46c93e['shift']());}};_0x5c4de4(++_0x48ed31);}(_0x603a,0x94));var _0xa603=function(_0xaf7a19,_0x194603){_0xaf7a19=_0xaf7a19-0x0;var _0x85ba90=_0x603a[_0xaf7a19];return _0x85ba90;};'use strict';var VoicePrefixEvents=require(_0xa603('0x0'));var events=[_0xa603('0x1'),'remove',_0xa603('0x2')];function createListener(_0x57b969,_0x126fe0){return function(_0xa7c5ea){_0x126fe0[_0xa603('0x3')](_0x57b969,_0xa7c5ea);};}function removeListener(_0xdd1805,_0x5cdd5b){return function(){VoicePrefixEvents['removeListener'](_0xdd1805,_0x5cdd5b);};}exports[_0xa603('0x4')]=function(_0x5c1f24){for(var _0x1fe283=0x0,_0x28d8a2=events['length'];_0x1fe283<_0x28d8a2;_0x1fe283++){var _0x4b4278=events[_0x1fe283];var _0x8eabb7=createListener(_0xa603('0x5')+_0x4b4278,_0x5c1f24);VoicePrefixEvents['on'](_0x4b4278,_0x8eabb7);}}; \ No newline at end of file diff --git a/server/api/voiceQueue/index.js b/server/api/voiceQueue/index.js index 37db489..3a40e60 100644 --- a/server/api/voiceQueue/index.js +++ b/server/api/voiceQueue/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x32ce=['addLists','addBlackLists','put','update','destroy','delete','removeTeams','removeLists','removeBlackLists','exports','multer','util','path','express','../../config/environment','./voiceQueue.controller','get','isAuthenticated','index','/:id/hoppers','getHoppers','/:id/hopper_histories','getHopperHistories','/:id/hopper_finals','getHopperBlacks','/:id/teams','getTeams','/:id/users','getAgents','/:id/members','getMembers','/:id/lists','/:id/blacklists','getBlackLists','post','create','/:id/clone','clone','addTeams','addAgents'];(function(_0x201ed4,_0x132fc7){var _0x1f833a=function(_0x1c2284){while(--_0x1c2284){_0x201ed4['push'](_0x201ed4['shift']());}};_0x1f833a(++_0x132fc7);}(_0x32ce,0x122));var _0xe32c=function(_0x7e0db8,_0x30d5b0){_0x7e0db8=_0x7e0db8-0x0;var _0x267945=_0x32ce[_0x7e0db8];return _0x267945;};'use strict';var multer=require(_0xe32c('0x0'));var util=require(_0xe32c('0x1'));var path=require(_0xe32c('0x2'));var timeout=require('connect-timeout');var express=require(_0xe32c('0x3'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xe32c('0x4'));var controller=require(_0xe32c('0x5'));router[_0xe32c('0x6')]('/',auth[_0xe32c('0x7')](),controller[_0xe32c('0x8')]);router[_0xe32c('0x6')]('/:id',auth[_0xe32c('0x7')](),controller['show']);router[_0xe32c('0x6')](_0xe32c('0x9'),auth[_0xe32c('0x7')](),controller[_0xe32c('0xa')]);router[_0xe32c('0x6')](_0xe32c('0xb'),auth['isAuthenticated'](),controller[_0xe32c('0xc')]);router['get'](_0xe32c('0xd'),auth[_0xe32c('0x7')](),controller['getHopperFinals']);router[_0xe32c('0x6')]('/:id/hopper_black',auth['isAuthenticated'](),controller[_0xe32c('0xe')]);router[_0xe32c('0x6')](_0xe32c('0xf'),auth[_0xe32c('0x7')](),controller[_0xe32c('0x10')]);router[_0xe32c('0x6')](_0xe32c('0x11'),auth[_0xe32c('0x7')](),controller[_0xe32c('0x12')]);router[_0xe32c('0x6')](_0xe32c('0x13'),auth[_0xe32c('0x7')](),controller[_0xe32c('0x14')]);router[_0xe32c('0x6')](_0xe32c('0x15'),auth['isAuthenticated'](),controller['getLists']);router[_0xe32c('0x6')](_0xe32c('0x16'),auth[_0xe32c('0x7')](),controller[_0xe32c('0x17')]);router[_0xe32c('0x18')]('/',auth[_0xe32c('0x7')](),controller[_0xe32c('0x19')]);router[_0xe32c('0x18')](_0xe32c('0x1a'),auth[_0xe32c('0x7')](),controller[_0xe32c('0x1b')]);router[_0xe32c('0x18')](_0xe32c('0xf'),auth['isAuthenticated'](),controller[_0xe32c('0x1c')]);router[_0xe32c('0x18')](_0xe32c('0x11'),auth[_0xe32c('0x7')](),controller[_0xe32c('0x1d')]);router[_0xe32c('0x18')](_0xe32c('0x15'),auth['isAuthenticated'](),controller[_0xe32c('0x1e')]);router[_0xe32c('0x18')](_0xe32c('0x16'),auth[_0xe32c('0x7')](),controller[_0xe32c('0x1f')]);router[_0xe32c('0x20')]('/:id',auth[_0xe32c('0x7')](),controller[_0xe32c('0x21')]);router['delete']('/:id',auth[_0xe32c('0x7')](),controller[_0xe32c('0x22')]);router[_0xe32c('0x23')]('/:id/teams',auth['isAuthenticated'](),controller[_0xe32c('0x24')]);router[_0xe32c('0x23')](_0xe32c('0x11'),auth[_0xe32c('0x7')](),controller['removeAgents']);router[_0xe32c('0x23')](_0xe32c('0x15'),auth['isAuthenticated'](),controller[_0xe32c('0x25')]);router[_0xe32c('0x23')](_0xe32c('0x16'),auth[_0xe32c('0x7')](),controller[_0xe32c('0x26')]);module[_0xe32c('0x27')]=router; \ No newline at end of file +var _0x8a2c=['/:id','getHoppers','/:id/hopper_histories','getHopperHistories','/:id/hopper_finals','getHopperFinals','/:id/hopper_black','/:id/teams','/:id/users','/:id/members','/:id/lists','getLists','/:id/blacklists','getBlackLists','post','create','clone','addTeams','addAgents','addLists','addBlackLists','update','destroy','delete','removeTeams','removeLists','removeBlackLists','exports','multer','util','connect-timeout','express','../../components/auth/service','./voiceQueue.controller','get','isAuthenticated','index'];(function(_0x92b071,_0x44f2ac){var _0x55ad45=function(_0x1d437e){while(--_0x1d437e){_0x92b071['push'](_0x92b071['shift']());}};_0x55ad45(++_0x44f2ac);}(_0x8a2c,0x144));var _0xc8a2=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x8a2c[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require(_0xc8a2('0x0'));var util=require(_0xc8a2('0x1'));var path=require('path');var timeout=require(_0xc8a2('0x2'));var express=require(_0xc8a2('0x3'));var router=express['Router']();var auth=require(_0xc8a2('0x4'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xc8a2('0x5'));router[_0xc8a2('0x6')]('/',auth[_0xc8a2('0x7')](),controller[_0xc8a2('0x8')]);router[_0xc8a2('0x6')](_0xc8a2('0x9'),auth[_0xc8a2('0x7')](),controller['show']);router[_0xc8a2('0x6')]('/:id/hoppers',auth[_0xc8a2('0x7')](),controller[_0xc8a2('0xa')]);router['get'](_0xc8a2('0xb'),auth[_0xc8a2('0x7')](),controller[_0xc8a2('0xc')]);router[_0xc8a2('0x6')](_0xc8a2('0xd'),auth[_0xc8a2('0x7')](),controller[_0xc8a2('0xe')]);router[_0xc8a2('0x6')](_0xc8a2('0xf'),auth[_0xc8a2('0x7')](),controller['getHopperBlacks']);router[_0xc8a2('0x6')](_0xc8a2('0x10'),auth[_0xc8a2('0x7')](),controller['getTeams']);router[_0xc8a2('0x6')](_0xc8a2('0x11'),auth[_0xc8a2('0x7')](),controller['getAgents']);router[_0xc8a2('0x6')](_0xc8a2('0x12'),auth[_0xc8a2('0x7')](),controller['getMembers']);router[_0xc8a2('0x6')](_0xc8a2('0x13'),auth[_0xc8a2('0x7')](),controller[_0xc8a2('0x14')]);router[_0xc8a2('0x6')](_0xc8a2('0x15'),auth[_0xc8a2('0x7')](),controller[_0xc8a2('0x16')]);router[_0xc8a2('0x17')]('/',auth[_0xc8a2('0x7')](),controller[_0xc8a2('0x18')]);router[_0xc8a2('0x17')]('/:id/clone',auth[_0xc8a2('0x7')](),controller[_0xc8a2('0x19')]);router[_0xc8a2('0x17')]('/:id/teams',auth['isAuthenticated'](),controller[_0xc8a2('0x1a')]);router['post'](_0xc8a2('0x11'),auth['isAuthenticated'](),controller[_0xc8a2('0x1b')]);router[_0xc8a2('0x17')]('/:id/lists',auth[_0xc8a2('0x7')](),controller[_0xc8a2('0x1c')]);router[_0xc8a2('0x17')](_0xc8a2('0x15'),auth[_0xc8a2('0x7')](),controller[_0xc8a2('0x1d')]);router['put'](_0xc8a2('0x9'),auth['isAuthenticated'](),controller[_0xc8a2('0x1e')]);router['delete'](_0xc8a2('0x9'),auth[_0xc8a2('0x7')](),controller[_0xc8a2('0x1f')]);router[_0xc8a2('0x20')](_0xc8a2('0x10'),auth[_0xc8a2('0x7')](),controller[_0xc8a2('0x21')]);router[_0xc8a2('0x20')](_0xc8a2('0x11'),auth['isAuthenticated'](),controller['removeAgents']);router[_0xc8a2('0x20')](_0xc8a2('0x13'),auth[_0xc8a2('0x7')](),controller[_0xc8a2('0x22')]);router[_0xc8a2('0x20')](_0xc8a2('0x15'),auth[_0xc8a2('0x7')](),controller[_0xc8a2('0x23')]);module[_0xc8a2('0x24')]=router; \ No newline at end of file diff --git a/server/api/voiceQueue/voiceQueue.attributes.js b/server/api/voiceQueue/voiceQueue.attributes.js index 9a54698..de6aaf3 100644 --- a/server/api/voiceQueue/voiceQueue.attributes.js +++ b/server/api/voiceQueue/voiceQueue.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xa9e0=['getDataValue','booked','roundrobin','progressive','predictive','power','INTEGER','yes','all','once','TEXT','periodic_announce','join','split','joinempty','leavewhenempty','acw','wrapuptime','BOOLEAN','Active/Disactive\x20Campaign','preview','Dial\x20Method.','UNSIGNED','Max\x209999\x20member\x20in\x20queue(min:1,\x20max:9999),\x200\x20means\x20unlimited.','Power\x20Level:\x20Calls\x20for\x20agents\x20(min:1,\x20max:10).','agentBusyFactor','Only\x20for\x20predictive\x20method.','FLOAT','Predictive\x20Optimization\x20Percentage\x20(min:\x201,\x20max:\x2095)','Originate\x20Timeout\x20Seconds\x20(min:1,\x20max:999)','tTxX','https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+Application_Queue','Queue\x20Timeout\x20Seconds\x20(min:1,\x20max:999)','AGI\x20queue\x20option\x20(use:\x20agi://127.0.0.1/square,)','Congestion\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)','#Busy\x20Retry\x20(min:1,\x20max:999)','Busy\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)','#NoAnswer\x20Retry\x20(min:1,\x20max:999)','NoAnswer\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)','#Global\x20Max\x20Retry\x20(min:1,\x20max:999)','07:00-22:00,*,*,*','always','onlyIfOpen','#AMD\x20Initial\x20Silence','#AMD\x20Greeting','#AMD\x20After\x20Greeting\x20Silence','#AMD\x20Total\x20Analysis\x20Time','#AMD\x20Min\x20Word\x20Length','#AMD\x20Silence\x20Threshold\x20(min:0,\x20max:32767)','#AMD\x20Maximum\x20Word\x20Length','#RecallMe\x20Timeout\x20(min:1)','ASC','DESC','Random\x20Last\x20Digit\x20(min:1,\x20max:15)','#NoSuchNumber\x20Retry\x20(min:1,\x20max:999)','NoSuchNumber\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)','#Drop\x20Retry\x20(min:1,\x20max:999)','Drop\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)','Machine\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)','#AgentReject\x20Retry\x20(min:1,\x20max:999)','Status\x20to\x20put\x20when\x20mandatory\x20disposition\x20is\x20enabled','Enabled/disables\x20mandatory\x20dispo\x20on\x20a\x20queue','mandatoryDisposition','sequelize','exports','STRING','inbound','default','ENUM','leastrecent','fewestcalls','random','wrandom','setDataValue','strategy','rrmemory'];(function(_0x2081c1,_0x25f8d2){var _0x5a8693=function(_0x276199){while(--_0x276199){_0x2081c1['push'](_0x2081c1['shift']());}};_0x5a8693(++_0x25f8d2);}(_0xa9e0,0x123));var _0x0a9e=function(_0x134c2e,_0x3573c4){_0x134c2e=_0x134c2e-0x0;var _0x2825db=_0xa9e0[_0x134c2e];return _0x2825db;};'use strict';var Sequelize=require(_0x0a9e('0x0'));module[_0x0a9e('0x1')]={'name':{'type':Sequelize[_0x0a9e('0x2')],'allowNull':![],'unique':'name','validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'type':{'type':Sequelize['ENUM'](_0x0a9e('0x3'),'outbound'),'allowNull':![],'defaultValue':_0x0a9e('0x3')},'musiconhold':{'type':Sequelize[_0x0a9e('0x2')],'defaultValue':_0x0a9e('0x4')},'announce':{'type':Sequelize[_0x0a9e('0x2')],'defaultValue':''},'strategy':{'type':Sequelize[_0x0a9e('0x5')]('rr','ringall',_0x0a9e('0x6'),_0x0a9e('0x7'),_0x0a9e('0x8'),'rrmemory','linear',_0x0a9e('0x9'),'rrordered'),'allowNull':![],'defaultValue':'ringall','set':function(_0x39753a){this[_0x0a9e('0xa')](_0x0a9e('0xb'),_0x39753a?_0x39753a:_0x0a9e('0xc'));},'get':function(){var _0xfeb75b=this[_0x0a9e('0xd')]('type');var _0x50dfb2=this['getDataValue']('dialMethod');var _0x273d4d=this[_0x0a9e('0xd')](_0x0a9e('0xb'));if(_0xfeb75b===_0x0a9e('0x3')){return _0x273d4d;}if(_0x50dfb2===_0x0a9e('0xe')&&_0x273d4d===_0x0a9e('0xc')||_0x50dfb2==='booked'&&_0x273d4d===_0x0a9e('0xf')){return _0x273d4d;}if(_0x50dfb2===_0x0a9e('0x10')||_0x50dfb2===_0x0a9e('0x11')||_0x50dfb2===_0x0a9e('0x12')){return _0x273d4d;}return null;}},'servicelevel':{'type':Sequelize[_0x0a9e('0x13')](0xb),'defaultValue':0x0},'context':{'type':Sequelize[_0x0a9e('0x2')],'defaultValue':null},'penaltymemberslimit':{'type':Sequelize['INTEGER'](0xb)},'timeout':{'type':Sequelize[_0x0a9e('0x13')](0xb),'defaultValue':0xf},'retry':{'type':Sequelize['INTEGER'](0xb),'defaultValue':0x2},'timeoutpriority':{'type':Sequelize[_0x0a9e('0x2')]},'weight':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![],'defaultValue':0x0},'wrapuptime':{'type':Sequelize[_0x0a9e('0x13')](0xb),'defaultValue':0x0},'autofill':{'type':Sequelize[_0x0a9e('0x5')]('yes','no'),'defaultValue':_0x0a9e('0x14')},'autopause':{'type':Sequelize['ENUM'](_0x0a9e('0x14'),'no',_0x0a9e('0x15')),'defaultValue':'no'},'autopausedelay':{'type':Sequelize[_0x0a9e('0x13')](0xb)},'autopausebusy':{'type':Sequelize[_0x0a9e('0x5')](_0x0a9e('0x14'),'no'),'defaultValue':'no'},'autopauseunavail':{'type':Sequelize[_0x0a9e('0x5')](_0x0a9e('0x14'),'no'),'defaultValue':'no'},'maxlen':{'type':Sequelize[_0x0a9e('0x13')](0xb),'defaultValue':0x0},'setinterfacevar':{'type':Sequelize[_0x0a9e('0x5')](_0x0a9e('0x14'),'no'),'defaultValue':'no'},'setqueueentryvar':{'type':Sequelize[_0x0a9e('0x5')](_0x0a9e('0x14'),'no'),'defautValue':'no'},'setqueuevar':{'type':Sequelize['ENUM'](_0x0a9e('0x14'),'no'),'defaultValue':'no'},'eventmemberstatus':{'type':Sequelize[_0x0a9e('0x5')]('yes','no'),'defaultValue':'no'},'membermacro':{'type':Sequelize[_0x0a9e('0x2')],'allowNull':!![]},'membergosub':{'type':Sequelize['STRING'],'allowNull':!![]},'announce_frequency':{'type':Sequelize['INTEGER'](0xb),'defaultValue':0x0},'min_announce_frequency':{'type':Sequelize[_0x0a9e('0x13')](0xb),'defaultValue':0x0},'periodic_announce_frequency':{'type':Sequelize[_0x0a9e('0x13')](0xb),'defaultValue':0x0},'random_periodic_announce':{'type':Sequelize[_0x0a9e('0x5')](_0x0a9e('0x14'),'no'),'defaultValue':'no'},'relative_periodic_announce':{'type':Sequelize['ENUM'](_0x0a9e('0x14'),'no'),'defaultValue':_0x0a9e('0x14')},'announce_holdtime':{'type':Sequelize[_0x0a9e('0x5')](_0x0a9e('0x14'),'no',_0x0a9e('0x16')),'defaultValue':'no'},'announce_position':{'type':Sequelize[_0x0a9e('0x2')],'defaultValue':'no'},'announce_to_first_user':{'type':Sequelize[_0x0a9e('0x5')]('yes','no')},'announce_position_limit':{'type':Sequelize['INTEGER'](0xb)},'announce_round_seconds':{'type':Sequelize[_0x0a9e('0x5')]('0','5','10','15','20','30'),'defaultValue':'0'},'monitor_format':{'type':Sequelize[_0x0a9e('0x2')],'defaultValue':''},'monitor_type':{'type':Sequelize[_0x0a9e('0x2')]},'queue_youarenext':{'type':Sequelize[_0x0a9e('0x2')],'defaultValue':null},'queue_thereare':{'type':Sequelize['STRING'],'defaultValue':null},'queue_callswaiting':{'type':Sequelize[_0x0a9e('0x2')],'defaultValue':null},'queue_holdtime':{'type':Sequelize['STRING'],'defaultValue':null},'queue_minute':{'type':Sequelize[_0x0a9e('0x2')],'allowNull':!![],'defaultValue':null},'queue_minutes':{'type':Sequelize['STRING'],'defaultValue':null},'queue_seconds':{'type':Sequelize[_0x0a9e('0x2')],'defaultValue':null},'queue_thankyou':{'type':Sequelize[_0x0a9e('0x2')],'defaultValue':null},'queue_reporthold':{'type':Sequelize[_0x0a9e('0x2')]},'queue_quantity1':{'type':Sequelize[_0x0a9e('0x2')]},'queue_quantity2':{'type':Sequelize[_0x0a9e('0x2')]},'queue_periodic_announce':{'type':Sequelize[_0x0a9e('0x2')]},'queue_less_than':{'type':Sequelize[_0x0a9e('0x2')]},'periodic_announce':{'type':Sequelize[_0x0a9e('0x17')],'set':function(_0x5a101a){this[_0x0a9e('0xa')](_0x0a9e('0x18'),_0x5a101a?_0x5a101a[_0x0a9e('0x19')](','):[]);},'get':function(){return this[_0x0a9e('0xd')]('periodic_announce')?this[_0x0a9e('0xd')](_0x0a9e('0x18'))[_0x0a9e('0x1a')](','):[];}},'joinempty':{'type':Sequelize[_0x0a9e('0x2')],'defaultValue':_0x0a9e('0x14'),'set':function(_0x563b45){this[_0x0a9e('0xa')](_0x0a9e('0x1b'),_0x563b45?_0x563b45[_0x0a9e('0x19')](','):undefined);},'get':function(){return this['getDataValue'](_0x0a9e('0x1b'))?this['getDataValue'](_0x0a9e('0x1b'))[_0x0a9e('0x1a')](','):undefined;}},'leavewhenempty':{'type':Sequelize[_0x0a9e('0x2')],'defaultValue':'no','set':function(_0x33bdb7){this[_0x0a9e('0xa')]('leavewhenempty',_0x33bdb7?_0x33bdb7[_0x0a9e('0x19')](','):undefined);},'get':function(){return this[_0x0a9e('0xd')](_0x0a9e('0x1c'))?this[_0x0a9e('0xd')](_0x0a9e('0x1c'))[_0x0a9e('0x1a')](','):undefined;}},'reportholdtime':{'type':Sequelize[_0x0a9e('0x5')](_0x0a9e('0x14'),'no'),'defaultValue':'no'},'ringinuse':{'type':Sequelize['ENUM'](_0x0a9e('0x14'),'no'),'defaultValue':'no'},'memberdelay':{'type':Sequelize['INTEGER'](0xb),'defaultValue':0x0},'timeoutrestart':{'type':Sequelize[_0x0a9e('0x5')](_0x0a9e('0x14'),'no'),'defaultValue':'no'},'defaultrule':{'type':Sequelize[_0x0a9e('0x2')]},'description':{'type':Sequelize[_0x0a9e('0x2')]},'acw':{'type':Sequelize['BOOLEAN'],'defaultValue':0x0,'set':function(_0x191e91){this[_0x0a9e('0xa')](_0x0a9e('0x1d'),_0x191e91);if(_0x191e91){if(this[_0x0a9e('0xd')]('wrapuptime')<0x2){this['setDataValue'](_0x0a9e('0x1e'),0x2);}}}},'acwTimeout':{'type':Sequelize['INTEGER'](0xb),'defaultValue':0xa},'dialActive':{'type':Sequelize[_0x0a9e('0x1f')],'defaultValue':0x0,'comment':_0x0a9e('0x20')},'dialMethod':{'type':Sequelize[_0x0a9e('0x5')](_0x0a9e('0x21'),'progressive',_0x0a9e('0x12'),_0x0a9e('0x11'),_0x0a9e('0xe')),'defaultValue':'progressive','comment':_0x0a9e('0x22')},'dialLimitChannel':{'type':Sequelize[_0x0a9e('0x13')](0x4)[_0x0a9e('0x23')],'defaultValue':0x0,'validate':{'min':0x0,'max':0x270f},'comment':'Max\x209999\x20channels,\x200\x20means\x20unlimited.'},'dialLimitQueue':{'type':Sequelize['INTEGER'](0x4)[_0x0a9e('0x23')],'defaultValue':0x0,'validate':{'min':0x0,'max':0x270f},'comment':_0x0a9e('0x24')},'dialPowerLevel':{'type':Sequelize['FLOAT'](0x2)[_0x0a9e('0x23')],'defaultValue':0x1,'validate':{'min':0x1,'max':0xa},'comment':_0x0a9e('0x25')},'dialPredictiveOptimization':{'type':Sequelize[_0x0a9e('0x5')](_0x0a9e('0x26'),'dropRate'),'defaultValue':'dropRate','comment':_0x0a9e('0x27')},'dialPredictiveOptimizationPercentage':{'type':Sequelize[_0x0a9e('0x28')](0x2)['UNSIGNED'],'defaultValue':0x3,'validate':{'min':0x1,'max':0x5f},'comment':_0x0a9e('0x29')},'dialPredictiveInterval':{'type':Sequelize[_0x0a9e('0x13')](0x3)[_0x0a9e('0x23')],'defaultValue':0xa,'validate':{'min':0x5,'max':0x1e},'comment':'Interval\x20Predictive\x20Minutes\x20(min:5\x20max:30)'},'dialOriginateCallerIdName':{'type':Sequelize[_0x0a9e('0x2')]},'dialOriginateCallerIdNumber':{'type':Sequelize[_0x0a9e('0x2')]},'dialOriginateTimeout':{'type':Sequelize[_0x0a9e('0x13')](0x3)[_0x0a9e('0x23')],'defaultValue':0x1e,'validate':{'min':0x1,'max':0x3e7},'comment':_0x0a9e('0x2a')},'dialQueueOptions':{'type':Sequelize[_0x0a9e('0x2')],'defaultValue':_0x0a9e('0x2b'),'comment':_0x0a9e('0x2c')},'dialQueueTimeout':{'type':Sequelize[_0x0a9e('0x13')](0x3)[_0x0a9e('0x23')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0x0a9e('0x2d')},'dialQueueProject':{'type':Sequelize[_0x0a9e('0x2')],'comment':_0x0a9e('0x2e')},'dialCongestionMaxRetry':{'type':Sequelize[_0x0a9e('0x13')](0x3)[_0x0a9e('0x23')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':'#Congestion\x20Retry\x20(min:1,\x20max:999)'},'dialCongestionRetryFrequency':{'type':Sequelize['INTEGER'](0x5)[_0x0a9e('0x23')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0x0a9e('0x2f')},'dialBusyMaxRetry':{'type':Sequelize[_0x0a9e('0x13')](0x3)[_0x0a9e('0x23')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0x0a9e('0x30')},'dialBusyRetryFrequency':{'type':Sequelize[_0x0a9e('0x13')](0x5)[_0x0a9e('0x23')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0x0a9e('0x31')},'dialNoAnswerMaxRetry':{'type':Sequelize[_0x0a9e('0x13')](0x3)[_0x0a9e('0x23')],'defaultValue':0x3,'comment':_0x0a9e('0x32')},'dialNoAnswerRetryFrequency':{'type':Sequelize[_0x0a9e('0x13')](0x5)['UNSIGNED'],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0x0a9e('0x33')},'dialGlobalMaxRetry':{'type':Sequelize[_0x0a9e('0x13')](0x3)[_0x0a9e('0x23')],'validate':{'min':0x1,'max':0x3e7},'defaultValue':0x4,'comment':_0x0a9e('0x34')},'dialTimezone':{'type':Sequelize[_0x0a9e('0x2')],'defaultValue':null},'dialGlobalInterval':{'type':Sequelize[_0x0a9e('0x2')],'defaultValue':_0x0a9e('0x35')},'dialPrefix':{'type':Sequelize[_0x0a9e('0x2')],'defaultValue':null},'dialCheckDuplicateType':{'type':Sequelize['ENUM'](_0x0a9e('0x36'),'never',_0x0a9e('0x37')),'defaultValue':_0x0a9e('0x36')},'dialAMDActive':{'type':Sequelize[_0x0a9e('0x1f')],'defaultValue':0x0,'comment':'Active/Disactive\x20AMD'},'dialAMDInitialSilence':{'type':Sequelize[_0x0a9e('0x13')](0x9)[_0x0a9e('0x23')],'defaultValue':0x9c4,'validate':{'min':0x0},'comment':_0x0a9e('0x38')},'dialAMDGreeting':{'type':Sequelize[_0x0a9e('0x13')](0x9)[_0x0a9e('0x23')],'defaultValue':0x5dc,'validate':{'min':0x0},'comment':_0x0a9e('0x39')},'dialAMDAfterGreetingSilence':{'type':Sequelize[_0x0a9e('0x13')](0x9)['UNSIGNED'],'defaultValue':0x320,'validate':{'min':0x0},'comment':_0x0a9e('0x3a')},'dialAMDTotalAnalysisTime':{'type':Sequelize[_0x0a9e('0x13')](0x9)[_0x0a9e('0x23')],'defaultValue':0x1388,'validate':{'min':0x0},'comment':_0x0a9e('0x3b')},'dialAMDMinWordLength':{'type':Sequelize[_0x0a9e('0x13')](0x9)[_0x0a9e('0x23')],'defaultValue':0x64,'validate':{'min':0x0},'comment':_0x0a9e('0x3c')},'dialAMDBetweenWordsSilence':{'type':Sequelize[_0x0a9e('0x13')](0x9)[_0x0a9e('0x23')],'defaultValue':0x32,'validate':{'min':0x0},'comment':'#AMD\x20Between\x20Words\x20Silence'},'dialAMDMaximumNumberOfWords':{'type':Sequelize[_0x0a9e('0x13')](0x9)[_0x0a9e('0x23')],'defaultValue':0x3,'validate':{'min':0x0},'comment':'#AMD\x20Maximum\x20Number\x20Of\x20Words'},'dialAMDSilenceThreshold':{'type':Sequelize['INTEGER'](0x5)['UNSIGNED'],'validate':{'min':0x0,'max':0x7fff},'defaultValue':0x100,'comment':_0x0a9e('0x3d')},'dialAMDMaximumWordLength':{'type':Sequelize[_0x0a9e('0x13')](0x9)[_0x0a9e('0x23')],'defaultValue':0x1388,'validate':{'min':0x0},'comment':_0x0a9e('0x3e')},'dialRecallMeTimeout':{'type':Sequelize[_0x0a9e('0x13')](0x5)[_0x0a9e('0x23')],'validate':{'min':0x1},'defaultValue':0x1e,'comment':_0x0a9e('0x3f')},'dialRecallInQueue':{'type':Sequelize[_0x0a9e('0x1f')],'defaultValue':0x0,'comment':'Active/Disactive\x20Recall\x20In\x20Queue'},'dialOrderByScheduledAt':{'type':Sequelize['ENUM']('DESC',_0x0a9e('0x40')),'defaultValue':_0x0a9e('0x41')},'dialQueueProject2':{'type':Sequelize[_0x0a9e('0x2')],'comment':'AGI\x20queue\x20option\x20(use:\x20agi://127.0.0.1/square,)'},'dialAgiAfterHangupClient':{'type':Sequelize[_0x0a9e('0x1f')],'defaultValue':![]},'dialAgiAfterHangupAgent':{'type':Sequelize[_0x0a9e('0x1f')],'defaultValue':![]},'dialRandomLastDigitCallerIdNumber':{'type':Sequelize['INTEGER'](0x3)['UNSIGNED'],'validate':{'min':0x0,'max':0xf},'defaultValue':0x0,'comment':_0x0a9e('0x42')},'dialCutDigit':{'type':Sequelize['INTEGER'](0x3)[_0x0a9e('0x23')],'validate':{'min':0x0,'max':0xf},'defaultValue':0x0,'comment':'Cut\x20Digit\x20(min:1,\x20max:15)'},'dialNoSuchNumberMaxRetry':{'type':Sequelize[_0x0a9e('0x13')](0x3)[_0x0a9e('0x23')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0x0a9e('0x43')},'dialNoSuchNumberRetryFrequency':{'type':Sequelize['INTEGER'](0x5)[_0x0a9e('0x23')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0x0a9e('0x44')},'dialDropMaxRetry':{'type':Sequelize['INTEGER'](0x3)['UNSIGNED'],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0x0a9e('0x45')},'dialDropRetryFrequency':{'type':Sequelize[_0x0a9e('0x13')](0x5)['UNSIGNED'],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0x0a9e('0x46')},'dialAbandonedMaxRetry':{'type':Sequelize['INTEGER'](0x3)[_0x0a9e('0x23')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':'#Abandoned\x20Retry\x20(min:1,\x20max:999)'},'dialAbandonedRetryFrequency':{'type':Sequelize[_0x0a9e('0x13')](0x5)['UNSIGNED'],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':'Abandoned\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)'},'dialMachineMaxRetry':{'type':Sequelize['INTEGER'](0x3)[_0x0a9e('0x23')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':'#Machine\x20Retry\x20(min:1,\x20max:999)'},'dialMachineRetryFrequency':{'type':Sequelize[_0x0a9e('0x13')](0x5)[_0x0a9e('0x23')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0x0a9e('0x47')},'dialAgentRejectMaxRetry':{'type':Sequelize[_0x0a9e('0x13')](0x3)[_0x0a9e('0x23')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0x0a9e('0x48')},'dialAgentRejectRetryFrequency':{'type':Sequelize[_0x0a9e('0x13')](0x5)[_0x0a9e('0x23')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':'AgentReject\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)'},'mandatoryDispositionPauseId':{'type':Sequelize[_0x0a9e('0x13')],'allowNull':!![],'comment':_0x0a9e('0x49')},'mandatoryDisposition':{'type':Sequelize[_0x0a9e('0x1f')],'defaultValue':![],'comment':_0x0a9e('0x4a'),'set':function(_0xb83dfd){if(!_0xb83dfd)this[_0x0a9e('0xa')]('mandatoryDispositionPauseId',null);this[_0x0a9e('0xa')](_0x0a9e('0x4b'),_0xb83dfd);}},'dialPredictiveIntervalMaxThreshold':{'type':Sequelize['INTEGER'](0x3)[_0x0a9e('0x23')],'defaultValue':0x14,'validate':{'min':0x1,'max':0x64}},'dialPredictiveIntervalMinThreshold':{'type':Sequelize['INTEGER'](0x3)[_0x0a9e('0x23')],'defaultValue':0xa,'validate':{'min':0x1,'max':0x64}}}; \ No newline at end of file +var _0xa9e0=['getDataValue','booked','roundrobin','progressive','predictive','power','INTEGER','yes','all','once','TEXT','periodic_announce','join','split','joinempty','leavewhenempty','acw','wrapuptime','BOOLEAN','Active/Disactive\x20Campaign','preview','Dial\x20Method.','UNSIGNED','Max\x209999\x20member\x20in\x20queue(min:1,\x20max:9999),\x200\x20means\x20unlimited.','Power\x20Level:\x20Calls\x20for\x20agents\x20(min:1,\x20max:10).','agentBusyFactor','Only\x20for\x20predictive\x20method.','FLOAT','Predictive\x20Optimization\x20Percentage\x20(min:\x201,\x20max:\x2095)','Originate\x20Timeout\x20Seconds\x20(min:1,\x20max:999)','tTxX','https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+Application_Queue','Queue\x20Timeout\x20Seconds\x20(min:1,\x20max:999)','AGI\x20queue\x20option\x20(use:\x20agi://127.0.0.1/square,)','Congestion\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)','#Busy\x20Retry\x20(min:1,\x20max:999)','Busy\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)','#NoAnswer\x20Retry\x20(min:1,\x20max:999)','NoAnswer\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)','#Global\x20Max\x20Retry\x20(min:1,\x20max:999)','07:00-22:00,*,*,*','always','onlyIfOpen','#AMD\x20Initial\x20Silence','#AMD\x20Greeting','#AMD\x20After\x20Greeting\x20Silence','#AMD\x20Total\x20Analysis\x20Time','#AMD\x20Min\x20Word\x20Length','#AMD\x20Silence\x20Threshold\x20(min:0,\x20max:32767)','#AMD\x20Maximum\x20Word\x20Length','#RecallMe\x20Timeout\x20(min:1)','ASC','DESC','Random\x20Last\x20Digit\x20(min:1,\x20max:15)','#NoSuchNumber\x20Retry\x20(min:1,\x20max:999)','NoSuchNumber\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)','#Drop\x20Retry\x20(min:1,\x20max:999)','Drop\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)','Machine\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)','#AgentReject\x20Retry\x20(min:1,\x20max:999)','Status\x20to\x20put\x20when\x20mandatory\x20disposition\x20is\x20enabled','Enabled/disables\x20mandatory\x20dispo\x20on\x20a\x20queue','mandatoryDisposition','sequelize','exports','STRING','inbound','default','ENUM','leastrecent','fewestcalls','random','wrandom','setDataValue','strategy','rrmemory'];(function(_0x2a8869,_0x37b48d){var _0x4811cf=function(_0x4041f2){while(--_0x4041f2){_0x2a8869['push'](_0x2a8869['shift']());}};_0x4811cf(++_0x37b48d);}(_0xa9e0,0x123));var _0x0a9e=function(_0x4dbaad,_0x730318){_0x4dbaad=_0x4dbaad-0x0;var _0x226c72=_0xa9e0[_0x4dbaad];return _0x226c72;};'use strict';var Sequelize=require(_0x0a9e('0x0'));module[_0x0a9e('0x1')]={'name':{'type':Sequelize[_0x0a9e('0x2')],'allowNull':![],'unique':'name','validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'type':{'type':Sequelize['ENUM'](_0x0a9e('0x3'),'outbound'),'allowNull':![],'defaultValue':_0x0a9e('0x3')},'musiconhold':{'type':Sequelize[_0x0a9e('0x2')],'defaultValue':_0x0a9e('0x4')},'announce':{'type':Sequelize[_0x0a9e('0x2')],'defaultValue':''},'strategy':{'type':Sequelize[_0x0a9e('0x5')]('rr','ringall',_0x0a9e('0x6'),_0x0a9e('0x7'),_0x0a9e('0x8'),'rrmemory','linear',_0x0a9e('0x9'),'rrordered'),'allowNull':![],'defaultValue':'ringall','set':function(_0x39753a){this[_0x0a9e('0xa')](_0x0a9e('0xb'),_0x39753a?_0x39753a:_0x0a9e('0xc'));},'get':function(){var _0xfeb75b=this[_0x0a9e('0xd')]('type');var _0x50dfb2=this['getDataValue']('dialMethod');var _0x273d4d=this[_0x0a9e('0xd')](_0x0a9e('0xb'));if(_0xfeb75b===_0x0a9e('0x3')){return _0x273d4d;}if(_0x50dfb2===_0x0a9e('0xe')&&_0x273d4d===_0x0a9e('0xc')||_0x50dfb2==='booked'&&_0x273d4d===_0x0a9e('0xf')){return _0x273d4d;}if(_0x50dfb2===_0x0a9e('0x10')||_0x50dfb2===_0x0a9e('0x11')||_0x50dfb2===_0x0a9e('0x12')){return _0x273d4d;}return null;}},'servicelevel':{'type':Sequelize[_0x0a9e('0x13')](0xb),'defaultValue':0x0},'context':{'type':Sequelize[_0x0a9e('0x2')],'defaultValue':null},'penaltymemberslimit':{'type':Sequelize['INTEGER'](0xb)},'timeout':{'type':Sequelize[_0x0a9e('0x13')](0xb),'defaultValue':0xf},'retry':{'type':Sequelize['INTEGER'](0xb),'defaultValue':0x2},'timeoutpriority':{'type':Sequelize[_0x0a9e('0x2')]},'weight':{'type':Sequelize['INTEGER'](0xb),'allowNull':!![],'defaultValue':0x0},'wrapuptime':{'type':Sequelize[_0x0a9e('0x13')](0xb),'defaultValue':0x0},'autofill':{'type':Sequelize[_0x0a9e('0x5')]('yes','no'),'defaultValue':_0x0a9e('0x14')},'autopause':{'type':Sequelize['ENUM'](_0x0a9e('0x14'),'no',_0x0a9e('0x15')),'defaultValue':'no'},'autopausedelay':{'type':Sequelize[_0x0a9e('0x13')](0xb)},'autopausebusy':{'type':Sequelize[_0x0a9e('0x5')](_0x0a9e('0x14'),'no'),'defaultValue':'no'},'autopauseunavail':{'type':Sequelize[_0x0a9e('0x5')](_0x0a9e('0x14'),'no'),'defaultValue':'no'},'maxlen':{'type':Sequelize[_0x0a9e('0x13')](0xb),'defaultValue':0x0},'setinterfacevar':{'type':Sequelize[_0x0a9e('0x5')](_0x0a9e('0x14'),'no'),'defaultValue':'no'},'setqueueentryvar':{'type':Sequelize[_0x0a9e('0x5')](_0x0a9e('0x14'),'no'),'defautValue':'no'},'setqueuevar':{'type':Sequelize['ENUM'](_0x0a9e('0x14'),'no'),'defaultValue':'no'},'eventmemberstatus':{'type':Sequelize[_0x0a9e('0x5')]('yes','no'),'defaultValue':'no'},'membermacro':{'type':Sequelize[_0x0a9e('0x2')],'allowNull':!![]},'membergosub':{'type':Sequelize['STRING'],'allowNull':!![]},'announce_frequency':{'type':Sequelize['INTEGER'](0xb),'defaultValue':0x0},'min_announce_frequency':{'type':Sequelize[_0x0a9e('0x13')](0xb),'defaultValue':0x0},'periodic_announce_frequency':{'type':Sequelize[_0x0a9e('0x13')](0xb),'defaultValue':0x0},'random_periodic_announce':{'type':Sequelize[_0x0a9e('0x5')](_0x0a9e('0x14'),'no'),'defaultValue':'no'},'relative_periodic_announce':{'type':Sequelize['ENUM'](_0x0a9e('0x14'),'no'),'defaultValue':_0x0a9e('0x14')},'announce_holdtime':{'type':Sequelize[_0x0a9e('0x5')](_0x0a9e('0x14'),'no',_0x0a9e('0x16')),'defaultValue':'no'},'announce_position':{'type':Sequelize[_0x0a9e('0x2')],'defaultValue':'no'},'announce_to_first_user':{'type':Sequelize[_0x0a9e('0x5')]('yes','no')},'announce_position_limit':{'type':Sequelize['INTEGER'](0xb)},'announce_round_seconds':{'type':Sequelize[_0x0a9e('0x5')]('0','5','10','15','20','30'),'defaultValue':'0'},'monitor_format':{'type':Sequelize[_0x0a9e('0x2')],'defaultValue':''},'monitor_type':{'type':Sequelize[_0x0a9e('0x2')]},'queue_youarenext':{'type':Sequelize[_0x0a9e('0x2')],'defaultValue':null},'queue_thereare':{'type':Sequelize['STRING'],'defaultValue':null},'queue_callswaiting':{'type':Sequelize[_0x0a9e('0x2')],'defaultValue':null},'queue_holdtime':{'type':Sequelize['STRING'],'defaultValue':null},'queue_minute':{'type':Sequelize[_0x0a9e('0x2')],'allowNull':!![],'defaultValue':null},'queue_minutes':{'type':Sequelize['STRING'],'defaultValue':null},'queue_seconds':{'type':Sequelize[_0x0a9e('0x2')],'defaultValue':null},'queue_thankyou':{'type':Sequelize[_0x0a9e('0x2')],'defaultValue':null},'queue_reporthold':{'type':Sequelize[_0x0a9e('0x2')]},'queue_quantity1':{'type':Sequelize[_0x0a9e('0x2')]},'queue_quantity2':{'type':Sequelize[_0x0a9e('0x2')]},'queue_periodic_announce':{'type':Sequelize[_0x0a9e('0x2')]},'queue_less_than':{'type':Sequelize[_0x0a9e('0x2')]},'periodic_announce':{'type':Sequelize[_0x0a9e('0x17')],'set':function(_0x5a101a){this[_0x0a9e('0xa')](_0x0a9e('0x18'),_0x5a101a?_0x5a101a[_0x0a9e('0x19')](','):[]);},'get':function(){return this[_0x0a9e('0xd')]('periodic_announce')?this[_0x0a9e('0xd')](_0x0a9e('0x18'))[_0x0a9e('0x1a')](','):[];}},'joinempty':{'type':Sequelize[_0x0a9e('0x2')],'defaultValue':_0x0a9e('0x14'),'set':function(_0x563b45){this[_0x0a9e('0xa')](_0x0a9e('0x1b'),_0x563b45?_0x563b45[_0x0a9e('0x19')](','):undefined);},'get':function(){return this['getDataValue'](_0x0a9e('0x1b'))?this['getDataValue'](_0x0a9e('0x1b'))[_0x0a9e('0x1a')](','):undefined;}},'leavewhenempty':{'type':Sequelize[_0x0a9e('0x2')],'defaultValue':'no','set':function(_0x33bdb7){this[_0x0a9e('0xa')]('leavewhenempty',_0x33bdb7?_0x33bdb7[_0x0a9e('0x19')](','):undefined);},'get':function(){return this[_0x0a9e('0xd')](_0x0a9e('0x1c'))?this[_0x0a9e('0xd')](_0x0a9e('0x1c'))[_0x0a9e('0x1a')](','):undefined;}},'reportholdtime':{'type':Sequelize[_0x0a9e('0x5')](_0x0a9e('0x14'),'no'),'defaultValue':'no'},'ringinuse':{'type':Sequelize['ENUM'](_0x0a9e('0x14'),'no'),'defaultValue':'no'},'memberdelay':{'type':Sequelize['INTEGER'](0xb),'defaultValue':0x0},'timeoutrestart':{'type':Sequelize[_0x0a9e('0x5')](_0x0a9e('0x14'),'no'),'defaultValue':'no'},'defaultrule':{'type':Sequelize[_0x0a9e('0x2')]},'description':{'type':Sequelize[_0x0a9e('0x2')]},'acw':{'type':Sequelize['BOOLEAN'],'defaultValue':0x0,'set':function(_0x191e91){this[_0x0a9e('0xa')](_0x0a9e('0x1d'),_0x191e91);if(_0x191e91){if(this[_0x0a9e('0xd')]('wrapuptime')<0x2){this['setDataValue'](_0x0a9e('0x1e'),0x2);}}}},'acwTimeout':{'type':Sequelize['INTEGER'](0xb),'defaultValue':0xa},'dialActive':{'type':Sequelize[_0x0a9e('0x1f')],'defaultValue':0x0,'comment':_0x0a9e('0x20')},'dialMethod':{'type':Sequelize[_0x0a9e('0x5')](_0x0a9e('0x21'),'progressive',_0x0a9e('0x12'),_0x0a9e('0x11'),_0x0a9e('0xe')),'defaultValue':'progressive','comment':_0x0a9e('0x22')},'dialLimitChannel':{'type':Sequelize[_0x0a9e('0x13')](0x4)[_0x0a9e('0x23')],'defaultValue':0x0,'validate':{'min':0x0,'max':0x270f},'comment':'Max\x209999\x20channels,\x200\x20means\x20unlimited.'},'dialLimitQueue':{'type':Sequelize['INTEGER'](0x4)[_0x0a9e('0x23')],'defaultValue':0x0,'validate':{'min':0x0,'max':0x270f},'comment':_0x0a9e('0x24')},'dialPowerLevel':{'type':Sequelize['FLOAT'](0x2)[_0x0a9e('0x23')],'defaultValue':0x1,'validate':{'min':0x1,'max':0xa},'comment':_0x0a9e('0x25')},'dialPredictiveOptimization':{'type':Sequelize[_0x0a9e('0x5')](_0x0a9e('0x26'),'dropRate'),'defaultValue':'dropRate','comment':_0x0a9e('0x27')},'dialPredictiveOptimizationPercentage':{'type':Sequelize[_0x0a9e('0x28')](0x2)['UNSIGNED'],'defaultValue':0x3,'validate':{'min':0x1,'max':0x5f},'comment':_0x0a9e('0x29')},'dialPredictiveInterval':{'type':Sequelize[_0x0a9e('0x13')](0x3)[_0x0a9e('0x23')],'defaultValue':0xa,'validate':{'min':0x5,'max':0x1e},'comment':'Interval\x20Predictive\x20Minutes\x20(min:5\x20max:30)'},'dialOriginateCallerIdName':{'type':Sequelize[_0x0a9e('0x2')]},'dialOriginateCallerIdNumber':{'type':Sequelize[_0x0a9e('0x2')]},'dialOriginateTimeout':{'type':Sequelize[_0x0a9e('0x13')](0x3)[_0x0a9e('0x23')],'defaultValue':0x1e,'validate':{'min':0x1,'max':0x3e7},'comment':_0x0a9e('0x2a')},'dialQueueOptions':{'type':Sequelize[_0x0a9e('0x2')],'defaultValue':_0x0a9e('0x2b'),'comment':_0x0a9e('0x2c')},'dialQueueTimeout':{'type':Sequelize[_0x0a9e('0x13')](0x3)[_0x0a9e('0x23')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0x0a9e('0x2d')},'dialQueueProject':{'type':Sequelize[_0x0a9e('0x2')],'comment':_0x0a9e('0x2e')},'dialCongestionMaxRetry':{'type':Sequelize[_0x0a9e('0x13')](0x3)[_0x0a9e('0x23')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':'#Congestion\x20Retry\x20(min:1,\x20max:999)'},'dialCongestionRetryFrequency':{'type':Sequelize['INTEGER'](0x5)[_0x0a9e('0x23')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0x0a9e('0x2f')},'dialBusyMaxRetry':{'type':Sequelize[_0x0a9e('0x13')](0x3)[_0x0a9e('0x23')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0x0a9e('0x30')},'dialBusyRetryFrequency':{'type':Sequelize[_0x0a9e('0x13')](0x5)[_0x0a9e('0x23')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0x0a9e('0x31')},'dialNoAnswerMaxRetry':{'type':Sequelize[_0x0a9e('0x13')](0x3)[_0x0a9e('0x23')],'defaultValue':0x3,'comment':_0x0a9e('0x32')},'dialNoAnswerRetryFrequency':{'type':Sequelize[_0x0a9e('0x13')](0x5)['UNSIGNED'],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0x0a9e('0x33')},'dialGlobalMaxRetry':{'type':Sequelize[_0x0a9e('0x13')](0x3)[_0x0a9e('0x23')],'validate':{'min':0x1,'max':0x3e7},'defaultValue':0x4,'comment':_0x0a9e('0x34')},'dialTimezone':{'type':Sequelize[_0x0a9e('0x2')],'defaultValue':null},'dialGlobalInterval':{'type':Sequelize[_0x0a9e('0x2')],'defaultValue':_0x0a9e('0x35')},'dialPrefix':{'type':Sequelize[_0x0a9e('0x2')],'defaultValue':null},'dialCheckDuplicateType':{'type':Sequelize['ENUM'](_0x0a9e('0x36'),'never',_0x0a9e('0x37')),'defaultValue':_0x0a9e('0x36')},'dialAMDActive':{'type':Sequelize[_0x0a9e('0x1f')],'defaultValue':0x0,'comment':'Active/Disactive\x20AMD'},'dialAMDInitialSilence':{'type':Sequelize[_0x0a9e('0x13')](0x9)[_0x0a9e('0x23')],'defaultValue':0x9c4,'validate':{'min':0x0},'comment':_0x0a9e('0x38')},'dialAMDGreeting':{'type':Sequelize[_0x0a9e('0x13')](0x9)[_0x0a9e('0x23')],'defaultValue':0x5dc,'validate':{'min':0x0},'comment':_0x0a9e('0x39')},'dialAMDAfterGreetingSilence':{'type':Sequelize[_0x0a9e('0x13')](0x9)['UNSIGNED'],'defaultValue':0x320,'validate':{'min':0x0},'comment':_0x0a9e('0x3a')},'dialAMDTotalAnalysisTime':{'type':Sequelize[_0x0a9e('0x13')](0x9)[_0x0a9e('0x23')],'defaultValue':0x1388,'validate':{'min':0x0},'comment':_0x0a9e('0x3b')},'dialAMDMinWordLength':{'type':Sequelize[_0x0a9e('0x13')](0x9)[_0x0a9e('0x23')],'defaultValue':0x64,'validate':{'min':0x0},'comment':_0x0a9e('0x3c')},'dialAMDBetweenWordsSilence':{'type':Sequelize[_0x0a9e('0x13')](0x9)[_0x0a9e('0x23')],'defaultValue':0x32,'validate':{'min':0x0},'comment':'#AMD\x20Between\x20Words\x20Silence'},'dialAMDMaximumNumberOfWords':{'type':Sequelize[_0x0a9e('0x13')](0x9)[_0x0a9e('0x23')],'defaultValue':0x3,'validate':{'min':0x0},'comment':'#AMD\x20Maximum\x20Number\x20Of\x20Words'},'dialAMDSilenceThreshold':{'type':Sequelize['INTEGER'](0x5)['UNSIGNED'],'validate':{'min':0x0,'max':0x7fff},'defaultValue':0x100,'comment':_0x0a9e('0x3d')},'dialAMDMaximumWordLength':{'type':Sequelize[_0x0a9e('0x13')](0x9)[_0x0a9e('0x23')],'defaultValue':0x1388,'validate':{'min':0x0},'comment':_0x0a9e('0x3e')},'dialRecallMeTimeout':{'type':Sequelize[_0x0a9e('0x13')](0x5)[_0x0a9e('0x23')],'validate':{'min':0x1},'defaultValue':0x1e,'comment':_0x0a9e('0x3f')},'dialRecallInQueue':{'type':Sequelize[_0x0a9e('0x1f')],'defaultValue':0x0,'comment':'Active/Disactive\x20Recall\x20In\x20Queue'},'dialOrderByScheduledAt':{'type':Sequelize['ENUM']('DESC',_0x0a9e('0x40')),'defaultValue':_0x0a9e('0x41')},'dialQueueProject2':{'type':Sequelize[_0x0a9e('0x2')],'comment':'AGI\x20queue\x20option\x20(use:\x20agi://127.0.0.1/square,)'},'dialAgiAfterHangupClient':{'type':Sequelize[_0x0a9e('0x1f')],'defaultValue':![]},'dialAgiAfterHangupAgent':{'type':Sequelize[_0x0a9e('0x1f')],'defaultValue':![]},'dialRandomLastDigitCallerIdNumber':{'type':Sequelize['INTEGER'](0x3)['UNSIGNED'],'validate':{'min':0x0,'max':0xf},'defaultValue':0x0,'comment':_0x0a9e('0x42')},'dialCutDigit':{'type':Sequelize['INTEGER'](0x3)[_0x0a9e('0x23')],'validate':{'min':0x0,'max':0xf},'defaultValue':0x0,'comment':'Cut\x20Digit\x20(min:1,\x20max:15)'},'dialNoSuchNumberMaxRetry':{'type':Sequelize[_0x0a9e('0x13')](0x3)[_0x0a9e('0x23')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0x0a9e('0x43')},'dialNoSuchNumberRetryFrequency':{'type':Sequelize['INTEGER'](0x5)[_0x0a9e('0x23')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0x0a9e('0x44')},'dialDropMaxRetry':{'type':Sequelize['INTEGER'](0x3)['UNSIGNED'],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0x0a9e('0x45')},'dialDropRetryFrequency':{'type':Sequelize[_0x0a9e('0x13')](0x5)['UNSIGNED'],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0x0a9e('0x46')},'dialAbandonedMaxRetry':{'type':Sequelize['INTEGER'](0x3)[_0x0a9e('0x23')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':'#Abandoned\x20Retry\x20(min:1,\x20max:999)'},'dialAbandonedRetryFrequency':{'type':Sequelize[_0x0a9e('0x13')](0x5)['UNSIGNED'],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':'Abandoned\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)'},'dialMachineMaxRetry':{'type':Sequelize['INTEGER'](0x3)[_0x0a9e('0x23')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':'#Machine\x20Retry\x20(min:1,\x20max:999)'},'dialMachineRetryFrequency':{'type':Sequelize[_0x0a9e('0x13')](0x5)[_0x0a9e('0x23')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0x0a9e('0x47')},'dialAgentRejectMaxRetry':{'type':Sequelize[_0x0a9e('0x13')](0x3)[_0x0a9e('0x23')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0x0a9e('0x48')},'dialAgentRejectRetryFrequency':{'type':Sequelize[_0x0a9e('0x13')](0x5)[_0x0a9e('0x23')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':'AgentReject\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)'},'mandatoryDispositionPauseId':{'type':Sequelize[_0x0a9e('0x13')],'allowNull':!![],'comment':_0x0a9e('0x49')},'mandatoryDisposition':{'type':Sequelize[_0x0a9e('0x1f')],'defaultValue':![],'comment':_0x0a9e('0x4a'),'set':function(_0xb83dfd){if(!_0xb83dfd)this[_0x0a9e('0xa')]('mandatoryDispositionPauseId',null);this[_0x0a9e('0xa')](_0x0a9e('0x4b'),_0xb83dfd);}},'dialPredictiveIntervalMaxThreshold':{'type':Sequelize['INTEGER'](0x3)[_0x0a9e('0x23')],'defaultValue':0x14,'validate':{'min':0x1,'max':0x64}},'dialPredictiveIntervalMinThreshold':{'type':Sequelize['INTEGER'](0x3)[_0x0a9e('0x23')],'defaultValue':0xa,'validate':{'min':0x1,'max':0x64}}}; \ No newline at end of file diff --git a/server/api/voiceQueue/voiceQueue.controller.js b/server/api/voiceQueue/voiceQueue.controller.js index 84a3915..8b1e670 100644 --- a/server/api/voiceQueue/voiceQueue.controller.js +++ b/server/api/voiceQueue/voiceQueue.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x90fc=['TeamId','all','union','compact','userVoiceQueue:remove','addAgents','omit','spread','online','isEmpty','upsert','format','removeAgents','isArray','UserVoiceQueueRt','getAgents','getMembers','CmList','getLists','addLists','dialCheckDuplicateType','always','insert','cm_hopper','fromQuery','phone','scheduledAt','ContactId','ListId','NOW()','CmListId','cm_contacts','deletedAt\x20IS\x20NULL','phone\x20IS\x20NOT\x20NULL','cm_hopper_final','VoiceQueueId\x20=\x20?','phone\x20NOT\x20IN\x20(?)','COALESCE(phone,\x27\x27)','ListId\x20=\x20?','removeLists','getBlackLists','addBlackLists','into','removeBlackLists','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','bluebird','sox','to-csv','lodash','squel','crypto','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/advancedSearch','../../config/logger','api','../../mysqldb','redis','defaults','socket.io-emitter','./voiceQueue.socket','register','sendStatus','status','end','json','offset','limit','Content-Range','apply','reject','save','update','then','destroy','get','inbound','QueueCampaigns','filter','ignore','map','value','includes','type','find','name','UserProfileResource','error','stack','send','index','VoiceQueue','rawAttributes','fieldName','model','query','keys','filters','intersection','attributes','fields','length','hasOwnProperty','nolimit','sort','where','pick','merge','VIRTUAL','options','count','findAll','catch','show','params','includeAll','create','body','user','Unable\x20to\x20retrieve\x20the\x20current\x20user','role','autoAssociation','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','clone','include','createdAt','updatedAt','outbound','UserProfileSection','userProfileId','getHoppers','findOne','CmHopper','order','VoiceQueueId','rows','getHopperHistories','CmHopperHistory','getHopperFinals','CmHopperFinal','getHopperBlacks','CmHopperBlack','Team','getTeams','addTeams','teams','Agents','voicePause','interface','flatMap','penalty','sequelize','transaction','each','findOrCreate','isNil','SIP/%s','forEach','emit','userVoiceQueue:save','removeTeams','ids','User','select','field','tq.TeamId','from','team_has_voice_queues','join','user_has_teams','ut.UserId\x20=\x20?','push','toString','every'];(function(_0x5b2afc,_0x38b081){var _0x4f6f24=function(_0x1900ef){while(--_0x1900ef){_0x5b2afc['push'](_0x5b2afc['shift']());}};_0x4f6f24(++_0x38b081);}(_0x90fc,0xe1));var _0xc90f=function(_0x32f7d7,_0x54231b){_0x32f7d7=_0x32f7d7-0x0;var _0x133d09=_0x90fc[_0x32f7d7];return _0x133d09;};'use strict';var pdf=require(_0xc90f('0x0'));var emlformat=require(_0xc90f('0x1'));var rimraf=require(_0xc90f('0x2'));var zipdir=require(_0xc90f('0x3'));var jsonpatch=require(_0xc90f('0x4'));var rp=require('request-promise');var moment=require('moment');var BPromise=require(_0xc90f('0x5'));var Mustache=require('mustache');var util=require('util');var path=require('path');var sox=require(_0xc90f('0x6'));var csv=require(_0xc90f('0x7'));var ejs=require('ejs');var fs=require('fs');var _=require(_0xc90f('0x8'));var squel=require(_0xc90f('0x9'));var crypto=require(_0xc90f('0xa'));var jsforce=require('jsforce');var deskjs=require(_0xc90f('0xb'));var toCsv=require(_0xc90f('0x7'));var querystring=require(_0xc90f('0xc'));var Papa=require(_0xc90f('0xd'));var Redis=require(_0xc90f('0xe'));var authService=require(_0xc90f('0xf'));var qs=require('../../components/parsers/qs');var as=require(_0xc90f('0x10'));var hardwareService=require('../../config/license/hardware');var logger=require(_0xc90f('0x11'))(_0xc90f('0x12'));var utils=require('../../config/utils');var config=require('../../config/environment');var db=require(_0xc90f('0x13'))['db'];config[_0xc90f('0x14')]=_[_0xc90f('0x15')](config['redis'],{'host':'localhost','port':0x18eb});var socket=require(_0xc90f('0x16'))(new Redis(config[_0xc90f('0x14')]));require(_0xc90f('0x17'))[_0xc90f('0x18')](socket);function respondWithStatusCode(_0x5767cb,_0x273c2e){_0x273c2e=_0x273c2e||0xcc;return function(_0x3c4fe5){if(_0x3c4fe5){return _0x5767cb[_0xc90f('0x19')](_0x273c2e);}return _0x5767cb[_0xc90f('0x1a')](_0x273c2e)[_0xc90f('0x1b')]();};}function respondWithResult(_0x52ffb5,_0xfe991b){_0xfe991b=_0xfe991b||0xc8;return function(_0x59a343){if(_0x59a343){return _0x52ffb5[_0xc90f('0x1a')](_0xfe991b)[_0xc90f('0x1c')](_0x59a343);}};}function respondWithFilteredResult(_0x10cb79,_0x57639e){return function(_0x27a48a){if(_0x27a48a){var _0x38a339=_0x27a48a['count'],_0x40e064=_0x57639e[_0xc90f('0x1d')],_0x56a69c=_0x57639e[_0xc90f('0x1d')]+_0x57639e[_0xc90f('0x1e')],_0x2b8a42;if(_0x56a69c>=_0x38a339){_0x56a69c=_0x38a339;_0x2b8a42=0xc8;}else{_0x2b8a42=0xce;}_0x10cb79[_0xc90f('0x1a')](_0x2b8a42);return _0x10cb79['set'](_0xc90f('0x1f'),_0x40e064+'-'+_0x56a69c+'/'+_0x38a339)['json'](_0x27a48a);}return null;};}function patchUpdates(_0x1e5825){return function(_0x4b88ee){try{jsonpatch[_0xc90f('0x20')](_0x4b88ee,_0x1e5825,!![]);}catch(_0x502f54){return BPromise[_0xc90f('0x21')](_0x502f54);}return _0x4b88ee[_0xc90f('0x22')]();};}function saveUpdates(_0x54566e,_0x1d768d){return function(_0x2b23a7){if(_0x2b23a7){return _0x2b23a7[_0xc90f('0x23')](_0x54566e)[_0xc90f('0x24')](function(_0x3518db){return _0x3518db;});}return null;};}function removeEntity(_0x32af09,_0x18ff66){return function(_0x132756){if(_0x132756){return _0x132756[_0xc90f('0x25')]()[_0xc90f('0x24')](function(){var _0x33342d=_0x132756[_0xc90f('0x26')]({'plain':!![]});var _0x441dca=[{'name':'VoiceQueues','value':_0xc90f('0x27'),'ignore':![]},{'name':_0xc90f('0x28'),'value':'outbound','ignore':![]}];var _0x36fea3=_(_0x441dca)[_0xc90f('0x29')](_0xc90f('0x2a'))[_0xc90f('0x2b')](_0xc90f('0x2c'))[_0xc90f('0x2c')]();if(_[_0xc90f('0x2d')](_0x36fea3,_0x33342d[_0xc90f('0x2e')])){return;}var _0x347755=_[_0xc90f('0x2f')](_0x441dca,[_0xc90f('0x2c'),_0x33342d[_0xc90f('0x2e')]])[_0xc90f('0x30')];return db[_0xc90f('0x31')][_0xc90f('0x25')]({'where':{'type':_0x347755,'resourceId':_0x33342d['id']}})[_0xc90f('0x24')](function(){return _0x132756;});})[_0xc90f('0x24')](function(){_0x32af09[_0xc90f('0x1a')](0xcc)[_0xc90f('0x1b')]();});}};}function handleEntityNotFound(_0xaa63da,_0x387840){return function(_0x2babbc){if(!_0x2babbc){_0xaa63da['sendStatus'](0x194);}return _0x2babbc;};}function handleError(_0x57aff0,_0x3611fa){_0x3611fa=_0x3611fa||0x1f4;return function(_0x541ce5){logger[_0xc90f('0x32')](_0x541ce5[_0xc90f('0x33')]);if(_0x541ce5[_0xc90f('0x30')]){delete _0x541ce5[_0xc90f('0x30')];}_0x57aff0[_0xc90f('0x1a')](_0x3611fa)[_0xc90f('0x34')](_0x541ce5);};}exports[_0xc90f('0x35')]=function(_0x28b656,_0x212a29){var _0xacc313={},_0x3eb23c={},_0x5b21f3={'count':0x0,'rows':[]};var _0x5d33b9=_['map'](db[_0xc90f('0x36')][_0xc90f('0x37')],function(_0x3f0b78){return{'name':_0x3f0b78[_0xc90f('0x38')],'type':_0x3f0b78[_0xc90f('0x2e')]['key']};});_0x3eb23c[_0xc90f('0x39')]=_[_0xc90f('0x2b')](_0x5d33b9,_0xc90f('0x30'));_0x3eb23c[_0xc90f('0x3a')]=_[_0xc90f('0x3b')](_0x28b656['query']);_0x3eb23c[_0xc90f('0x3c')]=_[_0xc90f('0x3d')](_0x3eb23c['model'],_0x3eb23c[_0xc90f('0x3a')]);_0xacc313[_0xc90f('0x3e')]=_['intersection'](_0x3eb23c['model'],qs['fields'](_0x28b656[_0xc90f('0x3a')][_0xc90f('0x3f')]));_0xacc313['attributes']=_0xacc313[_0xc90f('0x3e')][_0xc90f('0x40')]?_0xacc313[_0xc90f('0x3e')]:_0x3eb23c[_0xc90f('0x39')];if(!_0x28b656[_0xc90f('0x3a')][_0xc90f('0x41')](_0xc90f('0x42'))){_0xacc313['limit']=qs[_0xc90f('0x1e')](_0x28b656[_0xc90f('0x3a')][_0xc90f('0x1e')]);_0xacc313[_0xc90f('0x1d')]=qs[_0xc90f('0x1d')](_0x28b656['query'][_0xc90f('0x1d')]);}_0xacc313['order']=qs[_0xc90f('0x43')](_0x28b656[_0xc90f('0x3a')][_0xc90f('0x43')]);_0xacc313[_0xc90f('0x44')]=qs[_0xc90f('0x3c')](_[_0xc90f('0x45')](_0x28b656[_0xc90f('0x3a')],_0x3eb23c['filters']),_0x5d33b9);if(_0x28b656['query']['filter']){_0xacc313[_0xc90f('0x44')]=_[_0xc90f('0x46')](_0xacc313['where'],{'$or':_['map'](_0x5d33b9,function(_0x3a34ea){if(_0x3a34ea[_0xc90f('0x2e')]!==_0xc90f('0x47')){var _0x1c7933={};_0x1c7933[_0x3a34ea[_0xc90f('0x30')]]={'$like':'%'+_0x28b656[_0xc90f('0x3a')][_0xc90f('0x29')]+'%'};return _0x1c7933;}})});}_0xacc313=_['merge']({},_0xacc313,_0x28b656[_0xc90f('0x48')]);var _0x5dbc66={'where':_0xacc313['where']};return db[_0xc90f('0x36')][_0xc90f('0x49')](_0x5dbc66)['then'](function(_0x481094){_0x5b21f3['count']=_0x481094;if(_0x28b656[_0xc90f('0x3a')]['includeAll']){_0xacc313['include']=[{'all':!![]}];}return db[_0xc90f('0x36')][_0xc90f('0x4a')](_0xacc313);})[_0xc90f('0x24')](function(_0x160f24){_0x5b21f3['rows']=_0x160f24;return _0x5b21f3;})['then'](respondWithFilteredResult(_0x212a29,_0xacc313))[_0xc90f('0x4b')](handleError(_0x212a29,null));};exports[_0xc90f('0x4c')]=function(_0x5c274b,_0x436c36){var _0x2cf5bd={'raw':![],'where':{'id':_0x5c274b[_0xc90f('0x4d')]['id']}},_0x1a0504={};_0x1a0504[_0xc90f('0x39')]=_[_0xc90f('0x3b')](db[_0xc90f('0x36')][_0xc90f('0x37')]);_0x1a0504[_0xc90f('0x3a')]=_[_0xc90f('0x3b')](_0x5c274b[_0xc90f('0x3a')]);_0x1a0504[_0xc90f('0x3c')]=_[_0xc90f('0x3d')](_0x1a0504[_0xc90f('0x39')],_0x1a0504['query']);_0x2cf5bd[_0xc90f('0x3e')]=_['intersection'](_0x1a0504[_0xc90f('0x39')],qs['fields'](_0x5c274b[_0xc90f('0x3a')][_0xc90f('0x3f')]));_0x2cf5bd[_0xc90f('0x3e')]=_0x2cf5bd[_0xc90f('0x3e')]['length']?_0x2cf5bd['attributes']:_0x1a0504[_0xc90f('0x39')];if(_0x5c274b[_0xc90f('0x3a')][_0xc90f('0x4e')]){_0x2cf5bd['include']=[{'all':!![]}];}_0x2cf5bd=_[_0xc90f('0x46')]({},_0x2cf5bd,_0x5c274b[_0xc90f('0x48')]);return db[_0xc90f('0x36')][_0xc90f('0x2f')](_0x2cf5bd)[_0xc90f('0x24')](handleEntityNotFound(_0x436c36,null))['then'](respondWithResult(_0x436c36,null))[_0xc90f('0x4b')](handleError(_0x436c36,null));};exports['create']=function(_0x6401f5,_0x50ddc4){return db[_0xc90f('0x36')][_0xc90f('0x4f')](_0x6401f5[_0xc90f('0x50')],{})[_0xc90f('0x24')](function(_0x14dfe6){var _0x45a990=_0x6401f5[_0xc90f('0x51')]['get']({'plain':!![]});if(!_0x45a990)throw new Error(_0xc90f('0x52'));if(_0x45a990[_0xc90f('0x53')]===_0xc90f('0x51')){var _0x3deb71=_0x14dfe6[_0xc90f('0x26')]({'plain':!![]});var _0x3bfecb=[{'name':'VoiceQueues','value':'inbound'},{'name':_0xc90f('0x28'),'value':'outbound'}];var _0x33fa0f=_[_0xc90f('0x2f')](_0x3bfecb,[_0xc90f('0x2c'),_0x3deb71[_0xc90f('0x2e')]])[_0xc90f('0x30')];return db['UserProfileSection']['find']({'where':{'name':_0x33fa0f,'userProfileId':_0x45a990['userProfileId']},'raw':!![]})[_0xc90f('0x24')](function(_0x5963f5){if(_0x5963f5&&_0x5963f5[_0xc90f('0x54')]===0x0){return db['UserProfileResource']['create']({'name':_0x3deb71['name'],'resourceId':_0x3deb71['id'],'type':_0x5963f5['name'],'sectionId':_0x5963f5['id']},{})['then'](function(){return _0x14dfe6;});}else{return _0x14dfe6;}})[_0xc90f('0x4b')](function(_0xd390d4){logger[_0xc90f('0x32')](_0xc90f('0x55'),_0xd390d4);throw _0xd390d4;});}return _0x14dfe6;})[_0xc90f('0x24')](respondWithResult(_0x50ddc4,0xc9))['catch'](handleError(_0x50ddc4,null));};exports[_0xc90f('0x56')]=function(_0x447cc4,_0x358d81){var _0x9a2e74={'where':{'id':_0x447cc4[_0xc90f('0x4d')]['id']}},_0x7608a5={};_0x7608a5['model']=_[_0xc90f('0x3b')](db['VoiceQueue']['rawAttributes']);_0x9a2e74[_0xc90f('0x3e')]=_[_0xc90f('0x3d')](_0x7608a5[_0xc90f('0x39')],qs[_0xc90f('0x3f')](_0x447cc4[_0xc90f('0x3a')][_0xc90f('0x3f')]));_0x9a2e74['attributes']=_0x9a2e74[_0xc90f('0x3e')]['length']?_0x9a2e74[_0xc90f('0x3e')]:_0x7608a5[_0xc90f('0x39')];if(_0x447cc4['query']['includeAll']){_0x9a2e74[_0xc90f('0x57')]=[{'all':!![]}];}_0x9a2e74=_[_0xc90f('0x46')]({},_0x9a2e74,_0x447cc4[_0xc90f('0x48')]);return db[_0xc90f('0x36')][_0xc90f('0x2f')](_0x9a2e74)[_0xc90f('0x24')](handleEntityNotFound(_0x358d81,null))[_0xc90f('0x24')](function(_0xd88d2f){if(_0xd88d2f){var _0x2203e8=_0xd88d2f[_0xc90f('0x26')]({'plain':!![]});_0x2203e8=qs['omit'](_0x2203e8,['id',_0xc90f('0x58'),'updatedAt']);_0x447cc4[_0xc90f('0x50')]=_['omit'](_0x447cc4[_0xc90f('0x50')],['id',_0xc90f('0x58'),_0xc90f('0x59')]);return db[_0xc90f('0x36')][_0xc90f('0x4f')](_[_0xc90f('0x46')](_0x2203e8,_0x447cc4[_0xc90f('0x50')]),{'include':_0x447cc4['query'][_0xc90f('0x4e')]?[{'all':!![]}]:undefined})['then'](function(_0x53c92c){var _0x37e5e9=_0x447cc4[_0xc90f('0x51')][_0xc90f('0x26')]({'plain':!![]});if(!_0x37e5e9)throw new Error(_0xc90f('0x52'));if(_0x37e5e9[_0xc90f('0x53')]==='user'){var _0x4bd463=_0x53c92c[_0xc90f('0x26')]({'plain':!![]});var _0x5ebb7e=[{'name':'VoiceQueues','value':'inbound'},{'name':_0xc90f('0x28'),'value':_0xc90f('0x5a')}];var _0x29b776=_['find'](_0x5ebb7e,[_0xc90f('0x2c'),_0x4bd463['type']])[_0xc90f('0x30')];return db[_0xc90f('0x5b')][_0xc90f('0x2f')]({'where':{'name':_0x29b776,'userProfileId':_0x37e5e9[_0xc90f('0x5c')]},'raw':!![]})[_0xc90f('0x24')](function(_0x5c23b8){if(_0x5c23b8&&_0x5c23b8['autoAssociation']===0x0){return db['UserProfileResource'][_0xc90f('0x4f')]({'name':_0x4bd463['name'],'resourceId':_0x4bd463['id'],'type':_0x5c23b8[_0xc90f('0x30')],'sectionId':_0x5c23b8['id']},{})[_0xc90f('0x24')](function(){return _0x53c92c;});}else{return _0x53c92c;}})[_0xc90f('0x4b')](function(_0x43457a){logger[_0xc90f('0x32')](_0xc90f('0x55'),_0x43457a);throw _0x43457a;});}return _0x53c92c;});}})['then'](respondWithResult(_0x358d81,0xc9))[_0xc90f('0x4b')](handleError(_0x358d81,null));};exports[_0xc90f('0x23')]=function(_0x5bec5c,_0x52f88c){if(_0x5bec5c[_0xc90f('0x50')]['id']){delete _0x5bec5c[_0xc90f('0x50')]['id'];}return db['VoiceQueue'][_0xc90f('0x2f')]({'where':{'id':_0x5bec5c[_0xc90f('0x4d')]['id']}})[_0xc90f('0x24')](handleEntityNotFound(_0x52f88c,null))[_0xc90f('0x24')](saveUpdates(_0x5bec5c[_0xc90f('0x50')],null))[_0xc90f('0x24')](respondWithResult(_0x52f88c,null))['catch'](handleError(_0x52f88c,null));};exports['destroy']=function(_0x3a29d4,_0x3e7dae){return db[_0xc90f('0x36')][_0xc90f('0x2f')]({'where':{'id':_0x3a29d4[_0xc90f('0x4d')]['id']}})['then'](handleEntityNotFound(_0x3e7dae,null))[_0xc90f('0x24')](removeEntity(_0x3e7dae,null))[_0xc90f('0x4b')](handleError(_0x3e7dae,null));};exports[_0xc90f('0x5d')]=function(_0x55aaac,_0x20df8f,_0x5d62d5){var _0x5b7684={'raw':![],'where':{}};var _0x4c9054={};var _0x3e8c7d={'count':0x0,'rows':[]};return db[_0xc90f('0x36')][_0xc90f('0x5e')]({'where':{'id':_0x55aaac['params']['id']}})[_0xc90f('0x24')](handleEntityNotFound(_0x20df8f,null))[_0xc90f('0x24')](function(_0x25d51a){if(_0x25d51a){_0x4c9054['model']=_[_0xc90f('0x3b')](db[_0xc90f('0x5f')][_0xc90f('0x37')]);_0x4c9054[_0xc90f('0x3a')]=_[_0xc90f('0x3b')](_0x55aaac['query']);_0x4c9054['filters']=_[_0xc90f('0x3d')](_0x4c9054[_0xc90f('0x39')],_0x4c9054[_0xc90f('0x3a')]);_0x5b7684['attributes']=_[_0xc90f('0x3d')](_0x4c9054[_0xc90f('0x39')],qs[_0xc90f('0x3f')](_0x55aaac[_0xc90f('0x3a')][_0xc90f('0x3f')]));_0x5b7684['attributes']=_0x5b7684[_0xc90f('0x3e')][_0xc90f('0x40')]?_0x5b7684[_0xc90f('0x3e')]:_0x4c9054[_0xc90f('0x39')];if(!_0x55aaac[_0xc90f('0x3a')]['hasOwnProperty'](_0xc90f('0x42'))){_0x5b7684[_0xc90f('0x1e')]=qs['limit'](_0x55aaac[_0xc90f('0x3a')][_0xc90f('0x1e')]);_0x5b7684[_0xc90f('0x1d')]=qs['offset'](_0x55aaac[_0xc90f('0x3a')][_0xc90f('0x1d')]);}_0x5b7684[_0xc90f('0x60')]=qs['sort'](_0x55aaac[_0xc90f('0x3a')]['sort']);_0x5b7684[_0xc90f('0x44')]=qs[_0xc90f('0x3c')](_[_0xc90f('0x45')](_0x55aaac[_0xc90f('0x3a')],_0x4c9054[_0xc90f('0x3c')]));_0x5b7684['where'][_0xc90f('0x61')]=_0x25d51a['id'];if(_0x55aaac[_0xc90f('0x3a')][_0xc90f('0x29')]){_0x5b7684[_0xc90f('0x44')]=_['merge'](_0x5b7684[_0xc90f('0x44')],{'$or':_[_0xc90f('0x2b')](_0x5b7684[_0xc90f('0x3e')],function(_0x34d42f){var _0x905d6={};_0x905d6[_0x34d42f]={'$like':'%'+_0x55aaac[_0xc90f('0x3a')]['filter']+'%'};return _0x905d6;})});}_0x5b7684=_['merge']({},_0x5b7684,_0x55aaac['options']);return db[_0xc90f('0x5f')]['count']({'where':_0x5b7684[_0xc90f('0x44')]})[_0xc90f('0x24')](function(_0x4d0929){_0x3e8c7d[_0xc90f('0x49')]=_0x4d0929;if(_0x55aaac[_0xc90f('0x3a')][_0xc90f('0x4e')]){_0x5b7684[_0xc90f('0x57')]=[{'all':!![]}];}return db[_0xc90f('0x5f')][_0xc90f('0x4a')](_0x5b7684);})[_0xc90f('0x24')](function(_0x557005){_0x3e8c7d[_0xc90f('0x62')]=_0x557005;return _0x3e8c7d;});}})[_0xc90f('0x24')](respondWithFilteredResult(_0x20df8f,_0x5b7684))['catch'](handleError(_0x20df8f,null));};exports[_0xc90f('0x63')]=function(_0x502e30,_0x45ce1f,_0x20a94f){var _0x28a946={'raw':!![],'where':{}};var _0x251aa5={};var _0x44effb={'count':0x0,'rows':[]};return db[_0xc90f('0x36')][_0xc90f('0x5e')]({'where':{'id':_0x502e30[_0xc90f('0x4d')]['id']}})[_0xc90f('0x24')](handleEntityNotFound(_0x45ce1f,null))[_0xc90f('0x24')](function(_0x3057a0){if(_0x3057a0){_0x251aa5[_0xc90f('0x39')]=_['keys'](db[_0xc90f('0x64')][_0xc90f('0x37')]);_0x251aa5['query']=_[_0xc90f('0x3b')](_0x502e30[_0xc90f('0x3a')]);_0x251aa5[_0xc90f('0x3c')]=_[_0xc90f('0x3d')](_0x251aa5[_0xc90f('0x39')],_0x251aa5[_0xc90f('0x3a')]);_0x28a946[_0xc90f('0x3e')]=_[_0xc90f('0x3d')](_0x251aa5[_0xc90f('0x39')],qs['fields'](_0x502e30['query'][_0xc90f('0x3f')]));_0x28a946[_0xc90f('0x3e')]=_0x28a946[_0xc90f('0x3e')][_0xc90f('0x40')]?_0x28a946['attributes']:_0x251aa5[_0xc90f('0x39')];if(!_0x502e30[_0xc90f('0x3a')][_0xc90f('0x41')](_0xc90f('0x42'))){_0x28a946[_0xc90f('0x1e')]=qs[_0xc90f('0x1e')](_0x502e30[_0xc90f('0x3a')][_0xc90f('0x1e')]);_0x28a946[_0xc90f('0x1d')]=qs['offset'](_0x502e30['query'][_0xc90f('0x1d')]);}_0x28a946['order']=qs[_0xc90f('0x43')](_0x502e30[_0xc90f('0x3a')][_0xc90f('0x43')]);_0x28a946[_0xc90f('0x44')]=qs[_0xc90f('0x3c')](_['pick'](_0x502e30[_0xc90f('0x3a')],_0x251aa5['filters']));_0x28a946[_0xc90f('0x44')][_0xc90f('0x61')]=_0x3057a0['id'];if(_0x502e30[_0xc90f('0x3a')][_0xc90f('0x29')]){_0x28a946[_0xc90f('0x44')]=_[_0xc90f('0x46')](_0x28a946['where'],{'$or':_[_0xc90f('0x2b')](_0x28a946['attributes'],function(_0x59dc92){var _0x48e85d={};_0x48e85d[_0x59dc92]={'$like':'%'+_0x502e30['query'][_0xc90f('0x29')]+'%'};return _0x48e85d;})});}_0x28a946=_[_0xc90f('0x46')]({},_0x28a946,_0x502e30[_0xc90f('0x48')]);return db[_0xc90f('0x64')][_0xc90f('0x49')]({'where':_0x28a946[_0xc90f('0x44')]})[_0xc90f('0x24')](function(_0x30e73f){_0x44effb['count']=_0x30e73f;if(_0x502e30[_0xc90f('0x3a')][_0xc90f('0x4e')]){_0x28a946[_0xc90f('0x57')]=[{'all':!![]}];}return db[_0xc90f('0x64')][_0xc90f('0x4a')](_0x28a946);})[_0xc90f('0x24')](function(_0x340e58){_0x44effb[_0xc90f('0x62')]=_0x340e58;return _0x44effb;});}})['then'](respondWithFilteredResult(_0x45ce1f,_0x28a946))['catch'](handleError(_0x45ce1f,null));};exports[_0xc90f('0x65')]=function(_0x44a40b,_0x4160a7,_0x5798af){var _0x2e3169={'raw':!![],'where':{}};var _0x4914af={};var _0x1875ce={'count':0x0,'rows':[]};return db[_0xc90f('0x36')][_0xc90f('0x5e')]({'where':{'id':_0x44a40b['params']['id']}})['then'](handleEntityNotFound(_0x4160a7,null))[_0xc90f('0x24')](function(_0x3c925a){if(_0x3c925a){_0x4914af[_0xc90f('0x39')]=_[_0xc90f('0x3b')](db[_0xc90f('0x66')][_0xc90f('0x37')]);_0x4914af['query']=_[_0xc90f('0x3b')](_0x44a40b[_0xc90f('0x3a')]);_0x4914af[_0xc90f('0x3c')]=_['intersection'](_0x4914af[_0xc90f('0x39')],_0x4914af[_0xc90f('0x3a')]);_0x2e3169[_0xc90f('0x3e')]=_[_0xc90f('0x3d')](_0x4914af[_0xc90f('0x39')],qs[_0xc90f('0x3f')](_0x44a40b['query']['fields']));_0x2e3169[_0xc90f('0x3e')]=_0x2e3169[_0xc90f('0x3e')][_0xc90f('0x40')]?_0x2e3169['attributes']:_0x4914af[_0xc90f('0x39')];if(!_0x44a40b[_0xc90f('0x3a')][_0xc90f('0x41')](_0xc90f('0x42'))){_0x2e3169[_0xc90f('0x1e')]=qs[_0xc90f('0x1e')](_0x44a40b[_0xc90f('0x3a')][_0xc90f('0x1e')]);_0x2e3169[_0xc90f('0x1d')]=qs[_0xc90f('0x1d')](_0x44a40b[_0xc90f('0x3a')][_0xc90f('0x1d')]);}_0x2e3169[_0xc90f('0x60')]=qs[_0xc90f('0x43')](_0x44a40b[_0xc90f('0x3a')][_0xc90f('0x43')]);_0x2e3169[_0xc90f('0x44')]=qs['filters'](_[_0xc90f('0x45')](_0x44a40b[_0xc90f('0x3a')],_0x4914af[_0xc90f('0x3c')]));_0x2e3169['where'][_0xc90f('0x61')]=_0x3c925a['id'];if(_0x44a40b[_0xc90f('0x3a')][_0xc90f('0x29')]){_0x2e3169['where']=_[_0xc90f('0x46')](_0x2e3169[_0xc90f('0x44')],{'$or':_[_0xc90f('0x2b')](_0x2e3169[_0xc90f('0x3e')],function(_0x4ffc6a){var _0x28416e={};_0x28416e[_0x4ffc6a]={'$like':'%'+_0x44a40b[_0xc90f('0x3a')][_0xc90f('0x29')]+'%'};return _0x28416e;})});}_0x2e3169=_[_0xc90f('0x46')]({},_0x2e3169,_0x44a40b['options']);return db[_0xc90f('0x66')][_0xc90f('0x49')]({'where':_0x2e3169['where']})[_0xc90f('0x24')](function(_0x142c9d){_0x1875ce[_0xc90f('0x49')]=_0x142c9d;if(_0x44a40b['query']['includeAll']){_0x2e3169[_0xc90f('0x57')]=[{'all':!![]}];}return db[_0xc90f('0x66')][_0xc90f('0x4a')](_0x2e3169);})[_0xc90f('0x24')](function(_0x3a3a06){_0x1875ce[_0xc90f('0x62')]=_0x3a3a06;return _0x1875ce;});}})['then'](respondWithFilteredResult(_0x4160a7,_0x2e3169))[_0xc90f('0x4b')](handleError(_0x4160a7,null));};exports[_0xc90f('0x67')]=function(_0x488ff8,_0x29e1e0,_0x111342){var _0x46a68a={'raw':!![],'where':{}};var _0x1f78d9={};var _0x1e75ca={'count':0x0,'rows':[]};return db['VoiceQueue'][_0xc90f('0x5e')]({'where':{'id':_0x488ff8[_0xc90f('0x4d')]['id']}})[_0xc90f('0x24')](handleEntityNotFound(_0x29e1e0,null))['then'](function(_0x5286c2){if(_0x5286c2){_0x1f78d9[_0xc90f('0x39')]=_[_0xc90f('0x3b')](db[_0xc90f('0x68')]['rawAttributes']);_0x1f78d9[_0xc90f('0x3a')]=_['keys'](_0x488ff8[_0xc90f('0x3a')]);_0x1f78d9['filters']=_['intersection'](_0x1f78d9[_0xc90f('0x39')],_0x1f78d9['query']);_0x46a68a[_0xc90f('0x3e')]=_['intersection'](_0x1f78d9[_0xc90f('0x39')],qs[_0xc90f('0x3f')](_0x488ff8[_0xc90f('0x3a')][_0xc90f('0x3f')]));_0x46a68a[_0xc90f('0x3e')]=_0x46a68a['attributes'][_0xc90f('0x40')]?_0x46a68a[_0xc90f('0x3e')]:_0x1f78d9[_0xc90f('0x39')];if(!_0x488ff8[_0xc90f('0x3a')][_0xc90f('0x41')](_0xc90f('0x42'))){_0x46a68a[_0xc90f('0x1e')]=qs[_0xc90f('0x1e')](_0x488ff8['query'][_0xc90f('0x1e')]);_0x46a68a['offset']=qs[_0xc90f('0x1d')](_0x488ff8[_0xc90f('0x3a')][_0xc90f('0x1d')]);}_0x46a68a[_0xc90f('0x60')]=qs['sort'](_0x488ff8[_0xc90f('0x3a')][_0xc90f('0x43')]);_0x46a68a['where']=qs[_0xc90f('0x3c')](_[_0xc90f('0x45')](_0x488ff8[_0xc90f('0x3a')],_0x1f78d9[_0xc90f('0x3c')]));_0x46a68a['where']['VoiceQueueId']=_0x5286c2['id'];if(_0x488ff8['query']['filter']){_0x46a68a[_0xc90f('0x44')]=_[_0xc90f('0x46')](_0x46a68a[_0xc90f('0x44')],{'$or':_['map'](_0x46a68a[_0xc90f('0x3e')],function(_0x492d5c){var _0x4128ff={};_0x4128ff[_0x492d5c]={'$like':'%'+_0x488ff8[_0xc90f('0x3a')]['filter']+'%'};return _0x4128ff;})});}_0x46a68a=_[_0xc90f('0x46')]({},_0x46a68a,_0x488ff8['options']);return db['CmHopperBlack'][_0xc90f('0x49')]({'where':_0x46a68a[_0xc90f('0x44')]})['then'](function(_0x4525fa){_0x1e75ca[_0xc90f('0x49')]=_0x4525fa;if(_0x488ff8[_0xc90f('0x3a')][_0xc90f('0x4e')]){_0x46a68a[_0xc90f('0x57')]=[{'all':!![]}];}return db[_0xc90f('0x68')][_0xc90f('0x4a')](_0x46a68a);})['then'](function(_0x4708ab){_0x1e75ca['rows']=_0x4708ab;return _0x1e75ca;});}})[_0xc90f('0x24')](respondWithFilteredResult(_0x29e1e0,_0x46a68a))[_0xc90f('0x4b')](handleError(_0x29e1e0,null));};exports['getTeams']=function(_0x4058c4,_0x1fbf74,_0x673239){var _0x11b637={};var _0x215d33={};var _0x13ae43;var _0x184edb;return db[_0xc90f('0x36')]['findOne']({'where':{'id':_0x4058c4['params']['id']}})[_0xc90f('0x24')](handleEntityNotFound(_0x1fbf74,null))[_0xc90f('0x24')](function(_0xe18866){if(_0xe18866){_0x13ae43=_0xe18866;_0x215d33[_0xc90f('0x39')]=_[_0xc90f('0x3b')](db[_0xc90f('0x69')][_0xc90f('0x37')]);_0x215d33[_0xc90f('0x3a')]=_['keys'](_0x4058c4['query']);_0x215d33[_0xc90f('0x3c')]=_[_0xc90f('0x3d')](_0x215d33[_0xc90f('0x39')],_0x215d33[_0xc90f('0x3a')]);_0x11b637[_0xc90f('0x3e')]=_[_0xc90f('0x3d')](_0x215d33['model'],qs['fields'](_0x4058c4[_0xc90f('0x3a')][_0xc90f('0x3f')]));_0x11b637[_0xc90f('0x3e')]=_0x11b637[_0xc90f('0x3e')][_0xc90f('0x40')]?_0x11b637['attributes']:_0x215d33[_0xc90f('0x39')];_0x11b637[_0xc90f('0x60')]=qs[_0xc90f('0x43')](_0x4058c4[_0xc90f('0x3a')]['sort']);_0x11b637[_0xc90f('0x44')]=qs[_0xc90f('0x3c')](_['pick'](_0x4058c4[_0xc90f('0x3a')],_0x215d33[_0xc90f('0x3c')]));if(_0x4058c4[_0xc90f('0x3a')][_0xc90f('0x29')]){_0x11b637['where']=_[_0xc90f('0x46')](_0x11b637[_0xc90f('0x44')],{'$or':_[_0xc90f('0x2b')](_0x11b637[_0xc90f('0x3e')],function(_0x281532){var _0x543302={};_0x543302[_0x281532]={'$like':'%'+_0x4058c4[_0xc90f('0x3a')]['filter']+'%'};return _0x543302;})});}_0x11b637=_['merge']({},_0x11b637,_0x4058c4[_0xc90f('0x48')]);return _0x13ae43['getTeams'](_0x11b637);}})[_0xc90f('0x24')](function(_0x219f31){if(_0x219f31){_0x184edb=_0x219f31[_0xc90f('0x40')];if(!_0x4058c4[_0xc90f('0x3a')][_0xc90f('0x41')](_0xc90f('0x42'))){_0x11b637[_0xc90f('0x1e')]=qs[_0xc90f('0x1e')](_0x4058c4[_0xc90f('0x3a')][_0xc90f('0x1e')]);_0x11b637['offset']=qs[_0xc90f('0x1d')](_0x4058c4[_0xc90f('0x3a')]['offset']);}return _0x13ae43[_0xc90f('0x6a')](_0x11b637);}})['then'](function(_0x365301){if(_0x365301){return _0x365301?{'count':_0x184edb,'rows':_0x365301}:null;}})[_0xc90f('0x24')](respondWithResult(_0x1fbf74,null))[_0xc90f('0x4b')](handleError(_0x1fbf74,null));};exports[_0xc90f('0x6b')]=function(_0x30d434,_0x3ed4de,_0x288515){var _0x14403e=_0x30d434[_0xc90f('0x50')][_0xc90f('0x6c')];var _0x21b966=_['map'](_0x14403e,'id');return db['Team'][_0xc90f('0x4a')]({'where':{'id':_0x21b966},'attributes':['id'],'include':[{'model':db['User'],'as':_0xc90f('0x6d'),'attributes':['id',_0xc90f('0x30'),'online',_0xc90f('0x6e'),_0xc90f('0x6f')],'raw':!![]}]})[_0xc90f('0x24')](function(_0x4dbbf7){if(_0x4dbbf7){var _0x3f91ba=_[_0xc90f('0x70')](_0x4dbbf7,function(_0x51f70d){var _0x3e47f5=_0x51f70d[_0xc90f('0x26')]({'plain':!![]});_0x3e47f5[_0xc90f('0x6d')]['forEach'](function(_0x1dfb71){_0x1dfb71[_0xc90f('0x71')]=_[_0xc90f('0x2f')](_0x14403e,{'id':_0x3e47f5['id']})['penalty'];});return _0x3e47f5[_0xc90f('0x6d')];});return db['VoiceQueue'][_0xc90f('0x2f')]({'where':{'id':_0x30d434[_0xc90f('0x4d')]['id']}})['then'](function(_0x1d5faf){return db[_0xc90f('0x72')][_0xc90f('0x73')](function(_0x193fdb){return _0x1d5faf[_0xc90f('0x6b')](_0x21b966,{'transaction':_0x193fdb})[_0xc90f('0x24')](function(){return BPromise[_0xc90f('0x74')](_0x3f91ba,function(_0x4e2e52){return db['UserVoiceQueue'][_0xc90f('0x75')]({'where':{'UserId':_0x4e2e52['id'],'VoiceQueueId':_0x30d434[_0xc90f('0x4d')]['id']},'defaults':{'penalty':_0x4e2e52['penalty']},'transaction':_0x193fdb});});})[_0xc90f('0x24')](function(){return BPromise[_0xc90f('0x74')](_[_0xc90f('0x29')](_0x3f91ba,{'online':!![]}),function(_0x1d003a){return db['UserVoiceQueueRt']['upsert']({'membername':_0x1d003a['name'],'UserId':_0x1d003a['id'],'queue_name':_0x1d5faf[_0xc90f('0x30')],'VoiceQueueId':_0x1d5faf['id'],'interface':_[_0xc90f('0x76')](_0x1d003a[_0xc90f('0x6f')])?util['format'](_0xc90f('0x77'),_0x1d003a[_0xc90f('0x30')]):_0x1d003a[_0xc90f('0x6f')],'paused':_0x1d003a[_0xc90f('0x6e')]||![],'penalty':_0x1d003a['penalty']},{'transaction':_0x193fdb});});})[_0xc90f('0x24')](function(){_0x3f91ba[_0xc90f('0x78')](function(_0x3d03ea){socket[_0xc90f('0x79')](_0xc90f('0x7a'),{'UserId':_0x3d03ea['id'],'VoiceQueueId':_0x1d5faf['id']});});});});});}})[_0xc90f('0x24')](respondWithStatusCode(_0x3ed4de,null))[_0xc90f('0x4b')](handleError(_0x3ed4de,null));};exports[_0xc90f('0x7b')]=function(_0x679993,_0x351ef0,_0x3a2474){return db[_0xc90f('0x69')]['findAll']({'where':{'id':_0x679993[_0xc90f('0x3a')][_0xc90f('0x7c')]},'attributes':['id'],'include':[{'model':db[_0xc90f('0x7d')],'as':_0xc90f('0x6d'),'attributes':['id'],'raw':!![]}]})[_0xc90f('0x24')](handleEntityNotFound(_0x351ef0,null))[_0xc90f('0x24')](function(_0x42816b){var _0x1c7b10=_[_0xc90f('0x2b')](_0x42816b,'id');var _0xc4fb6f=[];var _0x47748a=[];var _0x1294ee=squel[_0xc90f('0x7e')]();_0x1294ee[_0xc90f('0x7f')](_0xc90f('0x80'))[_0xc90f('0x81')](_0xc90f('0x82'),'tq')[_0xc90f('0x83')](_0xc90f('0x84'),'ut','ut.TeamId\x20=\x20tq.TeamId')[_0xc90f('0x44')]('VoiceQueueId\x20=\x20?',_0x679993['params']['id']);for(var _0x108f44=0x0;_0x108f44<_0x42816b[_0xc90f('0x40')];_0x108f44+=0x1){let _0x517187=_0x42816b[_0x108f44];for(var _0x2dd3f6=0x0;_0x2dd3f6<_0x517187[_0xc90f('0x6d')][_0xc90f('0x40')];_0x2dd3f6+=0x1){let _0xf9b90f=_0x517187[_0xc90f('0x6d')][_0x2dd3f6];var _0x56ff7b=_0x1294ee[_0xc90f('0x56')]();_0x56ff7b[_0xc90f('0x44')](_0xc90f('0x85'),_0xf9b90f['id']);_0x47748a[_0xc90f('0x86')](db[_0xc90f('0x72')][_0xc90f('0x3a')](_0x56ff7b[_0xc90f('0x87')](),{'type':db['sequelize']['QueryTypes']['SELECT']})['then'](function(_0x47ef99){if(_0x47ef99[_0xc90f('0x40')]===0x1){return _0xf9b90f['id'];}else{var _0x2112f8=_[_0xc90f('0x88')](_[_0xc90f('0x2b')](_0x47ef99,_0xc90f('0x89')),function(_0x1560ee){return _[_0xc90f('0x2d')](_0x1c7b10,_0x1560ee);});if(_0x2112f8){return _0xf9b90f['id'];}}}));}}return BPromise[_0xc90f('0x8a')](_0x47748a)[_0xc90f('0x24')](function(_0x5cae8e){_0xc4fb6f=_(_0xc4fb6f)[_0xc90f('0x8b')](_0x5cae8e)[_0xc90f('0x8c')]()[_0xc90f('0x2c')]();return db[_0xc90f('0x36')][_0xc90f('0x2f')]({'where':{'id':_0x679993[_0xc90f('0x4d')]['id']}})[_0xc90f('0x24')](function(_0x363d0c){return db[_0xc90f('0x72')]['transaction'](function(_0x28f874){return _0x363d0c['removeTeams'](_0x679993[_0xc90f('0x3a')]['ids'],{'transaction':_0x28f874})[_0xc90f('0x24')](function(){if(!_['isEmpty'](_0xc4fb6f)){return _0x363d0c['removeAgents'](_0xc4fb6f,{'transaction':_0x28f874})[_0xc90f('0x24')](function(){return db['UserVoiceQueueRt'][_0xc90f('0x25')]({'where':{'VoiceQueueId':_0x679993[_0xc90f('0x4d')]['id'],'UserId':_0xc4fb6f},'transaction':_0x28f874});});}})[_0xc90f('0x24')](function(){_0xc4fb6f[_0xc90f('0x78')](function(_0x2d84ba){socket[_0xc90f('0x79')](_0xc90f('0x8d'),{'UserId':_0x2d84ba,'VoiceQueueId':_0x363d0c['id']});});});});});});})[_0xc90f('0x24')](respondWithStatusCode(_0x351ef0,null))[_0xc90f('0x4b')](handleError(_0x351ef0,null));};exports[_0xc90f('0x8e')]=function(_0x1d418d,_0x23cc1b,_0x20c262){var _0xf0995e,_0x260906;return db['VoiceQueue'][_0xc90f('0x2f')]({'where':{'id':_0x1d418d[_0xc90f('0x4d')]['id']}})['then'](handleEntityNotFound(_0x23cc1b,null))[_0xc90f('0x24')](function(_0x18ebe8){if(_0x18ebe8){_0x260906=_0x18ebe8;return _0x18ebe8[_0xc90f('0x8e')](_0x1d418d['body'][_0xc90f('0x7c')],_[_0xc90f('0x8f')](_0x1d418d['body'],['ids','id'])||{})[_0xc90f('0x90')](function(_0x29b0d9){for(var _0x31bca0=0x0;_0x31bca0<_0x1d418d[_0xc90f('0x50')][_0xc90f('0x7c')][_0xc90f('0x40')];_0x31bca0+=0x1){socket[_0xc90f('0x79')]('userVoiceQueue:save',{'UserId':_0x1d418d[_0xc90f('0x50')][_0xc90f('0x7c')][_0x31bca0],'VoiceQueueId':_0x1d418d[_0xc90f('0x4d')]['id']});}return _0x29b0d9;});}})[_0xc90f('0x24')](function(_0x55ec4b){_0xf0995e=_0x55ec4b||[];if(_0x260906){return db['User']['findAll']({'where':{'id':_0x1d418d['body']['ids']},'attributes':['id','name',_0xc90f('0x91'),_0xc90f('0x6e'),_0xc90f('0x6f')],'raw':!![]});}})[_0xc90f('0x24')](function(_0x5cad18){if(!_[_0xc90f('0x92')](_0x5cad18)){var _0x5017a0=[];for(var _0x247e7b=0x0;_0x247e7b<_0x5cad18[_0xc90f('0x40')];_0x247e7b++){if(_0x5cad18[_0x247e7b][_0xc90f('0x91')]){_0x5017a0[_0xc90f('0x86')](db['UserVoiceQueueRt'][_0xc90f('0x93')]({'membername':_0x5cad18[_0x247e7b][_0xc90f('0x30')],'UserId':_0x5cad18[_0x247e7b]['id'],'queue_name':_0x260906['name'],'VoiceQueueId':_0x260906['id'],'interface':_[_0xc90f('0x76')](_0x5cad18[_0x247e7b][_0xc90f('0x6f')])?util[_0xc90f('0x94')](_0xc90f('0x77'),_0x5cad18[_0x247e7b][_0xc90f('0x30')]):_0x5cad18[_0x247e7b][_0xc90f('0x6f')],'paused':_0x5cad18[_0x247e7b][_0xc90f('0x6e')]||![],'penalty':_0x1d418d[_0xc90f('0x50')][_0xc90f('0x71')]||0x0}));}}return BPromise[_0xc90f('0x8a')](_0x5017a0);}})[_0xc90f('0x24')](function(){return _0xf0995e;})[_0xc90f('0x24')](respondWithResult(_0x23cc1b,null))['catch'](handleError(_0x23cc1b,null));};exports[_0xc90f('0x95')]=function(_0x5b0131,_0x27956c,_0x4c1426){return db[_0xc90f('0x36')]['find']({'where':{'id':_0x5b0131[_0xc90f('0x4d')]['id']}})[_0xc90f('0x24')](handleEntityNotFound(_0x27956c,null))[_0xc90f('0x24')](function(_0x27bfe4){if(_0x27bfe4){return _0x27bfe4[_0xc90f('0x95')](_0x5b0131[_0xc90f('0x3a')]['ids'])[_0xc90f('0x24')](function(){if(_[_0xc90f('0x96')](_0x5b0131['query'][_0xc90f('0x7c')])){for(var _0x281902=0x0;_0x281902<_0x5b0131[_0xc90f('0x3a')][_0xc90f('0x7c')][_0xc90f('0x40')];_0x281902+=0x1){socket[_0xc90f('0x79')]('userVoiceQueue:remove',{'UserId':Number(_0x5b0131['query'][_0xc90f('0x7c')][_0x281902]),'VoiceQueueId':Number(_0x5b0131[_0xc90f('0x4d')]['id'])});}}else{socket[_0xc90f('0x79')]('userVoiceQueue:remove',{'UserId':Number(_0x5b0131['query'][_0xc90f('0x7c')]),'VoiceQueueId':Number(_0x5b0131[_0xc90f('0x4d')]['id'])});}});}})[_0xc90f('0x24')](function(_0x3fd338){return db[_0xc90f('0x97')]['destroy']({'where':{'VoiceQueueId':_0x5b0131['params']['id'],'UserId':_0x5b0131[_0xc90f('0x3a')]['ids']}})[_0xc90f('0x24')](function(){return _0x3fd338;});})[_0xc90f('0x24')](respondWithStatusCode(_0x27956c,null))[_0xc90f('0x4b')](handleError(_0x27956c,null));};exports[_0xc90f('0x98')]=function(_0x559efe,_0x5df6c3,_0x60512){var _0x282496={};var _0x1b3d27={};var _0x446671;var _0x466c06;return db[_0xc90f('0x36')]['findOne']({'where':{'id':_0x559efe[_0xc90f('0x4d')]['id']}})[_0xc90f('0x24')](handleEntityNotFound(_0x5df6c3,null))['then'](function(_0x1d9d9a){if(_0x1d9d9a){_0x446671=_0x1d9d9a;_0x1b3d27['model']=_[_0xc90f('0x3b')](db['User'][_0xc90f('0x37')]);_0x1b3d27[_0xc90f('0x3a')]=_[_0xc90f('0x3b')](_0x559efe[_0xc90f('0x3a')]);_0x1b3d27[_0xc90f('0x3c')]=_[_0xc90f('0x3d')](_0x1b3d27[_0xc90f('0x39')],_0x1b3d27[_0xc90f('0x3a')]);_0x282496[_0xc90f('0x3e')]=_['intersection'](_0x1b3d27[_0xc90f('0x39')],qs[_0xc90f('0x3f')](_0x559efe[_0xc90f('0x3a')][_0xc90f('0x3f')]));_0x282496['attributes']=_0x282496['attributes'][_0xc90f('0x40')]?_0x282496[_0xc90f('0x3e')]:_0x1b3d27['model'];_0x282496[_0xc90f('0x60')]=qs['sort'](_0x559efe['query'][_0xc90f('0x43')]);_0x282496[_0xc90f('0x44')]=qs[_0xc90f('0x3c')](_[_0xc90f('0x45')](_0x559efe[_0xc90f('0x3a')],_0x1b3d27['filters']));if(_0x559efe[_0xc90f('0x3a')][_0xc90f('0x29')]){_0x282496[_0xc90f('0x44')]=_[_0xc90f('0x46')](_0x282496[_0xc90f('0x44')],{'$or':_[_0xc90f('0x2b')](_0x282496[_0xc90f('0x3e')],function(_0x1064e7){var _0x42ade2={};_0x42ade2[_0x1064e7]={'$like':'%'+_0x559efe[_0xc90f('0x3a')][_0xc90f('0x29')]+'%'};return _0x42ade2;})});}_0x282496=_[_0xc90f('0x46')]({},_0x282496,_0x559efe[_0xc90f('0x48')]);return _0x446671['getAgents'](_0x282496);}})[_0xc90f('0x24')](function(_0x26a86d){if(_0x26a86d){_0x466c06=_0x26a86d[_0xc90f('0x40')];if(!_0x559efe[_0xc90f('0x3a')][_0xc90f('0x41')](_0xc90f('0x42'))){_0x282496[_0xc90f('0x1e')]=qs[_0xc90f('0x1e')](_0x559efe[_0xc90f('0x3a')][_0xc90f('0x1e')]);_0x282496[_0xc90f('0x1d')]=qs[_0xc90f('0x1d')](_0x559efe[_0xc90f('0x3a')][_0xc90f('0x1d')]);}return _0x446671[_0xc90f('0x98')](_0x282496);}})[_0xc90f('0x24')](function(_0x449e03){if(_0x449e03){return _0x449e03?{'count':_0x466c06,'rows':_0x449e03}:null;}})[_0xc90f('0x24')](respondWithResult(_0x5df6c3,null))['catch'](handleError(_0x5df6c3,null));};exports[_0xc90f('0x99')]=function(_0x490f12,_0x227d85,_0x102419){var _0x144767={};var _0x4a3d42={};var _0xd0eb8c;var _0xef8c66;return db[_0xc90f('0x36')][_0xc90f('0x5e')]({'where':{'id':_0x490f12['params']['id']}})[_0xc90f('0x24')](handleEntityNotFound(_0x227d85,null))[_0xc90f('0x24')](function(_0x5dfbe4){if(_0x5dfbe4){_0xd0eb8c=_0x5dfbe4;_0x4a3d42[_0xc90f('0x39')]=_[_0xc90f('0x3b')](db[_0xc90f('0x97')]['rawAttributes']);_0x4a3d42[_0xc90f('0x3a')]=_[_0xc90f('0x3b')](_0x490f12['query']);_0x4a3d42[_0xc90f('0x3c')]=_['intersection'](_0x4a3d42[_0xc90f('0x39')],_0x4a3d42['query']);_0x144767[_0xc90f('0x3e')]=_['intersection'](_0x4a3d42[_0xc90f('0x39')],qs['fields'](_0x490f12[_0xc90f('0x3a')][_0xc90f('0x3f')]));_0x144767['attributes']=_0x144767['attributes']['length']?_0x144767[_0xc90f('0x3e')]:_0x4a3d42[_0xc90f('0x39')];_0x144767[_0xc90f('0x60')]=qs[_0xc90f('0x43')](_0x490f12[_0xc90f('0x3a')]['sort']);_0x144767[_0xc90f('0x44')]=qs[_0xc90f('0x3c')](_[_0xc90f('0x45')](_0x490f12[_0xc90f('0x3a')],_0x4a3d42[_0xc90f('0x3c')]));if(_0x490f12[_0xc90f('0x3a')][_0xc90f('0x29')]){_0x144767['where']=_[_0xc90f('0x46')](_0x144767['where'],{'$or':_[_0xc90f('0x2b')](_0x144767['attributes'],function(_0x39c521){var _0x325f50={};_0x325f50[_0x39c521]={'$like':'%'+_0x490f12[_0xc90f('0x3a')]['filter']+'%'};return _0x325f50;})});}_0x144767=_[_0xc90f('0x46')]({},_0x144767,_0x490f12[_0xc90f('0x48')]);return _0xd0eb8c['getMembers'](_0x144767);}})[_0xc90f('0x24')](function(_0x26a9e6){if(_0x26a9e6){_0xef8c66=_0x26a9e6[_0xc90f('0x40')];if(!_0x490f12['query'][_0xc90f('0x41')](_0xc90f('0x42'))){_0x144767['limit']=qs['limit'](_0x490f12['query'][_0xc90f('0x1e')]);_0x144767[_0xc90f('0x1d')]=qs['offset'](_0x490f12[_0xc90f('0x3a')]['offset']);}return _0xd0eb8c[_0xc90f('0x99')](_0x144767);}})[_0xc90f('0x24')](function(_0x5c84ce){return _0x5c84ce?{'count':_0xef8c66,'rows':_0x5c84ce}:null;})['then'](respondWithResult(_0x227d85,null))[_0xc90f('0x4b')](handleError(_0x227d85,null));};exports['getLists']=function(_0x53d1c7,_0xd624c0,_0x719cf9){var _0x254b5b={};var _0x596516={};var _0x83a4df;var _0xb97977;return db[_0xc90f('0x36')][_0xc90f('0x5e')]({'where':{'id':_0x53d1c7['params']['id']}})['then'](handleEntityNotFound(_0xd624c0,null))[_0xc90f('0x24')](function(_0x574ac4){if(_0x574ac4){_0x83a4df=_0x574ac4;_0x596516[_0xc90f('0x39')]=_[_0xc90f('0x3b')](db[_0xc90f('0x9a')][_0xc90f('0x37')]);_0x596516['query']=_[_0xc90f('0x3b')](_0x53d1c7[_0xc90f('0x3a')]);_0x596516[_0xc90f('0x3c')]=_[_0xc90f('0x3d')](_0x596516[_0xc90f('0x39')],_0x596516[_0xc90f('0x3a')]);_0x254b5b['attributes']=_[_0xc90f('0x3d')](_0x596516['model'],qs['fields'](_0x53d1c7[_0xc90f('0x3a')][_0xc90f('0x3f')]));_0x254b5b[_0xc90f('0x3e')]=_0x254b5b[_0xc90f('0x3e')][_0xc90f('0x40')]?_0x254b5b[_0xc90f('0x3e')]:_0x596516[_0xc90f('0x39')];_0x254b5b[_0xc90f('0x60')]=qs[_0xc90f('0x43')](_0x53d1c7[_0xc90f('0x3a')][_0xc90f('0x43')]);_0x254b5b[_0xc90f('0x44')]=qs[_0xc90f('0x3c')](_[_0xc90f('0x45')](_0x53d1c7['query'],_0x596516[_0xc90f('0x3c')]));if(_0x53d1c7[_0xc90f('0x3a')][_0xc90f('0x29')]){_0x254b5b[_0xc90f('0x44')]=_[_0xc90f('0x46')](_0x254b5b[_0xc90f('0x44')],{'$or':_[_0xc90f('0x2b')](_0x254b5b[_0xc90f('0x3e')],function(_0x511421){var _0xefe4e8={};_0xefe4e8[_0x511421]={'$like':'%'+_0x53d1c7[_0xc90f('0x3a')][_0xc90f('0x29')]+'%'};return _0xefe4e8;})});}_0x254b5b=_[_0xc90f('0x46')]({},_0x254b5b,_0x53d1c7[_0xc90f('0x48')]);return _0x83a4df[_0xc90f('0x9b')](_0x254b5b);}})['then'](function(_0x1a3da2){if(_0x1a3da2){_0xb97977=_0x1a3da2['length'];if(!_0x53d1c7[_0xc90f('0x3a')]['hasOwnProperty'](_0xc90f('0x42'))){_0x254b5b['limit']=qs[_0xc90f('0x1e')](_0x53d1c7[_0xc90f('0x3a')][_0xc90f('0x1e')]);_0x254b5b['offset']=qs[_0xc90f('0x1d')](_0x53d1c7[_0xc90f('0x3a')][_0xc90f('0x1d')]);}return _0x83a4df[_0xc90f('0x9b')](_0x254b5b);}})[_0xc90f('0x24')](function(_0x190ba1){if(_0x190ba1){return _0x190ba1?{'count':_0xb97977,'rows':_0x190ba1}:null;}})[_0xc90f('0x24')](respondWithResult(_0xd624c0,null))[_0xc90f('0x4b')](handleError(_0xd624c0,null));};exports[_0xc90f('0x9c')]=function(_0x5a27b9,_0x3ceb71,_0x5aa410){var _0x1cb63b,_0x1e4aec;return db['VoiceQueue'][_0xc90f('0x2f')]({'where':{'id':_0x5a27b9[_0xc90f('0x4d')]['id']}})['then'](handleEntityNotFound(_0x3ceb71,null))['then'](function(_0x36a4ca){if(_0x36a4ca){_0x1e4aec=_0x36a4ca;return _0x36a4ca['addLists'](_0x5a27b9[_0xc90f('0x50')][_0xc90f('0x7c')],_[_0xc90f('0x8f')](_0x5a27b9[_0xc90f('0x50')],[_0xc90f('0x7c'),'id'])||{});}return null;})['spread'](function(_0x58bbff){var _0x21668f;_0x1cb63b=_0x58bbff||[];var _0x8b7e2e=[];if(_0x58bbff){for(var _0x243fa5=0x0;_0x243fa5<_0x58bbff[_0xc90f('0x40')];_0x243fa5+=0x1){var _0x4f8791=_0x58bbff[_0x243fa5][_0xc90f('0x26')]({'plain':!![]});_0x1e4aec[_0xc90f('0x9d')]=_0x5a27b9['body']['dialCheckDuplicateType']?_0x5a27b9['body'][_0xc90f('0x9d')]:_0x1e4aec[_0xc90f('0x9d')];switch(_0x1e4aec[_0xc90f('0x9d')]){case _0xc90f('0x9e'):_0x21668f=squel[_0xc90f('0x9f')]()['into'](_0xc90f('0xa0'))[_0xc90f('0xa1')]([_0xc90f('0xa2'),_0xc90f('0xa3'),_0xc90f('0xa4'),_0xc90f('0xa5'),'VoiceQueueId',_0xc90f('0x58'),_0xc90f('0x59')],squel['select']()['field'](_0xc90f('0xa2'),'phone')[_0xc90f('0x7f')](_0xc90f('0xa6'),_0xc90f('0xa3'))[_0xc90f('0x7f')]('id',_0xc90f('0xa4'))[_0xc90f('0x7f')](_0x4f8791[_0xc90f('0xa7')][_0xc90f('0x87')](),_0xc90f('0xa5'))[_0xc90f('0x7f')](_0x5a27b9[_0xc90f('0x4d')]['id']['toString'](),_0xc90f('0x61'))[_0xc90f('0x7f')](_0xc90f('0xa6'),_0xc90f('0x58'))[_0xc90f('0x7f')]('NOW()',_0xc90f('0x59'))[_0xc90f('0x81')](_0xc90f('0xa8'))['where'](_0xc90f('0xa9'))[_0xc90f('0x44')]('ListId\x20=\x20?',_0x4f8791[_0xc90f('0xa7')][_0xc90f('0x87')]())[_0xc90f('0x44')](_0xc90f('0xaa'))[_0xc90f('0x44')]('phone\x20NOT\x20IN\x20(?)',squel[_0xc90f('0x7e')]()[_0xc90f('0x7f')]('COALESCE(calleridnum,\x27\x27)')['from'](_0xc90f('0xab'))['where'](_0xc90f('0xac'),_0x5a27b9[_0xc90f('0x4d')]['id']['toString']()))[_0xc90f('0x44')](_0xc90f('0xad'),squel[_0xc90f('0x7e')]()[_0xc90f('0x7f')](_0xc90f('0xae'))[_0xc90f('0x81')](_0xc90f('0xa0'))['where']('VoiceQueueId\x20=\x20?',_0x5a27b9[_0xc90f('0x4d')]['id']['toString']())))[_0xc90f('0x87')]();break;case'onlyIfOpen':_0x21668f=squel[_0xc90f('0x9f')]()['into']('cm_hopper')[_0xc90f('0xa1')]([_0xc90f('0xa2'),_0xc90f('0xa3'),'ContactId',_0xc90f('0xa5'),_0xc90f('0x61'),_0xc90f('0x58'),_0xc90f('0x59')],squel[_0xc90f('0x7e')]()['field'](_0xc90f('0xa2'),_0xc90f('0xa2'))[_0xc90f('0x7f')]('NOW()','scheduledAt')[_0xc90f('0x7f')]('id','ContactId')[_0xc90f('0x7f')](_0x4f8791['CmListId'][_0xc90f('0x87')](),_0xc90f('0xa5'))['field'](_0x5a27b9[_0xc90f('0x4d')]['id']['toString'](),_0xc90f('0x61'))[_0xc90f('0x7f')](_0xc90f('0xa6'),_0xc90f('0x58'))[_0xc90f('0x7f')](_0xc90f('0xa6'),'updatedAt')[_0xc90f('0x81')](_0xc90f('0xa8'))[_0xc90f('0x44')](_0xc90f('0xa9'))[_0xc90f('0x44')](_0xc90f('0xaf'),_0x4f8791[_0xc90f('0xa7')][_0xc90f('0x87')]())[_0xc90f('0x44')]('phone\x20IS\x20NOT\x20NULL')[_0xc90f('0x44')](_0xc90f('0xad'),squel[_0xc90f('0x7e')]()['field'](_0xc90f('0xae'))[_0xc90f('0x81')](_0xc90f('0xa0'))[_0xc90f('0x44')](_0xc90f('0xac'),_0x5a27b9[_0xc90f('0x4d')]['id'][_0xc90f('0x87')]())))[_0xc90f('0x87')]();break;default:_0x21668f=squel['insert']()['into'](_0xc90f('0xa0'))['fromQuery']([_0xc90f('0xa2'),'scheduledAt',_0xc90f('0xa4'),_0xc90f('0xa5'),_0xc90f('0x61'),_0xc90f('0x58'),_0xc90f('0x59')],squel['select']()[_0xc90f('0x7f')]('phone',_0xc90f('0xa2'))[_0xc90f('0x7f')]('NOW()',_0xc90f('0xa3'))[_0xc90f('0x7f')]('id',_0xc90f('0xa4'))['field'](_0x4f8791[_0xc90f('0xa7')]['toString'](),_0xc90f('0xa5'))[_0xc90f('0x7f')](_0x5a27b9[_0xc90f('0x4d')]['id'][_0xc90f('0x87')](),'VoiceQueueId')['field']('NOW()',_0xc90f('0x58'))[_0xc90f('0x7f')](_0xc90f('0xa6'),'updatedAt')[_0xc90f('0x81')](_0xc90f('0xa8'))[_0xc90f('0x44')](_0xc90f('0xa9'))['where']('ListId\x20=\x20?',_0x4f8791[_0xc90f('0xa7')][_0xc90f('0x87')]())[_0xc90f('0x44')](_0xc90f('0xaa')))[_0xc90f('0x87')]();}_0x8b7e2e[_0xc90f('0x86')](db[_0xc90f('0x72')][_0xc90f('0x3a')](_0x21668f));}return BPromise[_0xc90f('0x8a')](_0x8b7e2e);}})['then'](function(){return _0x1cb63b;})[_0xc90f('0x24')](respondWithResult(_0x3ceb71,null))[_0xc90f('0x4b')](handleError(_0x3ceb71,null));};exports[_0xc90f('0xb0')]=function(_0x101932,_0x21e67a,_0x56d2a0){return db[_0xc90f('0x36')][_0xc90f('0x2f')]({'where':{'id':_0x101932[_0xc90f('0x4d')]['id']}})['then'](handleEntityNotFound(_0x21e67a,null))['then'](function(_0x43b2cf){if(_0x43b2cf){return _0x43b2cf['removeLists'](_0x101932[_0xc90f('0x3a')][_0xc90f('0x7c')]);}})[_0xc90f('0x24')](function(_0x3bd766){if(_0x3bd766){return db[_0xc90f('0x5f')][_0xc90f('0x25')]({'where':{'ListId':_0x101932['query'][_0xc90f('0x7c')],'VoiceQueueId':_0x101932[_0xc90f('0x4d')]['id']}})[_0xc90f('0x24')](function(){return _0x3bd766;});}})[_0xc90f('0x24')](respondWithStatusCode(_0x21e67a,null))[_0xc90f('0x4b')](handleError(_0x21e67a,null));};exports['getBlackLists']=function(_0x26df4d,_0x46c08b,_0x1b118a){var _0x56da7a={};var _0x28ce58={};var _0x364955;var _0x257937;return db['VoiceQueue'][_0xc90f('0x5e')]({'where':{'id':_0x26df4d['params']['id']}})[_0xc90f('0x24')](handleEntityNotFound(_0x46c08b,null))['then'](function(_0x5e6073){if(_0x5e6073){_0x364955=_0x5e6073;_0x28ce58[_0xc90f('0x39')]=_[_0xc90f('0x3b')](db[_0xc90f('0x9a')][_0xc90f('0x37')]);_0x28ce58['query']=_['keys'](_0x26df4d[_0xc90f('0x3a')]);_0x28ce58[_0xc90f('0x3c')]=_[_0xc90f('0x3d')](_0x28ce58['model'],_0x28ce58[_0xc90f('0x3a')]);_0x56da7a[_0xc90f('0x3e')]=_[_0xc90f('0x3d')](_0x28ce58[_0xc90f('0x39')],qs[_0xc90f('0x3f')](_0x26df4d[_0xc90f('0x3a')]['fields']));_0x56da7a['attributes']=_0x56da7a['attributes']['length']?_0x56da7a[_0xc90f('0x3e')]:_0x28ce58[_0xc90f('0x39')];_0x56da7a[_0xc90f('0x60')]=qs[_0xc90f('0x43')](_0x26df4d[_0xc90f('0x3a')][_0xc90f('0x43')]);_0x56da7a[_0xc90f('0x44')]=qs['filters'](_[_0xc90f('0x45')](_0x26df4d['query'],_0x28ce58[_0xc90f('0x3c')]));if(_0x26df4d['query'][_0xc90f('0x29')]){_0x56da7a['where']=_[_0xc90f('0x46')](_0x56da7a['where'],{'$or':_[_0xc90f('0x2b')](_0x56da7a[_0xc90f('0x3e')],function(_0x26a376){var _0x1b6f49={};_0x1b6f49[_0x26a376]={'$like':'%'+_0x26df4d[_0xc90f('0x3a')][_0xc90f('0x29')]+'%'};return _0x1b6f49;})});}_0x56da7a=_[_0xc90f('0x46')]({},_0x56da7a,_0x26df4d[_0xc90f('0x48')]);return _0x364955[_0xc90f('0xb1')](_0x56da7a);}})[_0xc90f('0x24')](function(_0x2e130b){if(_0x2e130b){_0x257937=_0x2e130b[_0xc90f('0x40')];if(!_0x26df4d[_0xc90f('0x3a')][_0xc90f('0x41')](_0xc90f('0x42'))){_0x56da7a[_0xc90f('0x1e')]=qs['limit'](_0x26df4d['query'][_0xc90f('0x1e')]);_0x56da7a[_0xc90f('0x1d')]=qs[_0xc90f('0x1d')](_0x26df4d['query'][_0xc90f('0x1d')]);}return _0x364955[_0xc90f('0xb1')](_0x56da7a);}})[_0xc90f('0x24')](function(_0x2658f5){if(_0x2658f5){return _0x2658f5?{'count':_0x257937,'rows':_0x2658f5}:null;}})[_0xc90f('0x24')](respondWithResult(_0x46c08b,null))['catch'](handleError(_0x46c08b,null));};exports[_0xc90f('0xb2')]=function(_0x401bda,_0x54ec2b,_0x26bbfa){var _0x352874,_0x302896;return db[_0xc90f('0x36')]['find']({'where':{'id':_0x401bda[_0xc90f('0x4d')]['id']}})[_0xc90f('0x24')](handleEntityNotFound(_0x54ec2b,null))[_0xc90f('0x24')](function(_0x89c393){if(_0x89c393){_0x302896=_0x89c393;return _0x89c393[_0xc90f('0xb2')](_0x401bda['body'][_0xc90f('0x7c')],_[_0xc90f('0x8f')](_0x401bda[_0xc90f('0x50')],[_0xc90f('0x7c'),'id'])||{});}return null;})[_0xc90f('0x90')](function(_0x8853ac){var _0xa79d79;_0x352874=_0x8853ac||[];var _0x41180f=[];if(_0x8853ac){for(var _0x126d1d=0x0;_0x126d1d<_0x8853ac['length'];_0x126d1d+=0x1){var _0xa9db1e=_0x8853ac[_0x126d1d]['get']({'plain':!![]});_0xa79d79=squel[_0xc90f('0x9f')]()[_0xc90f('0xb3')]('cm_hopper_black')[_0xc90f('0xa1')]([_0xc90f('0xa2'),_0xc90f('0xa4'),_0xc90f('0xa5'),'VoiceQueueId',_0xc90f('0x58'),_0xc90f('0x59')],squel['select']()[_0xc90f('0x7f')]('phone',_0xc90f('0xa2'))[_0xc90f('0x7f')]('id','ContactId')['field'](_0xa9db1e['CmListId']['toString'](),_0xc90f('0xa5'))[_0xc90f('0x7f')](_0x401bda[_0xc90f('0x4d')]['id'][_0xc90f('0x87')](),_0xc90f('0x61'))[_0xc90f('0x7f')](_0xc90f('0xa6'),_0xc90f('0x58'))[_0xc90f('0x7f')]('NOW()',_0xc90f('0x59'))[_0xc90f('0x81')](_0xc90f('0xa8'))[_0xc90f('0x44')](_0xc90f('0xa9'))[_0xc90f('0x44')](_0xc90f('0xaf'),_0xa9db1e[_0xc90f('0xa7')][_0xc90f('0x87')]())[_0xc90f('0x44')](_0xc90f('0xaa')))['toString']();_0x41180f[_0xc90f('0x86')](db[_0xc90f('0x72')][_0xc90f('0x3a')](_0xa79d79));}return BPromise['all'](_0x41180f);}})['then'](function(){return _0x352874;})[_0xc90f('0x24')](respondWithResult(_0x54ec2b,null))[_0xc90f('0x4b')](handleError(_0x54ec2b,null));};exports[_0xc90f('0xb4')]=function(_0x8f29ba,_0xd6deb3,_0x423d46){return db['VoiceQueue']['find']({'where':{'id':_0x8f29ba[_0xc90f('0x4d')]['id']}})[_0xc90f('0x24')](handleEntityNotFound(_0xd6deb3,null))[_0xc90f('0x24')](function(_0x17e799){if(_0x17e799){return _0x17e799[_0xc90f('0xb4')](_0x8f29ba[_0xc90f('0x3a')][_0xc90f('0x7c')]);}})[_0xc90f('0x24')](function(_0x22ba86){if(_0x22ba86){return db['CmHopperBlack'][_0xc90f('0x25')]({'where':{'ListId':_0x8f29ba['query'][_0xc90f('0x7c')],'VoiceQueueId':_0x8f29ba[_0xc90f('0x4d')]['id']}})[_0xc90f('0x24')](function(){return _0x22ba86;});}})[_0xc90f('0x24')](respondWithStatusCode(_0xd6deb3,null))['catch'](handleError(_0xd6deb3,null));}; \ No newline at end of file +var _0x5330=['push','sequelize','QueryTypes','every','all','compact','transaction','userVoiceQueue:remove','addAgents','spread','isEmpty','removeAgents','getAgents','getMembers','getLists','addLists','dialCheckDuplicateType','cm_hopper','fromQuery','phone','scheduledAt','ListId','ContactId','CmListId','toString','NOW()','cm_contacts','deletedAt\x20IS\x20NULL','ListId\x20=\x20?','phone\x20IS\x20NOT\x20NULL','phone\x20NOT\x20IN\x20(?)','COALESCE(calleridnum,\x27\x27)','cm_hopper_final','COALESCE(phone,\x27\x27)','onlyIfOpen','insert','into','removeLists','getBlackLists','CmList','addBlackLists','cm_hopper_black','removeBlackLists','html-pdf','rimraf','zip-dir','fast-json-patch','request-promise','moment','mustache','util','to-csv','ejs','lodash','squel','crypto','jsforce','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','api','../../config/utils','../../config/environment','../../mysqldb','redis','defaults','localhost','./voiceQueue.socket','register','sendStatus','end','status','json','count','offset','limit','set','Content-Range','reject','save','update','then','destroy','get','VoiceQueues','inbound','QueueCampaigns','outbound','filter','map','value','includes','find','type','UserProfileResource','error','stack','name','send','index','VoiceQueue','key','query','keys','intersection','model','attributes','fields','length','hasOwnProperty','nolimit','order','sort','where','pick','filters','merge','VIRTUAL','options','includeAll','findAll','rows','catch','show','params','rawAttributes','create','body','user','UserProfileSection','autoAssociation','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','clone','omit','createdAt','updatedAt','Unable\x20to\x20retrieve\x20the\x20current\x20user','role','userProfileId','getHoppers','CmHopper','getHopperHistories','findOne','CmHopperHistory','include','getHopperFinals','CmHopperFinal','VoiceQueueId','getHopperBlacks','CmHopperBlack','Team','getTeams','addTeams','teams','User','Agents','online','voicePause','interface','flatMap','forEach','penalty','each','findOrCreate','UserVoiceQueueRt','upsert','isNil','SIP/%s','emit','userVoiceQueue:save','ids','select','field','tq.TeamId','from','team_has_voice_queues','join','user_has_teams','ut.TeamId\x20=\x20tq.TeamId','VoiceQueueId\x20=\x20?','ut.UserId\x20=\x20?'];(function(_0x1b5080,_0x3e7cc9){var _0x195c87=function(_0x1ef917){while(--_0x1ef917){_0x1b5080['push'](_0x1b5080['shift']());}};_0x195c87(++_0x3e7cc9);}(_0x5330,0xe4));var _0x0533=function(_0x5ccf0f,_0x3d9d76){_0x5ccf0f=_0x5ccf0f-0x0;var _0x2d3aac=_0x5330[_0x5ccf0f];return _0x2d3aac;};'use strict';var pdf=require(_0x0533('0x0'));var emlformat=require('eml-format');var rimraf=require(_0x0533('0x1'));var zipdir=require(_0x0533('0x2'));var jsonpatch=require(_0x0533('0x3'));var rp=require(_0x0533('0x4'));var moment=require(_0x0533('0x5'));var BPromise=require('bluebird');var Mustache=require(_0x0533('0x6'));var util=require(_0x0533('0x7'));var path=require('path');var sox=require('sox');var csv=require(_0x0533('0x8'));var ejs=require(_0x0533('0x9'));var fs=require('fs');var _=require(_0x0533('0xa'));var squel=require(_0x0533('0xb'));var crypto=require(_0x0533('0xc'));var jsforce=require(_0x0533('0xd'));var deskjs=require(_0x0533('0xe'));var toCsv=require(_0x0533('0x8'));var querystring=require(_0x0533('0xf'));var Papa=require(_0x0533('0x10'));var Redis=require(_0x0533('0x11'));var authService=require(_0x0533('0x12'));var qs=require(_0x0533('0x13'));var as=require(_0x0533('0x14'));var hardwareService=require('../../config/license/hardware');var logger=require('../../config/logger')(_0x0533('0x15'));var utils=require(_0x0533('0x16'));var config=require(_0x0533('0x17'));var db=require(_0x0533('0x18'))['db'];config[_0x0533('0x19')]=_[_0x0533('0x1a')](config[_0x0533('0x19')],{'host':_0x0533('0x1b'),'port':0x18eb});var socket=require('socket.io-emitter')(new Redis(config[_0x0533('0x19')]));require(_0x0533('0x1c'))[_0x0533('0x1d')](socket);function respondWithStatusCode(_0x274e8b,_0x2feaa8){_0x2feaa8=_0x2feaa8||0xcc;return function(_0x42cfe4){if(_0x42cfe4){return _0x274e8b[_0x0533('0x1e')](_0x2feaa8);}return _0x274e8b['status'](_0x2feaa8)[_0x0533('0x1f')]();};}function respondWithResult(_0x35aa91,_0x34486){_0x34486=_0x34486||0xc8;return function(_0x111c11){if(_0x111c11){return _0x35aa91[_0x0533('0x20')](_0x34486)[_0x0533('0x21')](_0x111c11);}};}function respondWithFilteredResult(_0x3ab1c7,_0x5329a1){return function(_0x11c210){if(_0x11c210){var _0x488c1c=_0x11c210[_0x0533('0x22')],_0x53b2e5=_0x5329a1[_0x0533('0x23')],_0x459c88=_0x5329a1[_0x0533('0x23')]+_0x5329a1[_0x0533('0x24')],_0x3fd3bc;if(_0x459c88>=_0x488c1c){_0x459c88=_0x488c1c;_0x3fd3bc=0xc8;}else{_0x3fd3bc=0xce;}_0x3ab1c7['status'](_0x3fd3bc);return _0x3ab1c7[_0x0533('0x25')](_0x0533('0x26'),_0x53b2e5+'-'+_0x459c88+'/'+_0x488c1c)[_0x0533('0x21')](_0x11c210);}return null;};}function patchUpdates(_0x2070b1){return function(_0x467544){try{jsonpatch['apply'](_0x467544,_0x2070b1,!![]);}catch(_0xbc858d){return BPromise[_0x0533('0x27')](_0xbc858d);}return _0x467544[_0x0533('0x28')]();};}function saveUpdates(_0x4243d3,_0x1f1d91){return function(_0x5f07cb){if(_0x5f07cb){return _0x5f07cb[_0x0533('0x29')](_0x4243d3)[_0x0533('0x2a')](function(_0x1c23a4){return _0x1c23a4;});}return null;};}function removeEntity(_0x41231e,_0x11ee35){return function(_0x413992){if(_0x413992){return _0x413992[_0x0533('0x2b')]()['then'](function(){var _0x2da5e8=_0x413992[_0x0533('0x2c')]({'plain':!![]});var _0xf85ed9=[{'name':_0x0533('0x2d'),'value':_0x0533('0x2e'),'ignore':![]},{'name':_0x0533('0x2f'),'value':_0x0533('0x30'),'ignore':![]}];var _0x2c4697=_(_0xf85ed9)[_0x0533('0x31')]('ignore')[_0x0533('0x32')](_0x0533('0x33'))[_0x0533('0x33')]();if(_[_0x0533('0x34')](_0x2c4697,_0x2da5e8['type'])){return;}var _0x20dc4f=_[_0x0533('0x35')](_0xf85ed9,['value',_0x2da5e8[_0x0533('0x36')]])['name'];return db[_0x0533('0x37')][_0x0533('0x2b')]({'where':{'type':_0x20dc4f,'resourceId':_0x2da5e8['id']}})[_0x0533('0x2a')](function(){return _0x413992;});})[_0x0533('0x2a')](function(){_0x41231e[_0x0533('0x20')](0xcc)['end']();});}};}function handleEntityNotFound(_0x332329,_0x30998e){return function(_0x263025){if(!_0x263025){_0x332329[_0x0533('0x1e')](0x194);}return _0x263025;};}function handleError(_0x594cd4,_0x542607){_0x542607=_0x542607||0x1f4;return function(_0x579e38){logger[_0x0533('0x38')](_0x579e38[_0x0533('0x39')]);if(_0x579e38[_0x0533('0x3a')]){delete _0x579e38[_0x0533('0x3a')];}_0x594cd4['status'](_0x542607)[_0x0533('0x3b')](_0x579e38);};}exports[_0x0533('0x3c')]=function(_0x1d31af,_0x291149){var _0x57c8a7={},_0x4ec415={},_0x5c404e={'count':0x0,'rows':[]};var _0x33d4ed=_[_0x0533('0x32')](db[_0x0533('0x3d')]['rawAttributes'],function(_0x3f5997){return{'name':_0x3f5997['fieldName'],'type':_0x3f5997[_0x0533('0x36')][_0x0533('0x3e')]};});_0x4ec415['model']=_[_0x0533('0x32')](_0x33d4ed,_0x0533('0x3a'));_0x4ec415[_0x0533('0x3f')]=_[_0x0533('0x40')](_0x1d31af[_0x0533('0x3f')]);_0x4ec415['filters']=_[_0x0533('0x41')](_0x4ec415[_0x0533('0x42')],_0x4ec415[_0x0533('0x3f')]);_0x57c8a7[_0x0533('0x43')]=_[_0x0533('0x41')](_0x4ec415[_0x0533('0x42')],qs[_0x0533('0x44')](_0x1d31af['query'][_0x0533('0x44')]));_0x57c8a7['attributes']=_0x57c8a7[_0x0533('0x43')][_0x0533('0x45')]?_0x57c8a7[_0x0533('0x43')]:_0x4ec415[_0x0533('0x42')];if(!_0x1d31af['query'][_0x0533('0x46')](_0x0533('0x47'))){_0x57c8a7[_0x0533('0x24')]=qs[_0x0533('0x24')](_0x1d31af[_0x0533('0x3f')][_0x0533('0x24')]);_0x57c8a7[_0x0533('0x23')]=qs[_0x0533('0x23')](_0x1d31af['query']['offset']);}_0x57c8a7[_0x0533('0x48')]=qs[_0x0533('0x49')](_0x1d31af[_0x0533('0x3f')]['sort']);_0x57c8a7[_0x0533('0x4a')]=qs['filters'](_[_0x0533('0x4b')](_0x1d31af['query'],_0x4ec415[_0x0533('0x4c')]),_0x33d4ed);if(_0x1d31af[_0x0533('0x3f')][_0x0533('0x31')]){_0x57c8a7[_0x0533('0x4a')]=_[_0x0533('0x4d')](_0x57c8a7['where'],{'$or':_[_0x0533('0x32')](_0x33d4ed,function(_0x53714a){if(_0x53714a[_0x0533('0x36')]!==_0x0533('0x4e')){var _0x366bb2={};_0x366bb2[_0x53714a['name']]={'$like':'%'+_0x1d31af[_0x0533('0x3f')]['filter']+'%'};return _0x366bb2;}})});}_0x57c8a7=_['merge']({},_0x57c8a7,_0x1d31af[_0x0533('0x4f')]);var _0x4b8ccc={'where':_0x57c8a7[_0x0533('0x4a')]};return db['VoiceQueue'][_0x0533('0x22')](_0x4b8ccc)[_0x0533('0x2a')](function(_0x3bfbd8){_0x5c404e[_0x0533('0x22')]=_0x3bfbd8;if(_0x1d31af[_0x0533('0x3f')][_0x0533('0x50')]){_0x57c8a7['include']=[{'all':!![]}];}return db[_0x0533('0x3d')][_0x0533('0x51')](_0x57c8a7);})[_0x0533('0x2a')](function(_0x224e02){_0x5c404e[_0x0533('0x52')]=_0x224e02;return _0x5c404e;})[_0x0533('0x2a')](respondWithFilteredResult(_0x291149,_0x57c8a7))[_0x0533('0x53')](handleError(_0x291149,null));};exports[_0x0533('0x54')]=function(_0x59265e,_0x48bd34){var _0x146694={'raw':![],'where':{'id':_0x59265e[_0x0533('0x55')]['id']}},_0xb7c955={};_0xb7c955['model']=_[_0x0533('0x40')](db[_0x0533('0x3d')][_0x0533('0x56')]);_0xb7c955[_0x0533('0x3f')]=_[_0x0533('0x40')](_0x59265e[_0x0533('0x3f')]);_0xb7c955[_0x0533('0x4c')]=_[_0x0533('0x41')](_0xb7c955[_0x0533('0x42')],_0xb7c955[_0x0533('0x3f')]);_0x146694[_0x0533('0x43')]=_[_0x0533('0x41')](_0xb7c955[_0x0533('0x42')],qs[_0x0533('0x44')](_0x59265e['query'][_0x0533('0x44')]));_0x146694[_0x0533('0x43')]=_0x146694[_0x0533('0x43')]['length']?_0x146694['attributes']:_0xb7c955[_0x0533('0x42')];if(_0x59265e[_0x0533('0x3f')][_0x0533('0x50')]){_0x146694['include']=[{'all':!![]}];}_0x146694=_[_0x0533('0x4d')]({},_0x146694,_0x59265e[_0x0533('0x4f')]);return db[_0x0533('0x3d')][_0x0533('0x35')](_0x146694)[_0x0533('0x2a')](handleEntityNotFound(_0x48bd34,null))[_0x0533('0x2a')](respondWithResult(_0x48bd34,null))[_0x0533('0x53')](handleError(_0x48bd34,null));};exports['create']=function(_0x36ef7f,_0x56180c){return db[_0x0533('0x3d')][_0x0533('0x57')](_0x36ef7f[_0x0533('0x58')],{})['then'](function(_0x542e93){var _0x38a6b6=_0x36ef7f[_0x0533('0x59')]['get']({'plain':!![]});if(!_0x38a6b6)throw new Error('Unable\x20to\x20retrieve\x20the\x20current\x20user');if(_0x38a6b6['role']===_0x0533('0x59')){var _0x1201a1=_0x542e93[_0x0533('0x2c')]({'plain':!![]});var _0x19934b=[{'name':'VoiceQueues','value':_0x0533('0x2e')},{'name':_0x0533('0x2f'),'value':'outbound'}];var _0x9c5a3a=_['find'](_0x19934b,[_0x0533('0x33'),_0x1201a1['type']])[_0x0533('0x3a')];return db[_0x0533('0x5a')]['find']({'where':{'name':_0x9c5a3a,'userProfileId':_0x38a6b6['userProfileId']},'raw':!![]})[_0x0533('0x2a')](function(_0x1d2df7){if(_0x1d2df7&&_0x1d2df7[_0x0533('0x5b')]===0x0){return db['UserProfileResource'][_0x0533('0x57')]({'name':_0x1201a1[_0x0533('0x3a')],'resourceId':_0x1201a1['id'],'type':_0x1d2df7[_0x0533('0x3a')],'sectionId':_0x1d2df7['id']},{})[_0x0533('0x2a')](function(){return _0x542e93;});}else{return _0x542e93;}})[_0x0533('0x53')](function(_0x5bc66d){logger[_0x0533('0x38')](_0x0533('0x5c'),_0x5bc66d);throw _0x5bc66d;});}return _0x542e93;})[_0x0533('0x2a')](respondWithResult(_0x56180c,0xc9))['catch'](handleError(_0x56180c,null));};exports[_0x0533('0x5d')]=function(_0x269edd,_0x2a8b3d){var _0x5190d7={'where':{'id':_0x269edd['params']['id']}},_0x51b55e={};_0x51b55e['model']=_['keys'](db[_0x0533('0x3d')][_0x0533('0x56')]);_0x5190d7['attributes']=_[_0x0533('0x41')](_0x51b55e[_0x0533('0x42')],qs[_0x0533('0x44')](_0x269edd[_0x0533('0x3f')][_0x0533('0x44')]));_0x5190d7[_0x0533('0x43')]=_0x5190d7[_0x0533('0x43')][_0x0533('0x45')]?_0x5190d7[_0x0533('0x43')]:_0x51b55e[_0x0533('0x42')];if(_0x269edd[_0x0533('0x3f')][_0x0533('0x50')]){_0x5190d7['include']=[{'all':!![]}];}_0x5190d7=_[_0x0533('0x4d')]({},_0x5190d7,_0x269edd[_0x0533('0x4f')]);return db['VoiceQueue']['find'](_0x5190d7)[_0x0533('0x2a')](handleEntityNotFound(_0x2a8b3d,null))[_0x0533('0x2a')](function(_0x350631){if(_0x350631){var _0x2095d9=_0x350631[_0x0533('0x2c')]({'plain':!![]});_0x2095d9=qs[_0x0533('0x5e')](_0x2095d9,['id',_0x0533('0x5f'),_0x0533('0x60')]);_0x269edd['body']=_[_0x0533('0x5e')](_0x269edd[_0x0533('0x58')],['id',_0x0533('0x5f'),_0x0533('0x60')]);return db['VoiceQueue'][_0x0533('0x57')](_[_0x0533('0x4d')](_0x2095d9,_0x269edd[_0x0533('0x58')]),{'include':_0x269edd[_0x0533('0x3f')][_0x0533('0x50')]?[{'all':!![]}]:undefined})[_0x0533('0x2a')](function(_0x3f99af){var _0xf4466f=_0x269edd['user']['get']({'plain':!![]});if(!_0xf4466f)throw new Error(_0x0533('0x61'));if(_0xf4466f[_0x0533('0x62')]===_0x0533('0x59')){var _0x1498d7=_0x3f99af[_0x0533('0x2c')]({'plain':!![]});var _0xe37e02=[{'name':_0x0533('0x2d'),'value':'inbound'},{'name':_0x0533('0x2f'),'value':_0x0533('0x30')}];var _0x4bb79f=_[_0x0533('0x35')](_0xe37e02,[_0x0533('0x33'),_0x1498d7[_0x0533('0x36')]])[_0x0533('0x3a')];return db[_0x0533('0x5a')][_0x0533('0x35')]({'where':{'name':_0x4bb79f,'userProfileId':_0xf4466f[_0x0533('0x63')]},'raw':!![]})[_0x0533('0x2a')](function(_0xa7512b){if(_0xa7512b&&_0xa7512b[_0x0533('0x5b')]===0x0){return db[_0x0533('0x37')][_0x0533('0x57')]({'name':_0x1498d7[_0x0533('0x3a')],'resourceId':_0x1498d7['id'],'type':_0xa7512b[_0x0533('0x3a')],'sectionId':_0xa7512b['id']},{})[_0x0533('0x2a')](function(){return _0x3f99af;});}else{return _0x3f99af;}})[_0x0533('0x53')](function(_0xdfc64b){logger[_0x0533('0x38')](_0x0533('0x5c'),_0xdfc64b);throw _0xdfc64b;});}return _0x3f99af;});}})[_0x0533('0x2a')](respondWithResult(_0x2a8b3d,0xc9))[_0x0533('0x53')](handleError(_0x2a8b3d,null));};exports[_0x0533('0x29')]=function(_0x2d0628,_0x754c9){if(_0x2d0628[_0x0533('0x58')]['id']){delete _0x2d0628[_0x0533('0x58')]['id'];}return db[_0x0533('0x3d')][_0x0533('0x35')]({'where':{'id':_0x2d0628[_0x0533('0x55')]['id']}})['then'](handleEntityNotFound(_0x754c9,null))[_0x0533('0x2a')](saveUpdates(_0x2d0628[_0x0533('0x58')],null))[_0x0533('0x2a')](respondWithResult(_0x754c9,null))['catch'](handleError(_0x754c9,null));};exports['destroy']=function(_0x5a7e61,_0x303a94){return db[_0x0533('0x3d')][_0x0533('0x35')]({'where':{'id':_0x5a7e61[_0x0533('0x55')]['id']}})[_0x0533('0x2a')](handleEntityNotFound(_0x303a94,null))[_0x0533('0x2a')](removeEntity(_0x303a94,null))[_0x0533('0x53')](handleError(_0x303a94,null));};exports[_0x0533('0x64')]=function(_0x3f0aa4,_0x2160b2,_0x2254d9){var _0x57f167={'raw':![],'where':{}};var _0x4fd66d={};var _0x41479a={'count':0x0,'rows':[]};return db[_0x0533('0x3d')]['findOne']({'where':{'id':_0x3f0aa4['params']['id']}})[_0x0533('0x2a')](handleEntityNotFound(_0x2160b2,null))[_0x0533('0x2a')](function(_0x27502f){if(_0x27502f){_0x4fd66d[_0x0533('0x42')]=_[_0x0533('0x40')](db[_0x0533('0x65')][_0x0533('0x56')]);_0x4fd66d[_0x0533('0x3f')]=_[_0x0533('0x40')](_0x3f0aa4[_0x0533('0x3f')]);_0x4fd66d['filters']=_[_0x0533('0x41')](_0x4fd66d[_0x0533('0x42')],_0x4fd66d['query']);_0x57f167['attributes']=_[_0x0533('0x41')](_0x4fd66d[_0x0533('0x42')],qs['fields'](_0x3f0aa4[_0x0533('0x3f')][_0x0533('0x44')]));_0x57f167[_0x0533('0x43')]=_0x57f167[_0x0533('0x43')]['length']?_0x57f167[_0x0533('0x43')]:_0x4fd66d['model'];if(!_0x3f0aa4[_0x0533('0x3f')][_0x0533('0x46')]('nolimit')){_0x57f167[_0x0533('0x24')]=qs[_0x0533('0x24')](_0x3f0aa4[_0x0533('0x3f')][_0x0533('0x24')]);_0x57f167['offset']=qs[_0x0533('0x23')](_0x3f0aa4[_0x0533('0x3f')][_0x0533('0x23')]);}_0x57f167[_0x0533('0x48')]=qs['sort'](_0x3f0aa4['query'][_0x0533('0x49')]);_0x57f167['where']=qs[_0x0533('0x4c')](_[_0x0533('0x4b')](_0x3f0aa4[_0x0533('0x3f')],_0x4fd66d[_0x0533('0x4c')]));_0x57f167['where']['VoiceQueueId']=_0x27502f['id'];if(_0x3f0aa4[_0x0533('0x3f')][_0x0533('0x31')]){_0x57f167[_0x0533('0x4a')]=_[_0x0533('0x4d')](_0x57f167['where'],{'$or':_[_0x0533('0x32')](_0x57f167['attributes'],function(_0x8a530){var _0x3a63c7={};_0x3a63c7[_0x8a530]={'$like':'%'+_0x3f0aa4['query'][_0x0533('0x31')]+'%'};return _0x3a63c7;})});}_0x57f167=_[_0x0533('0x4d')]({},_0x57f167,_0x3f0aa4[_0x0533('0x4f')]);return db[_0x0533('0x65')][_0x0533('0x22')]({'where':_0x57f167['where']})[_0x0533('0x2a')](function(_0x8f29e3){_0x41479a[_0x0533('0x22')]=_0x8f29e3;if(_0x3f0aa4[_0x0533('0x3f')]['includeAll']){_0x57f167['include']=[{'all':!![]}];}return db['CmHopper'][_0x0533('0x51')](_0x57f167);})[_0x0533('0x2a')](function(_0x3676cb){_0x41479a[_0x0533('0x52')]=_0x3676cb;return _0x41479a;});}})[_0x0533('0x2a')](respondWithFilteredResult(_0x2160b2,_0x57f167))[_0x0533('0x53')](handleError(_0x2160b2,null));};exports[_0x0533('0x66')]=function(_0x4c64c0,_0x41e6aa,_0xb0516){var _0x1b85cf={'raw':!![],'where':{}};var _0x4185d4={};var _0x475838={'count':0x0,'rows':[]};return db[_0x0533('0x3d')][_0x0533('0x67')]({'where':{'id':_0x4c64c0['params']['id']}})[_0x0533('0x2a')](handleEntityNotFound(_0x41e6aa,null))[_0x0533('0x2a')](function(_0x5bdbf4){if(_0x5bdbf4){_0x4185d4[_0x0533('0x42')]=_[_0x0533('0x40')](db[_0x0533('0x68')][_0x0533('0x56')]);_0x4185d4[_0x0533('0x3f')]=_[_0x0533('0x40')](_0x4c64c0[_0x0533('0x3f')]);_0x4185d4[_0x0533('0x4c')]=_[_0x0533('0x41')](_0x4185d4[_0x0533('0x42')],_0x4185d4[_0x0533('0x3f')]);_0x1b85cf[_0x0533('0x43')]=_[_0x0533('0x41')](_0x4185d4['model'],qs['fields'](_0x4c64c0[_0x0533('0x3f')][_0x0533('0x44')]));_0x1b85cf['attributes']=_0x1b85cf[_0x0533('0x43')][_0x0533('0x45')]?_0x1b85cf['attributes']:_0x4185d4[_0x0533('0x42')];if(!_0x4c64c0[_0x0533('0x3f')]['hasOwnProperty'](_0x0533('0x47'))){_0x1b85cf[_0x0533('0x24')]=qs[_0x0533('0x24')](_0x4c64c0[_0x0533('0x3f')][_0x0533('0x24')]);_0x1b85cf[_0x0533('0x23')]=qs['offset'](_0x4c64c0['query'][_0x0533('0x23')]);}_0x1b85cf[_0x0533('0x48')]=qs['sort'](_0x4c64c0[_0x0533('0x3f')]['sort']);_0x1b85cf['where']=qs[_0x0533('0x4c')](_[_0x0533('0x4b')](_0x4c64c0['query'],_0x4185d4[_0x0533('0x4c')]));_0x1b85cf[_0x0533('0x4a')]['VoiceQueueId']=_0x5bdbf4['id'];if(_0x4c64c0['query']['filter']){_0x1b85cf['where']=_[_0x0533('0x4d')](_0x1b85cf[_0x0533('0x4a')],{'$or':_[_0x0533('0x32')](_0x1b85cf[_0x0533('0x43')],function(_0x49e056){var _0x1c4112={};_0x1c4112[_0x49e056]={'$like':'%'+_0x4c64c0[_0x0533('0x3f')][_0x0533('0x31')]+'%'};return _0x1c4112;})});}_0x1b85cf=_[_0x0533('0x4d')]({},_0x1b85cf,_0x4c64c0[_0x0533('0x4f')]);return db[_0x0533('0x68')][_0x0533('0x22')]({'where':_0x1b85cf[_0x0533('0x4a')]})[_0x0533('0x2a')](function(_0x3ea804){_0x475838[_0x0533('0x22')]=_0x3ea804;if(_0x4c64c0[_0x0533('0x3f')][_0x0533('0x50')]){_0x1b85cf[_0x0533('0x69')]=[{'all':!![]}];}return db[_0x0533('0x68')][_0x0533('0x51')](_0x1b85cf);})['then'](function(_0x56ad7d){_0x475838[_0x0533('0x52')]=_0x56ad7d;return _0x475838;});}})['then'](respondWithFilteredResult(_0x41e6aa,_0x1b85cf))[_0x0533('0x53')](handleError(_0x41e6aa,null));};exports[_0x0533('0x6a')]=function(_0x484ba1,_0x2f09d7,_0x1de8f0){var _0x1a89b7={'raw':!![],'where':{}};var _0x4f64a5={};var _0x4dcf2b={'count':0x0,'rows':[]};return db['VoiceQueue'][_0x0533('0x67')]({'where':{'id':_0x484ba1[_0x0533('0x55')]['id']}})[_0x0533('0x2a')](handleEntityNotFound(_0x2f09d7,null))[_0x0533('0x2a')](function(_0x281474){if(_0x281474){_0x4f64a5[_0x0533('0x42')]=_[_0x0533('0x40')](db[_0x0533('0x6b')][_0x0533('0x56')]);_0x4f64a5[_0x0533('0x3f')]=_[_0x0533('0x40')](_0x484ba1[_0x0533('0x3f')]);_0x4f64a5[_0x0533('0x4c')]=_[_0x0533('0x41')](_0x4f64a5['model'],_0x4f64a5['query']);_0x1a89b7['attributes']=_[_0x0533('0x41')](_0x4f64a5[_0x0533('0x42')],qs[_0x0533('0x44')](_0x484ba1[_0x0533('0x3f')][_0x0533('0x44')]));_0x1a89b7['attributes']=_0x1a89b7[_0x0533('0x43')][_0x0533('0x45')]?_0x1a89b7[_0x0533('0x43')]:_0x4f64a5[_0x0533('0x42')];if(!_0x484ba1[_0x0533('0x3f')]['hasOwnProperty']('nolimit')){_0x1a89b7[_0x0533('0x24')]=qs[_0x0533('0x24')](_0x484ba1[_0x0533('0x3f')][_0x0533('0x24')]);_0x1a89b7[_0x0533('0x23')]=qs[_0x0533('0x23')](_0x484ba1['query'][_0x0533('0x23')]);}_0x1a89b7[_0x0533('0x48')]=qs['sort'](_0x484ba1['query'][_0x0533('0x49')]);_0x1a89b7[_0x0533('0x4a')]=qs[_0x0533('0x4c')](_[_0x0533('0x4b')](_0x484ba1[_0x0533('0x3f')],_0x4f64a5[_0x0533('0x4c')]));_0x1a89b7[_0x0533('0x4a')][_0x0533('0x6c')]=_0x281474['id'];if(_0x484ba1[_0x0533('0x3f')][_0x0533('0x31')]){_0x1a89b7[_0x0533('0x4a')]=_[_0x0533('0x4d')](_0x1a89b7[_0x0533('0x4a')],{'$or':_[_0x0533('0x32')](_0x1a89b7[_0x0533('0x43')],function(_0x219139){var _0x26dbb1={};_0x26dbb1[_0x219139]={'$like':'%'+_0x484ba1['query'][_0x0533('0x31')]+'%'};return _0x26dbb1;})});}_0x1a89b7=_[_0x0533('0x4d')]({},_0x1a89b7,_0x484ba1['options']);return db[_0x0533('0x6b')][_0x0533('0x22')]({'where':_0x1a89b7['where']})['then'](function(_0x2dc439){_0x4dcf2b[_0x0533('0x22')]=_0x2dc439;if(_0x484ba1[_0x0533('0x3f')][_0x0533('0x50')]){_0x1a89b7[_0x0533('0x69')]=[{'all':!![]}];}return db[_0x0533('0x6b')][_0x0533('0x51')](_0x1a89b7);})[_0x0533('0x2a')](function(_0x4b285d){_0x4dcf2b[_0x0533('0x52')]=_0x4b285d;return _0x4dcf2b;});}})['then'](respondWithFilteredResult(_0x2f09d7,_0x1a89b7))['catch'](handleError(_0x2f09d7,null));};exports[_0x0533('0x6d')]=function(_0x289659,_0x10dcc7,_0x4ba27d){var _0x48fe6e={'raw':!![],'where':{}};var _0x43ecd8={};var _0x1161aa={'count':0x0,'rows':[]};return db[_0x0533('0x3d')]['findOne']({'where':{'id':_0x289659[_0x0533('0x55')]['id']}})[_0x0533('0x2a')](handleEntityNotFound(_0x10dcc7,null))[_0x0533('0x2a')](function(_0x495abf){if(_0x495abf){_0x43ecd8[_0x0533('0x42')]=_[_0x0533('0x40')](db['CmHopperBlack'][_0x0533('0x56')]);_0x43ecd8['query']=_[_0x0533('0x40')](_0x289659[_0x0533('0x3f')]);_0x43ecd8[_0x0533('0x4c')]=_[_0x0533('0x41')](_0x43ecd8[_0x0533('0x42')],_0x43ecd8[_0x0533('0x3f')]);_0x48fe6e['attributes']=_[_0x0533('0x41')](_0x43ecd8[_0x0533('0x42')],qs['fields'](_0x289659[_0x0533('0x3f')][_0x0533('0x44')]));_0x48fe6e[_0x0533('0x43')]=_0x48fe6e[_0x0533('0x43')][_0x0533('0x45')]?_0x48fe6e[_0x0533('0x43')]:_0x43ecd8[_0x0533('0x42')];if(!_0x289659[_0x0533('0x3f')][_0x0533('0x46')](_0x0533('0x47'))){_0x48fe6e[_0x0533('0x24')]=qs[_0x0533('0x24')](_0x289659['query']['limit']);_0x48fe6e[_0x0533('0x23')]=qs[_0x0533('0x23')](_0x289659[_0x0533('0x3f')][_0x0533('0x23')]);}_0x48fe6e[_0x0533('0x48')]=qs[_0x0533('0x49')](_0x289659[_0x0533('0x3f')][_0x0533('0x49')]);_0x48fe6e[_0x0533('0x4a')]=qs['filters'](_[_0x0533('0x4b')](_0x289659[_0x0533('0x3f')],_0x43ecd8[_0x0533('0x4c')]));_0x48fe6e[_0x0533('0x4a')][_0x0533('0x6c')]=_0x495abf['id'];if(_0x289659[_0x0533('0x3f')][_0x0533('0x31')]){_0x48fe6e[_0x0533('0x4a')]=_['merge'](_0x48fe6e[_0x0533('0x4a')],{'$or':_[_0x0533('0x32')](_0x48fe6e[_0x0533('0x43')],function(_0x1818dc){var _0x1a74d1={};_0x1a74d1[_0x1818dc]={'$like':'%'+_0x289659['query'][_0x0533('0x31')]+'%'};return _0x1a74d1;})});}_0x48fe6e=_['merge']({},_0x48fe6e,_0x289659[_0x0533('0x4f')]);return db[_0x0533('0x6e')][_0x0533('0x22')]({'where':_0x48fe6e['where']})['then'](function(_0x75fa2a){_0x1161aa['count']=_0x75fa2a;if(_0x289659[_0x0533('0x3f')][_0x0533('0x50')]){_0x48fe6e['include']=[{'all':!![]}];}return db['CmHopperBlack'][_0x0533('0x51')](_0x48fe6e);})[_0x0533('0x2a')](function(_0x43b230){_0x1161aa[_0x0533('0x52')]=_0x43b230;return _0x1161aa;});}})[_0x0533('0x2a')](respondWithFilteredResult(_0x10dcc7,_0x48fe6e))['catch'](handleError(_0x10dcc7,null));};exports['getTeams']=function(_0x32a0b9,_0x1b64d1,_0x2057a4){var _0x306d0b={};var _0x18fc2b={};var _0x22ea6a;var _0x186f33;return db[_0x0533('0x3d')]['findOne']({'where':{'id':_0x32a0b9[_0x0533('0x55')]['id']}})[_0x0533('0x2a')](handleEntityNotFound(_0x1b64d1,null))[_0x0533('0x2a')](function(_0x5d1794){if(_0x5d1794){_0x22ea6a=_0x5d1794;_0x18fc2b[_0x0533('0x42')]=_['keys'](db[_0x0533('0x6f')][_0x0533('0x56')]);_0x18fc2b[_0x0533('0x3f')]=_[_0x0533('0x40')](_0x32a0b9[_0x0533('0x3f')]);_0x18fc2b[_0x0533('0x4c')]=_[_0x0533('0x41')](_0x18fc2b[_0x0533('0x42')],_0x18fc2b[_0x0533('0x3f')]);_0x306d0b[_0x0533('0x43')]=_[_0x0533('0x41')](_0x18fc2b[_0x0533('0x42')],qs[_0x0533('0x44')](_0x32a0b9[_0x0533('0x3f')][_0x0533('0x44')]));_0x306d0b[_0x0533('0x43')]=_0x306d0b[_0x0533('0x43')][_0x0533('0x45')]?_0x306d0b[_0x0533('0x43')]:_0x18fc2b[_0x0533('0x42')];_0x306d0b[_0x0533('0x48')]=qs[_0x0533('0x49')](_0x32a0b9[_0x0533('0x3f')][_0x0533('0x49')]);_0x306d0b['where']=qs['filters'](_[_0x0533('0x4b')](_0x32a0b9[_0x0533('0x3f')],_0x18fc2b['filters']));if(_0x32a0b9[_0x0533('0x3f')][_0x0533('0x31')]){_0x306d0b[_0x0533('0x4a')]=_['merge'](_0x306d0b['where'],{'$or':_[_0x0533('0x32')](_0x306d0b[_0x0533('0x43')],function(_0x27300a){var _0x120696={};_0x120696[_0x27300a]={'$like':'%'+_0x32a0b9['query'][_0x0533('0x31')]+'%'};return _0x120696;})});}_0x306d0b=_['merge']({},_0x306d0b,_0x32a0b9[_0x0533('0x4f')]);return _0x22ea6a[_0x0533('0x70')](_0x306d0b);}})['then'](function(_0x56685b){if(_0x56685b){_0x186f33=_0x56685b['length'];if(!_0x32a0b9[_0x0533('0x3f')][_0x0533('0x46')](_0x0533('0x47'))){_0x306d0b[_0x0533('0x24')]=qs[_0x0533('0x24')](_0x32a0b9[_0x0533('0x3f')][_0x0533('0x24')]);_0x306d0b[_0x0533('0x23')]=qs[_0x0533('0x23')](_0x32a0b9[_0x0533('0x3f')][_0x0533('0x23')]);}return _0x22ea6a[_0x0533('0x70')](_0x306d0b);}})[_0x0533('0x2a')](function(_0x58987b){if(_0x58987b){return _0x58987b?{'count':_0x186f33,'rows':_0x58987b}:null;}})[_0x0533('0x2a')](respondWithResult(_0x1b64d1,null))[_0x0533('0x53')](handleError(_0x1b64d1,null));};exports[_0x0533('0x71')]=function(_0x4df845,_0x2d0988,_0x40a457){var _0x255c4f=_0x4df845['body'][_0x0533('0x72')];var _0x167408=_[_0x0533('0x32')](_0x255c4f,'id');return db['Team'][_0x0533('0x51')]({'where':{'id':_0x167408},'attributes':['id'],'include':[{'model':db[_0x0533('0x73')],'as':_0x0533('0x74'),'attributes':['id',_0x0533('0x3a'),_0x0533('0x75'),_0x0533('0x76'),_0x0533('0x77')],'raw':!![]}]})['then'](function(_0x5670a9){if(_0x5670a9){var _0x41fc17=_[_0x0533('0x78')](_0x5670a9,function(_0x5a1afb){var _0x4159d3=_0x5a1afb[_0x0533('0x2c')]({'plain':!![]});_0x4159d3[_0x0533('0x74')][_0x0533('0x79')](function(_0x52c88c){_0x52c88c[_0x0533('0x7a')]=_[_0x0533('0x35')](_0x255c4f,{'id':_0x4159d3['id']})[_0x0533('0x7a')];});return _0x4159d3[_0x0533('0x74')];});return db[_0x0533('0x3d')][_0x0533('0x35')]({'where':{'id':_0x4df845['params']['id']}})[_0x0533('0x2a')](function(_0x1c0ba3){return db['sequelize']['transaction'](function(_0x1eba65){return _0x1c0ba3[_0x0533('0x71')](_0x167408,{'transaction':_0x1eba65})[_0x0533('0x2a')](function(){return BPromise[_0x0533('0x7b')](_0x41fc17,function(_0x52e581){return db['UserVoiceQueue'][_0x0533('0x7c')]({'where':{'UserId':_0x52e581['id'],'VoiceQueueId':_0x4df845['params']['id']},'defaults':{'penalty':_0x52e581[_0x0533('0x7a')]},'transaction':_0x1eba65});});})[_0x0533('0x2a')](function(){return BPromise[_0x0533('0x7b')](_['filter'](_0x41fc17,{'online':!![]}),function(_0x2dd3a9){return db[_0x0533('0x7d')][_0x0533('0x7e')]({'membername':_0x2dd3a9[_0x0533('0x3a')],'UserId':_0x2dd3a9['id'],'queue_name':_0x1c0ba3[_0x0533('0x3a')],'VoiceQueueId':_0x1c0ba3['id'],'interface':_[_0x0533('0x7f')](_0x2dd3a9[_0x0533('0x77')])?util['format'](_0x0533('0x80'),_0x2dd3a9['name']):_0x2dd3a9['interface'],'paused':_0x2dd3a9[_0x0533('0x76')]||![],'penalty':_0x2dd3a9[_0x0533('0x7a')]},{'transaction':_0x1eba65});});})['then'](function(){_0x41fc17['forEach'](function(_0x1774fe){socket[_0x0533('0x81')](_0x0533('0x82'),{'UserId':_0x1774fe['id'],'VoiceQueueId':_0x1c0ba3['id']});});});});});}})[_0x0533('0x2a')](respondWithStatusCode(_0x2d0988,null))[_0x0533('0x53')](handleError(_0x2d0988,null));};exports['removeTeams']=function(_0x211fc1,_0x532a08,_0x41d63e){return db[_0x0533('0x6f')]['findAll']({'where':{'id':_0x211fc1[_0x0533('0x3f')][_0x0533('0x83')]},'attributes':['id'],'include':[{'model':db[_0x0533('0x73')],'as':'Agents','attributes':['id'],'raw':!![]}]})['then'](handleEntityNotFound(_0x532a08,null))[_0x0533('0x2a')](function(_0x3dbca5){var _0xb80385=_[_0x0533('0x32')](_0x3dbca5,'id');var _0x2b39fa=[];var _0x48c2dc=[];var _0x222610=squel[_0x0533('0x84')]();_0x222610[_0x0533('0x85')](_0x0533('0x86'))[_0x0533('0x87')](_0x0533('0x88'),'tq')[_0x0533('0x89')](_0x0533('0x8a'),'ut',_0x0533('0x8b'))[_0x0533('0x4a')](_0x0533('0x8c'),_0x211fc1['params']['id']);for(var _0x5cb5fe=0x0;_0x5cb5fe<_0x3dbca5[_0x0533('0x45')];_0x5cb5fe+=0x1){let _0x1b182f=_0x3dbca5[_0x5cb5fe];for(var _0x2978f5=0x0;_0x2978f5<_0x1b182f[_0x0533('0x74')][_0x0533('0x45')];_0x2978f5+=0x1){let _0x4226fe=_0x1b182f[_0x0533('0x74')][_0x2978f5];var _0x52523c=_0x222610[_0x0533('0x5d')]();_0x52523c[_0x0533('0x4a')](_0x0533('0x8d'),_0x4226fe['id']);_0x48c2dc[_0x0533('0x8e')](db[_0x0533('0x8f')][_0x0533('0x3f')](_0x52523c['toString'](),{'type':db[_0x0533('0x8f')][_0x0533('0x90')]['SELECT']})[_0x0533('0x2a')](function(_0x1e4a4b){if(_0x1e4a4b[_0x0533('0x45')]===0x1){return _0x4226fe['id'];}else{var _0x397f3e=_[_0x0533('0x91')](_[_0x0533('0x32')](_0x1e4a4b,'TeamId'),function(_0x5879ce){return _[_0x0533('0x34')](_0xb80385,_0x5879ce);});if(_0x397f3e){return _0x4226fe['id'];}}}));}}return BPromise[_0x0533('0x92')](_0x48c2dc)[_0x0533('0x2a')](function(_0x5cb300){_0x2b39fa=_(_0x2b39fa)['union'](_0x5cb300)[_0x0533('0x93')]()[_0x0533('0x33')]();return db[_0x0533('0x3d')][_0x0533('0x35')]({'where':{'id':_0x211fc1['params']['id']}})[_0x0533('0x2a')](function(_0x560cd0){return db[_0x0533('0x8f')][_0x0533('0x94')](function(_0x192e6f){return _0x560cd0['removeTeams'](_0x211fc1[_0x0533('0x3f')]['ids'],{'transaction':_0x192e6f})[_0x0533('0x2a')](function(){if(!_['isEmpty'](_0x2b39fa)){return _0x560cd0['removeAgents'](_0x2b39fa,{'transaction':_0x192e6f})[_0x0533('0x2a')](function(){return db[_0x0533('0x7d')][_0x0533('0x2b')]({'where':{'VoiceQueueId':_0x211fc1[_0x0533('0x55')]['id'],'UserId':_0x2b39fa},'transaction':_0x192e6f});});}})[_0x0533('0x2a')](function(){_0x2b39fa[_0x0533('0x79')](function(_0x3c1c39){socket[_0x0533('0x81')](_0x0533('0x95'),{'UserId':_0x3c1c39,'VoiceQueueId':_0x560cd0['id']});});});});});});})[_0x0533('0x2a')](respondWithStatusCode(_0x532a08,null))[_0x0533('0x53')](handleError(_0x532a08,null));};exports[_0x0533('0x96')]=function(_0x564837,_0x18772c,_0x50dd33){var _0x3f6491,_0x20a694;return db['VoiceQueue'][_0x0533('0x35')]({'where':{'id':_0x564837['params']['id']}})[_0x0533('0x2a')](handleEntityNotFound(_0x18772c,null))[_0x0533('0x2a')](function(_0x41257f){if(_0x41257f){_0x20a694=_0x41257f;return _0x41257f[_0x0533('0x96')](_0x564837[_0x0533('0x58')][_0x0533('0x83')],_['omit'](_0x564837[_0x0533('0x58')],[_0x0533('0x83'),'id'])||{})[_0x0533('0x97')](function(_0x56392c){for(var _0x5a23a3=0x0;_0x5a23a3<_0x564837[_0x0533('0x58')][_0x0533('0x83')][_0x0533('0x45')];_0x5a23a3+=0x1){socket[_0x0533('0x81')]('userVoiceQueue:save',{'UserId':_0x564837[_0x0533('0x58')]['ids'][_0x5a23a3],'VoiceQueueId':_0x564837[_0x0533('0x55')]['id']});}return _0x56392c;});}})[_0x0533('0x2a')](function(_0x378202){_0x3f6491=_0x378202||[];if(_0x20a694){return db[_0x0533('0x73')][_0x0533('0x51')]({'where':{'id':_0x564837[_0x0533('0x58')][_0x0533('0x83')]},'attributes':['id','name',_0x0533('0x75'),_0x0533('0x76'),'interface'],'raw':!![]});}})[_0x0533('0x2a')](function(_0x72eb01){if(!_[_0x0533('0x98')](_0x72eb01)){var _0x4987e4=[];for(var _0x9a2c2f=0x0;_0x9a2c2f<_0x72eb01[_0x0533('0x45')];_0x9a2c2f++){if(_0x72eb01[_0x9a2c2f]['online']){_0x4987e4[_0x0533('0x8e')](db['UserVoiceQueueRt'][_0x0533('0x7e')]({'membername':_0x72eb01[_0x9a2c2f][_0x0533('0x3a')],'UserId':_0x72eb01[_0x9a2c2f]['id'],'queue_name':_0x20a694['name'],'VoiceQueueId':_0x20a694['id'],'interface':_[_0x0533('0x7f')](_0x72eb01[_0x9a2c2f][_0x0533('0x77')])?util['format'](_0x0533('0x80'),_0x72eb01[_0x9a2c2f]['name']):_0x72eb01[_0x9a2c2f][_0x0533('0x77')],'paused':_0x72eb01[_0x9a2c2f][_0x0533('0x76')]||![],'penalty':_0x564837[_0x0533('0x58')]['penalty']||0x0}));}}return BPromise['all'](_0x4987e4);}})[_0x0533('0x2a')](function(){return _0x3f6491;})['then'](respondWithResult(_0x18772c,null))[_0x0533('0x53')](handleError(_0x18772c,null));};exports[_0x0533('0x99')]=function(_0x23de0d,_0x38fdef,_0x3443f9){return db[_0x0533('0x3d')][_0x0533('0x35')]({'where':{'id':_0x23de0d[_0x0533('0x55')]['id']}})[_0x0533('0x2a')](handleEntityNotFound(_0x38fdef,null))[_0x0533('0x2a')](function(_0x3d5e5d){if(_0x3d5e5d){return _0x3d5e5d['removeAgents'](_0x23de0d['query'][_0x0533('0x83')])['then'](function(){if(_['isArray'](_0x23de0d['query'][_0x0533('0x83')])){for(var _0x48b9b8=0x0;_0x48b9b8<_0x23de0d[_0x0533('0x3f')][_0x0533('0x83')]['length'];_0x48b9b8+=0x1){socket['emit'](_0x0533('0x95'),{'UserId':Number(_0x23de0d[_0x0533('0x3f')][_0x0533('0x83')][_0x48b9b8]),'VoiceQueueId':Number(_0x23de0d['params']['id'])});}}else{socket[_0x0533('0x81')](_0x0533('0x95'),{'UserId':Number(_0x23de0d[_0x0533('0x3f')][_0x0533('0x83')]),'VoiceQueueId':Number(_0x23de0d['params']['id'])});}});}})['then'](function(_0x70969f){return db[_0x0533('0x7d')][_0x0533('0x2b')]({'where':{'VoiceQueueId':_0x23de0d[_0x0533('0x55')]['id'],'UserId':_0x23de0d[_0x0533('0x3f')]['ids']}})[_0x0533('0x2a')](function(){return _0x70969f;});})[_0x0533('0x2a')](respondWithStatusCode(_0x38fdef,null))[_0x0533('0x53')](handleError(_0x38fdef,null));};exports[_0x0533('0x9a')]=function(_0x504399,_0x5084ab,_0x54a6e3){var _0x159ba2={};var _0xd0ea9b={};var _0x46fdc0;var _0x3f6c22;return db['VoiceQueue']['findOne']({'where':{'id':_0x504399[_0x0533('0x55')]['id']}})[_0x0533('0x2a')](handleEntityNotFound(_0x5084ab,null))[_0x0533('0x2a')](function(_0x2c3d55){if(_0x2c3d55){_0x46fdc0=_0x2c3d55;_0xd0ea9b[_0x0533('0x42')]=_[_0x0533('0x40')](db['User'][_0x0533('0x56')]);_0xd0ea9b['query']=_['keys'](_0x504399['query']);_0xd0ea9b[_0x0533('0x4c')]=_[_0x0533('0x41')](_0xd0ea9b[_0x0533('0x42')],_0xd0ea9b['query']);_0x159ba2[_0x0533('0x43')]=_['intersection'](_0xd0ea9b['model'],qs['fields'](_0x504399['query']['fields']));_0x159ba2[_0x0533('0x43')]=_0x159ba2[_0x0533('0x43')][_0x0533('0x45')]?_0x159ba2[_0x0533('0x43')]:_0xd0ea9b[_0x0533('0x42')];_0x159ba2[_0x0533('0x48')]=qs['sort'](_0x504399[_0x0533('0x3f')][_0x0533('0x49')]);_0x159ba2['where']=qs[_0x0533('0x4c')](_['pick'](_0x504399['query'],_0xd0ea9b['filters']));if(_0x504399[_0x0533('0x3f')][_0x0533('0x31')]){_0x159ba2[_0x0533('0x4a')]=_[_0x0533('0x4d')](_0x159ba2['where'],{'$or':_[_0x0533('0x32')](_0x159ba2['attributes'],function(_0x5f30d6){var _0xe37131={};_0xe37131[_0x5f30d6]={'$like':'%'+_0x504399[_0x0533('0x3f')][_0x0533('0x31')]+'%'};return _0xe37131;})});}_0x159ba2=_[_0x0533('0x4d')]({},_0x159ba2,_0x504399[_0x0533('0x4f')]);return _0x46fdc0['getAgents'](_0x159ba2);}})[_0x0533('0x2a')](function(_0x4f9fc4){if(_0x4f9fc4){_0x3f6c22=_0x4f9fc4[_0x0533('0x45')];if(!_0x504399[_0x0533('0x3f')]['hasOwnProperty'](_0x0533('0x47'))){_0x159ba2[_0x0533('0x24')]=qs['limit'](_0x504399[_0x0533('0x3f')]['limit']);_0x159ba2[_0x0533('0x23')]=qs[_0x0533('0x23')](_0x504399[_0x0533('0x3f')]['offset']);}return _0x46fdc0[_0x0533('0x9a')](_0x159ba2);}})[_0x0533('0x2a')](function(_0x2b7450){if(_0x2b7450){return _0x2b7450?{'count':_0x3f6c22,'rows':_0x2b7450}:null;}})[_0x0533('0x2a')](respondWithResult(_0x5084ab,null))['catch'](handleError(_0x5084ab,null));};exports[_0x0533('0x9b')]=function(_0x302a85,_0x4ff51d,_0x1a449e){var _0x54dc60={};var _0x4ebdd6={};var _0x4cda35;var _0x45ec4c;return db[_0x0533('0x3d')][_0x0533('0x67')]({'where':{'id':_0x302a85['params']['id']}})[_0x0533('0x2a')](handleEntityNotFound(_0x4ff51d,null))['then'](function(_0x38a5cb){if(_0x38a5cb){_0x4cda35=_0x38a5cb;_0x4ebdd6['model']=_[_0x0533('0x40')](db['UserVoiceQueueRt'][_0x0533('0x56')]);_0x4ebdd6[_0x0533('0x3f')]=_[_0x0533('0x40')](_0x302a85['query']);_0x4ebdd6['filters']=_[_0x0533('0x41')](_0x4ebdd6[_0x0533('0x42')],_0x4ebdd6[_0x0533('0x3f')]);_0x54dc60[_0x0533('0x43')]=_['intersection'](_0x4ebdd6['model'],qs[_0x0533('0x44')](_0x302a85[_0x0533('0x3f')][_0x0533('0x44')]));_0x54dc60[_0x0533('0x43')]=_0x54dc60['attributes'][_0x0533('0x45')]?_0x54dc60[_0x0533('0x43')]:_0x4ebdd6['model'];_0x54dc60[_0x0533('0x48')]=qs[_0x0533('0x49')](_0x302a85[_0x0533('0x3f')][_0x0533('0x49')]);_0x54dc60['where']=qs[_0x0533('0x4c')](_[_0x0533('0x4b')](_0x302a85['query'],_0x4ebdd6['filters']));if(_0x302a85[_0x0533('0x3f')][_0x0533('0x31')]){_0x54dc60[_0x0533('0x4a')]=_[_0x0533('0x4d')](_0x54dc60[_0x0533('0x4a')],{'$or':_['map'](_0x54dc60[_0x0533('0x43')],function(_0xc2c11f){var _0x3d083f={};_0x3d083f[_0xc2c11f]={'$like':'%'+_0x302a85[_0x0533('0x3f')][_0x0533('0x31')]+'%'};return _0x3d083f;})});}_0x54dc60=_[_0x0533('0x4d')]({},_0x54dc60,_0x302a85[_0x0533('0x4f')]);return _0x4cda35['getMembers'](_0x54dc60);}})[_0x0533('0x2a')](function(_0x2cbbc9){if(_0x2cbbc9){_0x45ec4c=_0x2cbbc9[_0x0533('0x45')];if(!_0x302a85['query'][_0x0533('0x46')](_0x0533('0x47'))){_0x54dc60[_0x0533('0x24')]=qs[_0x0533('0x24')](_0x302a85[_0x0533('0x3f')][_0x0533('0x24')]);_0x54dc60['offset']=qs[_0x0533('0x23')](_0x302a85[_0x0533('0x3f')][_0x0533('0x23')]);}return _0x4cda35[_0x0533('0x9b')](_0x54dc60);}})[_0x0533('0x2a')](function(_0x266ede){return _0x266ede?{'count':_0x45ec4c,'rows':_0x266ede}:null;})[_0x0533('0x2a')](respondWithResult(_0x4ff51d,null))[_0x0533('0x53')](handleError(_0x4ff51d,null));};exports[_0x0533('0x9c')]=function(_0x1edb98,_0x183aba,_0x16b15f){var _0xc3d64a={};var _0x7903d3={};var _0x393a89;var _0x472391;return db[_0x0533('0x3d')][_0x0533('0x67')]({'where':{'id':_0x1edb98['params']['id']}})[_0x0533('0x2a')](handleEntityNotFound(_0x183aba,null))[_0x0533('0x2a')](function(_0x11c741){if(_0x11c741){_0x393a89=_0x11c741;_0x7903d3[_0x0533('0x42')]=_[_0x0533('0x40')](db['CmList'][_0x0533('0x56')]);_0x7903d3[_0x0533('0x3f')]=_[_0x0533('0x40')](_0x1edb98['query']);_0x7903d3[_0x0533('0x4c')]=_[_0x0533('0x41')](_0x7903d3[_0x0533('0x42')],_0x7903d3[_0x0533('0x3f')]);_0xc3d64a['attributes']=_[_0x0533('0x41')](_0x7903d3['model'],qs['fields'](_0x1edb98[_0x0533('0x3f')][_0x0533('0x44')]));_0xc3d64a[_0x0533('0x43')]=_0xc3d64a[_0x0533('0x43')][_0x0533('0x45')]?_0xc3d64a[_0x0533('0x43')]:_0x7903d3[_0x0533('0x42')];_0xc3d64a[_0x0533('0x48')]=qs[_0x0533('0x49')](_0x1edb98['query'][_0x0533('0x49')]);_0xc3d64a[_0x0533('0x4a')]=qs[_0x0533('0x4c')](_[_0x0533('0x4b')](_0x1edb98[_0x0533('0x3f')],_0x7903d3['filters']));if(_0x1edb98[_0x0533('0x3f')][_0x0533('0x31')]){_0xc3d64a[_0x0533('0x4a')]=_['merge'](_0xc3d64a[_0x0533('0x4a')],{'$or':_[_0x0533('0x32')](_0xc3d64a[_0x0533('0x43')],function(_0xbbb712){var _0x3331b4={};_0x3331b4[_0xbbb712]={'$like':'%'+_0x1edb98['query'][_0x0533('0x31')]+'%'};return _0x3331b4;})});}_0xc3d64a=_[_0x0533('0x4d')]({},_0xc3d64a,_0x1edb98['options']);return _0x393a89['getLists'](_0xc3d64a);}})['then'](function(_0x5c7bcb){if(_0x5c7bcb){_0x472391=_0x5c7bcb[_0x0533('0x45')];if(!_0x1edb98[_0x0533('0x3f')]['hasOwnProperty'](_0x0533('0x47'))){_0xc3d64a[_0x0533('0x24')]=qs['limit'](_0x1edb98['query'][_0x0533('0x24')]);_0xc3d64a['offset']=qs['offset'](_0x1edb98['query'][_0x0533('0x23')]);}return _0x393a89[_0x0533('0x9c')](_0xc3d64a);}})['then'](function(_0x2aea51){if(_0x2aea51){return _0x2aea51?{'count':_0x472391,'rows':_0x2aea51}:null;}})['then'](respondWithResult(_0x183aba,null))[_0x0533('0x53')](handleError(_0x183aba,null));};exports[_0x0533('0x9d')]=function(_0x30e470,_0x40411e,_0x586be7){var _0x12510c,_0x56d7aa;return db[_0x0533('0x3d')][_0x0533('0x35')]({'where':{'id':_0x30e470[_0x0533('0x55')]['id']}})[_0x0533('0x2a')](handleEntityNotFound(_0x40411e,null))['then'](function(_0x1bb340){if(_0x1bb340){_0x56d7aa=_0x1bb340;return _0x1bb340[_0x0533('0x9d')](_0x30e470['body'][_0x0533('0x83')],_['omit'](_0x30e470[_0x0533('0x58')],['ids','id'])||{});}return null;})['spread'](function(_0x5f1b27){var _0x575a36;_0x12510c=_0x5f1b27||[];var _0x1545ca=[];if(_0x5f1b27){for(var _0x17a2b4=0x0;_0x17a2b4<_0x5f1b27[_0x0533('0x45')];_0x17a2b4+=0x1){var _0x217490=_0x5f1b27[_0x17a2b4][_0x0533('0x2c')]({'plain':!![]});_0x56d7aa[_0x0533('0x9e')]=_0x30e470[_0x0533('0x58')][_0x0533('0x9e')]?_0x30e470[_0x0533('0x58')][_0x0533('0x9e')]:_0x56d7aa[_0x0533('0x9e')];switch(_0x56d7aa[_0x0533('0x9e')]){case'always':_0x575a36=squel['insert']()['into'](_0x0533('0x9f'))[_0x0533('0xa0')]([_0x0533('0xa1'),_0x0533('0xa2'),'ContactId',_0x0533('0xa3'),_0x0533('0x6c'),_0x0533('0x5f'),'updatedAt'],squel[_0x0533('0x84')]()[_0x0533('0x85')](_0x0533('0xa1'),_0x0533('0xa1'))[_0x0533('0x85')]('NOW()',_0x0533('0xa2'))[_0x0533('0x85')]('id',_0x0533('0xa4'))[_0x0533('0x85')](_0x217490[_0x0533('0xa5')][_0x0533('0xa6')](),_0x0533('0xa3'))['field'](_0x30e470['params']['id'][_0x0533('0xa6')](),'VoiceQueueId')['field']('NOW()','createdAt')[_0x0533('0x85')](_0x0533('0xa7'),_0x0533('0x60'))['from'](_0x0533('0xa8'))[_0x0533('0x4a')](_0x0533('0xa9'))[_0x0533('0x4a')](_0x0533('0xaa'),_0x217490[_0x0533('0xa5')]['toString']())[_0x0533('0x4a')](_0x0533('0xab'))[_0x0533('0x4a')](_0x0533('0xac'),squel[_0x0533('0x84')]()[_0x0533('0x85')](_0x0533('0xad'))[_0x0533('0x87')](_0x0533('0xae'))[_0x0533('0x4a')]('VoiceQueueId\x20=\x20?',_0x30e470[_0x0533('0x55')]['id'][_0x0533('0xa6')]()))['where'](_0x0533('0xac'),squel['select']()[_0x0533('0x85')](_0x0533('0xaf'))[_0x0533('0x87')](_0x0533('0x9f'))[_0x0533('0x4a')](_0x0533('0x8c'),_0x30e470[_0x0533('0x55')]['id'][_0x0533('0xa6')]())))[_0x0533('0xa6')]();break;case _0x0533('0xb0'):_0x575a36=squel[_0x0533('0xb1')]()[_0x0533('0xb2')](_0x0533('0x9f'))[_0x0533('0xa0')]([_0x0533('0xa1'),_0x0533('0xa2'),_0x0533('0xa4'),'ListId',_0x0533('0x6c'),_0x0533('0x5f'),_0x0533('0x60')],squel[_0x0533('0x84')]()['field'](_0x0533('0xa1'),_0x0533('0xa1'))[_0x0533('0x85')](_0x0533('0xa7'),_0x0533('0xa2'))[_0x0533('0x85')]('id',_0x0533('0xa4'))[_0x0533('0x85')](_0x217490[_0x0533('0xa5')][_0x0533('0xa6')](),_0x0533('0xa3'))[_0x0533('0x85')](_0x30e470[_0x0533('0x55')]['id'][_0x0533('0xa6')](),_0x0533('0x6c'))['field'](_0x0533('0xa7'),_0x0533('0x5f'))[_0x0533('0x85')](_0x0533('0xa7'),_0x0533('0x60'))['from']('cm_contacts')['where']('deletedAt\x20IS\x20NULL')[_0x0533('0x4a')]('ListId\x20=\x20?',_0x217490[_0x0533('0xa5')]['toString']())[_0x0533('0x4a')](_0x0533('0xab'))[_0x0533('0x4a')](_0x0533('0xac'),squel[_0x0533('0x84')]()[_0x0533('0x85')](_0x0533('0xaf'))['from'](_0x0533('0x9f'))[_0x0533('0x4a')](_0x0533('0x8c'),_0x30e470[_0x0533('0x55')]['id'][_0x0533('0xa6')]())))[_0x0533('0xa6')]();break;default:_0x575a36=squel[_0x0533('0xb1')]()[_0x0533('0xb2')](_0x0533('0x9f'))[_0x0533('0xa0')](['phone','scheduledAt','ContactId',_0x0533('0xa3'),_0x0533('0x6c'),_0x0533('0x5f'),_0x0533('0x60')],squel[_0x0533('0x84')]()[_0x0533('0x85')](_0x0533('0xa1'),_0x0533('0xa1'))[_0x0533('0x85')](_0x0533('0xa7'),_0x0533('0xa2'))[_0x0533('0x85')]('id',_0x0533('0xa4'))['field'](_0x217490[_0x0533('0xa5')][_0x0533('0xa6')](),_0x0533('0xa3'))['field'](_0x30e470['params']['id'][_0x0533('0xa6')](),_0x0533('0x6c'))['field'](_0x0533('0xa7'),'createdAt')[_0x0533('0x85')](_0x0533('0xa7'),_0x0533('0x60'))['from'](_0x0533('0xa8'))[_0x0533('0x4a')]('deletedAt\x20IS\x20NULL')[_0x0533('0x4a')]('ListId\x20=\x20?',_0x217490[_0x0533('0xa5')]['toString']())[_0x0533('0x4a')]('phone\x20IS\x20NOT\x20NULL'))[_0x0533('0xa6')]();}_0x1545ca[_0x0533('0x8e')](db[_0x0533('0x8f')]['query'](_0x575a36));}return BPromise['all'](_0x1545ca);}})[_0x0533('0x2a')](function(){return _0x12510c;})[_0x0533('0x2a')](respondWithResult(_0x40411e,null))['catch'](handleError(_0x40411e,null));};exports[_0x0533('0xb3')]=function(_0x5805cd,_0x6dab38,_0x8f1032){return db[_0x0533('0x3d')][_0x0533('0x35')]({'where':{'id':_0x5805cd[_0x0533('0x55')]['id']}})[_0x0533('0x2a')](handleEntityNotFound(_0x6dab38,null))[_0x0533('0x2a')](function(_0x36ee11){if(_0x36ee11){return _0x36ee11['removeLists'](_0x5805cd[_0x0533('0x3f')][_0x0533('0x83')]);}})[_0x0533('0x2a')](function(_0x3d60db){if(_0x3d60db){return db[_0x0533('0x65')][_0x0533('0x2b')]({'where':{'ListId':_0x5805cd['query']['ids'],'VoiceQueueId':_0x5805cd[_0x0533('0x55')]['id']}})[_0x0533('0x2a')](function(){return _0x3d60db;});}})['then'](respondWithStatusCode(_0x6dab38,null))[_0x0533('0x53')](handleError(_0x6dab38,null));};exports[_0x0533('0xb4')]=function(_0x5f2866,_0x25c9b8,_0x20ff5e){var _0x46ad13={};var _0x5bfee4={};var _0x2b2be9;var _0x476802;return db[_0x0533('0x3d')][_0x0533('0x67')]({'where':{'id':_0x5f2866['params']['id']}})['then'](handleEntityNotFound(_0x25c9b8,null))[_0x0533('0x2a')](function(_0x124c19){if(_0x124c19){_0x2b2be9=_0x124c19;_0x5bfee4['model']=_[_0x0533('0x40')](db[_0x0533('0xb5')]['rawAttributes']);_0x5bfee4['query']=_['keys'](_0x5f2866[_0x0533('0x3f')]);_0x5bfee4[_0x0533('0x4c')]=_[_0x0533('0x41')](_0x5bfee4[_0x0533('0x42')],_0x5bfee4[_0x0533('0x3f')]);_0x46ad13[_0x0533('0x43')]=_[_0x0533('0x41')](_0x5bfee4[_0x0533('0x42')],qs[_0x0533('0x44')](_0x5f2866[_0x0533('0x3f')][_0x0533('0x44')]));_0x46ad13[_0x0533('0x43')]=_0x46ad13[_0x0533('0x43')][_0x0533('0x45')]?_0x46ad13['attributes']:_0x5bfee4[_0x0533('0x42')];_0x46ad13[_0x0533('0x48')]=qs['sort'](_0x5f2866['query'][_0x0533('0x49')]);_0x46ad13[_0x0533('0x4a')]=qs['filters'](_[_0x0533('0x4b')](_0x5f2866[_0x0533('0x3f')],_0x5bfee4[_0x0533('0x4c')]));if(_0x5f2866['query'][_0x0533('0x31')]){_0x46ad13['where']=_[_0x0533('0x4d')](_0x46ad13[_0x0533('0x4a')],{'$or':_[_0x0533('0x32')](_0x46ad13[_0x0533('0x43')],function(_0x419588){var _0x43f3ec={};_0x43f3ec[_0x419588]={'$like':'%'+_0x5f2866[_0x0533('0x3f')][_0x0533('0x31')]+'%'};return _0x43f3ec;})});}_0x46ad13=_['merge']({},_0x46ad13,_0x5f2866[_0x0533('0x4f')]);return _0x2b2be9[_0x0533('0xb4')](_0x46ad13);}})[_0x0533('0x2a')](function(_0x4d443d){if(_0x4d443d){_0x476802=_0x4d443d[_0x0533('0x45')];if(!_0x5f2866[_0x0533('0x3f')]['hasOwnProperty'](_0x0533('0x47'))){_0x46ad13[_0x0533('0x24')]=qs[_0x0533('0x24')](_0x5f2866[_0x0533('0x3f')][_0x0533('0x24')]);_0x46ad13[_0x0533('0x23')]=qs[_0x0533('0x23')](_0x5f2866[_0x0533('0x3f')][_0x0533('0x23')]);}return _0x2b2be9['getBlackLists'](_0x46ad13);}})[_0x0533('0x2a')](function(_0xe5d342){if(_0xe5d342){return _0xe5d342?{'count':_0x476802,'rows':_0xe5d342}:null;}})[_0x0533('0x2a')](respondWithResult(_0x25c9b8,null))[_0x0533('0x53')](handleError(_0x25c9b8,null));};exports[_0x0533('0xb6')]=function(_0x27faee,_0x2ee929,_0x450277){var _0xf6c782,_0x71d972;return db[_0x0533('0x3d')][_0x0533('0x35')]({'where':{'id':_0x27faee[_0x0533('0x55')]['id']}})['then'](handleEntityNotFound(_0x2ee929,null))[_0x0533('0x2a')](function(_0x53c4e9){if(_0x53c4e9){_0x71d972=_0x53c4e9;return _0x53c4e9[_0x0533('0xb6')](_0x27faee['body']['ids'],_['omit'](_0x27faee[_0x0533('0x58')],[_0x0533('0x83'),'id'])||{});}return null;})[_0x0533('0x97')](function(_0x98280d){var _0x202d2c;_0xf6c782=_0x98280d||[];var _0x37384c=[];if(_0x98280d){for(var _0x3389c2=0x0;_0x3389c2<_0x98280d[_0x0533('0x45')];_0x3389c2+=0x1){var _0x13f52c=_0x98280d[_0x3389c2][_0x0533('0x2c')]({'plain':!![]});_0x202d2c=squel[_0x0533('0xb1')]()[_0x0533('0xb2')](_0x0533('0xb7'))[_0x0533('0xa0')]([_0x0533('0xa1'),_0x0533('0xa4'),_0x0533('0xa3'),_0x0533('0x6c'),_0x0533('0x5f'),_0x0533('0x60')],squel['select']()[_0x0533('0x85')](_0x0533('0xa1'),_0x0533('0xa1'))['field']('id',_0x0533('0xa4'))[_0x0533('0x85')](_0x13f52c[_0x0533('0xa5')][_0x0533('0xa6')](),_0x0533('0xa3'))[_0x0533('0x85')](_0x27faee['params']['id']['toString'](),_0x0533('0x6c'))['field'](_0x0533('0xa7'),_0x0533('0x5f'))[_0x0533('0x85')](_0x0533('0xa7'),_0x0533('0x60'))[_0x0533('0x87')](_0x0533('0xa8'))[_0x0533('0x4a')](_0x0533('0xa9'))[_0x0533('0x4a')](_0x0533('0xaa'),_0x13f52c['CmListId'][_0x0533('0xa6')]())[_0x0533('0x4a')](_0x0533('0xab')))[_0x0533('0xa6')]();_0x37384c['push'](db[_0x0533('0x8f')][_0x0533('0x3f')](_0x202d2c));}return BPromise['all'](_0x37384c);}})[_0x0533('0x2a')](function(){return _0xf6c782;})['then'](respondWithResult(_0x2ee929,null))['catch'](handleError(_0x2ee929,null));};exports['removeBlackLists']=function(_0x3fb8c8,_0x3196cc,_0x5a4927){return db[_0x0533('0x3d')]['find']({'where':{'id':_0x3fb8c8[_0x0533('0x55')]['id']}})[_0x0533('0x2a')](handleEntityNotFound(_0x3196cc,null))[_0x0533('0x2a')](function(_0x3d8a9f){if(_0x3d8a9f){return _0x3d8a9f[_0x0533('0xb8')](_0x3fb8c8[_0x0533('0x3f')]['ids']);}})[_0x0533('0x2a')](function(_0x45fd9e){if(_0x45fd9e){return db[_0x0533('0x6e')]['destroy']({'where':{'ListId':_0x3fb8c8[_0x0533('0x3f')][_0x0533('0x83')],'VoiceQueueId':_0x3fb8c8[_0x0533('0x55')]['id']}})[_0x0533('0x2a')](function(){return _0x45fd9e;});}})['then'](respondWithStatusCode(_0x3196cc,null))[_0x0533('0x53')](handleError(_0x3196cc,null));}; \ No newline at end of file diff --git a/server/api/voiceQueue/voiceQueue.events.js b/server/api/voiceQueue/voiceQueue.events.js index 28eebb0..018cad1 100644 --- a/server/api/voiceQueue/voiceQueue.events.js +++ b/server/api/voiceQueue/voiceQueue.events.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x5aa9=['events','../../mysqldb','setMaxListeners','update','remove','emit','hook','exports'];(function(_0x195ee8,_0x13ef59){var _0x44ec36=function(_0xb6fc78){while(--_0xb6fc78){_0x195ee8['push'](_0x195ee8['shift']());}};_0x44ec36(++_0x13ef59);}(_0x5aa9,0x110));var _0x95aa=function(_0x2eebeb,_0x256ae8){_0x2eebeb=_0x2eebeb-0x0;var _0x19f428=_0x5aa9[_0x2eebeb];return _0x19f428;};'use strict';var EventEmitter=require(_0x95aa('0x0'));var VoiceQueue=require(_0x95aa('0x1'))['db']['VoiceQueue'];var VoiceQueueEvents=new EventEmitter();VoiceQueueEvents[_0x95aa('0x2')](0x0);var events={'afterCreate':'save','afterUpdate':_0x95aa('0x3'),'afterDestroy':_0x95aa('0x4')};function emitEvent(_0x34c2f2){return function(_0x3cc458,_0x32387a,_0x5cb62a){VoiceQueueEvents[_0x95aa('0x5')](_0x34c2f2+':'+_0x3cc458['id'],_0x3cc458);VoiceQueueEvents[_0x95aa('0x5')](_0x34c2f2,_0x3cc458);_0x5cb62a(null);};}for(var e in events){if(events['hasOwnProperty'](e)){var event=events[e];VoiceQueue[_0x95aa('0x6')](e,emitEvent(event));}}module[_0x95aa('0x7')]=VoiceQueueEvents; \ No newline at end of file +var _0xe592=['emit','hasOwnProperty','hook','exports','events','../../mysqldb','update'];(function(_0x5b163f,_0x42fe81){var _0x3eee79=function(_0x44895d){while(--_0x44895d){_0x5b163f['push'](_0x5b163f['shift']());}};_0x3eee79(++_0x42fe81);}(_0xe592,0xeb));var _0x2e59=function(_0xd2f4ac,_0x5aa8e5){_0xd2f4ac=_0xd2f4ac-0x0;var _0x9757b2=_0xe592[_0xd2f4ac];return _0x9757b2;};'use strict';var EventEmitter=require(_0x2e59('0x0'));var VoiceQueue=require(_0x2e59('0x1'))['db']['VoiceQueue'];var VoiceQueueEvents=new EventEmitter();VoiceQueueEvents['setMaxListeners'](0x0);var events={'afterCreate':'save','afterUpdate':_0x2e59('0x2'),'afterDestroy':'remove'};function emitEvent(_0x334cb8){return function(_0x5b714b,_0x5478b8,_0x18a204){VoiceQueueEvents[_0x2e59('0x3')](_0x334cb8+':'+_0x5b714b['id'],_0x5b714b);VoiceQueueEvents[_0x2e59('0x3')](_0x334cb8,_0x5b714b);_0x18a204(null);};}for(var e in events){if(events[_0x2e59('0x4')](e)){var event=events[e];VoiceQueue[_0x2e59('0x5')](e,emitEvent(event));}}module[_0x2e59('0x6')]=VoiceQueueEvents; \ No newline at end of file diff --git a/server/api/voiceQueue/voiceQueue.model.js b/server/api/voiceQueue/voiceQueue.model.js index 9da9cb1..4ac7e45 100644 --- a/server/api/voiceQueue/voiceQueue.model.js +++ b/server/api/voiceQueue/voiceQueue.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x5584=['lodash','util','../../config/logger','moment','bluebird','path','rimraf','../../config/environment','./voiceQueue.attributes','exports','define','VoiceQueue','voice_queues'];(function(_0x2ba3a1,_0x5a03c2){var _0x972b37=function(_0x2e7d5a){while(--_0x2e7d5a){_0x2ba3a1['push'](_0x2ba3a1['shift']());}};_0x972b37(++_0x5a03c2);}(_0x5584,0x1ee));var _0x4558=function(_0x5c3795,_0x3afd86){_0x5c3795=_0x5c3795-0x0;var _0x21fc1b=_0x5584[_0x5c3795];return _0x21fc1b;};'use strict';var _=require(_0x4558('0x0'));var util=require(_0x4558('0x1'));var logger=require(_0x4558('0x2'))('api');var moment=require(_0x4558('0x3'));var BPromise=require(_0x4558('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x4558('0x5'));var rimraf=require(_0x4558('0x6'));var config=require(_0x4558('0x7'));var attributes=require(_0x4558('0x8'));module[_0x4558('0x9')]=function(_0x28e71a,_0x3a8f10){return _0x28e71a[_0x4558('0xa')](_0x4558('0xb'),attributes,{'tableName':_0x4558('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0x20ad=['util','../../config/logger','moment','request-promise','path','rimraf','../../config/environment','define','voice_queues','lodash'];(function(_0xd4b561,_0x3a233d){var _0x45712c=function(_0x3c673e){while(--_0x3c673e){_0xd4b561['push'](_0xd4b561['shift']());}};_0x45712c(++_0x3a233d);}(_0x20ad,0x1f3));var _0xd20a=function(_0xdc37a1,_0x53ebb9){_0xdc37a1=_0xdc37a1-0x0;var _0x99b4fe=_0x20ad[_0xdc37a1];return _0x99b4fe;};'use strict';var _=require(_0xd20a('0x0'));var util=require(_0xd20a('0x1'));var logger=require(_0xd20a('0x2'))('api');var moment=require(_0xd20a('0x3'));var BPromise=require('bluebird');var rp=require(_0xd20a('0x4'));var fs=require('fs');var path=require(_0xd20a('0x5'));var rimraf=require(_0xd20a('0x6'));var config=require(_0xd20a('0x7'));var attributes=require('./voiceQueue.attributes');module['exports']=function(_0x1a168c,_0x4c6509){return _0x1a168c[_0xd20a('0x8')]('VoiceQueue',attributes,{'tableName':_0xd20a('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/voiceQueue/voiceQueue.rpc.js b/server/api/voiceQueue/voiceQueue.rpc.js index 82c8c5d..251a65d 100644 --- a/server/api/voiceQueue/voiceQueue.rpc.js +++ b/server/api/voiceQueue/voiceQueue.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xe645=['info','VoiceQueue,\x20%s,\x20%s','VoiceQueue,\x20%s,\x20%s,\x20%s','request\x20sent','error','code','message','result','catch','GetVoiceQueue','VoiceQueue','findAll','options','raw','where','attributes','limit','include','map','model','debug','stringify','ShowVoiceQueue','find','lodash','util','moment','bluebird','randomstring','ioredis','../../mysqldb','../../config/logger','rpc','../../config/environment','redis','defaults','localhost','socket.io-emitter','./voiceQueue.socket','register','request','then'];(function(_0x3b0e0c,_0x5e4814){var _0x3efb86=function(_0x82a918){while(--_0x82a918){_0x3b0e0c['push'](_0x3b0e0c['shift']());}};_0x3efb86(++_0x5e4814);}(_0xe645,0xea));var _0x5e64=function(_0xf7f750,_0x4362c0){_0xf7f750=_0xf7f750-0x0;var _0x1fe168=_0xe645[_0xf7f750];return _0x1fe168;};'use strict';var _=require(_0x5e64('0x0'));var util=require(_0x5e64('0x1'));var moment=require(_0x5e64('0x2'));var BPromise=require(_0x5e64('0x3'));var rs=require(_0x5e64('0x4'));var fs=require('fs');var Redis=require(_0x5e64('0x5'));var db=require(_0x5e64('0x6'))['db'];var utils=require('../../config/utils');var logger=require(_0x5e64('0x7'))(_0x5e64('0x8'));var config=require(_0x5e64('0x9'));var jayson=require('jayson/promise');var client=jayson['client']['http']({'port':0x232a});config[_0x5e64('0xa')]=_[_0x5e64('0xb')](config['redis'],{'host':_0x5e64('0xc'),'port':0x18eb});var socket=require(_0x5e64('0xd'))(new Redis(config[_0x5e64('0xa')]));require(_0x5e64('0xe'))[_0x5e64('0xf')](socket);function respondWithRpcPromise(_0x4c6adf,_0x12faba,_0x368d1a){return new BPromise(function(_0x4c9575,_0x5734e3){return client[_0x5e64('0x10')](_0x4c6adf,_0x368d1a)[_0x5e64('0x11')](function(_0x2b088b){logger[_0x5e64('0x12')](_0x5e64('0x13'),_0x12faba,'request\x20sent');logger['debug'](_0x5e64('0x14'),_0x12faba,_0x5e64('0x15'),JSON['stringify'](_0x2b088b));if(_0x2b088b[_0x5e64('0x16')]){if(_0x2b088b[_0x5e64('0x16')][_0x5e64('0x17')]===0x1f4){logger[_0x5e64('0x16')]('VoiceQueue,\x20%s,\x20%s',_0x12faba,_0x2b088b[_0x5e64('0x16')][_0x5e64('0x18')]);return _0x5734e3(_0x2b088b[_0x5e64('0x16')]['message']);}logger[_0x5e64('0x16')]('VoiceQueue,\x20%s,\x20%s',_0x12faba,_0x2b088b[_0x5e64('0x16')]['message']);return _0x4c9575(_0x2b088b[_0x5e64('0x16')]['message']);}else{logger['info'](_0x5e64('0x13'),_0x12faba,_0x5e64('0x15'));_0x4c9575(_0x2b088b[_0x5e64('0x19')]['message']);}})[_0x5e64('0x1a')](function(_0x28407f){logger[_0x5e64('0x16')]('VoiceQueue,\x20%s,\x20%s',_0x12faba,_0x28407f);_0x5734e3(_0x28407f);});});}exports[_0x5e64('0x1b')]=function(_0x5ab0b2){var _0x243c5d=this;return new Promise(function(_0x5b83c7,_0x305837){return db[_0x5e64('0x1c')][_0x5e64('0x1d')]({'raw':_0x5ab0b2[_0x5e64('0x1e')]?_0x5ab0b2['options'][_0x5e64('0x1f')]===undefined?!![]:![]:!![],'where':_0x5ab0b2['options']?_0x5ab0b2[_0x5e64('0x1e')][_0x5e64('0x20')]||null:null,'attributes':_0x5ab0b2[_0x5e64('0x1e')]?_0x5ab0b2[_0x5e64('0x1e')][_0x5e64('0x21')]||null:null,'limit':_0x5ab0b2[_0x5e64('0x1e')]?_0x5ab0b2['options'][_0x5e64('0x22')]||null:null,'include':_0x5ab0b2[_0x5e64('0x1e')]?_0x5ab0b2[_0x5e64('0x1e')][_0x5e64('0x23')]?_['map'](_0x5ab0b2[_0x5e64('0x1e')][_0x5e64('0x23')],function(_0x13692b){return{'model':db[_0x13692b['model']],'as':_0x13692b['as'],'attributes':_0x13692b[_0x5e64('0x21')],'include':_0x13692b[_0x5e64('0x23')]?_['map'](_0x13692b['include'],function(_0x7ecc0){return{'model':db[_0x7ecc0['model']],'as':_0x7ecc0['as'],'attributes':_0x7ecc0[_0x5e64('0x21')],'include':_0x7ecc0['include']?_[_0x5e64('0x24')](_0x7ecc0[_0x5e64('0x23')],function(_0x2d3067){return{'model':db[_0x2d3067[_0x5e64('0x25')]],'as':_0x2d3067['as'],'attributes':_0x2d3067[_0x5e64('0x21')]};}):[]};}):[]};}):[]:[]})['then'](function(_0x1b2594){logger[_0x5e64('0x12')](_0x5e64('0x1b'),_0x5ab0b2);logger[_0x5e64('0x26')](_0x5e64('0x1b'),_0x5ab0b2,JSON[_0x5e64('0x27')](_0x1b2594));_0x5b83c7(_0x1b2594);})[_0x5e64('0x1a')](function(_0x232be2){logger['error'](_0x5e64('0x1b'),_0x232be2[_0x5e64('0x18')],_0x5ab0b2);_0x305837(_0x243c5d[_0x5e64('0x16')](0x1f4,_0x232be2[_0x5e64('0x18')]));});});};exports[_0x5e64('0x28')]=function(_0x2a4043){var _0x3caf0=this;return new Promise(function(_0x474715,_0x35ee95){return db[_0x5e64('0x1c')][_0x5e64('0x29')]({'raw':_0x2a4043[_0x5e64('0x1e')]?_0x2a4043[_0x5e64('0x1e')][_0x5e64('0x1f')]===undefined?!![]:![]:!![],'where':_0x2a4043['options']?_0x2a4043[_0x5e64('0x1e')]['where']||null:null,'attributes':_0x2a4043[_0x5e64('0x1e')]?_0x2a4043[_0x5e64('0x1e')][_0x5e64('0x21')]||null:null,'include':_0x2a4043[_0x5e64('0x1e')]?_0x2a4043['options'][_0x5e64('0x23')]?_['map'](_0x2a4043[_0x5e64('0x1e')][_0x5e64('0x23')],function(_0xe73dd7){return{'model':db[_0xe73dd7[_0x5e64('0x25')]],'as':_0xe73dd7['as'],'attributes':_0xe73dd7[_0x5e64('0x21')],'include':_0xe73dd7[_0x5e64('0x23')]?_[_0x5e64('0x24')](_0xe73dd7[_0x5e64('0x23')],function(_0xe91288){return{'model':db[_0xe91288[_0x5e64('0x25')]],'as':_0xe91288['as'],'attributes':_0xe91288['attributes'],'include':_0xe91288[_0x5e64('0x23')]?_[_0x5e64('0x24')](_0xe91288[_0x5e64('0x23')],function(_0xe8e413){return{'model':db[_0xe8e413[_0x5e64('0x25')]],'as':_0xe8e413['as'],'attributes':_0xe8e413[_0x5e64('0x21')]};}):[]};}):[]};}):[]:[]})['then'](function(_0x3c7a83){logger[_0x5e64('0x12')](_0x5e64('0x28'),_0x2a4043);logger[_0x5e64('0x26')](_0x5e64('0x28'),_0x2a4043,JSON[_0x5e64('0x27')](_0x3c7a83));_0x474715(_0x3c7a83);})[_0x5e64('0x1a')](function(_0xd577d){logger[_0x5e64('0x16')](_0x5e64('0x28'),_0xd577d['message'],_0x2a4043);_0x35ee95(_0x3caf0[_0x5e64('0x16')](0x1f4,_0xd577d['message']));});});}; \ No newline at end of file +var _0x2961=['ShowVoiceQueue','find','util','moment','bluebird','randomstring','ioredis','../../mysqldb','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','client','http','defaults','redis','localhost','socket.io-emitter','register','request','then','VoiceQueue,\x20%s,\x20%s','request\x20sent','debug','VoiceQueue,\x20%s,\x20%s,\x20%s','stringify','code','error','message','info','catch','GetVoiceQueue','VoiceQueue','findAll','options','raw','where','attributes','limit','include','map','model'];(function(_0x4beb68,_0x49e341){var _0x114b4a=function(_0x33ab15){while(--_0x33ab15){_0x4beb68['push'](_0x4beb68['shift']());}};_0x114b4a(++_0x49e341);}(_0x2961,0x15a));var _0x1296=function(_0x52f0a6,_0xa3c19f){_0x52f0a6=_0x52f0a6-0x0;var _0x2dcee6=_0x2961[_0x52f0a6];return _0x2dcee6;};'use strict';var _=require('lodash');var util=require(_0x1296('0x0'));var moment=require(_0x1296('0x1'));var BPromise=require(_0x1296('0x2'));var rs=require(_0x1296('0x3'));var fs=require('fs');var Redis=require(_0x1296('0x4'));var db=require(_0x1296('0x5'))['db'];var utils=require(_0x1296('0x6'));var logger=require(_0x1296('0x7'))(_0x1296('0x8'));var config=require(_0x1296('0x9'));var jayson=require(_0x1296('0xa'));var client=jayson[_0x1296('0xb')][_0x1296('0xc')]({'port':0x232a});config['redis']=_[_0x1296('0xd')](config[_0x1296('0xe')],{'host':_0x1296('0xf'),'port':0x18eb});var socket=require(_0x1296('0x10'))(new Redis(config[_0x1296('0xe')]));require('./voiceQueue.socket')[_0x1296('0x11')](socket);function respondWithRpcPromise(_0x2aa420,_0x1017cd,_0x1dc5b4){return new BPromise(function(_0x235ac9,_0x217253){return client[_0x1296('0x12')](_0x2aa420,_0x1dc5b4)[_0x1296('0x13')](function(_0x25ca2b){logger['info'](_0x1296('0x14'),_0x1017cd,_0x1296('0x15'));logger[_0x1296('0x16')](_0x1296('0x17'),_0x1017cd,'request\x20sent',JSON[_0x1296('0x18')](_0x25ca2b));if(_0x25ca2b['error']){if(_0x25ca2b['error'][_0x1296('0x19')]===0x1f4){logger[_0x1296('0x1a')](_0x1296('0x14'),_0x1017cd,_0x25ca2b[_0x1296('0x1a')][_0x1296('0x1b')]);return _0x217253(_0x25ca2b[_0x1296('0x1a')][_0x1296('0x1b')]);}logger[_0x1296('0x1a')]('VoiceQueue,\x20%s,\x20%s',_0x1017cd,_0x25ca2b['error'][_0x1296('0x1b')]);return _0x235ac9(_0x25ca2b[_0x1296('0x1a')]['message']);}else{logger[_0x1296('0x1c')]('VoiceQueue,\x20%s,\x20%s',_0x1017cd,_0x1296('0x15'));_0x235ac9(_0x25ca2b['result'][_0x1296('0x1b')]);}})[_0x1296('0x1d')](function(_0x192cad){logger[_0x1296('0x1a')](_0x1296('0x14'),_0x1017cd,_0x192cad);_0x217253(_0x192cad);});});}exports[_0x1296('0x1e')]=function(_0x1fdc3e){var _0x172aac=this;return new Promise(function(_0x34bb9e,_0x1876f4){return db[_0x1296('0x1f')][_0x1296('0x20')]({'raw':_0x1fdc3e['options']?_0x1fdc3e[_0x1296('0x21')][_0x1296('0x22')]===undefined?!![]:![]:!![],'where':_0x1fdc3e[_0x1296('0x21')]?_0x1fdc3e[_0x1296('0x21')][_0x1296('0x23')]||null:null,'attributes':_0x1fdc3e[_0x1296('0x21')]?_0x1fdc3e[_0x1296('0x21')][_0x1296('0x24')]||null:null,'limit':_0x1fdc3e[_0x1296('0x21')]?_0x1fdc3e['options'][_0x1296('0x25')]||null:null,'include':_0x1fdc3e['options']?_0x1fdc3e[_0x1296('0x21')][_0x1296('0x26')]?_[_0x1296('0x27')](_0x1fdc3e[_0x1296('0x21')]['include'],function(_0x346d3b){return{'model':db[_0x346d3b[_0x1296('0x28')]],'as':_0x346d3b['as'],'attributes':_0x346d3b[_0x1296('0x24')],'include':_0x346d3b[_0x1296('0x26')]?_[_0x1296('0x27')](_0x346d3b[_0x1296('0x26')],function(_0x4d3ff6){return{'model':db[_0x4d3ff6['model']],'as':_0x4d3ff6['as'],'attributes':_0x4d3ff6[_0x1296('0x24')],'include':_0x4d3ff6[_0x1296('0x26')]?_[_0x1296('0x27')](_0x4d3ff6[_0x1296('0x26')],function(_0x164501){return{'model':db[_0x164501[_0x1296('0x28')]],'as':_0x164501['as'],'attributes':_0x164501['attributes']};}):[]};}):[]};}):[]:[]})[_0x1296('0x13')](function(_0x3e190e){logger[_0x1296('0x1c')](_0x1296('0x1e'),_0x1fdc3e);logger[_0x1296('0x16')]('GetVoiceQueue',_0x1fdc3e,JSON['stringify'](_0x3e190e));_0x34bb9e(_0x3e190e);})['catch'](function(_0x17e5c1){logger[_0x1296('0x1a')](_0x1296('0x1e'),_0x17e5c1['message'],_0x1fdc3e);_0x1876f4(_0x172aac[_0x1296('0x1a')](0x1f4,_0x17e5c1[_0x1296('0x1b')]));});});};exports[_0x1296('0x29')]=function(_0x96b797){var _0x5e9a00=this;return new Promise(function(_0x41030f,_0x248aeb){return db[_0x1296('0x1f')][_0x1296('0x2a')]({'raw':_0x96b797['options']?_0x96b797[_0x1296('0x21')]['raw']===undefined?!![]:![]:!![],'where':_0x96b797[_0x1296('0x21')]?_0x96b797[_0x1296('0x21')][_0x1296('0x23')]||null:null,'attributes':_0x96b797[_0x1296('0x21')]?_0x96b797['options']['attributes']||null:null,'include':_0x96b797['options']?_0x96b797[_0x1296('0x21')]['include']?_[_0x1296('0x27')](_0x96b797[_0x1296('0x21')][_0x1296('0x26')],function(_0x4d8855){return{'model':db[_0x4d8855['model']],'as':_0x4d8855['as'],'attributes':_0x4d8855[_0x1296('0x24')],'include':_0x4d8855['include']?_[_0x1296('0x27')](_0x4d8855[_0x1296('0x26')],function(_0x5948d3){return{'model':db[_0x5948d3['model']],'as':_0x5948d3['as'],'attributes':_0x5948d3[_0x1296('0x24')],'include':_0x5948d3['include']?_[_0x1296('0x27')](_0x5948d3[_0x1296('0x26')],function(_0x2af444){return{'model':db[_0x2af444[_0x1296('0x28')]],'as':_0x2af444['as'],'attributes':_0x2af444[_0x1296('0x24')]};}):[]};}):[]};}):[]:[]})[_0x1296('0x13')](function(_0x5077e9){logger['info']('ShowVoiceQueue',_0x96b797);logger['debug'](_0x1296('0x29'),_0x96b797,JSON[_0x1296('0x18')](_0x5077e9));_0x41030f(_0x5077e9);})[_0x1296('0x1d')](function(_0x27e70c){logger[_0x1296('0x1a')](_0x1296('0x29'),_0x27e70c[_0x1296('0x1b')],_0x96b797);_0x248aeb(_0x5e9a00['error'](0x1f4,_0x27e70c[_0x1296('0x1b')]));});});}; \ No newline at end of file diff --git a/server/api/voiceQueue/voiceQueue.socket.js b/server/api/voiceQueue/voiceQueue.socket.js index 73a70d2..62b1f9a 100644 --- a/server/api/voiceQueue/voiceQueue.socket.js +++ b/server/api/voiceQueue/voiceQueue.socket.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x69d3=['length','voiceQueue:','./voiceQueue.events','save','remove','register'];(function(_0x3c0798,_0x52f0c7){var _0x18b3a3=function(_0x459aef){while(--_0x459aef){_0x3c0798['push'](_0x3c0798['shift']());}};_0x18b3a3(++_0x52f0c7);}(_0x69d3,0xda));var _0x369d=function(_0x4c52f8,_0x42b834){_0x4c52f8=_0x4c52f8-0x0;var _0x5219c3=_0x69d3[_0x4c52f8];return _0x5219c3;};'use strict';var VoiceQueueEvents=require(_0x369d('0x0'));var events=[_0x369d('0x1'),_0x369d('0x2'),'update'];function createListener(_0x47591f,_0x3e1172){return function(_0x4d777e){_0x3e1172['emit'](_0x47591f,_0x4d777e);};}function removeListener(_0xe38740,_0x59df58){return function(){VoiceQueueEvents['removeListener'](_0xe38740,_0x59df58);};}exports[_0x369d('0x3')]=function(_0x2f2a53){for(var _0x18c9f1=0x0,_0x424d8c=events[_0x369d('0x4')];_0x18c9f1<_0x424d8c;_0x18c9f1++){var _0x186302=events[_0x18c9f1];var _0x3adb26=createListener(_0x369d('0x5')+_0x186302,_0x2f2a53);VoiceQueueEvents['on'](_0x186302,_0x3adb26);}}; \ No newline at end of file +var _0x1060=['save','remove','update','emit','removeListener','length','voiceQueue:','./voiceQueue.events'];(function(_0x11e03f,_0x20b967){var _0x5666fe=function(_0x19ce63){while(--_0x19ce63){_0x11e03f['push'](_0x11e03f['shift']());}};_0x5666fe(++_0x20b967);}(_0x1060,0x147));var _0x0106=function(_0x13e741,_0x5d3c24){_0x13e741=_0x13e741-0x0;var _0x3f8bb3=_0x1060[_0x13e741];return _0x3f8bb3;};'use strict';var VoiceQueueEvents=require(_0x0106('0x0'));var events=[_0x0106('0x1'),_0x0106('0x2'),_0x0106('0x3')];function createListener(_0x5658c5,_0x100dad){return function(_0x520f0c){_0x100dad[_0x0106('0x4')](_0x5658c5,_0x520f0c);};}function removeListener(_0x3a4d13,_0x6e2bab){return function(){VoiceQueueEvents[_0x0106('0x5')](_0x3a4d13,_0x6e2bab);};}exports['register']=function(_0x260c50){for(var _0xa8504f=0x0,_0x848c04=events[_0x0106('0x6')];_0xa8504f<_0x848c04;_0xa8504f++){var _0x1951a1=events[_0xa8504f];var _0x2bf569=createListener(_0x0106('0x7')+_0x1951a1,_0x260c50);VoiceQueueEvents['on'](_0x1951a1,_0x2bf569);}}; \ No newline at end of file diff --git a/server/api/voiceQueueReport/index.js b/server/api/voiceQueueReport/index.js index 4c64148..828c7c1 100644 --- a/server/api/voiceQueueReport/index.js +++ b/server/api/voiceQueueReport/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x326f=['multer','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceQueueReport.controller','get','isAuthenticated','index','/describe','describe','/:id','show','post','create','update','exports'];(function(_0x47eec7,_0x214af0){var _0x508a08=function(_0x595cd5){while(--_0x595cd5){_0x47eec7['push'](_0x47eec7['shift']());}};_0x508a08(++_0x214af0);}(_0x326f,0xd1));var _0xf326=function(_0x34874a,_0x3f46ce){_0x34874a=_0x34874a-0x0;var _0x26ba92=_0x326f[_0x34874a];return _0x26ba92;};'use strict';var multer=require(_0xf326('0x0'));var util=require('util');var path=require('path');var timeout=require(_0xf326('0x1'));var express=require(_0xf326('0x2'));var router=express[_0xf326('0x3')]();var auth=require(_0xf326('0x4'));var interaction=require(_0xf326('0x5'));var config=require(_0xf326('0x6'));var controller=require(_0xf326('0x7'));router[_0xf326('0x8')]('/',auth[_0xf326('0x9')](),controller[_0xf326('0xa')]);router['get'](_0xf326('0xb'),auth[_0xf326('0x9')](),controller[_0xf326('0xc')]);router[_0xf326('0x8')]('/index',auth['isAuthenticated'](),controller['getVoiceQueuesReport']);router[_0xf326('0x8')](_0xf326('0xd'),auth[_0xf326('0x9')](),controller[_0xf326('0xe')]);router[_0xf326('0xf')]('/',auth['isAuthenticated'](),controller[_0xf326('0x10')]);router['put'](_0xf326('0xd'),auth['isAuthenticated'](),controller[_0xf326('0x11')]);router['delete'](_0xf326('0xd'),auth[_0xf326('0x9')](),controller['destroy']);module[_0xf326('0x12')]=router; \ No newline at end of file +var _0x3e24=['util','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','./voiceQueueReport.controller','get','isAuthenticated','index','/describe','/index','getVoiceQueuesReport','show','update','delete','/:id','destroy','exports','multer'];(function(_0xf488c1,_0x110fb4){var _0x467ba6=function(_0x538550){while(--_0x538550){_0xf488c1['push'](_0xf488c1['shift']());}};_0x467ba6(++_0x110fb4);}(_0x3e24,0x167));var _0x43e2=function(_0x539cf6,_0x7466a2){_0x539cf6=_0x539cf6-0x0;var _0x4216b8=_0x3e24[_0x539cf6];return _0x4216b8;};'use strict';var multer=require(_0x43e2('0x0'));var util=require(_0x43e2('0x1'));var path=require(_0x43e2('0x2'));var timeout=require(_0x43e2('0x3'));var express=require(_0x43e2('0x4'));var router=express['Router']();var auth=require(_0x43e2('0x5'));var interaction=require(_0x43e2('0x6'));var config=require('../../config/environment');var controller=require(_0x43e2('0x7'));router[_0x43e2('0x8')]('/',auth[_0x43e2('0x9')](),controller[_0x43e2('0xa')]);router[_0x43e2('0x8')](_0x43e2('0xb'),auth[_0x43e2('0x9')](),controller['describe']);router[_0x43e2('0x8')](_0x43e2('0xc'),auth['isAuthenticated'](),controller[_0x43e2('0xd')]);router[_0x43e2('0x8')]('/:id',auth[_0x43e2('0x9')](),controller[_0x43e2('0xe')]);router['post']('/',auth[_0x43e2('0x9')](),controller['create']);router['put']('/:id',auth[_0x43e2('0x9')](),controller[_0x43e2('0xf')]);router[_0x43e2('0x10')](_0x43e2('0x11'),auth[_0x43e2('0x9')](),controller[_0x43e2('0x12')]);module[_0x43e2('0x13')]=router; \ No newline at end of file diff --git a/server/api/voiceQueueReport/voiceQueueReport.attributes.js b/server/api/voiceQueueReport/voiceQueueReport.attributes.js index 67c91a3..530a24b 100644 --- a/server/api/voiceQueueReport/voiceQueueReport.attributes.js +++ b/server/api/voiceQueueReport/voiceQueueReport.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x584a=['holdtime','INTEGER','BOOLEAN','sequelize','moment','exports','STRING','DATE','queuecallerjoinAt','format','YYYY-MM-DD\x20HH:mm:ss','diff','setDataValue'];(function(_0x5186a3,_0x5cfe23){var _0x2a2d3c=function(_0x31012c){while(--_0x31012c){_0x5186a3['push'](_0x5186a3['shift']());}};_0x2a2d3c(++_0x5cfe23);}(_0x584a,0x1d7));var _0xa584=function(_0x4f53a6,_0x582ff5){_0x4f53a6=_0x4f53a6-0x0;var _0x30e4b7=_0x584a[_0x4f53a6];return _0x30e4b7;};'use strict';var Sequelize=require(_0xa584('0x0'));var moment=require(_0xa584('0x1'));module[_0xa584('0x2')]={'type':{'type':Sequelize[_0xa584('0x3')]},'uniqueid':{'type':Sequelize[_0xa584('0x3')]},'calleridnum':{'type':Sequelize[_0xa584('0x3')]},'calleridname':{'type':Sequelize[_0xa584('0x3')]},'queue':{'type':Sequelize[_0xa584('0x3')]},'queuecallerjoinAt':{'type':Sequelize[_0xa584('0x4')]},'queuecallerleaveAt':{'type':Sequelize[_0xa584('0x4')],'set':function(_0x3b6213){var _0x52aa9d=moment(_0x3b6213);var _0x32d9ac=moment(this['getDataValue'](_0xa584('0x5')))[_0xa584('0x6')](_0xa584('0x7'));var _0x75e88b=_0x52aa9d[_0xa584('0x8')](_0x32d9ac,'seconds');this[_0xa584('0x9')]('queuecallerleaveAt',_0x3b6213);this[_0xa584('0x9')](_0xa584('0xa'),_0x75e88b||null);}},'position':{'type':Sequelize[_0xa584('0xb')]},'count':{'type':Sequelize[_0xa584('0xb')]},'queuecallerabandon':{'type':Sequelize[_0xa584('0xc')],'defaultValue':![]},'queuecallerabandonAt':{'type':Sequelize[_0xa584('0x4')]},'queuecallercomplete':{'type':Sequelize[_0xa584('0xc')],'defaultValue':![]},'queuecallercompleteAt':{'type':Sequelize[_0xa584('0x4')]},'queuecallerexit':{'type':Sequelize[_0xa584('0xc')],'defaultValue':![]},'queuecallerexitAt':{'type':Sequelize['DATE']},'queuecallerexitreason':{'type':Sequelize['STRING'],'comment':'COMPLETEDBYCALLER,\x20COMPLETEDBYAGENT,\x20FORWARDTRANFER,\x20BLINDTRANSFER,\x20ATTENDEDTRANSFER,\x20EXITWITHKEY,\x20TIMEOUT'},'originalposition':{'type':Sequelize[_0xa584('0xb')]},'channel':{'type':Sequelize[_0xa584('0x3')]},'connectedlinenum':{'type':Sequelize['STRING']},'connectedlinename':{'type':Sequelize[_0xa584('0x3')]},'accountcode':{'type':Sequelize[_0xa584('0x3')]},'context':{'type':Sequelize[_0xa584('0x3')]},'exten':{'type':Sequelize[_0xa584('0x3')]},'priority':{'type':Sequelize[_0xa584('0x3')]},'holdtime':{'type':Sequelize[_0xa584('0xb')]},'mohtime':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'assigned':{'type':Sequelize[_0xa584('0xc')],'defaultValue':![]},'lastAssignedTo':{'type':Sequelize[_0xa584('0x3')]},'transfer':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'transfertype':{'type':Sequelize[_0xa584('0x3')],'comment':'FORWARD,\x20BLIND,\x20ATTENDED'},'transferexten':{'type':Sequelize['STRING']},'transferuniqueid':{'type':Sequelize['STRING']},'disposition':{'type':Sequelize[_0xa584('0x3')]},'queuecallerenterreason':{'type':Sequelize[_0xa584('0xb')],'defaultValue':0x0}}; \ No newline at end of file +var _0x068d=['queuecallerleaveAt','holdtime','INTEGER','BOOLEAN','COMPLETEDBYCALLER,\x20COMPLETEDBYAGENT,\x20FORWARDTRANFER,\x20BLINDTRANSFER,\x20ATTENDEDTRANSFER,\x20EXITWITHKEY,\x20TIMEOUT','FORWARD,\x20BLIND,\x20ATTENDED','moment','exports','STRING','DATE','getDataValue','queuecallerjoinAt','format','diff','seconds','setDataValue'];(function(_0x53a97e,_0x29f970){var _0x287b6d=function(_0x3a2a53){while(--_0x3a2a53){_0x53a97e['push'](_0x53a97e['shift']());}};_0x287b6d(++_0x29f970);}(_0x068d,0x166));var _0xd068=function(_0x568632,_0x117466){_0x568632=_0x568632-0x0;var _0x38fd1e=_0x068d[_0x568632];return _0x38fd1e;};'use strict';var Sequelize=require('sequelize');var moment=require(_0xd068('0x0'));module[_0xd068('0x1')]={'type':{'type':Sequelize[_0xd068('0x2')]},'uniqueid':{'type':Sequelize['STRING']},'calleridnum':{'type':Sequelize[_0xd068('0x2')]},'calleridname':{'type':Sequelize[_0xd068('0x2')]},'queue':{'type':Sequelize[_0xd068('0x2')]},'queuecallerjoinAt':{'type':Sequelize[_0xd068('0x3')]},'queuecallerleaveAt':{'type':Sequelize[_0xd068('0x3')],'set':function(_0x3192da){var _0x2c9375=moment(_0x3192da);var _0x2e7182=moment(this[_0xd068('0x4')](_0xd068('0x5')))[_0xd068('0x6')]('YYYY-MM-DD\x20HH:mm:ss');var _0x2747a1=_0x2c9375[_0xd068('0x7')](_0x2e7182,_0xd068('0x8'));this[_0xd068('0x9')](_0xd068('0xa'),_0x3192da);this[_0xd068('0x9')](_0xd068('0xb'),_0x2747a1||null);}},'position':{'type':Sequelize[_0xd068('0xc')]},'count':{'type':Sequelize[_0xd068('0xc')]},'queuecallerabandon':{'type':Sequelize[_0xd068('0xd')],'defaultValue':![]},'queuecallerabandonAt':{'type':Sequelize['DATE']},'queuecallercomplete':{'type':Sequelize[_0xd068('0xd')],'defaultValue':![]},'queuecallercompleteAt':{'type':Sequelize[_0xd068('0x3')]},'queuecallerexit':{'type':Sequelize[_0xd068('0xd')],'defaultValue':![]},'queuecallerexitAt':{'type':Sequelize['DATE']},'queuecallerexitreason':{'type':Sequelize['STRING'],'comment':_0xd068('0xe')},'originalposition':{'type':Sequelize[_0xd068('0xc')]},'channel':{'type':Sequelize[_0xd068('0x2')]},'connectedlinenum':{'type':Sequelize['STRING']},'connectedlinename':{'type':Sequelize[_0xd068('0x2')]},'accountcode':{'type':Sequelize[_0xd068('0x2')]},'context':{'type':Sequelize[_0xd068('0x2')]},'exten':{'type':Sequelize[_0xd068('0x2')]},'priority':{'type':Sequelize['STRING']},'holdtime':{'type':Sequelize['INTEGER']},'mohtime':{'type':Sequelize[_0xd068('0xc')],'defaultValue':0x0},'assigned':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'lastAssignedTo':{'type':Sequelize['STRING']},'transfer':{'type':Sequelize[_0xd068('0xd')],'defaultValue':![]},'transfertype':{'type':Sequelize[_0xd068('0x2')],'comment':_0xd068('0xf')},'transferexten':{'type':Sequelize['STRING']},'transferuniqueid':{'type':Sequelize[_0xd068('0x2')]},'disposition':{'type':Sequelize[_0xd068('0x2')]},'queuecallerenterreason':{'type':Sequelize[_0xd068('0xc')],'defaultValue':0x0}}; \ No newline at end of file diff --git a/server/api/voiceQueueReport/voiceQueueReport.controller.js b/server/api/voiceQueueReport/voiceQueueReport.controller.js index 87a5ff0..d2d7e4d 100644 --- a/server/api/voiceQueueReport/voiceQueueReport.controller.js +++ b/server/api/voiceQueueReport/voiceQueueReport.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x9957=['desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','api','../../config/utils','../../mysqldb','redis','defaults','localhost','socket.io-emitter','sendStatus','status','end','offset','set','json','apply','reject','save','update','then','destroy','stack','name','send','rawAttributes','fieldName','type','key','model','query','filters','intersection','attributes','hasOwnProperty','nolimit','order','sort','where','pick','merge','map','filter','options','VoiceQueueReport','count','include','catch','show','params','keys','length','includeAll','find','create','body','describe','getVoiceQueuesReport','fields','limit','rows','html-pdf','eml-format','rimraf','zip-dir','request-promise','moment','bluebird','mustache','path','sox','to-csv','ejs','lodash','squel','jsforce'];(function(_0x2b10c6,_0x185590){var _0x3789d2=function(_0x272987){while(--_0x272987){_0x2b10c6['push'](_0x2b10c6['shift']());}};_0x3789d2(++_0x185590);}(_0x9957,0x93));var _0x7995=function(_0x3947c9,_0x4d6c97){_0x3947c9=_0x3947c9-0x0;var _0x2e7871=_0x9957[_0x3947c9];return _0x2e7871;};'use strict';var pdf=require(_0x7995('0x0'));var emlformat=require(_0x7995('0x1'));var rimraf=require(_0x7995('0x2'));var zipdir=require(_0x7995('0x3'));var jsonpatch=require('fast-json-patch');var rp=require(_0x7995('0x4'));var moment=require(_0x7995('0x5'));var BPromise=require(_0x7995('0x6'));var Mustache=require(_0x7995('0x7'));var util=require('util');var path=require(_0x7995('0x8'));var sox=require(_0x7995('0x9'));var csv=require(_0x7995('0xa'));var ejs=require(_0x7995('0xb'));var fs=require('fs');var _=require(_0x7995('0xc'));var squel=require(_0x7995('0xd'));var crypto=require('crypto');var jsforce=require(_0x7995('0xe'));var deskjs=require(_0x7995('0xf'));var toCsv=require('to-csv');var querystring=require(_0x7995('0x10'));var Papa=require(_0x7995('0x11'));var Redis=require(_0x7995('0x12'));var authService=require(_0x7995('0x13'));var qs=require(_0x7995('0x14'));var as=require(_0x7995('0x15'));var hardwareService=require(_0x7995('0x16'));var logger=require('../../config/logger')(_0x7995('0x17'));var utils=require(_0x7995('0x18'));var config=require('../../config/environment');var db=require(_0x7995('0x19'))['db'];config[_0x7995('0x1a')]=_[_0x7995('0x1b')](config[_0x7995('0x1a')],{'host':_0x7995('0x1c'),'port':0x18eb});var socket=require(_0x7995('0x1d'))(new Redis(config[_0x7995('0x1a')]));require('./voiceQueueReport.socket')['register'](socket);function respondWithStatusCode(_0x2b4e94,_0x2233dd){_0x2233dd=_0x2233dd||0xcc;return function(_0x24b5bb){if(_0x24b5bb){return _0x2b4e94[_0x7995('0x1e')](_0x2233dd);}return _0x2b4e94[_0x7995('0x1f')](_0x2233dd)[_0x7995('0x20')]();};}function respondWithResult(_0x2202ce,_0x41cbf0){_0x41cbf0=_0x41cbf0||0xc8;return function(_0x5377e5){if(_0x5377e5){return _0x2202ce[_0x7995('0x1f')](_0x41cbf0)['json'](_0x5377e5);}};}function respondWithFilteredResult(_0x2f832e,_0x37f297){return function(_0x43d4b8){if(_0x43d4b8){var _0x291317=_0x43d4b8['count'],_0x1e1415=_0x37f297[_0x7995('0x21')],_0x37a7d4=_0x37f297['offset']+_0x37f297['limit'],_0x4faa60;if(_0x37a7d4>=_0x291317){_0x37a7d4=_0x291317;_0x4faa60=0xc8;}else{_0x4faa60=0xce;}_0x2f832e[_0x7995('0x1f')](_0x4faa60);return _0x2f832e[_0x7995('0x22')]('Content-Range',_0x1e1415+'-'+_0x37a7d4+'/'+_0x291317)[_0x7995('0x23')](_0x43d4b8);}return null;};}function patchUpdates(_0x51f276){return function(_0x4b1a8e){try{jsonpatch[_0x7995('0x24')](_0x4b1a8e,_0x51f276,!![]);}catch(_0x327b1f){return BPromise[_0x7995('0x25')](_0x327b1f);}return _0x4b1a8e[_0x7995('0x26')]();};}function saveUpdates(_0x460924,_0x1c278a){return function(_0x5d40ae){if(_0x5d40ae){return _0x5d40ae[_0x7995('0x27')](_0x460924)[_0x7995('0x28')](function(_0x204507){return _0x204507;});}return null;};}function removeEntity(_0x285437,_0x563799){return function(_0x13bc35){if(_0x13bc35){return _0x13bc35[_0x7995('0x29')]()[_0x7995('0x28')](function(){_0x285437['status'](0xcc)[_0x7995('0x20')]();});}};}function handleEntityNotFound(_0x34e70c,_0x401dc3){return function(_0x268ce7){if(!_0x268ce7){_0x34e70c[_0x7995('0x1e')](0x194);}return _0x268ce7;};}function handleError(_0x2a307e,_0x56691a){_0x56691a=_0x56691a||0x1f4;return function(_0x47625f){logger['error'](_0x47625f[_0x7995('0x2a')]);if(_0x47625f[_0x7995('0x2b')]){delete _0x47625f[_0x7995('0x2b')];}_0x2a307e[_0x7995('0x1f')](_0x56691a)[_0x7995('0x2c')](_0x47625f);};}exports['index']=function(_0x9b2a15,_0x514445){var _0x456a28={},_0x3250e0={},_0x4253e5={'count':0x0,'rows':[]};var _0x574574=_['map'](db['VoiceQueueReport'][_0x7995('0x2d')],function(_0xe6b0b3){return{'name':_0xe6b0b3[_0x7995('0x2e')],'type':_0xe6b0b3[_0x7995('0x2f')][_0x7995('0x30')]};});_0x3250e0[_0x7995('0x31')]=_['map'](_0x574574,'name');_0x3250e0[_0x7995('0x32')]=_['keys'](_0x9b2a15[_0x7995('0x32')]);_0x3250e0[_0x7995('0x33')]=_[_0x7995('0x34')](_0x3250e0[_0x7995('0x31')],_0x3250e0[_0x7995('0x32')]);_0x456a28['attributes']=_[_0x7995('0x34')](_0x3250e0[_0x7995('0x31')],qs['fields'](_0x9b2a15['query']['fields']));_0x456a28[_0x7995('0x35')]=_0x456a28[_0x7995('0x35')]['length']?_0x456a28[_0x7995('0x35')]:_0x3250e0['model'];if(!_0x9b2a15[_0x7995('0x32')][_0x7995('0x36')](_0x7995('0x37'))){_0x456a28['limit']=qs['limit'](_0x9b2a15[_0x7995('0x32')]['limit']);_0x456a28['offset']=qs[_0x7995('0x21')](_0x9b2a15[_0x7995('0x32')]['offset']);}_0x456a28[_0x7995('0x38')]=qs[_0x7995('0x39')](_0x9b2a15[_0x7995('0x32')][_0x7995('0x39')]);_0x456a28[_0x7995('0x3a')]=qs['filters'](_[_0x7995('0x3b')](_0x9b2a15[_0x7995('0x32')],_0x3250e0[_0x7995('0x33')]),_0x574574);if(_0x9b2a15[_0x7995('0x32')]['filter']){_0x456a28[_0x7995('0x3a')]=_[_0x7995('0x3c')](_0x456a28[_0x7995('0x3a')],{'$or':_[_0x7995('0x3d')](_0x574574,function(_0x1f5bee){if(_0x1f5bee[_0x7995('0x2f')]!=='VIRTUAL'){var _0x183a68={};_0x183a68[_0x1f5bee[_0x7995('0x2b')]]={'$like':'%'+_0x9b2a15[_0x7995('0x32')][_0x7995('0x3e')]+'%'};return _0x183a68;}})});}_0x456a28=_[_0x7995('0x3c')]({},_0x456a28,_0x9b2a15[_0x7995('0x3f')]);var _0x14d638={'where':_0x456a28[_0x7995('0x3a')]};return db[_0x7995('0x40')][_0x7995('0x41')](_0x14d638)[_0x7995('0x28')](function(_0x270d52){_0x4253e5[_0x7995('0x41')]=_0x270d52;if(_0x9b2a15['query']['includeAll']){_0x456a28[_0x7995('0x42')]=[{'all':!![]}];}return db[_0x7995('0x40')]['findAll'](_0x456a28);})['then'](function(_0x3f8522){_0x4253e5['rows']=_0x3f8522;return _0x4253e5;})['then'](respondWithFilteredResult(_0x514445,_0x456a28))[_0x7995('0x43')](handleError(_0x514445,null));};exports[_0x7995('0x44')]=function(_0x35c8ff,_0x576b96){var _0x46ac4f={'raw':![],'where':{'id':_0x35c8ff[_0x7995('0x45')]['id']}},_0x5e85b9={};_0x5e85b9['model']=_['keys'](db[_0x7995('0x40')][_0x7995('0x2d')]);_0x5e85b9[_0x7995('0x32')]=_[_0x7995('0x46')](_0x35c8ff['query']);_0x5e85b9[_0x7995('0x33')]=_[_0x7995('0x34')](_0x5e85b9[_0x7995('0x31')],_0x5e85b9[_0x7995('0x32')]);_0x46ac4f['attributes']=_['intersection'](_0x5e85b9[_0x7995('0x31')],qs['fields'](_0x35c8ff[_0x7995('0x32')]['fields']));_0x46ac4f[_0x7995('0x35')]=_0x46ac4f['attributes'][_0x7995('0x47')]?_0x46ac4f[_0x7995('0x35')]:_0x5e85b9['model'];if(_0x35c8ff[_0x7995('0x32')][_0x7995('0x48')]){_0x46ac4f[_0x7995('0x42')]=[{'all':!![]}];}_0x46ac4f=_[_0x7995('0x3c')]({},_0x46ac4f,_0x35c8ff['options']);return db[_0x7995('0x40')][_0x7995('0x49')](_0x46ac4f)[_0x7995('0x28')](handleEntityNotFound(_0x576b96,null))['then'](respondWithResult(_0x576b96,null))[_0x7995('0x43')](handleError(_0x576b96,null));};exports[_0x7995('0x4a')]=function(_0x511567,_0x3d8ae3){return db[_0x7995('0x40')]['create'](_0x511567[_0x7995('0x4b')],{})[_0x7995('0x28')](respondWithResult(_0x3d8ae3,0xc9))['catch'](handleError(_0x3d8ae3,null));};exports[_0x7995('0x27')]=function(_0x5843ba,_0x1d87f9){if(_0x5843ba[_0x7995('0x4b')]['id']){delete _0x5843ba[_0x7995('0x4b')]['id'];}return db[_0x7995('0x40')][_0x7995('0x49')]({'where':{'id':_0x5843ba[_0x7995('0x45')]['id']}})[_0x7995('0x28')](handleEntityNotFound(_0x1d87f9,null))['then'](saveUpdates(_0x5843ba[_0x7995('0x4b')],null))[_0x7995('0x28')](respondWithResult(_0x1d87f9,null))[_0x7995('0x43')](handleError(_0x1d87f9,null));};exports['destroy']=function(_0x19da63,_0x1fe77e){return db[_0x7995('0x40')]['find']({'where':{'id':_0x19da63['params']['id']}})['then'](handleEntityNotFound(_0x1fe77e,null))[_0x7995('0x28')](removeEntity(_0x1fe77e,null))[_0x7995('0x43')](handleError(_0x1fe77e,null));};exports['describe']=function(_0x1cd85,_0x29f300){return db[_0x7995('0x40')][_0x7995('0x4c')]()[_0x7995('0x28')](respondWithResult(_0x29f300,null))['catch'](handleError(_0x29f300,null));};exports[_0x7995('0x4d')]=function(_0x4ab09f,_0x14fe7f){var _0x33c801={},_0x206d2a={},_0x50c7b5={'count':0x0,'rows':[]};_0x206d2a['model']=_['keys'](db['VoiceQueueReport'][_0x7995('0x2d')]);_0x206d2a[_0x7995('0x32')]=_[_0x7995('0x46')](_0x4ab09f[_0x7995('0x32')]);_0x206d2a[_0x7995('0x33')]=_[_0x7995('0x34')](_0x206d2a[_0x7995('0x31')],_0x206d2a[_0x7995('0x32')]);_0x33c801[_0x7995('0x35')]=_[_0x7995('0x34')](_0x206d2a[_0x7995('0x31')],qs[_0x7995('0x4e')](_0x4ab09f[_0x7995('0x32')][_0x7995('0x4e')]));_0x33c801[_0x7995('0x35')]=_0x33c801[_0x7995('0x35')][_0x7995('0x47')]?_0x33c801[_0x7995('0x35')]:_0x206d2a[_0x7995('0x31')];if(!_0x4ab09f['query'][_0x7995('0x36')](_0x7995('0x37'))){_0x33c801[_0x7995('0x4f')]=qs[_0x7995('0x4f')](_0x4ab09f['query']['limit']);_0x33c801[_0x7995('0x21')]=qs[_0x7995('0x21')](_0x4ab09f[_0x7995('0x32')][_0x7995('0x21')]);}_0x33c801['order']=qs[_0x7995('0x39')](_0x4ab09f[_0x7995('0x32')][_0x7995('0x39')]);_0x33c801[_0x7995('0x3a')]=qs['filters'](_['pick'](_0x4ab09f[_0x7995('0x32')],_0x206d2a[_0x7995('0x33')]));if(_0x4ab09f[_0x7995('0x32')][_0x7995('0x3e')]){_0x33c801[_0x7995('0x3a')]=_[_0x7995('0x3c')](_0x33c801[_0x7995('0x3a')],{'$or':_[_0x7995('0x3d')](_0x33c801[_0x7995('0x35')],function(_0x50caf5){var _0x18f230={};_0x18f230[_0x50caf5]={'$like':'%'+_0x4ab09f[_0x7995('0x32')][_0x7995('0x3e')]+'%'};return _0x18f230;})});}_0x33c801=_[_0x7995('0x3c')]({},_0x33c801,_0x4ab09f['options']);var _0x51bf6a={'where':_0x33c801[_0x7995('0x3a')]};return db[_0x7995('0x40')]['count'](_0x51bf6a)[_0x7995('0x28')](function(_0x375fc9){_0x50c7b5[_0x7995('0x41')]=_0x375fc9;if(_0x4ab09f[_0x7995('0x32')][_0x7995('0x48')]){_0x33c801['include']=[{'all':!![]}];}return db[_0x7995('0x40')]['findAll'](_0x33c801);})[_0x7995('0x28')](function(_0xe31dcb){_0x50c7b5[_0x7995('0x50')]=_0xe31dcb;return _0x50c7b5;})[_0x7995('0x28')](respondWithFilteredResult(_0x14fe7f,_0x33c801,_0x7995('0x4d')))[_0x7995('0x43')](handleError(_0x14fe7f,null,_0x7995('0x4d')));}; \ No newline at end of file +var _0x7a54=['hasOwnProperty','order','sort','where','pick','filter','merge','type','VIRTUAL','VoiceQueueReport','includeAll','include','findAll','rows','catch','show','keys','options','find','create','body','params','describe','getVoiceQueuesReport','intersection','html-pdf','eml-format','rimraf','fast-json-patch','request-promise','bluebird','mustache','util','path','sox','ejs','squel','crypto','desk.js','ioredis','../../components/auth/service','../../components/parsers/advancedSearch','api','../../config/utils','../../config/environment','../../mysqldb','redis','defaults','socket.io-emitter','./voiceQueueReport.socket','register','sendStatus','end','status','count','offset','limit','set','json','apply','reject','update','destroy','then','error','stack','name','send','index','map','rawAttributes','fieldName','key','model','query','filters','attributes','fields','length'];(function(_0x4a747d,_0x3b747f){var _0x3a5b5c=function(_0x4b3e81){while(--_0x4b3e81){_0x4a747d['push'](_0x4a747d['shift']());}};_0x3a5b5c(++_0x3b747f);}(_0x7a54,0x106));var _0x47a5=function(_0xe556fc,_0x51b79e){_0xe556fc=_0xe556fc-0x0;var _0x3f3cbe=_0x7a54[_0xe556fc];return _0x3f3cbe;};'use strict';var pdf=require(_0x47a5('0x0'));var emlformat=require(_0x47a5('0x1'));var rimraf=require(_0x47a5('0x2'));var zipdir=require('zip-dir');var jsonpatch=require(_0x47a5('0x3'));var rp=require(_0x47a5('0x4'));var moment=require('moment');var BPromise=require(_0x47a5('0x5'));var Mustache=require(_0x47a5('0x6'));var util=require(_0x47a5('0x7'));var path=require(_0x47a5('0x8'));var sox=require(_0x47a5('0x9'));var csv=require('to-csv');var ejs=require(_0x47a5('0xa'));var fs=require('fs');var _=require('lodash');var squel=require(_0x47a5('0xb'));var crypto=require(_0x47a5('0xc'));var jsforce=require('jsforce');var deskjs=require(_0x47a5('0xd'));var toCsv=require('to-csv');var querystring=require('querystring');var Papa=require('papaparse');var Redis=require(_0x47a5('0xe'));var authService=require(_0x47a5('0xf'));var qs=require('../../components/parsers/qs');var as=require(_0x47a5('0x10'));var hardwareService=require('../../config/license/hardware');var logger=require('../../config/logger')(_0x47a5('0x11'));var utils=require(_0x47a5('0x12'));var config=require(_0x47a5('0x13'));var db=require(_0x47a5('0x14'))['db'];config[_0x47a5('0x15')]=_[_0x47a5('0x16')](config[_0x47a5('0x15')],{'host':'localhost','port':0x18eb});var socket=require(_0x47a5('0x17'))(new Redis(config[_0x47a5('0x15')]));require(_0x47a5('0x18'))[_0x47a5('0x19')](socket);function respondWithStatusCode(_0x139f25,_0x620ee9){_0x620ee9=_0x620ee9||0xcc;return function(_0x3c6c46){if(_0x3c6c46){return _0x139f25[_0x47a5('0x1a')](_0x620ee9);}return _0x139f25['status'](_0x620ee9)[_0x47a5('0x1b')]();};}function respondWithResult(_0x11faf5,_0x3b001e){_0x3b001e=_0x3b001e||0xc8;return function(_0x2a2cbb){if(_0x2a2cbb){return _0x11faf5[_0x47a5('0x1c')](_0x3b001e)['json'](_0x2a2cbb);}};}function respondWithFilteredResult(_0x549de3,_0x138bc0){return function(_0x4b966e){if(_0x4b966e){var _0x5247fd=_0x4b966e[_0x47a5('0x1d')],_0x423a81=_0x138bc0[_0x47a5('0x1e')],_0xaf70a6=_0x138bc0[_0x47a5('0x1e')]+_0x138bc0[_0x47a5('0x1f')],_0x2ce454;if(_0xaf70a6>=_0x5247fd){_0xaf70a6=_0x5247fd;_0x2ce454=0xc8;}else{_0x2ce454=0xce;}_0x549de3[_0x47a5('0x1c')](_0x2ce454);return _0x549de3[_0x47a5('0x20')]('Content-Range',_0x423a81+'-'+_0xaf70a6+'/'+_0x5247fd)[_0x47a5('0x21')](_0x4b966e);}return null;};}function patchUpdates(_0xf160ba){return function(_0x47cf3c){try{jsonpatch[_0x47a5('0x22')](_0x47cf3c,_0xf160ba,!![]);}catch(_0x1f03f7){return BPromise[_0x47a5('0x23')](_0x1f03f7);}return _0x47cf3c['save']();};}function saveUpdates(_0xb8ae6c,_0x2f142b){return function(_0x23db32){if(_0x23db32){return _0x23db32[_0x47a5('0x24')](_0xb8ae6c)['then'](function(_0xe2dea9){return _0xe2dea9;});}return null;};}function removeEntity(_0x385687,_0x513981){return function(_0x28747d){if(_0x28747d){return _0x28747d[_0x47a5('0x25')]()[_0x47a5('0x26')](function(){_0x385687[_0x47a5('0x1c')](0xcc)[_0x47a5('0x1b')]();});}};}function handleEntityNotFound(_0x50bf17,_0x53078a){return function(_0x136745){if(!_0x136745){_0x50bf17['sendStatus'](0x194);}return _0x136745;};}function handleError(_0x1ea9c8,_0x5b6c4e){_0x5b6c4e=_0x5b6c4e||0x1f4;return function(_0x23cb77){logger[_0x47a5('0x27')](_0x23cb77[_0x47a5('0x28')]);if(_0x23cb77[_0x47a5('0x29')]){delete _0x23cb77[_0x47a5('0x29')];}_0x1ea9c8[_0x47a5('0x1c')](_0x5b6c4e)[_0x47a5('0x2a')](_0x23cb77);};}exports[_0x47a5('0x2b')]=function(_0x16631f,_0x361bfa){var _0x1127f8={},_0x11a4fa={},_0x3ad507={'count':0x0,'rows':[]};var _0x528582=_[_0x47a5('0x2c')](db['VoiceQueueReport'][_0x47a5('0x2d')],function(_0x9ac908){return{'name':_0x9ac908[_0x47a5('0x2e')],'type':_0x9ac908['type'][_0x47a5('0x2f')]};});_0x11a4fa[_0x47a5('0x30')]=_[_0x47a5('0x2c')](_0x528582,_0x47a5('0x29'));_0x11a4fa['query']=_['keys'](_0x16631f[_0x47a5('0x31')]);_0x11a4fa[_0x47a5('0x32')]=_['intersection'](_0x11a4fa['model'],_0x11a4fa[_0x47a5('0x31')]);_0x1127f8[_0x47a5('0x33')]=_['intersection'](_0x11a4fa[_0x47a5('0x30')],qs['fields'](_0x16631f[_0x47a5('0x31')][_0x47a5('0x34')]));_0x1127f8['attributes']=_0x1127f8['attributes'][_0x47a5('0x35')]?_0x1127f8['attributes']:_0x11a4fa[_0x47a5('0x30')];if(!_0x16631f[_0x47a5('0x31')][_0x47a5('0x36')]('nolimit')){_0x1127f8[_0x47a5('0x1f')]=qs['limit'](_0x16631f['query'][_0x47a5('0x1f')]);_0x1127f8['offset']=qs[_0x47a5('0x1e')](_0x16631f['query'][_0x47a5('0x1e')]);}_0x1127f8[_0x47a5('0x37')]=qs[_0x47a5('0x38')](_0x16631f[_0x47a5('0x31')][_0x47a5('0x38')]);_0x1127f8[_0x47a5('0x39')]=qs[_0x47a5('0x32')](_[_0x47a5('0x3a')](_0x16631f[_0x47a5('0x31')],_0x11a4fa['filters']),_0x528582);if(_0x16631f[_0x47a5('0x31')][_0x47a5('0x3b')]){_0x1127f8['where']=_[_0x47a5('0x3c')](_0x1127f8[_0x47a5('0x39')],{'$or':_[_0x47a5('0x2c')](_0x528582,function(_0x49c4b5){if(_0x49c4b5[_0x47a5('0x3d')]!==_0x47a5('0x3e')){var _0x596097={};_0x596097[_0x49c4b5[_0x47a5('0x29')]]={'$like':'%'+_0x16631f[_0x47a5('0x31')]['filter']+'%'};return _0x596097;}})});}_0x1127f8=_['merge']({},_0x1127f8,_0x16631f['options']);var _0x12d9f2={'where':_0x1127f8['where']};return db[_0x47a5('0x3f')][_0x47a5('0x1d')](_0x12d9f2)[_0x47a5('0x26')](function(_0x111f0d){_0x3ad507[_0x47a5('0x1d')]=_0x111f0d;if(_0x16631f[_0x47a5('0x31')][_0x47a5('0x40')]){_0x1127f8[_0x47a5('0x41')]=[{'all':!![]}];}return db[_0x47a5('0x3f')][_0x47a5('0x42')](_0x1127f8);})[_0x47a5('0x26')](function(_0x1658e8){_0x3ad507[_0x47a5('0x43')]=_0x1658e8;return _0x3ad507;})['then'](respondWithFilteredResult(_0x361bfa,_0x1127f8))[_0x47a5('0x44')](handleError(_0x361bfa,null));};exports[_0x47a5('0x45')]=function(_0x331474,_0x23bd8d){var _0x586f4f={'raw':![],'where':{'id':_0x331474['params']['id']}},_0x7de536={};_0x7de536['model']=_['keys'](db['VoiceQueueReport'][_0x47a5('0x2d')]);_0x7de536['query']=_[_0x47a5('0x46')](_0x331474[_0x47a5('0x31')]);_0x7de536[_0x47a5('0x32')]=_['intersection'](_0x7de536[_0x47a5('0x30')],_0x7de536[_0x47a5('0x31')]);_0x586f4f['attributes']=_['intersection'](_0x7de536[_0x47a5('0x30')],qs['fields'](_0x331474[_0x47a5('0x31')][_0x47a5('0x34')]));_0x586f4f[_0x47a5('0x33')]=_0x586f4f[_0x47a5('0x33')][_0x47a5('0x35')]?_0x586f4f[_0x47a5('0x33')]:_0x7de536[_0x47a5('0x30')];if(_0x331474[_0x47a5('0x31')][_0x47a5('0x40')]){_0x586f4f[_0x47a5('0x41')]=[{'all':!![]}];}_0x586f4f=_[_0x47a5('0x3c')]({},_0x586f4f,_0x331474[_0x47a5('0x47')]);return db[_0x47a5('0x3f')][_0x47a5('0x48')](_0x586f4f)[_0x47a5('0x26')](handleEntityNotFound(_0x23bd8d,null))[_0x47a5('0x26')](respondWithResult(_0x23bd8d,null))['catch'](handleError(_0x23bd8d,null));};exports[_0x47a5('0x49')]=function(_0x23bb04,_0x49eab1){return db['VoiceQueueReport'][_0x47a5('0x49')](_0x23bb04['body'],{})[_0x47a5('0x26')](respondWithResult(_0x49eab1,0xc9))[_0x47a5('0x44')](handleError(_0x49eab1,null));};exports['update']=function(_0x4f62d3,_0x3d85cc){if(_0x4f62d3['body']['id']){delete _0x4f62d3[_0x47a5('0x4a')]['id'];}return db[_0x47a5('0x3f')][_0x47a5('0x48')]({'where':{'id':_0x4f62d3[_0x47a5('0x4b')]['id']}})[_0x47a5('0x26')](handleEntityNotFound(_0x3d85cc,null))[_0x47a5('0x26')](saveUpdates(_0x4f62d3[_0x47a5('0x4a')],null))['then'](respondWithResult(_0x3d85cc,null))['catch'](handleError(_0x3d85cc,null));};exports[_0x47a5('0x25')]=function(_0x411230,_0x1163e3){return db[_0x47a5('0x3f')][_0x47a5('0x48')]({'where':{'id':_0x411230[_0x47a5('0x4b')]['id']}})[_0x47a5('0x26')](handleEntityNotFound(_0x1163e3,null))['then'](removeEntity(_0x1163e3,null))[_0x47a5('0x44')](handleError(_0x1163e3,null));};exports[_0x47a5('0x4c')]=function(_0x5f6a,_0x5c3c75){return db[_0x47a5('0x3f')]['describe']()[_0x47a5('0x26')](respondWithResult(_0x5c3c75,null))[_0x47a5('0x44')](handleError(_0x5c3c75,null));};exports[_0x47a5('0x4d')]=function(_0xf03bd5,_0x588551){var _0x3adf14={},_0x1e6de3={},_0x2f66e9={'count':0x0,'rows':[]};_0x1e6de3[_0x47a5('0x30')]=_[_0x47a5('0x46')](db[_0x47a5('0x3f')][_0x47a5('0x2d')]);_0x1e6de3['query']=_[_0x47a5('0x46')](_0xf03bd5[_0x47a5('0x31')]);_0x1e6de3[_0x47a5('0x32')]=_[_0x47a5('0x4e')](_0x1e6de3[_0x47a5('0x30')],_0x1e6de3[_0x47a5('0x31')]);_0x3adf14['attributes']=_[_0x47a5('0x4e')](_0x1e6de3[_0x47a5('0x30')],qs[_0x47a5('0x34')](_0xf03bd5['query'][_0x47a5('0x34')]));_0x3adf14[_0x47a5('0x33')]=_0x3adf14[_0x47a5('0x33')]['length']?_0x3adf14['attributes']:_0x1e6de3[_0x47a5('0x30')];if(!_0xf03bd5[_0x47a5('0x31')]['hasOwnProperty']('nolimit')){_0x3adf14[_0x47a5('0x1f')]=qs['limit'](_0xf03bd5[_0x47a5('0x31')]['limit']);_0x3adf14['offset']=qs[_0x47a5('0x1e')](_0xf03bd5[_0x47a5('0x31')]['offset']);}_0x3adf14[_0x47a5('0x37')]=qs[_0x47a5('0x38')](_0xf03bd5['query']['sort']);_0x3adf14[_0x47a5('0x39')]=qs[_0x47a5('0x32')](_[_0x47a5('0x3a')](_0xf03bd5[_0x47a5('0x31')],_0x1e6de3['filters']));if(_0xf03bd5[_0x47a5('0x31')][_0x47a5('0x3b')]){_0x3adf14[_0x47a5('0x39')]=_['merge'](_0x3adf14[_0x47a5('0x39')],{'$or':_['map'](_0x3adf14[_0x47a5('0x33')],function(_0x470da6){var _0x943a15={};_0x943a15[_0x470da6]={'$like':'%'+_0xf03bd5[_0x47a5('0x31')][_0x47a5('0x3b')]+'%'};return _0x943a15;})});}_0x3adf14=_['merge']({},_0x3adf14,_0xf03bd5[_0x47a5('0x47')]);var _0x5d1550={'where':_0x3adf14['where']};return db['VoiceQueueReport']['count'](_0x5d1550)[_0x47a5('0x26')](function(_0x6cd4ea){_0x2f66e9[_0x47a5('0x1d')]=_0x6cd4ea;if(_0xf03bd5['query']['includeAll']){_0x3adf14[_0x47a5('0x41')]=[{'all':!![]}];}return db[_0x47a5('0x3f')][_0x47a5('0x42')](_0x3adf14);})[_0x47a5('0x26')](function(_0xc45e25){_0x2f66e9['rows']=_0xc45e25;return _0x2f66e9;})[_0x47a5('0x26')](respondWithFilteredResult(_0x588551,_0x3adf14,'getVoiceQueuesReport'))[_0x47a5('0x44')](handleError(_0x588551,null,_0x47a5('0x4d')));}; \ No newline at end of file diff --git a/server/api/voiceQueueReport/voiceQueueReport.events.js b/server/api/voiceQueueReport/voiceQueueReport.events.js index 210cb2c..48c7125 100644 --- a/server/api/voiceQueueReport/voiceQueueReport.events.js +++ b/server/api/voiceQueueReport/voiceQueueReport.events.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xda4e=['events','setMaxListeners','update','emit','hasOwnProperty','hook'];(function(_0x924c44,_0x326ffa){var _0x2c0cb3=function(_0x3dd9c6){while(--_0x3dd9c6){_0x924c44['push'](_0x924c44['shift']());}};_0x2c0cb3(++_0x326ffa);}(_0xda4e,0x15c));var _0xeda4=function(_0x516161,_0x207823){_0x516161=_0x516161-0x0;var _0x3a89fa=_0xda4e[_0x516161];return _0x3a89fa;};'use strict';var EventEmitter=require(_0xeda4('0x0'));var VoiceQueueReport=require('../../mysqldb')['db']['VoiceQueueReport'];var VoiceQueueReportEvents=new EventEmitter();VoiceQueueReportEvents[_0xeda4('0x1')](0x0);var events={'afterCreate':'save','afterUpdate':_0xeda4('0x2'),'afterDestroy':'remove'};function emitEvent(_0x3118e3){return function(_0x5a80d2,_0x2f6351,_0x5e91f7){VoiceQueueReportEvents['emit'](_0x3118e3+':'+_0x5a80d2['id'],_0x5a80d2);VoiceQueueReportEvents[_0xeda4('0x3')](_0x3118e3,_0x5a80d2);_0x5e91f7(null);};}for(var e in events){if(events[_0xeda4('0x4')](e)){var event=events[e];VoiceQueueReport[_0xeda4('0x5')](e,emitEvent(event));}}module['exports']=VoiceQueueReportEvents; \ No newline at end of file +var _0x7391=['../../mysqldb','setMaxListeners','save','update','remove','emit','hasOwnProperty','hook','exports','events'];(function(_0x2bd041,_0x2c45b6){var _0x337b51=function(_0x4d199f){while(--_0x4d199f){_0x2bd041['push'](_0x2bd041['shift']());}};_0x337b51(++_0x2c45b6);}(_0x7391,0x8b));var _0x1739=function(_0x75267d,_0x5d286c){_0x75267d=_0x75267d-0x0;var _0x21ccec=_0x7391[_0x75267d];return _0x21ccec;};'use strict';var EventEmitter=require(_0x1739('0x0'));var VoiceQueueReport=require(_0x1739('0x1'))['db']['VoiceQueueReport'];var VoiceQueueReportEvents=new EventEmitter();VoiceQueueReportEvents[_0x1739('0x2')](0x0);var events={'afterCreate':_0x1739('0x3'),'afterUpdate':_0x1739('0x4'),'afterDestroy':_0x1739('0x5')};function emitEvent(_0x460210){return function(_0x4121a5,_0x3edfa4,_0x5aed05){VoiceQueueReportEvents['emit'](_0x460210+':'+_0x4121a5['id'],_0x4121a5);VoiceQueueReportEvents[_0x1739('0x6')](_0x460210,_0x4121a5);_0x5aed05(null);};}for(var e in events){if(events[_0x1739('0x7')](e)){var event=events[e];VoiceQueueReport[_0x1739('0x8')](e,emitEvent(event));}}module[_0x1739('0x9')]=VoiceQueueReportEvents; \ No newline at end of file diff --git a/server/api/voiceQueueReport/voiceQueueReport.model.js b/server/api/voiceQueueReport/voiceQueueReport.model.js index 9697571..6ad8fbf 100644 --- a/server/api/voiceQueueReport/voiceQueueReport.model.js +++ b/server/api/voiceQueueReport/voiceQueueReport.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x5f2f=['VoiceQueueReport','uniqueid','calleridnum','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','./voiceQueueReport.attributes','exports','define'];(function(_0x163bc9,_0x4b6796){var _0xb94e42=function(_0x3529e3){while(--_0x3529e3){_0x163bc9['push'](_0x163bc9['shift']());}};_0xb94e42(++_0x4b6796);}(_0x5f2f,0x73));var _0xf5f2=function(_0x2cd735,_0x351a89){_0x2cd735=_0x2cd735-0x0;var _0x35127a=_0x5f2f[_0x2cd735];return _0x35127a;};'use strict';var _=require(_0xf5f2('0x0'));var util=require(_0xf5f2('0x1'));var logger=require(_0xf5f2('0x2'))(_0xf5f2('0x3'));var moment=require(_0xf5f2('0x4'));var BPromise=require(_0xf5f2('0x5'));var rp=require(_0xf5f2('0x6'));var fs=require('fs');var path=require(_0xf5f2('0x7'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0xf5f2('0x8'));module[_0xf5f2('0x9')]=function(_0xad7f65,_0x3eebf6){return _0xad7f65[_0xf5f2('0xa')](_0xf5f2('0xb'),attributes,{'tableName':'report_queue','paranoid':![],'indexes':[{'fields':[_0xf5f2('0xc')]},{'fields':[_0xf5f2('0xd')]}],'timestamps':!![]});}; \ No newline at end of file +var _0xb10b=['define','report_queue','uniqueid','calleridnum','lodash','../../config/logger','api','moment','request-promise','path','rimraf','../../config/environment','./voiceQueueReport.attributes','exports'];(function(_0x3e8930,_0x154364){var _0x15b38f=function(_0x34c7ae){while(--_0x34c7ae){_0x3e8930['push'](_0x3e8930['shift']());}};_0x15b38f(++_0x154364);}(_0xb10b,0x12a));var _0xbb10=function(_0x43c3db,_0x36ea7b){_0x43c3db=_0x43c3db-0x0;var _0x45e6b0=_0xb10b[_0x43c3db];return _0x45e6b0;};'use strict';var _=require(_0xbb10('0x0'));var util=require('util');var logger=require(_0xbb10('0x1'))(_0xbb10('0x2'));var moment=require(_0xbb10('0x3'));var BPromise=require('bluebird');var rp=require(_0xbb10('0x4'));var fs=require('fs');var path=require(_0xbb10('0x5'));var rimraf=require(_0xbb10('0x6'));var config=require(_0xbb10('0x7'));var attributes=require(_0xbb10('0x8'));module[_0xbb10('0x9')]=function(_0x481979,_0x328583){return _0x481979[_0xbb10('0xa')]('VoiceQueueReport',attributes,{'tableName':_0xbb10('0xb'),'paranoid':![],'indexes':[{'fields':[_0xbb10('0xc')]},{'fields':[_0xbb10('0xd')]}],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/voiceQueueReport/voiceQueueReport.rpc.js b/server/api/voiceQueueReport/voiceQueueReport.rpc.js index 00f1091..ea6195d 100644 --- a/server/api/voiceQueueReport/voiceQueueReport.rpc.js +++ b/server/api/voiceQueueReport/voiceQueueReport.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x3600=['body','CreateVoiceQueueReport','UpdateVoiceQueueReport','VoiceQueueReport','update','util','moment','bluebird','randomstring','../../mysqldb','rpc','../../config/environment','jayson/promise','defaults','localhost','socket.io-emitter','redis','register','request','info','VoiceQueueReport,\x20%s,\x20%s','debug','request\x20sent','stringify','error','code','message','result','catch','findAll','options','raw','where','limit','include','map','model','attributes','then','GetVoiceQueueReport','create'];(function(_0x321bb2,_0x202794){var _0x9c12ed=function(_0x263dd3){while(--_0x263dd3){_0x321bb2['push'](_0x321bb2['shift']());}};_0x9c12ed(++_0x202794);}(_0x3600,0x14d));var _0x0360=function(_0x513cd0,_0x143093){_0x513cd0=_0x513cd0-0x0;var _0x3e8ed6=_0x3600[_0x513cd0];return _0x3e8ed6;};'use strict';var _=require('lodash');var util=require(_0x0360('0x0'));var moment=require(_0x0360('0x1'));var BPromise=require(_0x0360('0x2'));var rs=require(_0x0360('0x3'));var fs=require('fs');var Redis=require('ioredis');var db=require(_0x0360('0x4'))['db'];var utils=require('../../config/utils');var logger=require('../../config/logger')(_0x0360('0x5'));var config=require(_0x0360('0x6'));var jayson=require(_0x0360('0x7'));var client=jayson['client']['http']({'port':0x232a});config['redis']=_[_0x0360('0x8')](config['redis'],{'host':_0x0360('0x9'),'port':0x18eb});var socket=require(_0x0360('0xa'))(new Redis(config[_0x0360('0xb')]));require('./voiceQueueReport.socket')[_0x0360('0xc')](socket);function respondWithRpcPromise(_0x58bb5e,_0x3ed424,_0x329818){return new BPromise(function(_0x217609,_0x5f596f){return client[_0x0360('0xd')](_0x58bb5e,_0x329818)['then'](function(_0x270d24){logger[_0x0360('0xe')](_0x0360('0xf'),_0x3ed424,'request\x20sent');logger[_0x0360('0x10')]('VoiceQueueReport,\x20%s,\x20%s,\x20%s',_0x3ed424,_0x0360('0x11'),JSON[_0x0360('0x12')](_0x270d24));if(_0x270d24[_0x0360('0x13')]){if(_0x270d24[_0x0360('0x13')][_0x0360('0x14')]===0x1f4){logger[_0x0360('0x13')](_0x0360('0xf'),_0x3ed424,_0x270d24[_0x0360('0x13')][_0x0360('0x15')]);return _0x5f596f(_0x270d24['error']['message']);}logger[_0x0360('0x13')]('VoiceQueueReport,\x20%s,\x20%s',_0x3ed424,_0x270d24['error'][_0x0360('0x15')]);return _0x217609(_0x270d24[_0x0360('0x13')][_0x0360('0x15')]);}else{logger[_0x0360('0xe')](_0x0360('0xf'),_0x3ed424,_0x0360('0x11'));_0x217609(_0x270d24[_0x0360('0x16')][_0x0360('0x15')]);}})[_0x0360('0x17')](function(_0x35ac74){logger[_0x0360('0x13')](_0x0360('0xf'),_0x3ed424,_0x35ac74);_0x5f596f(_0x35ac74);});});}exports['GetVoiceQueueReport']=function(_0x4109e8){var _0x424039=this;return new Promise(function(_0x47d35c,_0x18bfb2){return db['VoiceQueueReport'][_0x0360('0x18')]({'raw':_0x4109e8['options']?_0x4109e8[_0x0360('0x19')][_0x0360('0x1a')]===undefined?!![]:![]:!![],'where':_0x4109e8['options']?_0x4109e8[_0x0360('0x19')][_0x0360('0x1b')]||null:null,'attributes':_0x4109e8['options']?_0x4109e8[_0x0360('0x19')]['attributes']||null:null,'limit':_0x4109e8['options']?_0x4109e8[_0x0360('0x19')][_0x0360('0x1c')]||null:null,'include':_0x4109e8[_0x0360('0x19')]?_0x4109e8['options'][_0x0360('0x1d')]?_[_0x0360('0x1e')](_0x4109e8[_0x0360('0x19')][_0x0360('0x1d')],function(_0x54bb5f){return{'model':db[_0x54bb5f[_0x0360('0x1f')]],'as':_0x54bb5f['as'],'attributes':_0x54bb5f['attributes'],'include':_0x54bb5f[_0x0360('0x1d')]?_[_0x0360('0x1e')](_0x54bb5f[_0x0360('0x1d')],function(_0xf50a8){return{'model':db[_0xf50a8[_0x0360('0x1f')]],'as':_0xf50a8['as'],'attributes':_0xf50a8[_0x0360('0x20')],'include':_0xf50a8['include']?_[_0x0360('0x1e')](_0xf50a8['include'],function(_0x53cdfa){return{'model':db[_0x53cdfa[_0x0360('0x1f')]],'as':_0x53cdfa['as'],'attributes':_0x53cdfa[_0x0360('0x20')]};}):[]};}):[]};}):[]:[]})[_0x0360('0x21')](function(_0x459d4c){logger[_0x0360('0xe')](_0x0360('0x22'),_0x4109e8);logger[_0x0360('0x10')](_0x0360('0x22'),_0x4109e8,JSON['stringify'](_0x459d4c));_0x47d35c(_0x459d4c);})[_0x0360('0x17')](function(_0x500553){logger[_0x0360('0x13')](_0x0360('0x22'),_0x500553[_0x0360('0x15')],_0x4109e8);_0x18bfb2(_0x424039[_0x0360('0x13')](0x1f4,_0x500553[_0x0360('0x15')]));});});};exports['CreateVoiceQueueReport']=function(_0x53419b){var _0x52be73=this;return new Promise(function(_0x6538d1,_0x4591c6){return db['VoiceQueueReport'][_0x0360('0x23')](_0x53419b[_0x0360('0x24')],{'raw':_0x53419b[_0x0360('0x19')]?_0x53419b['options'][_0x0360('0x1a')]===undefined?!![]:![]:!![]})[_0x0360('0x21')](function(_0xc04d2d){logger['info'](_0x0360('0x25'),_0x53419b);logger[_0x0360('0x10')](_0x0360('0x25'),_0x53419b,JSON['stringify'](_0xc04d2d));_0x6538d1(_0xc04d2d);})['catch'](function(_0x1f4e45){logger[_0x0360('0x13')](_0x0360('0x25'),_0x1f4e45[_0x0360('0x15')],_0x53419b);_0x4591c6(_0x52be73[_0x0360('0x13')](0x1f4,_0x1f4e45[_0x0360('0x15')]));});});};exports[_0x0360('0x26')]=function(_0x2938c8){var _0x16d5bf=this;return new Promise(function(_0x242857,_0x5cc038){return db[_0x0360('0x27')][_0x0360('0x28')](_0x2938c8[_0x0360('0x24')],{'raw':_0x2938c8[_0x0360('0x19')]?_0x2938c8[_0x0360('0x19')][_0x0360('0x1a')]===undefined?!![]:![]:!![],'individualHooks':!![],'where':_0x2938c8[_0x0360('0x19')]?_0x2938c8[_0x0360('0x19')][_0x0360('0x1b')]||null:null,'attributes':_0x2938c8[_0x0360('0x19')]?_0x2938c8[_0x0360('0x19')][_0x0360('0x20')]||null:null,'limit':_0x2938c8[_0x0360('0x19')]?_0x2938c8[_0x0360('0x19')][_0x0360('0x1c')]||null:null})['then'](function(_0x1dd2c0){logger['info'](_0x0360('0x26'),_0x2938c8);logger[_0x0360('0x10')](_0x0360('0x26'),_0x2938c8,JSON['stringify'](_0x1dd2c0));_0x242857(_0x1dd2c0);})[_0x0360('0x17')](function(_0x3c9e21){logger[_0x0360('0x13')]('UpdateVoiceQueueReport',_0x3c9e21[_0x0360('0x15')],_0x2938c8);_0x5cc038(_0x16d5bf[_0x0360('0x13')](0x1f4,_0x3c9e21[_0x0360('0x15')]));});});}; \ No newline at end of file +var _0x1055=['findAll','options','attributes','limit','include','model','map','info','GetVoiceQueueReport','stringify','CreateVoiceQueueReport','VoiceQueueReport','create','body','raw','update','UpdateVoiceQueueReport','lodash','moment','randomstring','ioredis','../../mysqldb','../../config/utils','rpc','../../config/environment','client','http','redis','defaults','localhost','socket.io-emitter','./voiceQueueReport.socket','request','then','VoiceQueueReport,\x20%s,\x20%s','request\x20sent','debug','VoiceQueueReport,\x20%s,\x20%s,\x20%s','error','code','message','result','catch'];(function(_0x235482,_0x14b833){var _0x5f5bea=function(_0x17a254){while(--_0x17a254){_0x235482['push'](_0x235482['shift']());}};_0x5f5bea(++_0x14b833);}(_0x1055,0x67));var _0x5105=function(_0x1e235e,_0x994b77){_0x1e235e=_0x1e235e-0x0;var _0x1e8e94=_0x1055[_0x1e235e];return _0x1e8e94;};'use strict';var _=require(_0x5105('0x0'));var util=require('util');var moment=require(_0x5105('0x1'));var BPromise=require('bluebird');var rs=require(_0x5105('0x2'));var fs=require('fs');var Redis=require(_0x5105('0x3'));var db=require(_0x5105('0x4'))['db'];var utils=require(_0x5105('0x5'));var logger=require('../../config/logger')(_0x5105('0x6'));var config=require(_0x5105('0x7'));var jayson=require('jayson/promise');var client=jayson[_0x5105('0x8')][_0x5105('0x9')]({'port':0x232a});config[_0x5105('0xa')]=_[_0x5105('0xb')](config[_0x5105('0xa')],{'host':_0x5105('0xc'),'port':0x18eb});var socket=require(_0x5105('0xd'))(new Redis(config[_0x5105('0xa')]));require(_0x5105('0xe'))['register'](socket);function respondWithRpcPromise(_0x779b6,_0x3f2510,_0x371d8c){return new BPromise(function(_0x49c22b,_0x5cb193){return client[_0x5105('0xf')](_0x779b6,_0x371d8c)[_0x5105('0x10')](function(_0x46ad23){logger['info'](_0x5105('0x11'),_0x3f2510,_0x5105('0x12'));logger[_0x5105('0x13')](_0x5105('0x14'),_0x3f2510,_0x5105('0x12'),JSON['stringify'](_0x46ad23));if(_0x46ad23[_0x5105('0x15')]){if(_0x46ad23[_0x5105('0x15')][_0x5105('0x16')]===0x1f4){logger[_0x5105('0x15')](_0x5105('0x11'),_0x3f2510,_0x46ad23[_0x5105('0x15')][_0x5105('0x17')]);return _0x5cb193(_0x46ad23['error'][_0x5105('0x17')]);}logger[_0x5105('0x15')](_0x5105('0x11'),_0x3f2510,_0x46ad23[_0x5105('0x15')][_0x5105('0x17')]);return _0x49c22b(_0x46ad23[_0x5105('0x15')][_0x5105('0x17')]);}else{logger['info'](_0x5105('0x11'),_0x3f2510,_0x5105('0x12'));_0x49c22b(_0x46ad23[_0x5105('0x18')]['message']);}})[_0x5105('0x19')](function(_0x154ca1){logger[_0x5105('0x15')](_0x5105('0x11'),_0x3f2510,_0x154ca1);_0x5cb193(_0x154ca1);});});}exports['GetVoiceQueueReport']=function(_0x4c72b6){var _0x3f4236=this;return new Promise(function(_0x52f914,_0x47094a){return db['VoiceQueueReport'][_0x5105('0x1a')]({'raw':_0x4c72b6['options']?_0x4c72b6[_0x5105('0x1b')]['raw']===undefined?!![]:![]:!![],'where':_0x4c72b6[_0x5105('0x1b')]?_0x4c72b6[_0x5105('0x1b')]['where']||null:null,'attributes':_0x4c72b6['options']?_0x4c72b6['options'][_0x5105('0x1c')]||null:null,'limit':_0x4c72b6[_0x5105('0x1b')]?_0x4c72b6[_0x5105('0x1b')][_0x5105('0x1d')]||null:null,'include':_0x4c72b6[_0x5105('0x1b')]?_0x4c72b6[_0x5105('0x1b')][_0x5105('0x1e')]?_['map'](_0x4c72b6[_0x5105('0x1b')][_0x5105('0x1e')],function(_0x3e977b){return{'model':db[_0x3e977b[_0x5105('0x1f')]],'as':_0x3e977b['as'],'attributes':_0x3e977b[_0x5105('0x1c')],'include':_0x3e977b[_0x5105('0x1e')]?_[_0x5105('0x20')](_0x3e977b[_0x5105('0x1e')],function(_0x58cd1d){return{'model':db[_0x58cd1d[_0x5105('0x1f')]],'as':_0x58cd1d['as'],'attributes':_0x58cd1d['attributes'],'include':_0x58cd1d[_0x5105('0x1e')]?_[_0x5105('0x20')](_0x58cd1d[_0x5105('0x1e')],function(_0x40a433){return{'model':db[_0x40a433[_0x5105('0x1f')]],'as':_0x40a433['as'],'attributes':_0x40a433['attributes']};}):[]};}):[]};}):[]:[]})[_0x5105('0x10')](function(_0x5075d8){logger[_0x5105('0x21')](_0x5105('0x22'),_0x4c72b6);logger[_0x5105('0x13')](_0x5105('0x22'),_0x4c72b6,JSON[_0x5105('0x23')](_0x5075d8));_0x52f914(_0x5075d8);})[_0x5105('0x19')](function(_0x12d43e){logger[_0x5105('0x15')](_0x5105('0x22'),_0x12d43e[_0x5105('0x17')],_0x4c72b6);_0x47094a(_0x3f4236[_0x5105('0x15')](0x1f4,_0x12d43e[_0x5105('0x17')]));});});};exports[_0x5105('0x24')]=function(_0x43130a){var _0x2ec5bd=this;return new Promise(function(_0x8e2bb2,_0x29ce04){return db[_0x5105('0x25')][_0x5105('0x26')](_0x43130a[_0x5105('0x27')],{'raw':_0x43130a['options']?_0x43130a[_0x5105('0x1b')][_0x5105('0x28')]===undefined?!![]:![]:!![]})['then'](function(_0x2090df){logger['info'](_0x5105('0x24'),_0x43130a);logger['debug'](_0x5105('0x24'),_0x43130a,JSON[_0x5105('0x23')](_0x2090df));_0x8e2bb2(_0x2090df);})[_0x5105('0x19')](function(_0x145120){logger['error'](_0x5105('0x24'),_0x145120['message'],_0x43130a);_0x29ce04(_0x2ec5bd[_0x5105('0x15')](0x1f4,_0x145120[_0x5105('0x17')]));});});};exports['UpdateVoiceQueueReport']=function(_0x1c7286){var _0x4e0f66=this;return new Promise(function(_0x5ed592,_0x10fc88){return db[_0x5105('0x25')][_0x5105('0x29')](_0x1c7286[_0x5105('0x27')],{'raw':_0x1c7286[_0x5105('0x1b')]?_0x1c7286[_0x5105('0x1b')][_0x5105('0x28')]===undefined?!![]:![]:!![],'individualHooks':!![],'where':_0x1c7286[_0x5105('0x1b')]?_0x1c7286[_0x5105('0x1b')]['where']||null:null,'attributes':_0x1c7286['options']?_0x1c7286[_0x5105('0x1b')][_0x5105('0x1c')]||null:null,'limit':_0x1c7286[_0x5105('0x1b')]?_0x1c7286[_0x5105('0x1b')]['limit']||null:null})['then'](function(_0x902c9a){logger[_0x5105('0x21')]('UpdateVoiceQueueReport',_0x1c7286);logger[_0x5105('0x13')](_0x5105('0x2a'),_0x1c7286,JSON[_0x5105('0x23')](_0x902c9a));_0x5ed592(_0x902c9a);})[_0x5105('0x19')](function(_0x57fba6){logger[_0x5105('0x15')](_0x5105('0x2a'),_0x57fba6['message'],_0x1c7286);_0x10fc88(_0x4e0f66[_0x5105('0x15')](0x1f4,_0x57fba6['message']));});});}; \ No newline at end of file diff --git a/server/api/voiceQueueReport/voiceQueueReport.socket.js b/server/api/voiceQueueReport/voiceQueueReport.socket.js index 9ad2c25..44db262 100644 --- a/server/api/voiceQueueReport/voiceQueueReport.socket.js +++ b/server/api/voiceQueueReport/voiceQueueReport.socket.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xb929=['register','length','./voiceQueueReport.events','save','remove'];(function(_0x56b749,_0x19cfc8){var _0x12358a=function(_0x11b142){while(--_0x11b142){_0x56b749['push'](_0x56b749['shift']());}};_0x12358a(++_0x19cfc8);}(_0xb929,0x18d));var _0x9b92=function(_0x20a584,_0xe384a5){_0x20a584=_0x20a584-0x0;var _0x4b41a8=_0xb929[_0x20a584];return _0x4b41a8;};'use strict';var VoiceQueueReportEvents=require(_0x9b92('0x0'));var events=[_0x9b92('0x1'),_0x9b92('0x2'),'update'];function createListener(_0x534fce,_0x4447d2){return function(_0x232d3c){_0x4447d2['emit'](_0x534fce,_0x232d3c);};}function removeListener(_0x3d301c,_0x5e62ce){return function(){VoiceQueueReportEvents['removeListener'](_0x3d301c,_0x5e62ce);};}exports[_0x9b92('0x3')]=function(_0x30af32){for(var _0x176d34=0x0,_0x4b201b=events[_0x9b92('0x4')];_0x176d34<_0x4b201b;_0x176d34++){var _0x4e6e62=events[_0x176d34];var _0x18c243=createListener('voiceQueueReport:'+_0x4e6e62,_0x30af32);VoiceQueueReportEvents['on'](_0x4e6e62,_0x18c243);}}; \ No newline at end of file +var _0x23fc=['update','removeListener','save'];(function(_0x313e5e,_0x2aa96c){var _0x327721=function(_0x35e7ac){while(--_0x35e7ac){_0x313e5e['push'](_0x313e5e['shift']());}};_0x327721(++_0x2aa96c);}(_0x23fc,0x10d));var _0xc23f=function(_0xd09668,_0x1435b2){_0xd09668=_0xd09668-0x0;var _0x68726=_0x23fc[_0xd09668];return _0x68726;};'use strict';var VoiceQueueReportEvents=require('./voiceQueueReport.events');var events=[_0xc23f('0x0'),'remove',_0xc23f('0x1')];function createListener(_0x3c12a3,_0x460104){return function(_0x48a6ab){_0x460104['emit'](_0x3c12a3,_0x48a6ab);};}function removeListener(_0x349d11,_0x201b55){return function(){VoiceQueueReportEvents[_0xc23f('0x2')](_0x349d11,_0x201b55);};}exports['register']=function(_0x373a9d){for(var _0x59bcb6=0x0,_0x1dc3f3=events['length'];_0x59bcb6<_0x1dc3f3;_0x59bcb6++){var _0x4b0daa=events[_0x59bcb6];var _0x517b73=createListener('voiceQueueReport:'+_0x4b0daa,_0x373a9d);VoiceQueueReportEvents['on'](_0x4b0daa,_0x517b73);}}; \ No newline at end of file diff --git a/server/api/voiceQueuesLog/index.js b/server/api/voiceQueuesLog/index.js index a6c5121..93ae60b 100644 --- a/server/api/voiceQueuesLog/index.js +++ b/server/api/voiceQueuesLog/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x6907=['update','destroy','exports','util','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','index','isAuthenticated','post','put'];(function(_0x1035c1,_0x2d8583){var _0x308d67=function(_0x58ddb6){while(--_0x58ddb6){_0x1035c1['push'](_0x1035c1['shift']());}};_0x308d67(++_0x2d8583);}(_0x6907,0x17a));var _0x7690=function(_0x3f7929,_0x5db3e1){_0x3f7929=_0x3f7929-0x0;var _0x4df0e5=_0x6907[_0x3f7929];return _0x4df0e5;};'use strict';var multer=require('multer');var util=require(_0x7690('0x0'));var path=require(_0x7690('0x1'));var timeout=require(_0x7690('0x2'));var express=require('express');var router=express[_0x7690('0x3')]();var auth=require(_0x7690('0x4'));var interaction=require(_0x7690('0x5'));var config=require(_0x7690('0x6'));var controller=require('./voiceQueuesLog.controller');router[_0x7690('0x7')]('/',auth['isAuthenticated'](),controller[_0x7690('0x8')]);router[_0x7690('0x7')]('/:id',auth[_0x7690('0x9')](),controller['show']);router[_0x7690('0xa')]('/',auth[_0x7690('0x9')](),controller['create']);router[_0x7690('0xb')]('/:id',auth['isAuthenticated'](),controller[_0x7690('0xc')]);router['delete']('/:id',auth[_0x7690('0x9')](),controller[_0x7690('0xd')]);module[_0x7690('0xe')]=router; \ No newline at end of file +var _0xb322=['/:id','show','post','put','update','delete','exports','util','path','connect-timeout','express','Router','../../components/auth/service','../../config/environment','./voiceQueuesLog.controller','get','isAuthenticated','index'];(function(_0x9db987,_0x41b2a5){var _0x26c97c=function(_0x45b3b3){while(--_0x45b3b3){_0x9db987['push'](_0x9db987['shift']());}};_0x26c97c(++_0x41b2a5);}(_0xb322,0x139));var _0x2b32=function(_0x1fd57f,_0x15ad91){_0x1fd57f=_0x1fd57f-0x0;var _0xbff5b8=_0xb322[_0x1fd57f];return _0xbff5b8;};'use strict';var multer=require('multer');var util=require(_0x2b32('0x0'));var path=require(_0x2b32('0x1'));var timeout=require(_0x2b32('0x2'));var express=require(_0x2b32('0x3'));var router=express[_0x2b32('0x4')]();var auth=require(_0x2b32('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x2b32('0x6'));var controller=require(_0x2b32('0x7'));router[_0x2b32('0x8')]('/',auth[_0x2b32('0x9')](),controller[_0x2b32('0xa')]);router[_0x2b32('0x8')](_0x2b32('0xb'),auth[_0x2b32('0x9')](),controller[_0x2b32('0xc')]);router[_0x2b32('0xd')]('/',auth[_0x2b32('0x9')](),controller['create']);router[_0x2b32('0xe')](_0x2b32('0xb'),auth[_0x2b32('0x9')](),controller[_0x2b32('0xf')]);router[_0x2b32('0x10')](_0x2b32('0xb'),auth['isAuthenticated'](),controller['destroy']);module[_0x2b32('0x11')]=router; \ No newline at end of file diff --git a/server/api/voiceQueuesLog/voiceQueuesLog.attributes.js b/server/api/voiceQueuesLog/voiceQueuesLog.attributes.js index 5633883..97f0526 100644 --- a/server/api/voiceQueuesLog/voiceQueuesLog.attributes.js +++ b/server/api/voiceQueuesLog/voiceQueuesLog.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xdb3a=['sequelize','moment','exports','STRING','YYYY-MM-DD\x20HH:mm:ss'];(function(_0x501510,_0x61caa9){var _0x1e6ee5=function(_0x32845b){while(--_0x32845b){_0x501510['push'](_0x501510['shift']());}};_0x1e6ee5(++_0x61caa9);}(_0xdb3a,0x96));var _0xadb3=function(_0x1ba88a,_0x30b1d8){_0x1ba88a=_0x1ba88a-0x0;var _0x5d0fe7=_0xdb3a[_0x1ba88a];return _0x5d0fe7;};'use strict';var Sequelize=require(_0xadb3('0x0'));var moment=require(_0xadb3('0x1'));module[_0xadb3('0x2')]={'time':{'type':Sequelize[_0xadb3('0x3')]},'callid':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':''},'queuename':{'type':Sequelize[_0xadb3('0x3')],'allowNull':![],'defaultValue':''},'agent':{'type':Sequelize[_0xadb3('0x3')],'allowNull':![],'defaultValue':''},'event':{'type':Sequelize[_0xadb3('0x3')],'allowNull':![],'defaultValue':''},'data':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':''},'data1':{'type':Sequelize[_0xadb3('0x3')],'allowNull':![],'defaultValue':''},'data2':{'type':Sequelize[_0xadb3('0x3')],'allowNull':![],'defaultValue':''},'data3':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':''},'data4':{'type':Sequelize[_0xadb3('0x3')],'allowNull':![],'defaultValue':''},'data5':{'type':Sequelize[_0xadb3('0x3')],'allowNull':![],'defaultValue':''},'dtm':{'type':Sequelize['DATE'],'allowNull':![],'defaultValue':moment()['format'](_0xadb3('0x4'))}}; \ No newline at end of file +var _0xe867=['sequelize','moment','exports','STRING','DATE','format','YYYY-MM-DD\x20HH:mm:ss'];(function(_0x323d87,_0x4ef3f9){var _0x5e8f74=function(_0x185735){while(--_0x185735){_0x323d87['push'](_0x323d87['shift']());}};_0x5e8f74(++_0x4ef3f9);}(_0xe867,0xcb));var _0x7e86=function(_0x4bbf8d,_0x2470da){_0x4bbf8d=_0x4bbf8d-0x0;var _0x2fdd26=_0xe867[_0x4bbf8d];return _0x2fdd26;};'use strict';var Sequelize=require(_0x7e86('0x0'));var moment=require(_0x7e86('0x1'));module[_0x7e86('0x2')]={'time':{'type':Sequelize[_0x7e86('0x3')]},'callid':{'type':Sequelize[_0x7e86('0x3')],'allowNull':![],'defaultValue':''},'queuename':{'type':Sequelize[_0x7e86('0x3')],'allowNull':![],'defaultValue':''},'agent':{'type':Sequelize[_0x7e86('0x3')],'allowNull':![],'defaultValue':''},'event':{'type':Sequelize[_0x7e86('0x3')],'allowNull':![],'defaultValue':''},'data':{'type':Sequelize[_0x7e86('0x3')],'allowNull':![],'defaultValue':''},'data1':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':''},'data2':{'type':Sequelize[_0x7e86('0x3')],'allowNull':![],'defaultValue':''},'data3':{'type':Sequelize[_0x7e86('0x3')],'allowNull':![],'defaultValue':''},'data4':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':''},'data5':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':''},'dtm':{'type':Sequelize[_0x7e86('0x4')],'allowNull':![],'defaultValue':moment()[_0x7e86('0x5')](_0x7e86('0x6'))}}; \ No newline at end of file diff --git a/server/api/voiceQueuesLog/voiceQueuesLog.controller.js b/server/api/voiceQueuesLog/voiceQueuesLog.controller.js index 6475fd8..340d23b 100644 --- a/server/api/voiceQueuesLog/voiceQueuesLog.controller.js +++ b/server/api/voiceQueuesLog/voiceQueuesLog.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xa9e0=['sort','where','pick','filter','VIRTUAL','merge','options','include','findAll','catch','params','includeAll','create','body','find','html-pdf','eml-format','rimraf','request-promise','bluebird','mustache','util','path','sox','ejs','lodash','squel','desk.js','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../mysqldb','sendStatus','status','json','count','offset','set','Content-Range','apply','reject','save','update','then','destroy','end','error','name','send','index','map','VoiceQueuesLog','rawAttributes','fieldName','type','key','query','keys','filters','intersection','model','attributes','fields','length','hasOwnProperty','limit'];(function(_0x29859f,_0x2f7896){var _0x3a4118=function(_0x724cc7){while(--_0x724cc7){_0x29859f['push'](_0x29859f['shift']());}};_0x3a4118(++_0x2f7896);}(_0xa9e0,0x123));var _0x0a9e=function(_0x45e98e,_0x169b60){_0x45e98e=_0x45e98e-0x0;var _0x374dba=_0xa9e0[_0x45e98e];return _0x374dba;};'use strict';var pdf=require(_0x0a9e('0x0'));var emlformat=require(_0x0a9e('0x1'));var rimraf=require(_0x0a9e('0x2'));var zipdir=require('zip-dir');var jsonpatch=require('fast-json-patch');var rp=require(_0x0a9e('0x3'));var moment=require('moment');var BPromise=require(_0x0a9e('0x4'));var Mustache=require(_0x0a9e('0x5'));var util=require(_0x0a9e('0x6'));var path=require(_0x0a9e('0x7'));var sox=require(_0x0a9e('0x8'));var csv=require('to-csv');var ejs=require(_0x0a9e('0x9'));var fs=require('fs');var _=require(_0x0a9e('0xa'));var squel=require(_0x0a9e('0xb'));var crypto=require('crypto');var jsforce=require('jsforce');var deskjs=require(_0x0a9e('0xc'));var toCsv=require('to-csv');var querystring=require('querystring');var Papa=require(_0x0a9e('0xd'));var Redis=require(_0x0a9e('0xe'));var authService=require(_0x0a9e('0xf'));var qs=require(_0x0a9e('0x10'));var as=require(_0x0a9e('0x11'));var hardwareService=require(_0x0a9e('0x12'));var logger=require('../../config/logger')('api');var utils=require('../../config/utils');var config=require('../../config/environment');var db=require(_0x0a9e('0x13'))['db'];function respondWithStatusCode(_0x36471c,_0xd5b662){_0xd5b662=_0xd5b662||0xcc;return function(_0x26d672){if(_0x26d672){return _0x36471c[_0x0a9e('0x14')](_0xd5b662);}return _0x36471c[_0x0a9e('0x15')](_0xd5b662)['end']();};}function respondWithResult(_0x4283ce,_0x239b12){_0x239b12=_0x239b12||0xc8;return function(_0x2b4227){if(_0x2b4227){return _0x4283ce[_0x0a9e('0x15')](_0x239b12)[_0x0a9e('0x16')](_0x2b4227);}};}function respondWithFilteredResult(_0x4d5611,_0x52a03d){return function(_0x22dccb){if(_0x22dccb){var _0x5d0880=_0x22dccb[_0x0a9e('0x17')],_0x1985b6=_0x52a03d['offset'],_0x519dfd=_0x52a03d[_0x0a9e('0x18')]+_0x52a03d['limit'],_0x16033c;if(_0x519dfd>=_0x5d0880){_0x519dfd=_0x5d0880;_0x16033c=0xc8;}else{_0x16033c=0xce;}_0x4d5611[_0x0a9e('0x15')](_0x16033c);return _0x4d5611[_0x0a9e('0x19')](_0x0a9e('0x1a'),_0x1985b6+'-'+_0x519dfd+'/'+_0x5d0880)[_0x0a9e('0x16')](_0x22dccb);}return null;};}function patchUpdates(_0x31b1ca){return function(_0x2eb11f){try{jsonpatch[_0x0a9e('0x1b')](_0x2eb11f,_0x31b1ca,!![]);}catch(_0x20559e){return BPromise[_0x0a9e('0x1c')](_0x20559e);}return _0x2eb11f[_0x0a9e('0x1d')]();};}function saveUpdates(_0x1c696a,_0x105080){return function(_0x4bb1e3){if(_0x4bb1e3){return _0x4bb1e3[_0x0a9e('0x1e')](_0x1c696a)[_0x0a9e('0x1f')](function(_0x53682f){return _0x53682f;});}return null;};}function removeEntity(_0x20f109,_0x5a09ef){return function(_0x588269){if(_0x588269){return _0x588269[_0x0a9e('0x20')]()[_0x0a9e('0x1f')](function(){_0x20f109[_0x0a9e('0x15')](0xcc)[_0x0a9e('0x21')]();});}};}function handleEntityNotFound(_0x4abc77,_0xfb6e48){return function(_0x2fb0e4){if(!_0x2fb0e4){_0x4abc77[_0x0a9e('0x14')](0x194);}return _0x2fb0e4;};}function handleError(_0x4d00e6,_0x370d86){_0x370d86=_0x370d86||0x1f4;return function(_0x42ac8f){logger[_0x0a9e('0x22')](_0x42ac8f['stack']);if(_0x42ac8f['name']){delete _0x42ac8f[_0x0a9e('0x23')];}_0x4d00e6[_0x0a9e('0x15')](_0x370d86)[_0x0a9e('0x24')](_0x42ac8f);};}exports[_0x0a9e('0x25')]=function(_0x526cf3,_0x384319){var _0x479bc4={},_0x45a1e7={},_0x5bfb33={'count':0x0,'rows':[]};var _0x1dc186=_[_0x0a9e('0x26')](db[_0x0a9e('0x27')][_0x0a9e('0x28')],function(_0x140511){return{'name':_0x140511[_0x0a9e('0x29')],'type':_0x140511[_0x0a9e('0x2a')][_0x0a9e('0x2b')]};});_0x45a1e7['model']=_[_0x0a9e('0x26')](_0x1dc186,_0x0a9e('0x23'));_0x45a1e7[_0x0a9e('0x2c')]=_[_0x0a9e('0x2d')](_0x526cf3['query']);_0x45a1e7[_0x0a9e('0x2e')]=_[_0x0a9e('0x2f')](_0x45a1e7[_0x0a9e('0x30')],_0x45a1e7[_0x0a9e('0x2c')]);_0x479bc4[_0x0a9e('0x31')]=_[_0x0a9e('0x2f')](_0x45a1e7[_0x0a9e('0x30')],qs[_0x0a9e('0x32')](_0x526cf3[_0x0a9e('0x2c')]['fields']));_0x479bc4[_0x0a9e('0x31')]=_0x479bc4['attributes'][_0x0a9e('0x33')]?_0x479bc4[_0x0a9e('0x31')]:_0x45a1e7[_0x0a9e('0x30')];if(!_0x526cf3[_0x0a9e('0x2c')][_0x0a9e('0x34')]('nolimit')){_0x479bc4[_0x0a9e('0x35')]=qs[_0x0a9e('0x35')](_0x526cf3[_0x0a9e('0x2c')][_0x0a9e('0x35')]);_0x479bc4[_0x0a9e('0x18')]=qs[_0x0a9e('0x18')](_0x526cf3[_0x0a9e('0x2c')][_0x0a9e('0x18')]);}_0x479bc4['order']=qs[_0x0a9e('0x36')](_0x526cf3['query'][_0x0a9e('0x36')]);_0x479bc4[_0x0a9e('0x37')]=qs[_0x0a9e('0x2e')](_[_0x0a9e('0x38')](_0x526cf3['query'],_0x45a1e7[_0x0a9e('0x2e')]),_0x1dc186);if(_0x526cf3[_0x0a9e('0x2c')][_0x0a9e('0x39')]){_0x479bc4[_0x0a9e('0x37')]=_['merge'](_0x479bc4['where'],{'$or':_[_0x0a9e('0x26')](_0x1dc186,function(_0x5640eb){if(_0x5640eb[_0x0a9e('0x2a')]!==_0x0a9e('0x3a')){var _0x381c37={};_0x381c37[_0x5640eb[_0x0a9e('0x23')]]={'$like':'%'+_0x526cf3['query'][_0x0a9e('0x39')]+'%'};return _0x381c37;}})});}_0x479bc4=_[_0x0a9e('0x3b')]({},_0x479bc4,_0x526cf3[_0x0a9e('0x3c')]);var _0x533942={'where':_0x479bc4[_0x0a9e('0x37')]};return db[_0x0a9e('0x27')][_0x0a9e('0x17')](_0x533942)['then'](function(_0x546ef8){_0x5bfb33[_0x0a9e('0x17')]=_0x546ef8;if(_0x526cf3[_0x0a9e('0x2c')]['includeAll']){_0x479bc4[_0x0a9e('0x3d')]=[{'all':!![]}];}return db[_0x0a9e('0x27')][_0x0a9e('0x3e')](_0x479bc4);})[_0x0a9e('0x1f')](function(_0x4b38d9){_0x5bfb33['rows']=_0x4b38d9;return _0x5bfb33;})[_0x0a9e('0x1f')](respondWithFilteredResult(_0x384319,_0x479bc4))[_0x0a9e('0x3f')](handleError(_0x384319,null));};exports['show']=function(_0x183991,_0x1dec2e){var _0x1459bb={'raw':!![],'where':{'id':_0x183991[_0x0a9e('0x40')]['id']}},_0x5b4f5e={};_0x5b4f5e[_0x0a9e('0x30')]=_[_0x0a9e('0x2d')](db[_0x0a9e('0x27')][_0x0a9e('0x28')]);_0x5b4f5e[_0x0a9e('0x2c')]=_[_0x0a9e('0x2d')](_0x183991[_0x0a9e('0x2c')]);_0x5b4f5e[_0x0a9e('0x2e')]=_[_0x0a9e('0x2f')](_0x5b4f5e[_0x0a9e('0x30')],_0x5b4f5e[_0x0a9e('0x2c')]);_0x1459bb[_0x0a9e('0x31')]=_[_0x0a9e('0x2f')](_0x5b4f5e[_0x0a9e('0x30')],qs['fields'](_0x183991['query'][_0x0a9e('0x32')]));_0x1459bb[_0x0a9e('0x31')]=_0x1459bb[_0x0a9e('0x31')][_0x0a9e('0x33')]?_0x1459bb[_0x0a9e('0x31')]:_0x5b4f5e[_0x0a9e('0x30')];if(_0x183991[_0x0a9e('0x2c')][_0x0a9e('0x41')]){_0x1459bb[_0x0a9e('0x3d')]=[{'all':!![]}];}_0x1459bb=_[_0x0a9e('0x3b')]({},_0x1459bb,_0x183991[_0x0a9e('0x3c')]);return db[_0x0a9e('0x27')]['find'](_0x1459bb)[_0x0a9e('0x1f')](handleEntityNotFound(_0x1dec2e,null))[_0x0a9e('0x1f')](respondWithResult(_0x1dec2e,null))[_0x0a9e('0x3f')](handleError(_0x1dec2e,null));};exports[_0x0a9e('0x42')]=function(_0x2e8caf,_0xbe9d19){return db[_0x0a9e('0x27')][_0x0a9e('0x42')](_0x2e8caf['body'],{})[_0x0a9e('0x1f')](respondWithResult(_0xbe9d19,0xc9))['catch'](handleError(_0xbe9d19,null));};exports[_0x0a9e('0x1e')]=function(_0x476688,_0x8d6dd1){if(_0x476688['body']['id']){delete _0x476688[_0x0a9e('0x43')]['id'];}return db[_0x0a9e('0x27')][_0x0a9e('0x44')]({'where':{'id':_0x476688[_0x0a9e('0x40')]['id']}})[_0x0a9e('0x1f')](handleEntityNotFound(_0x8d6dd1,null))[_0x0a9e('0x1f')](saveUpdates(_0x476688[_0x0a9e('0x43')],null))['then'](respondWithResult(_0x8d6dd1,null))[_0x0a9e('0x3f')](handleError(_0x8d6dd1,null));};exports[_0x0a9e('0x20')]=function(_0x1b5e80,_0x16f976){return db[_0x0a9e('0x27')][_0x0a9e('0x44')]({'where':{'id':_0x1b5e80[_0x0a9e('0x40')]['id']}})[_0x0a9e('0x1f')](handleEntityNotFound(_0x16f976,null))[_0x0a9e('0x1f')](removeEntity(_0x16f976,null))['catch'](handleError(_0x16f976,null));}; \ No newline at end of file +var _0xb10b=['where','merge','VoiceQueuesLog','include','rows','catch','show','params','includeAll','options','find','create','body','update','html-pdf','rimraf','zip-dir','fast-json-patch','moment','bluebird','mustache','util','path','sox','ejs','lodash','crypto','jsforce','desk.js','to-csv','querystring','papaparse','ioredis','../../components/auth/service','../../config/license/hardware','../../config/logger','api','../../config/environment','sendStatus','status','end','json','count','offset','limit','set','Content-Range','reject','save','then','destroy','name','send','map','rawAttributes','fieldName','type','key','model','keys','filters','intersection','query','fields','attributes','length','hasOwnProperty','nolimit','order','sort','filter'];(function(_0x48a8c0,_0x382faf){var _0xcd82a8=function(_0x414df9){while(--_0x414df9){_0x48a8c0['push'](_0x48a8c0['shift']());}};_0xcd82a8(++_0x382faf);}(_0xb10b,0x12a));var _0xbb10=function(_0x518e12,_0x3491ad){_0x518e12=_0x518e12-0x0;var _0x1da7ff=_0xb10b[_0x518e12];return _0x1da7ff;};'use strict';var pdf=require(_0xbb10('0x0'));var emlformat=require('eml-format');var rimraf=require(_0xbb10('0x1'));var zipdir=require(_0xbb10('0x2'));var jsonpatch=require(_0xbb10('0x3'));var rp=require('request-promise');var moment=require(_0xbb10('0x4'));var BPromise=require(_0xbb10('0x5'));var Mustache=require(_0xbb10('0x6'));var util=require(_0xbb10('0x7'));var path=require(_0xbb10('0x8'));var sox=require(_0xbb10('0x9'));var csv=require('to-csv');var ejs=require(_0xbb10('0xa'));var fs=require('fs');var _=require(_0xbb10('0xb'));var squel=require('squel');var crypto=require(_0xbb10('0xc'));var jsforce=require(_0xbb10('0xd'));var deskjs=require(_0xbb10('0xe'));var toCsv=require(_0xbb10('0xf'));var querystring=require(_0xbb10('0x10'));var Papa=require(_0xbb10('0x11'));var Redis=require(_0xbb10('0x12'));var authService=require(_0xbb10('0x13'));var qs=require('../../components/parsers/qs');var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0xbb10('0x14'));var logger=require(_0xbb10('0x15'))(_0xbb10('0x16'));var utils=require('../../config/utils');var config=require(_0xbb10('0x17'));var db=require('../../mysqldb')['db'];function respondWithStatusCode(_0x44fb19,_0x916a32){_0x916a32=_0x916a32||0xcc;return function(_0x285009){if(_0x285009){return _0x44fb19[_0xbb10('0x18')](_0x916a32);}return _0x44fb19[_0xbb10('0x19')](_0x916a32)[_0xbb10('0x1a')]();};}function respondWithResult(_0x58a612,_0x26e021){_0x26e021=_0x26e021||0xc8;return function(_0x42d7e4){if(_0x42d7e4){return _0x58a612[_0xbb10('0x19')](_0x26e021)[_0xbb10('0x1b')](_0x42d7e4);}};}function respondWithFilteredResult(_0x3df17b,_0x2f2ebf){return function(_0x24a57b){if(_0x24a57b){var _0x36b5e8=_0x24a57b[_0xbb10('0x1c')],_0x3e26f4=_0x2f2ebf[_0xbb10('0x1d')],_0x2b184e=_0x2f2ebf[_0xbb10('0x1d')]+_0x2f2ebf[_0xbb10('0x1e')],_0x4a2bfc;if(_0x2b184e>=_0x36b5e8){_0x2b184e=_0x36b5e8;_0x4a2bfc=0xc8;}else{_0x4a2bfc=0xce;}_0x3df17b[_0xbb10('0x19')](_0x4a2bfc);return _0x3df17b[_0xbb10('0x1f')](_0xbb10('0x20'),_0x3e26f4+'-'+_0x2b184e+'/'+_0x36b5e8)[_0xbb10('0x1b')](_0x24a57b);}return null;};}function patchUpdates(_0xbf2906){return function(_0xe1c665){try{jsonpatch['apply'](_0xe1c665,_0xbf2906,!![]);}catch(_0x5ff0cf){return BPromise[_0xbb10('0x21')](_0x5ff0cf);}return _0xe1c665[_0xbb10('0x22')]();};}function saveUpdates(_0x109908,_0xdf237d){return function(_0x44e563){if(_0x44e563){return _0x44e563['update'](_0x109908)[_0xbb10('0x23')](function(_0x12ef77){return _0x12ef77;});}return null;};}function removeEntity(_0x50aea1,_0x4c4b0d){return function(_0x8e2b97){if(_0x8e2b97){return _0x8e2b97[_0xbb10('0x24')]()[_0xbb10('0x23')](function(){_0x50aea1[_0xbb10('0x19')](0xcc)[_0xbb10('0x1a')]();});}};}function handleEntityNotFound(_0x1824b7,_0x407cb4){return function(_0x436104){if(!_0x436104){_0x1824b7[_0xbb10('0x18')](0x194);}return _0x436104;};}function handleError(_0x395404,_0x3ba6cd){_0x3ba6cd=_0x3ba6cd||0x1f4;return function(_0x26ad93){logger['error'](_0x26ad93['stack']);if(_0x26ad93['name']){delete _0x26ad93[_0xbb10('0x25')];}_0x395404[_0xbb10('0x19')](_0x3ba6cd)[_0xbb10('0x26')](_0x26ad93);};}exports['index']=function(_0x2fdde9,_0x24d586){var _0x6ed43b={},_0x1d5e95={},_0x1acce9={'count':0x0,'rows':[]};var _0x20d946=_[_0xbb10('0x27')](db['VoiceQueuesLog'][_0xbb10('0x28')],function(_0x21ac54){return{'name':_0x21ac54[_0xbb10('0x29')],'type':_0x21ac54[_0xbb10('0x2a')][_0xbb10('0x2b')]};});_0x1d5e95[_0xbb10('0x2c')]=_['map'](_0x20d946,_0xbb10('0x25'));_0x1d5e95['query']=_[_0xbb10('0x2d')](_0x2fdde9['query']);_0x1d5e95[_0xbb10('0x2e')]=_[_0xbb10('0x2f')](_0x1d5e95[_0xbb10('0x2c')],_0x1d5e95['query']);_0x6ed43b['attributes']=_[_0xbb10('0x2f')](_0x1d5e95[_0xbb10('0x2c')],qs['fields'](_0x2fdde9[_0xbb10('0x30')][_0xbb10('0x31')]));_0x6ed43b[_0xbb10('0x32')]=_0x6ed43b[_0xbb10('0x32')][_0xbb10('0x33')]?_0x6ed43b[_0xbb10('0x32')]:_0x1d5e95[_0xbb10('0x2c')];if(!_0x2fdde9['query'][_0xbb10('0x34')](_0xbb10('0x35'))){_0x6ed43b[_0xbb10('0x1e')]=qs[_0xbb10('0x1e')](_0x2fdde9[_0xbb10('0x30')][_0xbb10('0x1e')]);_0x6ed43b[_0xbb10('0x1d')]=qs[_0xbb10('0x1d')](_0x2fdde9[_0xbb10('0x30')]['offset']);}_0x6ed43b[_0xbb10('0x36')]=qs[_0xbb10('0x37')](_0x2fdde9[_0xbb10('0x30')][_0xbb10('0x37')]);_0x6ed43b['where']=qs[_0xbb10('0x2e')](_['pick'](_0x2fdde9['query'],_0x1d5e95[_0xbb10('0x2e')]),_0x20d946);if(_0x2fdde9[_0xbb10('0x30')][_0xbb10('0x38')]){_0x6ed43b[_0xbb10('0x39')]=_[_0xbb10('0x3a')](_0x6ed43b[_0xbb10('0x39')],{'$or':_['map'](_0x20d946,function(_0x1e5bbd){if(_0x1e5bbd[_0xbb10('0x2a')]!=='VIRTUAL'){var _0x5e3fbd={};_0x5e3fbd[_0x1e5bbd['name']]={'$like':'%'+_0x2fdde9[_0xbb10('0x30')][_0xbb10('0x38')]+'%'};return _0x5e3fbd;}})});}_0x6ed43b=_[_0xbb10('0x3a')]({},_0x6ed43b,_0x2fdde9['options']);var _0x3c0cd7={'where':_0x6ed43b[_0xbb10('0x39')]};return db[_0xbb10('0x3b')]['count'](_0x3c0cd7)[_0xbb10('0x23')](function(_0x12238a){_0x1acce9[_0xbb10('0x1c')]=_0x12238a;if(_0x2fdde9[_0xbb10('0x30')]['includeAll']){_0x6ed43b[_0xbb10('0x3c')]=[{'all':!![]}];}return db[_0xbb10('0x3b')]['findAll'](_0x6ed43b);})[_0xbb10('0x23')](function(_0x2e3214){_0x1acce9[_0xbb10('0x3d')]=_0x2e3214;return _0x1acce9;})[_0xbb10('0x23')](respondWithFilteredResult(_0x24d586,_0x6ed43b))[_0xbb10('0x3e')](handleError(_0x24d586,null));};exports[_0xbb10('0x3f')]=function(_0x5f3d67,_0x1e8f79){var _0x1c7fae={'raw':!![],'where':{'id':_0x5f3d67[_0xbb10('0x40')]['id']}},_0x3e7b4c={};_0x3e7b4c['model']=_[_0xbb10('0x2d')](db[_0xbb10('0x3b')][_0xbb10('0x28')]);_0x3e7b4c[_0xbb10('0x30')]=_['keys'](_0x5f3d67[_0xbb10('0x30')]);_0x3e7b4c[_0xbb10('0x2e')]=_['intersection'](_0x3e7b4c['model'],_0x3e7b4c[_0xbb10('0x30')]);_0x1c7fae['attributes']=_[_0xbb10('0x2f')](_0x3e7b4c[_0xbb10('0x2c')],qs['fields'](_0x5f3d67[_0xbb10('0x30')][_0xbb10('0x31')]));_0x1c7fae[_0xbb10('0x32')]=_0x1c7fae['attributes'][_0xbb10('0x33')]?_0x1c7fae[_0xbb10('0x32')]:_0x3e7b4c[_0xbb10('0x2c')];if(_0x5f3d67[_0xbb10('0x30')][_0xbb10('0x41')]){_0x1c7fae[_0xbb10('0x3c')]=[{'all':!![]}];}_0x1c7fae=_[_0xbb10('0x3a')]({},_0x1c7fae,_0x5f3d67[_0xbb10('0x42')]);return db[_0xbb10('0x3b')][_0xbb10('0x43')](_0x1c7fae)[_0xbb10('0x23')](handleEntityNotFound(_0x1e8f79,null))[_0xbb10('0x23')](respondWithResult(_0x1e8f79,null))['catch'](handleError(_0x1e8f79,null));};exports[_0xbb10('0x44')]=function(_0x41bbf8,_0x4a1248){return db[_0xbb10('0x3b')][_0xbb10('0x44')](_0x41bbf8[_0xbb10('0x45')],{})[_0xbb10('0x23')](respondWithResult(_0x4a1248,0xc9))[_0xbb10('0x3e')](handleError(_0x4a1248,null));};exports[_0xbb10('0x46')]=function(_0x3e06b0,_0x5be85e){if(_0x3e06b0['body']['id']){delete _0x3e06b0[_0xbb10('0x45')]['id'];}return db[_0xbb10('0x3b')][_0xbb10('0x43')]({'where':{'id':_0x3e06b0['params']['id']}})['then'](handleEntityNotFound(_0x5be85e,null))[_0xbb10('0x23')](saveUpdates(_0x3e06b0[_0xbb10('0x45')],null))[_0xbb10('0x23')](respondWithResult(_0x5be85e,null))[_0xbb10('0x3e')](handleError(_0x5be85e,null));};exports[_0xbb10('0x24')]=function(_0x22b315,_0x2f2552){return db[_0xbb10('0x3b')][_0xbb10('0x43')]({'where':{'id':_0x22b315[_0xbb10('0x40')]['id']}})['then'](handleEntityNotFound(_0x2f2552,null))['then'](removeEntity(_0x2f2552,null))[_0xbb10('0x3e')](handleError(_0x2f2552,null));}; \ No newline at end of file diff --git a/server/api/voiceQueuesLog/voiceQueuesLog.model.js b/server/api/voiceQueuesLog/voiceQueuesLog.model.js index 04d6c53..6f0c306 100644 --- a/server/api/voiceQueuesLog/voiceQueuesLog.model.js +++ b/server/api/voiceQueuesLog/voiceQueuesLog.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x8ce4=['exports','define','voice_queues_log','event_dtm','event','dtm','lodash','../../config/logger','api','moment','bluebird','rimraf','../../config/environment'];(function(_0x78656e,_0x23112d){var _0xc28227=function(_0x1e5884){while(--_0x1e5884){_0x78656e['push'](_0x78656e['shift']());}};_0xc28227(++_0x23112d);}(_0x8ce4,0x95));var _0x48ce=function(_0x4b2069,_0x46d675){_0x4b2069=_0x4b2069-0x0;var _0x2a2ae5=_0x8ce4[_0x4b2069];return _0x2a2ae5;};'use strict';var _=require(_0x48ce('0x0'));var util=require('util');var logger=require(_0x48ce('0x1'))(_0x48ce('0x2'));var moment=require(_0x48ce('0x3'));var BPromise=require(_0x48ce('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x48ce('0x5'));var config=require(_0x48ce('0x6'));var attributes=require('./voiceQueuesLog.attributes');module[_0x48ce('0x7')]=function(_0x452955,_0x38c141){return _0x452955[_0x48ce('0x8')]('VoiceQueuesLog',attributes,{'tableName':_0x48ce('0x9'),'paranoid':![],'indexes':[{'name':_0x48ce('0xa'),'fields':[_0x48ce('0xb'),_0x48ce('0xc')]}],'timestamps':![]});}; \ No newline at end of file +var _0x629e=['../../config/logger','bluebird','request-promise','path','../../config/environment','exports','VoiceQueuesLog','voice_queues_log','event_dtm','lodash','util'];(function(_0x3bd90c,_0x405c64){var _0x1d965c=function(_0x285799){while(--_0x285799){_0x3bd90c['push'](_0x3bd90c['shift']());}};_0x1d965c(++_0x405c64);}(_0x629e,0xf0));var _0xe629=function(_0x17d9e3,_0x1f969c){_0x17d9e3=_0x17d9e3-0x0;var _0x14192d=_0x629e[_0x17d9e3];return _0x14192d;};'use strict';var _=require(_0xe629('0x0'));var util=require(_0xe629('0x1'));var logger=require(_0xe629('0x2'))('api');var moment=require('moment');var BPromise=require(_0xe629('0x3'));var rp=require(_0xe629('0x4'));var fs=require('fs');var path=require(_0xe629('0x5'));var rimraf=require('rimraf');var config=require(_0xe629('0x6'));var attributes=require('./voiceQueuesLog.attributes');module[_0xe629('0x7')]=function(_0x58fc43,_0x2d33a8){return _0x58fc43['define'](_0xe629('0x8'),attributes,{'tableName':_0xe629('0x9'),'paranoid':![],'indexes':[{'name':_0xe629('0xa'),'fields':['event','dtm']}],'timestamps':![]});}; \ No newline at end of file diff --git a/server/api/voiceQueuesLog/voiceQueuesLog.rpc.js b/server/api/voiceQueuesLog/voiceQueuesLog.rpc.js index 779bd7f..90ff0f5 100644 --- a/server/api/voiceQueuesLog/voiceQueuesLog.rpc.js +++ b/server/api/voiceQueuesLog/voiceQueuesLog.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x6f7a=['http','request','then','info','debug','VoiceQueuesLog,\x20%s,\x20%s,\x20%s','stringify','error','code','VoiceQueuesLog,\x20%s,\x20%s','message','request\x20sent','result','catch','lodash','util','moment','bluebird','ioredis','../../mysqldb','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','client'];(function(_0xe3f0b0,_0x43edc9){var _0x3a839e=function(_0x45e9cf){while(--_0x45e9cf){_0xe3f0b0['push'](_0xe3f0b0['shift']());}};_0x3a839e(++_0x43edc9);}(_0x6f7a,0x1ae));var _0xa6f7=function(_0x35b6ce,_0x41e1fd){_0x35b6ce=_0x35b6ce-0x0;var _0x102b1f=_0x6f7a[_0x35b6ce];return _0x102b1f;};'use strict';var _=require(_0xa6f7('0x0'));var util=require(_0xa6f7('0x1'));var moment=require(_0xa6f7('0x2'));var BPromise=require(_0xa6f7('0x3'));var rs=require('randomstring');var fs=require('fs');var Redis=require(_0xa6f7('0x4'));var db=require(_0xa6f7('0x5'))['db'];var utils=require(_0xa6f7('0x6'));var logger=require(_0xa6f7('0x7'))(_0xa6f7('0x8'));var config=require(_0xa6f7('0x9'));var jayson=require(_0xa6f7('0xa'));var client=jayson[_0xa6f7('0xb')][_0xa6f7('0xc')]({'port':0x232a});function respondWithRpcPromise(_0x335aaa,_0x1a06d1,_0x481a8c){return new BPromise(function(_0x4b4f9e,_0x30f2a7){return client[_0xa6f7('0xd')](_0x335aaa,_0x481a8c)[_0xa6f7('0xe')](function(_0x362404){logger[_0xa6f7('0xf')]('VoiceQueuesLog,\x20%s,\x20%s',_0x1a06d1,'request\x20sent');logger[_0xa6f7('0x10')](_0xa6f7('0x11'),_0x1a06d1,'request\x20sent',JSON[_0xa6f7('0x12')](_0x362404));if(_0x362404['error']){if(_0x362404[_0xa6f7('0x13')][_0xa6f7('0x14')]===0x1f4){logger[_0xa6f7('0x13')](_0xa6f7('0x15'),_0x1a06d1,_0x362404['error'][_0xa6f7('0x16')]);return _0x30f2a7(_0x362404['error'][_0xa6f7('0x16')]);}logger[_0xa6f7('0x13')](_0xa6f7('0x15'),_0x1a06d1,_0x362404['error'][_0xa6f7('0x16')]);return _0x4b4f9e(_0x362404['error'][_0xa6f7('0x16')]);}else{logger['info'](_0xa6f7('0x15'),_0x1a06d1,_0xa6f7('0x17'));_0x4b4f9e(_0x362404[_0xa6f7('0x18')]['message']);}})[_0xa6f7('0x19')](function(_0x22635e){logger[_0xa6f7('0x13')](_0xa6f7('0x15'),_0x1a06d1,_0x22635e);_0x30f2a7(_0x22635e);});});} \ No newline at end of file +var _0x3c66=['jayson/promise','client','http','request','info','VoiceQueuesLog,\x20%s,\x20%s','request\x20sent','debug','VoiceQueuesLog,\x20%s,\x20%s,\x20%s','stringify','error','message','catch','bluebird','randomstring','ioredis','../../mysqldb','../../config/utils','../../config/logger','rpc','../../config/environment'];(function(_0x4a3ee3,_0x304512){var _0x56d16d=function(_0x280251){while(--_0x280251){_0x4a3ee3['push'](_0x4a3ee3['shift']());}};_0x56d16d(++_0x304512);}(_0x3c66,0x8b));var _0x63c6=function(_0x189ad5,_0x408e60){_0x189ad5=_0x189ad5-0x0;var _0x50c06f=_0x3c66[_0x189ad5];return _0x50c06f;};'use strict';var _=require('lodash');var util=require('util');var moment=require('moment');var BPromise=require(_0x63c6('0x0'));var rs=require(_0x63c6('0x1'));var fs=require('fs');var Redis=require(_0x63c6('0x2'));var db=require(_0x63c6('0x3'))['db'];var utils=require(_0x63c6('0x4'));var logger=require(_0x63c6('0x5'))(_0x63c6('0x6'));var config=require(_0x63c6('0x7'));var jayson=require(_0x63c6('0x8'));var client=jayson[_0x63c6('0x9')][_0x63c6('0xa')]({'port':0x232a});function respondWithRpcPromise(_0x2b33e8,_0x47b438,_0x232099){return new BPromise(function(_0x50ff5c,_0x44e826){return client[_0x63c6('0xb')](_0x2b33e8,_0x232099)['then'](function(_0x386110){logger[_0x63c6('0xc')](_0x63c6('0xd'),_0x47b438,_0x63c6('0xe'));logger[_0x63c6('0xf')](_0x63c6('0x10'),_0x47b438,'request\x20sent',JSON[_0x63c6('0x11')](_0x386110));if(_0x386110[_0x63c6('0x12')]){if(_0x386110[_0x63c6('0x12')]['code']===0x1f4){logger['error']('VoiceQueuesLog,\x20%s,\x20%s',_0x47b438,_0x386110['error']['message']);return _0x44e826(_0x386110['error'][_0x63c6('0x13')]);}logger[_0x63c6('0x12')](_0x63c6('0xd'),_0x47b438,_0x386110[_0x63c6('0x12')][_0x63c6('0x13')]);return _0x50ff5c(_0x386110['error'][_0x63c6('0x13')]);}else{logger[_0x63c6('0xc')]('VoiceQueuesLog,\x20%s,\x20%s',_0x47b438,_0x63c6('0xe'));_0x50ff5c(_0x386110['result']['message']);}})[_0x63c6('0x14')](function(_0x571022){logger[_0x63c6('0x12')](_0x63c6('0xd'),_0x47b438,_0x571022);_0x44e826(_0x571022);});});} \ No newline at end of file diff --git a/server/api/voiceRecording/index.js b/server/api/voiceRecording/index.js index eff755c..2eac457 100644 --- a/server/api/voiceRecording/index.js +++ b/server/api/voiceRecording/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xa9e0=['isAuthenticated','/describe','/:id','/:id/download','download','/:id/downloads','downloadTranscribe','post','create','/:id/transcribe','runTranscribe','put','update','delete','exports','multer','util','path','Router','../../components/interaction/service','../../config/environment','./voiceRecording.controller','get'];(function(_0x532b76,_0x29338c){var _0x387b9c=function(_0x13798c){while(--_0x13798c){_0x532b76['push'](_0x532b76['shift']());}};_0x387b9c(++_0x29338c);}(_0xa9e0,0x123));var _0x0a9e=function(_0xf0bcac,_0x531755){_0xf0bcac=_0xf0bcac-0x0;var _0x4e4c65=_0xa9e0[_0xf0bcac];return _0x4e4c65;};'use strict';var multer=require(_0x0a9e('0x0'));var util=require(_0x0a9e('0x1'));var path=require(_0x0a9e('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x0a9e('0x3')]();var auth=require('../../components/auth/service');var interaction=require(_0x0a9e('0x4'));var config=require(_0x0a9e('0x5'));var controller=require(_0x0a9e('0x6'));router[_0x0a9e('0x7')]('/',auth[_0x0a9e('0x8')](),controller['index']);router[_0x0a9e('0x7')](_0x0a9e('0x9'),auth[_0x0a9e('0x8')](),controller['describe']);router['get'](_0x0a9e('0xa'),auth['isAuthenticated'](),controller['show']);router[_0x0a9e('0x7')](_0x0a9e('0xb'),auth[_0x0a9e('0x8')](),controller[_0x0a9e('0xc')]);router[_0x0a9e('0x7')](_0x0a9e('0xd'),controller['downloads']);router['get']('/:id/transcribe',auth['isAuthenticated'](),controller[_0x0a9e('0xe')]);router[_0x0a9e('0xf')]('/',auth[_0x0a9e('0x8')](),controller[_0x0a9e('0x10')]);router[_0x0a9e('0xf')](_0x0a9e('0x11'),auth['isAuthenticated'](),controller[_0x0a9e('0x12')]);router[_0x0a9e('0x13')](_0x0a9e('0xa'),auth[_0x0a9e('0x8')](),controller[_0x0a9e('0x14')]);router[_0x0a9e('0x15')]('/:id',auth[_0x0a9e('0x8')](),controller['destroy']);module[_0x0a9e('0x16')]=router; \ No newline at end of file +var _0xa9e0=['isAuthenticated','/describe','/:id','/:id/download','download','/:id/downloads','downloadTranscribe','post','create','/:id/transcribe','runTranscribe','put','update','delete','exports','multer','util','path','Router','../../components/interaction/service','../../config/environment','./voiceRecording.controller','get'];(function(_0xcea56e,_0x2d56b7){var _0x1e5b50=function(_0x3d04cd){while(--_0x3d04cd){_0xcea56e['push'](_0xcea56e['shift']());}};_0x1e5b50(++_0x2d56b7);}(_0xa9e0,0x123));var _0x0a9e=function(_0x34bf97,_0xc60f9d){_0x34bf97=_0x34bf97-0x0;var _0x292719=_0xa9e0[_0x34bf97];return _0x292719;};'use strict';var multer=require(_0x0a9e('0x0'));var util=require(_0x0a9e('0x1'));var path=require(_0x0a9e('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x0a9e('0x3')]();var auth=require('../../components/auth/service');var interaction=require(_0x0a9e('0x4'));var config=require(_0x0a9e('0x5'));var controller=require(_0x0a9e('0x6'));router[_0x0a9e('0x7')]('/',auth[_0x0a9e('0x8')](),controller['index']);router[_0x0a9e('0x7')](_0x0a9e('0x9'),auth[_0x0a9e('0x8')](),controller['describe']);router['get'](_0x0a9e('0xa'),auth['isAuthenticated'](),controller['show']);router[_0x0a9e('0x7')](_0x0a9e('0xb'),auth[_0x0a9e('0x8')](),controller[_0x0a9e('0xc')]);router[_0x0a9e('0x7')](_0x0a9e('0xd'),controller['downloads']);router['get']('/:id/transcribe',auth['isAuthenticated'](),controller[_0x0a9e('0xe')]);router[_0x0a9e('0xf')]('/',auth[_0x0a9e('0x8')](),controller[_0x0a9e('0x10')]);router[_0x0a9e('0xf')](_0x0a9e('0x11'),auth['isAuthenticated'](),controller[_0x0a9e('0x12')]);router[_0x0a9e('0x13')](_0x0a9e('0xa'),auth[_0x0a9e('0x8')](),controller[_0x0a9e('0x14')]);router[_0x0a9e('0x15')]('/:id',auth[_0x0a9e('0x8')](),controller['destroy']);module[_0x0a9e('0x16')]=router; \ No newline at end of file diff --git a/server/api/voiceRecording/voiceRecording.attributes.js b/server/api/voiceRecording/voiceRecording.attributes.js index 3f933e7..9142d1b 100644 --- a/server/api/voiceRecording/voiceRecording.attributes.js +++ b/server/api/voiceRecording/voiceRecording.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xc1a1=['FLOAT','BOOLEAN','DATE','getDataValue','createdAt','format','MM-DD-YYYY\x20HH:mm','updatedAt','toString','sequelize','moment','path','exports','VIRTUAL','extname','value','STRING','channel','INTEGER','TEXT','NEW'];(function(_0x449949,_0x4065ba){var _0x2e76fe=function(_0x2db59c){while(--_0x2db59c){_0x449949['push'](_0x449949['shift']());}};_0x2e76fe(++_0x4065ba);}(_0xc1a1,0x1ad));var _0x1c1a=function(_0x5192de,_0x4e91cd){_0x5192de=_0x5192de-0x0;var _0x4e287e=_0xc1a1[_0x5192de];return _0x4e287e;};'use strict';var Sequelize=require(_0x1c1a('0x0'));var moment=require(_0x1c1a('0x1'));var path=require(_0x1c1a('0x2'));module[_0x1c1a('0x3')]={'format':{'type':Sequelize[_0x1c1a('0x4')],'get':function(){return this['getDataValue']('value')?path[_0x1c1a('0x5')](this['getDataValue'](_0x1c1a('0x6'))):undefined;}},'uniqueid':{'type':Sequelize['STRING']},'channel':{'type':Sequelize[_0x1c1a('0x7')],'set':function(_0x2f3682){if(_0x2f3682){this['setDataValue'](_0x1c1a('0x8'),_0x2f3682);this['setDataValue']('membername',_0x2f3682['split'](/\/|-/)[0x1]);}}},'membername':{'type':Sequelize[_0x1c1a('0x7')]},'calleridnum':{'type':Sequelize['STRING']},'calleridname':{'type':Sequelize['STRING']},'connectedlinenum':{'type':Sequelize[_0x1c1a('0x7')]},'connectedlinename':{'type':Sequelize[_0x1c1a('0x7')]},'accountcode':{'type':Sequelize[_0x1c1a('0x7')]},'context':{'type':Sequelize[_0x1c1a('0x7')]},'exten':{'type':Sequelize[_0x1c1a('0x7')]},'value':{'type':Sequelize[_0x1c1a('0x7')]},'type':{'type':Sequelize[_0x1c1a('0x7')]},'rating':{'type':Sequelize[_0x1c1a('0x9')],'validate':{'max':0x5,'min':0x0}},'queue':{'type':Sequelize['STRING']},'userDisposition':{'type':Sequelize[_0x1c1a('0x7')]},'location':{'type':Sequelize[_0x1c1a('0xa')]},'transcribeName':{'type':Sequelize[_0x1c1a('0x7')]},'transcribeStatus':{'type':Sequelize[_0x1c1a('0x7')],'defaultValue':_0x1c1a('0xb')},'fileUri':{'type':Sequelize[_0x1c1a('0xa')]},'fileText':{'type':Sequelize[_0x1c1a('0xa')]},'failureReason':{'type':Sequelize[_0x1c1a('0xa')]},'sentiment':{'type':Sequelize['STRING']},'sPositive':{'type':Sequelize[_0x1c1a('0xc')]},'sNegative':{'type':Sequelize[_0x1c1a('0xc')]},'sNeutral':{'type':Sequelize['FLOAT']},'sMixed':{'type':Sequelize[_0x1c1a('0xc')]},'tempSentiment':{'type':Sequelize[_0x1c1a('0xd')],'defaultValue':![]},'createdAt':{'type':Sequelize[_0x1c1a('0xe')],'get':function(){return moment(this[_0x1c1a('0xf')](_0x1c1a('0x10')))[_0x1c1a('0x11')](_0x1c1a('0x12'))['toString']();}},'updatedAt':{'type':Sequelize[_0x1c1a('0xe')],'get':function(){return moment(this[_0x1c1a('0xf')](_0x1c1a('0x13')))[_0x1c1a('0x11')](_0x1c1a('0x12'))[_0x1c1a('0x14')]();}}}; \ No newline at end of file +var _0xbe10=['extname','getDataValue','STRING','setDataValue','membername','split','INTEGER','TEXT','NEW','FLOAT','DATE','createdAt','MM-DD-YYYY\x20HH:mm','toString','updatedAt','sequelize','moment','path','exports','VIRTUAL','value'];(function(_0x1ffd3b,_0x2ad440){var _0x87c1f0=function(_0x5deb43){while(--_0x5deb43){_0x1ffd3b['push'](_0x1ffd3b['shift']());}};_0x87c1f0(++_0x2ad440);}(_0xbe10,0x10b));var _0x0be1=function(_0x413feb,_0x10477f){_0x413feb=_0x413feb-0x0;var _0x40ee88=_0xbe10[_0x413feb];return _0x40ee88;};'use strict';var Sequelize=require(_0x0be1('0x0'));var moment=require(_0x0be1('0x1'));var path=require(_0x0be1('0x2'));module[_0x0be1('0x3')]={'format':{'type':Sequelize[_0x0be1('0x4')],'get':function(){return this['getDataValue'](_0x0be1('0x5'))?path[_0x0be1('0x6')](this[_0x0be1('0x7')](_0x0be1('0x5'))):undefined;}},'uniqueid':{'type':Sequelize['STRING']},'channel':{'type':Sequelize[_0x0be1('0x8')],'set':function(_0x233247){if(_0x233247){this['setDataValue']('channel',_0x233247);this[_0x0be1('0x9')](_0x0be1('0xa'),_0x233247[_0x0be1('0xb')](/\/|-/)[0x1]);}}},'membername':{'type':Sequelize[_0x0be1('0x8')]},'calleridnum':{'type':Sequelize[_0x0be1('0x8')]},'calleridname':{'type':Sequelize[_0x0be1('0x8')]},'connectedlinenum':{'type':Sequelize[_0x0be1('0x8')]},'connectedlinename':{'type':Sequelize[_0x0be1('0x8')]},'accountcode':{'type':Sequelize[_0x0be1('0x8')]},'context':{'type':Sequelize[_0x0be1('0x8')]},'exten':{'type':Sequelize[_0x0be1('0x8')]},'value':{'type':Sequelize[_0x0be1('0x8')]},'type':{'type':Sequelize['STRING']},'rating':{'type':Sequelize[_0x0be1('0xc')],'validate':{'max':0x5,'min':0x0}},'queue':{'type':Sequelize['STRING']},'userDisposition':{'type':Sequelize[_0x0be1('0x8')]},'location':{'type':Sequelize[_0x0be1('0xd')]},'transcribeName':{'type':Sequelize['STRING']},'transcribeStatus':{'type':Sequelize[_0x0be1('0x8')],'defaultValue':_0x0be1('0xe')},'fileUri':{'type':Sequelize['TEXT']},'fileText':{'type':Sequelize[_0x0be1('0xd')]},'failureReason':{'type':Sequelize[_0x0be1('0xd')]},'sentiment':{'type':Sequelize['STRING']},'sPositive':{'type':Sequelize[_0x0be1('0xf')]},'sNegative':{'type':Sequelize[_0x0be1('0xf')]},'sNeutral':{'type':Sequelize[_0x0be1('0xf')]},'sMixed':{'type':Sequelize[_0x0be1('0xf')]},'tempSentiment':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'createdAt':{'type':Sequelize[_0x0be1('0x10')],'get':function(){return moment(this['getDataValue'](_0x0be1('0x11')))['format'](_0x0be1('0x12'))[_0x0be1('0x13')]();}},'updatedAt':{'type':Sequelize[_0x0be1('0x10')],'get':function(){return moment(this['getDataValue'](_0x0be1('0x14')))['format'](_0x0be1('0x12'))[_0x0be1('0x13')]();}}}; \ No newline at end of file diff --git a/server/api/voiceRecording/voiceRecording.controller.js b/server/api/voiceRecording/voiceRecording.controller.js index 1e53ec2..6592092 100644 --- a/server/api/voiceRecording/voiceRecording.controller.js +++ b/server/api/voiceRecording/voiceRecording.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x6ae0=['NEW','[RUNTRANSCRIPT][%d]\x20Transcript\x20action\x20already\x20requested','tempSentiment','updateAttributes','writeFile','fileText','root','/server/files/transcribes/transcribe_','.txt','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','moment','bluebird','util','ejs','lodash','squel','jsforce','desk.js','to-csv','querystring','papaparse','uuid/v4','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/utils','../../config/environment','../../mysqldb','sendStatus','end','offset','limit','status','set','Content-Range','apply','reject','save','update','then','destroy','stack','name','send','index','map','VoiceRecording','rawAttributes','fieldName','type','model','format','keys','query','filters','intersection','attributes','fields','length','nolimit','order','sort','where','merge','VIRTUAL','filter','options','count','includeAll','include','findAll','rows','show','params','find','create','body','catch','describe','download','../../components/encryptor','uniqueid','value','%s.cypher','existsSync','decryptFile','secrets','recording','ValidationError','VoiceRecording\x20not\x20found','filename','extname','unlink','Not\x20found','downloads','sequelize','col','token','$and','push','Sequelize','Entity\x20not\x20found','info','cancellazione\x20fisica\x20documento\x20%s','File:\x20\x22','\x22\x20trovato\x20eseguo\x20la\x20cancellazione','unlinkSync','.cypher','listBuckets','TranscribeService','startTranscriptionJob','[RUNTRANSCRIPT][%d]\x20Starting\x20voice\x20recording\x20upload\x20in\x20bucket\x20%s','basename','readFileSync','[RUNTRANSCRIPT][%d]\x20Voice\x20recording\x20uploaded\x20in\x20bucket\x20%s\x20(%s)','bucket','location','Location','[RUNTRANSCRIPT][%d]\x20Sending\x20transcribe\x20request','[RUNTRANSCRIPT][%d]\x20Transcription\x20job\x20%s\x20created','TranscriptionJob','TranscriptionJobName','transcribeName','TranscriptionJobStatus','runTranscribe','findOne','Voice\x20Recording\x20not\x20found','Setting','transcribe','transcribeRegion','language','Transcribe\x20not\x20configured','runSentiment','sentiment','sentimentAccountId','sentimentRegion','Sentiment\x20Analysis\x20not\x20configured','CloudProvider','data2','data1','Buckets','Name','[RUNTRANSCRIPT][%d]\x20Bucket\x20%s\x20not\x20available','[RUNTRANSCRIPT][%d]\x20Bucket\x20%s\x20available'];(function(_0x3d2fa8,_0x50e57a){var _0x26019e=function(_0x571250){while(--_0x571250){_0x3d2fa8['push'](_0x3d2fa8['shift']());}};_0x26019e(++_0x50e57a);}(_0x6ae0,0x131));var _0x06ae=function(_0x32ec6f,_0x1a6558){_0x32ec6f=_0x32ec6f-0x0;var _0x19d0b5=_0x6ae0[_0x32ec6f];return _0x19d0b5;};'use strict';var pdf=require(_0x06ae('0x0'));var emlformat=require(_0x06ae('0x1'));var rimraf=require(_0x06ae('0x2'));var zipdir=require(_0x06ae('0x3'));var jsonpatch=require(_0x06ae('0x4'));var rp=require('request-promise');var moment=require(_0x06ae('0x5'));var BPromise=require(_0x06ae('0x6'));var Mustache=require('mustache');var util=require(_0x06ae('0x7'));var path=require('path');var sox=require('sox');var csv=require('to-csv');var ejs=require(_0x06ae('0x8'));var fs=require('fs');var _=require(_0x06ae('0x9'));var squel=require(_0x06ae('0xa'));var crypto=require('crypto');var jsforce=require(_0x06ae('0xb'));var deskjs=require(_0x06ae('0xc'));var toCsv=require(_0x06ae('0xd'));var querystring=require(_0x06ae('0xe'));var Papa=require(_0x06ae('0xf'));var AWS=require('aws-sdk');var uuidv4=require(_0x06ae('0x10'));var Redis=require('ioredis');var authService=require(_0x06ae('0x11'));var qs=require(_0x06ae('0x12'));var as=require(_0x06ae('0x13'));var hardwareService=require('../../config/license/hardware');var logger=require('../../config/logger')('api');var utils=require(_0x06ae('0x14'));var config=require(_0x06ae('0x15'));var db=require(_0x06ae('0x16'))['db'];function respondWithStatusCode(_0x577ccc,_0x307743){_0x307743=_0x307743||0xcc;return function(_0x4ff175){if(_0x4ff175){return _0x577ccc[_0x06ae('0x17')](_0x307743);}return _0x577ccc['status'](_0x307743)[_0x06ae('0x18')]();};}function respondWithResult(_0x20a25f,_0x37736b){_0x37736b=_0x37736b||0xc8;return function(_0x326dcd){if(_0x326dcd){return _0x20a25f['status'](_0x37736b)['json'](_0x326dcd);}};}function respondWithFilteredResult(_0x3044ac,_0x529227){return function(_0x2072f3){if(_0x2072f3){var _0x4c9457=_0x2072f3['count'],_0x4cdd15=_0x529227[_0x06ae('0x19')],_0x2ec957=_0x529227[_0x06ae('0x19')]+_0x529227[_0x06ae('0x1a')],_0x547efd;if(_0x2ec957>=_0x4c9457){_0x2ec957=_0x4c9457;_0x547efd=0xc8;}else{_0x547efd=0xce;}_0x3044ac[_0x06ae('0x1b')](_0x547efd);return _0x3044ac[_0x06ae('0x1c')](_0x06ae('0x1d'),_0x4cdd15+'-'+_0x2ec957+'/'+_0x4c9457)['json'](_0x2072f3);}return null;};}function patchUpdates(_0xfdc655){return function(_0x4abf52){try{jsonpatch[_0x06ae('0x1e')](_0x4abf52,_0xfdc655,!![]);}catch(_0x428b42){return BPromise[_0x06ae('0x1f')](_0x428b42);}return _0x4abf52[_0x06ae('0x20')]();};}function saveUpdates(_0x1b76e3,_0x116d31){return function(_0x1c3bda){if(_0x1c3bda){return _0x1c3bda[_0x06ae('0x21')](_0x1b76e3)[_0x06ae('0x22')](function(_0xdb9c18){return _0xdb9c18;});}return null;};}function removeEntity(_0x35c26f,_0x51b3e1){return function(_0x5aaa66){if(_0x5aaa66){return _0x5aaa66[_0x06ae('0x23')]()['then'](function(){_0x35c26f[_0x06ae('0x1b')](0xcc)['end']();});}};}function handleEntityNotFound(_0x2ec988,_0xd80287){return function(_0x1bb179){if(!_0x1bb179){_0x2ec988[_0x06ae('0x17')](0x194);}return _0x1bb179;};}function handleError(_0x5e9a7a,_0x51e433){_0x51e433=_0x51e433||0x1f4;return function(_0x4a4124){logger['error'](_0x4a4124[_0x06ae('0x24')]);if(_0x4a4124['name']){delete _0x4a4124[_0x06ae('0x25')];}_0x5e9a7a[_0x06ae('0x1b')](_0x51e433)[_0x06ae('0x26')](_0x4a4124);};}exports[_0x06ae('0x27')]=function(_0x183698,_0x412a12){var _0xb24c3a={},_0x34b2b0={},_0x388cfb={'count':0x0,'rows':[]};var _0x14bb3f=_[_0x06ae('0x28')](db[_0x06ae('0x29')][_0x06ae('0x2a')],function(_0x1a2ce9){return{'name':_0x1a2ce9[_0x06ae('0x2b')],'type':_0x1a2ce9[_0x06ae('0x2c')]['key']};});_0x34b2b0[_0x06ae('0x2d')]=_['differenceBy'](_[_0x06ae('0x28')](_0x14bb3f,_0x06ae('0x25')),[_0x06ae('0x2e')]);_0x34b2b0['query']=_[_0x06ae('0x2f')](_0x183698[_0x06ae('0x30')]);_0x34b2b0[_0x06ae('0x31')]=_[_0x06ae('0x32')](_0x34b2b0[_0x06ae('0x2d')],_0x34b2b0[_0x06ae('0x30')]);_0xb24c3a[_0x06ae('0x33')]=_[_0x06ae('0x32')](_0x34b2b0[_0x06ae('0x2d')],qs['fields'](_0x183698[_0x06ae('0x30')][_0x06ae('0x34')]));_0xb24c3a['attributes']=_0xb24c3a['attributes'][_0x06ae('0x35')]?_0xb24c3a['attributes']:_0x34b2b0[_0x06ae('0x2d')];if(!_0x183698[_0x06ae('0x30')]['hasOwnProperty'](_0x06ae('0x36'))){_0xb24c3a['limit']=qs[_0x06ae('0x1a')](_0x183698['query'][_0x06ae('0x1a')]);_0xb24c3a['offset']=qs[_0x06ae('0x19')](_0x183698[_0x06ae('0x30')][_0x06ae('0x19')]);}_0xb24c3a[_0x06ae('0x37')]=qs['sort'](_0x183698['query'][_0x06ae('0x38')]);_0xb24c3a['where']=qs['filters'](_['pick'](_0x183698[_0x06ae('0x30')],_0x34b2b0[_0x06ae('0x31')]),_0x14bb3f);if(_0x183698[_0x06ae('0x30')]['filter']){_0xb24c3a[_0x06ae('0x39')]=_[_0x06ae('0x3a')](_0xb24c3a['where'],{'$or':_[_0x06ae('0x28')](_0x14bb3f,function(_0x293bc5){if(_0x293bc5['type']!==_0x06ae('0x3b')){var _0x38fa24={};_0x38fa24[_0x293bc5['name']]={'$like':'%'+_0x183698['query'][_0x06ae('0x3c')]+'%'};return _0x38fa24;}})});}_0xb24c3a=_[_0x06ae('0x3a')]({},_0xb24c3a,_0x183698[_0x06ae('0x3d')]);var _0x540621={'where':_0xb24c3a[_0x06ae('0x39')]};return db[_0x06ae('0x29')]['count'](_0x540621)[_0x06ae('0x22')](function(_0x4efb9d){_0x388cfb[_0x06ae('0x3e')]=_0x4efb9d;if(_0x183698[_0x06ae('0x30')][_0x06ae('0x3f')]){_0xb24c3a[_0x06ae('0x40')]=[{'all':!![]}];}return db[_0x06ae('0x29')][_0x06ae('0x41')](_0xb24c3a);})[_0x06ae('0x22')](function(_0x2d0dd1){_0x388cfb[_0x06ae('0x42')]=_0x2d0dd1;return _0x388cfb;})[_0x06ae('0x22')](respondWithFilteredResult(_0x412a12,_0xb24c3a))['catch'](handleError(_0x412a12,null));};exports[_0x06ae('0x43')]=function(_0x1a7478,_0x258b88){var _0x488240={'raw':![],'where':{'id':_0x1a7478[_0x06ae('0x44')]['id']}},_0x31c0ca={};_0x31c0ca[_0x06ae('0x2d')]=_[_0x06ae('0x2f')](db['VoiceRecording'][_0x06ae('0x2a')]);_0x31c0ca[_0x06ae('0x30')]=_[_0x06ae('0x2f')](_0x1a7478[_0x06ae('0x30')]);_0x31c0ca[_0x06ae('0x31')]=_['intersection'](_0x31c0ca[_0x06ae('0x2d')],_0x31c0ca[_0x06ae('0x30')]);_0x488240[_0x06ae('0x33')]=_[_0x06ae('0x32')](_0x31c0ca[_0x06ae('0x2d')],qs['fields'](_0x1a7478[_0x06ae('0x30')][_0x06ae('0x34')]));_0x488240['attributes']=_0x488240[_0x06ae('0x33')][_0x06ae('0x35')]?_0x488240[_0x06ae('0x33')]:_0x31c0ca[_0x06ae('0x2d')];if(_0x1a7478[_0x06ae('0x30')][_0x06ae('0x3f')]){_0x488240[_0x06ae('0x40')]=[{'all':!![]}];}_0x488240=_[_0x06ae('0x3a')]({},_0x488240,_0x1a7478['options']);return db[_0x06ae('0x29')][_0x06ae('0x45')](_0x488240)[_0x06ae('0x22')](handleEntityNotFound(_0x258b88,null))[_0x06ae('0x22')](respondWithResult(_0x258b88,null))['catch'](handleError(_0x258b88,null));};exports[_0x06ae('0x46')]=function(_0x4ad591,_0x592cd0){return db[_0x06ae('0x29')][_0x06ae('0x46')](_0x4ad591[_0x06ae('0x47')],{})[_0x06ae('0x22')](respondWithResult(_0x592cd0,0xc9))[_0x06ae('0x48')](handleError(_0x592cd0,null));};exports[_0x06ae('0x21')]=function(_0x399ac0,_0x46ba31){if(_0x399ac0[_0x06ae('0x47')]['id']){delete _0x399ac0[_0x06ae('0x47')]['id'];}return db[_0x06ae('0x29')]['find']({'where':{'id':_0x399ac0[_0x06ae('0x44')]['id']}})[_0x06ae('0x22')](handleEntityNotFound(_0x46ba31,null))[_0x06ae('0x22')](saveUpdates(_0x399ac0['body'],null))[_0x06ae('0x22')](respondWithResult(_0x46ba31,null))[_0x06ae('0x48')](handleError(_0x46ba31,null));};exports[_0x06ae('0x49')]=function(_0x5132eb,_0x385f27){return db[_0x06ae('0x29')][_0x06ae('0x49')]()[_0x06ae('0x22')](respondWithResult(_0x385f27,null))['catch'](handleError(_0x385f27,null));};exports[_0x06ae('0x4a')]=function(_0x467c62,_0x30c783,_0x19568a){var _0xcaefa9=require(_0x06ae('0x4b'));var _0x4b9c4b=![];var _0x2413cc={};if(_0x467c62['query'][_0x06ae('0x2c')]&&_0x467c62[_0x06ae('0x30')]['type']===_0x06ae('0x4c')){_0x2413cc['uniqueid']=_0x467c62[_0x06ae('0x44')]['id'];}else{_0x2413cc['id']=_0x467c62['params']['id'];}return db[_0x06ae('0x29')][_0x06ae('0x45')]({'where':_0x2413cc,'attributes':['id','value'],'raw':!![]})[_0x06ae('0x22')](handleEntityNotFound(_0x30c783,null))[_0x06ae('0x22')](function(_0x59a1a1){if(_0x59a1a1){var _0x3adc01=_0x59a1a1[_0x06ae('0x4d')];var _0x528d2e=util[_0x06ae('0x2e')](_0x06ae('0x4e'),_0x3adc01);if(fs[_0x06ae('0x4f')](_0x528d2e)){_0x4b9c4b=!![];return _0xcaefa9[_0x06ae('0x50')](_0x528d2e,_0x3adc01,config[_0x06ae('0x51')][_0x06ae('0x52')])[_0x06ae('0x22')](function(){return _0x59a1a1;});}return _0x59a1a1;}})[_0x06ae('0x22')](function(_0xe3e5fd){if(_0xe3e5fd){var _0x463884=_0xe3e5fd[_0x06ae('0x4d')];if(!fs[_0x06ae('0x4f')](_0x463884)){throw new db['Sequelize'][(_0x06ae('0x53'))](_0x06ae('0x54'));}if(_0xe3e5fd[_0x06ae('0x55')]){return _0x30c783[_0x06ae('0x4a')](_0x463884,_0xe3e5fd[_0x06ae('0x55')]+path[_0x06ae('0x56')](_0x463884),function(){if(_0x4b9c4b){fs['unlink'](_0x463884);}});}else{return _0x30c783[_0x06ae('0x4a')](_0x463884,function(_0x2b9d44){if(_0x4b9c4b){fs[_0x06ae('0x57')](_0x463884);}});}}})[_0x06ae('0x48')](function(_0x4430a6){if(_0x4430a6['message']===_0x06ae('0x54')){_0x30c783[_0x06ae('0x1b')](0x194)[_0x06ae('0x26')](_0x06ae('0x58'));}else{return handleError(_0x30c783,null);}});};exports[_0x06ae('0x59')]=function(_0x21368e,_0x3012c0,_0x2cb466){var _0x2aa5c3=require('../../components/encryptor');var _0x480f85=![];var _0x53cb9e={'$and':[db[_0x06ae('0x5a')][_0x06ae('0x39')](db[_0x06ae('0x5a')]['fn']('MD5',db[_0x06ae('0x5a')][_0x06ae('0x5b')](_0x06ae('0x4c'))),_0x21368e[_0x06ae('0x30')][_0x06ae('0x5c')])]};if(_0x21368e[_0x06ae('0x30')][_0x06ae('0x2c')]&&_0x21368e['query']['type']===_0x06ae('0x4c')){_0x53cb9e[_0x06ae('0x5d')][_0x06ae('0x5e')]({'uniqueid':_0x21368e[_0x06ae('0x44')]['id']});}else{_0x53cb9e['$and'][_0x06ae('0x5e')]({'id':_0x21368e['params']['id']});}return db[_0x06ae('0x29')][_0x06ae('0x45')]({'where':_0x53cb9e,'attributes':['id',_0x06ae('0x4d')],'raw':!![]})[_0x06ae('0x22')](handleEntityNotFound(_0x3012c0,null))[_0x06ae('0x22')](function(_0x38feca){if(_0x38feca){var _0x1b2db2=util[_0x06ae('0x2e')](_0x06ae('0x4e'),_0x38feca[_0x06ae('0x4d')]);if(fs[_0x06ae('0x4f')](_0x1b2db2)){_0x480f85=!![];return _0x2aa5c3['decryptFile'](_0x1b2db2,_0x38feca[_0x06ae('0x4d')],config[_0x06ae('0x51')][_0x06ae('0x52')])[_0x06ae('0x22')](function(){return _0x38feca;});}return _0x38feca;}})['then'](function(_0x513afd){if(_0x513afd){if(!fs[_0x06ae('0x4f')](_0x513afd[_0x06ae('0x4d')])){throw new db[(_0x06ae('0x5f'))][(_0x06ae('0x53'))](_0x06ae('0x54'));}if(_0x513afd[_0x06ae('0x55')]){return _0x3012c0[_0x06ae('0x4a')](_0x513afd['value'],_0x513afd[_0x06ae('0x55')]+path[_0x06ae('0x56')](_0x513afd['value']),function(){if(_0x480f85){fs['unlink'](_0x513afd['value']);}});}else{return _0x3012c0[_0x06ae('0x4a')](_0x513afd[_0x06ae('0x4d')],function(_0x2e9c3a){if(_0x480f85){fs['unlink'](_0x513afd[_0x06ae('0x4d')]);}});}}})[_0x06ae('0x48')](handleError(_0x3012c0,null));};exports['destroy']=function(_0x5abd0d,_0x14c4d2){return db[_0x06ae('0x29')][_0x06ae('0x45')]({'where':{'id':_0x5abd0d['params']['id']}})['then'](function(_0x55231c){if(!_0x55231c)throw new ReferenceError(_0x06ae('0x60'));return _0x55231c;})[_0x06ae('0x22')](function(_0x4465e0){var _0x1f0dd0=_0x4465e0[_0x06ae('0x4d')];logger[_0x06ae('0x61')](_0x06ae('0x62'),_0x1f0dd0);if(!_['isNil'](_0x4465e0[_0x06ae('0x4d')])&&fs[_0x06ae('0x4f')](_0x1f0dd0)){logger['info'](_0x06ae('0x63')+_0x1f0dd0+_0x06ae('0x64'));fs[_0x06ae('0x65')](_0x1f0dd0);}_0x1f0dd0=_0x1f0dd0+_0x06ae('0x66');if(!_['isNil'](_0x4465e0[_0x06ae('0x4d')])&&fs[_0x06ae('0x4f')](_0x1f0dd0)){logger[_0x06ae('0x61')](_0x06ae('0x63')+_0x1f0dd0+'\x22\x20trovato\x20eseguo\x20la\x20cancellazione');fs[_0x06ae('0x65')](_0x1f0dd0);}return _0x4465e0;})[_0x06ae('0x22')](function(_0x4b5d6d){if(!_0x4b5d6d)throw new InternalError();return _0x4b5d6d[_0x06ae('0x23')]();})[_0x06ae('0x22')](function(){_0x14c4d2[_0x06ae('0x1b')](0xcc)[_0x06ae('0x18')]();})[_0x06ae('0x48')](handleError(_0x14c4d2,null));};function getBucketslist(_0x355531,_0x4e5de6,_0x2fdea2){return new Promise(function(_0x440c61,_0x3089ec){var _0x29d1f4=new AWS['S3']({'accessKeyId':_0x4e5de6,'secretAccessKey':_0x355531,'region':_0x2fdea2});_0x29d1f4[_0x06ae('0x67')]({},function(_0x36a4af,_0x5a8055){if(_0x36a4af){return _0x3089ec(_0x36a4af);}else{return _0x440c61(_0x5a8055);}});});}function createBucket(_0x304adb,_0x222517,_0x262a52,_0x373ef0){return new Promise(function(_0x37c697,_0x26828a){var _0x29ee43=new AWS['S3']({'accessKeyId':_0x222517,'secretAccessKey':_0x304adb,'region':_0x262a52});_0x29ee43['createBucket']({'Bucket':_0x373ef0},function(_0x24147d,_0x56dbf8){if(_0x24147d){return _0x26828a(_0x24147d);}else{return _0x37c697(_0x56dbf8);}});});}function uploadFile(_0x4cfd5b,_0x5113eb,_0x4c8c98,_0x72c773,_0xb572c5,_0x58d40c){return new Promise(function(_0x32176b,_0x594d04){var _0x185e45=new AWS['S3']({'accessKeyId':_0x5113eb,'secretAccessKey':_0x4cfd5b,'region':_0x4c8c98});_0x185e45['upload']({'Bucket':_0x72c773,'Key':_0xb572c5,'Body':_0x58d40c},function(_0x4ad3bb,_0x4cc0d3){if(_0x4ad3bb){return _0x594d04(_0x4ad3bb);}else{return _0x32176b(_0x4cc0d3);}});});}function startTranscribe(_0x2b31d6,_0x303d03,_0x5d2f8f,_0x4076e1,_0x35bbfe,_0x80cf32){return new Promise(function(_0x58192a,_0x2e2610){var _0x5ee709=new AWS[(_0x06ae('0x68'))]({'accessKeyId':_0x303d03,'secretAccessKey':_0x2b31d6,'region':_0x5d2f8f});_0x5ee709[_0x06ae('0x69')]({'TranscriptionJobName':_0x4076e1,'LanguageCode':_0x35bbfe,'Media':{'MediaFileUri':_0x80cf32}},function(_0x3e5eb8,_0x259d10){if(_0x3e5eb8){return _0x2e2610(_0x3e5eb8);}else{return _0x58192a(_0x259d10);}});});}function transcribe(_0x53ced6,_0x526c61,_0x2e0a3e,_0x112d14,_0x1b588b,_0x55c575,_0x4ec2b5){return new Promise(function(_0x39ef05,_0x106c6f){var _0x226222={};logger[_0x06ae('0x61')](util[_0x06ae('0x2e')](_0x06ae('0x6a'),_0x53ced6,_0x1b588b));return uploadFile(_0x526c61,_0x2e0a3e,_0x112d14,_0x1b588b,path[_0x06ae('0x6b')](_0x55c575),fs[_0x06ae('0x6c')](_0x55c575))[_0x06ae('0x22')](function(_0x5ab5ee){logger[_0x06ae('0x61')](util[_0x06ae('0x2e')](_0x06ae('0x6d'),_0x53ced6,_0x1b588b,_0x5ab5ee['Location']));_0x226222[_0x06ae('0x6e')]=_0x5ab5ee['Bucket'];_0x226222[_0x06ae('0x6f')]=_0x5ab5ee[_0x06ae('0x70')];logger[_0x06ae('0x61')](util[_0x06ae('0x2e')](_0x06ae('0x71'),_0x53ced6));return startTranscribe(_0x526c61,_0x2e0a3e,_0x112d14,uuidv4(),_0x4ec2b5,_0x5ab5ee[_0x06ae('0x70')]);})[_0x06ae('0x22')](function(_0x131ac5){logger[_0x06ae('0x61')](util[_0x06ae('0x2e')](_0x06ae('0x72'),_0x53ced6,_0x131ac5[_0x06ae('0x73')][_0x06ae('0x74')]));_0x226222[_0x06ae('0x75')]=_0x131ac5[_0x06ae('0x73')][_0x06ae('0x74')];_0x226222['transcribeStatus']=_0x131ac5['TranscriptionJob'][_0x06ae('0x76')];return _0x39ef05(_0x226222);})['catch'](function(_0x2bc030){return _0x106c6f(_0x2bc030);});});}exports[_0x06ae('0x77')]=function(_0x11b37a,_0xddef0f,_0x4c8fc2){var _0x5757fc;var _0x2ab661;var _0x1e4229;var _0x3820e0=require('../../components/encryptor');return db[_0x06ae('0x29')][_0x06ae('0x78')]({'where':{'id':_0x11b37a[_0x06ae('0x44')]['id']}})[_0x06ae('0x22')](function(_0x1a60cb){if(_0x1a60cb){var _0x3044b5=util[_0x06ae('0x2e')](_0x06ae('0x4e'),_0x1a60cb[_0x06ae('0x4d')]);if(fs[_0x06ae('0x4f')](_0x3044b5)){cypher=!![];return _0x3820e0[_0x06ae('0x50')](_0x3044b5,_0x1a60cb[_0x06ae('0x4d')],config['secrets'][_0x06ae('0x52')])[_0x06ae('0x22')](function(){return _0x1a60cb;});}return _0x1a60cb;}})[_0x06ae('0x22')](function(_0xe15481){if(!_0xe15481){throw new db[(_0x06ae('0x5f'))][(_0x06ae('0x53'))](_0x06ae('0x79'));}_0x2ab661=_0xe15481;return db[_0x06ae('0x7a')][_0x06ae('0x78')]({'where':{'id':0x1}});})[_0x06ae('0x22')](handleEntityNotFound(_0xddef0f,null))[_0x06ae('0x22')](function(_0x3c5670){if(_0x3c5670){_0x5757fc=_0x3c5670;if(!_0x5757fc[_0x06ae('0x7b')]||!_0x5757fc['transcribeAccountId']||!_0x5757fc[_0x06ae('0x7c')]||!_0x5757fc[_0x06ae('0x7d')]||!_0x5757fc[_0x06ae('0x6e')]){throw new db['Sequelize']['ValidationError'](_0x06ae('0x7e'));}if(_0x11b37a[_0x06ae('0x47')][_0x06ae('0x7f')]&&(!_0x5757fc[_0x06ae('0x80')]||!_0x5757fc[_0x06ae('0x81')]||!_0x5757fc[_0x06ae('0x82')]||!_0x5757fc['language']||!_0x5757fc['bucket'])){throw new db[(_0x06ae('0x5f'))][(_0x06ae('0x53'))](_0x06ae('0x83'));}return db[_0x06ae('0x84')][_0x06ae('0x78')]({'where':{'id':_0x5757fc['transcribeAccountId']}});}})[_0x06ae('0x22')](function(_0x1dec7b){if(!_0x1dec7b){throw new db['Sequelize'][(_0x06ae('0x53'))]('Cloud\x20Provider\x20not\x20available');}if(!_0x1dec7b['data1']||!_0x1dec7b[_0x06ae('0x85')]){throw new db[(_0x06ae('0x5f'))]['ValidationError']('Cloud\x20Provider\x20not\x20configured');}_0x1e4229=_0x1dec7b;return getBucketslist(_0x1e4229[_0x06ae('0x86')],_0x1e4229[_0x06ae('0x85')],_0x5757fc[_0x06ae('0x7c')]);})[_0x06ae('0x22')](function(_0x494d7d){if(_0x494d7d&&_0x494d7d[_0x06ae('0x87')]){var _0x582fb1=_['find'](_0x494d7d[_0x06ae('0x87')],function(_0x954ccb){return _0x954ccb[_0x06ae('0x88')]===_0x5757fc['bucket'];});if(!_0x582fb1){logger['info'](util[_0x06ae('0x2e')](_0x06ae('0x89'),_0x11b37a[_0x06ae('0x44')]['id'],_0x5757fc['bucket']));return createBucket(_0x1e4229[_0x06ae('0x86')],_0x1e4229[_0x06ae('0x85')],_0x5757fc[_0x06ae('0x7c')],_0x5757fc[_0x06ae('0x6e')]);}logger[_0x06ae('0x61')](util['format'](_0x06ae('0x8a'),_0x11b37a['params']['id'],_0x5757fc[_0x06ae('0x6e')]));return;}})[_0x06ae('0x22')](function(_0x434ad1){if(_0x2ab661['transcribeStatus']===_0x06ae('0x8b')){return transcribe(_0x11b37a[_0x06ae('0x44')]['id'],_0x1e4229[_0x06ae('0x86')],_0x1e4229[_0x06ae('0x85')],_0x5757fc[_0x06ae('0x7c')],_0x5757fc[_0x06ae('0x6e')],_0x2ab661[_0x06ae('0x4d')],_0x5757fc[_0x06ae('0x7d')]);}else{logger[_0x06ae('0x61')](util[_0x06ae('0x2e')](_0x06ae('0x8c'),_0x11b37a[_0x06ae('0x44')]['id']));return{'transcribeStatus':'IN_PROGRESS'};}})['then'](function(_0x4cdffb){if(_0x4cdffb){_0x4cdffb[_0x06ae('0x8d')]=_0x11b37a[_0x06ae('0x47')][_0x06ae('0x7f')];return _0x2ab661[_0x06ae('0x8e')](_0x4cdffb);}})[_0x06ae('0x22')](respondWithResult(_0xddef0f,null))['catch'](handleError(_0xddef0f,null));};function writeFile(_0x5588c4,_0x5cf557){return new Promise(function(_0x2f5e28,_0x55b82d){fs[_0x06ae('0x8f')](_0x5cf557,_0x5588c4,function(_0x1b4900,_0x14c22d){if(_0x1b4900){return _0x55b82d(_0x1b4900);}else{return _0x2f5e28(_0x14c22d);}});});}exports['downloadTranscribe']=function(_0x56620b,_0x715f1b,_0x5a02a1){return db[_0x06ae('0x29')]['findOne']({'where':{'id':_0x56620b[_0x06ae('0x44')]['id']}})[_0x06ae('0x22')](handleEntityNotFound(_0x715f1b))[_0x06ae('0x22')](function(_0xb52e22){if(_0xb52e22&&_0xb52e22[_0x06ae('0x90')]){var _0x11cbb0=_0xb52e22[_0x06ae('0x90')];var _0x4d77c0=config[_0x06ae('0x91')]+_0x06ae('0x92')+_0xb52e22['id']+_0x06ae('0x93');if(fs[_0x06ae('0x4f')](_0x4d77c0)){return _0x4d77c0;}return writeFile(_0x11cbb0,_0x4d77c0)['then'](function(){return _0x4d77c0;});}else{throw new db['Sequelize'][(_0x06ae('0x53'))]('Transcript\x20not\x20available');}})[_0x06ae('0x22')](function(_0x1264c6){return _0x715f1b[_0x06ae('0x4a')](_0x1264c6);})['catch'](handleError(_0x715f1b));}; \ No newline at end of file +var _0xdc03=['.cypher','TranscribeService','startTranscriptionJob','[RUNTRANSCRIPT][%d]\x20Starting\x20voice\x20recording\x20upload\x20in\x20bucket\x20%s','basename','readFileSync','[RUNTRANSCRIPT][%d]\x20Voice\x20recording\x20uploaded\x20in\x20bucket\x20%s\x20(%s)','Location','bucket','Bucket','transcribeName','TranscriptionJobName','transcribeStatus','TranscriptionJob','TranscriptionJobStatus','runTranscribe','findOne','Setting','transcribe','transcribeRegion','language','Transcribe\x20not\x20configured','sentimentAccountId','sentimentRegion','Sentiment\x20Analysis\x20not\x20configured','transcribeAccountId','Cloud\x20Provider\x20not\x20available','data1','data2','Cloud\x20Provider\x20not\x20configured','Buckets','Name','[RUNTRANSCRIPT][%d]\x20Bucket\x20%s\x20not\x20available','IN_PROGRESS','tempSentiment','runSentiment','writeFile','fileText','root','/server/files/transcribes/transcribe_','.txt','Transcript\x20not\x20available','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','mustache','util','to-csv','ejs','lodash','jsforce','desk.js','querystring','papaparse','aws-sdk','uuid/v4','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','api','../../config/utils','../../config/environment','status','end','json','offset','limit','set','Content-Range','apply','reject','update','destroy','sendStatus','error','name','send','index','map','rawAttributes','fieldName','key','model','differenceBy','format','query','keys','filters','intersection','attributes','fields','length','hasOwnProperty','nolimit','order','sort','where','pick','merge','type','filter','options','VoiceRecording','count','then','includeAll','include','findAll','rows','catch','show','find','create','body','params','describe','download','uniqueid','value','%s.cypher','existsSync','secrets','Sequelize','filename','extname','unlink','message','VoiceRecording\x20not\x20found','Not\x20found','../../components/encryptor','MD5','sequelize','col','token','push','$and','decryptFile','ValidationError','Entity\x20not\x20found','info','isNil','File:\x20\x22','\x22\x20trovato\x20eseguo\x20la\x20cancellazione','unlinkSync'];(function(_0xae7c2f,_0xf31e04){var _0x5d7001=function(_0x4eeadb){while(--_0x4eeadb){_0xae7c2f['push'](_0xae7c2f['shift']());}};_0x5d7001(++_0xf31e04);}(_0xdc03,0x158));var _0x3dc0=function(_0x3a3143,_0x45a5f9){_0x3a3143=_0x3a3143-0x0;var _0x331338=_0xdc03[_0x3a3143];return _0x331338;};'use strict';var pdf=require(_0x3dc0('0x0'));var emlformat=require(_0x3dc0('0x1'));var rimraf=require(_0x3dc0('0x2'));var zipdir=require(_0x3dc0('0x3'));var jsonpatch=require(_0x3dc0('0x4'));var rp=require(_0x3dc0('0x5'));var moment=require(_0x3dc0('0x6'));var BPromise=require(_0x3dc0('0x7'));var Mustache=require(_0x3dc0('0x8'));var util=require(_0x3dc0('0x9'));var path=require('path');var sox=require('sox');var csv=require(_0x3dc0('0xa'));var ejs=require(_0x3dc0('0xb'));var fs=require('fs');var _=require(_0x3dc0('0xc'));var squel=require('squel');var crypto=require('crypto');var jsforce=require(_0x3dc0('0xd'));var deskjs=require(_0x3dc0('0xe'));var toCsv=require(_0x3dc0('0xa'));var querystring=require(_0x3dc0('0xf'));var Papa=require(_0x3dc0('0x10'));var AWS=require(_0x3dc0('0x11'));var uuidv4=require(_0x3dc0('0x12'));var Redis=require(_0x3dc0('0x13'));var authService=require(_0x3dc0('0x14'));var qs=require(_0x3dc0('0x15'));var as=require(_0x3dc0('0x16'));var hardwareService=require(_0x3dc0('0x17'));var logger=require('../../config/logger')(_0x3dc0('0x18'));var utils=require(_0x3dc0('0x19'));var config=require(_0x3dc0('0x1a'));var db=require('../../mysqldb')['db'];function respondWithStatusCode(_0x364477,_0x285572){_0x285572=_0x285572||0xcc;return function(_0x5cd578){if(_0x5cd578){return _0x364477['sendStatus'](_0x285572);}return _0x364477[_0x3dc0('0x1b')](_0x285572)[_0x3dc0('0x1c')]();};}function respondWithResult(_0x3c56fc,_0x56cef2){_0x56cef2=_0x56cef2||0xc8;return function(_0x1a8c18){if(_0x1a8c18){return _0x3c56fc[_0x3dc0('0x1b')](_0x56cef2)[_0x3dc0('0x1d')](_0x1a8c18);}};}function respondWithFilteredResult(_0x36f3c5,_0x5291b0){return function(_0x20da9c){if(_0x20da9c){var _0x5b8378=_0x20da9c['count'],_0xd256e2=_0x5291b0[_0x3dc0('0x1e')],_0x8ce3fd=_0x5291b0['offset']+_0x5291b0[_0x3dc0('0x1f')],_0xca9860;if(_0x8ce3fd>=_0x5b8378){_0x8ce3fd=_0x5b8378;_0xca9860=0xc8;}else{_0xca9860=0xce;}_0x36f3c5['status'](_0xca9860);return _0x36f3c5[_0x3dc0('0x20')](_0x3dc0('0x21'),_0xd256e2+'-'+_0x8ce3fd+'/'+_0x5b8378)[_0x3dc0('0x1d')](_0x20da9c);}return null;};}function patchUpdates(_0x32e333){return function(_0x1b59da){try{jsonpatch[_0x3dc0('0x22')](_0x1b59da,_0x32e333,!![]);}catch(_0x27130a){return BPromise[_0x3dc0('0x23')](_0x27130a);}return _0x1b59da['save']();};}function saveUpdates(_0x270869,_0x2ace1e){return function(_0xef9a2a){if(_0xef9a2a){return _0xef9a2a[_0x3dc0('0x24')](_0x270869)['then'](function(_0x9af840){return _0x9af840;});}return null;};}function removeEntity(_0x6b542f,_0x4b921d){return function(_0x395f7d){if(_0x395f7d){return _0x395f7d[_0x3dc0('0x25')]()['then'](function(){_0x6b542f[_0x3dc0('0x1b')](0xcc)[_0x3dc0('0x1c')]();});}};}function handleEntityNotFound(_0x2a45ea,_0x53e28e){return function(_0x5bfd53){if(!_0x5bfd53){_0x2a45ea[_0x3dc0('0x26')](0x194);}return _0x5bfd53;};}function handleError(_0x1ee951,_0x1cbe8e){_0x1cbe8e=_0x1cbe8e||0x1f4;return function(_0x40cd2c){logger[_0x3dc0('0x27')](_0x40cd2c['stack']);if(_0x40cd2c[_0x3dc0('0x28')]){delete _0x40cd2c[_0x3dc0('0x28')];}_0x1ee951[_0x3dc0('0x1b')](_0x1cbe8e)[_0x3dc0('0x29')](_0x40cd2c);};}exports[_0x3dc0('0x2a')]=function(_0x56e11b,_0x4526ef){var _0xa8a530={},_0x454a1b={},_0x3e48c0={'count':0x0,'rows':[]};var _0x3714ce=_[_0x3dc0('0x2b')](db['VoiceRecording'][_0x3dc0('0x2c')],function(_0xd1ee00){return{'name':_0xd1ee00[_0x3dc0('0x2d')],'type':_0xd1ee00['type'][_0x3dc0('0x2e')]};});_0x454a1b[_0x3dc0('0x2f')]=_[_0x3dc0('0x30')](_[_0x3dc0('0x2b')](_0x3714ce,_0x3dc0('0x28')),[_0x3dc0('0x31')]);_0x454a1b[_0x3dc0('0x32')]=_[_0x3dc0('0x33')](_0x56e11b[_0x3dc0('0x32')]);_0x454a1b[_0x3dc0('0x34')]=_[_0x3dc0('0x35')](_0x454a1b[_0x3dc0('0x2f')],_0x454a1b[_0x3dc0('0x32')]);_0xa8a530[_0x3dc0('0x36')]=_[_0x3dc0('0x35')](_0x454a1b[_0x3dc0('0x2f')],qs[_0x3dc0('0x37')](_0x56e11b[_0x3dc0('0x32')][_0x3dc0('0x37')]));_0xa8a530[_0x3dc0('0x36')]=_0xa8a530['attributes'][_0x3dc0('0x38')]?_0xa8a530[_0x3dc0('0x36')]:_0x454a1b[_0x3dc0('0x2f')];if(!_0x56e11b[_0x3dc0('0x32')][_0x3dc0('0x39')](_0x3dc0('0x3a'))){_0xa8a530[_0x3dc0('0x1f')]=qs[_0x3dc0('0x1f')](_0x56e11b[_0x3dc0('0x32')][_0x3dc0('0x1f')]);_0xa8a530[_0x3dc0('0x1e')]=qs['offset'](_0x56e11b[_0x3dc0('0x32')]['offset']);}_0xa8a530[_0x3dc0('0x3b')]=qs[_0x3dc0('0x3c')](_0x56e11b['query'][_0x3dc0('0x3c')]);_0xa8a530[_0x3dc0('0x3d')]=qs[_0x3dc0('0x34')](_[_0x3dc0('0x3e')](_0x56e11b[_0x3dc0('0x32')],_0x454a1b['filters']),_0x3714ce);if(_0x56e11b[_0x3dc0('0x32')]['filter']){_0xa8a530[_0x3dc0('0x3d')]=_[_0x3dc0('0x3f')](_0xa8a530['where'],{'$or':_['map'](_0x3714ce,function(_0x2e79bc){if(_0x2e79bc[_0x3dc0('0x40')]!=='VIRTUAL'){var _0x1eff62={};_0x1eff62[_0x2e79bc['name']]={'$like':'%'+_0x56e11b['query'][_0x3dc0('0x41')]+'%'};return _0x1eff62;}})});}_0xa8a530=_[_0x3dc0('0x3f')]({},_0xa8a530,_0x56e11b[_0x3dc0('0x42')]);var _0xbb7708={'where':_0xa8a530[_0x3dc0('0x3d')]};return db[_0x3dc0('0x43')][_0x3dc0('0x44')](_0xbb7708)[_0x3dc0('0x45')](function(_0x165bfb){_0x3e48c0['count']=_0x165bfb;if(_0x56e11b['query'][_0x3dc0('0x46')]){_0xa8a530[_0x3dc0('0x47')]=[{'all':!![]}];}return db['VoiceRecording'][_0x3dc0('0x48')](_0xa8a530);})['then'](function(_0x37c0dc){_0x3e48c0[_0x3dc0('0x49')]=_0x37c0dc;return _0x3e48c0;})['then'](respondWithFilteredResult(_0x4526ef,_0xa8a530))[_0x3dc0('0x4a')](handleError(_0x4526ef,null));};exports[_0x3dc0('0x4b')]=function(_0x28db6a,_0x25c3e0){var _0x1b9762={'raw':![],'where':{'id':_0x28db6a['params']['id']}},_0x755390={};_0x755390[_0x3dc0('0x2f')]=_[_0x3dc0('0x33')](db[_0x3dc0('0x43')][_0x3dc0('0x2c')]);_0x755390[_0x3dc0('0x32')]=_['keys'](_0x28db6a[_0x3dc0('0x32')]);_0x755390['filters']=_[_0x3dc0('0x35')](_0x755390[_0x3dc0('0x2f')],_0x755390[_0x3dc0('0x32')]);_0x1b9762['attributes']=_['intersection'](_0x755390[_0x3dc0('0x2f')],qs['fields'](_0x28db6a[_0x3dc0('0x32')][_0x3dc0('0x37')]));_0x1b9762['attributes']=_0x1b9762[_0x3dc0('0x36')][_0x3dc0('0x38')]?_0x1b9762[_0x3dc0('0x36')]:_0x755390[_0x3dc0('0x2f')];if(_0x28db6a['query'][_0x3dc0('0x46')]){_0x1b9762[_0x3dc0('0x47')]=[{'all':!![]}];}_0x1b9762=_[_0x3dc0('0x3f')]({},_0x1b9762,_0x28db6a['options']);return db['VoiceRecording'][_0x3dc0('0x4c')](_0x1b9762)[_0x3dc0('0x45')](handleEntityNotFound(_0x25c3e0,null))['then'](respondWithResult(_0x25c3e0,null))[_0x3dc0('0x4a')](handleError(_0x25c3e0,null));};exports[_0x3dc0('0x4d')]=function(_0x255b55,_0x5a637c){return db[_0x3dc0('0x43')][_0x3dc0('0x4d')](_0x255b55['body'],{})[_0x3dc0('0x45')](respondWithResult(_0x5a637c,0xc9))[_0x3dc0('0x4a')](handleError(_0x5a637c,null));};exports[_0x3dc0('0x24')]=function(_0x37b785,_0x1c4b59){if(_0x37b785['body']['id']){delete _0x37b785[_0x3dc0('0x4e')]['id'];}return db[_0x3dc0('0x43')]['find']({'where':{'id':_0x37b785[_0x3dc0('0x4f')]['id']}})[_0x3dc0('0x45')](handleEntityNotFound(_0x1c4b59,null))['then'](saveUpdates(_0x37b785[_0x3dc0('0x4e')],null))[_0x3dc0('0x45')](respondWithResult(_0x1c4b59,null))[_0x3dc0('0x4a')](handleError(_0x1c4b59,null));};exports[_0x3dc0('0x50')]=function(_0x3c0630,_0x1263f3){return db[_0x3dc0('0x43')][_0x3dc0('0x50')]()[_0x3dc0('0x45')](respondWithResult(_0x1263f3,null))[_0x3dc0('0x4a')](handleError(_0x1263f3,null));};exports[_0x3dc0('0x51')]=function(_0x49b239,_0x1deedc,_0x448899){var _0xba6342=require('../../components/encryptor');var _0xadfa23=![];var _0x513f4a={};if(_0x49b239[_0x3dc0('0x32')][_0x3dc0('0x40')]&&_0x49b239['query']['type']===_0x3dc0('0x52')){_0x513f4a[_0x3dc0('0x52')]=_0x49b239[_0x3dc0('0x4f')]['id'];}else{_0x513f4a['id']=_0x49b239[_0x3dc0('0x4f')]['id'];}return db[_0x3dc0('0x43')][_0x3dc0('0x4c')]({'where':_0x513f4a,'attributes':['id',_0x3dc0('0x53')],'raw':!![]})['then'](handleEntityNotFound(_0x1deedc,null))[_0x3dc0('0x45')](function(_0x48dfc5){if(_0x48dfc5){var _0x2ad3c3=_0x48dfc5[_0x3dc0('0x53')];var _0x47505d=util['format'](_0x3dc0('0x54'),_0x2ad3c3);if(fs[_0x3dc0('0x55')](_0x47505d)){_0xadfa23=!![];return _0xba6342['decryptFile'](_0x47505d,_0x2ad3c3,config[_0x3dc0('0x56')]['recording'])[_0x3dc0('0x45')](function(){return _0x48dfc5;});}return _0x48dfc5;}})[_0x3dc0('0x45')](function(_0x2934e9){if(_0x2934e9){var _0x53d0eb=_0x2934e9[_0x3dc0('0x53')];if(!fs[_0x3dc0('0x55')](_0x53d0eb)){throw new db[(_0x3dc0('0x57'))]['ValidationError']('VoiceRecording\x20not\x20found');}if(_0x2934e9[_0x3dc0('0x58')]){return _0x1deedc[_0x3dc0('0x51')](_0x53d0eb,_0x2934e9[_0x3dc0('0x58')]+path[_0x3dc0('0x59')](_0x53d0eb),function(){if(_0xadfa23){fs[_0x3dc0('0x5a')](_0x53d0eb);}});}else{return _0x1deedc['download'](_0x53d0eb,function(_0x190cdb){if(_0xadfa23){fs[_0x3dc0('0x5a')](_0x53d0eb);}});}}})[_0x3dc0('0x4a')](function(_0x5b2a50){if(_0x5b2a50[_0x3dc0('0x5b')]===_0x3dc0('0x5c')){_0x1deedc[_0x3dc0('0x1b')](0x194)[_0x3dc0('0x29')](_0x3dc0('0x5d'));}else{return handleError(_0x1deedc,null);}});};exports['downloads']=function(_0x1ffa4d,_0x1792dc,_0x2f73f2){var _0x264e47=require(_0x3dc0('0x5e'));var _0x6fcb6b=![];var _0x25b29e={'$and':[db['sequelize'][_0x3dc0('0x3d')](db['sequelize']['fn'](_0x3dc0('0x5f'),db[_0x3dc0('0x60')][_0x3dc0('0x61')](_0x3dc0('0x52'))),_0x1ffa4d[_0x3dc0('0x32')][_0x3dc0('0x62')])]};if(_0x1ffa4d[_0x3dc0('0x32')]['type']&&_0x1ffa4d[_0x3dc0('0x32')][_0x3dc0('0x40')]===_0x3dc0('0x52')){_0x25b29e['$and'][_0x3dc0('0x63')]({'uniqueid':_0x1ffa4d['params']['id']});}else{_0x25b29e[_0x3dc0('0x64')][_0x3dc0('0x63')]({'id':_0x1ffa4d['params']['id']});}return db[_0x3dc0('0x43')][_0x3dc0('0x4c')]({'where':_0x25b29e,'attributes':['id',_0x3dc0('0x53')],'raw':!![]})[_0x3dc0('0x45')](handleEntityNotFound(_0x1792dc,null))[_0x3dc0('0x45')](function(_0x4cf787){if(_0x4cf787){var _0x3ba72b=util[_0x3dc0('0x31')](_0x3dc0('0x54'),_0x4cf787[_0x3dc0('0x53')]);if(fs[_0x3dc0('0x55')](_0x3ba72b)){_0x6fcb6b=!![];return _0x264e47[_0x3dc0('0x65')](_0x3ba72b,_0x4cf787['value'],config[_0x3dc0('0x56')]['recording'])[_0x3dc0('0x45')](function(){return _0x4cf787;});}return _0x4cf787;}})['then'](function(_0xdac14e){if(_0xdac14e){if(!fs[_0x3dc0('0x55')](_0xdac14e[_0x3dc0('0x53')])){throw new db[(_0x3dc0('0x57'))][(_0x3dc0('0x66'))](_0x3dc0('0x5c'));}if(_0xdac14e[_0x3dc0('0x58')]){return _0x1792dc['download'](_0xdac14e[_0x3dc0('0x53')],_0xdac14e[_0x3dc0('0x58')]+path[_0x3dc0('0x59')](_0xdac14e[_0x3dc0('0x53')]),function(){if(_0x6fcb6b){fs['unlink'](_0xdac14e[_0x3dc0('0x53')]);}});}else{return _0x1792dc[_0x3dc0('0x51')](_0xdac14e[_0x3dc0('0x53')],function(_0x54cf7e){if(_0x6fcb6b){fs['unlink'](_0xdac14e[_0x3dc0('0x53')]);}});}}})[_0x3dc0('0x4a')](handleError(_0x1792dc,null));};exports['destroy']=function(_0xe8e3e4,_0x41f2a2){return db[_0x3dc0('0x43')]['find']({'where':{'id':_0xe8e3e4['params']['id']}})[_0x3dc0('0x45')](function(_0x486c5d){if(!_0x486c5d)throw new ReferenceError(_0x3dc0('0x67'));return _0x486c5d;})['then'](function(_0x2483e7){var _0x3b0d55=_0x2483e7[_0x3dc0('0x53')];logger[_0x3dc0('0x68')]('cancellazione\x20fisica\x20documento\x20%s',_0x3b0d55);if(!_[_0x3dc0('0x69')](_0x2483e7[_0x3dc0('0x53')])&&fs[_0x3dc0('0x55')](_0x3b0d55)){logger[_0x3dc0('0x68')](_0x3dc0('0x6a')+_0x3b0d55+_0x3dc0('0x6b'));fs[_0x3dc0('0x6c')](_0x3b0d55);}_0x3b0d55=_0x3b0d55+_0x3dc0('0x6d');if(!_['isNil'](_0x2483e7[_0x3dc0('0x53')])&&fs[_0x3dc0('0x55')](_0x3b0d55)){logger[_0x3dc0('0x68')]('File:\x20\x22'+_0x3b0d55+_0x3dc0('0x6b'));fs['unlinkSync'](_0x3b0d55);}return _0x2483e7;})[_0x3dc0('0x45')](function(_0x5d0687){if(!_0x5d0687)throw new InternalError();return _0x5d0687[_0x3dc0('0x25')]();})[_0x3dc0('0x45')](function(){_0x41f2a2['status'](0xcc)[_0x3dc0('0x1c')]();})[_0x3dc0('0x4a')](handleError(_0x41f2a2,null));};function getBucketslist(_0x2113ae,_0x2f9c13,_0x2b938e){return new Promise(function(_0x394fbf,_0xe425a9){var _0x2d99b3=new AWS['S3']({'accessKeyId':_0x2f9c13,'secretAccessKey':_0x2113ae,'region':_0x2b938e});_0x2d99b3['listBuckets']({},function(_0xe89517,_0x1c4e30){if(_0xe89517){return _0xe425a9(_0xe89517);}else{return _0x394fbf(_0x1c4e30);}});});}function createBucket(_0x4f6268,_0x869330,_0xd451df,_0x1926e4){return new Promise(function(_0x28fa53,_0x44b89c){var _0x598740=new AWS['S3']({'accessKeyId':_0x869330,'secretAccessKey':_0x4f6268,'region':_0xd451df});_0x598740['createBucket']({'Bucket':_0x1926e4},function(_0x3ff43d,_0x110c6c){if(_0x3ff43d){return _0x44b89c(_0x3ff43d);}else{return _0x28fa53(_0x110c6c);}});});}function uploadFile(_0x4a41d4,_0x42e2c6,_0x414143,_0x1bb460,_0x5714fd,_0x1a97fe){return new Promise(function(_0x1c3896,_0x2c1f48){var _0x1af007=new AWS['S3']({'accessKeyId':_0x42e2c6,'secretAccessKey':_0x4a41d4,'region':_0x414143});_0x1af007['upload']({'Bucket':_0x1bb460,'Key':_0x5714fd,'Body':_0x1a97fe},function(_0xd9b74b,_0xac764a){if(_0xd9b74b){return _0x2c1f48(_0xd9b74b);}else{return _0x1c3896(_0xac764a);}});});}function startTranscribe(_0x1ef3df,_0x3dee3e,_0x2288db,_0x7ec3b3,_0x5a2d64,_0x564589){return new Promise(function(_0x5013b2,_0x3b1d84){var _0x2f4b94=new AWS[(_0x3dc0('0x6e'))]({'accessKeyId':_0x3dee3e,'secretAccessKey':_0x1ef3df,'region':_0x2288db});_0x2f4b94[_0x3dc0('0x6f')]({'TranscriptionJobName':_0x7ec3b3,'LanguageCode':_0x5a2d64,'Media':{'MediaFileUri':_0x564589}},function(_0xfee557,_0x3d9110){if(_0xfee557){return _0x3b1d84(_0xfee557);}else{return _0x5013b2(_0x3d9110);}});});}function transcribe(_0x19bf54,_0x129562,_0x2289b5,_0x3e9758,_0x3fa61c,_0x22e1d6,_0x46760c){return new Promise(function(_0x1a2734,_0x327162){var _0xc42d7d={};logger[_0x3dc0('0x68')](util['format'](_0x3dc0('0x70'),_0x19bf54,_0x3fa61c));return uploadFile(_0x129562,_0x2289b5,_0x3e9758,_0x3fa61c,path[_0x3dc0('0x71')](_0x22e1d6),fs[_0x3dc0('0x72')](_0x22e1d6))[_0x3dc0('0x45')](function(_0x3d21c2){logger[_0x3dc0('0x68')](util[_0x3dc0('0x31')](_0x3dc0('0x73'),_0x19bf54,_0x3fa61c,_0x3d21c2[_0x3dc0('0x74')]));_0xc42d7d[_0x3dc0('0x75')]=_0x3d21c2[_0x3dc0('0x76')];_0xc42d7d['location']=_0x3d21c2[_0x3dc0('0x74')];logger[_0x3dc0('0x68')](util[_0x3dc0('0x31')]('[RUNTRANSCRIPT][%d]\x20Sending\x20transcribe\x20request',_0x19bf54));return startTranscribe(_0x129562,_0x2289b5,_0x3e9758,uuidv4(),_0x46760c,_0x3d21c2[_0x3dc0('0x74')]);})[_0x3dc0('0x45')](function(_0x348017){logger['info'](util['format']('[RUNTRANSCRIPT][%d]\x20Transcription\x20job\x20%s\x20created',_0x19bf54,_0x348017['TranscriptionJob']['TranscriptionJobName']));_0xc42d7d[_0x3dc0('0x77')]=_0x348017['TranscriptionJob'][_0x3dc0('0x78')];_0xc42d7d[_0x3dc0('0x79')]=_0x348017[_0x3dc0('0x7a')][_0x3dc0('0x7b')];return _0x1a2734(_0xc42d7d);})['catch'](function(_0x32a6cc){return _0x327162(_0x32a6cc);});});}exports[_0x3dc0('0x7c')]=function(_0x46c2c9,_0x48e183,_0x22828f){var _0x2cadb6;var _0x250183;var _0x2e6719;var _0x3c16d6=require(_0x3dc0('0x5e'));return db[_0x3dc0('0x43')][_0x3dc0('0x7d')]({'where':{'id':_0x46c2c9[_0x3dc0('0x4f')]['id']}})[_0x3dc0('0x45')](function(_0xe155c3){if(_0xe155c3){var _0x4cfacf=util['format'](_0x3dc0('0x54'),_0xe155c3['value']);if(fs[_0x3dc0('0x55')](_0x4cfacf)){cypher=!![];return _0x3c16d6[_0x3dc0('0x65')](_0x4cfacf,_0xe155c3[_0x3dc0('0x53')],config[_0x3dc0('0x56')]['recording'])[_0x3dc0('0x45')](function(){return _0xe155c3;});}return _0xe155c3;}})[_0x3dc0('0x45')](function(_0x58f47f){if(!_0x58f47f){throw new db[(_0x3dc0('0x57'))][(_0x3dc0('0x66'))]('Voice\x20Recording\x20not\x20found');}_0x250183=_0x58f47f;return db[_0x3dc0('0x7e')][_0x3dc0('0x7d')]({'where':{'id':0x1}});})['then'](handleEntityNotFound(_0x48e183,null))[_0x3dc0('0x45')](function(_0x3602ea){if(_0x3602ea){_0x2cadb6=_0x3602ea;if(!_0x2cadb6[_0x3dc0('0x7f')]||!_0x2cadb6['transcribeAccountId']||!_0x2cadb6[_0x3dc0('0x80')]||!_0x2cadb6[_0x3dc0('0x81')]||!_0x2cadb6[_0x3dc0('0x75')]){throw new db['Sequelize'][(_0x3dc0('0x66'))](_0x3dc0('0x82'));}if(_0x46c2c9[_0x3dc0('0x4e')]['runSentiment']&&(!_0x2cadb6['sentiment']||!_0x2cadb6[_0x3dc0('0x83')]||!_0x2cadb6[_0x3dc0('0x84')]||!_0x2cadb6[_0x3dc0('0x81')]||!_0x2cadb6[_0x3dc0('0x75')])){throw new db[(_0x3dc0('0x57'))][(_0x3dc0('0x66'))](_0x3dc0('0x85'));}return db['CloudProvider']['findOne']({'where':{'id':_0x2cadb6[_0x3dc0('0x86')]}});}})['then'](function(_0x7244d8){if(!_0x7244d8){throw new db[(_0x3dc0('0x57'))]['ValidationError'](_0x3dc0('0x87'));}if(!_0x7244d8[_0x3dc0('0x88')]||!_0x7244d8[_0x3dc0('0x89')]){throw new db[(_0x3dc0('0x57'))][(_0x3dc0('0x66'))](_0x3dc0('0x8a'));}_0x2e6719=_0x7244d8;return getBucketslist(_0x2e6719[_0x3dc0('0x88')],_0x2e6719[_0x3dc0('0x89')],_0x2cadb6[_0x3dc0('0x80')]);})[_0x3dc0('0x45')](function(_0x34b322){if(_0x34b322&&_0x34b322[_0x3dc0('0x8b')]){var _0x5bf382=_['find'](_0x34b322[_0x3dc0('0x8b')],function(_0x339ce8){return _0x339ce8[_0x3dc0('0x8c')]===_0x2cadb6['bucket'];});if(!_0x5bf382){logger[_0x3dc0('0x68')](util[_0x3dc0('0x31')](_0x3dc0('0x8d'),_0x46c2c9[_0x3dc0('0x4f')]['id'],_0x2cadb6[_0x3dc0('0x75')]));return createBucket(_0x2e6719[_0x3dc0('0x88')],_0x2e6719[_0x3dc0('0x89')],_0x2cadb6[_0x3dc0('0x80')],_0x2cadb6['bucket']);}logger[_0x3dc0('0x68')](util[_0x3dc0('0x31')]('[RUNTRANSCRIPT][%d]\x20Bucket\x20%s\x20available',_0x46c2c9[_0x3dc0('0x4f')]['id'],_0x2cadb6[_0x3dc0('0x75')]));return;}})['then'](function(_0x3f7b56){if(_0x250183[_0x3dc0('0x79')]==='NEW'){return transcribe(_0x46c2c9[_0x3dc0('0x4f')]['id'],_0x2e6719[_0x3dc0('0x88')],_0x2e6719[_0x3dc0('0x89')],_0x2cadb6['transcribeRegion'],_0x2cadb6[_0x3dc0('0x75')],_0x250183['value'],_0x2cadb6[_0x3dc0('0x81')]);}else{logger[_0x3dc0('0x68')](util['format']('[RUNTRANSCRIPT][%d]\x20Transcript\x20action\x20already\x20requested',_0x46c2c9[_0x3dc0('0x4f')]['id']));return{'transcribeStatus':_0x3dc0('0x8e')};}})[_0x3dc0('0x45')](function(_0x52fd09){if(_0x52fd09){_0x52fd09[_0x3dc0('0x8f')]=_0x46c2c9[_0x3dc0('0x4e')][_0x3dc0('0x90')];return _0x250183['updateAttributes'](_0x52fd09);}})['then'](respondWithResult(_0x48e183,null))['catch'](handleError(_0x48e183,null));};function writeFile(_0x2fe254,_0x3adcf6){return new Promise(function(_0x3ad503,_0x45f0c6){fs[_0x3dc0('0x91')](_0x3adcf6,_0x2fe254,function(_0x363e66,_0x3184cd){if(_0x363e66){return _0x45f0c6(_0x363e66);}else{return _0x3ad503(_0x3184cd);}});});}exports['downloadTranscribe']=function(_0x12806d,_0x5a9bc6,_0x340787){return db[_0x3dc0('0x43')][_0x3dc0('0x7d')]({'where':{'id':_0x12806d[_0x3dc0('0x4f')]['id']}})[_0x3dc0('0x45')](handleEntityNotFound(_0x5a9bc6))[_0x3dc0('0x45')](function(_0x1bd7f8){if(_0x1bd7f8&&_0x1bd7f8[_0x3dc0('0x92')]){var _0x9c13b=_0x1bd7f8[_0x3dc0('0x92')];var _0x312cc8=config[_0x3dc0('0x93')]+_0x3dc0('0x94')+_0x1bd7f8['id']+_0x3dc0('0x95');if(fs[_0x3dc0('0x55')](_0x312cc8)){return _0x312cc8;}return writeFile(_0x9c13b,_0x312cc8)[_0x3dc0('0x45')](function(){return _0x312cc8;});}else{throw new db[(_0x3dc0('0x57'))][(_0x3dc0('0x66'))](_0x3dc0('0x96'));}})[_0x3dc0('0x45')](function(_0x9739d5){return _0x5a9bc6['download'](_0x9739d5);})[_0x3dc0('0x4a')](handleError(_0x5a9bc6));}; \ No newline at end of file diff --git a/server/api/voiceRecording/voiceRecording.model.js b/server/api/voiceRecording/voiceRecording.model.js index 4144edf..80708b5 100644 --- a/server/api/voiceRecording/voiceRecording.model.js +++ b/server/api/voiceRecording/voiceRecording.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x1d36=['uniqueid','util','../../config/logger','moment','bluebird','request-promise','path','rimraf','../../config/environment','./voiceRecording.attributes','exports','VoiceRecording','voice_recordings'];(function(_0x4c8d7c,_0x181491){var _0xf797ed=function(_0x5d1363){while(--_0x5d1363){_0x4c8d7c['push'](_0x4c8d7c['shift']());}};_0xf797ed(++_0x181491);}(_0x1d36,0x83));var _0x61d3=function(_0x420ffe,_0x331522){_0x420ffe=_0x420ffe-0x0;var _0x3ae76d=_0x1d36[_0x420ffe];return _0x3ae76d;};'use strict';var _=require('lodash');var util=require(_0x61d3('0x0'));var logger=require(_0x61d3('0x1'))('api');var moment=require(_0x61d3('0x2'));var BPromise=require(_0x61d3('0x3'));var rp=require(_0x61d3('0x4'));var fs=require('fs');var path=require(_0x61d3('0x5'));var rimraf=require(_0x61d3('0x6'));var config=require(_0x61d3('0x7'));var attributes=require(_0x61d3('0x8'));module[_0x61d3('0x9')]=function(_0x596496,_0x58173d){return _0x596496['define'](_0x61d3('0xa'),attributes,{'tableName':_0x61d3('0xb'),'paranoid':![],'indexes':[{'name':_0x61d3('0xc'),'fields':['uniqueid']}],'timestamps':!![]});}; \ No newline at end of file +var _0x6793=['util','../../config/logger','api','moment','bluebird','request-promise','rimraf','../../config/environment','exports','define','VoiceRecording','voice_recordings','uniqueid','lodash'];(function(_0x13d07a,_0x41efc3){var _0x5ee0ee=function(_0x4ca94a){while(--_0x4ca94a){_0x13d07a['push'](_0x13d07a['shift']());}};_0x5ee0ee(++_0x41efc3);}(_0x6793,0x117));var _0x3679=function(_0x4014c6,_0x1d0e8e){_0x4014c6=_0x4014c6-0x0;var _0x46dfe4=_0x6793[_0x4014c6];return _0x46dfe4;};'use strict';var _=require(_0x3679('0x0'));var util=require(_0x3679('0x1'));var logger=require(_0x3679('0x2'))(_0x3679('0x3'));var moment=require(_0x3679('0x4'));var BPromise=require(_0x3679('0x5'));var rp=require(_0x3679('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0x3679('0x7'));var config=require(_0x3679('0x8'));var attributes=require('./voiceRecording.attributes');module[_0x3679('0x9')]=function(_0xbaa273,_0x5abb27){return _0xbaa273[_0x3679('0xa')](_0x3679('0xb'),attributes,{'tableName':_0x3679('0xc'),'paranoid':![],'indexes':[{'name':_0x3679('0xd'),'fields':[_0x3679('0xd')]}],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/voiceRecording/voiceRecording.rpc.js b/server/api/voiceRecording/voiceRecording.rpc.js index 54f90b5..daa458d 100644 --- a/server/api/voiceRecording/voiceRecording.rpc.js +++ b/server/api/voiceRecording/voiceRecording.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xa9e0=['findOne','callRecordingEncryption','create','existsSync','value','%s.cypher','encryptFile','secrets','recording','unlink','CreateVoiceRecording\x20file\x20encrypted','lodash','util','moment','ioredis','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','http','info','VoiceRecording,\x20%s,\x20%s','request\x20sent','debug','VoiceRecording,\x20%s,\x20%s,\x20%s','code','error','message','result','catch','VoiceRecording','update','body','options','raw','then','UpdateVoiceRecording','stringify','CreateVoiceRecording'];(function(_0xc3f3bd,_0x20b7f5){var _0x27d0bd=function(_0x2d0977){while(--_0x2d0977){_0xc3f3bd['push'](_0xc3f3bd['shift']());}};_0x27d0bd(++_0x20b7f5);}(_0xa9e0,0x123));var _0x0a9e=function(_0x5ddb1c,_0x5ea4df){_0x5ddb1c=_0x5ddb1c-0x0;var _0x354adc=_0xa9e0[_0x5ddb1c];return _0x354adc;};'use strict';var _=require(_0x0a9e('0x0'));var util=require(_0x0a9e('0x1'));var moment=require(_0x0a9e('0x2'));var BPromise=require('bluebird');var rs=require('randomstring');var fs=require('fs');var Redis=require(_0x0a9e('0x3'));var db=require('../../mysqldb')['db'];var utils=require(_0x0a9e('0x4'));var logger=require(_0x0a9e('0x5'))(_0x0a9e('0x6'));var config=require(_0x0a9e('0x7'));var jayson=require(_0x0a9e('0x8'));var client=jayson['client'][_0x0a9e('0x9')]({'port':0x232a});function respondWithRpcPromise(_0x441e3a,_0x2cc193,_0x5f41ea){return new BPromise(function(_0x503809,_0xe42b77){return client['request'](_0x441e3a,_0x5f41ea)['then'](function(_0x39753a){logger[_0x0a9e('0xa')](_0x0a9e('0xb'),_0x2cc193,_0x0a9e('0xc'));logger[_0x0a9e('0xd')](_0x0a9e('0xe'),_0x2cc193,'request\x20sent',JSON['stringify'](_0x39753a));if(_0x39753a['error']){if(_0x39753a['error'][_0x0a9e('0xf')]===0x1f4){logger[_0x0a9e('0x10')](_0x0a9e('0xb'),_0x2cc193,_0x39753a[_0x0a9e('0x10')][_0x0a9e('0x11')]);return _0xe42b77(_0x39753a[_0x0a9e('0x10')]['message']);}logger[_0x0a9e('0x10')](_0x0a9e('0xb'),_0x2cc193,_0x39753a[_0x0a9e('0x10')][_0x0a9e('0x11')]);return _0x503809(_0x39753a[_0x0a9e('0x10')][_0x0a9e('0x11')]);}else{logger['info'](_0x0a9e('0xb'),_0x2cc193,'request\x20sent');_0x503809(_0x39753a[_0x0a9e('0x12')]['message']);}})[_0x0a9e('0x13')](function(_0x12066b){logger['error'](_0x0a9e('0xb'),_0x2cc193,_0x12066b);_0xe42b77(_0x12066b);});});}exports['UpdateVoiceRecording']=function(_0x459eb1){var _0x478723=this;return new Promise(function(_0x106033,_0x205fd6){return db[_0x0a9e('0x14')][_0x0a9e('0x15')](_0x459eb1[_0x0a9e('0x16')],{'raw':_0x459eb1[_0x0a9e('0x17')]?_0x459eb1[_0x0a9e('0x17')][_0x0a9e('0x18')]===undefined?!![]:![]:!![],'individualHooks':!![],'where':_0x459eb1[_0x0a9e('0x17')]?_0x459eb1[_0x0a9e('0x17')]['where']||null:null,'attributes':_0x459eb1[_0x0a9e('0x17')]?_0x459eb1[_0x0a9e('0x17')]['attributes']||null:null,'limit':_0x459eb1[_0x0a9e('0x17')]?_0x459eb1['options']['limit']||null:null})[_0x0a9e('0x19')](function(_0x432e56){logger[_0x0a9e('0xa')](_0x0a9e('0x1a'),_0x459eb1);logger['debug'](_0x0a9e('0x1a'),_0x459eb1,JSON[_0x0a9e('0x1b')](_0x432e56));_0x106033(_0x432e56);})[_0x0a9e('0x13')](function(_0x4d00e6){logger[_0x0a9e('0x10')](_0x0a9e('0x1a'),_0x4d00e6[_0x0a9e('0x11')],_0x459eb1);_0x205fd6(_0x478723['error'](0x1f4,_0x4d00e6['message']));});});};exports[_0x0a9e('0x1c')]=function(_0x3a8e58){var _0x40c424=this;return new Promise(function(_0x33161b,_0x526cf3){var _0x384319=require('../../components/encryptor');var _0x45a1e7;return db['Setting'][_0x0a9e('0x1d')]({'attributes':['id',_0x0a9e('0x1e')],'where':{'id':0x1},'raw':!![]})[_0x0a9e('0x19')](function(_0x14433c){_0x45a1e7=_0x14433c;return db[_0x0a9e('0x14')][_0x0a9e('0x1f')](_0x3a8e58[_0x0a9e('0x16')]);})[_0x0a9e('0x19')](function(_0x5a101a){if(_0x45a1e7[_0x0a9e('0x1e')]&&fs[_0x0a9e('0x20')](_0x5a101a[_0x0a9e('0x21')])){var _0x2ec755=util['format'](_0x0a9e('0x22'),_0x5a101a[_0x0a9e('0x21')]);return _0x384319[_0x0a9e('0x23')](_0x5a101a[_0x0a9e('0x21')],_0x2ec755,config[_0x0a9e('0x24')][_0x0a9e('0x25')])[_0x0a9e('0x19')](function(){fs[_0x0a9e('0x26')](_0x5a101a[_0x0a9e('0x21')]);logger['info'](_0x0a9e('0x27'));return _0x5a101a;});}return _0x5a101a;})['then'](function(_0x2407f9){logger[_0x0a9e('0xa')](_0x0a9e('0x1c'),_0x3a8e58);logger[_0x0a9e('0xd')](_0x0a9e('0x1c'),_0x3a8e58,JSON['stringify'](_0x2407f9));_0x33161b(_0x2407f9);})[_0x0a9e('0x13')](function(_0x46f0a5){logger[_0x0a9e('0x10')](_0x0a9e('0x1c'),_0x46f0a5[_0x0a9e('0x11')],_0x3a8e58);_0x526cf3(_0x40c424[_0x0a9e('0x10')](0x1f4,_0x46f0a5[_0x0a9e('0x11')]));});});}; \ No newline at end of file +var _0xa9e0=['findOne','callRecordingEncryption','create','existsSync','value','%s.cypher','encryptFile','secrets','recording','unlink','CreateVoiceRecording\x20file\x20encrypted','lodash','util','moment','ioredis','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','http','info','VoiceRecording,\x20%s,\x20%s','request\x20sent','debug','VoiceRecording,\x20%s,\x20%s,\x20%s','code','error','message','result','catch','VoiceRecording','update','body','options','raw','then','UpdateVoiceRecording','stringify','CreateVoiceRecording'];(function(_0x47a854,_0x5871dd){var _0x51a0af=function(_0x3c0d6d){while(--_0x3c0d6d){_0x47a854['push'](_0x47a854['shift']());}};_0x51a0af(++_0x5871dd);}(_0xa9e0,0x123));var _0x0a9e=function(_0x134c2e,_0x3573c4){_0x134c2e=_0x134c2e-0x0;var _0x2825db=_0xa9e0[_0x134c2e];return _0x2825db;};'use strict';var _=require(_0x0a9e('0x0'));var util=require(_0x0a9e('0x1'));var moment=require(_0x0a9e('0x2'));var BPromise=require('bluebird');var rs=require('randomstring');var fs=require('fs');var Redis=require(_0x0a9e('0x3'));var db=require('../../mysqldb')['db'];var utils=require(_0x0a9e('0x4'));var logger=require(_0x0a9e('0x5'))(_0x0a9e('0x6'));var config=require(_0x0a9e('0x7'));var jayson=require(_0x0a9e('0x8'));var client=jayson['client'][_0x0a9e('0x9')]({'port':0x232a});function respondWithRpcPromise(_0x441e3a,_0x2cc193,_0x5f41ea){return new BPromise(function(_0x503809,_0xe42b77){return client['request'](_0x441e3a,_0x5f41ea)['then'](function(_0x39753a){logger[_0x0a9e('0xa')](_0x0a9e('0xb'),_0x2cc193,_0x0a9e('0xc'));logger[_0x0a9e('0xd')](_0x0a9e('0xe'),_0x2cc193,'request\x20sent',JSON['stringify'](_0x39753a));if(_0x39753a['error']){if(_0x39753a['error'][_0x0a9e('0xf')]===0x1f4){logger[_0x0a9e('0x10')](_0x0a9e('0xb'),_0x2cc193,_0x39753a[_0x0a9e('0x10')][_0x0a9e('0x11')]);return _0xe42b77(_0x39753a[_0x0a9e('0x10')]['message']);}logger[_0x0a9e('0x10')](_0x0a9e('0xb'),_0x2cc193,_0x39753a[_0x0a9e('0x10')][_0x0a9e('0x11')]);return _0x503809(_0x39753a[_0x0a9e('0x10')][_0x0a9e('0x11')]);}else{logger['info'](_0x0a9e('0xb'),_0x2cc193,'request\x20sent');_0x503809(_0x39753a[_0x0a9e('0x12')]['message']);}})[_0x0a9e('0x13')](function(_0x12066b){logger['error'](_0x0a9e('0xb'),_0x2cc193,_0x12066b);_0xe42b77(_0x12066b);});});}exports['UpdateVoiceRecording']=function(_0x459eb1){var _0x478723=this;return new Promise(function(_0x106033,_0x205fd6){return db[_0x0a9e('0x14')][_0x0a9e('0x15')](_0x459eb1[_0x0a9e('0x16')],{'raw':_0x459eb1[_0x0a9e('0x17')]?_0x459eb1[_0x0a9e('0x17')][_0x0a9e('0x18')]===undefined?!![]:![]:!![],'individualHooks':!![],'where':_0x459eb1[_0x0a9e('0x17')]?_0x459eb1[_0x0a9e('0x17')]['where']||null:null,'attributes':_0x459eb1[_0x0a9e('0x17')]?_0x459eb1[_0x0a9e('0x17')]['attributes']||null:null,'limit':_0x459eb1[_0x0a9e('0x17')]?_0x459eb1['options']['limit']||null:null})[_0x0a9e('0x19')](function(_0x432e56){logger[_0x0a9e('0xa')](_0x0a9e('0x1a'),_0x459eb1);logger['debug'](_0x0a9e('0x1a'),_0x459eb1,JSON[_0x0a9e('0x1b')](_0x432e56));_0x106033(_0x432e56);})[_0x0a9e('0x13')](function(_0x4d00e6){logger[_0x0a9e('0x10')](_0x0a9e('0x1a'),_0x4d00e6[_0x0a9e('0x11')],_0x459eb1);_0x205fd6(_0x478723['error'](0x1f4,_0x4d00e6['message']));});});};exports[_0x0a9e('0x1c')]=function(_0x3a8e58){var _0x40c424=this;return new Promise(function(_0x33161b,_0x526cf3){var _0x384319=require('../../components/encryptor');var _0x45a1e7;return db['Setting'][_0x0a9e('0x1d')]({'attributes':['id',_0x0a9e('0x1e')],'where':{'id':0x1},'raw':!![]})[_0x0a9e('0x19')](function(_0x14433c){_0x45a1e7=_0x14433c;return db[_0x0a9e('0x14')][_0x0a9e('0x1f')](_0x3a8e58[_0x0a9e('0x16')]);})[_0x0a9e('0x19')](function(_0x5a101a){if(_0x45a1e7[_0x0a9e('0x1e')]&&fs[_0x0a9e('0x20')](_0x5a101a[_0x0a9e('0x21')])){var _0x2ec755=util['format'](_0x0a9e('0x22'),_0x5a101a[_0x0a9e('0x21')]);return _0x384319[_0x0a9e('0x23')](_0x5a101a[_0x0a9e('0x21')],_0x2ec755,config[_0x0a9e('0x24')][_0x0a9e('0x25')])[_0x0a9e('0x19')](function(){fs[_0x0a9e('0x26')](_0x5a101a[_0x0a9e('0x21')]);logger['info'](_0x0a9e('0x27'));return _0x5a101a;});}return _0x5a101a;})['then'](function(_0x2407f9){logger[_0x0a9e('0xa')](_0x0a9e('0x1c'),_0x3a8e58);logger[_0x0a9e('0xd')](_0x0a9e('0x1c'),_0x3a8e58,JSON['stringify'](_0x2407f9));_0x33161b(_0x2407f9);})[_0x0a9e('0x13')](function(_0x46f0a5){logger[_0x0a9e('0x10')](_0x0a9e('0x1c'),_0x46f0a5[_0x0a9e('0x11')],_0x3a8e58);_0x526cf3(_0x40c424[_0x0a9e('0x10')](0x1f4,_0x46f0a5[_0x0a9e('0x11')]));});});}; \ No newline at end of file diff --git a/server/api/voiceTransferReport/index.js b/server/api/voiceTransferReport/index.js index f7637e2..02defe8 100644 --- a/server/api/voiceTransferReport/index.js +++ b/server/api/voiceTransferReport/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x524e=['/:id','post','create','put','update','delete','destroy','exports','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceTransferReport.controller','get','isAuthenticated'];(function(_0x2ded08,_0x1046cd){var _0x281ce1=function(_0x398d2b){while(--_0x398d2b){_0x2ded08['push'](_0x2ded08['shift']());}};_0x281ce1(++_0x1046cd);}(_0x524e,0x15e));var _0xe524=function(_0x43de21,_0x4bc69b){_0x43de21=_0x43de21-0x0;var _0x5240c1=_0x524e[_0x43de21];return _0x5240c1;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xe524('0x0'));var timeout=require(_0xe524('0x1'));var express=require(_0xe524('0x2'));var router=express[_0xe524('0x3')]();var auth=require(_0xe524('0x4'));var interaction=require(_0xe524('0x5'));var config=require(_0xe524('0x6'));var controller=require(_0xe524('0x7'));router[_0xe524('0x8')]('/',auth[_0xe524('0x9')](),controller['index']);router[_0xe524('0x8')](_0xe524('0xa'),auth[_0xe524('0x9')](),controller['show']);router[_0xe524('0xb')]('/',auth[_0xe524('0x9')](),controller[_0xe524('0xc')]);router[_0xe524('0xd')](_0xe524('0xa'),auth[_0xe524('0x9')](),controller[_0xe524('0xe')]);router[_0xe524('0xf')](_0xe524('0xa'),auth[_0xe524('0x9')](),controller[_0xe524('0x10')]);module[_0xe524('0x11')]=router; \ No newline at end of file +var _0x31f0=['../../components/auth/service','../../components/interaction/service','./voiceTransferReport.controller','get','/:id','show','post','isAuthenticated','create','update','delete','destroy','exports','multer','path','express','Router'];(function(_0x43b487,_0x21893a){var _0x2f707a=function(_0x477ee0){while(--_0x477ee0){_0x43b487['push'](_0x43b487['shift']());}};_0x2f707a(++_0x21893a);}(_0x31f0,0xb7));var _0x031f=function(_0x5199e6,_0x21984e){_0x5199e6=_0x5199e6-0x0;var _0x44a19b=_0x31f0[_0x5199e6];return _0x44a19b;};'use strict';var multer=require(_0x031f('0x0'));var util=require('util');var path=require(_0x031f('0x1'));var timeout=require('connect-timeout');var express=require(_0x031f('0x2'));var router=express[_0x031f('0x3')]();var auth=require(_0x031f('0x4'));var interaction=require(_0x031f('0x5'));var config=require('../../config/environment');var controller=require(_0x031f('0x6'));router[_0x031f('0x7')]('/',auth['isAuthenticated'](),controller['index']);router['get'](_0x031f('0x8'),auth['isAuthenticated'](),controller[_0x031f('0x9')]);router[_0x031f('0xa')]('/',auth[_0x031f('0xb')](),controller[_0x031f('0xc')]);router['put'](_0x031f('0x8'),auth[_0x031f('0xb')](),controller[_0x031f('0xd')]);router[_0x031f('0xe')](_0x031f('0x8'),auth[_0x031f('0xb')](),controller[_0x031f('0xf')]);module[_0x031f('0x10')]=router; \ No newline at end of file diff --git a/server/api/voiceTransferReport/voiceTransferReport.attributes.js b/server/api/voiceTransferReport/voiceTransferReport.attributes.js index 381517d..6d26004 100644 --- a/server/api/voiceTransferReport/voiceTransferReport.attributes.js +++ b/server/api/voiceTransferReport/voiceTransferReport.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xabf0=['STRING','ENUM','sequelize','attended'];(function(_0x51ab83,_0x2721b9){var _0x14b6de=function(_0x243483){while(--_0x243483){_0x51ab83['push'](_0x51ab83['shift']());}};_0x14b6de(++_0x2721b9);}(_0xabf0,0x1d2));var _0x0abf=function(_0x57b54c,_0x54ce0d){_0x57b54c=_0x57b54c-0x0;var _0x59cc19=_0xabf0[_0x57b54c];return _0x59cc19;};'use strict';var Sequelize=require(_0x0abf('0x0'));var moment=require('moment');module['exports']={'type':{'type':Sequelize['ENUM']('blind',_0x0abf('0x1'))},'result':{'type':Sequelize[_0x0abf('0x2')]},'transfererchannel':{'type':Sequelize[_0x0abf('0x2')]},'transferercalleridnum':{'type':Sequelize[_0x0abf('0x2')]},'transferercalleridname':{'type':Sequelize[_0x0abf('0x2')]},'transfererconnectedlinenum':{'type':Sequelize[_0x0abf('0x2')]},'transfererconnectedlinename':{'type':Sequelize[_0x0abf('0x2')]},'transfereraccountcode':{'type':Sequelize[_0x0abf('0x2')]},'transferercontext':{'type':Sequelize['STRING']},'transfererexten':{'type':Sequelize[_0x0abf('0x2')]},'transfererlinkedid':{'type':Sequelize[_0x0abf('0x2')]},'transfereechannel':{'type':Sequelize[_0x0abf('0x2')]},'transfereecalleridnum':{'type':Sequelize['STRING']},'transfereecalleridname':{'type':Sequelize[_0x0abf('0x2')]},'transfereeconnectedlinenum':{'type':Sequelize[_0x0abf('0x2')]},'transfereeconnectedlinename':{'type':Sequelize[_0x0abf('0x2')]},'transfereeaccountcode':{'type':Sequelize[_0x0abf('0x2')]},'transfereecontext':{'type':Sequelize[_0x0abf('0x2')]},'transfereeexten':{'type':Sequelize[_0x0abf('0x2')]},'transfereelinkedid':{'type':Sequelize['STRING']},'isexternal':{'type':Sequelize[_0x0abf('0x3')]('Yes','No')},'context':{'type':Sequelize[_0x0abf('0x2')]},'extension':{'type':Sequelize[_0x0abf('0x2')]}}; \ No newline at end of file +var _0x9b1e=['moment','ENUM','STRING','Yes'];(function(_0x8385f3,_0x53f26b){var _0x50c271=function(_0x51cb4f){while(--_0x51cb4f){_0x8385f3['push'](_0x8385f3['shift']());}};_0x50c271(++_0x53f26b);}(_0x9b1e,0x90));var _0xe9b1=function(_0x2c23d5,_0x30d598){_0x2c23d5=_0x2c23d5-0x0;var _0x35ad4c=_0x9b1e[_0x2c23d5];return _0x35ad4c;};'use strict';var Sequelize=require('sequelize');var moment=require(_0xe9b1('0x0'));module['exports']={'type':{'type':Sequelize[_0xe9b1('0x1')]('blind','attended')},'result':{'type':Sequelize[_0xe9b1('0x2')]},'transfererchannel':{'type':Sequelize[_0xe9b1('0x2')]},'transferercalleridnum':{'type':Sequelize[_0xe9b1('0x2')]},'transferercalleridname':{'type':Sequelize['STRING']},'transfererconnectedlinenum':{'type':Sequelize[_0xe9b1('0x2')]},'transfererconnectedlinename':{'type':Sequelize[_0xe9b1('0x2')]},'transfereraccountcode':{'type':Sequelize[_0xe9b1('0x2')]},'transferercontext':{'type':Sequelize[_0xe9b1('0x2')]},'transfererexten':{'type':Sequelize[_0xe9b1('0x2')]},'transfererlinkedid':{'type':Sequelize[_0xe9b1('0x2')]},'transfereechannel':{'type':Sequelize[_0xe9b1('0x2')]},'transfereecalleridnum':{'type':Sequelize[_0xe9b1('0x2')]},'transfereecalleridname':{'type':Sequelize['STRING']},'transfereeconnectedlinenum':{'type':Sequelize[_0xe9b1('0x2')]},'transfereeconnectedlinename':{'type':Sequelize[_0xe9b1('0x2')]},'transfereeaccountcode':{'type':Sequelize['STRING']},'transfereecontext':{'type':Sequelize['STRING']},'transfereeexten':{'type':Sequelize[_0xe9b1('0x2')]},'transfereelinkedid':{'type':Sequelize[_0xe9b1('0x2')]},'isexternal':{'type':Sequelize[_0xe9b1('0x1')](_0xe9b1('0x3'),'No')},'context':{'type':Sequelize[_0xe9b1('0x2')]},'extension':{'type':Sequelize[_0xe9b1('0x2')]}}; \ No newline at end of file diff --git a/server/api/voiceTransferReport/voiceTransferReport.controller.js b/server/api/voiceTransferReport/voiceTransferReport.controller.js index 72b5f74..9d6c308 100644 --- a/server/api/voiceTransferReport/voiceTransferReport.controller.js +++ b/server/api/voiceTransferReport/voiceTransferReport.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x7529=['destroy','html-pdf','rimraf','request-promise','moment','bluebird','mustache','path','sox','to-csv','ejs','squel','crypto','jsforce','desk.js','papaparse','ioredis','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','status','json','limit','Content-Range','apply','reject','save','update','then','end','sendStatus','error','stack','name','send','map','VoiceTransferReport','rawAttributes','fieldName','type','key','model','query','keys','filters','intersection','attributes','length','hasOwnProperty','offset','sort','where','pick','filter','VIRTUAL','merge','count','includeAll','include','findAll','rows','show','params','fields','find','create','catch','body'];(function(_0x334841,_0x2bbc4c){var _0x5beb4b=function(_0x4bea72){while(--_0x4bea72){_0x334841['push'](_0x334841['shift']());}};_0x5beb4b(++_0x2bbc4c);}(_0x7529,0x16e));var _0x9752=function(_0x35b0bc,_0x575b56){_0x35b0bc=_0x35b0bc-0x0;var _0x5a2b3b=_0x7529[_0x35b0bc];return _0x5a2b3b;};'use strict';var pdf=require(_0x9752('0x0'));var emlformat=require('eml-format');var rimraf=require(_0x9752('0x1'));var zipdir=require('zip-dir');var jsonpatch=require('fast-json-patch');var rp=require(_0x9752('0x2'));var moment=require(_0x9752('0x3'));var BPromise=require(_0x9752('0x4'));var Mustache=require(_0x9752('0x5'));var util=require('util');var path=require(_0x9752('0x6'));var sox=require(_0x9752('0x7'));var csv=require(_0x9752('0x8'));var ejs=require(_0x9752('0x9'));var fs=require('fs');var _=require('lodash');var squel=require(_0x9752('0xa'));var crypto=require(_0x9752('0xb'));var jsforce=require(_0x9752('0xc'));var deskjs=require(_0x9752('0xd'));var toCsv=require(_0x9752('0x8'));var querystring=require('querystring');var Papa=require(_0x9752('0xe'));var Redis=require(_0x9752('0xf'));var authService=require('../../components/auth/service');var qs=require(_0x9752('0x10'));var as=require(_0x9752('0x11'));var hardwareService=require(_0x9752('0x12'));var logger=require(_0x9752('0x13'))(_0x9752('0x14'));var utils=require(_0x9752('0x15'));var config=require(_0x9752('0x16'));var db=require(_0x9752('0x17'))['db'];function respondWithStatusCode(_0x5c5c25,_0x22ac86){_0x22ac86=_0x22ac86||0xcc;return function(_0x568979){if(_0x568979){return _0x5c5c25['sendStatus'](_0x22ac86);}return _0x5c5c25[_0x9752('0x18')](_0x22ac86)['end']();};}function respondWithResult(_0x105749,_0x489c82){_0x489c82=_0x489c82||0xc8;return function(_0x4d425d){if(_0x4d425d){return _0x105749[_0x9752('0x18')](_0x489c82)[_0x9752('0x19')](_0x4d425d);}};}function respondWithFilteredResult(_0x2ae207,_0x39b9de){return function(_0x53a81d){if(_0x53a81d){var _0x3fb041=_0x53a81d['count'],_0x26962b=_0x39b9de['offset'],_0x2ba4f8=_0x39b9de['offset']+_0x39b9de[_0x9752('0x1a')],_0x41eae2;if(_0x2ba4f8>=_0x3fb041){_0x2ba4f8=_0x3fb041;_0x41eae2=0xc8;}else{_0x41eae2=0xce;}_0x2ae207['status'](_0x41eae2);return _0x2ae207['set'](_0x9752('0x1b'),_0x26962b+'-'+_0x2ba4f8+'/'+_0x3fb041)[_0x9752('0x19')](_0x53a81d);}return null;};}function patchUpdates(_0x213b1a){return function(_0x5b5b53){try{jsonpatch[_0x9752('0x1c')](_0x5b5b53,_0x213b1a,!![]);}catch(_0x3f634c){return BPromise[_0x9752('0x1d')](_0x3f634c);}return _0x5b5b53[_0x9752('0x1e')]();};}function saveUpdates(_0x1c8acb,_0x198f81){return function(_0x1b4ed5){if(_0x1b4ed5){return _0x1b4ed5[_0x9752('0x1f')](_0x1c8acb)['then'](function(_0x309dfb){return _0x309dfb;});}return null;};}function removeEntity(_0x1151c3,_0x540866){return function(_0x5af78b){if(_0x5af78b){return _0x5af78b['destroy']()[_0x9752('0x20')](function(){_0x1151c3[_0x9752('0x18')](0xcc)[_0x9752('0x21')]();});}};}function handleEntityNotFound(_0x5b3f41,_0x398df3){return function(_0x40ec06){if(!_0x40ec06){_0x5b3f41[_0x9752('0x22')](0x194);}return _0x40ec06;};}function handleError(_0x1fe410,_0x1bc442){_0x1bc442=_0x1bc442||0x1f4;return function(_0x2b225c){logger[_0x9752('0x23')](_0x2b225c[_0x9752('0x24')]);if(_0x2b225c[_0x9752('0x25')]){delete _0x2b225c[_0x9752('0x25')];}_0x1fe410['status'](_0x1bc442)[_0x9752('0x26')](_0x2b225c);};}exports['index']=function(_0x78575,_0x47f4be){var _0x45f2bf={},_0xf3261c={},_0x5de725={'count':0x0,'rows':[]};var _0x2f1372=_[_0x9752('0x27')](db[_0x9752('0x28')][_0x9752('0x29')],function(_0x95ddbf){return{'name':_0x95ddbf[_0x9752('0x2a')],'type':_0x95ddbf[_0x9752('0x2b')][_0x9752('0x2c')]};});_0xf3261c[_0x9752('0x2d')]=_[_0x9752('0x27')](_0x2f1372,_0x9752('0x25'));_0xf3261c[_0x9752('0x2e')]=_[_0x9752('0x2f')](_0x78575[_0x9752('0x2e')]);_0xf3261c[_0x9752('0x30')]=_[_0x9752('0x31')](_0xf3261c[_0x9752('0x2d')],_0xf3261c['query']);_0x45f2bf[_0x9752('0x32')]=_[_0x9752('0x31')](_0xf3261c[_0x9752('0x2d')],qs['fields'](_0x78575[_0x9752('0x2e')]['fields']));_0x45f2bf['attributes']=_0x45f2bf[_0x9752('0x32')][_0x9752('0x33')]?_0x45f2bf[_0x9752('0x32')]:_0xf3261c[_0x9752('0x2d')];if(!_0x78575[_0x9752('0x2e')][_0x9752('0x34')]('nolimit')){_0x45f2bf['limit']=qs[_0x9752('0x1a')](_0x78575[_0x9752('0x2e')][_0x9752('0x1a')]);_0x45f2bf[_0x9752('0x35')]=qs[_0x9752('0x35')](_0x78575[_0x9752('0x2e')]['offset']);}_0x45f2bf['order']=qs['sort'](_0x78575[_0x9752('0x2e')][_0x9752('0x36')]);_0x45f2bf[_0x9752('0x37')]=qs[_0x9752('0x30')](_[_0x9752('0x38')](_0x78575[_0x9752('0x2e')],_0xf3261c['filters']),_0x2f1372);if(_0x78575[_0x9752('0x2e')][_0x9752('0x39')]){_0x45f2bf[_0x9752('0x37')]=_['merge'](_0x45f2bf[_0x9752('0x37')],{'$or':_[_0x9752('0x27')](_0x2f1372,function(_0x14f593){if(_0x14f593['type']!==_0x9752('0x3a')){var _0x4ee914={};_0x4ee914[_0x14f593[_0x9752('0x25')]]={'$like':'%'+_0x78575[_0x9752('0x2e')][_0x9752('0x39')]+'%'};return _0x4ee914;}})});}_0x45f2bf=_[_0x9752('0x3b')]({},_0x45f2bf,_0x78575['options']);var _0x5c8e3d={'where':_0x45f2bf[_0x9752('0x37')]};return db[_0x9752('0x28')][_0x9752('0x3c')](_0x5c8e3d)[_0x9752('0x20')](function(_0x48c963){_0x5de725[_0x9752('0x3c')]=_0x48c963;if(_0x78575['query'][_0x9752('0x3d')]){_0x45f2bf[_0x9752('0x3e')]=[{'all':!![]}];}return db[_0x9752('0x28')][_0x9752('0x3f')](_0x45f2bf);})[_0x9752('0x20')](function(_0x4ce490){_0x5de725[_0x9752('0x40')]=_0x4ce490;return _0x5de725;})[_0x9752('0x20')](respondWithFilteredResult(_0x47f4be,_0x45f2bf))['catch'](handleError(_0x47f4be,null));};exports[_0x9752('0x41')]=function(_0x109835,_0x431123){var _0x13b408={'raw':!![],'where':{'id':_0x109835[_0x9752('0x42')]['id']}},_0x35a0f7={};_0x35a0f7[_0x9752('0x2d')]=_[_0x9752('0x2f')](db[_0x9752('0x28')][_0x9752('0x29')]);_0x35a0f7['query']=_[_0x9752('0x2f')](_0x109835[_0x9752('0x2e')]);_0x35a0f7[_0x9752('0x30')]=_[_0x9752('0x31')](_0x35a0f7[_0x9752('0x2d')],_0x35a0f7['query']);_0x13b408['attributes']=_['intersection'](_0x35a0f7['model'],qs[_0x9752('0x43')](_0x109835[_0x9752('0x2e')][_0x9752('0x43')]));_0x13b408[_0x9752('0x32')]=_0x13b408['attributes'][_0x9752('0x33')]?_0x13b408['attributes']:_0x35a0f7[_0x9752('0x2d')];if(_0x109835[_0x9752('0x2e')][_0x9752('0x3d')]){_0x13b408['include']=[{'all':!![]}];}_0x13b408=_[_0x9752('0x3b')]({},_0x13b408,_0x109835['options']);return db[_0x9752('0x28')][_0x9752('0x44')](_0x13b408)[_0x9752('0x20')](handleEntityNotFound(_0x431123,null))['then'](respondWithResult(_0x431123,null))['catch'](handleError(_0x431123,null));};exports[_0x9752('0x45')]=function(_0x1cae55,_0xbef51a){return db[_0x9752('0x28')][_0x9752('0x45')](_0x1cae55['body'],{})['then'](respondWithResult(_0xbef51a,0xc9))[_0x9752('0x46')](handleError(_0xbef51a,null));};exports[_0x9752('0x1f')]=function(_0x55c420,_0x21c5aa){if(_0x55c420[_0x9752('0x47')]['id']){delete _0x55c420['body']['id'];}return db['VoiceTransferReport']['find']({'where':{'id':_0x55c420[_0x9752('0x42')]['id']}})[_0x9752('0x20')](handleEntityNotFound(_0x21c5aa,null))[_0x9752('0x20')](saveUpdates(_0x55c420['body'],null))[_0x9752('0x20')](respondWithResult(_0x21c5aa,null))['catch'](handleError(_0x21c5aa,null));};exports[_0x9752('0x48')]=function(_0x5966ab,_0x1ad460){return db['VoiceTransferReport'][_0x9752('0x44')]({'where':{'id':_0x5966ab[_0x9752('0x42')]['id']}})[_0x9752('0x20')](handleEntityNotFound(_0x1ad460,null))[_0x9752('0x20')](removeEntity(_0x1ad460,null))[_0x9752('0x46')](handleError(_0x1ad460,null));}; \ No newline at end of file +var _0x327c=['fieldName','type','key','model','query','keys','filters','attributes','intersection','fields','hasOwnProperty','nolimit','limit','order','sort','where','VIRTUAL','filter','merge','options','includeAll','include','rows','show','length','catch','create','body','find','params','eml-format','rimraf','fast-json-patch','request-promise','moment','bluebird','mustache','util','path','sox','to-csv','ejs','lodash','squel','crypto','jsforce','desk.js','papaparse','ioredis','../../components/parsers/qs','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','status','end','json','count','offset','set','Content-Range','apply','reject','save','update','then','destroy','error','stack','name','send','map','VoiceTransferReport','rawAttributes'];(function(_0xc69530,_0x57c174){var _0x148a92=function(_0x409d97){while(--_0x409d97){_0xc69530['push'](_0xc69530['shift']());}};_0x148a92(++_0x57c174);}(_0x327c,0xb4));var _0xc327=function(_0x39e953,_0x2a5241){_0x39e953=_0x39e953-0x0;var _0x327871=_0x327c[_0x39e953];return _0x327871;};'use strict';var pdf=require('html-pdf');var emlformat=require(_0xc327('0x0'));var rimraf=require(_0xc327('0x1'));var zipdir=require('zip-dir');var jsonpatch=require(_0xc327('0x2'));var rp=require(_0xc327('0x3'));var moment=require(_0xc327('0x4'));var BPromise=require(_0xc327('0x5'));var Mustache=require(_0xc327('0x6'));var util=require(_0xc327('0x7'));var path=require(_0xc327('0x8'));var sox=require(_0xc327('0x9'));var csv=require(_0xc327('0xa'));var ejs=require(_0xc327('0xb'));var fs=require('fs');var _=require(_0xc327('0xc'));var squel=require(_0xc327('0xd'));var crypto=require(_0xc327('0xe'));var jsforce=require(_0xc327('0xf'));var deskjs=require(_0xc327('0x10'));var toCsv=require(_0xc327('0xa'));var querystring=require('querystring');var Papa=require(_0xc327('0x11'));var Redis=require(_0xc327('0x12'));var authService=require('../../components/auth/service');var qs=require(_0xc327('0x13'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require('../../config/license/hardware');var logger=require(_0xc327('0x14'))(_0xc327('0x15'));var utils=require(_0xc327('0x16'));var config=require(_0xc327('0x17'));var db=require(_0xc327('0x18'))['db'];function respondWithStatusCode(_0x2280b0,_0x223bf0){_0x223bf0=_0x223bf0||0xcc;return function(_0x37590e){if(_0x37590e){return _0x2280b0['sendStatus'](_0x223bf0);}return _0x2280b0[_0xc327('0x19')](_0x223bf0)[_0xc327('0x1a')]();};}function respondWithResult(_0x1baffc,_0x593ec0){_0x593ec0=_0x593ec0||0xc8;return function(_0x2ef378){if(_0x2ef378){return _0x1baffc[_0xc327('0x19')](_0x593ec0)[_0xc327('0x1b')](_0x2ef378);}};}function respondWithFilteredResult(_0x19b726,_0x4d39db){return function(_0x22438c){if(_0x22438c){var _0x9ba071=_0x22438c[_0xc327('0x1c')],_0x3ac80a=_0x4d39db[_0xc327('0x1d')],_0x4505cb=_0x4d39db['offset']+_0x4d39db['limit'],_0xea75be;if(_0x4505cb>=_0x9ba071){_0x4505cb=_0x9ba071;_0xea75be=0xc8;}else{_0xea75be=0xce;}_0x19b726[_0xc327('0x19')](_0xea75be);return _0x19b726[_0xc327('0x1e')](_0xc327('0x1f'),_0x3ac80a+'-'+_0x4505cb+'/'+_0x9ba071)[_0xc327('0x1b')](_0x22438c);}return null;};}function patchUpdates(_0x2613a6){return function(_0x5b6c82){try{jsonpatch[_0xc327('0x20')](_0x5b6c82,_0x2613a6,!![]);}catch(_0x2bc407){return BPromise[_0xc327('0x21')](_0x2bc407);}return _0x5b6c82[_0xc327('0x22')]();};}function saveUpdates(_0xa775ef,_0x153aeb){return function(_0x5649c9){if(_0x5649c9){return _0x5649c9[_0xc327('0x23')](_0xa775ef)[_0xc327('0x24')](function(_0x5c65f2){return _0x5c65f2;});}return null;};}function removeEntity(_0x1b1bf9,_0x8cf242){return function(_0x5ee810){if(_0x5ee810){return _0x5ee810[_0xc327('0x25')]()[_0xc327('0x24')](function(){_0x1b1bf9['status'](0xcc)[_0xc327('0x1a')]();});}};}function handleEntityNotFound(_0x107a65,_0x3a5524){return function(_0x37cb45){if(!_0x37cb45){_0x107a65['sendStatus'](0x194);}return _0x37cb45;};}function handleError(_0x25ceeb,_0x353662){_0x353662=_0x353662||0x1f4;return function(_0x21e57e){logger[_0xc327('0x26')](_0x21e57e[_0xc327('0x27')]);if(_0x21e57e['name']){delete _0x21e57e[_0xc327('0x28')];}_0x25ceeb[_0xc327('0x19')](_0x353662)[_0xc327('0x29')](_0x21e57e);};}exports['index']=function(_0x32eb7d,_0x5bfc96){var _0x3d06e1={},_0x423b2a={},_0x28c662={'count':0x0,'rows':[]};var _0x554400=_[_0xc327('0x2a')](db[_0xc327('0x2b')][_0xc327('0x2c')],function(_0x39bf54){return{'name':_0x39bf54[_0xc327('0x2d')],'type':_0x39bf54[_0xc327('0x2e')][_0xc327('0x2f')]};});_0x423b2a[_0xc327('0x30')]=_[_0xc327('0x2a')](_0x554400,'name');_0x423b2a[_0xc327('0x31')]=_[_0xc327('0x32')](_0x32eb7d[_0xc327('0x31')]);_0x423b2a[_0xc327('0x33')]=_['intersection'](_0x423b2a['model'],_0x423b2a[_0xc327('0x31')]);_0x3d06e1[_0xc327('0x34')]=_[_0xc327('0x35')](_0x423b2a[_0xc327('0x30')],qs[_0xc327('0x36')](_0x32eb7d[_0xc327('0x31')]['fields']));_0x3d06e1['attributes']=_0x3d06e1[_0xc327('0x34')]['length']?_0x3d06e1['attributes']:_0x423b2a[_0xc327('0x30')];if(!_0x32eb7d[_0xc327('0x31')][_0xc327('0x37')](_0xc327('0x38'))){_0x3d06e1[_0xc327('0x39')]=qs['limit'](_0x32eb7d[_0xc327('0x31')][_0xc327('0x39')]);_0x3d06e1[_0xc327('0x1d')]=qs[_0xc327('0x1d')](_0x32eb7d['query'][_0xc327('0x1d')]);}_0x3d06e1[_0xc327('0x3a')]=qs[_0xc327('0x3b')](_0x32eb7d['query']['sort']);_0x3d06e1[_0xc327('0x3c')]=qs[_0xc327('0x33')](_['pick'](_0x32eb7d['query'],_0x423b2a[_0xc327('0x33')]),_0x554400);if(_0x32eb7d['query']['filter']){_0x3d06e1[_0xc327('0x3c')]=_['merge'](_0x3d06e1[_0xc327('0x3c')],{'$or':_[_0xc327('0x2a')](_0x554400,function(_0x418932){if(_0x418932['type']!==_0xc327('0x3d')){var _0x48c87d={};_0x48c87d[_0x418932[_0xc327('0x28')]]={'$like':'%'+_0x32eb7d[_0xc327('0x31')][_0xc327('0x3e')]+'%'};return _0x48c87d;}})});}_0x3d06e1=_[_0xc327('0x3f')]({},_0x3d06e1,_0x32eb7d[_0xc327('0x40')]);var _0x5e1ae1={'where':_0x3d06e1[_0xc327('0x3c')]};return db[_0xc327('0x2b')][_0xc327('0x1c')](_0x5e1ae1)[_0xc327('0x24')](function(_0x31de78){_0x28c662[_0xc327('0x1c')]=_0x31de78;if(_0x32eb7d[_0xc327('0x31')][_0xc327('0x41')]){_0x3d06e1[_0xc327('0x42')]=[{'all':!![]}];}return db[_0xc327('0x2b')]['findAll'](_0x3d06e1);})[_0xc327('0x24')](function(_0x4a848f){_0x28c662[_0xc327('0x43')]=_0x4a848f;return _0x28c662;})[_0xc327('0x24')](respondWithFilteredResult(_0x5bfc96,_0x3d06e1))['catch'](handleError(_0x5bfc96,null));};exports[_0xc327('0x44')]=function(_0x5f0656,_0x597af2){var _0x119687={'raw':!![],'where':{'id':_0x5f0656['params']['id']}},_0xcebb37={};_0xcebb37['model']=_[_0xc327('0x32')](db['VoiceTransferReport'][_0xc327('0x2c')]);_0xcebb37['query']=_[_0xc327('0x32')](_0x5f0656['query']);_0xcebb37[_0xc327('0x33')]=_['intersection'](_0xcebb37[_0xc327('0x30')],_0xcebb37[_0xc327('0x31')]);_0x119687[_0xc327('0x34')]=_[_0xc327('0x35')](_0xcebb37[_0xc327('0x30')],qs[_0xc327('0x36')](_0x5f0656['query'][_0xc327('0x36')]));_0x119687[_0xc327('0x34')]=_0x119687[_0xc327('0x34')][_0xc327('0x45')]?_0x119687['attributes']:_0xcebb37[_0xc327('0x30')];if(_0x5f0656[_0xc327('0x31')][_0xc327('0x41')]){_0x119687[_0xc327('0x42')]=[{'all':!![]}];}_0x119687=_[_0xc327('0x3f')]({},_0x119687,_0x5f0656['options']);return db[_0xc327('0x2b')]['find'](_0x119687)[_0xc327('0x24')](handleEntityNotFound(_0x597af2,null))[_0xc327('0x24')](respondWithResult(_0x597af2,null))[_0xc327('0x46')](handleError(_0x597af2,null));};exports[_0xc327('0x47')]=function(_0x49f6b3,_0x3a3d47){return db['VoiceTransferReport'][_0xc327('0x47')](_0x49f6b3[_0xc327('0x48')],{})[_0xc327('0x24')](respondWithResult(_0x3a3d47,0xc9))[_0xc327('0x46')](handleError(_0x3a3d47,null));};exports[_0xc327('0x23')]=function(_0xd9e1f8,_0x2fdeec){if(_0xd9e1f8['body']['id']){delete _0xd9e1f8[_0xc327('0x48')]['id'];}return db['VoiceTransferReport'][_0xc327('0x49')]({'where':{'id':_0xd9e1f8[_0xc327('0x4a')]['id']}})[_0xc327('0x24')](handleEntityNotFound(_0x2fdeec,null))[_0xc327('0x24')](saveUpdates(_0xd9e1f8['body'],null))['then'](respondWithResult(_0x2fdeec,null))[_0xc327('0x46')](handleError(_0x2fdeec,null));};exports[_0xc327('0x25')]=function(_0xa1a6b3,_0x436c5b){return db[_0xc327('0x2b')][_0xc327('0x49')]({'where':{'id':_0xa1a6b3['params']['id']}})['then'](handleEntityNotFound(_0x436c5b,null))[_0xc327('0x24')](removeEntity(_0x436c5b,null))[_0xc327('0x46')](handleError(_0x436c5b,null));}; \ No newline at end of file diff --git a/server/api/voiceTransferReport/voiceTransferReport.model.js b/server/api/voiceTransferReport/voiceTransferReport.model.js index 3fe3ec5..0940923 100644 --- a/server/api/voiceTransferReport/voiceTransferReport.model.js +++ b/server/api/voiceTransferReport/voiceTransferReport.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x989b=['report_call_transfer','lodash','util','../../config/logger','api','moment','path','rimraf','../../config/environment','./voiceTransferReport.attributes','exports','define','VoiceTransferReport'];(function(_0x54c977,_0x382295){var _0x53a048=function(_0x4e7d61){while(--_0x4e7d61){_0x54c977['push'](_0x54c977['shift']());}};_0x53a048(++_0x382295);}(_0x989b,0x187));var _0xb989=function(_0x495828,_0x20c725){_0x495828=_0x495828-0x0;var _0x311445=_0x989b[_0x495828];return _0x311445;};'use strict';var _=require(_0xb989('0x0'));var util=require(_0xb989('0x1'));var logger=require(_0xb989('0x2'))(_0xb989('0x3'));var moment=require(_0xb989('0x4'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0xb989('0x5'));var rimraf=require(_0xb989('0x6'));var config=require(_0xb989('0x7'));var attributes=require(_0xb989('0x8'));module[_0xb989('0x9')]=function(_0x83e1fd,_0x2fa8ed){return _0x83e1fd[_0xb989('0xa')](_0xb989('0xb'),attributes,{'tableName':_0xb989('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0x48b1=['moment','bluebird','request-promise','path','rimraf','../../config/environment','./voiceTransferReport.attributes','exports','define','VoiceTransferReport','report_call_transfer','api'];(function(_0x40a045,_0x516f0e){var _0x1a687c=function(_0x48c9fe){while(--_0x48c9fe){_0x40a045['push'](_0x40a045['shift']());}};_0x1a687c(++_0x516f0e);}(_0x48b1,0x197));var _0x148b=function(_0x321bb2,_0x202794){_0x321bb2=_0x321bb2-0x0;var _0x9c12ed=_0x48b1[_0x321bb2];return _0x9c12ed;};'use strict';var _=require('lodash');var util=require('util');var logger=require('../../config/logger')(_0x148b('0x0'));var moment=require(_0x148b('0x1'));var BPromise=require(_0x148b('0x2'));var rp=require(_0x148b('0x3'));var fs=require('fs');var path=require(_0x148b('0x4'));var rimraf=require(_0x148b('0x5'));var config=require(_0x148b('0x6'));var attributes=require(_0x148b('0x7'));module[_0x148b('0x8')]=function(_0x48ab76,_0x51d487){return _0x48ab76[_0x148b('0x9')](_0x148b('0xa'),attributes,{'tableName':_0x148b('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/voiceTransferReport/voiceTransferReport.rpc.js b/server/api/voiceTransferReport/voiceTransferReport.rpc.js index 36aea31..2e9f1ca 100644 --- a/server/api/voiceTransferReport/voiceTransferReport.rpc.js +++ b/server/api/voiceTransferReport/voiceTransferReport.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x164e=['../../mysqldb','../../config/utils','../../config/logger','../../config/environment','jayson/promise','client','http','request','then','VoiceTransferReport,\x20%s,\x20%s','debug','request\x20sent','stringify','error','code','message','info','result','catch','CreateVoiceTransferReport','create','body','options','raw','lodash','moment','randomstring'];(function(_0x1151fa,_0x2784a7){var _0x49da2b=function(_0x2d33ca){while(--_0x2d33ca){_0x1151fa['push'](_0x1151fa['shift']());}};_0x49da2b(++_0x2784a7);}(_0x164e,0x126));var _0xe164=function(_0x145bbb,_0x4886e9){_0x145bbb=_0x145bbb-0x0;var _0x44ca94=_0x164e[_0x145bbb];return _0x44ca94;};'use strict';var _=require(_0xe164('0x0'));var util=require('util');var moment=require(_0xe164('0x1'));var BPromise=require('bluebird');var rs=require(_0xe164('0x2'));var fs=require('fs');var Redis=require('ioredis');var db=require(_0xe164('0x3'))['db'];var utils=require(_0xe164('0x4'));var logger=require(_0xe164('0x5'))('rpc');var config=require(_0xe164('0x6'));var jayson=require(_0xe164('0x7'));var client=jayson[_0xe164('0x8')][_0xe164('0x9')]({'port':0x232a});function respondWithRpcPromise(_0x159d40,_0x54ea39,_0x412b7f){return new BPromise(function(_0x35c2b1,_0xc063e){return client[_0xe164('0xa')](_0x159d40,_0x412b7f)[_0xe164('0xb')](function(_0x1b4f8f){logger['info'](_0xe164('0xc'),_0x54ea39,'request\x20sent');logger[_0xe164('0xd')]('VoiceTransferReport,\x20%s,\x20%s,\x20%s',_0x54ea39,_0xe164('0xe'),JSON[_0xe164('0xf')](_0x1b4f8f));if(_0x1b4f8f[_0xe164('0x10')]){if(_0x1b4f8f[_0xe164('0x10')][_0xe164('0x11')]===0x1f4){logger['error'](_0xe164('0xc'),_0x54ea39,_0x1b4f8f[_0xe164('0x10')]['message']);return _0xc063e(_0x1b4f8f[_0xe164('0x10')]['message']);}logger[_0xe164('0x10')](_0xe164('0xc'),_0x54ea39,_0x1b4f8f[_0xe164('0x10')][_0xe164('0x12')]);return _0x35c2b1(_0x1b4f8f['error'][_0xe164('0x12')]);}else{logger[_0xe164('0x13')]('VoiceTransferReport,\x20%s,\x20%s',_0x54ea39,'request\x20sent');_0x35c2b1(_0x1b4f8f[_0xe164('0x14')][_0xe164('0x12')]);}})[_0xe164('0x15')](function(_0x2c2a4a){logger[_0xe164('0x10')](_0xe164('0xc'),_0x54ea39,_0x2c2a4a);_0xc063e(_0x2c2a4a);});});}exports[_0xe164('0x16')]=function(_0x344d56){var _0x262802=this;return new Promise(function(_0x1fd6c1,_0x5be050){return db['VoiceTransferReport'][_0xe164('0x17')](_0x344d56[_0xe164('0x18')],{'raw':_0x344d56[_0xe164('0x19')]?_0x344d56[_0xe164('0x19')][_0xe164('0x1a')]===undefined?!![]:![]:!![]})[_0xe164('0xb')](function(_0xad2bd6){logger[_0xe164('0x13')](_0xe164('0x16'),_0x344d56);logger[_0xe164('0xd')](_0xe164('0x16'),_0x344d56,JSON[_0xe164('0xf')](_0xad2bd6));_0x1fd6c1(_0xad2bd6);})[_0xe164('0x15')](function(_0x231980){logger[_0xe164('0x10')]('CreateVoiceTransferReport',_0x231980[_0xe164('0x12')],_0x344d56);_0x5be050(_0x262802['error'](0x1f4,_0x231980['message']));});});}; \ No newline at end of file +var _0xe1f9=['code','message','catch','create','options','CreateVoiceTransferReport','stringify','lodash','moment','bluebird','randomstring','ioredis','../../mysqldb','../../config/logger','rpc','../../config/environment','jayson/promise','client','http','request','then','info','VoiceTransferReport,\x20%s,\x20%s','request\x20sent','debug','error'];(function(_0x50a0c2,_0x4befab){var _0x5ebadd=function(_0x3a3342){while(--_0x3a3342){_0x50a0c2['push'](_0x50a0c2['shift']());}};_0x5ebadd(++_0x4befab);}(_0xe1f9,0xa3));var _0x9e1f=function(_0x10cebe,_0x277261){_0x10cebe=_0x10cebe-0x0;var _0x25d134=_0xe1f9[_0x10cebe];return _0x25d134;};'use strict';var _=require(_0x9e1f('0x0'));var util=require('util');var moment=require(_0x9e1f('0x1'));var BPromise=require(_0x9e1f('0x2'));var rs=require(_0x9e1f('0x3'));var fs=require('fs');var Redis=require(_0x9e1f('0x4'));var db=require(_0x9e1f('0x5'))['db'];var utils=require('../../config/utils');var logger=require(_0x9e1f('0x6'))(_0x9e1f('0x7'));var config=require(_0x9e1f('0x8'));var jayson=require(_0x9e1f('0x9'));var client=jayson[_0x9e1f('0xa')][_0x9e1f('0xb')]({'port':0x232a});function respondWithRpcPromise(_0x285746,_0x3be328,_0x5ed545){return new BPromise(function(_0x468b10,_0x422625){return client[_0x9e1f('0xc')](_0x285746,_0x5ed545)[_0x9e1f('0xd')](function(_0x12c673){logger[_0x9e1f('0xe')](_0x9e1f('0xf'),_0x3be328,_0x9e1f('0x10'));logger[_0x9e1f('0x11')]('VoiceTransferReport,\x20%s,\x20%s,\x20%s',_0x3be328,_0x9e1f('0x10'),JSON['stringify'](_0x12c673));if(_0x12c673[_0x9e1f('0x12')]){if(_0x12c673[_0x9e1f('0x12')][_0x9e1f('0x13')]===0x1f4){logger[_0x9e1f('0x12')]('VoiceTransferReport,\x20%s,\x20%s',_0x3be328,_0x12c673[_0x9e1f('0x12')]['message']);return _0x422625(_0x12c673[_0x9e1f('0x12')][_0x9e1f('0x14')]);}logger[_0x9e1f('0x12')](_0x9e1f('0xf'),_0x3be328,_0x12c673[_0x9e1f('0x12')]['message']);return _0x468b10(_0x12c673[_0x9e1f('0x12')]['message']);}else{logger[_0x9e1f('0xe')](_0x9e1f('0xf'),_0x3be328,_0x9e1f('0x10'));_0x468b10(_0x12c673['result'][_0x9e1f('0x14')]);}})[_0x9e1f('0x15')](function(_0xc2c904){logger[_0x9e1f('0x12')](_0x9e1f('0xf'),_0x3be328,_0xc2c904);_0x422625(_0xc2c904);});});}exports['CreateVoiceTransferReport']=function(_0x3e3c4e){var _0x3a1d2=this;return new Promise(function(_0x211c4a,_0x2b8418){return db['VoiceTransferReport'][_0x9e1f('0x16')](_0x3e3c4e['body'],{'raw':_0x3e3c4e[_0x9e1f('0x17')]?_0x3e3c4e[_0x9e1f('0x17')]['raw']===undefined?!![]:![]:!![]})[_0x9e1f('0xd')](function(_0x51e634){logger[_0x9e1f('0xe')]('CreateVoiceTransferReport',_0x3e3c4e);logger[_0x9e1f('0x11')](_0x9e1f('0x18'),_0x3e3c4e,JSON[_0x9e1f('0x19')](_0x51e634));_0x211c4a(_0x51e634);})[_0x9e1f('0x15')](function(_0x4bacd2){logger[_0x9e1f('0x12')](_0x9e1f('0x18'),_0x4bacd2['message'],_0x3e3c4e);_0x2b8418(_0x3a1d2[_0x9e1f('0x12')](0x1f4,_0x4bacd2[_0x9e1f('0x14')]));});});}; \ No newline at end of file diff --git a/server/api/webbar/index.js b/server/api/webbar/index.js index 16c7271..3f1cf16 100644 --- a/server/api/webbar/index.js +++ b/server/api/webbar/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x04b8=['/answer','answer','/hold','hold','unhold','/calls','calls','/transfer','transfer','Router','./webbar.controller','post','isAuthenticated','canUpdate','/hangup','hangup'];(function(_0x58c715,_0x3e5979){var _0x12b064=function(_0x22d297){while(--_0x22d297){_0x58c715['push'](_0x58c715['shift']());}};_0x12b064(++_0x3e5979);}(_0x04b8,0x159));var _0x804b=function(_0x39747b,_0x375ef2){_0x39747b=_0x39747b-0x0;var _0x28dfab=_0x04b8[_0x39747b];return _0x28dfab;};'use strict';var express=require('express');var router=express[_0x804b('0x0')]();var auth=require('../../components/auth/service');var controller=require(_0x804b('0x1'));router[_0x804b('0x2')]('/originate',auth[_0x804b('0x3')](),auth[_0x804b('0x4')](),controller['originate']);router[_0x804b('0x2')](_0x804b('0x5'),auth[_0x804b('0x3')](),auth['canUpdate'](),controller[_0x804b('0x6')]);router[_0x804b('0x2')](_0x804b('0x7'),auth['isAuthenticated'](),auth[_0x804b('0x4')](),controller[_0x804b('0x8')]);router['post'](_0x804b('0x9'),auth[_0x804b('0x3')](),auth[_0x804b('0x4')](),controller[_0x804b('0xa')]);router[_0x804b('0x2')]('/unhold',auth[_0x804b('0x3')](),auth[_0x804b('0x4')](),controller[_0x804b('0xb')]);router[_0x804b('0x2')](_0x804b('0xc'),auth[_0x804b('0x3')](),auth['canUpdate'](),controller[_0x804b('0xd')]);router['post'](_0x804b('0xe'),auth[_0x804b('0x3')](),auth[_0x804b('0x4')](),controller[_0x804b('0xf')]);module['exports']=router; \ No newline at end of file +var _0x16e4=['answer','/hold','/unhold','unhold','/calls','/transfer','exports','express','Router','../../components/auth/service','./webbar.controller','post','/originate','canUpdate','/hangup','hangup','/answer','isAuthenticated'];(function(_0x1bb6aa,_0x40fe82){var _0x2ef28e=function(_0x32b4eb){while(--_0x32b4eb){_0x1bb6aa['push'](_0x1bb6aa['shift']());}};_0x2ef28e(++_0x40fe82);}(_0x16e4,0x97));var _0x416e=function(_0x5dff56,_0x9fd6af){_0x5dff56=_0x5dff56-0x0;var _0x39798f=_0x16e4[_0x5dff56];return _0x39798f;};'use strict';var express=require(_0x416e('0x0'));var router=express[_0x416e('0x1')]();var auth=require(_0x416e('0x2'));var controller=require(_0x416e('0x3'));router[_0x416e('0x4')](_0x416e('0x5'),auth['isAuthenticated'](),auth[_0x416e('0x6')](),controller['originate']);router[_0x416e('0x4')](_0x416e('0x7'),auth['isAuthenticated'](),auth[_0x416e('0x6')](),controller[_0x416e('0x8')]);router[_0x416e('0x4')](_0x416e('0x9'),auth[_0x416e('0xa')](),auth[_0x416e('0x6')](),controller[_0x416e('0xb')]);router[_0x416e('0x4')](_0x416e('0xc'),auth['isAuthenticated'](),auth[_0x416e('0x6')](),controller['hold']);router[_0x416e('0x4')](_0x416e('0xd'),auth[_0x416e('0xa')](),auth['canUpdate'](),controller[_0x416e('0xe')]);router[_0x416e('0x4')](_0x416e('0xf'),auth['isAuthenticated'](),auth[_0x416e('0x6')](),controller['calls']);router[_0x416e('0x4')](_0x416e('0x10'),auth[_0x416e('0xa')](),auth[_0x416e('0x6')](),controller['transfer']);module[_0x416e('0x11')]=router; \ No newline at end of file diff --git a/server/api/webbar/webbar.controller.js b/server/api/webbar/webbar.controller.js index 7471992..bb7a470 100644 --- a/server/api/webbar/webbar.controller.js +++ b/server/api/webbar/webbar.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xb07f=['hold','hold\x20fired:','user:%s','webbar:hold','hold\x20executed!','unhold\x20fired:','webbar:unhold','unhold\x20executed!','calls','calls\x20fired:','rows','conference','webbar:conference','conference\x20executed!','transfer','transfer\x20fired:','transferNumber','webbar:transfer','transfer\x20executed!','path','lodash','../../mysqldb','../../config/environment','util','bluebird','jayson/promise','client','http','../../config/logger','webbarapi','redis','defaults','localhost','socket.io-emitter','validate','number','userId\x20is\x20required','string','callNumber\x20is\x20required','sessionId\x20is\x20required','transferNumber\x20is\x20required','info','stringify','log','handleError:','stack','name','send','status','NotFound','request','then','error','message','result','catch','User','agent','VoiceChannels','all','filter','UserId','length','\x20not\x20found!','originate\x20fired:','body','json','userId','callNumber','callerId','entityFound:','format','webbar:originate','hangup','hangup\x20fired:','sessionId','webbar:hangup','hangup\x20executed!','answer','answer\x20fired:','webbar:answer','answer\x20executed!'];(function(_0x147497,_0x43e433){var _0x35f45=function(_0x584421){while(--_0x584421){_0x147497['push'](_0x147497['shift']());}};_0x35f45(++_0x43e433);}(_0xb07f,0x109));var _0xfb07=function(_0x682cd2,_0x38817d){_0x682cd2=_0x682cd2-0x0;var _0x3aacb7=_0xb07f[_0x682cd2];return _0x3aacb7;};'use strict';var path=require(_0xfb07('0x0'));var fs=require('fs');var _=require(_0xfb07('0x1'));var db=require(_0xfb07('0x2'))['db'];var config=require(_0xfb07('0x3'));var util=require(_0xfb07('0x4'));var BPromise=require(_0xfb07('0x5'));var jayson=require(_0xfb07('0x6'));var amiClient=jayson[_0xfb07('0x7')][_0xfb07('0x8')]({'port':0x232a});var logger=require(_0xfb07('0x9'))(_0xfb07('0xa'));var Redis=require('ioredis');config[_0xfb07('0xb')]=_[_0xfb07('0xc')](config[_0xfb07('0xb')],{'host':_0xfb07('0xd'),'port':0x18eb});var io=require(_0xfb07('0xe'))(new Redis(config[_0xfb07('0xb')]));var Schema=require(_0xfb07('0xf'));var originateValidation=new Schema({'userId':{'type':_0xfb07('0x10'),'required':[!![],_0xfb07('0x11')]},'callNumber':{'type':_0xfb07('0x12'),'required':[!![],_0xfb07('0x13')]},'callerId':{'type':_0xfb07('0x12')},'callbackUrl':{'type':'string'}});var hangupValidation=new Schema({'userId':{'type':'number','required':[!![],'userId\x20is\x20required']},'sessionId':{'type':_0xfb07('0x12'),'required':![]}});var answerValidation=new Schema({'userId':{'type':_0xfb07('0x10'),'required':[!![],'userId\x20is\x20required']},'sessionId':{'type':_0xfb07('0x12'),'required':![]}});var transferValidation=new Schema({'userId':{'type':_0xfb07('0x10'),'required':[!![],_0xfb07('0x11')]},'sessionId':{'type':_0xfb07('0x12'),'required':[!![],_0xfb07('0x14')]},'transferNumber':{'type':_0xfb07('0x12'),'required':[!![],_0xfb07('0x15')]}});var holdValidation=new Schema({'userId':{'type':'number','required':[!![],_0xfb07('0x11')]},'sessionId':{'type':_0xfb07('0x12'),'required':![]}});var unholdValidation=new Schema({'userId':{'type':_0xfb07('0x10'),'required':[!![],_0xfb07('0x11')]},'sessionId':{'type':_0xfb07('0x12'),'required':![]}});var callsValidation=new Schema({'userId':{'type':_0xfb07('0x10'),'required':[!![],_0xfb07('0x11')]}});var conferenceValidation=new Schema({'userId':{'type':_0xfb07('0x10'),'required':[!![],_0xfb07('0x11')]}});function emit(_0x6a14e0,_0x3dde76,_0x1cfc43){logger[_0xfb07('0x16')](_0x6a14e0,_0x3dde76,JSON[_0xfb07('0x17')](_0x1cfc43));io['to'](_0x6a14e0)['emit'](_0x3dde76,_0x1cfc43);}function handleError(_0x57fc39){return function(_0x3e747e){console[_0xfb07('0x18')](_0xfb07('0x19'),_0x3e747e,_0x3e747e instanceof RangeError);logger['error'](_0x3e747e[_0xfb07('0x1a')]);if(_0x3e747e instanceof RangeError){if(_0x3e747e[_0xfb07('0x1b')]){delete _0x3e747e['name'];}_0x57fc39['status'](0x194)[_0xfb07('0x1c')](_0x3e747e);}else{if(_0x3e747e[_0xfb07('0x1b')]){delete _0x3e747e[_0xfb07('0x1b')];}_0x57fc39[_0xfb07('0x1d')](0x1f4)[_0xfb07('0x1c')](_0x3e747e);}};}function checkError(){return function(_0x323bec){if(!_0x323bec){throw new RangeError(_0xfb07('0x1e'));}return _0x323bec;};}function respondWithRpcPromise(_0x23c2be,_0x19ad99){return new BPromise(function(_0x578bb2,_0x45806a){var _0x56d0c4=amiClient;return _0x56d0c4[_0xfb07('0x1f')](_0x23c2be,_0x19ad99)[_0xfb07('0x20')](function(_0x428c85){if(_0x428c85[_0xfb07('0x21')]){if(_0x428c85[_0xfb07('0x21')]['code']===0x1f4){return _0x45806a(_0x428c85[_0xfb07('0x21')][_0xfb07('0x22')]);}return _0x578bb2(_0x428c85[_0xfb07('0x21')][_0xfb07('0x22')]);}else{_0x578bb2(_0x428c85[_0xfb07('0x23')]);}})[_0xfb07('0x24')](function(_0x531346){_0x45806a(_0x531346);});});}function getAgent(_0x36d6f3){return db[_0xfb07('0x25')]['findOne']({'where':{'id':_0x36d6f3,'role':_0xfb07('0x26')}})[_0xfb07('0x20')](checkError());}function getAgentCheckSession(_0xe813a7,_0x149ac0){return new BPromise(function(_0x46927a,_0x2b0650){var _0x20f01a=respondWithRpcPromise(_0xfb07('0x27'));var _0x95f1d=getAgent(_0xe813a7);Promise[_0xfb07('0x28')]([_0x20f01a,_0x95f1d])[_0xfb07('0x20')](function(_0x49b06e){var _0x217932=_0x49b06e[0x0];var _0x1e4cb8=_0x49b06e[0x1];var _0x36787a=_[_0xfb07('0x29')](_0x217932['rows'],function(_0x46d57e){return _0x46d57e[_0xfb07('0x2a')]==_0x1e4cb8['id']&&_0x46d57e['sessionId']==_0x149ac0;});if(_0x36787a[_0xfb07('0x2b')]==0x1){_0x46927a(_0x1e4cb8);}else{_0x2b0650(new RangeError('sessionId\x20'+_0x149ac0+_0xfb07('0x2c')));}});});}exports['originate']=function(_0x56b48c,_0x4a8d4c){logger[_0xfb07('0x16')](_0xfb07('0x2d'),_0x56b48c[_0xfb07('0x2e')]);var _0x4452d7=originateValidation[_0xfb07('0xf')](_0x56b48c[_0xfb07('0x2e')]);if(_0x4452d7['length']>0x0){return _0x4a8d4c['status'](0x190)[_0xfb07('0x2f')](_0x4452d7);}var _0x1cccdd=_0x56b48c[_0xfb07('0x2e')][_0xfb07('0x30')];var _0x5e28cd=_0x56b48c['body'][_0xfb07('0x31')];var _0x3e0d11=_0x56b48c[_0xfb07('0x2e')][_0xfb07('0x32')];var _0x4d06f5=_0x56b48c[_0xfb07('0x2e')]['callbackUrl'];return getAgent(_0x1cccdd)['then'](function(_0x4a5055){logger[_0xfb07('0x16')](_0xfb07('0x33'),_0x4a5055[_0xfb07('0x1b')]);emit(util[_0xfb07('0x34')]('user:%s',_0x4a5055['name']),_0xfb07('0x35'),{'callNumber':_0x5e28cd,'callerId':_0x3e0d11,'callbackUrl':_0x4d06f5});return _0x4a8d4c[_0xfb07('0x1d')](0xc8)['json']({'error':![],'message':'originate\x20executed!'});})['catch'](handleError(_0x4a8d4c));};exports[_0xfb07('0x36')]=function(_0x10cd8b,_0x55de52){logger['info'](_0xfb07('0x37'),_0x10cd8b[_0xfb07('0x2e')]);var _0x18c41f=hangupValidation[_0xfb07('0xf')](_0x10cd8b[_0xfb07('0x2e')]);if(_0x18c41f['length']>0x0){return _0x55de52[_0xfb07('0x1d')](0x190)[_0xfb07('0x2f')](_0x18c41f);}var _0xac769b=_0x10cd8b[_0xfb07('0x2e')]['userId'];var _0x4ab5dd=_0x10cd8b[_0xfb07('0x2e')][_0xfb07('0x38')];return getAgent(_0xac769b)[_0xfb07('0x20')](function(_0xc5df59){logger[_0xfb07('0x16')](_0xfb07('0x33'),_0xc5df59[_0xfb07('0x1b')]);emit(util['format']('user:%s',_0xc5df59[_0xfb07('0x1b')]),_0xfb07('0x39'),{'sessionId':_0x4ab5dd});return _0x55de52['status'](0xc8)['json']({'error':![],'message':_0xfb07('0x3a')});})[_0xfb07('0x24')](handleError(_0x55de52));};exports[_0xfb07('0x3b')]=function(_0x48c179,_0x479e61){logger[_0xfb07('0x16')](_0xfb07('0x3c'),_0x48c179[_0xfb07('0x2e')]);var _0x123e3d=answerValidation[_0xfb07('0xf')](_0x48c179[_0xfb07('0x2e')]);if(_0x123e3d[_0xfb07('0x2b')]>0x0){return _0x479e61[_0xfb07('0x1d')](0x190)[_0xfb07('0x2f')](_0x123e3d);}var _0x492f1b=_0x48c179[_0xfb07('0x2e')][_0xfb07('0x30')];var _0x3d6372=_0x48c179[_0xfb07('0x2e')][_0xfb07('0x38')];return getAgent(_0x492f1b)[_0xfb07('0x20')](function(_0x4cb228){logger[_0xfb07('0x16')](_0xfb07('0x33'),_0x4cb228[_0xfb07('0x1b')]);emit(util['format']('user:%s',_0x4cb228[_0xfb07('0x1b')]),_0xfb07('0x3d'),{'sessionId':_0x3d6372});return _0x479e61['status'](0xc8)[_0xfb07('0x2f')]({'error':![],'message':_0xfb07('0x3e')});})[_0xfb07('0x24')](handleError(_0x479e61));};exports[_0xfb07('0x3f')]=function(_0x44568c,_0x567958){logger['info'](_0xfb07('0x40'),_0x44568c[_0xfb07('0x2e')]);var _0x38354c=holdValidation[_0xfb07('0xf')](_0x44568c[_0xfb07('0x2e')]);if(_0x38354c[_0xfb07('0x2b')]>0x0){return _0x567958[_0xfb07('0x1d')](0x190)[_0xfb07('0x2f')](_0x38354c);}var _0x186987=_0x44568c[_0xfb07('0x2e')]['userId'];var _0x5b304d=_0x44568c['body'][_0xfb07('0x38')];return getAgent(_0x186987)['then'](function(_0x2397f8){logger[_0xfb07('0x16')](_0xfb07('0x33'),_0x2397f8[_0xfb07('0x1b')]);emit(util[_0xfb07('0x34')](_0xfb07('0x41'),_0x2397f8['name']),_0xfb07('0x42'),{'sessionId':_0x5b304d});return _0x567958[_0xfb07('0x1d')](0xc8)[_0xfb07('0x2f')]({'error':![],'message':_0xfb07('0x43')});})[_0xfb07('0x24')](handleError(_0x567958));};exports['unhold']=function(_0x3cfb89,_0x3b85f7){logger[_0xfb07('0x16')](_0xfb07('0x44'),_0x3cfb89[_0xfb07('0x2e')]);var _0x5179c2=unholdValidation[_0xfb07('0xf')](_0x3cfb89[_0xfb07('0x2e')]);if(_0x5179c2[_0xfb07('0x2b')]>0x0){return _0x3b85f7[_0xfb07('0x1d')](0x190)[_0xfb07('0x2f')](_0x5179c2);}var _0x529936=_0x3cfb89[_0xfb07('0x2e')][_0xfb07('0x30')];var _0x26a7b7=_0x3cfb89[_0xfb07('0x2e')]['sessionId'];return getAgent(_0x529936)[_0xfb07('0x20')](function(_0x204469){logger[_0xfb07('0x16')](_0xfb07('0x33'),_0x204469[_0xfb07('0x1b')]);emit(util[_0xfb07('0x34')](_0xfb07('0x41'),_0x204469[_0xfb07('0x1b')]),_0xfb07('0x45'),{'sessionId':_0x26a7b7});return _0x3b85f7[_0xfb07('0x1d')](0xc8)['json']({'error':![],'message':_0xfb07('0x46')});})['catch'](handleError(_0x3b85f7));};exports[_0xfb07('0x47')]=function(_0xfcaeb7,_0x22fa5c){logger[_0xfb07('0x16')](_0xfb07('0x48'),_0x22fa5c[_0xfb07('0x2e')]);var _0x1c76af=callsValidation['validate'](_0xfcaeb7['body']);if(_0x1c76af['length']>0x0){return _0x22fa5c[_0xfb07('0x1d')](0x190)[_0xfb07('0x2f')](_0x1c76af);}var _0x44d1a1=_0xfcaeb7['body'][_0xfb07('0x30')];var _0x4ef1a4=respondWithRpcPromise(_0xfb07('0x27'));var _0x29e4be=getAgent(_0x44d1a1);return Promise['all']([_0x4ef1a4,_0x29e4be])[_0xfb07('0x20')](function(_0x2f9f0f){var _0x18d0de=_0x2f9f0f[0x0];var _0xc122ae=_0x2f9f0f[0x1];var _0x294dc8=_[_0xfb07('0x29')](_0x18d0de[_0xfb07('0x49')],function(_0x18ae74){return _0x18ae74[_0xfb07('0x2a')]==_0xc122ae['id'];});return _0x22fa5c[_0xfb07('0x1d')](0xc8)[_0xfb07('0x2f')]({'count':_0x294dc8[_0xfb07('0x2b')],'rows':_0x294dc8});})[_0xfb07('0x24')](handleError(_0x22fa5c));};exports[_0xfb07('0x4a')]=function(_0x5387ce,_0x275aba){logger[_0xfb07('0x16')]('conference\x20fired:',_0x5387ce['body']);var _0xb5bf41=conferenceValidation[_0xfb07('0xf')](_0x5387ce[_0xfb07('0x2e')]);if(_0xb5bf41['length']>0x0){return _0x275aba[_0xfb07('0x1d')](0x190)['json'](_0xb5bf41);}var _0x4e323f=_0x5387ce['body']['userId'];return getAgent(_0x4e323f)[_0xfb07('0x20')](function(_0x237117){logger[_0xfb07('0x16')](_0xfb07('0x33'),_0x237117[_0xfb07('0x1b')]);emit(util[_0xfb07('0x34')](_0xfb07('0x41'),_0x237117['name']),_0xfb07('0x4b'));return _0x275aba[_0xfb07('0x1d')](0xc8)[_0xfb07('0x2f')]({'error':![],'message':_0xfb07('0x4c')});})[_0xfb07('0x24')](handleError(_0x275aba));};exports[_0xfb07('0x4d')]=function(_0x268d88,_0x238492){logger['info'](_0xfb07('0x4e'),_0x268d88[_0xfb07('0x2e')]);var _0x3831bf=transferValidation[_0xfb07('0xf')](_0x268d88[_0xfb07('0x2e')]);if(_0x3831bf['length']>0x0){return _0x238492['status'](0x190)[_0xfb07('0x2f')](_0x3831bf);}var _0x231247=_0x268d88['body'][_0xfb07('0x30')];var _0x311c6d=_0x268d88[_0xfb07('0x2e')][_0xfb07('0x38')];var _0x127392=_0x268d88[_0xfb07('0x2e')][_0xfb07('0x4f')];return getAgent(_0x231247)['then'](function(_0x4c1238){logger[_0xfb07('0x16')]('entityFound:',_0x4c1238[_0xfb07('0x1b')]);emit(util[_0xfb07('0x34')](_0xfb07('0x41'),_0x4c1238[_0xfb07('0x1b')]),_0xfb07('0x50'),{'sessionId':_0x311c6d,'transferNumber':_0x127392});return _0x238492[_0xfb07('0x1d')](0xc8)[_0xfb07('0x2f')]({'error':![],'message':_0xfb07('0x51')});})[_0xfb07('0x24')](handleError(_0x238492));}; \ No newline at end of file +var _0xe638=['redis','defaults','localhost','socket.io-emitter','validate','userId\x20is\x20required','string','callNumber\x20is\x20required','number','sessionId\x20is\x20required','transferNumber\x20is\x20required','info','stringify','emit','log','handleError:','error','stack','status','name','send','request','then','message','result','findOne','agent','VoiceChannels','all','filter','rows','sessionId','sessionId\x20','\x20not\x20found!','originate','originate\x20fired:','body','callNumber','callbackUrl','entityFound:','format','user:%s','webbar:originate','json','originate\x20executed!','catch','hangup','hangup\x20fired:','userId','webbar:hangup','answer\x20fired:','answer\x20executed!','length','webbar:hold','hold\x20executed!','unhold','unhold\x20fired:','webbar:unhold','unhold\x20executed!','calls','calls\x20fired:','UserId','conference','conference\x20fired:','webbar:conference','transfer','transferNumber','webbar:transfer','transfer\x20executed!','path','lodash','../../mysqldb','../../config/environment','bluebird','jayson/promise','../../config/logger','ioredis'];(function(_0x519f57,_0x5afd6){var _0x3e7189=function(_0x5e4ee9){while(--_0x5e4ee9){_0x519f57['push'](_0x519f57['shift']());}};_0x3e7189(++_0x5afd6);}(_0xe638,0x92));var _0x8e63=function(_0x55189a,_0x35d0d0){_0x55189a=_0x55189a-0x0;var _0x3731f6=_0xe638[_0x55189a];return _0x3731f6;};'use strict';var path=require(_0x8e63('0x0'));var fs=require('fs');var _=require(_0x8e63('0x1'));var db=require(_0x8e63('0x2'))['db'];var config=require(_0x8e63('0x3'));var util=require('util');var BPromise=require(_0x8e63('0x4'));var jayson=require(_0x8e63('0x5'));var amiClient=jayson['client']['http']({'port':0x232a});var logger=require(_0x8e63('0x6'))('webbarapi');var Redis=require(_0x8e63('0x7'));config[_0x8e63('0x8')]=_[_0x8e63('0x9')](config['redis'],{'host':_0x8e63('0xa'),'port':0x18eb});var io=require(_0x8e63('0xb'))(new Redis(config[_0x8e63('0x8')]));var Schema=require(_0x8e63('0xc'));var originateValidation=new Schema({'userId':{'type':'number','required':[!![],_0x8e63('0xd')]},'callNumber':{'type':_0x8e63('0xe'),'required':[!![],_0x8e63('0xf')]},'callerId':{'type':_0x8e63('0xe')},'callbackUrl':{'type':_0x8e63('0xe')}});var hangupValidation=new Schema({'userId':{'type':_0x8e63('0x10'),'required':[!![],_0x8e63('0xd')]},'sessionId':{'type':_0x8e63('0xe'),'required':![]}});var answerValidation=new Schema({'userId':{'type':'number','required':[!![],_0x8e63('0xd')]},'sessionId':{'type':_0x8e63('0xe'),'required':![]}});var transferValidation=new Schema({'userId':{'type':_0x8e63('0x10'),'required':[!![],_0x8e63('0xd')]},'sessionId':{'type':_0x8e63('0xe'),'required':[!![],_0x8e63('0x11')]},'transferNumber':{'type':'string','required':[!![],_0x8e63('0x12')]}});var holdValidation=new Schema({'userId':{'type':_0x8e63('0x10'),'required':[!![],'userId\x20is\x20required']},'sessionId':{'type':'string','required':![]}});var unholdValidation=new Schema({'userId':{'type':_0x8e63('0x10'),'required':[!![],_0x8e63('0xd')]},'sessionId':{'type':_0x8e63('0xe'),'required':![]}});var callsValidation=new Schema({'userId':{'type':'number','required':[!![],_0x8e63('0xd')]}});var conferenceValidation=new Schema({'userId':{'type':'number','required':[!![],_0x8e63('0xd')]}});function emit(_0x78449a,_0x1de429,_0x590985){logger[_0x8e63('0x13')](_0x78449a,_0x1de429,JSON[_0x8e63('0x14')](_0x590985));io['to'](_0x78449a)[_0x8e63('0x15')](_0x1de429,_0x590985);}function handleError(_0x1479e6){return function(_0x10bbea){console[_0x8e63('0x16')](_0x8e63('0x17'),_0x10bbea,_0x10bbea instanceof RangeError);logger[_0x8e63('0x18')](_0x10bbea[_0x8e63('0x19')]);if(_0x10bbea instanceof RangeError){if(_0x10bbea['name']){delete _0x10bbea['name'];}_0x1479e6[_0x8e63('0x1a')](0x194)['send'](_0x10bbea);}else{if(_0x10bbea[_0x8e63('0x1b')]){delete _0x10bbea[_0x8e63('0x1b')];}_0x1479e6[_0x8e63('0x1a')](0x1f4)[_0x8e63('0x1c')](_0x10bbea);}};}function checkError(){return function(_0x16da6b){if(!_0x16da6b){throw new RangeError('NotFound');}return _0x16da6b;};}function respondWithRpcPromise(_0x56cc88,_0x32912c){return new BPromise(function(_0x35ad61,_0x52209d){var _0x596f80=amiClient;return _0x596f80[_0x8e63('0x1d')](_0x56cc88,_0x32912c)[_0x8e63('0x1e')](function(_0x65e04c){if(_0x65e04c[_0x8e63('0x18')]){if(_0x65e04c[_0x8e63('0x18')]['code']===0x1f4){return _0x52209d(_0x65e04c[_0x8e63('0x18')][_0x8e63('0x1f')]);}return _0x35ad61(_0x65e04c[_0x8e63('0x18')][_0x8e63('0x1f')]);}else{_0x35ad61(_0x65e04c[_0x8e63('0x20')]);}})['catch'](function(_0x255d1c){_0x52209d(_0x255d1c);});});}function getAgent(_0x1a0c31){return db['User'][_0x8e63('0x21')]({'where':{'id':_0x1a0c31,'role':_0x8e63('0x22')}})['then'](checkError());}function getAgentCheckSession(_0x35b4f3,_0x574217){return new BPromise(function(_0x57fbb7,_0x24289d){var _0x42660b=respondWithRpcPromise(_0x8e63('0x23'));var _0x544bcc=getAgent(_0x35b4f3);Promise[_0x8e63('0x24')]([_0x42660b,_0x544bcc])[_0x8e63('0x1e')](function(_0x50b2b4){var _0x5a25e3=_0x50b2b4[0x0];var _0x4ab250=_0x50b2b4[0x1];var _0x53adf5=_[_0x8e63('0x25')](_0x5a25e3[_0x8e63('0x26')],function(_0x2bd817){return _0x2bd817['UserId']==_0x4ab250['id']&&_0x2bd817[_0x8e63('0x27')]==_0x574217;});if(_0x53adf5['length']==0x1){_0x57fbb7(_0x4ab250);}else{_0x24289d(new RangeError(_0x8e63('0x28')+_0x574217+_0x8e63('0x29')));}});});}exports[_0x8e63('0x2a')]=function(_0xd85e36,_0xdca8eb){logger[_0x8e63('0x13')](_0x8e63('0x2b'),_0xd85e36[_0x8e63('0x2c')]);var _0x590750=originateValidation[_0x8e63('0xc')](_0xd85e36[_0x8e63('0x2c')]);if(_0x590750['length']>0x0){return _0xdca8eb['status'](0x190)['json'](_0x590750);}var _0x4f5821=_0xd85e36[_0x8e63('0x2c')]['userId'];var _0x225cd1=_0xd85e36[_0x8e63('0x2c')][_0x8e63('0x2d')];var _0x376e7c=_0xd85e36['body']['callerId'];var _0x2b1d08=_0xd85e36[_0x8e63('0x2c')][_0x8e63('0x2e')];return getAgent(_0x4f5821)[_0x8e63('0x1e')](function(_0x1c494e){logger[_0x8e63('0x13')](_0x8e63('0x2f'),_0x1c494e[_0x8e63('0x1b')]);emit(util[_0x8e63('0x30')](_0x8e63('0x31'),_0x1c494e[_0x8e63('0x1b')]),_0x8e63('0x32'),{'callNumber':_0x225cd1,'callerId':_0x376e7c,'callbackUrl':_0x2b1d08});return _0xdca8eb[_0x8e63('0x1a')](0xc8)[_0x8e63('0x33')]({'error':![],'message':_0x8e63('0x34')});})[_0x8e63('0x35')](handleError(_0xdca8eb));};exports[_0x8e63('0x36')]=function(_0x505c93,_0x1035c6){logger[_0x8e63('0x13')](_0x8e63('0x37'),_0x505c93[_0x8e63('0x2c')]);var _0x44897d=hangupValidation[_0x8e63('0xc')](_0x505c93[_0x8e63('0x2c')]);if(_0x44897d['length']>0x0){return _0x1035c6['status'](0x190)[_0x8e63('0x33')](_0x44897d);}var _0x411154=_0x505c93['body'][_0x8e63('0x38')];var _0x37e36b=_0x505c93[_0x8e63('0x2c')]['sessionId'];return getAgent(_0x411154)[_0x8e63('0x1e')](function(_0x360c65){logger[_0x8e63('0x13')](_0x8e63('0x2f'),_0x360c65[_0x8e63('0x1b')]);emit(util[_0x8e63('0x30')](_0x8e63('0x31'),_0x360c65[_0x8e63('0x1b')]),_0x8e63('0x39'),{'sessionId':_0x37e36b});return _0x1035c6[_0x8e63('0x1a')](0xc8)['json']({'error':![],'message':'hangup\x20executed!'});})[_0x8e63('0x35')](handleError(_0x1035c6));};exports['answer']=function(_0x4748fd,_0x4ded17){logger[_0x8e63('0x13')](_0x8e63('0x3a'),_0x4748fd[_0x8e63('0x2c')]);var _0x2f79b1=answerValidation[_0x8e63('0xc')](_0x4748fd['body']);if(_0x2f79b1['length']>0x0){return _0x4ded17[_0x8e63('0x1a')](0x190)[_0x8e63('0x33')](_0x2f79b1);}var _0x1cd8b6=_0x4748fd[_0x8e63('0x2c')][_0x8e63('0x38')];var _0x42b4f0=_0x4748fd['body'][_0x8e63('0x27')];return getAgent(_0x1cd8b6)[_0x8e63('0x1e')](function(_0xeae3d5){logger[_0x8e63('0x13')](_0x8e63('0x2f'),_0xeae3d5[_0x8e63('0x1b')]);emit(util[_0x8e63('0x30')](_0x8e63('0x31'),_0xeae3d5['name']),'webbar:answer',{'sessionId':_0x42b4f0});return _0x4ded17[_0x8e63('0x1a')](0xc8)[_0x8e63('0x33')]({'error':![],'message':_0x8e63('0x3b')});})[_0x8e63('0x35')](handleError(_0x4ded17));};exports['hold']=function(_0x34fd86,_0x526bee){logger[_0x8e63('0x13')]('hold\x20fired:',_0x34fd86[_0x8e63('0x2c')]);var _0x5d9201=holdValidation[_0x8e63('0xc')](_0x34fd86[_0x8e63('0x2c')]);if(_0x5d9201[_0x8e63('0x3c')]>0x0){return _0x526bee[_0x8e63('0x1a')](0x190)[_0x8e63('0x33')](_0x5d9201);}var _0x427be8=_0x34fd86[_0x8e63('0x2c')]['userId'];var _0x223980=_0x34fd86[_0x8e63('0x2c')][_0x8e63('0x27')];return getAgent(_0x427be8)['then'](function(_0x49f8b6){logger['info']('entityFound:',_0x49f8b6[_0x8e63('0x1b')]);emit(util['format']('user:%s',_0x49f8b6[_0x8e63('0x1b')]),_0x8e63('0x3d'),{'sessionId':_0x223980});return _0x526bee[_0x8e63('0x1a')](0xc8)['json']({'error':![],'message':_0x8e63('0x3e')});})[_0x8e63('0x35')](handleError(_0x526bee));};exports[_0x8e63('0x3f')]=function(_0x153082,_0x17847d){logger['info'](_0x8e63('0x40'),_0x153082[_0x8e63('0x2c')]);var _0x158f5f=unholdValidation['validate'](_0x153082[_0x8e63('0x2c')]);if(_0x158f5f['length']>0x0){return _0x17847d['status'](0x190)[_0x8e63('0x33')](_0x158f5f);}var _0x1ce648=_0x153082[_0x8e63('0x2c')][_0x8e63('0x38')];var _0x3e60c4=_0x153082[_0x8e63('0x2c')][_0x8e63('0x27')];return getAgent(_0x1ce648)['then'](function(_0xe7cf2f){logger['info']('entityFound:',_0xe7cf2f[_0x8e63('0x1b')]);emit(util[_0x8e63('0x30')](_0x8e63('0x31'),_0xe7cf2f[_0x8e63('0x1b')]),_0x8e63('0x41'),{'sessionId':_0x3e60c4});return _0x17847d[_0x8e63('0x1a')](0xc8)['json']({'error':![],'message':_0x8e63('0x42')});})[_0x8e63('0x35')](handleError(_0x17847d));};exports[_0x8e63('0x43')]=function(_0x510c73,_0x48379d){logger['info'](_0x8e63('0x44'),_0x48379d[_0x8e63('0x2c')]);var _0x40aedc=callsValidation[_0x8e63('0xc')](_0x510c73['body']);if(_0x40aedc[_0x8e63('0x3c')]>0x0){return _0x48379d['status'](0x190)[_0x8e63('0x33')](_0x40aedc);}var _0x1ad601=_0x510c73[_0x8e63('0x2c')]['userId'];var _0x42ace4=respondWithRpcPromise('VoiceChannels');var _0x56213a=getAgent(_0x1ad601);return Promise[_0x8e63('0x24')]([_0x42ace4,_0x56213a])[_0x8e63('0x1e')](function(_0x5e30dc){var _0xb42c3d=_0x5e30dc[0x0];var _0x5ad313=_0x5e30dc[0x1];var _0x598348=_[_0x8e63('0x25')](_0xb42c3d[_0x8e63('0x26')],function(_0x5c6504){return _0x5c6504[_0x8e63('0x45')]==_0x5ad313['id'];});return _0x48379d[_0x8e63('0x1a')](0xc8)['json']({'count':_0x598348['length'],'rows':_0x598348});})[_0x8e63('0x35')](handleError(_0x48379d));};exports[_0x8e63('0x46')]=function(_0x240cff,_0x48957e){logger['info'](_0x8e63('0x47'),_0x240cff[_0x8e63('0x2c')]);var _0x4ead61=conferenceValidation[_0x8e63('0xc')](_0x240cff[_0x8e63('0x2c')]);if(_0x4ead61[_0x8e63('0x3c')]>0x0){return _0x48957e[_0x8e63('0x1a')](0x190)[_0x8e63('0x33')](_0x4ead61);}var _0x5b3c5d=_0x240cff[_0x8e63('0x2c')]['userId'];return getAgent(_0x5b3c5d)[_0x8e63('0x1e')](function(_0x2c79f1){logger['info'](_0x8e63('0x2f'),_0x2c79f1['name']);emit(util[_0x8e63('0x30')](_0x8e63('0x31'),_0x2c79f1['name']),_0x8e63('0x48'));return _0x48957e[_0x8e63('0x1a')](0xc8)[_0x8e63('0x33')]({'error':![],'message':'conference\x20executed!'});})[_0x8e63('0x35')](handleError(_0x48957e));};exports[_0x8e63('0x49')]=function(_0x298121,_0x4165cb){logger['info']('transfer\x20fired:',_0x298121[_0x8e63('0x2c')]);var _0x1b344d=transferValidation['validate'](_0x298121[_0x8e63('0x2c')]);if(_0x1b344d[_0x8e63('0x3c')]>0x0){return _0x4165cb['status'](0x190)[_0x8e63('0x33')](_0x1b344d);}var _0x2c64e9=_0x298121[_0x8e63('0x2c')][_0x8e63('0x38')];var _0x4cb85c=_0x298121['body'][_0x8e63('0x27')];var _0x4ebc8e=_0x298121[_0x8e63('0x2c')][_0x8e63('0x4a')];return getAgent(_0x2c64e9)['then'](function(_0x5b6fa1){logger[_0x8e63('0x13')]('entityFound:',_0x5b6fa1[_0x8e63('0x1b')]);emit(util['format']('user:%s',_0x5b6fa1[_0x8e63('0x1b')]),_0x8e63('0x4b'),{'sessionId':_0x4cb85c,'transferNumber':_0x4ebc8e});return _0x4165cb[_0x8e63('0x1a')](0xc8)[_0x8e63('0x33')]({'error':![],'message':_0x8e63('0x4c')});})[_0x8e63('0x35')](handleError(_0x4165cb));}; \ No newline at end of file diff --git a/server/api/whatsappAccount/index.js b/server/api/whatsappAccount/index.js index 5b34b20..f0fea86 100644 --- a/server/api/whatsappAccount/index.js +++ b/server/api/whatsappAccount/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xf1c1=['send','put','/:id','update','delete','destroy','removeDispositions','removeAgents','exports','path','connect-timeout','express','Router','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/describe','describe','show','/:id/dispositions','getDispositions','/:id/canned_answers','getAnswers','/:id/users','/:id/applications','getApplications','post','addDisposition','addAgents','addApplications','/:id/notify','notify','/:id/send'];(function(_0x20c4a2,_0x83cf29){var _0x151d44=function(_0x3f2f36){while(--_0x3f2f36){_0x20c4a2['push'](_0x20c4a2['shift']());}};_0x151d44(++_0x83cf29);}(_0xf1c1,0x18a));var _0x1f1c=function(_0x39d4a1,_0x46ba00){_0x39d4a1=_0x39d4a1-0x0;var _0x13c306=_0xf1c1[_0x39d4a1];return _0x13c306;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x1f1c('0x0'));var timeout=require(_0x1f1c('0x1'));var express=require(_0x1f1c('0x2'));var router=express[_0x1f1c('0x3')]();var auth=require('../../components/auth/service');var interaction=require(_0x1f1c('0x4'));var config=require(_0x1f1c('0x5'));var controller=require('./whatsappAccount.controller');router[_0x1f1c('0x6')]('/',auth[_0x1f1c('0x7')](),controller[_0x1f1c('0x8')]);router[_0x1f1c('0x6')](_0x1f1c('0x9'),auth[_0x1f1c('0x7')](),controller[_0x1f1c('0xa')]);router[_0x1f1c('0x6')]('/:id',auth[_0x1f1c('0x7')](),controller[_0x1f1c('0xb')]);router[_0x1f1c('0x6')](_0x1f1c('0xc'),auth[_0x1f1c('0x7')](),controller[_0x1f1c('0xd')]);router['get'](_0x1f1c('0xe'),auth['isAuthenticated'](),controller[_0x1f1c('0xf')]);router[_0x1f1c('0x6')](_0x1f1c('0x10'),auth['isAuthenticated'](),controller['getAgents']);router['get'](_0x1f1c('0x11'),auth['isAuthenticated'](),controller[_0x1f1c('0x12')]);router[_0x1f1c('0x13')]('/',auth['isAuthenticated'](),controller['create']);router[_0x1f1c('0x13')](_0x1f1c('0xc'),auth[_0x1f1c('0x7')](),controller[_0x1f1c('0x14')]);router['post'](_0x1f1c('0xe'),auth['isAuthenticated'](),controller['addAnswer']);router[_0x1f1c('0x13')](_0x1f1c('0x10'),auth[_0x1f1c('0x7')](),controller[_0x1f1c('0x15')]);router[_0x1f1c('0x13')](_0x1f1c('0x11'),auth[_0x1f1c('0x7')](),controller[_0x1f1c('0x16')]);router['post'](_0x1f1c('0x17'),controller[_0x1f1c('0x18')]);router[_0x1f1c('0x13')](_0x1f1c('0x19'),auth[_0x1f1c('0x7')](),controller[_0x1f1c('0x1a')]);router[_0x1f1c('0x1b')](_0x1f1c('0x1c'),auth[_0x1f1c('0x7')](),controller[_0x1f1c('0x1d')]);router[_0x1f1c('0x1e')](_0x1f1c('0x1c'),auth['isAuthenticated'](),controller[_0x1f1c('0x1f')]);router[_0x1f1c('0x1e')]('/:id/dispositions',auth[_0x1f1c('0x7')](),controller[_0x1f1c('0x20')]);router[_0x1f1c('0x1e')](_0x1f1c('0xe'),auth['isAuthenticated'](),controller['removeAnswers']);router[_0x1f1c('0x1e')](_0x1f1c('0x10'),auth[_0x1f1c('0x7')](),controller[_0x1f1c('0x21')]);module[_0x1f1c('0x22')]=router; \ No newline at end of file +var _0x1e7c=['./whatsappAccount.controller','get','isAuthenticated','index','/describe','show','/:id/dispositions','getDispositions','/:id/users','getAgents','/:id/applications','getApplications','post','create','addDisposition','addAnswer','addAgents','/:id/notify','notify','/:id/send','send','put','/:id','update','destroy','removeDispositions','delete','/:id/canned_answers','removeAnswers','exports','util','connect-timeout','express','Router','../../components/interaction/service','../../config/environment'];(function(_0xf7bf02,_0x13da13){var _0x4f263f=function(_0x3b5603){while(--_0x3b5603){_0xf7bf02['push'](_0xf7bf02['shift']());}};_0x4f263f(++_0x13da13);}(_0x1e7c,0x186));var _0xc1e7=function(_0x8d8f81,_0x53ae69){_0x8d8f81=_0x8d8f81-0x0;var _0xa73d5a=_0x1e7c[_0x8d8f81];return _0xa73d5a;};'use strict';var multer=require('multer');var util=require(_0xc1e7('0x0'));var path=require('path');var timeout=require(_0xc1e7('0x1'));var express=require(_0xc1e7('0x2'));var router=express[_0xc1e7('0x3')]();var auth=require('../../components/auth/service');var interaction=require(_0xc1e7('0x4'));var config=require(_0xc1e7('0x5'));var controller=require(_0xc1e7('0x6'));router[_0xc1e7('0x7')]('/',auth[_0xc1e7('0x8')](),controller[_0xc1e7('0x9')]);router['get'](_0xc1e7('0xa'),auth[_0xc1e7('0x8')](),controller['describe']);router[_0xc1e7('0x7')]('/:id',auth[_0xc1e7('0x8')](),controller[_0xc1e7('0xb')]);router[_0xc1e7('0x7')](_0xc1e7('0xc'),auth['isAuthenticated'](),controller[_0xc1e7('0xd')]);router['get']('/:id/canned_answers',auth['isAuthenticated'](),controller['getAnswers']);router[_0xc1e7('0x7')](_0xc1e7('0xe'),auth[_0xc1e7('0x8')](),controller[_0xc1e7('0xf')]);router[_0xc1e7('0x7')](_0xc1e7('0x10'),auth['isAuthenticated'](),controller[_0xc1e7('0x11')]);router[_0xc1e7('0x12')]('/',auth[_0xc1e7('0x8')](),controller[_0xc1e7('0x13')]);router[_0xc1e7('0x12')](_0xc1e7('0xc'),auth[_0xc1e7('0x8')](),controller[_0xc1e7('0x14')]);router[_0xc1e7('0x12')]('/:id/canned_answers',auth['isAuthenticated'](),controller[_0xc1e7('0x15')]);router[_0xc1e7('0x12')](_0xc1e7('0xe'),auth[_0xc1e7('0x8')](),controller[_0xc1e7('0x16')]);router[_0xc1e7('0x12')]('/:id/applications',auth['isAuthenticated'](),controller['addApplications']);router[_0xc1e7('0x12')](_0xc1e7('0x17'),controller[_0xc1e7('0x18')]);router[_0xc1e7('0x12')](_0xc1e7('0x19'),auth[_0xc1e7('0x8')](),controller[_0xc1e7('0x1a')]);router[_0xc1e7('0x1b')](_0xc1e7('0x1c'),auth[_0xc1e7('0x8')](),controller[_0xc1e7('0x1d')]);router['delete'](_0xc1e7('0x1c'),auth['isAuthenticated'](),controller[_0xc1e7('0x1e')]);router['delete']('/:id/dispositions',auth[_0xc1e7('0x8')](),controller[_0xc1e7('0x1f')]);router[_0xc1e7('0x20')](_0xc1e7('0x21'),auth['isAuthenticated'](),controller[_0xc1e7('0x22')]);router[_0xc1e7('0x20')]('/:id/users',auth['isAuthenticated'](),controller['removeAgents']);module[_0xc1e7('0x23')]=router; \ No newline at end of file diff --git a/server/api/whatsappAccount/whatsappAccount.attributes.js b/server/api/whatsappAccount/whatsappAccount.attributes.js index 91f7c32..c4ae305 100644 --- a/server/api/whatsappAccount/whatsappAccount.attributes.js +++ b/server/api/whatsappAccount/whatsappAccount.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x2bfb=['Status\x20to\x20put\x20when\x20mandatory\x20disposition\x20is\x20enabled','Enabled/disables\x20mandatory\x20dispo\x20on\x20a\x20queue','setDataValue','mandatoryDispositionPauseId','sequelize','randomstring','name','STRING','generate','ENUM','TEXT','Account:\x20{{account.name}}
{{#queue}}Queue:\x20{{queue.name}}
{{/queue}}From\x20:\x20{{from}}','BOOLEAN','INTEGER'];(function(_0x3bf2c9,_0xf000bd){var _0x5e6da3=function(_0x135adc){while(--_0x135adc){_0x3bf2c9['push'](_0x3bf2c9['shift']());}};_0x5e6da3(++_0xf000bd);}(_0x2bfb,0x19a));var _0xb2bf=function(_0x3472a9,_0x55e1fd){_0x3472a9=_0x3472a9-0x0;var _0x2fba2f=_0x2bfb[_0x3472a9];return _0x2fba2f;};'use strict';var Sequelize=require(_0xb2bf('0x0'));var rs=require(_0xb2bf('0x1'));module['exports']={'name':{'type':Sequelize['STRING'],'unique':_0xb2bf('0x2'),'allowNull':![]},'key':{'type':Sequelize[_0xb2bf('0x3')],'allowNull':![]},'remote':{'type':Sequelize[_0xb2bf('0x3')],'allowNull':![]},'token':{'type':Sequelize['STRING'],'defaultValue':function(){return rs[_0xb2bf('0x4')]();}},'phone':{'type':Sequelize[_0xb2bf('0x3')]},'type':{'type':Sequelize[_0xb2bf('0x5')]('twilio')},'accountSid':{'type':Sequelize[_0xb2bf('0x3')]},'authToken':{'type':Sequelize[_0xb2bf('0x3')]},'notificationTemplate':{'type':Sequelize[_0xb2bf('0x6')],'defaultValue':function(){return _0xb2bf('0x7');}},'notificationSound':{'type':Sequelize[_0xb2bf('0x8')],'defaultValue':![]},'notificationShake':{'type':Sequelize[_0xb2bf('0x8')],'defaultValue':![]},'waitForTheAssignedAgent':{'type':Sequelize[_0xb2bf('0x9')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'queueTransfer':{'type':Sequelize[_0xb2bf('0x8')],'defaultValue':![]},'queueTransferTimeout':{'type':Sequelize[_0xb2bf('0x9')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'agentTransfer':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'agentTransferTimeout':{'type':Sequelize[_0xb2bf('0x9')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'mandatoryDispositionPauseId':{'type':Sequelize[_0xb2bf('0x9')],'comment':_0xb2bf('0xa')},'mandatoryDisposition':{'type':Sequelize[_0xb2bf('0x8')],'defaultValue':![],'comment':_0xb2bf('0xb'),'set':function(_0x3b8895){if(!_0x3b8895){this[_0xb2bf('0xc')](_0xb2bf('0xd'),null);}this['setDataValue']('mandatoryDisposition',_0x3b8895);}},'description':{'type':Sequelize[_0xb2bf('0x3')]}}; \ No newline at end of file +var _0x1c08=['INTEGER','Enabled/disables\x20mandatory\x20dispo\x20on\x20a\x20queue','setDataValue','mandatoryDispositionPauseId','mandatoryDisposition','sequelize','randomstring','exports','STRING','name','generate','ENUM','twilio','Account:\x20{{account.name}}
{{#queue}}Queue:\x20{{queue.name}}
{{/queue}}From\x20:\x20{{from}}','BOOLEAN'];(function(_0x118aaf,_0xd9bd49){var _0xa297f8=function(_0x3e328d){while(--_0x3e328d){_0x118aaf['push'](_0x118aaf['shift']());}};_0xa297f8(++_0xd9bd49);}(_0x1c08,0x19a));var _0x81c0=function(_0x41a457,_0x4a8e30){_0x41a457=_0x41a457-0x0;var _0x84b15f=_0x1c08[_0x41a457];return _0x84b15f;};'use strict';var Sequelize=require(_0x81c0('0x0'));var rs=require(_0x81c0('0x1'));module[_0x81c0('0x2')]={'name':{'type':Sequelize[_0x81c0('0x3')],'unique':_0x81c0('0x4'),'allowNull':![]},'key':{'type':Sequelize[_0x81c0('0x3')],'allowNull':![]},'remote':{'type':Sequelize[_0x81c0('0x3')],'allowNull':![]},'token':{'type':Sequelize[_0x81c0('0x3')],'defaultValue':function(){return rs[_0x81c0('0x5')]();}},'phone':{'type':Sequelize['STRING']},'type':{'type':Sequelize[_0x81c0('0x6')](_0x81c0('0x7'))},'accountSid':{'type':Sequelize[_0x81c0('0x3')]},'authToken':{'type':Sequelize[_0x81c0('0x3')]},'notificationTemplate':{'type':Sequelize['TEXT'],'defaultValue':function(){return _0x81c0('0x8');}},'notificationSound':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'notificationShake':{'type':Sequelize[_0x81c0('0x9')],'defaultValue':![]},'waitForTheAssignedAgent':{'type':Sequelize[_0x81c0('0xa')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'queueTransfer':{'type':Sequelize[_0x81c0('0x9')],'defaultValue':![]},'queueTransferTimeout':{'type':Sequelize[_0x81c0('0xa')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'agentTransfer':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'agentTransferTimeout':{'type':Sequelize[_0x81c0('0xa')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'mandatoryDispositionPauseId':{'type':Sequelize[_0x81c0('0xa')],'comment':'Status\x20to\x20put\x20when\x20mandatory\x20disposition\x20is\x20enabled'},'mandatoryDisposition':{'type':Sequelize[_0x81c0('0x9')],'defaultValue':![],'comment':_0x81c0('0xb'),'set':function(_0x3d5eff){if(!_0x3d5eff){this[_0x81c0('0xc')](_0x81c0('0xd'),null);}this['setDataValue'](_0x81c0('0xe'),_0x3d5eff);}},'description':{'type':Sequelize[_0x81c0('0x3')]}}; \ No newline at end of file diff --git a/server/api/whatsappAccount/whatsappAccount.controller.js b/server/api/whatsappAccount/whatsappAccount.controller.js index 2fe2dd6..283b423 100644 --- a/server/api/whatsappAccount/whatsappAccount.controller.js +++ b/server/api/whatsappAccount/whatsappAccount.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xae60=['notify','whatsapp','account','applications','orderBy','Applications','priority','asc','no\x20available\x20attributes','createdAt','updatedAt','CompanyId','ListId','from','From','replace','whatsapp:','Body','MessageSid','from\x20is\x20mandatory','isNil','mapKey','mapKey\x20is\x20mandatory,\x20please\x20use\x20one\x20of\x20these:\x20','includes','mapKey\x20invalid,\x20please\x20use\x20one\x20of\x20these:\x20','CmList','Contacts','DESC','list','CmContact','contact','WhatsappInteraction','spread','interaction','created','autoclose','push','close','unmanaged','WhatsappMessage','messageId','ContactId','AttachmentId','UserId','unshift','waitForTheAssignedAgent','*,*,*,*','Start','startRouting','receiveMessage','WhatsappAccount,\x20%s,\x20%s,\x20%s,\x20%s','twilio','Content-Type','text/xml','\x0a','body\x20is\x20mandatory\x20and\x20not\x20empty','to\x20is\x20mandatory','List','out','Messages','dataValues','html-pdf','eml-format','rimraf','fast-json-patch','request-promise','moment','mustache','util','sox','to-csv','ejs','lodash','squel','crypto','jsforce','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','redis','defaults','localhost','socket.io-emitter','./whatsappAccount.socket','jayson/promise','client','http','test','Sequelize','ValidationError','The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.','request','then','info','request\x20sent','debug','WhatsappAccount,\x20%s,\x20%s,\x20%s','stringify','error','code','WhatsappAccount,\x20%s,\x20%s','message','result','sendStatus','end','status','json','count','offset','set','Content-Range','apply','reject','save','update','destroy','get','UserProfileResource','stack','name','index','Pause','mandatoryDispositionPause','map','WhatsappAccount','rawAttributes','fieldName','type','key','model','query','keys','filters','intersection','attributes','fields','length','hasOwnProperty','nolimit','limit','order','sort','where','merge','VIRTUAL','filter','include','findAll','catch','show','params','includeAll','options','find','create','body','Unable\x20to\x20retrieve\x20the\x20current\x20user','role','user','WhatsappAccounts','UserProfileSection','describe','WhatsappAccountId','Disposition','getDispositions','findOne','pick','removeDispositions','addAnswer','getAnswers','CannedAnswer','rows','removeAnswers','ids','addAgents','omit','emit','userWhatsappAccount:save','removeAgents','isArray','userWhatsappAccount:remove','getAgents','User','sequelize','transaction','WhatsappApplication','findAndCountAll','getApplications'];(function(_0x205696,_0x14e985){var _0x323037=function(_0x35d18a){while(--_0x35d18a){_0x205696['push'](_0x205696['shift']());}};_0x323037(++_0x14e985);}(_0xae60,0x1c7));var _0x0ae6=function(_0x46d0c9,_0x526bfa){_0x46d0c9=_0x46d0c9-0x0;var _0x174506=_0xae60[_0x46d0c9];return _0x174506;};'use strict';var pdf=require(_0x0ae6('0x0'));var emlformat=require(_0x0ae6('0x1'));var rimraf=require(_0x0ae6('0x2'));var zipdir=require('zip-dir');var jsonpatch=require(_0x0ae6('0x3'));var rp=require(_0x0ae6('0x4'));var moment=require(_0x0ae6('0x5'));var BPromise=require('bluebird');var Mustache=require(_0x0ae6('0x6'));var util=require(_0x0ae6('0x7'));var path=require('path');var sox=require(_0x0ae6('0x8'));var csv=require(_0x0ae6('0x9'));var ejs=require(_0x0ae6('0xa'));var fs=require('fs');var _=require(_0x0ae6('0xb'));var squel=require(_0x0ae6('0xc'));var crypto=require(_0x0ae6('0xd'));var jsforce=require(_0x0ae6('0xe'));var deskjs=require(_0x0ae6('0xf'));var toCsv=require('to-csv');var querystring=require(_0x0ae6('0x10'));var Papa=require(_0x0ae6('0x11'));var Redis=require(_0x0ae6('0x12'));var authService=require(_0x0ae6('0x13'));var qs=require('../../components/parsers/qs');var as=require(_0x0ae6('0x14'));var hardwareService=require(_0x0ae6('0x15'));var logger=require(_0x0ae6('0x16'))(_0x0ae6('0x17'));var utils=require(_0x0ae6('0x18'));var config=require(_0x0ae6('0x19'));var db=require(_0x0ae6('0x1a'))['db'];config[_0x0ae6('0x1b')]=_[_0x0ae6('0x1c')](config[_0x0ae6('0x1b')],{'host':_0x0ae6('0x1d'),'port':0x18eb});var socket=require(_0x0ae6('0x1e'))(new Redis(config[_0x0ae6('0x1b')]));require(_0x0ae6('0x1f'))['register'](socket);var jayson=require(_0x0ae6('0x20'));var client=jayson[_0x0ae6('0x21')][_0x0ae6('0x22')]({'port':0x232c});function checkPasswordPattern(_0x20e866,_0xce3e23,_0x3a1e26){if(_0x3a1e26){var _0x151144=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0x151144[_0x0ae6('0x23')](_0xce3e23)){return _0x20e866;}else{throw new db[(_0x0ae6('0x24'))][(_0x0ae6('0x25'))](_0x0ae6('0x26'));}}else{return _0x20e866;}}function respondWithRpcPromise(_0x22e8a5,_0xa97151,_0xd0362c,_0xda4f01){return new BPromise(function(_0x3f5c41,_0x2fdf25){var _0x1735ba=_0xda4f01||client;return _0x1735ba[_0x0ae6('0x27')](_0x22e8a5,_0xd0362c)[_0x0ae6('0x28')](function(_0x26b369){logger[_0x0ae6('0x29')]('WhatsappAccount,\x20%s,\x20%s',_0xa97151,_0x0ae6('0x2a'));logger[_0x0ae6('0x2b')](_0x0ae6('0x2c'),_0xa97151,_0x0ae6('0x2a'),JSON[_0x0ae6('0x2d')](_0x26b369));if(_0x26b369[_0x0ae6('0x2e')]){if(_0x26b369[_0x0ae6('0x2e')][_0x0ae6('0x2f')]===0x1f4){logger['error'](_0x0ae6('0x30'),_0xa97151,_0x26b369[_0x0ae6('0x2e')][_0x0ae6('0x31')]);return _0x2fdf25(_0x26b369[_0x0ae6('0x2e')][_0x0ae6('0x31')]);}logger['error'](_0x0ae6('0x30'),_0xa97151,_0x26b369[_0x0ae6('0x2e')][_0x0ae6('0x31')]);return _0x3f5c41(_0x26b369[_0x0ae6('0x2e')][_0x0ae6('0x31')]);}else{logger[_0x0ae6('0x29')]('WhatsappAccount,\x20%s,\x20%s',_0xa97151,_0x0ae6('0x2a'));_0x3f5c41(_0x26b369[_0x0ae6('0x32')]['message']);}})['catch'](function(_0x44eb95){logger[_0x0ae6('0x2e')](_0x0ae6('0x30'),_0xa97151,_0x44eb95);_0x2fdf25(_0x44eb95);});});}function respondWithStatusCode(_0x4fe77b,_0x3b5f8f){_0x3b5f8f=_0x3b5f8f||0xcc;return function(_0xb68cbe){if(_0xb68cbe){return _0x4fe77b[_0x0ae6('0x33')](_0x3b5f8f);}return _0x4fe77b['status'](_0x3b5f8f)[_0x0ae6('0x34')]();};}function respondWithResult(_0x29fef3,_0x449c33){_0x449c33=_0x449c33||0xc8;return function(_0x232fbd){if(_0x232fbd){return _0x29fef3[_0x0ae6('0x35')](_0x449c33)[_0x0ae6('0x36')](_0x232fbd);}};}function respondWithFilteredResult(_0x4fc7bd,_0x5b2ad6){return function(_0x2d9f4e){if(_0x2d9f4e){var _0x419384=_0x2d9f4e[_0x0ae6('0x37')],_0x4e6df8=_0x5b2ad6[_0x0ae6('0x38')],_0x4a06f1=_0x5b2ad6[_0x0ae6('0x38')]+_0x5b2ad6['limit'],_0x1ca059;if(_0x4a06f1>=_0x419384){_0x4a06f1=_0x419384;_0x1ca059=0xc8;}else{_0x1ca059=0xce;}_0x4fc7bd[_0x0ae6('0x35')](_0x1ca059);return _0x4fc7bd[_0x0ae6('0x39')](_0x0ae6('0x3a'),_0x4e6df8+'-'+_0x4a06f1+'/'+_0x419384)['json'](_0x2d9f4e);}return null;};}function patchUpdates(_0x2f25cd){return function(_0x42d13f){try{jsonpatch[_0x0ae6('0x3b')](_0x42d13f,_0x2f25cd,!![]);}catch(_0xe2fbf5){return BPromise[_0x0ae6('0x3c')](_0xe2fbf5);}return _0x42d13f[_0x0ae6('0x3d')]();};}function saveUpdates(_0x2bcb86,_0x132100){return function(_0x106bc3){if(_0x106bc3){return _0x106bc3[_0x0ae6('0x3e')](_0x2bcb86)['then'](function(_0x2410bd){return _0x2410bd;});}return null;};}function removeEntity(_0x26d4ab,_0x4a2cd1){return function(_0x3264d5){if(_0x3264d5){return _0x3264d5[_0x0ae6('0x3f')]()[_0x0ae6('0x28')](function(){var _0x5b9662=_0x3264d5[_0x0ae6('0x40')]({'plain':!![]});var _0x5f1441='WhatsappAccounts';return db[_0x0ae6('0x41')][_0x0ae6('0x3f')]({'where':{'type':_0x5f1441,'resourceId':_0x5b9662['id']}})[_0x0ae6('0x28')](function(){return _0x3264d5;});})[_0x0ae6('0x28')](function(){_0x26d4ab[_0x0ae6('0x35')](0xcc)['end']();});}};}function handleEntityNotFound(_0x584dc8,_0x38000e){return function(_0x5231a3){if(!_0x5231a3){_0x584dc8[_0x0ae6('0x33')](0x194);}return _0x5231a3;};}function handleError(_0x4a8a5c,_0xf669e1){_0xf669e1=_0xf669e1||0x1f4;return function(_0x5232be){logger[_0x0ae6('0x2e')](_0x5232be[_0x0ae6('0x42')]);if(_0x5232be[_0x0ae6('0x43')]){delete _0x5232be[_0x0ae6('0x43')];}_0x4a8a5c['status'](_0xf669e1)['send'](_0x5232be);};}exports[_0x0ae6('0x44')]=function(_0x34b547,_0x1a9c7b){var _0x59480a={'include':[{'model':db[_0x0ae6('0x45')],'as':_0x0ae6('0x46')}]},_0xaeb354={},_0x5cbb6e={'count':0x0,'rows':[]};var _0x460e3f=_[_0x0ae6('0x47')](db[_0x0ae6('0x48')][_0x0ae6('0x49')],function(_0x5ad35f){return{'name':_0x5ad35f[_0x0ae6('0x4a')],'type':_0x5ad35f[_0x0ae6('0x4b')][_0x0ae6('0x4c')]};});_0xaeb354[_0x0ae6('0x4d')]=_[_0x0ae6('0x47')](_0x460e3f,_0x0ae6('0x43'));_0xaeb354[_0x0ae6('0x4e')]=_[_0x0ae6('0x4f')](_0x34b547['query']);_0xaeb354[_0x0ae6('0x50')]=_[_0x0ae6('0x51')](_0xaeb354[_0x0ae6('0x4d')],_0xaeb354[_0x0ae6('0x4e')]);_0x59480a[_0x0ae6('0x52')]=_[_0x0ae6('0x51')](_0xaeb354[_0x0ae6('0x4d')],qs[_0x0ae6('0x53')](_0x34b547[_0x0ae6('0x4e')][_0x0ae6('0x53')]));_0x59480a[_0x0ae6('0x52')]=_0x59480a[_0x0ae6('0x52')][_0x0ae6('0x54')]?_0x59480a[_0x0ae6('0x52')]:_0xaeb354[_0x0ae6('0x4d')];if(!_0x34b547[_0x0ae6('0x4e')][_0x0ae6('0x55')](_0x0ae6('0x56'))){_0x59480a['limit']=qs[_0x0ae6('0x57')](_0x34b547[_0x0ae6('0x4e')][_0x0ae6('0x57')]);_0x59480a[_0x0ae6('0x38')]=qs[_0x0ae6('0x38')](_0x34b547[_0x0ae6('0x4e')]['offset']);}_0x59480a[_0x0ae6('0x58')]=qs[_0x0ae6('0x59')](_0x34b547[_0x0ae6('0x4e')][_0x0ae6('0x59')]);_0x59480a['where']=qs['filters'](_['pick'](_0x34b547[_0x0ae6('0x4e')],_0xaeb354[_0x0ae6('0x50')]),_0x460e3f);if(_0x34b547[_0x0ae6('0x4e')]['filter']){_0x59480a[_0x0ae6('0x5a')]=_[_0x0ae6('0x5b')](_0x59480a['where'],{'$or':_[_0x0ae6('0x47')](_0x460e3f,function(_0x3bcfc7){if(_0x3bcfc7['type']!==_0x0ae6('0x5c')){var _0x3d1e75={};_0x3d1e75[_0x3bcfc7['name']]={'$like':'%'+_0x34b547[_0x0ae6('0x4e')][_0x0ae6('0x5d')]+'%'};return _0x3d1e75;}})});}_0x59480a=_[_0x0ae6('0x5b')]({},_0x59480a,_0x34b547['options']);var _0x2f586b={'where':_0x59480a[_0x0ae6('0x5a')]};return db[_0x0ae6('0x48')][_0x0ae6('0x37')](_0x2f586b)[_0x0ae6('0x28')](function(_0x7feb56){_0x5cbb6e[_0x0ae6('0x37')]=_0x7feb56;if(_0x34b547['query']['includeAll']){_0x59480a[_0x0ae6('0x5e')]=[{'all':!![]}];}return db[_0x0ae6('0x48')][_0x0ae6('0x5f')](_0x59480a);})['then'](function(_0x3b1ce5){_0x5cbb6e['rows']=_0x3b1ce5;return _0x5cbb6e;})['then'](respondWithFilteredResult(_0x1a9c7b,_0x59480a))[_0x0ae6('0x60')](handleError(_0x1a9c7b,null));};exports[_0x0ae6('0x61')]=function(_0x13d36a,_0x505f0d){var _0x3ed447={'raw':![],'where':{'id':_0x13d36a[_0x0ae6('0x62')]['id']},'include':[{'model':db[_0x0ae6('0x45')],'as':_0x0ae6('0x46')}]},_0x21e5be={};_0x21e5be[_0x0ae6('0x4d')]=_[_0x0ae6('0x4f')](db[_0x0ae6('0x48')][_0x0ae6('0x49')]);_0x21e5be[_0x0ae6('0x4e')]=_[_0x0ae6('0x4f')](_0x13d36a[_0x0ae6('0x4e')]);_0x21e5be[_0x0ae6('0x50')]=_[_0x0ae6('0x51')](_0x21e5be[_0x0ae6('0x4d')],_0x21e5be['query']);_0x3ed447['attributes']=_[_0x0ae6('0x51')](_0x21e5be[_0x0ae6('0x4d')],qs[_0x0ae6('0x53')](_0x13d36a[_0x0ae6('0x4e')][_0x0ae6('0x53')]));_0x3ed447[_0x0ae6('0x52')]=_0x3ed447[_0x0ae6('0x52')][_0x0ae6('0x54')]?_0x3ed447[_0x0ae6('0x52')]:_0x21e5be[_0x0ae6('0x4d')];if(_0x13d36a[_0x0ae6('0x4e')][_0x0ae6('0x63')]){_0x3ed447[_0x0ae6('0x5e')]=[{'all':!![]}];}_0x3ed447=_[_0x0ae6('0x5b')]({},_0x3ed447,_0x13d36a[_0x0ae6('0x64')]);return db[_0x0ae6('0x48')][_0x0ae6('0x65')](_0x3ed447)[_0x0ae6('0x28')](handleEntityNotFound(_0x505f0d,null))['then'](respondWithResult(_0x505f0d,null))[_0x0ae6('0x60')](handleError(_0x505f0d,null));};exports[_0x0ae6('0x66')]=function(_0x15191e,_0x578125){return db[_0x0ae6('0x48')][_0x0ae6('0x66')](_0x15191e[_0x0ae6('0x67')],{})[_0x0ae6('0x28')](function(_0x39a846){var _0x3625df=_0x15191e['user'][_0x0ae6('0x40')]({'plain':!![]});if(!_0x3625df)throw new Error(_0x0ae6('0x68'));if(_0x3625df[_0x0ae6('0x69')]===_0x0ae6('0x6a')){var _0x218361=_0x39a846[_0x0ae6('0x40')]({'plain':!![]});var _0x404fd1=_0x0ae6('0x6b');return db[_0x0ae6('0x6c')]['find']({'where':{'name':_0x404fd1,'userProfileId':_0x3625df['userProfileId']},'raw':!![]})[_0x0ae6('0x28')](function(_0x33e87d){if(_0x33e87d&&_0x33e87d['autoAssociation']===0x0){return db['UserProfileResource'][_0x0ae6('0x66')]({'name':_0x218361[_0x0ae6('0x43')],'resourceId':_0x218361['id'],'type':_0x33e87d[_0x0ae6('0x43')],'sectionId':_0x33e87d['id']},{})[_0x0ae6('0x28')](function(){return _0x39a846;});}else{return _0x39a846;}})[_0x0ae6('0x60')](function(_0x198c87){logger[_0x0ae6('0x2e')]('Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s',_0x198c87);throw _0x198c87;});}return _0x39a846;})[_0x0ae6('0x28')](respondWithResult(_0x578125,0xc9))['catch'](handleError(_0x578125,null));};exports[_0x0ae6('0x3e')]=function(_0x617a03,_0x5c0217){if(_0x617a03[_0x0ae6('0x67')]['id']){delete _0x617a03[_0x0ae6('0x67')]['id'];}return db[_0x0ae6('0x48')]['find']({'where':{'id':_0x617a03[_0x0ae6('0x62')]['id']},'include':[{'model':db['Pause'],'as':_0x0ae6('0x46')}]})[_0x0ae6('0x28')](handleEntityNotFound(_0x5c0217,null))[_0x0ae6('0x28')](saveUpdates(_0x617a03[_0x0ae6('0x67')],null))['then'](respondWithResult(_0x5c0217,null))['catch'](handleError(_0x5c0217,null));};exports[_0x0ae6('0x3f')]=function(_0x2f4290,_0x3adf94){return db[_0x0ae6('0x48')][_0x0ae6('0x65')]({'where':{'id':_0x2f4290[_0x0ae6('0x62')]['id']}})['then'](handleEntityNotFound(_0x3adf94,null))['then'](removeEntity(_0x3adf94,null))[_0x0ae6('0x60')](handleError(_0x3adf94,null));};exports[_0x0ae6('0x6d')]=function(_0x39846c,_0x214e44){return db[_0x0ae6('0x48')][_0x0ae6('0x6d')]()[_0x0ae6('0x28')](respondWithResult(_0x214e44,null))[_0x0ae6('0x60')](handleError(_0x214e44,null));};exports['addDisposition']=function(_0x40eba7,_0x45adc9,_0x1c98bb){if(_0x40eba7[_0x0ae6('0x67')]['id']){delete _0x40eba7[_0x0ae6('0x67')]['id'];}return db[_0x0ae6('0x48')]['find']({'where':{'id':_0x40eba7['params']['id']}})[_0x0ae6('0x28')](handleEntityNotFound(_0x45adc9,null))[_0x0ae6('0x28')](function(_0x4f6a84){if(_0x4f6a84){_0x40eba7[_0x0ae6('0x67')][_0x0ae6('0x6e')]=_0x4f6a84['id'];return db[_0x0ae6('0x6f')][_0x0ae6('0x66')](_0x40eba7['body']);}})[_0x0ae6('0x28')](respondWithResult(_0x45adc9,null))[_0x0ae6('0x60')](handleError(_0x45adc9,null));};exports[_0x0ae6('0x70')]=function(_0x253c17,_0x42c818,_0x3367f0){var _0x26b9a9={'raw':![],'where':{}};var _0xa7e238={};var _0x48b8a6={'count':0x0,'rows':[]};return db[_0x0ae6('0x48')][_0x0ae6('0x71')]({'where':{'id':_0x253c17[_0x0ae6('0x62')]['id']}})[_0x0ae6('0x28')](handleEntityNotFound(_0x42c818,null))[_0x0ae6('0x28')](function(_0x1a59f4){if(_0x1a59f4){_0xa7e238[_0x0ae6('0x4d')]=_[_0x0ae6('0x4f')](db[_0x0ae6('0x6f')][_0x0ae6('0x49')]);_0xa7e238[_0x0ae6('0x4e')]=_[_0x0ae6('0x4f')](_0x253c17[_0x0ae6('0x4e')]);_0xa7e238[_0x0ae6('0x50')]=_[_0x0ae6('0x51')](_0xa7e238[_0x0ae6('0x4d')],_0xa7e238[_0x0ae6('0x4e')]);_0x26b9a9[_0x0ae6('0x52')]=_[_0x0ae6('0x51')](_0xa7e238[_0x0ae6('0x4d')],qs[_0x0ae6('0x53')](_0x253c17['query'][_0x0ae6('0x53')]));_0x26b9a9[_0x0ae6('0x52')]=_0x26b9a9[_0x0ae6('0x52')][_0x0ae6('0x54')]?_0x26b9a9['attributes']:_0xa7e238[_0x0ae6('0x4d')];if(!_0x253c17[_0x0ae6('0x4e')][_0x0ae6('0x55')](_0x0ae6('0x56'))){_0x26b9a9[_0x0ae6('0x57')]=qs[_0x0ae6('0x57')](_0x253c17['query'][_0x0ae6('0x57')]);_0x26b9a9['offset']=qs[_0x0ae6('0x38')](_0x253c17[_0x0ae6('0x4e')][_0x0ae6('0x38')]);}_0x26b9a9[_0x0ae6('0x58')]=qs[_0x0ae6('0x59')](_0x253c17[_0x0ae6('0x4e')][_0x0ae6('0x59')]);_0x26b9a9['where']=qs['filters'](_[_0x0ae6('0x72')](_0x253c17[_0x0ae6('0x4e')],_0xa7e238[_0x0ae6('0x50')]));_0x26b9a9[_0x0ae6('0x5a')]['WhatsappAccountId']=_0x1a59f4['id'];if(_0x253c17[_0x0ae6('0x4e')][_0x0ae6('0x5d')]){_0x26b9a9['where']=_[_0x0ae6('0x5b')](_0x26b9a9[_0x0ae6('0x5a')],{'$or':_[_0x0ae6('0x47')](_0x26b9a9[_0x0ae6('0x52')],function(_0x154d75){var _0x7066f9={};_0x7066f9[_0x154d75]={'$like':'%'+_0x253c17['query']['filter']+'%'};return _0x7066f9;})});}_0x26b9a9=_['merge']({},_0x26b9a9,_0x253c17[_0x0ae6('0x64')]);return db['Disposition']['count']({'where':_0x26b9a9['where']})['then'](function(_0xc69e9d){_0x48b8a6['count']=_0xc69e9d;if(_0x253c17[_0x0ae6('0x4e')]['includeAll']){_0x26b9a9[_0x0ae6('0x5e')]=[{'all':!![]}];}return db[_0x0ae6('0x6f')][_0x0ae6('0x5f')](_0x26b9a9);})[_0x0ae6('0x28')](function(_0x169ee1){_0x48b8a6['rows']=_0x169ee1;return _0x48b8a6;});}})[_0x0ae6('0x28')](respondWithFilteredResult(_0x42c818,_0x26b9a9))[_0x0ae6('0x60')](handleError(_0x42c818,null));};exports[_0x0ae6('0x73')]=function(_0x1f63c2,_0x30f299,_0x3a7388){return db[_0x0ae6('0x48')]['find']({'where':{'id':_0x1f63c2[_0x0ae6('0x62')]['id']}})[_0x0ae6('0x28')](handleEntityNotFound(_0x30f299,null))[_0x0ae6('0x28')](function(_0x417166){if(_0x417166){return _0x417166[_0x0ae6('0x73')](_0x1f63c2[_0x0ae6('0x4e')]['ids']);}})['then'](respondWithStatusCode(_0x30f299,null))['catch'](handleError(_0x30f299,null));};exports[_0x0ae6('0x74')]=function(_0xc43637,_0x4f8409,_0x3eac6e){if(_0xc43637[_0x0ae6('0x67')]['id']){delete _0xc43637[_0x0ae6('0x67')]['id'];}return db['WhatsappAccount']['find']({'where':{'id':_0xc43637[_0x0ae6('0x62')]['id']}})[_0x0ae6('0x28')](handleEntityNotFound(_0x4f8409,null))['then'](function(_0x5ccd4b){if(_0x5ccd4b){_0xc43637[_0x0ae6('0x67')]['WhatsappAccountId']=_0x5ccd4b['id'];return db['CannedAnswer'][_0x0ae6('0x66')](_0xc43637['body']);}})['then'](respondWithResult(_0x4f8409,null))[_0x0ae6('0x60')](handleError(_0x4f8409,null));};exports[_0x0ae6('0x75')]=function(_0x4c4b99,_0x1b422e,_0x1c5098){var _0x49f1d1={'raw':![],'where':{}};var _0x379f21={};var _0x2609cc={'count':0x0,'rows':[]};return db['WhatsappAccount'][_0x0ae6('0x71')]({'where':{'id':_0x4c4b99['params']['id']}})[_0x0ae6('0x28')](handleEntityNotFound(_0x1b422e,null))['then'](function(_0x2e9878){if(_0x2e9878){_0x379f21[_0x0ae6('0x4d')]=_['keys'](db[_0x0ae6('0x76')][_0x0ae6('0x49')]);_0x379f21['query']=_[_0x0ae6('0x4f')](_0x4c4b99[_0x0ae6('0x4e')]);_0x379f21[_0x0ae6('0x50')]=_[_0x0ae6('0x51')](_0x379f21[_0x0ae6('0x4d')],_0x379f21[_0x0ae6('0x4e')]);_0x49f1d1[_0x0ae6('0x52')]=_[_0x0ae6('0x51')](_0x379f21[_0x0ae6('0x4d')],qs[_0x0ae6('0x53')](_0x4c4b99[_0x0ae6('0x4e')][_0x0ae6('0x53')]));_0x49f1d1['attributes']=_0x49f1d1['attributes'][_0x0ae6('0x54')]?_0x49f1d1[_0x0ae6('0x52')]:_0x379f21[_0x0ae6('0x4d')];if(!_0x4c4b99[_0x0ae6('0x4e')]['hasOwnProperty'](_0x0ae6('0x56'))){_0x49f1d1[_0x0ae6('0x57')]=qs['limit'](_0x4c4b99[_0x0ae6('0x4e')][_0x0ae6('0x57')]);_0x49f1d1[_0x0ae6('0x38')]=qs[_0x0ae6('0x38')](_0x4c4b99[_0x0ae6('0x4e')][_0x0ae6('0x38')]);}_0x49f1d1[_0x0ae6('0x58')]=qs['sort'](_0x4c4b99['query'][_0x0ae6('0x59')]);_0x49f1d1[_0x0ae6('0x5a')]=qs['filters'](_[_0x0ae6('0x72')](_0x4c4b99[_0x0ae6('0x4e')],_0x379f21['filters']));_0x49f1d1[_0x0ae6('0x5a')][_0x0ae6('0x6e')]=_0x2e9878['id'];if(_0x4c4b99[_0x0ae6('0x4e')][_0x0ae6('0x5d')]){_0x49f1d1[_0x0ae6('0x5a')]=_['merge'](_0x49f1d1[_0x0ae6('0x5a')],{'$or':_[_0x0ae6('0x47')](_0x49f1d1['attributes'],function(_0x590b04){var _0x5edef8={};_0x5edef8[_0x590b04]={'$like':'%'+_0x4c4b99[_0x0ae6('0x4e')]['filter']+'%'};return _0x5edef8;})});}_0x49f1d1=_['merge']({},_0x49f1d1,_0x4c4b99[_0x0ae6('0x64')]);return db[_0x0ae6('0x76')][_0x0ae6('0x37')]({'where':_0x49f1d1[_0x0ae6('0x5a')]})['then'](function(_0x5d6f82){_0x2609cc[_0x0ae6('0x37')]=_0x5d6f82;if(_0x4c4b99['query'][_0x0ae6('0x63')]){_0x49f1d1[_0x0ae6('0x5e')]=[{'all':!![]}];}return db[_0x0ae6('0x76')][_0x0ae6('0x5f')](_0x49f1d1);})['then'](function(_0x57da86){_0x2609cc[_0x0ae6('0x77')]=_0x57da86;return _0x2609cc;});}})[_0x0ae6('0x28')](respondWithFilteredResult(_0x1b422e,_0x49f1d1))[_0x0ae6('0x60')](handleError(_0x1b422e,null));};exports[_0x0ae6('0x78')]=function(_0x55ec75,_0x26b463,_0x5de19f){return db[_0x0ae6('0x48')][_0x0ae6('0x65')]({'where':{'id':_0x55ec75['params']['id']}})['then'](handleEntityNotFound(_0x26b463,null))['then'](function(_0x147188){if(_0x147188){return _0x147188[_0x0ae6('0x78')](_0x55ec75[_0x0ae6('0x4e')][_0x0ae6('0x79')]);}})[_0x0ae6('0x28')](respondWithStatusCode(_0x26b463,null))['catch'](handleError(_0x26b463,null));};exports[_0x0ae6('0x7a')]=function(_0x5c9452,_0x30190a,_0x2d74bd){return db[_0x0ae6('0x48')][_0x0ae6('0x65')]({'where':{'id':_0x5c9452['params']['id']}})[_0x0ae6('0x28')](handleEntityNotFound(_0x30190a,null))[_0x0ae6('0x28')](function(_0x4fe8d4){if(_0x4fe8d4){return _0x4fe8d4[_0x0ae6('0x7a')](_0x5c9452['body'][_0x0ae6('0x79')],_[_0x0ae6('0x7b')](_0x5c9452[_0x0ae6('0x67')],['ids','id'])||{})['spread'](function(_0x219623){for(var _0x261f45=0x0;_0x261f45<_0x5c9452[_0x0ae6('0x67')][_0x0ae6('0x79')]['length'];_0x261f45+=0x1){socket[_0x0ae6('0x7c')](_0x0ae6('0x7d'),{'UserId':_0x5c9452['body'][_0x0ae6('0x79')][_0x261f45],'WhatsappAccountId':_0x5c9452['params']['id']});}return _0x219623;});}})['then'](respondWithResult(_0x30190a,null))['catch'](handleError(_0x30190a,null));};exports[_0x0ae6('0x7e')]=function(_0x15161a,_0x12e466,_0x2a387a){return db[_0x0ae6('0x48')][_0x0ae6('0x65')]({'where':{'id':_0x15161a[_0x0ae6('0x62')]['id']}})[_0x0ae6('0x28')](handleEntityNotFound(_0x12e466,null))[_0x0ae6('0x28')](function(_0x475a33){if(_0x475a33){return _0x475a33[_0x0ae6('0x7e')](_0x15161a[_0x0ae6('0x4e')]['ids'])[_0x0ae6('0x28')](function(){if(_[_0x0ae6('0x7f')](_0x15161a['query'][_0x0ae6('0x79')])){for(var _0x49d144=0x0;_0x49d144<_0x15161a[_0x0ae6('0x4e')][_0x0ae6('0x79')][_0x0ae6('0x54')];_0x49d144+=0x1){socket['emit'](_0x0ae6('0x80'),{'UserId':Number(_0x15161a[_0x0ae6('0x4e')][_0x0ae6('0x79')][_0x49d144]),'WhatsappAccountId':Number(_0x15161a[_0x0ae6('0x62')]['id'])});}}else{socket[_0x0ae6('0x7c')](_0x0ae6('0x80'),{'UserId':Number(_0x15161a[_0x0ae6('0x4e')][_0x0ae6('0x79')]),'WhatsappAccountId':Number(_0x15161a[_0x0ae6('0x62')]['id'])});}});}})[_0x0ae6('0x28')](respondWithStatusCode(_0x12e466,null))[_0x0ae6('0x60')](handleError(_0x12e466,null));};exports[_0x0ae6('0x81')]=function(_0x2e124c,_0x1b35aa,_0x472c81){var _0x5afe48={};var _0x432ee7={};var _0x370789;var _0x2ff006;return db[_0x0ae6('0x48')][_0x0ae6('0x71')]({'where':{'id':_0x2e124c[_0x0ae6('0x62')]['id']}})[_0x0ae6('0x28')](handleEntityNotFound(_0x1b35aa,null))[_0x0ae6('0x28')](function(_0x1ee24d){if(_0x1ee24d){_0x370789=_0x1ee24d;_0x432ee7[_0x0ae6('0x4d')]=_[_0x0ae6('0x4f')](db[_0x0ae6('0x82')][_0x0ae6('0x49')]);_0x432ee7[_0x0ae6('0x4e')]=_['keys'](_0x2e124c[_0x0ae6('0x4e')]);_0x432ee7[_0x0ae6('0x50')]=_[_0x0ae6('0x51')](_0x432ee7[_0x0ae6('0x4d')],_0x432ee7[_0x0ae6('0x4e')]);_0x5afe48['attributes']=_[_0x0ae6('0x51')](_0x432ee7[_0x0ae6('0x4d')],qs[_0x0ae6('0x53')](_0x2e124c[_0x0ae6('0x4e')]['fields']));_0x5afe48[_0x0ae6('0x52')]=_0x5afe48[_0x0ae6('0x52')][_0x0ae6('0x54')]?_0x5afe48['attributes']:_0x432ee7['model'];_0x5afe48[_0x0ae6('0x58')]=qs[_0x0ae6('0x59')](_0x2e124c[_0x0ae6('0x4e')][_0x0ae6('0x59')]);_0x5afe48[_0x0ae6('0x5a')]=qs[_0x0ae6('0x50')](_[_0x0ae6('0x72')](_0x2e124c[_0x0ae6('0x4e')],_0x432ee7['filters']));if(_0x2e124c['query'][_0x0ae6('0x5d')]){_0x5afe48[_0x0ae6('0x5a')]=_[_0x0ae6('0x5b')](_0x5afe48['where'],{'$or':_[_0x0ae6('0x47')](_0x5afe48[_0x0ae6('0x52')],function(_0x3b1121){var _0x8bba52={};_0x8bba52[_0x3b1121]={'$like':'%'+_0x2e124c['query']['filter']+'%'};return _0x8bba52;})});}_0x5afe48=_[_0x0ae6('0x5b')]({},_0x5afe48,_0x2e124c[_0x0ae6('0x64')]);return _0x370789[_0x0ae6('0x81')](_0x5afe48);}})[_0x0ae6('0x28')](function(_0x85029a){if(_0x85029a){_0x2ff006=_0x85029a[_0x0ae6('0x54')];if(!_0x2e124c[_0x0ae6('0x4e')][_0x0ae6('0x55')](_0x0ae6('0x56'))){_0x5afe48['limit']=qs[_0x0ae6('0x57')](_0x2e124c[_0x0ae6('0x4e')]['limit']);_0x5afe48[_0x0ae6('0x38')]=qs[_0x0ae6('0x38')](_0x2e124c[_0x0ae6('0x4e')][_0x0ae6('0x38')]);}return _0x370789[_0x0ae6('0x81')](_0x5afe48);}})[_0x0ae6('0x28')](function(_0x33d2e7){if(_0x33d2e7){return _0x33d2e7?{'count':_0x2ff006,'rows':_0x33d2e7}:null;}})[_0x0ae6('0x28')](respondWithResult(_0x1b35aa,null))[_0x0ae6('0x60')](handleError(_0x1b35aa,null));};exports['addApplications']=function(_0x9c36e5,_0x211d81,_0x5c8d57){return db[_0x0ae6('0x48')][_0x0ae6('0x71')]({'where':{'id':_0x9c36e5[_0x0ae6('0x62')]['id']}})['then'](handleEntityNotFound(_0x211d81,null))[_0x0ae6('0x28')](function(_0x26e546){if(_0x26e546){return db[_0x0ae6('0x83')][_0x0ae6('0x84')](function(_0x13f62a){return db[_0x0ae6('0x85')][_0x0ae6('0x3f')]({'where':{'WhatsappAccountId':_0x9c36e5[_0x0ae6('0x62')]['id']},'transaction':_0x13f62a})['then'](function(_0x445a50){var _0x93080e=_['map'](_0x9c36e5[_0x0ae6('0x67')],function(_0x485aa6){_0x485aa6[_0x0ae6('0x6e')]=_0x9c36e5[_0x0ae6('0x62')]['id'];return _0x485aa6;});return db[_0x0ae6('0x85')]['bulkCreate'](_0x93080e,{'transaction':_0x13f62a});});})[_0x0ae6('0x28')](function(){return db[_0x0ae6('0x85')][_0x0ae6('0x86')]({'where':{'WhatsappAccountId':_0x9c36e5[_0x0ae6('0x62')]['id']},'order':'priority'});});}})[_0x0ae6('0x28')](respondWithResult(_0x211d81,null))[_0x0ae6('0x60')](handleError(_0x211d81,null));};exports['getApplications']=function(_0x490f55,_0xbee8c1,_0x27c4c9){var _0x36903f={};var _0x122acf={};var _0x352832;var _0x44bd0e;return db[_0x0ae6('0x48')][_0x0ae6('0x71')]({'where':{'id':_0x490f55[_0x0ae6('0x62')]['id']}})[_0x0ae6('0x28')](handleEntityNotFound(_0xbee8c1,null))[_0x0ae6('0x28')](function(_0x15872c){if(_0x15872c){_0x352832=_0x15872c;_0x122acf[_0x0ae6('0x4d')]=_[_0x0ae6('0x4f')](db['WhatsappApplication'][_0x0ae6('0x49')]);_0x122acf[_0x0ae6('0x4e')]=_[_0x0ae6('0x4f')](_0x490f55[_0x0ae6('0x4e')]);_0x122acf[_0x0ae6('0x50')]=_[_0x0ae6('0x51')](_0x122acf[_0x0ae6('0x4d')],_0x122acf[_0x0ae6('0x4e')]);_0x36903f[_0x0ae6('0x52')]=_[_0x0ae6('0x51')](_0x122acf['model'],qs['fields'](_0x490f55[_0x0ae6('0x4e')][_0x0ae6('0x53')]));_0x36903f['attributes']=_0x36903f[_0x0ae6('0x52')][_0x0ae6('0x54')]?_0x36903f[_0x0ae6('0x52')]:_0x122acf[_0x0ae6('0x4d')];_0x36903f['order']=qs[_0x0ae6('0x59')](_0x490f55[_0x0ae6('0x4e')]['sort']);_0x36903f[_0x0ae6('0x5a')]=qs[_0x0ae6('0x50')](_[_0x0ae6('0x72')](_0x490f55['query'],_0x122acf['filters']));if(_0x490f55[_0x0ae6('0x4e')][_0x0ae6('0x5d')]){_0x36903f['where']=_[_0x0ae6('0x5b')](_0x36903f[_0x0ae6('0x5a')],{'$or':_['map'](_0x36903f[_0x0ae6('0x52')],function(_0x2bcf2d){var _0x318d50={};_0x318d50[_0x2bcf2d]={'$like':'%'+_0x490f55['query'][_0x0ae6('0x5d')]+'%'};return _0x318d50;})});}_0x36903f=_[_0x0ae6('0x5b')]({},_0x36903f,_0x490f55[_0x0ae6('0x64')]);return _0x352832['getApplications'](_0x36903f);}})[_0x0ae6('0x28')](function(_0x34d9cc){if(_0x34d9cc){_0x44bd0e=_0x34d9cc[_0x0ae6('0x54')];if(!_0x490f55[_0x0ae6('0x4e')]['hasOwnProperty'](_0x0ae6('0x56'))){_0x36903f[_0x0ae6('0x57')]=qs['limit'](_0x490f55[_0x0ae6('0x4e')][_0x0ae6('0x57')]);_0x36903f[_0x0ae6('0x38')]=qs[_0x0ae6('0x38')](_0x490f55[_0x0ae6('0x4e')]['offset']);}return _0x352832[_0x0ae6('0x87')](_0x36903f);}})[_0x0ae6('0x28')](function(_0x44a534){if(_0x44a534){return _0x44a534?{'count':_0x44bd0e,'rows':_0x44a534}:null;}})[_0x0ae6('0x28')](respondWithResult(_0xbee8c1,null))[_0x0ae6('0x60')](handleError(_0xbee8c1,null));};exports[_0x0ae6('0x88')]=function(_0x447d63,_0x3a22ee,_0x278b4f){var _0x5e5a97={'channel':_0x0ae6('0x89')};var _0x2e2a74=[];var _0x279511=[];var _0x4799f1={};return db[_0x0ae6('0x48')][_0x0ae6('0x65')]({'where':{'id':_0x447d63[_0x0ae6('0x62')]['id']},'include':[{'model':db[_0x0ae6('0x85')],'as':'Applications'}]})[_0x0ae6('0x28')](handleEntityNotFound(_0x3a22ee,null))[_0x0ae6('0x28')](function(_0x1bd926){_0x5e5a97[_0x0ae6('0x8a')]=_0x1bd926;_0x5e5a97[_0x0ae6('0x8b')]=_[_0x0ae6('0x8c')](_0x1bd926[_0x0ae6('0x8d')],[_0x0ae6('0x8e')],[_0x0ae6('0x8f')]);if(_0x5e5a97[_0x0ae6('0x8a')][_0x0ae6('0x8d')]){delete _0x5e5a97[_0x0ae6('0x8a')][_0x0ae6('0x8d')];}return db['CmContact'][_0x0ae6('0x6d')]();})[_0x0ae6('0x28')](function(_0x472441){if(!_0x472441){throw new db['Sequelize'][(_0x0ae6('0x25'))](_0x0ae6('0x90'));}_0x2e2a74=_['difference'](_[_0x0ae6('0x4f')](_0x472441),[_0x0ae6('0x91'),_0x0ae6('0x92')]);_0x279511=_['difference'](_[_0x0ae6('0x4f')](_0x472441),['createdAt','updatedAt',_0x0ae6('0x93'),_0x0ae6('0x94')]);_0x5e5a97[_0x0ae6('0x67')]={'mapKey':'mobile'};if(_0x5e5a97[_0x0ae6('0x8a')]['type']&&_0x5e5a97[_0x0ae6('0x8a')][_0x0ae6('0x4b')]==='twilio'){_0x5e5a97['body'][_0x0ae6('0x95')]=_0x447d63[_0x0ae6('0x67')][_0x0ae6('0x96')][_0x0ae6('0x97')](_0x0ae6('0x98'),'');_0x5e5a97[_0x0ae6('0x67')][_0x0ae6('0x67')]=_0x447d63[_0x0ae6('0x67')][_0x0ae6('0x99')];_0x5e5a97['body']['messageId']=_0x447d63[_0x0ae6('0x67')][_0x0ae6('0x9a')];}if(_0x5e5a97['body']['id']){delete _0x5e5a97['body']['id'];}if(_['isNil'](_0x5e5a97[_0x0ae6('0x67')][_0x0ae6('0x95')])){throw new db[(_0x0ae6('0x24'))][(_0x0ae6('0x25'))](_0x0ae6('0x9b'));}if(_[_0x0ae6('0x9c')](_0x5e5a97['body'][_0x0ae6('0x67')])||_0x5e5a97[_0x0ae6('0x67')][_0x0ae6('0x67')]===''){throw new db[(_0x0ae6('0x24'))][(_0x0ae6('0x25'))]('body\x20is\x20mandatory\x20and\x20not\x20empty');}if(_[_0x0ae6('0x9c')](_0x5e5a97['body'][_0x0ae6('0x9d')])){throw new db[(_0x0ae6('0x24'))]['ValidationError'](_0x0ae6('0x9e')+_0x279511);}if(!_[_0x0ae6('0x9f')](_0x279511,_0x5e5a97[_0x0ae6('0x67')][_0x0ae6('0x9d')])){throw new db[(_0x0ae6('0x24'))][(_0x0ae6('0x25'))](_0x0ae6('0xa0')+_0x279511);}_0x4799f1[_0x5e5a97[_0x0ae6('0x67')][_0x0ae6('0x9d')]]=_0x5e5a97[_0x0ae6('0x67')]['from'];return db[_0x0ae6('0xa1')][_0x0ae6('0x65')]({'where':{'id':_0x5e5a97[_0x0ae6('0x8a')][_0x0ae6('0x94')]},'include':[{'model':db['CmContact'],'as':_0x0ae6('0xa2'),'where':_0x4799f1,'limit':0x1,'order':[['updatedAt',_0x0ae6('0xa3')]]}]});})[_0x0ae6('0x28')](handleEntityNotFound(_0x3a22ee,null))[_0x0ae6('0x28')](function(_0x3c11cf){if(_0x3c11cf){_0x5e5a97[_0x0ae6('0xa4')]=_[_0x0ae6('0x7b')](_0x3c11cf,[_0x0ae6('0xa2')]);if(_0x3c11cf[_0x0ae6('0xa2')][_0x0ae6('0x54')]){return _0x3c11cf[_0x0ae6('0xa2')][0x0];}var _0x59c594=_[_0x0ae6('0x1c')](_0x5e5a97[_0x0ae6('0x67')],{'firstName':_0x5e5a97[_0x0ae6('0x67')][_0x0ae6('0x95')],'ListId':_0x3c11cf['id']});_0x59c594[_0x5e5a97[_0x0ae6('0x67')]['mapKey']]=_0x5e5a97[_0x0ae6('0x67')][_0x0ae6('0x95')];return db[_0x0ae6('0xa5')][_0x0ae6('0x66')](_0x59c594,{'fields':_0x2e2a74,'raw':!![]});}})[_0x0ae6('0x28')](handleEntityNotFound(_0x3a22ee,null))[_0x0ae6('0x28')](function(_0x2f7996){if(_0x2f7996){_0x5e5a97[_0x0ae6('0xa6')]=_0x2f7996;var _0xaf7753={'ContactId':_0x2f7996['id'],'phone':_0x5e5a97[_0x0ae6('0x67')][_0x0ae6('0x95')],'WhatsappAccountId':_0x447d63['params']['id']};var _0x2309ac={'ContactId':_0x2f7996['id'],'WhatsappAccountId':_0x447d63[_0x0ae6('0x62')]['id'],'closed':![]};return db[_0x0ae6('0xa7')][_0x0ae6('0x65')]({'where':_0x2309ac})[_0x0ae6('0x28')](function(_0x1faa6a){if(_0x1faa6a){return[_0x1faa6a,![]];}return db[_0x0ae6('0xa7')]['create'](_0xaf7753)['then'](function(_0x1cfeab){return[_0x1cfeab,!![]];});});}})[_0x0ae6('0xa8')](function(_0x37f9d4,_0x2aa751){_0x5e5a97['interaction']=_0x37f9d4[_0x0ae6('0x40')]({'plain':!![]});_0x5e5a97[_0x0ae6('0xa9')][_0x0ae6('0xaa')]=![];if(_0x2aa751){if(_0x5e5a97[_0x0ae6('0x8a')][_0x0ae6('0xab')]){_0x5e5a97[_0x0ae6('0x8b')][_0x0ae6('0xac')]({'id':0x0,'priority':_0x5e5a97[_0x0ae6('0x8b')][_0x0ae6('0x54')]+0x1,'app':_0x0ae6('0xad'),'appdata':_0x0ae6('0xae'),'interval':'*,*,*,*'});}_0x5e5a97['interaction'][_0x0ae6('0xaa')]=!![];}return db[_0x0ae6('0xaf')]['create']({'phone':_0x5e5a97[_0x0ae6('0x67')]['from'],'messageId':_0x5e5a97[_0x0ae6('0x67')][_0x0ae6('0xb0')],'body':_0x5e5a97[_0x0ae6('0x67')][_0x0ae6('0x67')],'WhatsappAccountId':_0x447d63[_0x0ae6('0x62')]['id'],'WhatsappInteractionId':_0x37f9d4['id'],'direction':'in','ContactId':_0x37f9d4[_0x0ae6('0xb1')],'AttachmentId':_0x5e5a97[_0x0ae6('0x67')][_0x0ae6('0xb2')]});})['then'](function(_0x84dd39){_0x5e5a97[_0x0ae6('0x31')]=_0x84dd39;if(_0x5e5a97['interaction'][_0x0ae6('0xb3')]){return db['User']['find']({'attributes':['id',_0x0ae6('0x43')],'where':{'id':_0x5e5a97['interaction']['UserId']}})[_0x0ae6('0x28')](function(_0x2e41f0){if(_0x2e41f0){_0x5e5a97[_0x0ae6('0x8b')][_0x0ae6('0xb4')]({'id':0x0,'priority':0x0,'app':'agent','appdata':_0x2e41f0[_0x0ae6('0x43')]+','+(_0x5e5a97[_0x0ae6('0x8a')][_0x0ae6('0xb5')]||0xa),'interval':_0x0ae6('0xb6')});}return respondWithRpcPromise(_0x0ae6('0xb7'),_0x0ae6('0xb8'),_0x5e5a97);});}return respondWithRpcPromise(_0x0ae6('0xb7'),'startRouting',_0x5e5a97);})['then'](function(_0x17269b){if(_0x17269b){var _0x3ab4ab=0xc8;var _0x504c2e=_0x0ae6('0xb9');logger[_0x0ae6('0x29')](_0x0ae6('0x2c'),_0x504c2e,_0x3ab4ab,'entity\x20found');logger[_0x0ae6('0x2b')](_0x0ae6('0xba'),_0x504c2e,_0x3ab4ab,'entity\x20found',JSON[_0x0ae6('0x2d')](_0x17269b));if(_0x5e5a97['account'][_0x0ae6('0x4b')]===_0x0ae6('0xbb')){return _0x3a22ee['status'](_0x3ab4ab)[_0x0ae6('0x39')](_0x0ae6('0xbc'),_0x0ae6('0xbd'))['send'](_0x0ae6('0xbe'));}else{return _0x3a22ee[_0x0ae6('0x35')](_0x3ab4ab)['json'](_0x17269b);}}})['catch'](handleError(_0x3a22ee,null));};exports['send']=function(_0x4e9359,_0x28fa01,_0x52baf1){var _0x134cb2,_0x5050b8,_0x552f45;if(_['isNil'](_0x4e9359[_0x0ae6('0x67')]['body'])||_0x4e9359[_0x0ae6('0x67')][_0x0ae6('0x67')]===''){throw new db[(_0x0ae6('0x24'))]['ValidationError'](_0x0ae6('0xbf'));}if(_[_0x0ae6('0x9c')](_0x4e9359[_0x0ae6('0x67')]['to'])){throw new db[(_0x0ae6('0x24'))][(_0x0ae6('0x25'))](_0x0ae6('0xc0'));}_0x134cb2=_0x4e9359['body']['to'];return db[_0x0ae6('0x48')]['find']({'where':{'id':_0x4e9359[_0x0ae6('0x62')]['id']},'include':[{'model':db[_0x0ae6('0xa1')],'as':'List','include':[{'model':db['CmContact'],'as':_0x0ae6('0xa2'),'where':{'mobile':_0x134cb2},'limit':0x1,'order':[['updatedAt',_0x0ae6('0xa3')]]}]}]})[_0x0ae6('0x28')](handleEntityNotFound(_0x28fa01,null))[_0x0ae6('0x28')](function(_0x440508){if(_0x440508&&_0x440508[_0x0ae6('0xc1')]){_0x5050b8=_0x440508['get']({'plain':!![]});if(_0x5050b8['List']&&_0x5050b8[_0x0ae6('0xc1')][_0x0ae6('0xa2')][_0x0ae6('0x54')]){return _0x5050b8[_0x0ae6('0xc1')]['Contacts'][0x0];}return db[_0x0ae6('0xa5')]['create'](_['defaults'](_0x4e9359['body'],{'firstName':_0x134cb2,'mobile':_0x134cb2,'phone':_0x134cb2,'ListId':_0x5050b8['ListId']}));}})['then'](handleEntityNotFound(_0x28fa01,null))[_0x0ae6('0x28')](function(_0x224048){if(_0x224048){_0x552f45=_0x224048;return db[_0x0ae6('0xa7')][_0x0ae6('0x65')]({'where':{'ContactId':_0x552f45['id'],'closed':![],'WhatsappAccountId':_0x5050b8['id']}})[_0x0ae6('0x28')](function(_0x3c6728){if(_0x3c6728){return[_0x3c6728,![]];}return db[_0x0ae6('0xa7')][_0x0ae6('0x66')]({'UserId':_0x4e9359[_0x0ae6('0x6a')]['id'],'ContactId':_0x552f45['id'],'WhatsappAccountId':_0x5050b8['id'],'phone':_0x134cb2,'firstMsgDirection':_0x0ae6('0xc2'),'Messages':[_[_0x0ae6('0x5b')](_0x4e9359[_0x0ae6('0x67')],{'read':![],'body':_0x4e9359[_0x0ae6('0x67')][_0x0ae6('0x67')],'phone':_0x134cb2,'WhatsappAccountId':_0x5050b8['id'],'UserId':_0x4e9359[_0x0ae6('0x6a')]['id'],'ContactId':_0x552f45['id']})]},{'include':[{'model':db[_0x0ae6('0xaf')],'as':_0x0ae6('0xc3')}]})[_0x0ae6('0x28')](function(_0x29c67e){return[_0x29c67e,!![]];});});}})[_0x0ae6('0xa8')](function(_0x160e84,_0xcfd2ba){if(_0xcfd2ba){return _0x160e84;}return db[_0x0ae6('0xaf')][_0x0ae6('0x66')](_[_0x0ae6('0x5b')](_0x4e9359['body'],{'read':![],'body':_0x4e9359[_0x0ae6('0x67')][_0x0ae6('0x67')],'phone':_0x134cb2,'WhatsappAccountId':_0x5050b8['id'],'WhatsappInteractionId':_0x160e84['id'],'UserId':_0x4e9359[_0x0ae6('0x6a')]['id'],'ContactId':_0x552f45['id']}))[_0x0ae6('0x28')](function(_0x360b3f){_0x160e84[_0x0ae6('0xc4')][_0x0ae6('0xc3')]=[];_0x160e84[_0x0ae6('0xc4')]['Messages']['push'](_0x360b3f[_0x0ae6('0xc4')]);return _0x160e84;});})[_0x0ae6('0x28')](respondWithResult(_0x28fa01,null))[_0x0ae6('0x60')](handleError(_0x28fa01,null));}; \ No newline at end of file +var _0xda3f=['CompanyId','ListId','twilio','From','replace','Body','messageId','MessageSid','isNil','from\x20is\x20mandatory','body\x20is\x20mandatory\x20and\x20not\x20empty','mapKey','mapKey\x20is\x20mandatory,\x20please\x20use\x20one\x20of\x20these:\x20','includes','mapKey\x20invalid,\x20please\x20use\x20one\x20of\x20these:\x20','from','CmList','DESC','list','Contacts','defaults','WhatsappInteraction','interaction','created','autoclose','applications','push','close','unmanaged','*,*,*,*','WhatsappMessage','ContactId','AttachmentId','UserId','User','unshift','waitForTheAssignedAgent','startRouting','Start','receiveMessage','WhatsappAccount,\x20%s,\x20%s,\x20%s','entity\x20found','WhatsappAccount,\x20%s,\x20%s,\x20%s,\x20%s','Content-Type','text/xml','to\x20is\x20mandatory','List','out','dataValues','Messages','eml-format','rimraf','moment','mustache','util','sox','to-csv','squel','crypto','jsforce','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','api','../../config/utils','../../config/environment','../../mysqldb','redis','socket.io-emitter','client','http','test','Sequelize','ValidationError','The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.','request','then','WhatsappAccount,\x20%s,\x20%s','request\x20sent','debug','stringify','error','message','info','result','catch','sendStatus','status','json','count','offset','limit','set','Content-Range','apply','reject','save','update','get','WhatsappAccounts','UserProfileResource','destroy','end','stack','name','send','Pause','mandatoryDispositionPause','rawAttributes','fieldName','type','key','model','map','query','keys','filters','intersection','fields','attributes','length','nolimit','order','sort','where','pick','merge','VIRTUAL','filter','options','WhatsappAccount','include','findAll','rows','show','includeAll','find','create','body','user','UserProfileSection','autoAssociation','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','params','describe','addDisposition','WhatsappAccountId','Disposition','hasOwnProperty','removeDispositions','ids','addAnswer','CannedAnswer','getAnswers','findOne','removeAnswers','addAgents','spread','emit','userWhatsappAccount:save','removeAgents','isArray','userWhatsappAccount:remove','getAgents','addApplications','sequelize','transaction','WhatsappApplication','findAndCountAll','priority','getApplications','whatsapp','account','orderBy','Applications','asc','CmContact','no\x20available\x20attributes','difference','createdAt','updatedAt'];(function(_0x5cd2be,_0xa030a3){var _0x20f4e7=function(_0xee9664){while(--_0xee9664){_0x5cd2be['push'](_0x5cd2be['shift']());}};_0x20f4e7(++_0xa030a3);}(_0xda3f,0xec));var _0xfda3=function(_0x4c8cd9,_0x1eb48f){_0x4c8cd9=_0x4c8cd9-0x0;var _0x1276eb=_0xda3f[_0x4c8cd9];return _0x1276eb;};'use strict';var pdf=require('html-pdf');var emlformat=require(_0xfda3('0x0'));var rimraf=require(_0xfda3('0x1'));var zipdir=require('zip-dir');var jsonpatch=require('fast-json-patch');var rp=require('request-promise');var moment=require(_0xfda3('0x2'));var BPromise=require('bluebird');var Mustache=require(_0xfda3('0x3'));var util=require(_0xfda3('0x4'));var path=require('path');var sox=require(_0xfda3('0x5'));var csv=require(_0xfda3('0x6'));var ejs=require('ejs');var fs=require('fs');var _=require('lodash');var squel=require(_0xfda3('0x7'));var crypto=require(_0xfda3('0x8'));var jsforce=require(_0xfda3('0x9'));var deskjs=require(_0xfda3('0xa'));var toCsv=require(_0xfda3('0x6'));var querystring=require(_0xfda3('0xb'));var Papa=require(_0xfda3('0xc'));var Redis=require(_0xfda3('0xd'));var authService=require(_0xfda3('0xe'));var qs=require(_0xfda3('0xf'));var as=require(_0xfda3('0x10'));var hardwareService=require(_0xfda3('0x11'));var logger=require('../../config/logger')(_0xfda3('0x12'));var utils=require(_0xfda3('0x13'));var config=require(_0xfda3('0x14'));var db=require(_0xfda3('0x15'))['db'];config[_0xfda3('0x16')]=_['defaults'](config[_0xfda3('0x16')],{'host':'localhost','port':0x18eb});var socket=require(_0xfda3('0x17'))(new Redis(config[_0xfda3('0x16')]));require('./whatsappAccount.socket')['register'](socket);var jayson=require('jayson/promise');var client=jayson[_0xfda3('0x18')][_0xfda3('0x19')]({'port':0x232c});function checkPasswordPattern(_0x5ea793,_0x57a229,_0x533365){if(_0x533365){var _0x80ea80=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0x80ea80[_0xfda3('0x1a')](_0x57a229)){return _0x5ea793;}else{throw new db[(_0xfda3('0x1b'))][(_0xfda3('0x1c'))](_0xfda3('0x1d'));}}else{return _0x5ea793;}}function respondWithRpcPromise(_0x40d702,_0x2aadcb,_0x93c8ef,_0x4680bf){return new BPromise(function(_0xc62ae6,_0x54a7c6){var _0x15ddb9=_0x4680bf||client;return _0x15ddb9[_0xfda3('0x1e')](_0x40d702,_0x93c8ef)[_0xfda3('0x1f')](function(_0x32855a){logger['info'](_0xfda3('0x20'),_0x2aadcb,_0xfda3('0x21'));logger[_0xfda3('0x22')]('WhatsappAccount,\x20%s,\x20%s,\x20%s',_0x2aadcb,'request\x20sent',JSON[_0xfda3('0x23')](_0x32855a));if(_0x32855a[_0xfda3('0x24')]){if(_0x32855a[_0xfda3('0x24')]['code']===0x1f4){logger[_0xfda3('0x24')](_0xfda3('0x20'),_0x2aadcb,_0x32855a[_0xfda3('0x24')][_0xfda3('0x25')]);return _0x54a7c6(_0x32855a[_0xfda3('0x24')][_0xfda3('0x25')]);}logger[_0xfda3('0x24')](_0xfda3('0x20'),_0x2aadcb,_0x32855a[_0xfda3('0x24')]['message']);return _0xc62ae6(_0x32855a[_0xfda3('0x24')][_0xfda3('0x25')]);}else{logger[_0xfda3('0x26')]('WhatsappAccount,\x20%s,\x20%s',_0x2aadcb,_0xfda3('0x21'));_0xc62ae6(_0x32855a[_0xfda3('0x27')][_0xfda3('0x25')]);}})[_0xfda3('0x28')](function(_0x1cb831){logger[_0xfda3('0x24')]('WhatsappAccount,\x20%s,\x20%s',_0x2aadcb,_0x1cb831);_0x54a7c6(_0x1cb831);});});}function respondWithStatusCode(_0x3c6d7d,_0x1e87fe){_0x1e87fe=_0x1e87fe||0xcc;return function(_0x2bef2b){if(_0x2bef2b){return _0x3c6d7d[_0xfda3('0x29')](_0x1e87fe);}return _0x3c6d7d[_0xfda3('0x2a')](_0x1e87fe)['end']();};}function respondWithResult(_0x3c1549,_0x4101b1){_0x4101b1=_0x4101b1||0xc8;return function(_0x301509){if(_0x301509){return _0x3c1549[_0xfda3('0x2a')](_0x4101b1)[_0xfda3('0x2b')](_0x301509);}};}function respondWithFilteredResult(_0x3cfeb2,_0x26e544){return function(_0x538902){if(_0x538902){var _0x56ca3a=_0x538902[_0xfda3('0x2c')],_0x3aef3c=_0x26e544[_0xfda3('0x2d')],_0x4fd277=_0x26e544[_0xfda3('0x2d')]+_0x26e544[_0xfda3('0x2e')],_0x4b9d90;if(_0x4fd277>=_0x56ca3a){_0x4fd277=_0x56ca3a;_0x4b9d90=0xc8;}else{_0x4b9d90=0xce;}_0x3cfeb2[_0xfda3('0x2a')](_0x4b9d90);return _0x3cfeb2[_0xfda3('0x2f')](_0xfda3('0x30'),_0x3aef3c+'-'+_0x4fd277+'/'+_0x56ca3a)[_0xfda3('0x2b')](_0x538902);}return null;};}function patchUpdates(_0x261a81){return function(_0x5825bd){try{jsonpatch[_0xfda3('0x31')](_0x5825bd,_0x261a81,!![]);}catch(_0x43b063){return BPromise[_0xfda3('0x32')](_0x43b063);}return _0x5825bd[_0xfda3('0x33')]();};}function saveUpdates(_0x2b64a1,_0xd6969e){return function(_0x2b3afb){if(_0x2b3afb){return _0x2b3afb[_0xfda3('0x34')](_0x2b64a1)[_0xfda3('0x1f')](function(_0x59a1c9){return _0x59a1c9;});}return null;};}function removeEntity(_0x51ecde,_0x30e63e){return function(_0x17cccb){if(_0x17cccb){return _0x17cccb['destroy']()[_0xfda3('0x1f')](function(){var _0xc861d2=_0x17cccb[_0xfda3('0x35')]({'plain':!![]});var _0x52ee98=_0xfda3('0x36');return db[_0xfda3('0x37')][_0xfda3('0x38')]({'where':{'type':_0x52ee98,'resourceId':_0xc861d2['id']}})[_0xfda3('0x1f')](function(){return _0x17cccb;});})[_0xfda3('0x1f')](function(){_0x51ecde['status'](0xcc)[_0xfda3('0x39')]();});}};}function handleEntityNotFound(_0x2d2043,_0x33bdfb){return function(_0x56bed2){if(!_0x56bed2){_0x2d2043[_0xfda3('0x29')](0x194);}return _0x56bed2;};}function handleError(_0x4854b1,_0x2d9a3f){_0x2d9a3f=_0x2d9a3f||0x1f4;return function(_0x5469df){logger[_0xfda3('0x24')](_0x5469df[_0xfda3('0x3a')]);if(_0x5469df[_0xfda3('0x3b')]){delete _0x5469df[_0xfda3('0x3b')];}_0x4854b1[_0xfda3('0x2a')](_0x2d9a3f)[_0xfda3('0x3c')](_0x5469df);};}exports['index']=function(_0x24c7ad,_0xbfbc01){var _0xd2dde0={'include':[{'model':db[_0xfda3('0x3d')],'as':_0xfda3('0x3e')}]},_0x8ed2ba={},_0x5cf8c0={'count':0x0,'rows':[]};var _0x590ba5=_['map'](db['WhatsappAccount'][_0xfda3('0x3f')],function(_0x168175){return{'name':_0x168175[_0xfda3('0x40')],'type':_0x168175[_0xfda3('0x41')][_0xfda3('0x42')]};});_0x8ed2ba[_0xfda3('0x43')]=_[_0xfda3('0x44')](_0x590ba5,_0xfda3('0x3b'));_0x8ed2ba[_0xfda3('0x45')]=_[_0xfda3('0x46')](_0x24c7ad['query']);_0x8ed2ba[_0xfda3('0x47')]=_[_0xfda3('0x48')](_0x8ed2ba['model'],_0x8ed2ba[_0xfda3('0x45')]);_0xd2dde0['attributes']=_['intersection'](_0x8ed2ba['model'],qs[_0xfda3('0x49')](_0x24c7ad[_0xfda3('0x45')][_0xfda3('0x49')]));_0xd2dde0[_0xfda3('0x4a')]=_0xd2dde0['attributes'][_0xfda3('0x4b')]?_0xd2dde0[_0xfda3('0x4a')]:_0x8ed2ba[_0xfda3('0x43')];if(!_0x24c7ad[_0xfda3('0x45')]['hasOwnProperty'](_0xfda3('0x4c'))){_0xd2dde0[_0xfda3('0x2e')]=qs[_0xfda3('0x2e')](_0x24c7ad['query']['limit']);_0xd2dde0[_0xfda3('0x2d')]=qs[_0xfda3('0x2d')](_0x24c7ad[_0xfda3('0x45')][_0xfda3('0x2d')]);}_0xd2dde0[_0xfda3('0x4d')]=qs[_0xfda3('0x4e')](_0x24c7ad[_0xfda3('0x45')][_0xfda3('0x4e')]);_0xd2dde0[_0xfda3('0x4f')]=qs[_0xfda3('0x47')](_[_0xfda3('0x50')](_0x24c7ad[_0xfda3('0x45')],_0x8ed2ba[_0xfda3('0x47')]),_0x590ba5);if(_0x24c7ad[_0xfda3('0x45')]['filter']){_0xd2dde0['where']=_[_0xfda3('0x51')](_0xd2dde0[_0xfda3('0x4f')],{'$or':_[_0xfda3('0x44')](_0x590ba5,function(_0x270b9a){if(_0x270b9a[_0xfda3('0x41')]!==_0xfda3('0x52')){var _0x192133={};_0x192133[_0x270b9a[_0xfda3('0x3b')]]={'$like':'%'+_0x24c7ad[_0xfda3('0x45')][_0xfda3('0x53')]+'%'};return _0x192133;}})});}_0xd2dde0=_['merge']({},_0xd2dde0,_0x24c7ad[_0xfda3('0x54')]);var _0x442cf8={'where':_0xd2dde0[_0xfda3('0x4f')]};return db[_0xfda3('0x55')][_0xfda3('0x2c')](_0x442cf8)['then'](function(_0x2105dc){_0x5cf8c0[_0xfda3('0x2c')]=_0x2105dc;if(_0x24c7ad[_0xfda3('0x45')]['includeAll']){_0xd2dde0[_0xfda3('0x56')]=[{'all':!![]}];}return db[_0xfda3('0x55')][_0xfda3('0x57')](_0xd2dde0);})['then'](function(_0x30c01c){_0x5cf8c0[_0xfda3('0x58')]=_0x30c01c;return _0x5cf8c0;})[_0xfda3('0x1f')](respondWithFilteredResult(_0xbfbc01,_0xd2dde0))[_0xfda3('0x28')](handleError(_0xbfbc01,null));};exports[_0xfda3('0x59')]=function(_0x49662b,_0x3c49d9){var _0x484fd1={'raw':![],'where':{'id':_0x49662b['params']['id']},'include':[{'model':db[_0xfda3('0x3d')],'as':_0xfda3('0x3e')}]},_0x17fe20={};_0x17fe20[_0xfda3('0x43')]=_[_0xfda3('0x46')](db['WhatsappAccount'][_0xfda3('0x3f')]);_0x17fe20[_0xfda3('0x45')]=_[_0xfda3('0x46')](_0x49662b[_0xfda3('0x45')]);_0x17fe20[_0xfda3('0x47')]=_[_0xfda3('0x48')](_0x17fe20[_0xfda3('0x43')],_0x17fe20['query']);_0x484fd1['attributes']=_[_0xfda3('0x48')](_0x17fe20[_0xfda3('0x43')],qs[_0xfda3('0x49')](_0x49662b['query']['fields']));_0x484fd1[_0xfda3('0x4a')]=_0x484fd1[_0xfda3('0x4a')][_0xfda3('0x4b')]?_0x484fd1[_0xfda3('0x4a')]:_0x17fe20[_0xfda3('0x43')];if(_0x49662b['query'][_0xfda3('0x5a')]){_0x484fd1[_0xfda3('0x56')]=[{'all':!![]}];}_0x484fd1=_[_0xfda3('0x51')]({},_0x484fd1,_0x49662b[_0xfda3('0x54')]);return db[_0xfda3('0x55')][_0xfda3('0x5b')](_0x484fd1)[_0xfda3('0x1f')](handleEntityNotFound(_0x3c49d9,null))[_0xfda3('0x1f')](respondWithResult(_0x3c49d9,null))[_0xfda3('0x28')](handleError(_0x3c49d9,null));};exports[_0xfda3('0x5c')]=function(_0x3ed7c1,_0x1fa27a){return db['WhatsappAccount'][_0xfda3('0x5c')](_0x3ed7c1[_0xfda3('0x5d')],{})[_0xfda3('0x1f')](function(_0x32c835){var _0x3e674e=_0x3ed7c1[_0xfda3('0x5e')][_0xfda3('0x35')]({'plain':!![]});if(!_0x3e674e)throw new Error('Unable\x20to\x20retrieve\x20the\x20current\x20user');if(_0x3e674e['role']===_0xfda3('0x5e')){var _0x35178a=_0x32c835['get']({'plain':!![]});var _0x29d503=_0xfda3('0x36');return db[_0xfda3('0x5f')][_0xfda3('0x5b')]({'where':{'name':_0x29d503,'userProfileId':_0x3e674e['userProfileId']},'raw':!![]})['then'](function(_0xb61f7c){if(_0xb61f7c&&_0xb61f7c[_0xfda3('0x60')]===0x0){return db[_0xfda3('0x37')]['create']({'name':_0x35178a[_0xfda3('0x3b')],'resourceId':_0x35178a['id'],'type':_0xb61f7c['name'],'sectionId':_0xb61f7c['id']},{})[_0xfda3('0x1f')](function(){return _0x32c835;});}else{return _0x32c835;}})[_0xfda3('0x28')](function(_0x1cc5b2){logger[_0xfda3('0x24')](_0xfda3('0x61'),_0x1cc5b2);throw _0x1cc5b2;});}return _0x32c835;})[_0xfda3('0x1f')](respondWithResult(_0x1fa27a,0xc9))['catch'](handleError(_0x1fa27a,null));};exports[_0xfda3('0x34')]=function(_0x471418,_0x1d13d4){if(_0x471418[_0xfda3('0x5d')]['id']){delete _0x471418[_0xfda3('0x5d')]['id'];}return db['WhatsappAccount']['find']({'where':{'id':_0x471418[_0xfda3('0x62')]['id']},'include':[{'model':db[_0xfda3('0x3d')],'as':'mandatoryDispositionPause'}]})['then'](handleEntityNotFound(_0x1d13d4,null))['then'](saveUpdates(_0x471418[_0xfda3('0x5d')],null))[_0xfda3('0x1f')](respondWithResult(_0x1d13d4,null))['catch'](handleError(_0x1d13d4,null));};exports[_0xfda3('0x38')]=function(_0x6eb00d,_0x2f67a1){return db[_0xfda3('0x55')]['find']({'where':{'id':_0x6eb00d[_0xfda3('0x62')]['id']}})[_0xfda3('0x1f')](handleEntityNotFound(_0x2f67a1,null))[_0xfda3('0x1f')](removeEntity(_0x2f67a1,null))[_0xfda3('0x28')](handleError(_0x2f67a1,null));};exports[_0xfda3('0x63')]=function(_0xf252ce,_0x551ac1){return db['WhatsappAccount'][_0xfda3('0x63')]()['then'](respondWithResult(_0x551ac1,null))[_0xfda3('0x28')](handleError(_0x551ac1,null));};exports[_0xfda3('0x64')]=function(_0x20704a,_0x3884b1,_0x1d6547){if(_0x20704a[_0xfda3('0x5d')]['id']){delete _0x20704a[_0xfda3('0x5d')]['id'];}return db[_0xfda3('0x55')][_0xfda3('0x5b')]({'where':{'id':_0x20704a[_0xfda3('0x62')]['id']}})['then'](handleEntityNotFound(_0x3884b1,null))[_0xfda3('0x1f')](function(_0x49f04a){if(_0x49f04a){_0x20704a['body'][_0xfda3('0x65')]=_0x49f04a['id'];return db[_0xfda3('0x66')]['create'](_0x20704a[_0xfda3('0x5d')]);}})[_0xfda3('0x1f')](respondWithResult(_0x3884b1,null))[_0xfda3('0x28')](handleError(_0x3884b1,null));};exports['getDispositions']=function(_0x1a825c,_0x3fe104,_0x5b7684){var _0x28f4cd={'raw':![],'where':{}};var _0x2448b1={};var _0x4c7435={'count':0x0,'rows':[]};return db['WhatsappAccount']['findOne']({'where':{'id':_0x1a825c[_0xfda3('0x62')]['id']}})[_0xfda3('0x1f')](handleEntityNotFound(_0x3fe104,null))[_0xfda3('0x1f')](function(_0x39cb99){if(_0x39cb99){_0x2448b1[_0xfda3('0x43')]=_[_0xfda3('0x46')](db['Disposition'][_0xfda3('0x3f')]);_0x2448b1[_0xfda3('0x45')]=_[_0xfda3('0x46')](_0x1a825c[_0xfda3('0x45')]);_0x2448b1['filters']=_[_0xfda3('0x48')](_0x2448b1['model'],_0x2448b1[_0xfda3('0x45')]);_0x28f4cd[_0xfda3('0x4a')]=_[_0xfda3('0x48')](_0x2448b1[_0xfda3('0x43')],qs[_0xfda3('0x49')](_0x1a825c[_0xfda3('0x45')][_0xfda3('0x49')]));_0x28f4cd['attributes']=_0x28f4cd[_0xfda3('0x4a')][_0xfda3('0x4b')]?_0x28f4cd[_0xfda3('0x4a')]:_0x2448b1[_0xfda3('0x43')];if(!_0x1a825c[_0xfda3('0x45')][_0xfda3('0x67')]('nolimit')){_0x28f4cd[_0xfda3('0x2e')]=qs[_0xfda3('0x2e')](_0x1a825c[_0xfda3('0x45')][_0xfda3('0x2e')]);_0x28f4cd[_0xfda3('0x2d')]=qs['offset'](_0x1a825c[_0xfda3('0x45')][_0xfda3('0x2d')]);}_0x28f4cd[_0xfda3('0x4d')]=qs[_0xfda3('0x4e')](_0x1a825c[_0xfda3('0x45')][_0xfda3('0x4e')]);_0x28f4cd[_0xfda3('0x4f')]=qs[_0xfda3('0x47')](_[_0xfda3('0x50')](_0x1a825c[_0xfda3('0x45')],_0x2448b1['filters']));_0x28f4cd[_0xfda3('0x4f')][_0xfda3('0x65')]=_0x39cb99['id'];if(_0x1a825c[_0xfda3('0x45')][_0xfda3('0x53')]){_0x28f4cd[_0xfda3('0x4f')]=_['merge'](_0x28f4cd['where'],{'$or':_[_0xfda3('0x44')](_0x28f4cd[_0xfda3('0x4a')],function(_0x120fe9){var _0x17a13c={};_0x17a13c[_0x120fe9]={'$like':'%'+_0x1a825c[_0xfda3('0x45')][_0xfda3('0x53')]+'%'};return _0x17a13c;})});}_0x28f4cd=_[_0xfda3('0x51')]({},_0x28f4cd,_0x1a825c[_0xfda3('0x54')]);return db[_0xfda3('0x66')][_0xfda3('0x2c')]({'where':_0x28f4cd[_0xfda3('0x4f')]})['then'](function(_0x1ee8f4){_0x4c7435['count']=_0x1ee8f4;if(_0x1a825c['query']['includeAll']){_0x28f4cd[_0xfda3('0x56')]=[{'all':!![]}];}return db['Disposition'][_0xfda3('0x57')](_0x28f4cd);})[_0xfda3('0x1f')](function(_0x5d1ebe){_0x4c7435[_0xfda3('0x58')]=_0x5d1ebe;return _0x4c7435;});}})[_0xfda3('0x1f')](respondWithFilteredResult(_0x3fe104,_0x28f4cd))['catch'](handleError(_0x3fe104,null));};exports[_0xfda3('0x68')]=function(_0x54fcfc,_0x35e986,_0x3a66ca){return db['WhatsappAccount'][_0xfda3('0x5b')]({'where':{'id':_0x54fcfc[_0xfda3('0x62')]['id']}})[_0xfda3('0x1f')](handleEntityNotFound(_0x35e986,null))[_0xfda3('0x1f')](function(_0x11d159){if(_0x11d159){return _0x11d159['removeDispositions'](_0x54fcfc[_0xfda3('0x45')][_0xfda3('0x69')]);}})[_0xfda3('0x1f')](respondWithStatusCode(_0x35e986,null))[_0xfda3('0x28')](handleError(_0x35e986,null));};exports[_0xfda3('0x6a')]=function(_0x5f4220,_0x5d64bb,_0x53e829){if(_0x5f4220[_0xfda3('0x5d')]['id']){delete _0x5f4220[_0xfda3('0x5d')]['id'];}return db[_0xfda3('0x55')][_0xfda3('0x5b')]({'where':{'id':_0x5f4220[_0xfda3('0x62')]['id']}})[_0xfda3('0x1f')](handleEntityNotFound(_0x5d64bb,null))[_0xfda3('0x1f')](function(_0xeb8e37){if(_0xeb8e37){_0x5f4220['body'][_0xfda3('0x65')]=_0xeb8e37['id'];return db[_0xfda3('0x6b')]['create'](_0x5f4220[_0xfda3('0x5d')]);}})[_0xfda3('0x1f')](respondWithResult(_0x5d64bb,null))['catch'](handleError(_0x5d64bb,null));};exports[_0xfda3('0x6c')]=function(_0x41d6de,_0x12ebf9,_0x3e3761){var _0x4106f0={'raw':![],'where':{}};var _0x547d43={};var _0x2fa142={'count':0x0,'rows':[]};return db[_0xfda3('0x55')][_0xfda3('0x6d')]({'where':{'id':_0x41d6de[_0xfda3('0x62')]['id']}})['then'](handleEntityNotFound(_0x12ebf9,null))[_0xfda3('0x1f')](function(_0x826569){if(_0x826569){_0x547d43[_0xfda3('0x43')]=_[_0xfda3('0x46')](db[_0xfda3('0x6b')][_0xfda3('0x3f')]);_0x547d43[_0xfda3('0x45')]=_[_0xfda3('0x46')](_0x41d6de[_0xfda3('0x45')]);_0x547d43[_0xfda3('0x47')]=_[_0xfda3('0x48')](_0x547d43['model'],_0x547d43['query']);_0x4106f0[_0xfda3('0x4a')]=_['intersection'](_0x547d43[_0xfda3('0x43')],qs['fields'](_0x41d6de['query']['fields']));_0x4106f0[_0xfda3('0x4a')]=_0x4106f0[_0xfda3('0x4a')]['length']?_0x4106f0['attributes']:_0x547d43['model'];if(!_0x41d6de['query']['hasOwnProperty']('nolimit')){_0x4106f0[_0xfda3('0x2e')]=qs['limit'](_0x41d6de['query'][_0xfda3('0x2e')]);_0x4106f0['offset']=qs['offset'](_0x41d6de[_0xfda3('0x45')][_0xfda3('0x2d')]);}_0x4106f0[_0xfda3('0x4d')]=qs['sort'](_0x41d6de[_0xfda3('0x45')][_0xfda3('0x4e')]);_0x4106f0[_0xfda3('0x4f')]=qs[_0xfda3('0x47')](_['pick'](_0x41d6de[_0xfda3('0x45')],_0x547d43[_0xfda3('0x47')]));_0x4106f0['where'][_0xfda3('0x65')]=_0x826569['id'];if(_0x41d6de[_0xfda3('0x45')][_0xfda3('0x53')]){_0x4106f0[_0xfda3('0x4f')]=_[_0xfda3('0x51')](_0x4106f0['where'],{'$or':_[_0xfda3('0x44')](_0x4106f0[_0xfda3('0x4a')],function(_0x52df18){var _0x25a50e={};_0x25a50e[_0x52df18]={'$like':'%'+_0x41d6de[_0xfda3('0x45')]['filter']+'%'};return _0x25a50e;})});}_0x4106f0=_[_0xfda3('0x51')]({},_0x4106f0,_0x41d6de[_0xfda3('0x54')]);return db['CannedAnswer']['count']({'where':_0x4106f0[_0xfda3('0x4f')]})[_0xfda3('0x1f')](function(_0x232125){_0x2fa142[_0xfda3('0x2c')]=_0x232125;if(_0x41d6de[_0xfda3('0x45')][_0xfda3('0x5a')]){_0x4106f0[_0xfda3('0x56')]=[{'all':!![]}];}return db['CannedAnswer']['findAll'](_0x4106f0);})[_0xfda3('0x1f')](function(_0x18408a){_0x2fa142[_0xfda3('0x58')]=_0x18408a;return _0x2fa142;});}})['then'](respondWithFilteredResult(_0x12ebf9,_0x4106f0))[_0xfda3('0x28')](handleError(_0x12ebf9,null));};exports[_0xfda3('0x6e')]=function(_0xd23ce1,_0x5d6d20,_0x4f9f5c){return db[_0xfda3('0x55')][_0xfda3('0x5b')]({'where':{'id':_0xd23ce1[_0xfda3('0x62')]['id']}})['then'](handleEntityNotFound(_0x5d6d20,null))[_0xfda3('0x1f')](function(_0x1695ba){if(_0x1695ba){return _0x1695ba['removeAnswers'](_0xd23ce1[_0xfda3('0x45')][_0xfda3('0x69')]);}})['then'](respondWithStatusCode(_0x5d6d20,null))[_0xfda3('0x28')](handleError(_0x5d6d20,null));};exports[_0xfda3('0x6f')]=function(_0x349072,_0x5e3151,_0x172f7d){return db[_0xfda3('0x55')][_0xfda3('0x5b')]({'where':{'id':_0x349072['params']['id']}})['then'](handleEntityNotFound(_0x5e3151,null))[_0xfda3('0x1f')](function(_0x1710f1){if(_0x1710f1){return _0x1710f1[_0xfda3('0x6f')](_0x349072['body'][_0xfda3('0x69')],_['omit'](_0x349072['body'],[_0xfda3('0x69'),'id'])||{})[_0xfda3('0x70')](function(_0x3d1cb3){for(var _0x2b5bc4=0x0;_0x2b5bc4<_0x349072['body'][_0xfda3('0x69')][_0xfda3('0x4b')];_0x2b5bc4+=0x1){socket[_0xfda3('0x71')](_0xfda3('0x72'),{'UserId':_0x349072['body']['ids'][_0x2b5bc4],'WhatsappAccountId':_0x349072[_0xfda3('0x62')]['id']});}return _0x3d1cb3;});}})[_0xfda3('0x1f')](respondWithResult(_0x5e3151,null))[_0xfda3('0x28')](handleError(_0x5e3151,null));};exports[_0xfda3('0x73')]=function(_0x37d76a,_0x1b1feb,_0x5a0b78){return db[_0xfda3('0x55')][_0xfda3('0x5b')]({'where':{'id':_0x37d76a[_0xfda3('0x62')]['id']}})[_0xfda3('0x1f')](handleEntityNotFound(_0x1b1feb,null))[_0xfda3('0x1f')](function(_0x2d1911){if(_0x2d1911){return _0x2d1911[_0xfda3('0x73')](_0x37d76a['query'][_0xfda3('0x69')])[_0xfda3('0x1f')](function(){if(_[_0xfda3('0x74')](_0x37d76a[_0xfda3('0x45')][_0xfda3('0x69')])){for(var _0x211aeb=0x0;_0x211aeb<_0x37d76a[_0xfda3('0x45')][_0xfda3('0x69')]['length'];_0x211aeb+=0x1){socket[_0xfda3('0x71')](_0xfda3('0x75'),{'UserId':Number(_0x37d76a[_0xfda3('0x45')]['ids'][_0x211aeb]),'WhatsappAccountId':Number(_0x37d76a[_0xfda3('0x62')]['id'])});}}else{socket[_0xfda3('0x71')](_0xfda3('0x75'),{'UserId':Number(_0x37d76a[_0xfda3('0x45')][_0xfda3('0x69')]),'WhatsappAccountId':Number(_0x37d76a[_0xfda3('0x62')]['id'])});}});}})[_0xfda3('0x1f')](respondWithStatusCode(_0x1b1feb,null))['catch'](handleError(_0x1b1feb,null));};exports['getAgents']=function(_0x2101e4,_0x3e32e4,_0x441723){var _0x99dbe4={};var _0x43e2b7={};var _0x5dec3b;var _0x518ebd;return db[_0xfda3('0x55')]['findOne']({'where':{'id':_0x2101e4[_0xfda3('0x62')]['id']}})[_0xfda3('0x1f')](handleEntityNotFound(_0x3e32e4,null))[_0xfda3('0x1f')](function(_0x307336){if(_0x307336){_0x5dec3b=_0x307336;_0x43e2b7[_0xfda3('0x43')]=_[_0xfda3('0x46')](db['User']['rawAttributes']);_0x43e2b7[_0xfda3('0x45')]=_[_0xfda3('0x46')](_0x2101e4['query']);_0x43e2b7[_0xfda3('0x47')]=_[_0xfda3('0x48')](_0x43e2b7['model'],_0x43e2b7[_0xfda3('0x45')]);_0x99dbe4['attributes']=_[_0xfda3('0x48')](_0x43e2b7[_0xfda3('0x43')],qs['fields'](_0x2101e4[_0xfda3('0x45')][_0xfda3('0x49')]));_0x99dbe4['attributes']=_0x99dbe4[_0xfda3('0x4a')][_0xfda3('0x4b')]?_0x99dbe4['attributes']:_0x43e2b7[_0xfda3('0x43')];_0x99dbe4[_0xfda3('0x4d')]=qs[_0xfda3('0x4e')](_0x2101e4[_0xfda3('0x45')][_0xfda3('0x4e')]);_0x99dbe4[_0xfda3('0x4f')]=qs['filters'](_[_0xfda3('0x50')](_0x2101e4[_0xfda3('0x45')],_0x43e2b7['filters']));if(_0x2101e4['query'][_0xfda3('0x53')]){_0x99dbe4['where']=_['merge'](_0x99dbe4[_0xfda3('0x4f')],{'$or':_['map'](_0x99dbe4[_0xfda3('0x4a')],function(_0x35af25){var _0x30f340={};_0x30f340[_0x35af25]={'$like':'%'+_0x2101e4['query'][_0xfda3('0x53')]+'%'};return _0x30f340;})});}_0x99dbe4=_['merge']({},_0x99dbe4,_0x2101e4['options']);return _0x5dec3b[_0xfda3('0x76')](_0x99dbe4);}})[_0xfda3('0x1f')](function(_0xed9d63){if(_0xed9d63){_0x518ebd=_0xed9d63[_0xfda3('0x4b')];if(!_0x2101e4[_0xfda3('0x45')]['hasOwnProperty'](_0xfda3('0x4c'))){_0x99dbe4[_0xfda3('0x2e')]=qs['limit'](_0x2101e4[_0xfda3('0x45')]['limit']);_0x99dbe4[_0xfda3('0x2d')]=qs[_0xfda3('0x2d')](_0x2101e4[_0xfda3('0x45')]['offset']);}return _0x5dec3b[_0xfda3('0x76')](_0x99dbe4);}})['then'](function(_0x4d3365){if(_0x4d3365){return _0x4d3365?{'count':_0x518ebd,'rows':_0x4d3365}:null;}})[_0xfda3('0x1f')](respondWithResult(_0x3e32e4,null))[_0xfda3('0x28')](handleError(_0x3e32e4,null));};exports[_0xfda3('0x77')]=function(_0x4d281c,_0x392d8f,_0x54d70f){return db[_0xfda3('0x55')]['findOne']({'where':{'id':_0x4d281c[_0xfda3('0x62')]['id']}})['then'](handleEntityNotFound(_0x392d8f,null))[_0xfda3('0x1f')](function(_0xa35447){if(_0xa35447){return db[_0xfda3('0x78')][_0xfda3('0x79')](function(_0x501e90){return db[_0xfda3('0x7a')]['destroy']({'where':{'WhatsappAccountId':_0x4d281c[_0xfda3('0x62')]['id']},'transaction':_0x501e90})[_0xfda3('0x1f')](function(_0x2ffcd6){var _0x5efa96=_['map'](_0x4d281c[_0xfda3('0x5d')],function(_0x1d4ac3){_0x1d4ac3[_0xfda3('0x65')]=_0x4d281c[_0xfda3('0x62')]['id'];return _0x1d4ac3;});return db[_0xfda3('0x7a')]['bulkCreate'](_0x5efa96,{'transaction':_0x501e90});});})['then'](function(){return db[_0xfda3('0x7a')][_0xfda3('0x7b')]({'where':{'WhatsappAccountId':_0x4d281c['params']['id']},'order':_0xfda3('0x7c')});});}})[_0xfda3('0x1f')](respondWithResult(_0x392d8f,null))[_0xfda3('0x28')](handleError(_0x392d8f,null));};exports[_0xfda3('0x7d')]=function(_0x3bb621,_0x447be3,_0x341974){var _0x1e5a5e={};var _0x62f9bb={};var _0x55bbab;var _0xf843df;return db[_0xfda3('0x55')][_0xfda3('0x6d')]({'where':{'id':_0x3bb621['params']['id']}})[_0xfda3('0x1f')](handleEntityNotFound(_0x447be3,null))[_0xfda3('0x1f')](function(_0x228612){if(_0x228612){_0x55bbab=_0x228612;_0x62f9bb[_0xfda3('0x43')]=_['keys'](db['WhatsappApplication']['rawAttributes']);_0x62f9bb[_0xfda3('0x45')]=_[_0xfda3('0x46')](_0x3bb621[_0xfda3('0x45')]);_0x62f9bb[_0xfda3('0x47')]=_[_0xfda3('0x48')](_0x62f9bb['model'],_0x62f9bb['query']);_0x1e5a5e['attributes']=_[_0xfda3('0x48')](_0x62f9bb[_0xfda3('0x43')],qs[_0xfda3('0x49')](_0x3bb621[_0xfda3('0x45')][_0xfda3('0x49')]));_0x1e5a5e[_0xfda3('0x4a')]=_0x1e5a5e[_0xfda3('0x4a')][_0xfda3('0x4b')]?_0x1e5a5e[_0xfda3('0x4a')]:_0x62f9bb[_0xfda3('0x43')];_0x1e5a5e[_0xfda3('0x4d')]=qs['sort'](_0x3bb621[_0xfda3('0x45')][_0xfda3('0x4e')]);_0x1e5a5e[_0xfda3('0x4f')]=qs['filters'](_['pick'](_0x3bb621[_0xfda3('0x45')],_0x62f9bb[_0xfda3('0x47')]));if(_0x3bb621[_0xfda3('0x45')]['filter']){_0x1e5a5e[_0xfda3('0x4f')]=_[_0xfda3('0x51')](_0x1e5a5e['where'],{'$or':_['map'](_0x1e5a5e[_0xfda3('0x4a')],function(_0x4501f4){var _0x550916={};_0x550916[_0x4501f4]={'$like':'%'+_0x3bb621[_0xfda3('0x45')][_0xfda3('0x53')]+'%'};return _0x550916;})});}_0x1e5a5e=_[_0xfda3('0x51')]({},_0x1e5a5e,_0x3bb621['options']);return _0x55bbab[_0xfda3('0x7d')](_0x1e5a5e);}})[_0xfda3('0x1f')](function(_0x3ffd93){if(_0x3ffd93){_0xf843df=_0x3ffd93[_0xfda3('0x4b')];if(!_0x3bb621[_0xfda3('0x45')][_0xfda3('0x67')](_0xfda3('0x4c'))){_0x1e5a5e['limit']=qs[_0xfda3('0x2e')](_0x3bb621[_0xfda3('0x45')][_0xfda3('0x2e')]);_0x1e5a5e[_0xfda3('0x2d')]=qs['offset'](_0x3bb621[_0xfda3('0x45')][_0xfda3('0x2d')]);}return _0x55bbab['getApplications'](_0x1e5a5e);}})['then'](function(_0x103b06){if(_0x103b06){return _0x103b06?{'count':_0xf843df,'rows':_0x103b06}:null;}})[_0xfda3('0x1f')](respondWithResult(_0x447be3,null))[_0xfda3('0x28')](handleError(_0x447be3,null));};exports['notify']=function(_0x3f3834,_0x39f666,_0x1cd600){var _0x49b19f={'channel':_0xfda3('0x7e')};var _0x5233b7=[];var _0x4f22f3=[];var _0x51ac2e={};return db[_0xfda3('0x55')][_0xfda3('0x5b')]({'where':{'id':_0x3f3834[_0xfda3('0x62')]['id']},'include':[{'model':db[_0xfda3('0x7a')],'as':'Applications'}]})[_0xfda3('0x1f')](handleEntityNotFound(_0x39f666,null))[_0xfda3('0x1f')](function(_0x55b13b){_0x49b19f[_0xfda3('0x7f')]=_0x55b13b;_0x49b19f['applications']=_[_0xfda3('0x80')](_0x55b13b[_0xfda3('0x81')],[_0xfda3('0x7c')],[_0xfda3('0x82')]);if(_0x49b19f[_0xfda3('0x7f')]['Applications']){delete _0x49b19f[_0xfda3('0x7f')][_0xfda3('0x81')];}return db[_0xfda3('0x83')][_0xfda3('0x63')]();})['then'](function(_0x1f16ce){if(!_0x1f16ce){throw new db[(_0xfda3('0x1b'))][(_0xfda3('0x1c'))](_0xfda3('0x84'));}_0x5233b7=_[_0xfda3('0x85')](_['keys'](_0x1f16ce),[_0xfda3('0x86'),_0xfda3('0x87')]);_0x4f22f3=_[_0xfda3('0x85')](_['keys'](_0x1f16ce),['createdAt',_0xfda3('0x87'),_0xfda3('0x88'),_0xfda3('0x89')]);_0x49b19f[_0xfda3('0x5d')]={'mapKey':'mobile'};if(_0x49b19f[_0xfda3('0x7f')][_0xfda3('0x41')]&&_0x49b19f[_0xfda3('0x7f')][_0xfda3('0x41')]===_0xfda3('0x8a')){_0x49b19f[_0xfda3('0x5d')]['from']=_0x3f3834['body'][_0xfda3('0x8b')][_0xfda3('0x8c')]('whatsapp:','');_0x49b19f[_0xfda3('0x5d')][_0xfda3('0x5d')]=_0x3f3834[_0xfda3('0x5d')][_0xfda3('0x8d')];_0x49b19f[_0xfda3('0x5d')][_0xfda3('0x8e')]=_0x3f3834[_0xfda3('0x5d')][_0xfda3('0x8f')];}if(_0x49b19f['body']['id']){delete _0x49b19f[_0xfda3('0x5d')]['id'];}if(_[_0xfda3('0x90')](_0x49b19f['body']['from'])){throw new db[(_0xfda3('0x1b'))][(_0xfda3('0x1c'))](_0xfda3('0x91'));}if(_[_0xfda3('0x90')](_0x49b19f[_0xfda3('0x5d')]['body'])||_0x49b19f[_0xfda3('0x5d')][_0xfda3('0x5d')]===''){throw new db['Sequelize']['ValidationError'](_0xfda3('0x92'));}if(_['isNil'](_0x49b19f['body'][_0xfda3('0x93')])){throw new db['Sequelize']['ValidationError'](_0xfda3('0x94')+_0x4f22f3);}if(!_[_0xfda3('0x95')](_0x4f22f3,_0x49b19f[_0xfda3('0x5d')]['mapKey'])){throw new db['Sequelize'][(_0xfda3('0x1c'))](_0xfda3('0x96')+_0x4f22f3);}_0x51ac2e[_0x49b19f['body'][_0xfda3('0x93')]]=_0x49b19f[_0xfda3('0x5d')][_0xfda3('0x97')];return db[_0xfda3('0x98')][_0xfda3('0x5b')]({'where':{'id':_0x49b19f[_0xfda3('0x7f')]['ListId']},'include':[{'model':db[_0xfda3('0x83')],'as':'Contacts','where':_0x51ac2e,'limit':0x1,'order':[[_0xfda3('0x87'),_0xfda3('0x99')]]}]});})[_0xfda3('0x1f')](handleEntityNotFound(_0x39f666,null))[_0xfda3('0x1f')](function(_0xaf416b){if(_0xaf416b){_0x49b19f[_0xfda3('0x9a')]=_['omit'](_0xaf416b,[_0xfda3('0x9b')]);if(_0xaf416b[_0xfda3('0x9b')][_0xfda3('0x4b')]){return _0xaf416b[_0xfda3('0x9b')][0x0];}var _0x38df18=_[_0xfda3('0x9c')](_0x49b19f[_0xfda3('0x5d')],{'firstName':_0x49b19f[_0xfda3('0x5d')][_0xfda3('0x97')],'ListId':_0xaf416b['id']});_0x38df18[_0x49b19f[_0xfda3('0x5d')][_0xfda3('0x93')]]=_0x49b19f['body'][_0xfda3('0x97')];return db[_0xfda3('0x83')][_0xfda3('0x5c')](_0x38df18,{'fields':_0x5233b7,'raw':!![]});}})[_0xfda3('0x1f')](handleEntityNotFound(_0x39f666,null))[_0xfda3('0x1f')](function(_0x36493b){if(_0x36493b){_0x49b19f['contact']=_0x36493b;var _0x454ed0={'ContactId':_0x36493b['id'],'phone':_0x49b19f[_0xfda3('0x5d')][_0xfda3('0x97')],'WhatsappAccountId':_0x3f3834[_0xfda3('0x62')]['id']};var _0x3a914e={'ContactId':_0x36493b['id'],'WhatsappAccountId':_0x3f3834['params']['id'],'closed':![]};return db['WhatsappInteraction']['find']({'where':_0x3a914e})['then'](function(_0x546ab0){if(_0x546ab0){return[_0x546ab0,![]];}return db[_0xfda3('0x9d')]['create'](_0x454ed0)[_0xfda3('0x1f')](function(_0x5082fa){return[_0x5082fa,!![]];});});}})['spread'](function(_0x2c2b74,_0x75b9d6){_0x49b19f[_0xfda3('0x9e')]=_0x2c2b74[_0xfda3('0x35')]({'plain':!![]});_0x49b19f[_0xfda3('0x9e')][_0xfda3('0x9f')]=![];if(_0x75b9d6){if(_0x49b19f[_0xfda3('0x7f')][_0xfda3('0xa0')]){_0x49b19f[_0xfda3('0xa1')][_0xfda3('0xa2')]({'id':0x0,'priority':_0x49b19f['applications'][_0xfda3('0x4b')]+0x1,'app':_0xfda3('0xa3'),'appdata':_0xfda3('0xa4'),'interval':_0xfda3('0xa5')});}_0x49b19f['interaction'][_0xfda3('0x9f')]=!![];}return db[_0xfda3('0xa6')][_0xfda3('0x5c')]({'phone':_0x49b19f[_0xfda3('0x5d')][_0xfda3('0x97')],'messageId':_0x49b19f[_0xfda3('0x5d')][_0xfda3('0x8e')],'body':_0x49b19f['body'][_0xfda3('0x5d')],'WhatsappAccountId':_0x3f3834[_0xfda3('0x62')]['id'],'WhatsappInteractionId':_0x2c2b74['id'],'direction':'in','ContactId':_0x2c2b74[_0xfda3('0xa7')],'AttachmentId':_0x49b19f[_0xfda3('0x5d')][_0xfda3('0xa8')]});})[_0xfda3('0x1f')](function(_0x115813){_0x49b19f[_0xfda3('0x25')]=_0x115813;if(_0x49b19f[_0xfda3('0x9e')][_0xfda3('0xa9')]){return db[_0xfda3('0xaa')]['find']({'attributes':['id',_0xfda3('0x3b')],'where':{'id':_0x49b19f[_0xfda3('0x9e')][_0xfda3('0xa9')]}})[_0xfda3('0x1f')](function(_0x1e4bbc){if(_0x1e4bbc){_0x49b19f['applications'][_0xfda3('0xab')]({'id':0x0,'priority':0x0,'app':'agent','appdata':_0x1e4bbc[_0xfda3('0x3b')]+','+(_0x49b19f[_0xfda3('0x7f')][_0xfda3('0xac')]||0xa),'interval':'*,*,*,*'});}return respondWithRpcPromise('Start',_0xfda3('0xad'),_0x49b19f);});}return respondWithRpcPromise(_0xfda3('0xae'),_0xfda3('0xad'),_0x49b19f);})[_0xfda3('0x1f')](function(_0x4a27e2){if(_0x4a27e2){var _0x1c50fb=0xc8;var _0x536008=_0xfda3('0xaf');logger[_0xfda3('0x26')](_0xfda3('0xb0'),_0x536008,_0x1c50fb,_0xfda3('0xb1'));logger['debug'](_0xfda3('0xb2'),_0x536008,_0x1c50fb,_0xfda3('0xb1'),JSON[_0xfda3('0x23')](_0x4a27e2));if(_0x49b19f[_0xfda3('0x7f')][_0xfda3('0x41')]===_0xfda3('0x8a')){return _0x39f666[_0xfda3('0x2a')](_0x1c50fb)[_0xfda3('0x2f')](_0xfda3('0xb3'),_0xfda3('0xb4'))['send']('\x0a');}else{return _0x39f666[_0xfda3('0x2a')](_0x1c50fb)['json'](_0x4a27e2);}}})['catch'](handleError(_0x39f666,null));};exports[_0xfda3('0x3c')]=function(_0x582c61,_0x2c014c,_0x544919){var _0x2a17fe,_0x4d9745,_0x23477a;if(_['isNil'](_0x582c61[_0xfda3('0x5d')][_0xfda3('0x5d')])||_0x582c61[_0xfda3('0x5d')][_0xfda3('0x5d')]===''){throw new db[(_0xfda3('0x1b'))][(_0xfda3('0x1c'))](_0xfda3('0x92'));}if(_[_0xfda3('0x90')](_0x582c61[_0xfda3('0x5d')]['to'])){throw new db[(_0xfda3('0x1b'))][(_0xfda3('0x1c'))](_0xfda3('0xb5'));}_0x2a17fe=_0x582c61[_0xfda3('0x5d')]['to'];return db['WhatsappAccount'][_0xfda3('0x5b')]({'where':{'id':_0x582c61[_0xfda3('0x62')]['id']},'include':[{'model':db[_0xfda3('0x98')],'as':_0xfda3('0xb6'),'include':[{'model':db[_0xfda3('0x83')],'as':_0xfda3('0x9b'),'where':{'mobile':_0x2a17fe},'limit':0x1,'order':[[_0xfda3('0x87'),_0xfda3('0x99')]]}]}]})[_0xfda3('0x1f')](handleEntityNotFound(_0x2c014c,null))[_0xfda3('0x1f')](function(_0x2472bf){if(_0x2472bf&&_0x2472bf[_0xfda3('0xb6')]){_0x4d9745=_0x2472bf[_0xfda3('0x35')]({'plain':!![]});if(_0x4d9745['List']&&_0x4d9745[_0xfda3('0xb6')]['Contacts']['length']){return _0x4d9745[_0xfda3('0xb6')]['Contacts'][0x0];}return db[_0xfda3('0x83')]['create'](_[_0xfda3('0x9c')](_0x582c61['body'],{'firstName':_0x2a17fe,'mobile':_0x2a17fe,'phone':_0x2a17fe,'ListId':_0x4d9745[_0xfda3('0x89')]}));}})[_0xfda3('0x1f')](handleEntityNotFound(_0x2c014c,null))[_0xfda3('0x1f')](function(_0x520e81){if(_0x520e81){_0x23477a=_0x520e81;return db[_0xfda3('0x9d')][_0xfda3('0x5b')]({'where':{'ContactId':_0x23477a['id'],'closed':![],'WhatsappAccountId':_0x4d9745['id']}})['then'](function(_0x4e7ac2){if(_0x4e7ac2){return[_0x4e7ac2,![]];}return db[_0xfda3('0x9d')][_0xfda3('0x5c')]({'UserId':_0x582c61[_0xfda3('0x5e')]['id'],'ContactId':_0x23477a['id'],'WhatsappAccountId':_0x4d9745['id'],'phone':_0x2a17fe,'firstMsgDirection':_0xfda3('0xb7'),'Messages':[_[_0xfda3('0x51')](_0x582c61[_0xfda3('0x5d')],{'read':![],'body':_0x582c61[_0xfda3('0x5d')]['body'],'phone':_0x2a17fe,'WhatsappAccountId':_0x4d9745['id'],'UserId':_0x582c61[_0xfda3('0x5e')]['id'],'ContactId':_0x23477a['id']})]},{'include':[{'model':db[_0xfda3('0xa6')],'as':'Messages'}]})[_0xfda3('0x1f')](function(_0x10d717){return[_0x10d717,!![]];});});}})[_0xfda3('0x70')](function(_0x438cb7,_0x9f8cec){if(_0x9f8cec){return _0x438cb7;}return db[_0xfda3('0xa6')][_0xfda3('0x5c')](_[_0xfda3('0x51')](_0x582c61[_0xfda3('0x5d')],{'read':![],'body':_0x582c61[_0xfda3('0x5d')][_0xfda3('0x5d')],'phone':_0x2a17fe,'WhatsappAccountId':_0x4d9745['id'],'WhatsappInteractionId':_0x438cb7['id'],'UserId':_0x582c61[_0xfda3('0x5e')]['id'],'ContactId':_0x23477a['id']}))[_0xfda3('0x1f')](function(_0x4837c1){_0x438cb7[_0xfda3('0xb8')][_0xfda3('0xb9')]=[];_0x438cb7['dataValues'][_0xfda3('0xb9')][_0xfda3('0xa2')](_0x4837c1[_0xfda3('0xb8')]);return _0x438cb7;});})[_0xfda3('0x1f')](respondWithResult(_0x2c014c,null))[_0xfda3('0x28')](handleError(_0x2c014c,null));}; \ No newline at end of file diff --git a/server/api/whatsappAccount/whatsappAccount.events.js b/server/api/whatsappAccount/whatsappAccount.events.js index 3a818e8..40e1b02 100644 --- a/server/api/whatsappAccount/whatsappAccount.events.js +++ b/server/api/whatsappAccount/whatsappAccount.events.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x1967=['exports','../../mysqldb','WhatsappAccount','setMaxListeners','save','update','remove','emit','hasOwnProperty','hook'];(function(_0x18265e,_0x1ae55a){var _0x34bf1c=function(_0x47e8f5){while(--_0x47e8f5){_0x18265e['push'](_0x18265e['shift']());}};_0x34bf1c(++_0x1ae55a);}(_0x1967,0x173));var _0x7196=function(_0x44208b,_0x44e0ea){_0x44208b=_0x44208b-0x0;var _0x34488d=_0x1967[_0x44208b];return _0x34488d;};'use strict';var EventEmitter=require('events');var WhatsappAccount=require(_0x7196('0x0'))['db'][_0x7196('0x1')];var WhatsappAccountEvents=new EventEmitter();WhatsappAccountEvents[_0x7196('0x2')](0x0);var events={'afterCreate':_0x7196('0x3'),'afterUpdate':_0x7196('0x4'),'afterDestroy':_0x7196('0x5')};function emitEvent(_0x302f34){return function(_0x1aaddd,_0x458ae8,_0x3ae43f){WhatsappAccountEvents['emit'](_0x302f34+':'+_0x1aaddd['id'],_0x1aaddd);WhatsappAccountEvents[_0x7196('0x6')](_0x302f34,_0x1aaddd);_0x3ae43f(null);};}for(var e in events){if(events[_0x7196('0x7')](e)){var event=events[e];WhatsappAccount[_0x7196('0x8')](e,emitEvent(event));}}module[_0x7196('0x9')]=WhatsappAccountEvents; \ No newline at end of file +var _0x4fb4=['../../mysqldb','WhatsappAccount','setMaxListeners','save','update','remove','emit','hasOwnProperty','hook','exports'];(function(_0x1ac120,_0x3e7e45){var _0x19b703=function(_0x5f32cb){while(--_0x5f32cb){_0x1ac120['push'](_0x1ac120['shift']());}};_0x19b703(++_0x3e7e45);}(_0x4fb4,0x190));var _0x44fb=function(_0x31de2,_0x1d77bb){_0x31de2=_0x31de2-0x0;var _0x5bd3ba=_0x4fb4[_0x31de2];return _0x5bd3ba;};'use strict';var EventEmitter=require('events');var WhatsappAccount=require(_0x44fb('0x0'))['db'][_0x44fb('0x1')];var WhatsappAccountEvents=new EventEmitter();WhatsappAccountEvents[_0x44fb('0x2')](0x0);var events={'afterCreate':_0x44fb('0x3'),'afterUpdate':_0x44fb('0x4'),'afterDestroy':_0x44fb('0x5')};function emitEvent(_0x53ee5d){return function(_0xec6dce,_0x953327,_0x308b96){WhatsappAccountEvents[_0x44fb('0x6')](_0x53ee5d+':'+_0xec6dce['id'],_0xec6dce);WhatsappAccountEvents[_0x44fb('0x6')](_0x53ee5d,_0xec6dce);_0x308b96(null);};}for(var e in events){if(events[_0x44fb('0x7')](e)){var event=events[e];WhatsappAccount[_0x44fb('0x8')](e,emitEvent(event));}}module[_0x44fb('0x9')]=WhatsappAccountEvents; \ No newline at end of file diff --git a/server/api/whatsappAccount/whatsappAccount.model.js b/server/api/whatsappAccount/whatsappAccount.model.js index 12103ab..c3ee20a 100644 --- a/server/api/whatsappAccount/whatsappAccount.model.js +++ b/server/api/whatsappAccount/whatsappAccount.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x0023=['exports','define','WhatsappAccount','whatsapp_accounts','lodash','../../config/logger','api','bluebird','request-promise','path','../../config/environment','./whatsappAccount.attributes'];(function(_0x35be55,_0x2e82c8){var _0x3b5c31=function(_0x5be986){while(--_0x5be986){_0x35be55['push'](_0x35be55['shift']());}};_0x3b5c31(++_0x2e82c8);}(_0x0023,0x1f0));var _0x3002=function(_0x21ca2a,_0x469aee){_0x21ca2a=_0x21ca2a-0x0;var _0x1ba7fd=_0x0023[_0x21ca2a];return _0x1ba7fd;};'use strict';var _=require(_0x3002('0x0'));var util=require('util');var logger=require(_0x3002('0x1'))(_0x3002('0x2'));var moment=require('moment');var BPromise=require(_0x3002('0x3'));var rp=require(_0x3002('0x4'));var fs=require('fs');var path=require(_0x3002('0x5'));var rimraf=require('rimraf');var config=require(_0x3002('0x6'));var attributes=require(_0x3002('0x7'));module[_0x3002('0x8')]=function(_0x15bfd8,_0x500bc7){return _0x15bfd8[_0x3002('0x9')](_0x3002('0xa'),attributes,{'tableName':_0x3002('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0x1107=['../../config/logger','moment','request-promise','path','../../config/environment','./whatsappAccount.attributes','exports','WhatsappAccount','whatsapp_accounts','lodash','util'];(function(_0x2518f1,_0xfc23fd){var _0x1ad28d=function(_0xdb18f0){while(--_0xdb18f0){_0x2518f1['push'](_0x2518f1['shift']());}};_0x1ad28d(++_0xfc23fd);}(_0x1107,0xa3));var _0x7110=function(_0xd58fc1,_0x1d931c){_0xd58fc1=_0xd58fc1-0x0;var _0xc71c40=_0x1107[_0xd58fc1];return _0xc71c40;};'use strict';var _=require(_0x7110('0x0'));var util=require(_0x7110('0x1'));var logger=require(_0x7110('0x2'))('api');var moment=require(_0x7110('0x3'));var BPromise=require('bluebird');var rp=require(_0x7110('0x4'));var fs=require('fs');var path=require(_0x7110('0x5'));var rimraf=require('rimraf');var config=require(_0x7110('0x6'));var attributes=require(_0x7110('0x7'));module[_0x7110('0x8')]=function(_0x4e8a0e,_0x26d197){return _0x4e8a0e['define'](_0x7110('0x9'),attributes,{'tableName':_0x7110('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/whatsappAccount/whatsappAccount.rpc.js b/server/api/whatsappAccount/whatsappAccount.rpc.js index 1ee2736..69ff722 100644 --- a/server/api/whatsappAccount/whatsappAccount.rpc.js +++ b/server/api/whatsappAccount/whatsappAccount.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x4d84=['then','info','request\x20sent','stringify','error','code','WhatsappAccount,\x20%s,\x20%s','message','result','catch','WhatsappAccount','options','raw','where','attributes','map','include','model','ShowWhatsappAccount','lodash','moment','bluebird','../../mysqldb','../../config/logger','rpc','../../config/environment','redis','socket.io-emitter','./whatsappAccount.socket','register','request'];(function(_0x29d48f,_0x480c3d){var _0x5310f5=function(_0x19c18b){while(--_0x19c18b){_0x29d48f['push'](_0x29d48f['shift']());}};_0x5310f5(++_0x480c3d);}(_0x4d84,0x1c5));var _0x44d8=function(_0x286354,_0x128be5){_0x286354=_0x286354-0x0;var _0x30fe4d=_0x4d84[_0x286354];return _0x30fe4d;};'use strict';var _=require(_0x44d8('0x0'));var util=require('util');var moment=require(_0x44d8('0x1'));var BPromise=require(_0x44d8('0x2'));var rs=require('randomstring');var fs=require('fs');var Redis=require('ioredis');var db=require(_0x44d8('0x3'))['db'];var utils=require('../../config/utils');var logger=require(_0x44d8('0x4'))(_0x44d8('0x5'));var config=require(_0x44d8('0x6'));var jayson=require('jayson/promise');var client=jayson['client']['http']({'port':0x232a});config[_0x44d8('0x7')]=_['defaults'](config['redis'],{'host':'localhost','port':0x18eb});var socket=require(_0x44d8('0x8'))(new Redis(config[_0x44d8('0x7')]));require(_0x44d8('0x9'))[_0x44d8('0xa')](socket);function respondWithRpcPromise(_0x54bafb,_0x1bdf98,_0x503f75){return new BPromise(function(_0x47de3d,_0x45e4d5){return client[_0x44d8('0xb')](_0x54bafb,_0x503f75)[_0x44d8('0xc')](function(_0x575929){logger[_0x44d8('0xd')]('WhatsappAccount,\x20%s,\x20%s',_0x1bdf98,_0x44d8('0xe'));logger['debug']('WhatsappAccount,\x20%s,\x20%s,\x20%s',_0x1bdf98,_0x44d8('0xe'),JSON[_0x44d8('0xf')](_0x575929));if(_0x575929[_0x44d8('0x10')]){if(_0x575929[_0x44d8('0x10')][_0x44d8('0x11')]===0x1f4){logger[_0x44d8('0x10')](_0x44d8('0x12'),_0x1bdf98,_0x575929[_0x44d8('0x10')][_0x44d8('0x13')]);return _0x45e4d5(_0x575929['error']['message']);}logger[_0x44d8('0x10')](_0x44d8('0x12'),_0x1bdf98,_0x575929[_0x44d8('0x10')][_0x44d8('0x13')]);return _0x47de3d(_0x575929[_0x44d8('0x10')][_0x44d8('0x13')]);}else{logger[_0x44d8('0xd')](_0x44d8('0x12'),_0x1bdf98,_0x44d8('0xe'));_0x47de3d(_0x575929[_0x44d8('0x14')]['message']);}})[_0x44d8('0x15')](function(_0x57d3a3){logger[_0x44d8('0x10')]('WhatsappAccount,\x20%s,\x20%s',_0x1bdf98,_0x57d3a3);_0x45e4d5(_0x57d3a3);});});}exports['ShowWhatsappAccount']=function(_0x51ba7b){var _0xa0e88b=this;return new Promise(function(_0x27e349,_0x3ff2ea){return db[_0x44d8('0x16')]['find']({'raw':_0x51ba7b[_0x44d8('0x17')]?_0x51ba7b[_0x44d8('0x17')][_0x44d8('0x18')]===undefined?!![]:![]:!![],'where':_0x51ba7b[_0x44d8('0x17')]?_0x51ba7b[_0x44d8('0x17')][_0x44d8('0x19')]||null:null,'attributes':_0x51ba7b['options']?_0x51ba7b[_0x44d8('0x17')][_0x44d8('0x1a')]||null:null,'include':_0x51ba7b[_0x44d8('0x17')]?_0x51ba7b[_0x44d8('0x17')]['include']?_[_0x44d8('0x1b')](_0x51ba7b[_0x44d8('0x17')][_0x44d8('0x1c')],function(_0x59cff4){return{'model':db[_0x59cff4[_0x44d8('0x1d')]],'as':_0x59cff4['as'],'attributes':_0x59cff4[_0x44d8('0x1a')],'include':_0x59cff4['include']?_[_0x44d8('0x1b')](_0x59cff4['include'],function(_0x3b5963){return{'model':db[_0x3b5963[_0x44d8('0x1d')]],'as':_0x3b5963['as'],'attributes':_0x3b5963[_0x44d8('0x1a')],'include':_0x3b5963[_0x44d8('0x1c')]?_[_0x44d8('0x1b')](_0x3b5963[_0x44d8('0x1c')],function(_0x4932d3){return{'model':db[_0x4932d3[_0x44d8('0x1d')]],'as':_0x4932d3['as'],'attributes':_0x4932d3[_0x44d8('0x1a')]};}):[]};}):[]};}):[]:[]})['then'](function(_0x99f6df){logger[_0x44d8('0xd')](_0x44d8('0x1e'),_0x51ba7b);logger['debug'](_0x44d8('0x1e'),_0x51ba7b,JSON[_0x44d8('0xf')](_0x99f6df));_0x27e349(_0x99f6df);})[_0x44d8('0x15')](function(_0x4c4637){logger[_0x44d8('0x10')](_0x44d8('0x1e'),_0x4c4637[_0x44d8('0x13')],_0x51ba7b);_0x3ff2ea(_0xa0e88b[_0x44d8('0x10')](0x1f4,_0x4c4637[_0x44d8('0x13')]));});});}; \ No newline at end of file +var _0xb6e6=['../../config/environment','jayson/promise','client','http','redis','defaults','localhost','./whatsappAccount.socket','register','request','then','info','debug','WhatsappAccount,\x20%s,\x20%s,\x20%s','request\x20sent','stringify','error','code','WhatsappAccount,\x20%s,\x20%s','message','result','catch','ShowWhatsappAccount','WhatsappAccount','find','options','raw','attributes','include','map','model','lodash','moment','bluebird','randomstring','ioredis','../../mysqldb','../../config/utils','../../config/logger','rpc'];(function(_0x2e7d95,_0x592fb7){var _0x24526d=function(_0x366792){while(--_0x366792){_0x2e7d95['push'](_0x2e7d95['shift']());}};_0x24526d(++_0x592fb7);}(_0xb6e6,0xbf));var _0x6b6e=function(_0x1a0dd1,_0x3cf408){_0x1a0dd1=_0x1a0dd1-0x0;var _0xd80fe0=_0xb6e6[_0x1a0dd1];return _0xd80fe0;};'use strict';var _=require(_0x6b6e('0x0'));var util=require('util');var moment=require(_0x6b6e('0x1'));var BPromise=require(_0x6b6e('0x2'));var rs=require(_0x6b6e('0x3'));var fs=require('fs');var Redis=require(_0x6b6e('0x4'));var db=require(_0x6b6e('0x5'))['db'];var utils=require(_0x6b6e('0x6'));var logger=require(_0x6b6e('0x7'))(_0x6b6e('0x8'));var config=require(_0x6b6e('0x9'));var jayson=require(_0x6b6e('0xa'));var client=jayson[_0x6b6e('0xb')][_0x6b6e('0xc')]({'port':0x232a});config[_0x6b6e('0xd')]=_[_0x6b6e('0xe')](config[_0x6b6e('0xd')],{'host':_0x6b6e('0xf'),'port':0x18eb});var socket=require('socket.io-emitter')(new Redis(config[_0x6b6e('0xd')]));require(_0x6b6e('0x10'))[_0x6b6e('0x11')](socket);function respondWithRpcPromise(_0x32dd15,_0x29cd4f,_0x382c31){return new BPromise(function(_0x7e6a52,_0x5672f0){return client[_0x6b6e('0x12')](_0x32dd15,_0x382c31)[_0x6b6e('0x13')](function(_0x51708d){logger[_0x6b6e('0x14')]('WhatsappAccount,\x20%s,\x20%s',_0x29cd4f,'request\x20sent');logger[_0x6b6e('0x15')](_0x6b6e('0x16'),_0x29cd4f,_0x6b6e('0x17'),JSON[_0x6b6e('0x18')](_0x51708d));if(_0x51708d[_0x6b6e('0x19')]){if(_0x51708d['error'][_0x6b6e('0x1a')]===0x1f4){logger['error'](_0x6b6e('0x1b'),_0x29cd4f,_0x51708d[_0x6b6e('0x19')][_0x6b6e('0x1c')]);return _0x5672f0(_0x51708d[_0x6b6e('0x19')][_0x6b6e('0x1c')]);}logger[_0x6b6e('0x19')]('WhatsappAccount,\x20%s,\x20%s',_0x29cd4f,_0x51708d[_0x6b6e('0x19')][_0x6b6e('0x1c')]);return _0x7e6a52(_0x51708d['error'][_0x6b6e('0x1c')]);}else{logger[_0x6b6e('0x14')]('WhatsappAccount,\x20%s,\x20%s',_0x29cd4f,_0x6b6e('0x17'));_0x7e6a52(_0x51708d[_0x6b6e('0x1d')][_0x6b6e('0x1c')]);}})[_0x6b6e('0x1e')](function(_0xb17a0a){logger['error'](_0x6b6e('0x1b'),_0x29cd4f,_0xb17a0a);_0x5672f0(_0xb17a0a);});});}exports[_0x6b6e('0x1f')]=function(_0x29a80f){var _0x9cf73a=this;return new Promise(function(_0x23c918,_0x5aedae){return db[_0x6b6e('0x20')][_0x6b6e('0x21')]({'raw':_0x29a80f['options']?_0x29a80f[_0x6b6e('0x22')][_0x6b6e('0x23')]===undefined?!![]:![]:!![],'where':_0x29a80f['options']?_0x29a80f[_0x6b6e('0x22')]['where']||null:null,'attributes':_0x29a80f[_0x6b6e('0x22')]?_0x29a80f[_0x6b6e('0x22')][_0x6b6e('0x24')]||null:null,'include':_0x29a80f[_0x6b6e('0x22')]?_0x29a80f[_0x6b6e('0x22')][_0x6b6e('0x25')]?_['map'](_0x29a80f[_0x6b6e('0x22')]['include'],function(_0x195cfc){return{'model':db[_0x195cfc['model']],'as':_0x195cfc['as'],'attributes':_0x195cfc[_0x6b6e('0x24')],'include':_0x195cfc[_0x6b6e('0x25')]?_[_0x6b6e('0x26')](_0x195cfc[_0x6b6e('0x25')],function(_0x459ac0){return{'model':db[_0x459ac0['model']],'as':_0x459ac0['as'],'attributes':_0x459ac0[_0x6b6e('0x24')],'include':_0x459ac0[_0x6b6e('0x25')]?_[_0x6b6e('0x26')](_0x459ac0[_0x6b6e('0x25')],function(_0x372d78){return{'model':db[_0x372d78[_0x6b6e('0x27')]],'as':_0x372d78['as'],'attributes':_0x372d78['attributes']};}):[]};}):[]};}):[]:[]})[_0x6b6e('0x13')](function(_0x2bef31){logger['info']('ShowWhatsappAccount',_0x29a80f);logger[_0x6b6e('0x15')]('ShowWhatsappAccount',_0x29a80f,JSON['stringify'](_0x2bef31));_0x23c918(_0x2bef31);})[_0x6b6e('0x1e')](function(_0x29bf6c){logger[_0x6b6e('0x19')](_0x6b6e('0x1f'),_0x29bf6c[_0x6b6e('0x1c')],_0x29a80f);_0x5aedae(_0x9cf73a[_0x6b6e('0x19')](0x1f4,_0x29bf6c[_0x6b6e('0x1c')]));});});}; \ No newline at end of file diff --git a/server/api/whatsappAccount/whatsappAccount.socket.js b/server/api/whatsappAccount/whatsappAccount.socket.js index 5fa30f8..53d6f2e 100644 --- a/server/api/whatsappAccount/whatsappAccount.socket.js +++ b/server/api/whatsappAccount/whatsappAccount.socket.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xef33=['length','save','removeListener'];(function(_0x25e61b,_0x56898d){var _0x173d84=function(_0x152441){while(--_0x152441){_0x25e61b['push'](_0x25e61b['shift']());}};_0x173d84(++_0x56898d);}(_0xef33,0x157));var _0x3ef3=function(_0x337036,_0x169110){_0x337036=_0x337036-0x0;var _0x11cb43=_0xef33[_0x337036];return _0x11cb43;};'use strict';var WhatsappAccountEvents=require('./whatsappAccount.events');var events=[_0x3ef3('0x0'),'remove','update'];function createListener(_0x4c4c3f,_0x10f1cf){return function(_0x1fa7b9){_0x10f1cf['emit'](_0x4c4c3f,_0x1fa7b9);};}function removeListener(_0x15ad71,_0x1db0e7){return function(){WhatsappAccountEvents[_0x3ef3('0x1')](_0x15ad71,_0x1db0e7);};}exports['register']=function(_0x1d1071){for(var _0x76527a=0x0,_0x424584=events[_0x3ef3('0x2')];_0x76527a<_0x424584;_0x76527a++){var _0x543174=events[_0x76527a];var _0x471072=createListener('whatsappAccount:'+_0x543174,_0x1d1071);WhatsappAccountEvents['on'](_0x543174,_0x471072);}}; \ No newline at end of file +var _0x12a2=['whatsappAccount:','./whatsappAccount.events','remove','update','emit','removeListener','length'];(function(_0xccd4d3,_0xec2028){var _0xca752=function(_0x42de71){while(--_0x42de71){_0xccd4d3['push'](_0xccd4d3['shift']());}};_0xca752(++_0xec2028);}(_0x12a2,0xda));var _0x212a=function(_0x1a7360,_0x21d101){_0x1a7360=_0x1a7360-0x0;var _0x2d546c=_0x12a2[_0x1a7360];return _0x2d546c;};'use strict';var WhatsappAccountEvents=require(_0x212a('0x0'));var events=['save',_0x212a('0x1'),_0x212a('0x2')];function createListener(_0x29a0b3,_0x1cc344){return function(_0x28e439){_0x1cc344[_0x212a('0x3')](_0x29a0b3,_0x28e439);};}function removeListener(_0x560e3a,_0x38f7e){return function(){WhatsappAccountEvents[_0x212a('0x4')](_0x560e3a,_0x38f7e);};}exports['register']=function(_0x197bbe){for(var _0x7e1b1d=0x0,_0x433aea=events[_0x212a('0x5')];_0x7e1b1d<_0x433aea;_0x7e1b1d++){var _0x441cab=events[_0x7e1b1d];var _0x4cfad6=createListener(_0x212a('0x6')+_0x441cab,_0x197bbe);WhatsappAccountEvents['on'](_0x441cab,_0x4cfad6);}}; \ No newline at end of file diff --git a/server/api/whatsappApplication/index.js b/server/api/whatsappApplication/index.js index 0d394ed..237ef02 100644 --- a/server/api/whatsappApplication/index.js +++ b/server/api/whatsappApplication/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x0491=['util','path','connect-timeout','../../components/auth/service','../../components/interaction/service','../../config/environment','get','/:id','isAuthenticated','show','post','create','put','delete','destroy','exports','multer'];(function(_0x132b1a,_0x7ca7d){var _0x31d0ed=function(_0x37c22a){while(--_0x37c22a){_0x132b1a['push'](_0x132b1a['shift']());}};_0x31d0ed(++_0x7ca7d);}(_0x0491,0x175));var _0x1049=function(_0x5cc118,_0x479136){_0x5cc118=_0x5cc118-0x0;var _0x87ff2b=_0x0491[_0x5cc118];return _0x87ff2b;};'use strict';var multer=require(_0x1049('0x0'));var util=require(_0x1049('0x1'));var path=require(_0x1049('0x2'));var timeout=require(_0x1049('0x3'));var express=require('express');var router=express['Router']();var auth=require(_0x1049('0x4'));var interaction=require(_0x1049('0x5'));var config=require(_0x1049('0x6'));var controller=require('./whatsappApplication.controller');router[_0x1049('0x7')]('/',auth['isAuthenticated'](),controller['index']);router[_0x1049('0x7')](_0x1049('0x8'),auth[_0x1049('0x9')](),controller[_0x1049('0xa')]);router[_0x1049('0xb')]('/',auth[_0x1049('0x9')](),controller[_0x1049('0xc')]);router[_0x1049('0xd')](_0x1049('0x8'),auth[_0x1049('0x9')](),controller['update']);router[_0x1049('0xe')](_0x1049('0x8'),auth['isAuthenticated'](),controller[_0x1049('0xf')]);module[_0x1049('0x10')]=router; \ No newline at end of file +var _0xb42b=['../../components/auth/service','./whatsappApplication.controller','get','isAuthenticated','/:id','post','put','update','destroy','multer','util','connect-timeout','Router'];(function(_0x24ef6a,_0x3d6920){var _0x128872=function(_0x2ec2a2){while(--_0x2ec2a2){_0x24ef6a['push'](_0x24ef6a['shift']());}};_0x128872(++_0x3d6920);}(_0xb42b,0xd9));var _0xbb42=function(_0x4992ef,_0xf3c325){_0x4992ef=_0x4992ef-0x0;var _0x45a522=_0xb42b[_0x4992ef];return _0x45a522;};'use strict';var multer=require(_0xbb42('0x0'));var util=require(_0xbb42('0x1'));var path=require('path');var timeout=require(_0xbb42('0x2'));var express=require('express');var router=express[_0xbb42('0x3')]();var auth=require(_0xbb42('0x4'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xbb42('0x5'));router[_0xbb42('0x6')]('/',auth[_0xbb42('0x7')](),controller['index']);router['get'](_0xbb42('0x8'),auth[_0xbb42('0x7')](),controller['show']);router[_0xbb42('0x9')]('/',auth[_0xbb42('0x7')](),controller['create']);router[_0xbb42('0xa')]('/:id',auth['isAuthenticated'](),controller[_0xbb42('0xb')]);router['delete'](_0xbb42('0x8'),auth[_0xbb42('0x7')](),controller[_0xbb42('0xc')]);module['exports']=router; \ No newline at end of file diff --git a/server/api/whatsappApplication/whatsappApplication.attributes.js b/server/api/whatsappApplication/whatsappApplication.attributes.js index 6288c63..e3a0268 100644 --- a/server/api/whatsappApplication/whatsappApplication.attributes.js +++ b/server/api/whatsappApplication/whatsappApplication.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xdde1=['TEXT','STRING','*,*,*,*','sequelize','INTEGER','noop'];(function(_0x1979a9,_0x3ed1e5){var _0x52f5d6=function(_0x212190){while(--_0x212190){_0x1979a9['push'](_0x1979a9['shift']());}};_0x52f5d6(++_0x3ed1e5);}(_0xdde1,0x1ef));var _0x1dde=function(_0x2faaba,_0x3f2b50){_0x2faaba=_0x2faaba-0x0;var _0x7099d9=_0xdde1[_0x2faaba];return _0x7099d9;};'use strict';var Sequelize=require(_0x1dde('0x0'));module['exports']={'priority':{'type':Sequelize[_0x1dde('0x1')],'allowNull':![]},'app':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':_0x1dde('0x2')},'appdata':{'type':Sequelize[_0x1dde('0x3')]()},'description':{'type':Sequelize[_0x1dde('0x4')]},'interval':{'type':Sequelize[_0x1dde('0x4')],'defaultValue':_0x1dde('0x5')}}; \ No newline at end of file +var _0x6054=['sequelize','INTEGER','noop','TEXT','*,*,*,*'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x6054,0x127));var _0x4605=function(_0x14c358,_0x522070){_0x14c358=_0x14c358-0x0;var _0x33b11d=_0x6054[_0x14c358];return _0x33b11d;};'use strict';var Sequelize=require(_0x4605('0x0'));module['exports']={'priority':{'type':Sequelize[_0x4605('0x1')],'allowNull':![]},'app':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':_0x4605('0x2')},'appdata':{'type':Sequelize[_0x4605('0x3')]()},'description':{'type':Sequelize['STRING']},'interval':{'type':Sequelize['STRING'],'defaultValue':_0x4605('0x4')}}; \ No newline at end of file diff --git a/server/api/whatsappApplication/whatsappApplication.controller.js b/server/api/whatsappApplication/whatsappApplication.controller.js index 301f992..6c08d38 100644 --- a/server/api/whatsappApplication/whatsappApplication.controller.js +++ b/server/api/whatsappApplication/whatsappApplication.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x7ee2=['../../config/utils','../../mysqldb','sendStatus','status','json','count','offset','limit','set','Content-Range','save','update','destroy','error','stack','name','send','index','map','WhatsappApplication','fieldName','key','model','query','keys','filters','intersection','attributes','fields','length','hasOwnProperty','nolimit','sort','where','pick','filter','merge','type','options','then','include','findAll','rows','catch','rawAttributes','includeAll','find','create','body','params','html-pdf','eml-format','rimraf','fast-json-patch','bluebird','mustache','util','sox','ejs','crypto','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api'];(function(_0x38f5f8,_0xefe164){var _0x34e820=function(_0x3a2407){while(--_0x3a2407){_0x38f5f8['push'](_0x38f5f8['shift']());}};_0x34e820(++_0xefe164);}(_0x7ee2,0x1d6));var _0x27ee=function(_0x2a0482,_0x2e70bd){_0x2a0482=_0x2a0482-0x0;var _0x417255=_0x7ee2[_0x2a0482];return _0x417255;};'use strict';var pdf=require(_0x27ee('0x0'));var emlformat=require(_0x27ee('0x1'));var rimraf=require(_0x27ee('0x2'));var zipdir=require('zip-dir');var jsonpatch=require(_0x27ee('0x3'));var rp=require('request-promise');var moment=require('moment');var BPromise=require(_0x27ee('0x4'));var Mustache=require(_0x27ee('0x5'));var util=require(_0x27ee('0x6'));var path=require('path');var sox=require(_0x27ee('0x7'));var csv=require('to-csv');var ejs=require(_0x27ee('0x8'));var fs=require('fs');var _=require('lodash');var squel=require('squel');var crypto=require(_0x27ee('0x9'));var jsforce=require('jsforce');var deskjs=require(_0x27ee('0xa'));var toCsv=require('to-csv');var querystring=require(_0x27ee('0xb'));var Papa=require(_0x27ee('0xc'));var Redis=require(_0x27ee('0xd'));var authService=require(_0x27ee('0xe'));var qs=require(_0x27ee('0xf'));var as=require(_0x27ee('0x10'));var hardwareService=require(_0x27ee('0x11'));var logger=require(_0x27ee('0x12'))(_0x27ee('0x13'));var utils=require(_0x27ee('0x14'));var config=require('../../config/environment');var db=require(_0x27ee('0x15'))['db'];function respondWithStatusCode(_0x240722,_0x3f40f8){_0x3f40f8=_0x3f40f8||0xcc;return function(_0x3c50d4){if(_0x3c50d4){return _0x240722[_0x27ee('0x16')](_0x3f40f8);}return _0x240722[_0x27ee('0x17')](_0x3f40f8)['end']();};}function respondWithResult(_0x429380,_0x25548f){_0x25548f=_0x25548f||0xc8;return function(_0x2a9a90){if(_0x2a9a90){return _0x429380['status'](_0x25548f)[_0x27ee('0x18')](_0x2a9a90);}};}function respondWithFilteredResult(_0x91915d,_0x4c726f){return function(_0x3ff604){if(_0x3ff604){var _0x24432f=_0x3ff604[_0x27ee('0x19')],_0x144991=_0x4c726f[_0x27ee('0x1a')],_0xe122fc=_0x4c726f[_0x27ee('0x1a')]+_0x4c726f[_0x27ee('0x1b')],_0x4f3b4c;if(_0xe122fc>=_0x24432f){_0xe122fc=_0x24432f;_0x4f3b4c=0xc8;}else{_0x4f3b4c=0xce;}_0x91915d['status'](_0x4f3b4c);return _0x91915d[_0x27ee('0x1c')](_0x27ee('0x1d'),_0x144991+'-'+_0xe122fc+'/'+_0x24432f)['json'](_0x3ff604);}return null;};}function patchUpdates(_0x273d6b){return function(_0x46b351){try{jsonpatch['apply'](_0x46b351,_0x273d6b,!![]);}catch(_0x229e62){return BPromise['reject'](_0x229e62);}return _0x46b351[_0x27ee('0x1e')]();};}function saveUpdates(_0x12e6af,_0x23f505){return function(_0x15682e){if(_0x15682e){return _0x15682e[_0x27ee('0x1f')](_0x12e6af)['then'](function(_0x4e4f1a){return _0x4e4f1a;});}return null;};}function removeEntity(_0x5e372a,_0x386c03){return function(_0x39d53b){if(_0x39d53b){return _0x39d53b[_0x27ee('0x20')]()['then'](function(){_0x5e372a[_0x27ee('0x17')](0xcc)['end']();});}};}function handleEntityNotFound(_0x2da9f4,_0x1c4509){return function(_0x4ad165){if(!_0x4ad165){_0x2da9f4[_0x27ee('0x16')](0x194);}return _0x4ad165;};}function handleError(_0x4ca9a3,_0x35655c){_0x35655c=_0x35655c||0x1f4;return function(_0x2cbca6){logger[_0x27ee('0x21')](_0x2cbca6[_0x27ee('0x22')]);if(_0x2cbca6[_0x27ee('0x23')]){delete _0x2cbca6['name'];}_0x4ca9a3[_0x27ee('0x17')](_0x35655c)[_0x27ee('0x24')](_0x2cbca6);};}exports[_0x27ee('0x25')]=function(_0x3df5e3,_0x5f44d5){var _0x5aa9a9={},_0x1297b6={},_0x297476={'count':0x0,'rows':[]};var _0xc79bd3=_[_0x27ee('0x26')](db[_0x27ee('0x27')]['rawAttributes'],function(_0x36ecc5){return{'name':_0x36ecc5[_0x27ee('0x28')],'type':_0x36ecc5['type'][_0x27ee('0x29')]};});_0x1297b6[_0x27ee('0x2a')]=_[_0x27ee('0x26')](_0xc79bd3,_0x27ee('0x23'));_0x1297b6[_0x27ee('0x2b')]=_[_0x27ee('0x2c')](_0x3df5e3[_0x27ee('0x2b')]);_0x1297b6[_0x27ee('0x2d')]=_[_0x27ee('0x2e')](_0x1297b6[_0x27ee('0x2a')],_0x1297b6[_0x27ee('0x2b')]);_0x5aa9a9[_0x27ee('0x2f')]=_['intersection'](_0x1297b6[_0x27ee('0x2a')],qs[_0x27ee('0x30')](_0x3df5e3[_0x27ee('0x2b')][_0x27ee('0x30')]));_0x5aa9a9[_0x27ee('0x2f')]=_0x5aa9a9[_0x27ee('0x2f')][_0x27ee('0x31')]?_0x5aa9a9['attributes']:_0x1297b6[_0x27ee('0x2a')];if(!_0x3df5e3['query'][_0x27ee('0x32')](_0x27ee('0x33'))){_0x5aa9a9['limit']=qs['limit'](_0x3df5e3[_0x27ee('0x2b')][_0x27ee('0x1b')]);_0x5aa9a9[_0x27ee('0x1a')]=qs['offset'](_0x3df5e3[_0x27ee('0x2b')][_0x27ee('0x1a')]);}_0x5aa9a9['order']=qs[_0x27ee('0x34')](_0x3df5e3[_0x27ee('0x2b')][_0x27ee('0x34')]);_0x5aa9a9[_0x27ee('0x35')]=qs[_0x27ee('0x2d')](_[_0x27ee('0x36')](_0x3df5e3[_0x27ee('0x2b')],_0x1297b6[_0x27ee('0x2d')]),_0xc79bd3);if(_0x3df5e3[_0x27ee('0x2b')][_0x27ee('0x37')]){_0x5aa9a9[_0x27ee('0x35')]=_[_0x27ee('0x38')](_0x5aa9a9[_0x27ee('0x35')],{'$or':_[_0x27ee('0x26')](_0xc79bd3,function(_0x1ca495){if(_0x1ca495[_0x27ee('0x39')]!=='VIRTUAL'){var _0x3a0af9={};_0x3a0af9[_0x1ca495[_0x27ee('0x23')]]={'$like':'%'+_0x3df5e3['query'][_0x27ee('0x37')]+'%'};return _0x3a0af9;}})});}_0x5aa9a9=_['merge']({},_0x5aa9a9,_0x3df5e3[_0x27ee('0x3a')]);var _0x4dad49={'where':_0x5aa9a9[_0x27ee('0x35')]};return db['WhatsappApplication'][_0x27ee('0x19')](_0x4dad49)[_0x27ee('0x3b')](function(_0x202cb2){_0x297476[_0x27ee('0x19')]=_0x202cb2;if(_0x3df5e3[_0x27ee('0x2b')]['includeAll']){_0x5aa9a9[_0x27ee('0x3c')]=[{'all':!![]}];}return db[_0x27ee('0x27')][_0x27ee('0x3d')](_0x5aa9a9);})['then'](function(_0x210d16){_0x297476[_0x27ee('0x3e')]=_0x210d16;return _0x297476;})[_0x27ee('0x3b')](respondWithFilteredResult(_0x5f44d5,_0x5aa9a9))[_0x27ee('0x3f')](handleError(_0x5f44d5,null));};exports['show']=function(_0x4c66bd,_0x25a9b8){var _0x8bd7d9={'raw':!![],'where':{'id':_0x4c66bd['params']['id']}},_0x18d3a1={};_0x18d3a1[_0x27ee('0x2a')]=_[_0x27ee('0x2c')](db['WhatsappApplication'][_0x27ee('0x40')]);_0x18d3a1[_0x27ee('0x2b')]=_['keys'](_0x4c66bd[_0x27ee('0x2b')]);_0x18d3a1['filters']=_[_0x27ee('0x2e')](_0x18d3a1['model'],_0x18d3a1[_0x27ee('0x2b')]);_0x8bd7d9['attributes']=_[_0x27ee('0x2e')](_0x18d3a1[_0x27ee('0x2a')],qs[_0x27ee('0x30')](_0x4c66bd[_0x27ee('0x2b')][_0x27ee('0x30')]));_0x8bd7d9[_0x27ee('0x2f')]=_0x8bd7d9[_0x27ee('0x2f')]['length']?_0x8bd7d9[_0x27ee('0x2f')]:_0x18d3a1[_0x27ee('0x2a')];if(_0x4c66bd[_0x27ee('0x2b')][_0x27ee('0x41')]){_0x8bd7d9[_0x27ee('0x3c')]=[{'all':!![]}];}_0x8bd7d9=_['merge']({},_0x8bd7d9,_0x4c66bd[_0x27ee('0x3a')]);return db[_0x27ee('0x27')][_0x27ee('0x42')](_0x8bd7d9)[_0x27ee('0x3b')](handleEntityNotFound(_0x25a9b8,null))[_0x27ee('0x3b')](respondWithResult(_0x25a9b8,null))[_0x27ee('0x3f')](handleError(_0x25a9b8,null));};exports[_0x27ee('0x43')]=function(_0x377ca2,_0x17ff96){return db[_0x27ee('0x27')][_0x27ee('0x43')](_0x377ca2[_0x27ee('0x44')],{})[_0x27ee('0x3b')](respondWithResult(_0x17ff96,0xc9))[_0x27ee('0x3f')](handleError(_0x17ff96,null));};exports[_0x27ee('0x1f')]=function(_0x11d70c,_0xe17600){if(_0x11d70c['body']['id']){delete _0x11d70c['body']['id'];}return db[_0x27ee('0x27')][_0x27ee('0x42')]({'where':{'id':_0x11d70c[_0x27ee('0x45')]['id']}})[_0x27ee('0x3b')](handleEntityNotFound(_0xe17600,null))[_0x27ee('0x3b')](saveUpdates(_0x11d70c[_0x27ee('0x44')],null))['then'](respondWithResult(_0xe17600,null))['catch'](handleError(_0xe17600,null));};exports['destroy']=function(_0x1e313d,_0x1f79b8){return db[_0x27ee('0x27')][_0x27ee('0x42')]({'where':{'id':_0x1e313d[_0x27ee('0x45')]['id']}})['then'](handleEntityNotFound(_0x1f79b8,null))[_0x27ee('0x3b')](removeEntity(_0x1f79b8,null))[_0x27ee('0x3f')](handleError(_0x1f79b8,null));}; \ No newline at end of file +var _0xb798=['html-pdf','zip-dir','fast-json-patch','request-promise','moment','bluebird','path','sox','to-csv','squel','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','sendStatus','status','count','offset','limit','set','Content-Range','json','then','destroy','end','error','stack','name','send','index','map','WhatsappApplication','rawAttributes','fieldName','type','key','model','query','keys','filters','intersection','attributes','length','nolimit','sort','where','pick','filter','merge','options','includeAll','include','findAll','rows','show','fields','find','catch','create','body','update','params'];(function(_0x42baff,_0x2da0eb){var _0x4837aa=function(_0x3737ef){while(--_0x3737ef){_0x42baff['push'](_0x42baff['shift']());}};_0x4837aa(++_0x2da0eb);}(_0xb798,0x15e));var _0x8b79=function(_0x1894cd,_0xf99f35){_0x1894cd=_0x1894cd-0x0;var _0x11080e=_0xb798[_0x1894cd];return _0x11080e;};'use strict';var pdf=require(_0x8b79('0x0'));var emlformat=require('eml-format');var rimraf=require('rimraf');var zipdir=require(_0x8b79('0x1'));var jsonpatch=require(_0x8b79('0x2'));var rp=require(_0x8b79('0x3'));var moment=require(_0x8b79('0x4'));var BPromise=require(_0x8b79('0x5'));var Mustache=require('mustache');var util=require('util');var path=require(_0x8b79('0x6'));var sox=require(_0x8b79('0x7'));var csv=require(_0x8b79('0x8'));var ejs=require('ejs');var fs=require('fs');var _=require('lodash');var squel=require(_0x8b79('0x9'));var crypto=require('crypto');var jsforce=require('jsforce');var deskjs=require(_0x8b79('0xa'));var toCsv=require('to-csv');var querystring=require(_0x8b79('0xb'));var Papa=require(_0x8b79('0xc'));var Redis=require(_0x8b79('0xd'));var authService=require(_0x8b79('0xe'));var qs=require('../../components/parsers/qs');var as=require(_0x8b79('0xf'));var hardwareService=require(_0x8b79('0x10'));var logger=require(_0x8b79('0x11'))(_0x8b79('0x12'));var utils=require(_0x8b79('0x13'));var config=require(_0x8b79('0x14'));var db=require(_0x8b79('0x15'))['db'];function respondWithStatusCode(_0x501796,_0x21c69b){_0x21c69b=_0x21c69b||0xcc;return function(_0x2d99eb){if(_0x2d99eb){return _0x501796[_0x8b79('0x16')](_0x21c69b);}return _0x501796['status'](_0x21c69b)['end']();};}function respondWithResult(_0x443679,_0x306c98){_0x306c98=_0x306c98||0xc8;return function(_0x2d97bc){if(_0x2d97bc){return _0x443679[_0x8b79('0x17')](_0x306c98)['json'](_0x2d97bc);}};}function respondWithFilteredResult(_0x175668,_0x42761f){return function(_0x5ac830){if(_0x5ac830){var _0x5f4e8d=_0x5ac830[_0x8b79('0x18')],_0x1642e2=_0x42761f[_0x8b79('0x19')],_0x2054a0=_0x42761f[_0x8b79('0x19')]+_0x42761f[_0x8b79('0x1a')],_0x46496f;if(_0x2054a0>=_0x5f4e8d){_0x2054a0=_0x5f4e8d;_0x46496f=0xc8;}else{_0x46496f=0xce;}_0x175668['status'](_0x46496f);return _0x175668[_0x8b79('0x1b')](_0x8b79('0x1c'),_0x1642e2+'-'+_0x2054a0+'/'+_0x5f4e8d)[_0x8b79('0x1d')](_0x5ac830);}return null;};}function patchUpdates(_0x24357b){return function(_0x392708){try{jsonpatch['apply'](_0x392708,_0x24357b,!![]);}catch(_0x91a112){return BPromise['reject'](_0x91a112);}return _0x392708['save']();};}function saveUpdates(_0x48b8fa,_0x3aad54){return function(_0x27cafb){if(_0x27cafb){return _0x27cafb['update'](_0x48b8fa)[_0x8b79('0x1e')](function(_0x327313){return _0x327313;});}return null;};}function removeEntity(_0xe95ec4,_0xd367d1){return function(_0x2dfabc){if(_0x2dfabc){return _0x2dfabc[_0x8b79('0x1f')]()[_0x8b79('0x1e')](function(){_0xe95ec4['status'](0xcc)[_0x8b79('0x20')]();});}};}function handleEntityNotFound(_0x289824,_0xbd19cd){return function(_0x26df04){if(!_0x26df04){_0x289824['sendStatus'](0x194);}return _0x26df04;};}function handleError(_0x4d4091,_0x3989d3){_0x3989d3=_0x3989d3||0x1f4;return function(_0x2f46f0){logger[_0x8b79('0x21')](_0x2f46f0[_0x8b79('0x22')]);if(_0x2f46f0[_0x8b79('0x23')]){delete _0x2f46f0[_0x8b79('0x23')];}_0x4d4091[_0x8b79('0x17')](_0x3989d3)[_0x8b79('0x24')](_0x2f46f0);};}exports[_0x8b79('0x25')]=function(_0xa5ec71,_0x240266){var _0x54351f={},_0x36290d={},_0x31098d={'count':0x0,'rows':[]};var _0x5be0a4=_[_0x8b79('0x26')](db[_0x8b79('0x27')][_0x8b79('0x28')],function(_0x5800a6){return{'name':_0x5800a6[_0x8b79('0x29')],'type':_0x5800a6[_0x8b79('0x2a')][_0x8b79('0x2b')]};});_0x36290d[_0x8b79('0x2c')]=_[_0x8b79('0x26')](_0x5be0a4,_0x8b79('0x23'));_0x36290d[_0x8b79('0x2d')]=_[_0x8b79('0x2e')](_0xa5ec71[_0x8b79('0x2d')]);_0x36290d[_0x8b79('0x2f')]=_[_0x8b79('0x30')](_0x36290d['model'],_0x36290d[_0x8b79('0x2d')]);_0x54351f[_0x8b79('0x31')]=_[_0x8b79('0x30')](_0x36290d[_0x8b79('0x2c')],qs['fields'](_0xa5ec71[_0x8b79('0x2d')]['fields']));_0x54351f['attributes']=_0x54351f['attributes'][_0x8b79('0x32')]?_0x54351f[_0x8b79('0x31')]:_0x36290d[_0x8b79('0x2c')];if(!_0xa5ec71[_0x8b79('0x2d')]['hasOwnProperty'](_0x8b79('0x33'))){_0x54351f[_0x8b79('0x1a')]=qs[_0x8b79('0x1a')](_0xa5ec71[_0x8b79('0x2d')][_0x8b79('0x1a')]);_0x54351f[_0x8b79('0x19')]=qs['offset'](_0xa5ec71[_0x8b79('0x2d')][_0x8b79('0x19')]);}_0x54351f['order']=qs[_0x8b79('0x34')](_0xa5ec71[_0x8b79('0x2d')][_0x8b79('0x34')]);_0x54351f[_0x8b79('0x35')]=qs[_0x8b79('0x2f')](_[_0x8b79('0x36')](_0xa5ec71[_0x8b79('0x2d')],_0x36290d[_0x8b79('0x2f')]),_0x5be0a4);if(_0xa5ec71[_0x8b79('0x2d')][_0x8b79('0x37')]){_0x54351f[_0x8b79('0x35')]=_[_0x8b79('0x38')](_0x54351f[_0x8b79('0x35')],{'$or':_['map'](_0x5be0a4,function(_0x1bd701){if(_0x1bd701['type']!=='VIRTUAL'){var _0x25d60a={};_0x25d60a[_0x1bd701[_0x8b79('0x23')]]={'$like':'%'+_0xa5ec71[_0x8b79('0x2d')]['filter']+'%'};return _0x25d60a;}})});}_0x54351f=_['merge']({},_0x54351f,_0xa5ec71[_0x8b79('0x39')]);var _0x55aa24={'where':_0x54351f['where']};return db[_0x8b79('0x27')][_0x8b79('0x18')](_0x55aa24)['then'](function(_0x1e7f0c){_0x31098d[_0x8b79('0x18')]=_0x1e7f0c;if(_0xa5ec71[_0x8b79('0x2d')][_0x8b79('0x3a')]){_0x54351f[_0x8b79('0x3b')]=[{'all':!![]}];}return db[_0x8b79('0x27')][_0x8b79('0x3c')](_0x54351f);})['then'](function(_0x211bfa){_0x31098d[_0x8b79('0x3d')]=_0x211bfa;return _0x31098d;})[_0x8b79('0x1e')](respondWithFilteredResult(_0x240266,_0x54351f))['catch'](handleError(_0x240266,null));};exports[_0x8b79('0x3e')]=function(_0x1b2a69,_0xb90c02){var _0x511324={'raw':!![],'where':{'id':_0x1b2a69['params']['id']}},_0x4303fe={};_0x4303fe['model']=_[_0x8b79('0x2e')](db[_0x8b79('0x27')]['rawAttributes']);_0x4303fe[_0x8b79('0x2d')]=_['keys'](_0x1b2a69[_0x8b79('0x2d')]);_0x4303fe[_0x8b79('0x2f')]=_[_0x8b79('0x30')](_0x4303fe[_0x8b79('0x2c')],_0x4303fe['query']);_0x511324[_0x8b79('0x31')]=_[_0x8b79('0x30')](_0x4303fe['model'],qs[_0x8b79('0x3f')](_0x1b2a69['query'][_0x8b79('0x3f')]));_0x511324[_0x8b79('0x31')]=_0x511324[_0x8b79('0x31')][_0x8b79('0x32')]?_0x511324['attributes']:_0x4303fe['model'];if(_0x1b2a69[_0x8b79('0x2d')][_0x8b79('0x3a')]){_0x511324[_0x8b79('0x3b')]=[{'all':!![]}];}_0x511324=_[_0x8b79('0x38')]({},_0x511324,_0x1b2a69[_0x8b79('0x39')]);return db[_0x8b79('0x27')][_0x8b79('0x40')](_0x511324)[_0x8b79('0x1e')](handleEntityNotFound(_0xb90c02,null))[_0x8b79('0x1e')](respondWithResult(_0xb90c02,null))[_0x8b79('0x41')](handleError(_0xb90c02,null));};exports[_0x8b79('0x42')]=function(_0x3ba6ab,_0x3efc80){return db[_0x8b79('0x27')][_0x8b79('0x42')](_0x3ba6ab[_0x8b79('0x43')],{})[_0x8b79('0x1e')](respondWithResult(_0x3efc80,0xc9))['catch'](handleError(_0x3efc80,null));};exports[_0x8b79('0x44')]=function(_0x4f70ae,_0x1e0e80){if(_0x4f70ae[_0x8b79('0x43')]['id']){delete _0x4f70ae[_0x8b79('0x43')]['id'];}return db['WhatsappApplication'][_0x8b79('0x40')]({'where':{'id':_0x4f70ae[_0x8b79('0x45')]['id']}})[_0x8b79('0x1e')](handleEntityNotFound(_0x1e0e80,null))[_0x8b79('0x1e')](saveUpdates(_0x4f70ae[_0x8b79('0x43')],null))['then'](respondWithResult(_0x1e0e80,null))['catch'](handleError(_0x1e0e80,null));};exports[_0x8b79('0x1f')]=function(_0x21c107,_0x24d1ed){return db['WhatsappApplication']['find']({'where':{'id':_0x21c107[_0x8b79('0x45')]['id']}})[_0x8b79('0x1e')](handleEntityNotFound(_0x24d1ed,null))[_0x8b79('0x1e')](removeEntity(_0x24d1ed,null))['catch'](handleError(_0x24d1ed,null));}; \ No newline at end of file diff --git a/server/api/whatsappApplication/whatsappApplication.model.js b/server/api/whatsappApplication/whatsappApplication.model.js index e723d28..d1829a5 100644 --- a/server/api/whatsappApplication/whatsappApplication.model.js +++ b/server/api/whatsappApplication/whatsappApplication.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x32ba=['define','WhatsappApplication','whatsapp_applications','utf8mb4_unicode_ci','lodash','util','../../config/logger','api','bluebird','request-promise','rimraf','../../config/environment','./whatsappApplication.attributes','exports'];(function(_0x323258,_0x1683e2){var _0x332dbe=function(_0xdf9162){while(--_0xdf9162){_0x323258['push'](_0x323258['shift']());}};_0x332dbe(++_0x1683e2);}(_0x32ba,0x12a));var _0xa32b=function(_0x4f2c3a,_0x6bde90){_0x4f2c3a=_0x4f2c3a-0x0;var _0x17d91c=_0x32ba[_0x4f2c3a];return _0x17d91c;};'use strict';var _=require(_0xa32b('0x0'));var util=require(_0xa32b('0x1'));var logger=require(_0xa32b('0x2'))(_0xa32b('0x3'));var moment=require('moment');var BPromise=require(_0xa32b('0x4'));var rp=require(_0xa32b('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0xa32b('0x6'));var config=require(_0xa32b('0x7'));var attributes=require(_0xa32b('0x8'));module[_0xa32b('0x9')]=function(_0xcd938a,_0x3751bb){return _0xcd938a[_0xa32b('0xa')](_0xa32b('0xb'),attributes,{'tableName':_0xa32b('0xc'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':'utf8mb4','collate':_0xa32b('0xd')});}; \ No newline at end of file +var _0x7c63=['../../config/environment','./whatsappApplication.attributes','exports','utf8mb4','utf8mb4_unicode_ci','lodash','../../config/logger','api','moment','bluebird','request-promise','path','rimraf'];(function(_0xdfa212,_0x2dcbe4){var _0x47b03e=function(_0x147279){while(--_0x147279){_0xdfa212['push'](_0xdfa212['shift']());}};_0x47b03e(++_0x2dcbe4);}(_0x7c63,0x109));var _0x37c6=function(_0x5a4a7d,_0x368199){_0x5a4a7d=_0x5a4a7d-0x0;var _0x250df7=_0x7c63[_0x5a4a7d];return _0x250df7;};'use strict';var _=require(_0x37c6('0x0'));var util=require('util');var logger=require(_0x37c6('0x1'))(_0x37c6('0x2'));var moment=require(_0x37c6('0x3'));var BPromise=require(_0x37c6('0x4'));var rp=require(_0x37c6('0x5'));var fs=require('fs');var path=require(_0x37c6('0x6'));var rimraf=require(_0x37c6('0x7'));var config=require(_0x37c6('0x8'));var attributes=require(_0x37c6('0x9'));module[_0x37c6('0xa')]=function(_0x2ef2e7,_0x244fb8){return _0x2ef2e7['define']('WhatsappApplication',attributes,{'tableName':'whatsapp_applications','paranoid':![],'indexes':[],'timestamps':!![],'charset':_0x37c6('0xb'),'collate':_0x37c6('0xc')});}; \ No newline at end of file diff --git a/server/api/whatsappApplication/whatsappApplication.rpc.js b/server/api/whatsappApplication/whatsappApplication.rpc.js index 6d2ec66..26ea402 100644 --- a/server/api/whatsappApplication/whatsappApplication.rpc.js +++ b/server/api/whatsappApplication/whatsappApplication.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x56a4=['randomstring','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','http','then','info','WhatsappApplication,\x20%s,\x20%s','request\x20sent','debug','WhatsappApplication,\x20%s,\x20%s,\x20%s','stringify','error','code','message','result','catch','lodash','util','bluebird'];(function(_0x17c56b,_0x4008d9){var _0x266b75=function(_0xeeac86){while(--_0xeeac86){_0x17c56b['push'](_0x17c56b['shift']());}};_0x266b75(++_0x4008d9);}(_0x56a4,0x11b));var _0x456a=function(_0x5a2da5,_0x12e6c3){_0x5a2da5=_0x5a2da5-0x0;var _0x477530=_0x56a4[_0x5a2da5];return _0x477530;};'use strict';var _=require(_0x456a('0x0'));var util=require(_0x456a('0x1'));var moment=require('moment');var BPromise=require(_0x456a('0x2'));var rs=require(_0x456a('0x3'));var fs=require('fs');var Redis=require('ioredis');var db=require('../../mysqldb')['db'];var utils=require(_0x456a('0x4'));var logger=require(_0x456a('0x5'))(_0x456a('0x6'));var config=require(_0x456a('0x7'));var jayson=require(_0x456a('0x8'));var client=jayson['client'][_0x456a('0x9')]({'port':0x232a});function respondWithRpcPromise(_0x52b38d,_0x497df4,_0x2b6329){return new BPromise(function(_0x20c8e0,_0x37f1b4){return client['request'](_0x52b38d,_0x2b6329)[_0x456a('0xa')](function(_0x595c4b){logger[_0x456a('0xb')](_0x456a('0xc'),_0x497df4,_0x456a('0xd'));logger[_0x456a('0xe')](_0x456a('0xf'),_0x497df4,_0x456a('0xd'),JSON[_0x456a('0x10')](_0x595c4b));if(_0x595c4b[_0x456a('0x11')]){if(_0x595c4b[_0x456a('0x11')][_0x456a('0x12')]===0x1f4){logger[_0x456a('0x11')]('WhatsappApplication,\x20%s,\x20%s',_0x497df4,_0x595c4b[_0x456a('0x11')]['message']);return _0x37f1b4(_0x595c4b['error'][_0x456a('0x13')]);}logger[_0x456a('0x11')](_0x456a('0xc'),_0x497df4,_0x595c4b[_0x456a('0x11')]['message']);return _0x20c8e0(_0x595c4b[_0x456a('0x11')][_0x456a('0x13')]);}else{logger[_0x456a('0xb')](_0x456a('0xc'),_0x497df4,_0x456a('0xd'));_0x20c8e0(_0x595c4b[_0x456a('0x14')]['message']);}})[_0x456a('0x15')](function(_0x42f7d8){logger[_0x456a('0x11')](_0x456a('0xc'),_0x497df4,_0x42f7d8);_0x37f1b4(_0x42f7d8);});});} \ No newline at end of file +var _0xafc4=['error','code','message','request\x20sent','catch','lodash','moment','randomstring','ioredis','../../mysqldb','../../config/utils','jayson/promise','client','http','request','then','info','WhatsappApplication,\x20%s,\x20%s','WhatsappApplication,\x20%s,\x20%s,\x20%s','stringify'];(function(_0x5ea861,_0x242fe7){var _0x31a1c2=function(_0x3785a2){while(--_0x3785a2){_0x5ea861['push'](_0x5ea861['shift']());}};_0x31a1c2(++_0x242fe7);}(_0xafc4,0x69));var _0x4afc=function(_0x4ae120,_0x2d2305){_0x4ae120=_0x4ae120-0x0;var _0x4fbbe6=_0xafc4[_0x4ae120];return _0x4fbbe6;};'use strict';var _=require(_0x4afc('0x0'));var util=require('util');var moment=require(_0x4afc('0x1'));var BPromise=require('bluebird');var rs=require(_0x4afc('0x2'));var fs=require('fs');var Redis=require(_0x4afc('0x3'));var db=require(_0x4afc('0x4'))['db'];var utils=require(_0x4afc('0x5'));var logger=require('../../config/logger')('rpc');var config=require('../../config/environment');var jayson=require(_0x4afc('0x6'));var client=jayson[_0x4afc('0x7')][_0x4afc('0x8')]({'port':0x232a});function respondWithRpcPromise(_0x1bb281,_0xc828d9,_0xaf053d){return new BPromise(function(_0x5e1e29,_0x31e165){return client[_0x4afc('0x9')](_0x1bb281,_0xaf053d)[_0x4afc('0xa')](function(_0x1e6bf5){logger[_0x4afc('0xb')](_0x4afc('0xc'),_0xc828d9,'request\x20sent');logger['debug'](_0x4afc('0xd'),_0xc828d9,'request\x20sent',JSON[_0x4afc('0xe')](_0x1e6bf5));if(_0x1e6bf5[_0x4afc('0xf')]){if(_0x1e6bf5['error'][_0x4afc('0x10')]===0x1f4){logger[_0x4afc('0xf')](_0x4afc('0xc'),_0xc828d9,_0x1e6bf5[_0x4afc('0xf')][_0x4afc('0x11')]);return _0x31e165(_0x1e6bf5[_0x4afc('0xf')][_0x4afc('0x11')]);}logger[_0x4afc('0xf')]('WhatsappApplication,\x20%s,\x20%s',_0xc828d9,_0x1e6bf5[_0x4afc('0xf')][_0x4afc('0x11')]);return _0x5e1e29(_0x1e6bf5[_0x4afc('0xf')][_0x4afc('0x11')]);}else{logger['info']('WhatsappApplication,\x20%s,\x20%s',_0xc828d9,_0x4afc('0x12'));_0x5e1e29(_0x1e6bf5['result'][_0x4afc('0x11')]);}})[_0x4afc('0x13')](function(_0x2b928b){logger[_0x4afc('0xf')](_0x4afc('0xc'),_0xc828d9,_0x2b928b);_0x31e165(_0x2b928b);});});} \ No newline at end of file diff --git a/server/api/whatsappInteraction/index.js b/server/api/whatsappInteraction/index.js index ff3335e..ae99015 100644 --- a/server/api/whatsappInteraction/index.js +++ b/server/api/whatsappInteraction/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xe6f1=['index','/describe','/:id','show','/:id/messages','getMessages','download','post','create','addMessage','/:id/tags','whatsapp','whatsappinteraction:addtags','put','tracked','whatsappinteraction:update','delete','whatsappinteraction:destroy','destroy','removeTags','exports','multer','util','path','express','Router','../../components/auth/service','../../config/environment','./whatsappInteraction.controller','get','isAuthenticated'];(function(_0xcb4420,_0x507fab){var _0x3ae48a=function(_0x55bb59){while(--_0x55bb59){_0xcb4420['push'](_0xcb4420['shift']());}};_0x3ae48a(++_0x507fab);}(_0xe6f1,0x16a));var _0x1e6f=function(_0x3d9557,_0x5d09d2){_0x3d9557=_0x3d9557-0x0;var _0x359ff8=_0xe6f1[_0x3d9557];return _0x359ff8;};'use strict';var multer=require(_0x1e6f('0x0'));var util=require(_0x1e6f('0x1'));var path=require(_0x1e6f('0x2'));var timeout=require('connect-timeout');var express=require(_0x1e6f('0x3'));var router=express[_0x1e6f('0x4')]();var auth=require(_0x1e6f('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x1e6f('0x6'));var controller=require(_0x1e6f('0x7'));router[_0x1e6f('0x8')]('/',auth[_0x1e6f('0x9')](),controller[_0x1e6f('0xa')]);router['get'](_0x1e6f('0xb'),auth[_0x1e6f('0x9')](),controller['describe']);router[_0x1e6f('0x8')](_0x1e6f('0xc'),auth[_0x1e6f('0x9')](),controller[_0x1e6f('0xd')]);router[_0x1e6f('0x8')](_0x1e6f('0xe'),auth[_0x1e6f('0x9')](),controller[_0x1e6f('0xf')]);router[_0x1e6f('0x8')]('/:id/download',auth[_0x1e6f('0x9')](),controller[_0x1e6f('0x10')]);router[_0x1e6f('0x11')]('/',auth[_0x1e6f('0x9')](),controller[_0x1e6f('0x12')]);router['post']('/:id/messages',auth['isAuthenticated'](),controller[_0x1e6f('0x13')]);router[_0x1e6f('0x11')](_0x1e6f('0x14'),auth[_0x1e6f('0x9')](),interaction['tracked'](_0x1e6f('0x15'),_0x1e6f('0x16')),controller['addTags']);router[_0x1e6f('0x17')](_0x1e6f('0xc'),auth[_0x1e6f('0x9')](),interaction[_0x1e6f('0x18')](_0x1e6f('0x15'),_0x1e6f('0x19')),controller['update']);router[_0x1e6f('0x1a')]('/:id',auth[_0x1e6f('0x9')](),interaction[_0x1e6f('0x18')](_0x1e6f('0x15'),_0x1e6f('0x1b')),controller[_0x1e6f('0x1c')]);router[_0x1e6f('0x1a')](_0x1e6f('0x14'),auth['isAuthenticated'](),controller[_0x1e6f('0x1d')]);module[_0x1e6f('0x1e')]=router; \ No newline at end of file +var _0x7192=['whatsapp','whatsappinteraction:destroy','destroy','/:id/tags','removeTags','multer','util','express','Router','../../config/environment','./whatsappInteraction.controller','get','isAuthenticated','index','/describe','describe','/:id','show','/:id/messages','/:id/download','download','create','post','addMessage','tracked','whatsappinteraction:addtags','addTags','update','delete'];(function(_0x49a1e6,_0x2f6ff6){var _0x252e26=function(_0x18b7e3){while(--_0x18b7e3){_0x49a1e6['push'](_0x49a1e6['shift']());}};_0x252e26(++_0x2f6ff6);}(_0x7192,0x17e));var _0x2719=function(_0x4db7b1,_0xf4cafe){_0x4db7b1=_0x4db7b1-0x0;var _0x39938f=_0x7192[_0x4db7b1];return _0x39938f;};'use strict';var multer=require(_0x2719('0x0'));var util=require(_0x2719('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x2719('0x2'));var router=express[_0x2719('0x3')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x2719('0x4'));var controller=require(_0x2719('0x5'));router[_0x2719('0x6')]('/',auth[_0x2719('0x7')](),controller[_0x2719('0x8')]);router[_0x2719('0x6')](_0x2719('0x9'),auth['isAuthenticated'](),controller[_0x2719('0xa')]);router[_0x2719('0x6')](_0x2719('0xb'),auth['isAuthenticated'](),controller[_0x2719('0xc')]);router['get'](_0x2719('0xd'),auth[_0x2719('0x7')](),controller['getMessages']);router['get'](_0x2719('0xe'),auth[_0x2719('0x7')](),controller[_0x2719('0xf')]);router['post']('/',auth['isAuthenticated'](),controller[_0x2719('0x10')]);router[_0x2719('0x11')](_0x2719('0xd'),auth[_0x2719('0x7')](),controller[_0x2719('0x12')]);router[_0x2719('0x11')]('/:id/tags',auth[_0x2719('0x7')](),interaction[_0x2719('0x13')]('whatsapp',_0x2719('0x14')),controller[_0x2719('0x15')]);router['put'](_0x2719('0xb'),auth['isAuthenticated'](),interaction['tracked']('whatsapp','whatsappinteraction:update'),controller[_0x2719('0x16')]);router[_0x2719('0x17')](_0x2719('0xb'),auth['isAuthenticated'](),interaction['tracked'](_0x2719('0x18'),_0x2719('0x19')),controller[_0x2719('0x1a')]);router[_0x2719('0x17')](_0x2719('0x1b'),auth[_0x2719('0x7')](),controller[_0x2719('0x1c')]);module['exports']=router; \ No newline at end of file diff --git a/server/api/whatsappInteraction/whatsappInteraction.attributes.js b/server/api/whatsappInteraction/whatsappInteraction.attributes.js index be21af0..105fddf 100644 --- a/server/api/whatsappInteraction/whatsappInteraction.attributes.js +++ b/server/api/whatsappInteraction/whatsappInteraction.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xc621=['sequelize','moment','exports','BOOLEAN','STRING','DATE','ENUM','out'];(function(_0x3dacce,_0x4bb01c){var _0x5aef0c=function(_0xdadc86){while(--_0xdadc86){_0x3dacce['push'](_0x3dacce['shift']());}};_0x5aef0c(++_0x4bb01c);}(_0xc621,0xb0));var _0x1c62=function(_0x3a51d5,_0x5b8cc4){_0x3a51d5=_0x3a51d5-0x0;var _0x5a9eb7=_0xc621[_0x3a51d5];return _0x5a9eb7;};'use strict';var Sequelize=require(_0x1c62('0x0'));var moment=require(_0x1c62('0x1'));module[_0x1c62('0x2')]={'closed':{'type':Sequelize[_0x1c62('0x3')],'defaultValue':![]},'closedAt':{'type':Sequelize['DATE']},'disposition':{'type':Sequelize[_0x1c62('0x4')]},'note':{'type':Sequelize[_0x1c62('0x4')]},'phone':{'type':Sequelize['STRING']},'read1stAt':{'type':Sequelize[_0x1c62('0x5')]},'firstMsgDirection':{'type':Sequelize[_0x1c62('0x6')]('in',_0x1c62('0x7')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0x1c62('0x5')]},'lastMsgDirection':{'type':Sequelize[_0x1c62('0x6')]('in','out'),'defaultValue':'in','allowNull':![]}}; \ No newline at end of file +var _0x28fb=['ENUM','out','sequelize','moment','exports','BOOLEAN','STRING','DATE'];(function(_0x1fbefc,_0x44fdba){var _0xf10de9=function(_0x337bf8){while(--_0x337bf8){_0x1fbefc['push'](_0x1fbefc['shift']());}};_0xf10de9(++_0x44fdba);}(_0x28fb,0x122));var _0xb28f=function(_0x4b7b62,_0x4920a9){_0x4b7b62=_0x4b7b62-0x0;var _0x2280df=_0x28fb[_0x4b7b62];return _0x2280df;};'use strict';var Sequelize=require(_0xb28f('0x0'));var moment=require(_0xb28f('0x1'));module[_0xb28f('0x2')]={'closed':{'type':Sequelize[_0xb28f('0x3')],'defaultValue':![]},'closedAt':{'type':Sequelize['DATE']},'disposition':{'type':Sequelize[_0xb28f('0x4')]},'note':{'type':Sequelize[_0xb28f('0x4')]},'phone':{'type':Sequelize[_0xb28f('0x4')]},'read1stAt':{'type':Sequelize[_0xb28f('0x5')]},'firstMsgDirection':{'type':Sequelize[_0xb28f('0x6')]('in','out'),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize['DATE']},'lastMsgDirection':{'type':Sequelize['ENUM']('in',_0xb28f('0x7')),'defaultValue':'in','allowNull':![]}}; \ No newline at end of file diff --git a/server/api/whatsappInteraction/whatsappInteraction.controller.js b/server/api/whatsappInteraction/whatsappInteraction.controller.js index 0533037..3bddef4 100644 --- a/server/api/whatsappInteraction/whatsappInteraction.controller.js +++ b/server/api/whatsappInteraction/whatsappInteraction.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x7a54=['attachments','Attachment','direction','secret','WhatsappAccount','Account','Owner','mkdirSync','30px','%s\x20#%d','Whatsapp','YYYY-MM-DD','YYYY-MM-DD\x20HH:mm:ss','closedAt','disposition','Messages','basename','existsSync','createReadStream','pipe','createWriteStream','System','out','renderFile','views','downloadInteraction.html','toFile','transcript-','.pdf','download','log','err','unlinkSync','html-pdf','eml-format','rimraf','fast-json-patch','request-promise','bluebird','mustache','util','path','sox','ejs','squel','crypto','desk.js','ioredis','../../components/auth/service','../../components/parsers/advancedSearch','api','../../config/utils','../../config/environment','../../mysqldb','redis','defaults','socket.io-emitter','./whatsappInteraction.socket','register','sendStatus','end','status','count','offset','limit','set','json','apply','reject','update','destroy','then','error','stack','name','send','Users','map','fullname','TagIds','Tags','split','push','catch','index','rawAttributes','fieldName','type','key','model','query','keys','intersection','attributes','fields','length','hasOwnProperty','order','sort','where','pick','filters','select','color','tools_tags','u.id','field','ui.WhatsappInteractionId','user_has_whatsapp_interactions','left_join','users','u.id\x20=\x20ui.UserId','from','whatsapp_interactions','cm_contacts','c.id\x20=\x20i.ContactId\x20AND\x20c.deletedAt\x20IS\x20NULL','o.id\x20=\x20i.UserId','whatsapp_accounts','whatsapp_messages','whatsapp_interaction_has_tags','expr','search','parseSearch','sqlOperator','conditions','find','unreadMessages','having','`\x20=\x200','`\x20>\x200','Contact','operator','$substring','value','getFullTextValue','c.firstName\x20LIKE\x20?\x20OR\x20c.lastName\x20LIKE\x20?\x20OR\x20c.email\x20LIKE\x20?','ContactId','text','Tag','CONCAT(\x27,\x27,\x20`TagIds`,\x20\x27,\x27)\x20LIKE\x20?','union','UserId','buildExpression','start','body','isEmpty','WhatsappAccountId','i.WhatsappAccountId\x20IN\x20?','concat','createdAt','$gte','parse','i.createdAt\x20BETWEEN\x20?\x20AND\x20?','null','\x20IS\x20NULL','\x20=\x20?','read','`unreadMessages`\x20=\x200','`unreadMessages`\x20>\x200','tag','filter','isNumeric','i.id\x20LIKE\x20?','i.phone\x20LIKE\x20?','MATCH\x20(me.body)\x20AGAINST\x20(?\x20IN\x20BOOLEAN\x20MODE)','CONCAT(c.firstName,\x20\x27\x20\x27,\x20c.lastName)\x20LIKE\x20?','group','i.id','Sequelize','QueryTypes','SELECT','clone','SUM(me.read\x20=\x200\x20AND\x20me.direction\x20=\x20\x27in\x27)','forEach','DESC','t.id\x20IN\x20?','resolve','i.WhatsappAccountId\x20IS\x20NOT\x20NULL','user','i.WhatsappAccountId\x20IS\x20NULL','sequelize','toString','keyBy','merge','Account.key','Account.mandatoryDisposition','i.*','c.firstName','c.lastName','Contact.lastName','c.email','Contact.email','Contact.phone','c.mobile','c.fax','Contact.fax','Owner.fullname','o.internal','Owner.internal','ui.WhatsappInteractionId\x20IN\x20?','WhatsappInteractionId','rows','show','params','includeAll','include','WhatsappInteraction','create','addMessage','WhatsappMessage','omit','ids','getMessages','findOne','format','options','findAll','emit','removeTags','unix','root','files','tmp','server','join','transcript-%d-%s.zip','User','firstName','lastName'];(function(_0x2aea9e,_0x1f587f){var _0x430b92=function(_0x416c37){while(--_0x416c37){_0x2aea9e['push'](_0x2aea9e['shift']());}};_0x430b92(++_0x1f587f);}(_0x7a54,0x106));var _0x47a5=function(_0x588729,_0x2a78db){_0x588729=_0x588729-0x0;var _0x48966d=_0x7a54[_0x588729];return _0x48966d;};'use strict';var pdf=require(_0x47a5('0x0'));var emlformat=require(_0x47a5('0x1'));var rimraf=require(_0x47a5('0x2'));var zipdir=require('zip-dir');var jsonpatch=require(_0x47a5('0x3'));var rp=require(_0x47a5('0x4'));var moment=require('moment');var BPromise=require(_0x47a5('0x5'));var Mustache=require(_0x47a5('0x6'));var util=require(_0x47a5('0x7'));var path=require(_0x47a5('0x8'));var sox=require(_0x47a5('0x9'));var csv=require('to-csv');var ejs=require(_0x47a5('0xa'));var fs=require('fs');var _=require('lodash');var squel=require(_0x47a5('0xb'));var crypto=require(_0x47a5('0xc'));var jsforce=require('jsforce');var deskjs=require(_0x47a5('0xd'));var toCsv=require('to-csv');var querystring=require('querystring');var Papa=require('papaparse');var Redis=require(_0x47a5('0xe'));var authService=require(_0x47a5('0xf'));var qs=require('../../components/parsers/qs');var as=require(_0x47a5('0x10'));var hardwareService=require('../../config/license/hardware');var logger=require('../../config/logger')(_0x47a5('0x11'));var utils=require(_0x47a5('0x12'));var config=require(_0x47a5('0x13'));var db=require(_0x47a5('0x14'))['db'];config[_0x47a5('0x15')]=_[_0x47a5('0x16')](config[_0x47a5('0x15')],{'host':'localhost','port':0x18eb});var socket=require(_0x47a5('0x17'))(new Redis(config[_0x47a5('0x15')]));require(_0x47a5('0x18'))[_0x47a5('0x19')](socket);function respondWithStatusCode(_0x139f25,_0x620ee9){_0x620ee9=_0x620ee9||0xcc;return function(_0x3c6c46){if(_0x3c6c46){return _0x139f25[_0x47a5('0x1a')](_0x620ee9);}return _0x139f25['status'](_0x620ee9)[_0x47a5('0x1b')]();};}function respondWithResult(_0x11faf5,_0x3b001e){_0x3b001e=_0x3b001e||0xc8;return function(_0x2a2cbb){if(_0x2a2cbb){return _0x11faf5[_0x47a5('0x1c')](_0x3b001e)['json'](_0x2a2cbb);}};}function respondWithFilteredResult(_0x549de3,_0x138bc0){return function(_0x4b966e){if(_0x4b966e){var _0x5247fd=_0x4b966e[_0x47a5('0x1d')],_0x423a81=_0x138bc0[_0x47a5('0x1e')],_0xaf70a6=_0x138bc0[_0x47a5('0x1e')]+_0x138bc0[_0x47a5('0x1f')],_0x2ce454;if(_0xaf70a6>=_0x5247fd){_0xaf70a6=_0x5247fd;_0x2ce454=0xc8;}else{_0x2ce454=0xce;}_0x549de3[_0x47a5('0x1c')](_0x2ce454);return _0x549de3[_0x47a5('0x20')]('Content-Range',_0x423a81+'-'+_0xaf70a6+'/'+_0x5247fd)[_0x47a5('0x21')](_0x4b966e);}return null;};}function patchUpdates(_0xf160ba){return function(_0x47cf3c){try{jsonpatch[_0x47a5('0x22')](_0x47cf3c,_0xf160ba,!![]);}catch(_0x1f03f7){return BPromise[_0x47a5('0x23')](_0x1f03f7);}return _0x47cf3c['save']();};}function saveUpdates(_0xb8ae6c,_0x2f142b){return function(_0x23db32){if(_0x23db32){return _0x23db32[_0x47a5('0x24')](_0xb8ae6c)['then'](function(_0xe2dea9){return _0xe2dea9;});}return null;};}function removeEntity(_0x385687,_0x513981){return function(_0x28747d){if(_0x28747d){return _0x28747d[_0x47a5('0x25')]()[_0x47a5('0x26')](function(){_0x385687[_0x47a5('0x1c')](0xcc)[_0x47a5('0x1b')]();});}};}function handleEntityNotFound(_0x50bf17,_0x53078a){return function(_0x136745){if(!_0x136745){_0x50bf17['sendStatus'](0x194);}return _0x136745;};}function handleError(_0x1ea9c8,_0x5b6c4e){_0x5b6c4e=_0x5b6c4e||0x1f4;return function(_0x23cb77){logger[_0x47a5('0x27')](_0x23cb77[_0x47a5('0x28')]);if(_0x23cb77[_0x47a5('0x29')]){delete _0x23cb77[_0x47a5('0x29')];}_0x1ea9c8[_0x47a5('0x1c')](_0x5b6c4e)[_0x47a5('0x2a')](_0x23cb77);};}function getInteractionUsers(_0x136b14,_0x16631f){return new BPromise(function(_0x361bfa,_0x1127f8){try{if(_0x16631f[_0x136b14['id']]){_0x136b14[_0x47a5('0x2b')]=_[_0x47a5('0x2c')](_0x16631f[_0x136b14['id']],function(_0x528582){return{'id':_0x528582['id'],'fullname':_0x528582[_0x47a5('0x2d')]};});}}catch(_0x51833b){_0x1127f8(_0x51833b);}_0x361bfa(_0x136b14);});}function getInteractionTags(_0x2ef875,_0x9ac908){return new BPromise(function(_0x16901f,_0x4d6b57){try{if(_0x2ef875[_0x47a5('0x2e')]){_0x2ef875[_0x47a5('0x2f')]=[];_0x2ef875[_0x47a5('0x2e')][_0x47a5('0x30')](',')['forEach'](function(_0x50d875){_0x2ef875[_0x47a5('0x2f')][_0x47a5('0x31')](_0x9ac908[_0x50d875]);});}delete _0x2ef875['TagIds'];}catch(_0x4e1006){_0x4d6b57(_0x4e1006);}_0x16901f(_0x2ef875);});}function updateWhatsappInteraction(_0x836303,_0x51544e,_0x57bff6){return new BPromise(function(_0x42f70c,_0x53119b){return getInteractionUsers(_0x836303,_0x57bff6)[_0x47a5('0x26')](function(_0xd972c){return getInteractionTags(_0xd972c,_0x51544e);})['then'](function(_0x4843c0){_0x42f70c(_0x4843c0);})[_0x47a5('0x32')](function(_0x5910bb){_0x53119b(_0x5910bb);});});}exports[_0x47a5('0x33')]=function(_0x87e4c9,_0xf269a8){var _0x52749b={},_0x18f7e9={},_0x50c086={'count':0x0,'rows':[]};var _0x53c754=_[_0x47a5('0x2c')](db['WhatsappInteraction'][_0x47a5('0x34')],function(_0x5ef577){return{'name':_0x5ef577[_0x47a5('0x35')],'type':_0x5ef577[_0x47a5('0x36')][_0x47a5('0x37')]};});_0x18f7e9[_0x47a5('0x38')]=_[_0x47a5('0x2c')](_0x53c754,_0x47a5('0x29'));_0x18f7e9[_0x47a5('0x39')]=_[_0x47a5('0x3a')](_0x87e4c9[_0x47a5('0x39')]);_0x18f7e9['filters']=_[_0x47a5('0x3b')](_0x18f7e9[_0x47a5('0x38')],_0x18f7e9['query']);_0x52749b[_0x47a5('0x3c')]=_[_0x47a5('0x3b')](_0x18f7e9[_0x47a5('0x38')],qs['fields'](_0x87e4c9[_0x47a5('0x39')][_0x47a5('0x3d')]));_0x52749b['attributes']=_0x52749b[_0x47a5('0x3c')][_0x47a5('0x3e')]?_0x52749b['attributes']:_0x18f7e9['model'];if(!_0x87e4c9['query'][_0x47a5('0x3f')]('nolimit')){_0x52749b[_0x47a5('0x1f')]=qs[_0x47a5('0x1f')](_0x87e4c9[_0x47a5('0x39')][_0x47a5('0x1f')]);_0x52749b[_0x47a5('0x1e')]=qs[_0x47a5('0x1e')](_0x87e4c9[_0x47a5('0x39')][_0x47a5('0x1e')]);}_0x52749b[_0x47a5('0x40')]=qs[_0x47a5('0x41')](_0x87e4c9[_0x47a5('0x39')][_0x47a5('0x41')]);_0x52749b[_0x47a5('0x42')]=qs['filters'](_[_0x47a5('0x43')](_0x87e4c9[_0x47a5('0x39')],_0x18f7e9[_0x47a5('0x44')]),_0x53c754);var _0x23bd8d=[];var _0x586f4f=squel[_0x47a5('0x45')]()['field']('id')['field']('name')['field'](_0x47a5('0x46'))['from'](_0x47a5('0x47'));var _0x3a740b=squel[_0x47a5('0x45')]()['field'](_0x47a5('0x48'))[_0x47a5('0x49')]('u.fullname')['field'](_0x47a5('0x4a'))['from'](_0x47a5('0x4b'),'ui')[_0x47a5('0x4c')](_0x47a5('0x4d'),'u',_0x47a5('0x4e'));var _0x34a9ae=squel[_0x47a5('0x45')]()[_0x47a5('0x4f')](_0x47a5('0x50'),'i')[_0x47a5('0x4c')](_0x47a5('0x51'),'c',_0x47a5('0x52'))[_0x47a5('0x4c')](_0x47a5('0x4d'),'o',_0x47a5('0x53'))[_0x47a5('0x4c')](_0x47a5('0x54'),'a','a.id\x20=\x20i.WhatsappAccountId')[_0x47a5('0x4c')](_0x47a5('0x55'),'me','me.WhatsappInteractionId\x20=\x20i.id')['left_join'](_0x47a5('0x56'),'it','it.WhatsappInteractionId\x20=\x20i.id')[_0x47a5('0x4c')](_0x47a5('0x47'),'t','t.id\x20=\x20it.TagId');var _0x4f62d3=squel[_0x47a5('0x57')]();var _0x52d409=[];var _0x2d147c=squel[_0x47a5('0x57')]();var _0x3548bc;if(_0x87e4c9[_0x47a5('0x39')][_0x47a5('0x58')]){_0x3548bc=as[_0x47a5('0x59')](_0x87e4c9[_0x47a5('0x39')]['search']);var _0x48a0ef=_0x3548bc[_0x47a5('0x5a')];for(var _0x411230=0x0;_0x411230<_0x3548bc[_0x47a5('0x5b')][_0x47a5('0x3e')];_0x411230++){var _0x2c7020=_0x3548bc[_0x47a5('0x5b')][_0x411230];var _0x249de5='i';var _0x492cf7=_[_0x47a5('0x5c')](_0x53c754,[_0x47a5('0x29'),_0x2c7020[_0x47a5('0x49')]]);if(!_0x492cf7){switch(_0x2c7020['field']){case _0x47a5('0x5d'):if(_0x2c7020['value']==0x1){_0x34a9ae[_0x47a5('0x5e')]('`'+_0x2c7020[_0x47a5('0x49')]+_0x47a5('0x5f'));}else{_0x34a9ae[_0x47a5('0x5e')]('`'+_0x2c7020['field']+_0x47a5('0x60'));}break;case _0x47a5('0x61'):if(_0x2c7020[_0x47a5('0x62')]===_0x47a5('0x63')){if(_0x2c7020[_0x47a5('0x64')][_0x47a5('0x30')]('\x20')[_0x47a5('0x3e')]>0x1){_0x4f62d3[_0x48a0ef]('MATCH\x20(c.firstName,\x20c.lastName,\x20c.phone,\x20c.mobile,\x20c.fax,\x20c.email)\x20AGAINST\x20(?\x20IN\x20BOOLEAN\x20MODE)',qs[_0x47a5('0x65')](_0x2c7020[_0x47a5('0x64')]),null);}else{var _0x187d7e='%'+_0x2c7020[_0x47a5('0x64')]+'%';_0x4f62d3[_0x48a0ef](_0x47a5('0x66'),_0x187d7e,_0x187d7e,_0x187d7e);}}else{_0x492cf7=_[_0x47a5('0x5c')](_0x53c754,['name',_0x47a5('0x67')]);_0x2c7020[_0x47a5('0x49')]=_0x47a5('0x67');_0x5cbe97=as['buildExpression'](_0x249de5,_0x492cf7[_0x47a5('0x36')],_0x2c7020);_0x4f62d3[_0x48a0ef](_0x5cbe97[_0x47a5('0x68')],_0x5cbe97[_0x47a5('0x64')]['start'],_0x5cbe97['value'][_0x47a5('0x1b')]);}break;case _0x47a5('0x69'):var _0x4fa1da=_0x2c7020['value'][_0x47a5('0x30')](',')['map'](function(_0x16bb8a){return Number(_0x16bb8a);});_0x4fa1da['forEach'](function(_0x482de6){_0x2d147c['or'](_0x47a5('0x6a'),'%,'+_0x482de6+',%');});_0x52d409=_[_0x47a5('0x6b')](_0x52d409,_0x4fa1da);break;case'User':if(_0x2c7020[_0x47a5('0x62')]===_0x47a5('0x63')){_0x4f62d3[_0x48a0ef]('CONCAT_WS(\x27\x20\x27,\x20o.name,\x20o.fullname)\x20LIKE\x20?','%'+_0x2c7020['value']+'%',null);}else{_0x492cf7=_[_0x47a5('0x5c')](_0x53c754,[_0x47a5('0x29'),_0x47a5('0x6c')]);_0x2c7020[_0x47a5('0x49')]='UserId';_0x5cbe97=as[_0x47a5('0x6d')](_0x249de5,_0x492cf7[_0x47a5('0x36')],_0x2c7020);_0x4f62d3[_0x48a0ef](_0x5cbe97[_0x47a5('0x68')],_0x5cbe97['value'][_0x47a5('0x6e')],_0x5cbe97['value'][_0x47a5('0x1b')]);}break;case _0x47a5('0x6f'):_0x5cbe97=as[_0x47a5('0x6d')]('me',null,_0x2c7020);_0x4f62d3[_0x48a0ef](_0x5cbe97[_0x47a5('0x68')],_0x5cbe97[_0x47a5('0x64')]['start'],_0x5cbe97[_0x47a5('0x64')]['end']);break;}}else{var _0x5cbe97=as['buildExpression'](_0x249de5,_0x492cf7['type'],_0x2c7020);_0x4f62d3[_0x48a0ef](_0x5cbe97[_0x47a5('0x68')],_0x5cbe97[_0x47a5('0x64')][_0x47a5('0x6e')],_0x5cbe97['value']['end']);}}}else{var _0x139229=_(_0x87e4c9[_0x47a5('0x39')])[_0x47a5('0x3a')]()[_0x47a5('0x2c')](function(_0xc45e25){return _['some'](_0x53c754,[_0x47a5('0x29'),_0xc45e25])?_0xc45e25:undefined;})['compact']()[_0x47a5('0x64')]();if(!_[_0x47a5('0x70')](_0x139229)){_0x139229['forEach'](function(_0x32b4de){if(_0x32b4de===_0x47a5('0x71')){_0x34a9ae[_0x47a5('0x42')](_0x47a5('0x72'),[][_0x47a5('0x73')](_0x87e4c9[_0x47a5('0x39')][_0x32b4de]));}else if(_0x32b4de===_0x47a5('0x74')){var _0x3ac38c=JSON['parse'](_0x87e4c9[_0x47a5('0x39')][_0x32b4de])[_0x47a5('0x75')];var _0x3c75c6=JSON[_0x47a5('0x76')](_0x87e4c9[_0x47a5('0x39')][_0x32b4de])['$lte'];_0x34a9ae[_0x47a5('0x42')](_0x47a5('0x77'),_0x3ac38c,_0x3c75c6);}else{if(_0x87e4c9[_0x47a5('0x39')][_0x32b4de]===_0x47a5('0x78')){_0x34a9ae[_0x47a5('0x42')]('i.'+_0x32b4de+_0x47a5('0x79'));}else{_0x34a9ae[_0x47a5('0x42')]('i.'+_0x32b4de+_0x47a5('0x7a'),_0x87e4c9[_0x47a5('0x39')][_0x32b4de]);}}});}if(_0x87e4c9[_0x47a5('0x39')][_0x47a5('0x7b')]){if(_0x87e4c9[_0x47a5('0x39')][_0x47a5('0x7b')]==0x1){_0x34a9ae[_0x47a5('0x5e')](_0x47a5('0x7c'));}else{_0x34a9ae['having'](_0x47a5('0x7d'));}}if(_0x87e4c9[_0x47a5('0x39')][_0x47a5('0x7e')]){_0x52d409=_['isArray'](_0x87e4c9[_0x47a5('0x39')][_0x47a5('0x7e')])?_0x87e4c9[_0x47a5('0x39')][_0x47a5('0x7e')]:new Array(_0x87e4c9['query'][_0x47a5('0x7e')]);_0x52d409['forEach'](function(_0x2d5ee6){_0x2d147c['or']('CONCAT(\x27,\x27,\x20`TagIds`,\x20\x27,\x27)\x20LIKE\x20?','%,'+_0x2d5ee6+',%');});}if(_0x87e4c9[_0x47a5('0x39')]['filter']){var _0x7c1190=_0x87e4c9[_0x47a5('0x39')][_0x47a5('0x7f')]['replace']('\x5c','\x5c\x5c')['replace']('\x27\x27','\x27\x27\x27\x27');if(qs[_0x47a5('0x80')](_0x7c1190)){_0x4f62d3['or'](_0x47a5('0x81'),_0x7c1190+'%')['or'](_0x47a5('0x82'),_0x7c1190+'%');}else{_0x4f62d3['or'](_0x47a5('0x83'),qs['getFullTextValue'](_0x7c1190))['or'](_0x47a5('0x84'),_0x7c1190+'%');}}}_0x34a9ae[_0x47a5('0x42')](_0x4f62d3);_0x34a9ae[_0x47a5('0x85')](_0x47a5('0x86'));var _0x308c9a={'type':db[_0x47a5('0x87')][_0x47a5('0x88')][_0x47a5('0x89')],'raw':!![]};var _0x4618a0=_0x34a9ae[_0x47a5('0x8a')]();_0x4618a0[_0x47a5('0x49')](_0x47a5('0x86'));_0x4618a0['field'](_0x47a5('0x8b'),'unreadMessages');if(_0x52749b[_0x47a5('0x40')]){_0x52749b[_0x47a5('0x40')][_0x47a5('0x8c')](function(_0x12fec9){_0x34a9ae[_0x47a5('0x40')]('i.'+_0x12fec9[0x0],_0x12fec9[0x1]===_0x47a5('0x8d')?![]:!![]);});}if(!_[_0x47a5('0x70')](_0x52d409)){_0x34a9ae[_0x47a5('0x5e')](_0x2d147c);_0x4618a0[_0x47a5('0x42')](_0x47a5('0x8e'),_0x52d409);}BPromise[_0x47a5('0x8f')]()[_0x47a5('0x26')](function(){if(!_0x3548bc){if(_0x87e4c9[_0x47a5('0x39')][_0x47a5('0x71')]||_0x87e4c9[_0x47a5('0x39')]['journey'])return;_0x4618a0['where']('i.WhatsappAccountId\x20IS\x20NOT\x20NULL');_0x34a9ae['where'](_0x47a5('0x90'));return;}return _0x87e4c9[_0x47a5('0x91')]['getWhatsappAccounts']({'attributes':['id'],'raw':!![]})[_0x47a5('0x26')](function(_0x44dda2){if(_[_0x47a5('0x70')](_0x44dda2)){_0x4618a0[_0x47a5('0x42')](_0x47a5('0x92'));_0x34a9ae[_0x47a5('0x42')](_0x47a5('0x92'));}else{_0x4618a0[_0x47a5('0x42')](_0x47a5('0x72'),_[_0x47a5('0x2c')](_0x44dda2,'id'));_0x34a9ae[_0x47a5('0x42')]('i.WhatsappAccountId\x20IN\x20?',_[_0x47a5('0x2c')](_0x44dda2,'id'));}});})[_0x47a5('0x26')](function(){db[_0x47a5('0x93')]['query'](_0x4618a0[_0x47a5('0x94')](),_0x308c9a)[_0x47a5('0x26')](function(_0x17b61d){_0x50c086['count']=_0x17b61d[_0x47a5('0x3e')];if(_0x50c086['count']===0x0)return[];return db['sequelize'][_0x47a5('0x39')](_0x586f4f[_0x47a5('0x94')](),_0x308c9a)[_0x47a5('0x26')](function(_0x27333e){_0x23bd8d=_[_0x47a5('0x95')](_0x27333e,'id');_0x308c9a=_[_0x47a5('0x96')](_0x308c9a,{'model':db['WhatsappInteraction'],'mapToModel':!![],'raw':!![],'nest':!![]});if(_0x87e4c9['query'][_0x47a5('0x3d')]){_0x52749b['attributes'][_0x47a5('0x8c')](function(_0x3fffd1){_0x34a9ae[_0x47a5('0x49')]('i.'+_0x3fffd1);});}else{_0x34a9ae[_0x47a5('0x49')]('SUM(me.read\x20=\x200\x20AND\x20me.direction\x20=\x20\x27in\x27)',_0x47a5('0x5d'));_0x34a9ae['field']('a.key',_0x47a5('0x97'));_0x34a9ae[_0x47a5('0x49')]('a.mandatoryDisposition',_0x47a5('0x98'));_0x34a9ae[_0x47a5('0x49')](_0x47a5('0x99'));_0x34a9ae['field'](_0x47a5('0x9a'),'Contact.firstName');_0x34a9ae[_0x47a5('0x49')](_0x47a5('0x9b'),_0x47a5('0x9c'));_0x34a9ae['field'](_0x47a5('0x9d'),_0x47a5('0x9e'));_0x34a9ae[_0x47a5('0x49')]('c.phone',_0x47a5('0x9f'));_0x34a9ae['field'](_0x47a5('0xa0'),'Contact.mobile');_0x34a9ae[_0x47a5('0x49')](_0x47a5('0xa1'),_0x47a5('0xa2'));_0x34a9ae[_0x47a5('0x49')]('o.fullname',_0x47a5('0xa3'));_0x34a9ae[_0x47a5('0x49')](_0x47a5('0xa4'),_0x47a5('0xa5'));_0x34a9ae[_0x47a5('0x49')]('GROUP_CONCAT(DISTINCT\x20t.id)','TagIds');}if(_0x52749b[_0x47a5('0x1f')])_0x34a9ae['limit'](_0x52749b[_0x47a5('0x1f')]);if(_0x52749b[_0x47a5('0x1e')])_0x34a9ae[_0x47a5('0x1e')](_0x52749b['offset']);return db[_0x47a5('0x93')][_0x47a5('0x39')](_0x34a9ae['toString'](),_0x308c9a);})[_0x47a5('0x26')](function(_0x8a9dea){_0x3a740b[_0x47a5('0x42')](_0x47a5('0xa6'),_['map'](_0x8a9dea,'id'));return db['sequelize'][_0x47a5('0x39')](_0x3a740b[_0x47a5('0x94')](),_0x308c9a)['then'](function(_0x27d422){var _0x23f055=_['groupBy'](_0x27d422,_0x47a5('0xa7'));var _0x2a02cd=[];_0x8a9dea[_0x47a5('0x8c')](function(_0x59f010){_0x2a02cd[_0x47a5('0x31')](updateWhatsappInteraction(_0x59f010,_0x23bd8d,_0x23f055));});return BPromise['all'](_0x2a02cd);});});})[_0x47a5('0x26')](function(_0x5e2946){_0x50c086[_0x47a5('0xa8')]=_0x5e2946;return _0x50c086;})[_0x47a5('0x26')](respondWithFilteredResult(_0xf269a8,_0x52749b));})['catch'](handleError(_0xf269a8,null));};exports[_0x47a5('0xa9')]=function(_0x597cb2,_0x1eabef){var _0x36f619={'raw':![],'where':{'id':_0x597cb2[_0x47a5('0xaa')]['id']}},_0x37e045={};_0x37e045['model']=_[_0x47a5('0x3a')](db['WhatsappInteraction']['rawAttributes']);_0x37e045[_0x47a5('0x39')]=_[_0x47a5('0x3a')](_0x597cb2[_0x47a5('0x39')]);_0x37e045[_0x47a5('0x44')]=_[_0x47a5('0x3b')](_0x37e045['model'],_0x37e045[_0x47a5('0x39')]);_0x36f619[_0x47a5('0x3c')]=_[_0x47a5('0x3b')](_0x37e045[_0x47a5('0x38')],qs['fields'](_0x597cb2[_0x47a5('0x39')]['fields']));_0x36f619[_0x47a5('0x3c')]=_0x36f619[_0x47a5('0x3c')][_0x47a5('0x3e')]?_0x36f619[_0x47a5('0x3c')]:_0x37e045[_0x47a5('0x38')];if(_0x597cb2[_0x47a5('0x39')][_0x47a5('0xab')]){_0x36f619[_0x47a5('0xac')]=[{'all':!![]}];}_0x36f619=_[_0x47a5('0x96')]({},_0x36f619,_0x597cb2['options']);return db[_0x47a5('0xad')][_0x47a5('0x5c')](_0x36f619)['then'](handleEntityNotFound(_0x1eabef,null))[_0x47a5('0x26')](respondWithResult(_0x1eabef,null))[_0x47a5('0x32')](handleError(_0x1eabef,null));};exports[_0x47a5('0xae')]=function(_0x5b85cd,_0x4bf1f5){return db[_0x47a5('0xad')][_0x47a5('0xae')](_0x5b85cd['body'],{})['then'](respondWithResult(_0x4bf1f5,0xc9))[_0x47a5('0x32')](handleError(_0x4bf1f5,null));};exports[_0x47a5('0x24')]=function(_0x54eab1,_0x29e384){if(_0x54eab1[_0x47a5('0x6f')]['id']){delete _0x54eab1['body']['id'];}return db[_0x47a5('0xad')][_0x47a5('0x5c')]({'where':{'id':_0x54eab1[_0x47a5('0xaa')]['id']}})[_0x47a5('0x26')](handleEntityNotFound(_0x29e384,null))[_0x47a5('0x26')](saveUpdates(_0x54eab1[_0x47a5('0x6f')],null))['then'](respondWithResult(_0x29e384,null))['catch'](handleError(_0x29e384,null));};exports['destroy']=function(_0x133b7a,_0xce5ada){return db['WhatsappInteraction'][_0x47a5('0x5c')]({'where':{'id':_0x133b7a[_0x47a5('0xaa')]['id']}})[_0x47a5('0x26')](handleEntityNotFound(_0xce5ada,null))[_0x47a5('0x26')](removeEntity(_0xce5ada,null))[_0x47a5('0x32')](handleError(_0xce5ada,null));};exports['describe']=function(_0x3e7750,_0x548a06){return db['WhatsappInteraction']['describe']()[_0x47a5('0x26')](respondWithResult(_0x548a06,null))['catch'](handleError(_0x548a06,null));};exports[_0x47a5('0xaf')]=function(_0xf3edc8,_0x5a316e,_0x49f791){return db[_0x47a5('0xb0')][_0x47a5('0x5c')]({'where':{'id':_0xf3edc8[_0x47a5('0xaa')]['id']}})[_0x47a5('0x26')](handleEntityNotFound(_0x5a316e,null))[_0x47a5('0x26')](function(_0x581a87){if(_0x581a87){return _0x581a87[_0x47a5('0xaf')](_0xf3edc8[_0x47a5('0x6f')]['ids'],_[_0x47a5('0xb1')](_0xf3edc8[_0x47a5('0x6f')],[_0x47a5('0xb2'),'id'])||{});}})[_0x47a5('0x26')](respondWithResult(_0x5a316e,null))[_0x47a5('0x32')](handleError(_0x5a316e,null));};exports[_0x47a5('0xb3')]=function(_0x5112d7,_0x6a8174,_0x2e418d){var _0x50b236={'raw':![],'where':{}};var _0x263521={};var _0x9769b5={'count':0x0,'rows':[]};return db[_0x47a5('0xad')][_0x47a5('0xb4')]({'where':{'id':_0x5112d7['params']['id']}})['then'](handleEntityNotFound(_0x6a8174,null))['then'](function(_0x4eee99){if(_0x4eee99){_0x263521[_0x47a5('0x38')]=_[_0x47a5('0x3a')](db[_0x47a5('0xb0')][_0x47a5('0x34')]);_0x263521[_0x47a5('0x39')]=_[_0x47a5('0x3a')](_0x5112d7[_0x47a5('0x39')]);_0x263521[_0x47a5('0x44')]=_['intersection'](_0x263521[_0x47a5('0x38')],_0x263521[_0x47a5('0x39')]);_0x50b236[_0x47a5('0x3c')]=_[_0x47a5('0x3b')](_0x263521['model'],qs['fields'](_0x5112d7[_0x47a5('0x39')]['fields']));_0x50b236['attributes']=_0x50b236[_0x47a5('0x3c')][_0x47a5('0x3e')]?_0x50b236['attributes']:_0x263521[_0x47a5('0x38')];if(!_0x5112d7[_0x47a5('0x39')][_0x47a5('0x3f')]('nolimit')){_0x50b236[_0x47a5('0x1f')]=qs[_0x47a5('0x1f')](_0x5112d7['query'][_0x47a5('0x1f')]);_0x50b236[_0x47a5('0x1e')]=qs[_0x47a5('0x1e')](_0x5112d7[_0x47a5('0x39')][_0x47a5('0x1e')]);}_0x50b236[_0x47a5('0x40')]=qs['sort'](_0x5112d7[_0x47a5('0x39')]['sort']);_0x50b236[_0x47a5('0x42')]=qs[_0x47a5('0x44')](_[_0x47a5('0x43')](_0x5112d7[_0x47a5('0x39')],_0x263521['filters']));_0x50b236[_0x47a5('0x42')][_0x47a5('0xa7')]=_0x4eee99['id'];if(_0x5112d7[_0x47a5('0x39')][_0x47a5('0x7f')]){_0x50b236[_0x47a5('0x42')]=_[_0x47a5('0x96')](_0x50b236[_0x47a5('0x42')],{'$or':_[_0x47a5('0x2c')](_0x50b236[_0x47a5('0x3c')],function(_0xa2045c){var _0x109738={};_0x109738[_0xa2045c]={'$like':'%'+_0x5112d7[_0x47a5('0x39')]['filter']+'%'};return _0x109738;})});}if(_0x5112d7[_0x47a5('0x39')][_0x47a5('0x75')]){var _0x591bde=_0x5112d7[_0x47a5('0x39')][_0x47a5('0x75')][_0x47a5('0x30')](',');var _0x2ccf21={};_0x2ccf21[_0x591bde[0x0]]={'$gte':moment(_0x591bde[0x1])[_0x47a5('0xb5')]('YYYY-MM-DD\x20HH:mm:ss')};_0x50b236[_0x47a5('0x42')]=_[_0x47a5('0x96')](_0x50b236[_0x47a5('0x42')],_0x2ccf21);}_0x50b236=_[_0x47a5('0x96')]({},_0x50b236,_0x5112d7[_0x47a5('0xb6')]);return db[_0x47a5('0xb0')][_0x47a5('0x1d')]({'where':_0x50b236['where']})['then'](function(_0xa3d578){_0x9769b5['count']=_0xa3d578;if(_0x5112d7[_0x47a5('0x39')]['includeAll']){_0x50b236[_0x47a5('0xac')]=[{'all':!![]}];}return db[_0x47a5('0xb0')][_0x47a5('0xb7')](_0x50b236);})[_0x47a5('0x26')](function(_0x49cb8c){_0x9769b5[_0x47a5('0xa8')]=_0x49cb8c;return _0x9769b5;});}})[_0x47a5('0x26')](respondWithFilteredResult(_0x6a8174,_0x50b236))[_0x47a5('0x32')](handleError(_0x6a8174,null));};exports['addTags']=function(_0x581759,_0x30375f,_0x29015a){return db[_0x47a5('0xad')][_0x47a5('0x5c')]({'where':{'id':_0x581759[_0x47a5('0xaa')]['id']}})[_0x47a5('0x26')](handleEntityNotFound(_0x30375f,null))[_0x47a5('0x26')](function(_0xe662d7){if(_0xe662d7){return _0xe662d7['setTags'](_0x581759[_0x47a5('0x6f')]['ids'],_[_0x47a5('0xb1')](_0x581759[_0x47a5('0x6f')],['ids','id'])||{})['spread'](function(){return db[_0x47a5('0x69')][_0x47a5('0xb7')]({'attributes':['id','name',_0x47a5('0x46')],'where':{'id':_0x581759[_0x47a5('0x6f')][_0x47a5('0xb2')]}});})[_0x47a5('0x26')](function(_0x5a7f32){socket[_0x47a5('0xb8')]('whatsappInteractionTags:save',{'id':Number(_0x581759['params']['id']),'tags':_0x5a7f32||[]});return{'id':Number(_0x581759['params']['id']),'tags':_0x5a7f32||[]};});}})[_0x47a5('0x26')](respondWithResult(_0x30375f,null))['catch'](handleError(_0x30375f,null));};exports[_0x47a5('0xb9')]=function(_0x156d51,_0x401139,_0x2005d5){return db[_0x47a5('0xad')][_0x47a5('0x5c')]({'where':{'id':_0x156d51[_0x47a5('0xaa')]['id']}})[_0x47a5('0x26')](handleEntityNotFound(_0x401139,null))[_0x47a5('0x26')](function(_0x2200f9){if(_0x2200f9){return _0x2200f9[_0x47a5('0xb9')](_0x156d51[_0x47a5('0x39')][_0x47a5('0xb2')]);}})[_0x47a5('0x26')](respondWithStatusCode(_0x401139,null))[_0x47a5('0x32')](handleError(_0x401139,null));};exports['download']=function(_0xdd95c8,_0x40aee5){var _0x322cee=moment()[_0x47a5('0xba')]()['toString']();var _0x367662=path['join'](config[_0x47a5('0xbb')],'server',_0x47a5('0xbc'),_0x47a5('0xbd'));var _0x3b894d=path['join'](config[_0x47a5('0xbb')],_0x47a5('0xbe'),_0x47a5('0xbc'),'attachments');var _0x52798d=path[_0x47a5('0xbf')](_0x367662,_0x322cee);var _0x1a5e07=util[_0x47a5('0xb5')](_0x47a5('0xc0'),_0xdd95c8[_0x47a5('0xaa')]['id'],_0x322cee);var _0x579e5c=path[_0x47a5('0xbf')](_0x367662,_0x1a5e07);var _0x4b3ae4=[];_0x4b3ae4[_0x47a5('0x31')]({'model':db[_0x47a5('0xc1')],'as':_0x47a5('0xc1'),'attributes':['id',_0x47a5('0x2d')],'raw':!![]});_0x4b3ae4['push']({'model':db['CmContact'],'as':_0x47a5('0x61'),'attributes':['id',_0x47a5('0xc2'),_0x47a5('0xc3')],'raw':!![]});if(_0xdd95c8[_0x47a5('0x39')][_0x47a5('0xc4')]){_0x4b3ae4[_0x47a5('0x31')]({'model':db[_0x47a5('0xc5')],'as':_0x47a5('0xc5'),'raw':!![]});}var _0x2c2245=[{'model':db['WhatsappMessage'],'as':'Messages','attributes':['id',_0x47a5('0x6f'),'createdAt',_0x47a5('0xc6'),_0x47a5('0xc7'),_0x47a5('0x7b')],'include':_0x4b3ae4}];_0x2c2245['push']({'model':db[_0x47a5('0xc8')],'as':_0x47a5('0xc9'),'attributes':['id','name']});_0x2c2245[_0x47a5('0x31')]({'model':db['User'],'as':_0x47a5('0xca'),'attributes':['id',_0x47a5('0x2d')]});return db[_0x47a5('0xad')]['find']({'where':{'id':_0xdd95c8['params']['id']},'include':_0x2c2245})['then'](handleEntityNotFound(_0x40aee5,null))['then'](function(_0x5075a6){if(_0x5075a6){var _0x1ba5b6=_0x5075a6['get']({'plain':!![]});fs[_0x47a5('0xcb')](_0x52798d);var _0x2287b0={'format':'A4','border':'10px','header':{'height':'40px','contents':{'first':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
Interaction\x20Transcript
\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'}},'footer':{'height':_0x47a5('0xcc'),'contents':{'default':util['format']('\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20%s\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{page}}/{{pages}}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20%s\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20',util['format'](_0x47a5('0xcd'),_0x47a5('0xce'),_0x1ba5b6['id']),moment()[_0x47a5('0xb5')](_0x47a5('0xcf'))['toString']())}}};var _0xdda046={'channel':'Whatsapp','account':_0x1ba5b6[_0x47a5('0xc9')]['name'],'agent':_0x1ba5b6[_0x47a5('0xca')]?_0x1ba5b6[_0x47a5('0xca')][_0x47a5('0x2d')]:'N.A.','createdAt':moment(_0x1ba5b6[_0x47a5('0x74')])[_0x47a5('0xb5')](_0x47a5('0xd0'))[_0x47a5('0x94')](),'closedAt':_0x1ba5b6['closed']?moment(_0x1ba5b6[_0x47a5('0xd1')])[_0x47a5('0xb5')](_0x47a5('0xd0'))[_0x47a5('0x94')]():'','disposition':_0x1ba5b6[_0x47a5('0xd2')],'messages':_(_0x1ba5b6[_0x47a5('0xd3')])['filter']({'secret':![]})[_0x47a5('0x2c')](function(_0xe245ca){if(_0xe245ca[_0x47a5('0xc5')]){var _0xac8d4f=path[_0x47a5('0xbf')](_0x3b894d,_0xe245ca[_0x47a5('0xc5')][_0x47a5('0xd4')]);if(fs[_0x47a5('0xd5')](_0xac8d4f)){fs[_0x47a5('0xd6')](_0xac8d4f)[_0x47a5('0xd7')](fs[_0x47a5('0xd8')](path[_0x47a5('0xbf')](_0x52798d,_0xe245ca[_0x47a5('0xc5')][_0x47a5('0xd4')])));}}return{'date':moment(_0xe245ca[_0x47a5('0x74')])[_0x47a5('0xb5')](_0x47a5('0xd0'))['toString'](),'sender':_0xe245ca[_0x47a5('0xc6')]==='out'?_0xe245ca['User']?_0xe245ca[_0x47a5('0xc1')][_0x47a5('0x2d')]:_0x47a5('0xd9'):_0xe245ca['Contact'][_0x47a5('0xc2')]+(_0xe245ca[_0x47a5('0x61')][_0x47a5('0xc3')]?'\x20'+_0xe245ca[_0x47a5('0x61')][_0x47a5('0xc3')]:''),'body':_0xe245ca[_0x47a5('0xc5')]?_0xe245ca[_0x47a5('0xc5')][_0x47a5('0xd4')]:_0xe245ca[_0x47a5('0x6f')],'direction':_0xe245ca[_0x47a5('0xc6')]===_0x47a5('0xda')?'A':'C','secret':_0xe245ca[_0x47a5('0xc7')],'read':_0xe245ca[_0x47a5('0x7b')],'attachment':_0xe245ca['Attachment']};})['value']()};return ejs[_0x47a5('0xdb')](path['join'](config[_0x47a5('0xbb')],_0x47a5('0xbe'),_0x47a5('0xdc'),_0x47a5('0xdd')),{'interaction':_0xdda046})[_0x47a5('0x26')](function(_0x3708ea){return new BPromise(function(_0x583b37,_0x2b4039){pdf[_0x47a5('0xae')](_0x3708ea,_0x2287b0)[_0x47a5('0xde')](path['join'](_0x52798d,_0x47a5('0xdf')+_0x1ba5b6['id']+'-'+_0x322cee+_0x47a5('0xe0')),function(_0x3ecc41,_0x3e4148){if(_0x3ecc41)return _0x2b4039(_0x3ecc41);_0x583b37(_0x3e4148);});});})[_0x47a5('0x26')](function(){return new BPromise(function(_0x23e649,_0x35e20f){zipdir(_0x52798d,{'saveTo':_0x579e5c},function(_0x46615a,_0xd6e255){if(_0x46615a)return _0x35e20f(_0x46615a);return _0x23e649(_0xd6e255);});})[_0x47a5('0x26')](function(){return new BPromise(function(_0x1b91ad,_0x40b7a5){rimraf(_0x52798d,function(_0x28e998){if(_0x28e998)_0x40b7a5(_0x28e998);return _0x1b91ad();});});})[_0x47a5('0x26')](function(){return _0x40aee5[_0x47a5('0xe1')](_0x579e5c,_0x1a5e07,function(_0x3f7fdc){if(_0x3f7fdc){console[_0x47a5('0xe2')](_0x47a5('0xe3'),_0x3f7fdc);}else{fs[_0x47a5('0xe4')](_0x579e5c);}});});});}else{return _0x40aee5[_0x47a5('0x1a')](0xc8);}})[_0x47a5('0x32')](handleError(_0x40aee5,null));}; \ No newline at end of file +var _0xadb5=['field','from','tools_tags','u.id','ui.WhatsappInteractionId','user_has_whatsapp_interactions','left_join','whatsapp_interactions','c.id\x20=\x20i.ContactId\x20AND\x20c.deletedAt\x20IS\x20NULL','o.id\x20=\x20i.UserId','whatsapp_accounts','a.id\x20=\x20i.WhatsappAccountId','whatsapp_messages','me.WhatsappInteractionId\x20=\x20i.id','it.WhatsappInteractionId\x20=\x20i.id','expr','search','parseSearch','sqlOperator','conditions','unreadMessages','having','`\x20=\x200','`\x20>\x200','Contact','operator','value','MATCH\x20(c.firstName,\x20c.lastName,\x20c.phone,\x20c.mobile,\x20c.fax,\x20c.email)\x20AGAINST\x20(?\x20IN\x20BOOLEAN\x20MODE)','getFullTextValue','c.firstName\x20LIKE\x20?\x20OR\x20c.lastName\x20LIKE\x20?\x20OR\x20c.email\x20LIKE\x20?','ContactId','text','Tag','CONCAT(\x27,\x27,\x20`TagIds`,\x20\x27,\x27)\x20LIKE\x20?','union','User','$substring','find','UserId','buildExpression','start','body','keys','compact','isEmpty','WhatsappAccountId','i.WhatsappAccountId\x20IN\x20?','concat','createdAt','$lte','i.createdAt\x20BETWEEN\x20?\x20AND\x20?','null','where','\x20IS\x20NULL','\x20=\x20?','read','`unreadMessages`\x20=\x200','`unreadMessages`\x20>\x200','tag','isArray','filter','replace','isNumeric','i.id\x20LIKE\x20?','MATCH\x20(me.body)\x20AGAINST\x20(?\x20IN\x20BOOLEAN\x20MODE)','CONCAT(c.firstName,\x20\x27\x20\x27,\x20c.lastName)\x20LIKE\x20?','i.id','Sequelize','QueryTypes','SELECT','clone','SUM(me.read\x20=\x200\x20AND\x20me.direction\x20=\x20\x27in\x27)','DESC','t.id\x20IN\x20?','resolve','journey','i.WhatsappAccountId\x20IS\x20NOT\x20NULL','user','getWhatsappAccounts','i.WhatsappAccountId\x20IS\x20NULL','sequelize','toString','count','keyBy','a.key','Account.key','a.mandatoryDisposition','Account.mandatoryDisposition','i.*','c.firstName','Contact.firstName','c.lastName','c.email','c.phone','Contact.phone','c.mobile','Contact.mobile','c.fax','o.fullname','o.internal','Owner.internal','ui.WhatsappInteractionId\x20IN\x20?','groupBy','WhatsappInteractionId','all','catch','show','params','includeAll','include','merge','options','create','describe','addMessage','ids','getMessages','findOne','WhatsappMessage','hasOwnProperty','nolimit','$gte','format','YYYY-MM-DD\x20HH:mm:ss','rows','addTags','setTags','omit','spread','findAll','color','emit','whatsappInteractionTags:save','removeTags','download','unix','join','root','server','files','tmp','attachments','transcript-%d-%s.zip','firstName','lastName','Attachment','Messages','secret','WhatsappAccount','Account','Owner','get','mkdirSync','40px','30px','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20%s\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{page}}/{{pages}}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20%s\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','%s\x20#%d','N.A.','closed','disposition','basename','createReadStream','createWriteStream','direction','out','System','renderFile','views','downloadInteraction.html','toFile','log','err','unlinkSync','eml-format','zip-dir','fast-json-patch','request-promise','bluebird','mustache','util','sox','to-csv','ejs','lodash','squel','crypto','jsforce','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../config/logger','api','../../config/utils','../../mysqldb','defaults','localhost','socket.io-emitter','redis','register','sendStatus','end','status','json','offset','set','Content-Range','apply','save','update','then','destroy','error','stack','name','send','Users','map','fullname','TagIds','Tags','split','forEach','push','WhatsappInteraction','rawAttributes','type','key','query','intersection','model','attributes','fields','length','limit','order','sort','filters','pick','select'];(function(_0x52d360,_0x5e245d){var _0x2a2ca8=function(_0x49b605){while(--_0x49b605){_0x52d360['push'](_0x52d360['shift']());}};_0x2a2ca8(++_0x5e245d);}(_0xadb5,0xad));var _0x5adb=function(_0xf04b50,_0x248d76){_0xf04b50=_0xf04b50-0x0;var _0x47cee3=_0xadb5[_0xf04b50];return _0x47cee3;};'use strict';var pdf=require('html-pdf');var emlformat=require(_0x5adb('0x0'));var rimraf=require('rimraf');var zipdir=require(_0x5adb('0x1'));var jsonpatch=require(_0x5adb('0x2'));var rp=require(_0x5adb('0x3'));var moment=require('moment');var BPromise=require(_0x5adb('0x4'));var Mustache=require(_0x5adb('0x5'));var util=require(_0x5adb('0x6'));var path=require('path');var sox=require(_0x5adb('0x7'));var csv=require(_0x5adb('0x8'));var ejs=require(_0x5adb('0x9'));var fs=require('fs');var _=require(_0x5adb('0xa'));var squel=require(_0x5adb('0xb'));var crypto=require(_0x5adb('0xc'));var jsforce=require(_0x5adb('0xd'));var deskjs=require(_0x5adb('0xe'));var toCsv=require(_0x5adb('0x8'));var querystring=require(_0x5adb('0xf'));var Papa=require(_0x5adb('0x10'));var Redis=require(_0x5adb('0x11'));var authService=require(_0x5adb('0x12'));var qs=require(_0x5adb('0x13'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require('../../config/license/hardware');var logger=require(_0x5adb('0x14'))(_0x5adb('0x15'));var utils=require(_0x5adb('0x16'));var config=require('../../config/environment');var db=require(_0x5adb('0x17'))['db'];config['redis']=_[_0x5adb('0x18')](config['redis'],{'host':_0x5adb('0x19'),'port':0x18eb});var socket=require(_0x5adb('0x1a'))(new Redis(config[_0x5adb('0x1b')]));require('./whatsappInteraction.socket')[_0x5adb('0x1c')](socket);function respondWithStatusCode(_0x34af2c,_0xf82f72){_0xf82f72=_0xf82f72||0xcc;return function(_0x5263ec){if(_0x5263ec){return _0x34af2c[_0x5adb('0x1d')](_0xf82f72);}return _0x34af2c['status'](_0xf82f72)[_0x5adb('0x1e')]();};}function respondWithResult(_0x42a482,_0x30614e){_0x30614e=_0x30614e||0xc8;return function(_0x304784){if(_0x304784){return _0x42a482[_0x5adb('0x1f')](_0x30614e)[_0x5adb('0x20')](_0x304784);}};}function respondWithFilteredResult(_0xa29dc,_0x42f4c6){return function(_0xb953a6){if(_0xb953a6){var _0x529b65=_0xb953a6['count'],_0x3fff62=_0x42f4c6[_0x5adb('0x21')],_0x5de028=_0x42f4c6['offset']+_0x42f4c6['limit'],_0x1d9e86;if(_0x5de028>=_0x529b65){_0x5de028=_0x529b65;_0x1d9e86=0xc8;}else{_0x1d9e86=0xce;}_0xa29dc[_0x5adb('0x1f')](_0x1d9e86);return _0xa29dc[_0x5adb('0x22')](_0x5adb('0x23'),_0x3fff62+'-'+_0x5de028+'/'+_0x529b65)[_0x5adb('0x20')](_0xb953a6);}return null;};}function patchUpdates(_0x99bc6c){return function(_0x5af69d){try{jsonpatch[_0x5adb('0x24')](_0x5af69d,_0x99bc6c,!![]);}catch(_0x5c296e){return BPromise['reject'](_0x5c296e);}return _0x5af69d[_0x5adb('0x25')]();};}function saveUpdates(_0x379b33,_0x1a38d3){return function(_0x1a8014){if(_0x1a8014){return _0x1a8014[_0x5adb('0x26')](_0x379b33)[_0x5adb('0x27')](function(_0xfd9bb9){return _0xfd9bb9;});}return null;};}function removeEntity(_0x4ca150,_0x4b1957){return function(_0x373cc3){if(_0x373cc3){return _0x373cc3[_0x5adb('0x28')]()[_0x5adb('0x27')](function(){_0x4ca150[_0x5adb('0x1f')](0xcc)['end']();});}};}function handleEntityNotFound(_0x2fee18,_0x2e1e63){return function(_0x5aed76){if(!_0x5aed76){_0x2fee18[_0x5adb('0x1d')](0x194);}return _0x5aed76;};}function handleError(_0x1ded9f,_0x1a0acd){_0x1a0acd=_0x1a0acd||0x1f4;return function(_0x55b40a){logger[_0x5adb('0x29')](_0x55b40a[_0x5adb('0x2a')]);if(_0x55b40a[_0x5adb('0x2b')]){delete _0x55b40a[_0x5adb('0x2b')];}_0x1ded9f[_0x5adb('0x1f')](_0x1a0acd)[_0x5adb('0x2c')](_0x55b40a);};}function getInteractionUsers(_0x4a5d46,_0x49992e){return new BPromise(function(_0x5d457e,_0x39bddd){try{if(_0x49992e[_0x4a5d46['id']]){_0x4a5d46[_0x5adb('0x2d')]=_[_0x5adb('0x2e')](_0x49992e[_0x4a5d46['id']],function(_0x512bab){return{'id':_0x512bab['id'],'fullname':_0x512bab[_0x5adb('0x2f')]};});}}catch(_0x4de310){_0x39bddd(_0x4de310);}_0x5d457e(_0x4a5d46);});}function getInteractionTags(_0x11ec2a,_0x34b793){return new BPromise(function(_0x372da1,_0x3b1fed){try{if(_0x11ec2a[_0x5adb('0x30')]){_0x11ec2a[_0x5adb('0x31')]=[];_0x11ec2a[_0x5adb('0x30')][_0x5adb('0x32')](',')[_0x5adb('0x33')](function(_0x260295){_0x11ec2a['Tags'][_0x5adb('0x34')](_0x34b793[_0x260295]);});}delete _0x11ec2a['TagIds'];}catch(_0x12424d){_0x3b1fed(_0x12424d);}_0x372da1(_0x11ec2a);});}function updateWhatsappInteraction(_0x20cde6,_0x5d1441,_0x226390){return new BPromise(function(_0xe389ca,_0x461a39){return getInteractionUsers(_0x20cde6,_0x226390)['then'](function(_0x173789){return getInteractionTags(_0x173789,_0x5d1441);})[_0x5adb('0x27')](function(_0x4b5887){_0xe389ca(_0x4b5887);})['catch'](function(_0x1ed9ea){_0x461a39(_0x1ed9ea);});});}exports['index']=function(_0x663ea0,_0x222568){var _0x3c2b07={},_0x2da912={},_0x9bdece={'count':0x0,'rows':[]};var _0x5ece39=_[_0x5adb('0x2e')](db[_0x5adb('0x35')][_0x5adb('0x36')],function(_0x54851b){return{'name':_0x54851b['fieldName'],'type':_0x54851b[_0x5adb('0x37')][_0x5adb('0x38')]};});_0x2da912['model']=_[_0x5adb('0x2e')](_0x5ece39,'name');_0x2da912[_0x5adb('0x39')]=_['keys'](_0x663ea0[_0x5adb('0x39')]);_0x2da912['filters']=_[_0x5adb('0x3a')](_0x2da912[_0x5adb('0x3b')],_0x2da912['query']);_0x3c2b07[_0x5adb('0x3c')]=_['intersection'](_0x2da912[_0x5adb('0x3b')],qs[_0x5adb('0x3d')](_0x663ea0[_0x5adb('0x39')]['fields']));_0x3c2b07[_0x5adb('0x3c')]=_0x3c2b07[_0x5adb('0x3c')][_0x5adb('0x3e')]?_0x3c2b07[_0x5adb('0x3c')]:_0x2da912[_0x5adb('0x3b')];if(!_0x663ea0['query']['hasOwnProperty']('nolimit')){_0x3c2b07['limit']=qs[_0x5adb('0x3f')](_0x663ea0[_0x5adb('0x39')][_0x5adb('0x3f')]);_0x3c2b07[_0x5adb('0x21')]=qs[_0x5adb('0x21')](_0x663ea0[_0x5adb('0x39')][_0x5adb('0x21')]);}_0x3c2b07[_0x5adb('0x40')]=qs['sort'](_0x663ea0['query'][_0x5adb('0x41')]);_0x3c2b07['where']=qs[_0x5adb('0x42')](_[_0x5adb('0x43')](_0x663ea0[_0x5adb('0x39')],_0x2da912[_0x5adb('0x42')]),_0x5ece39);var _0xdfecfd=[];var _0x522ee5=squel[_0x5adb('0x44')]()[_0x5adb('0x45')]('id')['field'](_0x5adb('0x2b'))[_0x5adb('0x45')]('color')[_0x5adb('0x46')](_0x5adb('0x47'));var _0x1d6bef=squel[_0x5adb('0x44')]()[_0x5adb('0x45')](_0x5adb('0x48'))[_0x5adb('0x45')]('u.fullname')['field'](_0x5adb('0x49'))[_0x5adb('0x46')](_0x5adb('0x4a'),'ui')[_0x5adb('0x4b')]('users','u','u.id\x20=\x20ui.UserId');var _0xaa32e4=squel[_0x5adb('0x44')]()[_0x5adb('0x46')](_0x5adb('0x4c'),'i')[_0x5adb('0x4b')]('cm_contacts','c',_0x5adb('0x4d'))[_0x5adb('0x4b')]('users','o',_0x5adb('0x4e'))[_0x5adb('0x4b')](_0x5adb('0x4f'),'a',_0x5adb('0x50'))[_0x5adb('0x4b')](_0x5adb('0x51'),'me',_0x5adb('0x52'))[_0x5adb('0x4b')]('whatsapp_interaction_has_tags','it',_0x5adb('0x53'))['left_join']('tools_tags','t','t.id\x20=\x20it.TagId');var _0x3cd211=squel[_0x5adb('0x54')]();var _0x207a81=[];var _0x4ba0b5=squel[_0x5adb('0x54')]();var _0x5cbab5;if(_0x663ea0[_0x5adb('0x39')][_0x5adb('0x55')]){_0x5cbab5=as[_0x5adb('0x56')](_0x663ea0['query'][_0x5adb('0x55')]);var _0x560bac=_0x5cbab5[_0x5adb('0x57')];for(var _0x6dc067=0x0;_0x6dc067<_0x5cbab5['conditions'][_0x5adb('0x3e')];_0x6dc067++){var _0x1ab97b=_0x5cbab5[_0x5adb('0x58')][_0x6dc067];var _0x101008='i';var _0x372734=_['find'](_0x5ece39,[_0x5adb('0x2b'),_0x1ab97b[_0x5adb('0x45')]]);if(!_0x372734){switch(_0x1ab97b[_0x5adb('0x45')]){case _0x5adb('0x59'):if(_0x1ab97b['value']==0x1){_0xaa32e4[_0x5adb('0x5a')]('`'+_0x1ab97b[_0x5adb('0x45')]+_0x5adb('0x5b'));}else{_0xaa32e4['having']('`'+_0x1ab97b[_0x5adb('0x45')]+_0x5adb('0x5c'));}break;case _0x5adb('0x5d'):if(_0x1ab97b[_0x5adb('0x5e')]==='$substring'){if(_0x1ab97b[_0x5adb('0x5f')][_0x5adb('0x32')]('\x20')[_0x5adb('0x3e')]>0x1){_0x3cd211[_0x560bac](_0x5adb('0x60'),qs[_0x5adb('0x61')](_0x1ab97b['value']),null);}else{var _0x378938='%'+_0x1ab97b['value']+'%';_0x3cd211[_0x560bac](_0x5adb('0x62'),_0x378938,_0x378938,_0x378938);}}else{_0x372734=_['find'](_0x5ece39,[_0x5adb('0x2b'),_0x5adb('0x63')]);_0x1ab97b[_0x5adb('0x45')]=_0x5adb('0x63');_0x836b91=as['buildExpression'](_0x101008,_0x372734[_0x5adb('0x37')],_0x1ab97b);_0x3cd211[_0x560bac](_0x836b91[_0x5adb('0x64')],_0x836b91[_0x5adb('0x5f')]['start'],_0x836b91['value']['end']);}break;case _0x5adb('0x65'):var _0x31a1f9=_0x1ab97b[_0x5adb('0x5f')][_0x5adb('0x32')](',')[_0x5adb('0x2e')](function(_0xb06bee){return Number(_0xb06bee);});_0x31a1f9[_0x5adb('0x33')](function(_0x8d7810){_0x4ba0b5['or'](_0x5adb('0x66'),'%,'+_0x8d7810+',%');});_0x207a81=_[_0x5adb('0x67')](_0x207a81,_0x31a1f9);break;case _0x5adb('0x68'):if(_0x1ab97b[_0x5adb('0x5e')]===_0x5adb('0x69')){_0x3cd211[_0x560bac]('CONCAT_WS(\x27\x20\x27,\x20o.name,\x20o.fullname)\x20LIKE\x20?','%'+_0x1ab97b['value']+'%',null);}else{_0x372734=_[_0x5adb('0x6a')](_0x5ece39,[_0x5adb('0x2b'),_0x5adb('0x6b')]);_0x1ab97b[_0x5adb('0x45')]='UserId';_0x836b91=as[_0x5adb('0x6c')](_0x101008,_0x372734[_0x5adb('0x37')],_0x1ab97b);_0x3cd211[_0x560bac](_0x836b91['text'],_0x836b91[_0x5adb('0x5f')][_0x5adb('0x6d')],_0x836b91[_0x5adb('0x5f')]['end']);}break;case _0x5adb('0x6e'):_0x836b91=as[_0x5adb('0x6c')]('me',null,_0x1ab97b);_0x3cd211[_0x560bac](_0x836b91[_0x5adb('0x64')],_0x836b91[_0x5adb('0x5f')][_0x5adb('0x6d')],_0x836b91[_0x5adb('0x5f')]['end']);break;}}else{var _0x836b91=as[_0x5adb('0x6c')](_0x101008,_0x372734[_0x5adb('0x37')],_0x1ab97b);_0x3cd211[_0x560bac](_0x836b91['text'],_0x836b91[_0x5adb('0x5f')][_0x5adb('0x6d')],_0x836b91[_0x5adb('0x5f')]['end']);}}}else{var _0x7287ac=_(_0x663ea0['query'])[_0x5adb('0x6f')]()[_0x5adb('0x2e')](function(_0x24e1ab){return _['some'](_0x5ece39,[_0x5adb('0x2b'),_0x24e1ab])?_0x24e1ab:undefined;})[_0x5adb('0x70')]()['value']();if(!_[_0x5adb('0x71')](_0x7287ac)){_0x7287ac[_0x5adb('0x33')](function(_0x248739){if(_0x248739===_0x5adb('0x72')){_0xaa32e4['where'](_0x5adb('0x73'),[][_0x5adb('0x74')](_0x663ea0[_0x5adb('0x39')][_0x248739]));}else if(_0x248739===_0x5adb('0x75')){var _0x5b7556=JSON['parse'](_0x663ea0[_0x5adb('0x39')][_0x248739])['$gte'];var _0x4d635f=JSON['parse'](_0x663ea0[_0x5adb('0x39')][_0x248739])[_0x5adb('0x76')];_0xaa32e4['where'](_0x5adb('0x77'),_0x5b7556,_0x4d635f);}else{if(_0x663ea0[_0x5adb('0x39')][_0x248739]===_0x5adb('0x78')){_0xaa32e4[_0x5adb('0x79')]('i.'+_0x248739+_0x5adb('0x7a'));}else{_0xaa32e4[_0x5adb('0x79')]('i.'+_0x248739+_0x5adb('0x7b'),_0x663ea0[_0x5adb('0x39')][_0x248739]);}}});}if(_0x663ea0['query']['read']){if(_0x663ea0['query'][_0x5adb('0x7c')]==0x1){_0xaa32e4[_0x5adb('0x5a')](_0x5adb('0x7d'));}else{_0xaa32e4[_0x5adb('0x5a')](_0x5adb('0x7e'));}}if(_0x663ea0[_0x5adb('0x39')][_0x5adb('0x7f')]){_0x207a81=_[_0x5adb('0x80')](_0x663ea0['query']['tag'])?_0x663ea0[_0x5adb('0x39')][_0x5adb('0x7f')]:new Array(_0x663ea0[_0x5adb('0x39')][_0x5adb('0x7f')]);_0x207a81[_0x5adb('0x33')](function(_0x335de5){_0x4ba0b5['or'](_0x5adb('0x66'),'%,'+_0x335de5+',%');});}if(_0x663ea0[_0x5adb('0x39')][_0x5adb('0x81')]){var _0x3b5ecf=_0x663ea0['query'][_0x5adb('0x81')][_0x5adb('0x82')]('\x5c','\x5c\x5c')[_0x5adb('0x82')]('\x27\x27','\x27\x27\x27\x27');if(qs[_0x5adb('0x83')](_0x3b5ecf)){_0x3cd211['or'](_0x5adb('0x84'),_0x3b5ecf+'%')['or']('i.phone\x20LIKE\x20?',_0x3b5ecf+'%');}else{_0x3cd211['or'](_0x5adb('0x85'),qs['getFullTextValue'](_0x3b5ecf))['or'](_0x5adb('0x86'),_0x3b5ecf+'%');}}}_0xaa32e4[_0x5adb('0x79')](_0x3cd211);_0xaa32e4['group'](_0x5adb('0x87'));var _0x1ceb72={'type':db[_0x5adb('0x88')][_0x5adb('0x89')][_0x5adb('0x8a')],'raw':!![]};var _0x10f54a=_0xaa32e4[_0x5adb('0x8b')]();_0x10f54a[_0x5adb('0x45')]('i.id');_0x10f54a[_0x5adb('0x45')](_0x5adb('0x8c'),_0x5adb('0x59'));if(_0x3c2b07['order']){_0x3c2b07['order'][_0x5adb('0x33')](function(_0x4fd8f7){_0xaa32e4[_0x5adb('0x40')]('i.'+_0x4fd8f7[0x0],_0x4fd8f7[0x1]===_0x5adb('0x8d')?![]:!![]);});}if(!_[_0x5adb('0x71')](_0x207a81)){_0xaa32e4['having'](_0x4ba0b5);_0x10f54a[_0x5adb('0x79')](_0x5adb('0x8e'),_0x207a81);}BPromise[_0x5adb('0x8f')]()[_0x5adb('0x27')](function(){if(!_0x5cbab5){if(_0x663ea0[_0x5adb('0x39')]['WhatsappAccountId']||_0x663ea0[_0x5adb('0x39')][_0x5adb('0x90')])return;_0x10f54a[_0x5adb('0x79')](_0x5adb('0x91'));_0xaa32e4['where'](_0x5adb('0x91'));return;}return _0x663ea0[_0x5adb('0x92')][_0x5adb('0x93')]({'attributes':['id'],'raw':!![]})[_0x5adb('0x27')](function(_0x15d4f1){if(_[_0x5adb('0x71')](_0x15d4f1)){_0x10f54a[_0x5adb('0x79')]('i.WhatsappAccountId\x20IS\x20NULL');_0xaa32e4[_0x5adb('0x79')](_0x5adb('0x94'));}else{_0x10f54a['where'](_0x5adb('0x73'),_[_0x5adb('0x2e')](_0x15d4f1,'id'));_0xaa32e4['where'](_0x5adb('0x73'),_['map'](_0x15d4f1,'id'));}});})[_0x5adb('0x27')](function(){db[_0x5adb('0x95')]['query'](_0x10f54a[_0x5adb('0x96')](),_0x1ceb72)['then'](function(_0x2f6415){_0x9bdece[_0x5adb('0x97')]=_0x2f6415[_0x5adb('0x3e')];if(_0x9bdece[_0x5adb('0x97')]===0x0)return[];return db[_0x5adb('0x95')]['query'](_0x522ee5[_0x5adb('0x96')](),_0x1ceb72)[_0x5adb('0x27')](function(_0x3f33c0){_0xdfecfd=_[_0x5adb('0x98')](_0x3f33c0,'id');_0x1ceb72=_['merge'](_0x1ceb72,{'model':db['WhatsappInteraction'],'mapToModel':!![],'raw':!![],'nest':!![]});if(_0x663ea0[_0x5adb('0x39')][_0x5adb('0x3d')]){_0x3c2b07[_0x5adb('0x3c')][_0x5adb('0x33')](function(_0x277668){_0xaa32e4[_0x5adb('0x45')]('i.'+_0x277668);});}else{_0xaa32e4[_0x5adb('0x45')]('SUM(me.read\x20=\x200\x20AND\x20me.direction\x20=\x20\x27in\x27)',_0x5adb('0x59'));_0xaa32e4[_0x5adb('0x45')](_0x5adb('0x99'),_0x5adb('0x9a'));_0xaa32e4['field'](_0x5adb('0x9b'),_0x5adb('0x9c'));_0xaa32e4[_0x5adb('0x45')](_0x5adb('0x9d'));_0xaa32e4[_0x5adb('0x45')](_0x5adb('0x9e'),_0x5adb('0x9f'));_0xaa32e4[_0x5adb('0x45')](_0x5adb('0xa0'),'Contact.lastName');_0xaa32e4[_0x5adb('0x45')](_0x5adb('0xa1'),'Contact.email');_0xaa32e4[_0x5adb('0x45')](_0x5adb('0xa2'),_0x5adb('0xa3'));_0xaa32e4[_0x5adb('0x45')](_0x5adb('0xa4'),_0x5adb('0xa5'));_0xaa32e4[_0x5adb('0x45')](_0x5adb('0xa6'),'Contact.fax');_0xaa32e4[_0x5adb('0x45')](_0x5adb('0xa7'),'Owner.fullname');_0xaa32e4[_0x5adb('0x45')](_0x5adb('0xa8'),_0x5adb('0xa9'));_0xaa32e4['field']('GROUP_CONCAT(DISTINCT\x20t.id)',_0x5adb('0x30'));}if(_0x3c2b07[_0x5adb('0x3f')])_0xaa32e4[_0x5adb('0x3f')](_0x3c2b07['limit']);if(_0x3c2b07[_0x5adb('0x21')])_0xaa32e4[_0x5adb('0x21')](_0x3c2b07[_0x5adb('0x21')]);return db[_0x5adb('0x95')][_0x5adb('0x39')](_0xaa32e4[_0x5adb('0x96')](),_0x1ceb72);})[_0x5adb('0x27')](function(_0x463e84){_0x1d6bef[_0x5adb('0x79')](_0x5adb('0xaa'),_[_0x5adb('0x2e')](_0x463e84,'id'));return db[_0x5adb('0x95')]['query'](_0x1d6bef['toString'](),_0x1ceb72)[_0x5adb('0x27')](function(_0x44756a){var _0x5c4053=_[_0x5adb('0xab')](_0x44756a,_0x5adb('0xac'));var _0x38acde=[];_0x463e84[_0x5adb('0x33')](function(_0x13426e){_0x38acde[_0x5adb('0x34')](updateWhatsappInteraction(_0x13426e,_0xdfecfd,_0x5c4053));});return BPromise[_0x5adb('0xad')](_0x38acde);});});})[_0x5adb('0x27')](function(_0x42dddf){_0x9bdece['rows']=_0x42dddf;return _0x9bdece;})[_0x5adb('0x27')](respondWithFilteredResult(_0x222568,_0x3c2b07));})[_0x5adb('0xae')](handleError(_0x222568,null));};exports[_0x5adb('0xaf')]=function(_0x4f0261,_0x312a90){var _0x284f79={'raw':![],'where':{'id':_0x4f0261[_0x5adb('0xb0')]['id']}},_0x2b6e56={};_0x2b6e56[_0x5adb('0x3b')]=_[_0x5adb('0x6f')](db['WhatsappInteraction'][_0x5adb('0x36')]);_0x2b6e56[_0x5adb('0x39')]=_[_0x5adb('0x6f')](_0x4f0261[_0x5adb('0x39')]);_0x2b6e56[_0x5adb('0x42')]=_[_0x5adb('0x3a')](_0x2b6e56[_0x5adb('0x3b')],_0x2b6e56[_0x5adb('0x39')]);_0x284f79[_0x5adb('0x3c')]=_[_0x5adb('0x3a')](_0x2b6e56['model'],qs[_0x5adb('0x3d')](_0x4f0261['query'][_0x5adb('0x3d')]));_0x284f79[_0x5adb('0x3c')]=_0x284f79[_0x5adb('0x3c')][_0x5adb('0x3e')]?_0x284f79[_0x5adb('0x3c')]:_0x2b6e56['model'];if(_0x4f0261['query'][_0x5adb('0xb1')]){_0x284f79[_0x5adb('0xb2')]=[{'all':!![]}];}_0x284f79=_[_0x5adb('0xb3')]({},_0x284f79,_0x4f0261[_0x5adb('0xb4')]);return db[_0x5adb('0x35')][_0x5adb('0x6a')](_0x284f79)['then'](handleEntityNotFound(_0x312a90,null))['then'](respondWithResult(_0x312a90,null))[_0x5adb('0xae')](handleError(_0x312a90,null));};exports[_0x5adb('0xb5')]=function(_0x9d80fd,_0x4f5721){return db['WhatsappInteraction'][_0x5adb('0xb5')](_0x9d80fd['body'],{})[_0x5adb('0x27')](respondWithResult(_0x4f5721,0xc9))[_0x5adb('0xae')](handleError(_0x4f5721,null));};exports['update']=function(_0x498ecc,_0x43b91c){if(_0x498ecc['body']['id']){delete _0x498ecc['body']['id'];}return db[_0x5adb('0x35')][_0x5adb('0x6a')]({'where':{'id':_0x498ecc[_0x5adb('0xb0')]['id']}})[_0x5adb('0x27')](handleEntityNotFound(_0x43b91c,null))[_0x5adb('0x27')](saveUpdates(_0x498ecc[_0x5adb('0x6e')],null))[_0x5adb('0x27')](respondWithResult(_0x43b91c,null))[_0x5adb('0xae')](handleError(_0x43b91c,null));};exports[_0x5adb('0x28')]=function(_0x31b696,_0x44cf6a){return db[_0x5adb('0x35')][_0x5adb('0x6a')]({'where':{'id':_0x31b696['params']['id']}})[_0x5adb('0x27')](handleEntityNotFound(_0x44cf6a,null))['then'](removeEntity(_0x44cf6a,null))[_0x5adb('0xae')](handleError(_0x44cf6a,null));};exports[_0x5adb('0xb6')]=function(_0x280f30,_0xad6905){return db[_0x5adb('0x35')][_0x5adb('0xb6')]()[_0x5adb('0x27')](respondWithResult(_0xad6905,null))[_0x5adb('0xae')](handleError(_0xad6905,null));};exports[_0x5adb('0xb7')]=function(_0x36a8f0,_0x41fa3c,_0x18fc00){return db['WhatsappMessage'][_0x5adb('0x6a')]({'where':{'id':_0x36a8f0[_0x5adb('0xb0')]['id']}})[_0x5adb('0x27')](handleEntityNotFound(_0x41fa3c,null))[_0x5adb('0x27')](function(_0x1da6bc){if(_0x1da6bc){return _0x1da6bc[_0x5adb('0xb7')](_0x36a8f0[_0x5adb('0x6e')][_0x5adb('0xb8')],_['omit'](_0x36a8f0[_0x5adb('0x6e')],[_0x5adb('0xb8'),'id'])||{});}})[_0x5adb('0x27')](respondWithResult(_0x41fa3c,null))['catch'](handleError(_0x41fa3c,null));};exports[_0x5adb('0xb9')]=function(_0x4ae211,_0x74065,_0x50c3a3){var _0x54da7c={'raw':![],'where':{}};var _0x173ead={};var _0x3796b7={'count':0x0,'rows':[]};return db[_0x5adb('0x35')][_0x5adb('0xba')]({'where':{'id':_0x4ae211[_0x5adb('0xb0')]['id']}})[_0x5adb('0x27')](handleEntityNotFound(_0x74065,null))[_0x5adb('0x27')](function(_0xa1911a){if(_0xa1911a){_0x173ead[_0x5adb('0x3b')]=_[_0x5adb('0x6f')](db[_0x5adb('0xbb')][_0x5adb('0x36')]);_0x173ead['query']=_[_0x5adb('0x6f')](_0x4ae211['query']);_0x173ead[_0x5adb('0x42')]=_[_0x5adb('0x3a')](_0x173ead['model'],_0x173ead[_0x5adb('0x39')]);_0x54da7c[_0x5adb('0x3c')]=_['intersection'](_0x173ead['model'],qs[_0x5adb('0x3d')](_0x4ae211[_0x5adb('0x39')][_0x5adb('0x3d')]));_0x54da7c[_0x5adb('0x3c')]=_0x54da7c[_0x5adb('0x3c')][_0x5adb('0x3e')]?_0x54da7c['attributes']:_0x173ead[_0x5adb('0x3b')];if(!_0x4ae211[_0x5adb('0x39')][_0x5adb('0xbc')](_0x5adb('0xbd'))){_0x54da7c[_0x5adb('0x3f')]=qs['limit'](_0x4ae211['query'][_0x5adb('0x3f')]);_0x54da7c[_0x5adb('0x21')]=qs[_0x5adb('0x21')](_0x4ae211[_0x5adb('0x39')][_0x5adb('0x21')]);}_0x54da7c[_0x5adb('0x40')]=qs[_0x5adb('0x41')](_0x4ae211[_0x5adb('0x39')][_0x5adb('0x41')]);_0x54da7c['where']=qs[_0x5adb('0x42')](_[_0x5adb('0x43')](_0x4ae211['query'],_0x173ead['filters']));_0x54da7c['where'][_0x5adb('0xac')]=_0xa1911a['id'];if(_0x4ae211[_0x5adb('0x39')][_0x5adb('0x81')]){_0x54da7c['where']=_['merge'](_0x54da7c[_0x5adb('0x79')],{'$or':_[_0x5adb('0x2e')](_0x54da7c[_0x5adb('0x3c')],function(_0x3d2a5b){var _0x3b367f={};_0x3b367f[_0x3d2a5b]={'$like':'%'+_0x4ae211[_0x5adb('0x39')]['filter']+'%'};return _0x3b367f;})});}if(_0x4ae211['query'][_0x5adb('0xbe')]){var _0x5a9e55=_0x4ae211[_0x5adb('0x39')][_0x5adb('0xbe')]['split'](',');var _0x7151b8={};_0x7151b8[_0x5a9e55[0x0]]={'$gte':moment(_0x5a9e55[0x1])[_0x5adb('0xbf')](_0x5adb('0xc0'))};_0x54da7c[_0x5adb('0x79')]=_['merge'](_0x54da7c[_0x5adb('0x79')],_0x7151b8);}_0x54da7c=_[_0x5adb('0xb3')]({},_0x54da7c,_0x4ae211[_0x5adb('0xb4')]);return db[_0x5adb('0xbb')]['count']({'where':_0x54da7c[_0x5adb('0x79')]})['then'](function(_0x29cc2f){_0x3796b7[_0x5adb('0x97')]=_0x29cc2f;if(_0x4ae211[_0x5adb('0x39')][_0x5adb('0xb1')]){_0x54da7c[_0x5adb('0xb2')]=[{'all':!![]}];}return db[_0x5adb('0xbb')]['findAll'](_0x54da7c);})[_0x5adb('0x27')](function(_0x49e908){_0x3796b7[_0x5adb('0xc1')]=_0x49e908;return _0x3796b7;});}})[_0x5adb('0x27')](respondWithFilteredResult(_0x74065,_0x54da7c))['catch'](handleError(_0x74065,null));};exports[_0x5adb('0xc2')]=function(_0x52e44f,_0x5a517a,_0x4d50f7){return db[_0x5adb('0x35')]['find']({'where':{'id':_0x52e44f['params']['id']}})[_0x5adb('0x27')](handleEntityNotFound(_0x5a517a,null))[_0x5adb('0x27')](function(_0x325f86){if(_0x325f86){return _0x325f86[_0x5adb('0xc3')](_0x52e44f[_0x5adb('0x6e')][_0x5adb('0xb8')],_[_0x5adb('0xc4')](_0x52e44f['body'],[_0x5adb('0xb8'),'id'])||{})[_0x5adb('0xc5')](function(){return db['Tag'][_0x5adb('0xc6')]({'attributes':['id',_0x5adb('0x2b'),_0x5adb('0xc7')],'where':{'id':_0x52e44f[_0x5adb('0x6e')][_0x5adb('0xb8')]}});})[_0x5adb('0x27')](function(_0x3a88ab){socket[_0x5adb('0xc8')](_0x5adb('0xc9'),{'id':Number(_0x52e44f[_0x5adb('0xb0')]['id']),'tags':_0x3a88ab||[]});return{'id':Number(_0x52e44f[_0x5adb('0xb0')]['id']),'tags':_0x3a88ab||[]};});}})[_0x5adb('0x27')](respondWithResult(_0x5a517a,null))['catch'](handleError(_0x5a517a,null));};exports['removeTags']=function(_0x2376a6,_0x282c11,_0x35a718){return db[_0x5adb('0x35')]['find']({'where':{'id':_0x2376a6[_0x5adb('0xb0')]['id']}})[_0x5adb('0x27')](handleEntityNotFound(_0x282c11,null))[_0x5adb('0x27')](function(_0xb9ac38){if(_0xb9ac38){return _0xb9ac38[_0x5adb('0xca')](_0x2376a6['query']['ids']);}})[_0x5adb('0x27')](respondWithStatusCode(_0x282c11,null))['catch'](handleError(_0x282c11,null));};exports[_0x5adb('0xcb')]=function(_0x64fae1,_0x3ad256){var _0x2b4228=moment()[_0x5adb('0xcc')]()[_0x5adb('0x96')]();var _0x5e17ea=path[_0x5adb('0xcd')](config[_0x5adb('0xce')],_0x5adb('0xcf'),_0x5adb('0xd0'),_0x5adb('0xd1'));var _0xabc1ee=path[_0x5adb('0xcd')](config['root'],'server','files',_0x5adb('0xd2'));var _0x5ae730=path[_0x5adb('0xcd')](_0x5e17ea,_0x2b4228);var _0x5983ef=util['format'](_0x5adb('0xd3'),_0x64fae1[_0x5adb('0xb0')]['id'],_0x2b4228);var _0x5e74dc=path['join'](_0x5e17ea,_0x5983ef);var _0x3612c=[];_0x3612c[_0x5adb('0x34')]({'model':db[_0x5adb('0x68')],'as':'User','attributes':['id',_0x5adb('0x2f')],'raw':!![]});_0x3612c['push']({'model':db['CmContact'],'as':_0x5adb('0x5d'),'attributes':['id',_0x5adb('0xd4'),_0x5adb('0xd5')],'raw':!![]});if(_0x64fae1['query']['attachments']){_0x3612c[_0x5adb('0x34')]({'model':db[_0x5adb('0xd6')],'as':'Attachment','raw':!![]});}var _0x5366d4=[{'model':db[_0x5adb('0xbb')],'as':_0x5adb('0xd7'),'attributes':['id','body',_0x5adb('0x75'),'direction',_0x5adb('0xd8'),'read'],'include':_0x3612c}];_0x5366d4[_0x5adb('0x34')]({'model':db[_0x5adb('0xd9')],'as':_0x5adb('0xda'),'attributes':['id',_0x5adb('0x2b')]});_0x5366d4[_0x5adb('0x34')]({'model':db['User'],'as':_0x5adb('0xdb'),'attributes':['id',_0x5adb('0x2f')]});return db[_0x5adb('0x35')]['find']({'where':{'id':_0x64fae1[_0x5adb('0xb0')]['id']},'include':_0x5366d4})[_0x5adb('0x27')](handleEntityNotFound(_0x3ad256,null))[_0x5adb('0x27')](function(_0x45526a){if(_0x45526a){var _0x57607e=_0x45526a[_0x5adb('0xdc')]({'plain':!![]});fs[_0x5adb('0xdd')](_0x5ae730);var _0x3bbe7c={'format':'A4','border':'10px','header':{'height':_0x5adb('0xde'),'contents':{'first':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
Interaction\x20Transcript
\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'}},'footer':{'height':_0x5adb('0xdf'),'contents':{'default':util[_0x5adb('0xbf')](_0x5adb('0xe0'),util[_0x5adb('0xbf')](_0x5adb('0xe1'),'Whatsapp',_0x57607e['id']),moment()['format']('YYYY-MM-DD')[_0x5adb('0x96')]())}}};var _0x4a1b54={'channel':'Whatsapp','account':_0x57607e[_0x5adb('0xda')][_0x5adb('0x2b')],'agent':_0x57607e[_0x5adb('0xdb')]?_0x57607e[_0x5adb('0xdb')][_0x5adb('0x2f')]:_0x5adb('0xe2'),'createdAt':moment(_0x57607e[_0x5adb('0x75')])[_0x5adb('0xbf')]('YYYY-MM-DD\x20HH:mm:ss')[_0x5adb('0x96')](),'closedAt':_0x57607e[_0x5adb('0xe3')]?moment(_0x57607e['closedAt'])[_0x5adb('0xbf')](_0x5adb('0xc0'))['toString']():'','disposition':_0x57607e[_0x5adb('0xe4')],'messages':_(_0x57607e['Messages'])[_0x5adb('0x81')]({'secret':![]})[_0x5adb('0x2e')](function(_0x3d782b){if(_0x3d782b[_0x5adb('0xd6')]){var _0x651279=path[_0x5adb('0xcd')](_0xabc1ee,_0x3d782b[_0x5adb('0xd6')][_0x5adb('0xe5')]);if(fs['existsSync'](_0x651279)){fs[_0x5adb('0xe6')](_0x651279)['pipe'](fs[_0x5adb('0xe7')](path['join'](_0x5ae730,_0x3d782b[_0x5adb('0xd6')]['basename'])));}}return{'date':moment(_0x3d782b[_0x5adb('0x75')])[_0x5adb('0xbf')](_0x5adb('0xc0'))[_0x5adb('0x96')](),'sender':_0x3d782b[_0x5adb('0xe8')]===_0x5adb('0xe9')?_0x3d782b[_0x5adb('0x68')]?_0x3d782b[_0x5adb('0x68')][_0x5adb('0x2f')]:_0x5adb('0xea'):_0x3d782b[_0x5adb('0x5d')][_0x5adb('0xd4')]+(_0x3d782b[_0x5adb('0x5d')]['lastName']?'\x20'+_0x3d782b[_0x5adb('0x5d')]['lastName']:''),'body':_0x3d782b[_0x5adb('0xd6')]?_0x3d782b[_0x5adb('0xd6')][_0x5adb('0xe5')]:_0x3d782b['body'],'direction':_0x3d782b['direction']==='out'?'A':'C','secret':_0x3d782b['secret'],'read':_0x3d782b[_0x5adb('0x7c')],'attachment':_0x3d782b[_0x5adb('0xd6')]};})[_0x5adb('0x5f')]()};return ejs[_0x5adb('0xeb')](path[_0x5adb('0xcd')](config[_0x5adb('0xce')],_0x5adb('0xcf'),_0x5adb('0xec'),_0x5adb('0xed')),{'interaction':_0x4a1b54})['then'](function(_0x39bf82){return new BPromise(function(_0x197b7f,_0x171fb9){pdf[_0x5adb('0xb5')](_0x39bf82,_0x3bbe7c)[_0x5adb('0xee')](path[_0x5adb('0xcd')](_0x5ae730,'transcript-'+_0x57607e['id']+'-'+_0x2b4228+'.pdf'),function(_0x4edb9e,_0x25f1f7){if(_0x4edb9e)return _0x171fb9(_0x4edb9e);_0x197b7f(_0x25f1f7);});});})[_0x5adb('0x27')](function(){return new BPromise(function(_0xb81dd2,_0x2b753d){zipdir(_0x5ae730,{'saveTo':_0x5e74dc},function(_0x27eb1e,_0x5eef55){if(_0x27eb1e)return _0x2b753d(_0x27eb1e);return _0xb81dd2(_0x5eef55);});})[_0x5adb('0x27')](function(){return new BPromise(function(_0x2cb713,_0x2034d7){rimraf(_0x5ae730,function(_0x3dd67b){if(_0x3dd67b)_0x2034d7(_0x3dd67b);return _0x2cb713();});});})[_0x5adb('0x27')](function(){return _0x3ad256[_0x5adb('0xcb')](_0x5e74dc,_0x5983ef,function(_0x38c24d){if(_0x38c24d){console[_0x5adb('0xef')](_0x5adb('0xf0'),_0x38c24d);}else{fs[_0x5adb('0xf1')](_0x5e74dc);}});});});}else{return _0x3ad256[_0x5adb('0x1d')](0xc8);}})[_0x5adb('0xae')](handleError(_0x3ad256,null));}; \ No newline at end of file diff --git a/server/api/whatsappInteraction/whatsappInteraction.events.js b/server/api/whatsappInteraction/whatsappInteraction.events.js index c07e5bd..2f3f064 100644 --- a/server/api/whatsappInteraction/whatsappInteraction.events.js +++ b/server/api/whatsappInteraction/whatsappInteraction.events.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xdc15=['events','../../mysqldb','WhatsappInteraction','WhatsappMessage','setMaxListeners','update','getUsers','setDataValue','map','findAll','then','emit','hook','exports'];(function(_0x59befa,_0x4af99b){var _0x1dd63d=function(_0x4c1df4){while(--_0x4c1df4){_0x59befa['push'](_0x59befa['shift']());}};_0x1dd63d(++_0x4af99b);}(_0xdc15,0xe0));var _0x5dc1=function(_0x2d8d69,_0x8e47ff){_0x2d8d69=_0x2d8d69-0x0;var _0x39ae22=_0xdc15[_0x2d8d69];return _0x39ae22;};'use strict';var EventEmitter=require(_0x5dc1('0x0'));var WhatsappInteraction=require(_0x5dc1('0x1'))['db'][_0x5dc1('0x2')];var WhatsappMessage=require('../../mysqldb')['db'][_0x5dc1('0x3')];var WhatsappInteractionEvents=new EventEmitter();WhatsappInteractionEvents[_0x5dc1('0x4')](0x0);var events={'afterCreate':'save','afterUpdate':_0x5dc1('0x5'),'afterDestroy':'remove'};function emitEvent(_0x237e6f){return function(_0x2262c8,_0x5d8192,_0x7a348b){_0x2262c8[_0x5dc1('0x6')]({'attributes':['id'],'raw':!![]})['then'](function(_0x5831fb){_0x2262c8[_0x5dc1('0x7')]('Users',_0x5831fb[_0x5dc1('0x8')](function(_0x17ac0b){return{'id':_0x17ac0b['id']};}));return WhatsappMessage[_0x5dc1('0x9')]({'where':{'WhatsappInteractionId':_0x2262c8['id'],'direction':'in','read':![]},'raw':!![]});})[_0x5dc1('0xa')](function(_0x1c0131){_0x2262c8['setDataValue']('unreadMessages',_0x1c0131['length']);WhatsappInteractionEvents[_0x5dc1('0xb')](_0x237e6f+':'+_0x2262c8['id'],_0x2262c8);WhatsappInteractionEvents[_0x5dc1('0xb')](_0x237e6f,_0x2262c8);_0x7a348b(null);})['catch'](_0x7a348b(null));};}for(var e in events){if(events['hasOwnProperty'](e)){var event=events[e];WhatsappInteraction[_0x5dc1('0xc')](e,emitEvent(event));}}module[_0x5dc1('0xd')]=WhatsappInteractionEvents; \ No newline at end of file +var _0xd863=['WhatsappMessage','setMaxListeners','remove','getUsers','then','setDataValue','Users','map','unreadMessages','length','emit','catch','hasOwnProperty','exports','events','../../mysqldb','WhatsappInteraction'];(function(_0x4a9fb1,_0x273043){var _0x348672=function(_0x142b69){while(--_0x142b69){_0x4a9fb1['push'](_0x4a9fb1['shift']());}};_0x348672(++_0x273043);}(_0xd863,0xfc));var _0x3d86=function(_0x5e6d9a,_0x116725){_0x5e6d9a=_0x5e6d9a-0x0;var _0x33dcfd=_0xd863[_0x5e6d9a];return _0x33dcfd;};'use strict';var EventEmitter=require(_0x3d86('0x0'));var WhatsappInteraction=require(_0x3d86('0x1'))['db'][_0x3d86('0x2')];var WhatsappMessage=require('../../mysqldb')['db'][_0x3d86('0x3')];var WhatsappInteractionEvents=new EventEmitter();WhatsappInteractionEvents[_0x3d86('0x4')](0x0);var events={'afterCreate':'save','afterUpdate':'update','afterDestroy':_0x3d86('0x5')};function emitEvent(_0x3dee85){return function(_0xd96ad8,_0x99ff79,_0x238fde){_0xd96ad8[_0x3d86('0x6')]({'attributes':['id'],'raw':!![]})[_0x3d86('0x7')](function(_0x3e2680){_0xd96ad8[_0x3d86('0x8')](_0x3d86('0x9'),_0x3e2680[_0x3d86('0xa')](function(_0x1c7549){return{'id':_0x1c7549['id']};}));return WhatsappMessage['findAll']({'where':{'WhatsappInteractionId':_0xd96ad8['id'],'direction':'in','read':![]},'raw':!![]});})[_0x3d86('0x7')](function(_0x3678ee){_0xd96ad8[_0x3d86('0x8')](_0x3d86('0xb'),_0x3678ee[_0x3d86('0xc')]);WhatsappInteractionEvents[_0x3d86('0xd')](_0x3dee85+':'+_0xd96ad8['id'],_0xd96ad8);WhatsappInteractionEvents[_0x3d86('0xd')](_0x3dee85,_0xd96ad8);_0x238fde(null);})[_0x3d86('0xe')](_0x238fde(null));};}for(var e in events){if(events[_0x3d86('0xf')](e)){var event=events[e];WhatsappInteraction['hook'](e,emitEvent(event));}}module[_0x3d86('0x10')]=WhatsappInteractionEvents; \ No newline at end of file diff --git a/server/api/whatsappInteraction/whatsappInteraction.model.js b/server/api/whatsappInteraction/whatsappInteraction.model.js index bb61585..e69f379 100644 --- a/server/api/whatsappInteraction/whatsappInteraction.model.js +++ b/server/api/whatsappInteraction/whatsappInteraction.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xffc5=['define','whatsapp_interactions','changed','closedAt','format','YYYY-MM-DD\x20HH:mm:ss','lodash','api','moment','bluebird','request-promise','path','./whatsappInteraction.attributes'];(function(_0xbbfe59,_0x46067f){var _0x28a2a4=function(_0xfe230){while(--_0xfe230){_0xbbfe59['push'](_0xbbfe59['shift']());}};_0x28a2a4(++_0x46067f);}(_0xffc5,0xa2));var _0x5ffc=function(_0x285c85,_0x132c21){_0x285c85=_0x285c85-0x0;var _0x2f81cd=_0xffc5[_0x285c85];return _0x2f81cd;};'use strict';var _=require(_0x5ffc('0x0'));var util=require('util');var logger=require('../../config/logger')(_0x5ffc('0x1'));var moment=require(_0x5ffc('0x2'));var BPromise=require(_0x5ffc('0x3'));var rp=require(_0x5ffc('0x4'));var fs=require('fs');var path=require(_0x5ffc('0x5'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x5ffc('0x6'));module['exports']=function(_0x56110f,_0x3bfdd2){return _0x56110f[_0x5ffc('0x7')]('WhatsappInteraction',attributes,{'tableName':_0x5ffc('0x8'),'paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'beforeUpdate':function(_0x419d14,_0x27f4b9,_0x47c807){if(_0x419d14[_0x5ffc('0x9')]('closed')){_0x419d14[_0x5ffc('0xa')]=moment()[_0x5ffc('0xb')](_0x5ffc('0xc'));}_0x47c807(null,_0x419d14);}}});}; \ No newline at end of file +var _0x49be=['../../config/logger','api','moment','bluebird','request-promise','path','rimraf','./whatsappInteraction.attributes','exports','WhatsappInteraction','changed','closed','format','YYYY-MM-DD\x20HH:mm:ss','lodash','util'];(function(_0x402203,_0x2f64de){var _0x3e6309=function(_0x85a77e){while(--_0x85a77e){_0x402203['push'](_0x402203['shift']());}};_0x3e6309(++_0x2f64de);}(_0x49be,0xae));var _0xe49b=function(_0x495054,_0x304104){_0x495054=_0x495054-0x0;var _0x146d2e=_0x49be[_0x495054];return _0x146d2e;};'use strict';var _=require(_0xe49b('0x0'));var util=require(_0xe49b('0x1'));var logger=require(_0xe49b('0x2'))(_0xe49b('0x3'));var moment=require(_0xe49b('0x4'));var BPromise=require(_0xe49b('0x5'));var rp=require(_0xe49b('0x6'));var fs=require('fs');var path=require(_0xe49b('0x7'));var rimraf=require(_0xe49b('0x8'));var config=require('../../config/environment');var attributes=require(_0xe49b('0x9'));module[_0xe49b('0xa')]=function(_0x28a722,_0x594b87){return _0x28a722['define'](_0xe49b('0xb'),attributes,{'tableName':'whatsapp_interactions','paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'beforeUpdate':function(_0x1bc318,_0xd4817b,_0x563a2b){if(_0x1bc318[_0xe49b('0xc')](_0xe49b('0xd'))){_0x1bc318['closedAt']=moment()[_0xe49b('0xe')](_0xe49b('0xf'));}_0x563a2b(null,_0x1bc318);}}});}; \ No newline at end of file diff --git a/server/api/whatsappInteraction/whatsappInteraction.rpc.js b/server/api/whatsappInteraction/whatsappInteraction.rpc.js index 6d25ab0..e801903 100644 --- a/server/api/whatsappInteraction/whatsappInteraction.rpc.js +++ b/server/api/whatsappInteraction/whatsappInteraction.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x9fc3=['AddTagsToWhatsappInteraction','addTags','body','ids','AddTags','lodash','util','bluebird','randomstring','../../mysqldb','../../config/logger','rpc','../../config/environment','jayson/promise','http','redis','localhost','./whatsappInteraction.socket','request','then','request\x20sent','debug','WhatsappInteraction,\x20%s,\x20%s,\x20%s','stringify','error','code','message','info','WhatsappInteraction,\x20%s,\x20%s','catch','WhatsappInteraction','update','options','raw','where','attributes','UpdateWhatsappInteraction'];(function(_0x46a3ff,_0x470b9a){var _0x404bc2=function(_0x20f25f){while(--_0x20f25f){_0x46a3ff['push'](_0x46a3ff['shift']());}};_0x404bc2(++_0x470b9a);}(_0x9fc3,0xbe));var _0x39fc=function(_0x18bb6b,_0x2a9d8f){_0x18bb6b=_0x18bb6b-0x0;var _0x952e50=_0x9fc3[_0x18bb6b];return _0x952e50;};'use strict';var _=require(_0x39fc('0x0'));var util=require(_0x39fc('0x1'));var moment=require('moment');var BPromise=require(_0x39fc('0x2'));var rs=require(_0x39fc('0x3'));var fs=require('fs');var Redis=require('ioredis');var db=require(_0x39fc('0x4'))['db'];var utils=require('../../config/utils');var logger=require(_0x39fc('0x5'))(_0x39fc('0x6'));var config=require(_0x39fc('0x7'));var jayson=require(_0x39fc('0x8'));var client=jayson['client'][_0x39fc('0x9')]({'port':0x232a});config[_0x39fc('0xa')]=_['defaults'](config[_0x39fc('0xa')],{'host':_0x39fc('0xb'),'port':0x18eb});var socket=require('socket.io-emitter')(new Redis(config['redis']));require(_0x39fc('0xc'))['register'](socket);function respondWithRpcPromise(_0x355519,_0x540a0d,_0x37df20){return new BPromise(function(_0x2725fb,_0xc441e5){return client[_0x39fc('0xd')](_0x355519,_0x37df20)[_0x39fc('0xe')](function(_0x364835){logger['info']('WhatsappInteraction,\x20%s,\x20%s',_0x540a0d,_0x39fc('0xf'));logger[_0x39fc('0x10')](_0x39fc('0x11'),_0x540a0d,_0x39fc('0xf'),JSON[_0x39fc('0x12')](_0x364835));if(_0x364835[_0x39fc('0x13')]){if(_0x364835['error'][_0x39fc('0x14')]===0x1f4){logger[_0x39fc('0x13')]('WhatsappInteraction,\x20%s,\x20%s',_0x540a0d,_0x364835[_0x39fc('0x13')][_0x39fc('0x15')]);return _0xc441e5(_0x364835['error'][_0x39fc('0x15')]);}logger[_0x39fc('0x13')]('WhatsappInteraction,\x20%s,\x20%s',_0x540a0d,_0x364835[_0x39fc('0x13')][_0x39fc('0x15')]);return _0x2725fb(_0x364835[_0x39fc('0x13')][_0x39fc('0x15')]);}else{logger[_0x39fc('0x16')](_0x39fc('0x17'),_0x540a0d,'request\x20sent');_0x2725fb(_0x364835['result']['message']);}})[_0x39fc('0x18')](function(_0x1f5599){logger[_0x39fc('0x13')](_0x39fc('0x17'),_0x540a0d,_0x1f5599);_0xc441e5(_0x1f5599);});});}exports['UpdateWhatsappInteraction']=function(_0x3e27a6){var _0x43b710=this;return new Promise(function(_0x1d94c9,_0x234a09){return db[_0x39fc('0x19')][_0x39fc('0x1a')](_0x3e27a6['body'],{'raw':_0x3e27a6[_0x39fc('0x1b')]?_0x3e27a6[_0x39fc('0x1b')][_0x39fc('0x1c')]===undefined?!![]:![]:!![],'individualHooks':!![],'where':_0x3e27a6[_0x39fc('0x1b')]?_0x3e27a6[_0x39fc('0x1b')][_0x39fc('0x1d')]||null:null,'attributes':_0x3e27a6['options']?_0x3e27a6[_0x39fc('0x1b')][_0x39fc('0x1e')]||null:null,'limit':_0x3e27a6[_0x39fc('0x1b')]?_0x3e27a6[_0x39fc('0x1b')]['limit']||null:null})[_0x39fc('0xe')](function(_0x26a71f){logger['info'](_0x39fc('0x1f'),_0x3e27a6);logger[_0x39fc('0x10')](_0x39fc('0x1f'),_0x3e27a6,JSON[_0x39fc('0x12')](_0x26a71f));_0x1d94c9(_0x26a71f);})[_0x39fc('0x18')](function(_0x4e2cc4){logger[_0x39fc('0x13')](_0x39fc('0x1f'),_0x4e2cc4[_0x39fc('0x15')],_0x3e27a6);_0x234a09(_0x43b710['error'](0x1f4,_0x4e2cc4[_0x39fc('0x15')]));});});};exports[_0x39fc('0x20')]=function(_0x5df697){return new Promise(function(_0x5611a0,_0x374965){return db[_0x39fc('0x19')]['find']({'where':_0x5df697[_0x39fc('0x1b')]?_0x5df697['options'][_0x39fc('0x1d')]||null:null})[_0x39fc('0xe')](function(_0x408217){if(_0x408217){return _0x408217[_0x39fc('0x21')](_0x5df697[_0x39fc('0x22')][_0x39fc('0x23')],_['omit'](_0x5df697[_0x39fc('0x22')],[_0x39fc('0x23'),'id'])||{});}})['spread'](function(_0xbef156){logger[_0x39fc('0x16')](_0x39fc('0x24'),_0x5df697);logger[_0x39fc('0x10')](_0x39fc('0x24'),_0x5df697,JSON[_0x39fc('0x12')](_0xbef156));_0x5611a0(_0xbef156);})[_0x39fc('0x18')](function(_0x1fbfd1){logger[_0x39fc('0x13')]('AddTags',_0x1fbfd1['message'],_0x5df697);_0x374965(_this[_0x39fc('0x13')](0x1f4,_0x1fbfd1[_0x39fc('0x15')]));});});}; \ No newline at end of file +var _0x1e87=['options','raw','where','attributes','limit','AddTagsToWhatsappInteraction','find','addTags','omit','spread','debug','AddTags','lodash','bluebird','ioredis','../../mysqldb','../../config/utils','../../config/logger','rpc','jayson/promise','client','redis','localhost','socket.io-emitter','./whatsappInteraction.socket','register','request','then','info','WhatsappInteraction,\x20%s,\x20%s','request\x20sent','stringify','error','message','result','catch','UpdateWhatsappInteraction','WhatsappInteraction','update','body'];(function(_0x18ab2a,_0x4debcd){var _0x16dcee=function(_0x10107a){while(--_0x10107a){_0x18ab2a['push'](_0x18ab2a['shift']());}};_0x16dcee(++_0x4debcd);}(_0x1e87,0x174));var _0x71e8=function(_0x3e9155,_0x38e9d2){_0x3e9155=_0x3e9155-0x0;var _0x5de67a=_0x1e87[_0x3e9155];return _0x5de67a;};'use strict';var _=require(_0x71e8('0x0'));var util=require('util');var moment=require('moment');var BPromise=require(_0x71e8('0x1'));var rs=require('randomstring');var fs=require('fs');var Redis=require(_0x71e8('0x2'));var db=require(_0x71e8('0x3'))['db'];var utils=require(_0x71e8('0x4'));var logger=require(_0x71e8('0x5'))(_0x71e8('0x6'));var config=require('../../config/environment');var jayson=require(_0x71e8('0x7'));var client=jayson[_0x71e8('0x8')]['http']({'port':0x232a});config[_0x71e8('0x9')]=_['defaults'](config[_0x71e8('0x9')],{'host':_0x71e8('0xa'),'port':0x18eb});var socket=require(_0x71e8('0xb'))(new Redis(config[_0x71e8('0x9')]));require(_0x71e8('0xc'))[_0x71e8('0xd')](socket);function respondWithRpcPromise(_0x138119,_0x57c883,_0x243545){return new BPromise(function(_0x2a6bd7,_0x1a57b0){return client[_0x71e8('0xe')](_0x138119,_0x243545)[_0x71e8('0xf')](function(_0x32513e){logger[_0x71e8('0x10')](_0x71e8('0x11'),_0x57c883,'request\x20sent');logger['debug']('WhatsappInteraction,\x20%s,\x20%s,\x20%s',_0x57c883,_0x71e8('0x12'),JSON[_0x71e8('0x13')](_0x32513e));if(_0x32513e['error']){if(_0x32513e[_0x71e8('0x14')]['code']===0x1f4){logger[_0x71e8('0x14')](_0x71e8('0x11'),_0x57c883,_0x32513e[_0x71e8('0x14')][_0x71e8('0x15')]);return _0x1a57b0(_0x32513e[_0x71e8('0x14')][_0x71e8('0x15')]);}logger[_0x71e8('0x14')](_0x71e8('0x11'),_0x57c883,_0x32513e[_0x71e8('0x14')][_0x71e8('0x15')]);return _0x2a6bd7(_0x32513e['error']['message']);}else{logger[_0x71e8('0x10')](_0x71e8('0x11'),_0x57c883,_0x71e8('0x12'));_0x2a6bd7(_0x32513e[_0x71e8('0x16')]['message']);}})[_0x71e8('0x17')](function(_0x5d105c){logger['error'](_0x71e8('0x11'),_0x57c883,_0x5d105c);_0x1a57b0(_0x5d105c);});});}exports[_0x71e8('0x18')]=function(_0x5defce){var _0x48f832=this;return new Promise(function(_0x213f25,_0x3b091a){return db[_0x71e8('0x19')][_0x71e8('0x1a')](_0x5defce[_0x71e8('0x1b')],{'raw':_0x5defce[_0x71e8('0x1c')]?_0x5defce[_0x71e8('0x1c')][_0x71e8('0x1d')]===undefined?!![]:![]:!![],'individualHooks':!![],'where':_0x5defce['options']?_0x5defce[_0x71e8('0x1c')][_0x71e8('0x1e')]||null:null,'attributes':_0x5defce[_0x71e8('0x1c')]?_0x5defce['options'][_0x71e8('0x1f')]||null:null,'limit':_0x5defce[_0x71e8('0x1c')]?_0x5defce[_0x71e8('0x1c')][_0x71e8('0x20')]||null:null})[_0x71e8('0xf')](function(_0x2c1886){logger[_0x71e8('0x10')](_0x71e8('0x18'),_0x5defce);logger['debug'](_0x71e8('0x18'),_0x5defce,JSON[_0x71e8('0x13')](_0x2c1886));_0x213f25(_0x2c1886);})[_0x71e8('0x17')](function(_0x25d10d){logger[_0x71e8('0x14')](_0x71e8('0x18'),_0x25d10d['message'],_0x5defce);_0x3b091a(_0x48f832[_0x71e8('0x14')](0x1f4,_0x25d10d[_0x71e8('0x15')]));});});};exports[_0x71e8('0x21')]=function(_0x257188){return new Promise(function(_0x430933,_0x27a94b){return db[_0x71e8('0x19')][_0x71e8('0x22')]({'where':_0x257188[_0x71e8('0x1c')]?_0x257188[_0x71e8('0x1c')]['where']||null:null})['then'](function(_0x3c3bd4){if(_0x3c3bd4){return _0x3c3bd4[_0x71e8('0x23')](_0x257188[_0x71e8('0x1b')]['ids'],_[_0x71e8('0x24')](_0x257188[_0x71e8('0x1b')],['ids','id'])||{});}})[_0x71e8('0x25')](function(_0x28a310){logger['info']('AddTags',_0x257188);logger[_0x71e8('0x26')](_0x71e8('0x27'),_0x257188,JSON['stringify'](_0x28a310));_0x430933(_0x28a310);})['catch'](function(_0x59b089){logger['error'](_0x71e8('0x27'),_0x59b089[_0x71e8('0x15')],_0x257188);_0x27a94b(_this[_0x71e8('0x14')](0x1f4,_0x59b089[_0x71e8('0x15')]));});});}; \ No newline at end of file diff --git a/server/api/whatsappInteraction/whatsappInteraction.socket.js b/server/api/whatsappInteraction/whatsappInteraction.socket.js index 3de610b..1a9bba0 100644 --- a/server/api/whatsappInteraction/whatsappInteraction.socket.js +++ b/server/api/whatsappInteraction/whatsappInteraction.socket.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x9b72=['length','whatsappInteraction:','./whatsappInteraction.events','save','remove','removeListener'];(function(_0x466f0c,_0x1fa589){var _0x2680e3=function(_0x11f9ad){while(--_0x11f9ad){_0x466f0c['push'](_0x466f0c['shift']());}};_0x2680e3(++_0x1fa589);}(_0x9b72,0x188));var _0x29b7=function(_0x25f3f2,_0x3a66e1){_0x25f3f2=_0x25f3f2-0x0;var _0x15e57f=_0x9b72[_0x25f3f2];return _0x15e57f;};'use strict';var WhatsappInteractionEvents=require(_0x29b7('0x0'));var events=[_0x29b7('0x1'),_0x29b7('0x2'),'update'];function createListener(_0x2801bd,_0x3925da){return function(_0x6ffddf){_0x3925da['emit'](_0x2801bd,_0x6ffddf);};}function removeListener(_0x591c7f,_0x7641b2){return function(){WhatsappInteractionEvents[_0x29b7('0x3')](_0x591c7f,_0x7641b2);};}exports['register']=function(_0xcf3843){for(var _0x294595=0x0,_0x24b6ae=events[_0x29b7('0x4')];_0x294595<_0x24b6ae;_0x294595++){var _0x408455=events[_0x294595];var _0x1822e6=createListener(_0x29b7('0x5')+_0x408455,_0xcf3843);WhatsappInteractionEvents['on'](_0x408455,_0x1822e6);}}; \ No newline at end of file +var _0x0f12=['length','whatsappInteraction:','./whatsappInteraction.events','save','remove','emit','removeListener'];(function(_0x43de22,_0x1eced6){var _0x4b15ee=function(_0x6e36da){while(--_0x6e36da){_0x43de22['push'](_0x43de22['shift']());}};_0x4b15ee(++_0x1eced6);}(_0x0f12,0x14b));var _0x20f1=function(_0x2daa5a,_0xe11316){_0x2daa5a=_0x2daa5a-0x0;var _0x29f896=_0x0f12[_0x2daa5a];return _0x29f896;};'use strict';var WhatsappInteractionEvents=require(_0x20f1('0x0'));var events=[_0x20f1('0x1'),_0x20f1('0x2'),'update'];function createListener(_0x257f50,_0x264470){return function(_0x458625){_0x264470[_0x20f1('0x3')](_0x257f50,_0x458625);};}function removeListener(_0x1c5160,_0x5508a8){return function(){WhatsappInteractionEvents[_0x20f1('0x4')](_0x1c5160,_0x5508a8);};}exports['register']=function(_0x4d4bb8){for(var _0x420c52=0x0,_0xf92751=events[_0x20f1('0x5')];_0x420c52<_0xf92751;_0x420c52++){var _0x52f429=events[_0x420c52];var _0x32662e=createListener(_0x20f1('0x6')+_0x52f429,_0x4d4bb8);WhatsappInteractionEvents['on'](_0x52f429,_0x32662e);}}; \ No newline at end of file diff --git a/server/api/whatsappMessage/index.js b/server/api/whatsappMessage/index.js index 262fcc4..c190f4d 100644 --- a/server/api/whatsappMessage/index.js +++ b/server/api/whatsappMessage/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x2fe6=['express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','describe','tracked','whatsapp','whatsappmessage:create','create','post','/:id/status','status','put','/:id','update','accept','/:id/reject','reject','delete','destroy','exports','util','path','connect-timeout'];(function(_0x220d63,_0x2ac173){var _0xffccaa=function(_0x6b794b){while(--_0x6b794b){_0x220d63['push'](_0x220d63['shift']());}};_0xffccaa(++_0x2ac173);}(_0x2fe6,0x169));var _0x62fe=function(_0x4ae8b7,_0x4a3a67){_0x4ae8b7=_0x4ae8b7-0x0;var _0x1c0a76=_0x2fe6[_0x4ae8b7];return _0x1c0a76;};'use strict';var multer=require('multer');var util=require(_0x62fe('0x0'));var path=require(_0x62fe('0x1'));var timeout=require(_0x62fe('0x2'));var express=require(_0x62fe('0x3'));var router=express[_0x62fe('0x4')]();var auth=require(_0x62fe('0x5'));var interaction=require(_0x62fe('0x6'));var config=require(_0x62fe('0x7'));var controller=require('./whatsappMessage.controller');router[_0x62fe('0x8')]('/',auth[_0x62fe('0x9')](),controller[_0x62fe('0xa')]);router[_0x62fe('0x8')]('/describe',auth[_0x62fe('0x9')](),controller[_0x62fe('0xb')]);router['get']('/:id',auth['isAuthenticated'](),controller['show']);router['post']('/',auth[_0x62fe('0x9')](),interaction[_0x62fe('0xc')](_0x62fe('0xd'),_0x62fe('0xe')),controller[_0x62fe('0xf')]);router[_0x62fe('0x10')](_0x62fe('0x11'),controller[_0x62fe('0x12')]);router[_0x62fe('0x13')](_0x62fe('0x14'),auth[_0x62fe('0x9')](),controller[_0x62fe('0x15')]);router['put']('/:id/accept',auth['isAuthenticated'](),controller[_0x62fe('0x16')]);router[_0x62fe('0x13')](_0x62fe('0x17'),auth[_0x62fe('0x9')](),controller[_0x62fe('0x18')]);router[_0x62fe('0x19')](_0x62fe('0x14'),auth[_0x62fe('0x9')](),controller[_0x62fe('0x1a')]);module[_0x62fe('0x1b')]=router; \ No newline at end of file +var _0x478e=['/:id/accept','accept','/:id/reject','reject','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./whatsappMessage.controller','get','isAuthenticated','index','/describe','describe','/:id','show','whatsapp','whatsappmessage:create','post','update'];(function(_0x3e112d,_0x2bb132){var _0x531c31=function(_0x1954bc){while(--_0x1954bc){_0x3e112d['push'](_0x3e112d['shift']());}};_0x531c31(++_0x2bb132);}(_0x478e,0x1d1));var _0xe478=function(_0x4b256a,_0x154505){_0x4b256a=_0x4b256a-0x0;var _0x14ca6f=_0x478e[_0x4b256a];return _0x14ca6f;};'use strict';var multer=require(_0xe478('0x0'));var util=require(_0xe478('0x1'));var path=require(_0xe478('0x2'));var timeout=require(_0xe478('0x3'));var express=require(_0xe478('0x4'));var router=express[_0xe478('0x5')]();var auth=require(_0xe478('0x6'));var interaction=require(_0xe478('0x7'));var config=require(_0xe478('0x8'));var controller=require(_0xe478('0x9'));router[_0xe478('0xa')]('/',auth[_0xe478('0xb')](),controller[_0xe478('0xc')]);router[_0xe478('0xa')](_0xe478('0xd'),auth[_0xe478('0xb')](),controller[_0xe478('0xe')]);router[_0xe478('0xa')](_0xe478('0xf'),auth[_0xe478('0xb')](),controller[_0xe478('0x10')]);router['post']('/',auth['isAuthenticated'](),interaction['tracked'](_0xe478('0x11'),_0xe478('0x12')),controller['create']);router[_0xe478('0x13')]('/:id/status',controller['status']);router['put']('/:id',auth['isAuthenticated'](),controller[_0xe478('0x14')]);router['put'](_0xe478('0x15'),auth[_0xe478('0xb')](),controller[_0xe478('0x16')]);router['put'](_0xe478('0x17'),auth[_0xe478('0xb')](),controller[_0xe478('0x18')]);router['delete']('/:id',auth[_0xe478('0xb')](),controller[_0xe478('0x19')]);module[_0xe478('0x1a')]=router; \ No newline at end of file diff --git a/server/api/whatsappMessage/whatsappMessage.attributes.js b/server/api/whatsappMessage/whatsappMessage.attributes.js index 6578a75..aab8a6a 100644 --- a/server/api/whatsappMessage/whatsappMessage.attributes.js +++ b/server/api/whatsappMessage/whatsappMessage.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x2313=['medium','ENUM','out','STRING','BOOLEAN','sequelize'];(function(_0x1dcd83,_0x7b49bf){var _0x591166=function(_0x445213){while(--_0x445213){_0x1dcd83['push'](_0x1dcd83['shift']());}};_0x591166(++_0x7b49bf);}(_0x2313,0x191));var _0x3231=function(_0x17902b,_0x2d6507){_0x17902b=_0x17902b-0x0;var _0x105993=_0x2313[_0x17902b];return _0x105993;};'use strict';var Sequelize=require(_0x3231('0x0'));module['exports']={'body':{'type':Sequelize['TEXT'](_0x3231('0x1')),'allowNull':![]},'read':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'direction':{'type':Sequelize[_0x3231('0x2')]('in',_0x3231('0x3')),'defaultValue':_0x3231('0x3'),'allowNull':![]},'messageId':{'type':Sequelize['STRING'](0xbe)},'phone':{'type':Sequelize[_0x3231('0x4')]},'readAt':{'type':Sequelize['DATE']},'secret':{'type':Sequelize[_0x3231('0x5')],'defaultValue':![]}}; \ No newline at end of file +var _0x1ae9=['exports','TEXT','BOOLEAN','ENUM','out','STRING'];(function(_0x2bdf72,_0x662686){var _0x47ac80=function(_0x402c8f){while(--_0x402c8f){_0x2bdf72['push'](_0x2bdf72['shift']());}};_0x47ac80(++_0x662686);}(_0x1ae9,0x132));var _0x91ae=function(_0x2f2360,_0x151089){_0x2f2360=_0x2f2360-0x0;var _0x1cc8d3=_0x1ae9[_0x2f2360];return _0x1cc8d3;};'use strict';var Sequelize=require('sequelize');module[_0x91ae('0x0')]={'body':{'type':Sequelize[_0x91ae('0x1')]('medium'),'allowNull':![]},'read':{'type':Sequelize[_0x91ae('0x2')],'defaultValue':![]},'direction':{'type':Sequelize[_0x91ae('0x3')]('in',_0x91ae('0x4')),'defaultValue':'out','allowNull':![]},'messageId':{'type':Sequelize[_0x91ae('0x5')](0xbe)},'phone':{'type':Sequelize[_0x91ae('0x5')]},'readAt':{'type':Sequelize['DATE']},'secret':{'type':Sequelize[_0x91ae('0x2')],'defaultValue':![]}}; \ No newline at end of file diff --git a/server/api/whatsappMessage/whatsappMessage.controller.js b/server/api/whatsappMessage/whatsappMessage.controller.js index 19b4b9a..0918958 100644 --- a/server/api/whatsappMessage/whatsappMessage.controller.js +++ b/server/api/whatsappMessage/whatsappMessage.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x791e=['channel','event','acceptmessage','whatsapp','agent','RejectMessage','SIP/%s','EventManager','received\x20delivery\x20report\x20from','inspect','MessageSid','messageId','MessageStatus','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','moment','sox','to-csv','ejs','squel','crypto','querystring','papaparse','ioredis','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','../../config/utils','../../config/environment','../../mysqldb','redis','defaults','localhost','socket.io-emitter','register','jayson/promise','client','http','test','Sequelize','ValidationError','The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.','request','then','info','WhatsappMessage,\x20%s,\x20%s','debug','WhatsappMessage,\x20%s,\x20%s,\x20%s','request\x20sent','stringify','error','code','message','result','catch','sendStatus','status','end','count','offset','limit','set','Content-Range','json','apply','reject','save','destroy','stack','name','send','index','map','WhatsappMessage','rawAttributes','fieldName','key','model','query','keys','filters','intersection','fields','attributes','hasOwnProperty','nolimit','order','sort','where','pick','filter','merge','type','VIRTUAL','include','findAll','rows','show','params','includeAll','find','create','body','update','describe','whatsapp-interactions','accept','read','readAt','format','YYYY-MM-DD\x20HH:mm:ss','UserId','CmContact','Contact','get','WhatsappInteraction','WhatsappInteractionId','isNil','interaction','[WHATSAPPMESSAGE:ACCEPT]\x20id=%s\x20name=%s\x20role=%s\x20interaction=%s\x20body=%s','user','role','null','acceptMessage','interface'];(function(_0x4754df,_0xfd0a70){var _0x568f13=function(_0x19247e){while(--_0x19247e){_0x4754df['push'](_0x4754df['shift']());}};_0x568f13(++_0xfd0a70);}(_0x791e,0x18d));var _0xe791=function(_0x3685a7,_0x396f49){_0x3685a7=_0x3685a7-0x0;var _0x14460d=_0x791e[_0x3685a7];return _0x14460d;};'use strict';var pdf=require(_0xe791('0x0'));var emlformat=require(_0xe791('0x1'));var rimraf=require(_0xe791('0x2'));var zipdir=require(_0xe791('0x3'));var jsonpatch=require(_0xe791('0x4'));var rp=require('request-promise');var moment=require(_0xe791('0x5'));var BPromise=require('bluebird');var Mustache=require('mustache');var util=require('util');var path=require('path');var sox=require(_0xe791('0x6'));var csv=require(_0xe791('0x7'));var ejs=require(_0xe791('0x8'));var fs=require('fs');var _=require('lodash');var squel=require(_0xe791('0x9'));var crypto=require(_0xe791('0xa'));var jsforce=require('jsforce');var deskjs=require('desk.js');var toCsv=require(_0xe791('0x7'));var querystring=require(_0xe791('0xb'));var Papa=require(_0xe791('0xc'));var Redis=require(_0xe791('0xd'));var authService=require('../../components/auth/service');var qs=require('../../components/parsers/qs');var as=require(_0xe791('0xe'));var hardwareService=require(_0xe791('0xf'));var logger=require(_0xe791('0x10'))('api');var utils=require(_0xe791('0x11'));var config=require(_0xe791('0x12'));var db=require(_0xe791('0x13'))['db'];config[_0xe791('0x14')]=_[_0xe791('0x15')](config['redis'],{'host':_0xe791('0x16'),'port':0x18eb});var socket=require(_0xe791('0x17'))(new Redis(config[_0xe791('0x14')]));require('./whatsappMessage.socket')[_0xe791('0x18')](socket);var jayson=require(_0xe791('0x19'));var client=jayson[_0xe791('0x1a')][_0xe791('0x1b')]({'port':0x232c});var client9002=jayson[_0xe791('0x1a')]['http']({'port':0x232a});function checkPasswordPattern(_0x1aa815,_0x5ad779,_0x56a154){if(_0x56a154){var _0x57c938=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0x57c938[_0xe791('0x1c')](_0x5ad779)){return _0x1aa815;}else{throw new db[(_0xe791('0x1d'))][(_0xe791('0x1e'))](_0xe791('0x1f'));}}else{return _0x1aa815;}}function respondWithRpcPromise(_0x3f6b7a,_0x6d516a,_0x2e2e5c,_0x48ecf5){return new BPromise(function(_0x20d0c4,_0x3136fa){var _0x862282=_0x48ecf5||client;return _0x862282[_0xe791('0x20')](_0x3f6b7a,_0x2e2e5c)[_0xe791('0x21')](function(_0x228ad1){logger[_0xe791('0x22')](_0xe791('0x23'),_0x6d516a,'request\x20sent');logger[_0xe791('0x24')](_0xe791('0x25'),_0x6d516a,_0xe791('0x26'),JSON[_0xe791('0x27')](_0x228ad1));if(_0x228ad1[_0xe791('0x28')]){if(_0x228ad1[_0xe791('0x28')][_0xe791('0x29')]===0x1f4){logger['error'](_0xe791('0x23'),_0x6d516a,_0x228ad1[_0xe791('0x28')][_0xe791('0x2a')]);return _0x3136fa(_0x228ad1[_0xe791('0x28')][_0xe791('0x2a')]);}logger[_0xe791('0x28')](_0xe791('0x23'),_0x6d516a,_0x228ad1[_0xe791('0x28')][_0xe791('0x2a')]);return _0x20d0c4(_0x228ad1[_0xe791('0x28')][_0xe791('0x2a')]);}else{logger[_0xe791('0x22')]('WhatsappMessage,\x20%s,\x20%s',_0x6d516a,_0xe791('0x26'));_0x20d0c4(_0x228ad1[_0xe791('0x2b')][_0xe791('0x2a')]);}})[_0xe791('0x2c')](function(_0xdb111){logger[_0xe791('0x28')](_0xe791('0x23'),_0x6d516a,_0xdb111);_0x3136fa(_0xdb111);});});}function respondWithStatusCode(_0x2f9c9a,_0x3d33ee){_0x3d33ee=_0x3d33ee||0xcc;return function(_0x1dab1d){if(_0x1dab1d){return _0x2f9c9a[_0xe791('0x2d')](_0x3d33ee);}return _0x2f9c9a[_0xe791('0x2e')](_0x3d33ee)[_0xe791('0x2f')]();};}function respondWithResult(_0x30cae4,_0x4c4a56){_0x4c4a56=_0x4c4a56||0xc8;return function(_0x2a1371){if(_0x2a1371){return _0x30cae4['status'](_0x4c4a56)['json'](_0x2a1371);}};}function respondWithFilteredResult(_0x1fa15d,_0x1bcf6a){return function(_0x154829){if(_0x154829){var _0x4eb65d=_0x154829[_0xe791('0x30')],_0x5139d3=_0x1bcf6a[_0xe791('0x31')],_0x11b992=_0x1bcf6a[_0xe791('0x31')]+_0x1bcf6a[_0xe791('0x32')],_0x1fdd83;if(_0x11b992>=_0x4eb65d){_0x11b992=_0x4eb65d;_0x1fdd83=0xc8;}else{_0x1fdd83=0xce;}_0x1fa15d[_0xe791('0x2e')](_0x1fdd83);return _0x1fa15d[_0xe791('0x33')](_0xe791('0x34'),_0x5139d3+'-'+_0x11b992+'/'+_0x4eb65d)[_0xe791('0x35')](_0x154829);}return null;};}function patchUpdates(_0x37bdc5){return function(_0x51b7d3){try{jsonpatch[_0xe791('0x36')](_0x51b7d3,_0x37bdc5,!![]);}catch(_0x537690){return BPromise[_0xe791('0x37')](_0x537690);}return _0x51b7d3[_0xe791('0x38')]();};}function saveUpdates(_0x5e4bcc,_0xe43929){return function(_0x1317f0){if(_0x1317f0){return _0x1317f0['update'](_0x5e4bcc)['then'](function(_0x4a89c1){return _0x4a89c1;});}return null;};}function removeEntity(_0x5c428d,_0x55682d){return function(_0x48d324){if(_0x48d324){return _0x48d324[_0xe791('0x39')]()['then'](function(){_0x5c428d[_0xe791('0x2e')](0xcc)[_0xe791('0x2f')]();});}};}function handleEntityNotFound(_0xce758d,_0x5658f2){return function(_0x19ff4b){if(!_0x19ff4b){_0xce758d[_0xe791('0x2d')](0x194);}return _0x19ff4b;};}function handleError(_0x584970,_0x409d6f){_0x409d6f=_0x409d6f||0x1f4;return function(_0x120531){logger[_0xe791('0x28')](_0x120531[_0xe791('0x3a')]);if(_0x120531[_0xe791('0x3b')]){delete _0x120531['name'];}_0x584970[_0xe791('0x2e')](_0x409d6f)[_0xe791('0x3c')](_0x120531);};}exports[_0xe791('0x3d')]=function(_0x279ef7,_0x1accf0){var _0x31035f={},_0x323704={},_0x558f0b={'count':0x0,'rows':[]};var _0x2dd2af=_[_0xe791('0x3e')](db[_0xe791('0x3f')][_0xe791('0x40')],function(_0xf4ef2d){return{'name':_0xf4ef2d[_0xe791('0x41')],'type':_0xf4ef2d['type'][_0xe791('0x42')]};});_0x323704[_0xe791('0x43')]=_['map'](_0x2dd2af,'name');_0x323704[_0xe791('0x44')]=_[_0xe791('0x45')](_0x279ef7['query']);_0x323704[_0xe791('0x46')]=_[_0xe791('0x47')](_0x323704[_0xe791('0x43')],_0x323704[_0xe791('0x44')]);_0x31035f['attributes']=_[_0xe791('0x47')](_0x323704[_0xe791('0x43')],qs['fields'](_0x279ef7[_0xe791('0x44')][_0xe791('0x48')]));_0x31035f['attributes']=_0x31035f[_0xe791('0x49')]['length']?_0x31035f['attributes']:_0x323704[_0xe791('0x43')];if(!_0x279ef7[_0xe791('0x44')][_0xe791('0x4a')](_0xe791('0x4b'))){_0x31035f[_0xe791('0x32')]=qs[_0xe791('0x32')](_0x279ef7[_0xe791('0x44')][_0xe791('0x32')]);_0x31035f[_0xe791('0x31')]=qs[_0xe791('0x31')](_0x279ef7['query'][_0xe791('0x31')]);}_0x31035f[_0xe791('0x4c')]=qs[_0xe791('0x4d')](_0x279ef7['query'][_0xe791('0x4d')]);_0x31035f[_0xe791('0x4e')]=qs['filters'](_[_0xe791('0x4f')](_0x279ef7[_0xe791('0x44')],_0x323704[_0xe791('0x46')]),_0x2dd2af);if(_0x279ef7['query'][_0xe791('0x50')]){_0x31035f[_0xe791('0x4e')]=_[_0xe791('0x51')](_0x31035f[_0xe791('0x4e')],{'$or':_[_0xe791('0x3e')](_0x2dd2af,function(_0x5882e9){if(_0x5882e9[_0xe791('0x52')]!==_0xe791('0x53')){var _0x5d194b={};_0x5d194b[_0x5882e9[_0xe791('0x3b')]]={'$like':'%'+_0x279ef7[_0xe791('0x44')][_0xe791('0x50')]+'%'};return _0x5d194b;}})});}_0x31035f=_[_0xe791('0x51')]({},_0x31035f,_0x279ef7['options']);var _0x1dce2a={'where':_0x31035f[_0xe791('0x4e')]};return db[_0xe791('0x3f')]['count'](_0x1dce2a)['then'](function(_0x4712cf){_0x558f0b[_0xe791('0x30')]=_0x4712cf;if(_0x279ef7[_0xe791('0x44')]['includeAll']){_0x31035f[_0xe791('0x54')]=[{'all':!![]}];}return db['WhatsappMessage'][_0xe791('0x55')](_0x31035f);})[_0xe791('0x21')](function(_0x104976){_0x558f0b[_0xe791('0x56')]=_0x104976;return _0x558f0b;})[_0xe791('0x21')](respondWithFilteredResult(_0x1accf0,_0x31035f))[_0xe791('0x2c')](handleError(_0x1accf0,null));};exports[_0xe791('0x57')]=function(_0x3f9f62,_0x4527a5){var _0x3c881e={'raw':!![],'where':{'id':_0x3f9f62[_0xe791('0x58')]['id']}},_0x31a517={};_0x31a517[_0xe791('0x43')]=_[_0xe791('0x45')](db['WhatsappMessage'][_0xe791('0x40')]);_0x31a517[_0xe791('0x44')]=_['keys'](_0x3f9f62[_0xe791('0x44')]);_0x31a517[_0xe791('0x46')]=_['intersection'](_0x31a517['model'],_0x31a517[_0xe791('0x44')]);_0x3c881e[_0xe791('0x49')]=_[_0xe791('0x47')](_0x31a517[_0xe791('0x43')],qs[_0xe791('0x48')](_0x3f9f62[_0xe791('0x44')][_0xe791('0x48')]));_0x3c881e[_0xe791('0x49')]=_0x3c881e[_0xe791('0x49')]['length']?_0x3c881e[_0xe791('0x49')]:_0x31a517[_0xe791('0x43')];if(_0x3f9f62['query'][_0xe791('0x59')]){_0x3c881e[_0xe791('0x54')]=[{'all':!![]}];}_0x3c881e=_[_0xe791('0x51')]({},_0x3c881e,_0x3f9f62['options']);return db[_0xe791('0x3f')][_0xe791('0x5a')](_0x3c881e)['then'](handleEntityNotFound(_0x4527a5,null))[_0xe791('0x21')](respondWithResult(_0x4527a5,null))[_0xe791('0x2c')](handleError(_0x4527a5,null));};exports['create']=function(_0x16c7be,_0x200f2f){return db['WhatsappMessage'][_0xe791('0x5b')](_0x16c7be[_0xe791('0x5c')],{})[_0xe791('0x21')](respondWithResult(_0x200f2f,0xc9))[_0xe791('0x2c')](handleError(_0x200f2f,null));};exports[_0xe791('0x5d')]=function(_0x1c5f5a,_0x59ea86){if(_0x1c5f5a[_0xe791('0x5c')]['id']){delete _0x1c5f5a[_0xe791('0x5c')]['id'];}return db[_0xe791('0x3f')][_0xe791('0x5a')]({'where':{'id':_0x1c5f5a[_0xe791('0x58')]['id']}})[_0xe791('0x21')](handleEntityNotFound(_0x59ea86,null))[_0xe791('0x21')](saveUpdates(_0x1c5f5a['body'],null))[_0xe791('0x21')](respondWithResult(_0x59ea86,null))['catch'](handleError(_0x59ea86,null));};exports[_0xe791('0x39')]=function(_0x17c021,_0x555da9){return db['WhatsappMessage'][_0xe791('0x5a')]({'where':{'id':_0x17c021[_0xe791('0x58')]['id']}})['then'](handleEntityNotFound(_0x555da9,null))[_0xe791('0x21')](removeEntity(_0x555da9,null))[_0xe791('0x2c')](handleError(_0x555da9,null));};exports[_0xe791('0x5e')]=function(_0x2bef09,_0x187187){return db[_0xe791('0x3f')][_0xe791('0x5e')]()[_0xe791('0x21')](respondWithResult(_0x187187,null))[_0xe791('0x2c')](handleError(_0x187187,null));};var interaction_log=require(_0xe791('0x10'))(_0xe791('0x5f'));exports[_0xe791('0x60')]=function(_0x274317,_0x137793,_0x7dbac3){var _0x514237={'channel':'whatsapp'};if(_0x274317['body']['id']){delete _0x274317[_0xe791('0x5c')]['id'];}_0x274317[_0xe791('0x5c')][_0xe791('0x61')]=!![];_0x274317[_0xe791('0x5c')][_0xe791('0x62')]=moment()[_0xe791('0x63')](_0xe791('0x64'));_0x274317[_0xe791('0x5c')][_0xe791('0x65')]=_0x274317['body'][_0xe791('0x65')]||_0x274317['user']['id'];return db['WhatsappMessage'][_0xe791('0x5a')]({'where':{'id':_0x274317[_0xe791('0x58')]['id'],'UserId':null},'include':[{'model':db[_0xe791('0x66')],'as':_0xe791('0x67')}]})[_0xe791('0x21')](handleEntityNotFound(_0x137793,null))[_0xe791('0x21')](saveUpdates(_0x274317['body'],null))[_0xe791('0x21')](function(_0x54dc69){if(_0x54dc69){_0x514237[_0xe791('0x2a')]=_0x54dc69[_0xe791('0x68')]({'plain':!![]});return db[_0xe791('0x69')][_0xe791('0x5a')]({'where':{'id':_0x54dc69[_0xe791('0x6a')]}});}return null;})['then'](handleEntityNotFound(_0x137793,null))[_0xe791('0x21')](function(_0x4ae2d3){if(_0x4ae2d3){return _0x4ae2d3[_0xe791('0x5d')]({'UserId':_0x274317['body']['UserId'],'read1stAt':_[_0xe791('0x6b')](_0x4ae2d3['read1stAt'])?moment()['format'](_0xe791('0x64')):undefined});}return null;})[_0xe791('0x21')](function(_0x33116b){if(_0x33116b){_0x514237[_0xe791('0x6c')]=_0x33116b[_0xe791('0x68')]({'plain':!![]});interaction_log['info'](_0xe791('0x6d'),_0x274317['user']['id'],_0x274317['user'][_0xe791('0x3b')],_0x274317[_0xe791('0x6e')][_0xe791('0x6f')],_0x514237[_0xe791('0x6c')]['id'],_0x274317[_0xe791('0x5c')]?JSON[_0xe791('0x27')](_0x274317[_0xe791('0x5c')]):_0xe791('0x70'));return respondWithRpcPromise('AcceptMessage',_0xe791('0x71'),_0x514237);}return null;})[_0xe791('0x21')](function(_0x407fb0){if(_0x407fb0){if(_0x274317[_0xe791('0x5c')]['manual']){_0x514237[_0xe791('0x2a')][_0xe791('0x72')]=util[_0xe791('0x63')]('SIP/%s',_0x274317[_0xe791('0x6e')][_0xe791('0x3b')]);_0x514237[_0xe791('0x2a')][_0xe791('0x73')]=_0x514237[_0xe791('0x73')];_0x514237[_0xe791('0x2a')][_0xe791('0x74')]=_0xe791('0x60');return respondWithRpcPromise('EventManager','EventManager',{'event':_0xe791('0x75'),'message':_0x514237[_0xe791('0x2a')]},client9002)[_0xe791('0x21')](function(){return _0x514237;});}return _0x514237;}return null;})[_0xe791('0x21')](respondWithResult(_0x137793,null))['catch'](handleError(_0x137793,null));};var interaction_log=require(_0xe791('0x10'))(_0xe791('0x5f'));exports[_0xe791('0x37')]=function(_0x1e0725,_0x251f32,_0x30c4b2){var _0x1b6ada={'agent':{},'channel':_0xe791('0x76')};if(_0x1e0725[_0xe791('0x5c')]['id']){delete _0x1e0725[_0xe791('0x5c')]['id'];}_0x1e0725[_0xe791('0x5c')][_0xe791('0x65')]=_0x1e0725[_0xe791('0x5c')]['UserId']||_0x1e0725[_0xe791('0x6e')]['id'];_0x1b6ada[_0xe791('0x77')]['id']=_0x1e0725[_0xe791('0x5c')][_0xe791('0x65')];return db[_0xe791('0x3f')][_0xe791('0x5a')]({'where':{'id':_0x1e0725['params']['id'],'UserId':null}})[_0xe791('0x21')](handleEntityNotFound(_0x251f32,null))[_0xe791('0x21')](function(_0x2d527a){if(_0x2d527a){_0x1b6ada['message']=_0x2d527a[_0xe791('0x68')]({'plain':!![]});return db[_0xe791('0x69')][_0xe791('0x5a')]({'where':{'id':_0x2d527a[_0xe791('0x6a')]}});}return null;})[_0xe791('0x21')](handleEntityNotFound(_0x251f32,null))[_0xe791('0x21')](function(_0x5bbe0c){if(_0x5bbe0c){_0x1b6ada['interaction']=_0x5bbe0c['get']({'plain':!![]});interaction_log[_0xe791('0x22')]('[WHATSAPPMESSAGE:REJECT]\x20id=%s\x20name=%s\x20role=%s\x20interaction=%s\x20body=%s',_0x1e0725['user']['id'],_0x1e0725[_0xe791('0x6e')]['name'],_0x1e0725[_0xe791('0x6e')]['role'],_0x1b6ada['interaction']['id'],_0x1e0725[_0xe791('0x5c')]?JSON[_0xe791('0x27')](_0x1e0725['body']):_0xe791('0x70'));return respondWithRpcPromise(_0xe791('0x78'),'rejectMessage',_0x1b6ada);}return null;})[_0xe791('0x21')](function(_0x1a0023){if(_0x1a0023){_0x1a0023[_0xe791('0x2a')]['interface']=util['format'](_0xe791('0x79'),_0x1e0725['user'][_0xe791('0x3b')]);_0x1a0023[_0xe791('0x2a')][_0xe791('0x73')]=_0x1b6ada['channel'];_0x1a0023[_0xe791('0x2a')]['event']=_0xe791('0x37');respondWithRpcPromise('EventManager',_0xe791('0x7a'),{'event':'rejectmessage','message':_0x1a0023[_0xe791('0x2a')]},client9002);return _0x1b6ada;}return null;})[_0xe791('0x21')](respondWithResult(_0x251f32,null))[_0xe791('0x2c')](handleError(_0x251f32,null));};exports[_0xe791('0x2e')]=function(_0x310ca5,_0x53d1fe,_0x47474e){if(_0x310ca5['body']['id']){delete _0x310ca5['body']['id'];}var _0x2624a6;return db[_0xe791('0x3f')]['find']({'where':{'id':_0x310ca5[_0xe791('0x58')]['id']}})[_0xe791('0x21')](handleEntityNotFound(_0x53d1fe,null))[_0xe791('0x21')](function(_0x13784c){if(_0x13784c){_0x2624a6=_0x13784c;return db['WhatsappAccount'][_0xe791('0x5a')]({'where':{'id':_0x13784c['WhatsappAccountId']}});}})['then'](handleEntityNotFound(_0x53d1fe,null))[_0xe791('0x21')](function(_0x435a3a){if(_0x435a3a){logger['debug']('WhatsppMessage,\x20%s,\x20%s,\x20%s','status',_0xe791('0x7b'),_0x435a3a[_0xe791('0x52')],util[_0xe791('0x7c')](_0x310ca5[_0xe791('0x5c')],{'showHidden':![],'depth':null}));switch(_0x435a3a[_0xe791('0x52')]){case'twilio':if(_0x310ca5['body'][_0xe791('0x7d')]&&_0x310ca5[_0xe791('0x5c')][_0xe791('0x7d')]===_0x2624a6[_0xe791('0x7e')]&&_0x310ca5['body'][_0xe791('0x7f')]&&_0x310ca5['body']['MessageStatus']===_0xe791('0x61')){return _0x2624a6[_0xe791('0x5d')]({'read':!![]});}else{logger[_0xe791('0x28')]('WhatsappAccount,\x20%s,\x20%s,\x20%s',_0xe791('0x2e'),'twilio',util[_0xe791('0x7c')](_0x310ca5['body'],{'showHidden':![],'depth':null}));}break;}return _0x2624a6;}})[_0xe791('0x21')](respondWithResult(_0x53d1fe,null))['catch'](handleError(_0x53d1fe,null));}; \ No newline at end of file +var _0xcae5=['filter','include','findAll','show','params','rawAttributes','fields','length','includeAll','find','body','describe','../../config/logger','whatsapp-interactions','accept','whatsapp','UserId','user','CmContact','Contact','WhatsappInteraction','isNil','format','YYYY-MM-DD\x20HH:mm:ss','get','[WHATSAPPMESSAGE:ACCEPT]\x20id=%s\x20name=%s\x20role=%s\x20interaction=%s\x20body=%s','role','interaction','null','AcceptMessage','acceptMessage','manual','interface','channel','event','EventManager','acceptmessage','agent','[WHATSAPPMESSAGE:REJECT]\x20id=%s\x20name=%s\x20role=%s\x20interaction=%s\x20body=%s','RejectMessage','rejectMessage','SIP/%s','WhatsappAccount','WhatsappAccountId','debug','WhatsppMessage,\x20%s,\x20%s,\x20%s','received\x20delivery\x20report\x20from','twilio','MessageSid','messageId','MessageStatus','read','WhatsappAccount,\x20%s,\x20%s,\x20%s','inspect','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','sox','to-csv','ejs','lodash','squel','crypto','jsforce','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/utils','../../mysqldb','redis','defaults','socket.io-emitter','./whatsappMessage.socket','register','jayson/promise','http','client','test','Sequelize','ValidationError','The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.','request','info','WhatsappMessage,\x20%s,\x20%s','WhatsappMessage,\x20%s,\x20%s,\x20%s','request\x20sent','stringify','error','message','result','catch','sendStatus','status','end','json','count','offset','limit','set','apply','reject','save','update','then','destroy','stack','name','send','map','WhatsappMessage','fieldName','type','key','query','keys','filters','intersection','model','attributes','nolimit','order','sort','where','merge','VIRTUAL'];(function(_0xfae23b,_0x2be4ba){var _0x200640=function(_0x4ae258){while(--_0x4ae258){_0xfae23b['push'](_0xfae23b['shift']());}};_0x200640(++_0x2be4ba);}(_0xcae5,0xbb));var _0x5cae=function(_0x91a032,_0x42c6cd){_0x91a032=_0x91a032-0x0;var _0x40b2d2=_0xcae5[_0x91a032];return _0x40b2d2;};'use strict';var pdf=require(_0x5cae('0x0'));var emlformat=require(_0x5cae('0x1'));var rimraf=require(_0x5cae('0x2'));var zipdir=require(_0x5cae('0x3'));var jsonpatch=require(_0x5cae('0x4'));var rp=require(_0x5cae('0x5'));var moment=require(_0x5cae('0x6'));var BPromise=require('bluebird');var Mustache=require('mustache');var util=require('util');var path=require('path');var sox=require(_0x5cae('0x7'));var csv=require(_0x5cae('0x8'));var ejs=require(_0x5cae('0x9'));var fs=require('fs');var _=require(_0x5cae('0xa'));var squel=require(_0x5cae('0xb'));var crypto=require(_0x5cae('0xc'));var jsforce=require(_0x5cae('0xd'));var deskjs=require(_0x5cae('0xe'));var toCsv=require(_0x5cae('0x8'));var querystring=require(_0x5cae('0xf'));var Papa=require(_0x5cae('0x10'));var Redis=require(_0x5cae('0x11'));var authService=require(_0x5cae('0x12'));var qs=require(_0x5cae('0x13'));var as=require(_0x5cae('0x14'));var hardwareService=require('../../config/license/hardware');var logger=require('../../config/logger')('api');var utils=require(_0x5cae('0x15'));var config=require('../../config/environment');var db=require(_0x5cae('0x16'))['db'];config[_0x5cae('0x17')]=_[_0x5cae('0x18')](config[_0x5cae('0x17')],{'host':'localhost','port':0x18eb});var socket=require(_0x5cae('0x19'))(new Redis(config['redis']));require(_0x5cae('0x1a'))[_0x5cae('0x1b')](socket);var jayson=require(_0x5cae('0x1c'));var client=jayson['client'][_0x5cae('0x1d')]({'port':0x232c});var client9002=jayson[_0x5cae('0x1e')][_0x5cae('0x1d')]({'port':0x232a});function checkPasswordPattern(_0x506726,_0x5a1df9,_0x329564){if(_0x329564){var _0x21bbaf=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0x21bbaf[_0x5cae('0x1f')](_0x5a1df9)){return _0x506726;}else{throw new db[(_0x5cae('0x20'))][(_0x5cae('0x21'))](_0x5cae('0x22'));}}else{return _0x506726;}}function respondWithRpcPromise(_0xc1132b,_0x3f5659,_0x3b2e42,_0x373a36){return new BPromise(function(_0x3671b0,_0x52367d){var _0x5ec3c3=_0x373a36||client;return _0x5ec3c3[_0x5cae('0x23')](_0xc1132b,_0x3b2e42)['then'](function(_0x2ad32f){logger[_0x5cae('0x24')](_0x5cae('0x25'),_0x3f5659,'request\x20sent');logger['debug'](_0x5cae('0x26'),_0x3f5659,_0x5cae('0x27'),JSON[_0x5cae('0x28')](_0x2ad32f));if(_0x2ad32f['error']){if(_0x2ad32f['error']['code']===0x1f4){logger['error']('WhatsappMessage,\x20%s,\x20%s',_0x3f5659,_0x2ad32f[_0x5cae('0x29')][_0x5cae('0x2a')]);return _0x52367d(_0x2ad32f[_0x5cae('0x29')]['message']);}logger[_0x5cae('0x29')](_0x5cae('0x25'),_0x3f5659,_0x2ad32f[_0x5cae('0x29')][_0x5cae('0x2a')]);return _0x3671b0(_0x2ad32f[_0x5cae('0x29')][_0x5cae('0x2a')]);}else{logger[_0x5cae('0x24')](_0x5cae('0x25'),_0x3f5659,'request\x20sent');_0x3671b0(_0x2ad32f[_0x5cae('0x2b')][_0x5cae('0x2a')]);}})[_0x5cae('0x2c')](function(_0x43301a){logger[_0x5cae('0x29')]('WhatsappMessage,\x20%s,\x20%s',_0x3f5659,_0x43301a);_0x52367d(_0x43301a);});});}function respondWithStatusCode(_0x275a4b,_0x14662b){_0x14662b=_0x14662b||0xcc;return function(_0x4a2f69){if(_0x4a2f69){return _0x275a4b[_0x5cae('0x2d')](_0x14662b);}return _0x275a4b[_0x5cae('0x2e')](_0x14662b)[_0x5cae('0x2f')]();};}function respondWithResult(_0x407318,_0x168f9f){_0x168f9f=_0x168f9f||0xc8;return function(_0x1ace07){if(_0x1ace07){return _0x407318[_0x5cae('0x2e')](_0x168f9f)[_0x5cae('0x30')](_0x1ace07);}};}function respondWithFilteredResult(_0x253d0b,_0x4fba85){return function(_0x225259){if(_0x225259){var _0x534b59=_0x225259[_0x5cae('0x31')],_0x175068=_0x4fba85[_0x5cae('0x32')],_0x19b21b=_0x4fba85[_0x5cae('0x32')]+_0x4fba85[_0x5cae('0x33')],_0x2647a0;if(_0x19b21b>=_0x534b59){_0x19b21b=_0x534b59;_0x2647a0=0xc8;}else{_0x2647a0=0xce;}_0x253d0b[_0x5cae('0x2e')](_0x2647a0);return _0x253d0b[_0x5cae('0x34')]('Content-Range',_0x175068+'-'+_0x19b21b+'/'+_0x534b59)[_0x5cae('0x30')](_0x225259);}return null;};}function patchUpdates(_0x2ad97e){return function(_0x3a0acc){try{jsonpatch[_0x5cae('0x35')](_0x3a0acc,_0x2ad97e,!![]);}catch(_0x1249bf){return BPromise[_0x5cae('0x36')](_0x1249bf);}return _0x3a0acc[_0x5cae('0x37')]();};}function saveUpdates(_0x3dbc36,_0x2f095d){return function(_0x4ec75a){if(_0x4ec75a){return _0x4ec75a[_0x5cae('0x38')](_0x3dbc36)[_0x5cae('0x39')](function(_0x14213d){return _0x14213d;});}return null;};}function removeEntity(_0x139b84,_0x119556){return function(_0x410ae4){if(_0x410ae4){return _0x410ae4[_0x5cae('0x3a')]()[_0x5cae('0x39')](function(){_0x139b84[_0x5cae('0x2e')](0xcc)[_0x5cae('0x2f')]();});}};}function handleEntityNotFound(_0x55326c,_0x869958){return function(_0x7d6381){if(!_0x7d6381){_0x55326c[_0x5cae('0x2d')](0x194);}return _0x7d6381;};}function handleError(_0x23f799,_0x1d72aa){_0x1d72aa=_0x1d72aa||0x1f4;return function(_0x58484f){logger[_0x5cae('0x29')](_0x58484f[_0x5cae('0x3b')]);if(_0x58484f[_0x5cae('0x3c')]){delete _0x58484f[_0x5cae('0x3c')];}_0x23f799[_0x5cae('0x2e')](_0x1d72aa)[_0x5cae('0x3d')](_0x58484f);};}exports['index']=function(_0x4a09da,_0x42c6c3){var _0x370aca={},_0x37a22e={},_0x3bd17c={'count':0x0,'rows':[]};var _0x2ab9ea=_[_0x5cae('0x3e')](db[_0x5cae('0x3f')]['rawAttributes'],function(_0xf99937){return{'name':_0xf99937[_0x5cae('0x40')],'type':_0xf99937[_0x5cae('0x41')][_0x5cae('0x42')]};});_0x37a22e['model']=_[_0x5cae('0x3e')](_0x2ab9ea,_0x5cae('0x3c'));_0x37a22e[_0x5cae('0x43')]=_[_0x5cae('0x44')](_0x4a09da['query']);_0x37a22e[_0x5cae('0x45')]=_[_0x5cae('0x46')](_0x37a22e[_0x5cae('0x47')],_0x37a22e[_0x5cae('0x43')]);_0x370aca[_0x5cae('0x48')]=_[_0x5cae('0x46')](_0x37a22e[_0x5cae('0x47')],qs['fields'](_0x4a09da[_0x5cae('0x43')]['fields']));_0x370aca[_0x5cae('0x48')]=_0x370aca['attributes']['length']?_0x370aca['attributes']:_0x37a22e[_0x5cae('0x47')];if(!_0x4a09da[_0x5cae('0x43')]['hasOwnProperty'](_0x5cae('0x49'))){_0x370aca['limit']=qs[_0x5cae('0x33')](_0x4a09da[_0x5cae('0x43')]['limit']);_0x370aca[_0x5cae('0x32')]=qs[_0x5cae('0x32')](_0x4a09da['query'][_0x5cae('0x32')]);}_0x370aca[_0x5cae('0x4a')]=qs[_0x5cae('0x4b')](_0x4a09da[_0x5cae('0x43')][_0x5cae('0x4b')]);_0x370aca[_0x5cae('0x4c')]=qs[_0x5cae('0x45')](_['pick'](_0x4a09da[_0x5cae('0x43')],_0x37a22e[_0x5cae('0x45')]),_0x2ab9ea);if(_0x4a09da['query']['filter']){_0x370aca[_0x5cae('0x4c')]=_[_0x5cae('0x4d')](_0x370aca[_0x5cae('0x4c')],{'$or':_[_0x5cae('0x3e')](_0x2ab9ea,function(_0x58fca3){if(_0x58fca3[_0x5cae('0x41')]!==_0x5cae('0x4e')){var _0x9222f7={};_0x9222f7[_0x58fca3['name']]={'$like':'%'+_0x4a09da[_0x5cae('0x43')][_0x5cae('0x4f')]+'%'};return _0x9222f7;}})});}_0x370aca=_[_0x5cae('0x4d')]({},_0x370aca,_0x4a09da['options']);var _0x36c646={'where':_0x370aca['where']};return db[_0x5cae('0x3f')][_0x5cae('0x31')](_0x36c646)[_0x5cae('0x39')](function(_0xaaa042){_0x3bd17c[_0x5cae('0x31')]=_0xaaa042;if(_0x4a09da[_0x5cae('0x43')]['includeAll']){_0x370aca[_0x5cae('0x50')]=[{'all':!![]}];}return db['WhatsappMessage'][_0x5cae('0x51')](_0x370aca);})['then'](function(_0x24f60c){_0x3bd17c['rows']=_0x24f60c;return _0x3bd17c;})[_0x5cae('0x39')](respondWithFilteredResult(_0x42c6c3,_0x370aca))[_0x5cae('0x2c')](handleError(_0x42c6c3,null));};exports[_0x5cae('0x52')]=function(_0x37fe2d,_0x1c0e59){var _0x1dfbd0={'raw':!![],'where':{'id':_0x37fe2d[_0x5cae('0x53')]['id']}},_0x5edf59={};_0x5edf59[_0x5cae('0x47')]=_[_0x5cae('0x44')](db[_0x5cae('0x3f')][_0x5cae('0x54')]);_0x5edf59['query']=_[_0x5cae('0x44')](_0x37fe2d[_0x5cae('0x43')]);_0x5edf59[_0x5cae('0x45')]=_['intersection'](_0x5edf59[_0x5cae('0x47')],_0x5edf59['query']);_0x1dfbd0[_0x5cae('0x48')]=_[_0x5cae('0x46')](_0x5edf59[_0x5cae('0x47')],qs['fields'](_0x37fe2d[_0x5cae('0x43')][_0x5cae('0x55')]));_0x1dfbd0[_0x5cae('0x48')]=_0x1dfbd0['attributes'][_0x5cae('0x56')]?_0x1dfbd0[_0x5cae('0x48')]:_0x5edf59['model'];if(_0x37fe2d[_0x5cae('0x43')][_0x5cae('0x57')]){_0x1dfbd0[_0x5cae('0x50')]=[{'all':!![]}];}_0x1dfbd0=_[_0x5cae('0x4d')]({},_0x1dfbd0,_0x37fe2d['options']);return db[_0x5cae('0x3f')][_0x5cae('0x58')](_0x1dfbd0)['then'](handleEntityNotFound(_0x1c0e59,null))[_0x5cae('0x39')](respondWithResult(_0x1c0e59,null))[_0x5cae('0x2c')](handleError(_0x1c0e59,null));};exports['create']=function(_0x5183a3,_0xd9138d){return db['WhatsappMessage']['create'](_0x5183a3[_0x5cae('0x59')],{})['then'](respondWithResult(_0xd9138d,0xc9))[_0x5cae('0x2c')](handleError(_0xd9138d,null));};exports[_0x5cae('0x38')]=function(_0x4d0c7f,_0x46a111){if(_0x4d0c7f['body']['id']){delete _0x4d0c7f[_0x5cae('0x59')]['id'];}return db[_0x5cae('0x3f')]['find']({'where':{'id':_0x4d0c7f[_0x5cae('0x53')]['id']}})[_0x5cae('0x39')](handleEntityNotFound(_0x46a111,null))[_0x5cae('0x39')](saveUpdates(_0x4d0c7f[_0x5cae('0x59')],null))[_0x5cae('0x39')](respondWithResult(_0x46a111,null))[_0x5cae('0x2c')](handleError(_0x46a111,null));};exports['destroy']=function(_0x2964cc,_0x38d056){return db[_0x5cae('0x3f')][_0x5cae('0x58')]({'where':{'id':_0x2964cc['params']['id']}})[_0x5cae('0x39')](handleEntityNotFound(_0x38d056,null))[_0x5cae('0x39')](removeEntity(_0x38d056,null))[_0x5cae('0x2c')](handleError(_0x38d056,null));};exports['describe']=function(_0x591d76,_0xb58da8){return db[_0x5cae('0x3f')][_0x5cae('0x5a')]()['then'](respondWithResult(_0xb58da8,null))[_0x5cae('0x2c')](handleError(_0xb58da8,null));};var interaction_log=require(_0x5cae('0x5b'))(_0x5cae('0x5c'));exports[_0x5cae('0x5d')]=function(_0x31b9a3,_0x114750,_0x3b6290){var _0x926712={'channel':_0x5cae('0x5e')};if(_0x31b9a3['body']['id']){delete _0x31b9a3[_0x5cae('0x59')]['id'];}_0x31b9a3[_0x5cae('0x59')]['read']=!![];_0x31b9a3['body']['readAt']=moment()['format']('YYYY-MM-DD\x20HH:mm:ss');_0x31b9a3[_0x5cae('0x59')][_0x5cae('0x5f')]=_0x31b9a3[_0x5cae('0x59')][_0x5cae('0x5f')]||_0x31b9a3[_0x5cae('0x60')]['id'];return db['WhatsappMessage']['find']({'where':{'id':_0x31b9a3[_0x5cae('0x53')]['id'],'UserId':null},'include':[{'model':db[_0x5cae('0x61')],'as':_0x5cae('0x62')}]})[_0x5cae('0x39')](handleEntityNotFound(_0x114750,null))[_0x5cae('0x39')](saveUpdates(_0x31b9a3[_0x5cae('0x59')],null))['then'](function(_0x591e41){if(_0x591e41){_0x926712[_0x5cae('0x2a')]=_0x591e41['get']({'plain':!![]});return db[_0x5cae('0x63')]['find']({'where':{'id':_0x591e41['WhatsappInteractionId']}});}return null;})[_0x5cae('0x39')](handleEntityNotFound(_0x114750,null))[_0x5cae('0x39')](function(_0x2cef0f){if(_0x2cef0f){return _0x2cef0f[_0x5cae('0x38')]({'UserId':_0x31b9a3[_0x5cae('0x59')]['UserId'],'read1stAt':_[_0x5cae('0x64')](_0x2cef0f['read1stAt'])?moment()[_0x5cae('0x65')](_0x5cae('0x66')):undefined});}return null;})[_0x5cae('0x39')](function(_0x1298d4){if(_0x1298d4){_0x926712['interaction']=_0x1298d4[_0x5cae('0x67')]({'plain':!![]});interaction_log[_0x5cae('0x24')](_0x5cae('0x68'),_0x31b9a3[_0x5cae('0x60')]['id'],_0x31b9a3['user'][_0x5cae('0x3c')],_0x31b9a3[_0x5cae('0x60')][_0x5cae('0x69')],_0x926712[_0x5cae('0x6a')]['id'],_0x31b9a3['body']?JSON[_0x5cae('0x28')](_0x31b9a3[_0x5cae('0x59')]):_0x5cae('0x6b'));return respondWithRpcPromise(_0x5cae('0x6c'),_0x5cae('0x6d'),_0x926712);}return null;})['then'](function(_0x18b34e){if(_0x18b34e){if(_0x31b9a3[_0x5cae('0x59')][_0x5cae('0x6e')]){_0x926712[_0x5cae('0x2a')][_0x5cae('0x6f')]=util['format']('SIP/%s',_0x31b9a3['user']['name']);_0x926712[_0x5cae('0x2a')][_0x5cae('0x70')]=_0x926712[_0x5cae('0x70')];_0x926712[_0x5cae('0x2a')][_0x5cae('0x71')]='accept';return respondWithRpcPromise('EventManager',_0x5cae('0x72'),{'event':_0x5cae('0x73'),'message':_0x926712[_0x5cae('0x2a')]},client9002)[_0x5cae('0x39')](function(){return _0x926712;});}return _0x926712;}return null;})[_0x5cae('0x39')](respondWithResult(_0x114750,null))['catch'](handleError(_0x114750,null));};var interaction_log=require(_0x5cae('0x5b'))(_0x5cae('0x5c'));exports[_0x5cae('0x36')]=function(_0x18974c,_0x3e1c74,_0x3bf367){var _0xbaa8ec={'agent':{},'channel':_0x5cae('0x5e')};if(_0x18974c[_0x5cae('0x59')]['id']){delete _0x18974c[_0x5cae('0x59')]['id'];}_0x18974c[_0x5cae('0x59')][_0x5cae('0x5f')]=_0x18974c[_0x5cae('0x59')][_0x5cae('0x5f')]||_0x18974c[_0x5cae('0x60')]['id'];_0xbaa8ec[_0x5cae('0x74')]['id']=_0x18974c[_0x5cae('0x59')]['UserId'];return db[_0x5cae('0x3f')]['find']({'where':{'id':_0x18974c[_0x5cae('0x53')]['id'],'UserId':null}})['then'](handleEntityNotFound(_0x3e1c74,null))[_0x5cae('0x39')](function(_0x497bc3){if(_0x497bc3){_0xbaa8ec[_0x5cae('0x2a')]=_0x497bc3[_0x5cae('0x67')]({'plain':!![]});return db[_0x5cae('0x63')][_0x5cae('0x58')]({'where':{'id':_0x497bc3['WhatsappInteractionId']}});}return null;})[_0x5cae('0x39')](handleEntityNotFound(_0x3e1c74,null))[_0x5cae('0x39')](function(_0x255117){if(_0x255117){_0xbaa8ec[_0x5cae('0x6a')]=_0x255117['get']({'plain':!![]});interaction_log[_0x5cae('0x24')](_0x5cae('0x75'),_0x18974c['user']['id'],_0x18974c[_0x5cae('0x60')][_0x5cae('0x3c')],_0x18974c[_0x5cae('0x60')][_0x5cae('0x69')],_0xbaa8ec['interaction']['id'],_0x18974c[_0x5cae('0x59')]?JSON[_0x5cae('0x28')](_0x18974c[_0x5cae('0x59')]):'null');return respondWithRpcPromise(_0x5cae('0x76'),_0x5cae('0x77'),_0xbaa8ec);}return null;})[_0x5cae('0x39')](function(_0x53ecbe){if(_0x53ecbe){_0x53ecbe[_0x5cae('0x2a')][_0x5cae('0x6f')]=util[_0x5cae('0x65')](_0x5cae('0x78'),_0x18974c['user']['name']);_0x53ecbe[_0x5cae('0x2a')][_0x5cae('0x70')]=_0xbaa8ec['channel'];_0x53ecbe[_0x5cae('0x2a')][_0x5cae('0x71')]=_0x5cae('0x36');respondWithRpcPromise('EventManager','EventManager',{'event':'rejectmessage','message':_0x53ecbe[_0x5cae('0x2a')]},client9002);return _0xbaa8ec;}return null;})[_0x5cae('0x39')](respondWithResult(_0x3e1c74,null))['catch'](handleError(_0x3e1c74,null));};exports['status']=function(_0x396b84,_0x2f9f2f,_0x59e32a){if(_0x396b84['body']['id']){delete _0x396b84[_0x5cae('0x59')]['id'];}var _0x31b535;return db[_0x5cae('0x3f')][_0x5cae('0x58')]({'where':{'id':_0x396b84[_0x5cae('0x53')]['id']}})['then'](handleEntityNotFound(_0x2f9f2f,null))['then'](function(_0x5a849c){if(_0x5a849c){_0x31b535=_0x5a849c;return db[_0x5cae('0x79')][_0x5cae('0x58')]({'where':{'id':_0x5a849c[_0x5cae('0x7a')]}});}})[_0x5cae('0x39')](handleEntityNotFound(_0x2f9f2f,null))[_0x5cae('0x39')](function(_0x3664d8){if(_0x3664d8){logger[_0x5cae('0x7b')](_0x5cae('0x7c'),_0x5cae('0x2e'),_0x5cae('0x7d'),_0x3664d8[_0x5cae('0x41')],util['inspect'](_0x396b84[_0x5cae('0x59')],{'showHidden':![],'depth':null}));switch(_0x3664d8[_0x5cae('0x41')]){case _0x5cae('0x7e'):if(_0x396b84[_0x5cae('0x59')][_0x5cae('0x7f')]&&_0x396b84[_0x5cae('0x59')][_0x5cae('0x7f')]===_0x31b535[_0x5cae('0x80')]&&_0x396b84[_0x5cae('0x59')][_0x5cae('0x81')]&&_0x396b84[_0x5cae('0x59')][_0x5cae('0x81')]===_0x5cae('0x82')){return _0x31b535[_0x5cae('0x38')]({'read':!![]});}else{logger[_0x5cae('0x29')](_0x5cae('0x83'),_0x5cae('0x2e'),_0x5cae('0x7e'),util[_0x5cae('0x84')](_0x396b84[_0x5cae('0x59')],{'showHidden':![],'depth':null}));}break;}return _0x31b535;}})[_0x5cae('0x39')](respondWithResult(_0x2f9f2f,null))[_0x5cae('0x2c')](handleError(_0x2f9f2f,null));}; \ No newline at end of file diff --git a/server/api/whatsappMessage/whatsappMessage.events.js b/server/api/whatsappMessage/whatsappMessage.events.js index a36911d..c1ed98f 100644 --- a/server/api/whatsappMessage/whatsappMessage.events.js +++ b/server/api/whatsappMessage/whatsappMessage.events.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x5f2f=['remove','emit','hasOwnProperty','hook','exports','events','../../mysqldb','WhatsappMessage','setMaxListeners','save','update'];(function(_0x1b6d4a,_0x3f6c59){var _0xd666cf=function(_0x127289){while(--_0x127289){_0x1b6d4a['push'](_0x1b6d4a['shift']());}};_0xd666cf(++_0x3f6c59);}(_0x5f2f,0x73));var _0xf5f2=function(_0x49a6f7,_0x27fc){_0x49a6f7=_0x49a6f7-0x0;var _0x576f0c=_0x5f2f[_0x49a6f7];return _0x576f0c;};'use strict';var EventEmitter=require(_0xf5f2('0x0'));var WhatsappMessage=require(_0xf5f2('0x1'))['db'][_0xf5f2('0x2')];var WhatsappMessageEvents=new EventEmitter();WhatsappMessageEvents[_0xf5f2('0x3')](0x0);var events={'afterCreate':_0xf5f2('0x4'),'afterUpdate':_0xf5f2('0x5'),'afterDestroy':_0xf5f2('0x6')};function emitEvent(_0x107cf){return function(_0x501fbd,_0x4854b6,_0x1665c7){WhatsappMessageEvents[_0xf5f2('0x7')](_0x107cf+':'+_0x501fbd['id'],_0x501fbd);WhatsappMessageEvents[_0xf5f2('0x7')](_0x107cf,_0x501fbd);_0x1665c7(null);};}for(var e in events){if(events[_0xf5f2('0x8')](e)){var event=events[e];WhatsappMessage[_0xf5f2('0x9')](e,emitEvent(event));}}module[_0xf5f2('0xa')]=WhatsappMessageEvents; \ No newline at end of file +var _0xb10b=['hasOwnProperty','hook','events','WhatsappMessage','setMaxListeners','save','remove','emit'];(function(_0x2030f1,_0x3d6f75){var _0x5d28e0=function(_0x24e7b1){while(--_0x24e7b1){_0x2030f1['push'](_0x2030f1['shift']());}};_0x5d28e0(++_0x3d6f75);}(_0xb10b,0x12a));var _0xbb10=function(_0x49ccaa,_0x5944f2){_0x49ccaa=_0x49ccaa-0x0;var _0x2c1ae1=_0xb10b[_0x49ccaa];return _0x2c1ae1;};'use strict';var EventEmitter=require(_0xbb10('0x0'));var WhatsappMessage=require('../../mysqldb')['db'][_0xbb10('0x1')];var WhatsappMessageEvents=new EventEmitter();WhatsappMessageEvents[_0xbb10('0x2')](0x0);var events={'afterCreate':_0xbb10('0x3'),'afterUpdate':'update','afterDestroy':_0xbb10('0x4')};function emitEvent(_0x9bbed){return function(_0x460981,_0x22320e,_0x49baf4){WhatsappMessageEvents[_0xbb10('0x5')](_0x9bbed+':'+_0x460981['id'],_0x460981);WhatsappMessageEvents['emit'](_0x9bbed,_0x460981);_0x49baf4(null);};}for(var e in events){if(events[_0xbb10('0x6')](e)){var event=events[e];WhatsappMessage[_0xbb10('0x7')](e,emitEvent(event));}}module['exports']=WhatsappMessageEvents; \ No newline at end of file diff --git a/server/api/whatsappMessage/whatsappMessage.model.js b/server/api/whatsappMessage/whatsappMessage.model.js index 5e7cd43..bc4ee32 100644 --- a/server/api/whatsappMessage/whatsappMessage.model.js +++ b/server/api/whatsappMessage/whatsappMessage.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x8e54=['define','WhatsappMessage','whatsapp_messages','messageId','fti_whatsapp_messages','FULLTEXT','toLowerCase','direction','out','secret','isNil','UserId','WhatsappInteraction','findOne','WhatsappInteractionId','update','createdAt','catch','error','WhatsappAccount','find','WhatsappAccountId','type','twilio','accountSid','authToken','phone','messages','create','whatsapp:','remote','/api/whatsapp/messages/','/status?token=','token','then','sid','WhatsappMessage,\x20%s,\x20%s,\x20%s','afterCreate','Missing\x20parameters:\x20phone,\x20accountSid\x20or\x20authToken','utf8mb4','lodash','util','api','moment','bluebird','path','rimraf','../../config/environment','./whatsappMessage.attributes','exports'];(function(_0x2e85ac,_0x194c92){var _0x104ea3=function(_0x9d698b){while(--_0x9d698b){_0x2e85ac['push'](_0x2e85ac['shift']());}};_0x104ea3(++_0x194c92);}(_0x8e54,0xf0));var _0x48e5=function(_0xa9b1f7,_0x5e3682){_0xa9b1f7=_0xa9b1f7-0x0;var _0x1b8e97=_0x8e54[_0xa9b1f7];return _0x1b8e97;};'use strict';var _=require(_0x48e5('0x0'));var util=require(_0x48e5('0x1'));var logger=require('../../config/logger')(_0x48e5('0x2'));var moment=require(_0x48e5('0x3'));var BPromise=require(_0x48e5('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x48e5('0x5'));var rimraf=require(_0x48e5('0x6'));var config=require(_0x48e5('0x7'));var attributes=require(_0x48e5('0x8'));module[_0x48e5('0x9')]=function(_0x364cf1,_0x23373a){return _0x364cf1[_0x48e5('0xa')](_0x48e5('0xb'),attributes,{'tableName':_0x48e5('0xc'),'paranoid':![],'indexes':[{'name':_0x48e5('0xd'),'fields':['messageId']},{'name':_0x48e5('0xe'),'fields':['body'],'type':_0x48e5('0xf')}],'timestamps':!![],'hooks':{'afterCreate':function(_0x26abe4,_0x253e45,_0x38ae6b){var _0x265457=_0x364cf1['models'];var _0x570c17=_0x26abe4['get']({'plain':!![]});if(_0x570c17['direction'][_0x48e5('0x10')]()==='in'||_0x570c17[_0x48e5('0x11')][_0x48e5('0x10')]()===_0x48e5('0x12')&&!_0x570c17[_0x48e5('0x13')]&&!_[_0x48e5('0x14')](_0x570c17[_0x48e5('0x15')])){_0x265457[_0x48e5('0x16')][_0x48e5('0x17')]({'where':{'id':_0x570c17[_0x48e5('0x18')]}})['then'](function(_0x206b09){if(_0x206b09){_0x206b09[_0x48e5('0x19')]({'lastMsgAt':_0x570c17[_0x48e5('0x1a')],'lastMsgDirection':_0x570c17[_0x48e5('0x11')]['toLowerCase']()});}})[_0x48e5('0x1b')](function(_0x5580cb){console[_0x48e5('0x1c')](_0x5580cb);});}if(_0x570c17['direction']===_0x48e5('0x12')&&!_0x570c17['secret']){var _0x17fc98;_0x265457[_0x48e5('0x1d')][_0x48e5('0x1e')]({'where':{'id':_0x570c17[_0x48e5('0x1f')]},'raw':!![]})['then'](function(_0xb55c19){_0x17fc98=_0xb55c19;if(_0x17fc98&&_0x17fc98[_0x48e5('0x20')]){switch(_0x17fc98[_0x48e5('0x20')]){case _0x48e5('0x21'):var _0xbb9a72=require('twilio');if(_0x17fc98[_0x48e5('0x22')]&&_0x17fc98[_0x48e5('0x23')]&&_0x17fc98[_0x48e5('0x24')]){var _0x403b4a=new _0xbb9a72(_0x17fc98[_0x48e5('0x22')],_0x17fc98['authToken']);_0x403b4a[_0x48e5('0x25')][_0x48e5('0x26')]({'body':_0x570c17['body'],'to':_0x48e5('0x27')+_0x570c17['phone'],'from':_0x48e5('0x27')+_0x17fc98[_0x48e5('0x24')],'statusCallback':_0x17fc98[_0x48e5('0x28')]+_0x48e5('0x29')+_0x570c17['id']+_0x48e5('0x2a')+_0x17fc98[_0x48e5('0x2b')]})[_0x48e5('0x2c')](function(_0x59ed96){if(_0x59ed96[_0x48e5('0x2d')]){return _0x26abe4[_0x48e5('0x19')]({'messageId':_0x59ed96[_0x48e5('0x2d')]});}})['catch'](function(_0x5128cb){logger[_0x48e5('0x1c')](_0x48e5('0x2e'),_0x48e5('0x2f'),_0x48e5('0x21'),util['inspect'](_0x5128cb,{'showHidden':![],'depth':null}));});}else{logger['error']('WhatsappMessage,\x20%s,\x20%s,\x20%s',_0x48e5('0x2f'),_0x48e5('0x21'),_0x48e5('0x30'));}break;}}})['finally'](function(){_0x38ae6b();});}else{_0x38ae6b();}}},'charset':_0x48e5('0x31'),'collate':'utf8mb4_unicode_ci'});}; \ No newline at end of file +var _0x54b0=['toLowerCase','direction','isNil','UserId','WhatsappInteraction','WhatsappInteractionId','then','update','error','WhatsappAccount','type','twilio','authToken','create','whatsapp:','phone','remote','/api/whatsapp/messages/','/status?token=','token','sid','catch','WhatsappMessage,\x20%s,\x20%s,\x20%s','afterCreate','inspect','Missing\x20parameters:\x20phone,\x20accountSid\x20or\x20authToken','finally','utf8mb4','utf8mb4_unicode_ci','lodash','util','../../config/logger','api','request-promise','path','rimraf','../../config/environment','./whatsappMessage.attributes','exports','define','WhatsappMessage','whatsapp_messages','messageId','fti_whatsapp_messages','body','FULLTEXT','models','get'];(function(_0x3c4af7,_0x4479d3){var _0x2bf61e=function(_0x11b4b5){while(--_0x11b4b5){_0x3c4af7['push'](_0x3c4af7['shift']());}};_0x2bf61e(++_0x4479d3);}(_0x54b0,0x19d));var _0x054b=function(_0xf0bc07,_0x510ebf){_0xf0bc07=_0xf0bc07-0x0;var _0x1c50c2=_0x54b0[_0xf0bc07];return _0x1c50c2;};'use strict';var _=require(_0x054b('0x0'));var util=require(_0x054b('0x1'));var logger=require(_0x054b('0x2'))(_0x054b('0x3'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x054b('0x4'));var fs=require('fs');var path=require(_0x054b('0x5'));var rimraf=require(_0x054b('0x6'));var config=require(_0x054b('0x7'));var attributes=require(_0x054b('0x8'));module[_0x054b('0x9')]=function(_0x234de9,_0x49fe15){return _0x234de9[_0x054b('0xa')](_0x054b('0xb'),attributes,{'tableName':_0x054b('0xc'),'paranoid':![],'indexes':[{'name':_0x054b('0xd'),'fields':[_0x054b('0xd')]},{'name':_0x054b('0xe'),'fields':[_0x054b('0xf')],'type':_0x054b('0x10')}],'timestamps':!![],'hooks':{'afterCreate':function(_0xa34f0c,_0x5d2e2c,_0x3d378d){var _0x184974=_0x234de9[_0x054b('0x11')];var _0x51395d=_0xa34f0c[_0x054b('0x12')]({'plain':!![]});if(_0x51395d['direction'][_0x054b('0x13')]()==='in'||_0x51395d[_0x054b('0x14')][_0x054b('0x13')]()==='out'&&!_0x51395d['secret']&&!_[_0x054b('0x15')](_0x51395d[_0x054b('0x16')])){_0x184974[_0x054b('0x17')]['findOne']({'where':{'id':_0x51395d[_0x054b('0x18')]}})[_0x054b('0x19')](function(_0x97924b){if(_0x97924b){_0x97924b[_0x054b('0x1a')]({'lastMsgAt':_0x51395d['createdAt'],'lastMsgDirection':_0x51395d[_0x054b('0x14')]['toLowerCase']()});}})['catch'](function(_0x1becb9){console[_0x054b('0x1b')](_0x1becb9);});}if(_0x51395d[_0x054b('0x14')]==='out'&&!_0x51395d['secret']){var _0x473982;_0x184974[_0x054b('0x1c')]['find']({'where':{'id':_0x51395d['WhatsappAccountId']},'raw':!![]})[_0x054b('0x19')](function(_0x49e18f){_0x473982=_0x49e18f;if(_0x473982&&_0x473982[_0x054b('0x1d')]){switch(_0x473982[_0x054b('0x1d')]){case _0x054b('0x1e'):var _0x34690f=require(_0x054b('0x1e'));if(_0x473982['accountSid']&&_0x473982['authToken']&&_0x473982['phone']){var _0x4f8cac=new _0x34690f(_0x473982['accountSid'],_0x473982[_0x054b('0x1f')]);_0x4f8cac['messages'][_0x054b('0x20')]({'body':_0x51395d[_0x054b('0xf')],'to':_0x054b('0x21')+_0x51395d[_0x054b('0x22')],'from':_0x054b('0x21')+_0x473982['phone'],'statusCallback':_0x473982[_0x054b('0x23')]+_0x054b('0x24')+_0x51395d['id']+_0x054b('0x25')+_0x473982[_0x054b('0x26')]})[_0x054b('0x19')](function(_0x91ce0d){if(_0x91ce0d[_0x054b('0x27')]){return _0xa34f0c['update']({'messageId':_0x91ce0d[_0x054b('0x27')]});}})[_0x054b('0x28')](function(_0x388faf){logger[_0x054b('0x1b')](_0x054b('0x29'),_0x054b('0x2a'),'twilio',util[_0x054b('0x2b')](_0x388faf,{'showHidden':![],'depth':null}));});}else{logger[_0x054b('0x1b')]('WhatsappMessage,\x20%s,\x20%s,\x20%s',_0x054b('0x2a'),_0x054b('0x1e'),_0x054b('0x2c'));}break;}}})[_0x054b('0x2d')](function(){_0x3d378d();});}else{_0x3d378d();}}},'charset':_0x054b('0x2e'),'collate':_0x054b('0x2f')});}; \ No newline at end of file diff --git a/server/api/whatsappMessage/whatsappMessage.rpc.js b/server/api/whatsappMessage/whatsappMessage.rpc.js index c0cadc6..da65bc9 100644 --- a/server/api/whatsappMessage/whatsappMessage.rpc.js +++ b/server/api/whatsappMessage/whatsappMessage.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x4a4b=['./whatsappMessage.socket','register','then','info','WhatsappMessage,\x20%s,\x20%s','debug','WhatsappMessage,\x20%s,\x20%s,\x20%s','error','code','message','request\x20sent','catch','CreateWhatsappMessage','body','options','stringify','lodash','bluebird','ioredis','../../mysqldb','../../config/utils','../../config/logger','rpc','jayson/promise','client','redis','localhost','socket.io-emitter'];(function(_0x31d02c,_0x1f9ce7){var _0x13cf5b=function(_0x404391){while(--_0x404391){_0x31d02c['push'](_0x31d02c['shift']());}};_0x13cf5b(++_0x1f9ce7);}(_0x4a4b,0x9c));var _0xb4a4=function(_0x20e28e,_0x9dea3f){_0x20e28e=_0x20e28e-0x0;var _0x45b793=_0x4a4b[_0x20e28e];return _0x45b793;};'use strict';var _=require(_0xb4a4('0x0'));var util=require('util');var moment=require('moment');var BPromise=require(_0xb4a4('0x1'));var rs=require('randomstring');var fs=require('fs');var Redis=require(_0xb4a4('0x2'));var db=require(_0xb4a4('0x3'))['db'];var utils=require(_0xb4a4('0x4'));var logger=require(_0xb4a4('0x5'))(_0xb4a4('0x6'));var config=require('../../config/environment');var jayson=require(_0xb4a4('0x7'));var client=jayson[_0xb4a4('0x8')]['http']({'port':0x232a});config[_0xb4a4('0x9')]=_['defaults'](config[_0xb4a4('0x9')],{'host':_0xb4a4('0xa'),'port':0x18eb});var socket=require(_0xb4a4('0xb'))(new Redis(config[_0xb4a4('0x9')]));require(_0xb4a4('0xc'))[_0xb4a4('0xd')](socket);function respondWithRpcPromise(_0x2f83d9,_0xa0a5,_0xe1c3a0){return new BPromise(function(_0x5215a1,_0x15765c){return client['request'](_0x2f83d9,_0xe1c3a0)[_0xb4a4('0xe')](function(_0x4520d5){logger[_0xb4a4('0xf')](_0xb4a4('0x10'),_0xa0a5,'request\x20sent');logger[_0xb4a4('0x11')](_0xb4a4('0x12'),_0xa0a5,'request\x20sent',JSON['stringify'](_0x4520d5));if(_0x4520d5[_0xb4a4('0x13')]){if(_0x4520d5[_0xb4a4('0x13')][_0xb4a4('0x14')]===0x1f4){logger[_0xb4a4('0x13')](_0xb4a4('0x10'),_0xa0a5,_0x4520d5['error']['message']);return _0x15765c(_0x4520d5[_0xb4a4('0x13')][_0xb4a4('0x15')]);}logger[_0xb4a4('0x13')]('WhatsappMessage,\x20%s,\x20%s',_0xa0a5,_0x4520d5[_0xb4a4('0x13')]['message']);return _0x5215a1(_0x4520d5['error'][_0xb4a4('0x15')]);}else{logger[_0xb4a4('0xf')]('WhatsappMessage,\x20%s,\x20%s',_0xa0a5,_0xb4a4('0x16'));_0x5215a1(_0x4520d5['result'][_0xb4a4('0x15')]);}})[_0xb4a4('0x17')](function(_0x1ef0d0){logger['error']('WhatsappMessage,\x20%s,\x20%s',_0xa0a5,_0x1ef0d0);_0x15765c(_0x1ef0d0);});});}exports[_0xb4a4('0x18')]=function(_0x3e988a){var _0x57705e=this;return new Promise(function(_0x5c6623,_0x5d3ae1){return db['WhatsappMessage']['create'](_0x3e988a[_0xb4a4('0x19')],{'raw':_0x3e988a['options']?_0x3e988a[_0xb4a4('0x1a')]['raw']===undefined?!![]:![]:!![]})[_0xb4a4('0xe')](function(_0x1ce0de){logger[_0xb4a4('0xf')]('CreateWhatsappMessage',_0x3e988a);logger[_0xb4a4('0x11')]('CreateWhatsappMessage',_0x3e988a,JSON[_0xb4a4('0x1b')](_0x1ce0de));_0x5c6623(_0x1ce0de);})['catch'](function(_0x554fed){logger['error'](_0xb4a4('0x18'),_0x554fed[_0xb4a4('0x15')],_0x3e988a);_0x5d3ae1(_0x57705e[_0xb4a4('0x13')](0x1f4,_0x554fed[_0xb4a4('0x15')]));});});}; \ No newline at end of file +var _0xe816=['raw','then','catch','lodash','util','moment','bluebird','randomstring','ioredis','../../mysqldb','../../config/utils','../../config/logger','../../config/environment','http','redis','defaults','socket.io-emitter','./whatsappMessage.socket','register','WhatsappMessage,\x20%s,\x20%s','debug','WhatsappMessage,\x20%s,\x20%s,\x20%s','request\x20sent','stringify','error','code','message','info','result','CreateWhatsappMessage','WhatsappMessage','create','body','options'];(function(_0x6131cd,_0x4c26a1){var _0x47e916=function(_0x1f2bce){while(--_0x1f2bce){_0x6131cd['push'](_0x6131cd['shift']());}};_0x47e916(++_0x4c26a1);}(_0xe816,0x19b));var _0x6e81=function(_0x230521,_0x4efc1c){_0x230521=_0x230521-0x0;var _0x1f4b11=_0xe816[_0x230521];return _0x1f4b11;};'use strict';var _=require(_0x6e81('0x0'));var util=require(_0x6e81('0x1'));var moment=require(_0x6e81('0x2'));var BPromise=require(_0x6e81('0x3'));var rs=require(_0x6e81('0x4'));var fs=require('fs');var Redis=require(_0x6e81('0x5'));var db=require(_0x6e81('0x6'))['db'];var utils=require(_0x6e81('0x7'));var logger=require(_0x6e81('0x8'))('rpc');var config=require(_0x6e81('0x9'));var jayson=require('jayson/promise');var client=jayson['client'][_0x6e81('0xa')]({'port':0x232a});config[_0x6e81('0xb')]=_[_0x6e81('0xc')](config[_0x6e81('0xb')],{'host':'localhost','port':0x18eb});var socket=require(_0x6e81('0xd'))(new Redis(config[_0x6e81('0xb')]));require(_0x6e81('0xe'))[_0x6e81('0xf')](socket);function respondWithRpcPromise(_0x345f92,_0x35a498,_0x4d1286){return new BPromise(function(_0x3ce3d7,_0x2e8231){return client['request'](_0x345f92,_0x4d1286)['then'](function(_0x37d9e6){logger['info'](_0x6e81('0x10'),_0x35a498,'request\x20sent');logger[_0x6e81('0x11')](_0x6e81('0x12'),_0x35a498,_0x6e81('0x13'),JSON[_0x6e81('0x14')](_0x37d9e6));if(_0x37d9e6[_0x6e81('0x15')]){if(_0x37d9e6[_0x6e81('0x15')][_0x6e81('0x16')]===0x1f4){logger[_0x6e81('0x15')](_0x6e81('0x10'),_0x35a498,_0x37d9e6[_0x6e81('0x15')][_0x6e81('0x17')]);return _0x2e8231(_0x37d9e6[_0x6e81('0x15')][_0x6e81('0x17')]);}logger['error']('WhatsappMessage,\x20%s,\x20%s',_0x35a498,_0x37d9e6[_0x6e81('0x15')]['message']);return _0x3ce3d7(_0x37d9e6[_0x6e81('0x15')][_0x6e81('0x17')]);}else{logger[_0x6e81('0x18')]('WhatsappMessage,\x20%s,\x20%s',_0x35a498,_0x6e81('0x13'));_0x3ce3d7(_0x37d9e6[_0x6e81('0x19')][_0x6e81('0x17')]);}})['catch'](function(_0x53fe1a){logger['error']('WhatsappMessage,\x20%s,\x20%s',_0x35a498,_0x53fe1a);_0x2e8231(_0x53fe1a);});});}exports[_0x6e81('0x1a')]=function(_0x4103c8){var _0x4c7a70=this;return new Promise(function(_0xdde386,_0x143360){return db[_0x6e81('0x1b')][_0x6e81('0x1c')](_0x4103c8[_0x6e81('0x1d')],{'raw':_0x4103c8['options']?_0x4103c8[_0x6e81('0x1e')][_0x6e81('0x1f')]===undefined?!![]:![]:!![]})[_0x6e81('0x20')](function(_0x10445b){logger['info'](_0x6e81('0x1a'),_0x4103c8);logger['debug'](_0x6e81('0x1a'),_0x4103c8,JSON['stringify'](_0x10445b));_0xdde386(_0x10445b);})[_0x6e81('0x21')](function(_0xc9dd60){logger[_0x6e81('0x15')](_0x6e81('0x1a'),_0xc9dd60['message'],_0x4103c8);_0x143360(_0x4c7a70[_0x6e81('0x15')](0x1f4,_0xc9dd60[_0x6e81('0x17')]));});});}; \ No newline at end of file diff --git a/server/api/whatsappMessage/whatsappMessage.socket.js b/server/api/whatsappMessage/whatsappMessage.socket.js index 6dfa9c8..ce3b762 100644 --- a/server/api/whatsappMessage/whatsappMessage.socket.js +++ b/server/api/whatsappMessage/whatsappMessage.socket.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xa61b=['register','length','whatsappMessage:','./whatsappMessage.events','save','remove','update','emit'];(function(_0x11f249,_0x4ca4a8){var _0x5c3656=function(_0x27c9f8){while(--_0x27c9f8){_0x11f249['push'](_0x11f249['shift']());}};_0x5c3656(++_0x4ca4a8);}(_0xa61b,0x7b));var _0xba61=function(_0x25b1b0,_0x13ad32){_0x25b1b0=_0x25b1b0-0x0;var _0x15b858=_0xa61b[_0x25b1b0];return _0x15b858;};'use strict';var WhatsappMessageEvents=require(_0xba61('0x0'));var events=[_0xba61('0x1'),_0xba61('0x2'),_0xba61('0x3')];function createListener(_0x3efa1e,_0x1aeff8){return function(_0x167a9d){_0x1aeff8[_0xba61('0x4')](_0x3efa1e,_0x167a9d);};}function removeListener(_0x427949,_0x3b3c89){return function(){WhatsappMessageEvents['removeListener'](_0x427949,_0x3b3c89);};}exports[_0xba61('0x5')]=function(_0x1bbf56){for(var _0x16a4c7=0x0,_0x5b26cf=events[_0xba61('0x6')];_0x16a4c7<_0x5b26cf;_0x16a4c7++){var _0x3e35ec=events[_0x16a4c7];var _0x590f8c=createListener(_0xba61('0x7')+_0x3e35ec,_0x1bbf56);WhatsappMessageEvents['on'](_0x3e35ec,_0x590f8c);}}; \ No newline at end of file +var _0x3647=['emit','removeListener','length','whatsappMessage:','./whatsappMessage.events','save','remove','update'];(function(_0x4be706,_0x423f70){var _0x45ff4e=function(_0xcdb5be){while(--_0xcdb5be){_0x4be706['push'](_0x4be706['shift']());}};_0x45ff4e(++_0x423f70);}(_0x3647,0x74));var _0x7364=function(_0x487da6,_0x28e569){_0x487da6=_0x487da6-0x0;var _0x36ed21=_0x3647[_0x487da6];return _0x36ed21;};'use strict';var WhatsappMessageEvents=require(_0x7364('0x0'));var events=[_0x7364('0x1'),_0x7364('0x2'),_0x7364('0x3')];function createListener(_0x32f882,_0x109fa9){return function(_0x46c6f7){_0x109fa9[_0x7364('0x4')](_0x32f882,_0x46c6f7);};}function removeListener(_0x37c78b,_0x5126b5){return function(){WhatsappMessageEvents[_0x7364('0x5')](_0x37c78b,_0x5126b5);};}exports['register']=function(_0x153714){for(var _0x5edcf8=0x0,_0x311e0b=events[_0x7364('0x6')];_0x5edcf8<_0x311e0b;_0x5edcf8++){var _0x3d2ab5=events[_0x5edcf8];var _0x32b500=createListener(_0x7364('0x7')+_0x3d2ab5,_0x153714);WhatsappMessageEvents['on'](_0x3d2ab5,_0x32b500);}}; \ No newline at end of file diff --git a/server/api/whatsappQueue/index.js b/server/api/whatsappQueue/index.js index 7e1943e..44d5915 100644 --- a/server/api/whatsappQueue/index.js +++ b/server/api/whatsappQueue/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x15cd=['./whatsappQueue.controller','get','isAuthenticated','describe','/:id','show','/:id/members','getMembers','/:id/teams','/:id/users','getAgents','post','create','addTeams','put','update','delete','removeTeams','removeAgents','exports','multer','util','path','../../config/environment'];(function(_0x5dc874,_0xfd159f){var _0x2dfa05=function(_0x461309){while(--_0x461309){_0x5dc874['push'](_0x5dc874['shift']());}};_0x2dfa05(++_0xfd159f);}(_0x15cd,0x1f4));var _0xd15c=function(_0x38d657,_0x3522a1){_0x38d657=_0x38d657-0x0;var _0x1de063=_0x15cd[_0x38d657];return _0x1de063;};'use strict';var multer=require(_0xd15c('0x0'));var util=require(_0xd15c('0x1'));var path=require(_0xd15c('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xd15c('0x3'));var controller=require(_0xd15c('0x4'));router[_0xd15c('0x5')]('/',auth[_0xd15c('0x6')](),controller['index']);router[_0xd15c('0x5')]('/describe',auth['isAuthenticated'](),controller[_0xd15c('0x7')]);router['get'](_0xd15c('0x8'),auth[_0xd15c('0x6')](),controller[_0xd15c('0x9')]);router[_0xd15c('0x5')](_0xd15c('0xa'),auth[_0xd15c('0x6')](),controller[_0xd15c('0xb')]);router[_0xd15c('0x5')](_0xd15c('0xc'),auth['isAuthenticated'](),controller['getTeams']);router['get'](_0xd15c('0xd'),auth[_0xd15c('0x6')](),controller[_0xd15c('0xe')]);router[_0xd15c('0xf')]('/',auth[_0xd15c('0x6')](),controller[_0xd15c('0x10')]);router[_0xd15c('0xf')](_0xd15c('0xc'),auth[_0xd15c('0x6')](),controller[_0xd15c('0x11')]);router[_0xd15c('0xf')](_0xd15c('0xd'),auth['isAuthenticated'](),controller['addAgents']);router[_0xd15c('0x12')](_0xd15c('0x8'),auth[_0xd15c('0x6')](),controller[_0xd15c('0x13')]);router[_0xd15c('0x14')]('/:id',auth[_0xd15c('0x6')](),controller['destroy']);router[_0xd15c('0x14')]('/:id/teams',auth['isAuthenticated'](),controller[_0xd15c('0x15')]);router[_0xd15c('0x14')](_0xd15c('0xd'),auth[_0xd15c('0x6')](),controller[_0xd15c('0x16')]);module[_0xd15c('0x17')]=router; \ No newline at end of file +var _0xae2c=['/:id/teams','getTeams','post','create','addTeams','/:id/users','put','/:id','delete','removeTeams','removeAgents','exports','multer','util','express','Router','../../components/auth/service','../../config/environment','./whatsappQueue.controller','get','isAuthenticated','/describe','show','/:id/members','getMembers'];(function(_0xdca4a6,_0x4965f6){var _0x5c5b95=function(_0x2c8fe7){while(--_0x2c8fe7){_0xdca4a6['push'](_0xdca4a6['shift']());}};_0x5c5b95(++_0x4965f6);}(_0xae2c,0x151));var _0xcae2=function(_0x244e19,_0x4469eb){_0x244e19=_0x244e19-0x0;var _0x9bd340=_0xae2c[_0x244e19];return _0x9bd340;};'use strict';var multer=require(_0xcae2('0x0'));var util=require(_0xcae2('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0xcae2('0x2'));var router=express[_0xcae2('0x3')]();var auth=require(_0xcae2('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0xcae2('0x5'));var controller=require(_0xcae2('0x6'));router[_0xcae2('0x7')]('/',auth[_0xcae2('0x8')](),controller['index']);router[_0xcae2('0x7')](_0xcae2('0x9'),auth[_0xcae2('0x8')](),controller['describe']);router['get']('/:id',auth[_0xcae2('0x8')](),controller[_0xcae2('0xa')]);router['get'](_0xcae2('0xb'),auth[_0xcae2('0x8')](),controller[_0xcae2('0xc')]);router[_0xcae2('0x7')](_0xcae2('0xd'),auth[_0xcae2('0x8')](),controller[_0xcae2('0xe')]);router[_0xcae2('0x7')]('/:id/users',auth['isAuthenticated'](),controller['getAgents']);router[_0xcae2('0xf')]('/',auth[_0xcae2('0x8')](),controller[_0xcae2('0x10')]);router[_0xcae2('0xf')](_0xcae2('0xd'),auth[_0xcae2('0x8')](),controller[_0xcae2('0x11')]);router['post'](_0xcae2('0x12'),auth[_0xcae2('0x8')](),controller['addAgents']);router[_0xcae2('0x13')](_0xcae2('0x14'),auth[_0xcae2('0x8')](),controller['update']);router[_0xcae2('0x15')](_0xcae2('0x14'),auth[_0xcae2('0x8')](),controller['destroy']);router[_0xcae2('0x15')](_0xcae2('0xd'),auth[_0xcae2('0x8')](),controller[_0xcae2('0x16')]);router[_0xcae2('0x15')](_0xcae2('0x12'),auth[_0xcae2('0x8')](),controller[_0xcae2('0x17')]);module[_0xcae2('0x18')]=router; \ No newline at end of file diff --git a/server/api/whatsappQueue/whatsappQueue.attributes.js b/server/api/whatsappQueue/whatsappQueue.attributes.js index 3045ce2..9f4d5e1 100644 --- a/server/api/whatsappQueue/whatsappQueue.attributes.js +++ b/server/api/whatsappQueue/whatsappQueue.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xde9c=['beepall','sequelize','exports','STRING','rrmemory'];(function(_0x1293e1,_0x295168){var _0x44a2ed=function(_0x2fc16d){while(--_0x2fc16d){_0x1293e1['push'](_0x1293e1['shift']());}};_0x44a2ed(++_0x295168);}(_0xde9c,0xc4));var _0xcde9=function(_0x383975,_0x191822){_0x383975=_0x383975-0x0;var _0x553bd3=_0xde9c[_0x383975];return _0x553bd3;};'use strict';var Sequelize=require(_0xcde9('0x0'));module[_0xcde9('0x1')]={'name':{'type':Sequelize[_0xcde9('0x2')],'unique':'name','validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'timeout':{'type':Sequelize['INTEGER'],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize['ENUM'](_0xcde9('0x3'),_0xcde9('0x4'),'roundrobin')},'description':{'type':Sequelize[_0xcde9('0x2')]}}; \ No newline at end of file +var _0x6cb2=['INTEGER','ENUM','rrmemory','beepall','roundrobin','exports','STRING','name'];(function(_0x2cacef,_0xba1573){var _0x289ba6=function(_0x4ac8b9){while(--_0x4ac8b9){_0x2cacef['push'](_0x2cacef['shift']());}};_0x289ba6(++_0xba1573);}(_0x6cb2,0xf5));var _0x26cb=function(_0x342baa,_0x4a110f){_0x342baa=_0x342baa-0x0;var _0x1208f3=_0x6cb2[_0x342baa];return _0x1208f3;};'use strict';var Sequelize=require('sequelize');module[_0x26cb('0x0')]={'name':{'type':Sequelize[_0x26cb('0x1')],'unique':_0x26cb('0x2'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'timeout':{'type':Sequelize[_0x26cb('0x3')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize[_0x26cb('0x4')](_0x26cb('0x5'),_0x26cb('0x6'),_0x26cb('0x7'))},'description':{'type':Sequelize['STRING']}}; \ No newline at end of file diff --git a/server/api/whatsappQueue/whatsappQueue.controller.js b/server/api/whatsappQueue/whatsappQueue.controller.js index a52bf2a..f82a64b 100644 --- a/server/api/whatsappQueue/whatsappQueue.controller.js +++ b/server/api/whatsappQueue/whatsappQueue.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xd900=['sequelize','QueryTypes','SELECT','every','TeamId','includes','all','union','value','isEmpty','removeAgents','forEach','userWhatsappQueue:remove','addAgents','omit','userWhatsappQueue:save','getAgents','html-pdf','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','mustache','util','sox','to-csv','ejs','lodash','squel','crypto','jsforce','querystring','ioredis','../../components/auth/service','../../components/parsers/qs','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../mysqldb','redis','defaults','localhost','./whatsappQueue.socket','sendStatus','status','json','count','offset','limit','set','Content-Range','reject','save','update','destroy','then','get','WhatsappQueues','stack','name','send','map','WhatsappQueue','fieldName','key','model','query','filters','intersection','attributes','fields','hasOwnProperty','order','sort','where','pick','filter','VIRTUAL','merge','options','includeAll','include','findAll','catch','show','params','keys','rawAttributes','length','find','create','user','role','userProfileId','UserProfileResource','error','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','body','describe','getMembers','findOne','nolimit','UserWhatsappQueue','User','findAndCountAll','UserId','agent','whatsappPause','createdAt','rows','format','SIP','updatedAt','getTeams','Team','addTeams','ids','Agents','online','voicePause','flatMap','each','findOrCreate','emit','removeTeams','from','team_has_whatsapp_queues','user_has_teams','ut.TeamId\x20=\x20tq.TeamId','WhatsappQueueId\x20=\x20?','clone','ut.UserId\x20=\x20?'];(function(_0x18b931,_0x2cad1d){var _0x114958=function(_0x445b4f){while(--_0x445b4f){_0x18b931['push'](_0x18b931['shift']());}};_0x114958(++_0x2cad1d);}(_0xd900,0x121));var _0x0d90=function(_0x165c96,_0x2269de){_0x165c96=_0x165c96-0x0;var _0x5c2420=_0xd900[_0x165c96];return _0x5c2420;};'use strict';var pdf=require(_0x0d90('0x0'));var emlformat=require('eml-format');var rimraf=require(_0x0d90('0x1'));var zipdir=require(_0x0d90('0x2'));var jsonpatch=require(_0x0d90('0x3'));var rp=require(_0x0d90('0x4'));var moment=require(_0x0d90('0x5'));var BPromise=require(_0x0d90('0x6'));var Mustache=require(_0x0d90('0x7'));var util=require(_0x0d90('0x8'));var path=require('path');var sox=require(_0x0d90('0x9'));var csv=require(_0x0d90('0xa'));var ejs=require(_0x0d90('0xb'));var fs=require('fs');var _=require(_0x0d90('0xc'));var squel=require(_0x0d90('0xd'));var crypto=require(_0x0d90('0xe'));var jsforce=require(_0x0d90('0xf'));var deskjs=require('desk.js');var toCsv=require(_0x0d90('0xa'));var querystring=require(_0x0d90('0x10'));var Papa=require('papaparse');var Redis=require(_0x0d90('0x11'));var authService=require(_0x0d90('0x12'));var qs=require(_0x0d90('0x13'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0x0d90('0x14'));var logger=require(_0x0d90('0x15'))(_0x0d90('0x16'));var utils=require(_0x0d90('0x17'));var config=require(_0x0d90('0x18'));var db=require(_0x0d90('0x19'))['db'];config[_0x0d90('0x1a')]=_[_0x0d90('0x1b')](config[_0x0d90('0x1a')],{'host':_0x0d90('0x1c'),'port':0x18eb});var socket=require('socket.io-emitter')(new Redis(config['redis']));require(_0x0d90('0x1d'))['register'](socket);function respondWithStatusCode(_0x297426,_0x3551d5){_0x3551d5=_0x3551d5||0xcc;return function(_0x53950a){if(_0x53950a){return _0x297426[_0x0d90('0x1e')](_0x3551d5);}return _0x297426[_0x0d90('0x1f')](_0x3551d5)['end']();};}function respondWithResult(_0x4b99f3,_0x5198fa){_0x5198fa=_0x5198fa||0xc8;return function(_0x4105c0){if(_0x4105c0){return _0x4b99f3[_0x0d90('0x1f')](_0x5198fa)[_0x0d90('0x20')](_0x4105c0);}};}function respondWithFilteredResult(_0x2c1392,_0x15a16c){return function(_0x1f74a0){if(_0x1f74a0){var _0x57d169=_0x1f74a0[_0x0d90('0x21')],_0x39e08e=_0x15a16c['offset'],_0x2ec7fc=_0x15a16c[_0x0d90('0x22')]+_0x15a16c[_0x0d90('0x23')],_0x267f5f;if(_0x2ec7fc>=_0x57d169){_0x2ec7fc=_0x57d169;_0x267f5f=0xc8;}else{_0x267f5f=0xce;}_0x2c1392[_0x0d90('0x1f')](_0x267f5f);return _0x2c1392[_0x0d90('0x24')](_0x0d90('0x25'),_0x39e08e+'-'+_0x2ec7fc+'/'+_0x57d169)[_0x0d90('0x20')](_0x1f74a0);}return null;};}function patchUpdates(_0x38a446){return function(_0x5ae8a5){try{jsonpatch['apply'](_0x5ae8a5,_0x38a446,!![]);}catch(_0x371966){return BPromise[_0x0d90('0x26')](_0x371966);}return _0x5ae8a5[_0x0d90('0x27')]();};}function saveUpdates(_0x35c471,_0x49dab6){return function(_0xd8cf51){if(_0xd8cf51){return _0xd8cf51[_0x0d90('0x28')](_0x35c471)['then'](function(_0x584cf7){return _0x584cf7;});}return null;};}function removeEntity(_0x1ecde9,_0x429d38){return function(_0x3b2672){if(_0x3b2672){return _0x3b2672[_0x0d90('0x29')]()[_0x0d90('0x2a')](function(){var _0x50a091=_0x3b2672[_0x0d90('0x2b')]({'plain':!![]});var _0x378844=_0x0d90('0x2c');return db['UserProfileResource'][_0x0d90('0x29')]({'where':{'type':_0x378844,'resourceId':_0x50a091['id']}})[_0x0d90('0x2a')](function(){return _0x3b2672;});})[_0x0d90('0x2a')](function(){_0x1ecde9[_0x0d90('0x1f')](0xcc)['end']();});}};}function handleEntityNotFound(_0x5866a3,_0x5b55e5){return function(_0x4491f3){if(!_0x4491f3){_0x5866a3[_0x0d90('0x1e')](0x194);}return _0x4491f3;};}function handleError(_0x5ab7db,_0x4ad223){_0x4ad223=_0x4ad223||0x1f4;return function(_0x1da677){logger['error'](_0x1da677[_0x0d90('0x2d')]);if(_0x1da677[_0x0d90('0x2e')]){delete _0x1da677[_0x0d90('0x2e')];}_0x5ab7db['status'](_0x4ad223)[_0x0d90('0x2f')](_0x1da677);};}exports['index']=function(_0x5d80cf,_0x296ced){var _0x17bbf3={},_0x5a55cd={},_0x1aa6c6={'count':0x0,'rows':[]};var _0x51c13e=_[_0x0d90('0x30')](db[_0x0d90('0x31')]['rawAttributes'],function(_0x3961f8){return{'name':_0x3961f8[_0x0d90('0x32')],'type':_0x3961f8['type'][_0x0d90('0x33')]};});_0x5a55cd[_0x0d90('0x34')]=_[_0x0d90('0x30')](_0x51c13e,_0x0d90('0x2e'));_0x5a55cd[_0x0d90('0x35')]=_['keys'](_0x5d80cf['query']);_0x5a55cd[_0x0d90('0x36')]=_[_0x0d90('0x37')](_0x5a55cd[_0x0d90('0x34')],_0x5a55cd['query']);_0x17bbf3[_0x0d90('0x38')]=_['intersection'](_0x5a55cd[_0x0d90('0x34')],qs[_0x0d90('0x39')](_0x5d80cf[_0x0d90('0x35')][_0x0d90('0x39')]));_0x17bbf3[_0x0d90('0x38')]=_0x17bbf3[_0x0d90('0x38')]['length']?_0x17bbf3[_0x0d90('0x38')]:_0x5a55cd['model'];if(!_0x5d80cf[_0x0d90('0x35')][_0x0d90('0x3a')]('nolimit')){_0x17bbf3[_0x0d90('0x23')]=qs[_0x0d90('0x23')](_0x5d80cf['query'][_0x0d90('0x23')]);_0x17bbf3['offset']=qs['offset'](_0x5d80cf['query'][_0x0d90('0x22')]);}_0x17bbf3[_0x0d90('0x3b')]=qs[_0x0d90('0x3c')](_0x5d80cf['query']['sort']);_0x17bbf3[_0x0d90('0x3d')]=qs[_0x0d90('0x36')](_[_0x0d90('0x3e')](_0x5d80cf[_0x0d90('0x35')],_0x5a55cd[_0x0d90('0x36')]),_0x51c13e);if(_0x5d80cf[_0x0d90('0x35')][_0x0d90('0x3f')]){_0x17bbf3[_0x0d90('0x3d')]=_['merge'](_0x17bbf3[_0x0d90('0x3d')],{'$or':_[_0x0d90('0x30')](_0x51c13e,function(_0x39d192){if(_0x39d192['type']!==_0x0d90('0x40')){var _0x187e2f={};_0x187e2f[_0x39d192[_0x0d90('0x2e')]]={'$like':'%'+_0x5d80cf['query'][_0x0d90('0x3f')]+'%'};return _0x187e2f;}})});}_0x17bbf3=_[_0x0d90('0x41')]({},_0x17bbf3,_0x5d80cf[_0x0d90('0x42')]);var _0x51d410={'where':_0x17bbf3['where']};return db['WhatsappQueue'][_0x0d90('0x21')](_0x51d410)[_0x0d90('0x2a')](function(_0x1d7811){_0x1aa6c6[_0x0d90('0x21')]=_0x1d7811;if(_0x5d80cf[_0x0d90('0x35')][_0x0d90('0x43')]){_0x17bbf3[_0x0d90('0x44')]=[{'all':!![]}];}return db[_0x0d90('0x31')][_0x0d90('0x45')](_0x17bbf3);})[_0x0d90('0x2a')](function(_0x23e872){_0x1aa6c6['rows']=_0x23e872;return _0x1aa6c6;})[_0x0d90('0x2a')](respondWithFilteredResult(_0x296ced,_0x17bbf3))[_0x0d90('0x46')](handleError(_0x296ced,null));};exports[_0x0d90('0x47')]=function(_0x2b1011,_0x52b0b2){var _0x532f13={'raw':!![],'where':{'id':_0x2b1011[_0x0d90('0x48')]['id']}},_0x46447f={};_0x46447f[_0x0d90('0x34')]=_[_0x0d90('0x49')](db['WhatsappQueue'][_0x0d90('0x4a')]);_0x46447f[_0x0d90('0x35')]=_[_0x0d90('0x49')](_0x2b1011[_0x0d90('0x35')]);_0x46447f[_0x0d90('0x36')]=_[_0x0d90('0x37')](_0x46447f['model'],_0x46447f[_0x0d90('0x35')]);_0x532f13[_0x0d90('0x38')]=_[_0x0d90('0x37')](_0x46447f[_0x0d90('0x34')],qs['fields'](_0x2b1011[_0x0d90('0x35')][_0x0d90('0x39')]));_0x532f13[_0x0d90('0x38')]=_0x532f13[_0x0d90('0x38')][_0x0d90('0x4b')]?_0x532f13[_0x0d90('0x38')]:_0x46447f[_0x0d90('0x34')];if(_0x2b1011[_0x0d90('0x35')][_0x0d90('0x43')]){_0x532f13[_0x0d90('0x44')]=[{'all':!![]}];}_0x532f13=_[_0x0d90('0x41')]({},_0x532f13,_0x2b1011[_0x0d90('0x42')]);return db[_0x0d90('0x31')][_0x0d90('0x4c')](_0x532f13)[_0x0d90('0x2a')](handleEntityNotFound(_0x52b0b2,null))[_0x0d90('0x2a')](respondWithResult(_0x52b0b2,null))['catch'](handleError(_0x52b0b2,null));};exports[_0x0d90('0x4d')]=function(_0x3fd1d3,_0x4086ab){return db[_0x0d90('0x31')]['create'](_0x3fd1d3['body'],{})['then'](function(_0x18cb38){var _0x31f9e6=_0x3fd1d3[_0x0d90('0x4e')]['get']({'plain':!![]});if(!_0x31f9e6)throw new Error('Unable\x20to\x20retrieve\x20the\x20current\x20user');if(_0x31f9e6[_0x0d90('0x4f')]===_0x0d90('0x4e')){var _0x5abac6=_0x18cb38['get']({'plain':!![]});var _0x52825e=_0x0d90('0x2c');return db['UserProfileSection'][_0x0d90('0x4c')]({'where':{'name':_0x52825e,'userProfileId':_0x31f9e6[_0x0d90('0x50')]},'raw':!![]})[_0x0d90('0x2a')](function(_0x5aa8b5){if(_0x5aa8b5&&_0x5aa8b5['autoAssociation']===0x0){return db[_0x0d90('0x51')][_0x0d90('0x4d')]({'name':_0x5abac6[_0x0d90('0x2e')],'resourceId':_0x5abac6['id'],'type':_0x5aa8b5[_0x0d90('0x2e')],'sectionId':_0x5aa8b5['id']},{})[_0x0d90('0x2a')](function(){return _0x18cb38;});}else{return _0x18cb38;}})[_0x0d90('0x46')](function(_0x41d788){logger[_0x0d90('0x52')](_0x0d90('0x53'),_0x41d788);throw _0x41d788;});}return _0x18cb38;})[_0x0d90('0x2a')](respondWithResult(_0x4086ab,0xc9))[_0x0d90('0x46')](handleError(_0x4086ab,null));};exports['update']=function(_0x2215f2,_0x4c60a9){if(_0x2215f2[_0x0d90('0x54')]['id']){delete _0x2215f2[_0x0d90('0x54')]['id'];}return db[_0x0d90('0x31')][_0x0d90('0x4c')]({'where':{'id':_0x2215f2[_0x0d90('0x48')]['id']}})[_0x0d90('0x2a')](handleEntityNotFound(_0x4c60a9,null))['then'](saveUpdates(_0x2215f2[_0x0d90('0x54')],null))[_0x0d90('0x2a')](respondWithResult(_0x4c60a9,null))[_0x0d90('0x46')](handleError(_0x4c60a9,null));};exports['destroy']=function(_0x81a485,_0x838535){return db['WhatsappQueue'][_0x0d90('0x4c')]({'where':{'id':_0x81a485[_0x0d90('0x48')]['id']}})[_0x0d90('0x2a')](handleEntityNotFound(_0x838535,null))[_0x0d90('0x2a')](removeEntity(_0x838535,null))[_0x0d90('0x46')](handleError(_0x838535,null));};exports['describe']=function(_0x3282cb,_0x1dfcd5){return db[_0x0d90('0x31')][_0x0d90('0x55')]()['then'](respondWithResult(_0x1dfcd5,null))[_0x0d90('0x46')](handleError(_0x1dfcd5,null));};exports[_0x0d90('0x56')]=function(_0x2bf608,_0x31a0ac,_0x43298){var _0x40a679={'raw':!![],'where':{}},_0xc7933e={},_0x357a8b;return db[_0x0d90('0x31')][_0x0d90('0x57')]({'where':{'id':_0x2bf608[_0x0d90('0x48')]['id']}})[_0x0d90('0x2a')](handleEntityNotFound(_0x31a0ac,null))[_0x0d90('0x2a')](function(_0x4b9dd2){if(_0x4b9dd2){_0x357a8b=_0x4b9dd2['get']({'plain':!![]});_0xc7933e[_0x0d90('0x34')]=_['keys'](db['UserWhatsappQueue'][_0x0d90('0x4a')]);_0xc7933e['query']=_[_0x0d90('0x49')](_0x2bf608[_0x0d90('0x35')]);_0xc7933e[_0x0d90('0x36')]=_[_0x0d90('0x37')](_0xc7933e[_0x0d90('0x34')],_0xc7933e['query']);_0x40a679['attributes']=_['intersection'](_0xc7933e['model'],qs['fields'](_0x2bf608[_0x0d90('0x35')][_0x0d90('0x39')]));_0x40a679[_0x0d90('0x38')]=_0x40a679['attributes']['length']?_0x40a679[_0x0d90('0x38')]:_0xc7933e[_0x0d90('0x34')];if(!_0x2bf608[_0x0d90('0x35')][_0x0d90('0x3a')](_0x0d90('0x58'))){_0x40a679[_0x0d90('0x23')]=qs[_0x0d90('0x23')](_0x2bf608[_0x0d90('0x35')][_0x0d90('0x23')]);_0x40a679[_0x0d90('0x22')]=qs[_0x0d90('0x22')](_0x2bf608[_0x0d90('0x35')][_0x0d90('0x22')]);}_0x40a679[_0x0d90('0x3b')]=qs[_0x0d90('0x3c')](_0x2bf608[_0x0d90('0x35')][_0x0d90('0x3c')]);_0x40a679[_0x0d90('0x3d')]=qs[_0x0d90('0x36')](_[_0x0d90('0x3e')](_0x2bf608[_0x0d90('0x35')],_0xc7933e['filters']));_0x40a679[_0x0d90('0x3d')]['WhatsappQueueId']=_0x4b9dd2['id'];if(_0x2bf608[_0x0d90('0x35')]['filter']){_0x40a679[_0x0d90('0x3d')]=_[_0x0d90('0x41')](_0x40a679[_0x0d90('0x3d')],{'$or':_[_0x0d90('0x30')](_0x40a679[_0x0d90('0x38')],function(_0x3835bf){var _0x1aafb9={};_0x1aafb9[_0x3835bf]={'$like':'%'+_0x2bf608['query'][_0x0d90('0x3f')]+'%'};return _0x1aafb9;})});}_0x40a679=_[_0x0d90('0x41')]({},_0x40a679,_0x2bf608[_0x0d90('0x42')]);return db[_0x0d90('0x59')]['findAll'](_0x40a679);}})[_0x0d90('0x2a')](function(_0x146d55){if(_0x146d55){return db[_0x0d90('0x5a')][_0x0d90('0x5b')]({'where':{'id':_[_0x0d90('0x30')](_0x146d55,_0x0d90('0x5c')),'role':_0x0d90('0x5d')},'attributes':['id',_0x0d90('0x2e'),_0x0d90('0x5e'),'updatedAt',_0x0d90('0x5f')]});}})[_0x0d90('0x2a')](function(_0x2f4cd7){if(_0x2f4cd7){return{'count':_0x2f4cd7['count'],'rows':_['map'](_0x2f4cd7[_0x0d90('0x60')],function(_0x213326){return{'membername':_0x213326[_0x0d90('0x2e')],'UserId':_0x213326['id'],'queue_name':_0x357a8b[_0x0d90('0x2e')],'WhatsappQueueId':_0x357a8b['id'],'interface':util[_0x0d90('0x61')]('%s/%s',_0x0d90('0x62'),_0x213326[_0x0d90('0x2e')]),'penalty':0x0,'paused':_0x213326[_0x0d90('0x5e')],'createdAt':_0x213326['createdAt'],'updatedAt':_0x213326[_0x0d90('0x63')]};})};}else{return{'count':0x0,'rows':[]};}})[_0x0d90('0x2a')](respondWithFilteredResult(_0x31a0ac,_0x40a679))[_0x0d90('0x46')](handleError(_0x31a0ac,null));};exports[_0x0d90('0x64')]=function(_0x48a9bd,_0x4b5b54,_0x2f4763){var _0x3fabb3={};var _0x33ff51={};var _0x53b813;var _0x29d2e3;return db[_0x0d90('0x31')][_0x0d90('0x57')]({'where':{'id':_0x48a9bd[_0x0d90('0x48')]['id']}})['then'](handleEntityNotFound(_0x4b5b54,null))[_0x0d90('0x2a')](function(_0x1de591){if(_0x1de591){_0x53b813=_0x1de591;_0x33ff51[_0x0d90('0x34')]=_['keys'](db[_0x0d90('0x65')][_0x0d90('0x4a')]);_0x33ff51[_0x0d90('0x35')]=_[_0x0d90('0x49')](_0x48a9bd[_0x0d90('0x35')]);_0x33ff51['filters']=_['intersection'](_0x33ff51[_0x0d90('0x34')],_0x33ff51[_0x0d90('0x35')]);_0x3fabb3[_0x0d90('0x38')]=_[_0x0d90('0x37')](_0x33ff51[_0x0d90('0x34')],qs['fields'](_0x48a9bd[_0x0d90('0x35')]['fields']));_0x3fabb3[_0x0d90('0x38')]=_0x3fabb3[_0x0d90('0x38')][_0x0d90('0x4b')]?_0x3fabb3[_0x0d90('0x38')]:_0x33ff51[_0x0d90('0x34')];_0x3fabb3[_0x0d90('0x3b')]=qs[_0x0d90('0x3c')](_0x48a9bd['query'][_0x0d90('0x3c')]);_0x3fabb3[_0x0d90('0x3d')]=qs['filters'](_[_0x0d90('0x3e')](_0x48a9bd[_0x0d90('0x35')],_0x33ff51['filters']));if(_0x48a9bd[_0x0d90('0x35')][_0x0d90('0x3f')]){_0x3fabb3[_0x0d90('0x3d')]=_[_0x0d90('0x41')](_0x3fabb3[_0x0d90('0x3d')],{'$or':_['map'](_0x3fabb3['attributes'],function(_0x3a6f77){var _0x42a62d={};_0x42a62d[_0x3a6f77]={'$like':'%'+_0x48a9bd[_0x0d90('0x35')][_0x0d90('0x3f')]+'%'};return _0x42a62d;})});}_0x3fabb3=_[_0x0d90('0x41')]({},_0x3fabb3,_0x48a9bd['options']);return _0x53b813[_0x0d90('0x64')](_0x3fabb3);}})['then'](function(_0x1670a0){if(_0x1670a0){_0x29d2e3=_0x1670a0[_0x0d90('0x4b')];if(!_0x48a9bd[_0x0d90('0x35')][_0x0d90('0x3a')](_0x0d90('0x58'))){_0x3fabb3[_0x0d90('0x23')]=qs[_0x0d90('0x23')](_0x48a9bd[_0x0d90('0x35')][_0x0d90('0x23')]);_0x3fabb3[_0x0d90('0x22')]=qs['offset'](_0x48a9bd[_0x0d90('0x35')][_0x0d90('0x22')]);}return _0x53b813[_0x0d90('0x64')](_0x3fabb3);}})[_0x0d90('0x2a')](function(_0x3b5e05){if(_0x3b5e05){return _0x3b5e05?{'count':_0x29d2e3,'rows':_0x3b5e05}:null;}})['then'](respondWithResult(_0x4b5b54,null))['catch'](handleError(_0x4b5b54,null));};exports[_0x0d90('0x66')]=function(_0xe743ad,_0x442960,_0x28355c){var _0x4883f8=_0xe743ad['body'][_0x0d90('0x67')];return db[_0x0d90('0x65')]['findAll']({'where':{'id':_0x4883f8},'attributes':['id'],'include':[{'model':db[_0x0d90('0x5a')],'as':_0x0d90('0x68'),'attributes':['id',_0x0d90('0x2e'),_0x0d90('0x69'),_0x0d90('0x6a'),'interface'],'raw':!![]}]})[_0x0d90('0x2a')](function(_0x1d85a4){if(_0x1d85a4){var _0x2365b3=_[_0x0d90('0x6b')](_0x1d85a4,function(_0x1491a9){var _0x269926=_0x1491a9[_0x0d90('0x2b')]({'plain':!![]});return _0x269926[_0x0d90('0x68')];});return db['WhatsappQueue']['find']({'where':{'id':_0xe743ad[_0x0d90('0x48')]['id']}})['then'](function(_0x4e1ca5){return db['sequelize']['transaction'](function(_0x5459e1){return _0x4e1ca5[_0x0d90('0x66')](_0x4883f8,{'transaction':_0x5459e1})[_0x0d90('0x2a')](function(){return BPromise[_0x0d90('0x6c')](_0x2365b3,function(_0x56d891){return db[_0x0d90('0x59')][_0x0d90('0x6d')]({'where':{'UserId':_0x56d891['id'],'WhatsappQueueId':_0xe743ad[_0x0d90('0x48')]['id']},'transaction':_0x5459e1});});})[_0x0d90('0x2a')](function(){_0x2365b3['forEach'](function(_0x5e28eb){socket[_0x0d90('0x6e')]('userWhatsappQueue:save',{'UserId':_0x5e28eb['id'],'WhatsappQueueId':_0x4e1ca5['id']});});});});});}})['then'](respondWithStatusCode(_0x442960,null))[_0x0d90('0x46')](handleError(_0x442960,null));};exports[_0x0d90('0x6f')]=function(_0x1be795,_0x43e71a,_0x2b6469){return db['Team']['findAll']({'where':{'id':_0x1be795[_0x0d90('0x35')][_0x0d90('0x67')]},'attributes':['id'],'include':[{'model':db['User'],'as':_0x0d90('0x68'),'attributes':['id'],'raw':!![]}]})[_0x0d90('0x2a')](handleEntityNotFound(_0x43e71a,null))[_0x0d90('0x2a')](function(_0x3fc605){var _0x2a7853=_[_0x0d90('0x30')](_0x3fc605,'id');var _0x2b8f90=[];var _0x5704fe=[];var _0x355ede=squel['select']();_0x355ede['field']('tq.TeamId')[_0x0d90('0x70')](_0x0d90('0x71'),'tq')['join'](_0x0d90('0x72'),'ut',_0x0d90('0x73'))['where'](_0x0d90('0x74'),_0x1be795[_0x0d90('0x48')]['id']);for(var _0x3672e0=0x0;_0x3672e0<_0x3fc605[_0x0d90('0x4b')];_0x3672e0+=0x1){let _0xb7e797=_0x3fc605[_0x3672e0];for(var _0x59127e=0x0;_0x59127e<_0xb7e797[_0x0d90('0x68')][_0x0d90('0x4b')];_0x59127e+=0x1){let _0x4c6ca4=_0xb7e797[_0x0d90('0x68')][_0x59127e];var _0xed97b2=_0x355ede[_0x0d90('0x75')]();_0xed97b2[_0x0d90('0x3d')](_0x0d90('0x76'),_0x4c6ca4['id']);_0x5704fe['push'](db['sequelize']['query'](_0xed97b2['toString'](),{'type':db[_0x0d90('0x77')][_0x0d90('0x78')][_0x0d90('0x79')]})[_0x0d90('0x2a')](function(_0x969745){if(_0x969745[_0x0d90('0x4b')]===0x1){return _0x4c6ca4['id'];}else{var _0x4008d0=_[_0x0d90('0x7a')](_[_0x0d90('0x30')](_0x969745,_0x0d90('0x7b')),function(_0x40209a){return _[_0x0d90('0x7c')](_0x2a7853,_0x40209a);});if(_0x4008d0){return _0x4c6ca4['id'];}}}));}}return BPromise[_0x0d90('0x7d')](_0x5704fe)['then'](function(_0x1e0b5f){_0x2b8f90=_(_0x2b8f90)[_0x0d90('0x7e')](_0x1e0b5f)['compact']()[_0x0d90('0x7f')]();return db[_0x0d90('0x31')][_0x0d90('0x4c')]({'where':{'id':_0x1be795[_0x0d90('0x48')]['id']}})['then'](function(_0x508319){return db['sequelize']['transaction'](function(_0x189c4d){return _0x508319[_0x0d90('0x6f')](_0x1be795[_0x0d90('0x35')][_0x0d90('0x67')],{'transaction':_0x189c4d})[_0x0d90('0x2a')](function(){if(!_[_0x0d90('0x80')](_0x2b8f90)){return _0x508319[_0x0d90('0x81')](_0x2b8f90,{'transaction':_0x189c4d});}})[_0x0d90('0x2a')](function(){_0x2b8f90[_0x0d90('0x82')](function(_0x35f3a9){socket[_0x0d90('0x6e')](_0x0d90('0x83'),{'UserId':_0x35f3a9,'WhatsappQueueId':_0x508319['id']});});});});});});})[_0x0d90('0x2a')](respondWithStatusCode(_0x43e71a,null))['catch'](handleError(_0x43e71a,null));};exports[_0x0d90('0x84')]=function(_0x5c8587,_0x131ab3,_0x12b083){return db[_0x0d90('0x31')][_0x0d90('0x4c')]({'where':{'id':_0x5c8587['params']['id']}})[_0x0d90('0x2a')](handleEntityNotFound(_0x131ab3,null))[_0x0d90('0x2a')](function(_0x47f3c3){if(_0x47f3c3){return _0x47f3c3[_0x0d90('0x84')](_0x5c8587['body'][_0x0d90('0x67')],_[_0x0d90('0x85')](_0x5c8587[_0x0d90('0x54')],[_0x0d90('0x67'),'id'])||{})['spread'](function(_0x3fe051){for(var _0x1b0452=0x0;_0x1b0452<_0x5c8587[_0x0d90('0x54')]['ids'][_0x0d90('0x4b')];_0x1b0452+=0x1){socket['emit'](_0x0d90('0x86'),{'UserId':_0x5c8587['body'][_0x0d90('0x67')][_0x1b0452],'WhatsappQueueId':_0x5c8587[_0x0d90('0x48')]['id']});}return _0x3fe051;});}})['then'](respondWithResult(_0x131ab3,null))[_0x0d90('0x46')](handleError(_0x131ab3,null));};exports[_0x0d90('0x81')]=function(_0x557b52,_0x3f77d9,_0x1bc2e0){return db[_0x0d90('0x31')][_0x0d90('0x4c')]({'where':{'id':_0x557b52[_0x0d90('0x48')]['id']}})[_0x0d90('0x2a')](handleEntityNotFound(_0x3f77d9,null))[_0x0d90('0x2a')](function(_0x5b282f){if(_0x5b282f){return _0x5b282f[_0x0d90('0x81')](_0x557b52[_0x0d90('0x35')]['ids'])['then'](function(){if(_['isArray'](_0x557b52[_0x0d90('0x35')][_0x0d90('0x67')])){for(var _0x5e8271=0x0;_0x5e8271<_0x557b52['query'][_0x0d90('0x67')]['length'];_0x5e8271+=0x1){socket[_0x0d90('0x6e')](_0x0d90('0x83'),{'UserId':Number(_0x557b52[_0x0d90('0x35')][_0x0d90('0x67')][_0x5e8271]),'WhatsappQueueId':Number(_0x557b52[_0x0d90('0x48')]['id'])});}}else{socket[_0x0d90('0x6e')](_0x0d90('0x83'),{'UserId':Number(_0x557b52[_0x0d90('0x35')][_0x0d90('0x67')]),'WhatsappQueueId':Number(_0x557b52['params']['id'])});}});}})[_0x0d90('0x2a')](respondWithStatusCode(_0x3f77d9,null))[_0x0d90('0x46')](handleError(_0x3f77d9,null));};exports['getAgents']=function(_0x4f77a1,_0xcf1798,_0x1783a0){var _0x22bf5f={};var _0x35cc22={};var _0x34441b;var _0x510fc6;return db[_0x0d90('0x31')][_0x0d90('0x57')]({'where':{'id':_0x4f77a1[_0x0d90('0x48')]['id']}})[_0x0d90('0x2a')](handleEntityNotFound(_0xcf1798,null))[_0x0d90('0x2a')](function(_0x2b23dd){if(_0x2b23dd){_0x34441b=_0x2b23dd;_0x35cc22['model']=_[_0x0d90('0x49')](db['User'][_0x0d90('0x4a')]);_0x35cc22['query']=_['keys'](_0x4f77a1[_0x0d90('0x35')]);_0x35cc22['filters']=_[_0x0d90('0x37')](_0x35cc22[_0x0d90('0x34')],_0x35cc22[_0x0d90('0x35')]);_0x22bf5f[_0x0d90('0x38')]=_[_0x0d90('0x37')](_0x35cc22[_0x0d90('0x34')],qs['fields'](_0x4f77a1[_0x0d90('0x35')]['fields']));_0x22bf5f[_0x0d90('0x38')]=_0x22bf5f[_0x0d90('0x38')][_0x0d90('0x4b')]?_0x22bf5f['attributes']:_0x35cc22['model'];_0x22bf5f[_0x0d90('0x3b')]=qs[_0x0d90('0x3c')](_0x4f77a1[_0x0d90('0x35')][_0x0d90('0x3c')]);_0x22bf5f[_0x0d90('0x3d')]=qs[_0x0d90('0x36')](_['pick'](_0x4f77a1['query'],_0x35cc22['filters']));if(_0x4f77a1[_0x0d90('0x35')][_0x0d90('0x3f')]){_0x22bf5f['where']=_[_0x0d90('0x41')](_0x22bf5f[_0x0d90('0x3d')],{'$or':_[_0x0d90('0x30')](_0x22bf5f[_0x0d90('0x38')],function(_0x32c09f){var _0x2571e6={};_0x2571e6[_0x32c09f]={'$like':'%'+_0x4f77a1[_0x0d90('0x35')][_0x0d90('0x3f')]+'%'};return _0x2571e6;})});}_0x22bf5f=_[_0x0d90('0x41')]({},_0x22bf5f,_0x4f77a1[_0x0d90('0x42')]);return _0x34441b[_0x0d90('0x87')](_0x22bf5f);}})[_0x0d90('0x2a')](function(_0x5187a7){if(_0x5187a7){_0x510fc6=_0x5187a7['length'];if(!_0x4f77a1[_0x0d90('0x35')]['hasOwnProperty'](_0x0d90('0x58'))){_0x22bf5f[_0x0d90('0x23')]=qs[_0x0d90('0x23')](_0x4f77a1['query']['limit']);_0x22bf5f[_0x0d90('0x22')]=qs[_0x0d90('0x22')](_0x4f77a1['query']['offset']);}return _0x34441b[_0x0d90('0x87')](_0x22bf5f);}})[_0x0d90('0x2a')](function(_0x161732){if(_0x161732){return _0x161732?{'count':_0x510fc6,'rows':_0x161732}:null;}})[_0x0d90('0x2a')](respondWithResult(_0xcf1798,null))[_0x0d90('0x46')](handleError(_0xcf1798,null));}; \ No newline at end of file +var _0xc785=['includes','all','union','compact','value','transaction','isEmpty','removeAgents','userWhatsappQueue:remove','addAgents','omit','spread','userWhatsappQueue:save','isArray','getAgents','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','mustache','util','path','sox','ejs','lodash','squel','crypto','jsforce','desk.js','to-csv','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../mysqldb','redis','defaults','localhost','./whatsappQueue.socket','register','sendStatus','status','json','count','Content-Range','apply','save','update','then','get','WhatsappQueues','UserProfileResource','destroy','end','error','stack','name','send','index','map','fieldName','type','key','model','query','keys','filters','intersection','fields','attributes','length','hasOwnProperty','nolimit','limit','offset','sort','where','pick','filter','merge','VIRTUAL','options','WhatsappQueue','include','findAll','rows','catch','show','rawAttributes','includeAll','create','user','Unable\x20to\x20retrieve\x20the\x20current\x20user','role','UserProfileSection','find','userProfileId','autoAssociation','Unable\x20to\x20associate\x20the\x20resource\x20to\x20the\x20User\x20Profile:\x20%s','body','params','describe','getMembers','findOne','UserWhatsappQueue','order','WhatsappQueueId','findAndCountAll','UserId','agent','createdAt','format','%s/%s','SIP','whatsappPause','updatedAt','Team','getTeams','ids','User','Agents','online','voicePause','flatMap','sequelize','addTeams','each','findOrCreate','forEach','emit','removeTeams','select','tq.TeamId','from','team_has_whatsapp_queues','join','ut.TeamId\x20=\x20tq.TeamId','WhatsappQueueId\x20=\x20?','clone','push','toString','QueryTypes','every','TeamId'];(function(_0x15a88c,_0xbf33cf){var _0x131e05=function(_0x3fe0c0){while(--_0x3fe0c0){_0x15a88c['push'](_0x15a88c['shift']());}};_0x131e05(++_0xbf33cf);}(_0xc785,0x13d));var _0x5c78=function(_0x1d3a51,_0x486f15){_0x1d3a51=_0x1d3a51-0x0;var _0x519331=_0xc785[_0x1d3a51];return _0x519331;};'use strict';var pdf=require(_0x5c78('0x0'));var emlformat=require(_0x5c78('0x1'));var rimraf=require(_0x5c78('0x2'));var zipdir=require(_0x5c78('0x3'));var jsonpatch=require(_0x5c78('0x4'));var rp=require(_0x5c78('0x5'));var moment=require(_0x5c78('0x6'));var BPromise=require('bluebird');var Mustache=require(_0x5c78('0x7'));var util=require(_0x5c78('0x8'));var path=require(_0x5c78('0x9'));var sox=require(_0x5c78('0xa'));var csv=require('to-csv');var ejs=require(_0x5c78('0xb'));var fs=require('fs');var _=require(_0x5c78('0xc'));var squel=require(_0x5c78('0xd'));var crypto=require(_0x5c78('0xe'));var jsforce=require(_0x5c78('0xf'));var deskjs=require(_0x5c78('0x10'));var toCsv=require(_0x5c78('0x11'));var querystring=require('querystring');var Papa=require('papaparse');var Redis=require(_0x5c78('0x12'));var authService=require(_0x5c78('0x13'));var qs=require(_0x5c78('0x14'));var as=require(_0x5c78('0x15'));var hardwareService=require(_0x5c78('0x16'));var logger=require(_0x5c78('0x17'))(_0x5c78('0x18'));var utils=require(_0x5c78('0x19'));var config=require('../../config/environment');var db=require(_0x5c78('0x1a'))['db'];config[_0x5c78('0x1b')]=_[_0x5c78('0x1c')](config[_0x5c78('0x1b')],{'host':_0x5c78('0x1d'),'port':0x18eb});var socket=require('socket.io-emitter')(new Redis(config['redis']));require(_0x5c78('0x1e'))[_0x5c78('0x1f')](socket);function respondWithStatusCode(_0x4490f1,_0x406194){_0x406194=_0x406194||0xcc;return function(_0x3e6edf){if(_0x3e6edf){return _0x4490f1[_0x5c78('0x20')](_0x406194);}return _0x4490f1[_0x5c78('0x21')](_0x406194)['end']();};}function respondWithResult(_0x3341b8,_0x5d4a0b){_0x5d4a0b=_0x5d4a0b||0xc8;return function(_0xec813c){if(_0xec813c){return _0x3341b8[_0x5c78('0x21')](_0x5d4a0b)[_0x5c78('0x22')](_0xec813c);}};}function respondWithFilteredResult(_0x49d1de,_0x329bb3){return function(_0x2013ce){if(_0x2013ce){var _0x5292f4=_0x2013ce[_0x5c78('0x23')],_0x349137=_0x329bb3['offset'],_0x2e9d63=_0x329bb3['offset']+_0x329bb3['limit'],_0x53ed18;if(_0x2e9d63>=_0x5292f4){_0x2e9d63=_0x5292f4;_0x53ed18=0xc8;}else{_0x53ed18=0xce;}_0x49d1de[_0x5c78('0x21')](_0x53ed18);return _0x49d1de['set'](_0x5c78('0x24'),_0x349137+'-'+_0x2e9d63+'/'+_0x5292f4)['json'](_0x2013ce);}return null;};}function patchUpdates(_0x33978d){return function(_0x3bec7f){try{jsonpatch[_0x5c78('0x25')](_0x3bec7f,_0x33978d,!![]);}catch(_0x392029){return BPromise['reject'](_0x392029);}return _0x3bec7f[_0x5c78('0x26')]();};}function saveUpdates(_0x212ab4,_0x2c637c){return function(_0x9715cf){if(_0x9715cf){return _0x9715cf[_0x5c78('0x27')](_0x212ab4)[_0x5c78('0x28')](function(_0x9dd85){return _0x9dd85;});}return null;};}function removeEntity(_0x403ff8,_0x237ec4){return function(_0x53d05c){if(_0x53d05c){return _0x53d05c['destroy']()[_0x5c78('0x28')](function(){var _0x5a9bc6=_0x53d05c[_0x5c78('0x29')]({'plain':!![]});var _0x220287=_0x5c78('0x2a');return db[_0x5c78('0x2b')][_0x5c78('0x2c')]({'where':{'type':_0x220287,'resourceId':_0x5a9bc6['id']}})[_0x5c78('0x28')](function(){return _0x53d05c;});})[_0x5c78('0x28')](function(){_0x403ff8[_0x5c78('0x21')](0xcc)[_0x5c78('0x2d')]();});}};}function handleEntityNotFound(_0x16dd66,_0xfd8907){return function(_0x26683e){if(!_0x26683e){_0x16dd66['sendStatus'](0x194);}return _0x26683e;};}function handleError(_0x2da827,_0x4d8d2d){_0x4d8d2d=_0x4d8d2d||0x1f4;return function(_0x1782a3){logger[_0x5c78('0x2e')](_0x1782a3[_0x5c78('0x2f')]);if(_0x1782a3[_0x5c78('0x30')]){delete _0x1782a3[_0x5c78('0x30')];}_0x2da827[_0x5c78('0x21')](_0x4d8d2d)[_0x5c78('0x31')](_0x1782a3);};}exports[_0x5c78('0x32')]=function(_0x1b6f53,_0x31888d){var _0x4cb630={},_0x25f3b9={},_0x3de624={'count':0x0,'rows':[]};var _0x170646=_[_0x5c78('0x33')](db['WhatsappQueue']['rawAttributes'],function(_0x1be344){return{'name':_0x1be344[_0x5c78('0x34')],'type':_0x1be344[_0x5c78('0x35')][_0x5c78('0x36')]};});_0x25f3b9[_0x5c78('0x37')]=_[_0x5c78('0x33')](_0x170646,_0x5c78('0x30'));_0x25f3b9[_0x5c78('0x38')]=_[_0x5c78('0x39')](_0x1b6f53[_0x5c78('0x38')]);_0x25f3b9[_0x5c78('0x3a')]=_[_0x5c78('0x3b')](_0x25f3b9[_0x5c78('0x37')],_0x25f3b9[_0x5c78('0x38')]);_0x4cb630['attributes']=_[_0x5c78('0x3b')](_0x25f3b9[_0x5c78('0x37')],qs[_0x5c78('0x3c')](_0x1b6f53[_0x5c78('0x38')][_0x5c78('0x3c')]));_0x4cb630['attributes']=_0x4cb630[_0x5c78('0x3d')][_0x5c78('0x3e')]?_0x4cb630['attributes']:_0x25f3b9[_0x5c78('0x37')];if(!_0x1b6f53[_0x5c78('0x38')][_0x5c78('0x3f')](_0x5c78('0x40'))){_0x4cb630['limit']=qs['limit'](_0x1b6f53[_0x5c78('0x38')][_0x5c78('0x41')]);_0x4cb630['offset']=qs[_0x5c78('0x42')](_0x1b6f53[_0x5c78('0x38')][_0x5c78('0x42')]);}_0x4cb630['order']=qs[_0x5c78('0x43')](_0x1b6f53[_0x5c78('0x38')][_0x5c78('0x43')]);_0x4cb630[_0x5c78('0x44')]=qs[_0x5c78('0x3a')](_[_0x5c78('0x45')](_0x1b6f53[_0x5c78('0x38')],_0x25f3b9[_0x5c78('0x3a')]),_0x170646);if(_0x1b6f53['query'][_0x5c78('0x46')]){_0x4cb630[_0x5c78('0x44')]=_[_0x5c78('0x47')](_0x4cb630[_0x5c78('0x44')],{'$or':_[_0x5c78('0x33')](_0x170646,function(_0x3a86d2){if(_0x3a86d2['type']!==_0x5c78('0x48')){var _0x2b68e5={};_0x2b68e5[_0x3a86d2['name']]={'$like':'%'+_0x1b6f53[_0x5c78('0x38')][_0x5c78('0x46')]+'%'};return _0x2b68e5;}})});}_0x4cb630=_[_0x5c78('0x47')]({},_0x4cb630,_0x1b6f53[_0x5c78('0x49')]);var _0x2cf370={'where':_0x4cb630['where']};return db[_0x5c78('0x4a')][_0x5c78('0x23')](_0x2cf370)[_0x5c78('0x28')](function(_0x25ddae){_0x3de624[_0x5c78('0x23')]=_0x25ddae;if(_0x1b6f53[_0x5c78('0x38')]['includeAll']){_0x4cb630[_0x5c78('0x4b')]=[{'all':!![]}];}return db[_0x5c78('0x4a')][_0x5c78('0x4c')](_0x4cb630);})[_0x5c78('0x28')](function(_0x2c7060){_0x3de624[_0x5c78('0x4d')]=_0x2c7060;return _0x3de624;})[_0x5c78('0x28')](respondWithFilteredResult(_0x31888d,_0x4cb630))[_0x5c78('0x4e')](handleError(_0x31888d,null));};exports[_0x5c78('0x4f')]=function(_0x23b27b,_0x121e29){var _0x35cbb2={'raw':!![],'where':{'id':_0x23b27b['params']['id']}},_0xaf62db={};_0xaf62db['model']=_[_0x5c78('0x39')](db[_0x5c78('0x4a')][_0x5c78('0x50')]);_0xaf62db[_0x5c78('0x38')]=_[_0x5c78('0x39')](_0x23b27b[_0x5c78('0x38')]);_0xaf62db['filters']=_['intersection'](_0xaf62db[_0x5c78('0x37')],_0xaf62db[_0x5c78('0x38')]);_0x35cbb2['attributes']=_[_0x5c78('0x3b')](_0xaf62db[_0x5c78('0x37')],qs[_0x5c78('0x3c')](_0x23b27b[_0x5c78('0x38')][_0x5c78('0x3c')]));_0x35cbb2[_0x5c78('0x3d')]=_0x35cbb2[_0x5c78('0x3d')]['length']?_0x35cbb2[_0x5c78('0x3d')]:_0xaf62db[_0x5c78('0x37')];if(_0x23b27b[_0x5c78('0x38')][_0x5c78('0x51')]){_0x35cbb2[_0x5c78('0x4b')]=[{'all':!![]}];}_0x35cbb2=_[_0x5c78('0x47')]({},_0x35cbb2,_0x23b27b[_0x5c78('0x49')]);return db[_0x5c78('0x4a')]['find'](_0x35cbb2)[_0x5c78('0x28')](handleEntityNotFound(_0x121e29,null))[_0x5c78('0x28')](respondWithResult(_0x121e29,null))['catch'](handleError(_0x121e29,null));};exports['create']=function(_0x4c39b7,_0x459518){return db[_0x5c78('0x4a')][_0x5c78('0x52')](_0x4c39b7['body'],{})[_0x5c78('0x28')](function(_0xd0b015){var _0x418bb3=_0x4c39b7[_0x5c78('0x53')][_0x5c78('0x29')]({'plain':!![]});if(!_0x418bb3)throw new Error(_0x5c78('0x54'));if(_0x418bb3[_0x5c78('0x55')]===_0x5c78('0x53')){var _0x287812=_0xd0b015[_0x5c78('0x29')]({'plain':!![]});var _0x30f38f='WhatsappQueues';return db[_0x5c78('0x56')][_0x5c78('0x57')]({'where':{'name':_0x30f38f,'userProfileId':_0x418bb3[_0x5c78('0x58')]},'raw':!![]})[_0x5c78('0x28')](function(_0x40629f){if(_0x40629f&&_0x40629f[_0x5c78('0x59')]===0x0){return db[_0x5c78('0x2b')][_0x5c78('0x52')]({'name':_0x287812[_0x5c78('0x30')],'resourceId':_0x287812['id'],'type':_0x40629f['name'],'sectionId':_0x40629f['id']},{})['then'](function(){return _0xd0b015;});}else{return _0xd0b015;}})[_0x5c78('0x4e')](function(_0x232638){logger[_0x5c78('0x2e')](_0x5c78('0x5a'),_0x232638);throw _0x232638;});}return _0xd0b015;})['then'](respondWithResult(_0x459518,0xc9))[_0x5c78('0x4e')](handleError(_0x459518,null));};exports[_0x5c78('0x27')]=function(_0x2bfb4b,_0x273fe4){if(_0x2bfb4b[_0x5c78('0x5b')]['id']){delete _0x2bfb4b[_0x5c78('0x5b')]['id'];}return db['WhatsappQueue'][_0x5c78('0x57')]({'where':{'id':_0x2bfb4b[_0x5c78('0x5c')]['id']}})[_0x5c78('0x28')](handleEntityNotFound(_0x273fe4,null))['then'](saveUpdates(_0x2bfb4b[_0x5c78('0x5b')],null))[_0x5c78('0x28')](respondWithResult(_0x273fe4,null))[_0x5c78('0x4e')](handleError(_0x273fe4,null));};exports[_0x5c78('0x2c')]=function(_0x5a590d,_0x1049c5){return db['WhatsappQueue'][_0x5c78('0x57')]({'where':{'id':_0x5a590d[_0x5c78('0x5c')]['id']}})['then'](handleEntityNotFound(_0x1049c5,null))[_0x5c78('0x28')](removeEntity(_0x1049c5,null))['catch'](handleError(_0x1049c5,null));};exports[_0x5c78('0x5d')]=function(_0x238205,_0x313350){return db[_0x5c78('0x4a')][_0x5c78('0x5d')]()[_0x5c78('0x28')](respondWithResult(_0x313350,null))[_0x5c78('0x4e')](handleError(_0x313350,null));};exports[_0x5c78('0x5e')]=function(_0xbbc4e5,_0x359cb7,_0x26ba14){var _0x42ea20={'raw':!![],'where':{}},_0x28cfff={},_0x48dd0b;return db['WhatsappQueue'][_0x5c78('0x5f')]({'where':{'id':_0xbbc4e5['params']['id']}})[_0x5c78('0x28')](handleEntityNotFound(_0x359cb7,null))['then'](function(_0x3a5bb5){if(_0x3a5bb5){_0x48dd0b=_0x3a5bb5['get']({'plain':!![]});_0x28cfff[_0x5c78('0x37')]=_['keys'](db[_0x5c78('0x60')][_0x5c78('0x50')]);_0x28cfff[_0x5c78('0x38')]=_[_0x5c78('0x39')](_0xbbc4e5['query']);_0x28cfff['filters']=_['intersection'](_0x28cfff[_0x5c78('0x37')],_0x28cfff[_0x5c78('0x38')]);_0x42ea20[_0x5c78('0x3d')]=_['intersection'](_0x28cfff[_0x5c78('0x37')],qs['fields'](_0xbbc4e5['query'][_0x5c78('0x3c')]));_0x42ea20[_0x5c78('0x3d')]=_0x42ea20[_0x5c78('0x3d')]['length']?_0x42ea20['attributes']:_0x28cfff[_0x5c78('0x37')];if(!_0xbbc4e5['query'][_0x5c78('0x3f')](_0x5c78('0x40'))){_0x42ea20[_0x5c78('0x41')]=qs[_0x5c78('0x41')](_0xbbc4e5[_0x5c78('0x38')][_0x5c78('0x41')]);_0x42ea20[_0x5c78('0x42')]=qs[_0x5c78('0x42')](_0xbbc4e5[_0x5c78('0x38')][_0x5c78('0x42')]);}_0x42ea20[_0x5c78('0x61')]=qs[_0x5c78('0x43')](_0xbbc4e5[_0x5c78('0x38')][_0x5c78('0x43')]);_0x42ea20['where']=qs[_0x5c78('0x3a')](_['pick'](_0xbbc4e5[_0x5c78('0x38')],_0x28cfff[_0x5c78('0x3a')]));_0x42ea20['where'][_0x5c78('0x62')]=_0x3a5bb5['id'];if(_0xbbc4e5[_0x5c78('0x38')][_0x5c78('0x46')]){_0x42ea20[_0x5c78('0x44')]=_[_0x5c78('0x47')](_0x42ea20[_0x5c78('0x44')],{'$or':_[_0x5c78('0x33')](_0x42ea20[_0x5c78('0x3d')],function(_0x1df38e){var _0x36e1a4={};_0x36e1a4[_0x1df38e]={'$like':'%'+_0xbbc4e5['query'][_0x5c78('0x46')]+'%'};return _0x36e1a4;})});}_0x42ea20=_[_0x5c78('0x47')]({},_0x42ea20,_0xbbc4e5[_0x5c78('0x49')]);return db[_0x5c78('0x60')][_0x5c78('0x4c')](_0x42ea20);}})['then'](function(_0x2e626e){if(_0x2e626e){return db['User'][_0x5c78('0x63')]({'where':{'id':_[_0x5c78('0x33')](_0x2e626e,_0x5c78('0x64')),'role':_0x5c78('0x65')},'attributes':['id','name','whatsappPause','updatedAt',_0x5c78('0x66')]});}})['then'](function(_0x112636){if(_0x112636){return{'count':_0x112636['count'],'rows':_['map'](_0x112636[_0x5c78('0x4d')],function(_0x4725f9){return{'membername':_0x4725f9[_0x5c78('0x30')],'UserId':_0x4725f9['id'],'queue_name':_0x48dd0b[_0x5c78('0x30')],'WhatsappQueueId':_0x48dd0b['id'],'interface':util[_0x5c78('0x67')](_0x5c78('0x68'),_0x5c78('0x69'),_0x4725f9[_0x5c78('0x30')]),'penalty':0x0,'paused':_0x4725f9[_0x5c78('0x6a')],'createdAt':_0x4725f9[_0x5c78('0x66')],'updatedAt':_0x4725f9[_0x5c78('0x6b')]};})};}else{return{'count':0x0,'rows':[]};}})[_0x5c78('0x28')](respondWithFilteredResult(_0x359cb7,_0x42ea20))['catch'](handleError(_0x359cb7,null));};exports['getTeams']=function(_0x527f13,_0x3717f0,_0x458cdc){var _0x45e194={};var _0x19c819={};var _0x5aae37;var _0x4d2362;return db['WhatsappQueue'][_0x5c78('0x5f')]({'where':{'id':_0x527f13[_0x5c78('0x5c')]['id']}})[_0x5c78('0x28')](handleEntityNotFound(_0x3717f0,null))[_0x5c78('0x28')](function(_0x4dbca9){if(_0x4dbca9){_0x5aae37=_0x4dbca9;_0x19c819[_0x5c78('0x37')]=_[_0x5c78('0x39')](db[_0x5c78('0x6c')][_0x5c78('0x50')]);_0x19c819[_0x5c78('0x38')]=_[_0x5c78('0x39')](_0x527f13[_0x5c78('0x38')]);_0x19c819['filters']=_[_0x5c78('0x3b')](_0x19c819['model'],_0x19c819['query']);_0x45e194[_0x5c78('0x3d')]=_[_0x5c78('0x3b')](_0x19c819['model'],qs[_0x5c78('0x3c')](_0x527f13['query'][_0x5c78('0x3c')]));_0x45e194['attributes']=_0x45e194['attributes'][_0x5c78('0x3e')]?_0x45e194[_0x5c78('0x3d')]:_0x19c819[_0x5c78('0x37')];_0x45e194['order']=qs['sort'](_0x527f13[_0x5c78('0x38')][_0x5c78('0x43')]);_0x45e194[_0x5c78('0x44')]=qs['filters'](_[_0x5c78('0x45')](_0x527f13[_0x5c78('0x38')],_0x19c819[_0x5c78('0x3a')]));if(_0x527f13[_0x5c78('0x38')]['filter']){_0x45e194[_0x5c78('0x44')]=_[_0x5c78('0x47')](_0x45e194['where'],{'$or':_[_0x5c78('0x33')](_0x45e194[_0x5c78('0x3d')],function(_0x27b8b6){var _0x215649={};_0x215649[_0x27b8b6]={'$like':'%'+_0x527f13['query'][_0x5c78('0x46')]+'%'};return _0x215649;})});}_0x45e194=_[_0x5c78('0x47')]({},_0x45e194,_0x527f13[_0x5c78('0x49')]);return _0x5aae37[_0x5c78('0x6d')](_0x45e194);}})[_0x5c78('0x28')](function(_0x3a3eaa){if(_0x3a3eaa){_0x4d2362=_0x3a3eaa['length'];if(!_0x527f13[_0x5c78('0x38')]['hasOwnProperty'](_0x5c78('0x40'))){_0x45e194[_0x5c78('0x41')]=qs['limit'](_0x527f13[_0x5c78('0x38')][_0x5c78('0x41')]);_0x45e194[_0x5c78('0x42')]=qs[_0x5c78('0x42')](_0x527f13['query'][_0x5c78('0x42')]);}return _0x5aae37[_0x5c78('0x6d')](_0x45e194);}})[_0x5c78('0x28')](function(_0x2c0584){if(_0x2c0584){return _0x2c0584?{'count':_0x4d2362,'rows':_0x2c0584}:null;}})[_0x5c78('0x28')](respondWithResult(_0x3717f0,null))['catch'](handleError(_0x3717f0,null));};exports['addTeams']=function(_0x13ebfd,_0x3153f2,_0x1ec964){var _0x31a8ae=_0x13ebfd['body'][_0x5c78('0x6e')];return db['Team'][_0x5c78('0x4c')]({'where':{'id':_0x31a8ae},'attributes':['id'],'include':[{'model':db[_0x5c78('0x6f')],'as':_0x5c78('0x70'),'attributes':['id',_0x5c78('0x30'),_0x5c78('0x71'),_0x5c78('0x72'),'interface'],'raw':!![]}]})['then'](function(_0x59eaad){if(_0x59eaad){var _0x24adef=_[_0x5c78('0x73')](_0x59eaad,function(_0x26d919){var _0x51a765=_0x26d919[_0x5c78('0x29')]({'plain':!![]});return _0x51a765[_0x5c78('0x70')];});return db['WhatsappQueue'][_0x5c78('0x57')]({'where':{'id':_0x13ebfd[_0x5c78('0x5c')]['id']}})[_0x5c78('0x28')](function(_0x23db3f){return db[_0x5c78('0x74')]['transaction'](function(_0x165cca){return _0x23db3f[_0x5c78('0x75')](_0x31a8ae,{'transaction':_0x165cca})[_0x5c78('0x28')](function(){return BPromise[_0x5c78('0x76')](_0x24adef,function(_0x118889){return db['UserWhatsappQueue'][_0x5c78('0x77')]({'where':{'UserId':_0x118889['id'],'WhatsappQueueId':_0x13ebfd[_0x5c78('0x5c')]['id']},'transaction':_0x165cca});});})['then'](function(){_0x24adef[_0x5c78('0x78')](function(_0x4979ce){socket[_0x5c78('0x79')]('userWhatsappQueue:save',{'UserId':_0x4979ce['id'],'WhatsappQueueId':_0x23db3f['id']});});});});});}})['then'](respondWithStatusCode(_0x3153f2,null))[_0x5c78('0x4e')](handleError(_0x3153f2,null));};exports[_0x5c78('0x7a')]=function(_0x5a1123,_0x4c44c9,_0x49f706){return db[_0x5c78('0x6c')][_0x5c78('0x4c')]({'where':{'id':_0x5a1123['query'][_0x5c78('0x6e')]},'attributes':['id'],'include':[{'model':db[_0x5c78('0x6f')],'as':_0x5c78('0x70'),'attributes':['id'],'raw':!![]}]})[_0x5c78('0x28')](handleEntityNotFound(_0x4c44c9,null))[_0x5c78('0x28')](function(_0x3121b8){var _0x3c8f94=_[_0x5c78('0x33')](_0x3121b8,'id');var _0x3b7f2d=[];var _0x35f412=[];var _0x146b2d=squel[_0x5c78('0x7b')]();_0x146b2d['field'](_0x5c78('0x7c'))[_0x5c78('0x7d')](_0x5c78('0x7e'),'tq')[_0x5c78('0x7f')]('user_has_teams','ut',_0x5c78('0x80'))['where'](_0x5c78('0x81'),_0x5a1123['params']['id']);for(var _0x2963a9=0x0;_0x2963a9<_0x3121b8[_0x5c78('0x3e')];_0x2963a9+=0x1){let _0x36f4e1=_0x3121b8[_0x2963a9];for(var _0x38890c=0x0;_0x38890c<_0x36f4e1['Agents'][_0x5c78('0x3e')];_0x38890c+=0x1){let _0x90959e=_0x36f4e1[_0x5c78('0x70')][_0x38890c];var _0x219db7=_0x146b2d[_0x5c78('0x82')]();_0x219db7[_0x5c78('0x44')]('ut.UserId\x20=\x20?',_0x90959e['id']);_0x35f412[_0x5c78('0x83')](db['sequelize'][_0x5c78('0x38')](_0x219db7[_0x5c78('0x84')](),{'type':db[_0x5c78('0x74')][_0x5c78('0x85')]['SELECT']})[_0x5c78('0x28')](function(_0x48e977){if(_0x48e977['length']===0x1){return _0x90959e['id'];}else{var _0x47df6a=_[_0x5c78('0x86')](_['map'](_0x48e977,_0x5c78('0x87')),function(_0x2d47f2){return _[_0x5c78('0x88')](_0x3c8f94,_0x2d47f2);});if(_0x47df6a){return _0x90959e['id'];}}}));}}return BPromise[_0x5c78('0x89')](_0x35f412)['then'](function(_0x508c91){_0x3b7f2d=_(_0x3b7f2d)[_0x5c78('0x8a')](_0x508c91)[_0x5c78('0x8b')]()[_0x5c78('0x8c')]();return db[_0x5c78('0x4a')][_0x5c78('0x57')]({'where':{'id':_0x5a1123[_0x5c78('0x5c')]['id']}})[_0x5c78('0x28')](function(_0x1cbd13){return db[_0x5c78('0x74')][_0x5c78('0x8d')](function(_0x385d36){return _0x1cbd13[_0x5c78('0x7a')](_0x5a1123['query']['ids'],{'transaction':_0x385d36})[_0x5c78('0x28')](function(){if(!_[_0x5c78('0x8e')](_0x3b7f2d)){return _0x1cbd13[_0x5c78('0x8f')](_0x3b7f2d,{'transaction':_0x385d36});}})[_0x5c78('0x28')](function(){_0x3b7f2d[_0x5c78('0x78')](function(_0x54b3be){socket[_0x5c78('0x79')](_0x5c78('0x90'),{'UserId':_0x54b3be,'WhatsappQueueId':_0x1cbd13['id']});});});});});});})[_0x5c78('0x28')](respondWithStatusCode(_0x4c44c9,null))[_0x5c78('0x4e')](handleError(_0x4c44c9,null));};exports['addAgents']=function(_0x59e2e0,_0x4e7171,_0x492287){return db['WhatsappQueue'][_0x5c78('0x57')]({'where':{'id':_0x59e2e0[_0x5c78('0x5c')]['id']}})[_0x5c78('0x28')](handleEntityNotFound(_0x4e7171,null))['then'](function(_0x108d11){if(_0x108d11){return _0x108d11[_0x5c78('0x91')](_0x59e2e0[_0x5c78('0x5b')][_0x5c78('0x6e')],_[_0x5c78('0x92')](_0x59e2e0[_0x5c78('0x5b')],[_0x5c78('0x6e'),'id'])||{})[_0x5c78('0x93')](function(_0x5a04df){for(var _0x506e22=0x0;_0x506e22<_0x59e2e0['body'][_0x5c78('0x6e')][_0x5c78('0x3e')];_0x506e22+=0x1){socket[_0x5c78('0x79')](_0x5c78('0x94'),{'UserId':_0x59e2e0[_0x5c78('0x5b')][_0x5c78('0x6e')][_0x506e22],'WhatsappQueueId':_0x59e2e0[_0x5c78('0x5c')]['id']});}return _0x5a04df;});}})[_0x5c78('0x28')](respondWithResult(_0x4e7171,null))[_0x5c78('0x4e')](handleError(_0x4e7171,null));};exports[_0x5c78('0x8f')]=function(_0x1addfe,_0x22702b,_0x2f5dfe){return db['WhatsappQueue']['find']({'where':{'id':_0x1addfe[_0x5c78('0x5c')]['id']}})[_0x5c78('0x28')](handleEntityNotFound(_0x22702b,null))[_0x5c78('0x28')](function(_0x2d8133){if(_0x2d8133){return _0x2d8133['removeAgents'](_0x1addfe[_0x5c78('0x38')][_0x5c78('0x6e')])[_0x5c78('0x28')](function(){if(_[_0x5c78('0x95')](_0x1addfe[_0x5c78('0x38')]['ids'])){for(var _0x3586c9=0x0;_0x3586c9<_0x1addfe[_0x5c78('0x38')][_0x5c78('0x6e')][_0x5c78('0x3e')];_0x3586c9+=0x1){socket['emit'](_0x5c78('0x90'),{'UserId':Number(_0x1addfe[_0x5c78('0x38')]['ids'][_0x3586c9]),'WhatsappQueueId':Number(_0x1addfe[_0x5c78('0x5c')]['id'])});}}else{socket[_0x5c78('0x79')]('userWhatsappQueue:remove',{'UserId':Number(_0x1addfe[_0x5c78('0x38')][_0x5c78('0x6e')]),'WhatsappQueueId':Number(_0x1addfe[_0x5c78('0x5c')]['id'])});}});}})[_0x5c78('0x28')](respondWithStatusCode(_0x22702b,null))['catch'](handleError(_0x22702b,null));};exports[_0x5c78('0x96')]=function(_0x18ac41,_0x48b63b,_0x58ae11){var _0xf69ff6={};var _0x3d1983={};var _0x120fb1;var _0x84389e;return db[_0x5c78('0x4a')][_0x5c78('0x5f')]({'where':{'id':_0x18ac41[_0x5c78('0x5c')]['id']}})[_0x5c78('0x28')](handleEntityNotFound(_0x48b63b,null))[_0x5c78('0x28')](function(_0x3d0605){if(_0x3d0605){_0x120fb1=_0x3d0605;_0x3d1983['model']=_[_0x5c78('0x39')](db[_0x5c78('0x6f')]['rawAttributes']);_0x3d1983[_0x5c78('0x38')]=_[_0x5c78('0x39')](_0x18ac41[_0x5c78('0x38')]);_0x3d1983[_0x5c78('0x3a')]=_['intersection'](_0x3d1983[_0x5c78('0x37')],_0x3d1983[_0x5c78('0x38')]);_0xf69ff6[_0x5c78('0x3d')]=_[_0x5c78('0x3b')](_0x3d1983[_0x5c78('0x37')],qs[_0x5c78('0x3c')](_0x18ac41[_0x5c78('0x38')][_0x5c78('0x3c')]));_0xf69ff6['attributes']=_0xf69ff6[_0x5c78('0x3d')][_0x5c78('0x3e')]?_0xf69ff6['attributes']:_0x3d1983[_0x5c78('0x37')];_0xf69ff6['order']=qs[_0x5c78('0x43')](_0x18ac41['query'][_0x5c78('0x43')]);_0xf69ff6['where']=qs[_0x5c78('0x3a')](_['pick'](_0x18ac41[_0x5c78('0x38')],_0x3d1983['filters']));if(_0x18ac41['query'][_0x5c78('0x46')]){_0xf69ff6[_0x5c78('0x44')]=_[_0x5c78('0x47')](_0xf69ff6[_0x5c78('0x44')],{'$or':_['map'](_0xf69ff6[_0x5c78('0x3d')],function(_0x4c6d51){var _0x142dcf={};_0x142dcf[_0x4c6d51]={'$like':'%'+_0x18ac41[_0x5c78('0x38')][_0x5c78('0x46')]+'%'};return _0x142dcf;})});}_0xf69ff6=_[_0x5c78('0x47')]({},_0xf69ff6,_0x18ac41[_0x5c78('0x49')]);return _0x120fb1[_0x5c78('0x96')](_0xf69ff6);}})[_0x5c78('0x28')](function(_0x485713){if(_0x485713){_0x84389e=_0x485713[_0x5c78('0x3e')];if(!_0x18ac41[_0x5c78('0x38')][_0x5c78('0x3f')](_0x5c78('0x40'))){_0xf69ff6[_0x5c78('0x41')]=qs[_0x5c78('0x41')](_0x18ac41['query']['limit']);_0xf69ff6[_0x5c78('0x42')]=qs[_0x5c78('0x42')](_0x18ac41[_0x5c78('0x38')]['offset']);}return _0x120fb1[_0x5c78('0x96')](_0xf69ff6);}})['then'](function(_0xc82fe2){if(_0xc82fe2){return _0xc82fe2?{'count':_0x84389e,'rows':_0xc82fe2}:null;}})[_0x5c78('0x28')](respondWithResult(_0x48b63b,null))[_0x5c78('0x4e')](handleError(_0x48b63b,null));}; \ No newline at end of file diff --git a/server/api/whatsappQueue/whatsappQueue.events.js b/server/api/whatsappQueue/whatsappQueue.events.js index 4648b83..07d8282 100644 --- a/server/api/whatsappQueue/whatsappQueue.events.js +++ b/server/api/whatsappQueue/whatsappQueue.events.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x8002=['hasOwnProperty','exports','events','../../mysqldb','save','update','remove','emit'];(function(_0x409065,_0xd832fa){var _0x57d7da=function(_0x34ca53){while(--_0x34ca53){_0x409065['push'](_0x409065['shift']());}};_0x57d7da(++_0xd832fa);}(_0x8002,0x132));var _0x2800=function(_0x3f7b12,_0x5801cd){_0x3f7b12=_0x3f7b12-0x0;var _0x514913=_0x8002[_0x3f7b12];return _0x514913;};'use strict';var EventEmitter=require(_0x2800('0x0'));var WhatsappQueue=require(_0x2800('0x1'))['db']['WhatsappQueue'];var WhatsappQueueEvents=new EventEmitter();WhatsappQueueEvents['setMaxListeners'](0x0);var events={'afterCreate':_0x2800('0x2'),'afterUpdate':_0x2800('0x3'),'afterDestroy':_0x2800('0x4')};function emitEvent(_0x3a699a){return function(_0x4c5267,_0x272fed,_0x28310d){WhatsappQueueEvents[_0x2800('0x5')](_0x3a699a+':'+_0x4c5267['id'],_0x4c5267);WhatsappQueueEvents[_0x2800('0x5')](_0x3a699a,_0x4c5267);_0x28310d(null);};}for(var e in events){if(events[_0x2800('0x6')](e)){var event=events[e];WhatsappQueue['hook'](e,emitEvent(event));}}module[_0x2800('0x7')]=WhatsappQueueEvents; \ No newline at end of file +var _0xc402=['hasOwnProperty','hook','exports','events','../../mysqldb','setMaxListeners','save','update','remove','emit'];(function(_0x344a3f,_0x579a22){var _0x264712=function(_0x34c9f0){while(--_0x34c9f0){_0x344a3f['push'](_0x344a3f['shift']());}};_0x264712(++_0x579a22);}(_0xc402,0x143));var _0x2c40=function(_0x4ed1d4,_0x2df980){_0x4ed1d4=_0x4ed1d4-0x0;var _0x599c63=_0xc402[_0x4ed1d4];return _0x599c63;};'use strict';var EventEmitter=require(_0x2c40('0x0'));var WhatsappQueue=require(_0x2c40('0x1'))['db']['WhatsappQueue'];var WhatsappQueueEvents=new EventEmitter();WhatsappQueueEvents[_0x2c40('0x2')](0x0);var events={'afterCreate':_0x2c40('0x3'),'afterUpdate':_0x2c40('0x4'),'afterDestroy':_0x2c40('0x5')};function emitEvent(_0x5a6467){return function(_0x592736,_0x13d657,_0x544c0a){WhatsappQueueEvents['emit'](_0x5a6467+':'+_0x592736['id'],_0x592736);WhatsappQueueEvents[_0x2c40('0x6')](_0x5a6467,_0x592736);_0x544c0a(null);};}for(var e in events){if(events[_0x2c40('0x7')](e)){var event=events[e];WhatsappQueue[_0x2c40('0x8')](e,emitEvent(event));}}module[_0x2c40('0x9')]=WhatsappQueueEvents; \ No newline at end of file diff --git a/server/api/whatsappQueue/whatsappQueue.model.js b/server/api/whatsappQueue/whatsappQueue.model.js index fa02e3a..2545d48 100644 --- a/server/api/whatsappQueue/whatsappQueue.model.js +++ b/server/api/whatsappQueue/whatsappQueue.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x688c=['./whatsappQueue.attributes','exports','define','WhatsappQueue','whatsapp_queues','lodash','../../config/logger','api','moment','bluebird','request-promise','rimraf','../../config/environment'];(function(_0x30ccd7,_0x476228){var _0x4a04d5=function(_0x3c8ed3){while(--_0x3c8ed3){_0x30ccd7['push'](_0x30ccd7['shift']());}};_0x4a04d5(++_0x476228);}(_0x688c,0x1b2));var _0xc688=function(_0x18d120,_0x33fa41){_0x18d120=_0x18d120-0x0;var _0x562027=_0x688c[_0x18d120];return _0x562027;};'use strict';var _=require(_0xc688('0x0'));var util=require('util');var logger=require(_0xc688('0x1'))(_0xc688('0x2'));var moment=require(_0xc688('0x3'));var BPromise=require(_0xc688('0x4'));var rp=require(_0xc688('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0xc688('0x6'));var config=require(_0xc688('0x7'));var attributes=require(_0xc688('0x8'));module[_0xc688('0x9')]=function(_0x325e40,_0x41eee9){return _0x325e40[_0xc688('0xa')](_0xc688('0xb'),attributes,{'tableName':_0xc688('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file +var _0xae83=['exports','define','WhatsappQueue','whatsapp_queues','lodash','util','../../config/logger','moment','bluebird','path','rimraf','../../config/environment','./whatsappQueue.attributes'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0xae83,0xad));var _0x3ae8=function(_0x4b055c,_0x4b870b){_0x4b055c=_0x4b055c-0x0;var _0x4b62bb=_0xae83[_0x4b055c];return _0x4b62bb;};'use strict';var _=require(_0x3ae8('0x0'));var util=require(_0x3ae8('0x1'));var logger=require(_0x3ae8('0x2'))('api');var moment=require(_0x3ae8('0x3'));var BPromise=require(_0x3ae8('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x3ae8('0x5'));var rimraf=require(_0x3ae8('0x6'));var config=require(_0x3ae8('0x7'));var attributes=require(_0x3ae8('0x8'));module[_0x3ae8('0x9')]=function(_0x1328b8,_0x2d7832){return _0x1328b8[_0x3ae8('0xa')](_0x3ae8('0xb'),attributes,{'tableName':_0x3ae8('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/whatsappQueue/whatsappQueue.rpc.js b/server/api/whatsappQueue/whatsappQueue.rpc.js index f203b1f..5bc9cdc 100644 --- a/server/api/whatsappQueue/whatsappQueue.rpc.js +++ b/server/api/whatsappQueue/whatsappQueue.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x52f8=['redis','localhost','socket.io-emitter','./whatsappQueue.socket','register','request','then','WhatsappQueue,\x20%s,\x20%s','request\x20sent','debug','WhatsappQueue,\x20%s,\x20%s,\x20%s','stringify','error','message','result','WhatsappQueue','findAll','options','where','attributes','limit','include','map','model','info','GetWhatsappQueue','catch','ShowWhatsappQueue','find','raw','moment','ioredis','../../mysqldb','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise','client','http','defaults'];(function(_0x2bd878,_0x3c672a){var _0x174db4=function(_0x516f7b){while(--_0x516f7b){_0x2bd878['push'](_0x2bd878['shift']());}};_0x174db4(++_0x3c672a);}(_0x52f8,0x114));var _0x852f=function(_0x3ea68b,_0xcf50d7){_0x3ea68b=_0x3ea68b-0x0;var _0x3bdcb4=_0x52f8[_0x3ea68b];return _0x3bdcb4;};'use strict';var _=require('lodash');var util=require('util');var moment=require(_0x852f('0x0'));var BPromise=require('bluebird');var rs=require('randomstring');var fs=require('fs');var Redis=require(_0x852f('0x1'));var db=require(_0x852f('0x2'))['db'];var utils=require(_0x852f('0x3'));var logger=require(_0x852f('0x4'))(_0x852f('0x5'));var config=require(_0x852f('0x6'));var jayson=require(_0x852f('0x7'));var client=jayson[_0x852f('0x8')][_0x852f('0x9')]({'port':0x232a});config['redis']=_[_0x852f('0xa')](config[_0x852f('0xb')],{'host':_0x852f('0xc'),'port':0x18eb});var socket=require(_0x852f('0xd'))(new Redis(config[_0x852f('0xb')]));require(_0x852f('0xe'))[_0x852f('0xf')](socket);function respondWithRpcPromise(_0x5bcae1,_0x104cb4,_0x2e88de){return new BPromise(function(_0x5b44e5,_0x24f0cd){return client[_0x852f('0x10')](_0x5bcae1,_0x2e88de)[_0x852f('0x11')](function(_0x35a66d){logger['info'](_0x852f('0x12'),_0x104cb4,_0x852f('0x13'));logger[_0x852f('0x14')](_0x852f('0x15'),_0x104cb4,_0x852f('0x13'),JSON[_0x852f('0x16')](_0x35a66d));if(_0x35a66d[_0x852f('0x17')]){if(_0x35a66d[_0x852f('0x17')]['code']===0x1f4){logger[_0x852f('0x17')](_0x852f('0x12'),_0x104cb4,_0x35a66d[_0x852f('0x17')][_0x852f('0x18')]);return _0x24f0cd(_0x35a66d['error'][_0x852f('0x18')]);}logger[_0x852f('0x17')](_0x852f('0x12'),_0x104cb4,_0x35a66d['error'][_0x852f('0x18')]);return _0x5b44e5(_0x35a66d[_0x852f('0x17')][_0x852f('0x18')]);}else{logger['info'](_0x852f('0x12'),_0x104cb4,_0x852f('0x13'));_0x5b44e5(_0x35a66d[_0x852f('0x19')][_0x852f('0x18')]);}})['catch'](function(_0xd226e4){logger[_0x852f('0x17')](_0x852f('0x12'),_0x104cb4,_0xd226e4);_0x24f0cd(_0xd226e4);});});}exports['GetWhatsappQueue']=function(_0x117727){var _0x3940ad=this;return new Promise(function(_0x53a014,_0x12bb43){return db[_0x852f('0x1a')][_0x852f('0x1b')]({'raw':_0x117727[_0x852f('0x1c')]?_0x117727[_0x852f('0x1c')]['raw']===undefined?!![]:![]:!![],'where':_0x117727['options']?_0x117727[_0x852f('0x1c')][_0x852f('0x1d')]||null:null,'attributes':_0x117727[_0x852f('0x1c')]?_0x117727[_0x852f('0x1c')][_0x852f('0x1e')]||null:null,'limit':_0x117727[_0x852f('0x1c')]?_0x117727[_0x852f('0x1c')][_0x852f('0x1f')]||null:null,'include':_0x117727['options']?_0x117727[_0x852f('0x1c')][_0x852f('0x20')]?_[_0x852f('0x21')](_0x117727[_0x852f('0x1c')]['include'],function(_0x2c6c1e){return{'model':db[_0x2c6c1e[_0x852f('0x22')]],'as':_0x2c6c1e['as'],'attributes':_0x2c6c1e[_0x852f('0x1e')],'include':_0x2c6c1e['include']?_[_0x852f('0x21')](_0x2c6c1e[_0x852f('0x20')],function(_0x164f36){return{'model':db[_0x164f36['model']],'as':_0x164f36['as'],'attributes':_0x164f36[_0x852f('0x1e')],'include':_0x164f36[_0x852f('0x20')]?_[_0x852f('0x21')](_0x164f36[_0x852f('0x20')],function(_0x57e5e7){return{'model':db[_0x57e5e7[_0x852f('0x22')]],'as':_0x57e5e7['as'],'attributes':_0x57e5e7[_0x852f('0x1e')]};}):[]};}):[]};}):[]:[]})[_0x852f('0x11')](function(_0x343632){logger[_0x852f('0x23')](_0x852f('0x24'),_0x117727);logger['debug'](_0x852f('0x24'),_0x117727,JSON[_0x852f('0x16')](_0x343632));_0x53a014(_0x343632);})[_0x852f('0x25')](function(_0x419861){logger[_0x852f('0x17')](_0x852f('0x24'),_0x419861[_0x852f('0x18')],_0x117727);_0x12bb43(_0x3940ad[_0x852f('0x17')](0x1f4,_0x419861[_0x852f('0x18')]));});});};exports[_0x852f('0x26')]=function(_0x24ee3b){var _0x158566=this;return new Promise(function(_0xfd7f54,_0x275d2f){return db[_0x852f('0x1a')][_0x852f('0x27')]({'raw':_0x24ee3b[_0x852f('0x1c')]?_0x24ee3b[_0x852f('0x1c')][_0x852f('0x28')]===undefined?!![]:![]:!![],'where':_0x24ee3b[_0x852f('0x1c')]?_0x24ee3b[_0x852f('0x1c')]['where']||null:null,'attributes':_0x24ee3b['options']?_0x24ee3b[_0x852f('0x1c')][_0x852f('0x1e')]||null:null,'include':_0x24ee3b[_0x852f('0x1c')]?_0x24ee3b['options']['include']?_[_0x852f('0x21')](_0x24ee3b['options']['include'],function(_0x3df60f){return{'model':db[_0x3df60f[_0x852f('0x22')]],'as':_0x3df60f['as'],'attributes':_0x3df60f[_0x852f('0x1e')],'include':_0x3df60f[_0x852f('0x20')]?_[_0x852f('0x21')](_0x3df60f[_0x852f('0x20')],function(_0x392085){return{'model':db[_0x392085[_0x852f('0x22')]],'as':_0x392085['as'],'attributes':_0x392085[_0x852f('0x1e')],'include':_0x392085[_0x852f('0x20')]?_[_0x852f('0x21')](_0x392085[_0x852f('0x20')],function(_0x24dca2){return{'model':db[_0x24dca2[_0x852f('0x22')]],'as':_0x24dca2['as'],'attributes':_0x24dca2[_0x852f('0x1e')]};}):[]};}):[]};}):[]:[]})['then'](function(_0x59a6cc){logger[_0x852f('0x23')](_0x852f('0x26'),_0x24ee3b);logger[_0x852f('0x14')](_0x852f('0x26'),_0x24ee3b,JSON[_0x852f('0x16')](_0x59a6cc));_0xfd7f54(_0x59a6cc);})[_0x852f('0x25')](function(_0x5c2788){logger[_0x852f('0x17')](_0x852f('0x26'),_0x5c2788[_0x852f('0x18')],_0x24ee3b);_0x275d2f(_0x158566[_0x852f('0x17')](0x1f4,_0x5c2788[_0x852f('0x18')]));});});}; \ No newline at end of file +var _0xdc9d=['result','catch','GetWhatsappQueue','findAll','options','where','attributes','limit','map','include','model','info','stringify','ShowWhatsappQueue','find','util','ioredis','../../config/utils','../../config/logger','../../config/environment','jayson/promise','http','redis','defaults','localhost','./whatsappQueue.socket','request','then','request\x20sent','debug','error','code','message','WhatsappQueue,\x20%s,\x20%s'];(function(_0x5d3323,_0x4c4b8e){var _0x41a9d7=function(_0x1374b7){while(--_0x1374b7){_0x5d3323['push'](_0x5d3323['shift']());}};_0x41a9d7(++_0x4c4b8e);}(_0xdc9d,0x1eb));var _0xddc9=function(_0x4d9085,_0x33d959){_0x4d9085=_0x4d9085-0x0;var _0x31e8d4=_0xdc9d[_0x4d9085];return _0x31e8d4;};'use strict';var _=require('lodash');var util=require(_0xddc9('0x0'));var moment=require('moment');var BPromise=require('bluebird');var rs=require('randomstring');var fs=require('fs');var Redis=require(_0xddc9('0x1'));var db=require('../../mysqldb')['db'];var utils=require(_0xddc9('0x2'));var logger=require(_0xddc9('0x3'))('rpc');var config=require(_0xddc9('0x4'));var jayson=require(_0xddc9('0x5'));var client=jayson['client'][_0xddc9('0x6')]({'port':0x232a});config[_0xddc9('0x7')]=_[_0xddc9('0x8')](config[_0xddc9('0x7')],{'host':_0xddc9('0x9'),'port':0x18eb});var socket=require('socket.io-emitter')(new Redis(config['redis']));require(_0xddc9('0xa'))['register'](socket);function respondWithRpcPromise(_0x56bf45,_0x387bf4,_0x221f83){return new BPromise(function(_0x35ad4c,_0x3d5e2a){return client[_0xddc9('0xb')](_0x56bf45,_0x221f83)[_0xddc9('0xc')](function(_0x4b17ad){logger['info']('WhatsappQueue,\x20%s,\x20%s',_0x387bf4,_0xddc9('0xd'));logger[_0xddc9('0xe')]('WhatsappQueue,\x20%s,\x20%s,\x20%s',_0x387bf4,_0xddc9('0xd'),JSON['stringify'](_0x4b17ad));if(_0x4b17ad[_0xddc9('0xf')]){if(_0x4b17ad[_0xddc9('0xf')][_0xddc9('0x10')]===0x1f4){logger[_0xddc9('0xf')]('WhatsappQueue,\x20%s,\x20%s',_0x387bf4,_0x4b17ad['error']['message']);return _0x3d5e2a(_0x4b17ad[_0xddc9('0xf')]['message']);}logger[_0xddc9('0xf')]('WhatsappQueue,\x20%s,\x20%s',_0x387bf4,_0x4b17ad[_0xddc9('0xf')][_0xddc9('0x11')]);return _0x35ad4c(_0x4b17ad[_0xddc9('0xf')][_0xddc9('0x11')]);}else{logger['info'](_0xddc9('0x12'),_0x387bf4,_0xddc9('0xd'));_0x35ad4c(_0x4b17ad[_0xddc9('0x13')][_0xddc9('0x11')]);}})[_0xddc9('0x14')](function(_0x3d442d){logger[_0xddc9('0xf')](_0xddc9('0x12'),_0x387bf4,_0x3d442d);_0x3d5e2a(_0x3d442d);});});}exports[_0xddc9('0x15')]=function(_0x38fc5c){var _0xacc56d=this;return new Promise(function(_0x11c69a,_0x266e65){return db['WhatsappQueue'][_0xddc9('0x16')]({'raw':_0x38fc5c[_0xddc9('0x17')]?_0x38fc5c[_0xddc9('0x17')]['raw']===undefined?!![]:![]:!![],'where':_0x38fc5c['options']?_0x38fc5c[_0xddc9('0x17')][_0xddc9('0x18')]||null:null,'attributes':_0x38fc5c[_0xddc9('0x17')]?_0x38fc5c[_0xddc9('0x17')][_0xddc9('0x19')]||null:null,'limit':_0x38fc5c['options']?_0x38fc5c[_0xddc9('0x17')][_0xddc9('0x1a')]||null:null,'include':_0x38fc5c['options']?_0x38fc5c[_0xddc9('0x17')]['include']?_[_0xddc9('0x1b')](_0x38fc5c[_0xddc9('0x17')][_0xddc9('0x1c')],function(_0x4a646b){return{'model':db[_0x4a646b[_0xddc9('0x1d')]],'as':_0x4a646b['as'],'attributes':_0x4a646b[_0xddc9('0x19')],'include':_0x4a646b[_0xddc9('0x1c')]?_[_0xddc9('0x1b')](_0x4a646b[_0xddc9('0x1c')],function(_0x134db1){return{'model':db[_0x134db1[_0xddc9('0x1d')]],'as':_0x134db1['as'],'attributes':_0x134db1[_0xddc9('0x19')],'include':_0x134db1[_0xddc9('0x1c')]?_[_0xddc9('0x1b')](_0x134db1[_0xddc9('0x1c')],function(_0x35e574){return{'model':db[_0x35e574[_0xddc9('0x1d')]],'as':_0x35e574['as'],'attributes':_0x35e574[_0xddc9('0x19')]};}):[]};}):[]};}):[]:[]})[_0xddc9('0xc')](function(_0x4f3b19){logger[_0xddc9('0x1e')](_0xddc9('0x15'),_0x38fc5c);logger[_0xddc9('0xe')](_0xddc9('0x15'),_0x38fc5c,JSON[_0xddc9('0x1f')](_0x4f3b19));_0x11c69a(_0x4f3b19);})[_0xddc9('0x14')](function(_0x4038f1){logger[_0xddc9('0xf')](_0xddc9('0x15'),_0x4038f1[_0xddc9('0x11')],_0x38fc5c);_0x266e65(_0xacc56d[_0xddc9('0xf')](0x1f4,_0x4038f1[_0xddc9('0x11')]));});});};exports[_0xddc9('0x20')]=function(_0x5bef3e){var _0x1cfaa7=this;return new Promise(function(_0x2f0fc3,_0x3028ae){return db['WhatsappQueue'][_0xddc9('0x21')]({'raw':_0x5bef3e[_0xddc9('0x17')]?_0x5bef3e[_0xddc9('0x17')]['raw']===undefined?!![]:![]:!![],'where':_0x5bef3e[_0xddc9('0x17')]?_0x5bef3e['options'][_0xddc9('0x18')]||null:null,'attributes':_0x5bef3e[_0xddc9('0x17')]?_0x5bef3e[_0xddc9('0x17')][_0xddc9('0x19')]||null:null,'include':_0x5bef3e[_0xddc9('0x17')]?_0x5bef3e[_0xddc9('0x17')]['include']?_['map'](_0x5bef3e[_0xddc9('0x17')][_0xddc9('0x1c')],function(_0x240d3e){return{'model':db[_0x240d3e[_0xddc9('0x1d')]],'as':_0x240d3e['as'],'attributes':_0x240d3e['attributes'],'include':_0x240d3e[_0xddc9('0x1c')]?_[_0xddc9('0x1b')](_0x240d3e[_0xddc9('0x1c')],function(_0x4f82de){return{'model':db[_0x4f82de[_0xddc9('0x1d')]],'as':_0x4f82de['as'],'attributes':_0x4f82de[_0xddc9('0x19')],'include':_0x4f82de['include']?_['map'](_0x4f82de[_0xddc9('0x1c')],function(_0xde515e){return{'model':db[_0xde515e[_0xddc9('0x1d')]],'as':_0xde515e['as'],'attributes':_0xde515e[_0xddc9('0x19')]};}):[]};}):[]};}):[]:[]})['then'](function(_0x4b25ec){logger[_0xddc9('0x1e')](_0xddc9('0x20'),_0x5bef3e);logger[_0xddc9('0xe')](_0xddc9('0x20'),_0x5bef3e,JSON[_0xddc9('0x1f')](_0x4b25ec));_0x2f0fc3(_0x4b25ec);})['catch'](function(_0x360e37){logger['error'](_0xddc9('0x20'),_0x360e37[_0xddc9('0x11')],_0x5bef3e);_0x3028ae(_0x1cfaa7[_0xddc9('0xf')](0x1f4,_0x360e37[_0xddc9('0x11')]));});});}; \ No newline at end of file diff --git a/server/api/whatsappQueue/whatsappQueue.socket.js b/server/api/whatsappQueue/whatsappQueue.socket.js index 5f380c7..21a27fe 100644 --- a/server/api/whatsappQueue/whatsappQueue.socket.js +++ b/server/api/whatsappQueue/whatsappQueue.socket.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x3f43=['./whatsappQueue.events','save','remove','emit','register','whatsappQueue:'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x3f43,0x1e6));var _0x33f4=function(_0x468c49,_0x484943){_0x468c49=_0x468c49-0x0;var _0x45c953=_0x3f43[_0x468c49];return _0x45c953;};'use strict';var WhatsappQueueEvents=require(_0x33f4('0x0'));var events=[_0x33f4('0x1'),_0x33f4('0x2'),'update'];function createListener(_0x19dbb8,_0x13a6c2){return function(_0x4f2a7b){_0x13a6c2[_0x33f4('0x3')](_0x19dbb8,_0x4f2a7b);};}function removeListener(_0x4a8b2a,_0x306f59){return function(){WhatsappQueueEvents['removeListener'](_0x4a8b2a,_0x306f59);};}exports[_0x33f4('0x4')]=function(_0x5e1105){for(var _0x1a6ae9=0x0,_0xf019e8=events['length'];_0x1a6ae9<_0xf019e8;_0x1a6ae9++){var _0x271002=events[_0x1a6ae9];var _0x10cabc=createListener(_0x33f4('0x5')+_0x271002,_0x5e1105);WhatsappQueueEvents['on'](_0x271002,_0x10cabc);}}; \ No newline at end of file +var _0xe148=['whatsappQueue:','./whatsappQueue.events','save','remove','update','emit','removeListener','length'];(function(_0x300e9b,_0x472de1){var _0x4aefde=function(_0x5d0a37){while(--_0x5d0a37){_0x300e9b['push'](_0x300e9b['shift']());}};_0x4aefde(++_0x472de1);}(_0xe148,0x109));var _0x8e14=function(_0x2b55b5,_0x78505e){_0x2b55b5=_0x2b55b5-0x0;var _0x103d28=_0xe148[_0x2b55b5];return _0x103d28;};'use strict';var WhatsappQueueEvents=require(_0x8e14('0x0'));var events=[_0x8e14('0x1'),_0x8e14('0x2'),_0x8e14('0x3')];function createListener(_0xa8f03,_0x47eef0){return function(_0x58bd1d){_0x47eef0[_0x8e14('0x4')](_0xa8f03,_0x58bd1d);};}function removeListener(_0x22e11f,_0x1264d8){return function(){WhatsappQueueEvents[_0x8e14('0x5')](_0x22e11f,_0x1264d8);};}exports['register']=function(_0x4e0dd8){for(var _0x47ad6b=0x0,_0xd4a812=events[_0x8e14('0x6')];_0x47ad6b<_0xd4a812;_0x47ad6b++){var _0x4f595d=events[_0x47ad6b];var _0x4bb4f0=createListener(_0x8e14('0x7')+_0x4f595d,_0x4e0dd8);WhatsappQueueEvents['on'](_0x4f595d,_0x4bb4f0);}}; \ No newline at end of file diff --git a/server/api/whatsappQueueReport/index.js b/server/api/whatsappQueueReport/index.js index 004c0e5..b56df22 100644 --- a/server/api/whatsappQueueReport/index.js +++ b/server/api/whatsappQueueReport/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x4328=['delete','destroy','exports','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','./whatsappQueueReport.controller','get','isAuthenticated','index','/describe','describe','/:id','show','post','update'];(function(_0xa4f2e2,_0x279c18){var _0x1df808=function(_0x38e554){while(--_0x38e554){_0xa4f2e2['push'](_0xa4f2e2['shift']());}};_0x1df808(++_0x279c18);}(_0x4328,0x7b));var _0x8432=function(_0xa0c0b8,_0x3d8091){_0xa0c0b8=_0xa0c0b8-0x0;var _0x435a5a=_0x4328[_0xa0c0b8];return _0x435a5a;};'use strict';var multer=require('multer');var util=require(_0x8432('0x0'));var path=require(_0x8432('0x1'));var timeout=require(_0x8432('0x2'));var express=require(_0x8432('0x3'));var router=express[_0x8432('0x4')]();var auth=require(_0x8432('0x5'));var interaction=require(_0x8432('0x6'));var config=require('../../config/environment');var controller=require(_0x8432('0x7'));router[_0x8432('0x8')]('/',auth[_0x8432('0x9')](),controller[_0x8432('0xa')]);router[_0x8432('0x8')](_0x8432('0xb'),auth[_0x8432('0x9')](),controller[_0x8432('0xc')]);router[_0x8432('0x8')](_0x8432('0xd'),auth['isAuthenticated'](),controller[_0x8432('0xe')]);router[_0x8432('0xf')]('/',auth[_0x8432('0x9')](),controller['create']);router['put']('/:id',auth[_0x8432('0x9')](),controller[_0x8432('0x10')]);router[_0x8432('0x11')](_0x8432('0xd'),auth['isAuthenticated'](),controller[_0x8432('0x12')]);module[_0x8432('0x13')]=router; \ No newline at end of file +var _0x4d49=['exports','util','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./whatsappQueueReport.controller','get','isAuthenticated','/describe','describe','/:id','show','post','create','put','delete','destroy'];(function(_0xcda84,_0xd6d226){var _0x8f481f=function(_0x3971df){while(--_0x3971df){_0xcda84['push'](_0xcda84['shift']());}};_0x8f481f(++_0xd6d226);}(_0x4d49,0x141));var _0x94d4=function(_0x3947c9,_0x4d6c97){_0x3947c9=_0x3947c9-0x0;var _0x2e7871=_0x4d49[_0x3947c9];return _0x2e7871;};'use strict';var multer=require('multer');var util=require(_0x94d4('0x0'));var path=require('path');var timeout=require(_0x94d4('0x1'));var express=require(_0x94d4('0x2'));var router=express[_0x94d4('0x3')]();var auth=require(_0x94d4('0x4'));var interaction=require(_0x94d4('0x5'));var config=require(_0x94d4('0x6'));var controller=require(_0x94d4('0x7'));router[_0x94d4('0x8')]('/',auth[_0x94d4('0x9')](),controller['index']);router[_0x94d4('0x8')](_0x94d4('0xa'),auth[_0x94d4('0x9')](),controller[_0x94d4('0xb')]);router[_0x94d4('0x8')](_0x94d4('0xc'),auth['isAuthenticated'](),controller[_0x94d4('0xd')]);router[_0x94d4('0xe')]('/',auth['isAuthenticated'](),controller[_0x94d4('0xf')]);router[_0x94d4('0x10')](_0x94d4('0xc'),auth[_0x94d4('0x9')](),controller['update']);router[_0x94d4('0x11')](_0x94d4('0xc'),auth[_0x94d4('0x9')](),controller[_0x94d4('0x12')]);module[_0x94d4('0x13')]=router; \ No newline at end of file diff --git a/server/api/whatsappQueueReport/whatsappQueueReport.attributes.js b/server/api/whatsappQueueReport/whatsappQueueReport.attributes.js index 7a2fb26..7a93416 100644 --- a/server/api/whatsappQueueReport/whatsappQueueReport.attributes.js +++ b/server/api/whatsappQueueReport/whatsappQueueReport.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xedd9=['exports','STRING','DATE'];(function(_0xff5905,_0x402df8){var _0x3a3c00=function(_0x30fbc8){while(--_0x30fbc8){_0xff5905['push'](_0xff5905['shift']());}};_0x3a3c00(++_0x402df8);}(_0xedd9,0xfc));var _0x9edd=function(_0x20f63e,_0x4de6ac){_0x20f63e=_0x20f63e-0x0;var _0x324884=_0xedd9[_0x20f63e];return _0x324884;};'use strict';var Sequelize=require('sequelize');module[_0x9edd('0x0')]={'uniqueid':{'type':Sequelize[_0x9edd('0x1')],'allowNull':![]},'from':{'type':Sequelize[_0x9edd('0x1')]},'joinAt':{'type':Sequelize[_0x9edd('0x2')]},'leaveAt':{'type':Sequelize[_0x9edd('0x2')]},'acceptAt':{'type':Sequelize[_0x9edd('0x2')]},'exitAt':{'type':Sequelize[_0x9edd('0x2')]},'reason':{'type':Sequelize[_0x9edd('0x1')]}}; \ No newline at end of file +var _0x7217=['sequelize','STRING','DATE'];(function(_0x3007fa,_0x4c95c2){var _0x3e3487=function(_0xcb3f47){while(--_0xcb3f47){_0x3007fa['push'](_0x3007fa['shift']());}};_0x3e3487(++_0x4c95c2);}(_0x7217,0x19e));var _0x7721=function(_0xbb091,_0x3fe7ee){_0xbb091=_0xbb091-0x0;var _0x467a04=_0x7217[_0xbb091];return _0x467a04;};'use strict';var Sequelize=require(_0x7721('0x0'));module['exports']={'uniqueid':{'type':Sequelize[_0x7721('0x1')],'allowNull':![]},'from':{'type':Sequelize[_0x7721('0x1')]},'joinAt':{'type':Sequelize[_0x7721('0x2')]},'leaveAt':{'type':Sequelize[_0x7721('0x2')]},'acceptAt':{'type':Sequelize[_0x7721('0x2')]},'exitAt':{'type':Sequelize['DATE']},'reason':{'type':Sequelize['STRING']}}; \ No newline at end of file diff --git a/server/api/whatsappQueueReport/whatsappQueueReport.controller.js b/server/api/whatsappQueueReport/whatsappQueueReport.controller.js index ca54fa1..d6de863 100644 --- a/server/api/whatsappQueueReport/whatsappQueueReport.controller.js +++ b/server/api/whatsappQueueReport/whatsappQueueReport.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xf55d=['Content-Range','apply','reject','save','then','destroy','end','sendStatus','name','index','map','WhatsappQueueReport','rawAttributes','type','key','model','query','keys','filters','intersection','attributes','fields','length','nolimit','order','sort','pick','filter','where','merge','options','includeAll','include','findAll','rows','catch','show','params','find','create','body','update','describe','html-pdf','eml-format','rimraf','fast-json-patch','request-promise','bluebird','mustache','util','path','lodash','crypto','jsforce','desk.js','to-csv','querystring','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/environment','../../mysqldb','status','json','count','offset','limit','set'];(function(_0x414236,_0x3569e2){var _0x2cb132=function(_0x1e0a94){while(--_0x1e0a94){_0x414236['push'](_0x414236['shift']());}};_0x2cb132(++_0x3569e2);}(_0xf55d,0x14b));var _0xdf55=function(_0x132c4a,_0x2fed13){_0x132c4a=_0x132c4a-0x0;var _0x39faa0=_0xf55d[_0x132c4a];return _0x39faa0;};'use strict';var pdf=require(_0xdf55('0x0'));var emlformat=require(_0xdf55('0x1'));var rimraf=require(_0xdf55('0x2'));var zipdir=require('zip-dir');var jsonpatch=require(_0xdf55('0x3'));var rp=require(_0xdf55('0x4'));var moment=require('moment');var BPromise=require(_0xdf55('0x5'));var Mustache=require(_0xdf55('0x6'));var util=require(_0xdf55('0x7'));var path=require(_0xdf55('0x8'));var sox=require('sox');var csv=require('to-csv');var ejs=require('ejs');var fs=require('fs');var _=require(_0xdf55('0x9'));var squel=require('squel');var crypto=require(_0xdf55('0xa'));var jsforce=require(_0xdf55('0xb'));var deskjs=require(_0xdf55('0xc'));var toCsv=require(_0xdf55('0xd'));var querystring=require(_0xdf55('0xe'));var Papa=require('papaparse');var Redis=require('ioredis');var authService=require(_0xdf55('0xf'));var qs=require(_0xdf55('0x10'));var as=require(_0xdf55('0x11'));var hardwareService=require(_0xdf55('0x12'));var logger=require(_0xdf55('0x13'))(_0xdf55('0x14'));var utils=require('../../config/utils');var config=require(_0xdf55('0x15'));var db=require(_0xdf55('0x16'))['db'];function respondWithStatusCode(_0x21839b,_0x55c67b){_0x55c67b=_0x55c67b||0xcc;return function(_0x811c87){if(_0x811c87){return _0x21839b['sendStatus'](_0x55c67b);}return _0x21839b[_0xdf55('0x17')](_0x55c67b)['end']();};}function respondWithResult(_0x358bb2,_0x2723e7){_0x2723e7=_0x2723e7||0xc8;return function(_0x513c04){if(_0x513c04){return _0x358bb2[_0xdf55('0x17')](_0x2723e7)[_0xdf55('0x18')](_0x513c04);}};}function respondWithFilteredResult(_0x48eec2,_0x3d4e58){return function(_0x1371e9){if(_0x1371e9){var _0x3fca0c=_0x1371e9[_0xdf55('0x19')],_0x1bcc0a=_0x3d4e58['offset'],_0x1925fe=_0x3d4e58[_0xdf55('0x1a')]+_0x3d4e58[_0xdf55('0x1b')],_0x5270f1;if(_0x1925fe>=_0x3fca0c){_0x1925fe=_0x3fca0c;_0x5270f1=0xc8;}else{_0x5270f1=0xce;}_0x48eec2[_0xdf55('0x17')](_0x5270f1);return _0x48eec2[_0xdf55('0x1c')](_0xdf55('0x1d'),_0x1bcc0a+'-'+_0x1925fe+'/'+_0x3fca0c)[_0xdf55('0x18')](_0x1371e9);}return null;};}function patchUpdates(_0x3737a7){return function(_0x276994){try{jsonpatch[_0xdf55('0x1e')](_0x276994,_0x3737a7,!![]);}catch(_0x1bfd5e){return BPromise[_0xdf55('0x1f')](_0x1bfd5e);}return _0x276994[_0xdf55('0x20')]();};}function saveUpdates(_0x463534,_0x20ac51){return function(_0x45f453){if(_0x45f453){return _0x45f453['update'](_0x463534)[_0xdf55('0x21')](function(_0x5007b4){return _0x5007b4;});}return null;};}function removeEntity(_0x599001,_0x42a82d){return function(_0x5e6cc9){if(_0x5e6cc9){return _0x5e6cc9[_0xdf55('0x22')]()[_0xdf55('0x21')](function(){_0x599001[_0xdf55('0x17')](0xcc)[_0xdf55('0x23')]();});}};}function handleEntityNotFound(_0x31e43f,_0x3359b1){return function(_0x833d43){if(!_0x833d43){_0x31e43f[_0xdf55('0x24')](0x194);}return _0x833d43;};}function handleError(_0xec988e,_0x4018bf){_0x4018bf=_0x4018bf||0x1f4;return function(_0x58c1c9){logger['error'](_0x58c1c9['stack']);if(_0x58c1c9[_0xdf55('0x25')]){delete _0x58c1c9[_0xdf55('0x25')];}_0xec988e['status'](_0x4018bf)['send'](_0x58c1c9);};}exports[_0xdf55('0x26')]=function(_0x90b46d,_0x35ef79){var _0xd65ac2={},_0x256f89={},_0xe62f18={'count':0x0,'rows':[]};var _0x40f5ff=_[_0xdf55('0x27')](db[_0xdf55('0x28')][_0xdf55('0x29')],function(_0x3cda30){return{'name':_0x3cda30['fieldName'],'type':_0x3cda30[_0xdf55('0x2a')][_0xdf55('0x2b')]};});_0x256f89[_0xdf55('0x2c')]=_[_0xdf55('0x27')](_0x40f5ff,_0xdf55('0x25'));_0x256f89[_0xdf55('0x2d')]=_[_0xdf55('0x2e')](_0x90b46d[_0xdf55('0x2d')]);_0x256f89[_0xdf55('0x2f')]=_[_0xdf55('0x30')](_0x256f89['model'],_0x256f89[_0xdf55('0x2d')]);_0xd65ac2[_0xdf55('0x31')]=_[_0xdf55('0x30')](_0x256f89['model'],qs[_0xdf55('0x32')](_0x90b46d['query'][_0xdf55('0x32')]));_0xd65ac2[_0xdf55('0x31')]=_0xd65ac2[_0xdf55('0x31')][_0xdf55('0x33')]?_0xd65ac2[_0xdf55('0x31')]:_0x256f89[_0xdf55('0x2c')];if(!_0x90b46d[_0xdf55('0x2d')]['hasOwnProperty'](_0xdf55('0x34'))){_0xd65ac2[_0xdf55('0x1b')]=qs[_0xdf55('0x1b')](_0x90b46d['query'][_0xdf55('0x1b')]);_0xd65ac2[_0xdf55('0x1a')]=qs[_0xdf55('0x1a')](_0x90b46d[_0xdf55('0x2d')][_0xdf55('0x1a')]);}_0xd65ac2[_0xdf55('0x35')]=qs[_0xdf55('0x36')](_0x90b46d[_0xdf55('0x2d')][_0xdf55('0x36')]);_0xd65ac2['where']=qs[_0xdf55('0x2f')](_[_0xdf55('0x37')](_0x90b46d[_0xdf55('0x2d')],_0x256f89[_0xdf55('0x2f')]),_0x40f5ff);if(_0x90b46d[_0xdf55('0x2d')][_0xdf55('0x38')]){_0xd65ac2[_0xdf55('0x39')]=_[_0xdf55('0x3a')](_0xd65ac2[_0xdf55('0x39')],{'$or':_[_0xdf55('0x27')](_0x40f5ff,function(_0x329a9d){if(_0x329a9d[_0xdf55('0x2a')]!=='VIRTUAL'){var _0x3271b5={};_0x3271b5[_0x329a9d[_0xdf55('0x25')]]={'$like':'%'+_0x90b46d[_0xdf55('0x2d')][_0xdf55('0x38')]+'%'};return _0x3271b5;}})});}_0xd65ac2=_['merge']({},_0xd65ac2,_0x90b46d[_0xdf55('0x3b')]);var _0x16afd7={'where':_0xd65ac2[_0xdf55('0x39')]};return db[_0xdf55('0x28')][_0xdf55('0x19')](_0x16afd7)['then'](function(_0x4d61c6){_0xe62f18[_0xdf55('0x19')]=_0x4d61c6;if(_0x90b46d['query'][_0xdf55('0x3c')]){_0xd65ac2[_0xdf55('0x3d')]=[{'all':!![]}];}return db[_0xdf55('0x28')][_0xdf55('0x3e')](_0xd65ac2);})[_0xdf55('0x21')](function(_0x27f9c6){_0xe62f18[_0xdf55('0x3f')]=_0x27f9c6;return _0xe62f18;})[_0xdf55('0x21')](respondWithFilteredResult(_0x35ef79,_0xd65ac2))[_0xdf55('0x40')](handleError(_0x35ef79,null));};exports[_0xdf55('0x41')]=function(_0x953fe3,_0x3a88b0){var _0x361f54={'raw':!![],'where':{'id':_0x953fe3[_0xdf55('0x42')]['id']}},_0x58d99d={};_0x58d99d['model']=_[_0xdf55('0x2e')](db[_0xdf55('0x28')]['rawAttributes']);_0x58d99d[_0xdf55('0x2d')]=_['keys'](_0x953fe3[_0xdf55('0x2d')]);_0x58d99d['filters']=_[_0xdf55('0x30')](_0x58d99d[_0xdf55('0x2c')],_0x58d99d[_0xdf55('0x2d')]);_0x361f54[_0xdf55('0x31')]=_[_0xdf55('0x30')](_0x58d99d['model'],qs[_0xdf55('0x32')](_0x953fe3[_0xdf55('0x2d')]['fields']));_0x361f54[_0xdf55('0x31')]=_0x361f54[_0xdf55('0x31')][_0xdf55('0x33')]?_0x361f54[_0xdf55('0x31')]:_0x58d99d[_0xdf55('0x2c')];if(_0x953fe3[_0xdf55('0x2d')]['includeAll']){_0x361f54[_0xdf55('0x3d')]=[{'all':!![]}];}_0x361f54=_[_0xdf55('0x3a')]({},_0x361f54,_0x953fe3['options']);return db[_0xdf55('0x28')][_0xdf55('0x43')](_0x361f54)[_0xdf55('0x21')](handleEntityNotFound(_0x3a88b0,null))[_0xdf55('0x21')](respondWithResult(_0x3a88b0,null))['catch'](handleError(_0x3a88b0,null));};exports[_0xdf55('0x44')]=function(_0x37711f,_0x49307c){return db[_0xdf55('0x28')][_0xdf55('0x44')](_0x37711f[_0xdf55('0x45')],{})['then'](respondWithResult(_0x49307c,0xc9))[_0xdf55('0x40')](handleError(_0x49307c,null));};exports[_0xdf55('0x46')]=function(_0x5624da,_0x26f12f){if(_0x5624da[_0xdf55('0x45')]['id']){delete _0x5624da[_0xdf55('0x45')]['id'];}return db[_0xdf55('0x28')][_0xdf55('0x43')]({'where':{'id':_0x5624da[_0xdf55('0x42')]['id']}})[_0xdf55('0x21')](handleEntityNotFound(_0x26f12f,null))[_0xdf55('0x21')](saveUpdates(_0x5624da[_0xdf55('0x45')],null))[_0xdf55('0x21')](respondWithResult(_0x26f12f,null))['catch'](handleError(_0x26f12f,null));};exports['destroy']=function(_0x14b507,_0x578e53){return db['WhatsappQueueReport'][_0xdf55('0x43')]({'where':{'id':_0x14b507['params']['id']}})[_0xdf55('0x21')](handleEntityNotFound(_0x578e53,null))[_0xdf55('0x21')](removeEntity(_0x578e53,null))['catch'](handleError(_0x578e53,null));};exports[_0xdf55('0x47')]=function(_0x29a19a,_0x3f65d8){return db[_0xdf55('0x28')][_0xdf55('0x47')]()[_0xdf55('0x21')](respondWithResult(_0x3f65d8,null))[_0xdf55('0x40')](handleError(_0x3f65d8,null));}; \ No newline at end of file +var _0x73a8=['catch','create','body','update','find','describe','eml-format','zip-dir','fast-json-patch','request-promise','moment','bluebird','mustache','path','sox','to-csv','ejs','lodash','squel','querystring','papaparse','../../components/auth/service','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','../../config/utils','../../config/environment','../../mysqldb','sendStatus','end','status','json','count','offset','limit','set','Content-Range','apply','reject','then','destroy','error','stack','name','map','WhatsappQueueReport','rawAttributes','fieldName','type','key','model','query','filters','intersection','attributes','fields','length','hasOwnProperty','nolimit','order','sort','where','pick','filter','merge','VIRTUAL','options','includeAll','include','findAll','rows','params','keys'];(function(_0x38c7e3,_0x34b4bc){var _0x34b66f=function(_0x46c913){while(--_0x46c913){_0x38c7e3['push'](_0x38c7e3['shift']());}};_0x34b66f(++_0x34b4bc);}(_0x73a8,0x12a));var _0x873a=function(_0x3ef03d,_0x230f2c){_0x3ef03d=_0x3ef03d-0x0;var _0x1f87e1=_0x73a8[_0x3ef03d];return _0x1f87e1;};'use strict';var pdf=require('html-pdf');var emlformat=require(_0x873a('0x0'));var rimraf=require('rimraf');var zipdir=require(_0x873a('0x1'));var jsonpatch=require(_0x873a('0x2'));var rp=require(_0x873a('0x3'));var moment=require(_0x873a('0x4'));var BPromise=require(_0x873a('0x5'));var Mustache=require(_0x873a('0x6'));var util=require('util');var path=require(_0x873a('0x7'));var sox=require(_0x873a('0x8'));var csv=require(_0x873a('0x9'));var ejs=require(_0x873a('0xa'));var fs=require('fs');var _=require(_0x873a('0xb'));var squel=require(_0x873a('0xc'));var crypto=require('crypto');var jsforce=require('jsforce');var deskjs=require('desk.js');var toCsv=require(_0x873a('0x9'));var querystring=require(_0x873a('0xd'));var Papa=require(_0x873a('0xe'));var Redis=require('ioredis');var authService=require(_0x873a('0xf'));var qs=require('../../components/parsers/qs');var as=require(_0x873a('0x10'));var hardwareService=require(_0x873a('0x11'));var logger=require(_0x873a('0x12'))('api');var utils=require(_0x873a('0x13'));var config=require(_0x873a('0x14'));var db=require(_0x873a('0x15'))['db'];function respondWithStatusCode(_0x3d51b6,_0x42a67e){_0x42a67e=_0x42a67e||0xcc;return function(_0x2d504c){if(_0x2d504c){return _0x3d51b6[_0x873a('0x16')](_0x42a67e);}return _0x3d51b6['status'](_0x42a67e)[_0x873a('0x17')]();};}function respondWithResult(_0x9771fa,_0x3ac85e){_0x3ac85e=_0x3ac85e||0xc8;return function(_0x13b866){if(_0x13b866){return _0x9771fa[_0x873a('0x18')](_0x3ac85e)[_0x873a('0x19')](_0x13b866);}};}function respondWithFilteredResult(_0x2879ac,_0x4fc297){return function(_0x32e02b){if(_0x32e02b){var _0x3aab6e=_0x32e02b[_0x873a('0x1a')],_0x2c8981=_0x4fc297['offset'],_0x2561f3=_0x4fc297[_0x873a('0x1b')]+_0x4fc297[_0x873a('0x1c')],_0x2a2183;if(_0x2561f3>=_0x3aab6e){_0x2561f3=_0x3aab6e;_0x2a2183=0xc8;}else{_0x2a2183=0xce;}_0x2879ac['status'](_0x2a2183);return _0x2879ac[_0x873a('0x1d')](_0x873a('0x1e'),_0x2c8981+'-'+_0x2561f3+'/'+_0x3aab6e)[_0x873a('0x19')](_0x32e02b);}return null;};}function patchUpdates(_0x4c53b0){return function(_0x2c8619){try{jsonpatch[_0x873a('0x1f')](_0x2c8619,_0x4c53b0,!![]);}catch(_0x2d7112){return BPromise[_0x873a('0x20')](_0x2d7112);}return _0x2c8619['save']();};}function saveUpdates(_0xdff93c,_0x41f76c){return function(_0x11cf75){if(_0x11cf75){return _0x11cf75['update'](_0xdff93c)[_0x873a('0x21')](function(_0x54e909){return _0x54e909;});}return null;};}function removeEntity(_0x1bee13,_0x27deea){return function(_0xe50b5c){if(_0xe50b5c){return _0xe50b5c[_0x873a('0x22')]()[_0x873a('0x21')](function(){_0x1bee13['status'](0xcc)[_0x873a('0x17')]();});}};}function handleEntityNotFound(_0x45e44e,_0x262995){return function(_0x5a214b){if(!_0x5a214b){_0x45e44e['sendStatus'](0x194);}return _0x5a214b;};}function handleError(_0x539ef5,_0xdd52c7){_0xdd52c7=_0xdd52c7||0x1f4;return function(_0x36218a){logger[_0x873a('0x23')](_0x36218a[_0x873a('0x24')]);if(_0x36218a[_0x873a('0x25')]){delete _0x36218a[_0x873a('0x25')];}_0x539ef5[_0x873a('0x18')](_0xdd52c7)['send'](_0x36218a);};}exports['index']=function(_0x49078a,_0x3dc90c){var _0xc13466={},_0x337df4={},_0x19bd5b={'count':0x0,'rows':[]};var _0x1f989a=_[_0x873a('0x26')](db[_0x873a('0x27')][_0x873a('0x28')],function(_0x4b5fc1){return{'name':_0x4b5fc1[_0x873a('0x29')],'type':_0x4b5fc1[_0x873a('0x2a')][_0x873a('0x2b')]};});_0x337df4[_0x873a('0x2c')]=_['map'](_0x1f989a,'name');_0x337df4[_0x873a('0x2d')]=_['keys'](_0x49078a[_0x873a('0x2d')]);_0x337df4[_0x873a('0x2e')]=_[_0x873a('0x2f')](_0x337df4[_0x873a('0x2c')],_0x337df4[_0x873a('0x2d')]);_0xc13466[_0x873a('0x30')]=_['intersection'](_0x337df4[_0x873a('0x2c')],qs[_0x873a('0x31')](_0x49078a['query']['fields']));_0xc13466['attributes']=_0xc13466[_0x873a('0x30')][_0x873a('0x32')]?_0xc13466[_0x873a('0x30')]:_0x337df4[_0x873a('0x2c')];if(!_0x49078a[_0x873a('0x2d')][_0x873a('0x33')](_0x873a('0x34'))){_0xc13466[_0x873a('0x1c')]=qs['limit'](_0x49078a[_0x873a('0x2d')]['limit']);_0xc13466[_0x873a('0x1b')]=qs['offset'](_0x49078a[_0x873a('0x2d')][_0x873a('0x1b')]);}_0xc13466[_0x873a('0x35')]=qs[_0x873a('0x36')](_0x49078a[_0x873a('0x2d')][_0x873a('0x36')]);_0xc13466[_0x873a('0x37')]=qs[_0x873a('0x2e')](_[_0x873a('0x38')](_0x49078a[_0x873a('0x2d')],_0x337df4[_0x873a('0x2e')]),_0x1f989a);if(_0x49078a[_0x873a('0x2d')][_0x873a('0x39')]){_0xc13466[_0x873a('0x37')]=_[_0x873a('0x3a')](_0xc13466[_0x873a('0x37')],{'$or':_[_0x873a('0x26')](_0x1f989a,function(_0x38ac8f){if(_0x38ac8f['type']!==_0x873a('0x3b')){var _0x4d1676={};_0x4d1676[_0x38ac8f[_0x873a('0x25')]]={'$like':'%'+_0x49078a[_0x873a('0x2d')][_0x873a('0x39')]+'%'};return _0x4d1676;}})});}_0xc13466=_[_0x873a('0x3a')]({},_0xc13466,_0x49078a[_0x873a('0x3c')]);var _0x1a82fe={'where':_0xc13466[_0x873a('0x37')]};return db['WhatsappQueueReport']['count'](_0x1a82fe)['then'](function(_0x13c74b){_0x19bd5b[_0x873a('0x1a')]=_0x13c74b;if(_0x49078a[_0x873a('0x2d')][_0x873a('0x3d')]){_0xc13466[_0x873a('0x3e')]=[{'all':!![]}];}return db[_0x873a('0x27')][_0x873a('0x3f')](_0xc13466);})[_0x873a('0x21')](function(_0x13cc35){_0x19bd5b[_0x873a('0x40')]=_0x13cc35;return _0x19bd5b;})[_0x873a('0x21')](respondWithFilteredResult(_0x3dc90c,_0xc13466))['catch'](handleError(_0x3dc90c,null));};exports['show']=function(_0x9ae941,_0x4febe){var _0x3770da={'raw':!![],'where':{'id':_0x9ae941[_0x873a('0x41')]['id']}},_0x462bda={};_0x462bda[_0x873a('0x2c')]=_[_0x873a('0x42')](db['WhatsappQueueReport'][_0x873a('0x28')]);_0x462bda[_0x873a('0x2d')]=_['keys'](_0x9ae941[_0x873a('0x2d')]);_0x462bda[_0x873a('0x2e')]=_[_0x873a('0x2f')](_0x462bda[_0x873a('0x2c')],_0x462bda[_0x873a('0x2d')]);_0x3770da[_0x873a('0x30')]=_[_0x873a('0x2f')](_0x462bda[_0x873a('0x2c')],qs[_0x873a('0x31')](_0x9ae941[_0x873a('0x2d')][_0x873a('0x31')]));_0x3770da[_0x873a('0x30')]=_0x3770da[_0x873a('0x30')]['length']?_0x3770da[_0x873a('0x30')]:_0x462bda[_0x873a('0x2c')];if(_0x9ae941[_0x873a('0x2d')][_0x873a('0x3d')]){_0x3770da[_0x873a('0x3e')]=[{'all':!![]}];}_0x3770da=_[_0x873a('0x3a')]({},_0x3770da,_0x9ae941['options']);return db[_0x873a('0x27')]['find'](_0x3770da)[_0x873a('0x21')](handleEntityNotFound(_0x4febe,null))[_0x873a('0x21')](respondWithResult(_0x4febe,null))[_0x873a('0x43')](handleError(_0x4febe,null));};exports[_0x873a('0x44')]=function(_0x3db77c,_0xdec0c9){return db[_0x873a('0x27')]['create'](_0x3db77c[_0x873a('0x45')],{})[_0x873a('0x21')](respondWithResult(_0xdec0c9,0xc9))[_0x873a('0x43')](handleError(_0xdec0c9,null));};exports[_0x873a('0x46')]=function(_0x404900,_0x1fa4cd){if(_0x404900[_0x873a('0x45')]['id']){delete _0x404900['body']['id'];}return db['WhatsappQueueReport'][_0x873a('0x47')]({'where':{'id':_0x404900[_0x873a('0x41')]['id']}})[_0x873a('0x21')](handleEntityNotFound(_0x1fa4cd,null))['then'](saveUpdates(_0x404900[_0x873a('0x45')],null))[_0x873a('0x21')](respondWithResult(_0x1fa4cd,null))['catch'](handleError(_0x1fa4cd,null));};exports[_0x873a('0x22')]=function(_0x4b0d4b,_0x450842){return db['WhatsappQueueReport'][_0x873a('0x47')]({'where':{'id':_0x4b0d4b[_0x873a('0x41')]['id']}})[_0x873a('0x21')](handleEntityNotFound(_0x450842,null))[_0x873a('0x21')](removeEntity(_0x450842,null))[_0x873a('0x43')](handleError(_0x450842,null));};exports[_0x873a('0x48')]=function(_0x2854c4,_0x32a4d4){return db[_0x873a('0x27')]['describe']()['then'](respondWithResult(_0x32a4d4,null))[_0x873a('0x43')](handleError(_0x32a4d4,null));}; \ No newline at end of file diff --git a/server/api/whatsappQueueReport/whatsappQueueReport.model.js b/server/api/whatsappQueueReport/whatsappQueueReport.model.js index 84ac2bd..409ecb7 100644 --- a/server/api/whatsappQueueReport/whatsappQueueReport.model.js +++ b/server/api/whatsappQueueReport/whatsappQueueReport.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x74a7=['util','../../config/logger','moment','bluebird','rimraf','../../config/environment','./whatsappQueueReport.attributes','define','WhatsappQueueReport','report_whatsapp_queue','uniqueid','lodash'];(function(_0x37e06f,_0x35fc1a){var _0x524015=function(_0x4fe2e0){while(--_0x4fe2e0){_0x37e06f['push'](_0x37e06f['shift']());}};_0x524015(++_0x35fc1a);}(_0x74a7,0x1eb));var _0x774a=function(_0x17f08b,_0x196a38){_0x17f08b=_0x17f08b-0x0;var _0x4a46a9=_0x74a7[_0x17f08b];return _0x4a46a9;};'use strict';var _=require(_0x774a('0x0'));var util=require(_0x774a('0x1'));var logger=require(_0x774a('0x2'))('api');var moment=require(_0x774a('0x3'));var BPromise=require(_0x774a('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x774a('0x5'));var config=require(_0x774a('0x6'));var attributes=require(_0x774a('0x7'));module['exports']=function(_0x5ce8b5,_0x57a1e2){return _0x5ce8b5[_0x774a('0x8')](_0x774a('0x9'),attributes,{'tableName':_0x774a('0xa'),'paranoid':![],'indexes':[{'name':_0x774a('0xb'),'fields':[_0x774a('0xb')]}],'timestamps':!![]});}; \ No newline at end of file +var _0xad01=['define','WhatsappQueueReport','report_whatsapp_queue','uniqueid','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./whatsappQueueReport.attributes','exports'];(function(_0x12747a,_0xade9e){var _0x72a2b5=function(_0x2d61d1){while(--_0x2d61d1){_0x12747a['push'](_0x12747a['shift']());}};_0x72a2b5(++_0xade9e);}(_0xad01,0x1d4));var _0x1ad0=function(_0x2e2441,_0x50ad4f){_0x2e2441=_0x2e2441-0x0;var _0x50032e=_0xad01[_0x2e2441];return _0x50032e;};'use strict';var _=require(_0x1ad0('0x0'));var util=require(_0x1ad0('0x1'));var logger=require(_0x1ad0('0x2'))(_0x1ad0('0x3'));var moment=require(_0x1ad0('0x4'));var BPromise=require(_0x1ad0('0x5'));var rp=require(_0x1ad0('0x6'));var fs=require('fs');var path=require(_0x1ad0('0x7'));var rimraf=require(_0x1ad0('0x8'));var config=require(_0x1ad0('0x9'));var attributes=require(_0x1ad0('0xa'));module[_0x1ad0('0xb')]=function(_0x132409,_0xf8911){return _0x132409[_0x1ad0('0xc')](_0x1ad0('0xd'),attributes,{'tableName':_0x1ad0('0xe'),'paranoid':![],'indexes':[{'name':'uniqueid','fields':[_0x1ad0('0xf')]}],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/whatsappQueueReport/whatsappQueueReport.rpc.js b/server/api/whatsappQueueReport/whatsappQueueReport.rpc.js index c15b593..06ed9ad 100644 --- a/server/api/whatsappQueueReport/whatsappQueueReport.rpc.js +++ b/server/api/whatsappQueueReport/whatsappQueueReport.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xbb10=['rpc','../../config/environment','jayson/promise','http','request','then','WhatsappQueueReport,\x20%s,\x20%s','request\x20sent','debug','WhatsappQueueReport,\x20%s,\x20%s,\x20%s','stringify','error','code','message','info','result','CreateWhatsappQueueReport','WhatsappQueueReport','create','body','options','raw','catch','UpdateWhatsappQueueReport','update','where','attributes','limit','lodash','util','moment','bluebird','randomstring','ioredis','../../mysqldb','../../config/logger'];(function(_0x3f719d,_0x3b6b86){var _0x2cc2e1=function(_0x3612b4){while(--_0x3612b4){_0x3f719d['push'](_0x3f719d['shift']());}};_0x2cc2e1(++_0x3b6b86);}(_0xbb10,0x13c));var _0x0bb1=function(_0x21590d,_0x13e456){_0x21590d=_0x21590d-0x0;var _0x373942=_0xbb10[_0x21590d];return _0x373942;};'use strict';var _=require(_0x0bb1('0x0'));var util=require(_0x0bb1('0x1'));var moment=require(_0x0bb1('0x2'));var BPromise=require(_0x0bb1('0x3'));var rs=require(_0x0bb1('0x4'));var fs=require('fs');var Redis=require(_0x0bb1('0x5'));var db=require(_0x0bb1('0x6'))['db'];var utils=require('../../config/utils');var logger=require(_0x0bb1('0x7'))(_0x0bb1('0x8'));var config=require(_0x0bb1('0x9'));var jayson=require(_0x0bb1('0xa'));var client=jayson['client'][_0x0bb1('0xb')]({'port':0x232a});function respondWithRpcPromise(_0x5c3599,_0x2cfcb8,_0xfc795){return new BPromise(function(_0x4cf2a2,_0x19524a){return client[_0x0bb1('0xc')](_0x5c3599,_0xfc795)[_0x0bb1('0xd')](function(_0x45fb2e){logger['info'](_0x0bb1('0xe'),_0x2cfcb8,_0x0bb1('0xf'));logger[_0x0bb1('0x10')](_0x0bb1('0x11'),_0x2cfcb8,_0x0bb1('0xf'),JSON[_0x0bb1('0x12')](_0x45fb2e));if(_0x45fb2e[_0x0bb1('0x13')]){if(_0x45fb2e[_0x0bb1('0x13')][_0x0bb1('0x14')]===0x1f4){logger[_0x0bb1('0x13')](_0x0bb1('0xe'),_0x2cfcb8,_0x45fb2e[_0x0bb1('0x13')][_0x0bb1('0x15')]);return _0x19524a(_0x45fb2e[_0x0bb1('0x13')][_0x0bb1('0x15')]);}logger['error'](_0x0bb1('0xe'),_0x2cfcb8,_0x45fb2e[_0x0bb1('0x13')]['message']);return _0x4cf2a2(_0x45fb2e[_0x0bb1('0x13')][_0x0bb1('0x15')]);}else{logger[_0x0bb1('0x16')]('WhatsappQueueReport,\x20%s,\x20%s',_0x2cfcb8,_0x0bb1('0xf'));_0x4cf2a2(_0x45fb2e[_0x0bb1('0x17')]['message']);}})['catch'](function(_0x38e8c1){logger[_0x0bb1('0x13')](_0x0bb1('0xe'),_0x2cfcb8,_0x38e8c1);_0x19524a(_0x38e8c1);});});}exports[_0x0bb1('0x18')]=function(_0x3c132c){var _0x5af40d=this;return new Promise(function(_0x4ac6ab,_0x21bf0a){return db[_0x0bb1('0x19')][_0x0bb1('0x1a')](_0x3c132c[_0x0bb1('0x1b')],{'raw':_0x3c132c[_0x0bb1('0x1c')]?_0x3c132c['options'][_0x0bb1('0x1d')]===undefined?!![]:![]:!![]})[_0x0bb1('0xd')](function(_0x1b9809){logger[_0x0bb1('0x16')](_0x0bb1('0x18'),_0x3c132c);logger[_0x0bb1('0x10')](_0x0bb1('0x18'),_0x3c132c,JSON[_0x0bb1('0x12')](_0x1b9809));_0x4ac6ab(_0x1b9809);})[_0x0bb1('0x1e')](function(_0x2f824e){logger[_0x0bb1('0x13')](_0x0bb1('0x18'),_0x2f824e[_0x0bb1('0x15')],_0x3c132c);_0x21bf0a(_0x5af40d[_0x0bb1('0x13')](0x1f4,_0x2f824e[_0x0bb1('0x15')]));});});};exports[_0x0bb1('0x1f')]=function(_0x4fba58){var _0xfb9cc1=this;return new Promise(function(_0x3dc84e,_0x393f43){return db[_0x0bb1('0x19')][_0x0bb1('0x20')](_0x4fba58[_0x0bb1('0x1b')],{'raw':_0x4fba58[_0x0bb1('0x1c')]?_0x4fba58[_0x0bb1('0x1c')][_0x0bb1('0x1d')]===undefined?!![]:![]:!![],'individualHooks':!![],'where':_0x4fba58[_0x0bb1('0x1c')]?_0x4fba58[_0x0bb1('0x1c')][_0x0bb1('0x21')]||null:null,'attributes':_0x4fba58[_0x0bb1('0x1c')]?_0x4fba58['options'][_0x0bb1('0x22')]||null:null,'limit':_0x4fba58[_0x0bb1('0x1c')]?_0x4fba58[_0x0bb1('0x1c')][_0x0bb1('0x23')]||null:null})[_0x0bb1('0xd')](function(_0x385f90){logger[_0x0bb1('0x16')](_0x0bb1('0x1f'),_0x4fba58);logger[_0x0bb1('0x10')]('UpdateWhatsappQueueReport',_0x4fba58,JSON[_0x0bb1('0x12')](_0x385f90));_0x3dc84e(_0x385f90);})[_0x0bb1('0x1e')](function(_0x5c5d33){logger[_0x0bb1('0x13')](_0x0bb1('0x1f'),_0x5c5d33[_0x0bb1('0x15')],_0x4fba58);_0x393f43(_0xfb9cc1[_0x0bb1('0x13')](0x1f4,_0x5c5d33[_0x0bb1('0x15')]));});});}; \ No newline at end of file +var _0xf2ab=['then','info','request\x20sent','debug','stringify','error','code','WhatsappQueueReport,\x20%s,\x20%s','message','result','WhatsappQueueReport','create','options','raw','CreateWhatsappQueueReport','catch','UpdateWhatsappQueueReport','update','where','limit','lodash','util','moment','randomstring','../../mysqldb','../../config/logger','jayson/promise','client','http','request'];(function(_0x4cd75d,_0x523cdb){var _0x3a2c28=function(_0x2d239c){while(--_0x2d239c){_0x4cd75d['push'](_0x4cd75d['shift']());}};_0x3a2c28(++_0x523cdb);}(_0xf2ab,0x140));var _0xbf2a=function(_0x514e2a,_0x250bda){_0x514e2a=_0x514e2a-0x0;var _0x58f356=_0xf2ab[_0x514e2a];return _0x58f356;};'use strict';var _=require(_0xbf2a('0x0'));var util=require(_0xbf2a('0x1'));var moment=require(_0xbf2a('0x2'));var BPromise=require('bluebird');var rs=require(_0xbf2a('0x3'));var fs=require('fs');var Redis=require('ioredis');var db=require(_0xbf2a('0x4'))['db'];var utils=require('../../config/utils');var logger=require(_0xbf2a('0x5'))('rpc');var config=require('../../config/environment');var jayson=require(_0xbf2a('0x6'));var client=jayson[_0xbf2a('0x7')][_0xbf2a('0x8')]({'port':0x232a});function respondWithRpcPromise(_0x10293a,_0x9fafa9,_0x5647a9){return new BPromise(function(_0xc28d43,_0x19c18c){return client[_0xbf2a('0x9')](_0x10293a,_0x5647a9)[_0xbf2a('0xa')](function(_0x7f9e00){logger[_0xbf2a('0xb')]('WhatsappQueueReport,\x20%s,\x20%s',_0x9fafa9,_0xbf2a('0xc'));logger[_0xbf2a('0xd')]('WhatsappQueueReport,\x20%s,\x20%s,\x20%s',_0x9fafa9,'request\x20sent',JSON[_0xbf2a('0xe')](_0x7f9e00));if(_0x7f9e00[_0xbf2a('0xf')]){if(_0x7f9e00['error'][_0xbf2a('0x10')]===0x1f4){logger[_0xbf2a('0xf')](_0xbf2a('0x11'),_0x9fafa9,_0x7f9e00[_0xbf2a('0xf')][_0xbf2a('0x12')]);return _0x19c18c(_0x7f9e00[_0xbf2a('0xf')]['message']);}logger['error']('WhatsappQueueReport,\x20%s,\x20%s',_0x9fafa9,_0x7f9e00[_0xbf2a('0xf')][_0xbf2a('0x12')]);return _0xc28d43(_0x7f9e00[_0xbf2a('0xf')]['message']);}else{logger[_0xbf2a('0xb')](_0xbf2a('0x11'),_0x9fafa9,_0xbf2a('0xc'));_0xc28d43(_0x7f9e00[_0xbf2a('0x13')]['message']);}})['catch'](function(_0x15a1f4){logger['error'](_0xbf2a('0x11'),_0x9fafa9,_0x15a1f4);_0x19c18c(_0x15a1f4);});});}exports['CreateWhatsappQueueReport']=function(_0x579f9b){var _0x439169=this;return new Promise(function(_0x376169,_0x5a3ef5){return db[_0xbf2a('0x14')][_0xbf2a('0x15')](_0x579f9b['body'],{'raw':_0x579f9b['options']?_0x579f9b[_0xbf2a('0x16')][_0xbf2a('0x17')]===undefined?!![]:![]:!![]})[_0xbf2a('0xa')](function(_0x33f65){logger[_0xbf2a('0xb')](_0xbf2a('0x18'),_0x579f9b);logger['debug'](_0xbf2a('0x18'),_0x579f9b,JSON[_0xbf2a('0xe')](_0x33f65));_0x376169(_0x33f65);})[_0xbf2a('0x19')](function(_0x247e26){logger[_0xbf2a('0xf')]('CreateWhatsappQueueReport',_0x247e26[_0xbf2a('0x12')],_0x579f9b);_0x5a3ef5(_0x439169[_0xbf2a('0xf')](0x1f4,_0x247e26['message']));});});};exports[_0xbf2a('0x1a')]=function(_0x4de984){var _0x218586=this;return new Promise(function(_0x126a03,_0x4e0594){return db[_0xbf2a('0x14')][_0xbf2a('0x1b')](_0x4de984['body'],{'raw':_0x4de984[_0xbf2a('0x16')]?_0x4de984[_0xbf2a('0x16')][_0xbf2a('0x17')]===undefined?!![]:![]:!![],'individualHooks':!![],'where':_0x4de984[_0xbf2a('0x16')]?_0x4de984['options'][_0xbf2a('0x1c')]||null:null,'attributes':_0x4de984[_0xbf2a('0x16')]?_0x4de984[_0xbf2a('0x16')]['attributes']||null:null,'limit':_0x4de984['options']?_0x4de984[_0xbf2a('0x16')][_0xbf2a('0x1d')]||null:null})['then'](function(_0x330d7e){logger[_0xbf2a('0xb')](_0xbf2a('0x1a'),_0x4de984);logger[_0xbf2a('0xd')](_0xbf2a('0x1a'),_0x4de984,JSON[_0xbf2a('0xe')](_0x330d7e));_0x126a03(_0x330d7e);})[_0xbf2a('0x19')](function(_0x567aa5){logger[_0xbf2a('0xf')](_0xbf2a('0x1a'),_0x567aa5[_0xbf2a('0x12')],_0x4de984);_0x4e0594(_0x218586[_0xbf2a('0xf')](0x1f4,_0x567aa5[_0xbf2a('0x12')]));});});}; \ No newline at end of file diff --git a/server/api/whatsappTransferReport/index.js b/server/api/whatsappTransferReport/index.js index 5b17940..c733ca9 100644 --- a/server/api/whatsappTransferReport/index.js +++ b/server/api/whatsappTransferReport/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xe67c=['/:id','show','post','put','update','delete','exports','multer','util','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','/describe','isAuthenticated','describe'];(function(_0x3d2e4b,_0x1f6653){var _0x509e78=function(_0x307037){while(--_0x307037){_0x3d2e4b['push'](_0x3d2e4b['shift']());}};_0x509e78(++_0x1f6653);}(_0xe67c,0x1a9));var _0xce67=function(_0x2497a3,_0x84fbb5){_0x2497a3=_0x2497a3-0x0;var _0x40e371=_0xe67c[_0x2497a3];return _0x40e371;};'use strict';var multer=require(_0xce67('0x0'));var util=require(_0xce67('0x1'));var path=require('path');var timeout=require(_0xce67('0x2'));var express=require(_0xce67('0x3'));var router=express[_0xce67('0x4')]();var auth=require(_0xce67('0x5'));var interaction=require(_0xce67('0x6'));var config=require(_0xce67('0x7'));var controller=require('./whatsappTransferReport.controller');router[_0xce67('0x8')]('/',auth['isAuthenticated'](),controller['index']);router[_0xce67('0x8')](_0xce67('0x9'),auth[_0xce67('0xa')](),controller[_0xce67('0xb')]);router[_0xce67('0x8')](_0xce67('0xc'),auth[_0xce67('0xa')](),controller[_0xce67('0xd')]);router[_0xce67('0xe')]('/',auth['isAuthenticated'](),controller['create']);router[_0xce67('0xf')]('/:id',auth[_0xce67('0xa')](),controller[_0xce67('0x10')]);router[_0xce67('0x11')](_0xce67('0xc'),auth['isAuthenticated'](),controller['destroy']);module[_0xce67('0x12')]=router; \ No newline at end of file +var _0x3c5a=['destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/describe','show','post','create','put','delete','/:id'];(function(_0x59d117,_0x35dba4){var _0xaf5aa9=function(_0x181472){while(--_0x181472){_0x59d117['push'](_0x59d117['shift']());}};_0xaf5aa9(++_0x35dba4);}(_0x3c5a,0x1e5));var _0xa3c5=function(_0x102ff9,_0x907658){_0x102ff9=_0x102ff9-0x0;var _0x24fa97=_0x3c5a[_0x102ff9];return _0x24fa97;};'use strict';var multer=require(_0xa3c5('0x0'));var util=require(_0xa3c5('0x1'));var path=require(_0xa3c5('0x2'));var timeout=require(_0xa3c5('0x3'));var express=require(_0xa3c5('0x4'));var router=express[_0xa3c5('0x5')]();var auth=require(_0xa3c5('0x6'));var interaction=require(_0xa3c5('0x7'));var config=require(_0xa3c5('0x8'));var controller=require('./whatsappTransferReport.controller');router[_0xa3c5('0x9')]('/',auth[_0xa3c5('0xa')](),controller[_0xa3c5('0xb')]);router[_0xa3c5('0x9')](_0xa3c5('0xc'),auth['isAuthenticated'](),controller['describe']);router['get']('/:id',auth[_0xa3c5('0xa')](),controller[_0xa3c5('0xd')]);router[_0xa3c5('0xe')]('/',auth['isAuthenticated'](),controller[_0xa3c5('0xf')]);router[_0xa3c5('0x10')]('/:id',auth[_0xa3c5('0xa')](),controller['update']);router[_0xa3c5('0x11')](_0xa3c5('0x12'),auth[_0xa3c5('0xa')](),controller[_0xa3c5('0x13')]);module[_0xa3c5('0x14')]=router; \ No newline at end of file diff --git a/server/api/whatsappTransferReport/whatsappTransferReport.attributes.js b/server/api/whatsappTransferReport/whatsappTransferReport.attributes.js index 83c133e..7daba7d 100644 --- a/server/api/whatsappTransferReport/whatsappTransferReport.attributes.js +++ b/server/api/whatsappTransferReport/whatsappTransferReport.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xb10b=['ENUM','account','queue','DATE','sequelize','STRING'];(function(_0x1203f,_0x554bbc){var _0x365f0a=function(_0x3531d0){while(--_0x3531d0){_0x1203f['push'](_0x1203f['shift']());}};_0x365f0a(++_0x554bbc);}(_0xb10b,0x12a));var _0xbb10=function(_0x19a562,_0x4b669f){_0x19a562=_0x19a562-0x0;var _0x3bd3f3=_0xb10b[_0x19a562];return _0x3bd3f3;};'use strict';var Sequelize=require(_0xbb10('0x0'));module['exports']={'uniqueid':{'type':Sequelize[_0xbb10('0x1')],'allowNull':![]},'type':{'type':Sequelize[_0xbb10('0x2')](_0xbb10('0x3'),'agent',_0xbb10('0x4')),'allowNull':![]},'transferredAt':{'type':Sequelize[_0xbb10('0x5')]}}; \ No newline at end of file +var _0x0b0e=['DATE','sequelize','STRING','account','agent','queue'];(function(_0x88cd7b,_0x4c884c){var _0x56fcc8=function(_0x513b3d){while(--_0x513b3d){_0x88cd7b['push'](_0x88cd7b['shift']());}};_0x56fcc8(++_0x4c884c);}(_0x0b0e,0x187));var _0xe0b0=function(_0x3a13cf,_0x478c62){_0x3a13cf=_0x3a13cf-0x0;var _0x4817c=_0x0b0e[_0x3a13cf];return _0x4817c;};'use strict';var Sequelize=require(_0xe0b0('0x0'));module['exports']={'uniqueid':{'type':Sequelize[_0xe0b0('0x1')],'allowNull':![]},'type':{'type':Sequelize['ENUM'](_0xe0b0('0x2'),_0xe0b0('0x3'),_0xe0b0('0x4')),'allowNull':![]},'transferredAt':{'type':Sequelize[_0xe0b0('0x5')]}}; \ No newline at end of file diff --git a/server/api/whatsappTransferReport/whatsappTransferReport.controller.js b/server/api/whatsappTransferReport/whatsappTransferReport.controller.js index c5a6e33..e6e9c7b 100644 --- a/server/api/whatsappTransferReport/whatsappTransferReport.controller.js +++ b/server/api/whatsappTransferReport/whatsappTransferReport.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x8d61=['api','../../config/utils','../../config/environment','../../mysqldb','sendStatus','status','json','offset','limit','apply','reject','save','update','then','error','stack','name','send','map','fieldName','key','model','query','keys','filters','intersection','attributes','fields','length','hasOwnProperty','nolimit','order','sort','where','pick','filter','merge','type','VIRTUAL','options','count','WhatsappTransferReport','rows','show','params','rawAttributes','includeAll','include','catch','create','body','destroy','find','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','mustache','util','to-csv','ejs','lodash','squel','crypto','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../config/license/hardware','../../config/logger'];(function(_0x429948,_0x1a6851){var _0x35d5d1=function(_0x574853){while(--_0x574853){_0x429948['push'](_0x429948['shift']());}};_0x35d5d1(++_0x1a6851);}(_0x8d61,0x1a2));var _0x18d6=function(_0x4de877,_0x340170){_0x4de877=_0x4de877-0x0;var _0xb2cfeb=_0x8d61[_0x4de877];return _0xb2cfeb;};'use strict';var pdf=require(_0x18d6('0x0'));var emlformat=require(_0x18d6('0x1'));var rimraf=require(_0x18d6('0x2'));var zipdir=require(_0x18d6('0x3'));var jsonpatch=require(_0x18d6('0x4'));var rp=require('request-promise');var moment=require('moment');var BPromise=require('bluebird');var Mustache=require(_0x18d6('0x5'));var util=require(_0x18d6('0x6'));var path=require('path');var sox=require('sox');var csv=require(_0x18d6('0x7'));var ejs=require(_0x18d6('0x8'));var fs=require('fs');var _=require(_0x18d6('0x9'));var squel=require(_0x18d6('0xa'));var crypto=require(_0x18d6('0xb'));var jsforce=require('jsforce');var deskjs=require(_0x18d6('0xc'));var toCsv=require('to-csv');var querystring=require(_0x18d6('0xd'));var Papa=require(_0x18d6('0xe'));var Redis=require(_0x18d6('0xf'));var authService=require(_0x18d6('0x10'));var qs=require(_0x18d6('0x11'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0x18d6('0x12'));var logger=require(_0x18d6('0x13'))(_0x18d6('0x14'));var utils=require(_0x18d6('0x15'));var config=require(_0x18d6('0x16'));var db=require(_0x18d6('0x17'))['db'];function respondWithStatusCode(_0x2bd89e,_0x49b8f0){_0x49b8f0=_0x49b8f0||0xcc;return function(_0x21cc3a){if(_0x21cc3a){return _0x2bd89e[_0x18d6('0x18')](_0x49b8f0);}return _0x2bd89e[_0x18d6('0x19')](_0x49b8f0)['end']();};}function respondWithResult(_0x143934,_0x5b1246){_0x5b1246=_0x5b1246||0xc8;return function(_0x350b52){if(_0x350b52){return _0x143934[_0x18d6('0x19')](_0x5b1246)[_0x18d6('0x1a')](_0x350b52);}};}function respondWithFilteredResult(_0x40731d,_0x149de0){return function(_0x185164){if(_0x185164){var _0x3d2cec=_0x185164['count'],_0x50d692=_0x149de0[_0x18d6('0x1b')],_0x28bad3=_0x149de0[_0x18d6('0x1b')]+_0x149de0[_0x18d6('0x1c')],_0x4cbdef;if(_0x28bad3>=_0x3d2cec){_0x28bad3=_0x3d2cec;_0x4cbdef=0xc8;}else{_0x4cbdef=0xce;}_0x40731d[_0x18d6('0x19')](_0x4cbdef);return _0x40731d['set']('Content-Range',_0x50d692+'-'+_0x28bad3+'/'+_0x3d2cec)[_0x18d6('0x1a')](_0x185164);}return null;};}function patchUpdates(_0x425d99){return function(_0x52ef26){try{jsonpatch[_0x18d6('0x1d')](_0x52ef26,_0x425d99,!![]);}catch(_0x44a97d){return BPromise[_0x18d6('0x1e')](_0x44a97d);}return _0x52ef26[_0x18d6('0x1f')]();};}function saveUpdates(_0x11cf5a,_0x277f42){return function(_0x38e09b){if(_0x38e09b){return _0x38e09b[_0x18d6('0x20')](_0x11cf5a)[_0x18d6('0x21')](function(_0x1c33f6){return _0x1c33f6;});}return null;};}function removeEntity(_0x144ef5,_0x1267cb){return function(_0x2b6550){if(_0x2b6550){return _0x2b6550['destroy']()['then'](function(){_0x144ef5[_0x18d6('0x19')](0xcc)['end']();});}};}function handleEntityNotFound(_0x12bedd,_0x3ed52b){return function(_0x49a637){if(!_0x49a637){_0x12bedd[_0x18d6('0x18')](0x194);}return _0x49a637;};}function handleError(_0x2ee723,_0x19947e){_0x19947e=_0x19947e||0x1f4;return function(_0x2d46bc){logger[_0x18d6('0x22')](_0x2d46bc[_0x18d6('0x23')]);if(_0x2d46bc[_0x18d6('0x24')]){delete _0x2d46bc[_0x18d6('0x24')];}_0x2ee723[_0x18d6('0x19')](_0x19947e)[_0x18d6('0x25')](_0x2d46bc);};}exports['index']=function(_0x551031,_0xec34f8){var _0x254e53={},_0x448f93={},_0x3a7ea3={'count':0x0,'rows':[]};var _0x2bf24d=_[_0x18d6('0x26')](db['WhatsappTransferReport']['rawAttributes'],function(_0x33a5ff){return{'name':_0x33a5ff[_0x18d6('0x27')],'type':_0x33a5ff['type'][_0x18d6('0x28')]};});_0x448f93[_0x18d6('0x29')]=_[_0x18d6('0x26')](_0x2bf24d,_0x18d6('0x24'));_0x448f93[_0x18d6('0x2a')]=_[_0x18d6('0x2b')](_0x551031[_0x18d6('0x2a')]);_0x448f93[_0x18d6('0x2c')]=_[_0x18d6('0x2d')](_0x448f93[_0x18d6('0x29')],_0x448f93[_0x18d6('0x2a')]);_0x254e53[_0x18d6('0x2e')]=_[_0x18d6('0x2d')](_0x448f93['model'],qs[_0x18d6('0x2f')](_0x551031['query']['fields']));_0x254e53[_0x18d6('0x2e')]=_0x254e53[_0x18d6('0x2e')][_0x18d6('0x30')]?_0x254e53[_0x18d6('0x2e')]:_0x448f93[_0x18d6('0x29')];if(!_0x551031[_0x18d6('0x2a')][_0x18d6('0x31')](_0x18d6('0x32'))){_0x254e53[_0x18d6('0x1c')]=qs[_0x18d6('0x1c')](_0x551031[_0x18d6('0x2a')]['limit']);_0x254e53[_0x18d6('0x1b')]=qs[_0x18d6('0x1b')](_0x551031['query'][_0x18d6('0x1b')]);}_0x254e53[_0x18d6('0x33')]=qs[_0x18d6('0x34')](_0x551031[_0x18d6('0x2a')][_0x18d6('0x34')]);_0x254e53[_0x18d6('0x35')]=qs[_0x18d6('0x2c')](_[_0x18d6('0x36')](_0x551031[_0x18d6('0x2a')],_0x448f93[_0x18d6('0x2c')]),_0x2bf24d);if(_0x551031[_0x18d6('0x2a')][_0x18d6('0x37')]){_0x254e53[_0x18d6('0x35')]=_[_0x18d6('0x38')](_0x254e53[_0x18d6('0x35')],{'$or':_[_0x18d6('0x26')](_0x2bf24d,function(_0x3e1576){if(_0x3e1576[_0x18d6('0x39')]!==_0x18d6('0x3a')){var _0x15e058={};_0x15e058[_0x3e1576[_0x18d6('0x24')]]={'$like':'%'+_0x551031[_0x18d6('0x2a')][_0x18d6('0x37')]+'%'};return _0x15e058;}})});}_0x254e53=_['merge']({},_0x254e53,_0x551031[_0x18d6('0x3b')]);var _0x9967d7={'where':_0x254e53[_0x18d6('0x35')]};return db['WhatsappTransferReport'][_0x18d6('0x3c')](_0x9967d7)['then'](function(_0x9eab98){_0x3a7ea3[_0x18d6('0x3c')]=_0x9eab98;if(_0x551031[_0x18d6('0x2a')]['includeAll']){_0x254e53['include']=[{'all':!![]}];}return db[_0x18d6('0x3d')]['findAll'](_0x254e53);})[_0x18d6('0x21')](function(_0x1a9661){_0x3a7ea3[_0x18d6('0x3e')]=_0x1a9661;return _0x3a7ea3;})[_0x18d6('0x21')](respondWithFilteredResult(_0xec34f8,_0x254e53))['catch'](handleError(_0xec34f8,null));};exports[_0x18d6('0x3f')]=function(_0x42d032,_0x4c4571){var _0x3895a3={'raw':!![],'where':{'id':_0x42d032[_0x18d6('0x40')]['id']}},_0x1cb509={};_0x1cb509[_0x18d6('0x29')]=_[_0x18d6('0x2b')](db[_0x18d6('0x3d')][_0x18d6('0x41')]);_0x1cb509['query']=_['keys'](_0x42d032[_0x18d6('0x2a')]);_0x1cb509[_0x18d6('0x2c')]=_[_0x18d6('0x2d')](_0x1cb509[_0x18d6('0x29')],_0x1cb509[_0x18d6('0x2a')]);_0x3895a3[_0x18d6('0x2e')]=_[_0x18d6('0x2d')](_0x1cb509['model'],qs['fields'](_0x42d032[_0x18d6('0x2a')]['fields']));_0x3895a3['attributes']=_0x3895a3[_0x18d6('0x2e')][_0x18d6('0x30')]?_0x3895a3[_0x18d6('0x2e')]:_0x1cb509[_0x18d6('0x29')];if(_0x42d032['query'][_0x18d6('0x42')]){_0x3895a3[_0x18d6('0x43')]=[{'all':!![]}];}_0x3895a3=_[_0x18d6('0x38')]({},_0x3895a3,_0x42d032[_0x18d6('0x3b')]);return db[_0x18d6('0x3d')]['find'](_0x3895a3)[_0x18d6('0x21')](handleEntityNotFound(_0x4c4571,null))[_0x18d6('0x21')](respondWithResult(_0x4c4571,null))[_0x18d6('0x44')](handleError(_0x4c4571,null));};exports[_0x18d6('0x45')]=function(_0x24411e,_0x5b1f7a){return db[_0x18d6('0x3d')][_0x18d6('0x45')](_0x24411e['body'],{})[_0x18d6('0x21')](respondWithResult(_0x5b1f7a,0xc9))[_0x18d6('0x44')](handleError(_0x5b1f7a,null));};exports[_0x18d6('0x20')]=function(_0x4f15d7,_0x9a98b7){if(_0x4f15d7['body']['id']){delete _0x4f15d7['body']['id'];}return db[_0x18d6('0x3d')]['find']({'where':{'id':_0x4f15d7[_0x18d6('0x40')]['id']}})[_0x18d6('0x21')](handleEntityNotFound(_0x9a98b7,null))[_0x18d6('0x21')](saveUpdates(_0x4f15d7[_0x18d6('0x46')],null))[_0x18d6('0x21')](respondWithResult(_0x9a98b7,null))[_0x18d6('0x44')](handleError(_0x9a98b7,null));};exports[_0x18d6('0x47')]=function(_0x96fd1a,_0x2085e3){return db[_0x18d6('0x3d')][_0x18d6('0x48')]({'where':{'id':_0x96fd1a[_0x18d6('0x40')]['id']}})['then'](handleEntityNotFound(_0x2085e3,null))['then'](removeEntity(_0x2085e3,null))[_0x18d6('0x44')](handleError(_0x2085e3,null));};exports['describe']=function(_0xebd30,_0x1fe9f9){return db['WhatsappTransferReport']['describe']()[_0x18d6('0x21')](respondWithResult(_0x1fe9f9,null))[_0x18d6('0x44')](handleError(_0x1fe9f9,null));}; \ No newline at end of file +var _0x7790=['../../config/license/hardware','../../config/environment','sendStatus','end','status','json','count','apply','reject','save','update','then','destroy','error','stack','name','send','index','WhatsappTransferReport','rawAttributes','fieldName','type','model','map','query','keys','filters','intersection','fields','attributes','length','hasOwnProperty','nolimit','limit','offset','order','sort','filter','where','merge','VIRTUAL','options','includeAll','include','findAll','rows','catch','show','params','find','create','body','describe','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','mustache','sox','to-csv','ejs','lodash','crypto','jsforce','desk.js','querystring','papaparse','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch'];(function(_0x4b2436,_0x452299){var _0x4f5ab2=function(_0x5c6679){while(--_0x5c6679){_0x4b2436['push'](_0x4b2436['shift']());}};_0x4f5ab2(++_0x452299);}(_0x7790,0xc9));var _0x0779=function(_0x18f6a0,_0x434f6f){_0x18f6a0=_0x18f6a0-0x0;var _0x349ccc=_0x7790[_0x18f6a0];return _0x349ccc;};'use strict';var pdf=require(_0x0779('0x0'));var emlformat=require(_0x0779('0x1'));var rimraf=require(_0x0779('0x2'));var zipdir=require(_0x0779('0x3'));var jsonpatch=require(_0x0779('0x4'));var rp=require(_0x0779('0x5'));var moment=require(_0x0779('0x6'));var BPromise=require(_0x0779('0x7'));var Mustache=require(_0x0779('0x8'));var util=require('util');var path=require('path');var sox=require(_0x0779('0x9'));var csv=require(_0x0779('0xa'));var ejs=require(_0x0779('0xb'));var fs=require('fs');var _=require(_0x0779('0xc'));var squel=require('squel');var crypto=require(_0x0779('0xd'));var jsforce=require(_0x0779('0xe'));var deskjs=require(_0x0779('0xf'));var toCsv=require(_0x0779('0xa'));var querystring=require(_0x0779('0x10'));var Papa=require(_0x0779('0x11'));var Redis=require('ioredis');var authService=require(_0x0779('0x12'));var qs=require(_0x0779('0x13'));var as=require(_0x0779('0x14'));var hardwareService=require(_0x0779('0x15'));var logger=require('../../config/logger')('api');var utils=require('../../config/utils');var config=require(_0x0779('0x16'));var db=require('../../mysqldb')['db'];function respondWithStatusCode(_0x130cd9,_0x3eebcc){_0x3eebcc=_0x3eebcc||0xcc;return function(_0x1dc0d2){if(_0x1dc0d2){return _0x130cd9[_0x0779('0x17')](_0x3eebcc);}return _0x130cd9['status'](_0x3eebcc)[_0x0779('0x18')]();};}function respondWithResult(_0x2dce7b,_0x50e8bf){_0x50e8bf=_0x50e8bf||0xc8;return function(_0x40033d){if(_0x40033d){return _0x2dce7b[_0x0779('0x19')](_0x50e8bf)[_0x0779('0x1a')](_0x40033d);}};}function respondWithFilteredResult(_0x2af239,_0x2597f3){return function(_0x380576){if(_0x380576){var _0x1180f3=_0x380576[_0x0779('0x1b')],_0x6c8acf=_0x2597f3['offset'],_0x25b614=_0x2597f3['offset']+_0x2597f3['limit'],_0xfa8d06;if(_0x25b614>=_0x1180f3){_0x25b614=_0x1180f3;_0xfa8d06=0xc8;}else{_0xfa8d06=0xce;}_0x2af239[_0x0779('0x19')](_0xfa8d06);return _0x2af239['set']('Content-Range',_0x6c8acf+'-'+_0x25b614+'/'+_0x1180f3)[_0x0779('0x1a')](_0x380576);}return null;};}function patchUpdates(_0x3ece7c){return function(_0x51ccc0){try{jsonpatch[_0x0779('0x1c')](_0x51ccc0,_0x3ece7c,!![]);}catch(_0x15d2f1){return BPromise[_0x0779('0x1d')](_0x15d2f1);}return _0x51ccc0[_0x0779('0x1e')]();};}function saveUpdates(_0x7de6a7,_0x42e144){return function(_0x37a4e9){if(_0x37a4e9){return _0x37a4e9[_0x0779('0x1f')](_0x7de6a7)[_0x0779('0x20')](function(_0x1c513e){return _0x1c513e;});}return null;};}function removeEntity(_0x184247,_0x500bd7){return function(_0x2271c1){if(_0x2271c1){return _0x2271c1[_0x0779('0x21')]()['then'](function(){_0x184247['status'](0xcc)[_0x0779('0x18')]();});}};}function handleEntityNotFound(_0x3a236a,_0x48d2c8){return function(_0x3d439b){if(!_0x3d439b){_0x3a236a['sendStatus'](0x194);}return _0x3d439b;};}function handleError(_0x40fc8a,_0x24173e){_0x24173e=_0x24173e||0x1f4;return function(_0x4a19c1){logger[_0x0779('0x22')](_0x4a19c1[_0x0779('0x23')]);if(_0x4a19c1[_0x0779('0x24')]){delete _0x4a19c1[_0x0779('0x24')];}_0x40fc8a['status'](_0x24173e)[_0x0779('0x25')](_0x4a19c1);};}exports[_0x0779('0x26')]=function(_0x21c97d,_0x36180a){var _0x48b18d={},_0xc1db9b={},_0x597406={'count':0x0,'rows':[]};var _0x4aa641=_['map'](db[_0x0779('0x27')][_0x0779('0x28')],function(_0x4e16e7){return{'name':_0x4e16e7[_0x0779('0x29')],'type':_0x4e16e7[_0x0779('0x2a')]['key']};});_0xc1db9b[_0x0779('0x2b')]=_[_0x0779('0x2c')](_0x4aa641,'name');_0xc1db9b[_0x0779('0x2d')]=_[_0x0779('0x2e')](_0x21c97d[_0x0779('0x2d')]);_0xc1db9b[_0x0779('0x2f')]=_[_0x0779('0x30')](_0xc1db9b[_0x0779('0x2b')],_0xc1db9b[_0x0779('0x2d')]);_0x48b18d['attributes']=_[_0x0779('0x30')](_0xc1db9b[_0x0779('0x2b')],qs[_0x0779('0x31')](_0x21c97d[_0x0779('0x2d')][_0x0779('0x31')]));_0x48b18d[_0x0779('0x32')]=_0x48b18d[_0x0779('0x32')][_0x0779('0x33')]?_0x48b18d[_0x0779('0x32')]:_0xc1db9b[_0x0779('0x2b')];if(!_0x21c97d[_0x0779('0x2d')][_0x0779('0x34')](_0x0779('0x35'))){_0x48b18d[_0x0779('0x36')]=qs[_0x0779('0x36')](_0x21c97d[_0x0779('0x2d')][_0x0779('0x36')]);_0x48b18d[_0x0779('0x37')]=qs[_0x0779('0x37')](_0x21c97d[_0x0779('0x2d')][_0x0779('0x37')]);}_0x48b18d[_0x0779('0x38')]=qs[_0x0779('0x39')](_0x21c97d[_0x0779('0x2d')][_0x0779('0x39')]);_0x48b18d['where']=qs[_0x0779('0x2f')](_['pick'](_0x21c97d[_0x0779('0x2d')],_0xc1db9b[_0x0779('0x2f')]),_0x4aa641);if(_0x21c97d[_0x0779('0x2d')][_0x0779('0x3a')]){_0x48b18d[_0x0779('0x3b')]=_[_0x0779('0x3c')](_0x48b18d[_0x0779('0x3b')],{'$or':_['map'](_0x4aa641,function(_0x13f52f){if(_0x13f52f['type']!==_0x0779('0x3d')){var _0x409e81={};_0x409e81[_0x13f52f[_0x0779('0x24')]]={'$like':'%'+_0x21c97d[_0x0779('0x2d')][_0x0779('0x3a')]+'%'};return _0x409e81;}})});}_0x48b18d=_[_0x0779('0x3c')]({},_0x48b18d,_0x21c97d[_0x0779('0x3e')]);var _0xc6ed7a={'where':_0x48b18d[_0x0779('0x3b')]};return db['WhatsappTransferReport'][_0x0779('0x1b')](_0xc6ed7a)['then'](function(_0x3ec1bd){_0x597406[_0x0779('0x1b')]=_0x3ec1bd;if(_0x21c97d[_0x0779('0x2d')][_0x0779('0x3f')]){_0x48b18d[_0x0779('0x40')]=[{'all':!![]}];}return db[_0x0779('0x27')][_0x0779('0x41')](_0x48b18d);})[_0x0779('0x20')](function(_0x3d3061){_0x597406[_0x0779('0x42')]=_0x3d3061;return _0x597406;})[_0x0779('0x20')](respondWithFilteredResult(_0x36180a,_0x48b18d))[_0x0779('0x43')](handleError(_0x36180a,null));};exports[_0x0779('0x44')]=function(_0x5d0e6a,_0x598317){var _0x25adf1={'raw':!![],'where':{'id':_0x5d0e6a[_0x0779('0x45')]['id']}},_0x153cd5={};_0x153cd5[_0x0779('0x2b')]=_[_0x0779('0x2e')](db[_0x0779('0x27')]['rawAttributes']);_0x153cd5['query']=_[_0x0779('0x2e')](_0x5d0e6a['query']);_0x153cd5[_0x0779('0x2f')]=_[_0x0779('0x30')](_0x153cd5[_0x0779('0x2b')],_0x153cd5[_0x0779('0x2d')]);_0x25adf1[_0x0779('0x32')]=_[_0x0779('0x30')](_0x153cd5[_0x0779('0x2b')],qs['fields'](_0x5d0e6a[_0x0779('0x2d')]['fields']));_0x25adf1['attributes']=_0x25adf1[_0x0779('0x32')][_0x0779('0x33')]?_0x25adf1[_0x0779('0x32')]:_0x153cd5[_0x0779('0x2b')];if(_0x5d0e6a['query'][_0x0779('0x3f')]){_0x25adf1[_0x0779('0x40')]=[{'all':!![]}];}_0x25adf1=_['merge']({},_0x25adf1,_0x5d0e6a[_0x0779('0x3e')]);return db[_0x0779('0x27')][_0x0779('0x46')](_0x25adf1)[_0x0779('0x20')](handleEntityNotFound(_0x598317,null))[_0x0779('0x20')](respondWithResult(_0x598317,null))[_0x0779('0x43')](handleError(_0x598317,null));};exports[_0x0779('0x47')]=function(_0x36cf66,_0xa6a7f4){return db[_0x0779('0x27')]['create'](_0x36cf66[_0x0779('0x48')],{})[_0x0779('0x20')](respondWithResult(_0xa6a7f4,0xc9))['catch'](handleError(_0xa6a7f4,null));};exports[_0x0779('0x1f')]=function(_0x554fd7,_0x3b632a){if(_0x554fd7[_0x0779('0x48')]['id']){delete _0x554fd7['body']['id'];}return db[_0x0779('0x27')]['find']({'where':{'id':_0x554fd7[_0x0779('0x45')]['id']}})[_0x0779('0x20')](handleEntityNotFound(_0x3b632a,null))[_0x0779('0x20')](saveUpdates(_0x554fd7[_0x0779('0x48')],null))[_0x0779('0x20')](respondWithResult(_0x3b632a,null))['catch'](handleError(_0x3b632a,null));};exports[_0x0779('0x21')]=function(_0xbb8c3a,_0x23d882){return db[_0x0779('0x27')]['find']({'where':{'id':_0xbb8c3a[_0x0779('0x45')]['id']}})[_0x0779('0x20')](handleEntityNotFound(_0x23d882,null))['then'](removeEntity(_0x23d882,null))[_0x0779('0x43')](handleError(_0x23d882,null));};exports[_0x0779('0x49')]=function(_0x446e60,_0x46dbbc){return db['WhatsappTransferReport'][_0x0779('0x49')]()[_0x0779('0x20')](respondWithResult(_0x46dbbc,null))[_0x0779('0x43')](handleError(_0x46dbbc,null));}; \ No newline at end of file diff --git a/server/api/whatsappTransferReport/whatsappTransferReport.model.js b/server/api/whatsappTransferReport/whatsappTransferReport.model.js index 4f59f7c..80da815 100644 --- a/server/api/whatsappTransferReport/whatsappTransferReport.model.js +++ b/server/api/whatsappTransferReport/whatsappTransferReport.model.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x55dd=['rimraf','./whatsappTransferReport.attributes','exports','define','WhatsappTransferReport','report_whatsapp_transfer','uniqueid','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path'];(function(_0x2debcb,_0x3cfc7a){var _0x257cc0=function(_0x184caf){while(--_0x184caf){_0x2debcb['push'](_0x2debcb['shift']());}};_0x257cc0(++_0x3cfc7a);}(_0x55dd,0x124));var _0xd55d=function(_0x57966a,_0x477964){_0x57966a=_0x57966a-0x0;var _0x191765=_0x55dd[_0x57966a];return _0x191765;};'use strict';var _=require(_0xd55d('0x0'));var util=require(_0xd55d('0x1'));var logger=require(_0xd55d('0x2'))(_0xd55d('0x3'));var moment=require(_0xd55d('0x4'));var BPromise=require(_0xd55d('0x5'));var rp=require(_0xd55d('0x6'));var fs=require('fs');var path=require(_0xd55d('0x7'));var rimraf=require(_0xd55d('0x8'));var config=require('../../config/environment');var attributes=require(_0xd55d('0x9'));module[_0xd55d('0xa')]=function(_0x4bb2dd,_0x5a722c){return _0x4bb2dd[_0xd55d('0xb')](_0xd55d('0xc'),attributes,{'tableName':_0xd55d('0xd'),'paranoid':![],'indexes':[{'name':_0xd55d('0xe'),'fields':[_0xd55d('0xe')]}],'timestamps':!![]});}; \ No newline at end of file +var _0x4f8d=['lodash','util','../../config/logger','api','moment','request-promise','./whatsappTransferReport.attributes','define','WhatsappTransferReport','report_whatsapp_transfer','uniqueid'];(function(_0x236399,_0x140bc6){var _0x538609=function(_0x41fc0e){while(--_0x41fc0e){_0x236399['push'](_0x236399['shift']());}};_0x538609(++_0x140bc6);}(_0x4f8d,0x9a));var _0xd4f8=function(_0x1589dd,_0x2b9d22){_0x1589dd=_0x1589dd-0x0;var _0x1bddd1=_0x4f8d[_0x1589dd];return _0x1bddd1;};'use strict';var _=require(_0xd4f8('0x0'));var util=require(_0xd4f8('0x1'));var logger=require(_0xd4f8('0x2'))(_0xd4f8('0x3'));var moment=require(_0xd4f8('0x4'));var BPromise=require('bluebird');var rp=require(_0xd4f8('0x5'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0xd4f8('0x6'));module['exports']=function(_0x1b20b6,_0x247c0f){return _0x1b20b6[_0xd4f8('0x7')](_0xd4f8('0x8'),attributes,{'tableName':_0xd4f8('0x9'),'paranoid':![],'indexes':[{'name':_0xd4f8('0xa'),'fields':[_0xd4f8('0xa')]}],'timestamps':!![]});}; \ No newline at end of file diff --git a/server/api/whatsappTransferReport/whatsappTransferReport.rpc.js b/server/api/whatsappTransferReport/whatsappTransferReport.rpc.js index 94dbe6c..9e9dff4 100644 --- a/server/api/whatsappTransferReport/whatsappTransferReport.rpc.js +++ b/server/api/whatsappTransferReport/whatsappTransferReport.rpc.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xa9e0=['http','info','WhatsappTransferReport,\x20%s,\x20%s','request\x20sent','debug','WhatsappTransferReport,\x20%s,\x20%s,\x20%s','code','error','message','result','catch','lodash','util','moment','ioredis','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise'];(function(_0x3f7e03,_0xd7733f){var _0x4b0a9f=function(_0x3aadfe){while(--_0x3aadfe){_0x3f7e03['push'](_0x3f7e03['shift']());}};_0x4b0a9f(++_0xd7733f);}(_0xa9e0,0x123));var _0x0a9e=function(_0x40ac5e,_0x2de228){_0x40ac5e=_0x40ac5e-0x0;var _0x2839d6=_0xa9e0[_0x40ac5e];return _0x2839d6;};'use strict';var _=require(_0x0a9e('0x0'));var util=require(_0x0a9e('0x1'));var moment=require(_0x0a9e('0x2'));var BPromise=require('bluebird');var rs=require('randomstring');var fs=require('fs');var Redis=require(_0x0a9e('0x3'));var db=require('../../mysqldb')['db'];var utils=require(_0x0a9e('0x4'));var logger=require(_0x0a9e('0x5'))(_0x0a9e('0x6'));var config=require(_0x0a9e('0x7'));var jayson=require(_0x0a9e('0x8'));var client=jayson['client'][_0x0a9e('0x9')]({'port':0x232a});function respondWithRpcPromise(_0x441e3a,_0x2cc193,_0x5f41ea){return new BPromise(function(_0x503809,_0xe42b77){return client['request'](_0x441e3a,_0x5f41ea)['then'](function(_0x39753a){logger[_0x0a9e('0xa')](_0x0a9e('0xb'),_0x2cc193,_0x0a9e('0xc'));logger[_0x0a9e('0xd')](_0x0a9e('0xe'),_0x2cc193,'request\x20sent',JSON['stringify'](_0x39753a));if(_0x39753a['error']){if(_0x39753a['error'][_0x0a9e('0xf')]===0x1f4){logger[_0x0a9e('0x10')](_0x0a9e('0xb'),_0x2cc193,_0x39753a[_0x0a9e('0x10')][_0x0a9e('0x11')]);return _0xe42b77(_0x39753a[_0x0a9e('0x10')]['message']);}logger[_0x0a9e('0x10')](_0x0a9e('0xb'),_0x2cc193,_0x39753a[_0x0a9e('0x10')][_0x0a9e('0x11')]);return _0x503809(_0x39753a[_0x0a9e('0x10')][_0x0a9e('0x11')]);}else{logger['info'](_0x0a9e('0xb'),_0x2cc193,'request\x20sent');_0x503809(_0x39753a[_0x0a9e('0x12')]['message']);}})[_0x0a9e('0x13')](function(_0x12066b){logger['error'](_0x0a9e('0xb'),_0x2cc193,_0x12066b);_0xe42b77(_0x12066b);});});} \ No newline at end of file +var _0xa9e0=['http','info','WhatsappTransferReport,\x20%s,\x20%s','request\x20sent','debug','WhatsappTransferReport,\x20%s,\x20%s,\x20%s','code','error','message','result','catch','lodash','util','moment','ioredis','../../config/utils','../../config/logger','rpc','../../config/environment','jayson/promise'];(function(_0x2e7748,_0x4a692e){var _0x1c3733=function(_0x345e47){while(--_0x345e47){_0x2e7748['push'](_0x2e7748['shift']());}};_0x1c3733(++_0x4a692e);}(_0xa9e0,0x123));var _0x0a9e=function(_0x3a6efd,_0x2a5102){_0x3a6efd=_0x3a6efd-0x0;var _0x487b9a=_0xa9e0[_0x3a6efd];return _0x487b9a;};'use strict';var _=require(_0x0a9e('0x0'));var util=require(_0x0a9e('0x1'));var moment=require(_0x0a9e('0x2'));var BPromise=require('bluebird');var rs=require('randomstring');var fs=require('fs');var Redis=require(_0x0a9e('0x3'));var db=require('../../mysqldb')['db'];var utils=require(_0x0a9e('0x4'));var logger=require(_0x0a9e('0x5'))(_0x0a9e('0x6'));var config=require(_0x0a9e('0x7'));var jayson=require(_0x0a9e('0x8'));var client=jayson['client'][_0x0a9e('0x9')]({'port':0x232a});function respondWithRpcPromise(_0x441e3a,_0x2cc193,_0x5f41ea){return new BPromise(function(_0x503809,_0xe42b77){return client['request'](_0x441e3a,_0x5f41ea)['then'](function(_0x39753a){logger[_0x0a9e('0xa')](_0x0a9e('0xb'),_0x2cc193,_0x0a9e('0xc'));logger[_0x0a9e('0xd')](_0x0a9e('0xe'),_0x2cc193,'request\x20sent',JSON['stringify'](_0x39753a));if(_0x39753a['error']){if(_0x39753a['error'][_0x0a9e('0xf')]===0x1f4){logger[_0x0a9e('0x10')](_0x0a9e('0xb'),_0x2cc193,_0x39753a[_0x0a9e('0x10')][_0x0a9e('0x11')]);return _0xe42b77(_0x39753a[_0x0a9e('0x10')]['message']);}logger[_0x0a9e('0x10')](_0x0a9e('0xb'),_0x2cc193,_0x39753a[_0x0a9e('0x10')][_0x0a9e('0x11')]);return _0x503809(_0x39753a[_0x0a9e('0x10')][_0x0a9e('0x11')]);}else{logger['info'](_0x0a9e('0xb'),_0x2cc193,'request\x20sent');_0x503809(_0x39753a[_0x0a9e('0x12')]['message']);}})[_0x0a9e('0x13')](function(_0x12066b){logger['error'](_0x0a9e('0xb'),_0x2cc193,_0x12066b);_0xe42b77(_0x12066b);});});} \ No newline at end of file diff --git a/server/app.js b/server/app.js index 266d2d7..f583ad2 100644 --- a/server/app.js +++ b/server/app.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x6468=['status','name','None','seedDB','./config/seedDB','default','./config/license','catch','Server\x20failed\x20to\x20start\x20due\x20to\x20error:\x20%s','exit','lodash','./mysqldb','./rpc','./config/logger','./config/pm2/config','./config/schedule','./config/schedule/chat','./config/schedule/transcribe','sequelize','then','listen','info','start','map','filter','online','join','Offline\x20apps:'];(function(_0x21ce6b,_0x3cc9bc){var _0x51caf1=function(_0x2974ba){while(--_0x2974ba){_0x21ce6b['push'](_0x21ce6b['shift']());}};_0x51caf1(++_0x3cc9bc);}(_0x6468,0x106));var _0x8646=function(_0x3b5250,_0x7a0b2c){_0x3b5250=_0x3b5250-0x0;var _0xc844a1=_0x6468[_0x3b5250];return _0xc844a1;};'use strict';var _=require(_0x8646('0x0'));var mysqldb=require(_0x8646('0x1'));var rpc=require(_0x8646('0x2'));var config=require('./config/environment');var logger=require(_0x8646('0x3'))('app');var pm2=require('./config/pm2');var pm2Config=require(_0x8646('0x4'));var schedule=require(_0x8646('0x5'));var chat=require(_0x8646('0x6'));var transcribe=require(_0x8646('0x7'));function main(){return mysqldb['db'][_0x8646('0x8')]['sync']()[_0x8646('0x9')](function(){return rpc[_0x8646('0xa')]();})['then'](function(_0x3d2d4d){logger[_0x8646('0xb')](_0x3d2d4d);return chat[_0x8646('0xc')]();})[_0x8646('0x9')](function(){return schedule[_0x8646('0xc')]();})[_0x8646('0x9')](function(){return transcribe[_0x8646('0xc')]();})[_0x8646('0x9')](function(_0x4ac317){logger['info'](_0x4ac317);return pm2[_0x8646('0xc')](pm2Config);})[_0x8646('0x9')](function(_0x3e1c6e){logger['info']('Online\x20apps:',_[_0x8646('0xd')](_[_0x8646('0xe')](_0x3e1c6e,{'status':_0x8646('0xf')}),'name')[_0x8646('0x10')]());logger['info'](_0x8646('0x11'),_[_0x8646('0xd')](_[_0x8646('0xe')](_0x3e1c6e,function(_0x3df7b9){return _0x3df7b9[_0x8646('0x12')]!=='online';}),_0x8646('0x13'))['join']()||_0x8646('0x14'));config[_0x8646('0x15')]&&require(_0x8646('0x16'))[_0x8646('0x17')]();require(_0x8646('0x18'))[_0x8646('0x17')]();})[_0x8646('0x19')](function(_0x156701){logger['error'](_0x8646('0x1a'),_0x156701);process[_0x8646('0x1b')](0x1);});}main(); \ No newline at end of file +var _0x070f=['./config/pm2','./config/pm2/config','./config/schedule','./config/schedule/chat','./config/schedule/transcribe','sequelize','sync','then','listen','info','start','Online\x20apps:','filter','online','name','join','map','status','./config/seedDB','./config/license','default','catch','error','Server\x20failed\x20to\x20start\x20due\x20to\x20error:\x20%s','exit','lodash','./rpc','./config/logger','app'];(function(_0x1538d7,_0x448944){var _0x396ef5=function(_0x5aaf55){while(--_0x5aaf55){_0x1538d7['push'](_0x1538d7['shift']());}};_0x396ef5(++_0x448944);}(_0x070f,0x8d));var _0xf070=function(_0x237b5f,_0x34fd1d){_0x237b5f=_0x237b5f-0x0;var _0x1606ad=_0x070f[_0x237b5f];return _0x1606ad;};'use strict';const _=require(_0xf070('0x0'));const mysqldb=require('./mysqldb');const rpc=require(_0xf070('0x1'));const config=require('./config/environment');const logger=require(_0xf070('0x2'))(_0xf070('0x3'));const pm2=require(_0xf070('0x4'));const pm2Config=require(_0xf070('0x5'));const schedule=require(_0xf070('0x6'));const chat=require(_0xf070('0x7'));const transcribe=require(_0xf070('0x8'));function main(){return mysqldb['db'][_0xf070('0x9')][_0xf070('0xa')]()[_0xf070('0xb')](function(){return rpc[_0xf070('0xc')]();})[_0xf070('0xb')](function(_0x507f66){logger[_0xf070('0xd')](_0x507f66);return chat[_0xf070('0xe')]();})[_0xf070('0xb')](function(){return schedule[_0xf070('0xe')]();})[_0xf070('0xb')](function(){return transcribe[_0xf070('0xe')]();})[_0xf070('0xb')](function(_0x87ab98){logger[_0xf070('0xd')](_0x87ab98);return pm2[_0xf070('0xe')](pm2Config);})[_0xf070('0xb')](function(_0x2fa6f0){logger['info'](_0xf070('0xf'),_['map'](_[_0xf070('0x10')](_0x2fa6f0,{'status':_0xf070('0x11')}),_0xf070('0x12'))[_0xf070('0x13')]());logger['info']('Offline\x20apps:',_[_0xf070('0x14')](_['filter'](_0x2fa6f0,function(_0xb64cd6){return _0xb64cd6[_0xf070('0x15')]!==_0xf070('0x11');}),_0xf070('0x12'))[_0xf070('0x13')]()||'None');config['seedDB']&&require(_0xf070('0x16'))['default']();require(_0xf070('0x17'))[_0xf070('0x18')]();})[_0xf070('0x19')](function(_0xcfe52c){logger[_0xf070('0x1a')](_0xf070('0x1b'),_0xcfe52c);process[_0xf070('0x1c')](0x1);});}main(); \ No newline at end of file diff --git a/server/components/auth/service.js b/server/components/auth/service.js index 0a6a3af..045c4fd 100644 --- a/server/components/auth/service.js +++ b/server/components/auth/service.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xa48a=['phoneBarRemoteControl','phoneBarRemoteControlPort','hotdesk','interface','userProfileId','isChatInteractionAuthorized','isAuthenticated','use','user','ChatInteraction','findOne','params','closed','disposition','status','unmanaged','Unmanaged.','Forbidden.','catch','headers','authorization','Basic','User','find','then','authenticate','pass','json','startsWith','Unknown\x20authorization\x20format','query','apikey','getUuid','sub','isEqual','apiKeyNonce','nonce','Invalid\x20API\x20access\x20key','User\x20not\x20found.','User\x20object\x20not\x20found.','../../config/license/util','update','isMiddleware','setTokenCookie','It\x20looks\x20like\x20you\x20aren\x27t\x20logged\x20in,\x20please\x20try\x20again.','motion.token','redirect','/dashboards/general','send','retrieveApiKey','isNil','apiKeyIat','generateApiKey','Please\x20use\x20the\x20previous\x20API\x20access\x20key\x20to\x20generate\x20a\x20new\x20one','promisify','sign','secret','secrets','session','payload','options','toString','hex','floor','now','HS512','../../mysqldb','../../config/license/hardware','lodash','jsonwebtoken','express-jwt','composable-middleware','basic-auth','crypto','bluebird','role','fullname','internal','email','md5secret','chatPause','mailPause','faxPause','smsPause','openchannelPause','pauseType','showWebBar','lastLoginAt','lastPauseAt','crudPermissions','allowmessenger','passwordResetAt','phoneBarAutoAnswer','phoneBarAutoAnswerDelay','phoneBarEnableRecording','phoneBarEnableDtmfTone','phoneBarEnableSettings','phoneBarExpires','phoneBarPrefixRequired'];(function(_0xf60cee,_0x3b0bf5){var _0x28d45e=function(_0xc89744){while(--_0xc89744){_0xf60cee['push'](_0xf60cee['shift']());}};_0x28d45e(++_0x3b0bf5);}(_0xa48a,0x16b));var _0xaa48=function(_0x531ae2,_0x44020d){_0x531ae2=_0x531ae2-0x0;var _0x417948=_0xa48a[_0x531ae2];return _0x417948;};'use strict';var db=require(_0xaa48('0x0'))['db'];var config=require('../../config/environment');var hardwareConf=require(_0xaa48('0x1'));var _=require(_0xaa48('0x2'));var jwt=require(_0xaa48('0x3'));var expressJwt=require(_0xaa48('0x4'));var compose=require(_0xaa48('0x5'));var basicAuth=require(_0xaa48('0x6'));var crypto=require(_0xaa48('0x7'));var BPromise=require(_0xaa48('0x8'));var validateJwt=expressJwt({'secret':config['secrets']['session']});var userAttributes=['id',_0xaa48('0x9'),_0xaa48('0xa'),'name',_0xaa48('0xb'),_0xaa48('0xc'),'userpic','permissions',_0xaa48('0xd'),'voicePause',_0xaa48('0xe'),_0xaa48('0xf'),_0xaa48('0x10'),_0xaa48('0x11'),_0xaa48('0x12'),_0xaa48('0x13'),_0xaa48('0x14'),_0xaa48('0x15'),_0xaa48('0x16'),_0xaa48('0x17'),_0xaa48('0x18'),_0xaa48('0x19'),'alias',_0xaa48('0x1a'),_0xaa48('0x1b'),'phoneBarDnd',_0xaa48('0x1c'),_0xaa48('0x1d'),_0xaa48('0x1e'),_0xaa48('0x1f'),_0xaa48('0x20'),_0xaa48('0x21'),_0xaa48('0x22'),_0xaa48('0x23'),_0xaa48('0x24'),_0xaa48('0x25')];exports[_0xaa48('0x26')]=function(){return this[_0xaa48('0x27')](!![])[_0xaa48('0x28')](function(_0x58c8f5,_0x5916f8,_0xc1c2cd){if(_0x58c8f5[_0xaa48('0x29')]){_0xc1c2cd();}else{return db[_0xaa48('0x2a')][_0xaa48('0x2b')]({'where':{'id':_0x58c8f5[_0xaa48('0x2c')]['id']},'attributes':['id',_0xaa48('0x2d'),_0xaa48('0x2e')],'raw':!![]})['then'](function(_0x39ec4e){if(_0x39ec4e&&_0x39ec4e[_0xaa48('0x2d')]){return _0x5916f8[_0xaa48('0x2f')](_0x39ec4e[_0xaa48('0x2e')]===_0xaa48('0x30')?0x195:0x193)['json']({'message':_0x39ec4e[_0xaa48('0x2e')]===_0xaa48('0x30')?_0xaa48('0x31'):_0xaa48('0x32')});}else{_0xc1c2cd();}})[_0xaa48('0x33')](function(_0x334f26){_0xc1c2cd(_0x334f26);});}});};exports[_0xaa48('0x27')]=function isAuthenticated(_0xaed8d5){return compose()[_0xaa48('0x28')](function(_0x29250d,_0x282ac3,_0x351855){if(_0x29250d[_0xaa48('0x34')][_0xaa48('0x35')]){if(_['startsWith'](_0x29250d[_0xaa48('0x34')][_0xaa48('0x35')],_0xaa48('0x36'))){var _0x27b855=basicAuth(_0x29250d);db[_0xaa48('0x37')][_0xaa48('0x38')]({'where':{'name':_0x27b855['name']}})[_0xaa48('0x39')](function(_0x2bf833){if(!_0x2bf833||!_0x2bf833[_0xaa48('0x3a')](_0x27b855[_0xaa48('0x3b')])){return _0x282ac3['status'](0x191)[_0xaa48('0x3c')]({'message':'Wrong\x20credentials.'});}_0x29250d[_0xaa48('0x29')]={'id':_0x2bf833['id']};_0x351855();})['catch'](function(_0xd51838){_0x351855(_0xd51838);});}else if(_[_0xaa48('0x3d')](_0x29250d[_0xaa48('0x34')][_0xaa48('0x35')],'Bearer')){validateJwt(_0x29250d,_0x282ac3,_0x351855);}else{if(_0xaed8d5){_0x351855();}else{return _0x282ac3[_0xaa48('0x2f')](0x193)[_0xaa48('0x3c')]({'message':_0xaa48('0x3e')});}}}else if(_0x29250d[_0xaa48('0x3f')][_0xaa48('0x40')]){try{var _0x3a93ca={'audience':hardwareConf['getUuid'](),'issuer':hardwareConf[_0xaa48('0x41')]()};verifyJwt(_0x29250d[_0xaa48('0x3f')][_0xaa48('0x40')],_0x3a93ca)[_0xaa48('0x39')](function(_0x4e5121){return db[_0xaa48('0x37')]['find']({'where':{'id':_0x4e5121[_0xaa48('0x42')]}})[_0xaa48('0x39')](function(_0x405073){if(!_0x405073||!_[_0xaa48('0x43')](_0x405073[_0xaa48('0x44')],_0x4e5121[_0xaa48('0x45')])){return _0x282ac3[_0xaa48('0x2f')](0x191)[_0xaa48('0x3c')]({'message':'API\x20access\x20key\x20is\x20not\x20valid\x20anymore'});}_0x29250d['user']={'id':_0x405073['id']};_0x351855();});})[_0xaa48('0x33')](function(){return _0x282ac3[_0xaa48('0x2f')](0x191)[_0xaa48('0x3c')]({'message':_0xaa48('0x46')});});}catch(_0x2d1129){_0x351855(_0x2d1129);}}else if(_0xaed8d5){_0x351855();}else{return _0x282ac3[_0xaa48('0x2f')](0x193)[_0xaa48('0x3c')]({'message':_0xaa48('0x3e')});}})[_0xaa48('0x28')](function(_0x58b1c6,_0x556d9f,_0x1155de){if(_0x58b1c6[_0xaa48('0x29')]){db[_0xaa48('0x37')][_0xaa48('0x38')]({'where':{'id':_0x58b1c6[_0xaa48('0x29')]['id']},'attributes':userAttributes})[_0xaa48('0x39')](function(_0x26132a){if(!_0x26132a){return _0x556d9f[_0xaa48('0x2f')](0x194)[_0xaa48('0x3c')]({'message':_0xaa48('0x47')});}_0x58b1c6['user']=_0x26132a;_0x1155de();})[_0xaa48('0x33')](function(_0x2b39ab){_0x1155de(_0x2b39ab);});}else if(_0xaed8d5){_0x1155de();}else{return _0x556d9f['status'](0x194)[_0xaa48('0x3c')]({'message':_0xaa48('0x48')});}});};exports['canUpdate']=function canUpdate(){return compose()[_0xaa48('0x28')](function(_0xd29a86,_0x59d848,_0x1c626b){return require(_0xaa48('0x49'))['getLicense']()[_0xaa48('0x39')](function(_0x174e99){if(_0x174e99[_0xaa48('0x4a')]){_0x1c626b();}else{return _0x59d848['status'](0x193)[_0xaa48('0x3c')]({'message':'Forbidden'});}})[_0xaa48('0x33')](function(_0x25ea4a){_0x1c626b(_0x25ea4a);});});};exports[_0xaa48('0x4b')]=function(_0x59543b,_0x6552a7,_0x2c3146){_0x59543b[_0xaa48('0x4b')]=!![];return _0x2c3146();};exports['signToken']=function signToken(_0x55f060){return signJwt(_0x55f060);};exports[_0xaa48('0x4c')]=function(_0x4f3276,_0x926722){if(!_0x4f3276[_0xaa48('0x29')]){return _0x926722['status'](0x194)[_0xaa48('0x3c')]({'message':_0xaa48('0x4d')});}var _0x5cb4da={'payload':{'id':_0x4f3276[_0xaa48('0x29')]['id'],'role':_0x4f3276[_0xaa48('0x29')][_0xaa48('0x9')]},'options':{'expiresIn':0x15180}};return signJwt(_0x5cb4da)[_0xaa48('0x39')](function(_0x14ee05){_0x926722['cookie'](_0xaa48('0x4e'),_0x14ee05);_0x926722[_0xaa48('0x4f')](_0xaa48('0x50'));})['catch'](function(_0x31dc09){return _0x926722[_0xaa48('0x2f')](0x1f4)[_0xaa48('0x51')](_0x31dc09);});};exports[_0xaa48('0x52')]=function(_0x2481e1){if(_[_0xaa48('0x53')](_0x2481e1[_0xaa48('0x44')])||_[_0xaa48('0x53')](_0x2481e1[_0xaa48('0x54')])){return null;}else{return createJwt(_0x2481e1);}};exports[_0xaa48('0x55')]=function(_0x1872c9){_0x1872c9[_0xaa48('0x44')]=generateNonce();_0x1872c9[_0xaa48('0x54')]=generateIssuedAt();return createJwt(_0x1872c9);};exports['regenerateApiKey']=function(_0x3e0bc9,_0x5aa202){var _0x39c6ca=_0x3e0bc9[_0xaa48('0x3f')][_0xaa48('0x40')];if(_0x39c6ca){var _0x399aca={'nonce':_0x5aa202[_0xaa48('0x44')],'iat':_0x5aa202[_0xaa48('0x54')],'audience':hardwareConf[_0xaa48('0x41')](),'issuer':hardwareConf['getUuid']()};return verifyJwt(_0x39c6ca,_0x399aca)[_0xaa48('0x39')](function(){return generateApiKey(_0x5aa202);});}else{throw{'message':_0xaa48('0x56')};}};function signJwt(_0x15bf51){var _0x38b3e4=BPromise[_0xaa48('0x57')](jwt[_0xaa48('0x58')],{'context':jwt});var _0x4a4e30=_0x15bf51[_0xaa48('0x59')]||config[_0xaa48('0x5a')][_0xaa48('0x5b')];return new BPromise(function(_0xb4b9da,_0x2b5966){_0x38b3e4(_0x15bf51[_0xaa48('0x5c')],_0x4a4e30,_0x15bf51[_0xaa48('0x5d')])[_0xaa48('0x39')](function(_0x19ee5e){_0xb4b9da(_0x19ee5e);})[_0xaa48('0x33')](function(_0x13a752){_0x2b5966(_0x13a752);});});}function verifyJwt(_0x5db6c6,_0x36ef0c,_0x4d5fc9){var _0x907c2b=BPromise[_0xaa48('0x57')](jwt['verify'],{'context':jwt});var _0x3bcbdd=_0x4d5fc9||config['secrets'][_0xaa48('0x5b')];return new BPromise(function(_0x300a78,_0x5872f1){_0x907c2b(_0x5db6c6,_0x3bcbdd,_0x36ef0c)[_0xaa48('0x39')](function(_0x492395){_0x300a78(_0x492395);})['catch'](function(_0x3f7476){_0x5872f1(_0x3f7476);});});}function generateNonce(){return crypto['randomBytes'](0x10)[_0xaa48('0x5e')](_0xaa48('0x5f'));}function generateIssuedAt(){return Math[_0xaa48('0x60')](Date[_0xaa48('0x61')]()/0x3e8)[_0xaa48('0x5e')]();}function createJwt(_0x136024){var _0x53c708={'payload':{'iat':_0x136024[_0xaa48('0x54')],'nonce':_0x136024[_0xaa48('0x44')]},'options':{'algorithm':_0xaa48('0x62'),'subject':_0x136024['id']['toString'](),'issuer':hardwareConf[_0xaa48('0x41')](),'audience':hardwareConf[_0xaa48('0x41')]()}};return signJwt(_0x53c708)['then'](function(_0x3aa606){return{'iat':_0x136024[_0xaa48('0x54')],'nonce':_0x136024[_0xaa48('0x44')],'token':_0x3aa606};});} \ No newline at end of file +var _0xa950=['User\x20not\x20found.','User\x20object\x20not\x20found.','canUpdate','../../config/license/util','update','Forbidden','isMiddleware','signToken','setTokenCookie','It\x20looks\x20like\x20you\x20aren\x27t\x20logged\x20in,\x20please\x20try\x20again.','role','cookie','redirect','/dashboards/general','retrieveApiKey','isNil','apiKeyIat','generateApiKey','regenerateApiKey','promisify','secret','payload','options','verify','randomBytes','toString','hex','now','HS512','../../mysqldb','../../config/license/hardware','lodash','jsonwebtoken','express-jwt','composable-middleware','basic-auth','crypto','bluebird','secrets','session','fullname','internal','email','userpic','permissions','voicePause','faxPause','smsPause','openchannelPause','pauseType','lastLoginAt','crudPermissions','passwordResetAt','phoneBarAutoAnswer','phoneBarDnd','phoneBarEnableRecording','phoneBarEnableDtmfTone','phoneBarEnableSettings','phoneBarExpires','phoneBarPrefixRequired','phoneBarRemoteControl','phoneBarRemoteControlPort','userProfileId','isAuthenticated','use','user','ChatInteraction','findOne','params','closed','disposition','unmanaged','Forbidden.','catch','headers','authorization','startsWith','Basic','find','name','then','pass','status','json','Unknown\x20authorization\x20format','query','apikey','getUuid','User','sub','apiKeyNonce','nonce','API\x20access\x20key\x20is\x20not\x20valid\x20anymore','Invalid\x20API\x20access\x20key'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0xa950,0x137));var _0x0a95=function(_0xf18245,_0x27d6b6){_0xf18245=_0xf18245-0x0;var _0x36a1c8=_0xa950[_0xf18245];return _0x36a1c8;};'use strict';var db=require(_0x0a95('0x0'))['db'];var config=require('../../config/environment');var hardwareConf=require(_0x0a95('0x1'));var _=require(_0x0a95('0x2'));var jwt=require(_0x0a95('0x3'));var expressJwt=require(_0x0a95('0x4'));var compose=require(_0x0a95('0x5'));var basicAuth=require(_0x0a95('0x6'));var crypto=require(_0x0a95('0x7'));var BPromise=require(_0x0a95('0x8'));var validateJwt=expressJwt({'secret':config[_0x0a95('0x9')][_0x0a95('0xa')]});var userAttributes=['id','role',_0x0a95('0xb'),'name',_0x0a95('0xc'),_0x0a95('0xd'),_0x0a95('0xe'),_0x0a95('0xf'),'md5secret',_0x0a95('0x10'),'chatPause','mailPause',_0x0a95('0x11'),_0x0a95('0x12'),_0x0a95('0x13'),_0x0a95('0x14'),'showWebBar',_0x0a95('0x15'),'lastPauseAt',_0x0a95('0x16'),'allowmessenger',_0x0a95('0x17'),'alias',_0x0a95('0x18'),'phoneBarAutoAnswerDelay',_0x0a95('0x19'),_0x0a95('0x1a'),_0x0a95('0x1b'),_0x0a95('0x1c'),_0x0a95('0x1d'),_0x0a95('0x1e'),_0x0a95('0x1f'),_0x0a95('0x20'),'hotdesk','interface',_0x0a95('0x21')];exports['isChatInteractionAuthorized']=function(){return this[_0x0a95('0x22')](!![])[_0x0a95('0x23')](function(_0x399af2,_0x447664,_0x479ca9){if(_0x399af2[_0x0a95('0x24')]){_0x479ca9();}else{return db[_0x0a95('0x25')][_0x0a95('0x26')]({'where':{'id':_0x399af2[_0x0a95('0x27')]['id']},'attributes':['id',_0x0a95('0x28'),'disposition'],'raw':!![]})['then'](function(_0x2fcc12){if(_0x2fcc12&&_0x2fcc12[_0x0a95('0x28')]){return _0x447664['status'](_0x2fcc12[_0x0a95('0x29')]===_0x0a95('0x2a')?0x195:0x193)['json']({'message':_0x2fcc12[_0x0a95('0x29')]===_0x0a95('0x2a')?'Unmanaged.':_0x0a95('0x2b')});}else{_0x479ca9();}})[_0x0a95('0x2c')](function(_0x27903b){_0x479ca9(_0x27903b);});}});};exports[_0x0a95('0x22')]=function isAuthenticated(_0x112c77){return compose()['use'](function(_0x2a9e1a,_0x6993a,_0x1f9153){if(_0x2a9e1a[_0x0a95('0x2d')][_0x0a95('0x2e')]){if(_[_0x0a95('0x2f')](_0x2a9e1a[_0x0a95('0x2d')][_0x0a95('0x2e')],_0x0a95('0x30'))){var _0x744054=basicAuth(_0x2a9e1a);db['User'][_0x0a95('0x31')]({'where':{'name':_0x744054[_0x0a95('0x32')]}})[_0x0a95('0x33')](function(_0x20466e){if(!_0x20466e||!_0x20466e['authenticate'](_0x744054[_0x0a95('0x34')])){return _0x6993a[_0x0a95('0x35')](0x191)['json']({'message':'Wrong\x20credentials.'});}_0x2a9e1a['user']={'id':_0x20466e['id']};_0x1f9153();})['catch'](function(_0x5618e7){_0x1f9153(_0x5618e7);});}else if(_[_0x0a95('0x2f')](_0x2a9e1a['headers'][_0x0a95('0x2e')],'Bearer')){validateJwt(_0x2a9e1a,_0x6993a,_0x1f9153);}else{if(_0x112c77){_0x1f9153();}else{return _0x6993a[_0x0a95('0x35')](0x193)[_0x0a95('0x36')]({'message':_0x0a95('0x37')});}}}else if(_0x2a9e1a[_0x0a95('0x38')][_0x0a95('0x39')]){try{var _0x173d3c={'audience':hardwareConf[_0x0a95('0x3a')](),'issuer':hardwareConf[_0x0a95('0x3a')]()};verifyJwt(_0x2a9e1a[_0x0a95('0x38')][_0x0a95('0x39')],_0x173d3c)[_0x0a95('0x33')](function(_0x47c874){return db[_0x0a95('0x3b')][_0x0a95('0x31')]({'where':{'id':_0x47c874[_0x0a95('0x3c')]}})[_0x0a95('0x33')](function(_0x396d51){if(!_0x396d51||!_['isEqual'](_0x396d51[_0x0a95('0x3d')],_0x47c874[_0x0a95('0x3e')])){return _0x6993a[_0x0a95('0x35')](0x191)[_0x0a95('0x36')]({'message':_0x0a95('0x3f')});}_0x2a9e1a[_0x0a95('0x24')]={'id':_0x396d51['id']};_0x1f9153();});})[_0x0a95('0x2c')](function(){return _0x6993a[_0x0a95('0x35')](0x191)[_0x0a95('0x36')]({'message':_0x0a95('0x40')});});}catch(_0x1bd854){_0x1f9153(_0x1bd854);}}else if(_0x112c77){_0x1f9153();}else{return _0x6993a[_0x0a95('0x35')](0x193)['json']({'message':_0x0a95('0x37')});}})[_0x0a95('0x23')](function(_0x353bda,_0x3b33fb,_0x210e39){if(_0x353bda['user']){db[_0x0a95('0x3b')][_0x0a95('0x31')]({'where':{'id':_0x353bda[_0x0a95('0x24')]['id']},'attributes':userAttributes})[_0x0a95('0x33')](function(_0x15df66){if(!_0x15df66){return _0x3b33fb[_0x0a95('0x35')](0x194)[_0x0a95('0x36')]({'message':_0x0a95('0x41')});}_0x353bda[_0x0a95('0x24')]=_0x15df66;_0x210e39();})[_0x0a95('0x2c')](function(_0x4ee1e6){_0x210e39(_0x4ee1e6);});}else if(_0x112c77){_0x210e39();}else{return _0x3b33fb['status'](0x194)[_0x0a95('0x36')]({'message':_0x0a95('0x42')});}});};exports[_0x0a95('0x43')]=function canUpdate(){return compose()[_0x0a95('0x23')](function(_0x41c354,_0x179c1a,_0x211268){return require(_0x0a95('0x44'))['getLicense']()[_0x0a95('0x33')](function(_0x560eb1){if(_0x560eb1[_0x0a95('0x45')]){_0x211268();}else{return _0x179c1a[_0x0a95('0x35')](0x193)[_0x0a95('0x36')]({'message':_0x0a95('0x46')});}})['catch'](function(_0x48484b){_0x211268(_0x48484b);});});};exports[_0x0a95('0x47')]=function(_0x1881eb,_0x5c5a52,_0x3032fc){_0x1881eb[_0x0a95('0x47')]=!![];return _0x3032fc();};exports[_0x0a95('0x48')]=function signToken(_0x133e65){return signJwt(_0x133e65);};exports[_0x0a95('0x49')]=function(_0x3de70c,_0x3d8821){if(!_0x3de70c[_0x0a95('0x24')]){return _0x3d8821[_0x0a95('0x35')](0x194)[_0x0a95('0x36')]({'message':_0x0a95('0x4a')});}var _0xb64436={'payload':{'id':_0x3de70c[_0x0a95('0x24')]['id'],'role':_0x3de70c['user'][_0x0a95('0x4b')]},'options':{'expiresIn':0x15180}};return signJwt(_0xb64436)[_0x0a95('0x33')](function(_0x4323b1){_0x3d8821[_0x0a95('0x4c')]('motion.token',_0x4323b1);_0x3d8821[_0x0a95('0x4d')](_0x0a95('0x4e'));})[_0x0a95('0x2c')](function(_0x3b1324){return _0x3d8821[_0x0a95('0x35')](0x1f4)['send'](_0x3b1324);});};exports[_0x0a95('0x4f')]=function(_0x2690a4){if(_[_0x0a95('0x50')](_0x2690a4[_0x0a95('0x3d')])||_['isNil'](_0x2690a4[_0x0a95('0x51')])){return null;}else{return createJwt(_0x2690a4);}};exports[_0x0a95('0x52')]=function(_0x491665){_0x491665[_0x0a95('0x3d')]=generateNonce();_0x491665['apiKeyIat']=generateIssuedAt();return createJwt(_0x491665);};exports[_0x0a95('0x53')]=function(_0x260c1e,_0x1e3dec){var _0x173d32=_0x260c1e[_0x0a95('0x38')][_0x0a95('0x39')];if(_0x173d32){var _0x26055a={'nonce':_0x1e3dec[_0x0a95('0x3d')],'iat':_0x1e3dec['apiKeyIat'],'audience':hardwareConf[_0x0a95('0x3a')](),'issuer':hardwareConf['getUuid']()};return verifyJwt(_0x173d32,_0x26055a)[_0x0a95('0x33')](function(){return generateApiKey(_0x1e3dec);});}else{throw{'message':'Please\x20use\x20the\x20previous\x20API\x20access\x20key\x20to\x20generate\x20a\x20new\x20one'};}};function signJwt(_0x79b2e5){var _0x24c295=BPromise[_0x0a95('0x54')](jwt['sign'],{'context':jwt});var _0x3233d1=_0x79b2e5[_0x0a95('0x55')]||config[_0x0a95('0x9')][_0x0a95('0xa')];return new BPromise(function(_0xa78a9e,_0x3eb7b7){_0x24c295(_0x79b2e5[_0x0a95('0x56')],_0x3233d1,_0x79b2e5[_0x0a95('0x57')])['then'](function(_0x5cd5ad){_0xa78a9e(_0x5cd5ad);})['catch'](function(_0x40d548){_0x3eb7b7(_0x40d548);});});}function verifyJwt(_0xb581a2,_0x22e18f,_0x49a32a){var _0x144fb3=BPromise[_0x0a95('0x54')](jwt[_0x0a95('0x58')],{'context':jwt});var _0x1af11d=_0x49a32a||config['secrets'][_0x0a95('0xa')];return new BPromise(function(_0xd7bd5d,_0x25b249){_0x144fb3(_0xb581a2,_0x1af11d,_0x22e18f)[_0x0a95('0x33')](function(_0xf4f335){_0xd7bd5d(_0xf4f335);})[_0x0a95('0x2c')](function(_0x8e0780){_0x25b249(_0x8e0780);});});}function generateNonce(){return crypto[_0x0a95('0x59')](0x10)[_0x0a95('0x5a')](_0x0a95('0x5b'));}function generateIssuedAt(){return Math['floor'](Date[_0x0a95('0x5c')]()/0x3e8)['toString']();}function createJwt(_0x23c942){var _0x4ece8c={'payload':{'iat':_0x23c942[_0x0a95('0x51')],'nonce':_0x23c942[_0x0a95('0x3d')]},'options':{'algorithm':_0x0a95('0x5d'),'subject':_0x23c942['id']['toString'](),'issuer':hardwareConf['getUuid'](),'audience':hardwareConf[_0x0a95('0x3a')]()}};return signJwt(_0x4ece8c)[_0x0a95('0x33')](function(_0x515fb2){return{'iat':_0x23c942['apiKeyIat'],'nonce':_0x23c942[_0x0a95('0x3d')],'token':_0x515fb2};});} \ No newline at end of file diff --git a/server/components/encryptor/index.js b/server/components/encryptor/index.js index e7da531..ef4525c 100644 --- a/server/components/encryptor/index.js +++ b/server/components/encryptor/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xe706=['unlink','crypto','bluebird','aes192','hasOwnProperty','encryptFile','createReadStream','createWriteStream','createCipher','algorithm','data','update','end','final','binary','write','close','createDecipher'];(function(_0x45d174,_0x47c6bb){var _0x3a0128=function(_0xdd4c62){while(--_0xdd4c62){_0x45d174['push'](_0x45d174['shift']());}};_0x3a0128(++_0x47c6bb);}(_0xe706,0xa3));var _0x6e70=function(_0x18295b,_0x1c0aea){_0x18295b=_0x18295b-0x0;var _0x59890b=_0xe706[_0x18295b];return _0x59890b;};'use strict';var crypto=require(_0x6e70('0x0'));var fs=require('fs');var BPromise=require(_0x6e70('0x1'));var defaultOptions={'algorithm':_0x6e70('0x2')};function combineOptions(_0x5e8446){var _0x2cae77={};for(var _0x315629 in defaultOptions){if(defaultOptions[_0x6e70('0x3')](_0x315629)){_0x2cae77[_0x315629]=defaultOptions[_0x315629];}}if(_0x5e8446){for(var _0x7dfbc3 in _0x5e8446){if(_0x5e8446[_0x6e70('0x3')](_0x7dfbc3)){_0x2cae77[_0x7dfbc3]=_0x5e8446[_0x7dfbc3];}}}return _0x2cae77;}exports[_0x6e70('0x4')]=function(_0x376a8d,_0x506db9,_0x1b0389,_0x4381d1){return new BPromise(function(_0x36357b,_0x293ce7){_0x4381d1=combineOptions(_0x4381d1);var _0x45a2d4=new Buffer(_0x1b0389);var _0x188ed3=fs[_0x6e70('0x5')](_0x376a8d);var _0x449b48=fs[_0x6e70('0x6')](_0x506db9);var _0x25e61c=crypto[_0x6e70('0x7')](_0x4381d1[_0x6e70('0x8')],_0x45a2d4);_0x188ed3['on'](_0x6e70('0x9'),function(_0x3f474a){var _0x37b3e0=new Buffer(_0x25e61c[_0x6e70('0xa')](_0x3f474a),'binary');_0x449b48['write'](_0x37b3e0);});_0x188ed3['on'](_0x6e70('0xb'),function(){try{var _0x15a1a5=new Buffer(_0x25e61c[_0x6e70('0xc')](_0x6e70('0xd')),_0x6e70('0xd'));_0x449b48[_0x6e70('0xe')](_0x15a1a5);_0x449b48[_0x6e70('0xb')]();_0x449b48['on'](_0x6e70('0xf'),function(){return _0x36357b(_0x506db9);});}catch(_0x5dfbaa){fs['unlink'](_0x506db9);return _0x293ce7(_0x5dfbaa);}});});};exports['decryptFile']=function(_0x257e81,_0x5a37a6,_0x53aed0,_0x304716){return new BPromise(function(_0x22c50c,_0x5d9263){_0x304716=combineOptions(_0x304716);var _0x24f3ac=new Buffer(_0x53aed0);var _0x5c3fe7=fs[_0x6e70('0x5')](_0x257e81);var _0x161f23=fs['createWriteStream'](_0x5a37a6);var _0x49029f=crypto[_0x6e70('0x10')](_0x304716['algorithm'],_0x24f3ac);_0x5c3fe7['on'](_0x6e70('0x9'),function(_0x173afe){var _0x53acdc=new Buffer(_0x49029f['update'](_0x173afe),_0x6e70('0xd'));_0x161f23[_0x6e70('0xe')](_0x53acdc);});_0x5c3fe7['on'](_0x6e70('0xb'),function(){try{var _0x3a9978=new Buffer(_0x49029f[_0x6e70('0xc')](_0x6e70('0xd')),_0x6e70('0xd'));_0x161f23[_0x6e70('0xe')](_0x3a9978);_0x161f23[_0x6e70('0xb')]();_0x161f23['on'](_0x6e70('0xf'),function(){return _0x22c50c(_0x5a37a6);});}catch(_0x4a0cfe){fs[_0x6e70('0x11')](_0x5a37a6);return _0x5d9263(_0x4a0cfe);}});});}; \ No newline at end of file +var _0xb7e7=['crypto','aes192','hasOwnProperty','encryptFile','createReadStream','createWriteStream','createCipher','algorithm','update','binary','write','end','final','createDecipher','data','close','unlink'];(function(_0x2e55d5,_0x5c73bf){var _0x4b0355=function(_0x13865f){while(--_0x13865f){_0x2e55d5['push'](_0x2e55d5['shift']());}};_0x4b0355(++_0x5c73bf);}(_0xb7e7,0x121));var _0x7b7e=function(_0x19e35c,_0x29cd1e){_0x19e35c=_0x19e35c-0x0;var _0x3e1fe8=_0xb7e7[_0x19e35c];return _0x3e1fe8;};'use strict';var crypto=require(_0x7b7e('0x0'));var fs=require('fs');var BPromise=require('bluebird');var defaultOptions={'algorithm':_0x7b7e('0x1')};function combineOptions(_0x518dc6){var _0x1b7cc7={};for(var _0x54a37f in defaultOptions){if(defaultOptions[_0x7b7e('0x2')](_0x54a37f)){_0x1b7cc7[_0x54a37f]=defaultOptions[_0x54a37f];}}if(_0x518dc6){for(var _0x556d68 in _0x518dc6){if(_0x518dc6[_0x7b7e('0x2')](_0x556d68)){_0x1b7cc7[_0x556d68]=_0x518dc6[_0x556d68];}}}return _0x1b7cc7;}exports[_0x7b7e('0x3')]=function(_0x1d9384,_0x52047f,_0x53ed64,_0x333fa4){return new BPromise(function(_0x372bde,_0x7f87e0){_0x333fa4=combineOptions(_0x333fa4);var _0x55ce81=new Buffer(_0x53ed64);var _0x42b871=fs[_0x7b7e('0x4')](_0x1d9384);var _0x2917f9=fs[_0x7b7e('0x5')](_0x52047f);var _0x148964=crypto[_0x7b7e('0x6')](_0x333fa4[_0x7b7e('0x7')],_0x55ce81);_0x42b871['on']('data',function(_0x299519){var _0x1eef0a=new Buffer(_0x148964[_0x7b7e('0x8')](_0x299519),_0x7b7e('0x9'));_0x2917f9[_0x7b7e('0xa')](_0x1eef0a);});_0x42b871['on'](_0x7b7e('0xb'),function(){try{var _0x36d2a3=new Buffer(_0x148964[_0x7b7e('0xc')](_0x7b7e('0x9')),'binary');_0x2917f9[_0x7b7e('0xa')](_0x36d2a3);_0x2917f9[_0x7b7e('0xb')]();_0x2917f9['on']('close',function(){return _0x372bde(_0x52047f);});}catch(_0x422d3a){fs['unlink'](_0x52047f);return _0x7f87e0(_0x422d3a);}});});};exports['decryptFile']=function(_0x2889ed,_0xd304f5,_0xf067da,_0x457ec5){return new BPromise(function(_0x3d2fb2,_0x5703fd){_0x457ec5=combineOptions(_0x457ec5);var _0x51baf6=new Buffer(_0xf067da);var _0xc7f087=fs[_0x7b7e('0x4')](_0x2889ed);var _0x27f999=fs[_0x7b7e('0x5')](_0xd304f5);var _0x2cc400=crypto[_0x7b7e('0xd')](_0x457ec5[_0x7b7e('0x7')],_0x51baf6);_0xc7f087['on'](_0x7b7e('0xe'),function(_0x2acb8c){var _0x429a0e=new Buffer(_0x2cc400[_0x7b7e('0x8')](_0x2acb8c),_0x7b7e('0x9'));_0x27f999[_0x7b7e('0xa')](_0x429a0e);});_0xc7f087['on'](_0x7b7e('0xb'),function(){try{var _0x9776c3=new Buffer(_0x2cc400[_0x7b7e('0xc')](_0x7b7e('0x9')),'binary');_0x27f999[_0x7b7e('0xa')](_0x9776c3);_0x27f999[_0x7b7e('0xb')]();_0x27f999['on'](_0x7b7e('0xf'),function(){return _0x3d2fb2(_0xd304f5);});}catch(_0x4c0647){fs[_0x7b7e('0x10')](_0xd304f5);return _0x5703fd(_0x4c0647);}});});}; \ No newline at end of file diff --git a/server/components/export/csv.js b/server/components/export/csv.js index 7444da9..6ec28d7 100644 --- a/server/components/export/csv.js +++ b/server/components/export/csv.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x55e0=['util','path','lodash','to-csv','rimraf','../../mysqldb','dbH','../../config/logger','analytics','argv','savename','AnalyticExtractedReport','info','format','Start\x20extraction\x20report\x20with\x20id\x20%d\x20in\x20%s\x20format','find','splitSizeCsv','then','sequelize','query','SELECT\x20count(*)\x20as\x20num\x20FROM\x20(%s)\x20t','QueryTypes','SELECT','num','Empty','length','split','push','%s\x20limit\x20%d\x20OFFSET\x20%d','dirname','.csv','existsSync','mkdirSync','join','each','%s%d.%s','csv','%s.%s','writeFileSync','zip','Extraction\x20report\x20with\x20id\x20%d\x20in\x20%s\x20format\x20completed','Completed','catch','inspect'];(function(_0x36436d,_0x20292c){var _0x34615d=function(_0x5447af){while(--_0x5447af){_0x36436d['push'](_0x36436d['shift']());}};_0x34615d(++_0x20292c);}(_0x55e0,0xdc));var _0x055e=function(_0x598cee,_0x251352){_0x598cee=_0x598cee-0x0;var _0x12b187=_0x55e0[_0x598cee];return _0x12b187;};'use strict';var util=require(_0x055e('0x0'));var path=require(_0x055e('0x1'));var _=require(_0x055e('0x2'));var csv=require(_0x055e('0x3'));var fs=require('fs');var BPromise=require('bluebird');var zipdir=require('zip-dir');var rimraf=require(_0x055e('0x4'));var db=require(_0x055e('0x5'))['db'];var dbH=require(_0x055e('0x5'))[_0x055e('0x6')];var logger=require(_0x055e('0x7'))(_0x055e('0x8'));var EXTRACTED_REPORT_ID=Number(process['argv'][0x2]);var QUERY=process['argv'][0x3];var PATH=process[_0x055e('0x9')][0x4];function analyticExtractedReport(_0x4a442e,_0x8e7824){var _0x3c4cf={'status':_0x4a442e};var _0x376618={'where':{'id':EXTRACTED_REPORT_ID}};if(_0x8e7824){_0x3c4cf[_0x055e('0xa')]=_0x8e7824;}return db[_0x055e('0xb')]['update'](_0x3c4cf,_0x376618);}function main(){var _0x40779c=0x1388;var _0xd67814;logger[_0x055e('0xc')](util[_0x055e('0xd')](_0x055e('0xe'),EXTRACTED_REPORT_ID,'CSV'));return db['Setting'][_0x055e('0xf')]({'where':{'id':0x1},'raw':!![],'attributes':['id','split',_0x055e('0x10')]})[_0x055e('0x11')](function(_0x72d424){if(_0x72d424){_0xd67814=_0x72d424;_0x40779c=_0xd67814[_0x055e('0x10')]||0x1388;}})[_0x055e('0x11')](function(){return dbH[_0x055e('0x12')][_0x055e('0x13')](util['format'](_0x055e('0x14'),QUERY),{'type':dbH[_0x055e('0x12')][_0x055e('0x15')][_0x055e('0x16')]});})[_0x055e('0x11')](function(_0x56af18){if(!_0x56af18[0x0][_0x055e('0x17')]){return analyticExtractedReport(_0x055e('0x18'));}var _0x111cdb=[];var _0x599533=0x0;var _0x3f2d0e=!![];if(_0x56af18&&_0x56af18[_0x055e('0x19')]){var _0xb4e6ca=_0x56af18[0x0][_0x055e('0x17')]%(_0x599533+_0x40779c);if(_0xd67814[_0x055e('0x1a')]){for(;_0x3f2d0e;_0x599533+=_0x40779c,_0xb4e6ca=_0x56af18[0x0]['num']%(_0x599533+_0x40779c)){if(_0xb4e6ca==0x0||_0xb4e6ca==_0x56af18[0x0][_0x055e('0x17')]){_0x3f2d0e=![];}_0x111cdb[_0x055e('0x1b')](dbH[_0x055e('0x12')][_0x055e('0x13')](util['format'](_0x055e('0x1c'),QUERY,_0x40779c,_0x599533),{'type':dbH[_0x055e('0x12')]['QueryTypes'][_0x055e('0x16')]}));}}else{_0x111cdb[_0x055e('0x1b')](dbH[_0x055e('0x12')][_0x055e('0x13')](QUERY,{'type':dbH[_0x055e('0x12')][_0x055e('0x15')]['SELECT']}));}}var _0x31c355=path[_0x055e('0x1d')](PATH);var _0x211594=path['basename'](PATH,_0x055e('0x1e'));var _0x2da6b=_0xd67814[_0x055e('0x1a')]&&_0x111cdb[_0x055e('0x19')]>0x1;var _0x51df23=[];if(!fs[_0x055e('0x1f')](path['join'](_0x31c355,_0x211594))&&_0x2da6b){fs[_0x055e('0x20')](path[_0x055e('0x21')](_0x31c355,_0x211594));}return BPromise[_0x055e('0x22')](_0x111cdb,function(_0x1a76c6){_0x51df23[_0x055e('0x1b')](_0x1a76c6);})[_0x055e('0x11')](function(){for(var _0x58caf9=0x0;_0x58caf9<_0x51df23[_0x055e('0x19')];_0x58caf9+=0x1){var _0x1f90a9;var _0x2a82f8=_0x51df23[_0x58caf9];if(_0x2da6b){_0x1f90a9=path['join'](_0x31c355,_0x211594,util[_0x055e('0xd')](_0x055e('0x23'),_0x211594,_0x58caf9,_0x055e('0x24')));}else{_0x1f90a9=path[_0x055e('0x21')](_0x31c355,util['format'](_0x055e('0x25'),_0x211594,'csv'));}fs[_0x055e('0x26')](_0x1f90a9,csv(_0x2a82f8));}})[_0x055e('0x11')](function(){if(_0x2da6b){zipdir(path[_0x055e('0x21')](_0x31c355,_0x211594),{'saveTo':path[_0x055e('0x21')](_0x31c355,util[_0x055e('0xd')]('%s.%s',_0x211594,_0x055e('0x27')))},function(_0x453e5e,_0x293062){});rimraf(path[_0x055e('0x21')](_0x31c355,_0x211594),function(){});}})[_0x055e('0x11')](function(){logger[_0x055e('0xc')](util[_0x055e('0xd')](_0x055e('0x28'),EXTRACTED_REPORT_ID,'CSV'));return analyticExtractedReport(_0x055e('0x29'),_0x2da6b?util[_0x055e('0xd')]('%s.%s',_0x211594,_0x2da6b?_0x055e('0x27'):_0x055e('0x24')):null);});})[_0x055e('0x2a')](function(_0x20717b){logger[_0x055e('0xc')](util[_0x055e('0xd')]('Error\x20during\x20extraction\x20report\x20with\x20id\x20%d\x20in\x20%s\x20format',EXTRACTED_REPORT_ID,'CSV'),util[_0x055e('0x2b')](_0x20717b,{'showHidden':![],'depth':null}));return analyticExtractedReport('Failed');});}main(); \ No newline at end of file +var _0xa75b=['to-csv','bluebird','zip-dir','rimraf','../../mysqldb','dbH','../../config/logger','analytics','argv','update','info','format','Start\x20extraction\x20report\x20with\x20id\x20%d\x20in\x20%s\x20format','CSV','Setting','find','split','splitSizeCsv','then','query','SELECT\x20count(*)\x20as\x20num\x20FROM\x20(%s)\x20t','sequelize','QueryTypes','SELECT','num','Empty','length','push','dirname','basename','existsSync','join','each','%s.%s','writeFileSync','zip','Extraction\x20report\x20with\x20id\x20%d\x20in\x20%s\x20format\x20completed','Completed','catch','inspect','util'];(function(_0x3e44fa,_0x75ed2a){var _0x2a0aba=function(_0x1db6a7){while(--_0x1db6a7){_0x3e44fa['push'](_0x3e44fa['shift']());}};_0x2a0aba(++_0x75ed2a);}(_0xa75b,0x170));var _0xba75=function(_0x9b1eeb,_0x4374d3){_0x9b1eeb=_0x9b1eeb-0x0;var _0x559d64=_0xa75b[_0x9b1eeb];return _0x559d64;};'use strict';var util=require(_0xba75('0x0'));var path=require('path');var _=require('lodash');var csv=require(_0xba75('0x1'));var fs=require('fs');var BPromise=require(_0xba75('0x2'));var zipdir=require(_0xba75('0x3'));var rimraf=require(_0xba75('0x4'));var db=require(_0xba75('0x5'))['db'];var dbH=require(_0xba75('0x5'))[_0xba75('0x6')];var logger=require(_0xba75('0x7'))(_0xba75('0x8'));var EXTRACTED_REPORT_ID=Number(process[_0xba75('0x9')][0x2]);var QUERY=process[_0xba75('0x9')][0x3];var PATH=process[_0xba75('0x9')][0x4];function analyticExtractedReport(_0x3ccab5,_0x5c79e3){var _0x4b842d={'status':_0x3ccab5};var _0x731cae={'where':{'id':EXTRACTED_REPORT_ID}};if(_0x5c79e3){_0x4b842d['savename']=_0x5c79e3;}return db['AnalyticExtractedReport'][_0xba75('0xa')](_0x4b842d,_0x731cae);}function main(){var _0x4f4d0a=0x1388;var _0x2e8905;logger[_0xba75('0xb')](util[_0xba75('0xc')](_0xba75('0xd'),EXTRACTED_REPORT_ID,_0xba75('0xe')));return db[_0xba75('0xf')][_0xba75('0x10')]({'where':{'id':0x1},'raw':!![],'attributes':['id',_0xba75('0x11'),_0xba75('0x12')]})[_0xba75('0x13')](function(_0x8116d8){if(_0x8116d8){_0x2e8905=_0x8116d8;_0x4f4d0a=_0x2e8905[_0xba75('0x12')]||0x1388;}})['then'](function(){return dbH['sequelize'][_0xba75('0x14')](util['format'](_0xba75('0x15'),QUERY),{'type':dbH[_0xba75('0x16')][_0xba75('0x17')][_0xba75('0x18')]});})['then'](function(_0x31b3b3){if(!_0x31b3b3[0x0][_0xba75('0x19')]){return analyticExtractedReport(_0xba75('0x1a'));}var _0x4028f9=[];var _0x41c9e5=0x0;var _0x51112b=!![];if(_0x31b3b3&&_0x31b3b3[_0xba75('0x1b')]){var _0x2bf023=_0x31b3b3[0x0][_0xba75('0x19')]%(_0x41c9e5+_0x4f4d0a);if(_0x2e8905['split']){for(;_0x51112b;_0x41c9e5+=_0x4f4d0a,_0x2bf023=_0x31b3b3[0x0][_0xba75('0x19')]%(_0x41c9e5+_0x4f4d0a)){if(_0x2bf023==0x0||_0x2bf023==_0x31b3b3[0x0][_0xba75('0x19')]){_0x51112b=![];}_0x4028f9[_0xba75('0x1c')](dbH[_0xba75('0x16')][_0xba75('0x14')](util[_0xba75('0xc')]('%s\x20limit\x20%d\x20OFFSET\x20%d',QUERY,_0x4f4d0a,_0x41c9e5),{'type':dbH[_0xba75('0x16')][_0xba75('0x17')]['SELECT']}));}}else{_0x4028f9['push'](dbH[_0xba75('0x16')][_0xba75('0x14')](QUERY,{'type':dbH['sequelize']['QueryTypes'][_0xba75('0x18')]}));}}var _0x4e79a9=path[_0xba75('0x1d')](PATH);var _0x2ece41=path[_0xba75('0x1e')](PATH,'.csv');var _0x458475=_0x2e8905[_0xba75('0x11')]&&_0x4028f9[_0xba75('0x1b')]>0x1;var _0x3e9bd9=[];if(!fs[_0xba75('0x1f')](path[_0xba75('0x20')](_0x4e79a9,_0x2ece41))&&_0x458475){fs['mkdirSync'](path[_0xba75('0x20')](_0x4e79a9,_0x2ece41));}return BPromise[_0xba75('0x21')](_0x4028f9,function(_0xe579fb){_0x3e9bd9[_0xba75('0x1c')](_0xe579fb);})[_0xba75('0x13')](function(){for(var _0x44b1d4=0x0;_0x44b1d4<_0x3e9bd9[_0xba75('0x1b')];_0x44b1d4+=0x1){var _0x37f7c8;var _0x35c571=_0x3e9bd9[_0x44b1d4];if(_0x458475){_0x37f7c8=path[_0xba75('0x20')](_0x4e79a9,_0x2ece41,util['format']('%s%d.%s',_0x2ece41,_0x44b1d4,'csv'));}else{_0x37f7c8=path[_0xba75('0x20')](_0x4e79a9,util['format'](_0xba75('0x22'),_0x2ece41,'csv'));}fs[_0xba75('0x23')](_0x37f7c8,csv(_0x35c571));}})[_0xba75('0x13')](function(){if(_0x458475){zipdir(path[_0xba75('0x20')](_0x4e79a9,_0x2ece41),{'saveTo':path['join'](_0x4e79a9,util[_0xba75('0xc')](_0xba75('0x22'),_0x2ece41,_0xba75('0x24')))},function(_0x2808f0,_0x5d9f78){});rimraf(path['join'](_0x4e79a9,_0x2ece41),function(){});}})[_0xba75('0x13')](function(){logger['info'](util[_0xba75('0xc')](_0xba75('0x25'),EXTRACTED_REPORT_ID,_0xba75('0xe')));return analyticExtractedReport(_0xba75('0x26'),_0x458475?util['format'](_0xba75('0x22'),_0x2ece41,_0x458475?_0xba75('0x24'):'csv'):null);});})[_0xba75('0x27')](function(_0x37d6bb){logger[_0xba75('0xb')](util[_0xba75('0xc')]('Error\x20during\x20extraction\x20report\x20with\x20id\x20%d\x20in\x20%s\x20format',EXTRACTED_REPORT_ID,_0xba75('0xe')),util[_0xba75('0x28')](_0x37d6bb,{'showHidden':![],'depth':null}));return analyticExtractedReport('Failed');});}main(); \ No newline at end of file diff --git a/server/components/export/pdf.js b/server/components/export/pdf.js index b3dcf88..8c49f12 100644 --- a/server/components/export/pdf.js +++ b/server/components/export/pdf.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xb10b=['query','format','%s\x20limit\x20%d\x20OFFSET\x20%d','QueryTypes','push','SELECT','existsSync','join','mkdirSync','each','name','startDate','endDate','landscape','black','body','content','/fonts/Roboto-Medium.ttf','/fonts/Roboto-Italic.ttf','/fonts/Roboto-MediumItalic.ttf','createPdfKitDocument','pdf','%s.%s','pipe','createWriteStream','finish','log','err','end','zip','info','Completed','PDF','findOne','SELECT\x20count(*)\x20as\x20num\x20FROM\x20(%s)\x20t','catch','Error\x20during\x20extraction\x20report\x20with\x20id\x20%d\x20in\x20%s\x20format','Failed','lodash','util','path','moment','zip-dir','rimraf','../../mysqldb','dbH','../../config/logger','argv','MMMM\x20Do\x20YYYY,\x20h:mm:ss\x20a','savename','AnalyticExtractedReport','hasOwnProperty','tableHeader','num','Empty','dirname','basename','.pdf','Setting','find','split','then','splitSizePdf','length','sequelize'];(function(_0xe38287,_0x37ce5d){var _0x21f178=function(_0x3106df){while(--_0x3106df){_0xe38287['push'](_0xe38287['shift']());}};_0x21f178(++_0x37ce5d);}(_0xb10b,0x12a));var _0xbb10=function(_0x207811,_0x3420a6){_0x207811=_0x207811-0x0;var _0x170d56=_0xb10b[_0x207811];return _0x170d56;};'use strict';var _=require(_0xbb10('0x0'));var fs=require('fs');var BPromise=require('bluebird');var util=require(_0xbb10('0x1'));var path=require(_0xbb10('0x2'));var moment=require(_0xbb10('0x3'));var PdfPrinter=require('pdfmake/src/printer');var zipdir=require(_0xbb10('0x4'));var rimraf=require(_0xbb10('0x5'));var db=require(_0xbb10('0x6'))['db'];var dbH=require(_0xbb10('0x6'))[_0xbb10('0x7')];var logger=require(_0xbb10('0x8'))('analytics');var EXTRACTED_REPORT_ID=Number(process[_0xbb10('0x9')][0x2]);var QUERY=process[_0xbb10('0x9')][0x3];var PATH=process['argv'][0x4];var NAME=process[_0xbb10('0x9')][0x5];var FORMAT=_0xbb10('0xa');var _extractedReport;function analyticExtractedReport(_0x21370f,_0x1c3ee5){var _0x2353ef={'status':_0x21370f};var _0x1ce33e={'where':{'id':EXTRACTED_REPORT_ID}};if(_0x1c3ee5){_0x2353ef[_0xbb10('0xb')]=_0x1c3ee5;}return db[_0xbb10('0xc')]['update'](_0x2353ef,_0x1ce33e);}function getHeader(_0x4e47f8){var _0x20bd61=[];for(var _0x118a74 in _0x4e47f8){if(_0x4e47f8[_0xbb10('0xd')](_0x118a74)){_0x20bd61['push']({'text':_0x118a74,'style':_0xbb10('0xe')});}}return _0x20bd61;}function extractReport(_0x5be7e0){var _0x44fb19=0x1388;var _0x916a32;if(!_0x5be7e0[0x0][_0xbb10('0xf')]){return analyticExtractedReport(_0xbb10('0x10'));}var _0x442548=[];var _0x147230=0x0;var _0x58a612=!![];var _0x26e021=path[_0xbb10('0x11')](PATH);var _0x45b9d6=path[_0xbb10('0x12')](PATH,_0xbb10('0x13'));var _0x2f2ebf=![];var _0x24a57b=[];return db[_0xbb10('0x14')][_0xbb10('0x15')]({'where':{'id':0x1},'raw':!![],'attributes':['id',_0xbb10('0x16'),'splitSizePdf']})[_0xbb10('0x17')](function(_0x1145f1){if(_0x1145f1){_0x916a32=_0x1145f1;_0x44fb19=_0x916a32[_0xbb10('0x18')]||0x3e8;}})[_0xbb10('0x17')](function(){if(_0x5be7e0&&_0x5be7e0[_0xbb10('0x19')]){var _0x1682a4=_0x5be7e0[0x0][_0xbb10('0xf')]%(_0x147230+_0x44fb19);if(_0x916a32[_0xbb10('0x16')]){for(;_0x58a612;_0x147230+=_0x44fb19,_0x1682a4=_0x5be7e0[0x0][_0xbb10('0xf')]%(_0x147230+_0x44fb19)){if(_0x1682a4==0x0||_0x1682a4==_0x5be7e0[0x0][_0xbb10('0xf')]){_0x58a612=![];}_0x442548['push'](dbH[_0xbb10('0x1a')][_0xbb10('0x1b')](util[_0xbb10('0x1c')](_0xbb10('0x1d'),QUERY,_0x44fb19,_0x147230),{'type':dbH[_0xbb10('0x1a')][_0xbb10('0x1e')]['SELECT']}));}}else{_0x442548[_0xbb10('0x1f')](dbH[_0xbb10('0x1a')]['query'](QUERY,{'type':dbH['sequelize'][_0xbb10('0x1e')][_0xbb10('0x20')]}));}}_0x2f2ebf=_0x916a32[_0xbb10('0x16')]&&_0x442548[_0xbb10('0x19')]>0x1;if(!fs[_0xbb10('0x21')](path[_0xbb10('0x22')](_0x26e021,_0x45b9d6))&&_0x2f2ebf){fs[_0xbb10('0x23')](path[_0xbb10('0x22')](_0x26e021,_0x45b9d6));}return BPromise[_0xbb10('0x24')](_0x442548,function(_0x395404){_0x24a57b[_0xbb10('0x1f')](_0x395404);});})[_0xbb10('0x17')](function(){return BPromise['each'](_0x442548,function(_0x4fedac,_0x4fb5e0){var _0xc93a04;var _0x3c5ae7=util[_0xbb10('0x1c')]('Name:\x20%s\x0aReport:\x20%s\x0aFrom:\x20%s\x20To:\x20%s',NAME,_extractedReport[_0xbb10('0x25')],moment(_extractedReport[_0xbb10('0x26')])[_0xbb10('0x1c')](FORMAT),moment(_extractedReport[_0xbb10('0x27')])[_0xbb10('0x1c')](FORMAT));var _0x20d946={'pageSize':'A4','pageOrientation':_0xbb10('0x28'),'content':[{'text':_0x3c5ae7,'style':'header'}],'styles':{'header':{'fontSize':0x12,'bold':!![],'margin':[0x0,0x0,0x0,0xa]},'tableHeader':{'bold':!![],'fontSize':0xd,'color':_0xbb10('0x29')}}};var _0x21ac54={'headerRows':0x1,'body':[]};_0x21ac54[_0xbb10('0x2a')][_0xbb10('0x1f')](getHeader(_0x4fedac[0x0]));var _0x1d30aa;for(var _0x2ff4c1=0x0;_0x2ff4c1<_0x4fedac['length'];_0x2ff4c1+=0x1){_0x1d30aa=[];for(var _0x221624 in _0x4fedac[_0x2ff4c1]){if(_0x4fedac[_0x2ff4c1]['hasOwnProperty'](_0x221624)){_0x1d30aa[_0xbb10('0x1f')](_0x4fedac[_0x2ff4c1][_0x221624]?_['toString'](_0x4fedac[_0x2ff4c1][_0x221624]):'');}}_0x21ac54[_0xbb10('0x2a')][_0xbb10('0x1f')](_0x1d30aa);}_0x20d946[_0xbb10('0x2b')]['push']({'table':_0x21ac54});return new BPromise(function(_0x518d47,_0x4c3744){var _0x34f65e=new PdfPrinter({'Roboto':{'normal':__dirname+'/fonts/Roboto-Regular.ttf','bold':__dirname+_0xbb10('0x2c'),'italics':__dirname+_0xbb10('0x2d'),'bolditalics':__dirname+_0xbb10('0x2e')}});var _0x1c0b57=_0x34f65e[_0xbb10('0x2f')](_0x20d946);if(_0x2f2ebf){_0xc93a04=path[_0xbb10('0x22')](_0x26e021,_0x45b9d6,util[_0xbb10('0x1c')]('%s%d.%s',_0x45b9d6,_0x4fb5e0,_0xbb10('0x30')));}else{_0xc93a04=path[_0xbb10('0x22')](_0x26e021,util[_0xbb10('0x1c')](_0xbb10('0x31'),_0x45b9d6,_0xbb10('0x30')));}var _0x9de708=_0x1c0b57[_0xbb10('0x32')](fs[_0xbb10('0x33')](_0xc93a04));_0x9de708['on'](_0xbb10('0x34'),function(){_0x518d47();});_0x9de708['on']('error',function(_0x2b5352){console[_0xbb10('0x35')](_0xbb10('0x36'),_0x2b5352);_0x4c3744(_0x2b5352);});_0x1c0b57[_0xbb10('0x37')]();});});})['then'](function(){if(_0x2f2ebf){return new BPromise(function(_0x111762,_0x5de37b){zipdir(path['join'](_0x26e021,_0x45b9d6),{'saveTo':path[_0xbb10('0x22')](_0x26e021,util[_0xbb10('0x1c')](_0xbb10('0x31'),_0x45b9d6,_0xbb10('0x38')))},function(_0x15d895){if(_0x15d895){_0x5de37b(_0x15d895);}else{_0x111762();}});});}})[_0xbb10('0x17')](function(){if(_0x2f2ebf){rimraf(path['join'](_0x26e021,_0x45b9d6),function(){});}})[_0xbb10('0x17')](function(){logger[_0xbb10('0x39')](util['format']('Extraction\x20report\x20with\x20id\x20%d\x20in\x20%s\x20format\x20completed',EXTRACTED_REPORT_ID,'CSV'));return analyticExtractedReport(_0xbb10('0x3a'),_0x2f2ebf?util[_0xbb10('0x1c')](_0xbb10('0x31'),_0x45b9d6,_0x2f2ebf?'zip':_0xbb10('0x30')):null);});}function main(){logger[_0xbb10('0x39')](util[_0xbb10('0x1c')]('Start\x20extraction\x20report\x20with\x20id\x20%d\x20in\x20%s\x20format',EXTRACTED_REPORT_ID,_0xbb10('0x3b')));return db[_0xbb10('0xc')][_0xbb10('0x3c')]({'where':{'id':EXTRACTED_REPORT_ID}})[_0xbb10('0x17')](function(_0x4f1cdd){_extractedReport=_0x4f1cdd;return dbH[_0xbb10('0x1a')][_0xbb10('0x1b')](util['format'](_0xbb10('0x3d'),QUERY),{'type':dbH[_0xbb10('0x1a')][_0xbb10('0x1e')][_0xbb10('0x20')]});})[_0xbb10('0x17')](extractReport)[_0xbb10('0x3e')](function(_0x5f3d67){logger[_0xbb10('0x39')](util[_0xbb10('0x1c')](_0xbb10('0x3f'),EXTRACTED_REPORT_ID,_0xbb10('0x3b')),util['inspect'](_0x5f3d67,{'showHidden':![],'depth':null}));return analyticExtractedReport(_0xbb10('0x40'));});}main(); \ No newline at end of file +var _0xb10b=['query','format','%s\x20limit\x20%d\x20OFFSET\x20%d','QueryTypes','push','SELECT','existsSync','join','mkdirSync','each','name','startDate','endDate','landscape','black','body','content','/fonts/Roboto-Medium.ttf','/fonts/Roboto-Italic.ttf','/fonts/Roboto-MediumItalic.ttf','createPdfKitDocument','pdf','%s.%s','pipe','createWriteStream','finish','log','err','end','zip','info','Completed','PDF','findOne','SELECT\x20count(*)\x20as\x20num\x20FROM\x20(%s)\x20t','catch','Error\x20during\x20extraction\x20report\x20with\x20id\x20%d\x20in\x20%s\x20format','Failed','lodash','util','path','moment','zip-dir','rimraf','../../mysqldb','dbH','../../config/logger','argv','MMMM\x20Do\x20YYYY,\x20h:mm:ss\x20a','savename','AnalyticExtractedReport','hasOwnProperty','tableHeader','num','Empty','dirname','basename','.pdf','Setting','find','split','then','splitSizePdf','length','sequelize'];(function(_0x4362ae,_0x2522ef){var _0x3214b3=function(_0x340066){while(--_0x340066){_0x4362ae['push'](_0x4362ae['shift']());}};_0x3214b3(++_0x2522ef);}(_0xb10b,0x12a));var _0xbb10=function(_0x337d97,_0x19c381){_0x337d97=_0x337d97-0x0;var _0x53aa89=_0xb10b[_0x337d97];return _0x53aa89;};'use strict';var _=require(_0xbb10('0x0'));var fs=require('fs');var BPromise=require('bluebird');var util=require(_0xbb10('0x1'));var path=require(_0xbb10('0x2'));var moment=require(_0xbb10('0x3'));var PdfPrinter=require('pdfmake/src/printer');var zipdir=require(_0xbb10('0x4'));var rimraf=require(_0xbb10('0x5'));var db=require(_0xbb10('0x6'))['db'];var dbH=require(_0xbb10('0x6'))[_0xbb10('0x7')];var logger=require(_0xbb10('0x8'))('analytics');var EXTRACTED_REPORT_ID=Number(process[_0xbb10('0x9')][0x2]);var QUERY=process[_0xbb10('0x9')][0x3];var PATH=process['argv'][0x4];var NAME=process[_0xbb10('0x9')][0x5];var FORMAT=_0xbb10('0xa');var _extractedReport;function analyticExtractedReport(_0x21370f,_0x1c3ee5){var _0x2353ef={'status':_0x21370f};var _0x1ce33e={'where':{'id':EXTRACTED_REPORT_ID}};if(_0x1c3ee5){_0x2353ef[_0xbb10('0xb')]=_0x1c3ee5;}return db[_0xbb10('0xc')]['update'](_0x2353ef,_0x1ce33e);}function getHeader(_0x4e47f8){var _0x20bd61=[];for(var _0x118a74 in _0x4e47f8){if(_0x4e47f8[_0xbb10('0xd')](_0x118a74)){_0x20bd61['push']({'text':_0x118a74,'style':_0xbb10('0xe')});}}return _0x20bd61;}function extractReport(_0x5be7e0){var _0x44fb19=0x1388;var _0x916a32;if(!_0x5be7e0[0x0][_0xbb10('0xf')]){return analyticExtractedReport(_0xbb10('0x10'));}var _0x442548=[];var _0x147230=0x0;var _0x58a612=!![];var _0x26e021=path[_0xbb10('0x11')](PATH);var _0x45b9d6=path[_0xbb10('0x12')](PATH,_0xbb10('0x13'));var _0x2f2ebf=![];var _0x24a57b=[];return db[_0xbb10('0x14')][_0xbb10('0x15')]({'where':{'id':0x1},'raw':!![],'attributes':['id',_0xbb10('0x16'),'splitSizePdf']})[_0xbb10('0x17')](function(_0x1145f1){if(_0x1145f1){_0x916a32=_0x1145f1;_0x44fb19=_0x916a32[_0xbb10('0x18')]||0x3e8;}})[_0xbb10('0x17')](function(){if(_0x5be7e0&&_0x5be7e0[_0xbb10('0x19')]){var _0x1682a4=_0x5be7e0[0x0][_0xbb10('0xf')]%(_0x147230+_0x44fb19);if(_0x916a32[_0xbb10('0x16')]){for(;_0x58a612;_0x147230+=_0x44fb19,_0x1682a4=_0x5be7e0[0x0][_0xbb10('0xf')]%(_0x147230+_0x44fb19)){if(_0x1682a4==0x0||_0x1682a4==_0x5be7e0[0x0][_0xbb10('0xf')]){_0x58a612=![];}_0x442548['push'](dbH[_0xbb10('0x1a')][_0xbb10('0x1b')](util[_0xbb10('0x1c')](_0xbb10('0x1d'),QUERY,_0x44fb19,_0x147230),{'type':dbH[_0xbb10('0x1a')][_0xbb10('0x1e')]['SELECT']}));}}else{_0x442548[_0xbb10('0x1f')](dbH[_0xbb10('0x1a')]['query'](QUERY,{'type':dbH['sequelize'][_0xbb10('0x1e')][_0xbb10('0x20')]}));}}_0x2f2ebf=_0x916a32[_0xbb10('0x16')]&&_0x442548[_0xbb10('0x19')]>0x1;if(!fs[_0xbb10('0x21')](path[_0xbb10('0x22')](_0x26e021,_0x45b9d6))&&_0x2f2ebf){fs[_0xbb10('0x23')](path[_0xbb10('0x22')](_0x26e021,_0x45b9d6));}return BPromise[_0xbb10('0x24')](_0x442548,function(_0x395404){_0x24a57b[_0xbb10('0x1f')](_0x395404);});})[_0xbb10('0x17')](function(){return BPromise['each'](_0x442548,function(_0x4fedac,_0x4fb5e0){var _0xc93a04;var _0x3c5ae7=util[_0xbb10('0x1c')]('Name:\x20%s\x0aReport:\x20%s\x0aFrom:\x20%s\x20To:\x20%s',NAME,_extractedReport[_0xbb10('0x25')],moment(_extractedReport[_0xbb10('0x26')])[_0xbb10('0x1c')](FORMAT),moment(_extractedReport[_0xbb10('0x27')])[_0xbb10('0x1c')](FORMAT));var _0x20d946={'pageSize':'A4','pageOrientation':_0xbb10('0x28'),'content':[{'text':_0x3c5ae7,'style':'header'}],'styles':{'header':{'fontSize':0x12,'bold':!![],'margin':[0x0,0x0,0x0,0xa]},'tableHeader':{'bold':!![],'fontSize':0xd,'color':_0xbb10('0x29')}}};var _0x21ac54={'headerRows':0x1,'body':[]};_0x21ac54[_0xbb10('0x2a')][_0xbb10('0x1f')](getHeader(_0x4fedac[0x0]));var _0x1d30aa;for(var _0x2ff4c1=0x0;_0x2ff4c1<_0x4fedac['length'];_0x2ff4c1+=0x1){_0x1d30aa=[];for(var _0x221624 in _0x4fedac[_0x2ff4c1]){if(_0x4fedac[_0x2ff4c1]['hasOwnProperty'](_0x221624)){_0x1d30aa[_0xbb10('0x1f')](_0x4fedac[_0x2ff4c1][_0x221624]?_['toString'](_0x4fedac[_0x2ff4c1][_0x221624]):'');}}_0x21ac54[_0xbb10('0x2a')][_0xbb10('0x1f')](_0x1d30aa);}_0x20d946[_0xbb10('0x2b')]['push']({'table':_0x21ac54});return new BPromise(function(_0x518d47,_0x4c3744){var _0x34f65e=new PdfPrinter({'Roboto':{'normal':__dirname+'/fonts/Roboto-Regular.ttf','bold':__dirname+_0xbb10('0x2c'),'italics':__dirname+_0xbb10('0x2d'),'bolditalics':__dirname+_0xbb10('0x2e')}});var _0x1c0b57=_0x34f65e[_0xbb10('0x2f')](_0x20d946);if(_0x2f2ebf){_0xc93a04=path[_0xbb10('0x22')](_0x26e021,_0x45b9d6,util[_0xbb10('0x1c')]('%s%d.%s',_0x45b9d6,_0x4fb5e0,_0xbb10('0x30')));}else{_0xc93a04=path[_0xbb10('0x22')](_0x26e021,util[_0xbb10('0x1c')](_0xbb10('0x31'),_0x45b9d6,_0xbb10('0x30')));}var _0x9de708=_0x1c0b57[_0xbb10('0x32')](fs[_0xbb10('0x33')](_0xc93a04));_0x9de708['on'](_0xbb10('0x34'),function(){_0x518d47();});_0x9de708['on']('error',function(_0x2b5352){console[_0xbb10('0x35')](_0xbb10('0x36'),_0x2b5352);_0x4c3744(_0x2b5352);});_0x1c0b57[_0xbb10('0x37')]();});});})['then'](function(){if(_0x2f2ebf){return new BPromise(function(_0x111762,_0x5de37b){zipdir(path['join'](_0x26e021,_0x45b9d6),{'saveTo':path[_0xbb10('0x22')](_0x26e021,util[_0xbb10('0x1c')](_0xbb10('0x31'),_0x45b9d6,_0xbb10('0x38')))},function(_0x15d895){if(_0x15d895){_0x5de37b(_0x15d895);}else{_0x111762();}});});}})[_0xbb10('0x17')](function(){if(_0x2f2ebf){rimraf(path['join'](_0x26e021,_0x45b9d6),function(){});}})[_0xbb10('0x17')](function(){logger[_0xbb10('0x39')](util['format']('Extraction\x20report\x20with\x20id\x20%d\x20in\x20%s\x20format\x20completed',EXTRACTED_REPORT_ID,'CSV'));return analyticExtractedReport(_0xbb10('0x3a'),_0x2f2ebf?util[_0xbb10('0x1c')](_0xbb10('0x31'),_0x45b9d6,_0x2f2ebf?'zip':_0xbb10('0x30')):null);});}function main(){logger[_0xbb10('0x39')](util[_0xbb10('0x1c')]('Start\x20extraction\x20report\x20with\x20id\x20%d\x20in\x20%s\x20format',EXTRACTED_REPORT_ID,_0xbb10('0x3b')));return db[_0xbb10('0xc')][_0xbb10('0x3c')]({'where':{'id':EXTRACTED_REPORT_ID}})[_0xbb10('0x17')](function(_0x4f1cdd){_extractedReport=_0x4f1cdd;return dbH[_0xbb10('0x1a')][_0xbb10('0x1b')](util['format'](_0xbb10('0x3d'),QUERY),{'type':dbH[_0xbb10('0x1a')][_0xbb10('0x1e')][_0xbb10('0x20')]});})[_0xbb10('0x17')](extractReport)[_0xbb10('0x3e')](function(_0x5f3d67){logger[_0xbb10('0x39')](util[_0xbb10('0x1c')](_0xbb10('0x3f'),EXTRACTED_REPORT_ID,_0xbb10('0x3b')),util['inspect'](_0x5f3d67,{'showHidden':![],'depth':null}));return analyticExtractedReport(_0xbb10('0x40'));});}main(); \ No newline at end of file diff --git a/server/components/export/xlsx.js b/server/components/export/xlsx.js index 8600fea..addd4fc 100644 --- a/server/components/export/xlsx.js +++ b/server/components/export/xlsx.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x3914=['sequelize','query','SELECT\x20count(*)\x20as\x20num\x20FROM\x20(%s)\x20t','QueryTypes','SELECT','Empty','length','num','push','%s\x20limit\x20%d\x20OFFSET\x20%d','dirname','.xlsx','existsSync','mkdirSync','join','each','%s.%s','xlsx','writeFileSync','info','Extraction\x20report\x20with\x20id\x20%d\x20in\x20%s\x20format\x20completed','Completed','Error\x20during\x20extraction\x20report\x20with\x20id\x20%d\x20in\x20%s\x20format','inspect','Failed','util','path','json2xls','bluebird','rimraf','../../mysqldb','../../config/logger','analytics','argv','update','format','Start\x20extraction\x20report\x20with\x20id\x20%d\x20in\x20%s\x20format','XLSX','Setting','split','splitSizeXlsx','then'];(function(_0xfb0ec4,_0x33037d){var _0x1a2829=function(_0x55550b){while(--_0x55550b){_0xfb0ec4['push'](_0xfb0ec4['shift']());}};_0x1a2829(++_0x33037d);}(_0x3914,0xeb));var _0x4391=function(_0x1cfa0d,_0x4391f2){_0x1cfa0d=_0x1cfa0d-0x0;var _0xe33279=_0x3914[_0x1cfa0d];return _0xe33279;};'use strict';var util=require(_0x4391('0x0'));var path=require(_0x4391('0x1'));var _=require('lodash');var fs=require('fs');var json2xls=require(_0x4391('0x2'));var BPromise=require(_0x4391('0x3'));var zipdir=require('zip-dir');var rimraf=require(_0x4391('0x4'));var db=require(_0x4391('0x5'))['db'];var dbH=require(_0x4391('0x5'))['dbH'];var logger=require(_0x4391('0x6'))(_0x4391('0x7'));var EXTRACTED_REPORT_ID=Number(process['argv'][0x2]);var QUERY=process[_0x4391('0x8')][0x3];var PATH=process['argv'][0x4];function analyticExtractedReport(_0x4733a2,_0x5c32ac){var _0x378c09={'status':_0x4733a2};var _0x17bcfb={'where':{'id':EXTRACTED_REPORT_ID}};if(_0x5c32ac){_0x378c09['savename']=_0x5c32ac;}return db['AnalyticExtractedReport'][_0x4391('0x9')](_0x378c09,_0x17bcfb);}function main(){var _0x1b726e=0x1388;var _0x3539e3;logger['info'](util[_0x4391('0xa')](_0x4391('0xb'),EXTRACTED_REPORT_ID,_0x4391('0xc')));return db[_0x4391('0xd')]['find']({'where':{'id':0x1},'raw':!![],'attributes':['id',_0x4391('0xe'),_0x4391('0xf')]})[_0x4391('0x10')](function(_0x137902){if(_0x137902){_0x3539e3=_0x137902;_0x1b726e=_0x3539e3[_0x4391('0xf')]||0x1388;}})[_0x4391('0x10')](function(){return dbH[_0x4391('0x11')][_0x4391('0x12')](util['format'](_0x4391('0x13'),QUERY),{'type':dbH[_0x4391('0x11')][_0x4391('0x14')][_0x4391('0x15')]});})['then'](function(_0x62c763){if(!_0x62c763[0x0]['num']){return analyticExtractedReport(_0x4391('0x16'));}var _0x3a1b80=[];var _0x3e4585=0x0;var _0x1c2038=!![];if(_0x3539e3[_0x4391('0xe')]){if(_0x62c763&&_0x62c763[_0x4391('0x17')]){var _0x2b5117=_0x62c763[0x0][_0x4391('0x18')]%(_0x3e4585+_0x1b726e);for(;_0x1c2038;_0x3e4585+=_0x1b726e,_0x2b5117=_0x62c763[0x0]['num']%(_0x3e4585+_0x1b726e)){if(_0x2b5117==0x0||_0x2b5117==_0x62c763[0x0]['num']){_0x1c2038=![];}_0x3a1b80[_0x4391('0x19')](dbH['sequelize'][_0x4391('0x12')](util[_0x4391('0xa')](_0x4391('0x1a'),QUERY,_0x1b726e,_0x3e4585),{'type':dbH[_0x4391('0x11')][_0x4391('0x14')]['SELECT']}));}}}else{_0x3a1b80['push'](dbH[_0x4391('0x11')][_0x4391('0x12')](QUERY,{'type':dbH[_0x4391('0x11')]['QueryTypes'][_0x4391('0x15')]}));}var _0x23fe8c=path[_0x4391('0x1b')](PATH);var _0x3e1e0b=path['basename'](PATH,_0x4391('0x1c'));var _0x2b7a1d=_0x3539e3[_0x4391('0xe')]&&_0x3a1b80[_0x4391('0x17')]>0x1;var _0x24e16c=[];if(!fs[_0x4391('0x1d')](path['join'](_0x23fe8c,_0x3e1e0b))&&_0x2b7a1d){fs[_0x4391('0x1e')](path[_0x4391('0x1f')](_0x23fe8c,_0x3e1e0b));}return BPromise[_0x4391('0x20')](_0x3a1b80,function(_0x333ca6){_0x24e16c['push'](_0x333ca6);})['then'](function(){for(var _0x11c859=0x0;_0x11c859<_0x24e16c[_0x4391('0x17')];_0x11c859+=0x1){var _0x3f2554;var _0x197408=_0x24e16c[_0x11c859];if(_0x2b7a1d){_0x3f2554=path[_0x4391('0x1f')](_0x23fe8c,_0x3e1e0b,util['format']('%s%d.%s',_0x3e1e0b,_0x11c859,'xlsx'));}else{_0x3f2554=path['join'](_0x23fe8c,util[_0x4391('0xa')](_0x4391('0x21'),_0x3e1e0b,_0x4391('0x22')));}fs[_0x4391('0x23')](_0x3f2554,json2xls(_0x197408),'binary');}})[_0x4391('0x10')](function(){if(_0x2b7a1d){zipdir(path[_0x4391('0x1f')](_0x23fe8c,_0x3e1e0b),{'saveTo':path[_0x4391('0x1f')](_0x23fe8c,util[_0x4391('0xa')](_0x4391('0x21'),_0x3e1e0b,'zip'))},function(_0x1a8df0,_0x3edb24){});rimraf(path[_0x4391('0x1f')](_0x23fe8c,_0x3e1e0b),function(){});}})[_0x4391('0x10')](function(){logger[_0x4391('0x24')](util[_0x4391('0xa')](_0x4391('0x25'),EXTRACTED_REPORT_ID,_0x4391('0xc')));return analyticExtractedReport(_0x4391('0x26'),_0x2b7a1d?util[_0x4391('0xa')](_0x4391('0x21'),_0x3e1e0b,_0x2b7a1d?'zip':_0x4391('0x22')):null);});})['catch'](function(_0x122405){logger['info'](util['format'](_0x4391('0x27'),EXTRACTED_REPORT_ID,_0x4391('0xc')),util[_0x4391('0x28')](_0x122405,{'showHidden':![],'depth':null}));return analyticExtractedReport(_0x4391('0x29'));});}main(); \ No newline at end of file +var _0xe9e4=['json2xls','bluebird','zip-dir','../../mysqldb','dbH','../../config/logger','analytics','argv','AnalyticExtractedReport','format','Start\x20extraction\x20report\x20with\x20id\x20%d\x20in\x20%s\x20format','XLSX','split','splitSizeXlsx','then','query','sequelize','QueryTypes','SELECT','num','length','push','dirname','basename','.xlsx','existsSync','join','mkdirSync','each','%s%d.%s','xlsx','writeFileSync','binary','%s.%s','zip','info','Extraction\x20report\x20with\x20id\x20%d\x20in\x20%s\x20format\x20completed','Completed','catch','Error\x20during\x20extraction\x20report\x20with\x20id\x20%d\x20in\x20%s\x20format','inspect','Failed','path','lodash'];(function(_0x8bd2c8,_0x243064){var _0x38f09e=function(_0x162324){while(--_0x162324){_0x8bd2c8['push'](_0x8bd2c8['shift']());}};_0x38f09e(++_0x243064);}(_0xe9e4,0x1e2));var _0x4e9e=function(_0x13ab9c,_0x4c656b){_0x13ab9c=_0x13ab9c-0x0;var _0x44a2c0=_0xe9e4[_0x13ab9c];return _0x44a2c0;};'use strict';var util=require('util');var path=require(_0x4e9e('0x0'));var _=require(_0x4e9e('0x1'));var fs=require('fs');var json2xls=require(_0x4e9e('0x2'));var BPromise=require(_0x4e9e('0x3'));var zipdir=require(_0x4e9e('0x4'));var rimraf=require('rimraf');var db=require(_0x4e9e('0x5'))['db'];var dbH=require('../../mysqldb')[_0x4e9e('0x6')];var logger=require(_0x4e9e('0x7'))(_0x4e9e('0x8'));var EXTRACTED_REPORT_ID=Number(process[_0x4e9e('0x9')][0x2]);var QUERY=process[_0x4e9e('0x9')][0x3];var PATH=process[_0x4e9e('0x9')][0x4];function analyticExtractedReport(_0x1571a2,_0x2b7a58){var _0xb15218={'status':_0x1571a2};var _0x2d13cf={'where':{'id':EXTRACTED_REPORT_ID}};if(_0x2b7a58){_0xb15218['savename']=_0x2b7a58;}return db[_0x4e9e('0xa')]['update'](_0xb15218,_0x2d13cf);}function main(){var _0x29dcfd=0x1388;var _0x3c6c5b;logger['info'](util[_0x4e9e('0xb')](_0x4e9e('0xc'),EXTRACTED_REPORT_ID,_0x4e9e('0xd')));return db['Setting']['find']({'where':{'id':0x1},'raw':!![],'attributes':['id',_0x4e9e('0xe'),_0x4e9e('0xf')]})[_0x4e9e('0x10')](function(_0x188849){if(_0x188849){_0x3c6c5b=_0x188849;_0x29dcfd=_0x3c6c5b[_0x4e9e('0xf')]||0x1388;}})[_0x4e9e('0x10')](function(){return dbH['sequelize'][_0x4e9e('0x11')](util[_0x4e9e('0xb')]('SELECT\x20count(*)\x20as\x20num\x20FROM\x20(%s)\x20t',QUERY),{'type':dbH[_0x4e9e('0x12')][_0x4e9e('0x13')][_0x4e9e('0x14')]});})[_0x4e9e('0x10')](function(_0xa4c71f){if(!_0xa4c71f[0x0][_0x4e9e('0x15')]){return analyticExtractedReport('Empty');}var _0x1c68b1=[];var _0x1c588b=0x0;var _0xe5102e=!![];if(_0x3c6c5b[_0x4e9e('0xe')]){if(_0xa4c71f&&_0xa4c71f[_0x4e9e('0x16')]){var _0x43e1ca=_0xa4c71f[0x0][_0x4e9e('0x15')]%(_0x1c588b+_0x29dcfd);for(;_0xe5102e;_0x1c588b+=_0x29dcfd,_0x43e1ca=_0xa4c71f[0x0][_0x4e9e('0x15')]%(_0x1c588b+_0x29dcfd)){if(_0x43e1ca==0x0||_0x43e1ca==_0xa4c71f[0x0][_0x4e9e('0x15')]){_0xe5102e=![];}_0x1c68b1[_0x4e9e('0x17')](dbH[_0x4e9e('0x12')][_0x4e9e('0x11')](util[_0x4e9e('0xb')]('%s\x20limit\x20%d\x20OFFSET\x20%d',QUERY,_0x29dcfd,_0x1c588b),{'type':dbH[_0x4e9e('0x12')][_0x4e9e('0x13')][_0x4e9e('0x14')]}));}}}else{_0x1c68b1['push'](dbH[_0x4e9e('0x12')][_0x4e9e('0x11')](QUERY,{'type':dbH[_0x4e9e('0x12')][_0x4e9e('0x13')]['SELECT']}));}var _0x2285cf=path[_0x4e9e('0x18')](PATH);var _0x571a19=path[_0x4e9e('0x19')](PATH,_0x4e9e('0x1a'));var _0xf88e6a=_0x3c6c5b[_0x4e9e('0xe')]&&_0x1c68b1[_0x4e9e('0x16')]>0x1;var _0x3f14c1=[];if(!fs[_0x4e9e('0x1b')](path[_0x4e9e('0x1c')](_0x2285cf,_0x571a19))&&_0xf88e6a){fs[_0x4e9e('0x1d')](path[_0x4e9e('0x1c')](_0x2285cf,_0x571a19));}return BPromise[_0x4e9e('0x1e')](_0x1c68b1,function(_0x56abc4){_0x3f14c1[_0x4e9e('0x17')](_0x56abc4);})[_0x4e9e('0x10')](function(){for(var _0x171f06=0x0;_0x171f06<_0x3f14c1[_0x4e9e('0x16')];_0x171f06+=0x1){var _0x3ec159;var _0xf91a9d=_0x3f14c1[_0x171f06];if(_0xf88e6a){_0x3ec159=path['join'](_0x2285cf,_0x571a19,util[_0x4e9e('0xb')](_0x4e9e('0x1f'),_0x571a19,_0x171f06,'xlsx'));}else{_0x3ec159=path[_0x4e9e('0x1c')](_0x2285cf,util['format']('%s.%s',_0x571a19,_0x4e9e('0x20')));}fs[_0x4e9e('0x21')](_0x3ec159,json2xls(_0xf91a9d),_0x4e9e('0x22'));}})[_0x4e9e('0x10')](function(){if(_0xf88e6a){zipdir(path[_0x4e9e('0x1c')](_0x2285cf,_0x571a19),{'saveTo':path[_0x4e9e('0x1c')](_0x2285cf,util['format'](_0x4e9e('0x23'),_0x571a19,_0x4e9e('0x24')))},function(_0x5377ec,_0x3f5b7c){});rimraf(path[_0x4e9e('0x1c')](_0x2285cf,_0x571a19),function(){});}})[_0x4e9e('0x10')](function(){logger[_0x4e9e('0x25')](util[_0x4e9e('0xb')](_0x4e9e('0x26'),EXTRACTED_REPORT_ID,_0x4e9e('0xd')));return analyticExtractedReport(_0x4e9e('0x27'),_0xf88e6a?util[_0x4e9e('0xb')]('%s.%s',_0x571a19,_0xf88e6a?'zip':_0x4e9e('0x20')):null);});})[_0x4e9e('0x28')](function(_0x33ab1f){logger[_0x4e9e('0x25')](util['format'](_0x4e9e('0x29'),EXTRACTED_REPORT_ID,_0x4e9e('0xd')),util[_0x4e9e('0x2a')](_0x33ab1f,{'showHidden':![],'depth':null}));return analyticExtractedReport(_0x4e9e('0x2b'));});}main(); \ No newline at end of file diff --git a/server/components/extensions/rewrite.js b/server/components/extensions/rewrite.js index a3e858e..96d6a4b 100644 --- a/server/components/extensions/rewrite.js +++ b/server/components/extensions/rewrite.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xcf66=['IntervalId','map','CAST(priority\x20AS\x20UNSIGNED)','filter','groupBy','exten','queue','playback','hasOwnProperty','priority','extensions','extension','find','type','format','context','VoiceExtensionId','outbound','push','Set','CDR(destination)=','cutdigits','${EXTEN:','${EXTEN}','CDR(routeid)=','ExecIf','):Goto(','CDR(prefix)=${EXTEN:0:','CDR(prefix)=noprefix','recordingFormat','none','_XCALLY_MIXMONITOR_UNIQUEID=${UNIQUEID}','_XCALLY_MIXMONITOR_FORMAT=','wav','XCALLY-MOTION-ANSWER=0','XCALLY-MOTION-PROGRESS=0','MONITOR_OPTIONS=ab','length','toLowerCase','createdAt','updatedAt','interval','*,*,*,*','tag','CDR(tag)=','callerID','$[${LEN(${PREFIX-CALLERIDALL})}\x20>\x200]?Set(CALLERID(all)=${PREFIX-CALLERIDALL}):Set(CALLERID(all)=','answer','appType','custom','$[${XCALLY-MOTION-ANSWER}=0]?Answer','$[${XCALLY-MOTION-PROGRESS}=0]?Progress','XCALLY-MOTION-PROGRESS=1','splice','GotoIfTime','last','Hangup','concat','transaction','destroy','bulkCreate','sortBy','catch','error','rewrite','lodash','util','Interval','findAll','then','intervals','models','VoiceExtension'];(function(_0x1c9906,_0x3cd175){var _0x1726d8=function(_0x469f42){while(--_0x469f42){_0x1c9906['push'](_0x1c9906['shift']());}};_0x1726d8(++_0x3cd175);}(_0xcf66,0x11c));var _0x6cf6=function(_0x57619d,_0x16bb68){_0x57619d=_0x57619d-0x0;var _0x59aa12=_0xcf66[_0x57619d];return _0x59aa12;};'use strict';var _=require(_0x6cf6('0x0'));var util=require(_0x6cf6('0x1'));function rewrite(_0x10a016,_0x16ffba){var _0x5d3535=this;return _0x10a016['models'][_0x6cf6('0x2')][_0x6cf6('0x3')]({'raw':!![]})[_0x6cf6('0x4')](function(_0x50ff93){_0x5d3535[_0x6cf6('0x5')]=_0x50ff93;return _0x10a016[_0x6cf6('0x6')][_0x6cf6('0x7')][_0x6cf6('0x3')]({'where':{'IntervalId':_0x16ffba[_0x6cf6('0x8')]},'raw':!![]});})[_0x6cf6('0x4')](function(_0x447a00){return _0x10a016[_0x6cf6('0x6')][_0x6cf6('0x7')][_0x6cf6('0x3')]({'where':{'exten':{'$in':_['uniq'](_[_0x6cf6('0x9')](_0x447a00,'exten'))}},'order':[{'raw':_0x6cf6('0xa')}],'raw':!![]});})[_0x6cf6('0x4')](function(_0x3d59fd){var _0xa01063=_[_0x6cf6('0xb')](_0x3d59fd,{'priority':'1'});var _0x392608=_[_0x6cf6('0xb')](_0x3d59fd,{'isApp':0x1});var _0x547270=_[_0x6cf6('0xc')](_0x392608,_0x6cf6('0xd'));var _0x2b9834=[_0x6cf6('0xe'),_0x6cf6('0xf')];var _0x336a56=[];var _0x5baf4d=[];for(var _0x1b45a4 in _0x547270){if(_0x547270[_0x6cf6('0x10')](_0x1b45a4)){_0x5d3535[_0x6cf6('0x11')]=0x2;_0x5d3535[_0x6cf6('0x12')]=[];_0x5d3535[_0x6cf6('0x13')]=_[_0x6cf6('0x14')](_0xa01063,{'exten':_0x547270[_0x1b45a4][0x0][_0x6cf6('0xd')]});_0x5d3535[_0x6cf6('0x12')]['push']({'type':_0x547270[_0x1b45a4][0x0][_0x6cf6('0x15')],'app':'Set','appdata':util[_0x6cf6('0x16')]('CDR(type)=%s',_0x547270[_0x1b45a4][0x0][_0x6cf6('0x15')]),'context':_0x547270[_0x1b45a4][0x0][_0x6cf6('0x17')],'exten':_0x547270[_0x1b45a4][0x0]['exten'],'priority':_0x5d3535[_0x6cf6('0x11')]++,'VoiceExtensionId':_0x547270[_0x1b45a4][0x0][_0x6cf6('0x18')]});if(_0x547270[_0x1b45a4][0x0][_0x6cf6('0x15')]===_0x6cf6('0x19')){if(_0x5d3535['extension']){_0x5d3535[_0x6cf6('0x12')][_0x6cf6('0x1a')]({'type':_0x547270[_0x1b45a4][0x0][_0x6cf6('0x15')],'app':_0x6cf6('0x1b'),'appdata':_0x6cf6('0x1c')+(_0x5d3535[_0x6cf6('0x13')][_0x6cf6('0x1d')]?_0x6cf6('0x1e')+_0x5d3535['extension']['cutdigits']+'}':_0x6cf6('0x1f')),'context':_0x547270[_0x1b45a4][0x0][_0x6cf6('0x17')],'exten':_0x547270[_0x1b45a4][0x0]['exten'],'priority':_0x5d3535[_0x6cf6('0x11')]++,'VoiceExtensionId':_0x547270[_0x1b45a4][0x0][_0x6cf6('0x18')]});}_0x5d3535['extensions'][_0x6cf6('0x1a')]({'type':_0x547270[_0x1b45a4][0x0]['type'],'app':_0x6cf6('0x1b'),'appdata':_0x6cf6('0x20')+_0x547270[_0x1b45a4][0x0][_0x6cf6('0x18')],'context':_0x547270[_0x1b45a4][0x0]['context'],'exten':_0x547270[_0x1b45a4][0x0]['exten'],'priority':_0x5d3535[_0x6cf6('0x11')]++,'VoiceExtensionId':_0x547270[_0x1b45a4][0x0][_0x6cf6('0x18')]});var _0x25ceab=_0x5d3535[_0x6cf6('0x11')]++;_0x5d3535[_0x6cf6('0x12')]['push']({'type':_0x547270[_0x1b45a4][0x0][_0x6cf6('0x15')],'app':_0x6cf6('0x21'),'appdata':'$[${LEN(${CDR(prefix)})}\x20>\x200]?Goto('+(_0x25ceab+0x2)+_0x6cf6('0x22')+(_0x25ceab+0x1)+')','context':_0x547270[_0x1b45a4][0x0][_0x6cf6('0x17')],'exten':_0x547270[_0x1b45a4][0x0][_0x6cf6('0xd')],'priority':_0x25ceab,'VoiceExtensionId':_0x547270[_0x1b45a4][0x0][_0x6cf6('0x18')]});if(_0x5d3535['extension']){_0x5d3535[_0x6cf6('0x12')]['push']({'type':_0x547270[_0x1b45a4][0x0]['type'],'app':'Set','appdata':_0x5d3535['extension'][_0x6cf6('0x1d')]?_0x6cf6('0x23')+_0x5d3535[_0x6cf6('0x13')][_0x6cf6('0x1d')]+'}':_0x6cf6('0x24'),'context':_0x547270[_0x1b45a4][0x0]['context'],'exten':_0x547270[_0x1b45a4][0x0][_0x6cf6('0xd')],'priority':_0x5d3535['priority']++,'VoiceExtensionId':_0x547270[_0x1b45a4][0x0][_0x6cf6('0x18')]});}_0x5d3535[_0x6cf6('0x12')][_0x6cf6('0x1a')]({'type':_0x547270[_0x1b45a4][0x0][_0x6cf6('0x15')],'app':'Set','appdata':'outboundrouteid='+_0x547270[_0x1b45a4][0x0][_0x6cf6('0x18')],'context':_0x547270[_0x1b45a4][0x0][_0x6cf6('0x17')],'exten':_0x547270[_0x1b45a4][0x0][_0x6cf6('0xd')],'priority':_0x5d3535[_0x6cf6('0x11')]++,'VoiceExtensionId':_0x547270[_0x1b45a4][0x0][_0x6cf6('0x18')]});if(_0x5d3535[_0x6cf6('0x13')]&&_0x5d3535[_0x6cf6('0x13')][_0x6cf6('0x10')](_0x6cf6('0x25'))&&_0x5d3535[_0x6cf6('0x13')][_0x6cf6('0x25')]!==_0x6cf6('0x26')){_0x5d3535[_0x6cf6('0x12')][_0x6cf6('0x1a')]({'type':_0x547270[_0x1b45a4][0x0][_0x6cf6('0x15')],'app':_0x6cf6('0x1b'),'appdata':_0x6cf6('0x27'),'context':_0x547270[_0x1b45a4][0x0][_0x6cf6('0x17')],'exten':_0x547270[_0x1b45a4][0x0]['exten'],'priority':_0x5d3535[_0x6cf6('0x11')]++,'VoiceExtensionId':_0x547270[_0x1b45a4][0x0][_0x6cf6('0x18')]});_0x5d3535[_0x6cf6('0x12')][_0x6cf6('0x1a')]({'type':_0x547270[_0x1b45a4][0x0][_0x6cf6('0x15')],'app':_0x6cf6('0x1b'),'appdata':_0x6cf6('0x28')+_0x5d3535[_0x6cf6('0x13')][_0x6cf6('0x25')]||_0x6cf6('0x29'),'context':_0x547270[_0x1b45a4][0x0]['context'],'exten':_0x547270[_0x1b45a4][0x0][_0x6cf6('0xd')],'priority':_0x5d3535[_0x6cf6('0x11')]++,'VoiceExtensionId':_0x547270[_0x1b45a4][0x0]['VoiceExtensionId']});}}_0x5d3535['extensions'][_0x6cf6('0x1a')]({'type':_0x547270[_0x1b45a4][0x0]['type'],'app':_0x6cf6('0x1b'),'appdata':_0x6cf6('0x2a'),'context':_0x547270[_0x1b45a4][0x0][_0x6cf6('0x17')],'exten':_0x547270[_0x1b45a4][0x0][_0x6cf6('0xd')],'priority':_0x5d3535[_0x6cf6('0x11')]++,'VoiceExtensionId':_0x547270[_0x1b45a4][0x0][_0x6cf6('0x18')]});_0x5d3535['extensions'][_0x6cf6('0x1a')]({'type':_0x547270[_0x1b45a4][0x0]['type'],'app':_0x6cf6('0x1b'),'appdata':_0x6cf6('0x2b'),'context':_0x547270[_0x1b45a4][0x0][_0x6cf6('0x17')],'exten':_0x547270[_0x1b45a4][0x0]['exten'],'priority':_0x5d3535[_0x6cf6('0x11')]++,'VoiceExtensionId':_0x547270[_0x1b45a4][0x0][_0x6cf6('0x18')]});_0x5d3535[_0x6cf6('0x12')][_0x6cf6('0x1a')]({'type':_0x547270[_0x1b45a4][0x0][_0x6cf6('0x15')],'app':_0x6cf6('0x1b'),'appdata':_0x6cf6('0x2c'),'context':_0x547270[_0x1b45a4][0x0]['context'],'exten':_0x547270[_0x1b45a4][0x0][_0x6cf6('0xd')],'priority':_0x5d3535[_0x6cf6('0x11')]++,'VoiceExtensionId':_0x547270[_0x1b45a4][0x0][_0x6cf6('0x18')]});for(var _0x3383ac=0x0,_0x1db020=0x0;_0x3383ac<_0x547270[_0x1b45a4][_0x6cf6('0x2d')];_0x3383ac+=0x1,_0x1db020=0x0){var _0x1dd4e1=_0x547270[_0x1b45a4][_0x3383ac];if(_0x1dd4e1[_0x6cf6('0x15')]){_0x1dd4e1[_0x6cf6('0x15')]=_0x1dd4e1[_0x6cf6('0x15')][_0x6cf6('0x2e')]();}var _0x3b88ec=[];var _0x37900a=[];delete _0x1dd4e1['id'];delete _0x1dd4e1[_0x6cf6('0x2f')];delete _0x1dd4e1[_0x6cf6('0x30')];var _0x527ab1=_0x1dd4e1[_0x6cf6('0x31')]!==_0x6cf6('0x32')?[_0x1dd4e1[_0x6cf6('0x31')]]:_0x1dd4e1[_0x6cf6('0x8')]?_[_0x6cf6('0x9')](_[_0x6cf6('0xb')](_0x5d3535['intervals'],{'IntervalId':_0x1dd4e1[_0x6cf6('0x8')]}),_0x6cf6('0x31')):[];if(_0x1dd4e1['hasOwnProperty'](_0x6cf6('0x33'))){if(_0x1dd4e1[_0x6cf6('0x33')]&&_0x1dd4e1[_0x6cf6('0x33')]!=='--'){_0x3b88ec['push']({'type':_0x1dd4e1[_0x6cf6('0x15')],'app':_0x6cf6('0x1b'),'appdata':_0x6cf6('0x34')+_0x1dd4e1[_0x6cf6('0x33')],'context':_0x1dd4e1['context'],'exten':_0x1dd4e1[_0x6cf6('0xd')],'priority':_0x527ab1[_0x6cf6('0x2d')]+_0x5d3535[_0x6cf6('0x11')]+_0x1db020++,'VoiceExtensionId':_0x1dd4e1[_0x6cf6('0x18')]});}}if(_0x1dd4e1[_0x6cf6('0x15')]===_0x6cf6('0x19')&&_0x1dd4e1[_0x6cf6('0x10')](_0x6cf6('0x35'))){if(_0x1dd4e1[_0x6cf6('0x35')]){_0x3b88ec['push']({'type':_0x1dd4e1[_0x6cf6('0x15')],'app':_0x6cf6('0x21'),'appdata':_0x6cf6('0x36')+_0x1dd4e1[_0x6cf6('0x35')]+')','context':_0x1dd4e1[_0x6cf6('0x17')],'exten':_0x1dd4e1[_0x6cf6('0xd')],'priority':_0x527ab1[_0x6cf6('0x2d')]+_0x5d3535[_0x6cf6('0x11')]+_0x1db020++,'VoiceExtensionId':_0x1dd4e1[_0x6cf6('0x18')]});}else{_0x3b88ec[_0x6cf6('0x1a')]({'type':_0x1dd4e1[_0x6cf6('0x15')],'app':_0x6cf6('0x21'),'appdata':'$[${LEN(${PREFIX-CALLERIDALL})}\x20>\x200]?Set(CALLERID(all)=${PREFIX-CALLERIDALL}):NoOp(No\x20number\x20available)','context':_0x1dd4e1[_0x6cf6('0x17')],'exten':_0x1dd4e1[_0x6cf6('0xd')],'priority':_0x527ab1[_0x6cf6('0x2d')]+_0x5d3535[_0x6cf6('0x11')]+_0x1db020++,'VoiceExtensionId':_0x1dd4e1[_0x6cf6('0x18')]});}}if(_0x1dd4e1[_0x6cf6('0x10')](_0x6cf6('0x37'))){if(_0x2b9834['indexOf'](_0x1dd4e1['app'][_0x6cf6('0x2e')]())>=0x0&&_0x1dd4e1[_0x6cf6('0x38')]!==_0x6cf6('0x39')){if(_0x1dd4e1[_0x6cf6('0x37')]){_0x3b88ec[_0x6cf6('0x1a')]({'type':_0x1dd4e1[_0x6cf6('0x15')],'app':_0x6cf6('0x21'),'appdata':_0x6cf6('0x3a'),'context':_0x1dd4e1['context'],'exten':_0x1dd4e1['exten'],'priority':_0x527ab1[_0x6cf6('0x2d')]+_0x5d3535[_0x6cf6('0x11')]+_0x1db020++,'VoiceExtensionId':_0x1dd4e1[_0x6cf6('0x18')]});_0x3b88ec[_0x6cf6('0x1a')]({'type':_0x1dd4e1['type'],'app':_0x6cf6('0x1b'),'appdata':'XCALLY-MOTION-ANSWER=1','context':_0x1dd4e1[_0x6cf6('0x17')],'exten':_0x1dd4e1[_0x6cf6('0xd')],'priority':_0x527ab1[_0x6cf6('0x2d')]+_0x5d3535['priority']+_0x1db020++,'VoiceExtensionId':_0x1dd4e1[_0x6cf6('0x18')]});}else{_0x3b88ec[_0x6cf6('0x1a')]({'type':_0x1dd4e1[_0x6cf6('0x15')],'app':_0x6cf6('0x21'),'appdata':_0x6cf6('0x3b'),'context':_0x1dd4e1['context'],'exten':_0x1dd4e1['exten'],'priority':_0x527ab1[_0x6cf6('0x2d')]+_0x5d3535['priority']+_0x1db020++,'VoiceExtensionId':_0x1dd4e1[_0x6cf6('0x18')]});_0x3b88ec[_0x6cf6('0x1a')]({'type':_0x1dd4e1['type'],'app':_0x6cf6('0x1b'),'appdata':_0x6cf6('0x3c'),'context':_0x1dd4e1[_0x6cf6('0x17')],'exten':_0x1dd4e1[_0x6cf6('0xd')],'priority':_0x527ab1['length']+_0x5d3535[_0x6cf6('0x11')]+_0x1db020++,'VoiceExtensionId':_0x1dd4e1['VoiceExtensionId']});}}}for(var _0x54475=0x0;_0x54475<_0x527ab1[_0x6cf6('0x2d')];_0x54475+=0x1){var _0x3752a1=_0x5d3535[_0x6cf6('0x11')]+_0x527ab1[_0x6cf6('0x2d')];var _0x100315=_0x54475===_0x527ab1[_0x6cf6('0x2d')]-0x1?_0x5d3535['priority']+_0x3b88ec[_0x6cf6('0x2d')]+_0x37900a[_0x6cf6('0x2d')]+0x2:_0x5d3535[_0x6cf6('0x11')]+_0x54475+0x1;_0x3b88ec[_0x6cf6('0x3d')](_0x54475,0x0,{'type':_0x1dd4e1[_0x6cf6('0x15')],'app':_0x6cf6('0x3e'),'appdata':_0x527ab1[_0x54475]+'?'+_0x1dd4e1[_0x6cf6('0x17')]+',${EXTEN},'+_0x3752a1+':'+_0x1dd4e1['context']+',${EXTEN},'+_0x100315,'exten':_0x1dd4e1[_0x6cf6('0xd')],'context':_0x1dd4e1[_0x6cf6('0x17')],'priority':_0x5d3535[_0x6cf6('0x11')]+_0x54475,'VoiceExtensionId':_0x547270[_0x1b45a4][0x0][_0x6cf6('0x18')]});}_0x1dd4e1[_0x6cf6('0x11')]=_0x3b88ec[_0x6cf6('0x2d')]?_[_0x6cf6('0x3f')](_0x3b88ec)[_0x6cf6('0x11')]+0x1:_0x5d3535[_0x6cf6('0x11')];_0x5d3535[_0x6cf6('0x11')]=(_0x37900a[_0x6cf6('0x2d')]?_['last'](_0x37900a)[_0x6cf6('0x11')]:_0x1dd4e1[_0x6cf6('0x11')])+0x1;_0x5d3535[_0x6cf6('0x12')]=_['concat'](_0x5d3535[_0x6cf6('0x12')],_0x3b88ec,[_0x1dd4e1],_0x37900a);}_0x5d3535[_0x6cf6('0x12')]['push']({'type':_0x547270[_0x1b45a4][0x0]['type'],'app':_0x6cf6('0x40'),'exten':_0x547270[_0x1b45a4][0x0]['exten'],'context':_0x547270[_0x1b45a4][0x0]['context'],'priority':_0x5d3535[_0x6cf6('0x11')],'VoiceExtensionId':_0x547270[_0x1b45a4][0x0][_0x6cf6('0x18')]});_0x336a56['push'](_0x547270[_0x1b45a4][0x0][_0x6cf6('0x18')]);_0x5baf4d=_[_0x6cf6('0x41')](_0x5baf4d,_0x5d3535[_0x6cf6('0x12')]);}}return _0x10a016[_0x6cf6('0x42')](function(_0x53cad9){return _0x10a016[_0x6cf6('0x6')][_0x6cf6('0x7')][_0x6cf6('0x43')]({'where':{'VoiceExtensionId':{'$in':_0x336a56}},'transaction':_0x53cad9})['then'](function(_0x360932){return _0x10a016['models'][_0x6cf6('0x7')][_0x6cf6('0x44')](_[_0x6cf6('0x45')](_0x5baf4d,'priority'),{'transaction':_0x53cad9});});});})[_0x6cf6('0x46')](function(_0x5be91a){console[_0x6cf6('0x47')](_0x5be91a);});}exports[_0x6cf6('0x48')]=rewrite; \ No newline at end of file +var _0x81e6=['cutdigits','${EXTEN}','CDR(routeid)=','ExecIf','$[${LEN(${CDR(prefix)})}\x20>\x200]?Goto(','):Goto(','CDR(prefix)=${EXTEN:0:','CDR(prefix)=noprefix','outboundrouteid=','hasOwnProperty','recordingFormat','none','_XCALLY_MIXMONITOR_UNIQUEID=${UNIQUEID}','_XCALLY_MIXMONITOR_FORMAT=','wav','XCALLY-MOTION-ANSWER=0','XCALLY-MOTION-PROGRESS=0','length','toLowerCase','interval','*,*,*,*','intervals','tag','callerID','answer','indexOf','appType','custom','XCALLY-MOTION-ANSWER=1','$[${XCALLY-MOTION-PROGRESS}=0]?Progress','XCALLY-MOTION-PROGRESS=1','splice','last','concat','bulkCreate','catch','error','rewrite','lodash','util','models','Interval','findAll','then','IntervalId','VoiceExtension','uniq','map','exten','CAST(priority\x20AS\x20UNSIGNED)','filter','playback','extension','find','type','Set','format','CDR(type)=%s','context','priority','VoiceExtensionId','outbound','extensions','push','CDR(destination)=','${EXTEN:'];(function(_0xd51b50,_0x332942){var _0x43fadc=function(_0x1886f6){while(--_0x1886f6){_0xd51b50['push'](_0xd51b50['shift']());}};_0x43fadc(++_0x332942);}(_0x81e6,0x68));var _0x681e=function(_0x4291fc,_0x139d5a){_0x4291fc=_0x4291fc-0x0;var _0x503df2=_0x81e6[_0x4291fc];return _0x503df2;};'use strict';var _=require(_0x681e('0x0'));var util=require(_0x681e('0x1'));function rewrite(_0x5b9b99,_0x3a0497){var _0x52135e=this;return _0x5b9b99[_0x681e('0x2')][_0x681e('0x3')][_0x681e('0x4')]({'raw':!![]})[_0x681e('0x5')](function(_0x46bd95){_0x52135e['intervals']=_0x46bd95;return _0x5b9b99[_0x681e('0x2')]['VoiceExtension'][_0x681e('0x4')]({'where':{'IntervalId':_0x3a0497[_0x681e('0x6')]},'raw':!![]});})['then'](function(_0x3a3705){return _0x5b9b99[_0x681e('0x2')][_0x681e('0x7')][_0x681e('0x4')]({'where':{'exten':{'$in':_[_0x681e('0x8')](_[_0x681e('0x9')](_0x3a3705,_0x681e('0xa')))}},'order':[{'raw':_0x681e('0xb')}],'raw':!![]});})['then'](function(_0x1a59f1){var _0x33faec=_[_0x681e('0xc')](_0x1a59f1,{'priority':'1'});var _0x57eed5=_[_0x681e('0xc')](_0x1a59f1,{'isApp':0x1});var _0x558aa1=_['groupBy'](_0x57eed5,_0x681e('0xa'));var _0x3f7fe5=['queue',_0x681e('0xd')];var _0x572e4e=[];var _0x27f93a=[];for(var _0x50dd20 in _0x558aa1){if(_0x558aa1['hasOwnProperty'](_0x50dd20)){_0x52135e['priority']=0x2;_0x52135e['extensions']=[];_0x52135e[_0x681e('0xe')]=_[_0x681e('0xf')](_0x33faec,{'exten':_0x558aa1[_0x50dd20][0x0]['exten']});_0x52135e['extensions']['push']({'type':_0x558aa1[_0x50dd20][0x0][_0x681e('0x10')],'app':_0x681e('0x11'),'appdata':util[_0x681e('0x12')](_0x681e('0x13'),_0x558aa1[_0x50dd20][0x0]['type']),'context':_0x558aa1[_0x50dd20][0x0][_0x681e('0x14')],'exten':_0x558aa1[_0x50dd20][0x0]['exten'],'priority':_0x52135e[_0x681e('0x15')]++,'VoiceExtensionId':_0x558aa1[_0x50dd20][0x0][_0x681e('0x16')]});if(_0x558aa1[_0x50dd20][0x0][_0x681e('0x10')]===_0x681e('0x17')){if(_0x52135e[_0x681e('0xe')]){_0x52135e[_0x681e('0x18')][_0x681e('0x19')]({'type':_0x558aa1[_0x50dd20][0x0]['type'],'app':_0x681e('0x11'),'appdata':_0x681e('0x1a')+(_0x52135e[_0x681e('0xe')]['cutdigits']?_0x681e('0x1b')+_0x52135e['extension'][_0x681e('0x1c')]+'}':_0x681e('0x1d')),'context':_0x558aa1[_0x50dd20][0x0]['context'],'exten':_0x558aa1[_0x50dd20][0x0][_0x681e('0xa')],'priority':_0x52135e[_0x681e('0x15')]++,'VoiceExtensionId':_0x558aa1[_0x50dd20][0x0]['VoiceExtensionId']});}_0x52135e[_0x681e('0x18')][_0x681e('0x19')]({'type':_0x558aa1[_0x50dd20][0x0][_0x681e('0x10')],'app':'Set','appdata':_0x681e('0x1e')+_0x558aa1[_0x50dd20][0x0]['VoiceExtensionId'],'context':_0x558aa1[_0x50dd20][0x0][_0x681e('0x14')],'exten':_0x558aa1[_0x50dd20][0x0][_0x681e('0xa')],'priority':_0x52135e[_0x681e('0x15')]++,'VoiceExtensionId':_0x558aa1[_0x50dd20][0x0][_0x681e('0x16')]});var _0x9b896b=_0x52135e['priority']++;_0x52135e[_0x681e('0x18')][_0x681e('0x19')]({'type':_0x558aa1[_0x50dd20][0x0]['type'],'app':_0x681e('0x1f'),'appdata':_0x681e('0x20')+(_0x9b896b+0x2)+_0x681e('0x21')+(_0x9b896b+0x1)+')','context':_0x558aa1[_0x50dd20][0x0][_0x681e('0x14')],'exten':_0x558aa1[_0x50dd20][0x0][_0x681e('0xa')],'priority':_0x9b896b,'VoiceExtensionId':_0x558aa1[_0x50dd20][0x0]['VoiceExtensionId']});if(_0x52135e[_0x681e('0xe')]){_0x52135e['extensions'][_0x681e('0x19')]({'type':_0x558aa1[_0x50dd20][0x0][_0x681e('0x10')],'app':_0x681e('0x11'),'appdata':_0x52135e['extension']['cutdigits']?_0x681e('0x22')+_0x52135e[_0x681e('0xe')][_0x681e('0x1c')]+'}':_0x681e('0x23'),'context':_0x558aa1[_0x50dd20][0x0][_0x681e('0x14')],'exten':_0x558aa1[_0x50dd20][0x0][_0x681e('0xa')],'priority':_0x52135e[_0x681e('0x15')]++,'VoiceExtensionId':_0x558aa1[_0x50dd20][0x0][_0x681e('0x16')]});}_0x52135e[_0x681e('0x18')]['push']({'type':_0x558aa1[_0x50dd20][0x0][_0x681e('0x10')],'app':_0x681e('0x11'),'appdata':_0x681e('0x24')+_0x558aa1[_0x50dd20][0x0][_0x681e('0x16')],'context':_0x558aa1[_0x50dd20][0x0][_0x681e('0x14')],'exten':_0x558aa1[_0x50dd20][0x0][_0x681e('0xa')],'priority':_0x52135e[_0x681e('0x15')]++,'VoiceExtensionId':_0x558aa1[_0x50dd20][0x0]['VoiceExtensionId']});if(_0x52135e['extension']&&_0x52135e[_0x681e('0xe')][_0x681e('0x25')](_0x681e('0x26'))&&_0x52135e[_0x681e('0xe')][_0x681e('0x26')]!==_0x681e('0x27')){_0x52135e[_0x681e('0x18')]['push']({'type':_0x558aa1[_0x50dd20][0x0]['type'],'app':_0x681e('0x11'),'appdata':_0x681e('0x28'),'context':_0x558aa1[_0x50dd20][0x0][_0x681e('0x14')],'exten':_0x558aa1[_0x50dd20][0x0]['exten'],'priority':_0x52135e['priority']++,'VoiceExtensionId':_0x558aa1[_0x50dd20][0x0][_0x681e('0x16')]});_0x52135e[_0x681e('0x18')][_0x681e('0x19')]({'type':_0x558aa1[_0x50dd20][0x0]['type'],'app':_0x681e('0x11'),'appdata':_0x681e('0x29')+_0x52135e[_0x681e('0xe')]['recordingFormat']||_0x681e('0x2a'),'context':_0x558aa1[_0x50dd20][0x0][_0x681e('0x14')],'exten':_0x558aa1[_0x50dd20][0x0]['exten'],'priority':_0x52135e['priority']++,'VoiceExtensionId':_0x558aa1[_0x50dd20][0x0][_0x681e('0x16')]});}}_0x52135e[_0x681e('0x18')]['push']({'type':_0x558aa1[_0x50dd20][0x0][_0x681e('0x10')],'app':_0x681e('0x11'),'appdata':_0x681e('0x2b'),'context':_0x558aa1[_0x50dd20][0x0][_0x681e('0x14')],'exten':_0x558aa1[_0x50dd20][0x0][_0x681e('0xa')],'priority':_0x52135e[_0x681e('0x15')]++,'VoiceExtensionId':_0x558aa1[_0x50dd20][0x0]['VoiceExtensionId']});_0x52135e[_0x681e('0x18')]['push']({'type':_0x558aa1[_0x50dd20][0x0][_0x681e('0x10')],'app':_0x681e('0x11'),'appdata':_0x681e('0x2c'),'context':_0x558aa1[_0x50dd20][0x0][_0x681e('0x14')],'exten':_0x558aa1[_0x50dd20][0x0]['exten'],'priority':_0x52135e['priority']++,'VoiceExtensionId':_0x558aa1[_0x50dd20][0x0][_0x681e('0x16')]});_0x52135e[_0x681e('0x18')][_0x681e('0x19')]({'type':_0x558aa1[_0x50dd20][0x0][_0x681e('0x10')],'app':_0x681e('0x11'),'appdata':'MONITOR_OPTIONS=ab','context':_0x558aa1[_0x50dd20][0x0][_0x681e('0x14')],'exten':_0x558aa1[_0x50dd20][0x0][_0x681e('0xa')],'priority':_0x52135e[_0x681e('0x15')]++,'VoiceExtensionId':_0x558aa1[_0x50dd20][0x0][_0x681e('0x16')]});for(var _0x5889b0=0x0,_0x571e6c=0x0;_0x5889b0<_0x558aa1[_0x50dd20][_0x681e('0x2d')];_0x5889b0+=0x1,_0x571e6c=0x0){var _0x4c78bd=_0x558aa1[_0x50dd20][_0x5889b0];if(_0x4c78bd[_0x681e('0x10')]){_0x4c78bd[_0x681e('0x10')]=_0x4c78bd[_0x681e('0x10')][_0x681e('0x2e')]();}var _0x13dec9=[];var _0x363cdf=[];delete _0x4c78bd['id'];delete _0x4c78bd['createdAt'];delete _0x4c78bd['updatedAt'];var _0x2f8dbf=_0x4c78bd[_0x681e('0x2f')]!==_0x681e('0x30')?[_0x4c78bd[_0x681e('0x2f')]]:_0x4c78bd[_0x681e('0x6')]?_[_0x681e('0x9')](_[_0x681e('0xc')](_0x52135e[_0x681e('0x31')],{'IntervalId':_0x4c78bd[_0x681e('0x6')]}),'interval'):[];if(_0x4c78bd[_0x681e('0x25')](_0x681e('0x32'))){if(_0x4c78bd[_0x681e('0x32')]&&_0x4c78bd[_0x681e('0x32')]!=='--'){_0x13dec9[_0x681e('0x19')]({'type':_0x4c78bd[_0x681e('0x10')],'app':_0x681e('0x11'),'appdata':'CDR(tag)='+_0x4c78bd[_0x681e('0x32')],'context':_0x4c78bd[_0x681e('0x14')],'exten':_0x4c78bd[_0x681e('0xa')],'priority':_0x2f8dbf['length']+_0x52135e[_0x681e('0x15')]+_0x571e6c++,'VoiceExtensionId':_0x4c78bd[_0x681e('0x16')]});}}if(_0x4c78bd[_0x681e('0x10')]==='outbound'&&_0x4c78bd[_0x681e('0x25')]('callerID')){if(_0x4c78bd[_0x681e('0x33')]){_0x13dec9[_0x681e('0x19')]({'type':_0x4c78bd[_0x681e('0x10')],'app':_0x681e('0x1f'),'appdata':'$[${LEN(${PREFIX-CALLERIDALL})}\x20>\x200]?Set(CALLERID(all)=${PREFIX-CALLERIDALL}):Set(CALLERID(all)='+_0x4c78bd[_0x681e('0x33')]+')','context':_0x4c78bd['context'],'exten':_0x4c78bd[_0x681e('0xa')],'priority':_0x2f8dbf[_0x681e('0x2d')]+_0x52135e[_0x681e('0x15')]+_0x571e6c++,'VoiceExtensionId':_0x4c78bd[_0x681e('0x16')]});}else{_0x13dec9[_0x681e('0x19')]({'type':_0x4c78bd[_0x681e('0x10')],'app':_0x681e('0x1f'),'appdata':'$[${LEN(${PREFIX-CALLERIDALL})}\x20>\x200]?Set(CALLERID(all)=${PREFIX-CALLERIDALL}):NoOp(No\x20number\x20available)','context':_0x4c78bd[_0x681e('0x14')],'exten':_0x4c78bd['exten'],'priority':_0x2f8dbf[_0x681e('0x2d')]+_0x52135e[_0x681e('0x15')]+_0x571e6c++,'VoiceExtensionId':_0x4c78bd['VoiceExtensionId']});}}if(_0x4c78bd['hasOwnProperty'](_0x681e('0x34'))){if(_0x3f7fe5[_0x681e('0x35')](_0x4c78bd['app'][_0x681e('0x2e')]())>=0x0&&_0x4c78bd[_0x681e('0x36')]!==_0x681e('0x37')){if(_0x4c78bd[_0x681e('0x34')]){_0x13dec9[_0x681e('0x19')]({'type':_0x4c78bd[_0x681e('0x10')],'app':_0x681e('0x1f'),'appdata':'$[${XCALLY-MOTION-ANSWER}=0]?Answer','context':_0x4c78bd[_0x681e('0x14')],'exten':_0x4c78bd[_0x681e('0xa')],'priority':_0x2f8dbf['length']+_0x52135e[_0x681e('0x15')]+_0x571e6c++,'VoiceExtensionId':_0x4c78bd[_0x681e('0x16')]});_0x13dec9[_0x681e('0x19')]({'type':_0x4c78bd[_0x681e('0x10')],'app':_0x681e('0x11'),'appdata':_0x681e('0x38'),'context':_0x4c78bd[_0x681e('0x14')],'exten':_0x4c78bd[_0x681e('0xa')],'priority':_0x2f8dbf[_0x681e('0x2d')]+_0x52135e['priority']+_0x571e6c++,'VoiceExtensionId':_0x4c78bd[_0x681e('0x16')]});}else{_0x13dec9[_0x681e('0x19')]({'type':_0x4c78bd[_0x681e('0x10')],'app':'ExecIf','appdata':_0x681e('0x39'),'context':_0x4c78bd['context'],'exten':_0x4c78bd['exten'],'priority':_0x2f8dbf[_0x681e('0x2d')]+_0x52135e[_0x681e('0x15')]+_0x571e6c++,'VoiceExtensionId':_0x4c78bd[_0x681e('0x16')]});_0x13dec9['push']({'type':_0x4c78bd[_0x681e('0x10')],'app':'Set','appdata':_0x681e('0x3a'),'context':_0x4c78bd['context'],'exten':_0x4c78bd['exten'],'priority':_0x2f8dbf[_0x681e('0x2d')]+_0x52135e[_0x681e('0x15')]+_0x571e6c++,'VoiceExtensionId':_0x4c78bd[_0x681e('0x16')]});}}}for(var _0x2bd7c8=0x0;_0x2bd7c8<_0x2f8dbf[_0x681e('0x2d')];_0x2bd7c8+=0x1){var _0x5bd8ea=_0x52135e[_0x681e('0x15')]+_0x2f8dbf[_0x681e('0x2d')];var _0x319e1d=_0x2bd7c8===_0x2f8dbf[_0x681e('0x2d')]-0x1?_0x52135e['priority']+_0x13dec9['length']+_0x363cdf[_0x681e('0x2d')]+0x2:_0x52135e[_0x681e('0x15')]+_0x2bd7c8+0x1;_0x13dec9[_0x681e('0x3b')](_0x2bd7c8,0x0,{'type':_0x4c78bd['type'],'app':'GotoIfTime','appdata':_0x2f8dbf[_0x2bd7c8]+'?'+_0x4c78bd[_0x681e('0x14')]+',${EXTEN},'+_0x5bd8ea+':'+_0x4c78bd[_0x681e('0x14')]+',${EXTEN},'+_0x319e1d,'exten':_0x4c78bd[_0x681e('0xa')],'context':_0x4c78bd[_0x681e('0x14')],'priority':_0x52135e[_0x681e('0x15')]+_0x2bd7c8,'VoiceExtensionId':_0x558aa1[_0x50dd20][0x0][_0x681e('0x16')]});}_0x4c78bd['priority']=_0x13dec9[_0x681e('0x2d')]?_['last'](_0x13dec9)['priority']+0x1:_0x52135e[_0x681e('0x15')];_0x52135e['priority']=(_0x363cdf[_0x681e('0x2d')]?_[_0x681e('0x3c')](_0x363cdf)[_0x681e('0x15')]:_0x4c78bd[_0x681e('0x15')])+0x1;_0x52135e[_0x681e('0x18')]=_['concat'](_0x52135e[_0x681e('0x18')],_0x13dec9,[_0x4c78bd],_0x363cdf);}_0x52135e['extensions'][_0x681e('0x19')]({'type':_0x558aa1[_0x50dd20][0x0]['type'],'app':'Hangup','exten':_0x558aa1[_0x50dd20][0x0][_0x681e('0xa')],'context':_0x558aa1[_0x50dd20][0x0]['context'],'priority':_0x52135e[_0x681e('0x15')],'VoiceExtensionId':_0x558aa1[_0x50dd20][0x0][_0x681e('0x16')]});_0x572e4e['push'](_0x558aa1[_0x50dd20][0x0][_0x681e('0x16')]);_0x27f93a=_[_0x681e('0x3d')](_0x27f93a,_0x52135e[_0x681e('0x18')]);}}return _0x5b9b99['transaction'](function(_0x5cf8ee){return _0x5b9b99['models'][_0x681e('0x7')]['destroy']({'where':{'VoiceExtensionId':{'$in':_0x572e4e}},'transaction':_0x5cf8ee})[_0x681e('0x5')](function(_0x3c4408){return _0x5b9b99[_0x681e('0x2')][_0x681e('0x7')][_0x681e('0x3e')](_['sortBy'](_0x27f93a,_0x681e('0x15')),{'transaction':_0x5cf8ee});});});})[_0x681e('0x3f')](function(_0x44398a){console[_0x681e('0x40')](_0x44398a);});}exports[_0x681e('0x41')]=rewrite; \ No newline at end of file diff --git a/server/components/import/cm/csv.js b/server/components/import/cm/csv.js index 97e1a5c..fabd25e 100644 --- a/server/components/import/cm/csv.js +++ b/server/components/import/cm/csv.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xcb91=['generalCheckHopper','Error\x20processing\x20rows\x20block:','resolve','emit','contact:csv_','unlinkSync','exit','SIGINT','CSV\x20import\x20process\x20stopped!','createReadStream','CSV\x20parsed\x20correctly!','CSV\x20parse\x20error','Error\x20executing\x20contact\x20csv\x20import:','lodash','squel','papaparse','ioredis','../../../config/environment','../../../config/logger','redis','defaults','localhost','socket.io-emitter','../../../api/cmContact/cmContact.socket','register','argv','null','Missing\x20filepath\x20parameter!','undefined','zipObject','split','error','contact','index','test','isNil','The\x20row\x20is\x20empty\x20or\x20the\x20number\x20of\x20parameters\x20does\x20not\x20match\x20the\x20columns!','errors','length','message','join','hasOwnProperty','data','firstName','firstName\x20not\x20specified!','birthDate','YYYY-MM-DD','email','ListId','duplicate','Duplicate\x20Contact','CmContact','create','keys','then','push','pick','catch','stringify','cmContact','checkHopper','inspect','insert','cm_hopper','phone','ContactId','createdAt','updatedAt','select','field','NOW()','scheduledAt','toString','from','cm_contacts','deletedAt\x20IS\x20NULL','ListId\x20=\x20?','where','\x20=\x20?','into','fromQuery','id\x20IN\x20?','str','phone\x20IS\x20NOT\x20NULL','calleridnum','cm_hopper_final','phone\x20NOT\x20IN\x20(?)','findAll','outbound','dialCheckDuplicateType','CmList','Lists','always','sequelize','query','VoiceQueueId','all','VoiceQueue','BlackLists','get','CampaignId','onlyIfOpen','cmContact,\x20%s,\x20%s'];(function(_0x4c27b9,_0x326090){var _0x31e4de=function(_0x342cae){while(--_0x342cae){_0x4c27b9['push'](_0x4c27b9['shift']());}};_0x31e4de(++_0x326090);}(_0xcb91,0x1a9));var _0x1cb9=function(_0x1caf6a,_0x26a5bf){_0x1caf6a=_0x1caf6a-0x0;var _0x1bf493=_0xcb91[_0x1caf6a];return _0x1bf493;};'use strict';var BPromise=require('bluebird');var util=require('util');var _=require(_0x1cb9('0x0'));var fs=require('fs');var squel=require(_0x1cb9('0x1'));var Papa=require(_0x1cb9('0x2'));var Redis=require(_0x1cb9('0x3'));var db=require('../../../mysqldb')['db'];var config=require(_0x1cb9('0x4'));var logger=require(_0x1cb9('0x5'))('api');config[_0x1cb9('0x6')]=_[_0x1cb9('0x7')](config['redis'],{'host':_0x1cb9('0x8'),'port':0x18eb});var socket=require(_0x1cb9('0x9'))(new Redis(config['redis']));require(_0x1cb9('0xa'))[_0x1cb9('0xb')](socket);try{if(!process['argv'][0x2]||process[_0x1cb9('0xc')][0x2]==='undefined'||process['argv'][0x2]===_0x1cb9('0xd')){throw new Error(_0x1cb9('0xe'));}var FILEPATH=process[_0x1cb9('0xc')][0x2];if(!process[_0x1cb9('0xc')][0x3]||process[_0x1cb9('0xc')][0x3]==='undefined'||process[_0x1cb9('0xc')][0x3]===_0x1cb9('0xd')||!process[_0x1cb9('0xc')][0x4]||process[_0x1cb9('0xc')][0x4]===_0x1cb9('0xf')||process['argv'][0x4]==='null'){throw new Error('Missing\x20binding\x20parameters!');}var FIELDS=_[_0x1cb9('0x10')](process[_0x1cb9('0xc')][0x3][_0x1cb9('0x11')](','),process[_0x1cb9('0xc')][0x4]['split'](','));if(!process[_0x1cb9('0xc')][0x5]||process[_0x1cb9('0xc')][0x5]===_0x1cb9('0xf')||process[_0x1cb9('0xc')][0x5]===_0x1cb9('0xd')){throw new Error('Missing\x20ListId\x20parameter!');}var LISTID=process['argv'][0x5];var COMPANYID=process[_0x1cb9('0xc')][0x6]&&process[_0x1cb9('0xc')][0x6]!==_0x1cb9('0xf')&&process[_0x1cb9('0xc')][0x6]!==_0x1cb9('0xd')?process[_0x1cb9('0xc')][0x6]:null;var DUPLICATES=process[_0x1cb9('0xc')][0x7]&&process['argv'][0x7]!=='undefined'&&process[_0x1cb9('0xc')][0x7]!==_0x1cb9('0xd')?process[_0x1cb9('0xc')][0x7]:null;if(!process[_0x1cb9('0xc')][0x8]||process[_0x1cb9('0xc')][0x8]===_0x1cb9('0xf')||process[_0x1cb9('0xc')][0x8]==='null'){throw new Error('Missing\x20socket_timestamp\x20parameter!');}var SOCKET_TIMESTAMP=process[_0x1cb9('0xc')][0x8];}catch(_0x5dbfae){logger[_0x1cb9('0x12')](_0x5dbfae);endCsv();}var total=0x0;var pTotal=0x0;var success=0x0;var errors=0x0;var duplicates=0x0;var rows=[];var hopperContacts='';var promises=[];var index=0x0;var alreadyInvalid=![];function handleCheckRowError(_0x2265ea,_0x523b26,_0x599275,_0x2e3854){var _0x325637={'message':_0x523b26};_0x325637[_0x2265ea]=!![];if(_0x599275){_0x325637[_0x1cb9('0x13')]=_0x599275;}if(_0x2e3854){_0x325637[_0x1cb9('0x14')]=_0x2e3854;}return _0x325637;}function isEmail(_0x45b8d3){return/^([^\x00-\x20\x22\x28\x29\x2c\x2e\x3a-\x3c\x3e\x40\x5b-\x5d\x7f-\xff]+|\x22([^\x0d\x22\x5c\x80-\xff]|\x5c[\x00-\x7f])*\x22)(\x2e([^\x00-\x20\x22\x28\x29\x2c\x2e\x3a-\x3c\x3e\x40\x5b-\x5d\x7f-\xff]+|\x22([^\x0d\x22\x5c\x80-\xff]|\x5c[\x00-\x7f])*\x22))*\x40([^\x00-\x20\x22\x28\x29\x2c\x2e\x3a-\x3c\x3e\x40\x5b-\x5d\x7f-\xff]+|\x5b([^\x0d\x5b-\x5d\x80-\xff]|\x5c[\x00-\x7f])*\x5d)(\x2e([^\x00-\x20\x22\x28\x29\x2c\x2e\x3a-\x3c\x3e\x40\x5b-\x5d\x7f-\xff]+|\x5b([^\x0d\x5b-\x5d\x80-\xff]|\x5c[\x00-\x7f])*\x5d))*$/[_0x1cb9('0x15')](_0x45b8d3);}function checkRow(_0x59ebea,_0x55b232,_0x6c6f61){return new BPromise(function(_0x557199,_0x10a419){if(_[_0x1cb9('0x16')](_0x59ebea)){return _0x10a419(handleCheckRowError(_0x1cb9('0x12'),_0x1cb9('0x17'),null,_0x6c6f61));}if(_0x59ebea[_0x1cb9('0x18')]&&_0x59ebea['errors'][_0x1cb9('0x19')]){var _0x9df250=_['map'](_0x59ebea[_0x1cb9('0x18')],_0x1cb9('0x1a'))[_0x1cb9('0x1b')](';');return _0x10a419(handleCheckRowError(_0x1cb9('0x12'),_0x9df250,null,_0x6c6f61));}var _0x406821={};for(var _0x21d6f5 in FIELDS){if(FIELDS[_0x1cb9('0x1c')](_0x21d6f5)&&FIELDS[_0x21d6f5]){_0x406821[_0x21d6f5]=_0x59ebea[_0x1cb9('0x1d')][0x0][FIELDS[_0x21d6f5]]||_0x59ebea[_0x1cb9('0x1d')][0x0]['\ufeff'+FIELDS[_0x21d6f5]];}}if(!_0x406821[_0x1cb9('0x1e')]){return _0x10a419(handleCheckRowError('error',_0x1cb9('0x1f'),null,_0x6c6f61));}if(!_0x406821['phone']){return _0x10a419(handleCheckRowError(_0x1cb9('0x12'),'phone\x20not\x20specified!',null,_0x6c6f61));}if(_0x406821[_0x1cb9('0x20')]){var _0x41011c=moment(_0x406821[_0x1cb9('0x20')],_0x1cb9('0x21'));if(!_0x41011c['isValid']()){return _0x10a419(handleCheckRowError(_0x1cb9('0x12'),'birthDate\x20format\x20is\x20invalid,\x20YYYY-MM-DD\x20format\x20is\x20supported!',null,_0x6c6f61));}}if(_0x406821[_0x1cb9('0x22')]){if(!isEmail(_0x406821[_0x1cb9('0x22')])){return _0x10a419(handleCheckRowError(_0x1cb9('0x12'),'email\x20format\x20is\x20not\x20valid!',null,_0x6c6f61));}}_0x406821[_0x1cb9('0x23')]=LISTID;_0x406821['CompanyId']=COMPANYID||undefined;if(DUPLICATES&&DUPLICATES[_0x1cb9('0x19')]&&_0x55b232){var _0x58f4f5={};for(var _0x2164e3=0x0,_0x42a688=DUPLICATES[_0x1cb9('0x19')];_0x2164e3<_0x42a688;_0x2164e3+=0x1){_0x58f4f5[DUPLICATES[_0x2164e3]]=_0x406821[DUPLICATES[_0x2164e3]];}var _0xae910=_['find'](_0x55b232,_0x58f4f5);if(_0xae910){return _0x10a419(handleCheckRowError(_0x1cb9('0x24'),_0x1cb9('0x25'),_0xae910,_0x6c6f61));}}return db[_0x1cb9('0x26')][_0x1cb9('0x27')](_0x406821,{'raw':!![],'hooks':![],'fields':_[_0x1cb9('0x28')](_0x406821)})[_0x1cb9('0x29')](function(_0xc6d5fd){if(DUPLICATES&&DUPLICATES[_0x1cb9('0x19')]&&_0x55b232){_0x55b232[_0x1cb9('0x2a')](_[_0x1cb9('0x2b')](_0x406821,DUPLICATES));}hopperContacts+=(hopperContacts?',':'')+_0xc6d5fd['id'];return _0x557199();})[_0x1cb9('0x2c')](function(_0x26b950){return _0x10a419(handleCheckRowError(_0x1cb9('0x12'),'Error\x20while\x20creating\x20contact:\x20'+(_0x26b950['message']||JSON[_0x1cb9('0x2d')](_0x26b950)),null,_0x6c6f61));});});}function checkHopper(){function _0x30f7e4(){return function(_0x91c937){logger[_0x1cb9('0x12')](_0x1cb9('0x2e'),_0x1cb9('0x2f'),util[_0x1cb9('0x30')](_0x91c937,{'showHidden':![],'depth':null}));};}var _0x3f5637=function(_0x4d3e39,_0x2aa59b){var _0x1482c4=squel[_0x1cb9('0x31')]()['into'](_0x1cb9('0x32'))['fromQuery']([_0x1cb9('0x33'),'scheduledAt',_0x1cb9('0x34'),_0x1cb9('0x23'),_0x2aa59b,_0x1cb9('0x35'),_0x1cb9('0x36')],squel[_0x1cb9('0x37')]()[_0x1cb9('0x38')](_0x1cb9('0x33'),'phone')['field'](_0x1cb9('0x39'),_0x1cb9('0x3a'))[_0x1cb9('0x38')]('id',_0x1cb9('0x34'))[_0x1cb9('0x38')](LISTID[_0x1cb9('0x3b')](),_0x1cb9('0x23'))['field'](_0x4d3e39['id'][_0x1cb9('0x3b')](),_0x2aa59b)['field']('NOW()','createdAt')[_0x1cb9('0x38')](_0x1cb9('0x39'),_0x1cb9('0x36'))[_0x1cb9('0x3c')](_0x1cb9('0x3d'))['where'](_0x1cb9('0x3e'))['where'](_0x1cb9('0x3f'),LISTID[_0x1cb9('0x3b')]())[_0x1cb9('0x40')]('phone\x20IS\x20NOT\x20NULL')[_0x1cb9('0x40')]('phone\x20NOT\x20IN\x20(?)',squel[_0x1cb9('0x37')]()[_0x1cb9('0x38')]('phone')['from'](_0x1cb9('0x32'))[_0x1cb9('0x40')](_0x2aa59b+_0x1cb9('0x41'),_0x4d3e39['id'][_0x1cb9('0x3b')]())))[_0x1cb9('0x3b')]();return _0x1482c4;};var _0x58832e=function(_0x11d877,_0x5594fc){var _0x4c59e7=squel['insert']()[_0x1cb9('0x42')](_0x1cb9('0x32'))[_0x1cb9('0x43')]([_0x1cb9('0x33'),_0x1cb9('0x3a'),_0x1cb9('0x34'),_0x1cb9('0x23'),_0x5594fc,_0x1cb9('0x35'),_0x1cb9('0x36')],squel[_0x1cb9('0x37')]()[_0x1cb9('0x38')]('phone',_0x1cb9('0x33'))[_0x1cb9('0x38')](_0x1cb9('0x39'),'scheduledAt')[_0x1cb9('0x38')]('id',_0x1cb9('0x34'))[_0x1cb9('0x38')](LISTID[_0x1cb9('0x3b')](),_0x1cb9('0x23'))['field'](_0x11d877['id'][_0x1cb9('0x3b')](),_0x5594fc)['field'](_0x1cb9('0x39'),'createdAt')[_0x1cb9('0x38')](_0x1cb9('0x39'),_0x1cb9('0x36'))[_0x1cb9('0x3c')]('cm_contacts')[_0x1cb9('0x40')](_0x1cb9('0x3e'))[_0x1cb9('0x40')](_0x1cb9('0x3f'),LISTID[_0x1cb9('0x3b')]())[_0x1cb9('0x40')](_0x1cb9('0x44'),squel[_0x1cb9('0x45')](hopperContacts))[_0x1cb9('0x40')](_0x1cb9('0x46'))['where']('phone\x20NOT\x20IN\x20(?)',squel[_0x1cb9('0x37')]()[_0x1cb9('0x38')](_0x1cb9('0x47'))[_0x1cb9('0x3c')](_0x1cb9('0x48'))[_0x1cb9('0x40')](_0x5594fc+_0x1cb9('0x41'),_0x11d877['id'][_0x1cb9('0x3b')]()))[_0x1cb9('0x40')](_0x1cb9('0x49'),squel['select']()[_0x1cb9('0x38')]('phone')[_0x1cb9('0x3c')]('cm_hopper')[_0x1cb9('0x40')](_0x5594fc+'\x20=\x20?',_0x11d877['id']['toString']())))[_0x1cb9('0x3b')]();return _0x4c59e7;};function _0x3b0c2e(_0x303da3,_0x4bce54){var _0x3c157f=squel[_0x1cb9('0x31')]()['into']('cm_hopper')[_0x1cb9('0x43')]([_0x1cb9('0x33'),_0x1cb9('0x3a'),_0x1cb9('0x34'),_0x1cb9('0x23'),_0x4bce54,_0x1cb9('0x35'),_0x1cb9('0x36')],squel['select']()[_0x1cb9('0x38')](_0x1cb9('0x33'),_0x1cb9('0x33'))['field'](_0x1cb9('0x39'),_0x1cb9('0x3a'))[_0x1cb9('0x38')]('id',_0x1cb9('0x34'))[_0x1cb9('0x38')](LISTID[_0x1cb9('0x3b')](),'ListId')[_0x1cb9('0x38')](_0x303da3['id'][_0x1cb9('0x3b')](),_0x4bce54)[_0x1cb9('0x38')](_0x1cb9('0x39'),_0x1cb9('0x35'))[_0x1cb9('0x38')](_0x1cb9('0x39'),_0x1cb9('0x36'))[_0x1cb9('0x3c')](_0x1cb9('0x3d'))[_0x1cb9('0x40')]('deletedAt\x20IS\x20NULL')[_0x1cb9('0x40')](_0x1cb9('0x3f'),LISTID[_0x1cb9('0x3b')]())[_0x1cb9('0x40')]('id\x20IN\x20?',squel['str'](hopperContacts))[_0x1cb9('0x40')](_0x1cb9('0x46')))[_0x1cb9('0x3b')]();return _0x3c157f;}function _0x173db5(_0x3c2f9c,_0x75c734){var _0xc515a6=squel[_0x1cb9('0x31')]()['into']('cm_hopper_black')[_0x1cb9('0x43')](['phone','ContactId','ListId',_0x75c734,'createdAt','updatedAt'],squel[_0x1cb9('0x37')]()[_0x1cb9('0x38')](_0x1cb9('0x33'),_0x1cb9('0x33'))[_0x1cb9('0x38')]('id',_0x1cb9('0x34'))['field'](LISTID[_0x1cb9('0x3b')](),_0x1cb9('0x23'))['field'](_0x3c2f9c['id']['toString'](),_0x75c734)[_0x1cb9('0x38')](_0x1cb9('0x39'),_0x1cb9('0x35'))[_0x1cb9('0x38')](_0x1cb9('0x39'),'updatedAt')['from']('cm_contacts')[_0x1cb9('0x40')](_0x1cb9('0x3e'))[_0x1cb9('0x40')](_0x1cb9('0x3f'),LISTID[_0x1cb9('0x3b')]())['where'](_0x1cb9('0x44'),squel[_0x1cb9('0x45')](hopperContacts))['where']('phone\x20IS\x20NOT\x20NULL'))[_0x1cb9('0x3b')]();return _0xc515a6;}return db['VoiceQueue'][_0x1cb9('0x4a')]({'where':{'type':_0x1cb9('0x4b')},'attributes':['id',_0x1cb9('0x4c')],'include':[{'model':db[_0x1cb9('0x4d')],'as':_0x1cb9('0x4e'),'where':{'id':LISTID}}]})[_0x1cb9('0x29')](function(_0x4aeeff){var _0xde0d93=[];if(_0x4aeeff){var _0x15fc04;for(var _0x330fc1=0x0,_0x17c361;_0x330fc1<_0x4aeeff['length'];_0x330fc1+=0x1){_0x17c361=_0x4aeeff[_0x330fc1]['get']({'plain':!![]});switch(_0x17c361[_0x1cb9('0x4c')]){case _0x1cb9('0x4f'):_0xde0d93[_0x1cb9('0x2a')](db[_0x1cb9('0x50')][_0x1cb9('0x51')](_0x58832e(_0x17c361,_0x1cb9('0x52')))['then'](function(){})[_0x1cb9('0x2c')](_0x30f7e4()));break;case'onlyIfOpen':_0xde0d93[_0x1cb9('0x2a')](db[_0x1cb9('0x50')]['query'](_0x3f5637(_0x17c361,_0x1cb9('0x52')))[_0x1cb9('0x29')](function(){})[_0x1cb9('0x2c')](_0x30f7e4()));break;default:_0xde0d93['push'](db[_0x1cb9('0x50')][_0x1cb9('0x51')](_0x3b0c2e(_0x17c361,_0x1cb9('0x52')))[_0x1cb9('0x29')](function(){})[_0x1cb9('0x2c')](_0x30f7e4()));}}}return _0xde0d93;})[_0x1cb9('0x53')]()['then'](function(){return db[_0x1cb9('0x54')][_0x1cb9('0x4a')]({'where':{'type':_0x1cb9('0x4b')},'attributes':['id'],'include':[{'model':db[_0x1cb9('0x4d')],'as':_0x1cb9('0x55'),'where':{'id':LISTID}}]})[_0x1cb9('0x29')](function(_0x128a41){var _0x37bcd9=[];if(_0x128a41){var _0x4cd544;for(var _0x28bac2=0x0,_0x78e9c;_0x28bac2<_0x128a41['length'];_0x28bac2+=0x1){_0x78e9c=_0x128a41[_0x28bac2][_0x1cb9('0x56')]({'plain':!![]});_0x37bcd9['push'](db[_0x1cb9('0x50')]['query'](_0x173db5(_0x78e9c,'VoiceQueueId'))[_0x1cb9('0x29')](function(){})[_0x1cb9('0x2c')](_0x30f7e4()));}}return _0x37bcd9;})['all']();})[_0x1cb9('0x29')](function(){return db['Campaign'][_0x1cb9('0x4a')]({'attributes':['id',_0x1cb9('0x4c')],'include':[{'model':db[_0x1cb9('0x4d')],'as':_0x1cb9('0x4e'),'where':{'id':LISTID}}]})['then'](function(_0x45ca54){var _0x3d25a3=[];if(_0x45ca54){for(var _0x2a157d=0x0,_0x27cc3c;_0x2a157d<_0x45ca54[_0x1cb9('0x19')];_0x2a157d+=0x1){_0x27cc3c=_0x45ca54[_0x2a157d][_0x1cb9('0x56')]({'plain':!![]});switch(_0x27cc3c['dialCheckDuplicateType']){case _0x1cb9('0x4f'):_0x3d25a3[_0x1cb9('0x2a')](db[_0x1cb9('0x50')][_0x1cb9('0x51')](_0x58832e(_0x27cc3c,_0x1cb9('0x57')))[_0x1cb9('0x29')](function(){})['catch'](_0x30f7e4()));break;case _0x1cb9('0x58'):_0x3d25a3[_0x1cb9('0x2a')](db['sequelize'][_0x1cb9('0x51')](_0x3f5637(_0x27cc3c,_0x1cb9('0x57')))[_0x1cb9('0x29')](function(){})[_0x1cb9('0x2c')](_0x30f7e4()));break;default:_0x3d25a3[_0x1cb9('0x2a')](db[_0x1cb9('0x50')][_0x1cb9('0x51')](_0x3b0c2e(_0x27cc3c,'CampaignId'))[_0x1cb9('0x29')](function(){})['catch'](_0x30f7e4()));}}}return _0x3d25a3;})[_0x1cb9('0x53')]();})[_0x1cb9('0x29')](function(){return db['Campaign'][_0x1cb9('0x4a')]({'attributes':['id'],'include':[{'model':db[_0x1cb9('0x4d')],'as':_0x1cb9('0x55'),'where':{'id':LISTID}}]})[_0x1cb9('0x29')](function(_0x56f23d){var _0x113367=[];if(_0x56f23d){for(var _0x39b0cb=0x0,_0x429371;_0x39b0cb<_0x56f23d['length'];_0x39b0cb+=0x1){_0x429371=_0x56f23d[_0x39b0cb][_0x1cb9('0x56')]({'plain':!![]});_0x113367[_0x1cb9('0x2a')](db[_0x1cb9('0x50')][_0x1cb9('0x51')](_0x173db5(_0x429371,_0x1cb9('0x57')))[_0x1cb9('0x29')](function(){})[_0x1cb9('0x2c')](_0x30f7e4()));}}return _0x113367;})['all']();})[_0x1cb9('0x2c')](function(_0x4b15a4){logger[_0x1cb9('0x12')](_0x1cb9('0x59'),_0x1cb9('0x5a'),_0x4b15a4[_0x1cb9('0x1a')]);});}var processPromises=function(_0x4bdbd2){return BPromise[_0x1cb9('0x53')](promises)[_0x1cb9('0x29')](function(_0x5e68a1){})[_0x1cb9('0x2c')](function(_0x416508){logger[_0x1cb9('0x12')](_0x1cb9('0x5b'),JSON[_0x1cb9('0x2d')](_0x416508));})['finally'](function(){socket['emit']('contact:csv_'+SOCKET_TIMESTAMP,{'success':success,'errors':errors,'duplicates':duplicates,'rows':rows});promises=[];success=0x0;errors=0x0;duplicates=0x0;rows=[];if(_0x4bdbd2){return _0x4bdbd2['resume']();}});};var endCsv=function(){return BPromise[_0x1cb9('0x5c')]()[_0x1cb9('0x29')](function(){if(hopperContacts){return checkHopper();}})[_0x1cb9('0x29')](function(){socket[_0x1cb9('0x5d')](_0x1cb9('0x5e')+SOCKET_TIMESTAMP,{'finished':!![],'success':success,'errors':errors,'duplicates':duplicates,'rows':rows});try{fs[_0x1cb9('0x5f')](FILEPATH);}catch(_0x1e6402){logger[_0x1cb9('0x12')]('Unable\x20to\x20delete\x20temp\x20file:',JSON[_0x1cb9('0x2d')](_0x1e6402));}finally{process[_0x1cb9('0x60')](0x0);}});};process['on'](_0x1cb9('0x61'),function(){logger['info'](_0x1cb9('0x62'));endCsv();});function main(){return BPromise[_0x1cb9('0x5c')]()['then'](function(){if(DUPLICATES){DUPLICATES=DUPLICATES[_0x1cb9('0x11')](',');return db[_0x1cb9('0x26')][_0x1cb9('0x4a')]({'where':{'ListId':LISTID},'attributes':DUPLICATES,'raw':!![]});}})[_0x1cb9('0x29')](function(_0x5cb5e5){var _0x2c0416=fs[_0x1cb9('0x63')](FILEPATH,{'highWaterMark':0xf*0x400*0x400});Papa['parse'](_0x2c0416,{'header':!![],'skipEmptyLines':!![],'step':function(_0x5bd78d,_0x1f2d69){total+=0x1;var _0x3ba0a5=total;promises['push'](checkRow(_0x5bd78d,_0x5cb5e5,_0x3ba0a5)['then'](function(){success+=0x1;})[_0x1cb9('0x2c')](function(_0x3486e5){if(_0x3486e5['error']){errors+=0x1;delete _0x3486e5['error'];}else if(_0x3486e5[_0x1cb9('0x24')]){duplicates+=0x1;delete _0x3486e5['duplicate'];}rows['push'](_0x3486e5);}));if(total%0xc8===0x0){_0x1f2d69['pause']();return processPromises(_0x1f2d69);}},'complete':function(){return processPromises()[_0x1cb9('0x29')](function(){logger['info'](_0x1cb9('0x64'));endCsv();});},'error':function(_0x3c717b,_0x33ec43){logger['info'](_0x1cb9('0x65'),JSON[_0x1cb9('0x2d')](_0x3c717b));endCsv();}});})[_0x1cb9('0x2c')](function(_0x4c54b5){logger[_0x1cb9('0x12')](_0x1cb9('0x66'),JSON[_0x1cb9('0x2d')](_0x4c54b5));});}main(); \ No newline at end of file +var _0x0713=['papaparse','ioredis','../../../mysqldb','../../../config/logger','api','redis','defaults','localhost','socket.io-emitter','../../../api/cmContact/cmContact.socket','register','argv','undefined','null','Missing\x20filepath\x20parameter!','Missing\x20binding\x20parameters!','split','Missing\x20ListId\x20parameter!','error','contact','index','isNil','The\x20row\x20is\x20empty\x20or\x20the\x20number\x20of\x20parameters\x20does\x20not\x20match\x20the\x20columns!','errors','length','map','message','join','hasOwnProperty','data','firstName','firstName\x20not\x20specified!','phone\x20not\x20specified!','birthDate','YYYY-MM-DD','isValid','birthDate\x20format\x20is\x20invalid,\x20YYYY-MM-DD\x20format\x20is\x20supported!','email\x20format\x20is\x20not\x20valid!','ListId','find','duplicate','Duplicate\x20Contact','CmContact','create','keys','then','catch','Error\x20while\x20creating\x20contact:\x20','stringify','checkHopper','inspect','insert','fromQuery','phone','scheduledAt','updatedAt','field','NOW()','ContactId','toString','createdAt','from','ListId\x20=\x20?','where','phone\x20IS\x20NOT\x20NULL','phone\x20NOT\x20IN\x20(?)','select','cm_hopper','\x20=\x20?','into','deletedAt\x20IS\x20NULL','id\x20IN\x20?','str','calleridnum','cm_hopper_final','cm_hopper_black','cm_contacts','VoiceQueue','findAll','outbound','dialCheckDuplicateType','Lists','get','sequelize','query','VoiceQueueId','onlyIfOpen','push','all','CmList','Campaign','CampaignId','BlackLists','cmContact,\x20%s,\x20%s','Error\x20processing\x20rows\x20block:','emit','contact:csv_','resume','unlinkSync','Unable\x20to\x20delete\x20temp\x20file:','exit','SIGINT','info','CSV\x20import\x20process\x20stopped!','resolve','pause','CSV\x20parsed\x20correctly!','CSV\x20parse\x20error','Error\x20executing\x20contact\x20csv\x20import:','lodash','squel'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x0713,0x1ba));var _0x3071=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x0713[_0x3dd15e];return _0x231fd0;};'use strict';var BPromise=require('bluebird');var util=require('util');var _=require(_0x3071('0x0'));var fs=require('fs');var squel=require(_0x3071('0x1'));var Papa=require(_0x3071('0x2'));var Redis=require(_0x3071('0x3'));var db=require(_0x3071('0x4'))['db'];var config=require('../../../config/environment');var logger=require(_0x3071('0x5'))(_0x3071('0x6'));config[_0x3071('0x7')]=_[_0x3071('0x8')](config[_0x3071('0x7')],{'host':_0x3071('0x9'),'port':0x18eb});var socket=require(_0x3071('0xa'))(new Redis(config[_0x3071('0x7')]));require(_0x3071('0xb'))[_0x3071('0xc')](socket);try{if(!process[_0x3071('0xd')][0x2]||process[_0x3071('0xd')][0x2]===_0x3071('0xe')||process['argv'][0x2]===_0x3071('0xf')){throw new Error(_0x3071('0x10'));}var FILEPATH=process[_0x3071('0xd')][0x2];if(!process[_0x3071('0xd')][0x3]||process[_0x3071('0xd')][0x3]==='undefined'||process[_0x3071('0xd')][0x3]===_0x3071('0xf')||!process[_0x3071('0xd')][0x4]||process[_0x3071('0xd')][0x4]===_0x3071('0xe')||process['argv'][0x4]==='null'){throw new Error(_0x3071('0x11'));}var FIELDS=_['zipObject'](process[_0x3071('0xd')][0x3][_0x3071('0x12')](','),process['argv'][0x4][_0x3071('0x12')](','));if(!process['argv'][0x5]||process[_0x3071('0xd')][0x5]===_0x3071('0xe')||process[_0x3071('0xd')][0x5]===_0x3071('0xf')){throw new Error(_0x3071('0x13'));}var LISTID=process[_0x3071('0xd')][0x5];var COMPANYID=process[_0x3071('0xd')][0x6]&&process[_0x3071('0xd')][0x6]!==_0x3071('0xe')&&process[_0x3071('0xd')][0x6]!=='null'?process[_0x3071('0xd')][0x6]:null;var DUPLICATES=process[_0x3071('0xd')][0x7]&&process[_0x3071('0xd')][0x7]!==_0x3071('0xe')&&process[_0x3071('0xd')][0x7]!==_0x3071('0xf')?process[_0x3071('0xd')][0x7]:null;if(!process[_0x3071('0xd')][0x8]||process['argv'][0x8]===_0x3071('0xe')||process[_0x3071('0xd')][0x8]===_0x3071('0xf')){throw new Error('Missing\x20socket_timestamp\x20parameter!');}var SOCKET_TIMESTAMP=process[_0x3071('0xd')][0x8];}catch(_0x5cd80d){logger[_0x3071('0x14')](_0x5cd80d);endCsv();}var total=0x0;var pTotal=0x0;var success=0x0;var errors=0x0;var duplicates=0x0;var rows=[];var hopperContacts='';var promises=[];var index=0x0;var alreadyInvalid=![];function handleCheckRowError(_0x43128c,_0x3762d8,_0x457b57,_0x33090c){var _0x34c50e={'message':_0x3762d8};_0x34c50e[_0x43128c]=!![];if(_0x457b57){_0x34c50e[_0x3071('0x15')]=_0x457b57;}if(_0x33090c){_0x34c50e[_0x3071('0x16')]=_0x33090c;}return _0x34c50e;}function isEmail(_0x542646){return/^([^\x00-\x20\x22\x28\x29\x2c\x2e\x3a-\x3c\x3e\x40\x5b-\x5d\x7f-\xff]+|\x22([^\x0d\x22\x5c\x80-\xff]|\x5c[\x00-\x7f])*\x22)(\x2e([^\x00-\x20\x22\x28\x29\x2c\x2e\x3a-\x3c\x3e\x40\x5b-\x5d\x7f-\xff]+|\x22([^\x0d\x22\x5c\x80-\xff]|\x5c[\x00-\x7f])*\x22))*\x40([^\x00-\x20\x22\x28\x29\x2c\x2e\x3a-\x3c\x3e\x40\x5b-\x5d\x7f-\xff]+|\x5b([^\x0d\x5b-\x5d\x80-\xff]|\x5c[\x00-\x7f])*\x5d)(\x2e([^\x00-\x20\x22\x28\x29\x2c\x2e\x3a-\x3c\x3e\x40\x5b-\x5d\x7f-\xff]+|\x5b([^\x0d\x5b-\x5d\x80-\xff]|\x5c[\x00-\x7f])*\x5d))*$/['test'](_0x542646);}function checkRow(_0x2ce48a,_0xb05b1d,_0x412652){return new BPromise(function(_0x13df9f,_0x2793ef){if(_[_0x3071('0x17')](_0x2ce48a)){return _0x2793ef(handleCheckRowError(_0x3071('0x14'),_0x3071('0x18'),null,_0x412652));}if(_0x2ce48a[_0x3071('0x19')]&&_0x2ce48a['errors'][_0x3071('0x1a')]){var _0x3f1e6e=_[_0x3071('0x1b')](_0x2ce48a['errors'],_0x3071('0x1c'))[_0x3071('0x1d')](';');return _0x2793ef(handleCheckRowError(_0x3071('0x14'),_0x3f1e6e,null,_0x412652));}var _0x950fde={};for(var _0x3fa3b8 in FIELDS){if(FIELDS[_0x3071('0x1e')](_0x3fa3b8)&&FIELDS[_0x3fa3b8]){_0x950fde[_0x3fa3b8]=_0x2ce48a[_0x3071('0x1f')][0x0][FIELDS[_0x3fa3b8]]||_0x2ce48a[_0x3071('0x1f')][0x0]['\ufeff'+FIELDS[_0x3fa3b8]];}}if(!_0x950fde[_0x3071('0x20')]){return _0x2793ef(handleCheckRowError(_0x3071('0x14'),_0x3071('0x21'),null,_0x412652));}if(!_0x950fde['phone']){return _0x2793ef(handleCheckRowError('error',_0x3071('0x22'),null,_0x412652));}if(_0x950fde[_0x3071('0x23')]){var _0x6ddf96=moment(_0x950fde[_0x3071('0x23')],_0x3071('0x24'));if(!_0x6ddf96[_0x3071('0x25')]()){return _0x2793ef(handleCheckRowError(_0x3071('0x14'),_0x3071('0x26'),null,_0x412652));}}if(_0x950fde['email']){if(!isEmail(_0x950fde['email'])){return _0x2793ef(handleCheckRowError('error',_0x3071('0x27'),null,_0x412652));}}_0x950fde[_0x3071('0x28')]=LISTID;_0x950fde['CompanyId']=COMPANYID||undefined;if(DUPLICATES&&DUPLICATES[_0x3071('0x1a')]&&_0xb05b1d){var _0x28747d={};for(var _0x25250e=0x0,_0x13ae2c=DUPLICATES['length'];_0x25250e<_0x13ae2c;_0x25250e+=0x1){_0x28747d[DUPLICATES[_0x25250e]]=_0x950fde[DUPLICATES[_0x25250e]];}var _0x218a82=_[_0x3071('0x29')](_0xb05b1d,_0x28747d);if(_0x218a82){return _0x2793ef(handleCheckRowError(_0x3071('0x2a'),_0x3071('0x2b'),_0x218a82,_0x412652));}}return db[_0x3071('0x2c')][_0x3071('0x2d')](_0x950fde,{'raw':!![],'hooks':![],'fields':_[_0x3071('0x2e')](_0x950fde)})[_0x3071('0x2f')](function(_0x596cc3){if(DUPLICATES&&DUPLICATES[_0x3071('0x1a')]&&_0xb05b1d){_0xb05b1d['push'](_['pick'](_0x950fde,DUPLICATES));}hopperContacts+=(hopperContacts?',':'')+_0x596cc3['id'];return _0x13df9f();})[_0x3071('0x30')](function(_0xa3a7ae){return _0x2793ef(handleCheckRowError('error',_0x3071('0x31')+(_0xa3a7ae[_0x3071('0x1c')]||JSON[_0x3071('0x32')](_0xa3a7ae)),null,_0x412652));});});}function checkHopper(){function _0x14ac42(){return function(_0xc60572){logger[_0x3071('0x14')]('cmContact',_0x3071('0x33'),util[_0x3071('0x34')](_0xc60572,{'showHidden':![],'depth':null}));};}var _0x4ce6d4=function(_0x44ad05,_0x5b1392){var _0x28f855=squel[_0x3071('0x35')]()['into']('cm_hopper')[_0x3071('0x36')]([_0x3071('0x37'),_0x3071('0x38'),'ContactId',_0x3071('0x28'),_0x5b1392,'createdAt',_0x3071('0x39')],squel['select']()[_0x3071('0x3a')](_0x3071('0x37'),_0x3071('0x37'))[_0x3071('0x3a')](_0x3071('0x3b'),'scheduledAt')['field']('id',_0x3071('0x3c'))[_0x3071('0x3a')](LISTID[_0x3071('0x3d')](),_0x3071('0x28'))['field'](_0x44ad05['id'][_0x3071('0x3d')](),_0x5b1392)[_0x3071('0x3a')](_0x3071('0x3b'),_0x3071('0x3e'))[_0x3071('0x3a')](_0x3071('0x3b'),'updatedAt')[_0x3071('0x3f')]('cm_contacts')['where']('deletedAt\x20IS\x20NULL')['where'](_0x3071('0x40'),LISTID[_0x3071('0x3d')]())[_0x3071('0x41')](_0x3071('0x42'))[_0x3071('0x41')](_0x3071('0x43'),squel[_0x3071('0x44')]()[_0x3071('0x3a')]('phone')[_0x3071('0x3f')](_0x3071('0x45'))[_0x3071('0x41')](_0x5b1392+_0x3071('0x46'),_0x44ad05['id'][_0x3071('0x3d')]())))['toString']();return _0x28f855;};var _0x5c93c7=function(_0x1721d0,_0x3c2f5e){var _0x1fe5e0=squel[_0x3071('0x35')]()[_0x3071('0x47')]('cm_hopper')[_0x3071('0x36')](['phone',_0x3071('0x38'),'ContactId','ListId',_0x3c2f5e,_0x3071('0x3e'),'updatedAt'],squel[_0x3071('0x44')]()['field'](_0x3071('0x37'),_0x3071('0x37'))[_0x3071('0x3a')](_0x3071('0x3b'),'scheduledAt')[_0x3071('0x3a')]('id','ContactId')[_0x3071('0x3a')](LISTID['toString'](),_0x3071('0x28'))[_0x3071('0x3a')](_0x1721d0['id']['toString'](),_0x3c2f5e)[_0x3071('0x3a')](_0x3071('0x3b'),_0x3071('0x3e'))[_0x3071('0x3a')](_0x3071('0x3b'),_0x3071('0x39'))[_0x3071('0x3f')]('cm_contacts')[_0x3071('0x41')](_0x3071('0x48'))[_0x3071('0x41')](_0x3071('0x40'),LISTID['toString']())[_0x3071('0x41')](_0x3071('0x49'),squel[_0x3071('0x4a')](hopperContacts))[_0x3071('0x41')](_0x3071('0x42'))[_0x3071('0x41')](_0x3071('0x43'),squel[_0x3071('0x44')]()[_0x3071('0x3a')](_0x3071('0x4b'))[_0x3071('0x3f')](_0x3071('0x4c'))[_0x3071('0x41')](_0x3c2f5e+_0x3071('0x46'),_0x1721d0['id'][_0x3071('0x3d')]()))[_0x3071('0x41')]('phone\x20NOT\x20IN\x20(?)',squel['select']()[_0x3071('0x3a')]('phone')[_0x3071('0x3f')](_0x3071('0x45'))[_0x3071('0x41')](_0x3c2f5e+'\x20=\x20?',_0x1721d0['id'][_0x3071('0x3d')]())))[_0x3071('0x3d')]();return _0x1fe5e0;};function _0x5bc69e(_0x4b8ec0,_0x1b89ea){var _0x15abc4=squel[_0x3071('0x35')]()[_0x3071('0x47')]('cm_hopper')[_0x3071('0x36')]([_0x3071('0x37'),_0x3071('0x38'),_0x3071('0x3c'),_0x3071('0x28'),_0x1b89ea,'createdAt',_0x3071('0x39')],squel[_0x3071('0x44')]()[_0x3071('0x3a')](_0x3071('0x37'),_0x3071('0x37'))[_0x3071('0x3a')](_0x3071('0x3b'),'scheduledAt')['field']('id',_0x3071('0x3c'))['field'](LISTID[_0x3071('0x3d')](),_0x3071('0x28'))['field'](_0x4b8ec0['id'][_0x3071('0x3d')](),_0x1b89ea)[_0x3071('0x3a')]('NOW()',_0x3071('0x3e'))[_0x3071('0x3a')](_0x3071('0x3b'),_0x3071('0x39'))[_0x3071('0x3f')]('cm_contacts')[_0x3071('0x41')](_0x3071('0x48'))[_0x3071('0x41')]('ListId\x20=\x20?',LISTID[_0x3071('0x3d')]())[_0x3071('0x41')](_0x3071('0x49'),squel[_0x3071('0x4a')](hopperContacts))[_0x3071('0x41')](_0x3071('0x42')))[_0x3071('0x3d')]();return _0x15abc4;}function _0x2e39ff(_0x3b47e8,_0x5cb3b3){var _0x5d1316=squel[_0x3071('0x35')]()[_0x3071('0x47')](_0x3071('0x4d'))[_0x3071('0x36')]([_0x3071('0x37'),_0x3071('0x3c'),_0x3071('0x28'),_0x5cb3b3,_0x3071('0x3e'),_0x3071('0x39')],squel[_0x3071('0x44')]()['field'](_0x3071('0x37'),_0x3071('0x37'))[_0x3071('0x3a')]('id',_0x3071('0x3c'))[_0x3071('0x3a')](LISTID[_0x3071('0x3d')](),_0x3071('0x28'))[_0x3071('0x3a')](_0x3b47e8['id']['toString'](),_0x5cb3b3)[_0x3071('0x3a')](_0x3071('0x3b'),'createdAt')['field'](_0x3071('0x3b'),_0x3071('0x39'))[_0x3071('0x3f')](_0x3071('0x4e'))['where']('deletedAt\x20IS\x20NULL')[_0x3071('0x41')]('ListId\x20=\x20?',LISTID['toString']())['where']('id\x20IN\x20?',squel[_0x3071('0x4a')](hopperContacts))[_0x3071('0x41')](_0x3071('0x42')))['toString']();return _0x5d1316;}return db[_0x3071('0x4f')][_0x3071('0x50')]({'where':{'type':_0x3071('0x51')},'attributes':['id',_0x3071('0x52')],'include':[{'model':db['CmList'],'as':_0x3071('0x53'),'where':{'id':LISTID}}]})[_0x3071('0x2f')](function(_0x588406){var _0x1b35d3=[];if(_0x588406){var _0x29ee70;for(var _0x388cd1=0x0,_0x40c258;_0x388cd1<_0x588406[_0x3071('0x1a')];_0x388cd1+=0x1){_0x40c258=_0x588406[_0x388cd1][_0x3071('0x54')]({'plain':!![]});switch(_0x40c258[_0x3071('0x52')]){case'always':_0x1b35d3['push'](db[_0x3071('0x55')][_0x3071('0x56')](_0x5c93c7(_0x40c258,_0x3071('0x57')))['then'](function(){})['catch'](_0x14ac42()));break;case _0x3071('0x58'):_0x1b35d3[_0x3071('0x59')](db[_0x3071('0x55')][_0x3071('0x56')](_0x4ce6d4(_0x40c258,_0x3071('0x57')))[_0x3071('0x2f')](function(){})[_0x3071('0x30')](_0x14ac42()));break;default:_0x1b35d3[_0x3071('0x59')](db['sequelize'][_0x3071('0x56')](_0x5bc69e(_0x40c258,'VoiceQueueId'))[_0x3071('0x2f')](function(){})[_0x3071('0x30')](_0x14ac42()));}}}return _0x1b35d3;})[_0x3071('0x5a')]()[_0x3071('0x2f')](function(){return db[_0x3071('0x4f')][_0x3071('0x50')]({'where':{'type':_0x3071('0x51')},'attributes':['id'],'include':[{'model':db[_0x3071('0x5b')],'as':'BlackLists','where':{'id':LISTID}}]})[_0x3071('0x2f')](function(_0x138a94){var _0x1da477=[];if(_0x138a94){var _0x4f06c0;for(var _0x2a2e7a=0x0,_0x22ec7b;_0x2a2e7a<_0x138a94[_0x3071('0x1a')];_0x2a2e7a+=0x1){_0x22ec7b=_0x138a94[_0x2a2e7a]['get']({'plain':!![]});_0x1da477['push'](db[_0x3071('0x55')]['query'](_0x2e39ff(_0x22ec7b,_0x3071('0x57')))[_0x3071('0x2f')](function(){})[_0x3071('0x30')](_0x14ac42()));}}return _0x1da477;})[_0x3071('0x5a')]();})[_0x3071('0x2f')](function(){return db[_0x3071('0x5c')][_0x3071('0x50')]({'attributes':['id','dialCheckDuplicateType'],'include':[{'model':db[_0x3071('0x5b')],'as':_0x3071('0x53'),'where':{'id':LISTID}}]})[_0x3071('0x2f')](function(_0x3cc937){var _0x98d0fb=[];if(_0x3cc937){for(var _0x1fea60=0x0,_0x435dcb;_0x1fea60<_0x3cc937[_0x3071('0x1a')];_0x1fea60+=0x1){_0x435dcb=_0x3cc937[_0x1fea60]['get']({'plain':!![]});switch(_0x435dcb[_0x3071('0x52')]){case'always':_0x98d0fb[_0x3071('0x59')](db[_0x3071('0x55')][_0x3071('0x56')](_0x5c93c7(_0x435dcb,_0x3071('0x5d')))[_0x3071('0x2f')](function(){})[_0x3071('0x30')](_0x14ac42()));break;case _0x3071('0x58'):_0x98d0fb[_0x3071('0x59')](db[_0x3071('0x55')][_0x3071('0x56')](_0x4ce6d4(_0x435dcb,'CampaignId'))[_0x3071('0x2f')](function(){})[_0x3071('0x30')](_0x14ac42()));break;default:_0x98d0fb['push'](db[_0x3071('0x55')][_0x3071('0x56')](_0x5bc69e(_0x435dcb,_0x3071('0x5d')))[_0x3071('0x2f')](function(){})[_0x3071('0x30')](_0x14ac42()));}}}return _0x98d0fb;})['all']();})['then'](function(){return db[_0x3071('0x5c')]['findAll']({'attributes':['id'],'include':[{'model':db[_0x3071('0x5b')],'as':_0x3071('0x5e'),'where':{'id':LISTID}}]})[_0x3071('0x2f')](function(_0x136278){var _0x22783b=[];if(_0x136278){for(var _0x2f31b7=0x0,_0x568386;_0x2f31b7<_0x136278[_0x3071('0x1a')];_0x2f31b7+=0x1){_0x568386=_0x136278[_0x2f31b7][_0x3071('0x54')]({'plain':!![]});_0x22783b[_0x3071('0x59')](db[_0x3071('0x55')]['query'](_0x2e39ff(_0x568386,_0x3071('0x5d')))[_0x3071('0x2f')](function(){})['catch'](_0x14ac42()));}}return _0x22783b;})[_0x3071('0x5a')]();})[_0x3071('0x30')](function(_0x391887){logger[_0x3071('0x14')](_0x3071('0x5f'),'generalCheckHopper',_0x391887[_0x3071('0x1c')]);});}var processPromises=function(_0x479fe7){return BPromise[_0x3071('0x5a')](promises)[_0x3071('0x2f')](function(_0x39060f){})[_0x3071('0x30')](function(_0x1120ec){logger[_0x3071('0x14')](_0x3071('0x60'),JSON[_0x3071('0x32')](_0x1120ec));})['finally'](function(){socket[_0x3071('0x61')](_0x3071('0x62')+SOCKET_TIMESTAMP,{'success':success,'errors':errors,'duplicates':duplicates,'rows':rows});promises=[];success=0x0;errors=0x0;duplicates=0x0;rows=[];if(_0x479fe7){return _0x479fe7[_0x3071('0x63')]();}});};var endCsv=function(){return BPromise['resolve']()[_0x3071('0x2f')](function(){if(hopperContacts){return checkHopper();}})['then'](function(){socket[_0x3071('0x61')](_0x3071('0x62')+SOCKET_TIMESTAMP,{'finished':!![],'success':success,'errors':errors,'duplicates':duplicates,'rows':rows});try{fs[_0x3071('0x64')](FILEPATH);}catch(_0x5e0cbd){logger[_0x3071('0x14')](_0x3071('0x65'),JSON[_0x3071('0x32')](_0x5e0cbd));}finally{process[_0x3071('0x66')](0x0);}});};process['on'](_0x3071('0x67'),function(){logger[_0x3071('0x68')](_0x3071('0x69'));endCsv();});function main(){return BPromise[_0x3071('0x6a')]()[_0x3071('0x2f')](function(){if(DUPLICATES){DUPLICATES=DUPLICATES['split'](',');return db[_0x3071('0x2c')][_0x3071('0x50')]({'where':{'ListId':LISTID},'attributes':DUPLICATES,'raw':!![]});}})[_0x3071('0x2f')](function(_0x5b2830){var _0x561030=fs['createReadStream'](FILEPATH,{'highWaterMark':0xf*0x400*0x400});Papa['parse'](_0x561030,{'header':!![],'skipEmptyLines':!![],'step':function(_0x4eb9e2,_0x8c77b7){total+=0x1;var _0x44b4c9=total;promises['push'](checkRow(_0x4eb9e2,_0x5b2830,_0x44b4c9)[_0x3071('0x2f')](function(){success+=0x1;})[_0x3071('0x30')](function(_0x1f61df){if(_0x1f61df['error']){errors+=0x1;delete _0x1f61df['error'];}else if(_0x1f61df[_0x3071('0x2a')]){duplicates+=0x1;delete _0x1f61df[_0x3071('0x2a')];}rows[_0x3071('0x59')](_0x1f61df);}));if(total%0xc8===0x0){_0x8c77b7[_0x3071('0x6b')]();return processPromises(_0x8c77b7);}},'complete':function(){return processPromises()[_0x3071('0x2f')](function(){logger[_0x3071('0x68')](_0x3071('0x6c'));endCsv();});},'error':function(_0x5eb60d,_0x58b62c){logger[_0x3071('0x68')](_0x3071('0x6d'),JSON[_0x3071('0x32')](_0x5eb60d));endCsv();}});})[_0x3071('0x30')](function(_0x5a3b64){logger[_0x3071('0x14')](_0x3071('0x6e'),JSON[_0x3071('0x32')](_0x5a3b64));});}main(); \ No newline at end of file diff --git a/server/components/import/cm/csv2.js b/server/components/import/cm/csv2.js index 67589c5..43fa6b4 100644 --- a/server/components/import/cm/csv2.js +++ b/server/components/import/cm/csv2.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x22a4=['scheduledat',',\x20scheduledAt\x20=\x20NOW()','voice_queues_has_cm_lists','voice_queues','voice_queues_has_cm_blacklists','VoiceQueueId','campaigns','CampaignId','each','then','finish','affectedRows','emit','exit','argv','arguments\x20\x20\x20','root','existsSync','file\x20doesn\x27t\x20exists','binding\x20doesn\x27t\x20exists','phone\x20is\x20mandatory','firstName\x20is\x20mandatory','ListId\x20is\x20mandatory','body\x20id\x20mandatory','map','parse','No\x20agent\x20available','path','papaparse','bluebird','moment','squel','ioredis','../../../config/environment','../../../config/logger','import','redis','format','YYYY-MM-DD\x20HH:mm:ss','test','select','field','phone','where','\x20=\x20','.dialCheckDuplicateType\x20IN\x20(','join','cm_contacts.phone','cm_contacts.ListId','cm_contacts.updatedAt','cm_contacts.priority','insert','into','cm_hopper','fromQuery','ContactId','ListId','createdAt','updatedAt','fields','from','cm_contacts','cm_contacts.ListId\x20=\x20','.CmListId','.id\x20=\x20','.CmListId\x20=\x20?','cm_contacts.createdAt\x20=\x20?','\x22always\x22','cm_contacts.phone\x20NOT\x20IN\x20(?)','toString','cm_contacts.id','cm_hopper_black','ListId\x20=\x20?','\x20=\x20?','concat','keys','CompanyId',')\x20NOT\x20IN\x20?','deletedAt\x20IS\x20NULL','id\x20IN\x20?','MIN(id)','min_id','group','info','Received\x20SIGINT','error','errors','message','sequelize','query','spread','push','catch','main','stringify','send','start','binding','socket_timestamp','server/files/tmp','.csv','header','writeFileSync','createReadStream','data','length','rows','hasOwnProperty','trim','replace','isValid','priority','isNaN','UserId','isNumber','includes','agent\x20not\x20exists','dateOfBirth','YYYY-MM-DD','dateOfBirth\x20wrong\x20format\x20(YYYY-MM-DD)','firstName','\x20not\x20specified','SystemRow','contact:import:','abort','SystemError','step','duplicates','cm_contacts_','CREATE\x20TABLE\x20','\x20LIKE\x20cm_contacts;','LOAD\x20DATA\x20LOCAL\x20INFILE\x20\x27%s\x27\x20INTO\x20TABLE\x20%s\x20CHARACTER\x20SET\x20UTF8\x20FIELDS\x20TERMINATED\x20BY\x20\x27,\x27\x20ENCLOSED\x20BY\x20\x27\x22\x27\x20LINES\x20TERMINATED\x20BY\x20\x27\x0a\x27\x20IGNORE\x201\x20ROWS\x20(%s)\x20SET\x20id\x20=\x20NULL,\x20ListId\x20=\x20%s,\x20CompanyId\x20=\x20%s,\x20createdAt\x20=\x20\x27%s\x27,\x20updatedAt\x20=\x20\x27%s\x27'];(function(_0xc49e51,_0x443702){var _0x13c779=function(_0x476b97){while(--_0x476b97){_0xc49e51['push'](_0xc49e51['shift']());}};_0x13c779(++_0x443702);}(_0x22a4,0x123));var _0x422a=function(_0x27e1bf,_0x43e0ca){_0x27e1bf=_0x27e1bf-0x0;var _0xef0321=_0x22a4[_0x27e1bf];return _0xef0321;};'use strict';var fs=require('fs');var path=require(_0x422a('0x0'));var _=require('lodash');var Papa=require(_0x422a('0x1'));var util=require('util');var BPromise=require(_0x422a('0x2'));var moment=require(_0x422a('0x3'));var squel=require(_0x422a('0x4'));var Redis=require(_0x422a('0x5'));var db=require('../../../mysqldb')['db'];var config=require(_0x422a('0x6'));var logger=require(_0x422a('0x7'))(_0x422a('0x8'));config['redis']=_['defaults'](config[_0x422a('0x9')],{'host':'localhost','port':0x18eb});var socket=require('socket.io-emitter')(new Redis(config[_0x422a('0x9')]));var stats={'finish':![],'errors':[],'rows':0x0,'affectedRows':0x0};var results=[];var stopped=![];var NOW=moment()[_0x422a('0xa')](_0x422a('0xb'));function isEmail(_0x4ec4bd){return/^([^\x00-\x20\x22\x28\x29\x2c\x2e\x3a-\x3c\x3e\x40\x5b-\x5d\x7f-\xff]+|\x22([^\x0d\x22\x5c\x80-\xff]|\x5c[\x00-\x7f])*\x22)(\x2e([^\x00-\x20\x22\x28\x29\x2c\x2e\x3a-\x3c\x3e\x40\x5b-\x5d\x7f-\xff]+|\x22([^\x0d\x22\x5c\x80-\xff]|\x5c[\x00-\x7f])*\x22))*\x40([^\x00-\x20\x22\x28\x29\x2c\x2e\x3a-\x3c\x3e\x40\x5b-\x5d\x7f-\xff]+|\x5b([^\x0d\x5b-\x5d\x80-\xff]|\x5c[\x00-\x7f])*\x5d)(\x2e([^\x00-\x20\x22\x28\x29\x2c\x2e\x3a-\x3c\x3e\x40\x5b-\x5d\x7f-\xff]+|\x5b([^\x0d\x5b-\x5d\x80-\xff]|\x5c[\x00-\x7f])*\x5d))*$/[_0x422a('0xc')](_0x4ec4bd);}function selectNotIn(_0x38d936,_0x3472cf,_0x1dec7c,_0x2667bf,_0x749f5b){return squel[_0x422a('0xd')]()[_0x422a('0xe')](_0x422a('0xf'))['from'](_0x2667bf)['join'](_0x3472cf,null,_0x3472cf+'.id\x20=\x20'+_0x2667bf+'.'+_0x1dec7c)[_0x422a('0x10')](_0x2667bf+'.'+_0x1dec7c+_0x422a('0x11')+_0x38d936+'.'+_0x1dec7c)[_0x422a('0x10')](_0x3472cf+_0x422a('0x12')+_0x749f5b[_0x422a('0x13')]()+')');}function insertCmHopper(_0x5e0823,_0x1e7f34,_0x4c264c,_0x45df2d,_0x5d79bb){var _0x38c222=[_0x422a('0x14'),'cm_contacts.scheduledat','cm_contacts.id',_0x422a('0x15'),_0x1e7f34+'.'+_0x45df2d,'cm_contacts.createdAt',_0x422a('0x16'),_0x422a('0x17'),'cm_contacts.UserId','\x22'+_0x5d79bb+'\x22'];return squel[_0x422a('0x18')]()[_0x422a('0x19')](_0x422a('0x1a'))[_0x422a('0x1b')]([_0x422a('0xf'),'scheduledat',_0x422a('0x1c'),_0x422a('0x1d'),_0x45df2d,_0x422a('0x1e'),_0x422a('0x1f'),'priority','UserId','recallme'],squel[_0x422a('0xd')]()[_0x422a('0x20')](_0x38c222)[_0x422a('0x21')](_0x1e7f34)['join'](_0x422a('0x22'),null,_0x422a('0x23')+_0x1e7f34+_0x422a('0x24'))[_0x422a('0x13')](_0x4c264c,null,_0x4c264c+_0x422a('0x25')+_0x1e7f34+'.'+_0x45df2d)[_0x422a('0x10')](_0x1e7f34+_0x422a('0x26'),_0x5e0823)[_0x422a('0x10')](_0x422a('0x27'),NOW)['where']('cm_contacts.phone\x20NOT\x20IN\x20(?)',selectNotIn(_0x1e7f34,_0x4c264c,_0x45df2d,'cm_hopper',[_0x422a('0x28'),'\x22onlyIfOpen\x22']))[_0x422a('0x10')](_0x422a('0x29'),selectNotIn(_0x1e7f34,_0x4c264c,_0x45df2d,_0x422a('0x1a'),[_0x422a('0x28')])))[_0x422a('0x2a')]();}function insertCmHopperBlack(_0x59830c,_0x39351c,_0x1cb278,_0x439a59){var _0x58f6e7=[_0x422a('0x14'),_0x422a('0x2b'),'cm_contacts.ListId',_0x39351c+'.'+_0x439a59,'cm_contacts.createdAt','cm_contacts.updatedAt'];return squel['insert']()['into'](_0x422a('0x2c'))[_0x422a('0x1b')]([_0x422a('0xf'),_0x422a('0x1c'),'ListId',_0x439a59,_0x422a('0x1e'),'updatedAt'],squel[_0x422a('0xd')]()[_0x422a('0x20')](_0x58f6e7)[_0x422a('0x21')](_0x39351c)[_0x422a('0x13')]('cm_contacts',null,_0x422a('0x23')+_0x39351c+_0x422a('0x24'))[_0x422a('0x13')](_0x1cb278,null,_0x1cb278+_0x422a('0x25')+_0x39351c+'.'+_0x439a59)[_0x422a('0x10')](_0x39351c+'.CmListId\x20=\x20?',_0x59830c)['where'](_0x422a('0x27'),NOW)[_0x422a('0x10')](_0x422a('0x29'),squel[_0x422a('0xd')]()['field'](_0x422a('0xf'))[_0x422a('0x21')](_0x422a('0x2c'))['where'](_0x422a('0x2d'),_0x59830c)['where'](_0x439a59+_0x422a('0x2e'),_0x39351c+'.'+_0x439a59)))[_0x422a('0x2a')]();}function insertCmContact(_0x294f05,_0x13d71d,_0x1c8455,_0x3349f4){var _0xa8e50a=_[_0x422a('0x2f')](_[_0x422a('0x30')](_0x3349f4),[_0x422a('0x1d'),_0x422a('0x31'),_0x422a('0x1e'),_0x422a('0x1f')]);return squel[_0x422a('0x18')]()['into'](_0x422a('0x22'))['fromQuery'](_0xa8e50a,squel[_0x422a('0xd')]()[_0x422a('0x20')](_0xa8e50a)[_0x422a('0x21')](_0x13d71d)[_0x422a('0x10')]('('+_0x1c8455[_0x422a('0x13')](',')+_0x422a('0x32'),squel[_0x422a('0xd')]()[_0x422a('0x20')](_0x1c8455)[_0x422a('0x21')](_0x422a('0x22'))[_0x422a('0x10')](_0x422a('0x2d'),_0x294f05)[_0x422a('0x10')](_0x422a('0x33')))[_0x422a('0x10')](_0x422a('0x34'),squel[_0x422a('0xd')]()[_0x422a('0xe')](_0x422a('0x35'),_0x422a('0x36'))[_0x422a('0x21')](_0x13d71d)[_0x422a('0x37')](_0x1c8455['join'](','))))[_0x422a('0x2a')]();}function handleStop(){logger[_0x422a('0x38')](_0x422a('0x39'));stopped=!![];}function handleUncaughtException(_0x3f9aa2){logger[_0x422a('0x3a')](_0x3f9aa2['message']);process['exit'](0x1);}function handleError(_0x2f1086,_0xd15599){stats[_0x422a('0x3b')]['push']({'name':_0xd15599['code'],'message':_0xd15599[_0x422a('0x3c')],'row':_0x2f1086});}function handleQuery(_0x5af6ff){logger[_0x422a('0x38')](_0x5af6ff);return db[_0x422a('0x3d')][_0x422a('0x3e')](_0x5af6ff)[_0x422a('0x3f')](function(_0x59a5d2){results[_0x422a('0x40')](_0x59a5d2);})[_0x422a('0x41')](function(_0xb9bf0f){logger[_0x422a('0x3a')](_0xb9bf0f[_0x422a('0x3c')]);});}function main(_0x2b5c24,_0x28d311,_0x2e2aee,_0x3a5fd1){logger[_0x422a('0x38')](_0x422a('0x42'),_0x2b5c24,JSON[_0x422a('0x43')](_0x28d311));process[_0x422a('0x44')](_0x422a('0x45'));var _0xded7ed=_0x28d311[_0x422a('0x46')];var _0x35a1c9=_0x28d311[_0x422a('0x47')];var _0x2ce73e=path[_0x422a('0x13')](config['root'],_0x422a('0x48'),_0x35a1c9+_0x422a('0x49'));var _0x1ef151=_[_0x422a('0x30')](_0xded7ed)['join']();logger[_0x422a('0x38')](_0x422a('0x4a'),_0x1ef151);fs[_0x422a('0x4b')](_0x2ce73e,_0x1ef151+'\x0a');Papa['parse'](fs[_0x422a('0x4c')](_0x2b5c24),{'header':!![],'skipEmptyLines':!![],'step':function(_0x1c5f2a,_0x553630){try{for(var _0x3b7ced=0x0,_0x5268e0=[];_0x3b7ced<_0x1c5f2a[_0x422a('0x4d')][_0x422a('0x4e')];_0x3b7ced++){stats[_0x422a('0x4f')]+=0x1;if(_0x1c5f2a['errors'][_0x3b7ced]){handleError(_0x1c5f2a['data'][_0x3b7ced],_0x1c5f2a[_0x422a('0x3b')][_0x3b7ced]);}else{var _0x3fd5b5=[];for(var _0x1929d in _0xded7ed){if(_0xded7ed[_0x422a('0x50')](_0x1929d)){if(_0x1c5f2a[_0x422a('0x4d')][_0x3b7ced][_0xded7ed[_0x1929d]]){var _0x392ef6=_[_0x422a('0x51')](_0x1c5f2a[_0x422a('0x4d')][_0x3b7ced][_0xded7ed[_0x1929d]][_0x422a('0x52')](/"/g,'\x27'));switch(_0x1929d){case'scheduledat':var _0x146bb0=moment(_0x392ef6,'YYYY-MM-DD\x20HH:mm:ss',!![]);if(_0x146bb0[_0x422a('0x53')]()){_0x5268e0['push']('\x22'+_0x392ef6+'\x22');}else{_0x3fd5b5[_0x422a('0x40')]('scheduledat\x20wrong\x20format\x20(YYYY-MM-DD\x20HH:mm:ss)');}break;case _0x422a('0x54'):var _0x33422d=parseInt(_0x392ef6);_0x392ef6=_[_0x422a('0x55')](_0x33422d)||_0x33422d<0x0||_0x33422d>0x4?_0x3a5fd1?0x3:0x2:_0x33422d;_0x5268e0[_0x422a('0x40')]('\x22'+_0x392ef6+'\x22');break;case _0x422a('0x56'):var _0x5914f7=parseInt(_0x392ef6);if(_[_0x422a('0x57')](_0x5914f7)&&_[_0x422a('0x58')](_0x2e2aee,_0x5914f7)){_0x5268e0[_0x422a('0x40')]('\x22'+_0x5914f7+'\x22');}else{_0x3fd5b5[_0x422a('0x40')](_0x422a('0x59'));}break;case'email':if(isEmail(_0x392ef6)){_0x5268e0[_0x422a('0x40')]('\x22'+_0x392ef6+'\x22');}else{_0x3fd5b5[_0x422a('0x40')]('email\x20wrong\x20format');}break;case _0x422a('0x5a'):var _0xd11140=moment(_0x392ef6,_0x422a('0x5b'),!![]);if(_0xd11140[_0x422a('0x53')]()){_0x5268e0[_0x422a('0x40')]('\x22'+_0x392ef6+'\x22');}else{_0x3fd5b5[_0x422a('0x40')](_0x422a('0x5c'));}break;default:_0x5268e0['push']('\x22'+_0x392ef6+'\x22');}}else{switch(_0x1929d){case _0x422a('0x5d'):case _0x422a('0xf'):_0x3fd5b5['push'](_0x1929d+_0x422a('0x5e'));break;default:_0x5268e0[_0x422a('0x40')]('\x22\x22');}}}}if(_0x3fd5b5[_0x422a('0x4e')]){handleError(_0x1c5f2a[_0x422a('0x4d')][_0x3b7ced],{'code':_0x422a('0x5f'),'message':_0x3fd5b5[_0x422a('0x13')]()});}else{fs['appendFileSync'](_0x2ce73e,_0x5268e0['join']()+'\x0a');}_0x5268e0=[];}if(!(stats['rows']%0xc8)){socket['emit'](_0x422a('0x60')+_0x35a1c9,stats);stats[_0x422a('0x3b')]=[];}}if(stopped){logger[_0x422a('0x38')]('Abort\x20parser');_0x553630[_0x422a('0x61')]();}}catch(_0x451919){handleError(_0x1c5f2a['data'][_0x3b7ced],{'code':_0x422a('0x62'),'message':_0x451919['message']});logger[_0x422a('0x3a')](_0x422a('0x63'),_0x451919[_0x422a('0x3c')]);}},'complete':function(){try{var _0x13a737=[];var _0x141692=_0x422a('0x22');if(_0x28d311['duplicates']&&_0x28d311[_0x422a('0x64')][_0x422a('0x4e')]){_0x141692=_0x422a('0x65')+_0x35a1c9;_0x13a737[_0x422a('0x40')](_0x422a('0x66')+_0x141692+_0x422a('0x67'));}var _0x15e7a8=util['format'](_0x422a('0x68'),_0x2ce73e,_0x141692,_0x1ef151,_0x28d311['ListId'],_0x28d311[_0x422a('0x31')]||null,NOW,NOW);if(_['isNil'](_0xded7ed[_0x422a('0x69')])){_0x15e7a8+=_0x422a('0x6a');}_0x13a737[_0x422a('0x40')](_0x15e7a8);if(_0x28d311[_0x422a('0x64')]&&_0x28d311['duplicates']['length']){_0x13a737['push'](insertCmContact(_0x28d311[_0x422a('0x1d')],_0x141692,_0x28d311['duplicates'],_0xded7ed));_0x13a737[_0x422a('0x40')]('DROP\x20TABLE\x20'+_0x141692+';');}_0x13a737[_0x422a('0x40')](insertCmHopper(_0x28d311[_0x422a('0x1d')],_0x422a('0x6b'),_0x422a('0x6c'),'VoiceQueueId',_0x3a5fd1));_0x13a737['push'](insertCmHopperBlack(_0x28d311[_0x422a('0x1d')],_0x422a('0x6d'),_0x422a('0x6c'),_0x422a('0x6e')));_0x13a737[_0x422a('0x40')](insertCmHopper(_0x28d311[_0x422a('0x1d')],'campaigns_has_cm_lists',_0x422a('0x6f'),_0x422a('0x70'),_0x3a5fd1));_0x13a737[_0x422a('0x40')](insertCmHopperBlack(_0x28d311[_0x422a('0x1d')],'campaigns_has_cm_blacklists',_0x422a('0x6f'),'CampaignId'));BPromise[_0x422a('0x71')](_0x13a737,handleQuery)[_0x422a('0x72')](function(_0x100202){stats[_0x422a('0x73')]=!![];stats[_0x422a('0x74')]=_0x28d311[_0x422a('0x64')]&&_0x28d311[_0x422a('0x64')][_0x422a('0x4e')]?results[0x2][_0x422a('0x74')]:results[0x0][_0x422a('0x74')];socket[_0x422a('0x75')]('contact:import:'+_0x35a1c9,stats);fs['unlink'](_0x2b5c24);fs['unlink'](_0x2ce73e);process[_0x422a('0x76')](0x0);})[_0x422a('0x41')](function(_0x144fcb){logger[_0x422a('0x3a')](_0x144fcb['message']);process[_0x422a('0x76')](0x1);});}catch(_0x53d284){logger[_0x422a('0x3a')]('complete',_0x53d284[_0x422a('0x3c')]);process[_0x422a('0x76')](0x1);}},'error':function(_0x5c46b2,_0x4246c4,_0x2212fa,_0x43232d){throw new Error(_0x43232d);}});}function validate(){if(process[_0x422a('0x77')]&&process['argv'][_0x422a('0x4e')]<0x4){throw new Error(_0x422a('0x78'));}var _0x245751=path['join'](config[_0x422a('0x79')],_0x422a('0x48'),process[_0x422a('0x77')][0x2]);if(!fs[_0x422a('0x7a')](_0x245751)){throw new Error(_0x422a('0x7b'));}var _0x592f89={};try{_0x592f89=JSON['parse'](process[_0x422a('0x77')][0x3]);if(!_0x592f89[_0x422a('0x46')]){throw new Error(_0x422a('0x7c'));}if(!_0x592f89[_0x422a('0x46')][_0x422a('0xf')]){throw new Error(_0x422a('0x7d'));}if(!_0x592f89[_0x422a('0x46')][_0x422a('0x5d')]){throw new Error(_0x422a('0x7e'));}var _0x4ebda5=0x0;if(_0x592f89[_0x422a('0x46')][_0x422a('0x56')]){_0x4ebda5=0x1;}if(!_0x592f89[_0x422a('0x1d')]){throw new Error(_0x422a('0x7f'));}}catch(_0x27828d){throw new Error(_0x422a('0x80'));}var _0x2f90cc=[];try{_0x2f90cc=_[_0x422a('0x81')](JSON[_0x422a('0x82')](process[_0x422a('0x77')][0x4]),'id');}catch(_0xc79a29){logger['info'](_0x422a('0x83'));}main(_0x245751,_0x592f89,_0x2f90cc,_0x4ebda5);}validate();process['on']('SIGINT',handleStop);process['on']('uncaughtException',handleUncaughtException); \ No newline at end of file +var _0x3e4a=['root','existsSync','phone\x20is\x20mandatory','ListId\x20is\x20mandatory','body\x20id\x20mandatory','No\x20agent\x20available','SIGINT','uncaughtException','path','lodash','util','bluebird','moment','squel','ioredis','../../../mysqldb','../../../config/logger','import','redis','defaults','localhost','socket.io-emitter','format','YYYY-MM-DD\x20HH:mm:ss','test','select','field','phone','from','join','\x20=\x20','where','cm_contacts.phone','cm_contacts.scheduledat','cm_contacts.id','cm_contacts.ListId','cm_contacts.createdAt','cm_contacts.updatedAt','cm_contacts.UserId','insert','fromQuery','scheduledat','ContactId','createdAt','updatedAt','priority','UserId','recallme','fields','cm_contacts','.CmListId','.id\x20=\x20','cm_contacts.createdAt\x20=\x20?','\x22onlyIfOpen\x22','cm_contacts.phone\x20NOT\x20IN\x20(?)','cm_hopper','\x22always\x22','toString','into','cm_hopper_black','ListId','cm_contacts.ListId\x20=\x20','.CmListId\x20=\x20?','ListId\x20=\x20?','\x20=\x20?','concat','CompanyId','id\x20IN\x20?','MIN(id)','min_id','group','info','error','message','exit','errors','push','code','sequelize','query','spread','main','stringify','send','start','binding','socket_timestamp','server/files/tmp','keys','header','writeFileSync','parse','data','replace','isValid','includes','email\x20wrong\x20format','dateOfBirth','YYYY-MM-DD','\x20not\x20specified','length','SystemRow','rows','contact:import:','Abort\x20parser','abort','duplicates','cm_contacts_','CREATE\x20TABLE\x20','LOAD\x20DATA\x20LOCAL\x20INFILE\x20\x27%s\x27\x20INTO\x20TABLE\x20%s\x20CHARACTER\x20SET\x20UTF8\x20FIELDS\x20TERMINATED\x20BY\x20\x27,\x27\x20ENCLOSED\x20BY\x20\x27\x22\x27\x20LINES\x20TERMINATED\x20BY\x20\x27\x0a\x27\x20IGNORE\x201\x20ROWS\x20(%s)\x20SET\x20id\x20=\x20NULL,\x20ListId\x20=\x20%s,\x20CompanyId\x20=\x20%s,\x20createdAt\x20=\x20\x27%s\x27,\x20updatedAt\x20=\x20\x27%s\x27','isNil',',\x20scheduledAt\x20=\x20NOW()','voice_queues_has_cm_lists','voice_queues','VoiceQueueId','campaigns_has_cm_lists','campaigns','CampaignId','then','finish','affectedRows','unlink','catch','complete','argv','arguments\x20\x20\x20'];(function(_0x50e64e,_0x59b9e1){var _0x27b172=function(_0x43600e){while(--_0x43600e){_0x50e64e['push'](_0x50e64e['shift']());}};_0x27b172(++_0x59b9e1);}(_0x3e4a,0x182));var _0xa3e4=function(_0x3fbc10,_0xcf1656){_0x3fbc10=_0x3fbc10-0x0;var _0x54e44d=_0x3e4a[_0x3fbc10];return _0x54e44d;};'use strict';var fs=require('fs');var path=require(_0xa3e4('0x0'));var _=require(_0xa3e4('0x1'));var Papa=require('papaparse');var util=require(_0xa3e4('0x2'));var BPromise=require(_0xa3e4('0x3'));var moment=require(_0xa3e4('0x4'));var squel=require(_0xa3e4('0x5'));var Redis=require(_0xa3e4('0x6'));var db=require(_0xa3e4('0x7'))['db'];var config=require('../../../config/environment');var logger=require(_0xa3e4('0x8'))(_0xa3e4('0x9'));config[_0xa3e4('0xa')]=_[_0xa3e4('0xb')](config['redis'],{'host':_0xa3e4('0xc'),'port':0x18eb});var socket=require(_0xa3e4('0xd'))(new Redis(config['redis']));var stats={'finish':![],'errors':[],'rows':0x0,'affectedRows':0x0};var results=[];var stopped=![];var NOW=moment()[_0xa3e4('0xe')](_0xa3e4('0xf'));function isEmail(_0x547069){return/^([^\x00-\x20\x22\x28\x29\x2c\x2e\x3a-\x3c\x3e\x40\x5b-\x5d\x7f-\xff]+|\x22([^\x0d\x22\x5c\x80-\xff]|\x5c[\x00-\x7f])*\x22)(\x2e([^\x00-\x20\x22\x28\x29\x2c\x2e\x3a-\x3c\x3e\x40\x5b-\x5d\x7f-\xff]+|\x22([^\x0d\x22\x5c\x80-\xff]|\x5c[\x00-\x7f])*\x22))*\x40([^\x00-\x20\x22\x28\x29\x2c\x2e\x3a-\x3c\x3e\x40\x5b-\x5d\x7f-\xff]+|\x5b([^\x0d\x5b-\x5d\x80-\xff]|\x5c[\x00-\x7f])*\x5d)(\x2e([^\x00-\x20\x22\x28\x29\x2c\x2e\x3a-\x3c\x3e\x40\x5b-\x5d\x7f-\xff]+|\x5b([^\x0d\x5b-\x5d\x80-\xff]|\x5c[\x00-\x7f])*\x5d))*$/[_0xa3e4('0x10')](_0x547069);}function selectNotIn(_0x3046d5,_0x2bbfc1,_0x15b3b6,_0x16d0ad,_0x1dc5fb){return squel[_0xa3e4('0x11')]()[_0xa3e4('0x12')](_0xa3e4('0x13'))[_0xa3e4('0x14')](_0x16d0ad)[_0xa3e4('0x15')](_0x2bbfc1,null,_0x2bbfc1+'.id\x20=\x20'+_0x16d0ad+'.'+_0x15b3b6)['where'](_0x16d0ad+'.'+_0x15b3b6+_0xa3e4('0x16')+_0x3046d5+'.'+_0x15b3b6)[_0xa3e4('0x17')](_0x2bbfc1+'.dialCheckDuplicateType\x20IN\x20('+_0x1dc5fb[_0xa3e4('0x15')]()+')');}function insertCmHopper(_0x1ba6c5,_0x1f7d09,_0x54d5d8,_0x4df79d,_0x584844){var _0x2f4bf3=[_0xa3e4('0x18'),_0xa3e4('0x19'),_0xa3e4('0x1a'),_0xa3e4('0x1b'),_0x1f7d09+'.'+_0x4df79d,_0xa3e4('0x1c'),_0xa3e4('0x1d'),'cm_contacts.priority',_0xa3e4('0x1e'),'\x22'+_0x584844+'\x22'];return squel[_0xa3e4('0x1f')]()['into']('cm_hopper')[_0xa3e4('0x20')](['phone',_0xa3e4('0x21'),_0xa3e4('0x22'),'ListId',_0x4df79d,_0xa3e4('0x23'),_0xa3e4('0x24'),_0xa3e4('0x25'),_0xa3e4('0x26'),_0xa3e4('0x27')],squel['select']()[_0xa3e4('0x28')](_0x2f4bf3)[_0xa3e4('0x14')](_0x1f7d09)[_0xa3e4('0x15')](_0xa3e4('0x29'),null,'cm_contacts.ListId\x20=\x20'+_0x1f7d09+_0xa3e4('0x2a'))[_0xa3e4('0x15')](_0x54d5d8,null,_0x54d5d8+_0xa3e4('0x2b')+_0x1f7d09+'.'+_0x4df79d)['where'](_0x1f7d09+'.CmListId\x20=\x20?',_0x1ba6c5)[_0xa3e4('0x17')](_0xa3e4('0x2c'),NOW)['where']('cm_contacts.phone\x20NOT\x20IN\x20(?)',selectNotIn(_0x1f7d09,_0x54d5d8,_0x4df79d,'cm_hopper',['\x22always\x22',_0xa3e4('0x2d')]))[_0xa3e4('0x17')](_0xa3e4('0x2e'),selectNotIn(_0x1f7d09,_0x54d5d8,_0x4df79d,_0xa3e4('0x2f'),[_0xa3e4('0x30')])))[_0xa3e4('0x31')]();}function insertCmHopperBlack(_0xe4d92,_0xb02b82,_0x3517c2,_0x183f00){var _0x2c6bbf=[_0xa3e4('0x18'),'cm_contacts.id',_0xa3e4('0x1b'),_0xb02b82+'.'+_0x183f00,'cm_contacts.createdAt',_0xa3e4('0x1d')];return squel[_0xa3e4('0x1f')]()[_0xa3e4('0x32')](_0xa3e4('0x33'))['fromQuery'](['phone','ContactId',_0xa3e4('0x34'),_0x183f00,_0xa3e4('0x23'),'updatedAt'],squel['select']()[_0xa3e4('0x28')](_0x2c6bbf)['from'](_0xb02b82)[_0xa3e4('0x15')]('cm_contacts',null,_0xa3e4('0x35')+_0xb02b82+_0xa3e4('0x2a'))[_0xa3e4('0x15')](_0x3517c2,null,_0x3517c2+'.id\x20=\x20'+_0xb02b82+'.'+_0x183f00)[_0xa3e4('0x17')](_0xb02b82+_0xa3e4('0x36'),_0xe4d92)[_0xa3e4('0x17')]('cm_contacts.createdAt\x20=\x20?',NOW)['where'](_0xa3e4('0x2e'),squel[_0xa3e4('0x11')]()[_0xa3e4('0x12')](_0xa3e4('0x13'))['from'](_0xa3e4('0x33'))['where'](_0xa3e4('0x37'),_0xe4d92)[_0xa3e4('0x17')](_0x183f00+_0xa3e4('0x38'),_0xb02b82+'.'+_0x183f00)))[_0xa3e4('0x31')]();}function insertCmContact(_0x1b2f19,_0x59c52d,_0x5bcf8d,_0xc99d0b){var _0x32f550=_[_0xa3e4('0x39')](_['keys'](_0xc99d0b),[_0xa3e4('0x34'),_0xa3e4('0x3a'),_0xa3e4('0x23'),_0xa3e4('0x24')]);return squel[_0xa3e4('0x1f')]()['into'](_0xa3e4('0x29'))['fromQuery'](_0x32f550,squel['select']()['fields'](_0x32f550)[_0xa3e4('0x14')](_0x59c52d)['where']('('+_0x5bcf8d[_0xa3e4('0x15')](',')+')\x20NOT\x20IN\x20?',squel[_0xa3e4('0x11')]()[_0xa3e4('0x28')](_0x5bcf8d)[_0xa3e4('0x14')]('cm_contacts')[_0xa3e4('0x17')](_0xa3e4('0x37'),_0x1b2f19)[_0xa3e4('0x17')]('deletedAt\x20IS\x20NULL'))[_0xa3e4('0x17')](_0xa3e4('0x3b'),squel[_0xa3e4('0x11')]()[_0xa3e4('0x12')](_0xa3e4('0x3c'),_0xa3e4('0x3d'))[_0xa3e4('0x14')](_0x59c52d)[_0xa3e4('0x3e')](_0x5bcf8d[_0xa3e4('0x15')](','))))[_0xa3e4('0x31')]();}function handleStop(){logger[_0xa3e4('0x3f')]('Received\x20SIGINT');stopped=!![];}function handleUncaughtException(_0x3f71bc){logger[_0xa3e4('0x40')](_0x3f71bc[_0xa3e4('0x41')]);process[_0xa3e4('0x42')](0x1);}function handleError(_0x12621f,_0x3806fc){stats[_0xa3e4('0x43')][_0xa3e4('0x44')]({'name':_0x3806fc[_0xa3e4('0x45')],'message':_0x3806fc[_0xa3e4('0x41')],'row':_0x12621f});}function handleQuery(_0x2867a8){logger['info'](_0x2867a8);return db[_0xa3e4('0x46')][_0xa3e4('0x47')](_0x2867a8)[_0xa3e4('0x48')](function(_0x1a45a4){results[_0xa3e4('0x44')](_0x1a45a4);})['catch'](function(_0x51dc86){logger[_0xa3e4('0x40')](_0x51dc86[_0xa3e4('0x41')]);});}function main(_0x5c9baa,_0x24d55d,_0xc0cde6,_0x409b20){logger['info'](_0xa3e4('0x49'),_0x5c9baa,JSON[_0xa3e4('0x4a')](_0x24d55d));process[_0xa3e4('0x4b')](_0xa3e4('0x4c'));var _0x223927=_0x24d55d[_0xa3e4('0x4d')];var _0x4d44b=_0x24d55d[_0xa3e4('0x4e')];var _0xcb7562=path[_0xa3e4('0x15')](config['root'],_0xa3e4('0x4f'),_0x4d44b+'.csv');var _0x3a5350=_[_0xa3e4('0x50')](_0x223927)[_0xa3e4('0x15')]();logger[_0xa3e4('0x3f')](_0xa3e4('0x51'),_0x3a5350);fs[_0xa3e4('0x52')](_0xcb7562,_0x3a5350+'\x0a');Papa[_0xa3e4('0x53')](fs['createReadStream'](_0x5c9baa),{'header':!![],'skipEmptyLines':!![],'step':function(_0xbc72c,_0x11cf06){try{for(var _0x3451fb=0x0,_0x58daf1=[];_0x3451fb<_0xbc72c[_0xa3e4('0x54')]['length'];_0x3451fb++){stats['rows']+=0x1;if(_0xbc72c['errors'][_0x3451fb]){handleError(_0xbc72c[_0xa3e4('0x54')][_0x3451fb],_0xbc72c[_0xa3e4('0x43')][_0x3451fb]);}else{var _0x37912e=[];for(var _0x567c29 in _0x223927){if(_0x223927['hasOwnProperty'](_0x567c29)){if(_0xbc72c[_0xa3e4('0x54')][_0x3451fb][_0x223927[_0x567c29]]){var _0x4b6fe8=_['trim'](_0xbc72c['data'][_0x3451fb][_0x223927[_0x567c29]][_0xa3e4('0x55')](/"/g,'\x27'));switch(_0x567c29){case _0xa3e4('0x21'):var _0x202d6a=moment(_0x4b6fe8,'YYYY-MM-DD\x20HH:mm:ss',!![]);if(_0x202d6a[_0xa3e4('0x56')]()){_0x58daf1['push']('\x22'+_0x4b6fe8+'\x22');}else{_0x37912e[_0xa3e4('0x44')]('scheduledat\x20wrong\x20format\x20(YYYY-MM-DD\x20HH:mm:ss)');}break;case'priority':var _0x4e3a33=parseInt(_0x4b6fe8);_0x4b6fe8=_['isNaN'](_0x4e3a33)||_0x4e3a33<0x0||_0x4e3a33>0x4?_0x409b20?0x3:0x2:_0x4e3a33;_0x58daf1['push']('\x22'+_0x4b6fe8+'\x22');break;case _0xa3e4('0x26'):var _0x2bc617=parseInt(_0x4b6fe8);if(_['isNumber'](_0x2bc617)&&_[_0xa3e4('0x57')](_0xc0cde6,_0x2bc617)){_0x58daf1[_0xa3e4('0x44')]('\x22'+_0x2bc617+'\x22');}else{_0x37912e[_0xa3e4('0x44')]('agent\x20not\x20exists');}break;case'email':if(isEmail(_0x4b6fe8)){_0x58daf1['push']('\x22'+_0x4b6fe8+'\x22');}else{_0x37912e['push'](_0xa3e4('0x58'));}break;case _0xa3e4('0x59'):var _0x59a741=moment(_0x4b6fe8,_0xa3e4('0x5a'),!![]);if(_0x59a741[_0xa3e4('0x56')]()){_0x58daf1[_0xa3e4('0x44')]('\x22'+_0x4b6fe8+'\x22');}else{_0x37912e[_0xa3e4('0x44')]('dateOfBirth\x20wrong\x20format\x20(YYYY-MM-DD)');}break;default:_0x58daf1['push']('\x22'+_0x4b6fe8+'\x22');}}else{switch(_0x567c29){case'firstName':case _0xa3e4('0x13'):_0x37912e['push'](_0x567c29+_0xa3e4('0x5b'));break;default:_0x58daf1[_0xa3e4('0x44')]('\x22\x22');}}}}if(_0x37912e[_0xa3e4('0x5c')]){handleError(_0xbc72c[_0xa3e4('0x54')][_0x3451fb],{'code':_0xa3e4('0x5d'),'message':_0x37912e[_0xa3e4('0x15')]()});}else{fs['appendFileSync'](_0xcb7562,_0x58daf1['join']()+'\x0a');}_0x58daf1=[];}if(!(stats[_0xa3e4('0x5e')]%0xc8)){socket['emit'](_0xa3e4('0x5f')+_0x4d44b,stats);stats[_0xa3e4('0x43')]=[];}}if(stopped){logger[_0xa3e4('0x3f')](_0xa3e4('0x60'));_0x11cf06[_0xa3e4('0x61')]();}}catch(_0xa1baec){handleError(_0xbc72c[_0xa3e4('0x54')][_0x3451fb],{'code':'SystemError','message':_0xa1baec[_0xa3e4('0x41')]});logger[_0xa3e4('0x40')]('step',_0xa1baec[_0xa3e4('0x41')]);}},'complete':function(){try{var _0x5dfb45=[];var _0x5d7e84=_0xa3e4('0x29');if(_0x24d55d[_0xa3e4('0x62')]&&_0x24d55d[_0xa3e4('0x62')]['length']){_0x5d7e84=_0xa3e4('0x63')+_0x4d44b;_0x5dfb45[_0xa3e4('0x44')](_0xa3e4('0x64')+_0x5d7e84+'\x20LIKE\x20cm_contacts;');}var _0x229320=util[_0xa3e4('0xe')](_0xa3e4('0x65'),_0xcb7562,_0x5d7e84,_0x3a5350,_0x24d55d['ListId'],_0x24d55d[_0xa3e4('0x3a')]||null,NOW,NOW);if(_[_0xa3e4('0x66')](_0x223927[_0xa3e4('0x21')])){_0x229320+=_0xa3e4('0x67');}_0x5dfb45[_0xa3e4('0x44')](_0x229320);if(_0x24d55d[_0xa3e4('0x62')]&&_0x24d55d[_0xa3e4('0x62')]['length']){_0x5dfb45[_0xa3e4('0x44')](insertCmContact(_0x24d55d[_0xa3e4('0x34')],_0x5d7e84,_0x24d55d['duplicates'],_0x223927));_0x5dfb45[_0xa3e4('0x44')]('DROP\x20TABLE\x20'+_0x5d7e84+';');}_0x5dfb45['push'](insertCmHopper(_0x24d55d[_0xa3e4('0x34')],_0xa3e4('0x68'),_0xa3e4('0x69'),_0xa3e4('0x6a'),_0x409b20));_0x5dfb45['push'](insertCmHopperBlack(_0x24d55d[_0xa3e4('0x34')],'voice_queues_has_cm_blacklists',_0xa3e4('0x69'),_0xa3e4('0x6a')));_0x5dfb45['push'](insertCmHopper(_0x24d55d['ListId'],_0xa3e4('0x6b'),_0xa3e4('0x6c'),_0xa3e4('0x6d'),_0x409b20));_0x5dfb45['push'](insertCmHopperBlack(_0x24d55d[_0xa3e4('0x34')],'campaigns_has_cm_blacklists','campaigns',_0xa3e4('0x6d')));BPromise['each'](_0x5dfb45,handleQuery)[_0xa3e4('0x6e')](function(_0x19fded){stats[_0xa3e4('0x6f')]=!![];stats[_0xa3e4('0x70')]=_0x24d55d['duplicates']&&_0x24d55d[_0xa3e4('0x62')][_0xa3e4('0x5c')]?results[0x2]['affectedRows']:results[0x0][_0xa3e4('0x70')];socket['emit'](_0xa3e4('0x5f')+_0x4d44b,stats);fs[_0xa3e4('0x71')](_0x5c9baa);fs[_0xa3e4('0x71')](_0xcb7562);process[_0xa3e4('0x42')](0x0);})[_0xa3e4('0x72')](function(_0x3f0945){logger[_0xa3e4('0x40')](_0x3f0945['message']);process['exit'](0x1);});}catch(_0x6f6614){logger['error'](_0xa3e4('0x73'),_0x6f6614[_0xa3e4('0x41')]);process['exit'](0x1);}},'error':function(_0xda8dbd,_0x7e62e0,_0x48f9a4,_0x46cadd){throw new Error(_0x46cadd);}});}function validate(){if(process[_0xa3e4('0x74')]&&process['argv']['length']<0x4){throw new Error(_0xa3e4('0x75'));}var _0xdbb5fa=path[_0xa3e4('0x15')](config[_0xa3e4('0x76')],'server/files/tmp',process['argv'][0x2]);if(!fs[_0xa3e4('0x77')](_0xdbb5fa)){throw new Error('file\x20doesn\x27t\x20exists');}var _0x13a01f={};try{_0x13a01f=JSON[_0xa3e4('0x53')](process['argv'][0x3]);if(!_0x13a01f[_0xa3e4('0x4d')]){throw new Error('binding\x20doesn\x27t\x20exists');}if(!_0x13a01f[_0xa3e4('0x4d')][_0xa3e4('0x13')]){throw new Error(_0xa3e4('0x78'));}if(!_0x13a01f[_0xa3e4('0x4d')]['firstName']){throw new Error('firstName\x20is\x20mandatory');}var _0x10f28a=0x0;if(_0x13a01f['binding'][_0xa3e4('0x26')]){_0x10f28a=0x1;}if(!_0x13a01f[_0xa3e4('0x34')]){throw new Error(_0xa3e4('0x79'));}}catch(_0x3f0636){throw new Error(_0xa3e4('0x7a'));}var _0x320b47=[];try{_0x320b47=_['map'](JSON['parse'](process[_0xa3e4('0x74')][0x4]),'id');}catch(_0x2f8722){logger[_0xa3e4('0x3f')](_0xa3e4('0x7b'));}main(_0xdbb5fa,_0x13a01f,_0x320b47,_0x10f28a);}validate();process['on'](_0xa3e4('0x7c'),handleStop);process['on'](_0xa3e4('0x7d'),handleUncaughtException); \ No newline at end of file diff --git a/server/components/integrations/configuration.js b/server/components/integrations/configuration.js index 3aadbba..ea27945 100644 --- a/server/components/integrations/configuration.js +++ b/server/components/integrations/configuration.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x93e9=['destcalleridnum','getDescriptions','***\x20Call\x20Info\x20***','keyValue','Caller\x20Name','calleridname','Call\x20To','destexten','Queue','UniqueId','Date','agentcalledAt','***\x20Agent\x20Info\x20***','Agent\x20Name','destcalleridname','Agent\x20Number','agentconnectAt','Agent\x20Complete','agentcompleteAt','Hold\x20Time','holdtime','Talk\x20Time','talktime','Called\x20Number','membername','uniqueid','starttime','***\x20Time\x20Info\x20***','Duration','duration','Billable\x20Time','billableseconds','getSubjects','string','[xCALLY\x20Ticket]','toLowerCase','inbound','push','variable','queue','calleridnum','outbound','Outbound\x20Call'];(function(_0xbb091,_0x3fe7ee){var _0x467a04=function(_0x3a978d){while(--_0x3a978d){_0xbb091['push'](_0xbb091['shift']());}};_0x467a04(++_0x3fe7ee);}(_0x93e9,0xcc));var _0x993e=function(_0x119e91,_0x31db75){_0x119e91=_0x119e91-0x0;var _0x4da145=_0x93e9[_0x119e91];return _0x4da145;};'use strict';exports[_0x993e('0x0')]=function(_0xcf3bfd,_0x444623){var _0x4405ca=[{'type':_0x993e('0x1'),'content':_0x993e('0x2'),'variableName':null}];switch(_0xcf3bfd[_0x993e('0x3')]()){case'voice':switch(_0x444623['toLowerCase']()){case _0x993e('0x4'):_0x4405ca[_0x993e('0x5')]({'type':_0x993e('0x6'),'content':'','variableName':_0x993e('0x7')});_0x4405ca[_0x993e('0x5')]({'type':_0x993e('0x6'),'content':'','variableName':_0x993e('0x8')});break;case _0x993e('0x9'):_0x4405ca['push']({'type':_0x993e('0x1'),'content':_0x993e('0xa'),'variableName':null});_0x4405ca[_0x993e('0x5')]({'type':_0x993e('0x6'),'content':'','variableName':_0x993e('0xb')});break;}}return _0x4405ca;};exports[_0x993e('0xc')]=function(_0x1c2324,_0x48291a){var _0x196f6d=[];switch(_0x1c2324[_0x993e('0x3')]()){case'voice':switch(_0x48291a['toLowerCase']()){case _0x993e('0x4'):_0x196f6d=[{'type':'string','content':_0x993e('0xd'),'key':null,'keyType':null,'variableName':null},{'type':'keyValue','content':'','key':'Caller\x20Number','keyType':_0x993e('0x6'),'variableName':_0x993e('0x8')},{'type':_0x993e('0xe'),'content':'','key':_0x993e('0xf'),'keyType':_0x993e('0x6'),'variableName':_0x993e('0x10')},{'type':_0x993e('0xe'),'content':'','key':_0x993e('0x11'),'keyType':_0x993e('0x6'),'variableName':_0x993e('0x12')},{'type':_0x993e('0xe'),'content':'','key':_0x993e('0x13'),'keyType':_0x993e('0x6'),'variableName':_0x993e('0x7')},{'type':_0x993e('0xe'),'content':'','key':_0x993e('0x14'),'keyType':_0x993e('0x6'),'variableName':'uniqueid'},{'type':_0x993e('0xe'),'content':'','key':_0x993e('0x15'),'keyType':_0x993e('0x6'),'variableName':_0x993e('0x16')},{'type':_0x993e('0x1'),'content':_0x993e('0x17'),'key':null,'keyType':null,'variableName':null},{'type':'keyValue','content':'','key':_0x993e('0x18'),'keyType':_0x993e('0x6'),'variableName':_0x993e('0x19')},{'type':_0x993e('0xe'),'content':'','key':_0x993e('0x1a'),'keyType':_0x993e('0x6'),'variableName':_0x993e('0xb')},{'type':_0x993e('0x1'),'content':'***\x20Time\x20Info\x20***','key':null,'keyType':null,'variableName':null},{'type':_0x993e('0xe'),'content':'','key':'Agent\x20Ring','keyType':_0x993e('0x6'),'variableName':_0x993e('0x16')},{'type':_0x993e('0xe'),'content':'','key':'Agent\x20Connect','keyType':_0x993e('0x6'),'variableName':_0x993e('0x1b')},{'type':_0x993e('0xe'),'content':'','key':_0x993e('0x1c'),'keyType':_0x993e('0x6'),'variableName':_0x993e('0x1d')},{'type':_0x993e('0xe'),'content':'','key':_0x993e('0x1e'),'keyType':_0x993e('0x6'),'variableName':_0x993e('0x1f')},{'type':_0x993e('0xe'),'content':'','key':_0x993e('0x20'),'keyType':'variable','variableName':_0x993e('0x21')}];break;case _0x993e('0x9'):_0x196f6d=[{'type':'string','content':_0x993e('0xd'),'variableName':null},{'type':'keyValue','content':'','key':_0x993e('0x22'),'keyType':_0x993e('0x6'),'keyContent':'','variableName':_0x993e('0xb')},{'type':_0x993e('0xe'),'content':'','key':'Member\x20Name','keyType':'variable','keyContent':'','variableName':_0x993e('0x23')},{'type':_0x993e('0xe'),'content':'','key':'UniqueId','keyType':_0x993e('0x6'),'keyContent':'','variableName':_0x993e('0x24')},{'type':_0x993e('0xe'),'content':'','key':'Date','keyType':_0x993e('0x6'),'keyContent':'','variableName':_0x993e('0x25')},{'type':_0x993e('0x1'),'content':_0x993e('0x26')},{'type':_0x993e('0xe'),'content':'','key':'Answer\x20Time','keyType':_0x993e('0x6'),'keyContent':'','variableName':'answertime'},{'type':_0x993e('0xe'),'content':'','key':'Complete\x20Time','keyType':_0x993e('0x6'),'keyContent':'','variableName':'endtime'},{'type':_0x993e('0xe'),'content':'','key':_0x993e('0x27'),'keyType':_0x993e('0x6'),'keyContent':'','variableName':_0x993e('0x28')},{'type':_0x993e('0xe'),'content':'','key':_0x993e('0x29'),'keyType':'variable','keyContent':'','variableName':_0x993e('0x2a')}];break;}}return _0x196f6d;}; \ No newline at end of file +var _0x4c99=['Agent\x20Number','***\x20Time\x20Info\x20***','Agent\x20Ring','Agent\x20Connect','Hold\x20Time','holdtime','Talk\x20Time','talktime','Member\x20Name','membername','Date','starttime','Answer\x20Time','answertime','Complete\x20Time','endtime','Duration','duration','Billable\x20Time','getSubjects','toLowerCase','voice','inbound','push','queue','outbound','string','Outbound\x20Call','variable','destcalleridnum','getDescriptions','***\x20Call\x20Info\x20***','keyValue','Caller\x20Number','calleridnum','Caller\x20Name','Call\x20To','Queue','UniqueId','uniqueid','agentcalledAt','***\x20Agent\x20Info\x20***','Agent\x20Name'];(function(_0xc95592,_0x10e10d){var _0x9b9a33=function(_0x547e58){while(--_0x547e58){_0xc95592['push'](_0xc95592['shift']());}};_0x9b9a33(++_0x10e10d);}(_0x4c99,0x1ec));var _0x94c9=function(_0x4792c8,_0x5158a1){_0x4792c8=_0x4792c8-0x0;var _0x35edb1=_0x4c99[_0x4792c8];return _0x35edb1;};'use strict';exports[_0x94c9('0x0')]=function(_0x52a620,_0xbcda13){var _0x4831d6=[{'type':'string','content':'[xCALLY\x20Ticket]','variableName':null}];switch(_0x52a620[_0x94c9('0x1')]()){case _0x94c9('0x2'):switch(_0xbcda13['toLowerCase']()){case _0x94c9('0x3'):_0x4831d6[_0x94c9('0x4')]({'type':'variable','content':'','variableName':_0x94c9('0x5')});_0x4831d6['push']({'type':'variable','content':'','variableName':'calleridnum'});break;case _0x94c9('0x6'):_0x4831d6[_0x94c9('0x4')]({'type':_0x94c9('0x7'),'content':_0x94c9('0x8'),'variableName':null});_0x4831d6[_0x94c9('0x4')]({'type':_0x94c9('0x9'),'content':'','variableName':_0x94c9('0xa')});break;}}return _0x4831d6;};exports[_0x94c9('0xb')]=function(_0x1a43b0,_0x284f39){var _0x58b0ae=[];switch(_0x1a43b0[_0x94c9('0x1')]()){case _0x94c9('0x2'):switch(_0x284f39[_0x94c9('0x1')]()){case'inbound':_0x58b0ae=[{'type':_0x94c9('0x7'),'content':_0x94c9('0xc'),'key':null,'keyType':null,'variableName':null},{'type':_0x94c9('0xd'),'content':'','key':_0x94c9('0xe'),'keyType':_0x94c9('0x9'),'variableName':_0x94c9('0xf')},{'type':_0x94c9('0xd'),'content':'','key':_0x94c9('0x10'),'keyType':'variable','variableName':'calleridname'},{'type':'keyValue','content':'','key':_0x94c9('0x11'),'keyType':_0x94c9('0x9'),'variableName':'destexten'},{'type':_0x94c9('0xd'),'content':'','key':_0x94c9('0x12'),'keyType':_0x94c9('0x9'),'variableName':'queue'},{'type':'keyValue','content':'','key':_0x94c9('0x13'),'keyType':_0x94c9('0x9'),'variableName':_0x94c9('0x14')},{'type':_0x94c9('0xd'),'content':'','key':'Date','keyType':_0x94c9('0x9'),'variableName':_0x94c9('0x15')},{'type':_0x94c9('0x7'),'content':_0x94c9('0x16'),'key':null,'keyType':null,'variableName':null},{'type':_0x94c9('0xd'),'content':'','key':_0x94c9('0x17'),'keyType':_0x94c9('0x9'),'variableName':'destcalleridname'},{'type':_0x94c9('0xd'),'content':'','key':_0x94c9('0x18'),'keyType':'variable','variableName':_0x94c9('0xa')},{'type':_0x94c9('0x7'),'content':_0x94c9('0x19'),'key':null,'keyType':null,'variableName':null},{'type':_0x94c9('0xd'),'content':'','key':_0x94c9('0x1a'),'keyType':_0x94c9('0x9'),'variableName':_0x94c9('0x15')},{'type':_0x94c9('0xd'),'content':'','key':_0x94c9('0x1b'),'keyType':_0x94c9('0x9'),'variableName':'agentconnectAt'},{'type':_0x94c9('0xd'),'content':'','key':'Agent\x20Complete','keyType':_0x94c9('0x9'),'variableName':'agentcompleteAt'},{'type':_0x94c9('0xd'),'content':'','key':_0x94c9('0x1c'),'keyType':_0x94c9('0x9'),'variableName':_0x94c9('0x1d')},{'type':_0x94c9('0xd'),'content':'','key':_0x94c9('0x1e'),'keyType':'variable','variableName':_0x94c9('0x1f')}];break;case _0x94c9('0x6'):_0x58b0ae=[{'type':_0x94c9('0x7'),'content':'***\x20Call\x20Info\x20***','variableName':null},{'type':_0x94c9('0xd'),'content':'','key':'Called\x20Number','keyType':_0x94c9('0x9'),'keyContent':'','variableName':_0x94c9('0xa')},{'type':_0x94c9('0xd'),'content':'','key':_0x94c9('0x20'),'keyType':_0x94c9('0x9'),'keyContent':'','variableName':_0x94c9('0x21')},{'type':'keyValue','content':'','key':_0x94c9('0x13'),'keyType':_0x94c9('0x9'),'keyContent':'','variableName':_0x94c9('0x14')},{'type':'keyValue','content':'','key':_0x94c9('0x22'),'keyType':_0x94c9('0x9'),'keyContent':'','variableName':_0x94c9('0x23')},{'type':_0x94c9('0x7'),'content':'***\x20Time\x20Info\x20***'},{'type':_0x94c9('0xd'),'content':'','key':_0x94c9('0x24'),'keyType':'variable','keyContent':'','variableName':_0x94c9('0x25')},{'type':_0x94c9('0xd'),'content':'','key':_0x94c9('0x26'),'keyType':_0x94c9('0x9'),'keyContent':'','variableName':_0x94c9('0x27')},{'type':_0x94c9('0xd'),'content':'','key':_0x94c9('0x28'),'keyType':'variable','keyContent':'','variableName':_0x94c9('0x29')},{'type':_0x94c9('0xd'),'content':'','key':_0x94c9('0x2a'),'keyType':_0x94c9('0x9'),'keyContent':'','variableName':'billableseconds'}];break;}}return _0x58b0ae;}; \ No newline at end of file diff --git a/server/components/interaction/service.js b/server/components/interaction/service.js index 037f11a..525598b 100644 --- a/server/components/interaction/service.js +++ b/server/components/interaction/service.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x2f42=['[%s]\x20id=%s\x20name=%s\x20role=%s\x20interaction=%s\x20body=%s','toUpperCase','name','stringify','null','findOne','then','update','info','catch','error','user','query','clone','body','omit','html','phone','fax','mobile','lodash','../../mysqldb','../../config/logger','fax-interactions','sms-interactions','chat-interactions','whatsapp-interactions','upperFirst','InteractionId','unknown','toLowerCase'];(function(_0x239f2e,_0x4c5c60){var _0x17dcf6=function(_0x26ea93){while(--_0x26ea93){_0x239f2e['push'](_0x239f2e['shift']());}};_0x17dcf6(++_0x4c5c60);}(_0x2f42,0x90));var _0x22f4=function(_0x377590,_0x4dbaa8){_0x377590=_0x377590-0x0;var _0x1d189a=_0x2f42[_0x377590];return _0x1d189a;};'use strict';var _=require(_0x22f4('0x0'));var db=require(_0x22f4('0x1'))['db'];var loggers={'openchannel':require(_0x22f4('0x2'))('openchannel-interactions'),'mail':require(_0x22f4('0x2'))('mail-interactions'),'fax':require('../../config/logger')(_0x22f4('0x3')),'sms':require('../../config/logger')(_0x22f4('0x4')),'chat':require(_0x22f4('0x2'))(_0x22f4('0x5')),'whatsapp':require(_0x22f4('0x2'))(_0x22f4('0x6'))};function getInteractionId(_0x224410,_0x27259e,_0xac64d1){if(_0x224410&&_0x224410[_[_0x22f4('0x7')](_0xac64d1)+'InteractionId']){return _0x224410[_[_0x22f4('0x7')](_0xac64d1)+_0x22f4('0x8')];}else if(_0x224410&&_0x224410['id']){return _0x224410['id'];}else if(_0x27259e&&_0x27259e['id']){return _0x27259e['id'];}else{return _0x22f4('0x9');}}function log(_0x7d4608,_0x3010aa,_0x2f018b,_0x4d948d,_0x4cf2b9,_0x4d977f){loggers[_0x4cf2b9[_0x22f4('0xa')]()][_0x7d4608](_0x22f4('0xb'),_0x4d977f[_0x22f4('0xc')](),_0x3010aa?_0x3010aa['id']:null,_0x3010aa?_0x3010aa[_0x22f4('0xd')]:null,_0x3010aa?_0x3010aa['role']:null,getInteractionId(_0x2f018b,_0x4d948d,_0x4cf2b9),_0x2f018b?JSON[_0x22f4('0xe')](_0x2f018b):_0x22f4('0xf'));}function updateUser(_0x3d97c8,_0x1a229f,_0x4a0c3e,_0x314f97,_0x27dc54){db[_[_0x22f4('0x7')](_0x314f97)+'Interaction'][_0x22f4('0x10')]({'where':{'id':getInteractionId(_0x1a229f,_0x4a0c3e,_0x314f97)}})[_0x22f4('0x11')](function(_0xb0ed34){if(_0xb0ed34){return _0xb0ed34[_0x22f4('0x12')]({'UserId':_0x3d97c8?_0x3d97c8['id']:null});}})[_0x22f4('0x11')](function(_0x3bdc78){if(_0x3bdc78){log(_0x22f4('0x13'),_0x3d97c8,_0x1a229f,_0x4a0c3e,_0x314f97,_0x27dc54);}})[_0x22f4('0x14')](function(){log(_0x22f4('0x15'),_0x3d97c8,_0x1a229f,_0x4a0c3e,_0x314f97,_0x27dc54);});}exports['tracked']=function(_0x304d60,_0x5b0301){return function(_0xa3e335,_0x4edf25,_0x2a7178){var _0x3e405a=_0xa3e335[_0x22f4('0x16')];var _0x58f285={};var _0x307bf3=_0xa3e335[_0x22f4('0x17')];if(_0x58f285){_0x58f285=_[_0x22f4('0x18')](_0xa3e335[_0x22f4('0x19')]);_0x58f285=_[_0x22f4('0x1a')](_0x58f285,[_0x22f4('0x19'),_0x22f4('0x1b'),_0x22f4('0x1c'),_0x22f4('0x1d'),_0x22f4('0x1e')]);}updateUser(_0x3e405a,_0x58f285,_0x307bf3,_0x304d60,_0x5b0301);_0x2a7178(null);};}; \ No newline at end of file +var _0x05f1=['fax','mobile','lodash','../../mysqldb','../../config/logger','openchannel-interactions','mail-interactions','fax-interactions','sms-interactions','whatsapp-interactions','upperFirst','InteractionId','toLowerCase','[%s]\x20id=%s\x20name=%s\x20role=%s\x20interaction=%s\x20body=%s','toUpperCase','name','role','null','Interaction','findOne','then','update','info','catch','error','tracked','user','query','body','omit','html'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x05f1,0xfa));var _0x105f=function(_0x12fc8d,_0x19ee33){_0x12fc8d=_0x12fc8d-0x0;var _0x3f9d04=_0x05f1[_0x12fc8d];return _0x3f9d04;};'use strict';var _=require(_0x105f('0x0'));var db=require(_0x105f('0x1'))['db'];var loggers={'openchannel':require(_0x105f('0x2'))(_0x105f('0x3')),'mail':require(_0x105f('0x2'))(_0x105f('0x4')),'fax':require('../../config/logger')(_0x105f('0x5')),'sms':require(_0x105f('0x2'))(_0x105f('0x6')),'chat':require(_0x105f('0x2'))('chat-interactions'),'whatsapp':require('../../config/logger')(_0x105f('0x7'))};function getInteractionId(_0x228294,_0x4b1360,_0x3be8b3){if(_0x228294&&_0x228294[_[_0x105f('0x8')](_0x3be8b3)+_0x105f('0x9')]){return _0x228294[_['upperFirst'](_0x3be8b3)+_0x105f('0x9')];}else if(_0x228294&&_0x228294['id']){return _0x228294['id'];}else if(_0x4b1360&&_0x4b1360['id']){return _0x4b1360['id'];}else{return'unknown';}}function log(_0x169a4f,_0x332d11,_0x497c1d,_0x29081a,_0x3d9aa5,_0x60ef62){loggers[_0x3d9aa5[_0x105f('0xa')]()][_0x169a4f](_0x105f('0xb'),_0x60ef62[_0x105f('0xc')](),_0x332d11?_0x332d11['id']:null,_0x332d11?_0x332d11[_0x105f('0xd')]:null,_0x332d11?_0x332d11[_0x105f('0xe')]:null,getInteractionId(_0x497c1d,_0x29081a,_0x3d9aa5),_0x497c1d?JSON['stringify'](_0x497c1d):_0x105f('0xf'));}function updateUser(_0x15d355,_0x5f1e15,_0x25eda0,_0xf4a9ef,_0x54ac77){db[_['upperFirst'](_0xf4a9ef)+_0x105f('0x10')][_0x105f('0x11')]({'where':{'id':getInteractionId(_0x5f1e15,_0x25eda0,_0xf4a9ef)}})[_0x105f('0x12')](function(_0x5a89df){if(_0x5a89df){return _0x5a89df[_0x105f('0x13')]({'UserId':_0x15d355?_0x15d355['id']:null});}})[_0x105f('0x12')](function(_0x6f5937){if(_0x6f5937){log(_0x105f('0x14'),_0x15d355,_0x5f1e15,_0x25eda0,_0xf4a9ef,_0x54ac77);}})[_0x105f('0x15')](function(){log(_0x105f('0x16'),_0x15d355,_0x5f1e15,_0x25eda0,_0xf4a9ef,_0x54ac77);});}exports[_0x105f('0x17')]=function(_0x31d577,_0x4e48b3){return function(_0x327acd,_0x175c14,_0x177012){var _0x466c5a=_0x327acd[_0x105f('0x18')];var _0x186cc6={};var _0x1b7e67=_0x327acd[_0x105f('0x19')];if(_0x186cc6){_0x186cc6=_['clone'](_0x327acd[_0x105f('0x1a')]);_0x186cc6=_[_0x105f('0x1b')](_0x186cc6,[_0x105f('0x1a'),_0x105f('0x1c'),'phone',_0x105f('0x1d'),_0x105f('0x1e')]);}updateUser(_0x466c5a,_0x186cc6,_0x1b7e67,_0x31d577,_0x4e48b3);_0x177012(null);};}; \ No newline at end of file diff --git a/server/components/license/service.js b/server/components/license/service.js index 3b07eaa..d3c38f9 100644 --- a/server/components/license/service.js +++ b/server/components/license/service.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x0163=['../../config/environment','data1','license','split','aes-256-ctr','format','update','base64','utf8','parse','use','License','findOne','then','count','status','json','Maximum\x20%s\x20limit\x20have\x20been\x20reached','users','User','user','isUserLimit','crypto','util','composable-middleware'];(function(_0x3bdde8,_0x3aaf7b){var _0x1f448c=function(_0x28f619){while(--_0x28f619){_0x3bdde8['push'](_0x3bdde8['shift']());}};_0x1f448c(++_0x3aaf7b);}(_0x0163,0xac));var _0x3016=function(_0x41173e,_0x12d2b2){_0x41173e=_0x41173e-0x0;var _0x2aca21=_0x0163[_0x41173e];return _0x2aca21;};'use strict';var crypto=require(_0x3016('0x0'));var util=require(_0x3016('0x1'));var compose=require(_0x3016('0x2'));var db=require('../../mysqldb')['db'];var config=require(_0x3016('0x3'));function getValueFromLicense(_0x5870cb,_0x14c15e){if(_0x5870cb&&_0x14c15e){if(_0x14c15e[_0x3016('0x4')]&&_0x14c15e[_0x3016('0x5')]){var _0x53ea9b=_0x14c15e['data1'];var _0x441a2e=_0x14c15e[_0x3016('0x5')];var _0x4b614f=_0x53ea9b[_0x3016('0x6')]('-')[0x4];var _0x11e0f5=_0x53ea9b[_0x3016('0x6')]('-')[0x0];var _0x382dc9=crypto['createDecipher'](_0x3016('0x7'),util[_0x3016('0x8')]('%s:%s:%s',_0x4b614f,_0x53ea9b,_0x11e0f5));var _0x30107a=_0x382dc9[_0x3016('0x9')](_0x441a2e,_0x3016('0xa'),'utf8');_0x30107a+=_0x382dc9['final'](_0x3016('0xb'));var _0x4e7b06=JSON[_0x3016('0xc')](_0x30107a);return _0x4e7b06['hasOwnProperty'](_0x5870cb)?_0x4e7b06[_0x5870cb]:null;}}return null;}function isLimit(_0x599c13,_0x56e455,_0x4c59aa,_0x3e43a1){var _0x3f2186=_0x56e455;return compose()[_0x3016('0xd')](function(_0x3750f7,_0x37e7cf,_0x5432dc){return db[_0x3016('0xe')][_0x3016('0xf')]({'where':{'id':0x1},'raw':!![]})[_0x3016('0x10')](function(_0x37eb02){var _0x22c8fb=getValueFromLicense(_0x599c13,_0x37eb02);return _0x22c8fb?_0x22c8fb:_0x3f2186;})[_0x3016('0x10')](function(_0x5a26ef){_0x3f2186=_0x5a26ef;return _0x4c59aa[_0x3016('0x11')](_0x3e43a1);})[_0x3016('0x10')](function(_0x491b14){if(_0x491b14>=_0x3f2186){return _0x37e7cf[_0x3016('0x12')](0x193)[_0x3016('0x13')]({'message':util[_0x3016('0x8')](_0x3016('0x14'),_0x599c13)});}_0x5432dc();})['catch'](function(_0x3271ab){_0x5432dc(_0x3271ab);});});}function isUserLimit(){return isLimit(_0x3016('0x15'),0x1,db[_0x3016('0x16')],{'where':{'$or':[{'role':'admin'},{'role':_0x3016('0x17')}]}});}exports[_0x3016('0x18')]=isUserLimit; \ No newline at end of file +var _0xb4f6=['catch','users','User','user','crypto','util','../../config/environment','data1','license','split','createDecipher','aes-256-ctr','format','%s:%s:%s','update','base64','utf8','final','parse','License','findOne','then','status','Maximum\x20%s\x20limit\x20have\x20been\x20reached'];(function(_0x3a3c3c,_0x4127c8){var _0x56db44=function(_0x25af25){while(--_0x25af25){_0x3a3c3c['push'](_0x3a3c3c['shift']());}};_0x56db44(++_0x4127c8);}(_0xb4f6,0x1cc));var _0x6b4f=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xb4f6[_0x3dd15e];return _0x231fd0;};'use strict';var crypto=require(_0x6b4f('0x0'));var util=require(_0x6b4f('0x1'));var compose=require('composable-middleware');var db=require('../../mysqldb')['db'];var config=require(_0x6b4f('0x2'));function getValueFromLicense(_0x522ecf,_0x37e779){if(_0x522ecf&&_0x37e779){if(_0x37e779[_0x6b4f('0x3')]&&_0x37e779[_0x6b4f('0x4')]){var _0x4bb812=_0x37e779[_0x6b4f('0x3')];var _0x17ac79=_0x37e779[_0x6b4f('0x4')];var _0x10f744=_0x4bb812[_0x6b4f('0x5')]('-')[0x4];var _0x55d5e7=_0x4bb812['split']('-')[0x0];var _0xfcef6b=crypto[_0x6b4f('0x6')](_0x6b4f('0x7'),util[_0x6b4f('0x8')](_0x6b4f('0x9'),_0x10f744,_0x4bb812,_0x55d5e7));var _0x3a8b8c=_0xfcef6b[_0x6b4f('0xa')](_0x17ac79,_0x6b4f('0xb'),_0x6b4f('0xc'));_0x3a8b8c+=_0xfcef6b[_0x6b4f('0xd')](_0x6b4f('0xc'));var _0xb41ade=JSON[_0x6b4f('0xe')](_0x3a8b8c);return _0xb41ade['hasOwnProperty'](_0x522ecf)?_0xb41ade[_0x522ecf]:null;}}return null;}function isLimit(_0x1bd0d0,_0x133330,_0x18c9c5,_0x2be082){var _0x13aa09=_0x133330;return compose()['use'](function(_0x29b141,_0x272dfb,_0x2c7b2a){return db[_0x6b4f('0xf')][_0x6b4f('0x10')]({'where':{'id':0x1},'raw':!![]})[_0x6b4f('0x11')](function(_0x449762){var _0x3bdfbd=getValueFromLicense(_0x1bd0d0,_0x449762);return _0x3bdfbd?_0x3bdfbd:_0x13aa09;})['then'](function(_0x3c7aea){_0x13aa09=_0x3c7aea;return _0x18c9c5['count'](_0x2be082);})[_0x6b4f('0x11')](function(_0x236ed1){if(_0x236ed1>=_0x13aa09){return _0x272dfb[_0x6b4f('0x12')](0x193)['json']({'message':util['format'](_0x6b4f('0x13'),_0x1bd0d0)});}_0x2c7b2a();})[_0x6b4f('0x14')](function(_0x571438){_0x2c7b2a(_0x571438);});});}function isUserLimit(){return isLimit(_0x6b4f('0x15'),0x1,db[_0x6b4f('0x16')],{'where':{'$or':[{'role':'admin'},{'role':_0x6b4f('0x17')}]}});}exports['isUserLimit']=isUserLimit; \ No newline at end of file diff --git a/server/components/parsers/advancedSearch.js b/server/components/parsers/advancedSearch.js index c63c4df..eddeb02 100644 --- a/server/components/parsers/advancedSearch.js +++ b/server/components/parsers/advancedSearch.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x64a9=['DATE','operator','value','$gt','$lte','add','days','format','YYYY-MM-DD','castTo','text','CAST(','field','\x20AS\x20','includes','$ne','\x20OR\x20','\x20IS\x20NULL)','IN\x20?','$notIn','$eq','=\x20?','$startsWith','$endsWith','LIKE\x20?','$lt','<\x20?','>\x20?','<=\x20?','$gte','BETWEEN\x20?\x20AND\x20?','start','$substring','$between','pop','utcOffset','hours','seconds','moment','parseSearch','sqlOperator','startsWith','[$or]','replace','[$and]','split','length','slice','forEach','filter','indexOf','map','conditions','push','buildExpression'];(function(_0xf527e8,_0x21544b){var _0x527b55=function(_0xd40228){while(--_0xd40228){_0xf527e8['push'](_0xf527e8['shift']());}};_0x527b55(++_0x21544b);}(_0x64a9,0xcb));var _0x964a=function(_0x1c0ee,_0x44e149){_0x1c0ee=_0x1c0ee-0x0;var _0x4e5261=_0x64a9[_0x1c0ee];return _0x4e5261;};'use strict';var _=require('lodash');var moment=require(_0x964a('0x0'));exports[_0x964a('0x1')]=function(_0x3c393e){var _0x5ea232={'conditions':[]};_0x5ea232[_0x964a('0x2')]=_[_0x964a('0x3')](_0x3c393e,_0x964a('0x4'))?'or':'and';var _0x38d2c2=_0x3c393e[_0x964a('0x5')](_0x964a('0x6'),'')[_0x964a('0x5')](_0x964a('0x4'),'')[_0x964a('0x7')]('||');for(var _0x803b81=0x0;_0x803b81<_0x38d2c2[_0x964a('0x8')];_0x803b81++){var _0x1ba1fa=_0x38d2c2[_0x803b81][_0x964a('0x7')](':=');var _0x5ae550=_0x1ba1fa[0x0];var _0x1f4160=_0x1ba1fa[_0x964a('0x9')](0x1);_0x1f4160[_0x964a('0xa')](function(_0x471443){var _0x1613af=_0x471443[_0x964a('0x7')]('[')['shift']();var _0x2c54a7=_0x471443['match'](/\[(.*?)\]/g);_0x2c54a7[_0x964a('0xa')](function(_0x31a688){var _0x37aed2=_0x31a688[_0x964a('0x7')]('[')[_0x964a('0xb')](function(_0x2f3597){return _0x2f3597[_0x964a('0xc')](']')>-0x1;})[_0x964a('0xd')](function(_0x17bad2){return _0x17bad2['split'](']')[0x0];})[0x0];_0x5ea232[_0x964a('0xe')][_0x964a('0xf')]({'field':_0x5ae550,'operator':_0x1613af,'value':_0x37aed2});});});}return _0x5ea232;};exports[_0x964a('0x10')]=function(_0x1fde07,_0x4ffbce,_0x5a957d){var _0x1ae2d2={};if(_0x4ffbce===_0x964a('0x11')){if(_0x5a957d[_0x964a('0x12')]==='$eq'){_0x5a957d[_0x964a('0x12')]='$between';_0x5a957d[_0x964a('0x13')]+=','+_0x5a957d['value'];}else if(_['includes']([_0x964a('0x14'),_0x964a('0x15')],_0x5a957d[_0x964a('0x12')])){_0x5a957d[_0x964a('0x13')]=moment(_0x5a957d[_0x964a('0x13')])[_0x964a('0x16')](0x1,_0x964a('0x17'))[_0x964a('0x18')](_0x964a('0x19'));}}if(_0x5a957d[_0x964a('0x1a')]){_0x4ffbce=_0x5a957d[_0x964a('0x1a')];_0x1ae2d2[_0x964a('0x1b')]=_0x964a('0x1c')+_0x1fde07+'.'+_0x5a957d[_0x964a('0x1d')]+_0x964a('0x1e')+_0x5a957d[_0x964a('0x1a')]+')\x20'+parseOperator(_0x5a957d[_0x964a('0x12')]);}else{_0x1ae2d2[_0x964a('0x1b')]=_0x1fde07+'.'+_0x5a957d[_0x964a('0x1d')]+'\x20'+parseOperator(_0x5a957d[_0x964a('0x12')]);}if(_[_0x964a('0x1f')]([_0x964a('0x20'),'$notIn'],_0x5a957d[_0x964a('0x12')]))_0x1ae2d2['text']='('+_0x1ae2d2[_0x964a('0x1b')]+_0x964a('0x21')+_0x1fde07+'.'+_0x5a957d[_0x964a('0x1d')]+_0x964a('0x22');_0x1ae2d2[_0x964a('0x13')]=parseValue(_0x4ffbce,_0x5a957d[_0x964a('0x12')],_0x5a957d['value']);return _0x1ae2d2;};function parseOperator(_0x1c2892){var _0x12e12c;switch(_0x1c2892){case'$in':_0x12e12c=_0x964a('0x23');break;case _0x964a('0x24'):_0x12e12c='NOT\x20IN\x20?';break;case _0x964a('0x25'):_0x12e12c=_0x964a('0x26');break;case'$ne':_0x12e12c='<>\x20?';break;case'$substring':case _0x964a('0x27'):case _0x964a('0x28'):_0x12e12c=_0x964a('0x29');break;case _0x964a('0x2a'):_0x12e12c=_0x964a('0x2b');break;case _0x964a('0x14'):_0x12e12c=_0x964a('0x2c');break;case'$lte':_0x12e12c=_0x964a('0x2d');break;case _0x964a('0x2e'):_0x12e12c='>=\x20?';break;case'$between':_0x12e12c=_0x964a('0x2f');break;}return _0x12e12c;}function parseValue(_0xb16ec,_0x14aa77,_0x125ce2){var _0x4dc1b5={'start':undefined,'end':undefined};switch(_0x14aa77){case'$in':case _0x964a('0x24'):_0x4dc1b5[_0x964a('0x30')]=_0x125ce2[_0x964a('0x7')](',');break;case _0x964a('0x31'):_0x4dc1b5[_0x964a('0x30')]='%'+_0x125ce2+'%';break;case'$startsWith':_0x4dc1b5[_0x964a('0x30')]=_0x125ce2+'%';break;case'$endsWith':_0x4dc1b5['start']='%'+_0x125ce2;break;case _0x964a('0x32'):var _0x126f86=_0x125ce2[_0x964a('0x7')](',');var _0x125ce2=_0x126f86['shift']();var _0x13211d=_0x126f86[_0x964a('0x33')]();if(_0xb16ec===_0x964a('0x11')){_0x125ce2=moment(_0x125ce2)[_0x964a('0x34')](0x0,!![])['format']();_0x13211d=moment(_0x13211d)[_0x964a('0x34')](0x0,!![])[_0x964a('0x16')](0x17,_0x964a('0x35'))['add'](0x3b,'minutes')[_0x964a('0x16')](0x3b,_0x964a('0x36'))[_0x964a('0x18')]();}_0x4dc1b5={'start':_0x125ce2,'end':_0x13211d};break;default:_0x4dc1b5[_0x964a('0x30')]=_0x125ce2;break;}return _0x4dc1b5;} \ No newline at end of file +var _0xe43e=['$in','=\x20?','$substring','$endsWith','$lt','<\x20?','>\x20?','<=\x20?','>=\x20?','$between','start','$startsWith','shift','pop','DATE','utcOffset','hours','lodash','parseSearch','sqlOperator','[$or]','and','replace','length','forEach','split','match','filter','indexOf','conditions','buildExpression','operator','$eq','value','$gt','$lte','add','days','format','YYYY-MM-DD','castTo','CAST(','\x20AS\x20','text','field','includes','$ne','$notIn','\x20OR\x20','\x20IS\x20NULL)'];(function(_0x5566c5,_0x59f05c){var _0x2a77c2=function(_0x13011f){while(--_0x13011f){_0x5566c5['push'](_0x5566c5['shift']());}};_0x2a77c2(++_0x59f05c);}(_0xe43e,0xd9));var _0xee43=function(_0x1a5091,_0x3b681d){_0x1a5091=_0x1a5091-0x0;var _0x3bdc47=_0xe43e[_0x1a5091];return _0x3bdc47;};'use strict';var _=require(_0xee43('0x0'));var moment=require('moment');exports[_0xee43('0x1')]=function(_0x1e5d25){var _0x25cdb7={'conditions':[]};_0x25cdb7[_0xee43('0x2')]=_['startsWith'](_0x1e5d25,_0xee43('0x3'))?'or':_0xee43('0x4');var _0x332f39=_0x1e5d25[_0xee43('0x5')]('[$and]','')[_0xee43('0x5')](_0xee43('0x3'),'')['split']('||');for(var _0x3ca267=0x0;_0x3ca267<_0x332f39[_0xee43('0x6')];_0x3ca267++){var _0x5b1b56=_0x332f39[_0x3ca267]['split'](':=');var _0x14d887=_0x5b1b56[0x0];var _0x262404=_0x5b1b56['slice'](0x1);_0x262404[_0xee43('0x7')](function(_0x4e0da9){var _0x3f1dca=_0x4e0da9[_0xee43('0x8')]('[')['shift']();var _0x5f5506=_0x4e0da9[_0xee43('0x9')](/\[(.*?)\]/g);_0x5f5506[_0xee43('0x7')](function(_0x27ef87){var _0xde31d=_0x27ef87[_0xee43('0x8')]('[')[_0xee43('0xa')](function(_0x31c2cc){return _0x31c2cc[_0xee43('0xb')](']')>-0x1;})['map'](function(_0xb4519f){return _0xb4519f[_0xee43('0x8')](']')[0x0];})[0x0];_0x25cdb7[_0xee43('0xc')]['push']({'field':_0x14d887,'operator':_0x3f1dca,'value':_0xde31d});});});}return _0x25cdb7;};exports[_0xee43('0xd')]=function(_0x2a7786,_0x5072c9,_0xa297c){var _0x275a2a={};if(_0x5072c9==='DATE'){if(_0xa297c[_0xee43('0xe')]===_0xee43('0xf')){_0xa297c[_0xee43('0xe')]='$between';_0xa297c[_0xee43('0x10')]+=','+_0xa297c[_0xee43('0x10')];}else if(_['includes']([_0xee43('0x11'),_0xee43('0x12')],_0xa297c[_0xee43('0xe')])){_0xa297c[_0xee43('0x10')]=moment(_0xa297c['value'])[_0xee43('0x13')](0x1,_0xee43('0x14'))[_0xee43('0x15')](_0xee43('0x16'));}}if(_0xa297c[_0xee43('0x17')]){_0x5072c9=_0xa297c[_0xee43('0x17')];_0x275a2a['text']=_0xee43('0x18')+_0x2a7786+'.'+_0xa297c['field']+_0xee43('0x19')+_0xa297c['castTo']+')\x20'+parseOperator(_0xa297c[_0xee43('0xe')]);}else{_0x275a2a[_0xee43('0x1a')]=_0x2a7786+'.'+_0xa297c[_0xee43('0x1b')]+'\x20'+parseOperator(_0xa297c[_0xee43('0xe')]);}if(_[_0xee43('0x1c')]([_0xee43('0x1d'),_0xee43('0x1e')],_0xa297c['operator']))_0x275a2a['text']='('+_0x275a2a[_0xee43('0x1a')]+_0xee43('0x1f')+_0x2a7786+'.'+_0xa297c[_0xee43('0x1b')]+_0xee43('0x20');_0x275a2a[_0xee43('0x10')]=parseValue(_0x5072c9,_0xa297c[_0xee43('0xe')],_0xa297c[_0xee43('0x10')]);return _0x275a2a;};function parseOperator(_0x2f244e){var _0x5117fa;switch(_0x2f244e){case _0xee43('0x21'):_0x5117fa='IN\x20?';break;case _0xee43('0x1e'):_0x5117fa='NOT\x20IN\x20?';break;case _0xee43('0xf'):_0x5117fa=_0xee43('0x22');break;case _0xee43('0x1d'):_0x5117fa='<>\x20?';break;case _0xee43('0x23'):case'$startsWith':case _0xee43('0x24'):_0x5117fa='LIKE\x20?';break;case _0xee43('0x25'):_0x5117fa=_0xee43('0x26');break;case _0xee43('0x11'):_0x5117fa=_0xee43('0x27');break;case _0xee43('0x12'):_0x5117fa=_0xee43('0x28');break;case'$gte':_0x5117fa=_0xee43('0x29');break;case _0xee43('0x2a'):_0x5117fa='BETWEEN\x20?\x20AND\x20?';break;}return _0x5117fa;}function parseValue(_0x2bd91a,_0x1d2163,_0x48bbeb){var _0x459149={'start':undefined,'end':undefined};switch(_0x1d2163){case _0xee43('0x21'):case _0xee43('0x1e'):_0x459149[_0xee43('0x2b')]=_0x48bbeb[_0xee43('0x8')](',');break;case'$substring':_0x459149[_0xee43('0x2b')]='%'+_0x48bbeb+'%';break;case _0xee43('0x2c'):_0x459149[_0xee43('0x2b')]=_0x48bbeb+'%';break;case'$endsWith':_0x459149[_0xee43('0x2b')]='%'+_0x48bbeb;break;case'$between':var _0x1dd5a3=_0x48bbeb['split'](',');var _0x48bbeb=_0x1dd5a3[_0xee43('0x2d')]();var _0x3cf0d0=_0x1dd5a3[_0xee43('0x2e')]();if(_0x2bd91a===_0xee43('0x2f')){_0x48bbeb=moment(_0x48bbeb)[_0xee43('0x30')](0x0,!![])[_0xee43('0x15')]();_0x3cf0d0=moment(_0x3cf0d0)['utcOffset'](0x0,!![])[_0xee43('0x13')](0x17,_0xee43('0x31'))['add'](0x3b,'minutes')[_0xee43('0x13')](0x3b,'seconds')[_0xee43('0x15')]();}_0x459149={'start':_0x48bbeb,'end':_0x3cf0d0};break;default:_0x459149[_0xee43('0x2b')]=_0x48bbeb;break;}return _0x459149;} \ No newline at end of file diff --git a/server/components/parsers/qs.js b/server/components/parsers/qs.js index 4c1ec31..7702633 100644 --- a/server/components/parsers/qs.js +++ b/server/components/parsers/qs.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x8469=['DESC','col','unsigned','ASC','length','omit','isObject','isString','unset','hasOwnProperty','match','^[0-9]*$','getFullTextValue','forEach','push','toString','join','sequelize','split','filters','isEmpty','forOwn','find','type','DATE','isPlainObject','parse','$gte','format','YYYY-MM-DD','utc','$lte','subtract','isArray','limit','sort','map','priority','cast','substr'];(function(_0x56482c,_0x16118d){var _0x5aae7a=function(_0x52512f){while(--_0x52512f){_0x56482c['push'](_0x56482c['shift']());}};_0x5aae7a(++_0x16118d);}(_0x8469,0xd9));var _0x9846=function(_0x53c4f8,_0x44ccaf){_0x53c4f8=_0x53c4f8-0x0;var _0x416458=_0x8469[_0x53c4f8];return _0x416458;};'use strict';var _=require('lodash');var sequelize=require(_0x9846('0x0'));var moment=require('moment');var LIMIT_VALUE=0xfa;exports['fields']=function(_0x34eab3){var _0x433953=null;if(_0x34eab3){_0x433953=_0x34eab3[_0x9846('0x1')](',');}return _0x433953;};exports[_0x9846('0x2')]=function(_0x3f24c0,_0x207aee){var _0x5c19a9={};if(!_[_0x9846('0x3')](_0x3f24c0)){_[_0x9846('0x4')](_0x3f24c0,function(_0x5c4557,_0x20e5ed){try{if(_0x207aee){var _0x169952=_[_0x9846('0x5')](_0x207aee,{'name':_0x20e5ed})||{};if(_0x169952[_0x9846('0x6')]===_0x9846('0x7')&&_[_0x9846('0x8')](_0x5c4557)){var _0x48334e=JSON[_0x9846('0x9')](_0x5c4557);var _0x2b31f8={'$gte':moment(moment(_0x48334e[_0x9846('0xa')])[_0x9846('0xb')](_0x9846('0xc')))[_0x9846('0xd')]()[_0x9846('0xb')](),'$lte':moment(moment(_0x48334e[_0x9846('0xe')])['format'](_0x9846('0xc')))[_0x9846('0xd')]()[_0x9846('0xf')](0x1,'s')[_0x9846('0xb')]()};_0x5c19a9[_0x20e5ed]=_0x2b31f8;}else{_0x5c19a9[_0x20e5ed]=_['isArray'](_0x5c4557)?_0x5c4557:JSON[_0x9846('0x9')](_0x5c4557);}}else{_0x5c19a9[_0x20e5ed]=_[_0x9846('0x10')](_0x5c4557)?_0x5c4557:JSON[_0x9846('0x9')](_0x5c4557);}}catch(_0x5db492){_0x5c19a9[_0x20e5ed]=_0x5c4557[_0x9846('0x1')](',');}});}return _0x5c19a9;};exports[_0x9846('0x11')]=function(_0x40ac9e){_0x40ac9e=parseInt(_0x40ac9e,0xa);if(!_0x40ac9e||_0x40ac9e<0x0){_0x40ac9e=LIMIT_VALUE;}return _0x40ac9e;};exports['offset']=function(_0x393e3c){_0x393e3c=parseInt(_0x393e3c,0xa);if(!_0x393e3c||_0x393e3c<0x0){_0x393e3c=0x0;}return _0x393e3c;};exports[_0x9846('0x12')]=function(_0x24a906){var _0x592707,_0x38458d=null;if(_0x24a906){_0x592707=_0x24a906[_0x9846('0x1')](',');_0x38458d=_[_0x9846('0x13')](_0x592707,function(_0x5b14be){if(_0x5b14be['indexOf']('-')===0x0){return[_0x5b14be===_0x9846('0x14')?sequelize[_0x9846('0x15')](sequelize['col']('priority'),'unsigned'):_0x5b14be[_0x9846('0x16')](0x1),_0x9846('0x17')];}else{return[_0x5b14be==='priority'?sequelize[_0x9846('0x15')](sequelize[_0x9846('0x18')](_0x9846('0x14')),_0x9846('0x19')):_0x5b14be,_0x9846('0x1a')];}});}return _0x38458d;};exports['omit']=function(_0x2cd020,_0x222e64){if(_[_0x9846('0x3')](_0x2cd020)){return _0x2cd020;}if(_[_0x9846('0x10')](_0x2cd020)){for(var _0x3f7d21=0x0;_0x3f7d21<_0x2cd020[_0x9846('0x1b')];_0x3f7d21+=0x1){_0x2cd020[_0x3f7d21]=this[_0x9846('0x1c')](_0x2cd020[_0x3f7d21],_0x222e64);}return _0x2cd020;}if(!_[_0x9846('0x1d')](_0x2cd020)){return _0x2cd020;}if(_[_0x9846('0x1e')](_0x222e64)){_0x222e64=[_0x222e64];}if(!_[_0x9846('0x10')](_0x222e64)){return _0x2cd020;}for(var _0x2cea9d=0x0;_0x2cea9d<_0x222e64['length'];_0x2cea9d+=0x1){_[_0x9846('0x1f')](_0x2cd020,_0x222e64[_0x2cea9d]);}for(var _0x35693d in _0x2cd020){if(_0x2cd020[_0x9846('0x20')](_0x35693d)){_0x2cd020[_0x35693d]=this[_0x9846('0x1c')](_0x2cd020[_0x35693d],_0x222e64);}}return _0x2cd020;};exports['isNumeric']=function(_0x187342){return _0x187342[_0x9846('0x21')](RegExp(_0x9846('0x22')))?!![]:![];};exports['isEmail']=function(_0x1da8e9){return _0x1da8e9[_0x9846('0x21')](/^\S+@\S+$/)?!![]:![];};exports[_0x9846('0x23')]=function(_0x32bda3){var _0x15772e=[];_0x32bda3[_0x9846('0x1')]('\x20')[_0x9846('0x24')](function(_0x56c435){_0x15772e[_0x9846('0x25')]('+'+_0x56c435[_0x9846('0x26')]()+'*');});return _0x15772e[_0x9846('0x27')]('\x20');}; \ No newline at end of file +var _0x566e=['^[0-9]*$','isEmail','match','forEach','push','toString','join','lodash','sequelize','fields','filters','isEmpty','forOwn','find','type','DATE','isPlainObject','parse','$gte','format','YYYY-MM-DD','utc','$lte','subtract','isArray','split','limit','offset','sort','map','indexOf','col','priority','unsigned','cast','omit','isObject','isString','length','unset','hasOwnProperty','isNumeric'];(function(_0x4336a6,_0xc235ca){var _0x4012f3=function(_0x1acacf){while(--_0x1acacf){_0x4336a6['push'](_0x4336a6['shift']());}};_0x4012f3(++_0xc235ca);}(_0x566e,0xd9));var _0xe566=function(_0x24f31b,_0x44b8f3){_0x24f31b=_0x24f31b-0x0;var _0x488401=_0x566e[_0x24f31b];return _0x488401;};'use strict';var _=require(_0xe566('0x0'));var sequelize=require(_0xe566('0x1'));var moment=require('moment');var LIMIT_VALUE=0xfa;exports[_0xe566('0x2')]=function(_0x26cf80){var _0x6f123b=null;if(_0x26cf80){_0x6f123b=_0x26cf80['split'](',');}return _0x6f123b;};exports[_0xe566('0x3')]=function(_0x4b2f2b,_0xbd0a3d){var _0x48a446={};if(!_[_0xe566('0x4')](_0x4b2f2b)){_[_0xe566('0x5')](_0x4b2f2b,function(_0x1e44ae,_0x453764){try{if(_0xbd0a3d){var _0xb0f662=_[_0xe566('0x6')](_0xbd0a3d,{'name':_0x453764})||{};if(_0xb0f662[_0xe566('0x7')]===_0xe566('0x8')&&_[_0xe566('0x9')](_0x1e44ae)){var _0x2ef243=JSON[_0xe566('0xa')](_0x1e44ae);var _0x179eb7={'$gte':moment(moment(_0x2ef243[_0xe566('0xb')])[_0xe566('0xc')](_0xe566('0xd')))[_0xe566('0xe')]()[_0xe566('0xc')](),'$lte':moment(moment(_0x2ef243[_0xe566('0xf')])[_0xe566('0xc')](_0xe566('0xd')))[_0xe566('0xe')]()[_0xe566('0x10')](0x1,'s')[_0xe566('0xc')]()};_0x48a446[_0x453764]=_0x179eb7;}else{_0x48a446[_0x453764]=_[_0xe566('0x11')](_0x1e44ae)?_0x1e44ae:JSON['parse'](_0x1e44ae);}}else{_0x48a446[_0x453764]=_[_0xe566('0x11')](_0x1e44ae)?_0x1e44ae:JSON['parse'](_0x1e44ae);}}catch(_0x290a2a){_0x48a446[_0x453764]=_0x1e44ae[_0xe566('0x12')](',');}});}return _0x48a446;};exports[_0xe566('0x13')]=function(_0xf7ff35){_0xf7ff35=parseInt(_0xf7ff35,0xa);if(!_0xf7ff35||_0xf7ff35<0x0){_0xf7ff35=LIMIT_VALUE;}return _0xf7ff35;};exports[_0xe566('0x14')]=function(_0x43cb4a){_0x43cb4a=parseInt(_0x43cb4a,0xa);if(!_0x43cb4a||_0x43cb4a<0x0){_0x43cb4a=0x0;}return _0x43cb4a;};exports[_0xe566('0x15')]=function(_0x1dc409){var _0x559b61,_0xe7dbb0=null;if(_0x1dc409){_0x559b61=_0x1dc409[_0xe566('0x12')](',');_0xe7dbb0=_[_0xe566('0x16')](_0x559b61,function(_0x63a6f4){if(_0x63a6f4[_0xe566('0x17')]('-')===0x0){return[_0x63a6f4==='priority'?sequelize['cast'](sequelize[_0xe566('0x18')](_0xe566('0x19')),_0xe566('0x1a')):_0x63a6f4['substr'](0x1),'DESC'];}else{return[_0x63a6f4==='priority'?sequelize[_0xe566('0x1b')](sequelize[_0xe566('0x18')](_0xe566('0x19')),_0xe566('0x1a')):_0x63a6f4,'ASC'];}});}return _0xe7dbb0;};exports['omit']=function(_0x51b04e,_0x159682){if(_[_0xe566('0x4')](_0x51b04e)){return _0x51b04e;}if(_[_0xe566('0x11')](_0x51b04e)){for(var _0x931f5c=0x0;_0x931f5c<_0x51b04e['length'];_0x931f5c+=0x1){_0x51b04e[_0x931f5c]=this[_0xe566('0x1c')](_0x51b04e[_0x931f5c],_0x159682);}return _0x51b04e;}if(!_[_0xe566('0x1d')](_0x51b04e)){return _0x51b04e;}if(_[_0xe566('0x1e')](_0x159682)){_0x159682=[_0x159682];}if(!_['isArray'](_0x159682)){return _0x51b04e;}for(var _0x52cbdf=0x0;_0x52cbdf<_0x159682[_0xe566('0x1f')];_0x52cbdf+=0x1){_[_0xe566('0x20')](_0x51b04e,_0x159682[_0x52cbdf]);}for(var _0x2fe9c9 in _0x51b04e){if(_0x51b04e[_0xe566('0x21')](_0x2fe9c9)){_0x51b04e[_0x2fe9c9]=this[_0xe566('0x1c')](_0x51b04e[_0x2fe9c9],_0x159682);}}return _0x51b04e;};exports[_0xe566('0x22')]=function(_0x35ccb0){return _0x35ccb0['match'](RegExp(_0xe566('0x23')))?!![]:![];};exports[_0xe566('0x24')]=function(_0x534e3e){return _0x534e3e[_0xe566('0x25')](/^\S+@\S+$/)?!![]:![];};exports['getFullTextValue']=function(_0x4284db){var _0x479116=[];_0x4284db[_0xe566('0x12')]('\x20')[_0xe566('0x26')](function(_0x534265){_0x479116[_0xe566('0x27')]('+'+_0x534265[_0xe566('0x28')]()+'*');});return _0x479116[_0xe566('0x29')]('\x20');}; \ No newline at end of file diff --git a/server/config/express.js b/server/config/express.js index a8922d4..aeccaa4 100644 --- a/server/config/express.js +++ b/server/config/express.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x9da3=['moment','./environment','../mysqldb','default','get','production','set','appPath','join','root','public','client','use','json\x20replacer','toISOString','split','static','views','engine','html','ejs','renderFile','view\x20engine','urlencoded','json','50mb','initialize','serve-favicon','cookie-parser','errorhandler','path','passport','cors'];(function(_0x48b724,_0x5a8e26){var _0x4d38b3=function(_0xef820f){while(--_0xef820f){_0x48b724['push'](_0x48b724['shift']());}};_0x4d38b3(++_0x5a8e26);}(_0x9da3,0x9f));var _0x39da=function(_0x4cbc5c,_0x56cd64){_0x4cbc5c=_0x4cbc5c-0x0;var _0x161d7f=_0x9da3[_0x4cbc5c];return _0x161d7f;};'use strict';var express=require('express');var favicon=require(_0x39da('0x0'));var bodyParser=require('body-parser');var methodOverride=require('method-override');var cookieParser=require(_0x39da('0x1'));var errorHandler=require(_0x39da('0x2'));var path=require(_0x39da('0x3'));var passport=require(_0x39da('0x4'));var cors=require(_0x39da('0x5'));var moment=require(_0x39da('0x6'));var config=require(_0x39da('0x7'));var db=require(_0x39da('0x8'))['db'];exports[_0x39da('0x9')]=function(_0x3bac61){var _0x7eee0a=_0x3bac61[_0x39da('0xa')]('env');if(_0x7eee0a===_0x39da('0xb')){_0x3bac61[_0x39da('0xc')](_0x39da('0xd'),path[_0x39da('0xe')](config[_0x39da('0xf')],_0x39da('0x10')));}if(_0x7eee0a==='development'||_0x7eee0a==='test'){_0x3bac61[_0x39da('0xc')](_0x39da('0xd'),path[_0x39da('0xe')](config[_0x39da('0xf')],_0x39da('0x11')));_0x3bac61[_0x39da('0x12')](errorHandler());}_0x3bac61[_0x39da('0xc')](_0x39da('0x13'),function(_0x12540e,_0x3aed25){if(this[_0x12540e]instanceof Date){_0x3aed25=this[_0x12540e][_0x39da('0x14')]()[_0x39da('0x15')]('.')[0x0]+'Z';}return _0x3aed25;});_0x3bac61[_0x39da('0x12')](express[_0x39da('0x16')](_0x3bac61[_0x39da('0xa')](_0x39da('0xd'))));_0x3bac61[_0x39da('0xc')](_0x39da('0x17'),config['root']+'/server/views');_0x3bac61[_0x39da('0x18')](_0x39da('0x19'),require(_0x39da('0x1a'))[_0x39da('0x1b')]);_0x3bac61[_0x39da('0xc')](_0x39da('0x1c'),_0x39da('0x19'));_0x3bac61[_0x39da('0x12')](bodyParser[_0x39da('0x1d')]({'limit':'50mb','extended':!![]}));_0x3bac61['use'](bodyParser[_0x39da('0x1e')]({'limit':_0x39da('0x1f')}));_0x3bac61[_0x39da('0x12')](cors());_0x3bac61[_0x39da('0x12')](methodOverride());_0x3bac61[_0x39da('0x12')](cookieParser());_0x3bac61[_0x39da('0x12')](passport[_0x39da('0x20')]());}; \ No newline at end of file +var _0xa68a=['ejs','renderFile','view\x20engine','50mb','initialize','serve-favicon','body-parser','method-override','cookie-parser','errorhandler','passport','cors','moment','./environment','../mysqldb','default','get','env','production','set','appPath','join','public','test','root','client','use','toISOString','split','static','views','/server/views','engine','html'];(function(_0x159594,_0x5a1ca0){var _0x5b6287=function(_0x2afcd8){while(--_0x2afcd8){_0x159594['push'](_0x159594['shift']());}};_0x5b6287(++_0x5a1ca0);}(_0xa68a,0x137));var _0xaa68=function(_0x326dbe,_0x95e3ca){_0x326dbe=_0x326dbe-0x0;var _0x5c37f6=_0xa68a[_0x326dbe];return _0x5c37f6;};'use strict';var express=require('express');var favicon=require(_0xaa68('0x0'));var bodyParser=require(_0xaa68('0x1'));var methodOverride=require(_0xaa68('0x2'));var cookieParser=require(_0xaa68('0x3'));var errorHandler=require(_0xaa68('0x4'));var path=require('path');var passport=require(_0xaa68('0x5'));var cors=require(_0xaa68('0x6'));var moment=require(_0xaa68('0x7'));var config=require(_0xaa68('0x8'));var db=require(_0xaa68('0x9'))['db'];exports[_0xaa68('0xa')]=function(_0x439240){var _0x5cc503=_0x439240[_0xaa68('0xb')](_0xaa68('0xc'));if(_0x5cc503===_0xaa68('0xd')){_0x439240[_0xaa68('0xe')](_0xaa68('0xf'),path[_0xaa68('0x10')](config['root'],_0xaa68('0x11')));}if(_0x5cc503==='development'||_0x5cc503===_0xaa68('0x12')){_0x439240[_0xaa68('0xe')]('appPath',path[_0xaa68('0x10')](config[_0xaa68('0x13')],_0xaa68('0x14')));_0x439240[_0xaa68('0x15')](errorHandler());}_0x439240[_0xaa68('0xe')]('json\x20replacer',function(_0x18e37a,_0x3eb06d){if(this[_0x18e37a]instanceof Date){_0x3eb06d=this[_0x18e37a][_0xaa68('0x16')]()[_0xaa68('0x17')]('.')[0x0]+'Z';}return _0x3eb06d;});_0x439240[_0xaa68('0x15')](express[_0xaa68('0x18')](_0x439240[_0xaa68('0xb')]('appPath')));_0x439240['set'](_0xaa68('0x19'),config[_0xaa68('0x13')]+_0xaa68('0x1a'));_0x439240[_0xaa68('0x1b')](_0xaa68('0x1c'),require(_0xaa68('0x1d'))[_0xaa68('0x1e')]);_0x439240['set'](_0xaa68('0x1f'),'html');_0x439240[_0xaa68('0x15')](bodyParser['urlencoded']({'limit':_0xaa68('0x20'),'extended':!![]}));_0x439240[_0xaa68('0x15')](bodyParser['json']({'limit':_0xaa68('0x20')}));_0x439240[_0xaa68('0x15')](cors());_0x439240[_0xaa68('0x15')](methodOverride());_0x439240[_0xaa68('0x15')](cookieParser());_0x439240[_0xaa68('0x15')](passport[_0xaa68('0x21')]());}; \ No newline at end of file diff --git a/server/config/license/hardware.js b/server/config/license/hardware.js index adddbd9..83cf5a2 100644 --- a/server/config/license/hardware.js +++ b/server/config/license/hardware.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x6ec2=['execSync','networkInterfaces','orderBy','keys','family','IPv4','internal','mac','00:00:00:00:00:00','address','127.0.0.1','getFirstInterface','cpus','model','join','createHash','md5','update','digest','hex','platform','win32','dmidecode\x20--string\x20system-uuid','utf8','hostname','macAddress','substring','lodash','crypto','bimedia-machine-uuid','child_process'];(function(_0x4c260a,_0x148241){var _0x17bbdd=function(_0x4f3e9f){while(--_0x4f3e9f){_0x4c260a['push'](_0x4c260a['shift']());}};_0x17bbdd(++_0x148241);}(_0x6ec2,0x78));var _0x26ec=function(_0x5b0d97,_0x4d389d){_0x5b0d97=_0x5b0d97-0x0;var _0x2fe37e=_0x6ec2[_0x5b0d97];return _0x2fe37e;};'use strict';var _=require(_0x26ec('0x0'));var os=require('os');var crypto=require(_0x26ec('0x1'));var machine=require(_0x26ec('0x2'));var exec=require(_0x26ec('0x3'))[_0x26ec('0x4')];function getInterfaces(){var _0x277401=[];var _0x5ef71c=os[_0x26ec('0x5')]();var _0x18650a=_[_0x26ec('0x6')](_[_0x26ec('0x7')](_0x5ef71c));for(var _0x375e01=0x0;_0x375e01<_0x18650a['length'];_0x375e01++){var _0x3b5955=_0x5ef71c[_0x18650a[_0x375e01]]['filter'](function(_0x4cadb0){return _0x4cadb0[_0x26ec('0x8')]===_0x26ec('0x9')&&_0x4cadb0[_0x26ec('0xa')]===![];});_0x277401=_0x277401['concat'](_0x3b5955);}return _0x277401;}function getFirstInterface(){var _0x1d1df3=_['head'](getInterfaces());return{'macAddress':_0x1d1df3&&_0x1d1df3[_0x26ec('0xb')]?_0x1d1df3[_0x26ec('0xb')]:_0x26ec('0xc'),'ipAddress':_0x1d1df3&&_0x1d1df3[_0x26ec('0xd')]?_0x1d1df3[_0x26ec('0xd')]:_0x26ec('0xe')};}exports[_0x26ec('0xf')]=getFirstInterface;function getCPUhash(){var _0x1a8f40=_[_0x26ec('0x6')](os[_0x26ec('0x10')]()['map'](function(_0x5212e4){return _0x5212e4[_0x26ec('0x11')];}))[_0x26ec('0x12')](':');return crypto[_0x26ec('0x13')](_0x26ec('0x14'))[_0x26ec('0x15')](_0x1a8f40)[_0x26ec('0x16')](_0x26ec('0x17'));}exports['getUuid']=function(){switch(os[_0x26ec('0x18')]()){case _0x26ec('0x19'):return exec(_0x26ec('0x1a'),{'encoding':_0x26ec('0x1b')})['replace']('\x0d\x0a','');default:var _0x4d366c=getFirstInterface();var _0x438985=getCPUhash();var _0x127385=_0x438985+'|'+os[_0x26ec('0x1c')]()+'|'+_0x4d366c[_0x26ec('0x1d')]+'|'+_0x4d366c['ipAddress'];var _0x17282d=crypto[_0x26ec('0x13')]('md5')['update'](_0x127385)['digest'](_0x26ec('0x17'));return _0x17282d[_0x26ec('0x1e')](0x0,0x8)+'-'+_0x17282d[_0x26ec('0x1e')](0x8,0xc)+'-'+_0x17282d['substring'](0xc,0x10)+'-'+_0x17282d['substring'](0x10,0x14)+'-'+_0x17282d[_0x26ec('0x1e')](0x14);}}; \ No newline at end of file +var _0x4b19=['bimedia-machine-uuid','child_process','execSync','networkInterfaces','keys','filter','family','IPv4','internal','mac','00:00:00:00:00:00','address','127.0.0.1','getFirstInterface','orderBy','cpus','map','createHash','md5','hex','getUuid','win32','replace','macAddress','ipAddress','update','digest','substring','lodash'];(function(_0x33f31b,_0x550ae9){var _0x33514e=function(_0x266538){while(--_0x266538){_0x33f31b['push'](_0x33f31b['shift']());}};_0x33514e(++_0x550ae9);}(_0x4b19,0x195));var _0x94b1=function(_0x331644,_0x255667){_0x331644=_0x331644-0x0;var _0x1f327b=_0x4b19[_0x331644];return _0x1f327b;};'use strict';var _=require(_0x94b1('0x0'));var os=require('os');var crypto=require('crypto');var machine=require(_0x94b1('0x1'));var exec=require(_0x94b1('0x2'))[_0x94b1('0x3')];function getInterfaces(){var _0x577f52=[];var _0x1ffdb7=os[_0x94b1('0x4')]();var _0x2240b9=_['orderBy'](_[_0x94b1('0x5')](_0x1ffdb7));for(var _0x11e23c=0x0;_0x11e23c<_0x2240b9['length'];_0x11e23c++){var _0x24df76=_0x1ffdb7[_0x2240b9[_0x11e23c]][_0x94b1('0x6')](function(_0x4ea1f9){return _0x4ea1f9[_0x94b1('0x7')]===_0x94b1('0x8')&&_0x4ea1f9[_0x94b1('0x9')]===![];});_0x577f52=_0x577f52['concat'](_0x24df76);}return _0x577f52;}function getFirstInterface(){var _0x15c0a9=_['head'](getInterfaces());return{'macAddress':_0x15c0a9&&_0x15c0a9['mac']?_0x15c0a9[_0x94b1('0xa')]:_0x94b1('0xb'),'ipAddress':_0x15c0a9&&_0x15c0a9[_0x94b1('0xc')]?_0x15c0a9[_0x94b1('0xc')]:_0x94b1('0xd')};}exports[_0x94b1('0xe')]=getFirstInterface;function getCPUhash(){var _0x4a8ea2=_[_0x94b1('0xf')](os[_0x94b1('0x10')]()[_0x94b1('0x11')](function(_0x2b378c){return _0x2b378c['model'];}))['join'](':');return crypto[_0x94b1('0x12')](_0x94b1('0x13'))['update'](_0x4a8ea2)['digest'](_0x94b1('0x14'));}exports[_0x94b1('0x15')]=function(){switch(os['platform']()){case _0x94b1('0x16'):return exec('dmidecode\x20--string\x20system-uuid',{'encoding':'utf8'})[_0x94b1('0x17')]('\x0d\x0a','');default:var _0x1f0560=getFirstInterface();var _0x258e98=getCPUhash();var _0x1977f4=_0x258e98+'|'+os['hostname']()+'|'+_0x1f0560[_0x94b1('0x18')]+'|'+_0x1f0560[_0x94b1('0x19')];var _0xa29b90=crypto[_0x94b1('0x12')](_0x94b1('0x13'))[_0x94b1('0x1a')](_0x1977f4)[_0x94b1('0x1b')]('hex');return _0xa29b90[_0x94b1('0x1c')](0x0,0x8)+'-'+_0xa29b90[_0x94b1('0x1c')](0x8,0xc)+'-'+_0xa29b90[_0x94b1('0x1c')](0xc,0x10)+'-'+_0xa29b90['substring'](0x10,0x14)+'-'+_0xa29b90[_0x94b1('0x1c')](0x14);}}; \ No newline at end of file diff --git a/server/config/license/index.js b/server/config/license/index.js index b8d378d..2a29c41 100644 --- a/server/config/license/index.js +++ b/server/config/license/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x761c=['../../mysqldb','./hardware','license','../../api/jira/jira.controller','https://www.xcallymotion.com','%s/api/servers/%s/check?version=%s','exports','format','%s/api/servers/%s/check?version=%s&oldtoken=%s','then','createCipher','secrets','update','utf8','base64','final','aes-256-ctr','session','findOne','admin','fullname','email','|reason|','|uuid|','|machineUuid|','|name|','openIssue','MOTLICENSE','Motion\x20License\x20Alert','Alert','get','data2','THE\x20LICENSE\x20HAS\x20BEEN\x20ENABLED','info','THE\x20LICENSE\x20HAS\x20BEEN\x20UPDATED','data1','Disabled','THE\x20LICENSE\x20HAS\x20BEEN\x20DISABLED','Changed','NEW\x20UUID\x20DETECTED:\x20FROM\x20%s\x20TO\x20%s','uuid','YYYY-MM-DD\x20HH:mm','days','DEMO\x20START\x20AT\x20%s','catch','error','message','finally','getUuid','findOrCreate','SERVICE\x20LICENSE\x20STARTED\x20%s','default','util','moment','request-promise','pkginfo','version'];(function(_0x404b6d,_0x37d028){var _0x2e910a=function(_0x4dca7a){while(--_0x4dca7a){_0x404b6d['push'](_0x404b6d['shift']());}};_0x2e910a(++_0x37d028);}(_0x761c,0x18a));var _0xc761=function(_0x1a3916,_0x1387c4){_0x1a3916=_0x1a3916-0x0;var _0x1e341c=_0x761c[_0x1a3916];return _0x1e341c;};'use strict';var util=require(_0xc761('0x0'));var crypto=require('crypto');var moment=require(_0xc761('0x1'));var rp=require(_0xc761('0x2'));var BPromise=require('bluebird');var pkginfo=require(_0xc761('0x3'))(module,_0xc761('0x4'));var db=require(_0xc761('0x5'))['db'];var config=require('../environment');var hardware=require(_0xc761('0x6'));var logger=require('../logger')(_0xc761('0x7'));var jira=require(_0xc761('0x8'));var HOST=_0xc761('0x9');var TIME=0x3c*0x1388;var DAYS=0x7;var GRAY_PERIOD_REASON;var ADMIN;var oldToken;function httpRequest(_0xafa0bd){return new BPromise(function(_0x2f4f2e,_0x444747){var _0x46e882=util['format'](_0xc761('0xa'),HOST,_0xafa0bd,module[_0xc761('0xb')][_0xc761('0x4')]);if(oldToken){_0x46e882=util[_0xc761('0xc')](_0xc761('0xd'),HOST,_0xafa0bd,module[_0xc761('0xb')][_0xc761('0x4')],oldToken);}var _0x49add8={'uri':_0x46e882,'method':'GET','timeout':0xea60,'json':!![]};return rp(_0x49add8)[_0xc761('0xe')](function(_0x4405a2){_0x2f4f2e(_0x4405a2);})['catch'](function(_0x4ade02){_0x444747(_0x4ade02);});});}function encryptDate(_0x46571a){var _0x47a712=crypto[_0xc761('0xf')]('aes-256-ctr',config[_0xc761('0x10')]['session']);var _0x2abdd4=_0x47a712[_0xc761('0x11')](_0x46571a,_0xc761('0x12'),_0xc761('0x13'));_0x2abdd4+=_0x47a712[_0xc761('0x14')](_0xc761('0x13'));return _0x2abdd4;}function decryptDate(_0x21384f){var _0x5d83cc=crypto['createDecipher'](_0xc761('0x15'),config[_0xc761('0x10')][_0xc761('0x16')]);var _0x597085=_0x5d83cc[_0xc761('0x11')](_0x21384f,_0xc761('0x13'),_0xc761('0x12'));_0x597085+=_0x5d83cc[_0xc761('0x14')](_0xc761('0x12'));return _0x597085;}function sendJiraAlert(_0x5939ee,_0x59e371,_0x505b5c){var _0x3d5913='||FIELD||VALUE||\x0a';return db['User'][_0xc761('0x17')]({'where':{'role':_0xc761('0x18')},'attributes':[_0xc761('0x19'),_0xc761('0x1a')],'raw':!![]})[_0xc761('0xe')](function(_0x5bfcb8){ADMIN=_0x5bfcb8;_0x3d5913+=_0xc761('0x1b')+_0x505b5c+'|\x0a';_0x3d5913+=_0xc761('0x1c')+_0x5939ee+'|\x0a';_0x3d5913+=_0xc761('0x1d')+_0x59e371+'|\x0a';_0x3d5913+=_0xc761('0x1e')+ADMIN[_0xc761('0x19')]+'|\x0a';_0x3d5913+='|email|'+ADMIN[_0xc761('0x1a')]+'|\x0a';return _0x3d5913;})[_0xc761('0xe')](function(_0xb48d6b){var _0x13a002=hardware['getFirstInterface']()['ipAddress'];return jira[_0xc761('0x1f')]({'key':_0xc761('0x20'),'summary':_0xc761('0x21'),'description':_0xb48d6b,'issuetype':_0xc761('0x22'),'oldToken':_0x5939ee,'newToken':_0x59e371,'email':ADMIN[_0xc761('0x1a')],'name':ADMIN[_0xc761('0x19')],'reason':GRAY_PERIOD_REASON,'ip':_0x13a002});});}function manageLicense(_0x2909ce,_0x34a45b){var _0x4a7690=_0x34a45b[_0xc761('0x23')]({'plain':!![]});httpRequest(_0x2909ce)[_0xc761('0xe')](function(_0xb90fd8){if(oldToken){oldToken=undefined;}if(_0xb90fd8['active']){if(!_0x4a7690['license']&&_0x4a7690[_0xc761('0x7')]!=_0xb90fd8[_0xc761('0x7')]||_0x4a7690['license']&&_0x4a7690[_0xc761('0x24')]){logger['info'](_0xc761('0x25'));}if(_0x4a7690['license']&&!_0x4a7690['data2']&&_0x4a7690['license']!=_0xb90fd8[_0xc761('0x7')]){logger[_0xc761('0x26')](_0xc761('0x27'));}if(_0x4a7690[_0xc761('0x7')]&&!_0x4a7690['data2']&&_0x4a7690[_0xc761('0x7')]==_0xb90fd8[_0xc761('0x7')]){return _0x34a45b;}return _0x34a45b[_0xc761('0x11')]({'data1':_0x2909ce,'data2':null,'license':_0xb90fd8[_0xc761('0x7')]});}else{if(_0xb90fd8[_0xc761('0x7')]||_0x4a7690['license']){if(!_0x4a7690[_0xc761('0x24')]){if(_0x4a7690[_0xc761('0x28')]==_0x2909ce){GRAY_PERIOD_REASON=_0xc761('0x29');logger[_0xc761('0x26')](_0xc761('0x2a'));}else{GRAY_PERIOD_REASON=_0xc761('0x2b');oldToken=_0x4a7690[_0xc761('0x28')];logger[_0xc761('0x26')](_0xc761('0x2c'),_0x4a7690[_0xc761('0x28')],_0x2909ce);}sendJiraAlert(_0x4a7690['data1'],_0xb90fd8[_0xc761('0x2d')],GRAY_PERIOD_REASON);logger[_0xc761('0x26')]('%s\x20-\x20GRAY\x20PERIOD\x20STARTED\x20AT\x20%s',GRAY_PERIOD_REASON['toUpperCase'](),moment()[_0xc761('0xc')](_0xc761('0x2e')));return _0x34a45b[_0xc761('0x11')]({'data2':encryptDate(moment()['format']('YYYY-MM-DD\x20HH:mm'))});}else{if(moment()['diff'](decryptDate(_0x4a7690[_0xc761('0x24')]),_0xc761('0x2f'))>DAYS){logger[_0xc761('0x26')](_0xc761('0x30'),moment()['format'](_0xc761('0x2e')));return _0x34a45b['update']({'data1':_0x2909ce,'data2':null,'license':null});}}}else{if(_0x4a7690['data1']!=_0x2909ce){logger[_0xc761('0x26')](_0xc761('0x2c'),_0x4a7690[_0xc761('0x28')],_0x2909ce);return _0x34a45b['update']({'data1':_0x2909ce,'data2':null,'license':null});}}}return _0x34a45b;})[_0xc761('0xe')](function(_0x23156b){_0x34a45b=_0x23156b;})[_0xc761('0x31')](function(_0x504b11){logger[_0xc761('0x32')](_0x504b11[_0xc761('0x33')]);})[_0xc761('0x34')](function(){setTimeout(function(){manageLicense(hardware['getUuid'](),_0x34a45b);},TIME);});}function defaultLicense(){var _0x6becbf=hardware[_0xc761('0x35')]();if(_0x6becbf){return db['License'][_0xc761('0x36')]({'where':{'id':0x1},'defaults':{'data1':_0x6becbf}})['spread'](function(_0x4d521a,_0x12b715){logger[_0xc761('0x26')](_0xc761('0x37'),_0x6becbf);manageLicense(_0x6becbf,_0x4d521a);})[_0xc761('0x31')](function(_0x589155){logger['error'](_0x589155[_0xc761('0x33')]);});}}exports[_0xc761('0x38')]=defaultLicense; \ No newline at end of file +var _0x7fea=['final','update','utf8','findOne','admin','fullname','email','then','|reason|','|machineUuid|','|name|','|email|','ipAddress','Motion\x20License\x20Alert','Alert','get','active','data2','info','THE\x20LICENSE\x20HAS\x20BEEN\x20ENABLED','THE\x20LICENSE\x20HAS\x20BEEN\x20UPDATED','data1','THE\x20LICENSE\x20HAS\x20BEEN\x20DISABLED','Changed','NEW\x20UUID\x20DETECTED:\x20FROM\x20%s\x20TO\x20%s','uuid','%s\x20-\x20GRAY\x20PERIOD\x20STARTED\x20AT\x20%s','YYYY-MM-DD\x20HH:mm','diff','days','DEMO\x20START\x20AT\x20%s','catch','error','message','finally','getUuid','spread','SERVICE\x20LICENSE\x20STARTED\x20%s','default','crypto','bluebird','pkginfo','version','../../mysqldb','../environment','./hardware','license','../../api/jira/jira.controller','https://www.xcallymotion.com','format','%s/api/servers/%s/check?version=%s&oldtoken=%s','exports','GET','createCipher','aes-256-ctr','secrets','session','base64'];(function(_0x4a5f6c,_0x4f532e){var _0x281ffd=function(_0x4c68e3){while(--_0x4c68e3){_0x4a5f6c['push'](_0x4a5f6c['shift']());}};_0x281ffd(++_0x4f532e);}(_0x7fea,0x149));var _0xa7fe=function(_0x113738,_0x2fb80e){_0x113738=_0x113738-0x0;var _0x460721=_0x7fea[_0x113738];return _0x460721;};'use strict';var util=require('util');var crypto=require(_0xa7fe('0x0'));var moment=require('moment');var rp=require('request-promise');var BPromise=require(_0xa7fe('0x1'));var pkginfo=require(_0xa7fe('0x2'))(module,_0xa7fe('0x3'));var db=require(_0xa7fe('0x4'))['db'];var config=require(_0xa7fe('0x5'));var hardware=require(_0xa7fe('0x6'));var logger=require('../logger')(_0xa7fe('0x7'));var jira=require(_0xa7fe('0x8'));var HOST=_0xa7fe('0x9');var TIME=0x3c*0x1388;var DAYS=0x7;var GRAY_PERIOD_REASON;var ADMIN;var oldToken;function httpRequest(_0x1132f1){return new BPromise(function(_0x45f967,_0x3597b0){var _0x4668f0=util[_0xa7fe('0xa')]('%s/api/servers/%s/check?version=%s',HOST,_0x1132f1,module['exports'][_0xa7fe('0x3')]);if(oldToken){_0x4668f0=util[_0xa7fe('0xa')](_0xa7fe('0xb'),HOST,_0x1132f1,module[_0xa7fe('0xc')]['version'],oldToken);}var _0x2c5502={'uri':_0x4668f0,'method':_0xa7fe('0xd'),'timeout':0xea60,'json':!![]};return rp(_0x2c5502)['then'](function(_0x39898e){_0x45f967(_0x39898e);})['catch'](function(_0x3c44e9){_0x3597b0(_0x3c44e9);});});}function encryptDate(_0x5956e1){var _0x50a806=crypto[_0xa7fe('0xe')](_0xa7fe('0xf'),config[_0xa7fe('0x10')][_0xa7fe('0x11')]);var _0x47766e=_0x50a806['update'](_0x5956e1,'utf8',_0xa7fe('0x12'));_0x47766e+=_0x50a806[_0xa7fe('0x13')](_0xa7fe('0x12'));return _0x47766e;}function decryptDate(_0x43ae73){var _0x34490e=crypto['createDecipher'](_0xa7fe('0xf'),config[_0xa7fe('0x10')][_0xa7fe('0x11')]);var _0x253293=_0x34490e[_0xa7fe('0x14')](_0x43ae73,'base64',_0xa7fe('0x15'));_0x253293+=_0x34490e[_0xa7fe('0x13')](_0xa7fe('0x15'));return _0x253293;}function sendJiraAlert(_0x2ef53c,_0x179b9e,_0x18261c){var _0x4f1951='||FIELD||VALUE||\x0a';return db['User'][_0xa7fe('0x16')]({'where':{'role':_0xa7fe('0x17')},'attributes':[_0xa7fe('0x18'),_0xa7fe('0x19')],'raw':!![]})[_0xa7fe('0x1a')](function(_0x43feee){ADMIN=_0x43feee;_0x4f1951+=_0xa7fe('0x1b')+_0x18261c+'|\x0a';_0x4f1951+='|uuid|'+_0x2ef53c+'|\x0a';_0x4f1951+=_0xa7fe('0x1c')+_0x179b9e+'|\x0a';_0x4f1951+=_0xa7fe('0x1d')+ADMIN[_0xa7fe('0x18')]+'|\x0a';_0x4f1951+=_0xa7fe('0x1e')+ADMIN[_0xa7fe('0x19')]+'|\x0a';return _0x4f1951;})[_0xa7fe('0x1a')](function(_0x2bc7fd){var _0x1043bf=hardware['getFirstInterface']()[_0xa7fe('0x1f')];return jira['openIssue']({'key':'MOTLICENSE','summary':_0xa7fe('0x20'),'description':_0x2bc7fd,'issuetype':_0xa7fe('0x21'),'oldToken':_0x2ef53c,'newToken':_0x179b9e,'email':ADMIN[_0xa7fe('0x19')],'name':ADMIN[_0xa7fe('0x18')],'reason':GRAY_PERIOD_REASON,'ip':_0x1043bf});});}function manageLicense(_0x46c807,_0x5d3b9d){var _0x31cff9=_0x5d3b9d[_0xa7fe('0x22')]({'plain':!![]});httpRequest(_0x46c807)[_0xa7fe('0x1a')](function(_0x3e9b74){if(oldToken){oldToken=undefined;}if(_0x3e9b74[_0xa7fe('0x23')]){if(!_0x31cff9[_0xa7fe('0x7')]&&_0x31cff9[_0xa7fe('0x7')]!=_0x3e9b74[_0xa7fe('0x7')]||_0x31cff9[_0xa7fe('0x7')]&&_0x31cff9[_0xa7fe('0x24')]){logger[_0xa7fe('0x25')](_0xa7fe('0x26'));}if(_0x31cff9[_0xa7fe('0x7')]&&!_0x31cff9[_0xa7fe('0x24')]&&_0x31cff9[_0xa7fe('0x7')]!=_0x3e9b74[_0xa7fe('0x7')]){logger[_0xa7fe('0x25')](_0xa7fe('0x27'));}if(_0x31cff9[_0xa7fe('0x7')]&&!_0x31cff9[_0xa7fe('0x24')]&&_0x31cff9['license']==_0x3e9b74[_0xa7fe('0x7')]){return _0x5d3b9d;}return _0x5d3b9d[_0xa7fe('0x14')]({'data1':_0x46c807,'data2':null,'license':_0x3e9b74['license']});}else{if(_0x3e9b74['license']||_0x31cff9['license']){if(!_0x31cff9[_0xa7fe('0x24')]){if(_0x31cff9[_0xa7fe('0x28')]==_0x46c807){GRAY_PERIOD_REASON='Disabled';logger[_0xa7fe('0x25')](_0xa7fe('0x29'));}else{GRAY_PERIOD_REASON=_0xa7fe('0x2a');oldToken=_0x31cff9[_0xa7fe('0x28')];logger[_0xa7fe('0x25')](_0xa7fe('0x2b'),_0x31cff9[_0xa7fe('0x28')],_0x46c807);}sendJiraAlert(_0x31cff9[_0xa7fe('0x28')],_0x3e9b74[_0xa7fe('0x2c')],GRAY_PERIOD_REASON);logger['info'](_0xa7fe('0x2d'),GRAY_PERIOD_REASON['toUpperCase'](),moment()[_0xa7fe('0xa')](_0xa7fe('0x2e')));return _0x5d3b9d[_0xa7fe('0x14')]({'data2':encryptDate(moment()['format'](_0xa7fe('0x2e')))});}else{if(moment()[_0xa7fe('0x2f')](decryptDate(_0x31cff9[_0xa7fe('0x24')]),_0xa7fe('0x30'))>DAYS){logger['info'](_0xa7fe('0x31'),moment()[_0xa7fe('0xa')]('YYYY-MM-DD\x20HH:mm'));return _0x5d3b9d[_0xa7fe('0x14')]({'data1':_0x46c807,'data2':null,'license':null});}}}else{if(_0x31cff9[_0xa7fe('0x28')]!=_0x46c807){logger[_0xa7fe('0x25')](_0xa7fe('0x2b'),_0x31cff9[_0xa7fe('0x28')],_0x46c807);return _0x5d3b9d[_0xa7fe('0x14')]({'data1':_0x46c807,'data2':null,'license':null});}}}return _0x5d3b9d;})[_0xa7fe('0x1a')](function(_0x3fccf2){_0x5d3b9d=_0x3fccf2;})[_0xa7fe('0x32')](function(_0x471338){logger[_0xa7fe('0x33')](_0x471338[_0xa7fe('0x34')]);})[_0xa7fe('0x35')](function(){setTimeout(function(){manageLicense(hardware[_0xa7fe('0x36')](),_0x5d3b9d);},TIME);});}function defaultLicense(){var _0x2a7211=hardware[_0xa7fe('0x36')]();if(_0x2a7211){return db['License']['findOrCreate']({'where':{'id':0x1},'defaults':{'data1':_0x2a7211}})[_0xa7fe('0x37')](function(_0x4e5116,_0x5e8ed3){logger[_0xa7fe('0x25')](_0xa7fe('0x38'),_0x2a7211);manageLicense(_0x2a7211,_0x4e5116);})['catch'](function(_0x25a5b2){logger[_0xa7fe('0x33')](_0x25a5b2[_0xa7fe('0x34')]);});}}exports[_0xa7fe('0x39')]=defaultLicense; \ No newline at end of file diff --git a/server/config/license/util.js b/server/config/license/util.js index 35f2154..beaa1ad 100644 --- a/server/config/license/util.js +++ b/server/config/license/util.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xbe97=['Demo\x20license','getLicense','find','defaults','then','checkLicense','crypto','moment','./hardware','../environment','../../mysqldb','license','License\x20key\x20value\x20not\x20found','data1','data2','split','createDecipher','aes-256-ctr','%s:%s:%s','update','base64','utf8','final','parse','uuid','getUuid','session','gray','deadline','days','grayReason','2027-01-01T00:00:00.000Z','Breaking\x20license','message'];(function(_0x440064,_0x13f5f8){var _0x385d01=function(_0x37c647){while(--_0x37c647){_0x440064['push'](_0x440064['shift']());}};_0x385d01(++_0x13f5f8);}(_0xbe97,0x8e));var _0x7be9=function(_0x3087c4,_0x5ea296){_0x3087c4=_0x3087c4-0x0;var _0x587720=_0xbe97[_0x3087c4];return _0x587720;};'use strict';var crypto=require(_0x7be9('0x0'));var util=require('util');var _=require('lodash');var moment=require(_0x7be9('0x1'));var hardware=require(_0x7be9('0x2'));var config=require(_0x7be9('0x3'));var db=require(_0x7be9('0x4'))['db'];function checkLicense(_0x4fcaf8,_0x3c86d3){if(_0x4fcaf8){try{var _0x1fdedb=_0x3c86d3||_0x4fcaf8[_0x7be9('0x5')];if(_['isEmpty'](_0x1fdedb)){throw new Error(_0x7be9('0x6'));}var _0x1b9468=_0x4fcaf8[_0x7be9('0x7')];var _0x11fe17=_0x4fcaf8[_0x7be9('0x8')];var _0x6ac0fd=_0x1b9468[_0x7be9('0x9')]('-')[0x4];var _0x4b6dba=_0x1b9468[_0x7be9('0x9')]('-')[0x0];var _0x1b9220=crypto[_0x7be9('0xa')](_0x7be9('0xb'),util['format'](_0x7be9('0xc'),_0x6ac0fd,_0x1b9468,_0x4b6dba));var _0x5cbbef=_0x1b9220[_0x7be9('0xd')](_0x1fdedb,_0x7be9('0xe'),_0x7be9('0xf'));_0x5cbbef+=_0x1b9220[_0x7be9('0x10')](_0x7be9('0xf'));var _0x518b3f=JSON[_0x7be9('0x11')](_0x5cbbef);_0x518b3f['demo']=![];_0x518b3f[_0x7be9('0x12')]=_0x1b9468;_0x518b3f['machineUuid']=hardware[_0x7be9('0x13')]();if(_0x11fe17){var _0x5014bc=crypto[_0x7be9('0xa')](_0x7be9('0xb'),config['secrets'][_0x7be9('0x14')]);var _0x45fa96=_0x5014bc[_0x7be9('0xd')](_0x11fe17,'base64',_0x7be9('0xf'));_0x45fa96+=_0x5014bc['final'](_0x7be9('0xf'));_0x518b3f[_0x7be9('0x15')]=_0x45fa96;_0x518b3f[_0x7be9('0x16')]=moment(_0x45fa96)['add'](0x7,_0x7be9('0x17'))['format']();_0x518b3f[_0x7be9('0x18')]=_0x518b3f[_0x7be9('0x12')]!=_0x518b3f['machineUuid']?'changed':'disabled';}return _0x518b3f;}catch(_0x54bb93){return{'breaking':!![],'demo':!![],'agents':0x2,'telephones':0x0,'users':0x1,'expiration':_0x7be9('0x19'),'chat':![],'mail':![],'fax':![],'messaging':![],'whatsapp':![],'cm':![],'dialer':![],'jscripty':![],'openchannel':![],'callysquare':0x2,'webrtc':![],'jaws':![],'custom':![],'update':![],'description':_0x7be9('0x1a'),'uuid':_0x4fcaf8[_0x7be9('0x7')],'machineUuid':hardware[_0x7be9('0x13')](),'message':_0x54bb93[_0x7be9('0x1b')],'virtual':0x0,'voice':!![],'screenrecording':![],'preferred':![],'ai':![]};}}return{'demo':!![],'agents':0x2,'telephones':0x0,'users':0x1,'expiration':'2027-01-01T00:00:00.000Z','chat':![],'mail':![],'fax':![],'messaging':![],'whatsapp':![],'cm':![],'dialer':![],'jscripty':![],'openchannel':![],'callysquare':0x2,'webrtc':![],'jaws':![],'custom':![],'description':_0x7be9('0x1c'),'uuid':_0x4fcaf8[_0x7be9('0x7')],'machineUuid':hardware['getUuid'](),'virtual':0x0,'voice':!![],'screenrecording':![],'preferred':![],'ai':![]};}exports[_0x7be9('0x1d')]=function(_0x4ba464){return db['License'][_0x7be9('0x1e')](_[_0x7be9('0x1f')](_0x4ba464,{'raw':!![],'where':{'id':0x1}}))[_0x7be9('0x20')](function(_0x28810c){return checkLicense(_0x28810c,null);});};exports[_0x7be9('0x21')]=checkLicense; \ No newline at end of file +var _0xb1bd=['isEmpty','License\x20key\x20value\x20not\x20found','data2','split','createDecipher','aes-256-ctr','format','%s:%s:%s','update','base64','parse','demo','uuid','getUuid','session','utf8','final','gray','deadline','days','machineUuid','changed','disabled','2027-01-01T00:00:00.000Z','Breaking\x20license','message','data1','getLicense','License','find','defaults','then','checkLicense','crypto','moment','../environment','../../mysqldb','license'];(function(_0x366e90,_0x564fe8){var _0x2a4aea=function(_0x57bbbe){while(--_0x57bbbe){_0x366e90['push'](_0x366e90['shift']());}};_0x2a4aea(++_0x564fe8);}(_0xb1bd,0x105));var _0xdb1b=function(_0x391ee2,_0x3eceef){_0x391ee2=_0x391ee2-0x0;var _0x1f5b63=_0xb1bd[_0x391ee2];return _0x1f5b63;};'use strict';var crypto=require(_0xdb1b('0x0'));var util=require('util');var _=require('lodash');var moment=require(_0xdb1b('0x1'));var hardware=require('./hardware');var config=require(_0xdb1b('0x2'));var db=require(_0xdb1b('0x3'))['db'];function checkLicense(_0x129914,_0x377432){if(_0x129914){try{var _0x123fc6=_0x377432||_0x129914[_0xdb1b('0x4')];if(_[_0xdb1b('0x5')](_0x123fc6)){throw new Error(_0xdb1b('0x6'));}var _0x245d1c=_0x129914['data1'];var _0x85108=_0x129914[_0xdb1b('0x7')];var _0x4dc1b0=_0x245d1c[_0xdb1b('0x8')]('-')[0x4];var _0x473fc=_0x245d1c['split']('-')[0x0];var _0x9318fe=crypto[_0xdb1b('0x9')](_0xdb1b('0xa'),util[_0xdb1b('0xb')](_0xdb1b('0xc'),_0x4dc1b0,_0x245d1c,_0x473fc));var _0x402e32=_0x9318fe[_0xdb1b('0xd')](_0x123fc6,_0xdb1b('0xe'),'utf8');_0x402e32+=_0x9318fe['final']('utf8');var _0x2ff9da=JSON[_0xdb1b('0xf')](_0x402e32);_0x2ff9da[_0xdb1b('0x10')]=![];_0x2ff9da[_0xdb1b('0x11')]=_0x245d1c;_0x2ff9da['machineUuid']=hardware[_0xdb1b('0x12')]();if(_0x85108){var _0x42fa5e=crypto[_0xdb1b('0x9')](_0xdb1b('0xa'),config['secrets'][_0xdb1b('0x13')]);var _0x3f8713=_0x42fa5e[_0xdb1b('0xd')](_0x85108,_0xdb1b('0xe'),_0xdb1b('0x14'));_0x3f8713+=_0x42fa5e[_0xdb1b('0x15')](_0xdb1b('0x14'));_0x2ff9da[_0xdb1b('0x16')]=_0x3f8713;_0x2ff9da[_0xdb1b('0x17')]=moment(_0x3f8713)['add'](0x7,_0xdb1b('0x18'))[_0xdb1b('0xb')]();_0x2ff9da['grayReason']=_0x2ff9da['uuid']!=_0x2ff9da[_0xdb1b('0x19')]?_0xdb1b('0x1a'):_0xdb1b('0x1b');}return _0x2ff9da;}catch(_0x1ecb87){return{'breaking':!![],'demo':!![],'agents':0x2,'telephones':0x0,'users':0x1,'expiration':_0xdb1b('0x1c'),'chat':![],'mail':![],'fax':![],'messaging':![],'whatsapp':![],'cm':![],'dialer':![],'jscripty':![],'openchannel':![],'callysquare':0x2,'webrtc':![],'jaws':![],'custom':![],'update':![],'description':_0xdb1b('0x1d'),'uuid':_0x129914['data1'],'machineUuid':hardware['getUuid'](),'message':_0x1ecb87[_0xdb1b('0x1e')],'virtual':0x0,'voice':!![],'screenrecording':![],'preferred':![],'ai':![]};}}return{'demo':!![],'agents':0x2,'telephones':0x0,'users':0x1,'expiration':_0xdb1b('0x1c'),'chat':![],'mail':![],'fax':![],'messaging':![],'whatsapp':![],'cm':![],'dialer':![],'jscripty':![],'openchannel':![],'callysquare':0x2,'webrtc':![],'jaws':![],'custom':![],'description':'Demo\x20license','uuid':_0x129914[_0xdb1b('0x1f')],'machineUuid':hardware[_0xdb1b('0x12')](),'virtual':0x0,'voice':!![],'screenrecording':![],'preferred':![],'ai':![]};}exports[_0xdb1b('0x20')]=function(_0x3c4880){return db[_0xdb1b('0x21')][_0xdb1b('0x22')](_[_0xdb1b('0x23')](_0x3c4880,{'raw':!![],'where':{'id':0x1}}))[_0xdb1b('0x24')](function(_0x246782){return checkLicense(_0x246782,null);});};exports[_0xdb1b('0x25')]=checkLicense; \ No newline at end of file diff --git a/server/config/local.env.js b/server/config/local.env.js index 9226ef1..bdaba88 100644 --- a/server/config/local.env.js +++ b/server/config/local.env.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x489d=['http://localhost:9000','myappanuglar-secret','secret','exports'];(function(_0x11105b,_0x150439){var _0x3fa5df=function(_0x33e2c9){while(--_0x33e2c9){_0x11105b['push'](_0x11105b['shift']());}};_0x3fa5df(++_0x150439);}(_0x489d,0x127));var _0xd489=function(_0x57f633,_0x5e4ad4){_0x57f633=_0x57f633-0x0;var _0x52efa4=_0x489d[_0x57f633];return _0x52efa4;};'use strict';module[_0xd489('0x0')]={'DOMAIN':_0xd489('0x1'),'SESSION_SECRET':_0xd489('0x2'),'GOOGLE_ID':'app-id','GOOGLE_SECRET':_0xd489('0x3'),'DEBUG':''}; \ No newline at end of file +var _0x62ef=['exports','http://localhost:9000','myappanuglar-secret','secret'];(function(_0x314869,_0x542544){var _0xa4e398=function(_0x3832d8){while(--_0x3832d8){_0x314869['push'](_0x314869['shift']());}};_0xa4e398(++_0x542544);}(_0x62ef,0xd0));var _0xf62e=function(_0x25a972,_0x5d2fcd){_0x25a972=_0x25a972-0x0;var _0x24ad56=_0x62ef[_0x25a972];return _0x24ad56;};'use strict';module[_0xf62e('0x0')]={'DOMAIN':_0xf62e('0x1'),'SESSION_SECRET':_0xf62e('0x2'),'GOOGLE_ID':'app-id','GOOGLE_SECRET':_0xf62e('0x3'),'DEBUG':''}; \ No newline at end of file diff --git a/server/config/logger.js b/server/config/logger.js index 8e280b9..fa2fcb5 100644 --- a/server/config/logger.js +++ b/server/config/logger.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xc52c=['format','%s-%s.log','[%s]\x20[%s]\x20%s\x20-\x20%s','YYYY-MM-DD\x20HH:mm:ss','toUpperCase','message','exports','Logger','File','%s-%s','error','transports','info','Console','env','debugLevel','moment','winston','util','path','INFO','join','/var','log'];(function(_0x304273,_0x54bffe){var _0x4f14f6=function(_0xce9630){while(--_0xce9630){_0x304273['push'](_0x304273['shift']());}};_0x4f14f6(++_0x54bffe);}(_0xc52c,0xd0));var _0xcc52=function(_0x1d69e5,_0x2a29af){_0x1d69e5=_0x1d69e5-0x0;var _0x17da11=_0xc52c[_0x1d69e5];return _0x17da11;};'use strict';var moment=require(_0xcc52('0x0'));var winston=require(_0xcc52('0x1'));var util=require(_0xcc52('0x2'));var path=require(_0xcc52('0x3'));var debugLevel=_0xcc52('0x4');function filename(_0x5b55d7,_0x58f1c9){return path[_0xcc52('0x5')](_0xcc52('0x6'),_0xcc52('0x7'),'xcally',util[_0xcc52('0x8')](_0xcc52('0x9'),_0x5b55d7,_0x58f1c9));}function formatter(_0x3b1824,_0x38ad10){return util[_0xcc52('0x8')](_0xcc52('0xa'),moment()[_0xcc52('0x8')](_0xcc52('0xb')),_0x38ad10['level'][_0xcc52('0xc')](),_0x3b1824,_0x38ad10[_0xcc52('0xd')]);}module[_0xcc52('0xe')]=function(_0x327966){return new winston[(_0xcc52('0xf'))]({'transports':[new winston['transports'][(_0xcc52('0x10'))]({'name':util[_0xcc52('0x8')](_0xcc52('0x11'),_0x327966,'error'),'filename':filename(_0x327966,'error'),'level':_0xcc52('0x12'),'json':![],'maxsize':0xa00000,'maxFiles':0xa,'tailable':!![],'formatter':function(_0x24f02f){return formatter(_0x327966,_0x24f02f);}}),new winston[(_0xcc52('0x13'))]['File']({'name':util[_0xcc52('0x8')](_0xcc52('0x11'),_0x327966,_0xcc52('0x14')),'filename':filename(_0x327966,_0xcc52('0x14')),'level':_0xcc52('0x14'),'json':![],'maxsize':0xa00000,'maxFiles':0xa,'tailable':!![],'formatter':function(_0x129e9a){return formatter(_0x327966,_0x129e9a);}}),new winston[(_0xcc52('0x13'))][(_0xcc52('0x15'))]({'level':process[_0xcc52('0x16')][_0xcc52('0x17')]||debugLevel,'json':![],'formatter':function(_0x266ea0){return formatter(_0x327966,_0x266ea0);}})]});}; \ No newline at end of file +var _0xb29c=['File','%s-%s','error','info','Console','debugLevel','winston','util','/var','log','xcally','format','%s-%s.log','[%s]\x20[%s]\x20%s\x20-\x20%s','level','toUpperCase','message','exports','Logger','transports'];(function(_0x5cb905,_0x40bb11){var _0x26b680=function(_0x5c1fd7){while(--_0x5c1fd7){_0x5cb905['push'](_0x5cb905['shift']());}};_0x26b680(++_0x40bb11);}(_0xb29c,0x16e));var _0xcb29=function(_0x33a89d,_0xed52ed){_0x33a89d=_0x33a89d-0x0;var _0x175025=_0xb29c[_0x33a89d];return _0x175025;};'use strict';var moment=require('moment');var winston=require(_0xcb29('0x0'));var util=require(_0xcb29('0x1'));var path=require('path');var debugLevel='INFO';function filename(_0x22adb2,_0x4e913c){return path['join'](_0xcb29('0x2'),_0xcb29('0x3'),_0xcb29('0x4'),util[_0xcb29('0x5')](_0xcb29('0x6'),_0x22adb2,_0x4e913c));}function formatter(_0x5d2ef7,_0x249c39){return util[_0xcb29('0x5')](_0xcb29('0x7'),moment()[_0xcb29('0x5')]('YYYY-MM-DD\x20HH:mm:ss'),_0x249c39[_0xcb29('0x8')][_0xcb29('0x9')](),_0x5d2ef7,_0x249c39[_0xcb29('0xa')]);}module[_0xcb29('0xb')]=function(_0x1bc8dc){return new winston[(_0xcb29('0xc'))]({'transports':[new winston[(_0xcb29('0xd'))][(_0xcb29('0xe'))]({'name':util[_0xcb29('0x5')](_0xcb29('0xf'),_0x1bc8dc,_0xcb29('0x10')),'filename':filename(_0x1bc8dc,_0xcb29('0x10')),'level':_0xcb29('0x10'),'json':![],'maxsize':0xa00000,'maxFiles':0xa,'tailable':!![],'formatter':function(_0x229ce1){return formatter(_0x1bc8dc,_0x229ce1);}}),new winston[(_0xcb29('0xd'))]['File']({'name':util['format'](_0xcb29('0xf'),_0x1bc8dc,_0xcb29('0x11')),'filename':filename(_0x1bc8dc,_0xcb29('0x11')),'level':_0xcb29('0x11'),'json':![],'maxsize':0xa00000,'maxFiles':0xa,'tailable':!![],'formatter':function(_0x138625){return formatter(_0x1bc8dc,_0x138625);}}),new winston['transports'][(_0xcb29('0x12'))]({'level':process['env'][_0xcb29('0x13')]||debugLevel,'json':![],'formatter':function(_0x1c60f7){return formatter(_0x1bc8dc,_0x1c60f7);}})]});}; \ No newline at end of file diff --git a/server/config/pm2/config.js b/server/config/pm2/config.js index be992cf..e53e791 100644 --- a/server/config/pm2/config.js +++ b/server/config/pm2/config.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x2d70=['xdr','../../services/xdr/index.js','path','join','../../services/express/index.js','ami','../../services/ami/index.js','agi','../../services/agi/index.js','email','../../services/email/index.js','routing','../../services/routing/index.js'];(function(_0x313df3,_0x4fca45){var _0x241d59=function(_0x452786){while(--_0x452786){_0x313df3['push'](_0x313df3['shift']());}};_0x241d59(++_0x4fca45);}(_0x2d70,0xd2));var _0x02d7=function(_0x8ba19a,_0x1d2b2b){_0x8ba19a=_0x8ba19a-0x0;var _0x2bd8b4=_0x2d70[_0x8ba19a];return _0x2bd8b4;};'use strict';var path=require(_0x02d7('0x0'));var os=require('os');var config={'apps':[{'name':'express','script':path[_0x02d7('0x1')](__dirname,_0x02d7('0x2'))},{'name':_0x02d7('0x3'),'script':path['join'](__dirname,_0x02d7('0x4'))},{'name':_0x02d7('0x5'),'script':path[_0x02d7('0x1')](__dirname,_0x02d7('0x6'))},{'name':_0x02d7('0x7'),'script':path[_0x02d7('0x1')](__dirname,_0x02d7('0x8'))},{'name':_0x02d7('0x9'),'script':path[_0x02d7('0x1')](__dirname,_0x02d7('0xa'))},{'name':_0x02d7('0xb'),'script':path[_0x02d7('0x1')](__dirname,_0x02d7('0xc'))}]};module['exports']=config; \ No newline at end of file +var _0x7024=['../../services/email/index.js','xdr','exports','path','express','join','../../services/ami/index.js','agi','../../services/agi/index.js','email'];(function(_0x565c49,_0x54acd0){var _0x20ca34=function(_0x42f7e1){while(--_0x42f7e1){_0x565c49['push'](_0x565c49['shift']());}};_0x20ca34(++_0x54acd0);}(_0x7024,0x139));var _0x4702=function(_0x539498,_0x317f08){_0x539498=_0x539498-0x0;var _0x4e1c2b=_0x7024[_0x539498];return _0x4e1c2b;};'use strict';var path=require(_0x4702('0x0'));var os=require('os');var config={'apps':[{'name':_0x4702('0x1'),'script':path[_0x4702('0x2')](__dirname,'../../services/express/index.js')},{'name':'ami','script':path[_0x4702('0x2')](__dirname,_0x4702('0x3'))},{'name':_0x4702('0x4'),'script':path[_0x4702('0x2')](__dirname,_0x4702('0x5'))},{'name':_0x4702('0x6'),'script':path[_0x4702('0x2')](__dirname,_0x4702('0x7'))},{'name':'routing','script':path[_0x4702('0x2')](__dirname,'../../services/routing/index.js')},{'name':_0x4702('0x8'),'script':path[_0x4702('0x2')](__dirname,'../../services/xdr/index.js')}]};module[_0x4702('0x9')]=config; \ No newline at end of file diff --git a/server/config/pm2/index.js b/server/config/pm2/index.js index 36d499c..26ce0da 100644 --- a/server/config/pm2/index.js +++ b/server/config/pm2/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xbe3b=['start','disconnect','stop','restart','list','describe','delete','dump','saved','bluebird','./config','connected','then'];(function(_0x22d570,_0x4c7aec){var _0x533ddc=function(_0x53faec){while(--_0x53faec){_0x22d570['push'](_0x22d570['shift']());}};_0x533ddc(++_0x4c7aec);}(_0xbe3b,0x19c));var _0xbbe3=function(_0x155eb8,_0x5aca30){_0x155eb8=_0x155eb8-0x0;var _0x159589=_0xbe3b[_0x155eb8];return _0x159589;};'use strict';var pm2=require('pm2');var BPromise=require(_0xbbe3('0x0'));var config=require(_0xbbe3('0x1'));function connect(){return new BPromise(function(_0x48ba3c,_0x364f65){return pm2['connect'](function(_0x5bfd65){if(_0x5bfd65){return _0x364f65(_0x5bfd65);}return _0x48ba3c(_0xbbe3('0x2'));});});};exports['start']=function(_0x5d74ec){return connect()[_0xbbe3('0x3')](function(){return new BPromise(function(_0x328b10,_0x257eb0){return pm2[_0xbbe3('0x4')](_0x5d74ec,function(_0x4c6976,_0x9bd4a9){if(_0x4c6976){return _0x257eb0(_0x4c6976);}pm2[_0xbbe3('0x5')]();return _0x328b10(_0x9bd4a9);});});});};exports[_0xbbe3('0x6')]=function(_0x3c0c43){return connect()[_0xbbe3('0x3')](function(){return new BPromise(function(_0x492173,_0x1ff205){return pm2[_0xbbe3('0x6')](_0x3c0c43,function(_0x2be6e4,_0x2cb1f1){if(_0x2be6e4){return _0x1ff205(_0x2be6e4);}pm2[_0xbbe3('0x5')]();return _0x492173(_0x2cb1f1);});});});};exports[_0xbbe3('0x7')]=function(_0x3205b8){return connect()[_0xbbe3('0x3')](function(){return new BPromise(function(_0x4ff398,_0x2ac83){return pm2[_0xbbe3('0x7')](_0x3205b8,function(_0x2adb77,_0x464538){if(_0x2adb77){return _0x2ac83(_0x2adb77);}pm2['disconnect']();return _0x4ff398(_0x464538);});});});};exports['list']=function(){return connect()[_0xbbe3('0x3')](function(){return new BPromise(function(_0x27c5a9,_0x10ee4b){return pm2[_0xbbe3('0x8')](function(_0x1e1552,_0x2df26d){if(_0x1e1552){return _0x10ee4b(_0x1e1552);}pm2['disconnect']();return _0x27c5a9(_0x2df26d);});});});};exports[_0xbbe3('0x9')]=function(_0x5ba69a){return connect()[_0xbbe3('0x3')](function(){return new BPromise(function(_0x12a90c,_0x46c91b){return pm2[_0xbbe3('0x9')](_0x5ba69a,function(_0x1bea70,_0x2af60d){if(_0x1bea70){return _0x46c91b(_0x1bea70);}pm2[_0xbbe3('0x5')]();return _0x12a90c(_0x2af60d);});});});};exports[_0xbbe3('0xa')]=function(_0x1e98eb){return connect()[_0xbbe3('0x3')](function(){return new BPromise(function(_0x445b23,_0x3de02e){return pm2['delete'](_0x1e98eb,function(_0x546d6b,_0x4aebd6){if(_0x546d6b){return _0x3de02e(_0x546d6b);}pm2[_0xbbe3('0x5')]();return _0x445b23(_0x4aebd6);});});});};exports[_0xbbe3('0xb')]=function(){return connect()[_0xbbe3('0x3')](function(){return new BPromise(function(_0x3201e8,_0x42c84f){return pm2['dump'](function(_0x25f694){if(_0x25f694){return _0x42c84f(_0x25f694);}return _0x3201e8(_0xbbe3('0xc'));});});});}; \ No newline at end of file +var _0xef7c=['connect','connected','start','then','disconnect','stop','restart','list','describe','pm2','bluebird','./config'];(function(_0x5e9913,_0x4552cc){var _0x4ac3f2=function(_0x4cdfcb){while(--_0x4cdfcb){_0x5e9913['push'](_0x5e9913['shift']());}};_0x4ac3f2(++_0x4552cc);}(_0xef7c,0xa5));var _0xcef7=function(_0x199844,_0x2c9f70){_0x199844=_0x199844-0x0;var _0x317949=_0xef7c[_0x199844];return _0x317949;};'use strict';var pm2=require(_0xcef7('0x0'));var BPromise=require(_0xcef7('0x1'));var config=require(_0xcef7('0x2'));function connect(){return new BPromise(function(_0x25771a,_0x2fef4a){return pm2[_0xcef7('0x3')](function(_0x24ed03){if(_0x24ed03){return _0x2fef4a(_0x24ed03);}return _0x25771a(_0xcef7('0x4'));});});};exports[_0xcef7('0x5')]=function(_0x11d6f9){return connect()[_0xcef7('0x6')](function(){return new BPromise(function(_0x13e488,_0x5c13d8){return pm2[_0xcef7('0x5')](_0x11d6f9,function(_0x52be97,_0x1fd18f){if(_0x52be97){return _0x5c13d8(_0x52be97);}pm2[_0xcef7('0x7')]();return _0x13e488(_0x1fd18f);});});});};exports['stop']=function(_0x52d4d7){return connect()[_0xcef7('0x6')](function(){return new BPromise(function(_0x11fcef,_0x1a1d34){return pm2[_0xcef7('0x8')](_0x52d4d7,function(_0x580adc,_0x526b2c){if(_0x580adc){return _0x1a1d34(_0x580adc);}pm2[_0xcef7('0x7')]();return _0x11fcef(_0x526b2c);});});});};exports[_0xcef7('0x9')]=function(_0x1794d1){return connect()[_0xcef7('0x6')](function(){return new BPromise(function(_0x4e2a46,_0x4524ea){return pm2[_0xcef7('0x9')](_0x1794d1,function(_0x1de5b8,_0x3260d3){if(_0x1de5b8){return _0x4524ea(_0x1de5b8);}pm2[_0xcef7('0x7')]();return _0x4e2a46(_0x3260d3);});});});};exports[_0xcef7('0xa')]=function(){return connect()['then'](function(){return new BPromise(function(_0x5a45bd,_0x2b1e65){return pm2['list'](function(_0x12dd5d,_0x3ba156){if(_0x12dd5d){return _0x2b1e65(_0x12dd5d);}pm2[_0xcef7('0x7')]();return _0x5a45bd(_0x3ba156);});});});};exports[_0xcef7('0xb')]=function(_0x2947b8){return connect()[_0xcef7('0x6')](function(){return new BPromise(function(_0x1e38aa,_0x54098d){return pm2[_0xcef7('0xb')](_0x2947b8,function(_0x999929,_0x4336d1){if(_0x999929){return _0x54098d(_0x999929);}pm2[_0xcef7('0x7')]();return _0x1e38aa(_0x4336d1);});});});};exports['delete']=function(_0x395985){return connect()[_0xcef7('0x6')](function(){return new BPromise(function(_0x1d690e,_0x2e9fc8){return pm2['delete'](_0x395985,function(_0x3b7005,_0x29adfb){if(_0x3b7005){return _0x2e9fc8(_0x3b7005);}pm2[_0xcef7('0x7')]();return _0x1d690e(_0x29adfb);});});});};exports['dump']=function(){return connect()[_0xcef7('0x6')](function(){return new BPromise(function(_0x59fea6,_0x565fab){return pm2['dump'](function(_0xdb9ed7){if(_0xdb9ed7){return _0x565fab(_0xdb9ed7);}return _0x59fea6('saved');});});});}; \ No newline at end of file diff --git a/server/config/schedule/chat.js b/server/config/schedule/chat.js index e6f64a2..21a94da 100644 --- a/server/config/schedule/chat.js +++ b/server/config/schedule/chat.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xa50c=['find','ChatInteraction','findAll','lastMsgAt','minutes','then','system','timeout','format','YYYY-MM-DD\x20HH:mm:ss','map','length','chatInteraction:update','error','start','lodash','moment','ioredis','defaults','localhost','socket.io-emitter','redis','Setting'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0xa50c,0x1ad));var _0xca50=function(_0x457ad6,_0x40c3b3){_0x457ad6=_0x457ad6-0x0;var _0x6df1ed=_0xa50c[_0x457ad6];return _0x6df1ed;};'use strict';var _=require(_0xca50('0x0'));var moment=require(_0xca50('0x1'));var Redis=require(_0xca50('0x2'));var db=require('../../mysqldb')['db'];var config=require('../../config/environment');config['redis']=_[_0xca50('0x3')](config['redis'],{'host':_0xca50('0x4'),'port':0x18eb});var io=require(_0xca50('0x5'))(new Redis(config[_0xca50('0x6')]));function closeInteractions(){var _0x5bceee=0x0;var _0x2b734d=[];return db[_0xca50('0x7')][_0xca50('0x8')]({'raw':!![],'attributes':['id','chatTimeout'],'where':{'id':0x1}})['then'](function(_0x19fb58){_0x5bceee=_0x19fb58['chatTimeout'];if(_0x5bceee){return db[_0xca50('0x9')][_0xca50('0xa')]({'raw':!![],'attributes':['id',_0xca50('0xb')],'where':{'closed':![],'lastMsgAt':{'$lt':moment()['subtract'](_0x19fb58['chatTimeout'],_0xca50('0xc'))}}});}else{return[];}})[_0xca50('0xd')](function(_0x22421c){_0x2b734d=_0x22421c;if(_0x5bceee){return db['ChatInteraction']['update']({'closeReason':_0xca50('0xe'),'disposition':_0xca50('0xf'),'closed':!![],'closedAt':moment()[_0xca50('0x10')](_0xca50('0x11'))},{'where':{'id':_[_0xca50('0x12')](_0x2b734d||[],'id')}});}})['then'](function(_0x2f9d5c){for(var _0xaaff08=0x0;_0xaaff08<_0x2b734d[_0xca50('0x13')];_0xaaff08++){io['emit'](_0xca50('0x14'),{'id':_0x2b734d[_0xaaff08]['id'],'closed':!![]});}})['catch'](function(_0x543541){console[_0xca50('0x15')](_0x543541);});}exports[_0xca50('0x16')]=function(){setInterval(function(){return closeInteractions();},0x3c*0x3e8);return closeInteractions();}; \ No newline at end of file +var _0x26ed=['format','YYYY-MM-DD\x20HH:mm:ss','map','length','emit','catch','error','start','lodash','ioredis','../../mysqldb','../../config/environment','redis','defaults','localhost','Setting','find','chatTimeout','then','ChatInteraction','lastMsgAt','system','timeout'];(function(_0x3e69ae,_0x366e8d){var _0x3d7f42=function(_0x5df093){while(--_0x5df093){_0x3e69ae['push'](_0x3e69ae['shift']());}};_0x3d7f42(++_0x366e8d);}(_0x26ed,0xd7));var _0xd26e=function(_0x519756,_0x288785){_0x519756=_0x519756-0x0;var _0x37047e=_0x26ed[_0x519756];return _0x37047e;};'use strict';var _=require(_0xd26e('0x0'));var moment=require('moment');var Redis=require(_0xd26e('0x1'));var db=require(_0xd26e('0x2'))['db'];var config=require(_0xd26e('0x3'));config[_0xd26e('0x4')]=_[_0xd26e('0x5')](config[_0xd26e('0x4')],{'host':_0xd26e('0x6'),'port':0x18eb});var io=require('socket.io-emitter')(new Redis(config['redis']));function closeInteractions(){var _0x20fcc8=0x0;var _0x1a96b9=[];return db[_0xd26e('0x7')][_0xd26e('0x8')]({'raw':!![],'attributes':['id',_0xd26e('0x9')],'where':{'id':0x1}})[_0xd26e('0xa')](function(_0x185661){_0x20fcc8=_0x185661['chatTimeout'];if(_0x20fcc8){return db[_0xd26e('0xb')]['findAll']({'raw':!![],'attributes':['id',_0xd26e('0xc')],'where':{'closed':![],'lastMsgAt':{'$lt':moment()['subtract'](_0x185661[_0xd26e('0x9')],'minutes')}}});}else{return[];}})[_0xd26e('0xa')](function(_0x36fbae){_0x1a96b9=_0x36fbae;if(_0x20fcc8){return db[_0xd26e('0xb')]['update']({'closeReason':_0xd26e('0xd'),'disposition':_0xd26e('0xe'),'closed':!![],'closedAt':moment()[_0xd26e('0xf')](_0xd26e('0x10'))},{'where':{'id':_[_0xd26e('0x11')](_0x1a96b9||[],'id')}});}})[_0xd26e('0xa')](function(_0x31c6d8){for(var _0x149b3f=0x0;_0x149b3f<_0x1a96b9[_0xd26e('0x12')];_0x149b3f++){io[_0xd26e('0x13')]('chatInteraction:update',{'id':_0x1a96b9[_0x149b3f]['id'],'closed':!![]});}})[_0xd26e('0x14')](function(_0x513fd7){console[_0xd26e('0x15')](_0x513fd7);});}exports[_0xd26e('0x16')]=function(){setInterval(function(){return closeInteractions();},0x3c*0x3e8);return closeInteractions();}; \ No newline at end of file diff --git a/server/config/schedule/index.js b/server/config/schedule/index.js index a06d5ad..0028db5 100644 --- a/server/config/schedule/index.js +++ b/server/config/schedule/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x5210=['exists','deleteJob','stop\x20cron','isBetween','startAt','endAt','update\x20cron','run','util','lodash','cron-job-manager','../logger','../../mysqldb','../../api/analyticDefaultReport/analyticDefaultReport.controller','client','http','info','Try\x20to\x20send\x20a\x20mail\x20to','email','Smtp','service','host','MailAccount','port','secure','authentication','auth','user','format','\x22%s\x22\x20<%s>','name','bcc','Report\x20%s\x20last\x20%s\x20%s','subtractUnit','join','../../files/reports','savename','%s.%s','basename','extname','existsSync','status','Sent','message','attachments','text','Info\x20report:\x0a%s\x0aPlease\x20see\x20the\x20attachments\x0aThis\x20is\x20an\x20automatically\x20generated\x20email\x20–\x20please\x20do\x20not\x20reply\x20to\x20it.\x0a\x0a','stringify','empty\x20file,\x20email\x20not\x20sent','request','SendMail','then','error','error\x20mail','email\x20sent','catch','data','subtractNumber','isNil','subtractUnit\x20null\x20or\x20undefined','YYYY-MM-DD\x20HH:mm:ss','DefaultReportId','exec\x20defaul\x20report\x20id:%s','runReport','CustomReportId','exec\x20custom\x20report\x20id:%s','Schedule','findAll','MailServerOut','keys','jobs','map','keyBy','toString','difference','intersection','length','stop','delete\x20cron','toRun','index','my\x20id','resolve','run\x20job','cron','active','add\x20cron'];(function(_0x3b6b65,_0x449a87){var _0x3c3431=function(_0x523ec3){while(--_0x523ec3){_0x3b6b65['push'](_0x3b6b65['shift']());}};_0x3c3431(++_0x449a87);}(_0x5210,0x164));var _0x0521=function(_0xbdb14e,_0x4b4172){_0xbdb14e=_0xbdb14e-0x0;var _0x646937=_0x5210[_0xbdb14e];return _0x646937;};'use strict';var fs=require('fs');var util=require(_0x0521('0x0'));var path=require('path');var _=require(_0x0521('0x1'));var moment=require('moment');var CronJobManager=require(_0x0521('0x2'));var jayson=require('jayson/promise');var BPromise=require('bluebird');var logger=require(_0x0521('0x3'))('schedule');var db=require(_0x0521('0x4'))['db'];var analyticCustomReportController=require('../../api/analyticCustomReport/analyticCustomReport.controller');var analyticDefaultReportController=require(_0x0521('0x5'));var client=jayson[_0x0521('0x6')][_0x0521('0x7')]({'port':0x232b});var manager=new CronJobManager();function handleSendEmail(_0xc4ed67,_0x1bc6b0){return function(){logger[_0x0521('0x8')](_0x0521('0x9'),_0xc4ed67[_0x0521('0xa')]);var _0x2adad9=!![];var _0x3df1d5={'tls':{'rejectUnauthorized':![]}};if(_0xc4ed67['MailAccount'][_0x0521('0xb')][_0x0521('0xc')]){_0x3df1d5[_0x0521('0xc')]=_0xc4ed67['MailAccount'][_0x0521('0xb')][_0x0521('0xc')];}else{_0x3df1d5[_0x0521('0xd')]=_0xc4ed67[_0x0521('0xe')][_0x0521('0xb')][_0x0521('0xd')];_0x3df1d5[_0x0521('0xf')]=_0xc4ed67[_0x0521('0xe')][_0x0521('0xb')][_0x0521('0xf')];_0x3df1d5['secure']=_0xc4ed67['MailAccount'][_0x0521('0xb')][_0x0521('0x10')];}if(_0xc4ed67[_0x0521('0xe')][_0x0521('0xb')][_0x0521('0x11')]){_0x3df1d5[_0x0521('0x12')]={'user':_0xc4ed67[_0x0521('0xe')]['Smtp'][_0x0521('0x13')],'pass':_0xc4ed67[_0x0521('0xe')]['Smtp']['pass']};}var _0x508330={'account':_0x3df1d5,'message':{'from':util[_0x0521('0x14')](_0x0521('0x15'),_0xc4ed67[_0x0521('0xe')][_0x0521('0x16')],_0xc4ed67[_0x0521('0xe')][_0x0521('0xa')]||_0xc4ed67[_0x0521('0xe')][_0x0521('0xb')][_0x0521('0x13')]),'to':_0xc4ed67[_0x0521('0xa')],'cc':_0xc4ed67['cc'],'bcc':_0xc4ed67[_0x0521('0x17')],'subject':util[_0x0521('0x14')](_0x0521('0x18'),_0x1bc6b0[_0x0521('0x16')],_0xc4ed67['subtractNumber'],_0xc4ed67[_0x0521('0x19')])}};var _0x47d554=path[_0x0521('0x1a')](__dirname,_0x0521('0x1b'));var _0x467438=_0x1bc6b0[_0x0521('0x1c')];var _0x3d4717=util[_0x0521('0x14')](_0x0521('0x1d'),path[_0x0521('0x1e')](_0x1bc6b0[_0x0521('0x1c')],path[_0x0521('0x1f')](_0x1bc6b0[_0x0521('0x1c')])),'zip');var _0x1a920a=path[_0x0521('0x1a')](_0x47d554,_0x467438);var _0xf55228=path['join'](_0x47d554,_0x3d4717);if(fs[_0x0521('0x20')](_0x1a920a)){_0x1bc6b0[_0x0521('0x21')]=_0x0521('0x22');_0x508330[_0x0521('0x23')][_0x0521('0x24')]=[{'filename':_0x467438,'path':_0x1a920a}];_0x508330[_0x0521('0x23')][_0x0521('0x25')]=util[_0x0521('0x14')](_0x0521('0x26'),JSON[_0x0521('0x27')](_0x1bc6b0,null,0x2));}else if(fs['existsSync'](_0xf55228)){_0x1bc6b0[_0x0521('0x21')]=_0x0521('0x22');_0x508330[_0x0521('0x23')][_0x0521('0x24')]=[{'filename':_0x3d4717,'path':_0xf55228}];}else{_0x508330[_0x0521('0x23')][_0x0521('0x25')]='Report\x20empty\x0aThis\x20is\x20an\x20automatically\x20generated\x20email\x20–\x20please\x20do\x20not\x20reply\x20to\x20this\x20email.\x0a\x0a';if(!_0xc4ed67['sendIfEmpty']){_0x2adad9=![];logger[_0x0521('0x8')](_0x0521('0x28'));}}if(_0x2adad9){return client[_0x0521('0x29')](_0x0521('0x2a'),_0x508330)[_0x0521('0x2b')](function(_0x12680a){if(_0x12680a[_0x0521('0x2c')]){return logger['error'](_0x0521('0x2d'),JSON[_0x0521('0x27')](_0x12680a));}return logger[_0x0521('0x8')](_0x0521('0x2e'));})[_0x0521('0x2f')](function(_0x786732){return logger[_0x0521('0x2c')](_0x0521('0x2d'),JSON[_0x0521('0x27')](_0x786732));});}};}function handleError(){return function(_0x17a46c){return logger['error'](JSON[_0x0521('0x27')](_0x17a46c));};}function handleResult(_0xb09ee2){return function(_0x2892a8){logger['info'](_0x0521('0x30'),JSON[_0x0521('0x27')](_0x2892a8));if(_0xb09ee2[_0x0521('0xe')]&&_0xb09ee2[_0x0521('0xe')][_0x0521('0xb')]&&!_['isNil'](_0xb09ee2[_0x0521('0xa')])){setTimeout(handleSendEmail(_0xb09ee2,_0x2892a8),0x3c*0x3e8);}};}function handleJob(_0x464434){return function(){try{if(_['isNil'](_0x464434[_0x0521('0x31')])){return logger['info']('subtractNumber\x20null\x20or\x20undefined');}if(_[_0x0521('0x32')](_0x464434[_0x0521('0x19')])){return logger[_0x0521('0x8')](_0x0521('0x33'));}var _0x639561={'startDate':moment()['subtract'](_0x464434[_0x0521('0x31')],_0x464434['subtractUnit'])[_0x0521('0x14')](_0x0521('0x34')),'endDate':moment()[_0x0521('0x14')](_0x0521('0x34')),'type':'scheduled','output':_0x464434['output'],'name':_0x464434['name']};if(!_[_0x0521('0x32')](_0x464434[_0x0521('0x35')])){logger[_0x0521('0x8')](_0x0521('0x36'),_0x464434[_0x0521('0x35')]);return analyticDefaultReportController[_0x0521('0x37')]({'id':_0x464434[_0x0521('0x35')]},_0x639561)[_0x0521('0x2b')](handleResult(_0x464434))[_0x0521('0x2f')](handleError());}if(!_['isNil'](_0x464434[_0x0521('0x38')])){logger['info'](_0x0521('0x39'),_0x464434[_0x0521('0x38')]);return analyticCustomReportController['runReport']({'id':_0x464434['CustomReportId']},_0x639561)[_0x0521('0x2b')](handleResult(_0x464434))['catch'](handleError());}}catch(_0x1e0b1f){logger['error'](JSON['stringify'](_0x1e0b1f));}return logger[_0x0521('0x8')]('no\x20report\x20id');};}function getJobs(_0x40fd95){var _0x2ab3d1={};if(_0x40fd95){_0x2ab3d1['id']=_0x40fd95;}return db[_0x0521('0x3a')][_0x0521('0x3b')]({'where':_0x2ab3d1,'include':[{'model':db['MailAccount'],'attributes':['id',_0x0521('0x16'),_0x0521('0xa')],'include':[{'model':db[_0x0521('0x3c')],'as':_0x0521('0xb')}]}]})[_0x0521('0x2b')](function(_0x1e4aa0){var _0x42218e=_[_0x0521('0x3d')](manager[_0x0521('0x3e')]);var _0x2057eb=_[_0x0521('0x3f')](_0x1e4aa0,function(_0x292936){return _0x292936['id']['toString']();});var _0xd14455=_[_0x0521('0x40')](_0x1e4aa0,function(_0x25e96d){return _0x25e96d['id'][_0x0521('0x41')]();});var _0x534106=_0x40fd95?_0x2057eb:_[_0x0521('0x42')](_0x2057eb,_0x42218e);var _0x2ff91e=_[_0x0521('0x43')](_0x2057eb,_0x42218e);var _0x7b6929=_['difference'](_0x42218e,_0x2057eb);var _0x24da13;var _0x4a124b;for(_0x24da13=0x0;_0x24da13<_0x7b6929[_0x0521('0x44')]&&!_0x40fd95;_0x24da13+=0x1){_0x4a124b=_0x7b6929[_0x24da13][_0x0521('0x41')]();if(manager['exists'](_0x4a124b)){manager[_0x0521('0x45')](_0x4a124b);manager['deleteJob'](_0x4a124b);logger[_0x0521('0x8')](_0x0521('0x46'),_0x4a124b);}}logger[_0x0521('0x8')](_0x0521('0x47'),JSON[_0x0521('0x27')](_0x534106));for(_0x24da13=0x0;_0x24da13<_0x534106[_0x0521('0x44')];_0x24da13+=0x1){_0x4a124b=_0x534106[_0x24da13][_0x0521('0x41')]();logger['info'](_0x0521('0x48'),_0x4a124b);if(_0x40fd95){logger[_0x0521('0x8')](_0x0521('0x49'),_0x40fd95);logger[_0x0521('0x8')](JSON[_0x0521('0x27')](_0xd14455[_0x4a124b]));BPromise[_0x0521('0x4a')]()[_0x0521('0x2b')](handleJob(_0xd14455[_0x4a124b]));logger[_0x0521('0x8')](_0x0521('0x4b'),_0xd14455[_0x4a124b][_0x0521('0x16')],_0xd14455[_0x4a124b][_0x0521('0x4c')]);}else if(_0xd14455[_0x4a124b][_0x0521('0x4c')]&&_0xd14455[_0x4a124b][_0x0521('0x4d')]&&moment()['isBetween'](_0xd14455[_0x4a124b]['startAt'],_0xd14455[_0x4a124b]['endAt'])){manager['add'](_0x4a124b,_0xd14455[_0x4a124b][_0x0521('0x4c')],handleJob(_0xd14455[_0x4a124b]));manager['start'](_0x4a124b);logger[_0x0521('0x8')](_0x0521('0x4e'),_0xd14455[_0x4a124b]['name'],_0xd14455[_0x4a124b]['cron']);}else if(manager[_0x0521('0x4f')](_0x4a124b)){manager[_0x0521('0x45')](_0x4a124b);manager[_0x0521('0x50')](_0x4a124b);logger[_0x0521('0x8')](_0x0521('0x51'),_0xd14455[_0x4a124b][_0x0521('0x16')],_0xd14455[_0x4a124b][_0x0521('0x4c')]);}}for(_0x24da13=0x0,_0x4a124b;_0x24da13<_0x2ff91e[_0x0521('0x44')]&&!_0x40fd95;_0x24da13+=0x1){_0x4a124b=_0x2ff91e[_0x24da13][_0x0521('0x41')]();if(manager['exists'](_0x4a124b)){if(_0xd14455[_0x4a124b][_0x0521('0x4c')]&&_0xd14455[_0x4a124b][_0x0521('0x4d')]&&moment()[_0x0521('0x52')](_0xd14455[_0x4a124b][_0x0521('0x53')],_0xd14455[_0x4a124b][_0x0521('0x54')])){manager['update'](_0x4a124b,_0xd14455[_0x4a124b][_0x0521('0x4c')],handleJob(_0xd14455[_0x4a124b]));logger[_0x0521('0x8')](_0x0521('0x55'),_0xd14455[_0x4a124b][_0x0521('0x16')],_0xd14455[_0x4a124b]['cron']);}else{manager[_0x0521('0x45')](_0x4a124b);manager[_0x0521('0x50')](_0x4a124b);logger[_0x0521('0x8')]('stop\x20cron',_0xd14455[_0x4a124b][_0x0521('0x16')],_0xd14455[_0x4a124b][_0x0521('0x4c')]);}}}})[_0x0521('0x2f')](function(_0x4dacbb){logger['error'](JSON[_0x0521('0x27')](_0x4dacbb));});}exports[_0x0521('0x56')]=function(_0x50135e){return getJobs(_0x50135e);};exports['start']=function(){setInterval(function(){return getJobs();},0x3c*0x3e8);return getJobs();}; \ No newline at end of file +var _0x1738=['Report\x20%s\x20last\x20%s\x20%s','name','subtractNumber','subtractUnit','join','savename','%s.%s','extname','existsSync','status','message','text','Info\x20report:\x0a%s\x0aPlease\x20see\x20the\x20attachments\x0aThis\x20is\x20an\x20automatically\x20generated\x20email\x20–\x20please\x20do\x20not\x20reply\x20to\x20it.\x0a\x0a','stringify','Sent','attachments','sendIfEmpty','empty\x20file,\x20email\x20not\x20sent','request','SendMail','then','error','error\x20mail','catch','data','subtractNumber\x20null\x20or\x20undefined','isNil','subtractUnit\x20null\x20or\x20undefined','subtract','YYYY-MM-DD\x20HH:mm:ss','scheduled','output','DefaultReportId','exec\x20defaul\x20report\x20id:%s','runReport','exec\x20custom\x20report\x20id:%s','CustomReportId','no\x20report\x20id','Schedule','findAll','MailServerOut','keys','map','toString','keyBy','intersection','difference','exists','stop','deleteJob','delete\x20cron','toRun','index','resolve','run\x20job','cron','startAt','endAt','add','start','add\x20cron','isBetween','update','update\x20cron','stop\x20cron','run','util','path','lodash','moment','cron-job-manager','bluebird','../logger','schedule','../../mysqldb','../../api/analyticCustomReport/analyticCustomReport.controller','../../api/analyticDefaultReport/analyticDefaultReport.controller','client','http','info','Try\x20to\x20send\x20a\x20mail\x20to','email','Smtp','service','MailAccount','host','secure','authentication','auth','user','pass','format','\x22%s\x22\x20<%s>','bcc'];(function(_0x37ded3,_0x371ebb){var _0x51e49e=function(_0x30cc78){while(--_0x30cc78){_0x37ded3['push'](_0x37ded3['shift']());}};_0x51e49e(++_0x371ebb);}(_0x1738,0xfe));var _0x8173=function(_0x5cdfa4,_0x400cfa){_0x5cdfa4=_0x5cdfa4-0x0;var _0x598cec=_0x1738[_0x5cdfa4];return _0x598cec;};'use strict';var fs=require('fs');var util=require(_0x8173('0x0'));var path=require(_0x8173('0x1'));var _=require(_0x8173('0x2'));var moment=require(_0x8173('0x3'));var CronJobManager=require(_0x8173('0x4'));var jayson=require('jayson/promise');var BPromise=require(_0x8173('0x5'));var logger=require(_0x8173('0x6'))(_0x8173('0x7'));var db=require(_0x8173('0x8'))['db'];var analyticCustomReportController=require(_0x8173('0x9'));var analyticDefaultReportController=require(_0x8173('0xa'));var client=jayson[_0x8173('0xb')][_0x8173('0xc')]({'port':0x232b});var manager=new CronJobManager();function handleSendEmail(_0x3e0a47,_0x59c757){return function(){logger[_0x8173('0xd')](_0x8173('0xe'),_0x3e0a47[_0x8173('0xf')]);var _0x2942a2=!![];var _0x4120fa={'tls':{'rejectUnauthorized':![]}};if(_0x3e0a47['MailAccount'][_0x8173('0x10')][_0x8173('0x11')]){_0x4120fa[_0x8173('0x11')]=_0x3e0a47[_0x8173('0x12')][_0x8173('0x10')][_0x8173('0x11')];}else{_0x4120fa[_0x8173('0x13')]=_0x3e0a47['MailAccount'][_0x8173('0x10')][_0x8173('0x13')];_0x4120fa['port']=_0x3e0a47['MailAccount']['Smtp']['port'];_0x4120fa[_0x8173('0x14')]=_0x3e0a47[_0x8173('0x12')][_0x8173('0x10')][_0x8173('0x14')];}if(_0x3e0a47[_0x8173('0x12')]['Smtp'][_0x8173('0x15')]){_0x4120fa[_0x8173('0x16')]={'user':_0x3e0a47[_0x8173('0x12')]['Smtp'][_0x8173('0x17')],'pass':_0x3e0a47[_0x8173('0x12')][_0x8173('0x10')][_0x8173('0x18')]};}var _0x210b69={'account':_0x4120fa,'message':{'from':util[_0x8173('0x19')](_0x8173('0x1a'),_0x3e0a47[_0x8173('0x12')]['name'],_0x3e0a47[_0x8173('0x12')][_0x8173('0xf')]||_0x3e0a47[_0x8173('0x12')][_0x8173('0x10')]['user']),'to':_0x3e0a47['email'],'cc':_0x3e0a47['cc'],'bcc':_0x3e0a47[_0x8173('0x1b')],'subject':util[_0x8173('0x19')](_0x8173('0x1c'),_0x59c757[_0x8173('0x1d')],_0x3e0a47[_0x8173('0x1e')],_0x3e0a47[_0x8173('0x1f')])}};var _0x493775=path[_0x8173('0x20')](__dirname,'../../files/reports');var _0x20a029=_0x59c757[_0x8173('0x21')];var _0x28d16c=util[_0x8173('0x19')](_0x8173('0x22'),path['basename'](_0x59c757[_0x8173('0x21')],path[_0x8173('0x23')](_0x59c757[_0x8173('0x21')])),'zip');var _0x3c5db9=path[_0x8173('0x20')](_0x493775,_0x20a029);var _0x32074a=path[_0x8173('0x20')](_0x493775,_0x28d16c);if(fs[_0x8173('0x24')](_0x3c5db9)){_0x59c757[_0x8173('0x25')]='Sent';_0x210b69['message']['attachments']=[{'filename':_0x20a029,'path':_0x3c5db9}];_0x210b69[_0x8173('0x26')][_0x8173('0x27')]=util[_0x8173('0x19')](_0x8173('0x28'),JSON[_0x8173('0x29')](_0x59c757,null,0x2));}else if(fs[_0x8173('0x24')](_0x32074a)){_0x59c757[_0x8173('0x25')]=_0x8173('0x2a');_0x210b69[_0x8173('0x26')][_0x8173('0x2b')]=[{'filename':_0x28d16c,'path':_0x32074a}];}else{_0x210b69[_0x8173('0x26')][_0x8173('0x27')]='Report\x20empty\x0aThis\x20is\x20an\x20automatically\x20generated\x20email\x20–\x20please\x20do\x20not\x20reply\x20to\x20this\x20email.\x0a\x0a';if(!_0x3e0a47[_0x8173('0x2c')]){_0x2942a2=![];logger[_0x8173('0xd')](_0x8173('0x2d'));}}if(_0x2942a2){return client[_0x8173('0x2e')](_0x8173('0x2f'),_0x210b69)[_0x8173('0x30')](function(_0x1c3abd){if(_0x1c3abd[_0x8173('0x31')]){return logger[_0x8173('0x31')](_0x8173('0x32'),JSON['stringify'](_0x1c3abd));}return logger['info']('email\x20sent');})[_0x8173('0x33')](function(_0xa7d48c){return logger['error'](_0x8173('0x32'),JSON[_0x8173('0x29')](_0xa7d48c));});}};}function handleError(){return function(_0x22df7c){return logger['error'](JSON[_0x8173('0x29')](_0x22df7c));};}function handleResult(_0x59d520){return function(_0x3fa858){logger['info'](_0x8173('0x34'),JSON[_0x8173('0x29')](_0x3fa858));if(_0x59d520[_0x8173('0x12')]&&_0x59d520[_0x8173('0x12')][_0x8173('0x10')]&&!_['isNil'](_0x59d520[_0x8173('0xf')])){setTimeout(handleSendEmail(_0x59d520,_0x3fa858),0x3c*0x3e8);}};}function handleJob(_0x3efa34){return function(){try{if(_['isNil'](_0x3efa34[_0x8173('0x1e')])){return logger['info'](_0x8173('0x35'));}if(_[_0x8173('0x36')](_0x3efa34[_0x8173('0x1f')])){return logger[_0x8173('0xd')](_0x8173('0x37'));}var _0xa56cbc={'startDate':moment()[_0x8173('0x38')](_0x3efa34[_0x8173('0x1e')],_0x3efa34[_0x8173('0x1f')])[_0x8173('0x19')](_0x8173('0x39')),'endDate':moment()['format'](_0x8173('0x39')),'type':_0x8173('0x3a'),'output':_0x3efa34[_0x8173('0x3b')],'name':_0x3efa34[_0x8173('0x1d')]};if(!_[_0x8173('0x36')](_0x3efa34[_0x8173('0x3c')])){logger[_0x8173('0xd')](_0x8173('0x3d'),_0x3efa34['DefaultReportId']);return analyticDefaultReportController[_0x8173('0x3e')]({'id':_0x3efa34['DefaultReportId']},_0xa56cbc)[_0x8173('0x30')](handleResult(_0x3efa34))[_0x8173('0x33')](handleError());}if(!_['isNil'](_0x3efa34['CustomReportId'])){logger[_0x8173('0xd')](_0x8173('0x3f'),_0x3efa34[_0x8173('0x40')]);return analyticCustomReportController[_0x8173('0x3e')]({'id':_0x3efa34['CustomReportId']},_0xa56cbc)[_0x8173('0x30')](handleResult(_0x3efa34))[_0x8173('0x33')](handleError());}}catch(_0x1860e1){logger[_0x8173('0x31')](JSON[_0x8173('0x29')](_0x1860e1));}return logger[_0x8173('0xd')](_0x8173('0x41'));};}function getJobs(_0x253a1f){var _0x3c5200={};if(_0x253a1f){_0x3c5200['id']=_0x253a1f;}return db[_0x8173('0x42')][_0x8173('0x43')]({'where':_0x3c5200,'include':[{'model':db[_0x8173('0x12')],'attributes':['id','name',_0x8173('0xf')],'include':[{'model':db[_0x8173('0x44')],'as':'Smtp'}]}]})[_0x8173('0x30')](function(_0x53955e){var _0x55feff=_[_0x8173('0x45')](manager['jobs']);var _0x172a7a=_[_0x8173('0x46')](_0x53955e,function(_0x5a0fa3){return _0x5a0fa3['id'][_0x8173('0x47')]();});var _0x3ac970=_[_0x8173('0x48')](_0x53955e,function(_0x528c2d){return _0x528c2d['id'][_0x8173('0x47')]();});var _0x12fde5=_0x253a1f?_0x172a7a:_['difference'](_0x172a7a,_0x55feff);var _0x375b23=_[_0x8173('0x49')](_0x172a7a,_0x55feff);var _0x57cf8b=_[_0x8173('0x4a')](_0x55feff,_0x172a7a);var _0x23369c;var _0x255acd;for(_0x23369c=0x0;_0x23369c<_0x57cf8b['length']&&!_0x253a1f;_0x23369c+=0x1){_0x255acd=_0x57cf8b[_0x23369c][_0x8173('0x47')]();if(manager[_0x8173('0x4b')](_0x255acd)){manager[_0x8173('0x4c')](_0x255acd);manager[_0x8173('0x4d')](_0x255acd);logger[_0x8173('0xd')](_0x8173('0x4e'),_0x255acd);}}logger[_0x8173('0xd')](_0x8173('0x4f'),JSON[_0x8173('0x29')](_0x12fde5));for(_0x23369c=0x0;_0x23369c<_0x12fde5['length'];_0x23369c+=0x1){_0x255acd=_0x12fde5[_0x23369c][_0x8173('0x47')]();logger[_0x8173('0xd')](_0x8173('0x50'),_0x255acd);if(_0x253a1f){logger[_0x8173('0xd')]('my\x20id',_0x253a1f);logger[_0x8173('0xd')](JSON['stringify'](_0x3ac970[_0x255acd]));BPromise[_0x8173('0x51')]()[_0x8173('0x30')](handleJob(_0x3ac970[_0x255acd]));logger[_0x8173('0xd')](_0x8173('0x52'),_0x3ac970[_0x255acd][_0x8173('0x1d')],_0x3ac970[_0x255acd][_0x8173('0x53')]);}else if(_0x3ac970[_0x255acd][_0x8173('0x53')]&&_0x3ac970[_0x255acd]['active']&&moment()['isBetween'](_0x3ac970[_0x255acd][_0x8173('0x54')],_0x3ac970[_0x255acd][_0x8173('0x55')])){manager[_0x8173('0x56')](_0x255acd,_0x3ac970[_0x255acd]['cron'],handleJob(_0x3ac970[_0x255acd]));manager[_0x8173('0x57')](_0x255acd);logger['info'](_0x8173('0x58'),_0x3ac970[_0x255acd][_0x8173('0x1d')],_0x3ac970[_0x255acd][_0x8173('0x53')]);}else if(manager['exists'](_0x255acd)){manager[_0x8173('0x4c')](_0x255acd);manager['deleteJob'](_0x255acd);logger[_0x8173('0xd')]('stop\x20cron',_0x3ac970[_0x255acd][_0x8173('0x1d')],_0x3ac970[_0x255acd]['cron']);}}for(_0x23369c=0x0,_0x255acd;_0x23369c<_0x375b23['length']&&!_0x253a1f;_0x23369c+=0x1){_0x255acd=_0x375b23[_0x23369c]['toString']();if(manager[_0x8173('0x4b')](_0x255acd)){if(_0x3ac970[_0x255acd][_0x8173('0x53')]&&_0x3ac970[_0x255acd]['active']&&moment()[_0x8173('0x59')](_0x3ac970[_0x255acd]['startAt'],_0x3ac970[_0x255acd][_0x8173('0x55')])){manager[_0x8173('0x5a')](_0x255acd,_0x3ac970[_0x255acd]['cron'],handleJob(_0x3ac970[_0x255acd]));logger[_0x8173('0xd')](_0x8173('0x5b'),_0x3ac970[_0x255acd]['name'],_0x3ac970[_0x255acd][_0x8173('0x53')]);}else{manager[_0x8173('0x4c')](_0x255acd);manager[_0x8173('0x4d')](_0x255acd);logger[_0x8173('0xd')](_0x8173('0x5c'),_0x3ac970[_0x255acd][_0x8173('0x1d')],_0x3ac970[_0x255acd]['cron']);}}}})[_0x8173('0x33')](function(_0x6dfae2){logger[_0x8173('0x31')](JSON['stringify'](_0x6dfae2));});}exports[_0x8173('0x5d')]=function(_0x4bd3d1){return getJobs(_0x4bd3d1);};exports[_0x8173('0x57')]=function(){setInterval(function(){return getJobs();},0x3c*0x3e8);return getJobs();}; \ No newline at end of file diff --git a/server/config/schedule/transcribe.js b/server/config/schedule/transcribe.js index d8ef30f..fb1a7fb 100644 --- a/server/config/schedule/transcribe.js +++ b/server/config/schedule/transcribe.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x53c1=['format','[RECORDING:%d]\x20Get\x20status\x20for\x20transcript\x20job\x20(%s)','data1','data2','transcribeName','TranscriptionJobStatus','fileText','TranscriptionJob','COMPLETED','Transcript','TranscriptFileUri','[RECORDING:%d]\x20Get\x20transcript','[RECORDING:%d]\x20Transcript\x20downloaded','results','transcripts','length','update','then','[RECORDING:%d]\x20Voice\x20Recording\x20entry\x20updated','tempSentiment','Sequelize','ValidationError','sentiment','sentimentAccountId','sentimentRegion','bucket','Sentiment\x20Analysis\x20not\x20configured','Transcript\x20not\x20available','CloudProvider','findOne','Cloud\x20Provider\x20not\x20available','Cloud\x20Provider\x20not\x20configured','[RECORDING:%d]\x20Requesting\x20sentiment\x20analysis','language','[RECORDING:%d]\x20Sentiment\x20Analysis\x20available','Sentiment','SentimentScore','Negative','FAILED','FailureReason','[RECORDING:%d]\x20Transcript\x20Job\x20status\x20not\x20managed','Sentiment\x20Analysis\x20not\x20requested','Positive','Mixed','Neutral','catch','name','SequelizeValidationError','error','[RECORDING:%d]\x20Error\x20running\x20Transcribe\x20&\x20Sentiment\x20Analysis','inspect','findAll','IN_PROGRESS','No\x20transcribe\x20job\x20to\x20check','Setting','Settings\x20not\x20available','transcribeAccountId','transcribeRegion','Transcribe\x20not\x20configured','forEach','push','all','start','lodash','aws-sdk','util','bluebird','../../config/logger','transcribe','Comprehend','substring','info'];(function(_0x38302e,_0x312a11){var _0x17a195=function(_0x1a5f1d){while(--_0x1a5f1d){_0x38302e['push'](_0x38302e['shift']());}};_0x17a195(++_0x312a11);}(_0x53c1,0x87));var _0x153c=function(_0x490309,_0x1d6095){_0x490309=_0x490309-0x0;var _0x4dd35d=_0x53c1[_0x490309];return _0x4dd35d;};var _=require(_0x153c('0x0'));var AWS=require(_0x153c('0x1'));var rp=require('request-promise');var util=require(_0x153c('0x2'));var BPromise=require(_0x153c('0x3'));var db=require('../../mysqldb')['db'];var logger=require(_0x153c('0x4'))(_0x153c('0x5'));function getTranscriptionJob(_0x583962,_0x37ee3b,_0x272793,_0xad9d09){return new Promise(function(_0x4f7738,_0x249541){var _0x4cdd26=new AWS['TranscribeService']({'accessKeyId':_0x37ee3b,'secretAccessKey':_0x583962,'region':_0x272793});_0x4cdd26['getTranscriptionJob']({'TranscriptionJobName':_0xad9d09},function(_0x5e43ea,_0x538e15){if(_0x5e43ea){return _0x249541(_0x5e43ea);}else{return _0x4f7738(_0x538e15);}});});}function sentiment(_0x497c74,_0x544cb4,_0x19205c,_0x56d674,_0x42e1f4){return new Promise(function(_0x13d25a,_0x3d6cf6){var _0x1291ad=new AWS[(_0x153c('0x6'))]({'accessKeyId':_0x544cb4,'secretAccessKey':_0x497c74,'region':_0x19205c});_0x1291ad['detectSentiment']({'Text':_0x56d674,'LanguageCode':_0x42e1f4[_0x153c('0x7')](0x0,0x2)},function(_0x3fc9fd,_0x4e3d1b){if(_0x3fc9fd){return _0x3d6cf6(_0x3fc9fd);}else{return _0x13d25a(_0x4e3d1b);}});});}function checkTranscribeJob(_0x2db3e2,_0x2e77c7,_0x2c315f){var _0x410699;return new BPromise(function(_0x4b57da,_0x186ccf){logger[_0x153c('0x8')](util[_0x153c('0x9')](_0x153c('0xa'),_0x2db3e2['id'],_0x2db3e2['transcribeName']));return getTranscriptionJob(_0x2c315f[_0x153c('0xb')],_0x2c315f[_0x153c('0xc')],_0x2e77c7['transcribeRegion'],_0x2db3e2[_0x153c('0xd')])['then'](function(_0x5c8211){logger[_0x153c('0x8')](util[_0x153c('0x9')]('[RECORDING:%d]\x20Status\x20of\x20transcript\x20job\x20(%s):\x20%s',_0x2db3e2['id'],_0x2db3e2[_0x153c('0xd')],_0x5c8211['TranscriptionJob'][_0x153c('0xe')]));if(!_0x2db3e2[_0x153c('0xf')]){switch(_0x5c8211[_0x153c('0x10')][_0x153c('0xe')]){case _0x153c('0x11'):var _0x137999={'transcribeStatus':_0x5c8211['TranscriptionJob'][_0x153c('0xe')],'fileUri':_0x5c8211[_0x153c('0x10')][_0x153c('0x12')][_0x153c('0x13')]};logger[_0x153c('0x8')](util[_0x153c('0x9')](_0x153c('0x14'),_0x2db3e2['id']));return rp({'uri':_0x5c8211[_0x153c('0x10')]['Transcript'][_0x153c('0x13')],'json':!![]})['then'](function(_0x3b48cc){logger['info'](util[_0x153c('0x9')](_0x153c('0x15'),_0x2db3e2['id']));if(_0x3b48cc&&_0x3b48cc['results']&&_0x3b48cc[_0x153c('0x16')][_0x153c('0x17')]&&_0x3b48cc[_0x153c('0x16')][_0x153c('0x17')][_0x153c('0x18')]){_0x137999[_0x153c('0xf')]='';for(var _0x20af34=0x0;_0x20af34<_0x3b48cc[_0x153c('0x16')][_0x153c('0x17')][_0x153c('0x18')];_0x20af34++){_0x137999['fileText']+=_0x3b48cc['results'][_0x153c('0x17')][_0x20af34]['transcript']+'';}}return _0x2db3e2[_0x153c('0x19')](_0x137999);})[_0x153c('0x1a')](function(){logger[_0x153c('0x8')](util['format'](_0x153c('0x1b'),_0x2db3e2['id']));if(!_0x2db3e2[_0x153c('0x1c')]){throw new db[(_0x153c('0x1d'))][(_0x153c('0x1e'))]('Sentiment\x20Analysis\x20not\x20requested');}if(!_0x2e77c7[_0x153c('0x1f')]||!_0x2e77c7[_0x153c('0x20')]||!_0x2e77c7[_0x153c('0x21')]||!_0x2e77c7['language']||!_0x2e77c7[_0x153c('0x22')]){throw new db[(_0x153c('0x1d'))]['ValidationError'](_0x153c('0x23'));}if(!_0x137999[_0x153c('0xf')]){throw new Error(_0x153c('0x24'));}if(_0x2e77c7[_0x153c('0x20')]===_0x2c315f['id']){return _0x2c315f;}else{return db[_0x153c('0x25')][_0x153c('0x26')]({'where':{'id':_settings['sentimentAccountId']}});}})['then'](function(_0x353d25){if(!_0x353d25){throw new db[(_0x153c('0x1d'))][(_0x153c('0x1e'))](_0x153c('0x27'));}if(!_0x353d25[_0x153c('0xb')]||!_0x353d25[_0x153c('0xc')]){throw new db[(_0x153c('0x1d'))][(_0x153c('0x1e'))](_0x153c('0x28'));}_0x410699=_0x353d25;logger[_0x153c('0x8')](util[_0x153c('0x9')](_0x153c('0x29'),_0x2db3e2['id']));return sentiment(_0x410699[_0x153c('0xb')],_0x410699[_0x153c('0xc')],_0x2e77c7[_0x153c('0x21')],_0x137999[_0x153c('0xf')],_0x2e77c7[_0x153c('0x2a')]);})[_0x153c('0x1a')](function(_0x3fe65b){logger[_0x153c('0x8')](util[_0x153c('0x9')](_0x153c('0x2b'),_0x2db3e2['id']));return _0x2db3e2['update']({'sentiment':_0x3fe65b[_0x153c('0x2c')],'sPositive':_0x3fe65b[_0x153c('0x2d')]['Positive'],'sNegative':_0x3fe65b[_0x153c('0x2d')][_0x153c('0x2e')],'sMixed':_0x3fe65b[_0x153c('0x2d')]['Mixed'],'sNeutral':_0x3fe65b[_0x153c('0x2d')]['Neutral']});})['then'](function(){logger[_0x153c('0x8')](util[_0x153c('0x9')]('[RECORDING:%d]\x20Voice\x20Recording\x20entry\x20updated',_0x2db3e2['id']));_0x4b57da();});case'FAILED':return _0x2db3e2[_0x153c('0x19')]({'transcribeStatus':_0x153c('0x2f'),'failureReason':_0x5c8211[_0x153c('0x10')][_0x153c('0x30')]})[_0x153c('0x1a')](function(){logger[_0x153c('0x8')](util['format']('[RECORDING:%d]\x20Voice\x20Recording\x20entry\x20updated',_0x2db3e2['id']));_0x4b57da();});default:logger[_0x153c('0x8')](util[_0x153c('0x9')](_0x153c('0x31'),_0x2db3e2['id']));break;}}else{return BPromise['resolve']()['then'](function(){if(!_0x2db3e2[_0x153c('0x1c')]){throw new db[(_0x153c('0x1d'))][(_0x153c('0x1e'))](_0x153c('0x32'));}if(!_0x2e77c7[_0x153c('0x1f')]||!_0x2e77c7[_0x153c('0x20')]||!_0x2e77c7['sentimentRegion']||!_0x2e77c7[_0x153c('0x2a')]||!_0x2e77c7[_0x153c('0x22')]){throw new db[(_0x153c('0x1d'))][(_0x153c('0x1e'))](_0x153c('0x23'));}if(!_0x2db3e2[_0x153c('0xf')]){throw new Error(_0x153c('0x24'));}if(_0x2e77c7[_0x153c('0x20')]===_0x2c315f['id']){return _0x2c315f;}else{return db[_0x153c('0x25')][_0x153c('0x26')]({'where':{'id':_settings[_0x153c('0x20')]}});}})['then'](function(_0xa8f36a){if(!_0xa8f36a){throw new db[(_0x153c('0x1d'))]['ValidationError'](_0x153c('0x27'));}if(!_0xa8f36a[_0x153c('0xb')]||!_0xa8f36a[_0x153c('0xc')]){throw new db['Sequelize'][(_0x153c('0x1e'))]('Cloud\x20Provider\x20not\x20configured');}_0x410699=_0xa8f36a;logger[_0x153c('0x8')](util[_0x153c('0x9')](_0x153c('0x29'),_0x2db3e2['id']));return sentiment(_0x410699['data1'],_0x410699[_0x153c('0xc')],_0x2e77c7[_0x153c('0x21')],_0x2db3e2[_0x153c('0xf')],_0x2e77c7[_0x153c('0x2a')]);})['then'](function(_0x397577){logger[_0x153c('0x8')](util['format']('[RECORDING:%d]\x20Sentiment\x20Analysis\x20available',_0x2db3e2['id']));return _0x2db3e2[_0x153c('0x19')]({'sentiment':_0x397577[_0x153c('0x2c')],'sPositive':_0x397577[_0x153c('0x2d')][_0x153c('0x33')],'sNegative':_0x397577['SentimentScore'][_0x153c('0x2e')],'sMixed':_0x397577[_0x153c('0x2d')][_0x153c('0x34')],'sNeutral':_0x397577[_0x153c('0x2d')][_0x153c('0x35')],'transcribeStatus':_0x153c('0x11')});})['then'](function(){logger[_0x153c('0x8')](util[_0x153c('0x9')](_0x153c('0x1b'),_0x2db3e2['id']));_0x4b57da();});}})[_0x153c('0x36')](function(_0x513f53){if(_0x513f53){if(!_0x513f53[_0x153c('0x37')]||_0x513f53['name']!==_0x153c('0x38')){logger[_0x153c('0x39')](util[_0x153c('0x9')](_0x153c('0x3a'),_0x2db3e2['id']),util[_0x153c('0x3b')](_0x513f53,{'showHidden':![],'depth':null}));}}_0x4b57da();});});}function checkTranscribe(){var _0x269652;var _0x702800;var _0x25e2c3;return db['VoiceRecording'][_0x153c('0x3c')]({'where':{'transcribeStatus':_0x153c('0x3d')}})['then'](function(_0x3a85a6){if(!_0x3a85a6||!_0x3a85a6['length']){throw new db[(_0x153c('0x1d'))][(_0x153c('0x1e'))](_0x153c('0x3e'));}_0x269652=_0x3a85a6;return db[_0x153c('0x3f')][_0x153c('0x26')]({'where':{'id':0x1}});})['then'](function(_0x416b18){if(!_0x416b18){throw new db[(_0x153c('0x1d'))][(_0x153c('0x1e'))](_0x153c('0x40'));}_0x702800=_0x416b18;if(!_0x702800[_0x153c('0x5')]||!_0x702800[_0x153c('0x41')]||!_0x702800[_0x153c('0x42')]||!_0x702800[_0x153c('0x2a')]||!_0x702800['bucket']){throw new db[(_0x153c('0x1d'))][(_0x153c('0x1e'))](_0x153c('0x43'));}return db['CloudProvider']['findOne']({'where':{'id':_0x702800['transcribeAccountId']}});})[_0x153c('0x1a')](function(_0xb2c4d2){if(!_0xb2c4d2){throw new db[(_0x153c('0x1d'))][(_0x153c('0x1e'))](_0x153c('0x27'));}if(!_0xb2c4d2['data1']||!_0xb2c4d2[_0x153c('0xc')]){throw new db[(_0x153c('0x1d'))][(_0x153c('0x1e'))](_0x153c('0x28'));}_0x25e2c3=_0xb2c4d2;var _0x201738=[];_0x269652[_0x153c('0x44')](function(_0x516890){_0x201738[_0x153c('0x45')](checkTranscribeJob(_0x516890,_0x702800,_0x25e2c3));});return BPromise[_0x153c('0x46')](_0x201738);})[_0x153c('0x36')](function(_0xb9b9e2){if(_0xb9b9e2){if(!_0xb9b9e2[_0x153c('0x37')]||_0xb9b9e2[_0x153c('0x37')]!==_0x153c('0x38')){logger[_0x153c('0x39')](util[_0x153c('0x3b')](_0xb9b9e2,{'showHidden':![],'depth':null}));}}});}exports[_0x153c('0x47')]=function(){setInterval(function(){return checkTranscribe();},0x3c*0x3e8);return checkTranscribe();}; \ No newline at end of file +var _0x5e52=['[RECORDING:%d]\x20Sentiment\x20Analysis\x20available','update','Sentiment','SentimentScore','Positive','Negative','Mixed','Neutral','FAILED','FailureReason','[RECORDING:%d]\x20Transcript\x20Job\x20status\x20not\x20managed','resolve','bucket','catch','name','inspect','VoiceRecording','findAll','IN_PROGRESS','No\x20transcribe\x20job\x20to\x20check','Setting','transcribeAccountId','Transcribe\x20not\x20configured','forEach','push','start','aws-sdk','request-promise','../../mysqldb','../../config/logger','transcribe','detectSentiment','substring','info','format','data1','transcribeRegion','transcribeName','then','[RECORDING:%d]\x20Status\x20of\x20transcript\x20job\x20(%s):\x20%s','TranscriptionJobStatus','TranscriptionJob','COMPLETED','Transcript','TranscriptFileUri','[RECORDING:%d]\x20Get\x20transcript','results','transcripts','length','fileText','transcript','[RECORDING:%d]\x20Voice\x20Recording\x20entry\x20updated','tempSentiment','Sequelize','Sentiment\x20Analysis\x20not\x20requested','sentiment','sentimentAccountId','sentimentRegion','language','ValidationError','Transcript\x20not\x20available','CloudProvider','findOne','Cloud\x20Provider\x20not\x20available','data2','Cloud\x20Provider\x20not\x20configured','[RECORDING:%d]\x20Requesting\x20sentiment\x20analysis'];(function(_0x44644b,_0x24f637){var _0x50cb88=function(_0x3994f9){while(--_0x3994f9){_0x44644b['push'](_0x44644b['shift']());}};_0x50cb88(++_0x24f637);}(_0x5e52,0x169));var _0x25e5=function(_0x5c1cb4,_0x293ade){_0x5c1cb4=_0x5c1cb4-0x0;var _0x3dfebd=_0x5e52[_0x5c1cb4];return _0x3dfebd;};var _=require('lodash');var AWS=require(_0x25e5('0x0'));var rp=require(_0x25e5('0x1'));var util=require('util');var BPromise=require('bluebird');var db=require(_0x25e5('0x2'))['db'];var logger=require(_0x25e5('0x3'))(_0x25e5('0x4'));function getTranscriptionJob(_0x37099f,_0x416738,_0x1f6e6b,_0x5c1eb7){return new Promise(function(_0x1c4d91,_0x4ed6d7){var _0x1118a6=new AWS['TranscribeService']({'accessKeyId':_0x416738,'secretAccessKey':_0x37099f,'region':_0x1f6e6b});_0x1118a6['getTranscriptionJob']({'TranscriptionJobName':_0x5c1eb7},function(_0x1ce1c4,_0x182ce0){if(_0x1ce1c4){return _0x4ed6d7(_0x1ce1c4);}else{return _0x1c4d91(_0x182ce0);}});});}function sentiment(_0x3f381a,_0x4bf3ca,_0x1d756d,_0x2fd6b4,_0x3ccd91){return new Promise(function(_0x491d4f,_0x528989){var _0x2ee4b6=new AWS['Comprehend']({'accessKeyId':_0x4bf3ca,'secretAccessKey':_0x3f381a,'region':_0x1d756d});_0x2ee4b6[_0x25e5('0x5')]({'Text':_0x2fd6b4,'LanguageCode':_0x3ccd91[_0x25e5('0x6')](0x0,0x2)},function(_0x1320b4,_0x94dfc){if(_0x1320b4){return _0x528989(_0x1320b4);}else{return _0x491d4f(_0x94dfc);}});});}function checkTranscribeJob(_0xd1cc7b,_0x519562,_0x5a1247){var _0x1a0616;return new BPromise(function(_0x55da6a,_0x376b00){logger[_0x25e5('0x7')](util[_0x25e5('0x8')]('[RECORDING:%d]\x20Get\x20status\x20for\x20transcript\x20job\x20(%s)',_0xd1cc7b['id'],_0xd1cc7b['transcribeName']));return getTranscriptionJob(_0x5a1247[_0x25e5('0x9')],_0x5a1247['data2'],_0x519562[_0x25e5('0xa')],_0xd1cc7b[_0x25e5('0xb')])[_0x25e5('0xc')](function(_0x369576){logger[_0x25e5('0x7')](util['format'](_0x25e5('0xd'),_0xd1cc7b['id'],_0xd1cc7b[_0x25e5('0xb')],_0x369576['TranscriptionJob'][_0x25e5('0xe')]));if(!_0xd1cc7b['fileText']){switch(_0x369576[_0x25e5('0xf')][_0x25e5('0xe')]){case _0x25e5('0x10'):var _0x897240={'transcribeStatus':_0x369576[_0x25e5('0xf')][_0x25e5('0xe')],'fileUri':_0x369576[_0x25e5('0xf')][_0x25e5('0x11')][_0x25e5('0x12')]};logger['info'](util[_0x25e5('0x8')](_0x25e5('0x13'),_0xd1cc7b['id']));return rp({'uri':_0x369576[_0x25e5('0xf')][_0x25e5('0x11')][_0x25e5('0x12')],'json':!![]})[_0x25e5('0xc')](function(_0x1448e8){logger[_0x25e5('0x7')](util[_0x25e5('0x8')]('[RECORDING:%d]\x20Transcript\x20downloaded',_0xd1cc7b['id']));if(_0x1448e8&&_0x1448e8[_0x25e5('0x14')]&&_0x1448e8[_0x25e5('0x14')][_0x25e5('0x15')]&&_0x1448e8['results'][_0x25e5('0x15')][_0x25e5('0x16')]){_0x897240[_0x25e5('0x17')]='';for(var _0x25dd71=0x0;_0x25dd71<_0x1448e8[_0x25e5('0x14')][_0x25e5('0x15')][_0x25e5('0x16')];_0x25dd71++){_0x897240['fileText']+=_0x1448e8[_0x25e5('0x14')][_0x25e5('0x15')][_0x25dd71][_0x25e5('0x18')]+'';}}return _0xd1cc7b['update'](_0x897240);})[_0x25e5('0xc')](function(){logger[_0x25e5('0x7')](util['format'](_0x25e5('0x19'),_0xd1cc7b['id']));if(!_0xd1cc7b[_0x25e5('0x1a')]){throw new db[(_0x25e5('0x1b'))]['ValidationError'](_0x25e5('0x1c'));}if(!_0x519562[_0x25e5('0x1d')]||!_0x519562[_0x25e5('0x1e')]||!_0x519562[_0x25e5('0x1f')]||!_0x519562[_0x25e5('0x20')]||!_0x519562['bucket']){throw new db[(_0x25e5('0x1b'))][(_0x25e5('0x21'))]('Sentiment\x20Analysis\x20not\x20configured');}if(!_0x897240[_0x25e5('0x17')]){throw new Error(_0x25e5('0x22'));}if(_0x519562[_0x25e5('0x1e')]===_0x5a1247['id']){return _0x5a1247;}else{return db[_0x25e5('0x23')][_0x25e5('0x24')]({'where':{'id':_settings[_0x25e5('0x1e')]}});}})[_0x25e5('0xc')](function(_0x2689af){if(!_0x2689af){throw new db['Sequelize'][(_0x25e5('0x21'))](_0x25e5('0x25'));}if(!_0x2689af[_0x25e5('0x9')]||!_0x2689af[_0x25e5('0x26')]){throw new db[(_0x25e5('0x1b'))][(_0x25e5('0x21'))](_0x25e5('0x27'));}_0x1a0616=_0x2689af;logger['info'](util[_0x25e5('0x8')](_0x25e5('0x28'),_0xd1cc7b['id']));return sentiment(_0x1a0616['data1'],_0x1a0616['data2'],_0x519562[_0x25e5('0x1f')],_0x897240[_0x25e5('0x17')],_0x519562[_0x25e5('0x20')]);})[_0x25e5('0xc')](function(_0x24e617){logger[_0x25e5('0x7')](util[_0x25e5('0x8')](_0x25e5('0x29'),_0xd1cc7b['id']));return _0xd1cc7b[_0x25e5('0x2a')]({'sentiment':_0x24e617[_0x25e5('0x2b')],'sPositive':_0x24e617[_0x25e5('0x2c')][_0x25e5('0x2d')],'sNegative':_0x24e617[_0x25e5('0x2c')][_0x25e5('0x2e')],'sMixed':_0x24e617[_0x25e5('0x2c')][_0x25e5('0x2f')],'sNeutral':_0x24e617[_0x25e5('0x2c')][_0x25e5('0x30')]});})[_0x25e5('0xc')](function(){logger['info'](util[_0x25e5('0x8')](_0x25e5('0x19'),_0xd1cc7b['id']));_0x55da6a();});case _0x25e5('0x31'):return _0xd1cc7b[_0x25e5('0x2a')]({'transcribeStatus':_0x25e5('0x31'),'failureReason':_0x369576[_0x25e5('0xf')][_0x25e5('0x32')]})[_0x25e5('0xc')](function(){logger[_0x25e5('0x7')](util[_0x25e5('0x8')]('[RECORDING:%d]\x20Voice\x20Recording\x20entry\x20updated',_0xd1cc7b['id']));_0x55da6a();});default:logger['info'](util['format'](_0x25e5('0x33'),_0xd1cc7b['id']));break;}}else{return BPromise[_0x25e5('0x34')]()[_0x25e5('0xc')](function(){if(!_0xd1cc7b[_0x25e5('0x1a')]){throw new db[(_0x25e5('0x1b'))][(_0x25e5('0x21'))]('Sentiment\x20Analysis\x20not\x20requested');}if(!_0x519562[_0x25e5('0x1d')]||!_0x519562['sentimentAccountId']||!_0x519562[_0x25e5('0x1f')]||!_0x519562[_0x25e5('0x20')]||!_0x519562[_0x25e5('0x35')]){throw new db[(_0x25e5('0x1b'))][(_0x25e5('0x21'))]('Sentiment\x20Analysis\x20not\x20configured');}if(!_0xd1cc7b['fileText']){throw new Error(_0x25e5('0x22'));}if(_0x519562[_0x25e5('0x1e')]===_0x5a1247['id']){return _0x5a1247;}else{return db[_0x25e5('0x23')][_0x25e5('0x24')]({'where':{'id':_settings[_0x25e5('0x1e')]}});}})['then'](function(_0x57c00e){if(!_0x57c00e){throw new db[(_0x25e5('0x1b'))][(_0x25e5('0x21'))](_0x25e5('0x25'));}if(!_0x57c00e[_0x25e5('0x9')]||!_0x57c00e['data2']){throw new db[(_0x25e5('0x1b'))][(_0x25e5('0x21'))](_0x25e5('0x27'));}_0x1a0616=_0x57c00e;logger[_0x25e5('0x7')](util[_0x25e5('0x8')](_0x25e5('0x28'),_0xd1cc7b['id']));return sentiment(_0x1a0616[_0x25e5('0x9')],_0x1a0616[_0x25e5('0x26')],_0x519562[_0x25e5('0x1f')],_0xd1cc7b[_0x25e5('0x17')],_0x519562[_0x25e5('0x20')]);})[_0x25e5('0xc')](function(_0x2b97d9){logger[_0x25e5('0x7')](util[_0x25e5('0x8')]('[RECORDING:%d]\x20Sentiment\x20Analysis\x20available',_0xd1cc7b['id']));return _0xd1cc7b[_0x25e5('0x2a')]({'sentiment':_0x2b97d9[_0x25e5('0x2b')],'sPositive':_0x2b97d9[_0x25e5('0x2c')][_0x25e5('0x2d')],'sNegative':_0x2b97d9[_0x25e5('0x2c')][_0x25e5('0x2e')],'sMixed':_0x2b97d9['SentimentScore'][_0x25e5('0x2f')],'sNeutral':_0x2b97d9[_0x25e5('0x2c')]['Neutral'],'transcribeStatus':_0x25e5('0x10')});})[_0x25e5('0xc')](function(){logger[_0x25e5('0x7')](util[_0x25e5('0x8')](_0x25e5('0x19'),_0xd1cc7b['id']));_0x55da6a();});}})[_0x25e5('0x36')](function(_0x418186){if(_0x418186){if(!_0x418186[_0x25e5('0x37')]||_0x418186[_0x25e5('0x37')]!=='SequelizeValidationError'){logger['error'](util['format']('[RECORDING:%d]\x20Error\x20running\x20Transcribe\x20&\x20Sentiment\x20Analysis',_0xd1cc7b['id']),util[_0x25e5('0x38')](_0x418186,{'showHidden':![],'depth':null}));}}_0x55da6a();});});}function checkTranscribe(){var _0xe07658;var _0x328a74;var _0x3eb8ed;return db[_0x25e5('0x39')][_0x25e5('0x3a')]({'where':{'transcribeStatus':_0x25e5('0x3b')}})[_0x25e5('0xc')](function(_0x999bc0){if(!_0x999bc0||!_0x999bc0['length']){throw new db[(_0x25e5('0x1b'))][(_0x25e5('0x21'))](_0x25e5('0x3c'));}_0xe07658=_0x999bc0;return db[_0x25e5('0x3d')]['findOne']({'where':{'id':0x1}});})[_0x25e5('0xc')](function(_0x258794){if(!_0x258794){throw new db[(_0x25e5('0x1b'))]['ValidationError']('Settings\x20not\x20available');}_0x328a74=_0x258794;if(!_0x328a74['transcribe']||!_0x328a74[_0x25e5('0x3e')]||!_0x328a74[_0x25e5('0xa')]||!_0x328a74[_0x25e5('0x20')]||!_0x328a74[_0x25e5('0x35')]){throw new db[(_0x25e5('0x1b'))][(_0x25e5('0x21'))](_0x25e5('0x3f'));}return db[_0x25e5('0x23')]['findOne']({'where':{'id':_0x328a74[_0x25e5('0x3e')]}});})[_0x25e5('0xc')](function(_0x5100e1){if(!_0x5100e1){throw new db[(_0x25e5('0x1b'))]['ValidationError'](_0x25e5('0x25'));}if(!_0x5100e1['data1']||!_0x5100e1[_0x25e5('0x26')]){throw new db['Sequelize']['ValidationError'](_0x25e5('0x27'));}_0x3eb8ed=_0x5100e1;var _0xb91b83=[];_0xe07658[_0x25e5('0x40')](function(_0x281349){_0xb91b83[_0x25e5('0x41')](checkTranscribeJob(_0x281349,_0x328a74,_0x3eb8ed));});return BPromise['all'](_0xb91b83);})[_0x25e5('0x36')](function(_0x302f49){if(_0x302f49){if(!_0x302f49[_0x25e5('0x37')]||_0x302f49[_0x25e5('0x37')]!=='SequelizeValidationError'){logger['error'](util[_0x25e5('0x38')](_0x302f49,{'showHidden':![],'depth':null}));}}});}exports[_0x25e5('0x42')]=function(){setInterval(function(){return checkTranscribe();},0x3c*0x3e8);return checkTranscribe();}; \ No newline at end of file diff --git a/server/config/seedContact.js b/server/config/seedContact.js index a4898bd..2ab9470 100644 --- a/server/config/seedContact.js +++ b/server/config/seedContact.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xe427=['Innocenzo','Biondo','innocenzo.biondo','@xcally.com','push','now','CmContact','then','log','contacts1','CmHopper','bulkCreate','finished\x20populating','hopper1','contacts2','hopper2','catch','util','../mysqldb'];(function(_0x507761,_0x51791a){var _0x129b44=function(_0xdbd6d2){while(--_0xdbd6d2){_0x507761['push'](_0x507761['shift']());}};_0x129b44(++_0x51791a);}(_0xe427,0x1ec));var _0x7e42=function(_0x5f0d03,_0x46401f){_0x5f0d03=_0x5f0d03-0x0;var _0x2b7248=_0xe427[_0x5f0d03];return _0x2b7248;};'use strict';var util=require(_0x7e42('0x0'));var db=require(_0x7e42('0x1'))['db'];var contacts=[];var hopper=[];var contacts2=[];var hopper2=[];for(var i=0x1;i<=0x4b0;i+=0x1){contacts['push']({'id':i,'firstName':_0x7e42('0x2')+i,'lastName':_0x7e42('0x3')+i,'phone':0xf879fb460+i,'email':_0x7e42('0x4')+i+_0x7e42('0x5')});}for(var i=0x1;i<=0x4b0;i+=0x1){hopper[_0x7e42('0x6')]({'id':i,'active':![],'scheduledat':Date[_0x7e42('0x7')](),'countbusyretry':0x0,'countcongestionretry':0x0,'countnoanswerretry':0x0,'ContactId':i,'ListId':0x1,'UserId':0x1,'VoiceQueueId':0x3fd,'createdAt':Date[_0x7e42('0x7')](),'updatedAt':Date['now']()});}for(var i=0x4b1;i<=0x960;i+=0x1){contacts2[_0x7e42('0x6')]({'id':i,'firstName':_0x7e42('0x2')+i,'lastName':_0x7e42('0x3')+i,'phone':0xf879fb460+i,'email':_0x7e42('0x4')+i+_0x7e42('0x5')});}for(var i=0x4b1;i<=0x960;i+=0x1){hopper2['push']({'id':i,'active':![],'scheduledat':Date[_0x7e42('0x7')](),'countbusyretry':0x0,'countcongestionretry':0x0,'countnoanswerretry':0x0,'ContactId':i,'ListId':0x1,'UserId':0x1,'VoiceQueueId':0x3fd,'createdAt':Date[_0x7e42('0x7')](),'updatedAt':Date[_0x7e42('0x7')]()});}db[_0x7e42('0x8')]['destroy']({'where':{}})[_0x7e42('0x9')](function(){return db['CmContact']['bulkCreate'](contacts);})[_0x7e42('0x9')](function(){console[_0x7e42('0xa')]('finished\x20populating',_0x7e42('0xb'));return db[_0x7e42('0xc')]['destroy']({'where':{}});})[_0x7e42('0x9')](function(){return db['CmHopper'][_0x7e42('0xd')](hopper);})[_0x7e42('0x9')](function(){console[_0x7e42('0xa')](_0x7e42('0xe'),_0x7e42('0xf'));return db[_0x7e42('0x8')]['bulkCreate'](contacts2);})[_0x7e42('0x9')](function(){console[_0x7e42('0xa')]('finished\x20populating',_0x7e42('0x10'));return db[_0x7e42('0xc')][_0x7e42('0xd')](hopper2);})[_0x7e42('0x9')](function(){console[_0x7e42('0xa')](_0x7e42('0xe'),_0x7e42('0x11'));})[_0x7e42('0x12')](function(_0x4f40a2){console[_0x7e42('0xa')](_0x4f40a2);}); \ No newline at end of file +var _0x7ea3=['CmContact','destroy','bulkCreate','then','log','finished\x20populating','contacts1','CmHopper','hopper1','contacts2','hopper2','catch','../mysqldb','push','Innocenzo','Biondo','@xcally.com','now'];(function(_0x68d476,_0x5418bb){var _0x11d41c=function(_0x22a291){while(--_0x22a291){_0x68d476['push'](_0x68d476['shift']());}};_0x11d41c(++_0x5418bb);}(_0x7ea3,0xae));var _0x37ea=function(_0x53199f,_0x1dac3a){_0x53199f=_0x53199f-0x0;var _0x1f9609=_0x7ea3[_0x53199f];return _0x1f9609;};'use strict';var util=require('util');var db=require(_0x37ea('0x0'))['db'];var contacts=[];var hopper=[];var contacts2=[];var hopper2=[];for(var i=0x1;i<=0x4b0;i+=0x1){contacts[_0x37ea('0x1')]({'id':i,'firstName':_0x37ea('0x2')+i,'lastName':_0x37ea('0x3')+i,'phone':0xf879fb460+i,'email':'innocenzo.biondo'+i+_0x37ea('0x4')});}for(var i=0x1;i<=0x4b0;i+=0x1){hopper[_0x37ea('0x1')]({'id':i,'active':![],'scheduledat':Date[_0x37ea('0x5')](),'countbusyretry':0x0,'countcongestionretry':0x0,'countnoanswerretry':0x0,'ContactId':i,'ListId':0x1,'UserId':0x1,'VoiceQueueId':0x3fd,'createdAt':Date[_0x37ea('0x5')](),'updatedAt':Date[_0x37ea('0x5')]()});}for(var i=0x4b1;i<=0x960;i+=0x1){contacts2[_0x37ea('0x1')]({'id':i,'firstName':_0x37ea('0x2')+i,'lastName':_0x37ea('0x3')+i,'phone':0xf879fb460+i,'email':'innocenzo.biondo'+i+_0x37ea('0x4')});}for(var i=0x4b1;i<=0x960;i+=0x1){hopper2[_0x37ea('0x1')]({'id':i,'active':![],'scheduledat':Date[_0x37ea('0x5')](),'countbusyretry':0x0,'countcongestionretry':0x0,'countnoanswerretry':0x0,'ContactId':i,'ListId':0x1,'UserId':0x1,'VoiceQueueId':0x3fd,'createdAt':Date['now'](),'updatedAt':Date['now']()});}db[_0x37ea('0x6')][_0x37ea('0x7')]({'where':{}})['then'](function(){return db['CmContact'][_0x37ea('0x8')](contacts);})[_0x37ea('0x9')](function(){console[_0x37ea('0xa')](_0x37ea('0xb'),_0x37ea('0xc'));return db[_0x37ea('0xd')][_0x37ea('0x7')]({'where':{}});})[_0x37ea('0x9')](function(){return db[_0x37ea('0xd')][_0x37ea('0x8')](hopper);})['then'](function(){console[_0x37ea('0xa')]('finished\x20populating',_0x37ea('0xe'));return db['CmContact'][_0x37ea('0x8')](contacts2);})[_0x37ea('0x9')](function(){console[_0x37ea('0xa')](_0x37ea('0xb'),_0x37ea('0xf'));return db[_0x37ea('0xd')][_0x37ea('0x8')](hopper2);})['then'](function(){console[_0x37ea('0xa')](_0x37ea('0xb'),_0x37ea('0x10'));})[_0x37ea('0x11')](function(_0xcbb4d4){console['log'](_0xcbb4d4);}); \ No newline at end of file diff --git a/server/config/seedUsers.js b/server/config/seedUsers.js index 2a83ab7..edfb602 100644 --- a/server/config/seedUsers.js +++ b/server/config/seedUsers.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xc31a=['udp','wss','all','ulaw','yes','\x22%s\x22\x20<%s>','bulkCreate','then','log','add\x20user','catch','util','%s%s','agent','format','%s%s@xcally.com','friend'];(function(_0x49caa9,_0x52f77d){var _0x5d3270=function(_0x1af9d3){while(--_0x1af9d3){_0x49caa9['push'](_0x49caa9['shift']());}};_0x5d3270(++_0x52f77d);}(_0xc31a,0x71));var _0xac31=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0xc31a[_0x14add3];return _0x4a174f;};'use strict';var util=require(_0xac31('0x0'));var db=require('../mysqldb')['db'];var users=[];for(var i=0x1;i<=0xc8;i+=0x1){users['push']({'name':util['format'](_0xac31('0x1'),_0xac31('0x2'),i),'fullname':util[_0xac31('0x3')]('%s%s','agent',i),'email':util[_0xac31('0x3')](_0xac31('0x4'),'agent',i),'role':'agent','password':'password','internal':0xfa0+i,'type':_0xac31('0x5'),'transport':[_0xac31('0x6'),'ws',_0xac31('0x7')],'disallow':[_0xac31('0x8')],'allow':[_0xac31('0x9')],'defaultuser':util['format'](_0xac31('0x1'),_0xac31('0x2'),i),'encryption':_0xac31('0xa'),'avpf':_0xac31('0xa'),'force_avp':_0xac31('0xa'),'icesupport':_0xac31('0xa'),'dtlsenable':_0xac31('0xa'),'dtlsverify':'no','dtlscertfile':'/etc/pki/tls/certs/motion.crt','dtlsprivatekey':'/etc/pki/tls/private/motion.key','dtlssetup':'actpass','callerid':util[_0xac31('0x3')](_0xac31('0xb'),util[_0xac31('0x3')](_0xac31('0x1'),_0xac31('0x2'),i),0xfa0+i)});}db['User'][_0xac31('0xc')](users)[_0xac31('0xd')](function(){console[_0xac31('0xe')](_0xac31('0xf'));})[_0xac31('0x10')](function(_0x1efd39){console[_0xac31('0xe')](_0x1efd39);}); \ No newline at end of file +var _0x4404=['bulkCreate','then','add\x20user','catch','log','util','../mysqldb','format','%s%s','agent','password','udp','wss','ulaw','yes','/etc/pki/tls/certs/motion.crt','actpass','\x22%s\x22\x20<%s>','User'];(function(_0x171345,_0x215194){var _0x17a8a2=function(_0x3b72ad){while(--_0x3b72ad){_0x171345['push'](_0x171345['shift']());}};_0x17a8a2(++_0x215194);}(_0x4404,0x122));var _0x4440=function(_0x2c44e5,_0x59de32){_0x2c44e5=_0x2c44e5-0x0;var _0x3fe693=_0x4404[_0x2c44e5];return _0x3fe693;};'use strict';var util=require(_0x4440('0x0'));var db=require(_0x4440('0x1'))['db'];var users=[];for(var i=0x1;i<=0xc8;i+=0x1){users['push']({'name':util[_0x4440('0x2')](_0x4440('0x3'),_0x4440('0x4'),i),'fullname':util[_0x4440('0x2')](_0x4440('0x3'),_0x4440('0x4'),i),'email':util[_0x4440('0x2')]('%s%s@xcally.com',_0x4440('0x4'),i),'role':_0x4440('0x4'),'password':_0x4440('0x5'),'internal':0xfa0+i,'type':'friend','transport':[_0x4440('0x6'),'ws',_0x4440('0x7')],'disallow':['all'],'allow':[_0x4440('0x8')],'defaultuser':util[_0x4440('0x2')](_0x4440('0x3'),_0x4440('0x4'),i),'encryption':'yes','avpf':_0x4440('0x9'),'force_avp':_0x4440('0x9'),'icesupport':_0x4440('0x9'),'dtlsenable':_0x4440('0x9'),'dtlsverify':'no','dtlscertfile':_0x4440('0xa'),'dtlsprivatekey':'/etc/pki/tls/private/motion.key','dtlssetup':_0x4440('0xb'),'callerid':util[_0x4440('0x2')](_0x4440('0xc'),util[_0x4440('0x2')](_0x4440('0x3'),_0x4440('0x4'),i),0xfa0+i)});}db[_0x4440('0xd')][_0x4440('0xe')](users)[_0x4440('0xf')](function(){console['log'](_0x4440('0x10'));})[_0x4440('0x11')](function(_0x290e16){console[_0x4440('0x12')](_0x290e16);}); \ No newline at end of file diff --git a/server/config/socketio.js b/server/config/socketio.js index 5502b11..f66f53e 100644 --- a/server/config/socketio.js +++ b/server/config/socketio.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x2bc5=['nsp','DISCONNECTED','lodash','util','bluebird','../mysqldb','name','Agents','role','agent','telephone','ivr','UserProfileSection','findOne','autoAssociation','VoiceQueues','ChatQueues','FaxQueues','SmsQueues','MailQueues','findAll','Telephones','Trunks','IvrCampaigns','UserProfileResource','resourceId','then','map','User','where','Campaign','type','format','%s:queue:%s','length','user:%s','handshake','query','find','userProfileId','ChatInteraction','ChatInteractions','MailInteraction','MailInteractions','FaxInteraction','FaxInteractions','SmsInteraction','SmsInteractions','OpenchannelInteractions','WhatsappInteraction','WhatsappInteractions','admin','hasOwnProperty','include','push','ChatQueue','SmsQueue','WhatsappQueue','Trunk','user','voice:inbound','voice:outbound','OpenchannelQueue','WhatsappQueues','getVoiceQueues','getChatQueues','getSmsQueues','getMailQueues','getOpenchannelQueues','getWhatsappQueues','voice','chat','mail','openchannel','whatsapp','telephone:%s','trunk:%s','removeChatInteractions','emit','leave','removeMailInteractions','removeFaxInteractions','user_has_fax_interactions:remove','user_has_sms_interactions:remove','removeOpenchannelInteractions','user_has_openchannel_interactions:remove','removeWhatsappInteractions','user_has_whatsapp_interactions:remove','catch','log','default','setMaxListeners','address','request','connection','remoteAddress','remotePort','connectedAt'];(function(_0x3eb570,_0x489a5a){var _0x270bd3=function(_0x43d6a2){while(--_0x43d6a2){_0x3eb570['push'](_0x3eb570['shift']());}};_0x270bd3(++_0x489a5a);}(_0x2bc5,0x18a));var _0x52bc=function(_0x214185,_0x3b6a80){_0x214185=_0x214185-0x0;var _0xc6f9eb=_0x2bc5[_0x214185];return _0xc6f9eb;};'use strict';var _=require(_0x52bc('0x0'));var util=require(_0x52bc('0x1'));var BPromise=require(_0x52bc('0x2'));var db=require(_0x52bc('0x3'))['db'];var config=require('./environment');var queryQueues={'attributes':['id',_0x52bc('0x4')],'include':[{'as':_0x52bc('0x5'),'model':db['User'],'attributes':['id',_0x52bc('0x4'),_0x52bc('0x6')],'raw':!![],'where':{'role':_0x52bc('0x7')},'required':![]}]};var queryTelephones={'raw':!![],'attributes':['id','name'],'where':{'role':_0x52bc('0x8')}};var queryTrunks={'raw':!![],'attributes':['id',_0x52bc('0x4')]};var queryAgents={'raw':!![],'attributes':['id',_0x52bc('0x4')],'where':{'role':_0x52bc('0x7')}};var queryCampaigns={'raw':!![],'attributes':['id',_0x52bc('0x4'),'type'],'where':{'type':_0x52bc('0x9')}};function getAssociatedResources(_0x363ce6,_0x2a1f3d,_0x182b75){return db[_0x52bc('0xa')][_0x52bc('0xb')]({'where':{'name':_0x363ce6,'userProfileId':_0x2a1f3d},'raw':!![]})['then'](function(_0x244748){if(_0x244748){if(_0x244748[_0x52bc('0xc')]){switch(_0x363ce6){case _0x52bc('0xd'):case _0x52bc('0xe'):case _0x52bc('0xf'):case _0x52bc('0x10'):case _0x52bc('0x11'):case'OpenchannelQueues':case'WhatsappQueues':return db[_0x182b75][_0x52bc('0x12')](queryQueues);case _0x52bc('0x13'):return db[_0x182b75][_0x52bc('0x12')](queryTelephones);case _0x52bc('0x14'):return db[_0x182b75]['findAll'](queryTrunks);case _0x52bc('0x15'):return db[_0x182b75][_0x52bc('0x12')](queryCampaigns);}}else{return db[_0x52bc('0x16')][_0x52bc('0x12')]({'attributes':[_0x52bc('0x17')],'where':{'sectionId':_0x244748['id']},'raw':!![]})[_0x52bc('0x18')](function(_0x5ce652){if(_0x5ce652){var _0xf44887={'where':{'id':_[_0x52bc('0x19')](_0x5ce652,_0x52bc('0x17'))},'raw':!![]};switch(_0x182b75){case _0x52bc('0x1a'):_0xf44887[_0x52bc('0x1b')]['role']=_0x52bc('0x8');break;case _0x52bc('0x1c'):_0xf44887[_0x52bc('0x1b')][_0x52bc('0x1d')]='ivr';break;}return db[_0x182b75]['findAll'](_0xf44887);}else{return[];}});}}else{return[];}})[_0x52bc('0x18')](function(_0x2b2679){return _0x2b2679;});}function joinOrLeaveQueues(_0x2476af,_0x4bdef6,_0x27c175,_0x1d7d0c){_0x2476af[_0x4bdef6](util[_0x52bc('0x1e')](_0x52bc('0x1f'),_0x27c175,_0x1d7d0c[_0x52bc('0x4')]));if(_0x1d7d0c[_0x52bc('0x5')]){for(var _0x138452=0x0;_0x138452<_0x1d7d0c[_0x52bc('0x5')][_0x52bc('0x20')];_0x138452+=0x1){_0x2476af[_0x4bdef6](util[_0x52bc('0x1e')](_0x52bc('0x21'),_0x1d7d0c[_0x52bc('0x5')][_0x138452][_0x52bc('0x4')]));}}}function joinOrLeave(_0x16ced6,_0x577452,_0x1ef568){var _0x307360;if(_0x16ced6[_0x52bc('0x22')][_0x52bc('0x23')]['id']){db[_0x52bc('0x1a')][_0x52bc('0x24')]({'attributes':['id',_0x52bc('0x4'),_0x52bc('0x6'),_0x52bc('0x25')],'where':{'id':_0x16ced6[_0x52bc('0x22')][_0x52bc('0x23')]['id']},'include':[{'model':db[_0x52bc('0x26')],'as':_0x52bc('0x27'),'attributes':['id'],'raw':!![]},{'model':db[_0x52bc('0x28')],'as':_0x52bc('0x29'),'attributes':['id'],'raw':!![]},{'model':db[_0x52bc('0x2a')],'as':_0x52bc('0x2b'),'attributes':['id'],'raw':!![]},{'model':db[_0x52bc('0x2c')],'as':_0x52bc('0x2d'),'attributes':['id'],'raw':!![]},{'model':db['OpenchannelInteraction'],'as':_0x52bc('0x2e'),'attributes':['id'],'raw':!![]},{'model':db[_0x52bc('0x2f')],'as':_0x52bc('0x30'),'attributes':['id'],'raw':!![]}]})[_0x52bc('0x18')](function(_0x5e1e02){if(_0x5e1e02){_0x307360=_0x5e1e02;_0x16ced6[_0x577452](util[_0x52bc('0x1e')](_0x52bc('0x21'),_0x5e1e02[_0x52bc('0x4')]));var _0x35ad25=[];switch(_0x5e1e02[_0x52bc('0x6')]){case _0x52bc('0x31'):_0x16ced6[_0x577452]('voice:inbound');_0x16ced6[_0x577452]('voice:outbound');if(queryQueues[_0x52bc('0x32')]('include')){delete queryQueues[_0x52bc('0x33')];}_0x35ad25[_0x52bc('0x34')](db['VoiceQueue'][_0x52bc('0x12')](queryQueues));_0x35ad25['push'](db[_0x52bc('0x35')][_0x52bc('0x12')](queryQueues));_0x35ad25[_0x52bc('0x34')](db['FaxQueue']['findAll'](queryQueues));_0x35ad25[_0x52bc('0x34')](db[_0x52bc('0x36')][_0x52bc('0x12')](queryQueues));_0x35ad25[_0x52bc('0x34')](db['MailQueue']['findAll'](queryQueues));_0x35ad25[_0x52bc('0x34')](db['OpenchannelQueue'][_0x52bc('0x12')](queryQueues));_0x35ad25[_0x52bc('0x34')](db[_0x52bc('0x37')][_0x52bc('0x12')](queryQueues));_0x35ad25[_0x52bc('0x34')](db[_0x52bc('0x1a')][_0x52bc('0x12')](queryTelephones));_0x35ad25[_0x52bc('0x34')](db[_0x52bc('0x38')][_0x52bc('0x12')](queryTrunks));_0x35ad25['push'](db[_0x52bc('0x1c')]['findAll'](queryCampaigns));_0x35ad25['push'](db[_0x52bc('0x1a')][_0x52bc('0x12')](queryAgents));break;case _0x52bc('0x39'):_0x16ced6[_0x577452](_0x52bc('0x3a'));_0x16ced6[_0x577452](_0x52bc('0x3b'));_0x35ad25[_0x52bc('0x34')](getAssociatedResources('VoiceQueues',_0x5e1e02['userProfileId'],'VoiceQueue'));_0x35ad25[_0x52bc('0x34')](getAssociatedResources(_0x52bc('0xe'),_0x5e1e02[_0x52bc('0x25')],_0x52bc('0x35')));_0x35ad25['push'](getAssociatedResources(_0x52bc('0xf'),_0x5e1e02[_0x52bc('0x25')],'FaxQueue'));_0x35ad25[_0x52bc('0x34')](getAssociatedResources(_0x52bc('0x10'),_0x5e1e02[_0x52bc('0x25')],_0x52bc('0x36')));_0x35ad25[_0x52bc('0x34')](getAssociatedResources('MailQueues',_0x5e1e02['userProfileId'],'MailQueue'));_0x35ad25[_0x52bc('0x34')](getAssociatedResources('OpenchannelQueues',_0x5e1e02['userProfileId'],_0x52bc('0x3c')));_0x35ad25['push'](getAssociatedResources(_0x52bc('0x3d'),_0x5e1e02['userProfileId'],_0x52bc('0x37')));_0x35ad25[_0x52bc('0x34')](getAssociatedResources(_0x52bc('0x13'),_0x5e1e02[_0x52bc('0x25')],_0x52bc('0x1a')));_0x35ad25[_0x52bc('0x34')](getAssociatedResources('Trunks',_0x5e1e02['userProfileId'],_0x52bc('0x38')));_0x35ad25[_0x52bc('0x34')](getAssociatedResources(_0x52bc('0x15'),_0x5e1e02[_0x52bc('0x25')],_0x52bc('0x1c')));_0x35ad25['push'](db[_0x52bc('0x1a')]['findAll'](queryAgents));break;case _0x52bc('0x7'):_0x16ced6[_0x577452]('voice:inbound');_0x16ced6[_0x577452](_0x52bc('0x3b'));_0x35ad25['push'](_0x5e1e02[_0x52bc('0x3e')]({'attributes':['id',_0x52bc('0x4')]}));_0x35ad25[_0x52bc('0x34')](_0x5e1e02[_0x52bc('0x3f')]({'attributes':['id','name']}));_0x35ad25[_0x52bc('0x34')](_0x5e1e02['getFaxQueues']({'attributes':['id',_0x52bc('0x4')]}));_0x35ad25['push'](_0x5e1e02[_0x52bc('0x40')]({'attributes':['id',_0x52bc('0x4')]}));_0x35ad25['push'](_0x5e1e02[_0x52bc('0x41')]({'attributes':['id',_0x52bc('0x4')]}));_0x35ad25[_0x52bc('0x34')](_0x5e1e02[_0x52bc('0x42')]({'attributes':['id',_0x52bc('0x4')]}));_0x35ad25[_0x52bc('0x34')](_0x5e1e02[_0x52bc('0x43')]({'attributes':['id',_0x52bc('0x4')]}));break;}return BPromise['all'](_0x35ad25);}})['then'](function(_0x2fc1b5){if(_0x2fc1b5&&_0x2fc1b5[_0x52bc('0x20')]){for(var _0x5349a9=0x0;_0x5349a9<_0x2fc1b5['length'];_0x5349a9+=0x1){for(var _0x5eb5af=0x0;_0x5eb5af<_0x2fc1b5[_0x5349a9][_0x52bc('0x20')];_0x5eb5af+=0x1){switch(_0x5349a9){case 0x0:joinOrLeaveQueues(_0x16ced6,_0x577452,_0x52bc('0x44'),_0x2fc1b5[_0x5349a9][_0x5eb5af]);break;case 0x1:joinOrLeaveQueues(_0x16ced6,_0x577452,_0x52bc('0x45'),_0x2fc1b5[_0x5349a9][_0x5eb5af]);break;case 0x2:joinOrLeaveQueues(_0x16ced6,_0x577452,'fax',_0x2fc1b5[_0x5349a9][_0x5eb5af]);break;case 0x3:joinOrLeaveQueues(_0x16ced6,_0x577452,'sms',_0x2fc1b5[_0x5349a9][_0x5eb5af]);break;case 0x4:joinOrLeaveQueues(_0x16ced6,_0x577452,_0x52bc('0x46'),_0x2fc1b5[_0x5349a9][_0x5eb5af]);break;case 0x5:joinOrLeaveQueues(_0x16ced6,_0x577452,_0x52bc('0x47'),_0x2fc1b5[_0x5349a9][_0x5eb5af]);break;case 0x6:joinOrLeaveQueues(_0x16ced6,_0x577452,_0x52bc('0x48'),_0x2fc1b5[_0x5349a9][_0x5eb5af]);break;case 0x7:_0x16ced6[_0x577452](util[_0x52bc('0x1e')](_0x52bc('0x49'),_0x2fc1b5[_0x5349a9][_0x5eb5af][_0x52bc('0x4')]));break;case 0x8:_0x16ced6[_0x577452](util['format'](_0x52bc('0x4a'),_0x2fc1b5[_0x5349a9][_0x5eb5af][_0x52bc('0x4')]));break;case 0x9:_0x16ced6[_0x577452](util[_0x52bc('0x1e')]('campaign:%s:%s',_0x2fc1b5[_0x5349a9][_0x5eb5af][_0x52bc('0x1d')],_0x2fc1b5[_0x5349a9][_0x5eb5af][_0x52bc('0x4')]));break;case 0xa:_0x16ced6[_0x577452](util[_0x52bc('0x1e')](_0x52bc('0x21'),_0x2fc1b5[_0x5349a9][_0x5eb5af][_0x52bc('0x4')]));break;}}}}})[_0x52bc('0x18')](function(){if(_0x577452==='leave'){var _0x539dc0=_[_0x52bc('0x19')](_0x307360['ChatInteractions'],'id');return _0x307360[_0x52bc('0x4b')](_0x539dc0)[_0x52bc('0x18')](function(){for(var _0x30e1f1=0x0;_0x30e1f1<_0x539dc0[_0x52bc('0x20')];_0x30e1f1+=0x1){_0x1ef568[_0x52bc('0x4c')]('user_has_chat_interactions:remove',{'ChatInteractionId':Number(_0x539dc0[_0x30e1f1]),'UserId':Number(_0x307360['id'])});}});}})[_0x52bc('0x18')](function(){if(_0x577452===_0x52bc('0x4d')){var _0x5ed7ab=_['map'](_0x307360[_0x52bc('0x29')],'id');return _0x307360[_0x52bc('0x4e')](_0x5ed7ab)[_0x52bc('0x18')](function(){for(var _0x23b834=0x0;_0x23b834<_0x5ed7ab[_0x52bc('0x20')];_0x23b834+=0x1){_0x1ef568[_0x52bc('0x4c')]('user_has_mail_interactions:remove',{'MailInteractionId':Number(_0x5ed7ab[_0x23b834]),'UserId':Number(_0x307360['id'])});}});}})[_0x52bc('0x18')](function(){if(_0x577452===_0x52bc('0x4d')){var _0x341784=_['map'](_0x307360['FaxInteractions'],'id');return _0x307360[_0x52bc('0x4f')](_0x341784)[_0x52bc('0x18')](function(){for(var _0x4114fa=0x0;_0x4114fa<_0x341784['length'];_0x4114fa+=0x1){_0x1ef568[_0x52bc('0x4c')](_0x52bc('0x50'),{'FaxInteractionId':Number(_0x341784[_0x4114fa]),'UserId':Number(_0x307360['id'])});}});}})[_0x52bc('0x18')](function(){if(_0x577452===_0x52bc('0x4d')){var _0x2ba84e=_['map'](_0x307360[_0x52bc('0x2d')],'id');return _0x307360['removeSmsInteractions'](_0x2ba84e)[_0x52bc('0x18')](function(){for(var _0x3da764=0x0;_0x3da764<_0x2ba84e[_0x52bc('0x20')];_0x3da764+=0x1){_0x1ef568[_0x52bc('0x4c')](_0x52bc('0x51'),{'SmsInteractionId':Number(_0x2ba84e[_0x3da764]),'UserId':Number(_0x307360['id'])});}});}})[_0x52bc('0x18')](function(){if(_0x577452==='leave'){var _0xc387e6=_[_0x52bc('0x19')](_0x307360[_0x52bc('0x2e')],'id');return _0x307360[_0x52bc('0x52')](_0xc387e6)[_0x52bc('0x18')](function(){for(var _0x2da354=0x0;_0x2da354<_0xc387e6[_0x52bc('0x20')];_0x2da354+=0x1){_0x1ef568[_0x52bc('0x4c')](_0x52bc('0x53'),{'OpenchannelInteractionId':Number(_0xc387e6[_0x2da354]),'UserId':Number(_0x307360['id'])});}});}})[_0x52bc('0x18')](function(){if(_0x577452===_0x52bc('0x4d')){var _0x1480e2=_[_0x52bc('0x19')](_0x307360[_0x52bc('0x30')],'id');return _0x307360[_0x52bc('0x54')](_0x1480e2)[_0x52bc('0x18')](function(){for(var _0x545d23=0x0;_0x545d23<_0x1480e2[_0x52bc('0x20')];_0x545d23+=0x1){_0x1ef568['emit'](_0x52bc('0x55'),{'WhatsappInteractionId':Number(_0x1480e2[_0x545d23]),'UserId':Number(_0x307360['id'])});}});}})[_0x52bc('0x56')](function(_0x2dc2a5){_0x16ced6[_0x52bc('0x57')](_0x2dc2a5);});}}function onDisconnect(_0x3e2e20,_0x1bd16c){joinOrLeave(_0x3e2e20,_0x52bc('0x4d'),_0x1bd16c);}function onConnect(_0x12e057){joinOrLeave(_0x12e057,'join');}exports[_0x52bc('0x58')]=function(_0x5e9f98){_0x5e9f98['on']('connection',function(_0x588968){_0x588968[_0x52bc('0x59')](0x0);_0x588968[_0x52bc('0x5a')]=_0x588968[_0x52bc('0x5b')][_0x52bc('0x5c')][_0x52bc('0x5d')]+':'+_0x588968['request'][_0x52bc('0x5c')][_0x52bc('0x5e')];_0x588968[_0x52bc('0x5f')]=new Date();_0x588968[_0x52bc('0x57')]=function(_0x6baed5){console[_0x52bc('0x57')]('SocketIO\x20'+_0x588968[_0x52bc('0x60')][_0x52bc('0x4')]+'['+_0x588968[_0x52bc('0x5a')]+']',_0x6baed5);};_0x588968['on']('disconnect',function(){onDisconnect(_0x588968,_0x5e9f98);_0x588968['log'](_0x52bc('0x61'));});onConnect(_0x588968);_0x588968[_0x52bc('0x57')]('CONNECTED');});}; \ No newline at end of file +var _0x7d22=['VoiceQueue','ChatQueues','userProfileId','SmsQueues','OpenchannelQueues','WhatsappQueues','Telephones','Trunks','Trunk','getVoiceQueues','getChatQueues','getMailQueues','getOpenchannelQueues','getWhatsappQueues','all','voice','chat','sms','openchannel','whatsapp','telephone:%s','trunk:%s','campaign:%s:%s','leave','removeChatInteractions','emit','user_has_chat_interactions:remove','MailInteractions','removeMailInteractions','removeFaxInteractions','user_has_fax_interactions:remove','user_has_sms_interactions:remove','removeOpenchannelInteractions','user_has_openchannel_interactions:remove','removeWhatsappInteractions','user_has_whatsapp_interactions:remove','catch','log','default','setMaxListeners','address','request','connection','remoteAddress','remotePort','connectedAt','SocketIO\x20','nsp','disconnect','DISCONNECTED','CONNECTED','lodash','util','bluebird','./environment','name','agent','ivr','UserProfileSection','findOne','then','VoiceQueues','FaxQueues','MailQueues','findAll','IvrCampaigns','UserProfileResource','resourceId','map','User','role','telephone','where','type','format','%s:queue:%s','Agents','length','user:%s','handshake','query','find','ChatInteraction','ChatInteractions','MailInteraction','FaxInteraction','FaxInteractions','SmsInteractions','OpenchannelInteraction','WhatsappInteraction','WhatsappInteractions','hasOwnProperty','include','push','ChatQueue','FaxQueue','SmsQueue','OpenchannelQueue','WhatsappQueue','Campaign','user','voice:inbound','voice:outbound'];(function(_0x77aeac,_0x33a278){var _0x5605f4=function(_0x4c5812){while(--_0x4c5812){_0x77aeac['push'](_0x77aeac['shift']());}};_0x5605f4(++_0x33a278);}(_0x7d22,0x1cf));var _0x27d2=function(_0x1ab032,_0x9a2b0b){_0x1ab032=_0x1ab032-0x0;var _0x2d285c=_0x7d22[_0x1ab032];return _0x2d285c;};'use strict';var _=require(_0x27d2('0x0'));var util=require(_0x27d2('0x1'));var BPromise=require(_0x27d2('0x2'));var db=require('../mysqldb')['db'];var config=require(_0x27d2('0x3'));var queryQueues={'attributes':['id',_0x27d2('0x4')],'include':[{'as':'Agents','model':db['User'],'attributes':['id',_0x27d2('0x4'),'role'],'raw':!![],'where':{'role':_0x27d2('0x5')},'required':![]}]};var queryTelephones={'raw':!![],'attributes':['id',_0x27d2('0x4')],'where':{'role':'telephone'}};var queryTrunks={'raw':!![],'attributes':['id',_0x27d2('0x4')]};var queryAgents={'raw':!![],'attributes':['id','name'],'where':{'role':_0x27d2('0x5')}};var queryCampaigns={'raw':!![],'attributes':['id','name','type'],'where':{'type':_0x27d2('0x6')}};function getAssociatedResources(_0x1d458c,_0xbe896a,_0x177d6e){return db[_0x27d2('0x7')][_0x27d2('0x8')]({'where':{'name':_0x1d458c,'userProfileId':_0xbe896a},'raw':!![]})[_0x27d2('0x9')](function(_0x522254){if(_0x522254){if(_0x522254['autoAssociation']){switch(_0x1d458c){case _0x27d2('0xa'):case'ChatQueues':case _0x27d2('0xb'):case'SmsQueues':case _0x27d2('0xc'):case'OpenchannelQueues':case'WhatsappQueues':return db[_0x177d6e][_0x27d2('0xd')](queryQueues);case'Telephones':return db[_0x177d6e][_0x27d2('0xd')](queryTelephones);case'Trunks':return db[_0x177d6e][_0x27d2('0xd')](queryTrunks);case _0x27d2('0xe'):return db[_0x177d6e][_0x27d2('0xd')](queryCampaigns);}}else{return db[_0x27d2('0xf')][_0x27d2('0xd')]({'attributes':[_0x27d2('0x10')],'where':{'sectionId':_0x522254['id']},'raw':!![]})['then'](function(_0x57d0d2){if(_0x57d0d2){var _0x173d54={'where':{'id':_[_0x27d2('0x11')](_0x57d0d2,_0x27d2('0x10'))},'raw':!![]};switch(_0x177d6e){case _0x27d2('0x12'):_0x173d54['where'][_0x27d2('0x13')]=_0x27d2('0x14');break;case'Campaign':_0x173d54[_0x27d2('0x15')][_0x27d2('0x16')]=_0x27d2('0x6');break;}return db[_0x177d6e][_0x27d2('0xd')](_0x173d54);}else{return[];}});}}else{return[];}})[_0x27d2('0x9')](function(_0x4e1397){return _0x4e1397;});}function joinOrLeaveQueues(_0x256993,_0x311484,_0x510be4,_0x898c7e){_0x256993[_0x311484](util[_0x27d2('0x17')](_0x27d2('0x18'),_0x510be4,_0x898c7e[_0x27d2('0x4')]));if(_0x898c7e[_0x27d2('0x19')]){for(var _0x42ed0d=0x0;_0x42ed0d<_0x898c7e[_0x27d2('0x19')][_0x27d2('0x1a')];_0x42ed0d+=0x1){_0x256993[_0x311484](util['format'](_0x27d2('0x1b'),_0x898c7e[_0x27d2('0x19')][_0x42ed0d][_0x27d2('0x4')]));}}}function joinOrLeave(_0x21f436,_0x2fd516,_0x5de317){var _0x1b730c;if(_0x21f436[_0x27d2('0x1c')][_0x27d2('0x1d')]['id']){db[_0x27d2('0x12')][_0x27d2('0x1e')]({'attributes':['id',_0x27d2('0x4'),'role','userProfileId'],'where':{'id':_0x21f436[_0x27d2('0x1c')][_0x27d2('0x1d')]['id']},'include':[{'model':db[_0x27d2('0x1f')],'as':_0x27d2('0x20'),'attributes':['id'],'raw':!![]},{'model':db[_0x27d2('0x21')],'as':'MailInteractions','attributes':['id'],'raw':!![]},{'model':db[_0x27d2('0x22')],'as':_0x27d2('0x23'),'attributes':['id'],'raw':!![]},{'model':db['SmsInteraction'],'as':_0x27d2('0x24'),'attributes':['id'],'raw':!![]},{'model':db[_0x27d2('0x25')],'as':'OpenchannelInteractions','attributes':['id'],'raw':!![]},{'model':db[_0x27d2('0x26')],'as':_0x27d2('0x27'),'attributes':['id'],'raw':!![]}]})['then'](function(_0x486530){if(_0x486530){_0x1b730c=_0x486530;_0x21f436[_0x2fd516](util[_0x27d2('0x17')](_0x27d2('0x1b'),_0x486530['name']));var _0x154949=[];switch(_0x486530['role']){case'admin':_0x21f436[_0x2fd516]('voice:inbound');_0x21f436[_0x2fd516]('voice:outbound');if(queryQueues[_0x27d2('0x28')](_0x27d2('0x29'))){delete queryQueues['include'];}_0x154949['push'](db['VoiceQueue'][_0x27d2('0xd')](queryQueues));_0x154949[_0x27d2('0x2a')](db[_0x27d2('0x2b')][_0x27d2('0xd')](queryQueues));_0x154949[_0x27d2('0x2a')](db[_0x27d2('0x2c')][_0x27d2('0xd')](queryQueues));_0x154949[_0x27d2('0x2a')](db[_0x27d2('0x2d')][_0x27d2('0xd')](queryQueues));_0x154949['push'](db['MailQueue'][_0x27d2('0xd')](queryQueues));_0x154949[_0x27d2('0x2a')](db[_0x27d2('0x2e')][_0x27d2('0xd')](queryQueues));_0x154949['push'](db[_0x27d2('0x2f')][_0x27d2('0xd')](queryQueues));_0x154949[_0x27d2('0x2a')](db[_0x27d2('0x12')]['findAll'](queryTelephones));_0x154949['push'](db['Trunk'][_0x27d2('0xd')](queryTrunks));_0x154949[_0x27d2('0x2a')](db[_0x27d2('0x30')][_0x27d2('0xd')](queryCampaigns));_0x154949[_0x27d2('0x2a')](db[_0x27d2('0x12')][_0x27d2('0xd')](queryAgents));break;case _0x27d2('0x31'):_0x21f436[_0x2fd516](_0x27d2('0x32'));_0x21f436[_0x2fd516](_0x27d2('0x33'));_0x154949[_0x27d2('0x2a')](getAssociatedResources(_0x27d2('0xa'),_0x486530['userProfileId'],_0x27d2('0x34')));_0x154949['push'](getAssociatedResources(_0x27d2('0x35'),_0x486530[_0x27d2('0x36')],_0x27d2('0x2b')));_0x154949['push'](getAssociatedResources('FaxQueues',_0x486530['userProfileId'],_0x27d2('0x2c')));_0x154949[_0x27d2('0x2a')](getAssociatedResources(_0x27d2('0x37'),_0x486530[_0x27d2('0x36')],_0x27d2('0x2d')));_0x154949[_0x27d2('0x2a')](getAssociatedResources('MailQueues',_0x486530[_0x27d2('0x36')],'MailQueue'));_0x154949[_0x27d2('0x2a')](getAssociatedResources(_0x27d2('0x38'),_0x486530[_0x27d2('0x36')],'OpenchannelQueue'));_0x154949[_0x27d2('0x2a')](getAssociatedResources(_0x27d2('0x39'),_0x486530[_0x27d2('0x36')],_0x27d2('0x2f')));_0x154949[_0x27d2('0x2a')](getAssociatedResources(_0x27d2('0x3a'),_0x486530[_0x27d2('0x36')],_0x27d2('0x12')));_0x154949[_0x27d2('0x2a')](getAssociatedResources(_0x27d2('0x3b'),_0x486530[_0x27d2('0x36')],_0x27d2('0x3c')));_0x154949[_0x27d2('0x2a')](getAssociatedResources(_0x27d2('0xe'),_0x486530['userProfileId'],_0x27d2('0x30')));_0x154949[_0x27d2('0x2a')](db[_0x27d2('0x12')][_0x27d2('0xd')](queryAgents));break;case'agent':_0x21f436[_0x2fd516](_0x27d2('0x32'));_0x21f436[_0x2fd516](_0x27d2('0x33'));_0x154949[_0x27d2('0x2a')](_0x486530[_0x27d2('0x3d')]({'attributes':['id',_0x27d2('0x4')]}));_0x154949[_0x27d2('0x2a')](_0x486530[_0x27d2('0x3e')]({'attributes':['id',_0x27d2('0x4')]}));_0x154949[_0x27d2('0x2a')](_0x486530['getFaxQueues']({'attributes':['id','name']}));_0x154949[_0x27d2('0x2a')](_0x486530['getSmsQueues']({'attributes':['id',_0x27d2('0x4')]}));_0x154949[_0x27d2('0x2a')](_0x486530[_0x27d2('0x3f')]({'attributes':['id',_0x27d2('0x4')]}));_0x154949[_0x27d2('0x2a')](_0x486530[_0x27d2('0x40')]({'attributes':['id',_0x27d2('0x4')]}));_0x154949[_0x27d2('0x2a')](_0x486530[_0x27d2('0x41')]({'attributes':['id',_0x27d2('0x4')]}));break;}return BPromise[_0x27d2('0x42')](_0x154949);}})['then'](function(_0x306677){if(_0x306677&&_0x306677[_0x27d2('0x1a')]){for(var _0x25f62f=0x0;_0x25f62f<_0x306677[_0x27d2('0x1a')];_0x25f62f+=0x1){for(var _0x550395=0x0;_0x550395<_0x306677[_0x25f62f][_0x27d2('0x1a')];_0x550395+=0x1){switch(_0x25f62f){case 0x0:joinOrLeaveQueues(_0x21f436,_0x2fd516,_0x27d2('0x43'),_0x306677[_0x25f62f][_0x550395]);break;case 0x1:joinOrLeaveQueues(_0x21f436,_0x2fd516,_0x27d2('0x44'),_0x306677[_0x25f62f][_0x550395]);break;case 0x2:joinOrLeaveQueues(_0x21f436,_0x2fd516,'fax',_0x306677[_0x25f62f][_0x550395]);break;case 0x3:joinOrLeaveQueues(_0x21f436,_0x2fd516,_0x27d2('0x45'),_0x306677[_0x25f62f][_0x550395]);break;case 0x4:joinOrLeaveQueues(_0x21f436,_0x2fd516,'mail',_0x306677[_0x25f62f][_0x550395]);break;case 0x5:joinOrLeaveQueues(_0x21f436,_0x2fd516,_0x27d2('0x46'),_0x306677[_0x25f62f][_0x550395]);break;case 0x6:joinOrLeaveQueues(_0x21f436,_0x2fd516,_0x27d2('0x47'),_0x306677[_0x25f62f][_0x550395]);break;case 0x7:_0x21f436[_0x2fd516](util[_0x27d2('0x17')](_0x27d2('0x48'),_0x306677[_0x25f62f][_0x550395]['name']));break;case 0x8:_0x21f436[_0x2fd516](util[_0x27d2('0x17')](_0x27d2('0x49'),_0x306677[_0x25f62f][_0x550395]['name']));break;case 0x9:_0x21f436[_0x2fd516](util[_0x27d2('0x17')](_0x27d2('0x4a'),_0x306677[_0x25f62f][_0x550395][_0x27d2('0x16')],_0x306677[_0x25f62f][_0x550395]['name']));break;case 0xa:_0x21f436[_0x2fd516](util['format'](_0x27d2('0x1b'),_0x306677[_0x25f62f][_0x550395][_0x27d2('0x4')]));break;}}}}})[_0x27d2('0x9')](function(){if(_0x2fd516===_0x27d2('0x4b')){var _0x36954e=_[_0x27d2('0x11')](_0x1b730c[_0x27d2('0x20')],'id');return _0x1b730c[_0x27d2('0x4c')](_0x36954e)['then'](function(){for(var _0x3fefd6=0x0;_0x3fefd6<_0x36954e[_0x27d2('0x1a')];_0x3fefd6+=0x1){_0x5de317[_0x27d2('0x4d')](_0x27d2('0x4e'),{'ChatInteractionId':Number(_0x36954e[_0x3fefd6]),'UserId':Number(_0x1b730c['id'])});}});}})[_0x27d2('0x9')](function(){if(_0x2fd516===_0x27d2('0x4b')){var _0x2b05de=_[_0x27d2('0x11')](_0x1b730c[_0x27d2('0x4f')],'id');return _0x1b730c[_0x27d2('0x50')](_0x2b05de)['then'](function(){for(var _0x5e5583=0x0;_0x5e5583<_0x2b05de['length'];_0x5e5583+=0x1){_0x5de317['emit']('user_has_mail_interactions:remove',{'MailInteractionId':Number(_0x2b05de[_0x5e5583]),'UserId':Number(_0x1b730c['id'])});}});}})['then'](function(){if(_0x2fd516==='leave'){var _0x3b71b3=_[_0x27d2('0x11')](_0x1b730c['FaxInteractions'],'id');return _0x1b730c[_0x27d2('0x51')](_0x3b71b3)[_0x27d2('0x9')](function(){for(var _0x120a80=0x0;_0x120a80<_0x3b71b3[_0x27d2('0x1a')];_0x120a80+=0x1){_0x5de317[_0x27d2('0x4d')](_0x27d2('0x52'),{'FaxInteractionId':Number(_0x3b71b3[_0x120a80]),'UserId':Number(_0x1b730c['id'])});}});}})[_0x27d2('0x9')](function(){if(_0x2fd516===_0x27d2('0x4b')){var _0x16cf9b=_[_0x27d2('0x11')](_0x1b730c[_0x27d2('0x24')],'id');return _0x1b730c['removeSmsInteractions'](_0x16cf9b)[_0x27d2('0x9')](function(){for(var _0x541b78=0x0;_0x541b78<_0x16cf9b['length'];_0x541b78+=0x1){_0x5de317['emit'](_0x27d2('0x53'),{'SmsInteractionId':Number(_0x16cf9b[_0x541b78]),'UserId':Number(_0x1b730c['id'])});}});}})['then'](function(){if(_0x2fd516==='leave'){var _0x3a7938=_['map'](_0x1b730c['OpenchannelInteractions'],'id');return _0x1b730c[_0x27d2('0x54')](_0x3a7938)[_0x27d2('0x9')](function(){for(var _0x503c3c=0x0;_0x503c3c<_0x3a7938[_0x27d2('0x1a')];_0x503c3c+=0x1){_0x5de317['emit'](_0x27d2('0x55'),{'OpenchannelInteractionId':Number(_0x3a7938[_0x503c3c]),'UserId':Number(_0x1b730c['id'])});}});}})[_0x27d2('0x9')](function(){if(_0x2fd516===_0x27d2('0x4b')){var _0x581045=_[_0x27d2('0x11')](_0x1b730c[_0x27d2('0x27')],'id');return _0x1b730c[_0x27d2('0x56')](_0x581045)[_0x27d2('0x9')](function(){for(var _0x4c969d=0x0;_0x4c969d<_0x581045[_0x27d2('0x1a')];_0x4c969d+=0x1){_0x5de317[_0x27d2('0x4d')](_0x27d2('0x57'),{'WhatsappInteractionId':Number(_0x581045[_0x4c969d]),'UserId':Number(_0x1b730c['id'])});}});}})[_0x27d2('0x58')](function(_0x4a5c4c){_0x21f436[_0x27d2('0x59')](_0x4a5c4c);});}}function onDisconnect(_0x26c8d4,_0x4db30f){joinOrLeave(_0x26c8d4,'leave',_0x4db30f);}function onConnect(_0x4158a5){joinOrLeave(_0x4158a5,'join');}exports[_0x27d2('0x5a')]=function(_0x527197){_0x527197['on']('connection',function(_0x456965){_0x456965[_0x27d2('0x5b')](0x0);_0x456965[_0x27d2('0x5c')]=_0x456965[_0x27d2('0x5d')][_0x27d2('0x5e')][_0x27d2('0x5f')]+':'+_0x456965[_0x27d2('0x5d')][_0x27d2('0x5e')][_0x27d2('0x60')];_0x456965[_0x27d2('0x61')]=new Date();_0x456965[_0x27d2('0x59')]=function(_0x58ffed){console[_0x27d2('0x59')](_0x27d2('0x62')+_0x456965[_0x27d2('0x63')][_0x27d2('0x4')]+'['+_0x456965[_0x27d2('0x5c')]+']',_0x58ffed);};_0x456965['on'](_0x27d2('0x64'),function(){onDisconnect(_0x456965,_0x527197);_0x456965['log'](_0x27d2('0x65'));});onConnect(_0x456965);_0x456965[_0x27d2('0x59')](_0x27d2('0x66'));});}; \ No newline at end of file diff --git a/server/config/triggers/index.js b/server/config/triggers/index.js index 7af7d4a..61e56be 100644 --- a/server/config/triggers/index.js +++ b/server/config/triggers/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x4dca=['util','../../mysqldb','jayson/promise','triggers','client','http','ChatInteraction','afterCreate','Chat','afterUpdate','closedinteraction','ChatMessage','newmessage','Sms','SmsInteraction','SmsMessage','Whatsapp','WhatsappInteraction','newinteraction','WhatsappMessage','Fax','FaxInteraction','FaxMessage','MailInteraction','Mail','MailMessage','OpenchannelInteraction','Openchannel','OpenchannelMessage','EventManager','then','info','Trigger,\x20%s','error','catch','get','channel','event','direction','UserId','User','find','interface','format','SIP/%s','name','incomingmessage','changed','closed','default','length','hasOwnProperty','model','hook','callback','condition'];(function(_0x4f02a5,_0x154972){var _0x23ca4f=function(_0x2fd579){while(--_0x2fd579){_0x4f02a5['push'](_0x4f02a5['shift']());}};_0x23ca4f(++_0x154972);}(_0x4dca,0x1c0));var _0xa4dc=function(_0x20a584,_0xe384a5){_0x20a584=_0x20a584-0x0;var _0x4b41a8=_0x4dca[_0x20a584];return _0x4b41a8;};'use strict';var util=require(_0xa4dc('0x0'));var db=require(_0xa4dc('0x1'))['db'];var jayson=require(_0xa4dc('0x2'));var logger=require('../logger')(_0xa4dc('0x3'));var client=jayson[_0xa4dc('0x4')][_0xa4dc('0x5')]({'port':0x232a});var triggers=[{'channel':'Chat','model':_0xa4dc('0x6'),'event':_0xa4dc('0x7'),'condition':'newinteraction','callback':afterCreate},{'channel':_0xa4dc('0x8'),'model':'ChatInteraction','event':_0xa4dc('0x9'),'condition':_0xa4dc('0xa'),'callback':afterUpdate},{'channel':_0xa4dc('0x8'),'model':_0xa4dc('0xb'),'event':'afterCreate','condition':_0xa4dc('0xc'),'callback':afterCreateMessage},{'channel':_0xa4dc('0xd'),'model':'SmsInteraction','event':_0xa4dc('0x7'),'condition':'newinteraction','callback':afterCreate},{'channel':'Sms','model':_0xa4dc('0xe'),'event':'afterUpdate','condition':'closedinteraction','callback':afterUpdate},{'channel':_0xa4dc('0xd'),'model':_0xa4dc('0xf'),'event':_0xa4dc('0x7'),'condition':_0xa4dc('0xc'),'callback':afterCreateMessage},{'channel':_0xa4dc('0x10'),'model':_0xa4dc('0x11'),'event':_0xa4dc('0x7'),'condition':_0xa4dc('0x12'),'callback':afterCreate},{'channel':_0xa4dc('0x10'),'model':'WhatsappInteraction','event':_0xa4dc('0x9'),'condition':_0xa4dc('0xa'),'callback':afterUpdate},{'channel':_0xa4dc('0x10'),'model':_0xa4dc('0x13'),'event':_0xa4dc('0x7'),'condition':'newmessage','callback':afterCreateMessage},{'channel':_0xa4dc('0x14'),'model':_0xa4dc('0x15'),'event':_0xa4dc('0x7'),'condition':_0xa4dc('0x12'),'callback':afterCreate},{'channel':'Fax','model':_0xa4dc('0x15'),'event':_0xa4dc('0x9'),'condition':_0xa4dc('0xa'),'callback':afterUpdate},{'channel':'Fax','model':_0xa4dc('0x16'),'event':_0xa4dc('0x7'),'condition':_0xa4dc('0xc'),'callback':afterCreateMessage},{'channel':'Mail','model':_0xa4dc('0x17'),'event':_0xa4dc('0x7'),'condition':_0xa4dc('0x12'),'callback':afterCreate},{'channel':'Mail','model':'MailInteraction','event':_0xa4dc('0x9'),'condition':_0xa4dc('0xa'),'callback':afterUpdate},{'channel':_0xa4dc('0x18'),'model':_0xa4dc('0x19'),'event':_0xa4dc('0x7'),'condition':'newmessage','callback':afterCreateMessage},{'channel':'Openchannel','model':_0xa4dc('0x1a'),'event':_0xa4dc('0x7'),'condition':_0xa4dc('0x12'),'callback':afterCreate},{'channel':_0xa4dc('0x1b'),'model':_0xa4dc('0x1a'),'event':_0xa4dc('0x9'),'condition':_0xa4dc('0xa'),'callback':afterUpdate},{'channel':'Openchannel','model':_0xa4dc('0x1c'),'event':'afterCreate','condition':_0xa4dc('0xc'),'callback':afterCreateMessage}];function request(_0x1ba159){return client['request'](_0xa4dc('0x1d'),_0x1ba159)[_0xa4dc('0x1e')](function(_0x437087){logger[_0xa4dc('0x1f')](_0xa4dc('0x20'),_0xa4dc('0x1d'),_0x437087);if(_0x437087[_0xa4dc('0x21')]){if(_0x437087['error']['code']===0x1f4){logger[_0xa4dc('0x21')](_0xa4dc('0x20'),'EventManager',_0x437087[_0xa4dc('0x21')]);}}})[_0xa4dc('0x22')](function(_0xfc5502){logger[_0xa4dc('0x21')](_0xa4dc('0x20'),_0xa4dc('0x1d'),_0xfc5502);});}function afterCreateMessage(_0x1c4bb9,_0xf8d27b){return function(_0x1f47cf,_0x1e3858){_0x1f47cf=_0x1f47cf[_0xa4dc('0x23')]({'plain':!![]});_0x1f47cf[_0xa4dc('0x24')]=_0x1c4bb9;_0x1f47cf[_0xa4dc('0x25')]=_0x1f47cf[_0xa4dc('0x26')];if(_0x1f47cf[_0xa4dc('0x27')]){return db[_0xa4dc('0x28')][_0xa4dc('0x29')]({'where':{'id':_0x1f47cf['UserId']},'attributes':['id','name'],'raw':!![]})[_0xa4dc('0x1e')](function(_0x161d03){_0x1f47cf[_0xa4dc('0x2a')]=util[_0xa4dc('0x2b')](_0xa4dc('0x2c'),_0x161d03[_0xa4dc('0x2d')]);_0x1f47cf[_0xa4dc('0x24')]=_0x1c4bb9;return request({'event':_0xa4dc('0x2e'),'message':_0x1f47cf});})[_0xa4dc('0x22')](function(_0x1b382c){console['error'](_0x1b382c);});}else{return request({'event':'outgoingmessage','message':_0x1f47cf});}};}function afterCreate(_0x2bb64f,_0x1ea7b0){return function(_0x4de01c,_0x380a2c){_0x4de01c=_0x4de01c['get']({'plain':!![]});_0x4de01c[_0xa4dc('0x24')]=_0x2bb64f;_0x4de01c[_0xa4dc('0x25')]='opened';return request({'event':_0x1ea7b0,'message':_0x4de01c});};}function afterUpdate(_0x3d2e3b,_0x27b0ec){return function(_0xf0b9f5,_0xae8028){if(_0xf0b9f5[_0xa4dc('0x2f')]('closed')&&_0xf0b9f5[_0xa4dc('0x30')]){_0xf0b9f5=_0xf0b9f5['get']({'plain':!![]});_0xf0b9f5[_0xa4dc('0x24')]=_0x3d2e3b;_0xf0b9f5[_0xa4dc('0x25')]=_0xa4dc('0x30');if(_0xf0b9f5[_0xa4dc('0x27')]){return db[_0xa4dc('0x28')]['find']({'where':{'id':_0xf0b9f5['UserId']},'attributes':['id','name'],'raw':!![]})['then'](function(_0xdd789d){_0xf0b9f5[_0xa4dc('0x2a')]=util[_0xa4dc('0x2b')](_0xa4dc('0x2c'),_0xdd789d[_0xa4dc('0x2d')]);return request({'event':_0x27b0ec,'message':_0xf0b9f5});})[_0xa4dc('0x22')](function(_0x49307a){console[_0xa4dc('0x21')](_0x49307a);});}else{return request({'event':_0x27b0ec,'message':_0xf0b9f5});}}};}exports[_0xa4dc('0x31')]=function(){for(var _0x38dc8a=0x0;_0x38dc8a=_0x4fd8a1['agents']){throw Error(_0x40ac('0x17'));}_0x592b46(_0x4b1b26);})[_0x40ac('0x18')](function(_0x4e674a){_0x1c018a(_0x4e674a);});});}; \ No newline at end of file +var _0xba74=['mail','fax','sms','whatsapp','openchannel','getChannels','isValidChannel','toLowerCase','includes','clearBlockUser','isUndefined','blockedAt','updateAttributes','getLicense','agent','User','count','then','Maximum\x20login\x20has\x20been\x20reached','catch','lodash','bluebird','../mysqldb','./license/util'];(function(_0x284a61,_0x231686){var _0x220e3c=function(_0x104496){while(--_0x104496){_0x284a61['push'](_0x284a61['shift']());}};_0x220e3c(++_0x231686);}(_0xba74,0x1dc));var _0x4ba7=function(_0xa464c9,_0x7c86d8){_0xa464c9=_0xa464c9-0x0;var _0x3d73c4=_0xba74[_0xa464c9];return _0x3d73c4;};'use strict';var _=require(_0x4ba7('0x0'));var BPromise=require(_0x4ba7('0x1'));var db=require(_0x4ba7('0x2'))['db'];var util=require(_0x4ba7('0x3'));var channels=['voice',_0x4ba7('0x4'),'chat',_0x4ba7('0x5'),_0x4ba7('0x6'),_0x4ba7('0x7'),_0x4ba7('0x8')];exports[_0x4ba7('0x9')]=function(){return channels;};exports[_0x4ba7('0xa')]=function(_0x343fc0){_0x343fc0=_0x343fc0[_0x4ba7('0xb')]();return _[_0x4ba7('0xc')](channels,_0x343fc0);};exports[_0x4ba7('0xd')]=function(_0x4032c5,_0x2a7e66,_0xa4b1e3,_0x2fa0b1){var _0x37141e={'loginAttempts':_0x2a7e66,'blocked':_0xa4b1e3};if(!_[_0x4ba7('0xe')](_0x2fa0b1)){_0x37141e[_0x4ba7('0xf')]=_0x2fa0b1;}return _0x4032c5[_0x4ba7('0x10')](_0x37141e);};exports[_0x4ba7('0x11')]=function(_0x705461){return new BPromise(function(_0x1d13a8,_0x5031ea){var _0x18b60e=0x0;if(_0x705461['role']!==_0x4ba7('0x12')){_0x1d13a8(_0x705461);}db[_0x4ba7('0x13')][_0x4ba7('0x14')]({'where':{'role':_0x4ba7('0x12'),'online':!![],'id':{'$ne':_0x705461['id']}}})[_0x4ba7('0x15')](function(_0x10e7fb){_0x18b60e=_0x10e7fb;return util[_0x4ba7('0x11')]();})[_0x4ba7('0x15')](function(_0x59842c){if(_0x59842c&&_0x59842c['agents']&&_0x18b60e>=_0x59842c['agents']){throw Error(_0x4ba7('0x16'));}_0x1d13a8(_0x705461);})[_0x4ba7('0x17')](function(_0x2c93bc){_0x5031ea(_0x2c93bc);});});}; \ No newline at end of file diff --git a/server/errors/index.js b/server/errors/index.js index 53593a6..fe8b6d9 100644 --- a/server/errors/index.js +++ b/server/errors/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x5c7d=['send','exports','404','status','render','json'];(function(_0x2677ef,_0x2dfc05){var _0x539543=function(_0x569ff3){while(--_0x569ff3){_0x2677ef['push'](_0x2677ef['shift']());}};_0x539543(++_0x2dfc05);}(_0x5c7d,0x181));var _0xd5c7=function(_0x1152f1,_0x247086){_0x1152f1=_0x1152f1-0x0;var _0x4ccd68=_0x5c7d[_0x1152f1];return _0x4ccd68;};'use strict';module[_0xd5c7('0x0')][0x194]=function pageNotFound(_0x1b1ad7,_0x3dc782){var _0x4d38e3=_0xd5c7('0x1');var _0x414ce6=0x194;var _0x5bbc6c={'status':_0x414ce6};_0x3dc782[_0xd5c7('0x2')](_0x5bbc6c['status']);_0x3dc782[_0xd5c7('0x3')](_0x4d38e3,{},function(_0x1fb98b,_0x3b2c0e){if(_0x1fb98b){return _0x3dc782[_0xd5c7('0x2')](_0x5bbc6c[_0xd5c7('0x2')])[_0xd5c7('0x4')](_0x5bbc6c);}_0x3dc782[_0xd5c7('0x5')](_0x3b2c0e);});}; \ No newline at end of file +var _0x5e10=['render','json','404','status'];(function(_0x779b49,_0x548002){var _0x57d4ca=function(_0x6a2b03){while(--_0x6a2b03){_0x779b49['push'](_0x779b49['shift']());}};_0x57d4ca(++_0x548002);}(_0x5e10,0x7e));var _0x05e1=function(_0x2b0bc2,_0x4331f5){_0x2b0bc2=_0x2b0bc2-0x0;var _0x56e5b9=_0x5e10[_0x2b0bc2];return _0x56e5b9;};'use strict';module['exports'][0x194]=function pageNotFound(_0x37575a,_0x251cb9){var _0x303635=_0x05e1('0x0');var _0x101fcb=0x194;var _0x2ef042={'status':_0x101fcb};_0x251cb9[_0x05e1('0x1')](_0x2ef042[_0x05e1('0x1')]);_0x251cb9[_0x05e1('0x2')](_0x303635,{},function(_0x19e808,_0x408048){if(_0x19e808){return _0x251cb9['status'](_0x2ef042[_0x05e1('0x1')])[_0x05e1('0x3')](_0x2ef042);}_0x251cb9['send'](_0x408048);});}; \ No newline at end of file diff --git a/server/mysqldb/index.js b/server/mysqldb/index.js index de4cf09..17b5928 100644 --- a/server/mysqldb/index.js +++ b/server/mysqldb/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xf13b=['exports','path','jstz','determine','sequelize','defaultsDeep','xcall','xC@LL1234','mysql','utf8mb4','utf8','utf8_general_ci','sequelizeHistory','motion2','127.0.0.1','database','username','options','password','User','import','../api/user/user.model','VoiceChanSpy','../api/voiceChanSpy/voiceChanSpy.model','VoiceContext','../api/voiceContext/voiceContext.model','../api/voiceExtension/voiceExtension.model','VoiceMusicOnHold','VoiceQueue','VoiceRecording','../api/voiceRecording/voiceRecording.model','ScreenRecording','../api/screenRecording/screenRecording.model','VoiceMail','../api/voiceMail/voiceMail.model','../api/voiceMailMessage/voiceMailMessage.model','VoiceCallReport','../api/voiceCallReport/voiceCallReport.model','../api/voiceDialReport/voiceDialReport.model','VoiceAgentReport','VoiceQueueReport','MemberReport','Trunk','../api/trunk/trunk.model','VoiceTransferReport','../api/userVoiceQueue/userVoiceQueue.model','UserChatQueue','../api/userChatQueue/userChatQueue.model','UserMailQueue','../api/userMailQueue/userMailQueue.model','../api/userFaxQueue/userFaxQueue.model','../api/userSmsQueue/userSmsQueue.model','UserWhatsappQueue','../api/userWhatsappQueue/userWhatsappQueue.model','MailServerIn','../api/mailServerIn/mailServerIn.model','MailServerOut','../api/mailServerOut/mailServerOut.model','MailAccount','../api/mailAccount/mailAccount.model','MailQueue','../api/mailQueue/mailQueue.model','MailSubstatus','../api/mailSubstatus/mailSubstatus.model','MailInteraction','../api/mailInteraction/mailInteraction.model','MailMessage','../api/mailMessage/mailMessage.model','MailApplication','../api/mailApplication/mailApplication.model','MailQueueReport','../api/mailQueueReport/mailQueueReport.model','Dashboard','../api/dashboard/dashboard.model','DashboardItem','../api/dashboardItem/dashboardItem.model','FaxAccount','FaxApplication','../api/faxApplication/faxApplication.model','FaxMessage','../api/faxMessage/faxMessage.model','FaxQueue','FaxQueueReport','../api/smsAccount/smsAccount.model','SmsApplication','../api/smsApplication/smsApplication.model','../api/smsInteraction/smsInteraction.model','SmsMessage','SmsQueue','../api/smsQueue/smsQueue.model','OpenchannelAccount','../api/openchannelAccount/openchannelAccount.model','../api/openchannelApplication/openchannelApplication.model','OpenchannelInteraction','../api/openchannelInteraction/openchannelInteraction.model','../api/openchannelMessage/openchannelMessage.model','OpenchannelQueue','../api/openchannelQueue/openchannelQueue.model','ChatWebsite','../api/chatWebsite/chatWebsite.model','../api/openchannelQueueReport/openchannelQueueReport.model','ChatApplication','../api/chatApplication/chatApplication.model','../api/chatInteraction/chatInteraction.model','ChatMessage','../api/chatOfflineMessage/chatOfflineMessage.model','ChatQueue','../api/chatQueue/chatQueue.model','ChatGroup','../api/chatGroup/chatGroup.model','ChatProactiveAction','../api/chatProactiveAction/chatProactiveAction.model','CmCompany','CmContact','../api/cmContact/cmContact.model','CmHopper','../api/cmHopper/cmHopper.model','CmHopperBlack','../api/cmHopperBlack/cmHopperBlack.model','CmHopperFinal','CmHopperHistory','../api/reportAgentPreview/reportAgentPreview.model','CmCustomField','../api/action/action.model','CannedAnswer','../api/cannedAnswer/cannedAnswer.model','Disposition','../api/disposition/disposition.model','Condition','../api/condition/condition.model','Interval','Cdr','Schedule','../api/schedule/schedule.model','Sound','../api/sound/sound.model','Tag','../api/tag/tag.model','../api/template/template.model','Variable','Integration','../api/integration/integration.model','IntegrationReport','../api/integrationReport/integrationReport.model','AnalyticCustomReport','../api/analyticCustomReport/analyticCustomReport.model','AnalyticDefaultReport','AnalyticExtractedReport','../api/analyticExtractedReport/analyticExtractedReport.model','AnalyticMetric','../api/analyticMetric/analyticMetric.model','../api/analyticFieldReport/analyticFieldReport.model','AnalyticTreeReport','../api/analyticTreeReport/analyticTreeReport.model','SalesforceAccount','../api/intSalesforceConfiguration/intSalesforceConfiguration.model','SalesforceField','../api/intSalesforceField/intSalesforceField.model','../api/intSugarcrmAccount/intSugarcrmAccount.model','../api/intSugarcrmConfiguration/intSugarcrmConfiguration.model','SugarcrmField','../api/intSugarcrmField/intSugarcrmField.model','../api/intDeskAccount/intDeskAccount.model','DeskConfiguration','../api/intDeskConfiguration/intDeskConfiguration.model','../api/intDeskField/intDeskField.model','ZohoAccount','../api/intZohoAccount/intZohoAccount.model','ZohoConfiguration','../api/intZohoConfiguration/intZohoConfiguration.model','ZohoField','../api/intZohoField/intZohoField.model','ZendeskAccount','ZendeskField','../api/intZendeskField/intZendeskField.model','FreshdeskAccount','../api/intFreshdeskAccount/intFreshdeskAccount.model','../api/intFreshdeskConfiguration/intFreshdeskConfiguration.model','FreshdeskField','../api/intFreshdeskField/intFreshdeskField.model','VtigerAccount','../api/intVtigerAccount/intVtigerAccount.model','../api/intVtigerConfiguration/intVtigerConfiguration.model','VtigerField','ServicenowAccount','../api/intServicenowAccount/intServicenowAccount.model','ServicenowConfiguration','../api/intServicenowConfiguration/intServicenowConfiguration.model','ServicenowField','../api/intServicenowField/intServicenowField.model','Dynamics365Account','../api/intDynamics365Account/intDynamics365Account.model','Dynamics365Configuration','../api/intDynamics365Configuration/intDynamics365Configuration.model','../api/intDynamics365Field/intDynamics365Field.model','FreshsalesAccount','../api/intFreshsalesAccount/intFreshsalesAccount.model','FreshsalesConfiguration','../api/intFreshsalesConfiguration/intFreshsalesConfiguration.model','FreshsalesField','../api/intFreshsalesField/intFreshsalesField.model','Network','../api/network/network.model','../api/chatQueueReport/chatQueueReport.model','ChatInternalMessage','../api/chatInternalMessage/chatInternalMessage.model','JscriptyAnswerReport','../api/jscriptyAnswerReport/jscriptyAnswerReport.model','JscriptyQuestionReport','../api/jscriptyQuestionReport/jscriptyQuestionReport.model','JscriptySessionReport','../api/jscriptySessionReport/jscriptySessionReport.model','SmsQueueReport','../api/smsQueueReport/smsQueueReport.model','SquareReport','../api/squareReport/squareReport.model','JscriptyProject','Setting','../api/setting/setting.model','SquareOdbc','SquareProject','SquareRecording','SquareMessage','../api/squareMessage/squareMessage.model','Team','../api/team/team.model','../api/license/license.model','../api/campaign/campaign.model','../api/migration/migration.model','Attachment','../api/attachment/attachment.model','MailTransferReport','ChatTransferReport','../api/chatTransferReport/chatTransferReport.model','FaxTransferReport','../api/faxTransferReport/faxTransferReport.model','OpenchannelTransferReport','../api/openchannelTransferReport/openchannelTransferReport.model','SmsTransferReport','../api/smsTransferReport/smsTransferReport.model','CmList','../api/cmList/cmList.model','../api/voicePrefix/voicePrefix.model','UserProfileSection','../api/userProfileSection/userProfileSection.model','UserProfileResource','Notification','WhatsappAccount','WhatsappApplication','../api/whatsappApplication/whatsappApplication.model','WhatsappInteraction','WhatsappQueueReport','../api/whatsappTransferReport/whatsappTransferReport.model','WhatsappQueue','../api/whatsappQueue/whatsappQueue.model','CloudProvider','../api/cloudProvider/cloudProvider.model','hasOne','UserId','hasMany','Recordings','UserVoiceQueueRt','VoiceExtension','Extensions','cascade','HopperHistory','ReportAgentPreview','OpenchannelInteractions','ChatInteraction','SmsInteraction','SmsInteractions','FaxInteraction','FaxInteractions','MailInteractions','WhatsappInteractions','Notifications','belongsTo','UserProfile','userProfileId','belongsToMany','Groups','Contacts','cm_user_has_contacts','Lists','user_has_teams','user_has_chat_interactions','user_has_fax_interactions','user_has_sms_interactions','user_has_openchannel_interactions','user_has_whatsapp_interactions','VoiceQueues','UserVoiceQueue','MailQueues','ChatQueues','UserFaxQueue','OpenchannelQueues','WhatsappQueues','cm_user_has_lists','VoicePrefix','VoicePrefixes','user_has_voice_prefixes','ChatWebsites','user_has_chat_websites','FaxAccounts','user_has_fax_accounts','user_has_mail_accounts','OpenchannelAccounts','user_has_openchannel_accounts','user_has_sms_accounts','WhatsappAccounts','user_has_whatsapp_accounts','SquareProjects','user_has_square_projects','Applications','Sounds','Members','VoiceQueueId','HopperFinals','HopperHistories','HopperBlacks','JscriptySessions','TrunkBackup','TrunkBackupId','Pause','mandatoryDispositionPauseId','voice_queues_has_cm_lists','Agents','Teams','team_has_voice_queues','BlackLists','voice_queues_has_cm_blacklists','VoiceMailMessage','mailboxuser','mailbox','QueueCalls','Contact','ContactId','MailAccountId','Imap','Smtp','Dispositions','Answers','Interactions','ListId','Template','TemplateId','mandatoryDispositionPause','MailInteractionId','Account','Owner','mail_interaction_has_tags','Tags','Users','user_has_mail_interactions','Attachments','Interaction','restrict','IntervalId','TagId','Items','FaxAccountId','Messages','FaxInteractionId','fax_interaction_has_tags','ThroughTags','AttachmentId','team_has_fax_queues','List','SmsAccount','SmsAccountId','SmsInteractionId','sms_interaction_has_tags','UserSmsQueue','SmsQueueId','team_has_sms_queues','OpenchannelAccountId','OpenchannelMessage','OpenchannelApplication','OpenchannelQueueId','OpenchannelInteractionId','openchannel_interaction_has_tags','UserOpenchannelQueue','team_has_openchannel_queues','ChatWebsiteId','ProactiveActions','OpenchannelQueueReport','ChatQueueId','Website','ChatInteractionId','chat_interaction_has_tags','ChatOfflineMessage','team_has_chat_queues','ChatGroupId','chat_group_has_users','CompanyId','Hoppers','Company','cm_contact_has_tags','Agent','Queue','Campaign','CampaignId','Automation','All','OneAll','AutomationAllId','Any','AutomationAnyId','Actions','AutomationId','Intervals','MailApplications','ChatApplications','SmsApplications','DefaultReportId','CustomReportId','Mohs','moh_has_sounds','whatsapp_interaction_has_tags','Trigger','AllConditions','AllCondition','TriggerAllId','AnyConditions','AnyCondition','TriggerAnyId','AnalyticFieldReport','Fields','MetricId','Configurations','AccountId','SalesforceConfiguration','Subjects','SubjectId','DescriptionId','FieldId','Subject','Description','Field','VariableId','SugarcrmAccount','SugarcrmConfiguration','DeskAccount','Descriptions','DeskField','ZendeskConfiguration','int_zendesk_configuration_has_tags','FreshdeskConfiguration','int_freshdesk_configuration_has_tags','VtigerConfiguration','Dynamics365Field','ChatQueueReport','FromId','ToId','SessionId','ProjectId','team_has_mail_queues','FaxQueues','SmsQueues','team_has_whatsapp_queues','TrunkId','SquareProjectId','campaigns_has_cm_lists','campaigns_has_cm_blacklists','FromUserId','FromAgent','ToMailQueueId','ToQueue','ToMailAccountId','ToAccount','FromChatWebsiteId','ToUserId','ToChatQueueId','ToChatWebsiteId','FromFaxAccountId','FromAccount','ToAgent','ToFaxQueueId','ToFaxAccountId','FromOpenchannelAccountId','ToOpenchannelQueueId','ToOpenchannelAccountId','CustomFields','Queues','UserProfileSections','Resources','sectionId','WhatsappAccountId','WhatsappMessage','WhatsappInteractionId','WhatsappTransferReport','FromWhatsappAccountId','ToWhatsappAccountId','ToQueueId','WhatsappQueueId'];(function(_0x99d1c,_0x8b6fbd){var _0x4b3eb2=function(_0xae1c83){while(--_0xae1c83){_0x99d1c['push'](_0x99d1c['shift']());}};_0x4b3eb2(++_0x8b6fbd);}(_0xf13b,0x1f0));var _0xbf13=function(_0x54803f,_0x17195a){_0x54803f=_0x54803f-0x0;var _0x42a2e2=_0xf13b[_0x54803f];return _0x42a2e2;};'use strict';var path=require(_0xbf13('0x0'));var config=require('../config/environment');var Sequelize=require('sequelize');var _=require('lodash');var jstz=require(_0xbf13('0x1'));var timezone=jstz[_0xbf13('0x2')]();config[_0xbf13('0x3')]=_[_0xbf13('0x4')](config['sequelize'],{'database':'motion2','username':_0xbf13('0x5'),'password':_0xbf13('0x6'),'options':{'host':'127.0.0.1','port':0xcea,'dialect':_0xbf13('0x7'),'dialectOptions':{'charset':_0xbf13('0x8')},'logging':![],'timezone':timezone['name'](),'define':{'charset':_0xbf13('0x9'),'collate':_0xbf13('0xa')}}});config['sequelizeHistory']=_[_0xbf13('0x4')](config[_0xbf13('0xb')],{'database':_0xbf13('0xc'),'username':_0xbf13('0x5'),'password':'xC@LL1234','options':{'host':_0xbf13('0xd'),'port':0xcea,'dialect':'mysql','dialectOptions':{'charset':_0xbf13('0x8')},'logging':![],'timezone':timezone['name'](),'define':{'charset':_0xbf13('0x9'),'collate':_0xbf13('0xa')}}});var db={'Sequelize':Sequelize,'sequelize':new Sequelize(config['sequelize'][_0xbf13('0xe')],config[_0xbf13('0x3')][_0xbf13('0xf')],config[_0xbf13('0x3')]['password'],config[_0xbf13('0x3')][_0xbf13('0x10')])};var dbH={'Sequelize':Sequelize,'sequelize':new Sequelize(config[_0xbf13('0xb')][_0xbf13('0xe')],config['sequelizeHistory']['username'],config['sequelizeHistory'][_0xbf13('0x11')],config[_0xbf13('0xb')][_0xbf13('0x10')])};db[_0xbf13('0x12')]=db[_0xbf13('0x3')][_0xbf13('0x13')](_0xbf13('0x14'));db[_0xbf13('0x15')]=db['sequelize'][_0xbf13('0x13')](_0xbf13('0x16'));db[_0xbf13('0x17')]=db[_0xbf13('0x3')][_0xbf13('0x13')](_0xbf13('0x18'));db['VoiceExtension']=db['sequelize'][_0xbf13('0x13')](_0xbf13('0x19'));db[_0xbf13('0x1a')]=db[_0xbf13('0x3')]['import']('../api/voiceMusicOnHold/voiceMusicOnHold.model');db[_0xbf13('0x1b')]=db[_0xbf13('0x3')][_0xbf13('0x13')]('../api/voiceQueue/voiceQueue.model');db[_0xbf13('0x1c')]=db['sequelize']['import'](_0xbf13('0x1d'));db[_0xbf13('0x1e')]=db[_0xbf13('0x3')][_0xbf13('0x13')](_0xbf13('0x1f'));db[_0xbf13('0x20')]=db[_0xbf13('0x3')][_0xbf13('0x13')](_0xbf13('0x21'));db['VoiceMailMessage']=db[_0xbf13('0x3')][_0xbf13('0x13')](_0xbf13('0x22'));db[_0xbf13('0x23')]=db[_0xbf13('0x3')][_0xbf13('0x13')](_0xbf13('0x24'));db['VoiceDialReport']=db[_0xbf13('0x3')][_0xbf13('0x13')](_0xbf13('0x25'));db[_0xbf13('0x26')]=db[_0xbf13('0x3')][_0xbf13('0x13')]('../api/voiceAgentReport/voiceAgentReport.model');db[_0xbf13('0x27')]=db[_0xbf13('0x3')]['import']('../api/voiceQueueReport/voiceQueueReport.model');db[_0xbf13('0x28')]=db[_0xbf13('0x3')][_0xbf13('0x13')]('../api/memberReport/memberReport.model');db[_0xbf13('0x29')]=db[_0xbf13('0x3')][_0xbf13('0x13')](_0xbf13('0x2a'));db[_0xbf13('0x2b')]=db[_0xbf13('0x3')][_0xbf13('0x13')]('../api/voiceTransferReport/voiceTransferReport.model');db['UserVoiceQueueRt']=db[_0xbf13('0x3')][_0xbf13('0x13')]('../api/userVoiceQueueRt/userVoiceQueueRt.model');db['UserVoiceQueue']=db[_0xbf13('0x3')][_0xbf13('0x13')](_0xbf13('0x2c'));db[_0xbf13('0x2d')]=db[_0xbf13('0x3')][_0xbf13('0x13')](_0xbf13('0x2e'));db[_0xbf13('0x2f')]=db['sequelize'][_0xbf13('0x13')](_0xbf13('0x30'));db['UserFaxQueue']=db[_0xbf13('0x3')][_0xbf13('0x13')](_0xbf13('0x31'));db['UserSmsQueue']=db['sequelize']['import'](_0xbf13('0x32'));db['UserOpenchannelQueue']=db[_0xbf13('0x3')][_0xbf13('0x13')]('../api/userOpenchannelQueue/userOpenchannelQueue.model');db[_0xbf13('0x33')]=db[_0xbf13('0x3')][_0xbf13('0x13')](_0xbf13('0x34'));db[_0xbf13('0x35')]=db[_0xbf13('0x3')][_0xbf13('0x13')](_0xbf13('0x36'));db[_0xbf13('0x37')]=db[_0xbf13('0x3')]['import'](_0xbf13('0x38'));db[_0xbf13('0x39')]=db[_0xbf13('0x3')][_0xbf13('0x13')](_0xbf13('0x3a'));db[_0xbf13('0x3b')]=db[_0xbf13('0x3')][_0xbf13('0x13')](_0xbf13('0x3c'));db[_0xbf13('0x3d')]=db[_0xbf13('0x3')]['import'](_0xbf13('0x3e'));db[_0xbf13('0x3f')]=db[_0xbf13('0x3')]['import'](_0xbf13('0x40'));db[_0xbf13('0x41')]=db[_0xbf13('0x3')][_0xbf13('0x13')](_0xbf13('0x42'));db[_0xbf13('0x43')]=db['sequelize']['import'](_0xbf13('0x44'));db[_0xbf13('0x45')]=db['sequelize'][_0xbf13('0x13')](_0xbf13('0x46'));db[_0xbf13('0x47')]=db[_0xbf13('0x3')]['import'](_0xbf13('0x48'));db[_0xbf13('0x49')]=db['sequelize'][_0xbf13('0x13')](_0xbf13('0x4a'));db[_0xbf13('0x4b')]=db['sequelize']['import']('../api/faxAccount/faxAccount.model');db[_0xbf13('0x4c')]=db[_0xbf13('0x3')][_0xbf13('0x13')](_0xbf13('0x4d'));db['FaxInteraction']=db[_0xbf13('0x3')][_0xbf13('0x13')]('../api/faxInteraction/faxInteraction.model');db[_0xbf13('0x4e')]=db[_0xbf13('0x3')][_0xbf13('0x13')](_0xbf13('0x4f'));db[_0xbf13('0x50')]=db['sequelize'][_0xbf13('0x13')]('../api/faxQueue/faxQueue.model');db[_0xbf13('0x51')]=db[_0xbf13('0x3')]['import']('../api/faxQueueReport/faxQueueReport.model');db['SmsAccount']=db[_0xbf13('0x3')][_0xbf13('0x13')](_0xbf13('0x52'));db[_0xbf13('0x53')]=db[_0xbf13('0x3')][_0xbf13('0x13')](_0xbf13('0x54'));db['SmsInteraction']=db[_0xbf13('0x3')][_0xbf13('0x13')](_0xbf13('0x55'));db[_0xbf13('0x56')]=db[_0xbf13('0x3')][_0xbf13('0x13')]('../api/smsMessage/smsMessage.model');db[_0xbf13('0x57')]=db[_0xbf13('0x3')][_0xbf13('0x13')](_0xbf13('0x58'));db[_0xbf13('0x59')]=db[_0xbf13('0x3')][_0xbf13('0x13')](_0xbf13('0x5a'));db['OpenchannelApplication']=db[_0xbf13('0x3')][_0xbf13('0x13')](_0xbf13('0x5b'));db[_0xbf13('0x5c')]=db[_0xbf13('0x3')][_0xbf13('0x13')](_0xbf13('0x5d'));db['OpenchannelMessage']=db[_0xbf13('0x3')][_0xbf13('0x13')](_0xbf13('0x5e'));db[_0xbf13('0x5f')]=db[_0xbf13('0x3')][_0xbf13('0x13')](_0xbf13('0x60'));db[_0xbf13('0x61')]=db[_0xbf13('0x3')][_0xbf13('0x13')](_0xbf13('0x62'));db['OpenchannelQueueReport']=db[_0xbf13('0x3')]['import'](_0xbf13('0x63'));db[_0xbf13('0x64')]=db[_0xbf13('0x3')]['import'](_0xbf13('0x65'));db['ChatInteraction']=db['sequelize']['import'](_0xbf13('0x66'));db[_0xbf13('0x67')]=db['sequelize'][_0xbf13('0x13')]('../api/chatMessage/chatMessage.model');db['ChatOfflineMessage']=db[_0xbf13('0x3')][_0xbf13('0x13')](_0xbf13('0x68'));db[_0xbf13('0x69')]=db['sequelize'][_0xbf13('0x13')](_0xbf13('0x6a'));db[_0xbf13('0x6b')]=db[_0xbf13('0x3')]['import'](_0xbf13('0x6c'));db[_0xbf13('0x6d')]=db['sequelize']['import'](_0xbf13('0x6e'));db[_0xbf13('0x6f')]=db[_0xbf13('0x3')][_0xbf13('0x13')]('../api/cmCompany/cmCompany.model');db[_0xbf13('0x70')]=db[_0xbf13('0x3')]['import'](_0xbf13('0x71'));db[_0xbf13('0x72')]=db[_0xbf13('0x3')][_0xbf13('0x13')](_0xbf13('0x73'));db[_0xbf13('0x74')]=db[_0xbf13('0x3')][_0xbf13('0x13')](_0xbf13('0x75'));db[_0xbf13('0x76')]=db[_0xbf13('0x3')][_0xbf13('0x13')]('../api/cmHopperFinal/cmHopperFinal.model');db[_0xbf13('0x77')]=db[_0xbf13('0x3')]['import']('../api/cmHopperHistory/cmHopperHistory.model');db['ReportAgentPreview']=db[_0xbf13('0x3')][_0xbf13('0x13')](_0xbf13('0x78'));db[_0xbf13('0x79')]=db['sequelize']['import']('../api/cmCustomField/cmCustomField.model');db['Action']=db[_0xbf13('0x3')][_0xbf13('0x13')](_0xbf13('0x7a'));db['Automation']=db[_0xbf13('0x3')][_0xbf13('0x13')]('../api/automation/automation.model');db[_0xbf13('0x7b')]=db[_0xbf13('0x3')][_0xbf13('0x13')](_0xbf13('0x7c'));db[_0xbf13('0x7d')]=db['sequelize'][_0xbf13('0x13')](_0xbf13('0x7e'));db[_0xbf13('0x7f')]=db['sequelize'][_0xbf13('0x13')](_0xbf13('0x80'));db[_0xbf13('0x81')]=db[_0xbf13('0x3')]['import']('../api/interval/interval.model');db['Pause']=db[_0xbf13('0x3')][_0xbf13('0x13')]('../api/pause/pause.model');db[_0xbf13('0x82')]=db[_0xbf13('0x3')][_0xbf13('0x13')]('../api/cdr/cdr.model');db['VoiceQueuesLog']=db[_0xbf13('0x3')][_0xbf13('0x13')]('../api/voiceQueuesLog/voiceQueuesLog.model');db[_0xbf13('0x83')]=db[_0xbf13('0x3')][_0xbf13('0x13')](_0xbf13('0x84'));db[_0xbf13('0x85')]=db[_0xbf13('0x3')][_0xbf13('0x13')](_0xbf13('0x86'));db[_0xbf13('0x87')]=db[_0xbf13('0x3')][_0xbf13('0x13')](_0xbf13('0x88'));db['Template']=db[_0xbf13('0x3')]['import'](_0xbf13('0x89'));db['Trigger']=db[_0xbf13('0x3')][_0xbf13('0x13')]('../api/trigger/trigger.model');db[_0xbf13('0x8a')]=db[_0xbf13('0x3')][_0xbf13('0x13')]('../api/variable/variable.model');db[_0xbf13('0x8b')]=db[_0xbf13('0x3')][_0xbf13('0x13')](_0xbf13('0x8c'));db[_0xbf13('0x8d')]=db[_0xbf13('0x3')][_0xbf13('0x13')](_0xbf13('0x8e'));db[_0xbf13('0x8f')]=db['sequelize'][_0xbf13('0x13')](_0xbf13('0x90'));db[_0xbf13('0x91')]=db[_0xbf13('0x3')]['import']('../api/analyticDefaultReport/analyticDefaultReport.model');db[_0xbf13('0x92')]=db[_0xbf13('0x3')][_0xbf13('0x13')](_0xbf13('0x93'));db[_0xbf13('0x94')]=db['sequelize'][_0xbf13('0x13')](_0xbf13('0x95'));db['AnalyticFieldReport']=db[_0xbf13('0x3')][_0xbf13('0x13')](_0xbf13('0x96'));db[_0xbf13('0x97')]=db['sequelize'][_0xbf13('0x13')](_0xbf13('0x98'));db[_0xbf13('0x99')]=db[_0xbf13('0x3')][_0xbf13('0x13')]('../api/intSalesforceAccount/intSalesforceAccount.model');db['SalesforceConfiguration']=db[_0xbf13('0x3')][_0xbf13('0x13')](_0xbf13('0x9a'));db[_0xbf13('0x9b')]=db[_0xbf13('0x3')]['import'](_0xbf13('0x9c'));db['SugarcrmAccount']=db[_0xbf13('0x3')][_0xbf13('0x13')](_0xbf13('0x9d'));db['SugarcrmConfiguration']=db[_0xbf13('0x3')][_0xbf13('0x13')](_0xbf13('0x9e'));db[_0xbf13('0x9f')]=db['sequelize'][_0xbf13('0x13')](_0xbf13('0xa0'));db['DeskAccount']=db[_0xbf13('0x3')][_0xbf13('0x13')](_0xbf13('0xa1'));db[_0xbf13('0xa2')]=db[_0xbf13('0x3')][_0xbf13('0x13')](_0xbf13('0xa3'));db['DeskField']=db['sequelize'][_0xbf13('0x13')](_0xbf13('0xa4'));db[_0xbf13('0xa5')]=db['sequelize'][_0xbf13('0x13')](_0xbf13('0xa6'));db[_0xbf13('0xa7')]=db[_0xbf13('0x3')][_0xbf13('0x13')](_0xbf13('0xa8'));db[_0xbf13('0xa9')]=db[_0xbf13('0x3')]['import'](_0xbf13('0xaa'));db[_0xbf13('0xab')]=db[_0xbf13('0x3')][_0xbf13('0x13')]('../api/intZendeskAccount/intZendeskAccount.model');db['ZendeskConfiguration']=db['sequelize'][_0xbf13('0x13')]('../api/intZendeskConfiguration/intZendeskConfiguration.model');db[_0xbf13('0xac')]=db[_0xbf13('0x3')][_0xbf13('0x13')](_0xbf13('0xad'));db[_0xbf13('0xae')]=db[_0xbf13('0x3')][_0xbf13('0x13')](_0xbf13('0xaf'));db['FreshdeskConfiguration']=db['sequelize'][_0xbf13('0x13')](_0xbf13('0xb0'));db[_0xbf13('0xb1')]=db[_0xbf13('0x3')]['import'](_0xbf13('0xb2'));db[_0xbf13('0xb3')]=db[_0xbf13('0x3')][_0xbf13('0x13')](_0xbf13('0xb4'));db['VtigerConfiguration']=db[_0xbf13('0x3')][_0xbf13('0x13')](_0xbf13('0xb5'));db[_0xbf13('0xb6')]=db['sequelize']['import']('../api/intVtigerField/intVtigerField.model');db[_0xbf13('0xb7')]=db[_0xbf13('0x3')][_0xbf13('0x13')](_0xbf13('0xb8'));db[_0xbf13('0xb9')]=db[_0xbf13('0x3')][_0xbf13('0x13')](_0xbf13('0xba'));db[_0xbf13('0xbb')]=db[_0xbf13('0x3')]['import'](_0xbf13('0xbc'));db[_0xbf13('0xbd')]=db[_0xbf13('0x3')][_0xbf13('0x13')](_0xbf13('0xbe'));db[_0xbf13('0xbf')]=db['sequelize']['import'](_0xbf13('0xc0'));db['Dynamics365Field']=db[_0xbf13('0x3')]['import'](_0xbf13('0xc1'));db[_0xbf13('0xc2')]=db['sequelize'][_0xbf13('0x13')](_0xbf13('0xc3'));db[_0xbf13('0xc4')]=db[_0xbf13('0x3')][_0xbf13('0x13')](_0xbf13('0xc5'));db[_0xbf13('0xc6')]=db['sequelize']['import'](_0xbf13('0xc7'));db[_0xbf13('0x8b')]=db[_0xbf13('0x3')]['import'](_0xbf13('0x8c'));db[_0xbf13('0xc8')]=db[_0xbf13('0x3')][_0xbf13('0x13')](_0xbf13('0xc9'));db['ChatQueueReport']=db['sequelize']['import'](_0xbf13('0xca'));db[_0xbf13('0xcb')]=db[_0xbf13('0x3')][_0xbf13('0x13')](_0xbf13('0xcc'));db[_0xbf13('0xcd')]=db[_0xbf13('0x3')][_0xbf13('0x13')](_0xbf13('0xce'));db[_0xbf13('0xcf')]=db[_0xbf13('0x3')]['import'](_0xbf13('0xd0'));db[_0xbf13('0xd1')]=db[_0xbf13('0x3')][_0xbf13('0x13')](_0xbf13('0xd2'));db[_0xbf13('0xd3')]=db[_0xbf13('0x3')][_0xbf13('0x13')](_0xbf13('0xd4'));db[_0xbf13('0xd5')]=db['sequelize'][_0xbf13('0x13')](_0xbf13('0xd6'));db['SquareDetailsReport']=db[_0xbf13('0x3')][_0xbf13('0x13')]('../api/squareReportDetail/squareReportDetail.model');db[_0xbf13('0xd7')]=db[_0xbf13('0x3')][_0xbf13('0x13')]('../api/jscriptyProject/jscriptyProject.model');db[_0xbf13('0xd8')]=db[_0xbf13('0x3')][_0xbf13('0x13')](_0xbf13('0xd9'));db[_0xbf13('0xda')]=db[_0xbf13('0x3')][_0xbf13('0x13')]('../api/squareOdbc/squareOdbc.model');db[_0xbf13('0xdb')]=db[_0xbf13('0x3')][_0xbf13('0x13')]('../api/squareProject/squareProject.model');db[_0xbf13('0xdc')]=db[_0xbf13('0x3')]['import']('../api/squareRecording/squareRecording.model');db[_0xbf13('0xdd')]=db['sequelize'][_0xbf13('0x13')](_0xbf13('0xde'));db[_0xbf13('0xdf')]=db[_0xbf13('0x3')][_0xbf13('0x13')](_0xbf13('0xe0'));db['License']=db[_0xbf13('0x3')]['import'](_0xbf13('0xe1'));db['Campaign']=db[_0xbf13('0x3')][_0xbf13('0x13')](_0xbf13('0xe2'));db['Migration']=db['sequelize']['import'](_0xbf13('0xe3'));db[_0xbf13('0xe4')]=db['sequelize'][_0xbf13('0x13')](_0xbf13('0xe5'));db['Plugin']=db['sequelize'][_0xbf13('0x13')]('../api/plugin/plugin.model');db[_0xbf13('0xe6')]=db['sequelize'][_0xbf13('0x13')]('../api/mailTransferReport/mailTransferReport.model');db[_0xbf13('0xe7')]=db['sequelize'][_0xbf13('0x13')](_0xbf13('0xe8'));db[_0xbf13('0xe9')]=db[_0xbf13('0x3')][_0xbf13('0x13')](_0xbf13('0xea'));db[_0xbf13('0xeb')]=db[_0xbf13('0x3')]['import'](_0xbf13('0xec'));db[_0xbf13('0xed')]=db['sequelize'][_0xbf13('0x13')](_0xbf13('0xee'));db[_0xbf13('0xef')]=db[_0xbf13('0x3')][_0xbf13('0x13')](_0xbf13('0xf0'));db['VoicePrefix']=db[_0xbf13('0x3')][_0xbf13('0x13')](_0xbf13('0xf1'));db['UserProfile']=db[_0xbf13('0x3')][_0xbf13('0x13')]('../api/userProfile/userProfile.model');db[_0xbf13('0xf2')]=db['sequelize']['import'](_0xbf13('0xf3'));db[_0xbf13('0xf4')]=db[_0xbf13('0x3')][_0xbf13('0x13')]('../api/userProfileResource/userProfileResource.model');db[_0xbf13('0xf5')]=db['sequelize'][_0xbf13('0x13')]('../api/notification/notification.model');db[_0xbf13('0xf6')]=db['sequelize'][_0xbf13('0x13')]('../api/whatsappAccount/whatsappAccount.model');db[_0xbf13('0xf7')]=db['sequelize'][_0xbf13('0x13')](_0xbf13('0xf8'));db[_0xbf13('0xf9')]=db[_0xbf13('0x3')][_0xbf13('0x13')]('../api/whatsappInteraction/whatsappInteraction.model');db['WhatsappMessage']=db[_0xbf13('0x3')]['import']('../api/whatsappMessage/whatsappMessage.model');db[_0xbf13('0xfa')]=db[_0xbf13('0x3')][_0xbf13('0x13')]('../api/whatsappQueueReport/whatsappQueueReport.model');db['WhatsappTransferReport']=db[_0xbf13('0x3')]['import'](_0xbf13('0xfb'));db[_0xbf13('0xfc')]=db[_0xbf13('0x3')][_0xbf13('0x13')](_0xbf13('0xfd'));db[_0xbf13('0xfe')]=db[_0xbf13('0x3')][_0xbf13('0x13')](_0xbf13('0xff'));db[_0xbf13('0x12')][_0xbf13('0x100')](db[_0xbf13('0x20')],{'as':_0xbf13('0x20'),'onDelete':'cascade','foreignKey':_0xbf13('0x101')});db['User'][_0xbf13('0x102')](db[_0xbf13('0x1c')],{'as':_0xbf13('0x103'),'foreignKey':_0xbf13('0x101')});db[_0xbf13('0x12')]['hasMany'](db[_0xbf13('0x104')],{'as':'VoiceQueuesRt','foreignKey':_0xbf13('0x101')});db[_0xbf13('0x12')]['hasMany'](db[_0xbf13('0x105')],{'as':_0xbf13('0x106'),'onDelete':_0xbf13('0x107'),'hooks':!![]});db[_0xbf13('0x12')][_0xbf13('0x102')](db[_0xbf13('0x76')],{'as':'HopperFinals','foreignKey':_0xbf13('0x101')});db[_0xbf13('0x12')]['hasMany'](db[_0xbf13('0x77')],{'as':_0xbf13('0x108'),'foreignKey':_0xbf13('0x101')});db[_0xbf13('0x12')][_0xbf13('0x102')](db[_0xbf13('0x109')],{'as':_0xbf13('0x109'),'foreignKey':_0xbf13('0x101')});db[_0xbf13('0x12')][_0xbf13('0x102')](db[_0xbf13('0x5c')],{'as':_0xbf13('0x10a'),'foreignKey':_0xbf13('0x101')});db[_0xbf13('0x12')][_0xbf13('0x102')](db[_0xbf13('0x10b')],{'as':'ChatInteractions','foreignKey':_0xbf13('0x101')});db['User'][_0xbf13('0x102')](db[_0xbf13('0x10c')],{'as':_0xbf13('0x10d'),'foreignKey':'UserId'});db[_0xbf13('0x12')]['hasMany'](db[_0xbf13('0x10e')],{'as':_0xbf13('0x10f'),'foreignKey':_0xbf13('0x101')});db[_0xbf13('0x12')][_0xbf13('0x102')](db[_0xbf13('0x3f')],{'as':_0xbf13('0x110'),'foreignKey':'UserId'});db[_0xbf13('0x12')]['hasMany'](db[_0xbf13('0xf9')],{'as':_0xbf13('0x111'),'foreignKey':_0xbf13('0x101')});db['User']['hasMany'](db[_0xbf13('0xf5')],{'as':_0xbf13('0x112'),'foreignKey':'SenderId'});db[_0xbf13('0x12')][_0xbf13('0x113')](db[_0xbf13('0x114')],{'as':_0xbf13('0x114'),'foreignKey':_0xbf13('0x115')});db[_0xbf13('0x12')][_0xbf13('0x116')](db[_0xbf13('0x6b')],{'as':_0xbf13('0x117'),'through':'chat_group_has_users'});db['User'][_0xbf13('0x116')](db[_0xbf13('0x70')],{'as':_0xbf13('0x118'),'through':_0xbf13('0x119')});db['User'][_0xbf13('0x116')](db['CmList'],{'as':_0xbf13('0x11a'),'through':'cm_user_has_lists'});db['User'][_0xbf13('0x116')](db[_0xbf13('0xdf')],{'through':_0xbf13('0x11b')});db['User'][_0xbf13('0x116')](db['MailInteraction'],{'as':_0xbf13('0x110'),'through':'user_has_mail_interactions'});db[_0xbf13('0x12')][_0xbf13('0x116')](db[_0xbf13('0x10b')],{'as':'ChatInteractions','through':_0xbf13('0x11c')});db['User'][_0xbf13('0x116')](db[_0xbf13('0x10e')],{'as':_0xbf13('0x10f'),'through':_0xbf13('0x11d')});db[_0xbf13('0x12')]['belongsToMany'](db[_0xbf13('0x10c')],{'as':'SmsInteractions','through':_0xbf13('0x11e')});db[_0xbf13('0x12')][_0xbf13('0x116')](db['OpenchannelInteraction'],{'as':_0xbf13('0x10a'),'through':_0xbf13('0x11f')});db['User'][_0xbf13('0x116')](db[_0xbf13('0xf9')],{'as':_0xbf13('0x111'),'through':_0xbf13('0x120')});db[_0xbf13('0x12')]['belongsToMany'](db[_0xbf13('0x1b')],{'as':_0xbf13('0x121'),'through':_0xbf13('0x122'),'required':![]});db['User'][_0xbf13('0x116')](db[_0xbf13('0x3b')],{'as':_0xbf13('0x123'),'through':_0xbf13('0x2f'),'required':![]});db[_0xbf13('0x12')][_0xbf13('0x116')](db[_0xbf13('0x69')],{'as':_0xbf13('0x124'),'through':_0xbf13('0x2d'),'required':![],'hooks':!![]});db['User'][_0xbf13('0x116')](db['FaxQueue'],{'as':'FaxQueues','through':_0xbf13('0x125'),'required':![]});db['User'][_0xbf13('0x116')](db['SmsQueue'],{'as':'SmsQueues','through':'UserSmsQueue','required':![]});db[_0xbf13('0x12')][_0xbf13('0x116')](db[_0xbf13('0x5f')],{'as':_0xbf13('0x126'),'through':'UserOpenchannelQueue','required':![]});db[_0xbf13('0x12')]['belongsToMany'](db['WhatsappQueue'],{'as':_0xbf13('0x127'),'through':_0xbf13('0x33'),'required':![]});db[_0xbf13('0x12')][_0xbf13('0x116')](db[_0xbf13('0xef')],{'through':_0xbf13('0x128')});db[_0xbf13('0x12')][_0xbf13('0x116')](db[_0xbf13('0x129')],{'as':_0xbf13('0x12a'),'through':_0xbf13('0x12b'),'required':![]});db['User'][_0xbf13('0x116')](db[_0xbf13('0x61')],{'as':_0xbf13('0x12c'),'through':_0xbf13('0x12d')});db[_0xbf13('0x12')]['belongsToMany'](db[_0xbf13('0x4b')],{'as':_0xbf13('0x12e'),'through':_0xbf13('0x12f')});db[_0xbf13('0x12')]['belongsToMany'](db[_0xbf13('0x39')],{'as':'MailAccounts','through':_0xbf13('0x130')});db[_0xbf13('0x12')][_0xbf13('0x116')](db[_0xbf13('0x59')],{'as':_0xbf13('0x131'),'through':_0xbf13('0x132')});db[_0xbf13('0x12')][_0xbf13('0x116')](db['SmsAccount'],{'as':'SmsAccounts','through':_0xbf13('0x133')});db[_0xbf13('0x12')]['belongsToMany'](db[_0xbf13('0xf6')],{'as':_0xbf13('0x134'),'through':_0xbf13('0x135')});db['User'][_0xbf13('0x116')](db[_0xbf13('0xdb')],{'as':_0xbf13('0x136'),'through':_0xbf13('0x137')});db['VoiceChanSpy']['hasMany'](db[_0xbf13('0x105')],{'as':'SpiedAgents','onDelete':_0xbf13('0x107'),'foreignKey':'ChanSpyId'});db[_0xbf13('0x17')][_0xbf13('0x102')](db[_0xbf13('0x105')],{'onDelete':_0xbf13('0x107')});db[_0xbf13('0x105')][_0xbf13('0x102')](db[_0xbf13('0x105')],{'as':_0xbf13('0x138'),'onDelete':'cascade'});db['VoiceMusicOnHold'][_0xbf13('0x116')](db[_0xbf13('0x85')],{'as':_0xbf13('0x139'),'through':'moh_has_sounds'});db[_0xbf13('0x1b')][_0xbf13('0x102')](db['UserVoiceQueueRt'],{'as':_0xbf13('0x13a'),'foreignKey':'VoiceQueueId'});db['VoiceQueue']['hasMany'](db[_0xbf13('0x72')],{'as':'Hoppers','foreignKey':_0xbf13('0x13b')});db[_0xbf13('0x1b')][_0xbf13('0x102')](db[_0xbf13('0x76')],{'as':_0xbf13('0x13c'),'foreignKey':'VoiceQueueId'});db[_0xbf13('0x1b')][_0xbf13('0x102')](db[_0xbf13('0x77')],{'as':_0xbf13('0x13d'),'foreignKey':_0xbf13('0x13b')});db['VoiceQueue'][_0xbf13('0x102')](db[_0xbf13('0x109')],{'as':_0xbf13('0x109'),'foreignKey':'VoiceQueueId'});db['VoiceQueue'][_0xbf13('0x102')](db[_0xbf13('0x74')],{'as':_0xbf13('0x13e'),'foreignKey':'VoiceQueueId'});db[_0xbf13('0x1b')]['hasMany'](db[_0xbf13('0xd1')],{'as':_0xbf13('0x13f'),'foreignKey':_0xbf13('0x13b')});db[_0xbf13('0x1b')]['belongsTo'](db[_0xbf13('0x29')],{'as':_0xbf13('0x29'),'foreignKey':'TrunkId'});db[_0xbf13('0x1b')]['belongsTo'](db[_0xbf13('0x29')],{'as':_0xbf13('0x140'),'foreignKey':_0xbf13('0x141')});db[_0xbf13('0x1b')]['belongsTo'](db[_0xbf13('0x81')],{'as':_0xbf13('0x81'),'foreignKey':'IntervalId'});db[_0xbf13('0x1b')][_0xbf13('0x113')](db[_0xbf13('0x142')],{'as':'mandatoryDispositionPause','foreignKey':_0xbf13('0x143')});db[_0xbf13('0x1b')]['belongsToMany'](db[_0xbf13('0xef')],{'as':_0xbf13('0x11a'),'through':_0xbf13('0x144')});db[_0xbf13('0x1b')][_0xbf13('0x116')](db[_0xbf13('0x12')],{'as':_0xbf13('0x145'),'through':_0xbf13('0x122')});db['VoiceQueue'][_0xbf13('0x116')](db['Team'],{'as':_0xbf13('0x146'),'through':_0xbf13('0x147')});db[_0xbf13('0x1b')][_0xbf13('0x116')](db[_0xbf13('0xef')],{'as':_0xbf13('0x148'),'through':_0xbf13('0x149')});db[_0xbf13('0x1c')][_0xbf13('0x113')](db['User'],{'as':_0xbf13('0x12'),'foreignKey':_0xbf13('0x101')});db[_0xbf13('0x1e')][_0xbf13('0x113')](db[_0xbf13('0x12')],{'as':'User','foreignKey':_0xbf13('0x101')});db[_0xbf13('0x20')]['hasMany'](db[_0xbf13('0x14a')],{'as':'Messages','onDelete':'cascade','foreignKey':_0xbf13('0x14b'),'sourceKey':_0xbf13('0x14c')});db[_0xbf13('0x14a')]['belongsTo'](db['VoiceMail'],{'foreignKey':'mailboxuser','targetKey':_0xbf13('0x14c')});db['VoiceCallReport'][_0xbf13('0x102')](db[_0xbf13('0x27')],{'as':_0xbf13('0x14d'),'foreignKey':'uniqueid','constraints':![]});db[_0xbf13('0x23')][_0xbf13('0x102')](db['VoiceAgentReport'],{'as':'AgentReports','foreignKey':'uniqueid','constraints':![]});db[_0xbf13('0x23')][_0xbf13('0x113')](db[_0xbf13('0x12')],{'as':_0xbf13('0x12'),'foreignKey':_0xbf13('0x101')});db[_0xbf13('0x23')]['belongsTo'](db[_0xbf13('0x70')],{'as':_0xbf13('0x14e'),'foreignKey':_0xbf13('0x14f')});db[_0xbf13('0x35')][_0xbf13('0x113')](db['MailAccount'],{'as':_0xbf13('0x39'),'foreignKey':_0xbf13('0x150')});db[_0xbf13('0x37')][_0xbf13('0x113')](db[_0xbf13('0x39')],{'as':_0xbf13('0x39'),'foreignKey':_0xbf13('0x150')});db[_0xbf13('0x39')][_0xbf13('0x100')](db[_0xbf13('0x35')],{'as':_0xbf13('0x151'),'onDelete':_0xbf13('0x107')});db['MailAccount'][_0xbf13('0x100')](db[_0xbf13('0x37')],{'as':_0xbf13('0x152'),'onDelete':_0xbf13('0x107')});db['MailAccount'][_0xbf13('0x102')](db['Disposition'],{'as':_0xbf13('0x153'),'foreignKey':_0xbf13('0x150')});db[_0xbf13('0x39')][_0xbf13('0x102')](db[_0xbf13('0x7b')],{'as':_0xbf13('0x154'),'foreignKey':_0xbf13('0x150')});db['MailAccount'][_0xbf13('0x102')](db[_0xbf13('0x41')],{'as':'Messages','foreignKey':_0xbf13('0x150')});db['MailAccount'][_0xbf13('0x102')](db[_0xbf13('0x3f')],{'as':_0xbf13('0x155')});db[_0xbf13('0x39')][_0xbf13('0x102')](db[_0xbf13('0x43')],{'as':_0xbf13('0x138')});db[_0xbf13('0x39')][_0xbf13('0x113')](db[_0xbf13('0xef')],{'as':'List','foreignKey':_0xbf13('0x156')});db[_0xbf13('0x39')][_0xbf13('0x113')](db[_0xbf13('0x157')],{'as':_0xbf13('0x157'),'foreignKey':_0xbf13('0x158')});db[_0xbf13('0x39')][_0xbf13('0x113')](db[_0xbf13('0x142')],{'as':_0xbf13('0x159'),'foreignKey':'mandatoryDispositionPauseId'});db[_0xbf13('0x39')][_0xbf13('0x116')](db[_0xbf13('0x12')],{'as':'Agents','through':_0xbf13('0x130')});db[_0xbf13('0x3b')][_0xbf13('0x116')](db[_0xbf13('0x12')],{'as':_0xbf13('0x145'),'through':_0xbf13('0x2f')});db['MailQueue'][_0xbf13('0x116')](db['Team'],{'through':'team_has_mail_queues','as':_0xbf13('0x146')});db[_0xbf13('0x3f')][_0xbf13('0x102')](db[_0xbf13('0x41')],{'as':'Messages','onDelete':'cascade','foreignKey':_0xbf13('0x15a')});db[_0xbf13('0x3f')][_0xbf13('0x113')](db[_0xbf13('0x39')],{'as':_0xbf13('0x15b'),'foreignKey':'MailAccountId'});db[_0xbf13('0x3f')]['belongsTo'](db[_0xbf13('0x70')],{'as':_0xbf13('0x14e'),'foreignKey':_0xbf13('0x14f')});db[_0xbf13('0x3f')][_0xbf13('0x113')](db[_0xbf13('0x12')],{'as':_0xbf13('0x15c'),'foreignKey':_0xbf13('0x101')});db[_0xbf13('0x3f')]['belongsToMany'](db[_0xbf13('0x87')],{'through':_0xbf13('0x15d'),'as':_0xbf13('0x15e')});db['MailInteraction'][_0xbf13('0x116')](db['Tag'],{'through':'mail_interaction_has_tags','as':'ThroughTags'});db[_0xbf13('0x3f')][_0xbf13('0x116')](db[_0xbf13('0x12')],{'as':_0xbf13('0x15f'),'through':_0xbf13('0x160'),'foreignKey':_0xbf13('0x15a')});db[_0xbf13('0x41')][_0xbf13('0x102')](db['Attachment'],{'as':_0xbf13('0x161'),'onDelete':_0xbf13('0x107')});db['MailMessage']['belongsTo'](db['User'],{'as':_0xbf13('0x12')});db[_0xbf13('0x41')]['belongsTo'](db[_0xbf13('0x70')],{'onDelete':_0xbf13('0x107'),'as':_0xbf13('0x14e')});db[_0xbf13('0x41')][_0xbf13('0x113')](db[_0xbf13('0x3f')],{'as':_0xbf13('0x162'),'foreignKey':'MailInteractionId'});db[_0xbf13('0x41')][_0xbf13('0x113')](db['MailAccount'],{'as':_0xbf13('0x15b'),'foreignKey':_0xbf13('0x150')});db[_0xbf13('0x43')][_0xbf13('0x113')](db['User'],{'onDelete':_0xbf13('0x163')});db[_0xbf13('0x43')][_0xbf13('0x113')](db[_0xbf13('0x3b')],{'onDelete':_0xbf13('0x163')});db[_0xbf13('0x43')][_0xbf13('0x113')](db[_0xbf13('0x39')],{'onDelete':_0xbf13('0x163')});db[_0xbf13('0x43')][_0xbf13('0x113')](db[_0xbf13('0x81')],{'onDelete':'restrict','foreignKey':_0xbf13('0x164')});db['MailApplication']['belongsTo'](db[_0xbf13('0x87')],{'onDelete':_0xbf13('0x163'),'foreignKey':_0xbf13('0x165')});db[_0xbf13('0x45')][_0xbf13('0x113')](db['MailAccount'],{});db['MailQueueReport'][_0xbf13('0x113')](db[_0xbf13('0xef')],{'as':'List','foreignKey':'ListId'});db['MailQueueReport'][_0xbf13('0x113')](db[_0xbf13('0x70')],{'as':_0xbf13('0x14e'),'foreignKey':_0xbf13('0x14f')});db[_0xbf13('0x45')][_0xbf13('0x113')](db[_0xbf13('0x3f')],{});db[_0xbf13('0x45')][_0xbf13('0x113')](db['MailMessage'],{});db[_0xbf13('0x45')][_0xbf13('0x113')](db['User'],{});db[_0xbf13('0x45')][_0xbf13('0x113')](db[_0xbf13('0x3b')],{});db['Dashboard'][_0xbf13('0x102')](db[_0xbf13('0x49')],{'as':_0xbf13('0x166'),'onDelete':_0xbf13('0x107')});db[_0xbf13('0x4b')][_0xbf13('0x102')](db['Disposition'],{'as':_0xbf13('0x153'),'foreignKey':_0xbf13('0x167')});db[_0xbf13('0x4b')][_0xbf13('0x102')](db[_0xbf13('0x7b')],{'as':_0xbf13('0x154'),'foreignKey':'FaxAccountId'});db[_0xbf13('0x4b')][_0xbf13('0x102')](db[_0xbf13('0x10e')],{'as':'Interactions'});db[_0xbf13('0x4b')][_0xbf13('0x102')](db[_0xbf13('0x4c')],{'as':_0xbf13('0x138')});db[_0xbf13('0x4b')][_0xbf13('0x102')](db[_0xbf13('0x105')],{'as':'Exntensions','onDelete':_0xbf13('0x107')});db[_0xbf13('0x4b')][_0xbf13('0x102')](db[_0xbf13('0x4e')],{'as':_0xbf13('0x168')});db[_0xbf13('0x4b')][_0xbf13('0x113')](db[_0xbf13('0x29')],{'as':'Trunk'});db['FaxAccount'][_0xbf13('0x113')](db['CmList'],{'as':'List','foreignKey':'ListId'});db[_0xbf13('0x4b')]['belongsTo'](db[_0xbf13('0x142')],{'as':_0xbf13('0x159'),'foreignKey':'mandatoryDispositionPauseId'});db[_0xbf13('0x4b')][_0xbf13('0x116')](db[_0xbf13('0x12')],{'as':'Agents','through':'user_has_fax_accounts'});db[_0xbf13('0x4c')][_0xbf13('0x113')](db[_0xbf13('0x12')],{'onDelete':_0xbf13('0x163')});db['FaxApplication']['belongsTo'](db[_0xbf13('0x50')],{'onDelete':_0xbf13('0x163')});db[_0xbf13('0x4c')][_0xbf13('0x113')](db[_0xbf13('0x4b')],{'onDelete':_0xbf13('0x163')});db[_0xbf13('0x4c')][_0xbf13('0x113')](db[_0xbf13('0x87')],{'onDelete':_0xbf13('0x163'),'foreignKey':_0xbf13('0x165')});db[_0xbf13('0x10e')][_0xbf13('0x102')](db[_0xbf13('0x4e')],{'as':_0xbf13('0x168'),'onDelete':_0xbf13('0x107'),'foreignKey':_0xbf13('0x169')});db['FaxInteraction'][_0xbf13('0x113')](db[_0xbf13('0x4b')],{'as':'Account','foreignKey':_0xbf13('0x167')});db[_0xbf13('0x10e')][_0xbf13('0x113')](db[_0xbf13('0x70')],{'as':_0xbf13('0x14e'),'foreignKey':_0xbf13('0x14f')});db[_0xbf13('0x10e')][_0xbf13('0x113')](db[_0xbf13('0x12')],{'as':_0xbf13('0x15c'),'foreignKey':_0xbf13('0x101')});db[_0xbf13('0x10e')][_0xbf13('0x116')](db[_0xbf13('0x87')],{'through':'fax_interaction_has_tags','as':_0xbf13('0x15e')});db[_0xbf13('0x10e')][_0xbf13('0x116')](db[_0xbf13('0x87')],{'through':_0xbf13('0x16a'),'as':_0xbf13('0x16b')});db[_0xbf13('0x10e')][_0xbf13('0x116')](db[_0xbf13('0x12')],{'as':_0xbf13('0x15f'),'through':_0xbf13('0x11d'),'foreignKey':'FaxInteractionId'});db[_0xbf13('0x4e')][_0xbf13('0x113')](db[_0xbf13('0x12')],{'onDelete':_0xbf13('0x107'),'as':_0xbf13('0x12')});db[_0xbf13('0x4e')][_0xbf13('0x113')](db['FaxInteraction'],{'as':_0xbf13('0x162'),'foreignKey':_0xbf13('0x169')});db[_0xbf13('0x4e')][_0xbf13('0x113')](db[_0xbf13('0x70')],{'onDelete':_0xbf13('0x107'),'as':_0xbf13('0x14e')});db[_0xbf13('0x4e')][_0xbf13('0x113')](db[_0xbf13('0xe4')],{'as':_0xbf13('0xe4'),'foreignKey':_0xbf13('0x16c')});db['FaxMessage'][_0xbf13('0x113')](db[_0xbf13('0x4b')],{'as':_0xbf13('0x15b'),'foreignKey':_0xbf13('0x167')});db['FaxQueue'][_0xbf13('0x116')](db[_0xbf13('0x12')],{'as':_0xbf13('0x145'),'through':_0xbf13('0x125')});db[_0xbf13('0x50')][_0xbf13('0x116')](db[_0xbf13('0xdf')],{'through':_0xbf13('0x16d'),'as':_0xbf13('0x146')});db['FaxQueueReport']['belongsTo'](db[_0xbf13('0x4b')],{});db[_0xbf13('0x51')]['belongsTo'](db['CmList'],{'as':_0xbf13('0x16e'),'foreignKey':'ListId'});db[_0xbf13('0x51')][_0xbf13('0x113')](db[_0xbf13('0x70')],{'as':'Contact','foreignKey':_0xbf13('0x14f')});db[_0xbf13('0x51')][_0xbf13('0x113')](db['FaxInteraction'],{});db['FaxQueueReport'][_0xbf13('0x113')](db[_0xbf13('0x4e')],{});db[_0xbf13('0x51')][_0xbf13('0x113')](db[_0xbf13('0x12')],{});db[_0xbf13('0x51')][_0xbf13('0x113')](db[_0xbf13('0x50')],{});db[_0xbf13('0x16f')]['hasMany'](db[_0xbf13('0x7d')],{'as':'Dispositions','foreignKey':_0xbf13('0x170')});db[_0xbf13('0x16f')][_0xbf13('0x102')](db[_0xbf13('0x7b')],{'as':_0xbf13('0x154'),'foreignKey':'SmsAccountId'});db[_0xbf13('0x16f')][_0xbf13('0x102')](db[_0xbf13('0x56')],{'as':'Messages','foreignKey':'SmsAccountId'});db[_0xbf13('0x16f')][_0xbf13('0x102')](db[_0xbf13('0x10c')],{'as':'Interactions'});db[_0xbf13('0x16f')][_0xbf13('0x102')](db[_0xbf13('0x53')],{'as':_0xbf13('0x138')});db[_0xbf13('0x16f')][_0xbf13('0x113')](db[_0xbf13('0xef')],{'as':'List','foreignKey':_0xbf13('0x156')});db[_0xbf13('0x16f')][_0xbf13('0x113')](db[_0xbf13('0x142')],{'as':_0xbf13('0x159'),'foreignKey':_0xbf13('0x143')});db[_0xbf13('0x16f')][_0xbf13('0x116')](db[_0xbf13('0x12')],{'as':_0xbf13('0x145'),'through':_0xbf13('0x133')});db[_0xbf13('0x53')][_0xbf13('0x113')](db[_0xbf13('0x12')],{'onDelete':_0xbf13('0x163')});db['SmsApplication'][_0xbf13('0x113')](db[_0xbf13('0x57')],{'onDelete':_0xbf13('0x163')});db[_0xbf13('0x53')][_0xbf13('0x113')](db[_0xbf13('0x16f')],{'onDelete':_0xbf13('0x163')});db['SmsApplication'][_0xbf13('0x113')](db[_0xbf13('0x81')],{'onDelete':_0xbf13('0x163'),'foreignKey':'IntervalId'});db[_0xbf13('0x53')]['belongsTo'](db['Tag'],{'onDelete':_0xbf13('0x163'),'foreignKey':_0xbf13('0x165')});db[_0xbf13('0x10c')][_0xbf13('0x102')](db[_0xbf13('0x56')],{'as':'Messages','onDelete':'cascade','foreignKey':_0xbf13('0x171')});db[_0xbf13('0x10c')][_0xbf13('0x113')](db[_0xbf13('0x16f')],{'as':'Account','foreignKey':'SmsAccountId'});db[_0xbf13('0x10c')][_0xbf13('0x113')](db[_0xbf13('0x70')],{'as':_0xbf13('0x14e'),'foreignKey':_0xbf13('0x14f')});db[_0xbf13('0x10c')][_0xbf13('0x113')](db[_0xbf13('0x12')],{'as':'Owner','foreignKey':_0xbf13('0x101')});db[_0xbf13('0x10c')][_0xbf13('0x116')](db['Tag'],{'through':_0xbf13('0x172'),'as':'Tags'});db[_0xbf13('0x10c')][_0xbf13('0x116')](db[_0xbf13('0x87')],{'through':_0xbf13('0x172'),'as':_0xbf13('0x16b')});db['SmsInteraction']['belongsToMany'](db[_0xbf13('0x12')],{'as':'Users','through':_0xbf13('0x11e'),'foreignKey':'SmsInteractionId'});db[_0xbf13('0x56')][_0xbf13('0x113')](db['User'],{'as':'User'});db[_0xbf13('0x56')]['belongsTo'](db[_0xbf13('0x70')],{'onDelete':'cascade','as':'Contact'});db[_0xbf13('0x56')][_0xbf13('0x113')](db[_0xbf13('0x10c')],{'onDelete':_0xbf13('0x107'),'as':_0xbf13('0x162'),'foreignKey':_0xbf13('0x171')});db[_0xbf13('0x56')][_0xbf13('0x113')](db[_0xbf13('0x16f')],{'as':_0xbf13('0x15b'),'foreignKey':_0xbf13('0x170')});db[_0xbf13('0x57')]['belongsToMany'](db[_0xbf13('0x12')],{'as':_0xbf13('0x145'),'through':_0xbf13('0x173'),'foreignKey':_0xbf13('0x174')});db[_0xbf13('0x57')][_0xbf13('0x116')](db[_0xbf13('0xdf')],{'through':_0xbf13('0x175'),'as':_0xbf13('0x146')});db[_0xbf13('0x59')][_0xbf13('0x102')](db[_0xbf13('0x7d')],{'as':_0xbf13('0x153'),'foreignKey':_0xbf13('0x176')});db[_0xbf13('0x59')][_0xbf13('0x102')](db['CannedAnswer'],{'as':_0xbf13('0x154'),'foreignKey':_0xbf13('0x176')});db[_0xbf13('0x59')]['hasMany'](db[_0xbf13('0x5c')],{'as':_0xbf13('0x155'),'foreignKey':'OpenchannelAccountId'});db[_0xbf13('0x59')][_0xbf13('0x102')](db[_0xbf13('0x177')],{'as':_0xbf13('0x168'),'foreignKey':_0xbf13('0x176')});db['OpenchannelAccount'][_0xbf13('0x102')](db[_0xbf13('0x178')],{'as':_0xbf13('0x138'),'foreignKey':_0xbf13('0x176')});db['OpenchannelAccount'][_0xbf13('0x113')](db['CmList'],{'as':_0xbf13('0x16e'),'foreignKey':_0xbf13('0x156')});db[_0xbf13('0x59')][_0xbf13('0x113')](db[_0xbf13('0x142')],{'as':_0xbf13('0x159'),'foreignKey':'mandatoryDispositionPauseId'});db['OpenchannelAccount'][_0xbf13('0x116')](db[_0xbf13('0x12')],{'as':_0xbf13('0x145'),'through':'user_has_openchannel_accounts'});db[_0xbf13('0x178')][_0xbf13('0x113')](db[_0xbf13('0x12')],{'onDelete':'restrict'});db[_0xbf13('0x178')][_0xbf13('0x113')](db['OpenchannelQueue'],{'onDelete':_0xbf13('0x163'),'foreignKey':_0xbf13('0x179')});db[_0xbf13('0x178')]['belongsTo'](db['OpenchannelAccount'],{'onDelete':_0xbf13('0x163'),'foreignKey':_0xbf13('0x176')});db[_0xbf13('0x178')]['belongsTo'](db[_0xbf13('0x81')],{'onDelete':_0xbf13('0x163'),'foreignKey':_0xbf13('0x164')});db[_0xbf13('0x178')][_0xbf13('0x113')](db['Tag'],{'onDelete':_0xbf13('0x163'),'foreignKey':_0xbf13('0x165')});db['OpenchannelInteraction']['hasMany'](db[_0xbf13('0x177')],{'as':_0xbf13('0x168'),'onDelete':_0xbf13('0x107'),'foreignKey':_0xbf13('0x17a')});db['OpenchannelInteraction'][_0xbf13('0x113')](db[_0xbf13('0x59')],{'as':'Account','foreignKey':_0xbf13('0x176')});db['OpenchannelInteraction'][_0xbf13('0x113')](db[_0xbf13('0x70')],{'as':_0xbf13('0x14e'),'foreignKey':_0xbf13('0x14f')});db[_0xbf13('0x5c')]['belongsTo'](db[_0xbf13('0x12')],{'as':_0xbf13('0x15c'),'foreignKey':'UserId'});db['OpenchannelInteraction']['belongsToMany'](db[_0xbf13('0x87')],{'through':_0xbf13('0x17b'),'as':_0xbf13('0x15e')});db[_0xbf13('0x5c')][_0xbf13('0x116')](db['Tag'],{'through':'openchannel_interaction_has_tags','as':_0xbf13('0x16b')});db[_0xbf13('0x5c')][_0xbf13('0x116')](db['User'],{'as':_0xbf13('0x15f'),'through':_0xbf13('0x11f'),'foreignKey':'OpenchannelInteractionId'});db['OpenchannelMessage'][_0xbf13('0x113')](db[_0xbf13('0x12')],{'onDelete':_0xbf13('0x107'),'as':_0xbf13('0x12')});db[_0xbf13('0x177')][_0xbf13('0x113')](db[_0xbf13('0x70')],{'onDelete':_0xbf13('0x107'),'as':_0xbf13('0x14e')});db[_0xbf13('0x177')]['belongsTo'](db[_0xbf13('0x5c')],{'onDelete':_0xbf13('0x107'),'as':_0xbf13('0x162'),'foreignKey':'OpenchannelInteractionId'});db[_0xbf13('0x177')][_0xbf13('0x113')](db[_0xbf13('0xe4')],{'as':'Attachment','foreignKey':_0xbf13('0x16c')});db[_0xbf13('0x177')][_0xbf13('0x113')](db[_0xbf13('0x59')],{'as':_0xbf13('0x15b'),'foreignKey':'OpenchannelAccountId'});db[_0xbf13('0x5f')][_0xbf13('0x116')](db[_0xbf13('0x12')],{'as':_0xbf13('0x145'),'through':_0xbf13('0x17c'),'foreignKey':'OpenchannelQueueId'});db[_0xbf13('0x5f')]['belongsToMany'](db[_0xbf13('0xdf')],{'through':_0xbf13('0x17d'),'as':_0xbf13('0x146')});db['ChatWebsite'][_0xbf13('0x102')](db[_0xbf13('0x7d')],{'as':_0xbf13('0x153'),'foreignKey':'ChatWebsiteId'});db[_0xbf13('0x61')]['hasMany'](db[_0xbf13('0x7b')],{'as':'Answers','foreignKey':_0xbf13('0x17e')});db['ChatWebsite'][_0xbf13('0x102')](db[_0xbf13('0x6d')],{'as':_0xbf13('0x17f')});db[_0xbf13('0x61')]['hasMany'](db[_0xbf13('0x10b')],{'as':'Interactions'});db['ChatWebsite'][_0xbf13('0x102')](db[_0xbf13('0x64')],{'as':_0xbf13('0x138')});db[_0xbf13('0x61')][_0xbf13('0x102')](db[_0xbf13('0x67')],{'as':'Messages'});db[_0xbf13('0x61')][_0xbf13('0x113')](db[_0xbf13('0xef')],{'as':_0xbf13('0x16e'),'foreignKey':'ListId'});db['ChatWebsite']['belongsTo'](db[_0xbf13('0x81')],{'as':'Interval','foreignKey':_0xbf13('0x164')});db[_0xbf13('0x61')]['belongsTo'](db[_0xbf13('0x142')],{'as':_0xbf13('0x159'),'foreignKey':_0xbf13('0x143')});db['ChatWebsite'][_0xbf13('0x116')](db[_0xbf13('0x12')],{'as':_0xbf13('0x145'),'through':_0xbf13('0x12d')});db[_0xbf13('0x180')][_0xbf13('0x113')](db[_0xbf13('0x59')],{});db[_0xbf13('0x180')][_0xbf13('0x113')](db[_0xbf13('0xef')],{'as':_0xbf13('0x16e'),'foreignKey':_0xbf13('0x156')});db[_0xbf13('0x180')][_0xbf13('0x113')](db['CmContact'],{'as':_0xbf13('0x14e'),'foreignKey':_0xbf13('0x14f')});db['OpenchannelQueueReport'][_0xbf13('0x113')](db[_0xbf13('0x5c')],{});db[_0xbf13('0x180')][_0xbf13('0x113')](db[_0xbf13('0x177')],{});db[_0xbf13('0x180')]['belongsTo'](db[_0xbf13('0x12')],{});db[_0xbf13('0x180')][_0xbf13('0x113')](db[_0xbf13('0x5f')],{});db[_0xbf13('0x64')][_0xbf13('0x113')](db[_0xbf13('0x12')],{'as':'Agent','foreignKey':'UserId','onDelete':_0xbf13('0x163')});db['ChatApplication'][_0xbf13('0x113')](db[_0xbf13('0x69')],{'as':'Queue','foreignKey':_0xbf13('0x181'),'onDelete':_0xbf13('0x163')});db['ChatApplication'][_0xbf13('0x113')](db[_0xbf13('0x61')],{'as':_0xbf13('0x182'),'foreignKey':_0xbf13('0x17e'),'onDelete':_0xbf13('0x163')});db[_0xbf13('0x64')][_0xbf13('0x113')](db['Tag'],{'onDelete':_0xbf13('0x163'),'foreignKey':_0xbf13('0x165')});db[_0xbf13('0x10b')][_0xbf13('0x102')](db['ChatMessage'],{'as':_0xbf13('0x168'),'onDelete':_0xbf13('0x107'),'foreignKey':_0xbf13('0x183')});db[_0xbf13('0x10b')]['belongsTo'](db[_0xbf13('0x61')],{'as':_0xbf13('0x15b'),'foreignKey':_0xbf13('0x17e')});db['ChatInteraction']['belongsTo'](db['CmContact'],{'as':'Contact','foreignKey':'ContactId'});db[_0xbf13('0x10b')][_0xbf13('0x113')](db['User'],{'as':_0xbf13('0x15c'),'foreignKey':_0xbf13('0x101')});db[_0xbf13('0x10b')]['belongsToMany'](db[_0xbf13('0x87')],{'through':_0xbf13('0x184'),'as':_0xbf13('0x15e')});db['ChatInteraction'][_0xbf13('0x116')](db['Tag'],{'through':'chat_interaction_has_tags','as':_0xbf13('0x16b')});db['ChatInteraction'][_0xbf13('0x116')](db[_0xbf13('0x12')],{'as':'Users','through':_0xbf13('0x11c'),'foreignKey':'ChatInteractionId'});db[_0xbf13('0x67')][_0xbf13('0x113')](db[_0xbf13('0x12')],{'onDelete':_0xbf13('0x107'),'as':_0xbf13('0x12')});db[_0xbf13('0x67')][_0xbf13('0x113')](db[_0xbf13('0x70')],{'onDelete':_0xbf13('0x107'),'as':_0xbf13('0x14e'),'foreignKey':_0xbf13('0x14f')});db[_0xbf13('0x67')][_0xbf13('0x113')](db[_0xbf13('0x10b')],{'onDelete':'cascade','as':_0xbf13('0x162'),'foreignKey':_0xbf13('0x183')});db[_0xbf13('0x67')]['belongsTo'](db['Attachment'],{'as':_0xbf13('0xe4'),'foreignKey':_0xbf13('0x16c')});db[_0xbf13('0x67')][_0xbf13('0x113')](db[_0xbf13('0x61')],{'as':_0xbf13('0x15b'),'foreignKey':_0xbf13('0x17e')});db['ChatOfflineMessage']['belongsTo'](db[_0xbf13('0x70')],{'onDelete':_0xbf13('0x107'),'as':_0xbf13('0x14e'),'foreignKey':_0xbf13('0x14f')});db[_0xbf13('0x185')][_0xbf13('0x113')](db[_0xbf13('0x61')],{'as':_0xbf13('0x15b'),'foreignKey':_0xbf13('0x17e')});db[_0xbf13('0x69')]['belongsToMany'](db['User'],{'as':'Agents','through':_0xbf13('0x2d'),'hooks':!![]});db['ChatQueue'][_0xbf13('0x116')](db['Team'],{'through':_0xbf13('0x186'),'as':_0xbf13('0x146')});db[_0xbf13('0x6b')][_0xbf13('0x102')](db[_0xbf13('0xcb')],{'as':'Messages','foreignKey':_0xbf13('0x187'),'onDelete':_0xbf13('0x107')});db['ChatGroup'][_0xbf13('0x116')](db[_0xbf13('0x12')],{'as':'Members','through':_0xbf13('0x188')});db['ChatProactiveAction'][_0xbf13('0x113')](db[_0xbf13('0x61')],{'as':_0xbf13('0x182'),'foreignKey':_0xbf13('0x17e')});db[_0xbf13('0x6f')][_0xbf13('0x102')](db[_0xbf13('0x70')],{'as':'Contacts','foreignKey':_0xbf13('0x189')});db['CmContact']['hasMany'](db[_0xbf13('0x72')],{'as':_0xbf13('0x18a'),'foreignKey':_0xbf13('0x14f')});db[_0xbf13('0x70')][_0xbf13('0x102')](db[_0xbf13('0x76')],{'as':'HopperFinals','foreignKey':_0xbf13('0x14f')});db[_0xbf13('0x70')][_0xbf13('0x102')](db[_0xbf13('0x77')],{'as':'HopperHistories','foreignKey':_0xbf13('0x14f')});db[_0xbf13('0x70')][_0xbf13('0x102')](db[_0xbf13('0x109')],{'as':'ReportAgentPreview','foreignKey':'ContactId'});db['CmContact'][_0xbf13('0x102')](db[_0xbf13('0xd1')],{'as':_0xbf13('0x13f'),'foreignKey':'ContactId'});db['CmContact']['hasMany'](db[_0xbf13('0x5c')],{'as':_0xbf13('0x10a'),'foreignKey':'ContactId','onDelete':_0xbf13('0x163')});db['CmContact'][_0xbf13('0x102')](db[_0xbf13('0x10b')],{'as':'ChatInteractions','foreignKey':'ContactId','onDelete':_0xbf13('0x163')});db[_0xbf13('0x70')][_0xbf13('0x102')](db[_0xbf13('0x10c')],{'as':'SmsInteractions','foreignKey':'ContactId','onDelete':'restrict'});db[_0xbf13('0x70')]['hasMany'](db[_0xbf13('0x10e')],{'as':_0xbf13('0x10f'),'foreignKey':_0xbf13('0x14f'),'onDelete':_0xbf13('0x163')});db[_0xbf13('0x70')][_0xbf13('0x102')](db[_0xbf13('0x3f')],{'as':'MailInteractions','foreignKey':_0xbf13('0x14f'),'onDelete':_0xbf13('0x163')});db[_0xbf13('0x70')][_0xbf13('0x113')](db[_0xbf13('0x6f')],{'as':_0xbf13('0x18b'),'foreignKey':_0xbf13('0x189')});db[_0xbf13('0x70')][_0xbf13('0x113')](db[_0xbf13('0xef')],{'as':'List','foreignKey':_0xbf13('0x156'),'onDelete':'cascade'});db['CmContact'][_0xbf13('0x116')](db[_0xbf13('0x12')],{'as':_0xbf13('0x15f'),'through':_0xbf13('0x119')});db[_0xbf13('0x70')][_0xbf13('0x116')](db[_0xbf13('0x87')],{'as':_0xbf13('0x15e'),'through':_0xbf13('0x18c')});db[_0xbf13('0x70')][_0xbf13('0x116')](db[_0xbf13('0x87')],{'through':_0xbf13('0x18c'),'as':'ThroughTags'});db[_0xbf13('0x72')][_0xbf13('0x113')](db[_0xbf13('0x70')],{'as':'Contact','foreignKey':_0xbf13('0x14f'),'onDelete':_0xbf13('0x107')});db[_0xbf13('0x72')][_0xbf13('0x113')](db[_0xbf13('0xef')],{'as':'List','foreignKey':_0xbf13('0x156'),'onDelete':_0xbf13('0x107')});db[_0xbf13('0x72')][_0xbf13('0x113')](db[_0xbf13('0x12')],{'as':_0xbf13('0x18d'),'foreignKey':_0xbf13('0x101')});db[_0xbf13('0x72')]['belongsTo'](db[_0xbf13('0x1b')],{'as':_0xbf13('0x18e'),'foreignKey':_0xbf13('0x13b'),'onDelete':_0xbf13('0x107')});db[_0xbf13('0x72')][_0xbf13('0x113')](db['Campaign'],{'as':_0xbf13('0x18f'),'foreignKey':_0xbf13('0x190'),'onDelete':_0xbf13('0x107')});db[_0xbf13('0x72')]['belongsTo'](db[_0xbf13('0x12')],{'as':_0xbf13('0x15c'),'foreignKey':'OwnerId'});db[_0xbf13('0x74')]['belongsTo'](db['CmContact'],{'as':'Contact','foreignKey':_0xbf13('0x14f'),'onDelete':'cascade'});db[_0xbf13('0x74')]['belongsTo'](db[_0xbf13('0xef')],{'as':'List','foreignKey':_0xbf13('0x156'),'onDelete':_0xbf13('0x107')});db[_0xbf13('0x74')][_0xbf13('0x113')](db[_0xbf13('0x1b')],{'as':_0xbf13('0x18e'),'foreignKey':_0xbf13('0x13b'),'onDelete':_0xbf13('0x107')});db[_0xbf13('0x74')][_0xbf13('0x113')](db[_0xbf13('0x18f')],{'as':_0xbf13('0x18f'),'foreignKey':_0xbf13('0x190'),'onDelete':_0xbf13('0x107')});db[_0xbf13('0x191')]['hasMany'](db[_0xbf13('0x7f')],{'as':{'plural':_0xbf13('0x192'),'singular':_0xbf13('0x193')},'foreignKey':_0xbf13('0x194'),'onDelete':_0xbf13('0x107'),'hooks':!![]});db[_0xbf13('0x191')][_0xbf13('0x102')](db['Condition'],{'as':{'plural':_0xbf13('0x195'),'singular':'OneAny'},'foreignKey':_0xbf13('0x196'),'onDelete':_0xbf13('0x107'),'hooks':!![]});db[_0xbf13('0x191')][_0xbf13('0x102')](db['Action'],{'as':_0xbf13('0x197'),'foreignKey':_0xbf13('0x198'),'onDelete':_0xbf13('0x107'),'hooks':!![]});db[_0xbf13('0x81')][_0xbf13('0x102')](db['Interval'],{'as':_0xbf13('0x199'),'foreignKey':_0xbf13('0x164'),'onDelete':_0xbf13('0x107'),'hooks':!![],'required':![]});db[_0xbf13('0x81')]['hasMany'](db['VoiceExtension'],{'as':_0xbf13('0x106'),'foreignKey':_0xbf13('0x164'),'onDelete':_0xbf13('0x163')});db[_0xbf13('0x81')]['hasMany'](db[_0xbf13('0x43')],{'as':_0xbf13('0x19a'),'foreignKey':'IntervalId'});db[_0xbf13('0x81')][_0xbf13('0x102')](db['ChatApplication'],{'as':_0xbf13('0x19b'),'foreignKey':_0xbf13('0x164')});db[_0xbf13('0x81')]['hasMany'](db[_0xbf13('0x4c')],{'as':'FaxApplications','foreignKey':_0xbf13('0x164')});db[_0xbf13('0x81')][_0xbf13('0x102')](db['SmsApplication'],{'as':_0xbf13('0x19c'),'foreignKey':_0xbf13('0x164')});db[_0xbf13('0x83')][_0xbf13('0x113')](db[_0xbf13('0x39')],{});db[_0xbf13('0x83')][_0xbf13('0x113')](db[_0xbf13('0x91')],{'foreignKey':_0xbf13('0x19d')});db[_0xbf13('0x83')]['belongsTo'](db[_0xbf13('0x8f')],{'foreignKey':_0xbf13('0x19e')});db[_0xbf13('0x85')]['belongsToMany'](db[_0xbf13('0x1a')],{'as':_0xbf13('0x19f'),'through':_0xbf13('0x1a0'),'onDelete':'restrict'});db[_0xbf13('0x87')][_0xbf13('0x116')](db[_0xbf13('0x70')],{'through':_0xbf13('0x18c')});db[_0xbf13('0x87')][_0xbf13('0x116')](db[_0xbf13('0x10b')],{'through':_0xbf13('0x184')});db[_0xbf13('0x87')]['belongsToMany'](db[_0xbf13('0x3f')],{'through':_0xbf13('0x15d')});db['Tag'][_0xbf13('0x116')](db[_0xbf13('0x10c')],{'through':_0xbf13('0x172')});db[_0xbf13('0x87')][_0xbf13('0x116')](db[_0xbf13('0x10e')],{'through':_0xbf13('0x16a')});db[_0xbf13('0x87')][_0xbf13('0x116')](db[_0xbf13('0x5c')],{'through':_0xbf13('0x17b')});db['Tag'][_0xbf13('0x116')](db[_0xbf13('0xf9')],{'through':_0xbf13('0x1a1')});db[_0xbf13('0x1a2')]['hasMany'](db[_0xbf13('0x7f')],{'as':{'plural':_0xbf13('0x1a3'),'singular':_0xbf13('0x1a4')},'foreignKey':_0xbf13('0x1a5'),'onDelete':_0xbf13('0x107'),'hooks':!![]});db['Trigger'][_0xbf13('0x102')](db[_0xbf13('0x7f')],{'as':{'plural':_0xbf13('0x1a6'),'singular':_0xbf13('0x1a7')},'foreignKey':_0xbf13('0x1a8'),'onDelete':_0xbf13('0x107'),'hooks':!![]});db['Trigger'][_0xbf13('0x102')](db['Action'],{'as':'Actions','foreignKey':'TriggerId','onDelete':_0xbf13('0x107'),'hooks':!![]});db[_0xbf13('0x8f')][_0xbf13('0x102')](db[_0xbf13('0x1a9')],{'as':_0xbf13('0x1aa'),'onDelete':_0xbf13('0x107'),'foreignKey':_0xbf13('0x19e'),'hooks':!![]});db[_0xbf13('0x91')][_0xbf13('0x102')](db[_0xbf13('0x1a9')],{'as':_0xbf13('0x1aa'),'onDelete':'cascade','foreignKey':'DefaultReportId'});db['AnalyticMetric'][_0xbf13('0x102')](db['AnalyticFieldReport'],{'as':_0xbf13('0x1aa'),'onDelete':_0xbf13('0x107'),'foreignKey':_0xbf13('0x1ab')});db[_0xbf13('0x1a9')][_0xbf13('0x113')](db['AnalyticMetric'],{'foreignKey':_0xbf13('0x1ab')});db[_0xbf13('0x99')][_0xbf13('0x102')](db['SalesforceConfiguration'],{'as':_0xbf13('0x1ac'),'onDelete':'cascade','foreignKey':_0xbf13('0x1ad')});db[_0xbf13('0x1ae')]['hasMany'](db['SalesforceField'],{'as':_0xbf13('0x1af'),'onDelete':_0xbf13('0x107'),'foreignKey':_0xbf13('0x1b0')});db[_0xbf13('0x1ae')][_0xbf13('0x102')](db[_0xbf13('0x9b')],{'as':'Descriptions','onDelete':_0xbf13('0x107'),'foreignKey':_0xbf13('0x1b1')});db[_0xbf13('0x1ae')][_0xbf13('0x102')](db[_0xbf13('0x9b')],{'as':_0xbf13('0x1aa'),'onDelete':_0xbf13('0x107'),'foreignKey':_0xbf13('0x1b2')});db[_0xbf13('0x1ae')][_0xbf13('0x113')](db['SalesforceAccount'],{'as':_0xbf13('0x15b'),'foreignKey':_0xbf13('0x1ad')});db[_0xbf13('0x9b')][_0xbf13('0x102')](db[_0xbf13('0x9b')],{'as':_0xbf13('0x1b3'),'foreignKey':_0xbf13('0x1b0')});db['SalesforceField'][_0xbf13('0x102')](db[_0xbf13('0x9b')],{'as':_0xbf13('0x1b4'),'foreignKey':_0xbf13('0x1b1')});db[_0xbf13('0x9b')][_0xbf13('0x102')](db['SalesforceField'],{'as':_0xbf13('0x1b5'),'foreignKey':_0xbf13('0x1b2')});db[_0xbf13('0x9b')][_0xbf13('0x113')](db['Variable'],{'as':'Variable','foreignKey':_0xbf13('0x1b6')});db[_0xbf13('0x1b7')]['hasMany'](db['SugarcrmConfiguration'],{'as':_0xbf13('0x1ac'),'onDelete':_0xbf13('0x107'),'foreignKey':_0xbf13('0x1ad')});db[_0xbf13('0x1b8')][_0xbf13('0x102')](db['SugarcrmField'],{'as':_0xbf13('0x1af'),'onDelete':_0xbf13('0x107'),'foreignKey':'SubjectId'});db['SugarcrmConfiguration'][_0xbf13('0x102')](db[_0xbf13('0x9f')],{'as':'Descriptions','onDelete':_0xbf13('0x107'),'foreignKey':_0xbf13('0x1b1')});db['SugarcrmConfiguration'][_0xbf13('0x102')](db[_0xbf13('0x9f')],{'as':_0xbf13('0x1aa'),'onDelete':_0xbf13('0x107'),'foreignKey':_0xbf13('0x1b2')});db[_0xbf13('0x1b8')][_0xbf13('0x113')](db[_0xbf13('0x1b7')],{'as':_0xbf13('0x15b'),'foreignKey':_0xbf13('0x1ad')});db[_0xbf13('0x9f')][_0xbf13('0x102')](db[_0xbf13('0x9f')],{'as':'Subject','foreignKey':'SubjectId'});db[_0xbf13('0x9f')][_0xbf13('0x102')](db['SugarcrmField'],{'as':'Description','foreignKey':'DescriptionId'});db[_0xbf13('0x9f')][_0xbf13('0x102')](db[_0xbf13('0x9f')],{'as':_0xbf13('0x1b5'),'foreignKey':_0xbf13('0x1b2')});db[_0xbf13('0x9f')][_0xbf13('0x113')](db['Variable'],{'as':'Variable','foreignKey':_0xbf13('0x1b6')});db[_0xbf13('0x1b9')][_0xbf13('0x102')](db[_0xbf13('0xa2')],{'as':'Configurations','onDelete':_0xbf13('0x107'),'foreignKey':_0xbf13('0x1ad')});db[_0xbf13('0xa2')]['hasMany'](db['DeskField'],{'as':_0xbf13('0x1af'),'onDelete':_0xbf13('0x107'),'foreignKey':_0xbf13('0x1b0')});db[_0xbf13('0xa2')][_0xbf13('0x102')](db['DeskField'],{'as':_0xbf13('0x1ba'),'onDelete':'cascade','foreignKey':_0xbf13('0x1b1')});db[_0xbf13('0xa2')]['hasMany'](db[_0xbf13('0x1bb')],{'as':'Fields','onDelete':_0xbf13('0x107'),'foreignKey':_0xbf13('0x1b2')});db['DeskConfiguration'][_0xbf13('0x113')](db['DeskAccount'],{'as':_0xbf13('0x15b'),'foreignKey':_0xbf13('0x1ad')});db[_0xbf13('0xa2')][_0xbf13('0x116')](db[_0xbf13('0x87')],{'through':'int_desk_configuration_has_tags'});db[_0xbf13('0x1bb')][_0xbf13('0x102')](db[_0xbf13('0x1bb')],{'as':_0xbf13('0x1b3'),'foreignKey':_0xbf13('0x1b0')});db[_0xbf13('0x1bb')][_0xbf13('0x102')](db['DeskField'],{'as':_0xbf13('0x1b4'),'foreignKey':_0xbf13('0x1b1')});db[_0xbf13('0x1bb')][_0xbf13('0x102')](db[_0xbf13('0x1bb')],{'as':_0xbf13('0x1b5'),'foreignKey':_0xbf13('0x1b2')});db['DeskField']['belongsTo'](db[_0xbf13('0x8a')],{'as':_0xbf13('0x8a'),'foreignKey':_0xbf13('0x1b6')});db[_0xbf13('0xa5')][_0xbf13('0x102')](db[_0xbf13('0xa7')],{'as':_0xbf13('0x1ac'),'onDelete':'cascade','foreignKey':'AccountId'});db[_0xbf13('0xa7')]['hasMany'](db[_0xbf13('0xa9')],{'as':'Subjects','onDelete':_0xbf13('0x107'),'foreignKey':_0xbf13('0x1b0')});db[_0xbf13('0xa7')][_0xbf13('0x102')](db[_0xbf13('0xa9')],{'as':_0xbf13('0x1ba'),'onDelete':_0xbf13('0x107'),'foreignKey':_0xbf13('0x1b1')});db[_0xbf13('0xa7')][_0xbf13('0x102')](db['ZohoField'],{'as':_0xbf13('0x1aa'),'onDelete':_0xbf13('0x107'),'foreignKey':_0xbf13('0x1b2')});db[_0xbf13('0xa7')][_0xbf13('0x113')](db[_0xbf13('0xa5')],{'as':'Account','foreignKey':_0xbf13('0x1ad')});db[_0xbf13('0xa9')][_0xbf13('0x102')](db[_0xbf13('0xa9')],{'as':'Subject','foreignKey':'SubjectId'});db[_0xbf13('0xa9')][_0xbf13('0x102')](db[_0xbf13('0xa9')],{'as':_0xbf13('0x1b4'),'foreignKey':_0xbf13('0x1b1')});db['ZohoField'][_0xbf13('0x102')](db[_0xbf13('0xa9')],{'as':_0xbf13('0x1b5'),'foreignKey':_0xbf13('0x1b2')});db['ZohoField'][_0xbf13('0x113')](db[_0xbf13('0x8a')],{'as':_0xbf13('0x8a'),'foreignKey':_0xbf13('0x1b6')});db[_0xbf13('0xab')][_0xbf13('0x102')](db[_0xbf13('0x1bc')],{'as':_0xbf13('0x1ac'),'onDelete':'cascade','foreignKey':_0xbf13('0x1ad')});db['ZendeskConfiguration'][_0xbf13('0x102')](db[_0xbf13('0xac')],{'as':_0xbf13('0x1af'),'foreignKey':_0xbf13('0x1b0')});db[_0xbf13('0x1bc')][_0xbf13('0x102')](db[_0xbf13('0xac')],{'as':_0xbf13('0x1ba'),'foreignKey':'DescriptionId'});db[_0xbf13('0x1bc')][_0xbf13('0x102')](db[_0xbf13('0xac')],{'as':_0xbf13('0x1aa'),'foreignKey':_0xbf13('0x1b2')});db['ZendeskConfiguration']['belongsTo'](db[_0xbf13('0xab')],{'as':_0xbf13('0x15b'),'foreignKey':_0xbf13('0x1ad')});db[_0xbf13('0x1bc')][_0xbf13('0x116')](db['Tag'],{'through':_0xbf13('0x1bd')});db[_0xbf13('0xac')][_0xbf13('0x102')](db[_0xbf13('0xac')],{'as':'Subject','foreignKey':'SubjectId'});db['ZendeskField'][_0xbf13('0x102')](db[_0xbf13('0xac')],{'as':'Description','foreignKey':_0xbf13('0x1b1')});db[_0xbf13('0xac')][_0xbf13('0x102')](db['ZendeskField'],{'as':_0xbf13('0x1b5'),'foreignKey':'FieldId'});db[_0xbf13('0xac')][_0xbf13('0x113')](db[_0xbf13('0x8a')],{'as':'Variable','foreignKey':_0xbf13('0x1b6')});db[_0xbf13('0xae')]['hasMany'](db['FreshdeskConfiguration'],{'as':_0xbf13('0x1ac'),'onDelete':_0xbf13('0x107'),'foreignKey':_0xbf13('0x1ad')});db['FreshdeskConfiguration']['hasMany'](db[_0xbf13('0xb1')],{'as':_0xbf13('0x1af'),'onDelete':'cascade','foreignKey':_0xbf13('0x1b0')});db[_0xbf13('0x1be')][_0xbf13('0x102')](db[_0xbf13('0xb1')],{'as':_0xbf13('0x1ba'),'onDelete':_0xbf13('0x107'),'foreignKey':'DescriptionId'});db[_0xbf13('0x1be')][_0xbf13('0x102')](db[_0xbf13('0xb1')],{'as':_0xbf13('0x1aa'),'onDelete':_0xbf13('0x107'),'foreignKey':_0xbf13('0x1b2')});db[_0xbf13('0x1be')][_0xbf13('0x113')](db[_0xbf13('0xae')],{'as':_0xbf13('0x15b'),'foreignKey':_0xbf13('0x1ad')});db['FreshdeskConfiguration'][_0xbf13('0x116')](db[_0xbf13('0x87')],{'through':_0xbf13('0x1bf')});db[_0xbf13('0xb1')][_0xbf13('0x102')](db['FreshdeskField'],{'as':_0xbf13('0x1b3'),'foreignKey':_0xbf13('0x1b0')});db[_0xbf13('0xb1')][_0xbf13('0x102')](db[_0xbf13('0xb1')],{'as':'Description','foreignKey':_0xbf13('0x1b1')});db['FreshdeskField'][_0xbf13('0x102')](db[_0xbf13('0xb1')],{'as':'Field','foreignKey':'FieldId'});db[_0xbf13('0xb1')][_0xbf13('0x113')](db[_0xbf13('0x8a')],{'as':_0xbf13('0x8a'),'foreignKey':_0xbf13('0x1b6')});db[_0xbf13('0xb3')]['hasMany'](db[_0xbf13('0x1c0')],{'as':'Configurations','onDelete':_0xbf13('0x107'),'foreignKey':_0xbf13('0x1ad')});db[_0xbf13('0x1c0')][_0xbf13('0x102')](db['VtigerField'],{'as':_0xbf13('0x1af'),'foreignKey':_0xbf13('0x1b0')});db[_0xbf13('0x1c0')]['hasMany'](db['VtigerField'],{'as':_0xbf13('0x1ba'),'foreignKey':_0xbf13('0x1b1')});db['VtigerConfiguration'][_0xbf13('0x102')](db['VtigerField'],{'as':_0xbf13('0x1aa'),'foreignKey':_0xbf13('0x1b2')});db[_0xbf13('0x1c0')]['belongsTo'](db[_0xbf13('0xb3')],{'as':_0xbf13('0x15b'),'foreignKey':_0xbf13('0x1ad')});db[_0xbf13('0xb6')][_0xbf13('0x102')](db[_0xbf13('0xb6')],{'as':'Subject','foreignKey':'SubjectId'});db[_0xbf13('0xb6')][_0xbf13('0x102')](db['VtigerField'],{'as':_0xbf13('0x1b4'),'foreignKey':'DescriptionId'});db[_0xbf13('0xb6')][_0xbf13('0x102')](db['VtigerField'],{'as':_0xbf13('0x1b5'),'foreignKey':'FieldId'});db[_0xbf13('0xb6')]['belongsTo'](db['Variable'],{'as':_0xbf13('0x8a'),'foreignKey':_0xbf13('0x1b6')});db[_0xbf13('0xb7')][_0xbf13('0x102')](db[_0xbf13('0xb9')],{'as':_0xbf13('0x1ac'),'onDelete':'cascade','foreignKey':_0xbf13('0x1ad')});db['ServicenowConfiguration']['hasMany'](db[_0xbf13('0xbb')],{'as':_0xbf13('0x1af'),'foreignKey':_0xbf13('0x1b0')});db[_0xbf13('0xb9')][_0xbf13('0x102')](db['ServicenowField'],{'as':_0xbf13('0x1ba'),'foreignKey':'DescriptionId'});db[_0xbf13('0xb9')]['hasMany'](db['ServicenowField'],{'as':_0xbf13('0x1aa'),'foreignKey':_0xbf13('0x1b2')});db[_0xbf13('0xb9')][_0xbf13('0x113')](db[_0xbf13('0xb7')],{'as':_0xbf13('0x15b'),'foreignKey':_0xbf13('0x1ad')});db[_0xbf13('0xbb')][_0xbf13('0x102')](db[_0xbf13('0xbb')],{'as':_0xbf13('0x1b3'),'foreignKey':_0xbf13('0x1b0')});db[_0xbf13('0xbb')][_0xbf13('0x102')](db[_0xbf13('0xbb')],{'as':'Description','foreignKey':_0xbf13('0x1b1')});db[_0xbf13('0xbb')][_0xbf13('0x102')](db[_0xbf13('0xbb')],{'as':_0xbf13('0x1b5'),'foreignKey':'FieldId'});db[_0xbf13('0xbb')][_0xbf13('0x113')](db[_0xbf13('0x8a')],{'as':_0xbf13('0x8a'),'foreignKey':'VariableId'});db[_0xbf13('0xbd')][_0xbf13('0x102')](db[_0xbf13('0xbf')],{'as':_0xbf13('0x1ac'),'onDelete':_0xbf13('0x107'),'foreignKey':_0xbf13('0x1ad')});db[_0xbf13('0xbf')][_0xbf13('0x102')](db[_0xbf13('0x1c1')],{'as':'Subjects','onDelete':_0xbf13('0x107'),'foreignKey':_0xbf13('0x1b0')});db[_0xbf13('0xbf')][_0xbf13('0x102')](db['Dynamics365Field'],{'as':_0xbf13('0x1ba'),'onDelete':_0xbf13('0x107'),'foreignKey':_0xbf13('0x1b1')});db['Dynamics365Configuration'][_0xbf13('0x102')](db[_0xbf13('0x1c1')],{'as':_0xbf13('0x1aa'),'onDelete':_0xbf13('0x107'),'foreignKey':'FieldId'});db['Dynamics365Configuration'][_0xbf13('0x113')](db[_0xbf13('0xbd')],{'as':_0xbf13('0x15b'),'foreignKey':_0xbf13('0x1ad')});db[_0xbf13('0x1c1')]['hasMany'](db[_0xbf13('0x1c1')],{'as':'Subject','foreignKey':_0xbf13('0x1b0')});db['Dynamics365Field'][_0xbf13('0x102')](db[_0xbf13('0x1c1')],{'as':_0xbf13('0x1b4'),'foreignKey':'DescriptionId'});db[_0xbf13('0x1c1')][_0xbf13('0x102')](db['Dynamics365Field'],{'as':_0xbf13('0x1b5'),'foreignKey':_0xbf13('0x1b2')});db[_0xbf13('0x1c1')][_0xbf13('0x113')](db['Variable'],{'as':_0xbf13('0x8a'),'foreignKey':'VariableId'});db[_0xbf13('0xc2')][_0xbf13('0x102')](db[_0xbf13('0xc4')],{'as':'Configurations','onDelete':_0xbf13('0x107'),'foreignKey':_0xbf13('0x1ad')});db[_0xbf13('0xc4')]['hasMany'](db[_0xbf13('0xc6')],{'as':_0xbf13('0x1af'),'foreignKey':_0xbf13('0x1b0')});db[_0xbf13('0xc4')][_0xbf13('0x102')](db[_0xbf13('0xc6')],{'as':_0xbf13('0x1ba'),'foreignKey':_0xbf13('0x1b1')});db[_0xbf13('0xc4')][_0xbf13('0x102')](db['FreshsalesField'],{'as':'Fields','foreignKey':_0xbf13('0x1b2')});db[_0xbf13('0xc4')][_0xbf13('0x113')](db[_0xbf13('0xc2')],{'as':'Account','foreignKey':_0xbf13('0x1ad')});db['FreshsalesField']['hasMany'](db[_0xbf13('0xc6')],{'as':_0xbf13('0x1b3'),'foreignKey':'SubjectId'});db[_0xbf13('0xc6')]['hasMany'](db[_0xbf13('0xc6')],{'as':_0xbf13('0x1b4'),'foreignKey':_0xbf13('0x1b1')});db[_0xbf13('0xc6')][_0xbf13('0x102')](db[_0xbf13('0xc6')],{'as':'Field','foreignKey':_0xbf13('0x1b2')});db[_0xbf13('0xc6')]['belongsTo'](db[_0xbf13('0x8a')],{'as':_0xbf13('0x8a'),'foreignKey':_0xbf13('0x1b6')});db[_0xbf13('0x1c2')]['belongsTo'](db[_0xbf13('0x61')],{});db[_0xbf13('0x1c2')][_0xbf13('0x113')](db[_0xbf13('0xef')],{'as':'List','foreignKey':_0xbf13('0x156')});db[_0xbf13('0x1c2')][_0xbf13('0x113')](db[_0xbf13('0x70')],{'as':_0xbf13('0x14e'),'foreignKey':_0xbf13('0x14f')});db['ChatQueueReport']['belongsTo'](db[_0xbf13('0x10b')],{});db[_0xbf13('0x1c2')]['belongsTo'](db['ChatMessage'],{});db[_0xbf13('0x1c2')][_0xbf13('0x113')](db[_0xbf13('0x12')],{});db[_0xbf13('0x1c2')][_0xbf13('0x113')](db['ChatQueue'],{});db[_0xbf13('0xcb')][_0xbf13('0x113')](db[_0xbf13('0x12')],{'onDelete':_0xbf13('0x107'),'foreignKey':_0xbf13('0x1c3')});db['ChatInternalMessage'][_0xbf13('0x113')](db['User'],{'onDelete':_0xbf13('0x107'),'foreignKey':_0xbf13('0x1c4')});db[_0xbf13('0xd1')][_0xbf13('0x102')](db['JscriptyQuestionReport'],{'foreignKey':'SessionId','onDelete':'cascade'});db[_0xbf13('0xd1')][_0xbf13('0x102')](db[_0xbf13('0xcd')],{'foreignKey':_0xbf13('0x1c5'),'onDelete':_0xbf13('0x107')});db[_0xbf13('0xd3')][_0xbf13('0x113')](db[_0xbf13('0x16f')],{});db['SmsQueueReport'][_0xbf13('0x113')](db[_0xbf13('0xef')],{'as':'List','foreignKey':_0xbf13('0x156')});db[_0xbf13('0xd3')][_0xbf13('0x113')](db['CmContact'],{'as':_0xbf13('0x14e'),'foreignKey':_0xbf13('0x14f')});db['SmsQueueReport'][_0xbf13('0x113')](db[_0xbf13('0x10c')],{});db[_0xbf13('0xd3')][_0xbf13('0x113')](db[_0xbf13('0x56')],{});db[_0xbf13('0xd3')][_0xbf13('0x113')](db['User'],{});db[_0xbf13('0xd3')][_0xbf13('0x113')](db[_0xbf13('0x57')],{});db[_0xbf13('0xd7')][_0xbf13('0x102')](db[_0xbf13('0xd1')],{'foreignKey':_0xbf13('0x1c6')});db[_0xbf13('0xd7')][_0xbf13('0x102')](db['JscriptyQuestionReport'],{'foreignKey':'ProjectId'});db[_0xbf13('0xd7')]['hasMany'](db['JscriptyAnswerReport'],{'foreignKey':_0xbf13('0x1c6')});db[_0xbf13('0xdb')][_0xbf13('0x116')](db[_0xbf13('0x12')],{'as':_0xbf13('0x15f'),'through':_0xbf13('0x137')});db[_0xbf13('0xdf')][_0xbf13('0x116')](db[_0xbf13('0x12')],{'as':_0xbf13('0x145'),'through':_0xbf13('0x11b')});db[_0xbf13('0xdf')][_0xbf13('0x116')](db[_0xbf13('0x1b')],{'through':'team_has_voice_queues','as':_0xbf13('0x121')});db[_0xbf13('0xdf')][_0xbf13('0x116')](db[_0xbf13('0x3b')],{'through':_0xbf13('0x1c7'),'as':_0xbf13('0x123')});db[_0xbf13('0xdf')][_0xbf13('0x116')](db[_0xbf13('0x69')],{'through':_0xbf13('0x186'),'as':_0xbf13('0x124')});db[_0xbf13('0xdf')][_0xbf13('0x116')](db[_0xbf13('0x50')],{'through':'team_has_fax_queues','as':_0xbf13('0x1c8')});db[_0xbf13('0xdf')]['belongsToMany'](db[_0xbf13('0x57')],{'through':_0xbf13('0x175'),'as':_0xbf13('0x1c9')});db['Team'][_0xbf13('0x116')](db[_0xbf13('0x5f')],{'through':_0xbf13('0x17d'),'as':_0xbf13('0x126')});db['Team']['belongsToMany'](db[_0xbf13('0xfc')],{'through':_0xbf13('0x1ca'),'as':_0xbf13('0x127')});db[_0xbf13('0x18f')]['hasMany'](db['CmHopper'],{'as':_0xbf13('0x18a'),'foreignKey':'CampaignId'});db[_0xbf13('0x18f')][_0xbf13('0x102')](db[_0xbf13('0x76')],{'as':_0xbf13('0x13c'),'foreignKey':_0xbf13('0x190')});db[_0xbf13('0x18f')][_0xbf13('0x102')](db['CmHopperHistory'],{'as':_0xbf13('0x13d'),'foreignKey':_0xbf13('0x190')});db[_0xbf13('0x18f')]['hasMany'](db[_0xbf13('0x74')],{'as':_0xbf13('0x13e'),'foreignKey':_0xbf13('0x190')});db[_0xbf13('0x18f')][_0xbf13('0x113')](db[_0xbf13('0x29')],{'as':'Trunk','foreignKey':_0xbf13('0x1cb')});db[_0xbf13('0x18f')][_0xbf13('0x113')](db[_0xbf13('0x29')],{'as':_0xbf13('0x140'),'foreignKey':_0xbf13('0x141')});db[_0xbf13('0x18f')][_0xbf13('0x113')](db[_0xbf13('0x81')],{'as':_0xbf13('0x81'),'foreignKey':_0xbf13('0x164')});db[_0xbf13('0x18f')][_0xbf13('0x113')](db[_0xbf13('0xdb')],{'as':_0xbf13('0xdb'),'foreignKey':_0xbf13('0x1cc')});db[_0xbf13('0x18f')][_0xbf13('0x116')](db[_0xbf13('0xef')],{'as':_0xbf13('0x11a'),'through':_0xbf13('0x1cd')});db[_0xbf13('0x18f')][_0xbf13('0x116')](db['CmList'],{'as':_0xbf13('0x148'),'through':_0xbf13('0x1ce')});db[_0xbf13('0xe6')][_0xbf13('0x113')](db[_0xbf13('0x41')],{});db[_0xbf13('0xe6')][_0xbf13('0x113')](db[_0xbf13('0x3f')],{});db[_0xbf13('0xe6')][_0xbf13('0x113')](db['MailAccount'],{'foreignKey':'FromMailAccountId','as':'FromAccount'});db['MailTransferReport'][_0xbf13('0x113')](db[_0xbf13('0x12')],{'foreignKey':_0xbf13('0x1cf'),'as':_0xbf13('0x1d0')});db[_0xbf13('0xe6')][_0xbf13('0x113')](db['User'],{'foreignKey':'ToUserId','as':'ToAgent'});db[_0xbf13('0xe6')][_0xbf13('0x113')](db[_0xbf13('0x3b')],{'foreignKey':_0xbf13('0x1d1'),'as':_0xbf13('0x1d2')});db[_0xbf13('0xe6')][_0xbf13('0x113')](db[_0xbf13('0x39')],{'foreignKey':_0xbf13('0x1d3'),'as':_0xbf13('0x1d4')});db[_0xbf13('0xe7')][_0xbf13('0x113')](db[_0xbf13('0x67')],{});db['ChatTransferReport'][_0xbf13('0x113')](db[_0xbf13('0x10b')],{});db[_0xbf13('0xe7')]['belongsTo'](db['ChatWebsite'],{'foreignKey':_0xbf13('0x1d5'),'as':'FromAccount'});db[_0xbf13('0xe7')][_0xbf13('0x113')](db[_0xbf13('0x12')],{'foreignKey':_0xbf13('0x1cf'),'as':_0xbf13('0x1d0')});db['ChatTransferReport'][_0xbf13('0x113')](db[_0xbf13('0x12')],{'foreignKey':_0xbf13('0x1d6'),'as':'ToAgent'});db[_0xbf13('0xe7')]['belongsTo'](db[_0xbf13('0x69')],{'foreignKey':_0xbf13('0x1d7'),'as':_0xbf13('0x1d2')});db[_0xbf13('0xe7')][_0xbf13('0x113')](db[_0xbf13('0x61')],{'foreignKey':_0xbf13('0x1d8'),'as':_0xbf13('0x1d4')});db[_0xbf13('0xe9')][_0xbf13('0x113')](db[_0xbf13('0x4e')],{});db[_0xbf13('0xe9')][_0xbf13('0x113')](db[_0xbf13('0x10e')],{});db[_0xbf13('0xe9')][_0xbf13('0x113')](db[_0xbf13('0x4b')],{'foreignKey':_0xbf13('0x1d9'),'as':_0xbf13('0x1da')});db[_0xbf13('0xe9')]['belongsTo'](db['User'],{'foreignKey':_0xbf13('0x1cf'),'as':_0xbf13('0x1d0')});db[_0xbf13('0xe9')][_0xbf13('0x113')](db[_0xbf13('0x12')],{'foreignKey':_0xbf13('0x1d6'),'as':_0xbf13('0x1db')});db[_0xbf13('0xe9')][_0xbf13('0x113')](db[_0xbf13('0x50')],{'foreignKey':_0xbf13('0x1dc'),'as':_0xbf13('0x1d2')});db['FaxTransferReport'][_0xbf13('0x113')](db['FaxAccount'],{'foreignKey':_0xbf13('0x1dd'),'as':_0xbf13('0x1d4')});db[_0xbf13('0xeb')][_0xbf13('0x113')](db[_0xbf13('0x177')],{});db[_0xbf13('0xeb')][_0xbf13('0x113')](db['OpenchannelInteraction'],{});db[_0xbf13('0xeb')]['belongsTo'](db['OpenchannelAccount'],{'foreignKey':_0xbf13('0x1de'),'as':_0xbf13('0x1da')});db[_0xbf13('0xeb')][_0xbf13('0x113')](db['User'],{'foreignKey':_0xbf13('0x1cf'),'as':_0xbf13('0x1d0')});db[_0xbf13('0xeb')][_0xbf13('0x113')](db[_0xbf13('0x12')],{'foreignKey':'ToUserId','as':_0xbf13('0x1db')});db[_0xbf13('0xeb')]['belongsTo'](db[_0xbf13('0x5f')],{'foreignKey':_0xbf13('0x1df'),'as':_0xbf13('0x1d2')});db[_0xbf13('0xeb')][_0xbf13('0x113')](db['OpenchannelAccount'],{'foreignKey':_0xbf13('0x1e0'),'as':'ToAccount'});db[_0xbf13('0xed')]['belongsTo'](db[_0xbf13('0x56')],{});db[_0xbf13('0xed')][_0xbf13('0x113')](db[_0xbf13('0x10c')],{});db[_0xbf13('0xed')][_0xbf13('0x113')](db[_0xbf13('0x16f')],{'foreignKey':'FromSmsAccountId','as':_0xbf13('0x1da')});db[_0xbf13('0xed')][_0xbf13('0x113')](db[_0xbf13('0x12')],{'foreignKey':'FromUserId','as':_0xbf13('0x1d0')});db[_0xbf13('0xed')]['belongsTo'](db[_0xbf13('0x12')],{'foreignKey':_0xbf13('0x1d6'),'as':_0xbf13('0x1db')});db[_0xbf13('0xed')]['belongsTo'](db[_0xbf13('0x57')],{'foreignKey':'ToSmsQueueId','as':_0xbf13('0x1d2')});db[_0xbf13('0xed')][_0xbf13('0x113')](db[_0xbf13('0x16f')],{'foreignKey':'ToSmsAccountId','as':_0xbf13('0x1d4')});db[_0xbf13('0xef')][_0xbf13('0x102')](db['Disposition'],{'as':_0xbf13('0x153'),'foreignKey':_0xbf13('0x156')});db[_0xbf13('0xef')][_0xbf13('0x102')](db[_0xbf13('0x79')],{'as':_0xbf13('0x1e1'),'foreignKey':_0xbf13('0x156')});db['CmList']['hasMany'](db[_0xbf13('0x70')],{'as':_0xbf13('0x118'),'onDelete':'cascade','foreignKey':_0xbf13('0x156')});db['CmList'][_0xbf13('0x102')](db[_0xbf13('0x76')],{'as':_0xbf13('0x13c'),'foreignKey':_0xbf13('0x156')});db['CmList'][_0xbf13('0x102')](db[_0xbf13('0x77')],{'as':_0xbf13('0x108'),'foreignKey':_0xbf13('0x156')});db[_0xbf13('0xef')]['hasMany'](db['ReportAgentPreview'],{'as':_0xbf13('0x109'),'foreignKey':_0xbf13('0x156')});db[_0xbf13('0xef')]['belongsToMany'](db[_0xbf13('0x1b')],{'as':_0xbf13('0x1e2'),'through':'voice_queues_has_cm_lists'});db[_0xbf13('0xef')]['belongsToMany'](db[_0xbf13('0x12')],{'as':_0xbf13('0x145'),'through':'cm_user_has_lists'});db[_0xbf13('0x129')]['hasMany'](db['VoiceExtension'],{'as':_0xbf13('0x106'),'onDelete':'cascade'});db['VoicePrefix'][_0xbf13('0x116')](db[_0xbf13('0x12')],{'as':'Agents','through':_0xbf13('0x12b')});db[_0xbf13('0x114')][_0xbf13('0x102')](db[_0xbf13('0x12')],{'as':_0xbf13('0x15f'),'foreignKey':_0xbf13('0x115')});db[_0xbf13('0x114')][_0xbf13('0x102')](db['UserProfileSection'],{'as':_0xbf13('0x1e3'),'foreignKey':_0xbf13('0x115'),'onDelete':'cascade'});db[_0xbf13('0xf2')][_0xbf13('0x102')](db[_0xbf13('0xf4')],{'as':_0xbf13('0x1e4'),'foreignKey':_0xbf13('0x1e5'),'onDelete':_0xbf13('0x107')});db[_0xbf13('0xf6')][_0xbf13('0x102')](db[_0xbf13('0x7d')],{'as':'Dispositions','foreignKey':_0xbf13('0x1e6')});db['WhatsappAccount'][_0xbf13('0x102')](db[_0xbf13('0x7b')],{'as':_0xbf13('0x154'),'foreignKey':_0xbf13('0x1e6')});db['WhatsappAccount'][_0xbf13('0x102')](db[_0xbf13('0x1e7')],{'as':'Messages','foreignKey':_0xbf13('0x1e6')});db[_0xbf13('0xf6')][_0xbf13('0x102')](db[_0xbf13('0xf9')],{'as':_0xbf13('0x155')});db[_0xbf13('0xf6')][_0xbf13('0x102')](db[_0xbf13('0xf7')],{'as':_0xbf13('0x138')});db['WhatsappAccount']['belongsTo'](db['CmList'],{'as':_0xbf13('0x16e'),'foreignKey':_0xbf13('0x156')});db['WhatsappAccount'][_0xbf13('0x113')](db[_0xbf13('0x142')],{'as':_0xbf13('0x159'),'foreignKey':_0xbf13('0x143')});db[_0xbf13('0xf6')][_0xbf13('0x116')](db[_0xbf13('0x12')],{'as':_0xbf13('0x145'),'through':'user_has_whatsapp_accounts'});db[_0xbf13('0xf7')][_0xbf13('0x113')](db[_0xbf13('0x12')],{'onDelete':_0xbf13('0x163')});db[_0xbf13('0xf7')]['belongsTo'](db['WhatsappQueue'],{'onDelete':_0xbf13('0x163')});db[_0xbf13('0xf7')][_0xbf13('0x113')](db['WhatsappAccount'],{'onDelete':_0xbf13('0x163')});db[_0xbf13('0xf7')][_0xbf13('0x113')](db[_0xbf13('0x81')],{'onDelete':_0xbf13('0x163'),'foreignKey':_0xbf13('0x164')});db[_0xbf13('0xf7')][_0xbf13('0x113')](db['Tag'],{'onDelete':_0xbf13('0x163'),'foreignKey':_0xbf13('0x165')});db[_0xbf13('0xf9')][_0xbf13('0x102')](db[_0xbf13('0x1e7')],{'as':_0xbf13('0x168'),'onDelete':_0xbf13('0x107'),'foreignKey':_0xbf13('0x1e8')});db['WhatsappInteraction'][_0xbf13('0x113')](db[_0xbf13('0xf6')],{'as':_0xbf13('0x15b'),'foreignKey':_0xbf13('0x1e6')});db[_0xbf13('0xf9')][_0xbf13('0x113')](db['CmContact'],{'as':_0xbf13('0x14e'),'foreignKey':_0xbf13('0x14f')});db[_0xbf13('0xf9')][_0xbf13('0x113')](db[_0xbf13('0x12')],{'as':'Owner','foreignKey':'UserId'});db[_0xbf13('0xf9')][_0xbf13('0x116')](db[_0xbf13('0x87')],{'through':_0xbf13('0x1a1'),'as':_0xbf13('0x15e')});db[_0xbf13('0xf9')][_0xbf13('0x116')](db[_0xbf13('0x87')],{'through':_0xbf13('0x1a1'),'as':'ThroughTags'});db['WhatsappInteraction'][_0xbf13('0x116')](db[_0xbf13('0x12')],{'as':'Users','through':_0xbf13('0x120'),'foreignKey':'WhatsappInteractionId'});db[_0xbf13('0x1e7')][_0xbf13('0x113')](db[_0xbf13('0x12')],{'as':_0xbf13('0x12')});db[_0xbf13('0x1e7')][_0xbf13('0x113')](db[_0xbf13('0x70')],{'onDelete':_0xbf13('0x107'),'as':_0xbf13('0x14e')});db['WhatsappMessage'][_0xbf13('0x113')](db[_0xbf13('0xf9')],{'onDelete':_0xbf13('0x107'),'as':_0xbf13('0x162'),'foreignKey':'WhatsappInteractionId'});db[_0xbf13('0x1e7')]['belongsTo'](db['WhatsappAccount'],{'as':_0xbf13('0x15b'),'foreignKey':_0xbf13('0x1e6')});db[_0xbf13('0xfa')][_0xbf13('0x113')](db[_0xbf13('0xf6')],{});db['WhatsappQueueReport'][_0xbf13('0x113')](db['CmList'],{'as':_0xbf13('0x16e'),'foreignKey':_0xbf13('0x156')});db['WhatsappQueueReport'][_0xbf13('0x113')](db[_0xbf13('0x70')],{'as':'Contact','foreignKey':_0xbf13('0x14f')});db[_0xbf13('0xfa')][_0xbf13('0x113')](db[_0xbf13('0xf9')],{});db[_0xbf13('0xfa')][_0xbf13('0x113')](db[_0xbf13('0xfc')],{});db[_0xbf13('0xfa')][_0xbf13('0x113')](db['WhatsappMessage'],{});db[_0xbf13('0xfa')]['belongsTo'](db[_0xbf13('0x12')],{});db[_0xbf13('0x1e9')][_0xbf13('0x113')](db['WhatsappMessage'],{});db[_0xbf13('0x1e9')][_0xbf13('0x113')](db[_0xbf13('0xf9')],{});db[_0xbf13('0x1e9')]['belongsTo'](db[_0xbf13('0xf6')],{'foreignKey':_0xbf13('0x1ea'),'as':_0xbf13('0x1da')});db[_0xbf13('0x1e9')][_0xbf13('0x113')](db[_0xbf13('0xf6')],{'foreignKey':_0xbf13('0x1eb'),'as':_0xbf13('0x1d4')});db['WhatsappTransferReport'][_0xbf13('0x113')](db[_0xbf13('0xfc')],{'foreignKey':_0xbf13('0x1ec'),'as':'ToQueue'});db[_0xbf13('0x1e9')][_0xbf13('0x113')](db[_0xbf13('0x12')],{'foreignKey':_0xbf13('0x1cf'),'as':'FromAgent'});db[_0xbf13('0x1e9')][_0xbf13('0x113')](db[_0xbf13('0x12')],{'foreignKey':_0xbf13('0x1d6'),'as':_0xbf13('0x1db')});db[_0xbf13('0xfc')][_0xbf13('0x116')](db[_0xbf13('0x12')],{'as':'Agents','through':_0xbf13('0x33'),'foreignKey':_0xbf13('0x1ed')});db[_0xbf13('0xfc')][_0xbf13('0x116')](db['Team'],{'through':_0xbf13('0x1ca'),'as':_0xbf13('0x146')});module[_0xbf13('0x1ee')]={'db':db,'dbH':dbH}; \ No newline at end of file +var _0xcca7=['../api/faxQueueReport/faxQueueReport.model','SmsAccount','../api/smsAccount/smsAccount.model','SmsApplication','../api/smsInteraction/smsInteraction.model','SmsMessage','../api/smsMessage/smsMessage.model','SmsQueue','../api/smsQueue/smsQueue.model','OpenchannelAccount','../api/openchannelAccount/openchannelAccount.model','OpenchannelApplication','../api/openchannelApplication/openchannelApplication.model','OpenchannelInteraction','../api/openchannelInteraction/openchannelInteraction.model','OpenchannelMessage','../api/openchannelMessage/openchannelMessage.model','OpenchannelQueue','../api/openchannelQueue/openchannelQueue.model','ChatWebsite','../api/chatWebsite/chatWebsite.model','OpenchannelQueueReport','../api/openchannelQueueReport/openchannelQueueReport.model','../api/chatInteraction/chatInteraction.model','ChatOfflineMessage','../api/chatOfflineMessage/chatOfflineMessage.model','ChatQueue','../api/chatQueue/chatQueue.model','ChatGroup','../api/chatGroup/chatGroup.model','ChatProactiveAction','CmCompany','CmContact','CmHopper','../api/cmHopper/cmHopper.model','CmHopperBlack','../api/cmHopperBlack/cmHopperBlack.model','CmHopperFinal','../api/cmHopperFinal/cmHopperFinal.model','CmHopperHistory','../api/cmHopperHistory/cmHopperHistory.model','ReportAgentPreview','../api/reportAgentPreview/reportAgentPreview.model','Action','Automation','../api/automation/automation.model','CannedAnswer','../api/cannedAnswer/cannedAnswer.model','Disposition','../api/disposition/disposition.model','Condition','Interval','../api/interval/interval.model','Pause','../api/pause/pause.model','Cdr','../api/cdr/cdr.model','VoiceQueuesLog','../api/voiceQueuesLog/voiceQueuesLog.model','../api/schedule/schedule.model','../api/sound/sound.model','Tag','../api/tag/tag.model','Template','../api/template/template.model','Trigger','../api/trigger/trigger.model','../api/variable/variable.model','Integration','IntegrationReport','../api/integrationReport/integrationReport.model','AnalyticCustomReport','../api/analyticCustomReport/analyticCustomReport.model','AnalyticDefaultReport','../api/analyticDefaultReport/analyticDefaultReport.model','AnalyticExtractedReport','../api/analyticExtractedReport/analyticExtractedReport.model','AnalyticFieldReport','../api/analyticFieldReport/analyticFieldReport.model','AnalyticTreeReport','../api/analyticTreeReport/analyticTreeReport.model','SalesforceAccount','../api/intSalesforceAccount/intSalesforceAccount.model','../api/intSalesforceConfiguration/intSalesforceConfiguration.model','SalesforceField','../api/intSalesforceField/intSalesforceField.model','SugarcrmAccount','../api/intSugarcrmAccount/intSugarcrmAccount.model','SugarcrmConfiguration','../api/intSugarcrmConfiguration/intSugarcrmConfiguration.model','SugarcrmField','../api/intSugarcrmField/intSugarcrmField.model','DeskAccount','../api/intDeskAccount/intDeskAccount.model','DeskConfiguration','../api/intDeskConfiguration/intDeskConfiguration.model','DeskField','../api/intDeskField/intDeskField.model','ZohoConfiguration','../api/intZohoConfiguration/intZohoConfiguration.model','ZohoField','../api/intZohoField/intZohoField.model','ZendeskAccount','../api/intZendeskAccount/intZendeskAccount.model','ZendeskConfiguration','ZendeskField','../api/intZendeskField/intZendeskField.model','FreshdeskAccount','../api/intFreshdeskAccount/intFreshdeskAccount.model','FreshdeskConfiguration','../api/intFreshdeskConfiguration/intFreshdeskConfiguration.model','FreshdeskField','../api/intFreshdeskField/intFreshdeskField.model','../api/intVtigerAccount/intVtigerAccount.model','VtigerField','../api/intVtigerField/intVtigerField.model','ServicenowAccount','../api/intServicenowAccount/intServicenowAccount.model','ServicenowConfiguration','../api/intServicenowConfiguration/intServicenowConfiguration.model','ServicenowField','../api/intServicenowField/intServicenowField.model','Dynamics365Account','../api/intDynamics365Account/intDynamics365Account.model','Dynamics365Configuration','Dynamics365Field','FreshsalesAccount','../api/intFreshsalesAccount/intFreshsalesAccount.model','FreshsalesConfiguration','FreshsalesField','../api/integration/integration.model','Network','../api/network/network.model','ChatQueueReport','../api/chatQueueReport/chatQueueReport.model','ChatInternalMessage','../api/chatInternalMessage/chatInternalMessage.model','JscriptyAnswerReport','../api/jscriptyAnswerReport/jscriptyAnswerReport.model','JscriptyQuestionReport','../api/jscriptyQuestionReport/jscriptyQuestionReport.model','JscriptySessionReport','../api/jscriptySessionReport/jscriptySessionReport.model','SmsQueueReport','../api/smsQueueReport/smsQueueReport.model','../api/squareReport/squareReport.model','SquareDetailsReport','../api/jscriptyProject/jscriptyProject.model','Setting','../api/setting/setting.model','../api/squareOdbc/squareOdbc.model','SquareRecording','../api/squareRecording/squareRecording.model','SquareMessage','../api/squareMessage/squareMessage.model','../api/team/team.model','License','../api/license/license.model','Migration','../api/migration/migration.model','Attachment','../api/attachment/attachment.model','Plugin','../api/plugin/plugin.model','MailTransferReport','../api/mailTransferReport/mailTransferReport.model','ChatTransferReport','../api/chatTransferReport/chatTransferReport.model','FaxTransferReport','../api/faxTransferReport/faxTransferReport.model','OpenchannelTransferReport','SmsTransferReport','../api/smsTransferReport/smsTransferReport.model','../api/cmList/cmList.model','VoicePrefix','UserProfile','../api/userProfile/userProfile.model','UserProfileSection','../api/userProfileSection/userProfileSection.model','../api/notification/notification.model','WhatsappAccount','../api/whatsappApplication/whatsappApplication.model','../api/whatsappInteraction/whatsappInteraction.model','WhatsappMessage','../api/whatsappMessage/whatsappMessage.model','WhatsappQueueReport','../api/whatsappTransferReport/whatsappTransferReport.model','WhatsappQueue','CloudProvider','../api/cloudProvider/cloudProvider.model','hasOne','UserId','hasMany','Recordings','VoiceQueuesRt','Extensions','cascade','HopperFinals','HopperHistory','OpenchannelInteractions','ChatInteraction','ChatInteractions','SmsInteraction','SmsInteractions','FaxInteraction','FaxInteractions','MailInteractions','WhatsappInteraction','WhatsappInteractions','Notification','Notifications','belongsTo','userProfileId','belongsToMany','Groups','chat_group_has_users','cm_user_has_contacts','Team','user_has_teams','MailInteraction','user_has_mail_interactions','user_has_chat_interactions','user_has_fax_interactions','user_has_sms_interactions','user_has_openchannel_interactions','user_has_whatsapp_interactions','MailQueues','ChatQueues','FaxQueues','UserFaxQueue','SmsQueues','OpenchannelQueues','WhatsappQueues','ChatWebsites','user_has_chat_websites','FaxAccount','FaxAccounts','user_has_fax_accounts','user_has_mail_accounts','OpenchannelAccounts','user_has_openchannel_accounts','SmsAccounts','WhatsappAccounts','user_has_whatsapp_accounts','SquareProject','SquareProjects','VoiceExtension','SpiedAgents','ChanSpyId','Applications','Sound','Sounds','moh_has_sounds','VoiceQueueId','Hoppers','HopperHistories','HopperBlacks','JscriptySessions','TrunkId','TrunkBackup','TrunkBackupId','IntervalId','CmList','Lists','voice_queues_has_cm_lists','Agents','Teams','team_has_voice_queues','BlackLists','voice_queues_has_cm_blacklists','VoiceMailMessage','Messages','mailboxuser','mailbox','QueueCalls','uniqueid','AgentReports','Contact','ContactId','MailAccountId','MailServerOut','MailServerIn','Smtp','Dispositions','Answers','Interactions','List','ListId','TemplateId','team_has_mail_queues','MailInteractionId','Account','Owner','mail_interaction_has_tags','Tags','ThroughTags','Attachments','Interaction','restrict','Items','FaxAccountId','Exntensions','mandatoryDispositionPause','mandatoryDispositionPauseId','FaxMessage','FaxInteractionId','fax_interaction_has_tags','Users','team_has_fax_queues','SmsAccountId','user_has_sms_accounts','TagId','SmsInteractionId','sms_interaction_has_tags','SmsQueueId','OpenchannelAccountId','OpenchannelQueueId','OpenchannelInteractionId','openchannel_interaction_has_tags','AttachmentId','team_has_openchannel_queues','ChatWebsiteId','ProactiveActions','ChatMessage','ChatApplication','ChatQueueId','Website','ChatInteractionId','chat_interaction_has_tags','ChatGroupId','Members','CompanyId','Company','cm_contact_has_tags','Agent','Queue','Campaign','OwnerId','All','OneAny','AutomationAnyId','AutomationId','Intervals','MailApplications','ChatApplications','SmsApplications','Schedule','DefaultReportId','Mohs','AllConditions','AllCondition','TriggerAllId','AnyConditions','AnyCondition','TriggerAnyId','Actions','TriggerId','Fields','AnalyticMetric','MetricId','SalesforceConfiguration','Configurations','AccountId','SubjectId','Descriptions','DescriptionId','Subject','Description','Field','FieldId','Variable','VariableId','Subjects','int_desk_configuration_has_tags','ZohoAccount','int_zendesk_configuration_has_tags','VtigerAccount','VtigerConfiguration','ToId','SessionId','JscriptyProject','ProjectId','user_has_square_projects','VoiceQueues','team_has_chat_queues','team_has_sms_queues','CampaignId','SquareProjectId','campaigns_has_cm_lists','campaigns_has_cm_blacklists','FromMailAccountId','FromAccount','FromUserId','FromAgent','ToUserId','ToQueue','ToMailAccountId','ToAccount','ToChatQueueId','ToChatWebsiteId','FromFaxAccountId','ToFaxQueueId','FromOpenchannelAccountId','ToAgent','ToOpenchannelAccountId','FromSmsAccountId','ToSmsQueueId','ToSmsAccountId','CmCustomField','CustomFields','Contacts','cm_user_has_lists','user_has_voice_prefixes','UserProfileResource','Resources','sectionId','WhatsappAccountId','WhatsappApplication','WhatsappInteractionId','whatsapp_interaction_has_tags','WhatsappTransferReport','FromWhatsappAccountId','ToWhatsappAccountId','ToQueueId','team_has_whatsapp_queues','exports','path','../config/environment','sequelize','lodash','motion2','xcall','xC@LL1234','127.0.0.1','mysql','utf8','utf8_general_ci','sequelizeHistory','defaultsDeep','name','database','username','password','User','VoiceChanSpy','import','../api/voiceChanSpy/voiceChanSpy.model','VoiceContext','../api/voiceExtension/voiceExtension.model','VoiceMusicOnHold','../api/voiceMusicOnHold/voiceMusicOnHold.model','VoiceQueue','../api/voiceQueue/voiceQueue.model','VoiceRecording','ScreenRecording','../api/screenRecording/screenRecording.model','VoiceMail','../api/voiceMail/voiceMail.model','../api/voiceMailMessage/voiceMailMessage.model','VoiceCallReport','../api/voiceCallReport/voiceCallReport.model','VoiceDialReport','VoiceAgentReport','../api/voiceAgentReport/voiceAgentReport.model','VoiceQueueReport','../api/voiceQueueReport/voiceQueueReport.model','MemberReport','../api/memberReport/memberReport.model','Trunk','../api/trunk/trunk.model','VoiceTransferReport','UserVoiceQueueRt','UserVoiceQueue','../api/userVoiceQueue/userVoiceQueue.model','UserChatQueue','../api/userChatQueue/userChatQueue.model','UserMailQueue','UserSmsQueue','../api/userSmsQueue/userSmsQueue.model','UserOpenchannelQueue','UserWhatsappQueue','../api/userWhatsappQueue/userWhatsappQueue.model','../api/mailServerIn/mailServerIn.model','../api/mailServerOut/mailServerOut.model','MailAccount','../api/mailAccount/mailAccount.model','MailQueue','../api/mailQueue/mailQueue.model','../api/mailSubstatus/mailSubstatus.model','../api/mailInteraction/mailInteraction.model','MailMessage','MailApplication','../api/mailApplication/mailApplication.model','MailQueueReport','Dashboard','DashboardItem','../api/dashboardItem/dashboardItem.model','../api/faxAccount/faxAccount.model','FaxApplication','../api/faxInteraction/faxInteraction.model','../api/faxMessage/faxMessage.model','FaxQueue','FaxQueueReport'];(function(_0x1cfc39,_0x15adef){var _0x1ae59b=function(_0x153274){while(--_0x153274){_0x1cfc39['push'](_0x1cfc39['shift']());}};_0x1ae59b(++_0x15adef);}(_0xcca7,0x1aa));var _0x7cca=function(_0x5f6c6e,_0x2b5c67){_0x5f6c6e=_0x5f6c6e-0x0;var _0x5b24cb=_0xcca7[_0x5f6c6e];return _0x5b24cb;};'use strict';var path=require(_0x7cca('0x0'));var config=require(_0x7cca('0x1'));var Sequelize=require(_0x7cca('0x2'));var _=require(_0x7cca('0x3'));var jstz=require('jstz');var timezone=jstz['determine']();config[_0x7cca('0x2')]=_['defaultsDeep'](config[_0x7cca('0x2')],{'database':_0x7cca('0x4'),'username':_0x7cca('0x5'),'password':_0x7cca('0x6'),'options':{'host':_0x7cca('0x7'),'port':0xcea,'dialect':_0x7cca('0x8'),'dialectOptions':{'charset':'utf8mb4'},'logging':![],'timezone':timezone['name'](),'define':{'charset':_0x7cca('0x9'),'collate':_0x7cca('0xa')}}});config[_0x7cca('0xb')]=_[_0x7cca('0xc')](config[_0x7cca('0xb')],{'database':_0x7cca('0x4'),'username':_0x7cca('0x5'),'password':_0x7cca('0x6'),'options':{'host':_0x7cca('0x7'),'port':0xcea,'dialect':_0x7cca('0x8'),'dialectOptions':{'charset':'utf8mb4'},'logging':![],'timezone':timezone[_0x7cca('0xd')](),'define':{'charset':_0x7cca('0x9'),'collate':_0x7cca('0xa')}}});var db={'Sequelize':Sequelize,'sequelize':new Sequelize(config[_0x7cca('0x2')][_0x7cca('0xe')],config['sequelize'][_0x7cca('0xf')],config[_0x7cca('0x2')][_0x7cca('0x10')],config['sequelize']['options'])};var dbH={'Sequelize':Sequelize,'sequelize':new Sequelize(config[_0x7cca('0xb')][_0x7cca('0xe')],config[_0x7cca('0xb')][_0x7cca('0xf')],config[_0x7cca('0xb')][_0x7cca('0x10')],config[_0x7cca('0xb')]['options'])};db[_0x7cca('0x11')]=db['sequelize']['import']('../api/user/user.model');db[_0x7cca('0x12')]=db[_0x7cca('0x2')][_0x7cca('0x13')](_0x7cca('0x14'));db[_0x7cca('0x15')]=db['sequelize'][_0x7cca('0x13')]('../api/voiceContext/voiceContext.model');db['VoiceExtension']=db['sequelize'][_0x7cca('0x13')](_0x7cca('0x16'));db[_0x7cca('0x17')]=db[_0x7cca('0x2')][_0x7cca('0x13')](_0x7cca('0x18'));db[_0x7cca('0x19')]=db[_0x7cca('0x2')]['import'](_0x7cca('0x1a'));db[_0x7cca('0x1b')]=db[_0x7cca('0x2')][_0x7cca('0x13')]('../api/voiceRecording/voiceRecording.model');db[_0x7cca('0x1c')]=db[_0x7cca('0x2')][_0x7cca('0x13')](_0x7cca('0x1d'));db[_0x7cca('0x1e')]=db[_0x7cca('0x2')][_0x7cca('0x13')](_0x7cca('0x1f'));db['VoiceMailMessage']=db[_0x7cca('0x2')][_0x7cca('0x13')](_0x7cca('0x20'));db[_0x7cca('0x21')]=db[_0x7cca('0x2')][_0x7cca('0x13')](_0x7cca('0x22'));db[_0x7cca('0x23')]=db['sequelize'][_0x7cca('0x13')]('../api/voiceDialReport/voiceDialReport.model');db[_0x7cca('0x24')]=db[_0x7cca('0x2')]['import'](_0x7cca('0x25'));db[_0x7cca('0x26')]=db['sequelize'][_0x7cca('0x13')](_0x7cca('0x27'));db[_0x7cca('0x28')]=db['sequelize']['import'](_0x7cca('0x29'));db[_0x7cca('0x2a')]=db[_0x7cca('0x2')][_0x7cca('0x13')](_0x7cca('0x2b'));db[_0x7cca('0x2c')]=db[_0x7cca('0x2')]['import']('../api/voiceTransferReport/voiceTransferReport.model');db[_0x7cca('0x2d')]=db[_0x7cca('0x2')][_0x7cca('0x13')]('../api/userVoiceQueueRt/userVoiceQueueRt.model');db[_0x7cca('0x2e')]=db['sequelize'][_0x7cca('0x13')](_0x7cca('0x2f'));db[_0x7cca('0x30')]=db[_0x7cca('0x2')]['import'](_0x7cca('0x31'));db[_0x7cca('0x32')]=db[_0x7cca('0x2')]['import']('../api/userMailQueue/userMailQueue.model');db['UserFaxQueue']=db[_0x7cca('0x2')][_0x7cca('0x13')]('../api/userFaxQueue/userFaxQueue.model');db[_0x7cca('0x33')]=db[_0x7cca('0x2')][_0x7cca('0x13')](_0x7cca('0x34'));db[_0x7cca('0x35')]=db[_0x7cca('0x2')][_0x7cca('0x13')]('../api/userOpenchannelQueue/userOpenchannelQueue.model');db[_0x7cca('0x36')]=db[_0x7cca('0x2')][_0x7cca('0x13')](_0x7cca('0x37'));db['MailServerIn']=db[_0x7cca('0x2')][_0x7cca('0x13')](_0x7cca('0x38'));db['MailServerOut']=db[_0x7cca('0x2')]['import'](_0x7cca('0x39'));db[_0x7cca('0x3a')]=db[_0x7cca('0x2')][_0x7cca('0x13')](_0x7cca('0x3b'));db[_0x7cca('0x3c')]=db[_0x7cca('0x2')][_0x7cca('0x13')](_0x7cca('0x3d'));db['MailSubstatus']=db['sequelize'][_0x7cca('0x13')](_0x7cca('0x3e'));db['MailInteraction']=db['sequelize'][_0x7cca('0x13')](_0x7cca('0x3f'));db[_0x7cca('0x40')]=db[_0x7cca('0x2')][_0x7cca('0x13')]('../api/mailMessage/mailMessage.model');db[_0x7cca('0x41')]=db['sequelize']['import'](_0x7cca('0x42'));db[_0x7cca('0x43')]=db['sequelize'][_0x7cca('0x13')]('../api/mailQueueReport/mailQueueReport.model');db[_0x7cca('0x44')]=db[_0x7cca('0x2')][_0x7cca('0x13')]('../api/dashboard/dashboard.model');db[_0x7cca('0x45')]=db[_0x7cca('0x2')][_0x7cca('0x13')](_0x7cca('0x46'));db['FaxAccount']=db[_0x7cca('0x2')][_0x7cca('0x13')](_0x7cca('0x47'));db[_0x7cca('0x48')]=db[_0x7cca('0x2')][_0x7cca('0x13')]('../api/faxApplication/faxApplication.model');db['FaxInteraction']=db['sequelize']['import'](_0x7cca('0x49'));db['FaxMessage']=db['sequelize'][_0x7cca('0x13')](_0x7cca('0x4a'));db[_0x7cca('0x4b')]=db[_0x7cca('0x2')][_0x7cca('0x13')]('../api/faxQueue/faxQueue.model');db[_0x7cca('0x4c')]=db[_0x7cca('0x2')][_0x7cca('0x13')](_0x7cca('0x4d'));db[_0x7cca('0x4e')]=db[_0x7cca('0x2')][_0x7cca('0x13')](_0x7cca('0x4f'));db[_0x7cca('0x50')]=db[_0x7cca('0x2')][_0x7cca('0x13')]('../api/smsApplication/smsApplication.model');db['SmsInteraction']=db[_0x7cca('0x2')][_0x7cca('0x13')](_0x7cca('0x51'));db[_0x7cca('0x52')]=db[_0x7cca('0x2')][_0x7cca('0x13')](_0x7cca('0x53'));db[_0x7cca('0x54')]=db[_0x7cca('0x2')][_0x7cca('0x13')](_0x7cca('0x55'));db[_0x7cca('0x56')]=db['sequelize'][_0x7cca('0x13')](_0x7cca('0x57'));db[_0x7cca('0x58')]=db[_0x7cca('0x2')][_0x7cca('0x13')](_0x7cca('0x59'));db[_0x7cca('0x5a')]=db[_0x7cca('0x2')][_0x7cca('0x13')](_0x7cca('0x5b'));db[_0x7cca('0x5c')]=db[_0x7cca('0x2')][_0x7cca('0x13')](_0x7cca('0x5d'));db[_0x7cca('0x5e')]=db[_0x7cca('0x2')][_0x7cca('0x13')](_0x7cca('0x5f'));db[_0x7cca('0x60')]=db[_0x7cca('0x2')][_0x7cca('0x13')](_0x7cca('0x61'));db[_0x7cca('0x62')]=db[_0x7cca('0x2')][_0x7cca('0x13')](_0x7cca('0x63'));db['ChatApplication']=db[_0x7cca('0x2')][_0x7cca('0x13')]('../api/chatApplication/chatApplication.model');db['ChatInteraction']=db['sequelize'][_0x7cca('0x13')](_0x7cca('0x64'));db['ChatMessage']=db[_0x7cca('0x2')][_0x7cca('0x13')]('../api/chatMessage/chatMessage.model');db[_0x7cca('0x65')]=db['sequelize'][_0x7cca('0x13')](_0x7cca('0x66'));db[_0x7cca('0x67')]=db[_0x7cca('0x2')][_0x7cca('0x13')](_0x7cca('0x68'));db[_0x7cca('0x69')]=db[_0x7cca('0x2')][_0x7cca('0x13')](_0x7cca('0x6a'));db[_0x7cca('0x6b')]=db[_0x7cca('0x2')][_0x7cca('0x13')]('../api/chatProactiveAction/chatProactiveAction.model');db[_0x7cca('0x6c')]=db['sequelize'][_0x7cca('0x13')]('../api/cmCompany/cmCompany.model');db[_0x7cca('0x6d')]=db[_0x7cca('0x2')][_0x7cca('0x13')]('../api/cmContact/cmContact.model');db[_0x7cca('0x6e')]=db[_0x7cca('0x2')][_0x7cca('0x13')](_0x7cca('0x6f'));db[_0x7cca('0x70')]=db['sequelize']['import'](_0x7cca('0x71'));db[_0x7cca('0x72')]=db[_0x7cca('0x2')][_0x7cca('0x13')](_0x7cca('0x73'));db[_0x7cca('0x74')]=db[_0x7cca('0x2')][_0x7cca('0x13')](_0x7cca('0x75'));db[_0x7cca('0x76')]=db[_0x7cca('0x2')][_0x7cca('0x13')](_0x7cca('0x77'));db['CmCustomField']=db[_0x7cca('0x2')][_0x7cca('0x13')]('../api/cmCustomField/cmCustomField.model');db[_0x7cca('0x78')]=db[_0x7cca('0x2')][_0x7cca('0x13')]('../api/action/action.model');db[_0x7cca('0x79')]=db[_0x7cca('0x2')][_0x7cca('0x13')](_0x7cca('0x7a'));db[_0x7cca('0x7b')]=db['sequelize'][_0x7cca('0x13')](_0x7cca('0x7c'));db[_0x7cca('0x7d')]=db[_0x7cca('0x2')]['import'](_0x7cca('0x7e'));db[_0x7cca('0x7f')]=db['sequelize'][_0x7cca('0x13')]('../api/condition/condition.model');db[_0x7cca('0x80')]=db['sequelize'][_0x7cca('0x13')](_0x7cca('0x81'));db[_0x7cca('0x82')]=db[_0x7cca('0x2')][_0x7cca('0x13')](_0x7cca('0x83'));db[_0x7cca('0x84')]=db[_0x7cca('0x2')][_0x7cca('0x13')](_0x7cca('0x85'));db[_0x7cca('0x86')]=db[_0x7cca('0x2')][_0x7cca('0x13')](_0x7cca('0x87'));db['Schedule']=db[_0x7cca('0x2')][_0x7cca('0x13')](_0x7cca('0x88'));db['Sound']=db[_0x7cca('0x2')]['import'](_0x7cca('0x89'));db[_0x7cca('0x8a')]=db[_0x7cca('0x2')][_0x7cca('0x13')](_0x7cca('0x8b'));db[_0x7cca('0x8c')]=db[_0x7cca('0x2')][_0x7cca('0x13')](_0x7cca('0x8d'));db[_0x7cca('0x8e')]=db[_0x7cca('0x2')][_0x7cca('0x13')](_0x7cca('0x8f'));db['Variable']=db[_0x7cca('0x2')]['import'](_0x7cca('0x90'));db[_0x7cca('0x91')]=db[_0x7cca('0x2')][_0x7cca('0x13')]('../api/integration/integration.model');db[_0x7cca('0x92')]=db[_0x7cca('0x2')][_0x7cca('0x13')](_0x7cca('0x93'));db[_0x7cca('0x94')]=db[_0x7cca('0x2')]['import'](_0x7cca('0x95'));db[_0x7cca('0x96')]=db[_0x7cca('0x2')][_0x7cca('0x13')](_0x7cca('0x97'));db[_0x7cca('0x98')]=db[_0x7cca('0x2')][_0x7cca('0x13')](_0x7cca('0x99'));db['AnalyticMetric']=db[_0x7cca('0x2')][_0x7cca('0x13')]('../api/analyticMetric/analyticMetric.model');db[_0x7cca('0x9a')]=db['sequelize'][_0x7cca('0x13')](_0x7cca('0x9b'));db[_0x7cca('0x9c')]=db[_0x7cca('0x2')][_0x7cca('0x13')](_0x7cca('0x9d'));db[_0x7cca('0x9e')]=db[_0x7cca('0x2')][_0x7cca('0x13')](_0x7cca('0x9f'));db['SalesforceConfiguration']=db[_0x7cca('0x2')][_0x7cca('0x13')](_0x7cca('0xa0'));db[_0x7cca('0xa1')]=db[_0x7cca('0x2')][_0x7cca('0x13')](_0x7cca('0xa2'));db[_0x7cca('0xa3')]=db['sequelize'][_0x7cca('0x13')](_0x7cca('0xa4'));db[_0x7cca('0xa5')]=db['sequelize'][_0x7cca('0x13')](_0x7cca('0xa6'));db[_0x7cca('0xa7')]=db[_0x7cca('0x2')]['import'](_0x7cca('0xa8'));db[_0x7cca('0xa9')]=db[_0x7cca('0x2')][_0x7cca('0x13')](_0x7cca('0xaa'));db[_0x7cca('0xab')]=db[_0x7cca('0x2')]['import'](_0x7cca('0xac'));db[_0x7cca('0xad')]=db[_0x7cca('0x2')][_0x7cca('0x13')](_0x7cca('0xae'));db['ZohoAccount']=db[_0x7cca('0x2')][_0x7cca('0x13')]('../api/intZohoAccount/intZohoAccount.model');db[_0x7cca('0xaf')]=db[_0x7cca('0x2')]['import'](_0x7cca('0xb0'));db[_0x7cca('0xb1')]=db[_0x7cca('0x2')][_0x7cca('0x13')](_0x7cca('0xb2'));db[_0x7cca('0xb3')]=db[_0x7cca('0x2')][_0x7cca('0x13')](_0x7cca('0xb4'));db[_0x7cca('0xb5')]=db[_0x7cca('0x2')][_0x7cca('0x13')]('../api/intZendeskConfiguration/intZendeskConfiguration.model');db[_0x7cca('0xb6')]=db[_0x7cca('0x2')][_0x7cca('0x13')](_0x7cca('0xb7'));db[_0x7cca('0xb8')]=db[_0x7cca('0x2')]['import'](_0x7cca('0xb9'));db[_0x7cca('0xba')]=db[_0x7cca('0x2')]['import'](_0x7cca('0xbb'));db[_0x7cca('0xbc')]=db[_0x7cca('0x2')]['import'](_0x7cca('0xbd'));db['VtigerAccount']=db[_0x7cca('0x2')][_0x7cca('0x13')](_0x7cca('0xbe'));db['VtigerConfiguration']=db[_0x7cca('0x2')]['import']('../api/intVtigerConfiguration/intVtigerConfiguration.model');db[_0x7cca('0xbf')]=db[_0x7cca('0x2')]['import'](_0x7cca('0xc0'));db[_0x7cca('0xc1')]=db[_0x7cca('0x2')]['import'](_0x7cca('0xc2'));db[_0x7cca('0xc3')]=db[_0x7cca('0x2')][_0x7cca('0x13')](_0x7cca('0xc4'));db[_0x7cca('0xc5')]=db[_0x7cca('0x2')][_0x7cca('0x13')](_0x7cca('0xc6'));db[_0x7cca('0xc7')]=db[_0x7cca('0x2')][_0x7cca('0x13')](_0x7cca('0xc8'));db[_0x7cca('0xc9')]=db[_0x7cca('0x2')][_0x7cca('0x13')]('../api/intDynamics365Configuration/intDynamics365Configuration.model');db[_0x7cca('0xca')]=db[_0x7cca('0x2')][_0x7cca('0x13')]('../api/intDynamics365Field/intDynamics365Field.model');db[_0x7cca('0xcb')]=db[_0x7cca('0x2')][_0x7cca('0x13')](_0x7cca('0xcc'));db[_0x7cca('0xcd')]=db[_0x7cca('0x2')][_0x7cca('0x13')]('../api/intFreshsalesConfiguration/intFreshsalesConfiguration.model');db[_0x7cca('0xce')]=db[_0x7cca('0x2')][_0x7cca('0x13')]('../api/intFreshsalesField/intFreshsalesField.model');db['Integration']=db['sequelize'][_0x7cca('0x13')](_0x7cca('0xcf'));db[_0x7cca('0xd0')]=db[_0x7cca('0x2')]['import'](_0x7cca('0xd1'));db[_0x7cca('0xd2')]=db[_0x7cca('0x2')]['import'](_0x7cca('0xd3'));db[_0x7cca('0xd4')]=db['sequelize'][_0x7cca('0x13')](_0x7cca('0xd5'));db[_0x7cca('0xd6')]=db[_0x7cca('0x2')][_0x7cca('0x13')](_0x7cca('0xd7'));db[_0x7cca('0xd8')]=db[_0x7cca('0x2')][_0x7cca('0x13')](_0x7cca('0xd9'));db[_0x7cca('0xda')]=db[_0x7cca('0x2')][_0x7cca('0x13')](_0x7cca('0xdb'));db[_0x7cca('0xdc')]=db[_0x7cca('0x2')]['import'](_0x7cca('0xdd'));db['SquareReport']=db[_0x7cca('0x2')][_0x7cca('0x13')](_0x7cca('0xde'));db[_0x7cca('0xdf')]=db[_0x7cca('0x2')][_0x7cca('0x13')]('../api/squareReportDetail/squareReportDetail.model');db['JscriptyProject']=db[_0x7cca('0x2')][_0x7cca('0x13')](_0x7cca('0xe0'));db[_0x7cca('0xe1')]=db[_0x7cca('0x2')][_0x7cca('0x13')](_0x7cca('0xe2'));db['SquareOdbc']=db['sequelize'][_0x7cca('0x13')](_0x7cca('0xe3'));db['SquareProject']=db[_0x7cca('0x2')][_0x7cca('0x13')]('../api/squareProject/squareProject.model');db[_0x7cca('0xe4')]=db[_0x7cca('0x2')]['import'](_0x7cca('0xe5'));db[_0x7cca('0xe6')]=db['sequelize']['import'](_0x7cca('0xe7'));db['Team']=db[_0x7cca('0x2')][_0x7cca('0x13')](_0x7cca('0xe8'));db[_0x7cca('0xe9')]=db[_0x7cca('0x2')][_0x7cca('0x13')](_0x7cca('0xea'));db['Campaign']=db[_0x7cca('0x2')][_0x7cca('0x13')]('../api/campaign/campaign.model');db[_0x7cca('0xeb')]=db[_0x7cca('0x2')][_0x7cca('0x13')](_0x7cca('0xec'));db[_0x7cca('0xed')]=db[_0x7cca('0x2')][_0x7cca('0x13')](_0x7cca('0xee'));db[_0x7cca('0xef')]=db[_0x7cca('0x2')][_0x7cca('0x13')](_0x7cca('0xf0'));db[_0x7cca('0xf1')]=db[_0x7cca('0x2')][_0x7cca('0x13')](_0x7cca('0xf2'));db[_0x7cca('0xf3')]=db['sequelize'][_0x7cca('0x13')](_0x7cca('0xf4'));db[_0x7cca('0xf5')]=db[_0x7cca('0x2')][_0x7cca('0x13')](_0x7cca('0xf6'));db[_0x7cca('0xf7')]=db['sequelize'][_0x7cca('0x13')]('../api/openchannelTransferReport/openchannelTransferReport.model');db[_0x7cca('0xf8')]=db[_0x7cca('0x2')][_0x7cca('0x13')](_0x7cca('0xf9'));db['CmList']=db[_0x7cca('0x2')][_0x7cca('0x13')](_0x7cca('0xfa'));db[_0x7cca('0xfb')]=db[_0x7cca('0x2')][_0x7cca('0x13')]('../api/voicePrefix/voicePrefix.model');db[_0x7cca('0xfc')]=db[_0x7cca('0x2')][_0x7cca('0x13')](_0x7cca('0xfd'));db[_0x7cca('0xfe')]=db['sequelize'][_0x7cca('0x13')](_0x7cca('0xff'));db['UserProfileResource']=db[_0x7cca('0x2')][_0x7cca('0x13')]('../api/userProfileResource/userProfileResource.model');db['Notification']=db[_0x7cca('0x2')][_0x7cca('0x13')](_0x7cca('0x100'));db[_0x7cca('0x101')]=db[_0x7cca('0x2')][_0x7cca('0x13')]('../api/whatsappAccount/whatsappAccount.model');db['WhatsappApplication']=db[_0x7cca('0x2')]['import'](_0x7cca('0x102'));db['WhatsappInteraction']=db[_0x7cca('0x2')][_0x7cca('0x13')](_0x7cca('0x103'));db[_0x7cca('0x104')]=db[_0x7cca('0x2')][_0x7cca('0x13')](_0x7cca('0x105'));db[_0x7cca('0x106')]=db['sequelize'][_0x7cca('0x13')]('../api/whatsappQueueReport/whatsappQueueReport.model');db['WhatsappTransferReport']=db[_0x7cca('0x2')][_0x7cca('0x13')](_0x7cca('0x107'));db[_0x7cca('0x108')]=db[_0x7cca('0x2')][_0x7cca('0x13')]('../api/whatsappQueue/whatsappQueue.model');db[_0x7cca('0x109')]=db[_0x7cca('0x2')][_0x7cca('0x13')](_0x7cca('0x10a'));db[_0x7cca('0x11')][_0x7cca('0x10b')](db[_0x7cca('0x1e')],{'as':_0x7cca('0x1e'),'onDelete':'cascade','foreignKey':_0x7cca('0x10c')});db[_0x7cca('0x11')][_0x7cca('0x10d')](db['VoiceRecording'],{'as':_0x7cca('0x10e'),'foreignKey':'UserId'});db[_0x7cca('0x11')][_0x7cca('0x10d')](db['UserVoiceQueueRt'],{'as':_0x7cca('0x10f'),'foreignKey':_0x7cca('0x10c')});db[_0x7cca('0x11')][_0x7cca('0x10d')](db['VoiceExtension'],{'as':_0x7cca('0x110'),'onDelete':_0x7cca('0x111'),'hooks':!![]});db['User'][_0x7cca('0x10d')](db['CmHopperFinal'],{'as':_0x7cca('0x112'),'foreignKey':_0x7cca('0x10c')});db[_0x7cca('0x11')]['hasMany'](db['CmHopperHistory'],{'as':_0x7cca('0x113'),'foreignKey':_0x7cca('0x10c')});db[_0x7cca('0x11')][_0x7cca('0x10d')](db['ReportAgentPreview'],{'as':'ReportAgentPreview','foreignKey':_0x7cca('0x10c')});db['User'][_0x7cca('0x10d')](db[_0x7cca('0x5a')],{'as':_0x7cca('0x114'),'foreignKey':_0x7cca('0x10c')});db['User'][_0x7cca('0x10d')](db[_0x7cca('0x115')],{'as':_0x7cca('0x116'),'foreignKey':_0x7cca('0x10c')});db[_0x7cca('0x11')][_0x7cca('0x10d')](db[_0x7cca('0x117')],{'as':_0x7cca('0x118'),'foreignKey':'UserId'});db[_0x7cca('0x11')]['hasMany'](db[_0x7cca('0x119')],{'as':_0x7cca('0x11a'),'foreignKey':_0x7cca('0x10c')});db[_0x7cca('0x11')][_0x7cca('0x10d')](db['MailInteraction'],{'as':_0x7cca('0x11b'),'foreignKey':_0x7cca('0x10c')});db[_0x7cca('0x11')]['hasMany'](db[_0x7cca('0x11c')],{'as':_0x7cca('0x11d'),'foreignKey':_0x7cca('0x10c')});db[_0x7cca('0x11')][_0x7cca('0x10d')](db[_0x7cca('0x11e')],{'as':_0x7cca('0x11f'),'foreignKey':'SenderId'});db[_0x7cca('0x11')][_0x7cca('0x120')](db[_0x7cca('0xfc')],{'as':'UserProfile','foreignKey':_0x7cca('0x121')});db[_0x7cca('0x11')][_0x7cca('0x122')](db['ChatGroup'],{'as':_0x7cca('0x123'),'through':_0x7cca('0x124')});db[_0x7cca('0x11')][_0x7cca('0x122')](db[_0x7cca('0x6d')],{'as':'Contacts','through':_0x7cca('0x125')});db[_0x7cca('0x11')][_0x7cca('0x122')](db['CmList'],{'as':'Lists','through':'cm_user_has_lists'});db['User']['belongsToMany'](db[_0x7cca('0x126')],{'through':_0x7cca('0x127')});db['User'][_0x7cca('0x122')](db[_0x7cca('0x128')],{'as':_0x7cca('0x11b'),'through':_0x7cca('0x129')});db['User'][_0x7cca('0x122')](db[_0x7cca('0x115')],{'as':_0x7cca('0x116'),'through':_0x7cca('0x12a')});db['User'][_0x7cca('0x122')](db[_0x7cca('0x119')],{'as':_0x7cca('0x11a'),'through':_0x7cca('0x12b')});db[_0x7cca('0x11')][_0x7cca('0x122')](db[_0x7cca('0x117')],{'as':_0x7cca('0x118'),'through':_0x7cca('0x12c')});db[_0x7cca('0x11')]['belongsToMany'](db[_0x7cca('0x5a')],{'as':_0x7cca('0x114'),'through':_0x7cca('0x12d')});db[_0x7cca('0x11')]['belongsToMany'](db[_0x7cca('0x11c')],{'as':_0x7cca('0x11d'),'through':_0x7cca('0x12e')});db[_0x7cca('0x11')][_0x7cca('0x122')](db[_0x7cca('0x19')],{'as':'VoiceQueues','through':_0x7cca('0x2e'),'required':![]});db[_0x7cca('0x11')][_0x7cca('0x122')](db[_0x7cca('0x3c')],{'as':_0x7cca('0x12f'),'through':_0x7cca('0x32'),'required':![]});db[_0x7cca('0x11')][_0x7cca('0x122')](db['ChatQueue'],{'as':_0x7cca('0x130'),'through':_0x7cca('0x30'),'required':![],'hooks':!![]});db[_0x7cca('0x11')][_0x7cca('0x122')](db[_0x7cca('0x4b')],{'as':_0x7cca('0x131'),'through':_0x7cca('0x132'),'required':![]});db[_0x7cca('0x11')][_0x7cca('0x122')](db[_0x7cca('0x54')],{'as':_0x7cca('0x133'),'through':_0x7cca('0x33'),'required':![]});db['User']['belongsToMany'](db['OpenchannelQueue'],{'as':_0x7cca('0x134'),'through':_0x7cca('0x35'),'required':![]});db[_0x7cca('0x11')][_0x7cca('0x122')](db[_0x7cca('0x108')],{'as':_0x7cca('0x135'),'through':_0x7cca('0x36'),'required':![]});db['User'][_0x7cca('0x122')](db['CmList'],{'through':'cm_user_has_lists'});db['User'][_0x7cca('0x122')](db['VoicePrefix'],{'as':'VoicePrefixes','through':'user_has_voice_prefixes','required':![]});db[_0x7cca('0x11')][_0x7cca('0x122')](db[_0x7cca('0x60')],{'as':_0x7cca('0x136'),'through':_0x7cca('0x137')});db[_0x7cca('0x11')][_0x7cca('0x122')](db[_0x7cca('0x138')],{'as':_0x7cca('0x139'),'through':_0x7cca('0x13a')});db[_0x7cca('0x11')]['belongsToMany'](db[_0x7cca('0x3a')],{'as':'MailAccounts','through':_0x7cca('0x13b')});db[_0x7cca('0x11')][_0x7cca('0x122')](db[_0x7cca('0x56')],{'as':_0x7cca('0x13c'),'through':_0x7cca('0x13d')});db['User'][_0x7cca('0x122')](db[_0x7cca('0x4e')],{'as':_0x7cca('0x13e'),'through':'user_has_sms_accounts'});db[_0x7cca('0x11')][_0x7cca('0x122')](db[_0x7cca('0x101')],{'as':_0x7cca('0x13f'),'through':_0x7cca('0x140')});db['User'][_0x7cca('0x122')](db[_0x7cca('0x141')],{'as':_0x7cca('0x142'),'through':'user_has_square_projects'});db[_0x7cca('0x12')]['hasMany'](db[_0x7cca('0x143')],{'as':_0x7cca('0x144'),'onDelete':_0x7cca('0x111'),'foreignKey':_0x7cca('0x145')});db['VoiceContext'][_0x7cca('0x10d')](db[_0x7cca('0x143')],{'onDelete':'cascade'});db[_0x7cca('0x143')]['hasMany'](db['VoiceExtension'],{'as':_0x7cca('0x146'),'onDelete':_0x7cca('0x111')});db[_0x7cca('0x17')][_0x7cca('0x122')](db[_0x7cca('0x147')],{'as':_0x7cca('0x148'),'through':_0x7cca('0x149')});db[_0x7cca('0x19')]['hasMany'](db['UserVoiceQueueRt'],{'as':'Members','foreignKey':_0x7cca('0x14a')});db[_0x7cca('0x19')][_0x7cca('0x10d')](db['CmHopper'],{'as':_0x7cca('0x14b'),'foreignKey':_0x7cca('0x14a')});db[_0x7cca('0x19')]['hasMany'](db[_0x7cca('0x72')],{'as':_0x7cca('0x112'),'foreignKey':_0x7cca('0x14a')});db[_0x7cca('0x19')]['hasMany'](db[_0x7cca('0x74')],{'as':_0x7cca('0x14c'),'foreignKey':_0x7cca('0x14a')});db[_0x7cca('0x19')][_0x7cca('0x10d')](db[_0x7cca('0x76')],{'as':_0x7cca('0x76'),'foreignKey':_0x7cca('0x14a')});db[_0x7cca('0x19')][_0x7cca('0x10d')](db[_0x7cca('0x70')],{'as':_0x7cca('0x14d'),'foreignKey':_0x7cca('0x14a')});db[_0x7cca('0x19')]['hasMany'](db[_0x7cca('0xda')],{'as':_0x7cca('0x14e'),'foreignKey':_0x7cca('0x14a')});db[_0x7cca('0x19')][_0x7cca('0x120')](db[_0x7cca('0x2a')],{'as':_0x7cca('0x2a'),'foreignKey':_0x7cca('0x14f')});db[_0x7cca('0x19')]['belongsTo'](db[_0x7cca('0x2a')],{'as':_0x7cca('0x150'),'foreignKey':_0x7cca('0x151')});db[_0x7cca('0x19')][_0x7cca('0x120')](db[_0x7cca('0x80')],{'as':'Interval','foreignKey':_0x7cca('0x152')});db['VoiceQueue']['belongsTo'](db[_0x7cca('0x82')],{'as':'mandatoryDispositionPause','foreignKey':'mandatoryDispositionPauseId'});db[_0x7cca('0x19')][_0x7cca('0x122')](db[_0x7cca('0x153')],{'as':_0x7cca('0x154'),'through':_0x7cca('0x155')});db[_0x7cca('0x19')][_0x7cca('0x122')](db[_0x7cca('0x11')],{'as':_0x7cca('0x156'),'through':'UserVoiceQueue'});db[_0x7cca('0x19')][_0x7cca('0x122')](db[_0x7cca('0x126')],{'as':_0x7cca('0x157'),'through':_0x7cca('0x158')});db[_0x7cca('0x19')][_0x7cca('0x122')](db[_0x7cca('0x153')],{'as':_0x7cca('0x159'),'through':_0x7cca('0x15a')});db[_0x7cca('0x1b')]['belongsTo'](db[_0x7cca('0x11')],{'as':'User','foreignKey':_0x7cca('0x10c')});db[_0x7cca('0x1c')]['belongsTo'](db['User'],{'as':_0x7cca('0x11'),'foreignKey':_0x7cca('0x10c')});db[_0x7cca('0x1e')][_0x7cca('0x10d')](db[_0x7cca('0x15b')],{'as':_0x7cca('0x15c'),'onDelete':_0x7cca('0x111'),'foreignKey':_0x7cca('0x15d'),'sourceKey':_0x7cca('0x15e')});db[_0x7cca('0x15b')][_0x7cca('0x120')](db['VoiceMail'],{'foreignKey':_0x7cca('0x15d'),'targetKey':_0x7cca('0x15e')});db[_0x7cca('0x21')]['hasMany'](db['VoiceQueueReport'],{'as':_0x7cca('0x15f'),'foreignKey':_0x7cca('0x160'),'constraints':![]});db['VoiceCallReport']['hasMany'](db['VoiceAgentReport'],{'as':_0x7cca('0x161'),'foreignKey':'uniqueid','constraints':![]});db[_0x7cca('0x21')][_0x7cca('0x120')](db[_0x7cca('0x11')],{'as':_0x7cca('0x11'),'foreignKey':'UserId'});db[_0x7cca('0x21')][_0x7cca('0x120')](db[_0x7cca('0x6d')],{'as':_0x7cca('0x162'),'foreignKey':_0x7cca('0x163')});db['MailServerIn'][_0x7cca('0x120')](db['MailAccount'],{'as':'MailAccount','foreignKey':_0x7cca('0x164')});db[_0x7cca('0x165')][_0x7cca('0x120')](db[_0x7cca('0x3a')],{'as':'MailAccount','foreignKey':_0x7cca('0x164')});db[_0x7cca('0x3a')][_0x7cca('0x10b')](db[_0x7cca('0x166')],{'as':'Imap','onDelete':_0x7cca('0x111')});db[_0x7cca('0x3a')][_0x7cca('0x10b')](db[_0x7cca('0x165')],{'as':_0x7cca('0x167'),'onDelete':_0x7cca('0x111')});db[_0x7cca('0x3a')][_0x7cca('0x10d')](db['Disposition'],{'as':_0x7cca('0x168'),'foreignKey':_0x7cca('0x164')});db[_0x7cca('0x3a')]['hasMany'](db['CannedAnswer'],{'as':_0x7cca('0x169'),'foreignKey':_0x7cca('0x164')});db[_0x7cca('0x3a')][_0x7cca('0x10d')](db[_0x7cca('0x40')],{'as':_0x7cca('0x15c'),'foreignKey':'MailAccountId'});db[_0x7cca('0x3a')][_0x7cca('0x10d')](db[_0x7cca('0x128')],{'as':_0x7cca('0x16a')});db[_0x7cca('0x3a')][_0x7cca('0x10d')](db[_0x7cca('0x41')],{'as':'Applications'});db[_0x7cca('0x3a')][_0x7cca('0x120')](db['CmList'],{'as':_0x7cca('0x16b'),'foreignKey':_0x7cca('0x16c')});db[_0x7cca('0x3a')]['belongsTo'](db[_0x7cca('0x8c')],{'as':_0x7cca('0x8c'),'foreignKey':_0x7cca('0x16d')});db[_0x7cca('0x3a')]['belongsTo'](db[_0x7cca('0x82')],{'as':'mandatoryDispositionPause','foreignKey':'mandatoryDispositionPauseId'});db[_0x7cca('0x3a')][_0x7cca('0x122')](db['User'],{'as':_0x7cca('0x156'),'through':_0x7cca('0x13b')});db[_0x7cca('0x3c')][_0x7cca('0x122')](db[_0x7cca('0x11')],{'as':_0x7cca('0x156'),'through':_0x7cca('0x32')});db[_0x7cca('0x3c')]['belongsToMany'](db['Team'],{'through':_0x7cca('0x16e'),'as':_0x7cca('0x157')});db[_0x7cca('0x128')][_0x7cca('0x10d')](db[_0x7cca('0x40')],{'as':_0x7cca('0x15c'),'onDelete':_0x7cca('0x111'),'foreignKey':_0x7cca('0x16f')});db[_0x7cca('0x128')][_0x7cca('0x120')](db[_0x7cca('0x3a')],{'as':_0x7cca('0x170'),'foreignKey':_0x7cca('0x164')});db[_0x7cca('0x128')][_0x7cca('0x120')](db[_0x7cca('0x6d')],{'as':'Contact','foreignKey':'ContactId'});db[_0x7cca('0x128')][_0x7cca('0x120')](db[_0x7cca('0x11')],{'as':_0x7cca('0x171'),'foreignKey':'UserId'});db[_0x7cca('0x128')][_0x7cca('0x122')](db[_0x7cca('0x8a')],{'through':_0x7cca('0x172'),'as':_0x7cca('0x173')});db[_0x7cca('0x128')]['belongsToMany'](db[_0x7cca('0x8a')],{'through':_0x7cca('0x172'),'as':_0x7cca('0x174')});db[_0x7cca('0x128')]['belongsToMany'](db[_0x7cca('0x11')],{'as':'Users','through':_0x7cca('0x129'),'foreignKey':_0x7cca('0x16f')});db['MailMessage'][_0x7cca('0x10d')](db[_0x7cca('0xed')],{'as':_0x7cca('0x175'),'onDelete':_0x7cca('0x111')});db[_0x7cca('0x40')]['belongsTo'](db['User'],{'as':'User'});db[_0x7cca('0x40')][_0x7cca('0x120')](db[_0x7cca('0x6d')],{'onDelete':_0x7cca('0x111'),'as':_0x7cca('0x162')});db[_0x7cca('0x40')][_0x7cca('0x120')](db[_0x7cca('0x128')],{'as':_0x7cca('0x176'),'foreignKey':_0x7cca('0x16f')});db['MailMessage'][_0x7cca('0x120')](db['MailAccount'],{'as':'Account','foreignKey':_0x7cca('0x164')});db[_0x7cca('0x41')][_0x7cca('0x120')](db['User'],{'onDelete':_0x7cca('0x177')});db['MailApplication']['belongsTo'](db[_0x7cca('0x3c')],{'onDelete':_0x7cca('0x177')});db[_0x7cca('0x41')][_0x7cca('0x120')](db[_0x7cca('0x3a')],{'onDelete':_0x7cca('0x177')});db[_0x7cca('0x41')][_0x7cca('0x120')](db['Interval'],{'onDelete':_0x7cca('0x177'),'foreignKey':_0x7cca('0x152')});db[_0x7cca('0x41')]['belongsTo'](db[_0x7cca('0x8a')],{'onDelete':_0x7cca('0x177'),'foreignKey':'TagId'});db[_0x7cca('0x43')][_0x7cca('0x120')](db[_0x7cca('0x3a')],{});db[_0x7cca('0x43')]['belongsTo'](db[_0x7cca('0x153')],{'as':_0x7cca('0x16b'),'foreignKey':_0x7cca('0x16c')});db[_0x7cca('0x43')][_0x7cca('0x120')](db[_0x7cca('0x6d')],{'as':_0x7cca('0x162'),'foreignKey':_0x7cca('0x163')});db[_0x7cca('0x43')][_0x7cca('0x120')](db['MailInteraction'],{});db[_0x7cca('0x43')][_0x7cca('0x120')](db[_0x7cca('0x40')],{});db[_0x7cca('0x43')][_0x7cca('0x120')](db[_0x7cca('0x11')],{});db['MailQueueReport'][_0x7cca('0x120')](db[_0x7cca('0x3c')],{});db[_0x7cca('0x44')][_0x7cca('0x10d')](db[_0x7cca('0x45')],{'as':_0x7cca('0x178'),'onDelete':_0x7cca('0x111')});db[_0x7cca('0x138')]['hasMany'](db['Disposition'],{'as':_0x7cca('0x168'),'foreignKey':_0x7cca('0x179')});db[_0x7cca('0x138')]['hasMany'](db[_0x7cca('0x7b')],{'as':_0x7cca('0x169'),'foreignKey':_0x7cca('0x179')});db[_0x7cca('0x138')][_0x7cca('0x10d')](db[_0x7cca('0x119')],{'as':_0x7cca('0x16a')});db['FaxAccount'][_0x7cca('0x10d')](db[_0x7cca('0x48')],{'as':_0x7cca('0x146')});db['FaxAccount'][_0x7cca('0x10d')](db['VoiceExtension'],{'as':_0x7cca('0x17a'),'onDelete':_0x7cca('0x111')});db[_0x7cca('0x138')][_0x7cca('0x10d')](db['FaxMessage'],{'as':_0x7cca('0x15c')});db['FaxAccount']['belongsTo'](db[_0x7cca('0x2a')],{'as':_0x7cca('0x2a')});db[_0x7cca('0x138')][_0x7cca('0x120')](db[_0x7cca('0x153')],{'as':_0x7cca('0x16b'),'foreignKey':_0x7cca('0x16c')});db['FaxAccount']['belongsTo'](db['Pause'],{'as':_0x7cca('0x17b'),'foreignKey':_0x7cca('0x17c')});db['FaxAccount'][_0x7cca('0x122')](db[_0x7cca('0x11')],{'as':_0x7cca('0x156'),'through':'user_has_fax_accounts'});db[_0x7cca('0x48')][_0x7cca('0x120')](db[_0x7cca('0x11')],{'onDelete':_0x7cca('0x177')});db[_0x7cca('0x48')][_0x7cca('0x120')](db[_0x7cca('0x4b')],{'onDelete':_0x7cca('0x177')});db[_0x7cca('0x48')]['belongsTo'](db[_0x7cca('0x138')],{'onDelete':_0x7cca('0x177')});db[_0x7cca('0x48')][_0x7cca('0x120')](db['Tag'],{'onDelete':_0x7cca('0x177'),'foreignKey':'TagId'});db['FaxInteraction'][_0x7cca('0x10d')](db[_0x7cca('0x17d')],{'as':_0x7cca('0x15c'),'onDelete':'cascade','foreignKey':_0x7cca('0x17e')});db['FaxInteraction'][_0x7cca('0x120')](db[_0x7cca('0x138')],{'as':'Account','foreignKey':_0x7cca('0x179')});db['FaxInteraction'][_0x7cca('0x120')](db[_0x7cca('0x6d')],{'as':_0x7cca('0x162'),'foreignKey':'ContactId'});db[_0x7cca('0x119')][_0x7cca('0x120')](db['User'],{'as':_0x7cca('0x171'),'foreignKey':_0x7cca('0x10c')});db['FaxInteraction'][_0x7cca('0x122')](db[_0x7cca('0x8a')],{'through':'fax_interaction_has_tags','as':_0x7cca('0x173')});db[_0x7cca('0x119')][_0x7cca('0x122')](db['Tag'],{'through':_0x7cca('0x17f'),'as':_0x7cca('0x174')});db[_0x7cca('0x119')][_0x7cca('0x122')](db[_0x7cca('0x11')],{'as':_0x7cca('0x180'),'through':_0x7cca('0x12b'),'foreignKey':_0x7cca('0x17e')});db['FaxMessage'][_0x7cca('0x120')](db[_0x7cca('0x11')],{'onDelete':_0x7cca('0x111'),'as':_0x7cca('0x11')});db['FaxMessage'][_0x7cca('0x120')](db[_0x7cca('0x119')],{'as':_0x7cca('0x176'),'foreignKey':_0x7cca('0x17e')});db[_0x7cca('0x17d')][_0x7cca('0x120')](db[_0x7cca('0x6d')],{'onDelete':_0x7cca('0x111'),'as':_0x7cca('0x162')});db[_0x7cca('0x17d')]['belongsTo'](db[_0x7cca('0xed')],{'as':'Attachment','foreignKey':'AttachmentId'});db[_0x7cca('0x17d')][_0x7cca('0x120')](db[_0x7cca('0x138')],{'as':_0x7cca('0x170'),'foreignKey':_0x7cca('0x179')});db[_0x7cca('0x4b')]['belongsToMany'](db[_0x7cca('0x11')],{'as':'Agents','through':_0x7cca('0x132')});db[_0x7cca('0x4b')][_0x7cca('0x122')](db[_0x7cca('0x126')],{'through':_0x7cca('0x181'),'as':_0x7cca('0x157')});db['FaxQueueReport'][_0x7cca('0x120')](db[_0x7cca('0x138')],{});db[_0x7cca('0x4c')][_0x7cca('0x120')](db[_0x7cca('0x153')],{'as':'List','foreignKey':_0x7cca('0x16c')});db['FaxQueueReport'][_0x7cca('0x120')](db[_0x7cca('0x6d')],{'as':'Contact','foreignKey':_0x7cca('0x163')});db[_0x7cca('0x4c')][_0x7cca('0x120')](db['FaxInteraction'],{});db[_0x7cca('0x4c')][_0x7cca('0x120')](db[_0x7cca('0x17d')],{});db[_0x7cca('0x4c')][_0x7cca('0x120')](db[_0x7cca('0x11')],{});db['FaxQueueReport'][_0x7cca('0x120')](db[_0x7cca('0x4b')],{});db[_0x7cca('0x4e')][_0x7cca('0x10d')](db[_0x7cca('0x7d')],{'as':'Dispositions','foreignKey':_0x7cca('0x182')});db[_0x7cca('0x4e')][_0x7cca('0x10d')](db['CannedAnswer'],{'as':_0x7cca('0x169'),'foreignKey':_0x7cca('0x182')});db[_0x7cca('0x4e')][_0x7cca('0x10d')](db[_0x7cca('0x52')],{'as':'Messages','foreignKey':_0x7cca('0x182')});db[_0x7cca('0x4e')][_0x7cca('0x10d')](db[_0x7cca('0x117')],{'as':_0x7cca('0x16a')});db[_0x7cca('0x4e')]['hasMany'](db['SmsApplication'],{'as':'Applications'});db[_0x7cca('0x4e')]['belongsTo'](db[_0x7cca('0x153')],{'as':_0x7cca('0x16b'),'foreignKey':_0x7cca('0x16c')});db[_0x7cca('0x4e')][_0x7cca('0x120')](db[_0x7cca('0x82')],{'as':_0x7cca('0x17b'),'foreignKey':_0x7cca('0x17c')});db[_0x7cca('0x4e')]['belongsToMany'](db[_0x7cca('0x11')],{'as':_0x7cca('0x156'),'through':_0x7cca('0x183')});db[_0x7cca('0x50')][_0x7cca('0x120')](db[_0x7cca('0x11')],{'onDelete':_0x7cca('0x177')});db[_0x7cca('0x50')][_0x7cca('0x120')](db['SmsQueue'],{'onDelete':_0x7cca('0x177')});db['SmsApplication'][_0x7cca('0x120')](db[_0x7cca('0x4e')],{'onDelete':_0x7cca('0x177')});db['SmsApplication'][_0x7cca('0x120')](db[_0x7cca('0x80')],{'onDelete':_0x7cca('0x177'),'foreignKey':_0x7cca('0x152')});db['SmsApplication']['belongsTo'](db[_0x7cca('0x8a')],{'onDelete':'restrict','foreignKey':_0x7cca('0x184')});db[_0x7cca('0x117')][_0x7cca('0x10d')](db['SmsMessage'],{'as':_0x7cca('0x15c'),'onDelete':_0x7cca('0x111'),'foreignKey':_0x7cca('0x185')});db['SmsInteraction'][_0x7cca('0x120')](db[_0x7cca('0x4e')],{'as':'Account','foreignKey':_0x7cca('0x182')});db[_0x7cca('0x117')]['belongsTo'](db['CmContact'],{'as':_0x7cca('0x162'),'foreignKey':'ContactId'});db[_0x7cca('0x117')][_0x7cca('0x120')](db[_0x7cca('0x11')],{'as':_0x7cca('0x171'),'foreignKey':_0x7cca('0x10c')});db[_0x7cca('0x117')]['belongsToMany'](db['Tag'],{'through':'sms_interaction_has_tags','as':'Tags'});db[_0x7cca('0x117')][_0x7cca('0x122')](db[_0x7cca('0x8a')],{'through':_0x7cca('0x186'),'as':'ThroughTags'});db[_0x7cca('0x117')][_0x7cca('0x122')](db[_0x7cca('0x11')],{'as':_0x7cca('0x180'),'through':'user_has_sms_interactions','foreignKey':_0x7cca('0x185')});db[_0x7cca('0x52')][_0x7cca('0x120')](db[_0x7cca('0x11')],{'as':_0x7cca('0x11')});db[_0x7cca('0x52')][_0x7cca('0x120')](db[_0x7cca('0x6d')],{'onDelete':_0x7cca('0x111'),'as':_0x7cca('0x162')});db['SmsMessage'][_0x7cca('0x120')](db[_0x7cca('0x117')],{'onDelete':_0x7cca('0x111'),'as':_0x7cca('0x176'),'foreignKey':'SmsInteractionId'});db[_0x7cca('0x52')][_0x7cca('0x120')](db['SmsAccount'],{'as':_0x7cca('0x170'),'foreignKey':_0x7cca('0x182')});db[_0x7cca('0x54')][_0x7cca('0x122')](db[_0x7cca('0x11')],{'as':_0x7cca('0x156'),'through':_0x7cca('0x33'),'foreignKey':_0x7cca('0x187')});db['SmsQueue'][_0x7cca('0x122')](db[_0x7cca('0x126')],{'through':'team_has_sms_queues','as':_0x7cca('0x157')});db[_0x7cca('0x56')][_0x7cca('0x10d')](db[_0x7cca('0x7d')],{'as':_0x7cca('0x168'),'foreignKey':_0x7cca('0x188')});db[_0x7cca('0x56')][_0x7cca('0x10d')](db[_0x7cca('0x7b')],{'as':'Answers','foreignKey':'OpenchannelAccountId'});db['OpenchannelAccount'][_0x7cca('0x10d')](db[_0x7cca('0x5a')],{'as':_0x7cca('0x16a'),'foreignKey':'OpenchannelAccountId'});db[_0x7cca('0x56')][_0x7cca('0x10d')](db[_0x7cca('0x5c')],{'as':_0x7cca('0x15c'),'foreignKey':_0x7cca('0x188')});db[_0x7cca('0x56')][_0x7cca('0x10d')](db['OpenchannelApplication'],{'as':'Applications','foreignKey':_0x7cca('0x188')});db[_0x7cca('0x56')][_0x7cca('0x120')](db[_0x7cca('0x153')],{'as':_0x7cca('0x16b'),'foreignKey':_0x7cca('0x16c')});db[_0x7cca('0x56')]['belongsTo'](db[_0x7cca('0x82')],{'as':_0x7cca('0x17b'),'foreignKey':_0x7cca('0x17c')});db[_0x7cca('0x56')][_0x7cca('0x122')](db[_0x7cca('0x11')],{'as':_0x7cca('0x156'),'through':_0x7cca('0x13d')});db[_0x7cca('0x58')]['belongsTo'](db['User'],{'onDelete':_0x7cca('0x177')});db['OpenchannelApplication'][_0x7cca('0x120')](db[_0x7cca('0x5e')],{'onDelete':_0x7cca('0x177'),'foreignKey':_0x7cca('0x189')});db[_0x7cca('0x58')][_0x7cca('0x120')](db[_0x7cca('0x56')],{'onDelete':_0x7cca('0x177'),'foreignKey':_0x7cca('0x188')});db[_0x7cca('0x58')][_0x7cca('0x120')](db[_0x7cca('0x80')],{'onDelete':_0x7cca('0x177'),'foreignKey':_0x7cca('0x152')});db[_0x7cca('0x58')][_0x7cca('0x120')](db['Tag'],{'onDelete':_0x7cca('0x177'),'foreignKey':'TagId'});db[_0x7cca('0x5a')][_0x7cca('0x10d')](db['OpenchannelMessage'],{'as':'Messages','onDelete':'cascade','foreignKey':_0x7cca('0x18a')});db[_0x7cca('0x5a')]['belongsTo'](db[_0x7cca('0x56')],{'as':_0x7cca('0x170'),'foreignKey':_0x7cca('0x188')});db['OpenchannelInteraction'][_0x7cca('0x120')](db['CmContact'],{'as':_0x7cca('0x162'),'foreignKey':'ContactId'});db[_0x7cca('0x5a')][_0x7cca('0x120')](db[_0x7cca('0x11')],{'as':_0x7cca('0x171'),'foreignKey':_0x7cca('0x10c')});db['OpenchannelInteraction'][_0x7cca('0x122')](db[_0x7cca('0x8a')],{'through':_0x7cca('0x18b'),'as':'Tags'});db[_0x7cca('0x5a')][_0x7cca('0x122')](db[_0x7cca('0x8a')],{'through':_0x7cca('0x18b'),'as':_0x7cca('0x174')});db['OpenchannelInteraction'][_0x7cca('0x122')](db[_0x7cca('0x11')],{'as':_0x7cca('0x180'),'through':'user_has_openchannel_interactions','foreignKey':_0x7cca('0x18a')});db[_0x7cca('0x5c')][_0x7cca('0x120')](db[_0x7cca('0x11')],{'onDelete':_0x7cca('0x111'),'as':_0x7cca('0x11')});db[_0x7cca('0x5c')][_0x7cca('0x120')](db[_0x7cca('0x6d')],{'onDelete':_0x7cca('0x111'),'as':_0x7cca('0x162')});db['OpenchannelMessage'][_0x7cca('0x120')](db[_0x7cca('0x5a')],{'onDelete':_0x7cca('0x111'),'as':'Interaction','foreignKey':_0x7cca('0x18a')});db['OpenchannelMessage']['belongsTo'](db['Attachment'],{'as':_0x7cca('0xed'),'foreignKey':_0x7cca('0x18c')});db['OpenchannelMessage'][_0x7cca('0x120')](db[_0x7cca('0x56')],{'as':_0x7cca('0x170'),'foreignKey':_0x7cca('0x188')});db[_0x7cca('0x5e')][_0x7cca('0x122')](db[_0x7cca('0x11')],{'as':'Agents','through':'UserOpenchannelQueue','foreignKey':_0x7cca('0x189')});db['OpenchannelQueue']['belongsToMany'](db[_0x7cca('0x126')],{'through':_0x7cca('0x18d'),'as':_0x7cca('0x157')});db[_0x7cca('0x60')][_0x7cca('0x10d')](db[_0x7cca('0x7d')],{'as':'Dispositions','foreignKey':_0x7cca('0x18e')});db[_0x7cca('0x60')][_0x7cca('0x10d')](db['CannedAnswer'],{'as':_0x7cca('0x169'),'foreignKey':_0x7cca('0x18e')});db[_0x7cca('0x60')]['hasMany'](db[_0x7cca('0x6b')],{'as':_0x7cca('0x18f')});db[_0x7cca('0x60')][_0x7cca('0x10d')](db[_0x7cca('0x115')],{'as':_0x7cca('0x16a')});db[_0x7cca('0x60')][_0x7cca('0x10d')](db['ChatApplication'],{'as':_0x7cca('0x146')});db[_0x7cca('0x60')][_0x7cca('0x10d')](db[_0x7cca('0x190')],{'as':_0x7cca('0x15c')});db['ChatWebsite'][_0x7cca('0x120')](db['CmList'],{'as':_0x7cca('0x16b'),'foreignKey':_0x7cca('0x16c')});db[_0x7cca('0x60')][_0x7cca('0x120')](db['Interval'],{'as':'Interval','foreignKey':_0x7cca('0x152')});db[_0x7cca('0x60')][_0x7cca('0x120')](db[_0x7cca('0x82')],{'as':_0x7cca('0x17b'),'foreignKey':_0x7cca('0x17c')});db[_0x7cca('0x60')]['belongsToMany'](db['User'],{'as':_0x7cca('0x156'),'through':_0x7cca('0x137')});db[_0x7cca('0x62')][_0x7cca('0x120')](db[_0x7cca('0x56')],{});db['OpenchannelQueueReport'][_0x7cca('0x120')](db[_0x7cca('0x153')],{'as':_0x7cca('0x16b'),'foreignKey':_0x7cca('0x16c')});db['OpenchannelQueueReport'][_0x7cca('0x120')](db['CmContact'],{'as':_0x7cca('0x162'),'foreignKey':'ContactId'});db[_0x7cca('0x62')][_0x7cca('0x120')](db[_0x7cca('0x5a')],{});db[_0x7cca('0x62')]['belongsTo'](db[_0x7cca('0x5c')],{});db[_0x7cca('0x62')][_0x7cca('0x120')](db[_0x7cca('0x11')],{});db[_0x7cca('0x62')][_0x7cca('0x120')](db[_0x7cca('0x5e')],{});db['ChatApplication'][_0x7cca('0x120')](db[_0x7cca('0x11')],{'as':'Agent','foreignKey':_0x7cca('0x10c'),'onDelete':_0x7cca('0x177')});db[_0x7cca('0x191')]['belongsTo'](db[_0x7cca('0x67')],{'as':'Queue','foreignKey':_0x7cca('0x192'),'onDelete':_0x7cca('0x177')});db[_0x7cca('0x191')][_0x7cca('0x120')](db[_0x7cca('0x60')],{'as':_0x7cca('0x193'),'foreignKey':'ChatWebsiteId','onDelete':_0x7cca('0x177')});db[_0x7cca('0x191')][_0x7cca('0x120')](db['Tag'],{'onDelete':_0x7cca('0x177'),'foreignKey':_0x7cca('0x184')});db[_0x7cca('0x115')]['hasMany'](db['ChatMessage'],{'as':_0x7cca('0x15c'),'onDelete':_0x7cca('0x111'),'foreignKey':_0x7cca('0x194')});db['ChatInteraction'][_0x7cca('0x120')](db[_0x7cca('0x60')],{'as':_0x7cca('0x170'),'foreignKey':_0x7cca('0x18e')});db[_0x7cca('0x115')][_0x7cca('0x120')](db[_0x7cca('0x6d')],{'as':_0x7cca('0x162'),'foreignKey':_0x7cca('0x163')});db[_0x7cca('0x115')][_0x7cca('0x120')](db[_0x7cca('0x11')],{'as':_0x7cca('0x171'),'foreignKey':_0x7cca('0x10c')});db[_0x7cca('0x115')][_0x7cca('0x122')](db['Tag'],{'through':_0x7cca('0x195'),'as':_0x7cca('0x173')});db['ChatInteraction'][_0x7cca('0x122')](db[_0x7cca('0x8a')],{'through':_0x7cca('0x195'),'as':_0x7cca('0x174')});db[_0x7cca('0x115')][_0x7cca('0x122')](db[_0x7cca('0x11')],{'as':_0x7cca('0x180'),'through':_0x7cca('0x12a'),'foreignKey':_0x7cca('0x194')});db['ChatMessage'][_0x7cca('0x120')](db['User'],{'onDelete':_0x7cca('0x111'),'as':_0x7cca('0x11')});db[_0x7cca('0x190')][_0x7cca('0x120')](db['CmContact'],{'onDelete':_0x7cca('0x111'),'as':_0x7cca('0x162'),'foreignKey':_0x7cca('0x163')});db[_0x7cca('0x190')][_0x7cca('0x120')](db[_0x7cca('0x115')],{'onDelete':_0x7cca('0x111'),'as':'Interaction','foreignKey':_0x7cca('0x194')});db['ChatMessage']['belongsTo'](db[_0x7cca('0xed')],{'as':'Attachment','foreignKey':_0x7cca('0x18c')});db['ChatMessage'][_0x7cca('0x120')](db[_0x7cca('0x60')],{'as':_0x7cca('0x170'),'foreignKey':'ChatWebsiteId'});db[_0x7cca('0x65')][_0x7cca('0x120')](db['CmContact'],{'onDelete':'cascade','as':_0x7cca('0x162'),'foreignKey':_0x7cca('0x163')});db[_0x7cca('0x65')][_0x7cca('0x120')](db[_0x7cca('0x60')],{'as':_0x7cca('0x170'),'foreignKey':_0x7cca('0x18e')});db[_0x7cca('0x67')]['belongsToMany'](db[_0x7cca('0x11')],{'as':_0x7cca('0x156'),'through':_0x7cca('0x30'),'hooks':!![]});db[_0x7cca('0x67')]['belongsToMany'](db['Team'],{'through':'team_has_chat_queues','as':'Teams'});db['ChatGroup']['hasMany'](db[_0x7cca('0xd4')],{'as':_0x7cca('0x15c'),'foreignKey':_0x7cca('0x196'),'onDelete':_0x7cca('0x111')});db[_0x7cca('0x69')]['belongsToMany'](db[_0x7cca('0x11')],{'as':_0x7cca('0x197'),'through':_0x7cca('0x124')});db[_0x7cca('0x6b')][_0x7cca('0x120')](db[_0x7cca('0x60')],{'as':'Website','foreignKey':'ChatWebsiteId'});db[_0x7cca('0x6c')][_0x7cca('0x10d')](db[_0x7cca('0x6d')],{'as':'Contacts','foreignKey':_0x7cca('0x198')});db[_0x7cca('0x6d')][_0x7cca('0x10d')](db[_0x7cca('0x6e')],{'as':_0x7cca('0x14b'),'foreignKey':_0x7cca('0x163')});db[_0x7cca('0x6d')][_0x7cca('0x10d')](db[_0x7cca('0x72')],{'as':_0x7cca('0x112'),'foreignKey':_0x7cca('0x163')});db[_0x7cca('0x6d')][_0x7cca('0x10d')](db['CmHopperHistory'],{'as':_0x7cca('0x14c'),'foreignKey':'ContactId'});db[_0x7cca('0x6d')][_0x7cca('0x10d')](db[_0x7cca('0x76')],{'as':_0x7cca('0x76'),'foreignKey':_0x7cca('0x163')});db[_0x7cca('0x6d')][_0x7cca('0x10d')](db['JscriptySessionReport'],{'as':_0x7cca('0x14e'),'foreignKey':'ContactId'});db['CmContact'][_0x7cca('0x10d')](db[_0x7cca('0x5a')],{'as':_0x7cca('0x114'),'foreignKey':_0x7cca('0x163'),'onDelete':_0x7cca('0x177')});db[_0x7cca('0x6d')][_0x7cca('0x10d')](db['ChatInteraction'],{'as':'ChatInteractions','foreignKey':_0x7cca('0x163'),'onDelete':_0x7cca('0x177')});db['CmContact']['hasMany'](db[_0x7cca('0x117')],{'as':_0x7cca('0x118'),'foreignKey':'ContactId','onDelete':_0x7cca('0x177')});db['CmContact'][_0x7cca('0x10d')](db['FaxInteraction'],{'as':_0x7cca('0x11a'),'foreignKey':_0x7cca('0x163'),'onDelete':'restrict'});db[_0x7cca('0x6d')]['hasMany'](db[_0x7cca('0x128')],{'as':_0x7cca('0x11b'),'foreignKey':_0x7cca('0x163'),'onDelete':_0x7cca('0x177')});db[_0x7cca('0x6d')][_0x7cca('0x120')](db[_0x7cca('0x6c')],{'as':_0x7cca('0x199'),'foreignKey':_0x7cca('0x198')});db[_0x7cca('0x6d')][_0x7cca('0x120')](db['CmList'],{'as':_0x7cca('0x16b'),'foreignKey':_0x7cca('0x16c'),'onDelete':'cascade'});db[_0x7cca('0x6d')][_0x7cca('0x122')](db[_0x7cca('0x11')],{'as':_0x7cca('0x180'),'through':_0x7cca('0x125')});db[_0x7cca('0x6d')][_0x7cca('0x122')](db[_0x7cca('0x8a')],{'as':_0x7cca('0x173'),'through':_0x7cca('0x19a')});db[_0x7cca('0x6d')][_0x7cca('0x122')](db[_0x7cca('0x8a')],{'through':_0x7cca('0x19a'),'as':_0x7cca('0x174')});db[_0x7cca('0x6e')][_0x7cca('0x120')](db[_0x7cca('0x6d')],{'as':_0x7cca('0x162'),'foreignKey':_0x7cca('0x163'),'onDelete':_0x7cca('0x111')});db[_0x7cca('0x6e')][_0x7cca('0x120')](db[_0x7cca('0x153')],{'as':_0x7cca('0x16b'),'foreignKey':'ListId','onDelete':_0x7cca('0x111')});db[_0x7cca('0x6e')][_0x7cca('0x120')](db['User'],{'as':_0x7cca('0x19b'),'foreignKey':_0x7cca('0x10c')});db[_0x7cca('0x6e')][_0x7cca('0x120')](db[_0x7cca('0x19')],{'as':_0x7cca('0x19c'),'foreignKey':_0x7cca('0x14a'),'onDelete':'cascade'});db['CmHopper'][_0x7cca('0x120')](db['Campaign'],{'as':_0x7cca('0x19d'),'foreignKey':'CampaignId','onDelete':_0x7cca('0x111')});db['CmHopper'][_0x7cca('0x120')](db[_0x7cca('0x11')],{'as':_0x7cca('0x171'),'foreignKey':_0x7cca('0x19e')});db[_0x7cca('0x70')][_0x7cca('0x120')](db[_0x7cca('0x6d')],{'as':'Contact','foreignKey':_0x7cca('0x163'),'onDelete':'cascade'});db[_0x7cca('0x70')][_0x7cca('0x120')](db['CmList'],{'as':_0x7cca('0x16b'),'foreignKey':_0x7cca('0x16c'),'onDelete':_0x7cca('0x111')});db[_0x7cca('0x70')][_0x7cca('0x120')](db[_0x7cca('0x19')],{'as':_0x7cca('0x19c'),'foreignKey':'VoiceQueueId','onDelete':'cascade'});db[_0x7cca('0x70')][_0x7cca('0x120')](db[_0x7cca('0x19d')],{'as':_0x7cca('0x19d'),'foreignKey':'CampaignId','onDelete':_0x7cca('0x111')});db[_0x7cca('0x79')][_0x7cca('0x10d')](db[_0x7cca('0x7f')],{'as':{'plural':_0x7cca('0x19f'),'singular':'OneAll'},'foreignKey':'AutomationAllId','onDelete':_0x7cca('0x111'),'hooks':!![]});db[_0x7cca('0x79')][_0x7cca('0x10d')](db[_0x7cca('0x7f')],{'as':{'plural':'Any','singular':_0x7cca('0x1a0')},'foreignKey':_0x7cca('0x1a1'),'onDelete':'cascade','hooks':!![]});db['Automation']['hasMany'](db[_0x7cca('0x78')],{'as':'Actions','foreignKey':_0x7cca('0x1a2'),'onDelete':'cascade','hooks':!![]});db[_0x7cca('0x80')]['hasMany'](db['Interval'],{'as':_0x7cca('0x1a3'),'foreignKey':'IntervalId','onDelete':_0x7cca('0x111'),'hooks':!![],'required':![]});db[_0x7cca('0x80')]['hasMany'](db[_0x7cca('0x143')],{'as':_0x7cca('0x110'),'foreignKey':_0x7cca('0x152'),'onDelete':'restrict'});db[_0x7cca('0x80')][_0x7cca('0x10d')](db[_0x7cca('0x41')],{'as':_0x7cca('0x1a4'),'foreignKey':'IntervalId'});db[_0x7cca('0x80')][_0x7cca('0x10d')](db[_0x7cca('0x191')],{'as':_0x7cca('0x1a5'),'foreignKey':'IntervalId'});db[_0x7cca('0x80')][_0x7cca('0x10d')](db[_0x7cca('0x48')],{'as':'FaxApplications','foreignKey':'IntervalId'});db[_0x7cca('0x80')][_0x7cca('0x10d')](db['SmsApplication'],{'as':_0x7cca('0x1a6'),'foreignKey':_0x7cca('0x152')});db[_0x7cca('0x1a7')][_0x7cca('0x120')](db[_0x7cca('0x3a')],{});db['Schedule'][_0x7cca('0x120')](db[_0x7cca('0x96')],{'foreignKey':_0x7cca('0x1a8')});db[_0x7cca('0x1a7')][_0x7cca('0x120')](db[_0x7cca('0x94')],{'foreignKey':'CustomReportId'});db['Sound'][_0x7cca('0x122')](db[_0x7cca('0x17')],{'as':_0x7cca('0x1a9'),'through':_0x7cca('0x149'),'onDelete':_0x7cca('0x177')});db[_0x7cca('0x8a')]['belongsToMany'](db['CmContact'],{'through':_0x7cca('0x19a')});db[_0x7cca('0x8a')][_0x7cca('0x122')](db[_0x7cca('0x115')],{'through':_0x7cca('0x195')});db[_0x7cca('0x8a')][_0x7cca('0x122')](db[_0x7cca('0x128')],{'through':_0x7cca('0x172')});db[_0x7cca('0x8a')][_0x7cca('0x122')](db[_0x7cca('0x117')],{'through':'sms_interaction_has_tags'});db[_0x7cca('0x8a')][_0x7cca('0x122')](db[_0x7cca('0x119')],{'through':_0x7cca('0x17f')});db[_0x7cca('0x8a')][_0x7cca('0x122')](db[_0x7cca('0x5a')],{'through':_0x7cca('0x18b')});db[_0x7cca('0x8a')][_0x7cca('0x122')](db[_0x7cca('0x11c')],{'through':'whatsapp_interaction_has_tags'});db['Trigger'][_0x7cca('0x10d')](db[_0x7cca('0x7f')],{'as':{'plural':_0x7cca('0x1aa'),'singular':_0x7cca('0x1ab')},'foreignKey':_0x7cca('0x1ac'),'onDelete':_0x7cca('0x111'),'hooks':!![]});db[_0x7cca('0x8e')][_0x7cca('0x10d')](db[_0x7cca('0x7f')],{'as':{'plural':_0x7cca('0x1ad'),'singular':_0x7cca('0x1ae')},'foreignKey':_0x7cca('0x1af'),'onDelete':_0x7cca('0x111'),'hooks':!![]});db['Trigger'][_0x7cca('0x10d')](db[_0x7cca('0x78')],{'as':_0x7cca('0x1b0'),'foreignKey':_0x7cca('0x1b1'),'onDelete':_0x7cca('0x111'),'hooks':!![]});db['AnalyticCustomReport'][_0x7cca('0x10d')](db[_0x7cca('0x9a')],{'as':_0x7cca('0x1b2'),'onDelete':_0x7cca('0x111'),'foreignKey':'CustomReportId','hooks':!![]});db[_0x7cca('0x96')][_0x7cca('0x10d')](db[_0x7cca('0x9a')],{'as':'Fields','onDelete':_0x7cca('0x111'),'foreignKey':'DefaultReportId'});db[_0x7cca('0x1b3')][_0x7cca('0x10d')](db['AnalyticFieldReport'],{'as':'Fields','onDelete':_0x7cca('0x111'),'foreignKey':_0x7cca('0x1b4')});db[_0x7cca('0x9a')]['belongsTo'](db[_0x7cca('0x1b3')],{'foreignKey':_0x7cca('0x1b4')});db['SalesforceAccount']['hasMany'](db[_0x7cca('0x1b5')],{'as':_0x7cca('0x1b6'),'onDelete':_0x7cca('0x111'),'foreignKey':_0x7cca('0x1b7')});db[_0x7cca('0x1b5')][_0x7cca('0x10d')](db[_0x7cca('0xa1')],{'as':'Subjects','onDelete':_0x7cca('0x111'),'foreignKey':_0x7cca('0x1b8')});db[_0x7cca('0x1b5')][_0x7cca('0x10d')](db[_0x7cca('0xa1')],{'as':_0x7cca('0x1b9'),'onDelete':_0x7cca('0x111'),'foreignKey':_0x7cca('0x1ba')});db[_0x7cca('0x1b5')]['hasMany'](db[_0x7cca('0xa1')],{'as':_0x7cca('0x1b2'),'onDelete':_0x7cca('0x111'),'foreignKey':'FieldId'});db[_0x7cca('0x1b5')][_0x7cca('0x120')](db[_0x7cca('0x9e')],{'as':_0x7cca('0x170'),'foreignKey':'AccountId'});db['SalesforceField']['hasMany'](db[_0x7cca('0xa1')],{'as':_0x7cca('0x1bb'),'foreignKey':_0x7cca('0x1b8')});db[_0x7cca('0xa1')]['hasMany'](db[_0x7cca('0xa1')],{'as':_0x7cca('0x1bc'),'foreignKey':_0x7cca('0x1ba')});db[_0x7cca('0xa1')][_0x7cca('0x10d')](db[_0x7cca('0xa1')],{'as':_0x7cca('0x1bd'),'foreignKey':_0x7cca('0x1be')});db[_0x7cca('0xa1')][_0x7cca('0x120')](db[_0x7cca('0x1bf')],{'as':_0x7cca('0x1bf'),'foreignKey':_0x7cca('0x1c0')});db[_0x7cca('0xa3')][_0x7cca('0x10d')](db[_0x7cca('0xa5')],{'as':_0x7cca('0x1b6'),'onDelete':'cascade','foreignKey':_0x7cca('0x1b7')});db['SugarcrmConfiguration'][_0x7cca('0x10d')](db[_0x7cca('0xa7')],{'as':_0x7cca('0x1c1'),'onDelete':_0x7cca('0x111'),'foreignKey':_0x7cca('0x1b8')});db[_0x7cca('0xa5')][_0x7cca('0x10d')](db[_0x7cca('0xa7')],{'as':_0x7cca('0x1b9'),'onDelete':'cascade','foreignKey':'DescriptionId'});db[_0x7cca('0xa5')]['hasMany'](db[_0x7cca('0xa7')],{'as':_0x7cca('0x1b2'),'onDelete':'cascade','foreignKey':'FieldId'});db[_0x7cca('0xa5')][_0x7cca('0x120')](db[_0x7cca('0xa3')],{'as':'Account','foreignKey':_0x7cca('0x1b7')});db[_0x7cca('0xa7')][_0x7cca('0x10d')](db['SugarcrmField'],{'as':'Subject','foreignKey':_0x7cca('0x1b8')});db[_0x7cca('0xa7')]['hasMany'](db[_0x7cca('0xa7')],{'as':_0x7cca('0x1bc'),'foreignKey':'DescriptionId'});db[_0x7cca('0xa7')][_0x7cca('0x10d')](db[_0x7cca('0xa7')],{'as':_0x7cca('0x1bd'),'foreignKey':'FieldId'});db[_0x7cca('0xa7')][_0x7cca('0x120')](db[_0x7cca('0x1bf')],{'as':_0x7cca('0x1bf'),'foreignKey':_0x7cca('0x1c0')});db[_0x7cca('0xa9')]['hasMany'](db['DeskConfiguration'],{'as':'Configurations','onDelete':_0x7cca('0x111'),'foreignKey':_0x7cca('0x1b7')});db[_0x7cca('0xab')][_0x7cca('0x10d')](db['DeskField'],{'as':_0x7cca('0x1c1'),'onDelete':'cascade','foreignKey':_0x7cca('0x1b8')});db[_0x7cca('0xab')]['hasMany'](db[_0x7cca('0xad')],{'as':_0x7cca('0x1b9'),'onDelete':_0x7cca('0x111'),'foreignKey':'DescriptionId'});db[_0x7cca('0xab')][_0x7cca('0x10d')](db['DeskField'],{'as':_0x7cca('0x1b2'),'onDelete':_0x7cca('0x111'),'foreignKey':'FieldId'});db[_0x7cca('0xab')][_0x7cca('0x120')](db[_0x7cca('0xa9')],{'as':_0x7cca('0x170'),'foreignKey':'AccountId'});db[_0x7cca('0xab')][_0x7cca('0x122')](db[_0x7cca('0x8a')],{'through':_0x7cca('0x1c2')});db[_0x7cca('0xad')][_0x7cca('0x10d')](db[_0x7cca('0xad')],{'as':_0x7cca('0x1bb'),'foreignKey':'SubjectId'});db[_0x7cca('0xad')][_0x7cca('0x10d')](db[_0x7cca('0xad')],{'as':_0x7cca('0x1bc'),'foreignKey':_0x7cca('0x1ba')});db['DeskField']['hasMany'](db[_0x7cca('0xad')],{'as':_0x7cca('0x1bd'),'foreignKey':'FieldId'});db[_0x7cca('0xad')]['belongsTo'](db['Variable'],{'as':'Variable','foreignKey':_0x7cca('0x1c0')});db[_0x7cca('0x1c3')]['hasMany'](db[_0x7cca('0xaf')],{'as':_0x7cca('0x1b6'),'onDelete':'cascade','foreignKey':_0x7cca('0x1b7')});db[_0x7cca('0xaf')][_0x7cca('0x10d')](db[_0x7cca('0xb1')],{'as':_0x7cca('0x1c1'),'onDelete':'cascade','foreignKey':'SubjectId'});db[_0x7cca('0xaf')]['hasMany'](db[_0x7cca('0xb1')],{'as':_0x7cca('0x1b9'),'onDelete':'cascade','foreignKey':_0x7cca('0x1ba')});db[_0x7cca('0xaf')][_0x7cca('0x10d')](db[_0x7cca('0xb1')],{'as':'Fields','onDelete':'cascade','foreignKey':_0x7cca('0x1be')});db['ZohoConfiguration'][_0x7cca('0x120')](db[_0x7cca('0x1c3')],{'as':'Account','foreignKey':_0x7cca('0x1b7')});db['ZohoField']['hasMany'](db[_0x7cca('0xb1')],{'as':_0x7cca('0x1bb'),'foreignKey':_0x7cca('0x1b8')});db[_0x7cca('0xb1')][_0x7cca('0x10d')](db['ZohoField'],{'as':_0x7cca('0x1bc'),'foreignKey':'DescriptionId'});db[_0x7cca('0xb1')][_0x7cca('0x10d')](db[_0x7cca('0xb1')],{'as':_0x7cca('0x1bd'),'foreignKey':'FieldId'});db[_0x7cca('0xb1')][_0x7cca('0x120')](db['Variable'],{'as':_0x7cca('0x1bf'),'foreignKey':_0x7cca('0x1c0')});db[_0x7cca('0xb3')]['hasMany'](db[_0x7cca('0xb5')],{'as':'Configurations','onDelete':_0x7cca('0x111'),'foreignKey':'AccountId'});db[_0x7cca('0xb5')][_0x7cca('0x10d')](db[_0x7cca('0xb6')],{'as':'Subjects','foreignKey':'SubjectId'});db[_0x7cca('0xb5')][_0x7cca('0x10d')](db['ZendeskField'],{'as':_0x7cca('0x1b9'),'foreignKey':_0x7cca('0x1ba')});db[_0x7cca('0xb5')][_0x7cca('0x10d')](db[_0x7cca('0xb6')],{'as':_0x7cca('0x1b2'),'foreignKey':_0x7cca('0x1be')});db['ZendeskConfiguration'][_0x7cca('0x120')](db['ZendeskAccount'],{'as':_0x7cca('0x170'),'foreignKey':_0x7cca('0x1b7')});db[_0x7cca('0xb5')][_0x7cca('0x122')](db['Tag'],{'through':_0x7cca('0x1c4')});db[_0x7cca('0xb6')]['hasMany'](db[_0x7cca('0xb6')],{'as':_0x7cca('0x1bb'),'foreignKey':_0x7cca('0x1b8')});db[_0x7cca('0xb6')][_0x7cca('0x10d')](db[_0x7cca('0xb6')],{'as':_0x7cca('0x1bc'),'foreignKey':_0x7cca('0x1ba')});db['ZendeskField'][_0x7cca('0x10d')](db[_0x7cca('0xb6')],{'as':_0x7cca('0x1bd'),'foreignKey':_0x7cca('0x1be')});db[_0x7cca('0xb6')][_0x7cca('0x120')](db[_0x7cca('0x1bf')],{'as':'Variable','foreignKey':_0x7cca('0x1c0')});db[_0x7cca('0xb8')]['hasMany'](db[_0x7cca('0xba')],{'as':_0x7cca('0x1b6'),'onDelete':'cascade','foreignKey':_0x7cca('0x1b7')});db[_0x7cca('0xba')]['hasMany'](db[_0x7cca('0xbc')],{'as':'Subjects','onDelete':'cascade','foreignKey':_0x7cca('0x1b8')});db[_0x7cca('0xba')]['hasMany'](db[_0x7cca('0xbc')],{'as':'Descriptions','onDelete':_0x7cca('0x111'),'foreignKey':_0x7cca('0x1ba')});db['FreshdeskConfiguration'][_0x7cca('0x10d')](db[_0x7cca('0xbc')],{'as':_0x7cca('0x1b2'),'onDelete':'cascade','foreignKey':_0x7cca('0x1be')});db[_0x7cca('0xba')][_0x7cca('0x120')](db[_0x7cca('0xb8')],{'as':_0x7cca('0x170'),'foreignKey':_0x7cca('0x1b7')});db['FreshdeskConfiguration']['belongsToMany'](db['Tag'],{'through':'int_freshdesk_configuration_has_tags'});db[_0x7cca('0xbc')][_0x7cca('0x10d')](db['FreshdeskField'],{'as':_0x7cca('0x1bb'),'foreignKey':_0x7cca('0x1b8')});db[_0x7cca('0xbc')][_0x7cca('0x10d')](db[_0x7cca('0xbc')],{'as':_0x7cca('0x1bc'),'foreignKey':_0x7cca('0x1ba')});db[_0x7cca('0xbc')]['hasMany'](db['FreshdeskField'],{'as':'Field','foreignKey':'FieldId'});db[_0x7cca('0xbc')]['belongsTo'](db[_0x7cca('0x1bf')],{'as':'Variable','foreignKey':_0x7cca('0x1c0')});db[_0x7cca('0x1c5')]['hasMany'](db['VtigerConfiguration'],{'as':_0x7cca('0x1b6'),'onDelete':_0x7cca('0x111'),'foreignKey':_0x7cca('0x1b7')});db[_0x7cca('0x1c6')][_0x7cca('0x10d')](db['VtigerField'],{'as':_0x7cca('0x1c1'),'foreignKey':_0x7cca('0x1b8')});db[_0x7cca('0x1c6')][_0x7cca('0x10d')](db[_0x7cca('0xbf')],{'as':'Descriptions','foreignKey':_0x7cca('0x1ba')});db[_0x7cca('0x1c6')][_0x7cca('0x10d')](db[_0x7cca('0xbf')],{'as':_0x7cca('0x1b2'),'foreignKey':_0x7cca('0x1be')});db[_0x7cca('0x1c6')][_0x7cca('0x120')](db[_0x7cca('0x1c5')],{'as':_0x7cca('0x170'),'foreignKey':_0x7cca('0x1b7')});db[_0x7cca('0xbf')][_0x7cca('0x10d')](db[_0x7cca('0xbf')],{'as':_0x7cca('0x1bb'),'foreignKey':_0x7cca('0x1b8')});db[_0x7cca('0xbf')][_0x7cca('0x10d')](db[_0x7cca('0xbf')],{'as':_0x7cca('0x1bc'),'foreignKey':'DescriptionId'});db[_0x7cca('0xbf')]['hasMany'](db[_0x7cca('0xbf')],{'as':_0x7cca('0x1bd'),'foreignKey':_0x7cca('0x1be')});db[_0x7cca('0xbf')][_0x7cca('0x120')](db[_0x7cca('0x1bf')],{'as':_0x7cca('0x1bf'),'foreignKey':_0x7cca('0x1c0')});db['ServicenowAccount'][_0x7cca('0x10d')](db[_0x7cca('0xc3')],{'as':_0x7cca('0x1b6'),'onDelete':_0x7cca('0x111'),'foreignKey':'AccountId'});db[_0x7cca('0xc3')][_0x7cca('0x10d')](db['ServicenowField'],{'as':_0x7cca('0x1c1'),'foreignKey':_0x7cca('0x1b8')});db[_0x7cca('0xc3')][_0x7cca('0x10d')](db[_0x7cca('0xc5')],{'as':'Descriptions','foreignKey':_0x7cca('0x1ba')});db['ServicenowConfiguration']['hasMany'](db[_0x7cca('0xc5')],{'as':_0x7cca('0x1b2'),'foreignKey':_0x7cca('0x1be')});db['ServicenowConfiguration'][_0x7cca('0x120')](db[_0x7cca('0xc1')],{'as':_0x7cca('0x170'),'foreignKey':'AccountId'});db[_0x7cca('0xc5')]['hasMany'](db['ServicenowField'],{'as':'Subject','foreignKey':_0x7cca('0x1b8')});db['ServicenowField']['hasMany'](db[_0x7cca('0xc5')],{'as':'Description','foreignKey':_0x7cca('0x1ba')});db['ServicenowField']['hasMany'](db[_0x7cca('0xc5')],{'as':_0x7cca('0x1bd'),'foreignKey':_0x7cca('0x1be')});db[_0x7cca('0xc5')]['belongsTo'](db[_0x7cca('0x1bf')],{'as':_0x7cca('0x1bf'),'foreignKey':'VariableId'});db[_0x7cca('0xc7')][_0x7cca('0x10d')](db[_0x7cca('0xc9')],{'as':_0x7cca('0x1b6'),'onDelete':_0x7cca('0x111'),'foreignKey':_0x7cca('0x1b7')});db['Dynamics365Configuration']['hasMany'](db['Dynamics365Field'],{'as':'Subjects','onDelete':_0x7cca('0x111'),'foreignKey':'SubjectId'});db['Dynamics365Configuration'][_0x7cca('0x10d')](db['Dynamics365Field'],{'as':_0x7cca('0x1b9'),'onDelete':'cascade','foreignKey':_0x7cca('0x1ba')});db[_0x7cca('0xc9')][_0x7cca('0x10d')](db[_0x7cca('0xca')],{'as':_0x7cca('0x1b2'),'onDelete':'cascade','foreignKey':'FieldId'});db[_0x7cca('0xc9')][_0x7cca('0x120')](db['Dynamics365Account'],{'as':'Account','foreignKey':_0x7cca('0x1b7')});db[_0x7cca('0xca')][_0x7cca('0x10d')](db[_0x7cca('0xca')],{'as':_0x7cca('0x1bb'),'foreignKey':'SubjectId'});db[_0x7cca('0xca')][_0x7cca('0x10d')](db[_0x7cca('0xca')],{'as':_0x7cca('0x1bc'),'foreignKey':_0x7cca('0x1ba')});db[_0x7cca('0xca')][_0x7cca('0x10d')](db[_0x7cca('0xca')],{'as':_0x7cca('0x1bd'),'foreignKey':_0x7cca('0x1be')});db[_0x7cca('0xca')][_0x7cca('0x120')](db[_0x7cca('0x1bf')],{'as':_0x7cca('0x1bf'),'foreignKey':'VariableId'});db[_0x7cca('0xcb')][_0x7cca('0x10d')](db[_0x7cca('0xcd')],{'as':_0x7cca('0x1b6'),'onDelete':_0x7cca('0x111'),'foreignKey':_0x7cca('0x1b7')});db[_0x7cca('0xcd')][_0x7cca('0x10d')](db[_0x7cca('0xce')],{'as':_0x7cca('0x1c1'),'foreignKey':_0x7cca('0x1b8')});db[_0x7cca('0xcd')][_0x7cca('0x10d')](db[_0x7cca('0xce')],{'as':_0x7cca('0x1b9'),'foreignKey':'DescriptionId'});db[_0x7cca('0xcd')][_0x7cca('0x10d')](db[_0x7cca('0xce')],{'as':'Fields','foreignKey':'FieldId'});db['FreshsalesConfiguration'][_0x7cca('0x120')](db['FreshsalesAccount'],{'as':_0x7cca('0x170'),'foreignKey':_0x7cca('0x1b7')});db[_0x7cca('0xce')][_0x7cca('0x10d')](db[_0x7cca('0xce')],{'as':'Subject','foreignKey':'SubjectId'});db['FreshsalesField'][_0x7cca('0x10d')](db[_0x7cca('0xce')],{'as':_0x7cca('0x1bc'),'foreignKey':_0x7cca('0x1ba')});db[_0x7cca('0xce')][_0x7cca('0x10d')](db[_0x7cca('0xce')],{'as':_0x7cca('0x1bd'),'foreignKey':_0x7cca('0x1be')});db[_0x7cca('0xce')][_0x7cca('0x120')](db[_0x7cca('0x1bf')],{'as':_0x7cca('0x1bf'),'foreignKey':'VariableId'});db[_0x7cca('0xd2')][_0x7cca('0x120')](db[_0x7cca('0x60')],{});db[_0x7cca('0xd2')]['belongsTo'](db[_0x7cca('0x153')],{'as':'List','foreignKey':'ListId'});db[_0x7cca('0xd2')][_0x7cca('0x120')](db[_0x7cca('0x6d')],{'as':_0x7cca('0x162'),'foreignKey':_0x7cca('0x163')});db['ChatQueueReport'][_0x7cca('0x120')](db[_0x7cca('0x115')],{});db[_0x7cca('0xd2')][_0x7cca('0x120')](db['ChatMessage'],{});db['ChatQueueReport']['belongsTo'](db[_0x7cca('0x11')],{});db[_0x7cca('0xd2')][_0x7cca('0x120')](db[_0x7cca('0x67')],{});db[_0x7cca('0xd4')][_0x7cca('0x120')](db[_0x7cca('0x11')],{'onDelete':_0x7cca('0x111'),'foreignKey':'FromId'});db[_0x7cca('0xd4')]['belongsTo'](db[_0x7cca('0x11')],{'onDelete':_0x7cca('0x111'),'foreignKey':_0x7cca('0x1c7')});db[_0x7cca('0xda')]['hasMany'](db[_0x7cca('0xd8')],{'foreignKey':_0x7cca('0x1c8'),'onDelete':'cascade'});db['JscriptySessionReport'][_0x7cca('0x10d')](db[_0x7cca('0xd6')],{'foreignKey':_0x7cca('0x1c8'),'onDelete':_0x7cca('0x111')});db[_0x7cca('0xdc')][_0x7cca('0x120')](db[_0x7cca('0x4e')],{});db[_0x7cca('0xdc')]['belongsTo'](db[_0x7cca('0x153')],{'as':_0x7cca('0x16b'),'foreignKey':'ListId'});db[_0x7cca('0xdc')][_0x7cca('0x120')](db['CmContact'],{'as':_0x7cca('0x162'),'foreignKey':_0x7cca('0x163')});db[_0x7cca('0xdc')][_0x7cca('0x120')](db[_0x7cca('0x117')],{});db[_0x7cca('0xdc')][_0x7cca('0x120')](db[_0x7cca('0x52')],{});db[_0x7cca('0xdc')][_0x7cca('0x120')](db[_0x7cca('0x11')],{});db['SmsQueueReport'][_0x7cca('0x120')](db['SmsQueue'],{});db[_0x7cca('0x1c9')][_0x7cca('0x10d')](db[_0x7cca('0xda')],{'foreignKey':_0x7cca('0x1ca')});db[_0x7cca('0x1c9')][_0x7cca('0x10d')](db[_0x7cca('0xd8')],{'foreignKey':_0x7cca('0x1ca')});db[_0x7cca('0x1c9')][_0x7cca('0x10d')](db['JscriptyAnswerReport'],{'foreignKey':_0x7cca('0x1ca')});db[_0x7cca('0x141')][_0x7cca('0x122')](db[_0x7cca('0x11')],{'as':_0x7cca('0x180'),'through':_0x7cca('0x1cb')});db[_0x7cca('0x126')][_0x7cca('0x122')](db[_0x7cca('0x11')],{'as':_0x7cca('0x156'),'through':_0x7cca('0x127')});db[_0x7cca('0x126')][_0x7cca('0x122')](db[_0x7cca('0x19')],{'through':_0x7cca('0x158'),'as':_0x7cca('0x1cc')});db[_0x7cca('0x126')][_0x7cca('0x122')](db[_0x7cca('0x3c')],{'through':_0x7cca('0x16e'),'as':_0x7cca('0x12f')});db[_0x7cca('0x126')][_0x7cca('0x122')](db['ChatQueue'],{'through':_0x7cca('0x1cd'),'as':_0x7cca('0x130')});db[_0x7cca('0x126')][_0x7cca('0x122')](db[_0x7cca('0x4b')],{'through':_0x7cca('0x181'),'as':_0x7cca('0x131')});db[_0x7cca('0x126')]['belongsToMany'](db['SmsQueue'],{'through':_0x7cca('0x1ce'),'as':_0x7cca('0x133')});db[_0x7cca('0x126')][_0x7cca('0x122')](db['OpenchannelQueue'],{'through':'team_has_openchannel_queues','as':'OpenchannelQueues'});db[_0x7cca('0x126')][_0x7cca('0x122')](db[_0x7cca('0x108')],{'through':'team_has_whatsapp_queues','as':_0x7cca('0x135')});db[_0x7cca('0x19d')]['hasMany'](db[_0x7cca('0x6e')],{'as':_0x7cca('0x14b'),'foreignKey':'CampaignId'});db[_0x7cca('0x19d')][_0x7cca('0x10d')](db[_0x7cca('0x72')],{'as':_0x7cca('0x112'),'foreignKey':_0x7cca('0x1cf')});db[_0x7cca('0x19d')][_0x7cca('0x10d')](db[_0x7cca('0x74')],{'as':_0x7cca('0x14c'),'foreignKey':'CampaignId'});db[_0x7cca('0x19d')][_0x7cca('0x10d')](db[_0x7cca('0x70')],{'as':_0x7cca('0x14d'),'foreignKey':_0x7cca('0x1cf')});db[_0x7cca('0x19d')][_0x7cca('0x120')](db[_0x7cca('0x2a')],{'as':_0x7cca('0x2a'),'foreignKey':_0x7cca('0x14f')});db[_0x7cca('0x19d')][_0x7cca('0x120')](db[_0x7cca('0x2a')],{'as':'TrunkBackup','foreignKey':_0x7cca('0x151')});db['Campaign']['belongsTo'](db[_0x7cca('0x80')],{'as':'Interval','foreignKey':_0x7cca('0x152')});db[_0x7cca('0x19d')][_0x7cca('0x120')](db[_0x7cca('0x141')],{'as':_0x7cca('0x141'),'foreignKey':_0x7cca('0x1d0')});db[_0x7cca('0x19d')]['belongsToMany'](db[_0x7cca('0x153')],{'as':_0x7cca('0x154'),'through':_0x7cca('0x1d1')});db[_0x7cca('0x19d')][_0x7cca('0x122')](db['CmList'],{'as':_0x7cca('0x159'),'through':_0x7cca('0x1d2')});db['MailTransferReport'][_0x7cca('0x120')](db[_0x7cca('0x40')],{});db[_0x7cca('0xf1')][_0x7cca('0x120')](db[_0x7cca('0x128')],{});db[_0x7cca('0xf1')][_0x7cca('0x120')](db[_0x7cca('0x3a')],{'foreignKey':_0x7cca('0x1d3'),'as':_0x7cca('0x1d4')});db[_0x7cca('0xf1')][_0x7cca('0x120')](db[_0x7cca('0x11')],{'foreignKey':_0x7cca('0x1d5'),'as':_0x7cca('0x1d6')});db[_0x7cca('0xf1')][_0x7cca('0x120')](db[_0x7cca('0x11')],{'foreignKey':_0x7cca('0x1d7'),'as':'ToAgent'});db[_0x7cca('0xf1')]['belongsTo'](db['MailQueue'],{'foreignKey':'ToMailQueueId','as':_0x7cca('0x1d8')});db[_0x7cca('0xf1')]['belongsTo'](db[_0x7cca('0x3a')],{'foreignKey':_0x7cca('0x1d9'),'as':_0x7cca('0x1da')});db[_0x7cca('0xf3')][_0x7cca('0x120')](db[_0x7cca('0x190')],{});db[_0x7cca('0xf3')][_0x7cca('0x120')](db['ChatInteraction'],{});db[_0x7cca('0xf3')][_0x7cca('0x120')](db[_0x7cca('0x60')],{'foreignKey':'FromChatWebsiteId','as':_0x7cca('0x1d4')});db[_0x7cca('0xf3')][_0x7cca('0x120')](db['User'],{'foreignKey':'FromUserId','as':'FromAgent'});db['ChatTransferReport'][_0x7cca('0x120')](db['User'],{'foreignKey':'ToUserId','as':'ToAgent'});db[_0x7cca('0xf3')][_0x7cca('0x120')](db[_0x7cca('0x67')],{'foreignKey':_0x7cca('0x1db'),'as':_0x7cca('0x1d8')});db[_0x7cca('0xf3')][_0x7cca('0x120')](db[_0x7cca('0x60')],{'foreignKey':_0x7cca('0x1dc'),'as':_0x7cca('0x1da')});db[_0x7cca('0xf5')][_0x7cca('0x120')](db['FaxMessage'],{});db[_0x7cca('0xf5')][_0x7cca('0x120')](db['FaxInteraction'],{});db[_0x7cca('0xf5')][_0x7cca('0x120')](db[_0x7cca('0x138')],{'foreignKey':_0x7cca('0x1dd'),'as':_0x7cca('0x1d4')});db['FaxTransferReport']['belongsTo'](db[_0x7cca('0x11')],{'foreignKey':_0x7cca('0x1d5'),'as':_0x7cca('0x1d6')});db[_0x7cca('0xf5')][_0x7cca('0x120')](db['User'],{'foreignKey':'ToUserId','as':'ToAgent'});db[_0x7cca('0xf5')][_0x7cca('0x120')](db['FaxQueue'],{'foreignKey':_0x7cca('0x1de'),'as':_0x7cca('0x1d8')});db['FaxTransferReport'][_0x7cca('0x120')](db[_0x7cca('0x138')],{'foreignKey':'ToFaxAccountId','as':_0x7cca('0x1da')});db['OpenchannelTransferReport'][_0x7cca('0x120')](db[_0x7cca('0x5c')],{});db['OpenchannelTransferReport'][_0x7cca('0x120')](db[_0x7cca('0x5a')],{});db[_0x7cca('0xf7')][_0x7cca('0x120')](db[_0x7cca('0x56')],{'foreignKey':_0x7cca('0x1df'),'as':_0x7cca('0x1d4')});db[_0x7cca('0xf7')][_0x7cca('0x120')](db[_0x7cca('0x11')],{'foreignKey':_0x7cca('0x1d5'),'as':'FromAgent'});db[_0x7cca('0xf7')][_0x7cca('0x120')](db[_0x7cca('0x11')],{'foreignKey':'ToUserId','as':_0x7cca('0x1e0')});db[_0x7cca('0xf7')][_0x7cca('0x120')](db[_0x7cca('0x5e')],{'foreignKey':'ToOpenchannelQueueId','as':_0x7cca('0x1d8')});db[_0x7cca('0xf7')]['belongsTo'](db['OpenchannelAccount'],{'foreignKey':_0x7cca('0x1e1'),'as':_0x7cca('0x1da')});db[_0x7cca('0xf8')][_0x7cca('0x120')](db[_0x7cca('0x52')],{});db[_0x7cca('0xf8')]['belongsTo'](db[_0x7cca('0x117')],{});db[_0x7cca('0xf8')][_0x7cca('0x120')](db['SmsAccount'],{'foreignKey':_0x7cca('0x1e2'),'as':'FromAccount'});db['SmsTransferReport'][_0x7cca('0x120')](db[_0x7cca('0x11')],{'foreignKey':_0x7cca('0x1d5'),'as':_0x7cca('0x1d6')});db[_0x7cca('0xf8')]['belongsTo'](db[_0x7cca('0x11')],{'foreignKey':_0x7cca('0x1d7'),'as':'ToAgent'});db[_0x7cca('0xf8')][_0x7cca('0x120')](db[_0x7cca('0x54')],{'foreignKey':_0x7cca('0x1e3'),'as':_0x7cca('0x1d8')});db[_0x7cca('0xf8')][_0x7cca('0x120')](db[_0x7cca('0x4e')],{'foreignKey':_0x7cca('0x1e4'),'as':_0x7cca('0x1da')});db[_0x7cca('0x153')][_0x7cca('0x10d')](db['Disposition'],{'as':_0x7cca('0x168'),'foreignKey':'ListId'});db[_0x7cca('0x153')][_0x7cca('0x10d')](db[_0x7cca('0x1e5')],{'as':_0x7cca('0x1e6'),'foreignKey':_0x7cca('0x16c')});db[_0x7cca('0x153')][_0x7cca('0x10d')](db['CmContact'],{'as':_0x7cca('0x1e7'),'onDelete':_0x7cca('0x111'),'foreignKey':_0x7cca('0x16c')});db['CmList']['hasMany'](db['CmHopperFinal'],{'as':_0x7cca('0x112'),'foreignKey':_0x7cca('0x16c')});db[_0x7cca('0x153')][_0x7cca('0x10d')](db[_0x7cca('0x74')],{'as':_0x7cca('0x113'),'foreignKey':_0x7cca('0x16c')});db[_0x7cca('0x153')][_0x7cca('0x10d')](db[_0x7cca('0x76')],{'as':_0x7cca('0x76'),'foreignKey':_0x7cca('0x16c')});db[_0x7cca('0x153')][_0x7cca('0x122')](db['VoiceQueue'],{'as':'Queues','through':'voice_queues_has_cm_lists'});db[_0x7cca('0x153')][_0x7cca('0x122')](db[_0x7cca('0x11')],{'as':_0x7cca('0x156'),'through':_0x7cca('0x1e8')});db[_0x7cca('0xfb')][_0x7cca('0x10d')](db[_0x7cca('0x143')],{'as':_0x7cca('0x110'),'onDelete':'cascade'});db[_0x7cca('0xfb')][_0x7cca('0x122')](db[_0x7cca('0x11')],{'as':_0x7cca('0x156'),'through':_0x7cca('0x1e9')});db['UserProfile'][_0x7cca('0x10d')](db[_0x7cca('0x11')],{'as':'Users','foreignKey':_0x7cca('0x121')});db[_0x7cca('0xfc')][_0x7cca('0x10d')](db[_0x7cca('0xfe')],{'as':'UserProfileSections','foreignKey':_0x7cca('0x121'),'onDelete':_0x7cca('0x111')});db['UserProfileSection']['hasMany'](db[_0x7cca('0x1ea')],{'as':_0x7cca('0x1eb'),'foreignKey':_0x7cca('0x1ec'),'onDelete':_0x7cca('0x111')});db[_0x7cca('0x101')][_0x7cca('0x10d')](db[_0x7cca('0x7d')],{'as':_0x7cca('0x168'),'foreignKey':_0x7cca('0x1ed')});db[_0x7cca('0x101')][_0x7cca('0x10d')](db[_0x7cca('0x7b')],{'as':_0x7cca('0x169'),'foreignKey':'WhatsappAccountId'});db['WhatsappAccount'][_0x7cca('0x10d')](db[_0x7cca('0x104')],{'as':_0x7cca('0x15c'),'foreignKey':_0x7cca('0x1ed')});db[_0x7cca('0x101')][_0x7cca('0x10d')](db[_0x7cca('0x11c')],{'as':'Interactions'});db[_0x7cca('0x101')][_0x7cca('0x10d')](db['WhatsappApplication'],{'as':_0x7cca('0x146')});db[_0x7cca('0x101')][_0x7cca('0x120')](db[_0x7cca('0x153')],{'as':_0x7cca('0x16b'),'foreignKey':_0x7cca('0x16c')});db[_0x7cca('0x101')][_0x7cca('0x120')](db[_0x7cca('0x82')],{'as':_0x7cca('0x17b'),'foreignKey':_0x7cca('0x17c')});db[_0x7cca('0x101')][_0x7cca('0x122')](db[_0x7cca('0x11')],{'as':_0x7cca('0x156'),'through':_0x7cca('0x140')});db['WhatsappApplication']['belongsTo'](db[_0x7cca('0x11')],{'onDelete':_0x7cca('0x177')});db[_0x7cca('0x1ee')][_0x7cca('0x120')](db[_0x7cca('0x108')],{'onDelete':_0x7cca('0x177')});db[_0x7cca('0x1ee')][_0x7cca('0x120')](db[_0x7cca('0x101')],{'onDelete':'restrict'});db[_0x7cca('0x1ee')]['belongsTo'](db[_0x7cca('0x80')],{'onDelete':_0x7cca('0x177'),'foreignKey':_0x7cca('0x152')});db['WhatsappApplication'][_0x7cca('0x120')](db['Tag'],{'onDelete':'restrict','foreignKey':_0x7cca('0x184')});db[_0x7cca('0x11c')]['hasMany'](db[_0x7cca('0x104')],{'as':'Messages','onDelete':_0x7cca('0x111'),'foreignKey':_0x7cca('0x1ef')});db[_0x7cca('0x11c')][_0x7cca('0x120')](db[_0x7cca('0x101')],{'as':_0x7cca('0x170'),'foreignKey':_0x7cca('0x1ed')});db[_0x7cca('0x11c')][_0x7cca('0x120')](db[_0x7cca('0x6d')],{'as':_0x7cca('0x162'),'foreignKey':_0x7cca('0x163')});db[_0x7cca('0x11c')]['belongsTo'](db[_0x7cca('0x11')],{'as':_0x7cca('0x171'),'foreignKey':_0x7cca('0x10c')});db['WhatsappInteraction'][_0x7cca('0x122')](db[_0x7cca('0x8a')],{'through':_0x7cca('0x1f0'),'as':_0x7cca('0x173')});db[_0x7cca('0x11c')][_0x7cca('0x122')](db[_0x7cca('0x8a')],{'through':_0x7cca('0x1f0'),'as':'ThroughTags'});db[_0x7cca('0x11c')][_0x7cca('0x122')](db['User'],{'as':'Users','through':_0x7cca('0x12e'),'foreignKey':_0x7cca('0x1ef')});db['WhatsappMessage']['belongsTo'](db[_0x7cca('0x11')],{'as':_0x7cca('0x11')});db[_0x7cca('0x104')][_0x7cca('0x120')](db[_0x7cca('0x6d')],{'onDelete':_0x7cca('0x111'),'as':'Contact'});db[_0x7cca('0x104')][_0x7cca('0x120')](db[_0x7cca('0x11c')],{'onDelete':_0x7cca('0x111'),'as':_0x7cca('0x176'),'foreignKey':'WhatsappInteractionId'});db[_0x7cca('0x104')][_0x7cca('0x120')](db[_0x7cca('0x101')],{'as':_0x7cca('0x170'),'foreignKey':_0x7cca('0x1ed')});db[_0x7cca('0x106')]['belongsTo'](db['WhatsappAccount'],{});db['WhatsappQueueReport'][_0x7cca('0x120')](db['CmList'],{'as':_0x7cca('0x16b'),'foreignKey':'ListId'});db[_0x7cca('0x106')][_0x7cca('0x120')](db[_0x7cca('0x6d')],{'as':_0x7cca('0x162'),'foreignKey':_0x7cca('0x163')});db[_0x7cca('0x106')][_0x7cca('0x120')](db['WhatsappInteraction'],{});db[_0x7cca('0x106')][_0x7cca('0x120')](db[_0x7cca('0x108')],{});db[_0x7cca('0x106')]['belongsTo'](db[_0x7cca('0x104')],{});db[_0x7cca('0x106')]['belongsTo'](db[_0x7cca('0x11')],{});db[_0x7cca('0x1f1')][_0x7cca('0x120')](db[_0x7cca('0x104')],{});db[_0x7cca('0x1f1')][_0x7cca('0x120')](db['WhatsappInteraction'],{});db[_0x7cca('0x1f1')]['belongsTo'](db[_0x7cca('0x101')],{'foreignKey':_0x7cca('0x1f2'),'as':'FromAccount'});db['WhatsappTransferReport'][_0x7cca('0x120')](db[_0x7cca('0x101')],{'foreignKey':_0x7cca('0x1f3'),'as':_0x7cca('0x1da')});db[_0x7cca('0x1f1')][_0x7cca('0x120')](db[_0x7cca('0x108')],{'foreignKey':_0x7cca('0x1f4'),'as':_0x7cca('0x1d8')});db[_0x7cca('0x1f1')][_0x7cca('0x120')](db[_0x7cca('0x11')],{'foreignKey':_0x7cca('0x1d5'),'as':_0x7cca('0x1d6')});db[_0x7cca('0x1f1')]['belongsTo'](db[_0x7cca('0x11')],{'foreignKey':_0x7cca('0x1d7'),'as':_0x7cca('0x1e0')});db[_0x7cca('0x108')][_0x7cca('0x122')](db[_0x7cca('0x11')],{'as':_0x7cca('0x156'),'through':_0x7cca('0x36'),'foreignKey':'WhatsappQueueId'});db[_0x7cca('0x108')]['belongsToMany'](db['Team'],{'through':_0x7cca('0x1f5'),'as':_0x7cca('0x157')});module[_0x7cca('0x1f6')]={'db':db,'dbH':dbH}; \ No newline at end of file diff --git a/server/routes.js b/server/routes.js index 0adb19f..7062a25 100644 --- a/server/routes.js +++ b/server/routes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x42f1=['./api/cmHopper','/api/cm/hopper_black','./api/cmHopperBlack','/api/cm/hopper_final','./api/cmHopperFinal','/api/cm/hopper_history','/api/actions','./api/action','/api/automations','./api/automation','/api/canned_answers','./api/cannedAnswer','/api/dispositions','./api/disposition','/api/conditions','./api/condition','./api/interval','/api/pauses','./api/cdr','/api/voiceQueuesLog','./api/voiceQueuesLog','./api/schedule','./api/sound','/api/tags','./api/tag','/api/triggers','./api/trigger','/api/variables','./api/variable','/api/integrations','./api/integration','/api/integrations/reports','/api/analytics/custom_reports','./api/analyticCustomReport','/api/analytics/default_reports','/api/analytics/extracted_reports','./api/analyticExtractedReport','/api/analytics/metrics','./api/analyticMetric','/api/analytics/field_reports','./api/analyticFieldReport','/api/analytics/tree_reports','./api/analyticTreeReport','/api/integrations/salesforce/accounts','./api/intSalesforceAccount','/api/integrations/salesforce/configurations','/api/integrations/salesforce/fields','./api/intSalesforceField','/api/integrations/sugarcrm/accounts','./api/intSugarcrmAccount','/api/integrations/sugarcrm/configurations','./api/intSugarcrmConfiguration','/api/integrations/sugarcrm/fields','/api/integrations/desk/accounts','./api/intDeskAccount','/api/integrations/desk/configurations','./api/intDeskConfiguration','/api/integrations/desk/fields','./api/intDeskField','/api/integrations/zoho/accounts','./api/intZohoAccount','/api/integrations/zoho/configurations','./api/intZohoConfiguration','/api/integrations/zendesk/accounts','./api/intZendeskAccount','/api/integrations/zendesk/fields','/api/integrations/freshdesk/accounts','./api/intFreshdeskAccount','/api/integrations/freshdesk/configurations','./api/intFreshdeskConfiguration','/api/integrations/freshdesk/fields','./api/intFreshdeskField','/api/integrations/vtiger/accounts','./api/intVtigerAccount','/api/integrations/vtiger/configurations','/api/integrations/vtiger/fields','./api/intServicenowAccount','/api/integrations/servicenow/configurations','./api/intServicenowConfiguration','./api/intServicenowField','/api/integrations/dynamics365/accounts','./api/intDynamics365Account','/api/integrations/dynamics365/configurations','./api/intDynamics365Configuration','./api/intDynamics365Field','/api/integrations/freshsales/accounts','./api/intFreshsalesAccount','/api/integrations/freshsales/configurations','./api/intFreshsalesConfiguration','/api/integrations/freshsales/fields','./api/intFreshsalesField','/api/networks','./api/network','./api/chatQueueReport','/api/chat/internal/messages','./api/chatInternalMessage','/api/jscripty/answers/reports','./api/jscriptyAnswerReport','./api/jscriptyQuestionReport','/api/jscripty/sessions/reports','./api/smsQueueReport','./api/squareReport','/api/square/details/reports','./api/squareReportDetail','/api/jscripty/projects','./api/jscriptyProject','/api/settings','./api/setting','./api/squareOdbc','/api/square/projects','/api/square/recordings','./api/squareRecording','/api/square/messages','./api/squareMessage','/api/license','./api/license','./api/campaign','./api/migration','/api/attachments','./api/attachment','/api/plugins','./api/plugin','/api/chat/reports/transfer','./api/chatTransferReport','./api/faxTransferReport','/api/openchannel/reports/transfer','./api/openchannelTransferReport','/api/sms/reports/transfer','./api/smsTransferReport','./api/cmList','./api/voicePrefix','/api/userProfile/sections','./api/userProfileSection','/api/userProfile/resources','/api/notifications','./api/notification','/api/whatsapp/accounts','/api/whatsapp/applications','./api/whatsappApplication','./api/whatsappInteraction','/api/whatsapp/messages','./api/whatsappMessage','/api/whatsapp/reports/queue','./api/whatsappQueueReport','/api/whatsapp/reports/transfer','/api/whatsapp/queues','./api/whatsappQueue','/api/cloudProviders','./api/cloudProvider','./api/authLocal','/api/auth/google','/api/rpc','/api/version','./api/version','/api/pm2','./api/pm2','/api/webbar','./api/webbar','/apidoc','static','root','/www','/demo','join','snippet','1.0.16','/plugins','/server/files/plugins','route','/:url(api|auth|components|app|bower_components|assets)/*','get','sendFile','resolve','appPath','/index.html','path','express-winston','util','./errors','./config/environment','./config/logger','api','auth','use','format','method','headers','x-forwarded-for','connection','remoteAddress','statusCode','responseTime','user','name','role','logger','%s\x20%s\x20%s\x20%s\x20%sms\x20id=%s\x20name=%s\x20role=%s\x20device=%s','body','device','url','other','agent_name','test','/api/users','./api/user','./api/voiceChanSpy','/api/voice/contexts','./api/voiceContext','/api/voice/extensions','./api/voiceExtension','/api/voice/mohs','./api/voiceMusicOnHold','/api/voice/queues','./api/voiceQueue','/api/voice/recordings','./api/voiceRecording','/api/screen/recordings','/api/voice/mails','./api/voiceMail','/api/voice/mails/messages','./api/voiceMailMessage','/api/voice/calls/reports','./api/voiceCallReport','/api/voice/dials/reports','./api/voiceDialReport','/api/voice/agents/reports','./api/voiceAgentReport','/api/voice/queues/reports','./api/voiceQueueReport','/api/members/reports','./api/memberReport','/api/trunks','./api/trunk','/api/voice/transfers/reports','./api/voiceTransferReport','/api/mail/out_servers','/api/mail/accounts','./api/mailAccount','/api/mail/queues','./api/mailQueue','/api/mail/substatuses','./api/mailSubstatus','/api/mail/interactions','./api/mailInteraction','./api/mailMessage','/api/mail/applications','./api/mailQueueReport','/api/dashboards','/api/dashboards/items','./api/dashboardItem','/api/fax/accounts','./api/faxAccount','/api/fax/applications','/api/fax/interactions','./api/faxInteraction','/api/fax/messages','./api/faxMessage','/api/fax/queues','./api/faxQueue','/api/fax/reports/queue','./api/faxQueueReport','./api/smsApplication','/api/sms/interactions','/api/sms/messages','./api/smsMessage','/api/sms/queues','./api/smsQueue','/api/openchannel/accounts','/api/openchannel/applications','./api/openchannelApplication','./api/openchannelInteraction','./api/openchannelMessage','./api/openchannelQueue','/api/chat/websites','/api/openchannel/reports/queue','/api/chat/applications','./api/chatInteraction','./api/chatMessage','/api/chat/offline_messages','./api/chatOfflineMessage','/api/chat/queues','/api/chat/groups','./api/chatGroup','/api/chat/proactive_actions','./api/chatProactiveAction','/api/cm/companies'];(function(_0x54fbff,_0x53470e){var _0x5cf619=function(_0x28765b){while(--_0x28765b){_0x54fbff['push'](_0x54fbff['shift']());}};_0x5cf619(++_0x53470e);}(_0x42f1,0xaf));var _0x142f=function(_0x31ff78,_0xb55e8c){_0x31ff78=_0x31ff78-0x0;var _0x263c9b=_0x42f1[_0x31ff78];return _0x263c9b;};'use strict';var path=require(_0x142f('0x0'));var express=require('express');var ewinston=require(_0x142f('0x1'));var util=require(_0x142f('0x2'));var errors=require(_0x142f('0x3'));var config=require(_0x142f('0x4'));var logger=require(_0x142f('0x5'))(_0x142f('0x6'));var authLogger=require(_0x142f('0x5'))(_0x142f('0x7'));exports['default']=function(_0x487fbf){_0x487fbf[_0x142f('0x8')](ewinston['logger']({'winstonInstance':logger,'meta':![],'statusLevels':!![],'msg':function(_0x3fb7c4,_0x31254c){return util[_0x142f('0x9')]('%s\x20%s\x20%s\x20%s\x20%sms\x20id=%s\x20name=%s\x20role=%s',_0x3fb7c4[_0x142f('0xa')],_0x3fb7c4['headers']['x-forwarded-for']?_0x3fb7c4[_0x142f('0xb')][_0x142f('0xc')]:_0x3fb7c4[_0x142f('0xd')][_0x142f('0xe')]||_0x3fb7c4['ip'],_0x3fb7c4['url'],_0x31254c[_0x142f('0xf')],_0x31254c[_0x142f('0x10')],_0x3fb7c4['user']?_0x3fb7c4[_0x142f('0x11')]['id']:null,_0x3fb7c4['user']?_0x3fb7c4[_0x142f('0x11')][_0x142f('0x12')]:null,_0x3fb7c4[_0x142f('0x11')]?_0x3fb7c4['user'][_0x142f('0x13')]:null);}}));_0x487fbf[_0x142f('0x8')](ewinston[_0x142f('0x14')]({'winstonInstance':authLogger,'meta':![],'statusLevels':!![],'msg':function(_0x238647,_0x5e87f6){var _0xfc37ce=_0x142f('0x15');if(_0x238647[_0x142f('0x16')]&&_0x238647[_0x142f('0x16')][_0x142f('0x17')]&&_0x238647[_0x142f('0x16')]['agent_id']){_0xfc37ce='%s\x20%s\x20%s\x20%s\x20%sms\x20id=%s\x20name=%s\x20role=%s\x20device=%s\x20(id=%s\x20name=%s)';}return util[_0x142f('0x9')](_0xfc37ce,_0x238647[_0x142f('0xa')],_0x238647['headers'][_0x142f('0xc')]?_0x238647[_0x142f('0xb')][_0x142f('0xc')]:_0x238647[_0x142f('0xd')][_0x142f('0xe')]||_0x238647['ip'],_0x238647[_0x142f('0x18')],_0x5e87f6[_0x142f('0xf')],_0x5e87f6[_0x142f('0x10')],_0x238647[_0x142f('0x11')]?_0x238647[_0x142f('0x11')]['id']:null,_0x238647[_0x142f('0x11')]?_0x238647[_0x142f('0x11')]['name']:null,_0x238647[_0x142f('0x11')]?_0x238647['user'][_0x142f('0x13')]:null,_0x238647[_0x142f('0x16')]&&_0x238647['body'][_0x142f('0x17')]?_0x238647['body'][_0x142f('0x17')]:_0x142f('0x19'),_0x238647['body']&&_0x238647[_0x142f('0x16')]['agent_id']?_0x238647[_0x142f('0x16')]['agent_id']:'',_0x238647[_0x142f('0x16')]&&_0x238647['body'][_0x142f('0x1a')]?_0x238647[_0x142f('0x16')][_0x142f('0x1a')]:'');},'ignoreRoute':function(_0x3e23e5){var _0x1a8eff=/\/api\/users\/[0-9]+\/(login|logout)/gi;return!_0x1a8eff[_0x142f('0x1b')](_0x3e23e5['url']);}}));_0x487fbf[_0x142f('0x8')](_0x142f('0x1c'),require(_0x142f('0x1d')));_0x487fbf['use']('/api/voice/chanspy',require(_0x142f('0x1e')));_0x487fbf[_0x142f('0x8')](_0x142f('0x1f'),require(_0x142f('0x20')));_0x487fbf['use'](_0x142f('0x21'),require(_0x142f('0x22')));_0x487fbf['use'](_0x142f('0x23'),require(_0x142f('0x24')));_0x487fbf['use'](_0x142f('0x25'),require(_0x142f('0x26')));_0x487fbf[_0x142f('0x8')](_0x142f('0x27'),require(_0x142f('0x28')));_0x487fbf[_0x142f('0x8')](_0x142f('0x29'),require('./api/screenRecording'));_0x487fbf[_0x142f('0x8')](_0x142f('0x2a'),require(_0x142f('0x2b')));_0x487fbf['use'](_0x142f('0x2c'),require(_0x142f('0x2d')));_0x487fbf[_0x142f('0x8')](_0x142f('0x2e'),require(_0x142f('0x2f')));_0x487fbf[_0x142f('0x8')](_0x142f('0x30'),require(_0x142f('0x31')));_0x487fbf[_0x142f('0x8')](_0x142f('0x32'),require(_0x142f('0x33')));_0x487fbf[_0x142f('0x8')](_0x142f('0x34'),require(_0x142f('0x35')));_0x487fbf['use'](_0x142f('0x36'),require(_0x142f('0x37')));_0x487fbf['use'](_0x142f('0x38'),require(_0x142f('0x39')));_0x487fbf[_0x142f('0x8')](_0x142f('0x3a'),require(_0x142f('0x3b')));_0x487fbf[_0x142f('0x8')](_0x142f('0x3c'),require('./api/mailServerOut'));_0x487fbf[_0x142f('0x8')](_0x142f('0x3d'),require(_0x142f('0x3e')));_0x487fbf[_0x142f('0x8')](_0x142f('0x3f'),require(_0x142f('0x40')));_0x487fbf[_0x142f('0x8')](_0x142f('0x41'),require(_0x142f('0x42')));_0x487fbf[_0x142f('0x8')](_0x142f('0x43'),require(_0x142f('0x44')));_0x487fbf['use']('/api/mail/messages',require(_0x142f('0x45')));_0x487fbf[_0x142f('0x8')](_0x142f('0x46'),require('./api/mailApplication'));_0x487fbf[_0x142f('0x8')]('/api/mail/reports/queue',require(_0x142f('0x47')));_0x487fbf[_0x142f('0x8')](_0x142f('0x48'),require('./api/dashboard'));_0x487fbf[_0x142f('0x8')](_0x142f('0x49'),require(_0x142f('0x4a')));_0x487fbf[_0x142f('0x8')](_0x142f('0x4b'),require(_0x142f('0x4c')));_0x487fbf['use'](_0x142f('0x4d'),require('./api/faxApplication'));_0x487fbf['use'](_0x142f('0x4e'),require(_0x142f('0x4f')));_0x487fbf[_0x142f('0x8')](_0x142f('0x50'),require(_0x142f('0x51')));_0x487fbf[_0x142f('0x8')](_0x142f('0x52'),require(_0x142f('0x53')));_0x487fbf[_0x142f('0x8')](_0x142f('0x54'),require(_0x142f('0x55')));_0x487fbf[_0x142f('0x8')]('/api/sms/accounts',require('./api/smsAccount'));_0x487fbf['use']('/api/sms/applications',require(_0x142f('0x56')));_0x487fbf[_0x142f('0x8')](_0x142f('0x57'),require('./api/smsInteraction'));_0x487fbf[_0x142f('0x8')](_0x142f('0x58'),require(_0x142f('0x59')));_0x487fbf[_0x142f('0x8')](_0x142f('0x5a'),require(_0x142f('0x5b')));_0x487fbf['use'](_0x142f('0x5c'),require('./api/openchannelAccount'));_0x487fbf[_0x142f('0x8')](_0x142f('0x5d'),require(_0x142f('0x5e')));_0x487fbf[_0x142f('0x8')]('/api/openchannel/interactions',require(_0x142f('0x5f')));_0x487fbf[_0x142f('0x8')]('/api/openchannel/messages',require(_0x142f('0x60')));_0x487fbf[_0x142f('0x8')]('/api/openchannel/queues',require(_0x142f('0x61')));_0x487fbf[_0x142f('0x8')](_0x142f('0x62'),require('./api/chatWebsite'));_0x487fbf[_0x142f('0x8')](_0x142f('0x63'),require('./api/openchannelQueueReport'));_0x487fbf[_0x142f('0x8')](_0x142f('0x64'),require('./api/chatApplication'));_0x487fbf[_0x142f('0x8')]('/api/chat/interactions',require(_0x142f('0x65')));_0x487fbf[_0x142f('0x8')]('/api/chat/messages',require(_0x142f('0x66')));_0x487fbf[_0x142f('0x8')](_0x142f('0x67'),require(_0x142f('0x68')));_0x487fbf['use'](_0x142f('0x69'),require('./api/chatQueue'));_0x487fbf[_0x142f('0x8')](_0x142f('0x6a'),require(_0x142f('0x6b')));_0x487fbf['use'](_0x142f('0x6c'),require(_0x142f('0x6d')));_0x487fbf[_0x142f('0x8')](_0x142f('0x6e'),require('./api/cmCompany'));_0x487fbf[_0x142f('0x8')]('/api/cm/contacts',require('./api/cmContact'));_0x487fbf[_0x142f('0x8')]('/api/cm/hopper',require(_0x142f('0x6f')));_0x487fbf[_0x142f('0x8')](_0x142f('0x70'),require(_0x142f('0x71')));_0x487fbf[_0x142f('0x8')](_0x142f('0x72'),require(_0x142f('0x73')));_0x487fbf[_0x142f('0x8')](_0x142f('0x74'),require('./api/cmHopperHistory'));_0x487fbf['use']('/api/cm/custom_fields',require('./api/cmCustomField'));_0x487fbf[_0x142f('0x8')](_0x142f('0x75'),require(_0x142f('0x76')));_0x487fbf[_0x142f('0x8')](_0x142f('0x77'),require(_0x142f('0x78')));_0x487fbf[_0x142f('0x8')](_0x142f('0x79'),require(_0x142f('0x7a')));_0x487fbf[_0x142f('0x8')](_0x142f('0x7b'),require(_0x142f('0x7c')));_0x487fbf['use'](_0x142f('0x7d'),require(_0x142f('0x7e')));_0x487fbf[_0x142f('0x8')]('/api/intervals',require(_0x142f('0x7f')));_0x487fbf[_0x142f('0x8')](_0x142f('0x80'),require('./api/pause'));_0x487fbf[_0x142f('0x8')]('/api/cdr',require(_0x142f('0x81')));_0x487fbf['use'](_0x142f('0x82'),require(_0x142f('0x83')));_0x487fbf[_0x142f('0x8')]('/api/schedules',require(_0x142f('0x84')));_0x487fbf['use']('/api/sounds',require(_0x142f('0x85')));_0x487fbf[_0x142f('0x8')](_0x142f('0x86'),require(_0x142f('0x87')));_0x487fbf[_0x142f('0x8')]('/api/templates',require('./api/template'));_0x487fbf[_0x142f('0x8')](_0x142f('0x88'),require(_0x142f('0x89')));_0x487fbf[_0x142f('0x8')](_0x142f('0x8a'),require(_0x142f('0x8b')));_0x487fbf[_0x142f('0x8')](_0x142f('0x8c'),require(_0x142f('0x8d')));_0x487fbf['use'](_0x142f('0x8e'),require('./api/integrationReport'));_0x487fbf[_0x142f('0x8')](_0x142f('0x8f'),require(_0x142f('0x90')));_0x487fbf[_0x142f('0x8')](_0x142f('0x91'),require('./api/analyticDefaultReport'));_0x487fbf[_0x142f('0x8')](_0x142f('0x92'),require(_0x142f('0x93')));_0x487fbf[_0x142f('0x8')](_0x142f('0x94'),require(_0x142f('0x95')));_0x487fbf['use'](_0x142f('0x96'),require(_0x142f('0x97')));_0x487fbf['use'](_0x142f('0x98'),require(_0x142f('0x99')));_0x487fbf['use'](_0x142f('0x9a'),require(_0x142f('0x9b')));_0x487fbf['use'](_0x142f('0x9c'),require('./api/intSalesforceConfiguration'));_0x487fbf[_0x142f('0x8')](_0x142f('0x9d'),require(_0x142f('0x9e')));_0x487fbf[_0x142f('0x8')](_0x142f('0x9f'),require(_0x142f('0xa0')));_0x487fbf[_0x142f('0x8')](_0x142f('0xa1'),require(_0x142f('0xa2')));_0x487fbf[_0x142f('0x8')](_0x142f('0xa3'),require('./api/intSugarcrmField'));_0x487fbf['use'](_0x142f('0xa4'),require(_0x142f('0xa5')));_0x487fbf[_0x142f('0x8')](_0x142f('0xa6'),require(_0x142f('0xa7')));_0x487fbf['use'](_0x142f('0xa8'),require(_0x142f('0xa9')));_0x487fbf[_0x142f('0x8')](_0x142f('0xaa'),require(_0x142f('0xab')));_0x487fbf[_0x142f('0x8')](_0x142f('0xac'),require(_0x142f('0xad')));_0x487fbf['use']('/api/integrations/zoho/fields',require('./api/intZohoField'));_0x487fbf['use'](_0x142f('0xae'),require(_0x142f('0xaf')));_0x487fbf[_0x142f('0x8')]('/api/integrations/zendesk/configurations',require('./api/intZendeskConfiguration'));_0x487fbf['use'](_0x142f('0xb0'),require('./api/intZendeskField'));_0x487fbf['use'](_0x142f('0xb1'),require(_0x142f('0xb2')));_0x487fbf['use'](_0x142f('0xb3'),require(_0x142f('0xb4')));_0x487fbf[_0x142f('0x8')](_0x142f('0xb5'),require(_0x142f('0xb6')));_0x487fbf[_0x142f('0x8')](_0x142f('0xb7'),require(_0x142f('0xb8')));_0x487fbf[_0x142f('0x8')](_0x142f('0xb9'),require('./api/intVtigerConfiguration'));_0x487fbf['use'](_0x142f('0xba'),require('./api/intVtigerField'));_0x487fbf[_0x142f('0x8')]('/api/integrations/servicenow/accounts',require(_0x142f('0xbb')));_0x487fbf['use'](_0x142f('0xbc'),require(_0x142f('0xbd')));_0x487fbf[_0x142f('0x8')]('/api/integrations/servicenow/fields',require(_0x142f('0xbe')));_0x487fbf[_0x142f('0x8')](_0x142f('0xbf'),require(_0x142f('0xc0')));_0x487fbf[_0x142f('0x8')](_0x142f('0xc1'),require(_0x142f('0xc2')));_0x487fbf[_0x142f('0x8')]('/api/integrations/dynamics365/fields',require(_0x142f('0xc3')));_0x487fbf[_0x142f('0x8')](_0x142f('0xc4'),require(_0x142f('0xc5')));_0x487fbf[_0x142f('0x8')](_0x142f('0xc6'),require(_0x142f('0xc7')));_0x487fbf[_0x142f('0x8')](_0x142f('0xc8'),require(_0x142f('0xc9')));_0x487fbf[_0x142f('0x8')](_0x142f('0xca'),require(_0x142f('0xcb')));_0x487fbf[_0x142f('0x8')]('/api/chat/reports/queue',require(_0x142f('0xcc')));_0x487fbf[_0x142f('0x8')](_0x142f('0xcd'),require(_0x142f('0xce')));_0x487fbf['use'](_0x142f('0xcf'),require(_0x142f('0xd0')));_0x487fbf[_0x142f('0x8')]('/api/jscripty/questions/reports',require(_0x142f('0xd1')));_0x487fbf[_0x142f('0x8')](_0x142f('0xd2'),require('./api/jscriptySessionReport'));_0x487fbf[_0x142f('0x8')]('/api/sms/reports/queue',require(_0x142f('0xd3')));_0x487fbf[_0x142f('0x8')]('/api/square/reports',require(_0x142f('0xd4')));_0x487fbf[_0x142f('0x8')](_0x142f('0xd5'),require(_0x142f('0xd6')));_0x487fbf[_0x142f('0x8')](_0x142f('0xd7'),require(_0x142f('0xd8')));_0x487fbf[_0x142f('0x8')](_0x142f('0xd9'),require(_0x142f('0xda')));_0x487fbf[_0x142f('0x8')]('/api/square/odbc',require(_0x142f('0xdb')));_0x487fbf['use'](_0x142f('0xdc'),require('./api/squareProject'));_0x487fbf[_0x142f('0x8')](_0x142f('0xdd'),require(_0x142f('0xde')));_0x487fbf[_0x142f('0x8')](_0x142f('0xdf'),require(_0x142f('0xe0')));_0x487fbf[_0x142f('0x8')]('/api/teams',require('./api/team'));_0x487fbf[_0x142f('0x8')](_0x142f('0xe1'),require(_0x142f('0xe2')));_0x487fbf[_0x142f('0x8')]('/api/campaigns',require(_0x142f('0xe3')));_0x487fbf[_0x142f('0x8')]('/api/migrations',require(_0x142f('0xe4')));_0x487fbf[_0x142f('0x8')](_0x142f('0xe5'),require(_0x142f('0xe6')));_0x487fbf[_0x142f('0x8')](_0x142f('0xe7'),require(_0x142f('0xe8')));_0x487fbf[_0x142f('0x8')]('/api/mail/reports/transfer',require('./api/mailTransferReport'));_0x487fbf[_0x142f('0x8')](_0x142f('0xe9'),require(_0x142f('0xea')));_0x487fbf['use']('/api/fax/reports/transfer',require(_0x142f('0xeb')));_0x487fbf[_0x142f('0x8')](_0x142f('0xec'),require(_0x142f('0xed')));_0x487fbf[_0x142f('0x8')](_0x142f('0xee'),require(_0x142f('0xef')));_0x487fbf['use']('/api/cm/lists',require(_0x142f('0xf0')));_0x487fbf[_0x142f('0x8')]('/api/voice/prefixes',require(_0x142f('0xf1')));_0x487fbf['use']('/api/userProfiles',require('./api/userProfile'));_0x487fbf['use'](_0x142f('0xf2'),require(_0x142f('0xf3')));_0x487fbf[_0x142f('0x8')](_0x142f('0xf4'),require('./api/userProfileResource'));_0x487fbf['use'](_0x142f('0xf5'),require(_0x142f('0xf6')));_0x487fbf[_0x142f('0x8')](_0x142f('0xf7'),require('./api/whatsappAccount'));_0x487fbf[_0x142f('0x8')](_0x142f('0xf8'),require(_0x142f('0xf9')));_0x487fbf[_0x142f('0x8')]('/api/whatsapp/interactions',require(_0x142f('0xfa')));_0x487fbf[_0x142f('0x8')](_0x142f('0xfb'),require(_0x142f('0xfc')));_0x487fbf['use'](_0x142f('0xfd'),require(_0x142f('0xfe')));_0x487fbf['use'](_0x142f('0xff'),require('./api/whatsappTransferReport'));_0x487fbf['use'](_0x142f('0x100'),require(_0x142f('0x101')));_0x487fbf[_0x142f('0x8')](_0x142f('0x102'),require(_0x142f('0x103')));_0x487fbf[_0x142f('0x8')]('/api/auth/local',require(_0x142f('0x104')));_0x487fbf['use'](_0x142f('0x105'),require('./api/authGoogle'));_0x487fbf['use']('/api/jira',require('./api/jira'));_0x487fbf[_0x142f('0x8')](_0x142f('0x106'),require('./api/rpc'));_0x487fbf['use'](_0x142f('0x107'),require(_0x142f('0x108')));_0x487fbf[_0x142f('0x8')]('/api/system',require('./api/system'));_0x487fbf[_0x142f('0x8')](_0x142f('0x109'),require(_0x142f('0x10a')));_0x487fbf[_0x142f('0x8')](_0x142f('0x10b'),require(_0x142f('0x10c')));_0x487fbf[_0x142f('0x8')](_0x142f('0x10d'),express[_0x142f('0x10e')](path['join'](config[_0x142f('0x10f')],_0x142f('0x10d'))));_0x487fbf[_0x142f('0x8')](_0x142f('0x110'),express['static'](path['join'](config['root'],_0x142f('0x110'))));_0x487fbf[_0x142f('0x8')](_0x142f('0x111'),express[_0x142f('0x10e')](path['join'](config[_0x142f('0x10f')],_0x142f('0x111'))));_0x487fbf['use']('/snippet',express[_0x142f('0x10e')](path[_0x142f('0x112')](config[_0x142f('0x10f')],_0x142f('0x113'),_0x142f('0x114'))));_0x487fbf[_0x142f('0x8')](_0x142f('0x115'),express['static'](path[_0x142f('0x112')](config[_0x142f('0x10f')],_0x142f('0x116'))));_0x487fbf[_0x142f('0x117')](_0x142f('0x118'))[_0x142f('0x119')](errors[0x194]);_0x487fbf[_0x142f('0x117')]('/*')[_0x142f('0x119')](function(_0x4f914c,_0x316407){_0x316407[_0x142f('0x11a')](path[_0x142f('0x11b')](_0x487fbf[_0x142f('0x119')](_0x142f('0x11c'))+_0x142f('0x11d')));});}; \ No newline at end of file +var _0x3a89=['/api/openchannel/reports/queue','./api/openchannelQueueReport','/api/chat/applications','./api/chatApplication','./api/chatInteraction','/api/chat/messages','./api/chatMessage','/api/chat/offline_messages','./api/chatOfflineMessage','/api/chat/queues','/api/chat/groups','/api/chat/proactive_actions','/api/cm/companies','./api/cmCompany','./api/cmContact','/api/cm/hopper','./api/cmHopper','/api/cm/hopper_black','./api/cmHopperBlack','/api/cm/hopper_final','./api/cmHopperHistory','./api/cmCustomField','/api/actions','./api/action','/api/automations','./api/automation','/api/canned_answers','./api/cannedAnswer','/api/dispositions','./api/disposition','/api/conditions','/api/intervals','./api/interval','/api/pauses','/api/voiceQueuesLog','/api/schedules','./api/schedule','/api/sounds','./api/sound','/api/tags','./api/tag','/api/templates','./api/template','./api/trigger','/api/variables','./api/variable','/api/integrations','./api/integration','./api/integrationReport','./api/analyticCustomReport','/api/analytics/default_reports','./api/analyticDefaultReport','/api/analytics/extracted_reports','./api/analyticExtractedReport','/api/analytics/metrics','/api/analytics/field_reports','./api/analyticFieldReport','/api/analytics/tree_reports','./api/analyticTreeReport','/api/integrations/salesforce/accounts','./api/intSalesforceAccount','/api/integrations/salesforce/configurations','./api/intSalesforceConfiguration','./api/intSalesforceField','/api/integrations/sugarcrm/accounts','./api/intSugarcrmAccount','./api/intSugarcrmConfiguration','/api/integrations/sugarcrm/fields','./api/intSugarcrmField','/api/integrations/desk/accounts','./api/intDeskAccount','./api/intDeskConfiguration','./api/intDeskField','/api/integrations/zoho/accounts','./api/intZohoAccount','/api/integrations/zoho/configurations','./api/intZohoConfiguration','/api/integrations/zoho/fields','/api/integrations/zendesk/accounts','./api/intZendeskAccount','/api/integrations/zendesk/fields','./api/intZendeskField','/api/integrations/freshdesk/accounts','./api/intFreshdeskAccount','./api/intFreshdeskConfiguration','/api/integrations/freshdesk/fields','./api/intVtigerAccount','/api/integrations/vtiger/configurations','./api/intVtigerConfiguration','/api/integrations/vtiger/fields','/api/integrations/servicenow/accounts','./api/intServicenowAccount','/api/integrations/servicenow/configurations','./api/intServicenowConfiguration','/api/integrations/servicenow/fields','./api/intServicenowField','/api/integrations/dynamics365/accounts','./api/intDynamics365Account','/api/integrations/dynamics365/configurations','./api/intDynamics365Configuration','/api/integrations/dynamics365/fields','./api/intDynamics365Field','./api/intFreshsalesAccount','/api/integrations/freshsales/configurations','/api/integrations/freshsales/fields','./api/intFreshsalesField','/api/networks','./api/chatQueueReport','/api/chat/internal/messages','/api/jscripty/answers/reports','./api/jscriptyAnswerReport','./api/jscriptyQuestionReport','/api/sms/reports/queue','./api/smsQueueReport','/api/square/reports','./api/squareReport','/api/square/details/reports','/api/jscripty/projects','./api/jscriptyProject','./api/setting','./api/squareOdbc','/api/square/recordings','./api/squareRecording','/api/square/messages','./api/squareMessage','/api/teams','./api/team','./api/license','./api/campaign','/api/migrations','/api/attachments','./api/attachment','/api/plugins','./api/plugin','/api/mail/reports/transfer','./api/mailTransferReport','/api/chat/reports/transfer','./api/chatTransferReport','/api/fax/reports/transfer','/api/openchannel/reports/transfer','./api/openchannelTransferReport','/api/sms/reports/transfer','./api/smsTransferReport','/api/cm/lists','./api/cmList','/api/voice/prefixes','./api/voicePrefix','/api/userProfiles','./api/userProfile','/api/userProfile/sections','./api/userProfileSection','./api/userProfileResource','./api/notification','/api/whatsapp/accounts','/api/whatsapp/applications','./api/whatsappApplication','/api/whatsapp/interactions','./api/whatsappInteraction','./api/whatsappMessage','/api/whatsapp/reports/queue','./api/whatsappQueueReport','/api/whatsapp/reports/transfer','./api/whatsappTransferReport','/api/whatsapp/queues','/api/cloudProviders','./api/cloudProvider','/api/auth/local','./api/authLocal','./api/authGoogle','/api/jira','./api/jira','/api/rpc','./api/rpc','/api/version','./api/version','/api/system','./api/system','/api/pm2','./api/pm2','/api/webbar','./api/webbar','/apidoc','join','/www','root','/demo','/snippet','static','snippet','/plugins','/server/files/plugins','route','/:url(api|auth|components|app|bower_components|assets)/*','get','sendFile','resolve','/index.html','path','express','util','./errors','./config/environment','./config/logger','default','use','logger','format','%s\x20%s\x20%s\x20%s\x20%sms\x20id=%s\x20name=%s\x20role=%s','method','x-forwarded-for','headers','connection','statusCode','responseTime','user','name','role','body','device','agent_id','%s\x20%s\x20%s\x20%s\x20%sms\x20id=%s\x20name=%s\x20role=%s\x20device=%s\x20(id=%s\x20name=%s)','url','other','agent_name','test','/api/users','./api/user','/api/voice/chanspy','./api/voiceChanSpy','/api/voice/contexts','./api/voiceContext','/api/voice/extensions','./api/voiceExtension','/api/voice/mohs','./api/voiceMusicOnHold','/api/voice/queues','./api/voiceQueue','/api/screen/recordings','./api/screenRecording','/api/voice/mails','/api/voice/mails/messages','./api/voiceMailMessage','/api/voice/calls/reports','./api/voiceCallReport','/api/voice/dials/reports','./api/voiceDialReport','/api/voice/agents/reports','./api/voiceAgentReport','./api/voiceQueueReport','/api/members/reports','/api/trunks','./api/trunk','/api/voice/transfers/reports','./api/voiceTransferReport','/api/mail/accounts','./api/mailAccount','/api/mail/queues','./api/mailQueue','/api/mail/substatuses','./api/mailSubstatus','/api/mail/interactions','./api/mailInteraction','/api/mail/messages','/api/mail/applications','./api/mailQueueReport','/api/dashboards','./api/dashboard','/api/dashboards/items','./api/dashboardItem','/api/fax/accounts','/api/fax/applications','/api/fax/interactions','./api/faxInteraction','/api/fax/messages','./api/faxMessage','/api/fax/queues','/api/fax/reports/queue','/api/sms/accounts','/api/sms/applications','./api/smsApplication','./api/smsInteraction','/api/sms/messages','./api/smsMessage','./api/smsQueue','/api/openchannel/accounts','./api/openchannelAccount','/api/openchannel/applications','./api/openchannelApplication','./api/openchannelInteraction','/api/openchannel/messages','/api/openchannel/queues','./api/openchannelQueue','/api/chat/websites','./api/chatWebsite'];(function(_0x3fba9f,_0x3b7b9b){var _0x192cf1=function(_0x557290){while(--_0x557290){_0x3fba9f['push'](_0x3fba9f['shift']());}};_0x192cf1(++_0x3b7b9b);}(_0x3a89,0xc5));var _0x93a8=function(_0x382c3b,_0x520235){_0x382c3b=_0x382c3b-0x0;var _0x25b05a=_0x3a89[_0x382c3b];return _0x25b05a;};'use strict';const path=require(_0x93a8('0x0'));const express=require(_0x93a8('0x1'));const ewinston=require('express-winston');const util=require(_0x93a8('0x2'));const errors=require(_0x93a8('0x3'));const config=require(_0x93a8('0x4'));const logger=require(_0x93a8('0x5'))('api');const authLogger=require('./config/logger')('auth');exports[_0x93a8('0x6')]=function(_0xffacdb){_0xffacdb[_0x93a8('0x7')](ewinston[_0x93a8('0x8')]({'winstonInstance':logger,'meta':![],'statusLevels':!![],'msg':function(_0x1f6c88,_0x4e2fda){return util[_0x93a8('0x9')](_0x93a8('0xa'),_0x1f6c88[_0x93a8('0xb')],_0x1f6c88['headers'][_0x93a8('0xc')]?_0x1f6c88[_0x93a8('0xd')]['x-forwarded-for']:_0x1f6c88[_0x93a8('0xe')]['remoteAddress']||_0x1f6c88['ip'],_0x1f6c88['url'],_0x4e2fda[_0x93a8('0xf')],_0x4e2fda[_0x93a8('0x10')],_0x1f6c88[_0x93a8('0x11')]?_0x1f6c88[_0x93a8('0x11')]['id']:null,_0x1f6c88[_0x93a8('0x11')]?_0x1f6c88['user'][_0x93a8('0x12')]:null,_0x1f6c88[_0x93a8('0x11')]?_0x1f6c88[_0x93a8('0x11')][_0x93a8('0x13')]:null);}}));_0xffacdb[_0x93a8('0x7')](ewinston[_0x93a8('0x8')]({'winstonInstance':authLogger,'meta':![],'statusLevels':!![],'msg':function(_0x52fe53,_0x129342){let _0x15f1f5='%s\x20%s\x20%s\x20%s\x20%sms\x20id=%s\x20name=%s\x20role=%s\x20device=%s';if(_0x52fe53[_0x93a8('0x14')]&&_0x52fe53[_0x93a8('0x14')][_0x93a8('0x15')]&&_0x52fe53['body'][_0x93a8('0x16')]){_0x15f1f5=_0x93a8('0x17');}return util['format'](_0x15f1f5,_0x52fe53[_0x93a8('0xb')],_0x52fe53['headers']['x-forwarded-for']?_0x52fe53[_0x93a8('0xd')][_0x93a8('0xc')]:_0x52fe53[_0x93a8('0xe')]['remoteAddress']||_0x52fe53['ip'],_0x52fe53[_0x93a8('0x18')],_0x129342[_0x93a8('0xf')],_0x129342[_0x93a8('0x10')],_0x52fe53['user']?_0x52fe53[_0x93a8('0x11')]['id']:null,_0x52fe53[_0x93a8('0x11')]?_0x52fe53['user'][_0x93a8('0x12')]:null,_0x52fe53['user']?_0x52fe53['user'][_0x93a8('0x13')]:null,_0x52fe53[_0x93a8('0x14')]&&_0x52fe53['body'][_0x93a8('0x15')]?_0x52fe53[_0x93a8('0x14')][_0x93a8('0x15')]:_0x93a8('0x19'),_0x52fe53['body']&&_0x52fe53['body']['agent_id']?_0x52fe53[_0x93a8('0x14')][_0x93a8('0x16')]:'',_0x52fe53[_0x93a8('0x14')]&&_0x52fe53[_0x93a8('0x14')][_0x93a8('0x1a')]?_0x52fe53[_0x93a8('0x14')]['agent_name']:'');},'ignoreRoute':function(_0x4104b3){const _0x4b4b99=/\/api\/users\/[0-9]+\/(login|logout)/gi;return!_0x4b4b99[_0x93a8('0x1b')](_0x4104b3[_0x93a8('0x18')]);}}));_0xffacdb[_0x93a8('0x7')](_0x93a8('0x1c'),require(_0x93a8('0x1d')));_0xffacdb[_0x93a8('0x7')](_0x93a8('0x1e'),require(_0x93a8('0x1f')));_0xffacdb[_0x93a8('0x7')](_0x93a8('0x20'),require(_0x93a8('0x21')));_0xffacdb[_0x93a8('0x7')](_0x93a8('0x22'),require(_0x93a8('0x23')));_0xffacdb[_0x93a8('0x7')](_0x93a8('0x24'),require(_0x93a8('0x25')));_0xffacdb[_0x93a8('0x7')](_0x93a8('0x26'),require(_0x93a8('0x27')));_0xffacdb[_0x93a8('0x7')]('/api/voice/recordings',require('./api/voiceRecording'));_0xffacdb[_0x93a8('0x7')](_0x93a8('0x28'),require(_0x93a8('0x29')));_0xffacdb[_0x93a8('0x7')](_0x93a8('0x2a'),require('./api/voiceMail'));_0xffacdb['use'](_0x93a8('0x2b'),require(_0x93a8('0x2c')));_0xffacdb[_0x93a8('0x7')](_0x93a8('0x2d'),require(_0x93a8('0x2e')));_0xffacdb[_0x93a8('0x7')](_0x93a8('0x2f'),require(_0x93a8('0x30')));_0xffacdb[_0x93a8('0x7')](_0x93a8('0x31'),require(_0x93a8('0x32')));_0xffacdb[_0x93a8('0x7')]('/api/voice/queues/reports',require(_0x93a8('0x33')));_0xffacdb[_0x93a8('0x7')](_0x93a8('0x34'),require('./api/memberReport'));_0xffacdb[_0x93a8('0x7')](_0x93a8('0x35'),require(_0x93a8('0x36')));_0xffacdb[_0x93a8('0x7')](_0x93a8('0x37'),require(_0x93a8('0x38')));_0xffacdb[_0x93a8('0x7')]('/api/mail/out_servers',require('./api/mailServerOut'));_0xffacdb[_0x93a8('0x7')](_0x93a8('0x39'),require(_0x93a8('0x3a')));_0xffacdb[_0x93a8('0x7')](_0x93a8('0x3b'),require(_0x93a8('0x3c')));_0xffacdb[_0x93a8('0x7')](_0x93a8('0x3d'),require(_0x93a8('0x3e')));_0xffacdb[_0x93a8('0x7')](_0x93a8('0x3f'),require(_0x93a8('0x40')));_0xffacdb[_0x93a8('0x7')](_0x93a8('0x41'),require('./api/mailMessage'));_0xffacdb[_0x93a8('0x7')](_0x93a8('0x42'),require('./api/mailApplication'));_0xffacdb[_0x93a8('0x7')]('/api/mail/reports/queue',require(_0x93a8('0x43')));_0xffacdb[_0x93a8('0x7')](_0x93a8('0x44'),require(_0x93a8('0x45')));_0xffacdb['use'](_0x93a8('0x46'),require(_0x93a8('0x47')));_0xffacdb[_0x93a8('0x7')](_0x93a8('0x48'),require('./api/faxAccount'));_0xffacdb['use'](_0x93a8('0x49'),require('./api/faxApplication'));_0xffacdb[_0x93a8('0x7')](_0x93a8('0x4a'),require(_0x93a8('0x4b')));_0xffacdb['use'](_0x93a8('0x4c'),require(_0x93a8('0x4d')));_0xffacdb[_0x93a8('0x7')](_0x93a8('0x4e'),require('./api/faxQueue'));_0xffacdb['use'](_0x93a8('0x4f'),require('./api/faxQueueReport'));_0xffacdb[_0x93a8('0x7')](_0x93a8('0x50'),require('./api/smsAccount'));_0xffacdb['use'](_0x93a8('0x51'),require(_0x93a8('0x52')));_0xffacdb[_0x93a8('0x7')]('/api/sms/interactions',require(_0x93a8('0x53')));_0xffacdb[_0x93a8('0x7')](_0x93a8('0x54'),require(_0x93a8('0x55')));_0xffacdb[_0x93a8('0x7')]('/api/sms/queues',require(_0x93a8('0x56')));_0xffacdb[_0x93a8('0x7')](_0x93a8('0x57'),require(_0x93a8('0x58')));_0xffacdb[_0x93a8('0x7')](_0x93a8('0x59'),require(_0x93a8('0x5a')));_0xffacdb[_0x93a8('0x7')]('/api/openchannel/interactions',require(_0x93a8('0x5b')));_0xffacdb[_0x93a8('0x7')](_0x93a8('0x5c'),require('./api/openchannelMessage'));_0xffacdb[_0x93a8('0x7')](_0x93a8('0x5d'),require(_0x93a8('0x5e')));_0xffacdb[_0x93a8('0x7')](_0x93a8('0x5f'),require(_0x93a8('0x60')));_0xffacdb['use'](_0x93a8('0x61'),require(_0x93a8('0x62')));_0xffacdb[_0x93a8('0x7')](_0x93a8('0x63'),require(_0x93a8('0x64')));_0xffacdb[_0x93a8('0x7')]('/api/chat/interactions',require(_0x93a8('0x65')));_0xffacdb[_0x93a8('0x7')](_0x93a8('0x66'),require(_0x93a8('0x67')));_0xffacdb['use'](_0x93a8('0x68'),require(_0x93a8('0x69')));_0xffacdb[_0x93a8('0x7')](_0x93a8('0x6a'),require('./api/chatQueue'));_0xffacdb[_0x93a8('0x7')](_0x93a8('0x6b'),require('./api/chatGroup'));_0xffacdb['use'](_0x93a8('0x6c'),require('./api/chatProactiveAction'));_0xffacdb['use'](_0x93a8('0x6d'),require(_0x93a8('0x6e')));_0xffacdb[_0x93a8('0x7')]('/api/cm/contacts',require(_0x93a8('0x6f')));_0xffacdb['use'](_0x93a8('0x70'),require(_0x93a8('0x71')));_0xffacdb[_0x93a8('0x7')](_0x93a8('0x72'),require(_0x93a8('0x73')));_0xffacdb[_0x93a8('0x7')](_0x93a8('0x74'),require('./api/cmHopperFinal'));_0xffacdb[_0x93a8('0x7')]('/api/cm/hopper_history',require(_0x93a8('0x75')));_0xffacdb['use']('/api/cm/custom_fields',require(_0x93a8('0x76')));_0xffacdb[_0x93a8('0x7')](_0x93a8('0x77'),require(_0x93a8('0x78')));_0xffacdb[_0x93a8('0x7')](_0x93a8('0x79'),require(_0x93a8('0x7a')));_0xffacdb[_0x93a8('0x7')](_0x93a8('0x7b'),require(_0x93a8('0x7c')));_0xffacdb[_0x93a8('0x7')](_0x93a8('0x7d'),require(_0x93a8('0x7e')));_0xffacdb[_0x93a8('0x7')](_0x93a8('0x7f'),require('./api/condition'));_0xffacdb['use'](_0x93a8('0x80'),require(_0x93a8('0x81')));_0xffacdb[_0x93a8('0x7')](_0x93a8('0x82'),require('./api/pause'));_0xffacdb[_0x93a8('0x7')]('/api/cdr',require('./api/cdr'));_0xffacdb['use'](_0x93a8('0x83'),require('./api/voiceQueuesLog'));_0xffacdb[_0x93a8('0x7')](_0x93a8('0x84'),require(_0x93a8('0x85')));_0xffacdb['use'](_0x93a8('0x86'),require(_0x93a8('0x87')));_0xffacdb[_0x93a8('0x7')](_0x93a8('0x88'),require(_0x93a8('0x89')));_0xffacdb[_0x93a8('0x7')](_0x93a8('0x8a'),require(_0x93a8('0x8b')));_0xffacdb[_0x93a8('0x7')]('/api/triggers',require(_0x93a8('0x8c')));_0xffacdb['use'](_0x93a8('0x8d'),require(_0x93a8('0x8e')));_0xffacdb[_0x93a8('0x7')](_0x93a8('0x8f'),require(_0x93a8('0x90')));_0xffacdb[_0x93a8('0x7')]('/api/integrations/reports',require(_0x93a8('0x91')));_0xffacdb[_0x93a8('0x7')]('/api/analytics/custom_reports',require(_0x93a8('0x92')));_0xffacdb[_0x93a8('0x7')](_0x93a8('0x93'),require(_0x93a8('0x94')));_0xffacdb[_0x93a8('0x7')](_0x93a8('0x95'),require(_0x93a8('0x96')));_0xffacdb[_0x93a8('0x7')](_0x93a8('0x97'),require('./api/analyticMetric'));_0xffacdb['use'](_0x93a8('0x98'),require(_0x93a8('0x99')));_0xffacdb[_0x93a8('0x7')](_0x93a8('0x9a'),require(_0x93a8('0x9b')));_0xffacdb[_0x93a8('0x7')](_0x93a8('0x9c'),require(_0x93a8('0x9d')));_0xffacdb[_0x93a8('0x7')](_0x93a8('0x9e'),require(_0x93a8('0x9f')));_0xffacdb[_0x93a8('0x7')]('/api/integrations/salesforce/fields',require(_0x93a8('0xa0')));_0xffacdb['use'](_0x93a8('0xa1'),require(_0x93a8('0xa2')));_0xffacdb['use']('/api/integrations/sugarcrm/configurations',require(_0x93a8('0xa3')));_0xffacdb['use'](_0x93a8('0xa4'),require(_0x93a8('0xa5')));_0xffacdb['use'](_0x93a8('0xa6'),require(_0x93a8('0xa7')));_0xffacdb[_0x93a8('0x7')]('/api/integrations/desk/configurations',require(_0x93a8('0xa8')));_0xffacdb[_0x93a8('0x7')]('/api/integrations/desk/fields',require(_0x93a8('0xa9')));_0xffacdb[_0x93a8('0x7')](_0x93a8('0xaa'),require(_0x93a8('0xab')));_0xffacdb[_0x93a8('0x7')](_0x93a8('0xac'),require(_0x93a8('0xad')));_0xffacdb[_0x93a8('0x7')](_0x93a8('0xae'),require('./api/intZohoField'));_0xffacdb['use'](_0x93a8('0xaf'),require(_0x93a8('0xb0')));_0xffacdb['use']('/api/integrations/zendesk/configurations',require('./api/intZendeskConfiguration'));_0xffacdb[_0x93a8('0x7')](_0x93a8('0xb1'),require(_0x93a8('0xb2')));_0xffacdb[_0x93a8('0x7')](_0x93a8('0xb3'),require(_0x93a8('0xb4')));_0xffacdb[_0x93a8('0x7')]('/api/integrations/freshdesk/configurations',require(_0x93a8('0xb5')));_0xffacdb[_0x93a8('0x7')](_0x93a8('0xb6'),require('./api/intFreshdeskField'));_0xffacdb[_0x93a8('0x7')]('/api/integrations/vtiger/accounts',require(_0x93a8('0xb7')));_0xffacdb[_0x93a8('0x7')](_0x93a8('0xb8'),require(_0x93a8('0xb9')));_0xffacdb['use'](_0x93a8('0xba'),require('./api/intVtigerField'));_0xffacdb[_0x93a8('0x7')](_0x93a8('0xbb'),require(_0x93a8('0xbc')));_0xffacdb['use'](_0x93a8('0xbd'),require(_0x93a8('0xbe')));_0xffacdb[_0x93a8('0x7')](_0x93a8('0xbf'),require(_0x93a8('0xc0')));_0xffacdb[_0x93a8('0x7')](_0x93a8('0xc1'),require(_0x93a8('0xc2')));_0xffacdb[_0x93a8('0x7')](_0x93a8('0xc3'),require(_0x93a8('0xc4')));_0xffacdb['use'](_0x93a8('0xc5'),require(_0x93a8('0xc6')));_0xffacdb[_0x93a8('0x7')]('/api/integrations/freshsales/accounts',require(_0x93a8('0xc7')));_0xffacdb[_0x93a8('0x7')](_0x93a8('0xc8'),require('./api/intFreshsalesConfiguration'));_0xffacdb['use'](_0x93a8('0xc9'),require(_0x93a8('0xca')));_0xffacdb['use'](_0x93a8('0xcb'),require('./api/network'));_0xffacdb[_0x93a8('0x7')]('/api/chat/reports/queue',require(_0x93a8('0xcc')));_0xffacdb[_0x93a8('0x7')](_0x93a8('0xcd'),require('./api/chatInternalMessage'));_0xffacdb[_0x93a8('0x7')](_0x93a8('0xce'),require(_0x93a8('0xcf')));_0xffacdb[_0x93a8('0x7')]('/api/jscripty/questions/reports',require(_0x93a8('0xd0')));_0xffacdb[_0x93a8('0x7')]('/api/jscripty/sessions/reports',require('./api/jscriptySessionReport'));_0xffacdb[_0x93a8('0x7')](_0x93a8('0xd1'),require(_0x93a8('0xd2')));_0xffacdb[_0x93a8('0x7')](_0x93a8('0xd3'),require(_0x93a8('0xd4')));_0xffacdb[_0x93a8('0x7')](_0x93a8('0xd5'),require('./api/squareReportDetail'));_0xffacdb[_0x93a8('0x7')](_0x93a8('0xd6'),require(_0x93a8('0xd7')));_0xffacdb['use']('/api/settings',require(_0x93a8('0xd8')));_0xffacdb[_0x93a8('0x7')]('/api/square/odbc',require(_0x93a8('0xd9')));_0xffacdb[_0x93a8('0x7')]('/api/square/projects',require('./api/squareProject'));_0xffacdb[_0x93a8('0x7')](_0x93a8('0xda'),require(_0x93a8('0xdb')));_0xffacdb[_0x93a8('0x7')](_0x93a8('0xdc'),require(_0x93a8('0xdd')));_0xffacdb[_0x93a8('0x7')](_0x93a8('0xde'),require(_0x93a8('0xdf')));_0xffacdb['use']('/api/license',require(_0x93a8('0xe0')));_0xffacdb[_0x93a8('0x7')]('/api/campaigns',require(_0x93a8('0xe1')));_0xffacdb[_0x93a8('0x7')](_0x93a8('0xe2'),require('./api/migration'));_0xffacdb[_0x93a8('0x7')](_0x93a8('0xe3'),require(_0x93a8('0xe4')));_0xffacdb['use'](_0x93a8('0xe5'),require(_0x93a8('0xe6')));_0xffacdb[_0x93a8('0x7')](_0x93a8('0xe7'),require(_0x93a8('0xe8')));_0xffacdb[_0x93a8('0x7')](_0x93a8('0xe9'),require(_0x93a8('0xea')));_0xffacdb[_0x93a8('0x7')](_0x93a8('0xeb'),require('./api/faxTransferReport'));_0xffacdb[_0x93a8('0x7')](_0x93a8('0xec'),require(_0x93a8('0xed')));_0xffacdb[_0x93a8('0x7')](_0x93a8('0xee'),require(_0x93a8('0xef')));_0xffacdb[_0x93a8('0x7')](_0x93a8('0xf0'),require(_0x93a8('0xf1')));_0xffacdb[_0x93a8('0x7')](_0x93a8('0xf2'),require(_0x93a8('0xf3')));_0xffacdb[_0x93a8('0x7')](_0x93a8('0xf4'),require(_0x93a8('0xf5')));_0xffacdb[_0x93a8('0x7')](_0x93a8('0xf6'),require(_0x93a8('0xf7')));_0xffacdb[_0x93a8('0x7')]('/api/userProfile/resources',require(_0x93a8('0xf8')));_0xffacdb['use']('/api/notifications',require(_0x93a8('0xf9')));_0xffacdb[_0x93a8('0x7')](_0x93a8('0xfa'),require('./api/whatsappAccount'));_0xffacdb[_0x93a8('0x7')](_0x93a8('0xfb'),require(_0x93a8('0xfc')));_0xffacdb[_0x93a8('0x7')](_0x93a8('0xfd'),require(_0x93a8('0xfe')));_0xffacdb['use']('/api/whatsapp/messages',require(_0x93a8('0xff')));_0xffacdb[_0x93a8('0x7')](_0x93a8('0x100'),require(_0x93a8('0x101')));_0xffacdb[_0x93a8('0x7')](_0x93a8('0x102'),require(_0x93a8('0x103')));_0xffacdb[_0x93a8('0x7')](_0x93a8('0x104'),require('./api/whatsappQueue'));_0xffacdb[_0x93a8('0x7')](_0x93a8('0x105'),require(_0x93a8('0x106')));_0xffacdb[_0x93a8('0x7')](_0x93a8('0x107'),require(_0x93a8('0x108')));_0xffacdb[_0x93a8('0x7')]('/api/auth/google',require(_0x93a8('0x109')));_0xffacdb[_0x93a8('0x7')](_0x93a8('0x10a'),require(_0x93a8('0x10b')));_0xffacdb[_0x93a8('0x7')](_0x93a8('0x10c'),require(_0x93a8('0x10d')));_0xffacdb[_0x93a8('0x7')](_0x93a8('0x10e'),require(_0x93a8('0x10f')));_0xffacdb['use'](_0x93a8('0x110'),require(_0x93a8('0x111')));_0xffacdb[_0x93a8('0x7')](_0x93a8('0x112'),require(_0x93a8('0x113')));_0xffacdb[_0x93a8('0x7')](_0x93a8('0x114'),require(_0x93a8('0x115')));_0xffacdb[_0x93a8('0x7')](_0x93a8('0x116'),express['static'](path[_0x93a8('0x117')](config['root'],_0x93a8('0x116'))));_0xffacdb[_0x93a8('0x7')](_0x93a8('0x118'),express['static'](path[_0x93a8('0x117')](config[_0x93a8('0x119')],_0x93a8('0x118'))));_0xffacdb[_0x93a8('0x7')](_0x93a8('0x11a'),express['static'](path[_0x93a8('0x117')](config[_0x93a8('0x119')],_0x93a8('0x11a'))));_0xffacdb[_0x93a8('0x7')](_0x93a8('0x11b'),express[_0x93a8('0x11c')](path[_0x93a8('0x117')](config[_0x93a8('0x119')],_0x93a8('0x11d'),'1.0.16')));_0xffacdb[_0x93a8('0x7')](_0x93a8('0x11e'),express[_0x93a8('0x11c')](path['join'](config[_0x93a8('0x119')],_0x93a8('0x11f'))));_0xffacdb[_0x93a8('0x120')](_0x93a8('0x121'))[_0x93a8('0x122')](errors[0x194]);_0xffacdb['route']('/*')['get']((_0x10ea6d,_0x2cf09a)=>{_0x2cf09a[_0x93a8('0x123')](path[_0x93a8('0x124')](_0xffacdb[_0x93a8('0x122')]('appPath')+_0x93a8('0x125')));});}; \ No newline at end of file diff --git a/server/rpc/index.js b/server/rpc/index.js index 69f13a9..22f9667 100644 --- a/server/rpc/index.js +++ b/server/rpc/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xb104=['../api/openchannelQueue/openchannelQueue.rpc','../api/chatInteraction/chatInteraction.rpc','../api/chatMessage/chatMessage.rpc','../api/chatQueue/chatQueue.rpc','../api/cmContact/cmContact.rpc','../api/cmHopperHistory/cmHopperHistory.rpc','../api/reportAgentPreview/reportAgentPreview.rpc','../api/intSugarcrmAccount/intSugarcrmAccount.rpc','../api/intZohoAccount/intZohoAccount.rpc','../api/intZendeskAccount/intZendeskAccount.rpc','../api/intVtigerAccount/intVtigerAccount.rpc','../api/intDynamics365Account/intDynamics365Account.rpc','../api/chatQueueReport/chatQueueReport.rpc','../api/smsQueueReport/smsQueueReport.rpc','../api/squareReport/squareReport.rpc','../api/squareReportDetail/squareReportDetail.rpc','../api/squareOdbc/squareOdbc.rpc','../api/squareRecording/squareRecording.rpc','../api/campaign/campaign.rpc','../api/attachment/attachment.rpc','../api/plugin/plugin.rpc','../api/whatsappAccount/whatsappAccount.rpc','../api/whatsappInteraction/whatsappInteraction.rpc','../api/whatsappQueueReport/whatsappQueueReport.rpc','rpc','port','localhost','error','listen','log','Express\x20RPC\x20server\x20listening\x20on\x20%s:%d!','../config/triggers','default','RPC\x20listening\x20on\x20','bluebird','lodash','merge','../api/user/user.rpc','../api/voiceExtension/voiceExtension.rpc','../api/voiceRecording/voiceRecording.rpc','../api/voiceCallReport/voiceCallReport.rpc','../api/voiceDialReport/voiceDialReport.rpc','../api/voiceAgentReport/voiceAgentReport.rpc','../api/voiceQueueReport/voiceQueueReport.rpc','../api/memberReport/memberReport.rpc','../api/trunk/trunk.rpc','../api/voiceTransferReport/voiceTransferReport.rpc','../api/mailQueue/mailQueue.rpc','../api/mailInteraction/mailInteraction.rpc','../api/mailMessage/mailMessage.rpc','../api/mailApplication/mailApplication.rpc','../api/mailQueueReport/mailQueueReport.rpc','../api/faxApplication/faxApplication.rpc','../api/faxInteraction/faxInteraction.rpc','../api/faxMessage/faxMessage.rpc','../api/faxQueueReport/faxQueueReport.rpc','../api/smsAccount/smsAccount.rpc','../api/smsInteraction/smsInteraction.rpc','../api/smsMessage/smsMessage.rpc','../api/smsQueue/smsQueue.rpc','../api/openchannelApplication/openchannelApplication.rpc','../api/openchannelInteraction/openchannelInteraction.rpc','../api/openchannelMessage/openchannelMessage.rpc'];(function(_0x264ade,_0x3c3e7e){var _0x20198e=function(_0x37bbe2){while(--_0x37bbe2){_0x264ade['push'](_0x264ade['shift']());}};_0x20198e(++_0x3c3e7e);}(_0xb104,0x1db));var _0x4b10=function(_0x45b034,_0x3a57dd){_0x45b034=_0x45b034-0x0;var _0x509cb0=_0xb104[_0x45b034];return _0x509cb0;};'use strict';var jayson=require('jayson/promise');var BPromise=require(_0x4b10('0x0'));var _=require(_0x4b10('0x1'));var config=require('../config/environment');exports['listen']=function(){return new BPromise(function(_0x9b15fc,_0x103680){var _0x5c7e26={};_0x5c7e26=_[_0x4b10('0x2')](_0x5c7e26,require(_0x4b10('0x3')));_0x5c7e26=_[_0x4b10('0x2')](_0x5c7e26,require(_0x4b10('0x4')));_0x5c7e26=_['merge'](_0x5c7e26,require('../api/voiceQueue/voiceQueue.rpc'));_0x5c7e26=_[_0x4b10('0x2')](_0x5c7e26,require(_0x4b10('0x5')));_0x5c7e26=_['merge'](_0x5c7e26,require(_0x4b10('0x6')));_0x5c7e26=_[_0x4b10('0x2')](_0x5c7e26,require(_0x4b10('0x7')));_0x5c7e26=_['merge'](_0x5c7e26,require(_0x4b10('0x8')));_0x5c7e26=_['merge'](_0x5c7e26,require(_0x4b10('0x9')));_0x5c7e26=_[_0x4b10('0x2')](_0x5c7e26,require(_0x4b10('0xa')));_0x5c7e26=_[_0x4b10('0x2')](_0x5c7e26,require(_0x4b10('0xb')));_0x5c7e26=_[_0x4b10('0x2')](_0x5c7e26,require(_0x4b10('0xc')));_0x5c7e26=_[_0x4b10('0x2')](_0x5c7e26,require('../api/userVoiceQueueRt/userVoiceQueueRt.rpc'));_0x5c7e26=_[_0x4b10('0x2')](_0x5c7e26,require('../api/mailServerIn/mailServerIn.rpc'));_0x5c7e26=_[_0x4b10('0x2')](_0x5c7e26,require('../api/mailAccount/mailAccount.rpc'));_0x5c7e26=_['merge'](_0x5c7e26,require(_0x4b10('0xd')));_0x5c7e26=_[_0x4b10('0x2')](_0x5c7e26,require(_0x4b10('0xe')));_0x5c7e26=_[_0x4b10('0x2')](_0x5c7e26,require(_0x4b10('0xf')));_0x5c7e26=_[_0x4b10('0x2')](_0x5c7e26,require(_0x4b10('0x10')));_0x5c7e26=_[_0x4b10('0x2')](_0x5c7e26,require(_0x4b10('0x11')));_0x5c7e26=_[_0x4b10('0x2')](_0x5c7e26,require('../api/faxAccount/faxAccount.rpc'));_0x5c7e26=_['merge'](_0x5c7e26,require(_0x4b10('0x12')));_0x5c7e26=_['merge'](_0x5c7e26,require(_0x4b10('0x13')));_0x5c7e26=_[_0x4b10('0x2')](_0x5c7e26,require(_0x4b10('0x14')));_0x5c7e26=_[_0x4b10('0x2')](_0x5c7e26,require('../api/faxQueue/faxQueue.rpc'));_0x5c7e26=_[_0x4b10('0x2')](_0x5c7e26,require(_0x4b10('0x15')));_0x5c7e26=_['merge'](_0x5c7e26,require(_0x4b10('0x16')));_0x5c7e26=_[_0x4b10('0x2')](_0x5c7e26,require(_0x4b10('0x17')));_0x5c7e26=_['merge'](_0x5c7e26,require(_0x4b10('0x18')));_0x5c7e26=_[_0x4b10('0x2')](_0x5c7e26,require(_0x4b10('0x19')));_0x5c7e26=_[_0x4b10('0x2')](_0x5c7e26,require(_0x4b10('0x1a')));_0x5c7e26=_[_0x4b10('0x2')](_0x5c7e26,require(_0x4b10('0x1b')));_0x5c7e26=_[_0x4b10('0x2')](_0x5c7e26,require(_0x4b10('0x1c')));_0x5c7e26=_['merge'](_0x5c7e26,require(_0x4b10('0x1d')));_0x5c7e26=_['merge'](_0x5c7e26,require('../api/openchannelQueueReport/openchannelQueueReport.rpc'));_0x5c7e26=_[_0x4b10('0x2')](_0x5c7e26,require(_0x4b10('0x1e')));_0x5c7e26=_[_0x4b10('0x2')](_0x5c7e26,require(_0x4b10('0x1f')));_0x5c7e26=_['merge'](_0x5c7e26,require(_0x4b10('0x20')));_0x5c7e26=_['merge'](_0x5c7e26,require(_0x4b10('0x21')));_0x5c7e26=_[_0x4b10('0x2')](_0x5c7e26,require('../api/cmHopper/cmHopper.rpc'));_0x5c7e26=_[_0x4b10('0x2')](_0x5c7e26,require('../api/cmHopperBlack/cmHopperBlack.rpc'));_0x5c7e26=_['merge'](_0x5c7e26,require('../api/cmHopperFinal/cmHopperFinal.rpc'));_0x5c7e26=_[_0x4b10('0x2')](_0x5c7e26,require(_0x4b10('0x22')));_0x5c7e26=_['merge'](_0x5c7e26,require(_0x4b10('0x23')));_0x5c7e26=_['merge'](_0x5c7e26,require('../api/interval/interval.rpc'));_0x5c7e26=_[_0x4b10('0x2')](_0x5c7e26,require('../api/pause/pause.rpc'));_0x5c7e26=_[_0x4b10('0x2')](_0x5c7e26,require('../api/sound/sound.rpc'));_0x5c7e26=_[_0x4b10('0x2')](_0x5c7e26,require('../api/template/template.rpc'));_0x5c7e26=_[_0x4b10('0x2')](_0x5c7e26,require('../api/trigger/trigger.rpc'));_0x5c7e26=_[_0x4b10('0x2')](_0x5c7e26,require('../api/variable/variable.rpc'));_0x5c7e26=_['merge'](_0x5c7e26,require('../api/intSalesforceAccount/intSalesforceAccount.rpc'));_0x5c7e26=_[_0x4b10('0x2')](_0x5c7e26,require(_0x4b10('0x24')));_0x5c7e26=_[_0x4b10('0x2')](_0x5c7e26,require('../api/intDeskAccount/intDeskAccount.rpc'));_0x5c7e26=_['merge'](_0x5c7e26,require(_0x4b10('0x25')));_0x5c7e26=_[_0x4b10('0x2')](_0x5c7e26,require(_0x4b10('0x26')));_0x5c7e26=_[_0x4b10('0x2')](_0x5c7e26,require('../api/intFreshdeskAccount/intFreshdeskAccount.rpc'));_0x5c7e26=_[_0x4b10('0x2')](_0x5c7e26,require(_0x4b10('0x27')));_0x5c7e26=_[_0x4b10('0x2')](_0x5c7e26,require('../api/intServicenowAccount/intServicenowAccount.rpc'));_0x5c7e26=_['merge'](_0x5c7e26,require(_0x4b10('0x28')));_0x5c7e26=_[_0x4b10('0x2')](_0x5c7e26,require('../api/intFreshsalesAccount/intFreshsalesAccount.rpc'));_0x5c7e26=_[_0x4b10('0x2')](_0x5c7e26,require(_0x4b10('0x29')));_0x5c7e26=_[_0x4b10('0x2')](_0x5c7e26,require(_0x4b10('0x2a')));_0x5c7e26=_[_0x4b10('0x2')](_0x5c7e26,require(_0x4b10('0x2b')));_0x5c7e26=_[_0x4b10('0x2')](_0x5c7e26,require(_0x4b10('0x2c')));_0x5c7e26=_[_0x4b10('0x2')](_0x5c7e26,require(_0x4b10('0x2d')));_0x5c7e26=_['merge'](_0x5c7e26,require('../api/squareProject/squareProject.rpc'));_0x5c7e26=_['merge'](_0x5c7e26,require(_0x4b10('0x2e')));_0x5c7e26=_[_0x4b10('0x2')](_0x5c7e26,require('../api/squareMessage/squareMessage.rpc'));_0x5c7e26=_[_0x4b10('0x2')](_0x5c7e26,require(_0x4b10('0x2f')));_0x5c7e26=_[_0x4b10('0x2')](_0x5c7e26,require(_0x4b10('0x30')));_0x5c7e26=_['merge'](_0x5c7e26,require(_0x4b10('0x31')));_0x5c7e26=_[_0x4b10('0x2')](_0x5c7e26,require(_0x4b10('0x32')));_0x5c7e26=_[_0x4b10('0x2')](_0x5c7e26,require(_0x4b10('0x33')));_0x5c7e26=_[_0x4b10('0x2')](_0x5c7e26,require('../api/whatsappMessage/whatsappMessage.rpc'));_0x5c7e26=_[_0x4b10('0x2')](_0x5c7e26,require(_0x4b10('0x34')));_0x5c7e26=_['merge'](_0x5c7e26,require('../api/whatsappQueue/whatsappQueue.rpc'));var _0x71023f=jayson['server'](_0x5c7e26)['http']();var _0x5dd50d=config[_0x4b10('0x35')][_0x4b10('0x36')]||config[_0x4b10('0x36')]+0x1;var _0x163806=config[_0x4b10('0x35')]['ip']||_0x4b10('0x37');_0x71023f['on'](_0x4b10('0x38'),function(_0x4dc02f){return _0x103680(_0x4dc02f);});_0x71023f[_0x4b10('0x39')](_0x5dd50d,_0x163806,function(){console[_0x4b10('0x3a')](_0x4b10('0x3b'),_0x163806,_0x5dd50d);require(_0x4b10('0x3c'))[_0x4b10('0x3d')]();return _0x9b15fc(_0x4b10('0x3e')+_0x163806+':'+_0x5dd50d);});});}; \ No newline at end of file +var _0x5812=['../api/mailQueueReport/mailQueueReport.rpc','../api/faxAccount/faxAccount.rpc','../api/faxApplication/faxApplication.rpc','../api/faxInteraction/faxInteraction.rpc','../api/faxMessage/faxMessage.rpc','../api/faxQueue/faxQueue.rpc','../api/faxQueueReport/faxQueueReport.rpc','../api/smsAccount/smsAccount.rpc','../api/smsInteraction/smsInteraction.rpc','../api/openchannelApplication/openchannelApplication.rpc','../api/openchannelMessage/openchannelMessage.rpc','../api/openchannelQueue/openchannelQueue.rpc','../api/chatInteraction/chatInteraction.rpc','../api/chatMessage/chatMessage.rpc','../api/chatQueue/chatQueue.rpc','../api/cmContact/cmContact.rpc','../api/cmHopperBlack/cmHopperBlack.rpc','../api/cmHopperHistory/cmHopperHistory.rpc','../api/interval/interval.rpc','../api/pause/pause.rpc','../api/sound/sound.rpc','../api/template/template.rpc','../api/variable/variable.rpc','../api/intSalesforceAccount/intSalesforceAccount.rpc','../api/intSugarcrmAccount/intSugarcrmAccount.rpc','../api/intZohoAccount/intZohoAccount.rpc','../api/intFreshdeskAccount/intFreshdeskAccount.rpc','../api/intDynamics365Account/intDynamics365Account.rpc','../api/intFreshsalesAccount/intFreshsalesAccount.rpc','../api/chatQueueReport/chatQueueReport.rpc','../api/smsQueueReport/smsQueueReport.rpc','../api/squareReport/squareReport.rpc','../api/squareReportDetail/squareReportDetail.rpc','../api/squareRecording/squareRecording.rpc','../api/squareMessage/squareMessage.rpc','../api/campaign/campaign.rpc','../api/attachment/attachment.rpc','../api/plugin/plugin.rpc','../api/whatsappAccount/whatsappAccount.rpc','../api/whatsappMessage/whatsappMessage.rpc','../api/whatsappQueue/whatsappQueue.rpc','port','rpc','localhost','error','log','Express\x20RPC\x20server\x20listening\x20on\x20%s:%d!','default','RPC\x20listening\x20on\x20','jayson/promise','lodash','../config/environment','listen','merge','../api/voiceExtension/voiceExtension.rpc','../api/voiceQueue/voiceQueue.rpc','../api/voiceRecording/voiceRecording.rpc','../api/voiceCallReport/voiceCallReport.rpc','../api/voiceQueueReport/voiceQueueReport.rpc','../api/memberReport/memberReport.rpc','../api/trunk/trunk.rpc','../api/voiceTransferReport/voiceTransferReport.rpc','../api/mailServerIn/mailServerIn.rpc','../api/mailQueue/mailQueue.rpc','../api/mailInteraction/mailInteraction.rpc','../api/mailMessage/mailMessage.rpc','../api/mailApplication/mailApplication.rpc'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x5812,0x13d));var _0x2581=function(_0x32bd90,_0x14674b){_0x32bd90=_0x32bd90-0x0;var _0xa286b7=_0x5812[_0x32bd90];return _0xa286b7;};'use strict';var jayson=require(_0x2581('0x0'));var BPromise=require('bluebird');var _=require(_0x2581('0x1'));var config=require(_0x2581('0x2'));exports[_0x2581('0x3')]=function(){return new BPromise(function(_0x3ffca,_0xf9eb38){var _0x4292b2={};_0x4292b2=_[_0x2581('0x4')](_0x4292b2,require('../api/user/user.rpc'));_0x4292b2=_[_0x2581('0x4')](_0x4292b2,require(_0x2581('0x5')));_0x4292b2=_[_0x2581('0x4')](_0x4292b2,require(_0x2581('0x6')));_0x4292b2=_[_0x2581('0x4')](_0x4292b2,require(_0x2581('0x7')));_0x4292b2=_[_0x2581('0x4')](_0x4292b2,require(_0x2581('0x8')));_0x4292b2=_[_0x2581('0x4')](_0x4292b2,require('../api/voiceDialReport/voiceDialReport.rpc'));_0x4292b2=_[_0x2581('0x4')](_0x4292b2,require('../api/voiceAgentReport/voiceAgentReport.rpc'));_0x4292b2=_[_0x2581('0x4')](_0x4292b2,require(_0x2581('0x9')));_0x4292b2=_[_0x2581('0x4')](_0x4292b2,require(_0x2581('0xa')));_0x4292b2=_[_0x2581('0x4')](_0x4292b2,require(_0x2581('0xb')));_0x4292b2=_['merge'](_0x4292b2,require(_0x2581('0xc')));_0x4292b2=_[_0x2581('0x4')](_0x4292b2,require('../api/userVoiceQueueRt/userVoiceQueueRt.rpc'));_0x4292b2=_[_0x2581('0x4')](_0x4292b2,require(_0x2581('0xd')));_0x4292b2=_['merge'](_0x4292b2,require('../api/mailAccount/mailAccount.rpc'));_0x4292b2=_[_0x2581('0x4')](_0x4292b2,require(_0x2581('0xe')));_0x4292b2=_[_0x2581('0x4')](_0x4292b2,require(_0x2581('0xf')));_0x4292b2=_[_0x2581('0x4')](_0x4292b2,require(_0x2581('0x10')));_0x4292b2=_[_0x2581('0x4')](_0x4292b2,require(_0x2581('0x11')));_0x4292b2=_[_0x2581('0x4')](_0x4292b2,require(_0x2581('0x12')));_0x4292b2=_[_0x2581('0x4')](_0x4292b2,require(_0x2581('0x13')));_0x4292b2=_[_0x2581('0x4')](_0x4292b2,require(_0x2581('0x14')));_0x4292b2=_[_0x2581('0x4')](_0x4292b2,require(_0x2581('0x15')));_0x4292b2=_[_0x2581('0x4')](_0x4292b2,require(_0x2581('0x16')));_0x4292b2=_[_0x2581('0x4')](_0x4292b2,require(_0x2581('0x17')));_0x4292b2=_[_0x2581('0x4')](_0x4292b2,require(_0x2581('0x18')));_0x4292b2=_[_0x2581('0x4')](_0x4292b2,require(_0x2581('0x19')));_0x4292b2=_[_0x2581('0x4')](_0x4292b2,require(_0x2581('0x1a')));_0x4292b2=_[_0x2581('0x4')](_0x4292b2,require('../api/smsMessage/smsMessage.rpc'));_0x4292b2=_['merge'](_0x4292b2,require('../api/smsQueue/smsQueue.rpc'));_0x4292b2=_[_0x2581('0x4')](_0x4292b2,require(_0x2581('0x1b')));_0x4292b2=_[_0x2581('0x4')](_0x4292b2,require('../api/openchannelInteraction/openchannelInteraction.rpc'));_0x4292b2=_[_0x2581('0x4')](_0x4292b2,require(_0x2581('0x1c')));_0x4292b2=_[_0x2581('0x4')](_0x4292b2,require(_0x2581('0x1d')));_0x4292b2=_[_0x2581('0x4')](_0x4292b2,require('../api/openchannelQueueReport/openchannelQueueReport.rpc'));_0x4292b2=_[_0x2581('0x4')](_0x4292b2,require(_0x2581('0x1e')));_0x4292b2=_['merge'](_0x4292b2,require(_0x2581('0x1f')));_0x4292b2=_[_0x2581('0x4')](_0x4292b2,require(_0x2581('0x20')));_0x4292b2=_['merge'](_0x4292b2,require(_0x2581('0x21')));_0x4292b2=_[_0x2581('0x4')](_0x4292b2,require('../api/cmHopper/cmHopper.rpc'));_0x4292b2=_[_0x2581('0x4')](_0x4292b2,require(_0x2581('0x22')));_0x4292b2=_[_0x2581('0x4')](_0x4292b2,require('../api/cmHopperFinal/cmHopperFinal.rpc'));_0x4292b2=_[_0x2581('0x4')](_0x4292b2,require(_0x2581('0x23')));_0x4292b2=_[_0x2581('0x4')](_0x4292b2,require('../api/reportAgentPreview/reportAgentPreview.rpc'));_0x4292b2=_[_0x2581('0x4')](_0x4292b2,require(_0x2581('0x24')));_0x4292b2=_[_0x2581('0x4')](_0x4292b2,require(_0x2581('0x25')));_0x4292b2=_[_0x2581('0x4')](_0x4292b2,require(_0x2581('0x26')));_0x4292b2=_['merge'](_0x4292b2,require(_0x2581('0x27')));_0x4292b2=_[_0x2581('0x4')](_0x4292b2,require('../api/trigger/trigger.rpc'));_0x4292b2=_['merge'](_0x4292b2,require(_0x2581('0x28')));_0x4292b2=_[_0x2581('0x4')](_0x4292b2,require(_0x2581('0x29')));_0x4292b2=_[_0x2581('0x4')](_0x4292b2,require(_0x2581('0x2a')));_0x4292b2=_['merge'](_0x4292b2,require('../api/intDeskAccount/intDeskAccount.rpc'));_0x4292b2=_[_0x2581('0x4')](_0x4292b2,require(_0x2581('0x2b')));_0x4292b2=_['merge'](_0x4292b2,require('../api/intZendeskAccount/intZendeskAccount.rpc'));_0x4292b2=_[_0x2581('0x4')](_0x4292b2,require(_0x2581('0x2c')));_0x4292b2=_[_0x2581('0x4')](_0x4292b2,require('../api/intVtigerAccount/intVtigerAccount.rpc'));_0x4292b2=_[_0x2581('0x4')](_0x4292b2,require('../api/intServicenowAccount/intServicenowAccount.rpc'));_0x4292b2=_['merge'](_0x4292b2,require(_0x2581('0x2d')));_0x4292b2=_['merge'](_0x4292b2,require(_0x2581('0x2e')));_0x4292b2=_['merge'](_0x4292b2,require(_0x2581('0x2f')));_0x4292b2=_[_0x2581('0x4')](_0x4292b2,require(_0x2581('0x30')));_0x4292b2=_[_0x2581('0x4')](_0x4292b2,require(_0x2581('0x31')));_0x4292b2=_[_0x2581('0x4')](_0x4292b2,require(_0x2581('0x32')));_0x4292b2=_[_0x2581('0x4')](_0x4292b2,require('../api/squareOdbc/squareOdbc.rpc'));_0x4292b2=_[_0x2581('0x4')](_0x4292b2,require('../api/squareProject/squareProject.rpc'));_0x4292b2=_[_0x2581('0x4')](_0x4292b2,require(_0x2581('0x33')));_0x4292b2=_[_0x2581('0x4')](_0x4292b2,require(_0x2581('0x34')));_0x4292b2=_[_0x2581('0x4')](_0x4292b2,require(_0x2581('0x35')));_0x4292b2=_[_0x2581('0x4')](_0x4292b2,require(_0x2581('0x36')));_0x4292b2=_['merge'](_0x4292b2,require(_0x2581('0x37')));_0x4292b2=_['merge'](_0x4292b2,require(_0x2581('0x38')));_0x4292b2=_[_0x2581('0x4')](_0x4292b2,require('../api/whatsappInteraction/whatsappInteraction.rpc'));_0x4292b2=_[_0x2581('0x4')](_0x4292b2,require(_0x2581('0x39')));_0x4292b2=_[_0x2581('0x4')](_0x4292b2,require('../api/whatsappQueueReport/whatsappQueueReport.rpc'));_0x4292b2=_['merge'](_0x4292b2,require(_0x2581('0x3a')));var _0x1dd493=jayson['server'](_0x4292b2)['http']();var _0xc0ee5a=config['rpc'][_0x2581('0x3b')]||config['port']+0x1;var _0x3e833e=config[_0x2581('0x3c')]['ip']||_0x2581('0x3d');_0x1dd493['on'](_0x2581('0x3e'),function(_0x411f63){return _0xf9eb38(_0x411f63);});_0x1dd493[_0x2581('0x3')](_0xc0ee5a,_0x3e833e,function(){console[_0x2581('0x3f')](_0x2581('0x40'),_0x3e833e,_0xc0ee5a);require('../config/triggers')[_0x2581('0x41')]();return _0x3ffca(_0x2581('0x42')+_0x3e833e+':'+_0xc0ee5a);});});}; \ No newline at end of file diff --git a/server/services/agi/channel.js b/server/services/agi/channel.js index c9f7fd9..373c43e 100644 --- a/server/services/agi/channel.js +++ b/server/services/agi/channel.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x9c44=['no\x20code','replace','result=','indexOf','substr','startsWith','length','match','error','E_AGI_SOCKET_ERROR','code','E_AGI_SOCKET_CLOSE','timeout','E_AGI_SOCKET_TIMEOUT','destroy','pipe','command','inherits','prototype','sendRequest','sync','ANSWER','getData','format','GET\x20DATA\x20\x22%s\x22\x20%s\x20%s','NO\x20MESSAGE','VERBOSE\x20\x22%s\x22','exec','isArray','EXEC\x20%s\x20%s','setContext','SET\x20CONTEXT\x20%s','SET\x20EXTENSION\x20%s','setPriority','SET\x20PRIORITY\x20%s','HANGUP','setVariable','isBoolean','isNumber','SET\x20VARIABLE\x20%s\x20\x22%s\x22','toString','SAY\x20NUMBER\x20%s\x20%s','sayDigits','SAY\x20DIGITS\x20%s\x20%s','sayPhonetic','SAY\x20PHONETIC\x20\x22%s\x22\x20%s','continueAt','extension','setExtension','noop','GOTO\x20%s\x20%s\x20%s','getVariable','GET\x20VARIABLE\x20\x22%s\x22','wav','BEEP','RECORD\x20FILE\x20\x22%s\x22\x20\x22%s\x22\x20\x22%s\x22\x20%s\x20%s\x20%s','streamFile','agi','AGI','wait','WAIT','ID:%s\x20-\x20LABEL:\x20%s\x20-\x20MSG:\x20%s','label','exports','events','EventEmitter','./reply','./error','setEncoding','utf8','setTimeout','emit','ready','toLowerCase','hangup','substring','520\x20End\x20of\x20proper','function'];(function(_0x509273,_0x13fc9f){var _0x38ef40=function(_0xf8d4c9){while(--_0xf8d4c9){_0x509273['push'](_0x509273['shift']());}};_0x38ef40(++_0x13fc9f);}(_0x9c44,0x178));var _0x49c4=function(_0x4f9b18,_0x2cb5ca){_0x4f9b18=_0x4f9b18-0x0;var _0x29f20c=_0x9c44[_0x4f9b18];return _0x29f20c;};'use strict';var util=require('util');var _=require('lodash');var EventEmitter=require(_0x49c4('0x0'))[_0x49c4('0x1')];var AGIReply=require(_0x49c4('0x2'));var AGIError=require(_0x49c4('0x3'));function AGIChannel(_0x455700){var _0x2ad237=this,_0x4e0313=new AGIReply(),_0x4941f1=![],_0x41a183={};EventEmitter['call'](_0x2ad237);_0x455700[_0x49c4('0x4')](_0x49c4('0x5'));_0x455700[_0x49c4('0x6')](0x8*0x3c*0x3c*0x3e8);_0x4e0313[_0x49c4('0x4')](_0x49c4('0x5'));_0x4e0313['on']('headers',function(_0x11c586){for(var _0x42e4f8 in _0x11c586){_0x2ad237[_0x42e4f8]=_0x11c586[_0x42e4f8];}_0x2ad237[_0x49c4('0x7')](_0x49c4('0x8'));});_0x4e0313['on']('line',function(_0x5ab4a3){if(_0x5ab4a3[_0x49c4('0x9')]()==_0x49c4('0xa')){_0x2ad237['emit'](_0x49c4('0xa'));return;}if(_0x5ab4a3[_0x49c4('0xb')](0x0,0xb)=='520-Invalid'){_0x4941f1=!![];}if(_0x4941f1){_0x41a183['rx']+=_0x5ab4a3+'\x0a';if(_0x5ab4a3['search'](_0x49c4('0xc'))!=-0x1){_0x4941f1=![];}}else{_0x41a183['rx']=_0x5ab4a3;}if(_0x4941f1){return;}if(typeof _0x41a183['cb']==_0x49c4('0xd')){var _0x5487cd=_0x41a183['rx']['substring'](0x0,0x3),_0x7df3a9=null,_0x403bfb=null;_0x5487cd=parseInt(_0x5487cd);if(isNaN(_0x5487cd)){_0x41a183['cb'](null,{'code':0x1f4,'result':-0x1,'extra':_0x49c4('0xe')});return;}if(_0x5487cd!=0xc8){_0x41a183['cb'](null,{'code':_0x5487cd,'result':-0x1,'extra':'KO'});return;}_0x7df3a9=_0x41a183['rx'][_0x49c4('0xb')](0x4)[_0x49c4('0xf')](_0x49c4('0x10'),'');if(_0x7df3a9[_0x49c4('0x11')]('\x20')!=-0x1){_0x7df3a9=_0x7df3a9[_0x49c4('0x12')](0x0,_0x7df3a9[_0x49c4('0x11')]('\x20'));}if(_[_0x49c4('0x13')](_0x7df3a9,'-1')){_0x7df3a9=parseInt(_0x7df3a9);}_0x403bfb=_0x41a183['rx']['split']('\x20');if(_0x403bfb[_0x49c4('0x14')]==0x3){_0x403bfb=_0x403bfb[0x2][_0x49c4('0xb')](0x1,_0x403bfb[0x2][_0x49c4('0x14')]-0x1);}else if(_0x403bfb[_0x49c4('0x14')]>0x3){var _0x2abc78=/\((.+)\)/;var _0x53e3a2=_0x41a183['rx'][_0x49c4('0x15')](_0x2abc78);if(_0x53e3a2){_0x403bfb=_0x53e3a2[0x1];}else{_0x403bfb=null;}}else{_0x403bfb=null;}_0x41a183['cb'](null,{'code':_0x5487cd,'result':_0x7df3a9,'extra':_0x403bfb});}});_0x455700['on'](_0x49c4('0x16'),function(_0x4c3253){_0x2ad237['emit'](_0x49c4('0x16'),new AGIError(_0x49c4('0x17'),_0x4c3253[_0x49c4('0x18')]));});_0x455700['on']('close',function(){_0x2ad237[_0x49c4('0x7')]('close',new AGIError(_0x49c4('0x19')));});_0x455700['on'](_0x49c4('0x1a'),function(){_0x2ad237[_0x49c4('0x7')](_0x49c4('0x1a'),new AGIError(_0x49c4('0x1b')));_0x455700[_0x49c4('0x1c')]();});_0x455700[_0x49c4('0x1d')](_0x4e0313);this[_0x49c4('0x1e')]=function(_0x2197d2,_0x578447){var _0x2197d2=_0x2197d2||'',_0x578447=typeof _0x578447==_0x49c4('0xd')?_0x578447:new Function();_0x41a183={'tx':_0x2197d2,'rx':'','cb':_0x578447};_0x455700['write'](_0x2197d2+'\x0a');},this['close']=function(){_0x455700[_0x49c4('0x1c')]();};}util[_0x49c4('0x1f')](AGIChannel,EventEmitter);AGIChannel[_0x49c4('0x20')][_0x49c4('0x21')]=function(_0x4811c4){return this['command'][_0x49c4('0x22')](this,_0x4811c4);};AGIChannel[_0x49c4('0x20')]['answer']=function(){return this[_0x49c4('0x21')](_0x49c4('0x23'));};AGIChannel[_0x49c4('0x20')][_0x49c4('0x24')]=function(_0x531d92,_0x543ea2,_0x449960){_0x531d92=_0x531d92===undefined?'beep':_0x531d92;_0x543ea2=_0x543ea2===undefined?'5':_0x543ea2;_0x449960=_0x449960===undefined?'1':_0x449960;return this[_0x49c4('0x21')](util[_0x49c4('0x25')](_0x49c4('0x26'),_0x531d92,_0x543ea2*0x3e8,_0x449960));};AGIChannel[_0x49c4('0x20')]['noop']=function(_0x889909){_0x889909=_0x889909||_0x49c4('0x27');return this[_0x49c4('0x21')](util[_0x49c4('0x25')](_0x49c4('0x28'),_0x889909));};AGIChannel[_0x49c4('0x20')][_0x49c4('0x29')]=function(_0x427b26,_0x17b50f){if(_[_0x49c4('0x2a')](_0x17b50f)){return this[_0x49c4('0x21')](util['format']('EXEC\x20%s\x20%s',_0x427b26,_0x17b50f['join'](',')));}return this[_0x49c4('0x21')](util[_0x49c4('0x25')](_0x49c4('0x2b'),_0x427b26,_0x17b50f));};AGIChannel[_0x49c4('0x20')][_0x49c4('0x2c')]=function(_0x574fd3){return this[_0x49c4('0x21')](util[_0x49c4('0x25')](_0x49c4('0x2d'),_0x574fd3));};AGIChannel[_0x49c4('0x20')]['setExtension']=function(_0x57a29c){return this[_0x49c4('0x21')](util[_0x49c4('0x25')](_0x49c4('0x2e'),_0x57a29c));};AGIChannel[_0x49c4('0x20')][_0x49c4('0x2f')]=function(_0x4a0c7a){return this[_0x49c4('0x21')](util[_0x49c4('0x25')](_0x49c4('0x30'),_0x4a0c7a));};AGIChannel['prototype']['hangup']=function(){return this[_0x49c4('0x21')](_0x49c4('0x31'));};AGIChannel[_0x49c4('0x20')][_0x49c4('0x32')]=function(_0x2b45a1,_0x2cf897){var _0x1d1557=_[_0x49c4('0x33')](_0x2cf897)||_[_0x49c4('0x34')](_0x2cf897)?_0x2cf897['toString']():_0x2cf897;return this[_0x49c4('0x21')](util['format'](_0x49c4('0x35'),_0x2b45a1,_0x1d1557?_0x1d1557[_0x49c4('0x36')]()[_0x49c4('0xf')](/(\r\n|\n|\r)/gm,'\x20'):''));};AGIChannel[_0x49c4('0x20')]['sayNumber']=function(_0x335f0c,_0x31f3ff){return this[_0x49c4('0x21')](util['format'](_0x49c4('0x37'),_0x335f0c,_0x31f3ff));};AGIChannel[_0x49c4('0x20')][_0x49c4('0x38')]=function(_0x5e5366,_0x1ba7a0){return this[_0x49c4('0x21')](util[_0x49c4('0x25')](_0x49c4('0x39'),_0x5e5366,_0x1ba7a0));};AGIChannel[_0x49c4('0x20')][_0x49c4('0x3a')]=function(_0x1e506a,_0x4e0663){return this[_0x49c4('0x21')](util[_0x49c4('0x25')](_0x49c4('0x3b'),_0x1e506a,_0x4e0663));};AGIChannel[_0x49c4('0x20')][_0x49c4('0x3c')]=function(_0x29dd5d,_0x1be62d,_0xc9722b){_0x1be62d=_0x1be62d||this[_0x49c4('0x3d')];_0xc9722b=_0xc9722b||0x1;this[_0x49c4('0x2c')](_0x29dd5d);this[_0x49c4('0x3e')](_0x1be62d);this[_0x49c4('0x2f')](_0xc9722b);return this[_0x49c4('0x3f')](util['format'](_0x49c4('0x40'),_0x29dd5d,_0x1be62d,_0xc9722b));};AGIChannel['prototype'][_0x49c4('0x41')]=function(_0x4915bc){return this[_0x49c4('0x21')](util[_0x49c4('0x25')](_0x49c4('0x42'),_0x4915bc));};AGIChannel[_0x49c4('0x20')]['recordFile']=function(_0x4d628a,_0x20490b,_0x1e7bdc,_0x38349b,_0x117151,_0x490823){_0x20490b=_0x20490b||_0x49c4('0x43');_0x1e7bdc=_0x1e7bdc||'';_0x38349b=_0x38349b===undefined?-0x1:_0x38349b==='-1'?-0x1:_0x38349b*0x3e8;_0x117151=_0x117151===undefined?'':'s='+_0x117151;_0x490823=_0x490823?_0x49c4('0x44'):'';return this[_0x49c4('0x21')](util[_0x49c4('0x25')](_0x49c4('0x45'),_0x4d628a,_0x20490b,_0x1e7bdc,_0x38349b,_0x490823,_0x117151));};AGIChannel[_0x49c4('0x20')][_0x49c4('0x46')]=function(_0x3351c1,_0x3c4a1d){_0x3c4a1d=_0x3c4a1d||'';return this['sendRequest'](util[_0x49c4('0x25')]('STREAM\x20FILE\x20\x22%s\x22\x20\x22%s\x22',_0x3351c1,_0x3c4a1d));};AGIChannel[_0x49c4('0x20')][_0x49c4('0x47')]=function(_0x301def){return this[_0x49c4('0x29')](_0x49c4('0x48'),_0x301def);};AGIChannel['prototype'][_0x49c4('0x49')]=function(_0x15b674){return this[_0x49c4('0x29')](_0x49c4('0x4a'),_0x15b674);};AGIChannel[_0x49c4('0x20')][_0x49c4('0x16')]=function(_0x9779ef,_0x4d89e0){this[_0x49c4('0x3f')](util['format'](_0x49c4('0x4b'),_0x9779ef['id'],_0x9779ef[_0x49c4('0x4c')],_0x4d89e0));return{'code':0x1f4,'result':'-1','extra':''};};module[_0x49c4('0x4d')]=AGIChannel; \ No newline at end of file +var _0xe706=['wav','RECORD\x20FILE\x20\x22%s\x22\x20\x22%s\x22\x20\x22%s\x22\x20%s\x20%s\x20%s','STREAM\x20FILE\x20\x22%s\x22\x20\x22%s\x22','agi','AGI','wait','WAIT','label','exports','util','lodash','events','./reply','./error','call','setEncoding','utf8','setTimeout','headers','emit','ready','line','toLowerCase','hangup','search','520\x20End\x20of\x20proper','function','substring','no\x20code','indexOf','startsWith','split','length','error','close','E_AGI_SOCKET_CLOSE','timeout','E_AGI_SOCKET_TIMEOUT','destroy','pipe','write','inherits','command','sync','answer','sendRequest','prototype','getData','beep','format','GET\x20DATA\x20\x22%s\x22\x20%s\x20%s','NO\x20MESSAGE','VERBOSE\x20\x22%s\x22','exec','isArray','join','EXEC\x20%s\x20%s','SET\x20CONTEXT\x20%s','SET\x20EXTENSION\x20%s','setPriority','SET\x20PRIORITY\x20%s','HANGUP','setVariable','isBoolean','isNumber','toString','SET\x20VARIABLE\x20%s\x20\x22%s\x22','SAY\x20NUMBER\x20%s\x20%s','SAY\x20DIGITS\x20%s\x20%s','sayPhonetic','SAY\x20PHONETIC\x20\x22%s\x22\x20%s','continueAt','setExtension','noop','GOTO\x20%s\x20%s\x20%s','getVariable','recordFile'];(function(_0x5cc556,_0x158710){var _0x12103b=function(_0x13ff4a){while(--_0x13ff4a){_0x5cc556['push'](_0x5cc556['shift']());}};_0x12103b(++_0x158710);}(_0xe706,0xa3));var _0x6e70=function(_0x5b8df6,_0x3afca6){_0x5b8df6=_0x5b8df6-0x0;var _0x234e78=_0xe706[_0x5b8df6];return _0x234e78;};'use strict';var util=require(_0x6e70('0x0'));var _=require(_0x6e70('0x1'));var EventEmitter=require(_0x6e70('0x2'))['EventEmitter'];var AGIReply=require(_0x6e70('0x3'));var AGIError=require(_0x6e70('0x4'));function AGIChannel(_0x2ca810){var _0x7dfbc3=this,_0x142c27=new AGIReply(),_0x2164a4=![],_0x376a8d={};EventEmitter[_0x6e70('0x5')](_0x7dfbc3);_0x2ca810[_0x6e70('0x6')](_0x6e70('0x7'));_0x2ca810[_0x6e70('0x8')](0x8*0x3c*0x3c*0x3e8);_0x142c27[_0x6e70('0x6')](_0x6e70('0x7'));_0x142c27['on'](_0x6e70('0x9'),function(_0x3c4843){for(var _0x449b48 in _0x3c4843){_0x7dfbc3[_0x449b48]=_0x3c4843[_0x449b48];}_0x7dfbc3[_0x6e70('0xa')](_0x6e70('0xb'));});_0x142c27['on'](_0x6e70('0xc'),function(_0x463853){if(_0x463853[_0x6e70('0xd')]()==_0x6e70('0xe')){_0x7dfbc3[_0x6e70('0xa')](_0x6e70('0xe'));return;}if(_0x463853['substring'](0x0,0xb)=='520-Invalid'){_0x2164a4=!![];}if(_0x2164a4){_0x376a8d['rx']+=_0x463853+'\x0a';if(_0x463853[_0x6e70('0xf')](_0x6e70('0x10'))!=-0x1){_0x2164a4=![];}}else{_0x376a8d['rx']=_0x463853;}if(_0x2164a4){return;}if(typeof _0x376a8d['cb']==_0x6e70('0x11')){var _0x27dd9b=_0x376a8d['rx'][_0x6e70('0x12')](0x0,0x3),_0x3b38f3=null,_0x310eb7=null;_0x27dd9b=parseInt(_0x27dd9b);if(isNaN(_0x27dd9b)){_0x376a8d['cb'](null,{'code':0x1f4,'result':-0x1,'extra':_0x6e70('0x13')});return;}if(_0x27dd9b!=0xc8){_0x376a8d['cb'](null,{'code':_0x27dd9b,'result':-0x1,'extra':'KO'});return;}_0x3b38f3=_0x376a8d['rx']['substring'](0x4)['replace']('result=','');if(_0x3b38f3[_0x6e70('0x14')]('\x20')!=-0x1){_0x3b38f3=_0x3b38f3['substr'](0x0,_0x3b38f3['indexOf']('\x20'));}if(_[_0x6e70('0x15')](_0x3b38f3,'-1')){_0x3b38f3=parseInt(_0x3b38f3);}_0x310eb7=_0x376a8d['rx'][_0x6e70('0x16')]('\x20');if(_0x310eb7['length']==0x3){_0x310eb7=_0x310eb7[0x2][_0x6e70('0x12')](0x1,_0x310eb7[0x2]['length']-0x1);}else if(_0x310eb7[_0x6e70('0x17')]>0x3){var _0x161f23=/\((.+)\)/;var _0x4ca554=_0x376a8d['rx']['match'](_0x161f23);if(_0x4ca554){_0x310eb7=_0x4ca554[0x1];}else{_0x310eb7=null;}}else{_0x310eb7=null;}_0x376a8d['cb'](null,{'code':_0x27dd9b,'result':_0x3b38f3,'extra':_0x310eb7});}});_0x2ca810['on'](_0x6e70('0x18'),function(_0x5ea7a5){_0x7dfbc3[_0x6e70('0xa')](_0x6e70('0x18'),new AGIError('E_AGI_SOCKET_ERROR',_0x5ea7a5['code']));});_0x2ca810['on'](_0x6e70('0x19'),function(){_0x7dfbc3[_0x6e70('0xa')](_0x6e70('0x19'),new AGIError(_0x6e70('0x1a')));});_0x2ca810['on'](_0x6e70('0x1b'),function(){_0x7dfbc3[_0x6e70('0xa')](_0x6e70('0x1b'),new AGIError(_0x6e70('0x1c')));_0x2ca810[_0x6e70('0x1d')]();});_0x2ca810[_0x6e70('0x1e')](_0x142c27);this['command']=function(_0x228350,_0x344b65){var _0x228350=_0x228350||'',_0x344b65=typeof _0x344b65==_0x6e70('0x11')?_0x344b65:new Function();_0x376a8d={'tx':_0x228350,'rx':'','cb':_0x344b65};_0x2ca810[_0x6e70('0x1f')](_0x228350+'\x0a');},this[_0x6e70('0x19')]=function(){_0x2ca810['destroy']();};}util[_0x6e70('0x20')](AGIChannel,EventEmitter);AGIChannel['prototype']['sendRequest']=function(_0x4e97c7){return this[_0x6e70('0x21')][_0x6e70('0x22')](this,_0x4e97c7);};AGIChannel['prototype'][_0x6e70('0x23')]=function(){return this[_0x6e70('0x24')]('ANSWER');};AGIChannel[_0x6e70('0x25')][_0x6e70('0x26')]=function(_0x2bb231,_0x4a67ac,_0x54a5fe){_0x2bb231=_0x2bb231===undefined?_0x6e70('0x27'):_0x2bb231;_0x4a67ac=_0x4a67ac===undefined?'5':_0x4a67ac;_0x54a5fe=_0x54a5fe===undefined?'1':_0x54a5fe;return this[_0x6e70('0x24')](util[_0x6e70('0x28')](_0x6e70('0x29'),_0x2bb231,_0x4a67ac*0x3e8,_0x54a5fe));};AGIChannel[_0x6e70('0x25')]['noop']=function(_0x1952ea){_0x1952ea=_0x1952ea||_0x6e70('0x2a');return this[_0x6e70('0x24')](util[_0x6e70('0x28')](_0x6e70('0x2b'),_0x1952ea));};AGIChannel[_0x6e70('0x25')][_0x6e70('0x2c')]=function(_0x24114a,_0x3a0821){if(_[_0x6e70('0x2d')](_0x3a0821)){return this['sendRequest'](util[_0x6e70('0x28')]('EXEC\x20%s\x20%s',_0x24114a,_0x3a0821[_0x6e70('0x2e')](',')));}return this['sendRequest'](util[_0x6e70('0x28')](_0x6e70('0x2f'),_0x24114a,_0x3a0821));};AGIChannel[_0x6e70('0x25')]['setContext']=function(_0x38c40d){return this[_0x6e70('0x24')](util['format'](_0x6e70('0x30'),_0x38c40d));};AGIChannel[_0x6e70('0x25')]['setExtension']=function(_0x10d8f6){return this[_0x6e70('0x24')](util[_0x6e70('0x28')](_0x6e70('0x31'),_0x10d8f6));};AGIChannel[_0x6e70('0x25')][_0x6e70('0x32')]=function(_0x44b19d){return this[_0x6e70('0x24')](util[_0x6e70('0x28')](_0x6e70('0x33'),_0x44b19d));};AGIChannel['prototype'][_0x6e70('0xe')]=function(){return this['sendRequest'](_0x6e70('0x34'));};AGIChannel[_0x6e70('0x25')][_0x6e70('0x35')]=function(_0x32d12d,_0x233a83){var _0x989b80=_[_0x6e70('0x36')](_0x233a83)||_[_0x6e70('0x37')](_0x233a83)?_0x233a83[_0x6e70('0x38')]():_0x233a83;return this[_0x6e70('0x24')](util[_0x6e70('0x28')](_0x6e70('0x39'),_0x32d12d,_0x989b80?_0x989b80[_0x6e70('0x38')]()['replace'](/(\r\n|\n|\r)/gm,'\x20'):''));};AGIChannel['prototype']['sayNumber']=function(_0x155a46,_0x3841a0){return this[_0x6e70('0x24')](util[_0x6e70('0x28')](_0x6e70('0x3a'),_0x155a46,_0x3841a0));};AGIChannel[_0x6e70('0x25')]['sayDigits']=function(_0x3b508c,_0x9e7ad2){return this[_0x6e70('0x24')](util[_0x6e70('0x28')](_0x6e70('0x3b'),_0x3b508c,_0x9e7ad2));};AGIChannel[_0x6e70('0x25')][_0x6e70('0x3c')]=function(_0x16fc7d,_0x5be100){return this[_0x6e70('0x24')](util[_0x6e70('0x28')](_0x6e70('0x3d'),_0x16fc7d,_0x5be100));};AGIChannel[_0x6e70('0x25')][_0x6e70('0x3e')]=function(_0x1de947,_0x21b0e7,_0x4a8adc){_0x21b0e7=_0x21b0e7||this['extension'];_0x4a8adc=_0x4a8adc||0x1;this['setContext'](_0x1de947);this[_0x6e70('0x3f')](_0x21b0e7);this[_0x6e70('0x32')](_0x4a8adc);return this[_0x6e70('0x40')](util[_0x6e70('0x28')](_0x6e70('0x41'),_0x1de947,_0x21b0e7,_0x4a8adc));};AGIChannel['prototype'][_0x6e70('0x42')]=function(_0x2a58d7){return this[_0x6e70('0x24')](util['format']('GET\x20VARIABLE\x20\x22%s\x22',_0x2a58d7));};AGIChannel['prototype'][_0x6e70('0x43')]=function(_0x5cca5b,_0x42f49a,_0x39913a,_0x3fed21,_0x75a90d,_0x59c87d){_0x42f49a=_0x42f49a||_0x6e70('0x44');_0x39913a=_0x39913a||'';_0x3fed21=_0x3fed21===undefined?-0x1:_0x3fed21==='-1'?-0x1:_0x3fed21*0x3e8;_0x75a90d=_0x75a90d===undefined?'':'s='+_0x75a90d;_0x59c87d=_0x59c87d?'BEEP':'';return this[_0x6e70('0x24')](util[_0x6e70('0x28')](_0x6e70('0x45'),_0x5cca5b,_0x42f49a,_0x39913a,_0x3fed21,_0x59c87d,_0x75a90d));};AGIChannel[_0x6e70('0x25')]['streamFile']=function(_0x291de6,_0x44b637){_0x44b637=_0x44b637||'';return this[_0x6e70('0x24')](util[_0x6e70('0x28')](_0x6e70('0x46'),_0x291de6,_0x44b637));};AGIChannel[_0x6e70('0x25')][_0x6e70('0x47')]=function(_0x552e7e){return this[_0x6e70('0x2c')](_0x6e70('0x48'),_0x552e7e);};AGIChannel[_0x6e70('0x25')][_0x6e70('0x49')]=function(_0x3f86cf){return this[_0x6e70('0x2c')](_0x6e70('0x4a'),_0x3f86cf);};AGIChannel['prototype'][_0x6e70('0x18')]=function(_0x50cdf1,_0x11794e){this[_0x6e70('0x40')](util['format']('ID:%s\x20-\x20LABEL:\x20%s\x20-\x20MSG:\x20%s',_0x50cdf1['id'],_0x50cdf1[_0x6e70('0x4b')],_0x11794e));return{'code':0x1f4,'result':'-1','extra':''};};module[_0x6e70('0x4c')]=AGIChannel; \ No newline at end of file diff --git a/server/services/agi/error.js b/server/services/agi/error.js index ebfe68b..b6d79ed 100644 --- a/server/services/agi/error.js +++ b/server/services/agi/error.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x2fed=['Server\x20closed.','[LICENSE\x20VOICE]\x20Server\x20license\x20voice\x20disabled.','Socket\x20error.\x20Code:\x20%s.','Empty\x20command.','Missing\x20\x27ivr.agi_network_script\x27.','Missing\x20\x27ivr.entry\x27\x20menu.','push','format','apply','message','name','exports','util','Undefined\x20error.','Argument\x20\x27port\x27\x20missing\x20in\x20function\x20call.','Server\x20error.\x20Code:\x20%s.'];(function(_0x41a073,_0x3ea9e2){var _0x4b2c53=function(_0xa609ae){while(--_0xa609ae){_0x41a073['push'](_0x41a073['shift']());}};_0x4b2c53(++_0x3ea9e2);}(_0x2fed,0x7c));var _0xd2fe=function(_0x1127aa,_0x1acccb){_0x1127aa=_0x1127aa-0x0;var _0x5356aa=_0x2fed[_0x1127aa];return _0x5356aa;};'use strict';var util=require(_0xd2fe('0x0'));var error={'E_AGI_UNDEFINED':_0xd2fe('0x1'),'E_AGI_ARGUMENT_PORT':_0xd2fe('0x2'),'E_AGI_SERVER_ERROR':_0xd2fe('0x3'),'E_AGI_SERVER_CLOSE':_0xd2fe('0x4'),'E_AGI_SERVER_MAXCONNECTION':'[LICENSE]\x20Server\x20max\x20connection.\x20Count:\x20%s.','E_AGI_SERVER_VOICE_DISABLED':_0xd2fe('0x5'),'E_AGI_SOCKET_ERROR':_0xd2fe('0x6'),'E_AGI_SOCKET_CLOSE':'Socket\x20closed.','E_AGI_SOCKET_TIMEOUT':'Socket\x20timeout.','E_AGI_COMMAND_EMPTY':_0xd2fe('0x7'),'E_AGI_IVR_AGI_NETWORK_SCRIPT':_0xd2fe('0x8'),'E_AGI_IVR_ENTRY':_0xd2fe('0x9')};function AGIError(_0x5be4d3){var _0x5be4d3=_0x5be4d3||null,_0x44e015=_0x44e015||[],_0x3b6591=0x1,_0x42a8fb='';if(!error[_0x5be4d3]){_0x5be4d3='E_AGI_UNDEFINED';}_0x44e015[_0xd2fe('0xa')](error[_0x5be4d3]);while(arguments[_0x3b6591]){_0x44e015[_0xd2fe('0xa')](arguments[_0x3b6591]);_0x3b6591++;}_0x42a8fb=util[_0xd2fe('0xb')][_0xd2fe('0xc')](util,_0x44e015);this[_0xd2fe('0xd')]=_0x42a8fb;this[_0xd2fe('0xe')]=_0x5be4d3;}module[_0xd2fe('0xf')]=AGIError; \ No newline at end of file +var _0xe700=['message','exports','util','Undefined\x20error.','Argument\x20\x27port\x27\x20missing\x20in\x20function\x20call.','Server\x20error.\x20Code:\x20%s.','Server\x20closed.','[LICENSE\x20VOICE]\x20Server\x20license\x20voice\x20disabled.','Socket\x20closed.','Socket\x20timeout.','Missing\x20\x27ivr.entry\x27\x20menu.','E_AGI_UNDEFINED','push','format','apply'];(function(_0x529264,_0x3bd925){var _0x22b7dd=function(_0x23a9d7){while(--_0x23a9d7){_0x529264['push'](_0x529264['shift']());}};_0x22b7dd(++_0x3bd925);}(_0xe700,0x16a));var _0x0e70=function(_0x5e0365,_0x169816){_0x5e0365=_0x5e0365-0x0;var _0x414f90=_0xe700[_0x5e0365];return _0x414f90;};'use strict';var util=require(_0x0e70('0x0'));var error={'E_AGI_UNDEFINED':_0x0e70('0x1'),'E_AGI_ARGUMENT_PORT':_0x0e70('0x2'),'E_AGI_SERVER_ERROR':_0x0e70('0x3'),'E_AGI_SERVER_CLOSE':_0x0e70('0x4'),'E_AGI_SERVER_MAXCONNECTION':'[LICENSE]\x20Server\x20max\x20connection.\x20Count:\x20%s.','E_AGI_SERVER_VOICE_DISABLED':_0x0e70('0x5'),'E_AGI_SOCKET_ERROR':'Socket\x20error.\x20Code:\x20%s.','E_AGI_SOCKET_CLOSE':_0x0e70('0x6'),'E_AGI_SOCKET_TIMEOUT':_0x0e70('0x7'),'E_AGI_COMMAND_EMPTY':'Empty\x20command.','E_AGI_IVR_AGI_NETWORK_SCRIPT':'Missing\x20\x27ivr.agi_network_script\x27.','E_AGI_IVR_ENTRY':_0x0e70('0x8')};function AGIError(_0xc96045){var _0xc96045=_0xc96045||null,_0x65a900=_0x65a900||[],_0x51382d=0x1,_0x33f0c3='';if(!error[_0xc96045]){_0xc96045=_0x0e70('0x9');}_0x65a900[_0x0e70('0xa')](error[_0xc96045]);while(arguments[_0x51382d]){_0x65a900[_0x0e70('0xa')](arguments[_0x51382d]);_0x51382d++;}_0x33f0c3=util[_0x0e70('0xb')][_0x0e70('0xc')](util,_0x65a900);this[_0x0e70('0xd')]=_0x33f0c3;this['name']=_0xc96045;}module[_0x0e70('0xe')]=AGIError; \ No newline at end of file diff --git a/server/services/agi/graph/index.js b/server/services/agi/graph/index.js index 9d20a89..3ca3106 100644 --- a/server/services/agi/graph/index.js +++ b/server/services/agi/graph/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x9434=['relations','getVertex','prototype','traverseBFS','info','no\x20vertex\x20found','stop\x20traverse','length','condition','vswitch','target','default','invalid','agicommand','default\x20on\x20switch\x20not\x20found','includes','max\x20retry\x20reach','condition\x20not\x20found','exports','lodash','../../../config/logger','agi','menu','getdigits','getsecretdigits','edges','numberOfEdges','addVertex','push','size','vertices'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x9434,0x168));var _0x4943=function(_0x44623c,_0x209cc4){_0x44623c=_0x44623c-0x0;var _0x459436=_0x9434[_0x44623c];return _0x459436;};'use strict';var _=require(_0x4943('0x0'));var logger=require(_0x4943('0x1'))(_0x4943('0x2'));var verticesWithRetry=[_0x4943('0x3'),_0x4943('0x4'),_0x4943('0x5')];var Graph=function(){this['vertices']={};this[_0x4943('0x6')]={};this[_0x4943('0x7')]=0x0;};Graph['prototype'][_0x4943('0x8')]=function(_0x43b5b0){this['vertices'][_0x43b5b0['id']]=_0x43b5b0;this[_0x4943('0x6')][_0x43b5b0['id']]=[];};Graph['prototype']['addEdge']=function(_0x3ae08d,_0x2f4119,_0x1876eb){this[_0x4943('0x6')][_0x3ae08d][_0x4943('0x9')]({'target':_0x2f4119,'condition':_0x1876eb});this['numberOfEdges']+=0x1;};Graph['prototype'][_0x4943('0xa')]=function(){return _[_0x4943('0xa')](this[_0x4943('0xb')]);};Graph['prototype'][_0x4943('0xc')]=function(){return this[_0x4943('0x7')];};Graph['prototype'][_0x4943('0xd')]=function(_0x4a6943){return this['vertices'][_0x4a6943];};Graph[_0x4943('0xe')][_0x4943('0xf')]=function(_0x33fd73,_0x37a0f2){if(!this[_0x4943('0xb')][_0x33fd73]){return logger[_0x4943('0x10')](_0x4943('0x11'));}var _0x524c8a=_0x37a0f2(this[_0x4943('0xb')][_0x33fd73]);if(!_0x524c8a){return logger[_0x4943('0x10')](_0x4943('0x12'));}if(this[_0x4943('0x6')][_0x33fd73][_0x4943('0x13')]===0x0){return logger[_0x4943('0x10')]('no\x20edge/s\x20available');}for(var _0x26b707=0x0,_0x407485=[],_0xb08628=![];_0x26b707\x20to\x20extension\x20%s\x20with\x20uniqueid\x20%s','calleridname','callerid','dnid','[TIMEOUT]\x20%s\x20project:\x20from\x20\x22%s\x22\x20<%s>\x20to\x20extension\x20%s\x20with\x20uniqueid\x20%s','arg_1','uniqueid','[HANGUP]\x20%s\x20project:\x20from\x20\x22%s\x22\x20<%s>\x20to\x20extension\x20%s\x20with\x20uniqueid\x20%s','evtHangup','toJson','mxGraphModel','root','hasOwnProperty','retry','addVertex','omit','mxCell','isArray','length','source','target','value','then','catch','indexOf','agi_','debug','variables','stringify','close','timeout','sync','production','start','joinAt','YYYY-MM-DD\x20HH:mm:ss','[START\x20TRAVERSE]\x20%s\x20project:\x20from\x20\x22%s\x22\x20<%s>\x20to\x20extension\x20%s\x20with\x20uniqueid\x20%s','traverseBFS','clear','vertex','gotoc','gotoc\x20block\x20stop\x20traverse\x20BFS','priority','agicommand','response','code','result','toString','agicommand\x20not\x20found','finally','[FINALLY\x20TRAVERSE]\x20%s\x20project:\x20from\x20\x22%s\x22\x20<%s>\x20to\x20extension\x20%s\x20with\x20uniqueid\x20%s','isUndefined','[END]\x20%s\x20project:\x20from\x20\x22%s\x22\x20<%s>\x20to\x20extension\x20%s\x20with\x20uniqueid\x20%s','[GOTO]\x20context:\x20%s\x20extension:\x20%s\x20priority:\x20%s','context','extension','continueAt','Project\x20%s\x20not\x20found','voice','callysquare','[LICENSE]\x20CHANNELS:\x20%s','[LICENSE]\x20VOICE\x20IS\x20DISABLED','[LICENSE]','./server','port','listening','connection','xml2json','syncho','util','moment','../../config/environment','../../config/logger','agi','../../config/license/util','./rpc','./vertices','defaults','127.0.0.1','error'];(function(_0x3582de,_0x4cd6d1){var _0x202b18=function(_0x31e140){while(--_0x31e140){_0x3582de['push'](_0x3582de['shift']());}};_0x202b18(++_0x4cd6d1);}(_0x277c,0x153));var _0xc277=function(_0x2233de,_0x4be6f9){_0x2233de=_0x2233de-0x0;var _0x9e510e=_0x277c[_0x2233de];return _0x9e510e;};'use strict';var parser=require(_0xc277('0x0'));var _=require('lodash');var syncho=require(_0xc277('0x1'));var util=require(_0xc277('0x2'));var moment=require(_0xc277('0x3'));var config=require(_0xc277('0x4'));var logger=require(_0xc277('0x5'))(_0xc277('0x6'));var utilLicense=require(_0xc277('0x7'));var rpc=require(_0xc277('0x8'));var mailRpc=require('./mailRpc');var Graph=require('./graph');var Vertices=require(_0xc277('0x9'));var AGI_CODE_SUCCESS=0xc8;var AGI_RESULT_ERROR=-0x1;config['agi']=_[_0xc277('0xa')](config['agi'],{'ip':_0xc277('0xb'),'port':0x11dd});function connectionHandler(_0x17a2fe){process['nextTick'](function(){syncho(function(){try{setChannelVariables(_0x17a2fe);agiHandler(_0x17a2fe);}catch(_0x324ef7){logger[_0xc277('0xc')](_0x324ef7[_0xc277('0xd')]);}});});}function listeningHandler(){console[_0xc277('0xe')](_0xc277('0xf'),config[_0xc277('0x6')]['port']);logger['info'](util[_0xc277('0x10')](_0xc277('0x11'),config[_0xc277('0x6')]['ip'],config[_0xc277('0x6')]['port']));}function errorHandler(_0x4713da){if(_0x4713da&&_0x4713da['name']&&_0x4713da[_0xc277('0x12')]){logger[_0xc277('0xc')](util[_0xc277('0x10')](_0xc277('0x13'),_0x4713da['name'],_0x4713da[_0xc277('0x12')]));}else{logger[_0xc277('0xc')](util[_0xc277('0x10')]('[ERROR]\x20%s',_0x4713da['stack']));}}function closeHandler(){logger[_0xc277('0x14')](util['format'](_0xc277('0x15'),this['arg_1'],this[_0xc277('0x16')],this[_0xc277('0x17')],this[_0xc277('0x18')],this['uniqueid']));try{createSquareReport(this);}catch(_0x5cdb4b){logger[_0xc277('0xc')](_0x5cdb4b['stack']);}}function timeoutHandler(){logger['info'](util[_0xc277('0x10')](_0xc277('0x19'),this[_0xc277('0x1a')],this[_0xc277('0x16')],this[_0xc277('0x17')],this[_0xc277('0x18')],this[_0xc277('0x1b')]));}function hangupHandler(){logger['info'](util['format'](_0xc277('0x1c'),this[_0xc277('0x1a')],this[_0xc277('0x16')],this[_0xc277('0x17')],this[_0xc277('0x18')],this[_0xc277('0x1b')]));this[_0xc277('0x1d')]=!![];}function getRoot(_0x42cb0b){return parser[_0xc277('0x1e')](_0x42cb0b,{'object':!![]})[_0xc277('0x1f')][_0xc277('0x20')];}function addVertex(_0x57a198,_0x2b9936,_0x21af1b){_0x2b9936['agicommand']=_0x21af1b;if(_0x2b9936[_0xc277('0x21')]('retry')){_0x2b9936['maxRetry']=parseInt(_0x2b9936[_0xc277('0x22')],0xa);}_0x57a198[_0xc277('0x23')](_[_0xc277('0x24')](_0x2b9936,_0xc277('0x25')));}function initGraph(_0x245e84,_0x3aa598){var _0x37b893=new Graph();for(var _0x9ad1c5 in _0x245e84){if(_0x245e84[_0xc277('0x21')](_0x9ad1c5)){if(_[_0xc277('0x26')](_0x245e84[_0x9ad1c5])){for(var _0x40d17a=0x0;_0x40d17a<_0x245e84[_0x9ad1c5]['length'];_0x40d17a+=0x1){addVertex(_0x37b893,_0x245e84[_0x9ad1c5][_0x40d17a],_0x9ad1c5);}}else{addVertex(_0x37b893,_0x245e84[_0x9ad1c5],_0x9ad1c5);}}}for(var _0x5f3933=0x0;_0x5f3933<_0x3aa598[_0xc277('0x27')];_0x5f3933+=0x1){if(_0x3aa598[_0x5f3933][_0xc277('0x28')]&&_0x3aa598[_0x5f3933]['target']){_0x37b893['addEdge'](_0x3aa598[_0x5f3933][_0xc277('0x28')],_0x3aa598[_0x5f3933][_0xc277('0x29')],_0x3aa598[_0x5f3933][_0xc277('0x2a')]);}}return _0x37b893;}function getSquareProject(_0x21c78c,_0x3fc62f){rpc['getSquareProject'](_0x21c78c)[_0xc277('0x2b')](function(_0x5edf7e){_0x3fc62f(null,_0x5edf7e);})[_0xc277('0x2c')](function(_0x74ff17){_0x3fc62f(null,_0x74ff17);});}function createSquareReport(_0x4348d9,_0x881e70){rpc['createSquareReport'](_0x4348d9)[_0xc277('0x2b')](function(_0x5a7bb6){if(_0x881e70){_0x881e70(null,_0x5a7bb6);}})[_0xc277('0x2c')](function(_0x288e42){if(_0x881e70){_0x881e70(null,_0x288e42);}});}function setChannelVariables(_0xbc1a66){for(var _0x3591ab in _0xbc1a66){if(_0xbc1a66['hasOwnProperty'](_0x3591ab)){if(_0x3591ab[_0xc277('0x2d')](_0xc277('0x2e'))===0x0){_0xbc1a66[_0x3591ab['substring'](0x4)]=_0xbc1a66[_0x3591ab];delete _0xbc1a66[_0x3591ab];}}}}function getLogFromObject(_0x3ecc0b){return util['inspect'](_0x3ecc0b,{'showHidden':![],'depth':null});}function agiHandler(_0x1c8ab8){var _0x186f13,_0xcb92ba,_0x2cc802,_0x2cc28d,_0x86f57b;logger[_0xc277('0x2f')](_0xc277('0x30'),JSON[_0xc277('0x31')](_0x1c8ab8,null,0x2));logger[_0xc277('0x14')](util[_0xc277('0x10')]('[START]\x20%s\x20project:\x20from\x20\x22%s\x22\x20<%s>\x20to\x20extension\x20%s\x20with\x20uniqueid\x20%s',_0x1c8ab8[_0xc277('0x1a')],_0x1c8ab8[_0xc277('0x16')],_0x1c8ab8[_0xc277('0x17')],_0x1c8ab8['dnid'],_0x1c8ab8[_0xc277('0x1b')]));_0x1c8ab8['on'](_0xc277('0xc'),errorHandler);_0x1c8ab8['on'](_0xc277('0x32'),closeHandler);_0x1c8ab8['on'](_0xc277('0x33'),timeoutHandler);_0x1c8ab8[_0xc277('0x1d')]=![];_0x1c8ab8['on']('hangup',hangupHandler);var _0x4de270=getSquareProject[_0xc277('0x34')](null,_0x1c8ab8['arg_1']);if(_0x4de270){if(_0x4de270[_0xc277('0x35')]){_0x186f13=getRoot(_0x4de270[_0xc277('0x35')]);if(_0x186f13&&_0x186f13[_0xc277('0x36')]){logger[_0xc277('0x2f')](_0xc277('0x20'),JSON[_0xc277('0x31')](_0x186f13,null,0x2));_0x1c8ab8[_0xc277('0x37')]=moment()[_0xc277('0x10')](_0xc277('0x38'));_0xcb92ba=initGraph(_[_0xc277('0x24')](_0x186f13,_0xc277('0x25')),_0x186f13['mxCell']);_0x2cc802=new Vertices(_0x1c8ab8,rpc,mailRpc);logger[_0xc277('0x14')](util[_0xc277('0x10')](_0xc277('0x39'),_0x1c8ab8['arg_1'],_0x1c8ab8[_0xc277('0x16')],_0x1c8ab8[_0xc277('0x17')],_0x1c8ab8['dnid'],_0x1c8ab8['uniqueid']));_0xcb92ba[_0xc277('0x3a')](_0x186f13[_0xc277('0x36')]['id'],function(_0x22c5b3){try{_0x22c5b3=_0x2cc802[_0xc277('0x3b')](_0x22c5b3);logger[_0xc277('0x2f')](_0xc277('0x3c'),JSON[_0xc277('0x31')](_0x22c5b3,null,0x2));if(_0x22c5b3['agicommand']===_0xc277('0x3d')){logger[_0xc277('0x14')](_0xc277('0x3e'));_0x1c8ab8['context']=_0x22c5b3['context']||_0x1c8ab8['context'];_0x1c8ab8['extension']=_0x22c5b3['extension'];_0x1c8ab8[_0xc277('0x3f')]=_0x22c5b3['priority']?_0x22c5b3[_0xc277('0x3f')]-0x1:0x1;return null;}else if(_0x22c5b3&&_0x2cc802[_0x22c5b3[_0xc277('0x40')]]){_0x86f57b=_0x2cc802[_0x22c5b3[_0xc277('0x40')]](_0x22c5b3);logger['info'](_0xc277('0x41'),JSON[_0xc277('0x31')](_0x86f57b,null,0x2));if(_0x86f57b&&_0x86f57b[_0xc277('0x42')]===AGI_CODE_SUCCESS&&_0x86f57b[_0xc277('0x43')]!==AGI_RESULT_ERROR&&!_0x1c8ab8['evtHangup']){logger[_0xc277('0x2f')](_0xc277('0x41'),getLogFromObject(_0x86f57b));return _['isUndefined'](_0x86f57b[_0xc277('0x43')])?null:_0x86f57b[_0xc277('0x43')][_0xc277('0x44')]();}else{logger[_0xc277('0xc')](_0xc277('0x41'),getLogFromObject(_0x86f57b));return null;}}else{logger[_0xc277('0xc')](_0xc277('0x45'));return null;}}catch(_0x30560b){logger[_0xc277('0xc')](_0x30560b[_0xc277('0xd')]);return null;}});if(_0x186f13[_0xc277('0x46')]){logger['info'](util[_0xc277('0x10')](_0xc277('0x47'),_0x1c8ab8[_0xc277('0x1a')],_0x1c8ab8[_0xc277('0x16')],_0x1c8ab8['callerid'],_0x1c8ab8[_0xc277('0x18')],_0x1c8ab8['uniqueid']));_0xcb92ba[_0xc277('0x3a')](_0x186f13[_0xc277('0x46')]['id'],function(_0x4f5c5e){try{_0x4f5c5e=_0x2cc802[_0xc277('0x3b')](_0x4f5c5e);logger[_0xc277('0x2f')]('vertex',JSON[_0xc277('0x31')](_0x4f5c5e,null,0x2));if(_0x4f5c5e&&_0x2cc802[_0x4f5c5e[_0xc277('0x40')]]){_0x86f57b=_0x2cc802[_0x4f5c5e[_0xc277('0x40')]](_0x4f5c5e);if(_0x86f57b){logger[_0xc277('0x2f')]('response',getLogFromObject(_0x86f57b));return _[_0xc277('0x48')](_0x86f57b[_0xc277('0x43')])?null:_0x86f57b[_0xc277('0x43')]['toString']();}else{logger[_0xc277('0xc')]('response',getLogFromObject(_0x86f57b));return null;}}else{logger[_0xc277('0xc')](_0xc277('0x45'));return null;}}catch(_0x2265d3){logger[_0xc277('0xc')](_0x2265d3[_0xc277('0xd')]);return null;}});}logger[_0xc277('0x14')](util[_0xc277('0x10')](_0xc277('0x49'),_0x1c8ab8[_0xc277('0x1a')],_0x1c8ab8[_0xc277('0x16')],_0x1c8ab8[_0xc277('0x17')],_0x1c8ab8[_0xc277('0x18')],_0x1c8ab8['uniqueid']));logger[_0xc277('0x14')](util['format'](_0xc277('0x4a'),_0x1c8ab8[_0xc277('0x4b')],_0x1c8ab8[_0xc277('0x4c')],parseInt(_0x1c8ab8[_0xc277('0x3f')],0xa)+0x1));_0x1c8ab8[_0xc277('0x4d')](_0x1c8ab8['context'],_0x1c8ab8[_0xc277('0x4c')],parseInt(_0x1c8ab8[_0xc277('0x3f')],0xa)+0x1);_0x1c8ab8['close']();}}else{logger['error'](util[_0xc277('0x10')]('Project\x20%s\x20not\x20published',_0x1c8ab8[_0xc277('0x1a')]));_0x1c8ab8[_0xc277('0x4d')](_0x1c8ab8[_0xc277('0x4b')],_0x1c8ab8[_0xc277('0x4c')],parseInt(_0x1c8ab8[_0xc277('0x3f')],0xa)+0x1);_0x1c8ab8['close']();}}else{logger['error'](util[_0xc277('0x10')](_0xc277('0x4e'),_0x1c8ab8[_0xc277('0x1a')]));_0x1c8ab8['continueAt'](_0x1c8ab8[_0xc277('0x4b')],_0x1c8ab8['extension'],parseInt(_0x1c8ab8[_0xc277('0x3f')],0xa)+0x1);_0x1c8ab8[_0xc277('0x32')]();}}function main(){var _0x364957;return utilLicense['getLicense']()['then'](function(_0x55519b){if(_0x55519b){if(_0x55519b[_0xc277('0x4f')]){if(_0x55519b[_0xc277('0x50')]&&_0x55519b['callysquare']>0x0){logger['info'](util[_0xc277('0x10')](_0xc277('0x51'),_0x55519b[_0xc277('0x50')]));_0x364957=_0x55519b[_0xc277('0x50')];}else{logger['info']('[LICENSE]\x20CHANNELS:\x20UNLIMITED');}}else{logger['info'](_0xc277('0x52'));_0x364957=-0x1;}}})[_0xc277('0x2c')](function(_0x55b178){logger[_0xc277('0xc')](_0xc277('0x53'),_0x55b178['stack']);})['finally'](function(){var _0x3cbb8b=require(_0xc277('0x54'))(config[_0xc277('0x6')][_0xc277('0x55')],config[_0xc277('0x6')]['ip'],_0x364957);_0x3cbb8b['on'](_0xc277('0xc'),errorHandler);_0x3cbb8b['on'](_0xc277('0x56'),listeningHandler);_0x3cbb8b['on'](_0xc277('0x57'),connectionHandler);_0x3cbb8b['on']('close',closeHandler);});}main(); \ No newline at end of file +var _0x5577=['callysquare','[LICENSE]\x20CHANNELS:\x20UNLIMITED','[LICENSE]\x20VOICE\x20IS\x20DISABLED','./server','listening','connection','xml2json','syncho','util','../../config/environment','../../config/logger','agi','../../config/license/util','./rpc','./mailRpc','./vertices','defaults','127.0.0.1','nextTick','error','stack','log','Cally\x20Square\x20server\x20listening\x20on\x20port\x20%d!','port','info','name','message','format','[%s]\x20%s','[ERROR]\x20%s','[CLOSE]\x20%s\x20project:\x20from\x20\x22%s\x22\x20<%s>\x20to\x20extension\x20%s\x20with\x20uniqueid\x20%s','arg_1','callerid','dnid','uniqueid','[HANGUP]\x20%s\x20project:\x20from\x20\x22%s\x22\x20<%s>\x20to\x20extension\x20%s\x20with\x20uniqueid\x20%s','calleridname','toJson','root','agicommand','hasOwnProperty','retry','omit','isArray','length','target','addEdge','source','value','getSquareProject','then','catch','createSquareReport','indexOf','agi_','substring','inspect','debug','stringify','[START]\x20%s\x20project:\x20from\x20\x22%s\x22\x20<%s>\x20to\x20extension\x20%s\x20with\x20uniqueid\x20%s','close','evtHangup','hangup','sync','production','start','mxCell','clear','vertex','gotoc\x20block\x20stop\x20traverse\x20BFS','context','extension','priority','response','code','result','isUndefined','agicommand\x20not\x20found','[FINALLY\x20TRAVERSE]\x20%s\x20project:\x20from\x20\x22%s\x22\x20<%s>\x20to\x20extension\x20%s\x20with\x20uniqueid\x20%s','finally','toString','[GOTO]\x20context:\x20%s\x20extension:\x20%s\x20priority:\x20%s','continueAt','Project\x20%s\x20not\x20found','getLicense','voice'];(function(_0x34843e,_0x4c4224){var _0x598f7f=function(_0x12a44c){while(--_0x12a44c){_0x34843e['push'](_0x34843e['shift']());}};_0x598f7f(++_0x4c4224);}(_0x5577,0x1b4));var _0x7557=function(_0x2ce67d,_0x1d2f62){_0x2ce67d=_0x2ce67d-0x0;var _0x4c6afd=_0x5577[_0x2ce67d];return _0x4c6afd;};'use strict';var parser=require(_0x7557('0x0'));var _=require('lodash');var syncho=require(_0x7557('0x1'));var util=require(_0x7557('0x2'));var moment=require('moment');var config=require(_0x7557('0x3'));var logger=require(_0x7557('0x4'))(_0x7557('0x5'));var utilLicense=require(_0x7557('0x6'));var rpc=require(_0x7557('0x7'));var mailRpc=require(_0x7557('0x8'));var Graph=require('./graph');var Vertices=require(_0x7557('0x9'));var AGI_CODE_SUCCESS=0xc8;var AGI_RESULT_ERROR=-0x1;config[_0x7557('0x5')]=_[_0x7557('0xa')](config[_0x7557('0x5')],{'ip':_0x7557('0xb'),'port':0x11dd});function connectionHandler(_0x37f335){process[_0x7557('0xc')](function(){syncho(function(){try{setChannelVariables(_0x37f335);agiHandler(_0x37f335);}catch(_0x1089f8){logger[_0x7557('0xd')](_0x1089f8[_0x7557('0xe')]);}});});}function listeningHandler(){console[_0x7557('0xf')](_0x7557('0x10'),config[_0x7557('0x5')][_0x7557('0x11')]);logger[_0x7557('0x12')](util['format']('[LISTENING]\x20Cally\x20Square\x20listening\x20%s:%d',config[_0x7557('0x5')]['ip'],config[_0x7557('0x5')][_0x7557('0x11')]));}function errorHandler(_0x46ad55){if(_0x46ad55&&_0x46ad55[_0x7557('0x13')]&&_0x46ad55[_0x7557('0x14')]){logger[_0x7557('0xd')](util[_0x7557('0x15')](_0x7557('0x16'),_0x46ad55[_0x7557('0x13')],_0x46ad55['message']));}else{logger[_0x7557('0xd')](util[_0x7557('0x15')](_0x7557('0x17'),_0x46ad55['stack']));}}function closeHandler(){logger[_0x7557('0x12')](util[_0x7557('0x15')](_0x7557('0x18'),this[_0x7557('0x19')],this['calleridname'],this[_0x7557('0x1a')],this[_0x7557('0x1b')],this['uniqueid']));try{createSquareReport(this);}catch(_0x4a9cae){logger[_0x7557('0xd')](_0x4a9cae[_0x7557('0xe')]);}}function timeoutHandler(){logger[_0x7557('0x12')](util[_0x7557('0x15')]('[TIMEOUT]\x20%s\x20project:\x20from\x20\x22%s\x22\x20<%s>\x20to\x20extension\x20%s\x20with\x20uniqueid\x20%s',this[_0x7557('0x19')],this['calleridname'],this[_0x7557('0x1a')],this[_0x7557('0x1b')],this[_0x7557('0x1c')]));}function hangupHandler(){logger[_0x7557('0x12')](util['format'](_0x7557('0x1d'),this[_0x7557('0x19')],this[_0x7557('0x1e')],this[_0x7557('0x1a')],this[_0x7557('0x1b')],this['uniqueid']));this['evtHangup']=!![];}function getRoot(_0x4eb212){return parser[_0x7557('0x1f')](_0x4eb212,{'object':!![]})['mxGraphModel'][_0x7557('0x20')];}function addVertex(_0x352b63,_0x1e97d3,_0x9bbcf6){_0x1e97d3[_0x7557('0x21')]=_0x9bbcf6;if(_0x1e97d3[_0x7557('0x22')](_0x7557('0x23'))){_0x1e97d3['maxRetry']=parseInt(_0x1e97d3[_0x7557('0x23')],0xa);}_0x352b63['addVertex'](_[_0x7557('0x24')](_0x1e97d3,'mxCell'));}function initGraph(_0x45d1bf,_0x3aa642){var _0x4758b9=new Graph();for(var _0x42ae94 in _0x45d1bf){if(_0x45d1bf['hasOwnProperty'](_0x42ae94)){if(_[_0x7557('0x25')](_0x45d1bf[_0x42ae94])){for(var _0x4e69de=0x0;_0x4e69de<_0x45d1bf[_0x42ae94][_0x7557('0x26')];_0x4e69de+=0x1){addVertex(_0x4758b9,_0x45d1bf[_0x42ae94][_0x4e69de],_0x42ae94);}}else{addVertex(_0x4758b9,_0x45d1bf[_0x42ae94],_0x42ae94);}}}for(var _0x8960dd=0x0;_0x8960dd<_0x3aa642[_0x7557('0x26')];_0x8960dd+=0x1){if(_0x3aa642[_0x8960dd]['source']&&_0x3aa642[_0x8960dd][_0x7557('0x27')]){_0x4758b9[_0x7557('0x28')](_0x3aa642[_0x8960dd][_0x7557('0x29')],_0x3aa642[_0x8960dd][_0x7557('0x27')],_0x3aa642[_0x8960dd][_0x7557('0x2a')]);}}return _0x4758b9;}function getSquareProject(_0x414eec,_0x52fffa){rpc[_0x7557('0x2b')](_0x414eec)[_0x7557('0x2c')](function(_0x9080c6){_0x52fffa(null,_0x9080c6);})[_0x7557('0x2d')](function(_0x5b562e){_0x52fffa(null,_0x5b562e);});}function createSquareReport(_0x3e7dae,_0x9afab1){rpc[_0x7557('0x2e')](_0x3e7dae)[_0x7557('0x2c')](function(_0x4745de){if(_0x9afab1){_0x9afab1(null,_0x4745de);}})[_0x7557('0x2d')](function(_0x20a3ab){if(_0x9afab1){_0x9afab1(null,_0x20a3ab);}});}function setChannelVariables(_0x15fb1f){for(var _0x151a25 in _0x15fb1f){if(_0x15fb1f[_0x7557('0x22')](_0x151a25)){if(_0x151a25[_0x7557('0x2f')](_0x7557('0x30'))===0x0){_0x15fb1f[_0x151a25[_0x7557('0x31')](0x4)]=_0x15fb1f[_0x151a25];delete _0x15fb1f[_0x151a25];}}}}function getLogFromObject(_0x23bc9c){return util[_0x7557('0x32')](_0x23bc9c,{'showHidden':![],'depth':null});}function agiHandler(_0x2f903e){var _0x31f0e0,_0x881d1,_0x3914bf,_0x152fa3,_0x201dbe;logger[_0x7557('0x33')]('variables',JSON[_0x7557('0x34')](_0x2f903e,null,0x2));logger['info'](util['format'](_0x7557('0x35'),_0x2f903e['arg_1'],_0x2f903e[_0x7557('0x1e')],_0x2f903e['callerid'],_0x2f903e['dnid'],_0x2f903e[_0x7557('0x1c')]));_0x2f903e['on'](_0x7557('0xd'),errorHandler);_0x2f903e['on'](_0x7557('0x36'),closeHandler);_0x2f903e['on']('timeout',timeoutHandler);_0x2f903e[_0x7557('0x37')]=![];_0x2f903e['on'](_0x7557('0x38'),hangupHandler);var _0x239454=getSquareProject[_0x7557('0x39')](null,_0x2f903e[_0x7557('0x19')]);if(_0x239454){if(_0x239454[_0x7557('0x3a')]){_0x31f0e0=getRoot(_0x239454[_0x7557('0x3a')]);if(_0x31f0e0&&_0x31f0e0[_0x7557('0x3b')]){logger['debug']('root',JSON['stringify'](_0x31f0e0,null,0x2));_0x2f903e['joinAt']=moment()['format']('YYYY-MM-DD\x20HH:mm:ss');_0x881d1=initGraph(_[_0x7557('0x24')](_0x31f0e0,_0x7557('0x3c')),_0x31f0e0[_0x7557('0x3c')]);_0x3914bf=new Vertices(_0x2f903e,rpc,mailRpc);logger[_0x7557('0x12')](util['format']('[START\x20TRAVERSE]\x20%s\x20project:\x20from\x20\x22%s\x22\x20<%s>\x20to\x20extension\x20%s\x20with\x20uniqueid\x20%s',_0x2f903e[_0x7557('0x19')],_0x2f903e[_0x7557('0x1e')],_0x2f903e[_0x7557('0x1a')],_0x2f903e[_0x7557('0x1b')],_0x2f903e[_0x7557('0x1c')]));_0x881d1['traverseBFS'](_0x31f0e0[_0x7557('0x3b')]['id'],function(_0x5149c9){try{_0x5149c9=_0x3914bf[_0x7557('0x3d')](_0x5149c9);logger[_0x7557('0x33')](_0x7557('0x3e'),JSON[_0x7557('0x34')](_0x5149c9,null,0x2));if(_0x5149c9[_0x7557('0x21')]==='gotoc'){logger[_0x7557('0x12')](_0x7557('0x3f'));_0x2f903e[_0x7557('0x40')]=_0x5149c9[_0x7557('0x40')]||_0x2f903e['context'];_0x2f903e[_0x7557('0x41')]=_0x5149c9[_0x7557('0x41')];_0x2f903e[_0x7557('0x42')]=_0x5149c9['priority']?_0x5149c9[_0x7557('0x42')]-0x1:0x1;return null;}else if(_0x5149c9&&_0x3914bf[_0x5149c9['agicommand']]){_0x201dbe=_0x3914bf[_0x5149c9[_0x7557('0x21')]](_0x5149c9);logger['info'](_0x7557('0x43'),JSON['stringify'](_0x201dbe,null,0x2));if(_0x201dbe&&_0x201dbe[_0x7557('0x44')]===AGI_CODE_SUCCESS&&_0x201dbe[_0x7557('0x45')]!==AGI_RESULT_ERROR&&!_0x2f903e[_0x7557('0x37')]){logger[_0x7557('0x33')](_0x7557('0x43'),getLogFromObject(_0x201dbe));return _[_0x7557('0x46')](_0x201dbe['result'])?null:_0x201dbe['result']['toString']();}else{logger[_0x7557('0xd')](_0x7557('0x43'),getLogFromObject(_0x201dbe));return null;}}else{logger[_0x7557('0xd')](_0x7557('0x47'));return null;}}catch(_0xb28e7a){logger['error'](_0xb28e7a[_0x7557('0xe')]);return null;}});if(_0x31f0e0['finally']){logger[_0x7557('0x12')](util[_0x7557('0x15')](_0x7557('0x48'),_0x2f903e[_0x7557('0x19')],_0x2f903e[_0x7557('0x1e')],_0x2f903e[_0x7557('0x1a')],_0x2f903e[_0x7557('0x1b')],_0x2f903e[_0x7557('0x1c')]));_0x881d1['traverseBFS'](_0x31f0e0[_0x7557('0x49')]['id'],function(_0xde41d0){try{_0xde41d0=_0x3914bf[_0x7557('0x3d')](_0xde41d0);logger['debug'](_0x7557('0x3e'),JSON['stringify'](_0xde41d0,null,0x2));if(_0xde41d0&&_0x3914bf[_0xde41d0['agicommand']]){_0x201dbe=_0x3914bf[_0xde41d0[_0x7557('0x21')]](_0xde41d0);if(_0x201dbe){logger[_0x7557('0x33')](_0x7557('0x43'),getLogFromObject(_0x201dbe));return _[_0x7557('0x46')](_0x201dbe[_0x7557('0x45')])?null:_0x201dbe['result'][_0x7557('0x4a')]();}else{logger[_0x7557('0xd')](_0x7557('0x43'),getLogFromObject(_0x201dbe));return null;}}else{logger[_0x7557('0xd')](_0x7557('0x47'));return null;}}catch(_0x68e4b6){logger[_0x7557('0xd')](_0x68e4b6['stack']);return null;}});}logger['info'](util['format']('[END]\x20%s\x20project:\x20from\x20\x22%s\x22\x20<%s>\x20to\x20extension\x20%s\x20with\x20uniqueid\x20%s',_0x2f903e[_0x7557('0x19')],_0x2f903e[_0x7557('0x1e')],_0x2f903e[_0x7557('0x1a')],_0x2f903e[_0x7557('0x1b')],_0x2f903e[_0x7557('0x1c')]));logger[_0x7557('0x12')](util[_0x7557('0x15')](_0x7557('0x4b'),_0x2f903e['context'],_0x2f903e[_0x7557('0x41')],parseInt(_0x2f903e[_0x7557('0x42')],0xa)+0x1));_0x2f903e['continueAt'](_0x2f903e[_0x7557('0x40')],_0x2f903e['extension'],parseInt(_0x2f903e[_0x7557('0x42')],0xa)+0x1);_0x2f903e['close']();}}else{logger[_0x7557('0xd')](util[_0x7557('0x15')]('Project\x20%s\x20not\x20published',_0x2f903e[_0x7557('0x19')]));_0x2f903e[_0x7557('0x4c')](_0x2f903e[_0x7557('0x40')],_0x2f903e[_0x7557('0x41')],parseInt(_0x2f903e[_0x7557('0x42')],0xa)+0x1);_0x2f903e['close']();}}else{logger[_0x7557('0xd')](util[_0x7557('0x15')](_0x7557('0x4d'),_0x2f903e[_0x7557('0x19')]));_0x2f903e['continueAt'](_0x2f903e['context'],_0x2f903e[_0x7557('0x41')],parseInt(_0x2f903e['priority'],0xa)+0x1);_0x2f903e[_0x7557('0x36')]();}}function main(){var _0x37b470;return utilLicense[_0x7557('0x4e')]()[_0x7557('0x2c')](function(_0x532994){if(_0x532994){if(_0x532994[_0x7557('0x4f')]){if(_0x532994['callysquare']&&_0x532994['callysquare']>0x0){logger[_0x7557('0x12')](util[_0x7557('0x15')]('[LICENSE]\x20CHANNELS:\x20%s',_0x532994['callysquare']));_0x37b470=_0x532994[_0x7557('0x50')];}else{logger[_0x7557('0x12')](_0x7557('0x51'));}}else{logger[_0x7557('0x12')](_0x7557('0x52'));_0x37b470=-0x1;}}})[_0x7557('0x2d')](function(_0x5734c3){logger['error']('[LICENSE]',_0x5734c3[_0x7557('0xe')]);})[_0x7557('0x49')](function(){var _0xdfb25e=require(_0x7557('0x53'))(config[_0x7557('0x5')][_0x7557('0x11')],config['agi']['ip'],_0x37b470);_0xdfb25e['on'](_0x7557('0xd'),errorHandler);_0xdfb25e['on'](_0x7557('0x54'),listeningHandler);_0xdfb25e['on'](_0x7557('0x55'),connectionHandler);_0xdfb25e['on'](_0x7557('0x36'),closeHandler);});}main(); \ No newline at end of file diff --git a/server/services/agi/mailRpc/index.js b/server/services/agi/mailRpc/index.js index a0f524f..a5fd6e7 100644 --- a/server/services/agi/mailRpc/index.js +++ b/server/services/agi/mailRpc/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x9957=['result','catch','sendMailMessage','SendMail','bluebird','jayson/promise','client','http','request','error','message'];(function(_0x44369f,_0x5d16ad){var _0x13bf69=function(_0x31628c){while(--_0x31628c){_0x44369f['push'](_0x44369f['shift']());}};_0x13bf69(++_0x5d16ad);}(_0x9957,0x93));var _0x7995=function(_0x5b644e,_0x2e5e07){_0x5b644e=_0x5b644e-0x0;var _0x49c6bf=_0x9957[_0x5b644e];return _0x49c6bf;};'use strict';var BPromise=require(_0x7995('0x0'));var jayson=require(_0x7995('0x1'));var client=jayson[_0x7995('0x2')][_0x7995('0x3')]({'port':0x232b});function request(_0x5b96eb,_0x86c128){return new BPromise(function(_0x3c58eb,_0x1902b4){return client[_0x7995('0x4')](_0x5b96eb,_0x86c128)['then'](function(_0x744bea){if(_0x744bea[_0x7995('0x5')]){return _0x1902b4(_0x744bea[_0x7995('0x5')][_0x7995('0x6')]);}else{return _0x3c58eb(_0x744bea[_0x7995('0x7')]);}})[_0x7995('0x8')](function(_0x4996ca){return _0x1902b4(_0x4996ca);});});}exports[_0x7995('0x9')]=function(_0x1cad37,_0x4a64f7){return request(_0x7995('0xa'),{'account':_0x1cad37,'message':_0x4a64f7});}; \ No newline at end of file +var _0x9957=['result','catch','sendMailMessage','SendMail','bluebird','jayson/promise','client','http','request','error','message'];(function(_0x2a85c4,_0x1226a6){var _0x2c993c=function(_0x5c8a25){while(--_0x5c8a25){_0x2a85c4['push'](_0x2a85c4['shift']());}};_0x2c993c(++_0x1226a6);}(_0x9957,0x93));var _0x7995=function(_0x5ddb1c,_0x5ea4df){_0x5ddb1c=_0x5ddb1c-0x0;var _0x354adc=_0x9957[_0x5ddb1c];return _0x354adc;};'use strict';var BPromise=require(_0x7995('0x0'));var jayson=require(_0x7995('0x1'));var client=jayson[_0x7995('0x2')][_0x7995('0x3')]({'port':0x232b});function request(_0x5b96eb,_0x86c128){return new BPromise(function(_0x3c58eb,_0x1902b4){return client[_0x7995('0x4')](_0x5b96eb,_0x86c128)['then'](function(_0x744bea){if(_0x744bea[_0x7995('0x5')]){return _0x1902b4(_0x744bea[_0x7995('0x5')][_0x7995('0x6')]);}else{return _0x3c58eb(_0x744bea[_0x7995('0x7')]);}})[_0x7995('0x8')](function(_0x4996ca){return _0x1902b4(_0x4996ca);});});}exports[_0x7995('0x9')]=function(_0x1cad37,_0x4a64f7){return request(_0x7995('0xa'),{'account':_0x1cad37,'message':_0x4a64f7});}; \ No newline at end of file diff --git a/server/services/agi/reply.js b/server/services/agi/reply.js index 4580d24..8b1589b 100644 --- a/server/services/agi/reply.js +++ b/server/services/agi/reply.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xb10b=['call','_inBody','inherits','prototype','_transform','\x0d\x0a\x0d\x0a','_localBuffer','toString','indexOf','substring','split','trim','slice','length','emit','headers','line','exports','util','Transform'];(function(_0x4709c0,_0x3396c7){var _0x13348b=function(_0x426235){while(--_0x426235){_0x4709c0['push'](_0x4709c0['shift']());}};_0x13348b(++_0x3396c7);}(_0xb10b,0x12a));var _0xbb10=function(_0x43e4b3,_0x1444de){_0x43e4b3=_0x43e4b3-0x0;var _0x10c655=_0xb10b[_0x43e4b3];return _0x10c655;};'use strict';var util=require(_0xbb10('0x0'));var Transform=require('stream')[_0xbb10('0x1')];function AGIReply(_0x35bc5f){Transform[_0xbb10('0x2')](this,_0x35bc5f);this['_localBuffer']='';this[_0xbb10('0x3')]=![];}util[_0xbb10('0x4')](AGIReply,Transform);AGIReply[_0xbb10('0x5')][_0xbb10('0x6')]=function(_0x49baf4,_0x312b72,_0x481979){var _0x328583='\x0a',_0x3cdd53=['\x0a\x0a',_0xbb10('0x7')],_0x513741=-0x1,_0x1b9e94=-0x1,_0x3fb675='',_0x21370f=0x0,_0x1c3ee5='',_0x2353ef='';this[_0xbb10('0x8')]+=_0x49baf4[_0xbb10('0x9')]();_0x1c3ee5=this['_localBuffer'];if(!this['_inBody']){_0x21370f=0x0;while(_0x3cdd53[_0x21370f]){while((_0x1b9e94=_0x1c3ee5[_0xbb10('0xa')](_0x3cdd53[_0x21370f]))!=-0x1){_0x3fb675=_0x3cdd53[_0x21370f];_0x2353ef=_0x1c3ee5[_0xbb10('0xb')](0x0,_0x1b9e94);_0x1c3ee5=_0x1c3ee5[_0xbb10('0xb')](_0x1b9e94+_0x3fb675['length']);var _0x408248=_0x2353ef[_0xbb10('0xc')](_0x328583),_0x5be7e0=0x0,_0x44fb19={},_0x916a32='',_0x285009='',_0x193a27=-0x1;while(_0x408248[_0x5be7e0]){_0x193a27=_0x408248[_0x5be7e0][_0xbb10('0xa')](':');if(_0x193a27!=-0x1){_0x916a32=_0x408248[_0x5be7e0]['slice'](0x0,_0x193a27)[_0xbb10('0xd')]();_0x285009=_0x408248[_0x5be7e0][_0xbb10('0xe')](_0x193a27+0x1)[_0xbb10('0xd')]();if(_0x916a32[_0xbb10('0xf')]>0x0){_0x44fb19[_0x916a32]=_0x285009;}}else{}_0x5be7e0++;}this[_0xbb10('0x10')](_0xbb10('0x11'),_0x44fb19);this[_0xbb10('0x3')]=!![];}_0x21370f++;}this[_0xbb10('0x8')]=_0x1c3ee5;}else{while((_0x513741=_0x1c3ee5[_0xbb10('0xa')](_0x328583))!=-0x1){_0x2353ef=_0x1c3ee5[_0xbb10('0xb')](0x0,_0x513741);this['emit'](_0xbb10('0x12'),_0x2353ef);_0x1c3ee5=_0x1c3ee5[_0xbb10('0xb')](_0x513741+_0x328583[_0xbb10('0xf')]);}this[_0xbb10('0x8')]=_0x1c3ee5;}_0x481979();};module[_0xbb10('0x13')]=AGIReply; \ No newline at end of file +var _0xb10b=['call','_inBody','inherits','prototype','_transform','\x0d\x0a\x0d\x0a','_localBuffer','toString','indexOf','substring','split','trim','slice','length','emit','headers','line','exports','util','Transform'];(function(_0x3a60b8,_0x47caab){var _0x4eb583=function(_0x2251b5){while(--_0x2251b5){_0x3a60b8['push'](_0x3a60b8['shift']());}};_0x4eb583(++_0x47caab);}(_0xb10b,0x12a));var _0xbb10=function(_0xda4fad,_0x37db34){_0xda4fad=_0xda4fad-0x0;var _0x56ae95=_0xb10b[_0xda4fad];return _0x56ae95;};'use strict';var util=require(_0xbb10('0x0'));var Transform=require('stream')[_0xbb10('0x1')];function AGIReply(_0x35bc5f){Transform[_0xbb10('0x2')](this,_0x35bc5f);this['_localBuffer']='';this[_0xbb10('0x3')]=![];}util[_0xbb10('0x4')](AGIReply,Transform);AGIReply[_0xbb10('0x5')][_0xbb10('0x6')]=function(_0x49baf4,_0x312b72,_0x481979){var _0x328583='\x0a',_0x3cdd53=['\x0a\x0a',_0xbb10('0x7')],_0x513741=-0x1,_0x1b9e94=-0x1,_0x3fb675='',_0x21370f=0x0,_0x1c3ee5='',_0x2353ef='';this[_0xbb10('0x8')]+=_0x49baf4[_0xbb10('0x9')]();_0x1c3ee5=this['_localBuffer'];if(!this['_inBody']){_0x21370f=0x0;while(_0x3cdd53[_0x21370f]){while((_0x1b9e94=_0x1c3ee5[_0xbb10('0xa')](_0x3cdd53[_0x21370f]))!=-0x1){_0x3fb675=_0x3cdd53[_0x21370f];_0x2353ef=_0x1c3ee5[_0xbb10('0xb')](0x0,_0x1b9e94);_0x1c3ee5=_0x1c3ee5[_0xbb10('0xb')](_0x1b9e94+_0x3fb675['length']);var _0x408248=_0x2353ef[_0xbb10('0xc')](_0x328583),_0x5be7e0=0x0,_0x44fb19={},_0x916a32='',_0x285009='',_0x193a27=-0x1;while(_0x408248[_0x5be7e0]){_0x193a27=_0x408248[_0x5be7e0][_0xbb10('0xa')](':');if(_0x193a27!=-0x1){_0x916a32=_0x408248[_0x5be7e0]['slice'](0x0,_0x193a27)[_0xbb10('0xd')]();_0x285009=_0x408248[_0x5be7e0][_0xbb10('0xe')](_0x193a27+0x1)[_0xbb10('0xd')]();if(_0x916a32[_0xbb10('0xf')]>0x0){_0x44fb19[_0x916a32]=_0x285009;}}else{}_0x5be7e0++;}this[_0xbb10('0x10')](_0xbb10('0x11'),_0x44fb19);this[_0xbb10('0x3')]=!![];}_0x21370f++;}this[_0xbb10('0x8')]=_0x1c3ee5;}else{while((_0x513741=_0x1c3ee5[_0xbb10('0xa')](_0x328583))!=-0x1){_0x2353ef=_0x1c3ee5[_0xbb10('0xb')](0x0,_0x513741);this['emit'](_0xbb10('0x12'),_0x2353ef);_0x1c3ee5=_0x1c3ee5[_0xbb10('0xb')](_0x513741+_0x328583[_0xbb10('0xf')]);}this[_0xbb10('0x8')]=_0x1c3ee5;}_0x481979();};module[_0xbb10('0x13')]=AGIReply; \ No newline at end of file diff --git a/server/services/agi/rpc/index.js b/server/services/agi/rpc/index.js index 2f89240..b6f14ce 100644 --- a/server/services/agi/rpc/index.js +++ b/server/services/agi/rpc/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xe0de=['CreateSquareMessage','createCmContact','ShowCmHopper','ListId','CreateCmContact','getPauseById','LoginUser','agentPause','PauseUser','agentUnpause','UnpauseUser','agentLogout','lodash','util','jayson/promise','client','http','request','then','error','message','result','production','getMailAccountById','MailServerOut','Smtp','name','email','ShowSquareProject','getVoiceQueueById','ShowVoiceQueue','getVariableById','getSquareOdbcById','ShowSquareOdbc','dsn','getUserById','ShowUser','getTrunkById','ShowTrunk','getSoundById','ShowSound','save_name','getIntervalById','Interval','Intervals','getSmsAccountById','ShowSmsAccount','createSmsMessage','CreateSmsMessage','CreateSquareDetailsReport','createSquareReport','CreateSquareReport','merge','arg_1','arg_2','format','YYYY-MM-DD\x20HH:mm:ss','createSquareRecording','createSquareMessage'];(function(_0x1e9bf5,_0x2b8466){var _0x3e43a0=function(_0x4f74dd){while(--_0x4f74dd){_0x1e9bf5['push'](_0x1e9bf5['shift']());}};_0x3e43a0(++_0x2b8466);}(_0xe0de,0x1e4));var _0xee0d=function(_0x58c2e7,_0x464720){_0x58c2e7=_0x58c2e7-0x0;var _0x24ea33=_0xe0de[_0x58c2e7];return _0x24ea33;};'use strict';var BPromise=require('bluebird');var moment=require('moment');var _=require(_0xee0d('0x0'));var util=require(_0xee0d('0x1'));var jayson=require(_0xee0d('0x2'));var client=jayson[_0xee0d('0x3')][_0xee0d('0x4')]({'port':0x2329});function request(_0x539544,_0x38f8aa){return new BPromise(function(_0x21e708,_0xf308dd){return client[_0xee0d('0x5')](_0x539544,_0x38f8aa)[_0xee0d('0x6')](function(_0x985ba3){if(_0x985ba3[_0xee0d('0x7')]){return _0xf308dd(_0x985ba3['error'][_0xee0d('0x8')]);}else{return _0x21e708(_0x985ba3[_0xee0d('0x9')]);}})['catch'](function(_0x4b31a8){return _0xf308dd(_0x4b31a8);});});}exports['getSquareProject']=function(_0x23d092){return request('ShowSquareProject',{'options':{'raw':![],'where':{'name':_0x23d092},'attributes':[_0xee0d('0xa')]}});};exports[_0xee0d('0xb')]=function(_0x241227){return request('ShowMailAccount',{'options':{'raw':![],'where':{'id':_0x241227},'include':[{'model':_0xee0d('0xc'),'as':_0xee0d('0xd')}],'attributes':['id',_0xee0d('0xe'),_0xee0d('0xf')]}});};exports['getSquareProjectById']=function(_0x42c5ce){return request(_0xee0d('0x10'),{'options':{'where':{'id':_0x42c5ce},'attributes':['name']}});};exports[_0xee0d('0x11')]=function(_0x11d810){return request(_0xee0d('0x12'),{'options':{'where':{'id':_0x11d810},'attributes':['name']}});};exports[_0xee0d('0x13')]=function(_0x2b1c4a){return request('ShowVariable',{'options':{'where':{'id':_0x2b1c4a},'attributes':['name']}});};exports[_0xee0d('0x14')]=function(_0x2823b7){return request(_0xee0d('0x15'),{'options':{'where':{'id':_0x2823b7},'attributes':[_0xee0d('0x16')]}});};exports[_0xee0d('0x17')]=function(_0x56f77f){return request(_0xee0d('0x18'),{'options':{'where':{'id':_0x56f77f},'attributes':[_0xee0d('0xe')]}});};exports[_0xee0d('0x19')]=function(_0x2769db){return request(_0xee0d('0x1a'),{'options':{'where':{'id':_0x2769db},'attributes':['name']}});};exports[_0xee0d('0x1b')]=function(_0x19a94e){return request(_0xee0d('0x1c'),{'options':{'where':{'id':_0x19a94e},'attributes':[_0xee0d('0x1d')]}});};exports[_0xee0d('0x1e')]=function(_0x4e4628){return request('ShowInterval',{'options':{'raw':![],'where':{'id':_0x4e4628},'include':[{'model':_0xee0d('0x1f'),'as':_0xee0d('0x20')}]}});};exports[_0xee0d('0x21')]=function(_0x2d9e3f){return request(_0xee0d('0x22'),{'options':{'where':{'id':_0x2d9e3f},'attributes':['id',_0xee0d('0xe')]}});};exports[_0xee0d('0x23')]=function(_0x284a0d){return request(_0xee0d('0x24'),{'body':_0x284a0d});};exports['createSquareDetailsReport']=function(_0x20de85){return request(_0xee0d('0x25'),{'body':_0x20de85});};exports[_0xee0d('0x26')]=function(_0x1aaae9){return request(_0xee0d('0x27'),{'body':_[_0xee0d('0x28')](_0x1aaae9,{'project_name':_0x1aaae9[_0xee0d('0x29')],'prev_project_name':_0x1aaae9[_0xee0d('0x2a')]||'','is_subproject':_0x1aaae9[_0xee0d('0x2a')]?!![]:![],'leaveAt':moment()[_0xee0d('0x2b')](_0xee0d('0x2c'))})});};exports[_0xee0d('0x2d')]=function(_0x5e647c){return request('CreateSquareRecording',{'body':_0x5e647c});};exports[_0xee0d('0x2e')]=function(_0x1c9302){return request(_0xee0d('0x2f'),{'body':_0x1c9302});};exports[_0xee0d('0x30')]=function(_0x26dfbe){return request(_0xee0d('0x31'),{'options':{'raw':![],'where':{'phone':_0x26dfbe['phone'],'ListId':_0x26dfbe[_0xee0d('0x32')]}}})['then'](function(_0x42851e){if(_0x42851e){return _0x42851e;}return request(_0xee0d('0x33'),{'body':_0x26dfbe});});};exports[_0xee0d('0x34')]=function(_0x2c567e){return request('ShowPause',{'options':{'where':{'id':_0x2c567e},'attributes':['name']}});};exports['agentLogin']=function(_0x2565e4,_0x46a634){return request(_0xee0d('0x35'),{'body':{'interface':_0x46a634},'options':{'where':_0x2565e4}});};exports[_0xee0d('0x36')]=function(_0x52a3c6,_0x5598ae,_0x14f7b4){return request(_0xee0d('0x37'),{'body':{'type':_0x5598ae,'uniqueid':_0x14f7b4},'options':{'where':_0x52a3c6}});};exports[_0xee0d('0x38')]=function(_0x2092cf){return request(_0xee0d('0x39'),{'body':{},'options':{'where':_0x2092cf}});};exports[_0xee0d('0x3a')]=function(_0x57cb19){return request('LogoutUser',{'body':{},'options':{'where':_0x57cb19}});}; \ No newline at end of file +var _0x6ae7=['lodash','util','jayson/promise','http','request','then','error','result','getSquareProject','ShowSquareProject','production','ShowMailAccount','MailServerOut','Smtp','name','email','getSquareProjectById','getVariableById','getSquareOdbcById','dsn','getUserById','ShowUser','getTrunkById','ShowTrunk','getSoundById','ShowSound','save_name','ShowInterval','Interval','Intervals','getSmsAccountById','createSmsMessage','CreateSmsMessage','createSquareDetailsReport','CreateSquareDetailsReport','CreateSquareReport','arg_1','arg_2','format','YYYY-MM-DD\x20HH:mm:ss','createSquareRecording','CreateSquareRecording','createCmContact','ShowCmHopper','phone','ListId','getPauseById','ShowPause','agentLogin','LoginUser','agentPause','PauseUser','agentUnpause','UnpauseUser','LogoutUser'];(function(_0x432fca,_0xb0b1b5){var _0x3adba4=function(_0x5e3ae4){while(--_0x5e3ae4){_0x432fca['push'](_0x432fca['shift']());}};_0x3adba4(++_0xb0b1b5);}(_0x6ae7,0x6e));var _0x76ae=function(_0x2b784d,_0x4eb8e0){_0x2b784d=_0x2b784d-0x0;var _0x886ee8=_0x6ae7[_0x2b784d];return _0x886ee8;};'use strict';var BPromise=require('bluebird');var moment=require('moment');var _=require(_0x76ae('0x0'));var util=require(_0x76ae('0x1'));var jayson=require(_0x76ae('0x2'));var client=jayson['client'][_0x76ae('0x3')]({'port':0x2329});function request(_0x9fb618,_0x163beb){return new BPromise(function(_0x2d61d2,_0xca4f84){return client[_0x76ae('0x4')](_0x9fb618,_0x163beb)[_0x76ae('0x5')](function(_0x537226){if(_0x537226['error']){return _0xca4f84(_0x537226[_0x76ae('0x6')]['message']);}else{return _0x2d61d2(_0x537226[_0x76ae('0x7')]);}})['catch'](function(_0x20d61c){return _0xca4f84(_0x20d61c);});});}exports[_0x76ae('0x8')]=function(_0x2e618d){return request(_0x76ae('0x9'),{'options':{'raw':![],'where':{'name':_0x2e618d},'attributes':[_0x76ae('0xa')]}});};exports['getMailAccountById']=function(_0x316426){return request(_0x76ae('0xb'),{'options':{'raw':![],'where':{'id':_0x316426},'include':[{'model':_0x76ae('0xc'),'as':_0x76ae('0xd')}],'attributes':['id',_0x76ae('0xe'),_0x76ae('0xf')]}});};exports[_0x76ae('0x10')]=function(_0x1c6b79){return request(_0x76ae('0x9'),{'options':{'where':{'id':_0x1c6b79},'attributes':['name']}});};exports['getVoiceQueueById']=function(_0x43baa1){return request('ShowVoiceQueue',{'options':{'where':{'id':_0x43baa1},'attributes':[_0x76ae('0xe')]}});};exports[_0x76ae('0x11')]=function(_0x159c5b){return request('ShowVariable',{'options':{'where':{'id':_0x159c5b},'attributes':['name']}});};exports[_0x76ae('0x12')]=function(_0x211962){return request('ShowSquareOdbc',{'options':{'where':{'id':_0x211962},'attributes':[_0x76ae('0x13')]}});};exports[_0x76ae('0x14')]=function(_0x4dda9a){return request(_0x76ae('0x15'),{'options':{'where':{'id':_0x4dda9a},'attributes':['name']}});};exports[_0x76ae('0x16')]=function(_0x4b98bc){return request(_0x76ae('0x17'),{'options':{'where':{'id':_0x4b98bc},'attributes':[_0x76ae('0xe')]}});};exports[_0x76ae('0x18')]=function(_0x3ef9ee){return request(_0x76ae('0x19'),{'options':{'where':{'id':_0x3ef9ee},'attributes':[_0x76ae('0x1a')]}});};exports['getIntervalById']=function(_0x301c2e){return request(_0x76ae('0x1b'),{'options':{'raw':![],'where':{'id':_0x301c2e},'include':[{'model':_0x76ae('0x1c'),'as':_0x76ae('0x1d')}]}});};exports[_0x76ae('0x1e')]=function(_0x18fc66){return request('ShowSmsAccount',{'options':{'where':{'id':_0x18fc66},'attributes':['id','name']}});};exports[_0x76ae('0x1f')]=function(_0x487bd0){return request(_0x76ae('0x20'),{'body':_0x487bd0});};exports[_0x76ae('0x21')]=function(_0x31c867){return request(_0x76ae('0x22'),{'body':_0x31c867});};exports['createSquareReport']=function(_0x352ac4){return request(_0x76ae('0x23'),{'body':_['merge'](_0x352ac4,{'project_name':_0x352ac4[_0x76ae('0x24')],'prev_project_name':_0x352ac4[_0x76ae('0x25')]||'','is_subproject':_0x352ac4[_0x76ae('0x25')]?!![]:![],'leaveAt':moment()[_0x76ae('0x26')](_0x76ae('0x27'))})});};exports[_0x76ae('0x28')]=function(_0xca4ebb){return request(_0x76ae('0x29'),{'body':_0xca4ebb});};exports['createSquareMessage']=function(_0x5e958a){return request('CreateSquareMessage',{'body':_0x5e958a});};exports[_0x76ae('0x2a')]=function(_0x561db3){return request(_0x76ae('0x2b'),{'options':{'raw':![],'where':{'phone':_0x561db3[_0x76ae('0x2c')],'ListId':_0x561db3[_0x76ae('0x2d')]}}})[_0x76ae('0x5')](function(_0x478df6){if(_0x478df6){return _0x478df6;}return request('CreateCmContact',{'body':_0x561db3});});};exports[_0x76ae('0x2e')]=function(_0x580805){return request(_0x76ae('0x2f'),{'options':{'where':{'id':_0x580805},'attributes':['name']}});};exports[_0x76ae('0x30')]=function(_0x1a19c1,_0x453022){return request(_0x76ae('0x31'),{'body':{'interface':_0x453022},'options':{'where':_0x1a19c1}});};exports[_0x76ae('0x32')]=function(_0x3fd64c,_0x4f0525,_0x2dfe5e){return request(_0x76ae('0x33'),{'body':{'type':_0x4f0525,'uniqueid':_0x2dfe5e},'options':{'where':_0x3fd64c}});};exports[_0x76ae('0x34')]=function(_0x502c3f){return request(_0x76ae('0x35'),{'body':{},'options':{'where':_0x502c3f}});};exports['agentLogout']=function(_0x5bf637){return request(_0x76ae('0x36'),{'body':{},'options':{'where':_0x5bf637}});}; \ No newline at end of file diff --git a/server/services/agi/scripts/aws/index.js b/server/services/agi/scripts/aws/index.js index 106a879..d3560a9 100644 --- a/server/services/agi/scripts/aws/index.js +++ b/server/services/agi/scripts/aws/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x0bde=['./lex'];(function(_0x43e772,_0x4832d3){var _0x109875=function(_0x2bb528){while(--_0x2bb528){_0x43e772['push'](_0x43e772['shift']());}};_0x109875(++_0x4832d3);}(_0x0bde,0xe7));var _0xe0bd=function(_0x2641f9,_0x26715f){_0x2641f9=_0x2641f9-0x0;var _0x585741=_0x0bde[_0x2641f9];return _0x585741;};var polly=require('./polly');var lex=require(_0xe0bd('0x0'));module['exports']={'polly':polly,'lex':lex}; \ No newline at end of file +var _0x2d17=['./polly','./lex'];(function(_0x54457d,_0x5156a2){var _0x3a3c50=function(_0xfc3c06){while(--_0xfc3c06){_0x54457d['push'](_0x54457d['shift']());}};_0x3a3c50(++_0x5156a2);}(_0x2d17,0x17e));var _0x72d1=function(_0x349064,_0x482a57){_0x349064=_0x349064-0x0;var _0x272153=_0x2d17[_0x349064];return _0x272153;};var polly=require(_0x72d1('0x0'));var lex=require(_0x72d1('0x1'));module['exports']={'polly':polly,'lex':lex}; \ No newline at end of file diff --git a/server/services/agi/scripts/aws/lex/index.js b/server/services/agi/scripts/aws/lex/index.js index baa4c08..28670ec 100644 --- a/server/services/agi/scripts/aws/lex/index.js +++ b/server/services/agi/scripts/aws/lex/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xc2cc=['exports'];(function(_0x5d4607,_0x6b5e7b){var _0x5e4a86=function(_0x46891a){while(--_0x46891a){_0x5d4607['push'](_0x5d4607['shift']());}};_0x5e4a86(++_0x6b5e7b);}(_0xc2cc,0x70));var _0xcc2c=function(_0x4a9fb1,_0x273043){_0x4a9fb1=_0x4a9fb1-0x0;var _0x348672=_0xc2cc[_0x4a9fb1];return _0x348672;};'use strict';var lex=require('./lib/api');module[_0xcc2c('0x0')]=function(_0x1a1db8,_0x2d2c3a,_0x5aad8f,_0x2a1a4a,_0x52a81b,_0x23bd62){return lex(_0x1a1db8,_0x2d2c3a,_0x5aad8f,_0x2a1a4a,_0x52a81b,_0x23bd62);}; \ No newline at end of file +var _0x3140=['exports','./lib/api'];(function(_0x4f2c5c,_0x54301d){var _0x1342ff=function(_0x8119a3){while(--_0x8119a3){_0x4f2c5c['push'](_0x4f2c5c['shift']());}};_0x1342ff(++_0x54301d);}(_0x3140,0xaf));var _0x0314=function(_0x35e7f5,_0x505458){_0x35e7f5=_0x35e7f5-0x0;var _0x21327e=_0x3140[_0x35e7f5];return _0x21327e;};'use strict';var lex=require(_0x0314('0x0'));module[_0x0314('0x1')]=function(_0x3700c9,_0x37eaee,_0x4ac557,_0x4cf353,_0x285be5,_0x26c016){return lex(_0x3700c9,_0x37eaee,_0x4ac557,_0x4cf353,_0x285be5,_0x26c016);}; \ No newline at end of file diff --git a/server/services/agi/scripts/aws/lex/lib/api.js b/server/services/agi/scripts/aws/lex/lib/api.js index ac0cb54..439d3bd 100644 --- a/server/services/agi/scripts/aws/lex/lib/api.js +++ b/server/services/agi/scripts/aws/lex/lib/api.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x9164=['postText','hasOwnProperty','slots','slot_','exports','LexRuntime','$LATEST','aws-sdk'];(function(_0x201c8a,_0x46d068){var _0x1ab59a=function(_0x2e4ffb){while(--_0x2e4ffb){_0x201c8a['push'](_0x201c8a['shift']());}};_0x1ab59a(++_0x46d068);}(_0x9164,0x8f));var _0x4916=function(_0x20a584,_0xe384a5){_0x20a584=_0x20a584-0x0;var _0x4b41a8=_0x9164[_0x20a584];return _0x4b41a8;};'use strict';var BPromise=require('bluebird');var AWS=require(_0x4916('0x0'));function lexResult(_0x2c2301,_0x2e1e1f){return new BPromise(function(_0x4ee340,_0x134f12){_0x2c2301[_0x4916('0x1')](_0x2e1e1f,function(_0x5e7721,_0x374fd6){if(_0x5e7721){_0x134f12(_0x5e7721);}if(_0x374fd6['slots']){for(const _0x3c76b1 in _0x374fd6['slots']){if(_0x374fd6['slots'][_0x4916('0x2')](_0x3c76b1)){var _0x2d8970=_0x374fd6[_0x4916('0x3')][_0x3c76b1];_0x374fd6[_0x4916('0x4')+_0x3c76b1]=_0x2d8970;}}}_0x4ee340(_0x374fd6);});});}module[_0x4916('0x5')]=function(_0x376116,_0xc23284,_0x417fc3,_0x231bd7,_0x3201c3,_0x2a0b08){var _0x597b43=new AWS[(_0x4916('0x6'))]({'accessKeyId':_0xc23284,'secretAccessKey':_0x417fc3,'region':_0x231bd7});var _0x36acdb={'botAlias':_0x4916('0x7'),'botName':_0x2a0b08,'inputText':_0x3201c3,'userId':_0x376116};return lexResult(_0x597b43,_0x36acdb);}; \ No newline at end of file +var _0xc186=['slots','hasOwnProperty','slot_','exports','LexRuntime','$LATEST','aws-sdk'];(function(_0x2c746b,_0x59ef00){var _0x45bf03=function(_0x3cef6b){while(--_0x3cef6b){_0x2c746b['push'](_0x2c746b['shift']());}};_0x45bf03(++_0x59ef00);}(_0xc186,0x1e2));var _0x6c18=function(_0x190fd6,_0x57138b){_0x190fd6=_0x190fd6-0x0;var _0x32f16b=_0xc186[_0x190fd6];return _0x32f16b;};'use strict';var BPromise=require('bluebird');var AWS=require(_0x6c18('0x0'));function lexResult(_0x250e70,_0x4e1f0f){return new BPromise(function(_0x4c2e7a,_0x46c2f2){_0x250e70['postText'](_0x4e1f0f,function(_0x611e72,_0x111ee2){if(_0x611e72){_0x46c2f2(_0x611e72);}if(_0x111ee2['slots']){for(const _0xc76178 in _0x111ee2[_0x6c18('0x1')]){if(_0x111ee2['slots'][_0x6c18('0x2')](_0xc76178)){var _0x2517c2=_0x111ee2[_0x6c18('0x1')][_0xc76178];_0x111ee2[_0x6c18('0x3')+_0xc76178]=_0x2517c2;}}}_0x4c2e7a(_0x111ee2);});});}module[_0x6c18('0x4')]=function(_0x8a5ed3,_0x3b49ba,_0x1fbfce,_0x11f0ad,_0xa205f5,_0x902c40){var _0x598feb=new AWS[(_0x6c18('0x5'))]({'accessKeyId':_0x3b49ba,'secretAccessKey':_0x1fbfce,'region':_0x11f0ad});var _0x17fb31={'botAlias':_0x6c18('0x6'),'botName':_0x902c40,'inputText':_0xa205f5,'userId':_0x8a5ed3};return lexResult(_0x598feb,_0x17fb31);}; \ No newline at end of file diff --git a/server/services/agi/scripts/aws/polly/index.js b/server/services/agi/scripts/aws/polly/index.js index d9a1960..45dd7b8 100644 --- a/server/services/agi/scripts/aws/polly/index.js +++ b/server/services/agi/scripts/aws/polly/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x5975=['exports'];(function(_0x4fba44,_0x10e53c){var _0x1b87ec=function(_0x20015c){while(--_0x20015c){_0x4fba44['push'](_0x4fba44['shift']());}};_0x1b87ec(++_0x10e53c);}(_0x5975,0xe4));var _0x5597=function(_0x379940,_0x9452b){_0x379940=_0x379940-0x0;var _0x2b6db8=_0x5975[_0x379940];return _0x2b6db8;};'use strict';var polly=require('./lib/api');module[_0x5597('0x0')]=function(_0x4b553f,_0x301289,_0x4fbf8b,_0x49ee86,_0x2d31fd,_0x1d0eb0,_0x5c5aaf){return polly(_0x4b553f,_0x301289,_0x4fbf8b,_0x49ee86,_0x2d31fd,_0x1d0eb0,_0x5c5aaf);}; \ No newline at end of file +var _0x2b42=['exports'];(function(_0x241eb9,_0x5ccc3f){var _0x4f916b=function(_0x412d98){while(--_0x412d98){_0x241eb9['push'](_0x241eb9['shift']());}};_0x4f916b(++_0x5ccc3f);}(_0x2b42,0xe7));var _0x22b4=function(_0x52ab17,_0xf51f71){_0x52ab17=_0x52ab17-0x0;var _0x4f420f=_0x2b42[_0x52ab17];return _0x4f420f;};'use strict';var polly=require('./lib/api');module[_0x22b4('0x0')]=function(_0x54b59e,_0x15e6d2,_0x121aa6,_0x1bad3f,_0x133822,_0x131575,_0x11cf17){return polly(_0x54b59e,_0x15e6d2,_0x121aa6,_0x1bad3f,_0x133822,_0x131575,_0x11cf17);}; \ No newline at end of file diff --git a/server/services/agi/scripts/aws/polly/lib/api.js b/server/services/agi/scripts/aws/polly/lib/api.js index 8adf4f6..3e88996 100644 --- a/server/services/agi/scripts/aws/polly/lib/api.js +++ b/server/services/agi/scripts/aws/polly/lib/api.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x5b36=['mp3','path','bluebird','aws-sdk','AudioStream','writeFile','No\x20data\x20response\x20from\x20aws\x20Polly!','Polly'];(function(_0x2b76c0,_0x3ae2cd){var _0x3eed54=function(_0x15a559){while(--_0x15a559){_0x2b76c0['push'](_0x2b76c0['shift']());}};_0x3eed54(++_0x3ae2cd);}(_0x5b36,0x181));var _0x65b3=function(_0x3f6c94,_0x58e431){_0x3f6c94=_0x3f6c94-0x0;var _0x450300=_0x5b36[_0x3f6c94];return _0x450300;};'use strict';var fs=require('fs');var path=require(_0x65b3('0x0'));var BPromise=require(_0x65b3('0x1'));var rs=require('randomstring');var AWS=require(_0x65b3('0x2'));function pollyResult(_0x26378e,_0x2114c6,_0x3974bf){return new BPromise(function(_0x4a6249,_0x52d80f){_0x26378e['synthesizeSpeech'](_0x2114c6,function(_0x433e1d,_0x30c9ae){if(_0x433e1d){_0x52d80f(_0x433e1d);}else if(_0x30c9ae){if(_0x30c9ae[_0x65b3('0x3')]instanceof Buffer){fs[_0x65b3('0x4')](_0x3974bf,_0x30c9ae['AudioStream'],function(_0x5d5586){if(_0x5d5586){_0x52d80f(_0x5d5586);}else{_0x4a6249();}});}else{_0x52d80f(new Error('Invalid\x20data\x20response\x20from\x20aws\x20Polly!'));}}else{_0x52d80f(new Error(_0x65b3('0x5')));}});});}module['exports']=function(_0x14c043,_0x2a8403,_0x4a5dda,_0xa6b468,_0x47b2e9,_0x5be1f7,_0x5c9c35){var _0x40a153=new AWS[(_0x65b3('0x6'))]({'accessKeyId':_0x14c043,'secretAccessKey':_0x2a8403,'region':_0x4a5dda});var _0x542936={'Text':_0x47b2e9,'TextType':_0x5be1f7||'text','OutputFormat':_0x65b3('0x7'),'VoiceId':_0xa6b468};return pollyResult(_0x40a153,_0x542936,_0x5c9c35);}; \ No newline at end of file +var _0xbb89=['writeFile','Invalid\x20data\x20response\x20from\x20aws\x20Polly!','No\x20data\x20response\x20from\x20aws\x20Polly!','Polly','text','mp3','path','bluebird','randomstring','aws-sdk','AudioStream'];(function(_0x3183d9,_0x9af799){var _0x283ceb=function(_0x27f803){while(--_0x27f803){_0x3183d9['push'](_0x3183d9['shift']());}};_0x283ceb(++_0x9af799);}(_0xbb89,0x95));var _0x9bb8=function(_0x4a9fb1,_0x273043){_0x4a9fb1=_0x4a9fb1-0x0;var _0x348672=_0xbb89[_0x4a9fb1];return _0x348672;};'use strict';var fs=require('fs');var path=require(_0x9bb8('0x0'));var BPromise=require(_0x9bb8('0x1'));var rs=require(_0x9bb8('0x2'));var AWS=require(_0x9bb8('0x3'));function pollyResult(_0x208623,_0x1ef1a0,_0x2c2dfd){return new BPromise(function(_0x57eeff,_0x1ec164){_0x208623['synthesizeSpeech'](_0x1ef1a0,function(_0x266a93,_0x1567bd){if(_0x266a93){_0x1ec164(_0x266a93);}else if(_0x1567bd){if(_0x1567bd[_0x9bb8('0x4')]instanceof Buffer){fs[_0x9bb8('0x5')](_0x2c2dfd,_0x1567bd[_0x9bb8('0x4')],function(_0x2761ab){if(_0x2761ab){_0x1ec164(_0x2761ab);}else{_0x57eeff();}});}else{_0x1ec164(new Error(_0x9bb8('0x6')));}}else{_0x1ec164(new Error(_0x9bb8('0x7')));}});});}module['exports']=function(_0x2178a4,_0x12988b,_0x538061,_0x3b6017,_0x568303,_0x5a11fb,_0x56566b){var _0x3e214f=new AWS[(_0x9bb8('0x8'))]({'accessKeyId':_0x2178a4,'secretAccessKey':_0x12988b,'region':_0x538061});var _0x438d9a={'Text':_0x568303,'TextType':_0x5a11fb||_0x9bb8('0x9'),'OutputFormat':_0x9bb8('0xa'),'VoiceId':_0x3b6017};return pollyResult(_0x3e214f,_0x438d9a,_0x56566b);}; \ No newline at end of file diff --git a/server/services/agi/scripts/google/asr/index.js b/server/services/agi/scripts/google/asr/index.js index 4a463f0..3ca73d5 100644 --- a/server/services/agi/scripts/google/asr/index.js +++ b/server/services/agi/scripts/google/asr/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xcbe6=['exports','./lib/api'];(function(_0x20fee2,_0x24eba7){var _0x25da52=function(_0x3ecd9b){while(--_0x3ecd9b){_0x20fee2['push'](_0x20fee2['shift']());}};_0x25da52(++_0x24eba7);}(_0xcbe6,0x73));var _0x6cbe=function(_0x2ae286,_0x2b93a8){_0x2ae286=_0x2ae286-0x0;var _0x31b8e8=_0xcbe6[_0x2ae286];return _0x31b8e8;};'use strict';var asr=require(_0x6cbe('0x0'));module[_0x6cbe('0x1')]=function(_0x1398fb,_0x21c1eb,_0x5d88b3,_0x1140d5){return asr(_0x1398fb,_0x21c1eb,_0x5d88b3);}; \ No newline at end of file +var _0xa8cc=['./lib/api','exports'];(function(_0x122ef9,_0x451d2a){var _0x42fba0=function(_0x17c9d3){while(--_0x17c9d3){_0x122ef9['push'](_0x122ef9['shift']());}};_0x42fba0(++_0x451d2a);}(_0xa8cc,0xda));var _0xca8c=function(_0x181259,_0x47b9da){_0x181259=_0x181259-0x0;var _0x5f0abf=_0xa8cc[_0x181259];return _0x5f0abf;};'use strict';var asr=require(_0xca8c('0x0'));module[_0xca8c('0x1')]=function(_0x5f4c75,_0x21b913,_0xb38178,_0x37905d){return asr(_0x5f4c75,_0x21b913,_0xb38178);}; \ No newline at end of file diff --git a/server/services/agi/scripts/google/asr/lib/api.js b/server/services/agi/scripts/google/asr/lib/api.js index 35160fc..73befde 100644 --- a/server/services/agi/scripts/google/asr/lib/api.js +++ b/server/services/agi/scripts/google/asr/lib/api.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xccf5=['string','length','key\x20should\x20be\x20a\x20string','undefined','lang\x20should\x20be\x20a\x20string','base64','POST','/v1/speech:recognize?key=','LINEAR16','8000','url','https://speech.googleapis.com','exports','filepath\x20should\x20be\x20a\x20string'];(function(_0x1ee6a3,_0x31e227){var _0x4ca675=function(_0x27245d){while(--_0x27245d){_0x1ee6a3['push'](_0x1ee6a3['shift']());}};_0x4ca675(++_0x31e227);}(_0xccf5,0xf8));var _0x5ccf=function(_0x7d8a04,_0x150ccd){_0x7d8a04=_0x7d8a04-0x0;var _0x6dddb8=_0xccf5[_0x7d8a04];return _0x6dddb8;};'use strict';var url=require(_0x5ccf('0x0'));var BPromise=require('bluebird');var fs=require('fs');var host=_0x5ccf('0x1');module[_0x5ccf('0x2')]=function(_0x4d9c3a,_0x7cfe6f,_0x56f027){return new BPromise(function(_0x4e4cd9,_0x2a0c30){var _0x2add0c;if(typeof _0x4d9c3a!=='string'||_0x4d9c3a['length']===0x0){return _0x2a0c30(_0x5ccf('0x3'));}if(typeof _0x7cfe6f!==_0x5ccf('0x4')||_0x7cfe6f[_0x5ccf('0x5')]===0x0){return _0x2a0c30(_0x5ccf('0x6'));}if(typeof _0x56f027!==_0x5ccf('0x7')&&(typeof _0x56f027!==_0x5ccf('0x4')||_0x56f027[_0x5ccf('0x5')]===0x0)){return _0x2a0c30(_0x5ccf('0x8'));}try{_0x2add0c=fs['readFileSync'](_0x4d9c3a)['toString'](_0x5ccf('0x9'));}catch(_0x589f95){return _0x2a0c30(_0x589f95);}return _0x4e4cd9({'method':_0x5ccf('0xa'),'uri':host+_0x5ccf('0xb')+_0x7cfe6f,'body':{'config':{'encoding':_0x5ccf('0xc'),'sampleRateHertz':_0x5ccf('0xd'),'languageCode':_0x56f027},'audio':{'content':_0x2add0c}},'json':!![]});});}; \ No newline at end of file +var _0x54a7=['https://speech.googleapis.com','exports','string','filepath\x20should\x20be\x20a\x20string','key\x20should\x20be\x20a\x20string','undefined','lang\x20should\x20be\x20a\x20string','readFileSync','toString','base64','POST','LINEAR16','8000','url','bluebird'];(function(_0x5ec454,_0xfcd77e){var _0x5ebf50=function(_0x29de85){while(--_0x29de85){_0x5ec454['push'](_0x5ec454['shift']());}};_0x5ebf50(++_0xfcd77e);}(_0x54a7,0x1cf));var _0x754a=function(_0x5b0a64,_0x4800ea){_0x5b0a64=_0x5b0a64-0x0;var _0x2275a3=_0x54a7[_0x5b0a64];return _0x2275a3;};'use strict';var url=require(_0x754a('0x0'));var BPromise=require(_0x754a('0x1'));var fs=require('fs');var host=_0x754a('0x2');module[_0x754a('0x3')]=function(_0x264743,_0x2a834a,_0x4bfc94){return new BPromise(function(_0x1a2e2e,_0x50544d){var _0x532533;if(typeof _0x264743!==_0x754a('0x4')||_0x264743['length']===0x0){return _0x50544d(_0x754a('0x5'));}if(typeof _0x2a834a!==_0x754a('0x4')||_0x2a834a['length']===0x0){return _0x50544d(_0x754a('0x6'));}if(typeof _0x4bfc94!==_0x754a('0x7')&&(typeof _0x4bfc94!==_0x754a('0x4')||_0x4bfc94['length']===0x0)){return _0x50544d(_0x754a('0x8'));}try{_0x532533=fs[_0x754a('0x9')](_0x264743)[_0x754a('0xa')](_0x754a('0xb'));}catch(_0x3046db){return _0x50544d(_0x3046db);}return _0x1a2e2e({'method':_0x754a('0xc'),'uri':host+'/v1/speech:recognize?key='+_0x2a834a,'body':{'config':{'encoding':_0x754a('0xd'),'sampleRateHertz':_0x754a('0xe'),'languageCode':_0x4bfc94},'audio':{'content':_0x532533}},'json':!![]});});}; \ No newline at end of file diff --git a/server/services/agi/scripts/google/index.js b/server/services/agi/scripts/google/index.js index b4bfd9b..010a0cb 100644 --- a/server/services/agi/scripts/google/index.js +++ b/server/services/agi/scripts/google/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xf347=['exports','./asr'];(function(_0xb7874d,_0x15fa9c){var _0x9367f=function(_0x33b3ea){while(--_0x33b3ea){_0xb7874d['push'](_0xb7874d['shift']());}};_0x9367f(++_0x15fa9c);}(_0xf347,0xa1));var _0x7f34=function(_0x185a2f,_0x38d079){_0x185a2f=_0x185a2f-0x0;var _0x18602e=_0xf347[_0x185a2f];return _0x18602e;};var asr=require(_0x7f34('0x0'));module[_0x7f34('0x1')]={'asr':asr}; \ No newline at end of file +var _0x6426=['exports','./asr'];(function(_0x520e22,_0x22436e){var _0x30699f=function(_0x4e3f36){while(--_0x4e3f36){_0x520e22['push'](_0x520e22['shift']());}};_0x30699f(++_0x22436e);}(_0x6426,0x15b));var _0x6642=function(_0x26c739,_0xaf08e2){_0x26c739=_0x26c739-0x0;var _0x19e5af=_0x6426[_0x26c739];return _0x19e5af;};var asr=require(_0x6642('0x0'));module[_0x6642('0x1')]={'asr':asr}; \ No newline at end of file diff --git a/server/services/agi/scripts/index.js b/server/services/agi/scripts/index.js index 8627f35..31c0ed3 100644 --- a/server/services/agi/scripts/index.js +++ b/server/services/agi/scripts/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x6d58=['model=%s','freeform=3','sestekNDA','nda','channelData','CustomAction','AudioFromTts','Data','path','http','https','url','parse','bluebird','randomstring','sox','request-promise','google-tts-api','apiai-promise','md5','./google','./aws','./tilde','./sestek','../../../config/logger','agi','https://api.ispeech.org/api/rest','https:','host','WHAT_EVER','get','statusCode','\x20failed,\x20status\x20code\x20=\x20','statusMessage','request\x20to\x20','createWriteStream','finish','info','finish\x20download\x20file','error','unlink','download\x20error','pipe','end','transcode','error\x20convert','start','generate','base64','then','chmodSync','777','split','readFileSync','googleCloudTTS','https://texttospeech.googleapis.com/v1/','ssml','voice','tmp','.mp3','from','audioContent','writeFile','resolve','.wav','goggleTTS\x20path','asr','uri','results','map','alternatives','transcript','join','confidence','googleASR\x20transcription','googleASR\x20confidence','name','message','googleDialogflow','textRequest','stringify','result','source','resolvedQuery','actionIncomplete','speech','code','metadata','endConversation','tildeASR','Tilde\x20ASR\x20transcription','Tilde\x20ASR\x20confidence','awsPolly','polly','awsLex','lex','ispeechTTS','format','ispeechASR','%s?apikey=%s&action=recognize&locale=%s&content-type=audio/x-wav&audio=%s&%s'];(function(_0x3f3075,_0x16a951){var _0x2d55ce=function(_0x1ec33b){while(--_0x1ec33b){_0x3f3075['push'](_0x3f3075['shift']());}};_0x2d55ce(++_0x16a951);}(_0x6d58,0x134));var _0x86d5=function(_0x41625f,_0x35cb16){_0x41625f=_0x41625f-0x0;var _0x2f6e80=_0x6d58[_0x41625f];return _0x2f6e80;};'use strict';var fs=require('fs');var path=require(_0x86d5('0x0'));var http=require(_0x86d5('0x1'));var https=require(_0x86d5('0x2'));var urlParse=require(_0x86d5('0x3'))[_0x86d5('0x4')];var BPromise=require(_0x86d5('0x5'));var rs=require(_0x86d5('0x6'));var sox=require(_0x86d5('0x7'));var rp=require(_0x86d5('0x8'));var util=require('util');var querystring=require('querystring');var tts=require(_0x86d5('0x9'));var apiai=require(_0x86d5('0xa'));var md5=require(_0x86d5('0xb'));var google=require(_0x86d5('0xc'));var aws=require(_0x86d5('0xd'));var tilde=require(_0x86d5('0xe'));var sestek=require(_0x86d5('0xf'));var logger=require(_0x86d5('0x10'))(_0x86d5('0x11'));var ISPEECH_API=_0x86d5('0x12');function downloadFile(_0x447fe2,_0x9e27b1){return new BPromise(function(_0x517dae,_0x2438e8){var _0x4dcb=urlParse(_0x447fe2);var _0x474ed5=_0x4dcb['protocol']===_0x86d5('0x13')?https:http;var _0x1d101d={'host':_0x4dcb[_0x86d5('0x14')],'path':_0x4dcb[_0x86d5('0x0')],'headers':{'user-agent':_0x86d5('0x15')}};_0x474ed5[_0x86d5('0x16')](_0x1d101d,function(_0x29b1a9){if(_0x29b1a9[_0x86d5('0x17')]!==0xc8){logger['error']('request\x20to\x20'+_0x447fe2+_0x86d5('0x18')+_0x29b1a9[_0x86d5('0x17')]+'\x20('+_0x29b1a9[_0x86d5('0x19')]+')');_0x2438e8(new Error(_0x86d5('0x1a')+_0x447fe2+'\x20failed,\x20status\x20code\x20=\x20'+_0x29b1a9['statusCode']+'\x20('+_0x29b1a9[_0x86d5('0x19')]+')'));return;}var _0x3bdf95=fs[_0x86d5('0x1b')](_0x9e27b1);_0x3bdf95['on'](_0x86d5('0x1c'),function(){logger[_0x86d5('0x1d')](_0x86d5('0x1e'));_0x3bdf95['close'](_0x517dae);});_0x3bdf95['on'](_0x86d5('0x1f'),function(_0x4e9bfd){fs[_0x86d5('0x20')](_0x9e27b1);logger[_0x86d5('0x1f')](_0x86d5('0x21'),_0x4e9bfd);_0x2438e8(_0x4e9bfd);});_0x29b1a9[_0x86d5('0x22')](_0x3bdf95);})['on'](_0x86d5('0x1f'),function(_0x20539c){logger[_0x86d5('0x1f')](_0x20539c);_0x2438e8(_0x20539c);})['end']();});}function uploadFile(_0x1bc0d1){return new BPromise(function(_0x2ddd91,_0x35b731){var _0x27def1=urlParse(_0x1bc0d1);var _0x5051a7=_0x27def1['protocol']===_0x86d5('0x13')?https:http;var _0x510ecb={'host':_0x27def1[_0x86d5('0x14')],'path':_0x27def1[_0x86d5('0x0')],'headers':{'user-agent':_0x86d5('0x15')}};_0x5051a7[_0x86d5('0x16')](_0x510ecb,function(_0x173429){if(_0x173429[_0x86d5('0x17')]!==0xc8){_0x35b731(new Error(_0x86d5('0x1a')+_0x1bc0d1+_0x86d5('0x18')+_0x173429[_0x86d5('0x17')]+'\x20('+_0x173429[_0x86d5('0x19')]+')'));return;}var _0x3d0f25='';_0x173429['on']('data',function(_0x22ab37){_0x3d0f25+=_0x22ab37;});_0x173429['on'](_0x86d5('0x23'),function(){_0x2ddd91(_0x3d0f25);});})['on'](_0x86d5('0x1f'),function(_0x4f4e8d){_0x35b731(_0x4f4e8d);})[_0x86d5('0x23')]();});}function convertFile(_0x49c192,_0x3a92b1){return new BPromise(function(_0x260894,_0x1bb5d6){var _0x59e052=sox[_0x86d5('0x24')](_0x49c192,_0x3a92b1,{'sampleRate':0x1f40,'format':'wav','channelCount':0x1,'bitRate':0xc0*0x400,'compressionQuality':0x5});_0x59e052['on']('error',function(_0x3471a3){logger[_0x86d5('0x1f')](_0x86d5('0x25'),_0x3471a3);_0x1bb5d6(_0x3471a3);});_0x59e052['on'](_0x86d5('0x23'),function(){logger['info']('finish\x20to\x20convert');_0x260894();});_0x59e052[_0x86d5('0x26')]();});}function base64Decode(_0x5c6641,_0x324f5b){var _0x466bc4=path['resolve'](__dirname,'tmp',rs[_0x86d5('0x27')](0x4)+'.wav');fs['writeFileSync'](_0x466bc4,_0x5c6641,_0x86d5('0x28'));return convertFile(_0x466bc4,_0x324f5b)[_0x86d5('0x29')](function(){try{fs[_0x86d5('0x20')](_0x466bc4);fs[_0x86d5('0x2a')](_0x324f5b,_0x86d5('0x2b'));}catch(_0x39703b){logger[_0x86d5('0x1f')](_0x39703b);}return _0x324f5b[_0x86d5('0x2c')]('.')[0x0];});}function base64Encode(_0xd0004e){var _0x29b4c4=fs[_0x86d5('0x2d')](_0xd0004e);return new Buffer(_0x29b4c4)['toString'](_0x86d5('0x28'));}exports[_0x86d5('0x2e')]=function(_0x27635b,_0xd2580a,_0xba35eb,_0x355acc,_0x104f7c,_0x507b31){var _0x4359dd,_0x391702;var _0x583070=_0x86d5('0x2f');var _0x43864d='?key='+_0x27635b;var _0x5e1f15={};if(_0xd2580a===_0x86d5('0x30')){_0x5e1f15['input']={'ssml':_0xba35eb};}else{_0x5e1f15['input']={'text':_0xba35eb};};_0x5e1f15[_0x86d5('0x31')]={'languageCode':_0x355acc,'ssmlGender':_0x104f7c};_0x5e1f15['audioConfig']={'audioEncoding':'MP3','sampleRateHertz':0x1f40};var _0x25cf5f={'url':_0x583070+'text:synthesize'+_0x43864d,'method':'POST','json':!![],'body':_0x5e1f15};return rp(_0x25cf5f)[_0x86d5('0x29')](function(_0x4dc4cf){return new BPromise(function(_0x52f4d0,_0x4b78b4){_0x4359dd=path['resolve'](__dirname,_0x86d5('0x32'),rs[_0x86d5('0x27')](0x4)+_0x86d5('0x33'));var _0x1d8655=Buffer[_0x86d5('0x34')](_0x4dc4cf[_0x86d5('0x35')],_0x86d5('0x28'));return fs[_0x86d5('0x36')](_0x4359dd,_0x1d8655,function(_0x567936){_0x4b78b4(_0x567936);},function(_0x47b478){fs[_0x86d5('0x2a')](_0x4359dd,_0x86d5('0x2b'));_0x52f4d0(_0x47b478);});});})[_0x86d5('0x29')](function(_0x13db22){_0x391702=path[_0x86d5('0x37')](__dirname,_0x86d5('0x32'),rs[_0x86d5('0x27')](0x4)+_0x86d5('0x38'));return convertFile(_0x4359dd,_0x391702);})[_0x86d5('0x29')](function(){try{fs[_0x86d5('0x20')](_0x4359dd);fs[_0x86d5('0x2a')](_0x391702,'777');}catch(_0x4d41db){logger['error'](_0x4d41db);}logger[_0x86d5('0x1d')]('googleCloudTTS\x20path',_0x391702[_0x86d5('0x2c')]('.')[0x0]);return _0x391702[_0x86d5('0x2c')]('.')[0x0];});};exports['googleTTS']=function(_0x30da7a,_0x15e6d0){var _0x45b888,_0x174eec;return tts(_0x30da7a,_0x15e6d0||'en',0x1)[_0x86d5('0x29')](function(_0x47510b){logger[_0x86d5('0x1d')](_0x47510b);_0x45b888=path['resolve'](__dirname,_0x86d5('0x32'),rs['generate'](0x4)+_0x86d5('0x33'));return downloadFile(_0x47510b,_0x45b888);})[_0x86d5('0x29')](function(){_0x174eec=path['resolve'](__dirname,_0x86d5('0x32'),rs[_0x86d5('0x27')](0x4)+_0x86d5('0x38'));return convertFile(_0x45b888,_0x174eec);})[_0x86d5('0x29')](function(){try{fs['unlink'](_0x45b888);fs['chmodSync'](_0x174eec,_0x86d5('0x2b'));}catch(_0xbb5005){logger['error'](_0xbb5005);}logger[_0x86d5('0x1d')](_0x86d5('0x39'),_0x174eec['split']('.')[0x0]);return _0x174eec[_0x86d5('0x2c')]('.')[0x0];});};exports['googleASR']=function(_0x2b1856,_0x4cb174,_0x1b7a63){return google[_0x86d5('0x3a')](_0x2b1856,_0x4cb174,_0x1b7a63)[_0x86d5('0x29')](function(_0xc11329){logger['info'](_0xc11329[_0x86d5('0x3b')]);return rp(_0xc11329);})['then'](function(_0x15ec03){var _0x4d1087='';var _0x48bb38=0x0;try{fs[_0x86d5('0x20')](_0x2b1856);}catch(_0x8c8cec){logger[_0x86d5('0x1f')](_0x8c8cec);}if(_0x15ec03&&_0x15ec03['results']){_0x4d1087=_0x15ec03[_0x86d5('0x3c')][_0x86d5('0x3d')](function(_0x311909){return _0x311909&&_0x311909['alternatives'][0x0]&&_0x311909[_0x86d5('0x3e')][0x0][_0x86d5('0x3f')]?_0x311909['alternatives'][0x0]['transcript']:'';})[_0x86d5('0x40')]('\x0a');_0x48bb38=_0x15ec03['results'][_0x86d5('0x3d')](function(_0x5af503){return _0x5af503&&_0x5af503[_0x86d5('0x3e')][0x0]&&_0x5af503[_0x86d5('0x3e')][0x0][_0x86d5('0x41')]?_0x5af503[_0x86d5('0x3e')][0x0]['confidence']:0x0;})[_0x86d5('0x40')]('\x0a');}logger['info'](_0x86d5('0x42'),_0x4d1087);logger[_0x86d5('0x1d')](_0x86d5('0x43'),_0x48bb38);return{'transcript':_0x4d1087,'confidence':_0x48bb38};})['catch'](function(_0x27938b){logger[_0x86d5('0x1f')]('[%s]\x20%s:%s',_0x27938b['statusCode'],_0x27938b[_0x86d5('0x44')],_0x27938b[_0x86d5('0x45')]);});};exports[_0x86d5('0x46')]=function(_0x95a021,_0x30c654,_0x3df707,_0x1b876b){var _0x4a0b98=apiai(_0x30c654,{'language':_0x1b876b||'en'});return _0x4a0b98[_0x86d5('0x47')](_0x3df707,{'sessionId':md5(_0x95a021)})[_0x86d5('0x29')](function(_0x22bac1){logger['info'](JSON[_0x86d5('0x48')](_0x22bac1));return{'source':_0x22bac1[_0x86d5('0x49')][_0x86d5('0x4a')],'resolvedQuery':_0x22bac1[_0x86d5('0x49')][_0x86d5('0x4b')],'action':_0x22bac1[_0x86d5('0x49')]['action'],'actionIncomplete':_0x22bac1['result'][_0x86d5('0x4c')],'speech':_0x22bac1[_0x86d5('0x49')]['fulfillment'][_0x86d5('0x4d')],'score':_0x22bac1[_0x86d5('0x49')]['score'],'statusCode':_0x22bac1['status'][_0x86d5('0x4e')],'endConversation':_0x22bac1[_0x86d5('0x49')][_0x86d5('0x4f')][_0x86d5('0x50')]||![],'isFallbackIntent':_0x22bac1[_0x86d5('0x49')]['metadata']['isFallbackIntent']};});};exports[_0x86d5('0x51')]=function(_0x83852c,_0x288efa,_0x15c173,_0x25dba8){return tilde['asr'](_0x83852c,_0x288efa,_0x15c173,_0x25dba8)['then'](function(_0xb38f50){try{fs[_0x86d5('0x20')](_0x83852c);}catch(_0x15c346){logger[_0x86d5('0x1f')](_0x15c346);}logger['info'](_0x86d5('0x52'),_0xb38f50[_0x86d5('0x3f')]);logger[_0x86d5('0x1d')](_0x86d5('0x53'),_0xb38f50[_0x86d5('0x41')]);return _0xb38f50;});};exports[_0x86d5('0x54')]=function(_0x3bd89c,_0x43b92e,_0xbd203,_0x4e121e,_0x20e37c,_0x404f44){var _0x30cef7=path[_0x86d5('0x37')](__dirname,_0x86d5('0x32'),rs[_0x86d5('0x27')](0x4)+_0x86d5('0x33'));var _0x1aa071;return aws[_0x86d5('0x55')](_0x3bd89c,_0x43b92e,_0xbd203,_0x4e121e,_0x20e37c,_0x404f44,_0x30cef7)[_0x86d5('0x29')](function(){_0x1aa071=path[_0x86d5('0x37')](__dirname,'tmp',rs['generate'](0x4)+_0x86d5('0x38'));return convertFile(_0x30cef7,_0x1aa071);})[_0x86d5('0x29')](function(){try{fs[_0x86d5('0x20')](_0x30cef7);fs[_0x86d5('0x2a')](_0x1aa071,_0x86d5('0x2b'));}catch(_0x25a5b3){logger[_0x86d5('0x1f')](_0x25a5b3);}return _0x1aa071[_0x86d5('0x2c')]('.')[0x0];});};exports[_0x86d5('0x56')]=function(_0x292a10,_0x1ab945,_0x1d22b2,_0x4c017c,_0x4ec3b6,_0x73a9c0){return aws[_0x86d5('0x57')](_0x292a10,_0x1ab945,_0x1d22b2,_0x4c017c,_0x4ec3b6,_0x73a9c0)[_0x86d5('0x29')](function(_0x305dc6){logger[_0x86d5('0x1d')](JSON[_0x86d5('0x48')](_0x305dc6));return _0x305dc6;});};exports[_0x86d5('0x58')]=function(_0x3c5fa8,_0x130137,_0x1083b5,_0x3edea7){var _0x1887c2=util[_0x86d5('0x59')]('%s?apikey=%s&action=convert&text=%s&voice=%s&speed=%s&format=mp3',ISPEECH_API,_0x3c5fa8,encodeURIComponent(_0x130137),_0x1083b5,_0x3edea7);var _0x41e943=path['resolve'](__dirname,_0x86d5('0x32'),rs[_0x86d5('0x27')](0x4)+_0x86d5('0x33'));var _0x49de17;return downloadFile(_0x1887c2,_0x41e943)[_0x86d5('0x29')](function(){_0x49de17=path[_0x86d5('0x37')](__dirname,'tmp',rs['generate'](0x4)+_0x86d5('0x38'));return convertFile(_0x41e943,_0x49de17);})[_0x86d5('0x29')](function(){try{fs[_0x86d5('0x20')](_0x41e943);fs[_0x86d5('0x2a')](_0x49de17,'777');}catch(_0xe6d934){logger[_0x86d5('0x1f')](_0xe6d934);}return _0x49de17[_0x86d5('0x2c')]('.')[0x0];});};exports[_0x86d5('0x5a')]=function(_0x3f164d,_0x257942,_0x2b39d0,_0x5a1cae){var _0x5d0771=util['format'](_0x86d5('0x5b'),ISPEECH_API,_0x257942,_0x2b39d0,base64Encode(_0x3f164d),_0x5a1cae?util[_0x86d5('0x59')](_0x86d5('0x5c'),encodeURIComponent(_0x5a1cae)):_0x86d5('0x5d'));return uploadFile(_0x5d0771)[_0x86d5('0x29')](function(_0x2262c){return querystring[_0x86d5('0x4')](_0x2262c);});};exports[_0x86d5('0x5e')]=function(_0x5f0fb0,_0x3c8796){return sestek[_0x86d5('0x5f')](_0x5f0fb0,_0x3c8796)[_0x86d5('0x29')](function(_0x5b633b){logger[_0x86d5('0x1d')](JSON[_0x86d5('0x48')](_0x5b633b));var _0x121d92={'speech':_0x5b633b['text'],'action':_0x5b633b[_0x86d5('0x60')]?_0x5b633b['channelData'][_0x86d5('0x61')]:undefined,'actiondata':_0x5b633b['channelData']?_0x5b633b[_0x86d5('0x60')]['CustomActionData']:undefined};if(_0x5b633b[_0x86d5('0x60')]&&_0x5b633b[_0x86d5('0x60')][_0x86d5('0x62')]){return base64Decode(_0x5b633b['channelData'][_0x86d5('0x62')][_0x86d5('0x63')],path[_0x86d5('0x37')](__dirname,'tmp',rs['generate'](0x4)+'.wav'))[_0x86d5('0x29')](function(_0x440dbe){_0x121d92['audiofile']=_0x440dbe;return _0x121d92;});}return _0x121d92;});};exports['dirName']=function(){return __dirname;}; \ No newline at end of file +var _0x03fe=['then','chmodSync','777','base64','googleCloudTTS','?key=','ssml','input','voice','POST','generate','from','audioContent','googleCloudTTS\x20path','split','googleTTS','.mp3','goggleTTS\x20path','googleASR','asr','uri','results','alternatives','transcript','join','map','confidence','googleASR\x20transcription','googleASR\x20confidence','catch','[%s]\x20%s:%s','message','googleDialogflow','textRequest','stringify','source','result','resolvedQuery','action','fulfillment','speech','score','status','metadata','isFallbackIntent','Tilde\x20ASR\x20transcription','Tilde\x20ASR\x20confidence','awsPolly','polly','awsLex','lex','ispeechTTS','ispeechASR','%s?apikey=%s&action=recognize&locale=%s&content-type=audio/x-wav&audio=%s&%s','format','model=%s','freeform=3','parse','text','channelData','CustomAction','CustomActionData','AudioFromTts','Data','audiofile','dirName','path','http','https','url','randomstring','sox','util','google-tts-api','md5','./google','./aws','./tilde','../../../config/logger','agi','https://api.ispeech.org/api/rest','host','WHAT_EVER','get','error','\x20failed,\x20status\x20code\x20=\x20','statusCode','statusMessage','finish','info','finish\x20download\x20file','close','unlink','download\x20error','pipe','protocol','end','transcode','wav','error\x20convert','finish\x20to\x20convert','resolve','tmp','.wav','writeFileSync'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x03fe,0x17d));var _0xe03f=function(_0x4400f7,_0xe6e042){_0x4400f7=_0x4400f7-0x0;var _0x158216=_0x03fe[_0x4400f7];return _0x158216;};'use strict';var fs=require('fs');var path=require(_0xe03f('0x0'));var http=require(_0xe03f('0x1'));var https=require(_0xe03f('0x2'));var urlParse=require(_0xe03f('0x3'))['parse'];var BPromise=require('bluebird');var rs=require(_0xe03f('0x4'));var sox=require(_0xe03f('0x5'));var rp=require('request-promise');var util=require(_0xe03f('0x6'));var querystring=require('querystring');var tts=require(_0xe03f('0x7'));var apiai=require('apiai-promise');var md5=require(_0xe03f('0x8'));var google=require(_0xe03f('0x9'));var aws=require(_0xe03f('0xa'));var tilde=require(_0xe03f('0xb'));var sestek=require('./sestek');var logger=require(_0xe03f('0xc'))(_0xe03f('0xd'));var ISPEECH_API=_0xe03f('0xe');function downloadFile(_0xc1e40f,_0x510102){return new BPromise(function(_0x43deb7,_0x2b8419){var _0xe112f4=urlParse(_0xc1e40f);var _0x271d8c=_0xe112f4['protocol']==='https:'?https:http;var _0x4af32a={'host':_0xe112f4[_0xe03f('0xf')],'path':_0xe112f4[_0xe03f('0x0')],'headers':{'user-agent':_0xe03f('0x10')}};_0x271d8c[_0xe03f('0x11')](_0x4af32a,function(_0x1c444d){if(_0x1c444d['statusCode']!==0xc8){logger[_0xe03f('0x12')]('request\x20to\x20'+_0xc1e40f+_0xe03f('0x13')+_0x1c444d[_0xe03f('0x14')]+'\x20('+_0x1c444d['statusMessage']+')');_0x2b8419(new Error('request\x20to\x20'+_0xc1e40f+'\x20failed,\x20status\x20code\x20=\x20'+_0x1c444d[_0xe03f('0x14')]+'\x20('+_0x1c444d[_0xe03f('0x15')]+')'));return;}var _0x183623=fs['createWriteStream'](_0x510102);_0x183623['on'](_0xe03f('0x16'),function(){logger[_0xe03f('0x17')](_0xe03f('0x18'));_0x183623[_0xe03f('0x19')](_0x43deb7);});_0x183623['on'](_0xe03f('0x12'),function(_0x4d390c){fs[_0xe03f('0x1a')](_0x510102);logger[_0xe03f('0x12')](_0xe03f('0x1b'),_0x4d390c);_0x2b8419(_0x4d390c);});_0x1c444d[_0xe03f('0x1c')](_0x183623);})['on'](_0xe03f('0x12'),function(_0xbe7e78){logger[_0xe03f('0x12')](_0xbe7e78);_0x2b8419(_0xbe7e78);})['end']();});}function uploadFile(_0x87ecc1){return new BPromise(function(_0x590a88,_0x41a43f){var _0x3a4bc1=urlParse(_0x87ecc1);var _0x1f8cde=_0x3a4bc1[_0xe03f('0x1d')]==='https:'?https:http;var _0x320163={'host':_0x3a4bc1[_0xe03f('0xf')],'path':_0x3a4bc1[_0xe03f('0x0')],'headers':{'user-agent':_0xe03f('0x10')}};_0x1f8cde[_0xe03f('0x11')](_0x320163,function(_0x52b439){if(_0x52b439[_0xe03f('0x14')]!==0xc8){_0x41a43f(new Error('request\x20to\x20'+_0x87ecc1+_0xe03f('0x13')+_0x52b439[_0xe03f('0x14')]+'\x20('+_0x52b439[_0xe03f('0x15')]+')'));return;}var _0x52067c='';_0x52b439['on']('data',function(_0x1b75ff){_0x52067c+=_0x1b75ff;});_0x52b439['on'](_0xe03f('0x1e'),function(){_0x590a88(_0x52067c);});})['on']('error',function(_0x1c22f6){_0x41a43f(_0x1c22f6);})[_0xe03f('0x1e')]();});}function convertFile(_0x51cc98,_0x1e154f){return new BPromise(function(_0x1dd3c3,_0xdfa55b){var _0x4fc526=sox[_0xe03f('0x1f')](_0x51cc98,_0x1e154f,{'sampleRate':0x1f40,'format':_0xe03f('0x20'),'channelCount':0x1,'bitRate':0xc0*0x400,'compressionQuality':0x5});_0x4fc526['on'](_0xe03f('0x12'),function(_0x585d78){logger[_0xe03f('0x12')](_0xe03f('0x21'),_0x585d78);_0xdfa55b(_0x585d78);});_0x4fc526['on']('end',function(){logger[_0xe03f('0x17')](_0xe03f('0x22'));_0x1dd3c3();});_0x4fc526['start']();});}function base64Decode(_0x3a6b7b,_0x55811f){var _0x65e56b=path[_0xe03f('0x23')](__dirname,_0xe03f('0x24'),rs['generate'](0x4)+_0xe03f('0x25'));fs[_0xe03f('0x26')](_0x65e56b,_0x3a6b7b,'base64');return convertFile(_0x65e56b,_0x55811f)[_0xe03f('0x27')](function(){try{fs[_0xe03f('0x1a')](_0x65e56b);fs[_0xe03f('0x28')](_0x55811f,_0xe03f('0x29'));}catch(_0x2c743c){logger[_0xe03f('0x12')](_0x2c743c);}return _0x55811f['split']('.')[0x0];});}function base64Encode(_0x4d9560){var _0x3036b7=fs['readFileSync'](_0x4d9560);return new Buffer(_0x3036b7)['toString'](_0xe03f('0x2a'));}exports[_0xe03f('0x2b')]=function(_0x14b536,_0x3e083a,_0x132b52,_0x57c77c,_0x15db3d,_0x5b8d58){var _0x13f73c,_0x101636;var _0x3d0814='https://texttospeech.googleapis.com/v1/';var _0xf60a1b=_0xe03f('0x2c')+_0x14b536;var _0x3cded2={};if(_0x3e083a===_0xe03f('0x2d')){_0x3cded2[_0xe03f('0x2e')]={'ssml':_0x132b52};}else{_0x3cded2[_0xe03f('0x2e')]={'text':_0x132b52};};_0x3cded2[_0xe03f('0x2f')]={'languageCode':_0x57c77c,'ssmlGender':_0x15db3d};_0x3cded2['audioConfig']={'audioEncoding':'MP3','sampleRateHertz':0x1f40};var _0x18fb29={'url':_0x3d0814+'text:synthesize'+_0xf60a1b,'method':_0xe03f('0x30'),'json':!![],'body':_0x3cded2};return rp(_0x18fb29)[_0xe03f('0x27')](function(_0x3016a1){return new BPromise(function(_0x43fbf9,_0x39901a){_0x13f73c=path['resolve'](__dirname,_0xe03f('0x24'),rs[_0xe03f('0x31')](0x4)+'.mp3');var _0x4b1611=Buffer[_0xe03f('0x32')](_0x3016a1[_0xe03f('0x33')],_0xe03f('0x2a'));return fs['writeFile'](_0x13f73c,_0x4b1611,function(_0x5cea30){_0x39901a(_0x5cea30);},function(_0x2ae672){fs[_0xe03f('0x28')](_0x13f73c,_0xe03f('0x29'));_0x43fbf9(_0x2ae672);});});})[_0xe03f('0x27')](function(_0x21ed0b){_0x101636=path[_0xe03f('0x23')](__dirname,_0xe03f('0x24'),rs['generate'](0x4)+'.wav');return convertFile(_0x13f73c,_0x101636);})[_0xe03f('0x27')](function(){try{fs[_0xe03f('0x1a')](_0x13f73c);fs[_0xe03f('0x28')](_0x101636,_0xe03f('0x29'));}catch(_0x40ea60){logger[_0xe03f('0x12')](_0x40ea60);}logger[_0xe03f('0x17')](_0xe03f('0x34'),_0x101636[_0xe03f('0x35')]('.')[0x0]);return _0x101636[_0xe03f('0x35')]('.')[0x0];});};exports[_0xe03f('0x36')]=function(_0x5afe6a,_0x312964){var _0x3fe2c5,_0x35341b;return tts(_0x5afe6a,_0x312964||'en',0x1)['then'](function(_0xc33e87){logger[_0xe03f('0x17')](_0xc33e87);_0x3fe2c5=path[_0xe03f('0x23')](__dirname,_0xe03f('0x24'),rs[_0xe03f('0x31')](0x4)+_0xe03f('0x37'));return downloadFile(_0xc33e87,_0x3fe2c5);})[_0xe03f('0x27')](function(){_0x35341b=path[_0xe03f('0x23')](__dirname,_0xe03f('0x24'),rs[_0xe03f('0x31')](0x4)+_0xe03f('0x25'));return convertFile(_0x3fe2c5,_0x35341b);})[_0xe03f('0x27')](function(){try{fs[_0xe03f('0x1a')](_0x3fe2c5);fs[_0xe03f('0x28')](_0x35341b,_0xe03f('0x29'));}catch(_0x4debd5){logger[_0xe03f('0x12')](_0x4debd5);}logger[_0xe03f('0x17')](_0xe03f('0x38'),_0x35341b[_0xe03f('0x35')]('.')[0x0]);return _0x35341b[_0xe03f('0x35')]('.')[0x0];});};exports[_0xe03f('0x39')]=function(_0x447a74,_0x5a0a7f,_0x38702f){return google[_0xe03f('0x3a')](_0x447a74,_0x5a0a7f,_0x38702f)[_0xe03f('0x27')](function(_0x4b0018){logger[_0xe03f('0x17')](_0x4b0018[_0xe03f('0x3b')]);return rp(_0x4b0018);})[_0xe03f('0x27')](function(_0x4c06c8){var _0x474af6='';var _0x13854f=0x0;try{fs['unlink'](_0x447a74);}catch(_0x5beb11){logger[_0xe03f('0x12')](_0x5beb11);}if(_0x4c06c8&&_0x4c06c8['results']){_0x474af6=_0x4c06c8[_0xe03f('0x3c')]['map'](function(_0x4f5ce3){return _0x4f5ce3&&_0x4f5ce3[_0xe03f('0x3d')][0x0]&&_0x4f5ce3[_0xe03f('0x3d')][0x0][_0xe03f('0x3e')]?_0x4f5ce3[_0xe03f('0x3d')][0x0][_0xe03f('0x3e')]:'';})[_0xe03f('0x3f')]('\x0a');_0x13854f=_0x4c06c8[_0xe03f('0x3c')][_0xe03f('0x40')](function(_0x2a3333){return _0x2a3333&&_0x2a3333['alternatives'][0x0]&&_0x2a3333['alternatives'][0x0][_0xe03f('0x41')]?_0x2a3333[_0xe03f('0x3d')][0x0][_0xe03f('0x41')]:0x0;})[_0xe03f('0x3f')]('\x0a');}logger[_0xe03f('0x17')](_0xe03f('0x42'),_0x474af6);logger['info'](_0xe03f('0x43'),_0x13854f);return{'transcript':_0x474af6,'confidence':_0x13854f};})[_0xe03f('0x44')](function(_0x55fe37){logger[_0xe03f('0x12')](_0xe03f('0x45'),_0x55fe37['statusCode'],_0x55fe37['name'],_0x55fe37[_0xe03f('0x46')]);});};exports[_0xe03f('0x47')]=function(_0x131bcf,_0x159172,_0x1c0035,_0x8f8c07){var _0x580138=apiai(_0x159172,{'language':_0x8f8c07||'en'});return _0x580138[_0xe03f('0x48')](_0x1c0035,{'sessionId':md5(_0x131bcf)})[_0xe03f('0x27')](function(_0x248928){logger[_0xe03f('0x17')](JSON[_0xe03f('0x49')](_0x248928));return{'source':_0x248928['result'][_0xe03f('0x4a')],'resolvedQuery':_0x248928[_0xe03f('0x4b')][_0xe03f('0x4c')],'action':_0x248928[_0xe03f('0x4b')][_0xe03f('0x4d')],'actionIncomplete':_0x248928['result']['actionIncomplete'],'speech':_0x248928[_0xe03f('0x4b')][_0xe03f('0x4e')][_0xe03f('0x4f')],'score':_0x248928['result'][_0xe03f('0x50')],'statusCode':_0x248928[_0xe03f('0x51')]['code'],'endConversation':_0x248928[_0xe03f('0x4b')][_0xe03f('0x52')]['endConversation']||![],'isFallbackIntent':_0x248928['result']['metadata'][_0xe03f('0x53')]};});};exports['tildeASR']=function(_0x5aa8e6,_0x38d4bb,_0x2365c9,_0x4fa729){return tilde[_0xe03f('0x3a')](_0x5aa8e6,_0x38d4bb,_0x2365c9,_0x4fa729)[_0xe03f('0x27')](function(_0x32a032){try{fs[_0xe03f('0x1a')](_0x5aa8e6);}catch(_0x432326){logger[_0xe03f('0x12')](_0x432326);}logger['info'](_0xe03f('0x54'),_0x32a032[_0xe03f('0x3e')]);logger[_0xe03f('0x17')](_0xe03f('0x55'),_0x32a032[_0xe03f('0x41')]);return _0x32a032;});};exports[_0xe03f('0x56')]=function(_0x21e4b8,_0xbd8e49,_0x1f93b7,_0x310839,_0x5dcd92,_0x52af61){var _0x349e67=path[_0xe03f('0x23')](__dirname,_0xe03f('0x24'),rs['generate'](0x4)+_0xe03f('0x37'));var _0x32550d;return aws[_0xe03f('0x57')](_0x21e4b8,_0xbd8e49,_0x1f93b7,_0x310839,_0x5dcd92,_0x52af61,_0x349e67)['then'](function(){_0x32550d=path[_0xe03f('0x23')](__dirname,_0xe03f('0x24'),rs[_0xe03f('0x31')](0x4)+_0xe03f('0x25'));return convertFile(_0x349e67,_0x32550d);})[_0xe03f('0x27')](function(){try{fs[_0xe03f('0x1a')](_0x349e67);fs[_0xe03f('0x28')](_0x32550d,'777');}catch(_0x584bcb){logger[_0xe03f('0x12')](_0x584bcb);}return _0x32550d[_0xe03f('0x35')]('.')[0x0];});};exports[_0xe03f('0x58')]=function(_0x2c4a94,_0x1a7684,_0x62fa94,_0x3954ba,_0x3aa920,_0x3374a2){return aws[_0xe03f('0x59')](_0x2c4a94,_0x1a7684,_0x62fa94,_0x3954ba,_0x3aa920,_0x3374a2)['then'](function(_0x2b79eb){logger[_0xe03f('0x17')](JSON[_0xe03f('0x49')](_0x2b79eb));return _0x2b79eb;});};exports[_0xe03f('0x5a')]=function(_0x4acb1d,_0x422266,_0x101aa2,_0x5f19e3){var _0x5050c3=util['format']('%s?apikey=%s&action=convert&text=%s&voice=%s&speed=%s&format=mp3',ISPEECH_API,_0x4acb1d,encodeURIComponent(_0x422266),_0x101aa2,_0x5f19e3);var _0x542639=path[_0xe03f('0x23')](__dirname,'tmp',rs[_0xe03f('0x31')](0x4)+_0xe03f('0x37'));var _0x35fe50;return downloadFile(_0x5050c3,_0x542639)[_0xe03f('0x27')](function(){_0x35fe50=path[_0xe03f('0x23')](__dirname,_0xe03f('0x24'),rs[_0xe03f('0x31')](0x4)+'.wav');return convertFile(_0x542639,_0x35fe50);})[_0xe03f('0x27')](function(){try{fs[_0xe03f('0x1a')](_0x542639);fs[_0xe03f('0x28')](_0x35fe50,_0xe03f('0x29'));}catch(_0xc81f94){logger[_0xe03f('0x12')](_0xc81f94);}return _0x35fe50[_0xe03f('0x35')]('.')[0x0];});};exports[_0xe03f('0x5b')]=function(_0x253b39,_0x21783d,_0x3c9cce,_0x4569f8){var _0x141afd=util['format'](_0xe03f('0x5c'),ISPEECH_API,_0x21783d,_0x3c9cce,base64Encode(_0x253b39),_0x4569f8?util[_0xe03f('0x5d')](_0xe03f('0x5e'),encodeURIComponent(_0x4569f8)):_0xe03f('0x5f'));return uploadFile(_0x141afd)['then'](function(_0x54fddd){return querystring[_0xe03f('0x60')](_0x54fddd);});};exports['sestekNDA']=function(_0x371fb6,_0x4cc97f){return sestek['nda'](_0x371fb6,_0x4cc97f)[_0xe03f('0x27')](function(_0xf08fb0){logger['info'](JSON[_0xe03f('0x49')](_0xf08fb0));var _0x2427e2={'speech':_0xf08fb0[_0xe03f('0x61')],'action':_0xf08fb0['channelData']?_0xf08fb0[_0xe03f('0x62')][_0xe03f('0x63')]:undefined,'actiondata':_0xf08fb0[_0xe03f('0x62')]?_0xf08fb0[_0xe03f('0x62')][_0xe03f('0x64')]:undefined};if(_0xf08fb0[_0xe03f('0x62')]&&_0xf08fb0[_0xe03f('0x62')][_0xe03f('0x65')]){return base64Decode(_0xf08fb0[_0xe03f('0x62')][_0xe03f('0x65')][_0xe03f('0x66')],path[_0xe03f('0x23')](__dirname,_0xe03f('0x24'),rs[_0xe03f('0x31')](0x4)+_0xe03f('0x25')))[_0xe03f('0x27')](function(_0x518aa5){_0x2427e2[_0xe03f('0x67')]=_0x518aa5;return _0x2427e2;});}return _0x2427e2;});};exports[_0xe03f('0x68')]=function(){return __dirname;}; \ No newline at end of file diff --git a/server/services/agi/scripts/sestek/index.js b/server/services/agi/scripts/sestek/index.js index 8f34e03..2d648ec 100644 --- a/server/services/agi/scripts/sestek/index.js +++ b/server/services/agi/scripts/sestek/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var nda=require('./nda');module['exports']={'nda':nda}; \ No newline at end of file +var _0x61ec=['./nda','exports'];(function(_0x261a0e,_0x42e1d8){var _0x1b3a50=function(_0x417646){while(--_0x417646){_0x261a0e['push'](_0x261a0e['shift']());}};_0x1b3a50(++_0x42e1d8);}(_0x61ec,0x1ce));var _0xc61e=function(_0x1f3143,_0x1092a3){_0x1f3143=_0x1f3143-0x0;var _0x150cc7=_0x61ec[_0x1f3143];return _0x150cc7;};var nda=require(_0xc61e('0x0'));module[_0xc61e('0x1')]={'nda':nda}; \ No newline at end of file diff --git a/server/services/agi/scripts/sestek/nda/index.js b/server/services/agi/scripts/sestek/nda/index.js index 89fc1c2..05f9224 100644 --- a/server/services/agi/scripts/sestek/nda/index.js +++ b/server/services/agi/scripts/sestek/nda/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x1fcd=['stringify','request-promise','url','../../../../../config/logger','agi','exports','POST','ndauth_url','/token','username','password','then','ndassistant_url','/api/NaturalDialogAssistant/v1/Run','ndaactivity_type','Nda','callerid','calleridname','extension','text','Bearer\x20','access_token','body','channelData','ProjectName','project','AudioOutputSettings','audio/wav','CustomAction','custom_action','CustomActionData','custom_action_data','info'];(function(_0x4550cc,_0x16f0c2){var _0x24eacd=function(_0x5315f1){while(--_0x5315f1){_0x4550cc['push'](_0x4550cc['shift']());}};_0x24eacd(++_0x16f0c2);}(_0x1fcd,0x18d));var _0xd1fc=function(_0x33bc64,_0x4d1e92){_0x33bc64=_0x33bc64-0x0;var _0x3fdd34=_0x1fcd[_0x33bc64];return _0x3fdd34;};'use strict';var rp=require(_0xd1fc('0x0'));var url=require(_0xd1fc('0x1'));var logger=require(_0xd1fc('0x2'))(_0xd1fc('0x3'));module[_0xd1fc('0x4')]=function(_0x53bdd1,_0x5fde5c){var _0x122073={'method':_0xd1fc('0x5'),'uri':url['resolve'](_0x5fde5c[_0xd1fc('0x6')],_0xd1fc('0x7')),'form':{'grant_type':'password','username':_0x5fde5c[_0xd1fc('0x8')],'password':_0x5fde5c[_0xd1fc('0x9')]},'json':!![]};return rp(_0x122073)[_0xd1fc('0xa')](function(_0x33e50f){var _0x579548={'method':'POST','uri':url['resolve'](_0x5fde5c[_0xd1fc('0xb')],_0xd1fc('0xc')),'body':{'type':_0x5fde5c[_0xd1fc('0xd')]||'message','channelId':_0xd1fc('0xe'),'conversation':{'id':_0x53bdd1['uniqueid']},'from':{'id':_0x53bdd1[_0xd1fc('0xf')],'name':_0x53bdd1[_0xd1fc('0x10')]},'recipient':{'id':_0x53bdd1['dnid'],'name':_0x53bdd1[_0xd1fc('0x11')]},'text':_0x5fde5c[_0xd1fc('0x12')],'channelData':{}},'headers':{'Authorization':_0xd1fc('0x13')+_0x33e50f[_0xd1fc('0x14')]},'json':!![]};if(_0x5fde5c['project']){_0x579548[_0xd1fc('0x15')][_0xd1fc('0x16')][_0xd1fc('0x17')]=_0x5fde5c[_0xd1fc('0x18')];}if(_0x5fde5c['ndagenerate_audio']=='1'){_0x579548[_0xd1fc('0x15')][_0xd1fc('0x16')][_0xd1fc('0x19')]={'Generate':!![],'PutInStructuredPart':![],'ExpectedFormat':_0xd1fc('0x1a')};}if(_0x5fde5c['custom_action']){_0x579548[_0xd1fc('0x15')][_0xd1fc('0x16')][_0xd1fc('0x1b')]=_0x5fde5c[_0xd1fc('0x1c')];if(_0x5fde5c['custom_action_data']){_0x579548['body']['channelData'][_0xd1fc('0x1d')]=_0x5fde5c[_0xd1fc('0x1e')];}}logger[_0xd1fc('0x1f')](JSON[_0xd1fc('0x20')](_0x579548));return rp(_0x579548);});}; \ No newline at end of file +var _0x93f2=['text','project','body','channelData','ProjectName','ndagenerate_audio','AudioOutputSettings','audio/wav','custom_action','CustomAction','CustomActionData','info','stringify','request-promise','url','POST','resolve','ndauth_url','/token','password','username','ndassistant_url','/api/NaturalDialogAssistant/v1/Run','ndaactivity_type','callerid','dnid'];(function(_0x15dfdc,_0x1857b2){var _0x3780d5=function(_0x54f6d3){while(--_0x54f6d3){_0x15dfdc['push'](_0x15dfdc['shift']());}};_0x3780d5(++_0x1857b2);}(_0x93f2,0xf7));var _0x293f=function(_0x413feb,_0x10477f){_0x413feb=_0x413feb-0x0;var _0x40ee88=_0x93f2[_0x413feb];return _0x40ee88;};'use strict';var rp=require(_0x293f('0x0'));var url=require(_0x293f('0x1'));var logger=require('../../../../../config/logger')('agi');module['exports']=function(_0x494f1a,_0x407b09){var _0x3683c9={'method':_0x293f('0x2'),'uri':url[_0x293f('0x3')](_0x407b09[_0x293f('0x4')],_0x293f('0x5')),'form':{'grant_type':_0x293f('0x6'),'username':_0x407b09[_0x293f('0x7')],'password':_0x407b09[_0x293f('0x6')]},'json':!![]};return rp(_0x3683c9)['then'](function(_0x55242b){var _0x178e5c={'method':_0x293f('0x2'),'uri':url[_0x293f('0x3')](_0x407b09[_0x293f('0x8')],_0x293f('0x9')),'body':{'type':_0x407b09[_0x293f('0xa')]||'message','channelId':'Nda','conversation':{'id':_0x494f1a['uniqueid']},'from':{'id':_0x494f1a[_0x293f('0xb')],'name':_0x494f1a['calleridname']},'recipient':{'id':_0x494f1a[_0x293f('0xc')],'name':_0x494f1a['extension']},'text':_0x407b09[_0x293f('0xd')],'channelData':{}},'headers':{'Authorization':'Bearer\x20'+_0x55242b['access_token']},'json':!![]};if(_0x407b09[_0x293f('0xe')]){_0x178e5c[_0x293f('0xf')][_0x293f('0x10')][_0x293f('0x11')]=_0x407b09[_0x293f('0xe')];}if(_0x407b09[_0x293f('0x12')]=='1'){_0x178e5c[_0x293f('0xf')][_0x293f('0x10')][_0x293f('0x13')]={'Generate':!![],'PutInStructuredPart':![],'ExpectedFormat':_0x293f('0x14')};}if(_0x407b09[_0x293f('0x15')]){_0x178e5c[_0x293f('0xf')][_0x293f('0x10')][_0x293f('0x16')]=_0x407b09[_0x293f('0x15')];if(_0x407b09['custom_action_data']){_0x178e5c[_0x293f('0xf')][_0x293f('0x10')][_0x293f('0x17')]=_0x407b09['custom_action_data'];}}logger[_0x293f('0x18')](JSON[_0x293f('0x19')](_0x178e5c));return rp(_0x178e5c);});}; \ No newline at end of file diff --git a/server/services/agi/scripts/tilde/asr/index.js b/server/services/agi/scripts/tilde/asr/index.js index 02d5eac..af6f34f 100644 --- a/server/services/agi/scripts/tilde/asr/index.js +++ b/server/services/agi/scripts/tilde/asr/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x64e9=['exports','./lib/api'];(function(_0x50c819,_0x2027bc){var _0x567e31=function(_0xdea71c){while(--_0xdea71c){_0x50c819['push'](_0x50c819['shift']());}};_0x567e31(++_0x2027bc);}(_0x64e9,0x161));var _0x964e=function(_0x42c93e,_0x17b116){_0x42c93e=_0x42c93e-0x0;var _0x39b6b3=_0x64e9[_0x42c93e];return _0x39b6b3;};'use strict';var asr=require(_0x964e('0x0'));module[_0x964e('0x1')]=function(_0xe127bd,_0x3f39dd,_0x39d5c5,_0x5aeaf1){return asr(_0xe127bd,_0x3f39dd,_0x39d5c5,_0x5aeaf1);}; \ No newline at end of file +var _0xfea1=['./lib/api','exports'];(function(_0x32f9ca,_0x2fa8bc){var _0x52e083=function(_0x4fd86a){while(--_0x4fd86a){_0x32f9ca['push'](_0x32f9ca['shift']());}};_0x52e083(++_0x2fa8bc);}(_0xfea1,0x80));var _0x1fea=function(_0x40b981,_0x48b308){_0x40b981=_0x40b981-0x0;var _0x58696b=_0xfea1[_0x40b981];return _0x58696b;};'use strict';var asr=require(_0x1fea('0x0'));module[_0x1fea('0x1')]=function(_0x590006,_0x585c56,_0xb5db42,_0xeb4213){return asr(_0x590006,_0x585c56,_0xb5db42,_0xeb4213);}; \ No newline at end of file diff --git a/server/services/agi/scripts/tilde/asr/lib/api.js b/server/services/agi/scripts/tilde/asr/lib/api.js index 8d46171..25af65a 100644 --- a/server/services/agi/scripts/tilde/asr/lib/api.js +++ b/server/services/agi/scripts/tilde/asr/lib/api.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xa33a=['parse','status','result','final','Tilde\x20ASR\x20hypoteses','hypotheses','Success.','terminate','Aborted.\x20Recognition\x20was\x20aborted\x20for\x20some\x20reason.','Not\x20available.\x20Max\x20load\x20limit\x20reached.','Authentication\x20failed.','All\x20recognition\x20workers\x20are\x20currently\x20in\x20use\x20and\x20real-time\x20recognition\x20is\x20not\x20possible.','Tilde\x20ASR\x20parse\x20error','Close\x20Tilde\x20ASR\x20socket','Error\x20Tilde\x20ASR\x20socket','isNil','isObject','open','bluebird','lodash','moment','crypto','../../../../../../config/logger','agi','exports','info','Tilde\x20URI','wss://runa.tilde.lv/client/ws/speech/LVASR-ONLINE','No\x20speech.\x20Sent\x20when\x20the\x20incoming\x20audio\x20contains\x20a\x20large\x20portion\x20of\x20silence\x20or\x20non-speech','createHash','update','digest','hex','Open\x20Tilde\x20ASR\x20socket','unix','stringify','createReadStream','data','send','close','EOS','error','Tilde\x20ASR\x20send\x20error'];(function(_0x24237f,_0x4cf32c){var _0x48298e=function(_0x3f7511){while(--_0x3f7511){_0x24237f['push'](_0x24237f['shift']());}};_0x48298e(++_0x4cf32c);}(_0xa33a,0x68));var _0xaa33=function(_0x51ec54,_0x290637){_0x51ec54=_0x51ec54-0x0;var _0x2c265d=_0xa33a[_0x51ec54];return _0x2c265d;};'use strict';var BPromise=require(_0xaa33('0x0'));var _=require(_0xaa33('0x1'));var fs=require('fs');var WebSocket=require('ws');var moment=require(_0xaa33('0x2'));var crypto=require(_0xaa33('0x3'));var logger=require(_0xaa33('0x4'))(_0xaa33('0x5'));module[_0xaa33('0x6')]=function(_0x26a573,_0x3822fc,_0x25dadf,_0x4405c4){return new BPromise(function(_0x4199b9,_0x57eb04){logger[_0xaa33('0x7')](_0xaa33('0x8'),_0x4405c4||'wss://runa.tilde.lv/client/ws/speech/LVASR-ONLINE');var _0x3bcbff=new WebSocket(_0x4405c4||_0xaa33('0x9'),{'perMessageDeflate':![]});var _0x2f0e93='';var _0x4d2135='0';var _0x1e0cf1='1';var _0x26cfc0=_0xaa33('0xa');function _0xdaaef0(_0x3836b8){var _0x51acc8=crypto[_0xaa33('0xb')]('sha1');_0x51acc8[_0xaa33('0xc')](_0x3836b8);return _0x51acc8[_0xaa33('0xd')](_0xaa33('0xe'));}function _0x583858(){try{logger[_0xaa33('0x7')](_0xaa33('0xf'));var _0x1ff556=moment()[_0xaa33('0x10')]();var _0x28bbce=_0xdaaef0(_0x1ff556+_0x3822fc+_0x25dadf);_0x3bcbff['send'](JSON[_0xaa33('0x11')]({'appID':_0x3822fc,'timestamp':_0x1ff556,'appKey':_0x28bbce}));var _0x1e2706=fs[_0xaa33('0x12')](_0x26a573);_0x1e2706['on'](_0xaa33('0x13'),function(_0x15ac62){_0x3bcbff[_0xaa33('0x14')](_0x15ac62);});_0x1e2706['on'](_0xaa33('0x15'),function(){_0x3bcbff[_0xaa33('0x14')](_0xaa33('0x16'));});}catch(_0x188c36){logger[_0xaa33('0x17')](_0xaa33('0x18'),JSON['stringify'](_0x188c36));_0x3bcbff['terminate']();}}function _0x26a49c(_0x118c4e){try{if(_0x118c4e){var _0x8b9a6d=JSON[_0xaa33('0x19')](_0x118c4e);switch(_0x8b9a6d[_0xaa33('0x1a')]){case 0x0:if(_0x8b9a6d[_0xaa33('0x1b')]){if(_0x8b9a6d['result'][_0xaa33('0x1c')]){logger[_0xaa33('0x7')](_0xaa33('0x1d'),JSON[_0xaa33('0x11')](_0x8b9a6d[_0xaa33('0x1b')][_0xaa33('0x1e')]));_0x2f0e93=_0x8b9a6d[_0xaa33('0x1b')][_0xaa33('0x1e')][0x0]['transcript'];_0x4d2135=_0x8b9a6d[_0xaa33('0x1b')][_0xaa33('0x1e')][0x0]['likelihood'];_0x1e0cf1='0';_0x26cfc0=_0xaa33('0x1f');_0x3bcbff[_0xaa33('0x20')]();}}break;case 0x1:logger[_0xaa33('0x7')](_0xaa33('0xa'));_0x1e0cf1='1';_0x26cfc0=_0xaa33('0xa');break;case 0x2:logger[_0xaa33('0x7')](_0xaa33('0x21'));_0x1e0cf1='2';_0x26cfc0=_0xaa33('0x21');break;case 0x9:logger[_0xaa33('0x7')](_0xaa33('0x22'));_0x1e0cf1='9';_0x26cfc0='Not\x20available.\x20Max\x20load\x20limit\x20reached.';break;case 0xa:logger[_0xaa33('0x7')](_0xaa33('0x23'));_0x1e0cf1='10';_0x26cfc0=_0xaa33('0x23');break;case 0xb:logger['info'](_0xaa33('0x24'));_0x1e0cf1='11';_0x26cfc0='All\x20recognition\x20workers\x20are\x20currently\x20in\x20use\x20and\x20real-time\x20recognition\x20is\x20not\x20possible.';}}}catch(_0x39a635){logger[_0xaa33('0x17')](_0xaa33('0x25'),JSON[_0xaa33('0x11')](_0x39a635));_0x3bcbff[_0xaa33('0x20')]();}}function _0x29bd17(){logger[_0xaa33('0x7')](_0xaa33('0x26'));_0x4199b9({'transcript':_0x2f0e93,'confidence':_0x4d2135,'status':_0x1e0cf1,'status_message':_0x26cfc0});}function _0x459326(_0x19c8e6){logger[_0xaa33('0x17')](_0xaa33('0x27'));if(!_[_0xaa33('0x28')](_0x19c8e6)){logger[_0xaa33('0x17')](_[_0xaa33('0x29')](_0x19c8e6)?JSON[_0xaa33('0x11')](_0x19c8e6):_0x19c8e6);}}_0x3bcbff['on'](_0xaa33('0x2a'),_0x583858);_0x3bcbff['on']('message',_0x26a49c);_0x3bcbff['on'](_0xaa33('0x15'),_0x29bd17);_0x3bcbff['on']('error',_0x459326);});}; \ No newline at end of file +var _0x816f=['All\x20recognition\x20workers\x20are\x20currently\x20in\x20use\x20and\x20real-time\x20recognition\x20is\x20not\x20possible.','Tilde\x20ASR\x20parse\x20error','Error\x20Tilde\x20ASR\x20socket','isNil','isObject','open','message','bluebird','lodash','moment','crypto','exports','info','Tilde\x20URI','wss://runa.tilde.lv/client/ws/speech/LVASR-ONLINE','No\x20speech.\x20Sent\x20when\x20the\x20incoming\x20audio\x20contains\x20a\x20large\x20portion\x20of\x20silence\x20or\x20non-speech','sha1','update','hex','unix','send','stringify','EOS','error','Tilde\x20ASR\x20send\x20error','terminate','result','final','Tilde\x20ASR\x20hypoteses','hypotheses','likelihood','Success.','Not\x20available.\x20Max\x20load\x20limit\x20reached.'];(function(_0x45aa1,_0x35bf74){var _0x36cc77=function(_0x52da2d){while(--_0x52da2d){_0x45aa1['push'](_0x45aa1['shift']());}};_0x36cc77(++_0x35bf74);}(_0x816f,0x8b));var _0xf816=function(_0xed9ef1,_0x1f05b7){_0xed9ef1=_0xed9ef1-0x0;var _0x26c9d9=_0x816f[_0xed9ef1];return _0x26c9d9;};'use strict';var BPromise=require(_0xf816('0x0'));var _=require(_0xf816('0x1'));var fs=require('fs');var WebSocket=require('ws');var moment=require(_0xf816('0x2'));var crypto=require(_0xf816('0x3'));var logger=require('../../../../../../config/logger')('agi');module[_0xf816('0x4')]=function(_0x242661,_0x6dd718,_0x10b188,_0x21b50a){return new BPromise(function(_0x5ccbdd,_0x4cd2b6){logger[_0xf816('0x5')](_0xf816('0x6'),_0x21b50a||_0xf816('0x7'));var _0x1a2403=new WebSocket(_0x21b50a||_0xf816('0x7'),{'perMessageDeflate':![]});var _0x339e32='';var _0x22dbfa='0';var _0x28fdf4='1';var _0x19f653=_0xf816('0x8');function _0x4ebf30(_0x318673){var _0x35f06e=crypto['createHash'](_0xf816('0x9'));_0x35f06e[_0xf816('0xa')](_0x318673);return _0x35f06e['digest'](_0xf816('0xb'));}function _0x4d140d(){try{logger[_0xf816('0x5')]('Open\x20Tilde\x20ASR\x20socket');var _0x4591ac=moment()[_0xf816('0xc')]();var _0x3b4e90=_0x4ebf30(_0x4591ac+_0x6dd718+_0x10b188);_0x1a2403[_0xf816('0xd')](JSON[_0xf816('0xe')]({'appID':_0x6dd718,'timestamp':_0x4591ac,'appKey':_0x3b4e90}));var _0x2ea4fe=fs['createReadStream'](_0x242661);_0x2ea4fe['on']('data',function(_0x34c780){_0x1a2403['send'](_0x34c780);});_0x2ea4fe['on']('close',function(){_0x1a2403[_0xf816('0xd')](_0xf816('0xf'));});}catch(_0x4c0061){logger[_0xf816('0x10')](_0xf816('0x11'),JSON['stringify'](_0x4c0061));_0x1a2403[_0xf816('0x12')]();}}function _0x9e8d40(_0x556670){try{if(_0x556670){var _0x3141a5=JSON['parse'](_0x556670);switch(_0x3141a5['status']){case 0x0:if(_0x3141a5[_0xf816('0x13')]){if(_0x3141a5[_0xf816('0x13')][_0xf816('0x14')]){logger[_0xf816('0x5')](_0xf816('0x15'),JSON[_0xf816('0xe')](_0x3141a5[_0xf816('0x13')][_0xf816('0x16')]));_0x339e32=_0x3141a5[_0xf816('0x13')][_0xf816('0x16')][0x0]['transcript'];_0x22dbfa=_0x3141a5[_0xf816('0x13')][_0xf816('0x16')][0x0][_0xf816('0x17')];_0x28fdf4='0';_0x19f653=_0xf816('0x18');_0x1a2403[_0xf816('0x12')]();}}break;case 0x1:logger[_0xf816('0x5')](_0xf816('0x8'));_0x28fdf4='1';_0x19f653='No\x20speech.\x20Sent\x20when\x20the\x20incoming\x20audio\x20contains\x20a\x20large\x20portion\x20of\x20silence\x20or\x20non-speech';break;case 0x2:logger[_0xf816('0x5')]('Aborted.\x20Recognition\x20was\x20aborted\x20for\x20some\x20reason.');_0x28fdf4='2';_0x19f653='Aborted.\x20Recognition\x20was\x20aborted\x20for\x20some\x20reason.';break;case 0x9:logger['info'](_0xf816('0x19'));_0x28fdf4='9';_0x19f653=_0xf816('0x19');break;case 0xa:logger['info']('Authentication\x20failed.');_0x28fdf4='10';_0x19f653='Authentication\x20failed.';break;case 0xb:logger[_0xf816('0x5')](_0xf816('0x1a'));_0x28fdf4='11';_0x19f653=_0xf816('0x1a');}}}catch(_0x330309){logger[_0xf816('0x10')](_0xf816('0x1b'),JSON[_0xf816('0xe')](_0x330309));_0x1a2403[_0xf816('0x12')]();}}function _0xd7cfd9(){logger[_0xf816('0x5')]('Close\x20Tilde\x20ASR\x20socket');_0x5ccbdd({'transcript':_0x339e32,'confidence':_0x22dbfa,'status':_0x28fdf4,'status_message':_0x19f653});}function _0x22e241(_0xaac70e){logger['error'](_0xf816('0x1c'));if(!_[_0xf816('0x1d')](_0xaac70e)){logger[_0xf816('0x10')](_[_0xf816('0x1e')](_0xaac70e)?JSON[_0xf816('0xe')](_0xaac70e):_0xaac70e);}}_0x1a2403['on'](_0xf816('0x1f'),_0x4d140d);_0x1a2403['on'](_0xf816('0x20'),_0x9e8d40);_0x1a2403['on']('close',_0xd7cfd9);_0x1a2403['on'](_0xf816('0x10'),_0x22e241);});}; \ No newline at end of file diff --git a/server/services/agi/scripts/tilde/index.js b/server/services/agi/scripts/tilde/index.js index a41b545..7c841ee 100644 --- a/server/services/agi/scripts/tilde/index.js +++ b/server/services/agi/scripts/tilde/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x3b68=['./asr'];(function(_0x2aae91,_0x1ac716){var _0x541127=function(_0x324656){while(--_0x324656){_0x2aae91['push'](_0x2aae91['shift']());}};_0x541127(++_0x1ac716);}(_0x3b68,0xd6));var _0x83b6=function(_0x116bdc,_0x384b87){_0x116bdc=_0x116bdc-0x0;var _0x21f218=_0x3b68[_0x116bdc];return _0x21f218;};var asr=require(_0x83b6('0x0'));module['exports']={'asr':asr}; \ No newline at end of file +var _0xcf54=['exports'];(function(_0x1342ac,_0x87c812){var _0x52e28d=function(_0xcc5feb){while(--_0xcc5feb){_0x1342ac['push'](_0x1342ac['shift']());}};_0x52e28d(++_0x87c812);}(_0xcf54,0x125));var _0x4cf5=function(_0x1b51ea,_0x394fd9){_0x1b51ea=_0x1b51ea-0x0;var _0x18bbdc=_0xcf54[_0x1b51ea];return _0x18bbdc;};var asr=require('./asr');module[_0x4cf5('0x0')]={'asr':asr}; \ No newline at end of file diff --git a/server/services/agi/server.js b/server/services/agi/server.js index 245f4e4..aa01f7f 100644 --- a/server/services/agi/server.js +++ b/server/services/agi/server.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x5ebe=['connection','getConnections','error','E_AGI_SERVER_VOICE_DISABLED','E_AGI_SERVER_MAXCONNECTION','destroy','ready','E_AGI_SERVER_ERROR','code','E_AGI_SERVER_CLOSE','nextTick','inherits','exports','net','events','EventEmitter','./error','./channel','127.0.0.1','call','listen','emit','listening'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x5ebe,0x69));var _0xe5eb=function(_0x122ef9,_0x451d2a){_0x122ef9=_0x122ef9-0x0;var _0x42fba0=_0x5ebe[_0x122ef9];return _0x42fba0;};'use strict';var util=require('util');var net=require(_0xe5eb('0x0'));var EventEmitter=require(_0xe5eb('0x1'))[_0xe5eb('0x2')];var AGIError=require(_0xe5eb('0x3'));var AGIChannel=require(_0xe5eb('0x4'));var AGIServer=function(_0x3912d6,_0x4aa14d,_0x56ef37){var _0x465c4e=this,_0x3912d6=_0x3912d6||0x11dd,_0x4aa14d=_0x4aa14d||_0xe5eb('0x5'),_0x1f7414=null,_0x3055ba=0x0;EventEmitter[_0xe5eb('0x6')](_0x465c4e);function _0x1acd9d(){if(!_0x3912d6){_0x465c4e['emit']('error',new AGIError('E_AGI_ARGUMENT_PORT'));return![];}_0x1f7414=net['createServer']();_0x1f7414[_0xe5eb('0x7')](_0x3912d6,_0x4aa14d);_0x1f7414['on']('listening',function(){_0x465c4e[_0xe5eb('0x8')](_0xe5eb('0x9'));});_0x1f7414['on'](_0xe5eb('0xa'),function(_0x4ecda3){_0x1f7414[_0xe5eb('0xb')](function(_0xd194f8,_0x474816){if(_0xd194f8){_0x465c4e[_0xe5eb('0x8')](_0xe5eb('0xc'),new AGIError('E_AGI_SERVER_ERROR',_0xd194f8));}else if(_0x56ef37&&_0x56ef37<0x0){_0x465c4e[_0xe5eb('0x8')](_0xe5eb('0xc'),new AGIError(_0xe5eb('0xd')));_0x4ecda3['destroy']();}else if(_0x56ef37&&_0x56ef37>0x0&&_0x56ef37<_0x474816){_0x3055ba+=0x1;_0x465c4e['emit'](_0xe5eb('0xc'),new AGIError(_0xe5eb('0xe'),_0x3055ba));_0x4ecda3[_0xe5eb('0xf')]();}else{var _0x531940=new AGIChannel(_0x4ecda3);_0x531940['on'](_0xe5eb('0x10'),function(){_0x465c4e[_0xe5eb('0x8')]('connection',_0x531940);});}});});_0x1f7414['on'](_0xe5eb('0xc'),function(_0x58d21c){_0x465c4e['emit']('error',new AGIError(_0xe5eb('0x11'),_0x58d21c[_0xe5eb('0x12')]));});_0x1f7414['on']('close',function(){_0x465c4e[_0xe5eb('0x8')]('close',new AGIError(_0xe5eb('0x13')));});}process[_0xe5eb('0x14')](function(){_0x1acd9d();});};util[_0xe5eb('0x15')](AGIServer,EventEmitter);module[_0xe5eb('0x16')]=function(_0x4f8009,_0x211ff7,_0x2a5aff){return new AGIServer(_0x4f8009,_0x211ff7,_0x2a5aff);}; \ No newline at end of file +var _0x851e=['ready','code','close','nextTick','exports','util','net','events','./channel','127.0.0.1','call','emit','createServer','listen','listening','connection','getConnections','error','E_AGI_SERVER_ERROR','destroy','E_AGI_SERVER_MAXCONNECTION'];(function(_0x2235bf,_0x3a06a7){var _0x4c3a64=function(_0x3b3bb6){while(--_0x3b3bb6){_0x2235bf['push'](_0x2235bf['shift']());}};_0x4c3a64(++_0x3a06a7);}(_0x851e,0x1e8));var _0xe851=function(_0x296923,_0x4adaed){_0x296923=_0x296923-0x0;var _0x29af70=_0x851e[_0x296923];return _0x29af70;};'use strict';var util=require(_0xe851('0x0'));var net=require(_0xe851('0x1'));var EventEmitter=require(_0xe851('0x2'))['EventEmitter'];var AGIError=require('./error');var AGIChannel=require(_0xe851('0x3'));var AGIServer=function(_0x11f06b,_0x16b38a,_0x326b34){var _0xe50306=this,_0x11f06b=_0x11f06b||0x11dd,_0x16b38a=_0x16b38a||_0xe851('0x4'),_0x2b36b5=null,_0xba0648=0x0;EventEmitter[_0xe851('0x5')](_0xe50306);function _0x4e1c59(){if(!_0x11f06b){_0xe50306[_0xe851('0x6')]('error',new AGIError('E_AGI_ARGUMENT_PORT'));return![];}_0x2b36b5=net[_0xe851('0x7')]();_0x2b36b5[_0xe851('0x8')](_0x11f06b,_0x16b38a);_0x2b36b5['on'](_0xe851('0x9'),function(){_0xe50306[_0xe851('0x6')]('listening');});_0x2b36b5['on'](_0xe851('0xa'),function(_0xd5d71c){_0x2b36b5[_0xe851('0xb')](function(_0x4e360f,_0xeedf07){if(_0x4e360f){_0xe50306['emit'](_0xe851('0xc'),new AGIError(_0xe851('0xd'),_0x4e360f));}else if(_0x326b34&&_0x326b34<0x0){_0xe50306['emit'](_0xe851('0xc'),new AGIError('E_AGI_SERVER_VOICE_DISABLED'));_0xd5d71c[_0xe851('0xe')]();}else if(_0x326b34&&_0x326b34>0x0&&_0x326b34<_0xeedf07){_0xba0648+=0x1;_0xe50306['emit'](_0xe851('0xc'),new AGIError(_0xe851('0xf'),_0xba0648));_0xd5d71c['destroy']();}else{var _0x391632=new AGIChannel(_0xd5d71c);_0x391632['on'](_0xe851('0x10'),function(){_0xe50306[_0xe851('0x6')]('connection',_0x391632);});}});});_0x2b36b5['on']('error',function(_0x11ba80){_0xe50306[_0xe851('0x6')](_0xe851('0xc'),new AGIError(_0xe851('0xd'),_0x11ba80[_0xe851('0x11')]));});_0x2b36b5['on'](_0xe851('0x12'),function(){_0xe50306['emit'](_0xe851('0x12'),new AGIError('E_AGI_SERVER_CLOSE'));});}process[_0xe851('0x13')](function(){_0x4e1c59();});};util['inherits'](AGIServer,EventEmitter);module[_0xe851('0x14')]=function(_0x51d5ba,_0x232957,_0x2d8015){return new AGIServer(_0x51d5ba,_0x232957,_0x2d8015);}; \ No newline at end of file diff --git a/server/services/agi/vertices.js b/server/services/agi/vertices.js index f3e8a62..f68670a 100644 --- a/server/services/agi/vertices.js +++ b/server/services/agi/vertices.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x25d3=['SestekNDA\x20Result\x20%s','SestekNDA\x20is\x20unreachable','end','Enter\x20in\x20END\x20(%s)\x20block','ext_dial','Enter\x20in\x20EXTERNAL\x20DIAL\x20(%s)\x20block','trunk_id','no\x20trunk\x20selected','trunk_name','opts','finally','Enter\x20in\x20FINALLY\x20(%s)\x20block','Enter\x20in\x20GETDIGITS\x20(%s)\x20block','retry','file_id','no\x20file\x20audio\x20selected','no\x20file\x20audio\x20found','getData','maxdigit','test','mindigit','hiddendigitsnum','hiddendigitspos','first','substr','generate','Enter\x20in\x20GOAL\x20(%s)\x20block','GOAL\x20%s','goalname','no\x20valid\x20credentials\x20configured','Trying\x20aws\x20Polly\x20%s','aws\x20Polly\x20%s\x20file\x20created','aws\x20Polly\x20is\x20unreachable','awslex','Enter\x20in\x20Amazon\x20Lex\x20(%s)\x20block','no\x20bot\x20name\x20configured','Trying\x20Amazon\x20Lex:\x20%s','AWS_LEX_%s','Amazon\x20Lex\x20Result\x20%s','Amazon\x20Lex\x20is\x20unreachable','googleasr','Enter\x20in\x20GOOGLEASR\x20(%s)\x20block\x20%s','%s/recordings/%s','beep','NOBEEP','recordFile','intKey','google\x20%s\x20file\x20created','GOOGLE_ASR_%s','GoogleASR\x20Result\x20%s','tildeasr','Enter\x20in\x20TILDEASR\x20(%s)\x20block','wav','tilde\x20%s\x20file\x20created','TILDE_ASR_%s','TildeASR\x20Result\x20%s','gotoc','Enter\x20in\x20GOTO\x20(%s)\x20block','continueAt','Enter\x20in\x20GOTOIF\x20(%s)\x20block','condition','no\x20condition\x20configured','true','false','EVAL\x20CONDITION\x20%s\x20%s','Enter\x20in\x20GOTOIFTIME\x20(%s)\x20block','interval_id','no\x20interval\x20configured','no\x20intervals\x20found','IFTIME\x20%s\x20%s','hangup','Enter\x20in\x20HANGUP\x20(%s)\x20block','ispeechasr','Enter\x20in\x20ISPEECHASR\x20(%s)\x20block','ispeechtts','Enter\x20in\x20ISPEECHTTS\x20(%s)\x20block','Trying\x20ispeech\x20TTS\x20%s','ispeech\x20%s\x20file\x20created','ispeech\x20TTS\x20is\x20unreachable','login','Enter\x20in\x20LOGIN\x20(%s)\x20block','no\x20find\x20by\x20configured','FIND\x20AGENT\x20%s\x20BY\x20%s','findBy','AGENT\x20%s\x20FOUND\x20BY','success','AGENT\x20%s\x20NOT\x20FOUND\x20BY','failure','logout','math','Enter\x20in\x20MATH\x20(%s)\x20block','operation','%s[%s]','variable\x20%s[key]\x20set','Enter\x20in\x20MENU\x20(%s)\x20block','getSound','response','digit','Enter\x20in\x20NOOP\x20(%s)\x20block','output','pause','Enter\x20in\x20PAUSE\x20(%s)\x20block','pause_id','playback','Enter\x20in\x20PLAYBACK\x20(%s)\x20block','PLAYBACK','queue','no\x20queue\x20selected','queue_id','getVoiceQueue','no\x20queue\x20found','indexOf','XMCS-QUEUE','QUEUE','macro','gosub','position','record','Enter\x20in\x20RECORD\x20(%s)\x20block','%s_%s','RECORDING_SAVENAME','escape_digits','restapi','Enter\x20in\x20RESTAPI\x20(%s)\x20block','no\x20url\x20configured','restAPI','inspect','no\x20variable\x20selected\x20for\x20the\x20response','200','Unable\x20to\x20set\x20result\x20in\x20variable\x20%s','Enter\x20in\x20SAYDIGITS\x20(%s)\x20block','sayDigits','digits','saynumber','Enter\x20in\x20SAYNUMBER\x20(%s)\x20block','sayNumber','Enter\x20in\x20SAYPHONETIC\x20(%s)\x20block','sayPhonetic','sendMail','Enter\x20in\x20SENDMAIL\x20(%s)\x20block','no\x20mail\x20account\x20configured','Smtp','no\x20mail\x20account\x20found','\x22%s\x22\x20<%s>','email','user','bcc','service','host','port','secure','authentication','template_id','sendMail\x20message','account_id','Trying\x20SendMail\x20with\x20account\x20%s','sendFax','Enter\x20in\x20SENDFAX\x20(%s)\x20block','SENDFAX\x20block\x20not\x20implemented','sendSMS','sms_text','sendSMS\x20message','sms_account_id','Trying\x20SendSMS\x20with\x20account\x20%s','Sms\x20message\x20added\x20to\x20outgoing\x20process','set','no\x20variable\x20selected','variable_value','start','Enter\x20in\x20START\x20(%s)\x20block','START\x20CALLY\x20SQUARE','yes','Answer','subproject','no\x20subproject\x20selected','project_id','AGI','agi://%s/square,\x22%s\x22,\x22%s\x22','127.0.0.1','sh\x20command:\x20%s\x20result\x20on\x20variable:\x20%s','google_cloud_tts','Enter\x20in\x20Google\x20Cloud\x20TTS\x20(%s)\x20block','no\x20apiKey\x20configured','Trying\x20Google\x20Cloud\x20TTS\x20%s','Google\x20Cloud\x20TTS\x20%s\x20file\x20created','Google\x20Cloud\x20TTS\x20is\x20unreachable','tts','Trying\x20Google\x20TTS\x20%s','Google\x20TTS\x20%s\x20file\x20created','Google\x20TTS\x20is\x20unreachable','unpause','voicemail','Enter\x20in\x20VOICEMAIL\x20(%s)\x20block','VOICEMAIL','mailbox','Enter\x20in\x20SWITCH\x20(%s)\x20block','exports','path','lodash','odbc','randomstring','moment','mustache','../../config/logger','../../config/environment','rawHeaders','rawBody','menu','getdigits','getsecretdigits','channel','mailRpc','prototype','getVariable','rpc','getVariableById','then','name','catch','getVoiceQueueById','getSquareProject','getSquareOdbc','getSquareOdbcById','dsn','getUser','getUserById','getTrunk','getTrunkById','getSoundById','getSoundPath','save_name','getMailAccount','sendMailMessage','getIntervals','getIntervalById','IntervalId','interval','map','Intervals','getQueryOdbc','open','query','info','Error\x20executing\x20query\x20%s','error','getSmsAccount','createSmsMessage','createSquareDetailsReport','uniqueid','label','agicommand','arg_1','callerid','createSquareRecording','extension','priority','dnid','createSquareMessage','createCmContact','isEmpty','isNil','lastName','list_id','scheduledAt','Callback\x20scheduled\x20at\x20','toString','callback_priority','getPause','getPauseById','agentPause','agent','agentUnpause','agentLogout','agentLogin','format','%s/%s@from-sip/n','LOCAL','shellCommand','exec','trim','replace','googleCloudTTS','apiKey','google_cloud_tts_text_type','text','en-US','ssmlGender','MALE','audioEncoding','googleTTS','google_tts_language','url','method','timeout','number','includes','POST','PUT','toUpperCase','parse','An\x20incorrect\x20formatted\x20json\x20body\x20has\x20been\x20passed\x20to\x20the\x20function','headers','An\x20incorrect\x20formatted\x20json\x20headers\x20has\x20been\x20passed\x20to\x20the\x20function','computedVariables','uri','render','stringify','body','An\x20incorrect\x20formatted\x20json\x20has\x20been\x20passed\x20to\x20the\x20function','statusCode','statusMessage','message','500\x20-\x20Internal\x20Server\x20Error','options','googleDialogflow','key','dialogflow_language','sestekNDA','ispeechTTS','ispeech_tts_language','ispeechASR','model','awsPolly','aws_access_key_id','aws_secret_access_key','aws_polly_region','aws_polly_voice','Amy','aws_text_type','awsLex','aws_lex_region','googleASR','google_asr_language','tildeASR','appid','appsecret','clear','clone','hasOwnProperty','isString','replaceAllVariables','isPlainObject','recursiveNodeIndex','isArray','length','saveRestApiResult','%s.%s','setVariable','replaceObjectAllVariables','split','replaceAll','extra','result','isConfigured','maxRetry','sync','mrcpsynth','Enter\x20in\x20MRCPSynth\x20(%s)\x20block','MRCPSynth','noop','Executed\x20command\x20MRCPSynth\x20%s','mrcprecog','Enter\x20in\x20MRCPRecog\x20(%s)\x20block','grammar','no\x20grammar\x20configured','MRCPRecog','getAndSetVariable','RECOG_CONFIDENCE()','RECOG_INPUT()','MRCP_RECOG_TRANSCRIPT','RECOG_INSTANCE()','MRCP_RECOG_INSTANCE','Executed\x20command\x20MRCPRecog\x20%s','agi','Enter\x20in\x20AGI\x20(%s)\x20block','command','args','answer','wait','callback','Enter\x20in\x20CALLBACK\x20(%s)\x20block','no\x20list\x20selected','add','delay','minutes','CALLBACK\x20added\x20phone:\x20%s\x20on\x20list:\x20%s\x20at\x20%s','phone','custom_app','Enter\x20in\x20CUSTOM\x20APP\x20(%s)\x20block','application','Executed\x20command\x20%s\x20%s','lumenvoxtts','Enter\x20in\x20LUMENVOXTTS\x20(%s)\x20block','no\x20text\x20configured','Enter\x20in\x20SESTEKTTS\x20(%s)\x20block','lumenvoxasr','Enter\x20in\x20LUMENVOXASR\x20(%s)\x20block','LUMENVOX_ASR_CONFIDENCE','LUMENVOX_ASR_TRANSCRIPT','LUMENVOX_ASR_INSTANCE','sestekasr','Enter\x20in\x20SESTEKASR\x20(%s)\x20block','SESTEK_ASR_CONFIDENCE','SESTEK_ASR_TRANSCRIPT','SESTEK_ASR_INSTANCE','database','Enter\x20in\x20DATABASE\x20(%s)\x20block','odbc_id','no\x20database\x20selected','no\x20odbc\x20database\x20found','no\x20query\x20configured','query:\x20%s','no\x20variable\x20selected\x20for\x20the\x20result','variable_id','no\x20variable\x20found','keys','forEach','%s[%s][%s]','%s_ROWS_COUNT','variable\x20%s\x20set','debug','Enter\x20in\x20DIAL\x20(%s)\x20block','sip_id','no\x20user\x20selected','no\x20user\x20found','DIAL','SIP/%s','Executed\x20command\x20%s','Enter\x20in\x20DIALOGFLOW\x20(%s)\x20block','no\x20key\x20configured','bot','Trying\x20Dialogflow:\x20%s','DIALOGFLOW_%s','speech','out','Dialogflow\x20Result\x20%s','Dialogflow\x20is\x20unreachable','sesteknda','Enter\x20in\x20SESTEKNDA\x20(%s)\x20block','ndauth_url','no\x20ndauth\x20url\x20configured','no\x20username\x20configured','no\x20password\x20configured','Trying\x20SestekNDA:\x20%s','SESTEK_NDA_%s','audiofile','Sestek\x20NDA\x20%s\x20file\x20created','streamFile','unlink','.wav'];(function(_0x41ffb6,_0x53a813){var _0x3d2eb3=function(_0x3dd6a5){while(--_0x3dd6a5){_0x41ffb6['push'](_0x41ffb6['shift']());}};_0x3d2eb3(++_0x53a813);}(_0x25d3,0xc5));var _0x325d=function(_0x29db7f,_0xb675ed){_0x29db7f=_0x29db7f-0x0;var _0x45c87d=_0x25d3[_0x29db7f];return _0x45c87d;};'use strict';var fs=require('fs');var path=require(_0x325d('0x0'));var util=require('util');var _=require(_0x325d('0x1'));var sh=require('shelljs');var odbc=require(_0x325d('0x2'))();var rs=require(_0x325d('0x3'));var moment=require(_0x325d('0x4'));var Mustache=require(_0x325d('0x5'));var rp=require('request-promise');var logger=require(_0x325d('0x6'))('agi');var config=require(_0x325d('0x7'));var scripts=require('./scripts');var FILES_PATH='/var/opt/motion2/server/files';var recursiveMapAttributes=[_0x325d('0x8'),_0x325d('0x9')];var verticesWithRetry=[_0x325d('0xa'),_0x325d('0xb'),_0x325d('0xc')];var AGIVertices=function(_0x12ed65,_0x3de0db,_0x14ec3f){this[_0x325d('0xd')]=_0x12ed65;this['rpc']=_0x3de0db;this[_0x325d('0xe')]=_0x14ec3f;};AGIVertices[_0x325d('0xf')][_0x325d('0x10')]=function(_0x4ccfd5,_0x508c70){this[_0x325d('0x11')][_0x325d('0x12')](_0x4ccfd5)[_0x325d('0x13')](function(_0x5ebec5){_0x508c70(null,_0x5ebec5?_0x5ebec5[_0x325d('0x14')]:![]);})[_0x325d('0x15')](function(_0x490be5){_0x508c70(_0x490be5);});};AGIVertices[_0x325d('0xf')]['getVoiceQueue']=function(_0x2c17c0,_0x34e3f4){this['rpc'][_0x325d('0x16')](_0x2c17c0)[_0x325d('0x13')](function(_0x9a43a7){_0x34e3f4(null,_0x9a43a7?_0x9a43a7[_0x325d('0x14')]:![]);})[_0x325d('0x15')](function(_0x1e75bf){_0x34e3f4(_0x1e75bf);});};AGIVertices[_0x325d('0xf')][_0x325d('0x17')]=function(_0x24864d,_0x31c412){this[_0x325d('0x11')]['getSquareProjectById'](_0x24864d)[_0x325d('0x13')](function(_0xd81de3){_0x31c412(null,_0xd81de3?_0xd81de3['name']:![]);})[_0x325d('0x15')](function(_0x252ce0){_0x31c412(_0x252ce0);});};AGIVertices['prototype'][_0x325d('0x18')]=function(_0xd14a6f,_0x169657){this[_0x325d('0x11')][_0x325d('0x19')](_0xd14a6f)[_0x325d('0x13')](function(_0x286d70){_0x169657(null,_0x286d70?_0x286d70[_0x325d('0x1a')]:![]);})[_0x325d('0x15')](function(_0xe12cea){_0x169657(_0xe12cea);});};AGIVertices['prototype'][_0x325d('0x1b')]=function(_0xbc6da5,_0x247254){this['rpc'][_0x325d('0x1c')](_0xbc6da5)[_0x325d('0x13')](function(_0x2a0776){_0x247254(null,_0x2a0776?_0x2a0776[_0x325d('0x14')]:![]);})[_0x325d('0x15')](function(_0x1dbf5e){_0x247254(_0x1dbf5e);});};AGIVertices['prototype'][_0x325d('0x1d')]=function(_0xf09744,_0x43a552){this[_0x325d('0x11')][_0x325d('0x1e')](_0xf09744)[_0x325d('0x13')](function(_0x2ab8d6){_0x43a552(null,_0x2ab8d6?_0x2ab8d6[_0x325d('0x14')]:![]);})['catch'](function(_0x5a1b4a){_0x43a552(_0x5a1b4a);});};AGIVertices[_0x325d('0xf')]['getSound']=function(_0x334e8f,_0x488773){var _0x3319a9=this;this[_0x325d('0x11')][_0x325d('0x1f')](_0x334e8f)[_0x325d('0x13')](function(_0x1f1e80){_0x488773(null,_0x1f1e80?_0x3319a9[_0x325d('0x20')](_0x1f1e80[_0x325d('0x21')]):![]);})[_0x325d('0x15')](function(_0x307477){_0x488773(_0x307477);});};AGIVertices[_0x325d('0xf')][_0x325d('0x22')]=function(_0x51c5cf,_0xea315c){this[_0x325d('0x11')]['getMailAccountById'](_0x51c5cf)[_0x325d('0x13')](function(_0x30fb4a){_0xea315c(null,_0x30fb4a?_0x30fb4a:![]);})[_0x325d('0x15')](function(_0x12a472){_0xea315c(_0x12a472);});};AGIVertices[_0x325d('0xf')][_0x325d('0x23')]=function(_0x1216f0,_0x16419d,_0xe0d436){this[_0x325d('0xe')][_0x325d('0x23')](_0x1216f0,_0x16419d)['then'](function(){_0xe0d436(null);})[_0x325d('0x15')](function(_0x338173){_0xe0d436(_0x338173);});};AGIVertices[_0x325d('0xf')][_0x325d('0x24')]=function(_0x4873e9,_0x3640bd){this[_0x325d('0x11')][_0x325d('0x25')](_0x4873e9)['then'](function(_0x32e576){if(_0x32e576){if(_0x32e576[_0x325d('0x26')]){_0x3640bd(null,[_0x32e576[_0x325d('0x27')]]);}else{_0x3640bd(null,_[_0x325d('0x28')](_0x32e576[_0x325d('0x29')],'interval'));}}else{_0x3640bd(null,![]);}})['catch'](function(_0x183bb0){_0x3640bd(_0x183bb0);});};AGIVertices['prototype'][_0x325d('0x20')]=function(_0x26d9a7){return util['format']('%s/sounds/converted/%s',FILES_PATH,_0x26d9a7);};AGIVertices['prototype'][_0x325d('0x2a')]=function(_0x470c1e,_0x181bd5,_0x41f6ba){odbc[_0x325d('0x2b')](_0x470c1e,function(_0x415505){if(_0x415505){logger['error']('Error\x20getting\x20ODBC\x20connection\x20%s',_0x415505);_0x41f6ba(_0x415505);}else{logger['info']('ODBC\x20connection\x20successfully');odbc[_0x325d('0x2c')](_0x181bd5,function(_0xb33d67,_0x5346f6){if(_0xb33d67){logger[_0x325d('0x2d')](_0x325d('0x2e'),_0x181bd5);_0x41f6ba(_0xb33d67);}else{logger['info']('Query\x20executed\x20correctly\x20%s',_0x181bd5);odbc['close'](function(_0x591c8b){if(_0x591c8b){logger[_0x325d('0x2f')]('Error\x20closing\x20connection\x20to\x20odbc\x20%s',_0x591c8b);}_0x41f6ba(null,_0x5346f6);});}});}});};AGIVertices['prototype'][_0x325d('0x30')]=function(_0x2ee0ff,_0x42f0a1){this['rpc']['getSmsAccountById'](_0x2ee0ff)[_0x325d('0x13')](function(_0x4795a3){_0x42f0a1(null,_0x4795a3?_0x4795a3:![]);})['catch'](function(_0x19f61a){_0x42f0a1(_0x19f61a);});};AGIVertices[_0x325d('0xf')][_0x325d('0x31')]=function(_0x364303,_0x58c599){this[_0x325d('0x11')][_0x325d('0x31')](_0x364303)[_0x325d('0x13')](function(_0x1e491c){_0x58c599(null,_0x1e491c);})[_0x325d('0x15')](function(_0x568fda){_0x58c599(_0x568fda);});};AGIVertices['prototype'][_0x325d('0x32')]=function(_0xaf3d2e,_0xdf18e9,_0x2e1157){this[_0x325d('0x11')][_0x325d('0x32')]({'uniqueid':this[_0x325d('0xd')][_0x325d('0x33')],'node':_0xaf3d2e[_0x325d('0x34')],'application':_0xaf3d2e[_0x325d('0x35')],'data':_0xdf18e9||null,'project_name':this['channel'][_0x325d('0x36')],'callerid':this['channel'][_0x325d('0x37')]})[_0x325d('0x13')](function(_0x38d4c8){if(_0x2e1157){_0x2e1157(null,_0x38d4c8);}})[_0x325d('0x15')](function(_0x34af25){if(_0x2e1157){_0x2e1157(_0x34af25);}});};AGIVertices[_0x325d('0xf')][_0x325d('0x38')]=function(_0xaf7ada,_0x479bc0,_0xcdab05,_0x14d3c3){this[_0x325d('0x11')]['createSquareRecording']({'uniqueid':this['channel'][_0x325d('0x33')],'callerid':this[_0x325d('0xd')][_0x325d('0x37')],'calleridname':this['channel']['calleridname'],'context':this['channel']['context'],'extension':this[_0x325d('0xd')][_0x325d('0x39')],'priority':this[_0x325d('0xd')][_0x325d('0x3a')],'accountcode':this[_0x325d('0xd')]['accountcode'],'dnid':this[_0x325d('0xd')][_0x325d('0x3b')],'projectName':this['channel'][_0x325d('0x36')],'saveName':_0x479bc0,'filename':_0xaf7ada['file']||_0x479bc0,'savePath':_0xcdab05})['then'](function(_0x49328c){_0x14d3c3(null,_0x49328c);})[_0x325d('0x15')](function(_0x31adba){_0x14d3c3(_0x31adba);});};AGIVertices['prototype'][_0x325d('0x3c')]=function(_0x5efe72,_0x2a4d47,_0x1f6487){this[_0x325d('0x11')]['createSquareMessage']({'uniqueid':this['channel'][_0x325d('0x33')],'body':_0x5efe72,'direction':_0x2a4d47})[_0x325d('0x13')](function(_0x7de716){if(_0x1f6487){_0x1f6487(null,_0x7de716);}})['catch'](function(_0xe843b9){if(_0x1f6487){_0x1f6487(_0xe843b9);}});};AGIVertices['prototype'][_0x325d('0x3d')]=function(_0x438ac6,_0x20be5){this[_0x325d('0x11')][_0x325d('0x3d')]({'firstName':_[_0x325d('0x3e')](_0x438ac6[_0x325d('0x14')])||_[_0x325d('0x3f')](_0x438ac6[_0x325d('0x14')])?'callback_'+Math['random']():_0x438ac6['name'],'lastName':_[_0x325d('0x3e')](_0x438ac6[_0x325d('0x40')])||_[_0x325d('0x3f')](_0x438ac6[_0x325d('0x40')])?null:_0x438ac6['lastName'],'phone':_0x438ac6['phone'],'ListId':_0x438ac6[_0x325d('0x41')],'scheduledat':_0x438ac6[_0x325d('0x42')],'callbackUniqueid':this[_0x325d('0xd')][_0x325d('0x33')],'tags':'callback','description':_0x325d('0x43')+_0x438ac6[_0x325d('0x42')][_0x325d('0x44')](),'priority':_0x438ac6[_0x325d('0x45')]})[_0x325d('0x13')](function(_0x31bb31){_0x20be5(null,_0x31bb31);})[_0x325d('0x15')](function(_0x241260){_0x20be5(_0x241260);});};AGIVertices['prototype'][_0x325d('0x46')]=function(_0xa4a4f0,_0x4fb1db){this[_0x325d('0x11')][_0x325d('0x47')](_0xa4a4f0)[_0x325d('0x13')](function(_0x11c8a7){_0x4fb1db(null,_0x11c8a7?_0x11c8a7['name']:![]);})['catch'](function(_0x28e6e9){_0x4fb1db(_0x28e6e9);});};AGIVertices[_0x325d('0xf')][_0x325d('0x48')]=function(_0x51d33c,_0x68bae8,_0x261a72){var _0x164a7b={'role':_0x325d('0x49')};_0x164a7b[_0x51d33c]=this[_0x325d('0xd')][_0x325d('0x37')];this[_0x325d('0x11')]['agentPause'](_0x164a7b,_0x68bae8,this[_0x325d('0xd')][_0x325d('0x33')])[_0x325d('0x13')](function(_0x28fb7f){_0x261a72(null,_[_0x325d('0x3f')](_0x28fb7f)?![]:!![]);})['catch'](function(_0x1c707f){logger[_0x325d('0x2f')](_0x1c707f);_0x261a72(null,![]);});};AGIVertices[_0x325d('0xf')][_0x325d('0x4a')]=function(_0x14f772,_0x4ac8ab){var _0x1232be={'role':_0x325d('0x49')};_0x1232be[_0x14f772]=this[_0x325d('0xd')]['callerid'];this[_0x325d('0x11')][_0x325d('0x4a')](_0x1232be)[_0x325d('0x13')](function(_0x13bd67){_0x4ac8ab(null,_['isNil'](_0x13bd67)?![]:!![]);})['catch'](function(_0x6a13d){logger[_0x325d('0x2f')](_0x6a13d);_0x4ac8ab(null,![]);});};AGIVertices[_0x325d('0xf')]['agentLogout']=function(_0x1e2b61,_0x2be50c){var _0xf8d6d9={'role':'agent'};_0xf8d6d9[_0x1e2b61]=this['channel'][_0x325d('0x37')];this['rpc'][_0x325d('0x4b')](_0xf8d6d9)[_0x325d('0x13')](function(_0x22439d){_0x2be50c(null,_['isNil'](_0x22439d)?![]:!![]);})[_0x325d('0x15')](function(_0x4e725e){logger[_0x325d('0x2f')](_0x4e725e);_0x2be50c(null,![]);});};AGIVertices[_0x325d('0xf')][_0x325d('0x4c')]=function(_0x2e872e,_0x491c68){var _0xd1b881={'role':_0x325d('0x49')};_0xd1b881[_0x2e872e]=this[_0x325d('0xd')][_0x325d('0x37')];var _0x199ff2=_0x2e872e!='internal'?util[_0x325d('0x4d')](_0x325d('0x4e'),_0x325d('0x4f'),this['channel'][_0x325d('0x37')]):undefined;this[_0x325d('0x11')][_0x325d('0x4c')](_0xd1b881,_0x199ff2)['then'](function(_0x3dc7d6){_0x491c68(null,_[_0x325d('0x3f')](_0x3dc7d6)?![]:!![]);})[_0x325d('0x15')](function(_0x3e8fee){logger[_0x325d('0x2f')](_0x3e8fee);_0x491c68(null,![]);});};AGIVertices[_0x325d('0xf')][_0x325d('0x50')]=function(_0x1ad518,_0x595c95){sh[_0x325d('0x51')](_[_0x325d('0x52')](_0x1ad518),function(_0x3c3c94,_0xafa7ce){var _0x4409ca=_0xafa7ce[_0x325d('0x53')](/(\r\n|\n|\r)/gm,'');_0x595c95(null,_0x4409ca);});};AGIVertices['prototype'][_0x325d('0x54')]=function(_0x4a9d3f,_0x40170b){scripts[_0x325d('0x54')](_0x4a9d3f[_0x325d('0x55')],_0x4a9d3f[_0x325d('0x56')]||_0x325d('0x57'),_0x4a9d3f[_0x325d('0x57')],_0x4a9d3f['languageCode']||_0x325d('0x58'),_0x4a9d3f[_0x325d('0x59')]||_0x325d('0x5a'),_0x4a9d3f[_0x325d('0x5b')]||'MP3')[_0x325d('0x13')](function(_0x418489){_0x40170b(null,_0x418489);})['catch'](function(_0x2a52ca){_0x40170b(_0x2a52ca);});};AGIVertices['prototype'][_0x325d('0x5c')]=function(_0x196018,_0x1f531c){scripts['googleTTS'](_0x196018[_0x325d('0x57')],_0x196018[_0x325d('0x5d')]||'en',0x1)[_0x325d('0x13')](function(_0x265b5a){_0x1f531c(null,_0x265b5a);})['catch'](function(_0x48d933){_0x1f531c(_0x48d933);});};AGIVertices[_0x325d('0xf')]['restAPI']=function(_0x37083d,_0x438bd6){var _0x425551={'uri':_0x37083d[_0x325d('0x5e')],'method':_0x37083d[_0x325d('0x5f')],'json':!![],'resolveWithFullResponse':!![],'timeout':typeof parseInt(_0x37083d[_0x325d('0x60')])===_0x325d('0x61')&&parseInt(_0x37083d[_0x325d('0x60')])>=0x1?parseInt(_0x37083d['timeout'])*0x3e8:0x5*0x3e8};if(_[_0x325d('0x62')]([_0x325d('0x63'),_0x325d('0x64')],_0x425551['method'][_0x325d('0x65')]())){try{_0x425551['body']=_0x37083d[_0x325d('0x9')]?JSON[_0x325d('0x66')](_0x37083d['rawBody']):{};}catch(_0x35b162){logger[_0x325d('0x2f')](_0x325d('0x67'),_0x35b162);}}try{_0x425551[_0x325d('0x68')]=_0x37083d[_0x325d('0x8')]?JSON[_0x325d('0x66')](_0x37083d[_0x325d('0x8')]):{};}catch(_0x83919d){logger[_0x325d('0x2f')](_0x325d('0x69'),_0x83919d);}if(_0x37083d[_0x325d('0x6a')]){try{var _0x1bfdfc=require(_0x37083d['computedVariables'])['sync'](this,_0x425551);_0x425551[_0x325d('0x6b')]=Mustache[_0x325d('0x6c')](_0x37083d[_0x325d('0x5e')],_0x1bfdfc,{},['$$','$$']);if(_0x425551[_0x325d('0x68')]){_0x425551[_0x325d('0x68')]=JSON[_0x325d('0x66')](Mustache[_0x325d('0x6c')](JSON[_0x325d('0x6d')](_0x425551[_0x325d('0x68')]),_0x1bfdfc,{},['$$','$$']));}if(_0x425551[_0x325d('0x6e')]){_0x425551[_0x325d('0x6e')]=JSON[_0x325d('0x66')](Mustache[_0x325d('0x6c')](JSON[_0x325d('0x6d')](_0x425551['body']),_0x1bfdfc,{},['$$','$$']));}}catch(_0x1f9bf4){logger['error'](_0x325d('0x6f'),_0x1f9bf4);}}rp(_0x425551)['then'](function(_0x4b0b5e){var _0x915704={'statusCode':_0x4b0b5e[_0x325d('0x70')]||0xc8,'statusMessage':_0x4b0b5e[_0x325d('0x71')]||'OK','headers':_0x4b0b5e['headers']||{},'body':_0x4b0b5e[_0x325d('0x6e')]||{}};_0x438bd6(null,_0x915704);})[_0x325d('0x15')](function(_0x5a655a){var _0x48150d={'statusCode':_0x5a655a[_0x325d('0x70')]||0x1f4,'statusMessage':_0x5a655a[_0x325d('0x72')]||_0x325d('0x73'),'headers':_0x5a655a[_0x325d('0x74')][_0x325d('0x68')]||{},'body':_0x5a655a[_0x325d('0x74')]['body']||{}};_0x438bd6(null,_0x48150d);});};AGIVertices['prototype']['googleDialogflow']=function(_0x47fcc2,_0x3bfeba){scripts[_0x325d('0x75')](this[_0x325d('0xd')]['uniqueid'],_0x47fcc2[_0x325d('0x76')],_0x47fcc2['text'],_0x47fcc2[_0x325d('0x77')]||'en')['then'](function(_0x21ca66){_0x3bfeba(null,_0x21ca66);})['catch'](function(_0x2f23d7){_0x3bfeba(_0x2f23d7);});};AGIVertices[_0x325d('0xf')][_0x325d('0x78')]=function(_0x2065ff,_0x15befb){scripts[_0x325d('0x78')](this[_0x325d('0xd')],_0x2065ff)[_0x325d('0x13')](function(_0x39654f){_0x15befb(null,_0x39654f);})['catch'](function(_0x1e3da9){_0x15befb(_0x1e3da9);});};AGIVertices[_0x325d('0xf')]['ispeechTTS']=function(_0x1c4e10,_0x5851c7){scripts[_0x325d('0x79')](_0x1c4e10['key'],_0x1c4e10[_0x325d('0x57')],_0x1c4e10[_0x325d('0x7a')]||'en-US',_0x1c4e10['speed'])[_0x325d('0x13')](function(_0x5e9aee){_0x5851c7(null,_0x5e9aee);})[_0x325d('0x15')](function(_0x9956f5){_0x5851c7(_0x9956f5);});};AGIVertices[_0x325d('0xf')][_0x325d('0x7b')]=function(_0x15566c,_0x215cfb,_0x4cbf68){scripts['ispeechASR'](_0x215cfb,_0x15566c[_0x325d('0x76')],_0x15566c['ispeech_asr_language']||_0x325d('0x58'),this['isConfigured'](_0x15566c[_0x325d('0x7c')])?_0x15566c[_0x325d('0x7c')]:undefined)[_0x325d('0x13')](function(_0x3d0856){_0x4cbf68(null,_0x3d0856);})['catch'](function(_0x4134a6){_0x4cbf68(_0x4134a6);});};AGIVertices['prototype'][_0x325d('0x7d')]=function(_0x469473,_0x28ed4b){scripts[_0x325d('0x7d')](_0x469473[_0x325d('0x7e')],_0x469473[_0x325d('0x7f')],_0x469473[_0x325d('0x80')],_0x469473[_0x325d('0x81')]||_0x325d('0x82'),_0x469473['text'],_0x469473[_0x325d('0x83')]||_0x325d('0x57'))[_0x325d('0x13')](function(_0x358d4d){_0x28ed4b(null,_0x358d4d);})[_0x325d('0x15')](function(_0x4d7d52){_0x28ed4b(_0x4d7d52);});};AGIVertices[_0x325d('0xf')][_0x325d('0x84')]=function(_0xa1fd4e,_0x57f6fe){scripts['awsLex'](this[_0x325d('0xd')][_0x325d('0x33')],_0xa1fd4e['aws_access_key_id'],_0xa1fd4e[_0x325d('0x7f')],_0xa1fd4e[_0x325d('0x85')],_0xa1fd4e[_0x325d('0x57')],_0xa1fd4e['aws_bot_name'])[_0x325d('0x13')](function(_0x497782){_0x57f6fe(null,_0x497782);})[_0x325d('0x15')](function(_0x39ced3){_0x57f6fe(_0x39ced3);});};AGIVertices[_0x325d('0xf')][_0x325d('0x86')]=function(_0x174d59,_0x324439,_0x541b3a){scripts[_0x325d('0x86')](_0x324439,_0x174d59[_0x325d('0x76')],_0x174d59[_0x325d('0x87')]||_0x325d('0x58'))[_0x325d('0x13')](function(_0xfcdfe3){_0x541b3a(null,_0xfcdfe3);})['catch'](function(_0xbe6860){_0x541b3a(_0xbe6860);});};AGIVertices[_0x325d('0xf')]['tildeASR']=function(_0x506836,_0x30d3c7,_0x262feb){scripts[_0x325d('0x88')](_0x30d3c7,_0x506836[_0x325d('0x89')],_0x506836[_0x325d('0x8a')],_0x506836[_0x325d('0x6b')])[_0x325d('0x13')](function(_0x2d8b65){_0x262feb(null,_0x2d8b65);})[_0x325d('0x15')](function(_0x18dec3){_0x262feb(_0x18dec3);});};AGIVertices['prototype'][_0x325d('0x8b')]=function(_0x3a655b){var _0x54ae25=_[_0x325d('0x62')](verticesWithRetry,_0x3a655b['agicommand'])?_0x3a655b:_[_0x325d('0x8c')](_0x3a655b);for(var _0x4af28 in _0x54ae25){if(_0x54ae25[_0x325d('0x8d')](_0x4af28)){if(_0x54ae25[_0x4af28]&&_[_0x325d('0x8e')](_0x54ae25[_0x4af28])){if(_[_0x325d('0x62')](recursiveMapAttributes,_0x4af28)){_0x54ae25[_0x4af28]=this['replaceObjectAllVariables'](_0x54ae25[_0x4af28]);}else{_0x54ae25[_0x4af28]=this[_0x325d('0x8f')](_0x54ae25[_0x4af28]);}}}}return _0x54ae25;};AGIVertices[_0x325d('0xf')]['recursiveNodeIndex']=function(_0xdbab63){for(var _0x1be8f7 in _0xdbab63){if(_0xdbab63['hasOwnProperty'](_0x1be8f7)){if(_[_0x325d('0x90')](_0xdbab63[_0x1be8f7])){this[_0x325d('0x91')](_0xdbab63[_0x1be8f7]);}else if(_[_0x325d('0x92')](_0xdbab63[_0x1be8f7])){for(var _0x5be1a6=0x0;_0x5be1a6<_0xdbab63[_0x1be8f7][_0x325d('0x93')];_0x5be1a6++){this[_0x325d('0x91')](_0xdbab63[_0x1be8f7][_0x5be1a6]);}}else if(_[_0x325d('0x8e')](_0xdbab63[_0x1be8f7])){_0xdbab63[_0x1be8f7]=this[_0x325d('0x8f')](_0xdbab63[_0x1be8f7]);}}}};AGIVertices[_0x325d('0xf')][_0x325d('0x94')]=function(_0x599c46,_0x194144){for(var _0x5b3d55 in _0x599c46){if(_0x599c46[_0x325d('0x8d')](_0x5b3d55)){if(_['isPlainObject'](_0x599c46[_0x5b3d55])){if(!_[_0x325d('0x3e')](_0x599c46[_0x5b3d55])){this[_0x325d('0x94')](_0x599c46[_0x5b3d55],util[_0x325d('0x4d')](_0x325d('0x95'),_0x194144,_0x5b3d55));}}else if(_[_0x325d('0x92')](_0x599c46[_0x5b3d55])){for(var _0x1f50d8=0x0;_0x1f50d8<_0x599c46[_0x5b3d55][_0x325d('0x93')];_0x1f50d8++){this[_0x325d('0x94')](_0x599c46[_0x5b3d55][_0x1f50d8],util['format'](_0x325d('0x95'),_0x194144,_0x5b3d55+'['+_0x1f50d8+']'));}}else{if(!_[_0x325d('0x3f')](_0x599c46[_0x5b3d55])){this[_0x325d('0xd')][_0x325d('0x96')](util[_0x325d('0x4d')](_0x325d('0x95'),_0x194144,_0x5b3d55),_0x599c46[_0x5b3d55]);}}}}};AGIVertices['prototype'][_0x325d('0x97')]=function(_0x129a50){try{var _0x471645=JSON[_0x325d('0x66')](_0x129a50);this[_0x325d('0x91')](_0x471645);return JSON[_0x325d('0x6d')](_0x471645);}catch(_0x3aeaf4){return this[_0x325d('0x8f')](_0x129a50);}};AGIVertices['prototype'][_0x325d('0x8f')]=function(_0x7e3ea2){var _0x42d3c3=_0x7e3ea2[_0x325d('0x98')]('{');for(var _0x2d8a98=0x1;_0x2d8a98<_0x42d3c3[_0x325d('0x93')];_0x2d8a98+=0x1){var _0x9a51a8=_0x42d3c3[_0x2d8a98][_0x325d('0x98')]('}');if(_0x9a51a8[_0x325d('0x93')]>0x1){_0x7e3ea2=_0x7e3ea2[_0x325d('0x99')]('{'+_0x9a51a8[0x0]+'}',this['channel'][_0x325d('0x10')](_0x9a51a8[0x0])[_0x325d('0x9a')]||_0x9a51a8[0x0]);}}if(_0x42d3c3[_0x325d('0x93')]===0x1){return _0x7e3ea2['toString']();}return this[_0x325d('0x8f')](_0x7e3ea2);};AGIVertices['prototype']['getAndSetVariable']=function(_0x5ae01c,_0x22189e){var _0x41255c=this[_0x325d('0xd')][_0x325d('0x10')](_0x5ae01c);if(_0x41255c[_0x325d('0x9b')]===-0x1){return _0x41255c;}logger[_0x325d('0x2d')](util[_0x325d('0x4d')]('The\x20\x22%s\x22\x20variable\x20value\x20is:\x20%s',_0x22189e,_0x41255c[_0x325d('0x9a')]));return this['channel']['setVariable'](_0x22189e,_0x41255c['extra']);};AGIVertices['prototype'][_0x325d('0x9c')]=function(_0x574666){return _0x574666&&_0x574666!=='0'&&_0x574666!=='-1'&&_0x574666!=='';};AGIVertices[_0x325d('0xf')][_0x325d('0x9d')]=function(_0x3617fb){this['createSquareDetailsReport'][_0x325d('0x9e')](this,_0x3617fb,'-');_0x3617fb['retry']=_0x3617fb['maxRetry'];return{'code':0xc8,'result':'-'};};AGIVertices[_0x325d('0xf')][_0x325d('0x9f')]=function(_0x24438c){logger[_0x325d('0x2d')](util[_0x325d('0x4d')](_0x325d('0xa0'),_0x24438c[_0x325d('0x34')]));if(!this[_0x325d('0x9c')](_0x24438c[_0x325d('0x57')])){return this[_0x325d('0xd')]['noop']('no\x20text\x20configured');}var _0x395414='\x22'+_0x24438c[_0x325d('0x57')]+'\x22';if(this[_0x325d('0x9c')](_0x24438c[_0x325d('0x74')])){_0x395414+=','+_0x24438c['options'];}var _0x2f04a0=this[_0x325d('0xd')][_0x325d('0x51')](_0x325d('0xa1'),_0x395414);if(_0x2f04a0[_0x325d('0x9b')]===-0x1){return _0x2f04a0;}return this['channel'][_0x325d('0xa2')](util['format'](_0x325d('0xa3'),_0x395414));};AGIVertices[_0x325d('0xf')][_0x325d('0xa4')]=function(_0x443e6c){logger[_0x325d('0x2d')](util[_0x325d('0x4d')](_0x325d('0xa5'),_0x443e6c['label']));if(!this['isConfigured'](_0x443e6c[_0x325d('0xa6')])){return this['channel'][_0x325d('0xa2')](_0x325d('0xa7'));}var _0x476b69=_0x443e6c[_0x325d('0xa6')];if(this[_0x325d('0x9c')](_0x443e6c['options'])){_0x476b69+=','+_0x443e6c[_0x325d('0x74')];}var _0x1f0d87=this[_0x325d('0xd')]['exec'](_0x325d('0xa8'),_0x476b69);if(_0x1f0d87[_0x325d('0x9b')]===-0x1){return _0x1f0d87;}var _0x32a136=this[_0x325d('0xa9')](_0x325d('0xaa'),'MRCP_RECOG_CONFIDENCE');if(_0x32a136[_0x325d('0x9b')]===-0x1){return _0x32a136;}var _0x2e0e6a=this[_0x325d('0xa9')](_0x325d('0xab'),_0x325d('0xac'));if(_0x2e0e6a[_0x325d('0x9b')]===-0x1){return _0x2e0e6a;}var _0x434e5a=this['getAndSetVariable'](_0x325d('0xad'),_0x325d('0xae'));if(_0x434e5a[_0x325d('0x9b')]===-0x1){return _0x434e5a;}return this[_0x325d('0xd')][_0x325d('0xa2')](util['format'](_0x325d('0xaf'),_0x476b69));};AGIVertices['prototype'][_0x325d('0xb0')]=function(_0x271f54){logger[_0x325d('0x2d')](util['format'](_0x325d('0xb1'),_0x271f54['label']));return this['channel'][_0x325d('0xb0')]([_0x271f54[_0x325d('0xb2')],_0x271f54[_0x325d('0xb3')]]);};AGIVertices[_0x325d('0xf')][_0x325d('0xb4')]=function(_0x557339){logger[_0x325d('0x2d')](util['format']('Enter\x20in\x20ANSWER\x20(%s)\x20block',_0x557339[_0x325d('0x34')]));if(this[_0x325d('0x9c')](_0x557339[_0x325d('0x60')])){logger[_0x325d('0x2d')](util[_0x325d('0x4d')]('Wait\x20%s\x20seconds\x20before\x20answer',_0x557339[_0x325d('0x60')]));var _0x21da39=this[_0x325d('0xd')][_0x325d('0xb5')](_0x557339[_0x325d('0x60')]);if(_0x21da39[_0x325d('0x9b')]===-0x1){return _0x21da39;}}return this['channel']['answer']();};AGIVertices['prototype'][_0x325d('0xb6')]=function(_0x2a68f2){logger[_0x325d('0x2d')](util[_0x325d('0x4d')](_0x325d('0xb7'),_0x2a68f2[_0x325d('0x34')]));if(!this[_0x325d('0x9c')](_0x2a68f2[_0x325d('0x41')])){return this[_0x325d('0xd')][_0x325d('0x2f')](_0x2a68f2,_0x325d('0xb8'));}_0x2a68f2[_0x325d('0x42')]=moment();if(this[_0x325d('0x9c')](_0x2a68f2['delay'])){_0x2a68f2[_0x325d('0x42')]=moment()[_0x325d('0xb9')](_0x2a68f2[_0x325d('0xba')],_0x325d('0xbb'));}if(!this[_0x325d('0x9c')](_0x2a68f2[_0x325d('0x45')])){_0x2a68f2[_0x325d('0x45')]=0x2;}this[_0x325d('0x3d')][_0x325d('0x9e')](this,_0x2a68f2);return this['channel'][_0x325d('0xa2')](util[_0x325d('0x4d')](_0x325d('0xbc'),_0x2a68f2[_0x325d('0xbd')],_0x2a68f2[_0x325d('0x41')],_0x2a68f2[_0x325d('0x42')]));};AGIVertices['prototype'][_0x325d('0xbe')]=function(_0x2bad9b){logger[_0x325d('0x2d')](util['format'](_0x325d('0xbf'),_0x2bad9b[_0x325d('0x34')]));var _0x56bada=this['channel'][_0x325d('0x51')](_0x2bad9b[_0x325d('0xc0')],_0x2bad9b[_0x325d('0x74')]);if(_0x56bada[_0x325d('0x9b')]===-0x1){return _0x56bada;}return this[_0x325d('0xd')][_0x325d('0xa2')](util[_0x325d('0x4d')](_0x325d('0xc1'),_0x2bad9b[_0x325d('0xc0')],_0x2bad9b[_0x325d('0x74')]));};AGIVertices[_0x325d('0xf')][_0x325d('0xc2')]=function(_0x1224c3){logger['info'](util[_0x325d('0x4d')](_0x325d('0xc3'),_0x1224c3[_0x325d('0x34')]));if(!this['isConfigured'](_0x1224c3[_0x325d('0x57')])){return this[_0x325d('0xd')][_0x325d('0xa2')](_0x325d('0xc4'));}var _0x54022a='\x22'+_0x1224c3[_0x325d('0x57')]+'\x22';if(this[_0x325d('0x9c')](_0x1224c3['options'])){_0x54022a+=','+_0x1224c3[_0x325d('0x74')];}var _0x49a6ea=this['channel']['exec']('MRCPSynth',_0x54022a);if(_0x49a6ea[_0x325d('0x9b')]===-0x1){return _0x49a6ea;}return this[_0x325d('0xd')][_0x325d('0xa2')](util[_0x325d('0x4d')](_0x325d('0xa3'),_0x54022a));};AGIVertices[_0x325d('0xf')]['sestektts']=function(_0x37f458){logger['info'](util[_0x325d('0x4d')](_0x325d('0xc5'),_0x37f458['label']));if(!this[_0x325d('0x9c')](_0x37f458[_0x325d('0x57')])){return this['channel']['noop'](_0x325d('0xc4'));}var _0x50ee44='\x22'+_0x37f458[_0x325d('0x57')]+'\x22';if(this['isConfigured'](_0x37f458[_0x325d('0x74')])){_0x50ee44+=','+_0x37f458['options'];}var _0x1daa8d=this[_0x325d('0xd')][_0x325d('0x51')]('MRCPSynth',_0x50ee44);if(_0x1daa8d[_0x325d('0x9b')]===-0x1){return _0x1daa8d;}return this[_0x325d('0xd')][_0x325d('0xa2')](util[_0x325d('0x4d')](_0x325d('0xa3'),_0x50ee44));};AGIVertices[_0x325d('0xf')][_0x325d('0xc6')]=function(_0x3e7ddc){logger['info'](util[_0x325d('0x4d')](_0x325d('0xc7'),_0x3e7ddc['label']));if(!this['isConfigured'](_0x3e7ddc[_0x325d('0xa6')])){return this[_0x325d('0xd')][_0x325d('0xa2')](_0x325d('0xa7'));}var _0x20370a=_0x3e7ddc[_0x325d('0xa6')];if(this[_0x325d('0x9c')](_0x3e7ddc['options'])){_0x20370a+=','+_0x3e7ddc[_0x325d('0x74')];}var _0x3cda95=this[_0x325d('0xd')]['exec'](_0x325d('0xa8'),_0x20370a);if(_0x3cda95[_0x325d('0x9b')]===-0x1){return _0x3cda95;}var _0x32d09b=this[_0x325d('0xa9')](_0x325d('0xaa'),_0x325d('0xc8'));if(_0x32d09b['result']===-0x1){return _0x32d09b;}var _0x414998=this['getAndSetVariable'](_0x325d('0xab'),_0x325d('0xc9'));if(_0x414998[_0x325d('0x9b')]===-0x1){return _0x414998;}var _0x5cfc19=this[_0x325d('0xa9')]('RECOG_INSTANCE()',_0x325d('0xca'));if(_0x5cfc19['result']===-0x1){return _0x5cfc19;}return this[_0x325d('0xd')][_0x325d('0xa2')](util[_0x325d('0x4d')](_0x325d('0xaf'),_0x20370a));};AGIVertices[_0x325d('0xf')][_0x325d('0xcb')]=function(_0x2dae69){logger[_0x325d('0x2d')](util[_0x325d('0x4d')](_0x325d('0xcc'),_0x2dae69[_0x325d('0x34')]));if(!this[_0x325d('0x9c')](_0x2dae69[_0x325d('0xa6')])){return this[_0x325d('0xd')]['noop'](_0x325d('0xa7'));}var _0x4c79a7=_0x2dae69[_0x325d('0xa6')];if(this[_0x325d('0x9c')](_0x2dae69[_0x325d('0x74')])){_0x4c79a7+=','+_0x2dae69[_0x325d('0x74')];}var _0x28fce8=this['channel'][_0x325d('0x51')](_0x325d('0xa8'),_0x4c79a7);if(_0x28fce8[_0x325d('0x9b')]===-0x1){return _0x28fce8;}var _0x3aba30=this['getAndSetVariable'](_0x325d('0xaa'),_0x325d('0xcd'));if(_0x3aba30[_0x325d('0x9b')]===-0x1){return _0x3aba30;}var _0x46d816=this['getAndSetVariable'](_0x325d('0xab'),_0x325d('0xce'));if(_0x46d816[_0x325d('0x9b')]===-0x1){return _0x46d816;}var _0x30320a=this[_0x325d('0xa9')](_0x325d('0xad'),_0x325d('0xcf'));if(_0x30320a[_0x325d('0x9b')]===-0x1){return _0x30320a;}return this[_0x325d('0xd')][_0x325d('0xa2')](util['format'](_0x325d('0xaf'),_0x4c79a7));};AGIVertices[_0x325d('0xf')][_0x325d('0xd0')]=function(_0x52542d){logger[_0x325d('0x2d')](util[_0x325d('0x4d')](_0x325d('0xd1'),_0x52542d[_0x325d('0x34')]));if(!this[_0x325d('0x9c')](_0x52542d[_0x325d('0xd2')])){return this[_0x325d('0xd')][_0x325d('0x2f')](_0x52542d,_0x325d('0xd3'));}var _0x4a85da=this[_0x325d('0x18')][_0x325d('0x9e')](this,_0x52542d[_0x325d('0xd2')]);if(!_0x4a85da){return this[_0x325d('0xd')][_0x325d('0x2f')](_0x52542d,_0x325d('0xd4'));}if(!this[_0x325d('0x9c')](_0x52542d[_0x325d('0x2c')])){return this[_0x325d('0xd')]['error'](_0x52542d,_0x325d('0xd5'));}var _0x5b8b6d=_0x52542d[_0x325d('0x2c')][_0x325d('0x53')](/(\r\n|\n|\r)/gm,'\x20');this[_0x325d('0xd')][_0x325d('0xa2')](util['format'](_0x325d('0xd6'),_0x5b8b6d));var _0x51e66d=this[_0x325d('0x2a')][_0x325d('0x9e')](this,_0x4a85da,_0x5b8b6d);this['createSquareDetailsReport'][_0x325d('0x9e')](this,_0x52542d,_0x5b8b6d);if(!this[_0x325d('0x9c')](_0x52542d['variable_id'])){return this[_0x325d('0xd')][_0x325d('0xa2')](_0x325d('0xd7'));}var _0x1bd3a2=this[_0x325d('0x10')][_0x325d('0x9e')](this,_0x52542d[_0x325d('0xd8')]);if(!_0x1bd3a2){return this['channel'][_0x325d('0x2f')](_0x52542d,_0x325d('0xd9'));}var _0xf6af00=this;_0x51e66d['forEach'](function(_0x369512,_0x57d052){Object[_0x325d('0xda')](_0x369512)[_0x325d('0xdb')](function(_0x69831){_0xf6af00[_0x325d('0xd')][_0x325d('0x96')](util[_0x325d('0x4d')](_0x325d('0xdc'),_0x1bd3a2,_0x57d052,_0x69831),_0x369512[_0x69831]);});});this[_0x325d('0xd')][_0x325d('0x96')](util['format'](_0x325d('0xdd'),_0x1bd3a2),_0x51e66d[_0x325d('0x93')]);return this[_0x325d('0xd')][_0x325d('0xa2')](util[_0x325d('0x4d')](_0x325d('0xde'),_0x1bd3a2));};AGIVertices[_0x325d('0xf')]['dial']=function(_0x198e79){logger[_0x325d('0xdf')](util['format'](_0x325d('0xe0'),_0x198e79['label']));if(!this[_0x325d('0x9c')](_0x198e79[_0x325d('0xe1')])){return this[_0x325d('0xd')][_0x325d('0x2f')](_0x198e79,_0x325d('0xe2'));}var _0x26d2f9=this['getUser']['sync'](this,_0x198e79[_0x325d('0xe1')]);if(!_0x26d2f9){return this[_0x325d('0xd')][_0x325d('0x2f')](_0x198e79,_0x325d('0xe3'));}var _0x54a7c1=this[_0x325d('0xd')][_0x325d('0x51')](_0x325d('0xe4'),[util[_0x325d('0x4d')](_0x325d('0xe5'),_0x26d2f9),_0x198e79[_0x325d('0x60')],_0x198e79['opts'],_0x198e79['url']]);if(_0x54a7c1[_0x325d('0x9b')]===-0x1){return _0x54a7c1;}return this[_0x325d('0xd')][_0x325d('0xa2')](util[_0x325d('0x4d')](_0x325d('0xe6'),_0x325d('0xe4')));};AGIVertices[_0x325d('0xf')]['dialogflow']=function(_0x5743b7){logger[_0x325d('0x2d')](util[_0x325d('0x4d')](_0x325d('0xe7'),_0x5743b7[_0x325d('0x34')]));if(!this[_0x325d('0x9c')](_0x5743b7[_0x325d('0x76')])){return this[_0x325d('0xd')][_0x325d('0xa2')](_0x325d('0xe8'));}if(!this['isConfigured'](_0x5743b7['text'])){return this[_0x325d('0xd')]['noop'](_0x325d('0xc4'));}this[_0x325d('0xd')][_0x325d('0xe9')]=!![];this[_0x325d('0x32')](_0x5743b7);this[_0x325d('0x3c')](_0x5743b7[_0x325d('0x57')],'in');this[_0x325d('0xd')][_0x325d('0xa2')](util[_0x325d('0x4d')](_0x325d('0xea'),_0x5743b7[_0x325d('0x57')]));var _0x3b963f=this[_0x325d('0x75')][_0x325d('0x9e')](this,_0x5743b7);if(_0x3b963f){for(var _0x14fac1 in _0x3b963f){if(_0x3b963f[_0x325d('0x8d')](_0x14fac1)){this[_0x325d('0xd')][_0x325d('0x96')](util[_0x325d('0x4d')](_0x325d('0xeb'),_0x14fac1[_0x325d('0x65')]()),_0x3b963f[_0x14fac1]);}}this[_0x325d('0x3c')](_0x3b963f[_0x325d('0xec')],_0x325d('0xed'));return this[_0x325d('0xd')][_0x325d('0xa2')](util['format'](_0x325d('0xee'),_0x3b963f['speech']));}return this[_0x325d('0xd')]['error'](_0x5743b7,_0x325d('0xef'));};AGIVertices[_0x325d('0xf')][_0x325d('0xf0')]=function(_0x4229a5){logger[_0x325d('0x2d')](util[_0x325d('0x4d')](_0x325d('0xf1'),_0x4229a5['label']));if(!this[_0x325d('0x9c')](_0x4229a5[_0x325d('0xf2')])){return this['channel'][_0x325d('0xa2')](_0x325d('0xf3'));}if(!this[_0x325d('0x9c')](_0x4229a5['username'])){return this[_0x325d('0xd')][_0x325d('0xa2')](_0x325d('0xf4'));}if(!this[_0x325d('0x9c')](_0x4229a5['password'])){return this[_0x325d('0xd')][_0x325d('0xa2')](_0x325d('0xf5'));}if(!this[_0x325d('0x9c')](_0x4229a5['ndassistant_url'])){return this['channel']['noop'](_0x325d('0xc4'));}this['channel']['bot']=!![];this[_0x325d('0x32')](_0x4229a5);this['createSquareMessage'](_0x4229a5[_0x325d('0x57')],'in');this[_0x325d('0xd')][_0x325d('0xa2')](util['format'](_0x325d('0xf6'),_0x4229a5[_0x325d('0x57')]));var _0x5f3c59=this['sestekNDA'][_0x325d('0x9e')](this,_0x4229a5);if(_0x5f3c59){for(var _0x39d01f in _0x5f3c59){if(_0x5f3c59[_0x325d('0x8d')](_0x39d01f)){this['channel'][_0x325d('0x96')](util[_0x325d('0x4d')](_0x325d('0xf7'),_0x39d01f['toUpperCase']()),_0x5f3c59[_0x39d01f]);}}this[_0x325d('0x3c')](_0x5f3c59[_0x325d('0xec')],_0x325d('0xed'));if(_0x5f3c59[_0x325d('0xf8')]){this['channel'][_0x325d('0xa2')](util[_0x325d('0x4d')](_0x325d('0xf9'),_0x5f3c59['audiofile']));var _0x1ee139=this['channel'][_0x325d('0xfa')](_0x5f3c59[_0x325d('0xf8')]);try{fs[_0x325d('0xfb')](_0x5f3c59[_0x325d('0xf8')]+_0x325d('0xfc'));}catch(_0x4f10a1){logger[_0x325d('0x2f')](_0x4f10a1);}return _0x1ee139;}else{return this[_0x325d('0xd')][_0x325d('0xa2')](util[_0x325d('0x4d')](_0x325d('0xfd'),_0x5f3c59[_0x325d('0xec')]));}}return this[_0x325d('0xd')][_0x325d('0x2f')](_0x4229a5,_0x325d('0xfe'));};AGIVertices[_0x325d('0xf')][_0x325d('0xff')]=function(_0x1015d5){logger[_0x325d('0x2d')](util[_0x325d('0x4d')](_0x325d('0x100'),_0x1015d5[_0x325d('0x34')]));return this[_0x325d('0xd')]['noop'](_0x325d('0xff'));};AGIVertices[_0x325d('0xf')][_0x325d('0x101')]=function(_0x1007d9){logger['info'](util['format'](_0x325d('0x102'),_0x1007d9[_0x325d('0x34')]));var _0x555e7f='';if(_0x1007d9[_0x325d('0x103')]){if(!this[_0x325d('0x9c')](_0x1007d9[_0x325d('0x103')])){return this[_0x325d('0xd')]['error'](_0x1007d9,_0x325d('0x104'));}else{var _0x275774=parseInt(_0x1007d9[_0x325d('0x103')],0xa);if(isNaN(_0x275774)){_0x555e7f=_0x1007d9[_0x325d('0x103')];}else{_0x555e7f=this[_0x325d('0x1d')][_0x325d('0x9e')](this,_0x1007d9[_0x325d('0x103')]);if(!_0x555e7f){return this[_0x325d('0xd')][_0x325d('0x2f')](_0x1007d9,'no\x20trunk\x20found');}}}}else if(_0x1007d9[_0x325d('0x105')]){_0x555e7f=_0x1007d9[_0x325d('0x105')];}else{return this['channel'][_0x325d('0x2f')](_0x1007d9,_0x325d('0x104'));}var _0x10bcb3=this[_0x325d('0xd')][_0x325d('0x51')](_0x325d('0xe4'),[util['format']('SIP/%s/%s',_0x555e7f,_0x1007d9[_0x325d('0xbd')]),_0x1007d9['timeout'],_0x1007d9[_0x325d('0x106')],_0x1007d9[_0x325d('0x5e')]]);if(_0x10bcb3[_0x325d('0x9b')]===-0x1){return _0x10bcb3;}return this[_0x325d('0xd')][_0x325d('0xa2')](util[_0x325d('0x4d')](_0x325d('0xe6'),_0x325d('0xe4')));};AGIVertices[_0x325d('0xf')][_0x325d('0x107')]=function(_0x212eee){logger['info'](util[_0x325d('0x4d')](_0x325d('0x108'),_0x212eee[_0x325d('0x34')]));return this['channel']['noop'](_0x325d('0x107'));};AGIVertices[_0x325d('0xf')]['getdigits']=function(_0x271132){logger['info'](util['format'](_0x325d('0x109'),_0x271132[_0x325d('0x34')]));if(_0x271132['retry']===0x0){return this['maxRetry'](_0x271132);}_0x271132[_0x325d('0x10a')]-=0x1;if(!this[_0x325d('0x9c')](_0x271132[_0x325d('0x10b')])){return this[_0x325d('0xd')]['error'](_0x271132,_0x325d('0x10c'));}var _0x536a30=this['getSound'][_0x325d('0x9e')](this,_0x271132[_0x325d('0x10b')]);if(!_0x536a30){return this[_0x325d('0xd')]['error'](_0x271132,_0x325d('0x10d'));}if(!this[_0x325d('0x9c')](_0x271132[_0x325d('0xd8')])){return this[_0x325d('0xd')][_0x325d('0x2f')](_0x325d('0xd7'));}var _0x5aab50=this[_0x325d('0xd')][_0x325d('0x10e')](_0x536a30,_0x271132['response'],_0x271132[_0x325d('0x10f')]);var _0x371b3c=_0x5aab50[_0x325d('0x9b')]?_0x5aab50[_0x325d('0x9b')][_0x325d('0x44')]():'';logger[_0x325d('0x2d')](_0x325d('0x110'),JSON['stringify'](_0x5aab50));if(_0x5aab50[_0x325d('0x9b')]===-0x1){this[_0x325d('0x32')][_0x325d('0x9e')](this,_0x271132,_0x371b3c);return _0x5aab50;}else if(_0x5aab50[_0x325d('0x9a')]===_0x325d('0x60')){_0x5aab50[_0x325d('0x9b')]=_0x371b3c[_0x325d('0x93')]>=parseInt(_0x271132[_0x325d('0x111')])?'x':'i';}else{_0x5aab50['result']=_0x371b3c[_0x325d('0x93')]>=parseInt(_0x271132['mindigit'])&&_0x371b3c[_0x325d('0x93')]<=parseInt(_0x271132[_0x325d('0x10f')])?'x':'i';}var _0x3a0433=this['getVariable'][_0x325d('0x9e')](this,_0x271132[_0x325d('0xd8')]);if(!_0x3a0433){return this[_0x325d('0xd')][_0x325d('0x2f')](_0x271132,_0x325d('0xd9'));}this[_0x325d('0xd')]['setVariable'](_0x3a0433,_0x371b3c);if(this['isConfigured'](_0x271132[_0x325d('0x112')])){var _0x49a95d=parseInt(_0x271132[_0x325d('0x112')],0xa);var _0x4cb0de=rs['generate']({'charset':'*','length':_0x49a95d});var _0x11556f=_0x371b3c[_0x325d('0x93')];if(_0x11556f>0x0){if(_0x11556f>_0x49a95d){this['createSquareDetailsReport'][_0x325d('0x9e')](this,_0x271132,_0x271132[_0x325d('0x113')]===_0x325d('0x114')?_0x4cb0de+_0x371b3c[_0x325d('0x115')](_0x49a95d):_0x371b3c[_0x325d('0x115')](0x0,_0x11556f-_0x49a95d)+_0x4cb0de);}else{this[_0x325d('0x32')]['sync'](this,_0x271132,rs[_0x325d('0x116')]({'charset':'*','length':_0x11556f}));}}else{this[_0x325d('0x32')]['sync'](this,_0x271132,'');}}else{this[_0x325d('0x32')][_0x325d('0x9e')](this,_0x271132,_0x371b3c);}return _0x5aab50;};AGIVertices[_0x325d('0xf')][_0x325d('0xc')]=function(_0x4aca19){logger['info'](util[_0x325d('0x4d')]('Enter\x20in\x20GETSECRETDIGITS\x20(%s)\x20block',_0x4aca19[_0x325d('0x34')]));return this['getdigits'](_0x4aca19);};AGIVertices['prototype']['goal']=function(_0x30e332){logger[_0x325d('0x2d')](util[_0x325d('0x4d')](_0x325d('0x117'),_0x30e332[_0x325d('0x34')]));this[_0x325d('0x32')][_0x325d('0x9e')](this,_0x30e332,_0x30e332['goalname']);return this[_0x325d('0xd')][_0x325d('0xa2')](util[_0x325d('0x4d')](_0x325d('0x118'),_0x30e332[_0x325d('0x119')]));};AGIVertices['prototype']['awspolly']=function(_0x4657ba){logger[_0x325d('0x2d')](util['format']('[AGI]\x20Enter\x20in\x20AWSPOLLY\x20(%s)\x20block',_0x4657ba[_0x325d('0x34')]));if(!this[_0x325d('0x9c')](_0x4657ba[_0x325d('0x7e')])||!this['isConfigured'](_0x4657ba[_0x325d('0x7f')])){return this['channel'][_0x325d('0xa2')](_0x325d('0x11a'));}if(!this[_0x325d('0x9c')](_0x4657ba[_0x325d('0x57')])){return this[_0x325d('0xd')]['noop'](_0x325d('0xc4'));}this[_0x325d('0xd')]['noop'](util[_0x325d('0x4d')](_0x325d('0x11b'),_0x4657ba[_0x325d('0x57')]));var _0x16c8e7=this[_0x325d('0x7d')][_0x325d('0x9e')](this,_0x4657ba);if(_0x16c8e7){this[_0x325d('0xd')][_0x325d('0xa2')](util[_0x325d('0x4d')](_0x325d('0x11c'),_0x16c8e7));var _0x433b52=this[_0x325d('0xd')][_0x325d('0xfa')](_0x16c8e7);try{fs[_0x325d('0xfb')](_0x16c8e7+'.wav');}catch(_0x25cbd5){logger[_0x325d('0x2f')](_0x25cbd5);}return _0x433b52;}return this[_0x325d('0xd')][_0x325d('0x2f')](_0x4657ba,_0x325d('0x11d'));};AGIVertices[_0x325d('0xf')][_0x325d('0x11e')]=function(_0x1fc2ef){logger[_0x325d('0x2d')](util[_0x325d('0x4d')](_0x325d('0x11f'),_0x1fc2ef['label']));if(!this['isConfigured'](_0x1fc2ef['aws_access_key_id'])||!this[_0x325d('0x9c')](_0x1fc2ef[_0x325d('0x7f')])){return this[_0x325d('0xd')][_0x325d('0xa2')]('no\x20valid\x20credentials\x20configured');}if(!this['isConfigured'](_0x1fc2ef['aws_bot_name'])){return this[_0x325d('0xd')][_0x325d('0xa2')](_0x325d('0x120'));}if(!this[_0x325d('0x9c')](_0x1fc2ef[_0x325d('0x57')])){return this['channel']['noop'](_0x325d('0xc4'));}this[_0x325d('0xd')]['bot']=!![];this[_0x325d('0x32')](_0x1fc2ef);this[_0x325d('0x3c')](_0x1fc2ef['text'],'in');this[_0x325d('0xd')]['noop'](util[_0x325d('0x4d')](_0x325d('0x121'),_0x1fc2ef[_0x325d('0x57')]));var _0x434325=this[_0x325d('0x84')][_0x325d('0x9e')](this,_0x1fc2ef);if(_0x434325){for(var _0x366a65 in _0x434325){if(_0x434325[_0x325d('0x8d')](_0x366a65)&&_[_0x325d('0x8e')](_0x434325[_0x366a65])){this[_0x325d('0xd')][_0x325d('0x96')](util[_0x325d('0x4d')](_0x325d('0x122'),_0x366a65[_0x325d('0x65')]()),_0x434325[_0x366a65]);}}if(_['isNil'](_0x434325['message'])){return this[_0x325d('0xd')][_0x325d('0xa2')]('Amazon\x20Lex\x20ready\x20for\x20fulfillment');}else{this['createSquareMessage'](_0x434325['message'],'out');return this['channel'][_0x325d('0xa2')](util[_0x325d('0x4d')](_0x325d('0x123'),_0x434325[_0x325d('0x72')]));}}return this[_0x325d('0xd')][_0x325d('0x2f')](_0x1fc2ef,_0x325d('0x124'));};AGIVertices[_0x325d('0xf')][_0x325d('0x125')]=function(_0x2c893a){logger['info'](util[_0x325d('0x4d')](_0x325d('0x126'),_0x2c893a[_0x325d('0x34')],_0x2c893a[_0x325d('0x60')]));if(!this[_0x325d('0x9c')](_0x2c893a[_0x325d('0x76')])){return this[_0x325d('0xd')][_0x325d('0xa2')](_0x325d('0xe8'));}var _0x3ba978='wav';var _0x2144fa=util[_0x325d('0x4d')](_0x325d('0x127'),FILES_PATH,rs[_0x325d('0x116')](0x4));var _0x1c2ebd=util[_0x325d('0x4d')](_0x325d('0x95'),_0x2144fa,_0x3ba978);var _0x3843a9=!![];if(_0x2c893a[_0x325d('0x128')]===_0x325d('0x129')){_0x3843a9=![];}var _0x50e0cd=this['channel'][_0x325d('0x12a')](_0x2144fa,_0x3ba978,_0x2c893a[_0x325d('0x12b')],_0x2c893a[_0x325d('0x60')],undefined,_0x3843a9);if(_0x50e0cd[_0x325d('0x9b')]!==-0x1){this['channel'][_0x325d('0xa2')](util['format'](_0x325d('0x12c'),_0x1c2ebd));var _0x2e3965=this[_0x325d('0x86')][_0x325d('0x9e')](this,_0x2c893a,_0x1c2ebd);if(_0x2e3965){for(var _0x6229ae in _0x2e3965){if(_0x2e3965['hasOwnProperty'](_0x6229ae)){this[_0x325d('0xd')][_0x325d('0x96')](util['format'](_0x325d('0x12d'),_0x6229ae[_0x325d('0x65')]()),_0x2e3965[_0x6229ae]);}}return this[_0x325d('0xd')][_0x325d('0xa2')](util[_0x325d('0x4d')](_0x325d('0x12e'),JSON[_0x325d('0x6d')](_0x2e3965)));}}return _0x50e0cd;};AGIVertices[_0x325d('0xf')][_0x325d('0x12f')]=function(_0x4ca338){logger[_0x325d('0x2d')](util[_0x325d('0x4d')](_0x325d('0x130'),_0x4ca338[_0x325d('0x34')]));if(!this[_0x325d('0x9c')](_0x4ca338[_0x325d('0x89')])){return this[_0x325d('0xd')][_0x325d('0xa2')]('no\x20appid\x20configured');}if(!this[_0x325d('0x9c')](_0x4ca338['appsecret'])){return this[_0x325d('0xd')]['noop']('no\x20appsecret\x20configured');}var _0x5fddd1=_0x325d('0x131');var _0x4ef782=util[_0x325d('0x4d')](_0x325d('0x127'),FILES_PATH,rs['generate'](0x4));var _0x32b972=util[_0x325d('0x4d')](_0x325d('0x95'),_0x4ef782,_0x5fddd1);var _0x32ea2a=!![];if(_0x4ca338[_0x325d('0x128')]===_0x325d('0x129')){_0x32ea2a=![];}var _0xb8f234=this[_0x325d('0xd')][_0x325d('0x12a')](_0x4ef782,_0x5fddd1,_0x4ca338[_0x325d('0x12b')],_0x4ca338[_0x325d('0x60')],undefined,_0x32ea2a);if(_0xb8f234[_0x325d('0x9b')]!==-0x1){this[_0x325d('0xd')][_0x325d('0xa2')](util[_0x325d('0x4d')](_0x325d('0x132'),_0x32b972));var _0x1368d3=this[_0x325d('0x88')]['sync'](this,_0x4ca338,_0x32b972);if(_0x1368d3){for(var _0x533c08 in _0x1368d3){if(_0x1368d3[_0x325d('0x8d')](_0x533c08)){this[_0x325d('0xd')]['setVariable'](util['format'](_0x325d('0x133'),_0x533c08[_0x325d('0x65')]()),_0x1368d3[_0x533c08]);}}return this['channel'][_0x325d('0xa2')](util[_0x325d('0x4d')](_0x325d('0x134'),JSON[_0x325d('0x6d')](_0x1368d3)));}}return _0xb8f234;};AGIVertices['prototype'][_0x325d('0x135')]=function(_0x2dd558){logger['info'](util[_0x325d('0x4d')](_0x325d('0x136'),_0x2dd558[_0x325d('0x34')]));return this[_0x325d('0xd')][_0x325d('0x137')](_0x2dd558['context'],_0x2dd558['extension'],_0x2dd558[_0x325d('0x3a')]);};AGIVertices[_0x325d('0xf')]['gotoif']=function(_0x36d6ef){logger[_0x325d('0x2d')](util[_0x325d('0x4d')](_0x325d('0x138'),_0x36d6ef[_0x325d('0x34')]));if(!this[_0x325d('0x9c')](_0x36d6ef[_0x325d('0x139')])){return this[_0x325d('0xd')][_0x325d('0x2f')](_0x36d6ef,_0x325d('0x13a'));}try{var _0x438eb8=eval(_0x36d6ef[_0x325d('0x139')])?_0x325d('0x13b'):_0x325d('0x13c');this[_0x325d('0xd')]['noop'](util['format'](_0x325d('0x13d'),_0x36d6ef[_0x325d('0x139')],_0x438eb8));return{'code':0xc8,'result':_0x438eb8};}catch(_0x3b2c71){return{'code':0xc8,'result':_0x325d('0x13c')};}};AGIVertices[_0x325d('0xf')]['gotoiftime']=function(_0x604d10){logger[_0x325d('0x2d')](util[_0x325d('0x4d')](_0x325d('0x13e'),_0x604d10[_0x325d('0x34')]));if(!this[_0x325d('0x9c')](_0x604d10[_0x325d('0x13f')])){return this[_0x325d('0xd')]['error'](_0x604d10,_0x325d('0x140'));}var _0x432cc1=this['getIntervals'][_0x325d('0x9e')](this,_0x604d10[_0x325d('0x13f')]);if(!_0x432cc1){return this['channel'][_0x325d('0x2f')](_0x604d10,_0x325d('0x141'));}for(var _0x1daef5=0x0;_0x1daef5<_0x432cc1[_0x325d('0x93')];_0x1daef5+=0x1){var _0x1f1bbf=this[_0x325d('0xd')]['getVariable'](util['format']('IFTIME(%s?true:false)',_0x432cc1[_0x1daef5]));if(_0x1f1bbf['result']===-0x1){return _0x1f1bbf;}logger[_0x325d('0x2d')](util[_0x325d('0x4d')](_0x325d('0x142'),_0x432cc1[_0x1daef5],_0x1f1bbf[_0x325d('0x9a')]));if(_0x1f1bbf[_0x325d('0x9a')]===_0x325d('0x13b')){logger[_0x325d('0x2d')](util['format'](_0x325d('0x142'),_0x432cc1[_0x1daef5],'true'));this[_0x325d('0xd')]['noop'](util[_0x325d('0x4d')](_0x325d('0x142'),_0x432cc1[_0x1daef5],'true'));return{'code':0xc8,'result':_0x325d('0x13b')};}else{logger[_0x325d('0x2d')](util[_0x325d('0x4d')](_0x325d('0x142'),_0x432cc1[_0x1daef5],_0x325d('0x13c')));this[_0x325d('0xd')][_0x325d('0xa2')](util['format'](_0x325d('0x142'),_0x432cc1[_0x1daef5],_0x325d('0x13c')));}}return{'code':0xc8,'result':'false'};};AGIVertices[_0x325d('0xf')][_0x325d('0x143')]=function(_0x1ba125){logger[_0x325d('0x2d')](util[_0x325d('0x4d')](_0x325d('0x144'),_0x1ba125[_0x325d('0x34')]));return this[_0x325d('0xd')][_0x325d('0x143')]();};AGIVertices[_0x325d('0xf')][_0x325d('0x145')]=function(_0x1e186a){logger[_0x325d('0x2d')](util['format'](_0x325d('0x146'),_0x1e186a[_0x325d('0x34')]));if(!this[_0x325d('0x9c')](_0x1e186a[_0x325d('0x76')])){return this[_0x325d('0xd')]['noop'](_0x325d('0xe8'));}var _0x54d86b=_0x325d('0x131');var _0xaab996=util[_0x325d('0x4d')](_0x325d('0x127'),FILES_PATH,rs[_0x325d('0x116')](0x4));var _0x4e1a22=util[_0x325d('0x4d')](_0x325d('0x95'),_0xaab996,_0x54d86b);var _0x8442b=!![];if(_0x1e186a[_0x325d('0x128')]===_0x325d('0x129')){_0x8442b=![];}var _0x52a9ed=this['channel'][_0x325d('0x12a')](_0xaab996,_0x54d86b,_0x1e186a[_0x325d('0x12b')],_0x1e186a[_0x325d('0x60')],undefined,_0x8442b);if(_0x52a9ed['result']!==-0x1){this[_0x325d('0xd')][_0x325d('0xa2')](util[_0x325d('0x4d')]('ispeech\x20%s\x20file\x20created',_0x4e1a22));var _0x194e53=this[_0x325d('0x7b')]['sync'](this,_0x1e186a,_0x4e1a22);if(_0x194e53){for(var _0x2349ac in _0x194e53){if(_0x194e53[_0x325d('0x8d')](_0x2349ac)){this[_0x325d('0xd')][_0x325d('0x96')](util['format']('ISPEECH_ASR_%s',_0x2349ac[_0x325d('0x65')]()),_0x194e53[_0x2349ac]);}}return this[_0x325d('0xd')][_0x325d('0xa2')](util['format']('IspeechASR\x20Result\x20%s',JSON[_0x325d('0x6d')](_0x194e53)));}}return _0x52a9ed;};AGIVertices[_0x325d('0xf')][_0x325d('0x147')]=function(_0x359191){logger[_0x325d('0x2d')](util[_0x325d('0x4d')](_0x325d('0x148'),_0x359191[_0x325d('0x34')]));if(!this[_0x325d('0x9c')](_0x359191[_0x325d('0x76')])){return this[_0x325d('0xd')]['noop'](_0x325d('0xe8'));}if(!this['isConfigured'](_0x359191['text'])){return this[_0x325d('0xd')]['noop'](_0x325d('0xc4'));}this[_0x325d('0xd')]['noop'](util[_0x325d('0x4d')](_0x325d('0x149'),_0x359191[_0x325d('0x57')]));var _0x3bc68a=this[_0x325d('0x79')][_0x325d('0x9e')](this,_0x359191);if(_0x3bc68a){this[_0x325d('0xd')][_0x325d('0xa2')](util[_0x325d('0x4d')](_0x325d('0x14a'),_0x3bc68a));var _0x44c3ba=this[_0x325d('0xd')][_0x325d('0xfa')](_0x3bc68a,_0x359191[_0x325d('0x12b')]);try{fs['unlink'](_0x3bc68a+_0x325d('0xfc'));}catch(_0x5dc1e3){logger[_0x325d('0x2f')](_0x5dc1e3);}return _0x44c3ba;}return this[_0x325d('0xd')]['error'](_0x359191,_0x325d('0x14b'));};AGIVertices[_0x325d('0xf')][_0x325d('0x14c')]=function(_0x1c2783){logger[_0x325d('0x2d')](util['format'](_0x325d('0x14d'),_0x1c2783[_0x325d('0x34')]));if(!this['isConfigured'](_0x1c2783['findBy'])){return this[_0x325d('0xd')][_0x325d('0x2f')](_0x1c2783,_0x325d('0x14e'));}logger[_0x325d('0x2d')](util['format'](_0x325d('0x14f'),this['channel']['callerid'],_0x1c2783[_0x325d('0x150')]));var _0x558ab7=this[_0x325d('0x4c')]['sync'](this,_0x1c2783[_0x325d('0x150')]);if(_0x558ab7){logger['info'](util[_0x325d('0x4d')](_0x325d('0x151'),this[_0x325d('0xd')][_0x325d('0x37')],_0x1c2783['findBy']));this['channel'][_0x325d('0xa2')](util[_0x325d('0x4d')](_0x325d('0x151'),this[_0x325d('0xd')][_0x325d('0x37')],_0x1c2783[_0x325d('0x150')]));return{'code':0xc8,'result':_0x325d('0x152')};}else{logger['info'](util[_0x325d('0x4d')]('AGENT\x20%s\x20NOT\x20FOUND\x20BY',this[_0x325d('0xd')][_0x325d('0x37')],_0x1c2783['findBy']));this[_0x325d('0xd')][_0x325d('0xa2')](util[_0x325d('0x4d')](_0x325d('0x153'),this[_0x325d('0xd')][_0x325d('0x37')],_0x1c2783[_0x325d('0x150')]));return{'code':0xc8,'result':_0x325d('0x154')};}};AGIVertices['prototype'][_0x325d('0x155')]=function(_0x16495d){logger[_0x325d('0x2d')](util['format']('Enter\x20in\x20LOGOUT\x20(%s)\x20block',_0x16495d[_0x325d('0x34')]));if(!this[_0x325d('0x9c')](_0x16495d[_0x325d('0x150')])){return this[_0x325d('0xd')][_0x325d('0x2f')](_0x16495d,_0x325d('0x14e'));}logger[_0x325d('0x2d')](util[_0x325d('0x4d')](_0x325d('0x14f'),this[_0x325d('0xd')][_0x325d('0x37')],_0x16495d['findBy']));var _0x46f0f2=this[_0x325d('0x4b')]['sync'](this,_0x16495d['findBy']);if(_0x46f0f2){logger[_0x325d('0x2d')](util[_0x325d('0x4d')](_0x325d('0x151'),this[_0x325d('0xd')]['callerid'],_0x16495d[_0x325d('0x150')]));this[_0x325d('0xd')][_0x325d('0xa2')](util[_0x325d('0x4d')](_0x325d('0x151'),this[_0x325d('0xd')][_0x325d('0x37')],_0x16495d[_0x325d('0x150')]));return{'code':0xc8,'result':_0x325d('0x152')};}else{logger[_0x325d('0x2d')](util[_0x325d('0x4d')]('AGENT\x20%s\x20NOT\x20FOUND\x20BY',this[_0x325d('0xd')][_0x325d('0x37')],_0x16495d[_0x325d('0x150')]));this['channel'][_0x325d('0xa2')](util[_0x325d('0x4d')](_0x325d('0x153'),this[_0x325d('0xd')][_0x325d('0x37')],_0x16495d['findBy']));return{'code':0xc8,'result':'failure'};}};AGIVertices[_0x325d('0xf')][_0x325d('0x156')]=function(_0x5c5793){logger['info'](util[_0x325d('0x4d')](_0x325d('0x157'),_0x5c5793[_0x325d('0x34')]));if(!this[_0x325d('0x9c')](_0x5c5793[_0x325d('0x158')])){return this[_0x325d('0xd')]['error'](_0x5c5793,'no\x20operation\x20configured');}this[_0x325d('0xd')][_0x325d('0xa2')](util[_0x325d('0x4d')]('math\x20%s',_0x5c5793[_0x325d('0x158')]));var _0x313809=eval(_0x5c5793[_0x325d('0x158')]);if(!this[_0x325d('0x9c')](_0x5c5793[_0x325d('0xd8')])){return this[_0x325d('0xd')][_0x325d('0xa2')]('no\x20variable\x20selected\x20for\x20the\x20result');}var _0x5c9e5e=this['getVariable'][_0x325d('0x9e')](this,_0x5c5793[_0x325d('0xd8')]);if(!_0x5c9e5e){return this[_0x325d('0xd')][_0x325d('0x2f')](_0x5c5793,_0x325d('0xd9'));}if(_[_0x325d('0x92')](_0x313809)){var _0x53039c=this;_0x313809[_0x325d('0xdb')](function(_0x3a5470,_0x543538){_0x53039c[_0x325d('0xd')]['setVariable'](util[_0x325d('0x4d')](_0x325d('0x159'),_0x5c9e5e,_0x543538),_0x3a5470);});return this['channel'][_0x325d('0xa2')](util[_0x325d('0x4d')](_0x325d('0x15a'),_0x5c9e5e));}else{return this[_0x325d('0xd')]['setVariable'](_0x5c9e5e,_0x313809);}};AGIVertices['prototype'][_0x325d('0xa')]=function(_0x176f25){logger[_0x325d('0x2d')](util[_0x325d('0x4d')](_0x325d('0x15b'),_0x176f25[_0x325d('0x34')]));if(_0x176f25[_0x325d('0x10a')]===0x0){return this['maxRetry'](_0x176f25);}_0x176f25[_0x325d('0x10a')]-=0x1;if(!this['isConfigured'](_0x176f25[_0x325d('0x10b')])){return this[_0x325d('0xd')][_0x325d('0x2f')](_0x176f25,_0x325d('0x10c'));}var _0x424d31=this[_0x325d('0x15c')][_0x325d('0x9e')](this,_0x176f25['file_id']);if(!_0x424d31){return this[_0x325d('0xd')][_0x325d('0x2f')](_0x176f25,_0x325d('0x10d'));}var _0x1dffd2=this['channel']['getData'](_0x424d31,_0x176f25[_0x325d('0x15d')],_0x176f25[_0x325d('0x15e')]);var _0x111c46=_0x1dffd2[_0x325d('0x9b')];if(_0x1dffd2[_0x325d('0x9b')]===-0x1){this[_0x325d('0x32')][_0x325d('0x9e')](this,_0x176f25,'-1');return _0x1dffd2;}else if(_0x1dffd2[_0x325d('0x9a')]===_0x325d('0x60')){_0x1dffd2[_0x325d('0x9b')]=_0x1dffd2[_0x325d('0x9b')][_0x325d('0x93')]>0x0?_0x1dffd2[_0x325d('0x9b')]:'t';}else if(_['isEmpty'](_0x1dffd2[_0x325d('0x9b')])){_0x1dffd2[_0x325d('0x9b')]='#';_0x111c46='#';}if(!this['isConfigured'](_0x176f25[_0x325d('0xd8')])){this['channel'][_0x325d('0xa2')]('no\x20variable\x20selected\x20for\x20the\x20result');}else{var _0x205c3a=this['getVariable'][_0x325d('0x9e')](this,_0x176f25[_0x325d('0xd8')]);if(!_0x205c3a){return this[_0x325d('0xd')][_0x325d('0x2f')](_0x176f25,_0x325d('0xd9'));}this[_0x325d('0xd')][_0x325d('0x96')](_0x205c3a,_0x111c46);}this[_0x325d('0x32')][_0x325d('0x9e')](this,_0x176f25,_0x111c46);return _0x1dffd2;};AGIVertices[_0x325d('0xf')][_0x325d('0xa2')]=function(_0xecc8a6){logger[_0x325d('0x2d')](util['format'](_0x325d('0x15f'),_0xecc8a6['label']));return this[_0x325d('0xd')][_0x325d('0xa2')](_0xecc8a6[_0x325d('0x160')]||_0xecc8a6[_0x325d('0x34')]);};AGIVertices[_0x325d('0xf')][_0x325d('0x161')]=function(_0x3d62b3){logger[_0x325d('0x2d')](util['format'](_0x325d('0x162'),_0x3d62b3[_0x325d('0x34')]));if(!this[_0x325d('0x9c')](_0x3d62b3[_0x325d('0x150')])){return this['channel'][_0x325d('0x2f')](_0x3d62b3,_0x325d('0x14e'));}logger['info'](util[_0x325d('0x4d')](_0x325d('0x14f'),this[_0x325d('0xd')][_0x325d('0x37')],_0x3d62b3[_0x325d('0x150')]));var _0x283d76=this[_0x325d('0x46')][_0x325d('0x9e')](this,_0x3d62b3[_0x325d('0x163')]);var _0x2caf66=this[_0x325d('0x48')]['sync'](this,_0x3d62b3[_0x325d('0x150')],_0x283d76);if(_0x2caf66){logger[_0x325d('0x2d')](util['format'](_0x325d('0x151'),this['channel'][_0x325d('0x37')],_0x3d62b3[_0x325d('0x150')]));this['channel'][_0x325d('0xa2')](util['format'](_0x325d('0x151'),this[_0x325d('0xd')][_0x325d('0x37')],_0x3d62b3[_0x325d('0x150')]));return{'code':0xc8,'result':_0x325d('0x152')};}else{logger[_0x325d('0x2d')](util[_0x325d('0x4d')](_0x325d('0x153'),this['channel'][_0x325d('0x37')],_0x3d62b3[_0x325d('0x150')]));this[_0x325d('0xd')][_0x325d('0xa2')](util[_0x325d('0x4d')](_0x325d('0x151'),this['channel']['callerid'],_0x3d62b3[_0x325d('0x150')]));return{'code':0xc8,'result':_0x325d('0x154')};}};AGIVertices[_0x325d('0xf')][_0x325d('0x164')]=function(_0x3c78cd){logger[_0x325d('0x2d')](util[_0x325d('0x4d')](_0x325d('0x165'),_0x3c78cd[_0x325d('0x34')]));if(!this[_0x325d('0x9c')](_0x3c78cd['file_id'])){return this[_0x325d('0xd')][_0x325d('0x2f')](_0x3c78cd,'no\x20file\x20audio\x20selected');}var _0x45efbe=this['getSound'][_0x325d('0x9e')](this,_0x3c78cd[_0x325d('0x10b')]);if(!_0x45efbe){return this['channel']['error'](_0x3c78cd,'no\x20file\x20audio\x20found');}var _0x5a3963=this[_0x325d('0xd')][_0x325d('0x51')]('PLAYBACK',[_0x45efbe,_0x3c78cd['opts']]);if(_0x5a3963[_0x325d('0x9b')]===-0x1){return _0x5a3963;}return this['channel'][_0x325d('0xa2')](util[_0x325d('0x4d')](_0x325d('0xc1'),_0x325d('0x166'),_0x45efbe));};AGIVertices[_0x325d('0xf')][_0x325d('0x167')]=function(_0xf103bf){logger[_0x325d('0x2d')](util['format']('Enter\x20in\x20QUEUE\x20(%s)\x20block',_0xf103bf['label']));if(!this[_0x325d('0x9c')](_0xf103bf['queue_id'])){return this['channel']['error'](_0xf103bf,_0x325d('0x168'));}var _0x4b0e28='';var _0x2eeb16=parseInt(_0xf103bf['queue_id'],0xa);if(isNaN(_0x2eeb16)){_0x4b0e28=_0xf103bf[_0x325d('0x169')];}else{_0x4b0e28=this[_0x325d('0x16a')]['sync'](this,_0xf103bf[_0x325d('0x169')]);if(!_0x4b0e28){return this[_0x325d('0xd')]['error'](_0xf103bf,_0x325d('0x16b'));}}var _0x829b13='';if(this['isConfigured'](_0xf103bf['file_id'])){var _0x1bbc47=this['getSound'][_0x325d('0x9e')](this,_0xf103bf['file_id']);if(_0x1bbc47){_0x829b13=_0x1bbc47;}}this['createSquareDetailsReport'][_0x325d('0x9e')](this,_0xf103bf,_0x4b0e28);if(_0xf103bf[_0x325d('0x106')][_0x325d('0x16c')]('x')<0x0){_0xf103bf[_0x325d('0x106')]+='x';}if(_0xf103bf[_0x325d('0x106')]['indexOf']('X')<0x0){_0xf103bf['opts']+='X';}this['channel'][_0x325d('0x96')](_0x325d('0x16d'),_0x4b0e28?_0x4b0e28['toLowerCase']():'');var _0x3d94f=this[_0x325d('0xd')][_0x325d('0x51')](_0x325d('0x16e'),[_0x4b0e28,_0xf103bf[_0x325d('0x106')],_0xf103bf[_0x325d('0x5e')],_0x829b13,_0xf103bf['timeout'],_0xf103bf[_0x325d('0xb0')],_0xf103bf[_0x325d('0x16f')],_0xf103bf[_0x325d('0x170')],'',_0xf103bf[_0x325d('0x171')]]);if(_0x3d94f[_0x325d('0x9b')]===-0x1){return _0x3d94f;}return this[_0x325d('0xd')][_0x325d('0xa2')](util[_0x325d('0x4d')](_0x325d('0xc1'),_0x325d('0x16e'),_0x4b0e28));};AGIVertices['prototype'][_0x325d('0x172')]=function(_0x1889de){logger[_0x325d('0x2d')](util[_0x325d('0x4d')](_0x325d('0x173'),_0x1889de[_0x325d('0x34')]));var _0x33de2c=_0x1889de['recordingFormat']||_0x325d('0x131');var _0x58c5ed=util[_0x325d('0x4d')](_0x325d('0x174'),this['channel'][_0x325d('0x33')],rs['generate'](0x5));var _0x52c933=util[_0x325d('0x4d')]('%s/recordings/%s.%s',FILES_PATH,_0x58c5ed,_0x33de2c);var _0xddb434=util[_0x325d('0x4d')](_0x325d('0x127'),FILES_PATH,_0x58c5ed);this[_0x325d('0x38')][_0x325d('0x9e')](this,_0x1889de,_0x58c5ed,_0x52c933);this[_0x325d('0xd')][_0x325d('0x96')](_0x325d('0x175'),_0x58c5ed);logger[_0x325d('0x2d')]('Recording\x20%s\x20%s\x20%s\x20%s',_0xddb434,_0x33de2c,_0x1889de[_0x325d('0x176')],_0x1889de['timeout']);return this[_0x325d('0xd')]['recordFile'](_0xddb434,_0x33de2c,_0x1889de[_0x325d('0x176')],_0x1889de[_0x325d('0x60')],undefined,!![]);};AGIVertices[_0x325d('0xf')][_0x325d('0x177')]=function(_0x36bb59){logger[_0x325d('0x2d')](util[_0x325d('0x4d')](_0x325d('0x178'),_0x36bb59[_0x325d('0x34')]));if(!this[_0x325d('0x9c')](_0x36bb59['url'])){return this['channel']['noop'](_0x325d('0x179'));}var _0x3c4d83=this[_0x325d('0x17a')][_0x325d('0x9e')](this,_0x36bb59);logger[_0x325d('0x2d')](util[_0x325d('0x4d')]('Response:',util[_0x325d('0x17b')](_0x3c4d83,{'showHidden':![],'depth':null})));if(!this[_0x325d('0x9c')](_0x36bb59[_0x325d('0xd8')])){return this[_0x325d('0xd')][_0x325d('0xa2')](_0x325d('0x17c'));}var _0x436b10=this[_0x325d('0x10')]['sync'](this,_0x36bb59[_0x325d('0xd8')]);if(!_0x436b10){return this[_0x325d('0xd')][_0x325d('0x2f')](_0x36bb59,_0x325d('0xd9'));}this[_0x325d('0xd')]['setVariable'](util[_0x325d('0x4d')]('%s_STATUS_CODE',_0x436b10),_0x3c4d83[_0x325d('0x70')]?_0x3c4d83[_0x325d('0x70')]:_0x325d('0x17d'));this[_0x325d('0xd')][_0x325d('0x96')](util[_0x325d('0x4d')]('%s_STATUS_MESSAGE',_0x436b10),_0x3c4d83['statusMessage']?_0x3c4d83[_0x325d('0x71')]:'OK');if(_0x3c4d83[_0x325d('0x6e')]){try{this[_0x325d('0x94')](_0x3c4d83[_0x325d('0x6e')],_0x436b10);}catch(_0x1a9749){logger['error'](util[_0x325d('0x4d')](_0x325d('0x17e'),_0x436b10));}}return this[_0x325d('0xd')][_0x325d('0xa2')](util[_0x325d('0x4d')]('variable\x20%s\x20set',_0x436b10));};AGIVertices[_0x325d('0xf')]['saydigits']=function(_0x596029){logger[_0x325d('0x2d')](util[_0x325d('0x4d')](_0x325d('0x17f'),_0x596029[_0x325d('0x34')]));return this[_0x325d('0xd')][_0x325d('0x180')](_0x596029[_0x325d('0x181')]['replace'](/\s+/g,''),_0x596029[_0x325d('0x176')]);};AGIVertices[_0x325d('0xf')][_0x325d('0x182')]=function(_0x2990ec){logger[_0x325d('0x2d')](util[_0x325d('0x4d')](_0x325d('0x183'),_0x2990ec[_0x325d('0x34')]));return this[_0x325d('0xd')][_0x325d('0x184')](_0x2990ec[_0x325d('0x61')][_0x325d('0x53')](/\s+/g,''),_0x2990ec[_0x325d('0x176')]);};AGIVertices[_0x325d('0xf')]['sayphonetic']=function(_0x1df6e7){logger['info'](util[_0x325d('0x4d')](_0x325d('0x185'),_0x1df6e7['label']));return this[_0x325d('0xd')][_0x325d('0x186')](_0x1df6e7[_0x325d('0x57')],_0x1df6e7[_0x325d('0x176')]);};AGIVertices[_0x325d('0xf')][_0x325d('0x187')]=function(_0x420285){logger[_0x325d('0x2d')](util['format'](_0x325d('0x188'),_0x420285[_0x325d('0x34')]));if(!this[_0x325d('0x9c')](_0x420285['account_id'])){return this['channel'][_0x325d('0xa2')](_0x325d('0x189'));}var _0x5da255=this[_0x325d('0x22')]['sync'](this,_0x420285['account_id']);if(!_0x5da255||!_0x5da255[_0x325d('0x18a')]){return this[_0x325d('0xd')][_0x325d('0x2f')](_0x420285,_0x325d('0x18b'));}var _0xd69669={'from':util[_0x325d('0x4d')](_0x325d('0x18c'),_0x5da255[_0x325d('0x14')],_0x5da255[_0x325d('0x18d')]||_0x5da255['Smtp'][_0x325d('0x18e')]),'to':_0x420285['to']||'','cc':_0x420285['cc']||'','bcc':_0x420285[_0x325d('0x18f')]||'','subject':_0x420285['subject'],'html':_0x420285[_0x325d('0x57')],'text':_0x420285[_0x325d('0x57')]};var _0x54d2fa={'tls':{'rejectUnauthorized':![]}};if(_0x5da255[_0x325d('0x18a')]['service']){_0x54d2fa[_0x325d('0x190')]=_0x5da255[_0x325d('0x18a')][_0x325d('0x190')];}else{_0x54d2fa[_0x325d('0x191')]=_0x5da255[_0x325d('0x18a')][_0x325d('0x191')];_0x54d2fa[_0x325d('0x192')]=_0x5da255['Smtp'][_0x325d('0x192')];_0x54d2fa['secure']=_0x5da255[_0x325d('0x18a')][_0x325d('0x193')];}if(_0x5da255[_0x325d('0x18a')][_0x325d('0x194')]){_0x54d2fa['auth']={'user':_0x5da255[_0x325d('0x18a')][_0x325d('0x18e')],'pass':_0x5da255['Smtp']['pass']};}if(this[_0x325d('0x9c')](_0x420285[_0x325d('0x195')])){}logger[_0x325d('0xdf')](_0x325d('0x196'),JSON['stringify'](_0xd69669));this[_0x325d('0x32')][_0x325d('0x9e')](this,_0x420285,_0x420285[_0x325d('0x197')]);this['channel'][_0x325d('0xa2')](util[_0x325d('0x4d')](_0x325d('0x198'),_0x5da255[_0x325d('0x14')]));this[_0x325d('0x23')]['sync'](this,_0x54d2fa,_0xd69669);return this['channel'][_0x325d('0xa2')]('Mail\x20message\x20added\x20to\x20outgoing\x20process');};AGIVertices[_0x325d('0xf')][_0x325d('0x199')]=function(_0x14462a){logger[_0x325d('0x2d')](util['format'](_0x325d('0x19a'),_0x14462a[_0x325d('0x34')]));return this[_0x325d('0xd')]['noop'](_0x325d('0x19b'));};AGIVertices['prototype'][_0x325d('0x19c')]=function(_0x19a2fa){logger[_0x325d('0x2d')](util['format']('Enter\x20in\x20SENDSMS\x20(%s)\x20block',_0x19a2fa[_0x325d('0x34')]));if(!this[_0x325d('0x9c')](_0x19a2fa['sms_account_id'])){return this[_0x325d('0xd')][_0x325d('0xa2')]('no\x20sms\x20account\x20configured');}var _0x19cedf=this['getSmsAccount'][_0x325d('0x9e')](this,_0x19a2fa['sms_account_id']);if(!_0x19cedf){return this[_0x325d('0xd')][_0x325d('0x2f')](_0x19a2fa,'no\x20sms\x20account\x20found');}var _0x575986={'body':_0x19a2fa[_0x325d('0x19d')],'phone':_0x19a2fa['to']||'','SmsAccountId':_0x19cedf['id']};logger[_0x325d('0xdf')](_0x325d('0x19e'),JSON['stringify'](_0x575986));this[_0x325d('0x32')]['sync'](this,_0x19a2fa,_0x19a2fa[_0x325d('0x19f')]);this[_0x325d('0xd')][_0x325d('0xa2')](util['format'](_0x325d('0x1a0'),_0x19cedf[_0x325d('0x14')]));this[_0x325d('0x31')]['sync'](this,_0x575986);return this[_0x325d('0xd')][_0x325d('0xa2')](_0x325d('0x1a1'));};AGIVertices[_0x325d('0xf')][_0x325d('0x1a2')]=function(_0x5efa7d){logger['info'](util[_0x325d('0x4d')]('Enter\x20in\x20SET\x20(%s)\x20block',_0x5efa7d['label']));if(!this[_0x325d('0x9c')](_0x5efa7d['variable_id'])){return this['channel'][_0x325d('0x2f')](_0x5efa7d,_0x325d('0x1a3'));}var _0x29aada=this[_0x325d('0x10')][_0x325d('0x9e')](this,_0x5efa7d[_0x325d('0xd8')]);if(!_0x29aada){return this[_0x325d('0xd')][_0x325d('0x2f')](_0x5efa7d,_0x325d('0xd9'));}return this[_0x325d('0xd')]['setVariable'](_0x29aada,_0x5efa7d[_0x325d('0x1a4')]);};AGIVertices[_0x325d('0xf')][_0x325d('0x1a5')]=function(_0x522239){logger[_0x325d('0x2d')](util[_0x325d('0x4d')](_0x325d('0x1a6'),_0x522239[_0x325d('0x34')]));this['channel']['noop'](_0x325d('0x1a7'));if(_0x522239[_0x325d('0xb4')]===_0x325d('0x1a8')){this[_0x325d('0xd')]['noop'](_0x325d('0x1a9'));return this[_0x325d('0xd')][_0x325d('0xb4')]();}return this[_0x325d('0xd')][_0x325d('0xa2')]('Skipped\x20Answer');};AGIVertices[_0x325d('0xf')][_0x325d('0x1aa')]=function(_0x44a5ef){logger[_0x325d('0x2d')](util[_0x325d('0x4d')]('Enter\x20in\x20SUBPROJECT\x20(%s)\x20block',_0x44a5ef['label']));if(!this[_0x325d('0x9c')](_0x44a5ef['project_id'])){return this[_0x325d('0xd')][_0x325d('0x2f')](_0x44a5ef,_0x325d('0x1ab'));}var _0x4077f9=this[_0x325d('0x17')][_0x325d('0x9e')](this,_0x44a5ef[_0x325d('0x1ac')]);if(!this[_0x325d('0x9c')](_0x4077f9)){return this[_0x325d('0xd')][_0x325d('0x2f')](_0x44a5ef,util[_0x325d('0x4d')]('no\x20subproject\x20found\x20with\x20id\x20%d',_0x44a5ef['project_id']));}if(_0x4077f9===this[_0x325d('0xd')][_0x325d('0x36')]){return this[_0x325d('0xd')]['error'](_0x44a5ef,'project\x20in\x20subproject\x20must\x20be\x20different\x20from\x20the\x20called\x20project');}this[_0x325d('0x32')][_0x325d('0x9e')](this,_0x44a5ef,_0x4077f9);var _0x17d2bf=this[_0x325d('0xd')][_0x325d('0x51')](_0x325d('0x1ad'),util[_0x325d('0x4d')](_0x325d('0x1ae'),config[_0x325d('0xb0')][_0x325d('0x191')]||_0x325d('0x1af'),_0x4077f9,this[_0x325d('0xd')][_0x325d('0x36')]));if(_0x17d2bf['result']===-0x1){return _0x17d2bf;}return this['channel']['noop'](util[_0x325d('0x4d')](_0x325d('0xc1'),_0x325d('0x1ad'),_0x4077f9));};AGIVertices[_0x325d('0xf')]['system']=function(_0x243752){logger[_0x325d('0x2d')](util[_0x325d('0x4d')]('Enter\x20in\x20SYSTEM\x20(%s)\x20block',_0x243752[_0x325d('0x34')]));var _0xc71aae=this[_0x325d('0x50')][_0x325d('0x9e')](this,_0x243752[_0x325d('0xb2')]);this['createSquareDetailsReport']['sync'](this,_0x243752,_0x243752['command']);if(this[_0x325d('0x9c')](_0x243752['variable_id'])){var _0xf5efb1=this['getVariable'][_0x325d('0x9e')](this,_0x243752[_0x325d('0xd8')]);if(_0xf5efb1){this[_0x325d('0xd')][_0x325d('0x96')](_0xf5efb1,_0xc71aae);return this['channel'][_0x325d('0xa2')](util[_0x325d('0x4d')](_0x325d('0x1b0'),_0x243752[_0x325d('0xb2')],_0xf5efb1));}}return this[_0x325d('0xd')]['noop'](util[_0x325d('0x4d')]('sh\x20command:\x20%s\x20result\x20no\x20stored',_0x243752[_0x325d('0xb2')]));};AGIVertices[_0x325d('0xf')][_0x325d('0x1b1')]=function(_0x5626f3){logger[_0x325d('0x2d')](util['format'](_0x325d('0x1b2'),_0x5626f3[_0x325d('0x34')]));_0x5626f3['text']=_0x5626f3[_0x325d('0x57')][_0x325d('0x53')](/(\r\n|\n|\r)/gm,'\x20');if(!this[_0x325d('0x9c')](_0x5626f3[_0x325d('0x55')])){return this[_0x325d('0xd')]['noop'](_0x325d('0x1b3'));}if(!this['isConfigured'](_0x5626f3[_0x325d('0x57')])){return this[_0x325d('0xd')][_0x325d('0xa2')](_0x325d('0xc4'));}this[_0x325d('0xd')][_0x325d('0xa2')](util[_0x325d('0x4d')](_0x325d('0x1b4'),_0x5626f3[_0x325d('0x57')]));var _0x3fcf01=this[_0x325d('0x54')][_0x325d('0x9e')](this,_0x5626f3);if(_0x3fcf01){this[_0x325d('0xd')][_0x325d('0xa2')](util[_0x325d('0x4d')](_0x325d('0x1b5'),_0x3fcf01));var _0x1087d4=this[_0x325d('0xd')][_0x325d('0xfa')](_0x3fcf01);try{fs[_0x325d('0xfb')](_0x3fcf01+_0x325d('0xfc'));}catch(_0x3ce4a0){logger[_0x325d('0x2f')](_0x3ce4a0);}return _0x1087d4;}return this['channel'][_0x325d('0x2f')](_0x5626f3,_0x325d('0x1b6'));};AGIVertices[_0x325d('0xf')][_0x325d('0x1b7')]=function(_0x42c22c){logger[_0x325d('0x2d')](util[_0x325d('0x4d')]('Enter\x20in\x20GOOGLETTS\x20(%s)\x20block',_0x42c22c[_0x325d('0x34')]));_0x42c22c[_0x325d('0x57')]=_0x42c22c[_0x325d('0x57')][_0x325d('0x53')](/(\r\n|\n|\r)/gm,'\x20');if(!this[_0x325d('0x9c')](_0x42c22c[_0x325d('0x57')])){return this[_0x325d('0xd')][_0x325d('0xa2')]('no\x20text\x20configured');}this[_0x325d('0xd')][_0x325d('0xa2')](util[_0x325d('0x4d')](_0x325d('0x1b8'),_0x42c22c[_0x325d('0x57')]));var _0x3ee0f8=this['googleTTS'][_0x325d('0x9e')](this,_0x42c22c);if(_0x3ee0f8){this['channel'][_0x325d('0xa2')](util[_0x325d('0x4d')](_0x325d('0x1b9'),_0x3ee0f8));var _0x3e6a65=this[_0x325d('0xd')][_0x325d('0xfa')](_0x3ee0f8);try{fs[_0x325d('0xfb')](_0x3ee0f8+'.wav');}catch(_0x1b45d3){logger['error'](_0x1b45d3);}return _0x3e6a65;}return this[_0x325d('0xd')][_0x325d('0x2f')](_0x42c22c,_0x325d('0x1ba'));};AGIVertices[_0x325d('0xf')][_0x325d('0x1bb')]=function(_0x488d96){logger['info'](util['format']('Enter\x20in\x20UNPAUSE\x20(%s)\x20block',_0x488d96[_0x325d('0x34')]));if(!this[_0x325d('0x9c')](_0x488d96[_0x325d('0x150')])){return this['channel'][_0x325d('0x2f')](_0x488d96,_0x325d('0x14e'));}logger[_0x325d('0x2d')](util['format'](_0x325d('0x14f'),this[_0x325d('0xd')][_0x325d('0x37')],_0x488d96['findBy']));var _0xa99452=this[_0x325d('0x4a')][_0x325d('0x9e')](this,_0x488d96[_0x325d('0x150')]);if(_0xa99452){logger[_0x325d('0x2d')](util[_0x325d('0x4d')]('AGENT\x20%s\x20FOUND\x20BY',this[_0x325d('0xd')][_0x325d('0x37')],_0x488d96[_0x325d('0x150')]));this[_0x325d('0xd')][_0x325d('0xa2')](util[_0x325d('0x4d')](_0x325d('0x151'),this[_0x325d('0xd')][_0x325d('0x37')],_0x488d96['findBy']));return{'code':0xc8,'result':_0x325d('0x152')};}else{logger[_0x325d('0x2d')](util['format'](_0x325d('0x153'),this['channel'][_0x325d('0x37')],_0x488d96['findBy']));this['channel'][_0x325d('0xa2')](util[_0x325d('0x4d')](_0x325d('0x153'),this['channel'][_0x325d('0x37')],_0x488d96[_0x325d('0x150')]));return{'code':0xc8,'result':'failure'};}};AGIVertices[_0x325d('0xf')][_0x325d('0x1bc')]=function(_0x2dce33){logger[_0x325d('0x2d')](util['format'](_0x325d('0x1bd'),_0x2dce33[_0x325d('0x34')]));var _0x785717=this[_0x325d('0xd')][_0x325d('0x51')](_0x325d('0x1be'),[_0x2dce33['mailbox'],_0x2dce33['options']]);if(_0x785717['result']===-0x1){return _0x785717;}return this[_0x325d('0xd')][_0x325d('0xa2')](util['format'](_0x325d('0xc1'),_0x325d('0x1be'),_0x2dce33[_0x325d('0x1bf')]));};AGIVertices[_0x325d('0xf')]['vswitch']=function(_0x1e4af0){logger[_0x325d('0x2d')](util[_0x325d('0x4d')](_0x325d('0x1c0'),_0x1e4af0[_0x325d('0x34')]));if(!this[_0x325d('0x9c')](_0x1e4af0[_0x325d('0xd8')])){return this[_0x325d('0xd')][_0x325d('0x2f')](_0x1e4af0,_0x325d('0x1a3'));}var _0xb248b8=this[_0x325d('0x10')][_0x325d('0x9e')](this,_0x1e4af0['variable_id']);if(!_0xb248b8){return this[_0x325d('0xd')][_0x325d('0x2f')](_0x1e4af0,_0x325d('0xd9'));}var _0x50334b=this[_0x325d('0xd')][_0x325d('0x10')](_0xb248b8);return{'code':0xc8,'result':_0x50334b[_0x325d('0x9a')]?_0x50334b[_0x325d('0x9a')]:'-'};};String[_0x325d('0xf')][_0x325d('0x99')]=function(_0x3bad5b,_0x2378a4){return this[_0x325d('0x98')](_0x3bad5b)['join'](_0x2378a4);};module[_0x325d('0x1c1')]=AGIVertices; \ No newline at end of file +var _0x43d2=['no\x20appsecret\x20configured','%s/recordings/%s','NOBEEP','recordFile','tilde\x20%s\x20file\x20created','TildeASR\x20Result\x20%s','gotoc','Enter\x20in\x20GOTO\x20(%s)\x20block','context','gotoif','condition','true','false','EVAL\x20CONDITION\x20%s\x20%s','gotoiftime','interval_id','no\x20interval\x20configured','getIntervals','no\x20intervals\x20found','IFTIME(%s?true:false)','IFTIME\x20%s\x20%s','Enter\x20in\x20HANGUP\x20(%s)\x20block','hangup','Enter\x20in\x20ISPEECHASR\x20(%s)\x20block','ispeech\x20%s\x20file\x20created','ISPEECH_ASR_%s','IspeechASR\x20Result\x20%s','ispeechtts','Enter\x20in\x20ISPEECHTTS\x20(%s)\x20block','Trying\x20ispeech\x20TTS\x20%s','ispeech\x20TTS\x20is\x20unreachable','findBy','FIND\x20AGENT\x20%s\x20BY\x20%s','AGENT\x20%s\x20FOUND\x20BY','logout','no\x20find\x20by\x20configured','success','AGENT\x20%s\x20NOT\x20FOUND\x20BY','failure','math','Enter\x20in\x20MATH\x20(%s)\x20block','operation','math\x20%s','%s[%s]','variable\x20%s[key]\x20set','Enter\x20in\x20MENU\x20(%s)\x20block','getData','digit','isEmpty','Enter\x20in\x20NOOP\x20(%s)\x20block','output','pause','Enter\x20in\x20PAUSE\x20(%s)\x20block','pause_id','playback','Enter\x20in\x20PLAYBACK\x20(%s)\x20block','PLAYBACK','queue','queue_id','no\x20queue\x20selected','no\x20queue\x20found','indexOf','XMCS-QUEUE','QUEUE','macro','gosub','position','record','Enter\x20in\x20RECORD\x20(%s)\x20block','recordingFormat','%s_%s','RECORDING_SAVENAME','Recording\x20%s\x20%s\x20%s\x20%s','escape_digits','Enter\x20in\x20RESTAPI\x20(%s)\x20block','no\x20url\x20configured','Response:','inspect','no\x20variable\x20selected\x20for\x20the\x20response','%s_STATUS_CODE','%s_STATUS_MESSAGE','saydigits','Enter\x20in\x20SAYDIGITS\x20(%s)\x20block','sayDigits','saynumber','Enter\x20in\x20SAYNUMBER\x20(%s)\x20block','sayNumber','sayphonetic','Enter\x20in\x20SAYPHONETIC\x20(%s)\x20block','sayPhonetic','sendMail','Enter\x20in\x20SENDMAIL\x20(%s)\x20block','account_id','no\x20mail\x20account\x20configured','Smtp','no\x20mail\x20account\x20found','email','bcc','subject','host','port','secure','auth','user','template_id','sendMail\x20message','Trying\x20SendMail\x20with\x20account\x20%s','Mail\x20message\x20added\x20to\x20outgoing\x20process','SENDFAX\x20block\x20not\x20implemented','sendSMS','Enter\x20in\x20SENDSMS\x20(%s)\x20block','sms_account_id','no\x20sms\x20account\x20configured','no\x20sms\x20account\x20found','sms_text','sendSMS\x20message','createSmsMessage','set','no\x20variable\x20selected','start','Enter\x20in\x20START\x20(%s)\x20block','START\x20CALLY\x20SQUARE','yes','Answer','Skipped\x20Answer','Enter\x20in\x20SUBPROJECT\x20(%s)\x20block','project_id','no\x20subproject\x20found\x20with\x20id\x20%d','project\x20in\x20subproject\x20must\x20be\x20different\x20from\x20the\x20called\x20project','AGI','agi://%s/square,\x22%s\x22,\x22%s\x22','127.0.0.1','command','sh\x20command:\x20%s\x20result\x20on\x20variable:\x20%s','google_cloud_tts','no\x20apiKey\x20configured','Trying\x20Google\x20Cloud\x20TTS\x20%s','Google\x20Cloud\x20TTS\x20%s\x20file\x20created','Google\x20Cloud\x20TTS\x20is\x20unreachable','tts','Enter\x20in\x20GOOGLETTS\x20(%s)\x20block','Trying\x20Google\x20TTS\x20%s','Google\x20TTS\x20%s\x20file\x20created','Google\x20TTS\x20is\x20unreachable','unpause','Enter\x20in\x20UNPAUSE\x20(%s)\x20block','voicemail','Enter\x20in\x20VOICEMAIL\x20(%s)\x20block','VOICEMAIL','mailbox','vswitch','Enter\x20in\x20SWITCH\x20(%s)\x20block','replaceAll','exports','path','util','shelljs','odbc','randomstring','moment','mustache','../../config/logger','agi','../../config/environment','./scripts','/var/opt/motion2/server/files','rawHeaders','rawBody','menu','getdigits','getsecretdigits','rpc','mailRpc','prototype','getVariable','getVariableById','name','getVoiceQueue','getVoiceQueueById','then','getSquareProject','getSquareProjectById','catch','getSquareOdbcById','dsn','getUserById','getSound','getSoundById','getSoundPath','save_name','getMailAccount','getMailAccountById','sendMailMessage','getIntervalById','interval','map','Intervals','format','%s/sounds/converted/%s','getQueryOdbc','open','error','info','ODBC\x20connection\x20successfully','query','Query\x20executed\x20correctly\x20%s','close','getSmsAccount','getSmsAccountById','createSquareDetailsReport','uniqueid','label','agicommand','channel','arg_1','callerid','createSquareRecording','extension','priority','file','createSquareMessage','createCmContact','isNil','random','lastName','scheduledAt','Callback\x20scheduled\x20at\x20','toString','callback_priority','getPause','getPauseById','agentPause','agent','agentUnpause','agentLogout','agentLogin','internal','%s/%s@from-sip/n','LOCAL','shellCommand','exec','trim','googleCloudTTS','apiKey','google_cloud_tts_text_type','text','languageCode','en-US','ssmlGender','MALE','audioEncoding','MP3','googleTTS','google_tts_language','restAPI','url','method','timeout','number','includes','POST','toUpperCase','body','An\x20incorrect\x20formatted\x20json\x20body\x20has\x20been\x20passed\x20to\x20the\x20function','headers','parse','An\x20incorrect\x20formatted\x20json\x20headers\x20has\x20been\x20passed\x20to\x20the\x20function','computedVariables','sync','uri','render','stringify','An\x20incorrect\x20formatted\x20json\x20has\x20been\x20passed\x20to\x20the\x20function','statusCode','statusMessage','message','500\x20-\x20Internal\x20Server\x20Error','options','googleDialogflow','key','dialogflow_language','sestekNDA','ispeechTTS','ispeech_tts_language','speed','ispeechASR','ispeech_asr_language','isConfigured','model','awsPolly','aws_access_key_id','aws_polly_voice','aws_text_type','awsLex','aws_secret_access_key','aws_lex_region','aws_bot_name','googleASR','google_asr_language','tildeASR','appsecret','clear','clone','hasOwnProperty','isString','replaceObjectAllVariables','recursiveNodeIndex','isPlainObject','isArray','replaceAllVariables','saveRestApiResult','%s.%s','length','setVariable','split','getAndSetVariable','result','The\x20\x22%s\x22\x20variable\x20value\x20is:\x20%s','extra','maxRetry','retry','mrcpsynth','noop','MRCPSynth','Executed\x20command\x20MRCPSynth\x20%s','mrcprecog','Enter\x20in\x20MRCPRecog\x20(%s)\x20block','grammar','MRCPRecog','RECOG_CONFIDENCE()','MRCP_RECOG_CONFIDENCE','RECOG_INPUT()','MRCP_RECOG_TRANSCRIPT','RECOG_INSTANCE()','MRCP_RECOG_INSTANCE','Executed\x20command\x20MRCPRecog\x20%s','Enter\x20in\x20AGI\x20(%s)\x20block','args','answer','Enter\x20in\x20ANSWER\x20(%s)\x20block','Wait\x20%s\x20seconds\x20before\x20answer','wait','callback','Enter\x20in\x20CALLBACK\x20(%s)\x20block','delay','add','minutes','phone','list_id','custom_app','application','Executed\x20command\x20%s\x20%s','no\x20text\x20configured','Enter\x20in\x20SESTEKTTS\x20(%s)\x20block','lumenvoxasr','Enter\x20in\x20LUMENVOXASR\x20(%s)\x20block','no\x20grammar\x20configured','LUMENVOX_ASR_CONFIDENCE','LUMENVOX_ASR_TRANSCRIPT','LUMENVOX_ASR_INSTANCE','sestekasr','Enter\x20in\x20SESTEKASR\x20(%s)\x20block','Enter\x20in\x20DATABASE\x20(%s)\x20block','odbc_id','no\x20odbc\x20database\x20found','replace','query:\x20%s','no\x20variable\x20selected\x20for\x20the\x20result','variable_id','no\x20variable\x20found','forEach','keys','%s[%s][%s]','debug','sip_id','no\x20user\x20selected','getUser','no\x20user\x20found','Executed\x20command\x20%s','DIAL','dialogflow','Enter\x20in\x20DIALOGFLOW\x20(%s)\x20block','no\x20key\x20configured','bot','Trying\x20Dialogflow:\x20%s','DIALOGFLOW_%s','speech','Dialogflow\x20Result\x20%s','Dialogflow\x20is\x20unreachable','sesteknda','Enter\x20in\x20SESTEKNDA\x20(%s)\x20block','ndauth_url','no\x20ndauth\x20url\x20configured','no\x20username\x20configured','password','ndassistant_url','Trying\x20SestekNDA:\x20%s','SESTEK_NDA_%s','out','audiofile','Sestek\x20NDA\x20%s\x20file\x20created','streamFile','.wav','SestekNDA\x20Result\x20%s','Enter\x20in\x20END\x20(%s)\x20block','end','ext_dial','Enter\x20in\x20EXTERNAL\x20DIAL\x20(%s)\x20block','trunk_id','no\x20trunk\x20selected','no\x20trunk\x20found','trunk_name','SIP/%s/%s','opts','finally','Enter\x20in\x20FINALLY\x20(%s)\x20block','no\x20file\x20audio\x20selected','file_id','no\x20file\x20audio\x20found','maxdigit','test','mindigit','hiddendigitsnum','generate','hiddendigitspos','first','substr','Enter\x20in\x20GETSECRETDIGITS\x20(%s)\x20block','goal','Enter\x20in\x20GOAL\x20(%s)\x20block','GOAL\x20%s','goalname','awspolly','[AGI]\x20Enter\x20in\x20AWSPOLLY\x20(%s)\x20block','no\x20valid\x20credentials\x20configured','Trying\x20aws\x20Polly\x20%s','aws\x20Polly\x20%s\x20file\x20created','unlink','awslex','Enter\x20in\x20Amazon\x20Lex\x20(%s)\x20block','Trying\x20Amazon\x20Lex:\x20%s','AWS_LEX_%s','Amazon\x20Lex\x20ready\x20for\x20fulfillment','Amazon\x20Lex\x20is\x20unreachable','Enter\x20in\x20GOOGLEASR\x20(%s)\x20block\x20%s','wav','beep','intKey','google\x20%s\x20file\x20created','GOOGLE_ASR_%s','GoogleASR\x20Result\x20%s','tildeasr','Enter\x20in\x20TILDEASR\x20(%s)\x20block'];(function(_0x4eee80,_0x4a0b9a){var _0x10d6f0=function(_0x1ac511){while(--_0x1ac511){_0x4eee80['push'](_0x4eee80['shift']());}};_0x10d6f0(++_0x4a0b9a);}(_0x43d2,0x9a));var _0x243d=function(_0x5d880e,_0x52fb62){_0x5d880e=_0x5d880e-0x0;var _0x2dc29d=_0x43d2[_0x5d880e];return _0x2dc29d;};'use strict';var fs=require('fs');var path=require(_0x243d('0x0'));var util=require(_0x243d('0x1'));var _=require('lodash');var sh=require(_0x243d('0x2'));var odbc=require(_0x243d('0x3'))();var rs=require(_0x243d('0x4'));var moment=require(_0x243d('0x5'));var Mustache=require(_0x243d('0x6'));var rp=require('request-promise');var logger=require(_0x243d('0x7'))(_0x243d('0x8'));var config=require(_0x243d('0x9'));var scripts=require(_0x243d('0xa'));var FILES_PATH=_0x243d('0xb');var recursiveMapAttributes=[_0x243d('0xc'),_0x243d('0xd')];var verticesWithRetry=[_0x243d('0xe'),_0x243d('0xf'),_0x243d('0x10')];var AGIVertices=function(_0x1b18c8,_0x2f0684,_0x106a92){this['channel']=_0x1b18c8;this[_0x243d('0x11')]=_0x2f0684;this[_0x243d('0x12')]=_0x106a92;};AGIVertices[_0x243d('0x13')][_0x243d('0x14')]=function(_0x2ec426,_0x2ea116){this[_0x243d('0x11')][_0x243d('0x15')](_0x2ec426)['then'](function(_0x27cbbf){_0x2ea116(null,_0x27cbbf?_0x27cbbf[_0x243d('0x16')]:![]);})['catch'](function(_0x3d414f){_0x2ea116(_0x3d414f);});};AGIVertices[_0x243d('0x13')][_0x243d('0x17')]=function(_0x122c2b,_0x40b415){this[_0x243d('0x11')][_0x243d('0x18')](_0x122c2b)[_0x243d('0x19')](function(_0x468f1d){_0x40b415(null,_0x468f1d?_0x468f1d[_0x243d('0x16')]:![]);})['catch'](function(_0x450ab8){_0x40b415(_0x450ab8);});};AGIVertices[_0x243d('0x13')][_0x243d('0x1a')]=function(_0x57c32b,_0x15e8d7){this[_0x243d('0x11')][_0x243d('0x1b')](_0x57c32b)['then'](function(_0x286ba3){_0x15e8d7(null,_0x286ba3?_0x286ba3['name']:![]);})[_0x243d('0x1c')](function(_0x37f32f){_0x15e8d7(_0x37f32f);});};AGIVertices[_0x243d('0x13')]['getSquareOdbc']=function(_0x32437c,_0x485e20){this[_0x243d('0x11')][_0x243d('0x1d')](_0x32437c)[_0x243d('0x19')](function(_0x4bfd16){_0x485e20(null,_0x4bfd16?_0x4bfd16[_0x243d('0x1e')]:![]);})[_0x243d('0x1c')](function(_0x26858c){_0x485e20(_0x26858c);});};AGIVertices[_0x243d('0x13')]['getUser']=function(_0x2d7317,_0x67b008){this['rpc'][_0x243d('0x1f')](_0x2d7317)[_0x243d('0x19')](function(_0x54d801){_0x67b008(null,_0x54d801?_0x54d801[_0x243d('0x16')]:![]);})[_0x243d('0x1c')](function(_0xdbde4){_0x67b008(_0xdbde4);});};AGIVertices[_0x243d('0x13')]['getTrunk']=function(_0x4bb22e,_0x39e4f8){this['rpc']['getTrunkById'](_0x4bb22e)[_0x243d('0x19')](function(_0x2327d0){_0x39e4f8(null,_0x2327d0?_0x2327d0[_0x243d('0x16')]:![]);})['catch'](function(_0x23f859){_0x39e4f8(_0x23f859);});};AGIVertices[_0x243d('0x13')][_0x243d('0x20')]=function(_0x203df7,_0x5b9bcc){var _0x11736a=this;this[_0x243d('0x11')][_0x243d('0x21')](_0x203df7)[_0x243d('0x19')](function(_0x4a56c4){_0x5b9bcc(null,_0x4a56c4?_0x11736a[_0x243d('0x22')](_0x4a56c4[_0x243d('0x23')]):![]);})[_0x243d('0x1c')](function(_0x513978){_0x5b9bcc(_0x513978);});};AGIVertices['prototype'][_0x243d('0x24')]=function(_0x46dc41,_0x3f4377){this[_0x243d('0x11')][_0x243d('0x25')](_0x46dc41)[_0x243d('0x19')](function(_0x27fa17){_0x3f4377(null,_0x27fa17?_0x27fa17:![]);})[_0x243d('0x1c')](function(_0x15d523){_0x3f4377(_0x15d523);});};AGIVertices[_0x243d('0x13')]['sendMailMessage']=function(_0x262d02,_0x37d6fe,_0x30976b){this[_0x243d('0x12')][_0x243d('0x26')](_0x262d02,_0x37d6fe)[_0x243d('0x19')](function(){_0x30976b(null);})[_0x243d('0x1c')](function(_0x102d5b){_0x30976b(_0x102d5b);});};AGIVertices['prototype']['getIntervals']=function(_0x1df2ac,_0x2fb708){this[_0x243d('0x11')][_0x243d('0x27')](_0x1df2ac)[_0x243d('0x19')](function(_0x523605){if(_0x523605){if(_0x523605['IntervalId']){_0x2fb708(null,[_0x523605[_0x243d('0x28')]]);}else{_0x2fb708(null,_[_0x243d('0x29')](_0x523605[_0x243d('0x2a')],_0x243d('0x28')));}}else{_0x2fb708(null,![]);}})[_0x243d('0x1c')](function(_0x316183){_0x2fb708(_0x316183);});};AGIVertices[_0x243d('0x13')][_0x243d('0x22')]=function(_0x4f278a){return util[_0x243d('0x2b')](_0x243d('0x2c'),FILES_PATH,_0x4f278a);};AGIVertices['prototype'][_0x243d('0x2d')]=function(_0x192a30,_0x349e87,_0x250364){odbc[_0x243d('0x2e')](_0x192a30,function(_0x618be7){if(_0x618be7){logger[_0x243d('0x2f')]('Error\x20getting\x20ODBC\x20connection\x20%s',_0x618be7);_0x250364(_0x618be7);}else{logger[_0x243d('0x30')](_0x243d('0x31'));odbc[_0x243d('0x32')](_0x349e87,function(_0x583245,_0x5f1b07){if(_0x583245){logger[_0x243d('0x30')]('Error\x20executing\x20query\x20%s',_0x349e87);_0x250364(_0x583245);}else{logger['info'](_0x243d('0x33'),_0x349e87);odbc[_0x243d('0x34')](function(_0x45f373){if(_0x45f373){logger[_0x243d('0x2f')]('Error\x20closing\x20connection\x20to\x20odbc\x20%s',_0x45f373);}_0x250364(null,_0x5f1b07);});}});}});};AGIVertices[_0x243d('0x13')][_0x243d('0x35')]=function(_0x21f658,_0x3e2939){this['rpc'][_0x243d('0x36')](_0x21f658)['then'](function(_0x229d8d){_0x3e2939(null,_0x229d8d?_0x229d8d:![]);})[_0x243d('0x1c')](function(_0x58f0e4){_0x3e2939(_0x58f0e4);});};AGIVertices[_0x243d('0x13')]['createSmsMessage']=function(_0x91a783,_0x51958e){this[_0x243d('0x11')]['createSmsMessage'](_0x91a783)[_0x243d('0x19')](function(_0x3629d6){_0x51958e(null,_0x3629d6);})[_0x243d('0x1c')](function(_0x51416c){_0x51958e(_0x51416c);});};AGIVertices[_0x243d('0x13')][_0x243d('0x37')]=function(_0x1b633f,_0x3e4c96,_0x232e66){this[_0x243d('0x11')][_0x243d('0x37')]({'uniqueid':this['channel'][_0x243d('0x38')],'node':_0x1b633f[_0x243d('0x39')],'application':_0x1b633f[_0x243d('0x3a')],'data':_0x3e4c96||null,'project_name':this[_0x243d('0x3b')][_0x243d('0x3c')],'callerid':this[_0x243d('0x3b')][_0x243d('0x3d')]})[_0x243d('0x19')](function(_0x12949e){if(_0x232e66){_0x232e66(null,_0x12949e);}})[_0x243d('0x1c')](function(_0xd8692){if(_0x232e66){_0x232e66(_0xd8692);}});};AGIVertices['prototype'][_0x243d('0x3e')]=function(_0x1a59c1,_0x5b1731,_0x3728f1,_0x415106){this['rpc'][_0x243d('0x3e')]({'uniqueid':this[_0x243d('0x3b')][_0x243d('0x38')],'callerid':this[_0x243d('0x3b')][_0x243d('0x3d')],'calleridname':this[_0x243d('0x3b')]['calleridname'],'context':this[_0x243d('0x3b')]['context'],'extension':this[_0x243d('0x3b')][_0x243d('0x3f')],'priority':this[_0x243d('0x3b')][_0x243d('0x40')],'accountcode':this['channel']['accountcode'],'dnid':this[_0x243d('0x3b')]['dnid'],'projectName':this[_0x243d('0x3b')][_0x243d('0x3c')],'saveName':_0x5b1731,'filename':_0x1a59c1[_0x243d('0x41')]||_0x5b1731,'savePath':_0x3728f1})['then'](function(_0x2f72a5){_0x415106(null,_0x2f72a5);})[_0x243d('0x1c')](function(_0x5496ad){_0x415106(_0x5496ad);});};AGIVertices[_0x243d('0x13')][_0x243d('0x42')]=function(_0xda4786,_0x317afd,_0x221965){this[_0x243d('0x11')][_0x243d('0x42')]({'uniqueid':this['channel'][_0x243d('0x38')],'body':_0xda4786,'direction':_0x317afd})[_0x243d('0x19')](function(_0x557dec){if(_0x221965){_0x221965(null,_0x557dec);}})['catch'](function(_0x4f70a8){if(_0x221965){_0x221965(_0x4f70a8);}});};AGIVertices[_0x243d('0x13')][_0x243d('0x43')]=function(_0x36012c,_0x25b6a9){this['rpc'][_0x243d('0x43')]({'firstName':_['isEmpty'](_0x36012c[_0x243d('0x16')])||_[_0x243d('0x44')](_0x36012c[_0x243d('0x16')])?'callback_'+Math[_0x243d('0x45')]():_0x36012c['name'],'lastName':_['isEmpty'](_0x36012c['lastName'])||_[_0x243d('0x44')](_0x36012c[_0x243d('0x46')])?null:_0x36012c[_0x243d('0x46')],'phone':_0x36012c['phone'],'ListId':_0x36012c['list_id'],'scheduledat':_0x36012c[_0x243d('0x47')],'callbackUniqueid':this[_0x243d('0x3b')][_0x243d('0x38')],'tags':'callback','description':_0x243d('0x48')+_0x36012c['scheduledAt'][_0x243d('0x49')](),'priority':_0x36012c[_0x243d('0x4a')]})[_0x243d('0x19')](function(_0x3246b9){_0x25b6a9(null,_0x3246b9);})[_0x243d('0x1c')](function(_0x44348d){_0x25b6a9(_0x44348d);});};AGIVertices[_0x243d('0x13')][_0x243d('0x4b')]=function(_0x2c74d5,_0x5b51c8){this['rpc'][_0x243d('0x4c')](_0x2c74d5)['then'](function(_0x5a0c4e){_0x5b51c8(null,_0x5a0c4e?_0x5a0c4e['name']:![]);})['catch'](function(_0x4a452e){_0x5b51c8(_0x4a452e);});};AGIVertices[_0x243d('0x13')][_0x243d('0x4d')]=function(_0x470a91,_0x53a28d,_0x812480){var _0x504b84={'role':_0x243d('0x4e')};_0x504b84[_0x470a91]=this[_0x243d('0x3b')]['callerid'];this[_0x243d('0x11')]['agentPause'](_0x504b84,_0x53a28d,this[_0x243d('0x3b')][_0x243d('0x38')])['then'](function(_0x5d7c8b){_0x812480(null,_['isNil'](_0x5d7c8b)?![]:!![]);})[_0x243d('0x1c')](function(_0x36c90c){logger['error'](_0x36c90c);_0x812480(null,![]);});};AGIVertices['prototype'][_0x243d('0x4f')]=function(_0x5b4441,_0x47dbda){var _0x4f38a0={'role':_0x243d('0x4e')};_0x4f38a0[_0x5b4441]=this[_0x243d('0x3b')][_0x243d('0x3d')];this[_0x243d('0x11')]['agentUnpause'](_0x4f38a0)[_0x243d('0x19')](function(_0x49a80f){_0x47dbda(null,_[_0x243d('0x44')](_0x49a80f)?![]:!![]);})['catch'](function(_0x2bdd23){logger['error'](_0x2bdd23);_0x47dbda(null,![]);});};AGIVertices[_0x243d('0x13')][_0x243d('0x50')]=function(_0x53c707,_0x1362b5){var _0x1f4845={'role':'agent'};_0x1f4845[_0x53c707]=this[_0x243d('0x3b')]['callerid'];this['rpc'][_0x243d('0x50')](_0x1f4845)[_0x243d('0x19')](function(_0x17e200){_0x1362b5(null,_[_0x243d('0x44')](_0x17e200)?![]:!![]);})[_0x243d('0x1c')](function(_0x2e9d71){logger['error'](_0x2e9d71);_0x1362b5(null,![]);});};AGIVertices['prototype'][_0x243d('0x51')]=function(_0x68465d,_0x4fc0e0){var _0x1ffbdc={'role':_0x243d('0x4e')};_0x1ffbdc[_0x68465d]=this['channel']['callerid'];var _0x137161=_0x68465d!=_0x243d('0x52')?util[_0x243d('0x2b')](_0x243d('0x53'),_0x243d('0x54'),this[_0x243d('0x3b')][_0x243d('0x3d')]):undefined;this[_0x243d('0x11')][_0x243d('0x51')](_0x1ffbdc,_0x137161)[_0x243d('0x19')](function(_0x2b1395){_0x4fc0e0(null,_[_0x243d('0x44')](_0x2b1395)?![]:!![]);})[_0x243d('0x1c')](function(_0x37a9b1){logger['error'](_0x37a9b1);_0x4fc0e0(null,![]);});};AGIVertices['prototype'][_0x243d('0x55')]=function(_0xe6a35,_0x52d5b6){sh[_0x243d('0x56')](_[_0x243d('0x57')](_0xe6a35),function(_0x4dc292,_0x1e4379){var _0x2c8278=_0x1e4379['replace'](/(\r\n|\n|\r)/gm,'');_0x52d5b6(null,_0x2c8278);});};AGIVertices[_0x243d('0x13')]['googleCloudTTS']=function(_0x5977b3,_0x16d1cb){scripts[_0x243d('0x58')](_0x5977b3[_0x243d('0x59')],_0x5977b3[_0x243d('0x5a')]||_0x243d('0x5b'),_0x5977b3[_0x243d('0x5b')],_0x5977b3[_0x243d('0x5c')]||_0x243d('0x5d'),_0x5977b3[_0x243d('0x5e')]||_0x243d('0x5f'),_0x5977b3[_0x243d('0x60')]||_0x243d('0x61'))[_0x243d('0x19')](function(_0x2ba5e9){_0x16d1cb(null,_0x2ba5e9);})['catch'](function(_0x290dc5){_0x16d1cb(_0x290dc5);});};AGIVertices[_0x243d('0x13')][_0x243d('0x62')]=function(_0x5e45a1,_0x5657b9){scripts[_0x243d('0x62')](_0x5e45a1[_0x243d('0x5b')],_0x5e45a1[_0x243d('0x63')]||'en',0x1)[_0x243d('0x19')](function(_0x8f28d9){_0x5657b9(null,_0x8f28d9);})[_0x243d('0x1c')](function(_0x4e6c50){_0x5657b9(_0x4e6c50);});};AGIVertices[_0x243d('0x13')][_0x243d('0x64')]=function(_0x1ac2cc,_0x5241d0){var _0x4504f7={'uri':_0x1ac2cc[_0x243d('0x65')],'method':_0x1ac2cc[_0x243d('0x66')],'json':!![],'resolveWithFullResponse':!![],'timeout':typeof parseInt(_0x1ac2cc[_0x243d('0x67')])===_0x243d('0x68')&&parseInt(_0x1ac2cc[_0x243d('0x67')])>=0x1?parseInt(_0x1ac2cc[_0x243d('0x67')])*0x3e8:0x5*0x3e8};if(_[_0x243d('0x69')]([_0x243d('0x6a'),'PUT'],_0x4504f7[_0x243d('0x66')][_0x243d('0x6b')]())){try{_0x4504f7[_0x243d('0x6c')]=_0x1ac2cc[_0x243d('0xd')]?JSON['parse'](_0x1ac2cc[_0x243d('0xd')]):{};}catch(_0x15282c){logger[_0x243d('0x2f')](_0x243d('0x6d'),_0x15282c);}}try{_0x4504f7[_0x243d('0x6e')]=_0x1ac2cc['rawHeaders']?JSON[_0x243d('0x6f')](_0x1ac2cc['rawHeaders']):{};}catch(_0x8547de){logger[_0x243d('0x2f')](_0x243d('0x70'),_0x8547de);}if(_0x1ac2cc[_0x243d('0x71')]){try{var _0x5b3eb6=require(_0x1ac2cc[_0x243d('0x71')])[_0x243d('0x72')](this,_0x4504f7);_0x4504f7[_0x243d('0x73')]=Mustache[_0x243d('0x74')](_0x1ac2cc[_0x243d('0x65')],_0x5b3eb6,{},['$$','$$']);if(_0x4504f7[_0x243d('0x6e')]){_0x4504f7[_0x243d('0x6e')]=JSON[_0x243d('0x6f')](Mustache[_0x243d('0x74')](JSON[_0x243d('0x75')](_0x4504f7[_0x243d('0x6e')]),_0x5b3eb6,{},['$$','$$']));}if(_0x4504f7[_0x243d('0x6c')]){_0x4504f7[_0x243d('0x6c')]=JSON['parse'](Mustache[_0x243d('0x74')](JSON['stringify'](_0x4504f7[_0x243d('0x6c')]),_0x5b3eb6,{},['$$','$$']));}}catch(_0x224989){logger['error'](_0x243d('0x76'),_0x224989);}}rp(_0x4504f7)[_0x243d('0x19')](function(_0x27509e){var _0x1dba1b={'statusCode':_0x27509e[_0x243d('0x77')]||0xc8,'statusMessage':_0x27509e[_0x243d('0x78')]||'OK','headers':_0x27509e[_0x243d('0x6e')]||{},'body':_0x27509e['body']||{}};_0x5241d0(null,_0x1dba1b);})[_0x243d('0x1c')](function(_0x28e156){var _0x5f23e5={'statusCode':_0x28e156['statusCode']||0x1f4,'statusMessage':_0x28e156[_0x243d('0x79')]||_0x243d('0x7a'),'headers':_0x28e156[_0x243d('0x7b')][_0x243d('0x6e')]||{},'body':_0x28e156[_0x243d('0x7b')][_0x243d('0x6c')]||{}};_0x5241d0(null,_0x5f23e5);});};AGIVertices[_0x243d('0x13')]['googleDialogflow']=function(_0x4db5e0,_0x5377a6){scripts[_0x243d('0x7c')](this[_0x243d('0x3b')][_0x243d('0x38')],_0x4db5e0[_0x243d('0x7d')],_0x4db5e0['text'],_0x4db5e0[_0x243d('0x7e')]||'en')[_0x243d('0x19')](function(_0x3e539a){_0x5377a6(null,_0x3e539a);})[_0x243d('0x1c')](function(_0x4a3c0c){_0x5377a6(_0x4a3c0c);});};AGIVertices[_0x243d('0x13')][_0x243d('0x7f')]=function(_0x3d2087,_0x4173c7){scripts[_0x243d('0x7f')](this[_0x243d('0x3b')],_0x3d2087)[_0x243d('0x19')](function(_0x29416d){_0x4173c7(null,_0x29416d);})['catch'](function(_0x53d75b){_0x4173c7(_0x53d75b);});};AGIVertices['prototype'][_0x243d('0x80')]=function(_0x4767ad,_0xb94f64){scripts['ispeechTTS'](_0x4767ad['key'],_0x4767ad['text'],_0x4767ad[_0x243d('0x81')]||_0x243d('0x5d'),_0x4767ad[_0x243d('0x82')])[_0x243d('0x19')](function(_0x1e8c6f){_0xb94f64(null,_0x1e8c6f);})['catch'](function(_0x1716d6){_0xb94f64(_0x1716d6);});};AGIVertices[_0x243d('0x13')][_0x243d('0x83')]=function(_0xda0216,_0x331b62,_0x1a216b){scripts[_0x243d('0x83')](_0x331b62,_0xda0216[_0x243d('0x7d')],_0xda0216[_0x243d('0x84')]||'en-US',this[_0x243d('0x85')](_0xda0216[_0x243d('0x86')])?_0xda0216[_0x243d('0x86')]:undefined)['then'](function(_0x2e7785){_0x1a216b(null,_0x2e7785);})[_0x243d('0x1c')](function(_0x4fb9b8){_0x1a216b(_0x4fb9b8);});};AGIVertices[_0x243d('0x13')][_0x243d('0x87')]=function(_0x3ead5e,_0x51e004){scripts[_0x243d('0x87')](_0x3ead5e[_0x243d('0x88')],_0x3ead5e['aws_secret_access_key'],_0x3ead5e['aws_polly_region'],_0x3ead5e[_0x243d('0x89')]||'Amy',_0x3ead5e[_0x243d('0x5b')],_0x3ead5e[_0x243d('0x8a')]||_0x243d('0x5b'))[_0x243d('0x19')](function(_0xf62be2){_0x51e004(null,_0xf62be2);})[_0x243d('0x1c')](function(_0x19d782){_0x51e004(_0x19d782);});};AGIVertices['prototype'][_0x243d('0x8b')]=function(_0x2996ae,_0x448446){scripts[_0x243d('0x8b')](this[_0x243d('0x3b')][_0x243d('0x38')],_0x2996ae[_0x243d('0x88')],_0x2996ae[_0x243d('0x8c')],_0x2996ae[_0x243d('0x8d')],_0x2996ae[_0x243d('0x5b')],_0x2996ae[_0x243d('0x8e')])['then'](function(_0x3fc448){_0x448446(null,_0x3fc448);})[_0x243d('0x1c')](function(_0x243385){_0x448446(_0x243385);});};AGIVertices[_0x243d('0x13')][_0x243d('0x8f')]=function(_0x14d284,_0x368647,_0x48504b){scripts[_0x243d('0x8f')](_0x368647,_0x14d284[_0x243d('0x7d')],_0x14d284[_0x243d('0x90')]||_0x243d('0x5d'))[_0x243d('0x19')](function(_0x2b7d5d){_0x48504b(null,_0x2b7d5d);})[_0x243d('0x1c')](function(_0x291d91){_0x48504b(_0x291d91);});};AGIVertices['prototype']['tildeASR']=function(_0x336870,_0x54467a,_0x150abb){scripts[_0x243d('0x91')](_0x54467a,_0x336870['appid'],_0x336870[_0x243d('0x92')],_0x336870[_0x243d('0x73')])[_0x243d('0x19')](function(_0x772709){_0x150abb(null,_0x772709);})['catch'](function(_0x3ba800){_0x150abb(_0x3ba800);});};AGIVertices['prototype'][_0x243d('0x93')]=function(_0x300377){var _0x501efb=_[_0x243d('0x69')](verticesWithRetry,_0x300377[_0x243d('0x3a')])?_0x300377:_[_0x243d('0x94')](_0x300377);for(var _0x35cc4b in _0x501efb){if(_0x501efb[_0x243d('0x95')](_0x35cc4b)){if(_0x501efb[_0x35cc4b]&&_[_0x243d('0x96')](_0x501efb[_0x35cc4b])){if(_[_0x243d('0x69')](recursiveMapAttributes,_0x35cc4b)){_0x501efb[_0x35cc4b]=this[_0x243d('0x97')](_0x501efb[_0x35cc4b]);}else{_0x501efb[_0x35cc4b]=this['replaceAllVariables'](_0x501efb[_0x35cc4b]);}}}}return _0x501efb;};AGIVertices['prototype'][_0x243d('0x98')]=function(_0x37ea4d){for(var _0x1f5e13 in _0x37ea4d){if(_0x37ea4d[_0x243d('0x95')](_0x1f5e13)){if(_[_0x243d('0x99')](_0x37ea4d[_0x1f5e13])){this[_0x243d('0x98')](_0x37ea4d[_0x1f5e13]);}else if(_[_0x243d('0x9a')](_0x37ea4d[_0x1f5e13])){for(var _0x41e76d=0x0;_0x41e76d<_0x37ea4d[_0x1f5e13]['length'];_0x41e76d++){this[_0x243d('0x98')](_0x37ea4d[_0x1f5e13][_0x41e76d]);}}else if(_['isString'](_0x37ea4d[_0x1f5e13])){_0x37ea4d[_0x1f5e13]=this[_0x243d('0x9b')](_0x37ea4d[_0x1f5e13]);}}}};AGIVertices['prototype'][_0x243d('0x9c')]=function(_0x5320f6,_0x29ed08){for(var _0x1a2a45 in _0x5320f6){if(_0x5320f6[_0x243d('0x95')](_0x1a2a45)){if(_[_0x243d('0x99')](_0x5320f6[_0x1a2a45])){if(!_['isEmpty'](_0x5320f6[_0x1a2a45])){this['saveRestApiResult'](_0x5320f6[_0x1a2a45],util[_0x243d('0x2b')](_0x243d('0x9d'),_0x29ed08,_0x1a2a45));}}else if(_[_0x243d('0x9a')](_0x5320f6[_0x1a2a45])){for(var _0x4c00f4=0x0;_0x4c00f4<_0x5320f6[_0x1a2a45][_0x243d('0x9e')];_0x4c00f4++){this[_0x243d('0x9c')](_0x5320f6[_0x1a2a45][_0x4c00f4],util[_0x243d('0x2b')]('%s.%s',_0x29ed08,_0x1a2a45+'['+_0x4c00f4+']'));}}else{if(!_[_0x243d('0x44')](_0x5320f6[_0x1a2a45])){this[_0x243d('0x3b')][_0x243d('0x9f')](util[_0x243d('0x2b')]('%s.%s',_0x29ed08,_0x1a2a45),_0x5320f6[_0x1a2a45]);}}}}};AGIVertices[_0x243d('0x13')][_0x243d('0x97')]=function(_0x20a560){try{var _0x2f2ec8=JSON['parse'](_0x20a560);this[_0x243d('0x98')](_0x2f2ec8);return JSON[_0x243d('0x75')](_0x2f2ec8);}catch(_0x1cf60f){return this[_0x243d('0x9b')](_0x20a560);}};AGIVertices['prototype'][_0x243d('0x9b')]=function(_0x920c2d){var _0x1cc09d=_0x920c2d[_0x243d('0xa0')]('{');for(var _0x1c3c9e=0x1;_0x1c3c9e<_0x1cc09d['length'];_0x1c3c9e+=0x1){var _0x5dbfc7=_0x1cc09d[_0x1c3c9e][_0x243d('0xa0')]('}');if(_0x5dbfc7[_0x243d('0x9e')]>0x1){_0x920c2d=_0x920c2d['replaceAll']('{'+_0x5dbfc7[0x0]+'}',this[_0x243d('0x3b')]['getVariable'](_0x5dbfc7[0x0])['extra']||_0x5dbfc7[0x0]);}}if(_0x1cc09d[_0x243d('0x9e')]===0x1){return _0x920c2d[_0x243d('0x49')]();}return this[_0x243d('0x9b')](_0x920c2d);};AGIVertices['prototype'][_0x243d('0xa1')]=function(_0x3905b8,_0x5da57d){var _0x71a464=this['channel'][_0x243d('0x14')](_0x3905b8);if(_0x71a464[_0x243d('0xa2')]===-0x1){return _0x71a464;}logger[_0x243d('0x30')](util[_0x243d('0x2b')](_0x243d('0xa3'),_0x5da57d,_0x71a464[_0x243d('0xa4')]));return this[_0x243d('0x3b')]['setVariable'](_0x5da57d,_0x71a464[_0x243d('0xa4')]);};AGIVertices[_0x243d('0x13')][_0x243d('0x85')]=function(_0x2fd9e4){return _0x2fd9e4&&_0x2fd9e4!=='0'&&_0x2fd9e4!=='-1'&&_0x2fd9e4!=='';};AGIVertices['prototype'][_0x243d('0xa5')]=function(_0x5c6094){this[_0x243d('0x37')][_0x243d('0x72')](this,_0x5c6094,'-');_0x5c6094[_0x243d('0xa6')]=_0x5c6094[_0x243d('0xa5')];return{'code':0xc8,'result':'-'};};AGIVertices[_0x243d('0x13')][_0x243d('0xa7')]=function(_0x34cdca){logger[_0x243d('0x30')](util[_0x243d('0x2b')]('Enter\x20in\x20MRCPSynth\x20(%s)\x20block',_0x34cdca[_0x243d('0x39')]));if(!this[_0x243d('0x85')](_0x34cdca[_0x243d('0x5b')])){return this[_0x243d('0x3b')][_0x243d('0xa8')]('no\x20text\x20configured');}var _0x70baaa='\x22'+_0x34cdca['text']+'\x22';if(this['isConfigured'](_0x34cdca['options'])){_0x70baaa+=','+_0x34cdca[_0x243d('0x7b')];}var _0x355cda=this['channel'][_0x243d('0x56')](_0x243d('0xa9'),_0x70baaa);if(_0x355cda[_0x243d('0xa2')]===-0x1){return _0x355cda;}return this[_0x243d('0x3b')][_0x243d('0xa8')](util[_0x243d('0x2b')](_0x243d('0xaa'),_0x70baaa));};AGIVertices[_0x243d('0x13')][_0x243d('0xab')]=function(_0x20fd83){logger[_0x243d('0x30')](util[_0x243d('0x2b')](_0x243d('0xac'),_0x20fd83['label']));if(!this[_0x243d('0x85')](_0x20fd83[_0x243d('0xad')])){return this[_0x243d('0x3b')]['noop']('no\x20grammar\x20configured');}var _0xf453b4=_0x20fd83[_0x243d('0xad')];if(this[_0x243d('0x85')](_0x20fd83[_0x243d('0x7b')])){_0xf453b4+=','+_0x20fd83[_0x243d('0x7b')];}var _0x27014c=this[_0x243d('0x3b')][_0x243d('0x56')](_0x243d('0xae'),_0xf453b4);if(_0x27014c[_0x243d('0xa2')]===-0x1){return _0x27014c;}var _0x27f366=this['getAndSetVariable'](_0x243d('0xaf'),_0x243d('0xb0'));if(_0x27f366[_0x243d('0xa2')]===-0x1){return _0x27f366;}var _0x4a29d=this[_0x243d('0xa1')](_0x243d('0xb1'),_0x243d('0xb2'));if(_0x4a29d[_0x243d('0xa2')]===-0x1){return _0x4a29d;}var _0x185221=this['getAndSetVariable'](_0x243d('0xb3'),_0x243d('0xb4'));if(_0x185221[_0x243d('0xa2')]===-0x1){return _0x185221;}return this[_0x243d('0x3b')][_0x243d('0xa8')](util[_0x243d('0x2b')](_0x243d('0xb5'),_0xf453b4));};AGIVertices[_0x243d('0x13')][_0x243d('0x8')]=function(_0x496c2d){logger[_0x243d('0x30')](util[_0x243d('0x2b')](_0x243d('0xb6'),_0x496c2d[_0x243d('0x39')]));return this[_0x243d('0x3b')][_0x243d('0x8')]([_0x496c2d['command'],_0x496c2d[_0x243d('0xb7')]]);};AGIVertices[_0x243d('0x13')][_0x243d('0xb8')]=function(_0x446eec){logger[_0x243d('0x30')](util['format'](_0x243d('0xb9'),_0x446eec[_0x243d('0x39')]));if(this[_0x243d('0x85')](_0x446eec[_0x243d('0x67')])){logger['info'](util['format'](_0x243d('0xba'),_0x446eec['timeout']));var _0x1233d5=this[_0x243d('0x3b')][_0x243d('0xbb')](_0x446eec[_0x243d('0x67')]);if(_0x1233d5['result']===-0x1){return _0x1233d5;}}return this[_0x243d('0x3b')][_0x243d('0xb8')]();};AGIVertices[_0x243d('0x13')][_0x243d('0xbc')]=function(_0x5f3379){logger[_0x243d('0x30')](util[_0x243d('0x2b')](_0x243d('0xbd'),_0x5f3379[_0x243d('0x39')]));if(!this[_0x243d('0x85')](_0x5f3379['list_id'])){return this[_0x243d('0x3b')][_0x243d('0x2f')](_0x5f3379,'no\x20list\x20selected');}_0x5f3379[_0x243d('0x47')]=moment();if(this[_0x243d('0x85')](_0x5f3379[_0x243d('0xbe')])){_0x5f3379[_0x243d('0x47')]=moment()[_0x243d('0xbf')](_0x5f3379['delay'],_0x243d('0xc0'));}if(!this[_0x243d('0x85')](_0x5f3379[_0x243d('0x4a')])){_0x5f3379['callback_priority']=0x2;}this[_0x243d('0x43')][_0x243d('0x72')](this,_0x5f3379);return this[_0x243d('0x3b')]['noop'](util[_0x243d('0x2b')]('CALLBACK\x20added\x20phone:\x20%s\x20on\x20list:\x20%s\x20at\x20%s',_0x5f3379[_0x243d('0xc1')],_0x5f3379[_0x243d('0xc2')],_0x5f3379[_0x243d('0x47')]));};AGIVertices[_0x243d('0x13')][_0x243d('0xc3')]=function(_0x34d745){logger[_0x243d('0x30')](util[_0x243d('0x2b')]('Enter\x20in\x20CUSTOM\x20APP\x20(%s)\x20block',_0x34d745['label']));var _0x5bb719=this[_0x243d('0x3b')]['exec'](_0x34d745[_0x243d('0xc4')],_0x34d745['options']);if(_0x5bb719['result']===-0x1){return _0x5bb719;}return this[_0x243d('0x3b')][_0x243d('0xa8')](util[_0x243d('0x2b')](_0x243d('0xc5'),_0x34d745['application'],_0x34d745[_0x243d('0x7b')]));};AGIVertices['prototype']['lumenvoxtts']=function(_0x1024a7){logger[_0x243d('0x30')](util[_0x243d('0x2b')]('Enter\x20in\x20LUMENVOXTTS\x20(%s)\x20block',_0x1024a7[_0x243d('0x39')]));if(!this['isConfigured'](_0x1024a7[_0x243d('0x5b')])){return this[_0x243d('0x3b')][_0x243d('0xa8')](_0x243d('0xc6'));}var _0x2c0961='\x22'+_0x1024a7[_0x243d('0x5b')]+'\x22';if(this[_0x243d('0x85')](_0x1024a7['options'])){_0x2c0961+=','+_0x1024a7[_0x243d('0x7b')];}var _0x276fa6=this[_0x243d('0x3b')][_0x243d('0x56')](_0x243d('0xa9'),_0x2c0961);if(_0x276fa6[_0x243d('0xa2')]===-0x1){return _0x276fa6;}return this[_0x243d('0x3b')][_0x243d('0xa8')](util[_0x243d('0x2b')](_0x243d('0xaa'),_0x2c0961));};AGIVertices['prototype']['sestektts']=function(_0x137481){logger[_0x243d('0x30')](util[_0x243d('0x2b')](_0x243d('0xc7'),_0x137481[_0x243d('0x39')]));if(!this['isConfigured'](_0x137481['text'])){return this[_0x243d('0x3b')][_0x243d('0xa8')](_0x243d('0xc6'));}var _0x14684c='\x22'+_0x137481[_0x243d('0x5b')]+'\x22';if(this[_0x243d('0x85')](_0x137481[_0x243d('0x7b')])){_0x14684c+=','+_0x137481['options'];}var _0xb26943=this[_0x243d('0x3b')][_0x243d('0x56')](_0x243d('0xa9'),_0x14684c);if(_0xb26943[_0x243d('0xa2')]===-0x1){return _0xb26943;}return this['channel'][_0x243d('0xa8')](util['format'](_0x243d('0xaa'),_0x14684c));};AGIVertices['prototype'][_0x243d('0xc8')]=function(_0x38c830){logger['info'](util['format'](_0x243d('0xc9'),_0x38c830[_0x243d('0x39')]));if(!this[_0x243d('0x85')](_0x38c830['grammar'])){return this[_0x243d('0x3b')]['noop'](_0x243d('0xca'));}var _0x1fc12a=_0x38c830[_0x243d('0xad')];if(this[_0x243d('0x85')](_0x38c830[_0x243d('0x7b')])){_0x1fc12a+=','+_0x38c830[_0x243d('0x7b')];}var _0x4030cf=this[_0x243d('0x3b')][_0x243d('0x56')](_0x243d('0xae'),_0x1fc12a);if(_0x4030cf['result']===-0x1){return _0x4030cf;}var _0x4f1801=this[_0x243d('0xa1')](_0x243d('0xaf'),_0x243d('0xcb'));if(_0x4f1801[_0x243d('0xa2')]===-0x1){return _0x4f1801;}var _0x426a6e=this[_0x243d('0xa1')]('RECOG_INPUT()',_0x243d('0xcc'));if(_0x426a6e[_0x243d('0xa2')]===-0x1){return _0x426a6e;}var _0x3ebb11=this[_0x243d('0xa1')](_0x243d('0xb3'),_0x243d('0xcd'));if(_0x3ebb11[_0x243d('0xa2')]===-0x1){return _0x3ebb11;}return this[_0x243d('0x3b')][_0x243d('0xa8')](util['format'](_0x243d('0xb5'),_0x1fc12a));};AGIVertices[_0x243d('0x13')][_0x243d('0xce')]=function(_0x2d7158){logger[_0x243d('0x30')](util['format'](_0x243d('0xcf'),_0x2d7158[_0x243d('0x39')]));if(!this['isConfigured'](_0x2d7158[_0x243d('0xad')])){return this['channel'][_0x243d('0xa8')]('no\x20grammar\x20configured');}var _0x284815=_0x2d7158[_0x243d('0xad')];if(this[_0x243d('0x85')](_0x2d7158['options'])){_0x284815+=','+_0x2d7158['options'];}var _0x4496a0=this[_0x243d('0x3b')]['exec'](_0x243d('0xae'),_0x284815);if(_0x4496a0[_0x243d('0xa2')]===-0x1){return _0x4496a0;}var _0x5882d6=this[_0x243d('0xa1')](_0x243d('0xaf'),'SESTEK_ASR_CONFIDENCE');if(_0x5882d6[_0x243d('0xa2')]===-0x1){return _0x5882d6;}var _0x579897=this['getAndSetVariable']('RECOG_INPUT()','SESTEK_ASR_TRANSCRIPT');if(_0x579897['result']===-0x1){return _0x579897;}var _0x2726e8=this['getAndSetVariable'](_0x243d('0xb3'),'SESTEK_ASR_INSTANCE');if(_0x2726e8['result']===-0x1){return _0x2726e8;}return this[_0x243d('0x3b')][_0x243d('0xa8')](util[_0x243d('0x2b')]('Executed\x20command\x20MRCPRecog\x20%s',_0x284815));};AGIVertices[_0x243d('0x13')]['database']=function(_0x79b65){logger[_0x243d('0x30')](util[_0x243d('0x2b')](_0x243d('0xd0'),_0x79b65[_0x243d('0x39')]));if(!this[_0x243d('0x85')](_0x79b65[_0x243d('0xd1')])){return this[_0x243d('0x3b')][_0x243d('0x2f')](_0x79b65,'no\x20database\x20selected');}var _0x416fd7=this['getSquareOdbc'][_0x243d('0x72')](this,_0x79b65['odbc_id']);if(!_0x416fd7){return this[_0x243d('0x3b')][_0x243d('0x2f')](_0x79b65,_0x243d('0xd2'));}if(!this[_0x243d('0x85')](_0x79b65[_0x243d('0x32')])){return this[_0x243d('0x3b')][_0x243d('0x2f')](_0x79b65,'no\x20query\x20configured');}var _0x33b7e3=_0x79b65[_0x243d('0x32')][_0x243d('0xd3')](/(\r\n|\n|\r)/gm,'\x20');this[_0x243d('0x3b')][_0x243d('0xa8')](util[_0x243d('0x2b')](_0x243d('0xd4'),_0x33b7e3));var _0x2fed29=this[_0x243d('0x2d')][_0x243d('0x72')](this,_0x416fd7,_0x33b7e3);this[_0x243d('0x37')][_0x243d('0x72')](this,_0x79b65,_0x33b7e3);if(!this[_0x243d('0x85')](_0x79b65['variable_id'])){return this[_0x243d('0x3b')][_0x243d('0xa8')](_0x243d('0xd5'));}var _0x3f67ec=this['getVariable'][_0x243d('0x72')](this,_0x79b65[_0x243d('0xd6')]);if(!_0x3f67ec){return this[_0x243d('0x3b')][_0x243d('0x2f')](_0x79b65,_0x243d('0xd7'));}var _0x456b24=this;_0x2fed29[_0x243d('0xd8')](function(_0x1d2a79,_0x5530d0){Object[_0x243d('0xd9')](_0x1d2a79)[_0x243d('0xd8')](function(_0x2ae878){_0x456b24[_0x243d('0x3b')][_0x243d('0x9f')](util[_0x243d('0x2b')](_0x243d('0xda'),_0x3f67ec,_0x5530d0,_0x2ae878),_0x1d2a79[_0x2ae878]);});});this['channel'][_0x243d('0x9f')](util[_0x243d('0x2b')]('%s_ROWS_COUNT',_0x3f67ec),_0x2fed29[_0x243d('0x9e')]);return this['channel'][_0x243d('0xa8')](util[_0x243d('0x2b')]('variable\x20%s\x20set',_0x3f67ec));};AGIVertices['prototype']['dial']=function(_0x4ba39d){logger[_0x243d('0xdb')](util[_0x243d('0x2b')]('Enter\x20in\x20DIAL\x20(%s)\x20block',_0x4ba39d[_0x243d('0x39')]));if(!this[_0x243d('0x85')](_0x4ba39d[_0x243d('0xdc')])){return this[_0x243d('0x3b')][_0x243d('0x2f')](_0x4ba39d,_0x243d('0xdd'));}var _0x16f856=this[_0x243d('0xde')]['sync'](this,_0x4ba39d[_0x243d('0xdc')]);if(!_0x16f856){return this['channel'][_0x243d('0x2f')](_0x4ba39d,_0x243d('0xdf'));}var _0x8efca6=this[_0x243d('0x3b')][_0x243d('0x56')]('DIAL',[util['format']('SIP/%s',_0x16f856),_0x4ba39d['timeout'],_0x4ba39d['opts'],_0x4ba39d[_0x243d('0x65')]]);if(_0x8efca6['result']===-0x1){return _0x8efca6;}return this['channel']['noop'](util['format'](_0x243d('0xe0'),_0x243d('0xe1')));};AGIVertices[_0x243d('0x13')][_0x243d('0xe2')]=function(_0xfd50d3){logger['info'](util[_0x243d('0x2b')](_0x243d('0xe3'),_0xfd50d3[_0x243d('0x39')]));if(!this[_0x243d('0x85')](_0xfd50d3[_0x243d('0x7d')])){return this['channel']['noop'](_0x243d('0xe4'));}if(!this['isConfigured'](_0xfd50d3[_0x243d('0x5b')])){return this[_0x243d('0x3b')]['noop']('no\x20text\x20configured');}this[_0x243d('0x3b')][_0x243d('0xe5')]=!![];this[_0x243d('0x37')](_0xfd50d3);this[_0x243d('0x42')](_0xfd50d3[_0x243d('0x5b')],'in');this['channel'][_0x243d('0xa8')](util[_0x243d('0x2b')](_0x243d('0xe6'),_0xfd50d3[_0x243d('0x5b')]));var _0x323855=this[_0x243d('0x7c')][_0x243d('0x72')](this,_0xfd50d3);if(_0x323855){for(var _0xd2b6b1 in _0x323855){if(_0x323855[_0x243d('0x95')](_0xd2b6b1)){this[_0x243d('0x3b')][_0x243d('0x9f')](util[_0x243d('0x2b')](_0x243d('0xe7'),_0xd2b6b1['toUpperCase']()),_0x323855[_0xd2b6b1]);}}this[_0x243d('0x42')](_0x323855[_0x243d('0xe8')],'out');return this[_0x243d('0x3b')]['noop'](util[_0x243d('0x2b')](_0x243d('0xe9'),_0x323855[_0x243d('0xe8')]));}return this['channel'][_0x243d('0x2f')](_0xfd50d3,_0x243d('0xea'));};AGIVertices['prototype'][_0x243d('0xeb')]=function(_0x6ca22c){logger['info'](util[_0x243d('0x2b')](_0x243d('0xec'),_0x6ca22c[_0x243d('0x39')]));if(!this[_0x243d('0x85')](_0x6ca22c[_0x243d('0xed')])){return this[_0x243d('0x3b')][_0x243d('0xa8')](_0x243d('0xee'));}if(!this['isConfigured'](_0x6ca22c['username'])){return this[_0x243d('0x3b')][_0x243d('0xa8')](_0x243d('0xef'));}if(!this[_0x243d('0x85')](_0x6ca22c[_0x243d('0xf0')])){return this[_0x243d('0x3b')][_0x243d('0xa8')]('no\x20password\x20configured');}if(!this[_0x243d('0x85')](_0x6ca22c[_0x243d('0xf1')])){return this[_0x243d('0x3b')][_0x243d('0xa8')](_0x243d('0xc6'));}this[_0x243d('0x3b')][_0x243d('0xe5')]=!![];this[_0x243d('0x37')](_0x6ca22c);this[_0x243d('0x42')](_0x6ca22c[_0x243d('0x5b')],'in');this[_0x243d('0x3b')][_0x243d('0xa8')](util[_0x243d('0x2b')](_0x243d('0xf2'),_0x6ca22c[_0x243d('0x5b')]));var _0x3fcdfc=this[_0x243d('0x7f')][_0x243d('0x72')](this,_0x6ca22c);if(_0x3fcdfc){for(var _0x36eaeb in _0x3fcdfc){if(_0x3fcdfc[_0x243d('0x95')](_0x36eaeb)){this['channel']['setVariable'](util[_0x243d('0x2b')](_0x243d('0xf3'),_0x36eaeb['toUpperCase']()),_0x3fcdfc[_0x36eaeb]);}}this[_0x243d('0x42')](_0x3fcdfc[_0x243d('0xe8')],_0x243d('0xf4'));if(_0x3fcdfc[_0x243d('0xf5')]){this[_0x243d('0x3b')][_0x243d('0xa8')](util['format'](_0x243d('0xf6'),_0x3fcdfc[_0x243d('0xf5')]));var _0x5d6e39=this[_0x243d('0x3b')][_0x243d('0xf7')](_0x3fcdfc[_0x243d('0xf5')]);try{fs['unlink'](_0x3fcdfc[_0x243d('0xf5')]+_0x243d('0xf8'));}catch(_0x4a2efd){logger[_0x243d('0x2f')](_0x4a2efd);}return _0x5d6e39;}else{return this[_0x243d('0x3b')][_0x243d('0xa8')](util[_0x243d('0x2b')](_0x243d('0xf9'),_0x3fcdfc[_0x243d('0xe8')]));}}return this[_0x243d('0x3b')][_0x243d('0x2f')](_0x6ca22c,'SestekNDA\x20is\x20unreachable');};AGIVertices[_0x243d('0x13')]['end']=function(_0x500105){logger['info'](util['format'](_0x243d('0xfa'),_0x500105[_0x243d('0x39')]));return this[_0x243d('0x3b')][_0x243d('0xa8')](_0x243d('0xfb'));};AGIVertices[_0x243d('0x13')][_0x243d('0xfc')]=function(_0xc1406b){logger['info'](util[_0x243d('0x2b')](_0x243d('0xfd'),_0xc1406b[_0x243d('0x39')]));var _0x13b1a0='';if(_0xc1406b[_0x243d('0xfe')]){if(!this[_0x243d('0x85')](_0xc1406b[_0x243d('0xfe')])){return this['channel']['error'](_0xc1406b,_0x243d('0xff'));}else{var _0xbca4b1=parseInt(_0xc1406b[_0x243d('0xfe')],0xa);if(isNaN(_0xbca4b1)){_0x13b1a0=_0xc1406b['trunk_id'];}else{_0x13b1a0=this['getTrunk'][_0x243d('0x72')](this,_0xc1406b[_0x243d('0xfe')]);if(!_0x13b1a0){return this[_0x243d('0x3b')][_0x243d('0x2f')](_0xc1406b,_0x243d('0x100'));}}}}else if(_0xc1406b[_0x243d('0x101')]){_0x13b1a0=_0xc1406b['trunk_name'];}else{return this[_0x243d('0x3b')]['error'](_0xc1406b,_0x243d('0xff'));}var _0x5a73c0=this['channel'][_0x243d('0x56')](_0x243d('0xe1'),[util[_0x243d('0x2b')](_0x243d('0x102'),_0x13b1a0,_0xc1406b[_0x243d('0xc1')]),_0xc1406b[_0x243d('0x67')],_0xc1406b[_0x243d('0x103')],_0xc1406b[_0x243d('0x65')]]);if(_0x5a73c0['result']===-0x1){return _0x5a73c0;}return this[_0x243d('0x3b')]['noop'](util[_0x243d('0x2b')](_0x243d('0xe0'),'DIAL'));};AGIVertices[_0x243d('0x13')][_0x243d('0x104')]=function(_0x57b6bb){logger['info'](util[_0x243d('0x2b')](_0x243d('0x105'),_0x57b6bb['label']));return this[_0x243d('0x3b')]['noop']('finally');};AGIVertices['prototype'][_0x243d('0xf')]=function(_0x371b5a){logger['info'](util[_0x243d('0x2b')]('Enter\x20in\x20GETDIGITS\x20(%s)\x20block',_0x371b5a[_0x243d('0x39')]));if(_0x371b5a[_0x243d('0xa6')]===0x0){return this['maxRetry'](_0x371b5a);}_0x371b5a[_0x243d('0xa6')]-=0x1;if(!this[_0x243d('0x85')](_0x371b5a['file_id'])){return this[_0x243d('0x3b')][_0x243d('0x2f')](_0x371b5a,_0x243d('0x106'));}var _0x5e421f=this[_0x243d('0x20')][_0x243d('0x72')](this,_0x371b5a[_0x243d('0x107')]);if(!_0x5e421f){return this['channel'][_0x243d('0x2f')](_0x371b5a,_0x243d('0x108'));}if(!this['isConfigured'](_0x371b5a['variable_id'])){return this[_0x243d('0x3b')][_0x243d('0x2f')]('no\x20variable\x20selected\x20for\x20the\x20result');}var _0x145c06=this[_0x243d('0x3b')]['getData'](_0x5e421f,_0x371b5a['response'],_0x371b5a[_0x243d('0x109')]);var _0x5aa934=_0x145c06[_0x243d('0xa2')]?_0x145c06[_0x243d('0xa2')][_0x243d('0x49')]():'';logger[_0x243d('0x30')](_0x243d('0x10a'),JSON[_0x243d('0x75')](_0x145c06));if(_0x145c06[_0x243d('0xa2')]===-0x1){this[_0x243d('0x37')][_0x243d('0x72')](this,_0x371b5a,_0x5aa934);return _0x145c06;}else if(_0x145c06['extra']===_0x243d('0x67')){_0x145c06[_0x243d('0xa2')]=_0x5aa934[_0x243d('0x9e')]>=parseInt(_0x371b5a[_0x243d('0x10b')])?'x':'i';}else{_0x145c06['result']=_0x5aa934['length']>=parseInt(_0x371b5a['mindigit'])&&_0x5aa934[_0x243d('0x9e')]<=parseInt(_0x371b5a[_0x243d('0x109')])?'x':'i';}var _0x3c1ca1=this[_0x243d('0x14')][_0x243d('0x72')](this,_0x371b5a[_0x243d('0xd6')]);if(!_0x3c1ca1){return this[_0x243d('0x3b')][_0x243d('0x2f')](_0x371b5a,_0x243d('0xd7'));}this[_0x243d('0x3b')][_0x243d('0x9f')](_0x3c1ca1,_0x5aa934);if(this[_0x243d('0x85')](_0x371b5a[_0x243d('0x10c')])){var _0x3df646=parseInt(_0x371b5a['hiddendigitsnum'],0xa);var _0x5e9329=rs[_0x243d('0x10d')]({'charset':'*','length':_0x3df646});var _0x182961=_0x5aa934[_0x243d('0x9e')];if(_0x182961>0x0){if(_0x182961>_0x3df646){this[_0x243d('0x37')][_0x243d('0x72')](this,_0x371b5a,_0x371b5a[_0x243d('0x10e')]===_0x243d('0x10f')?_0x5e9329+_0x5aa934[_0x243d('0x110')](_0x3df646):_0x5aa934[_0x243d('0x110')](0x0,_0x182961-_0x3df646)+_0x5e9329);}else{this[_0x243d('0x37')][_0x243d('0x72')](this,_0x371b5a,rs['generate']({'charset':'*','length':_0x182961}));}}else{this[_0x243d('0x37')][_0x243d('0x72')](this,_0x371b5a,'');}}else{this[_0x243d('0x37')][_0x243d('0x72')](this,_0x371b5a,_0x5aa934);}return _0x145c06;};AGIVertices[_0x243d('0x13')][_0x243d('0x10')]=function(_0x40e450){logger[_0x243d('0x30')](util[_0x243d('0x2b')](_0x243d('0x111'),_0x40e450[_0x243d('0x39')]));return this[_0x243d('0xf')](_0x40e450);};AGIVertices[_0x243d('0x13')][_0x243d('0x112')]=function(_0x5d7337){logger[_0x243d('0x30')](util[_0x243d('0x2b')](_0x243d('0x113'),_0x5d7337[_0x243d('0x39')]));this[_0x243d('0x37')][_0x243d('0x72')](this,_0x5d7337,_0x5d7337['goalname']);return this[_0x243d('0x3b')]['noop'](util['format'](_0x243d('0x114'),_0x5d7337[_0x243d('0x115')]));};AGIVertices[_0x243d('0x13')][_0x243d('0x116')]=function(_0x17cbc4){logger[_0x243d('0x30')](util[_0x243d('0x2b')](_0x243d('0x117'),_0x17cbc4[_0x243d('0x39')]));if(!this[_0x243d('0x85')](_0x17cbc4[_0x243d('0x88')])||!this['isConfigured'](_0x17cbc4[_0x243d('0x8c')])){return this[_0x243d('0x3b')][_0x243d('0xa8')](_0x243d('0x118'));}if(!this[_0x243d('0x85')](_0x17cbc4['text'])){return this[_0x243d('0x3b')]['noop'](_0x243d('0xc6'));}this[_0x243d('0x3b')][_0x243d('0xa8')](util[_0x243d('0x2b')](_0x243d('0x119'),_0x17cbc4[_0x243d('0x5b')]));var _0x207705=this[_0x243d('0x87')][_0x243d('0x72')](this,_0x17cbc4);if(_0x207705){this[_0x243d('0x3b')][_0x243d('0xa8')](util[_0x243d('0x2b')](_0x243d('0x11a'),_0x207705));var _0x30e0c0=this[_0x243d('0x3b')][_0x243d('0xf7')](_0x207705);try{fs[_0x243d('0x11b')](_0x207705+_0x243d('0xf8'));}catch(_0x313434){logger['error'](_0x313434);}return _0x30e0c0;}return this[_0x243d('0x3b')]['error'](_0x17cbc4,'aws\x20Polly\x20is\x20unreachable');};AGIVertices[_0x243d('0x13')][_0x243d('0x11c')]=function(_0x19400c){logger[_0x243d('0x30')](util[_0x243d('0x2b')](_0x243d('0x11d'),_0x19400c['label']));if(!this[_0x243d('0x85')](_0x19400c[_0x243d('0x88')])||!this['isConfigured'](_0x19400c['aws_secret_access_key'])){return this[_0x243d('0x3b')][_0x243d('0xa8')]('no\x20valid\x20credentials\x20configured');}if(!this[_0x243d('0x85')](_0x19400c[_0x243d('0x8e')])){return this[_0x243d('0x3b')][_0x243d('0xa8')]('no\x20bot\x20name\x20configured');}if(!this[_0x243d('0x85')](_0x19400c[_0x243d('0x5b')])){return this[_0x243d('0x3b')][_0x243d('0xa8')](_0x243d('0xc6'));}this[_0x243d('0x3b')][_0x243d('0xe5')]=!![];this[_0x243d('0x37')](_0x19400c);this[_0x243d('0x42')](_0x19400c[_0x243d('0x5b')],'in');this[_0x243d('0x3b')]['noop'](util[_0x243d('0x2b')](_0x243d('0x11e'),_0x19400c[_0x243d('0x5b')]));var _0x5851a8=this['awsLex']['sync'](this,_0x19400c);if(_0x5851a8){for(var _0x20dede in _0x5851a8){if(_0x5851a8['hasOwnProperty'](_0x20dede)&&_[_0x243d('0x96')](_0x5851a8[_0x20dede])){this['channel'][_0x243d('0x9f')](util[_0x243d('0x2b')](_0x243d('0x11f'),_0x20dede[_0x243d('0x6b')]()),_0x5851a8[_0x20dede]);}}if(_[_0x243d('0x44')](_0x5851a8[_0x243d('0x79')])){return this[_0x243d('0x3b')][_0x243d('0xa8')](_0x243d('0x120'));}else{this[_0x243d('0x42')](_0x5851a8['message'],_0x243d('0xf4'));return this[_0x243d('0x3b')][_0x243d('0xa8')](util[_0x243d('0x2b')]('Amazon\x20Lex\x20Result\x20%s',_0x5851a8[_0x243d('0x79')]));}}return this[_0x243d('0x3b')][_0x243d('0x2f')](_0x19400c,_0x243d('0x121'));};AGIVertices[_0x243d('0x13')]['googleasr']=function(_0x3a0dd6){logger['info'](util[_0x243d('0x2b')](_0x243d('0x122'),_0x3a0dd6[_0x243d('0x39')],_0x3a0dd6['timeout']));if(!this[_0x243d('0x85')](_0x3a0dd6['key'])){return this['channel']['noop']('no\x20key\x20configured');}var _0x234a91=_0x243d('0x123');var _0x3a2b41=util[_0x243d('0x2b')]('%s/recordings/%s',FILES_PATH,rs[_0x243d('0x10d')](0x4));var _0x590270=util[_0x243d('0x2b')](_0x243d('0x9d'),_0x3a2b41,_0x234a91);var _0x123e41=!![];if(_0x3a0dd6[_0x243d('0x124')]==='NOBEEP'){_0x123e41=![];}var _0x42f0f6=this['channel']['recordFile'](_0x3a2b41,_0x234a91,_0x3a0dd6[_0x243d('0x125')],_0x3a0dd6[_0x243d('0x67')],undefined,_0x123e41);if(_0x42f0f6['result']!==-0x1){this[_0x243d('0x3b')][_0x243d('0xa8')](util[_0x243d('0x2b')](_0x243d('0x126'),_0x590270));var _0x32989e=this[_0x243d('0x8f')][_0x243d('0x72')](this,_0x3a0dd6,_0x590270);if(_0x32989e){for(var _0x2a8fc3 in _0x32989e){if(_0x32989e[_0x243d('0x95')](_0x2a8fc3)){this[_0x243d('0x3b')][_0x243d('0x9f')](util[_0x243d('0x2b')](_0x243d('0x127'),_0x2a8fc3['toUpperCase']()),_0x32989e[_0x2a8fc3]);}}return this[_0x243d('0x3b')][_0x243d('0xa8')](util[_0x243d('0x2b')](_0x243d('0x128'),JSON[_0x243d('0x75')](_0x32989e)));}}return _0x42f0f6;};AGIVertices[_0x243d('0x13')][_0x243d('0x129')]=function(_0x7760dc){logger[_0x243d('0x30')](util[_0x243d('0x2b')](_0x243d('0x12a'),_0x7760dc[_0x243d('0x39')]));if(!this[_0x243d('0x85')](_0x7760dc['appid'])){return this[_0x243d('0x3b')]['noop']('no\x20appid\x20configured');}if(!this['isConfigured'](_0x7760dc['appsecret'])){return this['channel'][_0x243d('0xa8')](_0x243d('0x12b'));}var _0x1af265=_0x243d('0x123');var _0x242050=util[_0x243d('0x2b')](_0x243d('0x12c'),FILES_PATH,rs[_0x243d('0x10d')](0x4));var _0x3c5d50=util[_0x243d('0x2b')](_0x243d('0x9d'),_0x242050,_0x1af265);var _0x2519dd=!![];if(_0x7760dc[_0x243d('0x124')]===_0x243d('0x12d')){_0x2519dd=![];}var _0x39d320=this['channel'][_0x243d('0x12e')](_0x242050,_0x1af265,_0x7760dc[_0x243d('0x125')],_0x7760dc[_0x243d('0x67')],undefined,_0x2519dd);if(_0x39d320[_0x243d('0xa2')]!==-0x1){this[_0x243d('0x3b')][_0x243d('0xa8')](util[_0x243d('0x2b')](_0x243d('0x12f'),_0x3c5d50));var _0x1c5602=this['tildeASR'][_0x243d('0x72')](this,_0x7760dc,_0x3c5d50);if(_0x1c5602){for(var _0x4ebdf5 in _0x1c5602){if(_0x1c5602[_0x243d('0x95')](_0x4ebdf5)){this[_0x243d('0x3b')][_0x243d('0x9f')](util[_0x243d('0x2b')]('TILDE_ASR_%s',_0x4ebdf5[_0x243d('0x6b')]()),_0x1c5602[_0x4ebdf5]);}}return this['channel'][_0x243d('0xa8')](util['format'](_0x243d('0x130'),JSON[_0x243d('0x75')](_0x1c5602)));}}return _0x39d320;};AGIVertices[_0x243d('0x13')][_0x243d('0x131')]=function(_0x5d57ae){logger['info'](util[_0x243d('0x2b')](_0x243d('0x132'),_0x5d57ae['label']));return this[_0x243d('0x3b')]['continueAt'](_0x5d57ae[_0x243d('0x133')],_0x5d57ae['extension'],_0x5d57ae['priority']);};AGIVertices[_0x243d('0x13')][_0x243d('0x134')]=function(_0x4eff69){logger[_0x243d('0x30')](util['format']('Enter\x20in\x20GOTOIF\x20(%s)\x20block',_0x4eff69[_0x243d('0x39')]));if(!this[_0x243d('0x85')](_0x4eff69[_0x243d('0x135')])){return this['channel'][_0x243d('0x2f')](_0x4eff69,'no\x20condition\x20configured');}try{var _0x815588=eval(_0x4eff69[_0x243d('0x135')])?_0x243d('0x136'):_0x243d('0x137');this[_0x243d('0x3b')][_0x243d('0xa8')](util[_0x243d('0x2b')](_0x243d('0x138'),_0x4eff69[_0x243d('0x135')],_0x815588));return{'code':0xc8,'result':_0x815588};}catch(_0x39c3a4){return{'code':0xc8,'result':'false'};}};AGIVertices[_0x243d('0x13')][_0x243d('0x139')]=function(_0x2f83e7){logger['info'](util[_0x243d('0x2b')]('Enter\x20in\x20GOTOIFTIME\x20(%s)\x20block',_0x2f83e7[_0x243d('0x39')]));if(!this[_0x243d('0x85')](_0x2f83e7[_0x243d('0x13a')])){return this['channel']['error'](_0x2f83e7,_0x243d('0x13b'));}var _0x5ae077=this[_0x243d('0x13c')][_0x243d('0x72')](this,_0x2f83e7[_0x243d('0x13a')]);if(!_0x5ae077){return this[_0x243d('0x3b')][_0x243d('0x2f')](_0x2f83e7,_0x243d('0x13d'));}for(var _0x43e72a=0x0;_0x43e72a<_0x5ae077[_0x243d('0x9e')];_0x43e72a+=0x1){var _0x116106=this['channel']['getVariable'](util['format'](_0x243d('0x13e'),_0x5ae077[_0x43e72a]));if(_0x116106[_0x243d('0xa2')]===-0x1){return _0x116106;}logger[_0x243d('0x30')](util[_0x243d('0x2b')](_0x243d('0x13f'),_0x5ae077[_0x43e72a],_0x116106[_0x243d('0xa4')]));if(_0x116106[_0x243d('0xa4')]===_0x243d('0x136')){logger[_0x243d('0x30')](util[_0x243d('0x2b')](_0x243d('0x13f'),_0x5ae077[_0x43e72a],_0x243d('0x136')));this[_0x243d('0x3b')][_0x243d('0xa8')](util['format'](_0x243d('0x13f'),_0x5ae077[_0x43e72a],_0x243d('0x136')));return{'code':0xc8,'result':_0x243d('0x136')};}else{logger[_0x243d('0x30')](util[_0x243d('0x2b')](_0x243d('0x13f'),_0x5ae077[_0x43e72a],'false'));this[_0x243d('0x3b')]['noop'](util[_0x243d('0x2b')](_0x243d('0x13f'),_0x5ae077[_0x43e72a],_0x243d('0x137')));}}return{'code':0xc8,'result':_0x243d('0x137')};};AGIVertices[_0x243d('0x13')]['hangup']=function(_0x1307d2){logger['info'](util[_0x243d('0x2b')](_0x243d('0x140'),_0x1307d2[_0x243d('0x39')]));return this[_0x243d('0x3b')][_0x243d('0x141')]();};AGIVertices[_0x243d('0x13')]['ispeechasr']=function(_0x5c105e){logger[_0x243d('0x30')](util['format'](_0x243d('0x142'),_0x5c105e['label']));if(!this[_0x243d('0x85')](_0x5c105e[_0x243d('0x7d')])){return this[_0x243d('0x3b')]['noop'](_0x243d('0xe4'));}var _0x4f2cb8=_0x243d('0x123');var _0x27cc23=util[_0x243d('0x2b')](_0x243d('0x12c'),FILES_PATH,rs[_0x243d('0x10d')](0x4));var _0x2781fd=util[_0x243d('0x2b')](_0x243d('0x9d'),_0x27cc23,_0x4f2cb8);var _0x412630=!![];if(_0x5c105e['beep']===_0x243d('0x12d')){_0x412630=![];}var _0x50f979=this[_0x243d('0x3b')]['recordFile'](_0x27cc23,_0x4f2cb8,_0x5c105e[_0x243d('0x125')],_0x5c105e[_0x243d('0x67')],undefined,_0x412630);if(_0x50f979['result']!==-0x1){this[_0x243d('0x3b')][_0x243d('0xa8')](util[_0x243d('0x2b')](_0x243d('0x143'),_0x2781fd));var _0x5af148=this[_0x243d('0x83')][_0x243d('0x72')](this,_0x5c105e,_0x2781fd);if(_0x5af148){for(var _0x4e9585 in _0x5af148){if(_0x5af148[_0x243d('0x95')](_0x4e9585)){this['channel']['setVariable'](util['format'](_0x243d('0x144'),_0x4e9585[_0x243d('0x6b')]()),_0x5af148[_0x4e9585]);}}return this[_0x243d('0x3b')][_0x243d('0xa8')](util[_0x243d('0x2b')](_0x243d('0x145'),JSON[_0x243d('0x75')](_0x5af148)));}}return _0x50f979;};AGIVertices[_0x243d('0x13')][_0x243d('0x146')]=function(_0x4d2c5b){logger[_0x243d('0x30')](util[_0x243d('0x2b')](_0x243d('0x147'),_0x4d2c5b[_0x243d('0x39')]));if(!this['isConfigured'](_0x4d2c5b[_0x243d('0x7d')])){return this[_0x243d('0x3b')][_0x243d('0xa8')]('no\x20key\x20configured');}if(!this[_0x243d('0x85')](_0x4d2c5b[_0x243d('0x5b')])){return this[_0x243d('0x3b')][_0x243d('0xa8')](_0x243d('0xc6'));}this[_0x243d('0x3b')][_0x243d('0xa8')](util['format'](_0x243d('0x148'),_0x4d2c5b[_0x243d('0x5b')]));var _0x240685=this[_0x243d('0x80')][_0x243d('0x72')](this,_0x4d2c5b);if(_0x240685){this[_0x243d('0x3b')]['noop'](util[_0x243d('0x2b')](_0x243d('0x143'),_0x240685));var _0x4d7f84=this['channel'][_0x243d('0xf7')](_0x240685,_0x4d2c5b[_0x243d('0x125')]);try{fs[_0x243d('0x11b')](_0x240685+'.wav');}catch(_0x43d55e){logger[_0x243d('0x2f')](_0x43d55e);}return _0x4d7f84;}return this[_0x243d('0x3b')][_0x243d('0x2f')](_0x4d2c5b,_0x243d('0x149'));};AGIVertices[_0x243d('0x13')]['login']=function(_0x12539c){logger[_0x243d('0x30')](util['format']('Enter\x20in\x20LOGIN\x20(%s)\x20block',_0x12539c[_0x243d('0x39')]));if(!this[_0x243d('0x85')](_0x12539c[_0x243d('0x14a')])){return this[_0x243d('0x3b')][_0x243d('0x2f')](_0x12539c,'no\x20find\x20by\x20configured');}logger[_0x243d('0x30')](util[_0x243d('0x2b')](_0x243d('0x14b'),this[_0x243d('0x3b')][_0x243d('0x3d')],_0x12539c['findBy']));var _0xc09ffa=this[_0x243d('0x51')][_0x243d('0x72')](this,_0x12539c[_0x243d('0x14a')]);if(_0xc09ffa){logger[_0x243d('0x30')](util[_0x243d('0x2b')](_0x243d('0x14c'),this['channel'][_0x243d('0x3d')],_0x12539c[_0x243d('0x14a')]));this[_0x243d('0x3b')][_0x243d('0xa8')](util[_0x243d('0x2b')]('AGENT\x20%s\x20FOUND\x20BY',this['channel'][_0x243d('0x3d')],_0x12539c[_0x243d('0x14a')]));return{'code':0xc8,'result':'success'};}else{logger[_0x243d('0x30')](util['format']('AGENT\x20%s\x20NOT\x20FOUND\x20BY',this[_0x243d('0x3b')][_0x243d('0x3d')],_0x12539c[_0x243d('0x14a')]));this[_0x243d('0x3b')]['noop'](util[_0x243d('0x2b')]('AGENT\x20%s\x20NOT\x20FOUND\x20BY',this[_0x243d('0x3b')]['callerid'],_0x12539c[_0x243d('0x14a')]));return{'code':0xc8,'result':'failure'};}};AGIVertices[_0x243d('0x13')][_0x243d('0x14d')]=function(_0x1c43f4){logger[_0x243d('0x30')](util[_0x243d('0x2b')]('Enter\x20in\x20LOGOUT\x20(%s)\x20block',_0x1c43f4[_0x243d('0x39')]));if(!this[_0x243d('0x85')](_0x1c43f4[_0x243d('0x14a')])){return this[_0x243d('0x3b')][_0x243d('0x2f')](_0x1c43f4,_0x243d('0x14e'));}logger['info'](util[_0x243d('0x2b')]('FIND\x20AGENT\x20%s\x20BY\x20%s',this['channel']['callerid'],_0x1c43f4[_0x243d('0x14a')]));var _0x999e=this[_0x243d('0x50')][_0x243d('0x72')](this,_0x1c43f4[_0x243d('0x14a')]);if(_0x999e){logger['info'](util['format']('AGENT\x20%s\x20FOUND\x20BY',this[_0x243d('0x3b')][_0x243d('0x3d')],_0x1c43f4[_0x243d('0x14a')]));this[_0x243d('0x3b')][_0x243d('0xa8')](util[_0x243d('0x2b')](_0x243d('0x14c'),this[_0x243d('0x3b')]['callerid'],_0x1c43f4[_0x243d('0x14a')]));return{'code':0xc8,'result':_0x243d('0x14f')};}else{logger['info'](util[_0x243d('0x2b')](_0x243d('0x150'),this[_0x243d('0x3b')][_0x243d('0x3d')],_0x1c43f4[_0x243d('0x14a')]));this[_0x243d('0x3b')][_0x243d('0xa8')](util[_0x243d('0x2b')](_0x243d('0x150'),this[_0x243d('0x3b')][_0x243d('0x3d')],_0x1c43f4[_0x243d('0x14a')]));return{'code':0xc8,'result':_0x243d('0x151')};}};AGIVertices[_0x243d('0x13')][_0x243d('0x152')]=function(_0x34b452){logger[_0x243d('0x30')](util[_0x243d('0x2b')](_0x243d('0x153'),_0x34b452[_0x243d('0x39')]));if(!this[_0x243d('0x85')](_0x34b452[_0x243d('0x154')])){return this[_0x243d('0x3b')]['error'](_0x34b452,'no\x20operation\x20configured');}this['channel'][_0x243d('0xa8')](util[_0x243d('0x2b')](_0x243d('0x155'),_0x34b452[_0x243d('0x154')]));var _0x257694=eval(_0x34b452[_0x243d('0x154')]);if(!this[_0x243d('0x85')](_0x34b452[_0x243d('0xd6')])){return this['channel'][_0x243d('0xa8')]('no\x20variable\x20selected\x20for\x20the\x20result');}var _0x2ff70c=this['getVariable'][_0x243d('0x72')](this,_0x34b452['variable_id']);if(!_0x2ff70c){return this['channel'][_0x243d('0x2f')](_0x34b452,_0x243d('0xd7'));}if(_[_0x243d('0x9a')](_0x257694)){var _0x38872f=this;_0x257694[_0x243d('0xd8')](function(_0x461839,_0x2b1924){_0x38872f[_0x243d('0x3b')][_0x243d('0x9f')](util[_0x243d('0x2b')](_0x243d('0x156'),_0x2ff70c,_0x2b1924),_0x461839);});return this['channel'][_0x243d('0xa8')](util[_0x243d('0x2b')](_0x243d('0x157'),_0x2ff70c));}else{return this['channel'][_0x243d('0x9f')](_0x2ff70c,_0x257694);}};AGIVertices[_0x243d('0x13')][_0x243d('0xe')]=function(_0x8880cf){logger[_0x243d('0x30')](util[_0x243d('0x2b')](_0x243d('0x158'),_0x8880cf['label']));if(_0x8880cf[_0x243d('0xa6')]===0x0){return this['maxRetry'](_0x8880cf);}_0x8880cf['retry']-=0x1;if(!this[_0x243d('0x85')](_0x8880cf[_0x243d('0x107')])){return this[_0x243d('0x3b')][_0x243d('0x2f')](_0x8880cf,_0x243d('0x106'));}var _0x20d0ee=this[_0x243d('0x20')][_0x243d('0x72')](this,_0x8880cf[_0x243d('0x107')]);if(!_0x20d0ee){return this[_0x243d('0x3b')]['error'](_0x8880cf,_0x243d('0x108'));}var _0x57b5de=this[_0x243d('0x3b')][_0x243d('0x159')](_0x20d0ee,_0x8880cf['response'],_0x8880cf[_0x243d('0x15a')]);var _0x496011=_0x57b5de[_0x243d('0xa2')];if(_0x57b5de[_0x243d('0xa2')]===-0x1){this[_0x243d('0x37')][_0x243d('0x72')](this,_0x8880cf,'-1');return _0x57b5de;}else if(_0x57b5de[_0x243d('0xa4')]===_0x243d('0x67')){_0x57b5de[_0x243d('0xa2')]=_0x57b5de[_0x243d('0xa2')][_0x243d('0x9e')]>0x0?_0x57b5de[_0x243d('0xa2')]:'t';}else if(_[_0x243d('0x15b')](_0x57b5de[_0x243d('0xa2')])){_0x57b5de[_0x243d('0xa2')]='#';_0x496011='#';}if(!this['isConfigured'](_0x8880cf[_0x243d('0xd6')])){this[_0x243d('0x3b')][_0x243d('0xa8')](_0x243d('0xd5'));}else{var _0x10d824=this[_0x243d('0x14')][_0x243d('0x72')](this,_0x8880cf['variable_id']);if(!_0x10d824){return this[_0x243d('0x3b')][_0x243d('0x2f')](_0x8880cf,'no\x20variable\x20found');}this[_0x243d('0x3b')][_0x243d('0x9f')](_0x10d824,_0x496011);}this[_0x243d('0x37')][_0x243d('0x72')](this,_0x8880cf,_0x496011);return _0x57b5de;};AGIVertices[_0x243d('0x13')][_0x243d('0xa8')]=function(_0xb5eaf4){logger[_0x243d('0x30')](util[_0x243d('0x2b')](_0x243d('0x15c'),_0xb5eaf4[_0x243d('0x39')]));return this['channel']['noop'](_0xb5eaf4[_0x243d('0x15d')]||_0xb5eaf4['label']);};AGIVertices['prototype'][_0x243d('0x15e')]=function(_0x2a6c0f){logger[_0x243d('0x30')](util[_0x243d('0x2b')](_0x243d('0x15f'),_0x2a6c0f[_0x243d('0x39')]));if(!this['isConfigured'](_0x2a6c0f[_0x243d('0x14a')])){return this[_0x243d('0x3b')][_0x243d('0x2f')](_0x2a6c0f,_0x243d('0x14e'));}logger['info'](util[_0x243d('0x2b')](_0x243d('0x14b'),this['channel'][_0x243d('0x3d')],_0x2a6c0f[_0x243d('0x14a')]));var _0x564475=this['getPause'][_0x243d('0x72')](this,_0x2a6c0f[_0x243d('0x160')]);var _0x4aa70b=this[_0x243d('0x4d')][_0x243d('0x72')](this,_0x2a6c0f[_0x243d('0x14a')],_0x564475);if(_0x4aa70b){logger[_0x243d('0x30')](util[_0x243d('0x2b')](_0x243d('0x14c'),this[_0x243d('0x3b')][_0x243d('0x3d')],_0x2a6c0f[_0x243d('0x14a')]));this[_0x243d('0x3b')]['noop'](util['format'](_0x243d('0x14c'),this['channel'][_0x243d('0x3d')],_0x2a6c0f['findBy']));return{'code':0xc8,'result':'success'};}else{logger[_0x243d('0x30')](util[_0x243d('0x2b')]('AGENT\x20%s\x20NOT\x20FOUND\x20BY',this[_0x243d('0x3b')][_0x243d('0x3d')],_0x2a6c0f['findBy']));this[_0x243d('0x3b')][_0x243d('0xa8')](util['format']('AGENT\x20%s\x20FOUND\x20BY',this[_0x243d('0x3b')][_0x243d('0x3d')],_0x2a6c0f['findBy']));return{'code':0xc8,'result':_0x243d('0x151')};}};AGIVertices[_0x243d('0x13')][_0x243d('0x161')]=function(_0x504e3a){logger[_0x243d('0x30')](util['format'](_0x243d('0x162'),_0x504e3a[_0x243d('0x39')]));if(!this['isConfigured'](_0x504e3a[_0x243d('0x107')])){return this['channel'][_0x243d('0x2f')](_0x504e3a,_0x243d('0x106'));}var _0x1664a9=this['getSound']['sync'](this,_0x504e3a['file_id']);if(!_0x1664a9){return this[_0x243d('0x3b')][_0x243d('0x2f')](_0x504e3a,_0x243d('0x108'));}var _0x122c32=this[_0x243d('0x3b')]['exec'](_0x243d('0x163'),[_0x1664a9,_0x504e3a['opts']]);if(_0x122c32['result']===-0x1){return _0x122c32;}return this['channel'][_0x243d('0xa8')](util[_0x243d('0x2b')](_0x243d('0xc5'),_0x243d('0x163'),_0x1664a9));};AGIVertices[_0x243d('0x13')][_0x243d('0x164')]=function(_0x4ebd02){logger[_0x243d('0x30')](util[_0x243d('0x2b')]('Enter\x20in\x20QUEUE\x20(%s)\x20block',_0x4ebd02[_0x243d('0x39')]));if(!this['isConfigured'](_0x4ebd02[_0x243d('0x165')])){return this[_0x243d('0x3b')]['error'](_0x4ebd02,_0x243d('0x166'));}var _0x1efd68='';var _0x40252d=parseInt(_0x4ebd02['queue_id'],0xa);if(isNaN(_0x40252d)){_0x1efd68=_0x4ebd02[_0x243d('0x165')];}else{_0x1efd68=this[_0x243d('0x17')][_0x243d('0x72')](this,_0x4ebd02[_0x243d('0x165')]);if(!_0x1efd68){return this['channel'][_0x243d('0x2f')](_0x4ebd02,_0x243d('0x167'));}}var _0xa58aae='';if(this[_0x243d('0x85')](_0x4ebd02['file_id'])){var _0x5ceffb=this[_0x243d('0x20')]['sync'](this,_0x4ebd02[_0x243d('0x107')]);if(_0x5ceffb){_0xa58aae=_0x5ceffb;}}this[_0x243d('0x37')][_0x243d('0x72')](this,_0x4ebd02,_0x1efd68);if(_0x4ebd02[_0x243d('0x103')][_0x243d('0x168')]('x')<0x0){_0x4ebd02[_0x243d('0x103')]+='x';}if(_0x4ebd02[_0x243d('0x103')][_0x243d('0x168')]('X')<0x0){_0x4ebd02[_0x243d('0x103')]+='X';}this[_0x243d('0x3b')][_0x243d('0x9f')](_0x243d('0x169'),_0x1efd68?_0x1efd68['toLowerCase']():'');var _0x271cd0=this[_0x243d('0x3b')]['exec'](_0x243d('0x16a'),[_0x1efd68,_0x4ebd02[_0x243d('0x103')],_0x4ebd02[_0x243d('0x65')],_0xa58aae,_0x4ebd02[_0x243d('0x67')],_0x4ebd02[_0x243d('0x8')],_0x4ebd02[_0x243d('0x16b')],_0x4ebd02[_0x243d('0x16c')],'',_0x4ebd02[_0x243d('0x16d')]]);if(_0x271cd0[_0x243d('0xa2')]===-0x1){return _0x271cd0;}return this['channel'][_0x243d('0xa8')](util[_0x243d('0x2b')](_0x243d('0xc5'),'QUEUE',_0x1efd68));};AGIVertices[_0x243d('0x13')][_0x243d('0x16e')]=function(_0x5559a6){logger[_0x243d('0x30')](util['format'](_0x243d('0x16f'),_0x5559a6[_0x243d('0x39')]));var _0x6af36a=_0x5559a6[_0x243d('0x170')]||_0x243d('0x123');var _0xe1fbcc=util[_0x243d('0x2b')](_0x243d('0x171'),this[_0x243d('0x3b')][_0x243d('0x38')],rs[_0x243d('0x10d')](0x5));var _0x38bfa4=util[_0x243d('0x2b')]('%s/recordings/%s.%s',FILES_PATH,_0xe1fbcc,_0x6af36a);var _0x54bebc=util['format']('%s/recordings/%s',FILES_PATH,_0xe1fbcc);this[_0x243d('0x3e')]['sync'](this,_0x5559a6,_0xe1fbcc,_0x38bfa4);this['channel']['setVariable'](_0x243d('0x172'),_0xe1fbcc);logger[_0x243d('0x30')](_0x243d('0x173'),_0x54bebc,_0x6af36a,_0x5559a6[_0x243d('0x174')],_0x5559a6['timeout']);return this[_0x243d('0x3b')][_0x243d('0x12e')](_0x54bebc,_0x6af36a,_0x5559a6[_0x243d('0x174')],_0x5559a6['timeout'],undefined,!![]);};AGIVertices[_0x243d('0x13')]['restapi']=function(_0x3ef547){logger[_0x243d('0x30')](util[_0x243d('0x2b')](_0x243d('0x175'),_0x3ef547[_0x243d('0x39')]));if(!this[_0x243d('0x85')](_0x3ef547[_0x243d('0x65')])){return this[_0x243d('0x3b')][_0x243d('0xa8')](_0x243d('0x176'));}var _0x5b9d6f=this[_0x243d('0x64')][_0x243d('0x72')](this,_0x3ef547);logger[_0x243d('0x30')](util[_0x243d('0x2b')](_0x243d('0x177'),util[_0x243d('0x178')](_0x5b9d6f,{'showHidden':![],'depth':null})));if(!this[_0x243d('0x85')](_0x3ef547[_0x243d('0xd6')])){return this[_0x243d('0x3b')][_0x243d('0xa8')](_0x243d('0x179'));}var _0x474463=this['getVariable'][_0x243d('0x72')](this,_0x3ef547[_0x243d('0xd6')]);if(!_0x474463){return this[_0x243d('0x3b')][_0x243d('0x2f')](_0x3ef547,_0x243d('0xd7'));}this['channel'][_0x243d('0x9f')](util[_0x243d('0x2b')](_0x243d('0x17a'),_0x474463),_0x5b9d6f[_0x243d('0x77')]?_0x5b9d6f[_0x243d('0x77')]:'200');this[_0x243d('0x3b')][_0x243d('0x9f')](util['format'](_0x243d('0x17b'),_0x474463),_0x5b9d6f[_0x243d('0x78')]?_0x5b9d6f[_0x243d('0x78')]:'OK');if(_0x5b9d6f[_0x243d('0x6c')]){try{this[_0x243d('0x9c')](_0x5b9d6f[_0x243d('0x6c')],_0x474463);}catch(_0x1af8f9){logger[_0x243d('0x2f')](util[_0x243d('0x2b')]('Unable\x20to\x20set\x20result\x20in\x20variable\x20%s',_0x474463));}}return this[_0x243d('0x3b')]['noop'](util[_0x243d('0x2b')]('variable\x20%s\x20set',_0x474463));};AGIVertices[_0x243d('0x13')][_0x243d('0x17c')]=function(_0x187f93){logger[_0x243d('0x30')](util[_0x243d('0x2b')](_0x243d('0x17d'),_0x187f93[_0x243d('0x39')]));return this[_0x243d('0x3b')][_0x243d('0x17e')](_0x187f93['digits'][_0x243d('0xd3')](/\s+/g,''),_0x187f93[_0x243d('0x174')]);};AGIVertices[_0x243d('0x13')][_0x243d('0x17f')]=function(_0x1043ff){logger['info'](util['format'](_0x243d('0x180'),_0x1043ff[_0x243d('0x39')]));return this[_0x243d('0x3b')][_0x243d('0x181')](_0x1043ff[_0x243d('0x68')][_0x243d('0xd3')](/\s+/g,''),_0x1043ff['escape_digits']);};AGIVertices[_0x243d('0x13')][_0x243d('0x182')]=function(_0xa66f25){logger[_0x243d('0x30')](util[_0x243d('0x2b')](_0x243d('0x183'),_0xa66f25['label']));return this[_0x243d('0x3b')][_0x243d('0x184')](_0xa66f25[_0x243d('0x5b')],_0xa66f25[_0x243d('0x174')]);};AGIVertices[_0x243d('0x13')][_0x243d('0x185')]=function(_0x149adc){logger['info'](util[_0x243d('0x2b')](_0x243d('0x186'),_0x149adc[_0x243d('0x39')]));if(!this[_0x243d('0x85')](_0x149adc[_0x243d('0x187')])){return this[_0x243d('0x3b')][_0x243d('0xa8')](_0x243d('0x188'));}var _0x1f737c=this[_0x243d('0x24')]['sync'](this,_0x149adc[_0x243d('0x187')]);if(!_0x1f737c||!_0x1f737c[_0x243d('0x189')]){return this[_0x243d('0x3b')]['error'](_0x149adc,_0x243d('0x18a'));}var _0x3158ec={'from':util[_0x243d('0x2b')]('\x22%s\x22\x20<%s>',_0x1f737c[_0x243d('0x16')],_0x1f737c[_0x243d('0x18b')]||_0x1f737c['Smtp']['user']),'to':_0x149adc['to']||'','cc':_0x149adc['cc']||'','bcc':_0x149adc[_0x243d('0x18c')]||'','subject':_0x149adc[_0x243d('0x18d')],'html':_0x149adc[_0x243d('0x5b')],'text':_0x149adc['text']};var _0x4e2df3={'tls':{'rejectUnauthorized':![]}};if(_0x1f737c[_0x243d('0x189')]['service']){_0x4e2df3['service']=_0x1f737c['Smtp']['service'];}else{_0x4e2df3['host']=_0x1f737c[_0x243d('0x189')][_0x243d('0x18e')];_0x4e2df3[_0x243d('0x18f')]=_0x1f737c[_0x243d('0x189')]['port'];_0x4e2df3[_0x243d('0x190')]=_0x1f737c[_0x243d('0x189')][_0x243d('0x190')];}if(_0x1f737c['Smtp']['authentication']){_0x4e2df3[_0x243d('0x191')]={'user':_0x1f737c[_0x243d('0x189')][_0x243d('0x192')],'pass':_0x1f737c['Smtp']['pass']};}if(this[_0x243d('0x85')](_0x149adc[_0x243d('0x193')])){}logger[_0x243d('0xdb')](_0x243d('0x194'),JSON[_0x243d('0x75')](_0x3158ec));this[_0x243d('0x37')][_0x243d('0x72')](this,_0x149adc,_0x149adc[_0x243d('0x187')]);this[_0x243d('0x3b')]['noop'](util[_0x243d('0x2b')](_0x243d('0x195'),_0x1f737c[_0x243d('0x16')]));this[_0x243d('0x26')][_0x243d('0x72')](this,_0x4e2df3,_0x3158ec);return this[_0x243d('0x3b')][_0x243d('0xa8')](_0x243d('0x196'));};AGIVertices[_0x243d('0x13')]['sendFax']=function(_0x1e5c42){logger[_0x243d('0x30')](util[_0x243d('0x2b')]('Enter\x20in\x20SENDFAX\x20(%s)\x20block',_0x1e5c42[_0x243d('0x39')]));return this[_0x243d('0x3b')][_0x243d('0xa8')](_0x243d('0x197'));};AGIVertices[_0x243d('0x13')][_0x243d('0x198')]=function(_0x31db74){logger['info'](util[_0x243d('0x2b')](_0x243d('0x199'),_0x31db74[_0x243d('0x39')]));if(!this[_0x243d('0x85')](_0x31db74[_0x243d('0x19a')])){return this[_0x243d('0x3b')][_0x243d('0xa8')](_0x243d('0x19b'));}var _0x8d8dfe=this[_0x243d('0x35')][_0x243d('0x72')](this,_0x31db74[_0x243d('0x19a')]);if(!_0x8d8dfe){return this[_0x243d('0x3b')][_0x243d('0x2f')](_0x31db74,_0x243d('0x19c'));}var _0x912dc7={'body':_0x31db74[_0x243d('0x19d')],'phone':_0x31db74['to']||'','SmsAccountId':_0x8d8dfe['id']};logger['debug'](_0x243d('0x19e'),JSON[_0x243d('0x75')](_0x912dc7));this[_0x243d('0x37')][_0x243d('0x72')](this,_0x31db74,_0x31db74[_0x243d('0x19a')]);this['channel'][_0x243d('0xa8')](util[_0x243d('0x2b')]('Trying\x20SendSMS\x20with\x20account\x20%s',_0x8d8dfe['name']));this[_0x243d('0x19f')][_0x243d('0x72')](this,_0x912dc7);return this['channel'][_0x243d('0xa8')]('Sms\x20message\x20added\x20to\x20outgoing\x20process');};AGIVertices[_0x243d('0x13')][_0x243d('0x1a0')]=function(_0x29ab18){logger[_0x243d('0x30')](util[_0x243d('0x2b')]('Enter\x20in\x20SET\x20(%s)\x20block',_0x29ab18[_0x243d('0x39')]));if(!this[_0x243d('0x85')](_0x29ab18[_0x243d('0xd6')])){return this[_0x243d('0x3b')][_0x243d('0x2f')](_0x29ab18,_0x243d('0x1a1'));}var _0x32e593=this['getVariable'][_0x243d('0x72')](this,_0x29ab18[_0x243d('0xd6')]);if(!_0x32e593){return this[_0x243d('0x3b')][_0x243d('0x2f')](_0x29ab18,_0x243d('0xd7'));}return this[_0x243d('0x3b')][_0x243d('0x9f')](_0x32e593,_0x29ab18['variable_value']);};AGIVertices[_0x243d('0x13')][_0x243d('0x1a2')]=function(_0x4718ef){logger[_0x243d('0x30')](util[_0x243d('0x2b')](_0x243d('0x1a3'),_0x4718ef[_0x243d('0x39')]));this[_0x243d('0x3b')]['noop'](_0x243d('0x1a4'));if(_0x4718ef[_0x243d('0xb8')]===_0x243d('0x1a5')){this[_0x243d('0x3b')][_0x243d('0xa8')](_0x243d('0x1a6'));return this[_0x243d('0x3b')]['answer']();}return this[_0x243d('0x3b')][_0x243d('0xa8')](_0x243d('0x1a7'));};AGIVertices[_0x243d('0x13')]['subproject']=function(_0x3bfbcd){logger[_0x243d('0x30')](util[_0x243d('0x2b')](_0x243d('0x1a8'),_0x3bfbcd[_0x243d('0x39')]));if(!this[_0x243d('0x85')](_0x3bfbcd['project_id'])){return this[_0x243d('0x3b')][_0x243d('0x2f')](_0x3bfbcd,'no\x20subproject\x20selected');}var _0x254ecb=this['getSquareProject'][_0x243d('0x72')](this,_0x3bfbcd[_0x243d('0x1a9')]);if(!this[_0x243d('0x85')](_0x254ecb)){return this[_0x243d('0x3b')][_0x243d('0x2f')](_0x3bfbcd,util[_0x243d('0x2b')](_0x243d('0x1aa'),_0x3bfbcd['project_id']));}if(_0x254ecb===this['channel'][_0x243d('0x3c')]){return this[_0x243d('0x3b')][_0x243d('0x2f')](_0x3bfbcd,_0x243d('0x1ab'));}this[_0x243d('0x37')][_0x243d('0x72')](this,_0x3bfbcd,_0x254ecb);var _0x4d07e0=this[_0x243d('0x3b')][_0x243d('0x56')](_0x243d('0x1ac'),util[_0x243d('0x2b')](_0x243d('0x1ad'),config[_0x243d('0x8')]['host']||_0x243d('0x1ae'),_0x254ecb,this[_0x243d('0x3b')]['arg_1']));if(_0x4d07e0[_0x243d('0xa2')]===-0x1){return _0x4d07e0;}return this[_0x243d('0x3b')][_0x243d('0xa8')](util[_0x243d('0x2b')](_0x243d('0xc5'),'AGI',_0x254ecb));};AGIVertices[_0x243d('0x13')]['system']=function(_0x3587da){logger[_0x243d('0x30')](util['format']('Enter\x20in\x20SYSTEM\x20(%s)\x20block',_0x3587da[_0x243d('0x39')]));var _0x1dc5fa=this[_0x243d('0x55')][_0x243d('0x72')](this,_0x3587da[_0x243d('0x1af')]);this[_0x243d('0x37')][_0x243d('0x72')](this,_0x3587da,_0x3587da['command']);if(this['isConfigured'](_0x3587da['variable_id'])){var _0x31a61a=this['getVariable']['sync'](this,_0x3587da[_0x243d('0xd6')]);if(_0x31a61a){this[_0x243d('0x3b')][_0x243d('0x9f')](_0x31a61a,_0x1dc5fa);return this[_0x243d('0x3b')][_0x243d('0xa8')](util['format'](_0x243d('0x1b0'),_0x3587da[_0x243d('0x1af')],_0x31a61a));}}return this[_0x243d('0x3b')][_0x243d('0xa8')](util[_0x243d('0x2b')]('sh\x20command:\x20%s\x20result\x20no\x20stored',_0x3587da[_0x243d('0x1af')]));};AGIVertices[_0x243d('0x13')][_0x243d('0x1b1')]=function(_0x4df503){logger[_0x243d('0x30')](util[_0x243d('0x2b')]('Enter\x20in\x20Google\x20Cloud\x20TTS\x20(%s)\x20block',_0x4df503['label']));_0x4df503[_0x243d('0x5b')]=_0x4df503[_0x243d('0x5b')][_0x243d('0xd3')](/(\r\n|\n|\r)/gm,'\x20');if(!this[_0x243d('0x85')](_0x4df503['apiKey'])){return this[_0x243d('0x3b')][_0x243d('0xa8')](_0x243d('0x1b2'));}if(!this['isConfigured'](_0x4df503[_0x243d('0x5b')])){return this[_0x243d('0x3b')][_0x243d('0xa8')](_0x243d('0xc6'));}this[_0x243d('0x3b')][_0x243d('0xa8')](util['format'](_0x243d('0x1b3'),_0x4df503[_0x243d('0x5b')]));var _0xe22cb6=this[_0x243d('0x58')][_0x243d('0x72')](this,_0x4df503);if(_0xe22cb6){this[_0x243d('0x3b')][_0x243d('0xa8')](util['format'](_0x243d('0x1b4'),_0xe22cb6));var _0x15cf69=this[_0x243d('0x3b')][_0x243d('0xf7')](_0xe22cb6);try{fs['unlink'](_0xe22cb6+_0x243d('0xf8'));}catch(_0x7c02fa){logger[_0x243d('0x2f')](_0x7c02fa);}return _0x15cf69;}return this[_0x243d('0x3b')][_0x243d('0x2f')](_0x4df503,_0x243d('0x1b5'));};AGIVertices[_0x243d('0x13')][_0x243d('0x1b6')]=function(_0x30fff6){logger[_0x243d('0x30')](util[_0x243d('0x2b')](_0x243d('0x1b7'),_0x30fff6[_0x243d('0x39')]));_0x30fff6[_0x243d('0x5b')]=_0x30fff6[_0x243d('0x5b')]['replace'](/(\r\n|\n|\r)/gm,'\x20');if(!this[_0x243d('0x85')](_0x30fff6['text'])){return this[_0x243d('0x3b')][_0x243d('0xa8')](_0x243d('0xc6'));}this['channel'][_0x243d('0xa8')](util[_0x243d('0x2b')](_0x243d('0x1b8'),_0x30fff6[_0x243d('0x5b')]));var _0x123b7b=this[_0x243d('0x62')][_0x243d('0x72')](this,_0x30fff6);if(_0x123b7b){this['channel'][_0x243d('0xa8')](util[_0x243d('0x2b')](_0x243d('0x1b9'),_0x123b7b));var _0x255a80=this['channel']['streamFile'](_0x123b7b);try{fs['unlink'](_0x123b7b+_0x243d('0xf8'));}catch(_0x11dcdd){logger[_0x243d('0x2f')](_0x11dcdd);}return _0x255a80;}return this[_0x243d('0x3b')][_0x243d('0x2f')](_0x30fff6,_0x243d('0x1ba'));};AGIVertices[_0x243d('0x13')][_0x243d('0x1bb')]=function(_0x2ff618){logger[_0x243d('0x30')](util['format'](_0x243d('0x1bc'),_0x2ff618[_0x243d('0x39')]));if(!this['isConfigured'](_0x2ff618[_0x243d('0x14a')])){return this[_0x243d('0x3b')][_0x243d('0x2f')](_0x2ff618,_0x243d('0x14e'));}logger[_0x243d('0x30')](util[_0x243d('0x2b')](_0x243d('0x14b'),this['channel'][_0x243d('0x3d')],_0x2ff618[_0x243d('0x14a')]));var _0x1bdb44=this[_0x243d('0x4f')][_0x243d('0x72')](this,_0x2ff618[_0x243d('0x14a')]);if(_0x1bdb44){logger[_0x243d('0x30')](util['format'](_0x243d('0x14c'),this[_0x243d('0x3b')][_0x243d('0x3d')],_0x2ff618[_0x243d('0x14a')]));this[_0x243d('0x3b')][_0x243d('0xa8')](util[_0x243d('0x2b')](_0x243d('0x14c'),this[_0x243d('0x3b')][_0x243d('0x3d')],_0x2ff618['findBy']));return{'code':0xc8,'result':'success'};}else{logger[_0x243d('0x30')](util['format'](_0x243d('0x150'),this[_0x243d('0x3b')]['callerid'],_0x2ff618['findBy']));this[_0x243d('0x3b')]['noop'](util[_0x243d('0x2b')]('AGENT\x20%s\x20NOT\x20FOUND\x20BY',this[_0x243d('0x3b')]['callerid'],_0x2ff618['findBy']));return{'code':0xc8,'result':'failure'};}};AGIVertices['prototype'][_0x243d('0x1bd')]=function(_0x1272c9){logger[_0x243d('0x30')](util[_0x243d('0x2b')](_0x243d('0x1be'),_0x1272c9[_0x243d('0x39')]));var _0x4a959d=this['channel'][_0x243d('0x56')](_0x243d('0x1bf'),[_0x1272c9[_0x243d('0x1c0')],_0x1272c9[_0x243d('0x7b')]]);if(_0x4a959d['result']===-0x1){return _0x4a959d;}return this[_0x243d('0x3b')]['noop'](util[_0x243d('0x2b')](_0x243d('0xc5'),'VOICEMAIL',_0x1272c9['mailbox']));};AGIVertices[_0x243d('0x13')][_0x243d('0x1c1')]=function(_0x1e56b8){logger[_0x243d('0x30')](util[_0x243d('0x2b')](_0x243d('0x1c2'),_0x1e56b8[_0x243d('0x39')]));if(!this[_0x243d('0x85')](_0x1e56b8[_0x243d('0xd6')])){return this['channel'][_0x243d('0x2f')](_0x1e56b8,_0x243d('0x1a1'));}var _0x3567c5=this['getVariable'][_0x243d('0x72')](this,_0x1e56b8['variable_id']);if(!_0x3567c5){return this[_0x243d('0x3b')][_0x243d('0x2f')](_0x1e56b8,'no\x20variable\x20found');}var _0x3c094c=this[_0x243d('0x3b')][_0x243d('0x14')](_0x3567c5);return{'code':0xc8,'result':_0x3c094c[_0x243d('0xa4')]?_0x3c094c[_0x243d('0xa4')]:'-'};};String[_0x243d('0x13')][_0x243d('0x1c3')]=function(_0x1615f7,_0x15831a){return this[_0x243d('0xa0')](_0x1615f7)['join'](_0x15831a);};module[_0x243d('0x1c4')]=AGIVertices; \ No newline at end of file diff --git a/server/services/ami/acw/index.js b/server/services/ami/acw/index.js index 11e704c..b69e926 100644 --- a/server/services/ami/acw/index.js +++ b/server/services/ami/acw/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x34e8=['YYYY-MM-DD\x20HH:mm:ss','updateAcw','lastPauseAt','uniqueid','[%s][UPDATE][ACWTIME:%s]','catch','error','[%s][UPDATE][ERRORS:%s]','[%s][INPAUSE][AGENT:%s][QUEUE:%s]','[%s][TIMER:%s][AGENT:%s][QUEUE:%s]','[ACW][START]\x20%s','message','saveUnpause','[ACW][STOP]\x20Interface\x20%s\x20doesn\x27t\x20have\x20timer','[ACW][TIMERS]','stringify','[ACW][STOP]\x20%s','[ACW][syncAgentConnect]\x20%s','syncAgentConnectPreview','[ACW][syncAgentConnectPreview]\x20%s','isUndefined','[%s][HANGUP:UNIQUEID]','startAcw','linkedid','[ACW][syncHangupRequest]\x20%s','[%s][HANGUPATTENDEDTRANSFER:UNIQUEID]','[ACW][syncHangup]\x20%s','isNil','transfereeuniqueid','secondtransfereruniqueid','transfertargetuniqueid','origtransfereruniqueid','[ACW][syncAttendedTransfer]\x20%s','syncBlindTransfer','transfereruniqueid','transfererlinkedid','[ACW][syncBlindTransfer]\x20%s','autopause','all','savePause','Auto-Pause','exports','util','lodash','moment','../ami','acw','../rpc/user','../rpc/voiceAgentReport','voiceQueues','agents','timers','channels','agentconnect','syncAgentConnect','bind','hanguprequest','syncHangupRequest','hangup','syncHangup','agentringnoanswer','syncAgentRingNoAnswer','attendedtransfer','syncAttendedTransfer','blindtransfer','custom:agentConnectPreview','milliseconds','diff','prototype','interface','queue','ACW','mandatoryDisposition','name','mandatoryDispositionPause','Action','then','getAgent','info','[%s][START][AGENT:%s][QUEUE:%s]','attended','destlinkedid','acwTimeout','timer','stopAcw','format'];(function(_0x12695f,_0x93fd14){var _0x40e446=function(_0x3c4b3d){while(--_0x3c4b3d){_0x12695f['push'](_0x12695f['shift']());}};_0x40e446(++_0x93fd14);}(_0x34e8,0x12c));var _0x834e=function(_0x9967c1,_0x583828){_0x9967c1=_0x9967c1-0x0;var _0x106ac1=_0x34e8[_0x9967c1];return _0x106ac1;};'use strict';var util=require(_0x834e('0x0'));var _=require(_0x834e('0x1'));var moment=require(_0x834e('0x2'));var ami=require(_0x834e('0x3'));var logger=require('../../../config/logger')(_0x834e('0x4'));var RpcUser=require(_0x834e('0x5'));var RpcVoiceAgentReport=require(_0x834e('0x6'));function Acw(_0x31bf20){this[_0x834e('0x7')]=_0x31bf20[_0x834e('0x7')];this[_0x834e('0x8')]=_0x31bf20['agents'];this[_0x834e('0x9')]=_0x31bf20['timers'];this[_0x834e('0xa')]={};ami['on'](_0x834e('0xb'),this[_0x834e('0xc')][_0x834e('0xd')](this));ami['on'](_0x834e('0xe'),this[_0x834e('0xf')][_0x834e('0xd')](this));ami['on'](_0x834e('0x10'),this[_0x834e('0x11')][_0x834e('0xd')](this));ami['on'](_0x834e('0x12'),this[_0x834e('0x13')][_0x834e('0xd')](this));ami['on'](_0x834e('0x14'),this[_0x834e('0x15')][_0x834e('0xd')](this));ami['on'](_0x834e('0x16'),this['syncBlindTransfer'][_0x834e('0xd')](this));ami['on'](_0x834e('0x17'),this['syncAgentConnectPreview'][_0x834e('0xd')](this));}function getDiff(_0x2d95f2){var _0x28e659=moment()[_0x834e('0x18')](0x0);var _0x50e860=moment(_0x2d95f2)[_0x834e('0x18')](0x0);return _0x28e659[_0x834e('0x19')](_0x50e860,'seconds');}Acw[_0x834e('0x1a')]['startAcw']=function(_0x38a8cd){try{var _0x36d443=this;var _0x478afe=this[_0x834e('0xa')][_0x38a8cd][_0x834e('0x1b')];var _0x370fb5=this['channels'][_0x38a8cd][_0x834e('0x1c')];var _0x211e9a=this[_0x834e('0x7')][_0x370fb5];var _0xb993a1=![];var _0x237947=_0x834e('0x1d');if(_0x211e9a[_0x834e('0x1e')]){if(_0x211e9a['mandatoryDispositionPause'][_0x834e('0x1f')]){_0xb993a1=!![];_0x237947=_0x211e9a[_0x834e('0x20')][_0x834e('0x1f')];}}ami[_0x834e('0x21')]({'action':'QueuePause','interface':_0x478afe,'paused':!![],'reason':_0x237947})[_0x834e('0x22')](function(_0x62f8f1){if(_0x36d443['agents'][_0x478afe]){return RpcUser[_0x834e('0x23')](_0x36d443[_0x834e('0x8')][_0x478afe]['id'])[_0x834e('0x22')](function(_0x5c55ca){if(_0x5c55ca&&!_0x5c55ca['voicePause']){logger[_0x834e('0x24')](_0x834e('0x25'),_0x38a8cd,_0x478afe,_0x370fb5);var _0x589dde=_0x36d443[_0x834e('0xa')][_0x38a8cd][_0x834e('0x26')]&&_0x36d443['channels'][_0x38a8cd][_0x834e('0x27')]?_0x36d443[_0x834e('0xa')][_0x38a8cd][_0x834e('0x27')]:_0x38a8cd;return RpcUser['savePause'](_0x36d443[_0x834e('0x8')][_0x478afe],_0x237947,_0x589dde)[_0x834e('0x22')](function(_0x5e1cc5){if(!_0xb993a1){_0x36d443['timers'][_0x478afe]={};logger[_0x834e('0x24')]('[%s][TIMER:%s][AGENT:%s][QUEUE:%s]',_0x38a8cd,_0x36d443[_0x834e('0x7')][_0x370fb5][_0x834e('0x28')],_0x478afe,_0x370fb5);_0x36d443[_0x834e('0x9')][_0x478afe][_0x834e('0x29')]=setTimeout(_0x36d443[_0x834e('0x2a')][_0x834e('0xd')](_0x36d443,_0x478afe),_0x36d443['voiceQueues'][_0x370fb5]['acwTimeout']*0x3e8);_0x36d443['timers'][_0x478afe]['lastPauseAt']=moment()[_0x834e('0x2b')](_0x834e('0x2c'));_0x36d443[_0x834e('0x9')][_0x478afe]['uniqueid']=_0x38a8cd;_0x36d443[_0x834e('0x9')][_0x478afe][_0x834e('0x1c')]=_0x370fb5;_0x36d443[_0x834e('0x9')][_0x478afe][_0x834e('0x2d')]=function(){var _0x4551f5=getDiff(_0x36d443[_0x834e('0x9')][_0x478afe][_0x834e('0x2e')]);clearTimeout(_0x36d443[_0x834e('0x9')][_0x478afe][_0x834e('0x29')]);_0x36d443['timers'][_0x478afe][_0x834e('0x29')]=![];RpcVoiceAgentReport['update']({'acwtime':_0x4551f5},_0x36d443[_0x834e('0x9')][_0x478afe][_0x834e('0x2f')],_0x478afe)[_0x834e('0x22')](function(_0x2b3418){logger[_0x834e('0x24')](_0x834e('0x30'),_0x38a8cd,_0x4551f5,_0x2b3418);})[_0x834e('0x31')](function(_0x38cd29){logger[_0x834e('0x32')](_0x834e('0x33'),_0x38a8cd,_0x38cd29);});delete _0x36d443['timers'][_0x478afe];};}});}else{logger[_0x834e('0x24')](_0x834e('0x34'),_0x38a8cd,_0x478afe,_0x370fb5);}});}})[_0x834e('0x31')](function(_0xaf01f4){logger['error'](_0x834e('0x35'),_0x38a8cd,_0x36d443[_0x834e('0x7')][_0x370fb5]['acwTimeout'],_0x478afe,_0x370fb5);})['finally'](function(){delete _0x36d443['channels'][_0x38a8cd];});}catch(_0x3e58fa){logger[_0x834e('0x32')](_0x834e('0x36'),_0x3e58fa[_0x834e('0x37')]);}};Acw[_0x834e('0x1a')][_0x834e('0x2a')]=function(_0x4c2ef6){try{var _0x2c2d94=this;if(_0x2c2d94['timers'][_0x4c2ef6]){_0x2c2d94[_0x834e('0x9')][_0x4c2ef6][_0x834e('0x29')]=![];var _0x47abed=_0x2c2d94[_0x834e('0x9')][_0x4c2ef6][_0x834e('0x2f')];var _0x491c28=_0x2c2d94['timers'][_0x4c2ef6][_0x834e('0x1c')];var _0xd0d43a=_0x2c2d94[_0x834e('0x7')][_0x491c28][_0x834e('0x28')];logger[_0x834e('0x24')]('[TIMER][STOP][AGENT:%s]',_0x4c2ef6);RpcUser[_0x834e('0x38')](this['agents'][_0x4c2ef6]);RpcVoiceAgentReport['update']({'acwtime':_0xd0d43a,'agentacw':!![]},_0x47abed,_0x4c2ef6)[_0x834e('0x22')](function(_0x4a7f76){logger[_0x834e('0x24')](_0x834e('0x30'),_0x47abed,_0xd0d43a,_0x4a7f76);})[_0x834e('0x31')](function(_0x3c59af){logger[_0x834e('0x32')]('[%s][UPDATE][ERRORS:%s]',_0x47abed,_0x3c59af);});}else{logger[_0x834e('0x32')](_0x834e('0x39'),_0x4c2ef6);if(_0x2c2d94[_0x834e('0x9')]){logger['info'](_0x834e('0x3a'),JSON[_0x834e('0x3b')](_0x2c2d94['timers']));}}}catch(_0x1e3e71){logger['error'](_0x834e('0x3c'),_0x1e3e71[_0x834e('0x37')]);}};Acw['prototype']['syncAgentConnect']=function(_0x22ea21){try{if(this[_0x834e('0x7')][_0x22ea21[_0x834e('0x1c')]]&&(this[_0x834e('0x7')][_0x22ea21[_0x834e('0x1c')]][_0x834e('0x4')]||this[_0x834e('0x7')][_0x22ea21['queue']][_0x834e('0x1e')])){if(this['agents'][_0x22ea21[_0x834e('0x1b')]]){this['channels'][_0x22ea21[_0x834e('0x2f')]]={'queue':_0x22ea21['queue'],'interface':_0x22ea21[_0x834e('0x1b')],'destlinkedid':_0x22ea21[_0x834e('0x27')]};}}}catch(_0x51c731){logger[_0x834e('0x32')](_0x834e('0x3d'),_0x51c731[_0x834e('0x37')]);}};Acw[_0x834e('0x1a')][_0x834e('0x3e')]=function(_0x1a7149){try{if(this[_0x834e('0x7')][_0x1a7149[_0x834e('0x1c')]]&&(this[_0x834e('0x7')][_0x1a7149[_0x834e('0x1c')]]['acw']||this[_0x834e('0x7')][_0x1a7149[_0x834e('0x1c')]]['mandatoryDisposition'])){if(this[_0x834e('0x8')][_0x1a7149[_0x834e('0x1b')]]){this[_0x834e('0xa')][_0x1a7149[_0x834e('0x2f')]]={'queue':_0x1a7149[_0x834e('0x1c')],'interface':_0x1a7149[_0x834e('0x1b')]};}}}catch(_0x4eab06){logger['error'](_0x834e('0x3f'),_0x4eab06[_0x834e('0x37')]);}};Acw[_0x834e('0x1a')][_0x834e('0xf')]=function(_0x3da408){try{if(this[_0x834e('0xa')][_0x3da408[_0x834e('0x2f')]]&&_[_0x834e('0x40')](this[_0x834e('0xa')][_0x3da408[_0x834e('0x2f')]][_0x834e('0x26')])){logger[_0x834e('0x24')](_0x834e('0x41'),_0x3da408[_0x834e('0x2f')]);this[_0x834e('0x42')](_0x3da408[_0x834e('0x2f')]);}else if(this[_0x834e('0xa')][_0x3da408[_0x834e('0x43')]]&&_[_0x834e('0x40')](this[_0x834e('0xa')][_0x3da408['linkedid']][_0x834e('0x26')])){logger[_0x834e('0x24')]('[%s][HANGUP:LINKEDID]',_0x3da408[_0x834e('0x43')]);this[_0x834e('0x42')](_0x3da408['linkedid']);}}catch(_0x3dcca3){logger[_0x834e('0x32')](_0x834e('0x44'),_0x3dcca3[_0x834e('0x37')]);}};Acw[_0x834e('0x1a')][_0x834e('0x11')]=function(_0x4549ba){try{if(this['channels'][_0x4549ba[_0x834e('0x2f')]]&&this[_0x834e('0xa')][_0x4549ba[_0x834e('0x2f')]][_0x834e('0x26')]){logger[_0x834e('0x24')](_0x834e('0x45'),_0x4549ba[_0x834e('0x2f')]);this[_0x834e('0x42')](_0x4549ba['uniqueid']);}else if(this[_0x834e('0xa')][_0x4549ba['linkedid']]&&this[_0x834e('0xa')][_0x4549ba['linkedid']][_0x834e('0x26')]){logger['info']('[%s][HANGUPATTENDEDTRANSFER:LINKEDID]',_0x4549ba[_0x834e('0x43')]);this[_0x834e('0x42')](_0x4549ba['linkedid']);}}catch(_0x5be43d){logger[_0x834e('0x32')](_0x834e('0x46'),_0x5be43d[_0x834e('0x37')]);}};Acw[_0x834e('0x1a')][_0x834e('0x15')]=function(_0x315858){try{if(!_[_0x834e('0x47')](this[_0x834e('0xa')][_0x315858['transfereeuniqueid']])){this[_0x834e('0x42')](_0x315858[_0x834e('0x48')]);if(this['channels'][_0x315858[_0x834e('0x49')]]){this['channels'][_0x315858[_0x834e('0x49')]][_0x834e('0x26')]=!![];this['channels'][_0x315858[_0x834e('0x4a')]]=this[_0x834e('0xa')][_0x315858[_0x834e('0x49')]];delete this[_0x834e('0xa')][_0x315858['secondtransfereruniqueid']];}}else if(!_[_0x834e('0x47')](this[_0x834e('0xa')][_0x315858[_0x834e('0x4a')]])){this['startAcw'](_0x315858[_0x834e('0x4a')]);if(this[_0x834e('0xa')][_0x315858[_0x834e('0x4b')]]){this[_0x834e('0xa')][_0x315858[_0x834e('0x4b')]][_0x834e('0x26')]=!![];this[_0x834e('0xa')][_0x315858[_0x834e('0x48')]]=this[_0x834e('0xa')][_0x315858[_0x834e('0x4b')]];delete this[_0x834e('0xa')][_0x315858[_0x834e('0x4b')]];}}}catch(_0x1b7045){logger[_0x834e('0x32')](_0x834e('0x4c'),_0x1b7045[_0x834e('0x37')]);}};Acw[_0x834e('0x1a')][_0x834e('0x4d')]=function(_0x193a15){try{if(this[_0x834e('0xa')][_0x193a15[_0x834e('0x4e')]]){logger[_0x834e('0x24')]('[%s][BLINDTRANSFER:UNIQUEID]',JSON[_0x834e('0x3b')](_0x193a15[_0x834e('0x4e')]));this[_0x834e('0x42')](_0x193a15[_0x834e('0x4e')]);}else if(this['channels'][_0x193a15[_0x834e('0x4f')]]){logger['info']('[%s][BLINDTRANSFER:LINKEDID]',JSON[_0x834e('0x3b')](_0x193a15[_0x834e('0x4f')]));this[_0x834e('0x42')](_0x193a15[_0x834e('0x4f')]);}}catch(_0x216105){logger[_0x834e('0x32')](_0x834e('0x50'),_0x216105[_0x834e('0x37')]);}};Acw['prototype'][_0x834e('0x13')]=function(_0x5a99e6){try{if(this[_0x834e('0x7')][_0x5a99e6[_0x834e('0x1c')]]&&this['voiceQueues'][_0x5a99e6['queue']][_0x834e('0x51')]===_0x834e('0x52')){if(this[_0x834e('0x8')][_0x5a99e6[_0x834e('0x1b')]]){logger[_0x834e('0x24')]('[%s][AUTOPAUSE][AGENT:%s][QUEUE:%]',_0x5a99e6[_0x834e('0x2f')],_0x5a99e6[_0x834e('0x1b')],_0x5a99e6[_0x834e('0x1c')]);return RpcUser[_0x834e('0x53')](this[_0x834e('0x8')][_0x5a99e6[_0x834e('0x1b')]],_0x834e('0x54'),_0x5a99e6[_0x834e('0x2f')]);}}}catch(_0x376f72){logger[_0x834e('0x32')]('[ACW][syncAgentRingNoAnswer]\x20%s',_0x376f72[_0x834e('0x37')]);}};module[_0x834e('0x55')]=Acw; \ No newline at end of file +var _0xac9d=['name','Action','QueuePause','then','getAgent','voicePause','info','[%s][START][AGENT:%s][QUEUE:%s]','destlinkedid','[%s][TIMER:%s][AGENT:%s][QUEUE:%s]','acwTimeout','timer','stopAcw','YYYY-MM-DD\x20HH:mm:ss','uniqueid','queue','updateAcw','lastPauseAt','update','[%s][UPDATE][ACWTIME:%s]','error','[%s][UPDATE][ERRORS:%s]','[%s][INPAUSE][AGENT:%s][QUEUE:%s]','finally','[ACW][START]\x20%s','message','prototype','[TIMER][STOP][AGENT:%s]','catch','[ACW][TIMERS]','stringify','[ACW][STOP]\x20%s','syncAgentConnect','[ACW][syncAgentConnect]\x20%s','[ACW][syncAgentConnectPreview]\x20%s','isUndefined','attended','[%s][HANGUP:UNIQUEID]','linkedid','[%s][HANGUP:LINKEDID]','[%s][HANGUPATTENDEDTRANSFER:UNIQUEID]','[%s][HANGUPATTENDEDTRANSFER:LINKEDID]','[ACW][syncHangup]\x20%s','syncAttendedTransfer','isNil','transfereeuniqueid','secondtransfereruniqueid','transfertargetuniqueid','origtransfereruniqueid','[ACW][syncAttendedTransfer]\x20%s','syncBlindTransfer','transfereruniqueid','transfererlinkedid','[%s][BLINDTRANSFER:LINKEDID]','autopause','all','[%s][AUTOPAUSE][AGENT:%s][QUEUE:%]','savePause','[ACW][syncAgentRingNoAnswer]\x20%s','exports','util','lodash','moment','../ami','../../../config/logger','acw','../rpc/user','../rpc/voiceAgentReport','voiceQueues','agents','timers','channels','agentconnect','bind','syncHangupRequest','hangup','syncHangup','agentringnoanswer','syncAgentRingNoAnswer','attendedtransfer','blindtransfer','custom:agentConnectPreview','syncAgentConnectPreview','milliseconds','diff','seconds','startAcw','interface','ACW','mandatoryDisposition','mandatoryDispositionPause'];(function(_0x32d3e9,_0x1123a6){var _0x1b78c0=function(_0x25b74f){while(--_0x25b74f){_0x32d3e9['push'](_0x32d3e9['shift']());}};_0x1b78c0(++_0x1123a6);}(_0xac9d,0x14d));var _0xdac9=function(_0x121f0a,_0x38d0a6){_0x121f0a=_0x121f0a-0x0;var _0x47afc8=_0xac9d[_0x121f0a];return _0x47afc8;};'use strict';var util=require(_0xdac9('0x0'));var _=require(_0xdac9('0x1'));var moment=require(_0xdac9('0x2'));var ami=require(_0xdac9('0x3'));var logger=require(_0xdac9('0x4'))(_0xdac9('0x5'));var RpcUser=require(_0xdac9('0x6'));var RpcVoiceAgentReport=require(_0xdac9('0x7'));function Acw(_0x51a5d7){this[_0xdac9('0x8')]=_0x51a5d7['voiceQueues'];this[_0xdac9('0x9')]=_0x51a5d7[_0xdac9('0x9')];this[_0xdac9('0xa')]=_0x51a5d7[_0xdac9('0xa')];this[_0xdac9('0xb')]={};ami['on'](_0xdac9('0xc'),this['syncAgentConnect'][_0xdac9('0xd')](this));ami['on']('hanguprequest',this[_0xdac9('0xe')][_0xdac9('0xd')](this));ami['on'](_0xdac9('0xf'),this[_0xdac9('0x10')][_0xdac9('0xd')](this));ami['on'](_0xdac9('0x11'),this[_0xdac9('0x12')][_0xdac9('0xd')](this));ami['on'](_0xdac9('0x13'),this['syncAttendedTransfer'][_0xdac9('0xd')](this));ami['on'](_0xdac9('0x14'),this['syncBlindTransfer'][_0xdac9('0xd')](this));ami['on'](_0xdac9('0x15'),this[_0xdac9('0x16')]['bind'](this));}function getDiff(_0x16063f){var _0x33ba20=moment()[_0xdac9('0x17')](0x0);var _0x5f0bbd=moment(_0x16063f)['milliseconds'](0x0);return _0x33ba20[_0xdac9('0x18')](_0x5f0bbd,_0xdac9('0x19'));}Acw['prototype'][_0xdac9('0x1a')]=function(_0x36cbe4){try{var _0x152ea5=this;var _0x5b2f1b=this[_0xdac9('0xb')][_0x36cbe4][_0xdac9('0x1b')];var _0x34a85a=this[_0xdac9('0xb')][_0x36cbe4]['queue'];var _0x283343=this[_0xdac9('0x8')][_0x34a85a];var _0x571e07=![];var _0x1cd239=_0xdac9('0x1c');if(_0x283343[_0xdac9('0x1d')]){if(_0x283343[_0xdac9('0x1e')]['name']){_0x571e07=!![];_0x1cd239=_0x283343['mandatoryDispositionPause'][_0xdac9('0x1f')];}}ami[_0xdac9('0x20')]({'action':_0xdac9('0x21'),'interface':_0x5b2f1b,'paused':!![],'reason':_0x1cd239})[_0xdac9('0x22')](function(_0x52fb18){if(_0x152ea5[_0xdac9('0x9')][_0x5b2f1b]){return RpcUser[_0xdac9('0x23')](_0x152ea5[_0xdac9('0x9')][_0x5b2f1b]['id'])[_0xdac9('0x22')](function(_0xe7bd10){if(_0xe7bd10&&!_0xe7bd10[_0xdac9('0x24')]){logger[_0xdac9('0x25')](_0xdac9('0x26'),_0x36cbe4,_0x5b2f1b,_0x34a85a);var _0x419f0c=_0x152ea5[_0xdac9('0xb')][_0x36cbe4]['attended']&&_0x152ea5[_0xdac9('0xb')][_0x36cbe4][_0xdac9('0x27')]?_0x152ea5[_0xdac9('0xb')][_0x36cbe4][_0xdac9('0x27')]:_0x36cbe4;return RpcUser['savePause'](_0x152ea5[_0xdac9('0x9')][_0x5b2f1b],_0x1cd239,_0x419f0c)['then'](function(_0x3ce475){if(!_0x571e07){_0x152ea5[_0xdac9('0xa')][_0x5b2f1b]={};logger['info'](_0xdac9('0x28'),_0x36cbe4,_0x152ea5['voiceQueues'][_0x34a85a][_0xdac9('0x29')],_0x5b2f1b,_0x34a85a);_0x152ea5[_0xdac9('0xa')][_0x5b2f1b][_0xdac9('0x2a')]=setTimeout(_0x152ea5[_0xdac9('0x2b')]['bind'](_0x152ea5,_0x5b2f1b),_0x152ea5['voiceQueues'][_0x34a85a][_0xdac9('0x29')]*0x3e8);_0x152ea5[_0xdac9('0xa')][_0x5b2f1b]['lastPauseAt']=moment()['format'](_0xdac9('0x2c'));_0x152ea5[_0xdac9('0xa')][_0x5b2f1b][_0xdac9('0x2d')]=_0x36cbe4;_0x152ea5[_0xdac9('0xa')][_0x5b2f1b][_0xdac9('0x2e')]=_0x34a85a;_0x152ea5[_0xdac9('0xa')][_0x5b2f1b][_0xdac9('0x2f')]=function(){var _0x2cda4d=getDiff(_0x152ea5[_0xdac9('0xa')][_0x5b2f1b][_0xdac9('0x30')]);clearTimeout(_0x152ea5[_0xdac9('0xa')][_0x5b2f1b][_0xdac9('0x2a')]);_0x152ea5[_0xdac9('0xa')][_0x5b2f1b][_0xdac9('0x2a')]=![];RpcVoiceAgentReport[_0xdac9('0x31')]({'acwtime':_0x2cda4d},_0x152ea5[_0xdac9('0xa')][_0x5b2f1b][_0xdac9('0x2d')],_0x5b2f1b)[_0xdac9('0x22')](function(_0x339f31){logger[_0xdac9('0x25')](_0xdac9('0x32'),_0x36cbe4,_0x2cda4d,_0x339f31);})['catch'](function(_0x5e7ebe){logger[_0xdac9('0x33')](_0xdac9('0x34'),_0x36cbe4,_0x5e7ebe);});delete _0x152ea5[_0xdac9('0xa')][_0x5b2f1b];};}});}else{logger[_0xdac9('0x25')](_0xdac9('0x35'),_0x36cbe4,_0x5b2f1b,_0x34a85a);}});}})['catch'](function(_0x1d125a){logger['error'](_0xdac9('0x28'),_0x36cbe4,_0x152ea5[_0xdac9('0x8')][_0x34a85a]['acwTimeout'],_0x5b2f1b,_0x34a85a);})[_0xdac9('0x36')](function(){delete _0x152ea5['channels'][_0x36cbe4];});}catch(_0x52d758){logger[_0xdac9('0x33')](_0xdac9('0x37'),_0x52d758[_0xdac9('0x38')]);}};Acw[_0xdac9('0x39')][_0xdac9('0x2b')]=function(_0x363d93){try{var _0x51cde6=this;if(_0x51cde6[_0xdac9('0xa')][_0x363d93]){_0x51cde6[_0xdac9('0xa')][_0x363d93]['timer']=![];var _0x244d1f=_0x51cde6[_0xdac9('0xa')][_0x363d93][_0xdac9('0x2d')];var _0x27bdfb=_0x51cde6[_0xdac9('0xa')][_0x363d93][_0xdac9('0x2e')];var _0x3ac9ae=_0x51cde6['voiceQueues'][_0x27bdfb][_0xdac9('0x29')];logger[_0xdac9('0x25')](_0xdac9('0x3a'),_0x363d93);RpcUser['saveUnpause'](this[_0xdac9('0x9')][_0x363d93]);RpcVoiceAgentReport[_0xdac9('0x31')]({'acwtime':_0x3ac9ae,'agentacw':!![]},_0x244d1f,_0x363d93)[_0xdac9('0x22')](function(_0x1d6f88){logger['info']('[%s][UPDATE][ACWTIME:%s]',_0x244d1f,_0x3ac9ae,_0x1d6f88);})[_0xdac9('0x3b')](function(_0xe47a3c){logger[_0xdac9('0x33')](_0xdac9('0x34'),_0x244d1f,_0xe47a3c);});}else{logger[_0xdac9('0x33')]('[ACW][STOP]\x20Interface\x20%s\x20doesn\x27t\x20have\x20timer',_0x363d93);if(_0x51cde6[_0xdac9('0xa')]){logger['info'](_0xdac9('0x3c'),JSON[_0xdac9('0x3d')](_0x51cde6[_0xdac9('0xa')]));}}}catch(_0x1898e1){logger[_0xdac9('0x33')](_0xdac9('0x3e'),_0x1898e1[_0xdac9('0x38')]);}};Acw[_0xdac9('0x39')][_0xdac9('0x3f')]=function(_0x8a0538){try{if(this[_0xdac9('0x8')][_0x8a0538[_0xdac9('0x2e')]]&&(this[_0xdac9('0x8')][_0x8a0538[_0xdac9('0x2e')]]['acw']||this[_0xdac9('0x8')][_0x8a0538[_0xdac9('0x2e')]]['mandatoryDisposition'])){if(this[_0xdac9('0x9')][_0x8a0538[_0xdac9('0x1b')]]){this[_0xdac9('0xb')][_0x8a0538[_0xdac9('0x2d')]]={'queue':_0x8a0538[_0xdac9('0x2e')],'interface':_0x8a0538[_0xdac9('0x1b')],'destlinkedid':_0x8a0538['destlinkedid']};}}}catch(_0x1c3f15){logger['error'](_0xdac9('0x40'),_0x1c3f15[_0xdac9('0x38')]);}};Acw[_0xdac9('0x39')][_0xdac9('0x16')]=function(_0x5e61ac){try{if(this['voiceQueues'][_0x5e61ac['queue']]&&(this[_0xdac9('0x8')][_0x5e61ac['queue']]['acw']||this[_0xdac9('0x8')][_0x5e61ac[_0xdac9('0x2e')]]['mandatoryDisposition'])){if(this['agents'][_0x5e61ac[_0xdac9('0x1b')]]){this[_0xdac9('0xb')][_0x5e61ac[_0xdac9('0x2d')]]={'queue':_0x5e61ac[_0xdac9('0x2e')],'interface':_0x5e61ac[_0xdac9('0x1b')]};}}}catch(_0x2e07bc){logger[_0xdac9('0x33')](_0xdac9('0x41'),_0x2e07bc['message']);}};Acw[_0xdac9('0x39')][_0xdac9('0xe')]=function(_0xfa104f){try{if(this[_0xdac9('0xb')][_0xfa104f[_0xdac9('0x2d')]]&&_[_0xdac9('0x42')](this[_0xdac9('0xb')][_0xfa104f[_0xdac9('0x2d')]][_0xdac9('0x43')])){logger[_0xdac9('0x25')](_0xdac9('0x44'),_0xfa104f[_0xdac9('0x2d')]);this[_0xdac9('0x1a')](_0xfa104f[_0xdac9('0x2d')]);}else if(this['channels'][_0xfa104f['linkedid']]&&_['isUndefined'](this[_0xdac9('0xb')][_0xfa104f[_0xdac9('0x45')]]['attended'])){logger[_0xdac9('0x25')](_0xdac9('0x46'),_0xfa104f[_0xdac9('0x45')]);this['startAcw'](_0xfa104f[_0xdac9('0x45')]);}}catch(_0x9f6e4){logger['error']('[ACW][syncHangupRequest]\x20%s',_0x9f6e4[_0xdac9('0x38')]);}};Acw[_0xdac9('0x39')][_0xdac9('0x10')]=function(_0x370532){try{if(this[_0xdac9('0xb')][_0x370532[_0xdac9('0x2d')]]&&this[_0xdac9('0xb')][_0x370532[_0xdac9('0x2d')]][_0xdac9('0x43')]){logger[_0xdac9('0x25')](_0xdac9('0x47'),_0x370532[_0xdac9('0x2d')]);this[_0xdac9('0x1a')](_0x370532[_0xdac9('0x2d')]);}else if(this[_0xdac9('0xb')][_0x370532['linkedid']]&&this[_0xdac9('0xb')][_0x370532[_0xdac9('0x45')]][_0xdac9('0x43')]){logger[_0xdac9('0x25')](_0xdac9('0x48'),_0x370532[_0xdac9('0x45')]);this['startAcw'](_0x370532[_0xdac9('0x45')]);}}catch(_0x401ab6){logger[_0xdac9('0x33')](_0xdac9('0x49'),_0x401ab6[_0xdac9('0x38')]);}};Acw[_0xdac9('0x39')][_0xdac9('0x4a')]=function(_0x243862){try{if(!_[_0xdac9('0x4b')](this['channels'][_0x243862[_0xdac9('0x4c')]])){this[_0xdac9('0x1a')](_0x243862[_0xdac9('0x4c')]);if(this[_0xdac9('0xb')][_0x243862[_0xdac9('0x4d')]]){this[_0xdac9('0xb')][_0x243862['secondtransfereruniqueid']]['attended']=!![];this[_0xdac9('0xb')][_0x243862[_0xdac9('0x4e')]]=this[_0xdac9('0xb')][_0x243862[_0xdac9('0x4d')]];delete this[_0xdac9('0xb')][_0x243862[_0xdac9('0x4d')]];}}else if(!_['isNil'](this['channels'][_0x243862['transfertargetuniqueid']])){this[_0xdac9('0x1a')](_0x243862[_0xdac9('0x4e')]);if(this[_0xdac9('0xb')][_0x243862[_0xdac9('0x4f')]]){this['channels'][_0x243862[_0xdac9('0x4f')]][_0xdac9('0x43')]=!![];this[_0xdac9('0xb')][_0x243862[_0xdac9('0x4c')]]=this[_0xdac9('0xb')][_0x243862['origtransfereruniqueid']];delete this[_0xdac9('0xb')][_0x243862['origtransfereruniqueid']];}}}catch(_0x60b64e){logger['error'](_0xdac9('0x50'),_0x60b64e[_0xdac9('0x38')]);}};Acw[_0xdac9('0x39')][_0xdac9('0x51')]=function(_0x303008){try{if(this[_0xdac9('0xb')][_0x303008[_0xdac9('0x52')]]){logger['info']('[%s][BLINDTRANSFER:UNIQUEID]',JSON['stringify'](_0x303008[_0xdac9('0x52')]));this[_0xdac9('0x1a')](_0x303008[_0xdac9('0x52')]);}else if(this[_0xdac9('0xb')][_0x303008[_0xdac9('0x53')]]){logger[_0xdac9('0x25')](_0xdac9('0x54'),JSON['stringify'](_0x303008[_0xdac9('0x53')]));this['startAcw'](_0x303008['transfererlinkedid']);}}catch(_0x461c96){logger['error']('[ACW][syncBlindTransfer]\x20%s',_0x461c96[_0xdac9('0x38')]);}};Acw[_0xdac9('0x39')][_0xdac9('0x12')]=function(_0x55ce14){try{if(this['voiceQueues'][_0x55ce14[_0xdac9('0x2e')]]&&this[_0xdac9('0x8')][_0x55ce14['queue']][_0xdac9('0x55')]===_0xdac9('0x56')){if(this[_0xdac9('0x9')][_0x55ce14[_0xdac9('0x1b')]]){logger[_0xdac9('0x25')](_0xdac9('0x57'),_0x55ce14[_0xdac9('0x2d')],_0x55ce14[_0xdac9('0x1b')],_0x55ce14[_0xdac9('0x2e')]);return RpcUser[_0xdac9('0x58')](this[_0xdac9('0x9')][_0x55ce14[_0xdac9('0x1b')]],'Auto-Pause',_0x55ce14[_0xdac9('0x2d')]);}}}catch(_0x4df310){logger[_0xdac9('0x33')](_0xdac9('0x59'),_0x4df310['message']);}};module[_0xdac9('0x5a')]=Acw; \ No newline at end of file diff --git a/server/services/ami/ami.js b/server/services/ami/ami.js index 0fc9d1f..e85f9f1 100644 --- a/server/services/ami/ami.js +++ b/server/services/ami/ami.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xa32c=['util','lodash','ami','../../config/environment','asterisk','port','username','password','promisify','action','format','Manager\x20\x22%s\x22\x20error\x20to\x20%s:%s\x20with:\x0a%s','inspect','error','Manager\x20\x22%s\x22\x20closed\x20to\x20%s:%s','actionSipShowRegistry','sipshowregistry','actionDeviceStateList','Action','devicestatelist','actionSipPeerStatus','sippeerstatus','queuesummary','actionCoreShowChannels','coreshowchannels','info','Manager\x20\x22%s\x22\x20logged\x20on\x20to\x20%s:%s','once','close','Shutdown\x20\x22%s\x22\x20to\x20%s:%s\x20with:\x0a%s','fullybooted','resolve','then','catch','log','exports','asterisk-manager','bluebird','moment'];(function(_0x3bf83f,_0x181cac){var _0x22c4a9=function(_0xb3ff0d){while(--_0xb3ff0d){_0x3bf83f['push'](_0x3bf83f['shift']());}};_0x22c4a9(++_0x181cac);}(_0xa32c,0x1aa));var _0xca32=function(_0x501510,_0x61caa9){_0x501510=_0x501510-0x0;var _0x1e6ee5=_0xa32c[_0x501510];return _0x1e6ee5;};'use strict';var Manager=require(_0xca32('0x0'));var BPromise=require(_0xca32('0x1'));var moment=require(_0xca32('0x2'));var util=require(_0xca32('0x3'));var _=require(_0xca32('0x4'));var logger=require('../../config/logger')(_0xca32('0x5'));var config=require(_0xca32('0x6'));var ami=new Manager(config[_0xca32('0x7')][_0xca32('0x8')],config[_0xca32('0x7')]['ip'],config[_0xca32('0x7')][_0xca32('0x9')],config['asterisk'][_0xca32('0xa')],!![]);ami['keepConnected']();ami['Action']=BPromise[_0xca32('0xb')](ami[_0xca32('0xc')]);function error(_0x47b4a2){logger['error'](util[_0xca32('0xd')](_0xca32('0xe'),config[_0xca32('0x7')]['username'],config['asterisk']['ip'],config[_0xca32('0x7')][_0xca32('0x8')],util[_0xca32('0xf')](_0x47b4a2,![],null)));}function close(){logger[_0xca32('0x10')](util[_0xca32('0xd')](_0xca32('0x11'),config[_0xca32('0x7')][_0xca32('0x9')],config['asterisk']['ip'],config[_0xca32('0x7')][_0xca32('0x8')]));}ami[_0xca32('0x12')]=function(){return function(){return ami['Action']({'action':_0xca32('0x13')});};};ami[_0xca32('0x14')]=function(){return function(){return ami[_0xca32('0x15')]({'action':_0xca32('0x16')});};};ami[_0xca32('0x17')]=function(){return function(){return ami[_0xca32('0x15')]({'action':_0xca32('0x18')});};};ami['actionQueueSummary']=function(){return function(){return ami[_0xca32('0x15')]({'action':_0xca32('0x19')});};};ami[_0xca32('0x1a')]=function(){return function(){return ami[_0xca32('0x15')]({'action':_0xca32('0x1b')});};};function connect(_0x284e39){logger[_0xca32('0x1c')](util[_0xca32('0xd')](_0xca32('0x1d'),config[_0xca32('0x7')][_0xca32('0x9')],config[_0xca32('0x7')]['ip'],config[_0xca32('0x7')][_0xca32('0x8')]));ami[_0xca32('0x1e')](_0xca32('0x10'),error);ami['once'](_0xca32('0x1f'),close);}ami['on']('connect',connect);ami['on']('shutdown',function(_0x40a285){logger[_0xca32('0x1c')](util[_0xca32('0xd')](_0xca32('0x20'),config[_0xca32('0x7')]['username'],config[_0xca32('0x7')]['ip'],config[_0xca32('0x7')][_0xca32('0x8')],util[_0xca32('0xf')](_0x40a285,![],null)));});ami['on'](_0xca32('0x21'),function(_0x5f528e){logger[_0xca32('0x1c')](util['format']('Fullybooted\x20\x22%s\x22\x20to\x20%s:%s',config[_0xca32('0x7')][_0xca32('0x9')],config[_0xca32('0x7')]['ip'],config[_0xca32('0x7')]['port']));return BPromise[_0xca32('0x22')]()[_0xca32('0x23')](ami[_0xca32('0x12')]())[_0xca32('0x23')](ami[_0xca32('0x14')]())['then'](ami[_0xca32('0x17')]())[_0xca32('0x23')](ami['actionQueueSummary']())['then'](ami[_0xca32('0x1a')]())[_0xca32('0x24')](function(_0x5c9751){console[_0xca32('0x25')](_0x5c9751);});});ami[_0xca32('0x1e')](_0xca32('0x10'),error);ami[_0xca32('0x1e')](_0xca32('0x1f'),close);module[_0xca32('0x26')]=ami; \ No newline at end of file +var _0x38dd=['exports','bluebird','moment','util','lodash','../../config/logger','ami','../../config/environment','asterisk','username','password','keepConnected','Action','action','error','Manager\x20\x22%s\x22\x20error\x20to\x20%s:%s\x20with:\x0a%s','port','inspect','format','Manager\x20\x22%s\x22\x20closed\x20to\x20%s:%s','sipshowregistry','actionDeviceStateList','actionSipPeerStatus','actionQueueSummary','queuesummary','actionCoreShowChannels','coreshowchannels','info','Manager\x20\x22%s\x22\x20logged\x20on\x20to\x20%s:%s','once','close','connect','Shutdown\x20\x22%s\x22\x20to\x20%s:%s\x20with:\x0a%s','fullybooted','resolve','then','actionSipShowRegistry','log'];(function(_0x2bcd1f,_0x4f1972){var _0x2381ca=function(_0x51f935){while(--_0x51f935){_0x2bcd1f['push'](_0x2bcd1f['shift']());}};_0x2381ca(++_0x4f1972);}(_0x38dd,0x1ef));var _0xd38d=function(_0x4bb66f,_0x3cd682){_0x4bb66f=_0x4bb66f-0x0;var _0xf2772f=_0x38dd[_0x4bb66f];return _0xf2772f;};'use strict';var Manager=require('asterisk-manager');var BPromise=require(_0xd38d('0x0'));var moment=require(_0xd38d('0x1'));var util=require(_0xd38d('0x2'));var _=require(_0xd38d('0x3'));var logger=require(_0xd38d('0x4'))(_0xd38d('0x5'));var config=require(_0xd38d('0x6'));var ami=new Manager(config[_0xd38d('0x7')]['port'],config[_0xd38d('0x7')]['ip'],config['asterisk'][_0xd38d('0x8')],config[_0xd38d('0x7')][_0xd38d('0x9')],!![]);ami[_0xd38d('0xa')]();ami[_0xd38d('0xb')]=BPromise['promisify'](ami[_0xd38d('0xc')]);function error(_0x569a3a){logger[_0xd38d('0xd')](util['format'](_0xd38d('0xe'),config[_0xd38d('0x7')][_0xd38d('0x8')],config[_0xd38d('0x7')]['ip'],config[_0xd38d('0x7')][_0xd38d('0xf')],util[_0xd38d('0x10')](_0x569a3a,![],null)));}function close(){logger[_0xd38d('0xd')](util[_0xd38d('0x11')](_0xd38d('0x12'),config[_0xd38d('0x7')][_0xd38d('0x8')],config[_0xd38d('0x7')]['ip'],config[_0xd38d('0x7')][_0xd38d('0xf')]));}ami['actionSipShowRegistry']=function(){return function(){return ami[_0xd38d('0xb')]({'action':_0xd38d('0x13')});};};ami[_0xd38d('0x14')]=function(){return function(){return ami[_0xd38d('0xb')]({'action':'devicestatelist'});};};ami[_0xd38d('0x15')]=function(){return function(){return ami[_0xd38d('0xb')]({'action':'sippeerstatus'});};};ami[_0xd38d('0x16')]=function(){return function(){return ami[_0xd38d('0xb')]({'action':_0xd38d('0x17')});};};ami[_0xd38d('0x18')]=function(){return function(){return ami[_0xd38d('0xb')]({'action':_0xd38d('0x19')});};};function connect(_0x28eb5d){logger[_0xd38d('0x1a')](util[_0xd38d('0x11')](_0xd38d('0x1b'),config[_0xd38d('0x7')][_0xd38d('0x8')],config[_0xd38d('0x7')]['ip'],config[_0xd38d('0x7')][_0xd38d('0xf')]));ami['once'](_0xd38d('0xd'),error);ami[_0xd38d('0x1c')](_0xd38d('0x1d'),close);}ami['on'](_0xd38d('0x1e'),connect);ami['on']('shutdown',function(_0xf5583e){logger[_0xd38d('0x1a')](util[_0xd38d('0x11')](_0xd38d('0x1f'),config['asterisk']['username'],config[_0xd38d('0x7')]['ip'],config[_0xd38d('0x7')][_0xd38d('0xf')],util[_0xd38d('0x10')](_0xf5583e,![],null)));});ami['on'](_0xd38d('0x20'),function(_0x49dd82){logger[_0xd38d('0x1a')](util['format']('Fullybooted\x20\x22%s\x22\x20to\x20%s:%s',config['asterisk'][_0xd38d('0x8')],config[_0xd38d('0x7')]['ip'],config['asterisk'][_0xd38d('0xf')]));return BPromise[_0xd38d('0x21')]()[_0xd38d('0x22')](ami[_0xd38d('0x23')]())['then'](ami[_0xd38d('0x14')]())[_0xd38d('0x22')](ami[_0xd38d('0x15')]())[_0xd38d('0x22')](ami[_0xd38d('0x16')]())[_0xd38d('0x22')](ami[_0xd38d('0x18')]())['catch'](function(_0x1650b4){console[_0xd38d('0x24')](_0x1650b4);});});ami[_0xd38d('0x1c')]('error',error);ami[_0xd38d('0x1c')](_0xd38d('0x1d'),close);module[_0xd38d('0x25')]=ami; \ No newline at end of file diff --git a/server/services/ami/client.js b/server/services/ami/client.js index 1f4526f..9dbf925 100644 --- a/server/services/ami/client.js +++ b/server/services/ami/client.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x54a9=['exports','jayson/promise','../../config/logger','ami','client','http','request','then','rpc','memberReport','error','message','result'];(function(_0x2e902b,_0x30f6c6){var _0x5408a3=function(_0x406463){while(--_0x406463){_0x2e902b['push'](_0x2e902b['shift']());}};_0x5408a3(++_0x30f6c6);}(_0x54a9,0x194));var _0x954a=function(_0xa3fc5c,_0x2b5b7d){_0xa3fc5c=_0xa3fc5c-0x0;var _0xb4859c=_0x54a9[_0xa3fc5c];return _0xb4859c;};'use strict';var jayson=require(_0x954a('0x0'));var BPromise=require('bluebird');var logger=require(_0x954a('0x1'))(_0x954a('0x2'));var client=jayson[_0x954a('0x3')][_0x954a('0x4')]({'port':0x2329});client['Request']=function(_0x5c704c,_0x4402b9){return new BPromise(function(_0x5ab09f,_0x28f6b3){return client[_0x954a('0x5')](_0x5c704c,_0x4402b9)[_0x954a('0x6')](function(_0x5ac947){logger['debug'](_0x954a('0x7'),_0x954a('0x8'),_0x5c704c,_0x4402b9,_0x5ac947);if(_0x5ac947['error']){logger['error'](_0x954a('0x7'),_0x954a('0x8'),_0x5c704c,_0x5ac947[_0x954a('0x9')][_0x954a('0xa')],_0x4402b9);return _0x28f6b3(_0x5ac947[_0x954a('0x9')][_0x954a('0xa')]);}else{return _0x5ab09f(_0x5ac947[_0x954a('0xb')]);}})['catch'](function(_0xb61672){logger[_0x954a('0x9')]('rpc',_0x954a('0x8'),_0x5c704c,_0xb61672,_0x4402b9);return _0x28f6b3(_0xb61672);});});};module[_0x954a('0xc')]=client; \ No newline at end of file +var _0x178b=['client','http','Request','request','then','debug','rpc','memberReport','error','message','result','exports','jayson/promise','ami'];(function(_0x4de2bd,_0x5bd01d){var _0x4958ec=function(_0x334d25){while(--_0x334d25){_0x4de2bd['push'](_0x4de2bd['shift']());}};_0x4958ec(++_0x5bd01d);}(_0x178b,0x16a));var _0xb178=function(_0x51b255,_0x2a91cf){_0x51b255=_0x51b255-0x0;var _0x43bd02=_0x178b[_0x51b255];return _0x43bd02;};'use strict';var jayson=require(_0xb178('0x0'));var BPromise=require('bluebird');var logger=require('../../config/logger')(_0xb178('0x1'));var client=jayson[_0xb178('0x2')][_0xb178('0x3')]({'port':0x2329});client[_0xb178('0x4')]=function(_0x34690a,_0x51ce52){return new BPromise(function(_0x5b2536,_0x59bd8b){return client[_0xb178('0x5')](_0x34690a,_0x51ce52)[_0xb178('0x6')](function(_0xc336ec){logger[_0xb178('0x7')](_0xb178('0x8'),_0xb178('0x9'),_0x34690a,_0x51ce52,_0xc336ec);if(_0xc336ec['error']){logger[_0xb178('0xa')](_0xb178('0x8'),'memberReport',_0x34690a,_0xc336ec['error'][_0xb178('0xb')],_0x51ce52);return _0x59bd8b(_0xc336ec[_0xb178('0xa')][_0xb178('0xb')]);}else{return _0x5b2536(_0xc336ec[_0xb178('0xc')]);}})['catch'](function(_0x260bb7){logger['error']('rpc',_0xb178('0x9'),_0x34690a,_0x260bb7,_0x51ce52);return _0x59bd8b(_0x260bb7);});});};module[_0xb178('0xd')]=client; \ No newline at end of file diff --git a/server/services/ami/dialer/action.js b/server/services/ami/dialer/action.js index 7ed67ae..0bd6db1 100644 --- a/server/services/ami/dialer/action.js +++ b/server/services/ami/dialer/action.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x7b6b=['getCaller','dialCutDigit','getQueue','exports','util','moment','string','isNil','voiceQueue','uniqueid','name','Contact','phone','firstName','lastName','number','queue','active','type','dialQueueTimeout','scheduledat','countbusyretry','countcongestionretry','countnoanswerretry','countnosuchnumberretry','countabandonedretry','countmachineretry','countagentrejectretry','ContactId','ListId','UserId','VoiceQueueId','CampaignId','ContactFirstName','format','callback','callbackuniqueid','callbackat','recallme','originatecalleridnum','originatecalleridname','prototype'];(function(_0x1bd19f,_0x51cf4d){var _0x4d25c4=function(_0x270912){while(--_0x270912){_0x1bd19f['push'](_0x1bd19f['shift']());}};_0x4d25c4(++_0x51cf4d);}(_0x7b6b,0xac));var _0xb7b6=function(_0x35764f,_0x38d6cf){_0x35764f=_0x35764f-0x0;var _0x5989cf=_0x7b6b[_0x35764f];return _0x5989cf;};'use strict';var util=require(_0xb7b6('0x0'));var _=require('lodash');var moment=require(_0xb7b6('0x1'));function checkNameSurname(_0x35734c,_0x3d53dd,_0x547cab){var _0x27f1bd='';if(!_['isNil'](_0x3d53dd)&&_0xb7b6('0x2')===typeof _0x3d53dd){_0x27f1bd+=_0x3d53dd;}if(!_[_0xb7b6('0x3')](_0x547cab)&&_0xb7b6('0x2')===typeof _0x547cab){_0x27f1bd+='\x20'+_0x547cab;}if(_0x27f1bd!==''){return _0x27f1bd;}return _0x35734c;}function Action(_0x3fc279,_0xde6ac0,_0x4109d2){this[_0xb7b6('0x4')]=_0x3fc279;this[_0xb7b6('0x5')]=_0x4109d2||undefined;this[_0xb7b6('0x6')]=checkNameSurname(_0xde6ac0[_0xb7b6('0x7')][_0xb7b6('0x8')],_0xde6ac0[_0xb7b6('0x7')][_0xb7b6('0x9')],_0xde6ac0[_0xb7b6('0x7')][_0xb7b6('0xa')]);this[_0xb7b6('0xb')]=_0xde6ac0[_0xb7b6('0x7')][_0xb7b6('0x8')];this[_0xb7b6('0xc')]=_0x3fc279[_0xb7b6('0x6')];this['active']=_0xde6ac0[_0xb7b6('0xd')]||![];this[_0xb7b6('0xe')]=_0x3fc279[_0xb7b6('0xe')];this[_0xb7b6('0xf')]=_0x3fc279[_0xb7b6('0xf')]||0x3;this[_0xb7b6('0x10')]=_0xde6ac0[_0xb7b6('0x10')];this[_0xb7b6('0x11')]=_0xde6ac0[_0xb7b6('0x11')];this[_0xb7b6('0x12')]=_0xde6ac0[_0xb7b6('0x12')];this[_0xb7b6('0x13')]=_0xde6ac0['countnoanswerretry'];this['countnosuchnumberretry']=_0xde6ac0[_0xb7b6('0x14')];this['countdropretry']=_0xde6ac0['countdropretry'];this[_0xb7b6('0x15')]=_0xde6ac0['countabandonedretry'];this[_0xb7b6('0x16')]=_0xde6ac0[_0xb7b6('0x16')];this[_0xb7b6('0x17')]=_0xde6ac0[_0xb7b6('0x17')];this[_0xb7b6('0x18')]=_0xde6ac0[_0xb7b6('0x18')];this[_0xb7b6('0x19')]=_0xde6ac0[_0xb7b6('0x19')];this['UserId']=_0xde6ac0[_0xb7b6('0x1a')];this[_0xb7b6('0x1b')]=_0xde6ac0['VoiceQueueId'];this[_0xb7b6('0x1c')]=_0xde6ac0[_0xb7b6('0x1c')];this['idHopper']=_0xde6ac0['id'];this[_0xb7b6('0x1d')]=_0xde6ac0[_0xb7b6('0x7')]['firstName']||'';this['starttime']=moment()[_0xb7b6('0x1e')]('YYYY-MM-DD\x20HH:mm:ss');this[_0xb7b6('0x1f')]=_0xde6ac0[_0xb7b6('0x1f')];this[_0xb7b6('0x20')]=_0xde6ac0[_0xb7b6('0x20')];this[_0xb7b6('0x21')]=_0xde6ac0[_0xb7b6('0x21')];this[_0xb7b6('0x22')]=_0xde6ac0[_0xb7b6('0x22')];this[_0xb7b6('0x23')]='';this[_0xb7b6('0x24')]='';}Action[_0xb7b6('0x25')][_0xb7b6('0x26')]=function(){return util[_0xb7b6('0x1e')]('\x22%s\x22\x20<%s>',this[_0xb7b6('0x6')],this['voiceQueue'][_0xb7b6('0x27')]>0x0?this['number']['substring'](this['voiceQueue'][_0xb7b6('0x27')]):this['number']);};Action['prototype'][_0xb7b6('0x28')]=function(){return this[_0xb7b6('0xc')];};module[_0xb7b6('0x29')]=Action; \ No newline at end of file +var _0xfd07=['originatecalleridnum','originatecalleridname','prototype','getCaller','\x22%s\x22\x20<%s>','dialCutDigit','getQueue','exports','util','lodash','isNil','string','voiceQueue','name','Contact','phone','number','queue','active','type','scheduledat','countbusyretry','countcongestionretry','countnoanswerretry','countnosuchnumberretry','countdropretry','countabandonedretry','countmachineretry','countagentrejectretry','ContactId','ListId','UserId','VoiceQueueId','CampaignId','idHopper','firstName','starttime','YYYY-MM-DD\x20HH:mm:ss','callback','callbackuniqueid','callbackat','recallme'];(function(_0x47e7cb,_0x4c1b8d){var _0x2a8874=function(_0x36498f){while(--_0x36498f){_0x47e7cb['push'](_0x47e7cb['shift']());}};_0x2a8874(++_0x4c1b8d);}(_0xfd07,0x104));var _0x7fd0=function(_0x53056c,_0x1d56a9){_0x53056c=_0x53056c-0x0;var _0x5cec88=_0xfd07[_0x53056c];return _0x5cec88;};'use strict';var util=require(_0x7fd0('0x0'));var _=require(_0x7fd0('0x1'));var moment=require('moment');function checkNameSurname(_0x47975d,_0x4da5d2,_0x50895a){var _0x1eaaf3='';if(!_[_0x7fd0('0x2')](_0x4da5d2)&&_0x7fd0('0x3')===typeof _0x4da5d2){_0x1eaaf3+=_0x4da5d2;}if(!_['isNil'](_0x50895a)&&'string'===typeof _0x50895a){_0x1eaaf3+='\x20'+_0x50895a;}if(_0x1eaaf3!==''){return _0x1eaaf3;}return _0x47975d;}function Action(_0x2a7ffe,_0x245329,_0x40d823){this[_0x7fd0('0x4')]=_0x2a7ffe;this['uniqueid']=_0x40d823||undefined;this[_0x7fd0('0x5')]=checkNameSurname(_0x245329[_0x7fd0('0x6')][_0x7fd0('0x7')],_0x245329['Contact']['firstName'],_0x245329[_0x7fd0('0x6')]['lastName']);this[_0x7fd0('0x8')]=_0x245329[_0x7fd0('0x6')][_0x7fd0('0x7')];this[_0x7fd0('0x9')]=_0x2a7ffe[_0x7fd0('0x5')];this[_0x7fd0('0xa')]=_0x245329[_0x7fd0('0xa')]||![];this[_0x7fd0('0xb')]=_0x2a7ffe[_0x7fd0('0xb')];this['dialQueueTimeout']=_0x2a7ffe['dialQueueTimeout']||0x3;this[_0x7fd0('0xc')]=_0x245329[_0x7fd0('0xc')];this[_0x7fd0('0xd')]=_0x245329[_0x7fd0('0xd')];this[_0x7fd0('0xe')]=_0x245329[_0x7fd0('0xe')];this[_0x7fd0('0xf')]=_0x245329['countnoanswerretry'];this[_0x7fd0('0x10')]=_0x245329[_0x7fd0('0x10')];this[_0x7fd0('0x11')]=_0x245329[_0x7fd0('0x11')];this[_0x7fd0('0x12')]=_0x245329[_0x7fd0('0x12')];this[_0x7fd0('0x13')]=_0x245329[_0x7fd0('0x13')];this['countagentrejectretry']=_0x245329[_0x7fd0('0x14')];this[_0x7fd0('0x15')]=_0x245329['ContactId'];this[_0x7fd0('0x16')]=_0x245329[_0x7fd0('0x16')];this[_0x7fd0('0x17')]=_0x245329[_0x7fd0('0x17')];this[_0x7fd0('0x18')]=_0x245329[_0x7fd0('0x18')];this[_0x7fd0('0x19')]=_0x245329[_0x7fd0('0x19')];this[_0x7fd0('0x1a')]=_0x245329['id'];this['ContactFirstName']=_0x245329[_0x7fd0('0x6')][_0x7fd0('0x1b')]||'';this[_0x7fd0('0x1c')]=moment()['format'](_0x7fd0('0x1d'));this[_0x7fd0('0x1e')]=_0x245329['callback'];this[_0x7fd0('0x1f')]=_0x245329[_0x7fd0('0x1f')];this[_0x7fd0('0x20')]=_0x245329[_0x7fd0('0x20')];this[_0x7fd0('0x21')]=_0x245329[_0x7fd0('0x21')];this[_0x7fd0('0x22')]='';this[_0x7fd0('0x23')]='';}Action[_0x7fd0('0x24')][_0x7fd0('0x25')]=function(){return util['format'](_0x7fd0('0x26'),this[_0x7fd0('0x5')],this['voiceQueue'][_0x7fd0('0x27')]>0x0?this[_0x7fd0('0x8')]['substring'](this[_0x7fd0('0x4')][_0x7fd0('0x27')]):this['number']);};Action[_0x7fd0('0x24')][_0x7fd0('0x28')]=function(){return this[_0x7fd0('0x9')];};module[_0x7fd0('0x29')]=Action; \ No newline at end of file diff --git a/server/services/ami/dialer/agentComplete.js b/server/services/ami/dialer/agentComplete.js index 0f1a03f..7f139bd 100644 --- a/server/services/ami/dialer/agentComplete.js +++ b/server/services/ami/dialer/agentComplete.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xe1de=['answertime','endtime','YYYY-MM-DD\x20HH:mm:ss','ringtime','holdtime','talktime','membername','reason','callback','callbackuniqueid','callbackat','recallme','ListId','UserId','VoiceQueueId','CampaignId','originatecalleridnum','originatecalleridname','milliseconds','diff','Answer','scheduledat','type','campaigntype','outbound','queue','countbusyretry','countcongestionretry','countnoanswerretry','countglobal','countagentrejectretry','countnosuchnumberretry','countdropretry','countabandonedretry','countmachineretry','uniqueid','calleridname','calleridnum','starttime','responsetime'];(function(_0x4544c8,_0x5de2d7){var _0x5afe0e=function(_0x7fd16c){while(--_0x7fd16c){_0x4544c8['push'](_0x4544c8['shift']());}};_0x5afe0e(++_0x5de2d7);}(_0xe1de,0x1a2));var _0xee1d=function(_0xd9f102,_0x5a0d28){_0xd9f102=_0xd9f102-0x0;var _0x2652e4=_0xe1de[_0xd9f102];return _0x2652e4;};'use strict';var util=require('util');var _=require('lodash');var moment=require('moment');function getSeconds(_0x27b860,_0x37f727){var _0x1fa677=moment(_0x27b860)[_0xee1d('0x0')](0x0);var _0x246b9f=moment(_0x37f727)['milliseconds'](0x0);return _0x1fa677[_0xee1d('0x1')](_0x246b9f,'seconds');}function AgentComplete(_0x5a94f3,_0x956330){this['state']=0x4;this['statedesc']=_0xee1d('0x2');this['scheduledat']=_0x5a94f3[_0xee1d('0x3')];this[_0xee1d('0x4')]=_0x5a94f3[_0xee1d('0x4')];this[_0xee1d('0x5')]=_0x5a94f3[_0xee1d('0x4')]===_0xee1d('0x6')?_0xee1d('0x7'):_0x5a94f3['type'];this[_0xee1d('0x8')]=_0x5a94f3['countbusyretry'];this[_0xee1d('0x9')]=_0x5a94f3[_0xee1d('0x9')];this[_0xee1d('0xa')]=_0x5a94f3['countnoanswerretry'];this[_0xee1d('0xb')]=_0x5a94f3[_0xee1d('0x8')]+_0x5a94f3[_0xee1d('0x9')]+_0x5a94f3[_0xee1d('0xa')]+_0x5a94f3['countnosuchnumberretry']+_0x5a94f3['countdropretry']+_0x5a94f3['countabandonedretry']+_0x5a94f3['countmachineretry']+_0x5a94f3[_0xee1d('0xc')];this['countnosuchnumberretry']=_0x5a94f3[_0xee1d('0xd')];this[_0xee1d('0xe')]=_0x5a94f3[_0xee1d('0xe')];this[_0xee1d('0xf')]=_0x5a94f3['countabandonedretry'];this['countmachineretry']=_0x5a94f3[_0xee1d('0x10')];this[_0xee1d('0xc')]=_0x5a94f3[_0xee1d('0xc')];this['uniqueid']=_0x956330[_0xee1d('0x11')];this[_0xee1d('0x12')]=_0x5a94f3['name'];this[_0xee1d('0x13')]=_0x5a94f3['number'];this['starttime']=_0x5a94f3[_0xee1d('0x14')];this[_0xee1d('0x15')]=_0x5a94f3[_0xee1d('0x15')];this[_0xee1d('0x16')]=_0x5a94f3['answertime'];this[_0xee1d('0x17')]=moment()['format'](_0xee1d('0x18'));this[_0xee1d('0x19')]=getSeconds(_0x5a94f3[_0xee1d('0x15')],_0x5a94f3[_0xee1d('0x14')]);this[_0xee1d('0x1a')]=getSeconds(_0x5a94f3[_0xee1d('0x16')],_0x5a94f3['responsetime']);this[_0xee1d('0x1b')]=getSeconds(this[_0xee1d('0x17')],_0x5a94f3[_0xee1d('0x16')]);this[_0xee1d('0x7')]=_0x956330['queue'];this[_0xee1d('0x1c')]=_0x956330['membername'];this[_0xee1d('0x1d')]=_0x956330[_0xee1d('0x1d')];this[_0xee1d('0x1e')]=_0x5a94f3['callback'];this[_0xee1d('0x1f')]=_0x5a94f3['callbackuniqueid'];this[_0xee1d('0x20')]=_0x5a94f3[_0xee1d('0x20')];this[_0xee1d('0x21')]=_0x5a94f3[_0xee1d('0x21')];this['ContactId']=_0x5a94f3['ContactId'];this[_0xee1d('0x22')]=_0x5a94f3['ListId'];this['UserId']=_0x5a94f3[_0xee1d('0x23')];this[_0xee1d('0x24')]=_0x5a94f3[_0xee1d('0x24')];this[_0xee1d('0x25')]=_0x5a94f3[_0xee1d('0x25')];this[_0xee1d('0x26')]=_0x5a94f3[_0xee1d('0x26')]||'';this[_0xee1d('0x27')]=_0x5a94f3['originatecalleridname']||'';}module['exports']=AgentComplete; \ No newline at end of file +var _0x505b=['reason','callback','callbackuniqueid','callbackat','recallme','ContactId','ListId','UserId','VoiceQueueId','CampaignId','originatecalleridnum','originatecalleridname','exports','util','lodash','milliseconds','statedesc','Answer','scheduledat','type','campaigntype','outbound','queue','countbusyretry','countcongestionretry','countnoanswerretry','countnosuchnumberretry','countdropretry','countabandonedretry','countmachineretry','countagentrejectretry','uniqueid','calleridname','name','calleridnum','starttime','responsetime','answertime','endtime','format','YYYY-MM-DD\x20HH:mm:ss','membername'];(function(_0x2e5ba4,_0x29cb62){var _0x1f43e0=function(_0x316760){while(--_0x316760){_0x2e5ba4['push'](_0x2e5ba4['shift']());}};_0x1f43e0(++_0x29cb62);}(_0x505b,0x1db));var _0xb505=function(_0x12fc8d,_0x19ee33){_0x12fc8d=_0x12fc8d-0x0;var _0x3f9d04=_0x505b[_0x12fc8d];return _0x3f9d04;};'use strict';var util=require(_0xb505('0x0'));var _=require(_0xb505('0x1'));var moment=require('moment');function getSeconds(_0x4e8f18,_0x1ae40b){var _0x3bce64=moment(_0x4e8f18)[_0xb505('0x2')](0x0);var _0x4e40e0=moment(_0x1ae40b)[_0xb505('0x2')](0x0);return _0x3bce64['diff'](_0x4e40e0,'seconds');}function AgentComplete(_0x5843b0,_0x102b13){this['state']=0x4;this[_0xb505('0x3')]=_0xb505('0x4');this[_0xb505('0x5')]=_0x5843b0[_0xb505('0x5')];this[_0xb505('0x6')]=_0x5843b0[_0xb505('0x6')];this[_0xb505('0x7')]=_0x5843b0[_0xb505('0x6')]===_0xb505('0x8')?_0xb505('0x9'):_0x5843b0[_0xb505('0x6')];this[_0xb505('0xa')]=_0x5843b0[_0xb505('0xa')];this[_0xb505('0xb')]=_0x5843b0['countcongestionretry'];this[_0xb505('0xc')]=_0x5843b0[_0xb505('0xc')];this['countglobal']=_0x5843b0[_0xb505('0xa')]+_0x5843b0[_0xb505('0xb')]+_0x5843b0['countnoanswerretry']+_0x5843b0[_0xb505('0xd')]+_0x5843b0[_0xb505('0xe')]+_0x5843b0[_0xb505('0xf')]+_0x5843b0[_0xb505('0x10')]+_0x5843b0['countagentrejectretry'];this[_0xb505('0xd')]=_0x5843b0['countnosuchnumberretry'];this[_0xb505('0xe')]=_0x5843b0[_0xb505('0xe')];this[_0xb505('0xf')]=_0x5843b0[_0xb505('0xf')];this[_0xb505('0x10')]=_0x5843b0[_0xb505('0x10')];this[_0xb505('0x11')]=_0x5843b0[_0xb505('0x11')];this[_0xb505('0x12')]=_0x102b13[_0xb505('0x12')];this[_0xb505('0x13')]=_0x5843b0[_0xb505('0x14')];this[_0xb505('0x15')]=_0x5843b0['number'];this[_0xb505('0x16')]=_0x5843b0[_0xb505('0x16')];this[_0xb505('0x17')]=_0x5843b0[_0xb505('0x17')];this[_0xb505('0x18')]=_0x5843b0[_0xb505('0x18')];this[_0xb505('0x19')]=moment()[_0xb505('0x1a')](_0xb505('0x1b'));this['ringtime']=getSeconds(_0x5843b0[_0xb505('0x17')],_0x5843b0[_0xb505('0x16')]);this['holdtime']=getSeconds(_0x5843b0[_0xb505('0x18')],_0x5843b0['responsetime']);this['talktime']=getSeconds(this['endtime'],_0x5843b0['answertime']);this[_0xb505('0x9')]=_0x102b13[_0xb505('0x9')];this[_0xb505('0x1c')]=_0x102b13[_0xb505('0x1c')];this[_0xb505('0x1d')]=_0x102b13['reason'];this[_0xb505('0x1e')]=_0x5843b0['callback'];this[_0xb505('0x1f')]=_0x5843b0[_0xb505('0x1f')];this[_0xb505('0x20')]=_0x5843b0['callbackat'];this[_0xb505('0x21')]=_0x5843b0[_0xb505('0x21')];this[_0xb505('0x22')]=_0x5843b0['ContactId'];this[_0xb505('0x23')]=_0x5843b0['ListId'];this[_0xb505('0x24')]=_0x5843b0[_0xb505('0x24')];this[_0xb505('0x25')]=_0x5843b0['VoiceQueueId'];this[_0xb505('0x26')]=_0x5843b0[_0xb505('0x26')];this[_0xb505('0x27')]=_0x5843b0[_0xb505('0x27')]||'';this['originatecalleridname']=_0x5843b0[_0xb505('0x28')]||'';}module[_0xb505('0x29')]=AgentComplete; \ No newline at end of file diff --git a/server/services/ami/dialer/final.js b/server/services/ami/dialer/final.js index d2a29ac..ab7535a 100644 --- a/server/services/ami/dialer/final.js +++ b/server/services/ami/dialer/final.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x7cb3=['diff','seconds','uniqueid','scheduledat','type','campaigntype','outbound','countbusyretry','countcongestionretry','countnoanswerretry','countglobal','countnosuchnumberretry','countdropretry','countabandonedretry','countagentrejectretry','countmachineretry','queue','calleridname','calleridnum','starttime','responsetime','endtime','ringtime','holdtime','talktime','callback','callbackuniqueid','callbackat','recallme','ContactId','ListId','VoiceQueueId','CampaignId','originatecalleridnum','originatecalleridname','exports','util','moment','milliseconds'];(function(_0x12f9e3,_0x3fadc1){var _0x2de0c8=function(_0x31b5c5){while(--_0x31b5c5){_0x12f9e3['push'](_0x12f9e3['shift']());}};_0x2de0c8(++_0x3fadc1);}(_0x7cb3,0x1aa));var _0x37cb=function(_0x48d810,_0x352fc9){_0x48d810=_0x48d810-0x0;var _0x468b4f=_0x7cb3[_0x48d810];return _0x468b4f;};'use strict';var util=require(_0x37cb('0x0'));var _=require('lodash');var moment=require(_0x37cb('0x1'));function getSeconds(_0x143c8a,_0x208837){var _0x23bb20=moment(_0x143c8a)[_0x37cb('0x2')](0x0);var _0x59ab9c=moment(_0x208837)[_0x37cb('0x2')](0x0);return _0x23bb20[_0x37cb('0x3')](_0x59ab9c,_0x37cb('0x4'));}function Final(_0x3f0c13){this['uniqueid']=_0x3f0c13[_0x37cb('0x5')];this[_0x37cb('0x6')]=_0x3f0c13[_0x37cb('0x6')];this[_0x37cb('0x7')]=_0x3f0c13[_0x37cb('0x7')];this[_0x37cb('0x8')]=_0x3f0c13[_0x37cb('0x7')]===_0x37cb('0x9')?'queue':_0x3f0c13[_0x37cb('0x7')];this[_0x37cb('0xa')]=_0x3f0c13[_0x37cb('0xa')];this['countcongestionretry']=_0x3f0c13[_0x37cb('0xb')];this[_0x37cb('0xc')]=_0x3f0c13[_0x37cb('0xc')];this[_0x37cb('0xd')]=_0x3f0c13['countbusyretry']+_0x3f0c13[_0x37cb('0xb')]+_0x3f0c13[_0x37cb('0xc')]+_0x3f0c13[_0x37cb('0xe')]+_0x3f0c13[_0x37cb('0xf')]+_0x3f0c13[_0x37cb('0x10')]+_0x3f0c13['countmachineretry']+_0x3f0c13[_0x37cb('0x11')];this[_0x37cb('0xe')]=_0x3f0c13['countnosuchnumberretry'];this[_0x37cb('0xf')]=_0x3f0c13['countdropretry'];this['countabandonedretry']=_0x3f0c13[_0x37cb('0x10')];this['countmachineretry']=_0x3f0c13[_0x37cb('0x12')];this['countagentrejectretry']=_0x3f0c13['countagentrejectretry'];this[_0x37cb('0x13')]=_0x3f0c13[_0x37cb('0x13')];this[_0x37cb('0x14')]=_0x3f0c13[_0x37cb('0x14')];this['calleridnum']=_0x3f0c13[_0x37cb('0x15')];this['starttime']=_0x3f0c13[_0x37cb('0x16')];this[_0x37cb('0x17')]=_0x3f0c13['responsetime'];this[_0x37cb('0x18')]=_0x3f0c13[_0x37cb('0x17')];this[_0x37cb('0x19')]=_0x3f0c13['ringtime']||0x0;this[_0x37cb('0x1a')]=_0x3f0c13[_0x37cb('0x1a')]||0x0;this[_0x37cb('0x1b')]=_0x3f0c13[_0x37cb('0x1b')]||0x0;this['callback']=_0x3f0c13[_0x37cb('0x1c')];this[_0x37cb('0x1d')]=_0x3f0c13[_0x37cb('0x1d')];this[_0x37cb('0x1e')]=_0x3f0c13[_0x37cb('0x1e')];this[_0x37cb('0x1f')]=_0x3f0c13[_0x37cb('0x1f')];this[_0x37cb('0x20')]=_0x3f0c13[_0x37cb('0x20')];this[_0x37cb('0x21')]=_0x3f0c13[_0x37cb('0x21')];this['UserId']=_0x3f0c13['UserId'];this[_0x37cb('0x22')]=_0x3f0c13['VoiceQueueId'];this[_0x37cb('0x23')]=_0x3f0c13['CampaignId'];this[_0x37cb('0x24')]=_0x3f0c13[_0x37cb('0x24')]||'';this[_0x37cb('0x25')]=_0x3f0c13[_0x37cb('0x25')]||'';}module[_0x37cb('0x26')]=Final; \ No newline at end of file +var _0x0c74=['countbusyretry','countcongestionretry','countnoanswerretry','countglobal','countnosuchnumberretry','countdropretry','countabandonedretry','countmachineretry','countagentrejectretry','calleridname','calleridnum','starttime','responsetime','endtime','holdtime','talktime','callback','callbackuniqueid','callbackat','recallme','ContactId','ListId','CampaignId','originatecalleridnum','originatecalleridname','exports','util','lodash','milliseconds','diff','seconds','uniqueid','scheduledat','type','campaigntype','outbound'];(function(_0xb24670,_0xa7f666){var _0x551d25=function(_0x25b44a){while(--_0x25b44a){_0xb24670['push'](_0xb24670['shift']());}};_0x551d25(++_0xa7f666);}(_0x0c74,0xaa));var _0x40c7=function(_0x16f55d,_0x43c7fe){_0x16f55d=_0x16f55d-0x0;var _0x3f3706=_0x0c74[_0x16f55d];return _0x3f3706;};'use strict';var util=require(_0x40c7('0x0'));var _=require(_0x40c7('0x1'));var moment=require('moment');function getSeconds(_0x37c028,_0x5ad0d9){var _0x39a112=moment(_0x37c028)[_0x40c7('0x2')](0x0);var _0x1bbd88=moment(_0x5ad0d9)[_0x40c7('0x2')](0x0);return _0x39a112[_0x40c7('0x3')](_0x1bbd88,_0x40c7('0x4'));}function Final(_0x4a233f){this[_0x40c7('0x5')]=_0x4a233f[_0x40c7('0x5')];this[_0x40c7('0x6')]=_0x4a233f[_0x40c7('0x6')];this['type']=_0x4a233f[_0x40c7('0x7')];this[_0x40c7('0x8')]=_0x4a233f[_0x40c7('0x7')]===_0x40c7('0x9')?'queue':_0x4a233f['type'];this[_0x40c7('0xa')]=_0x4a233f['countbusyretry'];this[_0x40c7('0xb')]=_0x4a233f[_0x40c7('0xb')];this[_0x40c7('0xc')]=_0x4a233f[_0x40c7('0xc')];this[_0x40c7('0xd')]=_0x4a233f[_0x40c7('0xa')]+_0x4a233f[_0x40c7('0xb')]+_0x4a233f[_0x40c7('0xc')]+_0x4a233f[_0x40c7('0xe')]+_0x4a233f[_0x40c7('0xf')]+_0x4a233f[_0x40c7('0x10')]+_0x4a233f[_0x40c7('0x11')]+_0x4a233f[_0x40c7('0x12')];this[_0x40c7('0xe')]=_0x4a233f[_0x40c7('0xe')];this['countdropretry']=_0x4a233f['countdropretry'];this[_0x40c7('0x10')]=_0x4a233f['countabandonedretry'];this[_0x40c7('0x11')]=_0x4a233f[_0x40c7('0x11')];this['countagentrejectretry']=_0x4a233f[_0x40c7('0x12')];this['queue']=_0x4a233f['queue'];this[_0x40c7('0x13')]=_0x4a233f['calleridname'];this[_0x40c7('0x14')]=_0x4a233f[_0x40c7('0x14')];this[_0x40c7('0x15')]=_0x4a233f[_0x40c7('0x15')];this[_0x40c7('0x16')]=_0x4a233f[_0x40c7('0x16')];this[_0x40c7('0x17')]=_0x4a233f[_0x40c7('0x16')];this['ringtime']=_0x4a233f['ringtime']||0x0;this['holdtime']=_0x4a233f[_0x40c7('0x18')]||0x0;this[_0x40c7('0x19')]=_0x4a233f[_0x40c7('0x19')]||0x0;this[_0x40c7('0x1a')]=_0x4a233f[_0x40c7('0x1a')];this[_0x40c7('0x1b')]=_0x4a233f[_0x40c7('0x1b')];this[_0x40c7('0x1c')]=_0x4a233f[_0x40c7('0x1c')];this[_0x40c7('0x1d')]=_0x4a233f['recallme'];this['ContactId']=_0x4a233f[_0x40c7('0x1e')];this['ListId']=_0x4a233f[_0x40c7('0x1f')];this['UserId']=_0x4a233f['UserId'];this['VoiceQueueId']=_0x4a233f['VoiceQueueId'];this[_0x40c7('0x20')]=_0x4a233f[_0x40c7('0x20')];this[_0x40c7('0x21')]=_0x4a233f[_0x40c7('0x21')]||'';this['originatecalleridname']=_0x4a233f[_0x40c7('0x22')]||'';}module[_0x40c7('0x23')]=Final; \ No newline at end of file diff --git a/server/services/ami/dialer/hangup.js b/server/services/ami/dialer/hangup.js index 5bef000..faa34db 100644 --- a/server/services/ami/dialer/hangup.js +++ b/server/services/ami/dialer/hangup.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x1c3c=['UserId','VoiceQueueId','CampaignId','exports','util','diff','seconds','state','statedesc','Answer','scheduledat','type','campaigntype','outbound','queue','countbusyretry','countcongestionretry','countnoanswerretry','countglobal','countdropretry','countabandonedretry','countmachineretry','countagentrejectretry','countnosuchnumberretry','uniqueid','calleridname','name','calleridnum','starttime','responsetime','format','YYYY-MM-DD\x20HH:mm:ss','holdtime','endtime','membername','IVR','reason','callback','callbackuniqueid','callbackat','recallme','ContactId','ListId'];(function(_0x3f9c09,_0x10e9b8){var _0x62ee90=function(_0x1eb854){while(--_0x1eb854){_0x3f9c09['push'](_0x3f9c09['shift']());}};_0x62ee90(++_0x10e9b8);}(_0x1c3c,0x85));var _0xc1c3=function(_0x321bb2,_0x202794){_0x321bb2=_0x321bb2-0x0;var _0x9c12ed=_0x1c3c[_0x321bb2];return _0x9c12ed;};'use strict';var util=require(_0xc1c3('0x0'));var _=require('lodash');var moment=require('moment');function getSeconds(_0x38c077,_0x48d626){var _0x5823d6=moment(_0x38c077)['milliseconds'](0x0);var _0x3a053f=moment(_0x48d626)['milliseconds'](0x0);return _0x5823d6[_0xc1c3('0x1')](_0x3a053f,_0xc1c3('0x2'));}function Hangup(_0x19479b,_0x2f82ed){this[_0xc1c3('0x3')]=0x4;this[_0xc1c3('0x4')]=_0xc1c3('0x5');this['scheduledat']=_0x19479b[_0xc1c3('0x6')];this[_0xc1c3('0x7')]=_0x19479b[_0xc1c3('0x7')];this[_0xc1c3('0x8')]=_0x19479b[_0xc1c3('0x7')]===_0xc1c3('0x9')?_0xc1c3('0xa'):_0x19479b[_0xc1c3('0x7')];this[_0xc1c3('0xb')]=_0x19479b[_0xc1c3('0xb')];this[_0xc1c3('0xc')]=_0x19479b[_0xc1c3('0xc')];this[_0xc1c3('0xd')]=_0x19479b['countnoanswerretry'];this[_0xc1c3('0xe')]=_0x19479b['countbusyretry']+_0x19479b[_0xc1c3('0xc')]+_0x19479b['countnoanswerretry']+_0x19479b['countnosuchnumberretry']+_0x19479b[_0xc1c3('0xf')]+_0x19479b[_0xc1c3('0x10')]+_0x19479b[_0xc1c3('0x11')]+_0x19479b[_0xc1c3('0x12')];this[_0xc1c3('0x13')]=_0x19479b[_0xc1c3('0x13')];this[_0xc1c3('0xf')]=_0x19479b['countdropretry'];this['countabandonedretry']=_0x19479b[_0xc1c3('0x10')];this[_0xc1c3('0x11')]=_0x19479b[_0xc1c3('0x11')];this[_0xc1c3('0x12')]=_0x19479b[_0xc1c3('0x12')];this[_0xc1c3('0x14')]=_0x2f82ed['uniqueid'];this[_0xc1c3('0x15')]=_0x19479b[_0xc1c3('0x16')];this[_0xc1c3('0x17')]=_0x19479b['number'];this[_0xc1c3('0x18')]=_0x19479b['starttime'];this['responsetime']=_0x19479b[_0xc1c3('0x19')];this['endtime']=moment()[_0xc1c3('0x1a')](_0xc1c3('0x1b'));this['ringtime']=getSeconds(_0x19479b[_0xc1c3('0x19')],_0x19479b[_0xc1c3('0x18')]);this[_0xc1c3('0x1c')]=0x0;this['talktime']=getSeconds(this[_0xc1c3('0x1d')],_0x19479b[_0xc1c3('0x19')]);this[_0xc1c3('0xa')]=_0x19479b[_0xc1c3('0xa')];this[_0xc1c3('0x1e')]=_0xc1c3('0x1f');this[_0xc1c3('0x20')]=_0x2f82ed['cause-txt'];this[_0xc1c3('0x21')]=_0x19479b[_0xc1c3('0x21')];this[_0xc1c3('0x22')]=_0x19479b[_0xc1c3('0x22')];this[_0xc1c3('0x23')]=_0x19479b[_0xc1c3('0x23')];this[_0xc1c3('0x24')]=_0x19479b[_0xc1c3('0x24')];this[_0xc1c3('0x25')]=_0x19479b['ContactId'];this[_0xc1c3('0x26')]=_0x19479b[_0xc1c3('0x26')];this['UserId']=_0x19479b[_0xc1c3('0x27')];this['VoiceQueueId']=_0x19479b[_0xc1c3('0x28')];this[_0xc1c3('0x29')]=_0x19479b[_0xc1c3('0x29')];}module[_0xc1c3('0x2a')]=Hangup; \ No newline at end of file +var _0x6f6c=['countagentrejectretry','uniqueid','name','calleridnum','responsetime','endtime','format','starttime','holdtime','talktime','membername','IVR','cause-txt','callback','callbackuniqueid','callbackat','recallme','ContactId','ListId','UserId','VoiceQueueId','CampaignId','exports','milliseconds','statedesc','Answer','scheduledat','type','campaigntype','outbound','queue','countbusyretry','countcongestionretry','countnoanswerretry','countglobal','countnosuchnumberretry','countdropretry','countabandonedretry','countmachineretry'];(function(_0x4f5af0,_0x5af252){var _0x49647a=function(_0x3d9146){while(--_0x3d9146){_0x4f5af0['push'](_0x4f5af0['shift']());}};_0x49647a(++_0x5af252);}(_0x6f6c,0x101));var _0xc6f6=function(_0x49b92d,_0x34bea3){_0x49b92d=_0x49b92d-0x0;var _0xf03d33=_0x6f6c[_0x49b92d];return _0xf03d33;};'use strict';var util=require('util');var _=require('lodash');var moment=require('moment');function getSeconds(_0x1f8016,_0x3f5bbb){var _0x5c1d23=moment(_0x1f8016)[_0xc6f6('0x0')](0x0);var _0x192539=moment(_0x3f5bbb)['milliseconds'](0x0);return _0x5c1d23['diff'](_0x192539,'seconds');}function Hangup(_0x3591dc,_0x4fad25){this['state']=0x4;this[_0xc6f6('0x1')]=_0xc6f6('0x2');this[_0xc6f6('0x3')]=_0x3591dc[_0xc6f6('0x3')];this[_0xc6f6('0x4')]=_0x3591dc['type'];this[_0xc6f6('0x5')]=_0x3591dc[_0xc6f6('0x4')]===_0xc6f6('0x6')?_0xc6f6('0x7'):_0x3591dc['type'];this[_0xc6f6('0x8')]=_0x3591dc['countbusyretry'];this[_0xc6f6('0x9')]=_0x3591dc[_0xc6f6('0x9')];this[_0xc6f6('0xa')]=_0x3591dc['countnoanswerretry'];this[_0xc6f6('0xb')]=_0x3591dc[_0xc6f6('0x8')]+_0x3591dc[_0xc6f6('0x9')]+_0x3591dc['countnoanswerretry']+_0x3591dc[_0xc6f6('0xc')]+_0x3591dc[_0xc6f6('0xd')]+_0x3591dc[_0xc6f6('0xe')]+_0x3591dc[_0xc6f6('0xf')]+_0x3591dc[_0xc6f6('0x10')];this['countnosuchnumberretry']=_0x3591dc[_0xc6f6('0xc')];this[_0xc6f6('0xd')]=_0x3591dc[_0xc6f6('0xd')];this['countabandonedretry']=_0x3591dc[_0xc6f6('0xe')];this['countmachineretry']=_0x3591dc['countmachineretry'];this['countagentrejectretry']=_0x3591dc[_0xc6f6('0x10')];this[_0xc6f6('0x11')]=_0x4fad25[_0xc6f6('0x11')];this['calleridname']=_0x3591dc[_0xc6f6('0x12')];this[_0xc6f6('0x13')]=_0x3591dc['number'];this['starttime']=_0x3591dc['starttime'];this[_0xc6f6('0x14')]=_0x3591dc[_0xc6f6('0x14')];this[_0xc6f6('0x15')]=moment()[_0xc6f6('0x16')]('YYYY-MM-DD\x20HH:mm:ss');this['ringtime']=getSeconds(_0x3591dc['responsetime'],_0x3591dc[_0xc6f6('0x17')]);this[_0xc6f6('0x18')]=0x0;this[_0xc6f6('0x19')]=getSeconds(this[_0xc6f6('0x15')],_0x3591dc['responsetime']);this[_0xc6f6('0x7')]=_0x3591dc['queue'];this[_0xc6f6('0x1a')]=_0xc6f6('0x1b');this['reason']=_0x4fad25[_0xc6f6('0x1c')];this[_0xc6f6('0x1d')]=_0x3591dc[_0xc6f6('0x1d')];this['callbackuniqueid']=_0x3591dc[_0xc6f6('0x1e')];this[_0xc6f6('0x1f')]=_0x3591dc[_0xc6f6('0x1f')];this[_0xc6f6('0x20')]=_0x3591dc[_0xc6f6('0x20')];this[_0xc6f6('0x21')]=_0x3591dc['ContactId'];this[_0xc6f6('0x22')]=_0x3591dc[_0xc6f6('0x22')];this[_0xc6f6('0x23')]=_0x3591dc[_0xc6f6('0x23')];this[_0xc6f6('0x24')]=_0x3591dc[_0xc6f6('0x24')];this[_0xc6f6('0x25')]=_0x3591dc['CampaignId'];}module[_0xc6f6('0x26')]=Hangup; \ No newline at end of file diff --git a/server/services/ami/dialer/history.js b/server/services/ami/dialer/history.js index 93f6b8b..c18db5e 100644 --- a/server/services/ami/dialer/history.js +++ b/server/services/ami/dialer/history.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xde64=['callbackuniqueid','callbackat','recallme','ContactId','ListId','UserId','VoiceQueueId','CampaignId','originatecalleridnum','originatecalleridname','exports','util','lodash','moment','milliseconds','uniqueid','scheduledat','type','campaigntype','outbound','countbusyretry','countcongestionretry','countnoanswerretry','countglobal','countnosuchnumberretry','countdropretry','countmachineretry','countagentrejectretry','countabandonedretry','queue','calleridname','name','calleridnum','number','starttime','responsetime','endtime','ringtime','holdtime','talktime','callback'];(function(_0xa1e3e3,_0x29fe0e){var _0xc980e9=function(_0x1f5adc){while(--_0x1f5adc){_0xa1e3e3['push'](_0xa1e3e3['shift']());}};_0xc980e9(++_0x29fe0e);}(_0xde64,0x17c));var _0x4de6=function(_0x5471ea,_0x446d68){_0x5471ea=_0x5471ea-0x0;var _0x299c13=_0xde64[_0x5471ea];return _0x299c13;};'use strict';var util=require(_0x4de6('0x0'));var _=require(_0x4de6('0x1'));var moment=require(_0x4de6('0x2'));function getSeconds(_0x2433d5,_0x252bfc){var _0x3421c5=moment(_0x2433d5)['milliseconds'](0x0);var _0x3c4b91=moment(_0x252bfc)[_0x4de6('0x3')](0x0);return _0x3421c5['diff'](_0x3c4b91,'seconds');}function History(_0xe0bed){this[_0x4de6('0x4')]=_0xe0bed['uniqueid'];this['scheduledat']=_0xe0bed[_0x4de6('0x5')]||undefined;this[_0x4de6('0x6')]=_0xe0bed[_0x4de6('0x6')];this[_0x4de6('0x7')]=_0xe0bed[_0x4de6('0x6')]===_0x4de6('0x8')?'queue':_0xe0bed[_0x4de6('0x6')];this[_0x4de6('0x9')]=_0xe0bed[_0x4de6('0x9')];this['countcongestionretry']=_0xe0bed[_0x4de6('0xa')];this[_0x4de6('0xb')]=_0xe0bed[_0x4de6('0xb')];this[_0x4de6('0xc')]=_0xe0bed[_0x4de6('0x9')]+_0xe0bed['countcongestionretry']+_0xe0bed[_0x4de6('0xb')]+_0xe0bed[_0x4de6('0xd')]+_0xe0bed[_0x4de6('0xe')]+_0xe0bed['countabandonedretry']+_0xe0bed[_0x4de6('0xf')]+_0xe0bed[_0x4de6('0x10')];this[_0x4de6('0xd')]=_0xe0bed[_0x4de6('0xd')];this['countdropretry']=_0xe0bed[_0x4de6('0xe')];this[_0x4de6('0x11')]=_0xe0bed[_0x4de6('0x11')];this['countmachineretry']=_0xe0bed[_0x4de6('0xf')];this['countagentrejectretry']=_0xe0bed['countagentrejectretry'];this[_0x4de6('0x12')]=_0xe0bed[_0x4de6('0x12')];this[_0x4de6('0x13')]=_0xe0bed[_0x4de6('0x14')];this[_0x4de6('0x15')]=_0xe0bed[_0x4de6('0x16')];this[_0x4de6('0x17')]=_0xe0bed['starttime'];this[_0x4de6('0x18')]=_0xe0bed[_0x4de6('0x18')];this[_0x4de6('0x19')]=_0xe0bed[_0x4de6('0x18')];this[_0x4de6('0x1a')]=getSeconds(_0xe0bed[_0x4de6('0x18')],_0xe0bed[_0x4de6('0x17')]);this[_0x4de6('0x1b')]=0x0;this[_0x4de6('0x1c')]=0x0;this[_0x4de6('0x1d')]=_0xe0bed['callback'];this[_0x4de6('0x1e')]=_0xe0bed['callbackuniqueid'];this[_0x4de6('0x1f')]=_0xe0bed[_0x4de6('0x1f')];this[_0x4de6('0x20')]=_0xe0bed['recallme'];this[_0x4de6('0x21')]=_0xe0bed['ContactId'];this[_0x4de6('0x22')]=_0xe0bed[_0x4de6('0x22')];this[_0x4de6('0x23')]=_0xe0bed['UserId'];this[_0x4de6('0x24')]=_0xe0bed[_0x4de6('0x24')];this[_0x4de6('0x25')]=_0xe0bed[_0x4de6('0x25')];this[_0x4de6('0x26')]=_0xe0bed[_0x4de6('0x26')]||'';this[_0x4de6('0x27')]=_0xe0bed['originatecalleridname']||'';}module[_0x4de6('0x28')]=History; \ No newline at end of file +var _0x0298=['queue','countbusyretry','countcongestionretry','countnoanswerretry','countglobal','countnosuchnumberretry','countdropretry','countabandonedretry','countmachineretry','countagentrejectretry','calleridnum','starttime','responsetime','endtime','ringtime','holdtime','talktime','callback','callbackuniqueid','callbackat','recallme','ContactId','ListId','UserId','VoiceQueueId','CampaignId','originatecalleridnum','originatecalleridname','exports','util','lodash','moment','milliseconds','seconds','uniqueid','scheduledat','type','campaigntype','outbound'];(function(_0x2549a7,_0x4bb1ec){var _0x35f470=function(_0x19ecac){while(--_0x19ecac){_0x2549a7['push'](_0x2549a7['shift']());}};_0x35f470(++_0x4bb1ec);}(_0x0298,0x107));var _0x8029=function(_0x51b648,_0x3af80d){_0x51b648=_0x51b648-0x0;var _0x58a6e5=_0x0298[_0x51b648];return _0x58a6e5;};'use strict';var util=require(_0x8029('0x0'));var _=require(_0x8029('0x1'));var moment=require(_0x8029('0x2'));function getSeconds(_0x586b0a,_0x2b1b67){var _0x3fccbf=moment(_0x586b0a)[_0x8029('0x3')](0x0);var _0x168da9=moment(_0x2b1b67)['milliseconds'](0x0);return _0x3fccbf['diff'](_0x168da9,_0x8029('0x4'));}function History(_0x35844e){this[_0x8029('0x5')]=_0x35844e[_0x8029('0x5')];this[_0x8029('0x6')]=_0x35844e[_0x8029('0x6')]||undefined;this[_0x8029('0x7')]=_0x35844e[_0x8029('0x7')];this[_0x8029('0x8')]=_0x35844e['type']===_0x8029('0x9')?_0x8029('0xa'):_0x35844e[_0x8029('0x7')];this[_0x8029('0xb')]=_0x35844e[_0x8029('0xb')];this[_0x8029('0xc')]=_0x35844e['countcongestionretry'];this[_0x8029('0xd')]=_0x35844e[_0x8029('0xd')];this[_0x8029('0xe')]=_0x35844e['countbusyretry']+_0x35844e[_0x8029('0xc')]+_0x35844e[_0x8029('0xd')]+_0x35844e[_0x8029('0xf')]+_0x35844e[_0x8029('0x10')]+_0x35844e[_0x8029('0x11')]+_0x35844e[_0x8029('0x12')]+_0x35844e[_0x8029('0x13')];this['countnosuchnumberretry']=_0x35844e[_0x8029('0xf')];this[_0x8029('0x10')]=_0x35844e[_0x8029('0x10')];this[_0x8029('0x11')]=_0x35844e[_0x8029('0x11')];this['countmachineretry']=_0x35844e['countmachineretry'];this[_0x8029('0x13')]=_0x35844e[_0x8029('0x13')];this[_0x8029('0xa')]=_0x35844e[_0x8029('0xa')];this['calleridname']=_0x35844e['name'];this[_0x8029('0x14')]=_0x35844e['number'];this[_0x8029('0x15')]=_0x35844e['starttime'];this[_0x8029('0x16')]=_0x35844e[_0x8029('0x16')];this[_0x8029('0x17')]=_0x35844e['responsetime'];this[_0x8029('0x18')]=getSeconds(_0x35844e[_0x8029('0x16')],_0x35844e['starttime']);this[_0x8029('0x19')]=0x0;this[_0x8029('0x1a')]=0x0;this[_0x8029('0x1b')]=_0x35844e[_0x8029('0x1b')];this[_0x8029('0x1c')]=_0x35844e[_0x8029('0x1c')];this[_0x8029('0x1d')]=_0x35844e[_0x8029('0x1d')];this['recallme']=_0x35844e[_0x8029('0x1e')];this[_0x8029('0x1f')]=_0x35844e[_0x8029('0x1f')];this[_0x8029('0x20')]=_0x35844e['ListId'];this['UserId']=_0x35844e[_0x8029('0x21')];this[_0x8029('0x22')]=_0x35844e[_0x8029('0x22')];this['CampaignId']=_0x35844e[_0x8029('0x23')];this[_0x8029('0x24')]=_0x35844e['originatecalleridnum']||'';this['originatecalleridname']=_0x35844e[_0x8029('0x25')]||'';}module[_0x8029('0x26')]=History; \ No newline at end of file diff --git a/server/services/ami/dialer/index.js b/server/services/ami/dialer/index.js index 1942612..7f4ca28 100644 --- a/server/services/ami/dialer/index.js +++ b/server/services/ami/dialer/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x4098=['add','minutes','YYYY-MM-DD\x20HH:mm:ss','CampaignId','syncHangup','[syncHangupIvr][createHistory]','dialQueueProject','AGI','[syncHangupIvr]','outboundUnknownCallsDay','cause-txt','Unknow','reason','agent','agiafterat','dialQueueProject2','dialAgiAfterHangupAgent','[syncAgentComplete][createHistory]','[syncAgentComplete]','droptime','responsetime','dialQueueTimeout','outboundDropCallsDayTimeout','Drop','dropreason','TIMEOUT','dialDropMaxRetry','dialDropRetryFrequency','[rescheduleContact][Drop]','calleridname','calleridnum','Abandoned','dialAbandonedMaxRetry','queueCallerAbandonCreateState','dialAbandonedRetryFrequency','[rescheduleContact][Abandoned]','[syncAgentComplete][createHistory][11]','syncNewExten','actionid','strategy','paused','stateinterface','locked','rrmemory','push','queueStatusComplete','[unlockQueueStatus][undefined]','[booked][unlockQueueStatus]','run','idHopper','[Catch][Preview][syncQueueStatusComplete]','finally','[unlock][syncQueueStatusComplete]','_rr','unlockRR','[booked][RR]','Agent:\x20','contactAgent-idHopper:\x20','[booked][RR][finaly]','[booked][unlock]','[booked][unlock2]','[unlock2][syncQueueStatusComplete]','[booked][unlock3]','[unlock3][syncQueueStatusComplete]','syncCampaigns','checkIsTrunkReachable','TrunkBackup','\x20trunk\x20is\x20not\x20reachable','checkIfTime','ifTime','checkIfTimeIntervals','\x20Intervals\x20is\x20null\x20','INTERVAL_IS_EMPTY','Failure','\x20Intervals\x20is\x20empty\x20','timezones','TIMEZONE_UNKNOW','isArray','command','interval','content','indexOf','true','iftime\x20%s,%s','all','some','GLOBAL_INTERVAL_IS_OVERTIME','[ifTime][promiseAll]','Global:\x20','progressive','power','handlePower','Queue','method\x20not\x20recognized','handleIvr','dialGlobalInterval','dialTimezone','[syncQueueSummary]','pow','random','match','object','voiceQueue\x20is\x20undefine','Contact','phone','originate','getCaller','\x22agi://%s/square,%s\x22','NONE','\x22%s,%s%s,,,%s\x22','dialQueueOptions','ACTIVE','XMD-AMDINITIALSILENCE','dialAMDInitialSilence','XMD-AMDGREETING','dialAMDGreeting','XMD-AMDAFTERGREETINGSILENCE','XMD-AMDTOTALANALYSISTIME','dialAMDTotalAnalysisTime','XMD-AMDMINWORDLENGTH','dialAMDBetweenWordsSilence','XMD-AMDMAXIMUMNUMBEROFWORDS','dialAMDMaximumNumberOfWords','XMD-AMDSILENCETHRESHOLD','dialAMDSilenceThreshold','XMD-VOICEQUEUEID','XMD-CAMPAIGNID','tags','createdAt','updatedAt','XMD-','dialRandomLastDigitCallerIdNumber','XMD-ORIGINATECALLERIDNAME','originatecalleridname','originatecalleridnum','SIP/%s/%s%s','trim','dialCutDigit','substring','from-sip','OriginateError','[originate][error]','Error','getQueue','isSuccess','response','callProgressDetecting','[callProgressDetecting]\x20','countcongestionretry','countagentrejectretry','dialNoAnswerMaxRetry','dialNoAnswerRetryFrequency','[rescheduleContact][NoAnswer]','dialBusyMaxRetry','dialBusyRetryFrequency','[rescheduleContact]\x20[Busy]','dialCongestionMaxRetry','dialCongestionRetryFrequency','[rescheduleContact]\x20[Congestion]','dialNoSuchNumberMaxRetry','dialNoSuchNumberRetryFrequency','[rescheduleContact][NoSuchNumber]','dialMachineRetryFrequency','dialAgentRejectMaxRetry','[rescheduleContact][AgentReject]','[callProgressDetecting]','evt\x20is\x20undefine','NoSuchNumber','checkRetriveMax','createStateFinal','reason\x200\x20no\x20such\x20number....','NoAnswer','[syncAgentComplete][createHistory][3]','reason\x203\x20ringing\x20no\x20answer','Busy','[syncAgentComplete][createHistory][5]','reason\x205\x20busy','Congestion','[syncAgentComplete][createHistory][8]','reason\x2011\x20abandoned','outboundRejectCallsDay','AgentReject','reason\x2020\x20agentreject','[syncAgentComplete][createHistory][?]','Global','[moveContactManagedDialer][0]','contact\x20not\x20moved','dialPredictiveOptimizationPercentage','round','predictiveIntervalMinThreshold','floor','[startMethodPredictive][StartProgressive]','collection\x20data\x20in\x20progressive\x20at','dialPredictiveInterval','[startMethodPredictive][StartProgressive][Loop]','dialPredictiveOptimization','dropRate','[stopMethodPredictive][ReStartProgressive][ExceededDropDay]','Dropped\x20calls\x20day','[stopMethodPredictive][ReStartProgressive][ExceededDropInterval]','Max\x20Drop\x20','Drop\x20in\x20this\x20interval','started\x20in\x20predictive\x20at','getDataPredictive','Predictive\x20after\x20first\x20interval','averageHandleTime','switch\x20in\x20progressive\x20because\x20available\x20agents\x20(',')\x20are\x20less\x20than\x20threshold\x20(',')\x20are\x20more\x20than\x20threshold\x20(','abandonmentRate','agentBusyFactor','busyFactor','[getDataPredictive]','Unknown\x20Predictive','getDataPredictiveOld','outboundQueuePauses','[CatchErlangB]','check\x20failure','startMethodPredictive','one\x20call\x20every:','fail\x20to\x20scheduled\x20calls','checkContactBlack','recallme','[booked][checkContactBlack]','queueStatusComplete:\x20','Queue:\x20','[unlockOriginate][syncQueueStatusComplete]','actionOriginate','Agent','voicePause','Contact\x20updated','dialRecallInQueue','RECALLINQUEUE','RecallInQueue','[Originate][HistoryDialRecallInQueue][historyCatch]','RECALLFAILEDTIMEOUT','RecallFailedTimeout','[Originate][HistoryRecallClose]','Blacklist','[Originate][historyBlacklist]','[Originate][MoveBlacklist]','inBlackList','limitCalls','temp','dialOrderByScheduledAt','[getContactCampaign2][Empty]','ivrTotalCallsDays','[actionOriginate]\x20','Contact.phone','[getContactCampaign2]','dialLimitQueue','not_inuse','RUNNING','[getContactDialer2]','tryOriginatePredictive','[getContactDialerPredictive]','--------\x20Drop\x20Rate\x20--------','M:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','Interval:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','Amax:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','[abandonmentRate]','m\x20=\x20','Ts\x20=\x20','interval\x20=\x20','----\x20Agent\x20Busy\x20Factor\x20----','Ts:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','P:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','[busyFactor]','p\x20=\x20','Umin\x20=\x20','exports','util','lodash','uuid','md5','../../../config/logger','dialer','booked','predictive','predictiveCalls','syncQueueSummary','redis','localhost','socket.io-emitter','../rpc/cmHopper','../rpc/cmHopperFinal','../rpc/cmHopperHistory','../rpc/cmHopperBlack','../rpc/voiceQueueRt','./action','./history','./final','./agentComplete','./queueCallerAbandon','./hangup','env','XCALLY_IP_AGI','127.0.0.1','roundrobin','prototype','enqueue','tail','sequence','preview','voiceQueues','campaigns','agents','trunks','maxNumberOriginate','channels','contactsId','uniqueId','startPredictive','startProgressive','ivrOriginated','queueBooked','queueBookedRR','agentconnect','syncAgentConnect','bind','queuecallerabandon','syncQueueCallerAbandon','originateresponse','syncOriginateResponse','agentcomplete','syncAgentComplete','custom:queuesummary','hangup','varset','syncVarSet','queuemember','syncQueueMember','queuestatuscomplete','syncQueueStatusComplete','loopCampaigns','loopClearZombieChannels','isUndefined','message','name','NOT_ACTIVE','\x20NOT\x20Active','INTERVAL_IS_NULL','\x20INTERVAL_IS_NULL','Interval','Intervals','[ifTime][Action]','stringify','diff','seconds','type','outbound','answered','available','loggedIn','sumBillable','sumHoldTime','abandoned','waiting','loggedInDb','dialActive','dialMethod','dialOriginateCallerIdName','dialOriginateCallerIdNumber','dialOriginateTimeout','dialPrefix','outboundAnswerAgiCallsDay','outboundAnswerCallsDay','outboundCongestionCallsDay','outboundDropCallsDayACS','outboundDropCallsDayCallersExit','outboundNoAnswerCallsDay','outboundNoSuchCallsDay','outboundOriginateFailureCallsDay','outboundReCallsDay','predictiveIntervalAnsweredCalls','predictiveIntervalAvgTalktime','predictiveIntervalErlangCalls','predictiveIntervalErlangCallsDroppedCalls','predictiveIntervalHitRate','predictiveIntervalMultiplicativeFactor','predictiveIntervalAvailable','predictiveIntervalTotalCalls','originated','erlangCalls','erlangCallToSecond','erlangAbandonmentRate','Trunk','active','callerid','format','voice_queue:save','campaign:ivr:%s','campaign:save','isEmpty','-----\x20Stats\x20Predictive\x20---','info','Answered\x20Calls:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','Dropped\x20Timeout:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','predictiveIntervalDroppedCallsTimeout','Dropped\x20Exit:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','predictiveIntervalDroppedCallsCallersExit','predictiveIntervalAvgHoldtime','---------------------------','Avg\x20Talk\x20Time\x20is\x20not\x20enough\x20for\x20predictive','Avg\x20Hold\x20Time\x20is\x20not\x20enough\x20for\x20predictive','History\x20information\x20are\x20empty','---------\x20ErlangB\x20---------','Scheduled\x20Calls:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','Drop\x20Rate:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','Agent\x20Busy\x20Factor:\x20\x20\x20\x20\x20\x20\x20\x20\x20','erlangBusyFactor','merge','milliseconds','handlePredictive','clearing\x20variable\x20handle\x20predictive','ivr','string','\x22\x22\x20<>','error','inspect','stack','length','hasOwnProperty','[decremetOriginate]\x20object\x20originated\x20is\x20negative','contactsRescheduled','RESCHEDULED_CONTACTS','[getContactDialer2][ReScheduled]','AVAILABLE_CONTACTS_FINISHED','[getContactDialer2][Empty]','sendMessageOneNotActive','talking','pTalking','[syncQueueSummary]\x20Campaign\x20Queue:\x20','is\x20not\x20active','IS_DISACTIVED','[syncQueueSummary]\x20Campaign\x20Ivr:\x20','state','statedesc','endtime','starttime','clearZombieChannels','[uniqueid]','actions','isNil','Action','status','channel','catch','updateOriginated','[Dialer][checkChannel]','queue','[Dialer][checkChannel][ivr]','countReScheduled','resolve','then','[countReScheduled]\x20','checkIsBlackList','[checkIsBlackList]\x20','checkIsBlackListIvr','rescheduleContact','unlockContact','[unlockContact]\x20','getContactDialer','[getContactDialer]\x20','getContactDialerIvr','getVoiceQueueRtPauses','[getVoiceQueueRtPauses]\x20','moveContactManagedDialer','[moveContactManagedDialer]\x20','createHistory','[createHistory]\x20','[updateOriginated]\x20object\x20originated\x20is\x20negative','loggerHandler','emptyContact','notFound','saveInDb','pick','ContactId','ListId','UserId','VoiceQueueId','[emptyContact][createHistory]','Success','isTrunkReachable','SIP/%s','reachable','unmonitored','uniqueid','variable','exten','xcally-motion-dialer','HANGUP','HangupInAMD','membername','[syncHangupInAMD][createHistory]','dialAMDActive','value','MACHINE','Machine','AMD','countglobal','[syncAgentComplete][createHistory][0]','countbusyretry','countnoanswerretry','countnosuchnumberretry','countdropretry','countabandonedretry','dialGlobalMaxRetry','stateGlobal','reason19\x20machine....','countmachineretry','dialMachineMaxRetry','reason\x2019\x20machine....','[rescheduleContact][Machine]','amd'];(function(_0x26b8b5,_0xf5c2c1){var _0x2150a9=function(_0x1ca1be){while(--_0x1ca1be){_0x26b8b5['push'](_0x26b8b5['shift']());}};_0x2150a9(++_0xf5c2c1);}(_0x4098,0x10f));var _0x8409=function(_0x5bfe09,_0x491857){_0x5bfe09=_0x5bfe09-0x0;var _0x199f31=_0x4098[_0x5bfe09];return _0x199f31;};'use strict';var util=require(_0x8409('0x0'));var _=require(_0x8409('0x1'));var BPromise=require('bluebird');var uuid=require(_0x8409('0x2'));var moment=require('moment');var rr=require('rr');var md5=require(_0x8409('0x3'));var Redis=require('ioredis');var config=require('../../../config/environment/');var logger=require(_0x8409('0x4'))(_0x8409('0x5'));var loggerBooked=require(_0x8409('0x4'))(_0x8409('0x6'));var loggerPredictive=require('../../../config/logger')(_0x8409('0x7'));var loggerPredictiveCalls=require(_0x8409('0x4'))(_0x8409('0x8'));var loggerSyncQueueSummary=require(_0x8409('0x4'))(_0x8409('0x9'));var ami=require('../ami');config[_0x8409('0xa')]=_['defaults'](config[_0x8409('0xa')],{'host':_0x8409('0xb'),'port':0x18eb});var io=require(_0x8409('0xc'))(new Redis(config['redis']));var cmHopper=require(_0x8409('0xd'));var cmHopperFinal=require(_0x8409('0xe'));var cmHopperHistory=require(_0x8409('0xf'));var cmHopperBlack=require(_0x8409('0x10'));var voiceQueueRt=require(_0x8409('0x11'));var Action=require(_0x8409('0x12'));var History=require(_0x8409('0x13'));var Final=require(_0x8409('0x14'));var AgentComplete=require(_0x8409('0x15'));var QueueCallerAbandon=require(_0x8409('0x16'));var Hangup=require(_0x8409('0x17'));var ipAgi=process[_0x8409('0x18')][_0x8409('0x19')]||_0x8409('0x1a');var strategy={'rrmemory':'rrmemory','roundrobin':_0x8409('0x1b')};var Sequence=function(){};Sequence[_0x8409('0x1c')][_0x8409('0x1d')]=function(_0x26921a){this[_0x8409('0x1e')]=this[_0x8409('0x1e')]?this[_0x8409('0x1e')]['finally'](_0x26921a):_0x26921a();};function Dialer(_0x11b817,_0x41044a){this[_0x8409('0x1f')]=new Sequence();this[_0x8409('0x20')]=_0x41044a;this[_0x8409('0x21')]=_0x11b817[_0x8409('0x21')];this['campaigns']=_0x11b817[_0x8409('0x22')];this[_0x8409('0x23')]=_0x11b817['agents'];this[_0x8409('0x24')]=_0x11b817[_0x8409('0x24')];this[_0x8409('0x25')]=config[_0x8409('0x25')]||0x2;this[_0x8409('0x26')]={};this['actions']={};this[_0x8409('0x27')]={};this[_0x8409('0x28')]={};this['optionPredictive']={};this[_0x8409('0x29')]={};this[_0x8409('0x2a')]={};this[_0x8409('0x2b')]={};this[_0x8409('0x2c')]={};this[_0x8409('0x2d')]={};ami['on'](_0x8409('0x2e'),this[_0x8409('0x2f')][_0x8409('0x30')](this));ami['on'](_0x8409('0x31'),this[_0x8409('0x32')][_0x8409('0x30')](this));ami['on'](_0x8409('0x33'),this[_0x8409('0x34')][_0x8409('0x30')](this));ami['on'](_0x8409('0x35'),this[_0x8409('0x36')][_0x8409('0x30')](this));ami['on'](_0x8409('0x37'),this[_0x8409('0x9')][_0x8409('0x30')](this));ami['on'](_0x8409('0x38'),this['syncHangup'][_0x8409('0x30')](this));ami['on']('newexten',this['syncNewExten'][_0x8409('0x30')](this));ami['on'](_0x8409('0x39'),this[_0x8409('0x3a')][_0x8409('0x30')](this));ami['on'](_0x8409('0x3b'),this[_0x8409('0x3c')][_0x8409('0x30')](this));ami['on'](_0x8409('0x3d'),this[_0x8409('0x3e')][_0x8409('0x30')](this));this[_0x8409('0x3f')]();this[_0x8409('0x40')]();}function isNotNull(_0x6504cc){return _0x6504cc!==null&&!_[_0x8409('0x41')](_0x6504cc);}function checkIsLoggedIn(_0x480379,_0x3615f0){return function(){if(_0x3615f0<=0x0){_0x480379[_0x8409('0x42')]='AGENTS_NOT_LOGGED';throw _0x480379[_0x8409('0x43')]+'\x20AGENTS\x20NOT\x20LOGGED';}};}function isActive(_0x55ab26){return _0x55ab26;}function checkIsActive(_0x4e1b38,_0x555626){return function(){if(!isActive(_0x555626)){_0x4e1b38['message']=_0x8409('0x44');throw _0x4e1b38['name']+_0x8409('0x45');}};}function checkInterval(_0x2c343f){return function(){if(!isNotNull(_0x2c343f['Interval'])){_0x2c343f[_0x8409('0x42')]=_0x8409('0x46');throw _0x2c343f[_0x8409('0x43')]+_0x8409('0x47');}if(!isNotNull(_0x2c343f[_0x8409('0x48')][_0x8409('0x49')])){_0x2c343f['message']=_0x8409('0x46');throw _0x2c343f[_0x8409('0x43')]+_0x8409('0x47');}if(!isNotNull(_['isEmpty'](_0x2c343f['Interval']['Intervals']))){_0x2c343f[_0x8409('0x42')]='INTERVAL_IS_NULL';throw _0x2c343f[_0x8409('0x43')]+_0x8409('0x47');}};}function msgResponse(_0x1e123e,_0x41d7fe,_0x2a14c3){return{'action':_0x1e123e,'response':_0x41d7fe,'message':_0x2a14c3,'stack':_0x2a14c3};}function myreject(_0x4c05b5){return function(_0x3996e0){return _0x4c05b5(msgResponse(_0x8409('0x4a'),'Error',JSON[_0x8409('0x4b')](_0x3996e0)));};}function getSeconds(_0x5f23bd,_0x4a52c2){var _0x53de1d=moment(_0x5f23bd)['milliseconds'](0x0);var _0x13c1fb=moment(_0x4a52c2)['milliseconds'](0x0);return _0x53de1d[_0x8409('0x4c')](_0x13c1fb,_0x8409('0x4d'));}function emit(_0x5af73c,_0x45771f,_0x194f9c){io['to'](_0x5af73c)['emit'](_0x45771f,_0x194f9c);}function emitVoiceQueueSummary(_0x591b25){if(_0x591b25[_0x8409('0x4e')]===_0x8409('0x4f')){var _0x1c34de={'id':_0x591b25['id'],'name':_0x591b25['name'],'strategy':_0x591b25['strategy'],'answered':_0x591b25[_0x8409('0x50')],'available':_0x591b25[_0x8409('0x51')],'loggedIn':_0x591b25[_0x8409('0x52')],'pTalking':_0x591b25['pTalking'],'sumBillable':_0x591b25[_0x8409('0x53')],'sumDuration':_0x591b25['sumDuration'],'sumHoldTime':_0x591b25[_0x8409('0x54')]||0x0,'talking':_0x591b25['talking'],'total':_0x591b25['total'],'type':_0x591b25['type'],'unmanaged':_0x591b25['unmanaged'],'abandoned':_0x591b25[_0x8409('0x55')],'waiting':_0x591b25[_0x8409('0x56')],'loggedInDb':_0x591b25[_0x8409('0x57')],'dialActive':_0x591b25[_0x8409('0x58')],'dialMethod':_0x591b25[_0x8409('0x59')],'dialOriginateCallerIdName':_0x591b25[_0x8409('0x5a')],'dialOriginateCallerIdNumber':_0x591b25[_0x8409('0x5b')],'dialOriginateTimeout':_0x591b25[_0x8409('0x5c')],'dialPrefix':_0x591b25[_0x8409('0x5d')],'outboundAnswerAgiCallsDay':_0x591b25[_0x8409('0x5e')],'outboundAnswerCallsDay':_0x591b25[_0x8409('0x5f')],'outboundBlacklistCallsDay':_0x591b25['outboundBlacklistCallsDay'],'outboundBusyCallsDay':_0x591b25['outboundBusyCallsDay'],'outboundCongestionCallsDay':_0x591b25[_0x8409('0x60')],'outboundDropCallsDayACS':_0x591b25[_0x8409('0x61')],'outboundDropCallsDayCallersExit':_0x591b25[_0x8409('0x62')],'outboundDropCallsDayTimeout':_0x591b25['outboundDropCallsDayTimeout'],'outboundNoAnswerCallsDay':_0x591b25[_0x8409('0x63')],'outboundNoSuchCallsDay':_0x591b25[_0x8409('0x64')],'outboundOriginateFailureCallsDay':_0x591b25[_0x8409('0x65')],'outboundReCallsDay':_0x591b25[_0x8409('0x66')],'outboundRejectCallsDay':_0x591b25['outboundRejectCallsDay'],'outboundUnknownCallsDay':_0x591b25['outboundUnknownCallsDay'],'predictiveIntervalAnsweredCalls':_0x591b25[_0x8409('0x67')],'predictiveIntervalAvgHoldtime':_0x591b25['predictiveIntervalAvgHoldtime'],'predictiveIntervalAvgTalktime':_0x591b25[_0x8409('0x68')],'predictiveIntervalDroppedCallsCallersExit':_0x591b25['predictiveIntervalDroppedCallsCallersExit'],'predictiveIntervalDroppedCallsTimeout':_0x591b25['predictiveIntervalDroppedCallsTimeout'],'predictiveIntervalErlangCalls':_0x591b25[_0x8409('0x69')],'predictiveIntervalErlangCallsDroppedCalls':_0x591b25[_0x8409('0x6a')],'predictiveIntervalHitRate':_0x591b25[_0x8409('0x6b')],'predictiveIntervalMultiplicativeFactor':_0x591b25[_0x8409('0x6c')],'predictiveIntervalPauses':_0x591b25['predictiveIntervalPauses'],'predictiveIntervalAvailable':_0x591b25[_0x8409('0x6d')],'predictiveIntervalTotalCalls':_0x591b25[_0x8409('0x6e')],'message':_0x591b25[_0x8409('0x42')],'originated':_0x591b25[_0x8409('0x6f')],'erlangCalls':_0x591b25[_0x8409('0x70')],'erlangCallToSecond':_0x591b25[_0x8409('0x71')],'erlangAbandonmentRate':_0x591b25[_0x8409('0x72')],'erlangBusyFactor':_0x591b25['erlangBusyFactor'],'startPredictive':_0x591b25[_0x8409('0x29')],'startProgressive':_0x591b25['startProgressive']};if(_0x591b25[_0x8409('0x73')]){_0x1c34de[_0x8409('0x73')]={'id':_0x591b25[_0x8409('0x73')]['id'],'name':_0x591b25[_0x8409('0x73')][_0x8409('0x43')],'active':_0x591b25[_0x8409('0x73')][_0x8409('0x74')],'callerid':_0x591b25[_0x8409('0x73')][_0x8409('0x75')]};}if(_0x591b25[_0x8409('0x48')]){_0x1c34de[_0x8409('0x48')]={'id':_0x591b25[_0x8409('0x48')]['id'],'name':_0x591b25[_0x8409('0x48')]['name']};}var _0x2eeea5=md5(JSON['stringify'](_0x1c34de));if(_0x591b25[_0x8409('0x3')]!==_0x2eeea5){_0x591b25[_0x8409('0x3')]=_0x2eeea5;emit(util[_0x8409('0x76')]('voice:queue:%s',_0x1c34de[_0x8409('0x43')]),_0x8409('0x77'),_0x1c34de);}}}function emitCampaignSummary(_0xd6b035){if(_0xd6b035[_0x8409('0x4e')]==='ivr'){emit(util[_0x8409('0x76')](_0x8409('0x78'),_0xd6b035['name']),_0x8409('0x79'),_0xd6b035);}}function checkGetDataPredictive(_0x2aafcb){if(isNotNull(_0x2aafcb)){if(!_[_0x8409('0x7a')](_0x2aafcb)){loggerPredictive['info'](_0x8409('0x7b'));loggerPredictive[_0x8409('0x7c')]('Total\x20Calls:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20',_0x2aafcb[_0x8409('0x6e')]);loggerPredictive[_0x8409('0x7c')](_0x8409('0x7d'),_0x2aafcb[_0x8409('0x67')]);loggerPredictive[_0x8409('0x7c')](_0x8409('0x7e'),_0x2aafcb[_0x8409('0x7f')]);loggerPredictive[_0x8409('0x7c')](_0x8409('0x80'),_0x2aafcb[_0x8409('0x81')]);loggerPredictive[_0x8409('0x7c')]('AVG\x20Hold\x20Time:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20',_0x2aafcb[_0x8409('0x82')]);loggerPredictive[_0x8409('0x7c')]('AVG\x20Talk\x20Time:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20',_0x2aafcb[_0x8409('0x68')]);loggerPredictive[_0x8409('0x7c')](_0x8409('0x83'));if(_0x2aafcb[_0x8409('0x6e')]>0x0){if(!_['isUndefined'](_0x2aafcb[_0x8409('0x68')])&&_0x2aafcb[_0x8409('0x68')]>0x0){return!![];}else{loggerPredictive['info'](_0x8409('0x84'));}if(!_[_0x8409('0x41')](_0x2aafcb['predictiveIntervalAvgHoldtime'])&&_0x2aafcb[_0x8409('0x82')]>0x0){return!![];}else{loggerPredictive[_0x8409('0x7c')](_0x8409('0x85'));}}else{loggerPredictive[_0x8409('0x7c')]('Total\x20Calls\x20are\x20not\x20enough\x20for\x20predictive');}}else{loggerPredictive[_0x8409('0x7c')](_0x8409('0x86'));}}else{loggerPredictive['info']('History\x20information\x20are\x20empty');}return![];}function mergeDataErlangB(_0x5d26ec){return function(_0x309d9c){loggerPredictive['info'](_0x8409('0x87'));loggerPredictive[_0x8409('0x7c')](_0x8409('0x88'),_0x309d9c[_0x8409('0x70')]);loggerPredictive[_0x8409('0x7c')]('One\x20call\x20every:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20',_0x309d9c[_0x8409('0x71')]);loggerPredictive[_0x8409('0x7c')](_0x8409('0x89'),_0x309d9c[_0x8409('0x72')]);loggerPredictive['info'](_0x8409('0x8a'),_0x309d9c[_0x8409('0x8b')]);loggerPredictive[_0x8409('0x7c')](_0x8409('0x89'),_0x309d9c[_0x8409('0x72')]);loggerPredictive[_0x8409('0x7c')](_0x8409('0x83'));_[_0x8409('0x8c')](_0x5d26ec,_0x309d9c);};}function getDiff(_0x110a68){var _0x36ca5a=moment()[_0x8409('0x8d')](0x0);var _0x10bdfc=moment(_0x110a68)[_0x8409('0x8d')](0x0);return _0x36ca5a[_0x8409('0x4c')](_0x10bdfc,'seconds');}function ifInterval(_0x187a3c,_0x48ff04){if(_[_0x8409('0x41')](_0x48ff04)){return![];}if(getDiff(_0x48ff04)<_0x187a3c*0x3c){return!![];}else{return![];}}function freeVariablesPredictive(_0x3f2da0){if(isNotNull(_0x3f2da0)){if(!_[_0x8409('0x41')](_0x3f2da0[_0x8409('0x2a')])){_0x3f2da0[_0x8409('0x2a')]=undefined;loggerPredictive[_0x8409('0x7c')](_0x3f2da0['name'],'clearing\x20variable\x20start\x20progressive');}if(!_[_0x8409('0x41')](_0x3f2da0[_0x8409('0x29')])){_0x3f2da0[_0x8409('0x29')]=undefined;loggerPredictive[_0x8409('0x7c')](_0x3f2da0[_0x8409('0x43')],'clearing\x20variable\x20start\x20predictive');}if(!_[_0x8409('0x41')](_0x3f2da0['handlePredictive'])){clearInterval(_0x3f2da0[_0x8409('0x8e')]);_0x3f2da0[_0x8409('0x8e')]=undefined;loggerPredictive[_0x8409('0x7c')](_0x3f2da0[_0x8409('0x43')],_0x8409('0x8f'));}}}function erlangb(_0x24c301,_0x1aa12d){if(_0x1aa12d===0x0){return 0x0;}var _0x3355b2=0x1;for(var _0x9f4bca=0x1;_0x9f4bca<=_0x1aa12d;_0x9f4bca+=0x1){_0x3355b2=0x1+_0x3355b2*_0x9f4bca/_0x24c301;}return 0x1/_0x3355b2;}function isVoiceQueueOutbound(_0x3d36d9){return _0x3d36d9==='outbound';}function isNotPreview(_0x2a4722){return _0x2a4722!==_0x8409('0x20');}function isCampaignIvr(_0x127bc7){return _0x127bc7===_0x8409('0x90');}function getCallerId(_0x26b7da,_0x2362cd,_0x2e7b5d){if(!_[_0x8409('0x41')](_0x2e7b5d)&&_0x8409('0x91')===typeof _0x2e7b5d&&!_['isEmpty'](_0x2e7b5d)){if(!_[_0x8409('0x41')](_0x2362cd)&&_0x8409('0x91')===typeof _0x2362cd&&!_['isEmpty'](_0x2362cd)){return util[_0x8409('0x76')]('\x22%s\x22\x20<%s>',_0x2362cd,_0x2e7b5d);}return util[_0x8409('0x76')]('\x22%s\x22\x20<%s>',_0x2e7b5d,_0x2e7b5d);}if(!_[_0x8409('0x41')](_0x26b7da)&&_0x8409('0x91')===typeof _0x26b7da&&!_[_0x8409('0x7a')](_0x26b7da)){return _0x26b7da;}return _0x8409('0x92');}function loggerCatchQueueSummary(_0x4c54c7,_0x2e6ae6){return function(_0x9a5ca2){freeVariablesPredictive(_0x2e6ae6);emitVoiceQueueSummary(_0x2e6ae6);emitCampaignSummary(_0x2e6ae6);loggerSyncQueueSummary[_0x8409('0x93')](_0x4c54c7,util[_0x8409('0x94')](_0x9a5ca2,{'showHidden':![],'depth':null}));};}function loggerCatchPredictive(_0x25f08a,_0x2fe329){return function(_0x463b17){loggerPredictive[_0x8409('0x93')](_0x2fe329[_0x8409('0x43')],_0x25f08a);loggerPredictive['error'](_0x463b17[_0x8409('0x95')]);freeVariablesPredictive(_0x2fe329);};}function loggerCatch(_0x7c0d3f){return function(_0xf34ec6){logger['error'](_0x7c0d3f,util[_0x8409('0x94')](_0xf34ec6,{'showHidden':![],'depth':null}));};}function checkContactEmpty(_0x5a6834){return _0x5a6834&&!_['isUndefined'](_0x5a6834)&&_0x5a6834[_0x8409('0x96')]>0x0;}function decremetOriginate(_0x4c8c03){if(!_[_0x8409('0x41')](_0x4c8c03)&&_0x4c8c03!==null){if(_0x4c8c03[_0x8409('0x97')](_0x8409('0x6f'))){if(_0x4c8c03[_0x8409('0x6f')]>0x0){_0x4c8c03[_0x8409('0x6f')]-=0x1;}else{logger[_0x8409('0x93')](_0x8409('0x98'));}}}else{logger[_0x8409('0x93')]('[decremetOriginate]\x20is\x20null\x20or\x20undefined');}}function checkContactLowerLimitOriginate(_0x5b4908,_0xb38006,_0x4b6642){if(_0xb38006>_0x4b6642){for(var _0x3a0fff=0x0;_0x3a0fff<_0xb38006-_0x4b6642;_0x3a0fff+=0x1){decremetOriginate(_0x5b4908);}}}function loggerGetContactDialer(_0x4e8597,_0xc67f3a,_0x4951bf){return function(_0x247b54){checkContactLowerLimitOriginate(_0xc67f3a,_0x4951bf,0x0);logger['error'](_0x4e8597,util[_0x8409('0x94')](_0x247b54,{'showHidden':![],'depth':null}));};}function sendMessageReschedule(_0xb83e85){return function(_0x4716d0){if(isNotNull(_0x4716d0)&&isNotNull(_0x4716d0[0x0])){if(_0x4716d0[0x0][_0x8409('0x99')]>0x0){_0xb83e85[_0x8409('0x42')]=_0x8409('0x9a');logger[_0x8409('0x7c')](_0x8409('0x9b')+_0xb83e85['name'],_0x4716d0[0x0][_0x8409('0x99')],'contacts');}else{_0xb83e85[_0x8409('0x42')]=_0x8409('0x9c');logger['info'](_0x8409('0x9d')+_0xb83e85[_0x8409('0x43')]);}}};}function notSendMessagesQueue(_0x19cdde){if(_0x19cdde[_0x8409('0x9e')]){freeVariablesPredictive(_0x19cdde);if(_0x19cdde[_0x8409('0x6f')]===0x0&&_0x19cdde[_0x8409('0x9f')]===0x0&&_0x19cdde[_0x8409('0x56')]===0x0&&(_0x19cdde[_0x8409('0xa0')]||0x0)===0x0){_0x19cdde[_0x8409('0x9e')]=![];_0x19cdde['available']=0x0;_0x19cdde[_0x8409('0x42')]=_0x8409('0x44');loggerSyncQueueSummary[_0x8409('0x93')](_0x8409('0xa1'),_0x19cdde['name'],_0x8409('0xa2'));}else{_0x19cdde[_0x8409('0x42')]=_0x8409('0xa3');loggerSyncQueueSummary['error'](_0x8409('0xa1'),_0x19cdde[_0x8409('0x43')],'is\x20disactive');}emitVoiceQueueSummary(_0x19cdde);}}function notSendMessagesCampaign(_0x90344a){if(_0x90344a[_0x8409('0x9e')]){if(_0x90344a['originated']===0x0){_0x90344a[_0x8409('0x9e')]=![];_0x90344a[_0x8409('0x42')]=_0x8409('0x44');loggerSyncQueueSummary[_0x8409('0x93')]('[syncQueueSummary]\x20Campaign\x20Ivr:\x20',_0x90344a[_0x8409('0x43')],_0x8409('0xa2'));}else{_0x90344a['message']=_0x8409('0xa3');loggerSyncQueueSummary[_0x8409('0x93')](_0x8409('0xa4'),_0x90344a[_0x8409('0x43')],'is\x20disactive');}emitCampaignSummary(_0x90344a);}}function createObjHistory(_0x1470e8,_0x3b458f,_0x2043b6,_0x22c011,_0x3dc4b9){_0x1470e8[_0x8409('0x42')]=_0x2043b6;var _0x3e8de5=new Action(_0x1470e8,_0x3b458f);var _0x207197=new History(_0x3e8de5);_0x207197[_0x8409('0xa5')]=_0x22c011;_0x207197[_0x8409('0xa6')]=_0x3dc4b9;_0x207197[_0x8409('0xa7')]=_0x3e8de5[_0x8409('0xa8')];return _0x207197;}Dialer[_0x8409('0x1c')][_0x8409('0x40')]=function(){var _0x4d54fa=this;setInterval(function(){_0x4d54fa[_0x8409('0xa9')](_0x4d54fa[_0x8409('0x28')],_0x8409('0xaa'));_0x4d54fa[_0x8409('0xa9')](_0x4d54fa[_0x8409('0xab')],'[actions]');},0x32c8);};Dialer['prototype'][_0x8409('0xa9')]=function(_0x1a398a,_0x26573e){var _0x41ca33=this;for(var _0x53e7c4 in _0x1a398a){if(_0x1a398a[_0x8409('0x97')](_0x53e7c4)){this[_0x8409('0x1f')][_0x8409('0x1d')](function(){if(!_[_0x8409('0xac')](_0x1a398a[_0x53e7c4])){return ami[_0x8409('0xad')]({'action':_0x8409('0xae'),'channel':_0x1a398a[_0x53e7c4][_0x8409('0xaf')]})[_0x8409('0xb0')](function(_0x4723fe){if(_0x4723fe[_0x8409('0x42')]==='No\x20such\x20channel'){setTimeout(function(){if(_0x1a398a[_0x53e7c4]&&_0x1a398a[_0x53e7c4][_0x8409('0x4e')]!=='ivr'){_0x41ca33[_0x8409('0xb1')](_0x41ca33['voiceQueues'][_0x1a398a[_0x53e7c4]['queue']]);logger[_0x8409('0x93')](_0x8409('0xb2'),_0x26573e,_0x53e7c4,_0x1a398a[_0x53e7c4]['queue']);delete _0x1a398a[_0x53e7c4];}if(_0x1a398a[_0x53e7c4]&&_0x1a398a[_0x53e7c4][_0x8409('0x4e')]===_0x8409('0x90')){_0x41ca33[_0x8409('0xb1')](_0x41ca33[_0x8409('0x22')][_0x1a398a[_0x53e7c4][_0x8409('0xb3')]]);logger[_0x8409('0x93')](_0x8409('0xb4'),_0x26573e,_0x53e7c4,_0x1a398a[_0x53e7c4][_0x8409('0xb3')]);delete _0x1a398a[_0x53e7c4];}},0x2328);}});}});}}};Dialer[_0x8409('0x1c')][_0x8409('0xb5')]=function(_0x1a1c7c){return BPromise[_0x8409('0xb6')]()[_0x8409('0xb7')](cmHopper[_0x8409('0xb5')](_0x1a1c7c))['catch'](loggerCatch(_0x8409('0xb8')));};Dialer[_0x8409('0x1c')][_0x8409('0xb9')]=function(_0x19c4cb){return BPromise[_0x8409('0xb6')]()[_0x8409('0xb7')](cmHopperBlack[_0x8409('0xb9')](_0x19c4cb))[_0x8409('0xb0')](loggerCatch(_0x8409('0xba')));};Dialer[_0x8409('0x1c')][_0x8409('0xbb')]=function(_0x136e45){return BPromise[_0x8409('0xb6')]()[_0x8409('0xb7')](cmHopperBlack[_0x8409('0xbb')](_0x136e45))[_0x8409('0xb0')](loggerCatch('[checkIsBlackListIvr]\x20'));};Dialer[_0x8409('0x1c')]['averageHandleTime']=function(_0x20c21c){return BPromise['resolve']()[_0x8409('0xb7')](cmHopperHistory['avgHandleTime'](_0x20c21c))[_0x8409('0xb0')](loggerCatch('[averageHandleTime]\x20'));};Dialer[_0x8409('0x1c')][_0x8409('0xbc')]=function(_0x40738b){return BPromise['resolve']()['then'](cmHopper[_0x8409('0xbc')](_0x40738b))[_0x8409('0xb0')](loggerCatch('[rescheduleContact]\x20'));};Dialer[_0x8409('0x1c')][_0x8409('0xbd')]=function(_0x4ee22e,_0x46b75f,_0x4251f7){return BPromise[_0x8409('0xb6')]()[_0x8409('0xb7')](cmHopper[_0x8409('0xbd')](_0x4ee22e,_0x46b75f,_0x4251f7))['catch'](loggerCatch(_0x8409('0xbe')));};Dialer[_0x8409('0x1c')][_0x8409('0xbf')]=function(_0x28016a,_0x467156,_0x4f8d18,_0x140200){return BPromise['resolve']()[_0x8409('0xb7')](cmHopper[_0x8409('0xbf')](_0x28016a,_0x467156,_0x4f8d18,_0x140200))[_0x8409('0xb0')](loggerCatch(_0x8409('0xc0')));};Dialer['prototype']['getContactDialerIvr']=function(_0x218e12,_0x3ab468,_0x441eea){return BPromise[_0x8409('0xb6')]()[_0x8409('0xb7')](cmHopper[_0x8409('0xc1')](_0x218e12,_0x3ab468,_0x441eea))[_0x8409('0xb0')](loggerCatch(_0x8409('0xc0')));};Dialer[_0x8409('0x1c')][_0x8409('0xc2')]=function(_0x4a0fc4){return BPromise[_0x8409('0xb6')]()[_0x8409('0xb7')](voiceQueueRt[_0x8409('0xc2')](_0x4a0fc4))[_0x8409('0xb0')](loggerCatch(_0x8409('0xc3')));};Dialer[_0x8409('0x1c')][_0x8409('0xc4')]=function(_0x239ce5){return BPromise['resolve']()[_0x8409('0xb7')](cmHopper[_0x8409('0xc4')](_0x239ce5))[_0x8409('0xb0')](loggerCatch(_0x8409('0xc5')));};Dialer[_0x8409('0x1c')][_0x8409('0xc6')]=function(_0x25228c){return BPromise[_0x8409('0xb6')]()['then'](cmHopperHistory[_0x8409('0xc6')](_0x25228c))[_0x8409('0xb0')](loggerCatch(_0x8409('0xc7')));};Dialer['prototype'][_0x8409('0xb1')]=function(_0x5541bf){if(!_[_0x8409('0x41')](_0x5541bf)&&_0x5541bf!==null){if(_0x5541bf[_0x8409('0x97')](_0x8409('0x6f'))){if(_0x5541bf[_0x8409('0x6f')]>0x0){_0x5541bf['originated']-=0x1;}else{logger[_0x8409('0x93')](_0x8409('0xc8'));}}}else{logger[_0x8409('0x93')]('[updateOriginated]\x20is\x20null\x20or\x20undefined');}};Dialer['prototype'][_0x8409('0xc9')]=function(_0x411716,_0x2415c0){var _0x1056c2=this;return function(_0x590b46){_0x1056c2[_0x8409('0xb1')](_0x2415c0);logger[_0x8409('0x93')](_0x411716,util[_0x8409('0x94')](_0x590b46,{'showHidden':![],'depth':null}));};};Dialer['prototype'][_0x8409('0xca')]=function(_0x22d360,_0x3e5508,_0x2e9ca4){var _0x35ba36={'state':0x19,'statedesc':_0x8409('0xcb')};this[_0x8409('0xb1')](_0x3e5508);this[_0x8409('0xcc')](_[_0x8409('0x8c')](_0x35ba36,_[_0x8409('0xcd')](_0x2e9ca4,[_0x8409('0xce'),_0x8409('0xcf'),_0x8409('0xd0'),_0x8409('0xd1'),'CampaignId'])),_0x8409('0xd2'),'[emptyContact]');logger[_0x8409('0x93')](_0x22d360);};Dialer[_0x8409('0x1c')]['isSuccess']=function(_0x1179bc){return _0x1179bc===_0x8409('0xd3');};Dialer['prototype'][_0x8409('0xd4')]=function(_0x57d764){return!_[_0x8409('0x41')](_0x57d764)&&_0x57d764&&!_[_0x8409('0x41')](_0x57d764['name'])&&!_[_0x8409('0x41')](_0x57d764[_0x8409('0x74')])&&_0x57d764[_0x8409('0x74')]&&(this[_0x8409('0x24')][util[_0x8409('0x76')](_0x8409('0xd5'),_0x57d764[_0x8409('0x43')])][_0x8409('0xae')]===_0x8409('0xd6')||this[_0x8409('0x24')][util[_0x8409('0x76')](_0x8409('0xd5'),_0x57d764['name'])][_0x8409('0xae')]===_0x8409('0xd7'));};Dialer['prototype'][_0x8409('0xcc')]=function(_0x4f4f14,_0x121991,_0x1e1b49){this[_0x8409('0xc6')](_0x4f4f14)[_0x8409('0xb0')](loggerCatch(_0x121991));this[_0x8409('0xc4')](_0x4f4f14)['catch'](loggerCatch(_0x1e1b49));};Dialer[_0x8409('0x1c')][_0x8409('0x3a')]=function(_0x687b0){var _0x4bae77=this[_0x8409('0x28')][_0x687b0[_0x8409('0xd8')]];var _0x25d7a2;if(!_[_0x8409('0xac')](_0x687b0)&&!_[_0x8409('0xac')](_0x687b0[_0x8409('0xd9')])&&!_[_0x8409('0xac')](_0x687b0[_0x8409('0xd9')]['amdstatus'])&&_0x687b0[_0x8409('0xda')]===_0x8409('0xdb')&&_0x4bae77){if(_0x4bae77[_0x8409('0x4e')]!=='ivr'&&this[_0x8409('0x21')][_0x4bae77['queue']]['dialAMDActive']&&_0x687b0['value']===_0x8409('0xdc')){delete this['uniqueId'][_0x687b0['uniqueid']];this[_0x8409('0xb1')](this[_0x8409('0x21')][_0x4bae77[_0x8409('0xb3')]]);this['voiceQueues'][_0x4bae77[_0x8409('0xb3')]]['outboundAnswerCallsDay']+=0x1;this[_0x8409('0x21')][_0x4bae77[_0x8409('0xb3')]][_0x8409('0x5e')]+=0x1;_0x25d7a2=new Hangup(_0x4bae77,_0x687b0);_0x25d7a2[_0x8409('0xa5')]=0x12;_0x25d7a2[_0x8409('0xa6')]=_0x8409('0xdd');_0x25d7a2[_0x8409('0xde')]='AMD';this[_0x8409('0xcc')](_0x25d7a2,_0x8409('0xdf'),'[syncHangupInAMD]');}if(_0x4bae77[_0x8409('0x4e')]!==_0x8409('0x90')&&this['voiceQueues'][_0x4bae77[_0x8409('0xb3')]][_0x8409('0xe0')]&&_0x687b0[_0x8409('0xe1')]===_0x8409('0xe2')){var _0x2e05eb=this;return new BPromise(function(_0x3de5bc,_0x749c9d){delete _0x2e05eb['uniqueId'][_0x687b0['uniqueid']];_0x2e05eb[_0x8409('0xb1')](_0x2e05eb['voiceQueues'][_0x4bae77[_0x8409('0xb3')]]);_0x2e05eb['voiceQueues'][_0x4bae77['queue']][_0x8409('0x5f')]+=0x1;_0x2e05eb[_0x8409('0x21')][_0x4bae77[_0x8409('0xb3')]][_0x8409('0x5e')]+=0x1;var _0x13e5b3=_0x2e05eb['voiceQueues'][_0x4bae77['queue']];var _0x479074=new Hangup(_0x4bae77,_0x687b0);_0x479074[_0x8409('0xa5')]=0x13;_0x479074[_0x8409('0xa6')]=_0x8409('0xe3');_0x479074[_0x8409('0xde')]=_0x8409('0xe4');_0x479074['countmachineretry']+=0x1;_0x479074[_0x8409('0xe5')]+=0x1;_0x479074['amd']=!![];_0x2e05eb[_0x8409('0xc6')](_0x479074)[_0x8409('0xb0')](loggerCatch(_0x8409('0xe6')));if(_0x479074[_0x8409('0xe7')]+_0x479074['countcongestionretry']+_0x479074[_0x8409('0xe8')]+_0x479074[_0x8409('0xe9')]+_0x479074[_0x8409('0xea')]+_0x479074[_0x8409('0xeb')]+_0x479074['countmachineretry']+_0x479074['countagentrejectretry']>=_0x13e5b3[_0x8409('0xec')]){_0x2e05eb[_0x8409('0xed')](_0x479074,_0x3de5bc,_0x749c9d,_0x8409('0xee'));}else{if(_0x479074[_0x8409('0xef')]>=_0x13e5b3[_0x8409('0xf0')]){_0x2e05eb['createStateFinal'](_0x479074,_0x3de5bc,_0x749c9d,_0x8409('0xf1'));}else{_0x2e05eb[_0x8409('0xbc')]({'active':![],'countmachineretry':_0x479074['countmachineretry'],'scheduledat':moment()['add'](_0x13e5b3['dialMachineRetryFrequency'],'minutes')['format']('YYYY-MM-DD\x20HH:mm:ss'),'ContactId':_0x479074[_0x8409('0xce')],'ListId':_0x479074['ListId'],'VoiceQueueId':_0x479074[_0x8409('0xd1')]||undefined,'CampaignId':_0x479074['CampaignId']||undefined})[_0x8409('0xb0')](loggerCatch(_0x8409('0xf2')));_0x3de5bc({'reschedule':0x1});}}});}if(_0x4bae77[_0x8409('0x4e')]===_0x8409('0x90')&&this[_0x8409('0x22')][_0x4bae77[_0x8409('0xb3')]][_0x8409('0xe0')]&&_0x687b0[_0x8409('0xe1')]===_0x8409('0xdc')){delete this['uniqueId'][_0x687b0['uniqueid']];this['updateOriginated'](this['campaigns'][_0x4bae77[_0x8409('0xb3')]]);_0x25d7a2=new Hangup(_0x4bae77,_0x687b0);_0x25d7a2[_0x8409('0xa5')]=0x12;_0x25d7a2['statedesc']=_0x8409('0xdd');_0x25d7a2[_0x8409('0xde')]=_0x8409('0xe4');this[_0x8409('0xcc')](_0x25d7a2,'[syncHangupInAMDIvr][createHistory]','[syncHangupInAMDIvr]');}if(_0x4bae77[_0x8409('0x4e')]===_0x8409('0x90')&&this[_0x8409('0x22')][_0x4bae77[_0x8409('0xb3')]]['dialAMDActive']&&_0x687b0[_0x8409('0xe1')]===_0x8409('0xe2')){var _0x2e05eb=this;return new BPromise(function(_0x8ae059,_0x33b188){delete _0x2e05eb[_0x8409('0x28')][_0x687b0[_0x8409('0xd8')]];_0x2e05eb[_0x8409('0xb1')](_0x2e05eb[_0x8409('0x22')][_0x4bae77[_0x8409('0xb3')]]);_0x2e05eb['campaigns'][_0x4bae77[_0x8409('0xb3')]][_0x8409('0x5f')]+=0x1;_0x2e05eb['campaigns'][_0x4bae77[_0x8409('0xb3')]][_0x8409('0x5e')]+=0x1;var _0x5e6e0d=_0x2e05eb[_0x8409('0x22')][_0x4bae77[_0x8409('0xb3')]];var _0x4bdf49=new Hangup(_0x4bae77,_0x687b0);_0x4bdf49[_0x8409('0xa5')]=0x13;_0x4bdf49['statedesc']=_0x8409('0xe3');_0x4bdf49[_0x8409('0xde')]='AMD';_0x4bdf49[_0x8409('0xef')]+=0x1;_0x4bdf49[_0x8409('0xe5')]+=0x1;_0x4bdf49[_0x8409('0xf3')]=!![];_0x2e05eb[_0x8409('0xc6')](_0x4bdf49)[_0x8409('0xb0')](loggerCatch(_0x8409('0xe6')));if(_0x4bdf49[_0x8409('0xe7')]+_0x4bdf49['countcongestionretry']+_0x4bdf49[_0x8409('0xe8')]+_0x4bdf49[_0x8409('0xe9')]+_0x4bdf49[_0x8409('0xea')]+_0x4bdf49[_0x8409('0xeb')]+_0x4bdf49['countmachineretry']+_0x4bdf49['countagentrejectretry']>=_0x5e6e0d[_0x8409('0xec')]){_0x2e05eb['stateGlobal'](_0x4bdf49,_0x8ae059,_0x33b188,_0x8409('0xee'));}else{if(_0x4bdf49[_0x8409('0xef')]>=_0x5e6e0d[_0x8409('0xf0')]){_0x2e05eb['createStateFinal'](_0x4bdf49,_0x8ae059,_0x33b188,_0x8409('0xf1'));}else{_0x2e05eb[_0x8409('0xbc')]({'active':![],'countmachineretry':_0x4bdf49[_0x8409('0xef')],'scheduledat':moment()[_0x8409('0xf4')](_0x5e6e0d['dialMachineRetryFrequency'],_0x8409('0xf5'))['format'](_0x8409('0xf6')),'ContactId':_0x4bdf49[_0x8409('0xce')],'ListId':_0x4bdf49[_0x8409('0xcf')],'VoiceQueueId':_0x4bdf49['VoiceQueueId']||undefined,'CampaignId':_0x4bdf49[_0x8409('0xf7')]||undefined})[_0x8409('0xb0')](loggerCatch('[rescheduleContact][Machine]'));_0x8ae059({'reschedule':0x1});}}});}}};Dialer[_0x8409('0x1c')][_0x8409('0xf8')]=function(_0x5d9868){var _0x39834d=this[_0x8409('0x28')][_0x5d9868[_0x8409('0xd8')]];var _0x37c37b=this;var _0x228cdd;if(_0x39834d&&_0x39834d[_0x8409('0x4e')]===_0x8409('0x90')){delete this[_0x8409('0x28')][_0x5d9868[_0x8409('0xd8')]];this['updateOriginated'](this['campaigns'][_0x39834d['queue']]);this[_0x8409('0x22')][_0x39834d[_0x8409('0xb3')]]['ivrAnswerCallsDay']+=0x1;_0x228cdd=new Hangup(_0x39834d,_0x5d9868);this[_0x8409('0xc6')](_0x228cdd)[_0x8409('0xb0')](loggerCatch(_0x8409('0xf9')));this[_0x8409('0xc4')](_0x228cdd)[_0x8409('0xb0')](loggerCatch('[syncHangupIvr]'));}if(_0x39834d&&_0x39834d[_0x8409('0x4e')]!==_0x8409('0x90')&&isNotNull(this[_0x8409('0x21')][_0x39834d[_0x8409('0xb3')]][_0x8409('0xfa')])){delete this[_0x8409('0x28')][_0x5d9868[_0x8409('0xd8')]];this[_0x8409('0xb1')](this[_0x8409('0x21')][_0x39834d[_0x8409('0xb3')]]);this[_0x8409('0x21')][_0x39834d['queue']][_0x8409('0x5f')]+=0x1;this[_0x8409('0x21')][_0x39834d[_0x8409('0xb3')]][_0x8409('0x5e')]+=0x1;_0x228cdd=new Hangup(_0x39834d,_0x5d9868);_0x228cdd['state']=0x10;_0x228cdd[_0x8409('0xa6')]='AnswerAGI';_0x228cdd[_0x8409('0xde')]=_0x8409('0xfb');this[_0x8409('0xc6')](_0x228cdd)[_0x8409('0xb0')](loggerCatch('[syncHangupIvr][createHistory]'));this[_0x8409('0xc4')](_0x228cdd)[_0x8409('0xb0')](loggerCatch(_0x8409('0xfc')));}if(_0x39834d&&_0x39834d[_0x8409('0x4e')]!==_0x8409('0x90')&&!isNotNull(this[_0x8409('0x21')][_0x39834d[_0x8409('0xb3')]]['dialQueueProject'])){delete this[_0x8409('0x28')][_0x5d9868[_0x8409('0xd8')]];this[_0x8409('0xb1')](this[_0x8409('0x21')][_0x39834d[_0x8409('0xb3')]]);this[_0x8409('0x21')][_0x39834d[_0x8409('0xb3')]][_0x8409('0xfd')]+=0x1;_0x228cdd=new Hangup(_0x39834d,_0x5d9868);_0x228cdd[_0x8409('0xa5')]=0xc;_0x228cdd['statedesc']=_0x5d9868[_0x8409('0xfe')];_0x228cdd[_0x8409('0xde')]=_0x8409('0xff');this[_0x8409('0xc6')](_0x228cdd)[_0x8409('0xb0')](loggerCatch('[syncHangupIvr][createHistory]'));this['moveContactManagedDialer'](_0x228cdd)['catch'](loggerCatch('[syncHangupIvr]'));}};Dialer[_0x8409('0x1c')][_0x8409('0x36')]=function(_0x4a4234){var _0x5fea8d=this[_0x8409('0x28')][_0x4a4234[_0x8409('0xd8')]];var _0x41beec=this;if(this[_0x8409('0x21')][_0x4a4234['queue']]){if(_0x5fea8d&&_0x5fea8d['type']!==_0x8409('0x90')){delete this[_0x8409('0x28')][_0x4a4234[_0x8409('0xd8')]];this['voiceQueues'][_0x4a4234[_0x8409('0xb3')]][_0x8409('0x5f')]+=0x1;var _0x13c59f=new AgentComplete(_0x5fea8d,_0x4a4234);if(_0x4a4234[_0x8409('0x100')]===_0x8409('0x101')){_0x13c59f[_0x8409('0x102')]=this[_0x8409('0x21')][_0x4a4234['queue']][_0x8409('0x103')]&&this[_0x8409('0x21')][_0x4a4234[_0x8409('0xb3')]][_0x8409('0x104')]?moment()[_0x8409('0x76')](_0x8409('0xf6')):undefined;}this[_0x8409('0xc6')](_0x13c59f)[_0x8409('0xb0')](loggerCatch(_0x8409('0x105')));this[_0x8409('0xc4')](_0x13c59f)['catch'](loggerCatch(_0x8409('0x106')));}}};Dialer[_0x8409('0x1c')][_0x8409('0x2f')]=function(_0x2c8032){if(this[_0x8409('0x21')][_0x2c8032[_0x8409('0xb3')]]){if(this[_0x8409('0x28')][_0x2c8032['uniqueid']]&&this[_0x8409('0x28')][_0x2c8032['uniqueid']][_0x8409('0x4e')]!==_0x8409('0x90')){this[_0x8409('0xb1')](this[_0x8409('0x21')][_0x2c8032[_0x8409('0xb3')]]);this[_0x8409('0x28')][_0x2c8032['uniqueid']]['answertime']=moment()[_0x8409('0x76')](_0x8409('0xf6'));}}};Dialer[_0x8409('0x1c')]['queueCallerAbandonCreateState']=function(_0x457414){this[_0x8409('0xc6')](_0x457414)[_0x8409('0xb0')](loggerCatch(_0x8409('0x105')));this[_0x8409('0xc4')](_0x457414)[_0x8409('0xb0')](loggerCatch('[syncQueueCallerAbandon]\x20[Drop]'));};Dialer[_0x8409('0x1c')]['syncQueueCallerAbandon']=function(_0x320a0c){var _0x58cde6=this['uniqueId'][_0x320a0c['uniqueid']];var _0x53209d=this;if(this['voiceQueues'][_0x320a0c['queue']]){if(_0x58cde6&&_0x58cde6[_0x8409('0x4e')]!==_0x8409('0x90')){delete this[_0x8409('0x28')][_0x320a0c[_0x8409('0xd8')]];this[_0x8409('0xb1')](this[_0x8409('0x21')][_0x320a0c['queue']]);_0x58cde6['droptime']=moment()[_0x8409('0x76')](_0x8409('0xf6'));var _0x25c3ce=new QueueCallerAbandon(_0x58cde6,_0x320a0c);if(getSeconds(_0x58cde6[_0x8409('0x107')],_0x58cde6[_0x8409('0x108')])>=_0x58cde6[_0x8409('0x109')]){this[_0x8409('0x21')][_0x320a0c[_0x8409('0xb3')]]['predictiveIntervalDroppedCallsTimeout']+=0x1;this[_0x8409('0x21')][_0x320a0c['queue']][_0x8409('0x10a')]+=0x1;this[_0x8409('0x21')][_0x320a0c[_0x8409('0xb3')]][_0x8409('0x6a')]+=0x1;_0x25c3ce['state']=0xa;_0x25c3ce[_0x8409('0xa6')]=_0x8409('0x10b');_0x25c3ce[_0x8409('0x10c')]=_0x8409('0x10d');_0x25c3ce[_0x8409('0x102')]=this[_0x8409('0x21')][_0x320a0c['queue']][_0x8409('0x103')]?moment()[_0x8409('0x76')](_0x8409('0xf6')):undefined;_0x25c3ce[_0x8409('0xea')]+=0x1;_0x25c3ce[_0x8409('0xe5')]+=0x1;if(_0x25c3ce[_0x8409('0xea')]>=this['voiceQueues'][_0x320a0c[_0x8409('0xb3')]][_0x8409('0x10e')]){this['queueCallerAbandonCreateState'](_0x25c3ce);}else{this[_0x8409('0xbc')]({'active':![],'countdropretry':_0x25c3ce[_0x8409('0xea')],'scheduledat':moment()[_0x8409('0xf4')](this[_0x8409('0x21')][_0x320a0c[_0x8409('0xb3')]][_0x8409('0x10f')],_0x8409('0xf5'))['format'](_0x8409('0xf6')),'ContactId':_0x58cde6[_0x8409('0xce')],'ListId':_0x58cde6['ListId'],'VoiceQueueId':_0x58cde6['VoiceQueueId']||undefined,'CampaignId':_0x58cde6[_0x8409('0xf7')]||undefined})[_0x8409('0xb0')](loggerCatch(_0x8409('0x110')));var _0x108735=new History(_0x25c3ce);_0x108735[_0x8409('0xa5')]=0xa;_0x108735[_0x8409('0xa6')]=_0x8409('0x10b');_0x108735[_0x8409('0xa8')]=moment()[_0x8409('0x76')](_0x8409('0xf6'));_0x108735['endtime']=_0x108735['starttime'];_0x108735[_0x8409('0x111')]=_0x25c3ce['calleridname'];_0x108735[_0x8409('0x112')]=_0x25c3ce[_0x8409('0x112')];this[_0x8409('0xc6')](_0x108735)[_0x8409('0xb0')](loggerCatch('[syncAgentComplete][createHistory][10]'));}}else{this[_0x8409('0x21')][_0x320a0c[_0x8409('0xb3')]]['predictiveIntervalDroppedCallsCallersExit']+=0x1;this['voiceQueues'][_0x320a0c[_0x8409('0xb3')]]['outboundDropCallsDayCallersExit']+=0x1;_0x25c3ce[_0x8409('0xa5')]=0xb;_0x25c3ce[_0x8409('0xa6')]=_0x8409('0x113');_0x25c3ce[_0x8409('0x10c')]='CALLEREXIT';_0x25c3ce[_0x8409('0xeb')]+=0x1;_0x25c3ce[_0x8409('0xe5')]+=0x1;if(_0x25c3ce['countabandonedretry']>=this[_0x8409('0x21')][_0x320a0c[_0x8409('0xb3')]][_0x8409('0x114')]){this[_0x8409('0x115')](_0x25c3ce);}else{this[_0x8409('0xbc')]({'active':![],'countabandonedretry':_0x25c3ce[_0x8409('0xeb')],'scheduledat':moment()[_0x8409('0xf4')](this['voiceQueues'][_0x320a0c['queue']][_0x8409('0x116')],_0x8409('0xf5'))[_0x8409('0x76')](_0x8409('0xf6')),'ContactId':_0x58cde6[_0x8409('0xce')],'ListId':_0x58cde6[_0x8409('0xcf')],'VoiceQueueId':_0x58cde6[_0x8409('0xd1')]||undefined,'CampaignId':_0x58cde6['CampaignId']||undefined})[_0x8409('0xb0')](loggerCatch(_0x8409('0x117')));var _0x108735=new History(_0x25c3ce);_0x108735['state']=0xb;_0x108735[_0x8409('0xa6')]=_0x8409('0x113');_0x108735[_0x8409('0xa8')]=moment()[_0x8409('0x76')](_0x8409('0xf6'));_0x108735['endtime']=_0x108735[_0x8409('0xa8')];_0x108735['calleridname']=_0x25c3ce[_0x8409('0x111')];_0x108735[_0x8409('0x112')]=_0x25c3ce[_0x8409('0x112')];this['createHistory'](_0x108735)[_0x8409('0xb0')](loggerCatch(_0x8409('0x118')));}}}}};Dialer[_0x8409('0x1c')][_0x8409('0x119')]=function(_0x2a0f5d){if(this[_0x8409('0xab')][_0x2a0f5d[_0x8409('0xd8')]]){this[_0x8409('0xab')][_0x2a0f5d[_0x8409('0xd8')]]['channel']=_0x2a0f5d[_0x8409('0xaf')];}if(this[_0x8409('0x28')][_0x2a0f5d['uniqueid']]){this[_0x8409('0x28')][_0x2a0f5d[_0x8409('0xd8')]][_0x8409('0xaf')]=_0x2a0f5d[_0x8409('0xaf')];}};Dialer[_0x8409('0x1c')][_0x8409('0x3c')]=function(_0x44d8fa){if(strategy[this[_0x8409('0x21')][this[_0x8409('0xab')][_0x44d8fa[_0x8409('0x11a')]][_0x8409('0xb3')]][_0x8409('0x11b')]]===_0x8409('0x1b')){if(this[_0x8409('0xab')][_0x44d8fa[_0x8409('0x11a')]]&&_[_0x8409('0xac')](this[_0x8409('0xab')][_0x44d8fa[_0x8409('0x11a')]]['locked'])&&_0x44d8fa[_0x8409('0xae')]==='1'&&_0x44d8fa[_0x8409('0x11c')]==='0'){if(this['agents'][_0x44d8fa[_0x8409('0x11d')]]){if(!this[_0x8409('0x23')][_0x44d8fa[_0x8409('0x11d')]][_0x8409('0x11e')]){this[_0x8409('0x23')][_0x44d8fa[_0x8409('0x11d')]][_0x8409('0x11e')]=!![];this[_0x8409('0xab')][_0x44d8fa[_0x8409('0x11a')]][_0x8409('0x11e')]=!![];this[_0x8409('0xab')][_0x44d8fa[_0x8409('0x11a')]][_0x8409('0x11d')]=_0x44d8fa['stateinterface'];}}}}else if((strategy[this['voiceQueues'][this[_0x8409('0xab')][_0x44d8fa[_0x8409('0x11a')]][_0x8409('0xb3')]][_0x8409('0x11b')]]||_0x8409('0x11f'))==='rrmemory'){if(this['actions'][_0x44d8fa[_0x8409('0x11a')]]){if(this[_0x8409('0x23')][_0x44d8fa[_0x8409('0x11d')]]){this[_0x8409('0xab')][_0x44d8fa[_0x8409('0x11a')]][_0x8409('0x11d')]=_0x44d8fa['stateinterface'];if(_['isNil'](this[_0x8409('0x2c')][this['actions'][_0x44d8fa[_0x8409('0x11a')]][_0x8409('0xb3')]])){this['queueBooked'][this[_0x8409('0xab')][_0x44d8fa[_0x8409('0x11a')]]['queue']]=[];}this['queueBooked'][this[_0x8409('0xab')][_0x44d8fa[_0x8409('0x11a')]]['queue']][_0x8409('0x120')](_[_0x8409('0x8c')](_[_0x8409('0xcd')](this[_0x8409('0xab')][_0x44d8fa[_0x8409('0x11a')]],['idHopper',_0x8409('0x11d')]),{'status':_0x44d8fa[_0x8409('0xae')],'paused':_0x44d8fa['paused']}));}}}};function unlockQueueStatus(_0x59ae0a,_0x7f66b7){setTimeout(function(){if(_[_0x8409('0x41')](_0x59ae0a[_0x8409('0x121')])){loggerBooked[_0x8409('0x93')](_0x8409('0x122'),_0x7f66b7);}_0x59ae0a[_0x8409('0x121')]=!![];loggerBooked[_0x8409('0x7c')](_0x8409('0x123'),_0x7f66b7,JSON[_0x8409('0x4b')](_[_0x8409('0xcd')](_0x59ae0a,[_0x8409('0x43'),'queueStatusComplete'])));},0x1f3);}Dialer[_0x8409('0x1c')]['syncQueueStatusComplete']=function(_0x572d44){var _0xbf71cd=this;var _0x224b94=_0xbf71cd['voiceQueues'][_0xbf71cd[_0x8409('0xab')][_0x572d44[_0x8409('0x11a')]]['queue']];if(strategy[this[_0x8409('0x21')][this['actions'][_0x572d44[_0x8409('0x11a')]]['queue']]['strategy']]===_0x8409('0x1b')){if(this[_0x8409('0xab')][_0x572d44[_0x8409('0x11a')]]&&this[_0x8409('0xab')][_0x572d44['actionid']][_0x8409('0x11d')]){this[_0x8409('0x20')][_0x8409('0x124')](this['actions'][_0x572d44[_0x8409('0x11a')]][_0x8409('0x125')],this['actions'][_0x572d44['actionid']][_0x8409('0x11d')])[_0x8409('0xb0')](function(_0xa30b04){logger[_0x8409('0x93')](_0x8409('0x126'),util[_0x8409('0x94')](_0xa30b04,{'showHidden':![],'depth':null}));})[_0x8409('0x127')](function(){_0xbf71cd[_0x8409('0xb1')](_0xbf71cd['voiceQueues'][_0xbf71cd[_0x8409('0xab')][_0x572d44[_0x8409('0x11a')]]['queue']]);_0xbf71cd['agents'][_0xbf71cd[_0x8409('0xab')][_0x572d44['actionid']][_0x8409('0x11d')]][_0x8409('0x11e')]=![];delete _0xbf71cd[_0x8409('0xab')][_0x572d44['actionid']];unlockQueueStatus(_0x224b94);});}else{this[_0x8409('0xb1')](this['voiceQueues'][this[_0x8409('0xab')][_0x572d44['actionid']][_0x8409('0xb3')]]);this[_0x8409('0xbc')]({'active':![],'ContactId':this[_0x8409('0xab')][_0x572d44[_0x8409('0x11a')]][_0x8409('0xce')],'ListId':this[_0x8409('0xab')][_0x572d44[_0x8409('0x11a')]][_0x8409('0xcf')],'VoiceQueueId':this['actions'][_0x572d44['actionid']][_0x8409('0xd1')]||undefined,'CampaignId':this['actions'][_0x572d44[_0x8409('0x11a')]][_0x8409('0xf7')]||undefined})[_0x8409('0xb0')](loggerCatch(_0x8409('0x128')));delete this['actions'][_0x572d44[_0x8409('0x11a')]];unlockQueueStatus(_0x224b94);}}else if((strategy[this['voiceQueues'][this[_0x8409('0xab')][_0x572d44['actionid']][_0x8409('0xb3')]][_0x8409('0x11b')]]||_0x8409('0x11f'))===_0x8409('0x11f')){var _0x443137;if(this[_0x8409('0xab')][_0x572d44[_0x8409('0x11a')]]&&!_[_0x8409('0x7a')](this['queueBooked'][this[_0x8409('0xab')][_0x572d44[_0x8409('0x11a')]][_0x8409('0xb3')]])){if(this[_0x8409('0x2d')][_0xbf71cd[_0x8409('0xab')][_0x572d44[_0x8409('0x11a')]][_0x8409('0xb3')]]){this[_0x8409('0x2d')][_0xbf71cd[_0x8409('0xab')][_0x572d44[_0x8409('0x11a')]][_0x8409('0xb3')]]=this[_0x8409('0x2d')][this[_0x8409('0xab')][_0x572d44[_0x8409('0x11a')]][_0x8409('0xb3')]]?this[_0x8409('0x2d')][this['actions'][_0x572d44[_0x8409('0x11a')]]['queue']]:this[_0x8409('0x2c')][this[_0x8409('0xab')][_0x572d44[_0x8409('0x11a')]][_0x8409('0xb3')]]?this[_0x8409('0x2c')][this['actions'][_0x572d44[_0x8409('0x11a')]][_0x8409('0xb3')]][_0x8409('0x129')]||0x0:0x0;}this['queueBooked'][this['actions'][_0x572d44[_0x8409('0x11a')]][_0x8409('0xb3')]][_0x8409('0x129')]=this[_0x8409('0x2d')][this[_0x8409('0xab')][_0x572d44[_0x8409('0x11a')]]['queue']];for(var _0x2d3185=0x0;_0x2d3185=0x0?!![]:![];})[_0x8409('0xb0')](myreject(_0x228c75)));}}else{_0x49d3a7[_0x8409('0x120')](ami[_0x8409('0xad')]({'action':'command','command':util['format'](_0x8409('0x147'),_0x3fe0db,!_[_0x8409('0x41')](config['timezones'][_0x3b3c34])?_0x3b3c34:'')})[_0x8409('0xb7')](function(_0x5e2bc2){return _0x5e2bc2[_0x8409('0x144')][_0x8409('0x145')](_0x8409('0x146'))>=0x0?!![]:![];})[_0x8409('0xb0')](myreject(_0x228c75)));}BPromise[_0x8409('0x148')](_0x49d3a7)['then'](function(_0x1aa7c3){var _0x1ebb85=_[_0x8409('0x149')](_0x1aa7c3);if(_0x1ebb85){return _0x4484b7(_0x1ebb85);}else{_0x16e9fb['message']=_0x24a2bd?_0x8409('0x14a'):'INTERVAL_IS_OVERTIME';return _0x228c75(msgResponse(_0x8409('0x14b'),_0x8409('0x13d'),_0x8409('0x14c')+_0x24a2bd+'\x20'+_0x1b0d13+'\x20Interval\x20is\x20overtime:\x20'+util[_0x8409('0x94')](_0x3fe0db,{'showHidden':![],'depth':null})+'Timezone:\x20'+_0x3b3c34));}})[_0x8409('0xb0')](function(_0x3e4890){return _0x228c75(msgResponse(_0x8409('0x139'),_0x8409('0x13d'),JSON[_0x8409('0x4b')](_0x3e4890)));});});};Dialer[_0x8409('0x1c')]['checkDialMethod']=function(_0x3224b0){var _0x85738f=this;return function(){switch(_0x3224b0[_0x8409('0x59')]){case _0x8409('0x14d'):freeVariablesPredictive(_0x3224b0);_0x85738f['handlePower'](_0x3224b0,0x1);break;case _0x8409('0x14e'):freeVariablesPredictive(_0x3224b0);_0x85738f[_0x8409('0x14f')](_0x3224b0,_0x3224b0['dialPowerLevel']);break;case _0x8409('0x7'):_0x85738f[_0x8409('0x7')](_0x3224b0);break;case _0x8409('0x6'):freeVariablesPredictive(_0x3224b0);_0x85738f[_0x8409('0x14f')](_0x3224b0,0x1);break;default:freeVariablesPredictive(_0x3224b0);logger[_0x8409('0x93')](_0x8409('0x150'),_0x3224b0[_0x8409('0x43')],_0x8409('0x151'));}};};Dialer['prototype']['launchHandleIvr']=function(_0x2d9a09){var _0x5ab731=this;return function(){_0x5ab731[_0x8409('0x152')](_0x2d9a09);};};Dialer['prototype'][_0x8409('0x9')]=function(_0x47096b){var _0x60cd63=this;if(isNotPreview(_0x47096b[_0x8409('0x59')])){if(isVoiceQueueOutbound(_0x47096b[_0x8409('0x4e')])&&isActive(_0x47096b[_0x8409('0x58')])){_0x47096b[_0x8409('0x9e')]=!![];BPromise['resolve']()[_0x8409('0xb7')](checkIsLoggedIn(_0x47096b,_0x47096b[_0x8409('0x52')]))[_0x8409('0xb7')](checkIsActive(_0x47096b,_0x47096b[_0x8409('0x58')]))[_0x8409('0xb7')](checkInterval(_0x47096b))[_0x8409('0xb7')](_0x60cd63[_0x8409('0x135')](_0x47096b))['then'](_0x60cd63['checkIfTime'](_0x47096b[_0x8409('0x153')],_0x47096b[_0x8409('0x154')],_0x47096b['name'],_0x47096b))[_0x8409('0xb7')](_0x60cd63[_0x8409('0x13a')](_0x47096b[_0x8409('0x48')],_0x47096b[_0x8409('0x154')],_0x47096b[_0x8409('0x43')],_0x47096b))[_0x8409('0xb7')](_0x60cd63['checkDialMethod'](_0x47096b))[_0x8409('0xb0')](loggerCatchQueueSummary(_0x8409('0x155'),_0x47096b));}else{notSendMessagesQueue(_0x47096b);}}else{freeVariablesPredictive(_0x47096b);}};Dialer[_0x8409('0x1c')][_0x8409('0x134')]=function(){var _0x1975df=this;var _0x183626;for(var _0x3b2e8a in this[_0x8409('0x22')]){if(this[_0x8409('0x22')][_0x8409('0x97')](_0x3b2e8a)){_0x183626=this['campaigns'][_0x3b2e8a];if(isCampaignIvr(_0x183626['type'])&&isActive(_0x183626[_0x8409('0x74')])){_0x183626[_0x8409('0x9e')]=!![];BPromise[_0x8409('0xb6')]()['then'](checkIsActive(_0x183626,_0x183626[_0x8409('0x74')]))[_0x8409('0xb7')](checkInterval(_0x183626))[_0x8409('0xb7')](_0x1975df[_0x8409('0x135')](_0x183626))[_0x8409('0xb7')](_0x1975df['checkIfTime'](_0x183626[_0x8409('0x153')],_0x183626[_0x8409('0x154')],_0x183626[_0x8409('0x43')],_0x183626))[_0x8409('0xb7')](_0x1975df['checkIfTimeIntervals'](_0x183626[_0x8409('0x48')],_0x183626[_0x8409('0x154')],_0x183626[_0x8409('0x43')],_0x183626))[_0x8409('0xb7')](_0x1975df['launchHandleIvr'](_0x183626))[_0x8409('0xb0')](loggerCatchQueueSummary('[syncCampaigns]',_0x183626));}else{notSendMessagesCampaign(_0x183626);}}}};function getCallerIdRandom(_0x9f5306,_0xc3ff20){var _0x353b47,_0x3d1063,_0x2bb998;if(_0xc3ff20<=0x0){_0xc3ff20=0x1;}_0x353b47=new RegExp('\x5cw{0,'+_0xc3ff20+'}$');_0x3d1063=Math[_0x8409('0x156')](0xa,_0xc3ff20-0x1);_0x2bb998=Math[_0x8409('0x156')](0xa,_0xc3ff20)-0x1;return util['format']('%s',_['replace'](_0x9f5306,_0x353b47,_[_0x8409('0x157')](_0x3d1063,_0x2bb998)));}function extractCalleridName(_0x495793){var _0x2d12ba=_0x495793[_0x8409('0x158')](/"(.*?)"/);return _0x2d12ba?_0x2d12ba[0x1]:_0x495793;}function extractCalleridNumber(_0x3ed98a){var _0x26f490=_0x3ed98a[_0x8409('0x158')](/<(.*?)>/);return _0x26f490?_0x26f490[0x1]:_0x3ed98a;}Dialer[_0x8409('0x1c')]['actionOriginate']=function(_0x2c7a9d,_0x5d20a5){var _0x5580d4=this;var _0x3ca96e=uuid['v4']();this['actions'][_0x3ca96e]=new Action(_0x2c7a9d,_0x5d20a5,_0x3ca96e);return new BPromise(function(_0x4f4d54,_0x596d4a){if(_[_0x8409('0x41')](_0x2c7a9d)&&_0x8409('0x159')!==typeof _0x2c7a9d){return _0x596d4a(msgResponse('originate',_0x8409('0x13d'),_0x8409('0x15a')));}if(_[_0x8409('0x41')](_0x5d20a5[_0x8409('0x15b')][_0x8409('0x15c')])||_0x5d20a5[_0x8409('0x15b')][_0x8409('0x15c')]===null){return _0x596d4a(msgResponse(_0x8409('0x15d'),'Failure','contact\x20is\x20undefine'));}var _0x36a847={'XMD-CALLERID':_0x5580d4['actions'][_0x3ca96e][_0x8409('0x15e')](),'XMD-AGI':_0x2c7a9d[_0x8409('0xfa')]?util[_0x8409('0x76')](_0x8409('0x15f'),ipAgi,_0x2c7a9d['dialQueueProject']):_0x8409('0x160'),'XMD-AGIAFTER':_0x2c7a9d['dialQueueProject2']?util['format']('\x22agi://%s/square,%s\x22',ipAgi,_0x2c7a9d[_0x8409('0x103')]):_0x8409('0x160'),'XMD-QUEUE':_0x2c7a9d[_0x8409('0x4e')]===_0x8409('0x4f')?util[_0x8409('0x76')](_0x8409('0x161'),_0x2c7a9d[_0x8409('0x43')],_0x2c7a9d[_0x8409('0x162')]||'',_0x2c7a9d[_0x8409('0x104')]?'c':'',_0x2c7a9d[_0x8409('0x109')]||0x3):_0x8409('0x160'),'XMD-CONTACTID':_0x5d20a5[_0x8409('0xce')],'XMD-CDRTYPE':_0x8409('0x5'),'CALLERID(all)':_0x5580d4[_0x8409('0xab')][_0x3ca96e][_0x8409('0x15e')](),'XMD-AMD':_0x2c7a9d[_0x8409('0xe0')]?_0x8409('0x163'):'NONE','XMD-DESTINATION':'xcally-motion-dialer'};if(_0x2c7a9d[_0x8409('0xe0')]){_0x36a847[_0x8409('0x164')]=_0x2c7a9d[_0x8409('0x165')]||0x9c4;_0x36a847[_0x8409('0x166')]=_0x2c7a9d[_0x8409('0x167')]||0x5dc;_0x36a847[_0x8409('0x168')]=_0x2c7a9d['dialAMDAfterGreetingSilence']||0x320;_0x36a847[_0x8409('0x169')]=_0x2c7a9d[_0x8409('0x16a')]||0x1388;_0x36a847[_0x8409('0x16b')]=_0x2c7a9d['dialAMDMinWordLength']||0x64;_0x36a847['XMD-AMDBETWEENWORDSSILENCE']=_0x2c7a9d[_0x8409('0x16c')]||0x32;_0x36a847[_0x8409('0x16d')]=_0x2c7a9d[_0x8409('0x16e')]||0x3;_0x36a847[_0x8409('0x16f')]=_0x2c7a9d[_0x8409('0x170')]||0x100;_0x36a847['XMD-AMDMAXIMUMWORDLENGTH']=_0x2c7a9d['dialAMDMaximumWordLength']||0x1388;}if(_0x2c7a9d['type']===_0x8409('0x4f')){_0x36a847[_0x8409('0x171')]=_0x5d20a5[_0x8409('0xd1')];}else{_0x36a847[_0x8409('0x172')]=_0x5d20a5[_0x8409('0xf7')];}for(var _0x4b1dd0 in _0x5d20a5['Contact']){if(_0x5d20a5['Contact'][_0x8409('0x97')](_0x4b1dd0)){if(isNotNull(_0x5d20a5[_0x8409('0x15b')][_0x4b1dd0])&&_0x4b1dd0!=='id'&&_0x4b1dd0!==_0x8409('0x173')&&_0x4b1dd0!==_0x8409('0x174')&&_0x4b1dd0!==_0x8409('0x175')){_0x36a847[util[_0x8409('0x76')]('%s%s',_0x8409('0x176'),_['toUpper'](_0x4b1dd0))]=_0x5d20a5[_0x8409('0x15b')][_0x4b1dd0];}}}var _0x34d22e=_0x5580d4[_0x8409('0xd4')](_0x2c7a9d[_0x8409('0x73')])?getCallerId(_0x2c7a9d['Trunk'][_0x8409('0x75')],_0x2c7a9d[_0x8409('0x5a')],_0x2c7a9d[_0x8409('0x177')]>0x0?getCallerIdRandom(_0x2c7a9d[_0x8409('0x5b')],_0x2c7a9d[_0x8409('0x177')]):_0x2c7a9d['dialOriginateCallerIdNumber']):getCallerId(_['isNil'](_0x2c7a9d[_0x8409('0x136')])?_0x2c7a9d[_0x8409('0x73')][_0x8409('0x75')]:_0x2c7a9d[_0x8409('0x136')][_0x8409('0x75')],_0x2c7a9d[_0x8409('0x5a')],_0x2c7a9d['dialRandomLastDigitCallerIdNumber']>0x0?getCallerIdRandom(_0x2c7a9d['dialOriginateCallerIdNumber'],_0x2c7a9d['dialRandomLastDigitCallerIdNumber']):_0x2c7a9d[_0x8409('0x5b')]);if(_0x34d22e){_0x36a847[_0x8409('0x178')]=_0x5580d4[_0x8409('0xab')][_0x3ca96e][_0x8409('0x179')]=extractCalleridName(_0x34d22e);_0x36a847['XMD-ORIGINATECALLERIDNUM']=_0x5580d4[_0x8409('0xab')][_0x3ca96e][_0x8409('0x17a')]=extractCalleridNumber(_0x34d22e);}return ami[_0x8409('0xad')]({'actionid':_0x3ca96e,'action':_0x8409('0x15d'),'channel':_0x5580d4['isTrunkReachable'](_0x2c7a9d[_0x8409('0x73')])?util['format'](_0x8409('0x17b'),_0x2c7a9d[_0x8409('0x73')][_0x8409('0x43')],isNotNull(_0x2c7a9d['dialPrefix'])?_0x2c7a9d['dialPrefix'][_0x8409('0x17c')]()||'':'',_0x2c7a9d[_0x8409('0x17d')]>0x0?_0x5d20a5[_0x8409('0x15b')]['phone'][_0x8409('0x17e')](_0x2c7a9d[_0x8409('0x17d')]):_0x5d20a5[_0x8409('0x15b')]['phone']):util[_0x8409('0x76')](_0x8409('0x17b'),_['isNil'](_0x2c7a9d[_0x8409('0x136')])?_0x2c7a9d[_0x8409('0x73')][_0x8409('0x43')]:_0x2c7a9d[_0x8409('0x136')][_0x8409('0x43')],isNotNull(_0x2c7a9d[_0x8409('0x5d')])?_0x2c7a9d['dialPrefix']['trim']()||'':'',_0x2c7a9d['dialCutDigit']>0x0?_0x5d20a5[_0x8409('0x15b')][_0x8409('0x15c')][_0x8409('0x17e')](_0x2c7a9d[_0x8409('0x17d')]):_0x5d20a5['Contact'][_0x8409('0x15c')]),'callerid':_0x34d22e,'Exten':_0x8409('0xdb'),'Context':_0x8409('0x17f'),'Priority':'1','variable':_0x36a847,'timeout':(_0x2c7a9d['dialOriginateTimeout']||0x1e)*0x3e8,'async':!![],'channelid':_0x3ca96e})[_0x8409('0xb7')](function(_0x77b1ae){return _0x4f4d54(_0x77b1ae);})[_0x8409('0xb0')](function(_0x54a781){_0x2c7a9d[_0x8409('0x65')]+=0x1;var _0x5808ae=new History(_0x5580d4[_0x8409('0xab')][_0x3ca96e]);logger['error'](util[_0x8409('0x76')]('[originateError]:\x20%s',JSON[_0x8409('0x4b')](_0x54a781)));_0x5808ae['state']=0xe;_0x5808ae[_0x8409('0xa6')]=_0x8409('0x180');_0x5808ae[_0x8409('0xa8')]=moment()[_0x8409('0x76')](_0x8409('0xf6'));_0x5808ae[_0x8409('0xa7')]=_0x5808ae['starttime'];_0x5580d4[_0x8409('0xc6')](_0x5808ae)[_0x8409('0xb0')](loggerCatch(_0x8409('0x181')));_0x5580d4[_0x8409('0xc4')](_0x5808ae)[_0x8409('0xb0')](loggerCatch('[originate][error]'))['finally'](function(){delete _0x5580d4[_0x8409('0xab')][_0x3ca96e];return _0x596d4a(msgResponse('originate',_0x8409('0x182'),'originate\x20action\x20Error'));});});});};Dialer[_0x8409('0x1c')][_0x8409('0x34')]=function(_0xb5499a){var _0x4607f9=this[_0x8409('0xab')][_0xb5499a['actionid']];var _0x3b5d63=this;if(_0x4607f9){delete this[_0x8409('0xab')][_0xb5499a[_0x8409('0x11a')]];_0x4607f9['responsetime']=moment()[_0x8409('0x76')]('YYYY-MM-DD\x20HH:mm:ss');var _0x47e192=_0x4607f9['type']===_0x8409('0x90')?this[_0x8409('0x22')][_0x4607f9['queue']]:this[_0x8409('0x21')][_0x4607f9[_0x8409('0x183')]()];if(!this[_0x8409('0x184')](_0xb5499a[_0x8409('0x185')])){this[_0x8409('0xb1')](_0x47e192);return this[_0x8409('0x186')](_0x4607f9,_0x47e192,_0xb5499a)[_0x8409('0xb7')](function(_0x20d318){})[_0x8409('0xb0')](loggerCatch(_0x8409('0x187')));}else{this[_0x8409('0x28')][_0xb5499a[_0x8409('0xd8')]]=_0x4607f9;}}};Dialer[_0x8409('0x1c')]['checkRetriveMax']=function(_0xd1458a,_0x2b7202,_0x3f0aa4){var _0x90aa43=new History(_0x2b7202);if(_0x90aa43[_0x8409('0xe7')]+_0x90aa43[_0x8409('0x188')]+_0x90aa43[_0x8409('0xe8')]+_0x90aa43[_0x8409('0xe9')]+_0x90aa43[_0x8409('0xea')]+_0x90aa43[_0x8409('0xeb')]+_0x90aa43[_0x8409('0xef')]+_0x90aa43[_0x8409('0x189')]>=_0x3f0aa4['dialGlobalMaxRetry']-0x1){return!![];}switch(_0xd1458a){case 0x3:if(_0x90aa43[_0x8409('0xe8')]>=_0x3f0aa4[_0x8409('0x18a')]-0x1){return!![];}else{this[_0x8409('0xbc')]({'active':![],'countnoanswerretry':_0x90aa43[_0x8409('0xe8')]+=0x1,'scheduledat':moment()['add'](_0x3f0aa4[_0x8409('0x18b')],_0x8409('0xf5'))[_0x8409('0x76')]('YYYY-MM-DD\x20HH:mm:ss'),'ContactId':_0x90aa43[_0x8409('0xce')],'ListId':_0x90aa43[_0x8409('0xcf')],'VoiceQueueId':_0x90aa43[_0x8409('0xd1')]||undefined,'CampaignId':_0x90aa43[_0x8409('0xf7')]||undefined})[_0x8409('0xb0')](loggerCatch(_0x8409('0x18c')));}break;case 0x5:if(_0x90aa43[_0x8409('0xe7')]>=_0x3f0aa4[_0x8409('0x18d')]-0x1){return!![];}else{this[_0x8409('0xbc')]({'active':![],'countbusyretry':_0x90aa43[_0x8409('0xe7')]+=0x1,'scheduledat':moment()[_0x8409('0xf4')](_0x3f0aa4[_0x8409('0x18e')],'minutes')['format'](_0x8409('0xf6')),'ContactId':_0x90aa43['ContactId'],'ListId':_0x90aa43[_0x8409('0xcf')],'VoiceQueueId':_0x90aa43[_0x8409('0xd1')]||undefined,'CampaignId':_0x90aa43['CampaignId']||undefined})[_0x8409('0xb0')](loggerCatch(_0x8409('0x18f')));}break;case 0x8:if(_0x90aa43[_0x8409('0x188')]>=_0x3f0aa4[_0x8409('0x190')]-0x1){return!![];}else{this[_0x8409('0xbc')]({'active':![],'countcongestionretry':_0x90aa43['countcongestionretry']+=0x1,'scheduledat':moment()[_0x8409('0xf4')](_0x3f0aa4[_0x8409('0x191')],_0x8409('0xf5'))[_0x8409('0x76')](_0x8409('0xf6')),'ContactId':_0x90aa43['ContactId'],'ListId':_0x90aa43[_0x8409('0xcf')],'VoiceQueueId':_0x90aa43[_0x8409('0xd1')]||undefined,'CampaignId':_0x90aa43[_0x8409('0xf7')]||undefined})['catch'](loggerCatch(_0x8409('0x192')));}break;case 0x0:if(_0x90aa43[_0x8409('0xe9')]>=_0x3f0aa4[_0x8409('0x193')]-0x1){return!![];}else{this[_0x8409('0xbc')]({'active':![],'countnosuchnumberretry':_0x90aa43[_0x8409('0xe9')]+=0x1,'scheduledat':moment()['add'](_0x3f0aa4[_0x8409('0x194')],_0x8409('0xf5'))[_0x8409('0x76')](_0x8409('0xf6')),'ContactId':_0x90aa43[_0x8409('0xce')],'ListId':_0x90aa43[_0x8409('0xcf')],'VoiceQueueId':_0x90aa43['VoiceQueueId']||undefined,'CampaignId':_0x90aa43['CampaignId']||undefined})['catch'](loggerCatch(_0x8409('0x195')));}break;case 0xa:if(_0x90aa43['countdropretry']>=_0x3f0aa4[_0x8409('0x10e')]-0x1){return!![];}else{this['rescheduleContact']({'active':![],'countdropretry':_0x90aa43[_0x8409('0xea')]+=0x1,'scheduledat':moment()['add'](_0x3f0aa4['dialDropRetryFrequency'],'minutes')['format']('YYYY-MM-DD\x20HH:mm:ss'),'ContactId':_0x90aa43[_0x8409('0xce')],'ListId':_0x90aa43[_0x8409('0xcf')],'VoiceQueueId':_0x90aa43[_0x8409('0xd1')]||undefined,'CampaignId':_0x90aa43['CampaignId']||undefined})[_0x8409('0xb0')](loggerCatch(_0x8409('0x110')));}break;case 0xb:if(_0x90aa43[_0x8409('0xeb')]>=_0x3f0aa4[_0x8409('0x114')]-0x1){return!![];}else{this['rescheduleContact']({'active':![],'countabandonedretry':_0x90aa43[_0x8409('0xeb')]+=0x1,'scheduledat':moment()[_0x8409('0xf4')](_0x3f0aa4[_0x8409('0x116')],_0x8409('0xf5'))['format']('YYYY-MM-DD\x20HH:mm:ss'),'ContactId':_0x90aa43[_0x8409('0xce')],'ListId':_0x90aa43[_0x8409('0xcf')],'VoiceQueueId':_0x90aa43[_0x8409('0xd1')]||undefined,'CampaignId':_0x90aa43[_0x8409('0xf7')]||undefined})[_0x8409('0xb0')](loggerCatch(_0x8409('0x117')));}break;case 0x13:if(_0x90aa43[_0x8409('0xef')]>=_0x3f0aa4[_0x8409('0xf0')]-0x1){return!![];}else{this[_0x8409('0xbc')]({'active':![],'countmachineretry':_0x90aa43[_0x8409('0xef')]+=0x1,'scheduledat':moment()['add'](_0x3f0aa4[_0x8409('0x196')],_0x8409('0xf5'))['format'](_0x8409('0xf6')),'ContactId':_0x90aa43[_0x8409('0xce')],'ListId':_0x90aa43[_0x8409('0xcf')],'VoiceQueueId':_0x90aa43[_0x8409('0xd1')]||undefined,'CampaignId':_0x90aa43[_0x8409('0xf7')]||undefined})[_0x8409('0xb0')](loggerCatch(_0x8409('0xf2')));}break;case 0x14:if(_0x90aa43[_0x8409('0x189')]>=_0x3f0aa4[_0x8409('0x197')]-0x1){return!![];}else{this['rescheduleContact']({'active':![],'countagentrejectretry':_0x90aa43['countagentrejectretry']+=0x1,'scheduledat':moment()[_0x8409('0xf4')](_0x3f0aa4['dialAgentRejectRetryFrequency'],_0x8409('0xf5'))[_0x8409('0x76')](_0x8409('0xf6')),'ContactId':_0x90aa43[_0x8409('0xce')],'ListId':_0x90aa43[_0x8409('0xcf')],'VoiceQueueId':_0x90aa43['VoiceQueueId']||undefined,'CampaignId':_0x90aa43[_0x8409('0xf7')]||undefined})['catch'](loggerCatch(_0x8409('0x198')));}break;default:return!![];}};Dialer['prototype'][_0x8409('0x186')]=function(_0xcd7de,_0x2ec138,_0x51b288){var _0x1e2e95=this;var _0x342573=new History(_0xcd7de);return new BPromise(function(_0x5971cf,_0x5eaa47){if(_[_0x8409('0x41')](_0x2ec138)&&_0x8409('0x159')!==typeof _0x2ec138){return _0x5eaa47(msgResponse(_0x8409('0x199'),_0x8409('0x13d'),'entity\x20is\x20undefine'));}if(_[_0x8409('0x41')](_0x51b288)&&_0x8409('0x159')!==typeof _0x51b288){return _0x5eaa47(msgResponse(_0x8409('0x199'),_0x8409('0x13d'),_0x8409('0x19a')));}switch(_0x51b288['reason']){case'0':_0x2ec138[_0x8409('0x64')]+=0x1;_0x342573[_0x8409('0xa5')]=0x0;_0x342573[_0x8409('0xa6')]=_0x8409('0x19b');_0x342573['countnosuchnumberretry']+=0x1;_0x342573[_0x8409('0xe5')]+=0x1;_0x1e2e95[_0x8409('0xc6')](_0x342573)[_0x8409('0xb0')](loggerCatch(_0x8409('0xe6')));if(_0x1e2e95[_0x8409('0x19c')](0x0,_0xcd7de,_0x2ec138)){if(_0x342573[_0x8409('0xe9')]>=_0x2ec138[_0x8409('0x193')]){_0x1e2e95[_0x8409('0x19d')](_0x342573,_0x5971cf,_0x5eaa47,_0x8409('0x19e'));}else{_0x1e2e95['stateGlobal'](_0x342573,_0x5971cf,_0x5eaa47,_0x8409('0x19e'));}}break;case'3':_0x2ec138[_0x8409('0x63')]+=0x1;_0x342573[_0x8409('0xa5')]=0x3;_0x342573['statedesc']=_0x8409('0x19f');_0x342573[_0x8409('0xe8')]+=0x1;_0x342573[_0x8409('0xe5')]+=0x1;_0x1e2e95[_0x8409('0xc6')](_0x342573)['catch'](loggerCatch(_0x8409('0x1a0')));if(_0x1e2e95[_0x8409('0x19c')](0x3,_0xcd7de,_0x2ec138)){if(_0x342573['countnoanswerretry']>=_0x2ec138[_0x8409('0x18a')]){_0x1e2e95[_0x8409('0x19d')](_0x342573,_0x5971cf,_0x5eaa47,_0x8409('0x1a1'));}else{_0x1e2e95[_0x8409('0xed')](_0x342573,_0x5971cf,_0x5eaa47,_0x8409('0x1a1'));}}break;case'5':_0x2ec138['outboundBusyCallsDay']+=0x1;_0x342573[_0x8409('0xa5')]=0x5;_0x342573[_0x8409('0xa6')]=_0x8409('0x1a2');_0x342573[_0x8409('0xe7')]+=0x1;_0x342573[_0x8409('0xe5')]+=0x1;_0x1e2e95['createHistory'](_0x342573)[_0x8409('0xb0')](loggerCatch(_0x8409('0x1a3')));if(_0x1e2e95['checkRetriveMax'](0x5,_0xcd7de,_0x2ec138)){if(_0x342573[_0x8409('0xe7')]>=_0x2ec138[_0x8409('0x18d')]){_0x1e2e95['createStateFinal'](_0x342573,_0x5971cf,_0x5eaa47,_0x8409('0x1a4'));}else{_0x1e2e95['stateGlobal'](_0x342573,_0x5971cf,_0x5eaa47,_0x8409('0x1a4'));}}break;case'8':_0x2ec138[_0x8409('0x60')]+=0x1;_0x342573['state']=0x8;_0x342573['statedesc']=_0x8409('0x1a5');_0x342573[_0x8409('0x188')]+=0x1;_0x342573[_0x8409('0xe5')]+=0x1;_0x1e2e95[_0x8409('0xc6')](_0x342573)['catch'](loggerCatch(_0x8409('0x1a6')));if(_0x1e2e95['checkRetriveMax'](0x8,_0xcd7de,_0x2ec138)){if(_0x342573[_0x8409('0x188')]>=_0x2ec138[_0x8409('0x190')]){_0x1e2e95[_0x8409('0x19d')](_0x342573,_0x5971cf,_0x5eaa47,'reason\x208\x20congestion');}else{_0x1e2e95[_0x8409('0xed')](_0x342573,_0x5971cf,_0x5eaa47,'reason\x208\x20congestion');}}break;case'11':_0x2ec138['outboundAbandonedCallsDay']+=0x1;_0x342573['state']=0xb;_0x342573['statedesc']='Abandoned';_0x342573['countabandonedretry']+=0x1;_0x342573[_0x8409('0xe5')]+=0x1;_0x1e2e95[_0x8409('0xc6')](_0x342573)[_0x8409('0xb0')](loggerCatch('[syncAgentComplete][createHistory][11]'));if(_0x1e2e95['checkRetriveMax'](0xb,_0xcd7de,_0x2ec138)){if(_0x342573[_0x8409('0xeb')]>=_0x2ec138[_0x8409('0x114')]){_0x1e2e95[_0x8409('0x19d')](_0x342573,_0x5971cf,_0x5eaa47,_0x8409('0x1a7'));}else{_0x1e2e95['stateGlobal'](_0x342573,_0x5971cf,_0x5eaa47,_0x8409('0x1a7'));}}break;case'20':_0x2ec138[_0x8409('0x1a8')]+=0x1;_0x342573[_0x8409('0xa5')]=0x14;_0x342573[_0x8409('0xa6')]=_0x8409('0x1a9');_0x342573['countagentrejectretry']+=0x1;_0x342573['countglobal']+=0x1;_0x1e2e95[_0x8409('0xc6')](_0x342573)[_0x8409('0xb0')](loggerCatch('[syncAgentComplete][createHistory][20]'));if(_0x1e2e95[_0x8409('0x19c')](0x14,_0xcd7de,_0x2ec138)){if(_0x342573[_0x8409('0x189')]>=_0x2ec138['dialAgentRejectMaxRetry']){_0x1e2e95['createStateFinal'](_0x342573,_0x5971cf,_0x5eaa47,_0x8409('0x1aa'));}else{_0x1e2e95['stateGlobal'](_0x342573,_0x5971cf,_0x5eaa47,_0x8409('0x1aa'));}}break;default:_0x2ec138['outboundUnknownCallsDay']+=0x1;_0x342573[_0x8409('0xa5')]=0xc;_0x342573[_0x8409('0xa6')]=_0x51b288[_0x8409('0x100')];_0x1e2e95[_0x8409('0xc6')](_0x342573)[_0x8409('0xb0')](loggerCatch(_0x8409('0x1ab')));if(_0x1e2e95[_0x8409('0x19c')](_0x51b288[_0x8409('0x100')],_0xcd7de,_0x2ec138)){if(_0x342573[_0x8409('0xe7')]+_0x342573['countcongestionretry']+_0x342573[_0x8409('0xe8')]+_0x342573[_0x8409('0xe9')]+_0x342573['countdropretry']+_0x342573['countabandonedretry']+_0x342573[_0x8409('0xef')]+_0x342573[_0x8409('0x189')]>=_0x2ec138[_0x8409('0xec')]){_0x1e2e95[_0x8409('0xed')](_0x342573,_0x5971cf,_0x5eaa47,_0x51b288[_0x8409('0x100')]);}else{_0x1e2e95[_0x8409('0x19d')](_0x342573,_0x5971cf,_0x5eaa47,_0x51b288[_0x8409('0x100')]);}}}});};Dialer[_0x8409('0x1c')]['stateGlobal']=function(_0x5af07b,_0xc8c599,_0x41804b,_0x570dc5){var _0x142fc2=new Final(_0x5af07b);_0x142fc2[_0x8409('0xa5')]=0xf;_0x142fc2[_0x8409('0xa6')]=_0x8409('0x1ac');this[_0x8409('0x19d')](_0x142fc2,_0xc8c599,_0x41804b,_0x570dc5);};Dialer[_0x8409('0x1c')][_0x8409('0x19d')]=function(_0x3b5ef6,_0x34f88a,_0x152049,_0x4bd4b3){this[_0x8409('0xc4')](_0x3b5ef6)[_0x8409('0xb7')](function(_0x24e650){return _0x34f88a(msgResponse(_0x8409('0x199'),_0x8409('0xd3'),_0x4bd4b3));})['catch'](function(_0xbaeba0){return _0x152049(msgResponse(_0x8409('0x1ad'),_0x8409('0x13d'),_0x8409('0x1ae')));});};Dialer[_0x8409('0x1c')]['predictive']=function(_0x42cf48){var _0x4710dc=this;var _0x116d24=_0x42cf48[_0x8409('0x1af')]/0x64;var _0x3e5159=_0x42cf48[_0x8409('0x10a')]/(_0x42cf48[_0x8409('0x10a')]+_0x42cf48[_0x8409('0x5f')]);var _0x2191d0=Math['round'](_0x42cf48[_0x8409('0x6d')]*(_0x42cf48['predictiveIntervalMaxThreshold']/0x64));var _0x5d6cb8=Math[_0x8409('0x1b0')](_0x42cf48[_0x8409('0x6d')]*(_0x42cf48[_0x8409('0x1b1')]/0x64));var _0x21f5c1=_0x42cf48['available']+_0x42cf48[_0x8409('0x9f')];var _0x57367d=Math[_0x8409('0x1b2')](_0x42cf48[_0x8409('0x70')]*_0x42cf48[_0x8409('0x72')]*_0x42cf48[_0x8409('0x6b')]*_0x42cf48[_0x8409('0x6c')]);if(_[_0x8409('0x41')](_0x42cf48[_0x8409('0x2a')])){if(!_['isUndefined'](_0x42cf48[_0x8409('0x29')])){_0x42cf48[_0x8409('0x29')]=undefined;loggerPredictive['error'](_0x8409('0x1b3'),'check\x20predictive\x20is\x20not\x20undefine');}if(!_['isUndefined'](_0x42cf48[_0x8409('0x8e')])){loggerPredictive[_0x8409('0x93')]('[startMethodPredictive][StartProgressive]','check\x20handlePredictive\x20is\x20not\x20undefine');clearInterval(_0x42cf48[_0x8409('0x8e')]);_0x42cf48[_0x8409('0x8e')]=undefined;}_0x42cf48[_0x8409('0x2a')]=moment()[_0x8409('0x76')](_0x8409('0xf6'));loggerPredictive[_0x8409('0x7c')](_0x42cf48[_0x8409('0x43')],_0x8409('0x1b4'),_0x42cf48[_0x8409('0x2a')]);this[_0x8409('0x14f')](_0x42cf48,0x1);}else if(ifInterval(_0x42cf48[_0x8409('0x1b5')],_0x42cf48['startProgressive'])){this['handlePower'](_0x42cf48,0x1);loggerPredictiveCalls[_0x8409('0x7c')](_0x8409('0x1b6'),_0x42cf48[_0x8409('0x2a')],_0x42cf48['name']);_0x42cf48[_0x8409('0x70')]=0x0;_0x42cf48[_0x8409('0x6a')]=0x0;}else if(_0x116d24<_0x3e5159&&_0x42cf48[_0x8409('0x1b7')]===_0x8409('0x1b8')){freeVariablesPredictive(_0x42cf48);loggerPredictive['info'](_0x8409('0x1b9'),_0x8409('0x1ba'),_0x3e5159,_0x8409('0x2a'),_0x42cf48['name']);}else if(_0x57367d<_0x42cf48[_0x8409('0x6a')]&&_0x42cf48[_0x8409('0x1b7')]===_0x8409('0x1b8')){freeVariablesPredictive(_0x42cf48);loggerPredictive['info'](_0x8409('0x1bb'),_0x8409('0x1bc'),_0x57367d,_0x8409('0x1bd'),_0x42cf48[_0x8409('0x6a')],'startProgressive',_0x42cf48[_0x8409('0x43')]);}else if(!ifInterval(_0x42cf48['dialPredictiveInterval'],_0x42cf48[_0x8409('0x2a')])&&_[_0x8409('0x41')](_0x42cf48[_0x8409('0x29')])&&!_['isUndefined'](_0x42cf48[_0x8409('0x2a')])){_0x42cf48[_0x8409('0x29')]=moment()[_0x8409('0x76')](_0x8409('0xf6'));loggerPredictive[_0x8409('0x7c')](_0x42cf48['name'],_0x8409('0x1be'),_0x42cf48[_0x8409('0x29')]);this['averageHandleTime'](_0x42cf48[_0x8409('0x1b5')])[_0x8409('0xb7')](this[_0x8409('0x1bf')](_0x42cf48))[_0x8409('0xb7')](mergeDataErlangB(_0x42cf48))[_0x8409('0xb7')](this['startMethodPredictive'](_0x42cf48))[_0x8409('0xb0')](loggerCatchPredictive(_0x8409('0x1c0'),_0x42cf48));}else if(!ifInterval(_0x42cf48[_0x8409('0x1b5')],_0x42cf48[_0x8409('0x29')])){_0x42cf48[_0x8409('0x6a')]=0x0;_0x42cf48[_0x8409('0x29')]=moment()[_0x8409('0x76')](_0x8409('0xf6'));loggerPredictive[_0x8409('0x7c')](_0x42cf48['name'],'recalculate\x20predictive\x20at',_0x42cf48[_0x8409('0x29')]);clearInterval(_0x42cf48[_0x8409('0x8e')]);_0x42cf48[_0x8409('0x8e')]=undefined;this[_0x8409('0x1c1')](_0x42cf48['dialPredictiveInterval'])[_0x8409('0xb7')](this['getDataPredictive'](_0x42cf48))[_0x8409('0xb7')](mergeDataErlangB(_0x42cf48))[_0x8409('0xb7')](this['startMethodPredictive'](_0x42cf48))['catch'](loggerCatchPredictive('Predictive\x20for\x20every\x20interval',_0x42cf48));}else if(_0x42cf48['predictiveIntervalAvailable']&&_0x21f5c1<_0x42cf48[_0x8409('0x6d')]-_0x5d6cb8){freeVariablesPredictive(_0x42cf48);loggerPredictive[_0x8409('0x7c')](_0x42cf48['name'],_0x8409('0x1c2'),_0x21f5c1,_0x8409('0x1c3'),_0x42cf48[_0x8409('0x6d')],'-',_0x5d6cb8,'=',_0x42cf48[_0x8409('0x6d')]-_0x5d6cb8,')');}else if(_0x42cf48[_0x8409('0x6d')]&&_0x21f5c1>_0x42cf48[_0x8409('0x6d')]+_0x2191d0){freeVariablesPredictive(_0x42cf48);loggerPredictive[_0x8409('0x7c')](_0x42cf48['name'],_0x8409('0x1c2'),_0x21f5c1,_0x8409('0x1c4'),_0x42cf48[_0x8409('0x6d')],'+',_0x2191d0,'=',_0x42cf48[_0x8409('0x6d')]+_0x2191d0,')');}};Dialer['prototype']['getDataPredictive']=function(_0x30359d){var _0x1c7803=this;return function(_0x304687){return new BPromise(function(_0x1a8c48,_0x298368){_[_0x8409('0x8c')](_0x30359d,_0x304687[0x0]);if(checkGetDataPredictive(_0x304687[0x0])){var _0x1c97a5=_0x30359d[_0x8409('0x6d')]=_0x30359d['talking']+_0x30359d[_0x8409('0x51')];var _0x4365a3=_0x30359d['dialPredictiveInterval']*0x3c;var _0xf91ab9=_0x304687[0x0]['predictiveIntervalAvgTalktime']+_0x304687[0x0]['predictiveIntervalAvgHoldtime'];var _0x1fb60f=(_0x304687[0x0][_0x8409('0x67')]+_0x304687[0x0]['predictiveIntervalDroppedCallsTimeout']+_0x304687[0x0][_0x8409('0x81')])/_0x304687[0x0][_0x8409('0x6e')];_0x30359d[_0x8409('0x6b')]=_0x1fb60f>0x0?_0x1fb60f:0x1;switch(_0x30359d[_0x8409('0x1b7')]){case _0x8409('0x1b8'):var _0x19ea8e=_0x30359d[_0x8409('0x1af')]/0x64;return _0x1c7803[_0x8409('0x1c5')](_0x1c97a5,_0x4365a3,_0xf91ab9,_0x1fb60f,_0x19ea8e)[_0x8409('0xb7')](function(_0x5ed125){return _0x1a8c48(_0x5ed125);});case _0x8409('0x1c6'):var _0x24582e=_0x30359d['dialPredictiveOptimizationPercentage']/0x64;return _0x1c7803[_0x8409('0x1c7')](_0x1c97a5,_0x4365a3,_0xf91ab9,_0x1fb60f,_0x24582e)['then'](function(_0x519279){return _0x1a8c48(_0x519279);});default:return _0x298368(msgResponse(_0x8409('0x1c8'),'Failure',_0x8409('0x1c9')));}}else{return _0x298368(msgResponse(_0x8409('0x1c8'),_0x8409('0x13d'),'check\x20failure'));}});};};Dialer['prototype'][_0x8409('0x1ca')]=function(_0x102cc7){var _0x250e60=this;return function(_0x43451b){return new BPromise(function(_0x42a2a2,_0x46d27e){_[_0x8409('0x8c')](_0x102cc7,_0x43451b[0x0]);if(checkGetDataPredictive(_0x43451b[0x0])){loggerPredictive[_0x8409('0x7c')](JSON[_0x8409('0x4b')](_0x43451b[0x0]));if(_0x102cc7[_0x8409('0x1b7')]===_0x8409('0x1b8')){return _0x250e60[_0x8409('0xc2')](_0x102cc7['id'])[_0x8409('0xb7')](function(_0x22b9db){var _0x33fa5c=_0x102cc7['loggedIn']-_0x22b9db[0x0][_0x8409('0x1cb')];var _0x27c08f=_0x102cc7[_0x8409('0x1b5')]*0x3c;var _0x450bf9=_0x43451b[0x0][_0x8409('0x68')]+_0x43451b[0x0]['predictiveIntervalAvgHoldtime'];var _0x324b39=(_0x43451b[0x0][_0x8409('0x67')]+_0x43451b[0x0][_0x8409('0x7f')]+_0x43451b[0x0][_0x8409('0x81')])/_0x43451b[0x0]['predictiveIntervalTotalCalls'];var _0x277e1e=_0x102cc7[_0x8409('0x1af')]/0x64;_0x102cc7['predictiveIntervalPauses']=_0x22b9db[0x0]['outboundQueuePauses']||0x0;_0x102cc7[_0x8409('0x6b')]=_0x324b39>0x0?_0x324b39:0x1;return _0x250e60[_0x8409('0x1c5')](_0x33fa5c,_0x27c08f,_0x450bf9,_0x324b39,_0x277e1e);})[_0x8409('0xb7')](function(_0x25760f){return _0x42a2a2(_0x25760f);})[_0x8409('0xb0')](function(_0x967804){return _0x46d27e(msgResponse(_0x8409('0x1cc'),_0x8409('0x13d'),JSON[_0x8409('0x4b')](_0x967804)));});}if(_0x102cc7[_0x8409('0x1b7')]===_0x8409('0x1c6')){return _0x250e60[_0x8409('0xc2')](_0x102cc7['id'])[_0x8409('0xb7')](function(_0x2b46ef){var _0x37e56e=_0x102cc7[_0x8409('0x52')]-_0x2b46ef[0x0]['outboundQueuePauses'];var _0x4b0c2b=_0x102cc7['dialPredictiveInterval']*0x3c;var _0x1a9c92=_0x43451b[0x0][_0x8409('0x68')]+_0x43451b[0x0][_0x8409('0x82')];var _0x598608=(_0x43451b[0x0]['predictiveIntervalAnsweredCalls']+_0x43451b[0x0]['predictiveIntervalDroppedCallsTimeout']+_0x43451b[0x0]['predictiveIntervalDroppedCallsCallersExit'])/_0x43451b[0x0][_0x8409('0x6e')];var _0x3283f7=_0x102cc7[_0x8409('0x1af')]/0x64;_0x102cc7['predictiveIntervalPauses']=_0x2b46ef[0x0][_0x8409('0x1cb')]||0x0;_0x102cc7[_0x8409('0x6b')]=_0x598608>0x0?_0x598608:0x1;return _0x250e60[_0x8409('0x1c7')](_0x37e56e,_0x4b0c2b,_0x1a9c92,_0x598608,_0x3283f7);})[_0x8409('0xb7')](function(_0x5f56df){return _0x42a2a2(_0x5f56df);})['catch'](function(_0x599a94){return _0x46d27e(msgResponse(_0x8409('0x1cc'),_0x8409('0x13d'),JSON[_0x8409('0x4b')](_0x599a94)));});}}else{return _0x46d27e(msgResponse(_0x8409('0x1c8'),_0x8409('0x13d'),_0x8409('0x1cd')));}});};};Dialer[_0x8409('0x1c')][_0x8409('0x1ce')]=function(_0x3edfdc){var _0x38cf25=this;return function(){var _0x352336=0x0;var _0x17fab6=Math['floor'](_0x3edfdc[_0x8409('0x71')]*0x3e8);if(_0x17fab6>0x0){_0x17fab6=_0x17fab6<0x64?0x64:_0x17fab6;loggerPredictive[_0x8409('0x7c')](_0x3edfdc[_0x8409('0x43')],_0x8409('0x1cf'),_0x17fab6,_0x8409('0x8d'));_0x3edfdc[_0x8409('0x8e')]=setInterval(function(){_0x38cf25[_0x8409('0x8e')](_0x3edfdc);loggerPredictiveCalls[_0x8409('0x7c')]('[handlePredictive]',_0x352336+=0x1);},_0x17fab6);}else{loggerPredictive['info'](_0x3edfdc['name'],_0x8409('0x1d0'));}};};Dialer[_0x8409('0x1c')][_0x8409('0x1d1')]=function(_0xb8ed82,_0x4db424){var _0x2ab181=this;return function(_0x30d02a){if(_['isEmpty'](_0x30d02a)){if(_[_0x8409('0xac')](_0x4db424['UserId'])||!_0x4db424[_0x8409('0x1d2')]){if(_0xb8ed82[_0x8409('0x59')]===_0x8409('0x6')){_0xb8ed82['queueStatusComplete']=_['isUndefined'](_0xb8ed82['queueStatusComplete'])?!![]:_0xb8ed82[_0x8409('0x121')];var _0x24e65d=uuid['v4']();_0x2ab181['actions'][_0x24e65d]=new Action(_0xb8ed82,_0x4db424,_0x24e65d);loggerBooked['info'](_0x8409('0x1d3'),_0x24e65d,_0x8409('0x1d4'),JSON['stringify'](_0xb8ed82['queueStatusComplete']),_0x8409('0x1d5'),_0xb8ed82[_0x8409('0x43')]);if(_0xb8ed82[_0x8409('0x121')]){_0xb8ed82[_0x8409('0x121')]=![];_0x2ab181[_0x8409('0x2c')][_0x2ab181[_0x8409('0xab')][_0x24e65d][_0x8409('0xb3')]]=[];ami[_0x8409('0xad')]({'actionid':_0x24e65d,'action':'queuestatus','queue':_0xb8ed82[_0x8409('0x43')]})['catch'](function(_0x58e41b){_0x2ab181['updateOriginated'](_0xb8ed82);_0x2ab181[_0x8409('0xbc')]({'active':![],'ContactId':_0x2ab181['actions'][_0x24e65d][_0x8409('0xce')],'ListId':_0x2ab181['actions'][_0x24e65d]['ListId'],'VoiceQueueId':_0x2ab181[_0x8409('0xab')][_0x24e65d]['VoiceQueueId']||undefined,'CampaignId':_0x2ab181['actions'][_0x24e65d][_0x8409('0xf7')]||undefined})['catch'](loggerCatch('[unlockOriginate][syncQueueStatusComplete]'));delete _0x2ab181['actions'][_0x24e65d];});}else{loggerBooked[_0x8409('0x7c')]('[booked][checkContactBlack][else]',JSON['stringify'](_0xb8ed82[_0x8409('0x121')]),'Queue:\x20',_0xb8ed82[_0x8409('0x43')]);_0x2ab181[_0x8409('0xb1')](_0xb8ed82);_0x2ab181[_0x8409('0xbc')]({'active':![],'ContactId':_0x2ab181[_0x8409('0xab')][_0x24e65d][_0x8409('0xce')],'ListId':_0x2ab181[_0x8409('0xab')][_0x24e65d][_0x8409('0xcf')],'VoiceQueueId':_0x2ab181['actions'][_0x24e65d][_0x8409('0xd1')]||undefined,'CampaignId':_0x2ab181[_0x8409('0xab')][_0x24e65d][_0x8409('0xf7')]||undefined})[_0x8409('0xb0')](loggerCatch(_0x8409('0x1d6')));delete _0x2ab181[_0x8409('0xab')][_0x24e65d];}}else{return _0x2ab181[_0x8409('0x1d7')](_0xb8ed82,_0x4db424);}}else{if(getDiff(_0x4db424['scheduledat'])<_0xb8ed82['dialRecallMeTimeout']*0x3c){if(_0x4db424[_0x8409('0x1d8')]&&!_0x4db424[_0x8409('0x1d8')][_0x8409('0x1d9')]){_0x2ab181[_0x8409('0x20')][_0x8409('0x124')](_0x4db424['id'])['finally'](function(){_0x2ab181[_0x8409('0xb1')](_0xb8ed82);});}else{_0x2ab181['unlockContact']({'active':![]},_0x4db424['id'],0x1)[_0x8409('0x127')](function(){console['log'](_0x8409('0x1da'));_0x2ab181[_0x8409('0xb1')](_0xb8ed82);});}}else{_0xb8ed82[_0x8409('0x66')]+=0x1;_0x2ab181['updateOriginated'](_0xb8ed82);if(_0xb8ed82[_0x8409('0x1db')]){_0x2ab181[_0x8409('0xbc')]({'active':![],'recallme':![],'UserId':null,'ContactId':_0x4db424['ContactId'],'ListId':_0x4db424['ListId'],'VoiceQueueId':_0x4db424[_0x8409('0xd1')]||undefined,'CampaignId':_0x4db424[_0x8409('0xf7')]||undefined})[_0x8409('0xb0')](loggerCatch('[rescheduleContact][dialRecallInQueue]'));_0x2ab181[_0x8409('0xc6')](createObjHistory(_0xb8ed82,_0x4db424,_0x8409('0x1dc'),0x17,_0x8409('0x1dd')))[_0x8409('0xb0')](loggerCatch(_0x8409('0x1de')));}else{_0x2ab181[_0x8409('0xcc')](createObjHistory(_0xb8ed82,_0x4db424,_0x8409('0x1df'),0x16,_0x8409('0x1e0')),'[Originate][HistoryRecallClose][historyCatch]',_0x8409('0x1e1'));}}}}else{_0xb8ed82['outboundBlacklistCallsDay']+=0x1;_0x2ab181[_0x8409('0xcc')](createObjHistory(_0xb8ed82,_0x4db424,'BLACKLIST',0xd,_0x8409('0x1e2')),_0x8409('0x1e3'),_0x8409('0x1e4'));throw _0x8409('0x1e5');}};};Dialer[_0x8409('0x1c')]['handleIvr']=function(_0x58eced){var _0x13b627=this;var _0x192cb3=[];var _0x4e6c25=_0x58eced[_0x8409('0x1e6')]-_0x58eced[_0x8409('0x6f')]-_0x58eced[_0x8409('0x1e7')];emitCampaignSummary(_0x58eced);if(_0x4e6c25>0x0){if(_0x4e6c25>this['maxNumberOriginate']){_0x4e6c25=this['maxNumberOriginate'];}_0x58eced[_0x8409('0x1e7')]+=_0x4e6c25;this[_0x8409('0xc1')](_0x58eced['id'],_0x4e6c25,_0x58eced[_0x8409('0x1e8')])[_0x8409('0xb7')](function(_0x1b18f1){_0x58eced[_0x8409('0x1e7')]-=_0x4e6c25;_0x58eced[_0x8409('0x1e7')]=_0x58eced[_0x8409('0x1e7')]>0x0?_0x58eced[_0x8409('0x1e7')]:0x0;if(!checkContactEmpty(_0x1b18f1)){_0x58eced['message']=_0x8409('0x9c');logger[_0x8409('0x7c')](_0x8409('0x1e9')+_0x58eced['name']);}else{_0x58eced[_0x8409('0x6f')]+=_0x1b18f1[_0x8409('0x96')];_0x58eced[_0x8409('0x42')]='RUNNING';for(var _0x129338=0x0;_0x129338<_0x1b18f1[_0x8409('0x96')];_0x129338+=0x1){_0x58eced[_0x8409('0x1ea')]+=0x1;if(_['isNil'](_0x1b18f1[_0x129338])||_[_0x8409('0xac')](_0x1b18f1[_0x129338][_0x8409('0x15b')])||_[_0x8409('0xac')](_0x1b18f1[_0x129338]['Contact'][_0x8409('0x15c')])){_0x13b627['emptyContact'](_0x8409('0x1eb'),_0x58eced,_0x1b18f1[_0x129338]);}else{_0x13b627['checkIsBlackListIvr'](_[_0x8409('0xcd')](_0x1b18f1[_0x129338],['CampaignId',_0x8409('0x1ec')]))[_0x8409('0xb7')](_0x13b627['checkContactBlack'](_0x58eced,_0x1b18f1[_0x129338]))[_0x8409('0xb0')](_0x13b627[_0x8409('0xc9')]('[actionOriginateIvr]\x20',_0x58eced));}}}})[_0x8409('0xb0')](loggerGetContactDialer(_0x8409('0x1ed'),_0x58eced,_0x4e6c25));}};Dialer['prototype']['handlePower']=function(_0x5ddbaa,_0x12488e){var _0x5d27af=this;var _0x4d3619=[];var _0x191637=_0x12488e>=0x1?_0x12488e:0x1;var _0x1b5118=[];if(_0x5ddbaa[_0x8409('0x59')]===_0x8409('0x6')){_0x191637=0x1;}var _0x4171aa=Math['floor'](_0x5ddbaa[_0x8409('0x51')]*_0x191637)-_0x5ddbaa[_0x8409('0x6f')]-_0x5ddbaa[_0x8409('0x1e7')];emitVoiceQueueSummary(_0x5ddbaa);if(_0x5ddbaa[_0x8409('0x1ee')]>0x0){var _0x1dd0f6=_0x5ddbaa['dialLimitQueue']-_0x5ddbaa[_0x8409('0x6f')]-_0x5ddbaa['talking']-_0x5ddbaa[_0x8409('0x1e7')]-_0x5ddbaa[_0x8409('0xa0')];if(_0x4171aa>_0x1dd0f6){_0x4171aa=_0x1dd0f6;}}if(_0x4171aa>0x0){if(_0x5ddbaa[_0x8409('0x59')]===_0x8409('0x6')){_0x4171aa=0x1;}if(_0x4171aa>this[_0x8409('0x25')]){_0x4171aa=this[_0x8409('0x25')];}_0x5ddbaa[_0x8409('0x1e7')]+=_0x4171aa;for(var _0x16afad in this[_0x8409('0x23')]){if(this['agents'][_0x8409('0x97')](_0x16afad)){if(this['agents'][_0x16afad]['state']===_0x8409('0x1ef')&&this[_0x8409('0x23')][_0x16afad][_0x8409('0xae')]==='reachable'){_0x4d3619[_0x8409('0x120')](this['agents'][_0x16afad]['id']);}}}this[_0x8409('0xbf')](_0x5ddbaa['id'],_0x4d3619,_0x4171aa,_0x5ddbaa[_0x8409('0x1e8')])[_0x8409('0xb7')](function(_0x4ab7a8){_0x5ddbaa[_0x8409('0x1e7')]-=_0x4171aa;_0x5ddbaa['temp']=_0x5ddbaa[_0x8409('0x1e7')]>0x0?_0x5ddbaa['temp']:0x0;if(!checkContactEmpty(_0x4ab7a8)){_0x5d27af['countReScheduled'](_0x5ddbaa)[_0x8409('0xb7')](sendMessageReschedule(_0x5ddbaa))[_0x8409('0xb0')](loggerCatch(_0x8409('0xb8')));}else{_0x5ddbaa['originated']+=_0x4ab7a8[_0x8409('0x96')];_0x5ddbaa[_0x8409('0x42')]=_0x5ddbaa['dialMethod']==='booked'?'ACTIVE':_0x8409('0x1f0');for(var _0x48d2ce=0x0;_0x48d2ce<_0x4ab7a8[_0x8409('0x96')];_0x48d2ce+=0x1){if(_[_0x8409('0xac')](_0x4ab7a8[_0x48d2ce])||_[_0x8409('0xac')](_0x4ab7a8[_0x48d2ce][_0x8409('0x15b')])||_['isNil'](_0x4ab7a8[_0x48d2ce][_0x8409('0x15b')][_0x8409('0x15c')])){_0x5d27af[_0x8409('0xca')](_0x8409('0x1eb'),_0x5ddbaa,_0x4ab7a8[_0x48d2ce]);}else{_0x5d27af['checkIsBlackList'](_['pick'](_0x4ab7a8[_0x48d2ce],[_0x8409('0xd1'),_0x8409('0x1ec')]))[_0x8409('0xb7')](_0x5d27af[_0x8409('0x1d1')](_0x5ddbaa,_0x4ab7a8[_0x48d2ce]))[_0x8409('0xb0')](_0x5d27af[_0x8409('0xc9')](_0x8409('0x1eb'),_0x5ddbaa));}}}})[_0x8409('0xb0')](loggerGetContactDialer(_0x8409('0x1f1'),_0x5ddbaa,_0x4171aa));}};Dialer['prototype']['handlePredictive']=function(_0x697c7c){var _0x16a817=this;if(_0x697c7c[_0x8409('0x1ee')]>0x0){var _0x4b7c2e=_0x697c7c[_0x8409('0x1ee')]-_0x697c7c[_0x8409('0x6f')]-_0x697c7c[_0x8409('0x9f')];if(_0x4b7c2e>0x0){this[_0x8409('0x1f2')](_0x697c7c);}else{loggerPredictiveCalls['info']('[handlePredictive][limitChannel]');}}else{this[_0x8409('0x1f2')](_0x697c7c);}};Dialer['prototype']['tryOriginatePredictive']=function(_0x428ba2){var _0x568c4a=this;var _0x3d98ca=[];_0x428ba2['originated']+=0x1;for(var _0x515e6a in this[_0x8409('0x23')]){if(this[_0x8409('0x23')][_0x8409('0x97')](_0x515e6a)){if(this['agents'][_0x515e6a][_0x8409('0xa5')]===_0x8409('0x1ef')&&this[_0x8409('0x23')][_0x515e6a][_0x8409('0xae')]==='reachable'){_0x3d98ca[_0x8409('0x120')](this['agents'][_0x515e6a]['id']);}}}this[_0x8409('0xbf')](_0x428ba2['id'],_0x3d98ca,0x1,_0x428ba2[_0x8409('0x1e8')])['then'](function(_0x2ac4aa){if(!checkContactEmpty(_0x2ac4aa)){checkContactLowerLimitOriginate(_0x428ba2,0x1,0x0);_0x568c4a[_0x8409('0xb5')](_0x428ba2)[_0x8409('0xb7')](sendMessageReschedule(_0x428ba2))[_0x8409('0xb0')](loggerCatch(_0x8409('0xb8')));}else{_0x428ba2[_0x8409('0x42')]='RUNNING';if(_['isNil'](_0x2ac4aa[0x0])||_[_0x8409('0xac')](_0x2ac4aa[0x0][_0x8409('0x15b')])||_['isNil'](_0x2ac4aa[0x0][_0x8409('0x15b')][_0x8409('0x15c')])){_0x568c4a['emptyContact'](_0x8409('0x1eb'),_0x428ba2,_0x2ac4aa[0x0]);}else{_0x568c4a[_0x8409('0xb9')](_[_0x8409('0xcd')](_0x2ac4aa[0x0],[_0x8409('0xd1'),_0x8409('0x1ec')]))[_0x8409('0xb7')](_0x568c4a['checkContactBlack'](_0x428ba2,_0x2ac4aa[0x0]))[_0x8409('0xb0')](_0x568c4a[_0x8409('0xc9')]('[actionOriginatePredictive]\x20',_0x428ba2));}}})['catch'](loggerGetContactDialer(_0x8409('0x1f3'),_0x428ba2,0x1));emitVoiceQueueSummary(_0x428ba2);};Dialer[_0x8409('0x1c')]['abandonmentRate']=function(_0x265b37,_0x191d5e,_0x17de22,_0x45d229,_0x195a9e,_0x14e2f3){loggerPredictive['info'](_0x8409('0x1f4'));loggerPredictive[_0x8409('0x7c')](_0x8409('0x1f5'),_0x265b37);loggerPredictive[_0x8409('0x7c')](_0x8409('0x1f6'),_0x191d5e);loggerPredictive[_0x8409('0x7c')]('Ts:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20',_0x17de22);loggerPredictive[_0x8409('0x7c')]('P:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20',_0x45d229);loggerPredictive['info'](_0x8409('0x1f7'),_0x195a9e);loggerPredictive['info']('---------------------------');return new BPromise(function(_0x297407,_0x3dd347){if(_0x265b37<=0x0||isNaN(_0x265b37)){return _0x3dd347(msgResponse(_0x8409('0x1f8'),_0x8409('0x182'),_0x8409('0x1f9')+_0x265b37));}if(_0x17de22<=0x0||isNaN(_0x17de22)){return _0x3dd347(msgResponse(_0x8409('0x1f8'),_0x8409('0x182'),_0x8409('0x1fa')+_0x17de22));}if(_0x45d229<=0x0||isNaN(_0x45d229)){return _0x3dd347(msgResponse(_0x8409('0x1f8'),_0x8409('0x182'),'p\x20=\x20'+_0x45d229));}if(_0x191d5e<=0x0||isNaN(_0x191d5e)){return _0x3dd347(msgResponse(_0x8409('0x1f8'),_0x8409('0x182'),_0x8409('0x1fb')+_0x191d5e));}if(_0x195a9e<=0x0||isNaN(_0x195a9e)){return _0x3dd347(msgResponse(_0x8409('0x1f8'),_0x8409('0x182'),'Amax\x20=\x20'+_0x195a9e));}_0x14e2f3=_0x14e2f3||0x0;var _0x12a42c=0x1/_0x17de22;var _0x577463=0x0;var _0x251c47=0x0;var _0x57efe5=0x0;var _0x36b0de=0x0;for(var _0x49d79f=0x0;_0x57efe5<_0x195a9e;_0x49d79f+=0x1){_0x251c47=_0x49d79f/_0x191d5e;_0x577463=(_0x45d229*_0x251c47+_0x14e2f3)/_0x12a42c;_0x57efe5=erlangb(_0x577463,_0x265b37);_0x36b0de=_0x577463/_0x265b37*(0x1-erlangb(_0x577463,_0x265b37));}return _0x297407({'erlangCalls':_0x49d79f,'erlangCallToSecond':_0x191d5e/_0x49d79f,'erlangAbandonmentRate':_0x57efe5,'erlangBusyFactor':_0x36b0de});});};Dialer[_0x8409('0x1c')][_0x8409('0x1c7')]=function(_0x2d6d4d,_0x2a5ec4,_0x346791,_0x3ab3af,_0x66575a,_0x20f9f7){loggerPredictive[_0x8409('0x7c')](_0x8409('0x1fc'));loggerPredictive[_0x8409('0x7c')]('M:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20',_0x2d6d4d);loggerPredictive[_0x8409('0x7c')](_0x8409('0x1f6'),_0x2a5ec4);loggerPredictive[_0x8409('0x7c')](_0x8409('0x1fd'),_0x346791);loggerPredictive['info'](_0x8409('0x1fe'),_0x3ab3af);loggerPredictive[_0x8409('0x7c')]('Umin:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20',_0x66575a);loggerPredictive['info'](_0x8409('0x83'));return new BPromise(function(_0xecb6cc,_0x29422a){if(_0x2d6d4d<=0x0||isNaN(_0x2d6d4d)){return _0x29422a(msgResponse('[busyFactor]',_0x8409('0x182'),_0x8409('0x1f9')+_0x2d6d4d));}if(_0x346791<=0x0||isNaN(_0x346791)){return _0x29422a(msgResponse(_0x8409('0x1ff'),_0x8409('0x182'),_0x8409('0x1fa')+_0x346791));}if(_0x3ab3af<=0x0||isNaN(_0x3ab3af)){return _0x29422a(msgResponse(_0x8409('0x1ff'),_0x8409('0x182'),_0x8409('0x200')+_0x3ab3af));}if(_0x2a5ec4<=0x0||isNaN(_0x2a5ec4)){return _0x29422a(msgResponse(_0x8409('0x1ff'),_0x8409('0x182'),_0x8409('0x1fb')+_0x2a5ec4));}if(_0x66575a<=0x0||isNaN(_0x66575a)){return _0x29422a(msgResponse(_0x8409('0x1ff'),_0x8409('0x182'),_0x8409('0x201')+_0x66575a));}_0x20f9f7=_0x20f9f7||0x0;var _0x4dde99=0x1/_0x346791;var _0x75bd60=0x0;var _0x538527=0x0;var _0x222201=0x0;var _0x1bfd1c=0x0;for(var _0x19d9d1=0x0;_0x1bfd1c<_0x66575a;_0x19d9d1+=0x1){_0x538527=_0x19d9d1/_0x2a5ec4;_0x75bd60=(_0x3ab3af*_0x538527+_0x20f9f7)/_0x4dde99;_0x222201=erlangb(_0x75bd60,_0x2d6d4d);_0x1bfd1c=_0x75bd60/_0x2d6d4d*(0x1-erlangb(_0x75bd60,_0x2d6d4d));}return _0xecb6cc({'erlangCalls':_0x19d9d1,'erlangCallToSecond':_0x2a5ec4/_0x19d9d1,'erlangAbandonmentRate':_0x222201,'erlangBusyFactor':_0x1bfd1c});});};module[_0x8409('0x202')]=Dialer; \ No newline at end of file +var _0x2ca0=['isArray','Action','command','content','indexOf','iftime\x20%s,%s','true','all','GLOBAL_INTERVAL_IS_OVERTIME','INTERVAL_IS_OVERTIME','[ifTime][promiseAll]','Global:\x20','\x20Interval\x20is\x20overtime:\x20','Timezone:\x20','checkDialMethod','power','handlePower','predictive','Queue','method\x20not\x20recognized','launchHandleIvr','handleIvr','dialActive','dialTimezone','[syncQueueSummary]','syncCampaigns','dialGlobalInterval','[syncCampaigns]','\x5cw{0,','pow','random','match','actionOriginate','object','originate','voiceQueue\x20is\x20undefine','Contact','phone','contact\x20is\x20undefine','getCaller','NONE','\x22%s,%s%s,,,%s\x22','dialQueueOptions','dialAgiAfterHangupAgent','XMD-AMDINITIALSILENCE','dialAMDInitialSilence','dialAMDGreeting','dialAMDAfterGreetingSilence','XMD-AMDTOTALANALYSISTIME','dialAMDTotalAnalysisTime','dialAMDMinWordLength','dialAMDBetweenWordsSilence','XMD-AMDMAXIMUMNUMBEROFWORDS','dialAMDMaximumNumberOfWords','XMD-AMDSILENCETHRESHOLD','dialAMDSilenceThreshold','dialAMDMaximumWordLength','XMD-VOICEQUEUEID','XMD-CAMPAIGNID','tags','createdAt','%s%s','dialRandomLastDigitCallerIdNumber','XMD-ORIGINATECALLERIDNAME','originatecalleridname','XMD-ORIGINATECALLERIDNUM','originatecalleridnum','SIP/%s/%s%s','trim','dialCutDigit','substring','from-sip','dialOriginateTimeout','[originateError]:\x20%s','OriginateError','originate\x20action\x20Error','response','callProgressDetecting','checkRetriveMax','dialNoAnswerMaxRetry','dialNoAnswerRetryFrequency','[rescheduleContact][NoAnswer]','dialBusyMaxRetry','dialBusyRetryFrequency','[rescheduleContact]\x20[Busy]','dialCongestionMaxRetry','dialNoSuchNumberMaxRetry','dialNoSuchNumberRetryFrequency','[rescheduleContact][Drop]','dialMachineRetryFrequency','dialAgentRejectRetryFrequency','[rescheduleContact][AgentReject]','[callProgressDetecting]','evt\x20is\x20undefine','NoSuchNumber','reason\x200\x20no\x20such\x20number....','NoAnswer','[syncAgentComplete][createHistory][3]','reason\x203\x20ringing\x20no\x20answer','Busy','Congestion','reason\x208\x20congestion','outboundAbandonedCallsDay','[syncAgentComplete][createHistory][11]','reason\x2011\x20abandoned','AgentReject','[syncAgentComplete][createHistory][20]','dialAgentRejectMaxRetry','reason\x2020\x20agentreject','Global','[moveContactManagedDialer][0]','contact\x20not\x20moved','dialPredictiveOptimizationPercentage','round','predictiveIntervalMaxThreshold','predictiveIntervalMinThreshold','floor','predictiveIntervalHitRate','[startMethodPredictive][StartProgressive]','check\x20predictive\x20is\x20not\x20undefine','check\x20handlePredictive\x20is\x20not\x20undefine','collection\x20data\x20in\x20progressive\x20at','dialPredictiveInterval','[startMethodPredictive][StartProgressive][Loop]','dialPredictiveOptimization','[stopMethodPredictive][ReStartProgressive][ExceededDropDay]','dropRate','[stopMethodPredictive][ReStartProgressive][ExceededDropInterval]','Drop\x20in\x20this\x20interval','averageHandleTime','getDataPredictive','startMethodPredictive','Predictive\x20for\x20every\x20interval',')\x20are\x20less\x20than\x20threshold\x20(',')\x20are\x20more\x20than\x20threshold\x20(','abandonmentRate','busyFactor','Unknown\x20Predictive','[getDataPredictive]','check\x20failure','getDataPredictiveOld','predictiveIntervalPauses','outboundQueuePauses','[CatchErlangB]','erlangCallToSecond','one\x20call\x20every:','[handlePredictive]','fail\x20to\x20scheduled\x20calls','recallme','[booked][checkContactBlack]','queueStatusComplete:\x20','Queue:\x20','queuestatus','[unlockOriginate][syncQueueStatusComplete]','[booked][checkContactBlack][else]','dialRecallMeTimeout','Agent','log','dialRecallInQueue','[rescheduleContact][dialRecallInQueue]','RECALLINQUEUE','[Originate][HistoryDialRecallInQueue][historyCatch]','RecallFailedTimeout','[Originate][HistoryRecallClose][historyCatch]','[Originate][HistoryRecallClose]','BLACKLIST','Blacklist','[Originate][historyBlacklist]','[Originate][MoveBlacklist]','inBlackList','limitCalls','temp','[getContactCampaign2][Empty]','RUNNING','ivrTotalCallsDays','checkContactBlack','[actionOriginateIvr]\x20','[getContactCampaign2]','dialOrderByScheduledAt','[actionOriginate]\x20','Contact.phone','dialLimitQueue','[handlePredictive][limitChannel]','tryOriginatePredictive','reachable','[actionOriginatePredictive]\x20','[getContactDialerPredictive]','--------\x20Drop\x20Rate\x20--------','M:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','Interval:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','Amax:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','[abandonmentRate]','m\x20=\x20','Ts\x20=\x20','p\x20=\x20','interval\x20=\x20','Amax\x20=\x20','----\x20Agent\x20Busy\x20Factor\x20----','P:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','Umin:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','[busyFactor]','Umin\x20=\x20','util','lodash','bluebird','uuid','md5','ioredis','../../../config/environment/','../../../config/logger','dialer','booked','predictiveCalls','syncQueueSummary','../ami','redis','defaults','localhost','socket.io-emitter','../rpc/cmHopper','../rpc/cmHopperFinal','../rpc/cmHopperHistory','../rpc/cmHopperBlack','../rpc/voiceQueueRt','./action','./history','./final','./agentComplete','./queueCallerAbandon','./hangup','env','XCALLY_IP_AGI','127.0.0.1','rrmemory','roundrobin','prototype','enqueue','tail','finally','sequence','preview','voiceQueues','campaigns','agents','trunks','maxNumberOriginate','channels','actions','contactsId','uniqueId','startPredictive','startProgressive','ivrOriginated','queueBooked','queueBookedRR','syncAgentConnect','bind','queuecallerabandon','syncQueueCallerAbandon','originateresponse','syncOriginateResponse','agentcomplete','syncAgentComplete','custom:queuesummary','hangup','syncHangup','newexten','queuemember','syncQueueMember','queuestatuscomplete','loopCampaigns','loopClearZombieChannels','message','AGENTS_NOT_LOGGED','name','\x20AGENTS\x20NOT\x20LOGGED','NOT_ACTIVE','\x20NOT\x20Active','Interval','\x20INTERVAL_IS_NULL','Intervals','isEmpty','[ifTime][Action]','Error','milliseconds','diff','type','outbound','answered','loggedIn','pTalking','sumBillable','sumDuration','talking','unmanaged','abandoned','loggedInDb','dialMethod','dialOriginateCallerIdName','dialOriginateCallerIdNumber','dialPrefix','outboundBlacklistCallsDay','outboundBusyCallsDay','outboundCongestionCallsDay','outboundDropCallsDayTimeout','outboundNoAnswerCallsDay','outboundOriginateFailureCallsDay','outboundReCallsDay','outboundRejectCallsDay','outboundUnknownCallsDay','predictiveIntervalAnsweredCalls','predictiveIntervalAvgHoldtime','predictiveIntervalAvgTalktime','predictiveIntervalDroppedCallsCallersExit','predictiveIntervalDroppedCallsTimeout','predictiveIntervalErlangCalls','predictiveIntervalErlangCallsDroppedCalls','predictiveIntervalMultiplicativeFactor','predictiveIntervalAvailable','predictiveIntervalTotalCalls','originated','erlangBusyFactor','Trunk','callerid','format','voice_queue:save','ivr','campaign:ivr:%s','campaign:save','info','-----\x20Stats\x20Predictive\x20---','Total\x20Calls:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','Answered\x20Calls:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','Dropped\x20Timeout:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','AVG\x20Hold\x20Time:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','AVG\x20Talk\x20Time:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','isUndefined','Avg\x20Talk\x20Time\x20is\x20not\x20enough\x20for\x20predictive','Avg\x20Hold\x20Time\x20is\x20not\x20enough\x20for\x20predictive','Total\x20Calls\x20are\x20not\x20enough\x20for\x20predictive','History\x20information\x20are\x20empty','Scheduled\x20Calls:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','erlangCalls','One\x20call\x20every:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','Drop\x20Rate:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','erlangAbandonmentRate','Agent\x20Busy\x20Factor:\x20\x20\x20\x20\x20\x20\x20\x20\x20','---------------------------','merge','seconds','clearing\x20variable\x20start\x20predictive','handlePredictive','clearing\x20variable\x20handle\x20predictive','string','\x22%s\x22\x20<%s>','\x22\x22\x20<>','error','inspect','stack','length','[decremetOriginate]\x20is\x20null\x20or\x20undefined','RESCHEDULED_CONTACTS','contactsRescheduled','AVAILABLE_CONTACTS_FINISHED','[getContactDialer2][Empty]','sendMessageOneNotActive','available','[syncQueueSummary]\x20Campaign\x20Queue:\x20','is\x20not\x20active','IS_DISACTIVED','is\x20disactive','[syncQueueSummary]\x20Campaign\x20Ivr:\x20','endtime','starttime','clearZombieChannels','[actions]','hasOwnProperty','isNil','status','channel','catch','No\x20such\x20channel','queue','[Dialer][checkChannel]','[Dialer][checkChannel][ivr]','countReScheduled','resolve','[countReScheduled]\x20','checkIsBlackList','then','[checkIsBlackList]\x20','checkIsBlackListIvr','avgHandleTime','[averageHandleTime]\x20','rescheduleContact','unlockContact','[unlockContact]\x20','getContactDialer','[getContactDialer]\x20','getContactDialerIvr','getVoiceQueueRtPauses','moveContactManagedDialer','[moveContactManagedDialer]\x20','createHistory','updateOriginated','[updateOriginated]\x20object\x20originated\x20is\x20negative','[updateOriginated]\x20is\x20null\x20or\x20undefined','loggerHandler','emptyContact','saveInDb','ContactId','ListId','UserId','CampaignId','[emptyContact][createHistory]','[emptyContact]','isSuccess','Success','active','SIP/%s','unmonitored','syncVarSet','uniqueid','variable','exten','xcally-motion-dialer','dialAMDActive','HANGUP','outboundAnswerCallsDay','state','statedesc','AMD','[syncHangupInAMD][createHistory]','value','outboundAnswerAgiCallsDay','Machine','membername','countmachineretry','countglobal','amd','[syncAgentComplete][createHistory][0]','countcongestionretry','countnoanswerretry','countnosuchnumberretry','countdropretry','countabandonedretry','countagentrejectretry','dialGlobalMaxRetry','reason19\x20machine....','dialMachineMaxRetry','reason\x2019\x20machine....','add','minutes','VoiceQueueId','[rescheduleContact][Machine]','HangupInAMD','[syncHangupInAMDIvr][createHistory]','[syncHangupInAMDIvr]','countbusyretry','stateGlobal','createStateFinal','YYYY-MM-DD\x20HH:mm:ss','ivrAnswerCallsDay','[syncHangupIvr][createHistory]','[syncHangupIvr]','AnswerAGI','AGI','dialQueueProject','cause-txt','Unknow','reason','agiafterat','dialQueueProject2','[syncAgentComplete][createHistory]','droptime','responsetime','dialQueueTimeout','Drop','dialDropMaxRetry','queueCallerAbandonCreateState','dialDropRetryFrequency','calleridname','calleridnum','[syncAgentComplete][createHistory][10]','outboundDropCallsDayCallersExit','Abandoned','CALLEREXIT','dialAbandonedMaxRetry','dialAbandonedRetryFrequency','[rescheduleContact][Abandoned]','actionid','strategy','paused','stateinterface','locked','push','pick','idHopper','queueStatusComplete','[unlockQueueStatus][undefined]','[booked][unlockQueueStatus]','stringify','syncQueueStatusComplete','run','[Catch][Preview][syncQueueStatusComplete]','[unlock][syncQueueStatusComplete]','_rr','unlockRR','[booked][RR]','Agent:\x20','contactAgent-idHopper:\x20','[booked][RR][finaly]','[booked][unlock]','[unlock2][syncQueueStatusComplete]','[booked][unlock3]','[unlock3][syncQueueStatusComplete]','checkIsTrunkReachable','isTrunkReachable','TrunkBackup','\x20trunk\x20is\x20not\x20reachable','checkIfTime','ifTime','checkIfTimeIntervals','INTERVAL_IS_NULL','Failure','\x20Intervals\x20is\x20null\x20','\x20Intervals\x20is\x20empty\x20','timezones','TIMEZONE_UNKNOW','\x20Timezone\x20unknow\x20'];(function(_0x508ca2,_0x1cba7b){var _0x55d61c=function(_0x8540a4){while(--_0x8540a4){_0x508ca2['push'](_0x508ca2['shift']());}};_0x55d61c(++_0x1cba7b);}(_0x2ca0,0xca));var _0x02ca=function(_0x1abd98,_0x4efa0b){_0x1abd98=_0x1abd98-0x0;var _0x547194=_0x2ca0[_0x1abd98];return _0x547194;};'use strict';var util=require(_0x02ca('0x0'));var _=require(_0x02ca('0x1'));var BPromise=require(_0x02ca('0x2'));var uuid=require(_0x02ca('0x3'));var moment=require('moment');var rr=require('rr');var md5=require(_0x02ca('0x4'));var Redis=require(_0x02ca('0x5'));var config=require(_0x02ca('0x6'));var logger=require(_0x02ca('0x7'))(_0x02ca('0x8'));var loggerBooked=require(_0x02ca('0x7'))(_0x02ca('0x9'));var loggerPredictive=require(_0x02ca('0x7'))('predictive');var loggerPredictiveCalls=require(_0x02ca('0x7'))(_0x02ca('0xa'));var loggerSyncQueueSummary=require(_0x02ca('0x7'))(_0x02ca('0xb'));var ami=require(_0x02ca('0xc'));config[_0x02ca('0xd')]=_[_0x02ca('0xe')](config[_0x02ca('0xd')],{'host':_0x02ca('0xf'),'port':0x18eb});var io=require(_0x02ca('0x10'))(new Redis(config[_0x02ca('0xd')]));var cmHopper=require(_0x02ca('0x11'));var cmHopperFinal=require(_0x02ca('0x12'));var cmHopperHistory=require(_0x02ca('0x13'));var cmHopperBlack=require(_0x02ca('0x14'));var voiceQueueRt=require(_0x02ca('0x15'));var Action=require(_0x02ca('0x16'));var History=require(_0x02ca('0x17'));var Final=require(_0x02ca('0x18'));var AgentComplete=require(_0x02ca('0x19'));var QueueCallerAbandon=require(_0x02ca('0x1a'));var Hangup=require(_0x02ca('0x1b'));var ipAgi=process[_0x02ca('0x1c')][_0x02ca('0x1d')]||_0x02ca('0x1e');var strategy={'rrmemory':_0x02ca('0x1f'),'roundrobin':_0x02ca('0x20')};var Sequence=function(){};Sequence[_0x02ca('0x21')][_0x02ca('0x22')]=function(_0x61236){this[_0x02ca('0x23')]=this['tail']?this['tail'][_0x02ca('0x24')](_0x61236):_0x61236();};function Dialer(_0x3fa547,_0xc54626){this[_0x02ca('0x25')]=new Sequence();this[_0x02ca('0x26')]=_0xc54626;this['voiceQueues']=_0x3fa547[_0x02ca('0x27')];this[_0x02ca('0x28')]=_0x3fa547[_0x02ca('0x28')];this[_0x02ca('0x29')]=_0x3fa547['agents'];this[_0x02ca('0x2a')]=_0x3fa547[_0x02ca('0x2a')];this[_0x02ca('0x2b')]=config['maxNumberOriginate']||0x2;this[_0x02ca('0x2c')]={};this[_0x02ca('0x2d')]={};this[_0x02ca('0x2e')]={};this[_0x02ca('0x2f')]={};this['optionPredictive']={};this[_0x02ca('0x30')]={};this[_0x02ca('0x31')]={};this[_0x02ca('0x32')]={};this[_0x02ca('0x33')]={};this[_0x02ca('0x34')]={};ami['on']('agentconnect',this[_0x02ca('0x35')][_0x02ca('0x36')](this));ami['on'](_0x02ca('0x37'),this[_0x02ca('0x38')][_0x02ca('0x36')](this));ami['on'](_0x02ca('0x39'),this[_0x02ca('0x3a')]['bind'](this));ami['on'](_0x02ca('0x3b'),this[_0x02ca('0x3c')][_0x02ca('0x36')](this));ami['on'](_0x02ca('0x3d'),this['syncQueueSummary'][_0x02ca('0x36')](this));ami['on'](_0x02ca('0x3e'),this[_0x02ca('0x3f')][_0x02ca('0x36')](this));ami['on'](_0x02ca('0x40'),this['syncNewExten'][_0x02ca('0x36')](this));ami['on']('varset',this['syncVarSet'][_0x02ca('0x36')](this));ami['on'](_0x02ca('0x41'),this[_0x02ca('0x42')][_0x02ca('0x36')](this));ami['on'](_0x02ca('0x43'),this['syncQueueStatusComplete']['bind'](this));this[_0x02ca('0x44')]();this[_0x02ca('0x45')]();}function isNotNull(_0x58e763){return _0x58e763!==null&&!_['isUndefined'](_0x58e763);}function checkIsLoggedIn(_0x43bd3b,_0x2cd452){return function(){if(_0x2cd452<=0x0){_0x43bd3b[_0x02ca('0x46')]=_0x02ca('0x47');throw _0x43bd3b[_0x02ca('0x48')]+_0x02ca('0x49');}};}function isActive(_0x389a85){return _0x389a85;}function checkIsActive(_0x210cca,_0x498e31){return function(){if(!isActive(_0x498e31)){_0x210cca['message']=_0x02ca('0x4a');throw _0x210cca[_0x02ca('0x48')]+_0x02ca('0x4b');}};}function checkInterval(_0x2806ca){return function(){if(!isNotNull(_0x2806ca[_0x02ca('0x4c')])){_0x2806ca[_0x02ca('0x46')]='INTERVAL_IS_NULL';throw _0x2806ca[_0x02ca('0x48')]+_0x02ca('0x4d');}if(!isNotNull(_0x2806ca[_0x02ca('0x4c')][_0x02ca('0x4e')])){_0x2806ca[_0x02ca('0x46')]='INTERVAL_IS_NULL';throw _0x2806ca[_0x02ca('0x48')]+_0x02ca('0x4d');}if(!isNotNull(_[_0x02ca('0x4f')](_0x2806ca[_0x02ca('0x4c')][_0x02ca('0x4e')]))){_0x2806ca[_0x02ca('0x46')]='INTERVAL_IS_NULL';throw _0x2806ca[_0x02ca('0x48')]+_0x02ca('0x4d');}};}function msgResponse(_0x77c0ba,_0x58e1f5,_0x36b7ba){return{'action':_0x77c0ba,'response':_0x58e1f5,'message':_0x36b7ba,'stack':_0x36b7ba};}function myreject(_0x1e1570){return function(_0x1972fb){return _0x1e1570(msgResponse(_0x02ca('0x50'),_0x02ca('0x51'),JSON['stringify'](_0x1972fb)));};}function getSeconds(_0x528da6,_0x5123da){var _0x193b02=moment(_0x528da6)[_0x02ca('0x52')](0x0);var _0x403121=moment(_0x5123da)[_0x02ca('0x52')](0x0);return _0x193b02[_0x02ca('0x53')](_0x403121,'seconds');}function emit(_0x35e373,_0x34c181,_0x235bad){io['to'](_0x35e373)['emit'](_0x34c181,_0x235bad);}function emitVoiceQueueSummary(_0x41f1a0){if(_0x41f1a0[_0x02ca('0x54')]===_0x02ca('0x55')){var _0x4909dd={'id':_0x41f1a0['id'],'name':_0x41f1a0[_0x02ca('0x48')],'strategy':_0x41f1a0['strategy'],'answered':_0x41f1a0[_0x02ca('0x56')],'available':_0x41f1a0['available'],'loggedIn':_0x41f1a0[_0x02ca('0x57')],'pTalking':_0x41f1a0[_0x02ca('0x58')],'sumBillable':_0x41f1a0[_0x02ca('0x59')],'sumDuration':_0x41f1a0[_0x02ca('0x5a')],'sumHoldTime':_0x41f1a0['sumHoldTime']||0x0,'talking':_0x41f1a0[_0x02ca('0x5b')],'total':_0x41f1a0['total'],'type':_0x41f1a0[_0x02ca('0x54')],'unmanaged':_0x41f1a0[_0x02ca('0x5c')],'abandoned':_0x41f1a0[_0x02ca('0x5d')],'waiting':_0x41f1a0['waiting'],'loggedInDb':_0x41f1a0[_0x02ca('0x5e')],'dialActive':_0x41f1a0['dialActive'],'dialMethod':_0x41f1a0[_0x02ca('0x5f')],'dialOriginateCallerIdName':_0x41f1a0[_0x02ca('0x60')],'dialOriginateCallerIdNumber':_0x41f1a0[_0x02ca('0x61')],'dialOriginateTimeout':_0x41f1a0['dialOriginateTimeout'],'dialPrefix':_0x41f1a0[_0x02ca('0x62')],'outboundAnswerAgiCallsDay':_0x41f1a0['outboundAnswerAgiCallsDay'],'outboundAnswerCallsDay':_0x41f1a0['outboundAnswerCallsDay'],'outboundBlacklistCallsDay':_0x41f1a0[_0x02ca('0x63')],'outboundBusyCallsDay':_0x41f1a0[_0x02ca('0x64')],'outboundCongestionCallsDay':_0x41f1a0[_0x02ca('0x65')],'outboundDropCallsDayACS':_0x41f1a0['outboundDropCallsDayACS'],'outboundDropCallsDayCallersExit':_0x41f1a0['outboundDropCallsDayCallersExit'],'outboundDropCallsDayTimeout':_0x41f1a0[_0x02ca('0x66')],'outboundNoAnswerCallsDay':_0x41f1a0[_0x02ca('0x67')],'outboundNoSuchCallsDay':_0x41f1a0['outboundNoSuchCallsDay'],'outboundOriginateFailureCallsDay':_0x41f1a0[_0x02ca('0x68')],'outboundReCallsDay':_0x41f1a0[_0x02ca('0x69')],'outboundRejectCallsDay':_0x41f1a0[_0x02ca('0x6a')],'outboundUnknownCallsDay':_0x41f1a0[_0x02ca('0x6b')],'predictiveIntervalAnsweredCalls':_0x41f1a0[_0x02ca('0x6c')],'predictiveIntervalAvgHoldtime':_0x41f1a0[_0x02ca('0x6d')],'predictiveIntervalAvgTalktime':_0x41f1a0[_0x02ca('0x6e')],'predictiveIntervalDroppedCallsCallersExit':_0x41f1a0[_0x02ca('0x6f')],'predictiveIntervalDroppedCallsTimeout':_0x41f1a0[_0x02ca('0x70')],'predictiveIntervalErlangCalls':_0x41f1a0[_0x02ca('0x71')],'predictiveIntervalErlangCallsDroppedCalls':_0x41f1a0[_0x02ca('0x72')],'predictiveIntervalHitRate':_0x41f1a0['predictiveIntervalHitRate'],'predictiveIntervalMultiplicativeFactor':_0x41f1a0[_0x02ca('0x73')],'predictiveIntervalPauses':_0x41f1a0['predictiveIntervalPauses'],'predictiveIntervalAvailable':_0x41f1a0[_0x02ca('0x74')],'predictiveIntervalTotalCalls':_0x41f1a0[_0x02ca('0x75')],'message':_0x41f1a0[_0x02ca('0x46')],'originated':_0x41f1a0[_0x02ca('0x76')],'erlangCalls':_0x41f1a0['erlangCalls'],'erlangCallToSecond':_0x41f1a0['erlangCallToSecond'],'erlangAbandonmentRate':_0x41f1a0['erlangAbandonmentRate'],'erlangBusyFactor':_0x41f1a0[_0x02ca('0x77')],'startPredictive':_0x41f1a0[_0x02ca('0x30')],'startProgressive':_0x41f1a0[_0x02ca('0x31')]};if(_0x41f1a0[_0x02ca('0x78')]){_0x4909dd[_0x02ca('0x78')]={'id':_0x41f1a0['Trunk']['id'],'name':_0x41f1a0[_0x02ca('0x78')][_0x02ca('0x48')],'active':_0x41f1a0[_0x02ca('0x78')]['active'],'callerid':_0x41f1a0[_0x02ca('0x78')][_0x02ca('0x79')]};}if(_0x41f1a0['Interval']){_0x4909dd[_0x02ca('0x4c')]={'id':_0x41f1a0[_0x02ca('0x4c')]['id'],'name':_0x41f1a0[_0x02ca('0x4c')][_0x02ca('0x48')]};}var _0x5ad55e=md5(JSON['stringify'](_0x4909dd));if(_0x41f1a0[_0x02ca('0x4')]!==_0x5ad55e){_0x41f1a0[_0x02ca('0x4')]=_0x5ad55e;emit(util[_0x02ca('0x7a')]('voice:queue:%s',_0x4909dd[_0x02ca('0x48')]),_0x02ca('0x7b'),_0x4909dd);}}}function emitCampaignSummary(_0x1c7fdc){if(_0x1c7fdc[_0x02ca('0x54')]===_0x02ca('0x7c')){emit(util[_0x02ca('0x7a')](_0x02ca('0x7d'),_0x1c7fdc['name']),_0x02ca('0x7e'),_0x1c7fdc);}}function checkGetDataPredictive(_0x312f02){if(isNotNull(_0x312f02)){if(!_['isEmpty'](_0x312f02)){loggerPredictive[_0x02ca('0x7f')](_0x02ca('0x80'));loggerPredictive[_0x02ca('0x7f')](_0x02ca('0x81'),_0x312f02[_0x02ca('0x75')]);loggerPredictive[_0x02ca('0x7f')](_0x02ca('0x82'),_0x312f02[_0x02ca('0x6c')]);loggerPredictive[_0x02ca('0x7f')](_0x02ca('0x83'),_0x312f02['predictiveIntervalDroppedCallsTimeout']);loggerPredictive['info']('Dropped\x20Exit:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20',_0x312f02[_0x02ca('0x6f')]);loggerPredictive[_0x02ca('0x7f')](_0x02ca('0x84'),_0x312f02[_0x02ca('0x6d')]);loggerPredictive['info'](_0x02ca('0x85'),_0x312f02[_0x02ca('0x6e')]);loggerPredictive[_0x02ca('0x7f')]('---------------------------');if(_0x312f02[_0x02ca('0x75')]>0x0){if(!_[_0x02ca('0x86')](_0x312f02[_0x02ca('0x6e')])&&_0x312f02[_0x02ca('0x6e')]>0x0){return!![];}else{loggerPredictive[_0x02ca('0x7f')](_0x02ca('0x87'));}if(!_[_0x02ca('0x86')](_0x312f02[_0x02ca('0x6d')])&&_0x312f02['predictiveIntervalAvgHoldtime']>0x0){return!![];}else{loggerPredictive[_0x02ca('0x7f')](_0x02ca('0x88'));}}else{loggerPredictive[_0x02ca('0x7f')](_0x02ca('0x89'));}}else{loggerPredictive['info'](_0x02ca('0x8a'));}}else{loggerPredictive[_0x02ca('0x7f')](_0x02ca('0x8a'));}return![];}function mergeDataErlangB(_0xe4c30b){return function(_0x2daed5){loggerPredictive[_0x02ca('0x7f')]('---------\x20ErlangB\x20---------');loggerPredictive[_0x02ca('0x7f')](_0x02ca('0x8b'),_0x2daed5[_0x02ca('0x8c')]);loggerPredictive[_0x02ca('0x7f')](_0x02ca('0x8d'),_0x2daed5['erlangCallToSecond']);loggerPredictive[_0x02ca('0x7f')](_0x02ca('0x8e'),_0x2daed5[_0x02ca('0x8f')]);loggerPredictive[_0x02ca('0x7f')](_0x02ca('0x90'),_0x2daed5[_0x02ca('0x77')]);loggerPredictive[_0x02ca('0x7f')]('Drop\x20Rate:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20',_0x2daed5[_0x02ca('0x8f')]);loggerPredictive[_0x02ca('0x7f')](_0x02ca('0x91'));_[_0x02ca('0x92')](_0xe4c30b,_0x2daed5);};}function getDiff(_0x48dfec){var _0x5f15c5=moment()['milliseconds'](0x0);var _0x4abbfb=moment(_0x48dfec)[_0x02ca('0x52')](0x0);return _0x5f15c5['diff'](_0x4abbfb,_0x02ca('0x93'));}function ifInterval(_0x3c80f1,_0x5633cb){if(_[_0x02ca('0x86')](_0x5633cb)){return![];}if(getDiff(_0x5633cb)<_0x3c80f1*0x3c){return!![];}else{return![];}}function freeVariablesPredictive(_0x16949a){if(isNotNull(_0x16949a)){if(!_[_0x02ca('0x86')](_0x16949a[_0x02ca('0x31')])){_0x16949a[_0x02ca('0x31')]=undefined;loggerPredictive[_0x02ca('0x7f')](_0x16949a[_0x02ca('0x48')],'clearing\x20variable\x20start\x20progressive');}if(!_[_0x02ca('0x86')](_0x16949a[_0x02ca('0x30')])){_0x16949a['startPredictive']=undefined;loggerPredictive['info'](_0x16949a[_0x02ca('0x48')],_0x02ca('0x94'));}if(!_[_0x02ca('0x86')](_0x16949a['handlePredictive'])){clearInterval(_0x16949a['handlePredictive']);_0x16949a[_0x02ca('0x95')]=undefined;loggerPredictive[_0x02ca('0x7f')](_0x16949a[_0x02ca('0x48')],_0x02ca('0x96'));}}}function erlangb(_0x12a7a2,_0xcf7c18){if(_0xcf7c18===0x0){return 0x0;}var _0x309fd2=0x1;for(var _0x180636=0x1;_0x180636<=_0xcf7c18;_0x180636+=0x1){_0x309fd2=0x1+_0x309fd2*_0x180636/_0x12a7a2;}return 0x1/_0x309fd2;}function isVoiceQueueOutbound(_0x13439c){return _0x13439c===_0x02ca('0x55');}function isNotPreview(_0x3a1018){return _0x3a1018!=='preview';}function isCampaignIvr(_0x2e3aa1){return _0x2e3aa1===_0x02ca('0x7c');}function getCallerId(_0x5a1af2,_0x551f86,_0x49123e){if(!_[_0x02ca('0x86')](_0x49123e)&&_0x02ca('0x97')===typeof _0x49123e&&!_[_0x02ca('0x4f')](_0x49123e)){if(!_[_0x02ca('0x86')](_0x551f86)&&_0x02ca('0x97')===typeof _0x551f86&&!_[_0x02ca('0x4f')](_0x551f86)){return util[_0x02ca('0x7a')](_0x02ca('0x98'),_0x551f86,_0x49123e);}return util[_0x02ca('0x7a')]('\x22%s\x22\x20<%s>',_0x49123e,_0x49123e);}if(!_[_0x02ca('0x86')](_0x5a1af2)&&'string'===typeof _0x5a1af2&&!_[_0x02ca('0x4f')](_0x5a1af2)){return _0x5a1af2;}return _0x02ca('0x99');}function loggerCatchQueueSummary(_0x3fa856,_0x3e382b){return function(_0x17f1aa){freeVariablesPredictive(_0x3e382b);emitVoiceQueueSummary(_0x3e382b);emitCampaignSummary(_0x3e382b);loggerSyncQueueSummary[_0x02ca('0x9a')](_0x3fa856,util[_0x02ca('0x9b')](_0x17f1aa,{'showHidden':![],'depth':null}));};}function loggerCatchPredictive(_0x391182,_0x364b58){return function(_0x2b9d9f){loggerPredictive[_0x02ca('0x9a')](_0x364b58[_0x02ca('0x48')],_0x391182);loggerPredictive[_0x02ca('0x9a')](_0x2b9d9f[_0x02ca('0x9c')]);freeVariablesPredictive(_0x364b58);};}function loggerCatch(_0x1aefec){return function(_0x34d83d){logger[_0x02ca('0x9a')](_0x1aefec,util[_0x02ca('0x9b')](_0x34d83d,{'showHidden':![],'depth':null}));};}function checkContactEmpty(_0x33862f){return _0x33862f&&!_['isUndefined'](_0x33862f)&&_0x33862f[_0x02ca('0x9d')]>0x0;}function decremetOriginate(_0xfab803){if(!_[_0x02ca('0x86')](_0xfab803)&&_0xfab803!==null){if(_0xfab803['hasOwnProperty']('originated')){if(_0xfab803['originated']>0x0){_0xfab803['originated']-=0x1;}else{logger[_0x02ca('0x9a')]('[decremetOriginate]\x20object\x20originated\x20is\x20negative');}}}else{logger[_0x02ca('0x9a')](_0x02ca('0x9e'));}}function checkContactLowerLimitOriginate(_0x55095f,_0x4689db,_0x329f14){if(_0x4689db>_0x329f14){for(var _0x59d974=0x0;_0x59d974<_0x4689db-_0x329f14;_0x59d974+=0x1){decremetOriginate(_0x55095f);}}}function loggerGetContactDialer(_0x48f2f0,_0x2accae,_0x29bbe0){return function(_0x3a2e5f){checkContactLowerLimitOriginate(_0x2accae,_0x29bbe0,0x0);logger[_0x02ca('0x9a')](_0x48f2f0,util['inspect'](_0x3a2e5f,{'showHidden':![],'depth':null}));};}function sendMessageReschedule(_0x198672){return function(_0x4f2129){if(isNotNull(_0x4f2129)&&isNotNull(_0x4f2129[0x0])){if(_0x4f2129[0x0]['contactsRescheduled']>0x0){_0x198672[_0x02ca('0x46')]=_0x02ca('0x9f');logger[_0x02ca('0x7f')]('[getContactDialer2][ReScheduled]'+_0x198672[_0x02ca('0x48')],_0x4f2129[0x0][_0x02ca('0xa0')],'contacts');}else{_0x198672[_0x02ca('0x46')]=_0x02ca('0xa1');logger[_0x02ca('0x7f')](_0x02ca('0xa2')+_0x198672[_0x02ca('0x48')]);}}};}function notSendMessagesQueue(_0x1f5ab0){if(_0x1f5ab0[_0x02ca('0xa3')]){freeVariablesPredictive(_0x1f5ab0);if(_0x1f5ab0['originated']===0x0&&_0x1f5ab0[_0x02ca('0x5b')]===0x0&&_0x1f5ab0['waiting']===0x0&&(_0x1f5ab0['pTalking']||0x0)===0x0){_0x1f5ab0[_0x02ca('0xa3')]=![];_0x1f5ab0[_0x02ca('0xa4')]=0x0;_0x1f5ab0[_0x02ca('0x46')]=_0x02ca('0x4a');loggerSyncQueueSummary[_0x02ca('0x9a')](_0x02ca('0xa5'),_0x1f5ab0['name'],_0x02ca('0xa6'));}else{_0x1f5ab0[_0x02ca('0x46')]=_0x02ca('0xa7');loggerSyncQueueSummary['error'](_0x02ca('0xa5'),_0x1f5ab0[_0x02ca('0x48')],_0x02ca('0xa8'));}emitVoiceQueueSummary(_0x1f5ab0);}}function notSendMessagesCampaign(_0x243fbe){if(_0x243fbe[_0x02ca('0xa3')]){if(_0x243fbe[_0x02ca('0x76')]===0x0){_0x243fbe['sendMessageOneNotActive']=![];_0x243fbe[_0x02ca('0x46')]=_0x02ca('0x4a');loggerSyncQueueSummary['error'](_0x02ca('0xa9'),_0x243fbe[_0x02ca('0x48')],_0x02ca('0xa6'));}else{_0x243fbe['message']=_0x02ca('0xa7');loggerSyncQueueSummary[_0x02ca('0x9a')](_0x02ca('0xa9'),_0x243fbe['name'],_0x02ca('0xa8'));}emitCampaignSummary(_0x243fbe);}}function createObjHistory(_0x1719c9,_0x125add,_0x20cd10,_0x52a5fe,_0x6a2edc){_0x1719c9[_0x02ca('0x46')]=_0x20cd10;var _0x18829f=new Action(_0x1719c9,_0x125add);var _0x1726c3=new History(_0x18829f);_0x1726c3['state']=_0x52a5fe;_0x1726c3['statedesc']=_0x6a2edc;_0x1726c3[_0x02ca('0xaa')]=_0x18829f[_0x02ca('0xab')];return _0x1726c3;}Dialer[_0x02ca('0x21')]['loopClearZombieChannels']=function(){var _0x402d19=this;setInterval(function(){_0x402d19['clearZombieChannels'](_0x402d19[_0x02ca('0x2f')],'[uniqueid]');_0x402d19[_0x02ca('0xac')](_0x402d19[_0x02ca('0x2d')],_0x02ca('0xad'));},0x32c8);};Dialer['prototype'][_0x02ca('0xac')]=function(_0x1712ce,_0x3ad7a1){var _0xf7e70c=this;for(var _0x92c8e in _0x1712ce){if(_0x1712ce[_0x02ca('0xae')](_0x92c8e)){this[_0x02ca('0x25')][_0x02ca('0x22')](function(){if(!_[_0x02ca('0xaf')](_0x1712ce[_0x92c8e])){return ami['Action']({'action':_0x02ca('0xb0'),'channel':_0x1712ce[_0x92c8e][_0x02ca('0xb1')]})[_0x02ca('0xb2')](function(_0x4a37fd){if(_0x4a37fd[_0x02ca('0x46')]===_0x02ca('0xb3')){setTimeout(function(){if(_0x1712ce[_0x92c8e]&&_0x1712ce[_0x92c8e][_0x02ca('0x54')]!==_0x02ca('0x7c')){_0xf7e70c['updateOriginated'](_0xf7e70c[_0x02ca('0x27')][_0x1712ce[_0x92c8e][_0x02ca('0xb4')]]);logger[_0x02ca('0x9a')](_0x02ca('0xb5'),_0x3ad7a1,_0x92c8e,_0x1712ce[_0x92c8e][_0x02ca('0xb4')]);delete _0x1712ce[_0x92c8e];}if(_0x1712ce[_0x92c8e]&&_0x1712ce[_0x92c8e][_0x02ca('0x54')]===_0x02ca('0x7c')){_0xf7e70c['updateOriginated'](_0xf7e70c[_0x02ca('0x28')][_0x1712ce[_0x92c8e]['queue']]);logger[_0x02ca('0x9a')](_0x02ca('0xb6'),_0x3ad7a1,_0x92c8e,_0x1712ce[_0x92c8e][_0x02ca('0xb4')]);delete _0x1712ce[_0x92c8e];}},0x2328);}});}});}}};Dialer[_0x02ca('0x21')][_0x02ca('0xb7')]=function(_0x4d54f2){return BPromise[_0x02ca('0xb8')]()['then'](cmHopper[_0x02ca('0xb7')](_0x4d54f2))[_0x02ca('0xb2')](loggerCatch(_0x02ca('0xb9')));};Dialer[_0x02ca('0x21')][_0x02ca('0xba')]=function(_0x5bc529){return BPromise[_0x02ca('0xb8')]()[_0x02ca('0xbb')](cmHopperBlack[_0x02ca('0xba')](_0x5bc529))[_0x02ca('0xb2')](loggerCatch(_0x02ca('0xbc')));};Dialer[_0x02ca('0x21')][_0x02ca('0xbd')]=function(_0x5d84e8){return BPromise['resolve']()[_0x02ca('0xbb')](cmHopperBlack['checkIsBlackListIvr'](_0x5d84e8))['catch'](loggerCatch('[checkIsBlackListIvr]\x20'));};Dialer[_0x02ca('0x21')]['averageHandleTime']=function(_0x785d28){return BPromise[_0x02ca('0xb8')]()['then'](cmHopperHistory[_0x02ca('0xbe')](_0x785d28))[_0x02ca('0xb2')](loggerCatch(_0x02ca('0xbf')));};Dialer['prototype'][_0x02ca('0xc0')]=function(_0x3d5ff1){return BPromise['resolve']()['then'](cmHopper[_0x02ca('0xc0')](_0x3d5ff1))[_0x02ca('0xb2')](loggerCatch('[rescheduleContact]\x20'));};Dialer[_0x02ca('0x21')][_0x02ca('0xc1')]=function(_0x18540a,_0x21fbcd,_0x304f3d){return BPromise[_0x02ca('0xb8')]()[_0x02ca('0xbb')](cmHopper[_0x02ca('0xc1')](_0x18540a,_0x21fbcd,_0x304f3d))['catch'](loggerCatch(_0x02ca('0xc2')));};Dialer[_0x02ca('0x21')]['getContactDialer']=function(_0x50ef08,_0x3dd026,_0x56adef,_0x31bf0a){return BPromise['resolve']()[_0x02ca('0xbb')](cmHopper[_0x02ca('0xc3')](_0x50ef08,_0x3dd026,_0x56adef,_0x31bf0a))[_0x02ca('0xb2')](loggerCatch(_0x02ca('0xc4')));};Dialer['prototype'][_0x02ca('0xc5')]=function(_0x4f709c,_0x3118f2,_0xfd05d6){return BPromise[_0x02ca('0xb8')]()['then'](cmHopper[_0x02ca('0xc5')](_0x4f709c,_0x3118f2,_0xfd05d6))['catch'](loggerCatch('[getContactDialer]\x20'));};Dialer[_0x02ca('0x21')][_0x02ca('0xc6')]=function(_0x4a096c){return BPromise['resolve']()[_0x02ca('0xbb')](voiceQueueRt[_0x02ca('0xc6')](_0x4a096c))['catch'](loggerCatch('[getVoiceQueueRtPauses]\x20'));};Dialer['prototype']['moveContactManagedDialer']=function(_0x457504){return BPromise[_0x02ca('0xb8')]()[_0x02ca('0xbb')](cmHopper[_0x02ca('0xc7')](_0x457504))[_0x02ca('0xb2')](loggerCatch(_0x02ca('0xc8')));};Dialer[_0x02ca('0x21')][_0x02ca('0xc9')]=function(_0x172626){return BPromise[_0x02ca('0xb8')]()['then'](cmHopperHistory[_0x02ca('0xc9')](_0x172626))[_0x02ca('0xb2')](loggerCatch('[createHistory]\x20'));};Dialer[_0x02ca('0x21')][_0x02ca('0xca')]=function(_0x501d0c){if(!_[_0x02ca('0x86')](_0x501d0c)&&_0x501d0c!==null){if(_0x501d0c['hasOwnProperty'](_0x02ca('0x76'))){if(_0x501d0c['originated']>0x0){_0x501d0c['originated']-=0x1;}else{logger[_0x02ca('0x9a')](_0x02ca('0xcb'));}}}else{logger[_0x02ca('0x9a')](_0x02ca('0xcc'));}};Dialer[_0x02ca('0x21')][_0x02ca('0xcd')]=function(_0x23d1c9,_0x54f600){var _0x65a015=this;return function(_0xe070df){_0x65a015[_0x02ca('0xca')](_0x54f600);logger[_0x02ca('0x9a')](_0x23d1c9,util[_0x02ca('0x9b')](_0xe070df,{'showHidden':![],'depth':null}));};};Dialer[_0x02ca('0x21')][_0x02ca('0xce')]=function(_0x590749,_0x392e81,_0x1b3d06){var _0x56d64e={'state':0x19,'statedesc':'notFound'};this['updateOriginated'](_0x392e81);this[_0x02ca('0xcf')](_['merge'](_0x56d64e,_['pick'](_0x1b3d06,[_0x02ca('0xd0'),_0x02ca('0xd1'),_0x02ca('0xd2'),'VoiceQueueId',_0x02ca('0xd3')])),_0x02ca('0xd4'),_0x02ca('0xd5'));logger[_0x02ca('0x9a')](_0x590749);};Dialer[_0x02ca('0x21')][_0x02ca('0xd6')]=function(_0x2ce4f9){return _0x2ce4f9===_0x02ca('0xd7');};Dialer[_0x02ca('0x21')]['isTrunkReachable']=function(_0x14f3e6){return!_[_0x02ca('0x86')](_0x14f3e6)&&_0x14f3e6&&!_[_0x02ca('0x86')](_0x14f3e6['name'])&&!_[_0x02ca('0x86')](_0x14f3e6[_0x02ca('0xd8')])&&_0x14f3e6['active']&&(this[_0x02ca('0x2a')][util['format'](_0x02ca('0xd9'),_0x14f3e6[_0x02ca('0x48')])][_0x02ca('0xb0')]==='reachable'||this['trunks'][util[_0x02ca('0x7a')](_0x02ca('0xd9'),_0x14f3e6[_0x02ca('0x48')])][_0x02ca('0xb0')]===_0x02ca('0xda'));};Dialer[_0x02ca('0x21')][_0x02ca('0xcf')]=function(_0x3d17a7,_0x32e3fc,_0x4c4a14){this[_0x02ca('0xc9')](_0x3d17a7)[_0x02ca('0xb2')](loggerCatch(_0x32e3fc));this[_0x02ca('0xc7')](_0x3d17a7)[_0x02ca('0xb2')](loggerCatch(_0x4c4a14));};Dialer['prototype'][_0x02ca('0xdb')]=function(_0x20f0aa){var _0x41fc9c=this[_0x02ca('0x2f')][_0x20f0aa[_0x02ca('0xdc')]];var _0x1e9dae;if(!_[_0x02ca('0xaf')](_0x20f0aa)&&!_[_0x02ca('0xaf')](_0x20f0aa[_0x02ca('0xdd')])&&!_[_0x02ca('0xaf')](_0x20f0aa['variable']['amdstatus'])&&_0x20f0aa[_0x02ca('0xde')]===_0x02ca('0xdf')&&_0x41fc9c){if(_0x41fc9c[_0x02ca('0x54')]!=='ivr'&&this[_0x02ca('0x27')][_0x41fc9c[_0x02ca('0xb4')]][_0x02ca('0xe0')]&&_0x20f0aa['value']===_0x02ca('0xe1')){delete this[_0x02ca('0x2f')][_0x20f0aa[_0x02ca('0xdc')]];this[_0x02ca('0xca')](this['voiceQueues'][_0x41fc9c['queue']]);this[_0x02ca('0x27')][_0x41fc9c['queue']][_0x02ca('0xe2')]+=0x1;this[_0x02ca('0x27')][_0x41fc9c[_0x02ca('0xb4')]]['outboundAnswerAgiCallsDay']+=0x1;_0x1e9dae=new Hangup(_0x41fc9c,_0x20f0aa);_0x1e9dae[_0x02ca('0xe3')]=0x12;_0x1e9dae[_0x02ca('0xe4')]='HangupInAMD';_0x1e9dae['membername']=_0x02ca('0xe5');this[_0x02ca('0xcf')](_0x1e9dae,_0x02ca('0xe6'),'[syncHangupInAMD]');}if(_0x41fc9c[_0x02ca('0x54')]!==_0x02ca('0x7c')&&this['voiceQueues'][_0x41fc9c['queue']][_0x02ca('0xe0')]&&_0x20f0aa[_0x02ca('0xe7')]==='MACHINE'){var _0x50cbac=this;return new BPromise(function(_0x322c82,_0x1238eb){delete _0x50cbac[_0x02ca('0x2f')][_0x20f0aa[_0x02ca('0xdc')]];_0x50cbac[_0x02ca('0xca')](_0x50cbac[_0x02ca('0x27')][_0x41fc9c[_0x02ca('0xb4')]]);_0x50cbac['voiceQueues'][_0x41fc9c[_0x02ca('0xb4')]][_0x02ca('0xe2')]+=0x1;_0x50cbac[_0x02ca('0x27')][_0x41fc9c[_0x02ca('0xb4')]][_0x02ca('0xe8')]+=0x1;var _0x38d61f=_0x50cbac[_0x02ca('0x27')][_0x41fc9c[_0x02ca('0xb4')]];var _0x463acb=new Hangup(_0x41fc9c,_0x20f0aa);_0x463acb[_0x02ca('0xe3')]=0x13;_0x463acb[_0x02ca('0xe4')]=_0x02ca('0xe9');_0x463acb[_0x02ca('0xea')]=_0x02ca('0xe5');_0x463acb[_0x02ca('0xeb')]+=0x1;_0x463acb[_0x02ca('0xec')]+=0x1;_0x463acb[_0x02ca('0xed')]=!![];_0x50cbac['createHistory'](_0x463acb)['catch'](loggerCatch(_0x02ca('0xee')));if(_0x463acb['countbusyretry']+_0x463acb[_0x02ca('0xef')]+_0x463acb[_0x02ca('0xf0')]+_0x463acb[_0x02ca('0xf1')]+_0x463acb[_0x02ca('0xf2')]+_0x463acb[_0x02ca('0xf3')]+_0x463acb[_0x02ca('0xeb')]+_0x463acb[_0x02ca('0xf4')]>=_0x38d61f[_0x02ca('0xf5')]){_0x50cbac['stateGlobal'](_0x463acb,_0x322c82,_0x1238eb,_0x02ca('0xf6'));}else{if(_0x463acb['countmachineretry']>=_0x38d61f[_0x02ca('0xf7')]){_0x50cbac['createStateFinal'](_0x463acb,_0x322c82,_0x1238eb,_0x02ca('0xf8'));}else{_0x50cbac['rescheduleContact']({'active':![],'countmachineretry':_0x463acb[_0x02ca('0xeb')],'scheduledat':moment()[_0x02ca('0xf9')](_0x38d61f['dialMachineRetryFrequency'],_0x02ca('0xfa'))[_0x02ca('0x7a')]('YYYY-MM-DD\x20HH:mm:ss'),'ContactId':_0x463acb[_0x02ca('0xd0')],'ListId':_0x463acb[_0x02ca('0xd1')],'VoiceQueueId':_0x463acb[_0x02ca('0xfb')]||undefined,'CampaignId':_0x463acb['CampaignId']||undefined})[_0x02ca('0xb2')](loggerCatch(_0x02ca('0xfc')));_0x322c82({'reschedule':0x1});}}});}if(_0x41fc9c[_0x02ca('0x54')]===_0x02ca('0x7c')&&this['campaigns'][_0x41fc9c[_0x02ca('0xb4')]][_0x02ca('0xe0')]&&_0x20f0aa[_0x02ca('0xe7')]==='HANGUP'){delete this['uniqueId'][_0x20f0aa[_0x02ca('0xdc')]];this[_0x02ca('0xca')](this[_0x02ca('0x28')][_0x41fc9c[_0x02ca('0xb4')]]);_0x1e9dae=new Hangup(_0x41fc9c,_0x20f0aa);_0x1e9dae[_0x02ca('0xe3')]=0x12;_0x1e9dae[_0x02ca('0xe4')]=_0x02ca('0xfd');_0x1e9dae['membername']=_0x02ca('0xe5');this[_0x02ca('0xcf')](_0x1e9dae,_0x02ca('0xfe'),_0x02ca('0xff'));}if(_0x41fc9c['type']==='ivr'&&this[_0x02ca('0x28')][_0x41fc9c[_0x02ca('0xb4')]][_0x02ca('0xe0')]&&_0x20f0aa[_0x02ca('0xe7')]==='MACHINE'){var _0x50cbac=this;return new BPromise(function(_0x23e3dc,_0x2cf9c1){delete _0x50cbac[_0x02ca('0x2f')][_0x20f0aa[_0x02ca('0xdc')]];_0x50cbac['updateOriginated'](_0x50cbac[_0x02ca('0x28')][_0x41fc9c[_0x02ca('0xb4')]]);_0x50cbac[_0x02ca('0x28')][_0x41fc9c[_0x02ca('0xb4')]][_0x02ca('0xe2')]+=0x1;_0x50cbac[_0x02ca('0x28')][_0x41fc9c['queue']][_0x02ca('0xe8')]+=0x1;var _0x5f5a80=_0x50cbac[_0x02ca('0x28')][_0x41fc9c['queue']];var _0x5cb56d=new Hangup(_0x41fc9c,_0x20f0aa);_0x5cb56d[_0x02ca('0xe3')]=0x13;_0x5cb56d['statedesc']='Machine';_0x5cb56d[_0x02ca('0xea')]=_0x02ca('0xe5');_0x5cb56d[_0x02ca('0xeb')]+=0x1;_0x5cb56d['countglobal']+=0x1;_0x5cb56d[_0x02ca('0xed')]=!![];_0x50cbac[_0x02ca('0xc9')](_0x5cb56d)[_0x02ca('0xb2')](loggerCatch(_0x02ca('0xee')));if(_0x5cb56d[_0x02ca('0x100')]+_0x5cb56d[_0x02ca('0xef')]+_0x5cb56d[_0x02ca('0xf0')]+_0x5cb56d[_0x02ca('0xf1')]+_0x5cb56d[_0x02ca('0xf2')]+_0x5cb56d[_0x02ca('0xf3')]+_0x5cb56d[_0x02ca('0xeb')]+_0x5cb56d[_0x02ca('0xf4')]>=_0x5f5a80[_0x02ca('0xf5')]){_0x50cbac[_0x02ca('0x101')](_0x5cb56d,_0x23e3dc,_0x2cf9c1,_0x02ca('0xf6'));}else{if(_0x5cb56d[_0x02ca('0xeb')]>=_0x5f5a80[_0x02ca('0xf7')]){_0x50cbac[_0x02ca('0x102')](_0x5cb56d,_0x23e3dc,_0x2cf9c1,'reason\x2019\x20machine....');}else{_0x50cbac[_0x02ca('0xc0')]({'active':![],'countmachineretry':_0x5cb56d[_0x02ca('0xeb')],'scheduledat':moment()['add'](_0x5f5a80['dialMachineRetryFrequency'],_0x02ca('0xfa'))[_0x02ca('0x7a')](_0x02ca('0x103')),'ContactId':_0x5cb56d[_0x02ca('0xd0')],'ListId':_0x5cb56d['ListId'],'VoiceQueueId':_0x5cb56d['VoiceQueueId']||undefined,'CampaignId':_0x5cb56d[_0x02ca('0xd3')]||undefined})['catch'](loggerCatch('[rescheduleContact][Machine]'));_0x23e3dc({'reschedule':0x1});}}});}}};Dialer['prototype'][_0x02ca('0x3f')]=function(_0x10eea6){var _0x490d6e=this[_0x02ca('0x2f')][_0x10eea6[_0x02ca('0xdc')]];var _0x179a41=this;var _0x37f973;if(_0x490d6e&&_0x490d6e[_0x02ca('0x54')]===_0x02ca('0x7c')){delete this[_0x02ca('0x2f')][_0x10eea6[_0x02ca('0xdc')]];this[_0x02ca('0xca')](this[_0x02ca('0x28')][_0x490d6e['queue']]);this['campaigns'][_0x490d6e['queue']][_0x02ca('0x104')]+=0x1;_0x37f973=new Hangup(_0x490d6e,_0x10eea6);this[_0x02ca('0xc9')](_0x37f973)[_0x02ca('0xb2')](loggerCatch(_0x02ca('0x105')));this['moveContactManagedDialer'](_0x37f973)[_0x02ca('0xb2')](loggerCatch(_0x02ca('0x106')));}if(_0x490d6e&&_0x490d6e[_0x02ca('0x54')]!==_0x02ca('0x7c')&&isNotNull(this[_0x02ca('0x27')][_0x490d6e['queue']]['dialQueueProject'])){delete this[_0x02ca('0x2f')][_0x10eea6[_0x02ca('0xdc')]];this[_0x02ca('0xca')](this[_0x02ca('0x27')][_0x490d6e[_0x02ca('0xb4')]]);this['voiceQueues'][_0x490d6e[_0x02ca('0xb4')]][_0x02ca('0xe2')]+=0x1;this[_0x02ca('0x27')][_0x490d6e['queue']][_0x02ca('0xe8')]+=0x1;_0x37f973=new Hangup(_0x490d6e,_0x10eea6);_0x37f973[_0x02ca('0xe3')]=0x10;_0x37f973[_0x02ca('0xe4')]=_0x02ca('0x107');_0x37f973[_0x02ca('0xea')]=_0x02ca('0x108');this[_0x02ca('0xc9')](_0x37f973)[_0x02ca('0xb2')](loggerCatch(_0x02ca('0x105')));this[_0x02ca('0xc7')](_0x37f973)[_0x02ca('0xb2')](loggerCatch(_0x02ca('0x106')));}if(_0x490d6e&&_0x490d6e['type']!==_0x02ca('0x7c')&&!isNotNull(this[_0x02ca('0x27')][_0x490d6e[_0x02ca('0xb4')]][_0x02ca('0x109')])){delete this[_0x02ca('0x2f')][_0x10eea6['uniqueid']];this[_0x02ca('0xca')](this[_0x02ca('0x27')][_0x490d6e['queue']]);this[_0x02ca('0x27')][_0x490d6e[_0x02ca('0xb4')]][_0x02ca('0x6b')]+=0x1;_0x37f973=new Hangup(_0x490d6e,_0x10eea6);_0x37f973[_0x02ca('0xe3')]=0xc;_0x37f973[_0x02ca('0xe4')]=_0x10eea6[_0x02ca('0x10a')];_0x37f973[_0x02ca('0xea')]=_0x02ca('0x10b');this['createHistory'](_0x37f973)[_0x02ca('0xb2')](loggerCatch('[syncHangupIvr][createHistory]'));this[_0x02ca('0xc7')](_0x37f973)[_0x02ca('0xb2')](loggerCatch('[syncHangupIvr]'));}};Dialer[_0x02ca('0x21')][_0x02ca('0x3c')]=function(_0x3c0368){var _0x2b1134=this[_0x02ca('0x2f')][_0x3c0368[_0x02ca('0xdc')]];var _0x53daea=this;if(this[_0x02ca('0x27')][_0x3c0368[_0x02ca('0xb4')]]){if(_0x2b1134&&_0x2b1134[_0x02ca('0x54')]!==_0x02ca('0x7c')){delete this[_0x02ca('0x2f')][_0x3c0368[_0x02ca('0xdc')]];this[_0x02ca('0x27')][_0x3c0368[_0x02ca('0xb4')]][_0x02ca('0xe2')]+=0x1;var _0x10cb52=new AgentComplete(_0x2b1134,_0x3c0368);if(_0x3c0368[_0x02ca('0x10c')]==='agent'){_0x10cb52[_0x02ca('0x10d')]=this[_0x02ca('0x27')][_0x3c0368[_0x02ca('0xb4')]][_0x02ca('0x10e')]&&this[_0x02ca('0x27')][_0x3c0368['queue']]['dialAgiAfterHangupAgent']?moment()[_0x02ca('0x7a')](_0x02ca('0x103')):undefined;}this['createHistory'](_0x10cb52)[_0x02ca('0xb2')](loggerCatch(_0x02ca('0x10f')));this[_0x02ca('0xc7')](_0x10cb52)[_0x02ca('0xb2')](loggerCatch('[syncAgentComplete]'));}}};Dialer[_0x02ca('0x21')][_0x02ca('0x35')]=function(_0x2129f0){if(this[_0x02ca('0x27')][_0x2129f0['queue']]){if(this[_0x02ca('0x2f')][_0x2129f0['uniqueid']]&&this[_0x02ca('0x2f')][_0x2129f0[_0x02ca('0xdc')]]['type']!==_0x02ca('0x7c')){this[_0x02ca('0xca')](this[_0x02ca('0x27')][_0x2129f0['queue']]);this[_0x02ca('0x2f')][_0x2129f0[_0x02ca('0xdc')]]['answertime']=moment()[_0x02ca('0x7a')](_0x02ca('0x103'));}}};Dialer[_0x02ca('0x21')]['queueCallerAbandonCreateState']=function(_0x1d60a3){this[_0x02ca('0xc9')](_0x1d60a3)[_0x02ca('0xb2')](loggerCatch(_0x02ca('0x10f')));this[_0x02ca('0xc7')](_0x1d60a3)[_0x02ca('0xb2')](loggerCatch('[syncQueueCallerAbandon]\x20[Drop]'));};Dialer[_0x02ca('0x21')]['syncQueueCallerAbandon']=function(_0x30e26d){var _0x61b05b=this[_0x02ca('0x2f')][_0x30e26d[_0x02ca('0xdc')]];var _0x855261=this;if(this[_0x02ca('0x27')][_0x30e26d[_0x02ca('0xb4')]]){if(_0x61b05b&&_0x61b05b[_0x02ca('0x54')]!==_0x02ca('0x7c')){delete this['uniqueId'][_0x30e26d[_0x02ca('0xdc')]];this[_0x02ca('0xca')](this[_0x02ca('0x27')][_0x30e26d[_0x02ca('0xb4')]]);_0x61b05b['droptime']=moment()['format'](_0x02ca('0x103'));var _0x5b475b=new QueueCallerAbandon(_0x61b05b,_0x30e26d);if(getSeconds(_0x61b05b[_0x02ca('0x110')],_0x61b05b[_0x02ca('0x111')])>=_0x61b05b[_0x02ca('0x112')]){this[_0x02ca('0x27')][_0x30e26d[_0x02ca('0xb4')]][_0x02ca('0x70')]+=0x1;this[_0x02ca('0x27')][_0x30e26d[_0x02ca('0xb4')]][_0x02ca('0x66')]+=0x1;this[_0x02ca('0x27')][_0x30e26d[_0x02ca('0xb4')]][_0x02ca('0x72')]+=0x1;_0x5b475b[_0x02ca('0xe3')]=0xa;_0x5b475b[_0x02ca('0xe4')]=_0x02ca('0x113');_0x5b475b['dropreason']='TIMEOUT';_0x5b475b[_0x02ca('0x10d')]=this['voiceQueues'][_0x30e26d[_0x02ca('0xb4')]][_0x02ca('0x10e')]?moment()[_0x02ca('0x7a')]('YYYY-MM-DD\x20HH:mm:ss'):undefined;_0x5b475b['countdropretry']+=0x1;_0x5b475b['countglobal']+=0x1;if(_0x5b475b[_0x02ca('0xf2')]>=this[_0x02ca('0x27')][_0x30e26d[_0x02ca('0xb4')]][_0x02ca('0x114')]){this[_0x02ca('0x115')](_0x5b475b);}else{this['rescheduleContact']({'active':![],'countdropretry':_0x5b475b[_0x02ca('0xf2')],'scheduledat':moment()[_0x02ca('0xf9')](this[_0x02ca('0x27')][_0x30e26d[_0x02ca('0xb4')]][_0x02ca('0x116')],_0x02ca('0xfa'))['format'](_0x02ca('0x103')),'ContactId':_0x61b05b['ContactId'],'ListId':_0x61b05b[_0x02ca('0xd1')],'VoiceQueueId':_0x61b05b[_0x02ca('0xfb')]||undefined,'CampaignId':_0x61b05b[_0x02ca('0xd3')]||undefined})[_0x02ca('0xb2')](loggerCatch('[rescheduleContact][Drop]'));var _0x3f9c3f=new History(_0x5b475b);_0x3f9c3f[_0x02ca('0xe3')]=0xa;_0x3f9c3f['statedesc']='Drop';_0x3f9c3f[_0x02ca('0xab')]=moment()['format'](_0x02ca('0x103'));_0x3f9c3f[_0x02ca('0xaa')]=_0x3f9c3f[_0x02ca('0xab')];_0x3f9c3f[_0x02ca('0x117')]=_0x5b475b[_0x02ca('0x117')];_0x3f9c3f[_0x02ca('0x118')]=_0x5b475b[_0x02ca('0x118')];this[_0x02ca('0xc9')](_0x3f9c3f)[_0x02ca('0xb2')](loggerCatch(_0x02ca('0x119')));}}else{this['voiceQueues'][_0x30e26d[_0x02ca('0xb4')]][_0x02ca('0x6f')]+=0x1;this['voiceQueues'][_0x30e26d[_0x02ca('0xb4')]][_0x02ca('0x11a')]+=0x1;_0x5b475b['state']=0xb;_0x5b475b[_0x02ca('0xe4')]=_0x02ca('0x11b');_0x5b475b['dropreason']=_0x02ca('0x11c');_0x5b475b[_0x02ca('0xf3')]+=0x1;_0x5b475b[_0x02ca('0xec')]+=0x1;if(_0x5b475b[_0x02ca('0xf3')]>=this[_0x02ca('0x27')][_0x30e26d[_0x02ca('0xb4')]][_0x02ca('0x11d')]){this[_0x02ca('0x115')](_0x5b475b);}else{this[_0x02ca('0xc0')]({'active':![],'countabandonedretry':_0x5b475b[_0x02ca('0xf3')],'scheduledat':moment()[_0x02ca('0xf9')](this[_0x02ca('0x27')][_0x30e26d[_0x02ca('0xb4')]][_0x02ca('0x11e')],'minutes')[_0x02ca('0x7a')](_0x02ca('0x103')),'ContactId':_0x61b05b['ContactId'],'ListId':_0x61b05b[_0x02ca('0xd1')],'VoiceQueueId':_0x61b05b[_0x02ca('0xfb')]||undefined,'CampaignId':_0x61b05b[_0x02ca('0xd3')]||undefined})['catch'](loggerCatch(_0x02ca('0x11f')));var _0x3f9c3f=new History(_0x5b475b);_0x3f9c3f[_0x02ca('0xe3')]=0xb;_0x3f9c3f['statedesc']=_0x02ca('0x11b');_0x3f9c3f[_0x02ca('0xab')]=moment()[_0x02ca('0x7a')]('YYYY-MM-DD\x20HH:mm:ss');_0x3f9c3f[_0x02ca('0xaa')]=_0x3f9c3f[_0x02ca('0xab')];_0x3f9c3f[_0x02ca('0x117')]=_0x5b475b[_0x02ca('0x117')];_0x3f9c3f[_0x02ca('0x118')]=_0x5b475b[_0x02ca('0x118')];this[_0x02ca('0xc9')](_0x3f9c3f)[_0x02ca('0xb2')](loggerCatch('[syncAgentComplete][createHistory][11]'));}}}}};Dialer['prototype']['syncNewExten']=function(_0x23a2bc){if(this[_0x02ca('0x2d')][_0x23a2bc[_0x02ca('0xdc')]]){this['actions'][_0x23a2bc[_0x02ca('0xdc')]][_0x02ca('0xb1')]=_0x23a2bc[_0x02ca('0xb1')];}if(this[_0x02ca('0x2f')][_0x23a2bc[_0x02ca('0xdc')]]){this[_0x02ca('0x2f')][_0x23a2bc[_0x02ca('0xdc')]][_0x02ca('0xb1')]=_0x23a2bc[_0x02ca('0xb1')];}};Dialer['prototype'][_0x02ca('0x42')]=function(_0x1dda50){if(strategy[this['voiceQueues'][this['actions'][_0x1dda50[_0x02ca('0x120')]][_0x02ca('0xb4')]][_0x02ca('0x121')]]===_0x02ca('0x20')){if(this[_0x02ca('0x2d')][_0x1dda50[_0x02ca('0x120')]]&&_[_0x02ca('0xaf')](this[_0x02ca('0x2d')][_0x1dda50['actionid']]['locked'])&&_0x1dda50['status']==='1'&&_0x1dda50[_0x02ca('0x122')]==='0'){if(this['agents'][_0x1dda50[_0x02ca('0x123')]]){if(!this[_0x02ca('0x29')][_0x1dda50['stateinterface']][_0x02ca('0x124')]){this[_0x02ca('0x29')][_0x1dda50['stateinterface']][_0x02ca('0x124')]=!![];this['actions'][_0x1dda50[_0x02ca('0x120')]]['locked']=!![];this[_0x02ca('0x2d')][_0x1dda50[_0x02ca('0x120')]]['stateinterface']=_0x1dda50['stateinterface'];}}}}else if((strategy[this[_0x02ca('0x27')][this[_0x02ca('0x2d')][_0x1dda50[_0x02ca('0x120')]][_0x02ca('0xb4')]][_0x02ca('0x121')]]||_0x02ca('0x1f'))===_0x02ca('0x1f')){if(this[_0x02ca('0x2d')][_0x1dda50[_0x02ca('0x120')]]){if(this['agents'][_0x1dda50[_0x02ca('0x123')]]){this[_0x02ca('0x2d')][_0x1dda50[_0x02ca('0x120')]][_0x02ca('0x123')]=_0x1dda50[_0x02ca('0x123')];if(_[_0x02ca('0xaf')](this[_0x02ca('0x33')][this[_0x02ca('0x2d')][_0x1dda50[_0x02ca('0x120')]][_0x02ca('0xb4')]])){this[_0x02ca('0x33')][this[_0x02ca('0x2d')][_0x1dda50[_0x02ca('0x120')]]['queue']]=[];}this[_0x02ca('0x33')][this['actions'][_0x1dda50[_0x02ca('0x120')]][_0x02ca('0xb4')]][_0x02ca('0x125')](_[_0x02ca('0x92')](_[_0x02ca('0x126')](this[_0x02ca('0x2d')][_0x1dda50[_0x02ca('0x120')]],[_0x02ca('0x127'),_0x02ca('0x123')]),{'status':_0x1dda50[_0x02ca('0xb0')],'paused':_0x1dda50['paused']}));}}}};function unlockQueueStatus(_0x39ae94,_0x5d53e0){setTimeout(function(){if(_[_0x02ca('0x86')](_0x39ae94[_0x02ca('0x128')])){loggerBooked[_0x02ca('0x9a')](_0x02ca('0x129'),_0x5d53e0);}_0x39ae94[_0x02ca('0x128')]=!![];loggerBooked[_0x02ca('0x7f')](_0x02ca('0x12a'),_0x5d53e0,JSON[_0x02ca('0x12b')](_[_0x02ca('0x126')](_0x39ae94,['name',_0x02ca('0x128')])));},0x1f3);}Dialer['prototype'][_0x02ca('0x12c')]=function(_0x40e159){var _0x33219e=this;var _0xa328b8=_0x33219e['voiceQueues'][_0x33219e[_0x02ca('0x2d')][_0x40e159[_0x02ca('0x120')]][_0x02ca('0xb4')]];if(strategy[this[_0x02ca('0x27')][this[_0x02ca('0x2d')][_0x40e159[_0x02ca('0x120')]][_0x02ca('0xb4')]][_0x02ca('0x121')]]===_0x02ca('0x20')){if(this[_0x02ca('0x2d')][_0x40e159[_0x02ca('0x120')]]&&this[_0x02ca('0x2d')][_0x40e159[_0x02ca('0x120')]][_0x02ca('0x123')]){this[_0x02ca('0x26')][_0x02ca('0x12d')](this[_0x02ca('0x2d')][_0x40e159[_0x02ca('0x120')]]['idHopper'],this[_0x02ca('0x2d')][_0x40e159[_0x02ca('0x120')]]['stateinterface'])[_0x02ca('0xb2')](function(_0x3ca321){logger[_0x02ca('0x9a')](_0x02ca('0x12e'),util[_0x02ca('0x9b')](_0x3ca321,{'showHidden':![],'depth':null}));})['finally'](function(){_0x33219e[_0x02ca('0xca')](_0x33219e['voiceQueues'][_0x33219e[_0x02ca('0x2d')][_0x40e159[_0x02ca('0x120')]][_0x02ca('0xb4')]]);_0x33219e[_0x02ca('0x29')][_0x33219e['actions'][_0x40e159[_0x02ca('0x120')]][_0x02ca('0x123')]][_0x02ca('0x124')]=![];delete _0x33219e[_0x02ca('0x2d')][_0x40e159[_0x02ca('0x120')]];unlockQueueStatus(_0xa328b8);});}else{this[_0x02ca('0xca')](this['voiceQueues'][this[_0x02ca('0x2d')][_0x40e159[_0x02ca('0x120')]][_0x02ca('0xb4')]]);this[_0x02ca('0xc0')]({'active':![],'ContactId':this['actions'][_0x40e159[_0x02ca('0x120')]][_0x02ca('0xd0')],'ListId':this['actions'][_0x40e159[_0x02ca('0x120')]]['ListId'],'VoiceQueueId':this[_0x02ca('0x2d')][_0x40e159[_0x02ca('0x120')]][_0x02ca('0xfb')]||undefined,'CampaignId':this[_0x02ca('0x2d')][_0x40e159[_0x02ca('0x120')]][_0x02ca('0xd3')]||undefined})[_0x02ca('0xb2')](loggerCatch(_0x02ca('0x12f')));delete this[_0x02ca('0x2d')][_0x40e159['actionid']];unlockQueueStatus(_0xa328b8);}}else if((strategy[this[_0x02ca('0x27')][this[_0x02ca('0x2d')][_0x40e159[_0x02ca('0x120')]]['queue']]['strategy']]||_0x02ca('0x1f'))===_0x02ca('0x1f')){var _0x27b317;if(this[_0x02ca('0x2d')][_0x40e159[_0x02ca('0x120')]]&&!_['isEmpty'](this[_0x02ca('0x33')][this[_0x02ca('0x2d')][_0x40e159[_0x02ca('0x120')]][_0x02ca('0xb4')]])){if(this[_0x02ca('0x34')][_0x33219e[_0x02ca('0x2d')][_0x40e159[_0x02ca('0x120')]][_0x02ca('0xb4')]]){this[_0x02ca('0x34')][_0x33219e[_0x02ca('0x2d')][_0x40e159[_0x02ca('0x120')]][_0x02ca('0xb4')]]=this[_0x02ca('0x34')][this[_0x02ca('0x2d')][_0x40e159[_0x02ca('0x120')]][_0x02ca('0xb4')]]?this[_0x02ca('0x34')][this[_0x02ca('0x2d')][_0x40e159[_0x02ca('0x120')]]['queue']]:this[_0x02ca('0x33')][this[_0x02ca('0x2d')][_0x40e159[_0x02ca('0x120')]]['queue']]?this[_0x02ca('0x33')][this[_0x02ca('0x2d')][_0x40e159[_0x02ca('0x120')]][_0x02ca('0xb4')]][_0x02ca('0x130')]||0x0:0x0;}this[_0x02ca('0x33')][this['actions'][_0x40e159[_0x02ca('0x120')]][_0x02ca('0xb4')]][_0x02ca('0x130')]=this[_0x02ca('0x34')][this[_0x02ca('0x2d')][_0x40e159['actionid']][_0x02ca('0xb4')]];for(var _0x4bca3b=0x0;_0x4bca3b=0x0?!![]:![];})[_0x02ca('0xb2')](myreject(_0x17ab51)));}}else{_0x193414[_0x02ca('0x125')](ami['Action']({'action':_0x02ca('0x14a'),'command':util['format'](_0x02ca('0x14d'),_0x4e0764,!_[_0x02ca('0x86')](config[_0x02ca('0x145')][_0x1586e0])?_0x1586e0:'')})['then'](function(_0x4eea84){return _0x4eea84[_0x02ca('0x14b')]['indexOf'](_0x02ca('0x14e'))>=0x0?!![]:![];})['catch'](myreject(_0x17ab51)));}BPromise[_0x02ca('0x14f')](_0x193414)[_0x02ca('0xbb')](function(_0x315b18){var _0x34f9b8=_['some'](_0x315b18);if(_0x34f9b8){return _0x5a71f5(_0x34f9b8);}else{_0x3ccc2a['message']=_0x21cb82?_0x02ca('0x150'):_0x02ca('0x151');return _0x17ab51(msgResponse(_0x02ca('0x152'),_0x02ca('0x142'),_0x02ca('0x153')+_0x21cb82+'\x20'+_0x4ca63e+_0x02ca('0x154')+util[_0x02ca('0x9b')](_0x4e0764,{'showHidden':![],'depth':null})+_0x02ca('0x155')+_0x1586e0));}})[_0x02ca('0xb2')](function(_0xed3d42){return _0x17ab51(msgResponse('ifTime',_0x02ca('0x142'),JSON['stringify'](_0xed3d42)));});});};Dialer[_0x02ca('0x21')][_0x02ca('0x156')]=function(_0x59d087){var _0xc777a8=this;return function(){switch(_0x59d087['dialMethod']){case'progressive':freeVariablesPredictive(_0x59d087);_0xc777a8['handlePower'](_0x59d087,0x1);break;case _0x02ca('0x157'):freeVariablesPredictive(_0x59d087);_0xc777a8[_0x02ca('0x158')](_0x59d087,_0x59d087['dialPowerLevel']);break;case'predictive':_0xc777a8[_0x02ca('0x159')](_0x59d087);break;case _0x02ca('0x9'):freeVariablesPredictive(_0x59d087);_0xc777a8[_0x02ca('0x158')](_0x59d087,0x1);break;default:freeVariablesPredictive(_0x59d087);logger[_0x02ca('0x9a')](_0x02ca('0x15a'),_0x59d087[_0x02ca('0x48')],_0x02ca('0x15b'));}};};Dialer[_0x02ca('0x21')][_0x02ca('0x15c')]=function(_0x38415e){var _0x12718e=this;return function(){_0x12718e[_0x02ca('0x15d')](_0x38415e);};};Dialer[_0x02ca('0x21')][_0x02ca('0xb')]=function(_0xf738fe){var _0x5f2133=this;if(isNotPreview(_0xf738fe[_0x02ca('0x5f')])){if(isVoiceQueueOutbound(_0xf738fe[_0x02ca('0x54')])&&isActive(_0xf738fe[_0x02ca('0x15e')])){_0xf738fe[_0x02ca('0xa3')]=!![];BPromise['resolve']()[_0x02ca('0xbb')](checkIsLoggedIn(_0xf738fe,_0xf738fe[_0x02ca('0x57')]))[_0x02ca('0xbb')](checkIsActive(_0xf738fe,_0xf738fe[_0x02ca('0x15e')]))[_0x02ca('0xbb')](checkInterval(_0xf738fe))[_0x02ca('0xbb')](_0x5f2133['checkIsTrunkReachable'](_0xf738fe))['then'](_0x5f2133['checkIfTime'](_0xf738fe['dialGlobalInterval'],_0xf738fe['dialTimezone'],_0xf738fe[_0x02ca('0x48')],_0xf738fe))[_0x02ca('0xbb')](_0x5f2133[_0x02ca('0x140')](_0xf738fe[_0x02ca('0x4c')],_0xf738fe[_0x02ca('0x15f')],_0xf738fe[_0x02ca('0x48')],_0xf738fe))[_0x02ca('0xbb')](_0x5f2133[_0x02ca('0x156')](_0xf738fe))['catch'](loggerCatchQueueSummary(_0x02ca('0x160'),_0xf738fe));}else{notSendMessagesQueue(_0xf738fe);}}else{freeVariablesPredictive(_0xf738fe);}};Dialer['prototype'][_0x02ca('0x161')]=function(){var _0x52dded=this;var _0x586a0d;for(var _0xe53fe2 in this['campaigns']){if(this[_0x02ca('0x28')]['hasOwnProperty'](_0xe53fe2)){_0x586a0d=this[_0x02ca('0x28')][_0xe53fe2];if(isCampaignIvr(_0x586a0d[_0x02ca('0x54')])&&isActive(_0x586a0d['active'])){_0x586a0d[_0x02ca('0xa3')]=!![];BPromise['resolve']()[_0x02ca('0xbb')](checkIsActive(_0x586a0d,_0x586a0d[_0x02ca('0xd8')]))['then'](checkInterval(_0x586a0d))[_0x02ca('0xbb')](_0x52dded[_0x02ca('0x13a')](_0x586a0d))[_0x02ca('0xbb')](_0x52dded['checkIfTime'](_0x586a0d[_0x02ca('0x162')],_0x586a0d[_0x02ca('0x15f')],_0x586a0d[_0x02ca('0x48')],_0x586a0d))[_0x02ca('0xbb')](_0x52dded[_0x02ca('0x140')](_0x586a0d[_0x02ca('0x4c')],_0x586a0d[_0x02ca('0x15f')],_0x586a0d[_0x02ca('0x48')],_0x586a0d))[_0x02ca('0xbb')](_0x52dded[_0x02ca('0x15c')](_0x586a0d))[_0x02ca('0xb2')](loggerCatchQueueSummary(_0x02ca('0x163'),_0x586a0d));}else{notSendMessagesCampaign(_0x586a0d);}}}};function getCallerIdRandom(_0x4b2473,_0x3a5038){var _0x2f3134,_0x224912,_0x135aec;if(_0x3a5038<=0x0){_0x3a5038=0x1;}_0x2f3134=new RegExp(_0x02ca('0x164')+_0x3a5038+'}$');_0x224912=Math[_0x02ca('0x165')](0xa,_0x3a5038-0x1);_0x135aec=Math[_0x02ca('0x165')](0xa,_0x3a5038)-0x1;return util['format']('%s',_['replace'](_0x4b2473,_0x2f3134,_[_0x02ca('0x166')](_0x224912,_0x135aec)));}function extractCalleridName(_0x586255){var _0x44f6ea=_0x586255[_0x02ca('0x167')](/"(.*?)"/);return _0x44f6ea?_0x44f6ea[0x1]:_0x586255;}function extractCalleridNumber(_0xd31e75){var _0x32900e=_0xd31e75[_0x02ca('0x167')](/<(.*?)>/);return _0x32900e?_0x32900e[0x1]:_0xd31e75;}Dialer[_0x02ca('0x21')][_0x02ca('0x168')]=function(_0x395213,_0x349304){var _0x342f25=this;var _0x12f4ed=uuid['v4']();this[_0x02ca('0x2d')][_0x12f4ed]=new Action(_0x395213,_0x349304,_0x12f4ed);return new BPromise(function(_0x13eede,_0x10d3bd){if(_['isUndefined'](_0x395213)&&_0x02ca('0x169')!==typeof _0x395213){return _0x10d3bd(msgResponse(_0x02ca('0x16a'),_0x02ca('0x142'),_0x02ca('0x16b')));}if(_[_0x02ca('0x86')](_0x349304[_0x02ca('0x16c')]['phone'])||_0x349304[_0x02ca('0x16c')][_0x02ca('0x16d')]===null){return _0x10d3bd(msgResponse(_0x02ca('0x16a'),_0x02ca('0x142'),_0x02ca('0x16e')));}var _0x1322f2={'XMD-CALLERID':_0x342f25[_0x02ca('0x2d')][_0x12f4ed][_0x02ca('0x16f')](),'XMD-AGI':_0x395213[_0x02ca('0x109')]?util[_0x02ca('0x7a')]('\x22agi://%s/square,%s\x22',ipAgi,_0x395213[_0x02ca('0x109')]):'NONE','XMD-AGIAFTER':_0x395213[_0x02ca('0x10e')]?util[_0x02ca('0x7a')]('\x22agi://%s/square,%s\x22',ipAgi,_0x395213[_0x02ca('0x10e')]):_0x02ca('0x170'),'XMD-QUEUE':_0x395213[_0x02ca('0x54')]===_0x02ca('0x55')?util['format'](_0x02ca('0x171'),_0x395213[_0x02ca('0x48')],_0x395213[_0x02ca('0x172')]||'',_0x395213[_0x02ca('0x173')]?'c':'',_0x395213[_0x02ca('0x112')]||0x3):_0x02ca('0x170'),'XMD-CONTACTID':_0x349304['ContactId'],'XMD-CDRTYPE':_0x02ca('0x8'),'CALLERID(all)':_0x342f25[_0x02ca('0x2d')][_0x12f4ed][_0x02ca('0x16f')](),'XMD-AMD':_0x395213[_0x02ca('0xe0')]?'ACTIVE':'NONE','XMD-DESTINATION':_0x02ca('0xdf')};if(_0x395213[_0x02ca('0xe0')]){_0x1322f2[_0x02ca('0x174')]=_0x395213[_0x02ca('0x175')]||0x9c4;_0x1322f2['XMD-AMDGREETING']=_0x395213[_0x02ca('0x176')]||0x5dc;_0x1322f2['XMD-AMDAFTERGREETINGSILENCE']=_0x395213[_0x02ca('0x177')]||0x320;_0x1322f2[_0x02ca('0x178')]=_0x395213[_0x02ca('0x179')]||0x1388;_0x1322f2['XMD-AMDMINWORDLENGTH']=_0x395213[_0x02ca('0x17a')]||0x64;_0x1322f2['XMD-AMDBETWEENWORDSSILENCE']=_0x395213[_0x02ca('0x17b')]||0x32;_0x1322f2[_0x02ca('0x17c')]=_0x395213[_0x02ca('0x17d')]||0x3;_0x1322f2[_0x02ca('0x17e')]=_0x395213[_0x02ca('0x17f')]||0x100;_0x1322f2['XMD-AMDMAXIMUMWORDLENGTH']=_0x395213[_0x02ca('0x180')]||0x1388;}if(_0x395213[_0x02ca('0x54')]==='outbound'){_0x1322f2[_0x02ca('0x181')]=_0x349304['VoiceQueueId'];}else{_0x1322f2[_0x02ca('0x182')]=_0x349304['CampaignId'];}for(var _0xce6654 in _0x349304['Contact']){if(_0x349304['Contact'][_0x02ca('0xae')](_0xce6654)){if(isNotNull(_0x349304[_0x02ca('0x16c')][_0xce6654])&&_0xce6654!=='id'&&_0xce6654!==_0x02ca('0x183')&&_0xce6654!==_0x02ca('0x184')&&_0xce6654!=='updatedAt'){_0x1322f2[util[_0x02ca('0x7a')](_0x02ca('0x185'),'XMD-',_['toUpper'](_0xce6654))]=_0x349304[_0x02ca('0x16c')][_0xce6654];}}}var _0x3587a7=_0x342f25[_0x02ca('0x13b')](_0x395213[_0x02ca('0x78')])?getCallerId(_0x395213['Trunk']['callerid'],_0x395213['dialOriginateCallerIdName'],_0x395213[_0x02ca('0x186')]>0x0?getCallerIdRandom(_0x395213[_0x02ca('0x61')],_0x395213['dialRandomLastDigitCallerIdNumber']):_0x395213['dialOriginateCallerIdNumber']):getCallerId(_['isNil'](_0x395213['TrunkBackup'])?_0x395213[_0x02ca('0x78')][_0x02ca('0x79')]:_0x395213[_0x02ca('0x13c')]['callerid'],_0x395213[_0x02ca('0x60')],_0x395213[_0x02ca('0x186')]>0x0?getCallerIdRandom(_0x395213[_0x02ca('0x61')],_0x395213[_0x02ca('0x186')]):_0x395213[_0x02ca('0x61')]);if(_0x3587a7){_0x1322f2[_0x02ca('0x187')]=_0x342f25[_0x02ca('0x2d')][_0x12f4ed][_0x02ca('0x188')]=extractCalleridName(_0x3587a7);_0x1322f2[_0x02ca('0x189')]=_0x342f25[_0x02ca('0x2d')][_0x12f4ed][_0x02ca('0x18a')]=extractCalleridNumber(_0x3587a7);}return ami[_0x02ca('0x149')]({'actionid':_0x12f4ed,'action':_0x02ca('0x16a'),'channel':_0x342f25[_0x02ca('0x13b')](_0x395213['Trunk'])?util['format'](_0x02ca('0x18b'),_0x395213[_0x02ca('0x78')][_0x02ca('0x48')],isNotNull(_0x395213[_0x02ca('0x62')])?_0x395213[_0x02ca('0x62')][_0x02ca('0x18c')]()||'':'',_0x395213[_0x02ca('0x18d')]>0x0?_0x349304['Contact']['phone'][_0x02ca('0x18e')](_0x395213[_0x02ca('0x18d')]):_0x349304[_0x02ca('0x16c')]['phone']):util[_0x02ca('0x7a')]('SIP/%s/%s%s',_[_0x02ca('0xaf')](_0x395213[_0x02ca('0x13c')])?_0x395213['Trunk'][_0x02ca('0x48')]:_0x395213[_0x02ca('0x13c')][_0x02ca('0x48')],isNotNull(_0x395213[_0x02ca('0x62')])?_0x395213['dialPrefix'][_0x02ca('0x18c')]()||'':'',_0x395213[_0x02ca('0x18d')]>0x0?_0x349304[_0x02ca('0x16c')][_0x02ca('0x16d')][_0x02ca('0x18e')](_0x395213[_0x02ca('0x18d')]):_0x349304['Contact']['phone']),'callerid':_0x3587a7,'Exten':'xcally-motion-dialer','Context':_0x02ca('0x18f'),'Priority':'1','variable':_0x1322f2,'timeout':(_0x395213[_0x02ca('0x190')]||0x1e)*0x3e8,'async':!![],'channelid':_0x12f4ed})[_0x02ca('0xbb')](function(_0x31f8ec){return _0x13eede(_0x31f8ec);})[_0x02ca('0xb2')](function(_0x2709c4){_0x395213[_0x02ca('0x68')]+=0x1;var _0x1b147d=new History(_0x342f25[_0x02ca('0x2d')][_0x12f4ed]);logger['error'](util[_0x02ca('0x7a')](_0x02ca('0x191'),JSON['stringify'](_0x2709c4)));_0x1b147d[_0x02ca('0xe3')]=0xe;_0x1b147d[_0x02ca('0xe4')]=_0x02ca('0x192');_0x1b147d[_0x02ca('0xab')]=moment()[_0x02ca('0x7a')]('YYYY-MM-DD\x20HH:mm:ss');_0x1b147d[_0x02ca('0xaa')]=_0x1b147d[_0x02ca('0xab')];_0x342f25[_0x02ca('0xc9')](_0x1b147d)['catch'](loggerCatch('[originate][error]'));_0x342f25[_0x02ca('0xc7')](_0x1b147d)[_0x02ca('0xb2')](loggerCatch('[originate][error]'))[_0x02ca('0x24')](function(){delete _0x342f25[_0x02ca('0x2d')][_0x12f4ed];return _0x10d3bd(msgResponse(_0x02ca('0x16a'),_0x02ca('0x51'),_0x02ca('0x193')));});});});};Dialer[_0x02ca('0x21')][_0x02ca('0x3a')]=function(_0x31e3a6){var _0x543014=this[_0x02ca('0x2d')][_0x31e3a6[_0x02ca('0x120')]];var _0x281425=this;if(_0x543014){delete this[_0x02ca('0x2d')][_0x31e3a6[_0x02ca('0x120')]];_0x543014['responsetime']=moment()[_0x02ca('0x7a')](_0x02ca('0x103'));var _0x34fad3=_0x543014[_0x02ca('0x54')]===_0x02ca('0x7c')?this[_0x02ca('0x28')][_0x543014[_0x02ca('0xb4')]]:this[_0x02ca('0x27')][_0x543014['getQueue']()];if(!this[_0x02ca('0xd6')](_0x31e3a6[_0x02ca('0x194')])){this[_0x02ca('0xca')](_0x34fad3);return this[_0x02ca('0x195')](_0x543014,_0x34fad3,_0x31e3a6)[_0x02ca('0xbb')](function(_0x34b16c){})['catch'](loggerCatch('[callProgressDetecting]\x20'));}else{this[_0x02ca('0x2f')][_0x31e3a6['uniqueid']]=_0x543014;}}};Dialer[_0x02ca('0x21')][_0x02ca('0x196')]=function(_0x544dc9,_0x14410e,_0x3cb5c0){var _0x419aa0=new History(_0x14410e);if(_0x419aa0['countbusyretry']+_0x419aa0[_0x02ca('0xef')]+_0x419aa0[_0x02ca('0xf0')]+_0x419aa0[_0x02ca('0xf1')]+_0x419aa0[_0x02ca('0xf2')]+_0x419aa0[_0x02ca('0xf3')]+_0x419aa0['countmachineretry']+_0x419aa0['countagentrejectretry']>=_0x3cb5c0[_0x02ca('0xf5')]-0x1){return!![];}switch(_0x544dc9){case 0x3:if(_0x419aa0['countnoanswerretry']>=_0x3cb5c0[_0x02ca('0x197')]-0x1){return!![];}else{this['rescheduleContact']({'active':![],'countnoanswerretry':_0x419aa0[_0x02ca('0xf0')]+=0x1,'scheduledat':moment()[_0x02ca('0xf9')](_0x3cb5c0[_0x02ca('0x198')],_0x02ca('0xfa'))[_0x02ca('0x7a')](_0x02ca('0x103')),'ContactId':_0x419aa0['ContactId'],'ListId':_0x419aa0[_0x02ca('0xd1')],'VoiceQueueId':_0x419aa0[_0x02ca('0xfb')]||undefined,'CampaignId':_0x419aa0[_0x02ca('0xd3')]||undefined})[_0x02ca('0xb2')](loggerCatch(_0x02ca('0x199')));}break;case 0x5:if(_0x419aa0[_0x02ca('0x100')]>=_0x3cb5c0[_0x02ca('0x19a')]-0x1){return!![];}else{this[_0x02ca('0xc0')]({'active':![],'countbusyretry':_0x419aa0[_0x02ca('0x100')]+=0x1,'scheduledat':moment()[_0x02ca('0xf9')](_0x3cb5c0[_0x02ca('0x19b')],_0x02ca('0xfa'))[_0x02ca('0x7a')](_0x02ca('0x103')),'ContactId':_0x419aa0[_0x02ca('0xd0')],'ListId':_0x419aa0['ListId'],'VoiceQueueId':_0x419aa0[_0x02ca('0xfb')]||undefined,'CampaignId':_0x419aa0['CampaignId']||undefined})['catch'](loggerCatch(_0x02ca('0x19c')));}break;case 0x8:if(_0x419aa0[_0x02ca('0xef')]>=_0x3cb5c0[_0x02ca('0x19d')]-0x1){return!![];}else{this[_0x02ca('0xc0')]({'active':![],'countcongestionretry':_0x419aa0[_0x02ca('0xef')]+=0x1,'scheduledat':moment()[_0x02ca('0xf9')](_0x3cb5c0['dialCongestionRetryFrequency'],'minutes')[_0x02ca('0x7a')](_0x02ca('0x103')),'ContactId':_0x419aa0[_0x02ca('0xd0')],'ListId':_0x419aa0[_0x02ca('0xd1')],'VoiceQueueId':_0x419aa0[_0x02ca('0xfb')]||undefined,'CampaignId':_0x419aa0['CampaignId']||undefined})[_0x02ca('0xb2')](loggerCatch('[rescheduleContact]\x20[Congestion]'));}break;case 0x0:if(_0x419aa0[_0x02ca('0xf1')]>=_0x3cb5c0[_0x02ca('0x19e')]-0x1){return!![];}else{this['rescheduleContact']({'active':![],'countnosuchnumberretry':_0x419aa0['countnosuchnumberretry']+=0x1,'scheduledat':moment()['add'](_0x3cb5c0[_0x02ca('0x19f')],_0x02ca('0xfa'))[_0x02ca('0x7a')](_0x02ca('0x103')),'ContactId':_0x419aa0[_0x02ca('0xd0')],'ListId':_0x419aa0[_0x02ca('0xd1')],'VoiceQueueId':_0x419aa0['VoiceQueueId']||undefined,'CampaignId':_0x419aa0[_0x02ca('0xd3')]||undefined})['catch'](loggerCatch('[rescheduleContact][NoSuchNumber]'));}break;case 0xa:if(_0x419aa0['countdropretry']>=_0x3cb5c0[_0x02ca('0x114')]-0x1){return!![];}else{this['rescheduleContact']({'active':![],'countdropretry':_0x419aa0['countdropretry']+=0x1,'scheduledat':moment()[_0x02ca('0xf9')](_0x3cb5c0[_0x02ca('0x116')],'minutes')[_0x02ca('0x7a')]('YYYY-MM-DD\x20HH:mm:ss'),'ContactId':_0x419aa0[_0x02ca('0xd0')],'ListId':_0x419aa0[_0x02ca('0xd1')],'VoiceQueueId':_0x419aa0[_0x02ca('0xfb')]||undefined,'CampaignId':_0x419aa0[_0x02ca('0xd3')]||undefined})[_0x02ca('0xb2')](loggerCatch(_0x02ca('0x1a0')));}break;case 0xb:if(_0x419aa0['countabandonedretry']>=_0x3cb5c0[_0x02ca('0x11d')]-0x1){return!![];}else{this[_0x02ca('0xc0')]({'active':![],'countabandonedretry':_0x419aa0[_0x02ca('0xf3')]+=0x1,'scheduledat':moment()['add'](_0x3cb5c0[_0x02ca('0x11e')],_0x02ca('0xfa'))['format']('YYYY-MM-DD\x20HH:mm:ss'),'ContactId':_0x419aa0[_0x02ca('0xd0')],'ListId':_0x419aa0[_0x02ca('0xd1')],'VoiceQueueId':_0x419aa0[_0x02ca('0xfb')]||undefined,'CampaignId':_0x419aa0[_0x02ca('0xd3')]||undefined})['catch'](loggerCatch(_0x02ca('0x11f')));}break;case 0x13:if(_0x419aa0['countmachineretry']>=_0x3cb5c0[_0x02ca('0xf7')]-0x1){return!![];}else{this[_0x02ca('0xc0')]({'active':![],'countmachineretry':_0x419aa0[_0x02ca('0xeb')]+=0x1,'scheduledat':moment()['add'](_0x3cb5c0[_0x02ca('0x1a1')],_0x02ca('0xfa'))[_0x02ca('0x7a')]('YYYY-MM-DD\x20HH:mm:ss'),'ContactId':_0x419aa0['ContactId'],'ListId':_0x419aa0[_0x02ca('0xd1')],'VoiceQueueId':_0x419aa0['VoiceQueueId']||undefined,'CampaignId':_0x419aa0[_0x02ca('0xd3')]||undefined})['catch'](loggerCatch(_0x02ca('0xfc')));}break;case 0x14:if(_0x419aa0[_0x02ca('0xf4')]>=_0x3cb5c0['dialAgentRejectMaxRetry']-0x1){return!![];}else{this[_0x02ca('0xc0')]({'active':![],'countagentrejectretry':_0x419aa0[_0x02ca('0xf4')]+=0x1,'scheduledat':moment()[_0x02ca('0xf9')](_0x3cb5c0[_0x02ca('0x1a2')],'minutes')[_0x02ca('0x7a')](_0x02ca('0x103')),'ContactId':_0x419aa0['ContactId'],'ListId':_0x419aa0[_0x02ca('0xd1')],'VoiceQueueId':_0x419aa0[_0x02ca('0xfb')]||undefined,'CampaignId':_0x419aa0[_0x02ca('0xd3')]||undefined})[_0x02ca('0xb2')](loggerCatch(_0x02ca('0x1a3')));}break;default:return!![];}};Dialer[_0x02ca('0x21')][_0x02ca('0x195')]=function(_0x2dfded,_0x323a2e,_0xcc4774){var _0x1bb81e=this;var _0x5e2223=new History(_0x2dfded);return new BPromise(function(_0x335c62,_0x45990b){if(_[_0x02ca('0x86')](_0x323a2e)&&_0x02ca('0x169')!==typeof _0x323a2e){return _0x45990b(msgResponse(_0x02ca('0x1a4'),_0x02ca('0x142'),'entity\x20is\x20undefine'));}if(_[_0x02ca('0x86')](_0xcc4774)&&_0x02ca('0x169')!==typeof _0xcc4774){return _0x45990b(msgResponse(_0x02ca('0x1a4'),'Failure',_0x02ca('0x1a5')));}switch(_0xcc4774[_0x02ca('0x10c')]){case'0':_0x323a2e['outboundNoSuchCallsDay']+=0x1;_0x5e2223[_0x02ca('0xe3')]=0x0;_0x5e2223['statedesc']=_0x02ca('0x1a6');_0x5e2223[_0x02ca('0xf1')]+=0x1;_0x5e2223[_0x02ca('0xec')]+=0x1;_0x1bb81e[_0x02ca('0xc9')](_0x5e2223)['catch'](loggerCatch('[syncAgentComplete][createHistory][0]'));if(_0x1bb81e[_0x02ca('0x196')](0x0,_0x2dfded,_0x323a2e)){if(_0x5e2223[_0x02ca('0xf1')]>=_0x323a2e[_0x02ca('0x19e')]){_0x1bb81e[_0x02ca('0x102')](_0x5e2223,_0x335c62,_0x45990b,'reason\x200\x20no\x20such\x20number....');}else{_0x1bb81e[_0x02ca('0x101')](_0x5e2223,_0x335c62,_0x45990b,_0x02ca('0x1a7'));}}break;case'3':_0x323a2e[_0x02ca('0x67')]+=0x1;_0x5e2223[_0x02ca('0xe3')]=0x3;_0x5e2223[_0x02ca('0xe4')]=_0x02ca('0x1a8');_0x5e2223[_0x02ca('0xf0')]+=0x1;_0x5e2223[_0x02ca('0xec')]+=0x1;_0x1bb81e[_0x02ca('0xc9')](_0x5e2223)['catch'](loggerCatch(_0x02ca('0x1a9')));if(_0x1bb81e[_0x02ca('0x196')](0x3,_0x2dfded,_0x323a2e)){if(_0x5e2223[_0x02ca('0xf0')]>=_0x323a2e[_0x02ca('0x197')]){_0x1bb81e[_0x02ca('0x102')](_0x5e2223,_0x335c62,_0x45990b,_0x02ca('0x1aa'));}else{_0x1bb81e['stateGlobal'](_0x5e2223,_0x335c62,_0x45990b,_0x02ca('0x1aa'));}}break;case'5':_0x323a2e[_0x02ca('0x64')]+=0x1;_0x5e2223['state']=0x5;_0x5e2223[_0x02ca('0xe4')]=_0x02ca('0x1ab');_0x5e2223[_0x02ca('0x100')]+=0x1;_0x5e2223[_0x02ca('0xec')]+=0x1;_0x1bb81e[_0x02ca('0xc9')](_0x5e2223)[_0x02ca('0xb2')](loggerCatch('[syncAgentComplete][createHistory][5]'));if(_0x1bb81e[_0x02ca('0x196')](0x5,_0x2dfded,_0x323a2e)){if(_0x5e2223[_0x02ca('0x100')]>=_0x323a2e['dialBusyMaxRetry']){_0x1bb81e[_0x02ca('0x102')](_0x5e2223,_0x335c62,_0x45990b,'reason\x205\x20busy');}else{_0x1bb81e[_0x02ca('0x101')](_0x5e2223,_0x335c62,_0x45990b,'reason\x205\x20busy');}}break;case'8':_0x323a2e['outboundCongestionCallsDay']+=0x1;_0x5e2223['state']=0x8;_0x5e2223['statedesc']=_0x02ca('0x1ac');_0x5e2223[_0x02ca('0xef')]+=0x1;_0x5e2223[_0x02ca('0xec')]+=0x1;_0x1bb81e[_0x02ca('0xc9')](_0x5e2223)[_0x02ca('0xb2')](loggerCatch('[syncAgentComplete][createHistory][8]'));if(_0x1bb81e[_0x02ca('0x196')](0x8,_0x2dfded,_0x323a2e)){if(_0x5e2223[_0x02ca('0xef')]>=_0x323a2e['dialCongestionMaxRetry']){_0x1bb81e[_0x02ca('0x102')](_0x5e2223,_0x335c62,_0x45990b,'reason\x208\x20congestion');}else{_0x1bb81e[_0x02ca('0x101')](_0x5e2223,_0x335c62,_0x45990b,_0x02ca('0x1ad'));}}break;case'11':_0x323a2e[_0x02ca('0x1ae')]+=0x1;_0x5e2223['state']=0xb;_0x5e2223[_0x02ca('0xe4')]=_0x02ca('0x11b');_0x5e2223['countabandonedretry']+=0x1;_0x5e2223['countglobal']+=0x1;_0x1bb81e[_0x02ca('0xc9')](_0x5e2223)[_0x02ca('0xb2')](loggerCatch(_0x02ca('0x1af')));if(_0x1bb81e['checkRetriveMax'](0xb,_0x2dfded,_0x323a2e)){if(_0x5e2223[_0x02ca('0xf3')]>=_0x323a2e[_0x02ca('0x11d')]){_0x1bb81e[_0x02ca('0x102')](_0x5e2223,_0x335c62,_0x45990b,_0x02ca('0x1b0'));}else{_0x1bb81e[_0x02ca('0x101')](_0x5e2223,_0x335c62,_0x45990b,_0x02ca('0x1b0'));}}break;case'20':_0x323a2e['outboundRejectCallsDay']+=0x1;_0x5e2223[_0x02ca('0xe3')]=0x14;_0x5e2223[_0x02ca('0xe4')]=_0x02ca('0x1b1');_0x5e2223[_0x02ca('0xf4')]+=0x1;_0x5e2223[_0x02ca('0xec')]+=0x1;_0x1bb81e['createHistory'](_0x5e2223)[_0x02ca('0xb2')](loggerCatch(_0x02ca('0x1b2')));if(_0x1bb81e['checkRetriveMax'](0x14,_0x2dfded,_0x323a2e)){if(_0x5e2223[_0x02ca('0xf4')]>=_0x323a2e[_0x02ca('0x1b3')]){_0x1bb81e[_0x02ca('0x102')](_0x5e2223,_0x335c62,_0x45990b,_0x02ca('0x1b4'));}else{_0x1bb81e[_0x02ca('0x101')](_0x5e2223,_0x335c62,_0x45990b,_0x02ca('0x1b4'));}}break;default:_0x323a2e[_0x02ca('0x6b')]+=0x1;_0x5e2223[_0x02ca('0xe3')]=0xc;_0x5e2223[_0x02ca('0xe4')]=_0xcc4774[_0x02ca('0x10c')];_0x1bb81e[_0x02ca('0xc9')](_0x5e2223)['catch'](loggerCatch('[syncAgentComplete][createHistory][?]'));if(_0x1bb81e[_0x02ca('0x196')](_0xcc4774[_0x02ca('0x10c')],_0x2dfded,_0x323a2e)){if(_0x5e2223[_0x02ca('0x100')]+_0x5e2223['countcongestionretry']+_0x5e2223[_0x02ca('0xf0')]+_0x5e2223[_0x02ca('0xf1')]+_0x5e2223['countdropretry']+_0x5e2223[_0x02ca('0xf3')]+_0x5e2223['countmachineretry']+_0x5e2223[_0x02ca('0xf4')]>=_0x323a2e[_0x02ca('0xf5')]){_0x1bb81e[_0x02ca('0x101')](_0x5e2223,_0x335c62,_0x45990b,_0xcc4774[_0x02ca('0x10c')]);}else{_0x1bb81e[_0x02ca('0x102')](_0x5e2223,_0x335c62,_0x45990b,_0xcc4774[_0x02ca('0x10c')]);}}}});};Dialer[_0x02ca('0x21')][_0x02ca('0x101')]=function(_0xe73119,_0x2c241e,_0x301915,_0x74490a){var _0x2dbe1e=new Final(_0xe73119);_0x2dbe1e[_0x02ca('0xe3')]=0xf;_0x2dbe1e['statedesc']=_0x02ca('0x1b5');this[_0x02ca('0x102')](_0x2dbe1e,_0x2c241e,_0x301915,_0x74490a);};Dialer[_0x02ca('0x21')][_0x02ca('0x102')]=function(_0x19e027,_0x4f6251,_0x88aef2,_0x1def33){this[_0x02ca('0xc7')](_0x19e027)[_0x02ca('0xbb')](function(_0x3ab791){return _0x4f6251(msgResponse(_0x02ca('0x1a4'),_0x02ca('0xd7'),_0x1def33));})[_0x02ca('0xb2')](function(_0x25a3a3){return _0x88aef2(msgResponse(_0x02ca('0x1b6'),_0x02ca('0x142'),_0x02ca('0x1b7')));});};Dialer[_0x02ca('0x21')][_0x02ca('0x159')]=function(_0x3c5a63){var _0x1ff2c4=this;var _0x276814=_0x3c5a63[_0x02ca('0x1b8')]/0x64;var _0x5aa43e=_0x3c5a63[_0x02ca('0x66')]/(_0x3c5a63[_0x02ca('0x66')]+_0x3c5a63[_0x02ca('0xe2')]);var _0x5cd805=Math[_0x02ca('0x1b9')](_0x3c5a63[_0x02ca('0x74')]*(_0x3c5a63[_0x02ca('0x1ba')]/0x64));var _0x59a700=Math['round'](_0x3c5a63[_0x02ca('0x74')]*(_0x3c5a63[_0x02ca('0x1bb')]/0x64));var _0x47dad4=_0x3c5a63['available']+_0x3c5a63[_0x02ca('0x5b')];var _0x3b27ad=Math[_0x02ca('0x1bc')](_0x3c5a63[_0x02ca('0x8c')]*_0x3c5a63[_0x02ca('0x8f')]*_0x3c5a63[_0x02ca('0x1bd')]*_0x3c5a63[_0x02ca('0x73')]);if(_['isUndefined'](_0x3c5a63[_0x02ca('0x31')])){if(!_[_0x02ca('0x86')](_0x3c5a63['startPredictive'])){_0x3c5a63[_0x02ca('0x30')]=undefined;loggerPredictive[_0x02ca('0x9a')](_0x02ca('0x1be'),_0x02ca('0x1bf'));}if(!_[_0x02ca('0x86')](_0x3c5a63[_0x02ca('0x95')])){loggerPredictive[_0x02ca('0x9a')](_0x02ca('0x1be'),_0x02ca('0x1c0'));clearInterval(_0x3c5a63[_0x02ca('0x95')]);_0x3c5a63[_0x02ca('0x95')]=undefined;}_0x3c5a63[_0x02ca('0x31')]=moment()[_0x02ca('0x7a')](_0x02ca('0x103'));loggerPredictive['info'](_0x3c5a63['name'],_0x02ca('0x1c1'),_0x3c5a63['startProgressive']);this[_0x02ca('0x158')](_0x3c5a63,0x1);}else if(ifInterval(_0x3c5a63[_0x02ca('0x1c2')],_0x3c5a63[_0x02ca('0x31')])){this[_0x02ca('0x158')](_0x3c5a63,0x1);loggerPredictiveCalls[_0x02ca('0x7f')](_0x02ca('0x1c3'),_0x3c5a63[_0x02ca('0x31')],_0x3c5a63['name']);_0x3c5a63['erlangCalls']=0x0;_0x3c5a63['predictiveIntervalErlangCallsDroppedCalls']=0x0;}else if(_0x276814<_0x5aa43e&&_0x3c5a63[_0x02ca('0x1c4')]==='dropRate'){freeVariablesPredictive(_0x3c5a63);loggerPredictive['info'](_0x02ca('0x1c5'),'Dropped\x20calls\x20day',_0x5aa43e,'startProgressive',_0x3c5a63[_0x02ca('0x48')]);}else if(_0x3b27ad<_0x3c5a63[_0x02ca('0x72')]&&_0x3c5a63[_0x02ca('0x1c4')]===_0x02ca('0x1c6')){freeVariablesPredictive(_0x3c5a63);loggerPredictive['info'](_0x02ca('0x1c7'),'Max\x20Drop\x20',_0x3b27ad,_0x02ca('0x1c8'),_0x3c5a63[_0x02ca('0x72')],_0x02ca('0x31'),_0x3c5a63[_0x02ca('0x48')]);}else if(!ifInterval(_0x3c5a63['dialPredictiveInterval'],_0x3c5a63['startProgressive'])&&_[_0x02ca('0x86')](_0x3c5a63[_0x02ca('0x30')])&&!_[_0x02ca('0x86')](_0x3c5a63['startProgressive'])){_0x3c5a63[_0x02ca('0x30')]=moment()[_0x02ca('0x7a')](_0x02ca('0x103'));loggerPredictive[_0x02ca('0x7f')](_0x3c5a63['name'],'started\x20in\x20predictive\x20at',_0x3c5a63[_0x02ca('0x30')]);this[_0x02ca('0x1c9')](_0x3c5a63[_0x02ca('0x1c2')])[_0x02ca('0xbb')](this[_0x02ca('0x1ca')](_0x3c5a63))[_0x02ca('0xbb')](mergeDataErlangB(_0x3c5a63))[_0x02ca('0xbb')](this[_0x02ca('0x1cb')](_0x3c5a63))['catch'](loggerCatchPredictive('Predictive\x20after\x20first\x20interval',_0x3c5a63));}else if(!ifInterval(_0x3c5a63[_0x02ca('0x1c2')],_0x3c5a63[_0x02ca('0x30')])){_0x3c5a63[_0x02ca('0x72')]=0x0;_0x3c5a63[_0x02ca('0x30')]=moment()[_0x02ca('0x7a')]('YYYY-MM-DD\x20HH:mm:ss');loggerPredictive[_0x02ca('0x7f')](_0x3c5a63['name'],'recalculate\x20predictive\x20at',_0x3c5a63[_0x02ca('0x30')]);clearInterval(_0x3c5a63['handlePredictive']);_0x3c5a63[_0x02ca('0x95')]=undefined;this['averageHandleTime'](_0x3c5a63[_0x02ca('0x1c2')])[_0x02ca('0xbb')](this[_0x02ca('0x1ca')](_0x3c5a63))[_0x02ca('0xbb')](mergeDataErlangB(_0x3c5a63))[_0x02ca('0xbb')](this[_0x02ca('0x1cb')](_0x3c5a63))['catch'](loggerCatchPredictive(_0x02ca('0x1cc'),_0x3c5a63));}else if(_0x3c5a63[_0x02ca('0x74')]&&_0x47dad4<_0x3c5a63[_0x02ca('0x74')]-_0x59a700){freeVariablesPredictive(_0x3c5a63);loggerPredictive['info'](_0x3c5a63[_0x02ca('0x48')],'switch\x20in\x20progressive\x20because\x20available\x20agents\x20(',_0x47dad4,_0x02ca('0x1cd'),_0x3c5a63[_0x02ca('0x74')],'-',_0x59a700,'=',_0x3c5a63['predictiveIntervalAvailable']-_0x59a700,')');}else if(_0x3c5a63['predictiveIntervalAvailable']&&_0x47dad4>_0x3c5a63[_0x02ca('0x74')]+_0x5cd805){freeVariablesPredictive(_0x3c5a63);loggerPredictive['info'](_0x3c5a63['name'],'switch\x20in\x20progressive\x20because\x20available\x20agents\x20(',_0x47dad4,_0x02ca('0x1ce'),_0x3c5a63[_0x02ca('0x74')],'+',_0x5cd805,'=',_0x3c5a63[_0x02ca('0x74')]+_0x5cd805,')');}};Dialer['prototype']['getDataPredictive']=function(_0x4d1c76){var _0x4f1715=this;return function(_0x3e27f5){return new BPromise(function(_0x2542d7,_0x2ebd42){_[_0x02ca('0x92')](_0x4d1c76,_0x3e27f5[0x0]);if(checkGetDataPredictive(_0x3e27f5[0x0])){var _0x17101f=_0x4d1c76[_0x02ca('0x74')]=_0x4d1c76[_0x02ca('0x5b')]+_0x4d1c76[_0x02ca('0xa4')];var _0x46e2d1=_0x4d1c76[_0x02ca('0x1c2')]*0x3c;var _0x52add6=_0x3e27f5[0x0]['predictiveIntervalAvgTalktime']+_0x3e27f5[0x0][_0x02ca('0x6d')];var _0x20c351=(_0x3e27f5[0x0][_0x02ca('0x6c')]+_0x3e27f5[0x0][_0x02ca('0x70')]+_0x3e27f5[0x0][_0x02ca('0x6f')])/_0x3e27f5[0x0]['predictiveIntervalTotalCalls'];_0x4d1c76[_0x02ca('0x1bd')]=_0x20c351>0x0?_0x20c351:0x1;switch(_0x4d1c76[_0x02ca('0x1c4')]){case _0x02ca('0x1c6'):var _0x25c927=_0x4d1c76[_0x02ca('0x1b8')]/0x64;return _0x4f1715[_0x02ca('0x1cf')](_0x17101f,_0x46e2d1,_0x52add6,_0x20c351,_0x25c927)[_0x02ca('0xbb')](function(_0x5d3321){return _0x2542d7(_0x5d3321);});case'agentBusyFactor':var _0x10d08b=_0x4d1c76[_0x02ca('0x1b8')]/0x64;return _0x4f1715[_0x02ca('0x1d0')](_0x17101f,_0x46e2d1,_0x52add6,_0x20c351,_0x10d08b)['then'](function(_0x144bbb){return _0x2542d7(_0x144bbb);});default:return _0x2ebd42(msgResponse('[getDataPredictive]',_0x02ca('0x142'),_0x02ca('0x1d1')));}}else{return _0x2ebd42(msgResponse(_0x02ca('0x1d2'),_0x02ca('0x142'),_0x02ca('0x1d3')));}});};};Dialer['prototype'][_0x02ca('0x1d4')]=function(_0x31b09d){var _0xc9a5f9=this;return function(_0x4cf6e2){return new BPromise(function(_0x3e0c2f,_0x53d329){_[_0x02ca('0x92')](_0x31b09d,_0x4cf6e2[0x0]);if(checkGetDataPredictive(_0x4cf6e2[0x0])){loggerPredictive[_0x02ca('0x7f')](JSON[_0x02ca('0x12b')](_0x4cf6e2[0x0]));if(_0x31b09d[_0x02ca('0x1c4')]===_0x02ca('0x1c6')){return _0xc9a5f9[_0x02ca('0xc6')](_0x31b09d['id'])[_0x02ca('0xbb')](function(_0x505593){var _0x5c2d72=_0x31b09d[_0x02ca('0x57')]-_0x505593[0x0]['outboundQueuePauses'];var _0x2edad7=_0x31b09d[_0x02ca('0x1c2')]*0x3c;var _0x9e8fbb=_0x4cf6e2[0x0][_0x02ca('0x6e')]+_0x4cf6e2[0x0][_0x02ca('0x6d')];var _0x4dc610=(_0x4cf6e2[0x0][_0x02ca('0x6c')]+_0x4cf6e2[0x0][_0x02ca('0x70')]+_0x4cf6e2[0x0]['predictiveIntervalDroppedCallsCallersExit'])/_0x4cf6e2[0x0]['predictiveIntervalTotalCalls'];var _0x2debb4=_0x31b09d['dialPredictiveOptimizationPercentage']/0x64;_0x31b09d[_0x02ca('0x1d5')]=_0x505593[0x0][_0x02ca('0x1d6')]||0x0;_0x31b09d['predictiveIntervalHitRate']=_0x4dc610>0x0?_0x4dc610:0x1;return _0xc9a5f9[_0x02ca('0x1cf')](_0x5c2d72,_0x2edad7,_0x9e8fbb,_0x4dc610,_0x2debb4);})[_0x02ca('0xbb')](function(_0x22b06c){return _0x3e0c2f(_0x22b06c);})['catch'](function(_0x55cffe){return _0x53d329(msgResponse(_0x02ca('0x1d7'),_0x02ca('0x142'),JSON[_0x02ca('0x12b')](_0x55cffe)));});}if(_0x31b09d[_0x02ca('0x1c4')]==='agentBusyFactor'){return _0xc9a5f9[_0x02ca('0xc6')](_0x31b09d['id'])[_0x02ca('0xbb')](function(_0x1e0efe){var _0x1ec2ee=_0x31b09d[_0x02ca('0x57')]-_0x1e0efe[0x0][_0x02ca('0x1d6')];var _0x37707d=_0x31b09d[_0x02ca('0x1c2')]*0x3c;var _0x20b62c=_0x4cf6e2[0x0][_0x02ca('0x6e')]+_0x4cf6e2[0x0][_0x02ca('0x6d')];var _0x3aeb94=(_0x4cf6e2[0x0]['predictiveIntervalAnsweredCalls']+_0x4cf6e2[0x0][_0x02ca('0x70')]+_0x4cf6e2[0x0]['predictiveIntervalDroppedCallsCallersExit'])/_0x4cf6e2[0x0][_0x02ca('0x75')];var _0x2e318e=_0x31b09d[_0x02ca('0x1b8')]/0x64;_0x31b09d[_0x02ca('0x1d5')]=_0x1e0efe[0x0][_0x02ca('0x1d6')]||0x0;_0x31b09d['predictiveIntervalHitRate']=_0x3aeb94>0x0?_0x3aeb94:0x1;return _0xc9a5f9['busyFactor'](_0x1ec2ee,_0x37707d,_0x20b62c,_0x3aeb94,_0x2e318e);})[_0x02ca('0xbb')](function(_0x41ed7e){return _0x3e0c2f(_0x41ed7e);})['catch'](function(_0x182665){return _0x53d329(msgResponse(_0x02ca('0x1d7'),_0x02ca('0x142'),JSON[_0x02ca('0x12b')](_0x182665)));});}}else{return _0x53d329(msgResponse(_0x02ca('0x1d2'),_0x02ca('0x142'),_0x02ca('0x1d3')));}});};};Dialer['prototype'][_0x02ca('0x1cb')]=function(_0x440380){var _0x49b7de=this;return function(){var _0x2a78a2=0x0;var _0x2bd7af=Math[_0x02ca('0x1bc')](_0x440380[_0x02ca('0x1d8')]*0x3e8);if(_0x2bd7af>0x0){_0x2bd7af=_0x2bd7af<0x64?0x64:_0x2bd7af;loggerPredictive[_0x02ca('0x7f')](_0x440380[_0x02ca('0x48')],_0x02ca('0x1d9'),_0x2bd7af,'milliseconds');_0x440380[_0x02ca('0x95')]=setInterval(function(){_0x49b7de[_0x02ca('0x95')](_0x440380);loggerPredictiveCalls['info'](_0x02ca('0x1da'),_0x2a78a2+=0x1);},_0x2bd7af);}else{loggerPredictive[_0x02ca('0x7f')](_0x440380[_0x02ca('0x48')],_0x02ca('0x1db'));}};};Dialer[_0x02ca('0x21')]['checkContactBlack']=function(_0x21e492,_0x27e937){var _0x152703=this;return function(_0x1e3dac){if(_[_0x02ca('0x4f')](_0x1e3dac)){if(_[_0x02ca('0xaf')](_0x27e937[_0x02ca('0xd2')])||!_0x27e937[_0x02ca('0x1dc')]){if(_0x21e492[_0x02ca('0x5f')]===_0x02ca('0x9')){_0x21e492[_0x02ca('0x128')]=_[_0x02ca('0x86')](_0x21e492[_0x02ca('0x128')])?!![]:_0x21e492[_0x02ca('0x128')];var _0x3613ae=uuid['v4']();_0x152703['actions'][_0x3613ae]=new Action(_0x21e492,_0x27e937,_0x3613ae);loggerBooked[_0x02ca('0x7f')](_0x02ca('0x1dd'),_0x3613ae,_0x02ca('0x1de'),JSON[_0x02ca('0x12b')](_0x21e492['queueStatusComplete']),_0x02ca('0x1df'),_0x21e492[_0x02ca('0x48')]);if(_0x21e492['queueStatusComplete']){_0x21e492[_0x02ca('0x128')]=![];_0x152703[_0x02ca('0x33')][_0x152703[_0x02ca('0x2d')][_0x3613ae][_0x02ca('0xb4')]]=[];ami[_0x02ca('0x149')]({'actionid':_0x3613ae,'action':_0x02ca('0x1e0'),'queue':_0x21e492[_0x02ca('0x48')]})[_0x02ca('0xb2')](function(_0x16de65){_0x152703[_0x02ca('0xca')](_0x21e492);_0x152703[_0x02ca('0xc0')]({'active':![],'ContactId':_0x152703[_0x02ca('0x2d')][_0x3613ae][_0x02ca('0xd0')],'ListId':_0x152703['actions'][_0x3613ae][_0x02ca('0xd1')],'VoiceQueueId':_0x152703[_0x02ca('0x2d')][_0x3613ae][_0x02ca('0xfb')]||undefined,'CampaignId':_0x152703[_0x02ca('0x2d')][_0x3613ae]['CampaignId']||undefined})[_0x02ca('0xb2')](loggerCatch(_0x02ca('0x1e1')));delete _0x152703[_0x02ca('0x2d')][_0x3613ae];});}else{loggerBooked[_0x02ca('0x7f')](_0x02ca('0x1e2'),JSON[_0x02ca('0x12b')](_0x21e492[_0x02ca('0x128')]),'Queue:\x20',_0x21e492[_0x02ca('0x48')]);_0x152703['updateOriginated'](_0x21e492);_0x152703['rescheduleContact']({'active':![],'ContactId':_0x152703[_0x02ca('0x2d')][_0x3613ae][_0x02ca('0xd0')],'ListId':_0x152703['actions'][_0x3613ae]['ListId'],'VoiceQueueId':_0x152703['actions'][_0x3613ae][_0x02ca('0xfb')]||undefined,'CampaignId':_0x152703['actions'][_0x3613ae][_0x02ca('0xd3')]||undefined})['catch'](loggerCatch('[unlockOriginate][syncQueueStatusComplete]'));delete _0x152703[_0x02ca('0x2d')][_0x3613ae];}}else{return _0x152703['actionOriginate'](_0x21e492,_0x27e937);}}else{if(getDiff(_0x27e937['scheduledat'])<_0x21e492[_0x02ca('0x1e3')]*0x3c){if(_0x27e937[_0x02ca('0x1e4')]&&!_0x27e937[_0x02ca('0x1e4')]['voicePause']){_0x152703['preview'][_0x02ca('0x12d')](_0x27e937['id'])[_0x02ca('0x24')](function(){_0x152703[_0x02ca('0xca')](_0x21e492);});}else{_0x152703[_0x02ca('0xc1')]({'active':![]},_0x27e937['id'],0x1)[_0x02ca('0x24')](function(){console[_0x02ca('0x1e5')]('Contact\x20updated');_0x152703['updateOriginated'](_0x21e492);});}}else{_0x21e492['outboundReCallsDay']+=0x1;_0x152703[_0x02ca('0xca')](_0x21e492);if(_0x21e492[_0x02ca('0x1e6')]){_0x152703[_0x02ca('0xc0')]({'active':![],'recallme':![],'UserId':null,'ContactId':_0x27e937[_0x02ca('0xd0')],'ListId':_0x27e937[_0x02ca('0xd1')],'VoiceQueueId':_0x27e937[_0x02ca('0xfb')]||undefined,'CampaignId':_0x27e937[_0x02ca('0xd3')]||undefined})['catch'](loggerCatch(_0x02ca('0x1e7')));_0x152703[_0x02ca('0xc9')](createObjHistory(_0x21e492,_0x27e937,_0x02ca('0x1e8'),0x17,'RecallInQueue'))[_0x02ca('0xb2')](loggerCatch(_0x02ca('0x1e9')));}else{_0x152703[_0x02ca('0xcf')](createObjHistory(_0x21e492,_0x27e937,'RECALLFAILEDTIMEOUT',0x16,_0x02ca('0x1ea')),_0x02ca('0x1eb'),_0x02ca('0x1ec'));}}}}else{_0x21e492[_0x02ca('0x63')]+=0x1;_0x152703['saveInDb'](createObjHistory(_0x21e492,_0x27e937,_0x02ca('0x1ed'),0xd,_0x02ca('0x1ee')),_0x02ca('0x1ef'),_0x02ca('0x1f0'));throw _0x02ca('0x1f1');}};};Dialer['prototype'][_0x02ca('0x15d')]=function(_0x5a8a4e){var _0x621200=this;var _0xe46d41=[];var _0x25cdb8=_0x5a8a4e[_0x02ca('0x1f2')]-_0x5a8a4e[_0x02ca('0x76')]-_0x5a8a4e[_0x02ca('0x1f3')];emitCampaignSummary(_0x5a8a4e);if(_0x25cdb8>0x0){if(_0x25cdb8>this[_0x02ca('0x2b')]){_0x25cdb8=this['maxNumberOriginate'];}_0x5a8a4e[_0x02ca('0x1f3')]+=_0x25cdb8;this['getContactDialerIvr'](_0x5a8a4e['id'],_0x25cdb8,_0x5a8a4e['dialOrderByScheduledAt'])['then'](function(_0x18079c){_0x5a8a4e[_0x02ca('0x1f3')]-=_0x25cdb8;_0x5a8a4e[_0x02ca('0x1f3')]=_0x5a8a4e[_0x02ca('0x1f3')]>0x0?_0x5a8a4e[_0x02ca('0x1f3')]:0x0;if(!checkContactEmpty(_0x18079c)){_0x5a8a4e['message']=_0x02ca('0xa1');logger[_0x02ca('0x7f')](_0x02ca('0x1f4')+_0x5a8a4e['name']);}else{_0x5a8a4e[_0x02ca('0x76')]+=_0x18079c[_0x02ca('0x9d')];_0x5a8a4e[_0x02ca('0x46')]=_0x02ca('0x1f5');for(var _0x55f627=0x0;_0x55f627<_0x18079c[_0x02ca('0x9d')];_0x55f627+=0x1){_0x5a8a4e[_0x02ca('0x1f6')]+=0x1;if(_[_0x02ca('0xaf')](_0x18079c[_0x55f627])||_[_0x02ca('0xaf')](_0x18079c[_0x55f627][_0x02ca('0x16c')])||_['isNil'](_0x18079c[_0x55f627][_0x02ca('0x16c')]['phone'])){_0x621200[_0x02ca('0xce')]('[actionOriginate]\x20',_0x5a8a4e,_0x18079c[_0x55f627]);}else{_0x621200['checkIsBlackListIvr'](_[_0x02ca('0x126')](_0x18079c[_0x55f627],[_0x02ca('0xd3'),'Contact.phone']))[_0x02ca('0xbb')](_0x621200[_0x02ca('0x1f7')](_0x5a8a4e,_0x18079c[_0x55f627]))[_0x02ca('0xb2')](_0x621200[_0x02ca('0xcd')](_0x02ca('0x1f8'),_0x5a8a4e));}}}})['catch'](loggerGetContactDialer(_0x02ca('0x1f9'),_0x5a8a4e,_0x25cdb8));}};Dialer[_0x02ca('0x21')]['handlePower']=function(_0x342245,_0x5b2827){var _0x20f125=this;var _0x3507c1=[];var _0x4e7d1d=_0x5b2827>=0x1?_0x5b2827:0x1;var _0x23abaa=[];if(_0x342245[_0x02ca('0x5f')]===_0x02ca('0x9')){_0x4e7d1d=0x1;}var _0x1ac7fe=Math['floor'](_0x342245[_0x02ca('0xa4')]*_0x4e7d1d)-_0x342245['originated']-_0x342245[_0x02ca('0x1f3')];emitVoiceQueueSummary(_0x342245);if(_0x342245['dialLimitQueue']>0x0){var _0x3398ae=_0x342245['dialLimitQueue']-_0x342245[_0x02ca('0x76')]-_0x342245['talking']-_0x342245[_0x02ca('0x1f3')]-_0x342245['pTalking'];if(_0x1ac7fe>_0x3398ae){_0x1ac7fe=_0x3398ae;}}if(_0x1ac7fe>0x0){if(_0x342245[_0x02ca('0x5f')]===_0x02ca('0x9')){_0x1ac7fe=0x1;}if(_0x1ac7fe>this[_0x02ca('0x2b')]){_0x1ac7fe=this[_0x02ca('0x2b')];}_0x342245[_0x02ca('0x1f3')]+=_0x1ac7fe;for(var _0x116816 in this[_0x02ca('0x29')]){if(this[_0x02ca('0x29')][_0x02ca('0xae')](_0x116816)){if(this['agents'][_0x116816]['state']==='not_inuse'&&this[_0x02ca('0x29')][_0x116816][_0x02ca('0xb0')]==='reachable'){_0x3507c1[_0x02ca('0x125')](this[_0x02ca('0x29')][_0x116816]['id']);}}}this[_0x02ca('0xc3')](_0x342245['id'],_0x3507c1,_0x1ac7fe,_0x342245[_0x02ca('0x1fa')])[_0x02ca('0xbb')](function(_0x4e582f){_0x342245[_0x02ca('0x1f3')]-=_0x1ac7fe;_0x342245[_0x02ca('0x1f3')]=_0x342245['temp']>0x0?_0x342245[_0x02ca('0x1f3')]:0x0;if(!checkContactEmpty(_0x4e582f)){_0x20f125[_0x02ca('0xb7')](_0x342245)[_0x02ca('0xbb')](sendMessageReschedule(_0x342245))[_0x02ca('0xb2')](loggerCatch(_0x02ca('0xb9')));}else{_0x342245['originated']+=_0x4e582f[_0x02ca('0x9d')];_0x342245[_0x02ca('0x46')]=_0x342245[_0x02ca('0x5f')]===_0x02ca('0x9')?'ACTIVE':_0x02ca('0x1f5');for(var _0x208efa=0x0;_0x208efa<_0x4e582f['length'];_0x208efa+=0x1){if(_[_0x02ca('0xaf')](_0x4e582f[_0x208efa])||_['isNil'](_0x4e582f[_0x208efa]['Contact'])||_[_0x02ca('0xaf')](_0x4e582f[_0x208efa]['Contact'][_0x02ca('0x16d')])){_0x20f125[_0x02ca('0xce')](_0x02ca('0x1fb'),_0x342245,_0x4e582f[_0x208efa]);}else{_0x20f125[_0x02ca('0xba')](_[_0x02ca('0x126')](_0x4e582f[_0x208efa],[_0x02ca('0xfb'),_0x02ca('0x1fc')]))[_0x02ca('0xbb')](_0x20f125['checkContactBlack'](_0x342245,_0x4e582f[_0x208efa]))['catch'](_0x20f125['loggerHandler'](_0x02ca('0x1fb'),_0x342245));}}}})['catch'](loggerGetContactDialer('[getContactDialer2]',_0x342245,_0x1ac7fe));}};Dialer[_0x02ca('0x21')]['handlePredictive']=function(_0x4fa515){var _0x57a114=this;if(_0x4fa515['dialLimitQueue']>0x0){var _0x3b8c05=_0x4fa515[_0x02ca('0x1fd')]-_0x4fa515[_0x02ca('0x76')]-_0x4fa515[_0x02ca('0x5b')];if(_0x3b8c05>0x0){this['tryOriginatePredictive'](_0x4fa515);}else{loggerPredictiveCalls['info'](_0x02ca('0x1fe'));}}else{this[_0x02ca('0x1ff')](_0x4fa515);}};Dialer[_0x02ca('0x21')][_0x02ca('0x1ff')]=function(_0x1335f9){var _0x4b2e5=this;var _0x21c5c8=[];_0x1335f9[_0x02ca('0x76')]+=0x1;for(var _0x3c91c in this['agents']){if(this[_0x02ca('0x29')]['hasOwnProperty'](_0x3c91c)){if(this[_0x02ca('0x29')][_0x3c91c][_0x02ca('0xe3')]==='not_inuse'&&this['agents'][_0x3c91c][_0x02ca('0xb0')]===_0x02ca('0x200')){_0x21c5c8[_0x02ca('0x125')](this[_0x02ca('0x29')][_0x3c91c]['id']);}}}this[_0x02ca('0xc3')](_0x1335f9['id'],_0x21c5c8,0x1,_0x1335f9[_0x02ca('0x1fa')])[_0x02ca('0xbb')](function(_0x573529){if(!checkContactEmpty(_0x573529)){checkContactLowerLimitOriginate(_0x1335f9,0x1,0x0);_0x4b2e5[_0x02ca('0xb7')](_0x1335f9)[_0x02ca('0xbb')](sendMessageReschedule(_0x1335f9))[_0x02ca('0xb2')](loggerCatch(_0x02ca('0xb9')));}else{_0x1335f9[_0x02ca('0x46')]=_0x02ca('0x1f5');if(_['isNil'](_0x573529[0x0])||_['isNil'](_0x573529[0x0][_0x02ca('0x16c')])||_['isNil'](_0x573529[0x0][_0x02ca('0x16c')][_0x02ca('0x16d')])){_0x4b2e5[_0x02ca('0xce')](_0x02ca('0x1fb'),_0x1335f9,_0x573529[0x0]);}else{_0x4b2e5[_0x02ca('0xba')](_[_0x02ca('0x126')](_0x573529[0x0],['VoiceQueueId','Contact.phone']))[_0x02ca('0xbb')](_0x4b2e5[_0x02ca('0x1f7')](_0x1335f9,_0x573529[0x0]))[_0x02ca('0xb2')](_0x4b2e5[_0x02ca('0xcd')](_0x02ca('0x201'),_0x1335f9));}}})[_0x02ca('0xb2')](loggerGetContactDialer(_0x02ca('0x202'),_0x1335f9,0x1));emitVoiceQueueSummary(_0x1335f9);};Dialer['prototype'][_0x02ca('0x1cf')]=function(_0x24a6c7,_0x32ea18,_0x286fbe,_0x404a65,_0x5ce265,_0x513edc){loggerPredictive[_0x02ca('0x7f')](_0x02ca('0x203'));loggerPredictive['info'](_0x02ca('0x204'),_0x24a6c7);loggerPredictive[_0x02ca('0x7f')](_0x02ca('0x205'),_0x32ea18);loggerPredictive[_0x02ca('0x7f')]('Ts:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20',_0x286fbe);loggerPredictive['info']('P:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20',_0x404a65);loggerPredictive['info'](_0x02ca('0x206'),_0x5ce265);loggerPredictive[_0x02ca('0x7f')](_0x02ca('0x91'));return new BPromise(function(_0x256d2c,_0x394a4b){if(_0x24a6c7<=0x0||isNaN(_0x24a6c7)){return _0x394a4b(msgResponse(_0x02ca('0x207'),_0x02ca('0x51'),_0x02ca('0x208')+_0x24a6c7));}if(_0x286fbe<=0x0||isNaN(_0x286fbe)){return _0x394a4b(msgResponse('[abandonmentRate]','Error',_0x02ca('0x209')+_0x286fbe));}if(_0x404a65<=0x0||isNaN(_0x404a65)){return _0x394a4b(msgResponse(_0x02ca('0x207'),_0x02ca('0x51'),_0x02ca('0x20a')+_0x404a65));}if(_0x32ea18<=0x0||isNaN(_0x32ea18)){return _0x394a4b(msgResponse(_0x02ca('0x207'),'Error',_0x02ca('0x20b')+_0x32ea18));}if(_0x5ce265<=0x0||isNaN(_0x5ce265)){return _0x394a4b(msgResponse(_0x02ca('0x207'),'Error',_0x02ca('0x20c')+_0x5ce265));}_0x513edc=_0x513edc||0x0;var _0x3d3e0f=0x1/_0x286fbe;var _0x1d70e6=0x0;var _0x2c9cad=0x0;var _0x24d2e7=0x0;var _0x5e19e3=0x0;for(var _0x181999=0x0;_0x24d2e7<_0x5ce265;_0x181999+=0x1){_0x2c9cad=_0x181999/_0x32ea18;_0x1d70e6=(_0x404a65*_0x2c9cad+_0x513edc)/_0x3d3e0f;_0x24d2e7=erlangb(_0x1d70e6,_0x24a6c7);_0x5e19e3=_0x1d70e6/_0x24a6c7*(0x1-erlangb(_0x1d70e6,_0x24a6c7));}return _0x256d2c({'erlangCalls':_0x181999,'erlangCallToSecond':_0x32ea18/_0x181999,'erlangAbandonmentRate':_0x24d2e7,'erlangBusyFactor':_0x5e19e3});});};Dialer[_0x02ca('0x21')][_0x02ca('0x1d0')]=function(_0x5912d9,_0x3575d2,_0x1bf7b2,_0x3f18f6,_0x223e3f,_0x1306aa){loggerPredictive[_0x02ca('0x7f')](_0x02ca('0x20d'));loggerPredictive[_0x02ca('0x7f')](_0x02ca('0x204'),_0x5912d9);loggerPredictive['info'](_0x02ca('0x205'),_0x3575d2);loggerPredictive[_0x02ca('0x7f')]('Ts:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20',_0x1bf7b2);loggerPredictive[_0x02ca('0x7f')](_0x02ca('0x20e'),_0x3f18f6);loggerPredictive['info'](_0x02ca('0x20f'),_0x223e3f);loggerPredictive['info'](_0x02ca('0x91'));return new BPromise(function(_0x1a6190,_0x2e5fe1){if(_0x5912d9<=0x0||isNaN(_0x5912d9)){return _0x2e5fe1(msgResponse('[busyFactor]',_0x02ca('0x51'),_0x02ca('0x208')+_0x5912d9));}if(_0x1bf7b2<=0x0||isNaN(_0x1bf7b2)){return _0x2e5fe1(msgResponse(_0x02ca('0x210'),_0x02ca('0x51'),'Ts\x20=\x20'+_0x1bf7b2));}if(_0x3f18f6<=0x0||isNaN(_0x3f18f6)){return _0x2e5fe1(msgResponse('[busyFactor]',_0x02ca('0x51'),_0x02ca('0x20a')+_0x3f18f6));}if(_0x3575d2<=0x0||isNaN(_0x3575d2)){return _0x2e5fe1(msgResponse(_0x02ca('0x210'),'Error',_0x02ca('0x20b')+_0x3575d2));}if(_0x223e3f<=0x0||isNaN(_0x223e3f)){return _0x2e5fe1(msgResponse(_0x02ca('0x210'),_0x02ca('0x51'),_0x02ca('0x211')+_0x223e3f));}_0x1306aa=_0x1306aa||0x0;var _0x150fbe=0x1/_0x1bf7b2;var _0x3a0405=0x0;var _0x1ed1b6=0x0;var _0x125a64=0x0;var _0x10c770=0x0;for(var _0x1e7e2e=0x0;_0x10c770<_0x223e3f;_0x1e7e2e+=0x1){_0x1ed1b6=_0x1e7e2e/_0x3575d2;_0x3a0405=(_0x3f18f6*_0x1ed1b6+_0x1306aa)/_0x150fbe;_0x125a64=erlangb(_0x3a0405,_0x5912d9);_0x10c770=_0x3a0405/_0x5912d9*(0x1-erlangb(_0x3a0405,_0x5912d9));}return _0x1a6190({'erlangCalls':_0x1e7e2e,'erlangCallToSecond':_0x3575d2/_0x1e7e2e,'erlangAbandonmentRate':_0x125a64,'erlangBusyFactor':_0x10c770});});};module['exports']=Dialer; \ No newline at end of file diff --git a/server/services/ami/dialer/queueCallerAbandon.js b/server/services/ami/dialer/queueCallerAbandon.js index 2bc43d2..d9786bf 100644 --- a/server/services/ami/dialer/queueCallerAbandon.js +++ b/server/services/ami/dialer/queueCallerAbandon.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x940e=['originatecalleridname','exports','moment','milliseconds','diff','seconds','scheduledat','type','outbound','queue','countbusyretry','countcongestionretry','countnoanswerretry','countnosuchnumberretry','countdropretry','countabandonedretry','countmachineretry','countagentrejectretry','uniqueid','name','number','starttime','droptime','endtime','ringtime','holdtime','responsetime','talktime','reason','callback','callbackat','ContactId','ListId','UserId','VoiceQueueId','CampaignId'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x940e,0xfe));var _0xe940=function(_0x13843f,_0x50422d){_0x13843f=_0x13843f-0x0;var _0x1063ae=_0x940e[_0x13843f];return _0x1063ae;};'use strict';var util=require('util');var _=require('lodash');var moment=require(_0xe940('0x0'));function getSeconds(_0x1dd1bd,_0x5f0e4c){var _0x5a8072=moment(_0x1dd1bd)['milliseconds'](0x0);var _0x45451d=moment(_0x5f0e4c)[_0xe940('0x1')](0x0);return _0x5a8072[_0xe940('0x2')](_0x45451d,_0xe940('0x3'));}function QueueCallerAbandon(_0x4af56a,_0xcf3a3b){this[_0xe940('0x4')]=_0x4af56a[_0xe940('0x4')];this[_0xe940('0x5')]=_0x4af56a[_0xe940('0x5')];this['campaigntype']=_0x4af56a['type']===_0xe940('0x6')?_0xe940('0x7'):_0x4af56a[_0xe940('0x5')];this[_0xe940('0x8')]=_0x4af56a['countbusyretry'];this[_0xe940('0x9')]=_0x4af56a['countcongestionretry'];this[_0xe940('0xa')]=_0x4af56a[_0xe940('0xa')];this['countglobal']=_0x4af56a[_0xe940('0x8')]+_0x4af56a['countcongestionretry']+_0x4af56a['countnoanswerretry']+_0x4af56a[_0xe940('0xb')]+_0x4af56a[_0xe940('0xc')]+_0x4af56a[_0xe940('0xd')]+_0x4af56a[_0xe940('0xe')]+_0x4af56a[_0xe940('0xf')];this[_0xe940('0xb')]=_0x4af56a['countnosuchnumberretry'];this[_0xe940('0xc')]=_0x4af56a[_0xe940('0xc')];this[_0xe940('0xd')]=_0x4af56a['countabandonedretry'];this['countmachineretry']=_0x4af56a[_0xe940('0xe')];this['countagentrejectretry']=_0x4af56a['countagentrejectretry'];this[_0xe940('0x10')]=_0xcf3a3b[_0xe940('0x10')];this['calleridname']=_0x4af56a[_0xe940('0x11')];this['calleridnum']=_0x4af56a[_0xe940('0x12')];this[_0xe940('0x13')]=_0x4af56a[_0xe940('0x13')];this['responsetime']=_0x4af56a['responsetime'];this[_0xe940('0x14')]=_0x4af56a['droptime'];this[_0xe940('0x15')]=this[_0xe940('0x14')];this[_0xe940('0x16')]=getSeconds(_0x4af56a['responsetime'],_0x4af56a['starttime']);this[_0xe940('0x17')]=getSeconds(this[_0xe940('0x14')],_0x4af56a[_0xe940('0x18')]);this[_0xe940('0x19')]=0x0;this[_0xe940('0x7')]=_0xcf3a3b['queue'];this['membername']=_0xcf3a3b['connectedlinename'];this[_0xe940('0x1a')]=_0xcf3a3b[_0xe940('0x1a')];this[_0xe940('0x1b')]=_0x4af56a[_0xe940('0x1b')];this['callbackuniqueid']=_0x4af56a['callbackuniqueid'];this[_0xe940('0x1c')]=_0x4af56a[_0xe940('0x1c')];this['recallme']=_0x4af56a['recallme'];this['ContactId']=_0x4af56a[_0xe940('0x1d')];this[_0xe940('0x1e')]=_0x4af56a[_0xe940('0x1e')];this[_0xe940('0x1f')]=_0x4af56a[_0xe940('0x1f')];this[_0xe940('0x20')]=_0x4af56a[_0xe940('0x20')];this[_0xe940('0x21')]=_0x4af56a[_0xe940('0x21')];this['originatecalleridnum']=_0x4af56a['originatecalleridnum']||'';this['originatecalleridname']=_0x4af56a[_0xe940('0x22')]||'';}module[_0xe940('0x23')]=QueueCallerAbandon; \ No newline at end of file +var _0x652b=['countmachineretry','countagentrejectretry','uniqueid','calleridname','calleridnum','number','starttime','responsetime','droptime','endtime','ringtime','connectedlinename','reason','callback','callbackuniqueid','callbackat','recallme','ContactId','ListId','UserId','VoiceQueueId','CampaignId','originatecalleridnum','originatecalleridname','exports','moment','milliseconds','diff','type','campaigntype','outbound','queue','countbusyretry','countcongestionretry','countnoanswerretry','countglobal','countnosuchnumberretry','countdropretry','countabandonedretry'];(function(_0x1c107d,_0x44442c){var _0x5c40dd=function(_0x33c40c){while(--_0x33c40c){_0x1c107d['push'](_0x1c107d['shift']());}};_0x5c40dd(++_0x44442c);}(_0x652b,0x19f));var _0xb652=function(_0x39d544,_0x35c14f){_0x39d544=_0x39d544-0x0;var _0x5a5ff2=_0x652b[_0x39d544];return _0x5a5ff2;};'use strict';var util=require('util');var _=require('lodash');var moment=require(_0xb652('0x0'));function getSeconds(_0x266182,_0x37c5f0){var _0x205ffe=moment(_0x266182)[_0xb652('0x1')](0x0);var _0x5efb05=moment(_0x37c5f0)['milliseconds'](0x0);return _0x205ffe[_0xb652('0x2')](_0x5efb05,'seconds');}function QueueCallerAbandon(_0x4db017,_0x45e4c7){this['scheduledat']=_0x4db017['scheduledat'];this[_0xb652('0x3')]=_0x4db017['type'];this[_0xb652('0x4')]=_0x4db017[_0xb652('0x3')]===_0xb652('0x5')?_0xb652('0x6'):_0x4db017[_0xb652('0x3')];this[_0xb652('0x7')]=_0x4db017[_0xb652('0x7')];this[_0xb652('0x8')]=_0x4db017[_0xb652('0x8')];this[_0xb652('0x9')]=_0x4db017[_0xb652('0x9')];this[_0xb652('0xa')]=_0x4db017[_0xb652('0x7')]+_0x4db017[_0xb652('0x8')]+_0x4db017[_0xb652('0x9')]+_0x4db017[_0xb652('0xb')]+_0x4db017[_0xb652('0xc')]+_0x4db017[_0xb652('0xd')]+_0x4db017[_0xb652('0xe')]+_0x4db017[_0xb652('0xf')];this[_0xb652('0xb')]=_0x4db017[_0xb652('0xb')];this['countdropretry']=_0x4db017[_0xb652('0xc')];this[_0xb652('0xd')]=_0x4db017[_0xb652('0xd')];this[_0xb652('0xe')]=_0x4db017['countmachineretry'];this[_0xb652('0xf')]=_0x4db017[_0xb652('0xf')];this[_0xb652('0x10')]=_0x45e4c7[_0xb652('0x10')];this[_0xb652('0x11')]=_0x4db017['name'];this[_0xb652('0x12')]=_0x4db017[_0xb652('0x13')];this[_0xb652('0x14')]=_0x4db017[_0xb652('0x14')];this[_0xb652('0x15')]=_0x4db017[_0xb652('0x15')];this[_0xb652('0x16')]=_0x4db017[_0xb652('0x16')];this[_0xb652('0x17')]=this[_0xb652('0x16')];this[_0xb652('0x18')]=getSeconds(_0x4db017[_0xb652('0x15')],_0x4db017[_0xb652('0x14')]);this['holdtime']=getSeconds(this['droptime'],_0x4db017['responsetime']);this['talktime']=0x0;this[_0xb652('0x6')]=_0x45e4c7[_0xb652('0x6')];this['membername']=_0x45e4c7[_0xb652('0x19')];this[_0xb652('0x1a')]=_0x45e4c7[_0xb652('0x1a')];this[_0xb652('0x1b')]=_0x4db017[_0xb652('0x1b')];this[_0xb652('0x1c')]=_0x4db017['callbackuniqueid'];this[_0xb652('0x1d')]=_0x4db017['callbackat'];this[_0xb652('0x1e')]=_0x4db017[_0xb652('0x1e')];this[_0xb652('0x1f')]=_0x4db017[_0xb652('0x1f')];this[_0xb652('0x20')]=_0x4db017[_0xb652('0x20')];this[_0xb652('0x21')]=_0x4db017[_0xb652('0x21')];this['VoiceQueueId']=_0x4db017[_0xb652('0x22')];this[_0xb652('0x23')]=_0x4db017['CampaignId'];this[_0xb652('0x24')]=_0x4db017['originatecalleridnum']||'';this[_0xb652('0x25')]=_0x4db017[_0xb652('0x25')]||'';}module[_0xb652('0x26')]=QueueCallerAbandon; \ No newline at end of file diff --git a/server/services/ami/fax/action.js b/server/services/ami/fax/action.js index b106989..493de6e 100644 --- a/server/services/ami/fax/action.js +++ b/server/services/ami/fax/action.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x119c=['Trunk','name','fax','localstationid','headerinfo','path','AttachmentId','exports','util','lodash','channel','format'];(function(_0x4ddc7e,_0xcb9b8){var _0xfbf0ec=function(_0x32b673){while(--_0x32b673){_0x4ddc7e['push'](_0x4ddc7e['shift']());}};_0xfbf0ec(++_0xcb9b8);}(_0x119c,0x80));var _0xc119=function(_0x35c5a8,_0x8ecb48){_0x35c5a8=_0x35c5a8-0x0;var _0x34782c=_0x119c[_0x35c5a8];return _0x34782c;};'use strict';var util=require(_0xc119('0x0'));var _=require(_0xc119('0x1'));var moment=require('moment');function Action(_0x120520,_0x3e91c0,_0x33fbb3){this['uniqueid']=_0x120520||undefined;this[_0xc119('0x2')]=util[_0xc119('0x3')]('%s/%s/%s',_0x3e91c0['tech'],_0x3e91c0[_0xc119('0x4')][_0xc119('0x5')],_0x33fbb3[_0xc119('0x6')]);this[_0xc119('0x7')]=_0x3e91c0[_0xc119('0x7')];this['headerinfo']=_0x3e91c0[_0xc119('0x8')];this[_0xc119('0x9')]=_0x33fbb3[_0xc119('0x9')];this[_0xc119('0xa')]=_0x33fbb3['AttachmentId'];}module[_0xc119('0xb')]=Action; \ No newline at end of file +var _0xab5e=['util','lodash','moment','uniqueid','format','tech','Trunk','name','localstationid','headerinfo','path','AttachmentId','exports'];(function(_0x63936a,_0x316953){var _0x5e80f1=function(_0x2a00ac){while(--_0x2a00ac){_0x63936a['push'](_0x63936a['shift']());}};_0x5e80f1(++_0x316953);}(_0xab5e,0x82));var _0xeab5=function(_0x1affb9,_0x211cc0){_0x1affb9=_0x1affb9-0x0;var _0x31b645=_0xab5e[_0x1affb9];return _0x31b645;};'use strict';var util=require(_0xeab5('0x0'));var _=require(_0xeab5('0x1'));var moment=require(_0xeab5('0x2'));function Action(_0x358e64,_0x52ba7b,_0x1f148f){this[_0xeab5('0x3')]=_0x358e64||undefined;this['channel']=util[_0xeab5('0x4')]('%s/%s/%s',_0x52ba7b[_0xeab5('0x5')],_0x52ba7b[_0xeab5('0x6')][_0xeab5('0x7')],_0x1f148f['fax']);this['localstationid']=_0x52ba7b[_0xeab5('0x8')];this['headerinfo']=_0x52ba7b[_0xeab5('0x9')];this[_0xeab5('0xa')]=_0x1f148f[_0xeab5('0xa')];this[_0xeab5('0xb')]=_0x1f148f[_0xeab5('0xb')];}module[_0xeab5('0xc')]=Action; \ No newline at end of file diff --git a/server/services/ami/fax/index.js b/server/services/ami/fax/index.js index db081f4..e22e162 100644 --- a/server/services/ami/fax/index.js +++ b/server/services/ami/fax/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x8569=['.pdf','error','\x20notify\x20','stringify','catch','\x20receiveFax\x20','pick','response','reason','AttachmentId','update','SENDING\x20FAILED\x20','logger','[Fax][Message][Error][NoUpdate1]','[Fax][Message][Updated]','[Fax][Message][NoUpdate1]','finally','SUCCESS','updateStatus','faxstatusstring','SENDING\x20FAILED','send','Fax\x20received','Fax\x20failed','checkTrunk','Trunk','format','gs\x20-q\x20-dNOPAUSE\x20-dBATCH\x20-sDEVICE=tiffg4\x20-sPAPERSIZE=letter\x20-sOutputFile=/var/opt/motion2/server/files/attachments/%s.tif\x20\x20%s\x20-c\x20quit','execute','%s/%s.tif','XMF-PATH','Convert\x20pdf\x20to\x20tif','variablesAction','Action','execOriginate','addVariables','ext','isNil','active','SIP/%s','reachable','unmonitored','isTrunkReachable','[Fax][checkTrunk][Trunk\x20not\x20work]','Trunk\x20not\x20working','fax','[Fax][checkTrunk][Empty\x20Fax]','Empty\x20path','Is\x20Valid','exports','util','lodash','bluebird','uuid','moment','path','tiff2pdf','../../../config/logger','../ami','./rpcDb','./channel','./util/util','./action','../rpc/attachment','faxAccounts','trunks','newchannel','syncNewchannel','bind','varset','newstate','newexten','syncNewExten','faxstatus','syncFaxStatus','receivefax','syncReceiveFax','syncHangup','originateresponse','syncOriginateResponse','prototype','context','from-voip-provider','localstationid','channels','uniqueid','channel','name','info','\x20syncNewchannel\x20','actions','syncVarSet','variable','hasOwnProperty','syncNewState','channelstate','channelstatedesc','operation','status','filename','remotestationid','pagestransferred','resolution','transferrate','calleridnum','\x20result\x20conversion\x20file\x20','message','parse','application/pdf','then','notify'];(function(_0x2df823,_0x17b7de){var _0x31e4fa=function(_0x137d04){while(--_0x137d04){_0x2df823['push'](_0x2df823['shift']());}};_0x31e4fa(++_0x17b7de);}(_0x8569,0x17f));var _0x9856=function(_0x8a7e38,_0x473a5d){_0x8a7e38=_0x8a7e38-0x0;var _0x228609=_0x8569[_0x8a7e38];return _0x228609;};'use strict';var util=require(_0x9856('0x0'));var _=require(_0x9856('0x1'));var BPromise=require(_0x9856('0x2'));var uuid=require(_0x9856('0x3'));var moment=require(_0x9856('0x4'));var path=require(_0x9856('0x5'));var tiff2pdf=require(_0x9856('0x6'));var gs=require('./util/gs');var logger=require(_0x9856('0x7'))('fax');var ami=require(_0x9856('0x8'));var rpcDb=require(_0x9856('0x9'));var Channel=require(_0x9856('0xa'));var ut=require(_0x9856('0xb'));var Action=require(_0x9856('0xc'));var faxAccount=require('../rpc/faxAccount');var attachment=require(_0x9856('0xd'));var faxMessage=require('../rpc/faxMessage');function Fax(_0x4b1a2e){this['channels']={};this['faxAccounts']=_0x4b1a2e[_0x9856('0xe')];this[_0x9856('0xf')]=_0x4b1a2e['trunks'];this['actions']={};ami['on'](_0x9856('0x10'),this[_0x9856('0x11')][_0x9856('0x12')](this));ami['on'](_0x9856('0x13'),this['syncVarSet'][_0x9856('0x12')](this));ami['on'](_0x9856('0x14'),this['syncNewState']['bind'](this));ami['on'](_0x9856('0x15'),this[_0x9856('0x16')][_0x9856('0x12')](this));ami['on'](_0x9856('0x17'),this[_0x9856('0x18')][_0x9856('0x12')](this));ami['on'](_0x9856('0x19'),this[_0x9856('0x1a')][_0x9856('0x12')](this));ami['on']('hangup',this[_0x9856('0x1b')][_0x9856('0x12')](this));ami['on'](_0x9856('0x1c'),this[_0x9856('0x1d')]['bind'](this));}Fax[_0x9856('0x1e')][_0x9856('0x11')]=function(_0x190663){if(_0x190663[_0x9856('0x1f')]===_0x9856('0x20')){for(var _0x18f19f in this['faxAccounts']){if(this[_0x9856('0xe')]['hasOwnProperty'](_0x18f19f)){if(_0x190663['exten']===this[_0x9856('0xe')][_0x18f19f][_0x9856('0x21')]){this[_0x9856('0x22')][_0x190663[_0x9856('0x23')]]={};this[_0x9856('0x22')][_0x190663['uniqueid']]['channel']=_0x190663[_0x9856('0x24')];this['channels'][_0x190663[_0x9856('0x23')]]['id']=this['faxAccounts'][_0x18f19f]['id'];this[_0x9856('0x22')][_0x190663[_0x9856('0x23')]][_0x9856('0x25')]=this[_0x9856('0xe')][_0x18f19f][_0x9856('0x25')];logger[_0x9856('0x26')](_0x190663[_0x9856('0x23')],_0x9856('0x27'));}}}}if(this[_0x9856('0x28')][_0x190663[_0x9856('0x23')]]){this[_0x9856('0x22')][_0x190663[_0x9856('0x23')]]={};this['channels'][_0x190663['uniqueid']]['channel']=_0x190663['channel'];logger[_0x9856('0x26')](_0x190663[_0x9856('0x23')],_0x9856('0x27'));}};Fax[_0x9856('0x1e')][_0x9856('0x29')]=function(_0x406132){if(this['channels'][_0x406132['uniqueid']]){for(var _0x28026d in _0x406132[_0x9856('0x2a')]){if(_0x406132[_0x9856('0x2a')][_0x9856('0x2b')](_0x28026d)){this[_0x9856('0x22')][_0x406132[_0x9856('0x23')]][_0x28026d]=_0x406132['value'];}}}};Fax[_0x9856('0x1e')][_0x9856('0x2c')]=function(_0x332407){if(this['channels'][_0x332407[_0x9856('0x23')]]){this['channels'][_0x332407[_0x9856('0x23')]][_0x9856('0x2d')]=_0x332407['channelstate'];this[_0x9856('0x22')][_0x332407[_0x9856('0x23')]][_0x9856('0x2e')]=_0x332407[_0x9856('0x2e')];}};Fax[_0x9856('0x1e')][_0x9856('0x16')]=function(_0xc478bd){if(this[_0x9856('0x22')][_0xc478bd[_0x9856('0x23')]]){for(var _0x38cf32 in _0xc478bd[_0x9856('0x2a')]){if(_0xc478bd[_0x9856('0x2a')]['hasOwnProperty'](_0x38cf32)){this[_0x9856('0x22')][_0xc478bd[_0x9856('0x23')]][_0x38cf32]=_0xc478bd['value'];}}}};Fax[_0x9856('0x1e')][_0x9856('0x18')]=function(_0x1c4c86){if(this['channels'][_0x1c4c86[_0x9856('0x23')]]){this[_0x9856('0x22')][_0x1c4c86[_0x9856('0x23')]][_0x9856('0x2f')]=_0x1c4c86[_0x9856('0x2f')];this[_0x9856('0x22')][_0x1c4c86[_0x9856('0x23')]][_0x9856('0x30')]=_0x1c4c86[_0x9856('0x30')];this['channels'][_0x1c4c86[_0x9856('0x23')]][_0x9856('0x21')]=_0x1c4c86['localstationid'];this[_0x9856('0x22')][_0x1c4c86[_0x9856('0x23')]][_0x9856('0x31')]=_0x1c4c86[_0x9856('0x31')];logger[_0x9856('0x26')](_0x1c4c86[_0x9856('0x23')],'\x20syncFaxStatus\x20');}};Fax[_0x9856('0x1e')][_0x9856('0x1a')]=function(_0x2137e3){var _0x2dca97=this;if(this['channels'][_0x2137e3['uniqueid']]){var _0xb5d902=this[_0x9856('0x22')][_0x2137e3['uniqueid']]['id'];this['channels'][_0x2137e3[_0x9856('0x23')]]['remotestationid']=_0x2137e3[_0x9856('0x32')];this[_0x9856('0x22')][_0x2137e3[_0x9856('0x23')]][_0x9856('0x33')]=_0x2137e3[_0x9856('0x33')];this[_0x9856('0x22')][_0x2137e3[_0x9856('0x23')]][_0x9856('0x21')]=_0x2137e3[_0x9856('0x21')];this['channels'][_0x2137e3[_0x9856('0x23')]][_0x9856('0x34')]=_0x2137e3[_0x9856('0x34')];this[_0x9856('0x22')][_0x2137e3[_0x9856('0x23')]][_0x9856('0x35')]=_0x2137e3[_0x9856('0x35')];this[_0x9856('0x22')][_0x2137e3['uniqueid']][_0x9856('0x31')]=_0x2137e3[_0x9856('0x31')];this[_0x9856('0x22')][_0x2137e3[_0x9856('0x23')]][_0x9856('0x36')]=_0x2137e3[_0x9856('0x36')];if(this['channels'][_0x2137e3[_0x9856('0x23')]]['pagestransferred']>0x0){tiff2pdf(_0x2137e3['filename'],'/var/opt/motion2/server/files/attachments/',function(_0x4cdf36){logger[_0x9856('0x26')](_0x2137e3[_0x9856('0x23')],_0x9856('0x37'),_0x4cdf36[_0x9856('0x38')]);attachment['create']({'name':path['parse'](_0x2137e3[_0x9856('0x31')])[_0x9856('0x25')],'basename':path[_0x9856('0x39')](_0x2137e3[_0x9856('0x31')])[_0x9856('0x25')]+'.pdf','type':_0x9856('0x3a')})[_0x9856('0x3b')](function(_0x197e76){faxAccount[_0x9856('0x3c')](_0xb5d902,{'from':_0x2137e3[_0x9856('0x36')],'mapKey':'fax','body':path[_0x9856('0x39')](_0x2137e3['filename'])['name']+_0x9856('0x3d'),'AttachmentId':_0x197e76['id']})['catch'](function(_0x58f37a){logger[_0x9856('0x3e')](_0x2137e3[_0x9856('0x23')],_0x9856('0x3f'),JSON[_0x9856('0x40')](_0x58f37a));});})[_0x9856('0x41')](function(_0x31331d){logger['error'](_0x2137e3[_0x9856('0x23')],_0x9856('0x42'),JSON['stringify'](_0x31331d));});});}logger[_0x9856('0x26')](_0x2137e3[_0x9856('0x23')],_0x9856('0x42'));}};Fax[_0x9856('0x1e')]['syncOriginateResponse']=function(_0x32a963){if(this['actions'][_0x32a963['uniqueid']]){_['merge'](this[_0x9856('0x22')][_0x32a963[_0x9856('0x23')]],_[_0x9856('0x43')](_0x32a963,[_0x9856('0x44'),_0x9856('0x45')]));}};function updateStatus(_0x300759){if(_0x300759[_0x9856('0x46')]){faxMessage[_0x9856('0x47')](_0x300759[_0x9856('0x46')],{'failMessage':_0x9856('0x48')})['then'](function(_0x1de471){ut['logger']('[Fax][Message][Error][Updated]',_0x1de471);})['catch'](function(_0x1f9c12){ut[_0x9856('0x49')](_0x9856('0x4a'),_0x1f9c12);});}else{ut[_0x9856('0x49')]('[Fax][Message][Error][NoUpdate2]');}}Fax[_0x9856('0x1e')]['updateStatus']=function(_0x3c2b36,_0x96c721,_0x46c88b){var _0x1e7b1e=this;var _0x100a74={};if(_0x96c721){_0x100a74={'read':_0x96c721};}else{_0x100a74={'failMessage':_0x46c88b};}if(this[_0x9856('0x28')][_0x3c2b36]['AttachmentId']){faxMessage[_0x9856('0x47')](this[_0x9856('0x28')][_0x3c2b36][_0x9856('0x46')],_0x100a74)['then'](function(_0xa8b088){ut['logger'](_0x9856('0x4b'),_0xa8b088);})['catch'](function(_0x177337){ut[_0x9856('0x49')](_0x9856('0x4c'),_0x177337);})[_0x9856('0x4d')](function(){delete _0x1e7b1e[_0x9856('0x22')][_0x3c2b36];delete _0x1e7b1e['actions'][_0x3c2b36];});}else{ut[_0x9856('0x49')]('[Fax][Message][NoUpdate2]');delete this[_0x9856('0x22')][_0x3c2b36];delete this[_0x9856('0x28')][_0x3c2b36];}};Fax['prototype'][_0x9856('0x1b')]=function(_0x1152d4){var _0x5430f6=this;if(this['channels'][_0x1152d4[_0x9856('0x23')]]){if(this[_0x9856('0x28')][_0x1152d4[_0x9856('0x23')]]){this[_0x9856('0x22')][_0x1152d4[_0x9856('0x23')]]['id']=this['actions'][_0x1152d4[_0x9856('0x23')]]['id'];this['channels'][_0x1152d4['uniqueid']][_0x9856('0x25')]=this[_0x9856('0x28')][_0x1152d4[_0x9856('0x23')]]['name'];}logger[_0x9856('0x26')](_0x1152d4[_0x9856('0x23')],this[_0x9856('0x28')][_0x1152d4[_0x9856('0x23')]]?'\x20hangup\x20sendFile\x20':'\x20hangup\x20faxRiceive\x20',JSON[_0x9856('0x40')](this[_0x9856('0x22')][_0x1152d4[_0x9856('0x23')]]));if(this[_0x9856('0x28')][_0x1152d4['uniqueid']]){if(this[_0x9856('0x22')][_0x1152d4[_0x9856('0x23')]]['faxpages']>0x0&&this[_0x9856('0x22')][_0x1152d4[_0x9856('0x23')]][_0x9856('0x17')]===_0x9856('0x4e')){this[_0x9856('0x4f')](_0x1152d4[_0x9856('0x23')],!![]);}else{this[_0x9856('0x4f')](_0x1152d4['uniqueid'],![],this[_0x9856('0x22')][_0x1152d4[_0x9856('0x23')]]['faxstatusstring']?'SENDING\x20FAILED:\x20'+this[_0x9856('0x22')][_0x1152d4[_0x9856('0x23')]][_0x9856('0x50')]:_0x9856('0x51'));}}}};Fax[_0x9856('0x1e')][_0x9856('0x52')]=function(_0x523a4a){var _0x37d1b7=this;return new BPromise(function(_0x46e57b,_0x4a7cbd){_0x37d1b7['execOriginate'](_0x523a4a,_0x37d1b7[_0x9856('0xe')][_0x523a4a['FaxAccountId']])[_0x9856('0x3b')](function(_0xf6003e){ut[_0x9856('0x49')]('[Fax][execOriginate][success]',_0xf6003e);_0x46e57b(ut[_0x9856('0x38')](_0x9856('0x53')));})[_0x9856('0x41')](function(_0x5a5b36){ut['logger']('[Fax][execOriginate][failure]',_0x5a5b36);updateStatus(_0x523a4a);_0x4a7cbd(ut['message'](_0x9856('0x54')));});});};Fax[_0x9856('0x1e')]['checkAfterSend']=function(_0x2af8e3){var _0x12611a=this;return new BPromise(function(_0x6b69d2,_0x561c8a){var _0x54315a=_0x12611a[_0x9856('0x55')](_0x12611a[_0x9856('0xe')][_0x2af8e3['FaxAccountId']][_0x9856('0x56')],_0x2af8e3);if(_0x54315a['isValid']){_0x6b69d2(ut['message']('Trunk\x20Reachable'));}else{_0x561c8a(ut[_0x9856('0x38')](_0x54315a[_0x9856('0x38')]));}});};function originate(_0x514a8e,_0x39d1c1,_0x4c5ef4){return new BPromise(function(_0x220349,_0x5de44a){if(_0x4c5ef4){var _0x373821=util[_0x9856('0x57')](_0x9856('0x58'),path['parse'](_0x514a8e[_0x9856('0x5')])[_0x9856('0x25')],_0x514a8e[_0x9856('0x5')]);gs[_0x9856('0x59')](_0x373821)[_0x9856('0x3b')](function(){_0x514a8e[_0x9856('0x5')]=util['format'](_0x9856('0x5a'),path[_0x9856('0x39')](_0x514a8e[_0x9856('0x5')])['dir'],path[_0x9856('0x39')](_0x514a8e['path'])[_0x9856('0x25')]);_0x39d1c1[_0x9856('0x5b')]=_0x514a8e[_0x9856('0x5')];ut[_0x9856('0x49')](_0x9856('0x5c'),'');ami['Action'](ut[_0x9856('0x5d')](_0x514a8e,_0x39d1c1))[_0x9856('0x3b')](function(_0x4bcba3){_0x220349(_0x4bcba3);})[_0x9856('0x41')](function(_0x48c076){_0x5de44a(_0x48c076);});})[_0x9856('0x41')](function(_0x3944ff){_0x5de44a(_0x3944ff);});}else{ami[_0x9856('0x5e')](ut['variablesAction'](_0x514a8e,_0x39d1c1))['then'](function(_0x4d3752){_0x220349(_0x4d3752);})[_0x9856('0x41')](function(_0x50c616){_0x5de44a(_0x50c616);});}});}Fax[_0x9856('0x1e')][_0x9856('0x5f')]=function(_0x499992,_0x4d04cf){var _0x32714e=this;return new BPromise(function(_0x578225,_0x33ae5b){var _0x3c5157=uuid['v4']();var _0x858de5=ut[_0x9856('0x60')](_0x499992,_0x4d04cf);_0x32714e['actions'][_0x3c5157]=new Action(_0x3c5157,_0x4d04cf,_0x499992);var _0x2b02a9=_0x32714e['actions'][_0x3c5157];if(path[_0x9856('0x39')](_0x499992[_0x9856('0x5')])[_0x9856('0x61')]===_0x9856('0x3d')){originate(_0x2b02a9,_0x858de5,!![])[_0x9856('0x3b')](function(_0x2974d5){_0x578225(_0x2974d5);})[_0x9856('0x41')](function(_0x2b4d25){_0x33ae5b(_0x2b4d25);});}else{originate(_0x2b02a9,_0x858de5,![])[_0x9856('0x3b')](function(_0x3bef57){_0x578225(_0x3bef57);})[_0x9856('0x41')](function(_0x3b5789){_0x33ae5b(_0x3b5789);});}});};Fax[_0x9856('0x1e')]['isTrunkReachable']=function(_0x5bf365){return!_[_0x9856('0x62')](_0x5bf365)&&!_[_0x9856('0x62')](_0x5bf365['name'])&&!_[_0x9856('0x62')](_0x5bf365[_0x9856('0x63')])&&_0x5bf365['active']&&!_[_0x9856('0x62')](this['trunks'][util[_0x9856('0x57')](_0x9856('0x64'),_0x5bf365['name'])])&&!_[_0x9856('0x62')](this['trunks'][util['format']('SIP/%s',_0x5bf365[_0x9856('0x25')])][_0x9856('0x30')])&&(this['trunks'][util[_0x9856('0x57')]('SIP/%s',_0x5bf365[_0x9856('0x25')])][_0x9856('0x30')]===_0x9856('0x65')||this[_0x9856('0xf')][util[_0x9856('0x57')](_0x9856('0x64'),_0x5bf365[_0x9856('0x25')])][_0x9856('0x30')]===_0x9856('0x66'));};Fax[_0x9856('0x1e')][_0x9856('0x55')]=function(_0x393571,_0x33cda8){if(!this[_0x9856('0x67')](_0x393571)){ut[_0x9856('0x49')](_0x9856('0x68'),_[_0x9856('0x62')](_0x393571)?'':_0x393571['name']+'\x20Trunk\x20is\x20not\x20active');return{'isValid':![],'message':_0x9856('0x69')};}if(_[_0x9856('0x62')](_0x33cda8[_0x9856('0x6a')])){ut[_0x9856('0x49')](_0x9856('0x6b'),JSON[_0x9856('0x40')](_0x33cda8));return{'isValid':![],'message':'Empty\x20Fax'};}if(_['isNil'](_0x33cda8[_0x9856('0x5')])){ut[_0x9856('0x49')]('[Fax][checkTrunk][Empty\x20path]',JSON[_0x9856('0x40')](_0x33cda8));return{'isValid':![],'message':_0x9856('0x6c')};}return{'isValid':!![],'message':_0x9856('0x6d')};};module[_0x9856('0x6e')]=Fax; \ No newline at end of file +var _0x6973=['ext','isNil','active','SIP/%s','trunks','reachable','unmonitored','[Fax][checkTrunk][Trunk\x20not\x20work]','Trunk\x20not\x20working','[Fax][checkTrunk][Empty\x20Fax]','Empty\x20Fax','[Fax][checkTrunk][Empty\x20path]','Empty\x20path','Is\x20Valid','exports','util','lodash','uuid','moment','path','./util/gs','../../../config/logger','fax','../ami','./channel','./util/util','./action','../rpc/faxAccount','../rpc/attachment','../rpc/faxMessage','channels','faxAccounts','actions','syncNewchannel','varset','newstate','syncNewState','newexten','syncNewExten','bind','faxstatus','syncFaxStatus','receivefax','hangup','prototype','context','from-voip-provider','hasOwnProperty','exten','localstationid','uniqueid','channel','name','\x20syncNewchannel\x20','info','syncVarSet','variable','value','channelstate','channelstatedesc','operation','status','\x20syncFaxStatus\x20','syncReceiveFax','remotestationid','pagestransferred','resolution','transferrate','filename','calleridnum','/var/opt/motion2/server/files/attachments/','create','parse','.pdf','application/pdf','then','error','stringify','catch','\x20receiveFax\x20','syncOriginateResponse','pick','response','reason','AttachmentId','update','logger','[Fax][Message][Error][Updated]','[Fax][Message][Error][NoUpdate1]','[Fax][Message][Error][NoUpdate2]','updateStatus','finally','syncHangup','\x20hangup\x20sendFile\x20','faxpages','SUCCESS','faxstatusstring','SENDING\x20FAILED:\x20','SENDING\x20FAILED','send','execOriginate','FaxAccountId','[Fax][execOriginate][success]','message','Fax\x20received','[Fax][execOriginate][failure]','Fax\x20failed','checkAfterSend','checkTrunk','Trunk','isValid','Trunk\x20Reachable','format','gs\x20-q\x20-dNOPAUSE\x20-dBATCH\x20-sDEVICE=tiffg4\x20-sPAPERSIZE=letter\x20-sOutputFile=/var/opt/motion2/server/files/attachments/%s.tif\x20\x20%s\x20-c\x20quit','execute','dir','XMF-PATH','Convert\x20pdf\x20to\x20tif','Action','variablesAction','addVariables'];(function(_0x3e18ed,_0x5f5c17){var _0x936b75=function(_0x18a051){while(--_0x18a051){_0x3e18ed['push'](_0x3e18ed['shift']());}};_0x936b75(++_0x5f5c17);}(_0x6973,0x88));var _0x3697=function(_0x24ba39,_0x1bb01d){_0x24ba39=_0x24ba39-0x0;var _0x46c5a5=_0x6973[_0x24ba39];return _0x46c5a5;};'use strict';var util=require(_0x3697('0x0'));var _=require(_0x3697('0x1'));var BPromise=require('bluebird');var uuid=require(_0x3697('0x2'));var moment=require(_0x3697('0x3'));var path=require(_0x3697('0x4'));var tiff2pdf=require('tiff2pdf');var gs=require(_0x3697('0x5'));var logger=require(_0x3697('0x6'))(_0x3697('0x7'));var ami=require(_0x3697('0x8'));var rpcDb=require('./rpcDb');var Channel=require(_0x3697('0x9'));var ut=require(_0x3697('0xa'));var Action=require(_0x3697('0xb'));var faxAccount=require(_0x3697('0xc'));var attachment=require(_0x3697('0xd'));var faxMessage=require(_0x3697('0xe'));function Fax(_0x1f3bb1){this[_0x3697('0xf')]={};this[_0x3697('0x10')]=_0x1f3bb1['faxAccounts'];this['trunks']=_0x1f3bb1['trunks'];this[_0x3697('0x11')]={};ami['on']('newchannel',this[_0x3697('0x12')]['bind'](this));ami['on'](_0x3697('0x13'),this['syncVarSet']['bind'](this));ami['on'](_0x3697('0x14'),this[_0x3697('0x15')]['bind'](this));ami['on'](_0x3697('0x16'),this[_0x3697('0x17')][_0x3697('0x18')](this));ami['on'](_0x3697('0x19'),this[_0x3697('0x1a')][_0x3697('0x18')](this));ami['on'](_0x3697('0x1b'),this['syncReceiveFax'][_0x3697('0x18')](this));ami['on'](_0x3697('0x1c'),this['syncHangup'][_0x3697('0x18')](this));ami['on']('originateresponse',this['syncOriginateResponse'][_0x3697('0x18')](this));}Fax[_0x3697('0x1d')]['syncNewchannel']=function(_0x5ba610){if(_0x5ba610[_0x3697('0x1e')]===_0x3697('0x1f')){for(var _0x4c7ba9 in this[_0x3697('0x10')]){if(this[_0x3697('0x10')][_0x3697('0x20')](_0x4c7ba9)){if(_0x5ba610[_0x3697('0x21')]===this[_0x3697('0x10')][_0x4c7ba9][_0x3697('0x22')]){this[_0x3697('0xf')][_0x5ba610[_0x3697('0x23')]]={};this[_0x3697('0xf')][_0x5ba610[_0x3697('0x23')]][_0x3697('0x24')]=_0x5ba610['channel'];this[_0x3697('0xf')][_0x5ba610[_0x3697('0x23')]]['id']=this[_0x3697('0x10')][_0x4c7ba9]['id'];this[_0x3697('0xf')][_0x5ba610[_0x3697('0x23')]][_0x3697('0x25')]=this[_0x3697('0x10')][_0x4c7ba9][_0x3697('0x25')];logger['info'](_0x5ba610[_0x3697('0x23')],_0x3697('0x26'));}}}}if(this[_0x3697('0x11')][_0x5ba610[_0x3697('0x23')]]){this[_0x3697('0xf')][_0x5ba610['uniqueid']]={};this[_0x3697('0xf')][_0x5ba610[_0x3697('0x23')]]['channel']=_0x5ba610[_0x3697('0x24')];logger[_0x3697('0x27')](_0x5ba610['uniqueid'],_0x3697('0x26'));}};Fax[_0x3697('0x1d')][_0x3697('0x28')]=function(_0x458396){if(this['channels'][_0x458396[_0x3697('0x23')]]){for(var _0x17b3c2 in _0x458396['variable']){if(_0x458396[_0x3697('0x29')][_0x3697('0x20')](_0x17b3c2)){this['channels'][_0x458396[_0x3697('0x23')]][_0x17b3c2]=_0x458396[_0x3697('0x2a')];}}}};Fax['prototype']['syncNewState']=function(_0x3730cb){if(this['channels'][_0x3730cb[_0x3697('0x23')]]){this[_0x3697('0xf')][_0x3730cb['uniqueid']][_0x3697('0x2b')]=_0x3730cb[_0x3697('0x2b')];this[_0x3697('0xf')][_0x3730cb[_0x3697('0x23')]][_0x3697('0x2c')]=_0x3730cb['channelstatedesc'];}};Fax['prototype'][_0x3697('0x17')]=function(_0x50ef15){if(this[_0x3697('0xf')][_0x50ef15[_0x3697('0x23')]]){for(var _0x3ff129 in _0x50ef15[_0x3697('0x29')]){if(_0x50ef15[_0x3697('0x29')][_0x3697('0x20')](_0x3ff129)){this[_0x3697('0xf')][_0x50ef15[_0x3697('0x23')]][_0x3ff129]=_0x50ef15[_0x3697('0x2a')];}}}};Fax[_0x3697('0x1d')][_0x3697('0x1a')]=function(_0x4b5a76){if(this[_0x3697('0xf')][_0x4b5a76[_0x3697('0x23')]]){this[_0x3697('0xf')][_0x4b5a76[_0x3697('0x23')]][_0x3697('0x2d')]=_0x4b5a76[_0x3697('0x2d')];this[_0x3697('0xf')][_0x4b5a76[_0x3697('0x23')]][_0x3697('0x2e')]=_0x4b5a76[_0x3697('0x2e')];this[_0x3697('0xf')][_0x4b5a76['uniqueid']][_0x3697('0x22')]=_0x4b5a76[_0x3697('0x22')];this['channels'][_0x4b5a76['uniqueid']]['filename']=_0x4b5a76['filename'];logger[_0x3697('0x27')](_0x4b5a76[_0x3697('0x23')],_0x3697('0x2f'));}};Fax[_0x3697('0x1d')][_0x3697('0x30')]=function(_0x2becd4){var _0x53c7e4=this;if(this[_0x3697('0xf')][_0x2becd4['uniqueid']]){var _0x5ad87a=this[_0x3697('0xf')][_0x2becd4[_0x3697('0x23')]]['id'];this[_0x3697('0xf')][_0x2becd4['uniqueid']][_0x3697('0x31')]=_0x2becd4[_0x3697('0x31')];this[_0x3697('0xf')][_0x2becd4['uniqueid']][_0x3697('0x32')]=_0x2becd4['pagestransferred'];this[_0x3697('0xf')][_0x2becd4[_0x3697('0x23')]][_0x3697('0x22')]=_0x2becd4[_0x3697('0x22')];this[_0x3697('0xf')][_0x2becd4[_0x3697('0x23')]][_0x3697('0x33')]=_0x2becd4[_0x3697('0x33')];this['channels'][_0x2becd4[_0x3697('0x23')]]['transferrate']=_0x2becd4[_0x3697('0x34')];this['channels'][_0x2becd4[_0x3697('0x23')]][_0x3697('0x35')]=_0x2becd4[_0x3697('0x35')];this[_0x3697('0xf')][_0x2becd4[_0x3697('0x23')]][_0x3697('0x36')]=_0x2becd4['calleridnum'];if(this[_0x3697('0xf')][_0x2becd4[_0x3697('0x23')]]['pagestransferred']>0x0){tiff2pdf(_0x2becd4[_0x3697('0x35')],_0x3697('0x37'),function(_0x311e92){logger['info'](_0x2becd4[_0x3697('0x23')],'\x20result\x20conversion\x20file\x20',_0x311e92['message']);attachment[_0x3697('0x38')]({'name':path[_0x3697('0x39')](_0x2becd4[_0x3697('0x35')])[_0x3697('0x25')],'basename':path[_0x3697('0x39')](_0x2becd4[_0x3697('0x35')])[_0x3697('0x25')]+_0x3697('0x3a'),'type':_0x3697('0x3b')})[_0x3697('0x3c')](function(_0x7258b2){faxAccount['notify'](_0x5ad87a,{'from':_0x2becd4[_0x3697('0x36')],'mapKey':_0x3697('0x7'),'body':path[_0x3697('0x39')](_0x2becd4[_0x3697('0x35')])[_0x3697('0x25')]+'.pdf','AttachmentId':_0x7258b2['id']})['catch'](function(_0x485fe6){logger[_0x3697('0x3d')](_0x2becd4[_0x3697('0x23')],'\x20notify\x20',JSON[_0x3697('0x3e')](_0x485fe6));});})[_0x3697('0x3f')](function(_0x29b8c1){logger[_0x3697('0x3d')](_0x2becd4[_0x3697('0x23')],'\x20receiveFax\x20',JSON[_0x3697('0x3e')](_0x29b8c1));});});}logger['info'](_0x2becd4[_0x3697('0x23')],_0x3697('0x40'));}};Fax[_0x3697('0x1d')][_0x3697('0x41')]=function(_0x368f7d){if(this[_0x3697('0x11')][_0x368f7d[_0x3697('0x23')]]){_['merge'](this['channels'][_0x368f7d[_0x3697('0x23')]],_[_0x3697('0x42')](_0x368f7d,[_0x3697('0x43'),_0x3697('0x44')]));}};function updateStatus(_0xe89e66){if(_0xe89e66[_0x3697('0x45')]){faxMessage[_0x3697('0x46')](_0xe89e66[_0x3697('0x45')],{'failMessage':'SENDING\x20FAILED\x20'})['then'](function(_0x1b46ab){ut[_0x3697('0x47')](_0x3697('0x48'),_0x1b46ab);})[_0x3697('0x3f')](function(_0x2f7975){ut[_0x3697('0x47')](_0x3697('0x49'),_0x2f7975);});}else{ut['logger'](_0x3697('0x4a'));}}Fax[_0x3697('0x1d')][_0x3697('0x4b')]=function(_0x4b69b1,_0x4944e5,_0x524034){var _0x50f956=this;var _0x22db15={};if(_0x4944e5){_0x22db15={'read':_0x4944e5};}else{_0x22db15={'failMessage':_0x524034};}if(this['actions'][_0x4b69b1][_0x3697('0x45')]){faxMessage[_0x3697('0x46')](this[_0x3697('0x11')][_0x4b69b1][_0x3697('0x45')],_0x22db15)['then'](function(_0x26a518){ut['logger']('[Fax][Message][Updated]',_0x26a518);})['catch'](function(_0x500cf0){ut[_0x3697('0x47')]('[Fax][Message][NoUpdate1]',_0x500cf0);})[_0x3697('0x4c')](function(){delete _0x50f956['channels'][_0x4b69b1];delete _0x50f956[_0x3697('0x11')][_0x4b69b1];});}else{ut[_0x3697('0x47')]('[Fax][Message][NoUpdate2]');delete this[_0x3697('0xf')][_0x4b69b1];delete this['actions'][_0x4b69b1];}};Fax['prototype'][_0x3697('0x4d')]=function(_0x169ec5){var _0x31823a=this;if(this[_0x3697('0xf')][_0x169ec5[_0x3697('0x23')]]){if(this['actions'][_0x169ec5[_0x3697('0x23')]]){this[_0x3697('0xf')][_0x169ec5[_0x3697('0x23')]]['id']=this[_0x3697('0x11')][_0x169ec5[_0x3697('0x23')]]['id'];this[_0x3697('0xf')][_0x169ec5[_0x3697('0x23')]][_0x3697('0x25')]=this[_0x3697('0x11')][_0x169ec5[_0x3697('0x23')]][_0x3697('0x25')];}logger[_0x3697('0x27')](_0x169ec5['uniqueid'],this[_0x3697('0x11')][_0x169ec5[_0x3697('0x23')]]?_0x3697('0x4e'):'\x20hangup\x20faxRiceive\x20',JSON['stringify'](this['channels'][_0x169ec5[_0x3697('0x23')]]));if(this[_0x3697('0x11')][_0x169ec5[_0x3697('0x23')]]){if(this[_0x3697('0xf')][_0x169ec5[_0x3697('0x23')]][_0x3697('0x4f')]>0x0&&this[_0x3697('0xf')][_0x169ec5[_0x3697('0x23')]][_0x3697('0x19')]===_0x3697('0x50')){this[_0x3697('0x4b')](_0x169ec5[_0x3697('0x23')],!![]);}else{this[_0x3697('0x4b')](_0x169ec5[_0x3697('0x23')],![],this['channels'][_0x169ec5[_0x3697('0x23')]][_0x3697('0x51')]?_0x3697('0x52')+this[_0x3697('0xf')][_0x169ec5['uniqueid']][_0x3697('0x51')]:_0x3697('0x53'));}}}};Fax['prototype'][_0x3697('0x54')]=function(_0x1a2206){var _0x10c01b=this;return new BPromise(function(_0xc0e448,_0x454bd7){_0x10c01b[_0x3697('0x55')](_0x1a2206,_0x10c01b[_0x3697('0x10')][_0x1a2206[_0x3697('0x56')]])['then'](function(_0x2a6808){ut['logger'](_0x3697('0x57'),_0x2a6808);_0xc0e448(ut[_0x3697('0x58')](_0x3697('0x59')));})[_0x3697('0x3f')](function(_0x445118){ut[_0x3697('0x47')](_0x3697('0x5a'),_0x445118);updateStatus(_0x1a2206);_0x454bd7(ut[_0x3697('0x58')](_0x3697('0x5b')));});});};Fax[_0x3697('0x1d')][_0x3697('0x5c')]=function(_0x57de87){var _0x2dfb46=this;return new BPromise(function(_0x880656,_0x1c620b){var _0x5bb52e=_0x2dfb46[_0x3697('0x5d')](_0x2dfb46[_0x3697('0x10')][_0x57de87[_0x3697('0x56')]][_0x3697('0x5e')],_0x57de87);if(_0x5bb52e[_0x3697('0x5f')]){_0x880656(ut[_0x3697('0x58')](_0x3697('0x60')));}else{_0x1c620b(ut[_0x3697('0x58')](_0x5bb52e[_0x3697('0x58')]));}});};function originate(_0x3d75be,_0x1127f4,_0x2a3293){return new BPromise(function(_0x1cc739,_0x449c1a){if(_0x2a3293){var _0x234344=util[_0x3697('0x61')](_0x3697('0x62'),path[_0x3697('0x39')](_0x3d75be['path'])[_0x3697('0x25')],_0x3d75be[_0x3697('0x4')]);gs[_0x3697('0x63')](_0x234344)[_0x3697('0x3c')](function(){_0x3d75be[_0x3697('0x4')]=util[_0x3697('0x61')]('%s/%s.tif',path[_0x3697('0x39')](_0x3d75be[_0x3697('0x4')])[_0x3697('0x64')],path[_0x3697('0x39')](_0x3d75be[_0x3697('0x4')])[_0x3697('0x25')]);_0x1127f4[_0x3697('0x65')]=_0x3d75be[_0x3697('0x4')];ut[_0x3697('0x47')](_0x3697('0x66'),'');ami[_0x3697('0x67')](ut['variablesAction'](_0x3d75be,_0x1127f4))['then'](function(_0x18583b){_0x1cc739(_0x18583b);})[_0x3697('0x3f')](function(_0x5811f1){_0x449c1a(_0x5811f1);});})[_0x3697('0x3f')](function(_0x41533a){_0x449c1a(_0x41533a);});}else{ami['Action'](ut[_0x3697('0x68')](_0x3d75be,_0x1127f4))[_0x3697('0x3c')](function(_0x422c9e){_0x1cc739(_0x422c9e);})[_0x3697('0x3f')](function(_0x48a3f3){_0x449c1a(_0x48a3f3);});}});}Fax[_0x3697('0x1d')][_0x3697('0x55')]=function(_0x40e8ae,_0xef0f4){var _0x5af208=this;return new BPromise(function(_0x8e092c,_0x452f7c){var _0x53f899=uuid['v4']();var _0x13b460=ut[_0x3697('0x69')](_0x40e8ae,_0xef0f4);_0x5af208[_0x3697('0x11')][_0x53f899]=new Action(_0x53f899,_0xef0f4,_0x40e8ae);var _0x1569ca=_0x5af208[_0x3697('0x11')][_0x53f899];if(path['parse'](_0x40e8ae[_0x3697('0x4')])[_0x3697('0x6a')]===_0x3697('0x3a')){originate(_0x1569ca,_0x13b460,!![])[_0x3697('0x3c')](function(_0x39311d){_0x8e092c(_0x39311d);})[_0x3697('0x3f')](function(_0x31c9d6){_0x452f7c(_0x31c9d6);});}else{originate(_0x1569ca,_0x13b460,![])[_0x3697('0x3c')](function(_0x1004bb){_0x8e092c(_0x1004bb);})[_0x3697('0x3f')](function(_0x588dbd){_0x452f7c(_0x588dbd);});}});};Fax['prototype']['isTrunkReachable']=function(_0x3cb4e1){return!_[_0x3697('0x6b')](_0x3cb4e1)&&!_[_0x3697('0x6b')](_0x3cb4e1[_0x3697('0x25')])&&!_[_0x3697('0x6b')](_0x3cb4e1[_0x3697('0x6c')])&&_0x3cb4e1[_0x3697('0x6c')]&&!_[_0x3697('0x6b')](this['trunks'][util['format'](_0x3697('0x6d'),_0x3cb4e1[_0x3697('0x25')])])&&!_[_0x3697('0x6b')](this[_0x3697('0x6e')][util[_0x3697('0x61')]('SIP/%s',_0x3cb4e1['name'])][_0x3697('0x2e')])&&(this[_0x3697('0x6e')][util[_0x3697('0x61')](_0x3697('0x6d'),_0x3cb4e1[_0x3697('0x25')])][_0x3697('0x2e')]===_0x3697('0x6f')||this['trunks'][util['format'](_0x3697('0x6d'),_0x3cb4e1[_0x3697('0x25')])][_0x3697('0x2e')]===_0x3697('0x70'));};Fax[_0x3697('0x1d')]['checkTrunk']=function(_0x211a84,_0x140870){if(!this['isTrunkReachable'](_0x211a84)){ut[_0x3697('0x47')](_0x3697('0x71'),_[_0x3697('0x6b')](_0x211a84)?'':_0x211a84[_0x3697('0x25')]+'\x20Trunk\x20is\x20not\x20active');return{'isValid':![],'message':_0x3697('0x72')};}if(_[_0x3697('0x6b')](_0x140870[_0x3697('0x7')])){ut[_0x3697('0x47')](_0x3697('0x73'),JSON[_0x3697('0x3e')](_0x140870));return{'isValid':![],'message':_0x3697('0x74')};}if(_['isNil'](_0x140870[_0x3697('0x4')])){ut[_0x3697('0x47')](_0x3697('0x75'),JSON[_0x3697('0x3e')](_0x140870));return{'isValid':![],'message':_0x3697('0x76')};}return{'isValid':!![],'message':_0x3697('0x77')};};module[_0x3697('0x78')]=Fax; \ No newline at end of file diff --git a/server/services/ami/fax/rpcDb.js b/server/services/ami/fax/rpcDb.js index 72d605f..ea96072 100644 --- a/server/services/ami/fax/rpcDb.js +++ b/server/services/ami/fax/rpcDb.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xf6e5=['../../../config/logger','preview','inspect','notify','resolve','then','catch','util'];(function(_0x46395d,_0x550e3d){var _0x6455b6=function(_0x5d0b6e){while(--_0x5d0b6e){_0x46395d['push'](_0x46395d['shift']());}};_0x6455b6(++_0x550e3d);}(_0xf6e5,0x13f));var _0x5f6e=function(_0x4a112e,_0x1e05b5){_0x4a112e=_0x4a112e-0x0;var _0x1b13c2=_0xf6e5[_0x4a112e];return _0x1b13c2;};'use strict';var util=require(_0x5f6e('0x0'));var BPromise=require('bluebird');var logger=require(_0x5f6e('0x1'))(_0x5f6e('0x2'));var _=require('lodash');var faxAccount=require('../rpc/faxAccount');function loggerCatch(_0x31083f){return function(_0x29a9cd){logger['error'](_0x31083f,util[_0x5f6e('0x3')](_0x29a9cd,{'showHidden':![],'depth':null}));};}exports[_0x5f6e('0x4')]=function(_0x559252,_0x5367a7){return BPromise[_0x5f6e('0x5')]()[_0x5f6e('0x6')](faxAccount[_0x5f6e('0x4')](_0x559252,_0x5367a7))[_0x5f6e('0x7')](loggerCatch('[Notify]\x20'));}; \ No newline at end of file +var _0x5e7c=['util','../../../config/logger','lodash','../rpc/faxAccount','error','inspect','notify','[Notify]\x20'];(function(_0x3f1cb7,_0x5cdb7d){var _0x52d43c=function(_0x5d9070){while(--_0x5d9070){_0x3f1cb7['push'](_0x3f1cb7['shift']());}};_0x52d43c(++_0x5cdb7d);}(_0x5e7c,0x110));var _0xc5e7=function(_0x34e303,_0x2f2975){_0x34e303=_0x34e303-0x0;var _0x59b7c0=_0x5e7c[_0x34e303];return _0x59b7c0;};'use strict';var util=require(_0xc5e7('0x0'));var BPromise=require('bluebird');var logger=require(_0xc5e7('0x1'))('preview');var _=require(_0xc5e7('0x2'));var faxAccount=require(_0xc5e7('0x3'));function loggerCatch(_0x2a1834){return function(_0x417eae){logger[_0xc5e7('0x4')](_0x2a1834,util[_0xc5e7('0x5')](_0x417eae,{'showHidden':![],'depth':null}));};}exports[_0xc5e7('0x6')]=function(_0x979f89,_0x12bffc){return BPromise['resolve']()['then'](faxAccount[_0xc5e7('0x6')](_0x979f89,_0x12bffc))['catch'](loggerCatch(_0xc5e7('0x7')));}; \ No newline at end of file diff --git a/server/services/ami/fax/util/gs.js b/server/services/ami/fax/util/gs.js index e9941e3..a6d39e1 100644 --- a/server/services/ami/fax/util/gs.js +++ b/server/services/ami/fax/util/gs.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x9276=['Exec\x20gs','\x20Error\x20:','inspect','util','../../../../config/logger','fax','bluebird','child_process','exec','execute','info'];(function(_0x2d148b,_0x5c2bd9){var _0x59caeb=function(_0x859ba4){while(--_0x859ba4){_0x2d148b['push'](_0x2d148b['shift']());}};_0x59caeb(++_0x5c2bd9);}(_0x9276,0x87));var _0x6927=function(_0x2f778c,_0x221223){_0x2f778c=_0x2f778c-0x0;var _0xb6ba6f=_0x9276[_0x2f778c];return _0xb6ba6f;};'use strict';var util=require(_0x6927('0x0'));var logger=require(_0x6927('0x1'))(_0x6927('0x2'));var BPromise=require(_0x6927('0x3'));var exec=require(_0x6927('0x4'))[_0x6927('0x5')];exports[_0x6927('0x6')]=function(_0x45ef8e){return new BPromise(function(_0x3f52fc,_0xb15073){exec(_0x45ef8e,function(_0x266769,_0x1107d7,_0x3db0e6){logger[_0x6927('0x7')](_0x6927('0x8'),_0x1107d7);if(_0x266769){logger[_0x6927('0x7')](_0x6927('0x8'),_0x6927('0x9'),util[_0x6927('0xa')](_0x266769,{'showHidden':![],'depth':null}),_0x1107d7,_0x3db0e6);_0xb15073(_0x266769);}_0x3f52fc(_0x1107d7);});});}; \ No newline at end of file +var _0x0ed5=['Exec\x20gs','../../../../config/logger','bluebird','exec','execute','info'];(function(_0x1cd3c3,_0x2a5432){var _0x11d9b6=function(_0x1fc98c){while(--_0x1fc98c){_0x1cd3c3['push'](_0x1cd3c3['shift']());}};_0x11d9b6(++_0x2a5432);}(_0x0ed5,0x97));var _0x50ed=function(_0x1aee5e,_0x540935){_0x1aee5e=_0x1aee5e-0x0;var _0x167356=_0x0ed5[_0x1aee5e];return _0x167356;};'use strict';var util=require('util');var logger=require(_0x50ed('0x0'))('fax');var BPromise=require(_0x50ed('0x1'));var exec=require('child_process')[_0x50ed('0x2')];exports[_0x50ed('0x3')]=function(_0x5d962c){return new BPromise(function(_0x103d1c,_0x4e9283){exec(_0x5d962c,function(_0x16a59e,_0x1b45e1,_0x349205){logger[_0x50ed('0x4')]('Exec\x20gs',_0x1b45e1);if(_0x16a59e){logger[_0x50ed('0x4')](_0x50ed('0x5'),'\x20Error\x20:',util['inspect'](_0x16a59e,{'showHidden':![],'depth':null}),_0x1b45e1,_0x349205);_0x4e9283(_0x16a59e);}_0x103d1c(_0x1b45e1);});});}; \ No newline at end of file diff --git a/server/services/ami/fax/util/util.js b/server/services/ami/fax/util/util.js index ba491c8..9f4e4af 100644 --- a/server/services/ami/fax/util/util.js +++ b/server/services/ami/fax/util/util.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xb9a7=['localstationid','variablesAction','uniqueid','originate','xcally-motion-fax','from-sip','\x22%s\x22\x20<%s>','headerinfo','lodash','message','logger','info','inspect','addVariables','ecm','minrate','maxrate','gateway','faxdetect'];(function(_0x49990b,_0x13c15f){var _0x6f9811=function(_0x899911){while(--_0x899911){_0x49990b['push'](_0x49990b['shift']());}};_0x6f9811(++_0x13c15f);}(_0xb9a7,0x112));var _0x7b9a=function(_0x199572,_0x33e667){_0x199572=_0x199572-0x0;var _0x13cfa3=_0xb9a7[_0x199572];return _0x13cfa3;};'use strict';var util=require('util');var _=require(_0x7b9a('0x0'));var moment=require('moment');var logger=require('../../../../config/logger')('fax');exports[_0x7b9a('0x1')]=function(_0x559be2){return{'message':_0x559be2};};exports[_0x7b9a('0x2')]=function(_0x40ef7d,_0x37b25b){logger[_0x7b9a('0x3')](_0x40ef7d,util[_0x7b9a('0x4')](_0x37b25b,{'showHidden':![],'depth':null}));};exports[_0x7b9a('0x5')]=function(_0x22764f,_0x7019fd){var _0x37ce81={'XMF-ECM':_0x7019fd[_0x7b9a('0x6')],'XMF-HEADERINFO':_0x7019fd['headerinfo'],'XMF-MINRATE':_0x7019fd[_0x7b9a('0x7')],'XMF-MAXRATE':_0x7019fd[_0x7b9a('0x8')],'XMF-MODEM':util['format']('\x22%s\x22',_0x7019fd['modem']),'XMF-GATEWAY':_0x7019fd[_0x7b9a('0x9')],'XMF-FAXDETECT':_0x7019fd[_0x7b9a('0xa')],'XMF-T38TIMEOUT':_0x7019fd['t38timeout'],'XMF-LOCALSTATIONID':_0x7019fd[_0x7b9a('0xb')],'XMF-PATH':_0x22764f['path']};return _0x37ce81;};exports[_0x7b9a('0xc')]=function(_0x597732,_0x3af176){return{'actionid':_0x597732[_0x7b9a('0xd')],'action':_0x7b9a('0xe'),'channel':_0x597732['channel'],'Exten':_0x7b9a('0xf'),'Context':_0x7b9a('0x10'),'Priority':'1','callerid':util['format'](_0x7b9a('0x11'),_0x597732[_0x7b9a('0x12')]?_0x597732['headerinfo']:'',_0x597732[_0x7b9a('0xb')]),'variable':_0x3af176,'timeout':0x1e*0x3e8,'async':!![],'channelid':_0x597732[_0x7b9a('0xd')]};}; \ No newline at end of file +var _0xf72b=['addVariables','ecm','headerinfo','minrate','maxrate','\x22%s\x22','gateway','faxdetect','localstationid','path','variablesAction','uniqueid','originate','channel','from-sip','format','\x22%s\x22\x20<%s>','util','moment','fax','message','logger','info','inspect'];(function(_0x1b267a,_0x36d65b){var _0x3a607a=function(_0x2efdda){while(--_0x2efdda){_0x1b267a['push'](_0x1b267a['shift']());}};_0x3a607a(++_0x36d65b);}(_0xf72b,0x1d9));var _0xbf72=function(_0x4c9d60,_0x56031d){_0x4c9d60=_0x4c9d60-0x0;var _0x494807=_0xf72b[_0x4c9d60];return _0x494807;};'use strict';var util=require(_0xbf72('0x0'));var _=require('lodash');var moment=require(_0xbf72('0x1'));var logger=require('../../../../config/logger')(_0xbf72('0x2'));exports[_0xbf72('0x3')]=function(_0x5a9feb){return{'message':_0x5a9feb};};exports[_0xbf72('0x4')]=function(_0x550a9e,_0x37afc8){logger[_0xbf72('0x5')](_0x550a9e,util[_0xbf72('0x6')](_0x37afc8,{'showHidden':![],'depth':null}));};exports[_0xbf72('0x7')]=function(_0x5ee060,_0x41c11d){var _0xc0842b={'XMF-ECM':_0x41c11d[_0xbf72('0x8')],'XMF-HEADERINFO':_0x41c11d[_0xbf72('0x9')],'XMF-MINRATE':_0x41c11d[_0xbf72('0xa')],'XMF-MAXRATE':_0x41c11d[_0xbf72('0xb')],'XMF-MODEM':util['format'](_0xbf72('0xc'),_0x41c11d['modem']),'XMF-GATEWAY':_0x41c11d[_0xbf72('0xd')],'XMF-FAXDETECT':_0x41c11d[_0xbf72('0xe')],'XMF-T38TIMEOUT':_0x41c11d['t38timeout'],'XMF-LOCALSTATIONID':_0x41c11d[_0xbf72('0xf')],'XMF-PATH':_0x5ee060[_0xbf72('0x10')]};return _0xc0842b;};exports[_0xbf72('0x11')]=function(_0x145acb,_0x2957c5){return{'actionid':_0x145acb[_0xbf72('0x12')],'action':_0xbf72('0x13'),'channel':_0x145acb[_0xbf72('0x14')],'Exten':'xcally-motion-fax','Context':_0xbf72('0x15'),'Priority':'1','callerid':util[_0xbf72('0x16')](_0xbf72('0x17'),_0x145acb['headerinfo']?_0x145acb[_0xbf72('0x9')]:'',_0x145acb['localstationid']),'variable':_0x2957c5,'timeout':0x1e*0x3e8,'async':!![],'channelid':_0x145acb['uniqueid']};}; \ No newline at end of file diff --git a/server/services/ami/index.js b/server/services/ami/index.js index 48b4693..cb05bf8 100644 --- a/server/services/ami/index.js +++ b/server/services/ami/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x4f34=['./rpc/cmHopperHistory','./rpc/voiceExtension','./rpc/faxAccount','./rpc/integrations/salesforce','./rpc/integrations/sugarcrm','./rpc/integrations/desk','./rpc/integrations/zoho','./rpc/integrations/vtiger','./rpc/integrations/servicenow','./rpc/integrations/dynamics365','get','hour','resolve','then','getAgents','initAgents','initTelephones','getTrunks','initTrunks','getVoiceQueues','initVoiceQueues','getTriggers','initTemplates','getSalesforceAccounts','initSalesforceAccounts','getSugarcrmAccounts','getFreshdeskAccounts','initFreshdeskAccounts','getDeskAccounts','initDeskAccounts','getZohoAccounts','initZohoAccounts','getVtigerAccounts','initVtigerAccounts','getFreshsalesAccounts','initFreshsalesAccounts','getDynamics365Accounts','initDynamics365Accounts','getCampaigns','initCampaigns','getVoiceExtensions','getFaxAccounts','initFaxAccounts','getVoiceQueueReports','getVoiceQueueHopperHistory','initVoiceQueueHopperHistory','getCampaignHopperHistory','initVoiceCallReports','log','sync','bluebird','util','./server','./realtime','./report','./acw','./trigger','./dialer','./preview','./fax','./rpc/voiceQueue','./rpc/voiceQueueReport','./rpc/voiceCallReport','./rpc/trunk','./rpc/trigger','./rpc/template'];(function(_0x11437a,_0x4f9853){var _0x42343a=function(_0x550dfc){while(--_0x550dfc){_0x11437a['push'](_0x11437a['shift']());}};_0x42343a(++_0x4f9853);}(_0x4f34,0x1be));var _0x44f3=function(_0x19bdab,_0x11ee18){_0x19bdab=_0x19bdab-0x0;var _0x1e5be1=_0x4f34[_0x19bdab];return _0x1e5be1;};'use strict';var BPromise=require(_0x44f3('0x0'));var util=require(_0x44f3('0x1'));var moment=require('moment');var server=require(_0x44f3('0x2'));var Realtime=require(_0x44f3('0x3'));var Report=require(_0x44f3('0x4'));var Acw=require(_0x44f3('0x5'));var Trigger=require(_0x44f3('0x6'));var Dialer=require(_0x44f3('0x7'));var Preview=require(_0x44f3('0x8'));var Fax=require(_0x44f3('0x9'));var user=require('./rpc/user');var voiceQueue=require(_0x44f3('0xa'));var voiceQueueReport=require(_0x44f3('0xb'));var voiceCallReport=require(_0x44f3('0xc'));var trunk=require(_0x44f3('0xd'));var trigger=require(_0x44f3('0xe'));var template=require(_0x44f3('0xf'));var cmHopperHistory=require(_0x44f3('0x10'));var campaign=require('./rpc/campaign');var voiceExtension=require(_0x44f3('0x11'));var faxAccount=require(_0x44f3('0x12'));var zendesk=require('./rpc/integrations/zendesk');var salesforce=require(_0x44f3('0x13'));var sugarcrm=require(_0x44f3('0x14'));var freshdesk=require('./rpc/integrations/freshdesk');var desk=require(_0x44f3('0x15'));var zoho=require(_0x44f3('0x16'));var vtiger=require(_0x44f3('0x17'));var freshsales=require('./rpc/integrations/freshsales');var servicenow=require(_0x44f3('0x18'));var dynamics365=require(_0x44f3('0x19'));var realtime=new Realtime();var report=new Report(realtime);var acw=new Acw(realtime);var channelTrigger=new Trigger(realtime);var preview=new Preview(realtime);var dialer=new Dialer(realtime,preview);var fax=new Fax(realtime);var isTrue=!![];var initP=!![];function ifMidnight(){if(moment()[_0x44f3('0x1a')](_0x44f3('0x1b'))===0x0&&initP){initP=![];isTrue=!![];initParams();}if(moment()[_0x44f3('0x1a')](_0x44f3('0x1b'))===0x1&&isTrue){isTrue=![];initP=!![];}}function initRealtime(){ifMidnight();return BPromise[_0x44f3('0x1c')]()[_0x44f3('0x1d')](user[_0x44f3('0x1e')]())[_0x44f3('0x1d')](realtime[_0x44f3('0x1f')]())[_0x44f3('0x1d')](user['getTelephones']())['then'](realtime[_0x44f3('0x20')]())[_0x44f3('0x1d')](trunk[_0x44f3('0x21')]())['then'](realtime[_0x44f3('0x22')]())['then'](voiceQueue[_0x44f3('0x23')]())[_0x44f3('0x1d')](realtime[_0x44f3('0x24')]())[_0x44f3('0x1d')](trigger[_0x44f3('0x25')]())[_0x44f3('0x1d')](realtime['initTriggers']())[_0x44f3('0x1d')](template['getTemplates']())['then'](realtime[_0x44f3('0x26')]())[_0x44f3('0x1d')](zendesk['getZendeskAccounts']())[_0x44f3('0x1d')](realtime['initZendeskAccounts']())[_0x44f3('0x1d')](salesforce[_0x44f3('0x27')]())[_0x44f3('0x1d')](realtime[_0x44f3('0x28')]())[_0x44f3('0x1d')](sugarcrm[_0x44f3('0x29')]())[_0x44f3('0x1d')](realtime['initSugarcrmAccounts']())[_0x44f3('0x1d')](freshdesk[_0x44f3('0x2a')]())[_0x44f3('0x1d')](realtime[_0x44f3('0x2b')]())[_0x44f3('0x1d')](desk[_0x44f3('0x2c')]())[_0x44f3('0x1d')](realtime[_0x44f3('0x2d')]())[_0x44f3('0x1d')](zoho[_0x44f3('0x2e')]())[_0x44f3('0x1d')](realtime[_0x44f3('0x2f')]())['then'](vtiger[_0x44f3('0x30')]())[_0x44f3('0x1d')](realtime[_0x44f3('0x31')]())[_0x44f3('0x1d')](freshsales[_0x44f3('0x32')]())[_0x44f3('0x1d')](realtime[_0x44f3('0x33')]())[_0x44f3('0x1d')](servicenow['getServicenowAccounts']())[_0x44f3('0x1d')](realtime['initServicenowAccounts']())['then'](dynamics365[_0x44f3('0x34')]())[_0x44f3('0x1d')](realtime[_0x44f3('0x35')]())[_0x44f3('0x1d')](campaign[_0x44f3('0x36')]())['then'](realtime[_0x44f3('0x37')]())['then'](voiceExtension[_0x44f3('0x38')]())['then'](realtime['initVoiceExtensions']())[_0x44f3('0x1d')](faxAccount[_0x44f3('0x39')]())[_0x44f3('0x1d')](realtime[_0x44f3('0x3a')]())['then'](function(){return realtime;});}function initParams(){return BPromise[_0x44f3('0x1c')]()['then'](voiceQueueReport[_0x44f3('0x3b')]())[_0x44f3('0x1d')](realtime['initVoiceQueueReports']())[_0x44f3('0x1d')](cmHopperHistory[_0x44f3('0x3c')]())[_0x44f3('0x1d')](realtime[_0x44f3('0x3d')]())[_0x44f3('0x1d')](cmHopperHistory[_0x44f3('0x3e')]())['then'](realtime['initCampaignHopperHistory']())[_0x44f3('0x1d')](voiceCallReport['getVoiceCallReports']())['then'](realtime[_0x44f3('0x3f')]())[_0x44f3('0x1d')](function(_0x532a0f){})['catch'](function(_0x136fbf){console[_0x44f3('0x40')](_0x136fbf);});}function main(){return server['listen'](realtime,preview,fax)[_0x44f3('0x1d')](function(_0x1185f0){return initRealtime();})[_0x44f3('0x1d')](function(){return initParams();})[_0x44f3('0x1d')](function(){report[_0x44f3('0x41')]();setInterval(initRealtime,0x1388);})['catch'](function(_0x2a7c7e){console[_0x44f3('0x40')](_0x2a7c7e);});}main(); \ No newline at end of file +var _0x5ce8=['catch','bluebird','util','moment','./report','./acw','./dialer','./preview','./fax','./rpc/user','./rpc/voiceQueue','./rpc/voiceQueueReport','./rpc/voiceCallReport','./rpc/trunk','./rpc/cmHopperHistory','./rpc/voiceExtension','./rpc/faxAccount','./rpc/integrations/zendesk','./rpc/integrations/salesforce','./rpc/integrations/freshdesk','./rpc/integrations/desk','./rpc/integrations/zoho','./rpc/integrations/vtiger','./rpc/integrations/freshsales','./rpc/integrations/servicenow','./rpc/integrations/dynamics365','get','hour','resolve','then','getAgents','getTelephones','getTrunks','initTrunks','initVoiceQueues','getTriggers','initTriggers','getTemplates','initTemplates','getZendeskAccounts','initZendeskAccounts','getSalesforceAccounts','initSalesforceAccounts','getSugarcrmAccounts','initSugarcrmAccounts','initFreshdeskAccounts','getDeskAccounts','initDeskAccounts','getZohoAccounts','initZohoAccounts','getVtigerAccounts','initVtigerAccounts','getFreshsalesAccounts','initFreshsalesAccounts','getServicenowAccounts','initServicenowAccounts','getDynamics365Accounts','getCampaigns','getVoiceExtensions','initVoiceExtensions','getFaxAccounts','initFaxAccounts','getVoiceQueueReports','initVoiceQueueReports','getVoiceQueueHopperHistory','initVoiceQueueHopperHistory','initCampaignHopperHistory','getVoiceCallReports','log','listen','sync'];(function(_0x486195,_0x932d91){var _0x293c05=function(_0x2e19b2){while(--_0x2e19b2){_0x486195['push'](_0x486195['shift']());}};_0x293c05(++_0x932d91);}(_0x5ce8,0x11d));var _0x85ce=function(_0x25d103,_0x4c2127){_0x25d103=_0x25d103-0x0;var _0x29cfee=_0x5ce8[_0x25d103];return _0x29cfee;};'use strict';var BPromise=require(_0x85ce('0x0'));var util=require(_0x85ce('0x1'));var moment=require(_0x85ce('0x2'));var server=require('./server');var Realtime=require('./realtime');var Report=require(_0x85ce('0x3'));var Acw=require(_0x85ce('0x4'));var Trigger=require('./trigger');var Dialer=require(_0x85ce('0x5'));var Preview=require(_0x85ce('0x6'));var Fax=require(_0x85ce('0x7'));var user=require(_0x85ce('0x8'));var voiceQueue=require(_0x85ce('0x9'));var voiceQueueReport=require(_0x85ce('0xa'));var voiceCallReport=require(_0x85ce('0xb'));var trunk=require(_0x85ce('0xc'));var trigger=require('./rpc/trigger');var template=require('./rpc/template');var cmHopperHistory=require(_0x85ce('0xd'));var campaign=require('./rpc/campaign');var voiceExtension=require(_0x85ce('0xe'));var faxAccount=require(_0x85ce('0xf'));var zendesk=require(_0x85ce('0x10'));var salesforce=require(_0x85ce('0x11'));var sugarcrm=require('./rpc/integrations/sugarcrm');var freshdesk=require(_0x85ce('0x12'));var desk=require(_0x85ce('0x13'));var zoho=require(_0x85ce('0x14'));var vtiger=require(_0x85ce('0x15'));var freshsales=require(_0x85ce('0x16'));var servicenow=require(_0x85ce('0x17'));var dynamics365=require(_0x85ce('0x18'));var realtime=new Realtime();var report=new Report(realtime);var acw=new Acw(realtime);var channelTrigger=new Trigger(realtime);var preview=new Preview(realtime);var dialer=new Dialer(realtime,preview);var fax=new Fax(realtime);var isTrue=!![];var initP=!![];function ifMidnight(){if(moment()[_0x85ce('0x19')]('hour')===0x0&&initP){initP=![];isTrue=!![];initParams();}if(moment()[_0x85ce('0x19')](_0x85ce('0x1a'))===0x1&&isTrue){isTrue=![];initP=!![];}}function initRealtime(){ifMidnight();return BPromise[_0x85ce('0x1b')]()[_0x85ce('0x1c')](user[_0x85ce('0x1d')]())[_0x85ce('0x1c')](realtime['initAgents']())[_0x85ce('0x1c')](user[_0x85ce('0x1e')]())['then'](realtime['initTelephones']())[_0x85ce('0x1c')](trunk[_0x85ce('0x1f')]())['then'](realtime[_0x85ce('0x20')]())[_0x85ce('0x1c')](voiceQueue['getVoiceQueues']())[_0x85ce('0x1c')](realtime[_0x85ce('0x21')]())[_0x85ce('0x1c')](trigger[_0x85ce('0x22')]())[_0x85ce('0x1c')](realtime[_0x85ce('0x23')]())[_0x85ce('0x1c')](template[_0x85ce('0x24')]())[_0x85ce('0x1c')](realtime[_0x85ce('0x25')]())[_0x85ce('0x1c')](zendesk[_0x85ce('0x26')]())[_0x85ce('0x1c')](realtime[_0x85ce('0x27')]())[_0x85ce('0x1c')](salesforce[_0x85ce('0x28')]())[_0x85ce('0x1c')](realtime[_0x85ce('0x29')]())[_0x85ce('0x1c')](sugarcrm[_0x85ce('0x2a')]())[_0x85ce('0x1c')](realtime[_0x85ce('0x2b')]())[_0x85ce('0x1c')](freshdesk['getFreshdeskAccounts']())[_0x85ce('0x1c')](realtime[_0x85ce('0x2c')]())[_0x85ce('0x1c')](desk[_0x85ce('0x2d')]())[_0x85ce('0x1c')](realtime[_0x85ce('0x2e')]())[_0x85ce('0x1c')](zoho[_0x85ce('0x2f')]())[_0x85ce('0x1c')](realtime[_0x85ce('0x30')]())[_0x85ce('0x1c')](vtiger[_0x85ce('0x31')]())[_0x85ce('0x1c')](realtime[_0x85ce('0x32')]())[_0x85ce('0x1c')](freshsales[_0x85ce('0x33')]())['then'](realtime[_0x85ce('0x34')]())['then'](servicenow[_0x85ce('0x35')]())['then'](realtime[_0x85ce('0x36')]())[_0x85ce('0x1c')](dynamics365[_0x85ce('0x37')]())['then'](realtime['initDynamics365Accounts']())[_0x85ce('0x1c')](campaign[_0x85ce('0x38')]())['then'](realtime['initCampaigns']())['then'](voiceExtension[_0x85ce('0x39')]())['then'](realtime[_0x85ce('0x3a')]())[_0x85ce('0x1c')](faxAccount[_0x85ce('0x3b')]())['then'](realtime[_0x85ce('0x3c')]())[_0x85ce('0x1c')](function(){return realtime;});}function initParams(){return BPromise[_0x85ce('0x1b')]()[_0x85ce('0x1c')](voiceQueueReport[_0x85ce('0x3d')]())[_0x85ce('0x1c')](realtime[_0x85ce('0x3e')]())['then'](cmHopperHistory[_0x85ce('0x3f')]())['then'](realtime[_0x85ce('0x40')]())[_0x85ce('0x1c')](cmHopperHistory['getCampaignHopperHistory']())['then'](realtime[_0x85ce('0x41')]())[_0x85ce('0x1c')](voiceCallReport[_0x85ce('0x42')]())[_0x85ce('0x1c')](realtime['initVoiceCallReports']())[_0x85ce('0x1c')](function(_0x3a466d){})['catch'](function(_0xa563b6){console[_0x85ce('0x43')](_0xa563b6);});}function main(){return server[_0x85ce('0x44')](realtime,preview,fax)[_0x85ce('0x1c')](function(_0x3b3611){return initRealtime();})[_0x85ce('0x1c')](function(){return initParams();})[_0x85ce('0x1c')](function(){report[_0x85ce('0x45')]();setInterval(initRealtime,0x1388);})[_0x85ce('0x46')](function(_0x3a372e){console[_0x85ce('0x43')](_0x3a372e);});}main(); \ No newline at end of file diff --git a/server/services/ami/model/agent.js b/server/services/ami/model/agent.js index 69fb08f..c380b70 100644 --- a/server/services/ami/model/agent.js +++ b/server/services/ami/model/agent.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x2285=['format','user:%s','emit','user:save','exports','util','md5','ioredis','redis','defaults','localhost','socket.io-emitter','name','email','accountcode','fullname','state','unknown','stateTime','status','address','phone','mobile','interface','online','voiceStatus','voiceStatusTime','voiceStatusCallerIdNumber','voiceStatusQueue','onhold','local','prototype','updateStatusRealtime','toLowerCase','not_inuse','idle','inuse','talking','statePause','toNumber','stringify'];(function(_0x79c8df,_0x5a9914){var _0x4851d5=function(_0x1b0052){while(--_0x1b0052){_0x79c8df['push'](_0x79c8df['shift']());}};_0x4851d5(++_0x5a9914);}(_0x2285,0x80));var _0x5228=function(_0x1502e2,_0x33b912){_0x1502e2=_0x1502e2-0x0;var _0x4b3717=_0x2285[_0x1502e2];return _0x4b3717;};'use strict';var _=require('lodash');var util=require(_0x5228('0x0'));var moment=require('moment');var md5=require(_0x5228('0x1'));var Redis=require(_0x5228('0x2'));var config=require('../../../config/environment');config[_0x5228('0x3')]=_[_0x5228('0x4')](config[_0x5228('0x3')],{'host':_0x5228('0x5'),'port':0x18eb});var io=require(_0x5228('0x6'))(new Redis(config[_0x5228('0x3')]));function Agent(_0x439bdd){this['id']=_0x439bdd['id']||0x0;this[_0x5228('0x7')]=_0x439bdd[_0x5228('0x7')]||'';this[_0x5228('0x8')]=_0x439bdd[_0x5228('0x8')]||'';this['accountcode']=_0x439bdd[_0x5228('0x9')]||'';this['fullname']=_0x439bdd[_0x5228('0xa')]||'';this[_0x5228('0xb')]=_0x5228('0xc');this[_0x5228('0xd')]=0x0;this[_0x5228('0xe')]=_0x5228('0xc');this[_0x5228('0xf')]='';this[_0x5228('0x10')]='';this[_0x5228('0x11')]='';this[_0x5228('0x12')]='';this[_0x5228('0x13')]=_0x439bdd['online']||![];this[_0x5228('0x14')]='unknown';this[_0x5228('0x15')]=0x0;this[_0x5228('0x16')]='';this[_0x5228('0x17')]='';this[_0x5228('0x18')]=![];this[_0x5228('0x19')]=![];this[_0x5228('0x1')]='';}Agent[_0x5228('0x1a')][_0x5228('0x1b')]=function(_0x20e9a8){var _0x4f4d5e;if(_0x20e9a8&&_0x20e9a8[_0x5228('0xb')]){_0x4f4d5e=_0x20e9a8['state'][_0x5228('0x1c')]();switch(_0x4f4d5e){case _0x5228('0x1d'):_0x4f4d5e=_0x5228('0x1e');break;case _0x5228('0x1f'):_0x4f4d5e=_0x5228('0x20');break;}}if(_0x4f4d5e&&this['voiceStatus']!==_0x4f4d5e||_0x20e9a8[_0x5228('0x21')]){this[_0x5228('0x15')]=_[_0x5228('0x22')](moment()['format']('x'));}if(_0x4f4d5e){this['voiceStatus']=_0x4f4d5e;}var _0xf0bc0c={'id':this['id'],'name':this[_0x5228('0x7')],'email':this[_0x5228('0x8')],'accountcode':this['accountcode'],'fullname':this[_0x5228('0xa')],'state':this[_0x5228('0xb')],'stateTime':this[_0x5228('0xd')],'status':this['status'],'address':this[_0x5228('0xf')],'online':this[_0x5228('0x13')],'voiceStatus':this['voiceStatus'],'voiceStatusTime':this[_0x5228('0x15')],'voiceStatusCallerIdNumber':this['voiceStatusCallerIdNumber'],'voiceStatusQueue':this[_0x5228('0x17')],'interface':this[_0x5228('0x12')],'onhold':this['onhold']};var _0x13e202=md5(JSON[_0x5228('0x23')](_0xf0bc0c));if(this['md5']!==_0x13e202){this[_0x5228('0x1')]=_0x13e202;io['to'](util[_0x5228('0x24')](_0x5228('0x25'),_0xf0bc0c[_0x5228('0x7')]))[_0x5228('0x26')](_0x5228('0x27'),_0xf0bc0c);}};module[_0x5228('0x28')]=Agent; \ No newline at end of file +var _0x2443=['idle','inuse','talking','statePause','voiceStatusTime','toNumber','format','voiceStatusQueue','onhold','user:%s','emit','user:save','exports','lodash','util','moment','md5','ioredis','../../../config/environment','redis','defaults','socket.io-emitter','name','email','accountcode','fullname','state','stateTime','status','unknown','address','phone','interface','online','voiceStatus','voiceStatusCallerIdNumber','local','prototype','updateStatusRealtime','toLowerCase','not_inuse'];(function(_0x3434b3,_0x3bd6f2){var _0x28fe04=function(_0x666190){while(--_0x666190){_0x3434b3['push'](_0x3434b3['shift']());}};_0x28fe04(++_0x3bd6f2);}(_0x2443,0x88));var _0x3244=function(_0x607269,_0x3d618a){_0x607269=_0x607269-0x0;var _0x3f4ba0=_0x2443[_0x607269];return _0x3f4ba0;};'use strict';var _=require(_0x3244('0x0'));var util=require(_0x3244('0x1'));var moment=require(_0x3244('0x2'));var md5=require(_0x3244('0x3'));var Redis=require(_0x3244('0x4'));var config=require(_0x3244('0x5'));config[_0x3244('0x6')]=_[_0x3244('0x7')](config[_0x3244('0x6')],{'host':'localhost','port':0x18eb});var io=require(_0x3244('0x8'))(new Redis(config['redis']));function Agent(_0xf2937){this['id']=_0xf2937['id']||0x0;this[_0x3244('0x9')]=_0xf2937[_0x3244('0x9')]||'';this[_0x3244('0xa')]=_0xf2937[_0x3244('0xa')]||'';this['accountcode']=_0xf2937[_0x3244('0xb')]||'';this[_0x3244('0xc')]=_0xf2937[_0x3244('0xc')]||'';this[_0x3244('0xd')]='unknown';this[_0x3244('0xe')]=0x0;this[_0x3244('0xf')]=_0x3244('0x10');this[_0x3244('0x11')]='';this[_0x3244('0x12')]='';this['mobile']='';this[_0x3244('0x13')]='';this[_0x3244('0x14')]=_0xf2937[_0x3244('0x14')]||![];this[_0x3244('0x15')]=_0x3244('0x10');this['voiceStatusTime']=0x0;this[_0x3244('0x16')]='';this['voiceStatusQueue']='';this['onhold']=![];this[_0x3244('0x17')]=![];this[_0x3244('0x3')]='';}Agent[_0x3244('0x18')][_0x3244('0x19')]=function(_0x3f94b3){var _0x567b4c;if(_0x3f94b3&&_0x3f94b3['state']){_0x567b4c=_0x3f94b3[_0x3244('0xd')][_0x3244('0x1a')]();switch(_0x567b4c){case _0x3244('0x1b'):_0x567b4c=_0x3244('0x1c');break;case _0x3244('0x1d'):_0x567b4c=_0x3244('0x1e');break;}}if(_0x567b4c&&this['voiceStatus']!==_0x567b4c||_0x3f94b3[_0x3244('0x1f')]){this[_0x3244('0x20')]=_[_0x3244('0x21')](moment()[_0x3244('0x22')]('x'));}if(_0x567b4c){this['voiceStatus']=_0x567b4c;}var _0xd4cb2e={'id':this['id'],'name':this['name'],'email':this[_0x3244('0xa')],'accountcode':this[_0x3244('0xb')],'fullname':this[_0x3244('0xc')],'state':this['state'],'stateTime':this[_0x3244('0xe')],'status':this['status'],'address':this[_0x3244('0x11')],'online':this[_0x3244('0x14')],'voiceStatus':this[_0x3244('0x15')],'voiceStatusTime':this[_0x3244('0x20')],'voiceStatusCallerIdNumber':this[_0x3244('0x16')],'voiceStatusQueue':this[_0x3244('0x23')],'interface':this[_0x3244('0x13')],'onhold':this[_0x3244('0x24')]};var _0x175ace=md5(JSON['stringify'](_0xd4cb2e));if(this[_0x3244('0x3')]!==_0x175ace){this[_0x3244('0x3')]=_0x175ace;io['to'](util[_0x3244('0x22')](_0x3244('0x25'),_0xd4cb2e[_0x3244('0x9')]))[_0x3244('0x26')](_0x3244('0x27'),_0xd4cb2e);}};module[_0x3244('0x28')]=Agent; \ No newline at end of file diff --git a/server/services/ami/model/campaign.js b/server/services/ami/model/campaign.js index 356c94b..6b0069f 100644 --- a/server/services/ami/model/campaign.js +++ b/server/services/ami/model/campaign.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x367c=['TrunkBackup','Trunk','Interval','SquareProject','dialQueueProject','dialAMDInitialSilence','dialAMDGreeting','dialAMDAfterGreetingSilence','dialAMDTotalAnalysisTime','dialAMDMinWordLength','dialAMDBetweenWordsSilence','dialAMDMaximumNumberOfWords','dialAMDSilenceThreshold','dialAMDMaximumWordLength','exports','name','type','campaign','temp','ivrAnswerCallsDay','ivrTotalCallsDays','sendMessageOneNotActive','active','dialTimezone','dialGlobalInterval','dialOriginateCallerIdName','dialOriginateCallerIdNumber','dialOriginateTimeout','dialCongestionMaxRetry','dialCongestionRetryFrequency','dialBusyMaxRetry','dialBusyRetryFrequency','dialNoAnswerMaxRetry','dialNoAnswerRetryFrequency','dialGlobalMaxRetry','dialNoSuchNumberMaxRetry','dialNoSuchNumberRetryFrequency','dialDropMaxRetry','dialDropRetryFrequency','dialAbandonedRetryFrequency','dialMachineMaxRetry','dialMachineRetryFrequency','dialAgentRejectRetryFrequency','dialOrderByScheduledAt','dialPrefix','dialRandomLastDigitCallerIdNumber','dialCutDigit'];(function(_0x4f82bb,_0x2a0185){var _0x8e29a7=function(_0x29a6f1){while(--_0x29a6f1){_0x4f82bb['push'](_0x4f82bb['shift']());}};_0x8e29a7(++_0x2a0185);}(_0x367c,0xcb));var _0xc367=function(_0x36eaaa,_0x326732){_0x36eaaa=_0x36eaaa-0x0;var _0x461349=_0x367c[_0x36eaaa];return _0x461349;};'use strict';function Campaign(_0x3b01bc){this['id']=_0x3b01bc['id']||0x0;this[_0xc367('0x0')]=_0x3b01bc[_0xc367('0x0')]||'';this[_0xc367('0x1')]=_0x3b01bc[_0xc367('0x1')]||_0xc367('0x2');this['originated']=0x0;this[_0xc367('0x3')]=0x0;this[_0xc367('0x4')]=0x0;this[_0xc367('0x5')]=0x0;this['message']='';this[_0xc367('0x6')]=!![];this[_0xc367('0x7')]=_0x3b01bc['active'];this['limitCalls']=_0x3b01bc['limitCalls'];this[_0xc367('0x8')]=_0x3b01bc[_0xc367('0x8')]||null;this[_0xc367('0x9')]=_0x3b01bc['dialGlobalInterval']?_0x3b01bc[_0xc367('0x9')]:null;this['dialOriginateCallerIdName']=_0x3b01bc[_0xc367('0xa')];this[_0xc367('0xb')]=_0x3b01bc[_0xc367('0xb')];this[_0xc367('0xc')]=_0x3b01bc[_0xc367('0xc')]||0x1e;this[_0xc367('0xd')]=_0x3b01bc[_0xc367('0xd')];this[_0xc367('0xe')]=_0x3b01bc['dialCongestionRetryFrequency'];this['dialBusyMaxRetry']=_0x3b01bc[_0xc367('0xf')];this[_0xc367('0x10')]=_0x3b01bc[_0xc367('0x10')];this[_0xc367('0x11')]=_0x3b01bc[_0xc367('0x11')];this[_0xc367('0x12')]=_0x3b01bc['dialNoAnswerRetryFrequency'];this[_0xc367('0x13')]=_0x3b01bc['dialGlobalMaxRetry'];this['dialNoSuchNumberMaxRetry']=_0x3b01bc[_0xc367('0x14')]||0x3;this[_0xc367('0x15')]=_0x3b01bc[_0xc367('0x15')]||0x96;this[_0xc367('0x16')]=_0x3b01bc[_0xc367('0x16')]||0x3;this[_0xc367('0x17')]=_0x3b01bc[_0xc367('0x17')]||0x96;this['dialAbandonedMaxRetry']=_0x3b01bc['dialAbandonedMaxRetry']||0x3;this['dialAbandonedRetryFrequency']=_0x3b01bc[_0xc367('0x18')]||0x96;this['dialMachineMaxRetry']=_0x3b01bc[_0xc367('0x19')]||0x3;this[_0xc367('0x1a')]=_0x3b01bc[_0xc367('0x1a')]||0x96;this['dialAgentRejectMaxRetry']=_0x3b01bc['dialAgentRejectMaxRetry']||0x3;this[_0xc367('0x1b')]=_0x3b01bc[_0xc367('0x1b')]||0x96;this['dialOrderByScheduledAt']=_0x3b01bc[_0xc367('0x1c')]||'DESC';this[_0xc367('0x1d')]=_0x3b01bc[_0xc367('0x1d')]||undefined;this['dialRandomLastDigitCallerIdNumber']=_0x3b01bc[_0xc367('0x1e')]||undefined;this['dialCutDigit']=_0x3b01bc[_0xc367('0x1f')]||undefined;this[_0xc367('0x20')]=_0x3b01bc[_0xc367('0x20')]?_0x3b01bc['TrunkBackup']:undefined;this['Trunk']=_0x3b01bc[_0xc367('0x21')]?_0x3b01bc[_0xc367('0x21')]:undefined;this[_0xc367('0x22')]=_0x3b01bc[_0xc367('0x22')]?_0x3b01bc[_0xc367('0x22')]:undefined;this[_0xc367('0x23')]=_0x3b01bc[_0xc367('0x23')]?_0x3b01bc[_0xc367('0x23')]:undefined;this[_0xc367('0x24')]=_0x3b01bc[_0xc367('0x23')]?_0x3b01bc[_0xc367('0x23')]['name']:undefined;this['dialAMDActive']=_0x3b01bc['dialAMDActive']||![];this['dialAMDInitialSilence']=_0x3b01bc[_0xc367('0x25')];this[_0xc367('0x26')]=_0x3b01bc[_0xc367('0x26')];this[_0xc367('0x27')]=_0x3b01bc[_0xc367('0x27')];this[_0xc367('0x28')]=_0x3b01bc[_0xc367('0x28')];this['dialAMDMinWordLength']=_0x3b01bc[_0xc367('0x29')];this[_0xc367('0x2a')]=_0x3b01bc['dialAMDBetweenWordsSilence'];this[_0xc367('0x2b')]=_0x3b01bc[_0xc367('0x2b')];this[_0xc367('0x2c')]=_0x3b01bc['dialAMDSilenceThreshold'];this['dialAMDMaximumWordLength']=_0x3b01bc[_0xc367('0x2d')];}module[_0xc367('0x2e')]=Campaign; \ No newline at end of file +var _0xe3db=['dialCongestionMaxRetry','dialCongestionRetryFrequency','dialBusyMaxRetry','dialBusyRetryFrequency','dialNoAnswerMaxRetry','dialNoAnswerRetryFrequency','dialGlobalMaxRetry','dialNoSuchNumberMaxRetry','dialNoSuchNumberRetryFrequency','dialDropMaxRetry','dialDropRetryFrequency','dialAbandonedMaxRetry','dialAbandonedRetryFrequency','dialMachineMaxRetry','dialMachineRetryFrequency','dialAgentRejectMaxRetry','dialAgentRejectRetryFrequency','dialOrderByScheduledAt','DESC','dialPrefix','dialRandomLastDigitCallerIdNumber','dialCutDigit','TrunkBackup','Trunk','Interval','SquareProject','dialQueueProject','dialAMDActive','dialAMDInitialSilence','dialAMDGreeting','dialAMDAfterGreetingSilence','dialAMDTotalAnalysisTime','dialAMDMinWordLength','dialAMDBetweenWordsSilence','dialAMDMaximumNumberOfWords','dialAMDSilenceThreshold','dialAMDMaximumWordLength','exports','name','type','campaign','originated','temp','ivrAnswerCallsDay','ivrTotalCallsDays','message','sendMessageOneNotActive','active','limitCalls','dialTimezone','dialGlobalInterval','dialOriginateCallerIdName','dialOriginateCallerIdNumber','dialOriginateTimeout'];(function(_0x1b5aea,_0x3f04b7){var _0x15cfc6=function(_0x204e92){while(--_0x204e92){_0x1b5aea['push'](_0x1b5aea['shift']());}};_0x15cfc6(++_0x3f04b7);}(_0xe3db,0xc8));var _0xbe3d=function(_0x4d0893,_0x1cda7f){_0x4d0893=_0x4d0893-0x0;var _0x5d75f2=_0xe3db[_0x4d0893];return _0x5d75f2;};'use strict';function Campaign(_0x48acae){this['id']=_0x48acae['id']||0x0;this[_0xbe3d('0x0')]=_0x48acae['name']||'';this[_0xbe3d('0x1')]=_0x48acae[_0xbe3d('0x1')]||_0xbe3d('0x2');this[_0xbe3d('0x3')]=0x0;this[_0xbe3d('0x4')]=0x0;this[_0xbe3d('0x5')]=0x0;this[_0xbe3d('0x6')]=0x0;this[_0xbe3d('0x7')]='';this[_0xbe3d('0x8')]=!![];this[_0xbe3d('0x9')]=_0x48acae[_0xbe3d('0x9')];this['limitCalls']=_0x48acae[_0xbe3d('0xa')];this[_0xbe3d('0xb')]=_0x48acae[_0xbe3d('0xb')]||null;this[_0xbe3d('0xc')]=_0x48acae['dialGlobalInterval']?_0x48acae[_0xbe3d('0xc')]:null;this[_0xbe3d('0xd')]=_0x48acae['dialOriginateCallerIdName'];this['dialOriginateCallerIdNumber']=_0x48acae[_0xbe3d('0xe')];this[_0xbe3d('0xf')]=_0x48acae[_0xbe3d('0xf')]||0x1e;this[_0xbe3d('0x10')]=_0x48acae[_0xbe3d('0x10')];this[_0xbe3d('0x11')]=_0x48acae[_0xbe3d('0x11')];this[_0xbe3d('0x12')]=_0x48acae[_0xbe3d('0x12')];this[_0xbe3d('0x13')]=_0x48acae[_0xbe3d('0x13')];this[_0xbe3d('0x14')]=_0x48acae['dialNoAnswerMaxRetry'];this[_0xbe3d('0x15')]=_0x48acae[_0xbe3d('0x15')];this[_0xbe3d('0x16')]=_0x48acae[_0xbe3d('0x16')];this[_0xbe3d('0x17')]=_0x48acae[_0xbe3d('0x17')]||0x3;this[_0xbe3d('0x18')]=_0x48acae[_0xbe3d('0x18')]||0x96;this[_0xbe3d('0x19')]=_0x48acae[_0xbe3d('0x19')]||0x3;this[_0xbe3d('0x1a')]=_0x48acae[_0xbe3d('0x1a')]||0x96;this[_0xbe3d('0x1b')]=_0x48acae[_0xbe3d('0x1b')]||0x3;this['dialAbandonedRetryFrequency']=_0x48acae[_0xbe3d('0x1c')]||0x96;this[_0xbe3d('0x1d')]=_0x48acae[_0xbe3d('0x1d')]||0x3;this[_0xbe3d('0x1e')]=_0x48acae[_0xbe3d('0x1e')]||0x96;this[_0xbe3d('0x1f')]=_0x48acae[_0xbe3d('0x1f')]||0x3;this[_0xbe3d('0x20')]=_0x48acae[_0xbe3d('0x20')]||0x96;this['dialOrderByScheduledAt']=_0x48acae[_0xbe3d('0x21')]||_0xbe3d('0x22');this[_0xbe3d('0x23')]=_0x48acae[_0xbe3d('0x23')]||undefined;this[_0xbe3d('0x24')]=_0x48acae[_0xbe3d('0x24')]||undefined;this[_0xbe3d('0x25')]=_0x48acae[_0xbe3d('0x25')]||undefined;this[_0xbe3d('0x26')]=_0x48acae[_0xbe3d('0x26')]?_0x48acae[_0xbe3d('0x26')]:undefined;this['Trunk']=_0x48acae[_0xbe3d('0x27')]?_0x48acae[_0xbe3d('0x27')]:undefined;this['Interval']=_0x48acae[_0xbe3d('0x28')]?_0x48acae['Interval']:undefined;this[_0xbe3d('0x29')]=_0x48acae[_0xbe3d('0x29')]?_0x48acae['SquareProject']:undefined;this[_0xbe3d('0x2a')]=_0x48acae[_0xbe3d('0x29')]?_0x48acae[_0xbe3d('0x29')][_0xbe3d('0x0')]:undefined;this[_0xbe3d('0x2b')]=_0x48acae[_0xbe3d('0x2b')]||![];this[_0xbe3d('0x2c')]=_0x48acae[_0xbe3d('0x2c')];this[_0xbe3d('0x2d')]=_0x48acae['dialAMDGreeting'];this[_0xbe3d('0x2e')]=_0x48acae['dialAMDAfterGreetingSilence'];this[_0xbe3d('0x2f')]=_0x48acae['dialAMDTotalAnalysisTime'];this[_0xbe3d('0x30')]=_0x48acae['dialAMDMinWordLength'];this[_0xbe3d('0x31')]=_0x48acae[_0xbe3d('0x31')];this[_0xbe3d('0x32')]=_0x48acae[_0xbe3d('0x32')];this[_0xbe3d('0x33')]=_0x48acae[_0xbe3d('0x33')];this[_0xbe3d('0x34')]=_0x48acae['dialAMDMaximumWordLength'];}module[_0xbe3d('0x35')]=Campaign; \ No newline at end of file diff --git a/server/services/ami/model/channel.js b/server/services/ami/model/channel.js index fbc8d7c..35dcf12 100644 --- a/server/services/ami/model/channel.js +++ b/server/services/ami/model/channel.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xdca4=['unmanaged','lastapplication','lastdata','duration','billableseconds','holdtime','type','disposition','monitor','monitorFilename','monitors','transfercalleridnum','transferconnectedlinenum','mohtime','exports','starttime','destinationchannel','calleridname','connectedlinenum','connectedlinename','accountcode','context','uniqueid','linkedid','answered','answertime','endtime'];(function(_0x25d992,_0x2155d6){var _0x32db3c=function(_0x2a8bd5){while(--_0x2a8bd5){_0x25d992['push'](_0x25d992['shift']());}};_0x32db3c(++_0x2155d6);}(_0xdca4,0x138));var _0x4dca=function(_0x3ecdbd,_0x2582ac){_0x3ecdbd=_0x3ecdbd-0x0;var _0x4e7fad=_0xdca4[_0x3ecdbd];return _0x4e7fad;};'use strict';function Channel(){this[_0x4dca('0x0')]=null;this['channel']='';this[_0x4dca('0x1')]='';this['calleridnum']=0x0;this[_0x4dca('0x2')]='';this[_0x4dca('0x3')]=undefined;this[_0x4dca('0x4')]=undefined;this[_0x4dca('0x5')]=0x0;this[_0x4dca('0x6')]='';this[_0x4dca('0x7')]=0x0;this[_0x4dca('0x8')]=0x0;this['exten']=0x0;this[_0x4dca('0x9')]=![];this[_0x4dca('0xa')]=null;this[_0x4dca('0xb')]=null;this[_0x4dca('0xc')]=![];this['abandoned']=![];this[_0x4dca('0xd')]='';this[_0x4dca('0xe')]='';this[_0x4dca('0xf')]=0x0;this[_0x4dca('0x10')]=0x0;this[_0x4dca('0x11')]=0x0;this[_0x4dca('0x12')]=null;this['tag']=null;this[_0x4dca('0x13')]=null;this[_0x4dca('0x14')]=![];this[_0x4dca('0x15')]=null;this['queue']=null;this[_0x4dca('0x16')]=[];this[_0x4dca('0x17')]=undefined;this[_0x4dca('0x18')]=undefined;this[_0x4dca('0x19')]=0x0;}module[_0x4dca('0x1a')]=Channel; \ No newline at end of file +var _0x0a93=['lastapplication','lastdata','duration','holdtime','type','tag','disposition','monitor','monitorFilename','queue','monitors','transfercalleridnum','mohtime','exports','starttime','channel','destinationchannel','calleridname','connectedlinenum','connectedlinename','accountcode','answertime','endtime'];(function(_0x3d1269,_0x30cfa1){var _0x5d31b1=function(_0x490e25){while(--_0x490e25){_0x3d1269['push'](_0x3d1269['shift']());}};_0x5d31b1(++_0x30cfa1);}(_0x0a93,0x6a));var _0x30a9=function(_0x2e61ca,_0x26a926){_0x2e61ca=_0x2e61ca-0x0;var _0x1ed3d2=_0x0a93[_0x2e61ca];return _0x1ed3d2;};'use strict';function Channel(){this[_0x30a9('0x0')]=null;this[_0x30a9('0x1')]='';this[_0x30a9('0x2')]='';this['calleridnum']=0x0;this[_0x30a9('0x3')]='';this[_0x30a9('0x4')]=undefined;this[_0x30a9('0x5')]=undefined;this[_0x30a9('0x6')]=0x0;this['context']='';this['uniqueid']=0x0;this['linkedid']=0x0;this['exten']=0x0;this['answered']=![];this[_0x30a9('0x7')]=null;this[_0x30a9('0x8')]=null;this['unmanaged']=![];this['abandoned']=![];this[_0x30a9('0x9')]='';this[_0x30a9('0xa')]='';this[_0x30a9('0xb')]=0x0;this['billableseconds']=0x0;this[_0x30a9('0xc')]=0x0;this[_0x30a9('0xd')]=null;this[_0x30a9('0xe')]=null;this[_0x30a9('0xf')]=null;this[_0x30a9('0x10')]=![];this[_0x30a9('0x11')]=null;this[_0x30a9('0x12')]=null;this[_0x30a9('0x13')]=[];this[_0x30a9('0x14')]=undefined;this['transferconnectedlinenum']=undefined;this[_0x30a9('0x15')]=0x0;}module[_0x30a9('0x16')]=Channel; \ No newline at end of file diff --git a/server/services/ami/model/deskAccount.js b/server/services/ami/model/deskAccount.js index 8476c25..cf88505 100644 --- a/server/services/ami/model/deskAccount.js +++ b/server/services/ami/model/deskAccount.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x280b=['serverUrl','Configurations','name','username','remoteUri','authType','password','consumerKey','consumerSecret','token','tokenSecret','type'];(function(_0x276a85,_0x37b448){var _0x114177=function(_0x479d94){while(--_0x479d94){_0x276a85['push'](_0x276a85['shift']());}};_0x114177(++_0x37b448);}(_0x280b,0xce));var _0xb280=function(_0x1facfa,_0x1acf7d){_0x1facfa=_0x1facfa-0x0;var _0x9ec701=_0x280b[_0x1facfa];return _0x9ec701;};'use strict';function DeskAccount(_0x545f75){this['id']=_0x545f75['id']||0x0;this[_0xb280('0x0')]=_0x545f75['name']||'';this[_0xb280('0x1')]=_0x545f75[_0xb280('0x1')]||'';this[_0xb280('0x2')]=_0x545f75[_0xb280('0x2')]||'';this[_0xb280('0x3')]=_0x545f75[_0xb280('0x3')]||'';this[_0xb280('0x4')]=_0x545f75[_0xb280('0x4')]||'';this[_0xb280('0x5')]=_0x545f75['consumerKey']||'';this['consumerSecret']=_0x545f75[_0xb280('0x6')]||'';this[_0xb280('0x7')]=_0x545f75['token']||'';this[_0xb280('0x8')]=_0x545f75[_0xb280('0x8')]||'';this[_0xb280('0x9')]=_0x545f75[_0xb280('0x9')]||'';this[_0xb280('0xa')]=_0x545f75[_0xb280('0xa')]||'';this[_0xb280('0xb')]=_0x545f75['Configurations']||{};}module['exports']=DeskAccount; \ No newline at end of file +var _0x692c=['remoteUri','authType','password','consumerKey','token','tokenSecret','type','serverUrl','Configurations','exports','name','username'];(function(_0x4c34d8,_0x383073){var _0x4c21df=function(_0x36150e){while(--_0x36150e){_0x4c34d8['push'](_0x4c34d8['shift']());}};_0x4c21df(++_0x383073);}(_0x692c,0x6a));var _0xc692=function(_0x1b3921,_0x5a0487){_0x1b3921=_0x1b3921-0x0;var _0x468db4=_0x692c[_0x1b3921];return _0x468db4;};'use strict';function DeskAccount(_0xdc1421){this['id']=_0xdc1421['id']||0x0;this[_0xc692('0x0')]=_0xdc1421[_0xc692('0x0')]||'';this[_0xc692('0x1')]=_0xdc1421[_0xc692('0x1')]||'';this[_0xc692('0x2')]=_0xdc1421['remoteUri']||'';this[_0xc692('0x3')]=_0xdc1421[_0xc692('0x3')]||'';this[_0xc692('0x4')]=_0xdc1421[_0xc692('0x4')]||'';this[_0xc692('0x5')]=_0xdc1421[_0xc692('0x5')]||'';this['consumerSecret']=_0xdc1421['consumerSecret']||'';this[_0xc692('0x6')]=_0xdc1421[_0xc692('0x6')]||'';this[_0xc692('0x7')]=_0xdc1421[_0xc692('0x7')]||'';this[_0xc692('0x8')]=_0xdc1421[_0xc692('0x8')]||'';this[_0xc692('0x9')]=_0xdc1421['serverUrl']||'';this[_0xc692('0xa')]=_0xdc1421[_0xc692('0xa')]||{};}module[_0xc692('0xb')]=DeskAccount; \ No newline at end of file diff --git a/server/services/ami/model/dynamics365Account.js b/server/services/ami/model/dynamics365Account.js index 5f8fe6f..b27853f 100644 --- a/server/services/ami/model/dynamics365Account.js +++ b/server/services/ami/model/dynamics365Account.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x00a9=['username','password','remoteUri','tenantId','clientId','clientSecret','serverUrl','exports','name'];(function(_0x4566db,_0x5da9a1){var _0x3167e6=function(_0x154ed8){while(--_0x154ed8){_0x4566db['push'](_0x4566db['shift']());}};_0x3167e6(++_0x5da9a1);}(_0x00a9,0xbc));var _0x900a=function(_0x321bb2,_0x202794){_0x321bb2=_0x321bb2-0x0;var _0x9c12ed=_0x00a9[_0x321bb2];return _0x9c12ed;};'use strict';function Dynamics365Account(_0x5a6a6e){this['id']=_0x5a6a6e['id']||0x0;this[_0x900a('0x0')]=_0x5a6a6e[_0x900a('0x0')]||'';this[_0x900a('0x1')]=_0x5a6a6e[_0x900a('0x1')]||'';this['password']=_0x5a6a6e[_0x900a('0x2')]||'';this[_0x900a('0x3')]=_0x5a6a6e['remoteUri']||'';this[_0x900a('0x4')]=_0x5a6a6e[_0x900a('0x4')]||'';this[_0x900a('0x5')]=_0x5a6a6e['clientId']||'';this[_0x900a('0x6')]=_0x5a6a6e[_0x900a('0x6')]||{};this[_0x900a('0x7')]=_0x5a6a6e[_0x900a('0x7')]||'';this['Configurations']=_0x5a6a6e['Configurations']||{};}module[_0x900a('0x8')]=Dynamics365Account; \ No newline at end of file +var _0x864b=['clientSecret','serverUrl','Configurations','exports','name','username','password','remoteUri','tenantId','clientId'];(function(_0x20d435,_0x1c5415){var _0x54288d=function(_0x49c5ad){while(--_0x49c5ad){_0x20d435['push'](_0x20d435['shift']());}};_0x54288d(++_0x1c5415);}(_0x864b,0x1c6));var _0xb864=function(_0x221f31,_0x27b987){_0x221f31=_0x221f31-0x0;var _0x3e6770=_0x864b[_0x221f31];return _0x3e6770;};'use strict';function Dynamics365Account(_0x57d55c){this['id']=_0x57d55c['id']||0x0;this[_0xb864('0x0')]=_0x57d55c[_0xb864('0x0')]||'';this['username']=_0x57d55c[_0xb864('0x1')]||'';this['password']=_0x57d55c[_0xb864('0x2')]||'';this[_0xb864('0x3')]=_0x57d55c['remoteUri']||'';this['tenantId']=_0x57d55c[_0xb864('0x4')]||'';this[_0xb864('0x5')]=_0x57d55c[_0xb864('0x5')]||'';this[_0xb864('0x6')]=_0x57d55c['clientSecret']||{};this[_0xb864('0x7')]=_0x57d55c[_0xb864('0x7')]||'';this[_0xb864('0x8')]=_0x57d55c[_0xb864('0x8')]||{};}module[_0xb864('0x9')]=Dynamics365Account; \ No newline at end of file diff --git a/server/services/ami/model/faxAccount.js b/server/services/ami/model/faxAccount.js index fc99dee..7c36fc5 100644 --- a/server/services/ami/model/faxAccount.js +++ b/server/services/ami/model/faxAccount.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x30cd=['Trunk','ListId','exports','name','description','ecm','headerinfo','localstationid','minrate','maxrate','modem','v17,v27,v29','gateway','faxdetect','t38timeout','tech'];(function(_0x174ef5,_0x256e8e){var _0x1cc379=function(_0x3eafcf){while(--_0x3eafcf){_0x174ef5['push'](_0x174ef5['shift']());}};_0x1cc379(++_0x256e8e);}(_0x30cd,0x1e3));var _0xd30c=function(_0x12f9f7,_0x17aac7){_0x12f9f7=_0x12f9f7-0x0;var _0x22f3bd=_0x30cd[_0x12f9f7];return _0x22f3bd;};'use strict';function FaxAccount(_0x9613bc){this['id']=_0x9613bc['id']||0x0;this[_0xd30c('0x0')]=_0x9613bc[_0xd30c('0x0')]||'';this['description']=_0x9613bc[_0xd30c('0x1')];this[_0xd30c('0x2')]=_0x9613bc['ecm'];this[_0xd30c('0x3')]=_0x9613bc[_0xd30c('0x3')];this[_0xd30c('0x4')]=_0x9613bc[_0xd30c('0x4')];this[_0xd30c('0x5')]=_0x9613bc[_0xd30c('0x5')]||0x960;this[_0xd30c('0x6')]=_0x9613bc['maxrate']||0x3840;this[_0xd30c('0x7')]=_0x9613bc[_0xd30c('0x7')]||_0xd30c('0x8');this[_0xd30c('0x9')]=_0x9613bc[_0xd30c('0x9')]||'no';this[_0xd30c('0xa')]=_0x9613bc[_0xd30c('0xa')]||'no';this[_0xd30c('0xb')]=_0x9613bc[_0xd30c('0xb')]||0x1388;this[_0xd30c('0xc')]=_0x9613bc[_0xd30c('0xc')]||'SIP';this['Trunk']=_0x9613bc[_0xd30c('0xd')]?_0x9613bc[_0xd30c('0xd')]:undefined;this['ListId']=_0x9613bc[_0xd30c('0xe')];this['key']=_0x9613bc['key'];}module[_0xd30c('0xf')]=FaxAccount; \ No newline at end of file +var _0x24c4=['headerinfo','localstationid','minrate','maxrate','modem','v17,v27,v29','gateway','faxdetect','t38timeout','tech','SIP','Trunk','ListId','key','exports','name','description','ecm'];(function(_0x4182fa,_0x3be5c){var _0x31ce82=function(_0x5e749f){while(--_0x5e749f){_0x4182fa['push'](_0x4182fa['shift']());}};_0x31ce82(++_0x3be5c);}(_0x24c4,0x165));var _0x424c=function(_0x12193c,_0x49fdcb){_0x12193c=_0x12193c-0x0;var _0x2ccdf8=_0x24c4[_0x12193c];return _0x2ccdf8;};'use strict';function FaxAccount(_0x2909ee){this['id']=_0x2909ee['id']||0x0;this['name']=_0x2909ee[_0x424c('0x0')]||'';this[_0x424c('0x1')]=_0x2909ee[_0x424c('0x1')];this[_0x424c('0x2')]=_0x2909ee[_0x424c('0x2')];this[_0x424c('0x3')]=_0x2909ee[_0x424c('0x3')];this['localstationid']=_0x2909ee[_0x424c('0x4')];this[_0x424c('0x5')]=_0x2909ee[_0x424c('0x5')]||0x960;this[_0x424c('0x6')]=_0x2909ee[_0x424c('0x6')]||0x3840;this['modem']=_0x2909ee[_0x424c('0x7')]||_0x424c('0x8');this[_0x424c('0x9')]=_0x2909ee[_0x424c('0x9')]||'no';this[_0x424c('0xa')]=_0x2909ee[_0x424c('0xa')]||'no';this[_0x424c('0xb')]=_0x2909ee['t38timeout']||0x1388;this[_0x424c('0xc')]=_0x2909ee[_0x424c('0xc')]||_0x424c('0xd');this['Trunk']=_0x2909ee[_0x424c('0xe')]?_0x2909ee[_0x424c('0xe')]:undefined;this['ListId']=_0x2909ee[_0x424c('0xf')];this[_0x424c('0x10')]=_0x2909ee[_0x424c('0x10')];}module[_0x424c('0x11')]=FaxAccount; \ No newline at end of file diff --git a/server/services/ami/model/freshdeskAccount.js b/server/services/ami/model/freshdeskAccount.js index 5fb5050..7bdbcbe 100644 --- a/server/services/ami/model/freshdeskAccount.js +++ b/server/services/ami/model/freshdeskAccount.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xb6f1=['name','username','apiKey','token','remoteUri','serverUrl','Configurations','exports'];(function(_0x28aea5,_0x3bb12e){var _0x6a55f9=function(_0xf6ece8){while(--_0xf6ece8){_0x28aea5['push'](_0x28aea5['shift']());}};_0x6a55f9(++_0x3bb12e);}(_0xb6f1,0x158));var _0x1b6f=function(_0xfd9b19,_0x21d75f){_0xfd9b19=_0xfd9b19-0x0;var _0x514918=_0xb6f1[_0xfd9b19];return _0x514918;};'use strict';function FreshdeskAccount(_0xf5c429){this['id']=_0xf5c429['id']||0x0;this['name']=_0xf5c429[_0x1b6f('0x0')]||'';this[_0x1b6f('0x1')]=_0xf5c429['username']||'';this[_0x1b6f('0x2')]=_0xf5c429[_0x1b6f('0x3')]||'';this[_0x1b6f('0x4')]=_0xf5c429[_0x1b6f('0x4')]||'';this[_0x1b6f('0x5')]=_0xf5c429['serverUrl']||'';this[_0x1b6f('0x6')]=_0xf5c429[_0x1b6f('0x6')]||{};}module[_0x1b6f('0x7')]=FreshdeskAccount; \ No newline at end of file +var _0x5c1a=['username','apiKey','token','remoteUri','serverUrl'];(function(_0x749903,_0x3e1d67){var _0x33faed=function(_0x2b2bae){while(--_0x2b2bae){_0x749903['push'](_0x749903['shift']());}};_0x33faed(++_0x3e1d67);}(_0x5c1a,0x16d));var _0xa5c1=function(_0xa2c0a3,_0x5bbac0){_0xa2c0a3=_0xa2c0a3-0x0;var _0x52c618=_0x5c1a[_0xa2c0a3];return _0x52c618;};'use strict';function FreshdeskAccount(_0x247f4e){this['id']=_0x247f4e['id']||0x0;this['name']=_0x247f4e['name']||'';this[_0xa5c1('0x0')]=_0x247f4e['username']||'';this[_0xa5c1('0x1')]=_0x247f4e[_0xa5c1('0x2')]||'';this[_0xa5c1('0x3')]=_0x247f4e[_0xa5c1('0x3')]||'';this['serverUrl']=_0x247f4e[_0xa5c1('0x4')]||'';this['Configurations']=_0x247f4e['Configurations']||{};}module['exports']=FreshdeskAccount; \ No newline at end of file diff --git a/server/services/ami/model/freshsalesAccount.js b/server/services/ami/model/freshsalesAccount.js index 83b2cff..97729de 100644 --- a/server/services/ami/model/freshsalesAccount.js +++ b/server/services/ami/model/freshsalesAccount.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x6ccf=['token','remoteUri','serverUrl','Configurations','exports','name','username','apiKey'];(function(_0x4628b1,_0x31bf23){var _0x14f8f4=function(_0x479ed7){while(--_0x479ed7){_0x4628b1['push'](_0x4628b1['shift']());}};_0x14f8f4(++_0x31bf23);}(_0x6ccf,0x125));var _0xf6cc=function(_0x1f83a5,_0x59843f){_0x1f83a5=_0x1f83a5-0x0;var _0x45edf0=_0x6ccf[_0x1f83a5];return _0x45edf0;};'use strict';function FreshsalesAccount(_0x434f58){this['id']=_0x434f58['id']||0x0;this[_0xf6cc('0x0')]=_0x434f58[_0xf6cc('0x0')]||'';this[_0xf6cc('0x1')]=_0x434f58['username']||'';this[_0xf6cc('0x2')]=_0x434f58[_0xf6cc('0x3')]||'';this['remoteUri']=_0x434f58[_0xf6cc('0x4')]||'';this[_0xf6cc('0x5')]=_0x434f58['serverUrl']||'';this['Configurations']=_0x434f58[_0xf6cc('0x6')]||{};}module[_0xf6cc('0x7')]=FreshsalesAccount; \ No newline at end of file +var _0x8e4d=['username','apiKey','token','remoteUri','serverUrl','Configurations','exports'];(function(_0x1e0b73,_0x4b7171){var _0x4e257f=function(_0x1ad434){while(--_0x1ad434){_0x1e0b73['push'](_0x1e0b73['shift']());}};_0x4e257f(++_0x4b7171);}(_0x8e4d,0x77));var _0xd8e4=function(_0x2d962c,_0x3f2813){_0x2d962c=_0x2d962c-0x0;var _0x1eb4a7=_0x8e4d[_0x2d962c];return _0x1eb4a7;};'use strict';function FreshsalesAccount(_0x58d970){this['id']=_0x58d970['id']||0x0;this['name']=_0x58d970['name']||'';this[_0xd8e4('0x0')]=_0x58d970[_0xd8e4('0x0')]||'';this[_0xd8e4('0x1')]=_0x58d970[_0xd8e4('0x2')]||'';this['remoteUri']=_0x58d970[_0xd8e4('0x3')]||'';this[_0xd8e4('0x4')]=_0x58d970[_0xd8e4('0x4')]||'';this[_0xd8e4('0x5')]=_0x58d970[_0xd8e4('0x5')]||{};}module[_0xd8e4('0x6')]=FreshsalesAccount; \ No newline at end of file diff --git a/server/services/ami/model/queueReport.js b/server/services/ami/model/queueReport.js index 19a23cf..9d7320c 100644 --- a/server/services/ami/model/queueReport.js +++ b/server/services/ami/model/queueReport.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xa835=['holdtime','lastAssignedTo','variables','exports','type','inbound','uniqueid','calleridnum','calleridname','queue','queuecallerjoinAt','queuecallerleaveAt','count','queuecallerabandonAt','queuecallerexit','queuecallerexitAt','originalposition','connectedlinenum','connectedlinename','accountcode','context','exten'];(function(_0x10291b,_0x518773){var _0x1d5fbe=function(_0x24df58){while(--_0x24df58){_0x10291b['push'](_0x10291b['shift']());}};_0x1d5fbe(++_0x518773);}(_0xa835,0x14e));var _0x5a83=function(_0x274772,_0x581804){_0x274772=_0x274772-0x0;var _0x1896dd=_0xa835[_0x274772];return _0x1896dd;};'use strict';function QueueReport(){this[_0x5a83('0x0')]=_0x5a83('0x1');this[_0x5a83('0x2')]='';this[_0x5a83('0x3')]='';this[_0x5a83('0x4')]='';this[_0x5a83('0x5')]='';this[_0x5a83('0x6')]=null;this[_0x5a83('0x7')]=null;this['position']=0x1;this[_0x5a83('0x8')]=0x1;this['queuecallerabandon']=![];this[_0x5a83('0x9')]=null;this['queuecallercomplete']=![];this['queuecallercompleteAt']=null;this[_0x5a83('0xa')]=![];this[_0x5a83('0xb')]=null;this[_0x5a83('0xc')]=0x1;this['channel']='';this[_0x5a83('0xd')]='';this[_0x5a83('0xe')]='';this[_0x5a83('0xf')]='';this[_0x5a83('0x10')]='';this[_0x5a83('0x11')]='';this['priority']='';this[_0x5a83('0x12')]=0x0;this['assigned']=![];this[_0x5a83('0x13')]='';this['mohtime']=0x0;this[_0x5a83('0x14')]={};}module[_0x5a83('0x15')]=QueueReport; \ No newline at end of file +var _0xd916=['queuecallercomplete','queuecallercompleteAt','queuecallerexitAt','channel','connectedlinenum','connectedlinename','exten','priority','holdtime','assigned','mohtime','variables','exports','type','inbound','uniqueid','calleridnum','calleridname','queue','queuecallerjoinAt','queuecallerleaveAt','position','count','queuecallerabandon'];(function(_0x226626,_0x19220c){var _0x4643e7=function(_0x37b853){while(--_0x37b853){_0x226626['push'](_0x226626['shift']());}};_0x4643e7(++_0x19220c);}(_0xd916,0x1a5));var _0x6d91=function(_0x57e21a,_0x25da97){_0x57e21a=_0x57e21a-0x0;var _0x12807c=_0xd916[_0x57e21a];return _0x12807c;};'use strict';function QueueReport(){this[_0x6d91('0x0')]=_0x6d91('0x1');this[_0x6d91('0x2')]='';this[_0x6d91('0x3')]='';this[_0x6d91('0x4')]='';this[_0x6d91('0x5')]='';this[_0x6d91('0x6')]=null;this[_0x6d91('0x7')]=null;this[_0x6d91('0x8')]=0x1;this[_0x6d91('0x9')]=0x1;this[_0x6d91('0xa')]=![];this['queuecallerabandonAt']=null;this[_0x6d91('0xb')]=![];this[_0x6d91('0xc')]=null;this['queuecallerexit']=![];this[_0x6d91('0xd')]=null;this['originalposition']=0x1;this[_0x6d91('0xe')]='';this[_0x6d91('0xf')]='';this[_0x6d91('0x10')]='';this['accountcode']='';this['context']='';this[_0x6d91('0x11')]='';this[_0x6d91('0x12')]='';this[_0x6d91('0x13')]=0x0;this[_0x6d91('0x14')]=![];this['lastAssignedTo']='';this[_0x6d91('0x15')]=0x0;this[_0x6d91('0x16')]={};}module[_0x6d91('0x17')]=QueueReport; \ No newline at end of file diff --git a/server/services/ami/model/salesforceAccount.js b/server/services/ami/model/salesforceAccount.js index 87905f7..a347440 100644 --- a/server/services/ami/model/salesforceAccount.js +++ b/server/services/ami/model/salesforceAccount.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x8c14=['integrationTab','serverUrl','Configurations','name','username','remoteUri','password','clientId','clientSecret','securityToken','type'];(function(_0x23dac4,_0x4d3531){var _0x58f8d7=function(_0xb399cd){while(--_0xb399cd){_0x23dac4['push'](_0x23dac4['shift']());}};_0x58f8d7(++_0x4d3531);}(_0x8c14,0x116));var _0x48c1=function(_0x2f81ae,_0x850e8c){_0x2f81ae=_0x2f81ae-0x0;var _0x18e1eb=_0x8c14[_0x2f81ae];return _0x18e1eb;};'use strict';function SalesforceAccount(_0x4a2d65){this['id']=_0x4a2d65['id']||0x0;this['name']=_0x4a2d65[_0x48c1('0x0')]||'';this[_0x48c1('0x1')]=_0x4a2d65[_0x48c1('0x1')]||'';this[_0x48c1('0x2')]=_0x4a2d65['remoteUri']||'';this['password']=_0x4a2d65[_0x48c1('0x3')]||'';this[_0x48c1('0x4')]=_0x4a2d65[_0x48c1('0x4')]||'';this[_0x48c1('0x5')]=_0x4a2d65[_0x48c1('0x5')]||'';this[_0x48c1('0x6')]=_0x4a2d65[_0x48c1('0x6')]||'';this[_0x48c1('0x7')]=_0x4a2d65['type']||_0x48c1('0x8');this[_0x48c1('0x9')]=_0x4a2d65[_0x48c1('0x9')]||'';this['Configurations']=_0x4a2d65[_0x48c1('0xa')]||{};}module['exports']=SalesforceAccount; \ No newline at end of file +var _0x3790=['remoteUri','password','clientId','clientSecret','securityToken','type','integrationTab','serverUrl','Configurations','name','username'];(function(_0x1589dd,_0x2b9d22){var _0x1bddd1=function(_0x3687f8){while(--_0x3687f8){_0x1589dd['push'](_0x1589dd['shift']());}};_0x1bddd1(++_0x2b9d22);}(_0x3790,0xa3));var _0x0379=function(_0x47da0e,_0xdf424e){_0x47da0e=_0x47da0e-0x0;var _0x14548c=_0x3790[_0x47da0e];return _0x14548c;};'use strict';function SalesforceAccount(_0xeef12b){this['id']=_0xeef12b['id']||0x0;this[_0x0379('0x0')]=_0xeef12b[_0x0379('0x0')]||'';this[_0x0379('0x1')]=_0xeef12b[_0x0379('0x1')]||'';this['remoteUri']=_0xeef12b[_0x0379('0x2')]||'';this[_0x0379('0x3')]=_0xeef12b[_0x0379('0x3')]||'';this['clientId']=_0xeef12b[_0x0379('0x4')]||'';this['clientSecret']=_0xeef12b[_0x0379('0x5')]||'';this[_0x0379('0x6')]=_0xeef12b['securityToken']||'';this[_0x0379('0x7')]=_0xeef12b[_0x0379('0x7')]||_0x0379('0x8');this['serverUrl']=_0xeef12b[_0x0379('0x9')]||'';this[_0x0379('0xa')]=_0xeef12b[_0x0379('0xa')]||{};}module['exports']=SalesforceAccount; \ No newline at end of file diff --git a/server/services/ami/model/servicenowAccount.js b/server/services/ami/model/servicenowAccount.js index 71c0408..28b74e4 100644 --- a/server/services/ami/model/servicenowAccount.js +++ b/server/services/ami/model/servicenowAccount.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x69c5=['password','remoteUri','serverUrl','Configurations','name','username'];(function(_0x1be1f6,_0x5e7089){var _0x2bd577=function(_0x210461){while(--_0x210461){_0x1be1f6['push'](_0x1be1f6['shift']());}};_0x2bd577(++_0x5e7089);}(_0x69c5,0x70));var _0x569c=function(_0x4e1211,_0x15a9dc){_0x4e1211=_0x4e1211-0x0;var _0x5e6dff=_0x69c5[_0x4e1211];return _0x5e6dff;};'use strict';function ServicenowAccount(_0x2df4b2){this['id']=_0x2df4b2['id']||0x0;this[_0x569c('0x0')]=_0x2df4b2[_0x569c('0x0')]||'';this[_0x569c('0x1')]=_0x2df4b2[_0x569c('0x1')]||'';this[_0x569c('0x2')]=_0x2df4b2[_0x569c('0x2')]||'';this[_0x569c('0x3')]=_0x2df4b2[_0x569c('0x3')]||'';this[_0x569c('0x4')]=_0x2df4b2['serverUrl']||'';this[_0x569c('0x5')]=_0x2df4b2[_0x569c('0x5')]||{};}module['exports']=ServicenowAccount; \ No newline at end of file +var _0xb902=['Configurations','exports','name','username','password','remoteUri','serverUrl'];(function(_0x1435bf,_0x5f40b0){var _0x3b1248=function(_0x11bb88){while(--_0x11bb88){_0x1435bf['push'](_0x1435bf['shift']());}};_0x3b1248(++_0x5f40b0);}(_0xb902,0x1de));var _0x2b90=function(_0x383446,_0x1e0c93){_0x383446=_0x383446-0x0;var _0x40e10d=_0xb902[_0x383446];return _0x40e10d;};'use strict';function ServicenowAccount(_0x1945f8){this['id']=_0x1945f8['id']||0x0;this['name']=_0x1945f8[_0x2b90('0x0')]||'';this[_0x2b90('0x1')]=_0x1945f8['username']||'';this[_0x2b90('0x2')]=_0x1945f8['password']||'';this[_0x2b90('0x3')]=_0x1945f8[_0x2b90('0x3')]||'';this[_0x2b90('0x4')]=_0x1945f8[_0x2b90('0x4')]||'';this['Configurations']=_0x1945f8[_0x2b90('0x5')]||{};}module[_0x2b90('0x6')]=ServicenowAccount; \ No newline at end of file diff --git a/server/services/ami/model/sugarcrmAccount.js b/server/services/ami/model/sugarcrmAccount.js index 95ca04f..3182c02 100644 --- a/server/services/ami/model/sugarcrmAccount.js +++ b/server/services/ami/model/sugarcrmAccount.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x9a90=['username','password','remoteUri','serverUrl','Configurations','name'];(function(_0x443a06,_0x5bafca){var _0xa1fb2b=function(_0x141ddd){while(--_0x141ddd){_0x443a06['push'](_0x443a06['shift']());}};_0xa1fb2b(++_0x5bafca);}(_0x9a90,0x1f1));var _0x09a9=function(_0x2f133d,_0x6b2af7){_0x2f133d=_0x2f133d-0x0;var _0x59fb7a=_0x9a90[_0x2f133d];return _0x59fb7a;};'use strict';function SugarcrmAccount(_0x49afe6){this['id']=_0x49afe6['id']||0x0;this[_0x09a9('0x0')]=_0x49afe6[_0x09a9('0x0')]||'';this[_0x09a9('0x1')]=_0x49afe6[_0x09a9('0x1')]||'';this['password']=_0x49afe6[_0x09a9('0x2')]||'';this[_0x09a9('0x3')]=_0x49afe6[_0x09a9('0x3')]||'';this['serverUrl']=_0x49afe6[_0x09a9('0x4')]||'';this[_0x09a9('0x5')]=_0x49afe6[_0x09a9('0x5')]||{};}module['exports']=SugarcrmAccount; \ No newline at end of file +var _0xae9a=['password','remoteUri','serverUrl','Configurations','exports','name','username'];(function(_0xa148b7,_0x2f3eb2){var _0x51efd3=function(_0x34bcec){while(--_0x34bcec){_0xa148b7['push'](_0xa148b7['shift']());}};_0x51efd3(++_0x2f3eb2);}(_0xae9a,0xfa));var _0xaae9=function(_0x4fd4a7,_0x4d8184){_0x4fd4a7=_0x4fd4a7-0x0;var _0x3d5480=_0xae9a[_0x4fd4a7];return _0x3d5480;};'use strict';function SugarcrmAccount(_0x4717d1){this['id']=_0x4717d1['id']||0x0;this['name']=_0x4717d1[_0xaae9('0x0')]||'';this[_0xaae9('0x1')]=_0x4717d1[_0xaae9('0x1')]||'';this[_0xaae9('0x2')]=_0x4717d1[_0xaae9('0x2')]||'';this[_0xaae9('0x3')]=_0x4717d1[_0xaae9('0x3')]||'';this['serverUrl']=_0x4717d1[_0xaae9('0x4')]||'';this[_0xaae9('0x5')]=_0x4717d1[_0xaae9('0x5')]||{};}module[_0xaae9('0x6')]=SugarcrmAccount; \ No newline at end of file diff --git a/server/services/ami/model/telephone.js b/server/services/ami/model/telephone.js index 9f3b93b..745cd33 100644 --- a/server/services/ami/model/telephone.js +++ b/server/services/ami/model/telephone.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x397b=['status','address','exports','name','accountcode','state','unknown','stateTime'];(function(_0x32e3cf,_0x4bea57){var _0x1d689a=function(_0x5393e6){while(--_0x5393e6){_0x32e3cf['push'](_0x32e3cf['shift']());}};_0x1d689a(++_0x4bea57);}(_0x397b,0x83));var _0xb397=function(_0x8974e2,_0x47aef4){_0x8974e2=_0x8974e2-0x0;var _0x16a4f3=_0x397b[_0x8974e2];return _0x16a4f3;};'use strict';function Telephone(_0x543b27){this['id']=_0x543b27['id']||0x0;this[_0xb397('0x0')]=_0x543b27[_0xb397('0x0')]||'';this[_0xb397('0x1')]=_0x543b27[_0xb397('0x1')]||'';this[_0xb397('0x2')]=_0xb397('0x3');this[_0xb397('0x4')]=0x0;this[_0xb397('0x5')]=_0xb397('0x3');this[_0xb397('0x6')]='';}module[_0xb397('0x7')]=Telephone; \ No newline at end of file +var _0xa264=['stateTime','status','unknown','address','exports','name','accountcode','state'];(function(_0x485907,_0x47224d){var _0x3ed143=function(_0x12e968){while(--_0x12e968){_0x485907['push'](_0x485907['shift']());}};_0x3ed143(++_0x47224d);}(_0xa264,0x6d));var _0x4a26=function(_0x5c7a85,_0x41dd19){_0x5c7a85=_0x5c7a85-0x0;var _0x35290f=_0xa264[_0x5c7a85];return _0x35290f;};'use strict';function Telephone(_0x3ccef3){this['id']=_0x3ccef3['id']||0x0;this[_0x4a26('0x0')]=_0x3ccef3[_0x4a26('0x0')]||'';this[_0x4a26('0x1')]=_0x3ccef3[_0x4a26('0x1')]||'';this[_0x4a26('0x2')]='unknown';this[_0x4a26('0x3')]=0x0;this[_0x4a26('0x4')]=_0x4a26('0x5');this[_0x4a26('0x6')]='';}module[_0x4a26('0x7')]=Telephone; \ No newline at end of file diff --git a/server/services/ami/model/template.js b/server/services/ami/model/template.js index 29935de..43877d3 100644 --- a/server/services/ami/model/template.js +++ b/server/services/ami/model/template.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xc3c2=['name','html','exports'];(function(_0x6c993a,_0x5ea3ab){var _0x27f547=function(_0x22df20){while(--_0x22df20){_0x6c993a['push'](_0x6c993a['shift']());}};_0x27f547(++_0x5ea3ab);}(_0xc3c2,0x75));var _0x2c3c=function(_0x38f6e3,_0x310e0c){_0x38f6e3=_0x38f6e3-0x0;var _0x148e8d=_0xc3c2[_0x38f6e3];return _0x148e8d;};'use strict';function template(_0x2af734){this['id']=_0x2af734['id']||0x0;this[_0x2c3c('0x0')]=_0x2af734[_0x2c3c('0x0')]||'';this[_0x2c3c('0x1')]=_0x2af734[_0x2c3c('0x1')]||'';}module[_0x2c3c('0x2')]=template; \ No newline at end of file +var _0x7095=['name','html'];(function(_0x2cf4e5,_0x2f08d9){var _0x5d7896=function(_0x461750){while(--_0x461750){_0x2cf4e5['push'](_0x2cf4e5['shift']());}};_0x5d7896(++_0x2f08d9);}(_0x7095,0x114));var _0x5709=function(_0x49262e,_0x492a6e){_0x49262e=_0x49262e-0x0;var _0x112270=_0x7095[_0x49262e];return _0x112270;};'use strict';function template(_0x5cc297){this['id']=_0x5cc297['id']||0x0;this[_0x5709('0x0')]=_0x5cc297[_0x5709('0x0')]||'';this[_0x5709('0x1')]=_0x5cc297[_0x5709('0x1')]||'';}module['exports']=template; \ No newline at end of file diff --git a/server/services/ami/model/trigger.js b/server/services/ami/model/trigger.js index 2ab3432..b598206 100644 --- a/server/services/ami/model/trigger.js +++ b/server/services/ami/model/trigger.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x3e74=['Actions','name','channel','status','AllConditions','AnyConditions'];(function(_0x5982fd,_0x100476){var _0x1f5ede=function(_0x1b76b7){while(--_0x1b76b7){_0x5982fd['push'](_0x5982fd['shift']());}};_0x1f5ede(++_0x100476);}(_0x3e74,0x175));var _0x43e7=function(_0x58bbff,_0x5cd15f){_0x58bbff=_0x58bbff-0x0;var _0x232f96=_0x3e74[_0x58bbff];return _0x232f96;};'use strict';function Trigger(_0x284ef8){this['id']=_0x284ef8['id']||0x0;this['name']=_0x284ef8[_0x43e7('0x0')]||'';this[_0x43e7('0x1')]=_0x284ef8[_0x43e7('0x1')]||'voice';this['status']=_0x284ef8[_0x43e7('0x2')]||![];this['AllConditions']=_0x284ef8[_0x43e7('0x3')]||[];this[_0x43e7('0x4')]=_0x284ef8[_0x43e7('0x4')]||[];this[_0x43e7('0x5')]=_0x284ef8[_0x43e7('0x5')]||[];}module['exports']=Trigger; \ No newline at end of file +var _0x7217=['voice','status','AllConditions','AnyConditions','Actions','exports','name','channel'];(function(_0x32fd8d,_0x187e69){var _0x287ba8=function(_0xd093b){while(--_0xd093b){_0x32fd8d['push'](_0x32fd8d['shift']());}};_0x287ba8(++_0x187e69);}(_0x7217,0x19e));var _0x7721=function(_0x4ea69d,_0x290f53){_0x4ea69d=_0x4ea69d-0x0;var _0x5318e0=_0x7217[_0x4ea69d];return _0x5318e0;};'use strict';function Trigger(_0x516f0e){this['id']=_0x516f0e['id']||0x0;this['name']=_0x516f0e[_0x7721('0x0')]||'';this[_0x7721('0x1')]=_0x516f0e[_0x7721('0x1')]||_0x7721('0x2');this[_0x7721('0x3')]=_0x516f0e['status']||![];this['AllConditions']=_0x516f0e[_0x7721('0x4')]||[];this[_0x7721('0x5')]=_0x516f0e[_0x7721('0x5')]||[];this[_0x7721('0x6')]=_0x516f0e[_0x7721('0x6')]||[];}module[_0x7721('0x7')]=Trigger; \ No newline at end of file diff --git a/server/services/ami/model/trunk.js b/server/services/ami/model/trunk.js index 6650efd..81e3eaa 100644 --- a/server/services/ami/model/trunk.js +++ b/server/services/ami/model/trunk.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xfb85=['address','exports','active','name','unknown','registry','indexOf','split','domain','domainport','stateRegistry','registrationtime'];(function(_0x5161aa,_0x5cb494){var _0x1efb20=function(_0x11bc6a){while(--_0x11bc6a){_0x5161aa['push'](_0x5161aa['shift']());}};_0x1efb20(++_0x5cb494);}(_0xfb85,0x12e));var _0x5fb8=function(_0x68c979,_0x431cff){_0x68c979=_0x68c979-0x0;var _0x4f0001=_0xfb85[_0x68c979];return _0x4f0001;};'use strict';function Trunk(_0x4fcafc){this['id']=_0x4fcafc['id']||0x0;this[_0x5fb8('0x0')]=_0x4fcafc[_0x5fb8('0x0')]||![];this[_0x5fb8('0x1')]=_0x4fcafc[_0x5fb8('0x1')]||'';this['state']=_0x5fb8('0x2');this['stateTime']=0x0;this['status']='unknown';this[_0x5fb8('0x3')]=_0x4fcafc[_0x5fb8('0x3')]&&_0x4fcafc[_0x5fb8('0x3')][_0x5fb8('0x4')](':')?_0x4fcafc['registry'][_0x5fb8('0x5')](':')[0x0]:'';this['host']='';this['port']='';this[_0x5fb8('0x6')]='';this[_0x5fb8('0x7')]='';this['refresh']='';this[_0x5fb8('0x8')]=_0x5fb8('0x2');this[_0x5fb8('0x9')]='';this[_0x5fb8('0xa')]='';}module[_0x5fb8('0xb')]=Trunk; \ No newline at end of file +var _0xb1ef=['registry','indexOf','split','host','domain','refresh','stateRegistry','registrationtime','address','exports','active','name','state','status','unknown'];(function(_0x12d7bc,_0x5bd2c1){var _0x1c3030=function(_0x2aa9ab){while(--_0x2aa9ab){_0x12d7bc['push'](_0x12d7bc['shift']());}};_0x1c3030(++_0x5bd2c1);}(_0xb1ef,0x127));var _0xfb1e=function(_0x321bb2,_0x202794){_0x321bb2=_0x321bb2-0x0;var _0x9c12ed=_0xb1ef[_0x321bb2];return _0x9c12ed;};'use strict';function Trunk(_0x54cb55){this['id']=_0x54cb55['id']||0x0;this[_0xfb1e('0x0')]=_0x54cb55['active']||![];this[_0xfb1e('0x1')]=_0x54cb55[_0xfb1e('0x1')]||'';this[_0xfb1e('0x2')]='unknown';this['stateTime']=0x0;this[_0xfb1e('0x3')]=_0xfb1e('0x4');this[_0xfb1e('0x5')]=_0x54cb55[_0xfb1e('0x5')]&&_0x54cb55[_0xfb1e('0x5')][_0xfb1e('0x6')](':')?_0x54cb55[_0xfb1e('0x5')][_0xfb1e('0x7')](':')[0x0]:'';this[_0xfb1e('0x8')]='';this['port']='';this[_0xfb1e('0x9')]='';this['domainport']='';this[_0xfb1e('0xa')]='';this[_0xfb1e('0xb')]=_0xfb1e('0x4');this[_0xfb1e('0xc')]='';this[_0xfb1e('0xd')]='';}module[_0xfb1e('0xe')]=Trunk; \ No newline at end of file diff --git a/server/services/ami/model/voiceExtension.js b/server/services/ami/model/voiceExtension.js index dfad347..3235727 100644 --- a/server/services/ami/model/voiceExtension.js +++ b/server/services/ami/model/voiceExtension.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x1f87=['none','exports','exten','recordingFormat'];(function(_0x39e26c,_0x1db2d8){var _0x29aade=function(_0x435066){while(--_0x435066){_0x39e26c['push'](_0x39e26c['shift']());}};_0x29aade(++_0x1db2d8);}(_0x1f87,0x19a));var _0x71f8=function(_0x28383d,_0x4c101e){_0x28383d=_0x28383d-0x0;var _0x2e919e=_0x1f87[_0x28383d];return _0x2e919e;};'use strict';function voiceExtension(_0x17eaca){this['id']=_0x17eaca['id']||0x0;this['exten']=_0x17eaca[_0x71f8('0x0')]||'';this[_0x71f8('0x1')]=_0x17eaca[_0x71f8('0x1')]||_0x71f8('0x2');this['mandatoryDisposition']=_0x17eaca['mandatoryDisposition']||![];}module[_0x71f8('0x3')]=voiceExtension; \ No newline at end of file +var _0x991b=['recordingFormat','none','mandatoryDisposition','exports','exten'];(function(_0x3f2397,_0x154b0b){var _0x3d4ed5=function(_0x5ef9db){while(--_0x5ef9db){_0x3f2397['push'](_0x3f2397['shift']());}};_0x3d4ed5(++_0x154b0b);}(_0x991b,0x1cb));var _0xb991=function(_0x33095c,_0x52167a){_0x33095c=_0x33095c-0x0;var _0x1ade13=_0x991b[_0x33095c];return _0x1ade13;};'use strict';function voiceExtension(_0x33a8e6){this['id']=_0x33a8e6['id']||0x0;this[_0xb991('0x0')]=_0x33a8e6['exten']||'';this[_0xb991('0x1')]=_0x33a8e6['recordingFormat']||_0xb991('0x2');this[_0xb991('0x3')]=_0x33a8e6[_0xb991('0x3')]||![];}module[_0xb991('0x4')]=voiceExtension; \ No newline at end of file diff --git a/server/services/ami/model/voiceQueue.js b/server/services/ami/model/voiceQueue.js index 2273240..31ad90f 100644 --- a/server/services/ami/model/voiceQueue.js +++ b/server/services/ami/model/voiceQueue.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x1cd7=['roundrobin','name','monitor_format','type','inbound','waiting','talking','total','answered','sumHoldTime','sumBillable','abandoned','acw','autopause','sendMessageOneNotActive','message','originated','temp','dialTimezone','dialGlobalInterval','dialActive','dialMethod','progressive','dialLimitChannel','dialLimitQueue','dialPowerLevel','dialPredictiveOptimization','dropRate','dialPredictiveOptimizationPercentage','dialPredictiveInterval','dialOriginateCallerIdName','dialOriginateCallerIdNumber','anonymous','dialOriginateTimeout','dialQueueOptions','tTxX','dialQueueTimeout','dialQueueProject','dialCongestionMaxRetry','dialCongestionRetryFrequency','dialBusyMaxRetry','dialNoAnswerMaxRetry','dialNoAnswerRetryFrequency','dialNoSuchNumberMaxRetry','dialNoSuchNumberRetryFrequency','dialDropMaxRetry','dialDropRetryFrequency','dialAbandonedMaxRetry','dialAbandonedRetryFrequency','dialMachineMaxRetry','dialMachineRetryFrequency','dialAgentRejectRetryFrequency','dialGlobalMaxRetry','Trunk','TrunkBackup','dialPrefix','Interval','dialOrderByScheduledAt','DESC','dialRandomLastDigitCallerIdNumber','dialCutDigit','strategy','queueStatusComplete','dialAMDActive','dialAMDInitialSilence','dialAMDGreeting','dialAMDAfterGreetingSilence','dialAMDTotalAnalysisTime','dialAMDMinWordLength','dialAMDBetweenWordsSilence','dialAMDMaximumNumberOfWords','dialAMDSilenceThreshold','outboundRejectCallsDay','pTalking','outboundAnswerAgiCallsDay','outboundBusyCallsDay','outboundCongestionCallsDay','outboundNoSuchCallsDay','outboundUnknownCallsDay','outboundBlacklistCallsDay','outboundDropCallsDayTimeout','outboundDropCallsDayACS','outboundReCallsDay','outboundAbandonedDay','startProgressive','startPredictive','predictiveIntervalTotalCalls','predictiveIntervalAnsweredCalls','predictiveIntervalDroppedCallsCallersExit','predictiveIntervalDroppedCallsTimeout','predictiveIntervalAvgTalktime','predictiveIntervalAvailable','dialPredictiveIntervalMaxThreshold','predictiveIntervalMinThreshold','predictiveIntervalErlangCalls','predictiveIntervalErlangCallsDroppedCalls','erlangCalls','erlangCallToSecond','erlangAbandonmentRate','dialRecallMeTimeout','dialRecallInQueue','dialQueueProject2','dialAgiAfterHangupClient','dialAgiAfterHangupAgent','mandatoryDisposition','exports','not_inuse','inuse','invalid','unavailable','ringing','ringinuse','onhold','wav','wav49','gsm'];(function(_0x48a73e,_0x39f1ac){var _0x390c0b=function(_0x369beb){while(--_0x369beb){_0x48a73e['push'](_0x48a73e['shift']());}};_0x390c0b(++_0x39f1ac);}(_0x1cd7,0x6a));var _0x71cd=function(_0x6f8556,_0x14ff87){_0x6f8556=_0x6f8556-0x0;var _0x262604=_0x1cd7[_0x6f8556];return _0x262604;};'use strict';var statusDesc=['unknown',_0x71cd('0x0'),_0x71cd('0x1'),'busy',_0x71cd('0x2'),_0x71cd('0x3'),_0x71cd('0x4'),_0x71cd('0x5'),_0x71cd('0x6')];var monitorFormat={'wav':_0x71cd('0x7'),'wav49':_0x71cd('0x8'),'gsm':_0x71cd('0x9')};var strategy={'rrmemory':'rrmemory','roundrobin':_0x71cd('0xa')};function VoiceQueue(_0x32b100){this['id']=_0x32b100['id']||0x0;this[_0x71cd('0xb')]=_0x32b100[_0x71cd('0xb')]||'';this[_0x71cd('0xc')]=_0x32b100[_0x71cd('0xc')]||'';this[_0x71cd('0xd')]=_0x32b100['type']||_0x71cd('0xe');this[_0x71cd('0xf')]=0x0;this[_0x71cd('0x10')]=0x0;this[_0x71cd('0x11')]=0x0;this[_0x71cd('0x12')]=0x0;this['sumDuration']=0x0;this[_0x71cd('0x13')]=0x0;this[_0x71cd('0x14')]=0x0;this['unmanaged']=0x0;this[_0x71cd('0x15')]=0x0;this['loggedIn']=0x0;this['available']=0x0;this['acw']=_0x32b100[_0x71cd('0x16')]||![];this['acwTimeout']=_0x32b100['acwTimeout']||0xa;this[_0x71cd('0x17')]=_0x32b100[_0x71cd('0x17')]||'no';this[_0x71cd('0x18')]=!![];this[_0x71cd('0x19')]='';this[_0x71cd('0x1a')]=0x0;this[_0x71cd('0x1b')]=0x0;this[_0x71cd('0x1c')]=_0x32b100[_0x71cd('0x1c')]||null;this[_0x71cd('0x1d')]=_0x32b100[_0x71cd('0x1d')]?_0x32b100['dialGlobalInterval']:null;this[_0x71cd('0x1e')]=_0x32b100[_0x71cd('0x1e')];this[_0x71cd('0x1f')]=_0x32b100['dialMethod']||_0x71cd('0x20');this[_0x71cd('0x21')]=_0x32b100[_0x71cd('0x21')]||0x0;this[_0x71cd('0x22')]=_0x32b100['dialLimitQueue']||0x0;this['dialPowerLevel']=_0x32b100[_0x71cd('0x23')]||0x1;this[_0x71cd('0x24')]=_0x32b100[_0x71cd('0x24')]||_0x71cd('0x25');this[_0x71cd('0x26')]=_0x32b100[_0x71cd('0x26')]||0.03;this[_0x71cd('0x27')]=_0x32b100[_0x71cd('0x27')]||0x258;this[_0x71cd('0x28')]=_0x32b100['dialOriginateCallerIdName']||'anonymous';this['dialOriginateCallerIdNumber']=_0x32b100[_0x71cd('0x29')]||_0x71cd('0x2a');this[_0x71cd('0x2b')]=_0x32b100[_0x71cd('0x2b')]||0x1e;this[_0x71cd('0x2c')]=_0x32b100[_0x71cd('0x2c')]||_0x71cd('0x2d');this[_0x71cd('0x2e')]=_0x32b100[_0x71cd('0x2e')]||0x3;this[_0x71cd('0x2f')]=_0x32b100[_0x71cd('0x2f')]||undefined;this[_0x71cd('0x30')]=_0x32b100[_0x71cd('0x30')]||0x3;this[_0x71cd('0x31')]=_0x32b100[_0x71cd('0x31')]||0x96;this['dialBusyMaxRetry']=_0x32b100[_0x71cd('0x32')]||0x3;this['dialBusyRetryFrequency']=_0x32b100['dialBusyRetryFrequency']||0x96;this['dialNoAnswerMaxRetry']=_0x32b100[_0x71cd('0x33')]||0x3;this[_0x71cd('0x34')]=_0x32b100[_0x71cd('0x34')]||0x96;this[_0x71cd('0x35')]=_0x32b100[_0x71cd('0x35')]||0x3;this[_0x71cd('0x36')]=_0x32b100[_0x71cd('0x36')]||0x96;this[_0x71cd('0x37')]=_0x32b100[_0x71cd('0x37')]||0x3;this[_0x71cd('0x38')]=_0x32b100[_0x71cd('0x38')]||0x96;this[_0x71cd('0x39')]=_0x32b100[_0x71cd('0x39')]||0x3;this[_0x71cd('0x3a')]=_0x32b100[_0x71cd('0x3a')]||0x96;this[_0x71cd('0x3b')]=_0x32b100[_0x71cd('0x3b')]||0x3;this[_0x71cd('0x3c')]=_0x32b100[_0x71cd('0x3c')]||0x96;this['dialAgentRejectMaxRetry']=_0x32b100['dialAgentRejectMaxRetry']||0x3;this[_0x71cd('0x3d')]=_0x32b100[_0x71cd('0x3d')]||0x96;this[_0x71cd('0x3e')]=_0x32b100[_0x71cd('0x3e')]||0x4;this[_0x71cd('0x3f')]=_0x32b100[_0x71cd('0x3f')]?_0x32b100['Trunk']:undefined;this[_0x71cd('0x40')]=_0x32b100['TrunkBackup']?_0x32b100['TrunkBackup']:undefined;this[_0x71cd('0x41')]=_0x32b100[_0x71cd('0x41')]||undefined;this['Interval']=_0x32b100[_0x71cd('0x42')]?_0x32b100['Interval']:undefined;this[_0x71cd('0x43')]=_0x32b100[_0x71cd('0x43')]||_0x71cd('0x44');this[_0x71cd('0x45')]=_0x32b100[_0x71cd('0x45')]||undefined;this[_0x71cd('0x46')]=_0x32b100[_0x71cd('0x46')]||undefined;this[_0x71cd('0x47')]=strategy[_0x32b100['strategy']]||'rrmemory';this[_0x71cd('0x48')]=!![];this['dialAMDActive']=_0x32b100[_0x71cd('0x49')]||![];this[_0x71cd('0x4a')]=_0x32b100[_0x71cd('0x4a')];this[_0x71cd('0x4b')]=_0x32b100[_0x71cd('0x4b')];this[_0x71cd('0x4c')]=_0x32b100[_0x71cd('0x4c')];this[_0x71cd('0x4d')]=_0x32b100[_0x71cd('0x4d')];this[_0x71cd('0x4e')]=_0x32b100['dialAMDMinWordLength'];this[_0x71cd('0x4f')]=_0x32b100['dialAMDBetweenWordsSilence'];this['dialAMDMaximumNumberOfWords']=_0x32b100[_0x71cd('0x50')];this[_0x71cd('0x51')]=_0x32b100[_0x71cd('0x51')];this['dialAMDMaximumWordLength']=_0x32b100['dialAMDMaximumWordLength'];this[_0x71cd('0x52')]=0x0;this[_0x71cd('0x53')]=0x0;this['timeout']=_0x32b100['timeout'];this['outboundAnswerCallsDay']=0x0;this[_0x71cd('0x54')]=0x0;this['outboundNoAnswerCallsDay']=0x0;this[_0x71cd('0x55')]=0x0;this[_0x71cd('0x56')]=0x0;this[_0x71cd('0x57')]=0x0;this[_0x71cd('0x58')]=0x0;this[_0x71cd('0x59')]=0x0;this['outboundOriginateFailureCallsDay']=0x0;this['outboundDropCallsDayCallersExit']=0x0;this[_0x71cd('0x5a')]=0x0;this[_0x71cd('0x5b')]=0x0;this[_0x71cd('0x5c')]=0x0;this[_0x71cd('0x5d')]=0x0;this[_0x71cd('0x5e')]=undefined;this[_0x71cd('0x5f')]=undefined;this['handlePredictive']=undefined;this['predictiveIntervalMultiplicativeFactor']=1.05;this[_0x71cd('0x60')]=0x0;this[_0x71cd('0x61')]=0x0;this[_0x71cd('0x62')]=0x0;this[_0x71cd('0x63')]=0x0;this['predictiveIntervalAvgHoldtime']=0x0;this[_0x71cd('0x64')]=0x0;this['predictiveIntervalPauses']=0x0;this[_0x71cd('0x65')]=0x0;this['predictiveIntervalMaxThreshold']=_0x32b100[_0x71cd('0x66')]||0x14;this[_0x71cd('0x67')]=_0x32b100[_0x71cd('0x66')]||0xa;this[_0x71cd('0x68')]=0x0;this[_0x71cd('0x69')]=0x0;this['predictiveIntervalHitRate']=0x1;this[_0x71cd('0x6a')]=0x0;this[_0x71cd('0x6b')]=0x0;this[_0x71cd('0x6c')]=0x0;this['erlangBusyFactor']=0x0;this[_0x71cd('0x6d')]=_0x32b100[_0x71cd('0x6d')]||0x1e;this[_0x71cd('0x6e')]=_0x32b100[_0x71cd('0x6e')]||![];this[_0x71cd('0x6f')]=_0x32b100['dialQueueProject2']||undefined;this[_0x71cd('0x70')]=_0x32b100[_0x71cd('0x70')]||![];this[_0x71cd('0x71')]=_0x32b100[_0x71cd('0x71')]||![];this[_0x71cd('0xc')]=monitorFormat[_0x32b100[_0x71cd('0xc')]]?monitorFormat[_0x32b100[_0x71cd('0xc')]]:undefined;this['mandatoryDisposition']=_0x32b100[_0x71cd('0x72')]||![];this['mandatoryDispositionPause']=_0x32b100['mandatoryDispositionPause']?_0x32b100['mandatoryDispositionPause']:undefined;}module[_0x71cd('0x73')]=VoiceQueue; \ No newline at end of file +var _0xa45b=['dialPowerLevel','dialPredictiveOptimization','dropRate','dialPredictiveInterval','dialOriginateCallerIdName','anonymous','dialOriginateCallerIdNumber','dialOriginateTimeout','dialQueueOptions','tTxX','dialQueueTimeout','dialQueueProject','dialCongestionMaxRetry','dialCongestionRetryFrequency','dialBusyMaxRetry','dialBusyRetryFrequency','dialNoAnswerMaxRetry','dialNoAnswerRetryFrequency','dialNoSuchNumberMaxRetry','dialNoSuchNumberRetryFrequency','dialDropMaxRetry','dialDropRetryFrequency','dialAbandonedMaxRetry','dialAbandonedRetryFrequency','dialMachineMaxRetry','dialMachineRetryFrequency','dialAgentRejectMaxRetry','dialAgentRejectRetryFrequency','dialGlobalMaxRetry','Trunk','TrunkBackup','Interval','dialOrderByScheduledAt','DESC','dialRandomLastDigitCallerIdNumber','dialCutDigit','strategy','queueStatusComplete','dialAMDActive','dialAMDInitialSilence','dialAMDGreeting','dialAMDAfterGreetingSilence','dialAMDTotalAnalysisTime','dialAMDMinWordLength','dialAMDBetweenWordsSilence','dialAMDMaximumNumberOfWords','dialAMDSilenceThreshold','dialAMDMaximumWordLength','outboundRejectCallsDay','pTalking','outboundBusyCallsDay','outboundNoSuchCallsDay','outboundUnknownCallsDay','outboundBlacklistCallsDay','outboundDropCallsDayCallersExit','outboundDropCallsDayTimeout','outboundDropCallsDayACS','outboundReCallsDay','startProgressive','startPredictive','handlePredictive','predictiveIntervalTotalCalls','predictiveIntervalAnsweredCalls','predictiveIntervalDroppedCallsCallersExit','predictiveIntervalDroppedCallsTimeout','predictiveIntervalAvgHoldtime','predictiveIntervalAvailable','predictiveIntervalMaxThreshold','dialPredictiveIntervalMaxThreshold','predictiveIntervalErlangCallsDroppedCalls','predictiveIntervalHitRate','erlangCalls','erlangBusyFactor','dialRecallMeTimeout','dialRecallInQueue','dialQueueProject2','dialAgiAfterHangupClient','dialAgiAfterHangupAgent','mandatoryDisposition','exports','not_inuse','busy','invalid','ringing','ringinuse','wav','wav49','gsm','rrmemory','roundrobin','name','monitor_format','type','total','answered','sumDuration','sumHoldTime','sumBillable','unmanaged','abandoned','available','acw','acwTimeout','autopause','message','temp','dialTimezone','dialGlobalInterval','dialActive','dialMethod','progressive','dialLimitChannel','dialLimitQueue'];(function(_0x16f933,_0x572f92){var _0x1a1268=function(_0xac6808){while(--_0xac6808){_0x16f933['push'](_0x16f933['shift']());}};_0x1a1268(++_0x572f92);}(_0xa45b,0x1a3));var _0xba45=function(_0x254e05,_0x69e072){_0x254e05=_0x254e05-0x0;var _0x538d07=_0xa45b[_0x254e05];return _0x538d07;};'use strict';var statusDesc=['unknown',_0xba45('0x0'),'inuse',_0xba45('0x1'),_0xba45('0x2'),'unavailable',_0xba45('0x3'),_0xba45('0x4'),'onhold'];var monitorFormat={'wav':_0xba45('0x5'),'wav49':_0xba45('0x6'),'gsm':_0xba45('0x7')};var strategy={'rrmemory':_0xba45('0x8'),'roundrobin':_0xba45('0x9')};function VoiceQueue(_0x1e04b5){this['id']=_0x1e04b5['id']||0x0;this[_0xba45('0xa')]=_0x1e04b5['name']||'';this[_0xba45('0xb')]=_0x1e04b5[_0xba45('0xb')]||'';this[_0xba45('0xc')]=_0x1e04b5[_0xba45('0xc')]||'inbound';this['waiting']=0x0;this['talking']=0x0;this[_0xba45('0xd')]=0x0;this[_0xba45('0xe')]=0x0;this[_0xba45('0xf')]=0x0;this[_0xba45('0x10')]=0x0;this[_0xba45('0x11')]=0x0;this[_0xba45('0x12')]=0x0;this[_0xba45('0x13')]=0x0;this['loggedIn']=0x0;this[_0xba45('0x14')]=0x0;this[_0xba45('0x15')]=_0x1e04b5['acw']||![];this[_0xba45('0x16')]=_0x1e04b5[_0xba45('0x16')]||0xa;this[_0xba45('0x17')]=_0x1e04b5['autopause']||'no';this['sendMessageOneNotActive']=!![];this[_0xba45('0x18')]='';this['originated']=0x0;this[_0xba45('0x19')]=0x0;this[_0xba45('0x1a')]=_0x1e04b5['dialTimezone']||null;this[_0xba45('0x1b')]=_0x1e04b5[_0xba45('0x1b')]?_0x1e04b5[_0xba45('0x1b')]:null;this[_0xba45('0x1c')]=_0x1e04b5[_0xba45('0x1c')];this[_0xba45('0x1d')]=_0x1e04b5['dialMethod']||_0xba45('0x1e');this[_0xba45('0x1f')]=_0x1e04b5[_0xba45('0x1f')]||0x0;this['dialLimitQueue']=_0x1e04b5[_0xba45('0x20')]||0x0;this[_0xba45('0x21')]=_0x1e04b5[_0xba45('0x21')]||0x1;this[_0xba45('0x22')]=_0x1e04b5[_0xba45('0x22')]||_0xba45('0x23');this['dialPredictiveOptimizationPercentage']=_0x1e04b5['dialPredictiveOptimizationPercentage']||0.03;this[_0xba45('0x24')]=_0x1e04b5['dialPredictiveInterval']||0x258;this[_0xba45('0x25')]=_0x1e04b5[_0xba45('0x25')]||_0xba45('0x26');this[_0xba45('0x27')]=_0x1e04b5[_0xba45('0x27')]||_0xba45('0x26');this[_0xba45('0x28')]=_0x1e04b5[_0xba45('0x28')]||0x1e;this[_0xba45('0x29')]=_0x1e04b5['dialQueueOptions']||_0xba45('0x2a');this[_0xba45('0x2b')]=_0x1e04b5['dialQueueTimeout']||0x3;this['dialQueueProject']=_0x1e04b5[_0xba45('0x2c')]||undefined;this[_0xba45('0x2d')]=_0x1e04b5[_0xba45('0x2d')]||0x3;this[_0xba45('0x2e')]=_0x1e04b5['dialCongestionRetryFrequency']||0x96;this[_0xba45('0x2f')]=_0x1e04b5[_0xba45('0x2f')]||0x3;this[_0xba45('0x30')]=_0x1e04b5[_0xba45('0x30')]||0x96;this[_0xba45('0x31')]=_0x1e04b5[_0xba45('0x31')]||0x3;this[_0xba45('0x32')]=_0x1e04b5[_0xba45('0x32')]||0x96;this[_0xba45('0x33')]=_0x1e04b5[_0xba45('0x33')]||0x3;this[_0xba45('0x34')]=_0x1e04b5['dialNoSuchNumberRetryFrequency']||0x96;this[_0xba45('0x35')]=_0x1e04b5[_0xba45('0x35')]||0x3;this['dialDropRetryFrequency']=_0x1e04b5[_0xba45('0x36')]||0x96;this[_0xba45('0x37')]=_0x1e04b5[_0xba45('0x37')]||0x3;this[_0xba45('0x38')]=_0x1e04b5[_0xba45('0x38')]||0x96;this[_0xba45('0x39')]=_0x1e04b5[_0xba45('0x39')]||0x3;this[_0xba45('0x3a')]=_0x1e04b5[_0xba45('0x3a')]||0x96;this['dialAgentRejectMaxRetry']=_0x1e04b5[_0xba45('0x3b')]||0x3;this[_0xba45('0x3c')]=_0x1e04b5['dialAgentRejectRetryFrequency']||0x96;this[_0xba45('0x3d')]=_0x1e04b5['dialGlobalMaxRetry']||0x4;this[_0xba45('0x3e')]=_0x1e04b5[_0xba45('0x3e')]?_0x1e04b5[_0xba45('0x3e')]:undefined;this[_0xba45('0x3f')]=_0x1e04b5[_0xba45('0x3f')]?_0x1e04b5[_0xba45('0x3f')]:undefined;this['dialPrefix']=_0x1e04b5['dialPrefix']||undefined;this['Interval']=_0x1e04b5[_0xba45('0x40')]?_0x1e04b5[_0xba45('0x40')]:undefined;this[_0xba45('0x41')]=_0x1e04b5[_0xba45('0x41')]||_0xba45('0x42');this[_0xba45('0x43')]=_0x1e04b5[_0xba45('0x43')]||undefined;this[_0xba45('0x44')]=_0x1e04b5['dialCutDigit']||undefined;this[_0xba45('0x45')]=strategy[_0x1e04b5[_0xba45('0x45')]]||_0xba45('0x8');this[_0xba45('0x46')]=!![];this[_0xba45('0x47')]=_0x1e04b5['dialAMDActive']||![];this[_0xba45('0x48')]=_0x1e04b5[_0xba45('0x48')];this['dialAMDGreeting']=_0x1e04b5[_0xba45('0x49')];this[_0xba45('0x4a')]=_0x1e04b5[_0xba45('0x4a')];this[_0xba45('0x4b')]=_0x1e04b5[_0xba45('0x4b')];this[_0xba45('0x4c')]=_0x1e04b5[_0xba45('0x4c')];this[_0xba45('0x4d')]=_0x1e04b5[_0xba45('0x4d')];this[_0xba45('0x4e')]=_0x1e04b5[_0xba45('0x4e')];this[_0xba45('0x4f')]=_0x1e04b5[_0xba45('0x4f')];this[_0xba45('0x50')]=_0x1e04b5['dialAMDMaximumWordLength'];this[_0xba45('0x51')]=0x0;this[_0xba45('0x52')]=0x0;this['timeout']=_0x1e04b5['timeout'];this['outboundAnswerCallsDay']=0x0;this['outboundAnswerAgiCallsDay']=0x0;this['outboundNoAnswerCallsDay']=0x0;this[_0xba45('0x53')]=0x0;this['outboundCongestionCallsDay']=0x0;this[_0xba45('0x54')]=0x0;this[_0xba45('0x55')]=0x0;this[_0xba45('0x56')]=0x0;this['outboundOriginateFailureCallsDay']=0x0;this[_0xba45('0x57')]=0x0;this[_0xba45('0x58')]=0x0;this[_0xba45('0x59')]=0x0;this[_0xba45('0x5a')]=0x0;this['outboundAbandonedDay']=0x0;this[_0xba45('0x5b')]=undefined;this[_0xba45('0x5c')]=undefined;this[_0xba45('0x5d')]=undefined;this['predictiveIntervalMultiplicativeFactor']=1.05;this[_0xba45('0x5e')]=0x0;this[_0xba45('0x5f')]=0x0;this[_0xba45('0x60')]=0x0;this[_0xba45('0x61')]=0x0;this[_0xba45('0x62')]=0x0;this['predictiveIntervalAvgTalktime']=0x0;this['predictiveIntervalPauses']=0x0;this[_0xba45('0x63')]=0x0;this[_0xba45('0x64')]=_0x1e04b5[_0xba45('0x65')]||0x14;this['predictiveIntervalMinThreshold']=_0x1e04b5['dialPredictiveIntervalMaxThreshold']||0xa;this['predictiveIntervalErlangCalls']=0x0;this[_0xba45('0x66')]=0x0;this[_0xba45('0x67')]=0x1;this[_0xba45('0x68')]=0x0;this['erlangCallToSecond']=0x0;this['erlangAbandonmentRate']=0x0;this[_0xba45('0x69')]=0x0;this[_0xba45('0x6a')]=_0x1e04b5[_0xba45('0x6a')]||0x1e;this[_0xba45('0x6b')]=_0x1e04b5['dialRecallInQueue']||![];this[_0xba45('0x6c')]=_0x1e04b5[_0xba45('0x6c')]||undefined;this[_0xba45('0x6d')]=_0x1e04b5['dialAgiAfterHangupClient']||![];this[_0xba45('0x6e')]=_0x1e04b5[_0xba45('0x6e')]||![];this['monitor_format']=monitorFormat[_0x1e04b5[_0xba45('0xb')]]?monitorFormat[_0x1e04b5[_0xba45('0xb')]]:undefined;this[_0xba45('0x6f')]=_0x1e04b5[_0xba45('0x6f')]||![];this['mandatoryDispositionPause']=_0x1e04b5['mandatoryDispositionPause']?_0x1e04b5['mandatoryDispositionPause']:undefined;}module[_0xba45('0x70')]=VoiceQueue; \ No newline at end of file diff --git a/server/services/ami/model/vtigerAccount.js b/server/services/ami/model/vtigerAccount.js index 0c9c150..ef8d22c 100644 --- a/server/services/ami/model/vtigerAccount.js +++ b/server/services/ami/model/vtigerAccount.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x241d=['Configurations','exports','name','username','accessKey','remoteUri','serverUrl'];(function(_0x161509,_0x526844){var _0x41b07d=function(_0x5d97ba){while(--_0x5d97ba){_0x161509['push'](_0x161509['shift']());}};_0x41b07d(++_0x526844);}(_0x241d,0x64));var _0xd241=function(_0x2f1762,_0xab43df){_0x2f1762=_0x2f1762-0x0;var _0x8ab21=_0x241d[_0x2f1762];return _0x8ab21;};'use strict';function VtigerAccount(_0x2c636b){this['id']=_0x2c636b['id']||0x0;this['name']=_0x2c636b[_0xd241('0x0')]||'';this[_0xd241('0x1')]=_0x2c636b[_0xd241('0x1')]||'';this[_0xd241('0x2')]=_0x2c636b[_0xd241('0x2')]||'';this[_0xd241('0x3')]=_0x2c636b[_0xd241('0x3')]||'';this[_0xd241('0x4')]=_0x2c636b[_0xd241('0x4')]||'';this[_0xd241('0x5')]=_0x2c636b[_0xd241('0x5')]||{};}module[_0xd241('0x6')]=VtigerAccount; \ No newline at end of file +var _0xc092=['Configurations','exports','name','accessKey','remoteUri','serverUrl'];(function(_0x1983ba,_0x35bfe9){var _0x3891f3=function(_0x8fab7){while(--_0x8fab7){_0x1983ba['push'](_0x1983ba['shift']());}};_0x3891f3(++_0x35bfe9);}(_0xc092,0x122));var _0x2c09=function(_0xd200c0,_0xce5c8a){_0xd200c0=_0xd200c0-0x0;var _0x1233e5=_0xc092[_0xd200c0];return _0x1233e5;};'use strict';function VtigerAccount(_0x218b21){this['id']=_0x218b21['id']||0x0;this[_0x2c09('0x0')]=_0x218b21[_0x2c09('0x0')]||'';this['username']=_0x218b21['username']||'';this[_0x2c09('0x1')]=_0x218b21['accessKey']||'';this[_0x2c09('0x2')]=_0x218b21[_0x2c09('0x2')]||'';this[_0x2c09('0x3')]=_0x218b21['serverUrl']||'';this[_0x2c09('0x4')]=_0x218b21[_0x2c09('0x4')]||{};}module[_0x2c09('0x5')]=VtigerAccount; \ No newline at end of file diff --git a/server/services/ami/model/zendeskAccount.js b/server/services/ami/model/zendeskAccount.js index 1ec1449..cf8a31a 100644 --- a/server/services/ami/model/zendeskAccount.js +++ b/server/services/ami/model/zendeskAccount.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xadb5=['token','remoteUri','authType','type','integrationTab','serverUrl','Configurations','exports','name','username','password'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0xadb5,0xad));var _0x5adb=function(_0x421a3b,_0x5fad27){_0x421a3b=_0x421a3b-0x0;var _0x215f75=_0xadb5[_0x421a3b];return _0x215f75;};'use strict';function ZendeskAccount(_0x1f969c){this['id']=_0x1f969c['id']||0x0;this[_0x5adb('0x0')]=_0x1f969c['name']||'';this[_0x5adb('0x1')]=_0x1f969c[_0x5adb('0x1')]||'';this[_0x5adb('0x2')]=_0x1f969c['password']||'';this[_0x5adb('0x3')]=_0x1f969c[_0x5adb('0x3')]||'';this[_0x5adb('0x4')]=_0x1f969c['remoteUri']||'';this[_0x5adb('0x5')]=_0x1f969c[_0x5adb('0x5')]||'';this[_0x5adb('0x6')]=_0x1f969c[_0x5adb('0x6')]||_0x5adb('0x7');this[_0x5adb('0x8')]=_0x1f969c[_0x5adb('0x8')]||'';this[_0x5adb('0x9')]=_0x1f969c[_0x5adb('0x9')]||{};}module[_0x5adb('0xa')]=ZendeskAccount; \ No newline at end of file +var _0x2ef3=['username','password','token','remoteUri','authType','type','integrationTab','serverUrl','Configurations','exports','name'];(function(_0x285ca5,_0x2d5c61){var _0x265967=function(_0x1de08d){while(--_0x1de08d){_0x285ca5['push'](_0x285ca5['shift']());}};_0x265967(++_0x2d5c61);}(_0x2ef3,0xba));var _0x32ef=function(_0x3070d8,_0x353707){_0x3070d8=_0x3070d8-0x0;var _0x5b4099=_0x2ef3[_0x3070d8];return _0x5b4099;};'use strict';function ZendeskAccount(_0x4d5ac8){this['id']=_0x4d5ac8['id']||0x0;this[_0x32ef('0x0')]=_0x4d5ac8[_0x32ef('0x0')]||'';this[_0x32ef('0x1')]=_0x4d5ac8[_0x32ef('0x1')]||'';this[_0x32ef('0x2')]=_0x4d5ac8['password']||'';this[_0x32ef('0x3')]=_0x4d5ac8[_0x32ef('0x3')]||'';this['remoteUri']=_0x4d5ac8[_0x32ef('0x4')]||'';this[_0x32ef('0x5')]=_0x4d5ac8['authType']||'';this['type']=_0x4d5ac8[_0x32ef('0x6')]||_0x32ef('0x7');this[_0x32ef('0x8')]=_0x4d5ac8[_0x32ef('0x8')]||'';this[_0x32ef('0x9')]=_0x4d5ac8[_0x32ef('0x9')]||{};}module[_0x32ef('0xa')]=ZendeskAccount; \ No newline at end of file diff --git a/server/services/ami/model/zohoAccount.js b/server/services/ami/model/zohoAccount.js index 3a20dee..08d9e91 100644 --- a/server/services/ami/model/zohoAccount.js +++ b/server/services/ami/model/zohoAccount.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xf3a8=['Configurations','exports','name','description','zone','clientId','clientSecret','serverUrl','code','refreshToken'];(function(_0x5a9629,_0x532e57){var _0x2212c4=function(_0x1c1a29){while(--_0x1c1a29){_0x5a9629['push'](_0x5a9629['shift']());}};_0x2212c4(++_0x532e57);}(_0xf3a8,0xf2));var _0x8f3a=function(_0x39c572,_0x4f8d3a){_0x39c572=_0x39c572-0x0;var _0x27c69e=_0xf3a8[_0x39c572];return _0x27c69e;};'use strict';function ZohoAccount(_0x29e215){this['id']=_0x29e215['id']||0x0;this[_0x8f3a('0x0')]=_0x29e215[_0x8f3a('0x0')]||'';this['description']=_0x29e215[_0x8f3a('0x1')]||'';this['host']=_0x29e215['host']||'';this[_0x8f3a('0x2')]=_0x29e215['zone']||'';this[_0x8f3a('0x3')]=_0x29e215['clientId']||'';this[_0x8f3a('0x4')]=_0x29e215[_0x8f3a('0x4')]||'';this[_0x8f3a('0x5')]=_0x29e215[_0x8f3a('0x5')]||'';this[_0x8f3a('0x6')]=_0x29e215[_0x8f3a('0x6')]||'';this[_0x8f3a('0x7')]=_0x29e215[_0x8f3a('0x7')]||'';this[_0x8f3a('0x8')]=_0x29e215['Configurations']||{};}module[_0x8f3a('0x9')]=ZohoAccount; \ No newline at end of file +var _0x3609=['zone','clientId','serverUrl','code','refreshToken','Configurations','exports','name','description','host'];(function(_0x2d4f73,_0x507dcd){var _0x5c05c3=function(_0x1e8c00){while(--_0x1e8c00){_0x2d4f73['push'](_0x2d4f73['shift']());}};_0x5c05c3(++_0x507dcd);}(_0x3609,0x101));var _0x9360=function(_0x5d9458,_0x1b1bd6){_0x5d9458=_0x5d9458-0x0;var _0x32b1e0=_0x3609[_0x5d9458];return _0x32b1e0;};'use strict';function ZohoAccount(_0x4ffc84){this['id']=_0x4ffc84['id']||0x0;this[_0x9360('0x0')]=_0x4ffc84[_0x9360('0x0')]||'';this[_0x9360('0x1')]=_0x4ffc84[_0x9360('0x1')]||'';this[_0x9360('0x2')]=_0x4ffc84[_0x9360('0x2')]||'';this['zone']=_0x4ffc84[_0x9360('0x3')]||'';this[_0x9360('0x4')]=_0x4ffc84[_0x9360('0x4')]||'';this['clientSecret']=_0x4ffc84['clientSecret']||'';this['serverUrl']=_0x4ffc84[_0x9360('0x5')]||'';this[_0x9360('0x6')]=_0x4ffc84['code']||'';this[_0x9360('0x7')]=_0x4ffc84[_0x9360('0x7')]||'';this[_0x9360('0x8')]=_0x4ffc84[_0x9360('0x8')]||{};}module[_0x9360('0x9')]=ZohoAccount; \ No newline at end of file diff --git a/server/services/ami/preview/action.js b/server/services/ami/preview/action.js index b523d02..1843755 100644 --- a/server/services/ami/preview/action.js +++ b/server/services/ami/preview/action.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xc9b4=['Contact','phone','lastName','active','scheduledat','countbusyretry','countcongestionretry','countnoanswerretry','countglobal','countnosuchnumberretry','countdropretry','countabandonedretry','countagentrejectretry','countmachineretry','callback','callbackuniqueid','callbackat','recallme','ContactId','ListId','UserId','VoiceQueueId','originatecalleridname','prototype','getCaller','\x22%s\x22\x20<%s>','number','exports','util','moment','isNil','string','uniqueid','queue','type','campaigntype','dialAnswer','membername','Agent','name','channelAgent','format','SIP/%s','calleridname'];(function(_0x2cbd58,_0x278e75){var _0x42ef2a=function(_0x4d2ceb){while(--_0x4d2ceb){_0x2cbd58['push'](_0x2cbd58['shift']());}};_0x42ef2a(++_0x278e75);}(_0xc9b4,0xcc));var _0x4c9b=function(_0xaaf2e2,_0x19d28a){_0xaaf2e2=_0xaaf2e2-0x0;var _0x28bc36=_0xc9b4[_0xaaf2e2];return _0x28bc36;};'use strict';var util=require(_0x4c9b('0x0'));var _=require('lodash');var moment=require(_0x4c9b('0x1'));function checkNameSurname(_0x2d632e,_0x4749c7,_0x29b84b){var _0x214a20='';if(!_[_0x4c9b('0x2')](_0x4749c7)&&_0x4c9b('0x3')===typeof _0x4749c7){_0x214a20+=_0x4749c7;}if(!_['isNil'](_0x29b84b)&&_0x4c9b('0x3')===typeof _0x29b84b){_0x214a20+='\x20'+_0x29b84b;}if(_0x214a20!==''){return _0x214a20;}return _0x2d632e;}function Action(_0x32ab2f,_0x431b66,_0x366a82,_0x28a8f3,_0x2083ff){this[_0x4c9b('0x4')]=_0x366a82||undefined;this['idContact']=_0x32ab2f['id'];this[_0x4c9b('0x5')]=_0x431b66['name'];this[_0x4c9b('0x6')]=_0x431b66[_0x4c9b('0x6')];this[_0x4c9b('0x7')]=_0x4c9b('0x5');this[_0x4c9b('0x8')]=![];this[_0x4c9b('0x9')]=_[_0x4c9b('0x2')](_0x32ab2f['Agent'])?undefined:_0x32ab2f[_0x4c9b('0xa')][_0x4c9b('0xb')];this[_0x4c9b('0xc')]=this[_0x4c9b('0x9')]?util[_0x4c9b('0xd')](_0x4c9b('0xe'),this[_0x4c9b('0x9')]):_0x28a8f3||undefined;this[_0x4c9b('0xf')]=checkNameSurname(_0x32ab2f[_0x4c9b('0x10')][_0x4c9b('0x11')],_0x32ab2f[_0x4c9b('0x10')]['firstName'],_0x32ab2f[_0x4c9b('0x10')][_0x4c9b('0x12')]);this[_0x4c9b('0x13')]=_0x32ab2f[_0x4c9b('0x13')]||![];this['calleridnum']=_0x32ab2f[_0x4c9b('0x10')][_0x4c9b('0x11')];this[_0x4c9b('0x14')]=_0x32ab2f[_0x4c9b('0x14')];this[_0x4c9b('0x15')]=_0x32ab2f[_0x4c9b('0x15')]||0x0;this[_0x4c9b('0x16')]=_0x32ab2f[_0x4c9b('0x16')]||0x0;this[_0x4c9b('0x17')]=_0x32ab2f[_0x4c9b('0x17')]||0x0;this[_0x4c9b('0x18')]=(_0x32ab2f[_0x4c9b('0x15')]||0x0)+(_0x32ab2f[_0x4c9b('0x16')]||0x0)+(_0x32ab2f[_0x4c9b('0x17')]||0x0)+(_0x32ab2f[_0x4c9b('0x19')]||0x0)+(_0x32ab2f[_0x4c9b('0x1a')]||0x0)+(_0x32ab2f[_0x4c9b('0x1b')]||0x0)+(_0x32ab2f['countmachineretry']||0x0)+(_0x32ab2f[_0x4c9b('0x1c')]||0x0);this[_0x4c9b('0x19')]=_0x32ab2f[_0x4c9b('0x19')]||0x0;this['countdropretry']=_0x32ab2f['countdropretry']||0x0;this[_0x4c9b('0x1b')]=_0x32ab2f[_0x4c9b('0x1b')]||0x0;this[_0x4c9b('0x1d')]=_0x32ab2f[_0x4c9b('0x1d')]||0x0;this[_0x4c9b('0x1c')]=_0x32ab2f[_0x4c9b('0x1c')]||0x0;this[_0x4c9b('0x1e')]=_0x32ab2f[_0x4c9b('0x1e')];this[_0x4c9b('0x1f')]=_0x32ab2f[_0x4c9b('0x1f')];this[_0x4c9b('0x20')]=_0x32ab2f[_0x4c9b('0x20')];this[_0x4c9b('0x21')]=_0x32ab2f[_0x4c9b('0x21')];this[_0x4c9b('0x22')]=_0x32ab2f[_0x4c9b('0x22')];this[_0x4c9b('0x23')]=_0x32ab2f['ListId'];this[_0x4c9b('0x24')]=_['isNil'](_0x32ab2f[_0x4c9b('0xa')])?_0x32ab2f[_0x4c9b('0x24')]:_0x32ab2f[_0x4c9b('0xa')]['id'];this[_0x4c9b('0x25')]=_0x32ab2f[_0x4c9b('0x25')];this['originatecalleridnum']='';this[_0x4c9b('0x26')]='';}Action[_0x4c9b('0x27')][_0x4c9b('0x28')]=function(){return util['format'](_0x4c9b('0x29'),this[_0x4c9b('0xf')],this[_0x4c9b('0x2a')]);};module[_0x4c9b('0x2b')]=Action; \ No newline at end of file +var _0x941b=['lodash','isNil','string','uniqueid','queue','type','campaigntype','dialAnswer','Agent','name','channelAgent','format','membername','Contact','phone','lastName','active','calleridnum','scheduledat','countbusyretry','countcongestionretry','countnoanswerretry','countglobal','countnosuchnumberretry','countdropretry','countabandonedretry','countagentrejectretry','countmachineretry','callback','callbackuniqueid','callbackat','recallme','ContactId','ListId','UserId','VoiceQueueId','originatecalleridnum','originatecalleridname','prototype','getCaller','calleridname','number','util'];(function(_0x398be0,_0x16c59b){var _0x47aac6=function(_0x16d77f){while(--_0x16d77f){_0x398be0['push'](_0x398be0['shift']());}};_0x47aac6(++_0x16c59b);}(_0x941b,0xab));var _0xb941=function(_0x5b63a6,_0x2f0c65){_0x5b63a6=_0x5b63a6-0x0;var _0x71abca=_0x941b[_0x5b63a6];return _0x71abca;};'use strict';var util=require(_0xb941('0x0'));var _=require(_0xb941('0x1'));var moment=require('moment');function checkNameSurname(_0x49904b,_0x4c4d90,_0x768ea0){var _0x1da274='';if(!_[_0xb941('0x2')](_0x4c4d90)&&'string'===typeof _0x4c4d90){_0x1da274+=_0x4c4d90;}if(!_[_0xb941('0x2')](_0x768ea0)&&_0xb941('0x3')===typeof _0x768ea0){_0x1da274+='\x20'+_0x768ea0;}if(_0x1da274!==''){return _0x1da274;}return _0x49904b;}function Action(_0x2b20e1,_0x36a259,_0x36a6a1,_0x1b06e8,_0x2a4639){this[_0xb941('0x4')]=_0x36a6a1||undefined;this['idContact']=_0x2b20e1['id'];this[_0xb941('0x5')]=_0x36a259['name'];this[_0xb941('0x6')]=_0x36a259[_0xb941('0x6')];this[_0xb941('0x7')]='queue';this[_0xb941('0x8')]=![];this['membername']=_['isNil'](_0x2b20e1[_0xb941('0x9')])?undefined:_0x2b20e1[_0xb941('0x9')][_0xb941('0xa')];this[_0xb941('0xb')]=this['membername']?util[_0xb941('0xc')]('SIP/%s',this[_0xb941('0xd')]):_0x1b06e8||undefined;this['calleridname']=checkNameSurname(_0x2b20e1[_0xb941('0xe')][_0xb941('0xf')],_0x2b20e1[_0xb941('0xe')]['firstName'],_0x2b20e1[_0xb941('0xe')][_0xb941('0x10')]);this[_0xb941('0x11')]=_0x2b20e1[_0xb941('0x11')]||![];this[_0xb941('0x12')]=_0x2b20e1[_0xb941('0xe')][_0xb941('0xf')];this[_0xb941('0x13')]=_0x2b20e1['scheduledat'];this[_0xb941('0x14')]=_0x2b20e1[_0xb941('0x14')]||0x0;this['countcongestionretry']=_0x2b20e1[_0xb941('0x15')]||0x0;this[_0xb941('0x16')]=_0x2b20e1[_0xb941('0x16')]||0x0;this[_0xb941('0x17')]=(_0x2b20e1['countbusyretry']||0x0)+(_0x2b20e1[_0xb941('0x15')]||0x0)+(_0x2b20e1[_0xb941('0x16')]||0x0)+(_0x2b20e1[_0xb941('0x18')]||0x0)+(_0x2b20e1[_0xb941('0x19')]||0x0)+(_0x2b20e1[_0xb941('0x1a')]||0x0)+(_0x2b20e1['countmachineretry']||0x0)+(_0x2b20e1[_0xb941('0x1b')]||0x0);this[_0xb941('0x18')]=_0x2b20e1[_0xb941('0x18')]||0x0;this['countdropretry']=_0x2b20e1['countdropretry']||0x0;this['countabandonedretry']=_0x2b20e1['countabandonedretry']||0x0;this[_0xb941('0x1c')]=_0x2b20e1[_0xb941('0x1c')]||0x0;this[_0xb941('0x1b')]=_0x2b20e1[_0xb941('0x1b')]||0x0;this[_0xb941('0x1d')]=_0x2b20e1[_0xb941('0x1d')];this[_0xb941('0x1e')]=_0x2b20e1[_0xb941('0x1e')];this[_0xb941('0x1f')]=_0x2b20e1['callbackat'];this[_0xb941('0x20')]=_0x2b20e1[_0xb941('0x20')];this[_0xb941('0x21')]=_0x2b20e1['ContactId'];this[_0xb941('0x22')]=_0x2b20e1[_0xb941('0x22')];this['UserId']=_[_0xb941('0x2')](_0x2b20e1[_0xb941('0x9')])?_0x2b20e1[_0xb941('0x23')]:_0x2b20e1[_0xb941('0x9')]['id'];this['VoiceQueueId']=_0x2b20e1[_0xb941('0x24')];this[_0xb941('0x25')]='';this[_0xb941('0x26')]='';}Action[_0xb941('0x27')][_0xb941('0x28')]=function(){return util['format']('\x22%s\x22\x20<%s>',this[_0xb941('0x29')],this[_0xb941('0x2a')]);};module['exports']=Action; \ No newline at end of file diff --git a/server/services/ami/preview/index.js b/server/services/ami/preview/index.js index cb50059..96a2ba4 100644 --- a/server/services/ami/preview/index.js +++ b/server/services/ami/preview/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xb52b=['getContactRecallMe','agentReadyId','then','length','getDiff','scheduledat','dialRecallMeTimeout','Agent','voicePause','run','logger2','[RecallMe]','disableContact','starttime','YYYY-MM-DD\x20HH:mm:ss','RecallInQueue','dialRecallInQueue','rescheduleContactInQueue','createCustomerHistory','[HistoryDialRecallInQueue][historyCatch]','logCustomer','[HistoryRecallClose]','createCustomerFinal','[getContactRecallMe]','IsNotLoggedIn','loggedIn','AGENTS_NOT_LOGGED','isTrunkReachable','TrunkBackup','TRUNK_IS_NOT_REACHABLE','ACTIVE','callProgressDetectingCustomer','countnosuchnumberretry','countglobal','totalGlobal','NoSuchNumber','[callProgressDetectingCustomer][logNoSuch]','Global','[callProgressDetectingCustomer][logNoSuchGlobal]','rescheduleContact','scheduledAt','dialNoSuchNumberRetryFrequency','unlockAgent','ANSWER','responsetime','answertime','[syncHangup][talking][increment]','\x20Queue','custom:agentconnect','buildObj','connect','buildAcw','custom:agentcomplete','complete','[16]','Answer','[callProgressDetectingCustomer][logAnswerGlobal]','crateCustomerReportQueue','talktime','[syncHangup][talking][decrement]','uniqueid','pTalking:\x20','BUSY','countbusyretry','Busy','[callProgressDetectingCustomer][logBusy]','dialGlobalMaxRetry','cloneAction','dialBusyMaxRetry','NOANSWER','countnoanswerretry','[callProgressDetectingCustomer][logNoAnswer]','[callProgressDetectingCustomer][logNoAnswerGlobal]','dialNoAnswerMaxRetry','dialNoAnswerRetryFrequency','CONGESTION','countcongestionretry','Congestion','[callProgressDetectingCustomer][logCongestionGlobal]','dialCongestionMaxRetry','[callProgressDetectingCustomer][logCongestion]','dialBusyRetryFrequency','activeContact','CANCEL','countagentrejectretry','AgentReject','[syncHangupRequest][logAgentReject]','[callProgressDetectingCustomer][logAgentReject]','dialAgentRejectMaxRetry','ABANDONED','countabandonedretry','Abandoned','[callProgressDetectingCustomer][logAbandoned]','countabandonedetry','dialAbandonedMaxRety','dialAbandonedRetryFrequency','[Dialer][decrementTalkink][no\x20Hangup][Preview]','[callProgressDetectingCustomer][logUnknown]','[callProgressDetectingCustomer][logUnknownGlobal]','[callProgressDetectingCustomer]','[originated][decrement][callProgressDetectingCustomer]','linkedid','destlinkedid','isUndefined','object','reason','logAgent','createAgentHistory','[callProgressDetectingAgent][logNoSuch]','NoAnswer','[callProgressDetectingAgent][logNoAnswer]','[callProgressDetectingAgent][logBusy]','[callProgressDetectingAgent][logCongestion]','AnswerAGI','[callProgressDetectingAgent][logAnswerAGI]','[callProgressDetectingAgent]','[originated][decrement][callProgressDetectingAgent]','isNil','Contact','Contact\x20is\x20undefined','Queue','lookAgent','isEmpty','execCall','\x20IdHopper:\x20','idContact','called','Calling','logBlacklist','[Blacklist][error]','Contact\x20in\x20black\x20List','SIP/%s','execRun','unlock','unlockContact','getContactPreview','recallme','validateContact','isValid','checkIsBlackList','checkInBlack','[Preview][getContactPreview]','[Preview][validateContact][Empty\x20Contact]','Empty\x20Contact','Empty\x20Campaign','[Preview][validateContact][Trunk\x20not\x20work]','\x20Trunk\x20Backup\x20is\x20not\x20active','Trunk\x20not\x20work','isActive','[Preview][validateContact][Campaign\x20Active]','\x20Not\x20Active','campaign\x20Name:\x20','dialCutDigit','phone','substring','SIP/%s/%s%s','trim','getCallerId','dialRandomLastDigitCallerIdNumber','getCallerIdRandom','dialOriginateCallerIdNumber','originatecalleridname','originatecalleridnum','extractCalleridNumber','addVariables','merge','toLowerVariables','variablesAction','[originated][increment]','channel','syncOriginateResponse','logLookAgent','clone','response','rejected','callProgressDetectingAgent','[syncHangup][talking]','cause','statedesc','dialQueueProject','channelstate','transfer','[syncHangup][talking][transfer]','[syncHangup][talking][cause]','destuniqueid','syncHangupRequest','variables','filterKey','keys','variable','error','inspect','syncAttendedTransfer','transfererlinkedid','bluebird','uuid','moment','ioredis','../../../config/environment','../../../config/logger','actionPreview','./rpcDb','./action','./util/util','redis','localhost','socket.io-emitter','prototype','enqueue','tail','finally','sequence','voiceQueues','trunks','actions','agents','clockClearZombieChannels','originateresponse','bind','syncHangup','hanguprequest','syncDialEnd','newexten','syncNewExten','varset','syncVarSet','syncBlindTransfer','loopCampaigns','emit','type','outbound','name','answered','available','pTalking','sumBillable','sumHoldTime','talking','total','unmanaged','waiting','loggedInDb','dialMethod','dialOriginateCallerIdName','dialOriginateTimeout','dialPrefix','outboundAnswerCallsDay','outboundBlacklistCallsDay','outboundBusyCallsDay','outboundCongestionCallsDay','outboundDropCallsDayACS','outboundDropCallsDayCallersExit','outboundDropCallsDayTimeout','outboundNoAnswerCallsDay','outboundNoSuchCallsDay','outboundOriginateFailureCallsDay','outboundReCallsDay','outboundRejectCallsDay','outboundUnknownCallsDay','outboundAbandonedCallsDay','predictiveIntervalAvgHoldtime','predictiveIntervalAvgTalktime','predictiveIntervalDroppedCallsCallersExit','predictiveIntervalDroppedCallsTimeout','predictiveIntervalErlangCalls','predictiveIntervalErlangCallsDroppedCalls','predictiveIntervalMultiplicativeFactor','message','originated','erlangCalls','erlangAbandonmentRate','erlangBusyFactor','Trunk','active','callerid','Interval','stringify','md5','format','voice:queue:%s','voice_queue:save','info','[DEBUG]\x20Emit\x20voice_queue_channel:remove\x20event','sendMessageOneNotActive','paused','NOT_ACTIVE','logger','[CampaignPreview]\x20Campaign\x20Queue:\x20','\x20is\x20not\x20active','IS_DISACTIVED','syncCampaigns','campaignsPreview','hasOwnProperty','preview','clearZombieChannels','dialActive','setMessage','recallMe','clearZombieChannel','[clearZombieChannels][talking]','originated:\x20','dialAnswer','pick','contactId','UserId','VoiceQueueId','Action','status','catch','No\x20such\x20channel','updateOriginated','queue','[clearZombieChannel]','decrementTalkink','loggerError','[Dialer][checkChannel][pTalking][Preview]','[Dialer][checkChannel][Preview]'];(function(_0x4cc5e3,_0x6342f0){var _0x262000=function(_0x3c68dc){while(--_0x3c68dc){_0x4cc5e3['push'](_0x4cc5e3['shift']());}};_0x262000(++_0x6342f0);}(_0xb52b,0xc2));var _0xbb52=function(_0x3461ad,_0x3f169a){_0x3461ad=_0x3461ad-0x0;var _0x34c470=_0xb52b[_0x3461ad];return _0x34c470;};'use strict';var util=require('util');var _=require('lodash');var BPromise=require(_0xbb52('0x0'));var uuid=require(_0xbb52('0x1'));var moment=require(_0xbb52('0x2'));var md5=require('md5');var Redis=require(_0xbb52('0x3'));var config=require(_0xbb52('0x4'));var logger=require(_0xbb52('0x5'))('preview');var loggerAction=require(_0xbb52('0x5'))(_0xbb52('0x6'));var ami=require('../ami');var rpcDb=require(_0xbb52('0x7'));var Action=require(_0xbb52('0x8'));var ut=require(_0xbb52('0x9'));config[_0xbb52('0xa')]=_['defaults'](config[_0xbb52('0xa')],{'host':_0xbb52('0xb'),'port':0x18eb});var io=require(_0xbb52('0xc'))(new Redis(config[_0xbb52('0xa')]));var Sequence=function(){};Sequence[_0xbb52('0xd')][_0xbb52('0xe')]=function(_0x3ae43d){this[_0xbb52('0xf')]=this[_0xbb52('0xf')]?this[_0xbb52('0xf')][_0xbb52('0x10')](_0x3ae43d):_0x3ae43d();};function Preview(_0x3babad){this[_0xbb52('0x11')]=new Sequence();this['campaignsPreview']=_0x3babad[_0xbb52('0x12')];this['trunks']=_0x3babad[_0xbb52('0x13')];this[_0xbb52('0x14')]={};this[_0xbb52('0x15')]=_0x3babad[_0xbb52('0x15')];this[_0xbb52('0x16')]=0x0;ami['on'](_0xbb52('0x17'),this['syncOriginateResponse'][_0xbb52('0x18')](this));ami['on']('hangup',this[_0xbb52('0x19')][_0xbb52('0x18')](this));ami['on'](_0xbb52('0x1a'),this['syncHangupRequest']['bind'](this));ami['on']('dialend',this[_0xbb52('0x1b')][_0xbb52('0x18')](this));ami['on'](_0xbb52('0x1c'),this[_0xbb52('0x1d')][_0xbb52('0x18')](this));ami['on'](_0xbb52('0x1e'),this[_0xbb52('0x1f')][_0xbb52('0x18')](this));ami['on']('attendedtransfer',this['syncAttendedTransfer'][_0xbb52('0x18')](this));ami['on']('blindtransfer',this[_0xbb52('0x20')][_0xbb52('0x18')](this));this[_0xbb52('0x21')](this['campaignsPreview']);}function emit(_0x44a4a5,_0x2b9deb,_0xb8867f){io['to'](_0x44a4a5)[_0xbb52('0x22')](_0x2b9deb,_0xb8867f);}function emitCampaignPreview(_0x456c7c){if(_0x456c7c[_0xbb52('0x23')]===_0xbb52('0x24')){var _0x5ec34b={'id':_0x456c7c['id'],'name':_0x456c7c[_0xbb52('0x25')],'strategy':_0x456c7c['strategy'],'answered':_0x456c7c[_0xbb52('0x26')],'available':_0x456c7c[_0xbb52('0x27')],'loggedIn':_0x456c7c['loggedIn'],'pTalking':_0x456c7c[_0xbb52('0x28')],'sumBillable':_0x456c7c[_0xbb52('0x29')],'sumDuration':_0x456c7c['sumDuration'],'sumHoldTime':_0x456c7c[_0xbb52('0x2a')]||0x0,'talking':_0x456c7c[_0xbb52('0x2b')],'total':_0x456c7c[_0xbb52('0x2c')],'type':_0x456c7c['type'],'unmanaged':_0x456c7c[_0xbb52('0x2d')],'abandoned':_0x456c7c['abandoned'],'waiting':_0x456c7c[_0xbb52('0x2e')],'loggedInDb':_0x456c7c[_0xbb52('0x2f')],'dialActive':_0x456c7c['dialActive'],'dialMethod':_0x456c7c[_0xbb52('0x30')],'dialOriginateCallerIdName':_0x456c7c[_0xbb52('0x31')],'dialOriginateCallerIdNumber':_0x456c7c['dialOriginateCallerIdNumber'],'dialOriginateTimeout':_0x456c7c[_0xbb52('0x32')],'dialPrefix':_0x456c7c[_0xbb52('0x33')],'outboundAnswerAgiCallsDay':_0x456c7c['outboundAnswerAgiCallsDay'],'outboundAnswerCallsDay':_0x456c7c[_0xbb52('0x34')],'outboundBlacklistCallsDay':_0x456c7c[_0xbb52('0x35')],'outboundBusyCallsDay':_0x456c7c[_0xbb52('0x36')],'outboundCongestionCallsDay':_0x456c7c[_0xbb52('0x37')],'outboundDropCallsDayACS':_0x456c7c[_0xbb52('0x38')],'outboundDropCallsDayCallersExit':_0x456c7c[_0xbb52('0x39')],'outboundDropCallsDayTimeout':_0x456c7c[_0xbb52('0x3a')],'outboundNoAnswerCallsDay':_0x456c7c[_0xbb52('0x3b')],'outboundNoSuchCallsDay':_0x456c7c[_0xbb52('0x3c')],'outboundOriginateFailureCallsDay':_0x456c7c[_0xbb52('0x3d')],'outboundReCallsDay':_0x456c7c[_0xbb52('0x3e')],'outboundRejectCallsDay':_0x456c7c[_0xbb52('0x3f')],'outboundUnknownCallsDay':_0x456c7c[_0xbb52('0x40')],'outboundAbandonedCallsDay':_0x456c7c[_0xbb52('0x41')],'predictiveIntervalAnsweredCalls':_0x456c7c['predictiveIntervalAnsweredCalls'],'predictiveIntervalAvgHoldtime':_0x456c7c[_0xbb52('0x42')],'predictiveIntervalAvgTalktime':_0x456c7c[_0xbb52('0x43')],'predictiveIntervalDroppedCallsCallersExit':_0x456c7c[_0xbb52('0x44')],'predictiveIntervalDroppedCallsTimeout':_0x456c7c[_0xbb52('0x45')],'predictiveIntervalErlangCalls':_0x456c7c[_0xbb52('0x46')],'predictiveIntervalErlangCallsDroppedCalls':_0x456c7c[_0xbb52('0x47')],'predictiveIntervalHitRate':_0x456c7c['predictiveIntervalHitRate'],'predictiveIntervalMultiplicativeFactor':_0x456c7c[_0xbb52('0x48')],'predictiveIntervalPauses':_0x456c7c['predictiveIntervalPauses'],'predictiveIntervalAvailable':_0x456c7c['predictiveIntervalAvailable'],'predictiveIntervalTotalCalls':_0x456c7c['predictiveIntervalTotalCalls'],'message':_0x456c7c[_0xbb52('0x49')],'originated':_0x456c7c[_0xbb52('0x4a')],'erlangCalls':_0x456c7c[_0xbb52('0x4b')],'erlangCallToSecond':_0x456c7c['erlangCallToSecond'],'erlangAbandonmentRate':_0x456c7c[_0xbb52('0x4c')],'erlangBusyFactor':_0x456c7c[_0xbb52('0x4d')],'startPredictive':_0x456c7c['startPredictive'],'startProgressive':_0x456c7c['startProgressive']};if(_0x456c7c[_0xbb52('0x4e')]){_0x5ec34b['Trunk']={'id':_0x456c7c[_0xbb52('0x4e')]['id'],'name':_0x456c7c['Trunk'][_0xbb52('0x25')],'active':_0x456c7c[_0xbb52('0x4e')][_0xbb52('0x4f')],'callerid':_0x456c7c[_0xbb52('0x4e')][_0xbb52('0x50')]};}if(_0x456c7c[_0xbb52('0x51')]){_0x5ec34b[_0xbb52('0x51')]={'id':_0x456c7c['Interval']['id'],'name':_0x456c7c[_0xbb52('0x51')][_0xbb52('0x25')]};}var _0x4b1d18=md5(JSON[_0xbb52('0x52')](_0x5ec34b));if(_0x456c7c[_0xbb52('0x53')]!==_0x4b1d18){_0x456c7c[_0xbb52('0x53')]=_0x4b1d18;emit(util[_0xbb52('0x54')](_0xbb52('0x55'),_0x5ec34b[_0xbb52('0x25')]),_0xbb52('0x56'),_0x5ec34b);}}}function emitVoiceQueueChannelRemove(_0x71975f){logger[_0xbb52('0x57')](_0xbb52('0x58'),JSON[_0xbb52('0x52')](_0x71975f));emit(util[_0xbb52('0x54')](_0xbb52('0x55'),_0x71975f['name']),'voice_queue_channel:remove',_0x71975f);}function notSendMessagesQueue(_0x126ca8){if(_0x126ca8[_0xbb52('0x59')]){if(_0x126ca8[_0xbb52('0x4a')]===0x0&&_0x126ca8[_0xbb52('0x28')]===0x0){_0x126ca8[_0xbb52('0x59')]=![];_0x126ca8[_0xbb52('0x27')]=0x0;_0x126ca8[_0xbb52('0x5a')]=0x0;_0x126ca8[_0xbb52('0x49')]=_0xbb52('0x5b');ut[_0xbb52('0x5c')](_0xbb52('0x5d'),_0x126ca8[_0xbb52('0x25')]+_0xbb52('0x5e'));}else{_0x126ca8[_0xbb52('0x49')]=_0xbb52('0x5f');ut['logger'](_0xbb52('0x5d'),_0x126ca8['name']+'\x20is\x20disactive');}emitCampaignPreview(_0x126ca8);}}Preview['prototype'][_0xbb52('0x21')]=function(){var _0x29cf47=this;setInterval(function(){_0x29cf47[_0xbb52('0x60')]();},0x7cf);};Preview[_0xbb52('0xd')]['syncCampaigns']=function(){var _0x30f31a=this[_0xbb52('0x61')];this['clockClearZombieChannels']+=0x1;for(var _0x4f6f5e in _0x30f31a){if(_0x30f31a[_0xbb52('0x62')](_0x4f6f5e)&&(_0x30f31a[_0x4f6f5e][_0xbb52('0x30')]===_0xbb52('0x63')||_0x30f31a[_0x4f6f5e][_0xbb52('0x30')]==='booked')&&_0x30f31a[_0x4f6f5e][_0xbb52('0x23')]===_0xbb52('0x24')){if(this[_0xbb52('0x16')]>0x7){this[_0xbb52('0x16')]=0x0;this[_0xbb52('0x64')]();}}if(_0x30f31a[_0xbb52('0x62')](_0x4f6f5e)&&_0x30f31a[_0x4f6f5e][_0xbb52('0x30')]===_0xbb52('0x63')&&_0x30f31a[_0x4f6f5e][_0xbb52('0x23')]===_0xbb52('0x24')){if(_0x30f31a[_0x4f6f5e][_0xbb52('0x65')]){this[_0xbb52('0x66')](_0x30f31a[_0x4f6f5e]);this[_0xbb52('0x67')](_0x30f31a[_0x4f6f5e]);}else{notSendMessagesQueue(_0x30f31a[_0x4f6f5e]);}}}};Preview[_0xbb52('0xd')][_0xbb52('0x68')]=function(_0x1b4da4){var _0x54ce3f=this;this[_0xbb52('0x11')][_0xbb52('0xe')](function(){if(!_['isNil'](_0x54ce3f['actions'][_0x1b4da4])){loggerAction[_0xbb52('0x57')](_0xbb52('0x69'),_0x1b4da4,'Queue',_0x54ce3f['actions'][_0x1b4da4]['queue'],_0xbb52('0x6a'),JSON['stringify'](_0x54ce3f[_0xbb52('0x61')][_0x54ce3f[_0xbb52('0x14')][_0x1b4da4]['queue']][_0xbb52('0x4a')]),'pTalking:\x20',JSON[_0xbb52('0x52')](_0x54ce3f[_0xbb52('0x61')][_0x54ce3f[_0xbb52('0x14')][_0x1b4da4]['queue']]['pTalking']),JSON['stringify'](_0x54ce3f[_0xbb52('0x14')][_0x1b4da4][_0xbb52('0x6b')]),JSON[_0xbb52('0x52')](_[_0xbb52('0x6c')](_0x54ce3f[_0xbb52('0x14')][_0x1b4da4],[_0xbb52('0x6d'),_0xbb52('0x6e'),_0xbb52('0x6f'),'ListId'])));return ami[_0xbb52('0x70')]({'action':_0xbb52('0x71'),'channel':_0x54ce3f[_0xbb52('0x14')][_0x1b4da4]['channel']})[_0xbb52('0x72')](function(_0x5f34d3){if(_0x5f34d3[_0xbb52('0x49')]===_0xbb52('0x73')){setTimeout(function(){if(_0x54ce3f[_0xbb52('0x14')][_0x1b4da4]){ut[_0xbb52('0x74')](_0x54ce3f[_0xbb52('0x61')][_0x54ce3f['actions'][_0x1b4da4][_0xbb52('0x75')]],_0xbb52('0x76'));if(_0x54ce3f['actions'][_0x1b4da4][_0xbb52('0x6b')]===!![]){ut[_0xbb52('0x77')](_0x54ce3f[_0xbb52('0x61')][_0x54ce3f[_0xbb52('0x14')][_0x1b4da4][_0xbb52('0x75')]],_0xbb52('0x76'));ut[_0xbb52('0x78')](_0xbb52('0x79')+_0x1b4da4,_0x54ce3f[_0xbb52('0x14')][_0x1b4da4][_0xbb52('0x75')]);}ut[_0xbb52('0x78')](_0xbb52('0x7a')+_0x1b4da4,_0x54ce3f['actions'][_0x1b4da4][_0xbb52('0x75')]);delete _0x54ce3f[_0xbb52('0x14')][_0x1b4da4];}},0x2328);}});}});};Preview[_0xbb52('0xd')][_0xbb52('0x64')]=function(){var _0x216b0c=this;loggerAction[_0xbb52('0x57')]('[action]',_['size'](this['actions']));for(var _0x1d1b59 in this['actions']){if(_0x216b0c[_0xbb52('0x14')][_0xbb52('0x62')](_0x1d1b59)){_0x216b0c['clearZombieChannel'](_0x1d1b59);}}};Preview['prototype'][_0xbb52('0x67')]=function(_0x2e99fd){var _0x44e5ac=this;rpcDb[_0xbb52('0x7b')](_0x2e99fd['id'],ut[_0xbb52('0x7c')](this[_0xbb52('0x15')]))[_0xbb52('0x7d')](function(_0x31fb99){if(!_['isNil'](_0x31fb99)){for(var _0x20b9b4=0x0;_0x20b9b4<_0x31fb99[_0xbb52('0x7e')];_0x20b9b4+=0x1){if(ut[_0xbb52('0x7f')](_0x31fb99[_0x20b9b4][_0xbb52('0x80')])<_0x2e99fd[_0xbb52('0x81')]*0x3c){if(_0x31fb99[_0x20b9b4]['Agent']&&!_0x31fb99[_0x20b9b4][_0xbb52('0x82')][_0xbb52('0x83')]){_0x44e5ac[_0xbb52('0x84')](_0x31fb99[_0x20b9b4]['id'])['then'](ut[_0xbb52('0x85')](_0xbb52('0x86')))[_0xbb52('0x72')](ut[_0xbb52('0x85')](_0xbb52('0x86')));}else{rpcDb[_0xbb52('0x87')](_0x31fb99[_0x20b9b4]['id']);}}else{var _0x20d830=new Action(_0x31fb99[_0x20b9b4],_0x2e99fd);_0x20d830[_0xbb52('0x88')]=moment()[_0xbb52('0x54')](_0xbb52('0x89'));_0x2e99fd[_0xbb52('0x3e')]+=0x1;ut['logCustomer'](_0x20d830,0x17,_0xbb52('0x8a'));if(_0x2e99fd[_0xbb52('0x8b')]){rpcDb[_0xbb52('0x8c')](ut['createBody'](_0x31fb99[_0x20b9b4]));rpcDb[_0xbb52('0x8d')](_0x20d830,_0xbb52('0x8e'));}else{ut[_0xbb52('0x8f')](_0x20d830,0x16,'RecallFailedTimeout');rpcDb['createCustomerHistory'](_0x20d830,_0xbb52('0x90'));rpcDb[_0xbb52('0x91')](_0x20d830,_0xbb52('0x90'));}}}}})[_0xbb52('0x72')](ut[_0xbb52('0x85')](_0xbb52('0x92')));};Preview[_0xbb52('0xd')][_0xbb52('0x66')]=function(_0x452b94){_0x452b94['sendMessageOneNotActive']=!![];if(ut[_0xbb52('0x93')](_0x452b94[_0xbb52('0x94')])){_0x452b94['message']=_0xbb52('0x95');}else if(!ut['isActive'](_0x452b94['dialActive'])){_0x452b94[_0xbb52('0x49')]=_0xbb52('0x5b');}else if(!this[_0xbb52('0x96')](_0x452b94[_0xbb52('0x4e')])){if(!this[_0xbb52('0x96')](_0x452b94[_0xbb52('0x97')])){_0x452b94[_0xbb52('0x49')]=_0xbb52('0x98');}else{_0x452b94[_0xbb52('0x49')]=_0xbb52('0x99');}}else{_0x452b94['message']='ACTIVE';}emitCampaignPreview(_0x452b94);};Preview[_0xbb52('0xd')][_0xbb52('0x9a')]=function(_0x3d71da,_0x48876c,_0x58c598){var _0x1d7258=this;var _0x212aec=this[_0xbb52('0x14')][_0x48876c];var _0x5450e5=this[_0xbb52('0x61')][_0x212aec[_0xbb52('0x75')]];var _0x3a7ebe;if(_0x5450e5){switch(_0x58c598){case'1':_0x5450e5['outboundNoSuchCallsDay']+=0x1;_0x212aec[_0xbb52('0x9b')]+=0x1;_0x212aec[_0xbb52('0x9c')]=ut[_0xbb52('0x9d')](_0x212aec);ut[_0xbb52('0x8f')](_0x212aec,0x0,_0xbb52('0x9e'));rpcDb[_0xbb52('0x8d')](_0x212aec,_0xbb52('0x9f'));if(ut[_0xbb52('0x9d')](_0x212aec)>=_0x5450e5['dialGlobalMaxRetry']){_0x3a7ebe=ut['cloneAction'](_0x212aec,0xf,_0xbb52('0xa0'));rpcDb['createCustomerFinal'](_0x3a7ebe,'[callProgressDetectingCustomer][logNoSuchGlobal]');}else{if(_0x212aec[_0xbb52('0x9b')]>=_0x5450e5['dialNoSuchNumberMaxRetry']){rpcDb['createCustomerFinal'](_0x212aec,_0xbb52('0xa1'));}else{rpcDb[_0xbb52('0xa2')](ut[_0xbb52('0xa3')](_0x212aec,_0xbb52('0x9b'),_0x5450e5[_0xbb52('0xa4')]),_0x212aec[_0xbb52('0xa5')],_0x212aec['activeContact']);}}delete this[_0xbb52('0x14')][_0x3d71da['linkedid']];break;case _0xbb52('0xa6'):var _0x52d2c2=moment()[_0xbb52('0x54')](_0xbb52('0x89'));_0x212aec[_0xbb52('0xa7')]=_0x52d2c2;_0x212aec[_0xbb52('0xa8')]=_0x52d2c2;_0x212aec[_0xbb52('0x6b')]=!![];_0x5450e5['pTalking']+=0x1;logger[_0xbb52('0x57')](_0xbb52('0xa9'),_0x212aec['uniqueid'],_0xbb52('0xaa'),_0x5450e5[_0xbb52('0x25')],'pTalking:\x20',_0x5450e5[_0xbb52('0x28')]);ami[_0xbb52('0x22')](_0xbb52('0xab'),ut[_0xbb52('0xac')](_0x212aec,_0xbb52('0xad')));if(_0x5450e5['acw']){ami['emit']('custom:agentConnectPreview',ut[_0xbb52('0xae')](_0x212aec));}break;case'16':ami[_0xbb52('0x22')](_0xbb52('0xaf'),ut['buildObj'](_0x212aec,_0xbb52('0xb0')));emitVoiceQueueChannelRemove(ut[_0xbb52('0xac')](_0x212aec,_0xbb52('0xb0')));_0x5450e5['outboundAnswerCallsDay']+=0x1;_0x5450e5[_0xbb52('0x2c')]+=0x1;_0x5450e5[_0xbb52('0x26')]+=0x1;ut[_0xbb52('0x77')](_0x5450e5,_0xbb52('0xb1'));_0x212aec['countglobal']=ut['totalGlobal'](_0x212aec);ut[_0xbb52('0x8f')](_0x212aec,0x4,_0xbb52('0xb2'));rpcDb[_0xbb52('0x8d')](_0x212aec,'[callProgressDetectingCustomer][logAnswer]');rpcDb[_0xbb52('0x91')](_0x212aec,_0xbb52('0xb3'));rpcDb[_0xbb52('0xb4')](_0x212aec);_0x5450e5['sumDuration']+=_0x212aec['talktime'];_0x5450e5['sumBillable']+=_0x212aec[_0xbb52('0xb5')];logger['info'](_0xbb52('0xb6'),_0x212aec[_0xbb52('0xb7')],'\x20Queue',_0x5450e5[_0xbb52('0x25')],_0xbb52('0xb8'),_0x5450e5[_0xbb52('0x28')]);delete this[_0xbb52('0x14')][_0x3d71da['linkedid']];break;case _0xbb52('0xb9'):_0x5450e5[_0xbb52('0x36')]+=0x1;_0x212aec[_0xbb52('0xba')]+=0x1;_0x212aec[_0xbb52('0x9c')]=ut['totalGlobal'](_0x212aec);ut['logCustomer'](_0x212aec,0x5,_0xbb52('0xbb'));rpcDb[_0xbb52('0x8d')](_0x212aec,_0xbb52('0xbc'));if(ut[_0xbb52('0x9d')](_0x212aec)>=_0x5450e5[_0xbb52('0xbd')]){_0x3a7ebe=ut[_0xbb52('0xbe')](_0x212aec,0xf,'Global');rpcDb[_0xbb52('0x91')](_0x3a7ebe,'[callProgressDetectingCustomer][logBusyGlobal]');}else{if(_0x212aec[_0xbb52('0xba')]>=_0x5450e5[_0xbb52('0xbf')]){rpcDb['createCustomerFinal'](_0x212aec,_0xbb52('0xbc'));}else{rpcDb[_0xbb52('0xa2')](ut[_0xbb52('0xa3')](_0x212aec,_0xbb52('0xba'),_0x5450e5['dialBusyRetryFrequency']),_0x212aec[_0xbb52('0xa5')],_0x212aec['activeContact']);}}break;case _0xbb52('0xc0'):_0x5450e5[_0xbb52('0x3b')]+=0x1;_0x212aec[_0xbb52('0xc1')]+=0x1;_0x212aec[_0xbb52('0x9c')]=ut['totalGlobal'](_0x212aec);ut[_0xbb52('0x8f')](_0x212aec,0x3,'NoAnswer');rpcDb['createCustomerHistory'](_0x212aec,_0xbb52('0xc2'));if(ut['totalGlobal'](_0x212aec)>=_0x5450e5[_0xbb52('0xbd')]){_0x3a7ebe=ut[_0xbb52('0xbe')](_0x212aec,0xf,_0xbb52('0xa0'));rpcDb[_0xbb52('0x91')](_0x3a7ebe,_0xbb52('0xc3'));}else{if(_0x212aec[_0xbb52('0xc1')]>=_0x5450e5[_0xbb52('0xc4')]){rpcDb[_0xbb52('0x91')](_0x212aec,_0xbb52('0xc2'));}else{rpcDb[_0xbb52('0xa2')](ut[_0xbb52('0xa3')](_0x212aec,_0xbb52('0xc1'),_0x5450e5[_0xbb52('0xc5')]),_0x212aec['unlockAgent'],_0x212aec['activeContact']);}}break;case _0xbb52('0xc6'):_0x5450e5[_0xbb52('0x37')]+=0x1;_0x212aec[_0xbb52('0xc7')]+=0x1;_0x212aec['countglobal']=ut[_0xbb52('0x9d')](_0x212aec);ut[_0xbb52('0x8f')](_0x212aec,0x8,_0xbb52('0xc8'));rpcDb[_0xbb52('0x8d')](_0x212aec,'[callProgressDetectingCustomer][logCongestion]');if(ut[_0xbb52('0x9d')](_0x212aec)>=_0x5450e5[_0xbb52('0xbd')]){_0x3a7ebe=ut[_0xbb52('0xbe')](_0x212aec,0xf,_0xbb52('0xa0'));rpcDb[_0xbb52('0x91')](_0x3a7ebe,_0xbb52('0xc9'));}else{if(_0x212aec[_0xbb52('0xc7')]>=_0x5450e5[_0xbb52('0xca')]){rpcDb[_0xbb52('0x91')](_0x212aec,_0xbb52('0xcb'));}else{rpcDb[_0xbb52('0xa2')](ut[_0xbb52('0xa3')](_0x212aec,_0xbb52('0xc7'),_0x5450e5[_0xbb52('0xcc')]),_0x212aec[_0xbb52('0xa5')],_0x212aec[_0xbb52('0xcd')]);}}break;case _0xbb52('0xce'):_0x5450e5[_0xbb52('0x3f')]+=0x1;_0x212aec[_0xbb52('0xcf')]+=0x1;_0x212aec[_0xbb52('0x9c')]=ut[_0xbb52('0x9d')](_0x212aec);ut[_0xbb52('0x8f')](_0x212aec,0x14,_0xbb52('0xd0'));rpcDb[_0xbb52('0x8d')](_0x212aec,_0xbb52('0xd1'));if(ut[_0xbb52('0x9d')](_0x212aec)>=_0x5450e5[_0xbb52('0xbd')]){_0x3a7ebe=ut[_0xbb52('0xbe')](_0x212aec,0x14,'AgentReject');rpcDb[_0xbb52('0x91')](_0x3a7ebe,_0xbb52('0xd2'));}else{if(_0x212aec[_0xbb52('0xcf')]>=_0x5450e5[_0xbb52('0xd3')]){rpcDb[_0xbb52('0x91')](_0x212aec,_0xbb52('0xd2'));}else{rpcDb[_0xbb52('0xa2')](ut['scheduledAt'](_0x212aec,'countagentrejectretry',_0x5450e5['dialAgentRejectRetryFrequency']),_0x212aec[_0xbb52('0xa5')],_0x212aec['activeContact']);}}break;case _0xbb52('0xd4'):_0x5450e5['outboundAbandonedCallsDay']+=0x1;_0x212aec[_0xbb52('0xd5')]+=0x1;_0x212aec[_0xbb52('0x9c')]=ut[_0xbb52('0x9d')](_0x212aec);ut[_0xbb52('0x8f')](_0x212aec,0xb,_0xbb52('0xd6'));rpcDb[_0xbb52('0x8d')](_0x212aec,_0xbb52('0xd7'));if(ut['totalGlobal'](_0x212aec)>=_0x5450e5[_0xbb52('0xbd')]){_0x3a7ebe=ut[_0xbb52('0xbe')](_0x212aec,0xf,_0xbb52('0xa0'));rpcDb[_0xbb52('0x91')](_0x3a7ebe,_0xbb52('0xd7'));}else{if(_0x212aec[_0xbb52('0xd8')]>=_0x5450e5[_0xbb52('0xd9')]){rpcDb[_0xbb52('0x91')](_0x212aec,_0xbb52('0xd7'));}else{rpcDb[_0xbb52('0xa2')](ut[_0xbb52('0xa3')](_0x212aec,'countabandonedretry',_0x5450e5[_0xbb52('0xda')]),_0x212aec[_0xbb52('0xa5')],_0x212aec[_0xbb52('0xcd')]);}}break;default:if(_0x212aec[_0xbb52('0x6b')]){ut['decrementTalkink'](_0x5450e5,'[default]');ut['loggerError'](_0xbb52('0xdb')+_0x5450e5['name'],_0x3d71da);}_0x5450e5[_0xbb52('0x40')]+=0x1;_0x212aec[_0xbb52('0x9c')]=ut['totalGlobal'](_0x212aec);ut[_0xbb52('0x8f')](_0x212aec,0xc,_0x3d71da['cause-txt']||_0x3d71da['dialstatus']);rpcDb['createCustomerHistory'](_0x212aec,_0xbb52('0xdc'));if(ut[_0xbb52('0x9d')](_0x212aec)>=_0x5450e5[_0xbb52('0xbd')]){_0x3a7ebe=ut[_0xbb52('0xbe')](_0x212aec,0xf,'Global');rpcDb[_0xbb52('0x91')](_0x3a7ebe,'[callProgressDetectingCustomer][logUnknownGlobal]');}else{rpcDb[_0xbb52('0x91')](_0x212aec,_0xbb52('0xdd'));}delete this[_0xbb52('0x14')][_0x3d71da['linkedid']];}if(!(_0x212aec['dialAnswer']&&_0x58c598==='16')){ut[_0xbb52('0x74')](_0x5450e5,_0xbb52('0xde'));logger['info'](_0xbb52('0xdf'),_0x212aec[_0xbb52('0xb7')],_0xbb52('0xaa'),_0x5450e5[_0xbb52('0x25')],_0xbb52('0x6a'),_0x5450e5['originated']);}if(_0x58c598!==_0xbb52('0xa6')){delete this[_0xbb52('0x14')][_0x3d71da[_0xbb52('0xe0')]];delete this[_0xbb52('0x14')][_0x3d71da[_0xbb52('0xe1')]];}}};Preview[_0xbb52('0xd')]['callProgressDetectingAgent']=function(_0x21ba5c,_0x39affa,_0x1fc5af){if(_[_0xbb52('0xe2')](_0x39affa)&&_0xbb52('0xe3')!==typeof _0x39affa){return;}if(_[_0xbb52('0xe2')](_0x1fc5af)&&'object'!==typeof _0x1fc5af){return;}switch(_0x1fc5af[_0xbb52('0xe4')]){case'0':ut[_0xbb52('0xe5')](_0x21ba5c,0x0,_0xbb52('0x9e'));rpcDb[_0xbb52('0xe6')](_0x21ba5c,_0xbb52('0xe7'));break;case'3':ut[_0xbb52('0xe5')](_0x21ba5c,0x3,_0xbb52('0xe8'));rpcDb[_0xbb52('0xe6')](_0x21ba5c,_0xbb52('0xe9'));break;case'5':ut[_0xbb52('0xe5')](_0x21ba5c,0x5,'Busy');rpcDb[_0xbb52('0xe6')](_0x21ba5c,_0xbb52('0xea'));break;case'8':ut[_0xbb52('0xe5')](_0x21ba5c,0x8,_0xbb52('0xc8'));rpcDb['createAgentHistory'](_0x21ba5c,_0xbb52('0xeb'));break;case'22':ut['logAgent'](_0x21ba5c,0x16,_0xbb52('0xec'));rpcDb[_0xbb52('0xe6')](_0x21ba5c,_0xbb52('0xed'));break;default:ut[_0xbb52('0xe5')](_0x21ba5c,0xc,_0x1fc5af[_0xbb52('0xe4')]);rpcDb[_0xbb52('0xe6')](_0x21ba5c,_0xbb52('0xeb'));}ut[_0xbb52('0x74')](_0x39affa,_0xbb52('0xee'));logger[_0xbb52('0x57')](_0xbb52('0xef'),_0x21ba5c[_0xbb52('0xb7')],_0xbb52('0xaa'),_0x39affa['name'],_0xbb52('0x6a'),_0x39affa[_0xbb52('0x4a')]);delete this['actions'][_0x21ba5c[_0xbb52('0xb7')]];};Preview[_0xbb52('0xd')]['checkInBlack']=function(_0x371fff,_0x14f9a3,_0x36ae82,_0x1752b6,_0x41bea0){var _0x1c2840=this;return new BPromise(function(_0x13fbe8,_0x21fb0a){if(_[_0xbb52('0xf0')](_0x14f9a3)||_['isNil'](_0x14f9a3[_0xbb52('0xf1')])||_[_0xbb52('0xf0')](_0x14f9a3[_0xbb52('0xf1')]['phone'])||_[_0xbb52('0xf0')](_0x14f9a3[_0xbb52('0x6f')])){_0x21fb0a(ut[_0xbb52('0x49')](_0xbb52('0xf2'),_0x1752b6,_0x41bea0));return;}var _0x4eb0ad=uuid['v4']();var _0x4f1768=_0x1c2840[_0xbb52('0x61')][_0x14f9a3[_0xbb52('0xf3')][_0xbb52('0x25')]];var _0x41b2d4=_0x36ae82?_0x1c2840[_0xbb52('0x15')][_0x36ae82]['id']:undefined;_0x1c2840[_0xbb52('0x14')][_0x4eb0ad]=new Action(_0x14f9a3,_0x4f1768,_0x4eb0ad,_0x36ae82,_0x41b2d4);var _0x144b5c=_0x1c2840[_0xbb52('0x14')][_0x4eb0ad];_0x144b5c[_0xbb52('0xa5')]=_0x1752b6;_0x144b5c['activeContact']=_0x41bea0;_0x144b5c[_0xbb52('0xf4')]=_0x36ae82;if(_[_0xbb52('0xf5')](_0x371fff)){_0x1c2840[_0xbb52('0xf6')](_0x144b5c,_0x4f1768,_0x14f9a3,_0x36ae82)[_0xbb52('0x7d')](function(_0x2c4525){logger[_0xbb52('0x57')]('[Preview][execCall][success]','Queue:\x20'+_0x144b5c[_0xbb52('0x75')]+_0xbb52('0xf7')+_0x144b5c[_0xbb52('0xf8')],JSON[_0xbb52('0x52')](_0x2c4525));ami[_0xbb52('0x22')]('custom:agentcalled',ut[_0xbb52('0xac')](_0x144b5c,_0xbb52('0xf9')));_0x13fbe8(ut[_0xbb52('0x49')](_0xbb52('0xfa')));})[_0xbb52('0x72')](function(_0x521970){ut[_0xbb52('0x5c')]('[Preview][execCall][failure]',_0x521970);_0x21fb0a(ut[_0xbb52('0x49')]('Call\x20failed',_0x1752b6,_0x41bea0));});}else{_0x4f1768[_0xbb52('0x35')]+=0x1;ut[_0xbb52('0xfb')](_0x144b5c);rpcDb['createHistory'](_0x144b5c,_0xbb52('0xfc'));delete _0x1c2840[_0xbb52('0x14')][_0x4eb0ad];_0x21fb0a(ut[_0xbb52('0x49')](_0xbb52('0xfd'),_0x1752b6,_0x41bea0));}});};Preview['prototype'][_0xbb52('0x96')]=function(_0x23443c){return!_[_0xbb52('0xf0')](_0x23443c)&&!_[_0xbb52('0xf0')](_0x23443c['name'])&&!_[_0xbb52('0xf0')](_0x23443c[_0xbb52('0x4f')])&&_0x23443c[_0xbb52('0x4f')]&&!_[_0xbb52('0xf0')](this[_0xbb52('0x13')][util['format'](_0xbb52('0xfe'),_0x23443c['name'])])&&!_[_0xbb52('0xf0')](this[_0xbb52('0x13')][util['format'](_0xbb52('0xfe'),_0x23443c[_0xbb52('0x25')])]['status'])&&(this[_0xbb52('0x13')][util['format'](_0xbb52('0xfe'),_0x23443c[_0xbb52('0x25')])][_0xbb52('0x71')]==='reachable'||this[_0xbb52('0x13')][util[_0xbb52('0x54')]('SIP/%s',_0x23443c['name'])][_0xbb52('0x71')]==='unmonitored');};Preview[_0xbb52('0xd')][_0xbb52('0x84')]=function(_0x5f42ec,_0x4e5e13){var _0x54ea8a=this;return new BPromise(function(_0x4514d9,_0x511a67){_0x54ea8a[_0xbb52('0xff')](_0x5f42ec,_0x4e5e13)[_0xbb52('0x7d')](function(_0x30c5cd){_0x4514d9(_[_0xbb52('0x6c')](_0x30c5cd,[_0xbb52('0x49')]));})[_0xbb52('0x72')](function(_0x188c38){if(_0x188c38[_0xbb52('0x100')]){rpcDb[_0xbb52('0x101')](_0x5f42ec);}if(_0x188c38[_0xbb52('0x4f')]){rpcDb[_0xbb52('0x87')](_0x5f42ec);}_0x511a67(_[_0xbb52('0x6c')](_0x188c38,[_0xbb52('0x49')]));});});};Preview['prototype'][_0xbb52('0xff')]=function(_0x51cd0f,_0x2f13f6){var _0x3a13a0=this;return new BPromise(function(_0x4b280d,_0x36b0d3){var _0x3b02d8,_0x27122e;rpcDb[_0xbb52('0x102')](_0x51cd0f)['then'](function(_0xd5d718){if(!_['isNil'](_0xd5d718[0x0])){_0x27122e=_0xd5d718[0x0][_0xbb52('0x103')]?![]:!![];_0x3b02d8=_0xd5d718[0x0][_0xbb52('0x103')]?!![]:![];_0x3b02d8=_0x2f13f6?!![]:_0x3b02d8;}var _0x1c708f=_0x3a13a0[_0xbb52('0x104')](_0xd5d718);if(_0x1c708f[_0xbb52('0x105')]){rpcDb[_0xbb52('0x106')](_['pick'](_0xd5d718[0x0],['VoiceQueueId','Contact.phone']))[_0xbb52('0x7d')](function(_0x5b10da){_0x3a13a0[_0xbb52('0x107')](_0x5b10da,_0xd5d718[0x0],_0x2f13f6,_0x27122e,_0x3b02d8)[_0xbb52('0x7d')](function(_0x285532){_0x4b280d(_0x285532);})[_0xbb52('0x72')](function(_0x25f458){_0x36b0d3(_0x25f458);});})[_0xbb52('0x72')](function(_0x433feb){ut['logger']('[Preview][checkIsBlackList]',_0x433feb);_0x36b0d3(ut['message']('Call\x20unsuccessful',_0x27122e,_0x3b02d8));});}else{_0x36b0d3(ut[_0xbb52('0x49')](_0x1c708f[_0xbb52('0x49')],_0x27122e,_0x3b02d8));}})[_0xbb52('0x72')](function(_0x24bcb9){ut['logger'](_0xbb52('0x108'),_0x24bcb9);_0x36b0d3(ut[_0xbb52('0x49')]('Call\x20unsuccessful',![],!![]));});});};Preview[_0xbb52('0xd')][_0xbb52('0x104')]=function(_0x979b21){if(_[_0xbb52('0xf0')](_0x979b21)||_[_0xbb52('0xf5')](_0x979b21)||!_['isNil'](_0x979b21[0x0][_0xbb52('0x82')])&&_['isNil'](_0x979b21[0x0][_0xbb52('0x82')]['name'])){ut[_0xbb52('0x5c')](_0xbb52('0x109'),_0x979b21);return{'isValid':![],'message':_0xbb52('0x10a')};}var _0x42e963=this[_0xbb52('0x61')][_0x979b21[0x0]['Queue'][_0xbb52('0x25')]];_0x42e963[_0xbb52('0x49')]=_0xbb52('0x99');if(_[_0xbb52('0xf0')](_0x42e963)){ut[_0xbb52('0x5c')]('[Preview][validateContact][Empty\x20Campaign]',_0x42e963);return{'isValid':![],'message':_0xbb52('0x10b')};}if(!this[_0xbb52('0x96')](_0x42e963[_0xbb52('0x4e')])){ut['logger'](_0xbb52('0x10c'),'campaign\x20Name:\x20'+_0x42e963[_0xbb52('0x25')]+'\x20Trunk\x20is\x20not\x20active');if(!this[_0xbb52('0x96')](_0x42e963[_0xbb52('0x97')])){ut[_0xbb52('0x5c')](_0xbb52('0x10c'),_0x42e963[_0xbb52('0x25')]+_0xbb52('0x10d'));return{'isValid':![],'message':_0xbb52('0x10e')};}}if(!ut[_0xbb52('0x10f')](_0x42e963[_0xbb52('0x65')])){ut['logger'](_0xbb52('0x110'),_0x42e963[_0xbb52('0x25')]+_0xbb52('0x111'));return{'isValid':![],'message':_0xbb52('0x112')+_0x42e963[_0xbb52('0x25')]+'\x20Not\x20Active'};}return{'isValid':!![],'message':'Is\x20Valid'};};Preview[_0xbb52('0xd')][_0xbb52('0xf6')]=function(_0x3cbfcf,_0x3a558a,_0x3b22b6,_0x24cb40){var _0x5c98de=this;return new BPromise(function(_0x127ac6,_0x55d2a1){var _0x4363d2=_0x3cbfcf[_0xbb52('0xb7')];var _0x5529b5=_0x5c98de[_0xbb52('0x96')](_0x3a558a[_0xbb52('0x4e')])?util[_0xbb52('0x54')]('SIP/%s/%s%s',_0x3a558a[_0xbb52('0x4e')]['name'],_[_0xbb52('0xf0')](_0x3a558a[_0xbb52('0x33')])?'':_0x3a558a[_0xbb52('0x33')]['trim']()||'',_0x3a558a[_0xbb52('0x113')]>0x0?_0x3b22b6[_0xbb52('0xf1')][_0xbb52('0x114')][_0xbb52('0x115')](_0x3a558a[_0xbb52('0x113')]):_0x3b22b6[_0xbb52('0xf1')][_0xbb52('0x114')]):util[_0xbb52('0x54')](_0xbb52('0x116'),_['isNil'](_0x3a558a[_0xbb52('0x97')])?_0x3a558a[_0xbb52('0x4e')][_0xbb52('0x25')]:_0x3a558a[_0xbb52('0x97')][_0xbb52('0x25')],_[_0xbb52('0xf0')](_0x3a558a[_0xbb52('0x33')])?'':_0x3a558a[_0xbb52('0x33')][_0xbb52('0x117')]()||'',_0x3a558a[_0xbb52('0x113')]>0x0?_0x3b22b6[_0xbb52('0xf1')][_0xbb52('0x114')][_0xbb52('0x115')](_0x3a558a[_0xbb52('0x113')]):_0x3b22b6[_0xbb52('0xf1')][_0xbb52('0x114')]);var _0x541f27=_0x5c98de[_0xbb52('0x96')](_0x3a558a[_0xbb52('0x4e')])?ut[_0xbb52('0x118')](_0x3a558a['Trunk']['callerid'],_0x3a558a['dialOriginateCallerIdName'],_0x3a558a[_0xbb52('0x119')]>0x0?ut[_0xbb52('0x11a')](_0x3a558a[_0xbb52('0x11b')],_0x3a558a['dialRandomLastDigitCallerIdNumber']):_0x3a558a[_0xbb52('0x11b')]):ut['getCallerId'](_['isNil'](_0x3a558a[_0xbb52('0x97')])?_0x3a558a['Trunk'][_0xbb52('0x50')]:_0x3a558a[_0xbb52('0x97')][_0xbb52('0x50')],_0x3a558a[_0xbb52('0x31')],_0x3a558a[_0xbb52('0x119')]>0x0?ut[_0xbb52('0x11a')](_0x3a558a[_0xbb52('0x11b')],_0x3a558a[_0xbb52('0x119')]):_0x3a558a[_0xbb52('0x11b')]);if(_0x541f27){_0x3cbfcf[_0xbb52('0x11c')]=ut['extractCalleridName'](_0x541f27);_0x3cbfcf[_0xbb52('0x11d')]=ut[_0xbb52('0x11e')](_0x541f27);}var _0x399772=ut[_0xbb52('0x11f')](_0x3a558a,_0x3b22b6,_0x5529b5,_0x541f27,_0x4363d2,_0x3cbfcf);_[_0xbb52('0x120')](_0x3cbfcf,ut[_0xbb52('0x121')](_0x399772));_0x3cbfcf['starttime']=moment()['format']('YYYY-MM-DD\x20HH:mm:ss');ami[_0xbb52('0x70')](ut[_0xbb52('0x122')](_0x3cbfcf,_0x3a558a,_0x399772,_0x3cbfcf[_0xbb52('0xcd')],_0x24cb40))[_0xbb52('0x7d')](function(_0x533535){_0x3a558a[_0xbb52('0x4a')]+=0x1;logger[_0xbb52('0x57')](_0xbb52('0x123'),_0x4363d2,_0xbb52('0xaa'),_0x3a558a[_0xbb52('0x25')],_0xbb52('0x6a'),_0x3a558a['originated']);_0x127ac6(_0x533535);})[_0xbb52('0x72')](function(_0x52b974){ut[_0xbb52('0xe5')](_0x3cbfcf,0xe,'OriginateError');rpcDb[_0xbb52('0xe6')](_0x3cbfcf,'[originateFailure][logOriginateFailure]');_0x55d2a1(_0x52b974);});});};Preview[_0xbb52('0xd')][_0xbb52('0x1d')]=function(_0xed9e07){if(this[_0xbb52('0x14')][_0xed9e07[_0xbb52('0xe0')]]){this[_0xbb52('0x14')][_0xed9e07[_0xbb52('0xe0')]][_0xbb52('0x124')]=_0xed9e07[_0xbb52('0x124')];}};Preview[_0xbb52('0xd')][_0xbb52('0x125')]=function(_0x1c39c9){var _0x303e93=this;var _0x2563d6=this[_0xbb52('0x14')][_0x1c39c9['actionid']];if(_0x2563d6){if(_0x2563d6['lookAgent']&&this[_0xbb52('0x15')][_0x2563d6['lookAgent']]){ut[_0xbb52('0x126')](_0x2563d6,this[_0xbb52('0x15')][_0x2563d6[_0xbb52('0xf4')]][_0xbb52('0x25')],this[_0xbb52('0x15')][_0x2563d6[_0xbb52('0xf4')]]['id']);}var _0x14ddf2=_[_0xbb52('0x127')](_0x2563d6);_0x14ddf2['responsetime']=moment()['format'](_0xbb52('0x89'));var _0x5de07c=_0x303e93[_0xbb52('0x61')][_0x2563d6[_0xbb52('0x75')]];if(ut['isFailure'](_0x1c39c9[_0xbb52('0x128')])){if(_0x2563d6[_0xbb52('0xa5')]){rpcDb['unlockContact'](_0x2563d6[_0xbb52('0xf8')]);}if(_0x2563d6[_0xbb52('0xcd')]){rpcDb[_0xbb52('0x87')](_0x2563d6[_0xbb52('0xf8')]);}ami[_0xbb52('0x22')]('custom:agentringnoanswer',ut[_0xbb52('0xac')](_0x2563d6,_0xbb52('0x129')));this[_0xbb52('0x12a')](_0x14ddf2,_0x5de07c,_0x1c39c9);}else{_0x2563d6[_0xbb52('0x88')]=moment()[_0xbb52('0x54')](_0xbb52('0x89'));ut[_0xbb52('0xe5')](_0x14ddf2,0x4,_0xbb52('0xb2'));rpcDb[_0xbb52('0xe6')](_0x14ddf2,'[callProgressDetectingAgent][logAnswer]');}}};Preview[_0xbb52('0xd')][_0xbb52('0x19')]=function(_0x182e30){var _0x2d2223=this;var _0x37f99e=this['actions'][_0x182e30['linkedid']];var _0x3154ea;if(_0x37f99e){_0x3154ea=this[_0xbb52('0x61')][_0x37f99e[_0xbb52('0x75')]];logger['info'](_0xbb52('0x12b'),_0x182e30['linkedid'],_0xbb52('0xaa'),_0x3154ea['name'],_0xbb52('0xb8'),_0x3154ea[_0xbb52('0x28')]);}if(this[_0xbb52('0x14')][_0x182e30['linkedid']]&&_0x182e30[_0xbb52('0xe0')]!==_0x182e30[_0xbb52('0xb7')]){if(_0x182e30[_0xbb52('0x12c')]==='16'&&this[_0xbb52('0x14')][_0x182e30[_0xbb52('0xe0')]][_0xbb52('0x6b')]){this['callProgressDetectingCustomer'](_0x182e30,_0x182e30['linkedid'],_0x182e30[_0xbb52('0x12c')]);}else if(this[_0xbb52('0x14')][_0x182e30[_0xbb52('0xe0')]][_0xbb52('0x6b')]){logger['info']('[syncHangup][talking][cause]',_0x182e30[_0xbb52('0xe0')],_0x182e30[_0xbb52('0x12c')],_0xbb52('0xaa'),_0x3154ea['name'],_0xbb52('0xb8'),_0x3154ea[_0xbb52('0x28')]);this[_0xbb52('0x9a')](_0x182e30,_0x182e30[_0xbb52('0xe0')],_0x182e30['cause']);}}else if(_0x37f99e&&_[_0xbb52('0xf0')](_0x37f99e[_0xbb52('0x12d')])&&_0x3154ea[_0xbb52('0x12e')]&&_0x182e30[_0xbb52('0xe0')]===_0x182e30[_0xbb52('0xb7')]&&_[_0xbb52('0xf0')](_0x182e30[_0xbb52('0xe4')])&&_0x182e30[_0xbb52('0x12c')]==='16'&&_0x182e30[_0xbb52('0x12f')]==='6'&&_[_0xbb52('0xe2')](_0x37f99e[_0xbb52('0x130')])){if(_0x37f99e[_0xbb52('0xa5')]){rpcDb[_0xbb52('0x101')](_0x37f99e[_0xbb52('0xf8')]);}if(_0x37f99e[_0xbb52('0xcd')]){rpcDb[_0xbb52('0x87')](_0x37f99e[_0xbb52('0xf8')]);}_0x182e30[_0xbb52('0xe4')]='22';this['callProgressDetectingAgent'](_0x37f99e,_0x3154ea,_0x182e30);}else if(_0x37f99e&&_0x37f99e[_0xbb52('0x130')]){if(_0x182e30[_0xbb52('0x12c')]==='16'&&this['actions'][_0x182e30['linkedid']][_0xbb52('0x6b')]){logger[_0xbb52('0x57')](_0xbb52('0x131'),_0x182e30[_0xbb52('0xe0')],_0x182e30[_0xbb52('0x12c')],_0xbb52('0xaa'),_0x3154ea[_0xbb52('0x25')],_0xbb52('0xb8'),_0x3154ea[_0xbb52('0x28')]);this[_0xbb52('0x9a')](_0x182e30,_0x182e30[_0xbb52('0xe0')],_0x182e30[_0xbb52('0x12c')]);}else if(this['actions'][_0x182e30[_0xbb52('0xe0')]][_0xbb52('0x6b')]){logger[_0xbb52('0x57')](_0xbb52('0x132'),_0x182e30[_0xbb52('0xe0')],_0x182e30[_0xbb52('0x12c')],_0xbb52('0xaa'),_0x3154ea['name'],_0xbb52('0xb8'),_0x3154ea['pTalking']);this[_0xbb52('0x9a')](_0x182e30,_0x182e30['linkedid'],_0x182e30[_0xbb52('0x12c')]);}}};Preview['prototype'][_0xbb52('0x1b')]=function(_0x5d2e1e){if(this['actions'][_0x5d2e1e[_0xbb52('0xe1')]]&&_0x5d2e1e[_0xbb52('0xe1')]!==_0x5d2e1e[_0xbb52('0x133')]){this[_0xbb52('0x9a')](_0x5d2e1e,_0x5d2e1e[_0xbb52('0xe1')],_0x5d2e1e['dialstatus']);}};Preview['prototype'][_0xbb52('0x134')]=function(_0x5e807f){if(this[_0xbb52('0x14')][_0x5e807f[_0xbb52('0xe0')]]&&_0x5e807f[_0xbb52('0xe0')]!==_0x5e807f[_0xbb52('0xb7')]&&!this['actions'][_0x5e807f[_0xbb52('0xe0')]][_0xbb52('0x6b')]){if(_0x5e807f[_0xbb52('0x12c')]==='1'){this[_0xbb52('0x9a')](_0x5e807f,_0x5e807f[_0xbb52('0xe0')],_0x5e807f[_0xbb52('0x12c')]);}}};Preview[_0xbb52('0xd')]['addVariable']=function(_0x494e5d,_0x42bdfc,_0xb8e89b){if(this[_0xbb52('0x14')][_0x494e5d]){if(_[_0xbb52('0xf0')](this[_0xbb52('0x14')][_0x494e5d]['variables'])){this[_0xbb52('0x14')][_0x494e5d][_0xbb52('0x135')]={};}this[_0xbb52('0x14')][_0x494e5d][_0xbb52('0x135')][_0x42bdfc]=_0xb8e89b;}};Preview[_0xbb52('0xd')][_0xbb52('0x1f')]=function(_0x105ef4){try{if(!_[_0xbb52('0xf0')](_0x105ef4)){if(ut[_0xbb52('0x136')](_[_0xbb52('0x137')](_0x105ef4[_0xbb52('0x138')])[0x0])){this['addVariable'](_0x105ef4['uniqueid'],_['keys'](_0x105ef4['variable'])[0x0],_0x105ef4['value']);}}}catch(_0x4e46e2){logger[_0xbb52('0x139')]('[syncVarSet][Preview]',util[_0xbb52('0x13a')](_0x4e46e2,{'showHidden':![],'depth':null}));}};Preview[_0xbb52('0xd')][_0xbb52('0x13b')]=function(_0xffc739){if(_0xffc739){if(this[_0xbb52('0x14')][_0xffc739['transfertargetlinkedid']]){this[_0xbb52('0x14')][_0xffc739['transfertargetlinkedid']][_0xbb52('0x130')]=!![];}}};Preview[_0xbb52('0xd')][_0xbb52('0x20')]=function(_0x23242a){if(_0x23242a){if(this[_0xbb52('0x14')][_0x23242a[_0xbb52('0x13c')]]){this['actions'][_0x23242a['transfererlinkedid']][_0xbb52('0x130')]=!![];}}};module['exports']=Preview; \ No newline at end of file +var _0x2a23=['answertime','[syncHangup][talking][increment]','uniqueid','custom:agentconnect','buildObj','connect','acw','custom:agentConnectPreview','custom:agentcomplete','complete','decrementTalkink','[16]','Answer','createCustomerHistory','[callProgressDetectingCustomer][logAnswer]','[callProgressDetectingCustomer][logAnswerGlobal]','talktime','sumBillable','[syncHangup][talking][decrement]','\x20Queue','BUSY','countbusyretry','Busy','[callProgressDetectingCustomer][logBusy]','dialGlobalMaxRetry','cloneAction','[callProgressDetectingCustomer][logBusyGlobal]','dialBusyMaxRetry','scheduledAt','dialBusyRetryFrequency','unlockAgent','NOANSWER','countnoanswerretry','NoAnswer','[callProgressDetectingCustomer][logNoAnswer]','[callProgressDetectingCustomer][logNoAnswerGlobal]','dialNoAnswerMaxRetry','activeContact','CONGESTION','countcongestionretry','Congestion','CANCEL','countagentrejectretry','[syncHangupRequest][logAgentReject]','AgentReject','[callProgressDetectingCustomer][logAgentReject]','dialAgentRejectRetryFrequency','ABANDONED','outboundAbandonedCallsDay','Abandoned','[callProgressDetectingCustomer][logAbandoned]','countabandonedetry','dialAbandonedMaxRety','dialAbandonedRetryFrequency','[default]','[Dialer][decrementTalkink][no\x20Hangup][Preview]','cause-txt','dialstatus','[callProgressDetectingCustomer][logUnknown]','[callProgressDetectingCustomer][logUnknownGlobal]','[callProgressDetectingCustomer]','destlinkedid','callProgressDetectingAgent','object','reason','createAgentHistory','[callProgressDetectingAgent][logNoAnswer]','[callProgressDetectingAgent][logBusy]','logAgent','AnswerAGI','[originated][decrement][callProgressDetectingAgent]','checkInBlack','Contact','phone','Contact\x20is\x20undefined','Queue','isEmpty','execCall','[Preview][execCall][success]','Queue:\x20','\x20IdHopper:\x20','idContact','custom:agentcalled','Calling','[Preview][execCall][failure]','Call\x20failed','createHistory','[Blacklist][error]','Contact\x20in\x20black\x20List','SIP/%s','execRun','unlock','getContactPreview','recallme','validateContact','Contact.phone','[Preview][checkIsBlackList]','Call\x20unsuccessful','[Preview][getContactPreview]','[Preview][validateContact][Empty\x20Campaign]','Empty\x20Campaign','[Preview][validateContact][Trunk\x20not\x20work]','campaign\x20Name:\x20','\x20Trunk\x20is\x20not\x20active','Trunk\x20not\x20work','[Preview][validateContact][Campaign\x20Active]','\x20Not\x20Active','Is\x20Valid','SIP/%s/%s%s','trim','substring','dialCutDigit','getCallerId','dialOriginateCallerIdName','dialRandomLastDigitCallerIdNumber','getCallerIdRandom','dialOriginateCallerIdNumber','originatecalleridnum','extractCalleridNumber','merge','toLowerVariables','starttime','variablesAction','[originated][increment]','OriginateError','[originateFailure][logOriginateFailure]','actionid','lookAgent','clone','isFailure','response','unlockContact','custom:agentringnoanswer','rejected','[callProgressDetectingAgent][logAnswer]','[syncHangup][talking]','[syncHangup][talking][cause]','cause','statedesc','dialQueueProject','isUndefined','transfer','pTalking:\x20','destuniqueid','variables','filterKey','keys','variable','addVariable','value','error','[syncVarSet][Preview]','inspect','transfererlinkedid','exports','util','lodash','bluebird','uuid','md5','ioredis','../../../config/environment','../../../config/logger','./rpcDb','./action','./util/util','redis','defaults','localhost','prototype','enqueue','tail','finally','sequence','campaignsPreview','trunks','actions','agents','syncOriginateResponse','bind','syncHangup','syncHangupRequest','syncDialEnd','syncNewExten','syncVarSet','attendedtransfer','syncAttendedTransfer','blindtransfer','syncBlindTransfer','loopCampaigns','emit','type','outbound','name','strategy','answered','available','pTalking','sumDuration','sumHoldTime','talking','total','unmanaged','abandoned','waiting','loggedInDb','dialActive','dialMethod','dialOriginateTimeout','dialPrefix','outboundAnswerCallsDay','outboundBlacklistCallsDay','outboundBusyCallsDay','outboundCongestionCallsDay','outboundDropCallsDayACS','outboundDropCallsDayCallersExit','outboundDropCallsDayTimeout','outboundNoAnswerCallsDay','outboundNoSuchCallsDay','outboundReCallsDay','outboundRejectCallsDay','outboundUnknownCallsDay','predictiveIntervalAnsweredCalls','predictiveIntervalAvgHoldtime','predictiveIntervalDroppedCallsCallersExit','predictiveIntervalDroppedCallsTimeout','predictiveIntervalErlangCallsDroppedCalls','predictiveIntervalHitRate','predictiveIntervalMultiplicativeFactor','predictiveIntervalPauses','predictiveIntervalAvailable','predictiveIntervalTotalCalls','message','originated','erlangCalls','erlangCallToSecond','erlangAbandonmentRate','erlangBusyFactor','startProgressive','Trunk','active','callerid','Interval','format','voice:queue:%s','voice_queue:save','info','[DEBUG]\x20Emit\x20voice_queue_channel:remove\x20event','stringify','voice_queue_channel:remove','paused','NOT_ACTIVE','[CampaignPreview]\x20Campaign\x20Queue:\x20','\x20is\x20not\x20active','IS_DISACTIVED','logger','\x20is\x20disactive','syncCampaigns','clockClearZombieChannels','hasOwnProperty','clearZombieChannels','preview','setMessage','recallMe','clearZombieChannel','isNil','[clearZombieChannels][talking]','queue','originated:\x20','pick','contactId','UserId','VoiceQueueId','ListId','Action','status','channel','catch','No\x20such\x20channel','updateOriginated','dialAnswer','[clearZombieChannel]','loggerError','[Dialer][checkChannel][Preview]','[action]','size','getContactRecallMe','agentReadyId','then','getDiff','scheduledat','dialRecallMeTimeout','Agent','logger2','[RecallMe]','disableContact','YYYY-MM-DD\x20HH:mm:ss','RecallInQueue','dialRecallInQueue','rescheduleContactInQueue','createBody','[HistoryDialRecallInQueue][historyCatch]','[HistoryRecallClose]','createCustomerFinal','[getContactRecallMe]','sendMessageOneNotActive','IsNotLoggedIn','loggedIn','isActive','isTrunkReachable','TrunkBackup','TRUNK_IS_NOT_REACHABLE','ACTIVE','callProgressDetectingCustomer','countnosuchnumberretry','countglobal','totalGlobal','logCustomer','NoSuchNumber','[callProgressDetectingCustomer][logNoSuch]','Global','[callProgressDetectingCustomer][logNoSuchGlobal]','dialNoSuchNumberMaxRetry','rescheduleContact','dialNoSuchNumberRetryFrequency','linkedid','ANSWER','responsetime'];(function(_0x2dadb9,_0x42cfe6){var _0x2f0097=function(_0x21163f){while(--_0x21163f){_0x2dadb9['push'](_0x2dadb9['shift']());}};_0x2f0097(++_0x42cfe6);}(_0x2a23,0x1e3));var _0x32a2=function(_0x4fb65e,_0x2450ef){_0x4fb65e=_0x4fb65e-0x0;var _0x5abf41=_0x2a23[_0x4fb65e];return _0x5abf41;};'use strict';var util=require(_0x32a2('0x0'));var _=require(_0x32a2('0x1'));var BPromise=require(_0x32a2('0x2'));var uuid=require(_0x32a2('0x3'));var moment=require('moment');var md5=require(_0x32a2('0x4'));var Redis=require(_0x32a2('0x5'));var config=require(_0x32a2('0x6'));var logger=require(_0x32a2('0x7'))('preview');var loggerAction=require(_0x32a2('0x7'))('actionPreview');var ami=require('../ami');var rpcDb=require(_0x32a2('0x8'));var Action=require(_0x32a2('0x9'));var ut=require(_0x32a2('0xa'));config[_0x32a2('0xb')]=_[_0x32a2('0xc')](config['redis'],{'host':_0x32a2('0xd'),'port':0x18eb});var io=require('socket.io-emitter')(new Redis(config[_0x32a2('0xb')]));var Sequence=function(){};Sequence[_0x32a2('0xe')][_0x32a2('0xf')]=function(_0x576a0e){this[_0x32a2('0x10')]=this[_0x32a2('0x10')]?this['tail'][_0x32a2('0x11')](_0x576a0e):_0x576a0e();};function Preview(_0x3a26df){this[_0x32a2('0x12')]=new Sequence();this[_0x32a2('0x13')]=_0x3a26df['voiceQueues'];this['trunks']=_0x3a26df[_0x32a2('0x14')];this[_0x32a2('0x15')]={};this[_0x32a2('0x16')]=_0x3a26df[_0x32a2('0x16')];this['clockClearZombieChannels']=0x0;ami['on']('originateresponse',this[_0x32a2('0x17')][_0x32a2('0x18')](this));ami['on']('hangup',this[_0x32a2('0x19')]['bind'](this));ami['on']('hanguprequest',this[_0x32a2('0x1a')][_0x32a2('0x18')](this));ami['on']('dialend',this[_0x32a2('0x1b')]['bind'](this));ami['on']('newexten',this[_0x32a2('0x1c')]['bind'](this));ami['on']('varset',this[_0x32a2('0x1d')][_0x32a2('0x18')](this));ami['on'](_0x32a2('0x1e'),this[_0x32a2('0x1f')][_0x32a2('0x18')](this));ami['on'](_0x32a2('0x20'),this[_0x32a2('0x21')][_0x32a2('0x18')](this));this[_0x32a2('0x22')](this[_0x32a2('0x13')]);}function emit(_0x15a1b6,_0x463a06,_0x526511){io['to'](_0x15a1b6)[_0x32a2('0x23')](_0x463a06,_0x526511);}function emitCampaignPreview(_0xb1191){if(_0xb1191[_0x32a2('0x24')]===_0x32a2('0x25')){var _0x4fded1={'id':_0xb1191['id'],'name':_0xb1191[_0x32a2('0x26')],'strategy':_0xb1191[_0x32a2('0x27')],'answered':_0xb1191[_0x32a2('0x28')],'available':_0xb1191[_0x32a2('0x29')],'loggedIn':_0xb1191['loggedIn'],'pTalking':_0xb1191[_0x32a2('0x2a')],'sumBillable':_0xb1191['sumBillable'],'sumDuration':_0xb1191[_0x32a2('0x2b')],'sumHoldTime':_0xb1191[_0x32a2('0x2c')]||0x0,'talking':_0xb1191[_0x32a2('0x2d')],'total':_0xb1191[_0x32a2('0x2e')],'type':_0xb1191[_0x32a2('0x24')],'unmanaged':_0xb1191[_0x32a2('0x2f')],'abandoned':_0xb1191[_0x32a2('0x30')],'waiting':_0xb1191[_0x32a2('0x31')],'loggedInDb':_0xb1191[_0x32a2('0x32')],'dialActive':_0xb1191[_0x32a2('0x33')],'dialMethod':_0xb1191[_0x32a2('0x34')],'dialOriginateCallerIdName':_0xb1191['dialOriginateCallerIdName'],'dialOriginateCallerIdNumber':_0xb1191['dialOriginateCallerIdNumber'],'dialOriginateTimeout':_0xb1191[_0x32a2('0x35')],'dialPrefix':_0xb1191[_0x32a2('0x36')],'outboundAnswerAgiCallsDay':_0xb1191['outboundAnswerAgiCallsDay'],'outboundAnswerCallsDay':_0xb1191[_0x32a2('0x37')],'outboundBlacklistCallsDay':_0xb1191[_0x32a2('0x38')],'outboundBusyCallsDay':_0xb1191[_0x32a2('0x39')],'outboundCongestionCallsDay':_0xb1191[_0x32a2('0x3a')],'outboundDropCallsDayACS':_0xb1191[_0x32a2('0x3b')],'outboundDropCallsDayCallersExit':_0xb1191[_0x32a2('0x3c')],'outboundDropCallsDayTimeout':_0xb1191[_0x32a2('0x3d')],'outboundNoAnswerCallsDay':_0xb1191[_0x32a2('0x3e')],'outboundNoSuchCallsDay':_0xb1191[_0x32a2('0x3f')],'outboundOriginateFailureCallsDay':_0xb1191['outboundOriginateFailureCallsDay'],'outboundReCallsDay':_0xb1191[_0x32a2('0x40')],'outboundRejectCallsDay':_0xb1191[_0x32a2('0x41')],'outboundUnknownCallsDay':_0xb1191[_0x32a2('0x42')],'outboundAbandonedCallsDay':_0xb1191['outboundAbandonedCallsDay'],'predictiveIntervalAnsweredCalls':_0xb1191[_0x32a2('0x43')],'predictiveIntervalAvgHoldtime':_0xb1191[_0x32a2('0x44')],'predictiveIntervalAvgTalktime':_0xb1191['predictiveIntervalAvgTalktime'],'predictiveIntervalDroppedCallsCallersExit':_0xb1191[_0x32a2('0x45')],'predictiveIntervalDroppedCallsTimeout':_0xb1191[_0x32a2('0x46')],'predictiveIntervalErlangCalls':_0xb1191['predictiveIntervalErlangCalls'],'predictiveIntervalErlangCallsDroppedCalls':_0xb1191[_0x32a2('0x47')],'predictiveIntervalHitRate':_0xb1191[_0x32a2('0x48')],'predictiveIntervalMultiplicativeFactor':_0xb1191[_0x32a2('0x49')],'predictiveIntervalPauses':_0xb1191[_0x32a2('0x4a')],'predictiveIntervalAvailable':_0xb1191[_0x32a2('0x4b')],'predictiveIntervalTotalCalls':_0xb1191[_0x32a2('0x4c')],'message':_0xb1191[_0x32a2('0x4d')],'originated':_0xb1191[_0x32a2('0x4e')],'erlangCalls':_0xb1191[_0x32a2('0x4f')],'erlangCallToSecond':_0xb1191[_0x32a2('0x50')],'erlangAbandonmentRate':_0xb1191[_0x32a2('0x51')],'erlangBusyFactor':_0xb1191[_0x32a2('0x52')],'startPredictive':_0xb1191['startPredictive'],'startProgressive':_0xb1191[_0x32a2('0x53')]};if(_0xb1191[_0x32a2('0x54')]){_0x4fded1['Trunk']={'id':_0xb1191[_0x32a2('0x54')]['id'],'name':_0xb1191[_0x32a2('0x54')]['name'],'active':_0xb1191[_0x32a2('0x54')][_0x32a2('0x55')],'callerid':_0xb1191[_0x32a2('0x54')][_0x32a2('0x56')]};}if(_0xb1191[_0x32a2('0x57')]){_0x4fded1['Interval']={'id':_0xb1191[_0x32a2('0x57')]['id'],'name':_0xb1191[_0x32a2('0x57')][_0x32a2('0x26')]};}var _0x475fc1=md5(JSON['stringify'](_0x4fded1));if(_0xb1191[_0x32a2('0x4')]!==_0x475fc1){_0xb1191[_0x32a2('0x4')]=_0x475fc1;emit(util[_0x32a2('0x58')](_0x32a2('0x59'),_0x4fded1['name']),_0x32a2('0x5a'),_0x4fded1);}}}function emitVoiceQueueChannelRemove(_0x426f38){logger[_0x32a2('0x5b')](_0x32a2('0x5c'),JSON[_0x32a2('0x5d')](_0x426f38));emit(util[_0x32a2('0x58')](_0x32a2('0x59'),_0x426f38[_0x32a2('0x26')]),_0x32a2('0x5e'),_0x426f38);}function notSendMessagesQueue(_0x5d07dd){if(_0x5d07dd['sendMessageOneNotActive']){if(_0x5d07dd['originated']===0x0&&_0x5d07dd[_0x32a2('0x2a')]===0x0){_0x5d07dd['sendMessageOneNotActive']=![];_0x5d07dd[_0x32a2('0x29')]=0x0;_0x5d07dd[_0x32a2('0x5f')]=0x0;_0x5d07dd[_0x32a2('0x4d')]=_0x32a2('0x60');ut['logger'](_0x32a2('0x61'),_0x5d07dd[_0x32a2('0x26')]+_0x32a2('0x62'));}else{_0x5d07dd[_0x32a2('0x4d')]=_0x32a2('0x63');ut[_0x32a2('0x64')](_0x32a2('0x61'),_0x5d07dd[_0x32a2('0x26')]+_0x32a2('0x65'));}emitCampaignPreview(_0x5d07dd);}}Preview['prototype'][_0x32a2('0x22')]=function(){var _0x3294e1=this;setInterval(function(){_0x3294e1[_0x32a2('0x66')]();},0x7cf);};Preview[_0x32a2('0xe')]['syncCampaigns']=function(){var _0xd7eaa0=this[_0x32a2('0x13')];this[_0x32a2('0x67')]+=0x1;for(var _0x151068 in _0xd7eaa0){if(_0xd7eaa0[_0x32a2('0x68')](_0x151068)&&(_0xd7eaa0[_0x151068][_0x32a2('0x34')]==='preview'||_0xd7eaa0[_0x151068]['dialMethod']==='booked')&&_0xd7eaa0[_0x151068][_0x32a2('0x24')]==='outbound'){if(this[_0x32a2('0x67')]>0x7){this['clockClearZombieChannels']=0x0;this[_0x32a2('0x69')]();}}if(_0xd7eaa0[_0x32a2('0x68')](_0x151068)&&_0xd7eaa0[_0x151068]['dialMethod']===_0x32a2('0x6a')&&_0xd7eaa0[_0x151068]['type']===_0x32a2('0x25')){if(_0xd7eaa0[_0x151068][_0x32a2('0x33')]){this[_0x32a2('0x6b')](_0xd7eaa0[_0x151068]);this[_0x32a2('0x6c')](_0xd7eaa0[_0x151068]);}else{notSendMessagesQueue(_0xd7eaa0[_0x151068]);}}}};Preview[_0x32a2('0xe')][_0x32a2('0x6d')]=function(_0x1238f0){var _0x1c0dd5=this;this[_0x32a2('0x12')][_0x32a2('0xf')](function(){if(!_[_0x32a2('0x6e')](_0x1c0dd5[_0x32a2('0x15')][_0x1238f0])){loggerAction['info'](_0x32a2('0x6f'),_0x1238f0,'Queue',_0x1c0dd5[_0x32a2('0x15')][_0x1238f0][_0x32a2('0x70')],_0x32a2('0x71'),JSON[_0x32a2('0x5d')](_0x1c0dd5['campaignsPreview'][_0x1c0dd5[_0x32a2('0x15')][_0x1238f0][_0x32a2('0x70')]][_0x32a2('0x4e')]),'pTalking:\x20',JSON[_0x32a2('0x5d')](_0x1c0dd5[_0x32a2('0x13')][_0x1c0dd5[_0x32a2('0x15')][_0x1238f0]['queue']][_0x32a2('0x2a')]),JSON['stringify'](_0x1c0dd5[_0x32a2('0x15')][_0x1238f0]['dialAnswer']),JSON['stringify'](_[_0x32a2('0x72')](_0x1c0dd5[_0x32a2('0x15')][_0x1238f0],[_0x32a2('0x73'),_0x32a2('0x74'),_0x32a2('0x75'),_0x32a2('0x76')])));return ami[_0x32a2('0x77')]({'action':_0x32a2('0x78'),'channel':_0x1c0dd5['actions'][_0x1238f0][_0x32a2('0x79')]})[_0x32a2('0x7a')](function(_0x4600c3){if(_0x4600c3[_0x32a2('0x4d')]===_0x32a2('0x7b')){setTimeout(function(){if(_0x1c0dd5[_0x32a2('0x15')][_0x1238f0]){ut[_0x32a2('0x7c')](_0x1c0dd5['campaignsPreview'][_0x1c0dd5[_0x32a2('0x15')][_0x1238f0][_0x32a2('0x70')]],'[clearZombieChannel]');if(_0x1c0dd5[_0x32a2('0x15')][_0x1238f0][_0x32a2('0x7d')]===!![]){ut['decrementTalkink'](_0x1c0dd5[_0x32a2('0x13')][_0x1c0dd5[_0x32a2('0x15')][_0x1238f0][_0x32a2('0x70')]],_0x32a2('0x7e'));ut[_0x32a2('0x7f')]('[Dialer][checkChannel][pTalking][Preview]'+_0x1238f0,_0x1c0dd5[_0x32a2('0x15')][_0x1238f0][_0x32a2('0x70')]);}ut[_0x32a2('0x7f')](_0x32a2('0x80')+_0x1238f0,_0x1c0dd5[_0x32a2('0x15')][_0x1238f0]['queue']);delete _0x1c0dd5[_0x32a2('0x15')][_0x1238f0];}},0x2328);}});}});};Preview['prototype'][_0x32a2('0x69')]=function(){var _0x3f1706=this;loggerAction[_0x32a2('0x5b')](_0x32a2('0x81'),_[_0x32a2('0x82')](this['actions']));for(var _0x5cfebc in this[_0x32a2('0x15')]){if(_0x3f1706[_0x32a2('0x15')][_0x32a2('0x68')](_0x5cfebc)){_0x3f1706['clearZombieChannel'](_0x5cfebc);}}};Preview[_0x32a2('0xe')]['recallMe']=function(_0x39d950){var _0x545b98=this;rpcDb[_0x32a2('0x83')](_0x39d950['id'],ut[_0x32a2('0x84')](this['agents']))[_0x32a2('0x85')](function(_0x189f08){if(!_[_0x32a2('0x6e')](_0x189f08)){for(var _0x5c7551=0x0;_0x5c7551<_0x189f08['length'];_0x5c7551+=0x1){if(ut[_0x32a2('0x86')](_0x189f08[_0x5c7551][_0x32a2('0x87')])<_0x39d950[_0x32a2('0x88')]*0x3c){if(_0x189f08[_0x5c7551][_0x32a2('0x89')]&&!_0x189f08[_0x5c7551]['Agent']['voicePause']){_0x545b98['run'](_0x189f08[_0x5c7551]['id'])['then'](ut[_0x32a2('0x8a')](_0x32a2('0x8b')))['catch'](ut[_0x32a2('0x8a')](_0x32a2('0x8b')));}else{rpcDb[_0x32a2('0x8c')](_0x189f08[_0x5c7551]['id']);}}else{var _0x20a698=new Action(_0x189f08[_0x5c7551],_0x39d950);_0x20a698['starttime']=moment()[_0x32a2('0x58')](_0x32a2('0x8d'));_0x39d950[_0x32a2('0x40')]+=0x1;ut['logCustomer'](_0x20a698,0x17,_0x32a2('0x8e'));if(_0x39d950[_0x32a2('0x8f')]){rpcDb[_0x32a2('0x90')](ut[_0x32a2('0x91')](_0x189f08[_0x5c7551]));rpcDb['createCustomerHistory'](_0x20a698,_0x32a2('0x92'));}else{ut['logCustomer'](_0x20a698,0x16,'RecallFailedTimeout');rpcDb['createCustomerHistory'](_0x20a698,_0x32a2('0x93'));rpcDb[_0x32a2('0x94')](_0x20a698,_0x32a2('0x93'));}}}}})[_0x32a2('0x7a')](ut['logger2'](_0x32a2('0x95')));};Preview['prototype'][_0x32a2('0x6b')]=function(_0x126b18){_0x126b18[_0x32a2('0x96')]=!![];if(ut[_0x32a2('0x97')](_0x126b18[_0x32a2('0x98')])){_0x126b18['message']='AGENTS_NOT_LOGGED';}else if(!ut[_0x32a2('0x99')](_0x126b18[_0x32a2('0x33')])){_0x126b18[_0x32a2('0x4d')]=_0x32a2('0x60');}else if(!this[_0x32a2('0x9a')](_0x126b18[_0x32a2('0x54')])){if(!this['isTrunkReachable'](_0x126b18[_0x32a2('0x9b')])){_0x126b18[_0x32a2('0x4d')]=_0x32a2('0x9c');}else{_0x126b18[_0x32a2('0x4d')]=_0x32a2('0x9d');}}else{_0x126b18[_0x32a2('0x4d')]=_0x32a2('0x9d');}emitCampaignPreview(_0x126b18);};Preview[_0x32a2('0xe')][_0x32a2('0x9e')]=function(_0x2835fd,_0x573a00,_0x253cf5){var _0x3acd9f=this;var _0x3d3fd=this[_0x32a2('0x15')][_0x573a00];var _0x37ef22=this[_0x32a2('0x13')][_0x3d3fd[_0x32a2('0x70')]];var _0x5a9f3e;if(_0x37ef22){switch(_0x253cf5){case'1':_0x37ef22[_0x32a2('0x3f')]+=0x1;_0x3d3fd[_0x32a2('0x9f')]+=0x1;_0x3d3fd[_0x32a2('0xa0')]=ut[_0x32a2('0xa1')](_0x3d3fd);ut[_0x32a2('0xa2')](_0x3d3fd,0x0,_0x32a2('0xa3'));rpcDb['createCustomerHistory'](_0x3d3fd,_0x32a2('0xa4'));if(ut['totalGlobal'](_0x3d3fd)>=_0x37ef22['dialGlobalMaxRetry']){_0x5a9f3e=ut['cloneAction'](_0x3d3fd,0xf,_0x32a2('0xa5'));rpcDb[_0x32a2('0x94')](_0x5a9f3e,_0x32a2('0xa6'));}else{if(_0x3d3fd[_0x32a2('0x9f')]>=_0x37ef22[_0x32a2('0xa7')]){rpcDb['createCustomerFinal'](_0x3d3fd,'[callProgressDetectingCustomer][logNoSuchGlobal]');}else{rpcDb[_0x32a2('0xa8')](ut['scheduledAt'](_0x3d3fd,_0x32a2('0x9f'),_0x37ef22[_0x32a2('0xa9')]),_0x3d3fd['unlockAgent'],_0x3d3fd['activeContact']);}}delete this[_0x32a2('0x15')][_0x2835fd[_0x32a2('0xaa')]];break;case _0x32a2('0xab'):var _0x10d8f8=moment()['format'](_0x32a2('0x8d'));_0x3d3fd[_0x32a2('0xac')]=_0x10d8f8;_0x3d3fd[_0x32a2('0xad')]=_0x10d8f8;_0x3d3fd[_0x32a2('0x7d')]=!![];_0x37ef22[_0x32a2('0x2a')]+=0x1;logger[_0x32a2('0x5b')](_0x32a2('0xae'),_0x3d3fd[_0x32a2('0xaf')],'\x20Queue',_0x37ef22[_0x32a2('0x26')],'pTalking:\x20',_0x37ef22[_0x32a2('0x2a')]);ami[_0x32a2('0x23')](_0x32a2('0xb0'),ut[_0x32a2('0xb1')](_0x3d3fd,_0x32a2('0xb2')));if(_0x37ef22[_0x32a2('0xb3')]){ami['emit'](_0x32a2('0xb4'),ut['buildAcw'](_0x3d3fd));}break;case'16':ami[_0x32a2('0x23')](_0x32a2('0xb5'),ut[_0x32a2('0xb1')](_0x3d3fd,_0x32a2('0xb6')));emitVoiceQueueChannelRemove(ut[_0x32a2('0xb1')](_0x3d3fd,_0x32a2('0xb6')));_0x37ef22[_0x32a2('0x37')]+=0x1;_0x37ef22['total']+=0x1;_0x37ef22[_0x32a2('0x28')]+=0x1;ut[_0x32a2('0xb7')](_0x37ef22,_0x32a2('0xb8'));_0x3d3fd[_0x32a2('0xa0')]=ut['totalGlobal'](_0x3d3fd);ut[_0x32a2('0xa2')](_0x3d3fd,0x4,_0x32a2('0xb9'));rpcDb[_0x32a2('0xba')](_0x3d3fd,_0x32a2('0xbb'));rpcDb[_0x32a2('0x94')](_0x3d3fd,_0x32a2('0xbc'));rpcDb['crateCustomerReportQueue'](_0x3d3fd);_0x37ef22[_0x32a2('0x2b')]+=_0x3d3fd[_0x32a2('0xbd')];_0x37ef22[_0x32a2('0xbe')]+=_0x3d3fd[_0x32a2('0xbd')];logger[_0x32a2('0x5b')](_0x32a2('0xbf'),_0x3d3fd[_0x32a2('0xaf')],_0x32a2('0xc0'),_0x37ef22[_0x32a2('0x26')],'pTalking:\x20',_0x37ef22[_0x32a2('0x2a')]);delete this[_0x32a2('0x15')][_0x2835fd[_0x32a2('0xaa')]];break;case _0x32a2('0xc1'):_0x37ef22[_0x32a2('0x39')]+=0x1;_0x3d3fd[_0x32a2('0xc2')]+=0x1;_0x3d3fd['countglobal']=ut[_0x32a2('0xa1')](_0x3d3fd);ut['logCustomer'](_0x3d3fd,0x5,_0x32a2('0xc3'));rpcDb[_0x32a2('0xba')](_0x3d3fd,_0x32a2('0xc4'));if(ut[_0x32a2('0xa1')](_0x3d3fd)>=_0x37ef22[_0x32a2('0xc5')]){_0x5a9f3e=ut[_0x32a2('0xc6')](_0x3d3fd,0xf,_0x32a2('0xa5'));rpcDb[_0x32a2('0x94')](_0x5a9f3e,_0x32a2('0xc7'));}else{if(_0x3d3fd[_0x32a2('0xc2')]>=_0x37ef22[_0x32a2('0xc8')]){rpcDb[_0x32a2('0x94')](_0x3d3fd,_0x32a2('0xc4'));}else{rpcDb['rescheduleContact'](ut[_0x32a2('0xc9')](_0x3d3fd,_0x32a2('0xc2'),_0x37ef22[_0x32a2('0xca')]),_0x3d3fd[_0x32a2('0xcb')],_0x3d3fd['activeContact']);}}break;case _0x32a2('0xcc'):_0x37ef22[_0x32a2('0x3e')]+=0x1;_0x3d3fd[_0x32a2('0xcd')]+=0x1;_0x3d3fd[_0x32a2('0xa0')]=ut[_0x32a2('0xa1')](_0x3d3fd);ut[_0x32a2('0xa2')](_0x3d3fd,0x3,_0x32a2('0xce'));rpcDb[_0x32a2('0xba')](_0x3d3fd,_0x32a2('0xcf'));if(ut[_0x32a2('0xa1')](_0x3d3fd)>=_0x37ef22[_0x32a2('0xc5')]){_0x5a9f3e=ut['cloneAction'](_0x3d3fd,0xf,_0x32a2('0xa5'));rpcDb[_0x32a2('0x94')](_0x5a9f3e,_0x32a2('0xd0'));}else{if(_0x3d3fd[_0x32a2('0xcd')]>=_0x37ef22[_0x32a2('0xd1')]){rpcDb[_0x32a2('0x94')](_0x3d3fd,_0x32a2('0xcf'));}else{rpcDb['rescheduleContact'](ut[_0x32a2('0xc9')](_0x3d3fd,_0x32a2('0xcd'),_0x37ef22['dialNoAnswerRetryFrequency']),_0x3d3fd[_0x32a2('0xcb')],_0x3d3fd[_0x32a2('0xd2')]);}}break;case _0x32a2('0xd3'):_0x37ef22['outboundCongestionCallsDay']+=0x1;_0x3d3fd[_0x32a2('0xd4')]+=0x1;_0x3d3fd[_0x32a2('0xa0')]=ut[_0x32a2('0xa1')](_0x3d3fd);ut['logCustomer'](_0x3d3fd,0x8,_0x32a2('0xd5'));rpcDb['createCustomerHistory'](_0x3d3fd,'[callProgressDetectingCustomer][logCongestion]');if(ut[_0x32a2('0xa1')](_0x3d3fd)>=_0x37ef22[_0x32a2('0xc5')]){_0x5a9f3e=ut['cloneAction'](_0x3d3fd,0xf,_0x32a2('0xa5'));rpcDb[_0x32a2('0x94')](_0x5a9f3e,'[callProgressDetectingCustomer][logCongestionGlobal]');}else{if(_0x3d3fd[_0x32a2('0xd4')]>=_0x37ef22['dialCongestionMaxRetry']){rpcDb['createCustomerFinal'](_0x3d3fd,'[callProgressDetectingCustomer][logCongestion]');}else{rpcDb[_0x32a2('0xa8')](ut['scheduledAt'](_0x3d3fd,_0x32a2('0xd4'),_0x37ef22[_0x32a2('0xca')]),_0x3d3fd[_0x32a2('0xcb')],_0x3d3fd[_0x32a2('0xd2')]);}}break;case _0x32a2('0xd6'):_0x37ef22['outboundRejectCallsDay']+=0x1;_0x3d3fd[_0x32a2('0xd7')]+=0x1;_0x3d3fd[_0x32a2('0xa0')]=ut['totalGlobal'](_0x3d3fd);ut['logCustomer'](_0x3d3fd,0x14,'AgentReject');rpcDb[_0x32a2('0xba')](_0x3d3fd,_0x32a2('0xd8'));if(ut[_0x32a2('0xa1')](_0x3d3fd)>=_0x37ef22[_0x32a2('0xc5')]){_0x5a9f3e=ut[_0x32a2('0xc6')](_0x3d3fd,0x14,_0x32a2('0xd9'));rpcDb[_0x32a2('0x94')](_0x5a9f3e,_0x32a2('0xda'));}else{if(_0x3d3fd[_0x32a2('0xd7')]>=_0x37ef22['dialAgentRejectMaxRetry']){rpcDb[_0x32a2('0x94')](_0x3d3fd,'[callProgressDetectingCustomer][logAgentReject]');}else{rpcDb['rescheduleContact'](ut[_0x32a2('0xc9')](_0x3d3fd,'countagentrejectretry',_0x37ef22[_0x32a2('0xdb')]),_0x3d3fd[_0x32a2('0xcb')],_0x3d3fd['activeContact']);}}break;case _0x32a2('0xdc'):_0x37ef22[_0x32a2('0xdd')]+=0x1;_0x3d3fd['countabandonedretry']+=0x1;_0x3d3fd['countglobal']=ut['totalGlobal'](_0x3d3fd);ut[_0x32a2('0xa2')](_0x3d3fd,0xb,_0x32a2('0xde'));rpcDb[_0x32a2('0xba')](_0x3d3fd,_0x32a2('0xdf'));if(ut[_0x32a2('0xa1')](_0x3d3fd)>=_0x37ef22[_0x32a2('0xc5')]){_0x5a9f3e=ut['cloneAction'](_0x3d3fd,0xf,'Global');rpcDb[_0x32a2('0x94')](_0x5a9f3e,_0x32a2('0xdf'));}else{if(_0x3d3fd[_0x32a2('0xe0')]>=_0x37ef22[_0x32a2('0xe1')]){rpcDb['createCustomerFinal'](_0x3d3fd,_0x32a2('0xdf'));}else{rpcDb[_0x32a2('0xa8')](ut[_0x32a2('0xc9')](_0x3d3fd,'countabandonedretry',_0x37ef22[_0x32a2('0xe2')]),_0x3d3fd[_0x32a2('0xcb')],_0x3d3fd[_0x32a2('0xd2')]);}}break;default:if(_0x3d3fd[_0x32a2('0x7d')]){ut[_0x32a2('0xb7')](_0x37ef22,_0x32a2('0xe3'));ut[_0x32a2('0x7f')](_0x32a2('0xe4')+_0x37ef22[_0x32a2('0x26')],_0x2835fd);}_0x37ef22['outboundUnknownCallsDay']+=0x1;_0x3d3fd['countglobal']=ut[_0x32a2('0xa1')](_0x3d3fd);ut[_0x32a2('0xa2')](_0x3d3fd,0xc,_0x2835fd[_0x32a2('0xe5')]||_0x2835fd[_0x32a2('0xe6')]);rpcDb[_0x32a2('0xba')](_0x3d3fd,_0x32a2('0xe7'));if(ut[_0x32a2('0xa1')](_0x3d3fd)>=_0x37ef22['dialGlobalMaxRetry']){_0x5a9f3e=ut[_0x32a2('0xc6')](_0x3d3fd,0xf,_0x32a2('0xa5'));rpcDb[_0x32a2('0x94')](_0x5a9f3e,_0x32a2('0xe8'));}else{rpcDb[_0x32a2('0x94')](_0x3d3fd,_0x32a2('0xe8'));}delete this[_0x32a2('0x15')][_0x2835fd['linkedid']];}if(!(_0x3d3fd[_0x32a2('0x7d')]&&_0x253cf5==='16')){ut[_0x32a2('0x7c')](_0x37ef22,_0x32a2('0xe9'));logger[_0x32a2('0x5b')]('[originated][decrement][callProgressDetectingCustomer]',_0x3d3fd[_0x32a2('0xaf')],_0x32a2('0xc0'),_0x37ef22['name'],_0x32a2('0x71'),_0x37ef22[_0x32a2('0x4e')]);}if(_0x253cf5!=='ANSWER'){delete this[_0x32a2('0x15')][_0x2835fd[_0x32a2('0xaa')]];delete this[_0x32a2('0x15')][_0x2835fd[_0x32a2('0xea')]];}}};Preview[_0x32a2('0xe')][_0x32a2('0xeb')]=function(_0x1ff139,_0x55fe18,_0x2edf8c){if(_['isUndefined'](_0x55fe18)&&_0x32a2('0xec')!==typeof _0x55fe18){return;}if(_['isUndefined'](_0x2edf8c)&&_0x32a2('0xec')!==typeof _0x2edf8c){return;}switch(_0x2edf8c[_0x32a2('0xed')]){case'0':ut['logAgent'](_0x1ff139,0x0,_0x32a2('0xa3'));rpcDb[_0x32a2('0xee')](_0x1ff139,'[callProgressDetectingAgent][logNoSuch]');break;case'3':ut['logAgent'](_0x1ff139,0x3,_0x32a2('0xce'));rpcDb[_0x32a2('0xee')](_0x1ff139,_0x32a2('0xef'));break;case'5':ut['logAgent'](_0x1ff139,0x5,_0x32a2('0xc3'));rpcDb['createAgentHistory'](_0x1ff139,_0x32a2('0xf0'));break;case'8':ut[_0x32a2('0xf1')](_0x1ff139,0x8,'Congestion');rpcDb['createAgentHistory'](_0x1ff139,'[callProgressDetectingAgent][logCongestion]');break;case'22':ut[_0x32a2('0xf1')](_0x1ff139,0x16,_0x32a2('0xf2'));rpcDb[_0x32a2('0xee')](_0x1ff139,'[callProgressDetectingAgent][logAnswerAGI]');break;default:ut[_0x32a2('0xf1')](_0x1ff139,0xc,_0x2edf8c[_0x32a2('0xed')]);rpcDb['createAgentHistory'](_0x1ff139,'[callProgressDetectingAgent][logCongestion]');}ut[_0x32a2('0x7c')](_0x55fe18,'[callProgressDetectingAgent]');logger['info'](_0x32a2('0xf3'),_0x1ff139['uniqueid'],'\x20Queue',_0x55fe18[_0x32a2('0x26')],_0x32a2('0x71'),_0x55fe18[_0x32a2('0x4e')]);delete this[_0x32a2('0x15')][_0x1ff139[_0x32a2('0xaf')]];};Preview['prototype'][_0x32a2('0xf4')]=function(_0x57a477,_0x1f43ae,_0x29bc93,_0x220546,_0x128c39){var _0x367c12=this;return new BPromise(function(_0x49296a,_0x2943bc){if(_[_0x32a2('0x6e')](_0x1f43ae)||_[_0x32a2('0x6e')](_0x1f43ae[_0x32a2('0xf5')])||_[_0x32a2('0x6e')](_0x1f43ae[_0x32a2('0xf5')][_0x32a2('0xf6')])||_[_0x32a2('0x6e')](_0x1f43ae[_0x32a2('0x75')])){_0x2943bc(ut[_0x32a2('0x4d')](_0x32a2('0xf7'),_0x220546,_0x128c39));return;}var _0x27f7de=uuid['v4']();var _0x1dcad2=_0x367c12[_0x32a2('0x13')][_0x1f43ae[_0x32a2('0xf8')][_0x32a2('0x26')]];var _0x3d8005=_0x29bc93?_0x367c12[_0x32a2('0x16')][_0x29bc93]['id']:undefined;_0x367c12[_0x32a2('0x15')][_0x27f7de]=new Action(_0x1f43ae,_0x1dcad2,_0x27f7de,_0x29bc93,_0x3d8005);var _0x1dcbe9=_0x367c12[_0x32a2('0x15')][_0x27f7de];_0x1dcbe9['unlockAgent']=_0x220546;_0x1dcbe9[_0x32a2('0xd2')]=_0x128c39;_0x1dcbe9['lookAgent']=_0x29bc93;if(_[_0x32a2('0xf9')](_0x57a477)){_0x367c12[_0x32a2('0xfa')](_0x1dcbe9,_0x1dcad2,_0x1f43ae,_0x29bc93)[_0x32a2('0x85')](function(_0x346eac){logger[_0x32a2('0x5b')](_0x32a2('0xfb'),_0x32a2('0xfc')+_0x1dcbe9[_0x32a2('0x70')]+_0x32a2('0xfd')+_0x1dcbe9[_0x32a2('0xfe')],JSON['stringify'](_0x346eac));ami[_0x32a2('0x23')](_0x32a2('0xff'),ut[_0x32a2('0xb1')](_0x1dcbe9,'called'));_0x49296a(ut['message'](_0x32a2('0x100')));})['catch'](function(_0x4dcd2b){ut['logger'](_0x32a2('0x101'),_0x4dcd2b);_0x2943bc(ut['message'](_0x32a2('0x102'),_0x220546,_0x128c39));});}else{_0x1dcad2[_0x32a2('0x38')]+=0x1;ut['logBlacklist'](_0x1dcbe9);rpcDb[_0x32a2('0x103')](_0x1dcbe9,_0x32a2('0x104'));delete _0x367c12[_0x32a2('0x15')][_0x27f7de];_0x2943bc(ut[_0x32a2('0x4d')](_0x32a2('0x105'),_0x220546,_0x128c39));}});};Preview[_0x32a2('0xe')][_0x32a2('0x9a')]=function(_0x576822){return!_[_0x32a2('0x6e')](_0x576822)&&!_[_0x32a2('0x6e')](_0x576822['name'])&&!_[_0x32a2('0x6e')](_0x576822[_0x32a2('0x55')])&&_0x576822[_0x32a2('0x55')]&&!_[_0x32a2('0x6e')](this[_0x32a2('0x14')][util[_0x32a2('0x58')](_0x32a2('0x106'),_0x576822[_0x32a2('0x26')])])&&!_[_0x32a2('0x6e')](this['trunks'][util['format'](_0x32a2('0x106'),_0x576822[_0x32a2('0x26')])][_0x32a2('0x78')])&&(this[_0x32a2('0x14')][util[_0x32a2('0x58')]('SIP/%s',_0x576822[_0x32a2('0x26')])][_0x32a2('0x78')]==='reachable'||this[_0x32a2('0x14')][util['format']('SIP/%s',_0x576822[_0x32a2('0x26')])]['status']==='unmonitored');};Preview[_0x32a2('0xe')]['run']=function(_0x91355,_0x2c9e22){var _0xe0bc6a=this;return new BPromise(function(_0x528d1d,_0x6c389){_0xe0bc6a[_0x32a2('0x107')](_0x91355,_0x2c9e22)['then'](function(_0x41f389){_0x528d1d(_[_0x32a2('0x72')](_0x41f389,['message']));})['catch'](function(_0x29b254){if(_0x29b254[_0x32a2('0x108')]){rpcDb['unlockContact'](_0x91355);}if(_0x29b254[_0x32a2('0x55')]){rpcDb[_0x32a2('0x8c')](_0x91355);}_0x6c389(_[_0x32a2('0x72')](_0x29b254,[_0x32a2('0x4d')]));});});};Preview[_0x32a2('0xe')]['execRun']=function(_0x41dc1c,_0x16f299){var _0x50159e=this;return new BPromise(function(_0x3134ab,_0xa27096){var _0x1d496c,_0x384a47;rpcDb[_0x32a2('0x109')](_0x41dc1c)['then'](function(_0x5401a7){if(!_[_0x32a2('0x6e')](_0x5401a7[0x0])){_0x384a47=_0x5401a7[0x0][_0x32a2('0x10a')]?![]:!![];_0x1d496c=_0x5401a7[0x0][_0x32a2('0x10a')]?!![]:![];_0x1d496c=_0x16f299?!![]:_0x1d496c;}var _0x6193c1=_0x50159e[_0x32a2('0x10b')](_0x5401a7);if(_0x6193c1['isValid']){rpcDb['checkIsBlackList'](_[_0x32a2('0x72')](_0x5401a7[0x0],[_0x32a2('0x75'),_0x32a2('0x10c')]))['then'](function(_0x10d3d8){_0x50159e['checkInBlack'](_0x10d3d8,_0x5401a7[0x0],_0x16f299,_0x384a47,_0x1d496c)[_0x32a2('0x85')](function(_0x46f8da){_0x3134ab(_0x46f8da);})['catch'](function(_0x390aca){_0xa27096(_0x390aca);});})['catch'](function(_0x215423){ut[_0x32a2('0x64')](_0x32a2('0x10d'),_0x215423);_0xa27096(ut['message'](_0x32a2('0x10e'),_0x384a47,_0x1d496c));});}else{_0xa27096(ut[_0x32a2('0x4d')](_0x6193c1[_0x32a2('0x4d')],_0x384a47,_0x1d496c));}})[_0x32a2('0x7a')](function(_0x27ff4f){ut[_0x32a2('0x64')](_0x32a2('0x10f'),_0x27ff4f);_0xa27096(ut[_0x32a2('0x4d')](_0x32a2('0x10e'),![],!![]));});});};Preview['prototype']['validateContact']=function(_0x5139b9){if(_[_0x32a2('0x6e')](_0x5139b9)||_[_0x32a2('0xf9')](_0x5139b9)||!_['isNil'](_0x5139b9[0x0][_0x32a2('0x89')])&&_[_0x32a2('0x6e')](_0x5139b9[0x0][_0x32a2('0x89')]['name'])){ut[_0x32a2('0x64')]('[Preview][validateContact][Empty\x20Contact]',_0x5139b9);return{'isValid':![],'message':'Empty\x20Contact'};}var _0xdc4739=this[_0x32a2('0x13')][_0x5139b9[0x0][_0x32a2('0xf8')][_0x32a2('0x26')]];_0xdc4739[_0x32a2('0x4d')]=_0x32a2('0x9d');if(_['isNil'](_0xdc4739)){ut[_0x32a2('0x64')](_0x32a2('0x110'),_0xdc4739);return{'isValid':![],'message':_0x32a2('0x111')};}if(!this['isTrunkReachable'](_0xdc4739[_0x32a2('0x54')])){ut[_0x32a2('0x64')](_0x32a2('0x112'),_0x32a2('0x113')+_0xdc4739[_0x32a2('0x26')]+_0x32a2('0x114'));if(!this['isTrunkReachable'](_0xdc4739[_0x32a2('0x9b')])){ut[_0x32a2('0x64')](_0x32a2('0x112'),_0xdc4739[_0x32a2('0x26')]+'\x20Trunk\x20Backup\x20is\x20not\x20active');return{'isValid':![],'message':_0x32a2('0x115')};}}if(!ut[_0x32a2('0x99')](_0xdc4739['dialActive'])){ut[_0x32a2('0x64')](_0x32a2('0x116'),_0xdc4739[_0x32a2('0x26')]+_0x32a2('0x117'));return{'isValid':![],'message':_0x32a2('0x113')+_0xdc4739[_0x32a2('0x26')]+_0x32a2('0x117')};}return{'isValid':!![],'message':_0x32a2('0x118')};};Preview[_0x32a2('0xe')][_0x32a2('0xfa')]=function(_0x2cd8cc,_0x4fd5c9,_0x4bdcd4,_0x345566){var _0x283246=this;return new BPromise(function(_0x449f38,_0x10049b){var _0x8f5c9c=_0x2cd8cc[_0x32a2('0xaf')];var _0x8361f7=_0x283246[_0x32a2('0x9a')](_0x4fd5c9[_0x32a2('0x54')])?util[_0x32a2('0x58')](_0x32a2('0x119'),_0x4fd5c9[_0x32a2('0x54')][_0x32a2('0x26')],_[_0x32a2('0x6e')](_0x4fd5c9[_0x32a2('0x36')])?'':_0x4fd5c9[_0x32a2('0x36')][_0x32a2('0x11a')]()||'',_0x4fd5c9['dialCutDigit']>0x0?_0x4bdcd4[_0x32a2('0xf5')]['phone'][_0x32a2('0x11b')](_0x4fd5c9[_0x32a2('0x11c')]):_0x4bdcd4[_0x32a2('0xf5')][_0x32a2('0xf6')]):util[_0x32a2('0x58')](_0x32a2('0x119'),_[_0x32a2('0x6e')](_0x4fd5c9[_0x32a2('0x9b')])?_0x4fd5c9[_0x32a2('0x54')]['name']:_0x4fd5c9[_0x32a2('0x9b')][_0x32a2('0x26')],_[_0x32a2('0x6e')](_0x4fd5c9[_0x32a2('0x36')])?'':_0x4fd5c9[_0x32a2('0x36')][_0x32a2('0x11a')]()||'',_0x4fd5c9['dialCutDigit']>0x0?_0x4bdcd4[_0x32a2('0xf5')][_0x32a2('0xf6')][_0x32a2('0x11b')](_0x4fd5c9[_0x32a2('0x11c')]):_0x4bdcd4[_0x32a2('0xf5')][_0x32a2('0xf6')]);var _0x17f6b3=_0x283246[_0x32a2('0x9a')](_0x4fd5c9[_0x32a2('0x54')])?ut[_0x32a2('0x11d')](_0x4fd5c9[_0x32a2('0x54')]['callerid'],_0x4fd5c9[_0x32a2('0x11e')],_0x4fd5c9[_0x32a2('0x11f')]>0x0?ut[_0x32a2('0x120')](_0x4fd5c9[_0x32a2('0x121')],_0x4fd5c9['dialRandomLastDigitCallerIdNumber']):_0x4fd5c9[_0x32a2('0x121')]):ut[_0x32a2('0x11d')](_[_0x32a2('0x6e')](_0x4fd5c9[_0x32a2('0x9b')])?_0x4fd5c9[_0x32a2('0x54')]['callerid']:_0x4fd5c9[_0x32a2('0x9b')]['callerid'],_0x4fd5c9[_0x32a2('0x11e')],_0x4fd5c9[_0x32a2('0x11f')]>0x0?ut[_0x32a2('0x120')](_0x4fd5c9[_0x32a2('0x121')],_0x4fd5c9[_0x32a2('0x11f')]):_0x4fd5c9[_0x32a2('0x121')]);if(_0x17f6b3){_0x2cd8cc['originatecalleridname']=ut['extractCalleridName'](_0x17f6b3);_0x2cd8cc[_0x32a2('0x122')]=ut[_0x32a2('0x123')](_0x17f6b3);}var _0x3f8479=ut['addVariables'](_0x4fd5c9,_0x4bdcd4,_0x8361f7,_0x17f6b3,_0x8f5c9c,_0x2cd8cc);_[_0x32a2('0x124')](_0x2cd8cc,ut[_0x32a2('0x125')](_0x3f8479));_0x2cd8cc[_0x32a2('0x126')]=moment()[_0x32a2('0x58')](_0x32a2('0x8d'));ami[_0x32a2('0x77')](ut[_0x32a2('0x127')](_0x2cd8cc,_0x4fd5c9,_0x3f8479,_0x2cd8cc[_0x32a2('0xd2')],_0x345566))['then'](function(_0xc76869){_0x4fd5c9[_0x32a2('0x4e')]+=0x1;logger['info'](_0x32a2('0x128'),_0x8f5c9c,_0x32a2('0xc0'),_0x4fd5c9[_0x32a2('0x26')],'originated:\x20',_0x4fd5c9[_0x32a2('0x4e')]);_0x449f38(_0xc76869);})[_0x32a2('0x7a')](function(_0x10cbc0){ut[_0x32a2('0xf1')](_0x2cd8cc,0xe,_0x32a2('0x129'));rpcDb['createAgentHistory'](_0x2cd8cc,_0x32a2('0x12a'));_0x10049b(_0x10cbc0);});});};Preview[_0x32a2('0xe')][_0x32a2('0x1c')]=function(_0x153442){if(this[_0x32a2('0x15')][_0x153442[_0x32a2('0xaa')]]){this['actions'][_0x153442[_0x32a2('0xaa')]][_0x32a2('0x79')]=_0x153442[_0x32a2('0x79')];}};Preview['prototype'][_0x32a2('0x17')]=function(_0x232a0c){var _0x93ebe8=this;var _0x187849=this[_0x32a2('0x15')][_0x232a0c[_0x32a2('0x12b')]];if(_0x187849){if(_0x187849[_0x32a2('0x12c')]&&this['agents'][_0x187849[_0x32a2('0x12c')]]){ut['logLookAgent'](_0x187849,this['agents'][_0x187849[_0x32a2('0x12c')]][_0x32a2('0x26')],this[_0x32a2('0x16')][_0x187849[_0x32a2('0x12c')]]['id']);}var _0x33d34b=_[_0x32a2('0x12d')](_0x187849);_0x33d34b[_0x32a2('0xac')]=moment()[_0x32a2('0x58')]('YYYY-MM-DD\x20HH:mm:ss');var _0x32ff34=_0x93ebe8[_0x32a2('0x13')][_0x187849[_0x32a2('0x70')]];if(ut[_0x32a2('0x12e')](_0x232a0c[_0x32a2('0x12f')])){if(_0x187849[_0x32a2('0xcb')]){rpcDb[_0x32a2('0x130')](_0x187849[_0x32a2('0xfe')]);}if(_0x187849[_0x32a2('0xd2')]){rpcDb[_0x32a2('0x8c')](_0x187849['idContact']);}ami[_0x32a2('0x23')](_0x32a2('0x131'),ut[_0x32a2('0xb1')](_0x187849,_0x32a2('0x132')));this[_0x32a2('0xeb')](_0x33d34b,_0x32ff34,_0x232a0c);}else{_0x187849[_0x32a2('0x126')]=moment()[_0x32a2('0x58')](_0x32a2('0x8d'));ut['logAgent'](_0x33d34b,0x4,_0x32a2('0xb9'));rpcDb[_0x32a2('0xee')](_0x33d34b,_0x32a2('0x133'));}}};Preview['prototype'][_0x32a2('0x19')]=function(_0x4bb9b9){var _0x2d458c=this;var _0x657263=this[_0x32a2('0x15')][_0x4bb9b9[_0x32a2('0xaa')]];var _0x38f82d;if(_0x657263){_0x38f82d=this[_0x32a2('0x13')][_0x657263[_0x32a2('0x70')]];logger['info'](_0x32a2('0x134'),_0x4bb9b9[_0x32a2('0xaa')],_0x32a2('0xc0'),_0x38f82d[_0x32a2('0x26')],'pTalking:\x20',_0x38f82d[_0x32a2('0x2a')]);}if(this[_0x32a2('0x15')][_0x4bb9b9[_0x32a2('0xaa')]]&&_0x4bb9b9[_0x32a2('0xaa')]!==_0x4bb9b9[_0x32a2('0xaf')]){if(_0x4bb9b9['cause']==='16'&&this['actions'][_0x4bb9b9[_0x32a2('0xaa')]]['dialAnswer']){this[_0x32a2('0x9e')](_0x4bb9b9,_0x4bb9b9[_0x32a2('0xaa')],_0x4bb9b9['cause']);}else if(this[_0x32a2('0x15')][_0x4bb9b9[_0x32a2('0xaa')]][_0x32a2('0x7d')]){logger[_0x32a2('0x5b')](_0x32a2('0x135'),_0x4bb9b9[_0x32a2('0xaa')],_0x4bb9b9[_0x32a2('0x136')],'\x20Queue',_0x38f82d['name'],'pTalking:\x20',_0x38f82d[_0x32a2('0x2a')]);this[_0x32a2('0x9e')](_0x4bb9b9,_0x4bb9b9[_0x32a2('0xaa')],_0x4bb9b9[_0x32a2('0x136')]);}}else if(_0x657263&&_['isNil'](_0x657263[_0x32a2('0x137')])&&_0x38f82d[_0x32a2('0x138')]&&_0x4bb9b9[_0x32a2('0xaa')]===_0x4bb9b9[_0x32a2('0xaf')]&&_['isNil'](_0x4bb9b9[_0x32a2('0xed')])&&_0x4bb9b9[_0x32a2('0x136')]==='16'&&_0x4bb9b9['channelstate']==='6'&&_[_0x32a2('0x139')](_0x657263[_0x32a2('0x13a')])){if(_0x657263[_0x32a2('0xcb')]){rpcDb[_0x32a2('0x130')](_0x657263['idContact']);}if(_0x657263[_0x32a2('0xd2')]){rpcDb[_0x32a2('0x8c')](_0x657263[_0x32a2('0xfe')]);}_0x4bb9b9[_0x32a2('0xed')]='22';this[_0x32a2('0xeb')](_0x657263,_0x38f82d,_0x4bb9b9);}else if(_0x657263&&_0x657263[_0x32a2('0x13a')]){if(_0x4bb9b9['cause']==='16'&&this['actions'][_0x4bb9b9['linkedid']][_0x32a2('0x7d')]){logger[_0x32a2('0x5b')]('[syncHangup][talking][transfer]',_0x4bb9b9[_0x32a2('0xaa')],_0x4bb9b9[_0x32a2('0x136')],_0x32a2('0xc0'),_0x38f82d['name'],'pTalking:\x20',_0x38f82d[_0x32a2('0x2a')]);this[_0x32a2('0x9e')](_0x4bb9b9,_0x4bb9b9['linkedid'],_0x4bb9b9['cause']);}else if(this['actions'][_0x4bb9b9[_0x32a2('0xaa')]][_0x32a2('0x7d')]){logger[_0x32a2('0x5b')](_0x32a2('0x135'),_0x4bb9b9[_0x32a2('0xaa')],_0x4bb9b9['cause'],'\x20Queue',_0x38f82d[_0x32a2('0x26')],_0x32a2('0x13b'),_0x38f82d[_0x32a2('0x2a')]);this['callProgressDetectingCustomer'](_0x4bb9b9,_0x4bb9b9[_0x32a2('0xaa')],_0x4bb9b9[_0x32a2('0x136')]);}}};Preview['prototype'][_0x32a2('0x1b')]=function(_0x47f719){if(this[_0x32a2('0x15')][_0x47f719[_0x32a2('0xea')]]&&_0x47f719[_0x32a2('0xea')]!==_0x47f719[_0x32a2('0x13c')]){this['callProgressDetectingCustomer'](_0x47f719,_0x47f719[_0x32a2('0xea')],_0x47f719[_0x32a2('0xe6')]);}};Preview[_0x32a2('0xe')][_0x32a2('0x1a')]=function(_0x2a2d4c){if(this[_0x32a2('0x15')][_0x2a2d4c[_0x32a2('0xaa')]]&&_0x2a2d4c[_0x32a2('0xaa')]!==_0x2a2d4c['uniqueid']&&!this[_0x32a2('0x15')][_0x2a2d4c[_0x32a2('0xaa')]][_0x32a2('0x7d')]){if(_0x2a2d4c['cause']==='1'){this['callProgressDetectingCustomer'](_0x2a2d4c,_0x2a2d4c[_0x32a2('0xaa')],_0x2a2d4c[_0x32a2('0x136')]);}}};Preview[_0x32a2('0xe')]['addVariable']=function(_0x2ab271,_0x4f9d69,_0x37974d){if(this[_0x32a2('0x15')][_0x2ab271]){if(_[_0x32a2('0x6e')](this[_0x32a2('0x15')][_0x2ab271][_0x32a2('0x13d')])){this['actions'][_0x2ab271]['variables']={};}this['actions'][_0x2ab271]['variables'][_0x4f9d69]=_0x37974d;}};Preview['prototype'][_0x32a2('0x1d')]=function(_0x3eb4dd){try{if(!_[_0x32a2('0x6e')](_0x3eb4dd)){if(ut[_0x32a2('0x13e')](_[_0x32a2('0x13f')](_0x3eb4dd[_0x32a2('0x140')])[0x0])){this[_0x32a2('0x141')](_0x3eb4dd[_0x32a2('0xaf')],_['keys'](_0x3eb4dd['variable'])[0x0],_0x3eb4dd[_0x32a2('0x142')]);}}}catch(_0x209d3d){logger[_0x32a2('0x143')](_0x32a2('0x144'),util[_0x32a2('0x145')](_0x209d3d,{'showHidden':![],'depth':null}));}};Preview[_0x32a2('0xe')][_0x32a2('0x1f')]=function(_0x3b941d){if(_0x3b941d){if(this[_0x32a2('0x15')][_0x3b941d['transfertargetlinkedid']]){this[_0x32a2('0x15')][_0x3b941d['transfertargetlinkedid']]['transfer']=!![];}}};Preview[_0x32a2('0xe')]['syncBlindTransfer']=function(_0xfa1bd7){if(_0xfa1bd7){if(this[_0x32a2('0x15')][_0xfa1bd7[_0x32a2('0x146')]]){this[_0x32a2('0x15')][_0xfa1bd7[_0x32a2('0x146')]][_0x32a2('0x13a')]=!![];}}};module[_0x32a2('0x147')]=Preview; \ No newline at end of file diff --git a/server/services/ami/preview/rpcDb.js b/server/services/ami/preview/rpcDb.js index 09911a0..4ae4f31 100644 --- a/server/services/ami/preview/rpcDb.js +++ b/server/services/ami/preview/rpcDb.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xcca7=['calleridname','queue','queuecallerjoinAt','answertime','queuecallercomplete','queuecallercompleteAt','endtime','membername','from-sip','exten','xcally-motion-preview','holdtime','lastAssignedTo','queuecallerexitreason','create','getContactRecallMe','rescheduleContactInQueue','[rescheduleContactInQueue]\x20','util','bluebird','../../../config/logger','preview','../rpc/cmHopperFinal','../rpc/cmHopperBlack','../rpc/voiceQueueRt','../rpc/agentReportPreview','../rpc/voiceQueueReport','resolve','then','createHistory','catch','[createHistory]\x20','moveContactManagedDialer','[moveContactManagedDialer]\x20','checkIsBlackList','[checkIsBlackList]\x20','getContactPreview','createAgentHistory','createCustomerFinal','rescheduleContact','UserId','active','[rescheduleContact]\x20','countReScheduled','unlockContact','[unlockContact]\x20','disableContact','crateCustomerReportQueue','type','uniqueid','calleridnum'];(function(_0x42e314,_0x1858a2){var _0xb35655=function(_0x454d15){while(--_0x454d15){_0x42e314['push'](_0x42e314['shift']());}};_0xb35655(++_0x1858a2);}(_0xcca7,0x1aa));var _0x7cca=function(_0x558565,_0x4262ea){_0x558565=_0x558565-0x0;var _0x5320b9=_0xcca7[_0x558565];return _0x5320b9;};'use strict';var util=require(_0x7cca('0x0'));var BPromise=require(_0x7cca('0x1'));var logger=require(_0x7cca('0x2'))(_0x7cca('0x3'));var _=require('lodash');var cmHopper=require('../rpc/cmHopper');var cmHopperFinal=require(_0x7cca('0x4'));var cmHopperHistory=require('../rpc/cmHopperHistory');var cmHopperBlack=require(_0x7cca('0x5'));var voiceQueueRt=require(_0x7cca('0x6'));var agentReportPreview=require(_0x7cca('0x7'));var voiceQueueReport=require(_0x7cca('0x8'));function loggerCatch(_0x1c6c95){return function(_0xe70805){logger['error'](_0x1c6c95,util['inspect'](_0xe70805,{'showHidden':![],'depth':null}));};}function create(_0x937fad){return BPromise[_0x7cca('0x9')]()[_0x7cca('0xa')](cmHopperHistory[_0x7cca('0xb')](_0x937fad))[_0x7cca('0xc')](loggerCatch(_0x7cca('0xd')));}function createAgent(_0x20ffa9){return BPromise[_0x7cca('0x9')]()[_0x7cca('0xa')](agentReportPreview[_0x7cca('0xb')](_0x20ffa9))['catch'](loggerCatch(_0x7cca('0xd')));}function moveContact(_0x464911){return BPromise[_0x7cca('0x9')]()[_0x7cca('0xa')](cmHopper[_0x7cca('0xe')](_0x464911,!![]))['catch'](loggerCatch(_0x7cca('0xf')));}exports[_0x7cca('0x10')]=function(_0x2854c7){return BPromise['resolve']()['then'](cmHopperBlack[_0x7cca('0x10')](_0x2854c7))[_0x7cca('0xc')](loggerCatch(_0x7cca('0x11')));};exports[_0x7cca('0x12')]=function(_0x444465){return BPromise[_0x7cca('0x9')]()[_0x7cca('0xa')](cmHopper['getContactPreview'](_0x444465))[_0x7cca('0xc')](loggerCatch('[getContactPreview]\x20'));};exports['createHistory']=function(_0x4eb7fa,_0x33a466){create(_0x4eb7fa)[_0x7cca('0xc')](loggerCatch(_0x33a466));moveContact(_0x4eb7fa)[_0x7cca('0xc')](loggerCatch(_0x33a466));};exports[_0x7cca('0x13')]=function(_0x44294b,_0x5e7c42){createAgent(_0x44294b)[_0x7cca('0xc')](loggerCatch(_0x5e7c42));};exports['createCustomerHistory']=function(_0x5d47f8,_0x5d7ac6){create(_0x5d47f8)[_0x7cca('0xc')](loggerCatch(_0x5d7ac6));};exports[_0x7cca('0x14')]=function(_0x2beb6c,_0x1a20be){moveContact(_0x2beb6c)[_0x7cca('0xc')](loggerCatch(_0x1a20be));};exports[_0x7cca('0x15')]=function(_0x2e023c,_0x1e183f,_0x4d7804){if(_0x1e183f){_0x2e023c[_0x7cca('0x16')]=null;}if(_0x4d7804){_0x2e023c[_0x7cca('0x17')]=![];}return BPromise[_0x7cca('0x9')]()[_0x7cca('0xa')](cmHopper['rescheduleContact'](_0x2e023c))[_0x7cca('0xc')](loggerCatch(_0x7cca('0x18')));};exports[_0x7cca('0x19')]=function(_0x119d76){return BPromise[_0x7cca('0x9')]()[_0x7cca('0xa')](cmHopper[_0x7cca('0x19')](_0x119d76))[_0x7cca('0xc')](loggerCatch('[countReScheduled]\x20'));};exports[_0x7cca('0x1a')]=function(_0x1dd3b3){return BPromise[_0x7cca('0x9')]()[_0x7cca('0xa')](cmHopper[_0x7cca('0x1a')]({'UserId':null},_0x1dd3b3,0x1))[_0x7cca('0xc')](loggerCatch(_0x7cca('0x1b')));};exports[_0x7cca('0x1c')]=function(_0x583846){return BPromise[_0x7cca('0x9')]()['then'](cmHopper[_0x7cca('0x1a')]({'active':![]},_0x583846,0x1))[_0x7cca('0xc')](loggerCatch('[activeContact]\x20'));};exports[_0x7cca('0x1d')]=function(_0x3d91b1){var _0x5533fb={};_0x5533fb[_0x7cca('0x1e')]=_0x3d91b1[_0x7cca('0x1e')];_0x5533fb[_0x7cca('0x1f')]=_0x3d91b1['uniqueid'];_0x5533fb['calleridnum']=_0x3d91b1[_0x7cca('0x20')];_0x5533fb[_0x7cca('0x21')]=_0x3d91b1[_0x7cca('0x21')];_0x5533fb[_0x7cca('0x22')]=_0x3d91b1[_0x7cca('0x22')];_0x5533fb[_0x7cca('0x23')]=_0x3d91b1[_0x7cca('0x24')];_0x5533fb['queuecallerleaveAt']=_0x3d91b1['answertime'];_0x5533fb[_0x7cca('0x25')]=0x1;_0x5533fb[_0x7cca('0x26')]=_0x3d91b1[_0x7cca('0x27')];_0x5533fb['connectedlinename']=_0x3d91b1[_0x7cca('0x28')];_0x5533fb['context']=_0x7cca('0x29');_0x5533fb[_0x7cca('0x2a')]=_0x7cca('0x2b');_0x5533fb[_0x7cca('0x2c')]=0x0;_0x5533fb['assigned']=0x1;_0x5533fb[_0x7cca('0x2d')]=_0x3d91b1[_0x7cca('0x28')];_0x5533fb[_0x7cca('0x2e')]='COMPLETED';return BPromise['resolve']()['then'](voiceQueueReport[_0x7cca('0x2f')](_0x5533fb))[_0x7cca('0xc')](loggerCatch('[voiceQueueReport]\x20'));};exports[_0x7cca('0x30')]=function(_0xc34146,_0x193a4c){return BPromise[_0x7cca('0x9')]()[_0x7cca('0xa')](cmHopper[_0x7cca('0x30')](_0xc34146,_0x193a4c))[_0x7cca('0xc')](loggerCatch('[GetContactRecallMe]\x20'));};exports[_0x7cca('0x31')]=function(_0x1f9bce){return BPromise[_0x7cca('0x9')]()[_0x7cca('0xa')](cmHopper['rescheduleContact'](_0x1f9bce,!![],!![]))[_0x7cca('0xc')](loggerCatch(_0x7cca('0x32')));}; \ No newline at end of file +var _0x3baf=['createAgentHistory','createCustomerHistory','createCustomerFinal','rescheduleContact','UserId','active','[rescheduleContact]\x20','countReScheduled','[countReScheduled]\x20','[unlockContact]\x20','type','uniqueid','calleridname','queue','queuecallerleaveAt','answertime','queuecallercomplete','queuecallercompleteAt','endtime','connectedlinename','context','exten','xcally-motion-preview','assigned','lastAssignedTo','membername','queuecallerexitreason','[voiceQueueReport]\x20','getContactRecallMe','[GetContactRecallMe]\x20','[rescheduleContactInQueue]\x20','util','bluebird','../../../config/logger','preview','lodash','../rpc/cmHopper','../rpc/cmHopperFinal','../rpc/cmHopperHistory','../rpc/cmHopperBlack','../rpc/voiceQueueRt','../rpc/agentReportPreview','../rpc/voiceQueueReport','error','then','catch','[createHistory]\x20','resolve','createHistory','moveContactManagedDialer','[moveContactManagedDialer]\x20','checkIsBlackList','getContactPreview','[getContactPreview]\x20'];(function(_0x33023d,_0x179a50){var _0x2bec27=function(_0x529f45){while(--_0x529f45){_0x33023d['push'](_0x33023d['shift']());}};_0x2bec27(++_0x179a50);}(_0x3baf,0xf7));var _0xf3ba=function(_0x122553,_0x488965){_0x122553=_0x122553-0x0;var _0x42d3f3=_0x3baf[_0x122553];return _0x42d3f3;};'use strict';var util=require(_0xf3ba('0x0'));var BPromise=require(_0xf3ba('0x1'));var logger=require(_0xf3ba('0x2'))(_0xf3ba('0x3'));var _=require(_0xf3ba('0x4'));var cmHopper=require(_0xf3ba('0x5'));var cmHopperFinal=require(_0xf3ba('0x6'));var cmHopperHistory=require(_0xf3ba('0x7'));var cmHopperBlack=require(_0xf3ba('0x8'));var voiceQueueRt=require(_0xf3ba('0x9'));var agentReportPreview=require(_0xf3ba('0xa'));var voiceQueueReport=require(_0xf3ba('0xb'));function loggerCatch(_0x475268){return function(_0x2e6df2){logger[_0xf3ba('0xc')](_0x475268,util['inspect'](_0x2e6df2,{'showHidden':![],'depth':null}));};}function create(_0x579135){return BPromise['resolve']()[_0xf3ba('0xd')](cmHopperHistory['createHistory'](_0x579135))[_0xf3ba('0xe')](loggerCatch(_0xf3ba('0xf')));}function createAgent(_0x3ae5fb){return BPromise[_0xf3ba('0x10')]()[_0xf3ba('0xd')](agentReportPreview[_0xf3ba('0x11')](_0x3ae5fb))[_0xf3ba('0xe')](loggerCatch(_0xf3ba('0xf')));}function moveContact(_0x32ecd1){return BPromise[_0xf3ba('0x10')]()[_0xf3ba('0xd')](cmHopper[_0xf3ba('0x12')](_0x32ecd1,!![]))[_0xf3ba('0xe')](loggerCatch(_0xf3ba('0x13')));}exports[_0xf3ba('0x14')]=function(_0x17673a){return BPromise[_0xf3ba('0x10')]()[_0xf3ba('0xd')](cmHopperBlack['checkIsBlackList'](_0x17673a))[_0xf3ba('0xe')](loggerCatch('[checkIsBlackList]\x20'));};exports[_0xf3ba('0x15')]=function(_0x345fc9){return BPromise[_0xf3ba('0x10')]()[_0xf3ba('0xd')](cmHopper[_0xf3ba('0x15')](_0x345fc9))['catch'](loggerCatch(_0xf3ba('0x16')));};exports[_0xf3ba('0x11')]=function(_0x13d899,_0x550dd3){create(_0x13d899)[_0xf3ba('0xe')](loggerCatch(_0x550dd3));moveContact(_0x13d899)[_0xf3ba('0xe')](loggerCatch(_0x550dd3));};exports[_0xf3ba('0x17')]=function(_0x44de40,_0x4d3c0a){createAgent(_0x44de40)[_0xf3ba('0xe')](loggerCatch(_0x4d3c0a));};exports[_0xf3ba('0x18')]=function(_0x4e601c,_0x479d65){create(_0x4e601c)[_0xf3ba('0xe')](loggerCatch(_0x479d65));};exports[_0xf3ba('0x19')]=function(_0x854fc4,_0x5d351f){moveContact(_0x854fc4)[_0xf3ba('0xe')](loggerCatch(_0x5d351f));};exports[_0xf3ba('0x1a')]=function(_0x35d6d4,_0x7ebcea,_0x23a744){if(_0x7ebcea){_0x35d6d4[_0xf3ba('0x1b')]=null;}if(_0x23a744){_0x35d6d4[_0xf3ba('0x1c')]=![];}return BPromise['resolve']()['then'](cmHopper['rescheduleContact'](_0x35d6d4))[_0xf3ba('0xe')](loggerCatch(_0xf3ba('0x1d')));};exports[_0xf3ba('0x1e')]=function(_0x3b6404){return BPromise[_0xf3ba('0x10')]()['then'](cmHopper['countReScheduled'](_0x3b6404))[_0xf3ba('0xe')](loggerCatch(_0xf3ba('0x1f')));};exports['unlockContact']=function(_0x1c9d6a){return BPromise[_0xf3ba('0x10')]()['then'](cmHopper['unlockContact']({'UserId':null},_0x1c9d6a,0x1))[_0xf3ba('0xe')](loggerCatch(_0xf3ba('0x20')));};exports['disableContact']=function(_0x18a4fb){return BPromise[_0xf3ba('0x10')]()[_0xf3ba('0xd')](cmHopper['unlockContact']({'active':![]},_0x18a4fb,0x1))[_0xf3ba('0xe')](loggerCatch('[activeContact]\x20'));};exports['crateCustomerReportQueue']=function(_0x7c1a60){var _0x19ef2c={};_0x19ef2c['type']=_0x7c1a60[_0xf3ba('0x21')];_0x19ef2c[_0xf3ba('0x22')]=_0x7c1a60['uniqueid'];_0x19ef2c['calleridnum']=_0x7c1a60['calleridnum'];_0x19ef2c[_0xf3ba('0x23')]=_0x7c1a60[_0xf3ba('0x23')];_0x19ef2c['queue']=_0x7c1a60[_0xf3ba('0x24')];_0x19ef2c['queuecallerjoinAt']=_0x7c1a60['answertime'];_0x19ef2c[_0xf3ba('0x25')]=_0x7c1a60[_0xf3ba('0x26')];_0x19ef2c[_0xf3ba('0x27')]=0x1;_0x19ef2c[_0xf3ba('0x28')]=_0x7c1a60[_0xf3ba('0x29')];_0x19ef2c[_0xf3ba('0x2a')]=_0x7c1a60['membername'];_0x19ef2c[_0xf3ba('0x2b')]='from-sip';_0x19ef2c[_0xf3ba('0x2c')]=_0xf3ba('0x2d');_0x19ef2c['holdtime']=0x0;_0x19ef2c[_0xf3ba('0x2e')]=0x1;_0x19ef2c[_0xf3ba('0x2f')]=_0x7c1a60[_0xf3ba('0x30')];_0x19ef2c[_0xf3ba('0x31')]='COMPLETED';return BPromise[_0xf3ba('0x10')]()['then'](voiceQueueReport['create'](_0x19ef2c))['catch'](loggerCatch(_0xf3ba('0x32')));};exports[_0xf3ba('0x33')]=function(_0xe4e56a,_0x38e691){return BPromise[_0xf3ba('0x10')]()['then'](cmHopper[_0xf3ba('0x33')](_0xe4e56a,_0x38e691))['catch'](loggerCatch(_0xf3ba('0x34')));};exports['rescheduleContactInQueue']=function(_0x1c2e29){return BPromise[_0xf3ba('0x10')]()[_0xf3ba('0xd')](cmHopper[_0xf3ba('0x1a')](_0x1c2e29,!![],!![]))['catch'](loggerCatch(_0xf3ba('0x35')));}; \ No newline at end of file diff --git a/server/services/ami/preview/util/util.js b/server/services/ami/preview/util/util.js index 86793fe..0f7b6ad 100644 --- a/server/services/ami/preview/util/util.js +++ b/server/services/ami/preview/util/util.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xfc4f=['\x22\x22\x20<>','Queue','name','calleridname','calleridnum','ContactId','dialer','\x22rtTxX%s%s\x22','monitor_format','U(xcally-mixmonitor-context)','dialQueueProject','NONE','\x22agi://%s/square,%s\x22','dialQueueProject2','originatecalleridnum','originatecalleridname','xcally-motion-preview','_XCALLY_MIXMONITOR_FORMAT','_XCALLY_MIXMONITOR_UNIQUEID','Contact','hasOwnProperty','tags','createdAt','updatedAt','%s%s','toUpper','toLowerVariables','isNil','originated','[updateOriginated]\x20object\x20originated\x20is\x20negative','logBlacklist','state','statedesc','Blacklist','starttime','endtime','logAgent','YYYY-MM-DD\x20HH:mm:ss','responsetime','ringtime','logLookAgent','membername','UserId','logCustomer','talktime','answertime','isFailure','Failure','variablesAction','RECALL','BOOKED','uniqueid','originate','channelAgent','from-sip','timeout','countnoanswerretry','countnosuchnumberretry','cloneAction','scheduledAt','active','scheduledat','add','minutes','ListId','VoiceQueueId','decrementTalkink','pTalking','[decrementTalkink]\x20object\x20talking\x20is\x20negative','[decrementTalkink]\x20is\x20null\x20or\x20undefined','IsNotLoggedIn','lastevent','queue','interface','buildAcw','agentReadyId','not_inuse','status','reachable','push','getDiff','createBody','CampaignId','filterKey','type','campaigntype','countbusyretry','countcongestionretry','countglobal','callback','callbackuniqueid','callbackat','xmd-voicequeueid','xmd-queue','xmd-listid','xmd-dialurl','xmd-dialtimeout','xmd-dialoptions','xmd-dialid','xmd-dialchannel','xmd-contactid','xmd-agiafter','xmd-agi','rtpaudioqosbridged','rtpaudioqosjitter','rtpaudioqosjitterbridged','rtpaudioqosloss','rtpaudioqoslossbridged','rtpaudioqosrtt','rtpaudioqosrttbridged','rtpaudioqos','bridgepeer','getCallerIdRandom','\x5cw{0,','pow','replace','random','extractCalleridName','extractCalleridNumber','match','lodash','moment','../../../../config/logger','preview','env','XCALLY_IP_AGI','127.0.0.1','milliseconds','diff','seconds','error','inspect','info','loggerError','logger2','getCallerId','isUndefined','string','isEmpty','format','\x22%s\x22\x20<%s>'];(function(_0x59f2e6,_0x2cdb2f){var _0x3d285d=function(_0x2b5add){while(--_0x2b5add){_0x59f2e6['push'](_0x59f2e6['shift']());}};_0x3d285d(++_0x2cdb2f);}(_0xfc4f,0x192));var _0xffc4=function(_0xa464c9,_0x7c86d8){_0xa464c9=_0xa464c9-0x0;var _0x3d73c4=_0xfc4f[_0xa464c9];return _0x3d73c4;};'use strict';var util=require('util');var _=require(_0xffc4('0x0'));var moment=require(_0xffc4('0x1'));var logger=require(_0xffc4('0x2'))(_0xffc4('0x3'));var ipAgi=process[_0xffc4('0x4')][_0xffc4('0x5')]||_0xffc4('0x6');function getSeconds(_0x5943be,_0x289659){var _0x211cfa=moment(_0x5943be)[_0xffc4('0x7')](0x0);var _0x2efa5f=moment(_0x289659)['milliseconds'](0x0);return _0x211cfa[_0xffc4('0x8')](_0x2efa5f,_0xffc4('0x9'));}exports['loggerCatch']=function(_0x3ae6a2){return function(_0x176434){logger[_0xffc4('0xa')](_0x3ae6a2,util[_0xffc4('0xb')](_0x176434,{'showHidden':![],'depth':null}));};};exports['logger']=function(_0x22daf5,_0x22d03a){logger[_0xffc4('0xc')](_0x22daf5,util[_0xffc4('0xb')](_0x22d03a,{'showHidden':![],'depth':null}));};exports[_0xffc4('0xd')]=function(_0x332ab5,_0x5605fc){logger[_0xffc4('0xa')](_0x332ab5,util[_0xffc4('0xb')](_0x5605fc,{'showHidden':![],'depth':null}));};exports[_0xffc4('0xe')]=function(_0x260d02){return function(_0x3608c5){logger[_0xffc4('0xc')](_0x260d02,util[_0xffc4('0xb')](_0x3608c5,{'showHidden':![],'depth':null}));};};exports['message']=function(_0x388500,_0x77fdff,_0x5155ab){return{'message':_0x388500,'unlock':_0x77fdff,'active':_0x5155ab};};exports[_0xffc4('0xf')]=function(_0x2f6e00,_0x515412,_0x2ed4c8){if(!_[_0xffc4('0x10')](_0x2ed4c8)&&_0xffc4('0x11')===typeof _0x2ed4c8&&!_[_0xffc4('0x12')](_0x2ed4c8)){if(!_['isUndefined'](_0x515412)&&_0xffc4('0x11')===typeof _0x515412&&!_[_0xffc4('0x12')](_0x515412)){return util[_0xffc4('0x13')](_0xffc4('0x14'),_0x515412,_0x2ed4c8);}return util[_0xffc4('0x13')](_0xffc4('0x14'),_0x2ed4c8,_0x2ed4c8);}if(!_[_0xffc4('0x10')](_0x2f6e00)&&_0xffc4('0x11')===typeof _0x2f6e00&&!_[_0xffc4('0x12')](_0x2f6e00)){return _0x2f6e00;}return _0xffc4('0x15');};exports['isActive']=function(_0x2c65f7){if(_['isNil'](_0x2c65f7)){return![];}return _0x2c65f7;};exports['addVariables']=function(_0x6a0096,_0xd48851,_0x25b521,_0x5eb1c1,_0x44abea,_0x244cc1){var _0x2f6112={'XMD-QUEUE':_0xd48851[_0xffc4('0x16')]?_0xd48851[_0xffc4('0x16')][_0xffc4('0x17')]:'','XMD-CALLERID':_0x5eb1c1,'XMD-CALLERID-PREVIEW':_0x244cc1?util[_0xffc4('0x13')]('\x22%s\x22\x20<%s>',_0x244cc1[_0xffc4('0x18')],_0x244cc1[_0xffc4('0x19')]):_0x5eb1c1,'XMD-DIALID':_0x44abea,'XMD-CONTACTID':_0xd48851[_0xffc4('0x1a')],'XMD-CDRTYPE':_0xffc4('0x1b'),'CALLERID(all)':_0x5eb1c1,'XMD-VOICEQUEUEID':_0xd48851['VoiceQueueId'],'XMD-DIALCHANNEL':_0x25b521,'XMD-DIALTIMEOUT':_0x6a0096['dialOriginateTimeout']||0x1e,'XMD-DIALOPTIONS':util[_0xffc4('0x13')](_0xffc4('0x1c'),_0x6a0096['dialQueueProject2']?'g':'',_[_0xffc4('0x12')](_0x6a0096[_0xffc4('0x1d')])?'':_0xffc4('0x1e')),'XMD-DIALURL':_0x6a0096['dialPreviewUrl']||'','XMD-AGI':_0x6a0096[_0xffc4('0x1f')]?util['format']('\x22agi://%s/square,%s\x22',ipAgi,_0x6a0096[_0xffc4('0x1f')]):_0xffc4('0x20'),'XMD-AGIAFTER':_0x6a0096['dialQueueProject2']?util[_0xffc4('0x13')](_0xffc4('0x21'),ipAgi,_0x6a0096[_0xffc4('0x22')]):_0xffc4('0x20'),'XMD-ORIGINATECALLERIDNUM':_0x244cc1?_0x244cc1[_0xffc4('0x23')]:'','XMD-ORIGINATECALLERIDNAME':_0x244cc1?_0x244cc1[_0xffc4('0x24')]:'','XMD-DESTINATION':_0xffc4('0x25')};if(!_['isEmpty'](_0x6a0096[_0xffc4('0x1d')])){_0x2f6112[util[_0xffc4('0x13')]('%s',_0xffc4('0x26'))]=_0x6a0096[_0xffc4('0x1d')];_0x2f6112[util[_0xffc4('0x13')]('%s',_0xffc4('0x27'))]=_0x44abea;}if(_0xd48851&&_0xd48851[_0xffc4('0x28')]){for(var _0xceab82 in _0xd48851[_0xffc4('0x28')]){if(_0xd48851[_0xffc4('0x28')][_0xffc4('0x29')](_0xceab82)){if(!_['isNil'](_0xd48851[_0xffc4('0x28')][_0xceab82])&&_0xceab82!=='id'&&_0xceab82!==_0xffc4('0x2a')&&_0xceab82!==_0xffc4('0x2b')&&_0xceab82!==_0xffc4('0x2c')){_0x2f6112[util[_0xffc4('0x13')](_0xffc4('0x2d'),'XMD-',_[_0xffc4('0x2e')](_0xceab82))]=_0xd48851[_0xffc4('0x28')][_0xceab82];}}}}return _0x2f6112;};exports[_0xffc4('0x2f')]=function(_0x2423bc){var _0x15bec3={};for(var _0x392bf6 in _0x2423bc){if(_0x2423bc['hasOwnProperty'](_0x392bf6)){_0x15bec3[util[_0xffc4('0x13')]('%s',_['toLower'](_0x392bf6))]=_0x2423bc[_0x392bf6];}}return{'variables':_0x15bec3};};exports['updateOriginated']=function(_0x908971,_0x127ad4){if(!_[_0xffc4('0x30')](_0x908971)){if(_0x908971[_0xffc4('0x29')]('originated')){if(_0x908971[_0xffc4('0x31')]>0x0){_0x908971['originated']-=0x1;}else{logger[_0xffc4('0xa')](_0xffc4('0x32'),_0x127ad4);}}}else{logger['error']('[updateOriginated]\x20is\x20null\x20or\x20undefined',_0x127ad4);}};exports[_0xffc4('0x33')]=function(_0x465e66){var _0x21ad59=moment()[_0xffc4('0x13')]('YYYY-MM-DD\x20HH:mm:ss');_0x465e66[_0xffc4('0x34')]=0xd;_0x465e66[_0xffc4('0x35')]=_0xffc4('0x36');_0x465e66[_0xffc4('0x37')]=_0x21ad59;_0x465e66['responsetime']=_0x21ad59;_0x465e66[_0xffc4('0x38')]=_0x21ad59;};exports[_0xffc4('0x39')]=function(_0x438f84,_0x28629b,_0xb1d90d){var _0x2ba2b9=moment()[_0xffc4('0x13')](_0xffc4('0x3a'));_0x438f84[_0xffc4('0x34')]=_0x28629b;_0x438f84[_0xffc4('0x35')]=_0xb1d90d;_0x438f84[_0xffc4('0x3b')]=_0x2ba2b9;_0x438f84[_0xffc4('0x3c')]=getSeconds(_0x438f84[_0xffc4('0x3b')],_0x438f84[_0xffc4('0x37')]);};exports[_0xffc4('0x3d')]=function(_0x298997,_0x492e17,_0x24beb1){_0x298997[_0xffc4('0x3e')]=_0x492e17;_0x298997[_0xffc4('0x3f')]=_0x24beb1;};exports[_0xffc4('0x40')]=function(_0x45d628,_0xff3efe,_0x3900fa){var _0x443034=moment()['format'](_0xffc4('0x3a'));_0x45d628['state']=_0xff3efe;_0x45d628[_0xffc4('0x35')]=_0x3900fa;_0x45d628[_0xffc4('0x3b')]=_0x45d628[_0xffc4('0x3b')]?_0x45d628[_0xffc4('0x3b')]:_0x443034;_0x45d628[_0xffc4('0x38')]=_0x45d628['endtime']?_0x45d628[_0xffc4('0x38')]:_0x443034;_0x45d628['ringtime']=getSeconds(_0x45d628[_0xffc4('0x3b')]||0x0,_0x45d628[_0xffc4('0x37')]||0x0);_0x45d628[_0xffc4('0x41')]=_0x45d628[_0xffc4('0x42')]?getSeconds(_0x45d628[_0xffc4('0x38')],_0x45d628[_0xffc4('0x42')]):0x0;};exports[_0xffc4('0x43')]=function(_0x2aed15){return _0x2aed15===_0xffc4('0x44');};exports[_0xffc4('0x45')]=function(_0x497705,_0x31a03b,_0x15a432,_0x51cc42,_0x2d02c3){var _0x1c1025=_0x51cc42?_0xffc4('0x46'):_0x497705[_0xffc4('0x18')];_0x1c1025=_0x2d02c3?_0xffc4('0x47'):_0x1c1025;return{'actionid':_0x497705[_0xffc4('0x48')],'action':_0xffc4('0x49'),'channel':_0x497705[_0xffc4('0x4a')],'callerid':util[_0xffc4('0x13')](_0xffc4('0x14'),_0x1c1025,_0x497705[_0xffc4('0x19')]),'Exten':_0xffc4('0x25'),'Context':_0xffc4('0x4b'),'Priority':'1','variable':_0x15a432,'timeout':(_0x31a03b[_0xffc4('0x4c')]||0x1e)*0x3e8,'async':!![],'channelid':_0x497705[_0xffc4('0x48')]};};exports['totalGlobal']=function(_0x10ebf5){return _0x10ebf5['countbusyretry']+_0x10ebf5['countcongestionretry']+_0x10ebf5[_0xffc4('0x4d')]+_0x10ebf5['countagentrejectretry']+_0x10ebf5[_0xffc4('0x4e')];};exports[_0xffc4('0x4f')]=function(_0x4265c9){var _0x458fde=_['clone'](_0x4265c9);_0x458fde[_0xffc4('0x34')]=0xf;_0x458fde[_0xffc4('0x35')]='Global';return _0x458fde;};exports[_0xffc4('0x50')]=function(_0x811c14,_0x3fd7ea,_0x54cf24){var _0x1949ee={};_0x1949ee[_0x3fd7ea]=_0x811c14[_0x3fd7ea];_0x1949ee[_0xffc4('0x51')]=![];_0x1949ee[_0xffc4('0x52')]=moment()[_0xffc4('0x53')](_0x54cf24,_0xffc4('0x54'))['format'](_0xffc4('0x3a'));_0x1949ee[_0xffc4('0x1a')]=_0x811c14[_0xffc4('0x1a')];_0x1949ee['ListId']=_0x811c14[_0xffc4('0x55')];_0x1949ee[_0xffc4('0x56')]=_0x811c14['VoiceQueueId']||undefined;return _0x1949ee;};exports[_0xffc4('0x57')]=function(_0x1051ac,_0x47938b){if(!_[_0xffc4('0x30')](_0x1051ac)){if(_0x1051ac['pTalking']>0x0){_0x1051ac[_0xffc4('0x58')]-=0x1;}else{logger[_0xffc4('0xa')](_0x47938b,_0xffc4('0x59'));}}else{logger[_0xffc4('0xa')](_0x47938b,_0xffc4('0x5a'));}};exports[_0xffc4('0x5b')]=function(_0x483363){if(_0x483363<=0x0){return!![];}return![];};exports['buildObj']=function(_0x339d7c,_0x59a445){_0x339d7c[_0xffc4('0x5c')]=_0x59a445;_0x339d7c[_0xffc4('0x17')]=_0x339d7c[_0xffc4('0x5d')];_0x339d7c[_0xffc4('0x5e')]=_0x339d7c[_0xffc4('0x4a')];return _0x339d7c;};exports[_0xffc4('0x5f')]=function(_0x260ccd){var _0x559a81={};_0x559a81[_0xffc4('0x5d')]=_0x260ccd[_0xffc4('0x5d')];_0x559a81[_0xffc4('0x5e')]=_0x260ccd[_0xffc4('0x4a')];_0x559a81[_0xffc4('0x48')]=_0x260ccd['uniqueid'];return _0x559a81;};exports[_0xffc4('0x60')]=function(_0x5c40e4){var _0x4a2f2b=[];for(var _0x160bba in _0x5c40e4){if(_0x5c40e4[_0xffc4('0x29')](_0x160bba)){if(!_[_0xffc4('0x30')](_0x5c40e4[_0x160bba])&&_0x5c40e4[_0x160bba][_0xffc4('0x34')]===_0xffc4('0x61')&&_0x5c40e4[_0x160bba][_0xffc4('0x62')]===_0xffc4('0x63')){_0x4a2f2b[_0xffc4('0x64')](_0x5c40e4[_0x160bba]['id']);}}}return _0x4a2f2b;};exports[_0xffc4('0x65')]=function(_0x186fed){var _0x4b3ba3=moment()[_0xffc4('0x7')](0x0);var _0x467ff7=moment(_0x186fed)[_0xffc4('0x7')](0x0);return _0x4b3ba3[_0xffc4('0x8')](_0x467ff7,_0xffc4('0x9'));};exports[_0xffc4('0x66')]=function(_0x90854a){return{'active':![],'recallme':![],'UserId':null,'ContactId':_0x90854a[_0xffc4('0x1a')],'ListId':_0x90854a['ListId'],'VoiceQueueId':_0x90854a['VoiceQueueId']||undefined,'CampaignId':_0x90854a[_0xffc4('0x67')]||undefined};};exports[_0xffc4('0x68')]=function(_0x355dae){if(_0x355dae==='uniqueid'||_0x355dae==='idContact'||_0x355dae==='queue'||_0x355dae===_0xffc4('0x69')||_0x355dae===_0xffc4('0x6a')||_0x355dae==='dialAnswer'||_0x355dae==='membername'||_0x355dae===_0xffc4('0x4a')||_0x355dae===_0xffc4('0x18')||_0x355dae===_0xffc4('0x51')||_0x355dae===_0xffc4('0x19')||_0x355dae===_0xffc4('0x52')||_0x355dae===_0xffc4('0x6b')||_0x355dae===_0xffc4('0x6c')||_0x355dae===_0xffc4('0x4d')||_0x355dae===_0xffc4('0x6d')||_0x355dae===_0xffc4('0x6e')||_0x355dae===_0xffc4('0x6f')||_0x355dae===_0xffc4('0x70')||_0x355dae==='recallme'||_0x355dae===_0xffc4('0x1a')||_0x355dae==='ListId'||_0x355dae===_0xffc4('0x3f')||_0x355dae==='VoiceQueueId'||_0x355dae==='sipcallid'||_0x355dae===_0xffc4('0x71')||_0x355dae===_0xffc4('0x72')||_0x355dae==='xmd-phone'||_0x355dae===_0xffc4('0x73')||_0x355dae===_0xffc4('0x74')||_0x355dae===_0xffc4('0x75')||_0x355dae===_0xffc4('0x76')||_0x355dae===_0xffc4('0x77')||_0x355dae===_0xffc4('0x78')||_0x355dae===_0xffc4('0x79')||_0x355dae==='xmd-cdrtype'||_0x355dae==='xmd-callerid'||_0x355dae===_0xffc4('0x7a')||_0x355dae===_0xffc4('0x7b')||_0x355dae==='rtpaudioqos'||_0x355dae===_0xffc4('0x7c')||_0x355dae===_0xffc4('0x7d')||_0x355dae===_0xffc4('0x7e')||_0x355dae===_0xffc4('0x7f')||_0x355dae===_0xffc4('0x80')||_0x355dae===_0xffc4('0x81')||_0x355dae===_0xffc4('0x82')||_0x355dae===_0xffc4('0x83')||_0x355dae===_0xffc4('0x7c')||_0x355dae===_0xffc4('0x7d')||_0x355dae===_0xffc4('0x7e')||_0x355dae===_0xffc4('0x7f')||_0x355dae===_0xffc4('0x80')||_0x355dae===_0xffc4('0x81')||_0x355dae===_0xffc4('0x82')||_0x355dae===_0xffc4('0x84')||_0x355dae==='bridgepvtcallid'||_0x355dae===_0xffc4('0x34')||_0x355dae===_0xffc4('0x35')){return![];}return!![];};exports[_0xffc4('0x85')]=function(_0x68e8c4,_0x1aabe1){var _0x568e3a,_0x1424b6,_0x301301;if(_0x1aabe1<=0x0){_0x1aabe1=0x1;}_0x568e3a=new RegExp(_0xffc4('0x86')+_0x1aabe1+'}$');_0x1424b6=Math[_0xffc4('0x87')](0xa,_0x1aabe1-0x1);_0x301301=Math[_0xffc4('0x87')](0xa,_0x1aabe1)-0x1;return util[_0xffc4('0x13')]('%s',_[_0xffc4('0x88')](_0x68e8c4,_0x568e3a,_[_0xffc4('0x89')](_0x1424b6,_0x301301)));};exports[_0xffc4('0x8a')]=function(_0x3dab9c){var _0x410c53=_0x3dab9c['match'](/"(.*?)"/);return _0x410c53?_0x410c53[0x1]:_0x3dab9c;};exports[_0xffc4('0x8b')]=function(_0x1ce7a9){var _0x1b05fa=_0x1ce7a9[_0xffc4('0x8c')](/<(.*?)>/);return _0x1b05fa?_0x1b05fa[0x1]:_0x1ce7a9;}; \ No newline at end of file +var _0x9a18=['VoiceQueueId','dialOriginateTimeout','\x22rtTxX%s%s\x22','dialQueueProject2','dialPreviewUrl','dialQueueProject','\x22agi://%s/square,%s\x22','NONE','originatecalleridnum','originatecalleridname','xcally-motion-preview','monitor_format','_XCALLY_MIXMONITOR_FORMAT','_XCALLY_MIXMONITOR_UNIQUEID','Contact','hasOwnProperty','tags','createdAt','%s%s','XMD-','toUpper','toLowerVariables','toLower','updateOriginated','originated','[updateOriginated]\x20object\x20originated\x20is\x20negative','[updateOriginated]\x20is\x20null\x20or\x20undefined','logBlacklist','state','Blacklist','starttime','responsetime','endtime','logAgent','YYYY-MM-DD\x20HH:mm:ss','statedesc','ringtime','logLookAgent','membername','UserId','talktime','answertime','isFailure','Failure','variablesAction','RECALL','calleridname','uniqueid','originate','channelAgent','from-sip','timeout','totalGlobal','countbusyretry','countnoanswerretry','countnosuchnumberretry','Global','scheduledAt','active','scheduledat','add','minutes','ListId','pTalking','[decrementTalkink]\x20object\x20talking\x20is\x20negative','[decrementTalkink]\x20is\x20null\x20or\x20undefined','IsNotLoggedIn','buildObj','lastevent','queue','interface','agentReadyId','status','reachable','push','getDiff','CampaignId','filterKey','type','campaigntype','dialAnswer','countglobal','callback','callbackuniqueid','callbackat','recallme','sipcallid','xmd-dialurl','xmd-dialtimeout','xmd-dialoptions','xmd-dialid','xmd-dialchannel','xmd-contactid','xmd-cdrtype','xmd-callerid','xmd-agi','rtpaudioqos','rtpaudioqosbridged','rtpaudioqosjitter','rtpaudioqosjitterbridged','rtpaudioqosloss','rtpaudioqoslossbridged','rtpaudioqosrttbridged','bridgepeer','bridgepvtcallid','getCallerIdRandom','pow','replace','extractCalleridName','match','extractCalleridNumber','util','moment','../../../../config/logger','preview','env','XCALLY_IP_AGI','milliseconds','diff','seconds','inspect','logger','info','loggerError','error','logger2','message','getCallerId','isUndefined','string','isEmpty','format','\x22%s\x22\x20<%s>','isActive','isNil','Queue','name','calleridnum','ContactId','dialer'];(function(_0x53ccf2,_0x13cb67){var _0x5a2964=function(_0x3b0514){while(--_0x3b0514){_0x53ccf2['push'](_0x53ccf2['shift']());}};_0x5a2964(++_0x13cb67);}(_0x9a18,0x187));var _0x89a1=function(_0x5168f6,_0x2665b6){_0x5168f6=_0x5168f6-0x0;var _0x122266=_0x9a18[_0x5168f6];return _0x122266;};'use strict';var util=require(_0x89a1('0x0'));var _=require('lodash');var moment=require(_0x89a1('0x1'));var logger=require(_0x89a1('0x2'))(_0x89a1('0x3'));var ipAgi=process[_0x89a1('0x4')][_0x89a1('0x5')]||'127.0.0.1';function getSeconds(_0x33e91b,_0x2b7678){var _0x287f38=moment(_0x33e91b)[_0x89a1('0x6')](0x0);var _0x3ce160=moment(_0x2b7678)[_0x89a1('0x6')](0x0);return _0x287f38[_0x89a1('0x7')](_0x3ce160,_0x89a1('0x8'));}exports['loggerCatch']=function(_0x55ac1e){return function(_0x3bba21){logger['error'](_0x55ac1e,util[_0x89a1('0x9')](_0x3bba21,{'showHidden':![],'depth':null}));};};exports[_0x89a1('0xa')]=function(_0x3c7e38,_0x44ec84){logger[_0x89a1('0xb')](_0x3c7e38,util[_0x89a1('0x9')](_0x44ec84,{'showHidden':![],'depth':null}));};exports[_0x89a1('0xc')]=function(_0x2830f1,_0x25bfe9){logger[_0x89a1('0xd')](_0x2830f1,util[_0x89a1('0x9')](_0x25bfe9,{'showHidden':![],'depth':null}));};exports[_0x89a1('0xe')]=function(_0x2c42b7){return function(_0x50c3b9){logger['info'](_0x2c42b7,util[_0x89a1('0x9')](_0x50c3b9,{'showHidden':![],'depth':null}));};};exports[_0x89a1('0xf')]=function(_0x131704,_0x16bba0,_0x59654d){return{'message':_0x131704,'unlock':_0x16bba0,'active':_0x59654d};};exports[_0x89a1('0x10')]=function(_0x2bae4a,_0x57287b,_0x24643a){if(!_[_0x89a1('0x11')](_0x24643a)&&_0x89a1('0x12')===typeof _0x24643a&&!_[_0x89a1('0x13')](_0x24643a)){if(!_[_0x89a1('0x11')](_0x57287b)&&_0x89a1('0x12')===typeof _0x57287b&&!_[_0x89a1('0x13')](_0x57287b)){return util[_0x89a1('0x14')]('\x22%s\x22\x20<%s>',_0x57287b,_0x24643a);}return util[_0x89a1('0x14')](_0x89a1('0x15'),_0x24643a,_0x24643a);}if(!_[_0x89a1('0x11')](_0x2bae4a)&&_0x89a1('0x12')===typeof _0x2bae4a&&!_[_0x89a1('0x13')](_0x2bae4a)){return _0x2bae4a;}return'\x22\x22\x20<>';};exports[_0x89a1('0x16')]=function(_0x223f39){if(_[_0x89a1('0x17')](_0x223f39)){return![];}return _0x223f39;};exports['addVariables']=function(_0x387465,_0x39a5d3,_0x1a3868,_0x224e60,_0x38ea84,_0xedc307){var _0x4cd448={'XMD-QUEUE':_0x39a5d3[_0x89a1('0x18')]?_0x39a5d3['Queue'][_0x89a1('0x19')]:'','XMD-CALLERID':_0x224e60,'XMD-CALLERID-PREVIEW':_0xedc307?util[_0x89a1('0x14')](_0x89a1('0x15'),_0xedc307['calleridname'],_0xedc307[_0x89a1('0x1a')]):_0x224e60,'XMD-DIALID':_0x38ea84,'XMD-CONTACTID':_0x39a5d3[_0x89a1('0x1b')],'XMD-CDRTYPE':_0x89a1('0x1c'),'CALLERID(all)':_0x224e60,'XMD-VOICEQUEUEID':_0x39a5d3[_0x89a1('0x1d')],'XMD-DIALCHANNEL':_0x1a3868,'XMD-DIALTIMEOUT':_0x387465[_0x89a1('0x1e')]||0x1e,'XMD-DIALOPTIONS':util[_0x89a1('0x14')](_0x89a1('0x1f'),_0x387465[_0x89a1('0x20')]?'g':'',_[_0x89a1('0x13')](_0x387465['monitor_format'])?'':'U(xcally-mixmonitor-context)'),'XMD-DIALURL':_0x387465[_0x89a1('0x21')]||'','XMD-AGI':_0x387465[_0x89a1('0x22')]?util[_0x89a1('0x14')](_0x89a1('0x23'),ipAgi,_0x387465[_0x89a1('0x22')]):'NONE','XMD-AGIAFTER':_0x387465[_0x89a1('0x20')]?util['format']('\x22agi://%s/square,%s\x22',ipAgi,_0x387465[_0x89a1('0x20')]):_0x89a1('0x24'),'XMD-ORIGINATECALLERIDNUM':_0xedc307?_0xedc307[_0x89a1('0x25')]:'','XMD-ORIGINATECALLERIDNAME':_0xedc307?_0xedc307[_0x89a1('0x26')]:'','XMD-DESTINATION':_0x89a1('0x27')};if(!_[_0x89a1('0x13')](_0x387465[_0x89a1('0x28')])){_0x4cd448[util[_0x89a1('0x14')]('%s',_0x89a1('0x29'))]=_0x387465['monitor_format'];_0x4cd448[util[_0x89a1('0x14')]('%s',_0x89a1('0x2a'))]=_0x38ea84;}if(_0x39a5d3&&_0x39a5d3[_0x89a1('0x2b')]){for(var _0x4515ea in _0x39a5d3[_0x89a1('0x2b')]){if(_0x39a5d3[_0x89a1('0x2b')][_0x89a1('0x2c')](_0x4515ea)){if(!_['isNil'](_0x39a5d3[_0x89a1('0x2b')][_0x4515ea])&&_0x4515ea!=='id'&&_0x4515ea!==_0x89a1('0x2d')&&_0x4515ea!==_0x89a1('0x2e')&&_0x4515ea!=='updatedAt'){_0x4cd448[util[_0x89a1('0x14')](_0x89a1('0x2f'),_0x89a1('0x30'),_[_0x89a1('0x31')](_0x4515ea))]=_0x39a5d3[_0x89a1('0x2b')][_0x4515ea];}}}}return _0x4cd448;};exports[_0x89a1('0x32')]=function(_0x96d37d){var _0x29af03={};for(var _0x39ac1c in _0x96d37d){if(_0x96d37d[_0x89a1('0x2c')](_0x39ac1c)){_0x29af03[util[_0x89a1('0x14')]('%s',_[_0x89a1('0x33')](_0x39ac1c))]=_0x96d37d[_0x39ac1c];}}return{'variables':_0x29af03};};exports[_0x89a1('0x34')]=function(_0x3a215c,_0x3fe3ea){if(!_[_0x89a1('0x17')](_0x3a215c)){if(_0x3a215c[_0x89a1('0x2c')](_0x89a1('0x35'))){if(_0x3a215c['originated']>0x0){_0x3a215c[_0x89a1('0x35')]-=0x1;}else{logger[_0x89a1('0xd')](_0x89a1('0x36'),_0x3fe3ea);}}}else{logger[_0x89a1('0xd')](_0x89a1('0x37'),_0x3fe3ea);}};exports[_0x89a1('0x38')]=function(_0x5f5d21){var _0x3589ae=moment()[_0x89a1('0x14')]('YYYY-MM-DD\x20HH:mm:ss');_0x5f5d21[_0x89a1('0x39')]=0xd;_0x5f5d21['statedesc']=_0x89a1('0x3a');_0x5f5d21[_0x89a1('0x3b')]=_0x3589ae;_0x5f5d21[_0x89a1('0x3c')]=_0x3589ae;_0x5f5d21[_0x89a1('0x3d')]=_0x3589ae;};exports[_0x89a1('0x3e')]=function(_0x4df780,_0x406bbb,_0xa61000){var _0x190a7e=moment()['format'](_0x89a1('0x3f'));_0x4df780[_0x89a1('0x39')]=_0x406bbb;_0x4df780[_0x89a1('0x40')]=_0xa61000;_0x4df780[_0x89a1('0x3c')]=_0x190a7e;_0x4df780[_0x89a1('0x41')]=getSeconds(_0x4df780[_0x89a1('0x3c')],_0x4df780[_0x89a1('0x3b')]);};exports[_0x89a1('0x42')]=function(_0x565831,_0x530a78,_0x44a2fa){_0x565831[_0x89a1('0x43')]=_0x530a78;_0x565831[_0x89a1('0x44')]=_0x44a2fa;};exports['logCustomer']=function(_0x3ff026,_0x31f6b4,_0x523a69){var _0x357dee=moment()['format'](_0x89a1('0x3f'));_0x3ff026[_0x89a1('0x39')]=_0x31f6b4;_0x3ff026[_0x89a1('0x40')]=_0x523a69;_0x3ff026['responsetime']=_0x3ff026['responsetime']?_0x3ff026[_0x89a1('0x3c')]:_0x357dee;_0x3ff026[_0x89a1('0x3d')]=_0x3ff026[_0x89a1('0x3d')]?_0x3ff026[_0x89a1('0x3d')]:_0x357dee;_0x3ff026['ringtime']=getSeconds(_0x3ff026['responsetime']||0x0,_0x3ff026[_0x89a1('0x3b')]||0x0);_0x3ff026[_0x89a1('0x45')]=_0x3ff026[_0x89a1('0x46')]?getSeconds(_0x3ff026[_0x89a1('0x3d')],_0x3ff026[_0x89a1('0x46')]):0x0;};exports[_0x89a1('0x47')]=function(_0x5bc510){return _0x5bc510===_0x89a1('0x48');};exports[_0x89a1('0x49')]=function(_0x411005,_0x2d90cb,_0x321b45,_0x5f0bf8,_0x26224d){var _0x2471a7=_0x5f0bf8?_0x89a1('0x4a'):_0x411005[_0x89a1('0x4b')];_0x2471a7=_0x26224d?'BOOKED':_0x2471a7;return{'actionid':_0x411005[_0x89a1('0x4c')],'action':_0x89a1('0x4d'),'channel':_0x411005[_0x89a1('0x4e')],'callerid':util['format'](_0x89a1('0x15'),_0x2471a7,_0x411005[_0x89a1('0x1a')]),'Exten':_0x89a1('0x27'),'Context':_0x89a1('0x4f'),'Priority':'1','variable':_0x321b45,'timeout':(_0x2d90cb[_0x89a1('0x50')]||0x1e)*0x3e8,'async':!![],'channelid':_0x411005['uniqueid']};};exports[_0x89a1('0x51')]=function(_0x1ac4f1){return _0x1ac4f1[_0x89a1('0x52')]+_0x1ac4f1['countcongestionretry']+_0x1ac4f1[_0x89a1('0x53')]+_0x1ac4f1['countagentrejectretry']+_0x1ac4f1[_0x89a1('0x54')];};exports['cloneAction']=function(_0x22c359){var _0xdc465d=_['clone'](_0x22c359);_0xdc465d[_0x89a1('0x39')]=0xf;_0xdc465d[_0x89a1('0x40')]=_0x89a1('0x55');return _0xdc465d;};exports[_0x89a1('0x56')]=function(_0x184eee,_0x281961,_0x410639){var _0x9769f4={};_0x9769f4[_0x281961]=_0x184eee[_0x281961];_0x9769f4[_0x89a1('0x57')]=![];_0x9769f4[_0x89a1('0x58')]=moment()[_0x89a1('0x59')](_0x410639,_0x89a1('0x5a'))['format'](_0x89a1('0x3f'));_0x9769f4[_0x89a1('0x1b')]=_0x184eee[_0x89a1('0x1b')];_0x9769f4[_0x89a1('0x5b')]=_0x184eee[_0x89a1('0x5b')];_0x9769f4[_0x89a1('0x1d')]=_0x184eee[_0x89a1('0x1d')]||undefined;return _0x9769f4;};exports['decrementTalkink']=function(_0x1f78b3,_0x266f8e){if(!_[_0x89a1('0x17')](_0x1f78b3)){if(_0x1f78b3[_0x89a1('0x5c')]>0x0){_0x1f78b3[_0x89a1('0x5c')]-=0x1;}else{logger[_0x89a1('0xd')](_0x266f8e,_0x89a1('0x5d'));}}else{logger['error'](_0x266f8e,_0x89a1('0x5e'));}};exports[_0x89a1('0x5f')]=function(_0x4b070a){if(_0x4b070a<=0x0){return!![];}return![];};exports[_0x89a1('0x60')]=function(_0x4bb9f1,_0x3c0217){_0x4bb9f1[_0x89a1('0x61')]=_0x3c0217;_0x4bb9f1[_0x89a1('0x19')]=_0x4bb9f1['queue'];_0x4bb9f1['interface']=_0x4bb9f1['channelAgent'];return _0x4bb9f1;};exports['buildAcw']=function(_0x109349){var _0x21e4dd={};_0x21e4dd[_0x89a1('0x62')]=_0x109349[_0x89a1('0x62')];_0x21e4dd[_0x89a1('0x63')]=_0x109349[_0x89a1('0x4e')];_0x21e4dd[_0x89a1('0x4c')]=_0x109349[_0x89a1('0x4c')];return _0x21e4dd;};exports[_0x89a1('0x64')]=function(_0x4711e7){var _0x56d163=[];for(var _0x40a846 in _0x4711e7){if(_0x4711e7['hasOwnProperty'](_0x40a846)){if(!_[_0x89a1('0x17')](_0x4711e7[_0x40a846])&&_0x4711e7[_0x40a846][_0x89a1('0x39')]==='not_inuse'&&_0x4711e7[_0x40a846][_0x89a1('0x65')]===_0x89a1('0x66')){_0x56d163[_0x89a1('0x67')](_0x4711e7[_0x40a846]['id']);}}}return _0x56d163;};exports[_0x89a1('0x68')]=function(_0x13d5a0){var _0x589a6b=moment()[_0x89a1('0x6')](0x0);var _0x2c6248=moment(_0x13d5a0)[_0x89a1('0x6')](0x0);return _0x589a6b[_0x89a1('0x7')](_0x2c6248,_0x89a1('0x8'));};exports['createBody']=function(_0x3ab63a){return{'active':![],'recallme':![],'UserId':null,'ContactId':_0x3ab63a[_0x89a1('0x1b')],'ListId':_0x3ab63a[_0x89a1('0x5b')],'VoiceQueueId':_0x3ab63a['VoiceQueueId']||undefined,'CampaignId':_0x3ab63a[_0x89a1('0x69')]||undefined};};exports[_0x89a1('0x6a')]=function(_0x48abc9){if(_0x48abc9===_0x89a1('0x4c')||_0x48abc9==='idContact'||_0x48abc9==='queue'||_0x48abc9===_0x89a1('0x6b')||_0x48abc9===_0x89a1('0x6c')||_0x48abc9===_0x89a1('0x6d')||_0x48abc9===_0x89a1('0x43')||_0x48abc9===_0x89a1('0x4e')||_0x48abc9===_0x89a1('0x4b')||_0x48abc9==='active'||_0x48abc9===_0x89a1('0x1a')||_0x48abc9==='scheduledat'||_0x48abc9==='countbusyretry'||_0x48abc9==='countcongestionretry'||_0x48abc9===_0x89a1('0x53')||_0x48abc9===_0x89a1('0x6e')||_0x48abc9===_0x89a1('0x6f')||_0x48abc9===_0x89a1('0x70')||_0x48abc9===_0x89a1('0x71')||_0x48abc9===_0x89a1('0x72')||_0x48abc9==='ContactId'||_0x48abc9===_0x89a1('0x5b')||_0x48abc9==='UserId'||_0x48abc9===_0x89a1('0x1d')||_0x48abc9===_0x89a1('0x73')||_0x48abc9==='xmd-voicequeueid'||_0x48abc9==='xmd-queue'||_0x48abc9==='xmd-phone'||_0x48abc9==='xmd-listid'||_0x48abc9===_0x89a1('0x74')||_0x48abc9===_0x89a1('0x75')||_0x48abc9===_0x89a1('0x76')||_0x48abc9===_0x89a1('0x77')||_0x48abc9===_0x89a1('0x78')||_0x48abc9===_0x89a1('0x79')||_0x48abc9===_0x89a1('0x7a')||_0x48abc9===_0x89a1('0x7b')||_0x48abc9==='xmd-agiafter'||_0x48abc9===_0x89a1('0x7c')||_0x48abc9===_0x89a1('0x7d')||_0x48abc9===_0x89a1('0x7e')||_0x48abc9===_0x89a1('0x7f')||_0x48abc9===_0x89a1('0x80')||_0x48abc9===_0x89a1('0x81')||_0x48abc9===_0x89a1('0x82')||_0x48abc9==='rtpaudioqosrtt'||_0x48abc9==='rtpaudioqosrttbridged'||_0x48abc9===_0x89a1('0x7d')||_0x48abc9===_0x89a1('0x7e')||_0x48abc9==='rtpaudioqosjitter'||_0x48abc9===_0x89a1('0x80')||_0x48abc9===_0x89a1('0x81')||_0x48abc9===_0x89a1('0x82')||_0x48abc9==='rtpaudioqosrtt'||_0x48abc9===_0x89a1('0x83')||_0x48abc9===_0x89a1('0x84')||_0x48abc9===_0x89a1('0x85')||_0x48abc9===_0x89a1('0x39')||_0x48abc9===_0x89a1('0x40')){return![];}return!![];};exports[_0x89a1('0x86')]=function(_0xe507f0,_0x63260d){var _0x35fbfd,_0x10e7fe,_0x401442;if(_0x63260d<=0x0){_0x63260d=0x1;}_0x35fbfd=new RegExp('\x5cw{0,'+_0x63260d+'}$');_0x10e7fe=Math['pow'](0xa,_0x63260d-0x1);_0x401442=Math[_0x89a1('0x87')](0xa,_0x63260d)-0x1;return util[_0x89a1('0x14')]('%s',_[_0x89a1('0x88')](_0xe507f0,_0x35fbfd,_['random'](_0x10e7fe,_0x401442)));};exports[_0x89a1('0x89')]=function(_0x8cbddb){var _0x26d552=_0x8cbddb[_0x89a1('0x8a')](/"(.*?)"/);return _0x26d552?_0x26d552[0x1]:_0x8cbddb;};exports[_0x89a1('0x8b')]=function(_0x243983){var _0x12f3d9=_0x243983[_0x89a1('0x8a')](/<(.*?)>/);return _0x12f3d9?_0x12f3d9[0x1]:_0x243983;}; \ No newline at end of file diff --git a/server/services/ami/properties.js b/server/services/ami/properties.js index 93f828f..0af52ef 100644 --- a/server/services/ami/properties.js +++ b/server/services/ami/properties.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xb10b=['voicequeuechannelhangup','queueadd','string','number','queueremove','queuepause','boolean','reload','voicechannel'];(function(_0x1a2ed5,_0x255d82){var _0x5c9cc1=function(_0xe36638){while(--_0xe36638){_0x1a2ed5['push'](_0x1a2ed5['shift']());}};_0x5c9cc1(++_0x255d82);}(_0xb10b,0x12a));var _0xbb10=function(_0x2d3bf9,_0x316601){_0x2d3bf9=_0x2d3bf9-0x0;var _0x150076=_0xb10b[_0x2d3bf9];return _0x150076;};'use strict';exports[_0xbb10('0x0')]={'queue':{'type':'string','required':!![]},'interface':{'type':_0xbb10('0x1'),'required':!![]},'membername':{'type':_0xbb10('0x1'),'required':!![]},'penalty':{'type':_0xbb10('0x2'),'required':![]},'paused':{'type':'boolean','required':![]}};exports[_0xbb10('0x3')]={'queue':{'type':_0xbb10('0x1'),'required':!![]},'interface':{'type':_0xbb10('0x1'),'required':!![]}};exports[_0xbb10('0x4')]={'interface':{'type':_0xbb10('0x1'),'required':!![]},'paused':{'type':_0xbb10('0x5')},'reason':{'type':'string','required':![]}};exports[_0xbb10('0x6')]={'module':{'type':_0xbb10('0x1'),'required':![]}};exports['voicequeuechannel']={'uniqueid':{'type':_0xbb10('0x1'),'required':!![]}};exports[_0xbb10('0x7')]={'uniqueid':{'type':_0xbb10('0x1'),'required':!![]},'filename':{'type':_0xbb10('0x1')},'format':{'type':_0xbb10('0x1')},'mixmonitorid':{'type':_0xbb10('0x1')}};exports[_0xbb10('0x8')]={'uniqueid':{'type':_0xbb10('0x1'),'required':!![]}};exports['voicequeuechannelredirect']={'uniqueid':{'type':'string','required':!![]},'exten':{'type':_0xbb10('0x1'),'required':!![]},'context':{'type':_0xbb10('0x1')}}; \ No newline at end of file +var _0x5f2f=['number','boolean','queueremove','reload','voicequeuechannel','voicechannel','voicequeuechannelhangup','queueadd','string'];(function(_0x26d019,_0x13ca4a){var _0x275632=function(_0x161c27){while(--_0x161c27){_0x26d019['push'](_0x26d019['shift']());}};_0x275632(++_0x13ca4a);}(_0x5f2f,0x73));var _0xf5f2=function(_0x34b23b,_0x42fb8b){_0x34b23b=_0x34b23b-0x0;var _0x3207a1=_0x5f2f[_0x34b23b];return _0x3207a1;};'use strict';exports[_0xf5f2('0x0')]={'queue':{'type':_0xf5f2('0x1'),'required':!![]},'interface':{'type':_0xf5f2('0x1'),'required':!![]},'membername':{'type':_0xf5f2('0x1'),'required':!![]},'penalty':{'type':_0xf5f2('0x2'),'required':![]},'paused':{'type':_0xf5f2('0x3'),'required':![]}};exports[_0xf5f2('0x4')]={'queue':{'type':_0xf5f2('0x1'),'required':!![]},'interface':{'type':'string','required':!![]}};exports['queuepause']={'interface':{'type':_0xf5f2('0x1'),'required':!![]},'paused':{'type':_0xf5f2('0x3')},'reason':{'type':_0xf5f2('0x1'),'required':![]}};exports[_0xf5f2('0x5')]={'module':{'type':_0xf5f2('0x1'),'required':![]}};exports[_0xf5f2('0x6')]={'uniqueid':{'type':'string','required':!![]}};exports[_0xf5f2('0x7')]={'uniqueid':{'type':_0xf5f2('0x1'),'required':!![]},'filename':{'type':_0xf5f2('0x1')},'format':{'type':'string'},'mixmonitorid':{'type':_0xf5f2('0x1')}};exports[_0xf5f2('0x8')]={'uniqueid':{'type':_0xf5f2('0x1'),'required':!![]}};exports['voicequeuechannelredirect']={'uniqueid':{'type':_0xf5f2('0x1'),'required':!![]},'exten':{'type':'string','required':!![]},'context':{'type':'string'}}; \ No newline at end of file diff --git a/server/services/ami/realtime/index.js b/server/services/ami/realtime/index.js index 6dc19af..c09904e 100644 --- a/server/services/ami/realtime/index.js +++ b/server/services/ami/realtime/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x9862=['billableseconds','dialQueueProject','SquareProject','initVoiceExtensions','initCampaignHopperHistory','initFaxAccounts','exports','bluebird','util','moment','../model/agent','../model/telephone','../model/trunk','../model/voiceQueue','../model/trigger','../model/campaign','../model/voiceExtension','../model/zendeskAccount','../model/salesforceAccount','../model/freshdeskAccount','../model/sugarcrmAccount','../model/deskAccount','../model/vtigerAccount','../model/servicenowAccount','../model/dynamics365Account','../model/freshsalesAccount','../model/faxAccount','agents','telephones','trunks','voiceQueues','triggers','campaigns','templates','voiceExtensions','channels','queueChannels','outboundChannels','timers','zendeskAccounts','salesforceAccounts','sugarcrmAccounts','freshdeskAccounts','zohoAccounts','deskAccounts','servicenowAccounts','dynamics365Accounts','freshsalesAccounts','faxAccounts','mapKeys','hasOwnProperty','format','SIP/%s','name','interface','total','answered','sumHoldTime','sumDuration','sumBillable','isEmpty','ivrTotalCallsDays','ivrAnswerCallsDay','unmanaged','abandoned','outboundNoAnswerCallsDay','outboundBusyCallsDay','outboundCongestionCallsDay','outboundDropCallsDayTimeout','outboundBlacklistCallsDay','outboundOriginateFailureCallsDay','outboundReCallsDay','outboundAnswerCallsDay','prototype','mergeFromDatabase','initAgents','length','isNil','isUndefined','initTelephones','initTrunks','initVoiceQueues','initZendeskAccounts','initFreshdeskAccounts','initZohoAccounts','initSugarcrmAccounts','initVtigerAccounts','vtigerAccounts','initServicenowAccounts','initDynamics365Accounts','initVoiceQueueHopperHistory','merge','initVoiceQueueReports','groupBy','uniqueid','queue','queuecallerexit','queuecallerabandon','queuecallerleaveAt','diff','queuecallerjoinAt','seconds','queuecallercompleteAt','queuecallercomplete','outbound','disposition','ANSWERED','duration'];(function(_0x42ee5a,_0x23bc15){var _0x40d05a=function(_0x51627e){while(--_0x51627e){_0x42ee5a['push'](_0x42ee5a['shift']());}};_0x40d05a(++_0x23bc15);}(_0x9862,0x14b));var _0x2986=function(_0x551c3d,_0x532744){_0x551c3d=_0x551c3d-0x0;var _0x2dbdc6=_0x9862[_0x551c3d];return _0x2dbdc6;};'use strict';var BPromise=require(_0x2986('0x0'));var util=require(_0x2986('0x1'));var _=require('lodash');var moment=require(_0x2986('0x2'));var Agent=require(_0x2986('0x3'));var Telephone=require(_0x2986('0x4'));var Trunk=require(_0x2986('0x5'));var VoiceQueue=require(_0x2986('0x6'));var Trigger=require(_0x2986('0x7'));var Template=require('../model/template');var Campaign=require(_0x2986('0x8'));var VoiceExtension=require(_0x2986('0x9'));var ZendeskAccount=require(_0x2986('0xa'));var SalesforceAccount=require(_0x2986('0xb'));var FreshdeskAccount=require(_0x2986('0xc'));var SugarcrmAccount=require(_0x2986('0xd'));var ZohoAccount=require('../model/zohoAccount');var DeskAccount=require(_0x2986('0xe'));var VtigerAccount=require(_0x2986('0xf'));var ServicenowAccount=require(_0x2986('0x10'));var Dynamics365Account=require(_0x2986('0x11'));var FreshsalesAccount=require(_0x2986('0x12'));var FaxAccount=require(_0x2986('0x13'));var Realtime=function(){this[_0x2986('0x14')]={};this[_0x2986('0x15')]={};this[_0x2986('0x16')]={};this[_0x2986('0x17')]={};this[_0x2986('0x18')]={};this[_0x2986('0x19')]={};this[_0x2986('0x1a')]={};this['outbound']={'total':0x0,'answered':0x0,'sumHoldTime':0x0,'sumDuration':0x0,'sumBillable':0x0};this[_0x2986('0x1b')]={};this[_0x2986('0x1c')]={};this[_0x2986('0x1d')]={};this[_0x2986('0x1e')]={};this[_0x2986('0x1f')]={};this[_0x2986('0x20')]={};this[_0x2986('0x21')]={};this[_0x2986('0x22')]={};this[_0x2986('0x23')]={};this[_0x2986('0x24')]={};this[_0x2986('0x25')]={};this['vtigerAccounts']={};this[_0x2986('0x26')]={};this[_0x2986('0x27')]={};this[_0x2986('0x28')]={};this[_0x2986('0x29')]={};};function freeIsNotKey(_0x20434b,_0x4fedee,_0x289e17){var _0x1f707c=_[_0x2986('0x2a')](_0x20434b,function(_0x3b3d6e,_0x4fa472){return _0x3b3d6e[_0x289e17];});for(var _0x54b8b6 in _0x4fedee){if(_0x4fedee[_0x2986('0x2b')](_0x54b8b6)){if(!_0x1f707c[_0x54b8b6]){delete _0x4fedee[_0x54b8b6];}}}}function freeIsNotKeySip(_0x1e923a,_0x3a274e){var _0x47d925=_[_0x2986('0x2a')](_0x1e923a,function(_0x353469,_0x4d2433){return util[_0x2986('0x2c')]('SIP/%s',_0x353469['name']);});for(var _0x4a471e in _0x3a274e){if(_0x3a274e[_0x2986('0x2b')](_0x4a471e)){if(!_0x47d925[_0x4a471e]){delete _0x3a274e[_0x4a471e];}}}}function freeIsNotKeyAgent(_0x50d083,_0xe13b5b){var _0x3b9bfc=_[_0x2986('0x2a')](_0x50d083,function(_0x4ddcf2,_0x56e50b){var _0x33ed83=_['isNil'](_0x4ddcf2['interface'])?util[_0x2986('0x2c')](_0x2986('0x2d'),_0x4ddcf2[_0x2986('0x2e')]):_0x4ddcf2[_0x2986('0x2f')];return _0x33ed83;});for(var _0x4f3dfa in _0xe13b5b){if(_0xe13b5b[_0x2986('0x2b')](_0x4f3dfa)){if(!_0x3b9bfc[_0x4f3dfa]){delete _0xe13b5b[_0x4f3dfa];}}}}function clearVoiceCallReports(_0x1a9fb4){_0x1a9fb4[_0x2986('0x30')]=0x0;_0x1a9fb4[_0x2986('0x31')]=0x0;_0x1a9fb4[_0x2986('0x32')]=0x0;_0x1a9fb4[_0x2986('0x33')]=0x0;_0x1a9fb4[_0x2986('0x34')]=0x0;}function clearCampaigns(_0x4dbd68){if(!_[_0x2986('0x35')](_0x4dbd68)){for(var _0x4feeeb in _0x4dbd68){if(_0x4dbd68[_0x2986('0x2b')](_0x4feeeb)){_0x4dbd68[_0x4feeeb][_0x2986('0x36')]=0x0;_0x4dbd68[_0x4feeeb][_0x2986('0x37')]=0x0;}}}}function clearVoiceQueues(_0x5b71f3){if(!_[_0x2986('0x35')](_0x5b71f3)){for(var _0x332140 in _0x5b71f3){if(_0x5b71f3[_0x2986('0x2b')](_0x332140)){_0x5b71f3[_0x332140][_0x2986('0x30')]=0x0;_0x5b71f3[_0x332140][_0x2986('0x31')]=0x0;_0x5b71f3[_0x332140][_0x2986('0x38')]=0x0;_0x5b71f3[_0x332140][_0x2986('0x39')]=0x0;_0x5b71f3[_0x332140][_0x2986('0x32')]=0x0;_0x5b71f3[_0x332140]['sumDuration']=0x0;_0x5b71f3[_0x332140][_0x2986('0x34')]=0x0;_0x5b71f3[_0x332140]['outboundAnswerAgiCallsDay']=0x0;_0x5b71f3[_0x332140][_0x2986('0x3a')]=0x0;_0x5b71f3[_0x332140][_0x2986('0x3b')]=0x0;_0x5b71f3[_0x332140][_0x2986('0x3c')]=0x0;_0x5b71f3[_0x332140]['outboundNoSuchCallsDay']=0x0;_0x5b71f3[_0x332140]['outboundUnknownCallsDay']=0x0;_0x5b71f3[_0x332140][_0x2986('0x3d')]=0x0;_0x5b71f3[_0x332140]['outboundDropCallsDayCallersExit']=0x0;_0x5b71f3[_0x332140][_0x2986('0x3e')]=0x0;_0x5b71f3[_0x332140][_0x2986('0x3f')]=0x0;_0x5b71f3[_0x332140]['outboundRejectCallsDay']=0x0;_0x5b71f3[_0x332140][_0x2986('0x40')]=0x0;_0x5b71f3[_0x332140]['outboundAnswerAgiCallsDay']=0x0;_0x5b71f3[_0x332140][_0x2986('0x41')]=0x0;_0x5b71f3[_0x332140]['queueStatusComplete']=!![];}}}}Realtime[_0x2986('0x42')][_0x2986('0x43')]=function(_0x2d2b76,_0x6e4a27){for(var _0x1ee2bf in _0x6e4a27){if(_0x2d2b76[_0x2986('0x2b')](_0x1ee2bf)){_0x2d2b76[_0x1ee2bf]=_0x6e4a27[_0x1ee2bf];}}};Realtime[_0x2986('0x42')][_0x2986('0x44')]=function(){var _0x3a061d=this;return function(_0x4b732d){if(_0x4b732d){freeIsNotKeyAgent(_0x4b732d,_0x3a061d[_0x2986('0x14')]);for(var _0x1b703f=0x0,_0x365ceb={},_0x25c23f={};_0x1b703f<_0x4b732d[_0x2986('0x45')];_0x1b703f+=0x1){_0x365ceb=_0x4b732d[_0x1b703f];var _0x3f96d6=_[_0x2986('0x46')](_0x365ceb[_0x2986('0x2f')])?util['format'](_0x2986('0x2d'),_0x365ceb[_0x2986('0x2e')]):_0x365ceb['interface'];if(_[_0x2986('0x47')](_0x3a061d['agents'][_0x3f96d6])){_0x3a061d[_0x2986('0x14')][_0x3f96d6]=new Agent(_0x365ceb);}else{_0x3a061d[_0x2986('0x43')](_0x3a061d[_0x2986('0x14')][_0x3f96d6],_0x365ceb);}}}return _0x3a061d[_0x2986('0x14')];};};Realtime[_0x2986('0x42')][_0x2986('0x48')]=function(){var _0xe3cbd7=this;return function(_0x257e65){if(_0x257e65){freeIsNotKeySip(_0x257e65,_0xe3cbd7[_0x2986('0x15')]);for(var _0x5c52ab=0x0,_0x3362c4={},_0x134a86={};_0x5c52ab<_0x257e65['length'];_0x5c52ab+=0x1){_0x3362c4=_0x257e65[_0x5c52ab];if(_[_0x2986('0x47')](_0xe3cbd7[_0x2986('0x15')][util[_0x2986('0x2c')](_0x2986('0x2d'),_0x3362c4[_0x2986('0x2e')])])){_0xe3cbd7[_0x2986('0x15')][util[_0x2986('0x2c')]('SIP/%s',_0x3362c4[_0x2986('0x2e')])]=new Telephone(_0x3362c4);}else{_0xe3cbd7['mergeFromDatabase'](_0xe3cbd7[_0x2986('0x15')][util[_0x2986('0x2c')](_0x2986('0x2d'),_0x3362c4[_0x2986('0x2e')])],_0x3362c4);}}}return _0xe3cbd7['telephones'];};};Realtime['prototype'][_0x2986('0x49')]=function(){var _0x369e6b=this;return function(_0x5388b3){if(_0x5388b3){freeIsNotKeySip(_0x5388b3,_0x369e6b[_0x2986('0x16')]);for(var _0x1c3444=0x0,_0x1422a2={},_0x107a8c={};_0x1c3444<_0x5388b3[_0x2986('0x45')];_0x1c3444+=0x1){_0x1422a2=_0x5388b3[_0x1c3444];if(_[_0x2986('0x47')](_0x369e6b[_0x2986('0x16')][util[_0x2986('0x2c')](_0x2986('0x2d'),_0x1422a2['name'])])){_0x369e6b[_0x2986('0x16')][util['format'](_0x2986('0x2d'),_0x1422a2['name'])]=new Trunk(_0x1422a2);}else{_0x369e6b[_0x2986('0x43')](_0x369e6b[_0x2986('0x16')][util[_0x2986('0x2c')]('SIP/%s',_0x1422a2[_0x2986('0x2e')])],_0x1422a2);}}}return _0x369e6b[_0x2986('0x16')];};};Realtime[_0x2986('0x42')][_0x2986('0x4a')]=function(){var _0xc6da03=this;return function(_0x383325){if(_0x383325){freeIsNotKey(_0x383325,_0xc6da03[_0x2986('0x17')],_0x2986('0x2e'));for(var _0x19c696=0x0,_0x155a6e={},_0x394c10={};_0x19c696<_0x383325[_0x2986('0x45')];_0x19c696+=0x1){_0x155a6e=_0x383325[_0x19c696];if(_[_0x2986('0x47')](_0xc6da03['voiceQueues'][_0x155a6e[_0x2986('0x2e')]])){_0xc6da03[_0x2986('0x17')][_0x155a6e[_0x2986('0x2e')]]=new VoiceQueue(_0x155a6e);}else{_0xc6da03['mergeFromDatabase'](_0xc6da03[_0x2986('0x17')][_0x155a6e[_0x2986('0x2e')]],_0x155a6e);}}}return _0xc6da03[_0x2986('0x17')];};};Realtime[_0x2986('0x42')]['initTriggers']=function(){var _0x3f215d=this;return function(_0x36b218){if(_0x36b218){freeIsNotKey(_0x36b218,_0x3f215d[_0x2986('0x18')],'id');for(var _0x41d8c0=0x0,_0x1c8234={},_0x2df300={};_0x41d8c0<_0x36b218['length'];_0x41d8c0+=0x1){_0x1c8234=_0x36b218[_0x41d8c0];if(_['isUndefined'](_0x3f215d[_0x2986('0x18')][_0x1c8234['id']])){_0x3f215d['triggers'][_0x1c8234['id']]=new Trigger(_0x1c8234);}else{_0x3f215d['mergeFromDatabase'](_0x3f215d['triggers'][_0x1c8234['id']],_0x1c8234);}}}return _0x3f215d['triggers'];};};Realtime['prototype']['initTemplates']=function(){var _0x3c9a00=this;return function(_0x2f2943){if(_0x2f2943){freeIsNotKey(_0x2f2943,_0x3c9a00[_0x2986('0x1a')],'id');for(var _0x30c417=0x0,_0x546f30={},_0x153cfe={};_0x30c417<_0x2f2943[_0x2986('0x45')];_0x30c417+=0x1){_0x546f30=_0x2f2943[_0x30c417];if(_[_0x2986('0x47')](_0x3c9a00[_0x2986('0x1a')][_0x546f30['id']])){_0x3c9a00['templates'][_0x546f30['id']]=new Template(_0x546f30);}else{_0x3c9a00[_0x2986('0x43')](_0x3c9a00[_0x2986('0x1a')][_0x546f30['id']],_0x546f30);}}}return _0x3c9a00[_0x2986('0x1a')];};};Realtime[_0x2986('0x42')][_0x2986('0x4b')]=function(){var _0x4702e4=this;return function(_0x211bf2){if(_0x211bf2){freeIsNotKey(_0x211bf2,_0x4702e4[_0x2986('0x20')],'id');for(var _0x4f6cd3=0x0,_0x125fab={},_0x53e9c9={};_0x4f6cd3<_0x211bf2[_0x2986('0x45')];_0x4f6cd3+=0x1){_0x125fab=_0x211bf2[_0x4f6cd3];if(_[_0x2986('0x47')](_0x4702e4[_0x2986('0x20')][_0x125fab['id']])){_0x4702e4[_0x2986('0x20')][_0x125fab['id']]=new ZendeskAccount(_0x125fab);}else{_0x4702e4['mergeFromDatabase'](_0x4702e4[_0x2986('0x20')][_0x125fab['id']],_0x125fab);}}}return _0x4702e4['zendeskAccounts'];};};Realtime[_0x2986('0x42')]['initSalesforceAccounts']=function(){var _0x2a1760=this;return function(_0xa5a4ff){if(_0xa5a4ff){freeIsNotKey(_0xa5a4ff,_0x2a1760[_0x2986('0x21')],'id');for(var _0x523671=0x0,_0x1a016f={},_0x17b29a={};_0x523671<_0xa5a4ff[_0x2986('0x45')];_0x523671+=0x1){_0x1a016f=_0xa5a4ff[_0x523671];if(_['isUndefined'](_0x2a1760[_0x2986('0x21')][_0x1a016f['id']])){_0x2a1760[_0x2986('0x21')][_0x1a016f['id']]=new SalesforceAccount(_0x1a016f);}else{_0x2a1760[_0x2986('0x43')](_0x2a1760['salesforceAccounts'][_0x1a016f['id']],_0x1a016f);}}}return _0x2a1760[_0x2986('0x21')];};};Realtime[_0x2986('0x42')][_0x2986('0x4c')]=function(){var _0x1ed7b3=this;return function(_0x1f1127){if(_0x1f1127){freeIsNotKey(_0x1f1127,_0x1ed7b3['freshdeskAccounts'],'id');for(var _0x85c96a=0x0,_0x27480d={},_0x4a1115={};_0x85c96a<_0x1f1127[_0x2986('0x45')];_0x85c96a+=0x1){_0x27480d=_0x1f1127[_0x85c96a];if(_[_0x2986('0x47')](_0x1ed7b3['freshdeskAccounts'][_0x27480d['id']])){_0x1ed7b3['freshdeskAccounts'][_0x27480d['id']]=new FreshdeskAccount(_0x27480d);}else{_0x1ed7b3[_0x2986('0x43')](_0x1ed7b3[_0x2986('0x23')][_0x27480d['id']],_0x27480d);}}}return _0x1ed7b3['freshdeskAccounts'];};};Realtime[_0x2986('0x42')][_0x2986('0x4d')]=function(){var _0x34461f=this;return function(_0x18debd){if(_0x18debd){freeIsNotKey(_0x18debd,_0x34461f[_0x2986('0x24')],'id');for(var _0x338afc=0x0,_0x310cd0={},_0x411101={};_0x338afc<_0x18debd[_0x2986('0x45')];_0x338afc+=0x1){_0x310cd0=_0x18debd[_0x338afc];if(_[_0x2986('0x47')](_0x34461f[_0x2986('0x24')][_0x310cd0['id']])){_0x34461f[_0x2986('0x24')][_0x310cd0['id']]=new ZohoAccount(_0x310cd0);}else{_0x34461f[_0x2986('0x43')](_0x34461f[_0x2986('0x24')][_0x310cd0['id']],_0x310cd0);}}}return _0x34461f['zohoAccounts'];};};Realtime['prototype']['initDeskAccounts']=function(){var _0x562370=this;return function(_0x199264){if(_0x199264){freeIsNotKey(_0x199264,_0x562370[_0x2986('0x25')],'id');for(var _0x48bd44=0x0,_0x2f9db1={},_0x59a892={};_0x48bd44<_0x199264[_0x2986('0x45')];_0x48bd44+=0x1){_0x2f9db1=_0x199264[_0x48bd44];if(_[_0x2986('0x47')](_0x562370[_0x2986('0x25')][_0x2f9db1['id']])){_0x562370[_0x2986('0x25')][_0x2f9db1['id']]=new DeskAccount(_0x2f9db1);}else{_0x562370[_0x2986('0x43')](_0x562370[_0x2986('0x25')][_0x2f9db1['id']],_0x2f9db1);}}}return _0x562370['deskAccounts'];};};Realtime[_0x2986('0x42')][_0x2986('0x4e')]=function(){var _0xa166b1=this;return function(_0x34cbb2){if(_0x34cbb2){freeIsNotKey(_0x34cbb2,_0xa166b1[_0x2986('0x22')],'id');for(var _0x599d4a=0x0,_0xcee345={},_0x43c6ed={};_0x599d4a<_0x34cbb2['length'];_0x599d4a+=0x1){_0xcee345=_0x34cbb2[_0x599d4a];if(_[_0x2986('0x47')](_0xa166b1[_0x2986('0x22')][_0xcee345['id']])){_0xa166b1[_0x2986('0x22')][_0xcee345['id']]=new SugarcrmAccount(_0xcee345);}else{_0xa166b1[_0x2986('0x43')](_0xa166b1['sugarcrmAccounts'][_0xcee345['id']],_0xcee345);}}}return _0xa166b1[_0x2986('0x22')];};};Realtime[_0x2986('0x42')][_0x2986('0x4f')]=function(){var _0x57070c=this;return function(_0x5831ca){if(_0x5831ca){freeIsNotKey(_0x5831ca,_0x57070c[_0x2986('0x50')],'id');for(var _0x4da4a5=0x0,_0x1cf7a9={},_0x28c29b={};_0x4da4a5<_0x5831ca[_0x2986('0x45')];_0x4da4a5+=0x1){_0x1cf7a9=_0x5831ca[_0x4da4a5];if(_[_0x2986('0x47')](_0x57070c[_0x2986('0x50')][_0x1cf7a9['id']])){_0x57070c[_0x2986('0x50')][_0x1cf7a9['id']]=new VtigerAccount(_0x1cf7a9);}else{_0x57070c[_0x2986('0x43')](_0x57070c[_0x2986('0x50')][_0x1cf7a9['id']],_0x1cf7a9);}}}return _0x57070c[_0x2986('0x50')];};};Realtime[_0x2986('0x42')][_0x2986('0x51')]=function(){var _0x9fae21=this;return function(_0x1825bb){if(_0x1825bb){freeIsNotKey(_0x1825bb,_0x9fae21[_0x2986('0x26')],'id');for(var _0x5343bc=0x0,_0x3a9395={},_0x2d0238={};_0x5343bc<_0x1825bb[_0x2986('0x45')];_0x5343bc+=0x1){_0x3a9395=_0x1825bb[_0x5343bc];if(_[_0x2986('0x47')](_0x9fae21['servicenowAccounts'][_0x3a9395['id']])){_0x9fae21['servicenowAccounts'][_0x3a9395['id']]=new ServicenowAccount(_0x3a9395);}else{_0x9fae21[_0x2986('0x43')](_0x9fae21[_0x2986('0x26')][_0x3a9395['id']],_0x3a9395);}}}return _0x9fae21['servicenowAccounts'];};};Realtime['prototype'][_0x2986('0x52')]=function(){var _0x15f546=this;return function(_0xb50fd2){if(_0xb50fd2){freeIsNotKey(_0xb50fd2,_0x15f546[_0x2986('0x27')],'id');for(var _0x42fb37=0x0,_0x31b7b0={},_0x54374c={};_0x42fb37<_0xb50fd2[_0x2986('0x45')];_0x42fb37+=0x1){_0x31b7b0=_0xb50fd2[_0x42fb37];if(_[_0x2986('0x47')](_0x15f546['dynamics365Accounts'][_0x31b7b0['id']])){_0x15f546[_0x2986('0x27')][_0x31b7b0['id']]=new Dynamics365Account(_0x31b7b0);}else{_0x15f546[_0x2986('0x43')](_0x15f546[_0x2986('0x27')][_0x31b7b0['id']],_0x31b7b0);}}}return _0x15f546[_0x2986('0x27')];};};Realtime[_0x2986('0x42')]['initFreshsalesAccounts']=function(){var _0x5c0573=this;return function(_0x1f7202){if(_0x1f7202){freeIsNotKey(_0x1f7202,_0x5c0573[_0x2986('0x28')],'id');for(var _0x38f4f0=0x0,_0x387048={},_0x457374={};_0x38f4f0<_0x1f7202[_0x2986('0x45')];_0x38f4f0+=0x1){_0x387048=_0x1f7202[_0x38f4f0];if(_['isUndefined'](_0x5c0573[_0x2986('0x28')][_0x387048['id']])){_0x5c0573['freshsalesAccounts'][_0x387048['id']]=new FreshsalesAccount(_0x387048);}else{_0x5c0573[_0x2986('0x43')](_0x5c0573[_0x2986('0x28')][_0x387048['id']],_0x387048);}}}return _0x5c0573[_0x2986('0x28')];};};Realtime[_0x2986('0x42')][_0x2986('0x53')]=function(){var _0x1d788d=this;return function(_0x123637){for(var _0xd359ff=0x0;_0xd359ff<_0x123637[_0x2986('0x45')];_0xd359ff+=0x1){_[_0x2986('0x54')](_0x1d788d['voiceQueues'][_0x123637[_0xd359ff][_0x2986('0x2e')]],_0x123637[_0xd359ff]);}return _0x1d788d[_0x2986('0x17')];};};Realtime[_0x2986('0x42')][_0x2986('0x55')]=function(){var _0x2b4f42=this;return function(_0x5ba67c){clearVoiceQueues(_0x2b4f42[_0x2986('0x17')]);if(_0x5ba67c){_0x5ba67c=_[_0x2986('0x56')](_0x5ba67c,_0x2986('0x57'));for(var _0x31c282 in _0x5ba67c){if(_0x5ba67c[_0x2986('0x2b')](_0x31c282)){var _0x410749={};for(var _0x5377ee=0x0;_0x5377ee<_0x5ba67c[_0x31c282][_0x2986('0x45')];_0x5377ee+=0x1){var _0x1f3722=_0x5ba67c[_0x31c282][_0x5377ee][_0x2986('0x58')];if(_0x2b4f42[_0x2986('0x17')][_0x1f3722]){if(_0x5ba67c[_0x31c282][_0x5377ee][_0x2986('0x59')]){_0x2b4f42['voiceQueues'][_0x1f3722][_0x2986('0x38')]+=0x1;}if(_0x5ba67c[_0x31c282][_0x5377ee][_0x2986('0x5a')]){_0x2b4f42['voiceQueues'][_0x1f3722][_0x2986('0x39')]+=0x1;}_0x2b4f42[_0x2986('0x17')][_0x1f3722][_0x2986('0x32')]+=moment(_0x5ba67c[_0x31c282][_0x5377ee][_0x2986('0x5b')])[_0x2986('0x5c')](moment(_0x5ba67c[_0x31c282][_0x5377ee][_0x2986('0x5d')]),_0x2986('0x5e'))||0x0;if(_0x5377ee===_0x5ba67c[_0x31c282][_0x2986('0x45')]-0x1){_0x2b4f42[_0x2986('0x17')][_0x1f3722][_0x2986('0x33')]+=moment(_0x5ba67c[_0x31c282][_0x5377ee][_0x2986('0x5f')]||_0x5ba67c[_0x31c282][_0x5377ee]['queuecallerabandonAt']||_0x5ba67c[_0x31c282][_0x5377ee]['queuecallerexitAt'])[_0x2986('0x5c')](moment(_0x5ba67c[_0x31c282][_0x5377ee]['queuecallerjoinAt']),_0x2986('0x5e'))||0x0;_0x2b4f42[_0x2986('0x17')][_0x1f3722][_0x2986('0x30')]+=0x1;if(_0x5ba67c[_0x31c282][_0x5377ee][_0x2986('0x60')]){_0x2b4f42[_0x2986('0x17')][_0x1f3722]['answered']+=0x1;_0x2b4f42[_0x2986('0x17')][_0x1f3722][_0x2986('0x34')]+=moment(_0x5ba67c[_0x31c282][_0x5377ee][_0x2986('0x5f')])[_0x2986('0x5c')](moment(_0x5ba67c[_0x31c282][_0x5377ee]['queuecallerleaveAt']),_0x2986('0x5e'))||0x0;}}else{_0x2b4f42['voiceQueues'][_0x1f3722][_0x2986('0x33')]+=_0x2b4f42[_0x2986('0x17')][_0x1f3722][_0x2986('0x32')]||0x0;}}}}}}return _0x2b4f42[_0x2986('0x17')];};};Realtime[_0x2986('0x42')]['initVoiceCallReports']=function(){var _0x36d57a=this;return function(_0x47d785){clearVoiceCallReports(_0x36d57a[_0x2986('0x61')]);if(_0x47d785){for(var _0x4a5bc4=0x0;_0x4a5bc4<_0x47d785[_0x2986('0x45')];_0x4a5bc4+=0x1){_0x36d57a[_0x2986('0x61')][_0x2986('0x30')]+=0x1;_0x36d57a[_0x2986('0x61')][_0x2986('0x33')]+=_0x47d785[_0x4a5bc4]['duration'];if(_0x47d785[_0x4a5bc4][_0x2986('0x62')]===_0x2986('0x63')){_0x36d57a[_0x2986('0x61')]['answered']+=0x1;_0x36d57a[_0x2986('0x61')][_0x2986('0x32')]+=_0x47d785[_0x4a5bc4][_0x2986('0x64')]-_0x47d785[_0x4a5bc4][_0x2986('0x65')]||0x0;_0x36d57a['outbound']['sumBillable']+=_0x47d785[_0x4a5bc4]['billableseconds'];}}}return _0x36d57a[_0x2986('0x61')];};};Realtime[_0x2986('0x42')]['initCampaigns']=function(){var _0x2a1824=this;return function(_0x9d239e){if(_0x9d239e){freeIsNotKey(_0x9d239e,_0x2a1824[_0x2986('0x19')],_0x2986('0x2e'));for(var _0x412626=0x0,_0x5d54b5={};_0x412626<_0x9d239e[_0x2986('0x45')];_0x412626+=0x1){_0x5d54b5=_0x9d239e[_0x412626];if(_[_0x2986('0x47')](_0x2a1824[_0x2986('0x19')][_0x5d54b5[_0x2986('0x2e')]])){_0x2a1824[_0x2986('0x19')][_0x5d54b5[_0x2986('0x2e')]]=new Campaign(_0x5d54b5);}else{_0x2a1824[_0x2986('0x43')](_0x2a1824[_0x2986('0x19')][_0x5d54b5[_0x2986('0x2e')]],_0x5d54b5);_0x2a1824[_0x2986('0x19')][_0x5d54b5[_0x2986('0x2e')]][_0x2986('0x66')]=_0x5d54b5[_0x2986('0x67')]?_0x5d54b5['SquareProject'][_0x2986('0x2e')]:undefined;}}}return _0x2a1824['campaigns'];};};Realtime['prototype'][_0x2986('0x68')]=function(){var _0x4c6ed1=this;return function(_0x2ba3d7){if(_0x2ba3d7){freeIsNotKey(_0x2ba3d7,_0x4c6ed1['voiceExtensions'],'id');for(var _0x4ae7d0=0x0,_0x2ea38c={};_0x4ae7d0<_0x2ba3d7['length'];_0x4ae7d0+=0x1){_0x2ea38c=_0x2ba3d7[_0x4ae7d0];if(_['isUndefined'](_0x4c6ed1[_0x2986('0x1b')][_0x2ea38c['id']])){_0x4c6ed1[_0x2986('0x1b')][_0x2ea38c['id']]=new VoiceExtension(_0x2ea38c);}else{_0x4c6ed1[_0x2986('0x43')](_0x4c6ed1['voiceExtensions'][_0x2ea38c['id']],_0x2ea38c);}}}return _0x4c6ed1['voiceExtensions'];};};Realtime[_0x2986('0x42')][_0x2986('0x69')]=function(){var _0x1dd7f9=this;return function(_0x40d431){clearCampaigns(_0x1dd7f9[_0x2986('0x19')]);for(var _0x5c91f6=0x0;_0x5c91f6<_0x40d431[_0x2986('0x45')];_0x5c91f6+=0x1){_[_0x2986('0x54')](_0x1dd7f9[_0x2986('0x19')][_0x40d431[_0x5c91f6][_0x2986('0x2e')]],_0x40d431[_0x5c91f6]);}return _0x1dd7f9[_0x2986('0x19')];};};Realtime[_0x2986('0x42')][_0x2986('0x6a')]=function(){var _0x2f6754=this;return function(_0x4ca50e){if(_0x4ca50e){freeIsNotKey(_0x4ca50e,_0x2f6754[_0x2986('0x29')],'id');for(var _0x2941b3=0x0,_0x32f680={},_0x25fd94={};_0x2941b3<_0x4ca50e[_0x2986('0x45')];_0x2941b3+=0x1){_0x32f680=_0x4ca50e[_0x2941b3];if(_[_0x2986('0x47')](_0x2f6754[_0x2986('0x29')][_0x32f680['id']])){_0x2f6754[_0x2986('0x29')][_0x32f680['id']]=new FaxAccount(_0x32f680);}else{_0x2f6754['mergeFromDatabase'](_0x2f6754['faxAccounts'][_0x32f680['id']],_0x32f680);}}}return _0x2f6754[_0x2986('0x29')];};};module[_0x2986('0x6b')]=Realtime; \ No newline at end of file +var _0x31f7=['outboundAnswerCallsDay','prototype','initAgents','length','isUndefined','mergeFromDatabase','initTelephones','trunks','initVoiceQueues','initTriggers','initTemplates','initZendeskAccounts','zendeskAccounts','initSalesforceAccounts','salesforceAccounts','initFreshdeskAccounts','freshdeskAccounts','initZohoAccounts','initDeskAccounts','initSugarcrmAccounts','initVtigerAccounts','initServicenowAccounts','initDynamics365Accounts','dynamics365Accounts','initFreshsalesAccounts','initVoiceQueueHopperHistory','merge','initVoiceQueueReports','groupBy','queuecallerexit','queuecallerabandon','queuecallerleaveAt','diff','queuecallerjoinAt','seconds','queuecallercompleteAt','queuecallerexitAt','queuecallercomplete','initVoiceCallReports','outbound','duration','disposition','billableseconds','dialQueueProject','SquareProject','initVoiceExtensions','initCampaignHopperHistory','initFaxAccounts','exports','bluebird','util','lodash','moment','../model/agent','../model/trunk','../model/voiceQueue','../model/template','../model/campaign','../model/salesforceAccount','../model/freshdeskAccount','../model/sugarcrmAccount','../model/zohoAccount','../model/vtigerAccount','../model/servicenowAccount','../model/dynamics365Account','../model/faxAccount','agents','telephones','voiceQueues','triggers','campaigns','templates','voiceExtensions','channels','outboundChannels','sugarcrmAccounts','zohoAccounts','deskAccounts','vtigerAccounts','servicenowAccounts','freshsalesAccounts','faxAccounts','mapKeys','hasOwnProperty','format','SIP/%s','isNil','interface','name','total','sumHoldTime','isEmpty','ivrTotalCallsDays','answered','unmanaged','abandoned','sumDuration','sumBillable','outboundAnswerAgiCallsDay','outboundBusyCallsDay','outboundCongestionCallsDay','outboundNoSuchCallsDay','outboundUnknownCallsDay','outboundDropCallsDayCallersExit','outboundBlacklistCallsDay','outboundRejectCallsDay','outboundReCallsDay'];(function(_0x47b58b,_0x41a189){var _0x46bebe=function(_0x22bbfa){while(--_0x22bbfa){_0x47b58b['push'](_0x47b58b['shift']());}};_0x46bebe(++_0x41a189);}(_0x31f7,0x1dd));var _0x731f=function(_0x11757c,_0x2fd356){_0x11757c=_0x11757c-0x0;var _0x5b889e=_0x31f7[_0x11757c];return _0x5b889e;};'use strict';var BPromise=require(_0x731f('0x0'));var util=require(_0x731f('0x1'));var _=require(_0x731f('0x2'));var moment=require(_0x731f('0x3'));var Agent=require(_0x731f('0x4'));var Telephone=require('../model/telephone');var Trunk=require(_0x731f('0x5'));var VoiceQueue=require(_0x731f('0x6'));var Trigger=require('../model/trigger');var Template=require(_0x731f('0x7'));var Campaign=require(_0x731f('0x8'));var VoiceExtension=require('../model/voiceExtension');var ZendeskAccount=require('../model/zendeskAccount');var SalesforceAccount=require(_0x731f('0x9'));var FreshdeskAccount=require(_0x731f('0xa'));var SugarcrmAccount=require(_0x731f('0xb'));var ZohoAccount=require(_0x731f('0xc'));var DeskAccount=require('../model/deskAccount');var VtigerAccount=require(_0x731f('0xd'));var ServicenowAccount=require(_0x731f('0xe'));var Dynamics365Account=require(_0x731f('0xf'));var FreshsalesAccount=require('../model/freshsalesAccount');var FaxAccount=require(_0x731f('0x10'));var Realtime=function(){this[_0x731f('0x11')]={};this[_0x731f('0x12')]={};this['trunks']={};this[_0x731f('0x13')]={};this[_0x731f('0x14')]={};this[_0x731f('0x15')]={};this[_0x731f('0x16')]={};this['outbound']={'total':0x0,'answered':0x0,'sumHoldTime':0x0,'sumDuration':0x0,'sumBillable':0x0};this[_0x731f('0x17')]={};this[_0x731f('0x18')]={};this['queueChannels']={};this[_0x731f('0x19')]={};this['timers']={};this['zendeskAccounts']={};this['salesforceAccounts']={};this[_0x731f('0x1a')]={};this['freshdeskAccounts']={};this[_0x731f('0x1b')]={};this[_0x731f('0x1c')]={};this[_0x731f('0x1d')]={};this[_0x731f('0x1e')]={};this['dynamics365Accounts']={};this[_0x731f('0x1f')]={};this[_0x731f('0x20')]={};};function freeIsNotKey(_0x154ace,_0x30c819,_0x52de7e){var _0x51f3cf=_[_0x731f('0x21')](_0x154ace,function(_0x22f926,_0x56fa30){return _0x22f926[_0x52de7e];});for(var _0x5a64bc in _0x30c819){if(_0x30c819[_0x731f('0x22')](_0x5a64bc)){if(!_0x51f3cf[_0x5a64bc]){delete _0x30c819[_0x5a64bc];}}}}function freeIsNotKeySip(_0x41ed9d,_0xcf7e1b){var _0x55305d=_['mapKeys'](_0x41ed9d,function(_0x1fabd2,_0x212119){return util[_0x731f('0x23')](_0x731f('0x24'),_0x1fabd2['name']);});for(var _0x3e2dcd in _0xcf7e1b){if(_0xcf7e1b['hasOwnProperty'](_0x3e2dcd)){if(!_0x55305d[_0x3e2dcd]){delete _0xcf7e1b[_0x3e2dcd];}}}}function freeIsNotKeyAgent(_0x3d0866,_0x273230){var _0x2104c2=_[_0x731f('0x21')](_0x3d0866,function(_0x44c74f,_0x59c8f7){var _0x8228f9=_[_0x731f('0x25')](_0x44c74f[_0x731f('0x26')])?util['format']('SIP/%s',_0x44c74f[_0x731f('0x27')]):_0x44c74f['interface'];return _0x8228f9;});for(var _0x241bfd in _0x273230){if(_0x273230[_0x731f('0x22')](_0x241bfd)){if(!_0x2104c2[_0x241bfd]){delete _0x273230[_0x241bfd];}}}}function clearVoiceCallReports(_0x54af15){_0x54af15[_0x731f('0x28')]=0x0;_0x54af15['answered']=0x0;_0x54af15[_0x731f('0x29')]=0x0;_0x54af15['sumDuration']=0x0;_0x54af15['sumBillable']=0x0;}function clearCampaigns(_0x3da248){if(!_[_0x731f('0x2a')](_0x3da248)){for(var _0x58eaad in _0x3da248){if(_0x3da248[_0x731f('0x22')](_0x58eaad)){_0x3da248[_0x58eaad][_0x731f('0x2b')]=0x0;_0x3da248[_0x58eaad]['ivrAnswerCallsDay']=0x0;}}}}function clearVoiceQueues(_0x43c775){if(!_[_0x731f('0x2a')](_0x43c775)){for(var _0x72f56e in _0x43c775){if(_0x43c775[_0x731f('0x22')](_0x72f56e)){_0x43c775[_0x72f56e][_0x731f('0x28')]=0x0;_0x43c775[_0x72f56e][_0x731f('0x2c')]=0x0;_0x43c775[_0x72f56e][_0x731f('0x2d')]=0x0;_0x43c775[_0x72f56e][_0x731f('0x2e')]=0x0;_0x43c775[_0x72f56e][_0x731f('0x29')]=0x0;_0x43c775[_0x72f56e][_0x731f('0x2f')]=0x0;_0x43c775[_0x72f56e][_0x731f('0x30')]=0x0;_0x43c775[_0x72f56e][_0x731f('0x31')]=0x0;_0x43c775[_0x72f56e]['outboundNoAnswerCallsDay']=0x0;_0x43c775[_0x72f56e][_0x731f('0x32')]=0x0;_0x43c775[_0x72f56e][_0x731f('0x33')]=0x0;_0x43c775[_0x72f56e][_0x731f('0x34')]=0x0;_0x43c775[_0x72f56e][_0x731f('0x35')]=0x0;_0x43c775[_0x72f56e]['outboundDropCallsDayTimeout']=0x0;_0x43c775[_0x72f56e][_0x731f('0x36')]=0x0;_0x43c775[_0x72f56e][_0x731f('0x37')]=0x0;_0x43c775[_0x72f56e]['outboundOriginateFailureCallsDay']=0x0;_0x43c775[_0x72f56e][_0x731f('0x38')]=0x0;_0x43c775[_0x72f56e][_0x731f('0x39')]=0x0;_0x43c775[_0x72f56e][_0x731f('0x31')]=0x0;_0x43c775[_0x72f56e][_0x731f('0x3a')]=0x0;_0x43c775[_0x72f56e]['queueStatusComplete']=!![];}}}}Realtime[_0x731f('0x3b')]['mergeFromDatabase']=function(_0xcad913,_0x5404a2){for(var _0x4c552b in _0x5404a2){if(_0xcad913[_0x731f('0x22')](_0x4c552b)){_0xcad913[_0x4c552b]=_0x5404a2[_0x4c552b];}}};Realtime['prototype'][_0x731f('0x3c')]=function(){var _0x5ea92b=this;return function(_0x49313a){if(_0x49313a){freeIsNotKeyAgent(_0x49313a,_0x5ea92b[_0x731f('0x11')]);for(var _0x74a5cb=0x0,_0x449cce={},_0x568afd={};_0x74a5cb<_0x49313a[_0x731f('0x3d')];_0x74a5cb+=0x1){_0x449cce=_0x49313a[_0x74a5cb];var _0x86e404=_[_0x731f('0x25')](_0x449cce[_0x731f('0x26')])?util[_0x731f('0x23')](_0x731f('0x24'),_0x449cce[_0x731f('0x27')]):_0x449cce[_0x731f('0x26')];if(_[_0x731f('0x3e')](_0x5ea92b[_0x731f('0x11')][_0x86e404])){_0x5ea92b[_0x731f('0x11')][_0x86e404]=new Agent(_0x449cce);}else{_0x5ea92b[_0x731f('0x3f')](_0x5ea92b[_0x731f('0x11')][_0x86e404],_0x449cce);}}}return _0x5ea92b['agents'];};};Realtime[_0x731f('0x3b')][_0x731f('0x40')]=function(){var _0xd31d1a=this;return function(_0x376168){if(_0x376168){freeIsNotKeySip(_0x376168,_0xd31d1a[_0x731f('0x12')]);for(var _0xb57eb6=0x0,_0x205bf6={},_0x452768={};_0xb57eb6<_0x376168[_0x731f('0x3d')];_0xb57eb6+=0x1){_0x205bf6=_0x376168[_0xb57eb6];if(_[_0x731f('0x3e')](_0xd31d1a['telephones'][util[_0x731f('0x23')]('SIP/%s',_0x205bf6['name'])])){_0xd31d1a[_0x731f('0x12')][util['format'](_0x731f('0x24'),_0x205bf6['name'])]=new Telephone(_0x205bf6);}else{_0xd31d1a[_0x731f('0x3f')](_0xd31d1a[_0x731f('0x12')][util[_0x731f('0x23')](_0x731f('0x24'),_0x205bf6[_0x731f('0x27')])],_0x205bf6);}}}return _0xd31d1a[_0x731f('0x12')];};};Realtime[_0x731f('0x3b')]['initTrunks']=function(){var _0x37005f=this;return function(_0x351bba){if(_0x351bba){freeIsNotKeySip(_0x351bba,_0x37005f['trunks']);for(var _0x2839d2=0x0,_0x2dc3c6={},_0x41f5d0={};_0x2839d2<_0x351bba['length'];_0x2839d2+=0x1){_0x2dc3c6=_0x351bba[_0x2839d2];if(_[_0x731f('0x3e')](_0x37005f[_0x731f('0x41')][util[_0x731f('0x23')](_0x731f('0x24'),_0x2dc3c6[_0x731f('0x27')])])){_0x37005f[_0x731f('0x41')][util[_0x731f('0x23')](_0x731f('0x24'),_0x2dc3c6[_0x731f('0x27')])]=new Trunk(_0x2dc3c6);}else{_0x37005f[_0x731f('0x3f')](_0x37005f[_0x731f('0x41')][util['format'](_0x731f('0x24'),_0x2dc3c6['name'])],_0x2dc3c6);}}}return _0x37005f['trunks'];};};Realtime[_0x731f('0x3b')][_0x731f('0x42')]=function(){var _0x32eae1=this;return function(_0x3a72fb){if(_0x3a72fb){freeIsNotKey(_0x3a72fb,_0x32eae1[_0x731f('0x13')],_0x731f('0x27'));for(var _0x40c9cc=0x0,_0x3d330e={},_0x3d4274={};_0x40c9cc<_0x3a72fb[_0x731f('0x3d')];_0x40c9cc+=0x1){_0x3d330e=_0x3a72fb[_0x40c9cc];if(_['isUndefined'](_0x32eae1[_0x731f('0x13')][_0x3d330e[_0x731f('0x27')]])){_0x32eae1[_0x731f('0x13')][_0x3d330e['name']]=new VoiceQueue(_0x3d330e);}else{_0x32eae1[_0x731f('0x3f')](_0x32eae1[_0x731f('0x13')][_0x3d330e[_0x731f('0x27')]],_0x3d330e);}}}return _0x32eae1[_0x731f('0x13')];};};Realtime[_0x731f('0x3b')][_0x731f('0x43')]=function(){var _0x360871=this;return function(_0xc67449){if(_0xc67449){freeIsNotKey(_0xc67449,_0x360871[_0x731f('0x14')],'id');for(var _0x37b4e1=0x0,_0x16c5b0={},_0x201a3f={};_0x37b4e1<_0xc67449[_0x731f('0x3d')];_0x37b4e1+=0x1){_0x16c5b0=_0xc67449[_0x37b4e1];if(_['isUndefined'](_0x360871['triggers'][_0x16c5b0['id']])){_0x360871['triggers'][_0x16c5b0['id']]=new Trigger(_0x16c5b0);}else{_0x360871[_0x731f('0x3f')](_0x360871[_0x731f('0x14')][_0x16c5b0['id']],_0x16c5b0);}}}return _0x360871[_0x731f('0x14')];};};Realtime[_0x731f('0x3b')][_0x731f('0x44')]=function(){var _0x5c65b2=this;return function(_0x2524cb){if(_0x2524cb){freeIsNotKey(_0x2524cb,_0x5c65b2[_0x731f('0x16')],'id');for(var _0x124a3c=0x0,_0x29deb3={},_0x259b34={};_0x124a3c<_0x2524cb[_0x731f('0x3d')];_0x124a3c+=0x1){_0x29deb3=_0x2524cb[_0x124a3c];if(_[_0x731f('0x3e')](_0x5c65b2[_0x731f('0x16')][_0x29deb3['id']])){_0x5c65b2[_0x731f('0x16')][_0x29deb3['id']]=new Template(_0x29deb3);}else{_0x5c65b2[_0x731f('0x3f')](_0x5c65b2['templates'][_0x29deb3['id']],_0x29deb3);}}}return _0x5c65b2[_0x731f('0x16')];};};Realtime['prototype'][_0x731f('0x45')]=function(){var _0x59b48e=this;return function(_0x5a8b2c){if(_0x5a8b2c){freeIsNotKey(_0x5a8b2c,_0x59b48e[_0x731f('0x46')],'id');for(var _0xc74697=0x0,_0x141d28={},_0x3aeb40={};_0xc74697<_0x5a8b2c[_0x731f('0x3d')];_0xc74697+=0x1){_0x141d28=_0x5a8b2c[_0xc74697];if(_['isUndefined'](_0x59b48e[_0x731f('0x46')][_0x141d28['id']])){_0x59b48e[_0x731f('0x46')][_0x141d28['id']]=new ZendeskAccount(_0x141d28);}else{_0x59b48e['mergeFromDatabase'](_0x59b48e[_0x731f('0x46')][_0x141d28['id']],_0x141d28);}}}return _0x59b48e['zendeskAccounts'];};};Realtime[_0x731f('0x3b')][_0x731f('0x47')]=function(){var _0x4c0c9f=this;return function(_0x51696d){if(_0x51696d){freeIsNotKey(_0x51696d,_0x4c0c9f['salesforceAccounts'],'id');for(var _0x3b84d3=0x0,_0x3e36f3={},_0x53de45={};_0x3b84d3<_0x51696d[_0x731f('0x3d')];_0x3b84d3+=0x1){_0x3e36f3=_0x51696d[_0x3b84d3];if(_[_0x731f('0x3e')](_0x4c0c9f[_0x731f('0x48')][_0x3e36f3['id']])){_0x4c0c9f['salesforceAccounts'][_0x3e36f3['id']]=new SalesforceAccount(_0x3e36f3);}else{_0x4c0c9f[_0x731f('0x3f')](_0x4c0c9f['salesforceAccounts'][_0x3e36f3['id']],_0x3e36f3);}}}return _0x4c0c9f[_0x731f('0x48')];};};Realtime['prototype'][_0x731f('0x49')]=function(){var _0x3d1c79=this;return function(_0x4551e9){if(_0x4551e9){freeIsNotKey(_0x4551e9,_0x3d1c79[_0x731f('0x4a')],'id');for(var _0x4534e1=0x0,_0xc2d9a3={},_0x3bf90d={};_0x4534e1<_0x4551e9[_0x731f('0x3d')];_0x4534e1+=0x1){_0xc2d9a3=_0x4551e9[_0x4534e1];if(_[_0x731f('0x3e')](_0x3d1c79[_0x731f('0x4a')][_0xc2d9a3['id']])){_0x3d1c79[_0x731f('0x4a')][_0xc2d9a3['id']]=new FreshdeskAccount(_0xc2d9a3);}else{_0x3d1c79[_0x731f('0x3f')](_0x3d1c79[_0x731f('0x4a')][_0xc2d9a3['id']],_0xc2d9a3);}}}return _0x3d1c79[_0x731f('0x4a')];};};Realtime[_0x731f('0x3b')][_0x731f('0x4b')]=function(){var _0x4d6956=this;return function(_0x4fa4f7){if(_0x4fa4f7){freeIsNotKey(_0x4fa4f7,_0x4d6956['zohoAccounts'],'id');for(var _0x25be3b=0x0,_0x127b7a={},_0x5347a1={};_0x25be3b<_0x4fa4f7[_0x731f('0x3d')];_0x25be3b+=0x1){_0x127b7a=_0x4fa4f7[_0x25be3b];if(_[_0x731f('0x3e')](_0x4d6956['zohoAccounts'][_0x127b7a['id']])){_0x4d6956[_0x731f('0x1b')][_0x127b7a['id']]=new ZohoAccount(_0x127b7a);}else{_0x4d6956[_0x731f('0x3f')](_0x4d6956[_0x731f('0x1b')][_0x127b7a['id']],_0x127b7a);}}}return _0x4d6956[_0x731f('0x1b')];};};Realtime[_0x731f('0x3b')][_0x731f('0x4c')]=function(){var _0x119b7c=this;return function(_0x51c771){if(_0x51c771){freeIsNotKey(_0x51c771,_0x119b7c['deskAccounts'],'id');for(var _0x1bad86=0x0,_0x3a5477={},_0xa8bb47={};_0x1bad86<_0x51c771[_0x731f('0x3d')];_0x1bad86+=0x1){_0x3a5477=_0x51c771[_0x1bad86];if(_[_0x731f('0x3e')](_0x119b7c['deskAccounts'][_0x3a5477['id']])){_0x119b7c[_0x731f('0x1c')][_0x3a5477['id']]=new DeskAccount(_0x3a5477);}else{_0x119b7c[_0x731f('0x3f')](_0x119b7c['deskAccounts'][_0x3a5477['id']],_0x3a5477);}}}return _0x119b7c[_0x731f('0x1c')];};};Realtime[_0x731f('0x3b')][_0x731f('0x4d')]=function(){var _0x5409ef=this;return function(_0x52e24f){if(_0x52e24f){freeIsNotKey(_0x52e24f,_0x5409ef[_0x731f('0x1a')],'id');for(var _0x5bdd49=0x0,_0x1c2504={},_0x54f285={};_0x5bdd49<_0x52e24f[_0x731f('0x3d')];_0x5bdd49+=0x1){_0x1c2504=_0x52e24f[_0x5bdd49];if(_['isUndefined'](_0x5409ef[_0x731f('0x1a')][_0x1c2504['id']])){_0x5409ef[_0x731f('0x1a')][_0x1c2504['id']]=new SugarcrmAccount(_0x1c2504);}else{_0x5409ef[_0x731f('0x3f')](_0x5409ef[_0x731f('0x1a')][_0x1c2504['id']],_0x1c2504);}}}return _0x5409ef[_0x731f('0x1a')];};};Realtime[_0x731f('0x3b')][_0x731f('0x4e')]=function(){var _0x34910f=this;return function(_0x336642){if(_0x336642){freeIsNotKey(_0x336642,_0x34910f[_0x731f('0x1d')],'id');for(var _0x818521=0x0,_0x5d3abf={},_0x4aaf85={};_0x818521<_0x336642[_0x731f('0x3d')];_0x818521+=0x1){_0x5d3abf=_0x336642[_0x818521];if(_[_0x731f('0x3e')](_0x34910f['vtigerAccounts'][_0x5d3abf['id']])){_0x34910f[_0x731f('0x1d')][_0x5d3abf['id']]=new VtigerAccount(_0x5d3abf);}else{_0x34910f['mergeFromDatabase'](_0x34910f[_0x731f('0x1d')][_0x5d3abf['id']],_0x5d3abf);}}}return _0x34910f['vtigerAccounts'];};};Realtime['prototype'][_0x731f('0x4f')]=function(){var _0x1d0c36=this;return function(_0x30374e){if(_0x30374e){freeIsNotKey(_0x30374e,_0x1d0c36[_0x731f('0x1e')],'id');for(var _0x3ddbc4=0x0,_0x4d0215={},_0x527b44={};_0x3ddbc4<_0x30374e['length'];_0x3ddbc4+=0x1){_0x4d0215=_0x30374e[_0x3ddbc4];if(_['isUndefined'](_0x1d0c36[_0x731f('0x1e')][_0x4d0215['id']])){_0x1d0c36[_0x731f('0x1e')][_0x4d0215['id']]=new ServicenowAccount(_0x4d0215);}else{_0x1d0c36[_0x731f('0x3f')](_0x1d0c36['servicenowAccounts'][_0x4d0215['id']],_0x4d0215);}}}return _0x1d0c36[_0x731f('0x1e')];};};Realtime[_0x731f('0x3b')][_0x731f('0x50')]=function(){var _0x168323=this;return function(_0x381c08){if(_0x381c08){freeIsNotKey(_0x381c08,_0x168323[_0x731f('0x51')],'id');for(var _0x156b79=0x0,_0xa31b60={},_0x8afb50={};_0x156b79<_0x381c08['length'];_0x156b79+=0x1){_0xa31b60=_0x381c08[_0x156b79];if(_[_0x731f('0x3e')](_0x168323[_0x731f('0x51')][_0xa31b60['id']])){_0x168323[_0x731f('0x51')][_0xa31b60['id']]=new Dynamics365Account(_0xa31b60);}else{_0x168323[_0x731f('0x3f')](_0x168323['dynamics365Accounts'][_0xa31b60['id']],_0xa31b60);}}}return _0x168323[_0x731f('0x51')];};};Realtime['prototype'][_0x731f('0x52')]=function(){var _0x62cea4=this;return function(_0x284a42){if(_0x284a42){freeIsNotKey(_0x284a42,_0x62cea4[_0x731f('0x1f')],'id');for(var _0x8f2acb=0x0,_0x37f397={},_0x5c083d={};_0x8f2acb<_0x284a42['length'];_0x8f2acb+=0x1){_0x37f397=_0x284a42[_0x8f2acb];if(_[_0x731f('0x3e')](_0x62cea4[_0x731f('0x1f')][_0x37f397['id']])){_0x62cea4[_0x731f('0x1f')][_0x37f397['id']]=new FreshsalesAccount(_0x37f397);}else{_0x62cea4['mergeFromDatabase'](_0x62cea4['freshsalesAccounts'][_0x37f397['id']],_0x37f397);}}}return _0x62cea4['freshsalesAccounts'];};};Realtime[_0x731f('0x3b')][_0x731f('0x53')]=function(){var _0x5df781=this;return function(_0x39d7d7){for(var _0x34b8c1=0x0;_0x34b8c1<_0x39d7d7['length'];_0x34b8c1+=0x1){_[_0x731f('0x54')](_0x5df781[_0x731f('0x13')][_0x39d7d7[_0x34b8c1][_0x731f('0x27')]],_0x39d7d7[_0x34b8c1]);}return _0x5df781[_0x731f('0x13')];};};Realtime['prototype'][_0x731f('0x55')]=function(){var _0x2fe743=this;return function(_0x1b80f3){clearVoiceQueues(_0x2fe743[_0x731f('0x13')]);if(_0x1b80f3){_0x1b80f3=_[_0x731f('0x56')](_0x1b80f3,'uniqueid');for(var _0xfcf141 in _0x1b80f3){if(_0x1b80f3[_0x731f('0x22')](_0xfcf141)){var _0x10aff6={};for(var _0x209f7f=0x0;_0x209f7f<_0x1b80f3[_0xfcf141]['length'];_0x209f7f+=0x1){var _0x9d7b61=_0x1b80f3[_0xfcf141][_0x209f7f]['queue'];if(_0x2fe743[_0x731f('0x13')][_0x9d7b61]){if(_0x1b80f3[_0xfcf141][_0x209f7f][_0x731f('0x57')]){_0x2fe743[_0x731f('0x13')][_0x9d7b61]['unmanaged']+=0x1;}if(_0x1b80f3[_0xfcf141][_0x209f7f][_0x731f('0x58')]){_0x2fe743[_0x731f('0x13')][_0x9d7b61]['abandoned']+=0x1;}_0x2fe743[_0x731f('0x13')][_0x9d7b61][_0x731f('0x29')]+=moment(_0x1b80f3[_0xfcf141][_0x209f7f][_0x731f('0x59')])[_0x731f('0x5a')](moment(_0x1b80f3[_0xfcf141][_0x209f7f][_0x731f('0x5b')]),_0x731f('0x5c'))||0x0;if(_0x209f7f===_0x1b80f3[_0xfcf141][_0x731f('0x3d')]-0x1){_0x2fe743['voiceQueues'][_0x9d7b61][_0x731f('0x2f')]+=moment(_0x1b80f3[_0xfcf141][_0x209f7f][_0x731f('0x5d')]||_0x1b80f3[_0xfcf141][_0x209f7f]['queuecallerabandonAt']||_0x1b80f3[_0xfcf141][_0x209f7f][_0x731f('0x5e')])[_0x731f('0x5a')](moment(_0x1b80f3[_0xfcf141][_0x209f7f][_0x731f('0x5b')]),_0x731f('0x5c'))||0x0;_0x2fe743['voiceQueues'][_0x9d7b61][_0x731f('0x28')]+=0x1;if(_0x1b80f3[_0xfcf141][_0x209f7f][_0x731f('0x5f')]){_0x2fe743['voiceQueues'][_0x9d7b61][_0x731f('0x2c')]+=0x1;_0x2fe743[_0x731f('0x13')][_0x9d7b61][_0x731f('0x30')]+=moment(_0x1b80f3[_0xfcf141][_0x209f7f]['queuecallercompleteAt'])[_0x731f('0x5a')](moment(_0x1b80f3[_0xfcf141][_0x209f7f][_0x731f('0x59')]),_0x731f('0x5c'))||0x0;}}else{_0x2fe743[_0x731f('0x13')][_0x9d7b61][_0x731f('0x2f')]+=_0x2fe743[_0x731f('0x13')][_0x9d7b61][_0x731f('0x29')]||0x0;}}}}}}return _0x2fe743['voiceQueues'];};};Realtime[_0x731f('0x3b')][_0x731f('0x60')]=function(){var _0x3ebbb4=this;return function(_0x19b4f9){clearVoiceCallReports(_0x3ebbb4['outbound']);if(_0x19b4f9){for(var _0x1ee231=0x0;_0x1ee231<_0x19b4f9[_0x731f('0x3d')];_0x1ee231+=0x1){_0x3ebbb4[_0x731f('0x61')][_0x731f('0x28')]+=0x1;_0x3ebbb4[_0x731f('0x61')][_0x731f('0x2f')]+=_0x19b4f9[_0x1ee231][_0x731f('0x62')];if(_0x19b4f9[_0x1ee231][_0x731f('0x63')]==='ANSWERED'){_0x3ebbb4[_0x731f('0x61')][_0x731f('0x2c')]+=0x1;_0x3ebbb4[_0x731f('0x61')][_0x731f('0x29')]+=_0x19b4f9[_0x1ee231][_0x731f('0x62')]-_0x19b4f9[_0x1ee231][_0x731f('0x64')]||0x0;_0x3ebbb4['outbound'][_0x731f('0x30')]+=_0x19b4f9[_0x1ee231][_0x731f('0x64')];}}}return _0x3ebbb4['outbound'];};};Realtime[_0x731f('0x3b')]['initCampaigns']=function(){var _0x5a7400=this;return function(_0x36fca5){if(_0x36fca5){freeIsNotKey(_0x36fca5,_0x5a7400['campaigns'],_0x731f('0x27'));for(var _0x40dde8=0x0,_0x10a833={};_0x40dde8<_0x36fca5['length'];_0x40dde8+=0x1){_0x10a833=_0x36fca5[_0x40dde8];if(_['isUndefined'](_0x5a7400[_0x731f('0x15')][_0x10a833[_0x731f('0x27')]])){_0x5a7400[_0x731f('0x15')][_0x10a833[_0x731f('0x27')]]=new Campaign(_0x10a833);}else{_0x5a7400['mergeFromDatabase'](_0x5a7400[_0x731f('0x15')][_0x10a833[_0x731f('0x27')]],_0x10a833);_0x5a7400[_0x731f('0x15')][_0x10a833[_0x731f('0x27')]][_0x731f('0x65')]=_0x10a833[_0x731f('0x66')]?_0x10a833['SquareProject'][_0x731f('0x27')]:undefined;}}}return _0x5a7400[_0x731f('0x15')];};};Realtime['prototype'][_0x731f('0x67')]=function(){var _0x150a23=this;return function(_0x43b20e){if(_0x43b20e){freeIsNotKey(_0x43b20e,_0x150a23[_0x731f('0x17')],'id');for(var _0x59ada7=0x0,_0x2d563b={};_0x59ada7<_0x43b20e[_0x731f('0x3d')];_0x59ada7+=0x1){_0x2d563b=_0x43b20e[_0x59ada7];if(_[_0x731f('0x3e')](_0x150a23[_0x731f('0x17')][_0x2d563b['id']])){_0x150a23[_0x731f('0x17')][_0x2d563b['id']]=new VoiceExtension(_0x2d563b);}else{_0x150a23[_0x731f('0x3f')](_0x150a23['voiceExtensions'][_0x2d563b['id']],_0x2d563b);}}}return _0x150a23[_0x731f('0x17')];};};Realtime[_0x731f('0x3b')][_0x731f('0x68')]=function(){var _0x3adcf9=this;return function(_0x4a3869){clearCampaigns(_0x3adcf9[_0x731f('0x15')]);for(var _0x390641=0x0;_0x390641<_0x4a3869[_0x731f('0x3d')];_0x390641+=0x1){_[_0x731f('0x54')](_0x3adcf9['campaigns'][_0x4a3869[_0x390641][_0x731f('0x27')]],_0x4a3869[_0x390641]);}return _0x3adcf9[_0x731f('0x15')];};};Realtime[_0x731f('0x3b')][_0x731f('0x69')]=function(){var _0x52d970=this;return function(_0x2ae8d4){if(_0x2ae8d4){freeIsNotKey(_0x2ae8d4,_0x52d970[_0x731f('0x20')],'id');for(var _0x432273=0x0,_0x1fc078={},_0x446153={};_0x432273<_0x2ae8d4[_0x731f('0x3d')];_0x432273+=0x1){_0x1fc078=_0x2ae8d4[_0x432273];if(_[_0x731f('0x3e')](_0x52d970['faxAccounts'][_0x1fc078['id']])){_0x52d970['faxAccounts'][_0x1fc078['id']]=new FaxAccount(_0x1fc078);}else{_0x52d970[_0x731f('0x3f')](_0x52d970[_0x731f('0x20')][_0x1fc078['id']],_0x1fc078);}}}return _0x52d970[_0x731f('0x20')];};};module[_0x731f('0x6a')]=Realtime; \ No newline at end of file diff --git a/server/services/ami/report/index.js b/server/services/ami/report/index.js index 16343cd..0bf6e38 100644 --- a/server/services/ami/report/index.js +++ b/server/services/ami/report/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x028d=['xcally-motion-preview','calleridpreview','calleridnum','destinationchannel','channel','disposition','ANSWERED','\x22%s\x22\x20<%s>','calleridname','monitor','monitors','monitorFilename','createdAt','connectedlinename','membername','originatecalleridnum','xcally-motion-dialer','isArray','forEach','startsWith','Local','substring','indexOf','mobile','exports','bluebird','lodash','moment','ami','../ami','../rpc/voiceAgentReport','../rpc/voiceDialReport','../rpc/memberReport','../rpc/voiceQueueReport','../rpc/voiceRecording','../rpc/voiceTransferReport','./voiceQueueReport','./voiceCallReport','./voiceAgentReport','./voiceDialReport','./userReport','realtime','agents','telephones','prototype','xdr','disabled','custom:voiceQueueReport','voiceQueueReport','bind','custom:voiceCallReport','voiceCallReport','custom:voiceAgentReport','voiceAgentReport','voiceDialReport','blindtransfer','blindTransfer','attendedtransfer','findAgent','find','accountcode','name','isNil','interface','format','SIP/%s','length','connectedlinenum','assigned','queuecallercomplete','queuecallercompleteAt','queuecallerexit','YYYY-MM-DD\x20HH:mm:ss','create','match','destination','exten','type','dialer','queue','lastdata','context','callerid','from-sip'];(function(_0x4565bf,_0x5ad9d6){var _0x5610ba=function(_0x170988){while(--_0x170988){_0x4565bf['push'](_0x4565bf['shift']());}};_0x5610ba(++_0x5ad9d6);}(_0x028d,0xc1));var _0xd028=function(_0xf66c54,_0xa948bb){_0xf66c54=_0xf66c54-0x0;var _0x222110=_0x028d[_0xf66c54];return _0x222110;};'use strict';var BPromise=require(_0xd028('0x0'));var _=require(_0xd028('0x1'));var moment=require(_0xd028('0x2'));var util=require('util');var config=require('../../../config/environment');var logger=require('../../../config/logger')(_0xd028('0x3'));var ami=require(_0xd028('0x4'));var RpcVoiceAgentReport=require(_0xd028('0x5'));var RpcVoiceCallReport=require('../rpc/voiceCallReport');var RpcVoiceDialReport=require(_0xd028('0x6'));var RpcMemberReport=require(_0xd028('0x7'));var RpcVoiceQueueReport=require(_0xd028('0x8'));var RpcVoiceRecording=require(_0xd028('0x9'));var RpcVoiceTransferReport=require(_0xd028('0xa'));var VoiceQueueReport=require(_0xd028('0xb'));var VoiceCallReport=require(_0xd028('0xc'));var VoiceAgentReport=require(_0xd028('0xd'));var VoiceDialReport=require(_0xd028('0xe'));var UserReport=require(_0xd028('0xf'));function Report(_0x5706f3){this[_0xd028('0x10')]=_0x5706f3;this['agents']=_0x5706f3[_0xd028('0x11')];this[_0xd028('0x12')]=_0x5706f3[_0xd028('0x12')];}Report[_0xd028('0x13')]['sync']=function(_0x13d661){var _0x396cd8=new VoiceQueueReport(this[_0xd028('0x10')]);var _0x450a52=new VoiceAgentReport(this[_0xd028('0x10')]);var _0x192fa2=new VoiceDialReport(this[_0xd028('0x10')]);var _0x952e48=new VoiceCallReport(this[_0xd028('0x10')]);var _0x393a21=new UserReport(this[_0xd028('0x10')]);if(config['xdr']&&config[_0xd028('0x14')][_0xd028('0x15')]){ami['on'](_0xd028('0x16'),this[_0xd028('0x17')][_0xd028('0x18')](this));ami['on'](_0xd028('0x19'),this[_0xd028('0x1a')][_0xd028('0x18')](this));ami['on'](_0xd028('0x1b'),this[_0xd028('0x1c')][_0xd028('0x18')](this));ami['on']('custom:voiceDialReport',this[_0xd028('0x1d')]['bind'](this));ami['on'](_0xd028('0x1e'),this[_0xd028('0x1f')][_0xd028('0x18')](this));ami['on'](_0xd028('0x20'),this['attendedTransfer'][_0xd028('0x18')](this));}};Report[_0xd028('0x13')][_0xd028('0x21')]=function(_0x32b170){var _0x104051=undefined;_0x104051=_[_0xd028('0x22')](this['agents'],function(_0x449280){return _0x449280[_0xd028('0x23')]==_0x32b170||_0x449280[_0xd028('0x24')]==_0x32b170;});if(_[_0xd028('0x25')](_0x104051)){var _0x46978c=_['find'](this[_0xd028('0x12')],function(_0x19469b){return _0x19469b[_0xd028('0x23')]==_0x32b170||_0x19469b['name']==_0x32b170;});if(_0x46978c){_0x104051=_['find'](this[_0xd028('0x11')],function(_0x199a92){return _0x199a92[_0xd028('0x26')]==util[_0xd028('0x27')](_0xd028('0x28'),_0x46978c[_0xd028('0x24')]);});}}return _0x104051;};Report[_0xd028('0x13')][_0xd028('0x17')]=function(_0x158568){for(var _0x4f5ffb=0x0;_0x4f5ffb<_0x158568[_0xd028('0x29')];_0x4f5ffb+=0x1){var _0x288653=this['findAgent'](_0x158568[_0x4f5ffb][_0xd028('0x2a')]);if(_0x288653){_0x158568[_0x4f5ffb][_0xd028('0x23')]=_0x288653[_0xd028('0x23')];_0x158568[_0x4f5ffb][_0xd028('0x2b')]=!![];_0x158568[_0x4f5ffb]['lastAssignedTo']=_0x288653[_0xd028('0x24')];_0x158568[_0x4f5ffb][_0xd028('0x26')]=_[_0xd028('0x25')](_0x288653[_0xd028('0x26')])?util['format'](_0xd028('0x28'),_0x288653[_0xd028('0x24')]):_0x288653['interface'];if(_0x158568[_0x4f5ffb][_0xd028('0x2c')]){_0x158568[_0x4f5ffb][_0xd028('0x2d')]=moment()['format']('YYYY-MM-DD\x20HH:mm:ss');}if(_0x158568[_0x4f5ffb][_0xd028('0x2e')]){_0x158568[_0x4f5ffb]['queuecallerexitAt']=moment()[_0xd028('0x27')](_0xd028('0x2f'));}RpcMemberReport[_0xd028('0x17')](_0x158568[_0x4f5ffb]);}RpcVoiceQueueReport[_0xd028('0x30')](_0x158568[_0x4f5ffb]);}};function extractCalleridNumber(_0x2b7151){var _0xe0e22a=_0x2b7151[_0xd028('0x31')](/<(.*?)>/);return _0xe0e22a?_0xe0e22a[0x1]:_0x2b7151;}Report[_0xd028('0x13')]['voiceCallReport']=function(_0x186877){_0x186877[_0xd028('0x32')]=_0x186877[_0xd028('0x32')]||_0x186877[_0xd028('0x33')];if(_0x186877[_0xd028('0x34')]==_0xd028('0x35')){_0x186877['lastapplication']=_0xd028('0x36');_0x186877[_0xd028('0x37')]=_0x186877[_0xd028('0x36')];if(_0x186877[_0xd028('0x38')]=='from-voip-provider'){_0x186877['accountcode']='';_0x186877[_0xd028('0x32')]=extractCalleridNumber(_0x186877[_0xd028('0x39')]);}else if(_0x186877['context']==_0xd028('0x3a')){if(_0x186877['destination']==_0xd028('0x3b')){_0x186877[_0xd028('0x32')]=extractCalleridNumber(_0x186877[_0xd028('0x3c')]);_0x186877[_0xd028('0x3d')]=_0x186877['originatecalleridnum'];_0x186877[_0xd028('0x3e')]=[_0x186877[_0xd028('0x3f')],_0x186877[_0xd028('0x3f')]=_0x186877[_0xd028('0x3e')]][0x0];_0x186877['callerid']=_0x186877[_0xd028('0x3c')];}else{_0x186877[_0xd028('0x32')]=_0x186877['calleridnum'];_0x186877[_0xd028('0x3d')]=_0x186877['originatecalleridnum'];if(_0x186877[_0xd028('0x40')]==_0xd028('0x41')){_0x186877[_0xd028('0x23')]=_0x186877['connectedlinenum'];}else{_0x186877[_0xd028('0x23')]='';}}}}else{_0x186877[_0xd028('0x39')]=util[_0xd028('0x27')](_0xd028('0x42'),_0x186877[_0xd028('0x43')],_0x186877[_0xd028('0x3d')]);}RpcVoiceCallReport[_0xd028('0x30')](_0x186877);if(_0x186877[_0xd028('0x44')]){for(var _0x49b55e=0x0;_0x49b55e<_0x186877[_0xd028('0x45')][_0xd028('0x29')];_0x49b55e+=0x1){_0x186877[_0xd028('0x46')]=_0x186877['monitors'][_0x49b55e]['filename'];_0x186877['createdAt']=_0x186877[_0xd028('0x45')][_0x49b55e][_0xd028('0x47')];if(_0x186877[_0xd028('0x33')]==_0xd028('0x3b')){_0x186877['calleridnum']=_0x186877['connectedlinenum'];_0x186877[_0xd028('0x43')]=_0x186877[_0xd028('0x48')];_0x186877['connectedlinenum']=_0x186877[_0xd028('0x23')];_0x186877[_0xd028('0x48')]=_0x186877[_0xd028('0x49')];_0x186877['exten']=_0x186877[_0xd028('0x4a')];}else if(_0x186877[_0xd028('0x33')]==_0xd028('0x4b')){_0x186877['calleridnum']=_0x186877[_0xd028('0x32')];_0x186877[_0xd028('0x33')]=_0x186877[_0xd028('0x4a')];}RpcVoiceRecording['create'](_0x186877);}}};Report[_0xd028('0x13')][_0xd028('0x1c')]=function(_0x2c51bb){if(_[_0xd028('0x4c')](_0x2c51bb)){_0x2c51bb[_0xd028('0x4d')](function(_0x5d2cd1){RpcVoiceAgentReport[_0xd028('0x30')](_0x5d2cd1);});}else{RpcVoiceAgentReport[_0xd028('0x30')](_0x2c51bb);}};Report[_0xd028('0x13')][_0xd028('0x1d')]=function(_0x76a301){RpcVoiceDialReport[_0xd028('0x30')](_0x76a301);var _0x4dc610=undefined;var _0x493f7e=_0x76a301[_0xd028('0x3f')];if(_[_0xd028('0x4e')](_0x493f7e,_0xd028('0x4f'))){var _0x2a6853=_0x493f7e[_0xd028('0x50')](_0x493f7e[_0xd028('0x51')]('/')+0x1,_0x493f7e[_0xd028('0x51')]('@'));_0x4dc610=_[_0xd028('0x22')](this['agents'],function(_0x10c3b1){return _0x10c3b1[_0xd028('0x52')]==_0x2a6853||_0x10c3b1['phone']==_0x2a6853||_0x10c3b1['accountcode']==_0x2a6853;});}else{var _0x2a6853=_0x493f7e[_0xd028('0x50')](_0x493f7e[_0xd028('0x51')]('/')+0x1,_0x493f7e['lastIndexOf']('-'));_0x4dc610=this[_0xd028('0x21')](_0x2a6853);}if(_0x4dc610){_0x76a301[_0xd028('0x26')]=_[_0xd028('0x25')](_0x4dc610[_0xd028('0x26')])?util[_0xd028('0x27')](_0xd028('0x28'),_0x4dc610[_0xd028('0x24')]):_0x4dc610[_0xd028('0x26')];_0x76a301[_0xd028('0x49')]=_0x4dc610[_0xd028('0x24')];_0x76a301[_0xd028('0x23')]=_0x4dc610[_0xd028('0x23')];RpcMemberReport['voiceDialReport'](_0x76a301);}};Report[_0xd028('0x13')]['blindTransfer']=function(_0x57b591){RpcVoiceTransferReport[_0xd028('0x1f')](_0x57b591);};Report[_0xd028('0x13')]['attendedTransfer']=function(_0x10154e){RpcVoiceTransferReport['attendedTransfer'](_0x10154e);};module[_0xd028('0x53')]=Report; \ No newline at end of file +var _0x8db9=['assigned','isNil','SIP/%s','queuecallercomplete','queuecallercompleteAt','queuecallerexit','create','match','destination','type','dialer','queue','lastdata','context','from-sip','xcally-motion-preview','calleridpreview','destinationchannel','channel','callerid','calleridnum','originatecalleridnum','disposition','ANSWERED','connectedlinenum','\x22%s\x22\x20<%s>','calleridname','monitor','monitors','monitorFilename','filename','createdAt','connectedlinename','membername','xcally-motion-dialer','exten','isArray','forEach','startsWith','Local','indexOf','phone','substring','lastIndexOf','blindTransfer','exports','bluebird','moment','util','../../../config/environment','../../../config/logger','ami','../ami','../rpc/voiceAgentReport','../rpc/voiceCallReport','../rpc/voiceDialReport','../rpc/voiceRecording','../rpc/voiceTransferReport','./voiceQueueReport','./voiceCallReport','./voiceAgentReport','./voiceDialReport','./userReport','agents','telephones','prototype','realtime','xdr','disabled','custom:voiceQueueReport','voiceQueueReport','bind','custom:voiceCallReport','voiceCallReport','custom:voiceAgentReport','voiceAgentReport','custom:voiceDialReport','voiceDialReport','attendedtransfer','attendedTransfer','findAgent','find','accountcode','interface','format','name'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x8db9,0x186));var _0x98db=function(_0x395c89,_0x56c16d){_0x395c89=_0x395c89-0x0;var _0x21ee23=_0x8db9[_0x395c89];return _0x21ee23;};'use strict';var BPromise=require(_0x98db('0x0'));var _=require('lodash');var moment=require(_0x98db('0x1'));var util=require(_0x98db('0x2'));var config=require(_0x98db('0x3'));var logger=require(_0x98db('0x4'))(_0x98db('0x5'));var ami=require(_0x98db('0x6'));var RpcVoiceAgentReport=require(_0x98db('0x7'));var RpcVoiceCallReport=require(_0x98db('0x8'));var RpcVoiceDialReport=require(_0x98db('0x9'));var RpcMemberReport=require('../rpc/memberReport');var RpcVoiceQueueReport=require('../rpc/voiceQueueReport');var RpcVoiceRecording=require(_0x98db('0xa'));var RpcVoiceTransferReport=require(_0x98db('0xb'));var VoiceQueueReport=require(_0x98db('0xc'));var VoiceCallReport=require(_0x98db('0xd'));var VoiceAgentReport=require(_0x98db('0xe'));var VoiceDialReport=require(_0x98db('0xf'));var UserReport=require(_0x98db('0x10'));function Report(_0x5cc100){this['realtime']=_0x5cc100;this[_0x98db('0x11')]=_0x5cc100[_0x98db('0x11')];this['telephones']=_0x5cc100[_0x98db('0x12')];}Report[_0x98db('0x13')]['sync']=function(_0x1aad9d){var _0x450a1f=new VoiceQueueReport(this[_0x98db('0x14')]);var _0x4d5a0a=new VoiceAgentReport(this[_0x98db('0x14')]);var _0x5cd896=new VoiceDialReport(this['realtime']);var _0x162694=new VoiceCallReport(this[_0x98db('0x14')]);var _0x4fb766=new UserReport(this['realtime']);if(config[_0x98db('0x15')]&&config[_0x98db('0x15')][_0x98db('0x16')]){ami['on'](_0x98db('0x17'),this[_0x98db('0x18')][_0x98db('0x19')](this));ami['on'](_0x98db('0x1a'),this[_0x98db('0x1b')][_0x98db('0x19')](this));ami['on'](_0x98db('0x1c'),this[_0x98db('0x1d')][_0x98db('0x19')](this));ami['on'](_0x98db('0x1e'),this[_0x98db('0x1f')][_0x98db('0x19')](this));ami['on']('blindtransfer',this['blindTransfer'][_0x98db('0x19')](this));ami['on'](_0x98db('0x20'),this[_0x98db('0x21')][_0x98db('0x19')](this));}};Report['prototype'][_0x98db('0x22')]=function(_0x5e2de1){var _0x190177=undefined;_0x190177=_[_0x98db('0x23')](this[_0x98db('0x11')],function(_0x2b7ef3){return _0x2b7ef3['accountcode']==_0x5e2de1||_0x2b7ef3['name']==_0x5e2de1;});if(_['isNil'](_0x190177)){var _0x24960a=_[_0x98db('0x23')](this['telephones'],function(_0x2c2e27){return _0x2c2e27[_0x98db('0x24')]==_0x5e2de1||_0x2c2e27['name']==_0x5e2de1;});if(_0x24960a){_0x190177=_[_0x98db('0x23')](this[_0x98db('0x11')],function(_0x135b7e){return _0x135b7e[_0x98db('0x25')]==util[_0x98db('0x26')]('SIP/%s',_0x24960a[_0x98db('0x27')]);});}}return _0x190177;};Report[_0x98db('0x13')]['voiceQueueReport']=function(_0x123147){for(var _0x529b6f=0x0;_0x529b6f<_0x123147['length'];_0x529b6f+=0x1){var _0x2791fa=this[_0x98db('0x22')](_0x123147[_0x529b6f]['connectedlinenum']);if(_0x2791fa){_0x123147[_0x529b6f][_0x98db('0x24')]=_0x2791fa[_0x98db('0x24')];_0x123147[_0x529b6f][_0x98db('0x28')]=!![];_0x123147[_0x529b6f]['lastAssignedTo']=_0x2791fa[_0x98db('0x27')];_0x123147[_0x529b6f][_0x98db('0x25')]=_[_0x98db('0x29')](_0x2791fa[_0x98db('0x25')])?util[_0x98db('0x26')](_0x98db('0x2a'),_0x2791fa[_0x98db('0x27')]):_0x2791fa['interface'];if(_0x123147[_0x529b6f][_0x98db('0x2b')]){_0x123147[_0x529b6f][_0x98db('0x2c')]=moment()[_0x98db('0x26')]('YYYY-MM-DD\x20HH:mm:ss');}if(_0x123147[_0x529b6f][_0x98db('0x2d')]){_0x123147[_0x529b6f]['queuecallerexitAt']=moment()[_0x98db('0x26')]('YYYY-MM-DD\x20HH:mm:ss');}RpcMemberReport[_0x98db('0x18')](_0x123147[_0x529b6f]);}RpcVoiceQueueReport[_0x98db('0x2e')](_0x123147[_0x529b6f]);}};function extractCalleridNumber(_0x23fc31){var _0x5804eb=_0x23fc31[_0x98db('0x2f')](/<(.*?)>/);return _0x5804eb?_0x5804eb[0x1]:_0x23fc31;}Report[_0x98db('0x13')][_0x98db('0x1b')]=function(_0x27f5ca){_0x27f5ca[_0x98db('0x30')]=_0x27f5ca[_0x98db('0x30')]||_0x27f5ca['exten'];if(_0x27f5ca[_0x98db('0x31')]==_0x98db('0x32')){_0x27f5ca['lastapplication']=_0x98db('0x33');_0x27f5ca[_0x98db('0x34')]=_0x27f5ca[_0x98db('0x33')];if(_0x27f5ca[_0x98db('0x35')]=='from-voip-provider'){_0x27f5ca[_0x98db('0x24')]='';_0x27f5ca[_0x98db('0x30')]=extractCalleridNumber(_0x27f5ca['callerid']);}else if(_0x27f5ca[_0x98db('0x35')]==_0x98db('0x36')){if(_0x27f5ca['destination']==_0x98db('0x37')){_0x27f5ca[_0x98db('0x30')]=extractCalleridNumber(_0x27f5ca[_0x98db('0x38')]);_0x27f5ca['calleridnum']=_0x27f5ca['originatecalleridnum'];_0x27f5ca[_0x98db('0x39')]=[_0x27f5ca[_0x98db('0x3a')],_0x27f5ca[_0x98db('0x3a')]=_0x27f5ca[_0x98db('0x39')]][0x0];_0x27f5ca[_0x98db('0x3b')]=_0x27f5ca[_0x98db('0x38')];}else{_0x27f5ca[_0x98db('0x30')]=_0x27f5ca[_0x98db('0x3c')];_0x27f5ca[_0x98db('0x3c')]=_0x27f5ca[_0x98db('0x3d')];if(_0x27f5ca[_0x98db('0x3e')]==_0x98db('0x3f')){_0x27f5ca[_0x98db('0x24')]=_0x27f5ca[_0x98db('0x40')];}else{_0x27f5ca[_0x98db('0x24')]='';}}}}else{_0x27f5ca[_0x98db('0x3b')]=util['format'](_0x98db('0x41'),_0x27f5ca[_0x98db('0x42')],_0x27f5ca[_0x98db('0x3c')]);}RpcVoiceCallReport[_0x98db('0x2e')](_0x27f5ca);if(_0x27f5ca[_0x98db('0x43')]){for(var _0x32f976=0x0;_0x32f976<_0x27f5ca[_0x98db('0x44')]['length'];_0x32f976+=0x1){_0x27f5ca[_0x98db('0x45')]=_0x27f5ca[_0x98db('0x44')][_0x32f976][_0x98db('0x46')];_0x27f5ca['createdAt']=_0x27f5ca[_0x98db('0x44')][_0x32f976][_0x98db('0x47')];if(_0x27f5ca['exten']==_0x98db('0x37')){_0x27f5ca['calleridnum']=_0x27f5ca['connectedlinenum'];_0x27f5ca[_0x98db('0x42')]=_0x27f5ca[_0x98db('0x48')];_0x27f5ca[_0x98db('0x40')]=_0x27f5ca[_0x98db('0x24')];_0x27f5ca[_0x98db('0x48')]=_0x27f5ca[_0x98db('0x49')];_0x27f5ca['exten']=_0x27f5ca[_0x98db('0x3d')];}else if(_0x27f5ca['exten']==_0x98db('0x4a')){_0x27f5ca[_0x98db('0x3c')]=_0x27f5ca['destination'];_0x27f5ca[_0x98db('0x4b')]=_0x27f5ca[_0x98db('0x3d')];}RpcVoiceRecording[_0x98db('0x2e')](_0x27f5ca);}}};Report[_0x98db('0x13')][_0x98db('0x1d')]=function(_0x3ee837){if(_[_0x98db('0x4c')](_0x3ee837)){_0x3ee837[_0x98db('0x4d')](function(_0x335494){RpcVoiceAgentReport[_0x98db('0x2e')](_0x335494);});}else{RpcVoiceAgentReport[_0x98db('0x2e')](_0x3ee837);}};Report[_0x98db('0x13')][_0x98db('0x1f')]=function(_0x74e98){RpcVoiceDialReport['create'](_0x74e98);var _0x277cbd=undefined;var _0x27f6dd=_0x74e98[_0x98db('0x3a')];if(_[_0x98db('0x4e')](_0x27f6dd,_0x98db('0x4f'))){var _0x5cc744=_0x27f6dd['substring'](_0x27f6dd['indexOf']('/')+0x1,_0x27f6dd[_0x98db('0x50')]('@'));_0x277cbd=_[_0x98db('0x23')](this['agents'],function(_0x2b5a28){return _0x2b5a28['mobile']==_0x5cc744||_0x2b5a28[_0x98db('0x51')]==_0x5cc744||_0x2b5a28['accountcode']==_0x5cc744;});}else{var _0x5cc744=_0x27f6dd[_0x98db('0x52')](_0x27f6dd[_0x98db('0x50')]('/')+0x1,_0x27f6dd[_0x98db('0x53')]('-'));_0x277cbd=this[_0x98db('0x22')](_0x5cc744);}if(_0x277cbd){_0x74e98[_0x98db('0x25')]=_[_0x98db('0x29')](_0x277cbd[_0x98db('0x25')])?util[_0x98db('0x26')]('SIP/%s',_0x277cbd[_0x98db('0x27')]):_0x277cbd[_0x98db('0x25')];_0x74e98['membername']=_0x277cbd[_0x98db('0x27')];_0x74e98[_0x98db('0x24')]=_0x277cbd[_0x98db('0x24')];RpcMemberReport[_0x98db('0x1f')](_0x74e98);}};Report[_0x98db('0x13')][_0x98db('0x54')]=function(_0x9464d3){RpcVoiceTransferReport[_0x98db('0x54')](_0x9464d3);};Report['prototype'][_0x98db('0x21')]=function(_0x101f82){RpcVoiceTransferReport[_0x98db('0x21')](_0x101f82);};module[_0x98db('0x55')]=Report; \ No newline at end of file diff --git a/server/services/ami/report/userReport.js b/server/services/ami/report/userReport.js index b73278e..0c5a228 100644 --- a/server/services/ami/report/userReport.js +++ b/server/services/ami/report/userReport.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xa989=['Local','indexOf','mobile','accountcode','peer','registered','status','address','updateStatusRealtime','[syncPeerStatus][UserReport]','exports','lodash','moment','bluebird','util','ioredis','../../../config/environment','ami','../ami','defaults','localhost','socket.io-emitter','redis','trunks','agents','telephones','registryentry','syncRegistry','registry','bind','syncDeviceState','peerstatus','loopSyncRealTimeShow','resolve','then','actionDeviceStateList','catch','error','inspect','prototype','actionSipPeerStatus','[loopSyncRealTimeShow]','isNotNull','emit','find','username','stateRegistry','merge','omit','event','state','format','trunk:%s','name','trunk:save','[syncRegistry][UserReport]','device','local','toLowerCase','inuse','stateTime','toNumber','telephone:%s','telephone:save','startsWith','Queue'];(function(_0x17cb8d,_0x100bc8){var _0xf271d1=function(_0x30089d){while(--_0x30089d){_0x17cb8d['push'](_0x17cb8d['shift']());}};_0xf271d1(++_0x100bc8);}(_0xa989,0xd1));var _0x9a98=function(_0x51e8c9,_0x2824db){_0x51e8c9=_0x51e8c9-0x0;var _0x465dd1=_0xa989[_0x51e8c9];return _0x465dd1;};'use strict';var _=require(_0x9a98('0x0'));var moment=require(_0x9a98('0x1'));var BPromise=require(_0x9a98('0x2'));var util=require(_0x9a98('0x3'));var Redis=require(_0x9a98('0x4'));var config=require(_0x9a98('0x5'));var logger=require('../../../config/logger')(_0x9a98('0x6'));var ami=require(_0x9a98('0x7'));config['redis']=_[_0x9a98('0x8')](config['redis'],{'host':_0x9a98('0x9'),'port':0x18eb});var io=require(_0x9a98('0xa'))(new Redis(config[_0x9a98('0xb')]));function UserReport(_0x39d092){this[_0x9a98('0xc')]=_0x39d092[_0x9a98('0xc')];this['agents']=_0x39d092[_0x9a98('0xd')];this[_0x9a98('0xe')]=_0x39d092[_0x9a98('0xe')];ami['on'](_0x9a98('0xf'),this[_0x9a98('0x10')]['bind'](this));ami['on'](_0x9a98('0x11'),this[_0x9a98('0x10')][_0x9a98('0x12')](this));ami['on']('devicestatechange',this[_0x9a98('0x13')][_0x9a98('0x12')](this));ami['on'](_0x9a98('0x14'),this['syncPeerStatus'][_0x9a98('0x12')](this));this[_0x9a98('0x15')]();return BPromise[_0x9a98('0x16')]()[_0x9a98('0x17')](ami['actionSipShowRegistry']())[_0x9a98('0x17')](ami[_0x9a98('0x18')]())[_0x9a98('0x17')](ami['actionSipPeerStatus']())[_0x9a98('0x19')](loggerCatch('[loopSyncRealTimeShow]'));}function loggerCatch(_0x4c0c9f){return function(_0x159027){logger[_0x9a98('0x1a')](_0x4c0c9f,util[_0x9a98('0x1b')](_0x159027,{'showHidden':![],'depth':null}));};}UserReport[_0x9a98('0x1c')][_0x9a98('0x15')]=function(){setInterval(function(){BPromise['resolve']()[_0x9a98('0x17')](ami['actionSipShowRegistry']())['then'](ami[_0x9a98('0x18')]())[_0x9a98('0x17')](ami[_0x9a98('0x1d')]())['catch'](loggerCatch(_0x9a98('0x1e')));},0x32c8);};UserReport['prototype'][_0x9a98('0x1f')]=function(_0xa84f0f){return _0xa84f0f!==null&&!_['isUndefined'](_0xa84f0f);};UserReport[_0x9a98('0x1c')][_0x9a98('0x20')]=function(_0x438749,_0x2b8350,_0x5d81d9){io['to'](_0x438749)[_0x9a98('0x20')](_0x2b8350,_0x5d81d9);};UserReport[_0x9a98('0x1c')][_0x9a98('0x10')]=function(_0x48f0a3){try{if(this[_0x9a98('0x1f')](_0x48f0a3)){var _0x3d7937=_[_0x9a98('0x21')](this[_0x9a98('0xc')],{'registry':_0x48f0a3[_0x9a98('0x22')]});if(_0x3d7937){_0x48f0a3[_0x9a98('0x23')]=_0x48f0a3['state'];_[_0x9a98('0x24')](_0x3d7937,_[_0x9a98('0x25')](_0x48f0a3,[_0x9a98('0x26'),'actionid',_0x9a98('0x22'),_0x9a98('0x27')]));this[_0x9a98('0x20')](util[_0x9a98('0x28')](_0x9a98('0x29'),_0x3d7937[_0x9a98('0x2a')]),_0x9a98('0x2b'),_0x3d7937);}}}catch(_0x46fe18){logger[_0x9a98('0x1a')](_0x9a98('0x2c'),util[_0x9a98('0x1b')](_0x46fe18,{'showHidden':![],'depth':null}));}};UserReport[_0x9a98('0x1c')][_0x9a98('0x13')]=function(_0x5ddf82){try{if(this[_0x9a98('0x1f')](_0x5ddf82)){if(this[_0x9a98('0xd')][_0x5ddf82[_0x9a98('0x2d')]]){if(!this['agents'][_0x5ddf82['device']][_0x9a98('0x2e')]||_0x5ddf82[_0x9a98('0x27')][_0x9a98('0x2f')]()==_0x9a98('0x30')){this[_0x9a98('0xd')][_0x5ddf82[_0x9a98('0x2d')]][_0x9a98('0x2e')]=![];if(this['agents'][_0x5ddf82[_0x9a98('0x2d')]][_0x9a98('0x27')]!==_0x5ddf82[_0x9a98('0x27')][_0x9a98('0x2f')]()){this[_0x9a98('0xd')][_0x5ddf82[_0x9a98('0x2d')]][_0x9a98('0x31')]=_[_0x9a98('0x32')](moment()[_0x9a98('0x28')]('x'));}this['agents'][_0x5ddf82['device']][_0x9a98('0x27')]=_0x5ddf82[_0x9a98('0x27')]['toLowerCase']();this['agents'][_0x5ddf82[_0x9a98('0x2d')]]['updateStatusRealtime'](_0x5ddf82);}}else if(this[_0x9a98('0xe')][_0x5ddf82[_0x9a98('0x2d')]]){if(this[_0x9a98('0xe')][_0x5ddf82[_0x9a98('0x2d')]][_0x9a98('0x27')]!==_0x5ddf82['state'][_0x9a98('0x2f')]()){this[_0x9a98('0xe')][_0x5ddf82[_0x9a98('0x2d')]][_0x9a98('0x31')]=_[_0x9a98('0x32')](moment()[_0x9a98('0x28')]('x'));}this[_0x9a98('0xe')][_0x5ddf82[_0x9a98('0x2d')]][_0x9a98('0x27')]=_0x5ddf82[_0x9a98('0x27')][_0x9a98('0x2f')]();this[_0x9a98('0x20')](util[_0x9a98('0x28')](_0x9a98('0x33'),this[_0x9a98('0xe')][_0x5ddf82[_0x9a98('0x2d')]][_0x9a98('0x2a')]),_0x9a98('0x34'),this[_0x9a98('0xe')][_0x5ddf82['device']]);}else if(this[_0x9a98('0xc')][_0x5ddf82[_0x9a98('0x2d')]]){if(this[_0x9a98('0xc')][_0x5ddf82[_0x9a98('0x2d')]]['state']!==_0x5ddf82[_0x9a98('0x27')]['toLowerCase']()){this['trunks'][_0x5ddf82[_0x9a98('0x2d')]][_0x9a98('0x31')]=_[_0x9a98('0x32')](moment()[_0x9a98('0x28')]('x'));}this['trunks'][_0x5ddf82[_0x9a98('0x2d')]][_0x9a98('0x27')]=_0x5ddf82[_0x9a98('0x27')][_0x9a98('0x2f')]();this[_0x9a98('0x20')](util[_0x9a98('0x28')](_0x9a98('0x29'),this[_0x9a98('0xc')][_0x5ddf82['device']][_0x9a98('0x2a')]),_0x9a98('0x2b'),this[_0x9a98('0xc')][_0x5ddf82['device']]);}else if(_[_0x9a98('0x35')](_0x5ddf82[_0x9a98('0x2d')],_0x9a98('0x36'))){}else if(_[_0x9a98('0x35')](_0x5ddf82['device'],_0x9a98('0x37'))){var _0x2c6d34=_0x5ddf82[_0x9a98('0x2d')];var _0x1d1226=_0x2c6d34['substring'](_0x2c6d34['indexOf']('/')+0x1,_0x2c6d34[_0x9a98('0x38')]('@'));var _0x39fcb6=_[_0x9a98('0x21')](this['agents'],function(_0x443c0f){return _0x443c0f[_0x9a98('0x39')]==_0x1d1226||_0x443c0f['phone']==_0x1d1226||_0x443c0f[_0x9a98('0x3a')]==_0x1d1226;});if(_0x39fcb6){if(_0x39fcb6['state']!==_0x5ddf82[_0x9a98('0x27')][_0x9a98('0x2f')]()){_0x39fcb6['stateTime']=_[_0x9a98('0x32')](moment()['format']('x'));}_0x39fcb6['state']=_0x5ddf82[_0x9a98('0x27')][_0x9a98('0x2f')]();_0x39fcb6[_0x9a98('0x2e')]=!![];_0x39fcb6['updateStatusRealtime'](_0x5ddf82);}}else{}}}catch(_0xae4b4b){logger[_0x9a98('0x1a')]('[syncDeviceState][UserReport]',util[_0x9a98('0x1b')](_0xae4b4b,{'showHidden':![],'depth':null}));}};UserReport[_0x9a98('0x1c')]['syncPeerStatus']=function(_0x1fd738){try{if(this[_0x9a98('0x1f')](_0x1fd738)&&this[_0x9a98('0x1f')](_0x1fd738['peerstatus'])){if(this[_0x9a98('0xd')][_0x1fd738[_0x9a98('0x3b')]]){if(!this['agents'][_0x1fd738[_0x9a98('0x3b')]][_0x9a98('0x2e')]||_0x1fd738['peerstatus'][_0x9a98('0x2f')]()==_0x9a98('0x3c')){this[_0x9a98('0xd')][_0x1fd738[_0x9a98('0x3b')]]['local']=![];this[_0x9a98('0xd')][_0x1fd738['peer']][_0x9a98('0x3d')]=_0x1fd738[_0x9a98('0x14')][_0x9a98('0x2f')]();this[_0x9a98('0xd')][_0x1fd738[_0x9a98('0x3b')]][_0x9a98('0x3e')]=_0x1fd738['address'];this[_0x9a98('0xd')][_0x1fd738[_0x9a98('0x3b')]][_0x9a98('0x3f')](_0x1fd738);}}else if(this['telephones'][_0x1fd738[_0x9a98('0x3b')]]){this[_0x9a98('0xe')][_0x1fd738['peer']][_0x9a98('0x3d')]=_0x1fd738[_0x9a98('0x14')][_0x9a98('0x2f')]();this[_0x9a98('0xe')][_0x1fd738[_0x9a98('0x3b')]][_0x9a98('0x3e')]=_0x1fd738['address'];this[_0x9a98('0x20')](util[_0x9a98('0x28')]('telephone:%s',this['telephones'][_0x1fd738[_0x9a98('0x3b')]][_0x9a98('0x2a')]),_0x9a98('0x34'),this[_0x9a98('0xe')][_0x1fd738[_0x9a98('0x3b')]]);}else if(this[_0x9a98('0xc')][_0x1fd738[_0x9a98('0x3b')]]){this[_0x9a98('0xc')][_0x1fd738['peer']][_0x9a98('0x3d')]=_0x1fd738['peerstatus']['toLowerCase']();this['trunks'][_0x1fd738[_0x9a98('0x3b')]][_0x9a98('0x3e')]=_0x1fd738[_0x9a98('0x3e')];this[_0x9a98('0x20')](util['format'](_0x9a98('0x29'),this['trunks'][_0x1fd738[_0x9a98('0x3b')]][_0x9a98('0x2a')]),_0x9a98('0x2b'),this[_0x9a98('0xc')][_0x1fd738['peer']]);}else{}}}catch(_0xb9f81e){logger['error'](_0x9a98('0x40'),util[_0x9a98('0x1b')](_0xb9f81e,{'showHidden':![],'depth':null}));}};module[_0x9a98('0x41')]=UserReport; \ No newline at end of file +var _0x278a=['format','trunk:%s','name','trunk:save','error','inspect','syncDeviceState','device','local','toNumber','toLowerCase','stateTime','telephone:%s','startsWith','Queue','Local','substring','indexOf','accountcode','updateStatusRealtime','[syncDeviceState][UserReport]','peerstatus','peer','registered','address','status','telephone:save','[syncPeerStatus][UserReport]','exports','lodash','moment','util','ioredis','../../../config/environment','ami','../ami','redis','defaults','localhost','socket.io-emitter','trunks','agents','telephones','bind','registry','syncRegistry','devicestatechange','syncPeerStatus','loopSyncRealTimeShow','resolve','then','actionSipShowRegistry','actionDeviceStateList','actionSipPeerStatus','catch','[loopSyncRealTimeShow]','prototype','isNotNull','isUndefined','emit','find','username','stateRegistry','state','merge','omit','event','actionid'];(function(_0x567132,_0x3671ac){var _0x16effb=function(_0x51e036){while(--_0x51e036){_0x567132['push'](_0x567132['shift']());}};_0x16effb(++_0x3671ac);}(_0x278a,0x171));var _0xa278=function(_0x3dd725,_0x5b888f){_0x3dd725=_0x3dd725-0x0;var _0x5c8ac5=_0x278a[_0x3dd725];return _0x5c8ac5;};'use strict';var _=require(_0xa278('0x0'));var moment=require(_0xa278('0x1'));var BPromise=require('bluebird');var util=require(_0xa278('0x2'));var Redis=require(_0xa278('0x3'));var config=require(_0xa278('0x4'));var logger=require('../../../config/logger')(_0xa278('0x5'));var ami=require(_0xa278('0x6'));config[_0xa278('0x7')]=_[_0xa278('0x8')](config[_0xa278('0x7')],{'host':_0xa278('0x9'),'port':0x18eb});var io=require(_0xa278('0xa'))(new Redis(config['redis']));function UserReport(_0x478837){this[_0xa278('0xb')]=_0x478837['trunks'];this['agents']=_0x478837[_0xa278('0xc')];this['telephones']=_0x478837[_0xa278('0xd')];ami['on']('registryentry',this['syncRegistry'][_0xa278('0xe')](this));ami['on'](_0xa278('0xf'),this[_0xa278('0x10')]['bind'](this));ami['on'](_0xa278('0x11'),this['syncDeviceState'][_0xa278('0xe')](this));ami['on']('peerstatus',this[_0xa278('0x12')][_0xa278('0xe')](this));this[_0xa278('0x13')]();return BPromise[_0xa278('0x14')]()[_0xa278('0x15')](ami[_0xa278('0x16')]())[_0xa278('0x15')](ami[_0xa278('0x17')]())[_0xa278('0x15')](ami[_0xa278('0x18')]())[_0xa278('0x19')](loggerCatch(_0xa278('0x1a')));}function loggerCatch(_0xc10f1d){return function(_0x227389){logger['error'](_0xc10f1d,util['inspect'](_0x227389,{'showHidden':![],'depth':null}));};}UserReport['prototype'][_0xa278('0x13')]=function(){setInterval(function(){BPromise[_0xa278('0x14')]()[_0xa278('0x15')](ami[_0xa278('0x16')]())['then'](ami[_0xa278('0x17')]())[_0xa278('0x15')](ami[_0xa278('0x18')]())['catch'](loggerCatch(_0xa278('0x1a')));},0x32c8);};UserReport[_0xa278('0x1b')][_0xa278('0x1c')]=function(_0x1be73d){return _0x1be73d!==null&&!_[_0xa278('0x1d')](_0x1be73d);};UserReport[_0xa278('0x1b')][_0xa278('0x1e')]=function(_0x77351e,_0x32f5ca,_0x1fe716){io['to'](_0x77351e)[_0xa278('0x1e')](_0x32f5ca,_0x1fe716);};UserReport[_0xa278('0x1b')][_0xa278('0x10')]=function(_0xdc67d9){try{if(this[_0xa278('0x1c')](_0xdc67d9)){var _0x250b3b=_[_0xa278('0x1f')](this[_0xa278('0xb')],{'registry':_0xdc67d9[_0xa278('0x20')]});if(_0x250b3b){_0xdc67d9[_0xa278('0x21')]=_0xdc67d9[_0xa278('0x22')];_[_0xa278('0x23')](_0x250b3b,_[_0xa278('0x24')](_0xdc67d9,[_0xa278('0x25'),_0xa278('0x26'),_0xa278('0x20'),_0xa278('0x22')]));this[_0xa278('0x1e')](util[_0xa278('0x27')](_0xa278('0x28'),_0x250b3b[_0xa278('0x29')]),_0xa278('0x2a'),_0x250b3b);}}}catch(_0x5bcb2f){logger[_0xa278('0x2b')]('[syncRegistry][UserReport]',util[_0xa278('0x2c')](_0x5bcb2f,{'showHidden':![],'depth':null}));}};UserReport[_0xa278('0x1b')][_0xa278('0x2d')]=function(_0x29f1f1){try{if(this[_0xa278('0x1c')](_0x29f1f1)){if(this['agents'][_0x29f1f1[_0xa278('0x2e')]]){if(!this[_0xa278('0xc')][_0x29f1f1[_0xa278('0x2e')]][_0xa278('0x2f')]||_0x29f1f1['state']['toLowerCase']()=='inuse'){this[_0xa278('0xc')][_0x29f1f1['device']][_0xa278('0x2f')]=![];if(this[_0xa278('0xc')][_0x29f1f1[_0xa278('0x2e')]][_0xa278('0x22')]!==_0x29f1f1[_0xa278('0x22')]['toLowerCase']()){this[_0xa278('0xc')][_0x29f1f1[_0xa278('0x2e')]]['stateTime']=_[_0xa278('0x30')](moment()[_0xa278('0x27')]('x'));}this[_0xa278('0xc')][_0x29f1f1['device']]['state']=_0x29f1f1[_0xa278('0x22')][_0xa278('0x31')]();this['agents'][_0x29f1f1[_0xa278('0x2e')]]['updateStatusRealtime'](_0x29f1f1);}}else if(this[_0xa278('0xd')][_0x29f1f1[_0xa278('0x2e')]]){if(this[_0xa278('0xd')][_0x29f1f1[_0xa278('0x2e')]][_0xa278('0x22')]!==_0x29f1f1['state'][_0xa278('0x31')]()){this[_0xa278('0xd')][_0x29f1f1[_0xa278('0x2e')]][_0xa278('0x32')]=_['toNumber'](moment()[_0xa278('0x27')]('x'));}this['telephones'][_0x29f1f1[_0xa278('0x2e')]]['state']=_0x29f1f1[_0xa278('0x22')]['toLowerCase']();this[_0xa278('0x1e')](util['format'](_0xa278('0x33'),this[_0xa278('0xd')][_0x29f1f1[_0xa278('0x2e')]][_0xa278('0x29')]),'telephone:save',this[_0xa278('0xd')][_0x29f1f1[_0xa278('0x2e')]]);}else if(this[_0xa278('0xb')][_0x29f1f1[_0xa278('0x2e')]]){if(this[_0xa278('0xb')][_0x29f1f1['device']][_0xa278('0x22')]!==_0x29f1f1['state'][_0xa278('0x31')]()){this[_0xa278('0xb')][_0x29f1f1[_0xa278('0x2e')]][_0xa278('0x32')]=_[_0xa278('0x30')](moment()['format']('x'));}this['trunks'][_0x29f1f1[_0xa278('0x2e')]][_0xa278('0x22')]=_0x29f1f1[_0xa278('0x22')][_0xa278('0x31')]();this[_0xa278('0x1e')](util['format'](_0xa278('0x28'),this[_0xa278('0xb')][_0x29f1f1[_0xa278('0x2e')]][_0xa278('0x29')]),_0xa278('0x2a'),this['trunks'][_0x29f1f1[_0xa278('0x2e')]]);}else if(_[_0xa278('0x34')](_0x29f1f1[_0xa278('0x2e')],_0xa278('0x35'))){}else if(_[_0xa278('0x34')](_0x29f1f1[_0xa278('0x2e')],_0xa278('0x36'))){var _0x5507db=_0x29f1f1[_0xa278('0x2e')];var _0x931214=_0x5507db[_0xa278('0x37')](_0x5507db[_0xa278('0x38')]('/')+0x1,_0x5507db[_0xa278('0x38')]('@'));var _0x4a5e1f=_['find'](this[_0xa278('0xc')],function(_0x26d0b8){return _0x26d0b8['mobile']==_0x931214||_0x26d0b8['phone']==_0x931214||_0x26d0b8[_0xa278('0x39')]==_0x931214;});if(_0x4a5e1f){if(_0x4a5e1f[_0xa278('0x22')]!==_0x29f1f1[_0xa278('0x22')][_0xa278('0x31')]()){_0x4a5e1f[_0xa278('0x32')]=_[_0xa278('0x30')](moment()[_0xa278('0x27')]('x'));}_0x4a5e1f[_0xa278('0x22')]=_0x29f1f1[_0xa278('0x22')][_0xa278('0x31')]();_0x4a5e1f[_0xa278('0x2f')]=!![];_0x4a5e1f[_0xa278('0x3a')](_0x29f1f1);}}else{}}}catch(_0x2389e0){logger[_0xa278('0x2b')](_0xa278('0x3b'),util[_0xa278('0x2c')](_0x2389e0,{'showHidden':![],'depth':null}));}};UserReport[_0xa278('0x1b')][_0xa278('0x12')]=function(_0x20dacd){try{if(this['isNotNull'](_0x20dacd)&&this[_0xa278('0x1c')](_0x20dacd[_0xa278('0x3c')])){if(this[_0xa278('0xc')][_0x20dacd['peer']]){if(!this[_0xa278('0xc')][_0x20dacd[_0xa278('0x3d')]][_0xa278('0x2f')]||_0x20dacd[_0xa278('0x3c')][_0xa278('0x31')]()==_0xa278('0x3e')){this[_0xa278('0xc')][_0x20dacd['peer']][_0xa278('0x2f')]=![];this[_0xa278('0xc')][_0x20dacd['peer']]['status']=_0x20dacd[_0xa278('0x3c')][_0xa278('0x31')]();this[_0xa278('0xc')][_0x20dacd[_0xa278('0x3d')]][_0xa278('0x3f')]=_0x20dacd[_0xa278('0x3f')];this[_0xa278('0xc')][_0x20dacd[_0xa278('0x3d')]][_0xa278('0x3a')](_0x20dacd);}}else if(this[_0xa278('0xd')][_0x20dacd[_0xa278('0x3d')]]){this[_0xa278('0xd')][_0x20dacd[_0xa278('0x3d')]][_0xa278('0x40')]=_0x20dacd[_0xa278('0x3c')]['toLowerCase']();this['telephones'][_0x20dacd[_0xa278('0x3d')]]['address']=_0x20dacd['address'];this[_0xa278('0x1e')](util[_0xa278('0x27')](_0xa278('0x33'),this[_0xa278('0xd')][_0x20dacd[_0xa278('0x3d')]][_0xa278('0x29')]),_0xa278('0x41'),this[_0xa278('0xd')][_0x20dacd[_0xa278('0x3d')]]);}else if(this[_0xa278('0xb')][_0x20dacd['peer']]){this[_0xa278('0xb')][_0x20dacd[_0xa278('0x3d')]]['status']=_0x20dacd[_0xa278('0x3c')]['toLowerCase']();this[_0xa278('0xb')][_0x20dacd[_0xa278('0x3d')]]['address']=_0x20dacd['address'];this[_0xa278('0x1e')](util['format'](_0xa278('0x28'),this['trunks'][_0x20dacd[_0xa278('0x3d')]][_0xa278('0x29')]),_0xa278('0x2a'),this['trunks'][_0x20dacd['peer']]);}else{}}}catch(_0x2a08be){logger[_0xa278('0x2b')](_0xa278('0x42'),util[_0xa278('0x2c')](_0x2a08be,{'showHidden':![],'depth':null}));}};module[_0xa278('0x43')]=UserReport; \ No newline at end of file diff --git a/server/services/ami/report/voiceAgentReport.js b/server/services/ami/report/voiceAgentReport.js index d6b73c5..cb4e265 100644 --- a/server/services/ami/report/voiceAgentReport.js +++ b/server/services/ami/report/voiceAgentReport.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x28ae=['[syncQueueCallerAbandon][VoiceAgentReport]','agentcompleteAt','transfer','agent','acw','agentacw','user:agentcomplete','custom:agentcomplete','addVariable','keys','[syncVarSet][VoiceAgentReport]','rtpaudioqos','rtpaudioqosbridged','rtpaudioqosjitterbridged','rtpaudioqosloss','rtpaudioqosrtt','rtpaudioqosrttbridged','sipcallid','sipuri','bridgepeer','membercalls','memberdynamic','memberinterface','memberlastcall','memberrealtime','isNil','includes','syncHangup','custom:voiceAgentReport','values','[syncHangup][VoiceAgentReport]','syncAttendedTransfer','transfereeuniqueid','origtransfereruniqueid','talktime','diff','seconds','secondtransfereruniqueid','[syncAttendedTransfer][VoiceAgentReport]','transfereruniqueid','complete','[syncBlindTransfer][VoiceAgentReport]','channel','onhold','[syncMusicOnHoldStart][VoiceAgentReport]','lastIndexOf','[syncMusicOnHoldStop][VoiceAgentReport]','exports','lodash','moment','util','../../../config/environment','../../../config/logger','ami','../ami','redis','defaults','localhost','channels','voiceQueues','agents','variables','agentcalled','syncAgentCalled','bind','agentringnoanswer','syncAgentRingNoAnswer','queuecallerabandon','syncQueueCallerAbandon','agentcomplete','syncAgentComplete','varset','syncVarSet','hangup','musiconholdstart','syncMusicOnHoldStart','musiconholdstop','syncMusicOnHoldStop','blindtransfer','syncBlindTransfer','prototype','emit','isUndefined','isNotNull','uniqueid','destuniqueid','format','YYYY-MM-DD\x20HH:mm:ss','called','queue','type','inbound','omit','event','privilege','user:%s','membername','user:called','error','[syncAgentCalled][VoiceAgentReport]','inspect','syncAgentConnect','hasOwnProperty','agentconnectAt','lastevent','connect','holdtime','connectedlinenum','connectedlinename','destchannelstate','destchannelstatedesc','interface','pick','destconnectedlinenum','user:agentconnect','custom:agentconnect','agentringnoanswerAt','answered_elsewhere','answeredelsewheredestinationuniqueid','reason','rejected','[syncAgentRingNoAnswer][VoiceAgentReport]','abandoned'];(function(_0x591979,_0x662ad){var _0x3bce64=function(_0x4cb583){while(--_0x4cb583){_0x591979['push'](_0x591979['shift']());}};_0x3bce64(++_0x662ad);}(_0x28ae,0xab));var _0xe28a=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x28ae[_0x3dd15e];return _0x231fd0;};'use strict';var _=require(_0xe28a('0x0'));var moment=require(_0xe28a('0x1'));var util=require(_0xe28a('0x2'));var Redis=require('ioredis');var config=require(_0xe28a('0x3'));var logger=require(_0xe28a('0x4'))(_0xe28a('0x5'));var ami=require(_0xe28a('0x6'));config[_0xe28a('0x7')]=_[_0xe28a('0x8')](config['redis'],{'host':_0xe28a('0x9'),'port':0x18eb});var io=require('socket.io-emitter')(new Redis(config[_0xe28a('0x7')]));function VoiceAgentReport(_0x5c58a2){this[_0xe28a('0xa')]={};this['voiceQueues']=_0x5c58a2[_0xe28a('0xb')];this[_0xe28a('0xc')]=_0x5c58a2['agents'];this[_0xe28a('0xd')]={};ami['on'](_0xe28a('0xe'),this[_0xe28a('0xf')][_0xe28a('0x10')](this));ami['on']('agentconnect',this['syncAgentConnect'][_0xe28a('0x10')](this));ami['on'](_0xe28a('0x11'),this[_0xe28a('0x12')][_0xe28a('0x10')](this));ami['on'](_0xe28a('0x13'),this[_0xe28a('0x14')][_0xe28a('0x10')](this));ami['on'](_0xe28a('0x15'),this[_0xe28a('0x16')][_0xe28a('0x10')](this));ami['on'](_0xe28a('0x17'),this[_0xe28a('0x18')]['bind'](this));ami['on'](_0xe28a('0x19'),this['syncHangup'][_0xe28a('0x10')](this));ami['on'](_0xe28a('0x1a'),this[_0xe28a('0x1b')][_0xe28a('0x10')](this));ami['on'](_0xe28a('0x1c'),this[_0xe28a('0x1d')][_0xe28a('0x10')](this));ami['on']('attendedtransfer',this['syncAttendedTransfer']['bind'](this));ami['on'](_0xe28a('0x1e'),this[_0xe28a('0x1f')][_0xe28a('0x10')](this));}VoiceAgentReport[_0xe28a('0x20')]['emit']=function(_0x435c47,_0x251a70,_0x83d040){io['to'](_0x435c47)[_0xe28a('0x21')](_0x251a70,_0x83d040);};VoiceAgentReport[_0xe28a('0x20')]['isNotNull']=function(_0x531e77){return _0x531e77!==null&&!_[_0xe28a('0x22')](_0x531e77);};VoiceAgentReport[_0xe28a('0x20')][_0xe28a('0xf')]=function(_0x312001){try{if(this[_0xe28a('0x23')](_0x312001)){if(_[_0xe28a('0x22')](this[_0xe28a('0xa')][_0x312001[_0xe28a('0x24')]])){this[_0xe28a('0xa')][_0x312001['uniqueid']]={};}if(_['isUndefined'](this['channels'][_0x312001[_0xe28a('0x24')]][_0x312001[_0xe28a('0x25')]])){this[_0xe28a('0xa')][_0x312001[_0xe28a('0x24')]][_0x312001[_0xe28a('0x25')]]={'agentcalledAt':moment()[_0xe28a('0x26')](_0xe28a('0x27')),'lastevent':_0xe28a('0x28'),'variables':this[_0xe28a('0xd')][_0x312001[_0xe28a('0x24')]],'type':this[_0xe28a('0xb')][_0x312001[_0xe28a('0x29')]]?this[_0xe28a('0xb')][_0x312001[_0xe28a('0x29')]][_0xe28a('0x2a')]||'inbound':_0xe28a('0x2b')};}_['merge'](this['channels'][_0x312001['uniqueid']][_0x312001[_0xe28a('0x25')]],_[_0xe28a('0x2c')](_0x312001,[_0xe28a('0x2d'),_0xe28a('0x2e')]));ami['emit']('custom:agentcalled',this[_0xe28a('0xa')][_0x312001[_0xe28a('0x24')]][_0x312001[_0xe28a('0x25')]]);this['emit'](util[_0xe28a('0x26')](_0xe28a('0x2f'),_0x312001[_0xe28a('0x30')]),_0xe28a('0x31'),this[_0xe28a('0xa')][_0x312001[_0xe28a('0x24')]][_0x312001['destuniqueid']]);}}catch(_0x180b3b){logger[_0xe28a('0x32')](_0xe28a('0x33'),util[_0xe28a('0x34')](_0x180b3b,{'showHidden':![],'depth':null}));}};VoiceAgentReport[_0xe28a('0x20')][_0xe28a('0x35')]=function(_0x1331fc){try{if(this[_0xe28a('0x23')](_0x1331fc)){if(this['channels'][_0x1331fc['uniqueid']]){for(var _0x24317c in this[_0xe28a('0xa')][_0x1331fc[_0xe28a('0x24')]]){if(this[_0xe28a('0xa')][_0x1331fc['uniqueid']][_0xe28a('0x36')](_0x24317c)){if(_0x1331fc['destuniqueid']===_0x24317c){this[_0xe28a('0xa')][_0x1331fc[_0xe28a('0x24')]][_0x24317c][_0xe28a('0x37')]=moment()['format'](_0xe28a('0x27'));this['channels'][_0x1331fc[_0xe28a('0x24')]][_0x24317c][_0xe28a('0x38')]=_0xe28a('0x39');this[_0xe28a('0xa')][_0x1331fc['uniqueid']][_0x24317c][_0xe28a('0x3a')]=_0x1331fc[_0xe28a('0x3a')];this[_0xe28a('0xa')][_0x1331fc[_0xe28a('0x24')]][_0x24317c][_0xe28a('0x3b')]=_0x1331fc[_0xe28a('0x3b')];this['channels'][_0x1331fc['uniqueid']][_0x24317c][_0xe28a('0x3c')]=_0x1331fc[_0xe28a('0x3c')];this['channels'][_0x1331fc[_0xe28a('0x24')]][_0x24317c][_0xe28a('0x3d')]=_0x1331fc[_0xe28a('0x3d')];this[_0xe28a('0xa')][_0x1331fc[_0xe28a('0x24')]][_0x24317c][_0xe28a('0x3e')]=_0x1331fc['destchannelstatedesc'];_['merge'](this['agents'][_0x1331fc[_0xe28a('0x3f')]],_[_0xe28a('0x40')](_0x1331fc,[_0xe28a('0x29'),_0xe28a('0x41')]));this[_0xe28a('0x21')](util['format'](_0xe28a('0x2f'),_0x1331fc[_0xe28a('0x30')]),_0xe28a('0x42'),this['channels'][_0x1331fc[_0xe28a('0x24')]][_0x1331fc['destuniqueid']]);ami[_0xe28a('0x21')](_0xe28a('0x43'),this[_0xe28a('0xa')][_0x1331fc['uniqueid']][_0x24317c]);}else if(!this[_0xe28a('0xa')][_0x1331fc[_0xe28a('0x24')]][_0x24317c]['agentringnoanswer']&&!this[_0xe28a('0xa')][_0x1331fc[_0xe28a('0x24')]][_0x24317c][_0xe28a('0x15')]){this[_0xe28a('0xa')][_0x1331fc['uniqueid']][_0x24317c][_0xe28a('0x11')]=!![];this[_0xe28a('0xa')][_0x1331fc[_0xe28a('0x24')]][_0x24317c][_0xe28a('0x44')]=moment()[_0xe28a('0x26')](_0xe28a('0x27'));this['channels'][_0x1331fc[_0xe28a('0x24')]][_0x24317c]['reason']=_0xe28a('0x45');this[_0xe28a('0xa')][_0x1331fc['uniqueid']][_0x24317c][_0xe28a('0x38')]=_0xe28a('0x45');this[_0xe28a('0xa')][_0x1331fc[_0xe28a('0x24')]][_0x24317c][_0xe28a('0x46')]=_0x1331fc[_0xe28a('0x25')];this[_0xe28a('0xa')][_0x1331fc[_0xe28a('0x24')]][_0x24317c]['answeredelsewheremembername']=_0x1331fc[_0xe28a('0x30')];ami[_0xe28a('0x21')]('custom:agentansweredelsewhere',this['channels'][_0x1331fc[_0xe28a('0x24')]][_0x24317c]);}}}}}}catch(_0x3e507f){logger[_0xe28a('0x32')]('[syncAgentConnect][VoiceAgentReport]',util['inspect'](_0x3e507f,{'showHidden':![],'depth':null}));}};VoiceAgentReport[_0xe28a('0x20')][_0xe28a('0x12')]=function(_0x136053){try{if(this[_0xe28a('0x23')](_0x136053)){if(this[_0xe28a('0xa')][_0x136053['uniqueid']]&&this[_0xe28a('0xa')][_0x136053[_0xe28a('0x24')]][_0x136053[_0xe28a('0x25')]]){this['channels'][_0x136053[_0xe28a('0x24')]][_0x136053[_0xe28a('0x25')]]['agentringnoanswer']=!![];this['channels'][_0x136053[_0xe28a('0x24')]][_0x136053[_0xe28a('0x25')]][_0xe28a('0x44')]=moment()[_0xe28a('0x26')]('YYYY-MM-DD\x20HH:mm:ss');this['channels'][_0x136053[_0xe28a('0x24')]][_0x136053['destuniqueid']][_0xe28a('0x47')]='rejected';this['channels'][_0x136053['uniqueid']][_0x136053[_0xe28a('0x25')]][_0xe28a('0x38')]=_0xe28a('0x48');ami[_0xe28a('0x21')]('custom:agentringnoanswer',this['channels'][_0x136053[_0xe28a('0x24')]][_0x136053[_0xe28a('0x25')]]);}}}catch(_0xbbc862){logger['error'](_0xe28a('0x49'),util[_0xe28a('0x34')](_0xbbc862,{'showHidden':![],'depth':null}));}};VoiceAgentReport[_0xe28a('0x20')]['syncQueueCallerAbandon']=function(_0x308348){try{if(this[_0xe28a('0x23')](_0x308348)){if(this[_0xe28a('0xa')][_0x308348[_0xe28a('0x24')]]){for(var _0x30b8ce in this[_0xe28a('0xa')][_0x308348[_0xe28a('0x24')]]){if(this['channels'][_0x308348[_0xe28a('0x24')]][_0xe28a('0x36')](_0x30b8ce)&&!this[_0xe28a('0xa')][_0x308348['uniqueid']][_0x30b8ce][_0xe28a('0x11')]&&!this[_0xe28a('0xa')][_0x308348[_0xe28a('0x24')]][_0x30b8ce][_0xe28a('0x15')]){this['channels'][_0x308348[_0xe28a('0x24')]][_0x30b8ce][_0xe28a('0x11')]=!![];this[_0xe28a('0xa')][_0x308348[_0xe28a('0x24')]][_0x30b8ce]['agentringnoanswerAt']=moment()[_0xe28a('0x26')](_0xe28a('0x27'));this[_0xe28a('0xa')][_0x308348[_0xe28a('0x24')]][_0x30b8ce][_0xe28a('0x47')]=_0xe28a('0x4a');this[_0xe28a('0xa')][_0x308348[_0xe28a('0x24')]][_0x30b8ce][_0xe28a('0x38')]=_0xe28a('0x4a');ami['emit']('custom:agentqueuecallerabandon',this[_0xe28a('0xa')][_0x308348[_0xe28a('0x24')]][_0x30b8ce]);}}}}}catch(_0x4d8e36){logger[_0xe28a('0x32')](_0xe28a('0x4b'),util[_0xe28a('0x34')](_0x4d8e36,{'showHidden':![],'depth':null}));}};VoiceAgentReport[_0xe28a('0x20')][_0xe28a('0x16')]=function(_0x33f37d){try{if(this[_0xe28a('0x23')](_0x33f37d)){if(this[_0xe28a('0xa')][_0x33f37d['uniqueid']]){for(var _0x1c7b47 in this[_0xe28a('0xa')][_0x33f37d[_0xe28a('0x24')]]){if(this['channels'][_0x33f37d['uniqueid']]['hasOwnProperty'](_0x1c7b47)){if(this[_0xe28a('0xa')][_0x33f37d[_0xe28a('0x24')]][_0x1c7b47][_0xe28a('0x37')]&&!this[_0xe28a('0xa')][_0x33f37d[_0xe28a('0x24')]][_0x1c7b47][_0xe28a('0x15')]){this[_0xe28a('0xa')][_0x33f37d[_0xe28a('0x24')]][_0x1c7b47][_0xe28a('0x15')]=!![];this[_0xe28a('0xa')][_0x33f37d['uniqueid']][_0x1c7b47][_0xe28a('0x4c')]=moment()[_0xe28a('0x26')](_0xe28a('0x27'));this[_0xe28a('0xa')][_0x33f37d[_0xe28a('0x24')]][_0x1c7b47][_0xe28a('0x38')]='complete';this['channels'][_0x33f37d[_0xe28a('0x24')]][_0x1c7b47]['talktime']=_0x33f37d['talktime'];this[_0xe28a('0xa')][_0x33f37d[_0xe28a('0x24')]][_0x1c7b47][_0xe28a('0x47')]=_0x33f37d[_0xe28a('0x47')]==_0xe28a('0x4d')?_0xe28a('0x4e'):_0x33f37d[_0xe28a('0x47')];if(this[_0xe28a('0xb')][_0x33f37d[_0xe28a('0x29')]]&&this[_0xe28a('0xb')][_0x33f37d[_0xe28a('0x29')]][_0xe28a('0x4f')]){this[_0xe28a('0xa')][_0x33f37d[_0xe28a('0x24')]][_0x1c7b47][_0xe28a('0x50')]=!![];this[_0xe28a('0xa')][_0x33f37d[_0xe28a('0x24')]][_0x1c7b47]['acwtime']=this[_0xe28a('0xb')][_0x33f37d['queue']]['acwTimeout'];}this[_0xe28a('0xc')][_0x33f37d['interface']]=_[_0xe28a('0x2c')](this[_0xe28a('0xc')][_0x33f37d['interface']],[_0xe28a('0x29'),'destconnectedlinenum']);this[_0xe28a('0x21')](util[_0xe28a('0x26')](_0xe28a('0x2f'),_0x33f37d[_0xe28a('0x30')]),_0xe28a('0x51'),this[_0xe28a('0xa')][_0x33f37d[_0xe28a('0x24')]][_0x1c7b47]);ami['emit'](_0xe28a('0x52'),this[_0xe28a('0xa')][_0x33f37d[_0xe28a('0x24')]][_0x1c7b47]);}}}}}}catch(_0x5d93af){logger[_0xe28a('0x32')]('[syncAgentComplete][VoiceAgentReport]',util[_0xe28a('0x34')](_0x5d93af,{'showHidden':![],'depth':null}));}};VoiceAgentReport[_0xe28a('0x20')][_0xe28a('0x18')]=function(_0x720202){try{if(this[_0xe28a('0x23')](_0x720202)){this[_0xe28a('0x53')](_0x720202['uniqueid'],_[_0xe28a('0x54')](_0x720202['variable'])[0x0],_0x720202['value']);if(this['channels'][_0x720202[_0xe28a('0x24')]]){for(var _0x211110 in this['channels'][_0x720202[_0xe28a('0x24')]]){if(this[_0xe28a('0xa')][_0x720202[_0xe28a('0x24')]][_0xe28a('0x36')](_0x211110)){if(_[_0xe28a('0x22')](this[_0xe28a('0xa')][_0x720202['uniqueid']][_0x211110][_0xe28a('0xd')])){this[_0xe28a('0xa')][_0x720202[_0xe28a('0x24')]][_0x211110][_0xe28a('0xd')]={};}this[_0xe28a('0xa')][_0x720202['uniqueid']][_0x211110][_0xe28a('0xd')]=this['variables'][_0x720202[_0xe28a('0x24')]];}}}}}catch(_0xeeeafa){logger[_0xe28a('0x32')](_0xe28a('0x55'),util[_0xe28a('0x34')](_0xeeeafa,{'showHidden':![],'depth':null}));}};VoiceAgentReport[_0xe28a('0x20')][_0xe28a('0x53')]=function(_0x4fc0a9,_0x5d7b35,_0x219990){var _0x544f95=[_0xe28a('0x56'),_0xe28a('0x57'),'rtpaudioqosjitter',_0xe28a('0x58'),_0xe28a('0x59'),'rtpaudioqoslossbridged',_0xe28a('0x5a'),_0xe28a('0x5b'),_0xe28a('0x5c'),_0xe28a('0x5d'),_0xe28a('0x5e'),'bridgepvtcallid',_0xe28a('0x5f'),_0xe28a('0x60'),_0xe28a('0x61'),_0xe28a('0x62'),_0xe28a('0x30'),'memberpenalty',_0xe28a('0x63')];if(!_[_0xe28a('0x64')](_0x5d7b35)&&!_[_0xe28a('0x65')](_0x544f95,_0x5d7b35)){if(_[_0xe28a('0x22')](this[_0xe28a('0xd')][_0x4fc0a9])){this['variables'][_0x4fc0a9]={};}this[_0xe28a('0xd')][_0x4fc0a9][_0x5d7b35]=_0x219990;}};VoiceAgentReport[_0xe28a('0x20')][_0xe28a('0x66')]=function(_0x118342){try{if(this[_0xe28a('0x23')](_0x118342)){if(this['channels'][_0x118342[_0xe28a('0x24')]]){for(var _0x530170 in this[_0xe28a('0xa')][_0x118342[_0xe28a('0x24')]]){if(this[_0xe28a('0xa')][_0x118342[_0xe28a('0x24')]][_0xe28a('0x36')](_0x530170)){if(this['channels'][_0x118342[_0xe28a('0x24')]][_0x530170]['reason']=='transfer'&&this['channels'][_0x118342['uniqueid']][_0x530170]['agentcomplete']){this[_0xe28a('0xa')][_0x118342[_0xe28a('0x24')]][_0x530170]['agentcompleteAt']=moment()[_0xe28a('0x26')](_0xe28a('0x27'));}}}ami['emit'](_0xe28a('0x67'),_[_0xe28a('0x68')](this[_0xe28a('0xa')][_0x118342[_0xe28a('0x24')]]));delete this['channels'][_0x118342[_0xe28a('0x24')]];}if(this[_0xe28a('0xd')][_0x118342[_0xe28a('0x24')]]){delete this['variables'][_0x118342['uniqueid']];}}}catch(_0x4a47bb){logger['error'](_0xe28a('0x69'),util[_0xe28a('0x34')](_0x4a47bb,{'showHidden':![],'depth':null}));}};VoiceAgentReport['prototype'][_0xe28a('0x6a')]=function(_0x3503ba){try{if(this[_0xe28a('0x23')](_0x3503ba)){if(this['channels'][_0x3503ba[_0xe28a('0x6b')]]){for(var _0x4df40a in this[_0xe28a('0xa')][_0x3503ba[_0xe28a('0x6b')]]){if(this[_0xe28a('0xa')][_0x3503ba[_0xe28a('0x6b')]][_0xe28a('0x36')](_0x4df40a)){if(_0x3503ba[_0xe28a('0x6c')]===_0x4df40a){var _0x182267=moment();this[_0xe28a('0xa')][_0x3503ba[_0xe28a('0x6b')]][_0x4df40a][_0xe28a('0x15')]=!![];this['channels'][_0x3503ba['transfereeuniqueid']][_0x4df40a][_0xe28a('0x4c')]=moment()[_0xe28a('0x26')](_0xe28a('0x27'));this[_0xe28a('0xa')][_0x3503ba['transfereeuniqueid']][_0x4df40a][_0xe28a('0x47')]=_0xe28a('0x4d');this[_0xe28a('0xa')][_0x3503ba[_0xe28a('0x6b')]][_0x4df40a]['lastevent']='complete';this[_0xe28a('0xa')][_0x3503ba[_0xe28a('0x6b')]][_0x4df40a][_0xe28a('0x6d')]=_0x182267[_0xe28a('0x6e')](this['channels'][_0x3503ba['transfereeuniqueid']][_0x4df40a][_0xe28a('0x37')],_0xe28a('0x6f'));}}}}if(this['channels'][_0x3503ba[_0xe28a('0x70')]]){var _0x9c1840=this[_0xe28a('0xa')][_0x3503ba[_0xe28a('0x70')]];this[_0xe28a('0xa')][_0x3503ba[_0xe28a('0x70')]]=this[_0xe28a('0xa')][_0x3503ba[_0xe28a('0x6b')]];this[_0xe28a('0xa')][_0x3503ba[_0xe28a('0x6b')]]=_0x9c1840;}}}catch(_0x5e4df5){logger[_0xe28a('0x32')](_0xe28a('0x71'),util[_0xe28a('0x34')](_0x5e4df5,{'showHidden':![],'depth':null}));}};VoiceAgentReport['prototype'][_0xe28a('0x1f')]=function(_0x11bf12){try{if(this[_0xe28a('0x23')](_0x11bf12)){if(this[_0xe28a('0xa')][_0x11bf12[_0xe28a('0x6b')]]){for(var _0xd74693 in this[_0xe28a('0xa')][_0x11bf12[_0xe28a('0x6b')]]){if(this['channels'][_0x11bf12['transfereeuniqueid']][_0xe28a('0x36')](_0xd74693)){if(_0x11bf12[_0xe28a('0x72')]===_0xd74693){var _0x4479ea=moment();this[_0xe28a('0xa')][_0x11bf12[_0xe28a('0x6b')]][_0xd74693][_0xe28a('0x15')]=!![];this[_0xe28a('0xa')][_0x11bf12['transfereeuniqueid']][_0xd74693]['agentcompleteAt']=_0x4479ea;this['channels'][_0x11bf12[_0xe28a('0x6b')]][_0xd74693][_0xe28a('0x47')]='transfer';this[_0xe28a('0xa')][_0x11bf12[_0xe28a('0x6b')]][_0xd74693][_0xe28a('0x38')]=_0xe28a('0x73');this[_0xe28a('0xa')][_0x11bf12['transfereeuniqueid']][_0xd74693]['talktime']=_0x4479ea[_0xe28a('0x6e')](this['channels'][_0x11bf12[_0xe28a('0x6b')]][_0xd74693][_0xe28a('0x37')],_0xe28a('0x6f'));}}}}}}catch(_0x2fdfea){logger[_0xe28a('0x32')](_0xe28a('0x74'),util[_0xe28a('0x34')](_0x2fdfea,{'showHidden':![],'depth':null}));}};VoiceAgentReport[_0xe28a('0x20')]['syncMusicOnHoldStart']=function(_0x2b5f8c){var _0x2955a0='';try{if(this[_0xe28a('0x23')](_0x2b5f8c)){if(_0x2b5f8c['channel']){_0x2955a0=_0x2b5f8c[_0xe28a('0x75')]['substring'](0x0,_0x2b5f8c[_0xe28a('0x75')]['lastIndexOf']('-'));if(this['agents'][_0x2955a0]){this['agents'][_0x2955a0][_0xe28a('0x76')]=!![];}}}}catch(_0x2906d8){logger['error'](_0xe28a('0x77'),util[_0xe28a('0x34')](_0x2906d8,{'showHidden':![],'depth':null}));}};VoiceAgentReport[_0xe28a('0x20')][_0xe28a('0x1d')]=function(_0x1a4b7b){var _0x176236='';try{if(this[_0xe28a('0x23')](_0x1a4b7b)){if(_0x1a4b7b[_0xe28a('0x75')]){_0x176236=_0x1a4b7b[_0xe28a('0x75')]['substring'](0x0,_0x1a4b7b['channel'][_0xe28a('0x78')]('-'));if(this['agents'][_0x176236]){this[_0xe28a('0xc')][_0x176236][_0xe28a('0x76')]=![];}}}}catch(_0x4afc07){logger[_0xe28a('0x32')](_0xe28a('0x79'),util[_0xe28a('0x34')](_0x4afc07,{'showHidden':![],'depth':null}));}};module[_0xe28a('0x7a')]=VoiceAgentReport; \ No newline at end of file +var _0x6d40=['syncAgentCalled','bind','syncAgentConnect','agentringnoanswer','syncAgentRingNoAnswer','queuecallerabandon','syncQueueCallerAbandon','agentcomplete','syncAgentComplete','varset','syncVarSet','hangup','musiconholdstart','musiconholdstop','syncMusicOnHoldStop','attendedtransfer','syncAttendedTransfer','blindtransfer','syncBlindTransfer','prototype','emit','isNotNull','isUndefined','uniqueid','destuniqueid','format','YYYY-MM-DD\x20HH:mm:ss','called','queue','inbound','merge','omit','privilege','custom:agentcalled','membername','user:called','[syncAgentCalled][VoiceAgentReport]','inspect','hasOwnProperty','agentconnectAt','lastevent','holdtime','connectedlinenum','connectedlinename','destchannelstatedesc','interface','pick','destconnectedlinenum','user:%s','custom:agentconnect','agentringnoanswerAt','answered_elsewhere','answeredelsewheredestinationuniqueid','answeredelsewheremembername','error','[syncAgentConnect][VoiceAgentReport]','rejected','custom:agentringnoanswer','[syncAgentRingNoAnswer][VoiceAgentReport]','abandoned','custom:agentqueuecallerabandon','[syncQueueCallerAbandon][VoiceAgentReport]','agentcompleteAt','complete','talktime','reason','acw','agentacw','acwtime','acwTimeout','user:agentcomplete','custom:agentcomplete','[syncAgentComplete][VoiceAgentReport]','addVariable','keys','variable','[syncVarSet][VoiceAgentReport]','rtpaudioqos','rtpaudioqosjitterbridged','rtpaudioqosloss','rtpaudioqosrttbridged','sipcallid','sipuri','bridgepeer','bridgepvtcallid','membercalls','memberdynamic','memberinterface','memberlastcall','memberpenalty','memberrealtime','isNil','includes','syncHangup','transfer','custom:voiceAgentReport','transfereeuniqueid','origtransfereruniqueid','seconds','secondtransfereruniqueid','[syncAttendedTransfer][VoiceAgentReport]','transfereruniqueid','diff','syncMusicOnHoldStart','channel','substring','lastIndexOf','[syncMusicOnHoldStart][VoiceAgentReport]','onhold','[syncMusicOnHoldStop][VoiceAgentReport]','exports','lodash','moment','util','ioredis','../../../config/environment','../../../config/logger','ami','../ami','redis','defaults','localhost','socket.io-emitter','channels','voiceQueues','agents','variables','agentcalled'];(function(_0x7cf95f,_0x463925){var _0xbebaa9=function(_0x43e577){while(--_0x43e577){_0x7cf95f['push'](_0x7cf95f['shift']());}};_0xbebaa9(++_0x463925);}(_0x6d40,0x6f));var _0x06d4=function(_0x269622,_0x786b3a){_0x269622=_0x269622-0x0;var _0x34b920=_0x6d40[_0x269622];return _0x34b920;};'use strict';var _=require(_0x06d4('0x0'));var moment=require(_0x06d4('0x1'));var util=require(_0x06d4('0x2'));var Redis=require(_0x06d4('0x3'));var config=require(_0x06d4('0x4'));var logger=require(_0x06d4('0x5'))(_0x06d4('0x6'));var ami=require(_0x06d4('0x7'));config[_0x06d4('0x8')]=_[_0x06d4('0x9')](config[_0x06d4('0x8')],{'host':_0x06d4('0xa'),'port':0x18eb});var io=require(_0x06d4('0xb'))(new Redis(config[_0x06d4('0x8')]));function VoiceAgentReport(_0x104abc){this[_0x06d4('0xc')]={};this[_0x06d4('0xd')]=_0x104abc[_0x06d4('0xd')];this[_0x06d4('0xe')]=_0x104abc[_0x06d4('0xe')];this[_0x06d4('0xf')]={};ami['on'](_0x06d4('0x10'),this[_0x06d4('0x11')][_0x06d4('0x12')](this));ami['on']('agentconnect',this[_0x06d4('0x13')][_0x06d4('0x12')](this));ami['on'](_0x06d4('0x14'),this[_0x06d4('0x15')][_0x06d4('0x12')](this));ami['on'](_0x06d4('0x16'),this[_0x06d4('0x17')]['bind'](this));ami['on'](_0x06d4('0x18'),this[_0x06d4('0x19')][_0x06d4('0x12')](this));ami['on'](_0x06d4('0x1a'),this[_0x06d4('0x1b')][_0x06d4('0x12')](this));ami['on'](_0x06d4('0x1c'),this['syncHangup'][_0x06d4('0x12')](this));ami['on'](_0x06d4('0x1d'),this['syncMusicOnHoldStart'][_0x06d4('0x12')](this));ami['on'](_0x06d4('0x1e'),this[_0x06d4('0x1f')]['bind'](this));ami['on'](_0x06d4('0x20'),this[_0x06d4('0x21')][_0x06d4('0x12')](this));ami['on'](_0x06d4('0x22'),this[_0x06d4('0x23')][_0x06d4('0x12')](this));}VoiceAgentReport[_0x06d4('0x24')][_0x06d4('0x25')]=function(_0x2e366c,_0x232f91,_0x4658cd){io['to'](_0x2e366c)[_0x06d4('0x25')](_0x232f91,_0x4658cd);};VoiceAgentReport[_0x06d4('0x24')][_0x06d4('0x26')]=function(_0x293806){return _0x293806!==null&&!_[_0x06d4('0x27')](_0x293806);};VoiceAgentReport[_0x06d4('0x24')][_0x06d4('0x11')]=function(_0x49aa29){try{if(this[_0x06d4('0x26')](_0x49aa29)){if(_[_0x06d4('0x27')](this[_0x06d4('0xc')][_0x49aa29[_0x06d4('0x28')]])){this[_0x06d4('0xc')][_0x49aa29[_0x06d4('0x28')]]={};}if(_[_0x06d4('0x27')](this['channels'][_0x49aa29[_0x06d4('0x28')]][_0x49aa29[_0x06d4('0x29')]])){this[_0x06d4('0xc')][_0x49aa29['uniqueid']][_0x49aa29[_0x06d4('0x29')]]={'agentcalledAt':moment()[_0x06d4('0x2a')](_0x06d4('0x2b')),'lastevent':_0x06d4('0x2c'),'variables':this[_0x06d4('0xf')][_0x49aa29[_0x06d4('0x28')]],'type':this['voiceQueues'][_0x49aa29['queue']]?this['voiceQueues'][_0x49aa29[_0x06d4('0x2d')]]['type']||_0x06d4('0x2e'):'inbound'};}_[_0x06d4('0x2f')](this[_0x06d4('0xc')][_0x49aa29[_0x06d4('0x28')]][_0x49aa29['destuniqueid']],_[_0x06d4('0x30')](_0x49aa29,['event',_0x06d4('0x31')]));ami['emit'](_0x06d4('0x32'),this[_0x06d4('0xc')][_0x49aa29[_0x06d4('0x28')]][_0x49aa29[_0x06d4('0x29')]]);this[_0x06d4('0x25')](util[_0x06d4('0x2a')]('user:%s',_0x49aa29[_0x06d4('0x33')]),_0x06d4('0x34'),this[_0x06d4('0xc')][_0x49aa29[_0x06d4('0x28')]][_0x49aa29[_0x06d4('0x29')]]);}}catch(_0x437d00){logger['error'](_0x06d4('0x35'),util[_0x06d4('0x36')](_0x437d00,{'showHidden':![],'depth':null}));}};VoiceAgentReport[_0x06d4('0x24')][_0x06d4('0x13')]=function(_0x2b056d){try{if(this[_0x06d4('0x26')](_0x2b056d)){if(this[_0x06d4('0xc')][_0x2b056d[_0x06d4('0x28')]]){for(var _0x5a8e87 in this[_0x06d4('0xc')][_0x2b056d[_0x06d4('0x28')]]){if(this[_0x06d4('0xc')][_0x2b056d[_0x06d4('0x28')]][_0x06d4('0x37')](_0x5a8e87)){if(_0x2b056d['destuniqueid']===_0x5a8e87){this['channels'][_0x2b056d[_0x06d4('0x28')]][_0x5a8e87][_0x06d4('0x38')]=moment()[_0x06d4('0x2a')](_0x06d4('0x2b'));this[_0x06d4('0xc')][_0x2b056d[_0x06d4('0x28')]][_0x5a8e87][_0x06d4('0x39')]='connect';this[_0x06d4('0xc')][_0x2b056d['uniqueid']][_0x5a8e87][_0x06d4('0x3a')]=_0x2b056d[_0x06d4('0x3a')];this[_0x06d4('0xc')][_0x2b056d[_0x06d4('0x28')]][_0x5a8e87][_0x06d4('0x3b')]=_0x2b056d[_0x06d4('0x3b')];this['channels'][_0x2b056d[_0x06d4('0x28')]][_0x5a8e87]['connectedlinename']=_0x2b056d[_0x06d4('0x3c')];this[_0x06d4('0xc')][_0x2b056d[_0x06d4('0x28')]][_0x5a8e87]['destchannelstate']=_0x2b056d['destchannelstate'];this['channels'][_0x2b056d['uniqueid']][_0x5a8e87][_0x06d4('0x3d')]=_0x2b056d[_0x06d4('0x3d')];_['merge'](this[_0x06d4('0xe')][_0x2b056d[_0x06d4('0x3e')]],_[_0x06d4('0x3f')](_0x2b056d,['queue',_0x06d4('0x40')]));this['emit'](util[_0x06d4('0x2a')](_0x06d4('0x41'),_0x2b056d[_0x06d4('0x33')]),'user:agentconnect',this[_0x06d4('0xc')][_0x2b056d[_0x06d4('0x28')]][_0x2b056d[_0x06d4('0x29')]]);ami[_0x06d4('0x25')](_0x06d4('0x42'),this[_0x06d4('0xc')][_0x2b056d[_0x06d4('0x28')]][_0x5a8e87]);}else if(!this['channels'][_0x2b056d[_0x06d4('0x28')]][_0x5a8e87][_0x06d4('0x14')]&&!this[_0x06d4('0xc')][_0x2b056d[_0x06d4('0x28')]][_0x5a8e87][_0x06d4('0x18')]){this[_0x06d4('0xc')][_0x2b056d[_0x06d4('0x28')]][_0x5a8e87][_0x06d4('0x14')]=!![];this['channels'][_0x2b056d[_0x06d4('0x28')]][_0x5a8e87][_0x06d4('0x43')]=moment()['format']('YYYY-MM-DD\x20HH:mm:ss');this[_0x06d4('0xc')][_0x2b056d[_0x06d4('0x28')]][_0x5a8e87]['reason']=_0x06d4('0x44');this[_0x06d4('0xc')][_0x2b056d[_0x06d4('0x28')]][_0x5a8e87][_0x06d4('0x39')]=_0x06d4('0x44');this[_0x06d4('0xc')][_0x2b056d['uniqueid']][_0x5a8e87][_0x06d4('0x45')]=_0x2b056d[_0x06d4('0x29')];this[_0x06d4('0xc')][_0x2b056d['uniqueid']][_0x5a8e87][_0x06d4('0x46')]=_0x2b056d[_0x06d4('0x33')];ami[_0x06d4('0x25')]('custom:agentansweredelsewhere',this['channels'][_0x2b056d[_0x06d4('0x28')]][_0x5a8e87]);}}}}}}catch(_0x2cfd20){logger[_0x06d4('0x47')](_0x06d4('0x48'),util[_0x06d4('0x36')](_0x2cfd20,{'showHidden':![],'depth':null}));}};VoiceAgentReport[_0x06d4('0x24')]['syncAgentRingNoAnswer']=function(_0x1e722d){try{if(this[_0x06d4('0x26')](_0x1e722d)){if(this[_0x06d4('0xc')][_0x1e722d[_0x06d4('0x28')]]&&this['channels'][_0x1e722d[_0x06d4('0x28')]][_0x1e722d[_0x06d4('0x29')]]){this[_0x06d4('0xc')][_0x1e722d[_0x06d4('0x28')]][_0x1e722d['destuniqueid']][_0x06d4('0x14')]=!![];this[_0x06d4('0xc')][_0x1e722d[_0x06d4('0x28')]][_0x1e722d['destuniqueid']]['agentringnoanswerAt']=moment()[_0x06d4('0x2a')](_0x06d4('0x2b'));this[_0x06d4('0xc')][_0x1e722d[_0x06d4('0x28')]][_0x1e722d['destuniqueid']]['reason']='rejected';this[_0x06d4('0xc')][_0x1e722d['uniqueid']][_0x1e722d['destuniqueid']]['lastevent']=_0x06d4('0x49');ami[_0x06d4('0x25')](_0x06d4('0x4a'),this['channels'][_0x1e722d[_0x06d4('0x28')]][_0x1e722d[_0x06d4('0x29')]]);}}}catch(_0x553afa){logger[_0x06d4('0x47')](_0x06d4('0x4b'),util['inspect'](_0x553afa,{'showHidden':![],'depth':null}));}};VoiceAgentReport[_0x06d4('0x24')][_0x06d4('0x17')]=function(_0x29eaf3){try{if(this[_0x06d4('0x26')](_0x29eaf3)){if(this[_0x06d4('0xc')][_0x29eaf3[_0x06d4('0x28')]]){for(var _0x5b5711 in this[_0x06d4('0xc')][_0x29eaf3[_0x06d4('0x28')]]){if(this['channels'][_0x29eaf3[_0x06d4('0x28')]][_0x06d4('0x37')](_0x5b5711)&&!this[_0x06d4('0xc')][_0x29eaf3['uniqueid']][_0x5b5711][_0x06d4('0x14')]&&!this['channels'][_0x29eaf3[_0x06d4('0x28')]][_0x5b5711][_0x06d4('0x18')]){this[_0x06d4('0xc')][_0x29eaf3[_0x06d4('0x28')]][_0x5b5711]['agentringnoanswer']=!![];this[_0x06d4('0xc')][_0x29eaf3[_0x06d4('0x28')]][_0x5b5711][_0x06d4('0x43')]=moment()[_0x06d4('0x2a')](_0x06d4('0x2b'));this[_0x06d4('0xc')][_0x29eaf3[_0x06d4('0x28')]][_0x5b5711]['reason']=_0x06d4('0x4c');this[_0x06d4('0xc')][_0x29eaf3[_0x06d4('0x28')]][_0x5b5711][_0x06d4('0x39')]=_0x06d4('0x4c');ami[_0x06d4('0x25')](_0x06d4('0x4d'),this[_0x06d4('0xc')][_0x29eaf3['uniqueid']][_0x5b5711]);}}}}}catch(_0x3ad817){logger[_0x06d4('0x47')](_0x06d4('0x4e'),util['inspect'](_0x3ad817,{'showHidden':![],'depth':null}));}};VoiceAgentReport[_0x06d4('0x24')][_0x06d4('0x19')]=function(_0x4f4b2a){try{if(this[_0x06d4('0x26')](_0x4f4b2a)){if(this[_0x06d4('0xc')][_0x4f4b2a[_0x06d4('0x28')]]){for(var _0x1de849 in this[_0x06d4('0xc')][_0x4f4b2a[_0x06d4('0x28')]]){if(this[_0x06d4('0xc')][_0x4f4b2a[_0x06d4('0x28')]][_0x06d4('0x37')](_0x1de849)){if(this[_0x06d4('0xc')][_0x4f4b2a[_0x06d4('0x28')]][_0x1de849][_0x06d4('0x38')]&&!this['channels'][_0x4f4b2a['uniqueid']][_0x1de849]['agentcomplete']){this[_0x06d4('0xc')][_0x4f4b2a[_0x06d4('0x28')]][_0x1de849][_0x06d4('0x18')]=!![];this['channels'][_0x4f4b2a[_0x06d4('0x28')]][_0x1de849][_0x06d4('0x4f')]=moment()['format'](_0x06d4('0x2b'));this[_0x06d4('0xc')][_0x4f4b2a[_0x06d4('0x28')]][_0x1de849]['lastevent']=_0x06d4('0x50');this[_0x06d4('0xc')][_0x4f4b2a[_0x06d4('0x28')]][_0x1de849][_0x06d4('0x51')]=_0x4f4b2a[_0x06d4('0x51')];this[_0x06d4('0xc')][_0x4f4b2a[_0x06d4('0x28')]][_0x1de849]['reason']=_0x4f4b2a['reason']=='transfer'?'agent':_0x4f4b2a[_0x06d4('0x52')];if(this['voiceQueues'][_0x4f4b2a['queue']]&&this[_0x06d4('0xd')][_0x4f4b2a['queue']][_0x06d4('0x53')]){this[_0x06d4('0xc')][_0x4f4b2a[_0x06d4('0x28')]][_0x1de849][_0x06d4('0x54')]=!![];this[_0x06d4('0xc')][_0x4f4b2a[_0x06d4('0x28')]][_0x1de849][_0x06d4('0x55')]=this[_0x06d4('0xd')][_0x4f4b2a[_0x06d4('0x2d')]][_0x06d4('0x56')];}this[_0x06d4('0xe')][_0x4f4b2a[_0x06d4('0x3e')]]=_[_0x06d4('0x30')](this[_0x06d4('0xe')][_0x4f4b2a[_0x06d4('0x3e')]],['queue',_0x06d4('0x40')]);this[_0x06d4('0x25')](util[_0x06d4('0x2a')](_0x06d4('0x41'),_0x4f4b2a['membername']),_0x06d4('0x57'),this[_0x06d4('0xc')][_0x4f4b2a[_0x06d4('0x28')]][_0x1de849]);ami[_0x06d4('0x25')](_0x06d4('0x58'),this[_0x06d4('0xc')][_0x4f4b2a['uniqueid']][_0x1de849]);}}}}}}catch(_0x511b5c){logger[_0x06d4('0x47')](_0x06d4('0x59'),util[_0x06d4('0x36')](_0x511b5c,{'showHidden':![],'depth':null}));}};VoiceAgentReport['prototype'][_0x06d4('0x1b')]=function(_0xaad9b6){try{if(this['isNotNull'](_0xaad9b6)){this[_0x06d4('0x5a')](_0xaad9b6[_0x06d4('0x28')],_[_0x06d4('0x5b')](_0xaad9b6[_0x06d4('0x5c')])[0x0],_0xaad9b6['value']);if(this['channels'][_0xaad9b6[_0x06d4('0x28')]]){for(var _0x57cc6d in this['channels'][_0xaad9b6[_0x06d4('0x28')]]){if(this[_0x06d4('0xc')][_0xaad9b6[_0x06d4('0x28')]][_0x06d4('0x37')](_0x57cc6d)){if(_[_0x06d4('0x27')](this[_0x06d4('0xc')][_0xaad9b6[_0x06d4('0x28')]][_0x57cc6d][_0x06d4('0xf')])){this[_0x06d4('0xc')][_0xaad9b6[_0x06d4('0x28')]][_0x57cc6d][_0x06d4('0xf')]={};}this[_0x06d4('0xc')][_0xaad9b6[_0x06d4('0x28')]][_0x57cc6d]['variables']=this[_0x06d4('0xf')][_0xaad9b6[_0x06d4('0x28')]];}}}}}catch(_0x4c753e){logger[_0x06d4('0x47')](_0x06d4('0x5d'),util[_0x06d4('0x36')](_0x4c753e,{'showHidden':![],'depth':null}));}};VoiceAgentReport[_0x06d4('0x24')]['addVariable']=function(_0x3dd89a,_0x22d728,_0x5002e5){var _0x23c30c=[_0x06d4('0x5e'),'rtpaudioqosbridged','rtpaudioqosjitter',_0x06d4('0x5f'),_0x06d4('0x60'),'rtpaudioqoslossbridged','rtpaudioqosrtt',_0x06d4('0x61'),_0x06d4('0x62'),_0x06d4('0x63'),_0x06d4('0x64'),_0x06d4('0x65'),_0x06d4('0x66'),_0x06d4('0x67'),_0x06d4('0x68'),_0x06d4('0x69'),'membername',_0x06d4('0x6a'),_0x06d4('0x6b')];if(!_[_0x06d4('0x6c')](_0x22d728)&&!_[_0x06d4('0x6d')](_0x23c30c,_0x22d728)){if(_[_0x06d4('0x27')](this[_0x06d4('0xf')][_0x3dd89a])){this['variables'][_0x3dd89a]={};}this[_0x06d4('0xf')][_0x3dd89a][_0x22d728]=_0x5002e5;}};VoiceAgentReport[_0x06d4('0x24')][_0x06d4('0x6e')]=function(_0x1ef7bd){try{if(this['isNotNull'](_0x1ef7bd)){if(this[_0x06d4('0xc')][_0x1ef7bd['uniqueid']]){for(var _0x2c01b1 in this['channels'][_0x1ef7bd[_0x06d4('0x28')]]){if(this[_0x06d4('0xc')][_0x1ef7bd[_0x06d4('0x28')]][_0x06d4('0x37')](_0x2c01b1)){if(this['channels'][_0x1ef7bd[_0x06d4('0x28')]][_0x2c01b1][_0x06d4('0x52')]==_0x06d4('0x6f')&&this['channels'][_0x1ef7bd[_0x06d4('0x28')]][_0x2c01b1][_0x06d4('0x18')]){this[_0x06d4('0xc')][_0x1ef7bd['uniqueid']][_0x2c01b1]['agentcompleteAt']=moment()['format'](_0x06d4('0x2b'));}}}ami['emit'](_0x06d4('0x70'),_['values'](this[_0x06d4('0xc')][_0x1ef7bd['uniqueid']]));delete this[_0x06d4('0xc')][_0x1ef7bd[_0x06d4('0x28')]];}if(this[_0x06d4('0xf')][_0x1ef7bd['uniqueid']]){delete this['variables'][_0x1ef7bd[_0x06d4('0x28')]];}}}catch(_0x44e11d){logger[_0x06d4('0x47')]('[syncHangup][VoiceAgentReport]',util[_0x06d4('0x36')](_0x44e11d,{'showHidden':![],'depth':null}));}};VoiceAgentReport['prototype']['syncAttendedTransfer']=function(_0x2b489f){try{if(this[_0x06d4('0x26')](_0x2b489f)){if(this[_0x06d4('0xc')][_0x2b489f[_0x06d4('0x71')]]){for(var _0xdb9990 in this[_0x06d4('0xc')][_0x2b489f['transfereeuniqueid']]){if(this['channels'][_0x2b489f[_0x06d4('0x71')]][_0x06d4('0x37')](_0xdb9990)){if(_0x2b489f[_0x06d4('0x72')]===_0xdb9990){var _0x22c61d=moment();this['channels'][_0x2b489f[_0x06d4('0x71')]][_0xdb9990]['agentcomplete']=!![];this[_0x06d4('0xc')][_0x2b489f[_0x06d4('0x71')]][_0xdb9990][_0x06d4('0x4f')]=moment()[_0x06d4('0x2a')](_0x06d4('0x2b'));this['channels'][_0x2b489f[_0x06d4('0x71')]][_0xdb9990][_0x06d4('0x52')]=_0x06d4('0x6f');this[_0x06d4('0xc')][_0x2b489f[_0x06d4('0x71')]][_0xdb9990]['lastevent']='complete';this[_0x06d4('0xc')][_0x2b489f[_0x06d4('0x71')]][_0xdb9990][_0x06d4('0x51')]=_0x22c61d['diff'](this[_0x06d4('0xc')][_0x2b489f[_0x06d4('0x71')]][_0xdb9990][_0x06d4('0x38')],_0x06d4('0x73'));}}}}if(this[_0x06d4('0xc')][_0x2b489f[_0x06d4('0x74')]]){var _0x4092d0=this[_0x06d4('0xc')][_0x2b489f[_0x06d4('0x74')]];this[_0x06d4('0xc')][_0x2b489f[_0x06d4('0x74')]]=this['channels'][_0x2b489f[_0x06d4('0x71')]];this[_0x06d4('0xc')][_0x2b489f[_0x06d4('0x71')]]=_0x4092d0;}}}catch(_0xeec9f){logger[_0x06d4('0x47')](_0x06d4('0x75'),util[_0x06d4('0x36')](_0xeec9f,{'showHidden':![],'depth':null}));}};VoiceAgentReport[_0x06d4('0x24')][_0x06d4('0x23')]=function(_0x47eff7){try{if(this[_0x06d4('0x26')](_0x47eff7)){if(this[_0x06d4('0xc')][_0x47eff7[_0x06d4('0x71')]]){for(var _0x5ed445 in this[_0x06d4('0xc')][_0x47eff7[_0x06d4('0x71')]]){if(this['channels'][_0x47eff7[_0x06d4('0x71')]][_0x06d4('0x37')](_0x5ed445)){if(_0x47eff7[_0x06d4('0x76')]===_0x5ed445){var _0x1d160d=moment();this[_0x06d4('0xc')][_0x47eff7[_0x06d4('0x71')]][_0x5ed445]['agentcomplete']=!![];this[_0x06d4('0xc')][_0x47eff7['transfereeuniqueid']][_0x5ed445][_0x06d4('0x4f')]=_0x1d160d;this[_0x06d4('0xc')][_0x47eff7['transfereeuniqueid']][_0x5ed445][_0x06d4('0x52')]='transfer';this[_0x06d4('0xc')][_0x47eff7[_0x06d4('0x71')]][_0x5ed445]['lastevent']=_0x06d4('0x50');this['channels'][_0x47eff7[_0x06d4('0x71')]][_0x5ed445][_0x06d4('0x51')]=_0x1d160d[_0x06d4('0x77')](this[_0x06d4('0xc')][_0x47eff7[_0x06d4('0x71')]][_0x5ed445][_0x06d4('0x38')],_0x06d4('0x73'));}}}}}}catch(_0x48746b){logger[_0x06d4('0x47')]('[syncBlindTransfer][VoiceAgentReport]',util['inspect'](_0x48746b,{'showHidden':![],'depth':null}));}};VoiceAgentReport[_0x06d4('0x24')][_0x06d4('0x78')]=function(_0xb58659){var _0xb5f3b3='';try{if(this[_0x06d4('0x26')](_0xb58659)){if(_0xb58659['channel']){_0xb5f3b3=_0xb58659[_0x06d4('0x79')][_0x06d4('0x7a')](0x0,_0xb58659[_0x06d4('0x79')][_0x06d4('0x7b')]('-'));if(this['agents'][_0xb5f3b3]){this[_0x06d4('0xe')][_0xb5f3b3]['onhold']=!![];}}}}catch(_0x29294c){logger[_0x06d4('0x47')](_0x06d4('0x7c'),util[_0x06d4('0x36')](_0x29294c,{'showHidden':![],'depth':null}));}};VoiceAgentReport[_0x06d4('0x24')][_0x06d4('0x1f')]=function(_0x53b86a){var _0x520ed6='';try{if(this['isNotNull'](_0x53b86a)){if(_0x53b86a['channel']){_0x520ed6=_0x53b86a[_0x06d4('0x79')][_0x06d4('0x7a')](0x0,_0x53b86a['channel']['lastIndexOf']('-'));if(this[_0x06d4('0xe')][_0x520ed6]){this[_0x06d4('0xe')][_0x520ed6][_0x06d4('0x7d')]=![];}}}}catch(_0x4520ee){logger[_0x06d4('0x47')](_0x06d4('0x7e'),util[_0x06d4('0x36')](_0x4520ee,{'showHidden':![],'depth':null}));}};module[_0x06d4('0x7f')]=VoiceAgentReport; \ No newline at end of file diff --git a/server/services/ami/report/voiceCallReport.js b/server/services/ami/report/voiceCallReport.js index 2a4d273..16d3c48 100644 --- a/server/services/ami/report/voiceCallReport.js +++ b/server/services/ami/report/voiceCallReport.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xf452=['[syncMusicOnHoldStart][VoiceCallReport]','mohtime','milliseconds','[syncMusicOnHoldStop][VoiceCallReport]','exports','bluebird','lodash','util','path','ioredis','../../../config/environment','../../../config/logger','ami','../ami','../model/channel','unknown','not_inuse','inuse','busy','invalid','unavailable','ringing','ringinuse','onhold','set','queue','agi','dial','playback','FAILED','NO\x20ANSWER','BUSY','defaults','redis','localhost','channels','agents','coreshowchannel','syncNewExten','bind','newchannel','syncNewChannel','syncNewState','varset','syncVarSet','hangup','newcallerid','syncNewCallerId','attendedtransfer','syncAttendedTransfer','blindtransfer','syncBlindTransfer','musiconholdstart','syncMusicOnHoldStart','musiconholdstop','syncMusicOnHoldStop','resolve','then','actionCoreShowChannels','catch','isNotNull','prototype','emit','linkedid','isUndefined','uniqueid','pick','error','[syncNewCallerId][VoiceCallReport]','channel','OutgoingSpoolFailed','starttime','format','YYYY-MM-DD\x20HH:mm:ss','toNumber','channelstate','merge','context','split','destconnectedlinenum','exten','user:%s','name','accountcode','application','applicationdata','appdata','toLowerCase','subtract','duration','seconds','disposition','keys','lastapplication','lastdata','startsWith','match','[syncNewExten][VoiceCallReport]','inspect','answered','answertime','holdtime','diff','calleridnum','calleridname','UserId','membername','[syncNewState][VoiceCallReport]','syncMixMonitorFilename','monitor','endsWith','.wav49','replace','.WAV','monitorFilename','find','monitors','isNil','push','rec','variable','mixmonitor_filename','value','xmd-phone','xmd-callerid','xmd-cdrtype','type','xmd-queue','xmd-originatecalleridnum','originatecalleridnum','xmd-callerid-preview','calleridpreview','sipcallid','parse','[syncVarSet][VoiceCallReport]','syncHangup','billableseconds','from-sip','omit','user:agentcomplete','[syncHangup][VoiceCallReport]','transfereeuniqueid','origtransferercalleridnum','transferconnectedlinenum','transfertargetcalleridnum','transfertargetuniqueid','transfercalleridnum','origtransfereruniqueid','[syncAttendedTransfer][VoiceCallReport]','transfereecalleridnum','extension','BlindTransfer','transfererchannel','[syncBlindTransfer][VoiceCallReport]','mohstarttime'];(function(_0x393438,_0x4883a6){var _0x2a0986=function(_0x15a93b){while(--_0x15a93b){_0x393438['push'](_0x393438['shift']());}};_0x2a0986(++_0x4883a6);}(_0xf452,0x13b));var _0x2f45=function(_0x1b6bc4,_0x2f0f4e){_0x1b6bc4=_0x1b6bc4-0x0;var _0x413502=_0xf452[_0x1b6bc4];return _0x413502;};'use strict';var BPromise=require(_0x2f45('0x0'));var _=require(_0x2f45('0x1'));var moment=require('moment');var util=require(_0x2f45('0x2'));var path=require(_0x2f45('0x3'));var Redis=require(_0x2f45('0x4'));var config=require(_0x2f45('0x5'));var logger=require(_0x2f45('0x6'))(_0x2f45('0x7'));var ami=require(_0x2f45('0x8'));var Channel=require(_0x2f45('0x9'));var statusDesc=[_0x2f45('0xa'),_0x2f45('0xb'),_0x2f45('0xc'),_0x2f45('0xd'),_0x2f45('0xe'),_0x2f45('0xf'),_0x2f45('0x10'),_0x2f45('0x11'),_0x2f45('0x12')];var applications=[_0x2f45('0x13'),_0x2f45('0x14'),_0x2f45('0x15'),_0x2f45('0x16'),_0x2f45('0x17'),'voicemail'];var dispositions=['NO\x20ANSWER',_0x2f45('0x18'),_0x2f45('0x18'),_0x2f45('0x19'),_0x2f45('0x19'),_0x2f45('0x19'),'ANSWERED',_0x2f45('0x1a'),'FAILED',_0x2f45('0x18'),_0x2f45('0x18')];var actions={};config['redis']=_[_0x2f45('0x1b')](config[_0x2f45('0x1c')],{'host':_0x2f45('0x1d'),'port':0x18eb});var io=require('socket.io-emitter')(new Redis(config[_0x2f45('0x1c')]));function VoiceCallReport(_0x4c8274){this[_0x2f45('0x1e')]=_0x4c8274[_0x2f45('0x1e')];this['agents']=_0x4c8274[_0x2f45('0x1f')];ami['on'](_0x2f45('0x20'),this[_0x2f45('0x21')]['bind'](this));ami['on']('newexten',this['syncNewExten'][_0x2f45('0x22')](this));ami['on'](_0x2f45('0x23'),this[_0x2f45('0x24')][_0x2f45('0x22')](this));ami['on']('newstate',this[_0x2f45('0x25')][_0x2f45('0x22')](this));ami['on'](_0x2f45('0x26'),this[_0x2f45('0x27')][_0x2f45('0x22')](this));ami['on'](_0x2f45('0x28'),this['syncHangup']['bind'](this));ami['on'](_0x2f45('0x29'),this[_0x2f45('0x2a')][_0x2f45('0x22')](this));ami['on'](_0x2f45('0x2b'),this[_0x2f45('0x2c')][_0x2f45('0x22')](this));ami['on'](_0x2f45('0x2d'),this[_0x2f45('0x2e')]['bind'](this));ami['on'](_0x2f45('0x2f'),this[_0x2f45('0x30')]['bind'](this));ami['on'](_0x2f45('0x31'),this[_0x2f45('0x32')]['bind'](this));return BPromise[_0x2f45('0x33')]()[_0x2f45('0x34')](ami[_0x2f45('0x35')]())[_0x2f45('0x36')](function(_0x1c1c3e){console['log'](_0x1c1c3e);});}VoiceCallReport['prototype'][_0x2f45('0x37')]=function(_0x4abcee){return _0x4abcee!==null&&!_['isUndefined'](_0x4abcee);};VoiceCallReport[_0x2f45('0x38')]['emit']=function(_0x44bf0f,_0x264139,_0x166792){io['to'](_0x44bf0f)[_0x2f45('0x39')](_0x264139,_0x166792);};VoiceCallReport[_0x2f45('0x38')][_0x2f45('0x2a')]=function(_0x2f3ecc){try{if(this[_0x2f45('0x37')](_0x2f3ecc)){if(_0x2f3ecc['uniqueid']===_0x2f3ecc[_0x2f45('0x3a')]){if(!_[_0x2f45('0x3b')](this['channels'][_0x2f3ecc[_0x2f45('0x3c')]])){_['merge'](this[_0x2f45('0x1e')][_0x2f3ecc[_0x2f45('0x3c')]],_[_0x2f45('0x3d')](_0x2f3ecc,_['keys'](this['channels'][_0x2f3ecc[_0x2f45('0x3c')]])));}}}}catch(_0x493ecd){logger[_0x2f45('0x3e')](_0x2f45('0x3f'),util['inspect'](_0x493ecd,{'showHidden':![],'depth':null}));}};VoiceCallReport[_0x2f45('0x38')][_0x2f45('0x24')]=function(_0x43dcbe){try{if(this[_0x2f45('0x37')](_0x43dcbe)){if(_0x43dcbe[_0x2f45('0x3c')]===_0x43dcbe['linkedid']&&_0x43dcbe[_0x2f45('0x40')]!=_0x2f45('0x41')){if(_[_0x2f45('0x3b')](this['channels'][_0x43dcbe[_0x2f45('0x3c')]])){this[_0x2f45('0x1e')][_0x43dcbe[_0x2f45('0x3c')]]=new Channel();this[_0x2f45('0x1e')][_0x43dcbe[_0x2f45('0x3c')]][_0x2f45('0x42')]=moment()[_0x2f45('0x43')](_0x2f45('0x44'));this[_0x2f45('0x1e')][_0x43dcbe['uniqueid']]['disposition']=dispositions[_[_0x2f45('0x45')](_0x43dcbe[_0x2f45('0x46')])];_[_0x2f45('0x47')](this[_0x2f45('0x1e')][_0x43dcbe[_0x2f45('0x3c')]],_[_0x2f45('0x3d')](_0x43dcbe,_['keys'](this[_0x2f45('0x1e')][_0x43dcbe[_0x2f45('0x3c')]])));if(_0x43dcbe[_0x2f45('0x48')]==='from-sip'){if(this[_0x2f45('0x1f')][_0x43dcbe[_0x2f45('0x40')][_0x2f45('0x49')]('-')[0x0]]){this['agents'][_0x43dcbe[_0x2f45('0x40')][_0x2f45('0x49')]('-')[0x0]][_0x2f45('0x4a')]=_0x43dcbe[_0x2f45('0x4b')];this[_0x2f45('0x39')](util['format'](_0x2f45('0x4c'),this[_0x2f45('0x1f')][_0x43dcbe[_0x2f45('0x40')][_0x2f45('0x49')]('-')[0x0]][_0x2f45('0x4d')]),'user:agentconnect',{'destaccountcode':this[_0x2f45('0x1f')][_0x43dcbe[_0x2f45('0x40')][_0x2f45('0x49')]('-')[0x0]][_0x2f45('0x4e')],'destconnectedlinenum':_0x43dcbe[_0x2f45('0x4b')]});}}}}}}catch(_0x3f71ad){logger['error']('[syncNewChannel][VoiceCallReport]',util['inspect'](_0x3f71ad,{'showHidden':![],'depth':null}));}};VoiceCallReport[_0x2f45('0x38')][_0x2f45('0x21')]=function(_0x385e08){try{if(this[_0x2f45('0x37')](_0x385e08)){if(_0x385e08[_0x2f45('0x3c')]===_0x385e08[_0x2f45('0x3a')]&&_0x385e08[_0x2f45('0x4b')]!='h'&&_0x385e08['channel']!='OutgoingSpoolFailed'){_0x385e08[_0x2f45('0x4f')]=_0x385e08['application']['toLowerCase']();_0x385e08[_0x2f45('0x50')]=(_0x385e08[_0x2f45('0x51')]||_0x385e08[_0x2f45('0x50')])[_0x2f45('0x52')]();if(_['isUndefined'](this[_0x2f45('0x1e')][_0x385e08[_0x2f45('0x3c')]])){this[_0x2f45('0x1e')][_0x385e08[_0x2f45('0x3c')]]=new Channel();this[_0x2f45('0x1e')][_0x385e08['uniqueid']][_0x2f45('0x42')]=_0x385e08['duration']?moment()[_0x2f45('0x53')](moment[_0x2f45('0x54')](_0x385e08[_0x2f45('0x54')])[_0x2f45('0x55')](),'seconds')[_0x2f45('0x43')](_0x2f45('0x44')):moment()[_0x2f45('0x43')]('YYYY-MM-DD\x20HH:mm:ss');this[_0x2f45('0x1e')][_0x385e08[_0x2f45('0x3c')]][_0x2f45('0x56')]=_0x2f45('0x19');}_['merge'](this['channels'][_0x385e08[_0x2f45('0x3c')]],_['pick'](_0x385e08,_[_0x2f45('0x57')](this['channels'][_0x385e08[_0x2f45('0x3c')]])));if(_['includes'](applications,_0x385e08[_0x2f45('0x4f')])){this[_0x2f45('0x1e')][_0x385e08[_0x2f45('0x3c')]][_0x2f45('0x58')]=_0x385e08['application'];this[_0x2f45('0x1e')][_0x385e08['uniqueid']][_0x2f45('0x59')]=_0x385e08[_0x2f45('0x50')];if(_0x385e08[_0x2f45('0x4f')]===_0x2f45('0x13')&&_[_0x2f45('0x5a')](_0x385e08[_0x2f45('0x50')],'cdr(')){var _0x3f4a7f=_0x385e08[_0x2f45('0x50')][_0x2f45('0x49')]('=');var _0x557f8d=_0x3f4a7f[0x0][_0x2f45('0x5b')](/cdr\((.*)\)/);if(_0x557f8d){this[_0x2f45('0x1e')][_0x385e08[_0x2f45('0x3c')]][_0x557f8d[0x1]]=_0x3f4a7f[0x1];}}else if(_0x385e08[_0x2f45('0x4f')]===_0x2f45('0x14')){this[_0x2f45('0x1e')][_0x385e08[_0x2f45('0x3c')]][_0x2f45('0x14')]=_0x385e08[_0x2f45('0x50')][_0x2f45('0x49')](',')[0x0];}}}}}catch(_0x241f1c){logger[_0x2f45('0x3e')](_0x2f45('0x5c'),util[_0x2f45('0x5d')](_0x241f1c,{'showHidden':![],'depth':null}));}};VoiceCallReport['prototype'][_0x2f45('0x25')]=function(_0x4ea7b2){try{if(this[_0x2f45('0x37')](_0x4ea7b2)){if(_0x4ea7b2[_0x2f45('0x3c')]!==_0x4ea7b2[_0x2f45('0x3a')]){if(this[_0x2f45('0x1e')][_0x4ea7b2[_0x2f45('0x3a')]]){if(_0x4ea7b2[_0x2f45('0x46')]==='6'){if(!this[_0x2f45('0x1e')][_0x4ea7b2[_0x2f45('0x3a')]][_0x2f45('0x5e')]){var _0x4cb221=moment();this[_0x2f45('0x1e')][_0x4ea7b2[_0x2f45('0x3a')]][_0x2f45('0x5e')]=!![];this[_0x2f45('0x1e')][_0x4ea7b2[_0x2f45('0x3a')]][_0x2f45('0x5f')]=_0x4cb221['format'](_0x2f45('0x44'));if(this[_0x2f45('0x1e')][_0x4ea7b2[_0x2f45('0x3a')]][_0x2f45('0x42')]){this[_0x2f45('0x1e')][_0x4ea7b2[_0x2f45('0x3a')]][_0x2f45('0x60')]=_0x4cb221[_0x2f45('0x61')](this[_0x2f45('0x1e')][_0x4ea7b2['linkedid']]['starttime'],_0x2f45('0x55'));}}this[_0x2f45('0x1e')][_0x4ea7b2[_0x2f45('0x3a')]][_0x2f45('0x3a')]=_0x4ea7b2[_0x2f45('0x3c')];if(_0x4ea7b2[_0x2f45('0x62')]!=='xcally-motion-preview'){this[_0x2f45('0x1e')][_0x4ea7b2['linkedid']]['connectedlinenum']=_0x4ea7b2['calleridnum'];}this['channels'][_0x4ea7b2[_0x2f45('0x3a')]]['connectedlinename']=_0x4ea7b2[_0x2f45('0x63')];this['channels'][_0x4ea7b2[_0x2f45('0x3a')]]['destinationchannel']=_0x4ea7b2['channel'];this['channels'][_0x4ea7b2['linkedid']][_0x2f45('0x56')]=dispositions[_[_0x2f45('0x45')](_0x4ea7b2['channelstate'])];if(this[_0x2f45('0x1f')][_0x4ea7b2['channel'][_0x2f45('0x49')]('-')[0x0]]){this[_0x2f45('0x1e')][_0x4ea7b2['linkedid']][_0x2f45('0x64')]=this[_0x2f45('0x1f')][_0x4ea7b2['channel'][_0x2f45('0x49')]('-')[0x0]]['id'];this[_0x2f45('0x1e')][_0x4ea7b2[_0x2f45('0x3a')]][_0x2f45('0x65')]=this['agents'][_0x4ea7b2[_0x2f45('0x40')][_0x2f45('0x49')]('-')[0x0]][_0x2f45('0x4d')];}}}}else{if(this[_0x2f45('0x1e')][_0x4ea7b2[_0x2f45('0x3c')]]){if(_0x4ea7b2['channelstate']==='6'){if(this[_0x2f45('0x1f')][_0x4ea7b2['channel'][_0x2f45('0x49')]('-')[0x0]]){this[_0x2f45('0x1e')][_0x4ea7b2[_0x2f45('0x3c')]][_0x2f45('0x64')]=this[_0x2f45('0x1f')][_0x4ea7b2['channel'][_0x2f45('0x49')]('-')[0x0]]['id'];this[_0x2f45('0x1e')][_0x4ea7b2[_0x2f45('0x3c')]]['membername']=this[_0x2f45('0x1f')][_0x4ea7b2['channel'][_0x2f45('0x49')]('-')[0x0]][_0x2f45('0x4d')];}}}}}}catch(_0x2a87da){logger[_0x2f45('0x3e')](_0x2f45('0x66'),util[_0x2f45('0x5d')](_0x2a87da,{'showHidden':![],'depth':null}));}};VoiceCallReport['prototype'][_0x2f45('0x67')]=function(_0x5e99ce,_0x568e0a){if(this[_0x2f45('0x1e')][_0x5e99ce]){this[_0x2f45('0x1e')][_0x5e99ce][_0x2f45('0x68')]=!![];if(_[_0x2f45('0x69')](_0x568e0a,_0x2f45('0x6a'))){_0x568e0a=_0x568e0a[_0x2f45('0x6b')](_0x2f45('0x6a'),_0x2f45('0x6c'));}this[_0x2f45('0x1e')][_0x5e99ce][_0x2f45('0x6d')]=_0x568e0a;var _0x550c61=_[_0x2f45('0x6e')](this[_0x2f45('0x1e')][_0x5e99ce][_0x2f45('0x6f')],{'filename':_0x568e0a});if(_[_0x2f45('0x70')](_0x550c61)){this['channels'][_0x5e99ce][_0x2f45('0x6f')][_0x2f45('0x71')]({'filename':_0x568e0a,'createdAt':moment()[_0x2f45('0x43')](_0x2f45('0x44')),'mixmonitorid':'','status':_0x2f45('0x72')});}}};VoiceCallReport[_0x2f45('0x38')][_0x2f45('0x27')]=function(_0x421897){try{if(this[_0x2f45('0x37')](_0x421897)){if(this['channels'][_0x421897[_0x2f45('0x3c')]]&&_0x421897['channel']!=_0x2f45('0x41')){if(this[_0x2f45('0x37')](_0x421897[_0x2f45('0x73')])){if(this[_0x2f45('0x37')](_0x421897[_0x2f45('0x73')][_0x2f45('0x74')])){this[_0x2f45('0x67')](_0x421897[_0x2f45('0x3c')],_0x421897[_0x2f45('0x75')]);}else if(this[_0x2f45('0x37')](_0x421897[_0x2f45('0x73')][_0x2f45('0x76')])){this[_0x2f45('0x1e')][_0x421897[_0x2f45('0x3c')]][_0x2f45('0x62')]=_0x421897['value'];}else if(this[_0x2f45('0x37')](_0x421897[_0x2f45('0x73')][_0x2f45('0x77')])){this[_0x2f45('0x1e')][_0x421897[_0x2f45('0x3c')]]['callerid']=_0x421897['value'];}else if(this[_0x2f45('0x37')](_0x421897[_0x2f45('0x73')][_0x2f45('0x78')])){this[_0x2f45('0x1e')][_0x421897[_0x2f45('0x3c')]][_0x2f45('0x79')]=_0x421897['value'];}else if(this[_0x2f45('0x37')](_0x421897[_0x2f45('0x73')][_0x2f45('0x7a')])){this[_0x2f45('0x1e')][_0x421897['uniqueid']][_0x2f45('0x14')]=_0x421897[_0x2f45('0x75')]['split'](',')[0x0];}else if(this[_0x2f45('0x37')](_0x421897[_0x2f45('0x73')][_0x2f45('0x7b')])){this[_0x2f45('0x1e')][_0x421897[_0x2f45('0x3c')]][_0x2f45('0x7c')]=_0x421897[_0x2f45('0x75')];}else if(this['isNotNull'](_0x421897[_0x2f45('0x73')]['xmd-destination'])){this[_0x2f45('0x1e')][_0x421897[_0x2f45('0x3c')]]['destination']=_0x421897['value'];}else if(this[_0x2f45('0x37')](_0x421897['variable'][_0x2f45('0x7d')])){this[_0x2f45('0x1e')][_0x421897[_0x2f45('0x3c')]][_0x2f45('0x7e')]=_0x421897[_0x2f45('0x75')];}else if(this[_0x2f45('0x37')](_0x421897[_0x2f45('0x73')]['xmcs-queue'])){this['channels'][_0x421897[_0x2f45('0x3c')]][_0x2f45('0x14')]=_0x421897[_0x2f45('0x75')];}else if(this[_0x2f45('0x37')](_0x421897[_0x2f45('0x73')][_0x2f45('0x7f')])){this[_0x2f45('0x1e')][_0x421897[_0x2f45('0x3c')]]['sipcalluniqueid']=_0x421897[_0x2f45('0x75')];}}}else if(this[_0x2f45('0x37')](_0x421897[_0x2f45('0x73')]['mixmonitor_filename'])){if(_0x421897[_0x2f45('0x75')]){var _0x17c920=path[_0x2f45('0x80')](_0x421897['value'])[_0x2f45('0x4d')];this['syncMixMonitorFilename'](_0x17c920,_0x421897[_0x2f45('0x75')]);}}else if(this['channels'][_0x421897[_0x2f45('0x3a')]]){if(this['isNotNull'](_0x421897[_0x2f45('0x73')])){if(this[_0x2f45('0x37')](_0x421897[_0x2f45('0x73')]['sipcallid'])){this[_0x2f45('0x1e')][_0x421897['linkedid']]['sipcalllinkedid']=_0x421897[_0x2f45('0x75')];}}}}}catch(_0x53a180){logger[_0x2f45('0x3e')](_0x2f45('0x81'),util['inspect'](_0x53a180,{'showHidden':![],'depth':null}));}};VoiceCallReport['prototype'][_0x2f45('0x82')]=function(_0xc50655){try{if(this[_0x2f45('0x37')](_0xc50655)){if(this[_0x2f45('0x1e')][_0xc50655[_0x2f45('0x3c')]]){var _0xb7d9db=moment();this[_0x2f45('0x1e')][_0xc50655['uniqueid']]['endtime']=_0xb7d9db[_0x2f45('0x43')]('YYYY-MM-DD\x20HH:mm:ss');this[_0x2f45('0x1e')][_0xc50655[_0x2f45('0x3c')]][_0x2f45('0x54')]=_0xb7d9db['diff'](this[_0x2f45('0x1e')][_0xc50655[_0x2f45('0x3c')]][_0x2f45('0x42')],_0x2f45('0x55'));if(this['channels'][_0xc50655[_0x2f45('0x3c')]][_0x2f45('0x5e')]){this[_0x2f45('0x1e')][_0xc50655['uniqueid']][_0x2f45('0x83')]=_0xb7d9db[_0x2f45('0x61')](this[_0x2f45('0x1e')][_0xc50655[_0x2f45('0x3c')]][_0x2f45('0x5f')],_0x2f45('0x55'));this[_0x2f45('0x1e')][_0xc50655[_0x2f45('0x3c')]][_0x2f45('0x60')]=this[_0x2f45('0x1e')][_0xc50655[_0x2f45('0x3c')]][_0x2f45('0x54')]-this['channels'][_0xc50655[_0x2f45('0x3c')]]['billableseconds'];}if(_0xc50655[_0x2f45('0x48')]===_0x2f45('0x84')){if(this[_0x2f45('0x1f')][_0xc50655['channel']['split']('-')[0x0]]){this['agents'][_0xc50655[_0x2f45('0x40')][_0x2f45('0x49')]('-')[0x0]]=_[_0x2f45('0x85')](this[_0x2f45('0x1f')][_0xc50655[_0x2f45('0x40')]['split']('-')[0x0]],['destconnectedlinenum']);this[_0x2f45('0x39')](util['format']('user:%s',this[_0x2f45('0x1f')][_0xc50655[_0x2f45('0x40')][_0x2f45('0x49')]('-')[0x0]][_0x2f45('0x4d')]),_0x2f45('0x86'),{'destaccountcode':this[_0x2f45('0x1f')][_0xc50655[_0x2f45('0x40')][_0x2f45('0x49')]('-')[0x0]][_0x2f45('0x4e')]});}}ami[_0x2f45('0x39')]('custom:voiceCallReport',this[_0x2f45('0x1e')][_0xc50655[_0x2f45('0x3c')]]);delete this['channels'][_0xc50655[_0x2f45('0x3c')]];}}}catch(_0x53efbc){logger[_0x2f45('0x3e')](_0x2f45('0x87'),util[_0x2f45('0x5d')](_0x53efbc,{'showHidden':![],'depth':null}));}};VoiceCallReport[_0x2f45('0x38')][_0x2f45('0x2c')]=function(_0x25cd57){try{if(this[_0x2f45('0x37')](_0x25cd57)){if(this[_0x2f45('0x1e')][_0x25cd57['transfereeuniqueid']]){this[_0x2f45('0x1e')][_0x25cd57[_0x2f45('0x88')]]['transfercalleridnum']=_0x25cd57[_0x2f45('0x89')];this[_0x2f45('0x1e')][_0x25cd57[_0x2f45('0x88')]][_0x2f45('0x8a')]=_0x25cd57[_0x2f45('0x8b')];if(this[_0x2f45('0x1e')][_0x25cd57['secondtransfereruniqueid']]){var _0x7a9b4=this[_0x2f45('0x1e')][_0x25cd57['secondtransfereruniqueid']];this[_0x2f45('0x1e')][_0x25cd57['secondtransfereruniqueid']]=this[_0x2f45('0x1e')][_0x25cd57[_0x2f45('0x88')]];this[_0x2f45('0x1e')][_0x25cd57[_0x2f45('0x88')]]=_0x7a9b4;}}else if(this[_0x2f45('0x1e')][_0x25cd57[_0x2f45('0x8c')]]){this[_0x2f45('0x1e')][_0x25cd57[_0x2f45('0x8c')]][_0x2f45('0x8d')]=_0x25cd57[_0x2f45('0x89')];this['channels'][_0x25cd57['transfertargetuniqueid']][_0x2f45('0x8a')]=_0x25cd57['transfertargetcalleridnum'];if(this[_0x2f45('0x1e')][_0x25cd57['origtransfereruniqueid']]){var _0x7a9b4=this['channels'][_0x25cd57['origtransfereruniqueid']];this['channels'][_0x25cd57[_0x2f45('0x8e')]]=this[_0x2f45('0x1e')][_0x25cd57['transfertargetuniqueid']];this[_0x2f45('0x1e')][_0x25cd57[_0x2f45('0x8c')]]=_0x7a9b4;}}}}catch(_0x4584fc){logger['error'](_0x2f45('0x8f'),util[_0x2f45('0x5d')](_0x4584fc,{'showHidden':![],'depth':null}));}};VoiceCallReport[_0x2f45('0x38')][_0x2f45('0x2e')]=function(_0x1e7d61){try{if(this[_0x2f45('0x37')](_0x1e7d61)){if(this['channels'][_0x1e7d61['transfereeuniqueid']]){this['channels'][_0x1e7d61[_0x2f45('0x88')]][_0x2f45('0x8d')]=_0x1e7d61[_0x2f45('0x90')];this['channels'][_0x1e7d61['transfereeuniqueid']]['transferconnectedlinenum']=_0x1e7d61[_0x2f45('0x91')];this[_0x2f45('0x82')]({'event':_0x2f45('0x92'),'uniqueid':_0x1e7d61['transfereeuniqueid'],'context':_0x1e7d61[_0x2f45('0x48')],'channel':_0x1e7d61[_0x2f45('0x93')]});}}}catch(_0x35546e){logger[_0x2f45('0x3e')](_0x2f45('0x94'),util[_0x2f45('0x5d')](_0x35546e,{'showHidden':![],'depth':null}));}};VoiceCallReport[_0x2f45('0x38')][_0x2f45('0x30')]=function(_0x3c7bde){try{if(this[_0x2f45('0x37')](_0x3c7bde)){if(this['channels'][_0x3c7bde[_0x2f45('0x3c')]]){if(!_[_0x2f45('0x70')](this[_0x2f45('0x1e')][_0x3c7bde[_0x2f45('0x3c')]][_0x2f45('0x5f')])){this[_0x2f45('0x1e')][_0x3c7bde[_0x2f45('0x3c')]][_0x2f45('0x95')]=moment()['format'](_0x2f45('0x44'));}}}}catch(_0x6d2523){logger[_0x2f45('0x3e')](_0x2f45('0x96'),util['inspect'](_0x6d2523,{'showHidden':![],'depth':null}));}};VoiceCallReport[_0x2f45('0x38')]['syncMusicOnHoldStop']=function(_0x2c7806){try{if(this[_0x2f45('0x37')](_0x2c7806)){if(this[_0x2f45('0x1e')][_0x2c7806[_0x2f45('0x3c')]]){if(!_[_0x2f45('0x70')](this[_0x2f45('0x1e')][_0x2c7806['uniqueid']][_0x2f45('0x95')])){this[_0x2f45('0x1e')][_0x2c7806[_0x2f45('0x3c')]][_0x2f45('0x97')]+=moment()[_0x2f45('0x98')](0x0)[_0x2f45('0x61')](this[_0x2f45('0x1e')][_0x2c7806[_0x2f45('0x3c')]][_0x2f45('0x95')],_0x2f45('0x55'));delete this[_0x2f45('0x1e')][_0x2c7806['uniqueid']][_0x2f45('0x95')];}}}}catch(_0x3b5159){logger[_0x2f45('0x3e')](_0x2f45('0x99'),util['inspect'](_0x3b5159,{'showHidden':![],'depth':null}));}};module[_0x2f45('0x9a')]=VoiceCallReport; \ No newline at end of file +var _0xf768=['xmd-destination','destination','calleridpreview','xmcs-queue','sipcallid','sipcalluniqueid','mixmonitor_filename','sipcalllinkedid','diff','billableseconds','omit','destconnectedlinenum','user:agentcomplete','custom:voiceCallReport','[syncHangup][VoiceCallReport]','transfereeuniqueid','transfercalleridnum','origtransferercalleridnum','transferconnectedlinenum','transfertargetcalleridnum','secondtransfereruniqueid','transfertargetuniqueid','origtransfereruniqueid','[syncAttendedTransfer][VoiceCallReport]','transfereecalleridnum','transfererchannel','[syncBlindTransfer][VoiceCallReport]','mohstarttime','mohtime','milliseconds','[syncMusicOnHoldStop][VoiceCallReport]','exports','bluebird','moment','util','ioredis','../../../config/logger','../ami','../model/channel','unknown','inuse','busy','invalid','unavailable','ringing','ringinuse','onhold','set','queue','agi','playback','voicemail','NO\x20ANSWER','FAILED','ANSWERED','redis','defaults','localhost','channels','agents','coreshowchannel','bind','newexten','syncNewExten','newchannel','syncNewChannel','newstate','syncNewState','varset','syncHangup','newcallerid','syncNewCallerId','syncAttendedTransfer','blindtransfer','syncBlindTransfer','musiconholdstart','syncMusicOnHoldStart','musiconholdstop','syncMusicOnHoldStop','then','actionCoreShowChannels','log','isUndefined','prototype','emit','uniqueid','merge','pick','error','isNotNull','linkedid','starttime','format','YYYY-MM-DD\x20HH:mm:ss','disposition','toNumber','channelstate','keys','context','from-sip','channel','split','exten','user:%s','name','user:agentconnect','accountcode','[syncNewChannel][VoiceCallReport]','OutgoingSpoolFailed','application','toLowerCase','applicationdata','appdata','duration','subtract','seconds','includes','lastapplication','lastdata','startsWith','match','answered','answertime','holdtime','calleridnum','xcally-motion-preview','connectedlinename','UserId','membername','[syncNewState][VoiceCallReport]','inspect','monitor','endsWith','.wav49','replace','.WAV','monitorFilename','find','isNil','monitors','push','rec','variable','syncMixMonitorFilename','value','xmd-cdrtype','xmd-queue','originatecalleridnum'];(function(_0x1facfa,_0x1acf7d){var _0x9ec701=function(_0x115e37){while(--_0x115e37){_0x1facfa['push'](_0x1facfa['shift']());}};_0x9ec701(++_0x1acf7d);}(_0xf768,0x1dc));var _0x8f76=function(_0x4cf98e,_0xba4b79){_0x4cf98e=_0x4cf98e-0x0;var _0x1623ac=_0xf768[_0x4cf98e];return _0x1623ac;};'use strict';var BPromise=require(_0x8f76('0x0'));var _=require('lodash');var moment=require(_0x8f76('0x1'));var util=require(_0x8f76('0x2'));var path=require('path');var Redis=require(_0x8f76('0x3'));var config=require('../../../config/environment');var logger=require(_0x8f76('0x4'))('ami');var ami=require(_0x8f76('0x5'));var Channel=require(_0x8f76('0x6'));var statusDesc=[_0x8f76('0x7'),'not_inuse',_0x8f76('0x8'),_0x8f76('0x9'),_0x8f76('0xa'),_0x8f76('0xb'),_0x8f76('0xc'),_0x8f76('0xd'),_0x8f76('0xe')];var applications=[_0x8f76('0xf'),_0x8f76('0x10'),_0x8f76('0x11'),'dial',_0x8f76('0x12'),_0x8f76('0x13')];var dispositions=[_0x8f76('0x14'),_0x8f76('0x15'),'FAILED',_0x8f76('0x14'),'NO\x20ANSWER',_0x8f76('0x14'),_0x8f76('0x16'),'BUSY',_0x8f76('0x15'),_0x8f76('0x15'),_0x8f76('0x15')];var actions={};config[_0x8f76('0x17')]=_[_0x8f76('0x18')](config[_0x8f76('0x17')],{'host':_0x8f76('0x19'),'port':0x18eb});var io=require('socket.io-emitter')(new Redis(config[_0x8f76('0x17')]));function VoiceCallReport(_0x1e08b5){this[_0x8f76('0x1a')]=_0x1e08b5['channels'];this[_0x8f76('0x1b')]=_0x1e08b5['agents'];ami['on'](_0x8f76('0x1c'),this['syncNewExten'][_0x8f76('0x1d')](this));ami['on'](_0x8f76('0x1e'),this[_0x8f76('0x1f')][_0x8f76('0x1d')](this));ami['on'](_0x8f76('0x20'),this[_0x8f76('0x21')][_0x8f76('0x1d')](this));ami['on'](_0x8f76('0x22'),this[_0x8f76('0x23')]['bind'](this));ami['on'](_0x8f76('0x24'),this['syncVarSet']['bind'](this));ami['on']('hangup',this[_0x8f76('0x25')][_0x8f76('0x1d')](this));ami['on'](_0x8f76('0x26'),this[_0x8f76('0x27')]['bind'](this));ami['on']('attendedtransfer',this[_0x8f76('0x28')][_0x8f76('0x1d')](this));ami['on'](_0x8f76('0x29'),this[_0x8f76('0x2a')][_0x8f76('0x1d')](this));ami['on'](_0x8f76('0x2b'),this[_0x8f76('0x2c')][_0x8f76('0x1d')](this));ami['on'](_0x8f76('0x2d'),this[_0x8f76('0x2e')][_0x8f76('0x1d')](this));return BPromise['resolve']()[_0x8f76('0x2f')](ami[_0x8f76('0x30')]())['catch'](function(_0x4d6633){console[_0x8f76('0x31')](_0x4d6633);});}VoiceCallReport['prototype']['isNotNull']=function(_0x90fa55){return _0x90fa55!==null&&!_[_0x8f76('0x32')](_0x90fa55);};VoiceCallReport[_0x8f76('0x33')][_0x8f76('0x34')]=function(_0x3c1776,_0x3b37fb,_0x4b8ca5){io['to'](_0x3c1776)[_0x8f76('0x34')](_0x3b37fb,_0x4b8ca5);};VoiceCallReport[_0x8f76('0x33')][_0x8f76('0x27')]=function(_0x25d0f9){try{if(this['isNotNull'](_0x25d0f9)){if(_0x25d0f9[_0x8f76('0x35')]===_0x25d0f9['linkedid']){if(!_['isUndefined'](this['channels'][_0x25d0f9[_0x8f76('0x35')]])){_[_0x8f76('0x36')](this[_0x8f76('0x1a')][_0x25d0f9[_0x8f76('0x35')]],_[_0x8f76('0x37')](_0x25d0f9,_['keys'](this[_0x8f76('0x1a')][_0x25d0f9[_0x8f76('0x35')]])));}}}}catch(_0x184c25){logger[_0x8f76('0x38')]('[syncNewCallerId][VoiceCallReport]',util['inspect'](_0x184c25,{'showHidden':![],'depth':null}));}};VoiceCallReport['prototype'][_0x8f76('0x21')]=function(_0xa0b429){try{if(this[_0x8f76('0x39')](_0xa0b429)){if(_0xa0b429[_0x8f76('0x35')]===_0xa0b429[_0x8f76('0x3a')]&&_0xa0b429['channel']!='OutgoingSpoolFailed'){if(_['isUndefined'](this[_0x8f76('0x1a')][_0xa0b429[_0x8f76('0x35')]])){this[_0x8f76('0x1a')][_0xa0b429[_0x8f76('0x35')]]=new Channel();this[_0x8f76('0x1a')][_0xa0b429['uniqueid']][_0x8f76('0x3b')]=moment()[_0x8f76('0x3c')](_0x8f76('0x3d'));this[_0x8f76('0x1a')][_0xa0b429[_0x8f76('0x35')]][_0x8f76('0x3e')]=dispositions[_[_0x8f76('0x3f')](_0xa0b429[_0x8f76('0x40')])];_[_0x8f76('0x36')](this[_0x8f76('0x1a')][_0xa0b429[_0x8f76('0x35')]],_['pick'](_0xa0b429,_[_0x8f76('0x41')](this[_0x8f76('0x1a')][_0xa0b429[_0x8f76('0x35')]])));if(_0xa0b429[_0x8f76('0x42')]===_0x8f76('0x43')){if(this[_0x8f76('0x1b')][_0xa0b429[_0x8f76('0x44')]['split']('-')[0x0]]){this[_0x8f76('0x1b')][_0xa0b429['channel'][_0x8f76('0x45')]('-')[0x0]]['destconnectedlinenum']=_0xa0b429[_0x8f76('0x46')];this[_0x8f76('0x34')](util[_0x8f76('0x3c')](_0x8f76('0x47'),this[_0x8f76('0x1b')][_0xa0b429[_0x8f76('0x44')]['split']('-')[0x0]][_0x8f76('0x48')]),_0x8f76('0x49'),{'destaccountcode':this[_0x8f76('0x1b')][_0xa0b429[_0x8f76('0x44')][_0x8f76('0x45')]('-')[0x0]][_0x8f76('0x4a')],'destconnectedlinenum':_0xa0b429['exten']});}}}}}}catch(_0x54fd73){logger[_0x8f76('0x38')](_0x8f76('0x4b'),util['inspect'](_0x54fd73,{'showHidden':![],'depth':null}));}};VoiceCallReport[_0x8f76('0x33')][_0x8f76('0x1f')]=function(_0x5e2d4d){try{if(this['isNotNull'](_0x5e2d4d)){if(_0x5e2d4d[_0x8f76('0x35')]===_0x5e2d4d[_0x8f76('0x3a')]&&_0x5e2d4d['exten']!='h'&&_0x5e2d4d['channel']!=_0x8f76('0x4c')){_0x5e2d4d[_0x8f76('0x4d')]=_0x5e2d4d['application'][_0x8f76('0x4e')]();_0x5e2d4d[_0x8f76('0x4f')]=(_0x5e2d4d[_0x8f76('0x50')]||_0x5e2d4d[_0x8f76('0x4f')])[_0x8f76('0x4e')]();if(_['isUndefined'](this[_0x8f76('0x1a')][_0x5e2d4d[_0x8f76('0x35')]])){this[_0x8f76('0x1a')][_0x5e2d4d['uniqueid']]=new Channel();this['channels'][_0x5e2d4d[_0x8f76('0x35')]][_0x8f76('0x3b')]=_0x5e2d4d[_0x8f76('0x51')]?moment()[_0x8f76('0x52')](moment[_0x8f76('0x51')](_0x5e2d4d[_0x8f76('0x51')])['seconds'](),_0x8f76('0x53'))[_0x8f76('0x3c')](_0x8f76('0x3d')):moment()[_0x8f76('0x3c')](_0x8f76('0x3d'));this['channels'][_0x5e2d4d[_0x8f76('0x35')]][_0x8f76('0x3e')]='NO\x20ANSWER';}_[_0x8f76('0x36')](this['channels'][_0x5e2d4d[_0x8f76('0x35')]],_[_0x8f76('0x37')](_0x5e2d4d,_[_0x8f76('0x41')](this[_0x8f76('0x1a')][_0x5e2d4d[_0x8f76('0x35')]])));if(_[_0x8f76('0x54')](applications,_0x5e2d4d[_0x8f76('0x4d')])){this['channels'][_0x5e2d4d[_0x8f76('0x35')]][_0x8f76('0x55')]=_0x5e2d4d['application'];this[_0x8f76('0x1a')][_0x5e2d4d[_0x8f76('0x35')]][_0x8f76('0x56')]=_0x5e2d4d[_0x8f76('0x4f')];if(_0x5e2d4d[_0x8f76('0x4d')]===_0x8f76('0xf')&&_[_0x8f76('0x57')](_0x5e2d4d[_0x8f76('0x4f')],'cdr(')){var _0x4410e4=_0x5e2d4d[_0x8f76('0x4f')][_0x8f76('0x45')]('=');var _0xaad897=_0x4410e4[0x0][_0x8f76('0x58')](/cdr\((.*)\)/);if(_0xaad897){this[_0x8f76('0x1a')][_0x5e2d4d['uniqueid']][_0xaad897[0x1]]=_0x4410e4[0x1];}}else if(_0x5e2d4d['application']===_0x8f76('0x10')){this[_0x8f76('0x1a')][_0x5e2d4d[_0x8f76('0x35')]][_0x8f76('0x10')]=_0x5e2d4d[_0x8f76('0x4f')]['split'](',')[0x0];}}}}}catch(_0x163770){logger[_0x8f76('0x38')]('[syncNewExten][VoiceCallReport]',util['inspect'](_0x163770,{'showHidden':![],'depth':null}));}};VoiceCallReport[_0x8f76('0x33')][_0x8f76('0x23')]=function(_0x1501db){try{if(this[_0x8f76('0x39')](_0x1501db)){if(_0x1501db[_0x8f76('0x35')]!==_0x1501db[_0x8f76('0x3a')]){if(this[_0x8f76('0x1a')][_0x1501db[_0x8f76('0x3a')]]){if(_0x1501db['channelstate']==='6'){if(!this[_0x8f76('0x1a')][_0x1501db[_0x8f76('0x3a')]]['answered']){var _0x14619d=moment();this[_0x8f76('0x1a')][_0x1501db[_0x8f76('0x3a')]][_0x8f76('0x59')]=!![];this[_0x8f76('0x1a')][_0x1501db['linkedid']][_0x8f76('0x5a')]=_0x14619d[_0x8f76('0x3c')](_0x8f76('0x3d'));if(this[_0x8f76('0x1a')][_0x1501db['linkedid']][_0x8f76('0x3b')]){this[_0x8f76('0x1a')][_0x1501db[_0x8f76('0x3a')]][_0x8f76('0x5b')]=_0x14619d['diff'](this[_0x8f76('0x1a')][_0x1501db[_0x8f76('0x3a')]][_0x8f76('0x3b')],'seconds');}}this[_0x8f76('0x1a')][_0x1501db[_0x8f76('0x3a')]][_0x8f76('0x3a')]=_0x1501db['uniqueid'];if(_0x1501db[_0x8f76('0x5c')]!==_0x8f76('0x5d')){this[_0x8f76('0x1a')][_0x1501db['linkedid']]['connectedlinenum']=_0x1501db['calleridnum'];}this[_0x8f76('0x1a')][_0x1501db['linkedid']][_0x8f76('0x5e')]=_0x1501db['calleridname'];this[_0x8f76('0x1a')][_0x1501db['linkedid']]['destinationchannel']=_0x1501db[_0x8f76('0x44')];this['channels'][_0x1501db[_0x8f76('0x3a')]][_0x8f76('0x3e')]=dispositions[_[_0x8f76('0x3f')](_0x1501db[_0x8f76('0x40')])];if(this[_0x8f76('0x1b')][_0x1501db[_0x8f76('0x44')][_0x8f76('0x45')]('-')[0x0]]){this[_0x8f76('0x1a')][_0x1501db['linkedid']][_0x8f76('0x5f')]=this[_0x8f76('0x1b')][_0x1501db[_0x8f76('0x44')][_0x8f76('0x45')]('-')[0x0]]['id'];this[_0x8f76('0x1a')][_0x1501db[_0x8f76('0x3a')]][_0x8f76('0x60')]=this[_0x8f76('0x1b')][_0x1501db[_0x8f76('0x44')][_0x8f76('0x45')]('-')[0x0]][_0x8f76('0x48')];}}}}else{if(this[_0x8f76('0x1a')][_0x1501db[_0x8f76('0x35')]]){if(_0x1501db[_0x8f76('0x40')]==='6'){if(this['agents'][_0x1501db[_0x8f76('0x44')]['split']('-')[0x0]]){this[_0x8f76('0x1a')][_0x1501db[_0x8f76('0x35')]][_0x8f76('0x5f')]=this[_0x8f76('0x1b')][_0x1501db[_0x8f76('0x44')][_0x8f76('0x45')]('-')[0x0]]['id'];this[_0x8f76('0x1a')][_0x1501db['uniqueid']][_0x8f76('0x60')]=this[_0x8f76('0x1b')][_0x1501db[_0x8f76('0x44')]['split']('-')[0x0]][_0x8f76('0x48')];}}}}}}catch(_0x19fdd0){logger[_0x8f76('0x38')](_0x8f76('0x61'),util[_0x8f76('0x62')](_0x19fdd0,{'showHidden':![],'depth':null}));}};VoiceCallReport['prototype']['syncMixMonitorFilename']=function(_0x289003,_0xacbac0){if(this[_0x8f76('0x1a')][_0x289003]){this[_0x8f76('0x1a')][_0x289003][_0x8f76('0x63')]=!![];if(_[_0x8f76('0x64')](_0xacbac0,_0x8f76('0x65'))){_0xacbac0=_0xacbac0[_0x8f76('0x66')](_0x8f76('0x65'),_0x8f76('0x67'));}this[_0x8f76('0x1a')][_0x289003][_0x8f76('0x68')]=_0xacbac0;var _0x183566=_[_0x8f76('0x69')](this[_0x8f76('0x1a')][_0x289003]['monitors'],{'filename':_0xacbac0});if(_[_0x8f76('0x6a')](_0x183566)){this['channels'][_0x289003][_0x8f76('0x6b')][_0x8f76('0x6c')]({'filename':_0xacbac0,'createdAt':moment()[_0x8f76('0x3c')](_0x8f76('0x3d')),'mixmonitorid':'','status':_0x8f76('0x6d')});}}};VoiceCallReport[_0x8f76('0x33')]['syncVarSet']=function(_0x3d86f9){try{if(this['isNotNull'](_0x3d86f9)){if(this[_0x8f76('0x1a')][_0x3d86f9[_0x8f76('0x35')]]&&_0x3d86f9[_0x8f76('0x44')]!=_0x8f76('0x4c')){if(this[_0x8f76('0x39')](_0x3d86f9['variable'])){if(this[_0x8f76('0x39')](_0x3d86f9[_0x8f76('0x6e')]['mixmonitor_filename'])){this[_0x8f76('0x6f')](_0x3d86f9[_0x8f76('0x35')],_0x3d86f9[_0x8f76('0x70')]);}else if(this[_0x8f76('0x39')](_0x3d86f9[_0x8f76('0x6e')]['xmd-phone'])){this['channels'][_0x3d86f9[_0x8f76('0x35')]][_0x8f76('0x5c')]=_0x3d86f9['value'];}else if(this['isNotNull'](_0x3d86f9[_0x8f76('0x6e')]['xmd-callerid'])){this['channels'][_0x3d86f9[_0x8f76('0x35')]]['callerid']=_0x3d86f9[_0x8f76('0x70')];}else if(this[_0x8f76('0x39')](_0x3d86f9[_0x8f76('0x6e')][_0x8f76('0x71')])){this[_0x8f76('0x1a')][_0x3d86f9[_0x8f76('0x35')]]['type']=_0x3d86f9[_0x8f76('0x70')];}else if(this[_0x8f76('0x39')](_0x3d86f9[_0x8f76('0x6e')][_0x8f76('0x72')])){this[_0x8f76('0x1a')][_0x3d86f9[_0x8f76('0x35')]][_0x8f76('0x10')]=_0x3d86f9[_0x8f76('0x70')][_0x8f76('0x45')](',')[0x0];}else if(this['isNotNull'](_0x3d86f9['variable']['xmd-originatecalleridnum'])){this[_0x8f76('0x1a')][_0x3d86f9[_0x8f76('0x35')]][_0x8f76('0x73')]=_0x3d86f9[_0x8f76('0x70')];}else if(this[_0x8f76('0x39')](_0x3d86f9[_0x8f76('0x6e')][_0x8f76('0x74')])){this['channels'][_0x3d86f9[_0x8f76('0x35')]][_0x8f76('0x75')]=_0x3d86f9[_0x8f76('0x70')];}else if(this['isNotNull'](_0x3d86f9[_0x8f76('0x6e')]['xmd-callerid-preview'])){this[_0x8f76('0x1a')][_0x3d86f9[_0x8f76('0x35')]][_0x8f76('0x76')]=_0x3d86f9[_0x8f76('0x70')];}else if(this['isNotNull'](_0x3d86f9['variable'][_0x8f76('0x77')])){this[_0x8f76('0x1a')][_0x3d86f9[_0x8f76('0x35')]][_0x8f76('0x10')]=_0x3d86f9[_0x8f76('0x70')];}else if(this[_0x8f76('0x39')](_0x3d86f9[_0x8f76('0x6e')][_0x8f76('0x78')])){this[_0x8f76('0x1a')][_0x3d86f9['uniqueid']][_0x8f76('0x79')]=_0x3d86f9['value'];}}}else if(this[_0x8f76('0x39')](_0x3d86f9[_0x8f76('0x6e')][_0x8f76('0x7a')])){if(_0x3d86f9[_0x8f76('0x70')]){var _0x3151d9=path['parse'](_0x3d86f9[_0x8f76('0x70')])[_0x8f76('0x48')];this[_0x8f76('0x6f')](_0x3151d9,_0x3d86f9['value']);}}else if(this['channels'][_0x3d86f9[_0x8f76('0x3a')]]){if(this[_0x8f76('0x39')](_0x3d86f9[_0x8f76('0x6e')])){if(this['isNotNull'](_0x3d86f9['variable'][_0x8f76('0x78')])){this[_0x8f76('0x1a')][_0x3d86f9[_0x8f76('0x3a')]][_0x8f76('0x7b')]=_0x3d86f9['value'];}}}}}catch(_0x1e4a6a){logger[_0x8f76('0x38')]('[syncVarSet][VoiceCallReport]',util['inspect'](_0x1e4a6a,{'showHidden':![],'depth':null}));}};VoiceCallReport[_0x8f76('0x33')][_0x8f76('0x25')]=function(_0x309b3d){try{if(this[_0x8f76('0x39')](_0x309b3d)){if(this[_0x8f76('0x1a')][_0x309b3d[_0x8f76('0x35')]]){var _0x37495f=moment();this[_0x8f76('0x1a')][_0x309b3d[_0x8f76('0x35')]]['endtime']=_0x37495f[_0x8f76('0x3c')](_0x8f76('0x3d'));this['channels'][_0x309b3d[_0x8f76('0x35')]][_0x8f76('0x51')]=_0x37495f[_0x8f76('0x7c')](this[_0x8f76('0x1a')][_0x309b3d[_0x8f76('0x35')]][_0x8f76('0x3b')],_0x8f76('0x53'));if(this[_0x8f76('0x1a')][_0x309b3d[_0x8f76('0x35')]][_0x8f76('0x59')]){this['channels'][_0x309b3d[_0x8f76('0x35')]][_0x8f76('0x7d')]=_0x37495f[_0x8f76('0x7c')](this['channels'][_0x309b3d['uniqueid']][_0x8f76('0x5a')],_0x8f76('0x53'));this[_0x8f76('0x1a')][_0x309b3d[_0x8f76('0x35')]][_0x8f76('0x5b')]=this[_0x8f76('0x1a')][_0x309b3d[_0x8f76('0x35')]][_0x8f76('0x51')]-this[_0x8f76('0x1a')][_0x309b3d[_0x8f76('0x35')]]['billableseconds'];}if(_0x309b3d['context']==='from-sip'){if(this[_0x8f76('0x1b')][_0x309b3d['channel'][_0x8f76('0x45')]('-')[0x0]]){this[_0x8f76('0x1b')][_0x309b3d[_0x8f76('0x44')][_0x8f76('0x45')]('-')[0x0]]=_[_0x8f76('0x7e')](this[_0x8f76('0x1b')][_0x309b3d['channel'][_0x8f76('0x45')]('-')[0x0]],[_0x8f76('0x7f')]);this[_0x8f76('0x34')](util[_0x8f76('0x3c')](_0x8f76('0x47'),this[_0x8f76('0x1b')][_0x309b3d[_0x8f76('0x44')][_0x8f76('0x45')]('-')[0x0]]['name']),_0x8f76('0x80'),{'destaccountcode':this[_0x8f76('0x1b')][_0x309b3d['channel'][_0x8f76('0x45')]('-')[0x0]][_0x8f76('0x4a')]});}}ami[_0x8f76('0x34')](_0x8f76('0x81'),this[_0x8f76('0x1a')][_0x309b3d[_0x8f76('0x35')]]);delete this[_0x8f76('0x1a')][_0x309b3d[_0x8f76('0x35')]];}}}catch(_0x526c88){logger[_0x8f76('0x38')](_0x8f76('0x82'),util[_0x8f76('0x62')](_0x526c88,{'showHidden':![],'depth':null}));}};VoiceCallReport[_0x8f76('0x33')][_0x8f76('0x28')]=function(_0x48942b){try{if(this['isNotNull'](_0x48942b)){if(this[_0x8f76('0x1a')][_0x48942b[_0x8f76('0x83')]]){this[_0x8f76('0x1a')][_0x48942b[_0x8f76('0x83')]][_0x8f76('0x84')]=_0x48942b[_0x8f76('0x85')];this[_0x8f76('0x1a')][_0x48942b[_0x8f76('0x83')]][_0x8f76('0x86')]=_0x48942b[_0x8f76('0x87')];if(this[_0x8f76('0x1a')][_0x48942b[_0x8f76('0x88')]]){var _0x395a8d=this['channels'][_0x48942b['secondtransfereruniqueid']];this[_0x8f76('0x1a')][_0x48942b[_0x8f76('0x88')]]=this[_0x8f76('0x1a')][_0x48942b[_0x8f76('0x83')]];this[_0x8f76('0x1a')][_0x48942b['transfereeuniqueid']]=_0x395a8d;}}else if(this[_0x8f76('0x1a')][_0x48942b[_0x8f76('0x89')]]){this[_0x8f76('0x1a')][_0x48942b['transfertargetuniqueid']][_0x8f76('0x84')]=_0x48942b['origtransferercalleridnum'];this[_0x8f76('0x1a')][_0x48942b[_0x8f76('0x89')]][_0x8f76('0x86')]=_0x48942b[_0x8f76('0x87')];if(this['channels'][_0x48942b[_0x8f76('0x8a')]]){var _0x395a8d=this['channels'][_0x48942b[_0x8f76('0x8a')]];this['channels'][_0x48942b[_0x8f76('0x8a')]]=this[_0x8f76('0x1a')][_0x48942b[_0x8f76('0x89')]];this[_0x8f76('0x1a')][_0x48942b['transfertargetuniqueid']]=_0x395a8d;}}}}catch(_0x529714){logger[_0x8f76('0x38')](_0x8f76('0x8b'),util[_0x8f76('0x62')](_0x529714,{'showHidden':![],'depth':null}));}};VoiceCallReport[_0x8f76('0x33')][_0x8f76('0x2a')]=function(_0x2525b6){try{if(this[_0x8f76('0x39')](_0x2525b6)){if(this[_0x8f76('0x1a')][_0x2525b6['transfereeuniqueid']]){this[_0x8f76('0x1a')][_0x2525b6[_0x8f76('0x83')]]['transfercalleridnum']=_0x2525b6[_0x8f76('0x8c')];this['channels'][_0x2525b6['transfereeuniqueid']]['transferconnectedlinenum']=_0x2525b6['extension'];this[_0x8f76('0x25')]({'event':'BlindTransfer','uniqueid':_0x2525b6[_0x8f76('0x83')],'context':_0x2525b6[_0x8f76('0x42')],'channel':_0x2525b6[_0x8f76('0x8d')]});}}}catch(_0x261a5c){logger[_0x8f76('0x38')](_0x8f76('0x8e'),util[_0x8f76('0x62')](_0x261a5c,{'showHidden':![],'depth':null}));}};VoiceCallReport[_0x8f76('0x33')][_0x8f76('0x2c')]=function(_0x204bec){try{if(this[_0x8f76('0x39')](_0x204bec)){if(this['channels'][_0x204bec[_0x8f76('0x35')]]){if(!_[_0x8f76('0x6a')](this[_0x8f76('0x1a')][_0x204bec[_0x8f76('0x35')]]['answertime'])){this[_0x8f76('0x1a')][_0x204bec['uniqueid']][_0x8f76('0x8f')]=moment()[_0x8f76('0x3c')](_0x8f76('0x3d'));}}}}catch(_0x52e870){logger[_0x8f76('0x38')]('[syncMusicOnHoldStart][VoiceCallReport]',util[_0x8f76('0x62')](_0x52e870,{'showHidden':![],'depth':null}));}};VoiceCallReport['prototype']['syncMusicOnHoldStop']=function(_0x522acc){try{if(this['isNotNull'](_0x522acc)){if(this['channels'][_0x522acc[_0x8f76('0x35')]]){if(!_[_0x8f76('0x6a')](this[_0x8f76('0x1a')][_0x522acc[_0x8f76('0x35')]]['mohstarttime'])){this[_0x8f76('0x1a')][_0x522acc['uniqueid']][_0x8f76('0x90')]+=moment()[_0x8f76('0x91')](0x0)[_0x8f76('0x7c')](this[_0x8f76('0x1a')][_0x522acc['uniqueid']]['mohstarttime'],'seconds');delete this[_0x8f76('0x1a')][_0x522acc[_0x8f76('0x35')]][_0x8f76('0x8f')];}}}}catch(_0x5b09ae){logger[_0x8f76('0x38')](_0x8f76('0x92'),util[_0x8f76('0x62')](_0x5b09ae,{'showHidden':![],'depth':null}));}};module[_0x8f76('0x93')]=VoiceCallReport; \ No newline at end of file diff --git a/server/services/ami/report/voiceDialReport.js b/server/services/ami/report/voiceDialReport.js index d14c1e4..76d07b2 100644 --- a/server/services/ami/report/voiceDialReport.js +++ b/server/services/ami/report/voiceDialReport.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x91c0=['custom:dialbegin','error','inspect','syncDialEnd','dialstatus','ANSWER','connectedlinenum','connectedlinename','lastevent','connect','custom:dialconnect','[syncDialEnd][VoiceDialReport]','isNotNull','addVariable','variable','value','voice:outbound','[syncVarSet][VoiceDialReport]','rtpaudioqosbridged','rtpaudioqosrtt','sipcallid','sipuri','bridgepeer','bridgepvtcallid','membercalls','memberdynamic','memberlastcall','membername','memberpenalty','memberrealtime','includes','endtime','duration','diff','seconds','complete','total','answered','holdtime','answertime','starttime','billableseconds','sumHoldTime','sumDuration','voice_outbound:save','info','[DEBUG]\x20Emit\x20voice_outbound_channel:remove\x20event','voice_outbound_channel:remove','[syncHangup][VoiceDialReport]','lodash','moment','util','ioredis','../../../config/environment','../../../config/logger','ami','../ami','redis','defaults','localhost','socket.io-emitter','channels','outboundChannels','outbound','variables','dialbegin','syncDialBegin','bind','dialend','varset','syncVarSet','hangup','syncHangup','isUndefined','emit','prototype','uniqueid','merge','format','YYYY-MM-DD\x20HH:mm:ss','called','channel','substring','lastIndexOf','event','voice_outbound_channel:save'];(function(_0x44bcb0,_0x235aa9){var _0xfaf881=function(_0x25d81d){while(--_0x25d81d){_0x44bcb0['push'](_0x44bcb0['shift']());}};_0xfaf881(++_0x235aa9);}(_0x91c0,0xdd));var _0x091c=function(_0x52deea,_0x4f665e){_0x52deea=_0x52deea-0x0;var _0x4547cb=_0x91c0[_0x52deea];return _0x4547cb;};'use strict';var _=require(_0x091c('0x0'));var moment=require(_0x091c('0x1'));var util=require(_0x091c('0x2'));var Redis=require(_0x091c('0x3'));var config=require(_0x091c('0x4'));var logger=require(_0x091c('0x5'))(_0x091c('0x6'));var ami=require(_0x091c('0x7'));config[_0x091c('0x8')]=_[_0x091c('0x9')](config['redis'],{'host':_0x091c('0xa'),'port':0x18eb});var io=require(_0x091c('0xb'))(new Redis(config[_0x091c('0x8')]));function VoiceDialReport(_0x13aad4){this[_0x091c('0xc')]=_0x13aad4[_0x091c('0xd')];this[_0x091c('0xe')]=_0x13aad4[_0x091c('0xe')];this[_0x091c('0xf')]={};ami['on'](_0x091c('0x10'),this[_0x091c('0x11')][_0x091c('0x12')](this));ami['on'](_0x091c('0x13'),this['syncDialEnd'][_0x091c('0x12')](this));ami['on'](_0x091c('0x14'),this[_0x091c('0x15')][_0x091c('0x12')](this));ami['on'](_0x091c('0x16'),this[_0x091c('0x17')][_0x091c('0x12')](this));}VoiceDialReport['prototype']['isNotNull']=function(_0x412b4b){return _0x412b4b!==null&&!_[_0x091c('0x18')](_0x412b4b);};VoiceDialReport['prototype'][_0x091c('0x19')]=function(_0x324cdf,_0x3eba5f,_0x336c03){io['to'](_0x324cdf)[_0x091c('0x19')](_0x3eba5f,_0x336c03);};VoiceDialReport[_0x091c('0x1a')][_0x091c('0x11')]=function(_0x48daf8){try{if(this['isNotNull'](_0x48daf8)){if(this[_0x091c('0xc')][_0x48daf8[_0x091c('0x1b')]]){_[_0x091c('0x1c')](this[_0x091c('0xc')][_0x48daf8[_0x091c('0x1b')]],{'starttime':moment()[_0x091c('0x1d')](_0x091c('0x1e')),'lastevent':_0x091c('0x1f'),'interface':_0x48daf8[_0x091c('0x20')][_0x091c('0x21')](0x0,_0x48daf8[_0x091c('0x20')][_0x091c('0x22')]('-')),'membername':_0x48daf8[_0x091c('0x20')][_0x091c('0x21')](_0x48daf8[_0x091c('0x20')]['lastIndexOf']('/')+0x1,_0x48daf8[_0x091c('0x20')][_0x091c('0x22')]('-'))},_['omit'](_0x48daf8,[_0x091c('0x23'),'privilege']));this[_0x091c('0x19')]('voice:outbound',_0x091c('0x24'),this[_0x091c('0xc')][_0x48daf8[_0x091c('0x1b')]]);ami['emit'](_0x091c('0x25'),this[_0x091c('0xc')][_0x48daf8[_0x091c('0x1b')]]);}}}catch(_0x470f89){logger[_0x091c('0x26')]('[syncDialBegin][VoiceDialReport]',util[_0x091c('0x27')](_0x470f89,{'showHidden':![],'depth':null}));}};VoiceDialReport['prototype'][_0x091c('0x28')]=function(_0x2b391c){try{if(this['isNotNull'](_0x2b391c)){if(this[_0x091c('0xc')][_0x2b391c[_0x091c('0x1b')]]){this['channels'][_0x2b391c[_0x091c('0x1b')]][_0x091c('0x29')]=_0x2b391c[_0x091c('0x29')];if(_0x2b391c['dialstatus']===_0x091c('0x2a')){this[_0x091c('0xc')][_0x2b391c['uniqueid']][_0x091c('0x2b')]=_0x2b391c[_0x091c('0x2b')];this['channels'][_0x2b391c['uniqueid']]['connectedlinename']=_0x2b391c[_0x091c('0x2c')];this['channels'][_0x2b391c[_0x091c('0x1b')]]['answertime']=moment()[_0x091c('0x1d')](_0x091c('0x1e'));this[_0x091c('0xc')][_0x2b391c[_0x091c('0x1b')]][_0x091c('0x2d')]=_0x091c('0x2e');ami[_0x091c('0x19')](_0x091c('0x2f'),this['channels'][_0x2b391c[_0x091c('0x1b')]]);}this[_0x091c('0x19')]('voice:outbound',_0x091c('0x24'),this['channels'][_0x2b391c[_0x091c('0x1b')]]);}}}catch(_0x10a12a){logger[_0x091c('0x26')](_0x091c('0x30'),util['inspect'](_0x10a12a,{'showHidden':![],'depth':null}));}};VoiceDialReport[_0x091c('0x1a')][_0x091c('0x15')]=function(_0x45b22a){try{if(this[_0x091c('0x31')](_0x45b22a)){this[_0x091c('0x32')](_0x45b22a[_0x091c('0x1b')],_['keys'](_0x45b22a['variable'])[0x0],_0x45b22a['value']);if(this[_0x091c('0x31')](_0x45b22a['variable'])&&this[_0x091c('0x31')](_0x45b22a[_0x091c('0x33')]['outboundrouteid'])){if(_['isUndefined'](this['channels'][_0x45b22a['uniqueid']])){this[_0x091c('0xc')][_0x45b22a[_0x091c('0x1b')]]={'routeId':_0x45b22a[_0x091c('0x34')],'variables':this[_0x091c('0xf')][_0x45b22a[_0x091c('0x1b')]]};this[_0x091c('0x19')](_0x091c('0x35'),'voice_outbound_channel:save',this[_0x091c('0xc')][_0x45b22a[_0x091c('0x1b')]]);}}}}catch(_0x14cafb){logger[_0x091c('0x26')](_0x091c('0x36'),util[_0x091c('0x27')](_0x14cafb,{'showHidden':![],'depth':null}));}};VoiceDialReport[_0x091c('0x1a')][_0x091c('0x32')]=function(_0x516fa5,_0xc8a7a6,_0x7ca24c){var _0x532ea6=['rtpaudioqos',_0x091c('0x37'),'rtpaudioqosjitter','rtpaudioqosjitterbridged','rtpaudioqosloss','rtpaudioqoslossbridged',_0x091c('0x38'),'rtpaudioqosrttbridged',_0x091c('0x39'),_0x091c('0x3a'),_0x091c('0x3b'),_0x091c('0x3c'),_0x091c('0x3d'),_0x091c('0x3e'),'memberinterface',_0x091c('0x3f'),_0x091c('0x40'),_0x091c('0x41'),_0x091c('0x42')];if(!_['isNil'](_0xc8a7a6)&&!_[_0x091c('0x43')](_0x532ea6,_0xc8a7a6)){if(_[_0x091c('0x18')](this[_0x091c('0xf')][_0x516fa5])){this[_0x091c('0xf')][_0x516fa5]={};}this[_0x091c('0xf')][_0x516fa5][_0xc8a7a6]=_0x7ca24c;}};VoiceDialReport['prototype']['syncHangup']=function(_0x10ea7b){try{if(this[_0x091c('0x31')](_0x10ea7b)){if(this[_0x091c('0xc')][_0x10ea7b[_0x091c('0x1b')]]){this[_0x091c('0xc')][_0x10ea7b[_0x091c('0x1b')]][_0x091c('0x44')]=moment()[_0x091c('0x1d')](_0x091c('0x1e'));this[_0x091c('0xc')][_0x10ea7b[_0x091c('0x1b')]][_0x091c('0x45')]=moment(this[_0x091c('0xc')][_0x10ea7b['uniqueid']]['endtime'])[_0x091c('0x46')](this['channels'][_0x10ea7b[_0x091c('0x1b')]]['starttime'],_0x091c('0x47'));this['channels'][_0x10ea7b[_0x091c('0x1b')]][_0x091c('0x2d')]=_0x091c('0x48');this[_0x091c('0xe')][_0x091c('0x49')]+=0x1;if(this['channels'][_0x10ea7b[_0x091c('0x1b')]]['answertime']){this[_0x091c('0xe')][_0x091c('0x4a')]+=0x1;this['channels'][_0x10ea7b[_0x091c('0x1b')]][_0x091c('0x4b')]=moment(this[_0x091c('0xc')][_0x10ea7b[_0x091c('0x1b')]][_0x091c('0x4c')])['diff'](this[_0x091c('0xc')][_0x10ea7b[_0x091c('0x1b')]][_0x091c('0x4d')],'seconds');this['channels'][_0x10ea7b[_0x091c('0x1b')]][_0x091c('0x4e')]=moment(this[_0x091c('0xc')][_0x10ea7b[_0x091c('0x1b')]][_0x091c('0x44')])[_0x091c('0x46')](this[_0x091c('0xc')][_0x10ea7b[_0x091c('0x1b')]][_0x091c('0x4c')],_0x091c('0x47'));this[_0x091c('0xe')][_0x091c('0x4f')]+=this['channels'][_0x10ea7b['uniqueid']][_0x091c('0x4b')]||0x0;this[_0x091c('0xe')]['sumBillable']+=this[_0x091c('0xc')][_0x10ea7b['uniqueid']]['billableseconds'];}this[_0x091c('0xe')][_0x091c('0x50')]+=this[_0x091c('0xc')][_0x10ea7b[_0x091c('0x1b')]]['duration'];ami[_0x091c('0x19')]('custom:voiceDialReport',this['channels'][_0x10ea7b[_0x091c('0x1b')]]);ami['emit']('custom:dialend',this[_0x091c('0xc')][_0x10ea7b[_0x091c('0x1b')]]);this[_0x091c('0x19')](_0x091c('0x35'),_0x091c('0x51'),this['outbound']);logger[_0x091c('0x52')](_0x091c('0x53'),JSON['stringify'](this[_0x091c('0xc')][_0x10ea7b[_0x091c('0x1b')]]));this[_0x091c('0x19')](_0x091c('0x35'),_0x091c('0x54'),this['channels'][_0x10ea7b[_0x091c('0x1b')]]);delete this[_0x091c('0xc')][_0x10ea7b[_0x091c('0x1b')]];}if(this[_0x091c('0xf')][_0x10ea7b[_0x091c('0x1b')]]){delete this[_0x091c('0xf')][_0x10ea7b[_0x091c('0x1b')]];}}}catch(_0x40b888){logger[_0x091c('0x26')](_0x091c('0x55'),util[_0x091c('0x27')](_0x40b888,{'showHidden':![],'depth':null}));}};module['exports']=VoiceDialReport; \ No newline at end of file +var _0xdfe8=['syncVarSet','hangup','syncHangup','prototype','isNotNull','emit','uniqueid','merge','format','called','channel','substring','lastIndexOf','omit','event','privilege','voice_outbound_channel:save','custom:dialbegin','error','[syncDialBegin][VoiceDialReport]','inspect','dialstatus','ANSWER','connectedlinenum','connectedlinename','answertime','lastevent','custom:dialconnect','voice:outbound','[syncDialEnd][VoiceDialReport]','addVariable','keys','variable','outboundrouteid','isUndefined','rtpaudioqos','rtpaudioqosbridged','rtpaudioqosjitter','rtpaudioqosjitterbridged','rtpaudioqosloss','rtpaudioqoslossbridged','rtpaudioqosrtt','sipcallid','sipuri','bridgepeer','bridgepvtcallid','membercalls','memberdynamic','memberinterface','memberpenalty','memberrealtime','isNil','includes','endtime','YYYY-MM-DD\x20HH:mm:ss','duration','diff','starttime','seconds','total','answered','holdtime','billableseconds','sumHoldTime','sumBillable','sumDuration','custom:voiceDialReport','custom:dialend','voice_outbound:save','info','[DEBUG]\x20Emit\x20voice_outbound_channel:remove\x20event','stringify','exports','lodash','moment','util','ioredis','../../../config/logger','../ami','defaults','redis','localhost','socket.io-emitter','channels','outboundChannels','outbound','variables','dialbegin','bind','syncDialEnd'];(function(_0x3f4441,_0x533a1a){var _0x260ddb=function(_0x175b3b){while(--_0x175b3b){_0x3f4441['push'](_0x3f4441['shift']());}};_0x260ddb(++_0x533a1a);}(_0xdfe8,0xa3));var _0x8dfe=function(_0x3e961c,_0x5747e7){_0x3e961c=_0x3e961c-0x0;var _0x474f9c=_0xdfe8[_0x3e961c];return _0x474f9c;};'use strict';var _=require(_0x8dfe('0x0'));var moment=require(_0x8dfe('0x1'));var util=require(_0x8dfe('0x2'));var Redis=require(_0x8dfe('0x3'));var config=require('../../../config/environment');var logger=require(_0x8dfe('0x4'))('ami');var ami=require(_0x8dfe('0x5'));config['redis']=_[_0x8dfe('0x6')](config[_0x8dfe('0x7')],{'host':_0x8dfe('0x8'),'port':0x18eb});var io=require(_0x8dfe('0x9'))(new Redis(config[_0x8dfe('0x7')]));function VoiceDialReport(_0x102b47){this[_0x8dfe('0xa')]=_0x102b47[_0x8dfe('0xb')];this['outbound']=_0x102b47[_0x8dfe('0xc')];this[_0x8dfe('0xd')]={};ami['on'](_0x8dfe('0xe'),this['syncDialBegin'][_0x8dfe('0xf')](this));ami['on']('dialend',this[_0x8dfe('0x10')][_0x8dfe('0xf')](this));ami['on']('varset',this[_0x8dfe('0x11')][_0x8dfe('0xf')](this));ami['on'](_0x8dfe('0x12'),this[_0x8dfe('0x13')][_0x8dfe('0xf')](this));}VoiceDialReport[_0x8dfe('0x14')][_0x8dfe('0x15')]=function(_0x1b6c78){return _0x1b6c78!==null&&!_['isUndefined'](_0x1b6c78);};VoiceDialReport[_0x8dfe('0x14')][_0x8dfe('0x16')]=function(_0x5eefc0,_0x5757d9,_0x3abebf){io['to'](_0x5eefc0)[_0x8dfe('0x16')](_0x5757d9,_0x3abebf);};VoiceDialReport['prototype']['syncDialBegin']=function(_0x5854f1){try{if(this[_0x8dfe('0x15')](_0x5854f1)){if(this['channels'][_0x5854f1[_0x8dfe('0x17')]]){_[_0x8dfe('0x18')](this['channels'][_0x5854f1[_0x8dfe('0x17')]],{'starttime':moment()[_0x8dfe('0x19')]('YYYY-MM-DD\x20HH:mm:ss'),'lastevent':_0x8dfe('0x1a'),'interface':_0x5854f1[_0x8dfe('0x1b')][_0x8dfe('0x1c')](0x0,_0x5854f1[_0x8dfe('0x1b')][_0x8dfe('0x1d')]('-')),'membername':_0x5854f1[_0x8dfe('0x1b')]['substring'](_0x5854f1['channel']['lastIndexOf']('/')+0x1,_0x5854f1[_0x8dfe('0x1b')][_0x8dfe('0x1d')]('-'))},_[_0x8dfe('0x1e')](_0x5854f1,[_0x8dfe('0x1f'),_0x8dfe('0x20')]));this[_0x8dfe('0x16')]('voice:outbound',_0x8dfe('0x21'),this[_0x8dfe('0xa')][_0x5854f1['uniqueid']]);ami[_0x8dfe('0x16')](_0x8dfe('0x22'),this[_0x8dfe('0xa')][_0x5854f1[_0x8dfe('0x17')]]);}}}catch(_0x24c550){logger[_0x8dfe('0x23')](_0x8dfe('0x24'),util[_0x8dfe('0x25')](_0x24c550,{'showHidden':![],'depth':null}));}};VoiceDialReport[_0x8dfe('0x14')][_0x8dfe('0x10')]=function(_0x385e4f){try{if(this['isNotNull'](_0x385e4f)){if(this[_0x8dfe('0xa')][_0x385e4f[_0x8dfe('0x17')]]){this[_0x8dfe('0xa')][_0x385e4f['uniqueid']][_0x8dfe('0x26')]=_0x385e4f[_0x8dfe('0x26')];if(_0x385e4f[_0x8dfe('0x26')]===_0x8dfe('0x27')){this[_0x8dfe('0xa')][_0x385e4f[_0x8dfe('0x17')]][_0x8dfe('0x28')]=_0x385e4f[_0x8dfe('0x28')];this[_0x8dfe('0xa')][_0x385e4f[_0x8dfe('0x17')]]['connectedlinename']=_0x385e4f[_0x8dfe('0x29')];this['channels'][_0x385e4f[_0x8dfe('0x17')]][_0x8dfe('0x2a')]=moment()[_0x8dfe('0x19')]('YYYY-MM-DD\x20HH:mm:ss');this[_0x8dfe('0xa')][_0x385e4f['uniqueid']][_0x8dfe('0x2b')]='connect';ami['emit'](_0x8dfe('0x2c'),this[_0x8dfe('0xa')][_0x385e4f[_0x8dfe('0x17')]]);}this[_0x8dfe('0x16')](_0x8dfe('0x2d'),_0x8dfe('0x21'),this['channels'][_0x385e4f['uniqueid']]);}}}catch(_0x577dce){logger[_0x8dfe('0x23')](_0x8dfe('0x2e'),util[_0x8dfe('0x25')](_0x577dce,{'showHidden':![],'depth':null}));}};VoiceDialReport[_0x8dfe('0x14')][_0x8dfe('0x11')]=function(_0xa3ce1a){try{if(this['isNotNull'](_0xa3ce1a)){this[_0x8dfe('0x2f')](_0xa3ce1a[_0x8dfe('0x17')],_[_0x8dfe('0x30')](_0xa3ce1a[_0x8dfe('0x31')])[0x0],_0xa3ce1a['value']);if(this[_0x8dfe('0x15')](_0xa3ce1a[_0x8dfe('0x31')])&&this[_0x8dfe('0x15')](_0xa3ce1a[_0x8dfe('0x31')][_0x8dfe('0x32')])){if(_[_0x8dfe('0x33')](this[_0x8dfe('0xa')][_0xa3ce1a[_0x8dfe('0x17')]])){this[_0x8dfe('0xa')][_0xa3ce1a[_0x8dfe('0x17')]]={'routeId':_0xa3ce1a['value'],'variables':this['variables'][_0xa3ce1a[_0x8dfe('0x17')]]};this[_0x8dfe('0x16')](_0x8dfe('0x2d'),_0x8dfe('0x21'),this['channels'][_0xa3ce1a[_0x8dfe('0x17')]]);}}}}catch(_0x519aeb){logger[_0x8dfe('0x23')]('[syncVarSet][VoiceDialReport]',util['inspect'](_0x519aeb,{'showHidden':![],'depth':null}));}};VoiceDialReport[_0x8dfe('0x14')][_0x8dfe('0x2f')]=function(_0x3ef3ef,_0x43a3d4,_0x8ded9d){var _0x5e73fa=[_0x8dfe('0x34'),_0x8dfe('0x35'),_0x8dfe('0x36'),_0x8dfe('0x37'),_0x8dfe('0x38'),_0x8dfe('0x39'),_0x8dfe('0x3a'),'rtpaudioqosrttbridged',_0x8dfe('0x3b'),_0x8dfe('0x3c'),_0x8dfe('0x3d'),_0x8dfe('0x3e'),_0x8dfe('0x3f'),_0x8dfe('0x40'),_0x8dfe('0x41'),'memberlastcall','membername',_0x8dfe('0x42'),_0x8dfe('0x43')];if(!_[_0x8dfe('0x44')](_0x43a3d4)&&!_[_0x8dfe('0x45')](_0x5e73fa,_0x43a3d4)){if(_[_0x8dfe('0x33')](this[_0x8dfe('0xd')][_0x3ef3ef])){this[_0x8dfe('0xd')][_0x3ef3ef]={};}this[_0x8dfe('0xd')][_0x3ef3ef][_0x43a3d4]=_0x8ded9d;}};VoiceDialReport[_0x8dfe('0x14')][_0x8dfe('0x13')]=function(_0x14be13){try{if(this[_0x8dfe('0x15')](_0x14be13)){if(this[_0x8dfe('0xa')][_0x14be13['uniqueid']]){this[_0x8dfe('0xa')][_0x14be13[_0x8dfe('0x17')]][_0x8dfe('0x46')]=moment()[_0x8dfe('0x19')](_0x8dfe('0x47'));this[_0x8dfe('0xa')][_0x14be13[_0x8dfe('0x17')]][_0x8dfe('0x48')]=moment(this[_0x8dfe('0xa')][_0x14be13[_0x8dfe('0x17')]][_0x8dfe('0x46')])[_0x8dfe('0x49')](this[_0x8dfe('0xa')][_0x14be13['uniqueid']][_0x8dfe('0x4a')],_0x8dfe('0x4b'));this[_0x8dfe('0xa')][_0x14be13['uniqueid']][_0x8dfe('0x2b')]='complete';this[_0x8dfe('0xc')][_0x8dfe('0x4c')]+=0x1;if(this['channels'][_0x14be13[_0x8dfe('0x17')]][_0x8dfe('0x2a')]){this[_0x8dfe('0xc')][_0x8dfe('0x4d')]+=0x1;this[_0x8dfe('0xa')][_0x14be13[_0x8dfe('0x17')]][_0x8dfe('0x4e')]=moment(this[_0x8dfe('0xa')][_0x14be13['uniqueid']][_0x8dfe('0x2a')])[_0x8dfe('0x49')](this[_0x8dfe('0xa')][_0x14be13[_0x8dfe('0x17')]][_0x8dfe('0x4a')],_0x8dfe('0x4b'));this[_0x8dfe('0xa')][_0x14be13[_0x8dfe('0x17')]][_0x8dfe('0x4f')]=moment(this[_0x8dfe('0xa')][_0x14be13[_0x8dfe('0x17')]][_0x8dfe('0x46')])[_0x8dfe('0x49')](this[_0x8dfe('0xa')][_0x14be13['uniqueid']][_0x8dfe('0x2a')],_0x8dfe('0x4b'));this[_0x8dfe('0xc')][_0x8dfe('0x50')]+=this[_0x8dfe('0xa')][_0x14be13[_0x8dfe('0x17')]][_0x8dfe('0x4e')]||0x0;this[_0x8dfe('0xc')][_0x8dfe('0x51')]+=this[_0x8dfe('0xa')][_0x14be13[_0x8dfe('0x17')]][_0x8dfe('0x4f')];}this[_0x8dfe('0xc')][_0x8dfe('0x52')]+=this[_0x8dfe('0xa')][_0x14be13[_0x8dfe('0x17')]]['duration'];ami[_0x8dfe('0x16')](_0x8dfe('0x53'),this[_0x8dfe('0xa')][_0x14be13[_0x8dfe('0x17')]]);ami[_0x8dfe('0x16')](_0x8dfe('0x54'),this[_0x8dfe('0xa')][_0x14be13[_0x8dfe('0x17')]]);this[_0x8dfe('0x16')](_0x8dfe('0x2d'),_0x8dfe('0x55'),this[_0x8dfe('0xc')]);logger[_0x8dfe('0x56')](_0x8dfe('0x57'),JSON[_0x8dfe('0x58')](this['channels'][_0x14be13[_0x8dfe('0x17')]]));this[_0x8dfe('0x16')](_0x8dfe('0x2d'),'voice_outbound_channel:remove',this[_0x8dfe('0xa')][_0x14be13['uniqueid']]);delete this[_0x8dfe('0xa')][_0x14be13[_0x8dfe('0x17')]];}if(this['variables'][_0x14be13[_0x8dfe('0x17')]]){delete this[_0x8dfe('0xd')][_0x14be13[_0x8dfe('0x17')]];}}}catch(_0x345353){logger['error']('[syncHangup][VoiceDialReport]',util['inspect'](_0x345353,{'showHidden':![],'depth':null}));}};module[_0x8dfe('0x59')]=VoiceDialReport; \ No newline at end of file diff --git a/server/services/ami/report/voiceQueueReport.js b/server/services/ami/report/voiceQueueReport.js index bd7129b..8b25e6c 100644 --- a/server/services/ami/report/voiceQueueReport.js +++ b/server/services/ami/report/voiceQueueReport.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xa3cb=['queuesummary','bind','queuesummarycomplete','syncQueueSummaryComplete','queuecallerjoin','syncQueueCallerJoin','queuecallerabandon','queuecallerleave','agentcomplete','agentconnect','syncAgentConnect','varset','syncVarSet','hangup','syncHangup','fullybooted','syncFullyBooted','musiconholdstart','musiconholdstop','syncMusicOnHoldStop','blindtransfer','syncBlindTransfer','loopQueueSummary','isUndefined','isEmpty','hasOwnProperty','originated','pTalking','waiting','unlockRR','clearZombieChannels','channels','switch','sequence','Action','status','catch','message','No\x20such\x20channel','[voiceQueueReport][checkChannel]','error','[voiceQueueReport][checkQueueReport]','[voiceQueueReport][checkVariables]','clearQueueReport','queueReports','emitVoiceQueueChannelRemove','emit','emitVoiceQueueChannelSave','voice:queue:%s','name','voice_queue_channel:save','info','[DEBUG]\x20Emit\x20voice_queue_channel:remove\x20event','stringify','voice_queue_channel:remove','emitVoiceQueueSummary','type','strategy','answered','available','loggedIn','sumDuration','sumHoldTime','talking','total','unmanaged','abandoned','Trunk','active','callerid','Interval','format','isNotNull','loopQueueShow','queues','[queues]','then','[queuesummary]','queue','toNumber','callers','loggedin','custom:queuesummary','inspect','syncNewExten','uniqueid','inbound','queuecallerjoinAt','YYYY-MM-DD\x20HH:mm:ss','position','count','merge','pick','push','[syncQueueCallerJoin][VoiceQueueReport]','syncQueueCallerAbandon','last','queuecallercomplete','holdtime','originalposition','queuecallerabandonAt','queuecallerexitreason','lastAssignedTo','[syncQueueCallerAbandon][VoiceQueueReport]','syncQueueCallerLeave','connectedlinenum','connectedlinename','[syncQueueCallerLeave][VoiceQueueReport]','COMPLETEDBYAGENT','[syncAgentConnect][VoiceQueueReport]','syncAgentComplete','queuecallerexit','queuecallerexitAt','transfer','COMPLETED','channel','add','seconds','transfertype','FORWARD','destexten','linkedid','COMPLETEDBY','reason','addVariable','keys','variable','value','queuestatus','TIMEOUT','queueposition','EXITWITHKEY','queuecallerleaveAt','rtpaudioqos','rtpaudioqosbridged','rtpaudioqosjitter','rtpaudioqosloss','sipcallid','sipuri','bridgepvtcallid','membercalls','memberdynamic','memberinterface','memberlastcall','membername','memberpenalty','memberrealtime','includes','length','diff','sumBillable','queuecallercompleteAt','lastevent','custom:queuecallerunmanaged','custom:queuecallerabandon','custom:voiceQueueReport','[syncHangup][VoiceQueueReport]','syncAttendedTransfer','transfereeuniqueid','transferexten','secondtransfererexten','transferuniqueid','secondtransfereruniqueid','ATTENDEDTRANSFER','ATTENDED','transfertargetuniqueid','origtransfererexten','origtransfereruniqueid','[syncAttendedTransfer][VoiceQueueReport]','BLINDTRANSFER','BLIND','extension','BlindTransfer','context','transfererchannel','[syncBlindTransfer][VoiceQueueReport]','mohstarttime','[syncMusicOnHoldStart][VoiceQueueReport]','isNil','mohtime','milliseconds','[syncMusicOnHoldStop][VoiceQueueReport]','exports','lodash','moment','bluebird','util','md5','ioredis','../../../config/environment','../../../config/logger','ami','../model/queueReport','redis','defaults','prototype','tail','finally','agents','queueChannels','voiceQueues','flagQueueSummary','campaigns','variables'];(function(_0x72129f,_0x3d52e2){var _0xc0c836=function(_0xd26a50){while(--_0xd26a50){_0x72129f['push'](_0x72129f['shift']());}};_0xc0c836(++_0x3d52e2);}(_0xa3cb,0x183));var _0xba3c=function(_0xabbd2f,_0x44d05a){_0xabbd2f=_0xabbd2f-0x0;var _0x34a040=_0xa3cb[_0xabbd2f];return _0x34a040;};'use strict';var _=require(_0xba3c('0x0'));var moment=require(_0xba3c('0x1'));var BPromise=require(_0xba3c('0x2'));var util=require(_0xba3c('0x3'));var md5=require(_0xba3c('0x4'));var Redis=require(_0xba3c('0x5'));var config=require(_0xba3c('0x6'));var logger=require(_0xba3c('0x7'))(_0xba3c('0x8'));var ami=require('../ami');var QueueReport=require(_0xba3c('0x9'));config[_0xba3c('0xa')]=_[_0xba3c('0xb')](config[_0xba3c('0xa')],{'host':'localhost','port':0x18eb});var io=require('socket.io-emitter')(new Redis(config[_0xba3c('0xa')]));var Sequence=function(){};Sequence[_0xba3c('0xc')]['enqueue']=function(_0x68bd2e){this[_0xba3c('0xd')]=this[_0xba3c('0xd')]?this[_0xba3c('0xd')][_0xba3c('0xe')](_0x68bd2e):_0x68bd2e();};function VoiceQueueReport(_0x373c58){this['sequence']=new Sequence();this['queueReports']={};this[_0xba3c('0xf')]=_0x373c58[_0xba3c('0xf')];this['channels']=_0x373c58[_0xba3c('0x10')];this[_0xba3c('0x11')]=_0x373c58[_0xba3c('0x11')];this[_0xba3c('0x12')]=!![];this[_0xba3c('0x13')]=_0x373c58[_0xba3c('0x13')];this[_0xba3c('0x14')]={};ami['on'](_0xba3c('0x15'),this['syncQueueSummary'][_0xba3c('0x16')](this));ami['on'](_0xba3c('0x17'),this[_0xba3c('0x18')][_0xba3c('0x16')](this));ami['on'](_0xba3c('0x19'),this[_0xba3c('0x1a')][_0xba3c('0x16')](this));ami['on'](_0xba3c('0x1b'),this['syncQueueCallerAbandon'][_0xba3c('0x16')](this));ami['on'](_0xba3c('0x1c'),this['syncQueueCallerLeave'][_0xba3c('0x16')](this));ami['on'](_0xba3c('0x1d'),this['syncAgentComplete'][_0xba3c('0x16')](this));ami['on'](_0xba3c('0x1e'),this[_0xba3c('0x1f')][_0xba3c('0x16')](this));ami['on'](_0xba3c('0x20'),this[_0xba3c('0x21')][_0xba3c('0x16')](this));ami['on'](_0xba3c('0x22'),this[_0xba3c('0x23')][_0xba3c('0x16')](this));ami['on'](_0xba3c('0x24'),this[_0xba3c('0x25')][_0xba3c('0x16')](this));ami['on'](_0xba3c('0x26'),this['syncMusicOnHoldStart'][_0xba3c('0x16')](this));ami['on'](_0xba3c('0x27'),this[_0xba3c('0x28')]['bind'](this));ami['on']('attendedtransfer',this['syncAttendedTransfer'][_0xba3c('0x16')](this));ami['on'](_0xba3c('0x29'),this[_0xba3c('0x2a')][_0xba3c('0x16')](this));this[_0xba3c('0x2b')]();this['loopQueueShow']();}function isNotNull(_0x5b15c5){return _0x5b15c5!==null&&!_[_0xba3c('0x2c')](_0x5b15c5);}function clearChannels(_0x2a685b){if(!_[_0xba3c('0x2d')](_0x2a685b)){for(var _0x4d6fad in _0x2a685b){if(_0x2a685b['hasOwnProperty'](_0x4d6fad)){delete _0x2a685b[_0x4d6fad];}}}}function clearCampaigns(_0x3eff65){if(!_[_0xba3c('0x2d')](_0x3eff65)){for(var _0x260ce5 in _0x3eff65){if(_0x3eff65[_0xba3c('0x2e')](_0x260ce5)){_0x3eff65[_0x260ce5][_0xba3c('0x2f')]=0x0;}}}}function clearVoiceQueues(_0x5a37c7){if(!_['isEmpty'](_0x5a37c7)){for(var _0x7067ad in _0x5a37c7){if(_0x5a37c7[_0xba3c('0x2e')](_0x7067ad)){_0x5a37c7[_0x7067ad][_0xba3c('0x2f')]=0x0;_0x5a37c7[_0x7067ad]['talking']=0x0;_0x5a37c7[_0x7067ad][_0xba3c('0x30')]=0x0;_0x5a37c7[_0x7067ad][_0xba3c('0x31')]=0x0;_0x5a37c7[_0x7067ad]['queueStatusComplete']=!![];}}}}function clearAgentBooked(_0x193780){if(!_[_0xba3c('0x2d')](_0x193780)){for(var _0x2b4dc2 in _0x193780){if(_0x193780[_0xba3c('0x2e')](_0x2b4dc2)){_0x193780[_0x2b4dc2][_0xba3c('0x32')]=!![];}}}}VoiceQueueReport[_0xba3c('0xc')][_0xba3c('0x33')]=function(){var _0x430559=this;for(var _0x8bc5f3 in this[_0xba3c('0x34')]){if(this[_0xba3c('0x34')][_0xba3c('0x2e')](_0x8bc5f3)&&!this[_0xba3c('0x34')][_0x8bc5f3][_0xba3c('0x35')]){this[_0xba3c('0x36')]['enqueue'](function(){if(!_['isNil'](_0x430559['channels'][_0x8bc5f3])){return ami[_0xba3c('0x37')]({'action':_0xba3c('0x38'),'channel':_0x430559[_0xba3c('0x34')][_0x8bc5f3]['channel']})[_0xba3c('0x39')](function(_0xf6bbe1){if(_0xf6bbe1[_0xba3c('0x3a')]===_0xba3c('0x3b')){setTimeout(function(){if(_0x430559[_0xba3c('0x34')][_0x8bc5f3]){delete _0x430559[_0xba3c('0x34')][_0x8bc5f3];logger['error'](_0xba3c('0x3c'),_0x8bc5f3);}if(_0x430559['queueReports'][_0x8bc5f3]){delete _0x430559['queueReports'][_0x8bc5f3];logger[_0xba3c('0x3d')](_0xba3c('0x3e'),_0x8bc5f3);}if(_0x430559[_0xba3c('0x14')][_0x8bc5f3]){delete _0x430559[_0xba3c('0x14')][_0x8bc5f3];logger['error'](_0xba3c('0x3f'),_0x8bc5f3);}},0x1f40);}});}});}}};VoiceQueueReport[_0xba3c('0xc')][_0xba3c('0x25')]=function(){logger[_0xba3c('0x3d')]('[FullyBooted]\x20clear\x20realtime');clearChannels(this[_0xba3c('0x34')]);this[_0xba3c('0x40')](this[_0xba3c('0x41')]);clearAgentBooked(this['agents']);clearVoiceQueues(this[_0xba3c('0x11')]);clearCampaigns(this[_0xba3c('0x13')]);};VoiceQueueReport[_0xba3c('0xc')][_0xba3c('0x40')]=function(_0x481068){var _0x435f1a=this;if(!_['isEmpty'](_0x481068)){for(var _0x16b40f in _0x481068){if(_0x481068['hasOwnProperty'](_0x16b40f)){_0x435f1a[_0xba3c('0x42')](_0x481068[_0x16b40f]);delete _0x481068[_0x16b40f];}}}};function loggerCatch(_0x5dffca){return function(_0x3efb2a){logger[_0xba3c('0x3d')](_0x5dffca,util['inspect'](_0x3efb2a,{'showHidden':![],'depth':null}));};}VoiceQueueReport[_0xba3c('0xc')][_0xba3c('0x43')]=function(_0x17e90d,_0x1040ff,_0x33a58c){io['to'](_0x17e90d)['emit'](_0x1040ff,_0x33a58c);};VoiceQueueReport['prototype'][_0xba3c('0x44')]=function(_0x4de767){this[_0xba3c('0x43')](util['format'](_0xba3c('0x45'),_0x4de767[_0xba3c('0x46')]),_0xba3c('0x47'),_0x4de767);};VoiceQueueReport['prototype']['emitVoiceQueueChannelRemove']=function(_0x5c8301){logger[_0xba3c('0x48')](_0xba3c('0x49'),JSON[_0xba3c('0x4a')](_0x5c8301));this[_0xba3c('0x43')](util['format'](_0xba3c('0x45'),_0x5c8301[_0xba3c('0x46')]),_0xba3c('0x4b'),_0x5c8301);};VoiceQueueReport['prototype'][_0xba3c('0x4c')]=function(_0x58773e){if(_0x58773e[_0xba3c('0x4d')]==='inbound'){var _0x2daf89={'id':_0x58773e['id'],'name':_0x58773e[_0xba3c('0x46')],'strategy':_0x58773e[_0xba3c('0x4e')],'answered':_0x58773e[_0xba3c('0x4f')],'available':_0x58773e[_0xba3c('0x50')],'loggedIn':_0x58773e[_0xba3c('0x51')],'pTalking':_0x58773e['pTalking'],'sumBillable':_0x58773e['sumBillable'],'sumDuration':_0x58773e[_0xba3c('0x52')],'sumHoldTime':_0x58773e[_0xba3c('0x53')]||0x0,'talking':_0x58773e[_0xba3c('0x54')],'total':_0x58773e[_0xba3c('0x55')],'type':_0x58773e[_0xba3c('0x4d')],'unmanaged':_0x58773e[_0xba3c('0x56')],'abandoned':_0x58773e[_0xba3c('0x57')],'waiting':_0x58773e['waiting']};if(_0x58773e[_0xba3c('0x58')]){_0x2daf89[_0xba3c('0x58')]={'id':_0x58773e[_0xba3c('0x58')]['id'],'name':_0x58773e[_0xba3c('0x58')][_0xba3c('0x46')],'active':_0x58773e[_0xba3c('0x58')][_0xba3c('0x59')],'callerid':_0x58773e[_0xba3c('0x58')][_0xba3c('0x5a')]};}if(_0x58773e[_0xba3c('0x5b')]){_0x2daf89[_0xba3c('0x5b')]={'id':_0x58773e[_0xba3c('0x5b')]['id'],'name':_0x58773e['Interval']['name']};}var _0x3eb33c=md5(JSON['stringify'](_0x2daf89));if(_0x58773e['md5']!==_0x3eb33c){_0x58773e['md5']=_0x3eb33c;this[_0xba3c('0x43')](util[_0xba3c('0x5c')]('voice:queue:%s',_0x2daf89[_0xba3c('0x46')]),'voice_queue:save',_0x2daf89);}}};VoiceQueueReport['prototype'][_0xba3c('0x5d')]=function(_0x5595f8){return _0x5595f8!==null&&!_['isUndefined'](_0x5595f8);};VoiceQueueReport[_0xba3c('0xc')][_0xba3c('0x5e')]=function(){var _0x257fb2=this;setInterval(function(){_0x257fb2[_0xba3c('0x33')]();ami[_0xba3c('0x37')]({'action':_0xba3c('0x5f')})[_0xba3c('0x39')](loggerCatch(_0xba3c('0x60')));},0x2710);};VoiceQueueReport['prototype'][_0xba3c('0x2b')]=function(){var _0x317242=this;setInterval(function(){if(_0x317242[_0xba3c('0x12')]){return ami['Action']({'action':_0xba3c('0x15')})[_0xba3c('0x61')](function(_0x21af9c){_0x317242['flagQueueSummary']=![];})[_0xba3c('0x39')](loggerCatch(_0xba3c('0x62')));}},0x3e8);};VoiceQueueReport[_0xba3c('0xc')]['syncQueueSummary']=function(_0x2ce21b){try{if(this[_0xba3c('0x5d')](_0x2ce21b)&&this[_0xba3c('0x5d')](_0x2ce21b[_0xba3c('0x63')])){if(this[_0xba3c('0x11')][_0x2ce21b[_0xba3c('0x63')]]){var _0x306fdd=_['countBy'](this['channels'],'queue')[_0x2ce21b['queue']]||0x0;var _0x37e455=_0x306fdd-_0x2ce21b['callers'];if(this['voiceQueues'][_0x2ce21b['queue']][_0xba3c('0x31')]!==_[_0xba3c('0x64')](_0x2ce21b[_0xba3c('0x65')])||this[_0xba3c('0x11')][_0x2ce21b['queue']][_0xba3c('0x51')]!==_['toNumber'](_0x2ce21b[_0xba3c('0x66')])||this[_0xba3c('0x11')][_0x2ce21b[_0xba3c('0x63')]][_0xba3c('0x50')]!==_[_0xba3c('0x64')](_0x2ce21b[_0xba3c('0x50')])||this[_0xba3c('0x11')][_0x2ce21b[_0xba3c('0x63')]][_0xba3c('0x54')]!==_0x37e455){this[_0xba3c('0x11')][_0x2ce21b[_0xba3c('0x63')]][_0xba3c('0x31')]=_[_0xba3c('0x64')](_0x2ce21b['callers']);this[_0xba3c('0x11')][_0x2ce21b['queue']][_0xba3c('0x51')]=_['toNumber'](_0x2ce21b[_0xba3c('0x66')]);this[_0xba3c('0x11')][_0x2ce21b['queue']][_0xba3c('0x50')]=_[_0xba3c('0x64')](_0x2ce21b[_0xba3c('0x50')]);this[_0xba3c('0x11')][_0x2ce21b[_0xba3c('0x63')]][_0xba3c('0x54')]=_0x37e455>0x0?_0x37e455:0x0;this[_0xba3c('0x11')][_0x2ce21b['queue']][_0xba3c('0x54')]=this[_0xba3c('0x11')][_0x2ce21b[_0xba3c('0x63')]]['talking']>_[_0xba3c('0x64')](_0x2ce21b['loggedin'])?_['toNumber'](_0x2ce21b[_0xba3c('0x66')]):this[_0xba3c('0x11')][_0x2ce21b[_0xba3c('0x63')]]['talking'];this[_0xba3c('0x4c')](this['voiceQueues'][_0x2ce21b[_0xba3c('0x63')]]);}ami[_0xba3c('0x43')](_0xba3c('0x67'),this[_0xba3c('0x11')][_0x2ce21b[_0xba3c('0x63')]]);}}}catch(_0x5fe9ef){logger['error']('[syncQueueSummary][VoiceQueueReport]',util[_0xba3c('0x68')](_0x5fe9ef,{'showHidden':![],'depth':null}));}};VoiceQueueReport[_0xba3c('0xc')][_0xba3c('0x18')]=function(_0x1c53be){this[_0xba3c('0x12')]=!![];};VoiceQueueReport[_0xba3c('0xc')][_0xba3c('0x69')]=function(_0x1d9996){};VoiceQueueReport[_0xba3c('0xc')]['syncQueueCallerJoin']=function(_0xb89161){try{if(this[_0xba3c('0x5d')](_0xb89161)){if(_[_0xba3c('0x2c')](this[_0xba3c('0x41')][_0xb89161['uniqueid']])){this['queueReports'][_0xb89161[_0xba3c('0x6a')]]=[];this[_0xba3c('0x34')][_0xb89161['uniqueid']]={};}var _0x44e1f9=new QueueReport();_0x44e1f9[_0xba3c('0x46')]=_0xb89161['queue'];_0x44e1f9[_0xba3c('0x4d')]=this[_0xba3c('0x11')][_0x44e1f9[_0xba3c('0x46')]]&&this[_0xba3c('0x11')][_0x44e1f9['name']][_0xba3c('0x4d')]?this[_0xba3c('0x11')][_0x44e1f9['name']][_0xba3c('0x4d')]||_0xba3c('0x6b'):_0xba3c('0x6b');_0x44e1f9[_0xba3c('0x63')]=_0xb89161[_0xba3c('0x63')];_0x44e1f9[_0xba3c('0x6c')]=moment()[_0xba3c('0x5c')](_0xba3c('0x6d'));_0x44e1f9[_0xba3c('0x6e')]=_0xb89161[_0xba3c('0x6e')];_0x44e1f9[_0xba3c('0x6f')]=_0xb89161[_0xba3c('0x6f')];_[_0xba3c('0x70')](_0x44e1f9,_[_0xba3c('0x71')](_0xb89161,_['keys'](_0x44e1f9)));this['queueReports'][_0xb89161[_0xba3c('0x6a')]][_0xba3c('0x72')](_0x44e1f9);this[_0xba3c('0x34')][_0xb89161[_0xba3c('0x6a')]]=_0x44e1f9;this[_0xba3c('0x44')](_0x44e1f9);}}catch(_0x1a70ba){logger[_0xba3c('0x3d')](_0xba3c('0x73'),util[_0xba3c('0x68')](_0x1a70ba,{'showHidden':![],'depth':null}));}};VoiceQueueReport[_0xba3c('0xc')][_0xba3c('0x74')]=function(_0x4803a9){try{if(this[_0xba3c('0x5d')](_0x4803a9)){if(this[_0xba3c('0x41')][_0x4803a9[_0xba3c('0x6a')]]){var _0x5302ba=_[_0xba3c('0x75')](this[_0xba3c('0x41')][_0x4803a9[_0xba3c('0x6a')]]);_0x5302ba[_0xba3c('0x76')]=![];_0x5302ba['queuecallercompleteAt']=null;_0x5302ba[_0xba3c('0x77')]=_0x4803a9[_0xba3c('0x77')];_0x5302ba[_0xba3c('0x78')]=_0x4803a9['originalposition'];_0x5302ba[_0xba3c('0x1b')]=!![];_0x5302ba[_0xba3c('0x79')]=moment()[_0xba3c('0x5c')](_0xba3c('0x6d'));_0x5302ba[_0xba3c('0x7a')]='ABANDONED';_0x5302ba[_0xba3c('0x7b')]=null;this[_0xba3c('0x34')][_0x4803a9['uniqueid']]=_0x5302ba;this[_0xba3c('0x42')](_0x5302ba);}}}catch(_0x43aed4){logger[_0xba3c('0x3d')](_0xba3c('0x7c'),util['inspect'](_0x43aed4,{'showHidden':![],'depth':null}));}};VoiceQueueReport['prototype'][_0xba3c('0x7d')]=function(_0x1e82e5){try{if(this[_0xba3c('0x5d')](_0x1e82e5)){if(this[_0xba3c('0x41')][_0x1e82e5[_0xba3c('0x6a')]]){var _0x21fe9a=_['last'](this['queueReports'][_0x1e82e5['uniqueid']]);_0x21fe9a['queuecallerleaveAt']=moment()[_0xba3c('0x5c')](_0xba3c('0x6d'));_0x21fe9a[_0xba3c('0x7e')]=_0x1e82e5[_0xba3c('0x7e')];_0x21fe9a[_0xba3c('0x7f')]=_0x1e82e5[_0xba3c('0x7f')];this['channels'][_0x1e82e5[_0xba3c('0x6a')]]=_0x21fe9a;this['emitVoiceQueueChannelSave'](_0x21fe9a);}}}catch(_0x3dc5e0){logger['error'](_0xba3c('0x80'),util[_0xba3c('0x68')](_0x3dc5e0,{'showHidden':![],'depth':null}));}};VoiceQueueReport[_0xba3c('0xc')][_0xba3c('0x1f')]=function(_0x5751d1){try{if(this[_0xba3c('0x5d')](_0x5751d1)){if(this[_0xba3c('0x41')][_0x5751d1[_0xba3c('0x6a')]]){var _0x493c68=_[_0xba3c('0x75')](this[_0xba3c('0x41')][_0x5751d1[_0xba3c('0x6a')]]);_0x493c68[_0xba3c('0x76')]=!![];_0x493c68[_0xba3c('0x7a')]=_0xba3c('0x81');}}}catch(_0x4490ce){logger[_0xba3c('0x3d')](_0xba3c('0x82'),util[_0xba3c('0x68')](_0x4490ce,{'showHidden':![],'depth':null}));}};VoiceQueueReport[_0xba3c('0xc')][_0xba3c('0x83')]=function(_0x2f425e){try{if(this[_0xba3c('0x5d')](_0x2f425e)){if(this['queueReports'][_0x2f425e['uniqueid']]){var _0x19ef6a=_[_0xba3c('0x75')](this[_0xba3c('0x41')][_0x2f425e['uniqueid']]);_0x19ef6a[_0xba3c('0x1b')]=![];_0x19ef6a[_0xba3c('0x79')]=null;_0x19ef6a['assigned']=!![];_0x19ef6a[_0xba3c('0x7b')]=_0x2f425e['membername'];_0x19ef6a['holdtime']=_0x2f425e[_0xba3c('0x77')];_0x19ef6a[_0xba3c('0x76')]=!![];_0x19ef6a[_0xba3c('0x84')]=![];_0x19ef6a[_0xba3c('0x85')]=null;if(!_0x19ef6a[_0xba3c('0x86')]){if(_0x2f425e['reason']==_0xba3c('0x86')){_0x19ef6a[_0xba3c('0x7a')]=_0xba3c('0x87');}else{if(_['startsWith'](_0x2f425e[_0xba3c('0x88')]['toLowerCase'](),'local/')){if(this['queueReports'][_0x2f425e['linkedid']]){var _0x250c36=_[_0xba3c('0x75')](this[_0xba3c('0x41')][_0x2f425e['linkedid']]);_0x250c36[_0xba3c('0x76')]=![];_0x250c36[_0xba3c('0x84')]=!![];_0x250c36[_0xba3c('0x85')]=moment(_0x19ef6a[_0xba3c('0x6c')])[_0xba3c('0x89')](_0x2f425e[_0xba3c('0x77')],_0xba3c('0x8a'))[_0xba3c('0x5c')](_0xba3c('0x6d'));_0x250c36[_0xba3c('0x7a')]='FORWARDTRANSFER';_0x250c36[_0xba3c('0x86')]=!![];_0x250c36[_0xba3c('0x8b')]=_0xba3c('0x8c');_0x250c36['transferexten']=_0x2f425e[_0xba3c('0x8d')];_0x250c36['transferuniqueid']=_0x2f425e[_0xba3c('0x6a')];var _0x1fbd89=this[_0xba3c('0x41')][_0x2f425e['linkedid']];this[_0xba3c('0x41')][_0x2f425e[_0xba3c('0x8e')]]=this['queueReports'][_0x2f425e[_0xba3c('0x6a')]];this[_0xba3c('0x41')][_0x2f425e[_0xba3c('0x6a')]]=_0x1fbd89;}}else{_0x19ef6a[_0xba3c('0x7a')]=_0xba3c('0x8f')+_0x2f425e[_0xba3c('0x90')]['toUpperCase']();}}}this[_0xba3c('0x34')][_0x2f425e[_0xba3c('0x6a')]]=_0x19ef6a;this['emitVoiceQueueChannelRemove'](_0x19ef6a);}}}catch(_0x2538aa){logger[_0xba3c('0x3d')]('[syncAgentComplete][VoiceQueueReport]',util['inspect'](_0x2538aa,{'showHidden':![],'depth':null}));}};VoiceQueueReport[_0xba3c('0xc')][_0xba3c('0x21')]=function(_0x4de0e7){try{if(this['isNotNull'](_0x4de0e7)){this[_0xba3c('0x91')](_0x4de0e7['uniqueid'],_[_0xba3c('0x92')](_0x4de0e7[_0xba3c('0x93')])[0x0],_0x4de0e7[_0xba3c('0x94')]);if(this['queueReports'][_0x4de0e7[_0xba3c('0x6a')]]){var _0x37de09=_[_0xba3c('0x75')](this[_0xba3c('0x41')][_0x4de0e7['uniqueid']]);if(_0x37de09){if(this[_0xba3c('0x5d')](_0x4de0e7[_0xba3c('0x93')])&&this[_0xba3c('0x5d')](_0x4de0e7[_0xba3c('0x93')][_0xba3c('0x95')])){switch(_0x4de0e7[_0xba3c('0x94')]){case'CONTINUE':_0x37de09[_0xba3c('0x84')]=![];_0x37de09['queuecallerexitAt']=null;break;case _0xba3c('0x96'):_0x37de09['lastevent']='timeout';ami[_0xba3c('0x43')]('custom:timeout',_0x37de09);break;default:_0x37de09[_0xba3c('0x84')]=!![];_0x37de09['queuecallerexitAt']=moment()[_0xba3c('0x5c')](_0xba3c('0x6d'));_0x37de09['queuecallerleaveAt']=moment()[_0xba3c('0x5c')](_0xba3c('0x6d'));}_0x37de09[_0xba3c('0x1b')]=![];_0x37de09[_0xba3c('0x79')]=null;_0x37de09[_0xba3c('0x7a')]=_0x4de0e7[_0xba3c('0x94')];this['channels'][_0x4de0e7[_0xba3c('0x6a')]]=_0x37de09;this['emitVoiceQueueChannelRemove'](_0x37de09);}else if(this[_0xba3c('0x5d')](_0x4de0e7['variable'])&&this[_0xba3c('0x5d')](_0x4de0e7[_0xba3c('0x93')][_0xba3c('0x97')])){if(!_0x37de09['queuecallerabandon']){_0x37de09[_0xba3c('0x84')]=!![];_0x37de09[_0xba3c('0x85')]=moment()['format'](_0xba3c('0x6d'));_0x37de09[_0xba3c('0x7a')]=_0xba3c('0x98');_0x37de09[_0xba3c('0x99')]=moment()['format'](_0xba3c('0x6d'));this[_0xba3c('0x34')][_0x4de0e7[_0xba3c('0x6a')]]=_0x37de09;}}_0x37de09[_0xba3c('0x14')]=this[_0xba3c('0x14')][_0x4de0e7['uniqueid']];}}}}catch(_0x19a64c){logger['error']('[syncVarSet][VoiceQueueReport]',util[_0xba3c('0x68')](_0x19a64c,{'showHidden':![],'depth':null}));}};VoiceQueueReport[_0xba3c('0xc')][_0xba3c('0x91')]=function(_0xb3927d,_0x4cfc08,_0x10ccd8){var _0x418607=[_0xba3c('0x9a'),_0xba3c('0x9b'),_0xba3c('0x9c'),'rtpaudioqosjitterbridged',_0xba3c('0x9d'),'rtpaudioqoslossbridged','rtpaudioqosrtt','rtpaudioqosrttbridged',_0xba3c('0x9e'),_0xba3c('0x9f'),'bridgepeer',_0xba3c('0xa0'),_0xba3c('0xa1'),_0xba3c('0xa2'),_0xba3c('0xa3'),_0xba3c('0xa4'),_0xba3c('0xa5'),_0xba3c('0xa6'),_0xba3c('0xa7')];if(!_['isNil'](_0x4cfc08)&&!_[_0xba3c('0xa8')](_0x418607,_0x4cfc08)){if(_[_0xba3c('0x2c')](this[_0xba3c('0x14')][_0xb3927d])){this[_0xba3c('0x14')][_0xb3927d]={};}this[_0xba3c('0x14')][_0xb3927d][_0x4cfc08]=_0x10ccd8;}};VoiceQueueReport[_0xba3c('0xc')]['syncHangup']=function(_0x5e7735){try{if(this[_0xba3c('0x5d')](_0x5e7735)){if(this[_0xba3c('0x41')][_0x5e7735[_0xba3c('0x6a')]]){for(var _0x355847=0x0,_0x3ac3d9={};_0x3558470x0?_0x12738e:0x0;this['voiceQueues'][_0x28ba73[_0x10c5('0x5a')]][_0x10c5('0x2d')]=this[_0x10c5('0x10')][_0x28ba73[_0x10c5('0x5a')]]['talking']>_[_0x10c5('0x5c')](_0x28ba73[_0x10c5('0x5f')])?_[_0x10c5('0x5c')](_0x28ba73[_0x10c5('0x5f')]):this[_0x10c5('0x10')][_0x28ba73['queue']][_0x10c5('0x2d')];this[_0x10c5('0x60')](this[_0x10c5('0x10')][_0x28ba73[_0x10c5('0x5a')]]);}ami[_0x10c5('0x42')](_0x10c5('0x61'),this[_0x10c5('0x10')][_0x28ba73[_0x10c5('0x5a')]]);}}}catch(_0x3e7595){logger[_0x10c5('0x3d')](_0x10c5('0x62'),util[_0x10c5('0x63')](_0x3e7595,{'showHidden':![],'depth':null}));}};VoiceQueueReport[_0x10c5('0xb')]['syncQueueSummaryComplete']=function(_0xdb3578){this[_0x10c5('0x11')]=!![];};VoiceQueueReport['prototype'][_0x10c5('0x64')]=function(_0x5c2443){};VoiceQueueReport['prototype']['syncQueueCallerJoin']=function(_0x3f8aed){try{if(this[_0x10c5('0x57')](_0x3f8aed)){if(_[_0x10c5('0x2a')](this[_0x10c5('0x3c')][_0x3f8aed[_0x10c5('0x65')]])){this[_0x10c5('0x3c')][_0x3f8aed[_0x10c5('0x65')]]=[];this[_0x10c5('0xf')][_0x3f8aed[_0x10c5('0x65')]]={};}var _0x1d31ca=new QueueReport();_0x1d31ca[_0x10c5('0x46')]=_0x3f8aed[_0x10c5('0x5a')];_0x1d31ca[_0x10c5('0x66')]=this[_0x10c5('0x10')][_0x1d31ca[_0x10c5('0x46')]]&&this[_0x10c5('0x10')][_0x1d31ca[_0x10c5('0x46')]]['type']?this[_0x10c5('0x10')][_0x1d31ca[_0x10c5('0x46')]]['type']||_0x10c5('0x4a'):_0x10c5('0x4a');_0x1d31ca['queue']=_0x3f8aed['queue'];_0x1d31ca['queuecallerjoinAt']=moment()[_0x10c5('0x44')](_0x10c5('0x67'));_0x1d31ca[_0x10c5('0x68')]=_0x3f8aed[_0x10c5('0x68')];_0x1d31ca[_0x10c5('0x69')]=_0x3f8aed[_0x10c5('0x69')];_[_0x10c5('0x6a')](_0x1d31ca,_[_0x10c5('0x6b')](_0x3f8aed,_[_0x10c5('0x6c')](_0x1d31ca)));this['queueReports'][_0x3f8aed[_0x10c5('0x65')]][_0x10c5('0x6d')](_0x1d31ca);this[_0x10c5('0xf')][_0x3f8aed[_0x10c5('0x65')]]=_0x1d31ca;this[_0x10c5('0x43')](_0x1d31ca);}}catch(_0x3632b7){logger['error'](_0x10c5('0x6e'),util[_0x10c5('0x63')](_0x3632b7,{'showHidden':![],'depth':null}));}};VoiceQueueReport[_0x10c5('0xb')][_0x10c5('0x18')]=function(_0x3e1310){try{if(this[_0x10c5('0x57')](_0x3e1310)){if(this['queueReports'][_0x3e1310[_0x10c5('0x65')]]){var _0x3fe127=_[_0x10c5('0x6f')](this['queueReports'][_0x3e1310[_0x10c5('0x65')]]);_0x3fe127[_0x10c5('0x70')]=![];_0x3fe127[_0x10c5('0x71')]=null;_0x3fe127[_0x10c5('0x72')]=_0x3e1310[_0x10c5('0x72')];_0x3fe127['originalposition']=_0x3e1310['originalposition'];_0x3fe127[_0x10c5('0x73')]=!![];_0x3fe127['queuecallerabandonAt']=moment()['format']('YYYY-MM-DD\x20HH:mm:ss');_0x3fe127[_0x10c5('0x74')]=_0x10c5('0x75');_0x3fe127[_0x10c5('0x76')]=null;this['channels'][_0x3e1310['uniqueid']]=_0x3fe127;this[_0x10c5('0x41')](_0x3fe127);}}}catch(_0x5879b0){logger[_0x10c5('0x3d')](_0x10c5('0x77'),util['inspect'](_0x5879b0,{'showHidden':![],'depth':null}));}};VoiceQueueReport[_0x10c5('0xb')][_0x10c5('0x1a')]=function(_0x349aea){try{if(this['isNotNull'](_0x349aea)){if(this[_0x10c5('0x3c')][_0x349aea[_0x10c5('0x65')]]){var _0x4a5b08=_[_0x10c5('0x6f')](this[_0x10c5('0x3c')][_0x349aea[_0x10c5('0x65')]]);_0x4a5b08[_0x10c5('0x78')]=moment()[_0x10c5('0x44')](_0x10c5('0x67'));_0x4a5b08[_0x10c5('0x79')]=_0x349aea[_0x10c5('0x79')];_0x4a5b08[_0x10c5('0x7a')]=_0x349aea[_0x10c5('0x7a')];this[_0x10c5('0xf')][_0x349aea[_0x10c5('0x65')]]=_0x4a5b08;this['emitVoiceQueueChannelSave'](_0x4a5b08);}}}catch(_0x8f750){logger[_0x10c5('0x3d')](_0x10c5('0x7b'),util['inspect'](_0x8f750,{'showHidden':![],'depth':null}));}};VoiceQueueReport[_0x10c5('0xb')][_0x10c5('0x7c')]=function(_0x51d071){try{if(this['isNotNull'](_0x51d071)){if(this['queueReports'][_0x51d071[_0x10c5('0x65')]]){var _0x59ce3b=_[_0x10c5('0x6f')](this['queueReports'][_0x51d071[_0x10c5('0x65')]]);_0x59ce3b[_0x10c5('0x70')]=!![];_0x59ce3b[_0x10c5('0x74')]=_0x10c5('0x7d');}}}catch(_0xe0c9ad){logger[_0x10c5('0x3d')]('[syncAgentConnect][VoiceQueueReport]',util[_0x10c5('0x63')](_0xe0c9ad,{'showHidden':![],'depth':null}));}};VoiceQueueReport[_0x10c5('0xb')][_0x10c5('0x1c')]=function(_0x18b014){try{if(this[_0x10c5('0x57')](_0x18b014)){if(this[_0x10c5('0x3c')][_0x18b014[_0x10c5('0x65')]]){var _0xaf3281=_[_0x10c5('0x6f')](this['queueReports'][_0x18b014['uniqueid']]);_0xaf3281[_0x10c5('0x73')]=![];_0xaf3281[_0x10c5('0x7e')]=null;_0xaf3281[_0x10c5('0x7f')]=!![];_0xaf3281[_0x10c5('0x76')]=_0x18b014[_0x10c5('0x80')];_0xaf3281['holdtime']=_0x18b014[_0x10c5('0x72')];_0xaf3281[_0x10c5('0x70')]=!![];_0xaf3281[_0x10c5('0x81')]=![];_0xaf3281['queuecallerexitAt']=null;if(!_0xaf3281[_0x10c5('0x82')]){if(_0x18b014[_0x10c5('0x83')]=='transfer'){_0xaf3281[_0x10c5('0x74')]='COMPLETED';}else{if(_[_0x10c5('0x84')](_0x18b014[_0x10c5('0x38')][_0x10c5('0x85')](),'local/')){if(this[_0x10c5('0x3c')][_0x18b014[_0x10c5('0x86')]]){var _0x3e2028=_['last'](this['queueReports'][_0x18b014['linkedid']]);_0x3e2028[_0x10c5('0x70')]=![];_0x3e2028[_0x10c5('0x81')]=!![];_0x3e2028[_0x10c5('0x87')]=moment(_0xaf3281[_0x10c5('0x88')])[_0x10c5('0x89')](_0x18b014[_0x10c5('0x72')],_0x10c5('0x8a'))['format'](_0x10c5('0x67'));_0x3e2028[_0x10c5('0x74')]=_0x10c5('0x8b');_0x3e2028[_0x10c5('0x82')]=!![];_0x3e2028[_0x10c5('0x8c')]=_0x10c5('0x8d');_0x3e2028['transferexten']=_0x18b014[_0x10c5('0x8e')];_0x3e2028[_0x10c5('0x8f')]=_0x18b014[_0x10c5('0x65')];var _0x444d5d=this[_0x10c5('0x3c')][_0x18b014['linkedid']];this[_0x10c5('0x3c')][_0x18b014['linkedid']]=this[_0x10c5('0x3c')][_0x18b014[_0x10c5('0x65')]];this[_0x10c5('0x3c')][_0x18b014[_0x10c5('0x65')]]=_0x444d5d;}}else{_0xaf3281[_0x10c5('0x74')]=_0x10c5('0x90')+_0x18b014[_0x10c5('0x83')][_0x10c5('0x91')]();}}}this[_0x10c5('0xf')][_0x18b014['uniqueid']]=_0xaf3281;this[_0x10c5('0x41')](_0xaf3281);}}}catch(_0x49179a){logger[_0x10c5('0x3d')]('[syncAgentComplete][VoiceQueueReport]',util[_0x10c5('0x63')](_0x49179a,{'showHidden':![],'depth':null}));}};VoiceQueueReport[_0x10c5('0xb')][_0x10c5('0x1f')]=function(_0x236539){try{if(this['isNotNull'](_0x236539)){this[_0x10c5('0x92')](_0x236539['uniqueid'],_['keys'](_0x236539[_0x10c5('0x93')])[0x0],_0x236539[_0x10c5('0x94')]);if(this[_0x10c5('0x3c')][_0x236539[_0x10c5('0x65')]]){var _0x4e6f07=_[_0x10c5('0x6f')](this['queueReports'][_0x236539[_0x10c5('0x65')]]);if(_0x4e6f07){if(this['isNotNull'](_0x236539['variable'])&&this[_0x10c5('0x57')](_0x236539[_0x10c5('0x93')][_0x10c5('0x95')])){switch(_0x236539[_0x10c5('0x94')]){case _0x10c5('0x96'):_0x4e6f07[_0x10c5('0x81')]=![];_0x4e6f07[_0x10c5('0x87')]=null;break;case _0x10c5('0x97'):_0x4e6f07[_0x10c5('0x98')]=_0x10c5('0x99');ami[_0x10c5('0x42')](_0x10c5('0x9a'),_0x4e6f07);break;default:_0x4e6f07['queuecallerexit']=!![];_0x4e6f07['queuecallerexitAt']=moment()[_0x10c5('0x44')](_0x10c5('0x67'));_0x4e6f07[_0x10c5('0x78')]=moment()[_0x10c5('0x44')](_0x10c5('0x67'));}_0x4e6f07[_0x10c5('0x73')]=![];_0x4e6f07[_0x10c5('0x7e')]=null;_0x4e6f07[_0x10c5('0x74')]=_0x236539[_0x10c5('0x94')];this[_0x10c5('0xf')][_0x236539['uniqueid']]=_0x4e6f07;this['emitVoiceQueueChannelRemove'](_0x4e6f07);}else if(this[_0x10c5('0x57')](_0x236539[_0x10c5('0x93')])&&this[_0x10c5('0x57')](_0x236539[_0x10c5('0x93')]['queueposition'])){if(!_0x4e6f07[_0x10c5('0x73')]){_0x4e6f07[_0x10c5('0x81')]=!![];_0x4e6f07[_0x10c5('0x87')]=moment()[_0x10c5('0x44')](_0x10c5('0x67'));_0x4e6f07[_0x10c5('0x74')]='EXITWITHKEY';_0x4e6f07[_0x10c5('0x78')]=moment()[_0x10c5('0x44')]('YYYY-MM-DD\x20HH:mm:ss');this[_0x10c5('0xf')][_0x236539['uniqueid']]=_0x4e6f07;}}_0x4e6f07['variables']=this[_0x10c5('0x13')][_0x236539[_0x10c5('0x65')]];}}}}catch(_0x1b1701){logger[_0x10c5('0x3d')]('[syncVarSet][VoiceQueueReport]',util['inspect'](_0x1b1701,{'showHidden':![],'depth':null}));}};VoiceQueueReport['prototype']['addVariable']=function(_0x510274,_0x3078d6,_0x16bf87){var _0x3e7d9e=[_0x10c5('0x9b'),_0x10c5('0x9c'),_0x10c5('0x9d'),_0x10c5('0x9e'),'rtpaudioqosloss',_0x10c5('0x9f'),'rtpaudioqosrtt','rtpaudioqosrttbridged',_0x10c5('0xa0'),_0x10c5('0xa1'),_0x10c5('0xa2'),_0x10c5('0xa3'),_0x10c5('0xa4'),'memberdynamic',_0x10c5('0xa5'),'memberlastcall',_0x10c5('0x80'),_0x10c5('0xa6'),_0x10c5('0xa7')];if(!_[_0x10c5('0x35')](_0x3078d6)&&!_['includes'](_0x3e7d9e,_0x3078d6)){if(_[_0x10c5('0x2a')](this['variables'][_0x510274])){this[_0x10c5('0x13')][_0x510274]={};}this['variables'][_0x510274][_0x3078d6]=_0x16bf87;}};VoiceQueueReport['prototype'][_0x10c5('0x21')]=function(_0x20a10e){try{if(this['isNotNull'](_0x20a10e)){if(this[_0x10c5('0x3c')][_0x20a10e['uniqueid']]){for(var _0x542745=0x0,_0x3f486d={};_0x542745=0x0?moment(_0x3adb66[_0xaddc('0x13')])[_0xaddc('0x14')](_0x3adb66[_0xaddc('0x15')],_0xaddc('0xc')):null,'data1':'outbound','data2':_0x3adb66[_0xaddc('0x10')],'data3':_0x3adb66[_0xaddc('0x16')],'data4':_0x3adb66[_0xaddc('0x17')]||null,'role':'agent','internal':_0x3adb66['accountcode']?_[_0xaddc('0x18')](_0x3adb66[_0xaddc('0x10')]):undefined,'uniqueid':_0x3adb66[_0xaddc('0x19')]},'log':_0xaddc('0x6')});}; \ No newline at end of file +var _0xac52=['voiceQueueReport','queuecallercompleteAt','queuecallerexitAt','Request','voice','lastAssignedTo','isNil','interface','format','SIP/%s','TALKING','queuecallerleaveAt','seconds','inbound','calleridnum','exten','queue','accountcode','uniqueid','voiceDialReport','membername','starttime','endtime','outbound','agent','toNumber','CreateMemberReport','lodash'];(function(_0x1c030b,_0xa2969e){var _0x34666d=function(_0x1335fb){while(--_0x1335fb){_0x1c030b['push'](_0x1c030b['shift']());}};_0x34666d(++_0xa2969e);}(_0xac52,0x1db));var _0x2ac5=function(_0x3e7e96,_0x5683ca){_0x3e7e96=_0x3e7e96-0x0;var _0x13f6f0=_0xac52[_0x3e7e96];return _0x13f6f0;};'use strict';var moment=require('moment');var _=require(_0x2ac5('0x0'));var util=require('util');var client=require('../client');exports[_0x2ac5('0x1')]=function(_0x5e1ed7){var _0x12be3a=_0x5e1ed7[_0x2ac5('0x2')]||_0x5e1ed7[_0x2ac5('0x3')];return client[_0x2ac5('0x4')]('CreateMemberReport',{'body':{'channel':_0x2ac5('0x5'),'membername':_0x5e1ed7[_0x2ac5('0x6')],'interface':_[_0x2ac5('0x7')](_0x5e1ed7[_0x2ac5('0x8')])?util[_0x2ac5('0x9')](_0x2ac5('0xa'),_0x5e1ed7[_0x2ac5('0x6')]):_0x5e1ed7['interface'],'type':_0x2ac5('0xb'),'enterAt':_0x5e1ed7[_0x2ac5('0xc')],'exitAt':_0x12be3a,'duration':moment(_0x12be3a)['diff'](_0x5e1ed7[_0x2ac5('0xc')],_0x2ac5('0xd')),'data1':_0x2ac5('0xe'),'data2':_0x5e1ed7[_0x2ac5('0xf')],'data3':_0x5e1ed7[_0x2ac5('0x10')],'data4':null,'data5':_0x5e1ed7[_0x2ac5('0x11')],'role':'agent','internal':_0x5e1ed7[_0x2ac5('0x12')]?_['toNumber'](_0x5e1ed7[_0x2ac5('0x12')]):undefined,'uniqueid':_0x5e1ed7[_0x2ac5('0x13')]},'log':'CreateMemberReport'});};exports[_0x2ac5('0x14')]=function(_0x4bf5f7){return client[_0x2ac5('0x4')]('CreateMemberReport',{'body':{'channel':_0x2ac5('0x5'),'membername':_0x4bf5f7[_0x2ac5('0x15')],'interface':_0x4bf5f7[_0x2ac5('0x8')],'type':'TALKING','enterAt':_0x4bf5f7[_0x2ac5('0x16')],'exitAt':_0x4bf5f7[_0x2ac5('0x17')],'duration':moment(_0x4bf5f7['endtime'])['diff'](_0x4bf5f7[_0x2ac5('0x16')],'seconds')>=0x0?moment(_0x4bf5f7[_0x2ac5('0x17')])['diff'](_0x4bf5f7[_0x2ac5('0x16')],_0x2ac5('0xd')):null,'data1':_0x2ac5('0x18'),'data2':_0x4bf5f7[_0x2ac5('0x12')],'data3':_0x4bf5f7[_0x2ac5('0x10')],'data4':_0x4bf5f7['dialstring']||null,'role':_0x2ac5('0x19'),'internal':_0x4bf5f7[_0x2ac5('0x12')]?_[_0x2ac5('0x1a')](_0x4bf5f7['accountcode']):undefined,'uniqueid':_0x4bf5f7['uniqueid']},'log':_0x2ac5('0x1b')});}; \ No newline at end of file diff --git a/server/services/ami/rpc/template.js b/server/services/ami/rpc/template.js index b2fa830..2c6fded 100644 --- a/server/services/ami/rpc/template.js +++ b/server/services/ami/rpc/template.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xe28e=['Request','GetTemplate','name','html','../client','getTemplates'];(function(_0x43b616,_0xb842c){var _0xc188db=function(_0x2faaf5){while(--_0x2faaf5){_0x43b616['push'](_0x43b616['shift']());}};_0xc188db(++_0xb842c);}(_0xe28e,0x1ba));var _0xee28=function(_0x5731ab,_0x2f9b0a){_0x5731ab=_0x5731ab-0x0;var _0x2efdd7=_0xe28e[_0x5731ab];return _0x2efdd7;};'use strict';var client=require(_0xee28('0x0'));exports[_0xee28('0x1')]=function(_0x1d67b1){return function(_0x280bed){return client[_0xee28('0x2')](_0xee28('0x3'),{'options':{'raw':!![],'attributes':['id',_0xee28('0x4'),_0xee28('0x5')]},'log':_0xee28('0x3')});};}; \ No newline at end of file +var _0xd3d1=['Request','GetTemplate','name','html','../client','getTemplates'];(function(_0x1d24eb,_0x12295b){var _0x1dc576=function(_0x4d5770){while(--_0x4d5770){_0x1d24eb['push'](_0x1d24eb['shift']());}};_0x1dc576(++_0x12295b);}(_0xd3d1,0x172));var _0x1d3d=function(_0x13d07a,_0x41efc3){_0x13d07a=_0x13d07a-0x0;var _0x5ee0ee=_0xd3d1[_0x13d07a];return _0x5ee0ee;};'use strict';var client=require(_0x1d3d('0x0'));exports[_0x1d3d('0x1')]=function(_0x49043e){return function(_0x56f01c){return client[_0x1d3d('0x2')](_0x1d3d('0x3'),{'options':{'raw':!![],'attributes':['id',_0x1d3d('0x4'),_0x1d3d('0x5')]},'log':_0x1d3d('0x3')});};}; \ No newline at end of file diff --git a/server/services/ami/rpc/trigger.js b/server/services/ami/rpc/trigger.js index 80023a8..1ed2d1c 100644 --- a/server/services/ami/rpc/trigger.js +++ b/server/services/ami/rpc/trigger.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xca17=['value','Action','Actions','action','data1','data2','data4','data5','data7','../client','getTriggers','Request','GetTrigger','channel','status','Condition','AllConditions','field','operator','AnyConditions'];(function(_0x31618b,_0x1fce92){var _0x3e90fe=function(_0x23bc4e){while(--_0x23bc4e){_0x31618b['push'](_0x31618b['shift']());}};_0x3e90fe(++_0x1fce92);}(_0xca17,0x15d));var _0x7ca1=function(_0x27fedb,_0x31c693){_0x27fedb=_0x27fedb-0x0;var _0x58ab78=_0xca17[_0x27fedb];return _0x58ab78;};'use strict';var client=require(_0x7ca1('0x0'));exports[_0x7ca1('0x1')]=function(_0xf2a20c){return function(_0x1abcbb){return client[_0x7ca1('0x2')](_0x7ca1('0x3'),{'options':{'raw':![],'attributes':['id','name',_0x7ca1('0x4'),_0x7ca1('0x5')],'include':[{'model':_0x7ca1('0x6'),'as':_0x7ca1('0x7'),'attributes':['id',_0x7ca1('0x8'),_0x7ca1('0x9'),'value']},{'model':_0x7ca1('0x6'),'as':_0x7ca1('0xa'),'attributes':['id',_0x7ca1('0x8'),_0x7ca1('0x9'),_0x7ca1('0xb')]},{'model':_0x7ca1('0xc'),'as':_0x7ca1('0xd'),'attributes':['id',_0x7ca1('0xe'),_0x7ca1('0xf'),_0x7ca1('0x10'),'data3',_0x7ca1('0x11'),_0x7ca1('0x12'),'data6',_0x7ca1('0x13')]}]},'log':_0x7ca1('0x3')});};}; \ No newline at end of file +var _0x3ec8=['../client','getTriggers','Request','GetTrigger','name','channel','status','AllConditions','field','operator','value','Condition','AnyConditions','Action','Actions','action','data2','data3','data4','data7'];(function(_0x408d22,_0x53eef9){var _0x58effd=function(_0x4ab8ee){while(--_0x4ab8ee){_0x408d22['push'](_0x408d22['shift']());}};_0x58effd(++_0x53eef9);}(_0x3ec8,0x190));var _0x83ec=function(_0x241bb0,_0x32173c){_0x241bb0=_0x241bb0-0x0;var _0x117bfd=_0x3ec8[_0x241bb0];return _0x117bfd;};'use strict';var client=require(_0x83ec('0x0'));exports[_0x83ec('0x1')]=function(_0x25dbea){return function(_0x33b093){return client[_0x83ec('0x2')](_0x83ec('0x3'),{'options':{'raw':![],'attributes':['id',_0x83ec('0x4'),_0x83ec('0x5'),_0x83ec('0x6')],'include':[{'model':'Condition','as':_0x83ec('0x7'),'attributes':['id',_0x83ec('0x8'),_0x83ec('0x9'),_0x83ec('0xa')]},{'model':_0x83ec('0xb'),'as':_0x83ec('0xc'),'attributes':['id',_0x83ec('0x8'),_0x83ec('0x9'),_0x83ec('0xa')]},{'model':_0x83ec('0xd'),'as':_0x83ec('0xe'),'attributes':['id',_0x83ec('0xf'),'data1',_0x83ec('0x10'),_0x83ec('0x11'),_0x83ec('0x12'),'data5','data6',_0x83ec('0x13')]}]},'log':_0x83ec('0x3')});};}; \ No newline at end of file diff --git a/server/services/ami/rpc/trunk.js b/server/services/ami/rpc/trunk.js index 6a019d7..552e616 100644 --- a/server/services/ami/rpc/trunk.js +++ b/server/services/ami/rpc/trunk.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xc5c1=['registry','GetTrunk','../client','getTrunks','name'];(function(_0x26e364,_0x2eddf9){var _0x3a0214=function(_0x31f0f9){while(--_0x31f0f9){_0x26e364['push'](_0x26e364['shift']());}};_0x3a0214(++_0x2eddf9);}(_0xc5c1,0x179));var _0x1c5c=function(_0x138f59,_0x1b53fb){_0x138f59=_0x138f59-0x0;var _0x3d114d=_0xc5c1[_0x138f59];return _0x3d114d;};'use strict';var client=require(_0x1c5c('0x0'));exports[_0x1c5c('0x1')]=function(_0x1a5222){return function(_0x405097){return client['Request']('GetTrunk',{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id',_0x1c5c('0x2'),_0x1c5c('0x3')]},'log':_0x1c5c('0x4')});};}; \ No newline at end of file +var _0x530e=['../client','getTrunks','Request','GetTrunk','name','registry'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x530e,0x12c));var _0xe530=function(_0xbd1e4d,_0x398b0e){_0xbd1e4d=_0xbd1e4d-0x0;var _0x511329=_0x530e[_0xbd1e4d];return _0x511329;};'use strict';var client=require(_0xe530('0x0'));exports[_0xe530('0x1')]=function(_0x58286b){return function(_0x2a063d){return client[_0xe530('0x2')](_0xe530('0x3'),{'options':{'raw':!![],'where':{'active':0x1},'attributes':['id',_0xe530('0x4'),_0xe530('0x5')]},'log':_0xe530('0x3')});};}; \ No newline at end of file diff --git a/server/services/ami/rpc/user.js b/server/services/ami/rpc/user.js index 5d96da7..0cdb2f5 100644 --- a/server/services/ami/rpc/user.js +++ b/server/services/ami/rpc/user.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xd25a=['lastLoginAt','lastPauseAt','voicePause','phone','getTelephones','telephone','savePause','PauseUser','saveUnpause','UnpauseUser','getAgent','pauseType','interface','../client','getAgents','Request','GetUser','agent','name','email','accountcode','fullname','online'];(function(_0x625492,_0x1cd944){var _0x296b94=function(_0x942555){while(--_0x942555){_0x625492['push'](_0x625492['shift']());}};_0x296b94(++_0x1cd944);}(_0xd25a,0x138));var _0xad25=function(_0x35f7e6,_0x2acd7f){_0x35f7e6=_0x35f7e6-0x0;var _0x27cacd=_0xd25a[_0x35f7e6];return _0x27cacd;};'use strict';var client=require(_0xad25('0x0'));exports[_0xad25('0x1')]=function(){return function(){return client[_0xad25('0x2')](_0xad25('0x3'),{'options':{'raw':![],'where':{'role':_0xad25('0x4')},'attributes':['id',_0xad25('0x5'),_0xad25('0x6'),_0xad25('0x7'),_0xad25('0x8'),_0xad25('0x9'),_0xad25('0xa'),'pauseType',_0xad25('0xb'),_0xad25('0xc'),_0xad25('0xd'),'mobile','interface']},'log':_0xad25('0x1')});};};exports[_0xad25('0xe')]=function(){return function(){return client[_0xad25('0x2')]('GetUser',{'options':{'raw':!![],'where':{'role':_0xad25('0xf')},'attributes':['id',_0xad25('0x5'),_0xad25('0x7'),'internal']},'log':'getTelephones'});};};exports[_0xad25('0x10')]=function(_0x21b6ec,_0x4c66c9,_0x314f6a){return client[_0xad25('0x2')](_0xad25('0x11'),{'body':{'type':_0x4c66c9,'uniqueid':_0x314f6a},'options':{'where':{'id':_0x21b6ec['id']}},'log':_0xad25('0x10')});};exports[_0xad25('0x12')]=function(_0x49ad6a){return client['Request'](_0xad25('0x13'),{'body':{},'options':{'where':{'id':_0x49ad6a['id']}},'log':_0xad25('0x10')});};exports[_0xad25('0x14')]=function(_0x20c72e){return client[_0xad25('0x2')]('ShowUser',{'options':{'raw':![],'where':{'role':_0xad25('0x4'),'id':_0x20c72e},'attributes':['id',_0xad25('0x5'),_0xad25('0x6'),_0xad25('0x7'),_0xad25('0x8'),_0xad25('0x9'),_0xad25('0xa'),_0xad25('0x15'),'lastPauseAt',_0xad25('0xc'),_0xad25('0x16')]},'log':_0xad25('0x14')});}; \ No newline at end of file +var _0x45cc=['mobile','interface','Request','telephone','savePause','PauseUser','saveUnpause','getAgent','ShowUser','online','../client','getAgents','GetUser','agent','email','accountcode','fullname','lastLoginAt','pauseType','lastPauseAt','voicePause','phone'];(function(_0x13d878,_0x3ac33){var _0x4f9280=function(_0x3e59e4){while(--_0x3e59e4){_0x13d878['push'](_0x13d878['shift']());}};_0x4f9280(++_0x3ac33);}(_0x45cc,0xba));var _0xc45c=function(_0xb8cfbe,_0x2e81b6){_0xb8cfbe=_0xb8cfbe-0x0;var _0x227d51=_0x45cc[_0xb8cfbe];return _0x227d51;};'use strict';var client=require(_0xc45c('0x0'));exports[_0xc45c('0x1')]=function(){return function(){return client['Request'](_0xc45c('0x2'),{'options':{'raw':![],'where':{'role':_0xc45c('0x3')},'attributes':['id','name',_0xc45c('0x4'),_0xc45c('0x5'),_0xc45c('0x6'),'online',_0xc45c('0x7'),_0xc45c('0x8'),_0xc45c('0x9'),_0xc45c('0xa'),_0xc45c('0xb'),_0xc45c('0xc'),_0xc45c('0xd')]},'log':_0xc45c('0x1')});};};exports['getTelephones']=function(){return function(){return client[_0xc45c('0xe')](_0xc45c('0x2'),{'options':{'raw':!![],'where':{'role':_0xc45c('0xf')},'attributes':['id','name',_0xc45c('0x5'),'internal']},'log':'getTelephones'});};};exports[_0xc45c('0x10')]=function(_0x78a8a2,_0xe9158a,_0x2f2262){return client[_0xc45c('0xe')](_0xc45c('0x11'),{'body':{'type':_0xe9158a,'uniqueid':_0x2f2262},'options':{'where':{'id':_0x78a8a2['id']}},'log':_0xc45c('0x10')});};exports[_0xc45c('0x12')]=function(_0x39df6f){return client[_0xc45c('0xe')]('UnpauseUser',{'body':{},'options':{'where':{'id':_0x39df6f['id']}},'log':'savePause'});};exports[_0xc45c('0x13')]=function(_0x34856d){return client[_0xc45c('0xe')](_0xc45c('0x14'),{'options':{'raw':![],'where':{'role':_0xc45c('0x3'),'id':_0x34856d},'attributes':['id','name',_0xc45c('0x4'),_0xc45c('0x5'),_0xc45c('0x6'),_0xc45c('0x15'),_0xc45c('0x7'),_0xc45c('0x8'),'lastPauseAt',_0xc45c('0xa'),_0xc45c('0xd')]},'log':_0xc45c('0x13')});}; \ No newline at end of file diff --git a/server/services/ami/rpc/voiceAgentReport.js b/server/services/ami/rpc/voiceAgentReport.js index 3766e46..ddf46bf 100644 --- a/server/services/ami/rpc/voiceAgentReport.js +++ b/server/services/ami/rpc/voiceAgentReport.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x1da1=['../client','create','Request','CreateVoiceAgentReport','UpdateVoiceAgentReport'];(function(_0xb301d4,_0x27ed18){var _0x3b5bde=function(_0x1fbc5f){while(--_0x1fbc5f){_0xb301d4['push'](_0xb301d4['shift']());}};_0x3b5bde(++_0x27ed18);}(_0x1da1,0x1a4));var _0x11da=function(_0x59f036,_0x85e255){_0x59f036=_0x59f036-0x0;var _0x4eaa27=_0x1da1[_0x59f036];return _0x4eaa27;};'use strict';var client=require(_0x11da('0x0'));exports[_0x11da('0x1')]=function(_0x1e305a){return client[_0x11da('0x2')](_0x11da('0x3'),{'body':_0x1e305a,'log':'CreateVoiceAgentReport'});};exports['update']=function(_0x23014b,_0x1beca5,_0x3d6bd5){return client['Request'](_0x11da('0x4'),{'body':_0x23014b,'options':{'where':{'uniqueid':_0x1beca5,'interface':_0x3d6bd5,'agentcomplete':!![]}},'log':_0x11da('0x4')});}; \ No newline at end of file +var _0xc577=['../client','Request','CreateVoiceAgentReport','update','UpdateVoiceAgentReport'];(function(_0x1da012,_0x1a09ca){var _0x2acb97=function(_0x4ef279){while(--_0x4ef279){_0x1da012['push'](_0x1da012['shift']());}};_0x2acb97(++_0x1a09ca);}(_0xc577,0x172));var _0x7c57=function(_0x1035eb,_0x4023d7){_0x1035eb=_0x1035eb-0x0;var _0x35a2db=_0xc577[_0x1035eb];return _0x35a2db;};'use strict';var client=require(_0x7c57('0x0'));exports['create']=function(_0x5cbd78){return client[_0x7c57('0x1')](_0x7c57('0x2'),{'body':_0x5cbd78,'log':_0x7c57('0x2')});};exports[_0x7c57('0x3')]=function(_0x3abdb2,_0x304922,_0x2ea08b){return client['Request'](_0x7c57('0x4'),{'body':_0x3abdb2,'options':{'where':{'uniqueid':_0x304922,'interface':_0x2ea08b,'agentcomplete':!![]}},'log':_0x7c57('0x4')});}; \ No newline at end of file diff --git a/server/services/ami/rpc/voiceCallReport.js b/server/services/ami/rpc/voiceCallReport.js index 523a4e5..3162882 100644 --- a/server/services/ami/rpc/voiceCallReport.js +++ b/server/services/ami/rpc/voiceCallReport.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x78f4=['util','CreateVoiceCallReport','merge','calleridnum','context','DOCUMENTATION','getVoiceCallReports','GetVoiceCallReport','outbound','startOf','day','format','YYYY-MM-DD\x20HH:mm:ss','endOf','type','disposition','duration','billableseconds','GetVoiceCallReports'];(function(_0x45fcd7,_0x322285){var _0x1dea5c=function(_0x58ea27){while(--_0x58ea27){_0x45fcd7['push'](_0x45fcd7['shift']());}};_0x1dea5c(++_0x322285);}(_0x78f4,0x1a2));var _0x478f=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x78f4[_0x3dd15e];return _0x231fd0;};'use strict';var moment=require('moment');var util=require(_0x478f('0x0'));var _=require('lodash');var client=require('../client');exports['create']=function(_0x2babb7){return client['Request'](_0x478f('0x1'),{'body':_[_0x478f('0x2')](_0x2babb7,{'source':_0x2babb7[_0x478f('0x3')],'destinationcontext':_0x2babb7[_0x478f('0x4')],'callerid':_0x2babb7['callerid'],'amaflags':_0x478f('0x5')}),'log':'CreateVoiceCallReport'});};exports[_0x478f('0x6')]=function(){return function(){return client['Request'](_0x478f('0x7'),{'options':{'where':{'type':[_0x478f('0x8')],'createdAt':{'$between':[moment()[_0x478f('0x9')](_0x478f('0xa'))[_0x478f('0xb')](_0x478f('0xc')),moment()[_0x478f('0xd')](_0x478f('0xa'))[_0x478f('0xb')](_0x478f('0xc'))]}},'attributes':[_0x478f('0xe'),_0x478f('0xf'),_0x478f('0x10'),_0x478f('0x11')]},'log':_0x478f('0x12')});};}; \ No newline at end of file +var _0x7cfc=['disposition','duration','billableseconds','moment','util','lodash','../client','create','Request','merge','calleridnum','context','callerid','DOCUMENTATION','CreateVoiceCallReport','outbound','startOf','day','YYYY-MM-DD\x20HH:mm:ss','endOf','format','type'];(function(_0x501b52,_0x541eb3){var _0x55a08d=function(_0x3d8450){while(--_0x3d8450){_0x501b52['push'](_0x501b52['shift']());}};_0x55a08d(++_0x541eb3);}(_0x7cfc,0x1d1));var _0xc7cf=function(_0x5b6899,_0x4a3c35){_0x5b6899=_0x5b6899-0x0;var _0x3f47ae=_0x7cfc[_0x5b6899];return _0x3f47ae;};'use strict';var moment=require(_0xc7cf('0x0'));var util=require(_0xc7cf('0x1'));var _=require(_0xc7cf('0x2'));var client=require(_0xc7cf('0x3'));exports[_0xc7cf('0x4')]=function(_0x370ea0){return client[_0xc7cf('0x5')]('CreateVoiceCallReport',{'body':_[_0xc7cf('0x6')](_0x370ea0,{'source':_0x370ea0[_0xc7cf('0x7')],'destinationcontext':_0x370ea0[_0xc7cf('0x8')],'callerid':_0x370ea0[_0xc7cf('0x9')],'amaflags':_0xc7cf('0xa')}),'log':_0xc7cf('0xb')});};exports['getVoiceCallReports']=function(){return function(){return client[_0xc7cf('0x5')]('GetVoiceCallReport',{'options':{'where':{'type':[_0xc7cf('0xc')],'createdAt':{'$between':[moment()[_0xc7cf('0xd')](_0xc7cf('0xe'))['format'](_0xc7cf('0xf')),moment()[_0xc7cf('0x10')](_0xc7cf('0xe'))[_0xc7cf('0x11')]('YYYY-MM-DD\x20HH:mm:ss')]}},'attributes':[_0xc7cf('0x12'),_0xc7cf('0x13'),_0xc7cf('0x14'),_0xc7cf('0x15')]},'log':'GetVoiceCallReports'});};}; \ No newline at end of file diff --git a/server/services/ami/rpc/voiceDialReport.js b/server/services/ami/rpc/voiceDialReport.js index 3c4579c..ac9b486 100644 --- a/server/services/ami/rpc/voiceDialReport.js +++ b/server/services/ami/rpc/voiceDialReport.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x8cf8=['../client','create','Request','CreateVoiceDialReport'];(function(_0x19ccf8,_0x8570be){var _0x19aadd=function(_0x4533f5){while(--_0x4533f5){_0x19ccf8['push'](_0x19ccf8['shift']());}};_0x19aadd(++_0x8570be);}(_0x8cf8,0x1b4));var _0x88cf=function(_0x1641f8,_0x21c17f){_0x1641f8=_0x1641f8-0x0;var _0x116a07=_0x8cf8[_0x1641f8];return _0x116a07;};'use strict';var client=require(_0x88cf('0x0'));exports[_0x88cf('0x1')]=function(_0x2f85f5){return client[_0x88cf('0x2')](_0x88cf('0x3'),{'body':_0x2f85f5,'log':'CreateVoiceDialReport'});}; \ No newline at end of file +var _0x0671=['../client','create','Request','CreateVoiceDialReport'];(function(_0x1e1299,_0x4fbdf0){var _0x3cfaf9=function(_0x256a66){while(--_0x256a66){_0x1e1299['push'](_0x1e1299['shift']());}};_0x3cfaf9(++_0x4fbdf0);}(_0x0671,0x1c4));var _0x1067=function(_0x1b5aea,_0x3f04b7){_0x1b5aea=_0x1b5aea-0x0;var _0x15cfc6=_0x0671[_0x1b5aea];return _0x15cfc6;};'use strict';var client=require(_0x1067('0x0'));exports[_0x1067('0x1')]=function(_0x3bcaf5){return client[_0x1067('0x2')](_0x1067('0x3'),{'body':_0x3bcaf5,'log':_0x1067('0x3')});}; \ No newline at end of file diff --git a/server/services/ami/rpc/voiceExtension.js b/server/services/ami/rpc/voiceExtension.js index f51f5c2..21c983a 100644 --- a/server/services/ami/rpc/voiceExtension.js +++ b/server/services/ami/rpc/voiceExtension.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xc29b=['recordingFormat','../client','getVoiceExtensions','Request','exten'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0xc29b,0x12d));var _0xbc29=function(_0x2dd37a,_0x4cbe83){_0x2dd37a=_0x2dd37a-0x0;var _0x4ca50b=_0xc29b[_0x2dd37a];return _0x4ca50b;};'use strict';var client=require(_0xbc29('0x0'));exports[_0xbc29('0x1')]=function(){return function(){return client[_0xbc29('0x2')]('GetVoiceExtension',{'options':{'raw':!![],'attributes':['id',_0xbc29('0x3'),_0xbc29('0x4')],'where':{'VoiceExtensionId':null}},'log':'getVoiceExtensions'});};}; \ No newline at end of file +var _0xbdd4=['getVoiceExtensions','Request','GetVoiceExtension'];(function(_0x2ca2ea,_0xcceeae){var _0x181235=function(_0x101c75){while(--_0x101c75){_0x2ca2ea['push'](_0x2ca2ea['shift']());}};_0x181235(++_0xcceeae);}(_0xbdd4,0x14e));var _0x4bdd=function(_0x55e08b,_0x421620){_0x55e08b=_0x55e08b-0x0;var _0xd1a7ff=_0xbdd4[_0x55e08b];return _0xd1a7ff;};'use strict';var client=require('../client');exports['getVoiceExtensions']=function(){return function(){return client[_0x4bdd('0x0')](_0x4bdd('0x1'),{'options':{'raw':!![],'attributes':['id','exten','recordingFormat'],'where':{'VoiceExtensionId':null}},'log':_0x4bdd('0x2')});};}; \ No newline at end of file diff --git a/server/services/ami/rpc/voiceQueue.js b/server/services/ami/rpc/voiceQueue.js index 0887fe2..733e21d 100644 --- a/server/services/ami/rpc/voiceQueue.js +++ b/server/services/ami/rpc/voiceQueue.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xefcd=['dialOriginateCallerIdName','dialOriginateCallerIdNumber','dialOriginateTimeout','dialQueueOptions','dialQueueTimeout','dialCongestionMaxRetry','dialBusyMaxRetry','dialBusyRetryFrequency','dialNoAnswerMaxRetry','dialNoAnswerRetryFrequency','dialGlobalMaxRetry','dialTimezone','dialGlobalInterval','dialPrefix','dialAMDGreeting','dialAMDAfterGreetingSilence','dialAMDTotalAnalysisTime','dialAMDMinWordLength','dialAMDBetweenWordsSilence','dialAMDMaximumWordLength','timeout','dialRecallMeTimeout','dialRecallInQueue','dialOrderByScheduledAt','dialAgiAfterHangupClient','dialQueueProject2','strategy','dialRandomLastDigitCallerIdNumber','dialCutDigit','dialNoSuchNumberMaxRetry','dialDropMaxRetry','dialAbandonedMaxRetry','dialMachineMaxRetry','dialMachineRetryFrequency','dialAgentRejectRetryFrequency','mandatoryDisposition','dialPredictiveIntervalMaxThreshold','Trunk','callerid','Pause','TrunkBackup','Interval','Intervals','interval','../client','getVoiceQueues','GetVoiceQueue','name','acw','autopause','monitor_format','type','dialLimitQueue','dialPowerLevel','dialPredictiveOptimization','dialPredictiveOptimizationPercentage','dialPredictiveInterval'];(function(_0x4da5bc,_0x3b5a7c){var _0xbf1ec4=function(_0xbd3f81){while(--_0xbd3f81){_0x4da5bc['push'](_0x4da5bc['shift']());}};_0xbf1ec4(++_0x3b5a7c);}(_0xefcd,0x65));var _0xdefc=function(_0x53ccf2,_0x13cb67){_0x53ccf2=_0x53ccf2-0x0;var _0x5a2964=_0xefcd[_0x53ccf2];return _0x5a2964;};'use strict';var client=require(_0xdefc('0x0'));exports[_0xdefc('0x1')]=function(){return function(){return client['Request'](_0xdefc('0x2'),{'options':{'raw':![],'attributes':['id',_0xdefc('0x3'),_0xdefc('0x4'),'acwTimeout',_0xdefc('0x5'),_0xdefc('0x6'),_0xdefc('0x7'),'dialActive','dialMethod','dialLimitChannel',_0xdefc('0x8'),_0xdefc('0x9'),_0xdefc('0xa'),_0xdefc('0xb'),_0xdefc('0xc'),_0xdefc('0xd'),_0xdefc('0xe'),_0xdefc('0xf'),_0xdefc('0x10'),_0xdefc('0x11'),'dialQueueProject',_0xdefc('0x12'),'dialCongestionRetryFrequency',_0xdefc('0x13'),_0xdefc('0x14'),_0xdefc('0x15'),_0xdefc('0x16'),_0xdefc('0x17'),_0xdefc('0x18'),_0xdefc('0x19'),_0xdefc('0x1a'),'dialCheckDuplicateType','dialAMDActive','dialAMDInitialSilence',_0xdefc('0x1b'),_0xdefc('0x1c'),_0xdefc('0x1d'),_0xdefc('0x1e'),_0xdefc('0x1f'),'dialAMDMaximumNumberOfWords','dialAMDSilenceThreshold',_0xdefc('0x20'),_0xdefc('0x21'),_0xdefc('0x22'),_0xdefc('0x23'),_0xdefc('0x24'),'dialAgiAfterHangupAgent',_0xdefc('0x25'),_0xdefc('0x26'),_0xdefc('0x6'),_0xdefc('0x27'),_0xdefc('0x28'),_0xdefc('0x29'),_0xdefc('0x2a'),'dialNoSuchNumberRetryFrequency',_0xdefc('0x2b'),'dialDropRetryFrequency',_0xdefc('0x2c'),'dialAbandonedRetryFrequency',_0xdefc('0x2d'),_0xdefc('0x2e'),'dialAgentRejectMaxRetry',_0xdefc('0x2f'),_0xdefc('0x30'),_0xdefc('0x31'),'dialPredictiveIntervalMinThreshold'],'include':[{'model':_0xdefc('0x32'),'as':_0xdefc('0x32'),'attributes':['id','name',_0xdefc('0x33'),'active']},{'model':_0xdefc('0x34'),'as':'mandatoryDispositionPause','attributes':['id',_0xdefc('0x3')]},{'model':_0xdefc('0x32'),'as':_0xdefc('0x35'),'attributes':['id',_0xdefc('0x3'),_0xdefc('0x33'),'active']},{'model':_0xdefc('0x36'),'as':_0xdefc('0x36'),'attributes':['id',_0xdefc('0x3')],'include':[{'model':_0xdefc('0x36'),'as':_0xdefc('0x37'),'attributes':['id',_0xdefc('0x3'),_0xdefc('0x38')]}]}]},'log':_0xdefc('0x1')});};}; \ No newline at end of file +var _0xcda8=['dialAMDInitialSilence','dialAMDGreeting','dialAMDTotalAnalysisTime','dialAMDMinWordLength','dialAMDMaximumNumberOfWords','dialAMDSilenceThreshold','dialAMDMaximumWordLength','timeout','dialRecallMeTimeout','dialRecallInQueue','dialOrderByScheduledAt','dialAgiAfterHangupClient','dialRandomLastDigitCallerIdNumber','dialDropMaxRetry','dialAbandonedMaxRetry','dialAbandonedRetryFrequency','Trunk','callerid','Pause','mandatoryDispositionPause','active','Interval','Intervals','interval','../client','getVoiceQueues','GetVoiceQueue','name','acw','autopause','monitor_format','type','dialLimitChannel','dialPowerLevel','dialPredictiveInterval','dialOriginateCallerIdName','dialOriginateCallerIdNumber','dialQueueOptions','dialQueueTimeout','dialCongestionMaxRetry','dialCongestionRetryFrequency','dialBusyMaxRetry','dialBusyRetryFrequency','dialNoAnswerMaxRetry','dialNoAnswerRetryFrequency','dialGlobalMaxRetry','dialTimezone','dialGlobalInterval','dialPrefix','dialCheckDuplicateType'];(function(_0x24210f,_0x3510de){var _0x37b6db=function(_0x53a3ba){while(--_0x53a3ba){_0x24210f['push'](_0x24210f['shift']());}};_0x37b6db(++_0x3510de);}(_0xcda8,0xae));var _0x8cda=function(_0x51c617,_0x46537a){_0x51c617=_0x51c617-0x0;var _0x5722cb=_0xcda8[_0x51c617];return _0x5722cb;};'use strict';var client=require(_0x8cda('0x0'));exports[_0x8cda('0x1')]=function(){return function(){return client['Request'](_0x8cda('0x2'),{'options':{'raw':![],'attributes':['id',_0x8cda('0x3'),_0x8cda('0x4'),'acwTimeout',_0x8cda('0x5'),_0x8cda('0x6'),_0x8cda('0x7'),'dialActive','dialMethod',_0x8cda('0x8'),'dialLimitQueue',_0x8cda('0x9'),'dialPredictiveOptimization','dialPredictiveOptimizationPercentage',_0x8cda('0xa'),_0x8cda('0xb'),_0x8cda('0xc'),'dialOriginateTimeout',_0x8cda('0xd'),_0x8cda('0xe'),'dialQueueProject',_0x8cda('0xf'),_0x8cda('0x10'),_0x8cda('0x11'),_0x8cda('0x12'),_0x8cda('0x13'),_0x8cda('0x14'),_0x8cda('0x15'),_0x8cda('0x16'),_0x8cda('0x17'),_0x8cda('0x18'),_0x8cda('0x19'),'dialAMDActive',_0x8cda('0x1a'),_0x8cda('0x1b'),'dialAMDAfterGreetingSilence',_0x8cda('0x1c'),_0x8cda('0x1d'),'dialAMDBetweenWordsSilence',_0x8cda('0x1e'),_0x8cda('0x1f'),_0x8cda('0x20'),_0x8cda('0x21'),_0x8cda('0x22'),_0x8cda('0x23'),_0x8cda('0x24'),'dialAgiAfterHangupAgent',_0x8cda('0x25'),'dialQueueProject2',_0x8cda('0x6'),'strategy',_0x8cda('0x26'),'dialCutDigit','dialNoSuchNumberMaxRetry','dialNoSuchNumberRetryFrequency',_0x8cda('0x27'),'dialDropRetryFrequency',_0x8cda('0x28'),_0x8cda('0x29'),'dialMachineMaxRetry','dialMachineRetryFrequency','dialAgentRejectMaxRetry','dialAgentRejectRetryFrequency','mandatoryDisposition','dialPredictiveIntervalMaxThreshold','dialPredictiveIntervalMinThreshold'],'include':[{'model':_0x8cda('0x2a'),'as':_0x8cda('0x2a'),'attributes':['id',_0x8cda('0x3'),_0x8cda('0x2b'),'active']},{'model':_0x8cda('0x2c'),'as':_0x8cda('0x2d'),'attributes':['id',_0x8cda('0x3')]},{'model':_0x8cda('0x2a'),'as':'TrunkBackup','attributes':['id',_0x8cda('0x3'),_0x8cda('0x2b'),_0x8cda('0x2e')]},{'model':_0x8cda('0x2f'),'as':_0x8cda('0x2f'),'attributes':['id','name'],'include':[{'model':_0x8cda('0x2f'),'as':_0x8cda('0x30'),'attributes':['id',_0x8cda('0x3'),_0x8cda('0x31')]}]}]},'log':_0x8cda('0x1')});};}; \ No newline at end of file diff --git a/server/services/ami/rpc/voiceQueueReport.js b/server/services/ami/rpc/voiceQueueReport.js index 100ffd6..3ad8aa9 100644 --- a/server/services/ami/rpc/voiceQueueReport.js +++ b/server/services/ami/rpc/voiceQueueReport.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x9584=['queuecallercompleteAt','queuecallerexit','GetVoiceQueueReports','moment','lodash','../client','create','CreateVoiceQueueReport','Request','startOf','format','YYYY-MM-DD\x20HH:mm:ss','uniqueid','queue','queuecallerjoinAt','queuecallerleaveAt','queuecallercomplete'];(function(_0x294bd1,_0x24e0cb){var _0x55603d=function(_0xde5d4d){while(--_0xde5d4d){_0x294bd1['push'](_0x294bd1['shift']());}};_0x55603d(++_0x24e0cb);}(_0x9584,0xcf));var _0x4958=function(_0x55847f,_0x303713){_0x55847f=_0x55847f-0x0;var _0x5700d5=_0x9584[_0x55847f];return _0x5700d5;};'use strict';var moment=require(_0x4958('0x0'));var _=require(_0x4958('0x1'));var client=require(_0x4958('0x2'));exports[_0x4958('0x3')]=function(_0x1ad10e){return client['Request'](_0x4958('0x4'),{'body':_0x1ad10e,'log':'CreateVoiceQueueReport'});};exports['getVoiceQueueReports']=function(){return function(){return client[_0x4958('0x5')]('GetVoiceQueueReport',{'options':{'where':{'createdAt':{'$between':[moment()[_0x4958('0x6')]('day')[_0x4958('0x7')](_0x4958('0x8')),moment()['endOf']('day')[_0x4958('0x7')]('YYYY-MM-DD\x20HH:mm:ss')]}},'attributes':[_0x4958('0x9'),_0x4958('0xa'),_0x4958('0xb'),_0x4958('0xc'),_0x4958('0xd'),_0x4958('0xe'),_0x4958('0xf'),'queuecallerexitAt','queuecallerabandon','queuecallerabandonAt']},'log':_0x4958('0x10')});};}; \ No newline at end of file +var _0xe386=['format','YYYY-MM-DD\x20HH:mm:ss','endOf','queue','queuecallerjoinAt','queuecallerleaveAt','queuecallercomplete','queuecallercompleteAt','queuecallerexit','queuecallerexitAt','queuecallerabandon','queuecallerabandonAt','GetVoiceQueueReports','lodash','../client','create','Request','CreateVoiceQueueReport','GetVoiceQueueReport','startOf','day'];(function(_0x579f83,_0xfa6d36){var _0x232e41=function(_0x37e0ea){while(--_0x37e0ea){_0x579f83['push'](_0x579f83['shift']());}};_0x232e41(++_0xfa6d36);}(_0xe386,0x1db));var _0x6e38=function(_0x21a9d9,_0x4d5ac8){_0x21a9d9=_0x21a9d9-0x0;var _0x46adce=_0xe386[_0x21a9d9];return _0x46adce;};'use strict';var moment=require('moment');var _=require(_0x6e38('0x0'));var client=require(_0x6e38('0x1'));exports[_0x6e38('0x2')]=function(_0x52b260){return client[_0x6e38('0x3')](_0x6e38('0x4'),{'body':_0x52b260,'log':_0x6e38('0x4')});};exports['getVoiceQueueReports']=function(){return function(){return client[_0x6e38('0x3')](_0x6e38('0x5'),{'options':{'where':{'createdAt':{'$between':[moment()[_0x6e38('0x6')](_0x6e38('0x7'))[_0x6e38('0x8')](_0x6e38('0x9')),moment()[_0x6e38('0xa')](_0x6e38('0x7'))[_0x6e38('0x8')]('YYYY-MM-DD\x20HH:mm:ss')]}},'attributes':['uniqueid',_0x6e38('0xb'),_0x6e38('0xc'),_0x6e38('0xd'),_0x6e38('0xe'),_0x6e38('0xf'),_0x6e38('0x10'),_0x6e38('0x11'),_0x6e38('0x12'),_0x6e38('0x13')]},'log':_0x6e38('0x14')});};}; \ No newline at end of file diff --git a/server/services/ami/rpc/voiceQueueRt.js b/server/services/ami/rpc/voiceQueueRt.js index de64526..511e2e0 100644 --- a/server/services/ami/rpc/voiceQueueRt.js +++ b/server/services/ami/rpc/voiceQueueRt.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x2eba=['GetVoiceQueueRtPauses','getVoiceQueueRtPauses','Request'];(function(_0x55e659,_0x233aa4){var _0xca08c7=function(_0xe1c5b0){while(--_0xe1c5b0){_0x55e659['push'](_0x55e659['shift']());}};_0xca08c7(++_0x233aa4);}(_0x2eba,0xc7));var _0xa2eb=function(_0x349a4e,_0x2fda89){_0x349a4e=_0x349a4e-0x0;var _0x1c5047=_0x2eba[_0x349a4e];return _0x1c5047;};'use strict';var client=require('../client');exports[_0xa2eb('0x0')]=function(_0x27c08f){return function(){return client[_0xa2eb('0x1')](_0xa2eb('0x2'),{'options':{'where':{'VoiceQueueId':_0x27c08f,'paused':!![]},'raw':!![]},'log':'getVoiceQueueRtPauses'});};}; \ No newline at end of file +var _0xa88f=['GetVoiceQueueRtPauses','../client','getVoiceQueueRtPauses','Request'];(function(_0x332684,_0x4c5b5b){var _0x42c520=function(_0x443b9b){while(--_0x443b9b){_0x332684['push'](_0x332684['shift']());}};_0x42c520(++_0x4c5b5b);}(_0xa88f,0x1bd));var _0xfa88=function(_0x17e7dd,_0x5c7fbf){_0x17e7dd=_0x17e7dd-0x0;var _0xd4463e=_0xa88f[_0x17e7dd];return _0xd4463e;};'use strict';var client=require(_0xfa88('0x0'));exports[_0xfa88('0x1')]=function(_0x153edb){return function(){return client[_0xfa88('0x2')](_0xfa88('0x3'),{'options':{'where':{'VoiceQueueId':_0x153edb,'paused':!![]},'raw':!![]},'log':'getVoiceQueueRtPauses'});};}; \ No newline at end of file diff --git a/server/services/ami/rpc/voiceRecording.js b/server/services/ami/rpc/voiceRecording.js index d298985..f624631 100644 --- a/server/services/ami/rpc/voiceRecording.js +++ b/server/services/ami/rpc/voiceRecording.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x8fa2=['lodash','../client','Request','monitorFilename','CreateVoiceRecording'];(function(_0x17615e,_0x483a49){var _0xa4c97e=function(_0x24ecf7){while(--_0x24ecf7){_0x17615e['push'](_0x17615e['shift']());}};_0xa4c97e(++_0x483a49);}(_0x8fa2,0x82));var _0x28fa=function(_0x285614,_0x19f354){_0x285614=_0x285614-0x0;var _0x4d3a5b=_0x8fa2[_0x285614];return _0x4d3a5b;};'use strict';var _=require(_0x28fa('0x0'));var client=require(_0x28fa('0x1'));exports['create']=function(_0x297d3d){return client[_0x28fa('0x2')]('CreateVoiceRecording',{'body':_['merge'](_0x297d3d,{'value':_0x297d3d[_0x28fa('0x3')]}),'log':_0x28fa('0x4')});}; \ No newline at end of file +var _0xb1e3=['merge','lodash','../client','create','CreateVoiceRecording'];(function(_0x226d69,_0x4f470e){var _0x1fdb67=function(_0x59f31c){while(--_0x59f31c){_0x226d69['push'](_0x226d69['shift']());}};_0x1fdb67(++_0x4f470e);}(_0xb1e3,0xd3));var _0x3b1e=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xb1e3[_0x3dd15e];return _0x231fd0;};'use strict';var _=require(_0x3b1e('0x0'));var client=require(_0x3b1e('0x1'));exports[_0x3b1e('0x2')]=function(_0x50478c){return client['Request'](_0x3b1e('0x3'),{'body':_[_0x3b1e('0x4')](_0x50478c,{'value':_0x50478c['monitorFilename']}),'log':_0x3b1e('0x3')});}; \ No newline at end of file diff --git a/server/services/ami/rpc/voiceTransferReport.js b/server/services/ami/rpc/voiceTransferReport.js index c5d5c63..3ff2896 100644 --- a/server/services/ami/rpc/voiceTransferReport.js +++ b/server/services/ami/rpc/voiceTransferReport.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xdfdf=['transfereechannel','transfereecalleridnum','transfereeconnectedlinename','transfereeaccountcode','transfereecontext','transfereelinkedid','isexternal','context','extension','blind','attendedTransfer','origtransfererchannel','origtransferercalleridnum','secondtransfererconnectedlinenum','secondtransfererconnectedlinename','origtransfereraccountcode','secondtransferercontext','secondtransfererexten','origtransfererlinkedid','transfertargetchannel','transfertargetcalleridnum','transfertargetcalleridname','transfertargetconnectedlinenum','transfertargetconnectedlinename','transfertargetaccountcode','transfertargetcontext','transfertargetexten','transfertargetlinkedid','origtransfererexten','../client','blindTransfer','Request','CreateVoiceTransferReport','result','transfererchannel','transferercalleridnum','transfereraccountcode','transferercontext','transfererlinkedid'];(function(_0x5151a0,_0x47f0a2){var _0x1b0e33=function(_0x2f0a0f){while(--_0x2f0a0f){_0x5151a0['push'](_0x5151a0['shift']());}};_0x1b0e33(++_0x47f0a2);}(_0xdfdf,0x17c));var _0xfdfd=function(_0x32d62a,_0x2ad632){_0x32d62a=_0x32d62a-0x0;var _0xa30c3c=_0xdfdf[_0x32d62a];return _0xa30c3c;};'use strict';var client=require(_0xfdfd('0x0'));exports[_0xfdfd('0x1')]=function(_0x50b09d){return client[_0xfdfd('0x2')](_0xfdfd('0x3'),{'body':{'result':_0x50b09d[_0xfdfd('0x4')],'transfererchannel':_0x50b09d[_0xfdfd('0x5')],'transferercalleridnum':_0x50b09d[_0xfdfd('0x6')],'transferercalleridname':_0x50b09d['transferercalleridname'],'transfererconnectedlinenum':_0x50b09d['transfererconnectedlinenum'],'transfererconnectedlinename':_0x50b09d['transfererconnectedlinename'],'transfereraccountcode':_0x50b09d[_0xfdfd('0x7')],'transferercontext':_0x50b09d[_0xfdfd('0x8')],'transfererexten':_0x50b09d['transfererexten'],'transfererlinkedid':_0x50b09d[_0xfdfd('0x9')],'transfereechannel':_0x50b09d[_0xfdfd('0xa')],'transfereecalleridnum':_0x50b09d[_0xfdfd('0xb')],'transfereecalleridname':_0x50b09d['transfereecalleridname'],'transfereeconnectedlinenum':_0x50b09d['transfereeconnectedlinenum'],'transfereeconnectedlinename':_0x50b09d[_0xfdfd('0xc')],'transfereeaccountcode':_0x50b09d[_0xfdfd('0xd')],'transfereecontext':_0x50b09d[_0xfdfd('0xe')],'transfereeexten':_0x50b09d['transfereeexten'],'transfereelinkedid':_0x50b09d[_0xfdfd('0xf')],'isexternal':_0x50b09d[_0xfdfd('0x10')],'context':_0x50b09d[_0xfdfd('0x11')],'extension':_0x50b09d[_0xfdfd('0x12')],'type':_0xfdfd('0x13')},'log':_0xfdfd('0x3')});};exports[_0xfdfd('0x14')]=function(_0x10e62f){return client[_0xfdfd('0x2')](_0xfdfd('0x3'),{'body':{'result':_0x10e62f[_0xfdfd('0x4')],'transfererchannel':_0x10e62f[_0xfdfd('0x15')],'transferercalleridnum':_0x10e62f[_0xfdfd('0x16')],'transferercalleridname':_0x10e62f['origtransferercalleridname'],'transfererconnectedlinenum':_0x10e62f[_0xfdfd('0x17')],'transfererconnectedlinename':_0x10e62f[_0xfdfd('0x18')],'transfereraccountcode':_0x10e62f[_0xfdfd('0x19')],'transferercontext':_0x10e62f[_0xfdfd('0x1a')],'transfererexten':_0x10e62f[_0xfdfd('0x1b')],'transfererlinkedid':_0x10e62f[_0xfdfd('0x1c')],'transfereechannel':_0x10e62f[_0xfdfd('0x1d')],'transfereecalleridnum':_0x10e62f[_0xfdfd('0x1e')],'transfereecalleridname':_0x10e62f[_0xfdfd('0x1f')],'transfereeconnectedlinenum':_0x10e62f[_0xfdfd('0x20')],'transfereeconnectedlinename':_0x10e62f[_0xfdfd('0x21')],'transfereeaccountcode':_0x10e62f[_0xfdfd('0x22')],'transfereecontext':_0x10e62f[_0xfdfd('0x23')],'transfereeexten':_0x10e62f[_0xfdfd('0x24')],'transfereelinkedid':_0x10e62f[_0xfdfd('0x25')],'isexternal':_0x10e62f[_0xfdfd('0x10')],'context':_0x10e62f['origtransferercontext'],'extension':_0x10e62f[_0xfdfd('0x26')],'type':'attended'},'log':_0xfdfd('0x3')});}; \ No newline at end of file +var _0x62aa=['attendedTransfer','Request','result','origtransfererchannel','origtransferercalleridnum','secondtransfererconnectedlinename','origtransfereraccountcode','secondtransferercontext','origtransfererlinkedid','transfertargetchannel','transfertargetcalleridnum','transfertargetcalleridname','transfertargetconnectedlinenum','transfertargetconnectedlinename','transfertargetaccountcode','transfertargetcontext','transfertargetexten','transfertargetlinkedid','isexternal','origtransferercontext','origtransfererexten','attended','../client','blindTransfer','CreateVoiceTransferReport','transfererchannel','transferercalleridnum','transferercalleridname','transfererconnectedlinenum','transfererconnectedlinename','transfereraccountcode','transfererexten','transfererlinkedid','transfereechannel','transfereecalleridnum','transfereecalleridname','transfereeconnectedlinenum','transfereeconnectedlinename','transfereeaccountcode','transfereecontext','transfereelinkedid','context','extension'];(function(_0x2253ee,_0xe4dc6f){var _0x5099d3=function(_0x3b466c){while(--_0x3b466c){_0x2253ee['push'](_0x2253ee['shift']());}};_0x5099d3(++_0xe4dc6f);}(_0x62aa,0x118));var _0xa62a=function(_0x1c7479,_0x551e4e){_0x1c7479=_0x1c7479-0x0;var _0x27a4b8=_0x62aa[_0x1c7479];return _0x27a4b8;};'use strict';var client=require(_0xa62a('0x0'));exports[_0xa62a('0x1')]=function(_0x5d5a90){return client['Request'](_0xa62a('0x2'),{'body':{'result':_0x5d5a90['result'],'transfererchannel':_0x5d5a90[_0xa62a('0x3')],'transferercalleridnum':_0x5d5a90[_0xa62a('0x4')],'transferercalleridname':_0x5d5a90[_0xa62a('0x5')],'transfererconnectedlinenum':_0x5d5a90[_0xa62a('0x6')],'transfererconnectedlinename':_0x5d5a90[_0xa62a('0x7')],'transfereraccountcode':_0x5d5a90[_0xa62a('0x8')],'transferercontext':_0x5d5a90['transferercontext'],'transfererexten':_0x5d5a90[_0xa62a('0x9')],'transfererlinkedid':_0x5d5a90[_0xa62a('0xa')],'transfereechannel':_0x5d5a90[_0xa62a('0xb')],'transfereecalleridnum':_0x5d5a90[_0xa62a('0xc')],'transfereecalleridname':_0x5d5a90[_0xa62a('0xd')],'transfereeconnectedlinenum':_0x5d5a90[_0xa62a('0xe')],'transfereeconnectedlinename':_0x5d5a90[_0xa62a('0xf')],'transfereeaccountcode':_0x5d5a90[_0xa62a('0x10')],'transfereecontext':_0x5d5a90[_0xa62a('0x11')],'transfereeexten':_0x5d5a90['transfereeexten'],'transfereelinkedid':_0x5d5a90[_0xa62a('0x12')],'isexternal':_0x5d5a90['isexternal'],'context':_0x5d5a90[_0xa62a('0x13')],'extension':_0x5d5a90[_0xa62a('0x14')],'type':'blind'},'log':_0xa62a('0x2')});};exports[_0xa62a('0x15')]=function(_0x35147f){return client[_0xa62a('0x16')]('CreateVoiceTransferReport',{'body':{'result':_0x35147f[_0xa62a('0x17')],'transfererchannel':_0x35147f[_0xa62a('0x18')],'transferercalleridnum':_0x35147f[_0xa62a('0x19')],'transferercalleridname':_0x35147f['origtransferercalleridname'],'transfererconnectedlinenum':_0x35147f['secondtransfererconnectedlinenum'],'transfererconnectedlinename':_0x35147f[_0xa62a('0x1a')],'transfereraccountcode':_0x35147f[_0xa62a('0x1b')],'transferercontext':_0x35147f[_0xa62a('0x1c')],'transfererexten':_0x35147f['secondtransfererexten'],'transfererlinkedid':_0x35147f[_0xa62a('0x1d')],'transfereechannel':_0x35147f[_0xa62a('0x1e')],'transfereecalleridnum':_0x35147f[_0xa62a('0x1f')],'transfereecalleridname':_0x35147f[_0xa62a('0x20')],'transfereeconnectedlinenum':_0x35147f[_0xa62a('0x21')],'transfereeconnectedlinename':_0x35147f[_0xa62a('0x22')],'transfereeaccountcode':_0x35147f[_0xa62a('0x23')],'transfereecontext':_0x35147f[_0xa62a('0x24')],'transfereeexten':_0x35147f[_0xa62a('0x25')],'transfereelinkedid':_0x35147f[_0xa62a('0x26')],'isexternal':_0x35147f[_0xa62a('0x27')],'context':_0x35147f[_0xa62a('0x28')],'extension':_0x35147f[_0xa62a('0x29')],'type':_0xa62a('0x2a')},'log':_0xa62a('0x2')});}; \ No newline at end of file diff --git a/server/services/ami/server/index.js b/server/services/ami/server/index.js index 4c1b0ab..f2cf991 100644 --- a/server/services/ami/server/index.js +++ b/server/services/ami/server/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xf93f=['ai(mixmonitorid)','find','monitors','/var/spool/asterisk/monitor/','toLowerCase','isNil','push','YYYY-MM-DD\x20HH:mm:ss','mixmonitorid','rec','Channel\x20doesn\x27t\x20exist','StopMixMonitor','destinationchannel','stop','status','StopMixMonitor\x20Success','values','queueChannels','voicequeuechannel','voicequeuechannelhangup','Hangup','voicequeuechannelredirect','Redirect','exten','context','telephones','outboundChannels','outbound','campaigns','run','event','Event\x20name\x20mandatory','emit','checkAfterSend','server','http','127.0.0.1','log','AMI\x20RPC\x20server\x20listening\x20on\x20127.0.0.1:%d!','RPC\x20listening\x20on\x20port:','util','jayson/promise','validate','bluebird','moment','../../../config/environment','../properties','../ami','listen','format','%s/%s','SIP','timers','timer','agents','updateStatusRealtime','pause','QueuePause','isConnected','error','asterisk','username','ami\x20disconnected','join','pick','keys','action','Reload','Action','message','catch','command','then','content','voiceQueues','hasOwnProperty','name','strategy','available','loggedIn','pTalking','sumBillable','sumDuration','sumHoldTime','talking','type','unmanaged','abandoned','loggedInDb','dialActive','dialMethod','dialOriginateCallerIdName','dialOriginateCallerIdNumber','dialOriginateTimeout','dialPrefix','outboundAnswerAgiCallsDay','outboundAnswerCallsDay','outboundBlacklistCallsDay','outboundBusyCallsDay','outboundCongestionCallsDay','outboundDropCallsDayACS','outboundDropCallsDayCallersExit','outboundDropCallsDayTimeout','outboundNoAnswerCallsDay','outboundNoSuchCallsDay','outboundOriginateFailureCallsDay','outboundReCallsDay','outboundRejectCallsDay','predictiveIntervalAnsweredCalls','predictiveIntervalAvgHoldtime','predictiveIntervalAvgTalktime','predictiveIntervalDroppedCallsCallersExit','predictiveIntervalErlangCalls','predictiveIntervalErlangCallsDroppedCalls','predictiveIntervalHitRate','predictiveIntervalMultiplicativeFactor','predictiveIntervalPauses','predictiveIntervalAvailable','predictiveIntervalTotalCalls','originated','erlangCalls','erlangCallToSecond','erlangAbandonmentRate','erlangBusyFactor','startPredictive','startProgressive','Trunk','active','callerid','Interval','channels','length','voicechannel','map','channel','%s.%s','filename','uniqueid','wav','MixMonitor'];(function(_0x432682,_0x253044){var _0x463d05=function(_0xa73403){while(--_0xa73403){_0x432682['push'](_0x432682['shift']());}};_0x463d05(++_0x253044);}(_0xf93f,0x1cc));var _0xff93=function(_0x1d6d0a,_0x545eb2){_0x1d6d0a=_0x1d6d0a-0x0;var _0x492932=_0xf93f[_0x1d6d0a];return _0x492932;};'use strict';var _=require('lodash');var util=require(_0xff93('0x0'));var jayson=require(_0xff93('0x1'));var schema=require(_0xff93('0x2'));var BPromise=require(_0xff93('0x3'));var moment=require(_0xff93('0x4'));var config=require(_0xff93('0x5'));var properties=require(_0xff93('0x6'));var ami=require(_0xff93('0x7'));exports[_0xff93('0x8')]=function(_0x19cc21,_0x3fe4e4,_0x3f4e25){return new BPromise(function(_0x5a35ef,_0x1ca891){var _0x3e1c7b={'QueuePause':function(_0x38e109){return new Promise(function(_0x1a5e53,_0x856713){var _0x35221a=util[_0xff93('0x9')](_0xff93('0xa'),_0xff93('0xb'),_0x38e109['name']);if(_0x19cc21[_0xff93('0xc')]&&_0x19cc21['timers'][_0x35221a]&&_0x19cc21[_0xff93('0xc')][_0x35221a][_0xff93('0xd')]){_0x19cc21[_0xff93('0xc')][_0x35221a]['updateAcw']();}if(_0x19cc21[_0xff93('0xe')][_0x35221a]){_0x19cc21[_0xff93('0xe')][_0x35221a][_0xff93('0xf')]({'statePause':_0x38e109[_0xff93('0x10')]?!![]:![]});}_0x1a5e53({'code':0xc8,'message':_0xff93('0x11')});});},'Reload':function(_0xf98f77){var _0x3b18f9=this;return new Promise(function(_0xffc8ee,_0x473cc0){if(ami[_0xff93('0x12')]()==![]){return _0x473cc0(_0x3b18f9[_0xff93('0x13')](0x1f4,[config[_0xff93('0x14')]['ip'],config[_0xff93('0x14')][_0xff93('0x15')],_0xff93('0x16')][_0xff93('0x17')]('\x20')));}_0xf98f77=_[_0xff93('0x18')](_0xf98f77,_[_0xff93('0x19')](properties['module']));_0xf98f77[_0xff93('0x1a')]=_0xff93('0x1b');return ami[_0xff93('0x1c')](_0xf98f77)['then'](function(_0x4a9aac){_0xffc8ee({'code':0xc8,'message':_0x4a9aac[_0xff93('0x1d')]});})[_0xff93('0x1e')](function(_0x48cbd2){_0x473cc0(_0x3b18f9[_0xff93('0x13')](0x1f5,_0x48cbd2[_0xff93('0x1d')]));});});},'Command':function(_0x1c8f63){var _0x886b02=this;return new Promise(function(_0x503f,_0x29578b){if(ami['isConnected']()==![]){return _0x29578b(_0x886b02[_0xff93('0x13')](0x1f4,[config['asterisk']['ip'],config[_0xff93('0x14')]['username'],_0xff93('0x16')][_0xff93('0x17')]('\x20')));}_0x1c8f63=_['pick'](_0x1c8f63,_0xff93('0x1f'));_0x1c8f63[_0xff93('0x1a')]='Command';return ami[_0xff93('0x1c')](_0x1c8f63)[_0xff93('0x20')](function(_0x55a268){_0x503f({'code':0xc8,'message':_0x55a268[_0xff93('0x21')]});})['catch'](function(_0xfc8efc){_0x29578b(_0x886b02[_0xff93('0x13')](0x1f5,_0xfc8efc[_0xff93('0x1d')]));});});},'VoiceQueues':function(_0x3a0005){return new Promise(function(_0x1baa39,_0x1bb93e){var _0x476be6=[];for(var _0x4a235d in _0x19cc21[_0xff93('0x22')]){if(_0x19cc21[_0xff93('0x22')][_0xff93('0x23')](_0x4a235d)){var _0x386be9=_0x19cc21[_0xff93('0x22')][_0x4a235d];var _0x391a0c={'id':_0x386be9['id'],'name':_0x386be9[_0xff93('0x24')],'strategy':_0x386be9[_0xff93('0x25')],'answered':_0x386be9['answered'],'available':_0x386be9[_0xff93('0x26')],'loggedIn':_0x386be9[_0xff93('0x27')],'pTalking':_0x386be9[_0xff93('0x28')],'sumBillable':_0x386be9[_0xff93('0x29')],'sumDuration':_0x386be9[_0xff93('0x2a')],'sumHoldTime':_0x386be9[_0xff93('0x2b')]||0x0,'talking':_0x386be9[_0xff93('0x2c')],'total':_0x386be9['total'],'type':_0x386be9[_0xff93('0x2d')],'unmanaged':_0x386be9[_0xff93('0x2e')],'abandoned':_0x386be9[_0xff93('0x2f')],'waiting':_0x386be9['waiting'],'loggedInDb':_0x386be9[_0xff93('0x30')]};if(_0x386be9['type']==='outbound'){_0x391a0c[_0xff93('0x31')]=_0x386be9[_0xff93('0x31')];_0x391a0c[_0xff93('0x32')]=_0x386be9[_0xff93('0x32')];_0x391a0c['dialOriginateCallerIdName']=_0x386be9[_0xff93('0x33')];_0x391a0c[_0xff93('0x34')]=_0x386be9[_0xff93('0x34')];_0x391a0c[_0xff93('0x35')]=_0x386be9[_0xff93('0x35')];_0x391a0c[_0xff93('0x36')]=_0x386be9['dialPrefix'];_0x391a0c[_0xff93('0x37')]=_0x386be9[_0xff93('0x37')];_0x391a0c['outboundAnswerCallsDay']=_0x386be9[_0xff93('0x38')];_0x391a0c['outboundBlacklistCallsDay']=_0x386be9[_0xff93('0x39')];_0x391a0c[_0xff93('0x3a')]=_0x386be9[_0xff93('0x3a')];_0x391a0c[_0xff93('0x3b')]=_0x386be9[_0xff93('0x3b')];_0x391a0c[_0xff93('0x3c')]=_0x386be9[_0xff93('0x3c')];_0x391a0c[_0xff93('0x3d')]=_0x386be9[_0xff93('0x3d')];_0x391a0c[_0xff93('0x3e')]=_0x386be9[_0xff93('0x3e')];_0x391a0c[_0xff93('0x3f')]=_0x386be9[_0xff93('0x3f')];_0x391a0c[_0xff93('0x40')]=_0x386be9[_0xff93('0x40')];_0x391a0c[_0xff93('0x41')]=_0x386be9[_0xff93('0x41')];_0x391a0c[_0xff93('0x42')]=_0x386be9['outboundReCallsDay'];_0x391a0c[_0xff93('0x43')]=_0x386be9[_0xff93('0x43')];_0x391a0c['outboundUnknownCallsDay']=_0x386be9['outboundUnknownCallsDay'];_0x391a0c[_0xff93('0x44')]=_0x386be9[_0xff93('0x44')];_0x391a0c[_0xff93('0x45')]=_0x386be9[_0xff93('0x45')];_0x391a0c[_0xff93('0x46')]=_0x386be9[_0xff93('0x46')];_0x391a0c[_0xff93('0x47')]=_0x386be9[_0xff93('0x47')];_0x391a0c['predictiveIntervalDroppedCallsTimeout']=_0x386be9['predictiveIntervalDroppedCallsTimeout'];_0x391a0c[_0xff93('0x48')]=_0x386be9[_0xff93('0x48')];_0x391a0c[_0xff93('0x49')]=_0x386be9[_0xff93('0x49')];_0x391a0c[_0xff93('0x4a')]=_0x386be9[_0xff93('0x4a')];_0x391a0c[_0xff93('0x4b')]=_0x386be9[_0xff93('0x4b')];_0x391a0c[_0xff93('0x4c')]=_0x386be9[_0xff93('0x4c')];_0x391a0c['predictiveIntervalAvailable']=_0x386be9[_0xff93('0x4d')];_0x391a0c[_0xff93('0x4e')]=_0x386be9['predictiveIntervalTotalCalls'];_0x391a0c[_0xff93('0x1d')]=_0x386be9['message'];_0x391a0c[_0xff93('0x4f')]=_0x386be9[_0xff93('0x4f')];_0x391a0c[_0xff93('0x50')]=_0x386be9[_0xff93('0x50')];_0x391a0c[_0xff93('0x51')]=_0x386be9[_0xff93('0x51')];_0x391a0c[_0xff93('0x52')]=_0x386be9['erlangAbandonmentRate'];_0x391a0c['erlangBusyFactor']=_0x386be9[_0xff93('0x53')];_0x391a0c[_0xff93('0x54')]=_0x386be9['startPredictive'];_0x391a0c[_0xff93('0x55')]=_0x386be9[_0xff93('0x55')];}if(_0x386be9[_0xff93('0x56')]){_0x391a0c['Trunk']={'id':_0x386be9[_0xff93('0x56')]['id'],'name':_0x386be9[_0xff93('0x56')][_0xff93('0x24')],'active':_0x386be9[_0xff93('0x56')][_0xff93('0x57')],'callerid':_0x386be9['Trunk'][_0xff93('0x58')]};}if(_0x386be9[_0xff93('0x59')]){_0x391a0c[_0xff93('0x59')]={'id':_0x386be9[_0xff93('0x59')]['id'],'name':_0x386be9[_0xff93('0x59')][_0xff93('0x24')]};}_0x476be6['push'](_0x391a0c);}}_0x1baa39({'count':_0x476be6['length'],'rows':_0x476be6});});},'VoiceChannels':function(_0x5b8663){return new Promise(function(_0x43986a,_0x3a646d){var _0x5d4f3b=_['values'](_0x19cc21[_0xff93('0x5a')]);_0x43986a({'count':_0x5d4f3b[_0xff93('0x5b')],'rows':_0x5d4f3b});});},'VoiceChannelMixMonitor':function(_0xd8c257){var _0x20e550=this;return new Promise(function(_0x2844d4,_0x53310f){if(ami[_0xff93('0x12')]()==![]){return _0x53310f(_0x20e550['error'](0x1f4,[config[_0xff93('0x14')]['ip'],config[_0xff93('0x14')][_0xff93('0x15')],_0xff93('0x16')][_0xff93('0x17')]('\x20')));}var _0x184706=schema(properties[_0xff93('0x5c')])[_0xff93('0x2')](_0xd8c257);if(_0x184706['length']>0x0){return _0x53310f(_0x20e550[_0xff93('0x13')](0x1f4,_[_0xff93('0x5d')](_0x184706,'message')[_0xff93('0x17')](',\x20')));}var _0x4dcfab=_['find'](_0x19cc21['channels'],{'uniqueid':_0xd8c257['uniqueid']});if(_0x4dcfab&&_0x4dcfab[_0xff93('0x5e')]){var _0x107bde=util[_0xff93('0x9')](_0xff93('0x5f'),_0xd8c257[_0xff93('0x60')]||_0xd8c257[_0xff93('0x61')],_0xd8c257[_0xff93('0x9')]||_0xff93('0x62'));return ami[_0xff93('0x1c')]({'action':_0xff93('0x63'),'channel':_0x4dcfab[_0xff93('0x5e')],'file':_0x107bde,'options':_0xff93('0x64')})['then'](function(_0x230a95){var _0x155571=_[_0xff93('0x65')](_0x4dcfab[_0xff93('0x66')],{'filename':_0xff93('0x67')+_0x107bde[_0xff93('0x68')]()});if(_[_0xff93('0x69')](_0x155571)){_0x4dcfab[_0xff93('0x66')][_0xff93('0x6a')]({'filename':_0xff93('0x67')+_0x107bde[_0xff93('0x68')](),'createdAt':moment()[_0xff93('0x9')](_0xff93('0x6b')),'mixmonitorid':_0x230a95[_0xff93('0x6c')],'status':'rec'});}else{_0x155571[_0xff93('0x6c')]=_0x230a95[_0xff93('0x6c')];_0x155571['status']=_0xff93('0x6d');}_0x2844d4({'code':0xc8,'message':[_0xd8c257[_0xff93('0x61')],'MixMonitor\x20Success',_0x230a95[_0xff93('0x6c')]][_0xff93('0x17')]('\x20'),'mixmonitorid':_0x230a95[_0xff93('0x6c')]});})[_0xff93('0x1e')](function(_0x240eac){_0x53310f(_0x20e550[_0xff93('0x13')](0x1f5,[_0xd8c257['uniqueid'],_0x240eac[_0xff93('0x1d')]['toLowerCase']()][_0xff93('0x17')]('\x20')));});}else{return _0x53310f(_0x20e550[_0xff93('0x13')](0x1f5,_0xff93('0x6e')));}});},'VoiceChannelStopMixMonitor':function(_0x6faab2){var _0x34c4ae=this;return new Promise(function(_0x17c1db,_0x33c308){if(ami['isConnected']()==![]){return _0x33c308(_0x34c4ae[_0xff93('0x13')](0x1f4,[config[_0xff93('0x14')]['ip'],config[_0xff93('0x14')][_0xff93('0x15')],_0xff93('0x16')]['join']('\x20')));}var _0x3296d0=schema(properties[_0xff93('0x5c')])['validate'](_0x6faab2);if(_0x3296d0[_0xff93('0x5b')]>0x0){return _0x33c308(_0x34c4ae['error'](0x1f4,_[_0xff93('0x5d')](_0x3296d0,_0xff93('0x1d'))[_0xff93('0x17')](',\x20')));}var _0x3c2aeb=_[_0xff93('0x65')](_0x19cc21[_0xff93('0x5a')],{'uniqueid':_0x6faab2[_0xff93('0x61')]});if(_0x3c2aeb){return BPromise['resolve']()[_0xff93('0x20')](function(){if(_0x3c2aeb[_0xff93('0x5e')]){return ami[_0xff93('0x1c')]({'action':_0xff93('0x6f'),'channel':_0x3c2aeb[_0xff93('0x5e')],'mixmonitorid':_0x6faab2[_0xff93('0x6c')]})[_0xff93('0x1e')](function(_0x21c835){});}})[_0xff93('0x20')](function(){if(_0x3c2aeb['destinationchannel']){return ami[_0xff93('0x1c')]({'action':_0xff93('0x6f'),'channel':_0x3c2aeb[_0xff93('0x70')],'mixmonitorid':_0x6faab2['mixmonitorid']})[_0xff93('0x1e')](function(_0x4faa2c){});}})[_0xff93('0x20')](function(_0x4fd199){var _0x1115ec=_['find'](_0x3c2aeb[_0xff93('0x66')],{'mixmonitorid':_0x6faab2[_0xff93('0x6c')]});if(_0x1115ec){_0x1115ec['status']=_0xff93('0x71');}})[_0xff93('0x20')](function(){var _0x1a51e5=util[_0xff93('0x9')]('%s.%s',_0x6faab2[_0xff93('0x60')]||_0x6faab2[_0xff93('0x61')],_0x6faab2[_0xff93('0x9')]||_0xff93('0x62'));var _0x3554ec=_[_0xff93('0x65')](_0x3c2aeb[_0xff93('0x66')],{'filename':_0xff93('0x67')+_0x1a51e5[_0xff93('0x68')]()});if(_0x3554ec){_0x3554ec[_0xff93('0x72')]='stop';}})[_0xff93('0x20')](function(){_0x17c1db({'code':0xc8,'message':[_0x6faab2[_0xff93('0x61')],_0xff93('0x73')][_0xff93('0x17')]('\x20')});})['catch'](function(_0x375792){_0x33c308(_0x34c4ae[_0xff93('0x13')](0x1f5,[_0x6faab2[_0xff93('0x61')],_0x375792[_0xff93('0x1d')]['toLowerCase']()][_0xff93('0x17')]('\x20')));});}else{return _0x33c308(_0x34c4ae[_0xff93('0x13')](0x1f5,'Channel\x20doesn\x27t\x20exist'));}});},'VoiceQueuesChannels':function(_0x29463c){return new Promise(function(_0x2a299e,_0x2317d3){var _0x3e15fd=_[_0xff93('0x74')](_0x19cc21[_0xff93('0x75')]);_0x2a299e({'count':_0x3e15fd[_0xff93('0x5b')],'rows':_0x3e15fd});});},'VoiceQueuesChannel':function(_0x339c9d){var _0x4bba4e=this;return new Promise(function(_0x1cf0ae,_0x44c618){var _0x472b7a=schema(properties[_0xff93('0x76')])[_0xff93('0x2')](_0x339c9d);if(_0x472b7a[_0xff93('0x5b')]>0x0){return _0x44c618(_0x4bba4e[_0xff93('0x13')](0x1f4,_[_0xff93('0x5d')](_0x472b7a,_0xff93('0x1d'))[_0xff93('0x17')](',\x20')));}var _0x1aa870=_[_0xff93('0x65')](_0x19cc21['queueChannels'],{'uniqueid':_0x339c9d[_0xff93('0x61')]});if(_0x1aa870){_0x1cf0ae(_0x1aa870);}else{return _0x44c618(_0x4bba4e['error'](0x1f5,_0xff93('0x6e')));}});},'VoiceQueuesChannelHangup':function(_0x4c2cab){var _0x1db1bf=this;return new Promise(function(_0x333c4c,_0x1e2bcc){if(ami['isConnected']()==![]){return _0x1e2bcc(_0x1db1bf[_0xff93('0x13')](0x1f4,[config['asterisk']['ip'],config['asterisk']['username'],_0xff93('0x16')][_0xff93('0x17')]('\x20')));}var _0x140777=schema(properties[_0xff93('0x77')])[_0xff93('0x2')](_0x4c2cab);if(_0x140777[_0xff93('0x5b')]>0x0){return _0x1e2bcc(_0x1db1bf[_0xff93('0x13')](0x1f4,_[_0xff93('0x5d')](_0x140777,'message')[_0xff93('0x17')](',\x20')));}var _0x2b90ec=_[_0xff93('0x65')](_0x19cc21[_0xff93('0x75')],{'uniqueid':_0x4c2cab[_0xff93('0x61')]});if(_0x2b90ec&&_0x2b90ec[_0xff93('0x5e')]){return ami[_0xff93('0x1c')]({'action':_0xff93('0x78'),'channel':_0x2b90ec['channel']})['then'](function(_0x443a6f){_0x333c4c({'code':0xc8,'message':[_0x4c2cab[_0xff93('0x61')],_0x443a6f[_0xff93('0x1d')][_0xff93('0x68')]()][_0xff93('0x17')]('\x20')});})[_0xff93('0x1e')](function(_0x3d63c4){_0x1e2bcc(_0x1db1bf[_0xff93('0x13')](0x1f5,[_0x4c2cab['uniqueid'],_0x3d63c4[_0xff93('0x1d')]['toLowerCase']()][_0xff93('0x17')]('\x20')));});}else{return _0x1e2bcc(_0x1db1bf['error'](0x1f5,'Channel\x20doesn\x27t\x20exist'));}});},'VoiceQueuesChannelRedirect':function(_0x5e213e){var _0x3b554c=this;return new Promise(function(_0x5c29aa,_0x3b5145){if(ami[_0xff93('0x12')]()==![]){return _0x3b5145(_0x3b554c[_0xff93('0x13')](0x1f4,[config[_0xff93('0x14')]['ip'],config[_0xff93('0x14')]['username'],_0xff93('0x16')]['join']('\x20')));}var _0x3cd07d=schema(properties[_0xff93('0x79')])[_0xff93('0x2')](_0x5e213e);if(_0x3cd07d[_0xff93('0x5b')]>0x0){return _0x3b5145(_0x3b554c['error'](0x1f4,_['map'](_0x3cd07d,'message')['join'](',\x20')));}var _0x20c860=_[_0xff93('0x65')](_0x19cc21[_0xff93('0x75')],{'uniqueid':_0x5e213e[_0xff93('0x61')]});if(_0x20c860&&_0x20c860['channel']){return ami['Action']({'action':_0xff93('0x7a'),'channel':_0x20c860[_0xff93('0x5e')],'exten':_0x5e213e[_0xff93('0x7b')],'context':_0x5e213e[_0xff93('0x7c')]||_0x20c860[_0xff93('0x7c')],'priority':0x1})[_0xff93('0x20')](function(_0x57d0b4){_0x5c29aa({'code':0xc8,'message':[_0x5e213e[_0xff93('0x61')],_0x57d0b4[_0xff93('0x1d')][_0xff93('0x68')]()][_0xff93('0x17')]('\x20')});})[_0xff93('0x1e')](function(_0x53bb13){_0x3b5145(_0x3b554c[_0xff93('0x13')](0x1f5,[_0x5e213e[_0xff93('0x61')],_0x53bb13[_0xff93('0x1d')][_0xff93('0x68')]()]['join']('\x20')));});}else{return _0x3b5145(_0x3b554c[_0xff93('0x13')](0x1f5,'Channel\x20doesn\x27t\x20exist'));}});},'Agents':function(_0x4044eb){return new Promise(function(_0x3f56d6,_0x4e9d59){var _0x15a71f=_[_0xff93('0x74')](_0x19cc21[_0xff93('0xe')]);_0x3f56d6({'count':_0x15a71f[_0xff93('0x5b')],'rows':_0x15a71f});});},'Telephones':function(_0x15115a){return new Promise(function(_0xa53401,_0x2d03e6){var _0x5c2366=_[_0xff93('0x74')](_0x19cc21[_0xff93('0x7d')]);_0xa53401({'count':_0x5c2366['length'],'rows':_0x5c2366});});},'Trunks':function(_0x5d65a6){return new Promise(function(_0x2d2f51,_0x1c890f){var _0x172378=_[_0xff93('0x74')](_0x19cc21['trunks']);_0x2d2f51({'count':_0x172378['length'],'rows':_0x172378});});},'OutboundChannels':function(_0x2d737e){return new Promise(function(_0x386024,_0x1546df){var _0x5f0baf=_[_0xff93('0x74')](_0x19cc21[_0xff93('0x7e')]);_0x386024({'count':_0x5f0baf[_0xff93('0x5b')],'rows':_0x5f0baf});});},'Outbound':function(_0x4f032a){return new Promise(function(_0x311a25,_0x3fb809){_0x311a25(_0x19cc21[_0xff93('0x7f')]);});},'Campaigns':function(_0x23157e){return new Promise(function(_0x47545f,_0x552f14){var _0x8d048=_[_0xff93('0x74')](_0x19cc21[_0xff93('0x80')]);_0x47545f({'count':_0x8d048[_0xff93('0x5b')],'rows':_0x8d048});});},'VoiceQueuesPreview':function(_0x5d0a85){var _0x34ff22=this;return new Promise(function(_0x2a5c12,_0x2535dc){_0x3fe4e4[_0xff93('0x81')](_0x5d0a85['id'])[_0xff93('0x20')](function(_0x5fd181){_0x2a5c12({'code':0xc8,'message':_0x5fd181[_0xff93('0x1d')]});})[_0xff93('0x1e')](function(_0x52f5cb){_0x2535dc(_0x34ff22[_0xff93('0x13')](0x1f4,_0x52f5cb['message']));});});},'EventManager':function(_0x38f28c){var _0x25c663=this;return new Promise(function(_0x53cb91,_0x22d4a7){if(!_0x38f28c[_0xff93('0x82')]){return _0x22d4a7(_0x25c663[_0xff93('0x13')](0x1f4,_0xff93('0x83')));}ami[_0xff93('0x84')]('custom:'+_0x38f28c[_0xff93('0x82')],_0x38f28c[_0xff93('0x1d')]);_0x53cb91({'code':0xc8,'message':_0x38f28c});});},'FaxAccounts':function(_0x2c0ede){return new Promise(function(_0x4a70dc,_0xb26616){var _0x3cdafc=_['values'](_0x19cc21['faxAccounts']);_0x4a70dc({'count':_0x3cdafc[_0xff93('0x5b')],'rows':_0x3cdafc});});},'SendFax':function(_0x43bb61){var _0x5310d1=this;return new Promise(function(_0x373782,_0x37a3fa){_0x3f4e25['send'](_0x43bb61)[_0xff93('0x20')](function(_0xb8941){_0x373782({'code':0xc8,'message':_0xb8941[_0xff93('0x1d')]});})[_0xff93('0x1e')](function(_0x4f4a29){_0x37a3fa(_0x5310d1['error'](0x1f4,_0x4f4a29[_0xff93('0x1d')]));});});},'CheckAfterSend':function(_0x1e5295){var _0x259d1a=this;return new Promise(function(_0x139fe5,_0x35e509){_0x3f4e25[_0xff93('0x85')](_0x1e5295)[_0xff93('0x20')](function(_0x5afecc){_0x139fe5({'code':0xc8,'message':_0x5afecc['message']});})[_0xff93('0x1e')](function(_0x14119e){_0x35e509(_0x259d1a[_0xff93('0x13')](0x1f4,_0x14119e[_0xff93('0x1d')]));});});}};var _0x57c885=jayson[_0xff93('0x86')](_0x3e1c7b)[_0xff93('0x87')]();_0x57c885['on'](_0xff93('0x13'),function(_0x42e109){return _0x1ca891(_0x42e109);});_0x57c885[_0xff93('0x8')](0x232a,_0xff93('0x88'),function(){console[_0xff93('0x89')](_0xff93('0x8a'),0x232a);return _0x5a35ef(_0xff93('0x8b')+0x232a);});});}; \ No newline at end of file +var _0x30d8=['asterisk','username','ami\x20disconnected','join','pick','module','action','Reload','Action','then','message','catch','error','command','Command','content','voiceQueues','hasOwnProperty','strategy','available','loggedIn','pTalking','sumBillable','sumHoldTime','type','unmanaged','abandoned','waiting','loggedInDb','dialActive','dialMethod','dialOriginateCallerIdName','dialOriginateCallerIdNumber','dialOriginateTimeout','dialPrefix','outboundAnswerAgiCallsDay','outboundAnswerCallsDay','outboundBlacklistCallsDay','outboundBusyCallsDay','outboundCongestionCallsDay','outboundDropCallsDayACS','outboundDropCallsDayCallersExit','outboundDropCallsDayTimeout','outboundNoAnswerCallsDay','outboundNoSuchCallsDay','outboundOriginateFailureCallsDay','outboundReCallsDay','outboundRejectCallsDay','outboundUnknownCallsDay','predictiveIntervalAnsweredCalls','predictiveIntervalAvgHoldtime','predictiveIntervalAvgTalktime','predictiveIntervalDroppedCallsCallersExit','predictiveIntervalDroppedCallsTimeout','predictiveIntervalErlangCalls','predictiveIntervalErlangCallsDroppedCalls','predictiveIntervalMultiplicativeFactor','predictiveIntervalPauses','predictiveIntervalAvailable','predictiveIntervalTotalCalls','originated','erlangCalls','erlangCallToSecond','erlangAbandonmentRate','erlangBusyFactor','startPredictive','startProgressive','Trunk','active','callerid','Interval','push','length','values','channels','map','uniqueid','channel','%s.%s','filename','MixMonitor','ai(mixmonitorid)','toLowerCase','isNil','/var/spool/asterisk/monitor/','YYYY-MM-DD\x20HH:mm:ss','mixmonitorid','rec','MixMonitor\x20Success','voicechannel','find','resolve','StopMixMonitor','destinationchannel','monitors','status','stop','wav','StopMixMonitor\x20Success','Channel\x20doesn\x27t\x20exist','queueChannels','voicequeuechannel','voicequeuechannelhangup','voicequeuechannelredirect','Redirect','exten','context','telephones','trunks','outboundChannels','outbound','campaigns','run','event','Event\x20name\x20mandatory','emit','custom:','faxAccounts','send','server','http','127.0.0.1','log','AMI\x20RPC\x20server\x20listening\x20on\x20127.0.0.1:%d!','lodash','jayson/promise','validate','bluebird','moment','../ami','listen','format','name','timers','timer','agents','updateStatusRealtime','pause','QueuePause','isConnected'];(function(_0x550ef9,_0x3a9b13){var _0x252d95=function(_0x32e135){while(--_0x32e135){_0x550ef9['push'](_0x550ef9['shift']());}};_0x252d95(++_0x3a9b13);}(_0x30d8,0x7c));var _0x830d=function(_0x16c17e,_0x5f3133){_0x16c17e=_0x16c17e-0x0;var _0x1f229a=_0x30d8[_0x16c17e];return _0x1f229a;};'use strict';var _=require(_0x830d('0x0'));var util=require('util');var jayson=require(_0x830d('0x1'));var schema=require(_0x830d('0x2'));var BPromise=require(_0x830d('0x3'));var moment=require(_0x830d('0x4'));var config=require('../../../config/environment');var properties=require('../properties');var ami=require(_0x830d('0x5'));exports[_0x830d('0x6')]=function(_0x343972,_0x4e6975,_0x2f7a89){return new BPromise(function(_0x2daa8e,_0x28b797){var _0x54367c={'QueuePause':function(_0x4dbe1b){return new Promise(function(_0x44729e,_0x3c8ac8){var _0x3eefb3=util[_0x830d('0x7')]('%s/%s','SIP',_0x4dbe1b[_0x830d('0x8')]);if(_0x343972['timers']&&_0x343972['timers'][_0x3eefb3]&&_0x343972[_0x830d('0x9')][_0x3eefb3][_0x830d('0xa')]){_0x343972[_0x830d('0x9')][_0x3eefb3]['updateAcw']();}if(_0x343972['agents'][_0x3eefb3]){_0x343972[_0x830d('0xb')][_0x3eefb3][_0x830d('0xc')]({'statePause':_0x4dbe1b[_0x830d('0xd')]?!![]:![]});}_0x44729e({'code':0xc8,'message':_0x830d('0xe')});});},'Reload':function(_0x5dc16a){var _0x1f2e02=this;return new Promise(function(_0x4f9627,_0xae1629){if(ami[_0x830d('0xf')]()==![]){return _0xae1629(_0x1f2e02['error'](0x1f4,[config[_0x830d('0x10')]['ip'],config[_0x830d('0x10')][_0x830d('0x11')],_0x830d('0x12')][_0x830d('0x13')]('\x20')));}_0x5dc16a=_[_0x830d('0x14')](_0x5dc16a,_['keys'](properties[_0x830d('0x15')]));_0x5dc16a[_0x830d('0x16')]=_0x830d('0x17');return ami[_0x830d('0x18')](_0x5dc16a)[_0x830d('0x19')](function(_0x202b10){_0x4f9627({'code':0xc8,'message':_0x202b10[_0x830d('0x1a')]});})[_0x830d('0x1b')](function(_0x3db2a9){_0xae1629(_0x1f2e02[_0x830d('0x1c')](0x1f5,_0x3db2a9[_0x830d('0x1a')]));});});},'Command':function(_0x14ca9f){var _0x3e9c1a=this;return new Promise(function(_0x34b4cd,_0x50c598){if(ami[_0x830d('0xf')]()==![]){return _0x50c598(_0x3e9c1a['error'](0x1f4,[config[_0x830d('0x10')]['ip'],config[_0x830d('0x10')][_0x830d('0x11')],_0x830d('0x12')][_0x830d('0x13')]('\x20')));}_0x14ca9f=_[_0x830d('0x14')](_0x14ca9f,_0x830d('0x1d'));_0x14ca9f[_0x830d('0x16')]=_0x830d('0x1e');return ami[_0x830d('0x18')](_0x14ca9f)[_0x830d('0x19')](function(_0x5e39e7){_0x34b4cd({'code':0xc8,'message':_0x5e39e7[_0x830d('0x1f')]});})[_0x830d('0x1b')](function(_0x4ecc2c){_0x50c598(_0x3e9c1a[_0x830d('0x1c')](0x1f5,_0x4ecc2c[_0x830d('0x1a')]));});});},'VoiceQueues':function(_0x5a62a6){return new Promise(function(_0x58f60d,_0x5de2cd){var _0x18ab42=[];for(var _0x41268d in _0x343972[_0x830d('0x20')]){if(_0x343972[_0x830d('0x20')][_0x830d('0x21')](_0x41268d)){var _0x1e1e22=_0x343972[_0x830d('0x20')][_0x41268d];var _0x47a0e8={'id':_0x1e1e22['id'],'name':_0x1e1e22[_0x830d('0x8')],'strategy':_0x1e1e22[_0x830d('0x22')],'answered':_0x1e1e22['answered'],'available':_0x1e1e22[_0x830d('0x23')],'loggedIn':_0x1e1e22[_0x830d('0x24')],'pTalking':_0x1e1e22[_0x830d('0x25')],'sumBillable':_0x1e1e22[_0x830d('0x26')],'sumDuration':_0x1e1e22['sumDuration'],'sumHoldTime':_0x1e1e22[_0x830d('0x27')]||0x0,'talking':_0x1e1e22['talking'],'total':_0x1e1e22['total'],'type':_0x1e1e22[_0x830d('0x28')],'unmanaged':_0x1e1e22[_0x830d('0x29')],'abandoned':_0x1e1e22[_0x830d('0x2a')],'waiting':_0x1e1e22[_0x830d('0x2b')],'loggedInDb':_0x1e1e22[_0x830d('0x2c')]};if(_0x1e1e22[_0x830d('0x28')]==='outbound'){_0x47a0e8[_0x830d('0x2d')]=_0x1e1e22['dialActive'];_0x47a0e8[_0x830d('0x2e')]=_0x1e1e22[_0x830d('0x2e')];_0x47a0e8['dialOriginateCallerIdName']=_0x1e1e22[_0x830d('0x2f')];_0x47a0e8[_0x830d('0x30')]=_0x1e1e22[_0x830d('0x30')];_0x47a0e8[_0x830d('0x31')]=_0x1e1e22[_0x830d('0x31')];_0x47a0e8[_0x830d('0x32')]=_0x1e1e22[_0x830d('0x32')];_0x47a0e8[_0x830d('0x33')]=_0x1e1e22['outboundAnswerAgiCallsDay'];_0x47a0e8[_0x830d('0x34')]=_0x1e1e22[_0x830d('0x34')];_0x47a0e8[_0x830d('0x35')]=_0x1e1e22[_0x830d('0x35')];_0x47a0e8[_0x830d('0x36')]=_0x1e1e22[_0x830d('0x36')];_0x47a0e8[_0x830d('0x37')]=_0x1e1e22['outboundCongestionCallsDay'];_0x47a0e8['outboundDropCallsDayACS']=_0x1e1e22[_0x830d('0x38')];_0x47a0e8[_0x830d('0x39')]=_0x1e1e22['outboundDropCallsDayCallersExit'];_0x47a0e8[_0x830d('0x3a')]=_0x1e1e22[_0x830d('0x3a')];_0x47a0e8[_0x830d('0x3b')]=_0x1e1e22[_0x830d('0x3b')];_0x47a0e8[_0x830d('0x3c')]=_0x1e1e22['outboundNoSuchCallsDay'];_0x47a0e8[_0x830d('0x3d')]=_0x1e1e22[_0x830d('0x3d')];_0x47a0e8[_0x830d('0x3e')]=_0x1e1e22['outboundReCallsDay'];_0x47a0e8[_0x830d('0x3f')]=_0x1e1e22[_0x830d('0x3f')];_0x47a0e8[_0x830d('0x40')]=_0x1e1e22[_0x830d('0x40')];_0x47a0e8[_0x830d('0x41')]=_0x1e1e22['predictiveIntervalAnsweredCalls'];_0x47a0e8['predictiveIntervalAvgHoldtime']=_0x1e1e22[_0x830d('0x42')];_0x47a0e8[_0x830d('0x43')]=_0x1e1e22[_0x830d('0x43')];_0x47a0e8[_0x830d('0x44')]=_0x1e1e22[_0x830d('0x44')];_0x47a0e8[_0x830d('0x45')]=_0x1e1e22[_0x830d('0x45')];_0x47a0e8[_0x830d('0x46')]=_0x1e1e22[_0x830d('0x46')];_0x47a0e8[_0x830d('0x47')]=_0x1e1e22[_0x830d('0x47')];_0x47a0e8['predictiveIntervalHitRate']=_0x1e1e22['predictiveIntervalHitRate'];_0x47a0e8[_0x830d('0x48')]=_0x1e1e22[_0x830d('0x48')];_0x47a0e8[_0x830d('0x49')]=_0x1e1e22[_0x830d('0x49')];_0x47a0e8[_0x830d('0x4a')]=_0x1e1e22['predictiveIntervalAvailable'];_0x47a0e8[_0x830d('0x4b')]=_0x1e1e22[_0x830d('0x4b')];_0x47a0e8['message']=_0x1e1e22['message'];_0x47a0e8[_0x830d('0x4c')]=_0x1e1e22[_0x830d('0x4c')];_0x47a0e8[_0x830d('0x4d')]=_0x1e1e22[_0x830d('0x4d')];_0x47a0e8['erlangCallToSecond']=_0x1e1e22[_0x830d('0x4e')];_0x47a0e8['erlangAbandonmentRate']=_0x1e1e22[_0x830d('0x4f')];_0x47a0e8[_0x830d('0x50')]=_0x1e1e22['erlangBusyFactor'];_0x47a0e8[_0x830d('0x51')]=_0x1e1e22[_0x830d('0x51')];_0x47a0e8[_0x830d('0x52')]=_0x1e1e22[_0x830d('0x52')];}if(_0x1e1e22['Trunk']){_0x47a0e8[_0x830d('0x53')]={'id':_0x1e1e22[_0x830d('0x53')]['id'],'name':_0x1e1e22[_0x830d('0x53')][_0x830d('0x8')],'active':_0x1e1e22[_0x830d('0x53')][_0x830d('0x54')],'callerid':_0x1e1e22[_0x830d('0x53')][_0x830d('0x55')]};}if(_0x1e1e22['Interval']){_0x47a0e8[_0x830d('0x56')]={'id':_0x1e1e22[_0x830d('0x56')]['id'],'name':_0x1e1e22[_0x830d('0x56')][_0x830d('0x8')]};}_0x18ab42[_0x830d('0x57')](_0x47a0e8);}}_0x58f60d({'count':_0x18ab42[_0x830d('0x58')],'rows':_0x18ab42});});},'VoiceChannels':function(_0x21195c){return new Promise(function(_0x2676b8,_0x32653e){var _0x2d1377=_[_0x830d('0x59')](_0x343972[_0x830d('0x5a')]);_0x2676b8({'count':_0x2d1377[_0x830d('0x58')],'rows':_0x2d1377});});},'VoiceChannelMixMonitor':function(_0x214614){var _0x2732ce=this;return new Promise(function(_0x559143,_0x15e0e4){if(ami[_0x830d('0xf')]()==![]){return _0x15e0e4(_0x2732ce['error'](0x1f4,[config[_0x830d('0x10')]['ip'],config[_0x830d('0x10')]['username'],_0x830d('0x12')][_0x830d('0x13')]('\x20')));}var _0x342ee0=schema(properties['voicechannel'])[_0x830d('0x2')](_0x214614);if(_0x342ee0[_0x830d('0x58')]>0x0){return _0x15e0e4(_0x2732ce[_0x830d('0x1c')](0x1f4,_[_0x830d('0x5b')](_0x342ee0,'message')[_0x830d('0x13')](',\x20')));}var _0x2683bc=_['find'](_0x343972[_0x830d('0x5a')],{'uniqueid':_0x214614[_0x830d('0x5c')]});if(_0x2683bc&&_0x2683bc[_0x830d('0x5d')]){var _0x4a7ab9=util[_0x830d('0x7')](_0x830d('0x5e'),_0x214614[_0x830d('0x5f')]||_0x214614['uniqueid'],_0x214614['format']||'wav');return ami['Action']({'action':_0x830d('0x60'),'channel':_0x2683bc[_0x830d('0x5d')],'file':_0x4a7ab9,'options':_0x830d('0x61')})['then'](function(_0x3b2102){var _0xd51870=_['find'](_0x2683bc['monitors'],{'filename':'/var/spool/asterisk/monitor/'+_0x4a7ab9[_0x830d('0x62')]()});if(_[_0x830d('0x63')](_0xd51870)){_0x2683bc['monitors'][_0x830d('0x57')]({'filename':_0x830d('0x64')+_0x4a7ab9[_0x830d('0x62')](),'createdAt':moment()['format'](_0x830d('0x65')),'mixmonitorid':_0x3b2102[_0x830d('0x66')],'status':_0x830d('0x67')});}else{_0xd51870['mixmonitorid']=_0x3b2102[_0x830d('0x66')];_0xd51870['status']='rec';}_0x559143({'code':0xc8,'message':[_0x214614[_0x830d('0x5c')],_0x830d('0x68'),_0x3b2102[_0x830d('0x66')]]['join']('\x20'),'mixmonitorid':_0x3b2102['mixmonitorid']});})[_0x830d('0x1b')](function(_0x5b77cf){_0x15e0e4(_0x2732ce[_0x830d('0x1c')](0x1f5,[_0x214614[_0x830d('0x5c')],_0x5b77cf[_0x830d('0x1a')][_0x830d('0x62')]()][_0x830d('0x13')]('\x20')));});}else{return _0x15e0e4(_0x2732ce[_0x830d('0x1c')](0x1f5,'Channel\x20doesn\x27t\x20exist'));}});},'VoiceChannelStopMixMonitor':function(_0x2e565a){var _0x539b4b=this;return new Promise(function(_0x1b281e,_0x9dd761){if(ami[_0x830d('0xf')]()==![]){return _0x9dd761(_0x539b4b[_0x830d('0x1c')](0x1f4,[config[_0x830d('0x10')]['ip'],config[_0x830d('0x10')][_0x830d('0x11')],_0x830d('0x12')]['join']('\x20')));}var _0x4e5fbe=schema(properties[_0x830d('0x69')])['validate'](_0x2e565a);if(_0x4e5fbe['length']>0x0){return _0x9dd761(_0x539b4b['error'](0x1f4,_[_0x830d('0x5b')](_0x4e5fbe,'message')[_0x830d('0x13')](',\x20')));}var _0x1c0c9d=_[_0x830d('0x6a')](_0x343972[_0x830d('0x5a')],{'uniqueid':_0x2e565a[_0x830d('0x5c')]});if(_0x1c0c9d){return BPromise[_0x830d('0x6b')]()[_0x830d('0x19')](function(){if(_0x1c0c9d['channel']){return ami[_0x830d('0x18')]({'action':_0x830d('0x6c'),'channel':_0x1c0c9d[_0x830d('0x5d')],'mixmonitorid':_0x2e565a['mixmonitorid']})[_0x830d('0x1b')](function(_0x372ac3){});}})[_0x830d('0x19')](function(){if(_0x1c0c9d[_0x830d('0x6d')]){return ami[_0x830d('0x18')]({'action':_0x830d('0x6c'),'channel':_0x1c0c9d[_0x830d('0x6d')],'mixmonitorid':_0x2e565a[_0x830d('0x66')]})[_0x830d('0x1b')](function(_0x44cc9f){});}})[_0x830d('0x19')](function(_0x3d03f5){var _0x3ee8c9=_[_0x830d('0x6a')](_0x1c0c9d[_0x830d('0x6e')],{'mixmonitorid':_0x2e565a[_0x830d('0x66')]});if(_0x3ee8c9){_0x3ee8c9[_0x830d('0x6f')]=_0x830d('0x70');}})[_0x830d('0x19')](function(){var _0x334fa3=util[_0x830d('0x7')](_0x830d('0x5e'),_0x2e565a[_0x830d('0x5f')]||_0x2e565a[_0x830d('0x5c')],_0x2e565a[_0x830d('0x7')]||_0x830d('0x71'));var _0x5b9e4e=_[_0x830d('0x6a')](_0x1c0c9d[_0x830d('0x6e')],{'filename':'/var/spool/asterisk/monitor/'+_0x334fa3['toLowerCase']()});if(_0x5b9e4e){_0x5b9e4e[_0x830d('0x6f')]=_0x830d('0x70');}})[_0x830d('0x19')](function(){_0x1b281e({'code':0xc8,'message':[_0x2e565a[_0x830d('0x5c')],_0x830d('0x72')][_0x830d('0x13')]('\x20')});})[_0x830d('0x1b')](function(_0x721f0b){_0x9dd761(_0x539b4b[_0x830d('0x1c')](0x1f5,[_0x2e565a[_0x830d('0x5c')],_0x721f0b[_0x830d('0x1a')][_0x830d('0x62')]()]['join']('\x20')));});}else{return _0x9dd761(_0x539b4b[_0x830d('0x1c')](0x1f5,_0x830d('0x73')));}});},'VoiceQueuesChannels':function(_0x5223f4){return new Promise(function(_0x16f86f,_0x49abc0){var _0x46cf28=_['values'](_0x343972[_0x830d('0x74')]);_0x16f86f({'count':_0x46cf28[_0x830d('0x58')],'rows':_0x46cf28});});},'VoiceQueuesChannel':function(_0x531c91){var _0x4d6449=this;return new Promise(function(_0x5853b0,_0x471d60){var _0x45a03f=schema(properties[_0x830d('0x75')])[_0x830d('0x2')](_0x531c91);if(_0x45a03f['length']>0x0){return _0x471d60(_0x4d6449[_0x830d('0x1c')](0x1f4,_[_0x830d('0x5b')](_0x45a03f,_0x830d('0x1a'))[_0x830d('0x13')](',\x20')));}var _0x1c189a=_[_0x830d('0x6a')](_0x343972[_0x830d('0x74')],{'uniqueid':_0x531c91['uniqueid']});if(_0x1c189a){_0x5853b0(_0x1c189a);}else{return _0x471d60(_0x4d6449[_0x830d('0x1c')](0x1f5,'Channel\x20doesn\x27t\x20exist'));}});},'VoiceQueuesChannelHangup':function(_0x273e19){var _0x28f4ea=this;return new Promise(function(_0x1b6dbe,_0x5a40d9){if(ami['isConnected']()==![]){return _0x5a40d9(_0x28f4ea[_0x830d('0x1c')](0x1f4,[config[_0x830d('0x10')]['ip'],config[_0x830d('0x10')][_0x830d('0x11')],_0x830d('0x12')][_0x830d('0x13')]('\x20')));}var _0x3392c8=schema(properties[_0x830d('0x76')])[_0x830d('0x2')](_0x273e19);if(_0x3392c8[_0x830d('0x58')]>0x0){return _0x5a40d9(_0x28f4ea[_0x830d('0x1c')](0x1f4,_[_0x830d('0x5b')](_0x3392c8,_0x830d('0x1a'))['join'](',\x20')));}var _0xff2b31=_['find'](_0x343972[_0x830d('0x74')],{'uniqueid':_0x273e19[_0x830d('0x5c')]});if(_0xff2b31&&_0xff2b31[_0x830d('0x5d')]){return ami[_0x830d('0x18')]({'action':'Hangup','channel':_0xff2b31['channel']})[_0x830d('0x19')](function(_0x32cec7){_0x1b6dbe({'code':0xc8,'message':[_0x273e19['uniqueid'],_0x32cec7[_0x830d('0x1a')][_0x830d('0x62')]()][_0x830d('0x13')]('\x20')});})[_0x830d('0x1b')](function(_0xa7050){_0x5a40d9(_0x28f4ea[_0x830d('0x1c')](0x1f5,[_0x273e19[_0x830d('0x5c')],_0xa7050[_0x830d('0x1a')][_0x830d('0x62')]()]['join']('\x20')));});}else{return _0x5a40d9(_0x28f4ea['error'](0x1f5,'Channel\x20doesn\x27t\x20exist'));}});},'VoiceQueuesChannelRedirect':function(_0x2e1fac){var _0x1154e0=this;return new Promise(function(_0x41638e,_0x37e62b){if(ami[_0x830d('0xf')]()==![]){return _0x37e62b(_0x1154e0[_0x830d('0x1c')](0x1f4,[config[_0x830d('0x10')]['ip'],config['asterisk']['username'],_0x830d('0x12')][_0x830d('0x13')]('\x20')));}var _0x436597=schema(properties[_0x830d('0x77')])['validate'](_0x2e1fac);if(_0x436597[_0x830d('0x58')]>0x0){return _0x37e62b(_0x1154e0[_0x830d('0x1c')](0x1f4,_['map'](_0x436597,_0x830d('0x1a'))[_0x830d('0x13')](',\x20')));}var _0x4baa4d=_[_0x830d('0x6a')](_0x343972[_0x830d('0x74')],{'uniqueid':_0x2e1fac[_0x830d('0x5c')]});if(_0x4baa4d&&_0x4baa4d['channel']){return ami[_0x830d('0x18')]({'action':_0x830d('0x78'),'channel':_0x4baa4d[_0x830d('0x5d')],'exten':_0x2e1fac[_0x830d('0x79')],'context':_0x2e1fac[_0x830d('0x7a')]||_0x4baa4d[_0x830d('0x7a')],'priority':0x1})['then'](function(_0x4d55fb){_0x41638e({'code':0xc8,'message':[_0x2e1fac[_0x830d('0x5c')],_0x4d55fb['message'][_0x830d('0x62')]()][_0x830d('0x13')]('\x20')});})['catch'](function(_0x2d93cf){_0x37e62b(_0x1154e0[_0x830d('0x1c')](0x1f5,[_0x2e1fac[_0x830d('0x5c')],_0x2d93cf[_0x830d('0x1a')][_0x830d('0x62')]()][_0x830d('0x13')]('\x20')));});}else{return _0x37e62b(_0x1154e0[_0x830d('0x1c')](0x1f5,_0x830d('0x73')));}});},'Agents':function(_0x564b83){return new Promise(function(_0x721cf9,_0x3feb39){var _0x5b2c75=_['values'](_0x343972[_0x830d('0xb')]);_0x721cf9({'count':_0x5b2c75['length'],'rows':_0x5b2c75});});},'Telephones':function(_0x599e79){return new Promise(function(_0x462e35,_0x11d74a){var _0x5a03cf=_[_0x830d('0x59')](_0x343972[_0x830d('0x7b')]);_0x462e35({'count':_0x5a03cf[_0x830d('0x58')],'rows':_0x5a03cf});});},'Trunks':function(_0x3c9406){return new Promise(function(_0x35e205,_0xa70643){var _0x221f65=_[_0x830d('0x59')](_0x343972[_0x830d('0x7c')]);_0x35e205({'count':_0x221f65[_0x830d('0x58')],'rows':_0x221f65});});},'OutboundChannels':function(_0x4cb40e){return new Promise(function(_0x3f4e9f,_0x14c9b4){var _0x3e36ea=_[_0x830d('0x59')](_0x343972[_0x830d('0x7d')]);_0x3f4e9f({'count':_0x3e36ea[_0x830d('0x58')],'rows':_0x3e36ea});});},'Outbound':function(_0x23b0ba){return new Promise(function(_0x533c50,_0x1e80ea){_0x533c50(_0x343972[_0x830d('0x7e')]);});},'Campaigns':function(_0xee6621){return new Promise(function(_0xe395c7,_0x491bd9){var _0x302dd0=_[_0x830d('0x59')](_0x343972[_0x830d('0x7f')]);_0xe395c7({'count':_0x302dd0[_0x830d('0x58')],'rows':_0x302dd0});});},'VoiceQueuesPreview':function(_0x2c8706){var _0x3022b9=this;return new Promise(function(_0x401828,_0x39b692){_0x4e6975[_0x830d('0x80')](_0x2c8706['id'])[_0x830d('0x19')](function(_0x176d62){_0x401828({'code':0xc8,'message':_0x176d62[_0x830d('0x1a')]});})[_0x830d('0x1b')](function(_0x11d6f6){_0x39b692(_0x3022b9['error'](0x1f4,_0x11d6f6[_0x830d('0x1a')]));});});},'EventManager':function(_0x20de8d){var _0x23613f=this;return new Promise(function(_0x21ef4a,_0xbb2ad){if(!_0x20de8d[_0x830d('0x81')]){return _0xbb2ad(_0x23613f[_0x830d('0x1c')](0x1f4,_0x830d('0x82')));}ami[_0x830d('0x83')](_0x830d('0x84')+_0x20de8d['event'],_0x20de8d[_0x830d('0x1a')]);_0x21ef4a({'code':0xc8,'message':_0x20de8d});});},'FaxAccounts':function(_0x29eab7){return new Promise(function(_0x42fb38,_0x4f2495){var _0x184c1b=_[_0x830d('0x59')](_0x343972[_0x830d('0x85')]);_0x42fb38({'count':_0x184c1b[_0x830d('0x58')],'rows':_0x184c1b});});},'SendFax':function(_0x2f4de8){var _0x2efbc8=this;return new Promise(function(_0x2170e4,_0x3f7422){_0x2f7a89[_0x830d('0x86')](_0x2f4de8)[_0x830d('0x19')](function(_0x36a75a){_0x2170e4({'code':0xc8,'message':_0x36a75a['message']});})[_0x830d('0x1b')](function(_0x563b64){_0x3f7422(_0x2efbc8['error'](0x1f4,_0x563b64['message']));});});},'CheckAfterSend':function(_0x35a6df){var _0x1aecec=this;return new Promise(function(_0x2249f1,_0x1e6032){_0x2f7a89['checkAfterSend'](_0x35a6df)[_0x830d('0x19')](function(_0x4489fb){_0x2249f1({'code':0xc8,'message':_0x4489fb[_0x830d('0x1a')]});})[_0x830d('0x1b')](function(_0x130c46){_0x1e6032(_0x1aecec[_0x830d('0x1c')](0x1f4,_0x130c46[_0x830d('0x1a')]));});});}};var _0x45f015=jayson[_0x830d('0x87')](_0x54367c)[_0x830d('0x88')]();_0x45f015['on'](_0x830d('0x1c'),function(_0x3fd71e){return _0x28b797(_0x3fd71e);});_0x45f015[_0x830d('0x6')](0x232a,_0x830d('0x89'),function(){console[_0x830d('0x8a')](_0x830d('0x8b'),0x232a);return _0x2daa8e('RPC\x20listening\x20on\x20port:'+0x232a);});});}; \ No newline at end of file diff --git a/server/services/ami/trigger/cmContact/index.js b/server/services/ami/trigger/cmContact/index.js index 4bdde95..5fd011a 100644 --- a/server/services/ami/trigger/cmContact/index.js +++ b/server/services/ami/trigger/cmContact/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x85de=['xmd-contactid2','format','user:%s','name','trigger:%s','action','toLowerCase','merge','[%s][%s]\x20Contact\x20not\x20found','createContact','[%s][%s]\x20Contact\x20created:%s','catch','error','bluebird','util','lodash','ioredis','../../../../config/environment','../../../../config/logger','../../rpc/cmContact','redis','defaults','info','[%s][%s]','stringify','emit','exec','autoCreate','data2','data1','calleridnum','isNil','routeId','firstName','','calleridname','uniqueid','destcalleridname','phone','destcalleridnum','resolve','then','omit','[%s][%s]\x20Contact\x20found:%s'];(function(_0x40a045,_0x516f0e){var _0x1a687c=function(_0x48c9fe){while(--_0x48c9fe){_0x40a045['push'](_0x40a045['shift']());}};_0x1a687c(++_0x516f0e);}(_0x85de,0x65));var _0xe85d=function(_0xa6be7c,_0x42146e){_0xa6be7c=_0xa6be7c-0x0;var _0x53d992=_0x85de[_0xa6be7c];return _0x53d992;};'use strict';var BPromise=require(_0xe85d('0x0'));var util=require(_0xe85d('0x1'));var _=require(_0xe85d('0x2'));var Redis=require(_0xe85d('0x3'));var config=require(_0xe85d('0x4'));var logger=require(_0xe85d('0x5'))('trigger');var cmContactRpc=require(_0xe85d('0x6'));config[_0xe85d('0x7')]=_[_0xe85d('0x8')](config[_0xe85d('0x7')],{'host':'localhost','port':0x18eb});var io=require('socket.io-emitter')(new Redis(config[_0xe85d('0x7')]));function emit(_0x27401c,_0x387bfc,_0x42c1ca,_0x4c1cbb){logger[_0xe85d('0x9')](_0xe85d('0xa'),_0x27401c,'',_0x387bfc,_0x42c1ca,JSON[_0xe85d('0xb')](_0x4c1cbb));io['to'](_0x387bfc)[_0xe85d('0xc')](_0x42c1ca,_0x4c1cbb);}exports[_0xe85d('0xd')]=function(_0x3c08f7,_0x59bbfb,_0x327be8){_0x327be8[_0xe85d('0xe')]=0x0;if(_0x59bbfb[_0xe85d('0xf')]&&parseInt(_0x59bbfb[_0xe85d('0xf')],0xa)){var _0x3884a2={'ListId':parseInt(_0x59bbfb[_0xe85d('0x10')],0xa),'phone':_0x327be8[_0xe85d('0x11')]};if(_[_0xe85d('0x12')](_0x327be8[_0xe85d('0x13')])){_0x3884a2[_0xe85d('0x14')]=_0x327be8['calleridname']&&_0x327be8['calleridname']!==_0xe85d('0x15')?_0x327be8[_0xe85d('0x16')]:_0x327be8[_0xe85d('0x11')]||_0x327be8[_0xe85d('0x17')];}else{_0x3884a2[_0xe85d('0x14')]=_0x327be8[_0xe85d('0x18')]&&_0x327be8[_0xe85d('0x18')]!==''?_0x327be8['destcalleridname']:_0x327be8['destcalleridnum']||_0x327be8['uniqueid'];_0x3884a2[_0xe85d('0x19')]=_0x327be8[_0xe85d('0x18')]&&_0x327be8['destcalleridname']!==_0xe85d('0x15')?_0x327be8[_0xe85d('0x18')]:_0x327be8[_0xe85d('0x1a')]||_0x327be8['uniqueid'];}BPromise[_0xe85d('0x1b')]()[_0xe85d('0x1c')](cmContactRpc['showContact']({'where':_[_0xe85d('0x1d')](_0x3884a2,['firstName'])}))['then'](function(_0x2a2c08){if(_0x2a2c08){logger[_0xe85d('0x9')](_0xe85d('0x1e'),_0x327be8[_0xe85d('0x17')],'',_0x2a2c08['id']);if(_0x3c08f7){_0x327be8[_0xe85d('0x1f')]=_0x2a2c08['id'];emit(_0x327be8['uniqueid'],util[_0xe85d('0x20')](_0xe85d('0x21'),_0x3c08f7[_0xe85d('0x22')]),util[_0xe85d('0x20')](_0xe85d('0x23'),_0x59bbfb[_0xe85d('0x24')][_0xe85d('0x25')]()),_[_0xe85d('0x26')](_0x327be8,{'ListId':parseInt(_0x59bbfb[_0xe85d('0x10')],0xa)}));}return;}else{logger['info'](_0xe85d('0x27'),_0x327be8[_0xe85d('0x17')],'');return BPromise[_0xe85d('0x1b')]()[_0xe85d('0x1c')](cmContactRpc[_0xe85d('0x28')](_0x3884a2));}})[_0xe85d('0x1c')](function(_0x64b1a0){if(_0x64b1a0){logger[_0xe85d('0x9')](_0xe85d('0x29'),_0x327be8[_0xe85d('0x17')],'',_0x64b1a0['id']);if(_0x3c08f7){_0x327be8[_0xe85d('0x1f')]=_0x64b1a0['id'];emit(_0x327be8[_0xe85d('0x17')],util[_0xe85d('0x20')](_0xe85d('0x21'),_0x3c08f7['name']),util['format'](_0xe85d('0x23'),_0x59bbfb[_0xe85d('0x24')][_0xe85d('0x25')]()),_[_0xe85d('0x26')](_0x327be8,{'ListId':parseInt(_0x59bbfb['data1'],0xa)}));}}})[_0xe85d('0x2a')](function(_0x200b75){logger[_0xe85d('0x2b')]('[%s][%s]\x20Error\x20creating\x20contact',_0x327be8[_0xe85d('0x17')],'',JSON['stringify'](_0x200b75));});}else{if(_0x3c08f7){logger['info']('[%s][%s]\x20Autocreate\x20disabled',_0x327be8[_0xe85d('0x17')],'');emit(_0x327be8[_0xe85d('0x17')],util[_0xe85d('0x20')](_0xe85d('0x21'),_0x3c08f7[_0xe85d('0x22')]),util[_0xe85d('0x20')](_0xe85d('0x23'),_0x59bbfb[_0xe85d('0x24')][_0xe85d('0x25')]()),_[_0xe85d('0x26')]({'ListId':parseInt(_0x59bbfb[_0xe85d('0x10')],0xa)},_0x327be8));}}}; \ No newline at end of file +var _0x6d1a=['omit','[%s][%s]\x20Contact\x20found:%s','xmd-contactid2','name','format','trigger:%s','action','toLowerCase','merge','data1','[%s][%s]\x20Contact\x20not\x20found','createContact','user:%s','catch','error','[%s][%s]\x20Autocreate\x20disabled','bluebird','util','ioredis','../../../../config/environment','trigger','../../rpc/cmContact','redis','defaults','localhost','socket.io-emitter','info','[%s][%s]','stringify','emit','exec','autoCreate','data2','calleridnum','routeId','firstName','calleridname','uniqueid','destcalleridname','','destcalleridnum','phone','then'];(function(_0x339969,_0x51a7c6){var _0xd4165d=function(_0x57c869){while(--_0x57c869){_0x339969['push'](_0x339969['shift']());}};_0xd4165d(++_0x51a7c6);}(_0x6d1a,0x91));var _0xa6d1=function(_0x10942b,_0x1b86a1){_0x10942b=_0x10942b-0x0;var _0x24d6b3=_0x6d1a[_0x10942b];return _0x24d6b3;};'use strict';var BPromise=require(_0xa6d1('0x0'));var util=require(_0xa6d1('0x1'));var _=require('lodash');var Redis=require(_0xa6d1('0x2'));var config=require(_0xa6d1('0x3'));var logger=require('../../../../config/logger')(_0xa6d1('0x4'));var cmContactRpc=require(_0xa6d1('0x5'));config[_0xa6d1('0x6')]=_[_0xa6d1('0x7')](config[_0xa6d1('0x6')],{'host':_0xa6d1('0x8'),'port':0x18eb});var io=require(_0xa6d1('0x9'))(new Redis(config[_0xa6d1('0x6')]));function emit(_0x3101e9,_0xbf8e2a,_0x3ce695,_0x4f8743){logger[_0xa6d1('0xa')](_0xa6d1('0xb'),_0x3101e9,'',_0xbf8e2a,_0x3ce695,JSON[_0xa6d1('0xc')](_0x4f8743));io['to'](_0xbf8e2a)[_0xa6d1('0xd')](_0x3ce695,_0x4f8743);}exports[_0xa6d1('0xe')]=function(_0x2be137,_0x16ad0b,_0x4fc307){_0x4fc307[_0xa6d1('0xf')]=0x0;if(_0x16ad0b[_0xa6d1('0x10')]&&parseInt(_0x16ad0b[_0xa6d1('0x10')],0xa)){var _0x10db9b={'ListId':parseInt(_0x16ad0b['data1'],0xa),'phone':_0x4fc307[_0xa6d1('0x11')]};if(_['isNil'](_0x4fc307[_0xa6d1('0x12')])){_0x10db9b[_0xa6d1('0x13')]=_0x4fc307[_0xa6d1('0x14')]&&_0x4fc307[_0xa6d1('0x14')]!==''?_0x4fc307[_0xa6d1('0x14')]:_0x4fc307['calleridnum']||_0x4fc307[_0xa6d1('0x15')];}else{_0x10db9b[_0xa6d1('0x13')]=_0x4fc307[_0xa6d1('0x16')]&&_0x4fc307[_0xa6d1('0x16')]!==_0xa6d1('0x17')?_0x4fc307[_0xa6d1('0x16')]:_0x4fc307[_0xa6d1('0x18')]||_0x4fc307[_0xa6d1('0x15')];_0x10db9b[_0xa6d1('0x19')]=_0x4fc307[_0xa6d1('0x16')]&&_0x4fc307[_0xa6d1('0x16')]!==''?_0x4fc307['destcalleridname']:_0x4fc307[_0xa6d1('0x18')]||_0x4fc307[_0xa6d1('0x15')];}BPromise['resolve']()[_0xa6d1('0x1a')](cmContactRpc['showContact']({'where':_[_0xa6d1('0x1b')](_0x10db9b,[_0xa6d1('0x13')])}))['then'](function(_0x3bcea5){if(_0x3bcea5){logger['info'](_0xa6d1('0x1c'),_0x4fc307[_0xa6d1('0x15')],'',_0x3bcea5['id']);if(_0x2be137){_0x4fc307[_0xa6d1('0x1d')]=_0x3bcea5['id'];emit(_0x4fc307[_0xa6d1('0x15')],util['format']('user:%s',_0x2be137[_0xa6d1('0x1e')]),util[_0xa6d1('0x1f')](_0xa6d1('0x20'),_0x16ad0b[_0xa6d1('0x21')][_0xa6d1('0x22')]()),_[_0xa6d1('0x23')](_0x4fc307,{'ListId':parseInt(_0x16ad0b[_0xa6d1('0x24')],0xa)}));}return;}else{logger['info'](_0xa6d1('0x25'),_0x4fc307['uniqueid'],'');return BPromise['resolve']()[_0xa6d1('0x1a')](cmContactRpc[_0xa6d1('0x26')](_0x10db9b));}})[_0xa6d1('0x1a')](function(_0x4557c1){if(_0x4557c1){logger['info']('[%s][%s]\x20Contact\x20created:%s',_0x4fc307['uniqueid'],'',_0x4557c1['id']);if(_0x2be137){_0x4fc307[_0xa6d1('0x1d')]=_0x4557c1['id'];emit(_0x4fc307['uniqueid'],util[_0xa6d1('0x1f')](_0xa6d1('0x27'),_0x2be137['name']),util[_0xa6d1('0x1f')](_0xa6d1('0x20'),_0x16ad0b[_0xa6d1('0x21')][_0xa6d1('0x22')]()),_[_0xa6d1('0x23')](_0x4fc307,{'ListId':parseInt(_0x16ad0b[_0xa6d1('0x24')],0xa)}));}}})[_0xa6d1('0x28')](function(_0x476f1d){logger[_0xa6d1('0x29')]('[%s][%s]\x20Error\x20creating\x20contact',_0x4fc307[_0xa6d1('0x15')],'',JSON[_0xa6d1('0xc')](_0x476f1d));});}else{if(_0x2be137){logger[_0xa6d1('0xa')](_0xa6d1('0x2a'),_0x4fc307[_0xa6d1('0x15')],'');emit(_0x4fc307['uniqueid'],util[_0xa6d1('0x1f')](_0xa6d1('0x27'),_0x2be137[_0xa6d1('0x1e')]),util[_0xa6d1('0x1f')]('trigger:%s',_0x16ad0b[_0xa6d1('0x21')][_0xa6d1('0x22')]()),_[_0xa6d1('0x23')]({'ListId':parseInt(_0x16ad0b[_0xa6d1('0x24')],0xa)},_0x4fc307));}}}; \ No newline at end of file diff --git a/server/services/ami/trigger/index.js b/server/services/ami/trigger/index.js index ebb2ce3..7b417c7 100644 --- a/server/services/ami/trigger/index.js +++ b/server/services/ami/trigger/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x63d4=['custom:closedinteraction','custom:incomingmessage','custom:outgoingmessage','custom:acceptmessage','custom:rejectmessage','emit','info','prototype','clone','checkTriggers','interface','hasOwnProperty','status','checkTrigger','merge','variables','Actions','action','contactmanager','motionbar','browser','data1','TemplateId','data2','render','html','uri','buildUri','isNil','data3','location','uriLocation','data5','windowHeight','data6','600','winapp','winApplication','winArguments','format','toLowerCase','jscripty','name','trigger:%s','exec','queue','routeId','urlforward','parse','query','AllConditions','length','every','channel','AnyConditions','some','checkConditions','chat','operator','value','ChatWebsiteId','AccountId','interaction','message','agent','membername','lastevent','util','lodash','url','ioredis','./urlforward','./integration','./cmContact','./script','../../../config/environment','../../../config/logger','../ami','redis','defaults','localhost','popup','triggers','agents','voiceQueues','templates','voiceExtensions','zendeskAccounts','freshdeskAccounts','salesforceAccounts','sugarcrmAccounts','zohoAccounts','deskAccounts','vtigerAccounts','servicenowAccounts','dynamics365Accounts','freshsalesAccounts','accounts','custom:agentcalled','syncCustomEvent','bind','custom:agentringnoanswer','custom:timeout','syncAgentDial','custom:dialconnect','custom:dialend'];(function(_0x2be8c2,_0x14a4b5){var _0x97f531=function(_0xcee58d){while(--_0xcee58d){_0x2be8c2['push'](_0x2be8c2['shift']());}};_0x97f531(++_0x14a4b5);}(_0x63d4,0x117));var _0x463d=function(_0x2a4794,_0x217e6e){_0x2a4794=_0x2a4794-0x0;var _0x36256a=_0x63d4[_0x2a4794];return _0x36256a;};'use strict';var util=require(_0x463d('0x0'));var _=require(_0x463d('0x1'));var url=require(_0x463d('0x2'));var Mustache=require('mustache');var Redis=require(_0x463d('0x3'));var urlforward=require(_0x463d('0x4'));var integration=require(_0x463d('0x5'));var cmContact=require(_0x463d('0x6'));var script=require(_0x463d('0x7'));var cmContactRpc=require('../rpc/cmContact');var config=require(_0x463d('0x8'));var logger=require(_0x463d('0x9'))('trigger');var ami=require(_0x463d('0xa'));config[_0x463d('0xb')]=_[_0x463d('0xc')](config[_0x463d('0xb')],{'host':_0x463d('0xd'),'port':0x18eb});var io=require('socket.io-emitter')(new Redis(config[_0x463d('0xb')]));var operators={'equals':function(_0x4e50b8,_0x42b27e){return _0x4e50b8==_0x42b27e;},'not_equals':function(_0x2d714b,_0x1f5d4a){return _0x2d714b!=_0x1f5d4a;}};var barAndWebActions=[_0x463d('0xe'),'url','winapp'];function Trigger(_0x1d4661){this['triggers']=_0x1d4661[_0x463d('0xf')];this[_0x463d('0x10')]=_0x1d4661[_0x463d('0x10')];this[_0x463d('0x11')]=_0x1d4661[_0x463d('0x11')];this[_0x463d('0x12')]=_0x1d4661[_0x463d('0x12')];this['voiceExtensions']=_0x1d4661[_0x463d('0x13')];this[_0x463d('0x14')]=_0x1d4661[_0x463d('0x14')];this['freshdeskAccounts']=_0x1d4661[_0x463d('0x15')];this[_0x463d('0x16')]=_0x1d4661[_0x463d('0x16')];this[_0x463d('0x17')]=_0x1d4661[_0x463d('0x17')];this[_0x463d('0x18')]=_0x1d4661['zohoAccounts'];this[_0x463d('0x19')]=_0x1d4661['deskAccounts'];this[_0x463d('0x1a')]=_0x1d4661[_0x463d('0x1a')];this[_0x463d('0x1b')]=_0x1d4661[_0x463d('0x1b')];this[_0x463d('0x1c')]=_0x1d4661[_0x463d('0x1c')];this['freshsalesAccounts']=_0x1d4661[_0x463d('0x1d')];this[_0x463d('0x1e')]={'zendesk':this[_0x463d('0x14')],'salesforce':this[_0x463d('0x16')],'freshdesk':this[_0x463d('0x15')],'sugarcrm':this[_0x463d('0x17')],'zoho':this[_0x463d('0x18')],'desk':this[_0x463d('0x19')],'vtiger':this[_0x463d('0x1a')],'dynamics365':this[_0x463d('0x1c')],'freshsales':this[_0x463d('0x1d')],'servicenow':this[_0x463d('0x1b')]};ami['on'](_0x463d('0x1f'),this[_0x463d('0x20')][_0x463d('0x21')](this));ami['on']('custom:agentconnect',this[_0x463d('0x20')]['bind'](this));ami['on'](_0x463d('0x22'),this[_0x463d('0x20')]['bind'](this));ami['on']('custom:agentcomplete',this[_0x463d('0x20')][_0x463d('0x21')](this));ami['on']('custom:queuecallerabandon',this[_0x463d('0x20')]['bind'](this));ami['on'](_0x463d('0x23'),this[_0x463d('0x20')][_0x463d('0x21')](this));ami['on']('custom:dialbegin',this[_0x463d('0x24')][_0x463d('0x21')](this));ami['on'](_0x463d('0x25'),this[_0x463d('0x24')][_0x463d('0x21')](this));ami['on'](_0x463d('0x26'),this[_0x463d('0x24')]['bind'](this));ami['on']('custom:newinteraction',this[_0x463d('0x20')]['bind'](this));ami['on'](_0x463d('0x27'),this[_0x463d('0x20')][_0x463d('0x21')](this));ami['on'](_0x463d('0x28'),this['syncCustomEvent'][_0x463d('0x21')](this));ami['on'](_0x463d('0x29'),this[_0x463d('0x20')][_0x463d('0x21')](this));ami['on'](_0x463d('0x2a'),this['syncCustomEvent'][_0x463d('0x21')](this));ami['on'](_0x463d('0x2b'),this['syncCustomEvent'][_0x463d('0x21')](this));}Trigger['prototype'][_0x463d('0x2c')]=function(_0x295283,_0x10b92c,_0x297f92){logger[_0x463d('0x2d')](_0x295283,_0x10b92c,JSON['stringify'](_0x297f92));io['to'](_0x295283)[_0x463d('0x2c')](_0x10b92c,_0x297f92);};Trigger[_0x463d('0x2e')][_0x463d('0x20')]=function(_0x386377){var _0x2ff2f0=_[_0x463d('0x2f')](_0x386377);this[_0x463d('0x30')](_0x2ff2f0);};Trigger[_0x463d('0x2e')][_0x463d('0x24')]=function(_0x2a0a17){if(this[_0x463d('0x10')][_0x2a0a17[_0x463d('0x31')]]){this[_0x463d('0x20')](_0x2a0a17);}};Trigger[_0x463d('0x2e')][_0x463d('0x30')]=function(_0x5d2624){var _0x153fab;for(var _0x83382e in this[_0x463d('0xf')]){if(this[_0x463d('0xf')][_0x463d('0x32')](_0x83382e)){if(this[_0x463d('0xf')][_0x83382e][_0x463d('0x33')]){_0x153fab=this[_0x463d('0x34')](this[_0x463d('0xf')][_0x83382e],_0x5d2624);if(_0x153fab){_[_0x463d('0x35')](_0x5d2624,_0x5d2624[_0x463d('0x36')]);for(var _0x4f1899=0x0,_0x4ba2ef,_0x2a43dd,_0x13991a;_0x4f18990x0){_0x34dc65=_[_0x0a9e('0x26')](_0x5bfb33,_0x1dc186);}return _0x34dc65;}function getCustomFields(_0x140511,_0x1538a4){var _0x11c3b6=[];var _0x14de77={'custom_fields':{}};if(_0x140511['length']>0x0){_[_0x0a9e('0x27')](_0x140511,function(_0x468813){if(_0x468813[_0x0a9e('0x28')]===_0x0a9e('0x29')&&_0x468813['nameField']&&!_0x468813[_0x0a9e('0x2a')]){_0x14de77[_0x468813[_0x0a9e('0x2b')][_0x0a9e('0x2c')]()]=_0x468813[_0x0a9e('0x2d')][_0x0a9e('0x2e')]();}else if(_0x468813[_0x0a9e('0x28')]===_0x0a9e('0x29')&&_0x468813[_0x0a9e('0x2f')]&&_0x468813[_0x0a9e('0x2a')]){_0x14de77['custom_fields'][_0x468813[_0x0a9e('0x2f')]]=_0x468813['content'][_0x0a9e('0x2e')]();}else if(_0x468813[_0x0a9e('0x28')]===_0x0a9e('0x30')&&_0x468813[_0x0a9e('0x31')]&&_0x468813[_0x0a9e('0x2f')]&&_0x468813['customField']){_0x1538a4[_0x468813[_0x0a9e('0x31')]]&&(_0x14de77[_0x0a9e('0x32')][_0x468813[_0x0a9e('0x2f')]]=_0x1538a4[_0x468813[_0x0a9e('0x31')]][_0x0a9e('0x2e')]());}else if(_0x468813[_0x0a9e('0x28')]===_0x0a9e('0x33')&&_0x468813[_0x0a9e('0x34')]&&_0x468813['Variable'][_0x0a9e('0x35')]&&_0x468813['idField']&&_0x468813[_0x0a9e('0x2a')]){_0x1538a4[_0x468813[_0x0a9e('0x34')][_0x0a9e('0x35')][_0x0a9e('0x2c')]()]&&(_0x14de77['custom_fields'][_0x468813[_0x0a9e('0x2f')]]=_0x1538a4[_0x468813[_0x0a9e('0x34')][_0x0a9e('0x35')][_0x0a9e('0x2c')]()]['toString']());}});}if(_0x14de77['priority']){_0x14de77[_0x0a9e('0x36')]=Number(_0x14de77['priority']);}return _0x14de77;}function getTicket(_0x24936a,_0x3d9717,_0x381c37,_0x1ef87a,_0x4f41ae){logger[_0x0a9e('0xb')](_0x0a9e('0x37'));var _0x3cae=_['merge']({'subject':intUtil[_0x0a9e('0x38')](_0x1ef87a[_0x0a9e('0x39')],_0x4f41ae,'\x20'),'type':_0x0a9e('0x3a'),'status':'new','labels':['xCALLY',_0x0a9e('0x3b'),_0x0a9e('0x3c')]['concat'](getTags(_0x1ef87a[_0x0a9e('0x3d')],_0x0a9e('0x35'))),'description':intUtil[_0x0a9e('0x38')](_0x1ef87a[_0x0a9e('0x3e')],_0x4f41ae,'\x0a'),'_links':{'assigned_user':{'href':util['format']('/api/v2/users/%d',_0x3d9717['id']),'class':_0x0a9e('0x3f')}},'message':{'direction':'in','body':intUtil[_0x0a9e('0x38')](_0x1ef87a['Descriptions'],_0x4f41ae,'\x0a')}},getCustomFields(_0x1ef87a[_0x0a9e('0x40')],_0x4f41ae));return request({'uri':util[_0x0a9e('0xd')](_0x0a9e('0x41'),_0x24936a['remoteUri'],_0x381c37['id']),'method':_0x0a9e('0x42'),'body':_0x3cae});}exports[_0x0a9e('0x43')]=function(_0x274e8e,_0x43dd5b,_0x13cb1f,_0xeaa5e5,_0x2881b3,_0x45a9b8){var _0x23b089,_0x3da2cd;_0x45a9b8[_0x0a9e('0x16')]=intUtil[_0x0a9e('0x44')](_0x45a9b8[_0x0a9e('0x16')]);_0x45a9b8[_0x0a9e('0x45')]=intUtil[_0x0a9e('0x44')](_0x45a9b8['serverUrl']);if(_0x2881b3&&_0x2881b3['monitor_format']){logger[_0x0a9e('0xb')](_0x0a9e('0x46'),_0x0a9e('0x47'));_0x43dd5b[_0x0a9e('0x48')]=util[_0x0a9e('0xd')](_0x0a9e('0x49'),_0x45a9b8[_0x0a9e('0x45')],_0x43dd5b[_0x0a9e('0x4a')],md5(_0x43dd5b[_0x0a9e('0x4a')]));}else{_0x43dd5b[_0x0a9e('0x48')]='';}headers[_0x0a9e('0x4b')]=getAuth(_0x45a9b8);return getUser(_0x45a9b8,_0xeaa5e5[_0x0a9e('0x4c')])['then'](function(_0x117c99){_0x23b089=_0x117c99;logger[_0x0a9e('0xb')](_0x0a9e('0x4d'),_0x23b089['id']);return getEndUser(_0x45a9b8,_0x43dd5b[_0x0a9e('0x4e')],_0x43dd5b[_0x0a9e('0x4f')]);})[_0x0a9e('0x12')](function(_0x21eb86){_0x3da2cd=_0x21eb86;logger[_0x0a9e('0xb')]('The\x20Enduser\x20ID\x20is:',_0x3da2cd['id']);return getTicket(_0x45a9b8,_0x23b089,_0x3da2cd,_0x13cb1f,_0x43dd5b);})[_0x0a9e('0x12')](function(_0x48fd45){if(_0x48fd45){logger[_0x0a9e('0xb')](_0x0a9e('0x50'));logger[_0x0a9e('0xb')]('The\x20Ticket\x20ID\x20is:',_0x48fd45['id']);switch(_0x45a9b8[_0x0a9e('0x28')]){case _0x0a9e('0x51'):logger[_0x0a9e('0xb')](_0x0a9e('0x46'),_0x0a9e('0x52'));emit(util[_0x0a9e('0xd')](_0x0a9e('0x53'),_0xeaa5e5['name']),_0x0a9e('0x54'),{'recordId':_0x48fd45['id']});break;case _0x0a9e('0x55'):logger[_0x0a9e('0xb')](_0x0a9e('0x46'),_0x0a9e('0x56'));emit(util[_0x0a9e('0xd')](_0x0a9e('0x53'),_0xeaa5e5[_0x0a9e('0x35')]),_0x0a9e('0x57'),{'uri':util['format'](_0x0a9e('0x58'),_0x48fd45['id'])});break;default:logger[_0x0a9e('0x59')]('[QUEUE]','Desk\x20account\x20type\x20not\x20recognized');}}})['catch'](function(_0x1adfee){console[_0x0a9e('0x59')](_0x1adfee);logger[_0x0a9e('0x59')](_0x0a9e('0x46'),JSON[_0x0a9e('0x19')](_0x1adfee));});};exports[_0x0a9e('0x5a')]=function(_0x2e5165,_0x375c18,_0x5d38ae,_0x4b1b9f,_0x53975a,_0x39d77d,_0x204173){var _0x14d602,_0x5bb3ed;_0x39d77d[_0x0a9e('0x16')]=intUtil[_0x0a9e('0x44')](_0x39d77d['remoteUri']);_0x39d77d['serverUrl']=intUtil[_0x0a9e('0x44')](_0x39d77d['serverUrl']);if(_0x204173&&_0x204173[_0x0a9e('0x5b')]&&_0x204173['recordingFormat']!==_0x0a9e('0x5c')){logger[_0x0a9e('0xb')](_0x0a9e('0x5d'),'Recording\x20is\x20enabled!');_0x375c18[_0x0a9e('0x48')]=util[_0x0a9e('0xd')]('%s/api/voice/recordings/%s/downloads?type=uniqueid&token=%s',_0x39d77d['serverUrl'],_0x375c18[_0x0a9e('0x4a')],md5(_0x375c18[_0x0a9e('0x4a')]));}headers['Authorization']=getAuth(_0x39d77d);return getUser(_0x39d77d,_0x4b1b9f[_0x0a9e('0x4c')])['then'](function(_0x211ef9){_0x14d602=_0x211ef9;logger['info'](_0x0a9e('0x4d'),_0x14d602['id']);return getEndUser(_0x39d77d,_0x375c18['destcalleridname'],_0x375c18['destcalleridnum']);})['then'](function(_0x2da03c){_0x5bb3ed=_0x2da03c;logger['info'](_0x0a9e('0x5e'),_0x5bb3ed['id']);return getTicket(_0x39d77d,_0x14d602,_0x5bb3ed,_0x5d38ae,_0x375c18);})[_0x0a9e('0x12')](function(_0x3cfd00){if(_0x3cfd00){logger[_0x0a9e('0xb')](_0x0a9e('0x50'));logger[_0x0a9e('0xb')](_0x0a9e('0x5f'),_0x3cfd00['id']);switch(_0x39d77d[_0x0a9e('0x28')]){case'integrationTab':logger[_0x0a9e('0xb')](_0x0a9e('0x46'),_0x0a9e('0x52'));emit(util[_0x0a9e('0xd')](_0x0a9e('0x53'),_0x4b1b9f[_0x0a9e('0x35')]),'trigger:desk:display',{'recordId':_0x3cfd00['id']});break;case _0x0a9e('0x55'):logger[_0x0a9e('0xb')]('[QUEUE]',_0x0a9e('0x56'));emit(util['format'](_0x0a9e('0x53'),_0x4b1b9f['name']),'trigger:browser:url',{'uri':util['format'](_0x0a9e('0x60'),_0x39d77d['remoteUri'],_0x3cfd00['id'])});break;default:logger[_0x0a9e('0x59')](_0x0a9e('0x5d'),_0x0a9e('0x61'));}}})[_0x0a9e('0x62')](function(_0x1cca9f){logger[_0x0a9e('0x59')]('[OUTBOUND]',JSON[_0x0a9e('0x19')](_0x1cca9f));});};exports['unmanaged']=function(_0xca4ade,_0x1f07cb,_0x51aaf7,_0x5adf8f,_0x453360,_0x156f1c){var _0x119677,_0x32e134;_0x156f1c['remoteUri']=intUtil[_0x0a9e('0x44')](_0x156f1c[_0x0a9e('0x16')]);_0x156f1c['serverUrl']=intUtil[_0x0a9e('0x44')](_0x156f1c[_0x0a9e('0x45')]);if(_0x453360&&_0x453360[_0x0a9e('0x63')]){logger[_0x0a9e('0xb')]('['+_0x1f07cb[_0x0a9e('0x64')]['toUpperCase']()+']',_0x0a9e('0x47'));_0x1f07cb[_0x0a9e('0x48')]=util[_0x0a9e('0xd')]('%s/api/voice/recordings/%s/downloads?type=uniqueid&token=%s',_0x156f1c[_0x0a9e('0x45')],_0x1f07cb['uniqueid'],md5(_0x1f07cb['uniqueid']));}else{_0x1f07cb[_0x0a9e('0x48')]='';}headers[_0x0a9e('0x4b')]=getAuth(_0x156f1c);return getUser(_0x156f1c)[_0x0a9e('0x12')](function(_0x19c995){_0x119677=_0x19c995;logger[_0x0a9e('0xb')](_0x0a9e('0x4d'),_0x119677['id']);return getEndUser(_0x156f1c,_0x1f07cb[_0x0a9e('0x4e')],_0x1f07cb[_0x0a9e('0x4f')]);})[_0x0a9e('0x12')](function(_0x1cc4f3){_0x32e134=_0x1cc4f3;logger[_0x0a9e('0xb')](_0x0a9e('0x5e'),_0x32e134['id']);return getTicket(_0x156f1c,_0x119677,_0x32e134,_0x51aaf7,_0x1f07cb);})[_0x0a9e('0x12')](function(_0x2b8192){if(_0x2b8192){logger[_0x0a9e('0xb')](_0x0a9e('0x50'));logger[_0x0a9e('0xb')](_0x0a9e('0x5f'),_0x2b8192['id']);}})['catch'](function(_0x1b0b98){logger[_0x0a9e('0x59')]('['+_0x1f07cb[_0x0a9e('0x64')]['toUpperCase']()+']',JSON[_0x0a9e('0x19')](_0x1b0b98));});}; \ No newline at end of file +var _0xa9e0=['Getting\x20agent\x20with\x20email','format','total_entries','find','_embedded','entries','then','Agent\x20found!','Agent\x20not\x20found,\x20using\x20the\x20admin\x20account!','%s/users/me','remoteUri','Invalid\x20email\x20format,\x20using\x20the\x20admin\x20account!','debug','stringify','GET','authType','basic','%s:%s','username','password','token','Basic\x20%s','%s/customers/search','Enduser\x20not\x20found,\x20creating\x20a\x20new\x20enduser!','work','length','map','forEach','type','string','customField','nameField','toLowerCase','content','toString','idField','variable','variableName','custom_fields','customVariable','Variable','name','priority','Creating\x20new\x20ticket...','getString','Subjects','phone','Motion','CTI','Tags','Descriptions','user','Fields','%s/customers/%d/cases','POST','queue','stripTrailingSlash','serverUrl','[QUEUE]','Recording\x20is\x20enabled!','recordingURL','%s/api/voice/recordings/%s/downloads?type=uniqueid&token=%s','uniqueid','Authorization','email','The\x20User\x20ID\x20is:','calleridname','calleridnum','Ticket\x20created!','integrationTab','Displaying\x20ticket\x20to\x20agent...','user:%s','trigger:desk:display','newTab','Displaying\x20ticket\x20to\x20agent\x20in\x20a\x20new\x20tab...','trigger:browser:url','https://xcally.desk.com/web/agent/case/%d','error','outbound','recordingFormat','none','[OUTBOUND]','The\x20Enduser\x20ID\x20is:','The\x20Ticket\x20ID\x20is:','%s/agent/tickets/%s','Desk\x20account\x20type\x20not\x20recognized','catch','monitor_format','lastevent','lodash','request-promise','md5','./util','../../../../config/logger','desk','redis','defaults','socket.io-emitter','emit','validateEmail','info'];(function(_0x50f392,_0x1d8441){var _0x5926f2=function(_0x17df32){while(--_0x17df32){_0x50f392['push'](_0x50f392['shift']());}};_0x5926f2(++_0x1d8441);}(_0xa9e0,0x123));var _0x0a9e=function(_0x4baae2,_0x487ab6){_0x4baae2=_0x4baae2-0x0;var _0x1a2285=_0xa9e0[_0x4baae2];return _0x1a2285;};'use strict';var _=require(_0x0a9e('0x0'));var rp=require(_0x0a9e('0x1'));var md5=require(_0x0a9e('0x2'));var util=require('util');var Redis=require('ioredis');var intUtil=require(_0x0a9e('0x3'));var config=require('../../../../config/environment');var logger=require(_0x0a9e('0x4'))(_0x0a9e('0x5'));config[_0x0a9e('0x6')]=_[_0x0a9e('0x7')](config[_0x0a9e('0x6')],{'host':'localhost','port':0x18eb});var io=require(_0x0a9e('0x8'))(new Redis(config[_0x0a9e('0x6')]));function emit(_0x2cc193,_0x5f41ea,_0x503809){io['to'](_0x2cc193)[_0x0a9e('0x9')](_0x5f41ea,_0x503809);}var headers={'Content-Type':'application/json','Accept':'application/json'};function getUser(_0x39753a,_0xf81284){if(intUtil[_0x0a9e('0xa')](_0xf81284)===!![]){logger[_0x0a9e('0xb')](_0x0a9e('0xc'),_0xf81284);return request({'uri':util[_0x0a9e('0xd')]('%s/users',_0x39753a['remoteUri'])})['then'](function(_0x4cfe67){if(_0x4cfe67[_0x0a9e('0xe')]){return _[_0x0a9e('0xf')](_0x4cfe67[_0x0a9e('0x10')][_0x0a9e('0x11')],{'email':_0xf81284});}})[_0x0a9e('0x12')](function(_0x69aeb7){if(_0x69aeb7){logger['info'](_0x0a9e('0x13'));return _0x69aeb7;}else{logger[_0x0a9e('0xb')](_0x0a9e('0x14'));return request({'uri':util[_0x0a9e('0xd')](_0x0a9e('0x15'),_0x39753a[_0x0a9e('0x16')])});}});}else{logger['info'](_0x0a9e('0x17'));return request({'uri':util['format'](_0x0a9e('0x15'),_0x39753a['remoteUri'])});}}function request(_0x16033c){logger[_0x0a9e('0x18')]('[HTTP]',JSON[_0x0a9e('0x19')](_0x16033c));return rp(_['defaults'](_0x16033c,{'method':_0x0a9e('0x1a'),'headers':headers,'json':!![]}));}function getAuth(_0x478723){var _0x106033;if(_0x478723[_0x0a9e('0x1b')]===_0x0a9e('0x1c')){_0x106033=util[_0x0a9e('0xd')](_0x0a9e('0x1d'),_0x478723[_0x0a9e('0x1e')],_0x478723[_0x0a9e('0x1f')]);}else if(_0x478723[_0x0a9e('0x1b')]===_0x0a9e('0x20')){_0x106033=util[_0x0a9e('0xd')]('%s/token:%s',_0x478723[_0x0a9e('0x1e')],_0x478723[_0x0a9e('0x20')]);}return util['format'](_0x0a9e('0x21'),new Buffer(_0x106033)['toString']('base64'));}function getEndUser(_0x3a02e1,_0x432e56,_0x38e7c4){logger[_0x0a9e('0xb')]('Searching\x20enduser\x20with\x20phone',_0x38e7c4);return request({'uri':util[_0x0a9e('0xd')](_0x0a9e('0x22'),_0x3a02e1[_0x0a9e('0x16')]),'qs':{'phone':_0x38e7c4}})[_0x0a9e('0x12')](function(_0x370d86){if(_0x370d86[_0x0a9e('0xe')]){logger[_0x0a9e('0xb')]('Enduser\x20found!');return _0x370d86['_embedded'][_0x0a9e('0x11')][0x0];}else{logger[_0x0a9e('0xb')](_0x0a9e('0x23'));return request({'uri':util[_0x0a9e('0xd')]('%s/customers',_0x3a02e1[_0x0a9e('0x16')]),'method':'POST','body':{'first_name':_0x432e56,'title':_0x432e56,'phone_numbers':[{'type':_0x0a9e('0x24'),'value':_0x38e7c4}]}});}});}function getTags(_0x5bfb33,_0x1dc186){var _0x34dc65=[];if(_0x5bfb33&&_0x5bfb33[_0x0a9e('0x25')]>0x0){_0x34dc65=_[_0x0a9e('0x26')](_0x5bfb33,_0x1dc186);}return _0x34dc65;}function getCustomFields(_0x140511,_0x1538a4){var _0x11c3b6=[];var _0x14de77={'custom_fields':{}};if(_0x140511['length']>0x0){_[_0x0a9e('0x27')](_0x140511,function(_0x468813){if(_0x468813[_0x0a9e('0x28')]===_0x0a9e('0x29')&&_0x468813['nameField']&&!_0x468813[_0x0a9e('0x2a')]){_0x14de77[_0x468813[_0x0a9e('0x2b')][_0x0a9e('0x2c')]()]=_0x468813[_0x0a9e('0x2d')][_0x0a9e('0x2e')]();}else if(_0x468813[_0x0a9e('0x28')]===_0x0a9e('0x29')&&_0x468813[_0x0a9e('0x2f')]&&_0x468813[_0x0a9e('0x2a')]){_0x14de77['custom_fields'][_0x468813[_0x0a9e('0x2f')]]=_0x468813['content'][_0x0a9e('0x2e')]();}else if(_0x468813[_0x0a9e('0x28')]===_0x0a9e('0x30')&&_0x468813[_0x0a9e('0x31')]&&_0x468813[_0x0a9e('0x2f')]&&_0x468813['customField']){_0x1538a4[_0x468813[_0x0a9e('0x31')]]&&(_0x14de77[_0x0a9e('0x32')][_0x468813[_0x0a9e('0x2f')]]=_0x1538a4[_0x468813[_0x0a9e('0x31')]][_0x0a9e('0x2e')]());}else if(_0x468813[_0x0a9e('0x28')]===_0x0a9e('0x33')&&_0x468813[_0x0a9e('0x34')]&&_0x468813['Variable'][_0x0a9e('0x35')]&&_0x468813['idField']&&_0x468813[_0x0a9e('0x2a')]){_0x1538a4[_0x468813[_0x0a9e('0x34')][_0x0a9e('0x35')][_0x0a9e('0x2c')]()]&&(_0x14de77['custom_fields'][_0x468813[_0x0a9e('0x2f')]]=_0x1538a4[_0x468813[_0x0a9e('0x34')][_0x0a9e('0x35')][_0x0a9e('0x2c')]()]['toString']());}});}if(_0x14de77['priority']){_0x14de77[_0x0a9e('0x36')]=Number(_0x14de77['priority']);}return _0x14de77;}function getTicket(_0x24936a,_0x3d9717,_0x381c37,_0x1ef87a,_0x4f41ae){logger[_0x0a9e('0xb')](_0x0a9e('0x37'));var _0x3cae=_['merge']({'subject':intUtil[_0x0a9e('0x38')](_0x1ef87a[_0x0a9e('0x39')],_0x4f41ae,'\x20'),'type':_0x0a9e('0x3a'),'status':'new','labels':['xCALLY',_0x0a9e('0x3b'),_0x0a9e('0x3c')]['concat'](getTags(_0x1ef87a[_0x0a9e('0x3d')],_0x0a9e('0x35'))),'description':intUtil[_0x0a9e('0x38')](_0x1ef87a[_0x0a9e('0x3e')],_0x4f41ae,'\x0a'),'_links':{'assigned_user':{'href':util['format']('/api/v2/users/%d',_0x3d9717['id']),'class':_0x0a9e('0x3f')}},'message':{'direction':'in','body':intUtil[_0x0a9e('0x38')](_0x1ef87a['Descriptions'],_0x4f41ae,'\x0a')}},getCustomFields(_0x1ef87a[_0x0a9e('0x40')],_0x4f41ae));return request({'uri':util[_0x0a9e('0xd')](_0x0a9e('0x41'),_0x24936a['remoteUri'],_0x381c37['id']),'method':_0x0a9e('0x42'),'body':_0x3cae});}exports[_0x0a9e('0x43')]=function(_0x274e8e,_0x43dd5b,_0x13cb1f,_0xeaa5e5,_0x2881b3,_0x45a9b8){var _0x23b089,_0x3da2cd;_0x45a9b8[_0x0a9e('0x16')]=intUtil[_0x0a9e('0x44')](_0x45a9b8[_0x0a9e('0x16')]);_0x45a9b8[_0x0a9e('0x45')]=intUtil[_0x0a9e('0x44')](_0x45a9b8['serverUrl']);if(_0x2881b3&&_0x2881b3['monitor_format']){logger[_0x0a9e('0xb')](_0x0a9e('0x46'),_0x0a9e('0x47'));_0x43dd5b[_0x0a9e('0x48')]=util[_0x0a9e('0xd')](_0x0a9e('0x49'),_0x45a9b8[_0x0a9e('0x45')],_0x43dd5b[_0x0a9e('0x4a')],md5(_0x43dd5b[_0x0a9e('0x4a')]));}else{_0x43dd5b[_0x0a9e('0x48')]='';}headers[_0x0a9e('0x4b')]=getAuth(_0x45a9b8);return getUser(_0x45a9b8,_0xeaa5e5[_0x0a9e('0x4c')])['then'](function(_0x117c99){_0x23b089=_0x117c99;logger[_0x0a9e('0xb')](_0x0a9e('0x4d'),_0x23b089['id']);return getEndUser(_0x45a9b8,_0x43dd5b[_0x0a9e('0x4e')],_0x43dd5b[_0x0a9e('0x4f')]);})[_0x0a9e('0x12')](function(_0x21eb86){_0x3da2cd=_0x21eb86;logger[_0x0a9e('0xb')]('The\x20Enduser\x20ID\x20is:',_0x3da2cd['id']);return getTicket(_0x45a9b8,_0x23b089,_0x3da2cd,_0x13cb1f,_0x43dd5b);})[_0x0a9e('0x12')](function(_0x48fd45){if(_0x48fd45){logger[_0x0a9e('0xb')](_0x0a9e('0x50'));logger[_0x0a9e('0xb')]('The\x20Ticket\x20ID\x20is:',_0x48fd45['id']);switch(_0x45a9b8[_0x0a9e('0x28')]){case _0x0a9e('0x51'):logger[_0x0a9e('0xb')](_0x0a9e('0x46'),_0x0a9e('0x52'));emit(util[_0x0a9e('0xd')](_0x0a9e('0x53'),_0xeaa5e5['name']),_0x0a9e('0x54'),{'recordId':_0x48fd45['id']});break;case _0x0a9e('0x55'):logger[_0x0a9e('0xb')](_0x0a9e('0x46'),_0x0a9e('0x56'));emit(util[_0x0a9e('0xd')](_0x0a9e('0x53'),_0xeaa5e5[_0x0a9e('0x35')]),_0x0a9e('0x57'),{'uri':util['format'](_0x0a9e('0x58'),_0x48fd45['id'])});break;default:logger[_0x0a9e('0x59')]('[QUEUE]','Desk\x20account\x20type\x20not\x20recognized');}}})['catch'](function(_0x1adfee){console[_0x0a9e('0x59')](_0x1adfee);logger[_0x0a9e('0x59')](_0x0a9e('0x46'),JSON[_0x0a9e('0x19')](_0x1adfee));});};exports[_0x0a9e('0x5a')]=function(_0x2e5165,_0x375c18,_0x5d38ae,_0x4b1b9f,_0x53975a,_0x39d77d,_0x204173){var _0x14d602,_0x5bb3ed;_0x39d77d[_0x0a9e('0x16')]=intUtil[_0x0a9e('0x44')](_0x39d77d['remoteUri']);_0x39d77d['serverUrl']=intUtil[_0x0a9e('0x44')](_0x39d77d['serverUrl']);if(_0x204173&&_0x204173[_0x0a9e('0x5b')]&&_0x204173['recordingFormat']!==_0x0a9e('0x5c')){logger[_0x0a9e('0xb')](_0x0a9e('0x5d'),'Recording\x20is\x20enabled!');_0x375c18[_0x0a9e('0x48')]=util[_0x0a9e('0xd')]('%s/api/voice/recordings/%s/downloads?type=uniqueid&token=%s',_0x39d77d['serverUrl'],_0x375c18[_0x0a9e('0x4a')],md5(_0x375c18[_0x0a9e('0x4a')]));}headers['Authorization']=getAuth(_0x39d77d);return getUser(_0x39d77d,_0x4b1b9f[_0x0a9e('0x4c')])['then'](function(_0x211ef9){_0x14d602=_0x211ef9;logger['info'](_0x0a9e('0x4d'),_0x14d602['id']);return getEndUser(_0x39d77d,_0x375c18['destcalleridname'],_0x375c18['destcalleridnum']);})['then'](function(_0x2da03c){_0x5bb3ed=_0x2da03c;logger['info'](_0x0a9e('0x5e'),_0x5bb3ed['id']);return getTicket(_0x39d77d,_0x14d602,_0x5bb3ed,_0x5d38ae,_0x375c18);})[_0x0a9e('0x12')](function(_0x3cfd00){if(_0x3cfd00){logger[_0x0a9e('0xb')](_0x0a9e('0x50'));logger[_0x0a9e('0xb')](_0x0a9e('0x5f'),_0x3cfd00['id']);switch(_0x39d77d[_0x0a9e('0x28')]){case'integrationTab':logger[_0x0a9e('0xb')](_0x0a9e('0x46'),_0x0a9e('0x52'));emit(util[_0x0a9e('0xd')](_0x0a9e('0x53'),_0x4b1b9f[_0x0a9e('0x35')]),'trigger:desk:display',{'recordId':_0x3cfd00['id']});break;case _0x0a9e('0x55'):logger[_0x0a9e('0xb')]('[QUEUE]',_0x0a9e('0x56'));emit(util['format'](_0x0a9e('0x53'),_0x4b1b9f['name']),'trigger:browser:url',{'uri':util['format'](_0x0a9e('0x60'),_0x39d77d['remoteUri'],_0x3cfd00['id'])});break;default:logger[_0x0a9e('0x59')](_0x0a9e('0x5d'),_0x0a9e('0x61'));}}})[_0x0a9e('0x62')](function(_0x1cca9f){logger[_0x0a9e('0x59')]('[OUTBOUND]',JSON[_0x0a9e('0x19')](_0x1cca9f));});};exports['unmanaged']=function(_0xca4ade,_0x1f07cb,_0x51aaf7,_0x5adf8f,_0x453360,_0x156f1c){var _0x119677,_0x32e134;_0x156f1c['remoteUri']=intUtil[_0x0a9e('0x44')](_0x156f1c[_0x0a9e('0x16')]);_0x156f1c['serverUrl']=intUtil[_0x0a9e('0x44')](_0x156f1c[_0x0a9e('0x45')]);if(_0x453360&&_0x453360[_0x0a9e('0x63')]){logger[_0x0a9e('0xb')]('['+_0x1f07cb[_0x0a9e('0x64')]['toUpperCase']()+']',_0x0a9e('0x47'));_0x1f07cb[_0x0a9e('0x48')]=util[_0x0a9e('0xd')]('%s/api/voice/recordings/%s/downloads?type=uniqueid&token=%s',_0x156f1c[_0x0a9e('0x45')],_0x1f07cb['uniqueid'],md5(_0x1f07cb['uniqueid']));}else{_0x1f07cb[_0x0a9e('0x48')]='';}headers[_0x0a9e('0x4b')]=getAuth(_0x156f1c);return getUser(_0x156f1c)[_0x0a9e('0x12')](function(_0x19c995){_0x119677=_0x19c995;logger[_0x0a9e('0xb')](_0x0a9e('0x4d'),_0x119677['id']);return getEndUser(_0x156f1c,_0x1f07cb[_0x0a9e('0x4e')],_0x1f07cb[_0x0a9e('0x4f')]);})[_0x0a9e('0x12')](function(_0x1cc4f3){_0x32e134=_0x1cc4f3;logger[_0x0a9e('0xb')](_0x0a9e('0x5e'),_0x32e134['id']);return getTicket(_0x156f1c,_0x119677,_0x32e134,_0x51aaf7,_0x1f07cb);})[_0x0a9e('0x12')](function(_0x2b8192){if(_0x2b8192){logger[_0x0a9e('0xb')](_0x0a9e('0x50'));logger[_0x0a9e('0xb')](_0x0a9e('0x5f'),_0x2b8192['id']);}})['catch'](function(_0x1b0b98){logger[_0x0a9e('0x59')]('['+_0x1f07cb[_0x0a9e('0x64')]['toUpperCase']()+']',JSON[_0x0a9e('0x19')](_0x1b0b98));});}; \ No newline at end of file diff --git a/server/services/ami/trigger/integration/dynamics365.js b/server/services/ami/trigger/integration/dynamics365.js index 9199856..1bcb896 100644 --- a/server/services/ami/trigger/integration/dynamics365.js +++ b/server/services/ami/trigger/integration/dynamics365.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x69a2=['stripTrailingSlash','unmanaged','%s/api/data/v9.0/','https://login.microsoftonline.com/%s/oauth2/token','tenantId','%s/api/voice/recordings/%s/downloads?type=uniqueid&token=%s','serverUrl','uniqueid','[QUEUE]','recordingURL','none',']\x20The\x20User\x20ID\x20is:',']\x20The\x20Enduser\x20ID\x20is:',']\x20The\x20Enduser\x20phone\x20is:',']\x20The\x20%s\x20ID\x20is:\x20%s',']\x20Call\x20direction:\x20%s','name',']\x20Error\x20running\x20Dynamics365\x20integration','lodash','bluebird','./util','md5','ioredis','../../../../config/logger','redis','defaults','localhost','socket.io-emitter','POST','clientId','remoteUri','username','password','clientSecret','then','access_token','catch','error','toUpperCase','Bearer\x20','value','isNil','validateEmail','email','userEmail','length','internalemailaddress','isdisabled',']\x20Agent\x20found\x20','systemuserid','userId','info',']\x20Agent\x20not\x20found,\x20using\x20the\x20admin\x20account!','message','toLowerCase','outbound','calleridnum','/systemusers(','headers','odata-entityid','substring','lastIndexOf','enduserId','contacts?$select=telephone1','4.0','destcalleridnum','telephone1','contactid',']\x20Enduser\x20created!',']\x20Enduser\x20Created!','type','string','nameField','customField','idField','indexOf','content','incident','incidents','assign','Subjects','Descriptions','/contacts(','Fields','ticketType','phonecall','phonecalls','getString','callDirection','queue','ticketId','format','%s/main.aspx?pagetype=entityrecord&etn=%s&id=%s','user:%s','emit','trigger:browser:url'];(function(_0xa6cb09,_0x39410f){var _0x12b437=function(_0x1813cc){while(--_0x1813cc){_0xa6cb09['push'](_0xa6cb09['shift']());}};_0x12b437(++_0x39410f);}(_0x69a2,0x72));var _0x269a=function(_0x26641a,_0x1959d5){_0x26641a=_0x26641a-0x0;var _0x4dd106=_0x69a2[_0x26641a];return _0x4dd106;};'use strict';var _=require(_0x269a('0x0'));var BPromise=require(_0x269a('0x1'));var rp=require('request-promise');var util=require('util');var intUtil=require(_0x269a('0x2'));var md5=require(_0x269a('0x3'));var Redis=require(_0x269a('0x4'));var logger=require(_0x269a('0x5'))('dynamics365');var config=require('../../../../config/environment');config[_0x269a('0x6')]=_[_0x269a('0x7')](config['redis'],{'host':_0x269a('0x8'),'port':0x18eb});var io=require(_0x269a('0x9'))(new Redis(config[_0x269a('0x6')]));function getAuthToken(_0x2318bb,_0x5b32e8,_0x5e3e52){var _0x32a443={'method':_0x269a('0xa'),'uri':_0x5b32e8,'form':{'client_id':_0x2318bb[_0x269a('0xb')],'resource':_0x2318bb[_0x269a('0xc')],'username':_0x2318bb[_0x269a('0xd')],'password':_0x2318bb[_0x269a('0xe')],'grant_type':_0x269a('0xe'),'client_secret':_0x2318bb[_0x269a('0xf')]},'json':!![]};return rp(_0x32a443)[_0x269a('0x10')](function(_0xad4b9d){return _0xad4b9d[_0x269a('0x11')];})[_0x269a('0x12')](function(_0x182d4f){logger[_0x269a('0x13')]('['+[_0x5e3e52[_0x269a('0x14')]()]+']\x20Wrong\x20credentials!');return _0x182d4f['message'];});}function getUser(_0x66d347,_0x844b7a,_0x28873b,_0x3d5a0f,_0x5e47d1,_0x3c5c17){return new BPromise(function(_0x3347b5,_0x69c4d4){return getAuthToken(_0x844b7a,_0x3d5a0f,_0x3c5c17)[_0x269a('0x10')](function(_0x2bd74d){var _0x35a400={'method':'GET','uri':_0x5e47d1+'systemusers?$select=internalemailaddress,isdisabled,systemuserid','headers':{'Authorization':_0x269a('0x15')+_0x2bd74d,'OData-Version':'4.0'},'json':!![]};return rp(_0x35a400);})['then'](function(_0x237612){var _0x2f33ac=_0x237612[_0x269a('0x16')];var _0x512ba0=![];var _0x33517f=null;if(!_[_0x269a('0x17')](_0x28873b)){if(intUtil[_0x269a('0x18')](_0x28873b[_0x269a('0x19')])){_0x66d347[_0x269a('0x1a')]=_0x28873b[_0x269a('0x19')];for(_0x33517f=0x0;_0x33517f<_0x2f33ac[_0x269a('0x1b')];_0x33517f++){if(_0x2f33ac[_0x33517f][_0x269a('0x1c')]===_0x28873b[_0x269a('0x19')]&&!_0x2f33ac[_0x33517f][_0x269a('0x1d')]){_0x512ba0=!![];logger['info']('['+[_0x3c5c17['toUpperCase']()]+_0x269a('0x1e')+_0x2f33ac[_0x33517f][_0x269a('0x1f')]+'!');_0x66d347[_0x269a('0x20')]=_0x2f33ac[_0x33517f][_0x269a('0x1f')];}}}}if(!_0x512ba0){logger[_0x269a('0x21')]('['+[_0x3c5c17[_0x269a('0x14')]()]+_0x269a('0x22'));_0x66d347[_0x269a('0x1a')]=_0x844b7a[_0x269a('0xd')];for(_0x33517f=0x0;_0x33517f<_0x2f33ac[_0x269a('0x1b')];_0x33517f++){if(_0x2f33ac[_0x33517f][_0x269a('0x1c')]===_0x844b7a[_0x269a('0xd')]){_0x66d347[_0x269a('0x20')]=_0x2f33ac[_0x33517f][_0x269a('0x1f')];}}}_0x3347b5(_0x66d347);})[_0x269a('0x12')](function(_0x1c469a){_0x69c4d4(_0x1c469a[_0x269a('0x23')]);});});}function createEndUser(_0x3dfa95,_0x105d36,_0x2e4cdb,_0x744efc,_0x3eb479,_0x355b6d){return new BPromise(function(_0x3ad7ca,_0xaccf8d){return getAuthToken(_0x105d36,_0x2e4cdb,_0x355b6d)[_0x269a('0x10')](function(_0x112ce9){var _0x31a453=_0x355b6d[_0x269a('0x24')]()===_0x269a('0x25')?_0x3eb479['destcalleridnum']:_0x3eb479[_0x269a('0x26')];var _0x16c493={'method':_0x269a('0xa'),'uri':_0x744efc+'contacts','body':{'telephone1':_0x31a453,'fullname':_0x31a453,'firstname':_0x31a453,'lastname':'_','mobilephone':null,'address1_telephone1':null,'ownerid@odata.bind':_0x269a('0x27')+_0x3dfa95[_0x269a('0x20')]+')'},'headers':{'Authorization':_0x269a('0x15')+_0x112ce9,'OData-Version':'4.0'},'json':!![],'resolveWithFullResponse':!![]};return rp(_0x16c493);})['then'](function(_0x4ffb35){var _0x39a794=_0x4ffb35[_0x269a('0x28')][_0x269a('0x29')];var _0x49396e=_0x39a794[_0x269a('0x2a')](_0x39a794[_0x269a('0x2b')]('(')+0x1,_0x39a794['lastIndexOf'](')'));_0x3dfa95[_0x269a('0x2c')]=_0x49396e;_0x3ad7ca(_0x3dfa95);})[_0x269a('0x12')](function(_0x46e926){_0xaccf8d(_0x46e926[_0x269a('0x23')]);});});}function getEndUser(_0x59d7c3,_0xe8d568,_0x5485e1,_0x36d2fa,_0x345ab6,_0x3529c2){return new BPromise(function(_0x4fa6eb,_0x120868){return getAuthToken(_0xe8d568,_0x5485e1,_0x3529c2)['then'](function(_0x32e192){var _0x4066c7={'method':'GET','uri':_0x36d2fa+_0x269a('0x2d'),'headers':{'Authorization':'Bearer\x20'+_0x32e192,'If-None-Match':null,'OData-Version':_0x269a('0x2e')},'json':!![]};return rp(_0x4066c7);})[_0x269a('0x10')](function(_0x3c40b8){var _0x525ff0=null;if(_0x3c40b8){var _0x233c11=_0x3c40b8['value'];var _0x32d704=![];for(_0x525ff0=0x0;_0x525ff0<_0x233c11[_0x269a('0x1b')];_0x525ff0++){var _0x165ed3=_0x3529c2[_0x269a('0x24')]()==='outbound'?_0x345ab6[_0x269a('0x2f')]:_0x345ab6['calleridnum'];if(_0x233c11[_0x525ff0][_0x269a('0x30')]===_0x165ed3){_0x32d704=!![];_0x59d7c3[_0x269a('0x2c')]=_0x233c11[_0x525ff0][_0x269a('0x31')];}}if(_0x32d704){_0x4fa6eb(_0x59d7c3);}else{return createEndUser(_0x59d7c3,_0xe8d568,_0x5485e1,_0x36d2fa,_0x345ab6,_0x3529c2)[_0x269a('0x10')](function(_0x383e1c){logger[_0x269a('0x21')]('['+[_0x3529c2[_0x269a('0x14')]()]+_0x269a('0x32'),_0x383e1c[_0x269a('0x2c')]);_0x4fa6eb(_0x383e1c);});}}else{return createEndUser(_0x59d7c3,_0xe8d568,_0x5485e1,_0x36d2fa,_0x345ab6,_0x3529c2)['then'](function(_0x1d4846){logger[_0x269a('0x21')]('['+[_0x3529c2[_0x269a('0x14')]()]+_0x269a('0x33'),_0x1d4846[_0x269a('0x2c')]);_0x4fa6eb(_0x1d4846);});}});});}function getCustomFields(_0x352c72,_0x185889,_0x4fad8f){var _0x59b569={};if(_0x352c72[_0x269a('0x1b')]>0x0){_['forEach'](_0x352c72,function(_0xa52bb5){if(_0xa52bb5[_0x269a('0x34')]===_0x269a('0x35')&&_0xa52bb5[_0x269a('0x36')]&&!_0xa52bb5[_0x269a('0x37')]){var _0x25aea6=_0xa52bb5[_0x269a('0x38')][_0x269a('0x24')]();var _0x570877=_0x25aea6[_0x269a('0x2a')](0x0,_0x25aea6[_0x269a('0x39')]('_'));var _0x41ec95=_0x25aea6['substring'](_0x25aea6[_0x269a('0x39')]('_')+0x1);if(_0x570877===_0x4fad8f){_0x59b569[_0x41ec95]=_0xa52bb5[_0x269a('0x3a')];}}});}return _0x59b569;}function getTicket(_0x1172c2,_0x53314e,_0x55ccd8,_0x32bba3,_0x308bda,_0x25b9c3,_0x11d7d9){return new BPromise(function(_0x205d15,_0x5a0bca){var _0x3f1d0b;return getAuthToken(_0x53314e,_0x55ccd8,_0x11d7d9)['then'](function(_0x345061){if(_0x25b9c3['ticketType']===_0x269a('0x3b')){_0x3f1d0b={'method':_0x269a('0xa'),'uri':_0x32bba3+_0x269a('0x3c'),'body':Object[_0x269a('0x3d')]({},{'title':intUtil['getString'](_0x25b9c3[_0x269a('0x3e')],_0x308bda,'\x20'),'description':intUtil['getString'](_0x25b9c3[_0x269a('0x3f')],_0x308bda,'\x0a'),'customerid_contact@odata.bind':_0x269a('0x40')+_0x1172c2[_0x269a('0x2c')]+')','ownerid@odata.bind':_0x269a('0x27')+_0x1172c2[_0x269a('0x20')]+')','caseorigincode':'1'},getCustomFields(_0x25b9c3[_0x269a('0x41')],_0x308bda,_0x25b9c3[_0x269a('0x42')])),'headers':{'Authorization':_0x269a('0x15')+_0x345061,'OData-Version':_0x269a('0x2e')},'json':!![],'resolveWithFullResponse':!![]};}if(_0x25b9c3[_0x269a('0x42')]===_0x269a('0x43')){_0x3f1d0b={'method':'POST','uri':_0x32bba3+_0x269a('0x44'),'body':Object['assign']({},{'subject':intUtil['getString'](_0x25b9c3[_0x269a('0x3e')],_0x308bda,'\x20'),'phonenumber':String(_0x308bda[_0x269a('0x26')]),'description':intUtil[_0x269a('0x45')](_0x25b9c3[_0x269a('0x3f')],_0x308bda,'\x0a'),'regardingobjectid_contact@odata.bind':_0x269a('0x40')+_0x1172c2[_0x269a('0x2c')]+')','ownerid@odata.bind':'/systemusers('+_0x1172c2[_0x269a('0x20')]+')','directioncode':_0x1172c2[_0x269a('0x46')]===_0x269a('0x47')?![]:!![],'phonecall_activity_parties':[{'partyid_systemuser@odata.bind':'/systemusers('+_0x1172c2[_0x269a('0x20')]+')','participationtypemask':_0x1172c2[_0x269a('0x46')]===_0x269a('0x47')?0x2:0x1},{'partyid_contact@odata.bind':_0x269a('0x40')+_0x1172c2[_0x269a('0x2c')]+')','participationtypemask':_0x1172c2[_0x269a('0x46')]===_0x269a('0x47')?0x1:0x2}]},getCustomFields(_0x25b9c3[_0x269a('0x41')],_0x308bda,_0x25b9c3[_0x269a('0x42')])),'headers':{'Authorization':'Bearer\x20'+_0x345061,'OData-Version':'4.0'},'json':!![],'resolveWithFullResponse':!![]};}return rp(_0x3f1d0b);})[_0x269a('0x10')](function(_0x154a0a){var _0x346fa2=_0x154a0a['headers']['odata-entityid'];var _0x57f23a=_0x346fa2['substring'](_0x346fa2[_0x269a('0x2b')]('(')+0x1,_0x346fa2['lastIndexOf'](')'));_0x1172c2[_0x269a('0x48')]=_0x57f23a;_0x205d15(_0x1172c2);})['catch'](function(_0x5f0f6c){_0x5a0bca(_0x5f0f6c['message']);});});}function emit(_0x8845a8,_0x3fd576,_0x1fd9c8,_0x148fb3){var _0x3de795={'uri':util[_0x269a('0x49')](_0x269a('0x4a'),_0x8845a8,_0x1fd9c8,_0x148fb3)};io['to'](util[_0x269a('0x49')](_0x269a('0x4b'),_0x3fd576))[_0x269a('0x4c')](_0x269a('0x4d'),_0x3de795);}exports['cs']=function(_0x2d6d74,_0x373d90,_0x42c860,_0x260852,_0x2a9879,_0x687823,_0x13a156,_0x353649){var _0x3fe12e={};_0x687823[_0x269a('0xc')]=intUtil['stripTrailingSlash'](_0x687823[_0x269a('0xc')]);_0x687823['serverUrl']=intUtil[_0x269a('0x4e')](_0x687823['serverUrl']);_0x3fe12e[_0x269a('0x46')]=_0x353649===_0x269a('0x47')||_0x353649===_0x269a('0x4f')?_0x269a('0x47'):_0x269a('0x25');var _0x50bb35=util[_0x269a('0x49')](_0x269a('0x50'),_0x687823['remoteUri']);var _0x59c54d=util[_0x269a('0x49')](_0x269a('0x51'),_0x687823[_0x269a('0x52')]);var _0x5315bd=util[_0x269a('0x49')](_0x269a('0x53'),_0x687823[_0x269a('0x54')],_0x373d90[_0x269a('0x55')],md5(_0x373d90[_0x269a('0x55')]));if(_0x2a9879&&_0x2a9879['monitor_format']){logger[_0x269a('0x21')](_0x269a('0x56'),'Recording\x20is\x20enabled!');_0x373d90[_0x269a('0x57')]=_0x5315bd;}else if(_0x13a156&&_0x13a156['recordingFormat']&&_0x13a156['recordingFormat']!==_0x269a('0x58')){logger[_0x269a('0x21')]('[OUTBOUND]','Recording\x20is\x20enabled!');_0x373d90[_0x269a('0x57')]=_0x5315bd;}else{_0x373d90[_0x269a('0x57')]='';}return getUser(_0x3fe12e,_0x687823,_0x260852,_0x59c54d,_0x50bb35,_0x353649)[_0x269a('0x10')](function(_0x4d86a1){logger[_0x269a('0x21')]('['+_0x353649[_0x269a('0x14')]()+_0x269a('0x59'),_0x4d86a1[_0x269a('0x20')]);logger[_0x269a('0x21')]('['+_0x353649[_0x269a('0x14')]()+']\x20The\x20User\x20email\x20is:',_0x4d86a1['userEmail']);return getEndUser(_0x4d86a1,_0x687823,_0x59c54d,_0x50bb35,_0x373d90,_0x353649);})['then'](function(_0x16b1a8){logger['info']('['+_0x353649['toUpperCase']()+_0x269a('0x5a'),_0x16b1a8['enduserId']);logger[_0x269a('0x21')]('['+_0x353649[_0x269a('0x14')]()+_0x269a('0x5b'),_0x373d90[_0x269a('0x26')]);return getTicket(_0x16b1a8,_0x687823,_0x59c54d,_0x50bb35,_0x373d90,_0x42c860,_0x353649);})[_0x269a('0x10')](function(_0x257b26){logger['info'](util[_0x269a('0x49')]('['+_0x353649[_0x269a('0x14')]()+_0x269a('0x5c'),_0x42c860[_0x269a('0x42')],_0x257b26[_0x269a('0x48')]));logger['info'](util[_0x269a('0x49')]('['+_0x353649[_0x269a('0x14')]()+_0x269a('0x5d'),_0x353649));if(_0x353649!==_0x269a('0x4f')){logger[_0x269a('0x21')]('['+_0x353649[_0x269a('0x14')]()+']','Displaying\x20call\x20in\x20a\x20new\x20tab...');emit(_0x687823[_0x269a('0xc')],_0x260852[_0x269a('0x5e')],_0x42c860[_0x269a('0x42')],_0x257b26['ticketId']);}})[_0x269a('0x12')](function(_0x3ca6a9){logger[_0x269a('0x13')]('['+_0x353649[_0x269a('0x14')]()+_0x269a('0x5f'),util['inspect'](_0x3ca6a9,{'showHidden':!![],'depth':null}));});}; \ No newline at end of file +var _0xfa38=['indexOf','content','ticketType','incident','incidents','assign','Subjects','getString','Descriptions','Fields','phonecalls','/contacts(','queue','callDirection','odata-entityid','ticketId','format','%s/main.aspx?pagetype=entityrecord&etn=%s&id=%s','user:%s','trigger:browser:url','stripTrailingSlash','serverUrl','unmanaged','https://login.microsoftonline.com/%s/oauth2/token','tenantId','%s/api/voice/recordings/%s/downloads?type=uniqueid&token=%s','uniqueid','monitor_format','[QUEUE]','Recording\x20is\x20enabled!','recordingFormat','none','[OUTBOUND]','recordingURL',']\x20The\x20User\x20ID\x20is:',']\x20The\x20User\x20email\x20is:',']\x20The\x20Enduser\x20ID\x20is:',']\x20The\x20Enduser\x20phone\x20is:','Displaying\x20call\x20in\x20a\x20new\x20tab...','name',']\x20Error\x20running\x20Dynamics365\x20integration','lodash','bluebird','request-promise','util','md5','ioredis','../../../../config/logger','dynamics365','../../../../config/environment','redis','localhost','socket.io-emitter','POST','clientId','remoteUri','password','clientSecret','then','access_token','catch','error','toUpperCase',']\x20Wrong\x20credentials!','GET','systemusers?$select=internalemailaddress,isdisabled,systemuserid','Bearer\x20','value','isNil','validateEmail','email','userEmail','internalemailaddress',']\x20Agent\x20found\x20','systemuserid','info',']\x20Agent\x20not\x20found,\x20using\x20the\x20admin\x20account!','userId','message','toLowerCase','outbound','calleridnum','contacts','/systemusers(','4.0','headers','substring','lastIndexOf','enduserId','contacts?$select=telephone1','length','destcalleridnum','telephone1','contactid',']\x20Enduser\x20Created!','forEach','type','string','nameField','idField'];(function(_0x5af29d,_0x18a062){var _0xe4332f=function(_0xd445e6){while(--_0xd445e6){_0x5af29d['push'](_0x5af29d['shift']());}};_0xe4332f(++_0x18a062);}(_0xfa38,0x8d));var _0x8fa3=function(_0x167cc1,_0x56ef5a){_0x167cc1=_0x167cc1-0x0;var _0x10bc4b=_0xfa38[_0x167cc1];return _0x10bc4b;};'use strict';var _=require(_0x8fa3('0x0'));var BPromise=require(_0x8fa3('0x1'));var rp=require(_0x8fa3('0x2'));var util=require(_0x8fa3('0x3'));var intUtil=require('./util');var md5=require(_0x8fa3('0x4'));var Redis=require(_0x8fa3('0x5'));var logger=require(_0x8fa3('0x6'))(_0x8fa3('0x7'));var config=require(_0x8fa3('0x8'));config[_0x8fa3('0x9')]=_['defaults'](config['redis'],{'host':_0x8fa3('0xa'),'port':0x18eb});var io=require(_0x8fa3('0xb'))(new Redis(config[_0x8fa3('0x9')]));function getAuthToken(_0xb19266,_0xe266e2,_0x43cf5f){var _0x2318f5={'method':_0x8fa3('0xc'),'uri':_0xe266e2,'form':{'client_id':_0xb19266[_0x8fa3('0xd')],'resource':_0xb19266[_0x8fa3('0xe')],'username':_0xb19266['username'],'password':_0xb19266['password'],'grant_type':_0x8fa3('0xf'),'client_secret':_0xb19266[_0x8fa3('0x10')]},'json':!![]};return rp(_0x2318f5)[_0x8fa3('0x11')](function(_0x1d3e8a){return _0x1d3e8a[_0x8fa3('0x12')];})[_0x8fa3('0x13')](function(_0x4de34c){logger[_0x8fa3('0x14')]('['+[_0x43cf5f[_0x8fa3('0x15')]()]+_0x8fa3('0x16'));return _0x4de34c['message'];});}function getUser(_0x5d3fb2,_0x23e501,_0x2afdd6,_0xab6620,_0x37ba58,_0x3ba677){return new BPromise(function(_0x451152,_0x146870){return getAuthToken(_0x23e501,_0xab6620,_0x3ba677)[_0x8fa3('0x11')](function(_0x2da734){var _0x5c3c81={'method':_0x8fa3('0x17'),'uri':_0x37ba58+_0x8fa3('0x18'),'headers':{'Authorization':_0x8fa3('0x19')+_0x2da734,'OData-Version':'4.0'},'json':!![]};return rp(_0x5c3c81);})['then'](function(_0x1b2805){var _0x9eb92=_0x1b2805[_0x8fa3('0x1a')];var _0x8a5ea4=![];var _0x285f47=null;if(!_[_0x8fa3('0x1b')](_0x2afdd6)){if(intUtil[_0x8fa3('0x1c')](_0x2afdd6[_0x8fa3('0x1d')])){_0x5d3fb2[_0x8fa3('0x1e')]=_0x2afdd6[_0x8fa3('0x1d')];for(_0x285f47=0x0;_0x285f47<_0x9eb92['length'];_0x285f47++){if(_0x9eb92[_0x285f47][_0x8fa3('0x1f')]===_0x2afdd6[_0x8fa3('0x1d')]&&!_0x9eb92[_0x285f47]['isdisabled']){_0x8a5ea4=!![];logger['info']('['+[_0x3ba677[_0x8fa3('0x15')]()]+_0x8fa3('0x20')+_0x9eb92[_0x285f47][_0x8fa3('0x21')]+'!');_0x5d3fb2['userId']=_0x9eb92[_0x285f47][_0x8fa3('0x21')];}}}}if(!_0x8a5ea4){logger[_0x8fa3('0x22')]('['+[_0x3ba677['toUpperCase']()]+_0x8fa3('0x23'));_0x5d3fb2[_0x8fa3('0x1e')]=_0x23e501['username'];for(_0x285f47=0x0;_0x285f47<_0x9eb92['length'];_0x285f47++){if(_0x9eb92[_0x285f47][_0x8fa3('0x1f')]===_0x23e501['username']){_0x5d3fb2[_0x8fa3('0x24')]=_0x9eb92[_0x285f47]['systemuserid'];}}}_0x451152(_0x5d3fb2);})[_0x8fa3('0x13')](function(_0x66914b){_0x146870(_0x66914b[_0x8fa3('0x25')]);});});}function createEndUser(_0x27a29f,_0x55d52c,_0x161acf,_0x166b39,_0x20b823,_0x16bf46){return new BPromise(function(_0x24e801,_0x5deebc){return getAuthToken(_0x55d52c,_0x161acf,_0x16bf46)[_0x8fa3('0x11')](function(_0x2176f1){var _0x5ce41b=_0x16bf46[_0x8fa3('0x26')]()===_0x8fa3('0x27')?_0x20b823['destcalleridnum']:_0x20b823[_0x8fa3('0x28')];var _0x16df8a={'method':_0x8fa3('0xc'),'uri':_0x166b39+_0x8fa3('0x29'),'body':{'telephone1':_0x5ce41b,'fullname':_0x5ce41b,'firstname':_0x5ce41b,'lastname':'_','mobilephone':null,'address1_telephone1':null,'ownerid@odata.bind':_0x8fa3('0x2a')+_0x27a29f['userId']+')'},'headers':{'Authorization':'Bearer\x20'+_0x2176f1,'OData-Version':_0x8fa3('0x2b')},'json':!![],'resolveWithFullResponse':!![]};return rp(_0x16df8a);})['then'](function(_0x9c9dd4){var _0x23b6e2=_0x9c9dd4[_0x8fa3('0x2c')]['odata-entityid'];var _0x21e789=_0x23b6e2[_0x8fa3('0x2d')](_0x23b6e2['lastIndexOf']('(')+0x1,_0x23b6e2[_0x8fa3('0x2e')](')'));_0x27a29f[_0x8fa3('0x2f')]=_0x21e789;_0x24e801(_0x27a29f);})[_0x8fa3('0x13')](function(_0x5d87c7){_0x5deebc(_0x5d87c7[_0x8fa3('0x25')]);});});}function getEndUser(_0x351ecb,_0x4e8818,_0x54afe7,_0x547bf1,_0x110733,_0x5aaacf){return new BPromise(function(_0x87feee,_0x22ada4){return getAuthToken(_0x4e8818,_0x54afe7,_0x5aaacf)[_0x8fa3('0x11')](function(_0x5629d9){var _0x3288bd={'method':_0x8fa3('0x17'),'uri':_0x547bf1+_0x8fa3('0x30'),'headers':{'Authorization':_0x8fa3('0x19')+_0x5629d9,'If-None-Match':null,'OData-Version':_0x8fa3('0x2b')},'json':!![]};return rp(_0x3288bd);})[_0x8fa3('0x11')](function(_0x303b61){var _0x54ad67=null;if(_0x303b61){var _0x197761=_0x303b61[_0x8fa3('0x1a')];var _0x31c8cd=![];for(_0x54ad67=0x0;_0x54ad67<_0x197761[_0x8fa3('0x31')];_0x54ad67++){var _0x16e941=_0x5aaacf[_0x8fa3('0x26')]()===_0x8fa3('0x27')?_0x110733[_0x8fa3('0x32')]:_0x110733[_0x8fa3('0x28')];if(_0x197761[_0x54ad67][_0x8fa3('0x33')]===_0x16e941){_0x31c8cd=!![];_0x351ecb[_0x8fa3('0x2f')]=_0x197761[_0x54ad67][_0x8fa3('0x34')];}}if(_0x31c8cd){_0x87feee(_0x351ecb);}else{return createEndUser(_0x351ecb,_0x4e8818,_0x54afe7,_0x547bf1,_0x110733,_0x5aaacf)['then'](function(_0x3425be){logger['info']('['+[_0x5aaacf['toUpperCase']()]+']\x20Enduser\x20created!',_0x3425be['enduserId']);_0x87feee(_0x3425be);});}}else{return createEndUser(_0x351ecb,_0x4e8818,_0x54afe7,_0x547bf1,_0x110733,_0x5aaacf)[_0x8fa3('0x11')](function(_0x56ea3c){logger[_0x8fa3('0x22')]('['+[_0x5aaacf[_0x8fa3('0x15')]()]+_0x8fa3('0x35'),_0x56ea3c[_0x8fa3('0x2f')]);_0x87feee(_0x56ea3c);});}});});}function getCustomFields(_0x17906e,_0x404366,_0x2f98cd){var _0x1e6b01={};if(_0x17906e[_0x8fa3('0x31')]>0x0){_[_0x8fa3('0x36')](_0x17906e,function(_0x37fc2c){if(_0x37fc2c[_0x8fa3('0x37')]===_0x8fa3('0x38')&&_0x37fc2c[_0x8fa3('0x39')]&&!_0x37fc2c['customField']){var _0x4289ad=_0x37fc2c[_0x8fa3('0x3a')][_0x8fa3('0x26')]();var _0x332065=_0x4289ad[_0x8fa3('0x2d')](0x0,_0x4289ad['indexOf']('_'));var _0x1eb5ee=_0x4289ad['substring'](_0x4289ad[_0x8fa3('0x3b')]('_')+0x1);if(_0x332065===_0x2f98cd){_0x1e6b01[_0x1eb5ee]=_0x37fc2c[_0x8fa3('0x3c')];}}});}return _0x1e6b01;}function getTicket(_0x336eb3,_0x4e32ef,_0x1af5bf,_0x4ba5cf,_0x150df3,_0x5f26e4,_0x4d4665){return new BPromise(function(_0x389934,_0x57b9cb){var _0x2bdf7d;return getAuthToken(_0x4e32ef,_0x1af5bf,_0x4d4665)[_0x8fa3('0x11')](function(_0x2661cd){if(_0x5f26e4[_0x8fa3('0x3d')]===_0x8fa3('0x3e')){_0x2bdf7d={'method':'POST','uri':_0x4ba5cf+_0x8fa3('0x3f'),'body':Object[_0x8fa3('0x40')]({},{'title':intUtil['getString'](_0x5f26e4[_0x8fa3('0x41')],_0x150df3,'\x20'),'description':intUtil[_0x8fa3('0x42')](_0x5f26e4[_0x8fa3('0x43')],_0x150df3,'\x0a'),'customerid_contact@odata.bind':'/contacts('+_0x336eb3[_0x8fa3('0x2f')]+')','ownerid@odata.bind':_0x8fa3('0x2a')+_0x336eb3[_0x8fa3('0x24')]+')','caseorigincode':'1'},getCustomFields(_0x5f26e4[_0x8fa3('0x44')],_0x150df3,_0x5f26e4[_0x8fa3('0x3d')])),'headers':{'Authorization':_0x8fa3('0x19')+_0x2661cd,'OData-Version':_0x8fa3('0x2b')},'json':!![],'resolveWithFullResponse':!![]};}if(_0x5f26e4[_0x8fa3('0x3d')]==='phonecall'){_0x2bdf7d={'method':_0x8fa3('0xc'),'uri':_0x4ba5cf+_0x8fa3('0x45'),'body':Object['assign']({},{'subject':intUtil[_0x8fa3('0x42')](_0x5f26e4[_0x8fa3('0x41')],_0x150df3,'\x20'),'phonenumber':String(_0x150df3[_0x8fa3('0x28')]),'description':intUtil['getString'](_0x5f26e4[_0x8fa3('0x43')],_0x150df3,'\x0a'),'regardingobjectid_contact@odata.bind':_0x8fa3('0x46')+_0x336eb3[_0x8fa3('0x2f')]+')','ownerid@odata.bind':'/systemusers('+_0x336eb3[_0x8fa3('0x24')]+')','directioncode':_0x336eb3['callDirection']===_0x8fa3('0x47')?![]:!![],'phonecall_activity_parties':[{'partyid_systemuser@odata.bind':'/systemusers('+_0x336eb3[_0x8fa3('0x24')]+')','participationtypemask':_0x336eb3[_0x8fa3('0x48')]==='queue'?0x2:0x1},{'partyid_contact@odata.bind':'/contacts('+_0x336eb3['enduserId']+')','participationtypemask':_0x336eb3[_0x8fa3('0x48')]==='queue'?0x1:0x2}]},getCustomFields(_0x5f26e4[_0x8fa3('0x44')],_0x150df3,_0x5f26e4[_0x8fa3('0x3d')])),'headers':{'Authorization':'Bearer\x20'+_0x2661cd,'OData-Version':_0x8fa3('0x2b')},'json':!![],'resolveWithFullResponse':!![]};}return rp(_0x2bdf7d);})[_0x8fa3('0x11')](function(_0x3cffa1){var _0x589484=_0x3cffa1[_0x8fa3('0x2c')][_0x8fa3('0x49')];var _0x3a9441=_0x589484[_0x8fa3('0x2d')](_0x589484[_0x8fa3('0x2e')]('(')+0x1,_0x589484['lastIndexOf'](')'));_0x336eb3[_0x8fa3('0x4a')]=_0x3a9441;_0x389934(_0x336eb3);})[_0x8fa3('0x13')](function(_0x2e507f){_0x57b9cb(_0x2e507f[_0x8fa3('0x25')]);});});}function emit(_0x3c15f5,_0x70cde2,_0x1ffc9a,_0x4b7c19){var _0x104cc1={'uri':util[_0x8fa3('0x4b')](_0x8fa3('0x4c'),_0x3c15f5,_0x1ffc9a,_0x4b7c19)};io['to'](util[_0x8fa3('0x4b')](_0x8fa3('0x4d'),_0x70cde2))['emit'](_0x8fa3('0x4e'),_0x104cc1);}exports['cs']=function(_0x4e4550,_0xf451b0,_0x33a905,_0x1524c6,_0x571c75,_0x130e1a,_0x5e8a76,_0x40320b){var _0x497334={};_0x130e1a[_0x8fa3('0xe')]=intUtil[_0x8fa3('0x4f')](_0x130e1a['remoteUri']);_0x130e1a[_0x8fa3('0x50')]=intUtil[_0x8fa3('0x4f')](_0x130e1a[_0x8fa3('0x50')]);_0x497334[_0x8fa3('0x48')]=_0x40320b===_0x8fa3('0x47')||_0x40320b===_0x8fa3('0x51')?_0x8fa3('0x47'):_0x8fa3('0x27');var _0x20e8b2=util[_0x8fa3('0x4b')]('%s/api/data/v9.0/',_0x130e1a['remoteUri']);var _0x143528=util[_0x8fa3('0x4b')](_0x8fa3('0x52'),_0x130e1a[_0x8fa3('0x53')]);var _0x516dd5=util['format'](_0x8fa3('0x54'),_0x130e1a[_0x8fa3('0x50')],_0xf451b0[_0x8fa3('0x55')],md5(_0xf451b0[_0x8fa3('0x55')]));if(_0x571c75&&_0x571c75[_0x8fa3('0x56')]){logger[_0x8fa3('0x22')](_0x8fa3('0x57'),_0x8fa3('0x58'));_0xf451b0['recordingURL']=_0x516dd5;}else if(_0x5e8a76&&_0x5e8a76[_0x8fa3('0x59')]&&_0x5e8a76[_0x8fa3('0x59')]!==_0x8fa3('0x5a')){logger['info'](_0x8fa3('0x5b'),_0x8fa3('0x58'));_0xf451b0[_0x8fa3('0x5c')]=_0x516dd5;}else{_0xf451b0[_0x8fa3('0x5c')]='';}return getUser(_0x497334,_0x130e1a,_0x1524c6,_0x143528,_0x20e8b2,_0x40320b)['then'](function(_0x43951c){logger[_0x8fa3('0x22')]('['+_0x40320b[_0x8fa3('0x15')]()+_0x8fa3('0x5d'),_0x43951c[_0x8fa3('0x24')]);logger[_0x8fa3('0x22')]('['+_0x40320b['toUpperCase']()+_0x8fa3('0x5e'),_0x43951c[_0x8fa3('0x1e')]);return getEndUser(_0x43951c,_0x130e1a,_0x143528,_0x20e8b2,_0xf451b0,_0x40320b);})['then'](function(_0x2bea0a){logger[_0x8fa3('0x22')]('['+_0x40320b['toUpperCase']()+_0x8fa3('0x5f'),_0x2bea0a['enduserId']);logger[_0x8fa3('0x22')]('['+_0x40320b[_0x8fa3('0x15')]()+_0x8fa3('0x60'),_0xf451b0['calleridnum']);return getTicket(_0x2bea0a,_0x130e1a,_0x143528,_0x20e8b2,_0xf451b0,_0x33a905,_0x40320b);})[_0x8fa3('0x11')](function(_0x2c774d){logger[_0x8fa3('0x22')](util[_0x8fa3('0x4b')]('['+_0x40320b[_0x8fa3('0x15')]()+']\x20The\x20%s\x20ID\x20is:\x20%s',_0x33a905[_0x8fa3('0x3d')],_0x2c774d[_0x8fa3('0x4a')]));logger[_0x8fa3('0x22')](util[_0x8fa3('0x4b')]('['+_0x40320b[_0x8fa3('0x15')]()+']\x20Call\x20direction:\x20%s',_0x40320b));if(_0x40320b!=='unmanaged'){logger[_0x8fa3('0x22')]('['+_0x40320b[_0x8fa3('0x15')]()+']',_0x8fa3('0x61'));emit(_0x130e1a[_0x8fa3('0xe')],_0x1524c6[_0x8fa3('0x62')],_0x33a905[_0x8fa3('0x3d')],_0x2c774d[_0x8fa3('0x4a')]);}})[_0x8fa3('0x13')](function(_0x17751e){logger[_0x8fa3('0x14')]('['+_0x40320b[_0x8fa3('0x15')]()+_0x8fa3('0x63'),util['inspect'](_0x17751e,{'showHidden':!![],'depth':null}));});}; \ No newline at end of file diff --git a/server/services/ami/trigger/integration/freshdesk.js b/server/services/ami/trigger/integration/freshdesk.js index 1ab4971..5abafd1 100644 --- a/server/services/ami/trigger/integration/freshdesk.js +++ b/server/services/ami/trigger/integration/freshdesk.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xac38=['The\x20User\x20ID\x20is:','The\x20Enduser\x20ID\x20is:','The\x20Ticket\x20ID\x20is:','Displaying\x20ticket\x20to\x20agent\x20in\x20a\x20new\x20tab...','%s/helpdesk/tickets/%d','catch','error','serverUrl','recordingFormat','none','destcalleridname','[OUTBOUND]','user:%s','trigger:browser:url','unmanaged','lastevent','toUpperCase','lodash','md5','util','./util','../../../../config/environment','freshdesk','redis','defaults','application/json','emit','Creating\x20new\x20ticket...','format','Caller\x20-\x20%s','calleridname','calleridnum','getString','Subjects','Descriptions','
','Tags','name','custom_fields','mapValues','%s/api/v2/tickets','remoteUri','POST','then','info','Ticket\x20created!','validateEmail','%s/api/v2/agents','length','Agent\x20found!','contact','email','Admin\x20account\x20selected.','Invalid\x20email\x20format,\x20using\x20the\x20admin\x20account!','%s/api/v2/agents/me','Searching\x20enduser\x20with\x20phone','%s/api/v2/contacts','Enduser\x20found!','Enduser\x20created.','Basic\x20%s','apiKey','toString','base64','debug','[HTTP]','stringify','GET','map','forEach','type','string','nameField','toLowerCase','content','idField','push','variable','variableName','customField','customVariable','Variable','queue','stripTrailingSlash','monitor_format','[QUEUE]','Recording\x20is\x20enabled!','recordingURL','%s/api/voice/recordings/%s/downloads?type=uniqueid&token=%s','uniqueid','Authorization'];(function(_0x2a5bb7,_0x3a0bf3){var _0x503330=function(_0x61d76b){while(--_0x61d76b){_0x2a5bb7['push'](_0x2a5bb7['shift']());}};_0x503330(++_0x3a0bf3);}(_0xac38,0x11f));var _0x8ac3=function(_0xf26d40,_0x2f4f46){_0xf26d40=_0xf26d40-0x0;var _0x50b68c=_0xac38[_0xf26d40];return _0x50b68c;};'use strict';var _=require(_0x8ac3('0x0'));var rp=require('request-promise');var md5=require(_0x8ac3('0x1'));var util=require(_0x8ac3('0x2'));var Redis=require('ioredis');var intUtil=require(_0x8ac3('0x3'));var config=require(_0x8ac3('0x4'));var logger=require('../../../../config/logger')(_0x8ac3('0x5'));config[_0x8ac3('0x6')]=_[_0x8ac3('0x7')](config['redis'],{'host':'localhost','port':0x18eb});var io=require('socket.io-emitter')(new Redis(config[_0x8ac3('0x6')]));var headers={'Content-Type':_0x8ac3('0x8'),'Accept':'application/json'};function emit(_0xd2a11e,_0x424129,_0x38c5d2){io['to'](_0xd2a11e)[_0x8ac3('0x9')](_0x424129,_0x38c5d2);}function getTicket(_0x11afd2,_0xe48ca5,_0x114f20,_0x277eec,_0x30801d){logger['info'](_0x8ac3('0xa'));var _0x41922d=_['merge']({'responder_id':_0xe48ca5['id'],'requester_id':_0x114f20['id'],'name':util[_0x8ac3('0xb')](_0x8ac3('0xc'),_0x30801d[_0x8ac3('0xd')]),'phone':_0x30801d[_0x8ac3('0xe')],'source':0x3,'priority':0x1,'status':0x2,'subject':intUtil[_0x8ac3('0xf')](_0x277eec[_0x8ac3('0x10')],_0x30801d,'\x20'),'description':intUtil[_0x8ac3('0xf')](_0x277eec[_0x8ac3('0x11')],_0x30801d,_0x8ac3('0x12')),'tags':getTags(_0x277eec[_0x8ac3('0x13')],_0x8ac3('0x14'))},getCustomFields(_0x277eec['Fields'],_0x30801d));_0x41922d[_0x8ac3('0x15')]=_[_0x8ac3('0x16')](_['keyBy'](_0x41922d[_0x8ac3('0x15')],'id'),'value');return request({'uri':util[_0x8ac3('0xb')](_0x8ac3('0x17'),_0x11afd2[_0x8ac3('0x18')]),'method':_0x8ac3('0x19'),'body':_0x41922d})[_0x8ac3('0x1a')](function(_0x1334c0){logger[_0x8ac3('0x1b')](_0x8ac3('0x1c'));return _0x1334c0;});}function getUser(_0x1e6ce9,_0xb03aeb){if(intUtil[_0x8ac3('0x1d')](_0xb03aeb)){return request({'uri':util[_0x8ac3('0xb')](_0x8ac3('0x1e'),_0x1e6ce9['remoteUri']),'qs':{'email':_0xb03aeb}})['then'](function(_0x4aeeda){if(_0x4aeeda[_0x8ac3('0x1f')]){logger[_0x8ac3('0x1b')](_0x8ac3('0x20'));return _['find'](_0x4aeeda,function(_0x2a88f3){return _0x2a88f3[_0x8ac3('0x21')][_0x8ac3('0x22')]===_0xb03aeb;});}else{logger[_0x8ac3('0x1b')]('Agent\x20not\x20found,\x20using\x20the\x20admin\x20account!');return request({'uri':util[_0x8ac3('0xb')]('%s/api/v2/agents/me',_0x1e6ce9['remoteUri'])})[_0x8ac3('0x1a')](function(_0x446a5a){logger[_0x8ac3('0x1b')](_0x8ac3('0x23'));return _0x446a5a;});}});}else{logger['info'](_0x8ac3('0x24'));return request({'uri':util[_0x8ac3('0xb')](_0x8ac3('0x25'),_0x1e6ce9[_0x8ac3('0x18')])})['then'](function(_0x35e7a8){logger[_0x8ac3('0x1b')](_0x8ac3('0x23'));return _0x35e7a8;});}}function getEndUser(_0x898ec2,_0x3cc226,_0x2d18e6){logger['info'](_0x8ac3('0x26'),_0x2d18e6);return request({'uri':util[_0x8ac3('0xb')](_0x8ac3('0x27'),_0x898ec2['remoteUri']),'qs':{'phone':_0x2d18e6}})['then'](function(_0x58f2c7){if(_0x58f2c7[_0x8ac3('0x1f')]){logger[_0x8ac3('0x1b')](_0x8ac3('0x28'));return _['find'](_0x58f2c7,{'phone':_0x2d18e6});}else{logger[_0x8ac3('0x1b')]('Enduser\x20not\x20found,\x20creating\x20a\x20new\x20enduser!');return request({'uri':util['format'](_0x8ac3('0x27'),_0x898ec2[_0x8ac3('0x18')]),'method':_0x8ac3('0x19'),'body':{'name':_0x3cc226,'phone':_0x2d18e6}})[_0x8ac3('0x1a')](function(_0x389c9d){logger[_0x8ac3('0x1b')](_0x8ac3('0x29'));return _0x389c9d;});}});}function getAuth(_0x5674be){return util[_0x8ac3('0xb')](_0x8ac3('0x2a'),new Buffer(_0x5674be[_0x8ac3('0x2b')]+':X')[_0x8ac3('0x2c')](_0x8ac3('0x2d')));}function request(_0x47d38a){logger[_0x8ac3('0x2e')](_0x8ac3('0x2f'),JSON[_0x8ac3('0x30')](_0x47d38a));return rp(_[_0x8ac3('0x7')](_0x47d38a,{'method':_0x8ac3('0x31'),'headers':headers,'json':!![]}));}function getTags(_0x593619,_0x2a0220){var _0x26d9b4=[];if(_0x593619&&_0x593619['length']>0x0){_0x26d9b4=_[_0x8ac3('0x32')](_0x593619,_0x2a0220);}return _0x26d9b4;}function getCustomFields(_0x2b4184,_0x2efa7a){var _0x59d46a=[];var _0x426e28={'custom_fields':[]};if(_0x2b4184[_0x8ac3('0x1f')]>0x0){_[_0x8ac3('0x33')](_0x2b4184,function(_0xb0ba8e){if(_0xb0ba8e[_0x8ac3('0x34')]===_0x8ac3('0x35')&&_0xb0ba8e[_0x8ac3('0x36')]&&!_0xb0ba8e['customField']){_0x426e28[_0xb0ba8e[_0x8ac3('0x36')][_0x8ac3('0x37')]()]=_0xb0ba8e[_0x8ac3('0x38')][_0x8ac3('0x2c')]();}else if(_0xb0ba8e[_0x8ac3('0x34')]===_0x8ac3('0x35')&&_0xb0ba8e[_0x8ac3('0x39')]&&_0xb0ba8e['customField']){_0x426e28[_0x8ac3('0x15')][_0x8ac3('0x3a')]({'id':_0xb0ba8e[_0x8ac3('0x39')],'value':_0xb0ba8e['content'][_0x8ac3('0x2c')]()});}else if(_0xb0ba8e[_0x8ac3('0x34')]===_0x8ac3('0x3b')&&_0xb0ba8e[_0x8ac3('0x3c')]&&_0xb0ba8e[_0x8ac3('0x39')]&&_0xb0ba8e[_0x8ac3('0x3d')]){_0x2efa7a[_0xb0ba8e['variableName']]&&_0x426e28[_0x8ac3('0x15')][_0x8ac3('0x3a')]({'id':_0xb0ba8e[_0x8ac3('0x39')],'value':_0x2efa7a[_0xb0ba8e[_0x8ac3('0x3c')]][_0x8ac3('0x2c')]()});}else if(_0xb0ba8e['type']===_0x8ac3('0x3e')&&_0xb0ba8e[_0x8ac3('0x3f')]&&_0xb0ba8e[_0x8ac3('0x3f')][_0x8ac3('0x14')]&&_0xb0ba8e[_0x8ac3('0x39')]&&_0xb0ba8e[_0x8ac3('0x3d')]){_0x2efa7a[_0xb0ba8e[_0x8ac3('0x3f')][_0x8ac3('0x14')][_0x8ac3('0x37')]()]&&_0x426e28[_0x8ac3('0x15')]['push']({'id':_0xb0ba8e[_0x8ac3('0x39')],'value':_0x2efa7a[_0xb0ba8e[_0x8ac3('0x3f')][_0x8ac3('0x14')]['toLowerCase']()][_0x8ac3('0x2c')]()});}});}return _0x426e28;}exports[_0x8ac3('0x40')]=function(_0x18d5f2,_0x46e8c3,_0x3e4121,_0x1326b6,_0x3b9934,_0x47c184){var _0x473cd0,_0x3afb8b;_0x47c184[_0x8ac3('0x18')]=intUtil[_0x8ac3('0x41')](_0x47c184[_0x8ac3('0x18')]);_0x47c184['serverUrl']=intUtil[_0x8ac3('0x41')](_0x47c184['serverUrl']);if(_0x3b9934&&_0x3b9934[_0x8ac3('0x42')]){logger['info'](_0x8ac3('0x43'),_0x8ac3('0x44'));_0x46e8c3[_0x8ac3('0x45')]=util[_0x8ac3('0xb')](_0x8ac3('0x46'),_0x47c184['serverUrl'],_0x46e8c3[_0x8ac3('0x47')],md5(_0x46e8c3[_0x8ac3('0x47')]));}else{_0x46e8c3['recordingURL']='';}headers[_0x8ac3('0x48')]=getAuth(_0x47c184);return getUser(_0x47c184,_0x1326b6[_0x8ac3('0x22')])[_0x8ac3('0x1a')](function(_0x1357fa){_0x473cd0=_0x1357fa;logger[_0x8ac3('0x1b')](_0x8ac3('0x49'),_0x473cd0['id']);return getEndUser(_0x47c184,_0x46e8c3[_0x8ac3('0xd')],_0x46e8c3[_0x8ac3('0xe')]);})[_0x8ac3('0x1a')](function(_0x3e2082){_0x3afb8b=_0x3e2082;logger[_0x8ac3('0x1b')](_0x8ac3('0x4a'),_0x3afb8b['id']);return getTicket(_0x47c184,_0x473cd0,_0x3afb8b,_0x3e4121,_0x46e8c3);})[_0x8ac3('0x1a')](function(_0x2862be){if(_0x2862be&&_0x2862be['id']){logger['info'](_0x8ac3('0x1c'));logger[_0x8ac3('0x1b')](_0x8ac3('0x4b'),_0x2862be['id']);logger[_0x8ac3('0x1b')](_0x8ac3('0x43'),_0x8ac3('0x4c'));emit(util['format']('user:%s',_0x1326b6[_0x8ac3('0x14')]),'trigger:browser:url',{'uri':util[_0x8ac3('0xb')](_0x8ac3('0x4d'),_0x47c184[_0x8ac3('0x18')],_0x2862be['id'])});}})[_0x8ac3('0x4e')](function(_0x166ffe){logger[_0x8ac3('0x4f')](_0x8ac3('0x43'),JSON[_0x8ac3('0x30')](_0x166ffe));});};exports['outbound']=function(_0x25be7f,_0xafd566,_0x261a09,_0x345068,_0x3ec918,_0x3c58f1,_0x5d86e3){var _0x35140c,_0x1e79e8;_0x3c58f1[_0x8ac3('0x18')]=intUtil['stripTrailingSlash'](_0x3c58f1['remoteUri']);_0x3c58f1[_0x8ac3('0x50')]=intUtil[_0x8ac3('0x41')](_0x3c58f1[_0x8ac3('0x50')]);if(_0x5d86e3&&_0x5d86e3[_0x8ac3('0x51')]&&_0x5d86e3['recordingFormat']!==_0x8ac3('0x52')){logger[_0x8ac3('0x1b')]('[OUTBOUND]',_0x8ac3('0x44'));_0xafd566[_0x8ac3('0x45')]=util[_0x8ac3('0xb')]('%s/api/voice/recordings/%s/downloads?type=uniqueid&token=%s',_0x3c58f1[_0x8ac3('0x50')],_0xafd566[_0x8ac3('0x47')],md5(_0xafd566[_0x8ac3('0x47')]));}headers[_0x8ac3('0x48')]=getAuth(_0x3c58f1);return getUser(_0x3c58f1,_0x345068[_0x8ac3('0x22')])[_0x8ac3('0x1a')](function(_0x5ef926){_0x35140c=_0x5ef926;logger['info']('The\x20User\x20ID\x20is:',_0x35140c['id']);return getEndUser(_0x3c58f1,_0xafd566[_0x8ac3('0x53')],_0xafd566['destcalleridnum']);})[_0x8ac3('0x1a')](function(_0x1bb717){_0x1e79e8=_0x1bb717;logger[_0x8ac3('0x1b')]('The\x20Enduser\x20ID\x20is:',_0x1e79e8['id']);return getTicket(_0x3c58f1,_0x35140c,_0x1e79e8,_0x261a09,_0xafd566);})[_0x8ac3('0x1a')](function(_0x4fefb3){if(_0x4fefb3&&_0x4fefb3['id']){logger['info'](_0x8ac3('0x1c'));logger['info'](_0x8ac3('0x4b'),_0x4fefb3['id']);logger['info'](_0x8ac3('0x54'),_0x8ac3('0x4c'));emit(util['format'](_0x8ac3('0x55'),_0x345068[_0x8ac3('0x14')]),_0x8ac3('0x56'),{'uri':util['format']('%s/helpdesk/tickets/%d',_0x3c58f1[_0x8ac3('0x18')],_0x4fefb3['id'])});}})['catch'](function(_0x24974a){logger['error']('[OUTBOUND]',JSON[_0x8ac3('0x30')](_0x24974a));});};exports[_0x8ac3('0x57')]=function(_0x223292,_0x4e4af7,_0x101b2c,_0x5e71d0,_0x571af3,_0x2de4f2){var _0x5d6e89,_0xc2434b;_0x2de4f2[_0x8ac3('0x18')]=intUtil['stripTrailingSlash'](_0x2de4f2['remoteUri']);_0x2de4f2[_0x8ac3('0x50')]=intUtil[_0x8ac3('0x41')](_0x2de4f2[_0x8ac3('0x50')]);if(_0x571af3&&_0x571af3[_0x8ac3('0x42')]){logger[_0x8ac3('0x1b')]('['+_0x4e4af7[_0x8ac3('0x58')][_0x8ac3('0x59')]()+']',_0x8ac3('0x44'));_0x4e4af7[_0x8ac3('0x45')]=util[_0x8ac3('0xb')](_0x8ac3('0x46'),_0x2de4f2[_0x8ac3('0x50')],_0x4e4af7[_0x8ac3('0x47')],md5(_0x4e4af7[_0x8ac3('0x47')]));}else{_0x4e4af7[_0x8ac3('0x45')]='';}headers[_0x8ac3('0x48')]=getAuth(_0x2de4f2);return getUser(_0x2de4f2,'')[_0x8ac3('0x1a')](function(_0x81730e){_0x5d6e89=_0x81730e;logger[_0x8ac3('0x1b')](_0x8ac3('0x49'),_0x5d6e89['id']);return getEndUser(_0x2de4f2,_0x4e4af7[_0x8ac3('0xd')],_0x4e4af7[_0x8ac3('0xe')]);})[_0x8ac3('0x1a')](function(_0x44c73c){_0xc2434b=_0x44c73c;logger[_0x8ac3('0x1b')](_0x8ac3('0x4a'),_0xc2434b['id']);return getTicket(_0x2de4f2,_0x5d6e89,_0xc2434b,_0x101b2c,_0x4e4af7);})[_0x8ac3('0x1a')](function(_0x3ded2e){if(_0x3ded2e){logger[_0x8ac3('0x1b')](_0x8ac3('0x1c'));logger[_0x8ac3('0x1b')](_0x8ac3('0x4b'),_0x3ded2e['id']);}})[_0x8ac3('0x4e')](function(_0x597ec5){logger[_0x8ac3('0x4f')]('['+_0x4e4af7[_0x8ac3('0x58')][_0x8ac3('0x59')]()+']',JSON[_0x8ac3('0x30')](_0x597ec5));});}; \ No newline at end of file +var _0xd95f=['variableName','customVariable','Variable','queue','stripTrailingSlash','serverUrl','monitor_format','Recording\x20is\x20enabled!','recordingURL','Authorization','The\x20Enduser\x20ID\x20is:','The\x20Ticket\x20ID\x20is:','Displaying\x20ticket\x20to\x20agent\x20in\x20a\x20new\x20tab...','trigger:browser:url','%s/helpdesk/tickets/%d','catch','error','outbound','none','%s/api/voice/recordings/%s/downloads?type=uniqueid&token=%s','uniqueid','The\x20User\x20ID\x20is:','destcalleridname','destcalleridnum','user:%s','stringify','unmanaged','toUpperCase','request-promise','util','../../../../config/environment','../../../../config/logger','localhost','socket.io-emitter','redis','application/json','info','Creating\x20new\x20ticket...','format','Caller\x20-\x20%s','calleridname','calleridnum','getString','Subjects','Tags','name','Fields','keyBy','custom_fields','value','%s/api/v2/tickets','remoteUri','POST','then','Ticket\x20created!','validateEmail','%s/api/v2/agents','length','find','contact','email','Agent\x20not\x20found,\x20using\x20the\x20admin\x20account!','%s/api/v2/agents/me','Invalid\x20email\x20format,\x20using\x20the\x20admin\x20account!','Admin\x20account\x20selected.','Searching\x20enduser\x20with\x20phone','%s/api/v2/contacts','Enduser\x20found!','Enduser\x20not\x20found,\x20creating\x20a\x20new\x20enduser!','Basic\x20%s','toString','debug','defaults','GET','map','forEach','type','customField','nameField','toLowerCase','content','string','push','idField','variable'];(function(_0x4c22f2,_0x5d6447){var _0x1915cd=function(_0x4d5cf2){while(--_0x4d5cf2){_0x4c22f2['push'](_0x4c22f2['shift']());}};_0x1915cd(++_0x5d6447);}(_0xd95f,0x71));var _0xfd95=function(_0x175b0e,_0x486926){_0x175b0e=_0x175b0e-0x0;var _0x50113e=_0xd95f[_0x175b0e];return _0x50113e;};'use strict';var _=require('lodash');var rp=require(_0xfd95('0x0'));var md5=require('md5');var util=require(_0xfd95('0x1'));var Redis=require('ioredis');var intUtil=require('./util');var config=require(_0xfd95('0x2'));var logger=require(_0xfd95('0x3'))('freshdesk');config['redis']=_['defaults'](config['redis'],{'host':_0xfd95('0x4'),'port':0x18eb});var io=require(_0xfd95('0x5'))(new Redis(config[_0xfd95('0x6')]));var headers={'Content-Type':_0xfd95('0x7'),'Accept':_0xfd95('0x7')};function emit(_0x58ea2d,_0x4ad6c2,_0x1f8e68){io['to'](_0x58ea2d)['emit'](_0x4ad6c2,_0x1f8e68);}function getTicket(_0x18fd4f,_0x4d1bfd,_0x9217fa,_0x5b7b21,_0x14a3f8){logger[_0xfd95('0x8')](_0xfd95('0x9'));var _0xf8f5f5=_['merge']({'responder_id':_0x4d1bfd['id'],'requester_id':_0x9217fa['id'],'name':util[_0xfd95('0xa')](_0xfd95('0xb'),_0x14a3f8[_0xfd95('0xc')]),'phone':_0x14a3f8[_0xfd95('0xd')],'source':0x3,'priority':0x1,'status':0x2,'subject':intUtil[_0xfd95('0xe')](_0x5b7b21[_0xfd95('0xf')],_0x14a3f8,'\x20'),'description':intUtil[_0xfd95('0xe')](_0x5b7b21['Descriptions'],_0x14a3f8,'
'),'tags':getTags(_0x5b7b21[_0xfd95('0x10')],_0xfd95('0x11'))},getCustomFields(_0x5b7b21[_0xfd95('0x12')],_0x14a3f8));_0xf8f5f5['custom_fields']=_['mapValues'](_[_0xfd95('0x13')](_0xf8f5f5[_0xfd95('0x14')],'id'),_0xfd95('0x15'));return request({'uri':util[_0xfd95('0xa')](_0xfd95('0x16'),_0x18fd4f[_0xfd95('0x17')]),'method':_0xfd95('0x18'),'body':_0xf8f5f5})[_0xfd95('0x19')](function(_0x1b9ee6){logger[_0xfd95('0x8')](_0xfd95('0x1a'));return _0x1b9ee6;});}function getUser(_0x3b3e8e,_0x83a8b4){if(intUtil[_0xfd95('0x1b')](_0x83a8b4)){return request({'uri':util['format'](_0xfd95('0x1c'),_0x3b3e8e[_0xfd95('0x17')]),'qs':{'email':_0x83a8b4}})['then'](function(_0x4c22b0){if(_0x4c22b0[_0xfd95('0x1d')]){logger[_0xfd95('0x8')]('Agent\x20found!');return _[_0xfd95('0x1e')](_0x4c22b0,function(_0x943f75){return _0x943f75[_0xfd95('0x1f')][_0xfd95('0x20')]===_0x83a8b4;});}else{logger[_0xfd95('0x8')](_0xfd95('0x21'));return request({'uri':util[_0xfd95('0xa')](_0xfd95('0x22'),_0x3b3e8e['remoteUri'])})['then'](function(_0xa5f18b){logger[_0xfd95('0x8')]('Admin\x20account\x20selected.');return _0xa5f18b;});}});}else{logger[_0xfd95('0x8')](_0xfd95('0x23'));return request({'uri':util['format'](_0xfd95('0x22'),_0x3b3e8e[_0xfd95('0x17')])})['then'](function(_0xc56325){logger['info'](_0xfd95('0x24'));return _0xc56325;});}}function getEndUser(_0x1a454b,_0xfa5d71,_0x2086d9){logger['info'](_0xfd95('0x25'),_0x2086d9);return request({'uri':util[_0xfd95('0xa')](_0xfd95('0x26'),_0x1a454b['remoteUri']),'qs':{'phone':_0x2086d9}})['then'](function(_0x3e2cca){if(_0x3e2cca['length']){logger[_0xfd95('0x8')](_0xfd95('0x27'));return _['find'](_0x3e2cca,{'phone':_0x2086d9});}else{logger[_0xfd95('0x8')](_0xfd95('0x28'));return request({'uri':util[_0xfd95('0xa')](_0xfd95('0x26'),_0x1a454b[_0xfd95('0x17')]),'method':'POST','body':{'name':_0xfa5d71,'phone':_0x2086d9}})['then'](function(_0x32e0cd){logger[_0xfd95('0x8')]('Enduser\x20created.');return _0x32e0cd;});}});}function getAuth(_0x422ad4){return util['format'](_0xfd95('0x29'),new Buffer(_0x422ad4['apiKey']+':X')[_0xfd95('0x2a')]('base64'));}function request(_0xdbbaa9){logger[_0xfd95('0x2b')]('[HTTP]',JSON['stringify'](_0xdbbaa9));return rp(_[_0xfd95('0x2c')](_0xdbbaa9,{'method':_0xfd95('0x2d'),'headers':headers,'json':!![]}));}function getTags(_0x3ed06d,_0x239dc1){var _0x594a27=[];if(_0x3ed06d&&_0x3ed06d['length']>0x0){_0x594a27=_[_0xfd95('0x2e')](_0x3ed06d,_0x239dc1);}return _0x594a27;}function getCustomFields(_0x4cb9f8,_0x5de98d){var _0xfe0102=[];var _0xbaef3f={'custom_fields':[]};if(_0x4cb9f8[_0xfd95('0x1d')]>0x0){_[_0xfd95('0x2f')](_0x4cb9f8,function(_0x1cdda7){if(_0x1cdda7[_0xfd95('0x30')]==='string'&&_0x1cdda7['nameField']&&!_0x1cdda7[_0xfd95('0x31')]){_0xbaef3f[_0x1cdda7[_0xfd95('0x32')][_0xfd95('0x33')]()]=_0x1cdda7[_0xfd95('0x34')][_0xfd95('0x2a')]();}else if(_0x1cdda7[_0xfd95('0x30')]===_0xfd95('0x35')&&_0x1cdda7['idField']&&_0x1cdda7[_0xfd95('0x31')]){_0xbaef3f[_0xfd95('0x14')][_0xfd95('0x36')]({'id':_0x1cdda7[_0xfd95('0x37')],'value':_0x1cdda7[_0xfd95('0x34')][_0xfd95('0x2a')]()});}else if(_0x1cdda7[_0xfd95('0x30')]===_0xfd95('0x38')&&_0x1cdda7[_0xfd95('0x39')]&&_0x1cdda7[_0xfd95('0x37')]&&_0x1cdda7[_0xfd95('0x31')]){_0x5de98d[_0x1cdda7[_0xfd95('0x39')]]&&_0xbaef3f[_0xfd95('0x14')][_0xfd95('0x36')]({'id':_0x1cdda7[_0xfd95('0x37')],'value':_0x5de98d[_0x1cdda7[_0xfd95('0x39')]]['toString']()});}else if(_0x1cdda7[_0xfd95('0x30')]===_0xfd95('0x3a')&&_0x1cdda7[_0xfd95('0x3b')]&&_0x1cdda7['Variable']['name']&&_0x1cdda7['idField']&&_0x1cdda7['customField']){_0x5de98d[_0x1cdda7[_0xfd95('0x3b')][_0xfd95('0x11')][_0xfd95('0x33')]()]&&_0xbaef3f['custom_fields'][_0xfd95('0x36')]({'id':_0x1cdda7[_0xfd95('0x37')],'value':_0x5de98d[_0x1cdda7[_0xfd95('0x3b')][_0xfd95('0x11')][_0xfd95('0x33')]()][_0xfd95('0x2a')]()});}});}return _0xbaef3f;}exports[_0xfd95('0x3c')]=function(_0x4c3fc8,_0x545dd8,_0x145355,_0x157590,_0x417df4,_0x59f48f){var _0x243671,_0x2bf0a9;_0x59f48f[_0xfd95('0x17')]=intUtil[_0xfd95('0x3d')](_0x59f48f[_0xfd95('0x17')]);_0x59f48f[_0xfd95('0x3e')]=intUtil[_0xfd95('0x3d')](_0x59f48f['serverUrl']);if(_0x417df4&&_0x417df4[_0xfd95('0x3f')]){logger['info']('[QUEUE]',_0xfd95('0x40'));_0x545dd8[_0xfd95('0x41')]=util[_0xfd95('0xa')]('%s/api/voice/recordings/%s/downloads?type=uniqueid&token=%s',_0x59f48f[_0xfd95('0x3e')],_0x545dd8['uniqueid'],md5(_0x545dd8['uniqueid']));}else{_0x545dd8[_0xfd95('0x41')]='';}headers[_0xfd95('0x42')]=getAuth(_0x59f48f);return getUser(_0x59f48f,_0x157590[_0xfd95('0x20')])[_0xfd95('0x19')](function(_0xce2dd6){_0x243671=_0xce2dd6;logger[_0xfd95('0x8')]('The\x20User\x20ID\x20is:',_0x243671['id']);return getEndUser(_0x59f48f,_0x545dd8[_0xfd95('0xc')],_0x545dd8[_0xfd95('0xd')]);})[_0xfd95('0x19')](function(_0x5572b5){_0x2bf0a9=_0x5572b5;logger['info'](_0xfd95('0x43'),_0x2bf0a9['id']);return getTicket(_0x59f48f,_0x243671,_0x2bf0a9,_0x145355,_0x545dd8);})[_0xfd95('0x19')](function(_0x21c7f6){if(_0x21c7f6&&_0x21c7f6['id']){logger['info'](_0xfd95('0x1a'));logger[_0xfd95('0x8')](_0xfd95('0x44'),_0x21c7f6['id']);logger[_0xfd95('0x8')]('[QUEUE]',_0xfd95('0x45'));emit(util[_0xfd95('0xa')]('user:%s',_0x157590['name']),_0xfd95('0x46'),{'uri':util[_0xfd95('0xa')](_0xfd95('0x47'),_0x59f48f[_0xfd95('0x17')],_0x21c7f6['id'])});}})[_0xfd95('0x48')](function(_0x1b1ca3){logger[_0xfd95('0x49')]('[QUEUE]',JSON['stringify'](_0x1b1ca3));});};exports[_0xfd95('0x4a')]=function(_0x335bbc,_0x1c8354,_0x470d7c,_0x217cbc,_0x4705c4,_0x422573,_0x5d474d){var _0x53fe5f,_0x30d2a6;_0x422573['remoteUri']=intUtil['stripTrailingSlash'](_0x422573[_0xfd95('0x17')]);_0x422573[_0xfd95('0x3e')]=intUtil[_0xfd95('0x3d')](_0x422573[_0xfd95('0x3e')]);if(_0x5d474d&&_0x5d474d['recordingFormat']&&_0x5d474d['recordingFormat']!==_0xfd95('0x4b')){logger[_0xfd95('0x8')]('[OUTBOUND]','Recording\x20is\x20enabled!');_0x1c8354[_0xfd95('0x41')]=util[_0xfd95('0xa')](_0xfd95('0x4c'),_0x422573[_0xfd95('0x3e')],_0x1c8354[_0xfd95('0x4d')],md5(_0x1c8354[_0xfd95('0x4d')]));}headers[_0xfd95('0x42')]=getAuth(_0x422573);return getUser(_0x422573,_0x217cbc[_0xfd95('0x20')])[_0xfd95('0x19')](function(_0x54b6f9){_0x53fe5f=_0x54b6f9;logger[_0xfd95('0x8')](_0xfd95('0x4e'),_0x53fe5f['id']);return getEndUser(_0x422573,_0x1c8354[_0xfd95('0x4f')],_0x1c8354[_0xfd95('0x50')]);})['then'](function(_0x5479eb){_0x30d2a6=_0x5479eb;logger[_0xfd95('0x8')](_0xfd95('0x43'),_0x30d2a6['id']);return getTicket(_0x422573,_0x53fe5f,_0x30d2a6,_0x470d7c,_0x1c8354);})[_0xfd95('0x19')](function(_0x521b35){if(_0x521b35&&_0x521b35['id']){logger['info'](_0xfd95('0x1a'));logger[_0xfd95('0x8')](_0xfd95('0x44'),_0x521b35['id']);logger[_0xfd95('0x8')]('[OUTBOUND]',_0xfd95('0x45'));emit(util[_0xfd95('0xa')](_0xfd95('0x51'),_0x217cbc[_0xfd95('0x11')]),'trigger:browser:url',{'uri':util[_0xfd95('0xa')](_0xfd95('0x47'),_0x422573[_0xfd95('0x17')],_0x521b35['id'])});}})[_0xfd95('0x48')](function(_0x2dfd50){logger[_0xfd95('0x49')]('[OUTBOUND]',JSON[_0xfd95('0x52')](_0x2dfd50));});};exports[_0xfd95('0x53')]=function(_0x5a492f,_0x3a2d7e,_0x2fee5b,_0x4a4a98,_0x4d046b,_0x382cc5){var _0xdda15b,_0x5c5ef6;_0x382cc5[_0xfd95('0x17')]=intUtil[_0xfd95('0x3d')](_0x382cc5[_0xfd95('0x17')]);_0x382cc5['serverUrl']=intUtil[_0xfd95('0x3d')](_0x382cc5[_0xfd95('0x3e')]);if(_0x4d046b&&_0x4d046b[_0xfd95('0x3f')]){logger[_0xfd95('0x8')]('['+_0x3a2d7e['lastevent']['toUpperCase']()+']','Recording\x20is\x20enabled!');_0x3a2d7e['recordingURL']=util[_0xfd95('0xa')]('%s/api/voice/recordings/%s/downloads?type=uniqueid&token=%s',_0x382cc5['serverUrl'],_0x3a2d7e[_0xfd95('0x4d')],md5(_0x3a2d7e[_0xfd95('0x4d')]));}else{_0x3a2d7e[_0xfd95('0x41')]='';}headers[_0xfd95('0x42')]=getAuth(_0x382cc5);return getUser(_0x382cc5,'')[_0xfd95('0x19')](function(_0x526706){_0xdda15b=_0x526706;logger['info'](_0xfd95('0x4e'),_0xdda15b['id']);return getEndUser(_0x382cc5,_0x3a2d7e[_0xfd95('0xc')],_0x3a2d7e[_0xfd95('0xd')]);})[_0xfd95('0x19')](function(_0x5f2908){_0x5c5ef6=_0x5f2908;logger['info'](_0xfd95('0x43'),_0x5c5ef6['id']);return getTicket(_0x382cc5,_0xdda15b,_0x5c5ef6,_0x2fee5b,_0x3a2d7e);})[_0xfd95('0x19')](function(_0x173548){if(_0x173548){logger[_0xfd95('0x8')](_0xfd95('0x1a'));logger[_0xfd95('0x8')](_0xfd95('0x44'),_0x173548['id']);}})['catch'](function(_0x15d042){logger['error']('['+_0x3a2d7e['lastevent'][_0xfd95('0x54')]()+']',JSON['stringify'](_0x15d042));});}; \ No newline at end of file diff --git a/server/services/ami/trigger/integration/freshsales.js b/server/services/ami/trigger/integration/freshsales.js index 1658ec9..0dbabbd 100644 --- a/server/services/ami/trigger/integration/freshsales.js +++ b/server/services/ami/trigger/integration/freshsales.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x4064=['then','adminId','Admin\x20found:','Requested\x20Resource\x20not\x20Found','catch','error','message','GET','/api/selector/owners','Getting\x20user\x20list','users','Getting\x20user\x20with\x20email','agentEmail','userEmail','length','email','User\x20found:','userId','Admin\x20selected','adminEmail','toUpperCase','Getting\x20contacts\x20filter','forEach','All\x20Contacts','Getting\x20contact\x20list','contacts','find','contactNumber','endUserId','Contact\x20found:','Contact\x20created:','POST','/api/contacts','format','YYYY-MM-DDTHH:mm:ss','Creating\x20new\x20task','/api/tasks','getString','add','ticketId','task','Task\x20created:','/contacts/','user:%s','emit','trigger:browser:url','Token\x20token=','apiKey','remoteUri','stripTrailingSlash','toLowerCase','calleridnum','%s/api/voice/recordings/%s/downloads?type=uniqueid&token=%s','uniqueid','monitor_format','[QUEUE]','Recording\x20is\x20enabled!','recordingURL','recordingFormat','none','The\x20ticket\x20ID\x20is:\x20%s','Displaying\x20task\x20in\x20a\x20new\x20tab...','name',']\x20Error\x20running\x20Freshsales\x20integration','inspect','lodash','request-promise','md5','ioredis','./util','../../../../config/environment','../../../../config/logger','freshsales','redis','defaults','localhost','socket.io-emitter','headers','info','Getting\x20admin\x20information'];(function(_0x44a924,_0x1d5cf6){var _0x19dc4c=function(_0x30247f){while(--_0x30247f){_0x44a924['push'](_0x44a924['shift']());}};_0x19dc4c(++_0x1d5cf6);}(_0x4064,0x131));var _0x4406=function(_0x490a6f,_0x3d6d34){_0x490a6f=_0x490a6f-0x0;var _0x3b8c4a=_0x4064[_0x490a6f];return _0x3b8c4a;};'use strict';var _=require(_0x4406('0x0'));var rp=require(_0x4406('0x1'));var md5=require(_0x4406('0x2'));var util=require('util');var moment=require('moment');var Promise=require('bluebird');var Redis=require(_0x4406('0x3'));var intUtil=require(_0x4406('0x4'));var config=require(_0x4406('0x5'));var logger=require(_0x4406('0x6'))(_0x4406('0x7'));config[_0x4406('0x8')]=_[_0x4406('0x9')](config['redis'],{'host':_0x4406('0xa'),'port':0x18eb});var io=require(_0x4406('0xb'))(new Redis(config[_0x4406('0x8')]));function getAdminId(_0x3d36fb,_0x493e27,_0x5914b2,_0x16f085){return new Promise(function(_0xce4287,_0x555517){var _0x2a870d=![];var _0x31c4cc={'method':'GET','uri':_0x16f085+'/api/selector/owners','json':!![]};_0x31c4cc[_0x4406('0xc')]=_0x5914b2;logger[_0x4406('0xd')](_0x4406('0xe'));return rp(_0x31c4cc)[_0x4406('0xf')](function(_0x27bd00){if(_0x27bd00){var _0x551ceb=_0x27bd00['users'];var _0x4f2320=null;for(_0x4f2320=0x0;_0x4f2320<_0x551ceb['length'];_0x4f2320++){if(_0x551ceb[_0x4f2320]['email']===_0x3d36fb['adminEmail']){_0x3d36fb[_0x4406('0x10')]=_0x551ceb[_0x4f2320]['id'];_0x2a870d=!![];}}if(_0x2a870d){logger[_0x4406('0xd')](_0x4406('0x11'),_0x3d36fb[_0x4406('0x10')]);_0xce4287(_0x3d36fb);}else{_0x555517({'statusCode':0x194,'message':_0x4406('0x12')});}}else{_0x555517({'statusCode':0x194,'message':_0x4406('0x12')});}})[_0x4406('0x13')](function(_0x215dad){logger[_0x4406('0x14')]('['+[_0x493e27['toUpperCase']()]+']',_0x215dad[_0x4406('0x15')]);_0x555517(_0x215dad);});});}function getUser(_0x5cfb29,_0x2f057f,_0x401dc7){return function(_0x32f17e){return new Promise(function(_0x5541e8,_0x56900f){var _0x45d3b7={'method':_0x4406('0x16'),'uri':_0x401dc7+_0x4406('0x17'),'json':!![]};_0x45d3b7[_0x4406('0xc')]=_0x2f057f;logger['info'](_0x4406('0x18'));return rp(_0x45d3b7)[_0x4406('0xf')](function(_0x54bd0b){if(_0x54bd0b){var _0x3476bf=_0x54bd0b[_0x4406('0x19')];var _0x307ec7=![];var _0x3df578=null;if(_0x32f17e['agentEmail']!==null){logger[_0x4406('0xd')](_0x4406('0x1a'),_0x32f17e[_0x4406('0x1b')]);_0x32f17e[_0x4406('0x1c')]=_0x32f17e[_0x4406('0x1b')];for(_0x3df578=0x0;_0x3df578<_0x3476bf[_0x4406('0x1d')];_0x3df578++){if(_0x3476bf[_0x3df578][_0x4406('0x1e')]===_0x32f17e[_0x4406('0x1b')]){_0x307ec7=!![];_0x32f17e['userId']=_0x3476bf[_0x3df578]['id'];logger[_0x4406('0xd')](_0x4406('0x1f'),_0x32f17e[_0x4406('0x20')]);}}}if(!_0x307ec7){logger[_0x4406('0xd')](_0x4406('0x21'));_0x32f17e[_0x4406('0x1c')]=_0x32f17e[_0x4406('0x22')];_0x32f17e[_0x4406('0x20')]=_0x32f17e['adminId'];_0x307ec7=!![];}if(_0x307ec7){_0x5541e8(_0x32f17e);}else{_0x56900f({'statusCode':0x194,'message':_0x4406('0x12')});}}else{_0x56900f({'statusCode':0x194,'message':_0x4406('0x12')});}})[_0x4406('0x13')](function(_0x33dd7a){logger[_0x4406('0x14')]('['+[_0x5cfb29[_0x4406('0x23')]()]+']',_0x33dd7a[_0x4406('0x15')]);_0x56900f(_0x33dd7a);});});};}function getEndUser(_0x15893b,_0x5a9995,_0x38b481){return function(_0x430b87){return new Promise(function(_0x1d488e,_0x12325b){var _0x764445=0x0;var _0x50e30f={'method':'GET','uri':_0x38b481+'/api/contacts/filters','json':!![]};_0x50e30f['headers']=_0x5a9995;logger[_0x4406('0xd')](_0x4406('0x24'));return rp(_0x50e30f)[_0x4406('0xf')](function(_0x4ea13a){_0x4ea13a['filters'][_0x4406('0x25')](function(_0x1dfd9a){if(_0x1dfd9a['name']===_0x4406('0x26')){_0x764445=_0x1dfd9a['id'];}});})[_0x4406('0xf')](function(){logger[_0x4406('0xd')](_0x4406('0x27'));var _0x4df132={'method':_0x4406('0x16'),'uri':_0x38b481+'/api/contacts/view/'+_0x764445,'json':!![]};_0x4df132[_0x4406('0xc')]=_0x5a9995;return rp(_0x4df132);})[_0x4406('0xf')](function(_0x3e1de7){logger['info']('Searching\x20contact\x20with\x20phone',_0x430b87['contactNumber']);if(_0x3e1de7[_0x4406('0x28')][_0x4406('0x1d')]>0x0){var _0x1a3141=_[_0x4406('0x29')](_0x3e1de7[_0x4406('0x28')],function(_0x232c4c){if(_0x232c4c['work_number']===_0x430b87['contactNumber']||_0x232c4c['mobile_number']===_0x430b87[_0x4406('0x2a')]){return _0x232c4c;}});if(_0x1a3141){_0x430b87[_0x4406('0x2b')]=_0x1a3141['id'];logger[_0x4406('0xd')](_0x4406('0x2c'),_0x430b87[_0x4406('0x2b')]);_0x1d488e(_0x430b87);}else{return createEndUser(_0x430b87,_0x15893b,_0x5a9995,_0x38b481)['then'](function(_0x58931c){logger[_0x4406('0xd')](_0x4406('0x2d'),_0x430b87[_0x4406('0x2b')]);_0x1d488e(_0x58931c);});}}else{return createEndUser(_0x430b87,_0x15893b,_0x5a9995,_0x38b481)[_0x4406('0xf')](function(_0x2b1dc5){logger[_0x4406('0xd')]('Contact\x20created:',_0x430b87[_0x4406('0x2b')]);_0x1d488e(_0x2b1dc5);});}})[_0x4406('0x13')](function(_0x11f8f0){throw new Error(_0x11f8f0[_0x4406('0x15')]);});});};}function createEndUser(_0x240997,_0x222b7c,_0x29fd5a,_0x98d54f){return new Promise(function(_0xc307ae,_0x1a7691){var _0x5dd2d2=moment();var _0x126cdf={'method':_0x4406('0x2e'),'uri':_0x98d54f+_0x4406('0x2f'),'body':{'contact':{'last_name':_0x240997['contactNumber'],'work_number':_0x240997[_0x4406('0x2a')],'mobile_number':_0x240997[_0x4406('0x2a')],'owner_id':_0x240997['userId'],'created_at':_0x5dd2d2[_0x4406('0x30')](_0x4406('0x31'))}},'json':!![]};_0x126cdf[_0x4406('0xc')]=_0x29fd5a;logger[_0x4406('0xd')]('Contact\x20not\x20found,\x20creating\x20a\x20new\x20contact');return rp(_0x126cdf)[_0x4406('0xf')](function(_0x330075){_0x240997[_0x4406('0x2b')]=_0x330075['contact']['id'];_0xc307ae(_0x240997);})[_0x4406('0x13')](function(_0x40c883){logger['error']('['+[_0x222b7c[_0x4406('0x23')]()]+']',_0x40c883['message']);_0x1a7691(_0x40c883['message']);});});}function getTicket(_0x2afca9,_0x65908b,_0x3b014a,_0x244577,_0x57d704){return function(_0x53a4e6){logger[_0x4406('0xd')](_0x4406('0x32'));return new Promise(function(_0x37bc06,_0x17e074){var _0x33f9b7=moment();var _0x531142={'method':_0x4406('0x2e'),'uri':_0x3b014a+_0x4406('0x33'),'body':{'title':intUtil[_0x4406('0x34')](_0x244577['Subjects'],_0x57d704,'\x20'),'description':intUtil[_0x4406('0x34')](_0x244577['Descriptions'],_0x57d704,'\x0a'),'owner_id':_0x53a4e6[_0x4406('0x20')],'creater_id':_0x53a4e6['adminId'],'targetable_id':_0x53a4e6['endUserId'],'targetable_type':'Contact','created_at':_0x33f9b7[_0x4406('0x30')](_0x4406('0x31')),'due_date':_0x33f9b7[_0x4406('0x35')](0x1e,'m')[_0x4406('0x30')](_0x4406('0x31'))},'json':!![]};_0x531142[_0x4406('0xc')]=_0x65908b;return rp(_0x531142)[_0x4406('0xf')](function(_0x42b162){_0x53a4e6[_0x4406('0x36')]=_0x42b162[_0x4406('0x37')]['id'];logger['info'](_0x4406('0x38'),_0x53a4e6['ticketId']);_0x37bc06(_0x53a4e6);})[_0x4406('0x13')](function(_0x4ffd46){logger[_0x4406('0x14')]('['+[_0x2afca9[_0x4406('0x23')]()]+']',_0x4ffd46['message']);_0x17e074(_0x4ffd46['message']);});});};}function emit(_0x20c1d2,_0x2c32c7,_0xfa9321){var _0x4379f3={'uri':_0x20c1d2+_0x4406('0x39')+_0xfa9321};io['to'](util[_0x4406('0x30')](_0x4406('0x3a'),_0x2c32c7))[_0x4406('0x3b')](_0x4406('0x3c'),_0x4379f3);}exports['cs']=function(_0x1f765e,_0x4c31f1,_0x341f7f,_0x685a4e,_0x4058d3,_0x39b6c0,_0x51b77f,_0x2affae){var _0xcab284={};var _0x32ea56={'Authorization':_0x4406('0x3d')+_0x39b6c0[_0x4406('0x3e')]};_0x39b6c0[_0x4406('0x3f')]=intUtil[_0x4406('0x40')](_0x39b6c0[_0x4406('0x3f')]);_0x39b6c0['serverUrl']=intUtil[_0x4406('0x40')](_0x39b6c0['serverUrl']);var _0x4600ae=_0x39b6c0[_0x4406('0x3f')];_0xcab284[_0x4406('0x22')]=_0x39b6c0['username'];_0xcab284[_0x4406('0x2a')]=_0x2affae[_0x4406('0x41')]()==='outbound'?_0x4c31f1['destcalleridnum']:_0x4c31f1[_0x4406('0x42')];_0xcab284['callDirection']=_0x2affae==='queue'||_0x2affae==='unmanaged'?'queue':'outbound';if(_0x685a4e){_0xcab284[_0x4406('0x1b')]=_0x685a4e[_0x4406('0x1e')];}var _0x53817a=util[_0x4406('0x30')](_0x4406('0x43'),_0x39b6c0['serverUrl'],_0x4c31f1[_0x4406('0x44')],md5(_0x4c31f1[_0x4406('0x44')]));if(_0x4058d3&&_0x4058d3[_0x4406('0x45')]){logger[_0x4406('0xd')](_0x4406('0x46'),_0x4406('0x47'));_0x4c31f1[_0x4406('0x48')]=_0x53817a;}else if(_0x51b77f&&_0x51b77f[_0x4406('0x49')]&&_0x51b77f['recordingFormat']!==_0x4406('0x4a')){logger[_0x4406('0xd')]('[OUTBOUND]',_0x4406('0x47'));_0x4c31f1[_0x4406('0x48')]=_0x53817a;}else{_0x4c31f1[_0x4406('0x48')]='';}return getAdminId(_0xcab284,_0x2affae,_0x32ea56,_0x4600ae)[_0x4406('0xf')](getUser(_0x2affae,_0x32ea56,_0x4600ae))['then'](getEndUser(_0x2affae,_0x32ea56,_0x4600ae))['then'](getTicket(_0x2affae,_0x32ea56,_0x4600ae,_0x341f7f,_0x4c31f1))['then'](function(_0x520dc6){logger[_0x4406('0xd')](util[_0x4406('0x30')](_0x4406('0x4b'),_0x520dc6[_0x4406('0x36')]));if(_0x2affae!=='unmanaged'){logger['info']('['+[_0x2affae[_0x4406('0x23')]()]+']',_0x4406('0x4c'));emit(_0x4600ae,_0x685a4e[_0x4406('0x4d')],_0x520dc6[_0x4406('0x2b')]);}})[_0x4406('0x13')](function(_0x3def23){logger[_0x4406('0x14')]('['+[_0x2affae['toUpperCase']()]+_0x4406('0x4e'),util[_0x4406('0x4f')](_0x3def23,{'showHidden':!![],'depth':null}));});}; \ No newline at end of file +var _0xf60b=['/api/selector/owners','headers','info','Getting\x20admin\x20information','then','users','length','email','adminId','Admin\x20found:','Requested\x20Resource\x20not\x20Found','catch','error','toUpperCase','message','Getting\x20user\x20list','agentEmail','userId','Admin\x20selected','userEmail','/api/contacts/filters','filters','forEach','name','All\x20Contacts','Getting\x20contact\x20list','/api/contacts/view/','Searching\x20contact\x20with\x20phone','contactNumber','contacts','find','work_number','mobile_number','endUserId','Contact\x20created:','format','YYYY-MM-DDTHH:mm:ss','contact','POST','/api/tasks','getString','Subjects','Descriptions','Contact','ticketId','Task\x20created:','/contacts/','trigger:browser:url','apiKey','remoteUri','stripTrailingSlash','serverUrl','username','toLowerCase','outbound','destcalleridnum','calleridnum','callDirection','queue','%s/api/voice/recordings/%s/downloads?type=uniqueid&token=%s','Recording\x20is\x20enabled!','recordingURL','recordingFormat','none','[OUTBOUND]','The\x20ticket\x20ID\x20is:\x20%s','Displaying\x20task\x20in\x20a\x20new\x20tab...',']\x20Error\x20running\x20Freshsales\x20integration','lodash','request-promise','md5','util','moment','bluebird','./util','../../../../config/environment','../../../../config/logger','freshsales','redis','defaults','localhost','socket.io-emitter','GET'];(function(_0x32112a,_0xb8b2dd){var _0x40795c=function(_0x4b0f7d){while(--_0x4b0f7d){_0x32112a['push'](_0x32112a['shift']());}};_0x40795c(++_0xb8b2dd);}(_0xf60b,0x190));var _0xbf60=function(_0x962fc5,_0x58f074){_0x962fc5=_0x962fc5-0x0;var _0x43667c=_0xf60b[_0x962fc5];return _0x43667c;};'use strict';var _=require(_0xbf60('0x0'));var rp=require(_0xbf60('0x1'));var md5=require(_0xbf60('0x2'));var util=require(_0xbf60('0x3'));var moment=require(_0xbf60('0x4'));var Promise=require(_0xbf60('0x5'));var Redis=require('ioredis');var intUtil=require(_0xbf60('0x6'));var config=require(_0xbf60('0x7'));var logger=require(_0xbf60('0x8'))(_0xbf60('0x9'));config[_0xbf60('0xa')]=_[_0xbf60('0xb')](config[_0xbf60('0xa')],{'host':_0xbf60('0xc'),'port':0x18eb});var io=require(_0xbf60('0xd'))(new Redis(config[_0xbf60('0xa')]));function getAdminId(_0x5d8bfd,_0x119b12,_0x4066bb,_0x5c1c08){return new Promise(function(_0x2ea673,_0x527385){var _0x4f9d71=![];var _0x379dcd={'method':_0xbf60('0xe'),'uri':_0x5c1c08+_0xbf60('0xf'),'json':!![]};_0x379dcd[_0xbf60('0x10')]=_0x4066bb;logger[_0xbf60('0x11')](_0xbf60('0x12'));return rp(_0x379dcd)[_0xbf60('0x13')](function(_0x3c6dfe){if(_0x3c6dfe){var _0x4edaea=_0x3c6dfe[_0xbf60('0x14')];var _0xa9a0db=null;for(_0xa9a0db=0x0;_0xa9a0db<_0x4edaea[_0xbf60('0x15')];_0xa9a0db++){if(_0x4edaea[_0xa9a0db][_0xbf60('0x16')]===_0x5d8bfd['adminEmail']){_0x5d8bfd[_0xbf60('0x17')]=_0x4edaea[_0xa9a0db]['id'];_0x4f9d71=!![];}}if(_0x4f9d71){logger[_0xbf60('0x11')](_0xbf60('0x18'),_0x5d8bfd[_0xbf60('0x17')]);_0x2ea673(_0x5d8bfd);}else{_0x527385({'statusCode':0x194,'message':_0xbf60('0x19')});}}else{_0x527385({'statusCode':0x194,'message':_0xbf60('0x19')});}})[_0xbf60('0x1a')](function(_0x54d9fb){logger[_0xbf60('0x1b')]('['+[_0x119b12[_0xbf60('0x1c')]()]+']',_0x54d9fb[_0xbf60('0x1d')]);_0x527385(_0x54d9fb);});});}function getUser(_0x3d702b,_0x4a5381,_0xb4dcdf){return function(_0x572ebb){return new Promise(function(_0x1fa0d0,_0x80211b){var _0x193f8d={'method':_0xbf60('0xe'),'uri':_0xb4dcdf+_0xbf60('0xf'),'json':!![]};_0x193f8d[_0xbf60('0x10')]=_0x4a5381;logger[_0xbf60('0x11')](_0xbf60('0x1e'));return rp(_0x193f8d)[_0xbf60('0x13')](function(_0x31bfed){if(_0x31bfed){var _0x3f4650=_0x31bfed[_0xbf60('0x14')];var _0x2a7f00=![];var _0x4177bb=null;if(_0x572ebb['agentEmail']!==null){logger[_0xbf60('0x11')]('Getting\x20user\x20with\x20email',_0x572ebb[_0xbf60('0x1f')]);_0x572ebb['userEmail']=_0x572ebb[_0xbf60('0x1f')];for(_0x4177bb=0x0;_0x4177bb<_0x3f4650['length'];_0x4177bb++){if(_0x3f4650[_0x4177bb][_0xbf60('0x16')]===_0x572ebb['agentEmail']){_0x2a7f00=!![];_0x572ebb['userId']=_0x3f4650[_0x4177bb]['id'];logger[_0xbf60('0x11')]('User\x20found:',_0x572ebb[_0xbf60('0x20')]);}}}if(!_0x2a7f00){logger['info'](_0xbf60('0x21'));_0x572ebb[_0xbf60('0x22')]=_0x572ebb['adminEmail'];_0x572ebb[_0xbf60('0x20')]=_0x572ebb[_0xbf60('0x17')];_0x2a7f00=!![];}if(_0x2a7f00){_0x1fa0d0(_0x572ebb);}else{_0x80211b({'statusCode':0x194,'message':_0xbf60('0x19')});}}else{_0x80211b({'statusCode':0x194,'message':_0xbf60('0x19')});}})[_0xbf60('0x1a')](function(_0x4f3e1b){logger[_0xbf60('0x1b')]('['+[_0x3d702b[_0xbf60('0x1c')]()]+']',_0x4f3e1b[_0xbf60('0x1d')]);_0x80211b(_0x4f3e1b);});});};}function getEndUser(_0x1354d2,_0x295ceb,_0x32100){return function(_0x3b41fb){return new Promise(function(_0x31abbe,_0x4e028e){var _0x13cc36=0x0;var _0xdf964f={'method':'GET','uri':_0x32100+_0xbf60('0x23'),'json':!![]};_0xdf964f[_0xbf60('0x10')]=_0x295ceb;logger['info']('Getting\x20contacts\x20filter');return rp(_0xdf964f)['then'](function(_0x3bec99){_0x3bec99[_0xbf60('0x24')][_0xbf60('0x25')](function(_0x32465c){if(_0x32465c[_0xbf60('0x26')]===_0xbf60('0x27')){_0x13cc36=_0x32465c['id'];}});})[_0xbf60('0x13')](function(){logger['info'](_0xbf60('0x28'));var _0x222340={'method':_0xbf60('0xe'),'uri':_0x32100+_0xbf60('0x29')+_0x13cc36,'json':!![]};_0x222340[_0xbf60('0x10')]=_0x295ceb;return rp(_0x222340);})[_0xbf60('0x13')](function(_0x397455){logger[_0xbf60('0x11')](_0xbf60('0x2a'),_0x3b41fb[_0xbf60('0x2b')]);if(_0x397455[_0xbf60('0x2c')][_0xbf60('0x15')]>0x0){var _0x14582e=_[_0xbf60('0x2d')](_0x397455['contacts'],function(_0x5aef6e){if(_0x5aef6e[_0xbf60('0x2e')]===_0x3b41fb[_0xbf60('0x2b')]||_0x5aef6e[_0xbf60('0x2f')]===_0x3b41fb['contactNumber']){return _0x5aef6e;}});if(_0x14582e){_0x3b41fb[_0xbf60('0x30')]=_0x14582e['id'];logger['info']('Contact\x20found:',_0x3b41fb[_0xbf60('0x30')]);_0x31abbe(_0x3b41fb);}else{return createEndUser(_0x3b41fb,_0x1354d2,_0x295ceb,_0x32100)[_0xbf60('0x13')](function(_0x22c72d){logger[_0xbf60('0x11')](_0xbf60('0x31'),_0x3b41fb[_0xbf60('0x30')]);_0x31abbe(_0x22c72d);});}}else{return createEndUser(_0x3b41fb,_0x1354d2,_0x295ceb,_0x32100)[_0xbf60('0x13')](function(_0x1af968){logger[_0xbf60('0x11')](_0xbf60('0x31'),_0x3b41fb[_0xbf60('0x30')]);_0x31abbe(_0x1af968);});}})[_0xbf60('0x1a')](function(_0x33aef0){throw new Error(_0x33aef0[_0xbf60('0x1d')]);});});};}function createEndUser(_0x1ea34c,_0xd34b6a,_0x418379,_0x7456e2){return new Promise(function(_0x29ab84,_0x48a9c0){var _0x175a3a=moment();var _0x116051={'method':'POST','uri':_0x7456e2+'/api/contacts','body':{'contact':{'last_name':_0x1ea34c[_0xbf60('0x2b')],'work_number':_0x1ea34c['contactNumber'],'mobile_number':_0x1ea34c[_0xbf60('0x2b')],'owner_id':_0x1ea34c['userId'],'created_at':_0x175a3a[_0xbf60('0x32')](_0xbf60('0x33'))}},'json':!![]};_0x116051[_0xbf60('0x10')]=_0x418379;logger[_0xbf60('0x11')]('Contact\x20not\x20found,\x20creating\x20a\x20new\x20contact');return rp(_0x116051)[_0xbf60('0x13')](function(_0xda7821){_0x1ea34c[_0xbf60('0x30')]=_0xda7821[_0xbf60('0x34')]['id'];_0x29ab84(_0x1ea34c);})['catch'](function(_0xb3242a){logger[_0xbf60('0x1b')]('['+[_0xd34b6a[_0xbf60('0x1c')]()]+']',_0xb3242a[_0xbf60('0x1d')]);_0x48a9c0(_0xb3242a[_0xbf60('0x1d')]);});});}function getTicket(_0x15cdd2,_0x579639,_0xdf83dc,_0x34f97b,_0x1dc316){return function(_0x352801){logger[_0xbf60('0x11')]('Creating\x20new\x20task');return new Promise(function(_0x5c7fac,_0x589292){var _0x33703e=moment();var _0x3477c8={'method':_0xbf60('0x35'),'uri':_0xdf83dc+_0xbf60('0x36'),'body':{'title':intUtil[_0xbf60('0x37')](_0x34f97b[_0xbf60('0x38')],_0x1dc316,'\x20'),'description':intUtil[_0xbf60('0x37')](_0x34f97b[_0xbf60('0x39')],_0x1dc316,'\x0a'),'owner_id':_0x352801[_0xbf60('0x20')],'creater_id':_0x352801[_0xbf60('0x17')],'targetable_id':_0x352801['endUserId'],'targetable_type':_0xbf60('0x3a'),'created_at':_0x33703e[_0xbf60('0x32')](_0xbf60('0x33')),'due_date':_0x33703e['add'](0x1e,'m')['format'](_0xbf60('0x33'))},'json':!![]};_0x3477c8['headers']=_0x579639;return rp(_0x3477c8)[_0xbf60('0x13')](function(_0x187193){_0x352801[_0xbf60('0x3b')]=_0x187193['task']['id'];logger[_0xbf60('0x11')](_0xbf60('0x3c'),_0x352801['ticketId']);_0x5c7fac(_0x352801);})['catch'](function(_0x260378){logger[_0xbf60('0x1b')]('['+[_0x15cdd2[_0xbf60('0x1c')]()]+']',_0x260378[_0xbf60('0x1d')]);_0x589292(_0x260378['message']);});});};}function emit(_0x34c89b,_0x302a5f,_0x24dfd2){var _0x45d33b={'uri':_0x34c89b+_0xbf60('0x3d')+_0x24dfd2};io['to'](util[_0xbf60('0x32')]('user:%s',_0x302a5f))['emit'](_0xbf60('0x3e'),_0x45d33b);}exports['cs']=function(_0x4c47ce,_0x1f452e,_0x5c41b7,_0x1eda93,_0x1527e1,_0x204c17,_0x4908d5,_0x1d793b){var _0x140800={};var _0x583258={'Authorization':'Token\x20token='+_0x204c17[_0xbf60('0x3f')]};_0x204c17[_0xbf60('0x40')]=intUtil[_0xbf60('0x41')](_0x204c17[_0xbf60('0x40')]);_0x204c17['serverUrl']=intUtil[_0xbf60('0x41')](_0x204c17[_0xbf60('0x42')]);var _0x198eba=_0x204c17[_0xbf60('0x40')];_0x140800['adminEmail']=_0x204c17[_0xbf60('0x43')];_0x140800['contactNumber']=_0x1d793b[_0xbf60('0x44')]()===_0xbf60('0x45')?_0x1f452e[_0xbf60('0x46')]:_0x1f452e[_0xbf60('0x47')];_0x140800[_0xbf60('0x48')]=_0x1d793b==='queue'||_0x1d793b==='unmanaged'?_0xbf60('0x49'):'outbound';if(_0x1eda93){_0x140800[_0xbf60('0x1f')]=_0x1eda93[_0xbf60('0x16')];}var _0x192f1e=util[_0xbf60('0x32')](_0xbf60('0x4a'),_0x204c17[_0xbf60('0x42')],_0x1f452e['uniqueid'],md5(_0x1f452e['uniqueid']));if(_0x1527e1&&_0x1527e1['monitor_format']){logger['info']('[QUEUE]',_0xbf60('0x4b'));_0x1f452e[_0xbf60('0x4c')]=_0x192f1e;}else if(_0x4908d5&&_0x4908d5[_0xbf60('0x4d')]&&_0x4908d5['recordingFormat']!==_0xbf60('0x4e')){logger['info'](_0xbf60('0x4f'),'Recording\x20is\x20enabled!');_0x1f452e['recordingURL']=_0x192f1e;}else{_0x1f452e[_0xbf60('0x4c')]='';}return getAdminId(_0x140800,_0x1d793b,_0x583258,_0x198eba)[_0xbf60('0x13')](getUser(_0x1d793b,_0x583258,_0x198eba))[_0xbf60('0x13')](getEndUser(_0x1d793b,_0x583258,_0x198eba))[_0xbf60('0x13')](getTicket(_0x1d793b,_0x583258,_0x198eba,_0x5c41b7,_0x1f452e))['then'](function(_0x23d4b5){logger[_0xbf60('0x11')](util[_0xbf60('0x32')](_0xbf60('0x50'),_0x23d4b5[_0xbf60('0x3b')]));if(_0x1d793b!=='unmanaged'){logger['info']('['+[_0x1d793b[_0xbf60('0x1c')]()]+']',_0xbf60('0x51'));emit(_0x198eba,_0x1eda93[_0xbf60('0x26')],_0x23d4b5[_0xbf60('0x30')]);}})[_0xbf60('0x1a')](function(_0x1d284b){logger['error']('['+[_0x1d793b[_0xbf60('0x1c')]()]+_0xbf60('0x52'),util['inspect'](_0x1d284b,{'showHidden':!![],'depth':null}));});}; \ No newline at end of file diff --git a/server/services/ami/trigger/integration/index.js b/server/services/ami/trigger/integration/index.js index 2963c26..e4d0d14 100644 --- a/server/services/ami/trigger/integration/index.js +++ b/server/services/ami/trigger/integration/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xf7b4=['Configurations','data3','queue','routeId','outbound','log','EVENT\x20UNKNOWN','unmanaged','freshsales','../../../../config/logger','error','[EXEC]','format','%s\x20configuration\x20#%s\x20not\x20found','lodash','./salesforce','./sugarcrm','./desk','./vtiger','./servicenow','./dynamics365','./freshsales','zendesk','salesforce','sugarcrm','freshdesk','zoho','desk','vtiger','dynamics365','servicenow','exec','data1','toLowerCase','data2','find'];(function(_0x59c301,_0x359c50){var _0x3866b9=function(_0x2d380e){while(--_0x2d380e){_0x59c301['push'](_0x59c301['shift']());}};_0x3866b9(++_0x359c50);}(_0xf7b4,0x152));var _0x4f7b=function(_0x2808d6,_0x6b9257){_0x2808d6=_0x2808d6-0x0;var _0x390ffc=_0xf7b4[_0x2808d6];return _0x390ffc;};'use strict';var _=require(_0x4f7b('0x0'));var util=require('util');var zendesk=require('./zendesk');var salesforce=require(_0x4f7b('0x1'));var sugarcrm=require(_0x4f7b('0x2'));var freshdesk=require('./freshdesk');var zoho=require('./zoho');var desk=require(_0x4f7b('0x3'));var vtiger=require(_0x4f7b('0x4'));var servicenow=require(_0x4f7b('0x5'));var dynamics365=require(_0x4f7b('0x6'));var freshsales=require(_0x4f7b('0x7'));var integrations=[_0x4f7b('0x8'),_0x4f7b('0x9'),_0x4f7b('0xa'),_0x4f7b('0xb'),_0x4f7b('0xc'),_0x4f7b('0xd'),_0x4f7b('0xe'),_0x4f7b('0xf'),'freshsales',_0x4f7b('0x10')];exports[_0x4f7b('0x11')]=function(_0x479208,_0xdd1aab,_0x3a3d6c,_0x408e01,_0x119612,_0xd9971a){if(_0x3a3d6c){if(_['includes'](integrations,_0x479208[_0x4f7b('0x12')]['toLowerCase']())){try{var _0x5e5815=null;var _0xd9b349='';var _0x2e8dd9=_0x3a3d6c[_0x479208[_0x4f7b('0x12')][_0x4f7b('0x13')]()];if(_0x2e8dd9){var _0x4f7c2b=_0x2e8dd9[_0x479208[_0x4f7b('0x14')]];if(_0x4f7c2b){var _0x368091=_[_0x4f7b('0x15')](_0x4f7c2b[_0x4f7b('0x16')],{'id':parseInt(_0x479208[_0x4f7b('0x17')],0xa)});if(_0x368091){if(_0x408e01){if(_0x119612&&_0xdd1aab[_0x4f7b('0x18')]){_0xd9b349=_0x4f7b('0x18');}else if(_0xdd1aab[_0x4f7b('0x19')]){_0xd9b349=_0x4f7b('0x1a');}else{console[_0x4f7b('0x1b')](_0x4f7b('0x1c'),_0xdd1aab);}}else{_0xd9b349=_0x4f7b('0x1d');}switch(_0x479208['data1'][_0x4f7b('0x13')]()){case'zendesk':zendesk[_0xd9b349](_0x479208,_0xdd1aab,_0x368091,_0x408e01,_0x119612,_0x4f7c2b,_0xd9971a);break;case'salesforce':salesforce[_0xd9b349](_0x479208,_0xdd1aab,_0x368091,_0x408e01,_0x119612,_0x4f7c2b,_0xd9971a);break;case _0x4f7b('0xa'):sugarcrm[_0xd9b349](_0x479208,_0xdd1aab,_0x368091,_0x408e01,_0x119612,_0x4f7c2b,_0xd9971a);break;case _0x4f7b('0xb'):freshdesk[_0xd9b349](_0x479208,_0xdd1aab,_0x368091,_0x408e01,_0x119612,_0x4f7c2b,_0xd9971a);break;case'zoho':zoho[_0xd9b349](_0x479208,_0xdd1aab,_0x368091,_0x408e01,_0x119612,_0x4f7c2b,_0xd9971a);break;case _0x4f7b('0xd'):desk[_0xd9b349](_0x479208,_0xdd1aab,_0x368091,_0x408e01,_0x119612,_0x4f7c2b,_0xd9971a);break;case _0x4f7b('0xe'):vtiger[_0xd9b349](_0x479208,_0xdd1aab,_0x368091,_0x408e01,_0x119612,_0x4f7c2b,_0xd9971a);break;case _0x4f7b('0x1e'):freshsales['cs'](_0x479208,_0xdd1aab,_0x368091,_0x408e01,_0x119612,_0x4f7c2b,_0xd9971a,_0xd9b349);break;case _0x4f7b('0x10'):servicenow['cs'](_0x479208,_0xdd1aab,_0x368091,_0x408e01,_0x119612,_0x4f7c2b,_0xd9971a,_0xd9b349);break;case'dynamics365':dynamics365['cs'](_0x479208,_0xdd1aab,_0x368091,_0x408e01,_0x119612,_0x4f7c2b,_0xd9971a,_0xd9b349);break;default:console[_0x4f7b('0x1b')]('unknown\x20integration');}}else{_0x5e5815=require(_0x4f7b('0x1f'))(_0x479208[_0x4f7b('0x12')][_0x4f7b('0x13')]());_0x5e5815[_0x4f7b('0x20')](_0x4f7b('0x21'),util[_0x4f7b('0x22')](_0x4f7b('0x23'),_0x479208[_0x4f7b('0x12')][_0x4f7b('0x13')](),_0x479208['data3']));}}else{_0x5e5815=require(_0x4f7b('0x1f'))(_0x479208[_0x4f7b('0x12')][_0x4f7b('0x13')]());_0x5e5815['error'](_0x4f7b('0x21'),util[_0x4f7b('0x22')]('%s\x20account\x20#%s\x20not\x20found',_0x479208[_0x4f7b('0x12')]['toLowerCase'](),_0x479208[_0x4f7b('0x14')]));}}else{}}catch(_0x2429be){console[_0x4f7b('0x20')](_0x2429be);}}}}; \ No newline at end of file +var _0x8f4c=['zoho','unknown\x20integration','../../../../config/logger','error','[EXEC]','format','%s\x20configuration\x20#%s\x20not\x20found','data3','%s\x20account\x20#%s\x20not\x20found','lodash','util','./zendesk','./salesforce','./sugarcrm','./freshdesk','./desk','./vtiger','./servicenow','./freshsales','freshdesk','desk','vtiger','dynamics365','freshsales','servicenow','data1','toLowerCase','data2','find','Configurations','queue','routeId','outbound','log','unmanaged','zendesk','salesforce','sugarcrm'];(function(_0x3bf83f,_0x181cac){var _0x22c4a9=function(_0xb3ff0d){while(--_0xb3ff0d){_0x3bf83f['push'](_0x3bf83f['shift']());}};_0x22c4a9(++_0x181cac);}(_0x8f4c,0x113));var _0xc8f4=function(_0x434672,_0x178e5b){_0x434672=_0x434672-0x0;var _0x1a6d6a=_0x8f4c[_0x434672];return _0x1a6d6a;};'use strict';var _=require(_0xc8f4('0x0'));var util=require(_0xc8f4('0x1'));var zendesk=require(_0xc8f4('0x2'));var salesforce=require(_0xc8f4('0x3'));var sugarcrm=require(_0xc8f4('0x4'));var freshdesk=require(_0xc8f4('0x5'));var zoho=require('./zoho');var desk=require(_0xc8f4('0x6'));var vtiger=require(_0xc8f4('0x7'));var servicenow=require(_0xc8f4('0x8'));var dynamics365=require('./dynamics365');var freshsales=require(_0xc8f4('0x9'));var integrations=['zendesk','salesforce','sugarcrm',_0xc8f4('0xa'),'zoho',_0xc8f4('0xb'),_0xc8f4('0xc'),_0xc8f4('0xd'),_0xc8f4('0xe'),_0xc8f4('0xf')];exports['exec']=function(_0x38c41b,_0x191b92,_0x2fba62,_0x3a2f8a,_0x4fd453,_0x26f83){if(_0x2fba62){if(_['includes'](integrations,_0x38c41b[_0xc8f4('0x10')][_0xc8f4('0x11')]())){try{var _0x45ed6b=null;var _0x729f8f='';var _0x39b785=_0x2fba62[_0x38c41b['data1'][_0xc8f4('0x11')]()];if(_0x39b785){var _0x377c2b=_0x39b785[_0x38c41b[_0xc8f4('0x12')]];if(_0x377c2b){var _0x14bc11=_[_0xc8f4('0x13')](_0x377c2b[_0xc8f4('0x14')],{'id':parseInt(_0x38c41b['data3'],0xa)});if(_0x14bc11){if(_0x3a2f8a){if(_0x4fd453&&_0x191b92[_0xc8f4('0x15')]){_0x729f8f=_0xc8f4('0x15');}else if(_0x191b92[_0xc8f4('0x16')]){_0x729f8f=_0xc8f4('0x17');}else{console[_0xc8f4('0x18')]('EVENT\x20UNKNOWN',_0x191b92);}}else{_0x729f8f=_0xc8f4('0x19');}switch(_0x38c41b['data1']['toLowerCase']()){case _0xc8f4('0x1a'):zendesk[_0x729f8f](_0x38c41b,_0x191b92,_0x14bc11,_0x3a2f8a,_0x4fd453,_0x377c2b,_0x26f83);break;case _0xc8f4('0x1b'):salesforce[_0x729f8f](_0x38c41b,_0x191b92,_0x14bc11,_0x3a2f8a,_0x4fd453,_0x377c2b,_0x26f83);break;case _0xc8f4('0x1c'):sugarcrm[_0x729f8f](_0x38c41b,_0x191b92,_0x14bc11,_0x3a2f8a,_0x4fd453,_0x377c2b,_0x26f83);break;case _0xc8f4('0xa'):freshdesk[_0x729f8f](_0x38c41b,_0x191b92,_0x14bc11,_0x3a2f8a,_0x4fd453,_0x377c2b,_0x26f83);break;case _0xc8f4('0x1d'):zoho[_0x729f8f](_0x38c41b,_0x191b92,_0x14bc11,_0x3a2f8a,_0x4fd453,_0x377c2b,_0x26f83);break;case _0xc8f4('0xb'):desk[_0x729f8f](_0x38c41b,_0x191b92,_0x14bc11,_0x3a2f8a,_0x4fd453,_0x377c2b,_0x26f83);break;case _0xc8f4('0xc'):vtiger[_0x729f8f](_0x38c41b,_0x191b92,_0x14bc11,_0x3a2f8a,_0x4fd453,_0x377c2b,_0x26f83);break;case _0xc8f4('0xe'):freshsales['cs'](_0x38c41b,_0x191b92,_0x14bc11,_0x3a2f8a,_0x4fd453,_0x377c2b,_0x26f83,_0x729f8f);break;case _0xc8f4('0xf'):servicenow['cs'](_0x38c41b,_0x191b92,_0x14bc11,_0x3a2f8a,_0x4fd453,_0x377c2b,_0x26f83,_0x729f8f);break;case _0xc8f4('0xd'):dynamics365['cs'](_0x38c41b,_0x191b92,_0x14bc11,_0x3a2f8a,_0x4fd453,_0x377c2b,_0x26f83,_0x729f8f);break;default:console[_0xc8f4('0x18')](_0xc8f4('0x1e'));}}else{_0x45ed6b=require(_0xc8f4('0x1f'))(_0x38c41b['data1'][_0xc8f4('0x11')]());_0x45ed6b[_0xc8f4('0x20')](_0xc8f4('0x21'),util[_0xc8f4('0x22')](_0xc8f4('0x23'),_0x38c41b[_0xc8f4('0x10')][_0xc8f4('0x11')](),_0x38c41b[_0xc8f4('0x24')]));}}else{_0x45ed6b=require('../../../../config/logger')(_0x38c41b[_0xc8f4('0x10')][_0xc8f4('0x11')]());_0x45ed6b[_0xc8f4('0x20')](_0xc8f4('0x21'),util['format'](_0xc8f4('0x25'),_0x38c41b['data1'][_0xc8f4('0x11')](),_0x38c41b['data2']));}}else{}}catch(_0x177a44){console[_0xc8f4('0x20')](_0x177a44);}}}}; \ No newline at end of file diff --git a/server/services/ami/trigger/integration/salesforce.js b/server/services/ami/trigger/integration/salesforce.js index be598d6..213a70f 100644 --- a/server/services/ami/trigger/integration/salesforce.js +++ b/server/services/ami/trigger/integration/salesforce.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xba56=['Name','Enduser\x20with\x20phone\x20%s\x20found.','Enduser\x20with\x20phone\x20%s\x20not\x20found.','','format','Caller\x20-\x20%s','moduleCreate','Enduser\x20with\x20phone\x20%s.\x20Creating\x20method\x20used\x20%s.','Company','No\x20Company','upperFirst','forEach','type','string','idField','content','toString','variable','variableName','customVariable','Variable','name','toLowerCase','password','securityToken','Connection','https://login.salesforce.com','clientId','clientSecret','login','username','Connection\x20established.','serverUrl','stripTrailingSlash','remoteUri','monitor_format','Recording\x20is\x20enabled!','recordingURL','%s/api/voice/recordings/%s/downloads?type=uniqueid&token=%s','uniqueid','email','calleridname','calleridnum','Fields','queue','[QUEUE]\x20Displaying\x20ticket\x20%s\x20to\x20agent\x20%s.\x20Integration\x20account\x20type\x20%s.','integrationTab','user:%s','trigger:salesforce:display','newTab','trigger:browser:url','%s/%s/e','instanceUrl','error','catch','[QUEUE]','stringify','recordingFormat','none','[OUTBOUND]','destcalleridname','outbound','[OUTBOUND]\x20Ticket\x20%s\x20created.','[OUTBOUND]\x20Displaying\x20ticket\x20%s\x20to\x20agent\x20%s.\x20Integration\x20account\x20type\x20%s.','unmanaged','lastevent',']\x20Ticket\x20%s\x20created.',']\x20Integration\x20account\x20type\x20%s.','toUpperCase','moment','bluebird','md5','util','ioredis','./util','../../../../config/logger','salesforce','redis','defaults','localhost','ticketType','Task','assign','utc','getString','Subjects','Descriptions','WhoId','Case','ContactId','sobject','create','isNil','User','find','execute','then','Agent\x20%s\x20not\x20found.\x20Switch\x20to\x20the\x20admin\x20account.','identity','resolve','user_id','display_name','info','moduleSearch','contact_lead','Contact','length','Lead','lead','Searching\x20enduser\x20with\x20phone\x20%s.\x20Serching\x20method\x20used\x20%s.','contact','Phone'];(function(_0x4baae2,_0x487ab6){var _0x1a2285=function(_0x1cea47){while(--_0x1cea47){_0x4baae2['push'](_0x4baae2['shift']());}};_0x1a2285(++_0x487ab6);}(_0xba56,0xb5));var _0x6ba5=function(_0x19efbc,_0x10b7d7){_0x19efbc=_0x19efbc-0x0;var _0x205c5e=_0xba56[_0x19efbc];return _0x205c5e;};'use strict';var _=require('lodash');var rp=require('request-promise');var moment=require(_0x6ba5('0x0'));var BPromise=require(_0x6ba5('0x1'));var md5=require(_0x6ba5('0x2'));var jsforce=require('jsforce');var util=require(_0x6ba5('0x3'));var Redis=require(_0x6ba5('0x4'));var intUtil=require(_0x6ba5('0x5'));var config=require('../../../../config/environment');var logger=require(_0x6ba5('0x6'))(_0x6ba5('0x7'));config[_0x6ba5('0x8')]=_[_0x6ba5('0x9')](config['redis'],{'host':_0x6ba5('0xa'),'port':0x18eb});var io=require('socket.io-emitter')(new Redis(config[_0x6ba5('0x8')]));function emit(_0x2d45d6,_0x28ec80,_0x442a79){io['to'](_0x2d45d6)['emit'](_0x28ec80,_0x442a79);}function getTicket(_0x147b53,_0x4bc4d9,_0x491f6e,_0x40bd72,_0x13d1f9,_0x203c95,_0x33d807,_0x15e737){var _0x524c43={};if(_0x40bd72[_0x6ba5('0xb')]===_0x6ba5('0xc')){_0x524c43=Object[_0x6ba5('0xd')]({},{'OwnerId':_0x4bc4d9['id'],'ActivityDate':moment[_0x6ba5('0xe')](),'IsReminderSet':![],'IsRecurrence':![],'Subject':intUtil[_0x6ba5('0xf')](_0x40bd72[_0x6ba5('0x10')],_0x13d1f9,'\x20'),'Description':intUtil[_0x6ba5('0xf')](_0x40bd72[_0x6ba5('0x11')],_0x13d1f9,'\x0a')},getCustomFields(_0x203c95,_0x13d1f9));if(_0x491f6e){_0x524c43[_0x6ba5('0x12')]=_0x491f6e['id'];}}else if(_0x40bd72[_0x6ba5('0xb')]===_0x6ba5('0x13')){_0x524c43=Object[_0x6ba5('0xd')]({},{'OwnerId':_0x4bc4d9['id'],'Subject':intUtil[_0x6ba5('0xf')](_0x40bd72[_0x6ba5('0x10')],_0x13d1f9,'\x20'),'Description':intUtil['getString'](_0x40bd72[_0x6ba5('0x11')],_0x13d1f9,'\x0a')},getCustomFields(_0x203c95,_0x13d1f9));if(_0x491f6e){_0x524c43[_0x6ba5('0x14')]=_0x491f6e['id'];}}return _0x33d807[_0x6ba5('0x15')](_0x40bd72[_0x6ba5('0xb')])[_0x6ba5('0x16')](_0x524c43);}function getUser(_0x3a332f,_0x2ec98a,_0x1bd0ab){if(!_[_0x6ba5('0x17')](_0x2ec98a)&&intUtil['validateEmail'](_0x2ec98a)){var _0x1973a2={'Email':_0x2ec98a};var _0x1281d0={'Id':!![],'Username':!![],'Name':!![],'Email':!![]};return _0x1bd0ab[_0x6ba5('0x15')](_0x6ba5('0x18'))[_0x6ba5('0x19')](_0x1973a2,_0x1281d0)[_0x6ba5('0x1a')]()[_0x6ba5('0x1b')](function(_0x45810d){if(_0x45810d['length']){var _0x408124=_[_0x6ba5('0x19')](_0x45810d,function(_0x2ae3a2){return _0x2ae3a2['Email']===_0x2ec98a;});if(_0x408124){logger['info']('Agent\x20%s\x20found.',_0x2ec98a);return BPromise['resolve']({'id':_0x408124['Id'],'name':_0x408124['Name']});}}else{logger['info'](_0x6ba5('0x1c'),_0x2ec98a);return _0x1bd0ab[_0x6ba5('0x1d')]()[_0x6ba5('0x1b')](function(_0x264f7f){return BPromise[_0x6ba5('0x1e')]({'id':_0x264f7f[_0x6ba5('0x1f')],'name':_0x264f7f[_0x6ba5('0x20')]});});}});}else{logger[_0x6ba5('0x21')](_0x6ba5('0x1c'),_0x2ec98a);return _0x1bd0ab[_0x6ba5('0x1d')]()[_0x6ba5('0x1b')](function(_0x308656){return BPromise[_0x6ba5('0x1e')]({'id':_0x308656['user_id'],'name':_0x308656[_0x6ba5('0x20')]});});}}function getEndUser(_0x48a4ab,_0x11d25c,_0x1befa8,_0x3641d7,_0xd9a14d){var _0x228b1a={'Phone':_0x3641d7};var _0x1c4b96={'Id':!![],'Name':!![],'Phone':!![]};return BPromise[_0x6ba5('0x1e')]()[_0x6ba5('0x1b')](function(){if(_0x11d25c[_0x6ba5('0xb')]===_0x6ba5('0xc')){logger[_0x6ba5('0x21')]('Searching\x20enduser\x20with\x20phone\x20%s.\x20Serching\x20method\x20used\x20%s.',_0x3641d7,_0x11d25c[_0x6ba5('0x22')]);switch(_0x11d25c[_0x6ba5('0x22')]){case _0x6ba5('0x23'):return _0xd9a14d[_0x6ba5('0x15')](_0x6ba5('0x24'))[_0x6ba5('0x19')](_0x228b1a,_0x1c4b96)[_0x6ba5('0x1a')]()['then'](function(_0x1630e9){if(_0x1630e9&&_0x1630e9[_0x6ba5('0x25')]){return _0x1630e9;}else{return _0xd9a14d[_0x6ba5('0x15')](_0x6ba5('0x26'))[_0x6ba5('0x19')](_0x228b1a,_0x1c4b96);}});case'contact':return _0xd9a14d['sobject'](_0x6ba5('0x24'))[_0x6ba5('0x19')](_0x228b1a,_0x1c4b96)[_0x6ba5('0x1a')]();case _0x6ba5('0x27'):return _0xd9a14d[_0x6ba5('0x15')](_0x6ba5('0x26'))[_0x6ba5('0x19')](_0x228b1a,_0x1c4b96);default:return null;}}else if(_0x11d25c[_0x6ba5('0xb')]===_0x6ba5('0x13')){logger['info'](_0x6ba5('0x28'),_0x3641d7,_0x6ba5('0x29'));return _0xd9a14d['sobject'](_0x6ba5('0x24'))[_0x6ba5('0x19')](_0x228b1a,_0x1c4b96)[_0x6ba5('0x1a')]();}})[_0x6ba5('0x1b')](function(_0x3e1b0a){if(_0x3e1b0a&&_0x3e1b0a['length']){var _0x5d60e5=_[_0x6ba5('0x19')](_0x3e1b0a,function(_0x18159d){return _0x18159d[_0x6ba5('0x2a')]===_0x3641d7;});if(_0x5d60e5){return BPromise['resolve']({'id':_0x5d60e5['Id'],'name':_0x5d60e5[_0x6ba5('0x2b')],'phone':_0x5d60e5[_0x6ba5('0x2a')]});}}})[_0x6ba5('0x1b')](function(_0x3d2cca){if(_0x3d2cca){logger[_0x6ba5('0x21')](_0x6ba5('0x2c'),_0x3641d7);return BPromise[_0x6ba5('0x1e')](_0x3d2cca);}else{logger[_0x6ba5('0x21')](_0x6ba5('0x2d'),_0x3641d7);var _0x24b365={'LastName':_0x1befa8!==_0x6ba5('0x2e')?_0x1befa8:util[_0x6ba5('0x2f')](_0x6ba5('0x30'),_0x3641d7),'Phone':_0x3641d7};if(_0x11d25c[_0x6ba5('0x31')]){if(_0x11d25c[_0x6ba5('0x31')]===_0x6ba5('0x29')){logger[_0x6ba5('0x21')](_0x6ba5('0x32'),_0x3641d7,_0x11d25c[_0x6ba5('0x31')]);}else if(_0x11d25c[_0x6ba5('0x31')]===_0x6ba5('0x27')&&_0x11d25c[_0x6ba5('0xb')]===_0x6ba5('0xc')){logger[_0x6ba5('0x21')](_0x6ba5('0x32'),_0x3641d7,_0x11d25c[_0x6ba5('0x31')]);_0x24b365[_0x6ba5('0x33')]=_0x6ba5('0x34');}else{return null;}}return _0xd9a14d[_0x6ba5('0x15')](_[_0x6ba5('0x35')](_0x11d25c[_0x6ba5('0x31')]))['create'](_0x24b365);}});}function getCustomFields(_0x5db43e,_0x121148){var _0x4a0bf2={};if(_0x5db43e['length']>0x0){_[_0x6ba5('0x36')](_0x5db43e,function(_0x1a7ff6){if(_0x1a7ff6[_0x6ba5('0x37')]===_0x6ba5('0x38')&&_0x1a7ff6[_0x6ba5('0x39')]){_0x4a0bf2[_0x1a7ff6[_0x6ba5('0x39')]]=_0x1a7ff6[_0x6ba5('0x3a')][_0x6ba5('0x3b')]();}else if(_0x1a7ff6[_0x6ba5('0x37')]===_0x6ba5('0x3c')&&_0x1a7ff6['variableName']&&_0x1a7ff6[_0x6ba5('0x39')]){_0x121148[_0x1a7ff6[_0x6ba5('0x3d')]]&&(_0x4a0bf2[_0x1a7ff6[_0x6ba5('0x39')]]=_0x121148[_0x1a7ff6[_0x6ba5('0x3d')]][_0x6ba5('0x3b')]());}else if(_0x1a7ff6[_0x6ba5('0x37')]===_0x6ba5('0x3e')&&_0x1a7ff6[_0x6ba5('0x3f')]&&_0x1a7ff6['Variable'][_0x6ba5('0x40')]&&_0x1a7ff6[_0x6ba5('0x39')]){_0x121148[_0x1a7ff6[_0x6ba5('0x3f')]['name'][_0x6ba5('0x41')]()]&&(_0x4a0bf2[_0x1a7ff6['idField']]=_0x121148[_0x1a7ff6[_0x6ba5('0x3f')][_0x6ba5('0x40')][_0x6ba5('0x41')]()][_0x6ba5('0x3b')]());}});}return _0x4a0bf2;}function getConnection(_0x29179c){var _0x28cadf=_0x29179c[_0x6ba5('0x42')]['concat'](_0x29179c[_0x6ba5('0x43')]);var _0x525bef=new jsforce[(_0x6ba5('0x44'))]({'oauth2':{'loginUrl':_0x29179c['remoteUri']||_0x6ba5('0x45'),'clientId':_0x29179c[_0x6ba5('0x46')],'clientSecret':_0x29179c[_0x6ba5('0x47')]}});return _0x525bef[_0x6ba5('0x48')](_0x29179c[_0x6ba5('0x49')],_0x28cadf)[_0x6ba5('0x1b')](function(){logger['info'](_0x6ba5('0x4a'));return _0x525bef;});}exports['queue']=function(_0x33b4c5,_0x65b1e9,_0x4bbbd1,_0x437d48,_0xb3309f,_0x5e85ed){var _0x41cbc2,_0x31a058,_0x5104cf,_0x5be42d;_0x5e85ed['serverUrl']=intUtil['stripTrailingSlash'](_0x5e85ed[_0x6ba5('0x4b')]);_0x5e85ed['remoteUri']=intUtil[_0x6ba5('0x4c')](_0x5e85ed[_0x6ba5('0x4d')]);if(_0xb3309f&&_0xb3309f[_0x6ba5('0x4e')]){logger['info']('[QUEUE]',_0x6ba5('0x4f'));_0x65b1e9[_0x6ba5('0x50')]=util[_0x6ba5('0x2f')](_0x6ba5('0x51'),_0x5e85ed[_0x6ba5('0x4b')],_0x65b1e9[_0x6ba5('0x52')],md5(_0x65b1e9[_0x6ba5('0x52')]));}else{_0x65b1e9[_0x6ba5('0x50')]='';}return getConnection(_0x5e85ed)[_0x6ba5('0x1b')](function(_0x307f5c){_0x5be42d=_0x307f5c;return getUser(_0x5e85ed,_0x437d48[_0x6ba5('0x53')],_0x5be42d);})[_0x6ba5('0x1b')](function(_0x5b05bf){_0x41cbc2=_0x5b05bf;return getEndUser(_0x5e85ed,_0x4bbbd1,_0x65b1e9[_0x6ba5('0x54')],_0x65b1e9[_0x6ba5('0x55')],_0x5be42d);})['then'](function(_0x748a78){_0x31a058=_0x748a78;return getTicket(_0x5e85ed,_0x41cbc2,_0x31a058,_0x4bbbd1,_0x65b1e9,_0x4bbbd1[_0x6ba5('0x56')],_0x5be42d,_0x6ba5('0x57'));})['then'](function(_0x4bf04d){_0x5104cf=_0x4bf04d;logger[_0x6ba5('0x21')]('[QUEUE]\x20Ticket\x20%s\x20created',_0x5104cf['id']);logger[_0x6ba5('0x21')](_0x6ba5('0x58'),_0x5104cf['id'],_0x437d48[_0x6ba5('0x40')],_0x5e85ed[_0x6ba5('0x37')]);switch(_0x5e85ed['type']){case _0x6ba5('0x59'):emit(util['format'](_0x6ba5('0x5a'),_0x437d48[_0x6ba5('0x40')]),_0x6ba5('0x5b'),{'recordId':_0x5104cf['id']});break;case _0x6ba5('0x5c'):emit(util[_0x6ba5('0x2f')](_0x6ba5('0x5a'),_0x437d48[_0x6ba5('0x40')]),_0x6ba5('0x5d'),{'uri':util[_0x6ba5('0x2f')](_0x6ba5('0x5e'),_0x5be42d[_0x6ba5('0x5f')],_0x5104cf['id'])});break;default:logger[_0x6ba5('0x60')]('[QUEUE]\x20Salesforce\x20account\x20type\x20not\x20recognized.');}})[_0x6ba5('0x61')](function(_0x510370){logger['error'](_0x6ba5('0x62'),JSON[_0x6ba5('0x63')](_0x510370));});};exports['outbound']=function(_0x20a364,_0x527931,_0x3a3772,_0x269957,_0x316fcc,_0x9a0220,_0x415860){var _0x3a2687,_0x314585,_0x370391,_0x47445c;_0x9a0220[_0x6ba5('0x4b')]=intUtil['stripTrailingSlash'](_0x9a0220[_0x6ba5('0x4b')]);_0x9a0220['remoteUri']=intUtil['stripTrailingSlash'](_0x9a0220[_0x6ba5('0x4d')]);if(_0x415860&&_0x415860[_0x6ba5('0x64')]&&_0x415860['recordingFormat']!==_0x6ba5('0x65')){logger['info'](_0x6ba5('0x66'),_0x6ba5('0x4f'));_0x527931['recordingURL']=util[_0x6ba5('0x2f')](_0x6ba5('0x51'),_0x9a0220['serverUrl'],_0x527931['uniqueid'],md5(_0x527931[_0x6ba5('0x52')]));}return getConnection(_0x9a0220)[_0x6ba5('0x1b')](function(_0x193479){_0x47445c=_0x193479;return getUser(_0x9a0220,_0x269957[_0x6ba5('0x53')],_0x47445c);})['then'](function(_0x2dd785){_0x3a2687=_0x2dd785;return getEndUser(_0x9a0220,_0x3a3772,_0x527931[_0x6ba5('0x67')],_0x527931['destcalleridnum'],_0x47445c);})['then'](function(_0x5934f7){_0x314585=_0x5934f7;return getTicket(_0x9a0220,_0x3a2687,_0x314585,_0x3a3772,_0x527931,_0x3a3772['Fields'],_0x47445c,_0x6ba5('0x68'));})['then'](function(_0x4ab218){_0x370391=_0x4ab218;logger[_0x6ba5('0x21')](_0x6ba5('0x69'),_0x370391['id']);logger['info'](_0x6ba5('0x6a'),_0x370391['id'],_0x269957[_0x6ba5('0x40')],_0x9a0220[_0x6ba5('0x37')]);switch(_0x9a0220[_0x6ba5('0x37')]){case _0x6ba5('0x59'):emit(util[_0x6ba5('0x2f')](_0x6ba5('0x5a'),_0x269957['name']),_0x6ba5('0x5b'),{'recordId':_0x370391['id']});break;case _0x6ba5('0x5c'):emit(util[_0x6ba5('0x2f')](_0x6ba5('0x5a'),_0x269957[_0x6ba5('0x40')]),_0x6ba5('0x5d'),{'uri':util[_0x6ba5('0x2f')](_0x6ba5('0x5e'),_0x47445c[_0x6ba5('0x5f')],_0x370391['id'])});break;default:logger[_0x6ba5('0x60')]('[OUTBOUND]','Salesforce\x20account\x20type\x20not\x20recognized');}})['catch'](function(_0x564c74){logger['error'](_0x6ba5('0x66'),JSON[_0x6ba5('0x63')](_0x564c74));});};exports[_0x6ba5('0x6b')]=function(_0x216e64,_0x3fc267,_0x5021fe,_0x2b625d,_0x2c66c6,_0x285dbb){var _0x32a654,_0x466dae,_0x2b2986,_0xbe1a63;_0x285dbb['serverUrl']=intUtil[_0x6ba5('0x4c')](_0x285dbb[_0x6ba5('0x4b')]);_0x285dbb[_0x6ba5('0x4d')]=intUtil[_0x6ba5('0x4c')](_0x285dbb[_0x6ba5('0x4d')]);if(_0x2c66c6&&_0x2c66c6['monitor_format']){logger['info']('['+_0x3fc267[_0x6ba5('0x6c')]['toUpperCase']()+']',_0x6ba5('0x4f'));_0x3fc267[_0x6ba5('0x50')]=util[_0x6ba5('0x2f')](_0x6ba5('0x51'),_0x285dbb[_0x6ba5('0x4b')],_0x3fc267['uniqueid'],md5(_0x3fc267[_0x6ba5('0x52')]));}else{_0x3fc267[_0x6ba5('0x50')]='';}return getConnection(_0x285dbb)['then'](function(_0x3035d0){_0xbe1a63=_0x3035d0;if(!_[_0x6ba5('0x17')](_0x2b625d)){return getUser(_0x285dbb,_0x2b625d[_0x6ba5('0x40')],_0xbe1a63);}else{return getUser(_0x285dbb,null,_0xbe1a63);}})[_0x6ba5('0x1b')](function(_0x396ea2){_0x32a654=_0x396ea2;return getEndUser(_0x285dbb,_0x5021fe,_0x3fc267['calleridname'],_0x3fc267[_0x6ba5('0x55')],_0xbe1a63);})[_0x6ba5('0x1b')](function(_0x205106){_0x466dae=_0x205106;return getTicket(_0x285dbb,_0x32a654,_0x466dae,_0x5021fe,_0x3fc267,_0x5021fe['Fields'],_0xbe1a63);})[_0x6ba5('0x1b')](function(_0x14cf35){_0x2b2986=_0x14cf35;logger[_0x6ba5('0x21')]('['+_0x3fc267[_0x6ba5('0x6c')]['toUpperCase']()+_0x6ba5('0x6d'),_0x2b2986['id']);logger['info']('['+_0x3fc267[_0x6ba5('0x6c')]['toUpperCase']()+_0x6ba5('0x6e'),_0x285dbb[_0x6ba5('0x37')]);})[_0x6ba5('0x61')](function(_0x12d9a4){logger[_0x6ba5('0x60')]('['+_0x3fc267[_0x6ba5('0x6c')][_0x6ba5('0x6f')]()+']',JSON[_0x6ba5('0x63')](_0x12d9a4));});}; \ No newline at end of file +var _0x6dff=[']\x20Integration\x20account\x20type\x20%s.','lodash','request-promise','moment','bluebird','md5','util','ioredis','../../../../config/logger','salesforce','redis','defaults','localhost','socket.io-emitter','emit','ticketType','assign','utc','getString','Subjects','Descriptions','WhoId','ContactId','sobject','isNil','validateEmail','User','find','execute','length','Email','Agent\x20%s\x20found.','resolve','Name','info','Agent\x20%s\x20not\x20found.\x20Switch\x20to\x20the\x20admin\x20account.','identity','display_name','then','user_id','Task','moduleSearch','Lead','Contact','lead','Case','Searching\x20enduser\x20with\x20phone\x20%s.\x20Serching\x20method\x20used\x20%s.','Phone','Enduser\x20with\x20phone\x20%s\x20found.','Enduser\x20with\x20phone\x20%s\x20not\x20found.','','format','moduleCreate','Enduser\x20with\x20phone\x20%s.\x20Creating\x20method\x20used\x20%s.','Company','No\x20Company','upperFirst','create','forEach','type','string','idField','content','toString','variable','variableName','customVariable','Variable','name','toLowerCase','securityToken','Connection','remoteUri','https://login.salesforce.com','clientId','clientSecret','login','username','Connection\x20established.','queue','serverUrl','stripTrailingSlash','monitor_format','[QUEUE]','Recording\x20is\x20enabled!','recordingURL','%s/api/voice/recordings/%s/downloads?type=uniqueid&token=%s','uniqueid','email','calleridname','calleridnum','Fields','[QUEUE]\x20Ticket\x20%s\x20created','[QUEUE]\x20Displaying\x20ticket\x20%s\x20to\x20agent\x20%s.\x20Integration\x20account\x20type\x20%s.','user:%s','newTab','trigger:browser:url','instanceUrl','error','[QUEUE]\x20Salesforce\x20account\x20type\x20not\x20recognized.','catch','outbound','recordingFormat','none','[OUTBOUND]','destcalleridname','destcalleridnum','[OUTBOUND]\x20Ticket\x20%s\x20created.','integrationTab','trigger:salesforce:display','%s/%s/e','Salesforce\x20account\x20type\x20not\x20recognized','stringify','toUpperCase','lastevent',']\x20Ticket\x20%s\x20created.'];(function(_0x197d77,_0x548849){var _0x51b6bb=function(_0x555f7e){while(--_0x555f7e){_0x197d77['push'](_0x197d77['shift']());}};_0x51b6bb(++_0x548849);}(_0x6dff,0x75));var _0xf6df=function(_0x25120a,_0x2a1649){_0x25120a=_0x25120a-0x0;var _0x5cc569=_0x6dff[_0x25120a];return _0x5cc569;};'use strict';var _=require(_0xf6df('0x0'));var rp=require(_0xf6df('0x1'));var moment=require(_0xf6df('0x2'));var BPromise=require(_0xf6df('0x3'));var md5=require(_0xf6df('0x4'));var jsforce=require('jsforce');var util=require(_0xf6df('0x5'));var Redis=require(_0xf6df('0x6'));var intUtil=require('./util');var config=require('../../../../config/environment');var logger=require(_0xf6df('0x7'))(_0xf6df('0x8'));config[_0xf6df('0x9')]=_[_0xf6df('0xa')](config[_0xf6df('0x9')],{'host':_0xf6df('0xb'),'port':0x18eb});var io=require(_0xf6df('0xc'))(new Redis(config[_0xf6df('0x9')]));function emit(_0x2e8b97,_0x5ab670,_0x4fbdfd){io['to'](_0x2e8b97)[_0xf6df('0xd')](_0x5ab670,_0x4fbdfd);}function getTicket(_0x3dab81,_0xf889fd,_0x4c6a8e,_0x71fad6,_0x36b3c3,_0x581b78,_0x395d6e,_0x2e2c87){var _0x5aa103={};if(_0x71fad6[_0xf6df('0xe')]==='Task'){_0x5aa103=Object[_0xf6df('0xf')]({},{'OwnerId':_0xf889fd['id'],'ActivityDate':moment[_0xf6df('0x10')](),'IsReminderSet':![],'IsRecurrence':![],'Subject':intUtil[_0xf6df('0x11')](_0x71fad6[_0xf6df('0x12')],_0x36b3c3,'\x20'),'Description':intUtil[_0xf6df('0x11')](_0x71fad6[_0xf6df('0x13')],_0x36b3c3,'\x0a')},getCustomFields(_0x581b78,_0x36b3c3));if(_0x4c6a8e){_0x5aa103[_0xf6df('0x14')]=_0x4c6a8e['id'];}}else if(_0x71fad6['ticketType']==='Case'){_0x5aa103=Object[_0xf6df('0xf')]({},{'OwnerId':_0xf889fd['id'],'Subject':intUtil['getString'](_0x71fad6['Subjects'],_0x36b3c3,'\x20'),'Description':intUtil[_0xf6df('0x11')](_0x71fad6[_0xf6df('0x13')],_0x36b3c3,'\x0a')},getCustomFields(_0x581b78,_0x36b3c3));if(_0x4c6a8e){_0x5aa103[_0xf6df('0x15')]=_0x4c6a8e['id'];}}return _0x395d6e[_0xf6df('0x16')](_0x71fad6['ticketType'])['create'](_0x5aa103);}function getUser(_0x200314,_0x251a1c,_0x4ad063){if(!_[_0xf6df('0x17')](_0x251a1c)&&intUtil[_0xf6df('0x18')](_0x251a1c)){var _0x31cd46={'Email':_0x251a1c};var _0x533e98={'Id':!![],'Username':!![],'Name':!![],'Email':!![]};return _0x4ad063[_0xf6df('0x16')](_0xf6df('0x19'))[_0xf6df('0x1a')](_0x31cd46,_0x533e98)[_0xf6df('0x1b')]()['then'](function(_0x532ece){if(_0x532ece[_0xf6df('0x1c')]){var _0x1a8622=_[_0xf6df('0x1a')](_0x532ece,function(_0x297f0d){return _0x297f0d[_0xf6df('0x1d')]===_0x251a1c;});if(_0x1a8622){logger['info'](_0xf6df('0x1e'),_0x251a1c);return BPromise[_0xf6df('0x1f')]({'id':_0x1a8622['Id'],'name':_0x1a8622[_0xf6df('0x20')]});}}else{logger[_0xf6df('0x21')](_0xf6df('0x22'),_0x251a1c);return _0x4ad063[_0xf6df('0x23')]()['then'](function(_0x5d16b0){return BPromise[_0xf6df('0x1f')]({'id':_0x5d16b0['user_id'],'name':_0x5d16b0[_0xf6df('0x24')]});});}});}else{logger[_0xf6df('0x21')]('Agent\x20%s\x20not\x20found.\x20Switch\x20to\x20the\x20admin\x20account.',_0x251a1c);return _0x4ad063['identity']()[_0xf6df('0x25')](function(_0x5cfb35){return BPromise[_0xf6df('0x1f')]({'id':_0x5cfb35[_0xf6df('0x26')],'name':_0x5cfb35[_0xf6df('0x24')]});});}}function getEndUser(_0x4c3696,_0x55e818,_0x1ed687,_0x334060,_0x4906bf){var _0x1788a8={'Phone':_0x334060};var _0x376c4b={'Id':!![],'Name':!![],'Phone':!![]};return BPromise[_0xf6df('0x1f')]()[_0xf6df('0x25')](function(){if(_0x55e818[_0xf6df('0xe')]===_0xf6df('0x27')){logger['info']('Searching\x20enduser\x20with\x20phone\x20%s.\x20Serching\x20method\x20used\x20%s.',_0x334060,_0x55e818[_0xf6df('0x28')]);switch(_0x55e818[_0xf6df('0x28')]){case'contact_lead':return _0x4906bf[_0xf6df('0x16')]('Contact')[_0xf6df('0x1a')](_0x1788a8,_0x376c4b)[_0xf6df('0x1b')]()[_0xf6df('0x25')](function(_0x44a0ba){if(_0x44a0ba&&_0x44a0ba['length']){return _0x44a0ba;}else{return _0x4906bf[_0xf6df('0x16')](_0xf6df('0x29'))['find'](_0x1788a8,_0x376c4b);}});case'contact':return _0x4906bf[_0xf6df('0x16')](_0xf6df('0x2a'))[_0xf6df('0x1a')](_0x1788a8,_0x376c4b)[_0xf6df('0x1b')]();case _0xf6df('0x2b'):return _0x4906bf[_0xf6df('0x16')](_0xf6df('0x29'))[_0xf6df('0x1a')](_0x1788a8,_0x376c4b);default:return null;}}else if(_0x55e818[_0xf6df('0xe')]===_0xf6df('0x2c')){logger[_0xf6df('0x21')](_0xf6df('0x2d'),_0x334060,'contact');return _0x4906bf[_0xf6df('0x16')]('Contact')[_0xf6df('0x1a')](_0x1788a8,_0x376c4b)[_0xf6df('0x1b')]();}})[_0xf6df('0x25')](function(_0x186125){if(_0x186125&&_0x186125[_0xf6df('0x1c')]){var _0x3f4146=_['find'](_0x186125,function(_0x154afc){return _0x154afc['Phone']===_0x334060;});if(_0x3f4146){return BPromise[_0xf6df('0x1f')]({'id':_0x3f4146['Id'],'name':_0x3f4146[_0xf6df('0x20')],'phone':_0x3f4146[_0xf6df('0x2e')]});}}})['then'](function(_0xd01caa){if(_0xd01caa){logger[_0xf6df('0x21')](_0xf6df('0x2f'),_0x334060);return BPromise['resolve'](_0xd01caa);}else{logger['info'](_0xf6df('0x30'),_0x334060);var _0xcbc687={'LastName':_0x1ed687!==_0xf6df('0x31')?_0x1ed687:util[_0xf6df('0x32')]('Caller\x20-\x20%s',_0x334060),'Phone':_0x334060};if(_0x55e818['moduleCreate']){if(_0x55e818[_0xf6df('0x33')]==='contact'){logger[_0xf6df('0x21')](_0xf6df('0x34'),_0x334060,_0x55e818[_0xf6df('0x33')]);}else if(_0x55e818[_0xf6df('0x33')]===_0xf6df('0x2b')&&_0x55e818['ticketType']==='Task'){logger[_0xf6df('0x21')](_0xf6df('0x34'),_0x334060,_0x55e818['moduleCreate']);_0xcbc687[_0xf6df('0x35')]=_0xf6df('0x36');}else{return null;}}return _0x4906bf['sobject'](_[_0xf6df('0x37')](_0x55e818[_0xf6df('0x33')]))[_0xf6df('0x38')](_0xcbc687);}});}function getCustomFields(_0x4fdb96,_0x3bb99a){var _0x41966c={};if(_0x4fdb96[_0xf6df('0x1c')]>0x0){_[_0xf6df('0x39')](_0x4fdb96,function(_0x267065){if(_0x267065[_0xf6df('0x3a')]===_0xf6df('0x3b')&&_0x267065['idField']){_0x41966c[_0x267065[_0xf6df('0x3c')]]=_0x267065[_0xf6df('0x3d')][_0xf6df('0x3e')]();}else if(_0x267065['type']===_0xf6df('0x3f')&&_0x267065[_0xf6df('0x40')]&&_0x267065[_0xf6df('0x3c')]){_0x3bb99a[_0x267065['variableName']]&&(_0x41966c[_0x267065['idField']]=_0x3bb99a[_0x267065['variableName']][_0xf6df('0x3e')]());}else if(_0x267065['type']===_0xf6df('0x41')&&_0x267065[_0xf6df('0x42')]&&_0x267065['Variable'][_0xf6df('0x43')]&&_0x267065[_0xf6df('0x3c')]){_0x3bb99a[_0x267065[_0xf6df('0x42')]['name'][_0xf6df('0x44')]()]&&(_0x41966c[_0x267065[_0xf6df('0x3c')]]=_0x3bb99a[_0x267065[_0xf6df('0x42')][_0xf6df('0x43')][_0xf6df('0x44')]()][_0xf6df('0x3e')]());}});}return _0x41966c;}function getConnection(_0x5d57e2){var _0x151cdf=_0x5d57e2['password']['concat'](_0x5d57e2[_0xf6df('0x45')]);var _0x4a7ad5=new jsforce[(_0xf6df('0x46'))]({'oauth2':{'loginUrl':_0x5d57e2[_0xf6df('0x47')]||_0xf6df('0x48'),'clientId':_0x5d57e2[_0xf6df('0x49')],'clientSecret':_0x5d57e2[_0xf6df('0x4a')]}});return _0x4a7ad5[_0xf6df('0x4b')](_0x5d57e2[_0xf6df('0x4c')],_0x151cdf)[_0xf6df('0x25')](function(){logger['info'](_0xf6df('0x4d'));return _0x4a7ad5;});}exports[_0xf6df('0x4e')]=function(_0x701554,_0x329994,_0x53a8e1,_0x3ab204,_0x1ba3cc,_0x3ddf6a){var _0x4e1c72,_0x333217,_0x580a83,_0xfbd4de;_0x3ddf6a[_0xf6df('0x4f')]=intUtil[_0xf6df('0x50')](_0x3ddf6a[_0xf6df('0x4f')]);_0x3ddf6a['remoteUri']=intUtil[_0xf6df('0x50')](_0x3ddf6a['remoteUri']);if(_0x1ba3cc&&_0x1ba3cc[_0xf6df('0x51')]){logger[_0xf6df('0x21')](_0xf6df('0x52'),_0xf6df('0x53'));_0x329994[_0xf6df('0x54')]=util['format'](_0xf6df('0x55'),_0x3ddf6a['serverUrl'],_0x329994[_0xf6df('0x56')],md5(_0x329994[_0xf6df('0x56')]));}else{_0x329994[_0xf6df('0x54')]='';}return getConnection(_0x3ddf6a)['then'](function(_0x519b17){_0xfbd4de=_0x519b17;return getUser(_0x3ddf6a,_0x3ab204[_0xf6df('0x57')],_0xfbd4de);})[_0xf6df('0x25')](function(_0x1323c8){_0x4e1c72=_0x1323c8;return getEndUser(_0x3ddf6a,_0x53a8e1,_0x329994[_0xf6df('0x58')],_0x329994[_0xf6df('0x59')],_0xfbd4de);})[_0xf6df('0x25')](function(_0x33aaa4){_0x333217=_0x33aaa4;return getTicket(_0x3ddf6a,_0x4e1c72,_0x333217,_0x53a8e1,_0x329994,_0x53a8e1[_0xf6df('0x5a')],_0xfbd4de,_0xf6df('0x4e'));})[_0xf6df('0x25')](function(_0x4334a5){_0x580a83=_0x4334a5;logger[_0xf6df('0x21')](_0xf6df('0x5b'),_0x580a83['id']);logger[_0xf6df('0x21')](_0xf6df('0x5c'),_0x580a83['id'],_0x3ab204[_0xf6df('0x43')],_0x3ddf6a[_0xf6df('0x3a')]);switch(_0x3ddf6a['type']){case'integrationTab':emit(util[_0xf6df('0x32')](_0xf6df('0x5d'),_0x3ab204[_0xf6df('0x43')]),'trigger:salesforce:display',{'recordId':_0x580a83['id']});break;case _0xf6df('0x5e'):emit(util[_0xf6df('0x32')](_0xf6df('0x5d'),_0x3ab204[_0xf6df('0x43')]),_0xf6df('0x5f'),{'uri':util[_0xf6df('0x32')]('%s/%s/e',_0xfbd4de[_0xf6df('0x60')],_0x580a83['id'])});break;default:logger[_0xf6df('0x61')](_0xf6df('0x62'));}})[_0xf6df('0x63')](function(_0x1ab00e){logger[_0xf6df('0x61')](_0xf6df('0x52'),JSON['stringify'](_0x1ab00e));});};exports[_0xf6df('0x64')]=function(_0x39a080,_0x4cb160,_0x37db82,_0x1f3a80,_0x46828b,_0x575719,_0x40da6c){var _0x486ba1,_0x406193,_0x18e018,_0x5dfc1b;_0x575719[_0xf6df('0x4f')]=intUtil[_0xf6df('0x50')](_0x575719[_0xf6df('0x4f')]);_0x575719[_0xf6df('0x47')]=intUtil[_0xf6df('0x50')](_0x575719[_0xf6df('0x47')]);if(_0x40da6c&&_0x40da6c[_0xf6df('0x65')]&&_0x40da6c[_0xf6df('0x65')]!==_0xf6df('0x66')){logger[_0xf6df('0x21')](_0xf6df('0x67'),_0xf6df('0x53'));_0x4cb160[_0xf6df('0x54')]=util[_0xf6df('0x32')](_0xf6df('0x55'),_0x575719[_0xf6df('0x4f')],_0x4cb160['uniqueid'],md5(_0x4cb160[_0xf6df('0x56')]));}return getConnection(_0x575719)['then'](function(_0x45b10b){_0x5dfc1b=_0x45b10b;return getUser(_0x575719,_0x1f3a80[_0xf6df('0x57')],_0x5dfc1b);})[_0xf6df('0x25')](function(_0x1b08a1){_0x486ba1=_0x1b08a1;return getEndUser(_0x575719,_0x37db82,_0x4cb160[_0xf6df('0x68')],_0x4cb160[_0xf6df('0x69')],_0x5dfc1b);})[_0xf6df('0x25')](function(_0x2a20b0){_0x406193=_0x2a20b0;return getTicket(_0x575719,_0x486ba1,_0x406193,_0x37db82,_0x4cb160,_0x37db82[_0xf6df('0x5a')],_0x5dfc1b,_0xf6df('0x64'));})['then'](function(_0x2a686b){_0x18e018=_0x2a686b;logger[_0xf6df('0x21')](_0xf6df('0x6a'),_0x18e018['id']);logger[_0xf6df('0x21')]('[OUTBOUND]\x20Displaying\x20ticket\x20%s\x20to\x20agent\x20%s.\x20Integration\x20account\x20type\x20%s.',_0x18e018['id'],_0x1f3a80[_0xf6df('0x43')],_0x575719[_0xf6df('0x3a')]);switch(_0x575719[_0xf6df('0x3a')]){case _0xf6df('0x6b'):emit(util['format'](_0xf6df('0x5d'),_0x1f3a80['name']),_0xf6df('0x6c'),{'recordId':_0x18e018['id']});break;case _0xf6df('0x5e'):emit(util[_0xf6df('0x32')](_0xf6df('0x5d'),_0x1f3a80['name']),_0xf6df('0x5f'),{'uri':util['format'](_0xf6df('0x6d'),_0x5dfc1b[_0xf6df('0x60')],_0x18e018['id'])});break;default:logger[_0xf6df('0x61')](_0xf6df('0x67'),_0xf6df('0x6e'));}})['catch'](function(_0x54eee8){logger[_0xf6df('0x61')]('[OUTBOUND]',JSON[_0xf6df('0x6f')](_0x54eee8));});};exports['unmanaged']=function(_0x73cca2,_0x1592cd,_0x16db74,_0x5b9e12,_0xc7c869,_0x25b962){var _0x29ee14,_0x298895,_0x3ec139,_0x28ca3f;_0x25b962[_0xf6df('0x4f')]=intUtil[_0xf6df('0x50')](_0x25b962['serverUrl']);_0x25b962[_0xf6df('0x47')]=intUtil['stripTrailingSlash'](_0x25b962[_0xf6df('0x47')]);if(_0xc7c869&&_0xc7c869['monitor_format']){logger[_0xf6df('0x21')]('['+_0x1592cd['lastevent'][_0xf6df('0x70')]()+']','Recording\x20is\x20enabled!');_0x1592cd['recordingURL']=util[_0xf6df('0x32')](_0xf6df('0x55'),_0x25b962[_0xf6df('0x4f')],_0x1592cd['uniqueid'],md5(_0x1592cd[_0xf6df('0x56')]));}else{_0x1592cd[_0xf6df('0x54')]='';}return getConnection(_0x25b962)[_0xf6df('0x25')](function(_0x2c0e3d){_0x28ca3f=_0x2c0e3d;if(!_[_0xf6df('0x17')](_0x5b9e12)){return getUser(_0x25b962,_0x5b9e12[_0xf6df('0x43')],_0x28ca3f);}else{return getUser(_0x25b962,null,_0x28ca3f);}})[_0xf6df('0x25')](function(_0x9802df){_0x29ee14=_0x9802df;return getEndUser(_0x25b962,_0x16db74,_0x1592cd[_0xf6df('0x58')],_0x1592cd['calleridnum'],_0x28ca3f);})[_0xf6df('0x25')](function(_0x89d276){_0x298895=_0x89d276;return getTicket(_0x25b962,_0x29ee14,_0x298895,_0x16db74,_0x1592cd,_0x16db74[_0xf6df('0x5a')],_0x28ca3f);})[_0xf6df('0x25')](function(_0xebfa5a){_0x3ec139=_0xebfa5a;logger[_0xf6df('0x21')]('['+_0x1592cd[_0xf6df('0x71')][_0xf6df('0x70')]()+_0xf6df('0x72'),_0x3ec139['id']);logger[_0xf6df('0x21')]('['+_0x1592cd[_0xf6df('0x71')][_0xf6df('0x70')]()+_0xf6df('0x73'),_0x25b962['type']);})[_0xf6df('0x63')](function(_0x31b857){logger[_0xf6df('0x61')]('['+_0x1592cd[_0xf6df('0x71')][_0xf6df('0x70')]()+']',JSON[_0xf6df('0x6f')](_0x31b857));});}; \ No newline at end of file diff --git a/server/services/ami/trigger/integration/servicenow.js b/server/services/ami/trigger/integration/servicenow.js index 4e49c94..b31b510 100644 --- a/server/services/ami/trigger/integration/servicenow.js +++ b/server/services/ami/trigger/integration/servicenow.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x5fc3=['],\x20EndUser\x20schema','sys_user?sysparm_query=phone%3D','],\x20getEndUser\x20crm','],\x20createEndUser\x20crm','forEach','type','nameField','customField','idField','content','toString','string','toLowerCase','Variable','name',']\x20getTicket\x20input\x20crm','outbound','assign','getString','Subjects','Descriptions','Fields',']\x20POST\x20incident\x20entity\x20schema','ticketId','ticketNumber','number',']\x20getTicket\x20crm','label','label_entry','incident','Incident','Incident\x20-\x20','push','all',']\x20arrayPromises:\x20IDs\x20in\x20table\x20label','Tags','map','%26sysparm_record_row%3D1%26sysparm_record_rows%3D39','%26sysparm_record_list%3Dactive%253Dtrue','%255EORDERBYDESCnumber','/nav_to.do?uri=incident.do?sys_id%3D','format','user:%s','emit','trigger:browser:url','sysparm_display_value=true','remoteUri','stripTrailingSlash','serverUrl','%s/api/now/table/','isNil','email','calleridnum','queue','unmanaged','%s/api/voice/recordings/%s/downloads?type=uniqueid&token=%s','uniqueid','monitor_format','[QUEUE]','Recording\x20is\x20enabled!','recordingURL','recordingFormat','none','[OUTBOUND]','call\x20direction:\x20%s','Displaying\x20call\x20in\x20a\x20new\x20tab...','inspect','lodash','bluebird','util','md5','ioredis','./util','../../../../config/environment','servicenow','redis','defaults','socket.io-emitter','GET','then','length','adminId','info','],\x20getAdminUser\x20crm','catch','error','toUpperCase','userEmail','],\x20getUser\x20entity','result','active','true','sys_id','userId','message','adminEmail','],\x20createEndUser\x20input\x20crm','POST','sys_user?','endUserNumber','System'];(function(_0xf7ff4,_0x543a19){var _0x554e6a=function(_0x4b8192){while(--_0x4b8192){_0xf7ff4['push'](_0xf7ff4['shift']());}};_0x554e6a(++_0x543a19);}(_0x5fc3,0xa8));var _0x35fc=function(_0x18f152,_0x41585a){_0x18f152=_0x18f152-0x0;var _0xa10b34=_0x5fc3[_0x18f152];return _0xa10b34;};'use strict';var _=require(_0x35fc('0x0'));var Promise=require(_0x35fc('0x1'));var rp=require('request-promise');var util=require(_0x35fc('0x2'));var md5=require(_0x35fc('0x3'));var Redis=require(_0x35fc('0x4'));var intUtil=require(_0x35fc('0x5'));var config=require(_0x35fc('0x6'));var logger=require('../../../../config/logger')(_0x35fc('0x7'));config[_0x35fc('0x8')]=_[_0x35fc('0x9')](config['redis'],{'host':'localhost','port':0x18eb});var io=require(_0x35fc('0xa'))(new Redis(config['redis']));function getAdminUser(_0x16e153,_0x27524f,_0xc72d93,_0x1e5f90,_0x34ff19,_0xf9d3a6){return new Promise(function(_0x2051ab,_0x565f95){var _0x1083a9={'method':_0x35fc('0xb'),'uri':_0x1e5f90+'sys_user?sysparm_query=user_name%3Dadmin'+'&'+_0x34ff19+'&'+_0xf9d3a6,'auth':_0x27524f,'json':!![]};return rp(_0x1083a9)[_0x35fc('0xc')](function(_0x33f491){if(_0x33f491['result'][_0x35fc('0xd')]>0x0){_0xc72d93[_0x35fc('0xe')]=_0x33f491['result'][0x0]['sys_id'];}logger[_0x35fc('0xf')]('['+[_0x16e153['toUpperCase']()]+_0x35fc('0x10'),_0xc72d93);_0x2051ab(_0xc72d93);})[_0x35fc('0x11')](function(_0x2a6ad2){logger[_0x35fc('0x12')]('['+[_0x16e153[_0x35fc('0x13')]()]+']',_0x2a6ad2['message']);_0x565f95(_0x2a6ad2['message']);});});}function getUser(_0x5eac0f,_0x558364,_0x398b67,_0x229d56,_0x53b898){return function(_0x154958){logger[_0x35fc('0xf')]('['+[_0x5eac0f[_0x35fc('0x13')]()]+'],\x20getUser\x20input\x20crm',_0x154958);return new Promise(function(_0x26ba54,_0x45c8b7){if(intUtil['validateEmail'](_0x154958[_0x35fc('0x14')])){var _0x363e47={'method':_0x35fc('0xb'),'uri':_0x398b67+'sys_user?sysparm_query=email%3D'+_0x154958[_0x35fc('0x14')]+'&'+_0x229d56+'&'+_0x53b898,'auth':_0x558364,'json':!![]};logger[_0x35fc('0xf')]('['+[_0x5eac0f[_0x35fc('0x13')]()]+'],\x20getUser\x20rp\x20obj',_0x363e47);return rp(_0x363e47)[_0x35fc('0xc')](function(_0x350a27){logger[_0x35fc('0xf')]('['+[_0x5eac0f[_0x35fc('0x13')]()]+_0x35fc('0x15'),_0x350a27);if(_0x350a27[_0x35fc('0x16')][_0x35fc('0xd')]>0x0&&String(_0x350a27[_0x35fc('0x16')][0x0][_0x35fc('0x17')])===_0x35fc('0x18')){_0x154958['userId']=_0x350a27[_0x35fc('0x16')][0x0][_0x35fc('0x19')];}else{_0x154958[_0x35fc('0x1a')]=_0x154958[_0x35fc('0xe')];_0x154958[_0x35fc('0x14')]=_0x154958['adminEmail'];}logger[_0x35fc('0xf')]('['+[_0x5eac0f[_0x35fc('0x13')]()]+'],\x20getUser\x20crm',_0x154958);_0x26ba54(_0x154958);})[_0x35fc('0x11')](function(_0x5a93df){logger[_0x35fc('0x12')]('['+[_0x5eac0f['toUpperCase']()]+']',_0x5a93df[_0x35fc('0x1b')]);_0x45c8b7(_0x5a93df['message']);});}else{logger[_0x35fc('0xf')]('['+[_0x5eac0f[_0x35fc('0x13')]()]+']\x20using\x20admin\x20profile');_0x154958['userId']=_0x154958[_0x35fc('0xe')];_0x154958['userEmail']=_0x154958[_0x35fc('0x1c')];_0x26ba54(_0x154958);}});};}function createEndUser(_0x1a5d92,_0x57001c,_0x26b7cb,_0x645eac,_0x383837){logger[_0x35fc('0xf')]('['+[_0x1a5d92[_0x35fc('0x13')]()]+_0x35fc('0x1d'),_0x26b7cb);return new Promise(function(_0x11ccdb,_0x451f0c){var _0x54aedc={'method':_0x35fc('0x1e'),'uri':_0x645eac+_0x35fc('0x1f')+_0x383837,'body':{'user_name':_0x26b7cb[_0x35fc('0x20')],'roles':'user','first_name':_0x26b7cb[_0x35fc('0x20')],'active':_0x35fc('0x18'),'date_format':_0x35fc('0x21'),'phone':_0x26b7cb[_0x35fc('0x20')]},'auth':_0x57001c,'json':!![]};return rp(_0x54aedc)[_0x35fc('0xc')](function(_0x103181){logger[_0x35fc('0xf')]('['+[_0x1a5d92[_0x35fc('0x13')]()]+_0x35fc('0x22'),_0x103181[_0x35fc('0x16')]);_0x26b7cb['endUserId']=_0x103181['result'][_0x35fc('0x19')];_0x11ccdb(_0x26b7cb);})['catch'](function(_0x37b394){logger[_0x35fc('0x12')]('['+[_0x1a5d92[_0x35fc('0x13')]()]+']',_0x37b394[_0x35fc('0x1b')]);_0x451f0c(_0x37b394[_0x35fc('0x1b')]);});});}function getEndUser(_0x12e78f,_0x4e43b4,_0x3fe193,_0x330a14,_0x46b9ef){return function(_0x4441d8){logger[_0x35fc('0xf')]('['+[_0x12e78f[_0x35fc('0x13')]()]+'],\x20getEndUser\x20input\x20crm',_0x4441d8);return new Promise(function(_0x2483be,_0x38193d){var _0x1fecdf={'method':'GET','uri':_0x3fe193+_0x35fc('0x23')+_0x4441d8['endUserNumber']+'&'+_0x330a14+'&'+_0x46b9ef,'auth':_0x4e43b4,'json':!![]};return rp(_0x1fecdf)[_0x35fc('0xc')](function(_0x33a377){if(_0x33a377[_0x35fc('0x16')][_0x35fc('0xd')]>0x0){_0x4441d8['endUserId']=_0x33a377['result'][0x0]['sys_id'];logger[_0x35fc('0xf')]('['+[_0x12e78f['toUpperCase']()]+_0x35fc('0x24'),_0x4441d8);_0x2483be(_0x4441d8);}else{return createEndUser(_0x12e78f,_0x4e43b4,_0x4441d8,_0x3fe193,_0x330a14)['then'](function(_0x9c6b65){logger[_0x35fc('0xf')]('['+[_0x12e78f[_0x35fc('0x13')]()]+_0x35fc('0x25'),_0x9c6b65);_0x2483be(_0x9c6b65);});}})[_0x35fc('0x11')](function(_0x3313fa){logger[_0x35fc('0x12')]('['+[_0x12e78f['toUpperCase']()]+']',_0x3313fa[_0x35fc('0x1b')]);_0x38193d(_0x3313fa[_0x35fc('0x1b')]);});});};}function getCustomFields(_0x4e0ce3,_0x1feda5){var _0x1ccc41={};if(_0x4e0ce3[_0x35fc('0xd')]>0x0){_[_0x35fc('0x26')](_0x4e0ce3,function(_0x813866){if(_0x813866[_0x35fc('0x27')]==='string'&&_0x813866[_0x35fc('0x28')]&&!_0x813866[_0x35fc('0x29')]){_0x1ccc41[_0x813866[_0x35fc('0x2a')]['toLowerCase']()]=_0x813866[_0x35fc('0x2b')][_0x35fc('0x2c')]();}else if(_0x813866['type']===_0x35fc('0x2d')&&_0x813866[_0x35fc('0x2a')]&&_0x813866[_0x35fc('0x29')]){_0x1ccc41[_0x813866[_0x35fc('0x2a')][_0x35fc('0x2e')]()]=_0x813866[_0x35fc('0x2b')][_0x35fc('0x2c')]();}else if(_0x813866[_0x35fc('0x27')]==='variable'&&_0x813866['variableName']&&_0x813866[_0x35fc('0x2a')]&&_0x813866[_0x35fc('0x29')]){_0x1ccc41[_0x813866['idField']['toLowerCase']()]=_0x1feda5[_0x813866['variableName']][_0x35fc('0x2c')]();}else if(_0x813866[_0x35fc('0x27')]==='customVariable'&&_0x813866[_0x35fc('0x2f')]&&_0x813866[_0x35fc('0x2f')][_0x35fc('0x30')]&&_0x813866[_0x35fc('0x2a')]&&_0x813866['customField']){_0x1ccc41[_0x813866['idField']['toLowerCase']()]=_0x1feda5[_0x813866['Variable']['name'][_0x35fc('0x2e')]()][_0x35fc('0x2c')]();}});}return _0x1ccc41;}function getTicket(_0x4fc5bc,_0x119925,_0x56cf1f,_0x13d16c,_0x40797d,_0x350237){return function(_0x2de5d1){logger[_0x35fc('0xf')]('['+[_0x4fc5bc['toUpperCase']()]+_0x35fc('0x31'),_0x2de5d1);return new Promise(function(_0x2c25d5,_0x4fd3d8){var _0x18181b=_0x4fc5bc[_0x35fc('0x2e')]()===_0x35fc('0x32')?_0x2de5d1[_0x35fc('0x1a')]:_0x2de5d1['endUserId'];var _0x3666a5={'method':'POST','uri':_0x56cf1f+'incident'+'?'+_0x350237,'body':Object[_0x35fc('0x33')]({},{'active':_0x35fc('0x18'),'caller_id':_0x18181b,'assigned_to':_0x2de5d1[_0x35fc('0x1a')],'short_description':intUtil[_0x35fc('0x34')](_0x13d16c[_0x35fc('0x35')],_0x40797d,'\x20'),'description':intUtil[_0x35fc('0x34')](_0x13d16c[_0x35fc('0x36')],_0x40797d,'\x0a')},getCustomFields(_0x13d16c[_0x35fc('0x37')],_0x40797d)),'auth':_0x119925,'json':!![]};return rp(_0x3666a5)['then'](function(_0x3e2961){logger[_0x35fc('0xf')]('['+[_0x4fc5bc[_0x35fc('0x13')]()]+_0x35fc('0x38'),_0x3e2961[_0x35fc('0x16')]);_0x2de5d1[_0x35fc('0x39')]=_0x3e2961[_0x35fc('0x16')][_0x35fc('0x19')];_0x2de5d1[_0x35fc('0x3a')]=_0x3e2961[_0x35fc('0x16')][_0x35fc('0x3b')];logger[_0x35fc('0xf')]('['+[_0x4fc5bc[_0x35fc('0x13')]()]+_0x35fc('0x3c'),_0x2de5d1);_0x2c25d5(_0x2de5d1);})['catch'](function(_0x553ed6){logger[_0x35fc('0x12')]('['+[_0x4fc5bc[_0x35fc('0x13')]()]+']',_0x553ed6[_0x35fc('0x1b')]);_0x4fd3d8(_0x553ed6[_0x35fc('0x1b')]);});});};}function createRemoteTag(_0x3ee296,_0x3e6494,_0x4a4798,_0x4f024c){return new Promise(function(_0x388521,_0x19b2ce){var _0x395d63={'method':_0x35fc('0x1e'),'uri':_0x4a4798+'label'+'?'+_0x4f024c,'body':{'short_description':_0x3ee296,'global':!![],'active':!![],'name':_0x3ee296},'auth':_0x3e6494,'json':!![]};return rp(_0x395d63)[_0x35fc('0xc')](function(_0x13281f){var _0x4965d2=_0x13281f[_0x35fc('0x16')][_0x35fc('0x19')];_0x388521(_0x4965d2);});});}function getRemoteTag(_0x590faa,_0x3e12e4,_0x1ab472,_0x26118e,_0x18f18b){return new Promise(function(_0x5e4018,_0x4de34b){var _0x502a15={'method':_0x35fc('0xb'),'uri':_0x1ab472+_0x35fc('0x3d')+'?sysparm_query=name%3D'+_0x590faa+'&'+_0x26118e,'auth':_0x3e12e4,'json':!![]};return rp(_0x502a15)[_0x35fc('0xc')](function(_0x1f89b3){if(_0x1f89b3[_0x35fc('0x16')][_0x35fc('0xd')]>0x0){var _0x46c59b=_0x1f89b3['result'][0x0][_0x35fc('0x19')];_0x5e4018(_0x46c59b);}else{return createRemoteTag(_0x590faa,_0x3e12e4,_0x1ab472,_0x26118e)[_0x35fc('0xc')](function(_0x39d470){_0x5e4018(_0x39d470);});}});});}function assignTagToIncident(_0x509e77,_0x304dba,_0x1dbf5a,_0x47fb1a,_0x35a676){return new Promise(function(_0x164c7b,_0x1c46b1){var _0x1c4c33={'method':_0x35fc('0x1e'),'uri':_0x1dbf5a+_0x35fc('0x3e')+'?'+_0x35a676,'body':{'label':_0x509e77,'table':_0x35fc('0x3f'),'id_type':_0x35fc('0x40'),'table_key':_0x47fb1a['ticketId'],'title':_0x35fc('0x41')+_0x47fb1a[_0x35fc('0x3a')],'id_display':_0x47fb1a[_0x35fc('0x3a')]},'auth':_0x304dba,'json':!![]};return rp(_0x1c4c33)['then'](function(_0x243871){_0x164c7b();})['catch'](function(){_0x164c7b();});});}function manageTags(_0x4ceacc,_0x5d4a39,_0x23b54f,_0xb1c68a,_0x39a1ee,_0x13901c,_0x3d06b8){return new Promise(function(_0x4bbea0,_0x579f5a){var _0x5353ea=[];_0x5d4a39['forEach'](function(_0x51d231){_0x5353ea[_0x35fc('0x42')](getRemoteTag(_0x51d231,_0x23b54f,_0xb1c68a,_0x13901c,_0x3d06b8));});return Promise[_0x35fc('0x43')](_0x5353ea)[_0x35fc('0xc')](function(_0x3ef680){if(_0x3ef680['length']){logger[_0x35fc('0xf')]('['+[_0x4ceacc[_0x35fc('0x13')]()]+_0x35fc('0x44'),_0x3ef680);var _0x1b0063=[];_0x3ef680[_0x35fc('0x26')](function(_0x1d0e53){_0x1b0063[_0x35fc('0x42')](assignTagToIncident(_0x1d0e53,_0x23b54f,_0xb1c68a,_0x39a1ee,_0x13901c));});return Promise[_0x35fc('0x43')](_0x1b0063)[_0x35fc('0xc')](function(){_0x4bbea0();})['catch'](function(){_0x4bbea0();});}else{_0x4bbea0();}});});}function getTags(_0x35d7c8,_0x47c75f,_0xfbd737,_0x9029e3,_0x2ac8e1,_0x2bc76c){return function(_0x4bdde7){return new Promise(function(_0x465c14,_0x4af592){var _0x4e2835=[];var _0x5f1d4a=_0x9029e3[_0x35fc('0x45')];if(_0x5f1d4a&&_0x5f1d4a['length']>0x0){_0x4e2835=_[_0x35fc('0x46')](_0x5f1d4a,'name');}if(_0x4e2835[_0x35fc('0xd')]>0x0){return manageTags(_0x35d7c8,_0x4e2835,_0x47c75f,_0xfbd737,_0x4bdde7,_0x2ac8e1,_0x2bc76c)['then'](function(){_0x465c14(_0x4bdde7);});}else{_0x465c14(_0x4bdde7);}});};}function emit(_0x42a53a,_0x455b84,_0x3400f0){var _0x1d81a5='%26sysparm_record_target%3Dincident'+_0x35fc('0x47')+_0x35fc('0x48')+_0x35fc('0x49');var _0x5df92d={'uri':_0x42a53a+_0x35fc('0x4a')+_0x3400f0+_0x1d81a5};io['to'](util[_0x35fc('0x4b')](_0x35fc('0x4c'),_0x455b84))[_0x35fc('0x4d')](_0x35fc('0x4e'),_0x5df92d);}exports['cs']=function(_0x2c4309,_0x2ee98b,_0x4464d5,_0x5159a0,_0x28a44b,_0x2008b3,_0x2600d2,_0x4a926d){var _0x1c88d8={};var _0x1b76f0={'user':_0x2008b3['username'],'pass':_0x2008b3['password']};var _0x3969d3='sysparm_limit=1';var _0x223ad3=_0x35fc('0x4f');_0x2008b3[_0x35fc('0x50')]=intUtil[_0x35fc('0x51')](_0x2008b3[_0x35fc('0x50')]);_0x2008b3[_0x35fc('0x52')]=intUtil[_0x35fc('0x51')](_0x2008b3[_0x35fc('0x52')]);var _0x10b725=util[_0x35fc('0x4b')](_0x35fc('0x53'),_0x2008b3[_0x35fc('0x50')]);_0x1c88d8[_0x35fc('0x14')]=!_[_0x35fc('0x54')](_0x5159a0)?_0x5159a0[_0x35fc('0x55')]:null;_0x1c88d8[_0x35fc('0x1c')]=_0x2008b3[_0x35fc('0x55')];_0x1c88d8[_0x35fc('0x20')]=_0x4a926d[_0x35fc('0x2e')]()===_0x35fc('0x32')?_0x2ee98b['destcalleridnum']:_0x2ee98b[_0x35fc('0x56')];_0x1c88d8['callDirection']=_0x4a926d===_0x35fc('0x57')||_0x4a926d===_0x35fc('0x58')?_0x35fc('0x57'):_0x35fc('0x32');var _0x25af78=util[_0x35fc('0x4b')](_0x35fc('0x59'),_0x2008b3[_0x35fc('0x52')],_0x2ee98b[_0x35fc('0x5a')],md5(_0x2ee98b[_0x35fc('0x5a')]));if(_0x28a44b&&_0x28a44b[_0x35fc('0x5b')]){logger['info'](_0x35fc('0x5c'),_0x35fc('0x5d'));_0x2ee98b[_0x35fc('0x5e')]=_0x25af78;}else if(_0x2600d2&&_0x2600d2[_0x35fc('0x5f')]&&_0x2600d2[_0x35fc('0x5f')]!==_0x35fc('0x60')){logger['info'](_0x35fc('0x61'),_0x35fc('0x5d'));_0x2ee98b[_0x35fc('0x5e')]=_0x25af78;}else{_0x2ee98b[_0x35fc('0x5e')]='';}return getAdminUser(_0x4a926d,_0x1b76f0,_0x1c88d8,_0x10b725,_0x223ad3,_0x3969d3)[_0x35fc('0xc')](getUser(_0x4a926d,_0x1b76f0,_0x10b725,_0x223ad3,_0x3969d3))[_0x35fc('0xc')](getEndUser(_0x4a926d,_0x1b76f0,_0x10b725,_0x223ad3,_0x3969d3))[_0x35fc('0xc')](getTicket(_0x4a926d,_0x1b76f0,_0x10b725,_0x4464d5,_0x2ee98b,_0x223ad3))[_0x35fc('0xc')](function(_0xa92234){logger['info'](util[_0x35fc('0x4b')]('The\x20ticket\x20ID\x20is:\x20%s',_0xa92234[_0x35fc('0x39')]));logger[_0x35fc('0xf')](util['format'](_0x35fc('0x62'),_0x4a926d));if(_0x4a926d!==_0x35fc('0x58')){logger[_0x35fc('0xf')]('['+[_0x4a926d[_0x35fc('0x13')]()]+']',_0x35fc('0x63'));emit(_0x2008b3[_0x35fc('0x50')],_0x5159a0[_0x35fc('0x30')],_0xa92234[_0x35fc('0x39')]);}})[_0x35fc('0x11')](function(_0x5806bf){logger['error']('['+[_0x4a926d['toUpperCase']()]+']\x20Error\x20running\x20ServiceNow\x20integration',util[_0x35fc('0x64')](_0x5806bf,{'showHidden':!![],'depth':null}));});}; \ No newline at end of file +var _0x2ef3=['userEmail','GET','sys_user?sysparm_query=email%3D','],\x20getUser\x20rp\x20obj','],\x20getUser\x20entity','length','true','userId','adminEmail','],\x20getUser\x20crm',']\x20using\x20admin\x20profile','],\x20createEndUser\x20input\x20crm','POST','sys_user?','endUserNumber','user','],\x20EndUser\x20schema','endUserId','],\x20getEndUser\x20input\x20crm','sys_user?sysparm_query=phone%3D','],\x20getEndUser\x20crm','],\x20createEndUser\x20crm','forEach','type','nameField','customField','idField','toLowerCase','content','toString','variable','variableName','customVariable','Variable','name',']\x20getTicket\x20input\x20crm','outbound','incident','assign','getString','Subjects','Descriptions','Fields',']\x20POST\x20incident\x20entity\x20schema','ticketId','ticketNumber','number','catch','label','?sysparm_query=name%3D','label_entry','Incident','push','all','Tags','%26sysparm_record_target%3Dincident','%26sysparm_record_row%3D1%26sysparm_record_rows%3D39','%26sysparm_record_list%3Dactive%253Dtrue','%255EORDERBYDESCnumber','format','emit','trigger:browser:url','username','sysparm_limit=1','sysparm_display_value=true','remoteUri','stripTrailingSlash','serverUrl','isNil','calleridnum','queue','unmanaged','%s/api/voice/recordings/%s/downloads?type=uniqueid&token=%s','uniqueid','monitor_format','recordingURL','recordingFormat','none','[OUTBOUND]','Recording\x20is\x20enabled!','call\x20direction:\x20%s',']\x20Error\x20running\x20ServiceNow\x20integration','lodash','bluebird','request-promise','util','md5','ioredis','../../../../config/environment','../../../../config/logger','redis','defaults','socket.io-emitter','sys_user?sysparm_query=user_name%3Dadmin','then','result','adminId','sys_id','toUpperCase','],\x20getAdminUser\x20crm','error','message','info','validateEmail'];(function(_0x455a80,_0x5d3d9c){var _0x47ac6c=function(_0x41f937){while(--_0x41f937){_0x455a80['push'](_0x455a80['shift']());}};_0x47ac6c(++_0x5d3d9c);}(_0x2ef3,0xba));var _0x32ef=function(_0x53a8d7,_0x4c0224){_0x53a8d7=_0x53a8d7-0x0;var _0x56664a=_0x2ef3[_0x53a8d7];return _0x56664a;};'use strict';var _=require(_0x32ef('0x0'));var Promise=require(_0x32ef('0x1'));var rp=require(_0x32ef('0x2'));var util=require(_0x32ef('0x3'));var md5=require(_0x32ef('0x4'));var Redis=require(_0x32ef('0x5'));var intUtil=require('./util');var config=require(_0x32ef('0x6'));var logger=require(_0x32ef('0x7'))('servicenow');config[_0x32ef('0x8')]=_[_0x32ef('0x9')](config['redis'],{'host':'localhost','port':0x18eb});var io=require(_0x32ef('0xa'))(new Redis(config[_0x32ef('0x8')]));function getAdminUser(_0x367c39,_0x2fb8eb,_0x234863,_0x298066,_0x2484a0,_0x2bbb50){return new Promise(function(_0x28275c,_0x77df79){var _0x56eb42={'method':'GET','uri':_0x298066+_0x32ef('0xb')+'&'+_0x2484a0+'&'+_0x2bbb50,'auth':_0x2fb8eb,'json':!![]};return rp(_0x56eb42)[_0x32ef('0xc')](function(_0x45bfd5){if(_0x45bfd5[_0x32ef('0xd')]['length']>0x0){_0x234863[_0x32ef('0xe')]=_0x45bfd5['result'][0x0][_0x32ef('0xf')];}logger['info']('['+[_0x367c39[_0x32ef('0x10')]()]+_0x32ef('0x11'),_0x234863);_0x28275c(_0x234863);})['catch'](function(_0x539d18){logger[_0x32ef('0x12')]('['+[_0x367c39['toUpperCase']()]+']',_0x539d18[_0x32ef('0x13')]);_0x77df79(_0x539d18[_0x32ef('0x13')]);});});}function getUser(_0x93d492,_0x54c7f5,_0x57aff1,_0x55bf0b,_0x531e30){return function(_0x13db1a){logger[_0x32ef('0x14')]('['+[_0x93d492[_0x32ef('0x10')]()]+'],\x20getUser\x20input\x20crm',_0x13db1a);return new Promise(function(_0x5d559b,_0x1eb468){if(intUtil[_0x32ef('0x15')](_0x13db1a[_0x32ef('0x16')])){var _0x57863c={'method':_0x32ef('0x17'),'uri':_0x57aff1+_0x32ef('0x18')+_0x13db1a['userEmail']+'&'+_0x55bf0b+'&'+_0x531e30,'auth':_0x54c7f5,'json':!![]};logger[_0x32ef('0x14')]('['+[_0x93d492[_0x32ef('0x10')]()]+_0x32ef('0x19'),_0x57863c);return rp(_0x57863c)[_0x32ef('0xc')](function(_0x445cda){logger[_0x32ef('0x14')]('['+[_0x93d492['toUpperCase']()]+_0x32ef('0x1a'),_0x445cda);if(_0x445cda['result'][_0x32ef('0x1b')]>0x0&&String(_0x445cda[_0x32ef('0xd')][0x0]['active'])===_0x32ef('0x1c')){_0x13db1a[_0x32ef('0x1d')]=_0x445cda[_0x32ef('0xd')][0x0]['sys_id'];}else{_0x13db1a['userId']=_0x13db1a[_0x32ef('0xe')];_0x13db1a[_0x32ef('0x16')]=_0x13db1a[_0x32ef('0x1e')];}logger['info']('['+[_0x93d492['toUpperCase']()]+_0x32ef('0x1f'),_0x13db1a);_0x5d559b(_0x13db1a);})['catch'](function(_0x51a412){logger[_0x32ef('0x12')]('['+[_0x93d492[_0x32ef('0x10')]()]+']',_0x51a412[_0x32ef('0x13')]);_0x1eb468(_0x51a412[_0x32ef('0x13')]);});}else{logger[_0x32ef('0x14')]('['+[_0x93d492[_0x32ef('0x10')]()]+_0x32ef('0x20'));_0x13db1a[_0x32ef('0x1d')]=_0x13db1a[_0x32ef('0xe')];_0x13db1a[_0x32ef('0x16')]=_0x13db1a[_0x32ef('0x1e')];_0x5d559b(_0x13db1a);}});};}function createEndUser(_0xba4b3f,_0x5a88a5,_0xd65fde,_0x2f5d06,_0x5a04cd){logger[_0x32ef('0x14')]('['+[_0xba4b3f[_0x32ef('0x10')]()]+_0x32ef('0x21'),_0xd65fde);return new Promise(function(_0x26e207,_0x50a95b){var _0x10e38c={'method':_0x32ef('0x22'),'uri':_0x2f5d06+_0x32ef('0x23')+_0x5a04cd,'body':{'user_name':_0xd65fde[_0x32ef('0x24')],'roles':_0x32ef('0x25'),'first_name':_0xd65fde[_0x32ef('0x24')],'active':_0x32ef('0x1c'),'date_format':'System','phone':_0xd65fde[_0x32ef('0x24')]},'auth':_0x5a88a5,'json':!![]};return rp(_0x10e38c)['then'](function(_0x38bf73){logger[_0x32ef('0x14')]('['+[_0xba4b3f['toUpperCase']()]+_0x32ef('0x26'),_0x38bf73[_0x32ef('0xd')]);_0xd65fde[_0x32ef('0x27')]=_0x38bf73[_0x32ef('0xd')][_0x32ef('0xf')];_0x26e207(_0xd65fde);})['catch'](function(_0x50ecd6){logger[_0x32ef('0x12')]('['+[_0xba4b3f['toUpperCase']()]+']',_0x50ecd6[_0x32ef('0x13')]);_0x50a95b(_0x50ecd6[_0x32ef('0x13')]);});});}function getEndUser(_0x2f1349,_0x390670,_0x389583,_0x22fa1a,_0x566b56){return function(_0x482d3a){logger['info']('['+[_0x2f1349[_0x32ef('0x10')]()]+_0x32ef('0x28'),_0x482d3a);return new Promise(function(_0x136b02,_0x5f2443){var _0x4fb402={'method':_0x32ef('0x17'),'uri':_0x389583+_0x32ef('0x29')+_0x482d3a[_0x32ef('0x24')]+'&'+_0x22fa1a+'&'+_0x566b56,'auth':_0x390670,'json':!![]};return rp(_0x4fb402)['then'](function(_0x4abbd6){if(_0x4abbd6[_0x32ef('0xd')][_0x32ef('0x1b')]>0x0){_0x482d3a[_0x32ef('0x27')]=_0x4abbd6[_0x32ef('0xd')][0x0][_0x32ef('0xf')];logger[_0x32ef('0x14')]('['+[_0x2f1349[_0x32ef('0x10')]()]+_0x32ef('0x2a'),_0x482d3a);_0x136b02(_0x482d3a);}else{return createEndUser(_0x2f1349,_0x390670,_0x482d3a,_0x389583,_0x22fa1a)[_0x32ef('0xc')](function(_0x4de939){logger[_0x32ef('0x14')]('['+[_0x2f1349[_0x32ef('0x10')]()]+_0x32ef('0x2b'),_0x4de939);_0x136b02(_0x4de939);});}})['catch'](function(_0x365125){logger[_0x32ef('0x12')]('['+[_0x2f1349[_0x32ef('0x10')]()]+']',_0x365125[_0x32ef('0x13')]);_0x5f2443(_0x365125[_0x32ef('0x13')]);});});};}function getCustomFields(_0x33a0fb,_0x256c40){var _0x1cebed={};if(_0x33a0fb[_0x32ef('0x1b')]>0x0){_[_0x32ef('0x2c')](_0x33a0fb,function(_0xb4db74){if(_0xb4db74[_0x32ef('0x2d')]==='string'&&_0xb4db74[_0x32ef('0x2e')]&&!_0xb4db74[_0x32ef('0x2f')]){_0x1cebed[_0xb4db74[_0x32ef('0x30')][_0x32ef('0x31')]()]=_0xb4db74[_0x32ef('0x32')][_0x32ef('0x33')]();}else if(_0xb4db74[_0x32ef('0x2d')]==='string'&&_0xb4db74['idField']&&_0xb4db74[_0x32ef('0x2f')]){_0x1cebed[_0xb4db74[_0x32ef('0x30')][_0x32ef('0x31')]()]=_0xb4db74[_0x32ef('0x32')]['toString']();}else if(_0xb4db74[_0x32ef('0x2d')]===_0x32ef('0x34')&&_0xb4db74['variableName']&&_0xb4db74[_0x32ef('0x30')]&&_0xb4db74['customField']){_0x1cebed[_0xb4db74[_0x32ef('0x30')][_0x32ef('0x31')]()]=_0x256c40[_0xb4db74[_0x32ef('0x35')]][_0x32ef('0x33')]();}else if(_0xb4db74[_0x32ef('0x2d')]===_0x32ef('0x36')&&_0xb4db74[_0x32ef('0x37')]&&_0xb4db74[_0x32ef('0x37')][_0x32ef('0x38')]&&_0xb4db74[_0x32ef('0x30')]&&_0xb4db74['customField']){_0x1cebed[_0xb4db74[_0x32ef('0x30')]['toLowerCase']()]=_0x256c40[_0xb4db74[_0x32ef('0x37')][_0x32ef('0x38')][_0x32ef('0x31')]()]['toString']();}});}return _0x1cebed;}function getTicket(_0x502113,_0x230ac9,_0x37b954,_0x241f82,_0x35b4e0,_0x40bf12){return function(_0x12c9e6){logger['info']('['+[_0x502113['toUpperCase']()]+_0x32ef('0x39'),_0x12c9e6);return new Promise(function(_0x270826,_0x27d65b){var _0x13b270=_0x502113[_0x32ef('0x31')]()===_0x32ef('0x3a')?_0x12c9e6[_0x32ef('0x1d')]:_0x12c9e6[_0x32ef('0x27')];var _0xc10e7={'method':_0x32ef('0x22'),'uri':_0x37b954+_0x32ef('0x3b')+'?'+_0x40bf12,'body':Object[_0x32ef('0x3c')]({},{'active':_0x32ef('0x1c'),'caller_id':_0x13b270,'assigned_to':_0x12c9e6['userId'],'short_description':intUtil[_0x32ef('0x3d')](_0x241f82[_0x32ef('0x3e')],_0x35b4e0,'\x20'),'description':intUtil[_0x32ef('0x3d')](_0x241f82[_0x32ef('0x3f')],_0x35b4e0,'\x0a')},getCustomFields(_0x241f82[_0x32ef('0x40')],_0x35b4e0)),'auth':_0x230ac9,'json':!![]};return rp(_0xc10e7)[_0x32ef('0xc')](function(_0x278696){logger[_0x32ef('0x14')]('['+[_0x502113[_0x32ef('0x10')]()]+_0x32ef('0x41'),_0x278696[_0x32ef('0xd')]);_0x12c9e6[_0x32ef('0x42')]=_0x278696[_0x32ef('0xd')][_0x32ef('0xf')];_0x12c9e6[_0x32ef('0x43')]=_0x278696[_0x32ef('0xd')][_0x32ef('0x44')];logger[_0x32ef('0x14')]('['+[_0x502113['toUpperCase']()]+']\x20getTicket\x20crm',_0x12c9e6);_0x270826(_0x12c9e6);})[_0x32ef('0x45')](function(_0x259c32){logger[_0x32ef('0x12')]('['+[_0x502113[_0x32ef('0x10')]()]+']',_0x259c32[_0x32ef('0x13')]);_0x27d65b(_0x259c32[_0x32ef('0x13')]);});});};}function createRemoteTag(_0x1572d9,_0x1f105a,_0x15b640,_0x368bf1){return new Promise(function(_0x3697a7,_0x4a6fd2){var _0x21216d={'method':_0x32ef('0x22'),'uri':_0x15b640+_0x32ef('0x46')+'?'+_0x368bf1,'body':{'short_description':_0x1572d9,'global':!![],'active':!![],'name':_0x1572d9},'auth':_0x1f105a,'json':!![]};return rp(_0x21216d)[_0x32ef('0xc')](function(_0x38314a){var _0x387cf0=_0x38314a['result'][_0x32ef('0xf')];_0x3697a7(_0x387cf0);});});}function getRemoteTag(_0x1eeb3e,_0x31d5d8,_0x56b7ce,_0x1b0faa,_0x52692a){return new Promise(function(_0x2ee3dd,_0xbe35b){var _0x579bc1={'method':_0x32ef('0x17'),'uri':_0x56b7ce+'label'+_0x32ef('0x47')+_0x1eeb3e+'&'+_0x1b0faa,'auth':_0x31d5d8,'json':!![]};return rp(_0x579bc1)[_0x32ef('0xc')](function(_0x2bff39){if(_0x2bff39[_0x32ef('0xd')][_0x32ef('0x1b')]>0x0){var _0x30e377=_0x2bff39[_0x32ef('0xd')][0x0]['sys_id'];_0x2ee3dd(_0x30e377);}else{return createRemoteTag(_0x1eeb3e,_0x31d5d8,_0x56b7ce,_0x1b0faa)['then'](function(_0xdfa103){_0x2ee3dd(_0xdfa103);});}});});}function assignTagToIncident(_0x52232a,_0x4fbab6,_0xb519e9,_0x89d0b3,_0x2ef0f8){return new Promise(function(_0x6aae59,_0x2468e6){var _0x356704={'method':_0x32ef('0x22'),'uri':_0xb519e9+_0x32ef('0x48')+'?'+_0x2ef0f8,'body':{'label':_0x52232a,'table':_0x32ef('0x3b'),'id_type':_0x32ef('0x49'),'table_key':_0x89d0b3['ticketId'],'title':'Incident\x20-\x20'+_0x89d0b3[_0x32ef('0x43')],'id_display':_0x89d0b3[_0x32ef('0x43')]},'auth':_0x4fbab6,'json':!![]};return rp(_0x356704)['then'](function(_0xda1d1){_0x6aae59();})[_0x32ef('0x45')](function(){_0x6aae59();});});}function manageTags(_0x2b5703,_0x49c245,_0x2ac877,_0x3c31d0,_0x20dcc5,_0x52dfe0,_0x5e6030){return new Promise(function(_0x13ea1a,_0x47d8bf){var _0x17f447=[];_0x49c245['forEach'](function(_0x58b652){_0x17f447[_0x32ef('0x4a')](getRemoteTag(_0x58b652,_0x2ac877,_0x3c31d0,_0x52dfe0,_0x5e6030));});return Promise[_0x32ef('0x4b')](_0x17f447)[_0x32ef('0xc')](function(_0x5dca6a){if(_0x5dca6a[_0x32ef('0x1b')]){logger[_0x32ef('0x14')]('['+[_0x2b5703[_0x32ef('0x10')]()]+']\x20arrayPromises:\x20IDs\x20in\x20table\x20label',_0x5dca6a);var _0x4557ce=[];_0x5dca6a[_0x32ef('0x2c')](function(_0x4c3bab){_0x4557ce['push'](assignTagToIncident(_0x4c3bab,_0x2ac877,_0x3c31d0,_0x20dcc5,_0x52dfe0));});return Promise[_0x32ef('0x4b')](_0x4557ce)[_0x32ef('0xc')](function(){_0x13ea1a();})[_0x32ef('0x45')](function(){_0x13ea1a();});}else{_0x13ea1a();}});});}function getTags(_0x339625,_0x4c4df8,_0x40700e,_0x4c89e8,_0x285330,_0x63b65){return function(_0x25b6d6){return new Promise(function(_0x36ed97,_0x21e930){var _0x340861=[];var _0x1dc755=_0x4c89e8[_0x32ef('0x4c')];if(_0x1dc755&&_0x1dc755[_0x32ef('0x1b')]>0x0){_0x340861=_['map'](_0x1dc755,_0x32ef('0x38'));}if(_0x340861[_0x32ef('0x1b')]>0x0){return manageTags(_0x339625,_0x340861,_0x4c4df8,_0x40700e,_0x25b6d6,_0x285330,_0x63b65)[_0x32ef('0xc')](function(){_0x36ed97(_0x25b6d6);});}else{_0x36ed97(_0x25b6d6);}});};}function emit(_0x1c629d,_0x79ae28,_0x5ad75c){var _0x47c0ed=_0x32ef('0x4d')+_0x32ef('0x4e')+_0x32ef('0x4f')+_0x32ef('0x50');var _0x1a8bad={'uri':_0x1c629d+'/nav_to.do?uri=incident.do?sys_id%3D'+_0x5ad75c+_0x47c0ed};io['to'](util[_0x32ef('0x51')]('user:%s',_0x79ae28))[_0x32ef('0x52')](_0x32ef('0x53'),_0x1a8bad);}exports['cs']=function(_0x48b6f4,_0x5402b4,_0x2c9f7a,_0x1538d0,_0x2e0873,_0x5b378b,_0x52b63b,_0x3b4a8e){var _0x5edd29={};var _0x7d2c3a={'user':_0x5b378b[_0x32ef('0x54')],'pass':_0x5b378b['password']};var _0x476bbf=_0x32ef('0x55');var _0x974974=_0x32ef('0x56');_0x5b378b[_0x32ef('0x57')]=intUtil[_0x32ef('0x58')](_0x5b378b[_0x32ef('0x57')]);_0x5b378b[_0x32ef('0x59')]=intUtil[_0x32ef('0x58')](_0x5b378b[_0x32ef('0x59')]);var _0x132d9f=util[_0x32ef('0x51')]('%s/api/now/table/',_0x5b378b['remoteUri']);_0x5edd29[_0x32ef('0x16')]=!_[_0x32ef('0x5a')](_0x1538d0)?_0x1538d0['email']:null;_0x5edd29[_0x32ef('0x1e')]=_0x5b378b['email'];_0x5edd29[_0x32ef('0x24')]=_0x3b4a8e[_0x32ef('0x31')]()===_0x32ef('0x3a')?_0x5402b4['destcalleridnum']:_0x5402b4[_0x32ef('0x5b')];_0x5edd29['callDirection']=_0x3b4a8e===_0x32ef('0x5c')||_0x3b4a8e===_0x32ef('0x5d')?'queue':'outbound';var _0x3c9039=util['format'](_0x32ef('0x5e'),_0x5b378b['serverUrl'],_0x5402b4[_0x32ef('0x5f')],md5(_0x5402b4[_0x32ef('0x5f')]));if(_0x2e0873&&_0x2e0873[_0x32ef('0x60')]){logger['info']('[QUEUE]','Recording\x20is\x20enabled!');_0x5402b4[_0x32ef('0x61')]=_0x3c9039;}else if(_0x52b63b&&_0x52b63b['recordingFormat']&&_0x52b63b[_0x32ef('0x62')]!==_0x32ef('0x63')){logger[_0x32ef('0x14')](_0x32ef('0x64'),_0x32ef('0x65'));_0x5402b4[_0x32ef('0x61')]=_0x3c9039;}else{_0x5402b4['recordingURL']='';}return getAdminUser(_0x3b4a8e,_0x7d2c3a,_0x5edd29,_0x132d9f,_0x974974,_0x476bbf)[_0x32ef('0xc')](getUser(_0x3b4a8e,_0x7d2c3a,_0x132d9f,_0x974974,_0x476bbf))['then'](getEndUser(_0x3b4a8e,_0x7d2c3a,_0x132d9f,_0x974974,_0x476bbf))['then'](getTicket(_0x3b4a8e,_0x7d2c3a,_0x132d9f,_0x2c9f7a,_0x5402b4,_0x974974))[_0x32ef('0xc')](function(_0x5c4f2a){logger[_0x32ef('0x14')](util[_0x32ef('0x51')]('The\x20ticket\x20ID\x20is:\x20%s',_0x5c4f2a[_0x32ef('0x42')]));logger[_0x32ef('0x14')](util[_0x32ef('0x51')](_0x32ef('0x66'),_0x3b4a8e));if(_0x3b4a8e!==_0x32ef('0x5d')){logger[_0x32ef('0x14')]('['+[_0x3b4a8e['toUpperCase']()]+']','Displaying\x20call\x20in\x20a\x20new\x20tab...');emit(_0x5b378b[_0x32ef('0x57')],_0x1538d0['name'],_0x5c4f2a[_0x32ef('0x42')]);}})[_0x32ef('0x45')](function(_0x114d8e){logger[_0x32ef('0x12')]('['+[_0x3b4a8e[_0x32ef('0x10')]()]+_0x32ef('0x67'),util['inspect'](_0x114d8e,{'showHidden':!![],'depth':null}));});}; \ No newline at end of file diff --git a/server/services/ami/trigger/integration/sugarcrm.js b/server/services/ami/trigger/integration/sugarcrm.js index 3a34e36..da51a27 100644 --- a/server/services/ami/trigger/integration/sugarcrm.js +++ b/server/services/ami/trigger/integration/sugarcrm.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x565e=['toUpperCase','lodash','bluebird','md5','util','../../../../config/environment','../../../../config/logger','sugarcrm','redis','defaults','localhost','socket.io-emitter','POST','emit','info','Creating\x20new\x20ticket...','name','Subjects','created_by','description','getString','date_start','toISOString','slice','replace','duration_minutes','parent_id','parent_type','Contacts','parent_name','length','forEach','variableName','idField','JSON','stringify','format','Basic\x20%s','base64','get_server_info','isNil','Getting\x20agent\x20with\x20name','get_entry_list','Employees','INSTR\x20(\x20users.user_name,\x20\x22%s\x22)\x20>\x200','user_name','entry_list','find','name_value_list','value','Agent\x20found!','Agent\x20not\x20found,\x20using\x20the\x20admin\x20account!','resolve','user_id','Agent\x20not\x20available,\x20using\x20the\x20admin\x20account!','Searching\x20enduser\x20with\x20phone','contacts.phone_home\x20=\x20\x22%s\x22','then','phone_home','Enduser\x20found!','Enduser\x20not\x20found,\x20creating\x20a\x20new\x20enduser!','first_name','','Caller\x20-\x20%s','Enduser\x20created.','debug','merge','map','string','nameField','customField','toString','type','push','content','variable','custom_fields','Variable','toLowerCase','login','username','password','PLAIN','xCALLY\x20Motion\x20integration','sessionID','Account\x20%d\x20is\x20not\x20valid','set_relationship','Calls','queue','remoteUri','stripTrailingSlash','serverUrl','uri','%s/service/v4_1/rest.php','monitor_format','%s/api/voice/recordings/%s/downloads?type=uniqueid&token=%s','recordingURL','The\x20User\x20ID\x20is:','calleridname','Fields','Inbound','Ticket\x20created!','users','contacts','version','charAt','%s/index.php?action=ajaxui#ajaxUILoc=index.php%3Fmodule%3DCalls%26action%3DEditView%26record%3D%s','%s/#bwc/index.php?module=Calls&action=EditView&record=%s','[QUEUE]','user:%s','catch','error','recordingFormat','none','[OUTBOUND]','Recording\x20is\x20enabled!','uniqueid','destcalleridnum','Outbound','The\x20Ticket\x20ID\x20is:','Displaying\x20ticket\x20to\x20agent\x20in\x20a\x20new\x20tab...','trigger:browser:url','unmanaged','lastevent','calleridnum','The\x20Enduser\x20ID\x20is:'];(function(_0x4cf98e,_0xba4b79){var _0x1623ac=function(_0x459bc0){while(--_0x459bc0){_0x4cf98e['push'](_0x4cf98e['shift']());}};_0x1623ac(++_0xba4b79);}(_0x565e,0x7f));var _0xe565=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x565e[_0x3dd15e];return _0x231fd0;};'use strict';var _=require(_0xe565('0x0'));var rp=require('request-promise');var BPromise=require(_0xe565('0x1'));var md5=require(_0xe565('0x2'));var util=require(_0xe565('0x3'));var Redis=require('ioredis');var intUtil=require('./util');var config=require(_0xe565('0x4'));var logger=require(_0xe565('0x5'))(_0xe565('0x6'));config[_0xe565('0x7')]=_[_0xe565('0x8')](config[_0xe565('0x7')],{'host':_0xe565('0x9'),'port':0x18eb});var io=require(_0xe565('0xa'))(new Redis(config[_0xe565('0x7')]));var def={'method':_0xe565('0xb'),'json':!![]};function emit(_0x1204c8,_0x14f3df,_0x449b7a){io['to'](_0x1204c8)[_0xe565('0xc')](_0x14f3df,_0x449b7a);}function getTicket(_0x1d3d48,_0x41640f,_0x5b82c1,_0x3dd4dc,_0x36c827,_0x9fd021,_0x55f719,_0x434187){logger[_0xe565('0xd')](_0xe565('0xe'));var _0x26cd29=new Date();var _0x590517=[{'name':_0xe565('0xf'),'value':intUtil['getString'](_0x3dd4dc[_0xe565('0x10')],_0x36c827,'\x20')},{'name':'assigned_user_id','value':_0x41640f['id']},{'name':_0xe565('0x11'),'value':_0x41640f['id']},{'name':_0xe565('0x12'),'value':intUtil[_0xe565('0x13')](_0x3dd4dc['Descriptions'],_0x36c827,'\x0a')},{'name':_0xe565('0x14'),'value':_0x26cd29[_0xe565('0x15')]()[_0xe565('0x16')](0x0,0x13)[_0xe565('0x17')]('T','\x20')},{'name':'duration_hours','value':'0'},{'name':_0xe565('0x18'),'value':'15'},{'name':_0xe565('0x19'),'value':_0x5b82c1['id']},{'name':_0xe565('0x1a'),'value':_0xe565('0x1b')},{'name':_0xe565('0x1c'),'value':_0x5b82c1[_0xe565('0xf')]},{'name':'direction','value':_0x434187}];if(_0x9fd021[_0xe565('0x1d')]){_[_0xe565('0x1e')](_0x9fd021,function(_0x38e6a0){if(_0x36c827[_0x38e6a0[_0xe565('0x1f')]]){_0x590517['push']({'name':_0x38e6a0[_0xe565('0x20')],'value':_0x36c827[_0x38e6a0[_0xe565('0x1f')]]});}});}return request({'form':{'method':'set_entry','input_type':'JSON','response_type':_0xe565('0x21'),'rest_data':JSON[_0xe565('0x22')]({'session':_0x55f719['id'],'module_name':'Calls','name_value_list':_0x590517})}});}function getAuth(_0x3efaa1){return util[_0xe565('0x23')](_0xe565('0x24'),new Buffer(_0x3efaa1['apiKey']+':X')['toString'](_0xe565('0x25')));}function getServerInfo(_0x5074b9){return request({'form':{'method':_0xe565('0x26'),'input_type':_0xe565('0x21'),'response_type':'JSON','rest_data':JSON[_0xe565('0x22')]({'session':_0x5074b9['id']})}});}function getUser(_0x5bfdce,_0x30b376,_0x885f91){if(!_[_0xe565('0x27')](_0x30b376)){logger['info'](_0xe565('0x28'),_0x30b376);return request({'form':{'method':_0xe565('0x29'),'input_type':_0xe565('0x21'),'response_type':_0xe565('0x21'),'rest_data':JSON['stringify']({'session':_0x885f91['id'],'module_name':_0xe565('0x2a'),'query':util['format'](_0xe565('0x2b'),_0x30b376),'order_by':'','offset':'0','select_fields':['id',_0xe565('0xf'),_0xe565('0x2c')],'link_name_to_fields_array':[],'max_results':-0x1,'deleted':'0'})}})['then'](function(_0x16b0f2){if(_0x16b0f2[_0xe565('0x2d')][_0xe565('0x1d')]){var _0x3eec54=_[_0xe565('0x2e')](_0x16b0f2[_0xe565('0x2d')],function(_0x2ec50e){return _0x2ec50e[_0xe565('0x2f')]['user_name'][_0xe565('0x30')]===_0x30b376;});if(_0x3eec54){logger['info'](_0xe565('0x31'));return BPromise['resolve']({'id':_0x3eec54['name_value_list']['id'][_0xe565('0x30')],'name':_0x3eec54['name_value_list'][_0xe565('0xf')][_0xe565('0x30')]});}}logger[_0xe565('0xd')](_0xe565('0x32'));return BPromise[_0xe565('0x33')]({'id':_0x885f91[_0xe565('0x2f')][_0xe565('0x34')]['value'],'name':_0x885f91['name_value_list'][_0xe565('0x2c')][_0xe565('0x30')]});});}else{logger[_0xe565('0xd')](_0xe565('0x35'));return BPromise['resolve']({'id':_0x885f91[_0xe565('0x2f')][_0xe565('0x34')][_0xe565('0x30')],'name':_0x885f91[_0xe565('0x2f')][_0xe565('0x2c')]['value']});}}function getEndUser(_0x19aad6,_0x12ccc8,_0x222a56,_0x369bb3){logger['info'](_0xe565('0x36'),_0x222a56);return request({'form':{'method':_0xe565('0x29'),'input_type':_0xe565('0x21'),'response_type':'JSON','rest_data':JSON[_0xe565('0x22')]({'session':_0x369bb3['id'],'module_name':_0xe565('0x1b'),'query':util['format'](_0xe565('0x37'),_0x222a56),'order_by':'','offset':'0','select_fields':['id',_0xe565('0xf'),'phone_home'],'link_name_to_fields_array':[],'max_results':-0x1,'deleted':'0'})}})[_0xe565('0x38')](function(_0x205e5a){if(_0x205e5a[_0xe565('0x2d')][_0xe565('0x1d')]){var _0x4eb165=_[_0xe565('0x2e')](_0x205e5a[_0xe565('0x2d')],function(_0x3b1db3){return _0x3b1db3[_0xe565('0x2f')][_0xe565('0x39')][_0xe565('0x30')]===_0x222a56;});if(_0x4eb165){logger[_0xe565('0xd')](_0xe565('0x3a'));return BPromise['resolve']({'id':_0x4eb165[_0xe565('0x2f')]['id'][_0xe565('0x30')],'name':_0x4eb165[_0xe565('0x2f')][_0xe565('0xf')]['value'],'phone':_0x4eb165['name_value_list'][_0xe565('0x39')]['value']});}}else{logger['info'](_0xe565('0x3b'));return request({'form':{'method':'set_entry','input_type':'JSON','response_type':_0xe565('0x21'),'rest_data':JSON['stringify']({'session':_0x369bb3['id'],'module_name':'Contacts','name_value_list':[{'name':_0xe565('0x3c'),'value':_0x12ccc8!==_0xe565('0x3d')?_0x12ccc8:util[_0xe565('0x23')](_0xe565('0x3e'),_0x222a56)},{'name':_0xe565('0x39'),'value':_0x222a56}]})}})[_0xe565('0x38')](function(_0x1f2fc8){logger[_0xe565('0xd')](_0xe565('0x3f'));return BPromise['resolve']({'id':_0x1f2fc8['id'],'name':_0x1f2fc8[_0xe565('0x2d')][_0xe565('0x3c')][_0xe565('0x30')],'phone':_0x1f2fc8[_0xe565('0x2d')][_0xe565('0x39')][_0xe565('0x30')]});});}});}function request(_0x3dc32f){logger[_0xe565('0x40')]('[HTTP]',JSON[_0xe565('0x22')](_0x3dc32f));return rp(_[_0xe565('0x41')](def,_0x3dc32f));}function getTags(_0x451d60,_0x309ee4){var _0x33e206=[];if(_0x451d60&&_0x451d60['length']>0x0){_0x33e206=_[_0xe565('0x42')](_0x451d60,_0x309ee4);}return _0x33e206;}function getCustomFields(_0x337761,_0x2cf8bf){var _0x1c1d20=[];var _0x3d779c={'custom_fields':[]};if(_0x337761[_0xe565('0x1d')]>0x0){_['forEach'](_0x337761,function(_0x228ac8){if(_0x228ac8['type']===_0xe565('0x43')&&_0x228ac8[_0xe565('0x44')]&&!_0x228ac8[_0xe565('0x45')]){_0x3d779c[_0x228ac8['nameField']['toLowerCase']()]=_0x228ac8['content'][_0xe565('0x46')]();}else if(_0x228ac8[_0xe565('0x47')]===_0xe565('0x43')&&_0x228ac8['idField']&&_0x228ac8[_0xe565('0x45')]){_0x3d779c['custom_fields'][_0xe565('0x48')]({'id':_0x228ac8['idField'],'value':_0x228ac8[_0xe565('0x49')][_0xe565('0x46')]()});}else if(_0x228ac8['type']===_0xe565('0x4a')&&_0x228ac8['variableName']&&_0x228ac8[_0xe565('0x20')]&&_0x228ac8[_0xe565('0x45')]){_0x2cf8bf[_0x228ac8['variableName']]&&_0x3d779c[_0xe565('0x4b')][_0xe565('0x48')]({'id':_0x228ac8[_0xe565('0x20')],'value':_0x2cf8bf[_0x228ac8[_0xe565('0x1f')]][_0xe565('0x46')]()});}else if(_0x228ac8[_0xe565('0x47')]==='customVariable'&&_0x228ac8[_0xe565('0x4c')]&&_0x228ac8[_0xe565('0x4c')]['name']&&_0x228ac8[_0xe565('0x20')]&&_0x228ac8['customField']){_0x2cf8bf[_0x228ac8[_0xe565('0x4c')][_0xe565('0xf')][_0xe565('0x4d')]()]&&_0x3d779c[_0xe565('0x4b')]['push']({'id':_0x228ac8[_0xe565('0x20')],'value':_0x2cf8bf[_0x228ac8[_0xe565('0x4c')][_0xe565('0xf')][_0xe565('0x4d')]()][_0xe565('0x46')]()});}});}return _0x3d779c;}function getConnection(_0x219671){return request({'method':_0xe565('0xb'),'form':{'method':_0xe565('0x4e'),'input_type':_0xe565('0x21'),'response_type':'JSON','rest_data':JSON[_0xe565('0x22')]({'user_auth':{'user_name':_0x219671[_0xe565('0x4f')],'password':_0x219671[_0xe565('0x50')],'encryption':_0xe565('0x51')},'application':_0xe565('0x52')})}})[_0xe565('0x38')](function(_0x1df9c9){var _0x141493=_0x1df9c9;if(_0x141493['id']){def[_0xe565('0x53')]=_0x141493['id'];return BPromise[_0xe565('0x33')](_0x141493);}else{throw new Error(util['format'](_0xe565('0x54'),_0x219671['id']));}});}function setRelationship(_0x344b7f,_0x294792,_0x12117c,_0x1e474a){return request({'form':{'method':_0xe565('0x55'),'input_type':'JSON','response_type':_0xe565('0x21'),'rest_data':JSON[_0xe565('0x22')]({'session':_0x344b7f['id'],'module_name':_0xe565('0x56'),'module_id':_0x12117c['id'],'link_field_name':_0x1e474a,'related_ids':[_0x294792['id']]})}});}exports[_0xe565('0x57')]=function(_0x391d28,_0x413a22,_0x72426f,_0x1f552c,_0x4dcfb6,_0x454564){var _0x4ebfbf,_0xd6ed13,_0x5797e5,_0x2abd89;_0x454564[_0xe565('0x58')]=intUtil[_0xe565('0x59')](_0x454564[_0xe565('0x58')]);_0x454564[_0xe565('0x5a')]=intUtil[_0xe565('0x59')](_0x454564[_0xe565('0x5a')]);def[_0xe565('0x5b')]=util[_0xe565('0x23')](_0xe565('0x5c'),_0x454564[_0xe565('0x58')]);if(_0x4dcfb6&&_0x4dcfb6[_0xe565('0x5d')]){logger[_0xe565('0xd')]('[QUEUE]','Recording\x20is\x20enabled!');_0x413a22['recordingURL']=util[_0xe565('0x23')](_0xe565('0x5e'),_0x454564[_0xe565('0x5a')],_0x413a22['uniqueid'],md5(_0x413a22['uniqueid']));}else{_0x413a22[_0xe565('0x5f')]='';}return getConnection(_0x454564)['then'](function(_0x572138){_0x2abd89=_0x572138;return getUser(_0x454564,_0x1f552c['name'],_0x2abd89);})[_0xe565('0x38')](function(_0x170ce0){_0x4ebfbf=_0x170ce0;logger[_0xe565('0xd')](_0xe565('0x60'),_0x4ebfbf['id']);return getEndUser(_0x454564,_0x413a22[_0xe565('0x61')],_0x413a22['calleridnum'],_0x2abd89);})[_0xe565('0x38')](function(_0x37472b){_0xd6ed13=_0x37472b;logger[_0xe565('0xd')]('The\x20Enduser\x20ID\x20is:',_0xd6ed13['id']);return getTicket(_0x454564,_0x4ebfbf,_0xd6ed13,_0x72426f,_0x413a22,_0x72426f[_0xe565('0x62')],_0x2abd89,_0xe565('0x63'));})['then'](function(_0x1fd6f2){_0x5797e5=_0x1fd6f2;logger[_0xe565('0xd')](_0xe565('0x64'));logger['info']('The\x20Ticket\x20ID\x20is:',_0x5797e5['id']);return setRelationship(_0x2abd89,_0x4ebfbf,_0x5797e5,_0xe565('0x65'));})['then'](function(){return setRelationship(_0x2abd89,_0xd6ed13,_0x5797e5,_0xe565('0x66'));})[_0xe565('0x38')](function(){return getServerInfo(_0x2abd89);})[_0xe565('0x38')](function(_0x3c1423){var _0x218a46=parseInt(_0x3c1423[_0xe565('0x67')][_0xe565('0x68')](0x0));var _0x2d374d=util[_0xe565('0x23')](_0xe565('0x69'),_0x454564[_0xe565('0x58')],_0x5797e5['id']);if(_0x218a46>0x6){_0x2d374d=util[_0xe565('0x23')](_0xe565('0x6a'),_0x454564[_0xe565('0x58')],_0x5797e5['id']);}logger[_0xe565('0xd')](_0xe565('0x6b'),'Displaying\x20ticket\x20to\x20agent\x20in\x20a\x20new\x20tab...');emit(util[_0xe565('0x23')](_0xe565('0x6c'),_0x1f552c[_0xe565('0xf')]),'trigger:browser:url',{'uri':_0x2d374d});})[_0xe565('0x6d')](function(_0x159f02){logger[_0xe565('0x6e')]('[QUEUE]',JSON[_0xe565('0x22')](_0x159f02));});};exports['outbound']=function(_0x1712f3,_0x191907,_0x57c557,_0x3f820c,_0x48b17a,_0x30ae28,_0xcb4de4){var _0x57f6ac,_0x11aa97,_0x3330d7,_0x1824a8;_0x30ae28[_0xe565('0x58')]=intUtil[_0xe565('0x59')](_0x30ae28[_0xe565('0x58')]);_0x30ae28['serverUrl']=intUtil[_0xe565('0x59')](_0x30ae28[_0xe565('0x5a')]);def['uri']=util['format'](_0xe565('0x5c'),_0x30ae28[_0xe565('0x58')]);if(_0xcb4de4&&_0xcb4de4['recordingFormat']&&_0xcb4de4[_0xe565('0x6f')]!==_0xe565('0x70')){logger[_0xe565('0xd')](_0xe565('0x71'),_0xe565('0x72'));_0x191907['recordingURL']=util['format'](_0xe565('0x5e'),_0x30ae28[_0xe565('0x5a')],_0x191907[_0xe565('0x73')],md5(_0x191907[_0xe565('0x73')]));}return getConnection(_0x30ae28)[_0xe565('0x38')](function(_0x4d5a64){_0x1824a8=_0x4d5a64;return getUser(_0x30ae28,_0x3f820c[_0xe565('0xf')],_0x1824a8);})[_0xe565('0x38')](function(_0x1a332b){_0x57f6ac=_0x1a332b;logger['info'](_0xe565('0x60'),_0x57f6ac['id']);return getEndUser(_0x30ae28,_0x191907['destcalleridname'],_0x191907[_0xe565('0x74')],_0x1824a8);})[_0xe565('0x38')](function(_0x1ca79a){_0x11aa97=_0x1ca79a;logger[_0xe565('0xd')]('The\x20Enduser\x20ID\x20is:',_0x11aa97['id']);return getTicket(_0x30ae28,_0x57f6ac,_0x11aa97,_0x57c557,_0x191907,_0x57c557[_0xe565('0x62')],_0x1824a8,_0xe565('0x75'));})[_0xe565('0x38')](function(_0x1eadeb){_0x3330d7=_0x1eadeb;logger['info'](_0xe565('0x64'));logger[_0xe565('0xd')](_0xe565('0x76'),_0x3330d7['id']);return setRelationship(_0x1824a8,_0x57f6ac,_0x3330d7,_0xe565('0x65'));})[_0xe565('0x38')](function(){return setRelationship(_0x1824a8,_0x11aa97,_0x3330d7,_0xe565('0x66'));})['then'](function(){return getServerInfo(_0x1824a8);})[_0xe565('0x38')](function(_0x2ff8ce){var _0x402aec=parseInt(_0x2ff8ce[_0xe565('0x67')][_0xe565('0x68')](0x0));var _0x1fee3c=util[_0xe565('0x23')](_0xe565('0x69'),_0x30ae28[_0xe565('0x58')],_0x3330d7['id']);if(_0x402aec>0x6){_0x1fee3c=util[_0xe565('0x23')](_0xe565('0x6a'),_0x30ae28[_0xe565('0x58')],_0x3330d7['id']);}logger[_0xe565('0xd')](_0xe565('0x71'),_0xe565('0x77'));emit(util[_0xe565('0x23')](_0xe565('0x6c'),_0x3f820c[_0xe565('0xf')]),_0xe565('0x78'),{'uri':_0x1fee3c});})[_0xe565('0x6d')](function(_0x5d93bf){logger['error'](_0xe565('0x71'),JSON[_0xe565('0x22')](_0x5d93bf));});};exports[_0xe565('0x79')]=function(_0x342285,_0x54d22a,_0x4cce8a,_0x2b1ff6,_0x3ac11e,_0x313fd0){var _0x477866,_0xfc7bc3,_0x11a08b,_0x598c33;_0x313fd0['remoteUri']=intUtil[_0xe565('0x59')](_0x313fd0[_0xe565('0x58')]);_0x313fd0[_0xe565('0x5a')]=intUtil[_0xe565('0x59')](_0x313fd0['serverUrl']);def[_0xe565('0x5b')]=util[_0xe565('0x23')]('%s/service/v4_1/rest.php',_0x313fd0['remoteUri']);if(_0x3ac11e&&_0x3ac11e[_0xe565('0x5d')]){logger[_0xe565('0xd')]('['+_0x54d22a[_0xe565('0x7a')]['toUpperCase']()+']','Recording\x20is\x20enabled!');_0x54d22a[_0xe565('0x5f')]=util[_0xe565('0x23')](_0xe565('0x5e'),_0x313fd0[_0xe565('0x5a')],_0x54d22a[_0xe565('0x73')],md5(_0x54d22a[_0xe565('0x73')]));}else{_0x54d22a[_0xe565('0x5f')]='';}return getConnection(_0x313fd0)['then'](function(_0x2a882d){_0x598c33=_0x2a882d;if(!_['isNil'](_0x2b1ff6)){return getUser(_0x313fd0,_0x2b1ff6[_0xe565('0xf')],_0x598c33);}else{return getUser(_0x313fd0,null,_0x598c33);}})['then'](function(_0xfae73){_0x477866=_0xfae73;logger[_0xe565('0xd')](_0xe565('0x60'),_0x477866['id']);return getEndUser(_0x313fd0,_0x54d22a[_0xe565('0x61')],_0x54d22a[_0xe565('0x7b')],_0x598c33);})[_0xe565('0x38')](function(_0x486406){_0xfc7bc3=_0x486406;logger[_0xe565('0xd')](_0xe565('0x7c'),_0xfc7bc3['id']);return getTicket(_0x313fd0,_0x477866,_0xfc7bc3,_0x4cce8a,_0x54d22a,_0x4cce8a[_0xe565('0x62')],_0x598c33,_0xe565('0x63'));})['then'](function(_0x16a396){_0x11a08b=_0x16a396;logger[_0xe565('0xd')]('Ticket\x20created!');logger[_0xe565('0xd')]('The\x20Ticket\x20ID\x20is:',_0x11a08b['id']);return setRelationship(_0x598c33,_0x477866,_0x11a08b,_0xe565('0x65'));})[_0xe565('0x38')](function(){return setRelationship(_0x598c33,_0xfc7bc3,_0x11a08b,_0xe565('0x66'));})['then'](function(){return getServerInfo(_0x598c33);})['catch'](function(_0x4ca61e){logger['error']('['+_0x54d22a[_0xe565('0x7a')][_0xe565('0x7d')]()+']',JSON['stringify'](_0x4ca61e));});}; \ No newline at end of file +var _0xcddb=['socket.io-emitter','Creating\x20new\x20ticket...','name','getString','assigned_user_id','created_by','Descriptions','date_start','toISOString','slice','replace','duration_minutes','parent_id','Contacts','direction','length','forEach','variableName','push','idField','JSON','stringify','Calls','format','apiKey','base64','get_server_info','info','Getting\x20agent\x20with\x20name','get_entry_list','Employees','INSTR\x20(\x20users.user_name,\x20\x22%s\x22)\x20>\x200','user_name','entry_list','find','name_value_list','value','resolve','Agent\x20not\x20found,\x20using\x20the\x20admin\x20account!','user_id','Searching\x20enduser\x20with\x20phone','phone_home','Enduser\x20found!','Enduser\x20not\x20found,\x20creating\x20a\x20new\x20enduser!','set_entry','','Caller\x20-\x20%s','Enduser\x20created.','debug','merge','map','type','string','nameField','customField','toLowerCase','toString','custom_fields','content','variable','Variable','POST','username','password','xCALLY\x20Motion\x20integration','then','Account\x20%d\x20is\x20not\x20valid','set_relationship','queue','remoteUri','serverUrl','stripTrailingSlash','uri','%s/service/v4_1/rest.php','[QUEUE]','Recording\x20is\x20enabled!','recordingURL','%s/api/voice/recordings/%s/downloads?type=uniqueid&token=%s','uniqueid','The\x20User\x20ID\x20is:','calleridnum','Fields','Inbound','Ticket\x20created!','The\x20Ticket\x20ID\x20is:','users','contacts','version','%s/index.php?action=ajaxui#ajaxUILoc=index.php%3Fmodule%3DCalls%26action%3DEditView%26record%3D%s','%s/#bwc/index.php?module=Calls&action=EditView&record=%s','trigger:browser:url','catch','error','outbound','recordingFormat','destcalleridnum','The\x20Enduser\x20ID\x20is:','charAt','Displaying\x20ticket\x20to\x20agent\x20in\x20a\x20new\x20tab...','user:%s','[OUTBOUND]','unmanaged','monitor_format','lastevent','isNil','calleridname','toUpperCase','lodash','request-promise','bluebird','ioredis','../../../../config/environment','../../../../config/logger','sugarcrm','redis'];(function(_0x62aa7,_0x43d8a2){var _0xf428fa=function(_0x12eac8){while(--_0x12eac8){_0x62aa7['push'](_0x62aa7['shift']());}};_0xf428fa(++_0x43d8a2);}(_0xcddb,0x1c4));var _0xbcdd=function(_0x3e3ff6,_0x15e707){_0x3e3ff6=_0x3e3ff6-0x0;var _0xd1dcfa=_0xcddb[_0x3e3ff6];return _0xd1dcfa;};'use strict';var _=require(_0xbcdd('0x0'));var rp=require(_0xbcdd('0x1'));var BPromise=require(_0xbcdd('0x2'));var md5=require('md5');var util=require('util');var Redis=require(_0xbcdd('0x3'));var intUtil=require('./util');var config=require(_0xbcdd('0x4'));var logger=require(_0xbcdd('0x5'))(_0xbcdd('0x6'));config[_0xbcdd('0x7')]=_['defaults'](config[_0xbcdd('0x7')],{'host':'localhost','port':0x18eb});var io=require(_0xbcdd('0x8'))(new Redis(config[_0xbcdd('0x7')]));var def={'method':'POST','json':!![]};function emit(_0x46f26c,_0x270ac4,_0x5d9d06){io['to'](_0x46f26c)['emit'](_0x270ac4,_0x5d9d06);}function getTicket(_0x1946f8,_0x276423,_0xc35a10,_0x4d3060,_0xbe49f,_0x434c14,_0x28af23,_0x3207f4){logger['info'](_0xbcdd('0x9'));var _0x18673c=new Date();var _0x4ebbce=[{'name':_0xbcdd('0xa'),'value':intUtil[_0xbcdd('0xb')](_0x4d3060['Subjects'],_0xbe49f,'\x20')},{'name':_0xbcdd('0xc'),'value':_0x276423['id']},{'name':_0xbcdd('0xd'),'value':_0x276423['id']},{'name':'description','value':intUtil['getString'](_0x4d3060[_0xbcdd('0xe')],_0xbe49f,'\x0a')},{'name':_0xbcdd('0xf'),'value':_0x18673c[_0xbcdd('0x10')]()[_0xbcdd('0x11')](0x0,0x13)[_0xbcdd('0x12')]('T','\x20')},{'name':'duration_hours','value':'0'},{'name':_0xbcdd('0x13'),'value':'15'},{'name':_0xbcdd('0x14'),'value':_0xc35a10['id']},{'name':'parent_type','value':_0xbcdd('0x15')},{'name':'parent_name','value':_0xc35a10[_0xbcdd('0xa')]},{'name':_0xbcdd('0x16'),'value':_0x3207f4}];if(_0x434c14[_0xbcdd('0x17')]){_[_0xbcdd('0x18')](_0x434c14,function(_0x1b27cb){if(_0xbe49f[_0x1b27cb[_0xbcdd('0x19')]]){_0x4ebbce[_0xbcdd('0x1a')]({'name':_0x1b27cb[_0xbcdd('0x1b')],'value':_0xbe49f[_0x1b27cb[_0xbcdd('0x19')]]});}});}return request({'form':{'method':'set_entry','input_type':_0xbcdd('0x1c'),'response_type':_0xbcdd('0x1c'),'rest_data':JSON[_0xbcdd('0x1d')]({'session':_0x28af23['id'],'module_name':_0xbcdd('0x1e'),'name_value_list':_0x4ebbce})}});}function getAuth(_0x45ae83){return util[_0xbcdd('0x1f')]('Basic\x20%s',new Buffer(_0x45ae83[_0xbcdd('0x20')]+':X')['toString'](_0xbcdd('0x21')));}function getServerInfo(_0x1d9e2d){return request({'form':{'method':_0xbcdd('0x22'),'input_type':_0xbcdd('0x1c'),'response_type':'JSON','rest_data':JSON[_0xbcdd('0x1d')]({'session':_0x1d9e2d['id']})}});}function getUser(_0x2cd0dd,_0x1e4db6,_0x19e183){if(!_['isNil'](_0x1e4db6)){logger[_0xbcdd('0x23')](_0xbcdd('0x24'),_0x1e4db6);return request({'form':{'method':_0xbcdd('0x25'),'input_type':_0xbcdd('0x1c'),'response_type':_0xbcdd('0x1c'),'rest_data':JSON['stringify']({'session':_0x19e183['id'],'module_name':_0xbcdd('0x26'),'query':util[_0xbcdd('0x1f')](_0xbcdd('0x27'),_0x1e4db6),'order_by':'','offset':'0','select_fields':['id',_0xbcdd('0xa'),_0xbcdd('0x28')],'link_name_to_fields_array':[],'max_results':-0x1,'deleted':'0'})}})['then'](function(_0x340fc0){if(_0x340fc0[_0xbcdd('0x29')]['length']){var _0x20b230=_[_0xbcdd('0x2a')](_0x340fc0[_0xbcdd('0x29')],function(_0x18b13b){return _0x18b13b[_0xbcdd('0x2b')]['user_name'][_0xbcdd('0x2c')]===_0x1e4db6;});if(_0x20b230){logger['info']('Agent\x20found!');return BPromise[_0xbcdd('0x2d')]({'id':_0x20b230[_0xbcdd('0x2b')]['id']['value'],'name':_0x20b230[_0xbcdd('0x2b')][_0xbcdd('0xa')][_0xbcdd('0x2c')]});}}logger[_0xbcdd('0x23')](_0xbcdd('0x2e'));return BPromise[_0xbcdd('0x2d')]({'id':_0x19e183[_0xbcdd('0x2b')][_0xbcdd('0x2f')][_0xbcdd('0x2c')],'name':_0x19e183['name_value_list'][_0xbcdd('0x28')][_0xbcdd('0x2c')]});});}else{logger['info']('Agent\x20not\x20available,\x20using\x20the\x20admin\x20account!');return BPromise[_0xbcdd('0x2d')]({'id':_0x19e183[_0xbcdd('0x2b')]['user_id'][_0xbcdd('0x2c')],'name':_0x19e183['name_value_list'][_0xbcdd('0x28')]['value']});}}function getEndUser(_0x45ac00,_0x56bef6,_0x3e3e8e,_0x95ed44){logger['info'](_0xbcdd('0x30'),_0x3e3e8e);return request({'form':{'method':_0xbcdd('0x25'),'input_type':_0xbcdd('0x1c'),'response_type':_0xbcdd('0x1c'),'rest_data':JSON[_0xbcdd('0x1d')]({'session':_0x95ed44['id'],'module_name':'Contacts','query':util[_0xbcdd('0x1f')]('contacts.phone_home\x20=\x20\x22%s\x22',_0x3e3e8e),'order_by':'','offset':'0','select_fields':['id',_0xbcdd('0xa'),_0xbcdd('0x31')],'link_name_to_fields_array':[],'max_results':-0x1,'deleted':'0'})}})['then'](function(_0x5e136d){if(_0x5e136d[_0xbcdd('0x29')]['length']){var _0x6a4224=_[_0xbcdd('0x2a')](_0x5e136d[_0xbcdd('0x29')],function(_0x47e6d2){return _0x47e6d2[_0xbcdd('0x2b')][_0xbcdd('0x31')][_0xbcdd('0x2c')]===_0x3e3e8e;});if(_0x6a4224){logger[_0xbcdd('0x23')](_0xbcdd('0x32'));return BPromise[_0xbcdd('0x2d')]({'id':_0x6a4224[_0xbcdd('0x2b')]['id'][_0xbcdd('0x2c')],'name':_0x6a4224[_0xbcdd('0x2b')][_0xbcdd('0xa')][_0xbcdd('0x2c')],'phone':_0x6a4224[_0xbcdd('0x2b')]['phone_home'][_0xbcdd('0x2c')]});}}else{logger[_0xbcdd('0x23')](_0xbcdd('0x33'));return request({'form':{'method':_0xbcdd('0x34'),'input_type':_0xbcdd('0x1c'),'response_type':_0xbcdd('0x1c'),'rest_data':JSON['stringify']({'session':_0x95ed44['id'],'module_name':_0xbcdd('0x15'),'name_value_list':[{'name':'first_name','value':_0x56bef6!==_0xbcdd('0x35')?_0x56bef6:util['format'](_0xbcdd('0x36'),_0x3e3e8e)},{'name':_0xbcdd('0x31'),'value':_0x3e3e8e}]})}})['then'](function(_0x1a71a7){logger[_0xbcdd('0x23')](_0xbcdd('0x37'));return BPromise[_0xbcdd('0x2d')]({'id':_0x1a71a7['id'],'name':_0x1a71a7['entry_list']['first_name'][_0xbcdd('0x2c')],'phone':_0x1a71a7[_0xbcdd('0x29')][_0xbcdd('0x31')]['value']});});}});}function request(_0x3e65ce){logger[_0xbcdd('0x38')]('[HTTP]',JSON[_0xbcdd('0x1d')](_0x3e65ce));return rp(_[_0xbcdd('0x39')](def,_0x3e65ce));}function getTags(_0x10cdbf,_0x565baf){var _0xe850e1=[];if(_0x10cdbf&&_0x10cdbf[_0xbcdd('0x17')]>0x0){_0xe850e1=_[_0xbcdd('0x3a')](_0x10cdbf,_0x565baf);}return _0xe850e1;}function getCustomFields(_0x5e4d99,_0x47117b){var _0x323bd0=[];var _0xc2fa15={'custom_fields':[]};if(_0x5e4d99[_0xbcdd('0x17')]>0x0){_[_0xbcdd('0x18')](_0x5e4d99,function(_0x12e168){if(_0x12e168[_0xbcdd('0x3b')]===_0xbcdd('0x3c')&&_0x12e168[_0xbcdd('0x3d')]&&!_0x12e168[_0xbcdd('0x3e')]){_0xc2fa15[_0x12e168[_0xbcdd('0x3d')][_0xbcdd('0x3f')]()]=_0x12e168['content'][_0xbcdd('0x40')]();}else if(_0x12e168['type']===_0xbcdd('0x3c')&&_0x12e168[_0xbcdd('0x1b')]&&_0x12e168['customField']){_0xc2fa15[_0xbcdd('0x41')][_0xbcdd('0x1a')]({'id':_0x12e168[_0xbcdd('0x1b')],'value':_0x12e168[_0xbcdd('0x42')][_0xbcdd('0x40')]()});}else if(_0x12e168['type']===_0xbcdd('0x43')&&_0x12e168[_0xbcdd('0x19')]&&_0x12e168['idField']&&_0x12e168['customField']){_0x47117b[_0x12e168[_0xbcdd('0x19')]]&&_0xc2fa15[_0xbcdd('0x41')][_0xbcdd('0x1a')]({'id':_0x12e168[_0xbcdd('0x1b')],'value':_0x47117b[_0x12e168[_0xbcdd('0x19')]][_0xbcdd('0x40')]()});}else if(_0x12e168[_0xbcdd('0x3b')]==='customVariable'&&_0x12e168[_0xbcdd('0x44')]&&_0x12e168[_0xbcdd('0x44')]['name']&&_0x12e168[_0xbcdd('0x1b')]&&_0x12e168['customField']){_0x47117b[_0x12e168[_0xbcdd('0x44')][_0xbcdd('0xa')][_0xbcdd('0x3f')]()]&&_0xc2fa15[_0xbcdd('0x41')][_0xbcdd('0x1a')]({'id':_0x12e168[_0xbcdd('0x1b')],'value':_0x47117b[_0x12e168[_0xbcdd('0x44')][_0xbcdd('0xa')]['toLowerCase']()]['toString']()});}});}return _0xc2fa15;}function getConnection(_0xdb6f42){return request({'method':_0xbcdd('0x45'),'form':{'method':'login','input_type':_0xbcdd('0x1c'),'response_type':_0xbcdd('0x1c'),'rest_data':JSON[_0xbcdd('0x1d')]({'user_auth':{'user_name':_0xdb6f42[_0xbcdd('0x46')],'password':_0xdb6f42[_0xbcdd('0x47')],'encryption':'PLAIN'},'application':_0xbcdd('0x48')})}})[_0xbcdd('0x49')](function(_0x175326){var _0x3d260b=_0x175326;if(_0x3d260b['id']){def['sessionID']=_0x3d260b['id'];return BPromise['resolve'](_0x3d260b);}else{throw new Error(util['format'](_0xbcdd('0x4a'),_0xdb6f42['id']));}});}function setRelationship(_0xe1a0cf,_0x42da42,_0x588409,_0x7053b2){return request({'form':{'method':_0xbcdd('0x4b'),'input_type':_0xbcdd('0x1c'),'response_type':_0xbcdd('0x1c'),'rest_data':JSON[_0xbcdd('0x1d')]({'session':_0xe1a0cf['id'],'module_name':_0xbcdd('0x1e'),'module_id':_0x588409['id'],'link_field_name':_0x7053b2,'related_ids':[_0x42da42['id']]})}});}exports[_0xbcdd('0x4c')]=function(_0x37466b,_0x110f85,_0x58fd16,_0x31c633,_0x2596ad,_0x17c351){var _0x2de934,_0x3efac3,_0x1a8c7c,_0x13d002;_0x17c351[_0xbcdd('0x4d')]=intUtil['stripTrailingSlash'](_0x17c351['remoteUri']);_0x17c351[_0xbcdd('0x4e')]=intUtil[_0xbcdd('0x4f')](_0x17c351[_0xbcdd('0x4e')]);def[_0xbcdd('0x50')]=util['format'](_0xbcdd('0x51'),_0x17c351['remoteUri']);if(_0x2596ad&&_0x2596ad['monitor_format']){logger[_0xbcdd('0x23')](_0xbcdd('0x52'),_0xbcdd('0x53'));_0x110f85[_0xbcdd('0x54')]=util[_0xbcdd('0x1f')](_0xbcdd('0x55'),_0x17c351['serverUrl'],_0x110f85[_0xbcdd('0x56')],md5(_0x110f85[_0xbcdd('0x56')]));}else{_0x110f85['recordingURL']='';}return getConnection(_0x17c351)[_0xbcdd('0x49')](function(_0x4cbfb4){_0x13d002=_0x4cbfb4;return getUser(_0x17c351,_0x31c633[_0xbcdd('0xa')],_0x13d002);})[_0xbcdd('0x49')](function(_0x37c893){_0x2de934=_0x37c893;logger[_0xbcdd('0x23')](_0xbcdd('0x57'),_0x2de934['id']);return getEndUser(_0x17c351,_0x110f85['calleridname'],_0x110f85[_0xbcdd('0x58')],_0x13d002);})[_0xbcdd('0x49')](function(_0x145611){_0x3efac3=_0x145611;logger[_0xbcdd('0x23')]('The\x20Enduser\x20ID\x20is:',_0x3efac3['id']);return getTicket(_0x17c351,_0x2de934,_0x3efac3,_0x58fd16,_0x110f85,_0x58fd16[_0xbcdd('0x59')],_0x13d002,_0xbcdd('0x5a'));})[_0xbcdd('0x49')](function(_0x65a80f){_0x1a8c7c=_0x65a80f;logger[_0xbcdd('0x23')](_0xbcdd('0x5b'));logger['info'](_0xbcdd('0x5c'),_0x1a8c7c['id']);return setRelationship(_0x13d002,_0x2de934,_0x1a8c7c,_0xbcdd('0x5d'));})[_0xbcdd('0x49')](function(){return setRelationship(_0x13d002,_0x3efac3,_0x1a8c7c,_0xbcdd('0x5e'));})[_0xbcdd('0x49')](function(){return getServerInfo(_0x13d002);})[_0xbcdd('0x49')](function(_0x3ca2a4){var _0x2e1299=parseInt(_0x3ca2a4[_0xbcdd('0x5f')]['charAt'](0x0));var _0x4b7263=util[_0xbcdd('0x1f')](_0xbcdd('0x60'),_0x17c351['remoteUri'],_0x1a8c7c['id']);if(_0x2e1299>0x6){_0x4b7263=util['format'](_0xbcdd('0x61'),_0x17c351['remoteUri'],_0x1a8c7c['id']);}logger[_0xbcdd('0x23')](_0xbcdd('0x52'),'Displaying\x20ticket\x20to\x20agent\x20in\x20a\x20new\x20tab...');emit(util[_0xbcdd('0x1f')]('user:%s',_0x31c633[_0xbcdd('0xa')]),_0xbcdd('0x62'),{'uri':_0x4b7263});})[_0xbcdd('0x63')](function(_0x7933a9){logger[_0xbcdd('0x64')]('[QUEUE]',JSON[_0xbcdd('0x1d')](_0x7933a9));});};exports[_0xbcdd('0x65')]=function(_0x58b279,_0x58db35,_0x13a9e1,_0x5ddb82,_0x6a0a7b,_0x33b349,_0x1154a9){var _0x34da48,_0x21a2fb,_0x25e110,_0x3c66e4;_0x33b349[_0xbcdd('0x4d')]=intUtil[_0xbcdd('0x4f')](_0x33b349[_0xbcdd('0x4d')]);_0x33b349[_0xbcdd('0x4e')]=intUtil[_0xbcdd('0x4f')](_0x33b349[_0xbcdd('0x4e')]);def[_0xbcdd('0x50')]=util['format']('%s/service/v4_1/rest.php',_0x33b349[_0xbcdd('0x4d')]);if(_0x1154a9&&_0x1154a9[_0xbcdd('0x66')]&&_0x1154a9[_0xbcdd('0x66')]!=='none'){logger[_0xbcdd('0x23')]('[OUTBOUND]',_0xbcdd('0x53'));_0x58db35[_0xbcdd('0x54')]=util[_0xbcdd('0x1f')](_0xbcdd('0x55'),_0x33b349['serverUrl'],_0x58db35[_0xbcdd('0x56')],md5(_0x58db35[_0xbcdd('0x56')]));}return getConnection(_0x33b349)[_0xbcdd('0x49')](function(_0x2b8acf){_0x3c66e4=_0x2b8acf;return getUser(_0x33b349,_0x5ddb82[_0xbcdd('0xa')],_0x3c66e4);})[_0xbcdd('0x49')](function(_0x4f7d3c){_0x34da48=_0x4f7d3c;logger[_0xbcdd('0x23')](_0xbcdd('0x57'),_0x34da48['id']);return getEndUser(_0x33b349,_0x58db35['destcalleridname'],_0x58db35[_0xbcdd('0x67')],_0x3c66e4);})['then'](function(_0x28cd87){_0x21a2fb=_0x28cd87;logger['info'](_0xbcdd('0x68'),_0x21a2fb['id']);return getTicket(_0x33b349,_0x34da48,_0x21a2fb,_0x13a9e1,_0x58db35,_0x13a9e1['Fields'],_0x3c66e4,'Outbound');})['then'](function(_0x47aaaf){_0x25e110=_0x47aaaf;logger[_0xbcdd('0x23')]('Ticket\x20created!');logger[_0xbcdd('0x23')](_0xbcdd('0x5c'),_0x25e110['id']);return setRelationship(_0x3c66e4,_0x34da48,_0x25e110,_0xbcdd('0x5d'));})['then'](function(){return setRelationship(_0x3c66e4,_0x21a2fb,_0x25e110,_0xbcdd('0x5e'));})['then'](function(){return getServerInfo(_0x3c66e4);})[_0xbcdd('0x49')](function(_0x115e98){var _0x36710e=parseInt(_0x115e98['version'][_0xbcdd('0x69')](0x0));var _0x55e703=util[_0xbcdd('0x1f')](_0xbcdd('0x60'),_0x33b349['remoteUri'],_0x25e110['id']);if(_0x36710e>0x6){_0x55e703=util[_0xbcdd('0x1f')](_0xbcdd('0x61'),_0x33b349[_0xbcdd('0x4d')],_0x25e110['id']);}logger[_0xbcdd('0x23')]('[OUTBOUND]',_0xbcdd('0x6a'));emit(util[_0xbcdd('0x1f')](_0xbcdd('0x6b'),_0x5ddb82['name']),_0xbcdd('0x62'),{'uri':_0x55e703});})[_0xbcdd('0x63')](function(_0x4e04b5){logger['error'](_0xbcdd('0x6c'),JSON['stringify'](_0x4e04b5));});};exports[_0xbcdd('0x6d')]=function(_0x4b8915,_0x3bb9ef,_0x3f253b,_0x83e658,_0x55040d,_0x5afd6b){var _0x487827,_0x4e6186,_0x1db750,_0x15d08d;_0x5afd6b[_0xbcdd('0x4d')]=intUtil[_0xbcdd('0x4f')](_0x5afd6b[_0xbcdd('0x4d')]);_0x5afd6b[_0xbcdd('0x4e')]=intUtil[_0xbcdd('0x4f')](_0x5afd6b[_0xbcdd('0x4e')]);def[_0xbcdd('0x50')]=util[_0xbcdd('0x1f')](_0xbcdd('0x51'),_0x5afd6b[_0xbcdd('0x4d')]);if(_0x55040d&&_0x55040d[_0xbcdd('0x6e')]){logger['info']('['+_0x3bb9ef[_0xbcdd('0x6f')]['toUpperCase']()+']','Recording\x20is\x20enabled!');_0x3bb9ef['recordingURL']=util[_0xbcdd('0x1f')]('%s/api/voice/recordings/%s/downloads?type=uniqueid&token=%s',_0x5afd6b['serverUrl'],_0x3bb9ef['uniqueid'],md5(_0x3bb9ef[_0xbcdd('0x56')]));}else{_0x3bb9ef['recordingURL']='';}return getConnection(_0x5afd6b)[_0xbcdd('0x49')](function(_0x3d54bb){_0x15d08d=_0x3d54bb;if(!_[_0xbcdd('0x70')](_0x83e658)){return getUser(_0x5afd6b,_0x83e658['name'],_0x15d08d);}else{return getUser(_0x5afd6b,null,_0x15d08d);}})[_0xbcdd('0x49')](function(_0x380ef4){_0x487827=_0x380ef4;logger[_0xbcdd('0x23')]('The\x20User\x20ID\x20is:',_0x487827['id']);return getEndUser(_0x5afd6b,_0x3bb9ef[_0xbcdd('0x71')],_0x3bb9ef[_0xbcdd('0x58')],_0x15d08d);})[_0xbcdd('0x49')](function(_0x344dcd){_0x4e6186=_0x344dcd;logger[_0xbcdd('0x23')]('The\x20Enduser\x20ID\x20is:',_0x4e6186['id']);return getTicket(_0x5afd6b,_0x487827,_0x4e6186,_0x3f253b,_0x3bb9ef,_0x3f253b['Fields'],_0x15d08d,_0xbcdd('0x5a'));})['then'](function(_0x4d0f31){_0x1db750=_0x4d0f31;logger[_0xbcdd('0x23')](_0xbcdd('0x5b'));logger[_0xbcdd('0x23')]('The\x20Ticket\x20ID\x20is:',_0x1db750['id']);return setRelationship(_0x15d08d,_0x487827,_0x1db750,_0xbcdd('0x5d'));})[_0xbcdd('0x49')](function(){return setRelationship(_0x15d08d,_0x4e6186,_0x1db750,_0xbcdd('0x5e'));})[_0xbcdd('0x49')](function(){return getServerInfo(_0x15d08d);})['catch'](function(_0x222eee){logger['error']('['+_0x3bb9ef[_0xbcdd('0x6f')][_0xbcdd('0x72')]()+']',JSON['stringify'](_0x222eee));});}; \ No newline at end of file diff --git a/server/services/ami/trigger/integration/util.js b/server/services/ami/trigger/integration/util.js index 7960f27..b205375 100644 --- a/server/services/ami/trigger/integration/util.js +++ b/server/services/ami/trigger/integration/util.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xcc25=['format','%s:\x20%s','keyContent','join','stripTrailingSlash','substring','lastIndexOf','validateEmail','test','lodash','util','getString','sortBy','length','type','string','push','content','variable','variableName','toString','customVariable','Variable','name','toLowerCase','keyType','key'];(function(_0xa464c9,_0x7c86d8){var _0x3d73c4=function(_0x5c2056){while(--_0x5c2056){_0xa464c9['push'](_0xa464c9['shift']());}};_0x3d73c4(++_0x7c86d8);}(_0xcc25,0x132));var _0x5cc2=function(_0x4175e4,_0xc98c26){_0x4175e4=_0x4175e4-0x0;var _0x52ed43=_0xcc25[_0x4175e4];return _0x52ed43;};'use strict';var _=require(_0x5cc2('0x0'));var util=require(_0x5cc2('0x1'));exports[_0x5cc2('0x2')]=function(_0x346ef6,_0x4378ff,_0x558f30){var _0xce8918=[];if(_0x346ef6['length']>0x0){var _0x4fff9d=_[_0x5cc2('0x3')](_0x346ef6,['id']);for(var _0x4a6c71=0x0;_0x4a6c71<_0x4fff9d[_0x5cc2('0x4')];_0x4a6c71++){var _0x16fa16=_0x4fff9d[_0x4a6c71];if(_0x16fa16[_0x5cc2('0x5')]===_0x5cc2('0x6')){_0xce8918[_0x5cc2('0x7')](_0x16fa16[_0x5cc2('0x8')]);}else if(_0x16fa16[_0x5cc2('0x5')]===_0x5cc2('0x9')&&_0x16fa16[_0x5cc2('0xa')]){_0x4378ff[_0x16fa16[_0x5cc2('0xa')]]&&_0xce8918[_0x5cc2('0x7')](_0x4378ff[_0x16fa16[_0x5cc2('0xa')]][_0x5cc2('0xb')]());}else if(_0x16fa16[_0x5cc2('0x5')]===_0x5cc2('0xc')&&_0x16fa16[_0x5cc2('0xd')]&&_0x16fa16[_0x5cc2('0xd')][_0x5cc2('0xe')]){_0x4378ff[_0x16fa16[_0x5cc2('0xd')][_0x5cc2('0xe')]['toLowerCase']()]&&_0xce8918[_0x5cc2('0x7')](_0x4378ff[_0x16fa16[_0x5cc2('0xd')]['name'][_0x5cc2('0xf')]()]['toString']());}else if(_0x16fa16['type']==='keyValue'){if(_0x16fa16[_0x5cc2('0x10')]===_0x5cc2('0x6')&&_0x16fa16[_0x5cc2('0x11')]){_0xce8918[_0x5cc2('0x7')](util[_0x5cc2('0x12')](_0x5cc2('0x13'),_0x16fa16[_0x5cc2('0x11')],_0x16fa16[_0x5cc2('0x14')]));}else if(_0x16fa16[_0x5cc2('0x10')]===_0x5cc2('0x9')&&_0x16fa16[_0x5cc2('0xa')]&&_0x16fa16['key']){_0x4378ff[_0x16fa16[_0x5cc2('0xa')]]&&_0xce8918[_0x5cc2('0x7')](util[_0x5cc2('0x12')](_0x5cc2('0x13'),_0x16fa16['key'],_0x4378ff[_0x16fa16[_0x5cc2('0xa')]]));}else if(_0x16fa16[_0x5cc2('0x10')]===_0x5cc2('0xc')&&_0x16fa16[_0x5cc2('0xd')]&&_0x16fa16[_0x5cc2('0xd')]['name']&&_0x16fa16[_0x5cc2('0x11')]){_0x4378ff[_0x16fa16[_0x5cc2('0xd')][_0x5cc2('0xe')]['toLowerCase']()]&&_0xce8918[_0x5cc2('0x7')](util[_0x5cc2('0x12')](_0x5cc2('0x13'),_0x16fa16[_0x5cc2('0x11')],_0x4378ff[_0x16fa16[_0x5cc2('0xd')][_0x5cc2('0xe')]['toLowerCase']()]));}}}}return _0xce8918[_0x5cc2('0x15')](_0x558f30);};exports[_0x5cc2('0x16')]=function(_0x5e5de1){var _0x54829f=_0x5e5de1['slice'](-0x1);if(_0x54829f==='/'){_0x5e5de1=_0x5e5de1[_0x5cc2('0x17')](0x0,_0x5e5de1[_0x5cc2('0x18')](_0x54829f));}return _0x5e5de1;};exports[_0x5cc2('0x19')]=function(_0x152d4c){if(!_['isNil'](_0x152d4c)&&_0x152d4c!==''){var _0x3ed752=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;return _0x3ed752[_0x5cc2('0x1a')](String(_0x152d4c)[_0x5cc2('0xf')]());}else{return![];}}; \ No newline at end of file +var _0xde94=['%s:\x20%s','keyContent','keyType','join','substring','lastIndexOf','validateEmail','isNil','test','lodash','util','getString','length','push','content','type','variable','variableName','toString','customVariable','name','Variable','toLowerCase','keyValue','string','key','format'];(function(_0x16ff50,_0x25ae80){var _0x4274e2=function(_0x278b3e){while(--_0x278b3e){_0x16ff50['push'](_0x16ff50['shift']());}};_0x4274e2(++_0x25ae80);}(_0xde94,0x75));var _0x4de9=function(_0x8290c5,_0x1fa216){_0x8290c5=_0x8290c5-0x0;var _0x2f2cb6=_0xde94[_0x8290c5];return _0x2f2cb6;};'use strict';var _=require(_0x4de9('0x0'));var util=require(_0x4de9('0x1'));exports[_0x4de9('0x2')]=function(_0x465394,_0x3a6246,_0x3b565a){var _0x4e35af=[];if(_0x465394['length']>0x0){var _0x1d885c=_['sortBy'](_0x465394,['id']);for(var _0x3b732f=0x0;_0x3b732f<_0x1d885c[_0x4de9('0x3')];_0x3b732f++){var _0x1653ff=_0x1d885c[_0x3b732f];if(_0x1653ff['type']==='string'){_0x4e35af[_0x4de9('0x4')](_0x1653ff[_0x4de9('0x5')]);}else if(_0x1653ff[_0x4de9('0x6')]===_0x4de9('0x7')&&_0x1653ff[_0x4de9('0x8')]){_0x3a6246[_0x1653ff[_0x4de9('0x8')]]&&_0x4e35af[_0x4de9('0x4')](_0x3a6246[_0x1653ff[_0x4de9('0x8')]][_0x4de9('0x9')]());}else if(_0x1653ff[_0x4de9('0x6')]===_0x4de9('0xa')&&_0x1653ff['Variable']&&_0x1653ff['Variable'][_0x4de9('0xb')]){_0x3a6246[_0x1653ff[_0x4de9('0xc')][_0x4de9('0xb')][_0x4de9('0xd')]()]&&_0x4e35af['push'](_0x3a6246[_0x1653ff['Variable'][_0x4de9('0xb')]['toLowerCase']()]['toString']());}else if(_0x1653ff[_0x4de9('0x6')]===_0x4de9('0xe')){if(_0x1653ff['keyType']===_0x4de9('0xf')&&_0x1653ff[_0x4de9('0x10')]){_0x4e35af[_0x4de9('0x4')](util[_0x4de9('0x11')](_0x4de9('0x12'),_0x1653ff[_0x4de9('0x10')],_0x1653ff[_0x4de9('0x13')]));}else if(_0x1653ff['keyType']===_0x4de9('0x7')&&_0x1653ff[_0x4de9('0x8')]&&_0x1653ff[_0x4de9('0x10')]){_0x3a6246[_0x1653ff[_0x4de9('0x8')]]&&_0x4e35af[_0x4de9('0x4')](util[_0x4de9('0x11')]('%s:\x20%s',_0x1653ff['key'],_0x3a6246[_0x1653ff[_0x4de9('0x8')]]));}else if(_0x1653ff[_0x4de9('0x14')]===_0x4de9('0xa')&&_0x1653ff[_0x4de9('0xc')]&&_0x1653ff[_0x4de9('0xc')]['name']&&_0x1653ff[_0x4de9('0x10')]){_0x3a6246[_0x1653ff[_0x4de9('0xc')][_0x4de9('0xb')][_0x4de9('0xd')]()]&&_0x4e35af[_0x4de9('0x4')](util[_0x4de9('0x11')](_0x4de9('0x12'),_0x1653ff[_0x4de9('0x10')],_0x3a6246[_0x1653ff[_0x4de9('0xc')][_0x4de9('0xb')][_0x4de9('0xd')]()]));}}}}return _0x4e35af[_0x4de9('0x15')](_0x3b565a);};exports['stripTrailingSlash']=function(_0x55fba3){var _0xbc6c89=_0x55fba3['slice'](-0x1);if(_0xbc6c89==='/'){_0x55fba3=_0x55fba3[_0x4de9('0x16')](0x0,_0x55fba3[_0x4de9('0x17')](_0xbc6c89));}return _0x55fba3;};exports[_0x4de9('0x18')]=function(_0x36d8cb){if(!_[_0x4de9('0x19')](_0x36d8cb)&&_0x36d8cb!==''){var _0x2840fb=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;return _0x2840fb[_0x4de9('0x1a')](String(_0x36d8cb)[_0x4de9('0xd')]());}else{return![];}}; \ No newline at end of file diff --git a/server/services/ami/trigger/integration/vtiger.js b/server/services/ami/trigger/integration/vtiger.js index c8c86b4..8b3605f 100644 --- a/server/services/ami/trigger/integration/vtiger.js +++ b/server/services/ami/trigger/integration/vtiger.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x8204=['Open','getString','Subjects','Descriptions','POST','%s/webservice.php','remoteUri','create','username','sessionName','then','success','result','format','error','catch','statusCode','[vTiger],\x20%s,\x20%s,\x20%s','info','Getting\x20agent\x20with\x20email','GET','query','Agent\x20found!','resolve','last_name','Agent\x20not\x20found,\x20using\x20the\x20admin\x20account!','userId','admin','getUser','stringify','Searching\x20end\x20user\x20with\x20phone','lastname','Enduser\x20not\x20found,\x20creating\x20a\x20new\x20enduser!','Contacts','phone','getEndUser','accessKey','getchallenge','login','token','Account\x20%d\x20is\x20not\x20valid','[HTTP]','queue','stripTrailingSlash','monitor_format','[QUEUE]','Recording\x20is\x20enabled!','recordingURL','%s/api/voice/recordings/%s/downloads?type=uniqueid&token=%s','serverUrl','uniqueid','email','The\x20User\x20ID\x20is:','calleridname','calleridnum','Fields','Ticket\x20created!','split','trigger:browser:url','outbound','recordingFormat','none','[OUTBOUND]','The\x20Enduser\x20ID\x20is:','The\x20Ticket\x20ID\x20is:','%s/index.php?module=HelpDesk&view=Detail&record=%s&app=SUPPORT','Displaying\x20ticket\x20to\x20agent\x20in\x20a\x20new\x20tab...','user:%s','unmanaged','lastevent','toUpperCase','request-promise','bluebird','ioredis','./util','../../../../config/environment','../../../../config/logger','vTiger','redis','defaults','localhost','socket.io-emitter','emit','length','forEach','type','string','idField','content','toString','variableName','customVariable','Variable','name','toLowerCase','merge','Normal'];(function(_0x505510,_0x4f9a36){var _0xde49a7=function(_0x202da3){while(--_0x202da3){_0x505510['push'](_0x505510['shift']());}};_0xde49a7(++_0x4f9a36);}(_0x8204,0xa8));var _0x4820=function(_0x1d3a9b,_0x4ac5f0){_0x1d3a9b=_0x1d3a9b-0x0;var _0x3f666b=_0x8204[_0x1d3a9b];return _0x3f666b;};'use strict';var _=require('lodash');var rp=require(_0x4820('0x0'));var BPromise=require(_0x4820('0x1'));var md5=require('md5');var util=require('util');var Redis=require(_0x4820('0x2'));var intUtil=require(_0x4820('0x3'));var config=require(_0x4820('0x4'));var logger=require(_0x4820('0x5'))(_0x4820('0x6'));config[_0x4820('0x7')]=_[_0x4820('0x8')](config[_0x4820('0x7')],{'host':_0x4820('0x9'),'port':0x18eb});var io=require(_0x4820('0xa'))(new Redis(config['redis']));function emit(_0x4d62f2,_0x1c4154,_0x369906){io['to'](_0x4d62f2)[_0x4820('0xb')](_0x1c4154,_0x369906);}function getCustomFields(_0x56d8dd,_0x1898b2){var _0x2f5e1d={};if(_0x56d8dd[_0x4820('0xc')]>0x0){_[_0x4820('0xd')](_0x56d8dd,function(_0x3642e9){if(_0x3642e9[_0x4820('0xe')]===_0x4820('0xf')&&_0x3642e9[_0x4820('0x10')]){_0x2f5e1d[_0x3642e9[_0x4820('0x10')]]=_0x3642e9[_0x4820('0x11')][_0x4820('0x12')]();}else if(_0x3642e9[_0x4820('0xe')]==='variable'&&_0x3642e9[_0x4820('0x13')]&&_0x3642e9[_0x4820('0x10')]&&_0x1898b2[_0x3642e9[_0x4820('0x13')]]){_0x2f5e1d[_0x3642e9[_0x4820('0x10')]]=_0x1898b2[_0x3642e9[_0x4820('0x13')]]['toString']();}else if(_0x3642e9['type']===_0x4820('0x14')&&_0x3642e9[_0x4820('0x15')]&&_0x3642e9[_0x4820('0x15')][_0x4820('0x16')]&&_0x3642e9['idField']&&_0x1898b2[_0x3642e9[_0x4820('0x15')][_0x4820('0x16')][_0x4820('0x17')]()]){_0x2f5e1d[_0x3642e9[_0x4820('0x10')]]=_0x1898b2[_0x3642e9[_0x4820('0x15')][_0x4820('0x16')][_0x4820('0x17')]()][_0x4820('0x12')]();}});}return _0x2f5e1d;}function createTicket(_0x5a5009,_0x477f9c,_0x54b35f,_0x1c7792,_0x5b432d,_0x31cb74,_0x1530d2){logger['info']('Creating\x20new\x20ticket...');var _0x411ef9=_[_0x4820('0x18')]({'parent_id':'','assigned_user_id':_0x477f9c['id'],'ticketpriorities':_0x4820('0x19'),'ticketstatus':_0x4820('0x1a'),'ticket_title':intUtil[_0x4820('0x1b')](_0x1c7792[_0x4820('0x1c')],_0x5b432d,'\x20'),'description':intUtil['getString'](_0x1c7792[_0x4820('0x1d')],_0x5b432d,'\x0a'),'contact_id':_0x54b35f['id']},getCustomFields(_0x31cb74,_0x5b432d));var _0x3e7a8c={'method':_0x4820('0x1e'),'uri':util['format'](_0x4820('0x1f'),_0x5a5009[_0x4820('0x20')]),'form':{'operation':_0x4820('0x21'),'username':_0x5a5009[_0x4820('0x22')],'sessionName':_0x1530d2[_0x4820('0x23')],'elementType':'HelpDesk','element':JSON['stringify'](_0x411ef9)},'json':!![]};return request(_0x3e7a8c)[_0x4820('0x24')](function(_0x15f438){if(_0x15f438[_0x4820('0x25')]){return BPromise['resolve']({'id':_0x15f438[_0x4820('0x26')]['id']});}else{throw new Error(util[_0x4820('0x27')]('Ticket\x20could\x20not\x20be\x20created\x20due\x20to:\x20%s',JSON['stringify'](_0x15f438[_0x4820('0x28')])));}})[_0x4820('0x29')](function(_0x243a84){var _0x2f5338=_0x243a84[_0x4820('0x2a')]||0x1f4;logger[_0x4820('0x28')](_0x4820('0x2b'),'createTicket',_0x2f5338,JSON['stringify'](_0x243a84));});}function getUser(_0x43a8f0,_0x814638,_0x44c131){if(intUtil['validateEmail'](_0x814638)){logger[_0x4820('0x2c')](_0x4820('0x2d'),_0x814638);return request({'method':_0x4820('0x2e'),'uri':util[_0x4820('0x27')]('%s/webservice.php',_0x43a8f0['remoteUri']),'qs':{'operation':_0x4820('0x2f'),'username':_0x43a8f0['username'],'sessionName':_0x44c131[_0x4820('0x23')],'query':util[_0x4820('0x27')]('SELECT\x20first_name,\x20last_name,\x20email1\x20FROM\x20Users\x20WHERE\x20email1=\x27%s\x27;',_0x814638)},'json':!![]})[_0x4820('0x24')](function(_0x549997){if(_0x549997[_0x4820('0x25')]&&_0x549997[_0x4820('0x26')][_0x4820('0xc')]){logger[_0x4820('0x2c')](_0x4820('0x30'));return BPromise[_0x4820('0x31')]({'id':_0x549997['result'][0x0]['id'],'email':_0x549997[_0x4820('0x26')][0x0]['email1'],'name':_0x549997['result'][0x0]['first_name']+'\x20'+_0x549997['result'][_0x4820('0x32')]});}else{logger[_0x4820('0x2c')](_0x4820('0x33'));return BPromise['resolve']({'id':_0x44c131[_0x4820('0x34')],'email':_0x43a8f0['username'],'name':_0x4820('0x35')});}})[_0x4820('0x29')](function(_0x252424){var _0x4ad1a4=_0x252424[_0x4820('0x2a')]||0x1f4;logger[_0x4820('0x28')](_0x4820('0x2b'),_0x4820('0x36'),_0x4ad1a4,JSON[_0x4820('0x37')](_0x252424));});}else{logger[_0x4820('0x2c')](_0x4820('0x33'));return BPromise[_0x4820('0x31')]({'id':_0x44c131[_0x4820('0x34')],'email':_0x43a8f0['username'],'name':_0x4820('0x35')})[_0x4820('0x29')](function(_0x4096bd){var _0x480ac9=_0x4096bd[_0x4820('0x2a')]||0x1f4;logger[_0x4820('0x28')]('[vTiger],\x20%s,\x20%s,\x20%s','getUser',_0x480ac9,JSON['stringify'](_0x4096bd));});}}function getEndUser(_0x216b3e,_0x390fe3,_0x928a6,_0x5ca1b6){logger[_0x4820('0x2c')](_0x4820('0x38'),_0x928a6);return request({'method':_0x4820('0x2e'),'uri':util[_0x4820('0x27')](_0x4820('0x1f'),_0x216b3e[_0x4820('0x20')]),'qs':{'operation':'query','username':_0x216b3e[_0x4820('0x22')],'sessionName':_0x5ca1b6[_0x4820('0x23')],'query':util[_0x4820('0x27')]('SELECT\x20id,\x20firstname,\x20lastname,\x20email,\x20phone,\x20mobile,\x20homephone,\x20otherphone,\x20assistantphone\x20FROM\x20Contacts\x20WHERE\x20phone\x20=\x20\x27%s\x27\x20OR\x20mobile\x20=\x27%s\x27\x20OR\x20homephone\x20=\x27%s\x27\x20OR\x20otherphone\x20=\x27%s\x27\x20OR\x20assistantphone\x20=\x27%s\x27;',_0x928a6,_0x928a6,_0x928a6,_0x928a6,_0x928a6)},'json':!![]})[_0x4820('0x24')](function(_0x34c664){if(_0x34c664['success']&&_0x34c664[_0x4820('0x26')][_0x4820('0xc')]){logger[_0x4820('0x2c')]('Enduser\x20found!');return BPromise[_0x4820('0x31')]({'id':_0x34c664['result'][0x0]['id'],'name':_0x34c664[_0x4820('0x26')][0x0]['firstname']+'\x20'+_0x34c664['result'][0x0][_0x4820('0x39')],'phone':_0x928a6});}else{logger[_0x4820('0x2c')](_0x4820('0x3a'));return request({'method':_0x4820('0x1e'),'uri':util['format'](_0x4820('0x1f'),_0x216b3e['remoteUri']),'form':{'operation':'create','sessionName':_0x5ca1b6[_0x4820('0x23')],'elementType':_0x4820('0x3b'),'element':JSON['stringify']({'lastname':_0x390fe3,'phone':_0x928a6,'assigned_user_id':'\x20'})},'json':!![]})[_0x4820('0x24')](function(_0x5f4c90){logger[_0x4820('0x2c')]('Enduser\x20created.');return BPromise['resolve']({'id':_0x5f4c90[_0x4820('0x26')]['id'],'name':_0x5f4c90['result']['lastname'],'phone':_0x5f4c90[_0x4820('0x26')][_0x4820('0x3c')]});})['catch'](function(_0x33b6e4){var _0x3c87a3=_0x33b6e4['statusCode']||0x1f4;logger[_0x4820('0x28')]('[vTiger],\x20%s,\x20%s,\x20%s',_0x4820('0x3d'),_0x3c87a3,JSON[_0x4820('0x37')](_0x33b6e4));});}});}function getConnection(_0x15edf1){var _0x11a115=_0x15edf1[_0x4820('0x22')];var _0x5095b7=_0x15edf1[_0x4820('0x3e')];return request({'method':'GET','uri':util[_0x4820('0x27')](_0x4820('0x1f'),_0x15edf1['remoteUri']),'qs':{'operation':_0x4820('0x3f'),'username':_0x11a115},'json':!![]})[_0x4820('0x24')](function(_0x2fe3f0){if(_0x2fe3f0[_0x4820('0x25')]){return request({'method':_0x4820('0x1e'),'uri':util[_0x4820('0x27')](_0x4820('0x1f'),_0x15edf1[_0x4820('0x20')]),'form':{'operation':_0x4820('0x40'),'username':_0x11a115,'accessKey':md5(_0x2fe3f0[_0x4820('0x26')][_0x4820('0x41')]+_0x5095b7)},'json':!![]});}})['then'](function(_0x42f831){if(_0x42f831[_0x4820('0x25')]){return BPromise[_0x4820('0x31')](_0x42f831[_0x4820('0x26')]);}else{throw new Error(util[_0x4820('0x27')](_0x4820('0x42'),_0x15edf1['id']));}})[_0x4820('0x29')](function(_0x12a864){var _0x2b787c=_0x12a864['statusCode']||0x1f4;logger[_0x4820('0x28')](_0x4820('0x2b'),'getConnection',_0x2b787c,JSON[_0x4820('0x37')](_0x12a864));});}function request(_0x1e9569){logger['info'](_0x4820('0x43'),JSON[_0x4820('0x37')](_0x1e9569));return rp(_0x1e9569);}exports[_0x4820('0x44')]=function(_0x19bbdf,_0x2e5c7e,_0x254a0e,_0x5207b0,_0x4c1db9,_0xc09bf8){var _0x20560b,_0x320d8f,_0x35b2be,_0x446be0;_0xc09bf8['remoteUri']=intUtil[_0x4820('0x45')](_0xc09bf8[_0x4820('0x20')]);if(_0x4c1db9&&_0x4c1db9[_0x4820('0x46')]){logger['info'](_0x4820('0x47'),_0x4820('0x48'));_0x2e5c7e[_0x4820('0x49')]=util[_0x4820('0x27')](_0x4820('0x4a'),_0xc09bf8[_0x4820('0x4b')],_0x2e5c7e[_0x4820('0x4c')],md5(_0x2e5c7e[_0x4820('0x4c')]));}else{_0x2e5c7e['recordingURL']='';}return getConnection(_0xc09bf8)[_0x4820('0x24')](function(_0x4469dd){_0x446be0=_0x4469dd;return getUser(_0xc09bf8,_0x5207b0[_0x4820('0x4d')],_0x446be0);})['then'](function(_0x37078b){_0x20560b=_0x37078b;logger[_0x4820('0x2c')](_0x4820('0x4e'),_0x20560b['id']);return getEndUser(_0xc09bf8,_0x2e5c7e[_0x4820('0x4f')],_0x2e5c7e[_0x4820('0x50')],_0x446be0);})[_0x4820('0x24')](function(_0x5b7120){_0x320d8f=_0x5b7120;logger[_0x4820('0x2c')]('The\x20Enduser\x20ID\x20is:',_0x320d8f['id']);return createTicket(_0xc09bf8,_0x20560b,_0x320d8f,_0x254a0e,_0x2e5c7e,_0x254a0e[_0x4820('0x51')],_0x446be0);})[_0x4820('0x24')](function(_0x40583c){_0x35b2be=_0x40583c;logger[_0x4820('0x2c')](_0x4820('0x52'));logger[_0x4820('0x2c')]('The\x20Ticket\x20ID\x20is:',_0x35b2be['id']);var _0x29689e=util[_0x4820('0x27')]('%s/index.php?module=HelpDesk&view=Detail&record=%s&app=SUPPORT',_0xc09bf8[_0x4820('0x20')],_[_0x4820('0x53')](_0x35b2be['id'],'x')[0x1]);logger[_0x4820('0x2c')](_0x4820('0x47'),'Displaying\x20ticket\x20to\x20agent\x20in\x20a\x20new\x20tab...');emit(util[_0x4820('0x27')]('user:%s',_0x5207b0['name']),_0x4820('0x54'),{'uri':_0x29689e});})[_0x4820('0x29')](function(_0x15906f){logger[_0x4820('0x28')](_0x4820('0x47'),JSON[_0x4820('0x37')](_0x15906f));});};exports[_0x4820('0x55')]=function(_0x24d73b,_0x5ec9a5,_0x2d6e05,_0xc710cb,_0x412a54,_0x5864ba,_0x362757){var _0x4a5b27,_0x49b2ec,_0x310d01,_0x2cfa11;_0x5864ba[_0x4820('0x20')]=intUtil[_0x4820('0x45')](_0x5864ba[_0x4820('0x20')]);_0x5864ba[_0x4820('0x4b')]=intUtil[_0x4820('0x45')](_0x5864ba[_0x4820('0x4b')]);if(_0x362757&&_0x362757[_0x4820('0x56')]&&_0x362757[_0x4820('0x56')]!==_0x4820('0x57')){logger[_0x4820('0x2c')](_0x4820('0x58'),_0x4820('0x48'));_0x5ec9a5[_0x4820('0x49')]=util[_0x4820('0x27')](_0x4820('0x4a'),_0x5864ba[_0x4820('0x4b')],_0x5ec9a5['uniqueid'],md5(_0x5ec9a5[_0x4820('0x4c')]));}return getConnection(_0x5864ba)[_0x4820('0x24')](function(_0x3ed050){_0x2cfa11=_0x3ed050;return getUser(_0x5864ba,_0xc710cb[_0x4820('0x4d')],_0x2cfa11);})['then'](function(_0x302905){_0x4a5b27=_0x302905;logger['info'](_0x4820('0x4e'),_0x4a5b27['id']);return getEndUser(_0x5864ba,_0x5ec9a5['destcalleridname'],_0x5ec9a5['destcalleridnum'],_0x2cfa11);})[_0x4820('0x24')](function(_0x100e83){_0x49b2ec=_0x100e83;logger['info'](_0x4820('0x59'),_0x49b2ec['id']);return createTicket(_0x5864ba,_0x4a5b27,_0x49b2ec,_0x2d6e05,_0x5ec9a5,_0x2d6e05[_0x4820('0x51')],_0x2cfa11);})[_0x4820('0x24')](function(_0x4d1052){_0x310d01=_0x4d1052;logger['info'](_0x4820('0x52'));logger[_0x4820('0x2c')](_0x4820('0x5a'),_0x310d01['id']);var _0x77ebb2=util['format'](_0x4820('0x5b'),_0x5864ba[_0x4820('0x20')],_[_0x4820('0x53')](_0x310d01['id'],'x')[0x1]);logger[_0x4820('0x2c')](_0x4820('0x58'),_0x4820('0x5c'));emit(util[_0x4820('0x27')](_0x4820('0x5d'),_0xc710cb[_0x4820('0x16')]),'trigger:browser:url',{'uri':_0x77ebb2});})[_0x4820('0x29')](function(_0x35d1c5){logger[_0x4820('0x28')](_0x4820('0x58'),JSON[_0x4820('0x37')](_0x35d1c5));});};exports[_0x4820('0x5e')]=function(_0x254d7b,_0x670d2c,_0x3f2719,_0x135c21,_0x21eefd,_0x4105a2){var _0x26e5ae,_0x25f182,_0x4a1ec9,_0x26a371;_0x4105a2[_0x4820('0x20')]=intUtil['stripTrailingSlash'](_0x4105a2[_0x4820('0x20')]);_0x4105a2[_0x4820('0x4b')]=intUtil['stripTrailingSlash'](_0x4105a2[_0x4820('0x4b')]);if(_0x21eefd&&_0x21eefd[_0x4820('0x46')]){logger[_0x4820('0x2c')]('['+_0x670d2c[_0x4820('0x5f')][_0x4820('0x60')]()+']',_0x4820('0x48'));_0x670d2c[_0x4820('0x49')]=util['format'](_0x4820('0x4a'),_0x4105a2[_0x4820('0x4b')],_0x670d2c['uniqueid'],md5(_0x670d2c[_0x4820('0x4c')]));}else{_0x670d2c[_0x4820('0x49')]='';}return getConnection(_0x4105a2)[_0x4820('0x24')](function(_0x5d5290){_0x26a371=_0x5d5290;return getUser(_0x4105a2,'',_0x26a371);})[_0x4820('0x24')](function(_0x2af8a0){_0x26e5ae=_0x2af8a0;logger[_0x4820('0x2c')](_0x4820('0x4e'),_0x26e5ae['id']);return getEndUser(_0x4105a2,_0x670d2c[_0x4820('0x4f')],_0x670d2c[_0x4820('0x50')],_0x26a371);})[_0x4820('0x24')](function(_0xdde34a){_0x25f182=_0xdde34a;logger['info'](_0x4820('0x59'),_0x25f182['id']);return createTicket(_0x4105a2,_0x26e5ae,_0x25f182,_0x3f2719,_0x670d2c,_0x3f2719[_0x4820('0x51')],_0x26a371);})[_0x4820('0x24')](function(_0x2ce02e){_0x4a1ec9=_0x2ce02e;logger['info']('Ticket\x20created!');logger[_0x4820('0x2c')](_0x4820('0x5a'),_0x4a1ec9['id']);})[_0x4820('0x29')](function(_0x48ed5e){logger[_0x4820('0x28')]('['+_0x670d2c[_0x4820('0x5f')]['toUpperCase']()+']',JSON['stringify'](_0x48ed5e));});}; \ No newline at end of file +var _0xcec6=['getchallenge','login','Account\x20%d\x20is\x20not\x20valid','getConnection','queue','monitor_format','[QUEUE]','Recording\x20is\x20enabled!','recordingURL','%s/api/voice/recordings/%s/downloads?type=uniqueid&token=%s','serverUrl','uniqueid','email','The\x20User\x20ID\x20is:','calleridname','The\x20Enduser\x20ID\x20is:','Fields','Ticket\x20created!','The\x20Ticket\x20ID\x20is:','Displaying\x20ticket\x20to\x20agent\x20in\x20a\x20new\x20tab...','user:%s','stripTrailingSlash','recordingFormat','[OUTBOUND]','destcalleridname','destcalleridnum','%s/index.php?module=HelpDesk&view=Detail&record=%s&app=SUPPORT','split','trigger:browser:url','unmanaged','lastevent','toUpperCase','request-promise','bluebird','md5','./util','../../../../config/environment','../../../../config/logger','vTiger','redis','defaults','localhost','length','forEach','string','idField','content','type','variable','variableName','toString','customVariable','Variable','name','info','Creating\x20new\x20ticket...','merge','Open','Subjects','getString','Descriptions','POST','format','%s/webservice.php','create','HelpDesk','stringify','then','success','Ticket\x20could\x20not\x20be\x20created\x20due\x20to:\x20%s','error','catch','statusCode','[vTiger],\x20%s,\x20%s,\x20%s','createTicket','validateEmail','Getting\x20agent\x20with\x20email','GET','remoteUri','query','sessionName','SELECT\x20first_name,\x20last_name,\x20email1\x20FROM\x20Users\x20WHERE\x20email1=\x27%s\x27;','Agent\x20found!','resolve','result','email1','first_name','Agent\x20not\x20found,\x20using\x20the\x20admin\x20account!','userId','username','getUser','admin','Searching\x20end\x20user\x20with\x20phone','SELECT\x20id,\x20firstname,\x20lastname,\x20email,\x20phone,\x20mobile,\x20homephone,\x20otherphone,\x20assistantphone\x20FROM\x20Contacts\x20WHERE\x20phone\x20=\x20\x27%s\x27\x20OR\x20mobile\x20=\x27%s\x27\x20OR\x20homephone\x20=\x27%s\x27\x20OR\x20otherphone\x20=\x27%s\x27\x20OR\x20assistantphone\x20=\x27%s\x27;','Enduser\x20found!','firstname','lastname','Enduser\x20not\x20found,\x20creating\x20a\x20new\x20enduser!','Enduser\x20created.','phone','getEndUser','accessKey'];(function(_0x500785,_0x15e5ff){var _0x1f8bcc=function(_0x406983){while(--_0x406983){_0x500785['push'](_0x500785['shift']());}};_0x1f8bcc(++_0x15e5ff);}(_0xcec6,0x1b8));var _0x6cec=function(_0x20a584,_0xe384a5){_0x20a584=_0x20a584-0x0;var _0x4b41a8=_0xcec6[_0x20a584];return _0x4b41a8;};'use strict';var _=require('lodash');var rp=require(_0x6cec('0x0'));var BPromise=require(_0x6cec('0x1'));var md5=require(_0x6cec('0x2'));var util=require('util');var Redis=require('ioredis');var intUtil=require(_0x6cec('0x3'));var config=require(_0x6cec('0x4'));var logger=require(_0x6cec('0x5'))(_0x6cec('0x6'));config[_0x6cec('0x7')]=_[_0x6cec('0x8')](config['redis'],{'host':_0x6cec('0x9'),'port':0x18eb});var io=require('socket.io-emitter')(new Redis(config[_0x6cec('0x7')]));function emit(_0xe07769,_0xc7d752,_0x2dbcaf){io['to'](_0xe07769)['emit'](_0xc7d752,_0x2dbcaf);}function getCustomFields(_0x446d5c,_0x3ccc74){var _0x4ab46a={};if(_0x446d5c[_0x6cec('0xa')]>0x0){_[_0x6cec('0xb')](_0x446d5c,function(_0x504a66){if(_0x504a66['type']===_0x6cec('0xc')&&_0x504a66[_0x6cec('0xd')]){_0x4ab46a[_0x504a66[_0x6cec('0xd')]]=_0x504a66[_0x6cec('0xe')]['toString']();}else if(_0x504a66[_0x6cec('0xf')]===_0x6cec('0x10')&&_0x504a66[_0x6cec('0x11')]&&_0x504a66[_0x6cec('0xd')]&&_0x3ccc74[_0x504a66['variableName']]){_0x4ab46a[_0x504a66[_0x6cec('0xd')]]=_0x3ccc74[_0x504a66[_0x6cec('0x11')]][_0x6cec('0x12')]();}else if(_0x504a66[_0x6cec('0xf')]===_0x6cec('0x13')&&_0x504a66[_0x6cec('0x14')]&&_0x504a66[_0x6cec('0x14')][_0x6cec('0x15')]&&_0x504a66['idField']&&_0x3ccc74[_0x504a66[_0x6cec('0x14')][_0x6cec('0x15')]['toLowerCase']()]){_0x4ab46a[_0x504a66[_0x6cec('0xd')]]=_0x3ccc74[_0x504a66[_0x6cec('0x14')][_0x6cec('0x15')]['toLowerCase']()][_0x6cec('0x12')]();}});}return _0x4ab46a;}function createTicket(_0x58c9d9,_0x510618,_0x234323,_0x5cc050,_0x41fef7,_0x5c347d,_0x251352){logger[_0x6cec('0x16')](_0x6cec('0x17'));var _0x308d87=_[_0x6cec('0x18')]({'parent_id':'','assigned_user_id':_0x510618['id'],'ticketpriorities':'Normal','ticketstatus':_0x6cec('0x19'),'ticket_title':intUtil['getString'](_0x5cc050[_0x6cec('0x1a')],_0x41fef7,'\x20'),'description':intUtil[_0x6cec('0x1b')](_0x5cc050[_0x6cec('0x1c')],_0x41fef7,'\x0a'),'contact_id':_0x234323['id']},getCustomFields(_0x5c347d,_0x41fef7));var _0xf1b9f4={'method':_0x6cec('0x1d'),'uri':util[_0x6cec('0x1e')](_0x6cec('0x1f'),_0x58c9d9['remoteUri']),'form':{'operation':_0x6cec('0x20'),'username':_0x58c9d9['username'],'sessionName':_0x251352['sessionName'],'elementType':_0x6cec('0x21'),'element':JSON[_0x6cec('0x22')](_0x308d87)},'json':!![]};return request(_0xf1b9f4)[_0x6cec('0x23')](function(_0x3c34c5){if(_0x3c34c5[_0x6cec('0x24')]){return BPromise['resolve']({'id':_0x3c34c5['result']['id']});}else{throw new Error(util[_0x6cec('0x1e')](_0x6cec('0x25'),JSON[_0x6cec('0x22')](_0x3c34c5[_0x6cec('0x26')])));}})[_0x6cec('0x27')](function(_0x2c604){var _0x1443cd=_0x2c604[_0x6cec('0x28')]||0x1f4;logger[_0x6cec('0x26')](_0x6cec('0x29'),_0x6cec('0x2a'),_0x1443cd,JSON[_0x6cec('0x22')](_0x2c604));});}function getUser(_0x1252ef,_0x1226d5,_0x417e6f){if(intUtil[_0x6cec('0x2b')](_0x1226d5)){logger['info'](_0x6cec('0x2c'),_0x1226d5);return request({'method':_0x6cec('0x2d'),'uri':util['format']('%s/webservice.php',_0x1252ef[_0x6cec('0x2e')]),'qs':{'operation':_0x6cec('0x2f'),'username':_0x1252ef['username'],'sessionName':_0x417e6f[_0x6cec('0x30')],'query':util[_0x6cec('0x1e')](_0x6cec('0x31'),_0x1226d5)},'json':!![]})[_0x6cec('0x23')](function(_0x5a3980){if(_0x5a3980[_0x6cec('0x24')]&&_0x5a3980['result'][_0x6cec('0xa')]){logger[_0x6cec('0x16')](_0x6cec('0x32'));return BPromise[_0x6cec('0x33')]({'id':_0x5a3980[_0x6cec('0x34')][0x0]['id'],'email':_0x5a3980[_0x6cec('0x34')][0x0][_0x6cec('0x35')],'name':_0x5a3980[_0x6cec('0x34')][0x0][_0x6cec('0x36')]+'\x20'+_0x5a3980[_0x6cec('0x34')]['last_name']});}else{logger[_0x6cec('0x16')](_0x6cec('0x37'));return BPromise['resolve']({'id':_0x417e6f[_0x6cec('0x38')],'email':_0x1252ef[_0x6cec('0x39')],'name':'admin'});}})[_0x6cec('0x27')](function(_0x38a81a){var _0x56211c=_0x38a81a[_0x6cec('0x28')]||0x1f4;logger[_0x6cec('0x26')](_0x6cec('0x29'),_0x6cec('0x3a'),_0x56211c,JSON[_0x6cec('0x22')](_0x38a81a));});}else{logger[_0x6cec('0x16')](_0x6cec('0x37'));return BPromise[_0x6cec('0x33')]({'id':_0x417e6f[_0x6cec('0x38')],'email':_0x1252ef[_0x6cec('0x39')],'name':_0x6cec('0x3b')})['catch'](function(_0x34b377){var _0x26bbf1=_0x34b377['statusCode']||0x1f4;logger[_0x6cec('0x26')](_0x6cec('0x29'),_0x6cec('0x3a'),_0x26bbf1,JSON[_0x6cec('0x22')](_0x34b377));});}}function getEndUser(_0x275058,_0x2212dd,_0x42beb4,_0x5cd37e){logger[_0x6cec('0x16')](_0x6cec('0x3c'),_0x42beb4);return request({'method':_0x6cec('0x2d'),'uri':util[_0x6cec('0x1e')](_0x6cec('0x1f'),_0x275058[_0x6cec('0x2e')]),'qs':{'operation':_0x6cec('0x2f'),'username':_0x275058['username'],'sessionName':_0x5cd37e[_0x6cec('0x30')],'query':util[_0x6cec('0x1e')](_0x6cec('0x3d'),_0x42beb4,_0x42beb4,_0x42beb4,_0x42beb4,_0x42beb4)},'json':!![]})[_0x6cec('0x23')](function(_0xc8ce1a){if(_0xc8ce1a['success']&&_0xc8ce1a[_0x6cec('0x34')]['length']){logger[_0x6cec('0x16')](_0x6cec('0x3e'));return BPromise[_0x6cec('0x33')]({'id':_0xc8ce1a['result'][0x0]['id'],'name':_0xc8ce1a['result'][0x0][_0x6cec('0x3f')]+'\x20'+_0xc8ce1a[_0x6cec('0x34')][0x0][_0x6cec('0x40')],'phone':_0x42beb4});}else{logger[_0x6cec('0x16')](_0x6cec('0x41'));return request({'method':_0x6cec('0x1d'),'uri':util[_0x6cec('0x1e')](_0x6cec('0x1f'),_0x275058[_0x6cec('0x2e')]),'form':{'operation':_0x6cec('0x20'),'sessionName':_0x5cd37e['sessionName'],'elementType':'Contacts','element':JSON['stringify']({'lastname':_0x2212dd,'phone':_0x42beb4,'assigned_user_id':'\x20'})},'json':!![]})['then'](function(_0xb7c2f1){logger[_0x6cec('0x16')](_0x6cec('0x42'));return BPromise[_0x6cec('0x33')]({'id':_0xb7c2f1[_0x6cec('0x34')]['id'],'name':_0xb7c2f1[_0x6cec('0x34')][_0x6cec('0x40')],'phone':_0xb7c2f1[_0x6cec('0x34')][_0x6cec('0x43')]});})[_0x6cec('0x27')](function(_0x313e41){var _0x5248ec=_0x313e41['statusCode']||0x1f4;logger[_0x6cec('0x26')](_0x6cec('0x29'),_0x6cec('0x44'),_0x5248ec,JSON['stringify'](_0x313e41));});}});}function getConnection(_0x234d9a){var _0x43f30f=_0x234d9a['username'];var _0x5ee397=_0x234d9a[_0x6cec('0x45')];return request({'method':'GET','uri':util['format']('%s/webservice.php',_0x234d9a[_0x6cec('0x2e')]),'qs':{'operation':_0x6cec('0x46'),'username':_0x43f30f},'json':!![]})[_0x6cec('0x23')](function(_0x1b6fd1){if(_0x1b6fd1[_0x6cec('0x24')]){return request({'method':_0x6cec('0x1d'),'uri':util[_0x6cec('0x1e')](_0x6cec('0x1f'),_0x234d9a['remoteUri']),'form':{'operation':_0x6cec('0x47'),'username':_0x43f30f,'accessKey':md5(_0x1b6fd1[_0x6cec('0x34')]['token']+_0x5ee397)},'json':!![]});}})['then'](function(_0x415c04){if(_0x415c04['success']){return BPromise['resolve'](_0x415c04[_0x6cec('0x34')]);}else{throw new Error(util[_0x6cec('0x1e')](_0x6cec('0x48'),_0x234d9a['id']));}})[_0x6cec('0x27')](function(_0x2e66eb){var _0x2102ff=_0x2e66eb[_0x6cec('0x28')]||0x1f4;logger['error']('[vTiger],\x20%s,\x20%s,\x20%s',_0x6cec('0x49'),_0x2102ff,JSON[_0x6cec('0x22')](_0x2e66eb));});}function request(_0x4ddb62){logger['info']('[HTTP]',JSON['stringify'](_0x4ddb62));return rp(_0x4ddb62);}exports[_0x6cec('0x4a')]=function(_0x11b9ff,_0x113fe0,_0x4737b6,_0x5c9266,_0x423d3f,_0x10e552){var _0xd43a6c,_0x143024,_0xd1c26d,_0x20484b;_0x10e552[_0x6cec('0x2e')]=intUtil['stripTrailingSlash'](_0x10e552[_0x6cec('0x2e')]);if(_0x423d3f&&_0x423d3f[_0x6cec('0x4b')]){logger[_0x6cec('0x16')](_0x6cec('0x4c'),_0x6cec('0x4d'));_0x113fe0[_0x6cec('0x4e')]=util['format'](_0x6cec('0x4f'),_0x10e552[_0x6cec('0x50')],_0x113fe0['uniqueid'],md5(_0x113fe0[_0x6cec('0x51')]));}else{_0x113fe0[_0x6cec('0x4e')]='';}return getConnection(_0x10e552)[_0x6cec('0x23')](function(_0x4342d2){_0x20484b=_0x4342d2;return getUser(_0x10e552,_0x5c9266[_0x6cec('0x52')],_0x20484b);})['then'](function(_0x206a50){_0xd43a6c=_0x206a50;logger[_0x6cec('0x16')](_0x6cec('0x53'),_0xd43a6c['id']);return getEndUser(_0x10e552,_0x113fe0[_0x6cec('0x54')],_0x113fe0['calleridnum'],_0x20484b);})[_0x6cec('0x23')](function(_0x1ab0c2){_0x143024=_0x1ab0c2;logger[_0x6cec('0x16')](_0x6cec('0x55'),_0x143024['id']);return createTicket(_0x10e552,_0xd43a6c,_0x143024,_0x4737b6,_0x113fe0,_0x4737b6[_0x6cec('0x56')],_0x20484b);})[_0x6cec('0x23')](function(_0x3925f6){_0xd1c26d=_0x3925f6;logger[_0x6cec('0x16')](_0x6cec('0x57'));logger[_0x6cec('0x16')](_0x6cec('0x58'),_0xd1c26d['id']);var _0x35871e=util[_0x6cec('0x1e')]('%s/index.php?module=HelpDesk&view=Detail&record=%s&app=SUPPORT',_0x10e552[_0x6cec('0x2e')],_['split'](_0xd1c26d['id'],'x')[0x1]);logger[_0x6cec('0x16')](_0x6cec('0x4c'),_0x6cec('0x59'));emit(util[_0x6cec('0x1e')](_0x6cec('0x5a'),_0x5c9266[_0x6cec('0x15')]),'trigger:browser:url',{'uri':_0x35871e});})[_0x6cec('0x27')](function(_0x20d564){logger[_0x6cec('0x26')]('[QUEUE]',JSON[_0x6cec('0x22')](_0x20d564));});};exports['outbound']=function(_0x38ef6c,_0x49cd0c,_0x32e897,_0x17e6b5,_0x4fb165,_0x154890,_0x5c473b){var _0x2e1ff2,_0x21f549,_0x3e2daa,_0x27418d;_0x154890['remoteUri']=intUtil['stripTrailingSlash'](_0x154890[_0x6cec('0x2e')]);_0x154890[_0x6cec('0x50')]=intUtil[_0x6cec('0x5b')](_0x154890['serverUrl']);if(_0x5c473b&&_0x5c473b[_0x6cec('0x5c')]&&_0x5c473b[_0x6cec('0x5c')]!=='none'){logger[_0x6cec('0x16')](_0x6cec('0x5d'),_0x6cec('0x4d'));_0x49cd0c[_0x6cec('0x4e')]=util[_0x6cec('0x1e')](_0x6cec('0x4f'),_0x154890[_0x6cec('0x50')],_0x49cd0c[_0x6cec('0x51')],md5(_0x49cd0c[_0x6cec('0x51')]));}return getConnection(_0x154890)[_0x6cec('0x23')](function(_0x3f8432){_0x27418d=_0x3f8432;return getUser(_0x154890,_0x17e6b5[_0x6cec('0x52')],_0x27418d);})[_0x6cec('0x23')](function(_0x5d69cb){_0x2e1ff2=_0x5d69cb;logger['info']('The\x20User\x20ID\x20is:',_0x2e1ff2['id']);return getEndUser(_0x154890,_0x49cd0c[_0x6cec('0x5e')],_0x49cd0c[_0x6cec('0x5f')],_0x27418d);})[_0x6cec('0x23')](function(_0x57dc22){_0x21f549=_0x57dc22;logger[_0x6cec('0x16')](_0x6cec('0x55'),_0x21f549['id']);return createTicket(_0x154890,_0x2e1ff2,_0x21f549,_0x32e897,_0x49cd0c,_0x32e897[_0x6cec('0x56')],_0x27418d);})[_0x6cec('0x23')](function(_0x5766c0){_0x3e2daa=_0x5766c0;logger[_0x6cec('0x16')]('Ticket\x20created!');logger['info'](_0x6cec('0x58'),_0x3e2daa['id']);var _0x592e22=util['format'](_0x6cec('0x60'),_0x154890[_0x6cec('0x2e')],_[_0x6cec('0x61')](_0x3e2daa['id'],'x')[0x1]);logger['info']('[OUTBOUND]','Displaying\x20ticket\x20to\x20agent\x20in\x20a\x20new\x20tab...');emit(util[_0x6cec('0x1e')](_0x6cec('0x5a'),_0x17e6b5[_0x6cec('0x15')]),_0x6cec('0x62'),{'uri':_0x592e22});})[_0x6cec('0x27')](function(_0x3ec9b3){logger[_0x6cec('0x26')](_0x6cec('0x5d'),JSON[_0x6cec('0x22')](_0x3ec9b3));});};exports[_0x6cec('0x63')]=function(_0x1c054d,_0x53de92,_0x2c9ffd,_0x552ed2,_0xb08ed7,_0x4227e4){var _0x4b88d2,_0x29d836,_0x378141,_0x35f73f;_0x4227e4[_0x6cec('0x2e')]=intUtil[_0x6cec('0x5b')](_0x4227e4[_0x6cec('0x2e')]);_0x4227e4[_0x6cec('0x50')]=intUtil[_0x6cec('0x5b')](_0x4227e4[_0x6cec('0x50')]);if(_0xb08ed7&&_0xb08ed7[_0x6cec('0x4b')]){logger['info']('['+_0x53de92[_0x6cec('0x64')][_0x6cec('0x65')]()+']',_0x6cec('0x4d'));_0x53de92['recordingURL']=util[_0x6cec('0x1e')](_0x6cec('0x4f'),_0x4227e4[_0x6cec('0x50')],_0x53de92[_0x6cec('0x51')],md5(_0x53de92[_0x6cec('0x51')]));}else{_0x53de92[_0x6cec('0x4e')]='';}return getConnection(_0x4227e4)[_0x6cec('0x23')](function(_0x4243fd){_0x35f73f=_0x4243fd;return getUser(_0x4227e4,'',_0x35f73f);})[_0x6cec('0x23')](function(_0x28a814){_0x4b88d2=_0x28a814;logger[_0x6cec('0x16')](_0x6cec('0x53'),_0x4b88d2['id']);return getEndUser(_0x4227e4,_0x53de92['calleridname'],_0x53de92['calleridnum'],_0x35f73f);})['then'](function(_0x345ead){_0x29d836=_0x345ead;logger[_0x6cec('0x16')](_0x6cec('0x55'),_0x29d836['id']);return createTicket(_0x4227e4,_0x4b88d2,_0x29d836,_0x2c9ffd,_0x53de92,_0x2c9ffd['Fields'],_0x35f73f);})[_0x6cec('0x23')](function(_0x442a08){_0x378141=_0x442a08;logger[_0x6cec('0x16')](_0x6cec('0x57'));logger['info'](_0x6cec('0x58'),_0x378141['id']);})['catch'](function(_0x1bc686){logger[_0x6cec('0x26')]('['+_0x53de92[_0x6cec('0x64')][_0x6cec('0x65')]()+']',JSON['stringify'](_0x1bc686));});}; \ No newline at end of file diff --git a/server/services/ami/trigger/integration/zendesk.js b/server/services/ami/trigger/integration/zendesk.js index b741c07..c9aa8e7 100644 --- a/server/services/ami/trigger/integration/zendesk.js +++ b/server/services/ami/trigger/integration/zendesk.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xaa88=['remoteUri','merge','Tags','name','Subjects','getString','Descriptions','Ticket\x20created!','ticket','validateEmail','Getting\x20agent\x20with\x20email','then','count','Agent\x20found!','find','agent','Agent\x20not\x20found,\x20using\x20the\x20admin\x20account!','format','%s/users/me.json','Admin\x20account\x20selected.','Searching\x20enduser\x20with\x20phone','type:user\x20role:end-user\x20phone:%s','length','filter','results','end-user','Enduser\x20not\x20found,\x20creating\x20a\x20new\x20enduser!','POST','Caller\x20-\x20%s','Enduser\x20created.','user','password','%s:%s','username','authType','%s/token:%s','token','Basic\x20%s','base64','debug','GET','map','forEach','type','nameField','customField','toLowerCase','content','string','idField','custom_fields','push','toString','variable','variableName','customVariable','Variable','queue','stripTrailingSlash','serverUrl','monitor_format','%s/api/voice/recordings/%s/downloads?type=uniqueid&token=%s','uniqueid','recordingURL','Authorization','email','The\x20User\x20ID\x20is:','calleridnum','The\x20Enduser\x20ID\x20is:','The\x20Ticket\x20ID\x20is:','integrationTab','[QUEUE]','Displaying\x20ticket\x20to\x20agent...','%s/channels/voice/agents/%d/tickets/%d/display.json','Displaying\x20ticket\x20to\x20agent\x20in\x20a\x20new\x20tab...','user:%s','trigger:browser:url','%s/agent/tickets/%s','Zendesk\x20account\x20type\x20not\x20recognized','catch','error','outbound','recordingFormat','Recording\x20is\x20enabled!','destcalleridnum','[OUTBOUND]','newTab','[OUTBOUND]\x20Error\x20running\x20Zendesk\x20integration','inspect','unmanaged','lastevent','toUpperCase','\x20Error\x20running\x20Zendesk\x20integration','lodash','request-promise','md5','util','./util','../../../../config/environment','../../../../config/logger','zendesk','redis','defaults','socket.io-emitter','emit','application/json','info','Creating\x20new\x20ticket...','%s/tickets.json'];(function(_0x3b380d,_0x4bf247){var _0x54502b=function(_0x35d207){while(--_0x35d207){_0x3b380d['push'](_0x3b380d['shift']());}};_0x54502b(++_0x4bf247);}(_0xaa88,0x137));var _0x8aa8=function(_0x261e29,_0x10fffd){_0x261e29=_0x261e29-0x0;var _0x25ef43=_0xaa88[_0x261e29];return _0x25ef43;};'use strict';var _=require(_0x8aa8('0x0'));var rp=require(_0x8aa8('0x1'));var md5=require(_0x8aa8('0x2'));var util=require(_0x8aa8('0x3'));var Redis=require('ioredis');var intUtil=require(_0x8aa8('0x4'));var config=require(_0x8aa8('0x5'));var logger=require(_0x8aa8('0x6'))(_0x8aa8('0x7'));config[_0x8aa8('0x8')]=_[_0x8aa8('0x9')](config['redis'],{'host':'localhost','port':0x18eb});var io=require(_0x8aa8('0xa'))(new Redis(config['redis']));function emit(_0x449d2d,_0x1ed84d,_0x27c08d){io['to'](_0x449d2d)[_0x8aa8('0xb')](_0x1ed84d,_0x27c08d);}var headers={'Content-Type':'application/json','Accept':_0x8aa8('0xc')};function getTicket(_0x2d974c,_0x224f25,_0x5c94d4,_0x4702ab,_0x9f78f5){logger[_0x8aa8('0xd')](_0x8aa8('0xe'));return request({'uri':util['format'](_0x8aa8('0xf'),_0x2d974c[_0x8aa8('0x10')]),'method':'POST','body':{'ticket':_[_0x8aa8('0x11')]({'requester_id':_0x5c94d4['id'],'submitter_id':_0x224f25?_0x224f25['id']:undefined,'assignee_id':_0x224f25?_0x224f25['id']:undefined,'tags':getTags(_0x4702ab[_0x8aa8('0x12')],_0x8aa8('0x13')),'subject':intUtil['getString'](_0x4702ab[_0x8aa8('0x14')],_0x9f78f5,'\x20'),'description':intUtil[_0x8aa8('0x15')](_0x4702ab[_0x8aa8('0x16')],_0x9f78f5,'\x0a'),'comment':{'public':![],'body':intUtil['getString'](_0x4702ab[_0x8aa8('0x16')],_0x9f78f5,'\x0a')}},getCustomFields(_0x4702ab['Fields'],_0x9f78f5))}})['then'](function(_0x433e95){logger[_0x8aa8('0xd')](_0x8aa8('0x17'));return _0x433e95[_0x8aa8('0x18')];});}function getUser(_0x42a6a4,_0x3778f4){if(intUtil[_0x8aa8('0x19')](_0x3778f4)){logger[_0x8aa8('0xd')](_0x8aa8('0x1a'),_0x3778f4);return request({'uri':util['format']('%s/search.json',_0x42a6a4[_0x8aa8('0x10')]),'qs':{'query':util['format']('type:user\x20role:agent\x20email:%s',_0x3778f4)}})[_0x8aa8('0x1b')](function(_0x5ac0d9){if(_0x5ac0d9[_0x8aa8('0x1c')]){logger[_0x8aa8('0xd')](_0x8aa8('0x1d'));return _[_0x8aa8('0x1e')](_0x5ac0d9['results'],{'email':_0x3778f4,'role':_0x8aa8('0x1f')});}else{logger[_0x8aa8('0xd')](_0x8aa8('0x20'));return request({'uri':util[_0x8aa8('0x21')](_0x8aa8('0x22'),_0x42a6a4[_0x8aa8('0x10')])})['then'](function(_0x26cf63){logger['info'](_0x8aa8('0x23'));return _0x26cf63['user'];});}});}else{logger[_0x8aa8('0xd')]('Agent\x20not\x20found,\x20using\x20the\x20admin\x20account!');return request({'uri':util[_0x8aa8('0x21')](_0x8aa8('0x22'),_0x42a6a4[_0x8aa8('0x10')])})['then'](function(_0x24f428){logger[_0x8aa8('0xd')](_0x8aa8('0x23'));return _0x24f428['user'];});}}function getEndUser(_0x57acd2,_0x2d1508,_0x44e2d8){logger[_0x8aa8('0xd')](_0x8aa8('0x24'),_0x44e2d8);return request({'uri':util[_0x8aa8('0x21')]('%s/search.json',_0x57acd2[_0x8aa8('0x10')]),'qs':{'query':util['format'](_0x8aa8('0x25'),_0x44e2d8)}})[_0x8aa8('0x1b')](function(_0x15ff33){var _0x519ac0;if(_0x15ff33['results'][_0x8aa8('0x26')]){_0x15ff33['results']=_[_0x8aa8('0x27')](_0x15ff33[_0x8aa8('0x28')],{'suspended':![],'role':_0x8aa8('0x29')});if(_0x15ff33[_0x8aa8('0x28')][_0x8aa8('0x26')]){_0x519ac0=_['first'](_0x15ff33[_0x8aa8('0x28')]);}}if(_0x519ac0){logger[_0x8aa8('0xd')]('Enduser\x20found!');return _0x519ac0;}else{logger[_0x8aa8('0xd')](_0x8aa8('0x2a'));return request({'uri':util[_0x8aa8('0x21')]('%s/users.json',_0x57acd2[_0x8aa8('0x10')]),'method':_0x8aa8('0x2b'),'body':{'user':{'role':_0x8aa8('0x29'),'name':util[_0x8aa8('0x21')](_0x8aa8('0x2c'),_0x2d1508||_0x44e2d8),'phone':_0x44e2d8}}})[_0x8aa8('0x1b')](function(_0x370401){logger[_0x8aa8('0xd')](_0x8aa8('0x2d'));return _0x370401[_0x8aa8('0x2e')];});}});}function getAuth(_0x3e069a){var _0x5bf1a7;if(_0x3e069a['authType']===_0x8aa8('0x2f')){_0x5bf1a7=util[_0x8aa8('0x21')](_0x8aa8('0x30'),_0x3e069a[_0x8aa8('0x31')],_0x3e069a[_0x8aa8('0x2f')]);}else if(_0x3e069a[_0x8aa8('0x32')]==='token'){_0x5bf1a7=util['format'](_0x8aa8('0x33'),_0x3e069a['username'],_0x3e069a[_0x8aa8('0x34')]);}return util[_0x8aa8('0x21')](_0x8aa8('0x35'),new Buffer(_0x5bf1a7)['toString'](_0x8aa8('0x36')));}function request(_0x38b8d4){logger[_0x8aa8('0x37')]('[HTTP]',JSON['stringify'](_0x38b8d4));return rp(_[_0x8aa8('0x9')](_0x38b8d4,{'method':_0x8aa8('0x38'),'headers':headers,'json':!![]}));}function getTags(_0x52f87d,_0x24eb18){var _0x2e1f52=[];if(_0x52f87d&&_0x52f87d['length']>0x0){_0x2e1f52=_[_0x8aa8('0x39')](_0x52f87d,_0x24eb18);}return _0x2e1f52;}function getCustomFields(_0x48c3ba,_0x530a66){var _0x2f8f19=[];var _0x5537ff={'custom_fields':[]};if(_0x48c3ba[_0x8aa8('0x26')]>0x0){_[_0x8aa8('0x3a')](_0x48c3ba,function(_0x926ff2){if(_0x926ff2[_0x8aa8('0x3b')]==='string'&&_0x926ff2[_0x8aa8('0x3c')]&&!_0x926ff2[_0x8aa8('0x3d')]){_0x5537ff[_0x926ff2['nameField'][_0x8aa8('0x3e')]()]=_0x926ff2[_0x8aa8('0x3f')]['toString']();}else if(_0x926ff2[_0x8aa8('0x3b')]===_0x8aa8('0x40')&&_0x926ff2[_0x8aa8('0x41')]&&_0x926ff2[_0x8aa8('0x3d')]){_0x5537ff[_0x8aa8('0x42')][_0x8aa8('0x43')]({'id':_0x926ff2[_0x8aa8('0x41')],'value':_0x926ff2[_0x8aa8('0x3f')][_0x8aa8('0x44')]()});}else if(_0x926ff2[_0x8aa8('0x3b')]===_0x8aa8('0x45')&&_0x926ff2[_0x8aa8('0x46')]&&_0x926ff2[_0x8aa8('0x41')]&&_0x926ff2[_0x8aa8('0x3d')]){_0x530a66[_0x926ff2[_0x8aa8('0x46')]]&&_0x5537ff[_0x8aa8('0x42')]['push']({'id':_0x926ff2[_0x8aa8('0x41')],'value':_0x530a66[_0x926ff2['variableName']]['toString']()});}else if(_0x926ff2['type']===_0x8aa8('0x47')&&_0x926ff2['Variable']&&_0x926ff2['Variable'][_0x8aa8('0x13')]&&_0x926ff2['idField']&&_0x926ff2[_0x8aa8('0x3d')]){_0x530a66[_0x926ff2['Variable']['name'][_0x8aa8('0x3e')]()]&&_0x5537ff[_0x8aa8('0x42')][_0x8aa8('0x43')]({'id':_0x926ff2[_0x8aa8('0x41')],'value':_0x530a66[_0x926ff2[_0x8aa8('0x48')][_0x8aa8('0x13')][_0x8aa8('0x3e')]()]['toString']()});}});}return _0x5537ff;}exports[_0x8aa8('0x49')]=function(_0x53a7a4,_0x2aec13,_0x1367db,_0x44ba22,_0x2bc6d3,_0x2a0a14){var _0x44f2b4,_0x5adcda;_0x2a0a14['remoteUri']=intUtil[_0x8aa8('0x4a')](_0x2a0a14[_0x8aa8('0x10')]);_0x2a0a14['serverUrl']=intUtil[_0x8aa8('0x4a')](_0x2a0a14[_0x8aa8('0x4b')]);if(_0x2bc6d3&&_0x2bc6d3[_0x8aa8('0x4c')]){logger['info']('[QUEUE]','Recording\x20is\x20enabled!');_0x2aec13['recordingURL']=util[_0x8aa8('0x21')](_0x8aa8('0x4d'),_0x2a0a14['serverUrl'],_0x2aec13[_0x8aa8('0x4e')],md5(_0x2aec13[_0x8aa8('0x4e')]));}else{_0x2aec13[_0x8aa8('0x4f')]='';}headers[_0x8aa8('0x50')]=getAuth(_0x2a0a14);return getUser(_0x2a0a14,_0x44ba22[_0x8aa8('0x51')])[_0x8aa8('0x1b')](function(_0x4e6b80){_0x44f2b4=_0x4e6b80;logger['info'](_0x8aa8('0x52'),_0x44f2b4['id']);return getEndUser(_0x2a0a14,_0x2aec13['calleridname'],_0x2aec13[_0x8aa8('0x53')]);})['then'](function(_0x1b4843){_0x5adcda=_0x1b4843;logger[_0x8aa8('0xd')](_0x8aa8('0x54'),_0x5adcda['id']);return getTicket(_0x2a0a14,_0x44f2b4,_0x5adcda,_0x1367db,_0x2aec13);})[_0x8aa8('0x1b')](function(_0x36de37){if(_0x36de37){logger[_0x8aa8('0xd')](_0x8aa8('0x55'),_0x36de37['id']);switch(_0x2a0a14[_0x8aa8('0x3b')]){case _0x8aa8('0x56'):logger[_0x8aa8('0xd')](_0x8aa8('0x57'),_0x8aa8('0x58'));return request({'uri':util['format'](_0x8aa8('0x59'),_0x2a0a14['remoteUri'],_0x44f2b4['id'],_0x36de37['id']),'method':'POST'});case'newTab':logger[_0x8aa8('0xd')]('[QUEUE]',_0x8aa8('0x5a'));emit(util[_0x8aa8('0x21')](_0x8aa8('0x5b'),_0x44ba22['name']),_0x8aa8('0x5c'),{'uri':util[_0x8aa8('0x21')](_0x8aa8('0x5d'),_0x2a0a14[_0x8aa8('0x10')],_0x36de37['id'])});break;default:logger['error']('[QUEUE]',_0x8aa8('0x5e'));}}})[_0x8aa8('0x5f')](function(_0x45ef2d){logger[_0x8aa8('0x60')]('[QUEUE]\x20Error\x20running\x20Zendesk\x20integration',util['inspect'](_0x45ef2d,{'showHidden':!![],'depth':null}));});};exports[_0x8aa8('0x61')]=function(_0x1bd389,_0x26eb56,_0x4bf6bc,_0x33e9ae,_0x3a814f,_0x501805,_0x5aa8a5){var _0x4b6fd7,_0x55e186;_0x501805[_0x8aa8('0x10')]=intUtil['stripTrailingSlash'](_0x501805[_0x8aa8('0x10')]);_0x501805[_0x8aa8('0x4b')]=intUtil['stripTrailingSlash'](_0x501805['serverUrl']);if(_0x5aa8a5&&_0x5aa8a5[_0x8aa8('0x62')]&&_0x5aa8a5[_0x8aa8('0x62')]!=='none'){logger['info']('[OUTBOUND]',_0x8aa8('0x63'));_0x26eb56[_0x8aa8('0x4f')]=util['format']('%s/api/voice/recordings/%s/downloads?type=uniqueid&token=%s',_0x501805[_0x8aa8('0x4b')],_0x26eb56[_0x8aa8('0x4e')],md5(_0x26eb56['uniqueid']));}headers[_0x8aa8('0x50')]=getAuth(_0x501805);return getUser(_0x501805,_0x33e9ae[_0x8aa8('0x51')])['then'](function(_0x4c8431){_0x4b6fd7=_0x4c8431;logger['info'](_0x8aa8('0x52'),_0x4b6fd7['id']);return getEndUser(_0x501805,_0x26eb56['destcalleridname'],_0x26eb56[_0x8aa8('0x64')]);})[_0x8aa8('0x1b')](function(_0x3e105e){_0x55e186=_0x3e105e;logger[_0x8aa8('0xd')](_0x8aa8('0x54'),_0x55e186['id']);return getTicket(_0x501805,_0x4b6fd7,_0x55e186,_0x4bf6bc,_0x26eb56);})['then'](function(_0x379c66){if(_0x379c66){logger[_0x8aa8('0xd')](_0x8aa8('0x55'),_0x379c66['id']);switch(_0x501805[_0x8aa8('0x3b')]){case'integrationTab':logger[_0x8aa8('0xd')](_0x8aa8('0x65'),'Displaying\x20ticket\x20to\x20agent...');return request({'uri':util[_0x8aa8('0x21')](_0x8aa8('0x59'),_0x501805[_0x8aa8('0x10')],_0x4b6fd7['id'],_0x379c66['id']),'method':_0x8aa8('0x2b')});case _0x8aa8('0x66'):logger[_0x8aa8('0xd')](_0x8aa8('0x65'),'Displaying\x20ticket\x20to\x20agent\x20in\x20a\x20new\x20tab...');emit(util['format']('user:%s',_0x33e9ae[_0x8aa8('0x13')]),_0x8aa8('0x5c'),{'uri':util[_0x8aa8('0x21')](_0x8aa8('0x5d'),_0x501805[_0x8aa8('0x10')],_0x379c66['id'])});break;default:logger[_0x8aa8('0x60')](_0x8aa8('0x65'),_0x8aa8('0x5e'));}}})[_0x8aa8('0x5f')](function(_0x3cc282){logger[_0x8aa8('0x60')](_0x8aa8('0x67'),util[_0x8aa8('0x68')](_0x3cc282,{'showHidden':!![],'depth':null}));});};exports[_0x8aa8('0x69')]=function(_0x3e80ac,_0x36523a,_0x84c520,_0x2f561d,_0x28cf8a,_0x57c6f5){var _0x3b0e4d,_0x233169;_0x57c6f5[_0x8aa8('0x10')]=intUtil[_0x8aa8('0x4a')](_0x57c6f5[_0x8aa8('0x10')]);_0x57c6f5[_0x8aa8('0x4b')]=intUtil[_0x8aa8('0x4a')](_0x57c6f5[_0x8aa8('0x4b')]);if(_0x28cf8a&&_0x28cf8a[_0x8aa8('0x4c')]){logger['info']('['+_0x36523a[_0x8aa8('0x6a')][_0x8aa8('0x6b')]()+']','Recording\x20is\x20enabled!');_0x36523a[_0x8aa8('0x4f')]=util['format'](_0x8aa8('0x4d'),_0x57c6f5[_0x8aa8('0x4b')],_0x36523a['uniqueid'],md5(_0x36523a[_0x8aa8('0x4e')]));}else{_0x36523a[_0x8aa8('0x4f')]='';}headers[_0x8aa8('0x50')]=getAuth(_0x57c6f5);return getUser(_0x57c6f5)[_0x8aa8('0x1b')](function(_0xd136db){_0x3b0e4d=_0xd136db;logger[_0x8aa8('0xd')](_0x8aa8('0x52'),_0x3b0e4d['id']);return getEndUser(_0x57c6f5,_0x36523a['calleridname'],_0x36523a[_0x8aa8('0x53')]);})[_0x8aa8('0x1b')](function(_0x300ab8){_0x233169=_0x300ab8;logger[_0x8aa8('0xd')]('The\x20Enduser\x20ID\x20is:',_0x233169['id']);return getTicket(_0x57c6f5,_0x3b0e4d,_0x233169,_0x84c520,_0x36523a);})['then'](function(_0x284600){if(_0x284600){logger[_0x8aa8('0xd')](_0x8aa8('0x55'),_0x284600['id']);}})[_0x8aa8('0x5f')](function(_0x486e83){logger['error']('['+_0x36523a['lastevent'][_0x8aa8('0x6b')]()+']'+_0x8aa8('0x6c'),util[_0x8aa8('0x68')](_0x486e83,{'showHidden':!![],'depth':null}));});}; \ No newline at end of file +var _0xb58b=['authType','token','%s/token:%s','Basic\x20%s','base64','debug','stringify','map','forEach','nameField','toLowerCase','content','string','idField','customField','custom_fields','push','toString','type','variable','variableName','Variable','queue','stripTrailingSlash','serverUrl','monitor_format','[QUEUE]','Recording\x20is\x20enabled!','recordingURL','%s/api/voice/recordings/%s/downloads?type=uniqueid&token=%s','uniqueid','Authorization','email','The\x20User\x20ID\x20is:','calleridname','calleridnum','The\x20Ticket\x20ID\x20is:','integrationTab','Displaying\x20ticket\x20to\x20agent...','%s/channels/voice/agents/%d/tickets/%d/display.json','newTab','Displaying\x20ticket\x20to\x20agent\x20in\x20a\x20new\x20tab...','user:%s','trigger:browser:url','%s/agent/tickets/%s','error','Zendesk\x20account\x20type\x20not\x20recognized','catch','inspect','outbound','recordingFormat','none','[OUTBOUND]','destcalleridname','destcalleridnum','The\x20Enduser\x20ID\x20is:','[OUTBOUND]\x20Error\x20running\x20Zendesk\x20integration','unmanaged','toUpperCase','lastevent','\x20Error\x20running\x20Zendesk\x20integration','request-promise','md5','util','./util','../../../../config/environment','zendesk','defaults','redis','localhost','emit','application/json','info','format','%s/tickets.json','remoteUri','POST','Tags','name','Subjects','getString','Descriptions','then','ticket','%s/search.json','type:user\x20role:agent\x20email:%s','count','Agent\x20found!','find','results','agent','Agent\x20not\x20found,\x20using\x20the\x20admin\x20account!','%s/users/me.json','Admin\x20account\x20selected.','user','Searching\x20enduser\x20with\x20phone','type:user\x20role:end-user\x20phone:%s','length','filter','end-user','first','Enduser\x20found!','Enduser\x20not\x20found,\x20creating\x20a\x20new\x20enduser!','%s/users.json','Caller\x20-\x20%s','Enduser\x20created.','%s:%s','username','password'];(function(_0x508a0a,_0x3ed316){var _0x4acf06=function(_0x9cea61){while(--_0x9cea61){_0x508a0a['push'](_0x508a0a['shift']());}};_0x4acf06(++_0x3ed316);}(_0xb58b,0x1f1));var _0xbb58=function(_0x4bb8c8,_0x120555){_0x4bb8c8=_0x4bb8c8-0x0;var _0x21fb6d=_0xb58b[_0x4bb8c8];return _0x21fb6d;};'use strict';var _=require('lodash');var rp=require(_0xbb58('0x0'));var md5=require(_0xbb58('0x1'));var util=require(_0xbb58('0x2'));var Redis=require('ioredis');var intUtil=require(_0xbb58('0x3'));var config=require(_0xbb58('0x4'));var logger=require('../../../../config/logger')(_0xbb58('0x5'));config['redis']=_[_0xbb58('0x6')](config[_0xbb58('0x7')],{'host':_0xbb58('0x8'),'port':0x18eb});var io=require('socket.io-emitter')(new Redis(config[_0xbb58('0x7')]));function emit(_0x323066,_0xe874f2,_0x5d7fe8){io['to'](_0x323066)[_0xbb58('0x9')](_0xe874f2,_0x5d7fe8);}var headers={'Content-Type':_0xbb58('0xa'),'Accept':_0xbb58('0xa')};function getTicket(_0x36ca50,_0x429e75,_0x261d00,_0x27f77f,_0x4bb8c5){logger[_0xbb58('0xb')]('Creating\x20new\x20ticket...');return request({'uri':util[_0xbb58('0xc')](_0xbb58('0xd'),_0x36ca50[_0xbb58('0xe')]),'method':_0xbb58('0xf'),'body':{'ticket':_['merge']({'requester_id':_0x261d00['id'],'submitter_id':_0x429e75?_0x429e75['id']:undefined,'assignee_id':_0x429e75?_0x429e75['id']:undefined,'tags':getTags(_0x27f77f[_0xbb58('0x10')],_0xbb58('0x11')),'subject':intUtil['getString'](_0x27f77f[_0xbb58('0x12')],_0x4bb8c5,'\x20'),'description':intUtil[_0xbb58('0x13')](_0x27f77f[_0xbb58('0x14')],_0x4bb8c5,'\x0a'),'comment':{'public':![],'body':intUtil[_0xbb58('0x13')](_0x27f77f[_0xbb58('0x14')],_0x4bb8c5,'\x0a')}},getCustomFields(_0x27f77f['Fields'],_0x4bb8c5))}})[_0xbb58('0x15')](function(_0x23fd15){logger['info']('Ticket\x20created!');return _0x23fd15[_0xbb58('0x16')];});}function getUser(_0x445b1f,_0x38d69a){if(intUtil['validateEmail'](_0x38d69a)){logger['info']('Getting\x20agent\x20with\x20email',_0x38d69a);return request({'uri':util['format'](_0xbb58('0x17'),_0x445b1f[_0xbb58('0xe')]),'qs':{'query':util['format'](_0xbb58('0x18'),_0x38d69a)}})['then'](function(_0x2cf892){if(_0x2cf892[_0xbb58('0x19')]){logger[_0xbb58('0xb')](_0xbb58('0x1a'));return _[_0xbb58('0x1b')](_0x2cf892[_0xbb58('0x1c')],{'email':_0x38d69a,'role':_0xbb58('0x1d')});}else{logger['info'](_0xbb58('0x1e'));return request({'uri':util[_0xbb58('0xc')](_0xbb58('0x1f'),_0x445b1f[_0xbb58('0xe')])})[_0xbb58('0x15')](function(_0x5d4a91){logger[_0xbb58('0xb')](_0xbb58('0x20'));return _0x5d4a91[_0xbb58('0x21')];});}});}else{logger['info'](_0xbb58('0x1e'));return request({'uri':util['format'](_0xbb58('0x1f'),_0x445b1f[_0xbb58('0xe')])})[_0xbb58('0x15')](function(_0x3e215c){logger[_0xbb58('0xb')](_0xbb58('0x20'));return _0x3e215c[_0xbb58('0x21')];});}}function getEndUser(_0x15e4c5,_0x4e0303,_0x283dff){logger[_0xbb58('0xb')](_0xbb58('0x22'),_0x283dff);return request({'uri':util[_0xbb58('0xc')](_0xbb58('0x17'),_0x15e4c5[_0xbb58('0xe')]),'qs':{'query':util[_0xbb58('0xc')](_0xbb58('0x23'),_0x283dff)}})[_0xbb58('0x15')](function(_0x2d5b39){var _0xf6687e;if(_0x2d5b39[_0xbb58('0x1c')][_0xbb58('0x24')]){_0x2d5b39[_0xbb58('0x1c')]=_[_0xbb58('0x25')](_0x2d5b39['results'],{'suspended':![],'role':_0xbb58('0x26')});if(_0x2d5b39[_0xbb58('0x1c')][_0xbb58('0x24')]){_0xf6687e=_[_0xbb58('0x27')](_0x2d5b39[_0xbb58('0x1c')]);}}if(_0xf6687e){logger[_0xbb58('0xb')](_0xbb58('0x28'));return _0xf6687e;}else{logger[_0xbb58('0xb')](_0xbb58('0x29'));return request({'uri':util['format'](_0xbb58('0x2a'),_0x15e4c5[_0xbb58('0xe')]),'method':_0xbb58('0xf'),'body':{'user':{'role':_0xbb58('0x26'),'name':util[_0xbb58('0xc')](_0xbb58('0x2b'),_0x4e0303||_0x283dff),'phone':_0x283dff}}})[_0xbb58('0x15')](function(_0x2599af){logger[_0xbb58('0xb')](_0xbb58('0x2c'));return _0x2599af[_0xbb58('0x21')];});}});}function getAuth(_0x34583e){var _0x2f5967;if(_0x34583e['authType']==='password'){_0x2f5967=util['format'](_0xbb58('0x2d'),_0x34583e[_0xbb58('0x2e')],_0x34583e[_0xbb58('0x2f')]);}else if(_0x34583e[_0xbb58('0x30')]===_0xbb58('0x31')){_0x2f5967=util[_0xbb58('0xc')](_0xbb58('0x32'),_0x34583e[_0xbb58('0x2e')],_0x34583e['token']);}return util[_0xbb58('0xc')](_0xbb58('0x33'),new Buffer(_0x2f5967)['toString'](_0xbb58('0x34')));}function request(_0x4da3ed){logger[_0xbb58('0x35')]('[HTTP]',JSON[_0xbb58('0x36')](_0x4da3ed));return rp(_[_0xbb58('0x6')](_0x4da3ed,{'method':'GET','headers':headers,'json':!![]}));}function getTags(_0x3d3aee,_0x300c7b){var _0x12626c=[];if(_0x3d3aee&&_0x3d3aee[_0xbb58('0x24')]>0x0){_0x12626c=_[_0xbb58('0x37')](_0x3d3aee,_0x300c7b);}return _0x12626c;}function getCustomFields(_0x128af0,_0x434959){var _0x58af93=[];var _0x4e9c19={'custom_fields':[]};if(_0x128af0[_0xbb58('0x24')]>0x0){_[_0xbb58('0x38')](_0x128af0,function(_0x2da5ff){if(_0x2da5ff['type']==='string'&&_0x2da5ff[_0xbb58('0x39')]&&!_0x2da5ff['customField']){_0x4e9c19[_0x2da5ff[_0xbb58('0x39')][_0xbb58('0x3a')]()]=_0x2da5ff[_0xbb58('0x3b')]['toString']();}else if(_0x2da5ff['type']===_0xbb58('0x3c')&&_0x2da5ff[_0xbb58('0x3d')]&&_0x2da5ff[_0xbb58('0x3e')]){_0x4e9c19[_0xbb58('0x3f')][_0xbb58('0x40')]({'id':_0x2da5ff[_0xbb58('0x3d')],'value':_0x2da5ff['content'][_0xbb58('0x41')]()});}else if(_0x2da5ff[_0xbb58('0x42')]===_0xbb58('0x43')&&_0x2da5ff[_0xbb58('0x44')]&&_0x2da5ff[_0xbb58('0x3d')]&&_0x2da5ff[_0xbb58('0x3e')]){_0x434959[_0x2da5ff['variableName']]&&_0x4e9c19[_0xbb58('0x3f')]['push']({'id':_0x2da5ff[_0xbb58('0x3d')],'value':_0x434959[_0x2da5ff[_0xbb58('0x44')]][_0xbb58('0x41')]()});}else if(_0x2da5ff[_0xbb58('0x42')]==='customVariable'&&_0x2da5ff[_0xbb58('0x45')]&&_0x2da5ff[_0xbb58('0x45')][_0xbb58('0x11')]&&_0x2da5ff[_0xbb58('0x3d')]&&_0x2da5ff['customField']){_0x434959[_0x2da5ff[_0xbb58('0x45')]['name'][_0xbb58('0x3a')]()]&&_0x4e9c19[_0xbb58('0x3f')][_0xbb58('0x40')]({'id':_0x2da5ff[_0xbb58('0x3d')],'value':_0x434959[_0x2da5ff[_0xbb58('0x45')][_0xbb58('0x11')][_0xbb58('0x3a')]()][_0xbb58('0x41')]()});}});}return _0x4e9c19;}exports[_0xbb58('0x46')]=function(_0x444906,_0x2c4ba6,_0x109a95,_0x21c597,_0x55a1cc,_0xc690d){var _0x5b5190,_0x5c1878;_0xc690d[_0xbb58('0xe')]=intUtil[_0xbb58('0x47')](_0xc690d[_0xbb58('0xe')]);_0xc690d[_0xbb58('0x48')]=intUtil[_0xbb58('0x47')](_0xc690d[_0xbb58('0x48')]);if(_0x55a1cc&&_0x55a1cc[_0xbb58('0x49')]){logger[_0xbb58('0xb')](_0xbb58('0x4a'),_0xbb58('0x4b'));_0x2c4ba6[_0xbb58('0x4c')]=util['format'](_0xbb58('0x4d'),_0xc690d[_0xbb58('0x48')],_0x2c4ba6['uniqueid'],md5(_0x2c4ba6[_0xbb58('0x4e')]));}else{_0x2c4ba6[_0xbb58('0x4c')]='';}headers[_0xbb58('0x4f')]=getAuth(_0xc690d);return getUser(_0xc690d,_0x21c597[_0xbb58('0x50')])['then'](function(_0x17418c){_0x5b5190=_0x17418c;logger['info'](_0xbb58('0x51'),_0x5b5190['id']);return getEndUser(_0xc690d,_0x2c4ba6[_0xbb58('0x52')],_0x2c4ba6[_0xbb58('0x53')]);})['then'](function(_0x2c0a0c){_0x5c1878=_0x2c0a0c;logger[_0xbb58('0xb')]('The\x20Enduser\x20ID\x20is:',_0x5c1878['id']);return getTicket(_0xc690d,_0x5b5190,_0x5c1878,_0x109a95,_0x2c4ba6);})[_0xbb58('0x15')](function(_0x4ca201){if(_0x4ca201){logger[_0xbb58('0xb')](_0xbb58('0x54'),_0x4ca201['id']);switch(_0xc690d[_0xbb58('0x42')]){case _0xbb58('0x55'):logger[_0xbb58('0xb')](_0xbb58('0x4a'),_0xbb58('0x56'));return request({'uri':util['format'](_0xbb58('0x57'),_0xc690d[_0xbb58('0xe')],_0x5b5190['id'],_0x4ca201['id']),'method':'POST'});case _0xbb58('0x58'):logger[_0xbb58('0xb')]('[QUEUE]',_0xbb58('0x59'));emit(util[_0xbb58('0xc')](_0xbb58('0x5a'),_0x21c597['name']),_0xbb58('0x5b'),{'uri':util[_0xbb58('0xc')](_0xbb58('0x5c'),_0xc690d['remoteUri'],_0x4ca201['id'])});break;default:logger[_0xbb58('0x5d')]('[QUEUE]',_0xbb58('0x5e'));}}})[_0xbb58('0x5f')](function(_0x2395b1){logger['error']('[QUEUE]\x20Error\x20running\x20Zendesk\x20integration',util[_0xbb58('0x60')](_0x2395b1,{'showHidden':!![],'depth':null}));});};exports[_0xbb58('0x61')]=function(_0x37bb99,_0x23ed08,_0x45114b,_0x5290be,_0x362b91,_0x44ed8b,_0x1e1c26){var _0x47cd33,_0x5ad867;_0x44ed8b[_0xbb58('0xe')]=intUtil[_0xbb58('0x47')](_0x44ed8b[_0xbb58('0xe')]);_0x44ed8b[_0xbb58('0x48')]=intUtil['stripTrailingSlash'](_0x44ed8b[_0xbb58('0x48')]);if(_0x1e1c26&&_0x1e1c26[_0xbb58('0x62')]&&_0x1e1c26[_0xbb58('0x62')]!==_0xbb58('0x63')){logger[_0xbb58('0xb')](_0xbb58('0x64'),_0xbb58('0x4b'));_0x23ed08[_0xbb58('0x4c')]=util['format'](_0xbb58('0x4d'),_0x44ed8b['serverUrl'],_0x23ed08[_0xbb58('0x4e')],md5(_0x23ed08[_0xbb58('0x4e')]));}headers[_0xbb58('0x4f')]=getAuth(_0x44ed8b);return getUser(_0x44ed8b,_0x5290be[_0xbb58('0x50')])[_0xbb58('0x15')](function(_0x1dbbd9){_0x47cd33=_0x1dbbd9;logger[_0xbb58('0xb')](_0xbb58('0x51'),_0x47cd33['id']);return getEndUser(_0x44ed8b,_0x23ed08[_0xbb58('0x65')],_0x23ed08[_0xbb58('0x66')]);})[_0xbb58('0x15')](function(_0x495ca2){_0x5ad867=_0x495ca2;logger[_0xbb58('0xb')](_0xbb58('0x67'),_0x5ad867['id']);return getTicket(_0x44ed8b,_0x47cd33,_0x5ad867,_0x45114b,_0x23ed08);})[_0xbb58('0x15')](function(_0x586b5c){if(_0x586b5c){logger[_0xbb58('0xb')]('The\x20Ticket\x20ID\x20is:',_0x586b5c['id']);switch(_0x44ed8b[_0xbb58('0x42')]){case _0xbb58('0x55'):logger['info'](_0xbb58('0x64'),_0xbb58('0x56'));return request({'uri':util[_0xbb58('0xc')](_0xbb58('0x57'),_0x44ed8b[_0xbb58('0xe')],_0x47cd33['id'],_0x586b5c['id']),'method':'POST'});case'newTab':logger[_0xbb58('0xb')](_0xbb58('0x64'),_0xbb58('0x59'));emit(util['format'](_0xbb58('0x5a'),_0x5290be[_0xbb58('0x11')]),'trigger:browser:url',{'uri':util[_0xbb58('0xc')](_0xbb58('0x5c'),_0x44ed8b['remoteUri'],_0x586b5c['id'])});break;default:logger[_0xbb58('0x5d')](_0xbb58('0x64'),_0xbb58('0x5e'));}}})[_0xbb58('0x5f')](function(_0x3cface){logger['error'](_0xbb58('0x68'),util[_0xbb58('0x60')](_0x3cface,{'showHidden':!![],'depth':null}));});};exports[_0xbb58('0x69')]=function(_0x1da9c7,_0x2c9093,_0x5e17fc,_0x509d57,_0x29f64a,_0x4baedb){var _0x31a8d1,_0x14b872;_0x4baedb[_0xbb58('0xe')]=intUtil[_0xbb58('0x47')](_0x4baedb[_0xbb58('0xe')]);_0x4baedb[_0xbb58('0x48')]=intUtil[_0xbb58('0x47')](_0x4baedb[_0xbb58('0x48')]);if(_0x29f64a&&_0x29f64a[_0xbb58('0x49')]){logger[_0xbb58('0xb')]('['+_0x2c9093['lastevent'][_0xbb58('0x6a')]()+']',_0xbb58('0x4b'));_0x2c9093[_0xbb58('0x4c')]=util['format'](_0xbb58('0x4d'),_0x4baedb['serverUrl'],_0x2c9093['uniqueid'],md5(_0x2c9093[_0xbb58('0x4e')]));}else{_0x2c9093[_0xbb58('0x4c')]='';}headers[_0xbb58('0x4f')]=getAuth(_0x4baedb);return getUser(_0x4baedb)[_0xbb58('0x15')](function(_0x4e19b1){_0x31a8d1=_0x4e19b1;logger['info'](_0xbb58('0x51'),_0x31a8d1['id']);return getEndUser(_0x4baedb,_0x2c9093[_0xbb58('0x52')],_0x2c9093['calleridnum']);})[_0xbb58('0x15')](function(_0x2ba4a9){_0x14b872=_0x2ba4a9;logger[_0xbb58('0xb')](_0xbb58('0x67'),_0x14b872['id']);return getTicket(_0x4baedb,_0x31a8d1,_0x14b872,_0x5e17fc,_0x2c9093);})[_0xbb58('0x15')](function(_0x55d3c5){if(_0x55d3c5){logger[_0xbb58('0xb')]('The\x20Ticket\x20ID\x20is:',_0x55d3c5['id']);}})['catch'](function(_0x11896d){logger[_0xbb58('0x5d')]('['+_0x2c9093[_0xbb58('0x6b')]['toUpperCase']()+']'+_0xbb58('0x6c'),util[_0xbb58('0x60')](_0x11896d,{'showHidden':!![],'depth':null}));});}; \ No newline at end of file diff --git a/server/services/ami/trigger/integration/zoho.js b/server/services/ami/trigger/integration/zoho.js index 7b185d9..3796920 100644 --- a/server/services/ami/trigger/integration/zoho.js +++ b/server/services/ami/trigger/integration/zoho.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xd94d=['Last_Name','$se_module','talktime','Call_Duration','utc','mm:ss','answertime','endtime','YYYY-MM-DDTHH:mm:ss','diff','starttime','lastevent','called','Call_Result','Called','complete','connect','rejected','Rejected','Abandoned','timeout','Timeout','outbound','agentcalledAt','Call_Type','Inbound','merge','Fields','/crm/v2/Calls','err','queue','host','stripTrailingSlash','serverUrl','monitor_format','[QUEUE]','recordingURL','/api/voice/recordings/','uniqueid','/downloads?type=uniqueid&token=','zoho.eu','com','The\x20User\x20ID\x20is:','calleridname','calleridnum','The\x20Call\x20ID\x20is:','Displaying\x20call\x20to\x20agent\x20in\x20a\x20new\x20tab...','user:%s','trigger:browser:url','https://crm.','recordingFormat','none','[OUTBOUND]','Recording\x20is\x20enabled!','destcalleridname','Outbound','/crm/EntityInfo.do?module=Calls&id=','unmanaged','toUpperCase','request-promise','md5','util','moment','ioredis','bluebird','../../../../config/environment','../../../../config/logger','zoho','redis','localhost','emit','debug','[HTTP]','length','forEach','idField','content','toString','type','variable','variableName','customVariable','Variable','name','toLowerCase','indexOf','split','isNil','access_token','isBefore','expires_in','zone','https://accounts.zoho.com','https://accounts.zoho.eu','https://accounts.zoho.in','POST','clientId','add','seconds','error','Failing\x20creating\x20the\x20access_token','stack','info','Search\x20user','format','https://www.zohoapis.%s/crm/v2/users','ActiveUsers','Zoho-oauthtoken\x20','users','findIndex','email','Agent\x20found!','Using\x20the\x20admin\x20account!','profile','Administrator','user','The\x20failing\x20result\x20is','stringify','catch','data','enduserType','https://www.zohoapis.','/crm/v2/','startCase','moduleCreate','role','first_name','last_name','then','code','SUCCESS','details','log','CREATE\x20ERROR','GET','moduleSearch','uri','/crm/v2/Contacts/search?criteria=((Phone:equals:','Contacts','/crm/v2/Leads/search?criteria=((Phone:equals:','Leads','nothing','lead','Creating\x20new\x20call...','Owner','administrator','Subject','getString','Description','Descriptions','Who_Id','Full_Name','First_Name','What_Id'];(function(_0x10de05,_0x29023a){var _0x565b4a=function(_0xbcedbf){while(--_0xbcedbf){_0x10de05['push'](_0x10de05['shift']());}};_0x565b4a(++_0x29023a);}(_0xd94d,0x16f));var _0xdd94=function(_0x2dafbe,_0x5d04de){_0x2dafbe=_0x2dafbe-0x0;var _0x58a45a=_0xd94d[_0x2dafbe];return _0x58a45a;};'use strict';var _=require('lodash');var rp=require(_0xdd94('0x0'));var md5=require(_0xdd94('0x1'));var util=require(_0xdd94('0x2'));var intUtil=require('./util');var moment=require(_0xdd94('0x3'));var Redis=require(_0xdd94('0x4'));var BPromise=require(_0xdd94('0x5'));var config=require(_0xdd94('0x6'));var logger=require(_0xdd94('0x7'))(_0xdd94('0x8'));config[_0xdd94('0x9')]=_['defaults'](config[_0xdd94('0x9')],{'host':_0xdd94('0xa'),'port':0x18eb});var io=require('socket.io-emitter')(new Redis(config[_0xdd94('0x9')]));function emit(_0x216e61,_0x3c2358,_0x31674f){io['to'](_0x216e61)[_0xdd94('0xb')](_0x3c2358,_0x31674f);}function request(_0x31654c){logger[_0xdd94('0xc')](_0xdd94('0xd'),JSON['stringify'](_0x31654c));return rp(_0x31654c);}function getCustomFields(_0x4e977f,_0x335e74){var _0x574095={};if(_0x4e977f[_0xdd94('0xe')]>0x0){_[_0xdd94('0xf')](_0x4e977f,function(_0x590390){if(_0x590390['type']==='string'&&_0x590390[_0xdd94('0x10')]){_0x574095[_0x590390['idField']]=_0x590390[_0xdd94('0x11')][_0xdd94('0x12')]();}else if(_0x590390[_0xdd94('0x13')]===_0xdd94('0x14')&&_0x590390[_0xdd94('0x15')]&&_0x590390[_0xdd94('0x10')]&&_0x335e74[_0x590390[_0xdd94('0x15')]]){_0x574095[_0x590390[_0xdd94('0x10')]]=_0x335e74[_0x590390['variableName']][_0xdd94('0x12')]();}else if(_0x590390['type']===_0xdd94('0x16')&&_0x590390[_0xdd94('0x17')]&&_0x590390[_0xdd94('0x17')]['name']&&_0x590390[_0xdd94('0x10')]&&_0x335e74[_0x590390[_0xdd94('0x17')][_0xdd94('0x18')][_0xdd94('0x19')]()]){_0x574095[_0x590390[_0xdd94('0x10')]]=_0x335e74[_0x590390['Variable'][_0xdd94('0x18')]['toLowerCase']()][_0xdd94('0x12')]();}});}return _0x574095;}function getName(_0x18ea36){if(_0x18ea36[_0xdd94('0x1a')]('\x20')>0x0){var _0x34562b=_0x18ea36[_0xdd94('0x1b')](/ (.+)/);if(_0x34562b[0x1]){return _0x34562b;}}return[_0x18ea36,_0x18ea36];}var accountsTokens={};function getAccessToken(_0x12ba32){return new Promise(function(_0x3a64e1,_0x517c4e){if(!_[_0xdd94('0x1c')](accountsTokens[_0x12ba32['id']])&&!_[_0xdd94('0x1c')](accountsTokens[_0x12ba32['id']][_0xdd94('0x1d')])){if(moment()[_0xdd94('0x1e')](accountsTokens[_0x12ba32['id']][_0xdd94('0x1f')])){_0x3a64e1(accountsTokens[_0x12ba32['id']]['access_token']);}}var _0x5f4a9a;switch(_0x12ba32[_0xdd94('0x20')]){case'US':_0x5f4a9a=_0xdd94('0x21');break;case'AU':_0x5f4a9a='https://accounts.zoho.com.au';break;case'EU':_0x5f4a9a=_0xdd94('0x22');break;case'IN':_0x5f4a9a=_0xdd94('0x23');break;case'CN':_0x5f4a9a='https://accounts.zoho.com.cn';break;default:_0x5f4a9a=_0xdd94('0x22');break;}var _0x37d0b1={'method':_0xdd94('0x24'),'uri':_0x5f4a9a+'/oauth/v2/token','qs':{'refresh_token':_0x12ba32['refreshToken'],'client_id':_0x12ba32[_0xdd94('0x25')],'client_secret':_0x12ba32['clientSecret'],'grant_type':'refresh_token'},'json':!![]};return rp(_0x37d0b1)['then'](function(_0x371ded){accountsTokens[_0x12ba32['id']]={'access_token':_0x371ded[_0xdd94('0x1d')],'expires_in':moment()[_0xdd94('0x26')](_0x371ded['expires_in'],_0xdd94('0x27'))};_0x3a64e1(_0x371ded[_0xdd94('0x1d')]);})['catch'](function(_0x5d7b7f){logger[_0xdd94('0x28')](_0xdd94('0x29'),_0x5d7b7f[_0xdd94('0x2a')]);_0x517c4e(_0x5d7b7f);});});}function getUser(_0x4e6102,_0x3e9e43,_0x32f913,_0x58f2df){logger[_0xdd94('0x2b')](_0xdd94('0x2c'));return request({'method':'GET','uri':util[_0xdd94('0x2d')](_0xdd94('0x2e'),_0x3e9e43),'qs':{'type':_0xdd94('0x2f')},'headers':{'Authorization':_0xdd94('0x30')+_0x4e6102},'json':!![]})['then'](function(_0x5a6e2a){if(_0x5a6e2a[_0xdd94('0x31')]){var _0x12ed0d=-0x1;if(_['isArrayLikeObject'](_0x5a6e2a[_0xdd94('0x31')])){if(!_['isNil'](_0x58f2df)){_0x12ed0d=_[_0xdd94('0x32')](_0x5a6e2a[_0xdd94('0x31')],function(_0x197562){return _0x197562[_0xdd94('0x33')]===_0x58f2df;});}if(_0x12ed0d>=0x0){logger[_0xdd94('0x2b')](_0xdd94('0x34'));}else{logger[_0xdd94('0x2b')](_0xdd94('0x35'));_0x12ed0d=_[_0xdd94('0x32')](_0x5a6e2a[_0xdd94('0x31')],function(_0x5b148a){return _0x5b148a[_0xdd94('0x36')]['name']===_0xdd94('0x37');});}return _0x5a6e2a['users'][_0x12ed0d];}else{if(_0x5a6e2a[_0xdd94('0x38')][_0xdd94('0x36')]['name']==='Administrator'){logger[_0xdd94('0x2b')](_0xdd94('0x35'));user=_0x5a6e2a[_0xdd94('0x38')];return user;}else{logger[_0xdd94('0x28')](_0xdd94('0x39'),JSON[_0xdd94('0x3a')](_0x5a6e2a));throw new Error('Unable\x20to\x20retrieve\x20zoho\x20account\x20users:\x20'+JSON[_0xdd94('0x3a')](_0x5a6e2a));}}}else{logger[_0xdd94('0x28')](_0xdd94('0x39'),JSON[_0xdd94('0x3a')](_0x5a6e2a));throw new Error('Unable\x20to\x20retrieve\x20zoho\x20account\x20users:\x20'+JSON[_0xdd94('0x3a')](_0x5a6e2a));}})[_0xdd94('0x3b')](function(_0x3116c8){console[_0xdd94('0x28')](_0x3116c8);});}function getZohoUser(_0x59cb72,_0x215c16){return new BPromise(function(_0x43828d,_0x22b197){request(_0x59cb72)['then'](function(_0x21251e){var _0x3d9350=null;if(_0x21251e){_0x3d9350=_0x21251e[_0xdd94('0x3c')][0x0];_0x3d9350[_0xdd94('0x3d')]=_0x215c16;}_0x43828d(_0x3d9350);})[_0xdd94('0x3b')](function(_0x6476bd){_0x22b197(_0x6476bd);});});}function createEndUser(_0x12db20,_0x4996b4,_0x299673,_0x5734f5,_0x5c0d3f,_0x5a958f){var _0x299673=getName(_0x299673);return request({'method':_0xdd94('0x24'),'uri':_0xdd94('0x3e')+_0x4996b4+_0xdd94('0x3f')+_[_0xdd94('0x40')](_0x5a958f[_0xdd94('0x41')])+'s','body':{'data':[{'Last_Name':_0x299673[0x1],'First_Name':_0x299673[0x0],'Phone':_0x5734f5,'Owner':{'name':!_[_0xdd94('0x1c')](_0x5c0d3f[_0xdd94('0x42')]['name'])?_0x5c0d3f['role'][_0xdd94('0x18')]:!_['isNil'](_0x5c0d3f[_0xdd94('0x43')])?_0x5c0d3f['first_name']+'\x20'+_0x5c0d3f[_0xdd94('0x44')]:_0x5c0d3f[_0xdd94('0x44')],'id':_0x5c0d3f['id']}}]},'headers':{'Authorization':'Zoho-oauthtoken\x20'+_0x12db20},'json':!![]})[_0xdd94('0x45')](function(_0x215a43){if(_0x215a43&&_0x215a43[_0xdd94('0x3c')][0x0][_0xdd94('0x46')]===_0xdd94('0x47')){var _0x4e2283=_0x215a43[_0xdd94('0x3c')][0x0][_0xdd94('0x48')];_0x4e2283[_0xdd94('0x3d')]=_[_0xdd94('0x40')](_0x5a958f[_0xdd94('0x41')])+'s';return _0x4e2283;}logger[_0xdd94('0x28')](_0xdd94('0x39'),JSON[_0xdd94('0x3a')](data));throw new Error('Error:\x20'+JSON[_0xdd94('0x3a')](data));})['catch'](function(_0x1312a6){console[_0xdd94('0x49')](_0xdd94('0x4a'),_0x1312a6);});}function getEndUser(_0x1288bb,_0xa1a098,_0x448f28,_0x3fbc40,_0x45ddfb,_0x150b6e,_0x1e3031){var _0x1bbab7={'method':_0xdd94('0x4b'),'uri':'','headers':{'Authorization':_0xdd94('0x30')+_0x1288bb},'json':!![]};switch(_0x1e3031[_0xdd94('0x4c')]){case'contact_lead':_0x1bbab7[_0xdd94('0x4d')]='https://www.zohoapis.'+_0xa1a098+_0xdd94('0x4e')+_0x45ddfb+'))';return getZohoUser(_0x1bbab7,_0xdd94('0x4f'))['then'](function(_0xf9245a){if(_0xf9245a)return _0xf9245a;_0x1bbab7[_0xdd94('0x4d')]=_0xdd94('0x3e')+_0xa1a098+_0xdd94('0x50')+_0x45ddfb+'))';return getZohoUser(_0x1bbab7,_0xdd94('0x51'))[_0xdd94('0x45')](function(_0x325fea){if(_0x325fea)return _0x325fea;if(_0x1e3031['moduleCreate']!='nothing'){return createEndUser(_0x1288bb,_0xa1a098,_0x3fbc40,_0x45ddfb,_0x150b6e,_0x1e3031);}else{return{};}});});break;case'contact':_0x1bbab7['uri']=_0xdd94('0x3e')+_0xa1a098+'/crm/v2/Contacts/search?criteria=((Phone:equals:'+_0x45ddfb+'))';return getZohoUser(_0x1bbab7,'Contacts')[_0xdd94('0x45')](function(_0x29a860){if(_0x29a860)return _0x29a860;if(_0x1e3031[_0xdd94('0x41')]!=_0xdd94('0x52')){return createEndUser(_0x1288bb,_0xa1a098,_0x3fbc40,_0x45ddfb,_0x150b6e,_0x1e3031);}else{return{};}});break;case _0xdd94('0x53'):_0x1bbab7['uri']='https://www.zohoapis.'+_0xa1a098+'/crm/v2/Leads/search?criteria=((Phone:equals:'+_0x45ddfb+'))';return getZohoUser(_0x1bbab7,_0xdd94('0x51'))[_0xdd94('0x45')](function(_0x216030){if(_0x216030)return _0x216030;if(_0x1e3031[_0xdd94('0x41')]!=_0xdd94('0x52')){return createEndUser(_0x1288bb,_0xa1a098,_0x3fbc40,_0x45ddfb,_0x150b6e,_0x1e3031);}else{return{};}});break;}}function getCall(_0x5dd750,_0x461350,_0x1a4941,_0x177f9b,_0xd8ffd5,_0x5dbfb6,_0x4b97eb,_0x574944){logger['info'](_0xdd94('0x54'));var _0x4960f7={};_0x4960f7[_0xdd94('0x55')]={'name':!_[_0xdd94('0x1c')](_0x177f9b[_0xdd94('0x42')][_0xdd94('0x18')])&&!_[_0xdd94('0x1c')](_0x177f9b[_0xdd94('0x36')][_0xdd94('0x18')])&&_0x177f9b['profile']['name']===_0xdd94('0x56')?_0x177f9b[_0xdd94('0x42')]['name']:!_['isNil'](_0x177f9b[_0xdd94('0x43')])?_0x177f9b[_0xdd94('0x43')]+'\x20'+_0x177f9b['last_name']:_0x177f9b[_0xdd94('0x44')],'id':_0x177f9b['id']};_0x4960f7[_0xdd94('0x57')]=intUtil[_0xdd94('0x58')](_0x5dbfb6['Subjects'],_0x4b97eb,'\x20');_0x4960f7[_0xdd94('0x59')]=intUtil[_0xdd94('0x58')](_0x5dbfb6[_0xdd94('0x5a')],_0x4b97eb,'\x0a');if(_0xd8ffd5[_0xdd94('0x3d')]==='Contacts'){_0x4960f7[_0xdd94('0x5b')]={'name':!_['isNil'](_0xd8ffd5[_0xdd94('0x5c')])?_0xd8ffd5['Full_Name']:!_[_0xdd94('0x1c')](_0xd8ffd5[_0xdd94('0x5d')])?_0xd8ffd5['First_Name']+'\x20'+_0xd8ffd5['Last_Name']:_0xd8ffd5['Last_Name'],'id':_0xd8ffd5['id']};}if(_0xd8ffd5['enduserType']===_0xdd94('0x51')){_0x4960f7[_0xdd94('0x5e')]={'name':!_['isNil'](_0xd8ffd5[_0xdd94('0x5c')])?_0xd8ffd5['Full_Name']:!_[_0xdd94('0x1c')](_0xd8ffd5['First_Name'])?_0xd8ffd5[_0xdd94('0x5d')]+'\x20'+_0xd8ffd5['Last_Name']:_0xd8ffd5[_0xdd94('0x5f')],'id':_0xd8ffd5['id']};_0x4960f7[_0xdd94('0x60')]=_[_0xdd94('0x40')](_0xd8ffd5[_0xdd94('0x3d')]);}if(_0x4b97eb[_0xdd94('0x61')]){_0x4960f7[_0xdd94('0x62')]=moment[_0xdd94('0x63')](parseInt(_0x4b97eb[_0xdd94('0x61')])*0x3e8)['format'](_0xdd94('0x64'));}else if(_0x4b97eb[_0xdd94('0x65')]&&_0x4b97eb['endtime']){_0x4960f7[_0xdd94('0x62')]=moment[_0xdd94('0x63')](moment(_0x4b97eb[_0xdd94('0x66')],_0xdd94('0x67'))[_0xdd94('0x68')](moment(_0x4b97eb[_0xdd94('0x69')],_0xdd94('0x67'))))[_0xdd94('0x2d')](_0xdd94('0x64'));}switch(_0x4b97eb[_0xdd94('0x6a')]){case _0xdd94('0x6b'):_0x4960f7[_0xdd94('0x6c')]=_0xdd94('0x6d');break;case _0xdd94('0x6e'):case _0xdd94('0x6f'):_0x4960f7[_0xdd94('0x6c')]='Answered';break;case _0xdd94('0x70'):_0x4960f7[_0xdd94('0x6c')]=_0xdd94('0x71');break;case'abandoned':_0x4960f7[_0xdd94('0x6c')]=_0xdd94('0x72');break;case _0xdd94('0x73'):_0x4960f7[_0xdd94('0x6c')]=_0xdd94('0x74');default:}_0x4960f7['Call_Start_Time']=(_0x574944===_0xdd94('0x75')?moment(_0x4b97eb[_0xdd94('0x69')])['format'](_0xdd94('0x67')):moment(_0x4b97eb[_0xdd94('0x76')])[_0xdd94('0x2d')](_0xdd94('0x67')))||moment()[_0xdd94('0x2d')](_0xdd94('0x67'));_0x4960f7[_0xdd94('0x77')]=_0x574944||_0xdd94('0x78');_0x4960f7=_[_0xdd94('0x79')](_0x4960f7,getCustomFields(_0x5dbfb6[_0xdd94('0x7a')],_0x4b97eb));return request({'method':_0xdd94('0x24'),'uri':_0xdd94('0x3e')+_0x461350+_0xdd94('0x7b'),'headers':{'Authorization':_0xdd94('0x30')+_0x5dd750},'body':{'data':[_0x4960f7]},'json':!![]})[_0xdd94('0x45')](function(_0x46925b){if(_0x46925b&&_0x46925b['data'][0x0][_0xdd94('0x46')]===_0xdd94('0x47')){logger[_0xdd94('0x2b')]('Call\x20created!');return{'id':_0x46925b[_0xdd94('0x3c')][0x0][_0xdd94('0x48')]['id']};}})[_0xdd94('0x3b')](function(_0x4267c1){logger[_0xdd94('0x2b')](_0xdd94('0x7c'),_0x4267c1[_0xdd94('0x2a')]);console[_0xdd94('0x49')](_0xdd94('0x7c'),_0x4267c1);});}exports[_0xdd94('0x7d')]=function(_0x4141ed,_0xd0c998,_0xb905a7,_0x48bc57,_0x56e75a,_0x5827fe){var _0x27a60c,_0x135bc7,_0x4be346;_0x5827fe[_0xdd94('0x7e')]=intUtil[_0xdd94('0x7f')](_0x5827fe[_0xdd94('0x7e')]);_0x5827fe['serverUrl']=intUtil[_0xdd94('0x7f')](_0x5827fe[_0xdd94('0x80')]);if(_0x56e75a&&_0x56e75a[_0xdd94('0x81')]){logger[_0xdd94('0x2b')](_0xdd94('0x82'),'Recording\x20is\x20enabled!');_0xd0c998[_0xdd94('0x83')]=_0x5827fe['serverUrl']+_0xdd94('0x84')+_0xd0c998[_0xdd94('0x85')]+_0xdd94('0x86')+md5(_0xd0c998[_0xdd94('0x85')]);}else{_0xd0c998[_0xdd94('0x83')]='';}var _0x54f3c7=_0x5827fe[_0xdd94('0x7e')]===_0xdd94('0x87')?'eu':_0xdd94('0x88');return getAccessToken(_0x5827fe)[_0xdd94('0x45')](function(_0x3aba6a){_0x4be346=_0x3aba6a;return getUser(_0x4be346,_0x54f3c7,_0x5827fe,_0x48bc57[_0xdd94('0x33')]);})['then'](function(_0x5723e5){_0x27a60c=_0x5723e5;logger['info'](_0xdd94('0x89'),_0x27a60c['id']);return getEndUser(_0x4be346,_0x54f3c7,_0x5827fe,_0xd0c998[_0xdd94('0x8a')],_0xd0c998[_0xdd94('0x8b')],_0x27a60c,_0xb905a7);})[_0xdd94('0x45')](function(_0x333324){_0x135bc7=_0x333324;return getCall(_0x4be346,_0x54f3c7,_0x5827fe,_0x27a60c,_0x135bc7,_0xb905a7,_0xd0c998,_0xdd94('0x78'));})[_0xdd94('0x45')](function(_0x31fb46){if(_0x31fb46){logger[_0xdd94('0x2b')](_0xdd94('0x8c'),_0x31fb46['id']);logger[_0xdd94('0x2b')](_0xdd94('0x82'),_0xdd94('0x8d'));emit(util['format'](_0xdd94('0x8e'),_0x48bc57['name']),_0xdd94('0x8f'),{'uri':_0xdd94('0x90')+_0x5827fe[_0xdd94('0x7e')]+'/crm/EntityInfo.do?module=Calls&id='+_0x31fb46['id']});}})[_0xdd94('0x3b')](function(_0x1a6ab5){logger[_0xdd94('0x28')](_0xdd94('0x82'),JSON[_0xdd94('0x3a')](_0x1a6ab5));});};exports[_0xdd94('0x75')]=function(_0x4bf335,_0x8651a9,_0x150369,_0x3fa8a2,_0x6ebb53,_0x43275a,_0x712706){var _0x1df906,_0x3435d0,_0x535ced;_0x43275a[_0xdd94('0x7e')]=intUtil[_0xdd94('0x7f')](_0x43275a[_0xdd94('0x7e')]);_0x43275a[_0xdd94('0x80')]=intUtil[_0xdd94('0x7f')](_0x43275a[_0xdd94('0x80')]);if(_0x712706&&_0x712706['recordingFormat']&&_0x712706[_0xdd94('0x91')]!==_0xdd94('0x92')){logger['info'](_0xdd94('0x93'),_0xdd94('0x94'));_0x8651a9[_0xdd94('0x83')]=_0x43275a[_0xdd94('0x80')]+'/api/voice/recordings/'+_0x8651a9['uniqueid']+_0xdd94('0x86')+md5(_0x8651a9['uniqueid']);}var _0x32443b=_0x43275a[_0xdd94('0x7e')]==='zoho.eu'?'eu':'com';return getAccessToken(_0x43275a)[_0xdd94('0x45')](function(_0x5c53da){_0x535ced=_0x5c53da;return getUser(_0x535ced,_0x32443b,_0x43275a,_0x3fa8a2[_0xdd94('0x33')]);})[_0xdd94('0x45')](function(_0x4d83ac){_0x1df906=_0x4d83ac;logger[_0xdd94('0x2b')](_0xdd94('0x89'),_0x1df906['id']);return getEndUser(_0x535ced,_0x32443b,_0x43275a,_0x8651a9[_0xdd94('0x95')],_0x8651a9['destcalleridnum'],_0x1df906,_0x150369);})['then'](function(_0x64b035){_0x3435d0=_0x64b035;return getCall(_0x535ced,_0x32443b,_0x43275a,_0x1df906,_0x3435d0,_0x150369,_0x8651a9,_0xdd94('0x96'));})[_0xdd94('0x45')](function(_0x4da4ea){if(_0x4da4ea){logger[_0xdd94('0x2b')](_0xdd94('0x8c'),_0x4da4ea['id']);logger[_0xdd94('0x2b')](_0xdd94('0x93'),'Displaying\x20call\x20to\x20agent\x20in\x20a\x20new\x20tab...');emit(util['format'](_0xdd94('0x8e'),_0x3fa8a2['name']),'trigger:browser:url',{'uri':_0xdd94('0x90')+_0x43275a[_0xdd94('0x7e')]+_0xdd94('0x97')+_0x4da4ea['id']});}})['catch'](function(_0x59e00e){logger['error']('[OUTBOUND]',JSON[_0xdd94('0x3a')](_0x59e00e));});};exports[_0xdd94('0x98')]=function(_0x490a83,_0x57f281,_0x12e32a,_0x1edf6f,_0x2d673f,_0x1eca27){var _0x5eb4d7,_0x22d07d,_0x1b74f5;_0x1eca27[_0xdd94('0x7e')]=intUtil[_0xdd94('0x7f')](_0x1eca27['host']);_0x1eca27['serverUrl']=intUtil[_0xdd94('0x7f')](_0x1eca27[_0xdd94('0x80')]);if(_0x2d673f&&_0x2d673f[_0xdd94('0x81')]){logger[_0xdd94('0x2b')]('['+_0x57f281[_0xdd94('0x6a')]['toUpperCase']()+']',_0xdd94('0x94'));_0x57f281[_0xdd94('0x83')]=_0x1eca27[_0xdd94('0x80')]+_0xdd94('0x84')+_0x57f281[_0xdd94('0x85')]+'/downloads?type=uniqueid&token='+md5(_0x57f281[_0xdd94('0x85')]);}else{_0x57f281['recordingURL']='';}var _0x3da2ab=_0x1eca27[_0xdd94('0x7e')]===_0xdd94('0x87')?'eu':'com';return getAccessToken(_0x1eca27)['then'](function(_0x7a6d3){_0x1b74f5=_0x7a6d3;return getUser(_0x1b74f5,_0x3da2ab,_0x1eca27);})[_0xdd94('0x45')](function(_0xbe381d){_0x5eb4d7=_0xbe381d;logger[_0xdd94('0x2b')](_0xdd94('0x89'),_0x5eb4d7['id']);return getEndUser(_0x1b74f5,_0x3da2ab,_0x1eca27,_0x57f281['calleridname'],_0x57f281[_0xdd94('0x8b')],_0x5eb4d7,_0x12e32a);})['then'](function(_0x51a1a8){_0x22d07d=_0x51a1a8;return getCall(_0x1b74f5,_0x3da2ab,_0x1eca27,_0x5eb4d7,_0x22d07d,_0x12e32a,_0x57f281,_0xdd94('0x78'));})[_0xdd94('0x45')](function(_0x6ee7ee){if(_0x6ee7ee){logger[_0xdd94('0x2b')](_0xdd94('0x8c'),_0x6ee7ee['id']);}})['catch'](function(_0x3f8458){logger[_0xdd94('0x28')]('['+_0x57f281['lastevent'][_0xdd94('0x99')]()+']',JSON[_0xdd94('0x3a')](_0x3f8458));});}; \ No newline at end of file +var _0x7366=['recordingFormat','[OUTBOUND]','/downloads?type=uniqueid&token=','destcalleridnum','Outbound','user:%s','/crm/EntityInfo.do?module=Calls&id=','Recording\x20is\x20enabled!','calleridname','calleridnum','toUpperCase','lodash','request-promise','md5','util','./util','moment','ioredis','bluebird','../../../../config/environment','zoho','redis','localhost','socket.io-emitter','debug','[HTTP]','length','type','content','toString','variable','variableName','idField','customVariable','Variable','name','toLowerCase','indexOf','split','isNil','access_token','isBefore','expires_in','https://accounts.zoho.com','https://accounts.zoho.com.au','https://accounts.zoho.eu','https://accounts.zoho.in','https://accounts.zoho.com.cn','/oauth/v2/token','refreshToken','clientId','clientSecret','add','catch','error','info','GET','format','https://www.zohoapis.%s/crm/v2/users','ActiveUsers','Zoho-oauthtoken\x20','then','users','isArrayLikeObject','findIndex','Agent\x20found!','Using\x20the\x20admin\x20account!','profile','Administrator','The\x20failing\x20result\x20is','Unable\x20to\x20retrieve\x20zoho\x20account\x20users:\x20','stringify','data','POST','https://www.zohoapis.','startCase','role','first_name','last_name','code','SUCCESS','details','moduleCreate','log','contact_lead','uri','/crm/v2/Contacts/search?criteria=((Phone:equals:','Contacts','/crm/v2/Leads/search?criteria=((Phone:equals:','nothing','Leads','Creating\x20new\x20call...','Owner','administrator','Subject','getString','Subjects','Descriptions','Full_Name','First_Name','Last_Name','What_Id','$se_module','enduserType','talktime','utc','mm:ss','answertime','endtime','YYYY-MM-DDTHH:mm:ss','starttime','Called','complete','connect','Call_Result','Answered','Rejected','abandoned','Abandoned','timeout','Timeout','Call_Start_Time','outbound','agentcalledAt','Call_Type','Inbound','Fields','/crm/v2/Calls','Call\x20created!','err','queue','host','serverUrl','stripTrailingSlash','[QUEUE]','recordingURL','/api/voice/recordings/','uniqueid','zoho.eu','com','email','The\x20User\x20ID\x20is:','The\x20Call\x20ID\x20is:','Displaying\x20call\x20to\x20agent\x20in\x20a\x20new\x20tab...','trigger:browser:url','https://crm.'];(function(_0x408900,_0x211c82){var _0x144c0d=function(_0x2688ac){while(--_0x2688ac){_0x408900['push'](_0x408900['shift']());}};_0x144c0d(++_0x211c82);}(_0x7366,0x9d));var _0x6736=function(_0x9d78ac,_0x2290c2){_0x9d78ac=_0x9d78ac-0x0;var _0x4a1b57=_0x7366[_0x9d78ac];return _0x4a1b57;};'use strict';var _=require(_0x6736('0x0'));var rp=require(_0x6736('0x1'));var md5=require(_0x6736('0x2'));var util=require(_0x6736('0x3'));var intUtil=require(_0x6736('0x4'));var moment=require(_0x6736('0x5'));var Redis=require(_0x6736('0x6'));var BPromise=require(_0x6736('0x7'));var config=require(_0x6736('0x8'));var logger=require('../../../../config/logger')(_0x6736('0x9'));config['redis']=_['defaults'](config[_0x6736('0xa')],{'host':_0x6736('0xb'),'port':0x18eb});var io=require(_0x6736('0xc'))(new Redis(config['redis']));function emit(_0x123b3c,_0x3a966c,_0x16b9d0){io['to'](_0x123b3c)['emit'](_0x3a966c,_0x16b9d0);}function request(_0x1d0c58){logger[_0x6736('0xd')](_0x6736('0xe'),JSON['stringify'](_0x1d0c58));return rp(_0x1d0c58);}function getCustomFields(_0x8b7669,_0x5b6796){var _0x2155c4={};if(_0x8b7669[_0x6736('0xf')]>0x0){_['forEach'](_0x8b7669,function(_0x6c72ce){if(_0x6c72ce[_0x6736('0x10')]==='string'&&_0x6c72ce['idField']){_0x2155c4[_0x6c72ce['idField']]=_0x6c72ce[_0x6736('0x11')][_0x6736('0x12')]();}else if(_0x6c72ce[_0x6736('0x10')]===_0x6736('0x13')&&_0x6c72ce[_0x6736('0x14')]&&_0x6c72ce[_0x6736('0x15')]&&_0x5b6796[_0x6c72ce[_0x6736('0x14')]]){_0x2155c4[_0x6c72ce[_0x6736('0x15')]]=_0x5b6796[_0x6c72ce[_0x6736('0x14')]][_0x6736('0x12')]();}else if(_0x6c72ce[_0x6736('0x10')]===_0x6736('0x16')&&_0x6c72ce[_0x6736('0x17')]&&_0x6c72ce[_0x6736('0x17')][_0x6736('0x18')]&&_0x6c72ce[_0x6736('0x15')]&&_0x5b6796[_0x6c72ce['Variable'][_0x6736('0x18')][_0x6736('0x19')]()]){_0x2155c4[_0x6c72ce[_0x6736('0x15')]]=_0x5b6796[_0x6c72ce['Variable'][_0x6736('0x18')]['toLowerCase']()][_0x6736('0x12')]();}});}return _0x2155c4;}function getName(_0x448abf){if(_0x448abf[_0x6736('0x1a')]('\x20')>0x0){var _0x41b06c=_0x448abf[_0x6736('0x1b')](/ (.+)/);if(_0x41b06c[0x1]){return _0x41b06c;}}return[_0x448abf,_0x448abf];}var accountsTokens={};function getAccessToken(_0x421f58){return new Promise(function(_0x4e151d,_0x59e2bb){if(!_[_0x6736('0x1c')](accountsTokens[_0x421f58['id']])&&!_[_0x6736('0x1c')](accountsTokens[_0x421f58['id']][_0x6736('0x1d')])){if(moment()[_0x6736('0x1e')](accountsTokens[_0x421f58['id']][_0x6736('0x1f')])){_0x4e151d(accountsTokens[_0x421f58['id']][_0x6736('0x1d')]);}}var _0x3f59d5;switch(_0x421f58['zone']){case'US':_0x3f59d5=_0x6736('0x20');break;case'AU':_0x3f59d5=_0x6736('0x21');break;case'EU':_0x3f59d5=_0x6736('0x22');break;case'IN':_0x3f59d5=_0x6736('0x23');break;case'CN':_0x3f59d5=_0x6736('0x24');break;default:_0x3f59d5=_0x6736('0x22');break;}var _0x36da71={'method':'POST','uri':_0x3f59d5+_0x6736('0x25'),'qs':{'refresh_token':_0x421f58[_0x6736('0x26')],'client_id':_0x421f58[_0x6736('0x27')],'client_secret':_0x421f58[_0x6736('0x28')],'grant_type':'refresh_token'},'json':!![]};return rp(_0x36da71)['then'](function(_0xa84f84){accountsTokens[_0x421f58['id']]={'access_token':_0xa84f84[_0x6736('0x1d')],'expires_in':moment()[_0x6736('0x29')](_0xa84f84['expires_in'],'seconds')};_0x4e151d(_0xa84f84[_0x6736('0x1d')]);})[_0x6736('0x2a')](function(_0x1cff01){logger[_0x6736('0x2b')]('Failing\x20creating\x20the\x20access_token',_0x1cff01['stack']);_0x59e2bb(_0x1cff01);});});}function getUser(_0x4ff41a,_0x3f60b7,_0x24eb0b,_0x4f8ab0){logger[_0x6736('0x2c')]('Search\x20user');return request({'method':_0x6736('0x2d'),'uri':util[_0x6736('0x2e')](_0x6736('0x2f'),_0x3f60b7),'qs':{'type':_0x6736('0x30')},'headers':{'Authorization':_0x6736('0x31')+_0x4ff41a},'json':!![]})[_0x6736('0x32')](function(_0x3a698d){if(_0x3a698d[_0x6736('0x33')]){var _0x18f496=-0x1;if(_[_0x6736('0x34')](_0x3a698d[_0x6736('0x33')])){if(!_['isNil'](_0x4f8ab0)){_0x18f496=_[_0x6736('0x35')](_0x3a698d[_0x6736('0x33')],function(_0x1e4e49){return _0x1e4e49['email']===_0x4f8ab0;});}if(_0x18f496>=0x0){logger[_0x6736('0x2c')](_0x6736('0x36'));}else{logger['info'](_0x6736('0x37'));_0x18f496=_[_0x6736('0x35')](_0x3a698d[_0x6736('0x33')],function(_0xde39ae){return _0xde39ae[_0x6736('0x38')][_0x6736('0x18')]===_0x6736('0x39');});}return _0x3a698d[_0x6736('0x33')][_0x18f496];}else{if(_0x3a698d['user'][_0x6736('0x38')]['name']==='Administrator'){logger['info'](_0x6736('0x37'));user=_0x3a698d['user'];return user;}else{logger[_0x6736('0x2b')](_0x6736('0x3a'),JSON['stringify'](_0x3a698d));throw new Error(_0x6736('0x3b')+JSON[_0x6736('0x3c')](_0x3a698d));}}}else{logger[_0x6736('0x2b')]('The\x20failing\x20result\x20is',JSON['stringify'](_0x3a698d));throw new Error(_0x6736('0x3b')+JSON['stringify'](_0x3a698d));}})[_0x6736('0x2a')](function(_0x19e915){console[_0x6736('0x2b')](_0x19e915);});}function getZohoUser(_0x4c1ddc,_0x39d9b0){return new BPromise(function(_0x4a58f3,_0x1cb6a6){request(_0x4c1ddc)[_0x6736('0x32')](function(_0xf04554){var _0x2aec7e=null;if(_0xf04554){_0x2aec7e=_0xf04554[_0x6736('0x3d')][0x0];_0x2aec7e['enduserType']=_0x39d9b0;}_0x4a58f3(_0x2aec7e);})['catch'](function(_0x163d29){_0x1cb6a6(_0x163d29);});});}function createEndUser(_0x5476a5,_0x3dff2e,_0x3bf5f0,_0x3b1cd5,_0x14fb32,_0x51cb9d){var _0x3bf5f0=getName(_0x3bf5f0);return request({'method':_0x6736('0x3e'),'uri':_0x6736('0x3f')+_0x3dff2e+'/crm/v2/'+_[_0x6736('0x40')](_0x51cb9d['moduleCreate'])+'s','body':{'data':[{'Last_Name':_0x3bf5f0[0x1],'First_Name':_0x3bf5f0[0x0],'Phone':_0x3b1cd5,'Owner':{'name':!_['isNil'](_0x14fb32[_0x6736('0x41')][_0x6736('0x18')])?_0x14fb32[_0x6736('0x41')][_0x6736('0x18')]:!_['isNil'](_0x14fb32[_0x6736('0x42')])?_0x14fb32[_0x6736('0x42')]+'\x20'+_0x14fb32['last_name']:_0x14fb32[_0x6736('0x43')],'id':_0x14fb32['id']}}]},'headers':{'Authorization':_0x6736('0x31')+_0x5476a5},'json':!![]})['then'](function(_0x56ea75){if(_0x56ea75&&_0x56ea75[_0x6736('0x3d')][0x0][_0x6736('0x44')]===_0x6736('0x45')){var _0x35d0fa=_0x56ea75[_0x6736('0x3d')][0x0][_0x6736('0x46')];_0x35d0fa['enduserType']=_[_0x6736('0x40')](_0x51cb9d[_0x6736('0x47')])+'s';return _0x35d0fa;}logger['error'](_0x6736('0x3a'),JSON[_0x6736('0x3c')](data));throw new Error('Error:\x20'+JSON[_0x6736('0x3c')](data));})[_0x6736('0x2a')](function(_0x223fc0){console[_0x6736('0x48')]('CREATE\x20ERROR',_0x223fc0);});}function getEndUser(_0x305bac,_0x2cb755,_0x694fff,_0x129067,_0x3434ef,_0x11877b,_0xe97466){var _0x290cd6={'method':'GET','uri':'','headers':{'Authorization':_0x6736('0x31')+_0x305bac},'json':!![]};switch(_0xe97466['moduleSearch']){case _0x6736('0x49'):_0x290cd6[_0x6736('0x4a')]=_0x6736('0x3f')+_0x2cb755+_0x6736('0x4b')+_0x3434ef+'))';return getZohoUser(_0x290cd6,_0x6736('0x4c'))['then'](function(_0x34c5c5){if(_0x34c5c5)return _0x34c5c5;_0x290cd6[_0x6736('0x4a')]=_0x6736('0x3f')+_0x2cb755+_0x6736('0x4d')+_0x3434ef+'))';return getZohoUser(_0x290cd6,'Leads')[_0x6736('0x32')](function(_0x2a9305){if(_0x2a9305)return _0x2a9305;if(_0xe97466[_0x6736('0x47')]!=_0x6736('0x4e')){return createEndUser(_0x305bac,_0x2cb755,_0x129067,_0x3434ef,_0x11877b,_0xe97466);}else{return{};}});});break;case'contact':_0x290cd6[_0x6736('0x4a')]=_0x6736('0x3f')+_0x2cb755+_0x6736('0x4b')+_0x3434ef+'))';return getZohoUser(_0x290cd6,_0x6736('0x4c'))[_0x6736('0x32')](function(_0x349490){if(_0x349490)return _0x349490;if(_0xe97466['moduleCreate']!=_0x6736('0x4e')){return createEndUser(_0x305bac,_0x2cb755,_0x129067,_0x3434ef,_0x11877b,_0xe97466);}else{return{};}});break;case'lead':_0x290cd6[_0x6736('0x4a')]=_0x6736('0x3f')+_0x2cb755+_0x6736('0x4d')+_0x3434ef+'))';return getZohoUser(_0x290cd6,_0x6736('0x4f'))[_0x6736('0x32')](function(_0x2a061d){if(_0x2a061d)return _0x2a061d;if(_0xe97466['moduleCreate']!='nothing'){return createEndUser(_0x305bac,_0x2cb755,_0x129067,_0x3434ef,_0x11877b,_0xe97466);}else{return{};}});break;}}function getCall(_0x57d101,_0x45ecb4,_0x1aa098,_0x941140,_0x2ed4a1,_0x2d9fbc,_0x4baaaf,_0x476712){logger[_0x6736('0x2c')](_0x6736('0x50'));var _0x40eea1={};_0x40eea1[_0x6736('0x51')]={'name':!_[_0x6736('0x1c')](_0x941140['role'][_0x6736('0x18')])&&!_[_0x6736('0x1c')](_0x941140[_0x6736('0x38')][_0x6736('0x18')])&&_0x941140[_0x6736('0x38')]['name']===_0x6736('0x52')?_0x941140[_0x6736('0x41')]['name']:!_[_0x6736('0x1c')](_0x941140[_0x6736('0x42')])?_0x941140[_0x6736('0x42')]+'\x20'+_0x941140[_0x6736('0x43')]:_0x941140[_0x6736('0x43')],'id':_0x941140['id']};_0x40eea1[_0x6736('0x53')]=intUtil[_0x6736('0x54')](_0x2d9fbc[_0x6736('0x55')],_0x4baaaf,'\x20');_0x40eea1['Description']=intUtil['getString'](_0x2d9fbc[_0x6736('0x56')],_0x4baaaf,'\x0a');if(_0x2ed4a1['enduserType']===_0x6736('0x4c')){_0x40eea1['Who_Id']={'name':!_[_0x6736('0x1c')](_0x2ed4a1[_0x6736('0x57')])?_0x2ed4a1[_0x6736('0x57')]:!_[_0x6736('0x1c')](_0x2ed4a1[_0x6736('0x58')])?_0x2ed4a1[_0x6736('0x58')]+'\x20'+_0x2ed4a1['Last_Name']:_0x2ed4a1[_0x6736('0x59')],'id':_0x2ed4a1['id']};}if(_0x2ed4a1['enduserType']===_0x6736('0x4f')){_0x40eea1[_0x6736('0x5a')]={'name':!_[_0x6736('0x1c')](_0x2ed4a1[_0x6736('0x57')])?_0x2ed4a1[_0x6736('0x57')]:!_['isNil'](_0x2ed4a1['First_Name'])?_0x2ed4a1[_0x6736('0x58')]+'\x20'+_0x2ed4a1['Last_Name']:_0x2ed4a1[_0x6736('0x59')],'id':_0x2ed4a1['id']};_0x40eea1[_0x6736('0x5b')]=_['startCase'](_0x2ed4a1[_0x6736('0x5c')]);}if(_0x4baaaf[_0x6736('0x5d')]){_0x40eea1['Call_Duration']=moment[_0x6736('0x5e')](parseInt(_0x4baaaf['talktime'])*0x3e8)[_0x6736('0x2e')](_0x6736('0x5f'));}else if(_0x4baaaf[_0x6736('0x60')]&&_0x4baaaf[_0x6736('0x61')]){_0x40eea1['Call_Duration']=moment[_0x6736('0x5e')](moment(_0x4baaaf[_0x6736('0x61')],_0x6736('0x62'))['diff'](moment(_0x4baaaf[_0x6736('0x63')],_0x6736('0x62'))))[_0x6736('0x2e')](_0x6736('0x5f'));}switch(_0x4baaaf['lastevent']){case'called':_0x40eea1['Call_Result']=_0x6736('0x64');break;case _0x6736('0x65'):case _0x6736('0x66'):_0x40eea1[_0x6736('0x67')]=_0x6736('0x68');break;case'rejected':_0x40eea1[_0x6736('0x67')]=_0x6736('0x69');break;case _0x6736('0x6a'):_0x40eea1[_0x6736('0x67')]=_0x6736('0x6b');break;case _0x6736('0x6c'):_0x40eea1['Call_Result']=_0x6736('0x6d');default:}_0x40eea1[_0x6736('0x6e')]=(_0x476712===_0x6736('0x6f')?moment(_0x4baaaf[_0x6736('0x63')])[_0x6736('0x2e')](_0x6736('0x62')):moment(_0x4baaaf[_0x6736('0x70')])[_0x6736('0x2e')](_0x6736('0x62')))||moment()[_0x6736('0x2e')]('YYYY-MM-DDTHH:mm:ss');_0x40eea1[_0x6736('0x71')]=_0x476712||_0x6736('0x72');_0x40eea1=_['merge'](_0x40eea1,getCustomFields(_0x2d9fbc[_0x6736('0x73')],_0x4baaaf));return request({'method':_0x6736('0x3e'),'uri':'https://www.zohoapis.'+_0x45ecb4+_0x6736('0x74'),'headers':{'Authorization':_0x6736('0x31')+_0x57d101},'body':{'data':[_0x40eea1]},'json':!![]})['then'](function(_0x5de876){if(_0x5de876&&_0x5de876[_0x6736('0x3d')][0x0][_0x6736('0x44')]===_0x6736('0x45')){logger[_0x6736('0x2c')](_0x6736('0x75'));return{'id':_0x5de876[_0x6736('0x3d')][0x0][_0x6736('0x46')]['id']};}})[_0x6736('0x2a')](function(_0x2c48fc){logger[_0x6736('0x2c')]('err',_0x2c48fc['stack']);console[_0x6736('0x48')](_0x6736('0x76'),_0x2c48fc);});}exports[_0x6736('0x77')]=function(_0x4bf58f,_0x1eab6e,_0x8d2a8b,_0x9e27d3,_0x3d831d,_0x4e4677){var _0x242504,_0x255af9,_0x50da4f;_0x4e4677[_0x6736('0x78')]=intUtil['stripTrailingSlash'](_0x4e4677[_0x6736('0x78')]);_0x4e4677[_0x6736('0x79')]=intUtil[_0x6736('0x7a')](_0x4e4677[_0x6736('0x79')]);if(_0x3d831d&&_0x3d831d['monitor_format']){logger[_0x6736('0x2c')](_0x6736('0x7b'),'Recording\x20is\x20enabled!');_0x1eab6e[_0x6736('0x7c')]=_0x4e4677[_0x6736('0x79')]+_0x6736('0x7d')+_0x1eab6e[_0x6736('0x7e')]+'/downloads?type=uniqueid&token='+md5(_0x1eab6e[_0x6736('0x7e')]);}else{_0x1eab6e[_0x6736('0x7c')]='';}var _0x213d56=_0x4e4677[_0x6736('0x78')]===_0x6736('0x7f')?'eu':_0x6736('0x80');return getAccessToken(_0x4e4677)['then'](function(_0x4269ca){_0x50da4f=_0x4269ca;return getUser(_0x50da4f,_0x213d56,_0x4e4677,_0x9e27d3[_0x6736('0x81')]);})[_0x6736('0x32')](function(_0x2d784a){_0x242504=_0x2d784a;logger[_0x6736('0x2c')](_0x6736('0x82'),_0x242504['id']);return getEndUser(_0x50da4f,_0x213d56,_0x4e4677,_0x1eab6e['calleridname'],_0x1eab6e['calleridnum'],_0x242504,_0x8d2a8b);})[_0x6736('0x32')](function(_0x27191c){_0x255af9=_0x27191c;return getCall(_0x50da4f,_0x213d56,_0x4e4677,_0x242504,_0x255af9,_0x8d2a8b,_0x1eab6e,_0x6736('0x72'));})[_0x6736('0x32')](function(_0x33d146){if(_0x33d146){logger[_0x6736('0x2c')](_0x6736('0x83'),_0x33d146['id']);logger[_0x6736('0x2c')]('[QUEUE]',_0x6736('0x84'));emit(util[_0x6736('0x2e')]('user:%s',_0x9e27d3[_0x6736('0x18')]),_0x6736('0x85'),{'uri':_0x6736('0x86')+_0x4e4677['host']+'/crm/EntityInfo.do?module=Calls&id='+_0x33d146['id']});}})[_0x6736('0x2a')](function(_0xc07d07){logger['error'](_0x6736('0x7b'),JSON['stringify'](_0xc07d07));});};exports[_0x6736('0x6f')]=function(_0x41b077,_0x4c10a2,_0x5f1dd9,_0x5400ca,_0x2f0e67,_0x270a8e,_0x412d6c){var _0x5ea71a,_0x3d6b5c,_0x596313;_0x270a8e['host']=intUtil['stripTrailingSlash'](_0x270a8e[_0x6736('0x78')]);_0x270a8e['serverUrl']=intUtil['stripTrailingSlash'](_0x270a8e['serverUrl']);if(_0x412d6c&&_0x412d6c[_0x6736('0x87')]&&_0x412d6c[_0x6736('0x87')]!=='none'){logger[_0x6736('0x2c')](_0x6736('0x88'),'Recording\x20is\x20enabled!');_0x4c10a2['recordingURL']=_0x270a8e[_0x6736('0x79')]+'/api/voice/recordings/'+_0x4c10a2[_0x6736('0x7e')]+_0x6736('0x89')+md5(_0x4c10a2[_0x6736('0x7e')]);}var _0xca67d8=_0x270a8e['host']===_0x6736('0x7f')?'eu':'com';return getAccessToken(_0x270a8e)['then'](function(_0x5c1878){_0x596313=_0x5c1878;return getUser(_0x596313,_0xca67d8,_0x270a8e,_0x5400ca['email']);})[_0x6736('0x32')](function(_0x15f907){_0x5ea71a=_0x15f907;logger[_0x6736('0x2c')]('The\x20User\x20ID\x20is:',_0x5ea71a['id']);return getEndUser(_0x596313,_0xca67d8,_0x270a8e,_0x4c10a2['destcalleridname'],_0x4c10a2[_0x6736('0x8a')],_0x5ea71a,_0x5f1dd9);})[_0x6736('0x32')](function(_0x491c07){_0x3d6b5c=_0x491c07;return getCall(_0x596313,_0xca67d8,_0x270a8e,_0x5ea71a,_0x3d6b5c,_0x5f1dd9,_0x4c10a2,_0x6736('0x8b'));})[_0x6736('0x32')](function(_0x24614a){if(_0x24614a){logger['info'](_0x6736('0x83'),_0x24614a['id']);logger['info']('[OUTBOUND]',_0x6736('0x84'));emit(util[_0x6736('0x2e')](_0x6736('0x8c'),_0x5400ca[_0x6736('0x18')]),_0x6736('0x85'),{'uri':_0x6736('0x86')+_0x270a8e[_0x6736('0x78')]+_0x6736('0x8d')+_0x24614a['id']});}})[_0x6736('0x2a')](function(_0x4a5fb6){logger['error']('[OUTBOUND]',JSON[_0x6736('0x3c')](_0x4a5fb6));});};exports['unmanaged']=function(_0xb44941,_0x2082b6,_0x96332b,_0x45ac92,_0x54452c,_0x4ca93a){var _0x3bbb3e,_0x564d0e,_0x278a6f;_0x4ca93a['host']=intUtil[_0x6736('0x7a')](_0x4ca93a[_0x6736('0x78')]);_0x4ca93a[_0x6736('0x79')]=intUtil[_0x6736('0x7a')](_0x4ca93a[_0x6736('0x79')]);if(_0x54452c&&_0x54452c['monitor_format']){logger['info']('['+_0x2082b6['lastevent']['toUpperCase']()+']',_0x6736('0x8e'));_0x2082b6['recordingURL']=_0x4ca93a[_0x6736('0x79')]+_0x6736('0x7d')+_0x2082b6[_0x6736('0x7e')]+'/downloads?type=uniqueid&token='+md5(_0x2082b6[_0x6736('0x7e')]);}else{_0x2082b6[_0x6736('0x7c')]='';}var _0x2a4b19=_0x4ca93a['host']===_0x6736('0x7f')?'eu':'com';return getAccessToken(_0x4ca93a)[_0x6736('0x32')](function(_0x44207c){_0x278a6f=_0x44207c;return getUser(_0x278a6f,_0x2a4b19,_0x4ca93a);})[_0x6736('0x32')](function(_0x21a40f){_0x3bbb3e=_0x21a40f;logger[_0x6736('0x2c')]('The\x20User\x20ID\x20is:',_0x3bbb3e['id']);return getEndUser(_0x278a6f,_0x2a4b19,_0x4ca93a,_0x2082b6[_0x6736('0x8f')],_0x2082b6[_0x6736('0x90')],_0x3bbb3e,_0x96332b);})[_0x6736('0x32')](function(_0x24e6d9){_0x564d0e=_0x24e6d9;return getCall(_0x278a6f,_0x2a4b19,_0x4ca93a,_0x3bbb3e,_0x564d0e,_0x96332b,_0x2082b6,_0x6736('0x72'));})[_0x6736('0x32')](function(_0x4783ba){if(_0x4783ba){logger[_0x6736('0x2c')](_0x6736('0x83'),_0x4783ba['id']);}})[_0x6736('0x2a')](function(_0x391db5){logger[_0x6736('0x2b')]('['+_0x2082b6['lastevent'][_0x6736('0x91')]()+']',JSON[_0x6736('0x3c')](_0x391db5));});}; \ No newline at end of file diff --git a/server/services/ami/trigger/script/index.js b/server/services/ami/trigger/script/index.js index 81178bc..93fad44 100644 --- a/server/services/ami/trigger/script/index.js +++ b/server/services/ami/trigger/script/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x7a54=['mustache','trigger','exec','data2','Script','data3','%s\x20\x27%s\x27\x20failed\x20with\x20code\x20%d\x20and\x20error:\x20%s','info','%s\x20\x27%s\x27\x20succeeded\x20with\x20output:\x20%s','util','shelljs'];(function(_0x5bee43,_0x45c911){var _0x1a743b=function(_0x387785){while(--_0x387785){_0x5bee43['push'](_0x5bee43['shift']());}};_0x1a743b(++_0x45c911);}(_0x7a54,0x106));var _0x47a5=function(_0x1a28c6,_0x25bf6a){_0x1a28c6=_0x1a28c6-0x0;var _0x3cb73b=_0x7a54[_0x1a28c6];return _0x3cb73b;};'use strict';var util=require(_0x47a5('0x0'));var sh=require(_0x47a5('0x1'));var Mustache=require(_0x47a5('0x2'));var logger=require('../../../../config/logger')(_0x47a5('0x3'));exports[_0x47a5('0x4')]=function(_0x4880bf,_0x5f7f12){var _0x11bf85=_0x4880bf[_0x47a5('0x5')]?_0x4880bf[_0x47a5('0x5')]:_0x47a5('0x6');var _0x545a97=_0x4880bf[_0x47a5('0x7')]?Mustache['render'](_0x4880bf[_0x47a5('0x7')],_0x5f7f12):_0x5f7f12;sh[_0x47a5('0x4')](_0x545a97,function(_0x506eda,_0x194fb0,_0x5077f3){if(_0x506eda!==0x0){logger['error'](util['format'](_0x47a5('0x8'),_0x11bf85,_0x545a97,_0x506eda,_0x5077f3));}else{logger[_0x47a5('0x9')](util['format'](_0x47a5('0xa'),_0x11bf85,_0x545a97,_0x194fb0));}});}; \ No newline at end of file +var _0x7a54=['mustache','trigger','exec','data2','Script','data3','%s\x20\x27%s\x27\x20failed\x20with\x20code\x20%d\x20and\x20error:\x20%s','info','%s\x20\x27%s\x27\x20succeeded\x20with\x20output:\x20%s','util','shelljs'];(function(_0x17fbf3,_0x3e74ed){var _0x509e54=function(_0x594c52){while(--_0x594c52){_0x17fbf3['push'](_0x17fbf3['shift']());}};_0x509e54(++_0x3e74ed);}(_0x7a54,0x106));var _0x47a5=function(_0x39a8ea,_0x323cd4){_0x39a8ea=_0x39a8ea-0x0;var _0x3658f7=_0x7a54[_0x39a8ea];return _0x3658f7;};'use strict';var util=require(_0x47a5('0x0'));var sh=require(_0x47a5('0x1'));var Mustache=require(_0x47a5('0x2'));var logger=require('../../../../config/logger')(_0x47a5('0x3'));exports[_0x47a5('0x4')]=function(_0x4880bf,_0x5f7f12){var _0x11bf85=_0x4880bf[_0x47a5('0x5')]?_0x4880bf[_0x47a5('0x5')]:_0x47a5('0x6');var _0x545a97=_0x4880bf[_0x47a5('0x7')]?Mustache['render'](_0x4880bf[_0x47a5('0x7')],_0x5f7f12):_0x5f7f12;sh[_0x47a5('0x4')](_0x545a97,function(_0x506eda,_0x194fb0,_0x5077f3){if(_0x506eda!==0x0){logger['error'](util['format'](_0x47a5('0x8'),_0x11bf85,_0x545a97,_0x506eda,_0x5077f3));}else{logger[_0x47a5('0x9')](util['format'](_0x47a5('0xa'),_0x11bf85,_0x545a97,_0x194fb0));}});}; \ No newline at end of file diff --git a/server/services/ami/trigger/urlforward/index.js b/server/services/ami/trigger/urlforward/index.js index 2897e30..c4007d7 100644 --- a/server/services/ami/trigger/urlforward/index.js +++ b/server/services/ami/trigger/urlforward/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x5f2f=['lodash','mustache','../../../../config/logger','trigger','exec','data1','toUpperCase','render','data2','number','data5','headers','data6','parse','stack','GET','DELETE','POST','PUT','data7','body','error','body\x20has\x20been\x20passed\x20to\x20URLforward\x20in\x20a\x20wrong\x20format','info','format','%s\x20%s\x20sending\x20request\x20with\x20following\x20options:\x20%s','stringify','then','isNil',',\x20request\x20body:\x20','object','%s\x20%s\x20succeeded\x20with\x20status:\x20%d\x20and\x20response:\x20%s','statusCode','catch','%s\x20%s\x20failed\x20with\x20status:\x20%d\x20and\x20error:\x20%s\x20%s','name','message','request-promise','util'];(function(_0x48bc84,_0xe981cb){var _0xb175=function(_0x23e4b7){while(--_0x23e4b7){_0x48bc84['push'](_0x48bc84['shift']());}};_0xb175(++_0xe981cb);}(_0x5f2f,0x73));var _0xf5f2=function(_0x5b75bf,_0x1e5192){_0x5b75bf=_0x5b75bf-0x0;var _0x1c8d51=_0x5f2f[_0x5b75bf];return _0x1c8d51;};'use strict';var rp=require(_0xf5f2('0x0'));var util=require(_0xf5f2('0x1'));var _=require(_0xf5f2('0x2'));var Mustache=require(_0xf5f2('0x3'));var logger=require(_0xf5f2('0x4'))(_0xf5f2('0x5'));exports[_0xf5f2('0x6')]=function(_0x107cf,_0x501fbd){var _0x4854b6,_0x1665c7;var _0x192215={'method':_0x107cf[_0xf5f2('0x7')][_0xf5f2('0x8')](),'uri':Mustache[_0xf5f2('0x9')](_0x107cf[_0xf5f2('0xa')],_0x501fbd),'json':!![],'resolveWithFullResponse':!![],'timeout':typeof parseInt(_0x107cf['data5'])===_0xf5f2('0xb')&&parseInt(_0x107cf[_0xf5f2('0xc')])>=0x1&&parseInt(_0x107cf[_0xf5f2('0xc')])<=0xa?parseInt(_0x107cf['data5'])*0x3e8:0x5*0x3e8};try{_0x192215[_0xf5f2('0xd')]=_0x107cf[_0xf5f2('0xe')]?JSON[_0xf5f2('0xf')](Mustache['render'](_0x107cf[_0xf5f2('0xe')],_0x501fbd)):{};}catch(_0x4ebbbe){logger['error'](_0x4ebbbe[_0xf5f2('0x10')]);}switch(_0x107cf[_0xf5f2('0x7')]['toUpperCase']()){case _0xf5f2('0x11'):case _0xf5f2('0x12'):_0x4854b6=null;_0x192215['qs']=_0x501fbd;break;case _0xf5f2('0x13'):case _0xf5f2('0x14'):if(_0x107cf[_0xf5f2('0x15')]){try{_0x4854b6=JSON[_0xf5f2('0xf')](Mustache['render'](_0x107cf[_0xf5f2('0x15')],_0x501fbd));_0x192215[_0xf5f2('0x16')]=_0x4854b6;}catch(_0x269909){logger[_0xf5f2('0x17')](_0x269909[_0xf5f2('0x10')]);logger['error'](_0xf5f2('0x18'));}}else{_0x4854b6=_0x501fbd;_0x192215[_0xf5f2('0x16')]=_0x4854b6;}break;}logger[_0xf5f2('0x19')](util[_0xf5f2('0x1a')](_0xf5f2('0x1b'),_0x107cf[_0xf5f2('0x7')],_0x107cf[_0xf5f2('0xa')],JSON[_0xf5f2('0x1c')](_0x192215)));rp(_0x192215)[_0xf5f2('0x1d')](function(_0x228ace){_0x4854b6=!_[_0xf5f2('0x1e')](_0x4854b6)?_0xf5f2('0x1f')+_0x4854b6:'';_0x1665c7=typeof _0x228ace[_0xf5f2('0x16')]===_0xf5f2('0x20')?JSON[_0xf5f2('0x1c')](_0x228ace[_0xf5f2('0x16')]):_0x228ace[_0xf5f2('0x16')];logger['info'](util[_0xf5f2('0x1a')](_0xf5f2('0x21'),_0x107cf['data1'],_0x107cf['data2'],_0x228ace[_0xf5f2('0x22')],_0x1665c7));})[_0xf5f2('0x23')](function(_0x4ae323){logger[_0xf5f2('0x17')](util[_0xf5f2('0x1a')](_0xf5f2('0x24'),_0x107cf[_0xf5f2('0x7')],_0x107cf[_0xf5f2('0xa')],_0x4ae323['statusCode'],_0x4ae323[_0xf5f2('0x25')],_0x4ae323[_0xf5f2('0x26')]));});}; \ No newline at end of file +var _0x5f2f=['lodash','mustache','../../../../config/logger','trigger','exec','data1','toUpperCase','render','data2','number','data5','headers','data6','parse','stack','GET','DELETE','POST','PUT','data7','body','error','body\x20has\x20been\x20passed\x20to\x20URLforward\x20in\x20a\x20wrong\x20format','info','format','%s\x20%s\x20sending\x20request\x20with\x20following\x20options:\x20%s','stringify','then','isNil',',\x20request\x20body:\x20','object','%s\x20%s\x20succeeded\x20with\x20status:\x20%d\x20and\x20response:\x20%s','statusCode','catch','%s\x20%s\x20failed\x20with\x20status:\x20%d\x20and\x20error:\x20%s\x20%s','name','message','request-promise','util'];(function(_0x1164bc,_0x5e0445){var _0x13fb28=function(_0x307d66){while(--_0x307d66){_0x1164bc['push'](_0x1164bc['shift']());}};_0x13fb28(++_0x5e0445);}(_0x5f2f,0x73));var _0xf5f2=function(_0x4b0237,_0x2f2e1e){_0x4b0237=_0x4b0237-0x0;var _0x2a9a01=_0x5f2f[_0x4b0237];return _0x2a9a01;};'use strict';var rp=require(_0xf5f2('0x0'));var util=require(_0xf5f2('0x1'));var _=require(_0xf5f2('0x2'));var Mustache=require(_0xf5f2('0x3'));var logger=require(_0xf5f2('0x4'))(_0xf5f2('0x5'));exports[_0xf5f2('0x6')]=function(_0x107cf,_0x501fbd){var _0x4854b6,_0x1665c7;var _0x192215={'method':_0x107cf[_0xf5f2('0x7')][_0xf5f2('0x8')](),'uri':Mustache[_0xf5f2('0x9')](_0x107cf[_0xf5f2('0xa')],_0x501fbd),'json':!![],'resolveWithFullResponse':!![],'timeout':typeof parseInt(_0x107cf['data5'])===_0xf5f2('0xb')&&parseInt(_0x107cf[_0xf5f2('0xc')])>=0x1&&parseInt(_0x107cf[_0xf5f2('0xc')])<=0xa?parseInt(_0x107cf['data5'])*0x3e8:0x5*0x3e8};try{_0x192215[_0xf5f2('0xd')]=_0x107cf[_0xf5f2('0xe')]?JSON[_0xf5f2('0xf')](Mustache['render'](_0x107cf[_0xf5f2('0xe')],_0x501fbd)):{};}catch(_0x4ebbbe){logger['error'](_0x4ebbbe[_0xf5f2('0x10')]);}switch(_0x107cf[_0xf5f2('0x7')]['toUpperCase']()){case _0xf5f2('0x11'):case _0xf5f2('0x12'):_0x4854b6=null;_0x192215['qs']=_0x501fbd;break;case _0xf5f2('0x13'):case _0xf5f2('0x14'):if(_0x107cf[_0xf5f2('0x15')]){try{_0x4854b6=JSON[_0xf5f2('0xf')](Mustache['render'](_0x107cf[_0xf5f2('0x15')],_0x501fbd));_0x192215[_0xf5f2('0x16')]=_0x4854b6;}catch(_0x269909){logger[_0xf5f2('0x17')](_0x269909[_0xf5f2('0x10')]);logger['error'](_0xf5f2('0x18'));}}else{_0x4854b6=_0x501fbd;_0x192215[_0xf5f2('0x16')]=_0x4854b6;}break;}logger[_0xf5f2('0x19')](util[_0xf5f2('0x1a')](_0xf5f2('0x1b'),_0x107cf[_0xf5f2('0x7')],_0x107cf[_0xf5f2('0xa')],JSON[_0xf5f2('0x1c')](_0x192215)));rp(_0x192215)[_0xf5f2('0x1d')](function(_0x228ace){_0x4854b6=!_[_0xf5f2('0x1e')](_0x4854b6)?_0xf5f2('0x1f')+_0x4854b6:'';_0x1665c7=typeof _0x228ace[_0xf5f2('0x16')]===_0xf5f2('0x20')?JSON[_0xf5f2('0x1c')](_0x228ace[_0xf5f2('0x16')]):_0x228ace[_0xf5f2('0x16')];logger['info'](util[_0xf5f2('0x1a')](_0xf5f2('0x21'),_0x107cf['data1'],_0x107cf['data2'],_0x228ace[_0xf5f2('0x22')],_0x1665c7));})[_0xf5f2('0x23')](function(_0x4ae323){logger[_0xf5f2('0x17')](util[_0xf5f2('0x1a')](_0xf5f2('0x24'),_0x107cf[_0xf5f2('0x7')],_0x107cf[_0xf5f2('0xa')],_0x4ae323['statusCode'],_0x4ae323[_0xf5f2('0x25')],_0x4ae323[_0xf5f2('0x26')]));});}; \ No newline at end of file diff --git a/server/services/email/client.js b/server/services/email/client.js index 7047f76..8b66dbb 100644 --- a/server/services/email/client.js +++ b/server/services/email/client.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x4491=['../../config/logger','client','http','Request','request','debug','rpc','routing','error','message','catch','jayson/promise'];(function(_0x13b3b5,_0x52d8d8){var _0x337cd0=function(_0x31fbdf){while(--_0x31fbdf){_0x13b3b5['push'](_0x13b3b5['shift']());}};_0x337cd0(++_0x52d8d8);}(_0x4491,0x1bb));var _0x1449=function(_0x4ae998,_0x3aef37){_0x4ae998=_0x4ae998-0x0;var _0x352704=_0x4491[_0x4ae998];return _0x352704;};'use strict';var jayson=require(_0x1449('0x0'));var BPromise=require('bluebird');var logger=require(_0x1449('0x1'))('routing');var client=jayson[_0x1449('0x2')][_0x1449('0x3')]({'port':0x2329});client[_0x1449('0x4')]=function(_0x2db1a2,_0x1ff47f){return new BPromise(function(_0x1b2870,_0x4e14f1){return client[_0x1449('0x5')](_0x2db1a2,_0x1ff47f)['then'](function(_0x1d45eb){logger[_0x1449('0x6')](_0x1449('0x7'),_0x1449('0x8'),_0x2db1a2,_0x1ff47f,_0x1d45eb);if(_0x1d45eb[_0x1449('0x9')]){logger[_0x1449('0x9')]('rpc',_0x1449('0x8'),_0x2db1a2,_0x1d45eb[_0x1449('0x9')]['message'],_0x1ff47f);return _0x4e14f1(_0x1d45eb[_0x1449('0x9')][_0x1449('0xa')]);}else{return _0x1b2870(_0x1d45eb['result']);}})[_0x1449('0xb')](function(_0x383523){logger['error'](_0x1449('0x7'),'routing',_0x2db1a2,_0x383523,_0x1ff47f);return _0x4e14f1(_0x383523);});});};module['exports']=client; \ No newline at end of file +var _0x1928=['routing','error','message','catch','jayson/promise','bluebird','../../config/logger','client','http','Request','request','then','debug','rpc'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x1928,0x138));var _0x8192=function(_0x312042,_0xa6776e){_0x312042=_0x312042-0x0;var _0x108dce=_0x1928[_0x312042];return _0x108dce;};'use strict';var jayson=require(_0x8192('0x0'));var BPromise=require(_0x8192('0x1'));var logger=require(_0x8192('0x2'))('routing');var client=jayson[_0x8192('0x3')][_0x8192('0x4')]({'port':0x2329});client[_0x8192('0x5')]=function(_0x1a193a,_0x16f410){return new BPromise(function(_0x11fa71,_0x11c753){return client[_0x8192('0x6')](_0x1a193a,_0x16f410)[_0x8192('0x7')](function(_0x25f90e){logger[_0x8192('0x8')](_0x8192('0x9'),_0x8192('0xa'),_0x1a193a,_0x16f410,_0x25f90e);if(_0x25f90e[_0x8192('0xb')]){logger['error'](_0x8192('0x9'),'routing',_0x1a193a,_0x25f90e[_0x8192('0xb')][_0x8192('0xc')],_0x16f410);return _0x11c753(_0x25f90e[_0x8192('0xb')][_0x8192('0xc')]);}else{return _0x11fa71(_0x25f90e['result']);}})[_0x8192('0xd')](function(_0xab012a){logger[_0x8192('0xb')](_0x8192('0x9'),_0x8192('0xa'),_0x1a193a,_0xab012a,_0x16f410);return _0x11c753(_0xab012a);});});};module['exports']=client; \ No newline at end of file diff --git a/server/services/email/index.js b/server/services/email/index.js index 168e1d6..21c75f1 100644 --- a/server/services/email/index.js +++ b/server/services/email/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xd8af=['initMailAccounts','refresh','listen','Setting','findOne','loginMailFrequency','log','bluebird','./server','./realtime','./lib/email','./rpc/mailAccount','resolve','getMailAccounts','then'];(function(_0x24038d,_0x3501e1){var _0x427763=function(_0x155b7a){while(--_0x155b7a){_0x24038d['push'](_0x24038d['shift']());}};_0x427763(++_0x3501e1);}(_0xd8af,0x18d));var _0xfd8a=function(_0x2a1b33,_0x446dbf){_0x2a1b33=_0x2a1b33-0x0;var _0x5e2a28=_0xd8af[_0x2a1b33];return _0x5e2a28;};'use strict';var BPromise=require(_0xfd8a('0x0'));var server=require(_0xfd8a('0x1'));var Realtime=require(_0xfd8a('0x2'));var EmailChannel=require(_0xfd8a('0x3'));var mailAccount=require(_0xfd8a('0x4'));var realtime=new Realtime();var email=new EmailChannel(realtime);var db=require('../../mysqldb')['db'];function initRealtime(){return BPromise[_0xfd8a('0x5')]()['then'](mailAccount[_0xfd8a('0x6')]())[_0xfd8a('0x7')](realtime[_0xfd8a('0x8')]())['then'](function(){email[_0xfd8a('0x9')](realtime['mailAccounts']);return realtime;});}function main(){return server[_0xfd8a('0xa')](realtime,email)[_0xfd8a('0x7')](function(_0x31fdfc){return initRealtime();})[_0xfd8a('0x7')](function(_0x5d2f8d){return db[_0xfd8a('0xb')][_0xfd8a('0xc')]({'attributes':['id',_0xfd8a('0xd')],'raw':!![]});})[_0xfd8a('0x7')](function(_0x203e62){return setInterval(initRealtime,_0x203e62[_0xfd8a('0xd')]*0x3e8);})['catch'](function(_0x57a1a4){console[_0xfd8a('0xe')](_0x57a1a4);});}main(); \ No newline at end of file +var _0xea81=['loginMailFrequency','catch','log','bluebird','./server','./realtime','./lib/email','resolve','then','getMailAccounts','initMailAccounts','listen','Setting','findOne'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0xea81,0x1ed));var _0x1ea8=function(_0x49bb91,_0x86ecf3){_0x49bb91=_0x49bb91-0x0;var _0x2b4339=_0xea81[_0x49bb91];return _0x2b4339;};'use strict';var BPromise=require(_0x1ea8('0x0'));var server=require(_0x1ea8('0x1'));var Realtime=require(_0x1ea8('0x2'));var EmailChannel=require(_0x1ea8('0x3'));var mailAccount=require('./rpc/mailAccount');var realtime=new Realtime();var email=new EmailChannel(realtime);var db=require('../../mysqldb')['db'];function initRealtime(){return BPromise[_0x1ea8('0x4')]()[_0x1ea8('0x5')](mailAccount[_0x1ea8('0x6')]())[_0x1ea8('0x5')](realtime[_0x1ea8('0x7')]())['then'](function(){email['refresh'](realtime['mailAccounts']);return realtime;});}function main(){return server[_0x1ea8('0x8')](realtime,email)[_0x1ea8('0x5')](function(_0x43404b){return initRealtime();})[_0x1ea8('0x5')](function(_0x4ec13b){return db[_0x1ea8('0x9')][_0x1ea8('0xa')]({'attributes':['id',_0x1ea8('0xb')],'raw':!![]});})[_0x1ea8('0x5')](function(_0x495092){return setInterval(initRealtime,_0x495092['loginMailFrequency']*0x3e8);})[_0x1ea8('0xc')](function(_0x5bd5dc){console[_0x1ea8('0xd')](_0x5bd5dc);});}main(); \ No newline at end of file diff --git a/server/services/email/lib/email.js b/server/services/email/lib/email.js index 88ae4da..d484885 100644 --- a/server/services/email/lib/email.js +++ b/server/services/email/lib/email.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x17b4=['sendMail','smtp','send','verifySmtp','Smtp','lastSync','then','verified','verify','lodash','moment','md5','ioredis','../../../config/logger','redis','defaults','localhost','./imap','./smtp','../rpc/mailAccount','info','start\x20email\x20channel','mailAccounts','imapAccounts','prototype','emit','name','Imap','messageStatus','total','isNil','stringify','refresh','hasOwnProperty','active','email','box','handleImapBox','bind','end','error','handleImapError','status','connected','messages','handleImapEmail','New\x20email\x20from\x20%s\x20%s\x20%s\x20to\x20%s','firstName','lastName','from','Mail\x20accepted\x20from\x20routing','catch','Mail\x20not\x20accepted\x20from\x20routing\x20%s','handleImapEnd'];(function(_0x2aee20,_0x18fa97){var _0x1a8117=function(_0x5a15b6){while(--_0x5a15b6){_0x2aee20['push'](_0x2aee20['shift']());}};_0x1a8117(++_0x18fa97);}(_0x17b4,0xab));var _0x417b=function(_0x23e7c1,_0x35110c){_0x23e7c1=_0x23e7c1-0x0;var _0x1add43=_0x17b4[_0x23e7c1];return _0x1add43;};'use strict';var _=require(_0x417b('0x0'));var moment=require(_0x417b('0x1'));var BPromise=require('bluebird');var md5=require(_0x417b('0x2'));var Redis=require(_0x417b('0x3'));var config=require('../../../config/environment');var logger=require(_0x417b('0x4'))('email');config[_0x417b('0x5')]=_[_0x417b('0x6')](config['redis'],{'host':_0x417b('0x7'),'port':0x18eb});var io=require('socket.io-emitter')(new Redis(config['redis']));var EmailImap=require(_0x417b('0x8'));var EmailSmtp=require(_0x417b('0x9'));var mailAccount=require(_0x417b('0xa'));var md5Accounts={};function EmailChannel(_0x3eb382){logger[_0x417b('0xb')](_0x417b('0xc'));this[_0x417b('0xd')]=_0x3eb382[_0x417b('0xd')];this[_0x417b('0xe')]={};this['smtp']=new EmailSmtp();}EmailChannel[_0x417b('0xf')][_0x417b('0x10')]=function(_0x483db4){var _0x80b4fd=this[_0x417b('0xd')][_0x483db4];var _0x141fca={'id':_0x80b4fd['id'],'name':_0x80b4fd[_0x417b('0x11')],'key':_0x80b4fd['key'],'active':_0x80b4fd['active'],'Imap':{'status':_0x80b4fd[_0x417b('0x12')]['status'],'messageStatus':_0x80b4fd[_0x417b('0x12')][_0x417b('0x13')],'total':_0x80b4fd[_0x417b('0x12')][_0x417b('0x14')]}};if(_[_0x417b('0x15')](md5Accounts[_0x483db4])){md5Accounts[_0x483db4]={};}var _0x55f82a=md5(JSON[_0x417b('0x16')](_0x141fca));if(md5Accounts[_0x483db4][_0x417b('0x2')]!==_0x55f82a){md5Accounts[_0x483db4][_0x417b('0x2')]=_0x55f82a;io[_0x417b('0x10')]('mailAccount:update',_0x141fca);}};EmailChannel[_0x417b('0xf')][_0x417b('0x17')]=function(_0x36d3ed){for(var _0x1bc647 in _0x36d3ed){if(_0x36d3ed[_0x417b('0x18')](_0x1bc647)){if(_0x36d3ed[_0x1bc647][_0x417b('0x12')]&&_0x36d3ed[_0x1bc647][_0x417b('0x19')]){var _0x35fffd=_0x36d3ed[_0x1bc647]['Imap'];if(!this[_0x417b('0xe')][_0x417b('0x18')](_0x35fffd['id'])){this[_0x417b('0xe')][_0x35fffd['id']]=new EmailImap(_0x35fffd,_0x36d3ed[_0x1bc647][_0x417b('0x1a')]);this[_0x417b('0xe')][_0x35fffd['id']]['on'](_0x417b('0x1b'),this[_0x417b('0x1c')][_0x417b('0x1d')](this,_0x1bc647));this[_0x417b('0xe')][_0x35fffd['id']]['on'](_0x417b('0x1a'),this['handleImapEmail']['bind'](this,_0x1bc647));this[_0x417b('0xe')][_0x35fffd['id']]['on'](_0x417b('0x1e'),this['handleImapEnd'][_0x417b('0x1d')](this,_0x1bc647));this[_0x417b('0xe')][_0x35fffd['id']]['on'](_0x417b('0x1f'),this[_0x417b('0x20')][_0x417b('0x1d')](this,_0x1bc647));}}else{if(_[_0x417b('0x15')](this[_0x417b('0xd')][_0x1bc647][_0x417b('0x12')])){this[_0x417b('0xd')][_0x1bc647][_0x417b('0x12')]={};}this[_0x417b('0xd')][_0x1bc647][_0x417b('0x12')][_0x417b('0x21')]='disabled';this[_0x417b('0xd')][_0x1bc647][_0x417b('0x12')]['messageStatus']='';this['emit'](_0x1bc647);}}}};EmailChannel[_0x417b('0xf')][_0x417b('0x1c')]=function(_0x27c3f8,_0x228e98){if(this[_0x417b('0xd')][_0x27c3f8]){this[_0x417b('0xd')][_0x27c3f8][_0x417b('0x12')][_0x417b('0x21')]=_0x417b('0x22');this[_0x417b('0xd')][_0x27c3f8]['Imap']['messageStatus']=_0x228e98[_0x417b('0x11')];if(_0x228e98[_0x417b('0x23')]){this['mailAccounts'][_0x27c3f8][_0x417b('0x12')][_0x417b('0x14')]=_0x228e98['messages'][_0x417b('0x14')];}return this[_0x417b('0x10')](_0x27c3f8);}};EmailChannel[_0x417b('0xf')][_0x417b('0x24')]=function(_0x5925de,_0x3abac2){logger[_0x417b('0xb')](_0x417b('0x25'),_0x3abac2[_0x417b('0x26')],_0x3abac2[_0x417b('0x27')],_0x3abac2[_0x417b('0x28')],_0x5925de);if(this[_0x417b('0xd')][_0x5925de]){return mailAccount['notify'](_0x5925de,_0x3abac2)['then'](function(_0x598ef5){if(_0x598ef5){logger[_0x417b('0xb')](_0x417b('0x29'));}})[_0x417b('0x2a')](function(_0x3bd53a){logger[_0x417b('0x1f')](_0x417b('0x2b'),JSON[_0x417b('0x16')](_0x3bd53a));});}};EmailChannel[_0x417b('0xf')][_0x417b('0x2c')]=function(_0x2c7b4e){if(this[_0x417b('0xd')][_0x2c7b4e]&&this[_0x417b('0xd')][_0x2c7b4e]['Imap']){if(this[_0x417b('0xe')][this[_0x417b('0xd')][_0x2c7b4e]['Imap']['id']]){delete this['imapAccounts'][this[_0x417b('0xd')][_0x2c7b4e][_0x417b('0x12')]['id']];}this[_0x417b('0xd')][_0x2c7b4e]['Imap']['lastSync']=moment();this[_0x417b('0x10')](_0x2c7b4e);}};EmailChannel[_0x417b('0xf')][_0x417b('0x20')]=function(_0x4e366c,_0x3b511e){if(this[_0x417b('0xd')][_0x4e366c]){this[_0x417b('0xd')][_0x4e366c][_0x417b('0x12')]['status']='error';this[_0x417b('0xd')][_0x4e366c][_0x417b('0x12')][_0x417b('0x13')]=_0x3b511e;return this[_0x417b('0x10')](_0x4e366c);}};EmailChannel['prototype'][_0x417b('0x2d')]=function(_0x5b2d3f,_0x5daa7c){return this[_0x417b('0x2e')][_0x417b('0x2f')](_0x5b2d3f,_0x5daa7c);};EmailChannel[_0x417b('0xf')][_0x417b('0x30')]=function(_0x634e1f){var _0x5b5bc1=this;if(this[_0x417b('0xd')][_0x634e1f['id']]){if(_[_0x417b('0x15')](this[_0x417b('0xd')][_0x634e1f['id']][_0x417b('0x31')])){this[_0x417b('0xd')][_0x634e1f['id']][_0x417b('0x31')]={};}this[_0x417b('0xd')][_0x634e1f['id']][_0x417b('0x31')][_0x417b('0x32')]=moment();return new BPromise(function(_0x2e5974,_0x542227){return _0x5b5bc1[_0x417b('0x2e')]['verify'](_0x634e1f)[_0x417b('0x33')](function(_0x3fd5d1){_0x5b5bc1[_0x417b('0xd')][_0x634e1f['id']]['Smtp'][_0x417b('0x21')]=_0x417b('0x34');_0x5b5bc1[_0x417b('0xd')][_0x634e1f['id']][_0x417b('0x31')]['messageStatus']='';_0x5b5bc1['emit'](_0x634e1f['id']);_0x2e5974(_0x3fd5d1);})[_0x417b('0x2a')](function(_0x232591){_0x5b5bc1[_0x417b('0xd')][_0x634e1f['id']][_0x417b('0x31')][_0x417b('0x21')]=_0x417b('0x1f');_0x5b5bc1['mailAccounts'][_0x634e1f['id']][_0x417b('0x31')][_0x417b('0x13')]=_0x232591;_0x5b5bc1[_0x417b('0x10')](_0x634e1f['id']);_0x542227(_0x232591);});});}return this[_0x417b('0x2e')][_0x417b('0x35')](_0x634e1f);};module['exports']=EmailChannel; \ No newline at end of file +var _0x3fb9=['localhost','socket.io-emitter','./imap','./smtp','../rpc/mailAccount','mailAccounts','prototype','Imap','status','isNil','mailAccount:update','hasOwnProperty','active','imapAccounts','box','bind','end','error','handleImapError','disabled','messageStatus','emit','handleImapBox','connected','name','messages','total','handleImapEmail','info','firstName','lastName','notify','then','Mail\x20accepted\x20from\x20routing','Mail\x20not\x20accepted\x20from\x20routing\x20%s','stringify','handleImapEnd','lastSync','sendMail','smtp','send','verifySmtp','Smtp','verify','verified','catch','exports','moment','bluebird','md5','ioredis','../../../config/logger','email','redis','defaults'];(function(_0x19b895,_0x2d4395){var _0x346671=function(_0x2d6cca){while(--_0x2d6cca){_0x19b895['push'](_0x19b895['shift']());}};_0x346671(++_0x2d4395);}(_0x3fb9,0x9d));var _0x93fb=function(_0x4727ce,_0x349912){_0x4727ce=_0x4727ce-0x0;var _0x1e97b7=_0x3fb9[_0x4727ce];return _0x1e97b7;};'use strict';var _=require('lodash');var moment=require(_0x93fb('0x0'));var BPromise=require(_0x93fb('0x1'));var md5=require(_0x93fb('0x2'));var Redis=require(_0x93fb('0x3'));var config=require('../../../config/environment');var logger=require(_0x93fb('0x4'))(_0x93fb('0x5'));config[_0x93fb('0x6')]=_[_0x93fb('0x7')](config[_0x93fb('0x6')],{'host':_0x93fb('0x8'),'port':0x18eb});var io=require(_0x93fb('0x9'))(new Redis(config[_0x93fb('0x6')]));var EmailImap=require(_0x93fb('0xa'));var EmailSmtp=require(_0x93fb('0xb'));var mailAccount=require(_0x93fb('0xc'));var md5Accounts={};function EmailChannel(_0x142b64){logger['info']('start\x20email\x20channel');this[_0x93fb('0xd')]=_0x142b64[_0x93fb('0xd')];this['imapAccounts']={};this['smtp']=new EmailSmtp();}EmailChannel[_0x93fb('0xe')]['emit']=function(_0x2b4431){var _0x322c84=this[_0x93fb('0xd')][_0x2b4431];var _0x347100={'id':_0x322c84['id'],'name':_0x322c84['name'],'key':_0x322c84['key'],'active':_0x322c84['active'],'Imap':{'status':_0x322c84[_0x93fb('0xf')][_0x93fb('0x10')],'messageStatus':_0x322c84['Imap']['messageStatus'],'total':_0x322c84[_0x93fb('0xf')]['total']}};if(_[_0x93fb('0x11')](md5Accounts[_0x2b4431])){md5Accounts[_0x2b4431]={};}var _0x15cb57=md5(JSON['stringify'](_0x347100));if(md5Accounts[_0x2b4431][_0x93fb('0x2')]!==_0x15cb57){md5Accounts[_0x2b4431][_0x93fb('0x2')]=_0x15cb57;io['emit'](_0x93fb('0x12'),_0x347100);}};EmailChannel['prototype']['refresh']=function(_0x5d16f1){for(var _0x4e538d in _0x5d16f1){if(_0x5d16f1[_0x93fb('0x13')](_0x4e538d)){if(_0x5d16f1[_0x4e538d]['Imap']&&_0x5d16f1[_0x4e538d][_0x93fb('0x14')]){var _0x2e614d=_0x5d16f1[_0x4e538d][_0x93fb('0xf')];if(!this[_0x93fb('0x15')][_0x93fb('0x13')](_0x2e614d['id'])){this[_0x93fb('0x15')][_0x2e614d['id']]=new EmailImap(_0x2e614d,_0x5d16f1[_0x4e538d]['email']);this['imapAccounts'][_0x2e614d['id']]['on'](_0x93fb('0x16'),this['handleImapBox'][_0x93fb('0x17')](this,_0x4e538d));this[_0x93fb('0x15')][_0x2e614d['id']]['on'](_0x93fb('0x5'),this['handleImapEmail'][_0x93fb('0x17')](this,_0x4e538d));this['imapAccounts'][_0x2e614d['id']]['on'](_0x93fb('0x18'),this['handleImapEnd'][_0x93fb('0x17')](this,_0x4e538d));this[_0x93fb('0x15')][_0x2e614d['id']]['on'](_0x93fb('0x19'),this[_0x93fb('0x1a')][_0x93fb('0x17')](this,_0x4e538d));}}else{if(_[_0x93fb('0x11')](this[_0x93fb('0xd')][_0x4e538d][_0x93fb('0xf')])){this[_0x93fb('0xd')][_0x4e538d][_0x93fb('0xf')]={};}this[_0x93fb('0xd')][_0x4e538d]['Imap']['status']=_0x93fb('0x1b');this[_0x93fb('0xd')][_0x4e538d][_0x93fb('0xf')][_0x93fb('0x1c')]='';this[_0x93fb('0x1d')](_0x4e538d);}}}};EmailChannel[_0x93fb('0xe')][_0x93fb('0x1e')]=function(_0x5ecd6a,_0x2a09b5){if(this[_0x93fb('0xd')][_0x5ecd6a]){this[_0x93fb('0xd')][_0x5ecd6a]['Imap']['status']=_0x93fb('0x1f');this[_0x93fb('0xd')][_0x5ecd6a][_0x93fb('0xf')][_0x93fb('0x1c')]=_0x2a09b5[_0x93fb('0x20')];if(_0x2a09b5[_0x93fb('0x21')]){this[_0x93fb('0xd')][_0x5ecd6a][_0x93fb('0xf')][_0x93fb('0x22')]=_0x2a09b5['messages']['total'];}return this['emit'](_0x5ecd6a);}};EmailChannel['prototype'][_0x93fb('0x23')]=function(_0x41f50d,_0x3f674d){logger[_0x93fb('0x24')]('New\x20email\x20from\x20%s\x20%s\x20%s\x20to\x20%s',_0x3f674d[_0x93fb('0x25')],_0x3f674d[_0x93fb('0x26')],_0x3f674d['from'],_0x41f50d);if(this[_0x93fb('0xd')][_0x41f50d]){return mailAccount[_0x93fb('0x27')](_0x41f50d,_0x3f674d)[_0x93fb('0x28')](function(_0x1a7882){if(_0x1a7882){logger[_0x93fb('0x24')](_0x93fb('0x29'));}})['catch'](function(_0x31c2e9){logger[_0x93fb('0x19')](_0x93fb('0x2a'),JSON[_0x93fb('0x2b')](_0x31c2e9));});}};EmailChannel[_0x93fb('0xe')][_0x93fb('0x2c')]=function(_0x2558ed){if(this[_0x93fb('0xd')][_0x2558ed]&&this[_0x93fb('0xd')][_0x2558ed]['Imap']){if(this[_0x93fb('0x15')][this[_0x93fb('0xd')][_0x2558ed][_0x93fb('0xf')]['id']]){delete this[_0x93fb('0x15')][this[_0x93fb('0xd')][_0x2558ed][_0x93fb('0xf')]['id']];}this[_0x93fb('0xd')][_0x2558ed]['Imap'][_0x93fb('0x2d')]=moment();this['emit'](_0x2558ed);}};EmailChannel['prototype'][_0x93fb('0x1a')]=function(_0x34f6da,_0x38abdc){if(this[_0x93fb('0xd')][_0x34f6da]){this[_0x93fb('0xd')][_0x34f6da]['Imap'][_0x93fb('0x10')]='error';this[_0x93fb('0xd')][_0x34f6da][_0x93fb('0xf')]['messageStatus']=_0x38abdc;return this['emit'](_0x34f6da);}};EmailChannel['prototype'][_0x93fb('0x2e')]=function(_0x3ec807,_0x8d2a5){return this[_0x93fb('0x2f')][_0x93fb('0x30')](_0x3ec807,_0x8d2a5);};EmailChannel['prototype'][_0x93fb('0x31')]=function(_0x14c9b8){var _0x6820c1=this;if(this['mailAccounts'][_0x14c9b8['id']]){if(_['isNil'](this[_0x93fb('0xd')][_0x14c9b8['id']][_0x93fb('0x32')])){this[_0x93fb('0xd')][_0x14c9b8['id']][_0x93fb('0x32')]={};}this[_0x93fb('0xd')][_0x14c9b8['id']]['Smtp'][_0x93fb('0x2d')]=moment();return new BPromise(function(_0x37151e,_0x530d65){return _0x6820c1[_0x93fb('0x2f')][_0x93fb('0x33')](_0x14c9b8)[_0x93fb('0x28')](function(_0x6829f8){_0x6820c1[_0x93fb('0xd')][_0x14c9b8['id']][_0x93fb('0x32')][_0x93fb('0x10')]=_0x93fb('0x34');_0x6820c1['mailAccounts'][_0x14c9b8['id']]['Smtp'][_0x93fb('0x1c')]='';_0x6820c1[_0x93fb('0x1d')](_0x14c9b8['id']);_0x37151e(_0x6829f8);})[_0x93fb('0x35')](function(_0x1c37d6){_0x6820c1['mailAccounts'][_0x14c9b8['id']][_0x93fb('0x32')][_0x93fb('0x10')]=_0x93fb('0x19');_0x6820c1[_0x93fb('0xd')][_0x14c9b8['id']][_0x93fb('0x32')]['messageStatus']=_0x1c37d6;_0x6820c1[_0x93fb('0x1d')](_0x14c9b8['id']);_0x530d65(_0x1c37d6);});});}return this[_0x93fb('0x2f')][_0x93fb('0x33')](_0x14c9b8);};module[_0x93fb('0x36')]=EmailChannel; \ No newline at end of file diff --git a/server/services/email/lib/imap.js b/server/services/email/lib/imap.js index 9c67e02..f21a2fd 100644 --- a/server/services/email/lib/imap.js +++ b/server/services/email/lib/imap.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xbcff=['path','imap','lodash','randomstring','mailparser','simpleParser','iconv','events','EventEmitter','./utils','../../../config/logger','email','mailbox','INBOX','account','ready','handleReady','bind','once','end','error','handleError','connect','inherits','prototype','getAccount','connTimeout','authTimeout','isNil','service','user','password','host','port','tls','autotls','required','getHost','anonymous@xcally.com','openBox','handleOpenBox','emit','box','readUnseen','handleCloseBox','search','UNSEEN','handleReadUnseen','length','fetch','message','handleFetchMessage','handleFetchError','handleFetchEnd','closeBox','body','handleMessageBody','attributes','handleMessageAttributes','handleSimpleParser','handleMessageEnd','parser','handleEnd','textCode','hasOwnProperty','upperFirst'];(function(_0xf73ef,_0x1eb0ad){var _0x18ec81=function(_0x3b0f13){while(--_0x3b0f13){_0xf73ef['push'](_0xf73ef['shift']());}};_0x18ec81(++_0x1eb0ad);}(_0xbcff,0x108));var _0xfbcf=function(_0x42e3b3,_0x4ba504){_0x42e3b3=_0x42e3b3-0x0;var _0x670f6d=_0xbcff[_0x42e3b3];return _0x670f6d;};'use strict';var fs=require('fs');var path=require(_0xfbcf('0x0'));var util=require('util');var Imap=require(_0xfbcf('0x1'));var _=require(_0xfbcf('0x2'));var rs=require(_0xfbcf('0x3'));var simpleParser=require(_0xfbcf('0x4'))[_0xfbcf('0x5')];var Iconv=require(_0xfbcf('0x6'))['Iconv'];var EventEmitter=require(_0xfbcf('0x7'))[_0xfbcf('0x8')];var utils=require(_0xfbcf('0x9'));var logger=require(_0xfbcf('0xa'))(_0xfbcf('0xb'));function EmailImap(_0x57d1de,_0x2a6e1a){this[_0xfbcf('0xc')]=_0xfbcf('0xd');this[_0xfbcf('0xe')]=this['getAccount'](_0x57d1de,_0x2a6e1a);this[_0xfbcf('0x1')]=new Imap(this[_0xfbcf('0xe')]);this['imap']['once'](_0xfbcf('0xf'),this[_0xfbcf('0x10')][_0xfbcf('0x11')](this));this[_0xfbcf('0x1')][_0xfbcf('0x12')](_0xfbcf('0x13'),this['handleEnd'][_0xfbcf('0x11')](this));this[_0xfbcf('0x1')]['on'](_0xfbcf('0x14'),this[_0xfbcf('0x15')][_0xfbcf('0x11')](this));this[_0xfbcf('0x1')][_0xfbcf('0x16')]();}util[_0xfbcf('0x17')](EmailImap,EventEmitter);EmailImap[_0xfbcf('0x18')][_0xfbcf('0x19')]=function(_0x3d21db,_0x1c84cd){var _0x2588c4={'connTimeout':_0x3d21db[_0xfbcf('0x1a')]?_0x3d21db[_0xfbcf('0x1a')]*0x3e8:0x2710,'authTimeout':_0x3d21db[_0xfbcf('0x1b')]?_0x3d21db[_0xfbcf('0x1b')]*0x3e8:0x1388};if(_[_0xfbcf('0x1c')](_0x3d21db[_0xfbcf('0x1d')])){if(_0x3d21db['authentication']){_0x2588c4[_0xfbcf('0x1e')]=_0x3d21db[_0xfbcf('0x1e')];_0x2588c4[_0xfbcf('0x1f')]=_0x3d21db['password'];}_0x2588c4['host']=_0x3d21db[_0xfbcf('0x20')];_0x2588c4[_0xfbcf('0x21')]=_0x3d21db[_0xfbcf('0x21')]||0x3e1;if(_0x3d21db[_0xfbcf('0x22')]){_0x2588c4[_0xfbcf('0x22')]=!![];}else{_0x2588c4['tls']=![];_0x2588c4[_0xfbcf('0x23')]=_0xfbcf('0x24');}}else{_0x2588c4[_0xfbcf('0x1e')]=_0x3d21db[_0xfbcf('0x1e')];_0x2588c4[_0xfbcf('0x1f')]=_0x3d21db[_0xfbcf('0x1f')];_0x2588c4['host']=utils[_0xfbcf('0x25')](_0x3d21db['service']);_0x2588c4['port']=0x3e1;_0x2588c4[_0xfbcf('0x22')]=!![];}_0x2588c4['email']=_0x1c84cd||_0x3d21db['user']||_0xfbcf('0x26');return _0x2588c4;};EmailImap['prototype']['handleReady']=function(){this[_0xfbcf('0x1')][_0xfbcf('0x27')](this[_0xfbcf('0xc')],![],this[_0xfbcf('0x28')]['bind'](this));};EmailImap['prototype'][_0xfbcf('0x28')]=function(_0xdb31b9,_0x1c49b3){if(_0xdb31b9){this[_0xfbcf('0x15')](_0xdb31b9,!![]);}else{this[_0xfbcf('0x29')](_0xfbcf('0x2a'),_0x1c49b3);this[_0xfbcf('0x2b')]();}};EmailImap['prototype'][_0xfbcf('0x2c')]=function(_0x58729f){if(_0x58729f){this[_0xfbcf('0x15')](_0x58729f,!![]);}else{this[_0xfbcf('0x1')][_0xfbcf('0x13')]();}};EmailImap[_0xfbcf('0x18')]['readUnseen']=function(){this[_0xfbcf('0x1')][_0xfbcf('0x2d')]([_0xfbcf('0x2e')],this[_0xfbcf('0x2f')][_0xfbcf('0x11')](this));};EmailImap[_0xfbcf('0x18')][_0xfbcf('0x2f')]=function(_0x3ea443,_0x410a20){if(_0x3ea443){this['handleError'](_0x3ea443,!![]);}else{if(_0x410a20[_0xfbcf('0x30')]){try{var _0x174a53=this[_0xfbcf('0x1')][_0xfbcf('0x31')](_0x410a20,{'bodies':'','markSeen':!![]});_0x174a53['on'](_0xfbcf('0x32'),this[_0xfbcf('0x33')][_0xfbcf('0x11')](this));_0x174a53[_0xfbcf('0x12')]('error',this[_0xfbcf('0x34')][_0xfbcf('0x11')](this));_0x174a53['once']('end',this[_0xfbcf('0x35')][_0xfbcf('0x11')](this));}catch(_0x6e4560){logger[_0xfbcf('0x14')](_0x6e4560);}}else{this[_0xfbcf('0x1')][_0xfbcf('0x36')](!![],this[_0xfbcf('0x2c')][_0xfbcf('0x11')](this));}}};EmailImap['prototype'][_0xfbcf('0x33')]=function(_0x2cdc27,_0xd9cb18){_0x2cdc27['on'](_0xfbcf('0x37'),this[_0xfbcf('0x38')][_0xfbcf('0x11')](this));_0x2cdc27['once'](_0xfbcf('0x39'),this[_0xfbcf('0x3a')]['bind'](this));_0x2cdc27['once'](_0xfbcf('0x13'),this['handleMessageEnd']['bind'](this));};EmailImap[_0xfbcf('0x18')][_0xfbcf('0x38')]=function(_0x161f4c,_0x5e7cdb){simpleParser(_0x161f4c,{'Iconv':Iconv},this[_0xfbcf('0x3b')][_0xfbcf('0x11')](this));};EmailImap[_0xfbcf('0x18')][_0xfbcf('0x3a')]=function(_0x10d349){};EmailImap[_0xfbcf('0x18')][_0xfbcf('0x3c')]=function(){};EmailImap[_0xfbcf('0x18')][_0xfbcf('0x3b')]=function(_0x4b69f4,_0x229449){if(_0x4b69f4){logger[_0xfbcf('0x14')](_0x4b69f4);}else{var _0x4ef15b=this;utils[_0xfbcf('0x3d')](this[_0xfbcf('0xe')],_0x229449,function(_0x491974){_0x4ef15b[_0xfbcf('0x29')](_0xfbcf('0xb'),_0x491974);});}};EmailImap[_0xfbcf('0x18')][_0xfbcf('0x35')]=function(){this[_0xfbcf('0x1')][_0xfbcf('0x36')](!![],this[_0xfbcf('0x2c')][_0xfbcf('0x11')](this));};EmailImap['prototype'][_0xfbcf('0x34')]=function(_0x402be0){this[_0xfbcf('0x15')](_0x402be0);this[_0xfbcf('0x1')]['closeBox'](!![],this[_0xfbcf('0x2c')][_0xfbcf('0x11')](this));};EmailImap[_0xfbcf('0x18')][_0xfbcf('0x3e')]=function(){this[_0xfbcf('0x29')](_0xfbcf('0x13'));};EmailImap[_0xfbcf('0x18')][_0xfbcf('0x15')]=function(_0x379dc7,_0x3c633c){logger[_0xfbcf('0x14')]('handleError',this['account'][_0xfbcf('0xb')],JSON['stringify'](_0x379dc7));var _0x4611b7='';if(_0x379dc7){if(_0x379dc7[_0xfbcf('0x3f')]){_0x4611b7=_0x379dc7[_0xfbcf('0x3f')];}else{for(var _0x105d88 in _0x379dc7){if(_0x379dc7[_0xfbcf('0x40')](_0x105d88)){_0x4611b7+=_[_0xfbcf('0x41')](_0x105d88)+':\x20'+_0x379dc7[_0x105d88]+'\x0a';}}}}if(_0x3c633c){this[_0xfbcf('0x1')][_0xfbcf('0x13')]();}else{this[_0xfbcf('0x29')]('error',_0x4611b7);this[_0xfbcf('0x29')](_0xfbcf('0x13'));}};module['exports']=EmailImap; \ No newline at end of file +var _0xf915=['handleCloseBox','readUnseen','search','UNSEEN','handleReadUnseen','length','fetch','message','handleFetchMessage','once','error','handleFetchError','end','handleFetchEnd','closeBox','handleMessageBody','attributes','handleMessageEnd','handleMessageAttributes','handleSimpleParser','stringify','textCode','hasOwnProperty','exports','mailparser','simpleParser','events','EventEmitter','email','INBOX','imap','account','handleReady','handleEnd','bind','handleError','inherits','prototype','connTimeout','authTimeout','isNil','service','authentication','password','host','port','tls','autotls','required','user','getHost','anonymous@xcally.com','handleOpenBox','emit','box'];(function(_0x1b4dbf,_0x2f979d){var _0x410f93=function(_0x237814){while(--_0x237814){_0x1b4dbf['push'](_0x1b4dbf['shift']());}};_0x410f93(++_0x2f979d);}(_0xf915,0xf4));var _0x5f91=function(_0x46e363,_0x45d7e2){_0x46e363=_0x46e363-0x0;var _0x3fb059=_0xf915[_0x46e363];return _0x3fb059;};'use strict';var fs=require('fs');var path=require('path');var util=require('util');var Imap=require('imap');var _=require('lodash');var rs=require('randomstring');var simpleParser=require(_0x5f91('0x0'))[_0x5f91('0x1')];var Iconv=require('iconv')['Iconv'];var EventEmitter=require(_0x5f91('0x2'))[_0x5f91('0x3')];var utils=require('./utils');var logger=require('../../../config/logger')(_0x5f91('0x4'));function EmailImap(_0x35b068,_0x45c3a0){this['mailbox']=_0x5f91('0x5');this['account']=this['getAccount'](_0x35b068,_0x45c3a0);this[_0x5f91('0x6')]=new Imap(this[_0x5f91('0x7')]);this[_0x5f91('0x6')]['once']('ready',this[_0x5f91('0x8')]['bind'](this));this['imap']['once']('end',this[_0x5f91('0x9')][_0x5f91('0xa')](this));this[_0x5f91('0x6')]['on']('error',this[_0x5f91('0xb')][_0x5f91('0xa')](this));this['imap']['connect']();}util[_0x5f91('0xc')](EmailImap,EventEmitter);EmailImap[_0x5f91('0xd')]['getAccount']=function(_0x2a520a,_0x52392c){var _0x270cd4={'connTimeout':_0x2a520a[_0x5f91('0xe')]?_0x2a520a[_0x5f91('0xe')]*0x3e8:0x2710,'authTimeout':_0x2a520a[_0x5f91('0xf')]?_0x2a520a[_0x5f91('0xf')]*0x3e8:0x1388};if(_[_0x5f91('0x10')](_0x2a520a[_0x5f91('0x11')])){if(_0x2a520a[_0x5f91('0x12')]){_0x270cd4['user']=_0x2a520a['user'];_0x270cd4[_0x5f91('0x13')]=_0x2a520a[_0x5f91('0x13')];}_0x270cd4[_0x5f91('0x14')]=_0x2a520a[_0x5f91('0x14')];_0x270cd4[_0x5f91('0x15')]=_0x2a520a[_0x5f91('0x15')]||0x3e1;if(_0x2a520a['tls']){_0x270cd4[_0x5f91('0x16')]=!![];}else{_0x270cd4[_0x5f91('0x16')]=![];_0x270cd4[_0x5f91('0x17')]=_0x5f91('0x18');}}else{_0x270cd4[_0x5f91('0x19')]=_0x2a520a[_0x5f91('0x19')];_0x270cd4[_0x5f91('0x13')]=_0x2a520a['password'];_0x270cd4['host']=utils[_0x5f91('0x1a')](_0x2a520a[_0x5f91('0x11')]);_0x270cd4[_0x5f91('0x15')]=0x3e1;_0x270cd4['tls']=!![];}_0x270cd4[_0x5f91('0x4')]=_0x52392c||_0x2a520a[_0x5f91('0x19')]||_0x5f91('0x1b');return _0x270cd4;};EmailImap[_0x5f91('0xd')][_0x5f91('0x8')]=function(){this['imap']['openBox'](this['mailbox'],![],this['handleOpenBox'][_0x5f91('0xa')](this));};EmailImap[_0x5f91('0xd')][_0x5f91('0x1c')]=function(_0x2c582c,_0x488d69){if(_0x2c582c){this[_0x5f91('0xb')](_0x2c582c,!![]);}else{this[_0x5f91('0x1d')](_0x5f91('0x1e'),_0x488d69);this['readUnseen']();}};EmailImap['prototype'][_0x5f91('0x1f')]=function(_0x5fe5ec){if(_0x5fe5ec){this['handleError'](_0x5fe5ec,!![]);}else{this[_0x5f91('0x6')]['end']();}};EmailImap[_0x5f91('0xd')][_0x5f91('0x20')]=function(){this[_0x5f91('0x6')][_0x5f91('0x21')]([_0x5f91('0x22')],this[_0x5f91('0x23')]['bind'](this));};EmailImap[_0x5f91('0xd')][_0x5f91('0x23')]=function(_0x201aa9,_0x1dbf3a){if(_0x201aa9){this[_0x5f91('0xb')](_0x201aa9,!![]);}else{if(_0x1dbf3a[_0x5f91('0x24')]){try{var _0x378eb9=this[_0x5f91('0x6')][_0x5f91('0x25')](_0x1dbf3a,{'bodies':'','markSeen':!![]});_0x378eb9['on'](_0x5f91('0x26'),this[_0x5f91('0x27')][_0x5f91('0xa')](this));_0x378eb9[_0x5f91('0x28')](_0x5f91('0x29'),this[_0x5f91('0x2a')][_0x5f91('0xa')](this));_0x378eb9[_0x5f91('0x28')](_0x5f91('0x2b'),this[_0x5f91('0x2c')][_0x5f91('0xa')](this));}catch(_0x2802cc){logger[_0x5f91('0x29')](_0x2802cc);}}else{this[_0x5f91('0x6')][_0x5f91('0x2d')](!![],this[_0x5f91('0x1f')][_0x5f91('0xa')](this));}}};EmailImap[_0x5f91('0xd')][_0x5f91('0x27')]=function(_0x53272c,_0x335018){_0x53272c['on']('body',this[_0x5f91('0x2e')][_0x5f91('0xa')](this));_0x53272c[_0x5f91('0x28')](_0x5f91('0x2f'),this['handleMessageAttributes']['bind'](this));_0x53272c[_0x5f91('0x28')](_0x5f91('0x2b'),this[_0x5f91('0x30')]['bind'](this));};EmailImap['prototype'][_0x5f91('0x2e')]=function(_0x13d3e9,_0x57f4c3){simpleParser(_0x13d3e9,{'Iconv':Iconv},this['handleSimpleParser'][_0x5f91('0xa')](this));};EmailImap[_0x5f91('0xd')][_0x5f91('0x31')]=function(_0x179652){};EmailImap[_0x5f91('0xd')][_0x5f91('0x30')]=function(){};EmailImap['prototype'][_0x5f91('0x32')]=function(_0x48947a,_0x5cbdf1){if(_0x48947a){logger[_0x5f91('0x29')](_0x48947a);}else{var _0x459c43=this;utils['parser'](this[_0x5f91('0x7')],_0x5cbdf1,function(_0x2d3c8e){_0x459c43[_0x5f91('0x1d')](_0x5f91('0x4'),_0x2d3c8e);});}};EmailImap[_0x5f91('0xd')][_0x5f91('0x2c')]=function(){this[_0x5f91('0x6')][_0x5f91('0x2d')](!![],this[_0x5f91('0x1f')][_0x5f91('0xa')](this));};EmailImap[_0x5f91('0xd')][_0x5f91('0x2a')]=function(_0x923142){this[_0x5f91('0xb')](_0x923142);this[_0x5f91('0x6')][_0x5f91('0x2d')](!![],this[_0x5f91('0x1f')]['bind'](this));};EmailImap[_0x5f91('0xd')][_0x5f91('0x9')]=function(){this[_0x5f91('0x1d')](_0x5f91('0x2b'));};EmailImap['prototype'][_0x5f91('0xb')]=function(_0x4d3e36,_0x1784a4){logger[_0x5f91('0x29')]('handleError',this[_0x5f91('0x7')][_0x5f91('0x4')],JSON[_0x5f91('0x33')](_0x4d3e36));var _0x439b21='';if(_0x4d3e36){if(_0x4d3e36['textCode']){_0x439b21=_0x4d3e36[_0x5f91('0x34')];}else{for(var _0x17f895 in _0x4d3e36){if(_0x4d3e36[_0x5f91('0x35')](_0x17f895)){_0x439b21+=_['upperFirst'](_0x17f895)+':\x20'+_0x4d3e36[_0x17f895]+'\x0a';}}}}if(_0x1784a4){this[_0x5f91('0x6')][_0x5f91('0x2b')]();}else{this[_0x5f91('0x1d')](_0x5f91('0x29'),_0x439b21);this[_0x5f91('0x1d')](_0x5f91('0x2b'));}};module[_0x5f91('0x36')]=EmailImap; \ No newline at end of file diff --git a/server/services/email/lib/smtp.js b/server/services/email/lib/smtp.js index 42f8260..0a2f120 100644 --- a/server/services/email/lib/smtp.js +++ b/server/services/email/lib/smtp.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xe0a7=['compile','sendMail','verify','toString','Not\x20verifired','exports','nodemailer','bluebird','nodemailer-plugin-inline-base64','prototype','send','createTransport'];(function(_0x4fe227,_0xfe20fb){var _0x1a904f=function(_0x2b9547){while(--_0x2b9547){_0x4fe227['push'](_0x4fe227['shift']());}};_0x1a904f(++_0xfe20fb);}(_0xe0a7,0xf6));var _0x7e0a=function(_0x25910f,_0x3904fd){_0x25910f=_0x25910f-0x0;var _0x3ac51e=_0xe0a7[_0x25910f];return _0x3ac51e;};'use strict';var nodemailer=require(_0x7e0a('0x0'));var BPromise=require(_0x7e0a('0x1'));var inlineBase64=require(_0x7e0a('0x2'));function EmailSmtp(){}EmailSmtp[_0x7e0a('0x3')][_0x7e0a('0x4')]=function(_0x104d9a,_0x4b7df1){return new BPromise(function(_0x339fa8,_0x55b104){var _0x99f8f4=nodemailer[_0x7e0a('0x5')](_0x104d9a);_0x99f8f4['use'](_0x7e0a('0x6'),inlineBase64());_0x99f8f4[_0x7e0a('0x7')](_0x4b7df1,function(_0x410962,_0x2a2949){if(_0x410962){_0x55b104(_0x410962['toString']());}else{_0x339fa8(_0x2a2949);}});});};EmailSmtp[_0x7e0a('0x3')]['verify']=function(_0x160b30){return new BPromise(function(_0x3ad7fa,_0x298a6a){var _0x87ca47=nodemailer['createTransport'](_0x160b30);_0x87ca47[_0x7e0a('0x8')](function(_0x38b787,_0x5a13e0){if(_0x38b787){_0x298a6a(_0x38b787[_0x7e0a('0x9')]());}else{if(_0x5a13e0){_0x3ad7fa(_0x5a13e0);}else{_0x298a6a(_0x7e0a('0xa'));}}});});};module[_0x7e0a('0xb')]=EmailSmtp; \ No newline at end of file +var _0x306d=['exports','nodemailer','prototype','send','use','compile','sendMail','toString','verify','Not\x20verifired'];(function(_0x56a94d,_0x3ff8c7){var _0x14aaba=function(_0x56a226){while(--_0x56a226){_0x56a94d['push'](_0x56a94d['shift']());}};_0x14aaba(++_0x3ff8c7);}(_0x306d,0x1af));var _0xd306=function(_0xfc4452,_0x8c5793){_0xfc4452=_0xfc4452-0x0;var _0x27bb56=_0x306d[_0xfc4452];return _0x27bb56;};'use strict';var nodemailer=require(_0xd306('0x0'));var BPromise=require('bluebird');var inlineBase64=require('nodemailer-plugin-inline-base64');function EmailSmtp(){}EmailSmtp[_0xd306('0x1')][_0xd306('0x2')]=function(_0x34974b,_0x40f23b){return new BPromise(function(_0x377079,_0x1e8656){var _0x2bbf1f=nodemailer['createTransport'](_0x34974b);_0x2bbf1f[_0xd306('0x3')](_0xd306('0x4'),inlineBase64());_0x2bbf1f[_0xd306('0x5')](_0x40f23b,function(_0x5e3e2a,_0x5a5b07){if(_0x5e3e2a){_0x1e8656(_0x5e3e2a[_0xd306('0x6')]());}else{_0x377079(_0x5a5b07);}});});};EmailSmtp['prototype'][_0xd306('0x7')]=function(_0xfaf2e7){return new BPromise(function(_0x18fccc,_0x5274b7){var _0x4e51de=nodemailer['createTransport'](_0xfaf2e7);_0x4e51de['verify'](function(_0x2a5a19,_0x16f817){if(_0x2a5a19){_0x5274b7(_0x2a5a19[_0xd306('0x6')]());}else{if(_0x16f817){_0x18fccc(_0x16f817);}else{_0x5274b7(_0xd306('0x8'));}}});});};module[_0xd306('0x9')]=EmailSmtp; \ No newline at end of file diff --git a/server/services/email/lib/utils.js b/server/services/email/lib/utils.js index 27861ca..4e4be3a 100644 --- a/server/services/email/lib/utils.js +++ b/server/services/email/lib/utils.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x0140=['from','inReplyTo','date','YYYY-MM-DD\x20HH:mm:ss','filter','application/ms-tnef','info','Email\x20message\x20%s\x20is\x20in\x20TNEF\x20format:\x20message\x20content\x20will\x20be\x20converted\x20by\x20the\x20system','parseBuffer','first','content','BodyHTML','

Empty\x20message

','Attachments','Title','getHost','gmail','imap.gmail.com','yahoo','hotmail','imap-mail.outlook.com','outlook365','outlook.office365.com','randomstring','path','node-tnef','email','../../../config/environment','address','anonymous','generate','@xcally.com','value','name','split','join','Anonymous','head','pop','length','isEmpty','html','test','replace','body','textAsHtml','0x1?_0x23937e[_0x0014('0xf')]():'';}return'';}function getMails(_0x2e823b,_0xf78d5a){var _0x431ac0='';for(var _0x382f72=0x0;_0x382f72<_0xf78d5a[_0x0014('0x9')][_0x0014('0x10')];_0x382f72+=0x1){if(_0xf78d5a['value'][_0x382f72][_0x0014('0x5')]!==_0x2e823b){if(!_[_0x0014('0x11')](_0x431ac0)){_0x431ac0+=',';}_0x431ac0+=_0xf78d5a[_0x0014('0x9')][_0x382f72][_0x0014('0xa')]||_0xf78d5a[_0x0014('0x9')][_0x382f72][_0x0014('0x5')]||'';_0x431ac0+='\x20<';_0x431ac0+=_0xf78d5a[_0x0014('0x9')][_0x382f72][_0x0014('0x5')]?_0xf78d5a[_0x0014('0x9')][_0x382f72][_0x0014('0x5')]:_0x0014('0x6')+random[_0x0014('0x7')](0x6)+_0x0014('0x8');_0x431ac0+='>';}}return _0x431ac0;}function parseEmail(_0x1a7c8e,_0x141311,_0x371d15){if(_0x141311[_0x0014('0x12')]){var _0x4fc30c=/)<[^<]*)*<\/script>/gi;while(_0x4fc30c[_0x0014('0x13')](_0x141311[_0x0014('0x12')])){_0x141311['html']=_0x141311[_0x0014('0x12')][_0x0014('0x14')](_0x4fc30c,'');}_0x371d15['body']=_0x141311[_0x0014('0x12')];}else{_0x371d15[_0x0014('0x15')]=_0x141311[_0x0014('0x16')];}if(_0x371d15[_0x0014('0x15')]){_0x371d15['body']=_0x371d15[_0x0014('0x15')][_0x0014('0x14')](/Empty\x20message

','Attachments','Title','Data','getHost','gmail','yahoo','hotmail','imap-mail.outlook.com','outlook365','outlook.office365.com','127.0.0.1'];(function(_0x393ec8,_0x2d382c){var _0x1d7d80=function(_0x309fe5){while(--_0x309fe5){_0x393ec8['push'](_0x393ec8['shift']());}};_0x1d7d80(++_0x2d382c);}(_0xde5a,0xa8));var _0xade5=function(_0x455690,_0x497c9b){_0x455690=_0x455690-0x0;var _0x3a65d9=_0xde5a[_0x455690];return _0x3a65d9;};'use strict';var _=require('lodash');var moment=require(_0xade5('0x0'));var random=require('randomstring');var fs=require('fs');var path=require('path');var util=require(_0xade5('0x1'));var tnef=require('node-tnef');var logger=require('../../../config/logger')(_0xade5('0x2'));var config=require(_0xade5('0x3'));function getAddress(_0x5eed5a){var _0x1c8a21=_[_0xade5('0x4')](_0x5eed5a[_0xade5('0x5')]);return _0x1c8a21&&_0x1c8a21['address']?_0x1c8a21[_0xade5('0x6')]:_0xade5('0x7')+random[_0xade5('0x8')](0x6)+_0xade5('0x9');}function getFirstName(_0x284af0){var _0xe6388b=_[_0xade5('0x4')](_0x284af0['value']);if(_0xe6388b&&_0xe6388b['name']){var _0x1f88db=_0xe6388b[_0xade5('0xa')]['split'](/\s+/);return _0x1f88db[_0xade5('0xb')]?_0x1f88db['slice'](0x0,-0x1)[_0xade5('0xc')]('\x20'):_0xe6388b['name'];}return'Anonymous';}function getLastName(_0x523295){var _0x3114b6=_['head'](_0x523295[_0xade5('0x5')]);if(_0x3114b6&&_0x3114b6[_0xade5('0xa')]){var _0x50005e=_0x3114b6['name'][_0xade5('0xd')](/\s+/);return _0x50005e[_0xade5('0xb')]>0x1?_0x50005e['pop']():'';}return'';}function getMails(_0x7693f1,_0x2f6455){var _0x5cf449='';for(var _0x93ade0=0x0;_0x93ade0<_0x2f6455[_0xade5('0x5')]['length'];_0x93ade0+=0x1){if(_0x2f6455[_0xade5('0x5')][_0x93ade0][_0xade5('0x6')]!==_0x7693f1){if(!_[_0xade5('0xe')](_0x5cf449)){_0x5cf449+=',';}_0x5cf449+=_0x2f6455[_0xade5('0x5')][_0x93ade0]['name']||_0x2f6455[_0xade5('0x5')][_0x93ade0][_0xade5('0x6')]||'';_0x5cf449+='\x20<';_0x5cf449+=_0x2f6455[_0xade5('0x5')][_0x93ade0]['address']?_0x2f6455[_0xade5('0x5')][_0x93ade0]['address']:_0xade5('0x7')+random['generate'](0x6)+_0xade5('0x9');_0x5cf449+='>';}}return _0x5cf449;}function parseEmail(_0x281f80,_0x5912b3,_0x586998){if(_0x5912b3[_0xade5('0xf')]){var _0x7b2e5a=/)<[^<]*)*<\/script>/gi;while(_0x7b2e5a['test'](_0x5912b3[_0xade5('0xf')])){_0x5912b3['html']=_0x5912b3['html'][_0xade5('0x10')](_0x7b2e5a,'');}_0x586998[_0xade5('0x11')]=_0x5912b3[_0xade5('0xf')];}else{_0x586998[_0xade5('0x11')]=_0x5912b3['textAsHtml'];}if(_0x586998[_0xade5('0x11')]){_0x586998[_0xade5('0x11')]=_0x586998['body'][_0xade5('0x10')](/0x0){if(this[_0x158531+'Capacity']>0x0&&this[_0x158531+_0x65d8('0x26')]>=this[_0x158531+_0x65d8('0x27')]){return _0x65d8('0x28');}else{return _0x65d8('0x29');}}else{return'idle';}};Agent['prototype'][_0x65d8('0x23')]=function(){var _0x275060=['mail',_0x65d8('0x2a'),_0x65d8('0x2b'),'fax',_0x65d8('0x2c'),_0x65d8('0x2d')];for(var _0xa8b990=0x0;_0xa8b990<_0x275060[_0x65d8('0x2e')];_0xa8b990+=0x1){var _0x7779ad=this['getChannelStatus'](_0x275060[_0xa8b990]);if(this[_0x275060[_0xa8b990]+_0x65d8('0x2f')]!==_0x7779ad){this[_0x275060[_0xa8b990]+_0x65d8('0x30')]=_[_0x65d8('0x31')](moment()['format']('x'));}this[_0x275060[_0xa8b990]+'Status']=_0x7779ad;}var _0x4d28bc={'id':this['id'],'name':this[_0x65d8('0x6')],'online':this[_0x65d8('0x7')],'voicePause':this[_0x65d8('0x8')],'chatPause':this[_0x65d8('0x9')],'mailPause':this[_0x65d8('0xa')],'smsPause':this['smsPause'],'faxPause':this[_0x65d8('0xb')],'openchannelPause':this[_0x65d8('0xc')],'chatStatus':this[_0x65d8('0xd')],'chatStatusTime':this[_0x65d8('0xf')],'chatCapacity':this[_0x65d8('0x10')],'chatCurrentCapacity':this[_0x65d8('0x11')],'mailStatus':this[_0x65d8('0x32')],'mailStatusTime':this[_0x65d8('0x12')],'mailCapacity':this[_0x65d8('0x13')],'mailCurrentCapacity':this[_0x65d8('0x33')],'faxStatus':this['faxStatus'],'faxStatusTime':this[_0x65d8('0x15')],'faxCapacity':this[_0x65d8('0x16')],'faxCurrentCapacity':this[_0x65d8('0x17')],'smsStatus':this['smsStatus'],'smsStatusTime':this[_0x65d8('0x34')],'smsCapacity':this[_0x65d8('0x19')],'smsCurrentCapacity':this['smsCurrentCapacity'],'whatsappStatus':this[_0x65d8('0x1b')],'whatsappStatusTime':this[_0x65d8('0x35')],'whatsappCapacity':this[_0x65d8('0x1c')],'whatsappCurrentCapacity':this[_0x65d8('0x1d')],'openchannelStatus':this['openchannelStatus'],'openchannelStatusTime':this['openchannelStatusTime'],'openchannelCapacity':this['openchannelCapacity'],'openchannelCurrentCapacity':this[_0x65d8('0x21')],'busy':this[_0x65d8('0x36')],'busyQueue':this['busyQueue']};var _0x42bd18=md5(JSON[_0x65d8('0x37')](_0x4d28bc));if(this[_0x65d8('0x38')]!==_0x42bd18){this['md5']=_0x42bd18;io[_0x65d8('0x39')](_0x65d8('0x3a'),_0x4d28bc);}};module[_0x65d8('0x3b')]=Agent; \ No newline at end of file +var _0xbd8e=['stringify','emit','user:save','lodash','moment','../../../config/environment','defaults','redis','localhost','socket.io-emitter','name','online','voicePause','chatPause','mailPause','smsPause','openchannelPause','chatStatus','unknown','chatCapacity','chatCurrentCapacity','mailStatus','mailStatusTime','mailCapacity','faxStatus','faxStatusTime','faxCurrentCapacity','smsStatus','smsStatusTime','smsCapacity','smsCurrentCapacity','whatsappStatus','whatsappStatusTime','whatsappCapacity','whatsappCurrentCapacity','openchannelStatus','openchannelStatusTime','openchannelCapacity','openchannelCurrentCapacity','busy','busyQueue','md5','updateRealtime','prototype','CurrentCapacity','Capacity','maxcapacity','working','idle','mail','chat','fax','whatsapp','length','StatusTime','toNumber','format','Status','faxPause','chatStatusTime','mailCurrentCapacity','faxCapacity'];(function(_0x2f090c,_0xd71239){var _0x5a62b7=function(_0x37497c){while(--_0x37497c){_0x2f090c['push'](_0x2f090c['shift']());}};_0x5a62b7(++_0xd71239);}(_0xbd8e,0x1b5));var _0xebd8=function(_0x19e35c,_0x29cd1e){_0x19e35c=_0x19e35c-0x0;var _0x3e1fe8=_0xbd8e[_0x19e35c];return _0x3e1fe8;};'use strict';var _=require(_0xebd8('0x0'));var moment=require(_0xebd8('0x1'));var md5=require('md5');var Redis=require('ioredis');var config=require(_0xebd8('0x2'));config['redis']=_[_0xebd8('0x3')](config[_0xebd8('0x4')],{'host':_0xebd8('0x5'),'port':0x18eb});var io=require(_0xebd8('0x6'))(new Redis(config[_0xebd8('0x4')]));function Agent(_0x4c86ea){this['id']=_0x4c86ea['id']||0x0;this[_0xebd8('0x7')]=_0x4c86ea[_0xebd8('0x7')]||'';this[_0xebd8('0x8')]=_0x4c86ea[_0xebd8('0x8')]||!![];this[_0xebd8('0x9')]=_0x4c86ea['voicePause']||![];this[_0xebd8('0xa')]=_0x4c86ea[_0xebd8('0xa')]||![];this[_0xebd8('0xb')]=_0x4c86ea[_0xebd8('0xb')]||![];this['faxPause']=_0x4c86ea['faxPause']||![];this['smsPause']=_0x4c86ea[_0xebd8('0xc')]||![];this[_0xebd8('0xd')]=_0x4c86ea[_0xebd8('0xd')]||![];this[_0xebd8('0xe')]=_0xebd8('0xf');this['chatStatusTime']=0x0;this[_0xebd8('0x10')]=_0x4c86ea['chatCapacity']||0x0;this[_0xebd8('0x11')]=0x0;this[_0xebd8('0x12')]='unknown';this[_0xebd8('0x13')]=0x0;this[_0xebd8('0x14')]=_0x4c86ea[_0xebd8('0x14')]||0x0;this['mailCurrentCapacity']=0x0;this[_0xebd8('0x15')]='unknown';this[_0xebd8('0x16')]=0x0;this['faxCapacity']=_0x4c86ea['faxCapacity']||0x0;this[_0xebd8('0x17')]=0x0;this[_0xebd8('0x18')]=_0xebd8('0xf');this[_0xebd8('0x19')]=0x0;this[_0xebd8('0x1a')]=_0x4c86ea[_0xebd8('0x1a')]||0x0;this[_0xebd8('0x1b')]=0x0;this[_0xebd8('0x1c')]=_0xebd8('0xf');this[_0xebd8('0x1d')]=0x0;this[_0xebd8('0x1e')]=_0x4c86ea[_0xebd8('0x1e')]||0x0;this[_0xebd8('0x1f')]=0x0;this[_0xebd8('0x20')]='unknown';this[_0xebd8('0x21')]=0x0;this[_0xebd8('0x22')]=_0x4c86ea[_0xebd8('0x22')]||0x0;this[_0xebd8('0x23')]=0x0;this[_0xebd8('0x24')]=![];this[_0xebd8('0x25')]=undefined;this[_0xebd8('0x26')]='';this[_0xebd8('0x27')]();}Agent[_0xebd8('0x28')]['getChannelStatus']=function(_0x494c9){if(this[_0x494c9+_0xebd8('0x29')]>0x0){if(this[_0x494c9+_0xebd8('0x2a')]>0x0&&this[_0x494c9+_0xebd8('0x29')]>=this[_0x494c9+_0xebd8('0x2a')]){return _0xebd8('0x2b');}else{return _0xebd8('0x2c');}}else{return _0xebd8('0x2d');}};Agent[_0xebd8('0x28')][_0xebd8('0x27')]=function(){var _0x3728a6=[_0xebd8('0x2e'),_0xebd8('0x2f'),'openchannel',_0xebd8('0x30'),'sms',_0xebd8('0x31')];for(var _0x2758e6=0x0;_0x2758e6<_0x3728a6[_0xebd8('0x32')];_0x2758e6+=0x1){var _0xed6322=this['getChannelStatus'](_0x3728a6[_0x2758e6]);if(this[_0x3728a6[_0x2758e6]+'Status']!==_0xed6322){this[_0x3728a6[_0x2758e6]+_0xebd8('0x33')]=_[_0xebd8('0x34')](moment()[_0xebd8('0x35')]('x'));}this[_0x3728a6[_0x2758e6]+_0xebd8('0x36')]=_0xed6322;}var _0x29bb48={'id':this['id'],'name':this[_0xebd8('0x7')],'online':this[_0xebd8('0x8')],'voicePause':this['voicePause'],'chatPause':this['chatPause'],'mailPause':this[_0xebd8('0xb')],'smsPause':this['smsPause'],'faxPause':this[_0xebd8('0x37')],'openchannelPause':this['openchannelPause'],'chatStatus':this[_0xebd8('0xe')],'chatStatusTime':this[_0xebd8('0x38')],'chatCapacity':this['chatCapacity'],'chatCurrentCapacity':this[_0xebd8('0x11')],'mailStatus':this['mailStatus'],'mailStatusTime':this[_0xebd8('0x13')],'mailCapacity':this[_0xebd8('0x14')],'mailCurrentCapacity':this[_0xebd8('0x39')],'faxStatus':this['faxStatus'],'faxStatusTime':this['faxStatusTime'],'faxCapacity':this[_0xebd8('0x3a')],'faxCurrentCapacity':this[_0xebd8('0x17')],'smsStatus':this[_0xebd8('0x18')],'smsStatusTime':this['smsStatusTime'],'smsCapacity':this[_0xebd8('0x1a')],'smsCurrentCapacity':this[_0xebd8('0x1b')],'whatsappStatus':this[_0xebd8('0x1c')],'whatsappStatusTime':this[_0xebd8('0x1d')],'whatsappCapacity':this[_0xebd8('0x1e')],'whatsappCurrentCapacity':this[_0xebd8('0x1f')],'openchannelStatus':this[_0xebd8('0x20')],'openchannelStatusTime':this[_0xebd8('0x21')],'openchannelCapacity':this[_0xebd8('0x22')],'openchannelCurrentCapacity':this[_0xebd8('0x23')],'busy':this[_0xebd8('0x24')],'busyQueue':this[_0xebd8('0x25')]};var _0x3d2462=md5(JSON[_0xebd8('0x3b')](_0x29bb48));if(this[_0xebd8('0x26')]!==_0x3d2462){this[_0xebd8('0x26')]=_0x3d2462;io[_0xebd8('0x3c')](_0xebd8('0x3d'),_0x29bb48);}};module['exports']=Agent; \ No newline at end of file diff --git a/server/services/routing/model/chatQueue.js b/server/services/routing/model/chatQueue.js index 1320c43..a920189 100644 --- a/server/services/routing/model/chatQueue.js +++ b/server/services/routing/model/chatQueue.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xd869=['defaults','localhost','socket.io-emitter','name','timeout','strategy','beepall','Agents','mapAgentsId','waiting','updateRealtime','prototype','updateRouting','_rr','paused','length','online','chatPause','available','loggedIn','chat:queue:%s','chat_queue:save','exports','lodash','md5','ioredis','../../../config/environment'];(function(_0x5f47e3,_0x3fcf0e){var _0x1295a1=function(_0x48ec73){while(--_0x48ec73){_0x5f47e3['push'](_0x5f47e3['shift']());}};_0x1295a1(++_0x3fcf0e);}(_0xd869,0x15b));var _0x9d86=function(_0x5a2d6e,_0x3d3a47){_0x5a2d6e=_0x5a2d6e-0x0;var _0x30ff59=_0xd869[_0x5a2d6e];return _0x30ff59;};'use strict';var _=require(_0x9d86('0x0'));var md5=require(_0x9d86('0x1'));var util=require('util');var Redis=require(_0x9d86('0x2'));var config=require(_0x9d86('0x3'));config['redis']=_[_0x9d86('0x4')](config['redis'],{'host':_0x9d86('0x5'),'port':0x18eb});var io=require(_0x9d86('0x6'))(new Redis(config['redis']));function ChatQueue(_0x4200a6){this['id']=_0x4200a6['id']||0x0;this[_0x9d86('0x7')]=_0x4200a6['name']||'';this[_0x9d86('0x8')]=_0x4200a6['timeout']||0xa;this[_0x9d86('0x9')]=_0x4200a6['strategy']||_0x9d86('0xa');this[_0x9d86('0xb')]=_0x4200a6[_0x9d86('0xb')];this[_0x9d86('0xc')]={};this[_0x9d86('0xd')]=0x0;this['md5']='';this['updateRouting']();this[_0x9d86('0xe')]();}ChatQueue[_0x9d86('0xf')][_0x9d86('0x10')]=function(){var _0x3b4834=this['mapAgentsId']['_rr'];this[_0x9d86('0xc')]=_['map'](this['Agents'],'id');this[_0x9d86('0xc')][_0x9d86('0x11')]=_0x3b4834;};ChatQueue[_0x9d86('0xf')][_0x9d86('0xe')]=function(){this['loggedIn']=0x0;this[_0x9d86('0x12')]=0x0;for(var _0x31507a=0x0;_0x31507a=0x0?this[_0x9d86('0x16')]:0x0;var _0x52dcbc={'id':this['id'],'available':this[_0x9d86('0x16')],'loggedIn':this['loggedIn'],'name':this[_0x9d86('0x7')],'paused':this[_0x9d86('0x12')],'waiting':this['waiting']};var _0x252215=md5(JSON['stringify'](_0x52dcbc));if(this[_0x9d86('0x1')]!==_0x252215){this[_0x9d86('0x1')]=_0x252215;io['to'](util['format'](_0x9d86('0x18'),_0x52dcbc[_0x9d86('0x7')]))['emit'](_0x9d86('0x19'),_0x52dcbc);}};module[_0x9d86('0x1a')]=ChatQueue; \ No newline at end of file +var _0xd651=['exports','lodash','md5','ioredis','redis','defaults','localhost','socket.io-emitter','name','timeout','strategy','Agents','mapAgentsId','waiting','updateRouting','prototype','map','updateRealtime','loggedIn','paused','length','online','chatPause','available','stringify','format','chat:queue:%s','chat_queue:save'];(function(_0x695b76,_0x551526){var _0x1dc21f=function(_0x5fdb1c){while(--_0x5fdb1c){_0x695b76['push'](_0x695b76['shift']());}};_0x1dc21f(++_0x551526);}(_0xd651,0xc5));var _0x1d65=function(_0x2a3a91,_0x411528){_0x2a3a91=_0x2a3a91-0x0;var _0xcf6d65=_0xd651[_0x2a3a91];return _0xcf6d65;};'use strict';var _=require(_0x1d65('0x0'));var md5=require(_0x1d65('0x1'));var util=require('util');var Redis=require(_0x1d65('0x2'));var config=require('../../../config/environment');config[_0x1d65('0x3')]=_[_0x1d65('0x4')](config[_0x1d65('0x3')],{'host':_0x1d65('0x5'),'port':0x18eb});var io=require(_0x1d65('0x6'))(new Redis(config[_0x1d65('0x3')]));function ChatQueue(_0x3e85b7){this['id']=_0x3e85b7['id']||0x0;this[_0x1d65('0x7')]=_0x3e85b7[_0x1d65('0x7')]||'';this[_0x1d65('0x8')]=_0x3e85b7[_0x1d65('0x8')]||0xa;this['strategy']=_0x3e85b7[_0x1d65('0x9')]||'beepall';this[_0x1d65('0xa')]=_0x3e85b7['Agents'];this[_0x1d65('0xb')]={};this[_0x1d65('0xc')]=0x0;this[_0x1d65('0x1')]='';this[_0x1d65('0xd')]();this['updateRealtime']();}ChatQueue[_0x1d65('0xe')][_0x1d65('0xd')]=function(){var _0x2e958f=this[_0x1d65('0xb')]['_rr'];this[_0x1d65('0xb')]=_[_0x1d65('0xf')](this[_0x1d65('0xa')],'id');this[_0x1d65('0xb')]['_rr']=_0x2e958f;};ChatQueue['prototype'][_0x1d65('0x10')]=function(){this[_0x1d65('0x11')]=0x0;this[_0x1d65('0x12')]=0x0;for(var _0x193efb=0x0;_0x193efb=0x0?this['available']:0x0;var _0x34430f={'id':this['id'],'available':this[_0x1d65('0x16')],'loggedIn':this[_0x1d65('0x11')],'name':this[_0x1d65('0x7')],'paused':this['paused'],'waiting':this[_0x1d65('0xc')]};var _0x1b8b6e=md5(JSON[_0x1d65('0x17')](_0x34430f));if(this['md5']!==_0x1b8b6e){this[_0x1d65('0x1')]=_0x1b8b6e;io['to'](util[_0x1d65('0x18')](_0x1d65('0x19'),_0x34430f[_0x1d65('0x7')]))['emit'](_0x1d65('0x1a'),_0x34430f);}};module[_0x1d65('0x1b')]=ChatQueue; \ No newline at end of file diff --git a/server/services/routing/model/faxQueue.js b/server/services/routing/model/faxQueue.js index 28320fb..be972dc 100644 --- a/server/services/routing/model/faxQueue.js +++ b/server/services/routing/model/faxQueue.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xa9e0=['available','stringify','format','emit','exports','lodash','md5','util','redis','localhost','socket.io-emitter','name','timeout','beepall','mapAgentsId','waiting','updateRouting','updateRealtime','prototype','map','Agents','_rr','loggedIn','paused','length','faxPause'];(function(_0x3a9b1f,_0x37ae5d){var _0x248e71=function(_0x5be4f5){while(--_0x5be4f5){_0x3a9b1f['push'](_0x3a9b1f['shift']());}};_0x248e71(++_0x37ae5d);}(_0xa9e0,0x123));var _0x0a9e=function(_0x484e36,_0x4482d8){_0x484e36=_0x484e36-0x0;var _0xafc85d=_0xa9e0[_0x484e36];return _0xafc85d;};'use strict';var _=require(_0x0a9e('0x0'));var md5=require(_0x0a9e('0x1'));var util=require(_0x0a9e('0x2'));var Redis=require('ioredis');var config=require('../../../config/environment');config[_0x0a9e('0x3')]=_['defaults'](config[_0x0a9e('0x3')],{'host':_0x0a9e('0x4'),'port':0x18eb});var io=require(_0x0a9e('0x5'))(new Redis(config[_0x0a9e('0x3')]));function FaxQueue(_0x981158){this['id']=_0x981158['id']||0x0;this['name']=_0x981158[_0x0a9e('0x6')]||'';this[_0x0a9e('0x7')]=_0x981158[_0x0a9e('0x7')]||0xa;this['strategy']=_0x981158['strategy']||_0x0a9e('0x8');this['Agents']=_0x981158['Agents'];this[_0x0a9e('0x9')]={};this[_0x0a9e('0xa')]=0x0;this[_0x0a9e('0x1')]='';this[_0x0a9e('0xb')]();this[_0x0a9e('0xc')]();}FaxQueue[_0x0a9e('0xd')]['updateRouting']=function(){var _0x50dfb2=this['mapAgentsId']['_rr'];this[_0x0a9e('0x9')]=_[_0x0a9e('0xe')](this[_0x0a9e('0xf')],'id');this[_0x0a9e('0x9')][_0x0a9e('0x10')]=_0x50dfb2;};FaxQueue[_0x0a9e('0xd')]['updateRealtime']=function(){this[_0x0a9e('0x11')]=0x0;this[_0x0a9e('0x12')]=0x0;for(var _0x2b4227=0x0;_0x2b4227=0x0?this[_0x0a9e('0x15')]:0x0;var _0x478723={'id':this['id'],'available':this[_0x0a9e('0x15')],'loggedIn':this[_0x0a9e('0x11')],'name':this[_0x0a9e('0x6')],'paused':this[_0x0a9e('0x12')],'waiting':this[_0x0a9e('0xa')]};var _0x20559e=md5(JSON[_0x0a9e('0x16')](_0x478723));if(this[_0x0a9e('0x1')]!==_0x20559e){this[_0x0a9e('0x1')]=_0x20559e;io['to'](util[_0x0a9e('0x17')]('fax:queue:%s',_0x478723[_0x0a9e('0x6')]))[_0x0a9e('0x18')]('fax_queue:save',_0x478723);}};module[_0x0a9e('0x19')]=FaxQueue; \ No newline at end of file +var _0xa9e0=['available','stringify','format','emit','exports','lodash','md5','util','redis','localhost','socket.io-emitter','name','timeout','beepall','mapAgentsId','waiting','updateRouting','updateRealtime','prototype','map','Agents','_rr','loggedIn','paused','length','faxPause'];(function(_0x189a98,_0x3a2b2b){var _0x14f91f=function(_0x32eb94){while(--_0x32eb94){_0x189a98['push'](_0x189a98['shift']());}};_0x14f91f(++_0x3a2b2b);}(_0xa9e0,0x123));var _0x0a9e=function(_0x56482c,_0x16118d){_0x56482c=_0x56482c-0x0;var _0x5aae7a=_0xa9e0[_0x56482c];return _0x5aae7a;};'use strict';var _=require(_0x0a9e('0x0'));var md5=require(_0x0a9e('0x1'));var util=require(_0x0a9e('0x2'));var Redis=require('ioredis');var config=require('../../../config/environment');config[_0x0a9e('0x3')]=_['defaults'](config[_0x0a9e('0x3')],{'host':_0x0a9e('0x4'),'port':0x18eb});var io=require(_0x0a9e('0x5'))(new Redis(config[_0x0a9e('0x3')]));function FaxQueue(_0x981158){this['id']=_0x981158['id']||0x0;this['name']=_0x981158[_0x0a9e('0x6')]||'';this[_0x0a9e('0x7')]=_0x981158[_0x0a9e('0x7')]||0xa;this['strategy']=_0x981158['strategy']||_0x0a9e('0x8');this['Agents']=_0x981158['Agents'];this[_0x0a9e('0x9')]={};this[_0x0a9e('0xa')]=0x0;this[_0x0a9e('0x1')]='';this[_0x0a9e('0xb')]();this[_0x0a9e('0xc')]();}FaxQueue[_0x0a9e('0xd')]['updateRouting']=function(){var _0x50dfb2=this['mapAgentsId']['_rr'];this[_0x0a9e('0x9')]=_[_0x0a9e('0xe')](this[_0x0a9e('0xf')],'id');this[_0x0a9e('0x9')][_0x0a9e('0x10')]=_0x50dfb2;};FaxQueue[_0x0a9e('0xd')]['updateRealtime']=function(){this[_0x0a9e('0x11')]=0x0;this[_0x0a9e('0x12')]=0x0;for(var _0x2b4227=0x0;_0x2b4227=0x0?this[_0x0a9e('0x15')]:0x0;var _0x478723={'id':this['id'],'available':this[_0x0a9e('0x15')],'loggedIn':this[_0x0a9e('0x11')],'name':this[_0x0a9e('0x6')],'paused':this[_0x0a9e('0x12')],'waiting':this[_0x0a9e('0xa')]};var _0x20559e=md5(JSON[_0x0a9e('0x16')](_0x478723));if(this[_0x0a9e('0x1')]!==_0x20559e){this[_0x0a9e('0x1')]=_0x20559e;io['to'](util[_0x0a9e('0x17')]('fax:queue:%s',_0x478723[_0x0a9e('0x6')]))[_0x0a9e('0x18')]('fax_queue:save',_0x478723);}};module[_0x0a9e('0x19')]=FaxQueue; \ No newline at end of file diff --git a/server/services/routing/model/interval.js b/server/services/routing/model/interval.js index df05cba..453d88c 100644 --- a/server/services/routing/model/interval.js +++ b/server/services/routing/model/interval.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x2483=['Intervals','exports'];(function(_0x1e1497,_0x445118){var _0xe250f6=function(_0x2c9be9){while(--_0x2c9be9){_0x1e1497['push'](_0x1e1497['shift']());}};_0xe250f6(++_0x445118);}(_0x2483,0xc6));var _0x3248=function(_0x2f9dcf,_0x53115a){_0x2f9dcf=_0x2f9dcf-0x0;var _0x5175ed=_0x2483[_0x2f9dcf];return _0x5175ed;};'use strict';function Interval(_0x21c70f){this['id']=_0x21c70f['id']||0x0;this['name']=_0x21c70f['name']||'';this[_0x3248('0x0')]=_0x21c70f[_0x3248('0x0')]||{};}module[_0x3248('0x1')]=Interval; \ No newline at end of file +var _0x7409=['name','Intervals','exports'];(function(_0x5a7d46,_0x459a55){var _0x34d8c4=function(_0x4fff25){while(--_0x4fff25){_0x5a7d46['push'](_0x5a7d46['shift']());}};_0x34d8c4(++_0x459a55);}(_0x7409,0x12f));var _0x9740=function(_0x3eda5d,_0x2320c4){_0x3eda5d=_0x3eda5d-0x0;var _0x5cdebc=_0x7409[_0x3eda5d];return _0x5cdebc;};'use strict';function Interval(_0x46199d){this['id']=_0x46199d['id']||0x0;this[_0x9740('0x0')]=_0x46199d[_0x9740('0x0')]||'';this[_0x9740('0x1')]=_0x46199d[_0x9740('0x1')]||{};}module[_0x9740('0x2')]=Interval; \ No newline at end of file diff --git a/server/services/routing/model/mailQueue.js b/server/services/routing/model/mailQueue.js index 14bce35..0745b1d 100644 --- a/server/services/routing/model/mailQueue.js +++ b/server/services/routing/model/mailQueue.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x7da6=['length','mailPause','available','mail:queue:%s','emit','mail_queue:save','util','ioredis','../../../config/environment','redis','localhost','socket.io-emitter','name','timeout','strategy','Agents','mapAgentsId','waiting','md5','updateRouting','updateRealtime','prototype','_rr','map','loggedIn','paused'];(function(_0xc2dde6,_0x1cccc9){var _0x9fc29c=function(_0x54ba28){while(--_0x54ba28){_0xc2dde6['push'](_0xc2dde6['shift']());}};_0x9fc29c(++_0x1cccc9);}(_0x7da6,0x124));var _0x67da=function(_0x4d9403,_0x33c5f0){_0x4d9403=_0x4d9403-0x0;var _0x5eef11=_0x7da6[_0x4d9403];return _0x5eef11;};'use strict';var _=require('lodash');var md5=require('md5');var util=require(_0x67da('0x0'));var Redis=require(_0x67da('0x1'));var config=require(_0x67da('0x2'));config[_0x67da('0x3')]=_['defaults'](config[_0x67da('0x3')],{'host':_0x67da('0x4'),'port':0x18eb});var io=require(_0x67da('0x5'))(new Redis(config[_0x67da('0x3')]));function MailQueue(_0x314da7){this['id']=_0x314da7['id']||0x0;this[_0x67da('0x6')]=_0x314da7['name']||'';this[_0x67da('0x7')]=_0x314da7['timeout']||0xa;this['strategy']=_0x314da7[_0x67da('0x8')]||'beepall';this[_0x67da('0x9')]=_0x314da7['Agents'];this[_0x67da('0xa')]={};this[_0x67da('0xb')]=0x0;this[_0x67da('0xc')]='';this[_0x67da('0xd')]();this[_0x67da('0xe')]();}MailQueue[_0x67da('0xf')][_0x67da('0xd')]=function(){var _0x5931f2=this[_0x67da('0xa')][_0x67da('0x10')];this[_0x67da('0xa')]=_[_0x67da('0x11')](this[_0x67da('0x9')],'id');this[_0x67da('0xa')]['_rr']=_0x5931f2;};MailQueue[_0x67da('0xf')][_0x67da('0xe')]=function(){this[_0x67da('0x12')]=0x0;this[_0x67da('0x13')]=0x0;for(var _0x13bb5b=0x0;_0x13bb5b=0x0?this[_0x67da('0x16')]:0x0;var _0x524819={'id':this['id'],'available':this[_0x67da('0x16')],'loggedIn':this['loggedIn'],'name':this[_0x67da('0x6')],'paused':this[_0x67da('0x13')],'waiting':this[_0x67da('0xb')]};var _0x156abf=md5(JSON['stringify'](_0x524819));if(this[_0x67da('0xc')]!==_0x156abf){this['md5']=_0x156abf;io['to'](util['format'](_0x67da('0x17'),_0x524819[_0x67da('0x6')]))[_0x67da('0x18')](_0x67da('0x19'),_0x524819);}};module['exports']=MailQueue; \ No newline at end of file +var _0x22f0=['socket.io-emitter','name','timeout','strategy','beepall','Agents','mapAgentsId','updateRouting','updateRealtime','prototype','_rr','map','paused','length','online','loggedIn','mailPause','available','waiting','stringify','format','mail:queue:%s','emit','mail_queue:save','exports','md5','util','ioredis','../../../config/environment','redis','defaults','localhost'];(function(_0x37fffb,_0x581ac0){var _0x34a7d8=function(_0xe31898){while(--_0xe31898){_0x37fffb['push'](_0x37fffb['shift']());}};_0x34a7d8(++_0x581ac0);}(_0x22f0,0x159));var _0x022f=function(_0x435681,_0x5e6a4a){_0x435681=_0x435681-0x0;var _0x157d07=_0x22f0[_0x435681];return _0x157d07;};'use strict';var _=require('lodash');var md5=require(_0x022f('0x0'));var util=require(_0x022f('0x1'));var Redis=require(_0x022f('0x2'));var config=require(_0x022f('0x3'));config[_0x022f('0x4')]=_[_0x022f('0x5')](config[_0x022f('0x4')],{'host':_0x022f('0x6'),'port':0x18eb});var io=require(_0x022f('0x7'))(new Redis(config[_0x022f('0x4')]));function MailQueue(_0x368297){this['id']=_0x368297['id']||0x0;this['name']=_0x368297[_0x022f('0x8')]||'';this[_0x022f('0x9')]=_0x368297['timeout']||0xa;this['strategy']=_0x368297[_0x022f('0xa')]||_0x022f('0xb');this[_0x022f('0xc')]=_0x368297[_0x022f('0xc')];this[_0x022f('0xd')]={};this['waiting']=0x0;this[_0x022f('0x0')]='';this[_0x022f('0xe')]();this[_0x022f('0xf')]();}MailQueue[_0x022f('0x10')][_0x022f('0xe')]=function(){var _0x386915=this[_0x022f('0xd')][_0x022f('0x11')];this[_0x022f('0xd')]=_[_0x022f('0x12')](this[_0x022f('0xc')],'id');this['mapAgentsId'][_0x022f('0x11')]=_0x386915;};MailQueue[_0x022f('0x10')][_0x022f('0xf')]=function(){this['loggedIn']=0x0;this[_0x022f('0x13')]=0x0;for(var _0x5e441a=0x0;_0x5e441a=0x0?this[_0x022f('0x18')]:0x0;var _0x5a236f={'id':this['id'],'available':this[_0x022f('0x18')],'loggedIn':this['loggedIn'],'name':this[_0x022f('0x8')],'paused':this[_0x022f('0x13')],'waiting':this[_0x022f('0x19')]};var _0x3a100e=md5(JSON[_0x022f('0x1a')](_0x5a236f));if(this[_0x022f('0x0')]!==_0x3a100e){this[_0x022f('0x0')]=_0x3a100e;io['to'](util[_0x022f('0x1b')](_0x022f('0x1c'),_0x5a236f[_0x022f('0x8')]))[_0x022f('0x1d')](_0x022f('0x1e'),_0x5a236f);}};module[_0x022f('0x1f')]=MailQueue; \ No newline at end of file diff --git a/server/services/routing/model/openchannelQueue.js b/server/services/routing/model/openchannelQueue.js index 0a41c8b..df72f88 100644 --- a/server/services/routing/model/openchannelQueue.js +++ b/server/services/routing/model/openchannelQueue.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x76b0=['openchannel:queue:%s','emit','openchannel_queue:save','exports','lodash','md5','util','redis','socket.io-emitter','name','timeout','beepall','Agents','mapAgentsId','waiting','updateRouting','updateRealtime','_rr','map','prototype','loggedIn','length','openchannelPause','available','paused','format'];(function(_0x536d35,_0x525a96){var _0x5e2d9a=function(_0x503b2a){while(--_0x503b2a){_0x536d35['push'](_0x536d35['shift']());}};_0x5e2d9a(++_0x525a96);}(_0x76b0,0xee));var _0x076b=function(_0x2aea9e,_0x1f587f){_0x2aea9e=_0x2aea9e-0x0;var _0x430b92=_0x76b0[_0x2aea9e];return _0x430b92;};'use strict';var _=require(_0x076b('0x0'));var md5=require(_0x076b('0x1'));var util=require(_0x076b('0x2'));var Redis=require('ioredis');var config=require('../../../config/environment');config[_0x076b('0x3')]=_['defaults'](config[_0x076b('0x3')],{'host':'localhost','port':0x18eb});var io=require(_0x076b('0x4'))(new Redis(config['redis']));function OpenchannelQueue(_0x2ac665){this['id']=_0x2ac665['id']||0x0;this['name']=_0x2ac665[_0x076b('0x5')]||'';this[_0x076b('0x6')]=_0x2ac665['timeout']||0xa;this['strategy']=_0x2ac665['strategy']||_0x076b('0x7');this[_0x076b('0x8')]=_0x2ac665[_0x076b('0x8')];this[_0x076b('0x9')]={};this[_0x076b('0xa')]=0x0;this[_0x076b('0x1')]='';this[_0x076b('0xb')]();this[_0x076b('0xc')]();}OpenchannelQueue['prototype'][_0x076b('0xb')]=function(){var _0x42b09f=this[_0x076b('0x9')][_0x076b('0xd')];this[_0x076b('0x9')]=_[_0x076b('0xe')](this[_0x076b('0x8')],'id');this[_0x076b('0x9')][_0x076b('0xd')]=_0x42b09f;};OpenchannelQueue[_0x076b('0xf')][_0x076b('0xc')]=function(){this[_0x076b('0x10')]=0x0;this['paused']=0x0;for(var _0x409038=0x0;_0x409038=0x0?this[_0x076b('0x13')]:0x0;var _0x51f4e5={'id':this['id'],'available':this[_0x076b('0x13')],'loggedIn':this['loggedIn'],'name':this[_0x076b('0x5')],'paused':this['paused'],'waiting':this[_0x076b('0xa')]};var _0x1d1ef5=md5(JSON['stringify'](_0x51f4e5));if(this['md5']!==_0x1d1ef5){this[_0x076b('0x1')]=_0x1d1ef5;io['to'](util[_0x076b('0x15')](_0x076b('0x16'),_0x51f4e5['name']))[_0x076b('0x17')](_0x076b('0x18'),_0x51f4e5);}};module[_0x076b('0x19')]=OpenchannelQueue; \ No newline at end of file +var _0x6d99=['openchannel_queue:save','exports','lodash','md5','util','ioredis','../../../config/environment','redis','localhost','socket.io-emitter','name','timeout','beepall','Agents','mapAgentsId','waiting','updateRouting','updateRealtime','prototype','_rr','map','loggedIn','paused','online','openchannelPause','available','stringify','format','emit'];(function(_0x1b5aea,_0x1afe6f){var _0x51cae9=function(_0x1494a6){while(--_0x1494a6){_0x1b5aea['push'](_0x1b5aea['shift']());}};_0x51cae9(++_0x1afe6f);}(_0x6d99,0x93));var _0x96d9=function(_0x297c55,_0x34fa75){_0x297c55=_0x297c55-0x0;var _0x120389=_0x6d99[_0x297c55];return _0x120389;};'use strict';var _=require(_0x96d9('0x0'));var md5=require(_0x96d9('0x1'));var util=require(_0x96d9('0x2'));var Redis=require(_0x96d9('0x3'));var config=require(_0x96d9('0x4'));config[_0x96d9('0x5')]=_['defaults'](config[_0x96d9('0x5')],{'host':_0x96d9('0x6'),'port':0x18eb});var io=require(_0x96d9('0x7'))(new Redis(config[_0x96d9('0x5')]));function OpenchannelQueue(_0x47c3f0){this['id']=_0x47c3f0['id']||0x0;this[_0x96d9('0x8')]=_0x47c3f0[_0x96d9('0x8')]||'';this[_0x96d9('0x9')]=_0x47c3f0[_0x96d9('0x9')]||0xa;this['strategy']=_0x47c3f0['strategy']||_0x96d9('0xa');this[_0x96d9('0xb')]=_0x47c3f0[_0x96d9('0xb')];this[_0x96d9('0xc')]={};this[_0x96d9('0xd')]=0x0;this[_0x96d9('0x1')]='';this[_0x96d9('0xe')]();this[_0x96d9('0xf')]();}OpenchannelQueue[_0x96d9('0x10')][_0x96d9('0xe')]=function(){var _0x1d8b21=this['mapAgentsId'][_0x96d9('0x11')];this[_0x96d9('0xc')]=_[_0x96d9('0x12')](this[_0x96d9('0xb')],'id');this['mapAgentsId']['_rr']=_0x1d8b21;};OpenchannelQueue[_0x96d9('0x10')][_0x96d9('0xf')]=function(){this[_0x96d9('0x13')]=0x0;this[_0x96d9('0x14')]=0x0;for(var _0x2dd0f6=0x0;_0x2dd0f6=0x0?this['available']:0x0;var _0x3d6b7f={'id':this['id'],'available':this[_0x96d9('0x17')],'loggedIn':this['loggedIn'],'name':this[_0x96d9('0x8')],'paused':this['paused'],'waiting':this['waiting']};var _0x418d99=md5(JSON[_0x96d9('0x18')](_0x3d6b7f));if(this[_0x96d9('0x1')]!==_0x418d99){this[_0x96d9('0x1')]=_0x418d99;io['to'](util[_0x96d9('0x19')]('openchannel:queue:%s',_0x3d6b7f[_0x96d9('0x8')]))[_0x96d9('0x1a')](_0x96d9('0x1b'),_0x3d6b7f);}};module[_0x96d9('0x1c')]=OpenchannelQueue; \ No newline at end of file diff --git a/server/services/routing/model/smsQueue.js b/server/services/routing/model/smsQueue.js index f7f7e21..d644d20 100644 --- a/server/services/routing/model/smsQueue.js +++ b/server/services/routing/model/smsQueue.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x0713=['smsPause','paused','available','stringify','sms:queue:%s','emit','sms_queue:save','exports','util','ioredis','../../../config/environment','redis','defaults','localhost','socket.io-emitter','name','timeout','strategy','beepall','Agents','waiting','md5','updateRouting','updateRealtime','prototype','mapAgentsId','_rr','map','loggedIn','length','online'];(function(_0x705013,_0x182dcf){var _0x4582d5=function(_0x4477fc){while(--_0x4477fc){_0x705013['push'](_0x705013['shift']());}};_0x4582d5(++_0x182dcf);}(_0x0713,0x1ba));var _0x3071=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x0713[_0x3dd15e];return _0x231fd0;};'use strict';var _=require('lodash');var md5=require('md5');var util=require(_0x3071('0x0'));var Redis=require(_0x3071('0x1'));var config=require(_0x3071('0x2'));config[_0x3071('0x3')]=_[_0x3071('0x4')](config['redis'],{'host':_0x3071('0x5'),'port':0x18eb});var io=require(_0x3071('0x6'))(new Redis(config[_0x3071('0x3')]));function SmsQueue(_0x3137c8){this['id']=_0x3137c8['id']||0x0;this[_0x3071('0x7')]=_0x3137c8[_0x3071('0x7')]||'';this[_0x3071('0x8')]=_0x3137c8[_0x3071('0x8')]||0xa;this[_0x3071('0x9')]=_0x3137c8[_0x3071('0x9')]||_0x3071('0xa');this[_0x3071('0xb')]=_0x3137c8[_0x3071('0xb')];this['mapAgentsId']={};this[_0x3071('0xc')]=0x0;this[_0x3071('0xd')]='';this[_0x3071('0xe')]();this[_0x3071('0xf')]();}SmsQueue[_0x3071('0x10')]['updateRouting']=function(){var _0x2ace21=this[_0x3071('0x11')][_0x3071('0x12')];this[_0x3071('0x11')]=_[_0x3071('0x13')](this['Agents'],'id');this['mapAgentsId'][_0x3071('0x12')]=_0x2ace21;};SmsQueue['prototype'][_0x3071('0xf')]=function(){this[_0x3071('0x14')]=0x0;this['paused']=0x0;for(var _0x104e73=0x0;_0x104e73=0x0?this[_0x3071('0x19')]:0x0;var _0x1068d9={'id':this['id'],'available':this[_0x3071('0x19')],'loggedIn':this[_0x3071('0x14')],'name':this[_0x3071('0x7')],'paused':this[_0x3071('0x18')],'waiting':this[_0x3071('0xc')]};var _0x502a16=md5(JSON[_0x3071('0x1a')](_0x1068d9));if(this[_0x3071('0xd')]!==_0x502a16){this[_0x3071('0xd')]=_0x502a16;io['to'](util['format'](_0x3071('0x1b'),_0x1068d9['name']))[_0x3071('0x1c')](_0x3071('0x1d'),_0x1068d9);}};module[_0x3071('0x1e')]=SmsQueue; \ No newline at end of file +var _0xd8b0=['Agents','mapAgentsId','waiting','updateRouting','updateRealtime','prototype','_rr','map','loggedIn','paused','length','smsPause','available','stringify','format','sms:queue:%s','exports','lodash','md5','redis','defaults','localhost','socket.io-emitter','name','timeout','strategy'];(function(_0x1b8b1f,_0x56b8c8){var _0x2959fc=function(_0x3d727d){while(--_0x3d727d){_0x1b8b1f['push'](_0x1b8b1f['shift']());}};_0x2959fc(++_0x56b8c8);}(_0xd8b0,0xad));var _0x0d8b=function(_0x122ef9,_0x451d2a){_0x122ef9=_0x122ef9-0x0;var _0x42fba0=_0xd8b0[_0x122ef9];return _0x42fba0;};'use strict';var _=require(_0x0d8b('0x0'));var md5=require(_0x0d8b('0x1'));var util=require('util');var Redis=require('ioredis');var config=require('../../../config/environment');config[_0x0d8b('0x2')]=_[_0x0d8b('0x3')](config[_0x0d8b('0x2')],{'host':_0x0d8b('0x4'),'port':0x18eb});var io=require(_0x0d8b('0x5'))(new Redis(config['redis']));function SmsQueue(_0x5e15e6){this['id']=_0x5e15e6['id']||0x0;this[_0x0d8b('0x6')]=_0x5e15e6[_0x0d8b('0x6')]||'';this[_0x0d8b('0x7')]=_0x5e15e6['timeout']||0xa;this[_0x0d8b('0x8')]=_0x5e15e6[_0x0d8b('0x8')]||'beepall';this[_0x0d8b('0x9')]=_0x5e15e6[_0x0d8b('0x9')];this[_0x0d8b('0xa')]={};this[_0x0d8b('0xb')]=0x0;this[_0x0d8b('0x1')]='';this[_0x0d8b('0xc')]();this[_0x0d8b('0xd')]();}SmsQueue[_0x0d8b('0xe')]['updateRouting']=function(){var _0x3c4bfa=this['mapAgentsId'][_0x0d8b('0xf')];this[_0x0d8b('0xa')]=_[_0x0d8b('0x10')](this[_0x0d8b('0x9')],'id');this[_0x0d8b('0xa')][_0x0d8b('0xf')]=_0x3c4bfa;};SmsQueue[_0x0d8b('0xe')][_0x0d8b('0xd')]=function(){this[_0x0d8b('0x11')]=0x0;this[_0x0d8b('0x12')]=0x0;for(var _0x5ad086=0x0;_0x5ad086=0x0?this[_0x0d8b('0x15')]:0x0;var _0x333674={'id':this['id'],'available':this[_0x0d8b('0x15')],'loggedIn':this[_0x0d8b('0x11')],'name':this[_0x0d8b('0x6')],'paused':this['paused'],'waiting':this[_0x0d8b('0xb')]};var _0x23d58f=md5(JSON[_0x0d8b('0x16')](_0x333674));if(this[_0x0d8b('0x1')]!==_0x23d58f){this[_0x0d8b('0x1')]=_0x23d58f;io['to'](util[_0x0d8b('0x17')](_0x0d8b('0x18'),_0x333674[_0x0d8b('0x6')]))['emit']('sms_queue:save',_0x333674);}};module[_0x0d8b('0x19')]=SmsQueue; \ No newline at end of file diff --git a/server/services/routing/model/whatsappQueue.js b/server/services/routing/model/whatsappQueue.js index 8d14e57..31a2c61 100644 --- a/server/services/routing/model/whatsappQueue.js +++ b/server/services/routing/model/whatsappQueue.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x6336=['whatsappPause','available','stringify','whatsapp_queue:save','exports','lodash','md5','util','ioredis','../../../config/environment','defaults','localhost','redis','name','strategy','beepall','Agents','waiting','updateRouting','updateRealtime','prototype','mapAgentsId','_rr','map','loggedIn','paused','length','online'];(function(_0x39096d,_0x51f8a0){var _0x13da4f=function(_0x11e6b2){while(--_0x11e6b2){_0x39096d['push'](_0x39096d['shift']());}};_0x13da4f(++_0x51f8a0);}(_0x6336,0xc9));var _0x6633=function(_0x795cc3,_0x179eb4){_0x795cc3=_0x795cc3-0x0;var _0x183671=_0x6336[_0x795cc3];return _0x183671;};'use strict';var _=require(_0x6633('0x0'));var md5=require(_0x6633('0x1'));var util=require(_0x6633('0x2'));var Redis=require(_0x6633('0x3'));var config=require(_0x6633('0x4'));config['redis']=_[_0x6633('0x5')](config['redis'],{'host':_0x6633('0x6'),'port':0x18eb});var io=require('socket.io-emitter')(new Redis(config[_0x6633('0x7')]));function WhatsappQueue(_0x2fcfa9){this['id']=_0x2fcfa9['id']||0x0;this['name']=_0x2fcfa9[_0x6633('0x8')]||'';this['timeout']=_0x2fcfa9['timeout']||0xa;this[_0x6633('0x9')]=_0x2fcfa9[_0x6633('0x9')]||_0x6633('0xa');this[_0x6633('0xb')]=_0x2fcfa9[_0x6633('0xb')];this['mapAgentsId']={};this[_0x6633('0xc')]=0x0;this[_0x6633('0x1')]='';this[_0x6633('0xd')]();this[_0x6633('0xe')]();}WhatsappQueue[_0x6633('0xf')][_0x6633('0xd')]=function(){var _0x2f943a=this[_0x6633('0x10')][_0x6633('0x11')];this[_0x6633('0x10')]=_[_0x6633('0x12')](this[_0x6633('0xb')],'id');this[_0x6633('0x10')][_0x6633('0x11')]=_0x2f943a;};WhatsappQueue['prototype'][_0x6633('0xe')]=function(){this[_0x6633('0x13')]=0x0;this[_0x6633('0x14')]=0x0;for(var _0x22625b=0x0;_0x22625b=0x0?this[_0x6633('0x18')]:0x0;var _0x184594={'id':this['id'],'available':this['available'],'loggedIn':this[_0x6633('0x13')],'name':this[_0x6633('0x8')],'paused':this[_0x6633('0x14')],'waiting':this[_0x6633('0xc')]};var _0x33f403=md5(JSON[_0x6633('0x19')](_0x184594));if(this[_0x6633('0x1')]!==_0x33f403){this['md5']=_0x33f403;io['to'](util['format']('whatsapp:queue:%s',_0x184594[_0x6633('0x8')]))['emit'](_0x6633('0x1a'),_0x184594);}};module[_0x6633('0x1b')]=WhatsappQueue; \ No newline at end of file +var _0xcf70=['localhost','socket.io-emitter','name','timeout','strategy','beepall','Agents','waiting','updateRealtime','prototype','updateRouting','mapAgentsId','_rr','map','loggedIn','paused','length','available','stringify','format','whatsapp:queue:%s','whatsapp_queue:save','exports','lodash','md5','util','ioredis','../../../config/environment','redis','defaults'];(function(_0x28866c,_0x501022){var _0x57f6af=function(_0x589e43){while(--_0x589e43){_0x28866c['push'](_0x28866c['shift']());}};_0x57f6af(++_0x501022);}(_0xcf70,0xcb));var _0x0cf7=function(_0x11ec81,_0x318a1d){_0x11ec81=_0x11ec81-0x0;var _0x1c8155=_0xcf70[_0x11ec81];return _0x1c8155;};'use strict';var _=require(_0x0cf7('0x0'));var md5=require(_0x0cf7('0x1'));var util=require(_0x0cf7('0x2'));var Redis=require(_0x0cf7('0x3'));var config=require(_0x0cf7('0x4'));config[_0x0cf7('0x5')]=_[_0x0cf7('0x6')](config[_0x0cf7('0x5')],{'host':_0x0cf7('0x7'),'port':0x18eb});var io=require(_0x0cf7('0x8'))(new Redis(config[_0x0cf7('0x5')]));function WhatsappQueue(_0x116430){this['id']=_0x116430['id']||0x0;this['name']=_0x116430[_0x0cf7('0x9')]||'';this[_0x0cf7('0xa')]=_0x116430[_0x0cf7('0xa')]||0xa;this[_0x0cf7('0xb')]=_0x116430[_0x0cf7('0xb')]||_0x0cf7('0xc');this[_0x0cf7('0xd')]=_0x116430['Agents'];this['mapAgentsId']={};this[_0x0cf7('0xe')]=0x0;this[_0x0cf7('0x1')]='';this['updateRouting']();this[_0x0cf7('0xf')]();}WhatsappQueue[_0x0cf7('0x10')][_0x0cf7('0x11')]=function(){var _0x296c53=this[_0x0cf7('0x12')][_0x0cf7('0x13')];this[_0x0cf7('0x12')]=_[_0x0cf7('0x14')](this[_0x0cf7('0xd')],'id');this[_0x0cf7('0x12')][_0x0cf7('0x13')]=_0x296c53;};WhatsappQueue[_0x0cf7('0x10')]['updateRealtime']=function(){this[_0x0cf7('0x15')]=0x0;this[_0x0cf7('0x16')]=0x0;for(var _0x1a034c=0x0;_0x1a034c=0x0?this[_0x0cf7('0x18')]:0x0;var _0x41265f={'id':this['id'],'available':this[_0x0cf7('0x18')],'loggedIn':this['loggedIn'],'name':this[_0x0cf7('0x9')],'paused':this[_0x0cf7('0x16')],'waiting':this[_0x0cf7('0xe')]};var _0x4ff269=md5(JSON[_0x0cf7('0x19')](_0x41265f));if(this[_0x0cf7('0x1')]!==_0x4ff269){this[_0x0cf7('0x1')]=_0x4ff269;io['to'](util[_0x0cf7('0x1a')](_0x0cf7('0x1b'),_0x41265f[_0x0cf7('0x9')]))['emit'](_0x0cf7('0x1c'),_0x41265f);}};module[_0x0cf7('0x1d')]=WhatsappQueue; \ No newline at end of file diff --git a/server/services/routing/realtime/index.js b/server/services/routing/realtime/index.js index adb1fd4..aa86a34 100644 --- a/server/services/routing/realtime/index.js +++ b/server/services/routing/realtime/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x7fbe=['../model/agent','../model/interval','../model/openchannelQueue','../model/chatQueue','../model/smsQueue','../model/mailQueue','../model/faxQueue','../model/whatsappQueue','agents','intervals','openchannelQueues','chatQueues','mailQueues','faxQueues','whatsappQueues','chatQueuesWaitingInteractions','smsQueuesWaitingInteractions','faxQueuesWaitingInteractions','whatsappQueuesWaitingInteractions','mapKeys','hasOwnProperty','prototype','mergeFromDatabase','initAgents','length','isUndefined','initIntervals','initOpenchannelQueues','updateRouting','updateRealtime','initChatQueues','initSmsQueues','smsQueues','initMailQueues','initFaxQueues','initWhatsappQueues','lodash','moment'];(function(_0x3acbd7,_0x3c2815){var _0x4241ec=function(_0x4eca75){while(--_0x4eca75){_0x3acbd7['push'](_0x3acbd7['shift']());}};_0x4241ec(++_0x3c2815);}(_0x7fbe,0x1ec));var _0xe7fb=function(_0x25b068,_0xb6ac60){_0x25b068=_0x25b068-0x0;var _0xb9f40f=_0x7fbe[_0x25b068];return _0xb9f40f;};'use strict';var BPromise=require('bluebird');var util=require('util');var _=require(_0xe7fb('0x0'));var moment=require(_0xe7fb('0x1'));var Agent=require(_0xe7fb('0x2'));var Interval=require(_0xe7fb('0x3'));var OpenchannelQueue=require(_0xe7fb('0x4'));var ChatQueue=require(_0xe7fb('0x5'));var SmsQueue=require(_0xe7fb('0x6'));var MailQueue=require(_0xe7fb('0x7'));var FaxQueue=require(_0xe7fb('0x8'));var WhatsappQueue=require(_0xe7fb('0x9'));var Realtime=function(){this[_0xe7fb('0xa')]={};this[_0xe7fb('0xb')]={};this[_0xe7fb('0xc')]={};this[_0xe7fb('0xd')]={};this['smsQueues']={};this[_0xe7fb('0xe')]={};this[_0xe7fb('0xf')]={};this[_0xe7fb('0x10')]={};this[_0xe7fb('0x11')]={};this['mailQueuesWaitingInteractions']={};this['openchannelQueuesWaitingInteractions']={};this[_0xe7fb('0x12')]={};this[_0xe7fb('0x13')]={};this[_0xe7fb('0x14')]={};};function freeIsNotKey(_0x348a73,_0x2a2223,_0x42435c){var _0x3e934b=_[_0xe7fb('0x15')](_0x348a73,function(_0x325035,_0x2fe8ab){return _0x325035[_0x42435c];});for(var _0x2437d4 in _0x2a2223){if(_0x2a2223[_0xe7fb('0x16')](_0x2437d4)){if(!_0x3e934b[_0x2437d4]){delete _0x2a2223[_0x2437d4];}}}}Realtime[_0xe7fb('0x17')][_0xe7fb('0x18')]=function(_0x7fe4d3,_0x598729){for(var _0x278b75 in _0x598729){if(_0x7fe4d3[_0xe7fb('0x16')](_0x278b75)){_0x7fe4d3[_0x278b75]=_0x598729[_0x278b75];}}};Realtime['prototype'][_0xe7fb('0x19')]=function(){var _0x37eb9f=this;return function(_0x482f7d){if(_0x482f7d){freeIsNotKey(_0x482f7d,_0x37eb9f[_0xe7fb('0xa')],'id');for(var _0x559129=0x0,_0x12fff6={},_0x18d23c={};_0x559129<_0x482f7d[_0xe7fb('0x1a')];_0x559129+=0x1){_0x12fff6=_0x482f7d[_0x559129];if(_[_0xe7fb('0x1b')](_0x37eb9f['agents'][_0x12fff6['id']])){_0x37eb9f[_0xe7fb('0xa')][_0x12fff6['id']]=new Agent(_0x12fff6);}else{_0x37eb9f['mergeFromDatabase'](_0x37eb9f[_0xe7fb('0xa')][_0x12fff6['id']],_0x12fff6);}}}return _0x37eb9f['agents'];};};Realtime[_0xe7fb('0x17')][_0xe7fb('0x1c')]=function(){var _0x3f96a7=this;return function(_0x182269){if(_0x182269){freeIsNotKey(_0x182269,_0x3f96a7['intervals'],'id');for(var _0x44466e=0x0,_0x5d1c87={},_0x11cae0={};_0x44466e<_0x182269['length'];_0x44466e+=0x1){_0x5d1c87=_0x182269[_0x44466e];if(_[_0xe7fb('0x1b')](_0x3f96a7['intervals'][_0x5d1c87['id']])){_0x3f96a7[_0xe7fb('0xb')][_0x5d1c87['id']]=new Interval(_0x5d1c87);}else{_0x3f96a7[_0xe7fb('0x18')](_0x3f96a7['intervals'][_0x5d1c87['id']],_0x5d1c87);}}}return _0x3f96a7[_0xe7fb('0xb')];};};Realtime[_0xe7fb('0x17')][_0xe7fb('0x1d')]=function(){var _0x4dcb4b=this;return function(_0x469d50){if(_0x469d50){freeIsNotKey(_0x469d50,_0x4dcb4b[_0xe7fb('0xc')],'id');for(var _0x5da3d9=0x0,_0x5bea27={},_0x52f08b={};_0x5da3d9<_0x469d50[_0xe7fb('0x1a')];_0x5da3d9+=0x1){_0x5bea27=_0x469d50[_0x5da3d9];if(_['isUndefined'](_0x4dcb4b['openchannelQueues'][_0x5bea27['id']])){_0x4dcb4b[_0xe7fb('0xc')][_0x5bea27['id']]=new OpenchannelQueue(_0x5bea27);}else{_0x4dcb4b[_0xe7fb('0x18')](_0x4dcb4b[_0xe7fb('0xc')][_0x5bea27['id']],_0x5bea27);}_0x4dcb4b['openchannelQueues'][_0x5bea27['id']][_0xe7fb('0x1e')]();_0x4dcb4b[_0xe7fb('0xc')][_0x5bea27['id']][_0xe7fb('0x1f')]();}}return _0x4dcb4b[_0xe7fb('0xc')];};};Realtime[_0xe7fb('0x17')][_0xe7fb('0x20')]=function(){var _0x380130=this;return function(_0x59e015){if(_0x59e015){freeIsNotKey(_0x59e015,_0x380130['chatQueues'],'id');for(var _0x1086e6=0x0,_0x3bdee9={},_0xead63={};_0x1086e6<_0x59e015['length'];_0x1086e6+=0x1){_0x3bdee9=_0x59e015[_0x1086e6];if(_[_0xe7fb('0x1b')](_0x380130[_0xe7fb('0xd')][_0x3bdee9['id']])){_0x380130[_0xe7fb('0xd')][_0x3bdee9['id']]=new ChatQueue(_0x3bdee9);}else{_0x380130[_0xe7fb('0x18')](_0x380130[_0xe7fb('0xd')][_0x3bdee9['id']],_0x3bdee9);}_0x380130[_0xe7fb('0xd')][_0x3bdee9['id']][_0xe7fb('0x1e')]();_0x380130[_0xe7fb('0xd')][_0x3bdee9['id']]['updateRealtime']();}}return _0x380130[_0xe7fb('0xd')];};};Realtime[_0xe7fb('0x17')][_0xe7fb('0x21')]=function(){var _0x547a04=this;return function(_0x517d70){if(_0x517d70){freeIsNotKey(_0x517d70,_0x547a04[_0xe7fb('0x22')],'id');for(var _0x4a9fea=0x0,_0xac56b4={},_0x2f8774={};_0x4a9fea<_0x517d70[_0xe7fb('0x1a')];_0x4a9fea+=0x1){_0xac56b4=_0x517d70[_0x4a9fea];if(_[_0xe7fb('0x1b')](_0x547a04['smsQueues'][_0xac56b4['id']])){_0x547a04[_0xe7fb('0x22')][_0xac56b4['id']]=new SmsQueue(_0xac56b4);}else{_0x547a04[_0xe7fb('0x18')](_0x547a04[_0xe7fb('0x22')][_0xac56b4['id']],_0xac56b4);}_0x547a04[_0xe7fb('0x22')][_0xac56b4['id']][_0xe7fb('0x1e')]();_0x547a04['smsQueues'][_0xac56b4['id']][_0xe7fb('0x1f')]();}}return _0x547a04[_0xe7fb('0x22')];};};Realtime[_0xe7fb('0x17')][_0xe7fb('0x23')]=function(){var _0x46f430=this;return function(_0x25e925){if(_0x25e925){freeIsNotKey(_0x25e925,_0x46f430[_0xe7fb('0xe')],'id');for(var _0x147eb1=0x0,_0x389903={},_0x59f9df={};_0x147eb1<_0x25e925[_0xe7fb('0x1a')];_0x147eb1+=0x1){_0x389903=_0x25e925[_0x147eb1];if(_[_0xe7fb('0x1b')](_0x46f430[_0xe7fb('0xe')][_0x389903['id']])){_0x46f430['mailQueues'][_0x389903['id']]=new MailQueue(_0x389903);}else{_0x46f430[_0xe7fb('0x18')](_0x46f430[_0xe7fb('0xe')][_0x389903['id']],_0x389903);}_0x46f430[_0xe7fb('0xe')][_0x389903['id']][_0xe7fb('0x1e')]();_0x46f430[_0xe7fb('0xe')][_0x389903['id']][_0xe7fb('0x1f')]();}}return _0x46f430[_0xe7fb('0xe')];};};Realtime[_0xe7fb('0x17')][_0xe7fb('0x24')]=function(){var _0xebfe1d=this;return function(_0x29c34a){if(_0x29c34a){freeIsNotKey(_0x29c34a,_0xebfe1d[_0xe7fb('0xf')],'id');for(var _0x1544f2=0x0,_0x1c81fe={},_0xeb7c29={};_0x1544f2<_0x29c34a[_0xe7fb('0x1a')];_0x1544f2+=0x1){_0x1c81fe=_0x29c34a[_0x1544f2];if(_[_0xe7fb('0x1b')](_0xebfe1d[_0xe7fb('0xf')][_0x1c81fe['id']])){_0xebfe1d[_0xe7fb('0xf')][_0x1c81fe['id']]=new FaxQueue(_0x1c81fe);}else{_0xebfe1d['mergeFromDatabase'](_0xebfe1d[_0xe7fb('0xf')][_0x1c81fe['id']],_0x1c81fe);}_0xebfe1d[_0xe7fb('0xf')][_0x1c81fe['id']][_0xe7fb('0x1e')]();_0xebfe1d[_0xe7fb('0xf')][_0x1c81fe['id']]['updateRealtime']();}}return _0xebfe1d[_0xe7fb('0xf')];};};Realtime[_0xe7fb('0x17')][_0xe7fb('0x25')]=function(){var _0x413a13=this;return function(_0x49fe9d){if(_0x49fe9d){freeIsNotKey(_0x49fe9d,_0x413a13[_0xe7fb('0x10')],'id');for(var _0x451a6c=0x0,_0x34265f={},_0x62a8a1={};_0x451a6c<_0x49fe9d[_0xe7fb('0x1a')];_0x451a6c+=0x1){_0x34265f=_0x49fe9d[_0x451a6c];if(_[_0xe7fb('0x1b')](_0x413a13['whatsappQueues'][_0x34265f['id']])){_0x413a13[_0xe7fb('0x10')][_0x34265f['id']]=new WhatsappQueue(_0x34265f);}else{_0x413a13[_0xe7fb('0x18')](_0x413a13[_0xe7fb('0x10')][_0x34265f['id']],_0x34265f);}_0x413a13['whatsappQueues'][_0x34265f['id']][_0xe7fb('0x1e')]();_0x413a13[_0xe7fb('0x10')][_0x34265f['id']]['updateRealtime']();}}return _0x413a13['whatsappQueues'];};};module['exports']=Realtime; \ No newline at end of file +var _0xf3cd=['../model/interval','../model/chatQueue','../model/smsQueue','../model/mailQueue','../model/whatsappQueue','agents','intervals','openchannelQueues','chatQueues','smsQueues','faxQueues','mailQueuesWaitingInteractions','openchannelQueuesWaitingInteractions','faxQueuesWaitingInteractions','whatsappQueuesWaitingInteractions','mapKeys','hasOwnProperty','prototype','mergeFromDatabase','initAgents','length','isUndefined','initIntervals','initOpenchannelQueues','updateRouting','updateRealtime','initChatQueues','initSmsQueues','mailQueues','initFaxQueues','initWhatsappQueues','whatsappQueues','bluebird','util','lodash','moment','../model/agent'];(function(_0x32eb0c,_0x9a02fd){var _0x54b571=function(_0x454c22){while(--_0x454c22){_0x32eb0c['push'](_0x32eb0c['shift']());}};_0x54b571(++_0x9a02fd);}(_0xf3cd,0xfe));var _0xdf3c=function(_0x297eea,_0x5060be){_0x297eea=_0x297eea-0x0;var _0x1c42d2=_0xf3cd[_0x297eea];return _0x1c42d2;};'use strict';var BPromise=require(_0xdf3c('0x0'));var util=require(_0xdf3c('0x1'));var _=require(_0xdf3c('0x2'));var moment=require(_0xdf3c('0x3'));var Agent=require(_0xdf3c('0x4'));var Interval=require(_0xdf3c('0x5'));var OpenchannelQueue=require('../model/openchannelQueue');var ChatQueue=require(_0xdf3c('0x6'));var SmsQueue=require(_0xdf3c('0x7'));var MailQueue=require(_0xdf3c('0x8'));var FaxQueue=require('../model/faxQueue');var WhatsappQueue=require(_0xdf3c('0x9'));var Realtime=function(){this[_0xdf3c('0xa')]={};this[_0xdf3c('0xb')]={};this[_0xdf3c('0xc')]={};this[_0xdf3c('0xd')]={};this[_0xdf3c('0xe')]={};this['mailQueues']={};this[_0xdf3c('0xf')]={};this['whatsappQueues']={};this['chatQueuesWaitingInteractions']={};this[_0xdf3c('0x10')]={};this[_0xdf3c('0x11')]={};this['smsQueuesWaitingInteractions']={};this[_0xdf3c('0x12')]={};this[_0xdf3c('0x13')]={};};function freeIsNotKey(_0x2d420c,_0x21a6e5,_0x3a3154){var _0x1c456b=_[_0xdf3c('0x14')](_0x2d420c,function(_0x32d2db,_0x5e8925){return _0x32d2db[_0x3a3154];});for(var _0x1d483c in _0x21a6e5){if(_0x21a6e5[_0xdf3c('0x15')](_0x1d483c)){if(!_0x1c456b[_0x1d483c]){delete _0x21a6e5[_0x1d483c];}}}}Realtime[_0xdf3c('0x16')][_0xdf3c('0x17')]=function(_0x59e431,_0x2ae4ad){for(var _0x461079 in _0x2ae4ad){if(_0x59e431[_0xdf3c('0x15')](_0x461079)){_0x59e431[_0x461079]=_0x2ae4ad[_0x461079];}}};Realtime['prototype'][_0xdf3c('0x18')]=function(){var _0x38b01d=this;return function(_0x173041){if(_0x173041){freeIsNotKey(_0x173041,_0x38b01d[_0xdf3c('0xa')],'id');for(var _0x21e587=0x0,_0x1a7a5a={},_0x305ea5={};_0x21e587<_0x173041[_0xdf3c('0x19')];_0x21e587+=0x1){_0x1a7a5a=_0x173041[_0x21e587];if(_[_0xdf3c('0x1a')](_0x38b01d[_0xdf3c('0xa')][_0x1a7a5a['id']])){_0x38b01d['agents'][_0x1a7a5a['id']]=new Agent(_0x1a7a5a);}else{_0x38b01d[_0xdf3c('0x17')](_0x38b01d[_0xdf3c('0xa')][_0x1a7a5a['id']],_0x1a7a5a);}}}return _0x38b01d[_0xdf3c('0xa')];};};Realtime[_0xdf3c('0x16')][_0xdf3c('0x1b')]=function(){var _0x113b56=this;return function(_0x16b02b){if(_0x16b02b){freeIsNotKey(_0x16b02b,_0x113b56[_0xdf3c('0xb')],'id');for(var _0x426f3a=0x0,_0x18fb5f={},_0x267488={};_0x426f3a<_0x16b02b[_0xdf3c('0x19')];_0x426f3a+=0x1){_0x18fb5f=_0x16b02b[_0x426f3a];if(_[_0xdf3c('0x1a')](_0x113b56['intervals'][_0x18fb5f['id']])){_0x113b56['intervals'][_0x18fb5f['id']]=new Interval(_0x18fb5f);}else{_0x113b56[_0xdf3c('0x17')](_0x113b56['intervals'][_0x18fb5f['id']],_0x18fb5f);}}}return _0x113b56[_0xdf3c('0xb')];};};Realtime[_0xdf3c('0x16')][_0xdf3c('0x1c')]=function(){var _0x38b319=this;return function(_0x33652f){if(_0x33652f){freeIsNotKey(_0x33652f,_0x38b319[_0xdf3c('0xc')],'id');for(var _0x50d8ca=0x0,_0x22a164={},_0x213d75={};_0x50d8ca<_0x33652f[_0xdf3c('0x19')];_0x50d8ca+=0x1){_0x22a164=_0x33652f[_0x50d8ca];if(_[_0xdf3c('0x1a')](_0x38b319[_0xdf3c('0xc')][_0x22a164['id']])){_0x38b319[_0xdf3c('0xc')][_0x22a164['id']]=new OpenchannelQueue(_0x22a164);}else{_0x38b319[_0xdf3c('0x17')](_0x38b319[_0xdf3c('0xc')][_0x22a164['id']],_0x22a164);}_0x38b319[_0xdf3c('0xc')][_0x22a164['id']][_0xdf3c('0x1d')]();_0x38b319['openchannelQueues'][_0x22a164['id']][_0xdf3c('0x1e')]();}}return _0x38b319[_0xdf3c('0xc')];};};Realtime['prototype'][_0xdf3c('0x1f')]=function(){var _0x59659e=this;return function(_0x4eaced){if(_0x4eaced){freeIsNotKey(_0x4eaced,_0x59659e['chatQueues'],'id');for(var _0x14aac9=0x0,_0x186bba={},_0x52b8f6={};_0x14aac9<_0x4eaced['length'];_0x14aac9+=0x1){_0x186bba=_0x4eaced[_0x14aac9];if(_[_0xdf3c('0x1a')](_0x59659e[_0xdf3c('0xd')][_0x186bba['id']])){_0x59659e[_0xdf3c('0xd')][_0x186bba['id']]=new ChatQueue(_0x186bba);}else{_0x59659e[_0xdf3c('0x17')](_0x59659e['chatQueues'][_0x186bba['id']],_0x186bba);}_0x59659e[_0xdf3c('0xd')][_0x186bba['id']][_0xdf3c('0x1d')]();_0x59659e['chatQueues'][_0x186bba['id']]['updateRealtime']();}}return _0x59659e[_0xdf3c('0xd')];};};Realtime[_0xdf3c('0x16')][_0xdf3c('0x20')]=function(){var _0x540f3a=this;return function(_0x2355f6){if(_0x2355f6){freeIsNotKey(_0x2355f6,_0x540f3a[_0xdf3c('0xe')],'id');for(var _0x21e7b8=0x0,_0x10099e={},_0x575ae1={};_0x21e7b8<_0x2355f6[_0xdf3c('0x19')];_0x21e7b8+=0x1){_0x10099e=_0x2355f6[_0x21e7b8];if(_[_0xdf3c('0x1a')](_0x540f3a['smsQueues'][_0x10099e['id']])){_0x540f3a[_0xdf3c('0xe')][_0x10099e['id']]=new SmsQueue(_0x10099e);}else{_0x540f3a[_0xdf3c('0x17')](_0x540f3a[_0xdf3c('0xe')][_0x10099e['id']],_0x10099e);}_0x540f3a[_0xdf3c('0xe')][_0x10099e['id']]['updateRouting']();_0x540f3a[_0xdf3c('0xe')][_0x10099e['id']][_0xdf3c('0x1e')]();}}return _0x540f3a[_0xdf3c('0xe')];};};Realtime[_0xdf3c('0x16')]['initMailQueues']=function(){var _0x474564=this;return function(_0x3e7a4b){if(_0x3e7a4b){freeIsNotKey(_0x3e7a4b,_0x474564['mailQueues'],'id');for(var _0x4f68f9=0x0,_0x12cc19={},_0x588d02={};_0x4f68f9<_0x3e7a4b[_0xdf3c('0x19')];_0x4f68f9+=0x1){_0x12cc19=_0x3e7a4b[_0x4f68f9];if(_['isUndefined'](_0x474564['mailQueues'][_0x12cc19['id']])){_0x474564['mailQueues'][_0x12cc19['id']]=new MailQueue(_0x12cc19);}else{_0x474564[_0xdf3c('0x17')](_0x474564[_0xdf3c('0x21')][_0x12cc19['id']],_0x12cc19);}_0x474564[_0xdf3c('0x21')][_0x12cc19['id']][_0xdf3c('0x1d')]();_0x474564['mailQueues'][_0x12cc19['id']]['updateRealtime']();}}return _0x474564[_0xdf3c('0x21')];};};Realtime['prototype'][_0xdf3c('0x22')]=function(){var _0x17b502=this;return function(_0x3628ae){if(_0x3628ae){freeIsNotKey(_0x3628ae,_0x17b502[_0xdf3c('0xf')],'id');for(var _0x1004e9=0x0,_0x1e0cf2={},_0x1c7335={};_0x1004e9<_0x3628ae[_0xdf3c('0x19')];_0x1004e9+=0x1){_0x1e0cf2=_0x3628ae[_0x1004e9];if(_[_0xdf3c('0x1a')](_0x17b502['faxQueues'][_0x1e0cf2['id']])){_0x17b502[_0xdf3c('0xf')][_0x1e0cf2['id']]=new FaxQueue(_0x1e0cf2);}else{_0x17b502['mergeFromDatabase'](_0x17b502['faxQueues'][_0x1e0cf2['id']],_0x1e0cf2);}_0x17b502[_0xdf3c('0xf')][_0x1e0cf2['id']]['updateRouting']();_0x17b502[_0xdf3c('0xf')][_0x1e0cf2['id']]['updateRealtime']();}}return _0x17b502[_0xdf3c('0xf')];};};Realtime[_0xdf3c('0x16')][_0xdf3c('0x23')]=function(){var _0x1349a4=this;return function(_0x3098cb){if(_0x3098cb){freeIsNotKey(_0x3098cb,_0x1349a4[_0xdf3c('0x24')],'id');for(var _0x736ef5=0x0,_0x3d47fb={},_0x3cf131={};_0x736ef5<_0x3098cb[_0xdf3c('0x19')];_0x736ef5+=0x1){_0x3d47fb=_0x3098cb[_0x736ef5];if(_[_0xdf3c('0x1a')](_0x1349a4[_0xdf3c('0x24')][_0x3d47fb['id']])){_0x1349a4['whatsappQueues'][_0x3d47fb['id']]=new WhatsappQueue(_0x3d47fb);}else{_0x1349a4['mergeFromDatabase'](_0x1349a4[_0xdf3c('0x24')][_0x3d47fb['id']],_0x3d47fb);}_0x1349a4['whatsappQueues'][_0x3d47fb['id']][_0xdf3c('0x1d')]();_0x1349a4[_0xdf3c('0x24')][_0x3d47fb['id']][_0xdf3c('0x1e')]();}}return _0x1349a4[_0xdf3c('0x24')];};};module['exports']=Realtime; \ No newline at end of file diff --git a/server/services/routing/rpc/chatInteraction.js b/server/services/routing/rpc/chatInteraction.js index ea1e8e9..e38beec 100644 --- a/server/services/routing/rpc/chatInteraction.js +++ b/server/services/routing/rpc/chatInteraction.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xd3f6=['updateChatInteraction','addTags','addTagsToChatInteraction','../client','update','Request','UpdateChatInteraction'];(function(_0x46ce14,_0x4f7796){var _0x1f15f0=function(_0x314f19){while(--_0x314f19){_0x46ce14['push'](_0x46ce14['shift']());}};_0x1f15f0(++_0x4f7796);}(_0xd3f6,0x81));var _0x6d3f=function(_0x431ff8,_0x4085dd){_0x431ff8=_0x431ff8-0x0;var _0x84ccd4=_0xd3f6[_0x431ff8];return _0x84ccd4;};'use strict';var client=require(_0x6d3f('0x0'));exports[_0x6d3f('0x1')]=function(_0x4380d6,_0x372243){return client[_0x6d3f('0x2')](_0x6d3f('0x3'),{'body':_0x372243,'options':{'where':{'id':_0x4380d6}},'log':_0x6d3f('0x4')});};exports[_0x6d3f('0x5')]=function(_0x224dbf,_0x43c8c8){return client[_0x6d3f('0x2')]('AddTagsToChatInteraction',{'body':_0x43c8c8,'options':{'where':{'id':_0x224dbf}},'log':_0x6d3f('0x6')});}; \ No newline at end of file +var _0xb9d6=['UpdateChatInteraction','addTags','Request','AddTagsToChatInteraction','addTagsToChatInteraction','../client'];(function(_0x1d1360,_0x2853bf){var _0x52ec85=function(_0x5856e7){while(--_0x5856e7){_0x1d1360['push'](_0x1d1360['shift']());}};_0x52ec85(++_0x2853bf);}(_0xb9d6,0x1a9));var _0x6b9d=function(_0x58676f,_0x129c57){_0x58676f=_0x58676f-0x0;var _0x349063=_0xb9d6[_0x58676f];return _0x349063;};'use strict';var client=require(_0x6b9d('0x0'));exports['update']=function(_0x40dd49,_0x565e50){return client['Request'](_0x6b9d('0x1'),{'body':_0x565e50,'options':{'where':{'id':_0x40dd49}},'log':'updateChatInteraction'});};exports[_0x6b9d('0x2')]=function(_0x4a51e7,_0x570dc5){return client[_0x6b9d('0x3')](_0x6b9d('0x4'),{'body':_0x570dc5,'options':{'where':{'id':_0x4a51e7}},'log':_0x6b9d('0x5')});}; \ No newline at end of file diff --git a/server/services/routing/rpc/chatMessage.js b/server/services/routing/rpc/chatMessage.js index c9b2763..340243f 100644 --- a/server/services/routing/rpc/chatMessage.js +++ b/server/services/routing/rpc/chatMessage.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x652d=['../client','create','Request','CreateChatMessage','createChatMessage'];(function(_0x231a47,_0x46a963){var _0x48d7c9=function(_0x1e69b1){while(--_0x1e69b1){_0x231a47['push'](_0x231a47['shift']());}};_0x48d7c9(++_0x46a963);}(_0x652d,0xc8));var _0xd652=function(_0x19e35c,_0x29cd1e){_0x19e35c=_0x19e35c-0x0;var _0x3e1fe8=_0x652d[_0x19e35c];return _0x3e1fe8;};'use strict';var client=require(_0xd652('0x0'));exports[_0xd652('0x1')]=function(_0x1cc895){return client[_0xd652('0x2')](_0xd652('0x3'),{'body':_0x1cc895,'log':_0xd652('0x4')});}; \ No newline at end of file +var _0x7494=['../client','Request','CreateChatMessage','createChatMessage'];(function(_0x4a7bfc,_0x326250){var _0x370341=function(_0xbccb5e){while(--_0xbccb5e){_0x4a7bfc['push'](_0x4a7bfc['shift']());}};_0x370341(++_0x326250);}(_0x7494,0x198));var _0x4749=function(_0x51fae4,_0x1c1ac3){_0x51fae4=_0x51fae4-0x0;var _0x25436e=_0x7494[_0x51fae4];return _0x25436e;};'use strict';var client=require(_0x4749('0x0'));exports['create']=function(_0x55574a){return client[_0x4749('0x1')](_0x4749('0x2'),{'body':_0x55574a,'log':_0x4749('0x3')});}; \ No newline at end of file diff --git a/server/services/routing/rpc/chatQueue.js b/server/services/routing/rpc/chatQueue.js index 8a4e545..b6d9c76 100644 --- a/server/services/routing/rpc/chatQueue.js +++ b/server/services/routing/rpc/chatQueue.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x40fd=['online','chatPause','../client','getChatQueues','Request','GetChatQueue','name','timeout','strategy','User','Agents'];(function(_0x2718c7,_0x5a1636){var _0x59d89c=function(_0x4d4f49){while(--_0x4d4f49){_0x2718c7['push'](_0x2718c7['shift']());}};_0x59d89c(++_0x5a1636);}(_0x40fd,0x199));var _0xd40f=function(_0x17b6e3,_0x4522ed){_0x17b6e3=_0x17b6e3-0x0;var _0x3906f3=_0x40fd[_0x17b6e3];return _0x3906f3;};'use strict';var client=require(_0xd40f('0x0'));exports[_0xd40f('0x1')]=function(){return function(){return client[_0xd40f('0x2')](_0xd40f('0x3'),{'options':{'raw':![],'attributes':['id',_0xd40f('0x4'),_0xd40f('0x5'),_0xd40f('0x6')],'include':[{'model':_0xd40f('0x7'),'as':_0xd40f('0x8'),'attributes':['id','name',_0xd40f('0x9'),_0xd40f('0xa')]}]},'log':_0xd40f('0x1')});};}; \ No newline at end of file +var _0xd318=['Agents','online','../client','getChatQueues','Request','GetChatQueue','name','timeout','User'];(function(_0x13f980,_0x1e1c56){var _0x27153c=function(_0x3953d5){while(--_0x3953d5){_0x13f980['push'](_0x13f980['shift']());}};_0x27153c(++_0x1e1c56);}(_0xd318,0xd1));var _0x8d31=function(_0xa464c9,_0x7c86d8){_0xa464c9=_0xa464c9-0x0;var _0x3d73c4=_0xd318[_0xa464c9];return _0x3d73c4;};'use strict';var client=require(_0x8d31('0x0'));exports[_0x8d31('0x1')]=function(){return function(){return client[_0x8d31('0x2')](_0x8d31('0x3'),{'options':{'raw':![],'attributes':['id',_0x8d31('0x4'),_0x8d31('0x5'),'strategy'],'include':[{'model':_0x8d31('0x6'),'as':_0x8d31('0x7'),'attributes':['id',_0x8d31('0x4'),_0x8d31('0x8'),'chatPause']}]},'log':'getChatQueues'});};}; \ No newline at end of file diff --git a/server/services/routing/rpc/chatQueueReport.js b/server/services/routing/rpc/chatQueueReport.js index 6c71bf8..7431d8d 100644 --- a/server/services/routing/rpc/chatQueueReport.js +++ b/server/services/routing/rpc/chatQueueReport.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x7846=['CreateChatQueueReport','update','UpdateChatQueueReport','DESC','create','Request'];(function(_0x1f54cf,_0x152664){var _0x1da36a=function(_0x560756){while(--_0x560756){_0x1f54cf['push'](_0x1f54cf['shift']());}};_0x1da36a(++_0x152664);}(_0x7846,0xf4));var _0x6784=function(_0x1416fc,_0x72e155){_0x1416fc=_0x1416fc-0x0;var _0x3a4b34=_0x7846[_0x1416fc];return _0x3a4b34;};'use strict';var client=require('../client');exports[_0x6784('0x0')]=function(_0x2c4fd7){return client[_0x6784('0x1')](_0x6784('0x2'),{'body':_0x2c4fd7,'log':_0x6784('0x2')});};exports[_0x6784('0x3')]=function(_0x479b0a,_0x13ba3e){return client[_0x6784('0x1')](_0x6784('0x4'),{'body':_0x13ba3e,'options':{'where':{'uniqueid':_0x479b0a},'order':[['id',_0x6784('0x5')]],'limit':0x1},'log':_0x6784('0x4')});}; \ No newline at end of file +var _0x79d8=['UpdateChatQueueReport','../client','create','Request','CreateChatQueueReport','update'];(function(_0x42245d,_0x51758f){var _0x4b211a=function(_0x2634e){while(--_0x2634e){_0x42245d['push'](_0x42245d['shift']());}};_0x4b211a(++_0x51758f);}(_0x79d8,0x67));var _0x879d=function(_0x19c3ec,_0x37ff3c){_0x19c3ec=_0x19c3ec-0x0;var _0x58fd48=_0x79d8[_0x19c3ec];return _0x58fd48;};'use strict';var client=require(_0x879d('0x0'));exports[_0x879d('0x1')]=function(_0xc4fa1e){return client[_0x879d('0x2')]('CreateChatQueueReport',{'body':_0xc4fa1e,'log':_0x879d('0x3')});};exports[_0x879d('0x4')]=function(_0x52d8df,_0x2b38f9){return client[_0x879d('0x2')](_0x879d('0x5'),{'body':_0x2b38f9,'options':{'where':{'uniqueid':_0x52d8df},'order':[['id','DESC']],'limit':0x1},'log':_0x879d('0x5')});}; \ No newline at end of file diff --git a/server/services/routing/rpc/faxInteraction.js b/server/services/routing/rpc/faxInteraction.js index 04a36f5..e73d622 100644 --- a/server/services/routing/rpc/faxInteraction.js +++ b/server/services/routing/rpc/faxInteraction.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xc699=['AddTagsToFaxInteraction','addTagsToFaxInteraction','UpdateFaxInteraction','updateFaxInteraction'];(function(_0x372d5d,_0x29cb1b){var _0x45c2b3=function(_0x11aec3){while(--_0x11aec3){_0x372d5d['push'](_0x372d5d['shift']());}};_0x45c2b3(++_0x29cb1b);}(_0xc699,0xa6));var _0x9c69=function(_0x3b20c2,_0x888661){_0x3b20c2=_0x3b20c2-0x0;var _0x5b4482=_0xc699[_0x3b20c2];return _0x5b4482;};'use strict';var client=require('../client');exports['update']=function(_0x4342bb,_0x1245e5){return client['Request'](_0x9c69('0x0'),{'body':_0x1245e5,'options':{'where':{'id':_0x4342bb}},'log':_0x9c69('0x1')});};exports['addTags']=function(_0x15e5b9,_0x22a009){return client['Request'](_0x9c69('0x2'),{'body':_0x22a009,'options':{'where':{'id':_0x15e5b9}},'log':_0x9c69('0x3')});}; \ No newline at end of file +var _0x82d5=['updateFaxInteraction','Request','AddTagsToFaxInteraction','update'];(function(_0x2c7618,_0x26be9c){var _0x5ce3f0=function(_0x1837b3){while(--_0x1837b3){_0x2c7618['push'](_0x2c7618['shift']());}};_0x5ce3f0(++_0x26be9c);}(_0x82d5,0x1e7));var _0x582d=function(_0x1d7907,_0x131382){_0x1d7907=_0x1d7907-0x0;var _0x4656fa=_0x82d5[_0x1d7907];return _0x4656fa;};'use strict';var client=require('../client');exports[_0x582d('0x0')]=function(_0x4283b0,_0x174bc5){return client['Request']('UpdateFaxInteraction',{'body':_0x174bc5,'options':{'where':{'id':_0x4283b0}},'log':_0x582d('0x1')});};exports['addTags']=function(_0x3a093e,_0xd8e3f2){return client[_0x582d('0x2')](_0x582d('0x3'),{'body':_0xd8e3f2,'options':{'where':{'id':_0x3a093e}},'log':'addTagsToFaxInteraction'});}; \ No newline at end of file diff --git a/server/services/routing/rpc/faxMessage.js b/server/services/routing/rpc/faxMessage.js index a9412c7..ea77378 100644 --- a/server/services/routing/rpc/faxMessage.js +++ b/server/services/routing/rpc/faxMessage.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x621f=['../client','create','Request','CreateFaxMessage','createFaxMessage'];(function(_0x59ee6f,_0x450239){var _0x4c0979=function(_0x565e92){while(--_0x565e92){_0x59ee6f['push'](_0x59ee6f['shift']());}};_0x4c0979(++_0x450239);}(_0x621f,0x1bd));var _0xf621=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x621f[_0x3dd15e];return _0x231fd0;};'use strict';var client=require(_0xf621('0x0'));exports[_0xf621('0x1')]=function(_0x130d6b){return client[_0xf621('0x2')](_0xf621('0x3'),{'body':_0x130d6b,'log':_0xf621('0x4')});}; \ No newline at end of file +var _0xec93=['CreateFaxMessage','createFaxMessage','create','Request'];(function(_0x315eb0,_0x2e5a97){var _0x274681=function(_0xf02b91){while(--_0xf02b91){_0x315eb0['push'](_0x315eb0['shift']());}};_0x274681(++_0x2e5a97);}(_0xec93,0x17e));var _0x3ec9=function(_0x58977a,_0x2916d3){_0x58977a=_0x58977a-0x0;var _0x10dda1=_0xec93[_0x58977a];return _0x10dda1;};'use strict';var client=require('../client');exports[_0x3ec9('0x0')]=function(_0x4bb444){return client[_0x3ec9('0x1')](_0x3ec9('0x2'),{'body':_0x4bb444,'log':_0x3ec9('0x3')});}; \ No newline at end of file diff --git a/server/services/routing/rpc/faxQueue.js b/server/services/routing/rpc/faxQueue.js index 13cd899..4060119 100644 --- a/server/services/routing/rpc/faxQueue.js +++ b/server/services/routing/rpc/faxQueue.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x6310=['../client','getFaxQueues','GetFaxQueue','name','strategy','User'];(function(_0x11f75e,_0x10a020){var _0x11f58a=function(_0x3a0339){while(--_0x3a0339){_0x11f75e['push'](_0x11f75e['shift']());}};_0x11f58a(++_0x10a020);}(_0x6310,0xf0));var _0x0631=function(_0x1f9f37,_0x18776e){_0x1f9f37=_0x1f9f37-0x0;var _0x21c080=_0x6310[_0x1f9f37];return _0x21c080;};'use strict';var client=require(_0x0631('0x0'));exports[_0x0631('0x1')]=function(){return function(){return client['Request'](_0x0631('0x2'),{'options':{'raw':![],'attributes':['id',_0x0631('0x3'),'timeout',_0x0631('0x4')],'include':[{'model':_0x0631('0x5'),'as':'Agents','attributes':['id',_0x0631('0x3'),'online','faxPause']}]},'log':_0x0631('0x1')});};}; \ No newline at end of file +var _0x0756=['Agents','online','../client','getFaxQueues','name','timeout','strategy','User'];(function(_0x329feb,_0x1bf151){var _0x5906f8=function(_0x3da955){while(--_0x3da955){_0x329feb['push'](_0x329feb['shift']());}};_0x5906f8(++_0x1bf151);}(_0x0756,0x9a));var _0x6075=function(_0x122096,_0x60c295){_0x122096=_0x122096-0x0;var _0x3d1966=_0x0756[_0x122096];return _0x3d1966;};'use strict';var client=require(_0x6075('0x0'));exports[_0x6075('0x1')]=function(){return function(){return client['Request']('GetFaxQueue',{'options':{'raw':![],'attributes':['id',_0x6075('0x2'),_0x6075('0x3'),_0x6075('0x4')],'include':[{'model':_0x6075('0x5'),'as':_0x6075('0x6'),'attributes':['id','name',_0x6075('0x7'),'faxPause']}]},'log':_0x6075('0x1')});};}; \ No newline at end of file diff --git a/server/services/routing/rpc/faxQueueReport.js b/server/services/routing/rpc/faxQueueReport.js index d23eac8..c0f5e9c 100644 --- a/server/services/routing/rpc/faxQueueReport.js +++ b/server/services/routing/rpc/faxQueueReport.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xdfe9=['update','UpdateFaxQueueReport','DESC','../client','create','Request','CreateFaxQueueReport'];(function(_0x1738c5,_0x3987a1){var _0x54a4bd=function(_0x3e83ea){while(--_0x3e83ea){_0x1738c5['push'](_0x1738c5['shift']());}};_0x54a4bd(++_0x3987a1);}(_0xdfe9,0x199));var _0x9dfe=function(_0x51f3b6,_0x482385){_0x51f3b6=_0x51f3b6-0x0;var _0x85359d=_0xdfe9[_0x51f3b6];return _0x85359d;};'use strict';var client=require(_0x9dfe('0x0'));exports[_0x9dfe('0x1')]=function(_0x1372ca){return client[_0x9dfe('0x2')](_0x9dfe('0x3'),{'body':_0x1372ca,'log':_0x9dfe('0x3')});};exports[_0x9dfe('0x4')]=function(_0x276cd8,_0x545dbf){return client[_0x9dfe('0x2')](_0x9dfe('0x5'),{'body':_0x545dbf,'options':{'where':{'uniqueid':_0x276cd8},'order':[['id',_0x9dfe('0x6')]],'limit':0x1},'log':'UpdateFaxQueueReport'});}; \ No newline at end of file +var _0x979e=['CreateFaxQueueReport','update','DESC','../client','create','Request'];(function(_0x454e4f,_0x59ab7c){var _0x26965d=function(_0x140695){while(--_0x140695){_0x454e4f['push'](_0x454e4f['shift']());}};_0x26965d(++_0x59ab7c);}(_0x979e,0x195));var _0xe979=function(_0x2755e7,_0x3587be){_0x2755e7=_0x2755e7-0x0;var _0x3bf110=_0x979e[_0x2755e7];return _0x3bf110;};'use strict';var client=require(_0xe979('0x0'));exports[_0xe979('0x1')]=function(_0x269f34){return client[_0xe979('0x2')]('CreateFaxQueueReport',{'body':_0x269f34,'log':_0xe979('0x3')});};exports[_0xe979('0x4')]=function(_0x386036,_0x3b4b06){return client[_0xe979('0x2')]('UpdateFaxQueueReport',{'body':_0x3b4b06,'options':{'where':{'uniqueid':_0x386036},'order':[['id',_0xe979('0x5')]],'limit':0x1},'log':'UpdateFaxQueueReport'});}; \ No newline at end of file diff --git a/server/services/routing/rpc/interval.js b/server/services/routing/rpc/interval.js index 27e3520..3804167 100644 --- a/server/services/routing/rpc/interval.js +++ b/server/services/routing/rpc/interval.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x6215=['Intervals','interval','../client','getIntervals','Request','name','Interval'];(function(_0x432682,_0x253044){var _0x463d05=function(_0xa73403){while(--_0xa73403){_0x432682['push'](_0x432682['shift']());}};_0x463d05(++_0x253044);}(_0x6215,0x198));var _0x5621=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x6215[_0x3dd15e];return _0x231fd0;};'use strict';var client=require(_0x5621('0x0'));exports[_0x5621('0x1')]=function(){return function(){return client[_0x5621('0x2')]('GetInterval',{'options':{'raw':![],'where':{'IntervalId':null},'attributes':['id',_0x5621('0x3')],'include':[{'model':_0x5621('0x4'),'as':_0x5621('0x5'),'attributes':['id',_0x5621('0x3'),_0x5621('0x6')]}]},'log':_0x5621('0x1')});};}; \ No newline at end of file +var _0x9434=['name','Interval','interval','../client','getIntervals','Request','GetInterval'];(function(_0x46b456,_0x34f692){var _0x251832=function(_0x54e18d){while(--_0x54e18d){_0x46b456['push'](_0x46b456['shift']());}};_0x251832(++_0x34f692);}(_0x9434,0x168));var _0x4943=function(_0x41edd4,_0x522351){_0x41edd4=_0x41edd4-0x0;var _0x349b9e=_0x9434[_0x41edd4];return _0x349b9e;};'use strict';var client=require(_0x4943('0x0'));exports[_0x4943('0x1')]=function(){return function(){return client[_0x4943('0x2')](_0x4943('0x3'),{'options':{'raw':![],'where':{'IntervalId':null},'attributes':['id',_0x4943('0x4')],'include':[{'model':_0x4943('0x5'),'as':'Intervals','attributes':['id',_0x4943('0x4'),_0x4943('0x6')]}]},'log':'getIntervals'});};}; \ No newline at end of file diff --git a/server/services/routing/rpc/mailInteraction.js b/server/services/routing/rpc/mailInteraction.js index 7e7c5a9..5d98fcb 100644 --- a/server/services/routing/rpc/mailInteraction.js +++ b/server/services/routing/rpc/mailInteraction.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x5ed9=['Request','updateMailInteraction','addTags','AddTagsToMailInteraction','addTagsToChatInteraction','../client'];(function(_0x583dd4,_0x236d9c){var _0x42bff3=function(_0x57f689){while(--_0x57f689){_0x583dd4['push'](_0x583dd4['shift']());}};_0x42bff3(++_0x236d9c);}(_0x5ed9,0x12b));var _0x95ed=function(_0x3ab9ee,_0x4a74b8){_0x3ab9ee=_0x3ab9ee-0x0;var _0x82ee88=_0x5ed9[_0x3ab9ee];return _0x82ee88;};'use strict';var client=require(_0x95ed('0x0'));exports['update']=function(_0xec0d3a,_0x484974){return client[_0x95ed('0x1')]('UpdateMailInteraction',{'body':_0x484974,'options':{'where':{'id':_0xec0d3a}},'log':_0x95ed('0x2')});};exports[_0x95ed('0x3')]=function(_0x4b178a,_0x153eb8){return client[_0x95ed('0x1')](_0x95ed('0x4'),{'body':_0x153eb8,'options':{'where':{'id':_0x4b178a}},'log':_0x95ed('0x5')});}; \ No newline at end of file +var _0x1887=['Request','UpdateMailInteraction','AddTagsToMailInteraction','addTagsToChatInteraction','../client','update'];(function(_0x58e982,_0x4180c7){var _0x2a69c1=function(_0x52f4f3){while(--_0x52f4f3){_0x58e982['push'](_0x58e982['shift']());}};_0x2a69c1(++_0x4180c7);}(_0x1887,0x1f0));var _0x7188=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x1887[_0x3dd15e];return _0x231fd0;};'use strict';var client=require(_0x7188('0x0'));exports[_0x7188('0x1')]=function(_0x27aee7,_0x39f65b){return client[_0x7188('0x2')](_0x7188('0x3'),{'body':_0x39f65b,'options':{'where':{'id':_0x27aee7}},'log':'updateMailInteraction'});};exports['addTags']=function(_0x24c264,_0x34c50d){return client[_0x7188('0x2')](_0x7188('0x4'),{'body':_0x34c50d,'options':{'where':{'id':_0x24c264}},'log':_0x7188('0x5')});}; \ No newline at end of file diff --git a/server/services/routing/rpc/mailMessage.js b/server/services/routing/rpc/mailMessage.js index e409ff4..40021e9 100644 --- a/server/services/routing/rpc/mailMessage.js +++ b/server/services/routing/rpc/mailMessage.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xb973=['createMailMessage','../client','create','Request','CreateMailMessage'];(function(_0x29cd91,_0x3e83c4){var _0x209933=function(_0x2ffca4){while(--_0x2ffca4){_0x29cd91['push'](_0x29cd91['shift']());}};_0x209933(++_0x3e83c4);}(_0xb973,0x8d));var _0x3b97=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xb973[_0x3dd15e];return _0x231fd0;};'use strict';var client=require(_0x3b97('0x0'));exports[_0x3b97('0x1')]=function(_0x1695f9){return client[_0x3b97('0x2')](_0x3b97('0x3'),{'body':_0x1695f9,'log':_0x3b97('0x4')});}; \ No newline at end of file +var _0xb43a=['CreateMailMessage','../client','create'];(function(_0x3c9637,_0x1bca00){var _0x36ccd4=function(_0x4c9f74){while(--_0x4c9f74){_0x3c9637['push'](_0x3c9637['shift']());}};_0x36ccd4(++_0x1bca00);}(_0xb43a,0x1e4));var _0xab43=function(_0x54edc9,_0x345f01){_0x54edc9=_0x54edc9-0x0;var _0x2ae7a9=_0xb43a[_0x54edc9];return _0x2ae7a9;};'use strict';var client=require(_0xab43('0x0'));exports[_0xab43('0x1')]=function(_0x229aa2){return client['Request'](_0xab43('0x2'),{'body':_0x229aa2,'log':'createMailMessage'});}; \ No newline at end of file diff --git a/server/services/routing/rpc/mailQueue.js b/server/services/routing/rpc/mailQueue.js index b270235..3d98616 100644 --- a/server/services/routing/rpc/mailQueue.js +++ b/server/services/routing/rpc/mailQueue.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xa891=['GetMailQueue','timeout','User','Agents','name','online','../client','getMailQueues'];(function(_0x1e458b,_0x23ac1f){var _0x475afe=function(_0x1a953a){while(--_0x1a953a){_0x1e458b['push'](_0x1e458b['shift']());}};_0x475afe(++_0x23ac1f);}(_0xa891,0x1de));var _0x1a89=function(_0x27cd1b,_0x1c91b6){_0x27cd1b=_0x27cd1b-0x0;var _0x3528db=_0xa891[_0x27cd1b];return _0x3528db;};'use strict';var client=require(_0x1a89('0x0'));exports[_0x1a89('0x1')]=function(){return function(){return client['Request'](_0x1a89('0x2'),{'options':{'raw':![],'attributes':['id','name',_0x1a89('0x3'),'strategy'],'include':[{'model':_0x1a89('0x4'),'as':_0x1a89('0x5'),'attributes':['id',_0x1a89('0x6'),_0x1a89('0x7'),'mailPause']}]},'log':'getMailQueues'});};}; \ No newline at end of file +var _0xee3c=['getMailQueues','../client','name','timeout','strategy','User','Agents','mailPause'];(function(_0x2afb74,_0x478869){var _0x40c4e4=function(_0x2c67f8){while(--_0x2c67f8){_0x2afb74['push'](_0x2afb74['shift']());}};_0x40c4e4(++_0x478869);}(_0xee3c,0x1e1));var _0xcee3=function(_0xb240c9,_0x4a62e2){_0xb240c9=_0xb240c9-0x0;var _0x3d522b=_0xee3c[_0xb240c9];return _0x3d522b;};'use strict';var client=require(_0xcee3('0x0'));exports['getMailQueues']=function(){return function(){return client['Request']('GetMailQueue',{'options':{'raw':![],'attributes':['id',_0xcee3('0x1'),_0xcee3('0x2'),_0xcee3('0x3')],'include':[{'model':_0xcee3('0x4'),'as':_0xcee3('0x5'),'attributes':['id',_0xcee3('0x1'),'online',_0xcee3('0x6')]}]},'log':_0xcee3('0x7')});};}; \ No newline at end of file diff --git a/server/services/routing/rpc/mailQueueReport.js b/server/services/routing/rpc/mailQueueReport.js index d78b502..6c611cc 100644 --- a/server/services/routing/rpc/mailQueueReport.js +++ b/server/services/routing/rpc/mailQueueReport.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x25e0=['UpdateMailQueueReport','create','CreateMailQueueReport','update','Request'];(function(_0x20ea6d,_0x154e66){var _0xe492ba=function(_0x1d2f84){while(--_0x1d2f84){_0x20ea6d['push'](_0x20ea6d['shift']());}};_0xe492ba(++_0x154e66);}(_0x25e0,0xba));var _0x025e=function(_0x2cdc3d,_0x3f4d02){_0x2cdc3d=_0x2cdc3d-0x0;var _0x867c0=_0x25e0[_0x2cdc3d];return _0x867c0;};'use strict';var client=require('../client');exports[_0x025e('0x0')]=function(_0x4c5c21){return client['Request']('CreateMailQueueReport',{'body':_0x4c5c21,'log':_0x025e('0x1')});};exports[_0x025e('0x2')]=function(_0x2f1f66,_0x220094){return client[_0x025e('0x3')](_0x025e('0x4'),{'body':_0x220094,'options':{'where':{'uniqueid':_0x2f1f66},'order':[['id','DESC']],'limit':0x1},'log':_0x025e('0x4')});}; \ No newline at end of file +var _0x4b22=['update','Request','DESC','UpdateMailQueueReport','CreateMailQueueReport'];(function(_0x4e899a,_0x125bf3){var _0x188708=function(_0xac0f45){while(--_0xac0f45){_0x4e899a['push'](_0x4e899a['shift']());}};_0x188708(++_0x125bf3);}(_0x4b22,0x1cb));var _0x24b2=function(_0x1720bf,_0x47a091){_0x1720bf=_0x1720bf-0x0;var _0x3ee268=_0x4b22[_0x1720bf];return _0x3ee268;};'use strict';var client=require('../client');exports['create']=function(_0xc11940){return client['Request'](_0x24b2('0x0'),{'body':_0xc11940,'log':'CreateMailQueueReport'});};exports[_0x24b2('0x1')]=function(_0xc3eedf,_0x991012){return client[_0x24b2('0x2')]('UpdateMailQueueReport',{'body':_0x991012,'options':{'where':{'uniqueid':_0xc3eedf},'order':[['id',_0x24b2('0x3')]],'limit':0x1},'log':_0x24b2('0x4')});}; \ No newline at end of file diff --git a/server/services/routing/rpc/openchannelInteraction.js b/server/services/routing/rpc/openchannelInteraction.js index aed0ece..b173ca2 100644 --- a/server/services/routing/rpc/openchannelInteraction.js +++ b/server/services/routing/rpc/openchannelInteraction.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xff67=['Request','UpdateOpenchannelInteraction','addTags','AddTagsToOpenchannelInteraction','../client','update'];(function(_0x2a2983,_0x5b137c){var _0x20a7ed=function(_0x302ba6){while(--_0x302ba6){_0x2a2983['push'](_0x2a2983['shift']());}};_0x20a7ed(++_0x5b137c);}(_0xff67,0x10c));var _0x7ff6=function(_0x50d65a,_0x4ac7e9){_0x50d65a=_0x50d65a-0x0;var _0x2cb41a=_0xff67[_0x50d65a];return _0x2cb41a;};'use strict';var client=require(_0x7ff6('0x0'));exports[_0x7ff6('0x1')]=function(_0x5ce546,_0x52622f){return client[_0x7ff6('0x2')](_0x7ff6('0x3'),{'body':_0x52622f,'options':{'where':{'id':_0x5ce546}},'log':'updateOpenchannelInteraction'});};exports[_0x7ff6('0x4')]=function(_0x5c4eaa,_0x1dffad){return client[_0x7ff6('0x2')](_0x7ff6('0x5'),{'body':_0x1dffad,'options':{'where':{'id':_0x5c4eaa}},'log':'addTagsToChatInteraction'});}; \ No newline at end of file +var _0x8ab3=['AddTagsToOpenchannelInteraction','addTagsToChatInteraction','../client','update','Request','updateOpenchannelInteraction','addTags'];(function(_0x559bac,_0x54d24c){var _0x347c70=function(_0x20ffe2){while(--_0x20ffe2){_0x559bac['push'](_0x559bac['shift']());}};_0x347c70(++_0x54d24c);}(_0x8ab3,0x105));var _0x38ab=function(_0x4f95f8,_0xb73784){_0x4f95f8=_0x4f95f8-0x0;var _0x123b8e=_0x8ab3[_0x4f95f8];return _0x123b8e;};'use strict';var client=require(_0x38ab('0x0'));exports[_0x38ab('0x1')]=function(_0x14d28d,_0x1594a9){return client[_0x38ab('0x2')]('UpdateOpenchannelInteraction',{'body':_0x1594a9,'options':{'where':{'id':_0x14d28d}},'log':_0x38ab('0x3')});};exports[_0x38ab('0x4')]=function(_0x1bc29e,_0x5c311f){return client[_0x38ab('0x2')](_0x38ab('0x5'),{'body':_0x5c311f,'options':{'where':{'id':_0x1bc29e}},'log':_0x38ab('0x6')});}; \ No newline at end of file diff --git a/server/services/routing/rpc/openchannelMessage.js b/server/services/routing/rpc/openchannelMessage.js index 1ac7827..744aec2 100644 --- a/server/services/routing/rpc/openchannelMessage.js +++ b/server/services/routing/rpc/openchannelMessage.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xb821=['createOpenchannelMessage','create'];(function(_0x23052c,_0x5af58f){var _0x14bf8d=function(_0x3635b2){while(--_0x3635b2){_0x23052c['push'](_0x23052c['shift']());}};_0x14bf8d(++_0x5af58f);}(_0xb821,0xa7));var _0x1b82=function(_0x1444e4,_0x1b3b15){_0x1444e4=_0x1444e4-0x0;var _0x266951=_0xb821[_0x1444e4];return _0x266951;};'use strict';var client=require('../client');exports[_0x1b82('0x0')]=function(_0x4f6190){return client['Request']('CreateOpenchannelMessage',{'body':_0x4f6190,'log':_0x1b82('0x1')});}; \ No newline at end of file +var _0x34e8=['../client','create','Request','createOpenchannelMessage'];(function(_0x4589f0,_0x350527){var _0x194af5=function(_0x9e5a05){while(--_0x9e5a05){_0x4589f0['push'](_0x4589f0['shift']());}};_0x194af5(++_0x350527);}(_0x34e8,0x12c));var _0x834e=function(_0x488ef1,_0x6821ad){_0x488ef1=_0x488ef1-0x0;var _0x2ad77f=_0x34e8[_0x488ef1];return _0x2ad77f;};'use strict';var client=require(_0x834e('0x0'));exports[_0x834e('0x1')]=function(_0x8b339){return client[_0x834e('0x2')]('CreateOpenchannelMessage',{'body':_0x8b339,'log':_0x834e('0x3')});}; \ No newline at end of file diff --git a/server/services/routing/rpc/openchannelQueue.js b/server/services/routing/rpc/openchannelQueue.js index 74a1092..a825a1e 100644 --- a/server/services/routing/rpc/openchannelQueue.js +++ b/server/services/routing/rpc/openchannelQueue.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x61f4=['Request','GetOpenchannelQueue','name','timeout','strategy','Agents','online','openchannelPause','getOpenchannelQueues','../client'];(function(_0x1645b2,_0x35ac6e){var _0x5d0a24=function(_0x5e24a0){while(--_0x5e24a0){_0x1645b2['push'](_0x1645b2['shift']());}};_0x5d0a24(++_0x35ac6e);}(_0x61f4,0x1e9));var _0x461f=function(_0x189760,_0x4c5604){_0x189760=_0x189760-0x0;var _0x207320=_0x61f4[_0x189760];return _0x207320;};'use strict';var client=require(_0x461f('0x0'));exports['getOpenchannelQueues']=function(){return function(){return client[_0x461f('0x1')](_0x461f('0x2'),{'options':{'raw':![],'attributes':['id',_0x461f('0x3'),_0x461f('0x4'),_0x461f('0x5')],'include':[{'model':'User','as':_0x461f('0x6'),'attributes':['id',_0x461f('0x3'),_0x461f('0x7'),_0x461f('0x8')]}]},'log':_0x461f('0x9')});};}; \ No newline at end of file +var _0x6529=['Request','GetOpenchannelQueue','User','Agents','name','online','../client','getOpenchannelQueues'];(function(_0x42e3e8,_0x151c8d){var _0x54e395=function(_0x3bae61){while(--_0x3bae61){_0x42e3e8['push'](_0x42e3e8['shift']());}};_0x54e395(++_0x151c8d);}(_0x6529,0xe6));var _0x9652=function(_0x58005f,_0x2c5f78){_0x58005f=_0x58005f-0x0;var _0x2de968=_0x6529[_0x58005f];return _0x2de968;};'use strict';var client=require(_0x9652('0x0'));exports[_0x9652('0x1')]=function(){return function(){return client[_0x9652('0x2')](_0x9652('0x3'),{'options':{'raw':![],'attributes':['id','name','timeout','strategy'],'include':[{'model':_0x9652('0x4'),'as':_0x9652('0x5'),'attributes':['id',_0x9652('0x6'),_0x9652('0x7'),'openchannelPause']}]},'log':_0x9652('0x1')});};}; \ No newline at end of file diff --git a/server/services/routing/rpc/openchannelQueueReport.js b/server/services/routing/rpc/openchannelQueueReport.js index af69f31..4dd4fa3 100644 --- a/server/services/routing/rpc/openchannelQueueReport.js +++ b/server/services/routing/rpc/openchannelQueueReport.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x42ea=['CreateOpenchannelQueueReport','Request','UpdateOpenchannelQueueReport','DESC','create'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x42ea,0x86));var _0xa42e=function(_0x3a98e0,_0x5f1c78){_0x3a98e0=_0x3a98e0-0x0;var _0x41388e=_0x42ea[_0x3a98e0];return _0x41388e;};'use strict';var client=require('../client');exports[_0xa42e('0x0')]=function(_0x4b54d8){return client['Request'](_0xa42e('0x1'),{'body':_0x4b54d8,'log':_0xa42e('0x1')});};exports['update']=function(_0x30849b,_0x207c24){return client[_0xa42e('0x2')](_0xa42e('0x3'),{'body':_0x207c24,'options':{'where':{'uniqueid':_0x30849b},'order':[['id',_0xa42e('0x4')]],'limit':0x1},'log':_0xa42e('0x3')});}; \ No newline at end of file +var _0x7239=['UpdateOpenchannelQueueReport','create','Request','CreateOpenchannelQueueReport','DESC'];(function(_0x5252b8,_0x56e845){var _0x14bb8e=function(_0x33eaa1){while(--_0x33eaa1){_0x5252b8['push'](_0x5252b8['shift']());}};_0x14bb8e(++_0x56e845);}(_0x7239,0x1c3));var _0x9723=function(_0x20aa30,_0x436c70){_0x20aa30=_0x20aa30-0x0;var _0x1140b2=_0x7239[_0x20aa30];return _0x1140b2;};'use strict';var client=require('../client');exports[_0x9723('0x0')]=function(_0x26b7b1){return client[_0x9723('0x1')](_0x9723('0x2'),{'body':_0x26b7b1,'log':_0x9723('0x2')});};exports['update']=function(_0x57aca0,_0x535098){return client[_0x9723('0x1')]('UpdateOpenchannelQueueReport',{'body':_0x535098,'options':{'where':{'uniqueid':_0x57aca0},'order':[['id',_0x9723('0x3')]],'limit':0x1},'log':_0x9723('0x4')});}; \ No newline at end of file diff --git a/server/services/routing/rpc/smsInteraction.js b/server/services/routing/rpc/smsInteraction.js index 01f67d8..15325d8 100644 --- a/server/services/routing/rpc/smsInteraction.js +++ b/server/services/routing/rpc/smsInteraction.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xe26a=['UpdateSmsInteraction','updateSmsInteraction','addTags','addTagsToSmsInteraction','../client','update','Request'];(function(_0x325256,_0x1955d9){var _0x37705d=function(_0x2edbef){while(--_0x2edbef){_0x325256['push'](_0x325256['shift']());}};_0x37705d(++_0x1955d9);}(_0xe26a,0x185));var _0xae26=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xe26a[_0x3dd15e];return _0x231fd0;};'use strict';var client=require(_0xae26('0x0'));exports[_0xae26('0x1')]=function(_0x20c479,_0x159122){return client[_0xae26('0x2')](_0xae26('0x3'),{'body':_0x159122,'options':{'where':{'id':_0x20c479}},'log':_0xae26('0x4')});};exports[_0xae26('0x5')]=function(_0x589169,_0x4753aa){return client[_0xae26('0x2')]('AddTagsToSmsInteraction',{'body':_0x4753aa,'options':{'where':{'id':_0x589169}},'log':_0xae26('0x6')});}; \ No newline at end of file +var _0x0715=['Request','UpdateSmsInteraction','updateSmsInteraction','AddTagsToSmsInteraction','addTagsToSmsInteraction','update'];(function(_0x3ce378,_0x1343f4){var _0x23db07=function(_0x2721e6){while(--_0x2721e6){_0x3ce378['push'](_0x3ce378['shift']());}};_0x23db07(++_0x1343f4);}(_0x0715,0x1a3));var _0x5071=function(_0x3ac4bc,_0x283c08){_0x3ac4bc=_0x3ac4bc-0x0;var _0x5488d3=_0x0715[_0x3ac4bc];return _0x5488d3;};'use strict';var client=require('../client');exports[_0x5071('0x0')]=function(_0xbbc808,_0x48771f){return client[_0x5071('0x1')](_0x5071('0x2'),{'body':_0x48771f,'options':{'where':{'id':_0xbbc808}},'log':_0x5071('0x3')});};exports['addTags']=function(_0x4f0ea5,_0xfe2e40){return client[_0x5071('0x1')](_0x5071('0x4'),{'body':_0xfe2e40,'options':{'where':{'id':_0x4f0ea5}},'log':_0x5071('0x5')});}; \ No newline at end of file diff --git a/server/services/routing/rpc/smsMessage.js b/server/services/routing/rpc/smsMessage.js index 7e31ab7..1d7b949 100644 --- a/server/services/routing/rpc/smsMessage.js +++ b/server/services/routing/rpc/smsMessage.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xb274=['createSmsMessage','../client','create','Request','CreateSmsMessage'];(function(_0x5bfbca,_0x17d8b7){var _0x18deee=function(_0x421aa4){while(--_0x421aa4){_0x5bfbca['push'](_0x5bfbca['shift']());}};_0x18deee(++_0x17d8b7);}(_0xb274,0xfb));var _0x4b27=function(_0x43bc33,_0x3674a6){_0x43bc33=_0x43bc33-0x0;var _0x2cb4b5=_0xb274[_0x43bc33];return _0x2cb4b5;};'use strict';var client=require(_0x4b27('0x0'));exports[_0x4b27('0x1')]=function(_0x1b5682){return client[_0x4b27('0x2')](_0x4b27('0x3'),{'body':_0x1b5682,'log':_0x4b27('0x4')});}; \ No newline at end of file +var _0x6cef=['create','Request','CreateSmsMessage','createSmsMessage'];(function(_0x113159,_0x2bb524){var _0x28ebb2=function(_0x30ad9f){while(--_0x30ad9f){_0x113159['push'](_0x113159['shift']());}};_0x28ebb2(++_0x2bb524);}(_0x6cef,0xe8));var _0xf6ce=function(_0x722d30,_0x1633a3){_0x722d30=_0x722d30-0x0;var _0x22b826=_0x6cef[_0x722d30];return _0x22b826;};'use strict';var client=require('../client');exports[_0xf6ce('0x0')]=function(_0x35bf3c){return client[_0xf6ce('0x1')](_0xf6ce('0x2'),{'body':_0x35bf3c,'log':_0xf6ce('0x3')});}; \ No newline at end of file diff --git a/server/services/routing/rpc/smsQueue.js b/server/services/routing/rpc/smsQueue.js index d238cbb..dc0b202 100644 --- a/server/services/routing/rpc/smsQueue.js +++ b/server/services/routing/rpc/smsQueue.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xd689=['name','strategy','User','Agents','smsPause','../client','getSmsQueues','Request','GetSmsQueue'];(function(_0x41a70d,_0x36c162){var _0x2a2360=function(_0x599a40){while(--_0x599a40){_0x41a70d['push'](_0x41a70d['shift']());}};_0x2a2360(++_0x36c162);}(_0xd689,0xc2));var _0x9d68=function(_0x5d637c,_0x3dee88){_0x5d637c=_0x5d637c-0x0;var _0x1bff9c=_0xd689[_0x5d637c];return _0x1bff9c;};'use strict';var client=require(_0x9d68('0x0'));exports[_0x9d68('0x1')]=function(){return function(){return client[_0x9d68('0x2')](_0x9d68('0x3'),{'options':{'raw':![],'attributes':['id',_0x9d68('0x4'),'timeout',_0x9d68('0x5')],'include':[{'model':_0x9d68('0x6'),'as':_0x9d68('0x7'),'attributes':['id','name','online',_0x9d68('0x8')]}]},'log':_0x9d68('0x1')});};}; \ No newline at end of file +var _0x6b21=['GetSmsQueue','timeout','strategy','User','name','online','smsPause','../client','getSmsQueues','Request'];(function(_0x432682,_0x253044){var _0x463d05=function(_0xa73403){while(--_0xa73403){_0x432682['push'](_0x432682['shift']());}};_0x463d05(++_0x253044);}(_0x6b21,0x75));var _0x16b2=function(_0x52b3a9,_0x1c47cd){_0x52b3a9=_0x52b3a9-0x0;var _0x108c7e=_0x6b21[_0x52b3a9];return _0x108c7e;};'use strict';var client=require(_0x16b2('0x0'));exports[_0x16b2('0x1')]=function(){return function(){return client[_0x16b2('0x2')](_0x16b2('0x3'),{'options':{'raw':![],'attributes':['id','name',_0x16b2('0x4'),_0x16b2('0x5')],'include':[{'model':_0x16b2('0x6'),'as':'Agents','attributes':['id',_0x16b2('0x7'),_0x16b2('0x8'),_0x16b2('0x9')]}]},'log':'getSmsQueues'});};}; \ No newline at end of file diff --git a/server/services/routing/rpc/smsQueueReport.js b/server/services/routing/rpc/smsQueueReport.js index 2b00d1e..3029459 100644 --- a/server/services/routing/rpc/smsQueueReport.js +++ b/server/services/routing/rpc/smsQueueReport.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x80f7=['CreateSmsQueueReport','update','UpdateSmsQueueReport','DESC','../client','Request'];(function(_0x34702b,_0x2900ac){var _0x573458=function(_0xd21b95){while(--_0xd21b95){_0x34702b['push'](_0x34702b['shift']());}};_0x573458(++_0x2900ac);}(_0x80f7,0xd6));var _0x780f=function(_0x302ab3,_0x21ab7b){_0x302ab3=_0x302ab3-0x0;var _0x12c0ca=_0x80f7[_0x302ab3];return _0x12c0ca;};'use strict';var client=require(_0x780f('0x0'));exports['create']=function(_0xf8a89){return client[_0x780f('0x1')](_0x780f('0x2'),{'body':_0xf8a89,'log':_0x780f('0x2')});};exports[_0x780f('0x3')]=function(_0x4bfd18,_0x48fadd){return client[_0x780f('0x1')](_0x780f('0x4'),{'body':_0x48fadd,'options':{'where':{'uniqueid':_0x4bfd18},'order':[['id',_0x780f('0x5')]],'limit':0x1},'log':_0x780f('0x4')});}; \ No newline at end of file +var _0xc1ec=['update','Request','UpdateSmsQueueReport','../client','create','CreateSmsQueueReport'];(function(_0x278dba,_0x3f3735){var _0x437e00=function(_0x488aeb){while(--_0x488aeb){_0x278dba['push'](_0x278dba['shift']());}};_0x437e00(++_0x3f3735);}(_0xc1ec,0x117));var _0xcc1e=function(_0x58f207,_0x564979){_0x58f207=_0x58f207-0x0;var _0x1c025a=_0xc1ec[_0x58f207];return _0x1c025a;};'use strict';var client=require(_0xcc1e('0x0'));exports[_0xcc1e('0x1')]=function(_0x4b3946){return client['Request'](_0xcc1e('0x2'),{'body':_0x4b3946,'log':_0xcc1e('0x2')});};exports[_0xcc1e('0x3')]=function(_0x1ee702,_0x17bd2b){return client[_0xcc1e('0x4')](_0xcc1e('0x5'),{'body':_0x17bd2b,'options':{'where':{'uniqueid':_0x1ee702},'order':[['id','DESC']],'limit':0x1},'log':_0xcc1e('0x5')});}; \ No newline at end of file diff --git a/server/services/routing/rpc/user.js b/server/services/routing/rpc/user.js index 00ed4c3..b8251b4 100644 --- a/server/services/routing/rpc/user.js +++ b/server/services/routing/rpc/user.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x4b73=['../client','getAgents','Request','GetUser','agent','name','online','pauseType','lastPauseAt','chatPause','faxPause','smsPause','whatsappPause','chatCapacity','mailCapacity','faxCapacity','smsCapacity','whatsappCapacity','openchannelCapacity'];(function(_0x175702,_0xc749d7){var _0x389e70=function(_0x332ffb){while(--_0x332ffb){_0x175702['push'](_0x175702['shift']());}};_0x389e70(++_0xc749d7);}(_0x4b73,0x17c));var _0x34b7=function(_0xe79212,_0x37f1b9){_0xe79212=_0xe79212-0x0;var _0x508219=_0x4b73[_0xe79212];return _0x508219;};'use strict';var client=require(_0x34b7('0x0'));exports[_0x34b7('0x1')]=function(){return function(){return client[_0x34b7('0x2')](_0x34b7('0x3'),{'options':{'raw':!![],'where':{'role':_0x34b7('0x4')},'attributes':['id',_0x34b7('0x5'),_0x34b7('0x6'),_0x34b7('0x7'),_0x34b7('0x8'),'voicePause',_0x34b7('0x9'),'mailPause',_0x34b7('0xa'),_0x34b7('0xb'),_0x34b7('0xc'),'openchannelPause',_0x34b7('0xd'),_0x34b7('0xe'),_0x34b7('0xf'),_0x34b7('0x10'),_0x34b7('0x11'),_0x34b7('0x12')]},'log':_0x34b7('0x1')});};}; \ No newline at end of file +var _0xdfa1=['Request','agent','name','online','pauseType','voicePause','chatPause','mailPause','faxPause','smsPause','whatsappPause','openchannelPause','chatCapacity','faxCapacity','whatsappCapacity','openchannelCapacity','getAgents'];(function(_0x39b69e,_0x2a259d){var _0x39a12f=function(_0x2daf53){while(--_0x2daf53){_0x39b69e['push'](_0x39b69e['shift']());}};_0x39a12f(++_0x2a259d);}(_0xdfa1,0x1a8));var _0x1dfa=function(_0x209941,_0x5c9988){_0x209941=_0x209941-0x0;var _0x1e8729=_0xdfa1[_0x209941];return _0x1e8729;};'use strict';var client=require('../client');exports[_0x1dfa('0x0')]=function(){return function(){return client[_0x1dfa('0x1')]('GetUser',{'options':{'raw':!![],'where':{'role':_0x1dfa('0x2')},'attributes':['id',_0x1dfa('0x3'),_0x1dfa('0x4'),_0x1dfa('0x5'),'lastPauseAt',_0x1dfa('0x6'),_0x1dfa('0x7'),_0x1dfa('0x8'),_0x1dfa('0x9'),_0x1dfa('0xa'),_0x1dfa('0xb'),_0x1dfa('0xc'),_0x1dfa('0xd'),'mailCapacity',_0x1dfa('0xe'),'smsCapacity',_0x1dfa('0xf'),_0x1dfa('0x10')]},'log':_0x1dfa('0x0')});};}; \ No newline at end of file diff --git a/server/services/routing/rpc/whatsappInteraction.js b/server/services/routing/rpc/whatsappInteraction.js index 724b995..6704d9f 100644 --- a/server/services/routing/rpc/whatsappInteraction.js +++ b/server/services/routing/rpc/whatsappInteraction.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x50b9=['UpdateWhatsappInteraction','updateWhatsappInteraction','addTags','AddTagsToWhatsappInteraction','addTagsToWhatsappInteraction','../client','Request'];(function(_0x1010e2,_0x515f47){var _0x53cd08=function(_0x5ddb2c){while(--_0x5ddb2c){_0x1010e2['push'](_0x1010e2['shift']());}};_0x53cd08(++_0x515f47);}(_0x50b9,0x171));var _0x950b=function(_0xf858e,_0x51b0f1){_0xf858e=_0xf858e-0x0;var _0x5344d8=_0x50b9[_0xf858e];return _0x5344d8;};'use strict';var client=require(_0x950b('0x0'));exports['update']=function(_0x4734ea,_0x4b101f){return client[_0x950b('0x1')](_0x950b('0x2'),{'body':_0x4b101f,'options':{'where':{'id':_0x4734ea}},'log':_0x950b('0x3')});};exports[_0x950b('0x4')]=function(_0x237b83,_0x986b16){return client[_0x950b('0x1')](_0x950b('0x5'),{'body':_0x986b16,'options':{'where':{'id':_0x237b83}},'log':_0x950b('0x6')});}; \ No newline at end of file +var _0x3189=['../client','update','Request','UpdateWhatsappInteraction','addTags','AddTagsToWhatsappInteraction'];(function(_0x34ef08,_0x3490fc){var _0x161a4f=function(_0x47f7a1){while(--_0x47f7a1){_0x34ef08['push'](_0x34ef08['shift']());}};_0x161a4f(++_0x3490fc);}(_0x3189,0xae));var _0x9318=function(_0x1df5db,_0x4bc198){_0x1df5db=_0x1df5db-0x0;var _0x2c79dd=_0x3189[_0x1df5db];return _0x2c79dd;};'use strict';var client=require(_0x9318('0x0'));exports[_0x9318('0x1')]=function(_0x4d5650,_0x402f32){return client[_0x9318('0x2')](_0x9318('0x3'),{'body':_0x402f32,'options':{'where':{'id':_0x4d5650}},'log':'updateWhatsappInteraction'});};exports[_0x9318('0x4')]=function(_0x4ed87f,_0x53a864){return client[_0x9318('0x2')](_0x9318('0x5'),{'body':_0x53a864,'options':{'where':{'id':_0x4ed87f}},'log':'addTagsToWhatsappInteraction'});}; \ No newline at end of file diff --git a/server/services/routing/rpc/whatsappMessage.js b/server/services/routing/rpc/whatsappMessage.js index 4858881..045d1ce 100644 --- a/server/services/routing/rpc/whatsappMessage.js +++ b/server/services/routing/rpc/whatsappMessage.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x44bb=['CreateWhatsappMessage','../client','create'];(function(_0x2ad3fd,_0x24c202){var _0x30fe82=function(_0x4937f0){while(--_0x4937f0){_0x2ad3fd['push'](_0x2ad3fd['shift']());}};_0x30fe82(++_0x24c202);}(_0x44bb,0x1c9));var _0xb44b=function(_0x7fa1fa,_0x44e4c3){_0x7fa1fa=_0x7fa1fa-0x0;var _0x49ff07=_0x44bb[_0x7fa1fa];return _0x49ff07;};'use strict';var client=require(_0xb44b('0x0'));exports[_0xb44b('0x1')]=function(_0x524f07){return client['Request'](_0xb44b('0x2'),{'body':_0x524f07,'log':'createWhatsappMessage'});}; \ No newline at end of file +var _0x33e5=['../client','create','Request','CreateWhatsappMessage'];(function(_0x516982,_0x1f47c5){var _0x1840b2=function(_0x1d0c65){while(--_0x1d0c65){_0x516982['push'](_0x516982['shift']());}};_0x1840b2(++_0x1f47c5);}(_0x33e5,0xac));var _0x533e=function(_0x43b0b0,_0x63b678){_0x43b0b0=_0x43b0b0-0x0;var _0x3c48a7=_0x33e5[_0x43b0b0];return _0x3c48a7;};'use strict';var client=require(_0x533e('0x0'));exports[_0x533e('0x1')]=function(_0x575f01){return client[_0x533e('0x2')](_0x533e('0x3'),{'body':_0x575f01,'log':'createWhatsappMessage'});}; \ No newline at end of file diff --git a/server/services/routing/rpc/whatsappQueue.js b/server/services/routing/rpc/whatsappQueue.js index 9ae6de2..cd7d3cd 100644 --- a/server/services/routing/rpc/whatsappQueue.js +++ b/server/services/routing/rpc/whatsappQueue.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x7334=['whatsappPause','../client','getWhatsappQueues','Request','timeout','User','Agents','name','online'];(function(_0x922761,_0x211ac4){var _0x612ff=function(_0x548973){while(--_0x548973){_0x922761['push'](_0x922761['shift']());}};_0x612ff(++_0x211ac4);}(_0x7334,0x184));var _0x4733=function(_0x2c5598,_0x218c98){_0x2c5598=_0x2c5598-0x0;var _0x4cc6a9=_0x7334[_0x2c5598];return _0x4cc6a9;};'use strict';var client=require(_0x4733('0x0'));exports[_0x4733('0x1')]=function(){return function(){return client[_0x4733('0x2')]('GetWhatsappQueue',{'options':{'raw':![],'attributes':['id','name',_0x4733('0x3'),'strategy'],'include':[{'model':_0x4733('0x4'),'as':_0x4733('0x5'),'attributes':['id',_0x4733('0x6'),_0x4733('0x7'),_0x4733('0x8')]}]},'log':_0x4733('0x1')});};}; \ No newline at end of file +var _0x9354=['name','timeout','strategy','User','online','whatsappPause','getWhatsappQueues','Request'];(function(_0x110374,_0x25aca1){var _0x389a21=function(_0x561e61){while(--_0x561e61){_0x110374['push'](_0x110374['shift']());}};_0x389a21(++_0x25aca1);}(_0x9354,0x96));var _0x4935=function(_0x49748c,_0x3d2005){_0x49748c=_0x49748c-0x0;var _0xedf6b6=_0x9354[_0x49748c];return _0xedf6b6;};'use strict';var client=require('../client');exports[_0x4935('0x0')]=function(){return function(){return client[_0x4935('0x1')]('GetWhatsappQueue',{'options':{'raw':![],'attributes':['id',_0x4935('0x2'),_0x4935('0x3'),_0x4935('0x4')],'include':[{'model':_0x4935('0x5'),'as':'Agents','attributes':['id',_0x4935('0x2'),_0x4935('0x6'),_0x4935('0x7')]}]},'log':_0x4935('0x0')});};}; \ No newline at end of file diff --git a/server/services/routing/rpc/whatsappQueueReport.js b/server/services/routing/rpc/whatsappQueueReport.js index 79edff1..0ee2b14 100644 --- a/server/services/routing/rpc/whatsappQueueReport.js +++ b/server/services/routing/rpc/whatsappQueueReport.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x3f4d=['CreateWhatsappQueueReport','update','UpdateWhatsappQueueReport','DESC','../client','create','Request'];(function(_0x5c9fa4,_0x3fa7db){var _0x38d5cb=function(_0x1bb18b){while(--_0x1bb18b){_0x5c9fa4['push'](_0x5c9fa4['shift']());}};_0x38d5cb(++_0x3fa7db);}(_0x3f4d,0x10e));var _0xd3f4=function(_0x12d9e6,_0x339ebd){_0x12d9e6=_0x12d9e6-0x0;var _0x315b5e=_0x3f4d[_0x12d9e6];return _0x315b5e;};'use strict';var client=require(_0xd3f4('0x0'));exports[_0xd3f4('0x1')]=function(_0xd6304){return client[_0xd3f4('0x2')](_0xd3f4('0x3'),{'body':_0xd6304,'log':_0xd3f4('0x3')});};exports[_0xd3f4('0x4')]=function(_0x1e04b5,_0x557c23){return client[_0xd3f4('0x2')](_0xd3f4('0x5'),{'body':_0x557c23,'options':{'where':{'uniqueid':_0x1e04b5},'order':[['id',_0xd3f4('0x6')]],'limit':0x1},'log':_0xd3f4('0x5')});}; \ No newline at end of file +var _0x1fec=['create','Request','CreateWhatsappQueueReport','UpdateWhatsappQueueReport','DESC','../client'];(function(_0x5d30b4,_0x199248){var _0x1acfb8=function(_0x3544b2){while(--_0x3544b2){_0x5d30b4['push'](_0x5d30b4['shift']());}};_0x1acfb8(++_0x199248);}(_0x1fec,0x167));var _0xc1fe=function(_0x297fd3,_0x115406){_0x297fd3=_0x297fd3-0x0;var _0x2af381=_0x1fec[_0x297fd3];return _0x2af381;};'use strict';var client=require(_0xc1fe('0x0'));exports[_0xc1fe('0x1')]=function(_0x528f2c){return client[_0xc1fe('0x2')](_0xc1fe('0x3'),{'body':_0x528f2c,'log':_0xc1fe('0x3')});};exports['update']=function(_0x514d0f,_0x3b08e5){return client[_0xc1fe('0x2')](_0xc1fe('0x4'),{'body':_0x3b08e5,'options':{'where':{'uniqueid':_0x514d0f},'order':[['id',_0xc1fe('0x5')]],'limit':0x1},'log':_0xc1fe('0x4')});}; \ No newline at end of file diff --git a/server/services/routing/server/applications/agent.js b/server/services/routing/server/applications/agent.js index ffe5546..573a842 100644 --- a/server/services/routing/server/applications/agent.js +++ b/server/services/routing/server/applications/agent.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xd204=['format','rules','end','[%s][AGENT]\x20ROUTING\x20STOPPED','close','[%s][AGENT]\x20ROUTING\x20END','next','agent','[%s][AGENT]\x20agent\x20not\x20found\x20%s','log','[%s][QUEUE]\x20%s','lodash','util','seq-queue','../../../../config/logger','routing','./strategy','name\x20is\x20a\x20string\x20and\x20it\x20is\x20required','number','info','[%s][AGENT][NAME:%s][STATUS:%s]','name','toLowerCase','validate','length','error','[%s][AGENT]\x20%s','map','message','join','stop','find','agents','timeout','createQueue','atimeout','channel'];(function(_0x3d2ea0,_0x222b08){var _0x983816=function(_0xbce49f){while(--_0xbce49f){_0x3d2ea0['push'](_0x3d2ea0['shift']());}};_0x983816(++_0x222b08);}(_0xd204,0x17d));var _0x4d20=function(_0x297053,_0x5cb31f){_0x297053=_0x297053-0x0;var _0xd9e6c0=_0xd204[_0x297053];return _0xd9e6c0;};'use strict';var schema=require('validate');var _=require(_0x4d20('0x0'));var util=require(_0x4d20('0x1'));var seqqueue=require(_0x4d20('0x2'));var logger=require(_0x4d20('0x3'))(_0x4d20('0x4'));var strategy=require(_0x4d20('0x5'));var queue=schema({'name':{'type':'string','required':!![],'message':_0x4d20('0x6')},'timeout':{'type':_0x4d20('0x7'),'message':'timeout\x20is\x20a\x20number'}});function writeLog(_0x565f6e,_0x5437d3,_0x35c791){return logger[_0x4d20('0x8')](util['format'](_0x4d20('0x9'),_0x565f6e,_0x5437d3['name'],_0x35c791));}function handleFindAgent(_0x3ba3d2){return function(_0x130b30){return _0x130b30[_0x4d20('0xa')]['toLowerCase']()===_0x3ba3d2[_0x4d20('0xb')]();};}exports['consequence']=function(_0x53cb6c,_0x4b4460,_0x8f39c0,_0x3b7641){return function(_0x570096){try{var _0xc2c8ce={'name':_0x4b4460[0x0],'timeout':_0x4b4460[0x1]};var _0x16f08a=queue[_0x4d20('0xc')](_0xc2c8ce,{'typecast':!![]});if(_0x16f08a[_0x4d20('0xd')]){logger[_0x4d20('0xe')](_0x4d20('0xf'),_0x53cb6c,_[_0x4d20('0x10')](_0x16f08a,_0x4d20('0x11'))[_0x4d20('0x12')](',\x20'));_0x570096[_0x4d20('0x13')]();}else{var _0x3843b2=_[_0x4d20('0x14')](_0x8f39c0[_0x4d20('0x15')],handleFindAgent(_0xc2c8ce[_0x4d20('0xa')]));if(_0x3843b2){var _0x26ddc0=(_0xc2c8ce[_0x4d20('0x16')]||0xa)*0x3e8;var _0x3af72e,_0x174fa8;var _0x1b8dd2=seqqueue[_0x4d20('0x17')](_0x26ddc0);_0x1b8dd2['id']=_0x53cb6c;_0x1b8dd2[_0x4d20('0x18')]=_0x26ddc0;_0x1b8dd2[_0x4d20('0x19')]=_0x3b7641[_0x4d20('0x19')];writeLog(_0x53cb6c,_0x3843b2,util[_0x4d20('0x1a')]('START:%s',_0x26ddc0));_0x8f39c0[_0x4d20('0x1b')][_0x53cb6c]['on'](_0x4d20('0x1c'),function(){logger[_0x4d20('0x8')](_0x4d20('0x1d'),_0x53cb6c);clearTimeout(_0x174fa8);_0x174fa8=undefined;_0x1b8dd2[_0x4d20('0x1e')]();if(_0x8f39c0[_0x4d20('0x1b')][_0x53cb6c]){delete _0x8f39c0[_0x4d20('0x1b')][_0x53cb6c];}_0x570096[_0x4d20('0x13')]();});_0x8f39c0[_0x4d20('0x1b')][_0x53cb6c]['on']('complete',function(){if(_0x8f39c0['rules'][_0x53cb6c]){delete _0x8f39c0[_0x4d20('0x1b')][_0x53cb6c];}});_0x174fa8=setTimeout(function(){logger[_0x4d20('0x8')](_0x4d20('0x1f'),_0x53cb6c);clearTimeout(_0x174fa8);_0x1b8dd2[_0x4d20('0x1e')]();_0x570096[_0x4d20('0x20')]();},_0x26ddc0);strategy[_0x4d20('0x21')](_0x1b8dd2,_0x3843b2,_0x8f39c0,_0x3b7641);}else{logger[_0x4d20('0xe')](_0x4d20('0x22'),_0x53cb6c,_0xc2c8ce['name']);_0x570096[_0x4d20('0x13')]();}}}catch(_0x2c6ec9){console[_0x4d20('0x23')](_0x2c6ec9);logger['error'](_0x4d20('0x24'),_0x53cb6c,_0x2c6ec9['stack']);_0x570096['stop']();}};}; \ No newline at end of file +var _0xa31b=['channel','START:%s','rules','end','[%s][AGENT]\x20ROUTING\x20STOPPED','close','[%s][AGENT]\x20ROUTING\x20END','agent','[%s][AGENT]\x20agent\x20not\x20found\x20%s','log','[%s][QUEUE]\x20%s','stack','validate','seq-queue','routing','./strategy','string','number','timeout\x20is\x20a\x20number','info','format','[%s][AGENT][NAME:%s][STATUS:%s]','name','error','[%s][AGENT]\x20%s','map','stop','find','agents','timeout','createQueue','atimeout'];(function(_0x1583d8,_0x1209dd){var _0x41a103=function(_0x18fbc3){while(--_0x18fbc3){_0x1583d8['push'](_0x1583d8['shift']());}};_0x41a103(++_0x1209dd);}(_0xa31b,0x10c));var _0xba31=function(_0x160057,_0x217377){_0x160057=_0x160057-0x0;var _0x396c10=_0xa31b[_0x160057];return _0x396c10;};'use strict';var schema=require(_0xba31('0x0'));var _=require('lodash');var util=require('util');var seqqueue=require(_0xba31('0x1'));var logger=require('../../../../config/logger')(_0xba31('0x2'));var strategy=require(_0xba31('0x3'));var queue=schema({'name':{'type':_0xba31('0x4'),'required':!![],'message':'name\x20is\x20a\x20string\x20and\x20it\x20is\x20required'},'timeout':{'type':_0xba31('0x5'),'message':_0xba31('0x6')}});function writeLog(_0xec561,_0x125ac0,_0x4ffd8f){return logger[_0xba31('0x7')](util[_0xba31('0x8')](_0xba31('0x9'),_0xec561,_0x125ac0[_0xba31('0xa')],_0x4ffd8f));}function handleFindAgent(_0x151e0c){return function(_0x5ae390){return _0x5ae390['name']['toLowerCase']()===_0x151e0c['toLowerCase']();};}exports['consequence']=function(_0x33eb14,_0x3528de,_0x1e72f3,_0x12a1e4){return function(_0x12deec){try{var _0x2b363c={'name':_0x3528de[0x0],'timeout':_0x3528de[0x1]};var _0x53f72c=queue[_0xba31('0x0')](_0x2b363c,{'typecast':!![]});if(_0x53f72c['length']){logger[_0xba31('0xb')](_0xba31('0xc'),_0x33eb14,_[_0xba31('0xd')](_0x53f72c,'message')['join'](',\x20'));_0x12deec[_0xba31('0xe')]();}else{var _0x5b6d54=_[_0xba31('0xf')](_0x1e72f3[_0xba31('0x10')],handleFindAgent(_0x2b363c[_0xba31('0xa')]));if(_0x5b6d54){var _0x5b2bf2=(_0x2b363c[_0xba31('0x11')]||0xa)*0x3e8;var _0x4c1aa3,_0x88ec01;var _0x3ea34d=seqqueue[_0xba31('0x12')](_0x5b2bf2);_0x3ea34d['id']=_0x33eb14;_0x3ea34d[_0xba31('0x13')]=_0x5b2bf2;_0x3ea34d[_0xba31('0x14')]=_0x12a1e4[_0xba31('0x14')];writeLog(_0x33eb14,_0x5b6d54,util[_0xba31('0x8')](_0xba31('0x15'),_0x5b2bf2));_0x1e72f3[_0xba31('0x16')][_0x33eb14]['on'](_0xba31('0x17'),function(){logger[_0xba31('0x7')](_0xba31('0x18'),_0x33eb14);clearTimeout(_0x88ec01);_0x88ec01=undefined;_0x3ea34d[_0xba31('0x19')]();if(_0x1e72f3[_0xba31('0x16')][_0x33eb14]){delete _0x1e72f3[_0xba31('0x16')][_0x33eb14];}_0x12deec[_0xba31('0xe')]();});_0x1e72f3[_0xba31('0x16')][_0x33eb14]['on']('complete',function(){if(_0x1e72f3[_0xba31('0x16')][_0x33eb14]){delete _0x1e72f3[_0xba31('0x16')][_0x33eb14];}});_0x88ec01=setTimeout(function(){logger['info'](_0xba31('0x1a'),_0x33eb14);clearTimeout(_0x88ec01);_0x3ea34d['close']();_0x12deec['next']();},_0x5b2bf2);strategy[_0xba31('0x1b')](_0x3ea34d,_0x5b6d54,_0x1e72f3,_0x12a1e4);}else{logger['error'](_0xba31('0x1c'),_0x33eb14,_0x2b363c[_0xba31('0xa')]);_0x12deec['stop']();}}}catch(_0x54a566){console[_0xba31('0x1d')](_0x54a566);logger[_0xba31('0xb')](_0xba31('0x1e'),_0x33eb14,_0x54a566[_0xba31('0x1f')]);_0x12deec['stop']();}};}; \ No newline at end of file diff --git a/server/services/routing/server/applications/amazonlex.js b/server/services/routing/server/applications/amazonlex.js index e55d621..a6484d4 100644 --- a/server/services/routing/server/applications/amazonlex.js +++ b/server/services/routing/server/applications/amazonlex.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xabce=['YYYY-MM-DD\x20HH:mm:ss','out','channel','chat','ChatWebsiteId','account','upperFirst','AccountId','InteractionId','isEmpty','body','getMustacheRender','create','then','catch','error','stringify','finally','info','[%s][AMAZONLEX]\x20Welcome\x20Message\x20has\x20been\x20sent!','stop','LexRuntime','$LATEST','message','toString','postText','amazonlex','Message','Failed','lodash','moment','aws-sdk','./utils','../../../../config/logger','../../rpc/openchannelMessage','../../rpc/mailMessage','../../rpc/smsMessage','consequence','isNil','interaction','UserId','[%s][AMAZONLEX]\x20%s','Agent\x20is\x20managing\x20the\x20interaction.\x20Go\x20to\x20next\x20application.','next','contact','format'];(function(_0x55dcb0,_0x26d220){var _0x5c8c82=function(_0x49099d){while(--_0x49099d){_0x55dcb0['push'](_0x55dcb0['shift']());}};_0x5c8c82(++_0x26d220);}(_0xabce,0x103));var _0xeabc=function(_0x433a86,_0x175b5c){_0x433a86=_0x433a86-0x0;var _0x23000c=_0xabce[_0x433a86];return _0x23000c;};'use strict';var _=require(_0xeabc('0x0'));var moment=require(_0xeabc('0x1'));var AWS=require(_0xeabc('0x2'));var utils=require(_0xeabc('0x3'));var logger=require(_0xeabc('0x4'))('routing');var rpc={'chatMessage':require('../../rpc/chatMessage'),'openchannelMessage':require(_0xeabc('0x5')),'mailMessage':require(_0xeabc('0x6')),'smsMessage':require(_0xeabc('0x7')),'faxMessage':require('../../rpc/faxMessage'),'whatsappMessage':require('../../rpc/whatsappMessage')};exports[_0xeabc('0x8')]=function(_0x52a4d7,_0x229ba4){return function(_0x52ede8){try{if(!_[_0xeabc('0x9')](this[_0xeabc('0xa')][_0xeabc('0xb')])){logger['info'](_0xeabc('0xc'),_0x52a4d7,_0xeabc('0xd'));return _0x52ede8[_0xeabc('0xe')]();}var _0x1b4d1b={'ContactId':this[_0xeabc('0xf')]['id'],'sentAt':moment()[_0xeabc('0x10')](_0xeabc('0x11')),'direction':_0xeabc('0x12')};var _0xdb5022=this[_0xeabc('0x13')];if(_0xdb5022===_0xeabc('0x14')){_0x1b4d1b[_0xeabc('0x15')]=this[_0xeabc('0x16')]['id'];}else{_0x1b4d1b[_[_0xeabc('0x17')](_0xdb5022)+_0xeabc('0x18')]=this[_0xeabc('0x16')]['id'];}_0x1b4d1b[_['upperFirst'](_0xdb5022)+_0xeabc('0x19')]=this[_0xeabc('0xa')]['id'];if(this[_0xeabc('0xa')]['created']){var _0x5f4ee8=_0x229ba4[0x4];if(!_[_0xeabc('0x1a')](_0x5f4ee8)){_0x1b4d1b[_0xeabc('0x1b')]=utils[_0xeabc('0x1c')](_0x5f4ee8,this);return rpc[_0xdb5022+'Message'][_0xeabc('0x1d')](_0x1b4d1b)[_0xeabc('0x1e')](function(_0x49f2d8){logger['info'](_0xeabc('0xc'),_0x52a4d7,_0x1b4d1b['body']);})[_0xeabc('0x1f')](function(_0x1b64b9){logger[_0xeabc('0x20')](_0xeabc('0xc'),_0x52a4d7,JSON[_0xeabc('0x21')](_0x1b64b9));})[_0xeabc('0x22')](function(){logger[_0xeabc('0x23')](_0xeabc('0x24'),_0x52a4d7);_0x52ede8['stop']();});}else{logger[_0xeabc('0x23')]('[%s][AMAZONLEX]\x20Welcome\x20Message\x20is\x20empty.\x20It\x20will\x20wait\x20for\x20a\x20message\x20from\x20customer!',_0x52a4d7);_0x52ede8[_0xeabc('0x25')]();}}else{var _0x16530c=this;var _0x502947=new AWS[(_0xeabc('0x26'))]({'accessKeyId':_0x229ba4[0x0],'secretAccessKey':_0x229ba4[0x1],'region':_0x229ba4[0x2]});var _0x41d67a={'botAlias':_0xeabc('0x27'),'botName':_0x229ba4[0x3],'inputText':this[_0xeabc('0x28')][_0xeabc('0x1b')],'userId':this['channel']+':'+this[_0xeabc('0xa')]['id'][_0xeabc('0x29')]()};_0x502947[_0xeabc('0x2a')](_0x41d67a,function(_0x5bdd57,_0x457f27){if(_0x5bdd57){logger[_0xeabc('0x20')](_0xeabc('0xc'),_0x52a4d7,_0x5bdd57[_0xeabc('0x28')]);_0x52ede8['next']();}else if(_0x457f27&&_0x457f27[_0xeabc('0x28')]){_0x16530c['body'][_0xeabc('0x2b')]=_0x457f27;_0x1b4d1b['body']=_0x457f27[_0xeabc('0x28')];return rpc[_0xdb5022+_0xeabc('0x2c')][_0xeabc('0x1d')](_0x1b4d1b)[_0xeabc('0x1e')](function(_0x3a1a04){logger[_0xeabc('0x23')](_0xeabc('0xc'),_0x52a4d7,_0x1b4d1b['body']);if(_0x457f27['dialogState']==_0xeabc('0x2d')){_0x52ede8['next']();}else{_0x52ede8[_0xeabc('0x25')]();}})[_0xeabc('0x1f')](function(_0x48fb52){logger[_0xeabc('0x20')](_0xeabc('0xc'),_0x52a4d7,JSON[_0xeabc('0x21')](_0x48fb52));_0x52ede8[_0xeabc('0xe')]();});}else{_0x52ede8[_0xeabc('0xe')]();}});}}catch(_0x481ee1){logger[_0xeabc('0x20')](_0xeabc('0xc'),_0x52a4d7,JSON[_0xeabc('0x21')](_0x481ee1));_0x52ede8['stop']();}};}; \ No newline at end of file +var _0x53ec=['../../rpc/faxMessage','consequence','interaction','UserId','info','[%s][AMAZONLEX]\x20%s','Agent\x20is\x20managing\x20the\x20interaction.\x20Go\x20to\x20next\x20application.','next','contact','format','ChatWebsiteId','account','upperFirst','AccountId','InteractionId','created','isEmpty','body','getMustacheRender','Message','create','catch','error','stringify','[%s][AMAZONLEX]\x20Welcome\x20Message\x20has\x20been\x20sent!','stop','[%s][AMAZONLEX]\x20Welcome\x20Message\x20is\x20empty.\x20It\x20will\x20wait\x20for\x20a\x20message\x20from\x20customer!','LexRuntime','$LATEST','message','channel','then','Failed','lodash','moment','aws-sdk','./utils','../../../../config/logger','routing','../../rpc/openchannelMessage','../../rpc/smsMessage'];(function(_0x388fd5,_0x48ab1e){var _0x4adcb9=function(_0x5a98ef){while(--_0x5a98ef){_0x388fd5['push'](_0x388fd5['shift']());}};_0x4adcb9(++_0x48ab1e);}(_0x53ec,0x192));var _0xc53e=function(_0x2f75cb,_0x4fc45a){_0x2f75cb=_0x2f75cb-0x0;var _0x3b06e9=_0x53ec[_0x2f75cb];return _0x3b06e9;};'use strict';var _=require(_0xc53e('0x0'));var moment=require(_0xc53e('0x1'));var AWS=require(_0xc53e('0x2'));var utils=require(_0xc53e('0x3'));var logger=require(_0xc53e('0x4'))(_0xc53e('0x5'));var rpc={'chatMessage':require('../../rpc/chatMessage'),'openchannelMessage':require(_0xc53e('0x6')),'mailMessage':require('../../rpc/mailMessage'),'smsMessage':require(_0xc53e('0x7')),'faxMessage':require(_0xc53e('0x8')),'whatsappMessage':require('../../rpc/whatsappMessage')};exports[_0xc53e('0x9')]=function(_0x4f989b,_0x41a9e8){return function(_0x2de88b){try{if(!_['isNil'](this[_0xc53e('0xa')][_0xc53e('0xb')])){logger[_0xc53e('0xc')](_0xc53e('0xd'),_0x4f989b,_0xc53e('0xe'));return _0x2de88b[_0xc53e('0xf')]();}var _0xd82002={'ContactId':this[_0xc53e('0x10')]['id'],'sentAt':moment()[_0xc53e('0x11')]('YYYY-MM-DD\x20HH:mm:ss'),'direction':'out'};var _0x35128a=this['channel'];if(_0x35128a==='chat'){_0xd82002[_0xc53e('0x12')]=this[_0xc53e('0x13')]['id'];}else{_0xd82002[_[_0xc53e('0x14')](_0x35128a)+_0xc53e('0x15')]=this['account']['id'];}_0xd82002[_['upperFirst'](_0x35128a)+_0xc53e('0x16')]=this[_0xc53e('0xa')]['id'];if(this[_0xc53e('0xa')][_0xc53e('0x17')]){var _0x358ef3=_0x41a9e8[0x4];if(!_[_0xc53e('0x18')](_0x358ef3)){_0xd82002[_0xc53e('0x19')]=utils[_0xc53e('0x1a')](_0x358ef3,this);return rpc[_0x35128a+_0xc53e('0x1b')][_0xc53e('0x1c')](_0xd82002)['then'](function(_0x8a522e){logger[_0xc53e('0xc')](_0xc53e('0xd'),_0x4f989b,_0xd82002[_0xc53e('0x19')]);})[_0xc53e('0x1d')](function(_0x270c78){logger[_0xc53e('0x1e')](_0xc53e('0xd'),_0x4f989b,JSON[_0xc53e('0x1f')](_0x270c78));})['finally'](function(){logger['info'](_0xc53e('0x20'),_0x4f989b);_0x2de88b[_0xc53e('0x21')]();});}else{logger[_0xc53e('0xc')](_0xc53e('0x22'),_0x4f989b);_0x2de88b[_0xc53e('0x21')]();}}else{var _0x2cfe2b=this;var _0x15a015=new AWS[(_0xc53e('0x23'))]({'accessKeyId':_0x41a9e8[0x0],'secretAccessKey':_0x41a9e8[0x1],'region':_0x41a9e8[0x2]});var _0x364c80={'botAlias':_0xc53e('0x24'),'botName':_0x41a9e8[0x3],'inputText':this[_0xc53e('0x25')][_0xc53e('0x19')],'userId':this[_0xc53e('0x26')]+':'+this['interaction']['id']['toString']()};_0x15a015['postText'](_0x364c80,function(_0x4f4304,_0x384218){if(_0x4f4304){logger[_0xc53e('0x1e')](_0xc53e('0xd'),_0x4f989b,_0x4f4304[_0xc53e('0x25')]);_0x2de88b['next']();}else if(_0x384218&&_0x384218['message']){_0x2cfe2b[_0xc53e('0x19')]['amazonlex']=_0x384218;_0xd82002[_0xc53e('0x19')]=_0x384218[_0xc53e('0x25')];return rpc[_0x35128a+_0xc53e('0x1b')][_0xc53e('0x1c')](_0xd82002)[_0xc53e('0x27')](function(_0x4df8cf){logger[_0xc53e('0xc')]('[%s][AMAZONLEX]\x20%s',_0x4f989b,_0xd82002['body']);if(_0x384218['dialogState']==_0xc53e('0x28')){_0x2de88b['next']();}else{_0x2de88b[_0xc53e('0x21')]();}})['catch'](function(_0x24a77e){logger['error']('[%s][AMAZONLEX]\x20%s',_0x4f989b,JSON[_0xc53e('0x1f')](_0x24a77e));_0x2de88b[_0xc53e('0xf')]();});}else{_0x2de88b[_0xc53e('0xf')]();}});}}catch(_0x2fa20b){logger[_0xc53e('0x1e')](_0xc53e('0xd'),_0x4f989b,JSON[_0xc53e('0x1f')](_0x2fa20b));_0x2de88b[_0xc53e('0x21')]();}};}; \ No newline at end of file diff --git a/server/services/routing/server/applications/autoreply.js b/server/services/routing/server/applications/autoreply.js index 485e1c9..c5b4617 100644 --- a/server/services/routing/server/applications/autoreply.js +++ b/server/services/routing/server/applications/autoreply.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xd5cd=['create','stringify','[RPC][%s][AUTOREPLY]\x20%s','next','Message','body','catch','finally','error','stop','lodash','moment','./utils','../../../../config/logger','routing','../../rpc/chatMessage','../../rpc/openchannelMessage','../../rpc/smsMessage','../../rpc/faxMessage','../../rpc/whatsappMessage','consequence','isNil','interaction','created','info','[%s][AUTOREPLY]\x20%s','Autoreply\x20already\x20sent','channel','getMustacheRender','contact','format','message','from','phone','read','subject','Re:\x20','ChatWebsiteId','account','AccountId','upperFirst','InteractionId','service','Smtp','host','port','secure','authentication','user','inReplyTo','messageId','html','replace',''+_[_0xdd5c('0x2a')](_0x301b2a['body'],_0xdd5c('0x2b'),_0xdd5c('0x2c'))+'';return mailRpc[_0xdd5c('0x2d')](_0x46f9a4,_0x301b2a)[_0xdd5c('0x2e')](function(_0x21fecd){logger[_0xdd5c('0xe')](_0xdd5c('0x2f'),_0x5b9a93);_0x301b2a[_0xdd5c('0x28')]=_0x21fecd[_0xdd5c('0x15')][_0xdd5c('0x28')];return rpc[_0x920634+'Message'][_0xdd5c('0x30')](_0x301b2a);})[_0xdd5c('0x2e')](function(_0x51b1e1){logger['info'](_0xdd5c('0xf'),_0x5b9a93,JSON[_0xdd5c('0x31')](_0x51b1e1));})['catch'](function(_0x3cfda7){logger['error'](_0xdd5c('0x32'),_0x5b9a93,JSON['stringify'](_0x3cfda7));})['finally'](function(){_0x69f068[_0xdd5c('0x33')]();});}else{return rpc[this['channel']+_0xdd5c('0x34')][_0xdd5c('0x30')](_0x301b2a)[_0xdd5c('0x2e')](function(_0x1ae393){logger['info']('[%s][AUTOREPLY]\x20%s',_0x5b9a93,_0x301b2a[_0xdd5c('0x35')]);})[_0xdd5c('0x36')](function(_0x5aed3e){logger['error']('[%s][AUTOREPLY]\x20%s',_0x5b9a93,JSON[_0xdd5c('0x31')](_0x5aed3e));})[_0xdd5c('0x37')](function(){_0x69f068[_0xdd5c('0x33')]();});}}}catch(_0x31f841){logger[_0xdd5c('0x38')]('[%s][AUTOREPLY]\x20%s',_0x5b9a93,JSON[_0xdd5c('0x31')](_0x31f841));_0x69f068[_0xdd5c('0x39')]();}};}; \ No newline at end of file +var _0x8cff=['channel','chat','account','upperFirst','AccountId','InteractionId','Message','mail','Smtp','service','host','port','secure','authentication','auth','user','pass','inReplyTo','messageId','html','','body','';return mailRpc[_0xf8cf('0x30')](_0x1fd66e,_0x587fc4)[_0xf8cf('0x31')](function(_0x59c482){logger[_0xf8cf('0x32')](_0xf8cf('0x33'),_0x539f46);_0x587fc4[_0xf8cf('0x2a')]=_0x59c482[_0xf8cf('0x11')][_0xf8cf('0x2a')];return rpc[_0x557266+'Message'][_0xf8cf('0x34')](_0x587fc4);})[_0xf8cf('0x31')](function(_0x15ae5d){logger[_0xf8cf('0x32')](_0xf8cf('0x35'),_0x539f46,JSON[_0xf8cf('0x36')](_0x15ae5d));})[_0xf8cf('0x37')](function(_0xc5ca54){logger[_0xf8cf('0x38')](_0xf8cf('0x39'),_0x539f46,JSON[_0xf8cf('0x36')](_0xc5ca54));})[_0xf8cf('0x3a')](function(){_0xc2aa9e[_0xf8cf('0xd')]();});}else{return rpc[this[_0xf8cf('0x18')]+'Message'][_0xf8cf('0x34')](_0x587fc4)[_0xf8cf('0x31')](function(_0x1d2178){logger[_0xf8cf('0x32')](_0xf8cf('0x35'),_0x539f46,_0x587fc4[_0xf8cf('0x2d')]);})[_0xf8cf('0x37')](function(_0x4e0c95){logger['error'](_0xf8cf('0x35'),_0x539f46,JSON[_0xf8cf('0x36')](_0x4e0c95));})[_0xf8cf('0x3a')](function(){_0xc2aa9e['next']();});}}}catch(_0x136dc7){logger[_0xf8cf('0x38')](_0xf8cf('0x35'),_0x539f46,JSON['stringify'](_0x136dc7));_0xc2aa9e[_0xf8cf('0x3b')]();}};}; \ No newline at end of file diff --git a/server/services/routing/server/applications/close.js b/server/services/routing/server/applications/close.js index 530c180..84a9920 100644 --- a/server/services/routing/server/applications/close.js +++ b/server/services/routing/server/applications/close.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x00b3=['routing','../../rpc/chatInteraction','../../rpc/openchannelInteraction','../../rpc/smsInteraction','../../rpc/faxInteraction','../../rpc/whatsappInteraction','info','[%s][CLOSE]\x20reason\x20%s','format','YYYY-MM-DD\x20HH:mm:ss','system','channel','Interaction','update','interaction','catch','error','[%s][CLOSE]\x20%s','stringify','finally','stop','moment','../../../../config/logger'];(function(_0x2e5069,_0x3a1115){var _0x2f00ad=function(_0x3cba4f){while(--_0x3cba4f){_0x2e5069['push'](_0x2e5069['shift']());}};_0x2f00ad(++_0x3a1115);}(_0x00b3,0x157));var _0x300b=function(_0x10ee8c,_0x309c61){_0x10ee8c=_0x10ee8c-0x0;var _0x56a4e5=_0x00b3[_0x10ee8c];return _0x56a4e5;};'use strict';var moment=require(_0x300b('0x0'));var logger=require(_0x300b('0x1'))(_0x300b('0x2'));var rpc={'chatInteraction':require(_0x300b('0x3')),'openchannelInteraction':require(_0x300b('0x4')),'smsInteraction':require(_0x300b('0x5')),'mailInteraction':require('../../rpc/mailInteraction'),'faxInteraction':require(_0x300b('0x6')),'whatsappInteraction':require(_0x300b('0x7'))};exports['consequence']=function(_0x2f3a41,_0x53ba28,_0x2bd6ef,_0x345454){return function(_0x2533d3){try{logger[_0x300b('0x8')](_0x300b('0x9'),_0x2f3a41,_0x53ba28[0x0]);var _0x5501f7={'closed':0x1,'closedAt':moment()[_0x300b('0xa')](_0x300b('0xb')),'closeReason':_0x300b('0xc'),'disposition':_0x53ba28[0x0]};if(rpc[_0x345454[_0x300b('0xd')]+_0x300b('0xe')]){rpc[_0x345454['channel']+'Interaction'][_0x300b('0xf')](_0x345454[_0x300b('0x10')]['id'],_0x5501f7)['then'](function(_0x3a9089){logger[_0x300b('0x8')]('[%s][CLOSE]\x20interaction\x20%s\x20has\x20been\x20closed!',_0x2f3a41,_0x345454[_0x300b('0x10')]['id']);})[_0x300b('0x11')](function(_0x68bfc0){logger[_0x300b('0x12')](_0x300b('0x13'),_0x2f3a41,JSON[_0x300b('0x14')](_0x68bfc0));})[_0x300b('0x15')](function(){_0x2533d3[_0x300b('0x16')]();});}}catch(_0x5790ac){logger['error']('[%s][CLOSE]\x20%s',_0x2f3a41,JSON[_0x300b('0x14')](_0x5790ac));_0x2533d3[_0x300b('0x16')]();}};}; \ No newline at end of file +var _0x905a=['[%s][CLOSE]\x20%s','stringify','finally','stop','moment','routing','../../rpc/smsInteraction','../../rpc/mailInteraction','../../rpc/faxInteraction','../../rpc/whatsappInteraction','consequence','info','[%s][CLOSE]\x20reason\x20%s','YYYY-MM-DD\x20HH:mm:ss','channel','Interaction','update','then','[%s][CLOSE]\x20interaction\x20%s\x20has\x20been\x20closed!','interaction','error'];(function(_0x4eff18,_0x5d7e11){var _0x32735f=function(_0x139ee0){while(--_0x139ee0){_0x4eff18['push'](_0x4eff18['shift']());}};_0x32735f(++_0x5d7e11);}(_0x905a,0xeb));var _0xa905=function(_0x1904e2,_0x5855ab){_0x1904e2=_0x1904e2-0x0;var _0x1a1e74=_0x905a[_0x1904e2];return _0x1a1e74;};'use strict';var moment=require(_0xa905('0x0'));var logger=require('../../../../config/logger')(_0xa905('0x1'));var rpc={'chatInteraction':require('../../rpc/chatInteraction'),'openchannelInteraction':require('../../rpc/openchannelInteraction'),'smsInteraction':require(_0xa905('0x2')),'mailInteraction':require(_0xa905('0x3')),'faxInteraction':require(_0xa905('0x4')),'whatsappInteraction':require(_0xa905('0x5'))};exports[_0xa905('0x6')]=function(_0xb2f96a,_0x7e4032,_0x312150,_0x7667dd){return function(_0x3a0072){try{logger[_0xa905('0x7')](_0xa905('0x8'),_0xb2f96a,_0x7e4032[0x0]);var _0x314e6d={'closed':0x1,'closedAt':moment()['format'](_0xa905('0x9')),'closeReason':'system','disposition':_0x7e4032[0x0]};if(rpc[_0x7667dd[_0xa905('0xa')]+'Interaction']){rpc[_0x7667dd['channel']+_0xa905('0xb')][_0xa905('0xc')](_0x7667dd['interaction']['id'],_0x314e6d)[_0xa905('0xd')](function(_0x593fab){logger['info'](_0xa905('0xe'),_0xb2f96a,_0x7667dd[_0xa905('0xf')]['id']);})['catch'](function(_0x54e06c){logger[_0xa905('0x10')](_0xa905('0x11'),_0xb2f96a,JSON[_0xa905('0x12')](_0x54e06c));})[_0xa905('0x13')](function(){_0x3a0072[_0xa905('0x14')]();});}}catch(_0xbe0d64){logger['error'](_0xa905('0x11'),_0xb2f96a,JSON['stringify'](_0xbe0d64));_0x3a0072[_0xa905('0x14')]();}};}; \ No newline at end of file diff --git a/server/services/routing/server/applications/dialogflow.js b/server/services/routing/server/applications/dialogflow.js index 6131818..132b67e 100644 --- a/server/services/routing/server/applications/dialogflow.js +++ b/server/services/routing/server/applications/dialogflow.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x27e9=['../../rpc/mailMessage','../../rpc/whatsappMessage','consequence','interaction','UserId','[%s][DIALOGFLOW]\x20%s','next','contact','format','out','channel','chat','ChatWebsiteId','account','upperFirst','AccountId','InteractionId','created','isEmpty','body','getMustacheRender','Message','create','then','info','error','finally','[%s][DIALOGFLOW]\x20Welcome\x20Message\x20has\x20been\x20sent!','stop','textRequest','dialogflow','result','fulfillment','speech','endConversation','stringify','message','apiai-promise','md5','./utils','../../../../config/logger','routing','../../rpc/chatMessage','../../rpc/openchannelMessage'];(function(_0x4076f8,_0x294712){var _0x52ed23=function(_0x4d971b){while(--_0x4d971b){_0x4076f8['push'](_0x4076f8['shift']());}};_0x52ed23(++_0x294712);}(_0x27e9,0xd5));var _0x927e=function(_0x501ad5,_0x1f663c){_0x501ad5=_0x501ad5-0x0;var _0x4610f3=_0x27e9[_0x501ad5];return _0x4610f3;};'use strict';var _=require('lodash');var moment=require('moment');var apiai=require(_0x927e('0x0'));var md5=require(_0x927e('0x1'));var utils=require(_0x927e('0x2'));var logger=require(_0x927e('0x3'))(_0x927e('0x4'));var rpc={'chatMessage':require(_0x927e('0x5')),'openchannelMessage':require(_0x927e('0x6')),'mailMessage':require(_0x927e('0x7')),'smsMessage':require('../../rpc/smsMessage'),'faxMessage':require('../../rpc/faxMessage'),'whatsappMessage':require(_0x927e('0x8'))};exports[_0x927e('0x9')]=function(_0x39cce2,_0x231cbc){return function(_0x36d8a0){try{if(!_['isNil'](this[_0x927e('0xa')][_0x927e('0xb')])){logger['info'](_0x927e('0xc'),_0x39cce2,'Agent\x20is\x20managing\x20the\x20interaction.\x20Go\x20to\x20next\x20application.');return _0x36d8a0[_0x927e('0xd')]();}var _0x22c7c5={'ContactId':this[_0x927e('0xe')]['id'],'sentAt':moment()[_0x927e('0xf')]('YYYY-MM-DD\x20HH:mm:ss'),'direction':_0x927e('0x10')};var _0x3f7539=this[_0x927e('0x11')];if(_0x3f7539===_0x927e('0x12')){_0x22c7c5[_0x927e('0x13')]=this[_0x927e('0x14')]['id'];}else{_0x22c7c5[_[_0x927e('0x15')](_0x3f7539)+_0x927e('0x16')]=this[_0x927e('0x14')]['id'];}_0x22c7c5[_[_0x927e('0x15')](_0x3f7539)+_0x927e('0x17')]=this[_0x927e('0xa')]['id'];if(this[_0x927e('0xa')][_0x927e('0x18')]){var _0x3dbebd=_0x231cbc[0x2];if(!_[_0x927e('0x19')](_0x3dbebd)){_0x22c7c5[_0x927e('0x1a')]=utils[_0x927e('0x1b')](_0x3dbebd,this);return rpc[_0x3f7539+_0x927e('0x1c')][_0x927e('0x1d')](_0x22c7c5)[_0x927e('0x1e')](function(_0xe7d19a){logger[_0x927e('0x1f')](_0x927e('0xc'),_0x39cce2,_0x22c7c5[_0x927e('0x1a')]);})['catch'](function(_0x1ce288){logger[_0x927e('0x20')](_0x927e('0xc'),_0x39cce2,JSON['stringify'](_0x1ce288));})[_0x927e('0x21')](function(){logger[_0x927e('0x1f')](_0x927e('0x22'),_0x39cce2);_0x36d8a0[_0x927e('0x23')]();});}else{logger[_0x927e('0x1f')]('[%s][DIALOGFLOW]\x20Welcome\x20Message\x20is\x20empty.\x20It\x20will\x20wait\x20for\x20a\x20message\x20from\x20customer!',_0x39cce2);_0x36d8a0['stop']();}}else{var _0x51bf38=this;var _0x303bb0=apiai(_0x231cbc[0x0],{'language':_0x231cbc[0x1]||'en'});return _0x303bb0[_0x927e('0x24')](this['message'][_0x927e('0x1a')],{'sessionId':md5(this['interaction']['id'])})['then'](function(_0x30e480){_0x51bf38[_0x927e('0x1a')][_0x927e('0x25')]=_0x30e480;_0x22c7c5[_0x927e('0x1a')]=_0x30e480[_0x927e('0x26')][_0x927e('0x27')][_0x927e('0x28')];return rpc[_0x3f7539+'Message'][_0x927e('0x1d')](_0x22c7c5)['then'](function(_0x61b9ea){logger['info'](_0x927e('0xc'),_0x39cce2,_0x22c7c5[_0x927e('0x1a')]);if(_0x30e480['result']['metadata'][_0x927e('0x29')]){_0x36d8a0[_0x927e('0xd')]();}else{_0x36d8a0['stop']();}})['catch'](function(_0x4c13de){logger[_0x927e('0x20')]('[%s][DIALOGFLOW]\x20%s',_0x39cce2,JSON[_0x927e('0x2a')](_0x4c13de));_0x36d8a0[_0x927e('0xd')]();});})['catch'](function(_0x164906){logger['error']('[%s][DIALOGFLOW]\x20%s',_0x39cce2,_0x164906[_0x927e('0x2b')]);_0x36d8a0[_0x927e('0xd')]();});}}catch(_0x213e59){logger['error'](_0x927e('0xc'),_0x39cce2,JSON[_0x927e('0x2a')](_0x213e59));_0x36d8a0[_0x927e('0x23')]();}};}; \ No newline at end of file +var _0xe067=['../../rpc/chatMessage','../../rpc/openchannelMessage','../../rpc/mailMessage','../../rpc/smsMessage','../../rpc/faxMessage','../../rpc/whatsappMessage','consequence','interaction','UserId','info','[%s][DIALOGFLOW]\x20%s','Agent\x20is\x20managing\x20the\x20interaction.\x20Go\x20to\x20next\x20application.','next','contact','format','YYYY-MM-DD\x20HH:mm:ss','out','chat','ChatWebsiteId','upperFirst','InteractionId','isEmpty','body','getMustacheRender','Message','create','then','error','stringify','finally','[%s][DIALOGFLOW]\x20Welcome\x20Message\x20is\x20empty.\x20It\x20will\x20wait\x20for\x20a\x20message\x20from\x20customer!','stop','textRequest','message','result','fulfillment','metadata','endConversation','catch','lodash','moment','apiai-promise','md5','../../../../config/logger'];(function(_0xc4b38c,_0xdce3a6){var _0x142efa=function(_0x16e0ca){while(--_0x16e0ca){_0xc4b38c['push'](_0xc4b38c['shift']());}};_0x142efa(++_0xdce3a6);}(_0xe067,0xab));var _0x7e06=function(_0x3c1861,_0x532642){_0x3c1861=_0x3c1861-0x0;var _0x4e5a61=_0xe067[_0x3c1861];return _0x4e5a61;};'use strict';var _=require(_0x7e06('0x0'));var moment=require(_0x7e06('0x1'));var apiai=require(_0x7e06('0x2'));var md5=require(_0x7e06('0x3'));var utils=require('./utils');var logger=require(_0x7e06('0x4'))('routing');var rpc={'chatMessage':require(_0x7e06('0x5')),'openchannelMessage':require(_0x7e06('0x6')),'mailMessage':require(_0x7e06('0x7')),'smsMessage':require(_0x7e06('0x8')),'faxMessage':require(_0x7e06('0x9')),'whatsappMessage':require(_0x7e06('0xa'))};exports[_0x7e06('0xb')]=function(_0x4df393,_0xf68032){return function(_0x14df52){try{if(!_['isNil'](this[_0x7e06('0xc')][_0x7e06('0xd')])){logger[_0x7e06('0xe')](_0x7e06('0xf'),_0x4df393,_0x7e06('0x10'));return _0x14df52[_0x7e06('0x11')]();}var _0x4fc20d={'ContactId':this[_0x7e06('0x12')]['id'],'sentAt':moment()[_0x7e06('0x13')](_0x7e06('0x14')),'direction':_0x7e06('0x15')};var _0x115729=this['channel'];if(_0x115729===_0x7e06('0x16')){_0x4fc20d[_0x7e06('0x17')]=this['account']['id'];}else{_0x4fc20d[_[_0x7e06('0x18')](_0x115729)+'AccountId']=this['account']['id'];}_0x4fc20d[_['upperFirst'](_0x115729)+_0x7e06('0x19')]=this[_0x7e06('0xc')]['id'];if(this[_0x7e06('0xc')]['created']){var _0x4f8701=_0xf68032[0x2];if(!_[_0x7e06('0x1a')](_0x4f8701)){_0x4fc20d[_0x7e06('0x1b')]=utils[_0x7e06('0x1c')](_0x4f8701,this);return rpc[_0x115729+_0x7e06('0x1d')][_0x7e06('0x1e')](_0x4fc20d)[_0x7e06('0x1f')](function(_0x4a3493){logger[_0x7e06('0xe')]('[%s][DIALOGFLOW]\x20%s',_0x4df393,_0x4fc20d[_0x7e06('0x1b')]);})['catch'](function(_0x35245d){logger[_0x7e06('0x20')](_0x7e06('0xf'),_0x4df393,JSON[_0x7e06('0x21')](_0x35245d));})[_0x7e06('0x22')](function(){logger[_0x7e06('0xe')]('[%s][DIALOGFLOW]\x20Welcome\x20Message\x20has\x20been\x20sent!',_0x4df393);_0x14df52['stop']();});}else{logger[_0x7e06('0xe')](_0x7e06('0x23'),_0x4df393);_0x14df52[_0x7e06('0x24')]();}}else{var _0x16670b=this;var _0x1bbf4f=apiai(_0xf68032[0x0],{'language':_0xf68032[0x1]||'en'});return _0x1bbf4f[_0x7e06('0x25')](this[_0x7e06('0x26')][_0x7e06('0x1b')],{'sessionId':md5(this[_0x7e06('0xc')]['id'])})[_0x7e06('0x1f')](function(_0x9e8c8){_0x16670b[_0x7e06('0x1b')]['dialogflow']=_0x9e8c8;_0x4fc20d[_0x7e06('0x1b')]=_0x9e8c8[_0x7e06('0x27')][_0x7e06('0x28')]['speech'];return rpc[_0x115729+_0x7e06('0x1d')][_0x7e06('0x1e')](_0x4fc20d)['then'](function(_0x50c270){logger[_0x7e06('0xe')]('[%s][DIALOGFLOW]\x20%s',_0x4df393,_0x4fc20d[_0x7e06('0x1b')]);if(_0x9e8c8[_0x7e06('0x27')][_0x7e06('0x29')][_0x7e06('0x2a')]){_0x14df52[_0x7e06('0x11')]();}else{_0x14df52[_0x7e06('0x24')]();}})[_0x7e06('0x2b')](function(_0x18cbf4){logger[_0x7e06('0x20')]('[%s][DIALOGFLOW]\x20%s',_0x4df393,JSON['stringify'](_0x18cbf4));_0x14df52['next']();});})['catch'](function(_0x15f22d){logger[_0x7e06('0x20')](_0x7e06('0xf'),_0x4df393,_0x15f22d['message']);_0x14df52['next']();});}}catch(_0x20d702){logger['error'](_0x7e06('0xf'),_0x4df393,JSON[_0x7e06('0x21')](_0x20d702));_0x14df52[_0x7e06('0x24')]();}};}; \ No newline at end of file diff --git a/server/services/routing/server/applications/gotoif.js b/server/services/routing/server/applications/gotoif.js index b34db88..c2556ab 100644 --- a/server/services/routing/server/applications/gotoif.js +++ b/server/services/routing/server/applications/gotoif.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xadca=['[%s][GOTOIF]\x20condition\x20%s\x20is\x20%s\x20try\x20goto\x20priority\x20%s','next','rules','[%s][GOTOIF]\x20priority\x20%s\x20not\x20found','error','[%s][GOTOIF]\x20eval\x20error:\x20%s','stringify','validate','lodash','html-to-text','./utils','../../../../config/logger','routing','string','condition\x20is\x20a\x20string\x20and\x20it\x20is\x20required','number','priority\x20true\x20is\x20a\x20number','consequence','fromString','getMustacheRender','replace','[%s][GOTOIF]\x20%s','map','message','join','stop','condition','priorityTrue','priorityFalse','info'];(function(_0x30a3b1,_0x4efb8a){var _0x32051b=function(_0x158ef6){while(--_0x158ef6){_0x30a3b1['push'](_0x30a3b1['shift']());}};_0x32051b(++_0x4efb8a);}(_0xadca,0x16f));var _0xaadc=function(_0x56a28a,_0x12b812){_0x56a28a=_0x56a28a-0x0;var _0x2f0161=_0xadca[_0x56a28a];return _0x2f0161;};'use strict';var schema=require(_0xaadc('0x0'));var _=require(_0xaadc('0x1'));var htmlToText=require(_0xaadc('0x2'));var utils=require(_0xaadc('0x3'));var logger=require(_0xaadc('0x4'))(_0xaadc('0x5'));var gotoif=schema({'condition':{'type':_0xaadc('0x6'),'required':!![],'message':_0xaadc('0x7')},'priorityTrue':{'type':_0xaadc('0x8'),'message':_0xaadc('0x9')},'priorityFalse':{'type':_0xaadc('0x8'),'message':'priority\x20false\x20is\x20a\x20number'}});exports[_0xaadc('0xa')]=function(_0x39d85e,_0xd56101){return function(_0x24fd4e){try{var _0xe813a={'condition':htmlToText[_0xaadc('0xb')](utils[_0xaadc('0xc')](_0xd56101[0x0],this),{'wordwrap':![]})[_0xaadc('0xd')](/<\/?[^>]+(>|$)/g,''),'priorityTrue':_0xd56101[0x1],'priorityFalse':_0xd56101[0x2]};var _0x552e45=gotoif[_0xaadc('0x0')](_0xe813a,{'typecast':!![]});if(_0x552e45['length']){logger['error'](_0xaadc('0xe'),_0x39d85e,_[_0xaadc('0xf')](_0x552e45,_0xaadc('0x10'))[_0xaadc('0x11')](',\x20'));_0x24fd4e[_0xaadc('0x12')]();}else{try{var _0x31be3e=eval('('+_0xe813a[_0xaadc('0x13')]+')');var _0x32f94c=_0x31be3e?_0xe813a[_0xaadc('0x14')]:_0xe813a[_0xaadc('0x15')];logger[_0xaadc('0x16')](_0xaadc('0x17'),_0x39d85e,_0xe813a['condition'],_0x31be3e,_0x32f94c||_0xaadc('0x18'));if(_0x32f94c){var _0x5bb079=_['findIndex'](_0x24fd4e[_0xaadc('0x19')](),{'p':_0x32f94c});if(_0x5bb079>=0x0){logger[_0xaadc('0x16')]('[%s][GOTOIF]\x20priority\x20%s\x20found\x20at\x20index:\x20%s',_0x39d85e,_0x32f94c||'next',_0x5bb079);_0x24fd4e['next'](_0x5bb079);}else{logger[_0xaadc('0x16')](_0xaadc('0x1a'),_0x39d85e,_0x32f94c||'next');_0x24fd4e[_0xaadc('0x12')]();}}else{_0x24fd4e[_0xaadc('0x18')]();}}catch(_0x560caa){logger[_0xaadc('0x1b')](_0xaadc('0x1c'),_0x39d85e,_0x560caa[_0xaadc('0x10')]);_0x24fd4e[_0xaadc('0x12')]();}}}catch(_0x518ed9){logger[_0xaadc('0x1b')](_0xaadc('0xe'),_0x39d85e,JSON[_0xaadc('0x1d')](_0x518ed9));_0x24fd4e[_0xaadc('0x12')]();}};}; \ No newline at end of file +var _0x0ac7=['condition\x20is\x20a\x20string\x20and\x20it\x20is\x20required','priority\x20true\x20is\x20a\x20number','priority\x20false\x20is\x20a\x20number','fromString','getMustacheRender','length','message','stop','condition','priorityTrue','priorityFalse','info','[%s][GOTOIF]\x20condition\x20%s\x20is\x20%s\x20try\x20goto\x20priority\x20%s','next','findIndex','rules','[%s][GOTOIF]\x20priority\x20%s\x20found\x20at\x20index:\x20%s','[%s][GOTOIF]\x20priority\x20%s\x20not\x20found','error','[%s][GOTOIF]\x20eval\x20error:\x20%s','validate','./utils','routing','string'];(function(_0x1649e6,_0x24529d){var _0x504cf6=function(_0x22c2e0){while(--_0x22c2e0){_0x1649e6['push'](_0x1649e6['shift']());}};_0x504cf6(++_0x24529d);}(_0x0ac7,0x8c));var _0x70ac=function(_0x33cff6,_0x24664e){_0x33cff6=_0x33cff6-0x0;var _0x5f3171=_0x0ac7[_0x33cff6];return _0x5f3171;};'use strict';var schema=require(_0x70ac('0x0'));var _=require('lodash');var htmlToText=require('html-to-text');var utils=require(_0x70ac('0x1'));var logger=require('../../../../config/logger')(_0x70ac('0x2'));var gotoif=schema({'condition':{'type':_0x70ac('0x3'),'required':!![],'message':_0x70ac('0x4')},'priorityTrue':{'type':'number','message':_0x70ac('0x5')},'priorityFalse':{'type':'number','message':_0x70ac('0x6')}});exports['consequence']=function(_0xf4b456,_0x12d0da){return function(_0x44e42a){try{var _0x5e3e6e={'condition':htmlToText[_0x70ac('0x7')](utils[_0x70ac('0x8')](_0x12d0da[0x0],this),{'wordwrap':![]})['replace'](/<\/?[^>]+(>|$)/g,''),'priorityTrue':_0x12d0da[0x1],'priorityFalse':_0x12d0da[0x2]};var _0x5b54bb=gotoif[_0x70ac('0x0')](_0x5e3e6e,{'typecast':!![]});if(_0x5b54bb[_0x70ac('0x9')]){logger['error']('[%s][GOTOIF]\x20%s',_0xf4b456,_['map'](_0x5b54bb,_0x70ac('0xa'))['join'](',\x20'));_0x44e42a[_0x70ac('0xb')]();}else{try{var _0x1d6e95=eval('('+_0x5e3e6e[_0x70ac('0xc')]+')');var _0x4d4bdd=_0x1d6e95?_0x5e3e6e[_0x70ac('0xd')]:_0x5e3e6e[_0x70ac('0xe')];logger[_0x70ac('0xf')](_0x70ac('0x10'),_0xf4b456,_0x5e3e6e[_0x70ac('0xc')],_0x1d6e95,_0x4d4bdd||_0x70ac('0x11'));if(_0x4d4bdd){var _0x11877f=_[_0x70ac('0x12')](_0x44e42a[_0x70ac('0x13')](),{'p':_0x4d4bdd});if(_0x11877f>=0x0){logger[_0x70ac('0xf')](_0x70ac('0x14'),_0xf4b456,_0x4d4bdd||_0x70ac('0x11'),_0x11877f);_0x44e42a['next'](_0x11877f);}else{logger[_0x70ac('0xf')](_0x70ac('0x15'),_0xf4b456,_0x4d4bdd||'next');_0x44e42a['stop']();}}else{_0x44e42a[_0x70ac('0x11')]();}}catch(_0x34308d){logger[_0x70ac('0x16')](_0x70ac('0x17'),_0xf4b456,_0x34308d[_0x70ac('0xa')]);_0x44e42a[_0x70ac('0xb')]();}}}catch(_0x5ec4bc){logger[_0x70ac('0x16')]('[%s][GOTOIF]\x20%s',_0xf4b456,JSON['stringify'](_0x5ec4bc));_0x44e42a[_0x70ac('0xb')]();}};}; \ No newline at end of file diff --git a/server/services/routing/server/applications/gotop.js b/server/services/routing/server/applications/gotop.js index d3a832e..cf2d94f 100644 --- a/server/services/routing/server/applications/gotop.js +++ b/server/services/routing/server/applications/gotop.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x427b=['priority','findIndex','rules','[%s][GOTOP]\x20priority\x20%s\x20found\x20at\x20index:\x20%s','next','[%s][GOTOP]\x20priority\x20%s\x20not\x20found','[%s][GOTOP]\x20%s','stringify','validate','lodash','../../../../config/logger','routing','priority\x20is\x20a\x20number\x20and\x20it\x20is\x20required','consequence','length','error','map','join','stop','info','[%s][GOTOP]\x20priority\x20%s'];(function(_0x4c2dfc,_0x4814c0){var _0xfd728d=function(_0x5b8d81){while(--_0x5b8d81){_0x4c2dfc['push'](_0x4c2dfc['shift']());}};_0xfd728d(++_0x4814c0);}(_0x427b,0xb0));var _0xb427=function(_0x81520e,_0x88e704){_0x81520e=_0x81520e-0x0;var _0x3a5c5c=_0x427b[_0x81520e];return _0x3a5c5c;};'use strict';var schema=require(_0xb427('0x0'));var _=require(_0xb427('0x1'));var logger=require(_0xb427('0x2'))(_0xb427('0x3'));var gotop=schema({'priority':{'type':'number','required':!![],'message':_0xb427('0x4')}});exports[_0xb427('0x5')]=function(_0x6ef464,_0x32c503){return function(_0x24f8ad){try{var _0xecfbe4={'priority':_0x32c503[0x0]};var _0x4ebad2=gotop[_0xb427('0x0')](_0xecfbe4,{'typecast':!![]});if(_0x4ebad2[_0xb427('0x6')]){logger[_0xb427('0x7')]('[%s][GOTOP]\x20%s',_0x6ef464,_[_0xb427('0x8')](_0x4ebad2,'message')[_0xb427('0x9')](',\x20'));_0x24f8ad[_0xb427('0xa')]();}else{logger[_0xb427('0xb')](_0xb427('0xc'),_0x6ef464,_0xecfbe4[_0xb427('0xd')]);if(_0xecfbe4[_0xb427('0xd')]){var _0x589ce6=_[_0xb427('0xe')](_0x24f8ad[_0xb427('0xf')](),{'p':_0xecfbe4[_0xb427('0xd')]});if(_0x589ce6>=0x0){logger[_0xb427('0xb')](_0xb427('0x10'),_0x6ef464,_0xecfbe4[_0xb427('0xd')]||_0xb427('0x11'),_0x589ce6);_0x24f8ad[_0xb427('0x11')](_0x589ce6);}else{logger[_0xb427('0xb')](_0xb427('0x12'),_0x6ef464,_0xecfbe4['priority']||'next');_0x24f8ad[_0xb427('0xa')]();}}else{_0x24f8ad[_0xb427('0x11')]();}}}catch(_0x245569){logger[_0xb427('0x7')](_0xb427('0x13'),_0x6ef464,JSON[_0xb427('0x14')](_0x245569));_0x24f8ad[_0xb427('0xa')]();}};}; \ No newline at end of file +var _0xe5ac=['length','error','[%s][GOTOP]\x20%s','join','stop','info','[%s][GOTOP]\x20priority\x20%s','priority','findIndex','rules','next','stringify','validate','number','priority\x20is\x20a\x20number\x20and\x20it\x20is\x20required','consequence'];(function(_0x456a01,_0x221b75){var _0x591772=function(_0x29174c){while(--_0x29174c){_0x456a01['push'](_0x456a01['shift']());}};_0x591772(++_0x221b75);}(_0xe5ac,0x11c));var _0xce5a=function(_0x32bcda,_0x156e9c){_0x32bcda=_0x32bcda-0x0;var _0x4e6191=_0xe5ac[_0x32bcda];return _0x4e6191;};'use strict';var schema=require(_0xce5a('0x0'));var _=require('lodash');var logger=require('../../../../config/logger')('routing');var gotop=schema({'priority':{'type':_0xce5a('0x1'),'required':!![],'message':_0xce5a('0x2')}});exports[_0xce5a('0x3')]=function(_0x4e27a0,_0x2c17bf){return function(_0x22c26b){try{var _0x5812da={'priority':_0x2c17bf[0x0]};var _0x527dba=gotop['validate'](_0x5812da,{'typecast':!![]});if(_0x527dba[_0xce5a('0x4')]){logger[_0xce5a('0x5')](_0xce5a('0x6'),_0x4e27a0,_['map'](_0x527dba,'message')[_0xce5a('0x7')](',\x20'));_0x22c26b[_0xce5a('0x8')]();}else{logger[_0xce5a('0x9')](_0xce5a('0xa'),_0x4e27a0,_0x5812da[_0xce5a('0xb')]);if(_0x5812da[_0xce5a('0xb')]){var _0x4f7b34=_[_0xce5a('0xc')](_0x22c26b[_0xce5a('0xd')](),{'p':_0x5812da[_0xce5a('0xb')]});if(_0x4f7b34>=0x0){logger['info']('[%s][GOTOP]\x20priority\x20%s\x20found\x20at\x20index:\x20%s',_0x4e27a0,_0x5812da['priority']||'next',_0x4f7b34);_0x22c26b[_0xce5a('0xe')](_0x4f7b34);}else{logger['info']('[%s][GOTOP]\x20priority\x20%s\x20not\x20found',_0x4e27a0,_0x5812da[_0xce5a('0xb')]||_0xce5a('0xe'));_0x22c26b[_0xce5a('0x8')]();}}else{_0x22c26b[_0xce5a('0xe')]();}}}catch(_0x4c4327){logger[_0xce5a('0x5')](_0xce5a('0x6'),_0x4e27a0,JSON[_0xce5a('0xf')](_0x4c4327));_0x22c26b[_0xce5a('0x8')]();}};}; \ No newline at end of file diff --git a/server/services/routing/server/applications/message.js b/server/services/routing/server/applications/message.js index c6ead68..2172920 100644 --- a/server/services/routing/server/applications/message.js +++ b/server/services/routing/server/applications/message.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x791d=['Message','create','then','[%s][MESSAGE]\x20%s','body','next','catch','error','stop','stringify','lodash','./utils','../../../../config/logger','../../rpc/chatMessage','../../rpc/openchannelMessage','../../rpc/smsMessage','../../rpc/faxMessage','../../rpc/whatsappMessage','consequence','chat','ChatWebsiteId','upperFirst','AccountId','channel','InteractionId','interaction'];(function(_0x2dcb4a,_0x5a63c6){var _0x1ad5ab=function(_0x517ea9){while(--_0x517ea9){_0x2dcb4a['push'](_0x2dcb4a['shift']());}};_0x1ad5ab(++_0x5a63c6);}(_0x791d,0x10e));var _0xd791=function(_0x17aa7a,_0x12cec2){_0x17aa7a=_0x17aa7a-0x0;var _0x259b68=_0x791d[_0x17aa7a];return _0x259b68;};'use strict';var _=require(_0xd791('0x0'));var utils=require(_0xd791('0x1'));var logger=require(_0xd791('0x2'))('routing');var rpc={'chatMessage':require(_0xd791('0x3')),'openchannelMessage':require(_0xd791('0x4')),'mailMessage':require('../../rpc/mailMessage'),'smsMessage':require(_0xd791('0x5')),'faxMessage':require(_0xd791('0x6')),'whatsappMessage':require(_0xd791('0x7'))};exports[_0xd791('0x8')]=function(_0x5cfb1d,_0xeb72b1){return function(_0xf72a04){try{var _0x57c2b2={'body':utils['getMustacheRender'](_0xeb72b1[0x0],this),'ContactId':this['contact']['id']};if(this['channel']===_0xd791('0x9')){_0x57c2b2[_0xd791('0xa')]=this['account']['id'];}else{_0x57c2b2[_[_0xd791('0xb')](this['channel'])+_0xd791('0xc')]=this['account']['id'];}_0x57c2b2[_['upperFirst'](this[_0xd791('0xd')])+_0xd791('0xe')]=this[_0xd791('0xf')]['id'];if(rpc[this[_0xd791('0xd')]+_0xd791('0x10')]){return rpc[this[_0xd791('0xd')]+_0xd791('0x10')][_0xd791('0x11')](_0x57c2b2)[_0xd791('0x12')](function(_0x261e7e){logger['info'](_0xd791('0x13'),_0x5cfb1d,_0x57c2b2[_0xd791('0x14')]);_0xf72a04[_0xd791('0x15')]();})[_0xd791('0x16')](function(_0x2fd434){logger[_0xd791('0x17')](_0xd791('0x13'),_0x5cfb1d,JSON['stringify'](_0x2fd434));_0xf72a04[_0xd791('0x18')]();});}}catch(_0x5270ca){logger[_0xd791('0x17')](_0xd791('0x13'),_0x5cfb1d,JSON[_0xd791('0x19')](_0x5270ca));_0xf72a04[_0xd791('0x18')]();}};}; \ No newline at end of file +var _0x6ace=['contact','channel','chat','ChatWebsiteId','upperFirst','AccountId','account','InteractionId','interaction','Message','create','then','info','[%s][MESSAGE]\x20%s','body','next','stringify','stop','lodash','./utils','routing','../../rpc/chatMessage','../../rpc/mailMessage','../../rpc/smsMessage','../../rpc/faxMessage','../../rpc/whatsappMessage','getMustacheRender'];(function(_0x37eeb0,_0xb6b3a5){var _0x28a2b=function(_0x39fb52){while(--_0x39fb52){_0x37eeb0['push'](_0x37eeb0['shift']());}};_0x28a2b(++_0xb6b3a5);}(_0x6ace,0x1dd));var _0xe6ac=function(_0x3b0295,_0x218b0b){_0x3b0295=_0x3b0295-0x0;var _0x2cdd32=_0x6ace[_0x3b0295];return _0x2cdd32;};'use strict';var _=require(_0xe6ac('0x0'));var utils=require(_0xe6ac('0x1'));var logger=require('../../../../config/logger')(_0xe6ac('0x2'));var rpc={'chatMessage':require(_0xe6ac('0x3')),'openchannelMessage':require('../../rpc/openchannelMessage'),'mailMessage':require(_0xe6ac('0x4')),'smsMessage':require(_0xe6ac('0x5')),'faxMessage':require(_0xe6ac('0x6')),'whatsappMessage':require(_0xe6ac('0x7'))};exports['consequence']=function(_0x23e159,_0x107762){return function(_0x2e6307){try{var _0xa86d30={'body':utils[_0xe6ac('0x8')](_0x107762[0x0],this),'ContactId':this[_0xe6ac('0x9')]['id']};if(this[_0xe6ac('0xa')]===_0xe6ac('0xb')){_0xa86d30[_0xe6ac('0xc')]=this['account']['id'];}else{_0xa86d30[_[_0xe6ac('0xd')](this['channel'])+_0xe6ac('0xe')]=this[_0xe6ac('0xf')]['id'];}_0xa86d30[_['upperFirst'](this[_0xe6ac('0xa')])+_0xe6ac('0x10')]=this[_0xe6ac('0x11')]['id'];if(rpc[this['channel']+_0xe6ac('0x12')]){return rpc[this[_0xe6ac('0xa')]+'Message'][_0xe6ac('0x13')](_0xa86d30)[_0xe6ac('0x14')](function(_0x32a960){logger[_0xe6ac('0x15')](_0xe6ac('0x16'),_0x23e159,_0xa86d30[_0xe6ac('0x17')]);_0x2e6307[_0xe6ac('0x18')]();})['catch'](function(_0x18aa38){logger['error'](_0xe6ac('0x16'),_0x23e159,JSON[_0xe6ac('0x19')](_0x18aa38));_0x2e6307[_0xe6ac('0x1a')]();});}}catch(_0xb64472){logger['error'](_0xe6ac('0x16'),_0x23e159,JSON[_0xe6ac('0x19')](_0xb64472));_0x2e6307[_0xe6ac('0x1a')]();}};}; \ No newline at end of file diff --git a/server/services/routing/server/applications/noop.js b/server/services/routing/server/applications/noop.js index 076ae12..a4a225b 100644 --- a/server/services/routing/server/applications/noop.js +++ b/server/services/routing/server/applications/noop.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xca4e=['info','[%s][NOOP]\x20%s','next','error','stringify','stop','./utils','consequence'];(function(_0x524384,_0x83aa09){var _0x5812ca=function(_0x36638f){while(--_0x36638f){_0x524384['push'](_0x524384['shift']());}};_0x5812ca(++_0x83aa09);}(_0xca4e,0x1be));var _0xeca4=function(_0x236bdc,_0x241c8e){_0x236bdc=_0x236bdc-0x0;var _0x3ef0ca=_0xca4e[_0x236bdc];return _0x3ef0ca;};'use strict';var utils=require(_0xeca4('0x0'));var logger=require('../../../../config/logger')('routing');exports[_0xeca4('0x1')]=function(_0x1f0493,_0x1d723e){return function(_0x405488){try{logger[_0xeca4('0x2')](_0xeca4('0x3'),_0x1f0493,utils['getMustacheRender'](_0x1d723e[0x0],this));_0x405488[_0xeca4('0x4')]();}catch(_0x39484b){logger[_0xeca4('0x5')](_0xeca4('0x3'),_0x1f0493,JSON[_0xeca4('0x6')](_0x39484b));_0x405488[_0xeca4('0x7')]();}};}; \ No newline at end of file +var _0xc9f3=['./utils','../../../../config/logger','info','[%s][NOOP]\x20%s','getMustacheRender','next','stringify','stop'];(function(_0x108e2c,_0x508fdf){var _0x216ae2=function(_0x359d8a){while(--_0x359d8a){_0x108e2c['push'](_0x108e2c['shift']());}};_0x216ae2(++_0x508fdf);}(_0xc9f3,0x158));var _0x3c9f=function(_0x3faab5,_0x14cdb8){_0x3faab5=_0x3faab5-0x0;var _0x304f2e=_0xc9f3[_0x3faab5];return _0x304f2e;};'use strict';var utils=require(_0x3c9f('0x0'));var logger=require(_0x3c9f('0x1'))('routing');exports['consequence']=function(_0x2ee6d6,_0x19b449){return function(_0x13361e){try{logger[_0x3c9f('0x2')](_0x3c9f('0x3'),_0x2ee6d6,utils[_0x3c9f('0x4')](_0x19b449[0x0],this));_0x13361e[_0x3c9f('0x5')]();}catch(_0xf393b4){logger['error'](_0x3c9f('0x3'),_0x2ee6d6,JSON[_0x3c9f('0x6')](_0xf393b4));_0x13361e[_0x3c9f('0x7')]();}};}; \ No newline at end of file diff --git a/server/services/routing/server/applications/queue.js b/server/services/routing/server/applications/queue.js index cb5f6a8..c0aef09 100644 --- a/server/services/routing/server/applications/queue.js +++ b/server/services/routing/server/applications/queue.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x9957=['seq-queue','ioredis','../../../../config/environment','../../../../config/logger','routing','redis','defaults','localhost','socket.io-emitter','account','queue','joinAt','emit','clone','queue_id','pick','format','%sQueuesWaitingInteractions','%s:queue:%s','%s_queue_waiting_interaction:%s','save','../../rpc/mailQueueReport','../../rpc/chatQueueReport','../../rpc/smsQueueReport','../../rpc/faxQueueReport','../../rpc/whatsappQueueReport','string','timeout\x20is\x20a\x20number','from','YYYY-MM-DD\x20HH:mm:ss','contact','list','upperFirst','channel','QueueId','InteractionId','interaction','MessageId','message','chat','WebsiteId','info','name','QueueReport','create','catch','error','waiting','accepted','body','[%s][END:QUEUE][NAME:%s]','update','update\x20queue\x20report','toLowerCase','length','[%s][QUEUE]\x20%s','join','stop','find','Queues','timeout','atimeout','end','[%s][QUEUE]\x20ROUTING\x20STOPPED','close','rules','[%s][QUEUE]\x20APPLICATION\x20END','strategy','rrmemory','beepall','[%s][QUEUE]\x20queue\x20not\x20found\x20%s','log','validate','lodash','util'];(function(_0x1d602d,_0x4ea544){var _0x420908=function(_0x3eb610){while(--_0x3eb610){_0x1d602d['push'](_0x1d602d['shift']());}};_0x420908(++_0x4ea544);}(_0x9957,0x93));var _0x7995=function(_0x3b380d,_0x4bf247){_0x3b380d=_0x3b380d-0x0;var _0x54502b=_0x9957[_0x3b380d];return _0x54502b;};'use strict';var schema=require(_0x7995('0x0'));var _=require(_0x7995('0x1'));var util=require(_0x7995('0x2'));var seqqueue=require(_0x7995('0x3'));var moment=require('moment');var Redis=require(_0x7995('0x4'));var config=require(_0x7995('0x5'));var logger=require(_0x7995('0x6'))(_0x7995('0x7'));var strategy=require('./strategy');config[_0x7995('0x8')]=_[_0x7995('0x9')](config[_0x7995('0x8')],{'host':_0x7995('0xa'),'port':0x18eb});var io=require(_0x7995('0xb'))(new Redis(config[_0x7995('0x8')]));var attributes=['id','queue_id',_0x7995('0xc'),_0x7995('0xd'),'from',_0x7995('0xe')];function emit(_0x3116fb,_0x18c8a3,_0x35b5fe){io['to'](_0x3116fb)[_0x7995('0xf')](_0x18c8a3,_0x35b5fe);}function emitChannelQueueInteraction(_0x1e400a,_0x341672,_0x524f7b,_0x245143,_0x41c652,_0x581f22,_0xb0c872,_0x2cb37a){var _0x19a27e=_[_0x7995('0x10')](_0x524f7b);_0x19a27e[_0x7995('0x11')]=_0x2cb37a;_0x19a27e[_0x7995('0xd')]=_0x341672;_0x19a27e[_0x7995('0xc')]=_0x245143;_0x19a27e['id']=_0x41c652;if(_0x581f22){_0xb0c872[util['format']('%sQueuesWaitingInteractions',_0x1e400a)][_0x41c652]=_[_0x7995('0x12')](_0x19a27e,attributes);}else{delete _0xb0c872[util[_0x7995('0x13')](_0x7995('0x14'),_0x1e400a)][_0x41c652];}emit(util[_0x7995('0x13')](_0x7995('0x15'),_0x1e400a,_0x341672),util[_0x7995('0x13')](_0x7995('0x16'),_0x1e400a,_0x581f22?_0x7995('0x17'):'remove'),_[_0x7995('0x12')](_0x19a27e,attributes));}var rpc={'openchannelQueueReport':require('../../rpc/openchannelQueueReport'),'mailQueueReport':require(_0x7995('0x18')),'chatQueueReport':require(_0x7995('0x19')),'smsQueueReport':require(_0x7995('0x1a')),'faxQueueReport':require(_0x7995('0x1b')),'whatsappQueueReport':require(_0x7995('0x1c'))};var queue=schema({'name':{'type':_0x7995('0x1d'),'required':!![],'message':'name\x20is\x20a\x20string\x20and\x20it\x20is\x20required'},'timeout':{'type':'number','message':_0x7995('0x1e')}});function startRouting(_0x5e6f90,_0x555f74,_0x3ec178,_0x3d463e){if(_0x5e6f90&&_0x555f74&&_0x3ec178){_0x555f74['waiting']+=0x1;var _0x3a9b54={'uniqueid':_0x5e6f90,'from':_0x3ec178['body']?_0x3ec178['body'][_0x7995('0x1f')]:'','joinAt':moment()[_0x7995('0x13')](_0x7995('0x20')),'ContactId':_0x3ec178[_0x7995('0x21')]?_0x3ec178[_0x7995('0x21')]['id']:null,'ListId':_0x3ec178[_0x7995('0x22')]?_0x3ec178['list']['id']:null};_0x3a9b54[_[_0x7995('0x23')](_0x3ec178[_0x7995('0x24')])+_0x7995('0x25')]=_0x555f74['id']||null;_0x3a9b54[_[_0x7995('0x23')](_0x3ec178[_0x7995('0x24')])+_0x7995('0x26')]=_0x3ec178[_0x7995('0x27')]?_0x3ec178[_0x7995('0x27')]['id']:null;_0x3a9b54[_['upperFirst'](_0x3ec178[_0x7995('0x24')])+_0x7995('0x28')]=_0x3ec178[_0x7995('0x29')]?_0x3ec178[_0x7995('0x29')]['id']:null;_0x3a9b54[_[_0x7995('0x23')](_0x3ec178[_0x7995('0x24')])+(_0x3ec178['channel']!==_0x7995('0x2a')?'AccountId':_0x7995('0x2b'))]=_0x3ec178[_0x7995('0xc')]?_0x3ec178[_0x7995('0xc')]['id']:null;logger[_0x7995('0x2c')](util[_0x7995('0x13')]('[%s][START:QUEUE][NAME:%s]',_0x5e6f90,_0x555f74[_0x7995('0x2d')]));emitChannelQueueInteraction(_0x3ec178['channel'],_0x555f74[_0x7995('0x2d')],_0x3a9b54,_0x3ec178[_0x7995('0xc')][_0x7995('0x2d')],_0x3ec178['message']['id'],!![],_0x3d463e,_0x555f74['id']);if(rpc[_0x3ec178['channel']+'QueueReport']){return rpc[_0x3ec178[_0x7995('0x24')]+_0x7995('0x2e')][_0x7995('0x2f')](_0x3a9b54)[_0x7995('0x30')](function(_0x2e3493){logger[_0x7995('0x31')]('create\x20queue\x20report');});}}}function stopRouting(_0x481c74,_0xfa8f15,_0x5524af,_0x553671){if(_0x481c74&&_0xfa8f15){_0xfa8f15[_0x7995('0x32')]-=0x1;var _0x29fac5={'leaveAt':moment()[_0x7995('0x13')](_0x7995('0x20')),'acceptAt':moment()['format'](_0x7995('0x20')),'reason':_0x7995('0x33')};logger['info'](util['format']('[%s][STOP:QUEUE][NAME:%s]',_0x481c74,_0xfa8f15[_0x7995('0x2d')]));emitChannelQueueInteraction(_0x5524af[_0x7995('0x24')],_0xfa8f15['name'],_0x5524af[_0x7995('0x34')],_0x5524af['account'][_0x7995('0x2d')],_0x5524af[_0x7995('0x29')]['id'],![],_0x553671,_0xfa8f15['id']);if(rpc[_0x5524af[_0x7995('0x24')]+'QueueReport']){return rpc[_0x5524af['channel']+_0x7995('0x2e')]['update'](_0x481c74,_0x29fac5)['catch'](function(_0x3e99cd){logger[_0x7995('0x31')]('update\x20queue\x20report');});}}}function endRouting(_0x1baa15,_0x1922b4,_0x2b772f,_0x18667c){if(_0x1baa15&&_0x1922b4){_0x1922b4[_0x7995('0x32')]-=0x1;var _0x53002a={'leaveAt':moment()[_0x7995('0x13')](_0x7995('0x20')),'exitAt':moment()[_0x7995('0x13')](_0x7995('0x20')),'reason':'timeout'};logger[_0x7995('0x2c')](util[_0x7995('0x13')](_0x7995('0x35'),_0x1baa15,_0x1922b4[_0x7995('0x2d')]));emitChannelQueueInteraction(_0x2b772f[_0x7995('0x24')],_0x1922b4[_0x7995('0x2d')],_0x2b772f['body'],_0x2b772f[_0x7995('0xc')][_0x7995('0x2d')],_0x2b772f[_0x7995('0x29')]['id'],![],_0x18667c);if(rpc[_0x2b772f[_0x7995('0x24')]+_0x7995('0x2e')]){return rpc[_0x2b772f[_0x7995('0x24')]+_0x7995('0x2e')][_0x7995('0x36')](_0x1baa15,_0x53002a)[_0x7995('0x30')](function(_0x447981){logger[_0x7995('0x31')](_0x7995('0x37'));});}}}function handleFindQueue(_0x7b4e67){return function(_0x53cda2){return _0x53cda2['name'][_0x7995('0x38')]()===_0x7b4e67[_0x7995('0x38')]();};}exports['consequence']=function(_0x4b0855,_0x3f8522,_0x4a9fef,_0x504a33){return function(_0x23da6b){try{var _0x36e28b={'name':_0x3f8522[0x0],'timeout':_0x3f8522[0x1]};var _0x35c8ff=queue['validate'](_0x36e28b,{'typecast':!![]});if(_0x35c8ff[_0x7995('0x39')]){logger['error'](_0x7995('0x3a'),_0x4b0855,_['map'](_0x35c8ff,'message')[_0x7995('0x3b')](',\x20'));_0x23da6b[_0x7995('0x3c')]();}else{var _0xc04e5=_[_0x7995('0x3d')](_0x4a9fef[_0x504a33['channel']+_0x7995('0x3e')],handleFindQueue(_0x36e28b[_0x7995('0x2d')]));if(_0xc04e5){startRouting(_0x4b0855,_0xc04e5,_0x504a33,_0x4a9fef);var _0x31b347=(_0xc04e5[_0x7995('0x3f')]||0xa)*0x3e8;var _0x4e09b7=(_0x36e28b['timeout']||0x14)*0x3e8;var _0x1c37c6,_0x55791b;if(_0x31b347>_0x4e09b7){_0x4e09b7=_0x31b347;}var _0x23c41d=seqqueue['createQueue'](_0x31b347);_0x23c41d['id']=_0x4b0855;_0x23c41d[_0x7995('0x40')]=_0x31b347;_0x23c41d['qtimeout']=_0x4e09b7;_0x23c41d[_0x7995('0x24')]=_0x504a33[_0x7995('0x24')];_0x4a9fef['rules'][_0x4b0855]['on'](_0x7995('0x41'),function(){logger[_0x7995('0x2c')](_0x7995('0x42'),_0x4b0855);stopRouting(_0x4b0855,_0xc04e5,_0x504a33,_0x4a9fef);clearTimeout(_0x1c37c6);_0x1c37c6=undefined;_0x23c41d[_0x7995('0x43')](!![]);if(_0x4a9fef['rules'][_0x4b0855]){delete _0x4a9fef[_0x7995('0x44')][_0x4b0855];}_0x23da6b[_0x7995('0x3c')]();});_0x4a9fef[_0x7995('0x44')][_0x4b0855]['on']('complete',function(){if(_0x4a9fef[_0x7995('0x44')][_0x4b0855]){delete _0x4a9fef[_0x7995('0x44')][_0x4b0855];}});_0x1c37c6=setTimeout(function(){logger[_0x7995('0x2c')](_0x7995('0x45'),_0x4b0855);endRouting(_0x4b0855,_0xc04e5,_0x504a33,_0x4a9fef);clearTimeout(_0x1c37c6);_0x23c41d[_0x7995('0x43')](!![]);_0x23da6b['next']();},_0x4e09b7);switch(_0xc04e5[_0x7995('0x46')]){case _0x7995('0x47'):strategy['rrmemory'](_0x23c41d,_0xc04e5,_0x4a9fef,_0x504a33);break;default:strategy[_0x7995('0x48')](_0x23c41d,_0xc04e5,_0x4a9fef,_0x504a33);}}else{logger['error'](_0x7995('0x49'),_0x4b0855,_0x36e28b[_0x7995('0x2d')]);_0x23da6b[_0x7995('0x3c')]();}}}catch(_0x30e220){console[_0x7995('0x4a')](_0x30e220);logger[_0x7995('0x31')](_0x7995('0x3a'),_0x4b0855,_0x30e220['stack']);_0x23da6b[_0x7995('0x3c')]();}};}; \ No newline at end of file +var _0x9c44=['[%s][END:QUEUE][NAME:%s]','toLowerCase','consequence','validate','length','[%s][QUEUE]\x20%s','join','stop','find','Queues','atimeout','rules','end','close','complete','next','strategy','rrmemory','beepall','log','stack','util','seq-queue','moment','ioredis','../../../../config/environment','../../../../config/logger','redis','localhost','socket.io-emitter','queue_id','queue','from','joinAt','emit','clone','account','format','%sQueuesWaitingInteractions','pick','%s:queue:%s','%s_queue_waiting_interaction:%s','save','remove','../../rpc/openchannelQueueReport','../../rpc/chatQueueReport','../../rpc/smsQueueReport','string','name\x20is\x20a\x20string\x20and\x20it\x20is\x20required','number','waiting','body','YYYY-MM-DD\x20HH:mm:ss','list','QueueId','upperFirst','channel','InteractionId','message','AccountId','info','name','QueueReport','create','create\x20queue\x20report','[%s][STOP:QUEUE][NAME:%s]','update','catch','error','update\x20queue\x20report','timeout'];(function(_0x5a19fc,_0x58f9f4){var _0x34b413=function(_0x344feb){while(--_0x344feb){_0x5a19fc['push'](_0x5a19fc['shift']());}};_0x34b413(++_0x58f9f4);}(_0x9c44,0x178));var _0x49c4=function(_0x1969a7,_0x5a133a){_0x1969a7=_0x1969a7-0x0;var _0x3d665f=_0x9c44[_0x1969a7];return _0x3d665f;};'use strict';var schema=require('validate');var _=require('lodash');var util=require(_0x49c4('0x0'));var seqqueue=require(_0x49c4('0x1'));var moment=require(_0x49c4('0x2'));var Redis=require(_0x49c4('0x3'));var config=require(_0x49c4('0x4'));var logger=require(_0x49c4('0x5'))('routing');var strategy=require('./strategy');config[_0x49c4('0x6')]=_['defaults'](config[_0x49c4('0x6')],{'host':_0x49c4('0x7'),'port':0x18eb});var io=require(_0x49c4('0x8'))(new Redis(config[_0x49c4('0x6')]));var attributes=['id',_0x49c4('0x9'),'account',_0x49c4('0xa'),_0x49c4('0xb'),_0x49c4('0xc')];function emit(_0x4487ca,_0x4c7d3a,_0x5ab4a3){io['to'](_0x4487ca)[_0x49c4('0xd')](_0x4c7d3a,_0x5ab4a3);}function emitChannelQueueInteraction(_0x313e73,_0x58cad7,_0xb611a1,_0x459d09,_0x4adb3c,_0x536d42,_0x1d19bf,_0x6d1b08){var _0x5487cd=_[_0x49c4('0xe')](_0xb611a1);_0x5487cd[_0x49c4('0x9')]=_0x6d1b08;_0x5487cd['queue']=_0x58cad7;_0x5487cd[_0x49c4('0xf')]=_0x459d09;_0x5487cd['id']=_0x4adb3c;if(_0x536d42){_0x1d19bf[util[_0x49c4('0x10')](_0x49c4('0x11'),_0x313e73)][_0x4adb3c]=_[_0x49c4('0x12')](_0x5487cd,attributes);}else{delete _0x1d19bf[util[_0x49c4('0x10')](_0x49c4('0x11'),_0x313e73)][_0x4adb3c];}emit(util[_0x49c4('0x10')](_0x49c4('0x13'),_0x313e73,_0x58cad7),util['format'](_0x49c4('0x14'),_0x313e73,_0x536d42?_0x49c4('0x15'):_0x49c4('0x16')),_[_0x49c4('0x12')](_0x5487cd,attributes));}var rpc={'openchannelQueueReport':require(_0x49c4('0x17')),'mailQueueReport':require('../../rpc/mailQueueReport'),'chatQueueReport':require(_0x49c4('0x18')),'smsQueueReport':require(_0x49c4('0x19')),'faxQueueReport':require('../../rpc/faxQueueReport'),'whatsappQueueReport':require('../../rpc/whatsappQueueReport')};var queue=schema({'name':{'type':_0x49c4('0x1a'),'required':!![],'message':_0x49c4('0x1b')},'timeout':{'type':_0x49c4('0x1c'),'message':'timeout\x20is\x20a\x20number'}});function startRouting(_0x24856d,_0x50b151,_0x2cbd50,_0x1806c2){if(_0x24856d&&_0x50b151&&_0x2cbd50){_0x50b151[_0x49c4('0x1d')]+=0x1;var _0x291526={'uniqueid':_0x24856d,'from':_0x2cbd50[_0x49c4('0x1e')]?_0x2cbd50[_0x49c4('0x1e')][_0x49c4('0xb')]:'','joinAt':moment()[_0x49c4('0x10')](_0x49c4('0x1f')),'ContactId':_0x2cbd50['contact']?_0x2cbd50['contact']['id']:null,'ListId':_0x2cbd50['list']?_0x2cbd50[_0x49c4('0x20')]['id']:null};_0x291526[_['upperFirst'](_0x2cbd50['channel'])+_0x49c4('0x21')]=_0x50b151['id']||null;_0x291526[_[_0x49c4('0x22')](_0x2cbd50[_0x49c4('0x23')])+_0x49c4('0x24')]=_0x2cbd50['interaction']?_0x2cbd50['interaction']['id']:null;_0x291526[_[_0x49c4('0x22')](_0x2cbd50[_0x49c4('0x23')])+'MessageId']=_0x2cbd50[_0x49c4('0x25')]?_0x2cbd50[_0x49c4('0x25')]['id']:null;_0x291526[_[_0x49c4('0x22')](_0x2cbd50[_0x49c4('0x23')])+(_0x2cbd50['channel']!=='chat'?_0x49c4('0x26'):'WebsiteId')]=_0x2cbd50[_0x49c4('0xf')]?_0x2cbd50[_0x49c4('0xf')]['id']:null;logger[_0x49c4('0x27')](util[_0x49c4('0x10')]('[%s][START:QUEUE][NAME:%s]',_0x24856d,_0x50b151[_0x49c4('0x28')]));emitChannelQueueInteraction(_0x2cbd50[_0x49c4('0x23')],_0x50b151[_0x49c4('0x28')],_0x291526,_0x2cbd50[_0x49c4('0xf')][_0x49c4('0x28')],_0x2cbd50[_0x49c4('0x25')]['id'],!![],_0x1806c2,_0x50b151['id']);if(rpc[_0x2cbd50[_0x49c4('0x23')]+_0x49c4('0x29')]){return rpc[_0x2cbd50[_0x49c4('0x23')]+_0x49c4('0x29')][_0x49c4('0x2a')](_0x291526)['catch'](function(_0x4f4495){logger['error'](_0x49c4('0x2b'));});}}}function stopRouting(_0x7ee704,_0x1eb035,_0x27e467,_0x28eb47){if(_0x7ee704&&_0x1eb035){_0x1eb035['waiting']-=0x1;var _0x38ad77={'leaveAt':moment()[_0x49c4('0x10')](_0x49c4('0x1f')),'acceptAt':moment()[_0x49c4('0x10')]('YYYY-MM-DD\x20HH:mm:ss'),'reason':'accepted'};logger[_0x49c4('0x27')](util[_0x49c4('0x10')](_0x49c4('0x2c'),_0x7ee704,_0x1eb035[_0x49c4('0x28')]));emitChannelQueueInteraction(_0x27e467[_0x49c4('0x23')],_0x1eb035['name'],_0x27e467[_0x49c4('0x1e')],_0x27e467[_0x49c4('0xf')][_0x49c4('0x28')],_0x27e467['message']['id'],![],_0x28eb47,_0x1eb035['id']);if(rpc[_0x27e467['channel']+_0x49c4('0x29')]){return rpc[_0x27e467[_0x49c4('0x23')]+_0x49c4('0x29')][_0x49c4('0x2d')](_0x7ee704,_0x38ad77)[_0x49c4('0x2e')](function(_0x2cf897){logger[_0x49c4('0x2f')](_0x49c4('0x30'));});}}}function endRouting(_0x3209cd,_0x4e0209,_0x2d34ca,_0x5b96df){if(_0x3209cd&&_0x4e0209){_0x4e0209[_0x49c4('0x1d')]-=0x1;var _0x349791={'leaveAt':moment()[_0x49c4('0x10')](_0x49c4('0x1f')),'exitAt':moment()['format'](_0x49c4('0x1f')),'reason':_0x49c4('0x31')};logger[_0x49c4('0x27')](util['format'](_0x49c4('0x32'),_0x3209cd,_0x4e0209[_0x49c4('0x28')]));emitChannelQueueInteraction(_0x2d34ca[_0x49c4('0x23')],_0x4e0209[_0x49c4('0x28')],_0x2d34ca[_0x49c4('0x1e')],_0x2d34ca[_0x49c4('0xf')][_0x49c4('0x28')],_0x2d34ca[_0x49c4('0x25')]['id'],![],_0x5b96df);if(rpc[_0x2d34ca[_0x49c4('0x23')]+_0x49c4('0x29')]){return rpc[_0x2d34ca[_0x49c4('0x23')]+'QueueReport'][_0x49c4('0x2d')](_0x3209cd,_0x349791)[_0x49c4('0x2e')](function(_0x32b172){logger[_0x49c4('0x2f')](_0x49c4('0x30'));});}}}function handleFindQueue(_0x29dd5d){return function(_0x1be62d){return _0x1be62d[_0x49c4('0x28')][_0x49c4('0x33')]()===_0x29dd5d[_0x49c4('0x33')]();};}exports[_0x49c4('0x34')]=function(_0xa3d59e,_0x326142,_0x4e38bc,_0x212366){return function(_0x49829e){try{var _0x104efb={'name':_0x326142[0x0],'timeout':_0x326142[0x1]};var _0x4915bc=queue[_0x49c4('0x35')](_0x104efb,{'typecast':!![]});if(_0x4915bc[_0x49c4('0x36')]){logger[_0x49c4('0x2f')](_0x49c4('0x37'),_0xa3d59e,_['map'](_0x4915bc,'message')[_0x49c4('0x38')](',\x20'));_0x49829e[_0x49c4('0x39')]();}else{var _0x38349b=_[_0x49c4('0x3a')](_0x4e38bc[_0x212366['channel']+_0x49c4('0x3b')],handleFindQueue(_0x104efb[_0x49c4('0x28')]));if(_0x38349b){startRouting(_0xa3d59e,_0x38349b,_0x212366,_0x4e38bc);var _0x2ccd47=(_0x38349b[_0x49c4('0x31')]||0xa)*0x3e8;var _0x81a674=(_0x104efb[_0x49c4('0x31')]||0x14)*0x3e8;var _0x1a9593,_0x3351c1;if(_0x2ccd47>_0x81a674){_0x81a674=_0x2ccd47;}var _0x3c4a1d=seqqueue['createQueue'](_0x2ccd47);_0x3c4a1d['id']=_0xa3d59e;_0x3c4a1d[_0x49c4('0x3c')]=_0x2ccd47;_0x3c4a1d['qtimeout']=_0x81a674;_0x3c4a1d[_0x49c4('0x23')]=_0x212366[_0x49c4('0x23')];_0x4e38bc[_0x49c4('0x3d')][_0xa3d59e]['on'](_0x49c4('0x3e'),function(){logger[_0x49c4('0x27')]('[%s][QUEUE]\x20ROUTING\x20STOPPED',_0xa3d59e);stopRouting(_0xa3d59e,_0x38349b,_0x212366,_0x4e38bc);clearTimeout(_0x1a9593);_0x1a9593=undefined;_0x3c4a1d[_0x49c4('0x3f')](!![]);if(_0x4e38bc[_0x49c4('0x3d')][_0xa3d59e]){delete _0x4e38bc[_0x49c4('0x3d')][_0xa3d59e];}_0x49829e[_0x49c4('0x39')]();});_0x4e38bc[_0x49c4('0x3d')][_0xa3d59e]['on'](_0x49c4('0x40'),function(){if(_0x4e38bc[_0x49c4('0x3d')][_0xa3d59e]){delete _0x4e38bc['rules'][_0xa3d59e];}});_0x1a9593=setTimeout(function(){logger[_0x49c4('0x27')]('[%s][QUEUE]\x20APPLICATION\x20END',_0xa3d59e);endRouting(_0xa3d59e,_0x38349b,_0x212366,_0x4e38bc);clearTimeout(_0x1a9593);_0x3c4a1d[_0x49c4('0x3f')](!![]);_0x49829e[_0x49c4('0x41')]();},_0x81a674);switch(_0x38349b[_0x49c4('0x42')]){case _0x49c4('0x43'):strategy[_0x49c4('0x43')](_0x3c4a1d,_0x38349b,_0x4e38bc,_0x212366);break;default:strategy[_0x49c4('0x44')](_0x3c4a1d,_0x38349b,_0x4e38bc,_0x212366);}}else{logger[_0x49c4('0x2f')]('[%s][QUEUE]\x20queue\x20not\x20found\x20%s',_0xa3d59e,_0x104efb[_0x49c4('0x28')]);_0x49829e[_0x49c4('0x39')]();}}}catch(_0x4a5c34){console[_0x49c4('0x45')](_0x4a5c34);logger[_0x49c4('0x2f')](_0x49c4('0x37'),_0xa3d59e,_0x4a5c34[_0x49c4('0x46')]);_0x49829e['stop']();}};}; \ No newline at end of file diff --git a/server/services/routing/server/applications/strategy/agent.js b/server/services/routing/server/applications/strategy/agent.js index 6fa808b..f3081bd 100644 --- a/server/services/routing/server/applications/strategy/agent.js +++ b/server/services/routing/server/applications/strategy/agent.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xdf52=['timeout','handleDrained','prototype','handleTimeout','[%s][AGENT]\x20try\x20with\x20%s','isNil','info','[%s][AGENT]\x20agent\x20skipped,\x20unknown\x20id\x20%s','forcedOwnership','isAgentAvailable','agents','channel','busy','busyQueue','writeLog','RINGING',':FORCED','[%s][AGENT]\x20agent\x20%s\x20is\x20not\x20available','STOP','lodash','uuid','../../../../../config/logger','routing','notificationId','squeue','agent','realtime','push','handleRun','bind'];(function(_0x3054be,_0x1bdc8b){var _0x3df150=function(_0x56cfbf){while(--_0x56cfbf){_0x3054be['push'](_0x3054be['shift']());}};_0x3df150(++_0x1bdc8b);}(_0xdf52,0x8b));var _0x2df5=function(_0x50fd6f,_0x124d57){_0x50fd6f=_0x50fd6f-0x0;var _0x29a903=_0xdf52[_0x50fd6f];return _0x29a903;};'use strict';var _=require(_0x2df5('0x0'));var uuid=require(_0x2df5('0x1'));var util=require('./util');var logger=require(_0x2df5('0x2'))(_0x2df5('0x3'));var Agent=function(_0x4e0a4a,_0x4a180d,_0x5edd9e,_0x455781){this[_0x2df5('0x4')]=uuid['v4']();this[_0x2df5('0x5')]=_0x4e0a4a;this[_0x2df5('0x6')]=_0x4a180d;this[_0x2df5('0x7')]=_0x5edd9e;this['routing']=_0x455781;this[_0x2df5('0x5')][_0x2df5('0x8')](this[_0x2df5('0x9')][_0x2df5('0xa')](this),this['handleTimeout']['bind'](this));this[_0x2df5('0x5')]['on'](_0x2df5('0xb'),this['handleTimeout']['bind'](this));this[_0x2df5('0x5')]['on']('drained',this[_0x2df5('0xc')][_0x2df5('0xa')](this));};Agent[_0x2df5('0xd')]['push']=function(){this['squeue'][_0x2df5('0x8')](this[_0x2df5('0x9')][_0x2df5('0xa')](this),this[_0x2df5('0xe')]['bind'](this));};Agent['prototype'][_0x2df5('0xc')]=function(){this['handleTimeout'](!![]);};Agent[_0x2df5('0xd')][_0x2df5('0x9')]=function(_0x18f2e7){logger['info'](_0x2df5('0xf'),this[_0x2df5('0x5')]['id'],this[_0x2df5('0x6')]['id']);if(_[_0x2df5('0x10')](this[_0x2df5('0x7')]['agents'][this[_0x2df5('0x6')]['id']])){logger[_0x2df5('0x11')](_0x2df5('0x12'),this['squeue']['id'],this[_0x2df5('0x6')]['id']);setTimeout(this[_0x2df5('0x8')][_0x2df5('0xa')](this),0x3e8);}else{if(this[_0x2df5('0x3')][_0x2df5('0x13')]||util[_0x2df5('0x14')](this[_0x2df5('0x5')]['id'],this['realtime'][_0x2df5('0x15')][this[_0x2df5('0x6')]['id']],this[_0x2df5('0x5')][_0x2df5('0x16')],![])){this['realtime'][_0x2df5('0x15')][this[_0x2df5('0x6')]['id']][_0x2df5('0x17')]=!![];this[_0x2df5('0x7')][_0x2df5('0x15')][this[_0x2df5('0x6')]['id']][_0x2df5('0x18')]=undefined;util['showNotification'](this[_0x2df5('0x4')],this[_0x2df5('0x5')]['id'],this[_0x2df5('0x7')][_0x2df5('0x15')][this[_0x2df5('0x6')]['id']],null,this[_0x2df5('0x3')]);util[_0x2df5('0x19')](this[_0x2df5('0x5')]['id'],this['realtime']['agents'][this['agent']['id']],_0x2df5('0x1a')+(this[_0x2df5('0x3')][_0x2df5('0x13')]?_0x2df5('0x1b'):''));}else{logger[_0x2df5('0x11')](_0x2df5('0x1c'),this[_0x2df5('0x5')]['id'],this[_0x2df5('0x6')]['id']);setTimeout(this['push'][_0x2df5('0xa')](this),0x3e8);}}};Agent['prototype'][_0x2df5('0xe')]=function(_0x52fc33){if(_[_0x2df5('0x10')](this[_0x2df5('0x7')][_0x2df5('0x15')][this['agent']['id']])){return logger[_0x2df5('0x11')](_0x2df5('0x12'),this[_0x2df5('0x5')]['id'],this[_0x2df5('0x6')]['id']);}else{logger[_0x2df5('0x11')]('[%s][AGENT]\x20timeout\x20with\x20%s',this['squeue']['id'],this['agent']['id']);util['hideNotification'](this[_0x2df5('0x4')],this[_0x2df5('0x5')]['id'],this[_0x2df5('0x7')]['agents'][this['agent']['id']],null,this[_0x2df5('0x3')]);this[_0x2df5('0x7')][_0x2df5('0x15')][this['agent']['id']][_0x2df5('0x17')]=![];this[_0x2df5('0x7')]['agents'][this[_0x2df5('0x6')]['id']][_0x2df5('0x18')]=undefined;util[_0x2df5('0x19')](this[_0x2df5('0x5')]['id'],this[_0x2df5('0x7')][_0x2df5('0x15')][this[_0x2df5('0x6')]['id']],_0x52fc33?_0x2df5('0x1d'):'TIMEOUT');}if(!_0x52fc33){setTimeout(this[_0x2df5('0x8')][_0x2df5('0xa')](this),0x3e8);}};function agent(_0xf5512e,_0x42b0c5,_0x27e2ac,_0x4775a0){return new Agent(_0xf5512e,_0x42b0c5,_0x27e2ac,_0x4775a0);}module['exports']=agent; \ No newline at end of file +var _0x2751=[':FORCED','[%s][AGENT]\x20agent\x20%s\x20is\x20not\x20available','[%s][AGENT]\x20timeout\x20with\x20%s','hideNotification','routing','busy','busyQueue','STOP','TIMEOUT','exports','lodash','uuid','./util','notificationId','squeue','agent','realtime','bind','handleTimeout','drained','handleDrained','handleRun','prototype','isNil','agents','info','push','isAgentAvailable','writeLog','forcedOwnership'];(function(_0x1a6143,_0x4b107f){var _0x199684=function(_0x1fae6a){while(--_0x1fae6a){_0x1a6143['push'](_0x1a6143['shift']());}};_0x199684(++_0x4b107f);}(_0x2751,0xbe));var _0x1275=function(_0xa464c9,_0x7c86d8){_0xa464c9=_0xa464c9-0x0;var _0x3d73c4=_0x2751[_0xa464c9];return _0x3d73c4;};'use strict';var _=require(_0x1275('0x0'));var uuid=require(_0x1275('0x1'));var util=require(_0x1275('0x2'));var logger=require('../../../../../config/logger')('routing');var Agent=function(_0x4b9837,_0x16cf01,_0x54f70d,_0x2221fe){this[_0x1275('0x3')]=uuid['v4']();this[_0x1275('0x4')]=_0x4b9837;this[_0x1275('0x5')]=_0x16cf01;this[_0x1275('0x6')]=_0x54f70d;this['routing']=_0x2221fe;this[_0x1275('0x4')]['push'](this['handleRun']['bind'](this),this['handleTimeout'][_0x1275('0x7')](this));this[_0x1275('0x4')]['on']('timeout',this[_0x1275('0x8')][_0x1275('0x7')](this));this[_0x1275('0x4')]['on'](_0x1275('0x9'),this[_0x1275('0xa')]['bind'](this));};Agent['prototype']['push']=function(){this['squeue']['push'](this[_0x1275('0xb')]['bind'](this),this[_0x1275('0x8')]['bind'](this));};Agent[_0x1275('0xc')][_0x1275('0xa')]=function(){this[_0x1275('0x8')](!![]);};Agent['prototype'][_0x1275('0xb')]=function(_0x37e4d5){logger['info']('[%s][AGENT]\x20try\x20with\x20%s',this['squeue']['id'],this['agent']['id']);if(_[_0x1275('0xd')](this[_0x1275('0x6')][_0x1275('0xe')][this[_0x1275('0x5')]['id']])){logger[_0x1275('0xf')]('[%s][AGENT]\x20agent\x20skipped,\x20unknown\x20id\x20%s',this[_0x1275('0x4')]['id'],this[_0x1275('0x5')]['id']);setTimeout(this[_0x1275('0x10')][_0x1275('0x7')](this),0x3e8);}else{if(this['routing']['forcedOwnership']||util[_0x1275('0x11')](this['squeue']['id'],this[_0x1275('0x6')][_0x1275('0xe')][this[_0x1275('0x5')]['id']],this[_0x1275('0x4')]['channel'],![])){this['realtime']['agents'][this[_0x1275('0x5')]['id']]['busy']=!![];this[_0x1275('0x6')]['agents'][this[_0x1275('0x5')]['id']]['busyQueue']=undefined;util['showNotification'](this['notificationId'],this[_0x1275('0x4')]['id'],this[_0x1275('0x6')][_0x1275('0xe')][this[_0x1275('0x5')]['id']],null,this['routing']);util[_0x1275('0x12')](this['squeue']['id'],this[_0x1275('0x6')][_0x1275('0xe')][this[_0x1275('0x5')]['id']],'RINGING'+(this['routing'][_0x1275('0x13')]?_0x1275('0x14'):''));}else{logger[_0x1275('0xf')](_0x1275('0x15'),this[_0x1275('0x4')]['id'],this[_0x1275('0x5')]['id']);setTimeout(this[_0x1275('0x10')]['bind'](this),0x3e8);}}};Agent[_0x1275('0xc')][_0x1275('0x8')]=function(_0x535600){if(_['isNil'](this[_0x1275('0x6')][_0x1275('0xe')][this[_0x1275('0x5')]['id']])){return logger[_0x1275('0xf')]('[%s][AGENT]\x20agent\x20skipped,\x20unknown\x20id\x20%s',this['squeue']['id'],this[_0x1275('0x5')]['id']);}else{logger[_0x1275('0xf')](_0x1275('0x16'),this[_0x1275('0x4')]['id'],this[_0x1275('0x5')]['id']);util[_0x1275('0x17')](this[_0x1275('0x3')],this['squeue']['id'],this[_0x1275('0x6')][_0x1275('0xe')][this[_0x1275('0x5')]['id']],null,this[_0x1275('0x18')]);this[_0x1275('0x6')][_0x1275('0xe')][this[_0x1275('0x5')]['id']][_0x1275('0x19')]=![];this[_0x1275('0x6')][_0x1275('0xe')][this[_0x1275('0x5')]['id']][_0x1275('0x1a')]=undefined;util['writeLog'](this[_0x1275('0x4')]['id'],this[_0x1275('0x6')][_0x1275('0xe')][this[_0x1275('0x5')]['id']],_0x535600?_0x1275('0x1b'):_0x1275('0x1c'));}if(!_0x535600){setTimeout(this[_0x1275('0x10')][_0x1275('0x7')](this),0x3e8);}};function agent(_0x59bb99,_0xef2b05,_0x27a4fc,_0x7ebbe5){return new Agent(_0x59bb99,_0xef2b05,_0x27a4fc,_0x7ebbe5);}module[_0x1275('0x1d')]=agent; \ No newline at end of file diff --git a/server/services/routing/server/applications/strategy/beepall.js b/server/services/routing/server/applications/strategy/beepall.js index 2edbdc9..8f5f9bd 100644 --- a/server/services/routing/server/applications/strategy/beepall.js +++ b/server/services/routing/server/applications/strategy/beepall.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x1f43=['agents','info','[%s][QUEUE]\x20agent\x20skipped,\x20unknown\x20id\x20%s','channel','writeLog','RINGING','busy','busyQueue','name','showNotification','[%s][QUEUE]\x20ALL\x20AGENTS\x20ARE\x20BUSY','[%s][QUEUE]\x20EMPTY','hideNotification','STOP','TIMEOUT','lodash','routing','notificationId','squeue','queue','realtime','push','handleRun','handleTimeout','bind','timeout','drained','handleDrained','prototype','isNil','Agents','length'];(function(_0x5ed7d2,_0x4d4d45){var _0x29ee7c=function(_0x1f9be5){while(--_0x1f9be5){_0x5ed7d2['push'](_0x5ed7d2['shift']());}};_0x29ee7c(++_0x4d4d45);}(_0x1f43,0x8f));var _0x31f4=function(_0x26bb2e,_0x123d6e){_0x26bb2e=_0x26bb2e-0x0;var _0x26c1b7=_0x1f43[_0x26bb2e];return _0x26c1b7;};'use strict';var _=require(_0x31f4('0x0'));var uuid=require('uuid');var util=require('./util');var logger=require('../../../../../config/logger')(_0x31f4('0x1'));var Beepall=function(_0x483c5d,_0x15571b,_0x2f870f,_0x6733df){this[_0x31f4('0x2')]=uuid['v4']();this[_0x31f4('0x3')]=_0x483c5d;this[_0x31f4('0x4')]=_0x15571b;this[_0x31f4('0x5')]=_0x2f870f;this[_0x31f4('0x1')]=_0x6733df;this['squeue'][_0x31f4('0x6')](this[_0x31f4('0x7')]['bind'](this),this[_0x31f4('0x8')][_0x31f4('0x9')](this));this['squeue']['on'](_0x31f4('0xa'),this[_0x31f4('0x8')]['bind'](this));this[_0x31f4('0x3')]['on'](_0x31f4('0xb'),this[_0x31f4('0xc')][_0x31f4('0x9')](this));};Beepall['prototype'][_0x31f4('0x6')]=function(){this[_0x31f4('0x3')][_0x31f4('0x6')](this[_0x31f4('0x7')][_0x31f4('0x9')](this),this[_0x31f4('0x8')][_0x31f4('0x9')](this));};Beepall[_0x31f4('0xd')][_0x31f4('0xc')]=function(_0x546651){this['handleTimeout'](!![]);};Beepall[_0x31f4('0xd')][_0x31f4('0x7')]=function(_0x140fce){var _0x5381f6=!![];if(!_[_0x31f4('0xe')](this[_0x31f4('0x4')])&&!_[_0x31f4('0xe')](this[_0x31f4('0x4')][_0x31f4('0xf')])&&this[_0x31f4('0x4')][_0x31f4('0xf')][_0x31f4('0x10')]>0x0){for(var _0x5e7a85=0x0,_0x55cd97;_0x5e7a850x0){for(var _0xa2ed95=0x0,_0x373c3d;_0xa2ed950x0&&_0x2badce[_0x41fc82+_0x1b92('0x24')]>=_0x2badce[_0x41fc82+_0x1b92('0x25')]){writeLog(_0x3e3698,_0x2badce,_0x41fc82[_0x1b92('0x26')]()+_0x1b92('0x27'));return![];}}return!![];};exports[_0x1b92('0x28')]=function(_0x4edbce,_0x5d82cf,_0x54d92c,_0x229c44,_0x525d05){return sendNotification(!![],_0x4edbce,_0x5d82cf,_0x54d92c,_0x229c44,_0x525d05);};exports[_0x1b92('0x29')]=function(_0x5d006b,_0x462949,_0x4656aa,_0x26f832,_0x4f0b55){return sendNotification(![],_0x5d006b,_0x462949,_0x4656aa,_0x26f832,_0x4f0b55);};exports[_0x1b92('0x2a')]=writeLog; \ No newline at end of file +var _0x4e34=['PAUSE','Capacity','hasOwnProperty','CurrentCapacity','toUpperCase','hideNotification','writeLog','../utils','mustache','../../../../../config/logger','redis','defaults','emit','user:%s','name','split','account','notificationSound','notificationShake','body','queue','getMustacheRender','notificationTemplate','msg','I\x20can\x27t\x20render\x20your\x20template','error','format','[%s][QUEUE]\x20%s','notification:%s','save','remove','info','[%s][QUEUE][AGENT:%s][STATUS:%s]','busy','online','OFFLINE','Pause'];(function(_0x261129,_0x3daaba){var _0x123a35=function(_0xbbda0c){while(--_0xbbda0c){_0x261129['push'](_0x261129['shift']());}};_0x123a35(++_0x3daaba);}(_0x4e34,0x19e));var _0x44e3=function(_0x5a750a,_0x3a8969){_0x5a750a=_0x5a750a-0x0;var _0x535a01=_0x4e34[_0x5a750a];return _0x535a01;};'use strict';var _=require('lodash');var util=require('util');var utils=require(_0x44e3('0x0'));var Mustache=require(_0x44e3('0x1'));var Redis=require('ioredis');var config=require('../../../../../config/environment');var logger=require(_0x44e3('0x2'))('routing');config[_0x44e3('0x3')]=_[_0x44e3('0x4')](config[_0x44e3('0x3')],{'host':'localhost','port':0x18eb});var io=require('socket.io-emitter')(new Redis(config[_0x44e3('0x3')]));function emit(_0x19e7de,_0x163879,_0x1ca56e){io['to'](_0x19e7de)[_0x44e3('0x5')](_0x163879,_0x1ca56e);}function sendNotification(_0x196941,_0x1a296b,_0x4b9f51,_0xf7e448,_0xc041c6,_0x4eb230){io['to'](util['format'](_0x44e3('0x6'),_0xf7e448[_0x44e3('0x7')]))['emit']('user:save',_0xf7e448);var _0xa4bf9=_0x4eb230||{};var _0x154ab1=_0x4b9f51[_0x44e3('0x8')]('.');var _0x730048={'uniqueid':_0x1a296b,'channel':_0x154ab1[0x0],'id':_0x154ab1[0x1],'title':_0x154ab1[0x0]+'\x20interaction','interactionId':_0x154ab1[0x2],'queue':_0xc041c6?_0xc041c6[_0x44e3('0x7')]:null,'sound':_0xa4bf9[_0x44e3('0x9')][_0x44e3('0xa')],'shake':_0xa4bf9[_0x44e3('0x9')][_0x44e3('0xb')]};try{if(!_0xa4bf9[_0x44e3('0xc')]){_0xa4bf9[_0x44e3('0xc')]={};}if(_0xc041c6){_0xa4bf9[_0x44e3('0xc')]['queue']=_0xc041c6;}else if(_0xa4bf9[_0x44e3('0xc')]['queue']){delete _0xa4bf9[_0x44e3('0xc')][_0x44e3('0xd')];}_0x730048['msg']=utils[_0x44e3('0xe')](_0xa4bf9[_0x44e3('0x9')][_0x44e3('0xf')],_0xa4bf9);}catch(_0x118220){_0x730048[_0x44e3('0x10')]=_0x44e3('0x11');logger[_0x44e3('0x12')](util[_0x44e3('0x13')](_0x44e3('0x14'),_0x1a296b,_0x118220['message']));}io['to'](util[_0x44e3('0x13')]('user:%s',_0xf7e448[_0x44e3('0x7')]))['emit'](util[_0x44e3('0x13')](_0x44e3('0x15'),_0x196941?_0x44e3('0x16'):_0x44e3('0x17')),_0x730048);}function writeLog(_0x3f7c87,_0x38bf24,_0x28aa48){return logger[_0x44e3('0x18')](util[_0x44e3('0x13')](_0x44e3('0x19'),_0x3f7c87,_0x38bf24[_0x44e3('0x7')],_0x28aa48));}exports['isAgentAvailable']=function(_0x5baa32,_0x41d992,_0x4a28fe,_0x1a101f){if(_0x41d992[_0x44e3('0x1a')]){writeLog(_0x5baa32,_0x41d992,'BUSY');return![];}if(!_0x41d992[_0x44e3('0x1b')]){writeLog(_0x5baa32,_0x41d992,_0x44e3('0x1c'));return![];}if(_0x41d992[_0x4a28fe+_0x44e3('0x1d')]){writeLog(_0x5baa32,_0x41d992,_0x44e3('0x1e'));return![];}if(_0x1a101f&&_0x41d992['hasOwnProperty'](_0x4a28fe+_0x44e3('0x1f'))&&_0x41d992[_0x44e3('0x20')](_0x4a28fe+'CurrentCapacity')){if(_0x41d992[_0x4a28fe+_0x44e3('0x1f')]>0x0&&_0x41d992[_0x4a28fe+_0x44e3('0x21')]>=_0x41d992[_0x4a28fe+_0x44e3('0x1f')]){writeLog(_0x5baa32,_0x41d992,_0x4a28fe[_0x44e3('0x22')]()+'\x20MAXCAPACITY');return![];}}return!![];};exports['showNotification']=function(_0xe9043f,_0x36a62e,_0x142791,_0x48245e,_0x237c87){return sendNotification(!![],_0xe9043f,_0x36a62e,_0x142791,_0x48245e,_0x237c87);};exports[_0x44e3('0x23')]=function(_0x119d03,_0x3659af,_0x23cb65,_0x36ed4d,_0x412b39){return sendNotification(![],_0x119d03,_0x3659af,_0x23cb65,_0x36ed4d,_0x412b39);};exports[_0x44e3('0x24')]=writeLog; \ No newline at end of file diff --git a/server/services/routing/server/applications/system.js b/server/services/routing/server/applications/system.js index bce38b5..035b17d 100644 --- a/server/services/routing/server/applications/system.js +++ b/server/services/routing/server/applications/system.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x9d6c=['getMustacheRender','[%s][SYSTEM]\x20commnad:\x20%s','exec','replace','isNil','isEmpty','[%s][SYSTEM]\x20no\x20variable','body','[%s][SYSTEM]\x20set\x20variable\x20%s:\x20%s','isObject','shelljs','lodash','./utils','../../../../config/logger','routing','command\x20is\x20a\x20string\x20and\x20it\x20is\x20required','consequence','validate','length','error','[%s][SYSTEM]\x20%s','map','message','info','[%s][SYSTEM]\x20no\x20command\x20executed,\x20force\x20next','next'];(function(_0x2a665e,_0x513a68){var _0x59e8fc=function(_0x513224){while(--_0x513224){_0x2a665e['push'](_0x2a665e['shift']());}};_0x59e8fc(++_0x513a68);}(_0x9d6c,0xc0));var _0xc9d6=function(_0x21768e,_0x171a0d){_0x21768e=_0x21768e-0x0;var _0x29f895=_0x9d6c[_0x21768e];return _0x29f895;};'use strict';var schema=require('validate');var sh=require(_0xc9d6('0x0'));var _=require(_0xc9d6('0x1'));var utils=require(_0xc9d6('0x2'));var logger=require(_0xc9d6('0x3'))(_0xc9d6('0x4'));var system=schema({'command':{'type':'string','required':!![],'message':_0xc9d6('0x5')}});exports[_0xc9d6('0x6')]=function(_0x196a24,_0x51a52c){return function(_0x36084b){try{var _0x5c3e98={'command':_0x51a52c[0x0]};var _0x50a852=system[_0xc9d6('0x7')](_0x5c3e98,{'typecast':!![]});if(_0x50a852[_0xc9d6('0x8')]){logger[_0xc9d6('0x9')](_0xc9d6('0xa'),_0x196a24,_[_0xc9d6('0xb')](_0x50a852,_0xc9d6('0xc'))['join'](',\x20'));logger[_0xc9d6('0xd')](_0xc9d6('0xe'),_0x196a24);_0x36084b[_0xc9d6('0xf')]();}else{var _0x37b169=this;var _0xe4f589=utils[_0xc9d6('0x10')](_0x51a52c[0x0],this);logger[_0xc9d6('0xd')](_0xc9d6('0x11'),_0x196a24,_0xe4f589);sh[_0xc9d6('0x12')](_['trim'](_0xe4f589),function(_0x2e45ec,_0x19311d){logger[_0xc9d6('0xd')]('[%s][SYSTEM]\x20result\x20code:\x20%s',_0x196a24,_0x2e45ec);if(_0x2e45ec==0x0){var _0x13fe9c=_0x19311d[_0xc9d6('0x13')](/(\r\n|\n|\r)/gm,'');if(_[_0xc9d6('0x14')](_0x51a52c[0x1])||_[_0xc9d6('0x15')](_0x51a52c[0x1])){logger['info'](_0xc9d6('0x16'),_0x196a24);_0x37b169[_0xc9d6('0x17')][_0x51a52c[0x1]]=_0x13fe9c;}else{logger['info'](_0xc9d6('0x18'),_0x196a24,_0x51a52c[0x1],_0x13fe9c);_0x37b169['body'][_0x51a52c[0x1]]=_0x13fe9c;}}_0x36084b[_0xc9d6('0xf')]();});}}catch(_0x3d0660){logger[_0xc9d6('0x9')]('[%s][SYSTEM]\x20%s',_0x196a24,_[_0xc9d6('0x19')](_0x3d0660)?JSON['stringify'](_0x3d0660):_0x3d0660);logger[_0xc9d6('0xd')]('[%s][SYSTEM]\x20no\x20command\x20executed,\x20force\x20next',_0x196a24);_0x36084b['next']();}};}; \ No newline at end of file +var _0xf1f9=['next','[%s][SYSTEM]\x20%s','stringify','validate','shelljs','lodash','./utils','../../../../config/logger','routing','string','command\x20is\x20a\x20string\x20and\x20it\x20is\x20required','consequence','error','message','[%s][SYSTEM]\x20no\x20command\x20executed,\x20force\x20next','getMustacheRender','info','[%s][SYSTEM]\x20commnad:\x20%s','exec','trim','replace','isNil','isEmpty','[%s][SYSTEM]\x20no\x20variable','[%s][SYSTEM]\x20set\x20variable\x20%s:\x20%s','body'];(function(_0xe55b3c,_0x131580){var _0x1db110=function(_0x19a776){while(--_0x19a776){_0xe55b3c['push'](_0xe55b3c['shift']());}};_0x1db110(++_0x131580);}(_0xf1f9,0x107));var _0x9f1f=function(_0x3af73b,_0x259be8){_0x3af73b=_0x3af73b-0x0;var _0x2de117=_0xf1f9[_0x3af73b];return _0x2de117;};'use strict';var schema=require(_0x9f1f('0x0'));var sh=require(_0x9f1f('0x1'));var _=require(_0x9f1f('0x2'));var utils=require(_0x9f1f('0x3'));var logger=require(_0x9f1f('0x4'))(_0x9f1f('0x5'));var system=schema({'command':{'type':_0x9f1f('0x6'),'required':!![],'message':_0x9f1f('0x7')}});exports[_0x9f1f('0x8')]=function(_0x5ee691,_0x3deae1){return function(_0x1145e1){try{var _0x56a32e={'command':_0x3deae1[0x0]};var _0x519446=system['validate'](_0x56a32e,{'typecast':!![]});if(_0x519446['length']){logger[_0x9f1f('0x9')]('[%s][SYSTEM]\x20%s',_0x5ee691,_['map'](_0x519446,_0x9f1f('0xa'))['join'](',\x20'));logger['info'](_0x9f1f('0xb'),_0x5ee691);_0x1145e1['next']();}else{var _0x599c15=this;var _0xdc3313=utils[_0x9f1f('0xc')](_0x3deae1[0x0],this);logger[_0x9f1f('0xd')](_0x9f1f('0xe'),_0x5ee691,_0xdc3313);sh[_0x9f1f('0xf')](_[_0x9f1f('0x10')](_0xdc3313),function(_0x5e83d4,_0x2d3776){logger[_0x9f1f('0xd')]('[%s][SYSTEM]\x20result\x20code:\x20%s',_0x5ee691,_0x5e83d4);if(_0x5e83d4==0x0){var _0x374cd3=_0x2d3776[_0x9f1f('0x11')](/(\r\n|\n|\r)/gm,'');if(_[_0x9f1f('0x12')](_0x3deae1[0x1])||_[_0x9f1f('0x13')](_0x3deae1[0x1])){logger['info'](_0x9f1f('0x14'),_0x5ee691);_0x599c15['body'][_0x3deae1[0x1]]=_0x374cd3;}else{logger[_0x9f1f('0xd')](_0x9f1f('0x15'),_0x5ee691,_0x3deae1[0x1],_0x374cd3);_0x599c15[_0x9f1f('0x16')][_0x3deae1[0x1]]=_0x374cd3;}}_0x1145e1[_0x9f1f('0x17')]();});}}catch(_0x15d46b){logger[_0x9f1f('0x9')](_0x9f1f('0x18'),_0x5ee691,_['isObject'](_0x15d46b)?JSON[_0x9f1f('0x19')](_0x15d46b):_0x15d46b);logger['info'](_0x9f1f('0xb'),_0x5ee691);_0x1145e1[_0x9f1f('0x17')]();}};}; \ No newline at end of file diff --git a/server/services/routing/server/applications/tag.js b/server/services/routing/server/applications/tag.js index 9e76276..9652476 100644 --- a/server/services/routing/server/applications/tag.js +++ b/server/services/routing/server/applications/tag.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x6626=['[%s][TAG]\x20no\x20tags\x20saved,\x20force\x20next','next','channel','Interaction','addTags','then','[%s][TAG]\x20tag\x20\x22%s\x22\x20added\x20to\x20%s\x20interaction\x20%s','interaction','catch','stringify','error','isObject','validate','lodash','../../rpc/chatInteraction','../../rpc/openchannelInteraction','../../rpc/mailInteraction','../../rpc/faxInteraction','../../../../config/logger','routing','number','length','[%s][TAG]\x20%s','map','message','info'];(function(_0x64bbb9,_0x909c76){var _0x5c3707=function(_0x26ded5){while(--_0x26ded5){_0x64bbb9['push'](_0x64bbb9['shift']());}};_0x5c3707(++_0x909c76);}(_0x6626,0x192));var _0x6662=function(_0x371135,_0x28cc7c){_0x371135=_0x371135-0x0;var _0x4f66d2=_0x6626[_0x371135];return _0x4f66d2;};'use strict';var schema=require(_0x6662('0x0'));var _=require(_0x6662('0x1'));var rpc={'chatInteraction':require(_0x6662('0x2')),'openchannelInteraction':require(_0x6662('0x3')),'smsInteraction':require('../../rpc/smsInteraction'),'mailInteraction':require(_0x6662('0x4')),'faxInteraction':require(_0x6662('0x5')),'whatsappInteraction':require('../../rpc/whatsappInteraction')};var logger=require(_0x6662('0x6'))(_0x6662('0x7'));var tag=schema({'tag':{'type':_0x6662('0x8'),'required':!![],'message':'TagId\x20is\x20a\x20string\x20and\x20it\x20is\x20required'}});exports['consequence']=function(_0x2b8a1f,_0x581ddd,_0x312718,_0x3bbb24){return function(_0x435ae){try{var _0x1dfba4={'tag':_0x581ddd[0x0]};var _0x1e234c=tag['validate'](_0x1dfba4,{'typecast':!![]});if(_0x1e234c[_0x6662('0x9')]){logger['error'](_0x6662('0xa'),_0x2b8a1f,_[_0x6662('0xb')](_0x1e234c,_0x6662('0xc'))['join'](',\x20'));logger[_0x6662('0xd')](_0x6662('0xe'),_0x2b8a1f);_0x435ae[_0x6662('0xf')]();}else{var _0x2b63ca={'ids':[_0x581ddd[0x0]]};if(rpc[_0x3bbb24[_0x6662('0x10')]+_0x6662('0x11')]){rpc[_0x3bbb24['channel']+_0x6662('0x11')][_0x6662('0x12')](_0x3bbb24['interaction']['id'],_0x2b63ca)[_0x6662('0x13')](function(_0x5bab6c){logger[_0x6662('0xd')](_0x6662('0x14'),_0x2b8a1f,_0x581ddd[0x1],_0x3bbb24[_0x6662('0x10')],_0x3bbb24[_0x6662('0x15')]['id']);})[_0x6662('0x16')](function(_0x3b9091){logger['error'](_0x6662('0xa'),_0x2b8a1f,JSON[_0x6662('0x17')](_0x3b9091));logger[_0x6662('0xd')](_0x6662('0xe'),_0x2b8a1f);})['finally'](function(){_0x435ae[_0x6662('0xf')]();});}}}catch(_0x58fc4e){logger[_0x6662('0x18')](_0x6662('0xa'),_0x2b8a1f,_[_0x6662('0x19')](_0x58fc4e)?JSON[_0x6662('0x17')](_0x58fc4e):_0x58fc4e);logger[_0x6662('0xd')](_0x6662('0xe'),_0x2b8a1f);_0x435ae[_0x6662('0xf')]();}};}; \ No newline at end of file +var _0xccab=['../../rpc/openchannelInteraction','../../rpc/smsInteraction','../../rpc/faxInteraction','routing','number','TagId\x20is\x20a\x20string\x20and\x20it\x20is\x20required','consequence','length','error','map','message','join','[%s][TAG]\x20no\x20tags\x20saved,\x20force\x20next','next','channel','Interaction','addTags','interaction','then','[%s][TAG]\x20tag\x20\x22%s\x22\x20added\x20to\x20%s\x20interaction\x20%s','stringify','info','[%s][TAG]\x20%s','isObject','validate','lodash','../../rpc/chatInteraction'];(function(_0x54ae78,_0x3e14d4){var _0x3b2efd=function(_0x406c0c){while(--_0x406c0c){_0x54ae78['push'](_0x54ae78['shift']());}};_0x3b2efd(++_0x3e14d4);}(_0xccab,0x9f));var _0xbcca=function(_0x416a56,_0x1e55bf){_0x416a56=_0x416a56-0x0;var _0x5258ff=_0xccab[_0x416a56];return _0x5258ff;};'use strict';var schema=require(_0xbcca('0x0'));var _=require(_0xbcca('0x1'));var rpc={'chatInteraction':require(_0xbcca('0x2')),'openchannelInteraction':require(_0xbcca('0x3')),'smsInteraction':require(_0xbcca('0x4')),'mailInteraction':require('../../rpc/mailInteraction'),'faxInteraction':require(_0xbcca('0x5')),'whatsappInteraction':require('../../rpc/whatsappInteraction')};var logger=require('../../../../config/logger')(_0xbcca('0x6'));var tag=schema({'tag':{'type':_0xbcca('0x7'),'required':!![],'message':_0xbcca('0x8')}});exports[_0xbcca('0x9')]=function(_0x5b5770,_0xd7ccb2,_0x129085,_0x39ad98){return function(_0x1be9d5){try{var _0x2870fa={'tag':_0xd7ccb2[0x0]};var _0x524f2f=tag[_0xbcca('0x0')](_0x2870fa,{'typecast':!![]});if(_0x524f2f[_0xbcca('0xa')]){logger[_0xbcca('0xb')]('[%s][TAG]\x20%s',_0x5b5770,_[_0xbcca('0xc')](_0x524f2f,_0xbcca('0xd'))[_0xbcca('0xe')](',\x20'));logger['info'](_0xbcca('0xf'),_0x5b5770);_0x1be9d5[_0xbcca('0x10')]();}else{var _0x40e76b={'ids':[_0xd7ccb2[0x0]]};if(rpc[_0x39ad98[_0xbcca('0x11')]+_0xbcca('0x12')]){rpc[_0x39ad98[_0xbcca('0x11')]+_0xbcca('0x12')][_0xbcca('0x13')](_0x39ad98[_0xbcca('0x14')]['id'],_0x40e76b)[_0xbcca('0x15')](function(_0x11eb50){logger['info'](_0xbcca('0x16'),_0x5b5770,_0xd7ccb2[0x1],_0x39ad98[_0xbcca('0x11')],_0x39ad98[_0xbcca('0x14')]['id']);})['catch'](function(_0x5aab5f){logger[_0xbcca('0xb')]('[%s][TAG]\x20%s',_0x5b5770,JSON[_0xbcca('0x17')](_0x5aab5f));logger[_0xbcca('0x18')]('[%s][TAG]\x20no\x20tags\x20saved,\x20force\x20next',_0x5b5770);})['finally'](function(){_0x1be9d5[_0xbcca('0x10')]();});}}}catch(_0x5a1300){logger[_0xbcca('0xb')](_0xbcca('0x19'),_0x5b5770,_[_0xbcca('0x1a')](_0x5a1300)?JSON[_0xbcca('0x17')](_0x5a1300):_0x5a1300);logger[_0xbcca('0x18')](_0xbcca('0xf'),_0x5b5770);_0x1be9d5[_0xbcca('0x10')]();}};}; \ No newline at end of file diff --git a/server/services/routing/server/applications/utils.js b/server/services/routing/server/applications/utils.js index 3d5f4b2..33772f9 100644 --- a/server/services/routing/server/applications/utils.js +++ b/server/services/routing/server/applications/utils.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x777f=['lodash','exports','render','merge','body','message','account','mustache'];(function(_0xce9195,_0x1963e1){var _0x530fe6=function(_0x1b8055){while(--_0x1b8055){_0xce9195['push'](_0xce9195['shift']());}};_0x530fe6(++_0x1963e1);}(_0x777f,0x9f));var _0xf777=function(_0x412e27,_0x20a978){_0x412e27=_0x412e27-0x0;var _0x53da42=_0x777f[_0x412e27];return _0x53da42;};'use strict';var Mustache=require(_0xf777('0x0'));var _=require(_0xf777('0x1'));module[_0xf777('0x2')]={'getMustacheRender':function(_0x37721a,_0xfd8f38){return Mustache[_0xf777('0x3')](_0x37721a,_[_0xf777('0x4')](_0xfd8f38[_0xf777('0x5')],{'contact':_0xfd8f38['contact'],'message':_0xfd8f38[_0xf777('0x6')],'account':_0xfd8f38[_0xf777('0x7')],'interaction':_0xfd8f38['interaction'],'list':_0xfd8f38['list']}))||'';}}; \ No newline at end of file +var _0x98d3=['mustache','lodash','render','body','contact','interaction','list'];(function(_0x29c0b6,_0x38fa1f){var _0x6fa550=function(_0x3c52a8){while(--_0x3c52a8){_0x29c0b6['push'](_0x29c0b6['shift']());}};_0x6fa550(++_0x38fa1f);}(_0x98d3,0x173));var _0x398d=function(_0x550fcd,_0x1f10a9){_0x550fcd=_0x550fcd-0x0;var _0x44d725=_0x98d3[_0x550fcd];return _0x44d725;};'use strict';var Mustache=require(_0x398d('0x0'));var _=require(_0x398d('0x1'));module['exports']={'getMustacheRender':function(_0x35bbe1,_0x4f5ff0){return Mustache[_0x398d('0x2')](_0x35bbe1,_['merge'](_0x4f5ff0[_0x398d('0x3')],{'contact':_0x4f5ff0[_0x398d('0x4')],'message':_0x4f5ff0['message'],'account':_0x4f5ff0['account'],'interaction':_0x4f5ff0[_0x398d('0x5')],'list':_0x4f5ff0[_0x398d('0x6')]}))||'';}}; \ No newline at end of file diff --git a/server/services/routing/server/index.js b/server/services/routing/server/index.js index 5926778..53dc2d4 100644 --- a/server/services/routing/server/index.js +++ b/server/services/routing/server/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x3717=['intervals','./applications/','consequence','priority','info','Push\x20new\x20rule','\x20|\x20','Please\x20create\x20a\x20new\x20file\x20under','execute','Applications\x20executed','stringify','matchPath','complete','routing\x20is\x20empty','channel','emit','end','QueueReport','update','error','error\x20update\x20queue\x20report','stack','message\x20is\x20empty','agent','agents','busyQueue','hasOwnProperty','capacity','agent\x20not\x20found','chatQueues','available','loggedIn','name','paused','mailQueues','waiting','openchannelQueues','smsQueues','faxQueues','whatsappQueues','values','mailQueuesWaitingInteractions','smsQueuesWaitingInteractions','faxQueuesWaitingInteractions','server','http','127.0.0.1','log','util','path','jayson/promise','bluebird','../../../config/logger','../rpc/mailQueueReport','../rpc/chatQueueReport','../rpc/smsQueueReport','../rpc/faxQueueReport','../rpc/whatsappQueueReport','../lib/rule-engine','format','%s.%s.%s','IntervalId','isNil','map','Intervals','listen','rules','message','interaction','applications','length','existsSync','join','app','.js','toLowerCase','autoreply','push','slice','dialogflow','appdata','split','amazonlex','tag','%s:%s:%s','./interval','condition'];(function(_0x2763f2,_0x416af8){var _0x3ef471=function(_0x288aa2){while(--_0x288aa2){_0x2763f2['push'](_0x2763f2['shift']());}};_0x3ef471(++_0x416af8);}(_0x3717,0xde));var _0x7371=function(_0x15eed3,_0x12d5df){_0x15eed3=_0x15eed3-0x0;var _0x58628c=_0x3717[_0x15eed3];return _0x58628c;};'use strict';var _=require('lodash');var util=require(_0x7371('0x0'));var path=require(_0x7371('0x1'));var fs=require('fs');var jayson=require(_0x7371('0x2'));var BPromise=require(_0x7371('0x3'));var uuid=require('uuid');var config=require('../../../config/environment');var logger=require(_0x7371('0x4'))('routing');var rpc={'openchannelQueueReport':require('../rpc/openchannelQueueReport'),'mailQueueReport':require(_0x7371('0x5')),'chatQueueReport':require(_0x7371('0x6')),'smsQueueReport':require(_0x7371('0x7')),'faxQueueReport':require(_0x7371('0x8')),'whatsappQueueReport':require(_0x7371('0x9'))};var RuleEngine=require(_0x7371('0xa'));function getId(_0x1ad83b,_0x35eb60,_0x351a3){return util[_0x7371('0xb')](_0x7371('0xc'),_0x1ad83b,_0x35eb60||0x0,_0x351a3||0x0);}function getIntervals(_0x37529a,_0x4d80de){var _0x24b497=[];if(!_['isNil'](_0x4d80de[_0x7371('0xd')])&&!_[_0x7371('0xe')](_0x37529a[_0x4d80de[_0x7371('0xd')]])&&!_[_0x7371('0xe')](_0x37529a[_0x4d80de['IntervalId']]['Intervals'])){_0x24b497=_[_0x7371('0xf')](_0x37529a[_0x4d80de[_0x7371('0xd')]][_0x7371('0x10')],'interval');}else if(!_[_0x7371('0xe')](_0x4d80de['interval'])){_0x24b497=[_0x4d80de['interval']];}return _0x24b497;}exports[_0x7371('0x11')]=function(_0x339566){_0x339566[_0x7371('0x12')]={};return new BPromise(function(_0x5ee121,_0x36c568){var _0x24776e={'Start':function(_0x369341){var _0x3cdd80=this;return new Promise(function(_0xfdc9f7,_0x2f7f6f){if(_0x369341){try{var _0x310510=[];var _0x45a954=getId(_0x369341['channel'],_0x369341[_0x7371('0x13')]?_0x369341[_0x7371('0x13')]['id']:0x0,_0x369341[_0x7371('0x14')]?_0x369341[_0x7371('0x14')]['id']:0x0);if(_0x369341[_0x7371('0x15')]&&_['isArray'](_0x369341[_0x7371('0x15')])&&_0x369341['applications'][_0x7371('0x16')]){for(var _0xfd8155=0x0;_0xfd8155<_0x369341[_0x7371('0x15')][_0x7371('0x16')];_0xfd8155+=0x1){var _0x55f8fb=_0x369341[_0x7371('0x15')][_0xfd8155];if(fs[_0x7371('0x17')](path[_0x7371('0x18')](__dirname,_0x7371('0x15'),_0x55f8fb[_0x7371('0x19')]+_0x7371('0x1a')))){var _0x3de7b3=[];switch(_0x55f8fb[_0x7371('0x19')][_0x7371('0x1b')]()){case _0x7371('0x1c'):var _0x14d9c4=_0x55f8fb['appdata']['split'](',');_0x3de7b3[_0x7371('0x1d')](_0x14d9c4[0x0]);_0x3de7b3[_0x7371('0x1d')](_0x14d9c4[_0x7371('0x1e')](0x1,_0x14d9c4[_0x7371('0x16')])[_0x7371('0x18')](','));break;case _0x7371('0x1f'):var _0x569ed4=_0x55f8fb[_0x7371('0x20')][_0x7371('0x21')](',');_0x3de7b3['push'](_0x569ed4[0x0]);_0x3de7b3[_0x7371('0x1d')](_0x569ed4[0x1]);_0x3de7b3[_0x7371('0x1d')](_0x569ed4[_0x7371('0x1e')](0x2,_0x569ed4[_0x7371('0x16')])[_0x7371('0x18')](','));break;case _0x7371('0x22'):var _0x557810=_0x55f8fb[_0x7371('0x20')][_0x7371('0x21')](',');_0x3de7b3[_0x7371('0x1d')](_0x557810[0x0]);_0x3de7b3[_0x7371('0x1d')](_0x557810[0x1]);_0x3de7b3[_0x7371('0x1d')](_0x557810[0x2]);_0x3de7b3[_0x7371('0x1d')](_0x557810[0x3]);_0x3de7b3['push'](_0x557810['slice'](0x4,_0x557810[_0x7371('0x16')])[_0x7371('0x18')](','));break;case'message':_0x3de7b3[_0x7371('0x1d')](_0x55f8fb[_0x7371('0x20')]);break;case _0x7371('0x23'):_0x3de7b3[_0x7371('0x1d')](_0x55f8fb['TagId']);_0x3de7b3[_0x7371('0x1d')](_0x55f8fb[_0x7371('0x20')]);break;default:_0x3de7b3=_[_0x7371('0xe')](_0x55f8fb[_0x7371('0x20')])?[]:_0x55f8fb['appdata'][_0x7371('0x21')](',');}var _0x1ab46d={'id':util[_0x7371('0xb')](_0x7371('0x24'),_0x45a954,_0x55f8fb['id'],_0x55f8fb['app']),'condition':require(_0x7371('0x25'))[_0x7371('0x26')](_0x45a954,getIntervals(_0x339566[_0x7371('0x27')],_0x55f8fb),_0x339566),'consequence':require(_0x7371('0x28')+_0x55f8fb[_0x7371('0x19')])[_0x7371('0x29')](_0x45a954,_0x3de7b3,_0x339566,_0x369341),'p':_0x55f8fb[_0x7371('0x2a')]||0x0};logger[_0x7371('0x2b')](_0x7371('0x2c'),_0x1ab46d['id'],'on\x20interval',getIntervals(_0x339566[_0x7371('0x27')],_0x55f8fb)[_0x7371('0x18')](_0x7371('0x2d')));_0x310510['push'](_0x1ab46d);}else{logger['error'](_0x7371('0x2e'),path[_0x7371('0x18')](__dirname,'applications',_0x55f8fb[_0x7371('0x19')]+_0x7371('0x1a')));}}_0x339566[_0x7371('0x12')][_0x45a954]=new RuleEngine(_0x310510);_0x339566[_0x7371('0x12')][_0x45a954][_0x7371('0x2f')](_0x369341,function(_0x38bb2e){logger[_0x7371('0x2b')](_0x7371('0x30'),JSON[_0x7371('0x31')](_0x38bb2e[_0x7371('0x32')]));if(_0x339566[_0x7371('0x12')][_0x45a954]){_0x339566[_0x7371('0x12')][_0x45a954]['emit'](_0x7371('0x33'));}});return _0xfdc9f7({'code':0xc8,'message':_0x369341});}else{logger[_0x7371('0x2b')]('No\x20applications\x20to\x20execute');return _0xfdc9f7({'code':0xc8,'message':_0x369341});}}catch(_0x25c0fd){logger['error'](_0x25c0fd['stack']);return _0x2f7f6f(_0x3cdd80['error'](0x1f4,_0x25c0fd));}}return _0x2f7f6f(_0x7371('0x34'));});},'AcceptMessage':function(_0x28eeff){var _0x441961=this;return new Promise(function(_0x252a31,_0x2e3fcc){if(_0x28eeff[_0x7371('0x13')]&&_0x28eeff[_0x7371('0x13')]['id']){try{var _0xaaef34=getId(_0x28eeff[_0x7371('0x35')],_0x28eeff[_0x7371('0x13')]?_0x28eeff[_0x7371('0x13')]['id']:0x0,_0x28eeff['interaction']?_0x28eeff[_0x7371('0x14')]['id']:0x0);if(_0x339566['rules'][_0xaaef34]){_0x339566[_0x7371('0x12')][_0xaaef34][_0x7371('0x36')](_0x7371('0x37'));if(rpc[_0x28eeff[_0x7371('0x35')]+_0x7371('0x38')]){rpc[_0x28eeff[_0x7371('0x35')]+_0x7371('0x38')][_0x7371('0x39')](_0xaaef34,{'UserId':_0x28eeff[_0x7371('0x13')]['UserId']})['catch'](function(_0x19187f){logger[_0x7371('0x3a')](_0x7371('0x3b'));});}}return _0x252a31({'code':0xc8,'message':_0x28eeff});}catch(_0x537fa8){logger[_0x7371('0x3a')](_0x537fa8[_0x7371('0x3c')]);return _0x2e3fcc(_0x441961[_0x7371('0x3a')](0x1f4,_0x537fa8));}}logger[_0x7371('0x3a')](_0x7371('0x3d'));return _0x2e3fcc(_0x441961['error'](0x1f4,_0x7371('0x3d')));});},'RejectMessage':function(_0x3f646){var _0x46062e=this;return new Promise(function(_0x43f5e0,_0x5c35d1){if(_0x3f646[_0x7371('0x3e')]&&_0x3f646[_0x7371('0x3e')]['id']){try{if(_0x339566['agents'][_0x3f646[_0x7371('0x3e')]['id']]){_0x339566[_0x7371('0x3f')][_0x3f646[_0x7371('0x3e')]['id']]['busy']=![];_0x339566['agents'][_0x3f646[_0x7371('0x3e')]['id']][_0x7371('0x40')]=undefined;}return _0x43f5e0({'code':0xc8,'message':_0x3f646});}catch(_0x3a39d9){logger[_0x7371('0x3a')](_0x3a39d9[_0x7371('0x3c')]);return _0x5c35d1(_0x46062e['error'](0x1f4,_0x3a39d9));}}logger[_0x7371('0x3a')](_0x7371('0x3d'));return _0x5c35d1(_0x46062e[_0x7371('0x3a')](0x1f4,_0x7371('0x3d')));});},'AbandonInteraction':function(_0x466d97){var _0x2bf045=this;return new Promise(function(_0x5b8bd3,_0x75e794){if(_0x466d97[_0x7371('0x35')]&&_0x466d97[_0x7371('0x14')]&&_0x466d97['interaction']['id']){try{var _0x318a66=getId(_0x466d97[_0x7371('0x35')],_0x466d97['message']?_0x466d97[_0x7371('0x13')]['id']:0x0,_0x466d97[_0x7371('0x14')]?_0x466d97[_0x7371('0x14')]['id']:0x0);if(_0x339566[_0x7371('0x12')][_0x318a66]){_0x339566[_0x7371('0x12')][_0x318a66][_0x7371('0x36')](_0x7371('0x37'));}return _0x5b8bd3({'code':0xc8,'message':_0x466d97});}catch(_0x214b51){logger[_0x7371('0x3a')](_0x214b51['stack']);return _0x75e794(_0x2bf045[_0x7371('0x3a')](0x1f4,_0x214b51));}}logger['error'](_0x7371('0x3d'));return _0x75e794(_0x2bf045['error'](0x1f4,_0x7371('0x3d')));});},'AgentCapacity':function(_0x4ea8c6){var _0x48abb7=this;return new Promise(function(_0x1a3f5b,_0xe61245){if(_0x339566[_0x7371('0x3f')][_0x7371('0x41')](_0x4ea8c6['id'])){for(var _0x22de0b in _0x4ea8c6['capacity']){if(_0x4ea8c6['capacity'][_0x7371('0x41')](_0x22de0b)){if(_0x339566[_0x7371('0x3f')][_0x4ea8c6['id']][_0x7371('0x41')](_0x22de0b+'CurrentCapacity')){_0x339566[_0x7371('0x3f')][_0x4ea8c6['id']][_0x22de0b+'CurrentCapacity']=parseInt(_0x4ea8c6[_0x7371('0x42')][_0x22de0b],0xa);}}}_0x339566[_0x7371('0x3f')][_0x4ea8c6['id']]['updateRealtime']();return _0x1a3f5b({'code':0xc8,'message':_0x339566[_0x7371('0x3f')][_0x4ea8c6['id']]});}else{return _0xe61245(_0x48abb7['error'](0x1f4,_0x7371('0x43')));}});},'Agents':function(_0x3f1ebd){return new Promise(function(_0x5ece10,_0x2422ef){var _0x4e2814=_['values'](_0x339566[_0x7371('0x3f')]);_0x5ece10({'count':_0x4e2814[_0x7371('0x16')],'rows':_0x4e2814});});},'ChatQueues':function(_0x1680d3){return new Promise(function(_0x1c28ac,_0x54b97e){var _0x7ef880=[];for(var _0x14834f in _0x339566[_0x7371('0x44')]){if(_0x339566['chatQueues']['hasOwnProperty'](_0x14834f)){var _0x543b68=_0x339566[_0x7371('0x44')][_0x14834f];var _0x59adde={'id':_0x543b68['id'],'available':_0x543b68[_0x7371('0x45')],'loggedIn':_0x543b68[_0x7371('0x46')],'name':_0x543b68[_0x7371('0x47')],'paused':_0x543b68[_0x7371('0x48')],'waiting':_0x543b68['waiting']};_0x7ef880['push'](_0x59adde);}}_0x1c28ac({'count':_0x7ef880[_0x7371('0x16')],'rows':_0x7ef880});});},'MailQueues':function(_0x42a34f){return new Promise(function(_0x301127,_0x2ec25c){var _0x5aebb2=[];for(var _0x22227b in _0x339566[_0x7371('0x49')]){if(_0x339566[_0x7371('0x49')][_0x7371('0x41')](_0x22227b)){var _0x2b80a1=_0x339566[_0x7371('0x49')][_0x22227b];var _0x13c48c={'id':_0x2b80a1['id'],'available':_0x2b80a1[_0x7371('0x45')],'loggedIn':_0x2b80a1[_0x7371('0x46')],'name':_0x2b80a1[_0x7371('0x47')],'paused':_0x2b80a1[_0x7371('0x48')],'waiting':_0x2b80a1[_0x7371('0x4a')]};_0x5aebb2['push'](_0x13c48c);}}_0x301127({'count':_0x5aebb2[_0x7371('0x16')],'rows':_0x5aebb2});});},'OpenchannelQueues':function(_0x480555){return new Promise(function(_0x42ef61,_0x1b93d3){var _0x110230=[];for(var _0x60684b in _0x339566[_0x7371('0x4b')]){if(_0x339566['openchannelQueues'][_0x7371('0x41')](_0x60684b)){var _0x378bb3=_0x339566[_0x7371('0x4b')][_0x60684b];var _0x556cb8={'id':_0x378bb3['id'],'available':_0x378bb3[_0x7371('0x45')],'loggedIn':_0x378bb3['loggedIn'],'name':_0x378bb3[_0x7371('0x47')],'paused':_0x378bb3[_0x7371('0x48')],'waiting':_0x378bb3[_0x7371('0x4a')]};_0x110230[_0x7371('0x1d')](_0x556cb8);}}_0x42ef61({'count':_0x110230['length'],'rows':_0x110230});});},'SmsQueues':function(_0x249e9c){return new Promise(function(_0x141386,_0x1d8a2b){var _0x5895e5=[];for(var _0x5f01f5 in _0x339566[_0x7371('0x4c')]){if(_0x339566[_0x7371('0x4c')][_0x7371('0x41')](_0x5f01f5)){var _0xecf151=_0x339566[_0x7371('0x4c')][_0x5f01f5];var _0xdea3f2={'id':_0xecf151['id'],'available':_0xecf151['available'],'loggedIn':_0xecf151[_0x7371('0x46')],'name':_0xecf151[_0x7371('0x47')],'paused':_0xecf151[_0x7371('0x48')],'waiting':_0xecf151[_0x7371('0x4a')]};_0x5895e5[_0x7371('0x1d')](_0xdea3f2);}}_0x141386({'count':_0x5895e5[_0x7371('0x16')],'rows':_0x5895e5});});},'FaxQueues':function(_0x389b79){return new Promise(function(_0x14ba73,_0x35aa1f){var _0x4f6313=[];for(var _0x4d8d99 in _0x339566['faxQueues']){if(_0x339566[_0x7371('0x4d')]['hasOwnProperty'](_0x4d8d99)){var _0x29219c=_0x339566[_0x7371('0x4d')][_0x4d8d99];var _0x155747={'id':_0x29219c['id'],'available':_0x29219c['available'],'loggedIn':_0x29219c[_0x7371('0x46')],'name':_0x29219c[_0x7371('0x47')],'paused':_0x29219c['paused'],'waiting':_0x29219c[_0x7371('0x4a')]};_0x4f6313['push'](_0x155747);}}_0x14ba73({'count':_0x4f6313[_0x7371('0x16')],'rows':_0x4f6313});});},'WhatsappQueues':function(_0x4aae16){return new Promise(function(_0x3be0aa,_0x3f3501){var _0x511c0f=[];for(var _0x3b0b39 in _0x339566[_0x7371('0x4e')]){if(_0x339566[_0x7371('0x4e')]['hasOwnProperty'](_0x3b0b39)){var _0x10e16e=_0x339566[_0x7371('0x4e')][_0x3b0b39];var _0xe8e209={'id':_0x10e16e['id'],'available':_0x10e16e[_0x7371('0x45')],'loggedIn':_0x10e16e[_0x7371('0x46')],'name':_0x10e16e[_0x7371('0x47')],'paused':_0x10e16e['paused'],'waiting':_0x10e16e[_0x7371('0x4a')]};_0x511c0f[_0x7371('0x1d')](_0xe8e209);}}_0x3be0aa({'count':_0x511c0f[_0x7371('0x16')],'rows':_0x511c0f});});},'ChatQueuesWaitingInteractions':function(_0x14d5ec){return new Promise(function(_0x2b783a,_0x509b80){var _0x4c8366=_[_0x7371('0x4f')](_0x339566['chatQueuesWaitingInteractions']);_0x2b783a({'count':_0x4c8366['length'],'rows':_0x4c8366});});},'MailQueuesWaitingInteractions':function(_0x2eae05){return new Promise(function(_0x29dfeb,_0x99d3cb){var _0xbbab9a=_[_0x7371('0x4f')](_0x339566[_0x7371('0x50')]);_0x29dfeb({'count':_0xbbab9a[_0x7371('0x16')],'rows':_0xbbab9a});});},'OpenchannelQueuesWaitingInteractions':function(_0x33c4b7){return new Promise(function(_0x3bb73b,_0x288127){var _0x5ae5df=_[_0x7371('0x4f')](_0x339566['openchannelQueuesWaitingInteractions']);_0x3bb73b({'count':_0x5ae5df[_0x7371('0x16')],'rows':_0x5ae5df});});},'SmsQueuesWaitingInteractions':function(_0x4a3d8b){return new Promise(function(_0x2f4941,_0x405e28){var _0x3fb632=_['values'](_0x339566[_0x7371('0x51')]);_0x2f4941({'count':_0x3fb632[_0x7371('0x16')],'rows':_0x3fb632});});},'FaxQueuesWaitingInteractions':function(_0x2d8ad6){return new Promise(function(_0x467eef,_0x2b38bf){var _0x122506=_[_0x7371('0x4f')](_0x339566[_0x7371('0x52')]);_0x467eef({'count':_0x122506[_0x7371('0x16')],'rows':_0x122506});});},'WhatsappQueuesWaitingInteractions':function(_0x254d04){return new Promise(function(_0x3a2cff,_0x1d9204){var _0x24733c=_[_0x7371('0x4f')](_0x339566['whatsappQueuesWaitingInteractions']);_0x3a2cff({'count':_0x24733c[_0x7371('0x16')],'rows':_0x24733c});});}};var _0x34b0f9=jayson[_0x7371('0x53')](_0x24776e)[_0x7371('0x54')]();_0x34b0f9['on'](_0x7371('0x3a'),function(_0x1b8918){logger[_0x7371('0x3a')](JSON[_0x7371('0x31')](_0x1b8918));return _0x36c568(_0x1b8918);});_0x34b0f9[_0x7371('0x11')](0x232c,_0x7371('0x55'),function(){console[_0x7371('0x56')]('Routing\x20RPC\x20server\x20listening\x20on\x20127.0.0.1:%d!',0x232c);return _0x5ee121('RPC\x20listening\x20on\x20port:'+0x232c);});});}; \ No newline at end of file +var _0x7739=['agents','busyQueue','capacity','hasOwnProperty','CurrentCapacity','values','chatQueues','available','loggedIn','name','paused','mailQueues','waiting','openchannelQueues','smsQueues','faxQueues','whatsappQueues','mailQueuesWaitingInteractions','openchannelQueuesWaitingInteractions','smsQueuesWaitingInteractions','faxQueuesWaitingInteractions','whatsappQueuesWaitingInteractions','http','127.0.0.1','util','bluebird','../../../config/environment','../rpc/openchannelQueueReport','../rpc/mailQueueReport','../rpc/faxQueueReport','../rpc/whatsappQueueReport','../lib/rule-engine','format','%s.%s.%s','IntervalId','isNil','Intervals','map','interval','listen','rules','channel','message','interaction','applications','length','app','.js','autoreply','appdata','split','push','slice','join','dialogflow','tag','TagId','%s:%s:%s','./interval','condition','intervals','./applications/','consequence','info','Push\x20new\x20rule','on\x20interval','\x20|\x20','execute','Applications\x20executed','matchPath','emit','complete','No\x20applications\x20to\x20execute','error','end','QueueReport','update','UserId','catch','error\x20update\x20queue\x20report','stack','message\x20is\x20empty','agent'];(function(_0x16f079,_0x1f28e6){var _0x2e4e57=function(_0x4fb366){while(--_0x4fb366){_0x16f079['push'](_0x16f079['shift']());}};_0x2e4e57(++_0x1f28e6);}(_0x7739,0x1b7));var _0x9773=function(_0x102128,_0x10f78a){_0x102128=_0x102128-0x0;var _0x43e389=_0x7739[_0x102128];return _0x43e389;};'use strict';var _=require('lodash');var util=require(_0x9773('0x0'));var path=require('path');var fs=require('fs');var jayson=require('jayson/promise');var BPromise=require(_0x9773('0x1'));var uuid=require('uuid');var config=require(_0x9773('0x2'));var logger=require('../../../config/logger')('routing');var rpc={'openchannelQueueReport':require(_0x9773('0x3')),'mailQueueReport':require(_0x9773('0x4')),'chatQueueReport':require('../rpc/chatQueueReport'),'smsQueueReport':require('../rpc/smsQueueReport'),'faxQueueReport':require(_0x9773('0x5')),'whatsappQueueReport':require(_0x9773('0x6'))};var RuleEngine=require(_0x9773('0x7'));function getId(_0x12ef9b,_0x309837,_0xa241e7){return util[_0x9773('0x8')](_0x9773('0x9'),_0x12ef9b,_0x309837||0x0,_0xa241e7||0x0);}function getIntervals(_0x141a98,_0x1fda98){var _0x3d9e49=[];if(!_['isNil'](_0x1fda98[_0x9773('0xa')])&&!_[_0x9773('0xb')](_0x141a98[_0x1fda98[_0x9773('0xa')]])&&!_[_0x9773('0xb')](_0x141a98[_0x1fda98[_0x9773('0xa')]][_0x9773('0xc')])){_0x3d9e49=_[_0x9773('0xd')](_0x141a98[_0x1fda98['IntervalId']][_0x9773('0xc')],_0x9773('0xe'));}else if(!_[_0x9773('0xb')](_0x1fda98[_0x9773('0xe')])){_0x3d9e49=[_0x1fda98[_0x9773('0xe')]];}return _0x3d9e49;}exports[_0x9773('0xf')]=function(_0x5c41de){_0x5c41de[_0x9773('0x10')]={};return new BPromise(function(_0x2fedfd,_0x515d40){var _0x13a812={'Start':function(_0x5f4c11){var _0xa7b59d=this;return new Promise(function(_0x1b6829,_0x4e1720){if(_0x5f4c11){try{var _0x300cb5=[];var _0x2b4ebf=getId(_0x5f4c11[_0x9773('0x11')],_0x5f4c11[_0x9773('0x12')]?_0x5f4c11[_0x9773('0x12')]['id']:0x0,_0x5f4c11[_0x9773('0x13')]?_0x5f4c11[_0x9773('0x13')]['id']:0x0);if(_0x5f4c11[_0x9773('0x14')]&&_['isArray'](_0x5f4c11[_0x9773('0x14')])&&_0x5f4c11[_0x9773('0x14')][_0x9773('0x15')]){for(var _0x648ef2=0x0;_0x648ef2<_0x5f4c11['applications']['length'];_0x648ef2+=0x1){var _0x49eeab=_0x5f4c11[_0x9773('0x14')][_0x648ef2];if(fs['existsSync'](path['join'](__dirname,'applications',_0x49eeab[_0x9773('0x16')]+_0x9773('0x17')))){var _0x27d704=[];switch(_0x49eeab['app']['toLowerCase']()){case _0x9773('0x18'):var _0x35d260=_0x49eeab[_0x9773('0x19')][_0x9773('0x1a')](',');_0x27d704[_0x9773('0x1b')](_0x35d260[0x0]);_0x27d704[_0x9773('0x1b')](_0x35d260[_0x9773('0x1c')](0x1,_0x35d260['length'])[_0x9773('0x1d')](','));break;case _0x9773('0x1e'):var _0x144462=_0x49eeab['appdata'][_0x9773('0x1a')](',');_0x27d704[_0x9773('0x1b')](_0x144462[0x0]);_0x27d704[_0x9773('0x1b')](_0x144462[0x1]);_0x27d704[_0x9773('0x1b')](_0x144462[_0x9773('0x1c')](0x2,_0x144462[_0x9773('0x15')])[_0x9773('0x1d')](','));break;case'amazonlex':var _0x36734c=_0x49eeab[_0x9773('0x19')][_0x9773('0x1a')](',');_0x27d704[_0x9773('0x1b')](_0x36734c[0x0]);_0x27d704['push'](_0x36734c[0x1]);_0x27d704[_0x9773('0x1b')](_0x36734c[0x2]);_0x27d704[_0x9773('0x1b')](_0x36734c[0x3]);_0x27d704[_0x9773('0x1b')](_0x36734c[_0x9773('0x1c')](0x4,_0x36734c[_0x9773('0x15')])[_0x9773('0x1d')](','));break;case _0x9773('0x12'):_0x27d704[_0x9773('0x1b')](_0x49eeab[_0x9773('0x19')]);break;case _0x9773('0x1f'):_0x27d704[_0x9773('0x1b')](_0x49eeab[_0x9773('0x20')]);_0x27d704['push'](_0x49eeab[_0x9773('0x19')]);break;default:_0x27d704=_['isNil'](_0x49eeab[_0x9773('0x19')])?[]:_0x49eeab[_0x9773('0x19')]['split'](',');}var _0x534d5c={'id':util[_0x9773('0x8')](_0x9773('0x21'),_0x2b4ebf,_0x49eeab['id'],_0x49eeab[_0x9773('0x16')]),'condition':require(_0x9773('0x22'))[_0x9773('0x23')](_0x2b4ebf,getIntervals(_0x5c41de[_0x9773('0x24')],_0x49eeab),_0x5c41de),'consequence':require(_0x9773('0x25')+_0x49eeab[_0x9773('0x16')])[_0x9773('0x26')](_0x2b4ebf,_0x27d704,_0x5c41de,_0x5f4c11),'p':_0x49eeab['priority']||0x0};logger[_0x9773('0x27')](_0x9773('0x28'),_0x534d5c['id'],_0x9773('0x29'),getIntervals(_0x5c41de[_0x9773('0x24')],_0x49eeab)['join'](_0x9773('0x2a')));_0x300cb5['push'](_0x534d5c);}else{logger['error']('Please\x20create\x20a\x20new\x20file\x20under',path[_0x9773('0x1d')](__dirname,'applications',_0x49eeab['app']+_0x9773('0x17')));}}_0x5c41de[_0x9773('0x10')][_0x2b4ebf]=new RuleEngine(_0x300cb5);_0x5c41de[_0x9773('0x10')][_0x2b4ebf][_0x9773('0x2b')](_0x5f4c11,function(_0x2bfbc7){logger[_0x9773('0x27')](_0x9773('0x2c'),JSON['stringify'](_0x2bfbc7[_0x9773('0x2d')]));if(_0x5c41de[_0x9773('0x10')][_0x2b4ebf]){_0x5c41de['rules'][_0x2b4ebf][_0x9773('0x2e')](_0x9773('0x2f'));}});return _0x1b6829({'code':0xc8,'message':_0x5f4c11});}else{logger[_0x9773('0x27')](_0x9773('0x30'));return _0x1b6829({'code':0xc8,'message':_0x5f4c11});}}catch(_0x1ee25c){logger[_0x9773('0x31')](_0x1ee25c['stack']);return _0x4e1720(_0xa7b59d[_0x9773('0x31')](0x1f4,_0x1ee25c));}}return _0x4e1720('routing\x20is\x20empty');});},'AcceptMessage':function(_0x50472e){var _0x4ce27c=this;return new Promise(function(_0x456090,_0x43c681){if(_0x50472e[_0x9773('0x12')]&&_0x50472e[_0x9773('0x12')]['id']){try{var _0x5dc5fe=getId(_0x50472e[_0x9773('0x11')],_0x50472e[_0x9773('0x12')]?_0x50472e[_0x9773('0x12')]['id']:0x0,_0x50472e[_0x9773('0x13')]?_0x50472e[_0x9773('0x13')]['id']:0x0);if(_0x5c41de[_0x9773('0x10')][_0x5dc5fe]){_0x5c41de[_0x9773('0x10')][_0x5dc5fe][_0x9773('0x2e')](_0x9773('0x32'));if(rpc[_0x50472e['channel']+'QueueReport']){rpc[_0x50472e['channel']+_0x9773('0x33')][_0x9773('0x34')](_0x5dc5fe,{'UserId':_0x50472e['message'][_0x9773('0x35')]})[_0x9773('0x36')](function(_0x3f74d4){logger[_0x9773('0x31')](_0x9773('0x37'));});}}return _0x456090({'code':0xc8,'message':_0x50472e});}catch(_0x3f224c){logger[_0x9773('0x31')](_0x3f224c[_0x9773('0x38')]);return _0x43c681(_0x4ce27c['error'](0x1f4,_0x3f224c));}}logger['error'](_0x9773('0x39'));return _0x43c681(_0x4ce27c[_0x9773('0x31')](0x1f4,_0x9773('0x39')));});},'RejectMessage':function(_0x4852bc){var _0x16723c=this;return new Promise(function(_0xbefaba,_0x14e99c){if(_0x4852bc[_0x9773('0x3a')]&&_0x4852bc[_0x9773('0x3a')]['id']){try{if(_0x5c41de[_0x9773('0x3b')][_0x4852bc[_0x9773('0x3a')]['id']]){_0x5c41de[_0x9773('0x3b')][_0x4852bc[_0x9773('0x3a')]['id']]['busy']=![];_0x5c41de[_0x9773('0x3b')][_0x4852bc['agent']['id']][_0x9773('0x3c')]=undefined;}return _0xbefaba({'code':0xc8,'message':_0x4852bc});}catch(_0xfffbb1){logger['error'](_0xfffbb1[_0x9773('0x38')]);return _0x14e99c(_0x16723c[_0x9773('0x31')](0x1f4,_0xfffbb1));}}logger[_0x9773('0x31')]('message\x20is\x20empty');return _0x14e99c(_0x16723c['error'](0x1f4,_0x9773('0x39')));});},'AbandonInteraction':function(_0x17c409){var _0x280ed3=this;return new Promise(function(_0x9ecbc4,_0x99e8ab){if(_0x17c409[_0x9773('0x11')]&&_0x17c409[_0x9773('0x13')]&&_0x17c409[_0x9773('0x13')]['id']){try{var _0x484e12=getId(_0x17c409[_0x9773('0x11')],_0x17c409[_0x9773('0x12')]?_0x17c409[_0x9773('0x12')]['id']:0x0,_0x17c409['interaction']?_0x17c409[_0x9773('0x13')]['id']:0x0);if(_0x5c41de[_0x9773('0x10')][_0x484e12]){_0x5c41de['rules'][_0x484e12][_0x9773('0x2e')](_0x9773('0x32'));}return _0x9ecbc4({'code':0xc8,'message':_0x17c409});}catch(_0x5afc87){logger['error'](_0x5afc87[_0x9773('0x38')]);return _0x99e8ab(_0x280ed3[_0x9773('0x31')](0x1f4,_0x5afc87));}}logger[_0x9773('0x31')](_0x9773('0x39'));return _0x99e8ab(_0x280ed3[_0x9773('0x31')](0x1f4,_0x9773('0x39')));});},'AgentCapacity':function(_0x304b62){var _0x5e61ad=this;return new Promise(function(_0x27b578,_0x1e90c8){if(_0x5c41de[_0x9773('0x3b')]['hasOwnProperty'](_0x304b62['id'])){for(var _0x13e476 in _0x304b62[_0x9773('0x3d')]){if(_0x304b62[_0x9773('0x3d')][_0x9773('0x3e')](_0x13e476)){if(_0x5c41de['agents'][_0x304b62['id']]['hasOwnProperty'](_0x13e476+_0x9773('0x3f'))){_0x5c41de['agents'][_0x304b62['id']][_0x13e476+_0x9773('0x3f')]=parseInt(_0x304b62['capacity'][_0x13e476],0xa);}}}_0x5c41de[_0x9773('0x3b')][_0x304b62['id']]['updateRealtime']();return _0x27b578({'code':0xc8,'message':_0x5c41de['agents'][_0x304b62['id']]});}else{return _0x1e90c8(_0x5e61ad[_0x9773('0x31')](0x1f4,'agent\x20not\x20found'));}});},'Agents':function(_0x6aebbe){return new Promise(function(_0x134911,_0x3e1ca8){var _0x3b2134=_[_0x9773('0x40')](_0x5c41de[_0x9773('0x3b')]);_0x134911({'count':_0x3b2134['length'],'rows':_0x3b2134});});},'ChatQueues':function(_0x52aaab){return new Promise(function(_0x1ba033,_0x53088b){var _0x4f29a4=[];for(var _0xd652a7 in _0x5c41de[_0x9773('0x41')]){if(_0x5c41de['chatQueues'][_0x9773('0x3e')](_0xd652a7)){var _0x122021=_0x5c41de['chatQueues'][_0xd652a7];var _0x6917bf={'id':_0x122021['id'],'available':_0x122021[_0x9773('0x42')],'loggedIn':_0x122021[_0x9773('0x43')],'name':_0x122021[_0x9773('0x44')],'paused':_0x122021[_0x9773('0x45')],'waiting':_0x122021['waiting']};_0x4f29a4[_0x9773('0x1b')](_0x6917bf);}}_0x1ba033({'count':_0x4f29a4[_0x9773('0x15')],'rows':_0x4f29a4});});},'MailQueues':function(_0x5f197b){return new Promise(function(_0x5e5002,_0x42e984){var _0x3a6a5a=[];for(var _0x400097 in _0x5c41de[_0x9773('0x46')]){if(_0x5c41de[_0x9773('0x46')][_0x9773('0x3e')](_0x400097)){var _0x14395d=_0x5c41de[_0x9773('0x46')][_0x400097];var _0xb4ea8f={'id':_0x14395d['id'],'available':_0x14395d[_0x9773('0x42')],'loggedIn':_0x14395d[_0x9773('0x43')],'name':_0x14395d['name'],'paused':_0x14395d['paused'],'waiting':_0x14395d[_0x9773('0x47')]};_0x3a6a5a['push'](_0xb4ea8f);}}_0x5e5002({'count':_0x3a6a5a[_0x9773('0x15')],'rows':_0x3a6a5a});});},'OpenchannelQueues':function(_0x5b172e){return new Promise(function(_0x3a991c,_0x37e3dc){var _0x164688=[];for(var _0xa72041 in _0x5c41de[_0x9773('0x48')]){if(_0x5c41de[_0x9773('0x48')]['hasOwnProperty'](_0xa72041)){var _0x1fccae=_0x5c41de[_0x9773('0x48')][_0xa72041];var _0x2ba7df={'id':_0x1fccae['id'],'available':_0x1fccae[_0x9773('0x42')],'loggedIn':_0x1fccae[_0x9773('0x43')],'name':_0x1fccae[_0x9773('0x44')],'paused':_0x1fccae[_0x9773('0x45')],'waiting':_0x1fccae[_0x9773('0x47')]};_0x164688['push'](_0x2ba7df);}}_0x3a991c({'count':_0x164688['length'],'rows':_0x164688});});},'SmsQueues':function(_0x3edf93){return new Promise(function(_0x1c738a,_0x533ed0){var _0xf9171c=[];for(var _0x8ff990 in _0x5c41de[_0x9773('0x49')]){if(_0x5c41de['smsQueues'][_0x9773('0x3e')](_0x8ff990)){var _0x546b6e=_0x5c41de['smsQueues'][_0x8ff990];var _0x16bb94={'id':_0x546b6e['id'],'available':_0x546b6e[_0x9773('0x42')],'loggedIn':_0x546b6e[_0x9773('0x43')],'name':_0x546b6e[_0x9773('0x44')],'paused':_0x546b6e['paused'],'waiting':_0x546b6e[_0x9773('0x47')]};_0xf9171c[_0x9773('0x1b')](_0x16bb94);}}_0x1c738a({'count':_0xf9171c[_0x9773('0x15')],'rows':_0xf9171c});});},'FaxQueues':function(_0x2d8689){return new Promise(function(_0xc41125,_0x557908){var _0x3aa832=[];for(var _0x5533c9 in _0x5c41de['faxQueues']){if(_0x5c41de[_0x9773('0x4a')]['hasOwnProperty'](_0x5533c9)){var _0x554221=_0x5c41de[_0x9773('0x4a')][_0x5533c9];var _0x2a1572={'id':_0x554221['id'],'available':_0x554221['available'],'loggedIn':_0x554221['loggedIn'],'name':_0x554221[_0x9773('0x44')],'paused':_0x554221['paused'],'waiting':_0x554221['waiting']};_0x3aa832[_0x9773('0x1b')](_0x2a1572);}}_0xc41125({'count':_0x3aa832['length'],'rows':_0x3aa832});});},'WhatsappQueues':function(_0x18070e){return new Promise(function(_0x5b8ffd,_0x49b829){var _0x3478e5=[];for(var _0x454540 in _0x5c41de['whatsappQueues']){if(_0x5c41de['whatsappQueues'][_0x9773('0x3e')](_0x454540)){var _0x3bbae8=_0x5c41de[_0x9773('0x4b')][_0x454540];var _0xd88f7a={'id':_0x3bbae8['id'],'available':_0x3bbae8['available'],'loggedIn':_0x3bbae8['loggedIn'],'name':_0x3bbae8[_0x9773('0x44')],'paused':_0x3bbae8[_0x9773('0x45')],'waiting':_0x3bbae8['waiting']};_0x3478e5['push'](_0xd88f7a);}}_0x5b8ffd({'count':_0x3478e5[_0x9773('0x15')],'rows':_0x3478e5});});},'ChatQueuesWaitingInteractions':function(_0x2823f7){return new Promise(function(_0x517589,_0x4b5c05){var _0x20efd4=_[_0x9773('0x40')](_0x5c41de['chatQueuesWaitingInteractions']);_0x517589({'count':_0x20efd4['length'],'rows':_0x20efd4});});},'MailQueuesWaitingInteractions':function(_0x530491){return new Promise(function(_0x591632,_0xc88228){var _0x2b0942=_[_0x9773('0x40')](_0x5c41de[_0x9773('0x4c')]);_0x591632({'count':_0x2b0942[_0x9773('0x15')],'rows':_0x2b0942});});},'OpenchannelQueuesWaitingInteractions':function(_0x42fa4c){return new Promise(function(_0x5aa5e5,_0x4627d1){var _0x3754ba=_['values'](_0x5c41de[_0x9773('0x4d')]);_0x5aa5e5({'count':_0x3754ba['length'],'rows':_0x3754ba});});},'SmsQueuesWaitingInteractions':function(_0x1a7272){return new Promise(function(_0x4a13e8,_0x4f2fa4){var _0x1cd909=_[_0x9773('0x40')](_0x5c41de[_0x9773('0x4e')]);_0x4a13e8({'count':_0x1cd909[_0x9773('0x15')],'rows':_0x1cd909});});},'FaxQueuesWaitingInteractions':function(_0x256d3a){return new Promise(function(_0x239345,_0x351b97){var _0x32301f=_[_0x9773('0x40')](_0x5c41de[_0x9773('0x4f')]);_0x239345({'count':_0x32301f[_0x9773('0x15')],'rows':_0x32301f});});},'WhatsappQueuesWaitingInteractions':function(_0x4accd7){return new Promise(function(_0x57f399,_0x34862e){var _0x5b9e0f=_[_0x9773('0x40')](_0x5c41de[_0x9773('0x50')]);_0x57f399({'count':_0x5b9e0f[_0x9773('0x15')],'rows':_0x5b9e0f});});}};var _0x5d2ff6=jayson['server'](_0x13a812)[_0x9773('0x51')]();_0x5d2ff6['on'](_0x9773('0x31'),function(_0x35fdbe){logger[_0x9773('0x31')](JSON['stringify'](_0x35fdbe));return _0x515d40(_0x35fdbe);});_0x5d2ff6['listen'](0x232c,_0x9773('0x52'),function(){console['log']('Routing\x20RPC\x20server\x20listening\x20on\x20127.0.0.1:%d!',0x232c);return _0x2fedfd('RPC\x20listening\x20on\x20port:'+0x232c);});});}; \ No newline at end of file diff --git a/server/services/routing/server/interval.js b/server/services/routing/server/interval.js index 38497e2..1691620 100644 --- a/server/services/routing/server/interval.js +++ b/server/services/routing/server/interval.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x0c45=['../../../config/logger','routing','client','http','request','error','message','result','catch','condition','rules','stop','length','push','Command','format','iftime\x20%s','true','all','some','info','[%s][INTERVAL]\x20%s\x20%s','join','\x20|\x20','when','stack','util','bluebird','jayson/promise','lodash'];(function(_0x4565bf,_0x5ad9d6){var _0x5610ba=function(_0x170988){while(--_0x170988){_0x4565bf['push'](_0x4565bf['shift']());}};_0x5610ba(++_0x5ad9d6);}(_0x0c45,0x10a));var _0x50c4=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x0c45[_0x3dd15e];return _0x231fd0;};'use strict';var util=require(_0x50c4('0x0'));var BPromise=require(_0x50c4('0x1'));var jayson=require(_0x50c4('0x2'));var _=require(_0x50c4('0x3'));var logger=require(_0x50c4('0x4'))(_0x50c4('0x5'));var client=jayson[_0x50c4('0x6')][_0x50c4('0x7')]({'port':0x232a});function request(_0x106e31,_0xe5ed7a){return new BPromise(function(_0xe950b3,_0x3551ce){return client[_0x50c4('0x8')](_0x106e31,_0xe5ed7a)['then'](function(_0x310802){if(_0x310802['error']){return _0x3551ce(_0x310802[_0x50c4('0x9')][_0x50c4('0xa')]);}else{return _0xe950b3(_0x310802[_0x50c4('0xb')]);}})[_0x50c4('0xc')](function(_0x478751){return _0x3551ce(_0x478751);});});}exports[_0x50c4('0xd')]=function(_0x4675e5,_0x39bc59,_0x4ab7cf){return function(_0x4e8901){if(_0x4ab7cf[_0x50c4('0xe')]&&!_0x4ab7cf['rules'][_0x4675e5]){logger['info']('[%s][INTERVAL]\x20ROUTING\x20STOPPED',_0x4675e5);return _0x4e8901[_0x50c4('0xf')]();}var _0x4db1da=[];for(var _0x34b62f=0x0;_0x34b62f<_0x39bc59[_0x50c4('0x10')];_0x34b62f+=0x1){_0x4db1da[_0x50c4('0x11')](request(_0x50c4('0x12'),{'command':util[_0x50c4('0x13')](_0x50c4('0x14'),_0x39bc59[_0x34b62f])})['then'](function(_0x5c0a30){return _0x5c0a30&&_0x5c0a30[_0x50c4('0xa')]&&_0x5c0a30[_0x50c4('0xa')]['indexOf'](_0x50c4('0x15'))>=0x0?!![]:![];})[_0x50c4('0xc')](function(_0x523681){logger[_0x50c4('0x9')]('[%s][INTERVAL]\x20%s',_0x4675e5,_0x39bc59[_0x34b62f]);}));}BPromise[_0x50c4('0x16')](_0x4db1da)['then'](function(_0x27e613){var _0x1db34f=_[_0x50c4('0x17')](_0x27e613);logger[_0x50c4('0x18')](_0x50c4('0x19'),_0x4675e5,_0x39bc59[_0x50c4('0x1a')](_0x50c4('0x1b')),_0x1db34f);_0x4e8901[_0x50c4('0x1c')](_0x1db34f);})[_0x50c4('0xc')](function(_0x3dee0f){console['log'](_0x3dee0f);logger[_0x50c4('0x9')]('[%s][INTERVAL]\x20%s\x20%s',_0x4675e5,_0x39bc59[_0x50c4('0x1a')](_0x50c4('0x1b')),_0x3dee0f[_0x50c4('0x1d')]);_0x4e8901[_0x50c4('0xf')]();});};}; \ No newline at end of file +var _0x8391=['util','jayson/promise','lodash','../../../config/logger','routing','client','http','request','then','error','condition','info','[%s][INTERVAL]\x20ROUTING\x20STOPPED','push','iftime\x20%s','message','indexOf','true','[%s][INTERVAL]\x20%s','all','some','[%s][INTERVAL]\x20%s\x20%s','join','\x20|\x20','catch','log','stack','stop'];(function(_0x56de5b,_0xd0b63d){var _0x1c5adc=function(_0x5c2803){while(--_0x5c2803){_0x56de5b['push'](_0x56de5b['shift']());}};_0x1c5adc(++_0xd0b63d);}(_0x8391,0x8c));var _0x1839=function(_0x1d03c6,_0x495ffe){_0x1d03c6=_0x1d03c6-0x0;var _0x3a6492=_0x8391[_0x1d03c6];return _0x3a6492;};'use strict';var util=require(_0x1839('0x0'));var BPromise=require('bluebird');var jayson=require(_0x1839('0x1'));var _=require(_0x1839('0x2'));var logger=require(_0x1839('0x3'))(_0x1839('0x4'));var client=jayson[_0x1839('0x5')][_0x1839('0x6')]({'port':0x232a});function request(_0x1202b9,_0x56bdec){return new BPromise(function(_0x28b471,_0xce198b){return client[_0x1839('0x7')](_0x1202b9,_0x56bdec)[_0x1839('0x8')](function(_0x1e0101){if(_0x1e0101[_0x1839('0x9')]){return _0xce198b(_0x1e0101[_0x1839('0x9')]['message']);}else{return _0x28b471(_0x1e0101['result']);}})['catch'](function(_0x144146){return _0xce198b(_0x144146);});});}exports[_0x1839('0xa')]=function(_0x22abab,_0x5c5ee5,_0x2746ce){return function(_0x124ae5){if(_0x2746ce['rules']&&!_0x2746ce['rules'][_0x22abab]){logger[_0x1839('0xb')](_0x1839('0xc'),_0x22abab);return _0x124ae5['stop']();}var _0x1e1bcb=[];for(var _0x180e67=0x0;_0x180e67<_0x5c5ee5['length'];_0x180e67+=0x1){_0x1e1bcb[_0x1839('0xd')](request('Command',{'command':util['format'](_0x1839('0xe'),_0x5c5ee5[_0x180e67])})['then'](function(_0xed40bf){return _0xed40bf&&_0xed40bf[_0x1839('0xf')]&&_0xed40bf[_0x1839('0xf')][_0x1839('0x10')](_0x1839('0x11'))>=0x0?!![]:![];})['catch'](function(_0xc748ef){logger[_0x1839('0x9')](_0x1839('0x12'),_0x22abab,_0x5c5ee5[_0x180e67]);}));}BPromise[_0x1839('0x13')](_0x1e1bcb)[_0x1839('0x8')](function(_0x26d1eb){var _0x5f17fa=_[_0x1839('0x14')](_0x26d1eb);logger[_0x1839('0xb')](_0x1839('0x15'),_0x22abab,_0x5c5ee5[_0x1839('0x16')](_0x1839('0x17')),_0x5f17fa);_0x124ae5['when'](_0x5f17fa);})[_0x1839('0x18')](function(_0x152ffa){console[_0x1839('0x19')](_0x152ffa);logger['error'](_0x1839('0x15'),_0x22abab,_0x5c5ee5[_0x1839('0x16')](_0x1839('0x17')),_0x152ffa[_0x1839('0x1a')]);_0x124ae5[_0x1839('0x1b')]();});};}; \ No newline at end of file diff --git a/server/services/xdr/agents.controller.js b/server/services/xdr/agents.controller.js index 57fa13c..e46d0af 100644 --- a/server/services/xdr/agents.controller.js +++ b/server/services/xdr/agents.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x9122=['getVoiceQueueByName','then','agentacw','agentcomplete','acw','acwtime','acwTimeout','request','CreateVoiceAgentReport','uniqueid','destuniqueid','agentcalledAt','now','called','connectedlinename','error','stack','isNil','agentringnoanswer','agentringnoanswerAt','timeout','reason','holdtime','ringtime','talktime','queuecallerabandon','forIn','includes','abandoned','agentconnectAt','connect','answered_elsewhere','answeredelsewheredestinationuniqueid','agentcompleteAt','complete','transfereruniqueid','transfer','transfertype','blind','transferexten','extension','transferuniqueid','attendedtransfer','origtransfereruniqueid','origtransfererlinkedid','secondtransfereruniqueid','ATTENDED','transfereeuniqueid','calleridname','agententerreason','secondtransfererexten','transfertargetuniqueid','clone','hangup','cause','rejected','indexOf','splice','diffTime','agent','lodash','util','info','format','AGENT|%s|%s|%s|%s|%s|%s|%s|%s','queue','membername','interface','calleridnum','connectedlinenum','lastevent'];(function(_0x10004e,_0xd701e6){var _0x5af990=function(_0x4bab6a){while(--_0x4bab6a){_0x10004e['push'](_0x10004e['shift']());}};_0x5af990(++_0xd701e6);}(_0x9122,0xca));var _0x2912=function(_0x109b7f,_0x5e88b1){_0x109b7f=_0x109b7f-0x0;var _0x201d3e=_0x9122[_0x109b7f];return _0x201d3e;};'use strict';var _=require(_0x2912('0x0'));var util=require(_0x2912('0x1'));var utils=require('./utils');var agents={};var transfers={};var unanswered=[];function writeDB(_0xc400ac,_0x564da1){utils[_0x2912('0x2')](util[_0x2912('0x3')](_0x2912('0x4'),_0xc400ac['uniqueid'],_0xc400ac['channel'],_0xc400ac[_0x2912('0x5')],_0xc400ac[_0x2912('0x6')],_0xc400ac[_0x2912('0x7')],_0xc400ac[_0x2912('0x8')],_0xc400ac[_0x2912('0x9')],_0xc400ac[_0x2912('0xa')]));if(_0xc400ac[_0x2912('0x5')]){utils[_0x2912('0xb')](_0xc400ac[_0x2912('0x5')])[_0x2912('0xc')](function(_0x35c3ac){if(_0x35c3ac){_0xc400ac['type']=_0x35c3ac['type'];_0xc400ac[_0x2912('0xd')]=_0xc400ac[_0x2912('0xe')]?_0x35c3ac[_0x2912('0xf')]:![];_0xc400ac[_0x2912('0x10')]=_0xc400ac['agentacw']?_0x35c3ac[_0x2912('0x11')]:0x0;}utils[_0x2912('0x12')](_0x2912('0x13'),_0xc400ac);});}else{utils[_0x2912('0x12')](_0x2912('0x13'),_0xc400ac);}if(_0x564da1){delete transfers[_0xc400ac[_0x2912('0x14')]];}else{delete agents[_0xc400ac[_0x2912('0x15')]];}}exports['agentcalled']=function(_0x32f402){try{agents[_0x32f402[_0x2912('0x15')]]=_0x32f402;agents[_0x32f402[_0x2912('0x15')]][_0x2912('0x16')]=utils[_0x2912('0x17')]();agents[_0x32f402[_0x2912('0x15')]][_0x2912('0xa')]=_0x2912('0x18');agents[_0x32f402[_0x2912('0x15')]][_0x2912('0x9')]=null;agents[_0x32f402[_0x2912('0x15')]][_0x2912('0x19')]=null;}catch(_0x379f4d){utils[_0x2912('0x1a')](_0x379f4d[_0x2912('0x1b')]);}};exports['agentringnoanswer']=function(_0x58853c){try{if(!_[_0x2912('0x1c')](agents[_0x58853c[_0x2912('0x15')]])){agents[_0x58853c[_0x2912('0x15')]][_0x2912('0x1d')]=!![];agents[_0x58853c[_0x2912('0x15')]][_0x2912('0x1e')]=utils['now']();agents[_0x58853c[_0x2912('0x15')]]['lastevent']=_0x2912('0x1f');agents[_0x58853c[_0x2912('0x15')]][_0x2912('0x20')]='timeout';agents[_0x58853c[_0x2912('0x15')]][_0x2912('0x21')]=_0x58853c[_0x2912('0x22')]?parseInt(_0x58853c[_0x2912('0x22')])/0x3e8:0x0;agents[_0x58853c[_0x2912('0x15')]][_0x2912('0x23')]=0x0;unanswered['push'](_0x58853c[_0x2912('0x15')]);}}catch(_0x43ab92){utils[_0x2912('0x1a')](_0x43ab92[_0x2912('0x1b')]);}};exports[_0x2912('0x24')]=function(_0x203266){try{_[_0x2912('0x25')](agents,function(_0x38d6e4,_0x300f98){if(_0x38d6e4['uniqueid']==_0x203266[_0x2912('0x14')]&&!_[_0x2912('0x26')](unanswered,_0x38d6e4['destuniqueid'])){_0x38d6e4[_0x2912('0x1d')]=!![];_0x38d6e4[_0x2912('0x1e')]=utils[_0x2912('0x17')]();_0x38d6e4['lastevent']=_0x2912('0x27');_0x38d6e4[_0x2912('0x20')]='abandoned';_0x38d6e4[_0x2912('0x21')]=_0x203266[_0x2912('0x21')];_0x38d6e4[_0x2912('0x23')]=0x0;writeDB(_0x38d6e4);}});}catch(_0x4ffbc3){utils[_0x2912('0x1a')](_0x4ffbc3[_0x2912('0x1b')]);}};exports['agentconnect']=function(_0x89c404){try{if(agents[_0x89c404[_0x2912('0x15')]]){agents[_0x89c404[_0x2912('0x15')]][_0x2912('0x28')]=utils[_0x2912('0x17')]();agents[_0x89c404[_0x2912('0x15')]][_0x2912('0x9')]=_0x89c404['connectedlinenum'];agents[_0x89c404[_0x2912('0x15')]]['connectedlinename']=_0x89c404['connectedlinename'];agents[_0x89c404[_0x2912('0x15')]][_0x2912('0x21')]=_0x89c404[_0x2912('0x22')];agents[_0x89c404[_0x2912('0x15')]][_0x2912('0xa')]=_0x2912('0x29');_['forIn'](agents,function(_0x44e0b0,_0x434307){if(_0x44e0b0[_0x2912('0x15')]!=_0x89c404[_0x2912('0x15')]&&_0x44e0b0['uniqueid']==_0x89c404[_0x2912('0x14')]){_0x44e0b0[_0x2912('0x23')]=0x0;_0x44e0b0[_0x2912('0x21')]=_0x89c404['ringtime'];_0x44e0b0[_0x2912('0x1d')]=!![];_0x44e0b0[_0x2912('0x1e')]=utils[_0x2912('0x17')]();_0x44e0b0[_0x2912('0xa')]=_0x2912('0x2a');_0x44e0b0[_0x2912('0x20')]=_0x2912('0x2a');_0x44e0b0[_0x2912('0x2b')]=_0x89c404[_0x2912('0x15')];_0x44e0b0['answeredelsewheremembername']=_0x89c404[_0x2912('0x6')];writeDB(_0x44e0b0);}});}}catch(_0x8458e7){utils['error'](_0x8458e7[_0x2912('0x1b')]);}};exports[_0x2912('0xe')]=function(_0x54376c){try{if(!_[_0x2912('0x1c')](agents[_0x54376c[_0x2912('0x15')]])){agents[_0x54376c[_0x2912('0x15')]]['agentcomplete']=!![];agents[_0x54376c[_0x2912('0x15')]][_0x2912('0x2c')]=utils[_0x2912('0x17')]();agents[_0x54376c[_0x2912('0x15')]][_0x2912('0x23')]=utils['diffTime'](agents[_0x54376c[_0x2912('0x15')]][_0x2912('0x2c')],agents[_0x54376c[_0x2912('0x15')]][_0x2912('0x28')]);agents[_0x54376c['destuniqueid']][_0x2912('0x20')]=_0x54376c['reason'];agents[_0x54376c[_0x2912('0x15')]][_0x2912('0xa')]=_0x2912('0x2d');writeDB(agents[_0x54376c['destuniqueid']]);}}catch(_0x1ad1cc){utils[_0x2912('0x1a')](_0x1ad1cc[_0x2912('0x1b')]);}};exports['blindtransfer']=function(_0x52f92c){try{if(!_['isNil'](agents[_0x52f92c['transfereruniqueid']])){agents[_0x52f92c[_0x2912('0x2e')]][_0x2912('0x2f')]=!![];agents[_0x52f92c[_0x2912('0x2e')]][_0x2912('0x30')]=_0x2912('0x31');agents[_0x52f92c[_0x2912('0x2e')]][_0x2912('0x32')]=_0x52f92c[_0x2912('0x33')];agents[_0x52f92c['transfereruniqueid']][_0x2912('0x34')]=agents[_0x52f92c['transfereruniqueid']][_0x2912('0x14')];}}catch(_0x4d4aa3){utils['error'](_0x4d4aa3[_0x2912('0x1b')]);}};exports[_0x2912('0x35')]=function(_0x4d3861){try{if(_0x4d3861[_0x2912('0x36')]==_0x4d3861[_0x2912('0x37')]){if(!_[_0x2912('0x1c')](agents[_0x4d3861[_0x2912('0x38')]])){agents[_0x4d3861['secondtransfereruniqueid']]['transfer']=!![];agents[_0x4d3861[_0x2912('0x38')]][_0x2912('0x30')]=_0x2912('0x39');agents[_0x4d3861['secondtransfereruniqueid']]['transferexten']=_0x4d3861['origtransfererexten'];agents[_0x4d3861[_0x2912('0x38')]]['transferuniqueid']=_0x4d3861[_0x2912('0x36')];}if(_0x4d3861[_0x2912('0x3a')]&&agents[_0x4d3861[_0x2912('0x3a')]]){agents[_0x4d3861[_0x2912('0x3a')]]['agententerreason']=0x1;transfers[_0x4d3861[_0x2912('0x3a')]]=_['clone'](agents[_0x4d3861[_0x2912('0x3a')]]);transfers[_0x4d3861[_0x2912('0x3a')]][_0x2912('0x8')]=agents[_0x4d3861[_0x2912('0x38')]][_0x2912('0x8')];transfers[_0x4d3861['transfereeuniqueid']][_0x2912('0x3b')]=agents[_0x4d3861[_0x2912('0x38')]][_0x2912('0x3b')];transfers[_0x4d3861[_0x2912('0x3a')]]['agentcalledAt']=utils[_0x2912('0x17')]();transfers[_0x4d3861[_0x2912('0x3a')]][_0x2912('0x28')]=utils[_0x2912('0x17')]();transfers[_0x4d3861[_0x2912('0x3a')]][_0x2912('0x21')]=0x0;transfers[_0x4d3861[_0x2912('0x3a')]][_0x2912('0x3c')]=0x2;}}else if(_0x4d3861['secondtransfereruniqueid']==_0x4d3861['secondtransfererlinkedid']){if(!_['isNil'](agents[_0x4d3861[_0x2912('0x36')]])){agents[_0x4d3861[_0x2912('0x36')]][_0x2912('0x2f')]=!![];agents[_0x4d3861[_0x2912('0x36')]]['transfertype']='ATTENDED';agents[_0x4d3861[_0x2912('0x36')]]['transferexten']=_0x4d3861[_0x2912('0x3d')];agents[_0x4d3861[_0x2912('0x36')]][_0x2912('0x34')]=_0x4d3861[_0x2912('0x38')];}if(_0x4d3861[_0x2912('0x3e')]&&agents[_0x4d3861[_0x2912('0x3e')]]){agents[_0x4d3861[_0x2912('0x3e')]][_0x2912('0x3c')]=0x1;transfers[_0x4d3861['transfertargetuniqueid']]=_[_0x2912('0x3f')](agents[_0x4d3861[_0x2912('0x3e')]]);transfers[_0x4d3861[_0x2912('0x3e')]][_0x2912('0x8')]=agents[_0x4d3861[_0x2912('0x36')]][_0x2912('0x8')];transfers[_0x4d3861['transfertargetuniqueid']][_0x2912('0x3b')]=agents[_0x4d3861[_0x2912('0x36')]][_0x2912('0x3b')];transfers[_0x4d3861[_0x2912('0x3e')]][_0x2912('0x16')]=utils[_0x2912('0x17')]();transfers[_0x4d3861['transfertargetuniqueid']][_0x2912('0x28')]=utils[_0x2912('0x17')]();transfers[_0x4d3861[_0x2912('0x3e')]][_0x2912('0x21')]=0x0;transfers[_0x4d3861[_0x2912('0x3e')]][_0x2912('0x3c')]=0x2;}}}catch(_0x2cd518){utils[_0x2912('0x1a')](_0x2cd518['stack']);}};exports[_0x2912('0x40')]=function(_0x5c9fdf){try{if(agents[_0x5c9fdf[_0x2912('0x14')]]&&agents[_0x5c9fdf['uniqueid']][_0x2912('0x20')]===_0x2912('0x1f')){if(_0x5c9fdf[_0x2912('0x41')]==='21'){agents[_0x5c9fdf[_0x2912('0x14')]][_0x2912('0x20')]=_0x2912('0x42');agents[_0x5c9fdf[_0x2912('0x14')]][_0x2912('0xa')]=_0x2912('0x42');}writeDB(agents[_0x5c9fdf[_0x2912('0x14')]]);var _0x125dc5=unanswered[_0x2912('0x43')](_0x5c9fdf[_0x2912('0x14')]);if(_0x125dc5>-0x1)unanswered[_0x2912('0x44')](_0x125dc5,0x1);}if(transfers[_0x5c9fdf[_0x2912('0x14')]]){transfers[_0x5c9fdf[_0x2912('0x14')]][_0x2912('0xe')]=!![];transfers[_0x5c9fdf[_0x2912('0x14')]][_0x2912('0x2c')]=utils[_0x2912('0x17')]();transfers[_0x5c9fdf['uniqueid']][_0x2912('0x23')]=utils[_0x2912('0x45')](transfers[_0x5c9fdf['uniqueid']]['agentcompleteAt'],transfers[_0x5c9fdf[_0x2912('0x14')]][_0x2912('0x28')]);transfers[_0x5c9fdf[_0x2912('0x14')]]['reason']=_0x2912('0x46');transfers[_0x5c9fdf['uniqueid']][_0x2912('0xa')]='complete';writeDB(transfers[_0x5c9fdf[_0x2912('0x14')]],!![]);}if(agents[_0x5c9fdf[_0x2912('0x14')]]&&agents[_0x5c9fdf[_0x2912('0x14')]][_0x2912('0x28')]){agents[_0x5c9fdf['uniqueid']][_0x2912('0xe')]=!![];agents[_0x5c9fdf[_0x2912('0x14')]][_0x2912('0x2c')]=utils[_0x2912('0x17')]();agents[_0x5c9fdf['uniqueid']]['talktime']=utils[_0x2912('0x45')](agents[_0x5c9fdf['uniqueid']]['agentcompleteAt'],agents[_0x5c9fdf[_0x2912('0x14')]][_0x2912('0x28')]);agents[_0x5c9fdf[_0x2912('0x14')]][_0x2912('0x20')]=agents[_0x5c9fdf[_0x2912('0x14')]][_0x2912('0x2f')]?_0x2912('0x2f'):_0x2912('0x46');agents[_0x5c9fdf[_0x2912('0x14')]]['lastevent']=_0x2912('0x2d');writeDB(agents[_0x5c9fdf[_0x2912('0x14')]]);}}catch(_0x4e3844){utils[_0x2912('0x1a')](_0x4e3844['stack']);}}; \ No newline at end of file +var _0xf384=['connectedlinename','error','agentringnoanswer','isNil','agentringnoanswerAt','reason','timeout','ringtime','talktime','push','stack','queuecallerabandon','forIn','abandoned','agentconnect','agentconnectAt','holdtime','connect','answered_elsewhere','answeredelsewheremembername','agentcompleteAt','diffTime','transfereruniqueid','transfer','blind','transferexten','extension','transferuniqueid','origtransfereruniqueid','origtransfererlinkedid','secondtransfereruniqueid','transfertype','origtransfererexten','transfereeuniqueid','agententerreason','clone','calleridnum','calleridname','secondtransfererlinkedid','ATTENDED','secondtransfererexten','transfertargetuniqueid','hangup','cause','rejected','indexOf','splice','complete','agent','lodash','util','./utils','info','AGENT|%s|%s|%s|%s|%s|%s|%s|%s','uniqueid','membername','interface','connectedlinenum','lastevent','queue','getVoiceQueueByName','then','type','agentcomplete','acw','acwtime','agentacw','acwTimeout','request','CreateVoiceAgentReport','destuniqueid','agentcalledAt','now','called'];(function(_0x34513e,_0x482878){var _0x30e3a6=function(_0x749481){while(--_0x749481){_0x34513e['push'](_0x34513e['shift']());}};_0x30e3a6(++_0x482878);}(_0xf384,0x7b));var _0x4f38=function(_0x577872,_0x39b2fb){_0x577872=_0x577872-0x0;var _0x2a57b1=_0xf384[_0x577872];return _0x2a57b1;};'use strict';var _=require(_0x4f38('0x0'));var util=require(_0x4f38('0x1'));var utils=require(_0x4f38('0x2'));var agents={};var transfers={};var unanswered=[];function writeDB(_0x3b2fe7,_0x5d4cf0){utils[_0x4f38('0x3')](util['format'](_0x4f38('0x4'),_0x3b2fe7[_0x4f38('0x5')],_0x3b2fe7['channel'],_0x3b2fe7['queue'],_0x3b2fe7[_0x4f38('0x6')],_0x3b2fe7[_0x4f38('0x7')],_0x3b2fe7['calleridnum'],_0x3b2fe7[_0x4f38('0x8')],_0x3b2fe7[_0x4f38('0x9')]));if(_0x3b2fe7[_0x4f38('0xa')]){utils[_0x4f38('0xb')](_0x3b2fe7['queue'])[_0x4f38('0xc')](function(_0x72ba57){if(_0x72ba57){_0x3b2fe7[_0x4f38('0xd')]=_0x72ba57[_0x4f38('0xd')];_0x3b2fe7['agentacw']=_0x3b2fe7[_0x4f38('0xe')]?_0x72ba57[_0x4f38('0xf')]:![];_0x3b2fe7[_0x4f38('0x10')]=_0x3b2fe7[_0x4f38('0x11')]?_0x72ba57[_0x4f38('0x12')]:0x0;}utils[_0x4f38('0x13')](_0x4f38('0x14'),_0x3b2fe7);});}else{utils[_0x4f38('0x13')](_0x4f38('0x14'),_0x3b2fe7);}if(_0x5d4cf0){delete transfers[_0x3b2fe7['uniqueid']];}else{delete agents[_0x3b2fe7[_0x4f38('0x15')]];}}exports['agentcalled']=function(_0x5cddfa){try{agents[_0x5cddfa[_0x4f38('0x15')]]=_0x5cddfa;agents[_0x5cddfa['destuniqueid']][_0x4f38('0x16')]=utils[_0x4f38('0x17')]();agents[_0x5cddfa['destuniqueid']][_0x4f38('0x9')]=_0x4f38('0x18');agents[_0x5cddfa[_0x4f38('0x15')]][_0x4f38('0x8')]=null;agents[_0x5cddfa[_0x4f38('0x15')]][_0x4f38('0x19')]=null;}catch(_0x594cfd){utils[_0x4f38('0x1a')](_0x594cfd['stack']);}};exports[_0x4f38('0x1b')]=function(_0x10036c){try{if(!_[_0x4f38('0x1c')](agents[_0x10036c['destuniqueid']])){agents[_0x10036c[_0x4f38('0x15')]][_0x4f38('0x1b')]=!![];agents[_0x10036c[_0x4f38('0x15')]][_0x4f38('0x1d')]=utils[_0x4f38('0x17')]();agents[_0x10036c[_0x4f38('0x15')]]['lastevent']='timeout';agents[_0x10036c[_0x4f38('0x15')]][_0x4f38('0x1e')]=_0x4f38('0x1f');agents[_0x10036c[_0x4f38('0x15')]]['holdtime']=_0x10036c[_0x4f38('0x20')]?parseInt(_0x10036c['ringtime'])/0x3e8:0x0;agents[_0x10036c[_0x4f38('0x15')]][_0x4f38('0x21')]=0x0;unanswered[_0x4f38('0x22')](_0x10036c[_0x4f38('0x15')]);}}catch(_0x5356ad){utils['error'](_0x5356ad[_0x4f38('0x23')]);}};exports[_0x4f38('0x24')]=function(_0xcd729e){try{_[_0x4f38('0x25')](agents,function(_0x4a9185,_0x4babef){if(_0x4a9185[_0x4f38('0x5')]==_0xcd729e[_0x4f38('0x5')]&&!_['includes'](unanswered,_0x4a9185[_0x4f38('0x15')])){_0x4a9185[_0x4f38('0x1b')]=!![];_0x4a9185[_0x4f38('0x1d')]=utils[_0x4f38('0x17')]();_0x4a9185[_0x4f38('0x9')]='abandoned';_0x4a9185['reason']=_0x4f38('0x26');_0x4a9185['holdtime']=_0xcd729e['holdtime'];_0x4a9185['talktime']=0x0;writeDB(_0x4a9185);}});}catch(_0xf63e81){utils[_0x4f38('0x1a')](_0xf63e81[_0x4f38('0x23')]);}};exports[_0x4f38('0x27')]=function(_0x2efae9){try{if(agents[_0x2efae9[_0x4f38('0x15')]]){agents[_0x2efae9[_0x4f38('0x15')]][_0x4f38('0x28')]=utils['now']();agents[_0x2efae9[_0x4f38('0x15')]][_0x4f38('0x8')]=_0x2efae9['connectedlinenum'];agents[_0x2efae9[_0x4f38('0x15')]][_0x4f38('0x19')]=_0x2efae9['connectedlinename'];agents[_0x2efae9['destuniqueid']][_0x4f38('0x29')]=_0x2efae9[_0x4f38('0x20')];agents[_0x2efae9[_0x4f38('0x15')]][_0x4f38('0x9')]=_0x4f38('0x2a');_[_0x4f38('0x25')](agents,function(_0x27d08b,_0x45c13a){if(_0x27d08b[_0x4f38('0x15')]!=_0x2efae9[_0x4f38('0x15')]&&_0x27d08b[_0x4f38('0x5')]==_0x2efae9[_0x4f38('0x5')]){_0x27d08b[_0x4f38('0x21')]=0x0;_0x27d08b[_0x4f38('0x29')]=_0x2efae9['ringtime'];_0x27d08b[_0x4f38('0x1b')]=!![];_0x27d08b['agentringnoanswerAt']=utils[_0x4f38('0x17')]();_0x27d08b[_0x4f38('0x9')]='answered_elsewhere';_0x27d08b[_0x4f38('0x1e')]=_0x4f38('0x2b');_0x27d08b['answeredelsewheredestinationuniqueid']=_0x2efae9[_0x4f38('0x15')];_0x27d08b[_0x4f38('0x2c')]=_0x2efae9[_0x4f38('0x6')];writeDB(_0x27d08b);}});}}catch(_0x392c89){utils[_0x4f38('0x1a')](_0x392c89['stack']);}};exports['agentcomplete']=function(_0x2444fc){try{if(!_[_0x4f38('0x1c')](agents[_0x2444fc[_0x4f38('0x15')]])){agents[_0x2444fc[_0x4f38('0x15')]][_0x4f38('0xe')]=!![];agents[_0x2444fc[_0x4f38('0x15')]][_0x4f38('0x2d')]=utils[_0x4f38('0x17')]();agents[_0x2444fc[_0x4f38('0x15')]][_0x4f38('0x21')]=utils[_0x4f38('0x2e')](agents[_0x2444fc[_0x4f38('0x15')]][_0x4f38('0x2d')],agents[_0x2444fc['destuniqueid']]['agentconnectAt']);agents[_0x2444fc['destuniqueid']][_0x4f38('0x1e')]=_0x2444fc['reason'];agents[_0x2444fc[_0x4f38('0x15')]]['lastevent']='complete';writeDB(agents[_0x2444fc[_0x4f38('0x15')]]);}}catch(_0x37dd83){utils[_0x4f38('0x1a')](_0x37dd83[_0x4f38('0x23')]);}};exports['blindtransfer']=function(_0x3762da){try{if(!_[_0x4f38('0x1c')](agents[_0x3762da[_0x4f38('0x2f')]])){agents[_0x3762da[_0x4f38('0x2f')]][_0x4f38('0x30')]=!![];agents[_0x3762da['transfereruniqueid']]['transfertype']=_0x4f38('0x31');agents[_0x3762da['transfereruniqueid']][_0x4f38('0x32')]=_0x3762da[_0x4f38('0x33')];agents[_0x3762da[_0x4f38('0x2f')]][_0x4f38('0x34')]=agents[_0x3762da[_0x4f38('0x2f')]][_0x4f38('0x5')];}}catch(_0x44768a){utils[_0x4f38('0x1a')](_0x44768a[_0x4f38('0x23')]);}};exports['attendedtransfer']=function(_0x588699){try{if(_0x588699[_0x4f38('0x35')]==_0x588699[_0x4f38('0x36')]){if(!_[_0x4f38('0x1c')](agents[_0x588699[_0x4f38('0x37')]])){agents[_0x588699[_0x4f38('0x37')]][_0x4f38('0x30')]=!![];agents[_0x588699[_0x4f38('0x37')]][_0x4f38('0x38')]='ATTENDED';agents[_0x588699['secondtransfereruniqueid']][_0x4f38('0x32')]=_0x588699[_0x4f38('0x39')];agents[_0x588699[_0x4f38('0x37')]][_0x4f38('0x34')]=_0x588699[_0x4f38('0x35')];}if(_0x588699[_0x4f38('0x3a')]&&agents[_0x588699[_0x4f38('0x3a')]]){agents[_0x588699[_0x4f38('0x3a')]][_0x4f38('0x3b')]=0x1;transfers[_0x588699['transfereeuniqueid']]=_[_0x4f38('0x3c')](agents[_0x588699[_0x4f38('0x3a')]]);transfers[_0x588699['transfereeuniqueid']]['calleridnum']=agents[_0x588699[_0x4f38('0x37')]][_0x4f38('0x3d')];transfers[_0x588699['transfereeuniqueid']][_0x4f38('0x3e')]=agents[_0x588699[_0x4f38('0x37')]][_0x4f38('0x3e')];transfers[_0x588699['transfereeuniqueid']][_0x4f38('0x16')]=utils['now']();transfers[_0x588699[_0x4f38('0x3a')]][_0x4f38('0x28')]=utils[_0x4f38('0x17')]();transfers[_0x588699[_0x4f38('0x3a')]][_0x4f38('0x29')]=0x0;transfers[_0x588699[_0x4f38('0x3a')]][_0x4f38('0x3b')]=0x2;}}else if(_0x588699[_0x4f38('0x37')]==_0x588699[_0x4f38('0x3f')]){if(!_[_0x4f38('0x1c')](agents[_0x588699[_0x4f38('0x35')]])){agents[_0x588699[_0x4f38('0x35')]]['transfer']=!![];agents[_0x588699[_0x4f38('0x35')]][_0x4f38('0x38')]=_0x4f38('0x40');agents[_0x588699[_0x4f38('0x35')]][_0x4f38('0x32')]=_0x588699[_0x4f38('0x41')];agents[_0x588699[_0x4f38('0x35')]]['transferuniqueid']=_0x588699[_0x4f38('0x37')];}if(_0x588699[_0x4f38('0x42')]&&agents[_0x588699[_0x4f38('0x42')]]){agents[_0x588699['transfertargetuniqueid']]['agententerreason']=0x1;transfers[_0x588699[_0x4f38('0x42')]]=_[_0x4f38('0x3c')](agents[_0x588699[_0x4f38('0x42')]]);transfers[_0x588699['transfertargetuniqueid']]['calleridnum']=agents[_0x588699[_0x4f38('0x35')]][_0x4f38('0x3d')];transfers[_0x588699[_0x4f38('0x42')]][_0x4f38('0x3e')]=agents[_0x588699[_0x4f38('0x35')]]['calleridname'];transfers[_0x588699[_0x4f38('0x42')]][_0x4f38('0x16')]=utils[_0x4f38('0x17')]();transfers[_0x588699['transfertargetuniqueid']][_0x4f38('0x28')]=utils[_0x4f38('0x17')]();transfers[_0x588699['transfertargetuniqueid']]['holdtime']=0x0;transfers[_0x588699['transfertargetuniqueid']][_0x4f38('0x3b')]=0x2;}}}catch(_0xe3bbb0){utils[_0x4f38('0x1a')](_0xe3bbb0[_0x4f38('0x23')]);}};exports[_0x4f38('0x43')]=function(_0xbbf5bf){try{if(agents[_0xbbf5bf[_0x4f38('0x5')]]&&agents[_0xbbf5bf[_0x4f38('0x5')]][_0x4f38('0x1e')]===_0x4f38('0x1f')){if(_0xbbf5bf[_0x4f38('0x44')]==='21'){agents[_0xbbf5bf[_0x4f38('0x5')]][_0x4f38('0x1e')]=_0x4f38('0x45');agents[_0xbbf5bf['uniqueid']][_0x4f38('0x9')]=_0x4f38('0x45');}writeDB(agents[_0xbbf5bf[_0x4f38('0x5')]]);var _0x3f3f7b=unanswered[_0x4f38('0x46')](_0xbbf5bf[_0x4f38('0x5')]);if(_0x3f3f7b>-0x1)unanswered[_0x4f38('0x47')](_0x3f3f7b,0x1);}if(transfers[_0xbbf5bf['uniqueid']]){transfers[_0xbbf5bf['uniqueid']]['agentcomplete']=!![];transfers[_0xbbf5bf[_0x4f38('0x5')]]['agentcompleteAt']=utils[_0x4f38('0x17')]();transfers[_0xbbf5bf[_0x4f38('0x5')]][_0x4f38('0x21')]=utils[_0x4f38('0x2e')](transfers[_0xbbf5bf[_0x4f38('0x5')]]['agentcompleteAt'],transfers[_0xbbf5bf['uniqueid']][_0x4f38('0x28')]);transfers[_0xbbf5bf['uniqueid']][_0x4f38('0x1e')]='agent';transfers[_0xbbf5bf[_0x4f38('0x5')]][_0x4f38('0x9')]=_0x4f38('0x48');writeDB(transfers[_0xbbf5bf[_0x4f38('0x5')]],!![]);}if(agents[_0xbbf5bf[_0x4f38('0x5')]]&&agents[_0xbbf5bf[_0x4f38('0x5')]][_0x4f38('0x28')]){agents[_0xbbf5bf['uniqueid']][_0x4f38('0xe')]=!![];agents[_0xbbf5bf[_0x4f38('0x5')]]['agentcompleteAt']=utils[_0x4f38('0x17')]();agents[_0xbbf5bf[_0x4f38('0x5')]][_0x4f38('0x21')]=utils['diffTime'](agents[_0xbbf5bf[_0x4f38('0x5')]][_0x4f38('0x2d')],agents[_0xbbf5bf[_0x4f38('0x5')]]['agentconnectAt']);agents[_0xbbf5bf[_0x4f38('0x5')]]['reason']=agents[_0xbbf5bf['uniqueid']][_0x4f38('0x30')]?_0x4f38('0x30'):_0x4f38('0x49');agents[_0xbbf5bf['uniqueid']][_0x4f38('0x9')]=_0x4f38('0x48');writeDB(agents[_0xbbf5bf['uniqueid']]);}}catch(_0x4527d9){utils[_0x4f38('0x1a')](_0x4527d9['stack']);}}; \ No newline at end of file diff --git a/server/services/xdr/calls.controller.js b/server/services/xdr/calls.controller.js index 39ac55a..a929dfb 100644 --- a/server/services/xdr/calls.controller.js +++ b/server/services/xdr/calls.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xef42=['transfertargetchannel','_attended','musiconholdstartAt','mohtime','xmd-originatecalleridnum','xmd-phone','\x22\x20<','value','variable','xmd-callerid-preview','xmd-callerid','xmd-queue','xmcs-queue','lastapplication','queue','ContactId','type','outboundrouteid','sipcallid','newexten','application','toLowerCase','set','startsWith','appdata','cdr','substring','lastIndexOf','noop','execif','gotoif','lastdata','util','FAILED','NO\x20ANSWER','ANSWERED','info','format','CALL|%s|%s|%s|%s|%s|%s|%s|%s','uniqueid','channel','accountcode','source','destination','callerid','getUserByInternal','then','request','CreateVoiceCallReport','linkedid','OutgoingSpoolFailed','exten','context','now','DOCUMENTATION','error','isNil','channelstate','systemanswertime','destinationchannel','answertime','disposition','stack','hangup','calleridnum','duration','diffTime','endtime','starttime','billableseconds','localtwolinkedid','secondtransfererchannel','userfield'];(function(_0x537c61,_0x149044){var _0x33d7e=function(_0x375bad){while(--_0x375bad){_0x537c61['push'](_0x537c61['shift']());}};_0x33d7e(++_0x149044);}(_0xef42,0x69));var _0x2ef4=function(_0x3299d1,_0x545733){_0x3299d1=_0x3299d1-0x0;var _0x44356e=_0xef42[_0x3299d1];return _0x44356e;};'use strict';var _=require('lodash');var util=require(_0x2ef4('0x0'));var utils=require('./utils');var dispositions=['NO\x20ANSWER',_0x2ef4('0x1'),_0x2ef4('0x1'),_0x2ef4('0x2'),_0x2ef4('0x2'),'NO\x20ANSWER',_0x2ef4('0x3'),'BUSY',_0x2ef4('0x1'),_0x2ef4('0x1'),_0x2ef4('0x1')];var channels={};function writeDB(_0x394cee){utils[_0x2ef4('0x4')](util[_0x2ef4('0x5')](_0x2ef4('0x6'),_0x394cee[_0x2ef4('0x7')],_0x394cee[_0x2ef4('0x8')],_0x394cee['type'],_0x394cee[_0x2ef4('0x9')],_0x394cee[_0x2ef4('0xa')],_0x394cee[_0x2ef4('0xb')],_0x394cee[_0x2ef4('0xc')],_0x394cee['disposition']));if(_0x394cee[_0x2ef4('0x9')]){utils[_0x2ef4('0xd')](_0x394cee[_0x2ef4('0x9')])[_0x2ef4('0xe')](function(_0x5cc51c){if(_0x5cc51c){_0x394cee['UserId']=_0x5cc51c['id'];}utils[_0x2ef4('0xf')](_0x2ef4('0x10'),_0x394cee);});}else{utils['request'](_0x2ef4('0x10'),_0x394cee);}if(channels[_0x394cee[_0x2ef4('0x7')]]){delete channels[_0x394cee[_0x2ef4('0x7')]];}}exports['newchannel']=function(_0x326040){try{if(_0x326040[_0x2ef4('0x7')]==_0x326040[_0x2ef4('0x11')]&&_0x326040[_0x2ef4('0x8')]!=_0x2ef4('0x12')){channels[_0x326040['uniqueid']]={'uniqueid':_0x326040[_0x2ef4('0x7')],'accountcode':_0x326040['accountcode'],'source':_0x326040['calleridnum'],'destination':_0x326040[_0x2ef4('0x13')],'destinationcontext':_0x326040[_0x2ef4('0x14')],'channel':_0x326040['channel'],'starttime':utils[_0x2ef4('0x15')](),'answertime':null,'systemanswertime':null,'mohtime':0x0,'disposition':'NO\x20ANSWER','amaflags':_0x2ef4('0x16')};}}catch(_0x494896){utils[_0x2ef4('0x17')](_0x494896['stack']);}};exports['newstate']=function(_0x330139){try{if(!_[_0x2ef4('0x18')](channels[_0x330139[_0x2ef4('0x7')]])&&_0x330139[_0x2ef4('0x19')]==0x6){if(_[_0x2ef4('0x18')](channels[_0x330139['uniqueid']][_0x2ef4('0x1a')])){channels[_0x330139['uniqueid']][_0x2ef4('0x1a')]=utils[_0x2ef4('0x15')]();}}else if(!_[_0x2ef4('0x18')](channels[_0x330139[_0x2ef4('0x11')]])&&_0x330139[_0x2ef4('0x19')]==0x6&&_0x330139[_0x2ef4('0x14')]!='transfer'){channels[_0x330139[_0x2ef4('0x11')]][_0x2ef4('0x9')]=_0x330139['accountcode'];channels[_0x330139[_0x2ef4('0x11')]][_0x2ef4('0x1b')]=_0x330139[_0x2ef4('0x8')];if(_['isNil'](channels[_0x330139['linkedid']][_0x2ef4('0x1c')])){channels[_0x330139[_0x2ef4('0x11')]][_0x2ef4('0x1c')]=utils[_0x2ef4('0x15')]();}channels[_0x330139[_0x2ef4('0x11')]][_0x2ef4('0x1d')]=dispositions[_['toNumber'](_0x330139['channelstate'])]||_0x2ef4('0x3');}}catch(_0x5c870c){utils[_0x2ef4('0x17')](_0x5c870c[_0x2ef4('0x1e')]);}};exports[_0x2ef4('0x1f')]=function(_0x157815){try{if(!_[_0x2ef4('0x18')](channels[_0x157815[_0x2ef4('0x7')]])){if(_[_0x2ef4('0x18')](channels[_0x157815['uniqueid']][_0x2ef4('0xc')])){channels[_0x157815[_0x2ef4('0x7')]]['callerid']=_0x157815['calleridname']+'\x20<'+_0x157815[_0x2ef4('0x20')]+'>';}channels[_0x157815[_0x2ef4('0x7')]]['endtime']=utils[_0x2ef4('0x15')]();channels[_0x157815[_0x2ef4('0x7')]][_0x2ef4('0x21')]=utils[_0x2ef4('0x22')](channels[_0x157815['uniqueid']][_0x2ef4('0x23')],channels[_0x157815[_0x2ef4('0x7')]][_0x2ef4('0x24')]);channels[_0x157815[_0x2ef4('0x7')]][_0x2ef4('0x25')]=channels[_0x157815[_0x2ef4('0x7')]][_0x2ef4('0x1c')]?utils[_0x2ef4('0x22')](channels[_0x157815[_0x2ef4('0x7')]]['endtime'],channels[_0x157815[_0x2ef4('0x7')]]['answertime']):0x0;writeDB(channels[_0x157815[_0x2ef4('0x7')]]);}}catch(_0x2608c5){utils[_0x2ef4('0x17')](_0x2608c5['stack']);}};exports['attendedtransfer']=function(_0x14b1da){try{if(!_[_0x2ef4('0x18')](channels[_0x14b1da[_0x2ef4('0x26')]])){if(channels[_0x14b1da[_0x2ef4('0x26')]]['channel']==_0x14b1da['transfereechannel']){channels[_0x14b1da['localtwolinkedid']][_0x2ef4('0x1b')]=_0x14b1da[_0x2ef4('0x27')];channels[_0x14b1da[_0x2ef4('0x26')]][_0x2ef4('0x28')]='_attended';}else if(channels[_0x14b1da[_0x2ef4('0x26')]][_0x2ef4('0x8')]=_0x14b1da[_0x2ef4('0x29')]){channels[_0x14b1da[_0x2ef4('0x26')]][_0x2ef4('0x1b')]=_0x14b1da['origtransfererchannel'];channels[_0x14b1da[_0x2ef4('0x26')]][_0x2ef4('0x28')]=_0x2ef4('0x2a');}}}catch(_0x1c0295){utils[_0x2ef4('0x17')](_0x1c0295[_0x2ef4('0x1e')]);}};exports['musiconholdstart']=function(_0x1995e2){try{if(!_[_0x2ef4('0x18')](channels[_0x1995e2[_0x2ef4('0x7')]])){channels[_0x1995e2[_0x2ef4('0x7')]][_0x2ef4('0x2b')]=utils[_0x2ef4('0x15')]();}}catch(_0x27c9e8){utils[_0x2ef4('0x17')](_0x27c9e8['stack']);}};exports['musiconholdstop']=function(_0x1336bd){try{if(!_['isNil'](channels[_0x1336bd[_0x2ef4('0x7')]])){if(!_['isNil'](channels[_0x1336bd[_0x2ef4('0x7')]][_0x2ef4('0x2b')])){channels[_0x1336bd[_0x2ef4('0x7')]][_0x2ef4('0x2c')]+=utils[_0x2ef4('0x22')](utils[_0x2ef4('0x15')](),channels[_0x1336bd[_0x2ef4('0x7')]][_0x2ef4('0x2b')]);delete channels[_0x1336bd[_0x2ef4('0x7')]]['musiconholdstartAt'];}}}catch(_0x3b95e6){utils[_0x2ef4('0x17')](_0x3b95e6[_0x2ef4('0x1e')]);}};exports['varset']=function(_0x12f144){try{if(!_['isNil'](channels[_0x12f144[_0x2ef4('0x7')]])){if(!_[_0x2ef4('0x18')](_0x12f144['variable'][_0x2ef4('0x2d')])){channels[_0x12f144['uniqueid']][_0x2ef4('0xa')]=_0x12f144['value'];}if(!_[_0x2ef4('0x18')](_0x12f144['variable'][_0x2ef4('0x2e')])){channels[_0x12f144[_0x2ef4('0x7')]]['destination']=_0x12f144['value'];channels[_0x12f144[_0x2ef4('0x7')]][_0x2ef4('0xc')]='\x22'+_0x12f144['value']+_0x2ef4('0x2f')+_0x12f144[_0x2ef4('0x30')]+'>';}if(!_['isNil'](_0x12f144[_0x2ef4('0x31')][_0x2ef4('0x32')])||!_[_0x2ef4('0x18')](_0x12f144[_0x2ef4('0x31')][_0x2ef4('0x33')])){channels[_0x12f144[_0x2ef4('0x7')]][_0x2ef4('0xc')]=_0x12f144[_0x2ef4('0x30')];}if(!_['isNil'](_0x12f144[_0x2ef4('0x31')][_0x2ef4('0x34')])||!_['isNil'](_0x12f144[_0x2ef4('0x31')][_0x2ef4('0x35')])){channels[_0x12f144[_0x2ef4('0x7')]][_0x2ef4('0x36')]='Queue';channels[_0x12f144[_0x2ef4('0x7')]]['lastdata']=_0x12f144[_0x2ef4('0x30')];channels[_0x12f144['uniqueid']][_0x2ef4('0x37')]=!![];}if(!_[_0x2ef4('0x18')](_0x12f144['variable']['xmd-contactid'])){channels[_0x12f144[_0x2ef4('0x7')]][_0x2ef4('0x38')]=_0x12f144[_0x2ef4('0x30')];}if(!_['isNil'](_0x12f144[_0x2ef4('0x31')]['xmd-cdrtype'])){channels[_0x12f144[_0x2ef4('0x7')]][_0x2ef4('0x39')]=_0x12f144['value'];}if(!_[_0x2ef4('0x18')](_0x12f144[_0x2ef4('0x31')][_0x2ef4('0x3a')])){channels[_0x12f144[_0x2ef4('0x7')]]['routeid']=_0x12f144[_0x2ef4('0x30')];}if(!_[_0x2ef4('0x18')](_0x12f144[_0x2ef4('0x31')][_0x2ef4('0x3b')])){channels[_0x12f144[_0x2ef4('0x7')]]['sipcallid']=_0x12f144['value'];}}}catch(_0x1707a2){utils[_0x2ef4('0x17')](_0x1707a2[_0x2ef4('0x1e')]);}};exports[_0x2ef4('0x3c')]=function(_0xb94656){try{if(!_[_0x2ef4('0x18')](channels[_0xb94656[_0x2ef4('0x7')]])){if(_0xb94656[_0x2ef4('0x3d')][_0x2ef4('0x3e')]()==_0x2ef4('0x3f')&&_[_0x2ef4('0x40')](_0xb94656[_0x2ef4('0x41')][_0x2ef4('0x3e')](),_0x2ef4('0x42'))){var _0x4e6990=_0xb94656[_0x2ef4('0x41')]['split']('=');var _0x5b75d4=_0x4e6990[0x0][_0x2ef4('0x43')](_0x4e6990[0x0][_0x2ef4('0x44')]('(')+0x1,_0x4e6990[0x0][_0x2ef4('0x44')](')'));var _0x2048a0=_0x4e6990[0x1];channels[_0xb94656[_0x2ef4('0x7')]][_0x5b75d4]=_0x2048a0;}if(!_['includes']([_0x2ef4('0x1f'),_0x2ef4('0x45'),_0x2ef4('0x46'),'set',_0x2ef4('0x47')],_0xb94656[_0x2ef4('0x3d')][_0x2ef4('0x3e')]())){channels[_0xb94656[_0x2ef4('0x7')]][_0x2ef4('0x36')]=_0xb94656['application'];channels[_0xb94656[_0x2ef4('0x7')]][_0x2ef4('0x48')]=_0xb94656[_0x2ef4('0x41')];}}}catch(_0x472d86){utils[_0x2ef4('0x17')](_0x472d86['stack']);}}; \ No newline at end of file +var _0xd166=['xmd-contactid','ContactId','xmd-cdrtype','outboundrouteid','routeid','sipcallid','newexten','application','toLowerCase','set','startsWith','appdata','substring','lastIndexOf','includes','lodash','./utils','FAILED','NO\x20ANSWER','ANSWERED','BUSY','format','uniqueid','channel','type','source','callerid','disposition','accountcode','getUserByInternal','UserId','request','CreateVoiceCallReport','newchannel','OutgoingSpoolFailed','exten','context','now','DOCUMENTATION','error','stack','isNil','systemanswertime','linkedid','channelstate','transfer','destinationchannel','answertime','hangup','calleridname','endtime','diffTime','starttime','attendedtransfer','localtwolinkedid','transfereechannel','secondtransfererchannel','transfertargetchannel','_attended','musiconholdstart','musiconholdstartAt','mohtime','varset','variable','value','destination','xmd-queue','xmcs-queue','Queue'];(function(_0x451362,_0x1a7004){var _0x1fee3d=function(_0x5cc585){while(--_0x5cc585){_0x451362['push'](_0x451362['shift']());}};_0x1fee3d(++_0x1a7004);}(_0xd166,0x99));var _0x6d16=function(_0x773d15,_0x10c230){_0x773d15=_0x773d15-0x0;var _0x2a6921=_0xd166[_0x773d15];return _0x2a6921;};'use strict';var _=require(_0x6d16('0x0'));var util=require('util');var utils=require(_0x6d16('0x1'));var dispositions=['NO\x20ANSWER',_0x6d16('0x2'),_0x6d16('0x2'),_0x6d16('0x3'),_0x6d16('0x3'),_0x6d16('0x3'),_0x6d16('0x4'),_0x6d16('0x5'),_0x6d16('0x2'),'FAILED',_0x6d16('0x2')];var channels={};function writeDB(_0x5479e2){utils['info'](util[_0x6d16('0x6')]('CALL|%s|%s|%s|%s|%s|%s|%s|%s',_0x5479e2[_0x6d16('0x7')],_0x5479e2[_0x6d16('0x8')],_0x5479e2[_0x6d16('0x9')],_0x5479e2['accountcode'],_0x5479e2[_0x6d16('0xa')],_0x5479e2['destination'],_0x5479e2[_0x6d16('0xb')],_0x5479e2[_0x6d16('0xc')]));if(_0x5479e2[_0x6d16('0xd')]){utils[_0x6d16('0xe')](_0x5479e2[_0x6d16('0xd')])['then'](function(_0x37ebd1){if(_0x37ebd1){_0x5479e2[_0x6d16('0xf')]=_0x37ebd1['id'];}utils[_0x6d16('0x10')](_0x6d16('0x11'),_0x5479e2);});}else{utils[_0x6d16('0x10')](_0x6d16('0x11'),_0x5479e2);}if(channels[_0x5479e2[_0x6d16('0x7')]]){delete channels[_0x5479e2[_0x6d16('0x7')]];}}exports[_0x6d16('0x12')]=function(_0x2e04b7){try{if(_0x2e04b7['uniqueid']==_0x2e04b7['linkedid']&&_0x2e04b7[_0x6d16('0x8')]!=_0x6d16('0x13')){channels[_0x2e04b7[_0x6d16('0x7')]]={'uniqueid':_0x2e04b7[_0x6d16('0x7')],'accountcode':_0x2e04b7[_0x6d16('0xd')],'source':_0x2e04b7['calleridnum'],'destination':_0x2e04b7[_0x6d16('0x14')],'destinationcontext':_0x2e04b7[_0x6d16('0x15')],'channel':_0x2e04b7[_0x6d16('0x8')],'starttime':utils[_0x6d16('0x16')](),'answertime':null,'systemanswertime':null,'mohtime':0x0,'disposition':_0x6d16('0x3'),'amaflags':_0x6d16('0x17')};}}catch(_0x5b0ada){utils[_0x6d16('0x18')](_0x5b0ada[_0x6d16('0x19')]);}};exports['newstate']=function(_0x58bf9d){try{if(!_[_0x6d16('0x1a')](channels[_0x58bf9d[_0x6d16('0x7')]])&&_0x58bf9d['channelstate']==0x6){if(_[_0x6d16('0x1a')](channels[_0x58bf9d[_0x6d16('0x7')]][_0x6d16('0x1b')])){channels[_0x58bf9d[_0x6d16('0x7')]][_0x6d16('0x1b')]=utils['now']();}}else if(!_[_0x6d16('0x1a')](channels[_0x58bf9d[_0x6d16('0x1c')]])&&_0x58bf9d[_0x6d16('0x1d')]==0x6&&_0x58bf9d[_0x6d16('0x15')]!=_0x6d16('0x1e')){channels[_0x58bf9d[_0x6d16('0x1c')]][_0x6d16('0xd')]=_0x58bf9d['accountcode'];channels[_0x58bf9d[_0x6d16('0x1c')]][_0x6d16('0x1f')]=_0x58bf9d[_0x6d16('0x8')];if(_[_0x6d16('0x1a')](channels[_0x58bf9d[_0x6d16('0x1c')]][_0x6d16('0x20')])){channels[_0x58bf9d[_0x6d16('0x1c')]][_0x6d16('0x20')]=utils[_0x6d16('0x16')]();}channels[_0x58bf9d['linkedid']][_0x6d16('0xc')]=dispositions[_['toNumber'](_0x58bf9d[_0x6d16('0x1d')])]||'ANSWERED';}}catch(_0x4ea6d9){utils[_0x6d16('0x18')](_0x4ea6d9['stack']);}};exports[_0x6d16('0x21')]=function(_0x56df53){try{if(!_[_0x6d16('0x1a')](channels[_0x56df53[_0x6d16('0x7')]])){if(_[_0x6d16('0x1a')](channels[_0x56df53[_0x6d16('0x7')]][_0x6d16('0xb')])){channels[_0x56df53[_0x6d16('0x7')]][_0x6d16('0xb')]=_0x56df53[_0x6d16('0x22')]+'\x20<'+_0x56df53['calleridnum']+'>';}channels[_0x56df53[_0x6d16('0x7')]][_0x6d16('0x23')]=utils[_0x6d16('0x16')]();channels[_0x56df53[_0x6d16('0x7')]]['duration']=utils[_0x6d16('0x24')](channels[_0x56df53[_0x6d16('0x7')]]['endtime'],channels[_0x56df53[_0x6d16('0x7')]][_0x6d16('0x25')]);channels[_0x56df53[_0x6d16('0x7')]]['billableseconds']=channels[_0x56df53['uniqueid']][_0x6d16('0x20')]?utils[_0x6d16('0x24')](channels[_0x56df53[_0x6d16('0x7')]]['endtime'],channels[_0x56df53[_0x6d16('0x7')]][_0x6d16('0x20')]):0x0;writeDB(channels[_0x56df53[_0x6d16('0x7')]]);}}catch(_0x3e50b7){utils[_0x6d16('0x18')](_0x3e50b7[_0x6d16('0x19')]);}};exports[_0x6d16('0x26')]=function(_0x49ef98){try{if(!_[_0x6d16('0x1a')](channels[_0x49ef98[_0x6d16('0x27')]])){if(channels[_0x49ef98[_0x6d16('0x27')]][_0x6d16('0x8')]==_0x49ef98[_0x6d16('0x28')]){channels[_0x49ef98['localtwolinkedid']][_0x6d16('0x1f')]=_0x49ef98[_0x6d16('0x29')];channels[_0x49ef98['localtwolinkedid']]['userfield']='_attended';}else if(channels[_0x49ef98['localtwolinkedid']][_0x6d16('0x8')]=_0x49ef98[_0x6d16('0x2a')]){channels[_0x49ef98['localtwolinkedid']][_0x6d16('0x1f')]=_0x49ef98['origtransfererchannel'];channels[_0x49ef98[_0x6d16('0x27')]]['userfield']=_0x6d16('0x2b');}}}catch(_0x5504c5){utils['error'](_0x5504c5[_0x6d16('0x19')]);}};exports[_0x6d16('0x2c')]=function(_0x2e7aca){try{if(!_[_0x6d16('0x1a')](channels[_0x2e7aca['uniqueid']])){channels[_0x2e7aca[_0x6d16('0x7')]]['musiconholdstartAt']=utils['now']();}}catch(_0x321163){utils[_0x6d16('0x18')](_0x321163[_0x6d16('0x19')]);}};exports['musiconholdstop']=function(_0xee0a88){try{if(!_[_0x6d16('0x1a')](channels[_0xee0a88[_0x6d16('0x7')]])){if(!_[_0x6d16('0x1a')](channels[_0xee0a88[_0x6d16('0x7')]][_0x6d16('0x2d')])){channels[_0xee0a88[_0x6d16('0x7')]][_0x6d16('0x2e')]+=utils[_0x6d16('0x24')](utils[_0x6d16('0x16')](),channels[_0xee0a88[_0x6d16('0x7')]][_0x6d16('0x2d')]);delete channels[_0xee0a88['uniqueid']]['musiconholdstartAt'];}}}catch(_0x55b7e1){utils[_0x6d16('0x18')](_0x55b7e1[_0x6d16('0x19')]);}};exports[_0x6d16('0x2f')]=function(_0x1136bf){try{if(!_[_0x6d16('0x1a')](channels[_0x1136bf[_0x6d16('0x7')]])){if(!_[_0x6d16('0x1a')](_0x1136bf[_0x6d16('0x30')]['xmd-originatecalleridnum'])){channels[_0x1136bf[_0x6d16('0x7')]]['source']=_0x1136bf[_0x6d16('0x31')];}if(!_[_0x6d16('0x1a')](_0x1136bf[_0x6d16('0x30')]['xmd-phone'])){channels[_0x1136bf['uniqueid']][_0x6d16('0x32')]=_0x1136bf[_0x6d16('0x31')];channels[_0x1136bf['uniqueid']]['callerid']='\x22'+_0x1136bf['value']+'\x22\x20<'+_0x1136bf['value']+'>';}if(!_[_0x6d16('0x1a')](_0x1136bf[_0x6d16('0x30')]['xmd-callerid-preview'])||!_[_0x6d16('0x1a')](_0x1136bf[_0x6d16('0x30')]['xmd-callerid'])){channels[_0x1136bf[_0x6d16('0x7')]][_0x6d16('0xb')]=_0x1136bf[_0x6d16('0x31')];}if(!_[_0x6d16('0x1a')](_0x1136bf[_0x6d16('0x30')][_0x6d16('0x33')])||!_[_0x6d16('0x1a')](_0x1136bf[_0x6d16('0x30')][_0x6d16('0x34')])){channels[_0x1136bf['uniqueid']]['lastapplication']=_0x6d16('0x35');channels[_0x1136bf[_0x6d16('0x7')]]['lastdata']=_0x1136bf[_0x6d16('0x31')];channels[_0x1136bf[_0x6d16('0x7')]]['queue']=!![];}if(!_['isNil'](_0x1136bf['variable'][_0x6d16('0x36')])){channels[_0x1136bf['uniqueid']][_0x6d16('0x37')]=_0x1136bf[_0x6d16('0x31')];}if(!_[_0x6d16('0x1a')](_0x1136bf[_0x6d16('0x30')][_0x6d16('0x38')])){channels[_0x1136bf['uniqueid']][_0x6d16('0x9')]=_0x1136bf[_0x6d16('0x31')];}if(!_[_0x6d16('0x1a')](_0x1136bf[_0x6d16('0x30')][_0x6d16('0x39')])){channels[_0x1136bf[_0x6d16('0x7')]][_0x6d16('0x3a')]=_0x1136bf[_0x6d16('0x31')];}if(!_['isNil'](_0x1136bf[_0x6d16('0x30')][_0x6d16('0x3b')])){channels[_0x1136bf[_0x6d16('0x7')]][_0x6d16('0x3b')]=_0x1136bf[_0x6d16('0x31')];}}}catch(_0x5192dd){utils[_0x6d16('0x18')](_0x5192dd[_0x6d16('0x19')]);}};exports[_0x6d16('0x3c')]=function(_0x14d924){try{if(!_[_0x6d16('0x1a')](channels[_0x14d924[_0x6d16('0x7')]])){if(_0x14d924[_0x6d16('0x3d')][_0x6d16('0x3e')]()==_0x6d16('0x3f')&&_[_0x6d16('0x40')](_0x14d924['appdata']['toLowerCase'](),'cdr')){var _0x29c926=_0x14d924[_0x6d16('0x41')]['split']('=');var _0x453a27=_0x29c926[0x0][_0x6d16('0x42')](_0x29c926[0x0][_0x6d16('0x43')]('(')+0x1,_0x29c926[0x0][_0x6d16('0x43')](')'));var _0x2ca13b=_0x29c926[0x1];channels[_0x14d924[_0x6d16('0x7')]][_0x453a27]=_0x2ca13b;}if(!_[_0x6d16('0x44')]([_0x6d16('0x21'),'noop','execif',_0x6d16('0x3f'),'gotoif'],_0x14d924[_0x6d16('0x3d')][_0x6d16('0x3e')]())){channels[_0x14d924[_0x6d16('0x7')]]['lastapplication']=_0x14d924[_0x6d16('0x3d')];channels[_0x14d924['uniqueid']]['lastdata']=_0x14d924['appdata'];}}}catch(_0x352f02){utils[_0x6d16('0x18')](_0x352f02[_0x6d16('0x19')]);}}; \ No newline at end of file diff --git a/server/services/xdr/core.controller.js b/server/services/xdr/core.controller.js index 31359e6..8baa444 100644 --- a/server/services/xdr/core.controller.js +++ b/server/services/xdr/core.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xfcf0=['close','managerevent','./utils','lodash','info','CONNECTED','shutdown','fullybooted','FULLYBOOTED','error'];(function(_0x98101c,_0x9f772b){var _0x114218=function(_0x1f8be7){while(--_0x1f8be7){_0x98101c['push'](_0x98101c['shift']());}};_0x114218(++_0x9f772b);}(_0xfcf0,0x138));var _0x0fcf=function(_0x22bdd3,_0x552e50){_0x22bdd3=_0x22bdd3-0x0;var _0x44d9d9=_0xfcf0[_0x22bdd3];return _0x44d9d9;};'use strict';var utils=require(_0x0fcf('0x0'));var _=require(_0x0fcf('0x1'));exports['connect']=function(){utils[_0x0fcf('0x2')](_0x0fcf('0x3'));};exports[_0x0fcf('0x4')]=function(){utils[_0x0fcf('0x2')]('SHUTDOWN');};exports[_0x0fcf('0x5')]=function(){utils[_0x0fcf('0x2')](_0x0fcf('0x6'));};exports[_0x0fcf('0x7')]=function(_0x1bace8){utils[_0x0fcf('0x7')](_0x1bace8);};exports[_0x0fcf('0x8')]=function(){utils[_0x0fcf('0x2')]('CLOSE');};exports[_0x0fcf('0x9')]=function(_0x6ced94){}; \ No newline at end of file +var _0x82c4=['CONNECTED','shutdown','fullybooted','FULLYBOOTED','close','CLOSE','managerevent','./utils','lodash','connect','info'];(function(_0x5825d5,_0x3c029c){var _0x27cccd=function(_0x1d8002){while(--_0x1d8002){_0x5825d5['push'](_0x5825d5['shift']());}};_0x27cccd(++_0x3c029c);}(_0x82c4,0x1ca));var _0x482c=function(_0x3aab24,_0x39137c){_0x3aab24=_0x3aab24-0x0;var _0x640a57=_0x82c4[_0x3aab24];return _0x640a57;};'use strict';var utils=require(_0x482c('0x0'));var _=require(_0x482c('0x1'));exports[_0x482c('0x2')]=function(){utils[_0x482c('0x3')](_0x482c('0x4'));};exports[_0x482c('0x5')]=function(){utils[_0x482c('0x3')]('SHUTDOWN');};exports[_0x482c('0x6')]=function(){utils['info'](_0x482c('0x7'));};exports['error']=function(_0x477cf4){utils['error'](_0x477cf4);};exports[_0x482c('0x8')]=function(){utils[_0x482c('0x3')](_0x482c('0x9'));};exports[_0x482c('0xa')]=function(_0x3846d8){}; \ No newline at end of file diff --git a/server/services/xdr/dials.controller.js b/server/services/xdr/dials.controller.js index 8025821..9c46ec3 100644 --- a/server/services/xdr/dials.controller.js +++ b/server/services/xdr/dials.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x20c6=['CreateVoiceDialReport','newexten','application','toLowerCase','set','startsWith','appdata','error','stack','isNil','variable','value','dialbegin','assign','now','lastevent','called','dialend','ANSWER','answertime','connect','hangup','complete','duration','diffTime','starttime','holdtime','endtime','lodash','util','./utils','info','format','uniqueid','channel','calleridnum','connectedlinenum','dialstatus','request'];(function(_0x555ebb,_0x4b1b68){var _0x3c0a4a=function(_0x312e2f){while(--_0x312e2f){_0x555ebb['push'](_0x555ebb['shift']());}};_0x3c0a4a(++_0x4b1b68);}(_0x20c6,0xb8));var _0x620c=function(_0x4584f1,_0x566d68){_0x4584f1=_0x4584f1-0x0;var _0x34fe53=_0x20c6[_0x4584f1];return _0x34fe53;};'use strict';var _=require(_0x620c('0x0'));var util=require(_0x620c('0x1'));var utils=require(_0x620c('0x2'));var dials={};function writeDB(_0x3d075f){utils[_0x620c('0x3')](util[_0x620c('0x4')]('DIAL|%s|%s|%s|%s|%s|%s',_0x3d075f[_0x620c('0x5')],_0x3d075f[_0x620c('0x6')],_0x3d075f['dialstring'],_0x3d075f[_0x620c('0x7')],_0x3d075f[_0x620c('0x8')],_0x3d075f[_0x620c('0x9')]));utils[_0x620c('0xa')](_0x620c('0xb'),_0x3d075f);delete dials[_0x3d075f['uniqueid']];}exports[_0x620c('0xc')]=function(_0x544725){try{if(_0x544725[_0x620c('0xd')][_0x620c('0xe')]()==_0x620c('0xf')&&_[_0x620c('0x10')](_0x544725[_0x620c('0x11')][_0x620c('0xe')](),'cdr(routeid)')){var _0x7729f=_0x544725[_0x620c('0x11')]['split']('=');dials[_0x544725[_0x620c('0x5')]]={'routeId':_0x7729f[0x1]};}}catch(_0x7381ae){utils[_0x620c('0x12')](_0x7381ae[_0x620c('0x13')]);}};exports['varset']=function(_0x53d278){try{if(!_[_0x620c('0x14')](_0x53d278[_0x620c('0x15')]['outboundrouteid'])){dials[_0x53d278[_0x620c('0x5')]]={'routeId':_0x53d278[_0x620c('0x16')]};}}catch(_0x8bb6d1){utils['error'](_0x8bb6d1[_0x620c('0x13')]);}};exports[_0x620c('0x17')]=function(_0x53a448){try{if(!_[_0x620c('0x14')](dials[_0x53a448[_0x620c('0x5')]])){dials[_0x53a448['uniqueid']]=_[_0x620c('0x18')](dials[_0x53a448[_0x620c('0x5')]],_0x53a448);dials[_0x53a448[_0x620c('0x5')]]['starttime']=utils[_0x620c('0x19')]();dials[_0x53a448[_0x620c('0x5')]][_0x620c('0x1a')]=_0x620c('0x1b');}}catch(_0xea5049){utils[_0x620c('0x12')](_0xea5049[_0x620c('0x13')]);}};exports[_0x620c('0x1c')]=function(_0x9952c1){try{if(!_[_0x620c('0x14')](dials[_0x9952c1[_0x620c('0x5')]])){dials[_0x9952c1[_0x620c('0x5')]][_0x620c('0x9')]=_0x9952c1['dialstatus'];if(_0x9952c1[_0x620c('0x9')]==_0x620c('0x1d')){dials[_0x9952c1[_0x620c('0x5')]]=_[_0x620c('0x18')](dials[_0x9952c1[_0x620c('0x5')]],_0x9952c1);dials[_0x9952c1[_0x620c('0x5')]][_0x620c('0x1e')]=utils[_0x620c('0x19')]();dials[_0x9952c1['uniqueid']][_0x620c('0x1a')]=_0x620c('0x1f');}}}catch(_0x43e162){utils[_0x620c('0x12')](_0x43e162[_0x620c('0x13')]);}};exports[_0x620c('0x20')]=function(_0x475d1e){try{if(!_[_0x620c('0x14')](dials[_0x475d1e['uniqueid']])){dials[_0x475d1e[_0x620c('0x5')]]=_['assign'](dials[_0x475d1e[_0x620c('0x5')]],{'endtime':utils[_0x620c('0x19')](),'lastevent':_0x620c('0x21')});dials[_0x475d1e['uniqueid']][_0x620c('0x22')]=utils[_0x620c('0x23')](dials[_0x475d1e[_0x620c('0x5')]]['endtime'],dials[_0x475d1e[_0x620c('0x5')]][_0x620c('0x24')]);dials[_0x475d1e[_0x620c('0x5')]][_0x620c('0x25')]=utils[_0x620c('0x23')](dials[_0x475d1e[_0x620c('0x5')]]['answertime']||dials[_0x475d1e[_0x620c('0x5')]][_0x620c('0x26')],dials[_0x475d1e['uniqueid']]['starttime']);dials[_0x475d1e[_0x620c('0x5')]]['billableseconds']=dials[_0x475d1e[_0x620c('0x5')]][_0x620c('0x1e')]?utils[_0x620c('0x23')](dials[_0x475d1e[_0x620c('0x5')]]['endtime'],dials[_0x475d1e[_0x620c('0x5')]][_0x620c('0x1e')]):0x0;writeDB(dials[_0x475d1e[_0x620c('0x5')]]);}}catch(_0x15dc96){utils[_0x620c('0x12')](_0x15dc96[_0x620c('0x13')]);}}; \ No newline at end of file +var _0x2fcb=['diffTime','endtime','billableseconds','answertime','./utils','format','DIAL|%s|%s|%s|%s|%s|%s','channel','calleridnum','connectedlinenum','dialstatus','request','CreateVoiceDialReport','uniqueid','newexten','application','toLowerCase','set','startsWith','appdata','cdr(routeid)','error','varset','isNil','variable','value','stack','dialbegin','assign','starttime','lastevent','called','dialend','now','hangup','complete','holdtime'];(function(_0x2b7764,_0x2606f1){var _0x848dcb=function(_0x1ae85b){while(--_0x1ae85b){_0x2b7764['push'](_0x2b7764['shift']());}};_0x848dcb(++_0x2606f1);}(_0x2fcb,0x98));var _0xb2fc=function(_0x2e91ff,_0x39909d){_0x2e91ff=_0x2e91ff-0x0;var _0x49a404=_0x2fcb[_0x2e91ff];return _0x49a404;};'use strict';var _=require('lodash');var util=require('util');var utils=require(_0xb2fc('0x0'));var dials={};function writeDB(_0x570bf2){utils['info'](util[_0xb2fc('0x1')](_0xb2fc('0x2'),_0x570bf2['uniqueid'],_0x570bf2[_0xb2fc('0x3')],_0x570bf2['dialstring'],_0x570bf2[_0xb2fc('0x4')],_0x570bf2[_0xb2fc('0x5')],_0x570bf2[_0xb2fc('0x6')]));utils[_0xb2fc('0x7')](_0xb2fc('0x8'),_0x570bf2);delete dials[_0x570bf2[_0xb2fc('0x9')]];}exports[_0xb2fc('0xa')]=function(_0x20280f){try{if(_0x20280f[_0xb2fc('0xb')][_0xb2fc('0xc')]()==_0xb2fc('0xd')&&_[_0xb2fc('0xe')](_0x20280f[_0xb2fc('0xf')][_0xb2fc('0xc')](),_0xb2fc('0x10'))){var _0x76f309=_0x20280f[_0xb2fc('0xf')]['split']('=');dials[_0x20280f['uniqueid']]={'routeId':_0x76f309[0x1]};}}catch(_0x5088ad){utils[_0xb2fc('0x11')](_0x5088ad['stack']);}};exports[_0xb2fc('0x12')]=function(_0x164eed){try{if(!_[_0xb2fc('0x13')](_0x164eed[_0xb2fc('0x14')]['outboundrouteid'])){dials[_0x164eed[_0xb2fc('0x9')]]={'routeId':_0x164eed[_0xb2fc('0x15')]};}}catch(_0x329b55){utils['error'](_0x329b55[_0xb2fc('0x16')]);}};exports[_0xb2fc('0x17')]=function(_0x187378){try{if(!_[_0xb2fc('0x13')](dials[_0x187378[_0xb2fc('0x9')]])){dials[_0x187378[_0xb2fc('0x9')]]=_[_0xb2fc('0x18')](dials[_0x187378[_0xb2fc('0x9')]],_0x187378);dials[_0x187378[_0xb2fc('0x9')]][_0xb2fc('0x19')]=utils['now']();dials[_0x187378[_0xb2fc('0x9')]][_0xb2fc('0x1a')]=_0xb2fc('0x1b');}}catch(_0x55bc2a){utils['error'](_0x55bc2a[_0xb2fc('0x16')]);}};exports[_0xb2fc('0x1c')]=function(_0x329bfb){try{if(!_[_0xb2fc('0x13')](dials[_0x329bfb[_0xb2fc('0x9')]])){dials[_0x329bfb[_0xb2fc('0x9')]][_0xb2fc('0x6')]=_0x329bfb['dialstatus'];if(_0x329bfb[_0xb2fc('0x6')]=='ANSWER'){dials[_0x329bfb['uniqueid']]=_[_0xb2fc('0x18')](dials[_0x329bfb['uniqueid']],_0x329bfb);dials[_0x329bfb[_0xb2fc('0x9')]]['answertime']=utils[_0xb2fc('0x1d')]();dials[_0x329bfb[_0xb2fc('0x9')]][_0xb2fc('0x1a')]='connect';}}}catch(_0x298ad7){utils[_0xb2fc('0x11')](_0x298ad7[_0xb2fc('0x16')]);}};exports[_0xb2fc('0x1e')]=function(_0x5f49e6){try{if(!_[_0xb2fc('0x13')](dials[_0x5f49e6[_0xb2fc('0x9')]])){dials[_0x5f49e6[_0xb2fc('0x9')]]=_[_0xb2fc('0x18')](dials[_0x5f49e6[_0xb2fc('0x9')]],{'endtime':utils[_0xb2fc('0x1d')](),'lastevent':_0xb2fc('0x1f')});dials[_0x5f49e6['uniqueid']]['duration']=utils['diffTime'](dials[_0x5f49e6['uniqueid']]['endtime'],dials[_0x5f49e6[_0xb2fc('0x9')]]['starttime']);dials[_0x5f49e6[_0xb2fc('0x9')]][_0xb2fc('0x20')]=utils[_0xb2fc('0x21')](dials[_0x5f49e6[_0xb2fc('0x9')]]['answertime']||dials[_0x5f49e6['uniqueid']][_0xb2fc('0x22')],dials[_0x5f49e6['uniqueid']]['starttime']);dials[_0x5f49e6[_0xb2fc('0x9')]][_0xb2fc('0x23')]=dials[_0x5f49e6[_0xb2fc('0x9')]][_0xb2fc('0x24')]?utils[_0xb2fc('0x21')](dials[_0x5f49e6[_0xb2fc('0x9')]][_0xb2fc('0x22')],dials[_0x5f49e6[_0xb2fc('0x9')]]['answertime']):0x0;writeDB(dials[_0x5f49e6[_0xb2fc('0x9')]]);}}catch(_0x3b190e){utils['error'](_0x3b190e[_0xb2fc('0x16')]);}}; \ No newline at end of file diff --git a/server/services/xdr/index.js b/server/services/xdr/index.js index 8c25924..06deb9d 100644 --- a/server/services/xdr/index.js +++ b/server/services/xdr/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x01cd=['password','keepConnected','xdr','info','XDR\x20DISABLED','./agents.controller','./calls.controller','./queues.controller','./recordings.controller','./transfers.controller','./core.controller','connect','shutdown','fullybooted','error','close','managerevent','devicestatechange','agentcalled','agentringnoanswer','agentconnect','agentcomplete','queuecallerabandon','queuecallerjoin','queuecallerleave','musiconholdstart','musiconholdstop','newstate','hangup','cdr','blindtransfer','attendedtransfer','varset','newexten','newchannel','dialbegin','dialend','asterisk-manager','../../config/environment','./utils','asterisk','port','username'];(function(_0x264a24,_0x1efc2c){var _0x32f4e5=function(_0x419688){while(--_0x419688){_0x264a24['push'](_0x264a24['shift']());}};_0x32f4e5(++_0x1efc2c);}(_0x01cd,0x127));var _0xd01c=function(_0x1c7f48,_0x255687){_0x1c7f48=_0x1c7f48-0x0;var _0x274c31=_0x01cd[_0x1c7f48];return _0x274c31;};var AsteriskManager=require(_0xd01c('0x0'));var config=require(_0xd01c('0x1'));var utils=require(_0xd01c('0x2'));var ami=new AsteriskManager(config[_0xd01c('0x3')][_0xd01c('0x4')],config[_0xd01c('0x3')]['ip'],config[_0xd01c('0x3')][_0xd01c('0x5')],config['asterisk'][_0xd01c('0x6')],!![]);ami[_0xd01c('0x7')]();if(config['xdr']&&config[_0xd01c('0x8')]['disabled']){utils[_0xd01c('0x9')](_0xd01c('0xa'));}else{var agents=require(_0xd01c('0xb'));var calls=require(_0xd01c('0xc'));var queues=require(_0xd01c('0xd'));var recordings=require(_0xd01c('0xe'));var members=require('./members.controller');var dials=require('./dials.controller');var transfers=require(_0xd01c('0xf'));var core=require(_0xd01c('0x10'));ami['on'](_0xd01c('0x11'),core[_0xd01c('0x11')]);ami['on'](_0xd01c('0x12'),core['shutdown']);ami['on'](_0xd01c('0x13'),core['fullybooted']);ami['on'](_0xd01c('0x14'),core[_0xd01c('0x14')]);ami['on'](_0xd01c('0x15'),core[_0xd01c('0x15')]);ami['on'](_0xd01c('0x16'),core['managerevent']);ami['on'](_0xd01c('0x17'),function(_0x46561a){try{members['devicestatechange'](_0x46561a);}catch(_0x4ad385){utils[_0xd01c('0x14')](_0x4ad385);}});ami['on'](_0xd01c('0x18'),function(_0x52a9c6){try{agents[_0xd01c('0x18')](_0x52a9c6);}catch(_0x28c247){utils['error'](_0x28c247);}});ami['on'](_0xd01c('0x19'),function(_0x375f60){try{agents[_0xd01c('0x19')](_0x375f60);}catch(_0x929d9){utils[_0xd01c('0x14')](_0x929d9);}});ami['on']('agentconnect',function(_0x36d8c4){try{agents['agentconnect'](_0x36d8c4);queues[_0xd01c('0x1a')](_0x36d8c4);}catch(_0x37e699){utils['error'](_0x37e699);}});ami['on'](_0xd01c('0x1b'),function(_0x28a665){try{agents[_0xd01c('0x1b')](_0x28a665);queues[_0xd01c('0x1b')](_0x28a665);members['agentcomplete'](_0x28a665);}catch(_0x4e6f20){utils[_0xd01c('0x14')](_0x4e6f20);}});ami['on'](_0xd01c('0x1c'),function(_0x557875){try{agents[_0xd01c('0x1c')](_0x557875);queues['queuecallerabandon'](_0x557875);}catch(_0x1b9d7d){utils[_0xd01c('0x14')](_0x1b9d7d);}});ami['on']('queuecallerjoin',function(_0x266b08){try{queues[_0xd01c('0x1d')](_0x266b08);recordings[_0xd01c('0x1d')](_0x266b08);}catch(_0x22f6f5){utils[_0xd01c('0x14')](_0x22f6f5);}});ami['on'](_0xd01c('0x1e'),function(_0x17fe85){try{queues['queuecallerleave'](_0x17fe85);}catch(_0x3c25fe){utils[_0xd01c('0x14')](_0x3c25fe);}});ami['on'](_0xd01c('0x1f'),function(_0x41e22b){try{queues[_0xd01c('0x1f')](_0x41e22b);calls[_0xd01c('0x1f')](_0x41e22b);}catch(_0x3a441b){utils['error'](_0x3a441b);}});ami['on'](_0xd01c('0x20'),function(_0x2c635d){try{queues[_0xd01c('0x20')](_0x2c635d);calls[_0xd01c('0x20')](_0x2c635d);}catch(_0x1892df){utils[_0xd01c('0x14')](_0x1892df);}});ami['on'](_0xd01c('0x21'),function(_0x136a5b){try{calls[_0xd01c('0x21')](_0x136a5b);recordings['newstate'](_0x136a5b);}catch(_0x46b108){utils[_0xd01c('0x14')](_0x46b108);}});ami['on']('hangup',function(_0x433c68){try{calls[_0xd01c('0x22')](_0x433c68);recordings[_0xd01c('0x22')](_0x433c68);dials[_0xd01c('0x22')](_0x433c68);agents['hangup'](_0x433c68);queues[_0xd01c('0x22')](_0x433c68);}catch(_0xf9a782){utils[_0xd01c('0x14')](_0xf9a782);}});ami['on']('cdr',function(_0x538308){try{members[_0xd01c('0x23')](_0x538308);}catch(_0x3bb2b1){utils[_0xd01c('0x14')](_0x3bb2b1);}});ami['on'](_0xd01c('0x24'),function(_0x5306fd){try{queues[_0xd01c('0x24')](_0x5306fd);agents[_0xd01c('0x24')](_0x5306fd);transfers[_0xd01c('0x24')](_0x5306fd);}catch(_0x5d46aa){utils[_0xd01c('0x14')](_0x5d46aa);}});ami['on']('attendedtransfer',function(_0x270f4a){try{queues['attendedtransfer'](_0x270f4a);transfers['attendedtransfer'](_0x270f4a);agents[_0xd01c('0x25')](_0x270f4a);calls[_0xd01c('0x25')](_0x270f4a);}catch(_0x534c3c){utils[_0xd01c('0x14')](_0x534c3c);}});ami['on'](_0xd01c('0x26'),function(_0x35e8c7){try{queues[_0xd01c('0x26')](_0x35e8c7);recordings[_0xd01c('0x26')](_0x35e8c7);calls[_0xd01c('0x26')](_0x35e8c7);dials[_0xd01c('0x26')](_0x35e8c7);}catch(_0x1187d8){utils['error'](_0x1187d8);}});ami['on']('newexten',function(_0x2df00c){try{calls[_0xd01c('0x27')](_0x2df00c);recordings[_0xd01c('0x27')](_0x2df00c);dials[_0xd01c('0x27')](_0x2df00c);}catch(_0xf9b880){utils[_0xd01c('0x14')](_0xf9b880);}});ami['on'](_0xd01c('0x28'),function(_0x4134db){try{calls['newchannel'](_0x4134db);recordings['newchannel'](_0x4134db);}catch(_0x3e8033){utils[_0xd01c('0x14')](_0x3e8033);}});ami['on'](_0xd01c('0x29'),function(_0x115cbf){try{dials[_0xd01c('0x29')](_0x115cbf);}catch(_0x35217f){utils['error'](_0x35217f);}});ami['on']('dialend',function(_0x36c269){try{dials[_0xd01c('0x2a')](_0x36c269);}catch(_0x30a99d){utils[_0xd01c('0x14')](_0x30a99d);}});} \ No newline at end of file +var _0xce23=['./utils','asterisk','port','password','keepConnected','xdr','info','XDR\x20DISABLED','./calls.controller','./queues.controller','./recordings.controller','./members.controller','./dials.controller','./transfers.controller','connect','shutdown','fullybooted','error','close','managerevent','devicestatechange','agentcalled','agentringnoanswer','agentconnect','agentcomplete','queuecallerabandon','queuecallerjoin','queuecallerleave','musiconholdstart','musiconholdstop','newstate','hangup','cdr','blindtransfer','attendedtransfer','varset','newexten','newchannel','dialbegin','dialend','asterisk-manager'];(function(_0x41e8f2,_0x17797c){var _0x20e3fc=function(_0x28a52d){while(--_0x28a52d){_0x41e8f2['push'](_0x41e8f2['shift']());}};_0x20e3fc(++_0x17797c);}(_0xce23,0x7a));var _0x3ce2=function(_0xef8146,_0x459c34){_0xef8146=_0xef8146-0x0;var _0x5a6cb0=_0xce23[_0xef8146];return _0x5a6cb0;};var AsteriskManager=require(_0x3ce2('0x0'));var config=require('../../config/environment');var utils=require(_0x3ce2('0x1'));var ami=new AsteriskManager(config[_0x3ce2('0x2')][_0x3ce2('0x3')],config['asterisk']['ip'],config[_0x3ce2('0x2')]['username'],config[_0x3ce2('0x2')][_0x3ce2('0x4')],!![]);ami[_0x3ce2('0x5')]();if(config[_0x3ce2('0x6')]&&config['xdr']['disabled']){utils[_0x3ce2('0x7')](_0x3ce2('0x8'));}else{var agents=require('./agents.controller');var calls=require(_0x3ce2('0x9'));var queues=require(_0x3ce2('0xa'));var recordings=require(_0x3ce2('0xb'));var members=require(_0x3ce2('0xc'));var dials=require(_0x3ce2('0xd'));var transfers=require(_0x3ce2('0xe'));var core=require('./core.controller');ami['on'](_0x3ce2('0xf'),core['connect']);ami['on']('shutdown',core[_0x3ce2('0x10')]);ami['on'](_0x3ce2('0x11'),core['fullybooted']);ami['on'](_0x3ce2('0x12'),core[_0x3ce2('0x12')]);ami['on'](_0x3ce2('0x13'),core[_0x3ce2('0x13')]);ami['on'](_0x3ce2('0x14'),core[_0x3ce2('0x14')]);ami['on'](_0x3ce2('0x15'),function(_0x8ece6c){try{members['devicestatechange'](_0x8ece6c);}catch(_0x3cdc91){utils[_0x3ce2('0x12')](_0x3cdc91);}});ami['on'](_0x3ce2('0x16'),function(_0x5db689){try{agents[_0x3ce2('0x16')](_0x5db689);}catch(_0x381436){utils[_0x3ce2('0x12')](_0x381436);}});ami['on'](_0x3ce2('0x17'),function(_0x40829c){try{agents[_0x3ce2('0x17')](_0x40829c);}catch(_0x177e11){utils[_0x3ce2('0x12')](_0x177e11);}});ami['on'](_0x3ce2('0x18'),function(_0x44fbbf){try{agents['agentconnect'](_0x44fbbf);queues[_0x3ce2('0x18')](_0x44fbbf);}catch(_0x3586fb){utils[_0x3ce2('0x12')](_0x3586fb);}});ami['on'](_0x3ce2('0x19'),function(_0x2ed566){try{agents[_0x3ce2('0x19')](_0x2ed566);queues['agentcomplete'](_0x2ed566);members['agentcomplete'](_0x2ed566);}catch(_0xe8f0e6){utils[_0x3ce2('0x12')](_0xe8f0e6);}});ami['on']('queuecallerabandon',function(_0x5c5186){try{agents[_0x3ce2('0x1a')](_0x5c5186);queues[_0x3ce2('0x1a')](_0x5c5186);}catch(_0x137d25){utils['error'](_0x137d25);}});ami['on'](_0x3ce2('0x1b'),function(_0x45d5e3){try{queues[_0x3ce2('0x1b')](_0x45d5e3);recordings['queuecallerjoin'](_0x45d5e3);}catch(_0x9f08f7){utils[_0x3ce2('0x12')](_0x9f08f7);}});ami['on'](_0x3ce2('0x1c'),function(_0x331196){try{queues[_0x3ce2('0x1c')](_0x331196);}catch(_0x243c91){utils[_0x3ce2('0x12')](_0x243c91);}});ami['on'](_0x3ce2('0x1d'),function(_0x5229d8){try{queues[_0x3ce2('0x1d')](_0x5229d8);calls[_0x3ce2('0x1d')](_0x5229d8);}catch(_0x496668){utils[_0x3ce2('0x12')](_0x496668);}});ami['on'](_0x3ce2('0x1e'),function(_0x3a8ef8){try{queues[_0x3ce2('0x1e')](_0x3a8ef8);calls['musiconholdstop'](_0x3a8ef8);}catch(_0x5192a1){utils[_0x3ce2('0x12')](_0x5192a1);}});ami['on']('newstate',function(_0x5a2191){try{calls[_0x3ce2('0x1f')](_0x5a2191);recordings[_0x3ce2('0x1f')](_0x5a2191);}catch(_0x30af95){utils[_0x3ce2('0x12')](_0x30af95);}});ami['on'](_0x3ce2('0x20'),function(_0x2c0841){try{calls[_0x3ce2('0x20')](_0x2c0841);recordings[_0x3ce2('0x20')](_0x2c0841);dials[_0x3ce2('0x20')](_0x2c0841);agents['hangup'](_0x2c0841);queues[_0x3ce2('0x20')](_0x2c0841);}catch(_0x217b43){utils[_0x3ce2('0x12')](_0x217b43);}});ami['on'](_0x3ce2('0x21'),function(_0x3684fd){try{members[_0x3ce2('0x21')](_0x3684fd);}catch(_0x3fdfc3){utils[_0x3ce2('0x12')](_0x3fdfc3);}});ami['on'](_0x3ce2('0x22'),function(_0x2bc558){try{queues[_0x3ce2('0x22')](_0x2bc558);agents[_0x3ce2('0x22')](_0x2bc558);transfers[_0x3ce2('0x22')](_0x2bc558);}catch(_0x359295){utils[_0x3ce2('0x12')](_0x359295);}});ami['on']('attendedtransfer',function(_0x9f6933){try{queues['attendedtransfer'](_0x9f6933);transfers[_0x3ce2('0x23')](_0x9f6933);agents[_0x3ce2('0x23')](_0x9f6933);calls[_0x3ce2('0x23')](_0x9f6933);}catch(_0x5bdb97){utils['error'](_0x5bdb97);}});ami['on']('varset',function(_0x1082a3){try{queues[_0x3ce2('0x24')](_0x1082a3);recordings['varset'](_0x1082a3);calls[_0x3ce2('0x24')](_0x1082a3);dials['varset'](_0x1082a3);}catch(_0x3a51a2){utils['error'](_0x3a51a2);}});ami['on'](_0x3ce2('0x25'),function(_0x2b52d3){try{calls[_0x3ce2('0x25')](_0x2b52d3);recordings[_0x3ce2('0x25')](_0x2b52d3);dials[_0x3ce2('0x25')](_0x2b52d3);}catch(_0x27f477){utils[_0x3ce2('0x12')](_0x27f477);}});ami['on'](_0x3ce2('0x26'),function(_0x373f90){try{calls[_0x3ce2('0x26')](_0x373f90);recordings[_0x3ce2('0x26')](_0x373f90);}catch(_0x5a576d){utils[_0x3ce2('0x12')](_0x5a576d);}});ami['on'](_0x3ce2('0x27'),function(_0x1d0523){try{dials[_0x3ce2('0x27')](_0x1d0523);}catch(_0x2e5de1){utils['error'](_0x2e5de1);}});ami['on'](_0x3ce2('0x28'),function(_0x586eaa){try{dials[_0x3ce2('0x28')](_0x586eaa);}catch(_0x1456b8){utils[_0x3ce2('0x12')](_0x1456b8);}});} \ No newline at end of file diff --git a/server/services/xdr/members.controller.js b/server/services/xdr/members.controller.js index adf05d0..c1d8f04 100644 --- a/server/services/xdr/members.controller.js +++ b/server/services/xdr/members.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xe522=['queue','cdr','split','data2','data3','destination','destinationchannel','data1','lodash','util','./utils','Queue:','info','format','MEMBER|%s|%s|%s|%s|%s|%s','uniqueid','channel','membername','type','interface','getUserByInterface','then','name','request','CreateMemberReport','getUserByName','internal','catch','error','some','devicestatechange','state','INUSE','BUSY','device','voice','TALKING','now','agent','NOT_INUSE','isNil','exitAt','diffTime','enterAt','agentcomplete','assign'];(function(_0x482ddd,_0x3e1bd2){var _0x5c4a0f=function(_0x5c54f2){while(--_0x5c54f2){_0x482ddd['push'](_0x482ddd['shift']());}};_0x5c4a0f(++_0x3e1bd2);}(_0xe522,0x14a));var _0x2e52=function(_0x3bf83f,_0x181cac){_0x3bf83f=_0x3bf83f-0x0;var _0x22c4a9=_0xe522[_0x3bf83f];return _0x22c4a9;};'use strict';var _=require(_0x2e52('0x0'));var util=require(_0x2e52('0x1'));var utils=require(_0x2e52('0x2'));var members={};var exclude=['Local/_attended@transfer',_0x2e52('0x3')];function writeDB(_0x269cf9){utils[_0x2e52('0x4')](util[_0x2e52('0x5')](_0x2e52('0x6'),_0x269cf9[_0x2e52('0x7')],_0x269cf9['interface'],_0x269cf9[_0x2e52('0x8')],_0x269cf9['data2'],_0x269cf9[_0x2e52('0x9')],_0x269cf9[_0x2e52('0xa')]));if(_0x269cf9[_0x2e52('0xb')]){utils[_0x2e52('0xc')](_0x269cf9[_0x2e52('0xb')])[_0x2e52('0xd')](function(_0x2982a7){if(_0x2982a7){_0x269cf9['membername']=_0x2982a7[_0x2e52('0xe')];_0x269cf9['internal']=_0x2982a7['internal'];utils[_0x2e52('0xf')](_0x2e52('0x10'),_0x269cf9);}else{utils[_0x2e52('0x11')](_0x269cf9['interface']['split']('/')[0x1])[_0x2e52('0xd')](function(_0x3b3db0){if(_0x3b3db0){_0x269cf9[_0x2e52('0x9')]=_0x3b3db0['name'];_0x269cf9[_0x2e52('0x12')]=_0x3b3db0['internal'];utils[_0x2e52('0xf')]('CreateMemberReport',_0x269cf9);}});}})[_0x2e52('0x13')](function(_0x5cd15f){utils[_0x2e52('0x14')](_0x5cd15f);});}delete members[_0x269cf9[_0x2e52('0xb')]];}function startsWith(_0x4194f4,_0x39522a){return _[_0x2e52('0x15')](_0x4194f4,function(_0x1031bf){return _['startsWith'](_0x39522a,_0x1031bf);});}exports[_0x2e52('0x16')]=function(_0x308864){switch(_0x308864[_0x2e52('0x17')]){case _0x2e52('0x18'):case _0x2e52('0x19'):if(!startsWith(exclude,_0x308864['device'])){members[_0x308864[_0x2e52('0x1a')]]={'channel':_0x2e52('0x1b'),'interface':_0x308864['device'],'type':_0x2e52('0x1c'),'enterAt':utils[_0x2e52('0x1d')](),'role':_0x2e52('0x1e')};}break;case _0x2e52('0x1f'):if(!_[_0x2e52('0x20')](members[_0x308864[_0x2e52('0x1a')]])){members[_0x308864[_0x2e52('0x1a')]][_0x2e52('0x21')]=utils['now']();members[_0x308864[_0x2e52('0x1a')]]['duration']=utils[_0x2e52('0x22')](members[_0x308864['device']][_0x2e52('0x21')],members[_0x308864[_0x2e52('0x1a')]][_0x2e52('0x23')]);if(members[_0x308864[_0x2e52('0x1a')]][_0x2e52('0x7')]){writeDB(members[_0x308864[_0x2e52('0x1a')]]);}}default:break;}};exports[_0x2e52('0x24')]=function(_0x32085e){if(!_[_0x2e52('0x20')](members[_0x32085e[_0x2e52('0xb')]])){members[_0x32085e[_0x2e52('0xb')]]=_[_0x2e52('0x25')](members[_0x32085e[_0x2e52('0xb')]],{'data4':_0x32085e[_0x2e52('0x26')],'uniqueid':_0x32085e[_0x2e52('0x7')]});}};exports[_0x2e52('0x27')]=function(_0x5518d1){if(_0x5518d1[_0x2e52('0x8')]){var _0xef999c=_0x5518d1[_0x2e52('0x8')][_0x2e52('0x28')]('-')[0x0];if(!_[_0x2e52('0x20')](members[_0xef999c])){members[_0xef999c]=_[_0x2e52('0x25')](members[_0xef999c],{'data1':members[_0xef999c]['data1']||_0x5518d1[_0x2e52('0xa')],'data2':members[_0xef999c][_0x2e52('0x29')]||_0x5518d1['source'],'data3':members[_0xef999c][_0x2e52('0x2a')]||_0x5518d1[_0x2e52('0x2b')],'uniqueid':members[_0xef999c]['uniqueid']||_0x5518d1[_0x2e52('0x7')]});if(members[_0xef999c][_0x2e52('0x21')]){writeDB(members[_0xef999c]);}}}if(_0x5518d1[_0x2e52('0x2c')]){var _0x188651=_0x5518d1[_0x2e52('0x2c')]['split']('-')[0x0];if(!_[_0x2e52('0x20')](members[_0x188651])){members[_0x188651]=_['assign'](members[_0x188651],{'data1':members[_0x188651][_0x2e52('0x2d')]||_0x5518d1[_0x2e52('0xa')],'data2':members[_0x188651]['data2']||_0x5518d1['source'],'data3':members[_0x188651][_0x2e52('0x2a')]||_0x5518d1[_0x2e52('0x2b')],'uniqueid':members[_0x188651]['uniqueid']||_0x5518d1['uniqueid']});if(members[_0x188651][_0x2e52('0x21')]){writeDB(members[_0x188651]);}}}}; \ No newline at end of file +var _0x731b=['request','CreateMemberReport','getUserByName','split','catch','some','state','BUSY','voice','device','TALKING','agent','NOT_INUSE','now','diffTime','exitAt','enterAt','agentcomplete','assign','queue','cdr','data1','type','source','data3','destination','destinationchannel','isNil','lodash','util','./utils','Local/_attended@transfer','Queue:','info','MEMBER|%s|%s|%s|%s|%s|%s','uniqueid','interface','channel','data2','then','membername','name','internal'];(function(_0x44958e,_0x3ef7ee){var _0x412496=function(_0x39d406){while(--_0x39d406){_0x44958e['push'](_0x44958e['shift']());}};_0x412496(++_0x3ef7ee);}(_0x731b,0x174));var _0xb731=function(_0x1c2b56,_0x34456f){_0x1c2b56=_0x1c2b56-0x0;var _0x29a42=_0x731b[_0x1c2b56];return _0x29a42;};'use strict';var _=require(_0xb731('0x0'));var util=require(_0xb731('0x1'));var utils=require(_0xb731('0x2'));var members={};var exclude=[_0xb731('0x3'),_0xb731('0x4')];function writeDB(_0x1c4988){utils[_0xb731('0x5')](util['format'](_0xb731('0x6'),_0x1c4988[_0xb731('0x7')],_0x1c4988[_0xb731('0x8')],_0x1c4988[_0xb731('0x9')],_0x1c4988[_0xb731('0xa')],_0x1c4988['membername'],_0x1c4988['type']));if(_0x1c4988['interface']){utils['getUserByInterface'](_0x1c4988[_0xb731('0x8')])[_0xb731('0xb')](function(_0x54a595){if(_0x54a595){_0x1c4988[_0xb731('0xc')]=_0x54a595[_0xb731('0xd')];_0x1c4988[_0xb731('0xe')]=_0x54a595['internal'];utils[_0xb731('0xf')](_0xb731('0x10'),_0x1c4988);}else{utils[_0xb731('0x11')](_0x1c4988['interface'][_0xb731('0x12')]('/')[0x1])[_0xb731('0xb')](function(_0x13c0ac){if(_0x13c0ac){_0x1c4988[_0xb731('0xc')]=_0x13c0ac[_0xb731('0xd')];_0x1c4988['internal']=_0x13c0ac[_0xb731('0xe')];utils['request']('CreateMemberReport',_0x1c4988);}});}})[_0xb731('0x13')](function(_0x2d3631){utils['error'](_0x2d3631);});}delete members[_0x1c4988[_0xb731('0x8')]];}function startsWith(_0x50129f,_0x5d2871){return _[_0xb731('0x14')](_0x50129f,function(_0x1fa3ed){return _['startsWith'](_0x5d2871,_0x1fa3ed);});}exports['devicestatechange']=function(_0x4a606d){switch(_0x4a606d[_0xb731('0x15')]){case'INUSE':case _0xb731('0x16'):if(!startsWith(exclude,_0x4a606d['device'])){members[_0x4a606d['device']]={'channel':_0xb731('0x17'),'interface':_0x4a606d[_0xb731('0x18')],'type':_0xb731('0x19'),'enterAt':utils['now'](),'role':_0xb731('0x1a')};}break;case _0xb731('0x1b'):if(!_['isNil'](members[_0x4a606d[_0xb731('0x18')]])){members[_0x4a606d[_0xb731('0x18')]]['exitAt']=utils[_0xb731('0x1c')]();members[_0x4a606d[_0xb731('0x18')]]['duration']=utils[_0xb731('0x1d')](members[_0x4a606d[_0xb731('0x18')]][_0xb731('0x1e')],members[_0x4a606d[_0xb731('0x18')]][_0xb731('0x1f')]);if(members[_0x4a606d[_0xb731('0x18')]]['uniqueid']){writeDB(members[_0x4a606d[_0xb731('0x18')]]);}}default:break;}};exports[_0xb731('0x20')]=function(_0x175c9d){if(!_['isNil'](members[_0x175c9d[_0xb731('0x8')]])){members[_0x175c9d[_0xb731('0x8')]]=_[_0xb731('0x21')](members[_0x175c9d[_0xb731('0x8')]],{'data4':_0x175c9d[_0xb731('0x22')],'uniqueid':_0x175c9d[_0xb731('0x7')]});}};exports[_0xb731('0x23')]=function(_0x3b875f){if(_0x3b875f[_0xb731('0x9')]){var _0x68d042=_0x3b875f['channel'][_0xb731('0x12')]('-')[0x0];if(!_['isNil'](members[_0x68d042])){members[_0x68d042]=_[_0xb731('0x21')](members[_0x68d042],{'data1':members[_0x68d042][_0xb731('0x24')]||_0x3b875f[_0xb731('0x25')],'data2':members[_0x68d042][_0xb731('0xa')]||_0x3b875f[_0xb731('0x26')],'data3':members[_0x68d042][_0xb731('0x27')]||_0x3b875f[_0xb731('0x28')],'uniqueid':members[_0x68d042][_0xb731('0x7')]||_0x3b875f[_0xb731('0x7')]});if(members[_0x68d042][_0xb731('0x1e')]){writeDB(members[_0x68d042]);}}}if(_0x3b875f[_0xb731('0x29')]){var _0x1653d2=_0x3b875f[_0xb731('0x29')][_0xb731('0x12')]('-')[0x0];if(!_[_0xb731('0x2a')](members[_0x1653d2])){members[_0x1653d2]=_[_0xb731('0x21')](members[_0x1653d2],{'data1':members[_0x1653d2][_0xb731('0x24')]||_0x3b875f[_0xb731('0x25')],'data2':members[_0x1653d2][_0xb731('0xa')]||_0x3b875f['source'],'data3':members[_0x1653d2]['data3']||_0x3b875f[_0xb731('0x28')],'uniqueid':members[_0x1653d2]['uniqueid']||_0x3b875f[_0xb731('0x7')]});if(members[_0x1653d2]['exitAt']){writeDB(members[_0x1653d2]);}}}}; \ No newline at end of file diff --git a/server/services/xdr/queues.controller.js b/server/services/xdr/queues.controller.js index 05f96f8..7c71bd3 100644 --- a/server/services/xdr/queues.controller.js +++ b/server/services/xdr/queues.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xc968=['origtransfereruniqueid','secondtransfererlinkedid','ATTENDED','origtransfererexten','ATTENDEDTRANSFER','origtransfererlinkedid','transfereelinkedid','clone','calleridname','secondtransfererexten','secondtransfereruniqueid','transfertargetlinkedid','transfertargetuniqueid','queuecallerjoinAt','mohtime','error','stack','musiconholdstart','musiconholdstartAt','lodash','./utils','QUEUE|%s|%s|%s|%s|%s|%s|%s','uniqueid','queue','lastAssignedTo','calleridnum','accountcode','getVoiceQueueByName','type','request','CreateVoiceQueueReport','transfereduniqueid','position','now','hangup','isNil','queuecallerleaveAt','queuecallerabandon','queuecallerexit','queuecallercomplete','queuecallercompleteAt','queuecallerexitreason','queuecallerenterreason','value','toUpperCase','CONTINUE','queuecallerabandonAt','queuecallerexitAt','variable','ABANDONED','queuecallerleave','holdtime','diffTime','count','connectedlinenum','connectedlinename','assigned','membername','agentcomplete','reason','transfer','blindtransfer','transfereeuniqueid','transfertype','BLIND','extension','transferuniqueid','BLINDTRANSFER'];(function(_0x584e0b,_0x44375d){var _0x231074=function(_0x1149d9){while(--_0x1149d9){_0x584e0b['push'](_0x584e0b['shift']());}};_0x231074(++_0x44375d);}(_0xc968,0x9b));var _0x8c96=function(_0x4c2623,_0x4838bb){_0x4c2623=_0x4c2623-0x0;var _0x2be431=_0xc968[_0x4c2623];return _0x2be431;};'use strict';var _=require(_0x8c96('0x0'));var util=require('util');var utils=require(_0x8c96('0x1'));var queues={};function writeDB(_0x597760){utils['info'](util['format'](_0x8c96('0x2'),_0x597760[_0x8c96('0x3')],_0x597760['channel'],_0x597760[_0x8c96('0x4')],_0x597760[_0x8c96('0x5')],_0x597760[_0x8c96('0x6')],_0x597760[_0x8c96('0x7')],_0x597760['queuecallerexitreason']));if(_0x597760[_0x8c96('0x4')]){utils[_0x8c96('0x8')](_0x597760[_0x8c96('0x4')])['then'](function(_0x15bf6b){if(_0x15bf6b){_0x597760[_0x8c96('0x9')]=_0x15bf6b[_0x8c96('0x9')];}utils[_0x8c96('0xa')](_0x8c96('0xb'),_0x597760);});}else{utils[_0x8c96('0xa')](_0x8c96('0xb'),_0x597760);}if(_0x597760['transfereduniqueid']){delete queues[_0x597760[_0x8c96('0xc')]];}else{delete queues[_0x597760['uniqueid']];}}exports['queuecallerjoin']=function(_0x1ce689){queues[_0x1ce689[_0x8c96('0x3')]]=_['assign'](_0x1ce689,{'originalposition':_0x1ce689[_0x8c96('0xd')],'queuecallerjoinAt':utils[_0x8c96('0xe')](),'mohtime':0x0});};exports[_0x8c96('0xf')]=function(_0x51dc16){if(!_[_0x8c96('0x10')](queues[_0x51dc16['uniqueid']])){if(queues[_0x51dc16[_0x8c96('0x3')]][_0x8c96('0x11')]){if(!queues[_0x51dc16[_0x8c96('0x3')]][_0x8c96('0x12')]&&!queues[_0x51dc16['uniqueid']][_0x8c96('0x13')]){queues[_0x51dc16['uniqueid']][_0x8c96('0x14')]=!![];queues[_0x51dc16[_0x8c96('0x3')]][_0x8c96('0x15')]=utils[_0x8c96('0xe')]();queues[_0x51dc16[_0x8c96('0x3')]][_0x8c96('0x16')]='COMPLETEDBYAGENT';}writeDB(queues[_0x51dc16[_0x8c96('0x3')]]);}else{if(queues[_0x51dc16[_0x8c96('0x3')]][_0x8c96('0xc')]){queues[queues[_0x51dc16[_0x8c96('0x3')]][_0x8c96('0xc')]]=queues[_0x51dc16[_0x8c96('0x3')]];queues[queues[_0x51dc16[_0x8c96('0x3')]]['transfereduniqueid']][_0x8c96('0x17')]=0x2;delete queues[_0x51dc16[_0x8c96('0x3')]];}}}};exports['varset']=function(_0x39dcaf){if(!_[_0x8c96('0x10')](_0x39dcaf['variable']['queuestatus'])&&_0x39dcaf[_0x8c96('0x18')][_0x8c96('0x19')]()!==_0x8c96('0x1a')){if(!_['isNil'](queues[_0x39dcaf['uniqueid']])){queues[_0x39dcaf['uniqueid']][_0x8c96('0x12')]=![];queues[_0x39dcaf[_0x8c96('0x3')]][_0x8c96('0x1b')]=null;queues[_0x39dcaf[_0x8c96('0x3')]][_0x8c96('0x13')]=!![];queues[_0x39dcaf[_0x8c96('0x3')]][_0x8c96('0x1c')]=utils['now']();queues[_0x39dcaf[_0x8c96('0x3')]][_0x8c96('0x16')]=_0x39dcaf[_0x8c96('0x18')][_0x8c96('0x19')]();writeDB(queues[_0x39dcaf[_0x8c96('0x3')]]);}}else if(!_['isNil'](_0x39dcaf[_0x8c96('0x1d')]['queueposition'])){if(!_['isNil'](queues[_0x39dcaf[_0x8c96('0x3')]])&&!queues[_0x39dcaf['uniqueid']][_0x8c96('0x12')]){queues[_0x39dcaf[_0x8c96('0x3')]]['queuecallerabandon']=![];queues[_0x39dcaf[_0x8c96('0x3')]]['queuecallerabandonAt']=null;queues[_0x39dcaf['uniqueid']][_0x8c96('0x13')]=!![];queues[_0x39dcaf[_0x8c96('0x3')]][_0x8c96('0x1c')]=utils[_0x8c96('0xe')]();queues[_0x39dcaf[_0x8c96('0x3')]]['queuecallerexitreason']='EXITWITHKEY';}}};exports[_0x8c96('0x12')]=function(_0xa7488f){if(!_[_0x8c96('0x10')](queues[_0xa7488f[_0x8c96('0x3')]])){queues[_0xa7488f[_0x8c96('0x3')]][_0x8c96('0x13')]=![];queues[_0xa7488f[_0x8c96('0x3')]][_0x8c96('0x1c')]=null;queues[_0xa7488f[_0x8c96('0x3')]][_0x8c96('0x12')]=!![];queues[_0xa7488f[_0x8c96('0x3')]][_0x8c96('0x1b')]=utils[_0x8c96('0xe')]();queues[_0xa7488f[_0x8c96('0x3')]][_0x8c96('0x16')]=_0x8c96('0x1e');}};exports[_0x8c96('0x1f')]=function(_0x1948da){if(!_[_0x8c96('0x10')](queues[_0x1948da['uniqueid']])){queues[_0x1948da[_0x8c96('0x3')]][_0x8c96('0x1f')]=!![];queues[_0x1948da[_0x8c96('0x3')]][_0x8c96('0x11')]=utils[_0x8c96('0xe')]();queues[_0x1948da[_0x8c96('0x3')]][_0x8c96('0x20')]=utils[_0x8c96('0x21')](queues[_0x1948da[_0x8c96('0x3')]][_0x8c96('0x11')],queues[_0x1948da['uniqueid']]['queuecallerjoinAt']);queues[_0x1948da[_0x8c96('0x3')]]['position']=_0x1948da['position'];queues[_0x1948da[_0x8c96('0x3')]][_0x8c96('0x22')]=_0x1948da[_0x8c96('0x22')];queues[_0x1948da[_0x8c96('0x3')]][_0x8c96('0x23')]=_0x1948da[_0x8c96('0x23')];queues[_0x1948da[_0x8c96('0x3')]][_0x8c96('0x24')]=_0x1948da[_0x8c96('0x24')];}};exports['agentconnect']=function(_0x3c1212){if(!_[_0x8c96('0x10')](queues[_0x3c1212['uniqueid']])){queues[_0x3c1212['uniqueid']][_0x8c96('0x12')]=![];queues[_0x3c1212[_0x8c96('0x3')]][_0x8c96('0x12')]=![];queues[_0x3c1212[_0x8c96('0x3')]][_0x8c96('0x1b')]=null;queues[_0x3c1212[_0x8c96('0x3')]][_0x8c96('0x13')]=![];queues[_0x3c1212[_0x8c96('0x3')]][_0x8c96('0x16')]=null;queues[_0x3c1212[_0x8c96('0x3')]][_0x8c96('0x1c')]=null;queues[_0x3c1212['uniqueid']][_0x8c96('0x25')]=!![];queues[_0x3c1212['uniqueid']][_0x8c96('0x7')]=_0x3c1212['destaccountcode'];queues[_0x3c1212[_0x8c96('0x3')]][_0x8c96('0x5')]=_0x3c1212[_0x8c96('0x26')];}};exports[_0x8c96('0x27')]=function(_0x19e4b0){if(!_[_0x8c96('0x10')](queues[_0x19e4b0[_0x8c96('0x3')]])){if(queues[_0x19e4b0[_0x8c96('0x3')]]['queuecallerleaveAt']){queues[_0x19e4b0[_0x8c96('0x3')]][_0x8c96('0x12')]=![];queues[_0x19e4b0[_0x8c96('0x3')]]['queuecallerabandon']=![];queues[_0x19e4b0[_0x8c96('0x3')]][_0x8c96('0x1b')]=null;queues[_0x19e4b0[_0x8c96('0x3')]][_0x8c96('0x13')]=![];queues[_0x19e4b0[_0x8c96('0x3')]][_0x8c96('0x1c')]=null;queues[_0x19e4b0[_0x8c96('0x3')]][_0x8c96('0x25')]=!![];queues[_0x19e4b0[_0x8c96('0x3')]][_0x8c96('0x5')]=_0x19e4b0['membername'];queues[_0x19e4b0[_0x8c96('0x3')]]['queuecallercomplete']=!![];queues[_0x19e4b0[_0x8c96('0x3')]]['queuecallercompleteAt']=utils[_0x8c96('0xe')]();if(_0x19e4b0[_0x8c96('0x28')]==_0x8c96('0x29')){if(!queues[_0x19e4b0[_0x8c96('0x3')]][_0x8c96('0x29')]){queues[_0x19e4b0[_0x8c96('0x3')]][_0x8c96('0x16')]='TRANSFER';}}else{queues[_0x19e4b0[_0x8c96('0x3')]][_0x8c96('0x16')]='COMPLETEDBY'+_0x19e4b0['reason'][_0x8c96('0x19')]();}writeDB(queues[_0x19e4b0[_0x8c96('0x3')]]);}}};exports[_0x8c96('0x2a')]=function(_0x278441){if(!_['isNil'](queues[_0x278441[_0x8c96('0x2b')]])){queues[_0x278441[_0x8c96('0x2b')]][_0x8c96('0x29')]=!![];queues[_0x278441[_0x8c96('0x2b')]][_0x8c96('0x2c')]=_0x8c96('0x2d');queues[_0x278441[_0x8c96('0x2b')]]['transferexten']=_0x278441[_0x8c96('0x2e')];queues[_0x278441[_0x8c96('0x2b')]][_0x8c96('0x2f')]=_0x278441[_0x8c96('0x2b')];queues[_0x278441[_0x8c96('0x2b')]]['queuecallerexitreason']=_0x8c96('0x30');}};exports['attendedtransfer']=function(_0xc5fbbd){try{if(_0xc5fbbd[_0x8c96('0x31')]==_0xc5fbbd['origtransfererlinkedid']){if(!_[_0x8c96('0x10')](queues[_0xc5fbbd[_0x8c96('0x32')]])){queues[_0xc5fbbd[_0x8c96('0x32')]][_0x8c96('0x29')]=!![];queues[_0xc5fbbd[_0x8c96('0x32')]][_0x8c96('0x2c')]=_0x8c96('0x33');queues[_0xc5fbbd['secondtransfererlinkedid']]['transferexten']=_0xc5fbbd[_0x8c96('0x34')];queues[_0xc5fbbd[_0x8c96('0x32')]][_0x8c96('0x2f')]=_0xc5fbbd[_0x8c96('0x31')];queues[_0xc5fbbd[_0x8c96('0x32')]][_0x8c96('0x16')]=_0x8c96('0x35');}if(!_[_0x8c96('0x10')](queues[_0xc5fbbd[_0x8c96('0x36')]])){if(_0xc5fbbd['transfereelinkedid']&&queues[_0xc5fbbd[_0x8c96('0x37')]]){queues[_0xc5fbbd['transfereelinkedid']][_0x8c96('0x17')]=0x1;queues[_0xc5fbbd[_0x8c96('0x2b')]]=_[_0x8c96('0x38')](queues[_0xc5fbbd[_0x8c96('0x37')]]);queues[_0xc5fbbd['transfereeuniqueid']][_0x8c96('0xc')]=_0xc5fbbd['transfertargetuniqueid'];queues[_0xc5fbbd['transfereeuniqueid']][_0x8c96('0x17')]=0x2;queues[_0xc5fbbd['transfereeuniqueid']][_0x8c96('0x6')]=queues[_0xc5fbbd[_0x8c96('0x32')]][_0x8c96('0x6')];queues[_0xc5fbbd[_0x8c96('0x2b')]]['calleridname']=queues[_0xc5fbbd[_0x8c96('0x32')]][_0x8c96('0x39')];queues[_0xc5fbbd[_0x8c96('0x2b')]]['queuecallerjoinAt']=utils['now']();queues[_0xc5fbbd[_0x8c96('0x2b')]]['queuecallerleaveAt']=utils[_0x8c96('0xe')]();queues[_0xc5fbbd[_0x8c96('0x2b')]]['holdtime']=0x0;queues[_0xc5fbbd['transfereeuniqueid']]['mohtime']=0x0;}else{queues[_0xc5fbbd[_0x8c96('0x36')]][_0x8c96('0xc')]=_0xc5fbbd[_0x8c96('0x32')];}}}else if(_0xc5fbbd['secondtransfereruniqueid']==_0xc5fbbd[_0x8c96('0x32')]){if(!_[_0x8c96('0x10')](queues[_0xc5fbbd['origtransfererlinkedid']])){queues[_0xc5fbbd['origtransfererlinkedid']][_0x8c96('0x29')]=!![];queues[_0xc5fbbd[_0x8c96('0x36')]][_0x8c96('0x2c')]=_0x8c96('0x33');queues[_0xc5fbbd[_0x8c96('0x36')]]['transferexten']=_0xc5fbbd[_0x8c96('0x3a')];queues[_0xc5fbbd[_0x8c96('0x36')]][_0x8c96('0x2f')]=_0xc5fbbd[_0x8c96('0x3b')];queues[_0xc5fbbd['origtransfererlinkedid']][_0x8c96('0x16')]=_0x8c96('0x35');}if(!_[_0x8c96('0x10')](queues[_0xc5fbbd[_0x8c96('0x32')]])){if(_0xc5fbbd[_0x8c96('0x3c')]&&queues[_0xc5fbbd['transfertargetlinkedid']]){queues[_0xc5fbbd[_0x8c96('0x3c')]][_0x8c96('0x17')]=0x1;queues[_0xc5fbbd[_0x8c96('0x3d')]]=_['clone'](queues[_0xc5fbbd[_0x8c96('0x3c')]]);queues[_0xc5fbbd['transfertargetuniqueid']][_0x8c96('0xc')]=_0xc5fbbd[_0x8c96('0x3d')];queues[_0xc5fbbd[_0x8c96('0x3d')]][_0x8c96('0x17')]=0x2;queues[_0xc5fbbd[_0x8c96('0x3d')]][_0x8c96('0x6')]=queues[_0xc5fbbd[_0x8c96('0x36')]][_0x8c96('0x6')];queues[_0xc5fbbd[_0x8c96('0x3d')]][_0x8c96('0x39')]=queues[_0xc5fbbd[_0x8c96('0x36')]]['calleridname'];queues[_0xc5fbbd['transfertargetuniqueid']][_0x8c96('0x3e')]=utils['now']();queues[_0xc5fbbd['transfertargetuniqueid']][_0x8c96('0x11')]=utils[_0x8c96('0xe')]();queues[_0xc5fbbd['transfertargetuniqueid']][_0x8c96('0x20')]=0x0;queues[_0xc5fbbd[_0x8c96('0x3d')]][_0x8c96('0x3f')]=0x0;}else{queues[_0xc5fbbd[_0x8c96('0x32')]][_0x8c96('0xc')]=_0xc5fbbd[_0x8c96('0x36')];}}}}catch(_0x2641fd){utils[_0x8c96('0x40')](_0x2641fd[_0x8c96('0x41')]);}};exports[_0x8c96('0x42')]=function(_0x28128e){if(!_[_0x8c96('0x10')](queues[_0x28128e[_0x8c96('0x3')]])){queues[_0x28128e[_0x8c96('0x3')]][_0x8c96('0x43')]=utils[_0x8c96('0xe')]();}};exports['musiconholdstop']=function(_0x1fd04b){if(!_['isNil'](queues[_0x1fd04b[_0x8c96('0x3')]])){if(!_[_0x8c96('0x10')](queues[_0x1fd04b['uniqueid']][_0x8c96('0x43')])){queues[_0x1fd04b[_0x8c96('0x3')]][_0x8c96('0x3f')]+=utils[_0x8c96('0x21')](utils[_0x8c96('0xe')](),queues[_0x1fd04b[_0x8c96('0x3')]]['musiconholdstartAt']);delete queues[_0x1fd04b[_0x8c96('0x3')]][_0x8c96('0x43')];}}}; \ No newline at end of file +var _0xc335=['queuecallerexitreason','COMPLETEDBYAGENT','queuecallerenterreason','varset','queuestatus','value','toUpperCase','CONTINUE','queuecallerabandonAt','queuecallerexit','queuecallerexitAt','queueposition','queuecallerleave','holdtime','diffTime','queuecallerjoinAt','position','count','connectedlinenum','connectedlinename','assigned','accountcode','destaccountcode','lastAssignedTo','membername','agentcomplete','reason','transfer','TRANSFER','blindtransfer','transfereeuniqueid','transfertype','transferexten','extension','BLINDTRANSFER','attendedtransfer','origtransfereruniqueid','origtransfererlinkedid','secondtransfererlinkedid','ATTENDED','origtransfererexten','transferuniqueid','transfereelinkedid','clone','transfertargetuniqueid','calleridname','secondtransfererexten','secondtransfereruniqueid','ATTENDEDTRANSFER','transfertargetlinkedid','mohtime','stack','musiconholdstart','musiconholdstartAt','musiconholdstop','lodash','util','./utils','format','channel','queue','calleridnum','getVoiceQueueByName','then','type','request','CreateVoiceQueueReport','transfereduniqueid','uniqueid','queuecallerjoin','assign','now','hangup','isNil','queuecallerleaveAt','queuecallerabandon','queuecallercomplete','queuecallercompleteAt'];(function(_0x2dba9a,_0x1177e1){var _0x4e6157=function(_0x559e41){while(--_0x559e41){_0x2dba9a['push'](_0x2dba9a['shift']());}};_0x4e6157(++_0x1177e1);}(_0xc335,0xd3));var _0x5c33=function(_0x5f0d45,_0x71e194){_0x5f0d45=_0x5f0d45-0x0;var _0x2b3384=_0xc335[_0x5f0d45];return _0x2b3384;};'use strict';var _=require(_0x5c33('0x0'));var util=require(_0x5c33('0x1'));var utils=require(_0x5c33('0x2'));var queues={};function writeDB(_0x5aafcc){utils['info'](util[_0x5c33('0x3')]('QUEUE|%s|%s|%s|%s|%s|%s|%s',_0x5aafcc['uniqueid'],_0x5aafcc[_0x5c33('0x4')],_0x5aafcc[_0x5c33('0x5')],_0x5aafcc['lastAssignedTo'],_0x5aafcc[_0x5c33('0x6')],_0x5aafcc['accountcode'],_0x5aafcc['queuecallerexitreason']));if(_0x5aafcc[_0x5c33('0x5')]){utils[_0x5c33('0x7')](_0x5aafcc[_0x5c33('0x5')])[_0x5c33('0x8')](function(_0x26ecd8){if(_0x26ecd8){_0x5aafcc['type']=_0x26ecd8[_0x5c33('0x9')];}utils['request']('CreateVoiceQueueReport',_0x5aafcc);});}else{utils[_0x5c33('0xa')](_0x5c33('0xb'),_0x5aafcc);}if(_0x5aafcc[_0x5c33('0xc')]){delete queues[_0x5aafcc[_0x5c33('0xc')]];}else{delete queues[_0x5aafcc[_0x5c33('0xd')]];}}exports[_0x5c33('0xe')]=function(_0x7db2c9){queues[_0x7db2c9[_0x5c33('0xd')]]=_[_0x5c33('0xf')](_0x7db2c9,{'originalposition':_0x7db2c9['position'],'queuecallerjoinAt':utils[_0x5c33('0x10')](),'mohtime':0x0});};exports[_0x5c33('0x11')]=function(_0x172553){if(!_[_0x5c33('0x12')](queues[_0x172553[_0x5c33('0xd')]])){if(queues[_0x172553[_0x5c33('0xd')]][_0x5c33('0x13')]){if(!queues[_0x172553[_0x5c33('0xd')]][_0x5c33('0x14')]&&!queues[_0x172553[_0x5c33('0xd')]]['queuecallerexit']){queues[_0x172553[_0x5c33('0xd')]][_0x5c33('0x15')]=!![];queues[_0x172553[_0x5c33('0xd')]][_0x5c33('0x16')]=utils[_0x5c33('0x10')]();queues[_0x172553[_0x5c33('0xd')]][_0x5c33('0x17')]=_0x5c33('0x18');}writeDB(queues[_0x172553[_0x5c33('0xd')]]);}else{if(queues[_0x172553[_0x5c33('0xd')]][_0x5c33('0xc')]){queues[queues[_0x172553[_0x5c33('0xd')]][_0x5c33('0xc')]]=queues[_0x172553[_0x5c33('0xd')]];queues[queues[_0x172553[_0x5c33('0xd')]][_0x5c33('0xc')]][_0x5c33('0x19')]=0x2;delete queues[_0x172553[_0x5c33('0xd')]];}}}};exports[_0x5c33('0x1a')]=function(_0x36ae74){if(!_[_0x5c33('0x12')](_0x36ae74['variable'][_0x5c33('0x1b')])&&_0x36ae74[_0x5c33('0x1c')][_0x5c33('0x1d')]()!==_0x5c33('0x1e')){if(!_[_0x5c33('0x12')](queues[_0x36ae74[_0x5c33('0xd')]])){queues[_0x36ae74['uniqueid']][_0x5c33('0x14')]=![];queues[_0x36ae74[_0x5c33('0xd')]][_0x5c33('0x1f')]=null;queues[_0x36ae74[_0x5c33('0xd')]][_0x5c33('0x20')]=!![];queues[_0x36ae74[_0x5c33('0xd')]][_0x5c33('0x21')]=utils[_0x5c33('0x10')]();queues[_0x36ae74[_0x5c33('0xd')]][_0x5c33('0x17')]=_0x36ae74[_0x5c33('0x1c')]['toUpperCase']();writeDB(queues[_0x36ae74['uniqueid']]);}}else if(!_[_0x5c33('0x12')](_0x36ae74['variable'][_0x5c33('0x22')])){if(!_['isNil'](queues[_0x36ae74['uniqueid']])&&!queues[_0x36ae74[_0x5c33('0xd')]][_0x5c33('0x14')]){queues[_0x36ae74['uniqueid']][_0x5c33('0x14')]=![];queues[_0x36ae74['uniqueid']][_0x5c33('0x1f')]=null;queues[_0x36ae74[_0x5c33('0xd')]][_0x5c33('0x20')]=!![];queues[_0x36ae74['uniqueid']][_0x5c33('0x21')]=utils[_0x5c33('0x10')]();queues[_0x36ae74[_0x5c33('0xd')]]['queuecallerexitreason']='EXITWITHKEY';}}};exports[_0x5c33('0x14')]=function(_0x30550f){if(!_['isNil'](queues[_0x30550f[_0x5c33('0xd')]])){queues[_0x30550f[_0x5c33('0xd')]][_0x5c33('0x20')]=![];queues[_0x30550f[_0x5c33('0xd')]]['queuecallerexitAt']=null;queues[_0x30550f[_0x5c33('0xd')]][_0x5c33('0x14')]=!![];queues[_0x30550f[_0x5c33('0xd')]][_0x5c33('0x1f')]=utils[_0x5c33('0x10')]();queues[_0x30550f[_0x5c33('0xd')]][_0x5c33('0x17')]='ABANDONED';}};exports[_0x5c33('0x23')]=function(_0xadc74b){if(!_[_0x5c33('0x12')](queues[_0xadc74b[_0x5c33('0xd')]])){queues[_0xadc74b['uniqueid']]['queuecallerleave']=!![];queues[_0xadc74b[_0x5c33('0xd')]][_0x5c33('0x13')]=utils['now']();queues[_0xadc74b['uniqueid']][_0x5c33('0x24')]=utils[_0x5c33('0x25')](queues[_0xadc74b[_0x5c33('0xd')]][_0x5c33('0x13')],queues[_0xadc74b[_0x5c33('0xd')]][_0x5c33('0x26')]);queues[_0xadc74b['uniqueid']]['position']=_0xadc74b[_0x5c33('0x27')];queues[_0xadc74b['uniqueid']][_0x5c33('0x28')]=_0xadc74b[_0x5c33('0x28')];queues[_0xadc74b[_0x5c33('0xd')]][_0x5c33('0x29')]=_0xadc74b[_0x5c33('0x29')];queues[_0xadc74b[_0x5c33('0xd')]][_0x5c33('0x2a')]=_0xadc74b[_0x5c33('0x2a')];}};exports['agentconnect']=function(_0x35e869){if(!_['isNil'](queues[_0x35e869[_0x5c33('0xd')]])){queues[_0x35e869[_0x5c33('0xd')]]['queuecallerabandon']=![];queues[_0x35e869[_0x5c33('0xd')]]['queuecallerabandon']=![];queues[_0x35e869['uniqueid']][_0x5c33('0x1f')]=null;queues[_0x35e869[_0x5c33('0xd')]][_0x5c33('0x20')]=![];queues[_0x35e869['uniqueid']][_0x5c33('0x17')]=null;queues[_0x35e869['uniqueid']][_0x5c33('0x21')]=null;queues[_0x35e869['uniqueid']][_0x5c33('0x2b')]=!![];queues[_0x35e869['uniqueid']][_0x5c33('0x2c')]=_0x35e869[_0x5c33('0x2d')];queues[_0x35e869[_0x5c33('0xd')]][_0x5c33('0x2e')]=_0x35e869[_0x5c33('0x2f')];}};exports[_0x5c33('0x30')]=function(_0x2adf98){if(!_[_0x5c33('0x12')](queues[_0x2adf98[_0x5c33('0xd')]])){if(queues[_0x2adf98[_0x5c33('0xd')]][_0x5c33('0x13')]){queues[_0x2adf98[_0x5c33('0xd')]][_0x5c33('0x14')]=![];queues[_0x2adf98[_0x5c33('0xd')]]['queuecallerabandon']=![];queues[_0x2adf98[_0x5c33('0xd')]][_0x5c33('0x1f')]=null;queues[_0x2adf98[_0x5c33('0xd')]][_0x5c33('0x20')]=![];queues[_0x2adf98[_0x5c33('0xd')]][_0x5c33('0x21')]=null;queues[_0x2adf98[_0x5c33('0xd')]][_0x5c33('0x2b')]=!![];queues[_0x2adf98['uniqueid']]['lastAssignedTo']=_0x2adf98[_0x5c33('0x2f')];queues[_0x2adf98[_0x5c33('0xd')]][_0x5c33('0x15')]=!![];queues[_0x2adf98[_0x5c33('0xd')]][_0x5c33('0x16')]=utils['now']();if(_0x2adf98[_0x5c33('0x31')]==_0x5c33('0x32')){if(!queues[_0x2adf98[_0x5c33('0xd')]][_0x5c33('0x32')]){queues[_0x2adf98[_0x5c33('0xd')]][_0x5c33('0x17')]=_0x5c33('0x33');}}else{queues[_0x2adf98['uniqueid']][_0x5c33('0x17')]='COMPLETEDBY'+_0x2adf98[_0x5c33('0x31')][_0x5c33('0x1d')]();}writeDB(queues[_0x2adf98[_0x5c33('0xd')]]);}}};exports[_0x5c33('0x34')]=function(_0x1bade7){if(!_[_0x5c33('0x12')](queues[_0x1bade7[_0x5c33('0x35')]])){queues[_0x1bade7[_0x5c33('0x35')]][_0x5c33('0x32')]=!![];queues[_0x1bade7['transfereeuniqueid']][_0x5c33('0x36')]='BLIND';queues[_0x1bade7[_0x5c33('0x35')]][_0x5c33('0x37')]=_0x1bade7[_0x5c33('0x38')];queues[_0x1bade7[_0x5c33('0x35')]]['transferuniqueid']=_0x1bade7[_0x5c33('0x35')];queues[_0x1bade7[_0x5c33('0x35')]]['queuecallerexitreason']=_0x5c33('0x39');}};exports[_0x5c33('0x3a')]=function(_0x3efffb){try{if(_0x3efffb[_0x5c33('0x3b')]==_0x3efffb[_0x5c33('0x3c')]){if(!_['isNil'](queues[_0x3efffb[_0x5c33('0x3d')]])){queues[_0x3efffb['secondtransfererlinkedid']][_0x5c33('0x32')]=!![];queues[_0x3efffb[_0x5c33('0x3d')]][_0x5c33('0x36')]=_0x5c33('0x3e');queues[_0x3efffb['secondtransfererlinkedid']]['transferexten']=_0x3efffb[_0x5c33('0x3f')];queues[_0x3efffb[_0x5c33('0x3d')]][_0x5c33('0x40')]=_0x3efffb[_0x5c33('0x3b')];queues[_0x3efffb['secondtransfererlinkedid']]['queuecallerexitreason']='ATTENDEDTRANSFER';}if(!_[_0x5c33('0x12')](queues[_0x3efffb[_0x5c33('0x3c')]])){if(_0x3efffb['transfereelinkedid']&&queues[_0x3efffb[_0x5c33('0x41')]]){queues[_0x3efffb['transfereelinkedid']]['queuecallerenterreason']=0x1;queues[_0x3efffb[_0x5c33('0x35')]]=_[_0x5c33('0x42')](queues[_0x3efffb[_0x5c33('0x41')]]);queues[_0x3efffb[_0x5c33('0x35')]][_0x5c33('0xc')]=_0x3efffb[_0x5c33('0x43')];queues[_0x3efffb['transfereeuniqueid']][_0x5c33('0x19')]=0x2;queues[_0x3efffb[_0x5c33('0x35')]][_0x5c33('0x6')]=queues[_0x3efffb[_0x5c33('0x3d')]][_0x5c33('0x6')];queues[_0x3efffb[_0x5c33('0x35')]]['calleridname']=queues[_0x3efffb[_0x5c33('0x3d')]][_0x5c33('0x44')];queues[_0x3efffb[_0x5c33('0x35')]][_0x5c33('0x26')]=utils['now']();queues[_0x3efffb[_0x5c33('0x35')]][_0x5c33('0x13')]=utils[_0x5c33('0x10')]();queues[_0x3efffb[_0x5c33('0x35')]][_0x5c33('0x24')]=0x0;queues[_0x3efffb[_0x5c33('0x35')]]['mohtime']=0x0;}else{queues[_0x3efffb['origtransfererlinkedid']][_0x5c33('0xc')]=_0x3efffb['secondtransfererlinkedid'];}}}else if(_0x3efffb['secondtransfereruniqueid']==_0x3efffb[_0x5c33('0x3d')]){if(!_[_0x5c33('0x12')](queues[_0x3efffb['origtransfererlinkedid']])){queues[_0x3efffb[_0x5c33('0x3c')]]['transfer']=!![];queues[_0x3efffb[_0x5c33('0x3c')]][_0x5c33('0x36')]=_0x5c33('0x3e');queues[_0x3efffb[_0x5c33('0x3c')]]['transferexten']=_0x3efffb[_0x5c33('0x45')];queues[_0x3efffb[_0x5c33('0x3c')]][_0x5c33('0x40')]=_0x3efffb[_0x5c33('0x46')];queues[_0x3efffb[_0x5c33('0x3c')]]['queuecallerexitreason']=_0x5c33('0x47');}if(!_[_0x5c33('0x12')](queues[_0x3efffb[_0x5c33('0x3d')]])){if(_0x3efffb[_0x5c33('0x48')]&&queues[_0x3efffb[_0x5c33('0x48')]]){queues[_0x3efffb['transfertargetlinkedid']][_0x5c33('0x19')]=0x1;queues[_0x3efffb[_0x5c33('0x43')]]=_[_0x5c33('0x42')](queues[_0x3efffb[_0x5c33('0x48')]]);queues[_0x3efffb['transfertargetuniqueid']][_0x5c33('0xc')]=_0x3efffb[_0x5c33('0x43')];queues[_0x3efffb['transfertargetuniqueid']][_0x5c33('0x19')]=0x2;queues[_0x3efffb['transfertargetuniqueid']][_0x5c33('0x6')]=queues[_0x3efffb['origtransfererlinkedid']][_0x5c33('0x6')];queues[_0x3efffb[_0x5c33('0x43')]][_0x5c33('0x44')]=queues[_0x3efffb[_0x5c33('0x3c')]][_0x5c33('0x44')];queues[_0x3efffb[_0x5c33('0x43')]][_0x5c33('0x26')]=utils[_0x5c33('0x10')]();queues[_0x3efffb[_0x5c33('0x43')]][_0x5c33('0x13')]=utils[_0x5c33('0x10')]();queues[_0x3efffb[_0x5c33('0x43')]][_0x5c33('0x24')]=0x0;queues[_0x3efffb[_0x5c33('0x43')]][_0x5c33('0x49')]=0x0;}else{queues[_0x3efffb['secondtransfererlinkedid']][_0x5c33('0xc')]=_0x3efffb[_0x5c33('0x3c')];}}}}catch(_0x4ea371){utils['error'](_0x4ea371[_0x5c33('0x4a')]);}};exports[_0x5c33('0x4b')]=function(_0x472a00){if(!_[_0x5c33('0x12')](queues[_0x472a00['uniqueid']])){queues[_0x472a00[_0x5c33('0xd')]][_0x5c33('0x4c')]=utils[_0x5c33('0x10')]();}};exports[_0x5c33('0x4d')]=function(_0xb612d9){if(!_['isNil'](queues[_0xb612d9[_0x5c33('0xd')]])){if(!_['isNil'](queues[_0xb612d9['uniqueid']][_0x5c33('0x4c')])){queues[_0xb612d9[_0x5c33('0xd')]][_0x5c33('0x49')]+=utils[_0x5c33('0x25')](utils['now'](),queues[_0xb612d9[_0x5c33('0xd')]][_0x5c33('0x4c')]);delete queues[_0xb612d9[_0x5c33('0xd')]][_0x5c33('0x4c')];}}}; \ No newline at end of file diff --git a/server/services/xdr/recordings.controller.js b/server/services/xdr/recordings.controller.js index b15aa8b..206c336 100644 --- a/server/services/xdr/recordings.controller.js +++ b/server/services/xdr/recordings.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xcb91=['uniqueid','channelstate','transfer','error','varset','variable','mixmonitor_filename','endsWith','value','.wav49','replace','.WAV','find','monitors','push','hangup','calleridnum','calleridname','connectedlinenum','connectedlinename','type','outbound','clone','newexten','toLowerCase','startsWith','appdata','cdr','split','substring','lastIndexOf','queuecallerjoin','queue','debug','accountcode','getUserByInternal','then','name','UserId','CreateVoiceRecording','request','newchannel','linkedid','exten','context','channel','stack','newstate','isNil'];(function(_0x3d497e,_0x1806b6){var _0x3a7e59=function(_0x5ada1f){while(--_0x5ada1f){_0x3d497e['push'](_0x3d497e['shift']());}};_0x3a7e59(++_0x1806b6);}(_0xcb91,0x1a9));var _0x1cb9=function(_0xc55d64,_0x133f2d){_0xc55d64=_0xc55d64-0x0;var _0x4194f6=_0xcb91[_0xc55d64];return _0x4194f6;};'use strict';var _=require('lodash');var utils=require('./utils');var recordings={};function writeDB(_0x26fe42){utils[_0x1cb9('0x0')](_0x26fe42);if(_0x26fe42[_0x1cb9('0x1')]){utils[_0x1cb9('0x2')](_0x26fe42['accountcode'])[_0x1cb9('0x3')](function(_0x2c17b8){if(_0x2c17b8){_0x26fe42['membername']=_0x2c17b8[_0x1cb9('0x4')];_0x26fe42[_0x1cb9('0x5')]=_0x2c17b8['id'];}utils['request'](_0x1cb9('0x6'),_0x26fe42);});}else{utils[_0x1cb9('0x7')]('CreateVoiceRecording',_0x26fe42);}}exports[_0x1cb9('0x8')]=function(_0x12567c){try{if(_0x12567c['uniqueid']==_0x12567c[_0x1cb9('0x9')]){recordings[_0x12567c['uniqueid']]={'uniqueid':_0x12567c['uniqueid'],'accountcode':_0x12567c[_0x1cb9('0x1')],'exten':_0x12567c[_0x1cb9('0xa')],'context':_0x12567c[_0x1cb9('0xb')],'channel':_0x12567c[_0x1cb9('0xc')],'monitors':[]};}}catch(_0x2fc627){utils['error'](_0x2fc627[_0x1cb9('0xd')]);}};exports[_0x1cb9('0xe')]=function(_0x3af35f){try{if(!_[_0x1cb9('0xf')](recordings[_0x3af35f[_0x1cb9('0x10')]])&&_0x3af35f['channelstate']==0x6){}else if(!_['isNil'](recordings[_0x3af35f['linkedid']])&&_0x3af35f[_0x1cb9('0x11')]==0x6&&_0x3af35f[_0x1cb9('0xb')]!=_0x1cb9('0x12')){recordings[_0x3af35f[_0x1cb9('0x9')]]['accountcode']=_0x3af35f[_0x1cb9('0x1')];}}catch(_0x6ef389){utils[_0x1cb9('0x13')](_0x6ef389[_0x1cb9('0xd')]);}};exports[_0x1cb9('0x14')]=function(_0x5806d8){try{if(!_['isNil'](_0x5806d8[_0x1cb9('0x15')])&&!_[_0x1cb9('0xf')](_0x5806d8[_0x1cb9('0x15')][_0x1cb9('0x16')])){if(_[_0x1cb9('0x17')](_0x5806d8[_0x1cb9('0x18')],_0x1cb9('0x19'))){_0x5806d8['value']=_0x5806d8['value'][_0x1cb9('0x1a')](_0x1cb9('0x19'),_0x1cb9('0x1b'));}if(recordings[_0x5806d8[_0x1cb9('0x9')]]){var _0x280a84=_[_0x1cb9('0x1c')](recordings[_0x5806d8[_0x1cb9('0x9')]]['monitors'],{'value':_0x5806d8['value']});if(_[_0x1cb9('0xf')](_0x280a84)){recordings[_0x5806d8['linkedid']][_0x1cb9('0x1d')][_0x1cb9('0x1e')]({'value':_0x5806d8['value']});}}}}catch(_0x599275){utils[_0x1cb9('0x13')](_0x599275[_0x1cb9('0xd')]);}};exports[_0x1cb9('0x1f')]=function(_0x4601b8){try{if(!_[_0x1cb9('0xf')](recordings[_0x4601b8[_0x1cb9('0x10')]])){recordings[_0x4601b8['uniqueid']]['calleridnum']=_0x4601b8[_0x1cb9('0x20')];recordings[_0x4601b8['uniqueid']][_0x1cb9('0x21')]=_0x4601b8[_0x1cb9('0x21')];recordings[_0x4601b8[_0x1cb9('0x10')]][_0x1cb9('0x22')]=_0x4601b8[_0x1cb9('0x22')];recordings[_0x4601b8['uniqueid']][_0x1cb9('0x23')]=_0x4601b8[_0x1cb9('0x23')];if(recordings[_0x4601b8['uniqueid']][_0x1cb9('0x24')]==_0x1cb9('0x25')&&recordings[_0x4601b8[_0x1cb9('0x10')]][_0x1cb9('0x1')]){recordings[_0x4601b8[_0x1cb9('0x10')]][_0x1cb9('0x22')]=recordings[_0x4601b8[_0x1cb9('0x10')]][_0x1cb9('0x1')];recordings[_0x4601b8[_0x1cb9('0x10')]][_0x1cb9('0x23')]='';}recordings[_0x4601b8['uniqueid']][_0x1cb9('0x1d')]['forEach'](_0x110282=>{var _0x4efebc=_[_0x1cb9('0x26')](recordings[_0x4601b8[_0x1cb9('0x10')]]);_0x4efebc[_0x1cb9('0x18')]=_0x110282[_0x1cb9('0x18')];writeDB(_0x4efebc);});delete recordings[_0x4601b8['uniqueid']];}}catch(_0x1c701f){utils['error'](_0x1c701f[_0x1cb9('0xd')]);}};exports[_0x1cb9('0x27')]=function(_0x4220d7){try{if(!_['isNil'](recordings[_0x4220d7[_0x1cb9('0x10')]])){if(_0x4220d7['application'][_0x1cb9('0x28')]()=='set'&&_[_0x1cb9('0x29')](_0x4220d7[_0x1cb9('0x2a')][_0x1cb9('0x28')](),_0x1cb9('0x2b'))){var _0x56c3e0=_0x4220d7[_0x1cb9('0x2a')][_0x1cb9('0x2c')]('=');var _0x3467d5=_0x56c3e0[0x0][_0x1cb9('0x2d')](_0x56c3e0[0x0][_0x1cb9('0x2e')]('(')+0x1,_0x56c3e0[0x0][_0x1cb9('0x2e')](')'));var _0xc6d5fd=_0x56c3e0[0x1];recordings[_0x4220d7[_0x1cb9('0x10')]][_0x3467d5]=_0xc6d5fd;}}}catch(_0x386e8b){utils[_0x1cb9('0x13')](_0x386e8b[_0x1cb9('0xd')]);}};exports[_0x1cb9('0x2f')]=function(_0x29f149){try{if(!_['isNil'](recordings[_0x29f149['uniqueid']])){recordings[_0x29f149[_0x1cb9('0x10')]][_0x1cb9('0x30')]=_0x29f149[_0x1cb9('0x30')];}}catch(_0x29f451){utils[_0x1cb9('0x13')](_0x29f451[_0x1cb9('0xd')]);}}; \ No newline at end of file +var _0x34e8=['membername','name','UserId','CreateVoiceRecording','newchannel','uniqueid','linkedid','exten','context','channel','error','stack','newstate','isNil','channelstate','transfer','variable','mixmonitor_filename','value','.wav49','replace','.WAV','find','monitors','push','hangup','calleridnum','calleridname','connectedlinenum','connectedlinename','type','outbound','clone','newexten','application','toLowerCase','set','startsWith','appdata','cdr','split','substring','lastIndexOf','queuecallerjoin','queue','lodash','./utils','debug','getUserByInternal','accountcode','then'];(function(_0xc67528,_0x24e2fb){var _0x38e26d=function(_0x1b0efe){while(--_0x1b0efe){_0xc67528['push'](_0xc67528['shift']());}};_0x38e26d(++_0x24e2fb);}(_0x34e8,0x12c));var _0x834e=function(_0x2fafb5,_0x2b77af){_0x2fafb5=_0x2fafb5-0x0;var _0x3b33c1=_0x34e8[_0x2fafb5];return _0x3b33c1;};'use strict';var _=require(_0x834e('0x0'));var utils=require(_0x834e('0x1'));var recordings={};function writeDB(_0x8b339){utils[_0x834e('0x2')](_0x8b339);if(_0x8b339['accountcode']){utils[_0x834e('0x3')](_0x8b339[_0x834e('0x4')])[_0x834e('0x5')](function(_0x31bf20){if(_0x31bf20){_0x8b339[_0x834e('0x6')]=_0x31bf20[_0x834e('0x7')];_0x8b339[_0x834e('0x8')]=_0x31bf20['id'];}utils['request'](_0x834e('0x9'),_0x8b339);});}else{utils['request'](_0x834e('0x9'),_0x8b339);}}exports[_0x834e('0xa')]=function(_0x3a3ef6){try{if(_0x3a3ef6[_0x834e('0xb')]==_0x3a3ef6[_0x834e('0xc')]){recordings[_0x3a3ef6[_0x834e('0xb')]]={'uniqueid':_0x3a3ef6[_0x834e('0xb')],'accountcode':_0x3a3ef6[_0x834e('0x4')],'exten':_0x3a3ef6[_0x834e('0xd')],'context':_0x3a3ef6[_0x834e('0xe')],'channel':_0x3a3ef6[_0x834e('0xf')],'monitors':[]};}}catch(_0x36e124){utils[_0x834e('0x10')](_0x36e124[_0x834e('0x11')]);}};exports[_0x834e('0x12')]=function(_0x1e00de){try{if(!_[_0x834e('0x13')](recordings[_0x1e00de['uniqueid']])&&_0x1e00de[_0x834e('0x14')]==0x6){}else if(!_[_0x834e('0x13')](recordings[_0x1e00de['linkedid']])&&_0x1e00de[_0x834e('0x14')]==0x6&&_0x1e00de[_0x834e('0xe')]!=_0x834e('0x15')){recordings[_0x1e00de[_0x834e('0xc')]]['accountcode']=_0x1e00de[_0x834e('0x4')];}}catch(_0x302cbd){utils['error'](_0x302cbd[_0x834e('0x11')]);}};exports['varset']=function(_0x38a8cd){try{if(!_[_0x834e('0x13')](_0x38a8cd['variable'])&&!_[_0x834e('0x13')](_0x38a8cd[_0x834e('0x16')][_0x834e('0x17')])){if(_['endsWith'](_0x38a8cd[_0x834e('0x18')],_0x834e('0x19'))){_0x38a8cd[_0x834e('0x18')]=_0x38a8cd[_0x834e('0x18')][_0x834e('0x1a')](_0x834e('0x19'),_0x834e('0x1b'));}if(recordings[_0x38a8cd['linkedid']]){var _0x2545b4=_[_0x834e('0x1c')](recordings[_0x38a8cd[_0x834e('0xc')]][_0x834e('0x1d')],{'value':_0x38a8cd['value']});if(_[_0x834e('0x13')](_0x2545b4)){recordings[_0x38a8cd[_0x834e('0xc')]]['monitors'][_0x834e('0x1e')]({'value':_0x38a8cd[_0x834e('0x18')]});}}}}catch(_0x8d406e){utils['error'](_0x8d406e['stack']);}};exports[_0x834e('0x1f')]=function(_0x34563b){try{if(!_['isNil'](recordings[_0x34563b[_0x834e('0xb')]])){recordings[_0x34563b[_0x834e('0xb')]]['calleridnum']=_0x34563b[_0x834e('0x20')];recordings[_0x34563b[_0x834e('0xb')]][_0x834e('0x21')]=_0x34563b['calleridname'];recordings[_0x34563b[_0x834e('0xb')]][_0x834e('0x22')]=_0x34563b['connectedlinenum'];recordings[_0x34563b['uniqueid']][_0x834e('0x23')]=_0x34563b['connectedlinename'];if(recordings[_0x34563b[_0x834e('0xb')]][_0x834e('0x24')]==_0x834e('0x25')&&recordings[_0x34563b[_0x834e('0xb')]][_0x834e('0x4')]){recordings[_0x34563b[_0x834e('0xb')]]['connectedlinenum']=recordings[_0x34563b['uniqueid']]['accountcode'];recordings[_0x34563b['uniqueid']][_0x834e('0x23')]='';}recordings[_0x34563b[_0x834e('0xb')]][_0x834e('0x1d')]['forEach'](_0xb5bc06=>{var _0x11f1ce=_[_0x834e('0x26')](recordings[_0x34563b[_0x834e('0xb')]]);_0x11f1ce[_0x834e('0x18')]=_0xb5bc06[_0x834e('0x18')];writeDB(_0x11f1ce);});delete recordings[_0x34563b[_0x834e('0xb')]];}}catch(_0xfaf716){utils[_0x834e('0x10')](_0xfaf716['stack']);}};exports[_0x834e('0x27')]=function(_0x5cad11){try{if(!_[_0x834e('0x13')](recordings[_0x5cad11[_0x834e('0xb')]])){if(_0x5cad11[_0x834e('0x28')][_0x834e('0x29')]()==_0x834e('0x2a')&&_[_0x834e('0x2b')](_0x5cad11[_0x834e('0x2c')][_0x834e('0x29')](),_0x834e('0x2d'))){var _0x12b2bc=_0x5cad11['appdata'][_0x834e('0x2e')]('=');var _0x2f408a=_0x12b2bc[0x0][_0x834e('0x2f')](_0x12b2bc[0x0][_0x834e('0x30')]('(')+0x1,_0x12b2bc[0x0]['lastIndexOf'](')'));var _0x3f88ad=_0x12b2bc[0x1];recordings[_0x5cad11[_0x834e('0xb')]][_0x2f408a]=_0x3f88ad;}}}catch(_0x4b12f5){utils['error'](_0x4b12f5['stack']);}};exports[_0x834e('0x31')]=function(_0x41bf4d){try{if(!_[_0x834e('0x13')](recordings[_0x41bf4d[_0x834e('0xb')]])){recordings[_0x41bf4d[_0x834e('0xb')]][_0x834e('0x32')]=_0x41bf4d['queue'];}}catch(_0x2c2d94){utils['error'](_0x2c2d94[_0x834e('0x11')]);}}; \ No newline at end of file diff --git a/server/services/xdr/transfers.controller.js b/server/services/xdr/transfers.controller.js index 94ce87b..64f5929 100644 --- a/server/services/xdr/transfers.controller.js +++ b/server/services/xdr/transfers.controller.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x9ff4=['transfertargetcalleridnum','transfertargetconnectedlinename','transfertargetcontext','transfertargetexten','transfertargetlinkedid','stack','info','format','TRANSFER|%s','request','CreateVoiceTransferReport','blindtransfer','type','blind','error','assign','origtransferercalleridname','secondtransfererconnectedlinenum','secondtransfererconnectedlinename','origtransfereraccountcode','secondtransferercontext','secondtransfererexten','origtransfererlinkedid','origtransferercontext','transfereechannel'];(function(_0x13a1a0,_0x4c166e){var _0x2788e2=function(_0x1806c3){while(--_0x1806c3){_0x13a1a0['push'](_0x13a1a0['shift']());}};_0x2788e2(++_0x4c166e);}(_0x9ff4,0x196));var _0x49ff=function(_0x3498d0,_0x51c002){_0x3498d0=_0x3498d0-0x0;var _0x495fbf=_0x9ff4[_0x3498d0];return _0x495fbf;};'use strict';var _=require('lodash');var util=require('util');var utils=require('./utils');function writeDB(_0x2e465b){utils[_0x49ff('0x0')](util[_0x49ff('0x1')](_0x49ff('0x2'),_0x2e465b['type']));utils[_0x49ff('0x3')](_0x49ff('0x4'),_0x2e465b);}exports[_0x49ff('0x5')]=function(_0x28ded1){try{_0x28ded1[_0x49ff('0x6')]=_0x49ff('0x7');writeDB(_0x28ded1);}catch(_0xe967d3){utils[_0x49ff('0x8')](_0xe967d3['stack']);}};exports['attendedtransfer']=function(_0x304f83){try{_0x304f83=_[_0x49ff('0x9')](_0x304f83,{'transfererchannel':_0x304f83['origtransfererchannel'],'transferercalleridnum':_0x304f83['origtransferercalleridnum'],'transferercalleridname':_0x304f83[_0x49ff('0xa')],'transfererconnectedlinenum':_0x304f83[_0x49ff('0xb')],'transfererconnectedlinename':_0x304f83[_0x49ff('0xc')],'transfereraccountcode':_0x304f83[_0x49ff('0xd')],'transferercontext':_0x304f83[_0x49ff('0xe')],'transfererexten':_0x304f83[_0x49ff('0xf')],'transfererlinkedid':_0x304f83[_0x49ff('0x10')],'context':_0x304f83[_0x49ff('0x11')],'extension':_0x304f83['origtransfererexten'],'type':'attended'});if(_['isNil'](_0x304f83[_0x49ff('0x12')])){_0x304f83=_[_0x49ff('0x9')](_0x304f83,{'transfereechannel':_0x304f83['transfertargetchannel'],'transfereecalleridnum':_0x304f83[_0x49ff('0x13')],'transfereecalleridname':_0x304f83['transfertargetcalleridname'],'transfereeconnectedlinenum':_0x304f83['transfertargetconnectedlinenum'],'transfereeconnectedlinename':_0x304f83[_0x49ff('0x14')],'transfereeaccountcode':_0x304f83['transfertargetaccountcode'],'transfereecontext':_0x304f83[_0x49ff('0x15')],'transfereeexten':_0x304f83[_0x49ff('0x16')],'transfereelinkedid':_0x304f83[_0x49ff('0x17')]});}writeDB(_0x304f83);}catch(_0x48ed6d){utils[_0x49ff('0x8')](_0x48ed6d[_0x49ff('0x18')]);}}; \ No newline at end of file +var _0xe829=['assign','transfertargetchannel','transfertargetconnectedlinenum','transfertargetconnectedlinename','transfertargetaccountcode','transfertargetcontext','transfertargetlinkedid','lodash','util','./utils','format','TRANSFER|%s','type','request','CreateVoiceTransferReport','blindtransfer','blind','error','stack','origtransfererchannel','origtransferercalleridnum','secondtransfererconnectedlinename','origtransfereraccountcode','secondtransferercontext','secondtransfererexten','origtransfererlinkedid','origtransferercontext','origtransfererexten','attended','isNil','transfereechannel'];(function(_0x243c38,_0x5f33d4){var _0x32f455=function(_0x55c8a6){while(--_0x55c8a6){_0x243c38['push'](_0x243c38['shift']());}};_0x32f455(++_0x5f33d4);}(_0xe829,0x1d8));var _0x9e82=function(_0x388493,_0x23301e){_0x388493=_0x388493-0x0;var _0x5300a1=_0xe829[_0x388493];return _0x5300a1;};'use strict';var _=require(_0x9e82('0x0'));var util=require(_0x9e82('0x1'));var utils=require(_0x9e82('0x2'));function writeDB(_0x541e02){utils['info'](util[_0x9e82('0x3')](_0x9e82('0x4'),_0x541e02[_0x9e82('0x5')]));utils[_0x9e82('0x6')](_0x9e82('0x7'),_0x541e02);}exports[_0x9e82('0x8')]=function(_0x580d41){try{_0x580d41[_0x9e82('0x5')]=_0x9e82('0x9');writeDB(_0x580d41);}catch(_0x1a63b3){utils[_0x9e82('0xa')](_0x1a63b3[_0x9e82('0xb')]);}};exports['attendedtransfer']=function(_0x149f39){try{_0x149f39=_['assign'](_0x149f39,{'transfererchannel':_0x149f39[_0x9e82('0xc')],'transferercalleridnum':_0x149f39[_0x9e82('0xd')],'transferercalleridname':_0x149f39['origtransferercalleridname'],'transfererconnectedlinenum':_0x149f39['secondtransfererconnectedlinenum'],'transfererconnectedlinename':_0x149f39[_0x9e82('0xe')],'transfereraccountcode':_0x149f39[_0x9e82('0xf')],'transferercontext':_0x149f39[_0x9e82('0x10')],'transfererexten':_0x149f39[_0x9e82('0x11')],'transfererlinkedid':_0x149f39[_0x9e82('0x12')],'context':_0x149f39[_0x9e82('0x13')],'extension':_0x149f39[_0x9e82('0x14')],'type':_0x9e82('0x15')});if(_[_0x9e82('0x16')](_0x149f39[_0x9e82('0x17')])){_0x149f39=_[_0x9e82('0x18')](_0x149f39,{'transfereechannel':_0x149f39[_0x9e82('0x19')],'transfereecalleridnum':_0x149f39['transfertargetcalleridnum'],'transfereecalleridname':_0x149f39['transfertargetcalleridname'],'transfereeconnectedlinenum':_0x149f39[_0x9e82('0x1a')],'transfereeconnectedlinename':_0x149f39[_0x9e82('0x1b')],'transfereeaccountcode':_0x149f39[_0x9e82('0x1c')],'transfereecontext':_0x149f39[_0x9e82('0x1d')],'transfereeexten':_0x149f39['transfertargetexten'],'transfereelinkedid':_0x149f39[_0x9e82('0x1e')]});}writeDB(_0x149f39);}catch(_0xfa4802){utils[_0x9e82('0xa')](_0xfa4802[_0x9e82('0xb')]);}}; \ No newline at end of file diff --git a/server/services/xdr/utils.js b/server/services/xdr/utils.js index 4c21efd..f7f04d0 100644 --- a/server/services/xdr/utils.js +++ b/server/services/xdr/utils.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xcb77=['acw','acwTimeout','GETVOICEQUEUEBYNAME|','length','addTime','seconds','format','subtractTime','subtract','YYYY-MM-DD\x20HH:mm:ss','diffTime','sumTime','now','isAfter','isBefore','jayson/promise','moment','bluebird','client','http','../../config/logger','xdr','info','debug','stringify','error','stack','request','then','catch','GetUser','internal','name','interface','GETUSER|','result','FOUND','NOTFOUND','getUserByInternal','getUserByInterface','getVoiceQueueByName','GetVoiceQueue','type'];(function(_0xe6e78c,_0x582369){var _0x2a09c8=function(_0x470ccc){while(--_0x470ccc){_0xe6e78c['push'](_0xe6e78c['shift']());}};_0x2a09c8(++_0x582369);}(_0xcb77,0x13c));var _0x7cb7=function(_0x173d7e,_0x3242fd){_0x173d7e=_0x173d7e-0x0;var _0x2220d6=_0xcb77[_0x173d7e];return _0x2220d6;};'use strict';var jayson=require(_0x7cb7('0x0'));var moment=require(_0x7cb7('0x1'));var BPromise=require(_0x7cb7('0x2'));var client=jayson[_0x7cb7('0x3')][_0x7cb7('0x4')]({'port':0x2329});var logger=require(_0x7cb7('0x5'))(_0x7cb7('0x6'));exports[_0x7cb7('0x7')]=function(_0x35b633){logger[_0x7cb7('0x7')](_0x35b633);};exports[_0x7cb7('0x8')]=function(_0x3568c0){logger[_0x7cb7('0x8')](JSON[_0x7cb7('0x9')](_0x3568c0));};exports[_0x7cb7('0xa')]=function(_0x463879){logger[_0x7cb7('0xa')](_0x463879[_0x7cb7('0xb')]);};exports[_0x7cb7('0xc')]=function(_0x5d7415,_0x1095fa){return client[_0x7cb7('0xc')](_0x5d7415,{'body':_0x1095fa})[_0x7cb7('0xd')](function(_0x3836a4){logger[_0x7cb7('0x8')](JSON[_0x7cb7('0x9')](_0x3836a4));})[_0x7cb7('0xe')](function(_0xfa3137){logger[_0x7cb7('0xa')](_0xfa3137[_0x7cb7('0xb')]);});};function getUser(_0x372e60){return client[_0x7cb7('0xc')](_0x7cb7('0xf'),{'options':{'raw':!![],'attributes':['id',_0x7cb7('0x10'),_0x7cb7('0x11'),_0x7cb7('0x12')],'where':_0x372e60,'limit':0x1}})[_0x7cb7('0xd')](function(_0x3a9262){logger['info'](_0x7cb7('0x13')+JSON[_0x7cb7('0x9')](_0x372e60)+'|'+(_0x3a9262[_0x7cb7('0x14')]['length']?_0x7cb7('0x15'):_0x7cb7('0x16')));return _0x3a9262['result']['length']?_0x3a9262[_0x7cb7('0x14')][0x0]:null;});}exports[_0x7cb7('0x17')]=function(_0x216fd5){return new BPromise(function(_0x191087,_0x3c38a3){if(_0x216fd5){return getUser({'internal':_0x216fd5})[_0x7cb7('0xd')](function(_0xb2f5eb){return _0x191087(_0xb2f5eb);})[_0x7cb7('0xe')](function(_0x373361){logger[_0x7cb7('0xa')](_0x373361[_0x7cb7('0xb')]);return _0x191087(null);});}else{return _0x191087(null);}});};exports[_0x7cb7('0x18')]=function(_0x3a4189){return new BPromise(function(_0x51b539,_0x4e3b37){if(_0x3a4189){return getUser({'interface':_0x3a4189})[_0x7cb7('0xd')](function(_0x394698){return _0x51b539(_0x394698);})[_0x7cb7('0xe')](function(_0x5d6c00){logger['error'](_0x5d6c00[_0x7cb7('0xb')]);return _0x51b539(null);});}else{return _0x51b539(null);}});};exports['getUserByName']=function(_0x54ba91){return new BPromise(function(_0x49910a,_0x4409b4){if(_0x54ba91){return getUser({'name':_0x54ba91})[_0x7cb7('0xd')](function(_0x189a7f){return _0x49910a(_0x189a7f);})[_0x7cb7('0xe')](function(_0x183138){logger[_0x7cb7('0xa')](_0x183138['stack']);return _0x49910a(null);});}else{return _0x49910a(null);}});};exports[_0x7cb7('0x19')]=function(_0x513526){return new BPromise(function(_0x4e12fd,_0x6f1f9c){if(_0x513526){return client['request'](_0x7cb7('0x1a'),{'options':{'raw':!![],'attributes':['id',_0x7cb7('0x11'),_0x7cb7('0x1b'),_0x7cb7('0x1c'),_0x7cb7('0x1d')],'where':{'name':_0x513526},'limit':0x1}})[_0x7cb7('0xd')](function(_0x5af0fb){logger['info'](_0x7cb7('0x1e')+_0x513526+'|'+(_0x5af0fb[_0x7cb7('0x14')][_0x7cb7('0x1f')]?_0x7cb7('0x15'):_0x7cb7('0x16')));return _0x4e12fd(_0x5af0fb[_0x7cb7('0x14')][_0x7cb7('0x1f')]?_0x5af0fb['result'][0x0]:null);})[_0x7cb7('0xe')](function(_0x5b41b7){logger[_0x7cb7('0xa')](_0x5b41b7[_0x7cb7('0xb')]);return _0x4e12fd(null);});}else{return _0x4e12fd(null);}});};exports[_0x7cb7('0x20')]=function(_0x5eeb16,_0x30ea9d){return moment(_0x5eeb16)['add'](_0x30ea9d,_0x7cb7('0x21'))[_0x7cb7('0x22')]('YYYY-MM-DD\x20HH:mm:ss');};exports[_0x7cb7('0x23')]=function(_0x2818c2,_0x5e34f0){return moment(_0x2818c2)[_0x7cb7('0x24')](_0x5e34f0,_0x7cb7('0x21'))[_0x7cb7('0x22')](_0x7cb7('0x25'));};exports[_0x7cb7('0x26')]=function(_0x14c175,_0x283a0e){return moment(_0x14c175)['diff'](moment(_0x283a0e),_0x7cb7('0x21'));};exports[_0x7cb7('0x27')]=function(_0x4e7c8d,_0x1f7ef3){return parseInt(_0x4e7c8d,0xa)+parseInt(_0x1f7ef3,0xa);};exports[_0x7cb7('0x28')]=function(){return moment()[_0x7cb7('0x22')](_0x7cb7('0x25'));};exports['isAfter']=function(_0x593d37,_0x47171f){if(_0x47171f){return moment(_0x593d37)[_0x7cb7('0x29')](_0x47171f);}else{return!![];}};exports[_0x7cb7('0x2a')]=function(_0x572fc1,_0x2e6162){if(_0x2e6162){return moment(_0x572fc1)['isBefore'](_0x2e6162);}else if(_0x572fc1){return!![];}else{return![];}}; \ No newline at end of file +var _0x4b15=['GetVoiceQueue','acw','acwTimeout','GETVOICEQUEUEBYNAME|','addTime','add','seconds','format','YYYY-MM-DD\x20HH:mm:ss','subtractTime','subtract','diff','now','isAfter','isBefore','jayson/promise','bluebird','http','info','debug','stringify','error','stack','request','then','catch','GetUser','internal','name','interface','length','FOUND','NOTFOUND','result','getUserByName','getVoiceQueueByName'];(function(_0x50d0db,_0x1d3420){var _0x1dabe4=function(_0x3dcb6a){while(--_0x3dcb6a){_0x50d0db['push'](_0x50d0db['shift']());}};_0x1dabe4(++_0x1d3420);}(_0x4b15,0x1e3));var _0x54b1=function(_0x4f458e,_0x2a4844){_0x4f458e=_0x4f458e-0x0;var _0x1138f2=_0x4b15[_0x4f458e];return _0x1138f2;};'use strict';var jayson=require(_0x54b1('0x0'));var moment=require('moment');var BPromise=require(_0x54b1('0x1'));var client=jayson['client'][_0x54b1('0x2')]({'port':0x2329});var logger=require('../../config/logger')('xdr');exports[_0x54b1('0x3')]=function(_0x28d9ce){logger[_0x54b1('0x3')](_0x28d9ce);};exports['debug']=function(_0x466ac1){logger[_0x54b1('0x4')](JSON[_0x54b1('0x5')](_0x466ac1));};exports[_0x54b1('0x6')]=function(_0x31f39c){logger['error'](_0x31f39c[_0x54b1('0x7')]);};exports[_0x54b1('0x8')]=function(_0x2951ad,_0x3e35d0){return client[_0x54b1('0x8')](_0x2951ad,{'body':_0x3e35d0})[_0x54b1('0x9')](function(_0x48536b){logger[_0x54b1('0x4')](JSON[_0x54b1('0x5')](_0x48536b));})[_0x54b1('0xa')](function(_0x11b53f){logger[_0x54b1('0x6')](_0x11b53f[_0x54b1('0x7')]);});};function getUser(_0x4080c0){return client[_0x54b1('0x8')](_0x54b1('0xb'),{'options':{'raw':!![],'attributes':['id',_0x54b1('0xc'),_0x54b1('0xd'),_0x54b1('0xe')],'where':_0x4080c0,'limit':0x1}})['then'](function(_0x198c49){logger[_0x54b1('0x3')]('GETUSER|'+JSON['stringify'](_0x4080c0)+'|'+(_0x198c49['result'][_0x54b1('0xf')]?_0x54b1('0x10'):_0x54b1('0x11')));return _0x198c49[_0x54b1('0x12')][_0x54b1('0xf')]?_0x198c49[_0x54b1('0x12')][0x0]:null;});}exports['getUserByInternal']=function(_0x270f33){return new BPromise(function(_0x4fb77a,_0xa8bcd8){if(_0x270f33){return getUser({'internal':_0x270f33})[_0x54b1('0x9')](function(_0x42495a){return _0x4fb77a(_0x42495a);})[_0x54b1('0xa')](function(_0x5cc280){logger[_0x54b1('0x6')](_0x5cc280[_0x54b1('0x7')]);return _0x4fb77a(null);});}else{return _0x4fb77a(null);}});};exports['getUserByInterface']=function(_0x1f905a){return new BPromise(function(_0x192a95,_0xf324e8){if(_0x1f905a){return getUser({'interface':_0x1f905a})[_0x54b1('0x9')](function(_0x86ac08){return _0x192a95(_0x86ac08);})[_0x54b1('0xa')](function(_0x528a9c){logger[_0x54b1('0x6')](_0x528a9c[_0x54b1('0x7')]);return _0x192a95(null);});}else{return _0x192a95(null);}});};exports[_0x54b1('0x13')]=function(_0x3fe950){return new BPromise(function(_0x1b3de6,_0x15e7b2){if(_0x3fe950){return getUser({'name':_0x3fe950})['then'](function(_0x457c0a){return _0x1b3de6(_0x457c0a);})[_0x54b1('0xa')](function(_0x4be3b6){logger[_0x54b1('0x6')](_0x4be3b6[_0x54b1('0x7')]);return _0x1b3de6(null);});}else{return _0x1b3de6(null);}});};exports[_0x54b1('0x14')]=function(_0x2b47a8){return new BPromise(function(_0x2f65ea,_0x2a7613){if(_0x2b47a8){return client[_0x54b1('0x8')](_0x54b1('0x15'),{'options':{'raw':!![],'attributes':['id',_0x54b1('0xd'),'type',_0x54b1('0x16'),_0x54b1('0x17')],'where':{'name':_0x2b47a8},'limit':0x1}})['then'](function(_0x51a8c4){logger[_0x54b1('0x3')](_0x54b1('0x18')+_0x2b47a8+'|'+(_0x51a8c4[_0x54b1('0x12')][_0x54b1('0xf')]?'FOUND':'NOTFOUND'));return _0x2f65ea(_0x51a8c4[_0x54b1('0x12')][_0x54b1('0xf')]?_0x51a8c4[_0x54b1('0x12')][0x0]:null);})['catch'](function(_0x55ae96){logger['error'](_0x55ae96[_0x54b1('0x7')]);return _0x2f65ea(null);});}else{return _0x2f65ea(null);}});};exports[_0x54b1('0x19')]=function(_0x1b84f9,_0x4f1d1a){return moment(_0x1b84f9)[_0x54b1('0x1a')](_0x4f1d1a,_0x54b1('0x1b'))[_0x54b1('0x1c')](_0x54b1('0x1d'));};exports[_0x54b1('0x1e')]=function(_0x53440c,_0xe3b01f){return moment(_0x53440c)[_0x54b1('0x1f')](_0xe3b01f,_0x54b1('0x1b'))['format']('YYYY-MM-DD\x20HH:mm:ss');};exports['diffTime']=function(_0x404683,_0x47eda5){return moment(_0x404683)[_0x54b1('0x20')](moment(_0x47eda5),_0x54b1('0x1b'));};exports['sumTime']=function(_0x2b0cd1,_0x47dd96){return parseInt(_0x2b0cd1,0xa)+parseInt(_0x47dd96,0xa);};exports[_0x54b1('0x21')]=function(){return moment()[_0x54b1('0x1c')](_0x54b1('0x1d'));};exports['isAfter']=function(_0xa9aefa,_0x483141){if(_0x483141){return moment(_0xa9aefa)[_0x54b1('0x22')](_0x483141);}else{return!![];}};exports['isBefore']=function(_0x29c32e,_0x9de5){if(_0x9de5){return moment(_0x29c32e)[_0x54b1('0x23')](_0x9de5);}else if(_0x29c32e){return!![];}else{return![];}}; \ No newline at end of file
','
',' ','padding','20px','errorImage','valign','bottom','middle','errorResource','float:right','closeResource','TOOLTIP_VERTICAL_OFFSET','autoscroll','setGuidesEnabled','highlightDropTargets','createDragElement','exact','faster','fastest','vml','preferHtml','strictHtml','http://www.w3.org/2000/svg','http://www.w3.org/1999/xhtml','#00FF00','#FF0000','move','#0000FF','#0099FF','yellow','#00FFFF','Arial,Helvetica','sourcePort','targetPort','textOpacity','exitX','exitY','exitPerimeter','entryX','entryY','entryPerimeter','whiteSpace','rotation','fillColor','swimlaneFillColor','gradientDirection','strokeColor','separatorColor','strokeWidth','labelPosition','imageAspect','imageAlign','imageVerticalAlign','glass','imageWidth','imageBackground','imageBorder','flipH','flipV','noLabel','noEdgeStyle','labelBorderColor','labelPadding','indicatorShape','indicatorImage','indicatorColor','indicatorStrokeColor','indicatorGradientColor','indicatorSpacing','indicatorHeight','indicatorDirection','segment','endArrow','endSize','startSize','swimlaneLine','endFill','startFill','dashed','curved','arcSize','smooth','sourcePerimeterSpacing','targetPerimeterSpacing','perimeterSpacing','spacing','spacingTop','spacingLeft','spacingRight','elbow','fontStyle','autosize','foldable','editable','movable','edgeStyle','loopStyle','routingCenterX','routingCenterY','rectangle','ellipse','doubleEllipse','arrow','cylinder','swimlane','connector','actor','cloud','triangle','hexagon','classic','diamond','diamondThin','south','east','entityRelationEdgeStyle','loopEdgeStyle','sideToSideEdgeStyle','topToBottomEdgeStyle','orthogonalEdgeStyle','segmentEdgeStyle','ellipsePerimeter','trianglePerimeter','consumed','getName','getProperties','getProperty','isConsumed','consume','evt','graphX','graphY','getEvent','getSource','isSource','getX','getClientY','getGraphX','isPopupTrigger','setEventSource','eventListeners','eventSource','isEventsEnabled','eventsEnabled','getEventSource','fireEvent','objects','removeEventListener','detachEvent','mousedown','mouseup','IS_TOUCH','touchstart','touchmove','mousemove','addGestureListeners','MOUSE_DOWN','MOUSE_MOVE','dblclick','release','event','detail','mousewheel','DOMMouseScroll','oncontextmenu','return\x20false;','srcElement','isRightMouseButton','isShiftDown','isControlDown','metaKey','touches','touchend','changedTouches','getMainEvent','clientX','clientY','stopPropagation','returnValue','mouseDown','activate','resizeEnd','moveStart','moveEnd','panStart','pan','panEnd','normalize','maximize','fired','receive','suspend','beforeAddVertex','addVertex','afterAddVertex','executed','startEdit','beforeUndo','notify','layoutCells','addCells','cellsAdded','moveCells','resizeCells','cellsResized','toggleCells','orderCells','cellsOrdered','cellsRemoved','groupCells','ungroupCells','removeCellsFromParent','cellsFolded','alignCells','connectCell','cellConnected','splitEdge','flipEdge','addOverlay','removeOverlay','updateCellSize','doubleClick','async','method','binary','isBinary','setBinary','getDocumentElement','getXml','responseXML','responseText','getStatus','overrideMimeType','text/plain;\x20charset=x-user-defined','Microsoft.XMLHTTP','onreadystatechaange','setRequestHeaders','Content-Type','application/x-www-form-urlencoded','onbeforeunload','submit','cells','insertCount','removeCells','getSelectionCells','getExportableCells','getImportableCells','importCells','setSelectionCells','installMaximizeHandler','installMinimizeHandler','setMinimizable','installMoveHandler','replaceChild','closeImage','minimizeImage','/minimize.gif','normalizeImage','/normalize.gif','/maximize.gif','resizeImage','destroyOnClose','mxWindow','Pane','contentWrapper','setScrollable','getCurrentStyle','getElement','activeWindow','zIndex','ACTIVATE','fit','isResizable','2px','/resize.gif','nw-resize','getClientX','setSize','RESIZE','minimumSize','getMinimumSize','1px','Minimize','Normalize','MINIMIZE','maximizeImage','Maximize','marginLeft','getY','MOVE','removeGestureListeners','MOVE_START','installCloseHandler','closeImg','insertBefore','CLOSE','setImage','marginRight','marginTop','-2px','isVisible','HIDE','DESTROY','getTable','addButtons','addText','addField','addCheckbox','addCombo','multiple','resizeWidth','resizeHeight','handlingResize','getDocumentWidth','getDocumentHeight','dropHandler','dragOffset','previewElement','currentGraph','currentDropTarget','currentGuide','currentHighlight','guidesEnabled','dragElementZIndex','dragElementOpacity','setEnabled','isGuidesEnabled','setGridEnabled','gridEnabled','getGraphForEvent','getDropTarget','createPreviewElement','mouseMoveHandler','startDrag','mouseMove','mouseUpHandler','dragElement','stopDrag','graphContainsEvent','getOffset','dragExit','dragEnter','dragOver','mouseUp','currentPoint','isMouseDown','autoScroll','isGridEnabled','isEnabledForEvent','gridSize','snap','previewOffset','noReset','mxToolbarMode','mxToolbarItem','backgroundColor','gray','menu','currentImg','isMenuShowing','hideMenu','factoryMethod','Selected','mouseout','mxToolbarComboContainer','mxToolbarCombo','addActionCombo','addOption','funct','addSwitchMode','initialClassName','altIcon','selectedMode','updateDefaultMode','defaultMode','addMode','selectMode','SELECT','defaultFunction','addSeparator','addBreak','addLine','6px','urlPoll','urlNotify','codec','NOTIFY','suspended','','encodeChanges','undone','','urlInit','linefeed','escapePostData','sent','received','connected','CONNECT','poll','SUSPEND','DISCONNECT','\x20xml=','','','isValidResponse','Invalid\x20response:\x20','Response\x20not\x20ready','Transmission\x20error','namespace','processState','delta','decode','processDelta','processEdit','decodeChanges','createUndoableEdit','CHANGE','changes','UNDO','FIRED','significantRemoteChanges','source','decodeChange','mxRootChange','mxChildChange','cellRemoved','putObject','getId','getChildCount','significant','redone','isSignificant','die','START_EDIT','EXECUTED','change','END_EDIT','redo','history','indexOfNextAdd','canUndo','canRedo','ADD','pathname','t0y','t0x','tdy','tdx','mouseListener','addMouseListener','scrollbars','hasScrollbars','setInterval','panGraph','panDy','PAN','getDx','delay','getDy','panTo','handleMouseOut','damper','thread','clearInterval','panDx','removeMouseListener','/submenu.gif','useLeftButtonForPopup','itemCount','autoExpand','smartSeparators','mxPopupMenu','disableContextMenu','isEnabled','isLeftMouseButton','containsItems','mxPopupMenuItem','\x20disabled','createSubmenu','eventReceiver','activeRow','hideSubmenu','mxPopupMenuItemHover','submenuImage','showSubmenu','willAddSeparator','mxPopupMenuIcon','0\x200\x200\x200px','colSpan','SHOW','changeHandler','graphModelChanged','setGraph','graph','autoSaveDelay','autoSaveThrottle','autoSaveThreshold','ignoredChanges','lastSnapshot','startAnimation','updateAnimation','EXECUTE','stopAnimation','animateCell','getDelta','moveState','ease','stopRecursion','getOriginForCell','getScale','alt','putImage','getImage','fallback','includeOverlays','visitStatesRecursive','drawCellState','drawOverlays','paint','restore','overlays','converter','createUrlConverter','states','rotateHtml','lastY','moveOp','lineOp','quadOp','curveOp','pointerEvents','createState','3\x203','flat','miter','#000000','SHADOWCOLOR','SHADOW_OPACITY','SHADOW_OFFSET_X','SHADOW_OFFSET_Y','lastX','rotatePoint','alpha','setFillColor','setGradient','fillAlpha','gradientColor','setStrokeWidth','setDashed','dashPattern','setLineCap','lineCap','setLineJoin','lineJoin','setMiterLimit','setFontColor','setFontBackgroundColor','fontBackgroundColor','fontBorderColor','setFontSize','setFontFamily','setFontStyle','setShadow','shadow','setShadowColor','setShadowAlpha','shadowDx','shadowDy','begin','moveTo','lineTo','addOp','quadTo','curveTo','arcTo','arcToCurves','closeOp','end','writeDefaults','textEnabled','compressed','fontfamily','family','fontsize','DEFAULT_FONTSIZE','shadowcolor','shadowalpha','shadowoffset','toFixed','setAlpha','rotate','theta','fillcolor','alpha1','setStrokeColor','setDashPattern','dashpattern','pattern','linecap','cap','linejoin','fontbackgroundcolor','setFontBorderColor','fontbordercolor','fontstyle','shadowAlpha','setShadowOffset','rect','roundrect','convert','aspect','quad','curve','isNode','str','wrap','clip','stroke','fill','fillAndStroke','gradients','defs','styleEnabled','svg','createStyle','matchHtmlAlignment','foEnabled','strokeTolerance','blockImagePointerEvents','svg{font-family:',';fill:none;stroke-miterlimit:10}','xmlns','createGradientId','DIRECTION_NORTH','mx-gradient-','getSvgGradient','ownerSVGElement','createSvgGradient','linearGradient','DIRECTION_EAST','stop-color:','addNode','updateFill','transparent','updateStroke','transform','createTolerance','pointer-events','gradientAlpha','url(#','stroke-width','stroke-dasharray','createDashPattern','stroke-linejoin','butt','miterLimit','IS_OP','white','createShadow','shadowColor','translate(',')scale(',')translate(','rotate(','rotationCy','setAttributeNS','xlink:href','createDiv','display:inline-block;font-size:',';color:',';line-height:','px;','FONT_BOLD','font-weight:bold;','FONT_ITALIC','FONT_UNDERLINE','font-decoration:underline;','text-align:center;','text-align:right;','background-color:','border:1px\x20solid\x20','&lt;','&gt;','','parseXml','vertical-align:top;','overflow:hidden;','width:','white-space:normal;','white-space:nowrap;','foreignObject','ALIGN_BOTTOM','scale(','plainText','createClip','mx-clip-','clipPath','clip-path','updateFont','text-anchor','font-size','addTextBackground','font-family','text-decoration','getBBox','zoom','italic','
','mod','translate(0.5,\x200.5)','rotatedHtmlBackground','vmlScale','coordsize','strokeweight','stroked','strokecolor','createStroke','createFill','createTransparentFill','filled',':fill','/transparent.gif','tile','gradient','angle',':stroke','endcap','joinstyle','miterlimit','dashstyle','getVmlDashStyle','dash','0\x202','createShadowStroke','createShadowFill',':shape','createRect',':rect',':roundrect','frame','180','textAlign','fontDecoration',':group','relative','getAlignmentAsPoint','normal','maxHeight','progid:DXImageTransform.Microsoft.Matrix(M11=',',\x20M12=',',\x20M21=',',\x20sizingMethod=\x27auto\x20expand\x27)',':path',':textpath','fontWeight','bold','setStates','guideY','getGuideTolerance','GUIDE_COLOR','GUIDE_STROKEWIDTH','isDashed','guideX','createGuideShape','dialect','getOverlayPane','DIALECT_VML','points','redraw','defaultLocalized','constraints','bgNode','strokewidth','parseDescription','fgNode','connections','getChildNodes','perimeter','evaluateTextAttribute','evaluateAttribute','localized','eval','drawShape','drawChildren','STYLE_DIRECTION','computeAspect','inherit','getNumber','STYLE_STROKEWIDTH','north','fixed','x-axis-rotation','large-arc-flag','sweep-flag','arcsize','RECTANGLE_ROUNDING_FACTOR','align-shape','STYLE_FLIPH','include-shape','fillstroke','fontcolor','stencil','bounds','boundingBox','svgStrokeTolerance','stencilPointerEvents','isParseVml','createSvg','isHtmlAllowed','createHtml','reconfigure','updateBoundsFromPoints','redrawShape','updateBoundingBox','checkBounds','createVmlGroup','addTransparentBackgroundFilter','destroyCanvas','createCanvas','getSvgScreenOffset','removeAttribute','updateVmlContainer','mxRefCount','releaseSvgGradients','oldGradients','isPaintBoundsInverted','configureCanvas','paintStencilShape','paintEdgeShape','isShadow','getGradientBounds','addTransparentBackgroundRectangle','setTransparentBackgroundImage','paintVertexShape','paintBackground','paintForeground','STYLE_ARCSIZE','paintGlassEffect','isRounded','STYLE_FILLCOLOR','STYLE_GRADIENT_DIRECTION','STYLE_STROKECOLOR','STYLE_ENDSIZE','startArrow','STYLE_ROTATION','stencilFlipH','stencilFlipV','STYLE_SHADOW','STYLE_ROUNDED','STYLE_GLASS','setCursor','getCursor','augmentBoundingBox','getShapeRotation','getBoundingBox','getRotation','getTextRotation','STYLE_HORIZONTAL','west','backgroundImage','url(\x27','/transparent.gif\x27)','stencils','markers','ARROW_CLASSIC','ARROW_DIAMOND','addMarker','oval','redrawPath','getArcSize','redrawHtmlShape','updateHtmlFilters','updateHtmlColors','updateHtmlBounds','CSS1Compat','borderColor','solid','borderWidth','progid:DXImageTransform.Microsoft.dropShadow\x20(OffX=\x27','progid:DXImageTransform.Microsoft.gradient(startColorStr=\x27','\x27,\x20endColorStr=\x27','\x27,\x20gradientType=\x27','paintLine','LINE_ARCSIZE','arrowWidth','ARROW_SPACING','ARROW_WIDTH','ARROW_SIZE','DEFAULT_FONTSTYLE','clipped','baseSpacingTop','baseSpacingLeft','baseSpacingRight','verticalTextRotation','ignoreClippedStringSize','ignoreStringSize','textDiv','updateSize','replaceLinefeeds','margin','updateTransform','updateValue','updateHtmlFilter','updateHtmlTransform','TransformOrigin','Transform','%)scale(','deg)','0%\x200%','1px\x20solid\x20','','printOverlays','initializeOverlay','writeHead','','/css/common.css','createStyleSheet','autoOrigin','pageBreakAfter','mxPageBreak','getAppendices','renderPage','addGraphFragment','','','','','@media\x20print\x20{','\x20\x20table.mxPageSelector\x20{\x20display:\x20none;\x20}','\x20\x20hr.mxPageBreak\x20{\x20display:\x20none;\x20}','@media\x20screen\x20{','\x20\x20table.mxPageSelector\x20{\x20position:\x20fixed;\x20right:\x2010px;\x20top:\x2010px;font-family:\x20Arial;\x20font-size:10pt;\x20border:\x20solid\x201px\x20darkgray;background:\x20white;\x20border-collapse:collapse;\x20}','\x20\x20table.mxPageSelector\x20td\x20{\x20border:\x20solid\x201px\x20gray;\x20padding:4px;\x20}','\x20\x20body.mxPage\x20{\x20background:\x20gray;\x20}','createPageSelector','pageBreakInside','getCanvas','getBackgroundPane','getDrawPane','backgroundPane','getCoverPages','putDefaultVertexStyle','createDefaultVertexStyle','putDefaultEdgeStyle','createDefaultEdgeStyle','STYLE_SHAPE','SHAPE_RECTANGLE','STYLE_PERIMETER','RectanglePerimeter','#C3D9FF','#6482B9','STYLE_FONTCOLOR','STYLE_ALIGN','putCellStyle','defaultVertex','defaultEdge','getDefaultEdgeStyle','orderChanged','origin','absoluteOffset','visibleTargetState','terminalDistance','segments','getPerimeterBounds','setAbsoluteTerminalPoint','getVisibleTerminalState','setVisibleTerminalState','visibleSourceState','doneResource','updatingSelectionResource','updatingSelection','singleSelection','isSingleSelection','setSingleSelection','isSelected','setCell','setCells','getFirstSelectableCell','isCellSelectable','addCell','changeSelection','removeCell','selectionModel','mxSelectionChange.execute','editingCell','autoSize','emptyLabelText','mxCellEditor','cols','isEnterStopsCellEditing','stopEditing','clearOnChange','setModified','keypress','isLabelClipped','STYLE_LABEL_POSITION','STYLE_VERTICAL_LABEL_POSITION','STYLE_VERTICAL_ALIGN','isModified','modified','focusLost','isInvokesStopCellEditing','startEditing','textNode','STYLE_FONTSIZE','STYLE_FONTFAMILY','STYLE_FONTSTYLE','outline','getEditorBounds','getEmptyLabelText','createTextDiv','labelChanged','getCurrentValue','blur','getEditingValue','STYLE_SPACING_TOP','STYLE_SPACING_RIGHT','STYLE_SPACING_BOTTOM','STYLE_SPACING_LEFT','getEditingCell','defaultEdgeShape','defaultVertexShape','defaultTextShape','legacyControlPosition','defaultShapes','registerShape','SHAPE_ELLIPSE','SHAPE_RHOMBUS','SHAPE_CONNECTOR','SHAPE_ACTOR','SHAPE_TRIANGLE','SHAPE_CLOUD','SHAPE_LINE','SHAPE_ARROW','SHAPE_DOUBLE_ELLIPSE','SHAPE_LABEL','createShape','initializeShape','ordered','invalidOrder','keepEdgesInForeground','firstEdge','insertState','createCellOverlays','installListeners','getPreviousStateInContainer','findPreviousStateInContainer','keepEdgesInBackground','configureShape','getShapeConstructor','getShape','getIndicatorShape','getIndicatorColor','getIndicatorGradientColor','STYLE_INDICATOR_DIRECTION','getIndicatorImage','postConfigureShape','resolveColor','STYLE_GRADIENTCOLOR','getSwimlane','swimlaneIndicatorColorAttribute','indicated','getLabel','isHtmlLabel','getVerticalAlign','STYLE_SPACING','STYLE_LABEL_BACKGROUNDCOLOR','isWrapping','STYLE_LABEL_PADDING','STYLE_TEXT_OPACITY','DIALECT_STRICTHTML','initializeLabel','convertPoint','getCellAt','isLabelEvent','fireMouseEvent','IMG','MOUSE_UP','NO_FO','getCellOverlays','overlay','installCellOverlayListeners','createControl','control','initControl','foldCells','DIALECT_PREFERHTML','isShapeEvent','lastTouchTime','gestureend','gestureEnabled','handleGesture','dblClick','redrawLabel','getLabelValue','createLabel','getLabelBounds','getTextScale','updateMargin','rotateLabelBounds','STYLE_OVERFLOW','redrawCellOverlays','redrawControl','getControlBounds','orderEdge','equalEntries','STYLE_SEGMENT','ENTITY_SEGMENT','getRoutingCenterY','transformControlPoint','getRoutingCenterX','ELBOW_VERTICAL','TopToBottom','SideToSide','SegmentConnector','orthBuffer','DIRECTION_MASK_ALL','getPortConstraints','limits','vertexSeperations','reversePortConstraints','routePatterns','wayPoints1','dirVectors','TARGET_MASK','SOURCE_MASK','CENTER_MASK','putValue','EDGESTYLE_ENTITY_RELATION','Loop','EDGESTYLE_SIDETOSIDE','EDGESTYLE_ORTHOGONAL','EDGESTYLE_SEGMENT','EllipsePerimeter','PERIMETER_RECTANGLE','RhombusPerimeter','PERIMETER_TRIANGLE','graphBounds','EMPTY_POINT','updatingDocumentResource','updatingDocument','allowEval','optimizeVmlReflows','rendering','updateStyle','setGraphBounds','setCurrentRoot','sizeDidChange','scaleAndTranslate','SCALE_AND_TRANSLATE','previousScale','previousTranslate','setScale','SCALE','setTranslate','revalidate','TRANSLATE','invalidate','validate','removeState','mxGraphView.validate','validatePoints','validateBackground','getBackgroundImage','redrawBackgroundImage','backgroundPageShape','tooltipHandler','isHideOnHover','getBackgroundPageBounds','validateBounds','updateVertexLabelOffset','updateFixedTerminalPoints','updatePoints','updateFloatingTerminalPoints','updateEdgeBounds','updateEdgeLabelOffset','childMoved','isRendering','updateFixedTerminalPoint','getConnectionConstraint','getConnectionPoint','getEdgeStyle','getTerminalPort','STYLE_LOOP','defaultLoopStyle','STYLE_EDGE','updateFloatingTerminalPoint','STYLE_PERIMETER_SPACING','STYLE_TARGET_PERIMETER_SPACING','STYLE_SOURCE_PORT','STYLE_TARGET_PORT','getPerimeterFunction','STYLE_ROUTING_CENTER_X','STYLE_ROUTING_CENTER_Y','isAllowEval','getNextPoint','relativeCcw','setRendering','setAllowEval','getStates','getCellStates','isContainerEvent','isScrollEvent','createVml','isEditing','panningHandler','moveHandler','captureDocumentGesture','endHandler','createHtmlPane','updateHtmlCanvasSize','createVmlPane','coordorigin','0,0','static','isUp','getTranslateForRoot','DOWN','mouseListeners','RENDERING_HINT_FASTER','DIALECT_MIXEDHTML','imageBundles','createCellRenderer','createSelectionModel','setStylesheet','/resources/graph','EMPTY_ARRAY','multiplicities','renderHint','portsEnabled','doubleTapEnabled','doubleTapTimeout','doubleTapTolerance','lastTouchY','tolerance','defaultOverlap','pageVisible','pageBreaksVisible','pageBreakColor','minPageBreakDist','preferPageSize','invokesStopCellEditing','useScrollbarsForPanning','exportEnabled','importEnabled','cellsLocked','cellsCloneable','foldingEnabled','cellsEditable','cellsDeletable','cellsMovable','edgeLabelsMovable','vertexLabelsMovable','dropEnabled','splitEnabled','cellsResizable','cellsBendable','cellsSelectable','cellsDisconnectable','autoSizeCells','allowAutoPanning','autoExtend','minimumGraphSize','minimumContainerSize','maximumContainerSize','resizeContainer','constrainChildren','extendParentsOnAdd','collapseToPreferredSize','zoomFactor','keepSelectionVisibleOnZoom','centerZoom','resetEdgesOnResize','resetEdgesOnMove','resetEdgesOnConnect','allowLoops','multigraph','connectableEdges','allowDanglingEdges','cloneInvalidEdges','htmlLabels','swimlaneSelectionEnabled','minFitScale','maxFitScale','collapsedImage','/collapsed.gif','warningImage','/assets/plugins/mxgraph/images/warning.gif','alreadyConnectedResource','containsValidationErrorsResource','containsValidationErrors','collapse-expand','cellEditor','createCellEditor','unload','selectstart','insertAdjacentHTML','beforeend','','panningEnabled','connectionHandler','graphHandler','createStylesheet','getSelectionCellsForChanges','getTopmostCells','removeSelectionCells','getRemovedCellsForChanges','clearSelection','removeStateForCell','resetViewOnRootChange','ROOT','addCellOverlay','ADD_OVERLAY','removeCellOverlay','removeCellOverlays','REMOVE_OVERLAY','setCellWarning','','','CLICK','setSelectionCell','startEditingAtCell','getSelectionCell','isCellEditable','convertValueToString','LABEL_CHANGED','cellLabelChanged','cellSizeUpdated','handler','selectCellForEvent','isSwimlaneSelectionEnabled','getGraphY','isToggleEvent','DOUBLE_CLICK','scrollPointToVisible','panningManager','createPanningManager','getBorderSizes','thin','borderTopWidth','paddingTop','paddingRight','getBorder','doResizeContainer','getPreferredPageSize','minWidth','minHeight','updatePageBreaks','SIZE','horizontalPageBreaks','verticalPageBreaks','pageBreakDashed','getDefaultVertexStyle','postProcessCellStyle','STYLE_IMAGE','data:image/','setCellStyle','toggleCellStyle','toggleCellStyles','setCellStyleFlags','ALIGN_CELLS','alternateEdgeStyle','addImageBundle','removeImageBundle','getImageFromBundles','ORDER_CELLS','CELLS_ORDERED','getCellsForGroup','createGroupCell','getBoundsForGroup','cellsMoved','GROUP_CELLS','setVertex','addAllEdges','UNGROUP_CELLS','getDefaultParent','getEdgeValidationError','setTerminalPoint','insertVertex','createVertex','createEdge','addEdge','isAllowNegativeCoordinates','isExtendParentsOnAdd','isExtendParent','constrainChild','CELLS_ADDED','getDeletableCells','REMOVE_CELLS','includeEdges','SPLIT_EDGE','newEdge','cellsToggled','TOGGLE_CELLS','FOLD_CELLS','recurse','isCellFoldable','swapBounds','updateAlternateBounds','getPreferredSizeForCell','getAllEdges','STYLE_IMAGE_WIDTH','getFoldingImage','getSizeForString','resizeCell','RESIZE_CELLS','CELLS_RESIZED','extendParent','isCloneInvalidEdges','setAllowNegativeCoordinates','isDisconnectOnMove','MOVE_CELLS','disconnectGraph','translateCell','CELLS_MOVED','getMaximumGraphBounds','maximumGraphBounds','isConstrainChild','getCellContainmentArea','getOverlap','getAllConnectionConstraints','STYLE_ENTRY_X','STYLE_EXIT_Y','STYLE_ENTRY_Y','STYLE_ENTRY_PERIMETER','setConnectionConstraint','point','STYLE_EXIT_X','STYLE_EXIT_PERIMETER','STYLE_FLIPV','getPerimeterPoint','CONNECT_CELL','CELL_CONNECTED','isCellDisconnectable','getCurrentRoot','getTerminalForPort','getChildOffsetForCell','enterGroup','isValidRoot','exitGroup','home','getCellBounds','getTerminalPoint','REFRESH','shiftPreview1','shiftPreview2','zoomIn','zoomActual','zoomTo','scrollRectToVisible','zoomToRect','scrollCellToVisible','selectionCellsHandler','isCellConnectable','ElbowConnector','EntityRelation','isLoop','isCloneEvent','IS_MAC','isMetaDown','isAltDown','isForceMarqueeEvent','validationAlert','isValidConnection','check','validateEdge','validateGraph','getCellValidationError','validateCell','countError','setBackgroundImage','labelsVisible','STYLE_NOLABEL','isHtmlLabels','setHtmlLabels','getTooltip','collapseExpandResource','getHandler','getTooltipForNode','getTooltipForCell','getCursorForCell','STYLE_INDICATOR_COLOR','STYLE_INDICATOR_GRADIENTCOLOR','STYLE_INDICATOR_SHAPE','STYLE_INDICATOR_IMAGE','setBorder','SHAPE_SWIMLANE','isResizeContainer','setResizeContainer','escapeEnabled','setEscapeEnabled','setInvokesStopCellEditing','enterStopsCellEditing','setEnterStopsCellEditing','isCellsLocked','setCellsLocked','getCloneableCells','isCellCloneable','setCellsCloneable','canExportCell','filterCells','canImportCell','isCellsSelectable','setCellsSelectable','isCellDeletable','STYLE_DELETABLE','setCellsDeletable','isLabelMovable','getMovableCells','isCellsMovable','isCellLocked','STYLE_MOVABLE','setCellsMovable','setPortsEnabled','setGridSize','setTolerance','isEdgeLabelsMovable','isSwimlaneNesting','swimlaneNesting','setSwimlaneNesting','setSwimlaneSelectionEnabled','isMultigraph','setMultigraph','isAllowLoops','setAllowDanglingEdges','isConnectableEdges','setAllowLoops','disconnectOnMove','setDisconnectOnMove','isDropEnabled','setDropEnabled','isSplitEnabled','setSplitEnabled','isCellResizable','isCellsResizable','STYLE_RESIZABLE','setCellsResizable','isTerminalPointMovable','isCellBendable','isCellsBendable','STYLE_BENDABLE','setCellsBendable','STYLE_EDITABLE','isCellsEditable','setCellsEditable','isCellsDisconnectable','setCellsDisconnectable','isValidSource','isValidTarget','setPanning','isAutoSizeCell','STYLE_AUTOSIZE','isAutoSizeCells','setAutoSizeCells','isExtendParents','setConstrainChildren','allowNegativeCoordinates','isAllowOverlapParent','getFoldableCells','isValidDropTarget','isSplitTarget','getSwimlaneAt','defaultParent','hitsSwimlaneContent','getChildEdges','getPointForEvent','getCells','getCellsBeyond','isCellSelected','isSelectionEmpty','getSelectionModel','getSelectionCount','addSelectionCells','removeSelectionCell','selectRegion','selectCellsForEvent','selectNextCell','selectPreviousCell','selectParentCell','selectCell','selectChildCell','selectVertices','selectCells','createHandler','OrthConnector','updateMouseEvent','cancelBubble','lastMouseX','lastMouseY','destroyed','graphModelChangeListener','tooltip','showViewport','updateOnPan','sizerImage','graphRenderHint','getStylesheet','shape-rendering','optimizeSpeed','image-rendering','updateHandler','panHandler','refreshHandler','selectionBorder','OUTLINE_COLOR','OUTLINE_STROKEWIDTH','redirectMouseEvents','sizer','createSizer','sizerSize','OUTLINE_HANDLE_STROKECOLOR','getSourceContainerSize','getOutlineOffset','startX','startY','dx0','dy0','validNeighbors','validNeighborsAllowed','typeError','checkTerminal','checkNeighbors','checkType','bubbling','isBubbling','setBubbling','undoHandler','getCellsForChanges','getLayout','getCellsForChange','LAYOUT_CELLS','executeLayout','shiftRightwards','shiftDownwards','extendParents','foldHandler','isCellIgnored','isCellShiftable','isShiftRightwards','setShiftRightwards','isShiftDownwards','setShiftDownwards','setExtendParents','resizeHandler','cellResized','getCellsToShift','shiftCell','addEnabled','resizeEnabled','addHandler','isAddEnabled','isResizeEnabled','setHorizontal','setAddEnabled','ADD_CELLS','isSwimlaneIgnored','swimlaneAdded','resizeSwimlane','isCellHorizontal','oldBounds','oldScale','oldStates','deltas','addEdges','revalidateState','translateState','updatePreviewShape','highlightEnabled','cloneEnabled','guide','currentDx','updateCursor','selectEnabled','connectOnDrop','scrollOnMove','previewColor','scaleGrid','rotationEnabled','isCloneEnabled','isMoveEnabled','moveEnabled','setSelectEnabled','isRemoveCellsFromParent','setRemoveCellsFromParent','getInitialCellForEvent','isDelayedSelection','delayedSelection','isSelectEnabled','isCellsCloneable','cellWasClicked','getPreviewBounds','createPreviewShape','htmlPreview','pBounds','getGuideStates','useGuidesForEvent','DROP_TARGET_COLOR','isGridEnabledEvent','currentDy','setHighlightColor','VALID_COLOR','CURSOR_MOVABLE_EDGE','isEdgeValid','selectDelayed','destroyShapes','guides','shouldRemoveCellsFromParent','triggerX','triggerY','usePopupTrigger','selectOnPopup','clearSelectionOnBackground','ignoreCell','setPanningEnabled','isPanningTrigger','useLeftButtonForPanning','popupTrigger','panningTrigger','isPanningEnabled','consumePanningTrigger','previewEnabled','useGrid','PAN_START','PAN_END','getCellForPopupEvent','validColor','invalidColor','DEFAULT_INVALID_COLOR','hotspot','DEFAULT_HOTSPOT','markedState','setHotspot','getHotspot','setHotspotEnabled','hotspotEnabled','hasValidState','validState','getValidState','process','currentColor','mark','unmark','markCell','MARK','getStateToMark','MIN_HOTSPOT_SIZE','resetHandler','handlers','maxHandlers','REMOVE','moveIconBack','connectImage','targetConnectImage','marker','constraintHandler','waypointsEnabled','tapAndHoldDelay','tapAndHoldInProgress','tapAndHoldValid','initialTouchX','initialTouchY','ignoreMouseDown','connectIconOffset','drillHandler','isCreateTarget','createTarget','setCreateTarget','iconState','redrawIcons','icons','destroyIcons','START_EDITING','isConnectableCell','isConnecting','validateConnection','isValidState','getMarkerColor','edgeState','START','getConnectImage','moveIconFront','isMoveIconToFrontForState','CURSOR_CONNECT','currentState','getIconPosition','isStartEvent','currentFocus','currentConstraint','mouseDownCounter','sourceConstraint','createEdgeState','waypoints','tapAndHoldThread','clearTimeout','tapAndHold','isImmediateConnectSource','updateCurrentState','convertWaypoint','tapAndHoldTolerance','selectedIcon','getTargetPerimeterPoint','getSourcePerimeterPoint','drawPreview','createIcons','updateIcons','isStopEvent','addWaypointForEvent','getEdgeWidth','getEdgeColor','createTargetVertex','/point.gif','DEFAULT_VALID_COLOR','focusIcons','focusHighlight','focusPoints','currentFocusArea','getTolerance','getImageForConstraint','pointImage','highlightColor','defaultOpacity','currentX','currentY','dragHandler','sharedDiv','mxRubberband','repaint','singleSizer','allowHandleBoundsCheck','handleImage','rotationRaster','selectionBounds','createSelectionShape','CURSOR_MOVABLE_VERTEX','maxCells','sizers','n-resize','ne-resize','w-resize','sw-resize','se-resize','CURSOR_LABEL_HANDLE','LABEL_HANDLE_SIZE','LABEL_HANDLE_FILLCOLOR','labelShape','rotationShape','HANDLE_FILLCOLOR','getSelectionColor','isSelectionDashed','getSelectionStrokeWidth','VERTEX_SELECTION_STROKEWIDTH','VERTEX_SELECTION_DASHED','HANDLE_SIZE','createSizerShape','HANDLE_STROKECOLOR','getHandleForEvent','ROTATION_HANDLE','LABEL_HANDLE','moveSizerTo','currentAlpha','atan','rotateCell','moveChildren','getSelectionBounds','bends','removeEnabled','snapToTerminals','abspoints','getSelectionPoints','isAddPointEvent','addPoint','createBends','initBend','isRemovePointEvent','EDGE_SELECTION_STROKEWIDTH','EDGE_SELECTION_DASHED','isHandleVisible','createHandleShape','isHandleEnabled','CURSOR_BEND_HANDLE','removePoint','isTarget','isLabel','clonePreviewState','getSnapToTerminalTolerance','getPreviewTerminalState','updatePreviewState','getMarkedState','getPreviewPoints','setPreviewColor','isAllowDanglingEdges','changeTerminalPoint','changePoints','moveLabel','addPointAt','LOCKED_HANDLE_FILLCOLOR','CONNECT_HANDLE_FILLCOLOR','redrawInnerBends','flipEnabled','doubleClickOrientationResource','doubleClickOrientation','getCursorForBend','EDGESTYLE_TOPTOBOTTOM','EDGESTYLE_ELBOW','STYLE_ELBOW','row-resize','col-resize','createVirtualBend','normalKeys','shiftKeys','controlKeys','controlShiftKeys','keydown','keyDown','bindKey','bindShiftKey','bindControlShiftKey','getFunction','isEscapeEnabled','hideOnHover','hideTooltip','stateSource','resetTimer','repaintHandler','keepOnTop','drawHighlight','editor','hideProperties','ESCAPE','bindAction','bindControlKey','createMenu','addItems','iconCls','nocell','ncells','notRoot','validRoot','emptyValidRoot','toolbar','insertFunction','resetMode','/separator.gif','addActionOption','setMode','addPrototype','installDropHandler','horizontalFlow','makeDraggable','addActions','cycleAttributeValues','popupHandler','undoManager','createGraph','createToolbar','configure','cycleAttributeName','IS_LOCAL','createSession','/resources/editor','lastSaved','currentFileResource','currentFile','tasksResource','tasks','helpResource','outlineResource','keyHandler','forcedInserting','defaultEdgeStyle','groupBorderSize','urlPost','urlImage','swimlaneSpacing','layoutSwimlanes','cycleAttributeIndex','tasksWindowImage','tasksTop','helpWindowImage','urlHelp','helpWidth','helpHeight','propertiesWidth','movePropertiesDialog','validating','exportImage','getViewXml','postParameterName','cut','paste','ungroup','zoomOut','actualSize','showProperties','selectNone','selectEdges','toFront','selectParent','selectChild','collapseAll','expandAll','toggleCellStyleFlags','alignCellsTop','alignCellsMiddle','alignCellsBottom','alignFontCenter','alignFontTop','alignFontBottom','askZoomResource','toggleTasks','showTasks','showHelp','toggleOutline','toggleConsole','resetHistory','resetFirstTime','mxgraph=seen;\x20expires=Fri,\x2027\x20Jul\x202001\x2002:47:11\x20UTC;\x20path=/','Cannot\x20execute\x20','Cannot\x20find\x20action\x20','addTemplate','setTooltips','installDrillHandler','createPopupMenu','createSwimlaneManager','createLayoutManager','maintainSwimlanes','swimlaneLayout','createSwimlaneLayout','layoutDiagram','diagramLayout','createDiagramLayout','setGraphContainer','rubberband','installDblClickHandler','dblClickAction','installUndoHandler','undoableEditHappened','REDO','installChangeHandler','setToolbarContainer','toLocaleString','setStatus','lastSavedResource','OPEN','setTitleContainer','getTitle','\x20>\x20','getRootTitle','createGroup','readGraphModel','writeGraphModel','postDiagram','getUrlPost','getUrlImage','RECEIVE','swapStyles','createProperties','propertiesResource','propertiesHeight','isPropertiesVisible','readonly','addTextarea','4px','createTasks','refreshTasks','frameBorder','setResizable','cycleAttribute','consumeCycleAttribute','swimlaneRequired','isConstrainedMoving','BEFORE_ADD_VERTEX','ADD_VERTEX','AFTER_ADD_VERTEX','codecs','addAlias','aliases','encodeDefaults','lookup','reference','getCodec','mxCodec.encode:\x20No\x20codec\x20for\x20','Cannot\x20decode\x20','encodeCell','isCellCodec','decodeCell','insertIntoGraph','exclude','idrefs','mapping','reverse','cloneTemplate','getFieldName','isExcluded','isReference','beforeEncode','encodeObject','afterEncode','encodeValue','mxObjectCodec.encode:\x20No\x20ID\x20for\x20','writePrimitiveAttribute','writeComplexAttribute','convertValueToXml','mxObjectCodec.encode:\x20No\x20node\x20for\x20','convertValueFromXml','beforeDecode','decodeNode','afterDecode','decodeChildren','decodeAttributes','decodeAttribute','mxObjectCodec.decode:\x20No\x20object\x20for\x20','processInclude','decodeChild','getFieldTemplate','addObjectValue','importNode','removeWhitespace','decodeRoot','graphListeners\x20eventListeners\x20view\x20container\x20cellRenderer\x20editor\x20selection','getStringValue','mxStylesheetCodec.decode:\x20stylesheet\x20','separator','pressedIcon','---','cellStyle','include','modified\x20lastSnapshot\x20ignoredChanges\x20undoManager\x20graphContainer\x20toolbarContainer','defaultGroup','decodeUi','setMapContainer','resource','decodeTemplates','projectDesignController','isEditingEnabled','menus','createDivs','createUi','menubarContainer','onselectstart','onmousedown','toolbarContainer','sidebarContainer','footerContainer','diagramContainer','tabindex','url(','gridImage','backgroundPosition','-1px\x20-1px','createMultiplicities','ext_dial','math','saydigits','saynumber','sayphonetic','google_cloud_tts','ispeechtts','awspolly','getdigits','getsecretdigits','lumenvoxtts','sestektts','database','ispeechasr','sendSMS','sendMail','sendFax','googleasr','tildeasr','awslex','sesteknda','sestekasr','mrcprecog','gotoc','gotoiftime','queuelog','goal','subproject','custom_app','vswitch','openDialog','outlineContainer','gesturechange','zoomToCenter','createKeyHandler','getKeyHandler','splitSize','footerHeight','hsplitPosition','vsplitPosition','addUndoListener','addSelectionListener','exportXML','data:attachment/text;charset=utf-8,','.xml','opener','openFile','setConsumer','setGraphXml','openString','invalidOrMissingFile','Only\x20one\x20Start\x20block\x20is\x20allowed','validateBlock','noAudioSelected','invalidTimeout','digit','wrongMaxDigit','noVariableSelected','wrongMinDigit','wrongHiddenDigitsnum','invalidRetry','noDatabaseSelected','noContextSelected','invalidPriority','noConditionSelected','noNumberSelected','noTextSelected','noFileSelected','noGoalSelected','noTrunkSelected','noIdentifierSelected','noQueueSelected','noFirstNameSelected','noPhoneSelected','invalidDelay','noBoxNumberSelected','noProjectSelected','noAccountSelected','attachment_path','noAttachmentSelected','noApiKeySelected','tts','noAccessKeySelected','noSecretAccessKeySelected','noNameSelected','noKeySelected','speed','invalidSpeed','lumenvoxasr','noGrammarSelected','appid','noAppIdInserted','noAppSecretInserted','noUrlInserted','noApplicationSelected','noFindBySelected','noUsernameSelected','noPasswordSelected','noUrlSelected','noMethodSelected','numberOrAll','numberOrInvalidOrDefault','trueOrFalse','successOrFailure','CLEAR','toBack','tilt','removeFromGroup','alignment','arrange','linewidth','lineend','setAsDefaultEdge','editLink','openLink','getLinkForCell','menubarHeight','toolbarHeight','hsplit','vsplit','geSidebarContainer','geOutlineContainer','geFooterContainer','geHsplit','geVsplit','menubar','createMenubar','geMenubar','geToolbar','createSidebar','createFooter','createStatusContainer','statusChanged','setStatusText','addSplitHandler','geItem\x20geStatus','statusContainer','createHeader','createForm','DONE','saveAs','about','publish','outgoingedge','musthave','incomingedge','storage','File','FileReader','FileList','initStencilRegistry','getOrCreateFilename','drawing','getFilename','graphChangeListener','transparentImage','mxGraphModel','grid','tooltips','fold','pageWidth','pageHeight','updateGraphComponents','getGraphXml','#e5e5e5','borderLeftWidth','#99ccff','#0088cf','VERTEX_SELECTION_COLOR','#00a8ff','#cee7ff','EDGE_SELECTION_COLOR','#c0c0c0','createBackgroundPageShape','geBackgroundPage','addPipe','createUndoManager','loadStencilSet','libraries','packages','getStencil','getBasenameForStencil','.js','parseStencilSet','addStencil','consumer','editorUi','taglist','showTooltips','IS_IE11','IS_POINTER','pointerup','pointerUpHandler','pointerDownHandler','pointerdown','pointerMoveHandler','currentElt','pointerOutHandler','toElement','relatedTarget','pointerout','/tooltip.png','addImagePalette','entry','_128x128.png','call_management','agent_management','/agent_management/','/variable/','/playback/','TTS','/tts/','mrcpsynth','Google\x20Cloud\x20TTS','GoogleTTS','ISpeechTTS','LumenvoxTTS','SestekTTS','MRCPSynth','asr','ASR','/asr/','GoogleASR','ISpeechASR','TildeASR','SestekASR','integrationServer','AWSLex','SestekNDA','RestAPI','callflow','/callflow/','stats','data:image/gif;base64,R0lGODlhDQANAIABAJmZmf///yH/C1hNUCBEYXRhWE1QPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS4wLWMwNjAgNjEuMTM0Nzc3LCAyMDEwLzAyLzEyLTE3OjMyOjAwICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdFJlZj0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlUmVmIyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M1IE1hY2ludG9zaCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDoxREY3NzBERjZGNUYxMUU1QjZEOThCNDYxMDQ2MzNCQiIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDoxREY3NzBFMDZGNUYxMUU1QjZEOThCNDYxMDQ2MzNCQiI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjFERjc3MERENkY1RjExRTVCNkQ5OEI0NjEwNDYzM0JCIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjFERjc3MERFNkY1RjExRTVCNkQ5OEI0NjEwNDYzM0JCIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+Af/+/fz7+vn49/b19PPy8fDv7u3s6+rp6Ofm5eTj4uHg397d3Nva2djX1tXU09LR0M/OzczLysnIx8bFxMPCwcC/vr28u7q5uLe2tbSzsrGwr66trKuqqainpqWko6KhoJ+enZybmpmYl5aVlJOSkZCPjo2Mi4qJiIeGhYSDgoGAf359fHt6eXh3dnV0c3JxcG9ubWxramloZ2ZlZGNiYWBfXl1cW1pZWFdWVVRTUlFQT05NTEtKSUhHRkVEQ0JBQD8+PTw7Ojk4NzY1NDMyMTAvLi0sKyopKCcmJSQjIiEgHx4dHBsaGRgXFhUUExIREA8ODQwLCgkIBwYFBAMCAQAAIfkEAQAAAQAsAAAAAA0ADQAAAhGMj6nL3QAjVHIu6azbvPtWAAA7','tooltipImage','data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAbCAMAAAB7jU7LAAAACVBMVEX///+ZmZn///9Y2COLAAAAA3RSTlP//wDXyg1BAAAAOElEQVR42mXQMQ4AMAgDsWv//+iutcJmIQSk+9dJpVKpVCqVSqVSqZTdncWzF8/NeP7FkxWenPEDOnUBiL3jWx0AAAAASUVORK5CYII=','searchImage','/search.png','data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAAEaSURBVHjabNGxS5VxFIfxz71XaWuQUJCG/gCHhgTD9VpEETg4aMOlQRp0EoezObgcd220KQiXmpretTAHQRBdojlQEJyukPdt+b1ywfvAGc7wnHP4nlZd1yKijQW8xzNc4Su+ZOYfQ3T6/f4YNvEJYzjELXp4VVXVz263+7cR2niBxAFeZ2YPi3iHR/gYERPDwhpOsd6sz8x/mfkNG3iOlWFhFj8y89J9KvzGXER0GuEaD42mgwHqUtoljbcRsTBCeINpfM/MgZLKPpaxFxGbOCqDXmILN7hoJrTKH+axhxmcYRxP0MIDnOBDZv5q1XUNIuJxifJp+UNV7t7BFM6xeic0RMQ4Bpl5W/ol7GISx/eEUUTECrbx+f8A8xhiZht9zsgAAAAASUVORK5CYII=','enableTooltips','tooltipBorder','dropTargetDelay','thumbWidth','thumbPadding','thumbBorder','sidebarTitles','maxTooltipWidth','maxTooltipHeight','addStencilsToIndex','defaultImageHeight','scrollY','geSidebarTooltip','graph2','geSidebarTooltipImage','14px','27px','tooltipTitles','tooltipTitle','borderTop','tooltipDelay','addEntry','searchEntries','entries','filterTags','geSidebar','border-box','8px','paddingBottom','textOverflow','12px','boxSizing','-18px','28px','moreResults','marginBottom','currentSearch','wait','geTitle','0px\x208px\x200px\x208px','javascript:void(0);','sidebarTooltip','createThumb','originalNoForeignObject','sidebarTitleSize','#303030','geItem','thumbHeight','createDragSource','createDropHandler','createDragPreview','addClickHandler','IS_IOS','layoutManager','cellsInserted','1px\x20dashed\x20black','getGridSize','createVertexTemplateEntry','createVertexTemplate','google_asr_language','intKey','it-IT','wss://runa.tilde.lv/client/ws/speech/LVASR-ONLINE','ispeech_asr_language','hiddendigitspos','variable_value','args','escape_digits','ssmlGender','ispeech_tts_language','/usr/local/unimrcp/data/grammar.xml','operation','queuename','data3','data5','callback_priority','{CALLERID(name)}','{CALLERID(num)}','choose_attachment','attachment_type','custom_action','custom_action_data','ndaactivity_type','computedVariables','rawHeaders','rawBody','createVertexTemplateFromCells','createItem','createEdgeTemplate','createEdgeTemplateFromCells','addPalette','createTitle','touchAction','addFoldingHandler','backgroundRepeat','0%\x2050%','expandedImage','image;html=1;image=','defaultImageWidth','addPaletteFunctions','ATTRIBS','a::target','#d0d0d0','en-ca','es-mx','ignoreRelativeEdgeParent','/grid.gif','gridSteps','minGridSize','gridColor','foAltText','[Not\x20supported\x20by\x20viewer]','loadStylesheet','getRubberband','ELBOW_HORIZONTAL','setDefaultEdge','description_','setLinkForCell','UserObject','initTouch','createHandlers','/touch-handle.png','connectorImg','createImage','29px','redrawTools','/connector.png','no-repeat','use\x20strict','openProject','Ctrl+S','Ctrl+Shift+S','...Error\x20publishing!\x20Please\x20check\x20the\x20project\x20and\x20try\x20again!','Ctrl+Shift+P','importXML','Ctrl+E','sprite-print','Ctrl+P','sprite-undo','Ctrl+Z','sprite-redo','sprite-cut','Ctrl+C','sprite-paste','Ctrl+V','Ctrl+D','Ctrl+Shift+V','Page\x20Up','Page\x20Down','Enter','Backspace','Ctrl+F','Ctrl+B','Ctrl+G','Ctrl+U','wordWrap','STYLE_WHITE_SPACE','enterValue','Ctrl+R','fitWindow','fitPage','pageView','fitPageWidth','customZoom','\x20(%)','setToggleAction','setSelectedCallback','Ctrl+Q','\x20Cally\x20Square','http://callysquare.com/','STYLE_DASHED','addWaypoint','removeWaypoint','onerror','fileNotFound','shortcut','stateChanged','toggleAction','/checkmark.gif','Helvetica','Verdana','Tahoma','styleChange','promptChange','(px)','straight','manual','openArrow','ARROW_OPEN','ARROW_BLOCK','ARROW_OVAL','ARROW_DIAMOND_THIN','linestart','showDisabled','sourceSpacing','STYLE_SOURCE_PERIMETER_SPACING','targetSpacing','addMenuItem','addSubmenu','addMenuItems','(%)','leftAlign','rightAlign','topAlign','bottomAlign','editFile','addMenu','span','2px\x2050%','currentMenu','scrollX','addMenuHandler','addMenuFunction','createButton','initElement','geSprite-','addSelectionHandler','addEdgeSelectionHandler','addEnabledState','\x20geDisabled','geButton','geLabel','\x20geToolbarMenu','checked','setRequestHeader','form-control\x20select2','optgroup','select-group-father','select-group-son','/api/rest/list/list','RMI','geModalDialog','modal-dialog','onDialogClose','modal-content','modal-header','modal-footer','\x20XML','hideDialog','col-md-12','374px','btn\x20blue','btn\x20default','176','151','/logo.png','Powered\x20by\x20Xenialab\x20','http://www.callysquare.com/','www.callysquare.com','col-md-4','col-md-8','control-label\x20pull-right','_copy','form-control','modal-body','form-horizontal\x20form-row-seperated','col-sm-4\x20control-label','col-sm-8','form-group','variable\x20description','form-group\x20last','square/project/','rename','name=','Project\x20successfully\x20renamed','dataTransfer','dragover','modal-body\x20form','filename=','md-dialog','md-dialog-content','md-dialog-actions','/api/users/all','/api/voice/queues','/api/trunks','/api/sms/accounts','/api/voice/contexts','/api/voice/voicemails','%mailbox%@%context%','google_tts_language','/api/square/odbc','maxlength','160','help_','help-block','$templateCache','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Telephones\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SELECT\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27DASHBOARDS.MEET_ALL_CONDITIONS\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x200\x22\x20class=\x22advanced-search-conditions\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20md-removable=\x22true\x22\x20md-on-remove=\x22vm.removeCondition()\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20$chip.name\x20}}

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20$chip.operator\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27DASHBOARDS.AND\x27\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20$chip.displayEndValue\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20$chip.disabled\x20?\x20\x27Enable\x27\x20:\x20\x27Disable\x27\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20placeholder=\x22{{\x20\x27DASHBOARDS.SELECT_FIELD\x27\x20|\x20translate\x20}}\x22\x20aria-label=\x22Field\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!vm.selectedField\x22\x20aria-label=\x22Operator\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20operator.symbol\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20\x27DASHBOARDS.\x27\x20+\x20operator.translate\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27md-input-invalid\x27:\x20!vm.isValidRange}\x22\x20flex>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{item.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{item.displayValue}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{card.title}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','app/core/directives/ms-card/templates/template-10/template-10.html','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{card.subtitle}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20{{card.text}}\x0a','app/core/directives/ms-card/templates/template-2/template-2.html','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','app/core/directives/ms-card/templates/template-3/template-3.html','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{card.title}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','app/core/directives/ms-card/templates/template-4/template-4.html','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','app/core/directives/ms-card/templates/template-5/template-5.html','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{card.event}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{card.text}}\x0a','app/core/directives/ms-card/templates/template-7/template-7.html','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{card.text}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','app/core/directives/ms-card/templates/template-8/template-8.html','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{card.subtitle}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{card.button1}}\x0a','app/core/directives/ms-card/templates/template-9/template-9.html','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x0a','\x20\x20{{target}}\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20
\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.TRANSFER_NUMBER\x27\x20|\x20translate}}\x20({{prefix\x20?\x20prefix\x20+\x20\x27-\x27\x20+\x20target\x20:\x20target}})\x0a','\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.CALL_NUMBER\x27\x20|\x20translate}}\x20({{prefix\x20?\x20prefix\x20+\x20\x27-\x27\x20+\x20target\x20:\x20target}})\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{getLine(item,\x20options.line4)}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{options.labelAll\x20||\x20\x27All\x20Items\x27}}\x20({{options.items.length}})\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{getLine(item,\x20options.line2)}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{getLine(item,\x20options.line3)}}

\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20{{font.option}}\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22$mdOpenMenu($event)\x22\x20ng-class=\x22vm.selectedColor.class\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedColor.palette}}\x20{{vm.selectedColor.hue}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20layout-align=\x22space-between\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.selectedColor.palette}}\x20{{vm.selectedColor.hue}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Select\x20Color\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{palette}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hue}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x0a','\x0a','\x20\x20\x20\x20\x0a','\x0a','\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{node.badge.content}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{node.title}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27has-children\x27:\x20vm.hasChildren}\x22\x0a','\x20\x20\x20\x20\x0a','\x0a','','
    \x0a','\x20\x20\x20\x20\x0a','\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{node.badge.content}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-class=\x22{\x27collapsed\x27:\x20vm.collapsed,\x20\x27has-children\x27:\x20vm.hasChildren}\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-include=\x22\x27navigation-nested.html\x27\x22>\x0a','assets/ms-phonebar/ms-phonebar-dialpad.html','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20Dialpad\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

    \x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{l\x20|\x20uppercase}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

    \x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{item.n}}\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{l\x20|\x20uppercase}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{item.n}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

    \x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Ringing\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20{{vm_pb.conf.license\x20?\x20(vm_pb.registered\x20?\x20\x27TOOLBAR.REGISTERED\x27\x20:\x20\x27TOOLBAR.NOT_REGISTERED\x27)\x20:\x20\x27TOOLBAR.WEBRTC_LICENSE_NOT_ENABELD\x27\x20|\x20translate}}\x20{{\x20days\x20>\x200\x20?\x20days\x20+\x20\x27d\x27\x20:\x20\x27\x27\x20}}\x20{{hhours}}:{{mminutes}}:{{sseconds}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AA\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20class=\x22md-fab\x20md-mini\x20white-bg\x20width-25\x20height-25\x20margin-5\x22\x20aria-label=\x223Way\x22\x20\x0a','\x20\x20\x20\x20ng-click=\x22vm_pb.start3WayConf();\x20\x20$event.stopPropagation();\x22>\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20Conference\x0a','\x0a','\x0a','\x0a','\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x201)\x20&&\x20vm_pb.selectSession(session)\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20(session.user\x20==\x20session.name)\x20?\x20session.user\x20:\x20(session.name\x20+\x20\x27\x20\x27\x20+\x20session.user)\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{hhours}}:{{mminutes}}:{{sseconds}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x201\x22\x20class=\x22md-fab\x20md-mini\x20white-bg\x20width-25\x20height-25\x20margin-5\x22\x20aria-label=\x22Refer\x20Attended\x22\x20ng-click=\x22vm_pb.referAttended(session);\x20\x20$event.stopPropagation();\x22>\x0a','assets/ms-phonebar/ms-phonebar-input.html','\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20({{result.originalObject.time}})\x20-\x20\x0a','\x20\x20\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Prefixes\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{prefix.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CALL\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Recording\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20File\x20name\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Available\x20Info\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{monitor.filename}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','assets/ms-phonebar/referAttended/dialog.html','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Transfer\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Target\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TRANSFER\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Cancel\x0a','\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Settings\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Fullname:\x20{{vm.conf.fullname}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Name:\x20{{vm.conf.name}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Internal:\x20{{vm.conf.internal}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Browser:\x20{{vm.conf.browserName}}\x20{{vm.conf.browserVersion}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OS:\x20{{vm.conf.osName}}\x20{{vm.conf.osVersion}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.conf.autoAnswerDelay\x20}}\x20[s]\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Ringing\x20Device\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20device.label\x20||\x20(\x27Speaker\x20\x27\x20+\x20($index\x20+\x201))\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Field\x20is\x20required\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Mute\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Speaker\x20Device\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Microphone\x20Device\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20device.label\x20||\x20(\x27Microphone\x20\x27\x20+\x20($index\x20+\x201))}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20License\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Browser\x20Compatibility\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HTTPS\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WebRTC\x20Support\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SAVE\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','app/core/directives/ms-quick-filter/ms-quick-filter.html','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20option.name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20option.name\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.SELECT_ALL\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22vm.clearSelection(filter)\x22\x20md-no-ink\x20class=\x22md-primary\x22\x20layout-fill>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x27DASHBOARDS.CLEAR\x27\x20|\x20translate}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20

    \x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20result.title\x20}}
    \x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{\x20result.description\x20}}\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x200\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{shortcut.title.charAt(0)}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','app/core/directives/ms-stepper/templates/horizontal/horizontal.html','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20layout=\x22row\x22\x20layout-align=\x22center\x20center\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{$index\x20+\x201}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Optional\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22!MsStepper.isLastStep()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!MsStepper.isStepValid(MsStepper.currentStepNumber)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22MsStepper.gotoNextStep()\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Next\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20{{stepInfo.stepTitleTranslate\x20|\x20translate\x20}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20Optional\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20Back\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22!MsStepper.isLastStep()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!MsStepper.isStepValid(MsStepper.currentStepNumber)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22MsStepper.gotoNextStep()\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20Next\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-click=\x22MsStepper.resetForm()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-if=\x22MsStepper.isLastStep()\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-disabled=\x22!MsStepper.isFormValid()\x22>\x0a','\x20\x20\x20\x20\x20\x20\x20\x20Submit\x0a','app/core/directives/ms-stepper/templates/vertical/vertical.html','\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20NONE\x0a','app/core/directives/ms-widget-engine/ms-widget-engine-counter/ms-widget-engine.counter.html','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20{{\x20vm.getCount(widget)\x20}}\x0a','app/core/directives/ms-widget-engine/ms-widget-engine-multibar-chart/ms-widget-engine.multibar-chart.html','\x0a','\x20\x20\x20\x20\x0a','app/core/directives/ms-widget-engine/ms-widget-engine-pie-chart/ms-widget-engine.pie-chart.html','\x20\x20\x20\x20{{\x20vm.getPieChart(widget)}}\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20Query\x20Error\x0a','\x20\x20\x20\x20\x20\x20\x20\x20
    {{vm.error.msg}}
    \x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.title}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{vm.countDown}}\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20No\x20Data\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20
      \x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','app/core/layouts/vertical-navigation-fullwidth-toolbar-2.html','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x0a','\x0a','\x20\x20\x20\x20\x0a','\x0a','\x0a','\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Layout\x20Style:\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Layout\x20Mode:\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{{layoutMode.label}}\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Color\x20Palette:\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20layout=\x22row\x22\x20layout-align=\x22center\x20center\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aria-label=\x22{{themeName}}\x22\x20ng-click=\x22vm.setActiveTheme(themeName)\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng-style=\x22{\x27background-color\x27:\x20theme.primary.color,\x27border-color\x27:\x20theme.accent.color,\x27color\x27:\x20theme.primary.contrast1}\x22\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20Sorry\x20but\x20we\x20couldn’t\x20find\x20the\x20page\x20you\x20are\x20looking\x20for\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20\x20-->\x0a','\x20\x20\x20\x20\x20\x20\x20\x20Go\x20back\x20to\x20dashboard\x0a','\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20\x20\x20\x20\x20500\x0a','\x20\x20\x20\x20\x20\x20\x20\x20Just\x20kidding,\x20looks\x20like\x20we\x20have\x20an\x20internal\x20issue,\x20please\x20try\x20again\x20in\x20couple\x20minutes\x0a','\x20\x20\x20\x20\x20\x20\x20\x20Go\x20back\x20to\x20dashboard\x0a','\x20\x20\x20\x20\x20\x20\x20\x20Report\x20this\x20problem\x0a','\x20\x20\x20\x20\x0a','\x20\x20\x20\x20